From ec8265b2ce69cd054f788a83bdf00980b9b375e2 Mon Sep 17 00:00:00 2001 From: _or_75 Date: Mon, 20 Oct 2025 14:00:35 +0300 Subject: [PATCH] first run --- Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj | 331 +- .../Andromeda-CS2-Base.vcxproj.filters | 1075 + .../AndromedaClient/CAndromedaClient.cpp | 73 + .../AndromedaClient/CAndromedaClient.hpp | 40 + .../AndromedaClient/CAndromedaGUI.cpp | 565 + .../AndromedaClient/CAndromedaGUI.hpp | 122 + .../Features/CVisual/CVisual.cpp | 98 + .../Features/CVisual/CVisual.hpp | 29 + .../AndromedaClient/Fonts/CFont.cpp | 102 + .../AndromedaClient/Fonts/CFont.hpp | 31 + .../AndromedaClient/Fonts/CFontManager.cpp | 27 + .../AndromedaClient/Fonts/CFontManager.hpp | 23 + .../AndromedaClient/Fonts/FontAwesomeIcon.hpp | 4618 + .../AndromedaClient/GUI/CAndromedaMenu.cpp | 29 + .../AndromedaClient/GUI/CAndromedaMenu.hpp | 11 + .../AndromedaClient/Render/CRender.cpp | 198 + .../AndromedaClient/Render/CRender.hpp | 29 + .../Render/CRenderStackSystem.cpp | 195 + .../Render/CRenderStackSystem.hpp | 285 + .../Settings/CSettingsJson.cpp | 250 + .../Settings/CSettingsJson.hpp | 63 + .../AndromedaClient/Settings/Settings.hpp | 17 + .../Andromeda-CS2-Base/CS2/CBasePattern.cpp | 58 + .../Andromeda-CS2-Base/CS2/CBasePattern.hpp | 52 + .../Andromeda-CS2-Base/CS2/CHook_Loader.cpp | 123 + .../Andromeda-CS2-Base/CS2/CHook_Loader.hpp | 36 + .../Andromeda-CS2-Base/CS2/CSDK_Loader.cpp | 91 + .../Andromeda-CS2-Base/CS2/CSDK_Loader.hpp | 11 + .../CS2/Hook/Hook_AntiTamper.cpp | 6 + .../CS2/Hook/Hook_AntiTamper.hpp | 8 + .../CS2/Hook/Hook_CreateMove.cpp | 48 + .../CS2/Hook/Hook_CreateMove.hpp | 17 + .../CS2/Hook/Hook_CreateSwapChain.cpp | 10 + .../CS2/Hook/Hook_CreateSwapChain.hpp | 9 + .../CS2/Hook/Hook_FireEventClientSide.cpp | 10 + .../CS2/Hook/Hook_FireEventClientSide.hpp | 11 + .../CS2/Hook/Hook_FrameStageNotify.cpp | 10 + .../CS2/Hook/Hook_FrameStageNotify.hpp | 10 + .../CS2/Hook/Hook_GetMatricesForView.cpp | 16 + .../CS2/Hook/Hook_GetMatricesForView.hpp | 14 + .../CS2/Hook/Hook_IsRelativeMouseMode.cpp | 13 + .../CS2/Hook/Hook_IsRelativeMouseMode.hpp | 10 + .../CS2/Hook/Hook_MouseInputEnabled.cpp | 11 + .../CS2/Hook/Hook_MouseInputEnabled.hpp | 8 + .../CS2/Hook/Hook_OnAddEntity.cpp | 10 + .../CS2/Hook/Hook_OnAddEntity.hpp | 13 + .../CS2/Hook/Hook_OnClientOutput.cpp | 12 + .../CS2/Hook/Hook_OnClientOutput.hpp | 8 + .../CS2/Hook/Hook_OnRemoveEntity.cpp | 10 + .../CS2/Hook/Hook_OnRemoveEntity.hpp | 13 + .../CS2/Hook/Hook_ParseMessage.cpp | 40 + .../CS2/Hook/Hook_ParseMessage.hpp | 12 + .../CS2/Hook/Hook_Present.cpp | 10 + .../CS2/Hook/Hook_Present.hpp | 9 + .../CS2/Hook/Hook_ResizeBuffers.cpp | 10 + .../CS2/Hook/Hook_ResizeBuffers.hpp | 9 + .../CS2/Hook/Hook_SOCacheSubscribed.cpp | 15 + .../CS2/Hook/Hook_SOCacheSubscribed.hpp | 12 + .../CS2/Hook/Hook_UpdateInPVS.cpp | 10 + .../CS2/Hook/Hook_UpdateInPVS.hpp | 10 + .../CS2/Protobuf/base_gcmessages.pb.cc | 25983 ++++++ .../CS2/Protobuf/base_gcmessages.pb.h | 27193 ++++++ .../Protobuf/c_peer2peer_netmessages.pb.cc | 2265 + .../CS2/Protobuf/c_peer2peer_netmessages.pb.h | 2410 + .../CS2/Protobuf/clientmessages.pb.cc | 2154 + .../CS2/Protobuf/clientmessages.pb.h | 2178 + .../Protobuf/connectionless_netmessages.pb.cc | 1266 + .../Protobuf/connectionless_netmessages.pb.h | 1461 + .../CS2/Protobuf/cs_gameevents.pb.cc | 1360 + .../CS2/Protobuf/cs_gameevents.pb.h | 1575 + .../CS2/Protobuf/cs_prediction_events.pb.cc | 704 + .../CS2/Protobuf/cs_prediction_events.pb.h | 733 + .../CS2/Protobuf/cs_usercmd.pb.cc | 1936 + .../CS2/Protobuf/cs_usercmd.pb.h | 2517 + .../CS2/Protobuf/cstrike15_gcmessages.pb.cc | 67857 ++++++++++++++ .../CS2/Protobuf/cstrike15_gcmessages.pb.h | 75486 ++++++++++++++++ .../CS2/Protobuf/cstrike15_usermessages.pb.cc | 27684 ++++++ .../CS2/Protobuf/cstrike15_usermessages.pb.h | 28448 ++++++ .../CS2/Protobuf/demo.pb.cc | 8512 ++ .../Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h | 9533 ++ .../CS2/Protobuf/econ_gcmessages.pb.cc | 2044 + .../CS2/Protobuf/econ_gcmessages.pb.h | 1960 + .../CS2/Protobuf/engine_gcmessages.pb.cc | 595 + .../CS2/Protobuf/engine_gcmessages.pb.h | 651 + .../CS2/Protobuf/enums_clientserver.pb.cc | 2940 + .../CS2/Protobuf/enums_clientserver.pb.h | 1694 + .../CS2/Protobuf/fatdemo.pb.cc | 4581 + .../CS2/Protobuf/fatdemo.pb.h | 5323 ++ .../CS2/Protobuf/gameevents.pb.cc | 5209 ++ .../CS2/Protobuf/gameevents.pb.h | 5462 ++ .../CS2/Protobuf/gcsdk_gcmessages.pb.cc | 15426 ++++ .../CS2/Protobuf/gcsdk_gcmessages.pb.h | 16732 ++++ .../CS2/Protobuf/gcsystemmsgs.pb.cc | 4932 + .../CS2/Protobuf/gcsystemmsgs.pb.h | 4973 + .../CS2/Protobuf/netmessages.pb.cc | 31010 +++++++ .../CS2/Protobuf/netmessages.pb.h | 34013 +++++++ .../CS2/Protobuf/network_connection.pb.cc | 454 + .../CS2/Protobuf/network_connection.pb.h | 236 + .../CS2/Protobuf/networkbasetypes.pb.cc | 10199 +++ .../CS2/Protobuf/networkbasetypes.pb.h | 11438 +++ .../networksystem_protomessages.pb.cc | 986 + .../Protobuf/networksystem_protomessages.pb.h | 1106 + .../CS2/Protobuf/prediction_events.pb.cc | 1009 + .../CS2/Protobuf/prediction_events.pb.h | 1111 + .../steamdatagram_messages_auth.pb.cc | 3259 + .../Protobuf/steamdatagram_messages_auth.pb.h | 3836 + .../Protobuf/steamdatagram_messages_sdr.pb.cc | 21401 +++++ .../Protobuf/steamdatagram_messages_sdr.pb.h | 25968 ++++++ .../CS2/Protobuf/steammessages.pb.cc | 1321 + .../CS2/Protobuf/steammessages.pb.h | 1406 + .../steammessages_cloud.steamworkssdk.pb.cc | 2501 + .../steammessages_cloud.steamworkssdk.pb.h | 2566 + .../steammessages_gamenetworkingui.pb.cc | 2694 + .../steammessages_gamenetworkingui.pb.h | 3439 + ...ammessages_helprequest.steamworkssdk.pb.cc | 791 + ...eammessages_helprequest.steamworkssdk.pb.h | 786 + .../steammessages_oauth.steamworkssdk.pb.cc | 642 + .../steammessages_oauth.steamworkssdk.pb.h | 640 + .../steammessages_player.steamworkssdk.pb.cc | 9253 ++ .../steammessages_player.steamworkssdk.pb.h | 9523 ++ ...messages_publishedfile.steamworkssdk.pb.cc | 9521 ++ ...mmessages_publishedfile.steamworkssdk.pb.h | 11314 +++ ...mmessages_unified_base.steamworkssdk.pb.cc | 108 + ...ammessages_unified_base.steamworkssdk.pb.h | 129 + .../steamnetworkingsockets_messages.pb.cc | 7671 ++ .../steamnetworkingsockets_messages.pb.h | 9044 ++ ...teamnetworkingsockets_messages_certs.pb.cc | 1742 + ...steamnetworkingsockets_messages_certs.pb.h | 2175 + .../steamnetworkingsockets_messages_udp.pb.cc | 2888 + .../steamnetworkingsockets_messages_udp.pb.h | 3296 + .../Andromeda-CS2-Base/CS2/Protobuf/te.pb.cc | 10521 +++ .../Andromeda-CS2-Base/CS2/Protobuf/te.pb.h | 12975 +++ .../CS2/Protobuf/uifontfile_format.pb.cc | 872 + .../CS2/Protobuf/uifontfile_format.pb.h | 899 + .../CS2/Protobuf/usercmd.pb.cc | 1888 + .../CS2/Protobuf/usercmd.pb.h | 2193 + .../CS2/Protobuf/usermessages.pb.cc | 37480 ++++++++ .../CS2/Protobuf/usermessages.pb.h | 43268 +++++++++ .../CS2/Protobuf/valveextensions.pb.cc | 133 + .../CS2/Protobuf/valveextensions.pb.h | 152 + .../CS2/SDK/AppFramework/IAppSystem.hpp | 56 + .../CS2/SDK/CFunctionList.cpp | 64 + .../CS2/SDK/CFunctionList.hpp | 126 + .../CS2/SDK/CSchemaOffset.cpp | 117 + .../CS2/SDK/CSchemaOffset.hpp | 47 + .../CS2/SDK/Cstrike15/CCSInventoryManager.cpp | 21 + .../CS2/SDK/Cstrike15/CCSInventoryManager.hpp | 19 + .../CS2/SDK/Cstrike15/CCSPlayerInventory.cpp | 171 + .../CS2/SDK/Cstrike15/CCSPlayerInventory.hpp | 48 + .../CS2/SDK/Econ/CEconItem.cpp | 47 + .../CS2/SDK/Econ/CEconItem.hpp | 97 + .../CS2/SDK/Econ/CEconItemDefinition.cpp | 42 + .../CS2/SDK/Econ/CEconItemDefinition.hpp | 80 + .../CS2/SDK/Econ/CEconItemSchema.cpp | 8 + .../CS2/SDK/Econ/CEconItemSchema.hpp | 61 + .../CS2/SDK/Econ/CEconItemSystem.cpp | 8 + .../CS2/SDK/Econ/CEconItemSystem.hpp | 11 + .../CS2/SDK/FunctionListSDK.hpp | 97 + .../SDK/GCSDK/CGCClientSharedObjectCache.cpp | 13 + .../SDK/GCSDK/CGCClientSharedObjectCache.hpp | 44 + .../GCSDK/CGCClientSharedObjectTypeCache.cpp | 17 + .../GCSDK/CGCClientSharedObjectTypeCache.hpp | 25 + .../SDK/GCSDK/GCSDKTypes/ESOCacheEvent.hpp | 34 + .../GCSDK/GCSDKTypes/EconItemConstants.hpp | 46 + .../CS2/SDK/GCSDK/GCSDKTypes/SOID_t.hpp | 69 + .../CS2/SDK/Interface/CGameEntitySystem.hpp | 46 + .../CS2/SDK/Interface/CInputSystem.hpp | 10 + .../CS2/SDK/Interface/CLocalize.hpp | 21 + .../CS2/SDK/Interface/CMaterialSystem2.hpp | 32 + .../CS2/SDK/Interface/CShemaSystemSDK.hpp | 160 + .../CS2/SDK/Interface/CSoundOpSystem.hpp | 25 + .../CS2/SDK/Interface/CSource2Client.hpp | 20 + .../CS2/SDK/Interface/IBaseFileSystem.hpp | 53 + .../CS2/SDK/Interface/IEngineCvar.hpp | 171 + .../CS2/SDK/Interface/IEngineToClient.hpp | 25 + .../CS2/SDK/Interface/IGameEvent.cpp | 35 + .../CS2/SDK/Interface/IGameEvent.hpp | 15 + .../CS2/SDK/Interface/Interface.cpp | 22 + .../CS2/SDK/Interface/Interface.hpp | 37 + .../Andromeda-CS2-Base/CS2/SDK/Math/Math.cpp | 257 + .../Andromeda-CS2-Base/CS2/SDK/Math/Math.hpp | 52 + .../CS2/SDK/Math/Matrix.cpp | 95 + .../CS2/SDK/Math/Matrix.hpp | 75 + .../CS2/SDK/Math/QAngle.cpp | 292 + .../CS2/SDK/Math/QAngle.hpp | 101 + .../CS2/SDK/Math/Rect_t.hpp | 36 + .../CS2/SDK/Math/Vector2.hpp | 262 + .../CS2/SDK/Math/Vector3.cpp | 364 + .../CS2/SDK/Math/Vector3.hpp | 149 + .../CS2/SDK/Math/Vector4.cpp | 327 + .../CS2/SDK/Math/Vector4.hpp | 85 + .../CS2/SDK/Network/CNetworkMessages.hpp | 37 + .../Andromeda-CS2-Base/CS2/SDK/SDK.cpp | 296 + .../Andromeda-CS2-Base/CS2/SDK/SDK.hpp | 82 + .../CS2/SDK/SDL3/SDL3_Functions.cpp | 29 + .../CS2/SDK/SDL3/SDL3_Functions.hpp | 17 + .../CS2/SDK/TIER0/TIER0_Functions.cpp | 29 + .../CS2/SDK/TIER0/TIER0_Functions.hpp | 17 + .../CS2/SDK/Types/CBaseTypes.hpp | 210 + .../CS2/SDK/Types/CEntityData.cpp | 336 + .../CS2/SDK/Types/CEntityData.hpp | 596 + .../CS2/SDK/Types/CHandle.cpp | 12 + .../CS2/SDK/Types/CHandle.hpp | 30 + .../CS2/SDK/Types/CStrongHandle.hpp | 23 + .../CS2/SDK/Types/CUtlFixedMemory.hpp | 229 + .../CS2/SDK/Types/CUtlMap.hpp | 54 + .../CS2/SDK/Types/CUtlMemory.hpp | 266 + .../CS2/SDK/Types/CUtlString.hpp | 23 + .../CS2/SDK/Types/CUtlStringToken.hpp | 113 + .../CS2/SDK/Types/CUtlSymbol.hpp | 31 + .../CS2/SDK/Types/CUtlSymbolLarge.hpp | 87 + .../CS2/SDK/Types/CUtlVector.hpp | 178 + .../CS2/SDK/Types/Color.hpp | 178 + .../CS2/SDK/Types/TIer0Memory.hpp | 33 + .../CS2/SDK/Update/CCSGOInput.hpp | 54 + .../CS2/SDK/Update/CGlobalVarsBase.hpp | 22 + .../CS2/SDK/Update/CUserCmd.hpp | 83 + .../CS2/SDK/Update/GameTrace.hpp | 149 + .../CS2/SDK/Update/Offsets.hpp | 66 + .../Andromeda-CS2-Base/Common/Base64.h | 155 + .../Andromeda-CS2-Base/Common/Common.hpp | 36 + .../Andromeda-CS2-Base/Common/CrashLog.cpp | 284 + .../Andromeda-CS2-Base/Common/CrashLog.hpp | 39 + .../Andromeda-CS2-Base/Common/DevLog.cpp | 89 + .../Andromeda-CS2-Base/Common/DevLog.hpp | 34 + .../Common/Helpers/ModuleLoaderHelper.cpp | 24 + .../Common/Helpers/ModuleLoaderHelper.hpp | 5 + .../Common/Helpers/StringHelper.cpp | 69 + .../Common/Helpers/StringHelper.hpp | 15 + .../Common/Include/Config.hpp | 31 + .../Include/FW1FontWrapper/CFW1ColorRGBA.h | 45 + .../FW1FontWrapper/CFW1DWriteRenderTarget.h | 82 + .../Include/FW1FontWrapper/CFW1Factory.h | 128 + .../Include/FW1FontWrapper/CFW1FontWrapper.h | 171 + .../Include/FW1FontWrapper/CFW1GlyphAtlas.h | 83 + .../FW1FontWrapper/CFW1GlyphProvider.h | 104 + .../FW1FontWrapper/CFW1GlyphRenderStates.h | 91 + .../Include/FW1FontWrapper/CFW1GlyphSheet.h | 141 + .../FW1FontWrapper/CFW1GlyphVertexDrawer.h | 80 + .../Include/FW1FontWrapper/CFW1Object.h | 98 + .../Include/FW1FontWrapper/CFW1StateSaver.h | 70 + .../Include/FW1FontWrapper/CFW1TextGeometry.h | 49 + .../Include/FW1FontWrapper/CFW1TextRenderer.h | 147 + .../FW1FontWrapper/FW1CompileSettings.h | 15 + .../Include/FW1FontWrapper/FW1FontWrapper.h | 1214 + .../Include/FW1FontWrapper/FW1Precompiled.h | 24 + .../Include/Fnv1a/Hash_Fnv1a_Constexpr.hpp | 25 + .../ImGui/Misc/freetype/imgui_freetype.cpp | 969 + .../ImGui/Misc/freetype/imgui_freetype.h | 58 + .../Common/Include/ImGui/imconfig.h | 122 + .../Common/Include/ImGui/imgui.cpp | 17042 ++++ .../Common/Include/ImGui/imgui.h | 3809 + .../Common/Include/ImGui/imgui_draw.cpp | 5797 ++ .../Common/Include/ImGui/imgui_impl_dx11.cpp | 628 + .../Common/Include/ImGui/imgui_impl_dx11.h | 47 + .../Common/Include/ImGui/imgui_impl_win32.cpp | 943 + .../Common/Include/ImGui/imgui_impl_win32.h | 53 + .../Common/Include/ImGui/imgui_internal.h | 3633 + .../Common/Include/ImGui/imgui_tables.cpp | 4523 + .../Common/Include/ImGui/imgui_widgets.cpp | 10447 +++ .../Common/Include/ImGui/imstb_rectpack.h | 627 + .../Common/Include/ImGui/imstb_textedit.h | 1469 + .../Common/Include/ImGui/imstb_truetype.h | 5085 ++ .../Common/Include/MinHook/MinHook.h | 185 + .../Common/Include/VMProtect/VMProtectSDK.h | 106 + .../Common/Include/XorStr/XorStr.hpp | 244 + .../Common/Include/freetype/config/ftconfig.h | 51 + .../Common/Include/freetype/config/ftheader.h | 836 + .../Common/Include/freetype/config/ftmodule.h | 33 + .../Common/Include/freetype/config/ftoption.h | 1014 + .../Common/Include/freetype/config/ftstdlib.h | 185 + .../Include/freetype/config/integer-types.h | 250 + .../Include/freetype/config/mac-support.h | 49 + .../Include/freetype/config/public-macros.h | 138 + .../Common/Include/freetype/freetype.h | 5337 ++ .../Common/Include/freetype/ftadvanc.h | 188 + .../Common/Include/freetype/ftbbox.h | 101 + .../Common/Include/freetype/ftbdf.h | 212 + .../Common/Include/freetype/ftbitmap.h | 329 + .../Common/Include/freetype/ftbzip2.h | 102 + .../Common/Include/freetype/ftcache.h | 1087 + .../Common/Include/freetype/ftchapters.h | 168 + .../Common/Include/freetype/ftcid.h | 167 + .../Common/Include/freetype/ftcolor.h | 1667 + .../Common/Include/freetype/ftdriver.h | 1246 + .../Common/Include/freetype/fterrdef.h | 283 + .../Common/Include/freetype/fterrors.h | 296 + .../Common/Include/freetype/ftfntfmt.h | 93 + .../Common/Include/freetype/ftgasp.h | 143 + .../Common/Include/freetype/ftglyph.h | 750 + .../Common/Include/freetype/ftgxval.h | 354 + .../Common/Include/freetype/ftgzip.h | 151 + .../Common/Include/freetype/ftimage.h | 1284 + .../Common/Include/freetype/ftincrem.h | 348 + .../Common/Include/freetype/ftlcdfil.h | 323 + .../Common/Include/freetype/ftlist.h | 296 + .../Common/Include/freetype/ftlogging.h | 184 + .../Common/Include/freetype/ftlzw.h | 100 + .../Common/Include/freetype/ftmac.h | 289 + .../Common/Include/freetype/ftmm.h | 805 + .../Common/Include/freetype/ftmodapi.h | 807 + .../Common/Include/freetype/ftmoderr.h | 204 + .../Common/Include/freetype/ftotval.h | 206 + .../Common/Include/freetype/ftoutln.h | 588 + .../Common/Include/freetype/ftparams.h | 218 + .../Common/Include/freetype/ftpfr.h | 179 + .../Common/Include/freetype/ftrender.h | 244 + .../Common/Include/freetype/ftsizes.h | 159 + .../Common/Include/freetype/ftsnames.h | 272 + .../Common/Include/freetype/ftstroke.h | 773 + .../Common/Include/freetype/ftsynth.h | 104 + .../Common/Include/freetype/ftsystem.h | 350 + .../Common/Include/freetype/fttrigon.h | 350 + .../Common/Include/freetype/fttypes.h | 617 + .../Common/Include/freetype/ftwinfnt.h | 276 + .../Include/freetype/internal/autohint.h | 234 + .../Include/freetype/internal/cffotypes.h | 107 + .../Include/freetype/internal/cfftypes.h | 416 + .../freetype/internal/compiler-macros.h | 343 + .../Common/Include/freetype/internal/ftcalc.h | 581 + .../Include/freetype/internal/ftdebug.h | 442 + .../Common/Include/freetype/internal/ftdrv.h | 289 + .../Include/freetype/internal/ftgloadr.h | 147 + .../Common/Include/freetype/internal/fthash.h | 135 + .../Include/freetype/internal/ftmemory.h | 398 + .../Include/freetype/internal/ftmmtypes.h | 91 + .../Common/Include/freetype/internal/ftobjs.h | 1238 + .../Include/freetype/internal/ftpsprop.h | 47 + .../Include/freetype/internal/ftrfork.h | 245 + .../Common/Include/freetype/internal/ftserv.h | 495 + .../Include/freetype/internal/ftstream.h | 570 + .../Include/freetype/internal/fttrace.h | 172 + .../Include/freetype/internal/ftvalid.h | 160 + .../Common/Include/freetype/internal/psaux.h | 1434 + .../Include/freetype/internal/pshints.h | 699 + .../freetype/internal/services/svbdf.h | 66 + .../freetype/internal/services/svcfftl.h | 90 + .../freetype/internal/services/svcid.h | 69 + .../freetype/internal/services/svfntfmt.h | 55 + .../freetype/internal/services/svgldict.h | 72 + .../freetype/internal/services/svgxval.h | 72 + .../freetype/internal/services/svkern.h | 51 + .../freetype/internal/services/svmetric.h | 131 + .../Include/freetype/internal/services/svmm.h | 214 + .../freetype/internal/services/svotval.h | 55 + .../freetype/internal/services/svpfr.h | 65 + .../freetype/internal/services/svpostnm.h | 65 + .../freetype/internal/services/svprop.h | 66 + .../freetype/internal/services/svpscmap.h | 145 + .../freetype/internal/services/svpsinfo.h | 86 + .../freetype/internal/services/svsfnt.h | 88 + .../freetype/internal/services/svttcmap.h | 90 + .../freetype/internal/services/svtteng.h | 53 + .../freetype/internal/services/svttglyf.h | 56 + .../freetype/internal/services/svwinfnt.h | 50 + .../Common/Include/freetype/internal/sfnt.h | 1092 + .../Include/freetype/internal/svginterface.h | 46 + .../Include/freetype/internal/t1types.h | 259 + .../Include/freetype/internal/tttypes.h | 1756 + .../Include/freetype/internal/wofftypes.h | 312 + .../Common/Include/freetype/otsvg.h | 336 + .../Common/Include/freetype/t1tables.h | 793 + .../Common/Include/freetype/ttnameid.h | 1235 + .../Common/Include/freetype/tttables.h | 855 + .../Common/Include/freetype/tttags.h | 124 + .../Common/Include/ft2build.h | 42 + .../Common/Include/google/protobuf/any.h | 157 + .../Common/Include/google/protobuf/any.pb.h | 384 + .../Common/Include/google/protobuf/api.pb.h | 1437 + .../Common/Include/google/protobuf/arena.h | 851 + .../Include/google/protobuf/arena_impl.h | 686 + .../Include/google/protobuf/arena_test_util.h | 132 + .../Include/google/protobuf/arenastring.h | 480 + .../Include/google/protobuf/arenaz_sampler.h | 207 + .../protobuf/compiler/annotation_test_util.h | 115 + .../google/protobuf/compiler/code_generator.h | 207 + .../compiler/command_line_interface.h | 464 + .../protobuf/compiler/cpp/cpp_generator.h | 6 + .../google/protobuf/compiler/cpp/enum.h | 106 + .../google/protobuf/compiler/cpp/enum_field.h | 125 + .../google/protobuf/compiler/cpp/extension.h | 95 + .../google/protobuf/compiler/cpp/field.h | 270 + .../google/protobuf/compiler/cpp/file.h | 209 + .../google/protobuf/compiler/cpp/generator.h | 107 + .../google/protobuf/compiler/cpp/helpers.h | 1064 + .../google/protobuf/compiler/cpp/map_field.h | 83 + .../google/protobuf/compiler/cpp/message.h | 232 + .../protobuf/compiler/cpp/message_field.h | 148 + .../compiler/cpp/message_layout_helper.h | 64 + .../google/protobuf/compiler/cpp/names.h | 97 + .../google/protobuf/compiler/cpp/options.h | 101 + .../protobuf/compiler/cpp/padding_optimizer.h | 65 + .../compiler/cpp/parse_function_generator.h | 180 + .../protobuf/compiler/cpp/primitive_field.h | 126 + .../google/protobuf/compiler/cpp/service.h | 123 + .../protobuf/compiler/cpp/string_field.h | 136 + .../google/protobuf/compiler/cpp/unittest.h | 51 + .../google/protobuf/compiler/cpp/unittest.inc | 2226 + .../google/protobuf/compiler/importer.h | 338 + .../protobuf/compiler/mock_code_generator.h | 136 + .../google/protobuf/compiler/package_info.h | 63 + .../Include/google/protobuf/compiler/parser.h | 602 + .../Include/google/protobuf/compiler/plugin.h | 96 + .../google/protobuf/compiler/plugin.pb.h | 1901 + .../Include/google/protobuf/compiler/scc.h | 165 + .../google/protobuf/compiler/subprocess.h | 114 + .../google/protobuf/compiler/zip_writer.h | 69 + .../Include/google/protobuf/descriptor.h | 2440 + .../Include/google/protobuf/descriptor.pb.h | 14821 +++ .../google/protobuf/descriptor_database.h | 398 + .../Include/google/protobuf/duration.pb.h | 278 + .../Include/google/protobuf/dynamic_message.h | 227 + .../Common/Include/google/protobuf/empty.pb.h | 198 + .../Common/Include/google/protobuf/endian.h | 198 + .../google/protobuf/explicitly_constructed.h | 97 + .../Include/google/protobuf/extension_set.h | 1561 + .../google/protobuf/extension_set_inl.h | 285 + .../google/protobuf/field_access_listener.h | 172 + .../Include/google/protobuf/field_mask.pb.h | 317 + .../protobuf/generated_enum_reflection.h | 100 + .../google/protobuf/generated_enum_util.h | 85 + .../google/protobuf/generated_message_bases.h | 87 + .../protobuf/generated_message_reflection.h | 354 + .../protobuf/generated_message_tctable_decl.h | 312 + .../protobuf/generated_message_tctable_impl.h | 553 + .../google/protobuf/generated_message_util.h | 214 + .../Common/Include/google/protobuf/has_bits.h | 117 + .../google/protobuf/implicit_weak_message.h | 213 + .../google/protobuf/inlined_string_field.h | 532 + .../Include/google/protobuf/io/coded_stream.h | 1799 + .../Include/google/protobuf/io/gzip_stream.h | 205 + .../Include/google/protobuf/io/io_win32.h | 141 + .../Include/google/protobuf/io/package_info.h | 53 + .../Include/google/protobuf/io/printer.h | 387 + .../Include/google/protobuf/io/strtod.h | 55 + .../Include/google/protobuf/io/tokenizer.h | 442 + .../google/protobuf/io/zero_copy_stream.h | 260 + .../protobuf/io/zero_copy_stream_impl.h | 336 + .../protobuf/io/zero_copy_stream_impl_lite.h | 413 + .../Common/Include/google/protobuf/map.h | 1448 + .../Include/google/protobuf/map_entry.h | 134 + .../Include/google/protobuf/map_entry_lite.h | 563 + .../Include/google/protobuf/map_field.h | 946 + .../Include/google/protobuf/map_field_inl.h | 375 + .../Include/google/protobuf/map_field_lite.h | 209 + .../google/protobuf/map_lite_test_util.h | 80 + .../Include/google/protobuf/map_test.inc | 4071 + .../Include/google/protobuf/map_test_util.h | 46 + .../Include/google/protobuf/map_test_util.inc | 271 + .../google/protobuf/map_test_util_impl.h | 476 + .../google/protobuf/map_type_handler.h | 736 + .../Common/Include/google/protobuf/message.h | 1497 + .../Include/google/protobuf/message_lite.h | 591 + .../google/protobuf/message_unittest.inc | 1131 + .../Common/Include/google/protobuf/metadata.h | 36 + .../Include/google/protobuf/metadata_lite.h | 316 + .../Include/google/protobuf/package_info.h | 66 + .../Include/google/protobuf/parse_context.h | 1025 + .../Common/Include/google/protobuf/port.h | 80 + .../Include/google/protobuf/port_def.inc | 928 + .../Include/google/protobuf/port_undef.inc | 160 + .../google/protobuf/proto3_lite_unittest.inc | 149 + .../Include/google/protobuf/reflection.h | 570 + .../google/protobuf/reflection_internal.h | 364 + .../Include/google/protobuf/reflection_ops.h | 92 + .../google/protobuf/reflection_tester.h | 122 + .../Include/google/protobuf/repeated_field.h | 1219 + .../google/protobuf/repeated_ptr_field.h | 1970 + .../Common/Include/google/protobuf/service.h | 295 + .../google/protobuf/source_context.pb.h | 282 + .../google/protobuf/string_member_robber.h | 38 + .../Include/google/protobuf/struct.pb.h | 1177 + .../google/protobuf/stubs/bytestream.h | 351 + .../Include/google/protobuf/stubs/callback.h | 583 + .../Include/google/protobuf/stubs/casts.h | 138 + .../Include/google/protobuf/stubs/common.h | 197 + .../Include/google/protobuf/stubs/hash.h | 114 + .../Include/google/protobuf/stubs/int128.h | 387 + .../Include/google/protobuf/stubs/logging.h | 239 + .../Include/google/protobuf/stubs/macros.h | 93 + .../Include/google/protobuf/stubs/map_util.h | 769 + .../Include/google/protobuf/stubs/mathutil.h | 162 + .../Include/google/protobuf/stubs/mutex.h | 218 + .../Include/google/protobuf/stubs/once.h | 55 + .../google/protobuf/stubs/platform_macros.h | 138 + .../Include/google/protobuf/stubs/port.h | 413 + .../Include/google/protobuf/stubs/status.h | 196 + .../google/protobuf/stubs/status_macros.h | 89 + .../Include/google/protobuf/stubs/statusor.h | 253 + .../Include/google/protobuf/stubs/stl_util.h | 90 + .../google/protobuf/stubs/stringpiece.h | 402 + .../google/protobuf/stubs/stringprintf.h | 85 + .../Include/google/protobuf/stubs/strutil.h | 950 + .../google/protobuf/stubs/substitute.h | 178 + .../google/protobuf/stubs/template_util.h | 138 + .../Include/google/protobuf/stubs/time.h | 82 + .../Include/google/protobuf/test_util.h | 1277 + .../Include/google/protobuf/test_util.inc | 2434 + .../Include/google/protobuf/test_util2.h | 106 + .../Include/google/protobuf/test_util_lite.h | 101 + .../Include/google/protobuf/testing/file.h | 107 + .../google/protobuf/testing/googletest.h | 104 + .../Include/google/protobuf/text_format.h | 693 + .../Include/google/protobuf/timestamp.pb.h | 278 + .../Common/Include/google/protobuf/type.pb.h | 2571 + .../google/protobuf/unknown_field_set.h | 407 + .../protobuf/util/delimited_message_util.h | 109 + .../google/protobuf/util/field_comparator.h | 288 + .../google/protobuf/util/field_mask_util.h | 263 + .../google/protobuf/util/internal/constants.h | 101 + .../google/protobuf/util/internal/datapiece.h | 219 + .../internal/default_value_objectwriter.h | 332 + .../protobuf/util/internal/error_listener.h | 109 + .../util/internal/expecting_objectwriter.h | 250 + .../util/internal/field_mask_utility.h | 74 + .../protobuf/util/internal/json_escaping.h | 98 + .../util/internal/json_objectwriter.h | 278 + .../util/internal/json_stream_parser.h | 350 + .../protobuf/util/internal/location_tracker.h | 70 + .../util/internal/mock_error_listener.h | 68 + .../util/internal/object_location_tracker.h | 64 + .../protobuf/util/internal/object_source.h | 85 + .../protobuf/util/internal/object_writer.h | 151 + .../protobuf/util/internal/proto_writer.h | 389 + .../util/internal/protostream_objectsource.h | 329 + .../util/internal/protostream_objectwriter.h | 453 + .../util/internal/structured_objectwriter.h | 121 + .../google/protobuf/util/internal/type_info.h | 97 + .../util/internal/type_info_test_helper.h | 96 + .../google/protobuf/util/internal/utility.h | 204 + .../Include/google/protobuf/util/json_util.h | 204 + .../protobuf/util/message_differencer.h | 980 + .../google/protobuf/util/package_info.h | 46 + .../Include/google/protobuf/util/time_util.h | 314 + .../google/protobuf/util/type_resolver.h | 77 + .../google/protobuf/util/type_resolver_util.h | 58 + .../Include/google/protobuf/wire_format.h | 414 + .../google/protobuf/wire_format_lite.h | 1908 + .../google/protobuf/wire_format_unittest.inc | 1709 + .../Include/google/protobuf/wrappers.pb.h | 1741 + .../Common/Include/rapidjson/allocators.h | 693 + .../Include/rapidjson/cursorstreamwrapper.h | 78 + .../Common/Include/rapidjson/document.h | 3044 + .../Common/Include/rapidjson/encodedstream.h | 299 + .../Common/Include/rapidjson/encodings.h | 716 + .../Common/Include/rapidjson/error/en.h | 176 + .../Common/Include/rapidjson/error/error.h | 285 + .../Common/Include/rapidjson/filereadstream.h | 99 + .../Include/rapidjson/filewritestream.h | 104 + .../Common/Include/rapidjson/fwd.h | 151 + .../Include/rapidjson/internal/biginteger.h | 297 + .../Common/Include/rapidjson/internal/clzll.h | 71 + .../Common/Include/rapidjson/internal/diyfp.h | 261 + .../Common/Include/rapidjson/internal/dtoa.h | 249 + .../Include/rapidjson/internal/ieee754.h | 78 + .../Common/Include/rapidjson/internal/itoa.h | 308 + .../Common/Include/rapidjson/internal/meta.h | 186 + .../Common/Include/rapidjson/internal/pow10.h | 55 + .../Common/Include/rapidjson/internal/regex.h | 739 + .../Common/Include/rapidjson/internal/stack.h | 232 + .../Include/rapidjson/internal/strfunc.h | 83 + .../Include/rapidjson/internal/strtod.h | 293 + .../Common/Include/rapidjson/internal/swap.h | 46 + .../Common/Include/rapidjson/istreamwrapper.h | 128 + .../Common/Include/rapidjson/memorybuffer.h | 70 + .../Common/Include/rapidjson/memorystream.h | 71 + .../Include/rapidjson/msinttypes/inttypes.h | 316 + .../Include/rapidjson/msinttypes/stdint.h | 300 + .../Common/Include/rapidjson/ostreamwrapper.h | 81 + .../Common/Include/rapidjson/pointer.h | 1476 + .../Common/Include/rapidjson/prettywriter.h | 277 + .../Common/Include/rapidjson/rapidjson.h | 741 + .../Common/Include/rapidjson/reader.h | 2246 + .../Common/Include/rapidjson/schema.h | 3262 + .../Common/Include/rapidjson/stream.h | 223 + .../Common/Include/rapidjson/stringbuffer.h | 121 + .../Common/Include/rapidjson/uri.h | 481 + .../Common/Include/rapidjson/writer.h | 721 + .../Common/Include/stb/stb_image.h | 7987 ++ .../Common/MemoryEngine.cpp | 115 + .../Common/MemoryEngine.hpp | 50 + .../Andromeda-CS2-Base/DllLauncher.cpp | 133 + .../Andromeda-CS2-Base/DllLauncher.hpp | 90 + .../Andromeda-CS2-Base/DllMain.cpp | 22 + .../Andromeda-CS2-Base/DllMain.hpp | 8 + .../GameClient/CEntityCache/CEntityCache.cpp | 76 + .../GameClient/CEntityCache/CEntityCache.hpp | 66 + .../GameClient/CL_Bypass.cpp | 180 + .../GameClient/CL_Bypass.hpp | 51 + .../GameClient/CL_ItemDefinition.cpp | 172 + .../GameClient/CL_ItemDefinition.hpp | 151 + .../GameClient/CL_Players.cpp | 42 + .../GameClient/CL_Players.hpp | 20 + .../GameClient/CL_Weapons.cpp | 90 + .../GameClient/CL_Weapons.hpp | 19 + Andromeda-CS2-Base/FW1FontWrapperRel.lib | Bin 0 -> 3714962 bytes Andromeda-CS2-Base/VMProtectSDK64.lib | Bin 0 -> 7372 bytes Andromeda-CS2-Base/freetype.lib | Bin 0 -> 4576360 bytes Andromeda-CS2-Base/libMinHook.lib | Bin 0 -> 32436 bytes Andromeda-CS2-Base/libprotobuf.lib | Bin 0 -> 16728098 bytes 600 files changed, 938224 insertions(+), 1 deletion(-) create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/FontAwesomeIcon.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/Settings.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.cc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/AppFramework/IAppSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/ESOCacheEvent.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/EconItemConstants.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/SOID_t.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CGameEntitySystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CInputSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CLocalize.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CMaterialSystem2.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSoundOpSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSource2Client.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IBaseFileSystem.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Rect_t.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector2.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Network/CNetworkMessages.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CBaseTypes.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CStrongHandle.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlFixedMemory.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMap.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMemory.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlString.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlStringToken.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbol.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbolLarge.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlVector.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/Color.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/TIer0Memory.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CCSGOInput.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CGlobalVarsBase.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CUserCmd.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/GameTrace.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Base64.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Common.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1ColorRGBA.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1DWriteRenderTarget.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Factory.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1FontWrapper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphAtlas.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphProvider.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphRenderStates.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphSheet.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphVertexDrawer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Object.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1StateSaver.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextGeometry.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextRenderer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1CompileSettings.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1FontWrapper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1Precompiled.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Fnv1a/Hash_Fnv1a_Constexpr.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imconfig.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_draw.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_internal.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_tables.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_widgets.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_rectpack.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_textedit.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_truetype.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/MinHook/MinHook.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/VMProtect/VMProtectSDK.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/XorStr/XorStr.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftconfig.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftheader.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftmodule.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftoption.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftstdlib.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/integer-types.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/mac-support.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/public-macros.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/freetype.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftadvanc.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbbox.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbdf.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbitmap.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbzip2.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcache.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftchapters.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcid.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcolor.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftdriver.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrdef.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrors.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftfntfmt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgasp.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftglyph.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgxval.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgzip.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftimage.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftincrem.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlcdfil.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlist.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlogging.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlzw.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmac.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmm.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmodapi.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmoderr.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftotval.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftoutln.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftparams.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftpfr.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftrender.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsizes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsnames.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftstroke.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsynth.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsystem.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttrigon.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftwinfnt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/autohint.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cffotypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cfftypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/compiler-macros.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftcalc.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdebug.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdrv.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftgloadr.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fthash.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmemory.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmmtypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftobjs.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftpsprop.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftrfork.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftserv.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftstream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fttrace.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftvalid.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/psaux.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/pshints.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svbdf.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcfftl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcid.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svfntfmt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgldict.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgxval.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svkern.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmetric.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmm.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svotval.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpfr.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpostnm.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svprop.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpscmap.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpsinfo.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svsfnt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttcmap.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svtteng.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttglyf.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svwinfnt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/sfnt.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/svginterface.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/t1types.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/tttypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/wofftypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/otsvg.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/t1tables.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ttnameid.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttables.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttags.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ft2build.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/api.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_impl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_test_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenastring.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenaz_sampler.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/annotation_test_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/code_generator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/command_line_interface.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/cpp_generator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/extension.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/file.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/generator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/helpers.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/map_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_layout_helper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/names.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/options.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/padding_optimizer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/parse_function_generator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/primitive_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/service.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/string_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/importer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/mock_code_generator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/package_info.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/parser.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/scc.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/subprocess.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/zip_writer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor_database.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/duration.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/dynamic_message.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/empty.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/endian.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/explicitly_constructed.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/extension_set.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/extension_set_inl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/field_access_listener.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/field_mask.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_enum_reflection.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_enum_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_message_bases.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_message_reflection.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_message_tctable_decl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_message_tctable_impl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/generated_message_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/has_bits.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/implicit_weak_message.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/inlined_string_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/coded_stream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/gzip_stream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/io_win32.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/package_info.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/printer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/strtod.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/tokenizer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/zero_copy_stream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/zero_copy_stream_impl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/io/zero_copy_stream_impl_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_entry.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_entry_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_field_inl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_field_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_lite_test_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_test.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_test_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_test_util.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_test_util_impl.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/map_type_handler.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/message.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/message_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/message_unittest.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/metadata.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/metadata_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/package_info.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/parse_context.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/port.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/port_def.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/port_undef.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/proto3_lite_unittest.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/reflection.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/reflection_internal.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/reflection_ops.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/reflection_tester.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/repeated_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/repeated_ptr_field.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/service.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/source_context.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/string_member_robber.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/struct.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/bytestream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/callback.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/casts.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/common.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/hash.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/int128.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/logging.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/macros.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/map_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/mathutil.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/mutex.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/once.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/platform_macros.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/port.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/status.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/status_macros.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/statusor.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/stl_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/stringpiece.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/stringprintf.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/strutil.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/substitute.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/template_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/stubs/time.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/test_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/test_util.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/test_util2.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/test_util_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/testing/file.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/testing/googletest.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/text_format.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/timestamp.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/type.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/unknown_field_set.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/delimited_message_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/field_comparator.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/field_mask_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/constants.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/datapiece.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/default_value_objectwriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/error_listener.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/expecting_objectwriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/field_mask_utility.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/json_escaping.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/json_objectwriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/json_stream_parser.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/location_tracker.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/mock_error_listener.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/object_location_tracker.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/object_source.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/object_writer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/proto_writer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/protostream_objectsource.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/protostream_objectwriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/structured_objectwriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/type_info.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/type_info_test_helper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/internal/utility.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/json_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/message_differencer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/package_info.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/time_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/type_resolver.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/util/type_resolver_util.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/wire_format.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/wire_format_lite.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/wire_format_unittest.inc create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/wrappers.pb.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/allocators.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/cursorstreamwrapper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/document.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/encodedstream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/encodings.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/error/en.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/error/error.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/filereadstream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/filewritestream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/fwd.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/biginteger.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/clzll.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/diyfp.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/dtoa.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/ieee754.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/itoa.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/meta.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/pow10.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/regex.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/stack.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/strfunc.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/strtod.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/internal/swap.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/istreamwrapper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/memorybuffer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/memorystream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/msinttypes/inttypes.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/msinttypes/stdint.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/ostreamwrapper.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/pointer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/prettywriter.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/rapidjson.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/reader.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/schema.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/stream.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/stringbuffer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/uri.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/rapidjson/writer.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/stb/stb_image.h create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/MemoryEngine.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/Common/MemoryEngine.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/DllLauncher.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/DllLauncher.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/DllMain.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/DllMain.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CEntityCache/CEntityCache.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CEntityCache/CEntityCache.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Bypass.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Bypass.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_ItemDefinition.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_ItemDefinition.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Players.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Players.hpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Weapons.cpp create mode 100644 Andromeda-CS2-Base/Andromeda-CS2-Base/GameClient/CL_Weapons.hpp create mode 100644 Andromeda-CS2-Base/FW1FontWrapperRel.lib create mode 100644 Andromeda-CS2-Base/VMProtectSDK64.lib create mode 100644 Andromeda-CS2-Base/freetype.lib create mode 100644 Andromeda-CS2-Base/libMinHook.lib create mode 100644 Andromeda-CS2-Base/libprotobuf.lib diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj index 56241c5..2f1be1b 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj @@ -70,6 +70,10 @@ + + $(MSBuildProjectDirectory)\Andromeda-CS2-Base\;$(MSBuildProjectDirectory)\Andromeda-CS2-Base\Common\Include\;$(IncludePath) + false + Level3 @@ -117,8 +121,13 @@ true true true - NDEBUG;ANDROMEDACS2BASE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + NDEBUG;ANDROMEDACS2BASE_EXPORTS;_WINDOWS;_USRDLL;RELEASE_BUILD;STB_IMAGE_STATIC;STB_IMAGE_IMPLEMENTATION;%(PreprocessorDefinitions) true + true + Speed + MultiThreaded + stdcpplatest + stdclatest Windows @@ -127,6 +136,326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters index 607f030..bd346b5 100644 --- a/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base.vcxproj.filters @@ -4,5 +4,1080 @@ {bf9ebf80-5529-4a5e-b8d1-29e39050994d} + + {a1ebe744-533b-4926-935a-4ffba0889408} + + + {a5576b69-d2cc-475c-ad7c-954942983000} + + + {e1cae381-63cd-4466-9554-51be6d256e4f} + + + {8f0965d1-64ab-4cd9-94b4-8db59ec036ad} + + + {abc36d35-85de-4f39-b2a3-66253e473054} + + + {ebd09833-a36c-4838-b88c-ec97f9830d4d} + + + {14502772-5c8b-4a02-9194-1c232e67019d} + + + {a0feac47-5a76-4fd3-97e9-7e7f8ed8bc88} + + + {80b374bf-1d20-40de-8f3f-9591d2d8f097} + + + {feae13bf-a69c-4cd8-8b66-f8cb056b2865} + + + {bba9ef2d-52d0-4dd0-92ef-a68279c37196} + + + {22340330-c41f-4601-911b-a94126fcd996} + + + {388f6b16-07ef-43bc-8207-7f3d83c098c1} + + + {dc83ce5a-afb3-4bd5-9d3d-bc7c3ba24ded} + + + {9bfd9cfc-1264-4ec5-b4e4-2274157c34b4} + + + {93efb744-4e4e-43ff-89fa-3d0dddd5ee42} + + + {ed50ceca-db45-4dca-8e98-8174bbfffe11} + + + {537adcb2-aae8-45c2-bca2-2771b93a0869} + + + {09550319-2967-4021-8a94-c45be2e9ca06} + + + {0ae9517c-4b20-44f9-b0e1-43133bf8ae6c} + + + {34546bc8-9794-420e-a704-365af3ad3349} + + + {b7f7ffac-5cfe-4b39-a173-c1cf89b6651c} + + + {730a7fcb-4fe4-46ac-bae4-ae6c4ddf2cd5} + + + {657445b7-774b-4bcf-8f82-36477d1b0688} + + + {0da98d92-3e39-4089-a5a3-a2db7bdd3772} + + + {1b7189ea-8295-47dd-9c88-978e0cab718a} + + + {1f7fdd18-fd74-4757-9ebc-10afb6985cbd} + + + {a51683fa-e93c-4d32-80d4-4cd68a632bcc} + + + {8a3ad67d-d55f-4adc-947b-2bc001e74c98} + + + {065edd15-8f9e-440d-ab36-999f50d36115} + + + {4d09f4fb-127d-4207-a0e0-ecf06d5e2bed} + + + {1d7ec5d9-9434-43fe-9957-4ae27a22c2d2} + + + {b9cb9b39-b369-4666-874d-22310a511ae7} + + + {b8c11515-ce15-43a5-844d-63b82aff6922} + + + {4e150f67-06e2-44c4-a259-39a99d5788c8} + + + {d309398f-cb6f-4d8a-b199-72e2620e312f} + + + {af579ea6-ff2b-45a0-8fb7-959e35af0ded} + + + {267a952d-c34c-4418-8247-a0734af332e2} + + + {eafcd62e-e607-498c-8634-0be5feeec9ae} + + + + + Andromeda-CS2-Base + + + Andromeda-CS2-Base + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient\CEntityCache + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2\SDK\Cstrike15 + + + Andromeda-CS2-Base\CS2\SDK\Cstrike15 + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\GCSDK + + + Andromeda-CS2-Base\CS2\SDK\GCSDK + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\TIER0 + + + Andromeda-CS2-Base\CS2\SDK\SDL3 + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common\Helpers + + + Andromeda-CS2-Base\Common\Helpers + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui\Misc\freetype + + + Andromeda-CS2-Base\AndromedaClient + + + Andromeda-CS2-Base\AndromedaClient + + + Andromeda-CS2-Base\AndromedaClient\Settings + + + Andromeda-CS2-Base\AndromedaClient\Render + + + Andromeda-CS2-Base\AndromedaClient\Render + + + Andromeda-CS2-Base\AndromedaClient\Fonts + + + Andromeda-CS2-Base\AndromedaClient\Fonts + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\AndromedaClient\GUI + + + Andromeda-CS2-Base\AndromedaClient\Features + + + + + Andromeda-CS2-Base + + + Andromeda-CS2-Base + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\GameClient\CEntityCache + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2\Protobuf + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2 + + + Andromeda-CS2-Base\CS2\SDK\Cstrike15 + + + Andromeda-CS2-Base\CS2\SDK\Cstrike15 + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\Econ + + + Andromeda-CS2-Base\CS2\SDK\GCSDK + + + Andromeda-CS2-Base\CS2\SDK\GCSDK + + + Andromeda-CS2-Base\CS2\SDK\GCSDK\GCSDKTypes + + + Andromeda-CS2-Base\CS2\SDK\GCSDK\GCSDKTypes + + + Andromeda-CS2-Base\CS2\SDK\GCSDK\GCSDKTypes + + + Andromeda-CS2-Base\CS2\SDK\AppFramework + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Math + + + Andromeda-CS2-Base\CS2\SDK\Network + + + Andromeda-CS2-Base\CS2\SDK\TIER0 + + + Andromeda-CS2-Base\CS2\SDK\SDL3 + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Types + + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\SDK\Update + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\CS2\SDK + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common + + + Andromeda-CS2-Base\Common\Helpers + + + Andromeda-CS2-Base\Common\Helpers + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui + + + Andromeda-CS2-Base\Common\Include\ImGui\Misc\freetype + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson + + + Andromeda-CS2-Base\Common\Include\rapidjson\msinttypes + + + Andromeda-CS2-Base\Common\Include\rapidjson\msinttypes + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\internal + + + Andromeda-CS2-Base\Common\Include\rapidjson\error + + + Andromeda-CS2-Base\Common\Include\rapidjson\error + + + Andromeda-CS2-Base\Common\Include\stb + + + Andromeda-CS2-Base\Common\Include + + + Andromeda-CS2-Base\Common\Include\XorStr + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\FW1FontWrapper + + + Andromeda-CS2-Base\Common\Include\Fnv1a + + + Andromeda-CS2-Base\Common\Include\VMProtect + + + Andromeda-CS2-Base\AndromedaClient + + + Andromeda-CS2-Base\AndromedaClient + + + Andromeda-CS2-Base\AndromedaClient\Settings + + + Andromeda-CS2-Base\AndromedaClient\Render + + + Andromeda-CS2-Base\AndromedaClient\Render + + + Andromeda-CS2-Base\AndromedaClient\Fonts + + + Andromeda-CS2-Base\AndromedaClient\Fonts + + + Andromeda-CS2-Base\AndromedaClient\Fonts + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\CS2\Hook + + + Andromeda-CS2-Base\GameClient + + + Andromeda-CS2-Base\AndromedaClient\GUI + + + Andromeda-CS2-Base\AndromedaClient\Settings + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\CS2\SDK\Interface + + + Andromeda-CS2-Base\AndromedaClient\Features + + + Andromeda-CS2-Base\Common + \ No newline at end of file diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.cpp new file mode 100644 index 0000000..cd34f92 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.cpp @@ -0,0 +1,73 @@ +#include "CAndromedaClient.hpp" + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include + +static CAndromedaClient g_CAndromedaClient{}; + +auto CAndromedaClient::OnInit() -> void +{ + +} + +auto CAndromedaClient::OnFrameStageNotify( int FrameStage ) -> void +{ + +} + +auto CAndromedaClient::OnFireEventClientSide( IGameEvent* pGameEvent ) -> void +{ + +} + +auto CAndromedaClient::OnAddEntity( CEntityInstance* pInst , CHandle handle ) -> void +{ + GetEntityCache()->OnAddEntity( pInst , handle ); +} + +auto CAndromedaClient::OnRemoveEntity( CEntityInstance* pInst , CHandle handle ) -> void +{ + GetEntityCache()->OnRemoveEntity( pInst , handle ); +} + +auto CAndromedaClient::OnRender() -> void +{ + if ( GetAndromedaGUI()->IsVisible() ) + GetAndromedaMenu()->OnRenderMenu(); + + GetFontManager()->FirstInitFonts(); + GetFontManager()->m_VerdanaFont.DrawString( 1 , 1 , ImColor( 255 , 255 , 0 ) , FW1_LEFT , XorStr( CHEAT_NAME ) ); + + if ( SDK::Interfaces::EngineToClient()->IsInGame() ) + { + GetRenderStackSystem()->OnRenderStack(); + } +} + +auto CAndromedaClient::OnClientOutput() -> void +{ + if ( SDK::Interfaces::EngineToClient()->IsInGame() ) + { + GetVisual()->OnClientOutput(); + } +} + +auto CAndromedaClient::OnCreateMove( CCSGOInput* pInput , CUserCmd* pUserCmd ) -> void +{ + +} + +auto GetAndromedaClient() -> CAndromedaClient* +{ + return &g_CAndromedaClient; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.hpp new file mode 100644 index 0000000..43d48bb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaClient.hpp @@ -0,0 +1,40 @@ +#pragma once + +#include + +#include +#include + +class IGameEvent; +class CEntityInstance; +class CCSGOInput; +class CUserCmd; + +class IAndromedaClient +{ +public: + virtual void OnFrameStageNotify( int FrameStage ) = 0; + virtual void OnFireEventClientSide( IGameEvent* pGameEvent ) = 0; + virtual void OnAddEntity( CEntityInstance* pInst , CHandle handle ) = 0; + virtual void OnRemoveEntity( CEntityInstance* pInst , CHandle handle ) = 0; + virtual void OnRender() = 0; + virtual void OnClientOutput() = 0; + virtual void OnCreateMove( CCSGOInput* pInput , CUserCmd* pUserCmd ) = 0; +}; + +class CAndromedaClient final : public IAndromedaClient +{ +public: + auto OnInit() -> void; + +public: + virtual void OnFrameStageNotify( int FrameStage ) override; + virtual void OnFireEventClientSide( IGameEvent* pGameEvent ) override; + virtual void OnAddEntity( CEntityInstance* pInst , CHandle handle ) override; + virtual void OnRemoveEntity( CEntityInstance* pInst , CHandle handle ) override; + virtual void OnRender() override; + virtual void OnClientOutput() override; + virtual void OnCreateMove( CCSGOInput* pInput , CUserCmd* pUserCmd ) override; +}; + +auto GetAndromedaClient() -> CAndromedaClient*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.cpp new file mode 100644 index 0000000..de6ce2e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.cpp @@ -0,0 +1,565 @@ +#include "CAndromedaGUI.hpp" + +#include + +#include +#include + +#include +#include + +#include +#include +#include + +#include + +#include +#include +#include + +static CAndromedaGUI g_AndromedaGUI{}; + +IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler( HWND hwnd , UINT msg , WPARAM wParam , LPARAM lParam ); + +auto CAndromedaGUI::OnInit( IDXGISwapChain* pSwapChain ) -> void +{ + DXGI_SWAP_CHAIN_DESC SwapChainDesc; + + if ( FAILED( pSwapChain->GetDevice( IID_PPV_ARGS( &m_pDevice ) ) ) ) + { + DEV_LOG( "[error] CAndromedaGUI::OnInit: #1\n" ); + return; + } + + m_pDevice->GetImmediateContext( &m_pDeviceContext ); + + if ( FAILED( pSwapChain->GetDesc( &SwapChainDesc ) ) ) + { + DEV_LOG( "[error] CAndromedaGUI::OnInit: #2\n" ); + return; + } + + m_hCS2Window = SwapChainDesc.OutputWindow; + + m_pImGuiContext = ImGui::CreateContext(); + + m_GuiFile = GetDllDir() + XorStr( GUI_FILE ); + + if ( !m_pFreeType_Font ) + m_pFreeType_Font = new FreeTypeBuild(); + + ImGui::SetCurrentContext( m_pImGuiContext ); + + ImGui::GetIO().IniFilename = m_GuiFile.c_str(); + ImGui::GetIO().LogFilename = ""; + + ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange; + ImGui::GetIO().BackendFlags |= ImGuiBackendFlags_HasSetMousePos; + + ImGui_ImplWin32_Init( m_hCS2Window ); + ImGui_ImplDX11_Init( m_pDevice , m_pDeviceContext ); + + InitFont(); + UpdateStyle(); + + m_WndProc_o = (WNDPROC)SetWindowLongPtrA( m_hCS2Window , GWLP_WNDPROC , (LONG_PTR)GUI_WndProc ); + + m_bInit = true; +} + +auto CAndromedaGUI::OnDestroy() -> void +{ + SetWindowLongPtrA( m_hCS2Window , GWLP_WNDPROC , (LONG_PTR)GetAndromedaGUI()->m_WndProc_o ); + + m_bVisible = false; + + if ( m_pFreeType_Font ) + { + delete m_pFreeType_Font; + m_pFreeType_Font = nullptr; + } + + ClearRenderTargetView(); + + ImGui_ImplDX11_Shutdown(); + ImGui_ImplWin32_Shutdown(); + + ImGui::DestroyContext(); + + m_bInit = false; +} + +auto CAndromedaGUI::InitFont() -> void +{ + ImGuiIO& io = ImGui::GetIO(); + + static const ImWchar TahomaRanges[] = + { + 0x0020, 0xFFFC, + 0, + }; + + static const ImWchar AwesomeIconRanges[] = + { + 0x002D, 0x007A, + ICON_MIN_FA, ICON_MAX_FA, + 0 + }; + + wchar_t* szWindowsFontPath = nullptr; + + if ( SHGetKnownFolderPath( FOLDERID_Fonts , 0 , 0 , &szWindowsFontPath ) == S_OK ) + { + std::wstring TahomaFont = std::wstring( szWindowsFontPath ) + L"\\tahoma.ttf"; + io.Fonts->AddFontFromFileTTF( unicode_to_utf8( TahomaFont ).c_str() , 15.f , nullptr , TahomaRanges ); + } + + m_pFontAwesomeIcons = io.Fonts->AddFontFromMemoryCompressedTTF( FontAwesomeIcon_compressed_data , FontAwesomeIcon_compressed_size , 25.f , nullptr , AwesomeIconRanges ); + + CoTaskMemFree( szWindowsFontPath ); +} + +void CAndromedaGUI::OnPresent( IDXGISwapChain* pSwapChain ) +{ + if ( !m_bInit ) + OnInit( pSwapChain ); + else + OnRender( pSwapChain ); +} + +void CAndromedaGUI::OnResizeBuffers( IDXGISwapChain* pSwapChain ) +{ + OnDestroy(); +} + +void CAndromedaGUI::OnRender( IDXGISwapChain* pSwapChain ) +{ + if ( m_pFreeType_Font && m_pFreeType_Font->PreNewFrame() ) + { + ImGui_ImplDX11_InvalidateDeviceObjects(); + ImGui_ImplDX11_CreateDeviceObjects(); + } + else + { + if ( !m_pRenderTargetView ) + { + ID3D11Texture2D* pBackBuffer = nullptr; + + pSwapChain->GetBuffer( 0 , IID_PPV_ARGS( &pBackBuffer ) ); + + D3D11_RENDER_TARGET_VIEW_DESC RenderTargetDesc; + + memset( &RenderTargetDesc , 0 , sizeof( RenderTargetDesc ) ); + + RenderTargetDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; + RenderTargetDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DMS; + + if ( pBackBuffer ) + { + m_pDevice->CreateRenderTargetView( pBackBuffer , &RenderTargetDesc , &m_pRenderTargetView ); + pBackBuffer->Release(); + } + } + + ImGui::SetCurrentContext( m_pImGuiContext ); + + m_pDeviceContext->OMGetRenderTargets( 1 , &m_pMainRenderTarget , 0 ); + m_pDeviceContext->OMSetRenderTargets( 1 , &m_pRenderTargetView , 0 ); + + ImGui_ImplDX11_NewFrame(); + ImGui_ImplWin32_NewFrame(); + + ImGui::NewFrame(); + + GetAndromedaClient()->OnRender(); + + ImGui::EndFrame(); + ImGui::Render(); + + ImGui_ImplDX11_RenderDrawData( ImGui::GetDrawData() ); + + m_pDeviceContext->OMSetRenderTargets( 1 , &m_pMainRenderTarget , 0 ); + } +} + +auto CAndromedaGUI::OnReopenGUI() -> void +{ + m_bVisible = !m_bVisible; + + ImGui::GetIO().MouseDrawCursor = m_bVisible; + ShowCursor( !m_bVisible ); + + IsRelativeMouseMode_o( SDK::Interfaces::InputSystem() , m_bVisible ? false : m_bMainActive ); + + if ( m_bVisible ) + { + if ( m_vecMousePosSave.x == 0.f && m_vecMousePosSave.y == 0.f ) + m_vecMousePosSave = ImGui::GetIO().DisplaySize / 2.f; + + ImGui::GetIO().MousePos = m_vecMousePosSave; + + if ( SDK::Interfaces::EngineToClient()->IsInGame() ) + GetSDL3Functions()->SDL_WarpMouseInWindow_o( nullptr , ImGui::GetIO().MousePos.x , ImGui::GetIO().MousePos.y ); + } + else + { + m_vecMousePosSave = ImGui::GetIO().MousePos; + } +} + +LRESULT WINAPI CAndromedaGUI::GUI_WndProc( HWND hwnd , UINT uMsg , WPARAM wParam , LPARAM lParam ) +{ + if ( uMsg == WM_QUIT || uMsg == WM_CLOSE || uMsg == WM_DESTROY ) + { + GetDllLauncher()->OnDestroy(); + return true; + } + + if ( GetAndromedaGUI()->m_bInit ) + { + if ( uMsg == WM_KEYUP && wParam == VK_INSERT ) + GetAndromedaGUI()->OnReopenGUI(); + + if ( GetAndromedaGUI()->IsVisible() && ImGui_ImplWin32_WndProcHandler( hwnd , uMsg , wParam , lParam ) == 0 ) + return true; + } + + return CallWindowProcA( GetAndromedaGUI()->m_WndProc_o , hwnd , uMsg , wParam , lParam ); +} + +auto CAndromedaGUI::SetIndigoStyle() -> void +{ + auto& style = ImGui::GetStyle(); + auto& colors = style.Colors; + + float roundness = 2.0f; + + style.WindowBorderSize = 1.0f; + style.FrameBorderSize = 1.0f; + style.WindowMinSize = ImVec2( 75.f , 50.f ); + style.FramePadding = ImVec2( 5 , 5 ); + style.ItemSpacing = ImVec2( 6 , 5 ); + style.ItemInnerSpacing = ImVec2( 2 , 4 ); + style.Alpha = 1.0f; + style.WindowRounding = 0.f; + style.FrameRounding = roundness; + style.PopupRounding = 0; + style.PopupBorderSize = 1.f; + style.IndentSpacing = 6.0f; + style.ColumnsMinSpacing = 50.0f; + style.GrabMinSize = 14.0f; + style.GrabRounding = roundness; + style.ScrollbarSize = 12.0f; + style.ScrollbarRounding = roundness; + + style.AntiAliasedFill = true; + style.AntiAliasedLines = true; + style.AntiAliasedLinesUseTex = true; + + colors[ImGuiCol_Text] = ImVec4( 1.00f , 1.00f , 1.00f , 1.00f ); + colors[ImGuiCol_TextDisabled] = ImVec4( 0.50f , 0.50f , 0.50f , 1.00f ); + + colors[ImGuiCol_WindowBg] = ImVec4( 0.20f , 0.23f , 0.31f , 1.00f ); + colors[ImGuiCol_ChildBg] = ImVec4( 0.20f , 0.23f , 0.31f , 1.00f ); + colors[ImGuiCol_PopupBg] = ImVec4( 0.20f , 0.23f , 0.31f , 1.00f ); + + colors[ImGuiCol_Border] = ImVec4( 0.f , 0.f , 0.f , 1.00f ); + colors[ImGuiCol_BorderShadow] = ImVec4( 0.00f , 0.00f , 0.00f , 0.00f ); + + colors[ImGuiCol_FrameBg] = ImVec4( 0.25f , 0.28f , 0.38f , 1.00f ); + colors[ImGuiCol_FrameBgHovered] = ImVec4( 0.25f , 0.28f , 0.38f , 1.00f ); + colors[ImGuiCol_FrameBgActive] = ImVec4( 0.25f , 0.28f , 0.38f , 1.00f ); + + colors[ImGuiCol_TitleBg] = ImVec4( 0.00f , 0.43f , 1.00f , 1.00f ); + colors[ImGuiCol_TitleBgActive] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + colors[ImGuiCol_TitleBgCollapsed] = ImVec4( 0.10f , 0.69f , 1.00f , 1.00f ); + + colors[ImGuiCol_MenuBarBg] = ImVec4( 0.25f , 0.28f , 0.38f , 1.00f ); + + colors[ImGuiCol_ScrollbarBg] = ImVec4( 0.00f , 0.00f , 0.00f , 0.00f ); + colors[ImGuiCol_ScrollbarGrab] = ImVec4( 0.39f , 0.44f , 0.56f , 1.00f ); + colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4( 0.12f , 0.43f , 1.00f , 1.00f ); + colors[ImGuiCol_ScrollbarGrabActive] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + + colors[ImGuiCol_CheckMark] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + + colors[ImGuiCol_SliderGrab] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + colors[ImGuiCol_SliderGrabActive] = ImVec4( 0.10f , 0.69f , 1.00f , 1.00f ); + + colors[ImGuiCol_Button] = ImVec4( 0.25f , 0.28f , 0.38f , 1.00f ); + colors[ImGuiCol_ButtonHovered] = ImVec4( 0.12f , 0.43f , 1.00f , 1.00f ); + colors[ImGuiCol_ButtonActive] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + + colors[ImGuiCol_Header] = ImVec4( 0.00f , 0.43f , 1.00f , 1.00f ); + colors[ImGuiCol_HeaderHovered] = ImVec4( 0.00f , 0.55f , 1.00f , 1.00f ); + colors[ImGuiCol_HeaderActive] = ImVec4( 0.00f , 0.43f , 1.00f , 1.00f ); + + colors[ImGuiCol_Separator] = ImVec4( 0.43f , 0.43f , 0.50f , 0.50f ); + colors[ImGuiCol_SeparatorHovered] = ImVec4( 0.10f , 0.40f , 0.75f , 0.78f ); + colors[ImGuiCol_SeparatorActive] = ImVec4( 0.10f , 0.40f , 0.75f , 1.00f ); + + colors[ImGuiCol_ResizeGrip] = ImVec4( 0.26f , 0.59f , 0.98f , 0.25f ); + colors[ImGuiCol_ResizeGripHovered] = ImVec4( 0.26f , 0.59f , 0.98f , 0.67f ); + colors[ImGuiCol_ResizeGripActive] = ImVec4( 0.26f , 0.59f , 0.98f , 0.95f ); + + colors[ImGuiCol_Tab] = ImVec4( 0.00f , 0.50f , 1.00f , 1.00f ); + colors[ImGuiCol_TabHovered] = ImVec4( 0.12f , 0.69f , 1.00f , 1.00f ); + + colors[ImGuiCol_TabActive] = ImVec4( 0.12f , 0.69f , 1.00f , 1.00f ); + colors[ImGuiCol_TabUnfocused] = ImVec4( 0.07f , 0.10f , 0.15f , 0.97f ); + colors[ImGuiCol_TabUnfocusedActive] = ImVec4( 0.14f , 0.26f , 0.42f , 1.00f ); + + colors[ImGuiCol_PlotLines] = ImVec4( 0.61f , 0.61f , 0.61f , 1.00f ); + colors[ImGuiCol_PlotLinesHovered] = ImVec4( 1.00f , 0.43f , 0.35f , 1.00f ); + colors[ImGuiCol_PlotHistogram] = ImVec4( 0.10f , 0.69f , 1.00f , 1.00f ); + colors[ImGuiCol_PlotHistogramHovered] = ImVec4( 1.00f , 0.60f , 0.00f , 1.00f ); + + colors[ImGuiCol_TextSelectedBg] = ImVec4( 0.26f , 0.59f , 0.98f , 0.35f ); + colors[ImGuiCol_DragDropTarget] = ImVec4( 1.00f , 1.00f , 0.00f , 0.90f ); + + colors[ImGuiCol_NavHighlight] = ImVec4( 0.26f , 0.59f , 0.98f , 1.00f ); + colors[ImGuiCol_NavWindowingHighlight] = ImVec4( 1.00f , 1.00f , 1.00f , 0.70f ); + colors[ImGuiCol_NavWindowingDimBg] = ImVec4( 0.80f , 0.80f , 0.80f , 0.20f ); + + colors[ImGuiCol_ModalWindowDimBg] = ImVec4( 0.80f , 0.80f , 0.80f , 0.35f ); + colors[ImGuiCol_WindowShadow] = ImVec4( 0.f , 0.f , 1.f , 1.f ); +} + +auto CAndromedaGUI::SetVermillionStyle() -> void +{ + auto& style = ImGui::GetStyle(); + auto& colors = style.Colors; + + float roundness = 2.0f; + + style.WindowBorderSize = 1.0f; + style.FrameBorderSize = 1.0f; + style.WindowMinSize = ImVec2( 75.f , 50.f ); + style.FramePadding = ImVec2( 5 , 5 ); + style.ItemSpacing = ImVec2( 6 , 5 ); + style.ItemInnerSpacing = ImVec2( 2 , 4 ); + style.Alpha = 1.0f; + style.WindowRounding = 0.f; + style.FrameRounding = roundness; + style.PopupRounding = 0; + style.PopupBorderSize = 1.f; + style.IndentSpacing = 6.0f; + style.ColumnsMinSpacing = 50.0f; + style.GrabMinSize = 14.0f; + style.GrabRounding = roundness; + style.ScrollbarSize = 12.0f; + style.ScrollbarRounding = roundness; + + style.AntiAliasedFill = true; + style.AntiAliasedLines = true; + style.AntiAliasedLinesUseTex = true; + + colors[ImGuiCol_Text] = ImVec4( 1.00f , 1.00f , 1.00f , 0.75f ); + colors[ImGuiCol_TextDisabled] = ImVec4( 1.00f , 0.18f , 0.29f , 0.78f ); + + colors[ImGuiCol_WindowBg] = ImVec4( 0.17f , 0.20f , 0.25f , 1.00f ); + colors[ImGuiCol_ChildBg] = ImVec4( 0.20f , 0.22f , 0.27f , 0.57f ); + colors[ImGuiCol_PopupBg] = ImVec4( 0.17f , 0.20f , 0.25f , 1.00f ); + + colors[ImGuiCol_Border] = ImVec4( 0.00f , 0.00f , 0.00f , 1.00f ); + colors[ImGuiCol_BorderShadow] = ImVec4( 0.00f , 0.00f , 0.00f , 0.00f ); + + colors[ImGuiCol_FrameBg] = ImVec4( 0.37f , 0.36f , 0.46f , 0.24f ); + colors[ImGuiCol_FrameBgHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.78f ); + colors[ImGuiCol_FrameBgActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_TitleBg] = ImVec4( 0.20f , 0.22f , 0.27f , 1.00f ); + colors[ImGuiCol_TitleBgActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + colors[ImGuiCol_TitleBgCollapsed] = ImVec4( 0.20f , 0.22f , 0.27f , 0.75f ); + + colors[ImGuiCol_MenuBarBg] = ImVec4( 0.20f , 0.22f , 0.27f , 0.47f ); + + colors[ImGuiCol_ScrollbarBg] = ImVec4( 0.20f , 0.22f , 0.27f , 1.00f ); + colors[ImGuiCol_ScrollbarGrab] = ImVec4( 0.09f , 0.15f , 0.16f , 1.00f ); + colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.78f ); + colors[ImGuiCol_ScrollbarGrabActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_CheckMark] = ImVec4( 0.71f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_SliderGrab] = ImVec4( 0.78f , 0.18f , 0.29f , 0.37f ); + colors[ImGuiCol_SliderGrabActive] = ImVec4( 0.92f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_Button] = ImVec4( 0.65f , 0.18f , 0.29f , 1.00f ); + colors[ImGuiCol_ButtonHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.86f ); + colors[ImGuiCol_ButtonActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_Header] = ImVec4( 0.78f , 0.18f , 0.29f , 0.76f ); + colors[ImGuiCol_HeaderHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.86f ); + colors[ImGuiCol_HeaderActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_Separator] = ImVec4( 0.15f , 0.00f , 0.00f , 0.35f ); + colors[ImGuiCol_SeparatorHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.59f ); + colors[ImGuiCol_SeparatorActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_ResizeGrip] = ImVec4( 0.78f , 0.18f , 0.29f , 0.63f ); + colors[ImGuiCol_ResizeGripHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.78f ); + colors[ImGuiCol_ResizeGripActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_Tab] = ImVec4( 0.78f , 0.18f , 0.29f , 0.76f ); + colors[ImGuiCol_TabHovered] = ImVec4( 0.78f , 0.18f , 0.29f , 0.86f ); + colors[ImGuiCol_TabActive] = ImVec4( 0.78f , 0.18f , 0.29f , 1.00f ); + colors[ImGuiCol_TabUnfocused] = ImVec4( 0.07f , 0.10f , 0.15f , 0.97f ); + colors[ImGuiCol_TabUnfocusedActive] = ImVec4( 0.14f , 0.26f , 0.42f , 1.00f ); + + colors[ImGuiCol_PlotLines] = ImVec4( 0.78f , 0.93f , 0.89f , 0.63f ); + colors[ImGuiCol_PlotLinesHovered] = ImVec4( 0.92f , 0.18f , 0.29f , 1.00f ); + colors[ImGuiCol_PlotHistogram] = ImVec4( 0.86f , 0.93f , 0.89f , 0.63f ); + colors[ImGuiCol_PlotHistogramHovered] = ImVec4( 0.92f , 0.18f , 0.29f , 1.00f ); + + colors[ImGuiCol_TextSelectedBg] = ImVec4( 0.92f , 0.18f , 0.29f , 0.43f ); + colors[ImGuiCol_DragDropTarget] = ImVec4( 1.00f , 1.00f , 0.00f , 0.90f ); + + colors[ImGuiCol_NavHighlight] = ImVec4( 0.45f , 0.45f , 0.90f , 0.80f ); + colors[ImGuiCol_NavWindowingHighlight] = ImVec4( 1.00f , 1.00f , 1.00f , 0.70f ); + colors[ImGuiCol_NavWindowingDimBg] = ImVec4( 0.80f , 0.80f , 0.80f , 0.20f ); + + colors[ImGuiCol_ModalWindowDimBg] = ImVec4( 0.80f , 0.80f , 0.80f , 0.35f ); + colors[ImGuiCol_WindowShadow] = ImVec4( 1.f , 0.f , 0.f , 1.f ); +} + +auto CAndromedaGUI::SetClassicSteamStyle() -> void +{ + ImGuiStyle& style = ImGui::GetStyle(); + + style.Alpha = 1.0f; + style.DisabledAlpha = 0.6000000238418579f; + style.WindowPadding = ImVec2( 8.0f , 8.0f ); + style.WindowRounding = 0.0f; + style.WindowBorderSize = 1.0f; + style.WindowMinSize = ImVec2( 32.0f , 32.0f ); + style.WindowTitleAlign = ImVec2( 0.0f , 0.5f ); + style.WindowMenuButtonPosition = ImGuiDir_Left; + style.ChildRounding = 0.0f; + style.ChildBorderSize = 1.0f; + style.PopupRounding = 0.0f; + style.PopupBorderSize = 1.0f; + style.FramePadding = ImVec2( 4.0f , 3.0f ); + style.FrameRounding = 0.0f; + style.FrameBorderSize = 1.0f; + style.ItemSpacing = ImVec2( 8.0f , 4.0f ); + style.ItemInnerSpacing = ImVec2( 4.0f , 4.0f ); + style.CellPadding = ImVec2( 4.0f , 2.0f ); + style.IndentSpacing = 21.0f; + style.ColumnsMinSpacing = 6.0f; + style.ScrollbarSize = 14.0f; + style.ScrollbarRounding = 0.0f; + style.GrabMinSize = 10.0f; + style.GrabRounding = 0.0f; + style.TabRounding = 0.0f; + style.TabBorderSize = 0.0f; + style.TabCloseButtonMinWidthUnselected = 0.0f; + style.ColorButtonPosition = ImGuiDir_Right; + style.ButtonTextAlign = ImVec2( 0.5f , 0.5f ); + style.SelectableTextAlign = ImVec2( 0.0f , 0.0f ); + + style.Colors[ImGuiCol_Text] = ImVec4( 1.0f , 1.0f , 1.0f , 1.0f ); + style.Colors[ImGuiCol_TextDisabled] = ImVec4( 0.4980392158031464f , 0.4980392158031464f , 0.4980392158031464f , 1.0f ); + style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.2862745225429535f , 0.3372549116611481f , 0.2588235437870026f , 1.0f ); + style.Colors[ImGuiCol_ChildBg] = ImVec4( 0.2862745225429535f , 0.3372549116611481f , 0.2588235437870026f , 1.0f ); + style.Colors[ImGuiCol_PopupBg] = ImVec4( 0.239215686917305f , 0.2666666805744171f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_Border] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 0.5f ); + style.Colors[ImGuiCol_BorderShadow] = ImVec4( 0.1372549086809158f , 0.1568627506494522f , 0.1098039224743843f , 0.5199999809265137f ); + style.Colors[ImGuiCol_FrameBg] = ImVec4( 0.239215686917305f , 0.2666666805744171f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_FrameBgHovered] = ImVec4( 0.2666666805744171f , 0.2980392277240753f , 0.2274509817361832f , 1.0f ); + style.Colors[ImGuiCol_FrameBgActive] = ImVec4( 0.2980392277240753f , 0.3372549116611481f , 0.2588235437870026f , 1.0f ); + style.Colors[ImGuiCol_TitleBg] = ImVec4( 0.239215686917305f , 0.2666666805744171f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_TitleBgActive] = ImVec4( 0.2862745225429535f , 0.3372549116611481f , 0.2588235437870026f , 1.0f ); + style.Colors[ImGuiCol_TitleBgCollapsed] = ImVec4( 0.0f , 0.0f , 0.0f , 0.5099999904632568f ); + style.Colors[ImGuiCol_MenuBarBg] = ImVec4( 0.239215686917305f , 0.2666666805744171f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_ScrollbarGrab] = ImVec4( 0.2784313857555389f , 0.3176470696926117f , 0.239215686917305f , 1.0f ); + style.Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4( 0.2470588237047195f , 0.2980392277240753f , 0.2196078449487686f , 1.0f ); + style.Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4( 0.2274509817361832f , 0.2666666805744171f , 0.2078431397676468f , 1.0f ); + style.Colors[ImGuiCol_CheckMark] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_SliderGrab] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_SliderGrabActive] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 0.5f ); + style.Colors[ImGuiCol_Button] = ImVec4( 0.2862745225429535f , 0.3372549116611481f , 0.2588235437870026f , 0.4000000059604645f ); + style.Colors[ImGuiCol_ButtonHovered] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_ButtonActive] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 0.5f ); + style.Colors[ImGuiCol_Header] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_HeaderHovered] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 0.6000000238418579f ); + style.Colors[ImGuiCol_HeaderActive] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 0.5f ); + style.Colors[ImGuiCol_Separator] = ImVec4( 0.1372549086809158f , 0.1568627506494522f , 0.1098039224743843f , 1.0f ); + style.Colors[ImGuiCol_SeparatorHovered] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 1.0f ); + style.Colors[ImGuiCol_SeparatorActive] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_ResizeGrip] = ImVec4( 0.1882352977991104f , 0.2274509817361832f , 0.1764705926179886f , 0.0f ); + style.Colors[ImGuiCol_ResizeGripHovered] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 1.0f ); + style.Colors[ImGuiCol_ResizeGripActive] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_Tab] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_TabHovered] = ImVec4( 0.5372549295425415f , 0.5686274766921997f , 0.5098039507865906f , 0.7799999713897705f ); + style.Colors[ImGuiCol_TabActive] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_TabUnfocused] = ImVec4( 0.239215686917305f , 0.2666666805744171f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_TabUnfocusedActive] = ImVec4( 0.3490196168422699f , 0.4196078479290009f , 0.3098039329051971f , 1.0f ); + style.Colors[ImGuiCol_PlotLines] = ImVec4( 0.6078431606292725f , 0.6078431606292725f , 0.6078431606292725f , 1.0f ); + style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_PlotHistogram] = ImVec4( 1.0f , 0.7764706015586853f , 0.2784313857555389f , 1.0f ); + style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4( 1.0f , 0.6000000238418579f , 0.0f , 1.0f ); + style.Colors[ImGuiCol_TableHeaderBg] = ImVec4( 0.1882352977991104f , 0.1882352977991104f , 0.2000000029802322f , 1.0f ); + style.Colors[ImGuiCol_TableBorderStrong] = ImVec4( 0.3098039329051971f , 0.3098039329051971f , 0.3490196168422699f , 1.0f ); + style.Colors[ImGuiCol_TableBorderLight] = ImVec4( 0.2274509817361832f , 0.2274509817361832f , 0.2470588237047195f , 1.0f ); + style.Colors[ImGuiCol_TableRowBg] = ImVec4( 0.0f , 0.0f , 0.0f , 0.0f ); + style.Colors[ImGuiCol_TableRowBgAlt] = ImVec4( 1.0f , 1.0f , 1.0f , 0.05999999865889549f ); + style.Colors[ImGuiCol_TextSelectedBg] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_DragDropTarget] = ImVec4( 0.729411780834198f , 0.6666666865348816f , 0.239215686917305f , 1.0f ); + style.Colors[ImGuiCol_NavHighlight] = ImVec4( 0.5882353186607361f , 0.5372549295425415f , 0.1764705926179886f , 1.0f ); + style.Colors[ImGuiCol_NavWindowingHighlight] = ImVec4( 1.0f , 1.0f , 1.0f , 0.699999988079071f ); + style.Colors[ImGuiCol_NavWindowingDimBg] = ImVec4( 0.800000011920929f , 0.800000011920929f , 0.800000011920929f , 0.2000000029802322f ); + style.Colors[ImGuiCol_ModalWindowDimBg] = ImVec4( 0.800000011920929f , 0.800000011920929f , 0.800000011920929f , 0.3499999940395355f ); + style.Colors[ImGuiCol_WindowShadow] = ImVec4( 1.f , 1.f , 0.f , 1.f ); +} + +auto CAndromedaGUI::UpdateStyle() -> void +{ + ImGui::SetCurrentContext( m_pImGuiContext ); + + if ( Settings::Misc::MenuStyle == EAndromedaGuiStyle_t::ANDROMEDA_GUI_STYLE_INDIGO ) + SetIndigoStyle(); + else if ( Settings::Misc::MenuStyle == EAndromedaGuiStyle_t::ANDROMEDA_GUI_STYLE_VERMILLION ) + SetVermillionStyle(); + else if ( Settings::Misc::MenuStyle == EAndromedaGuiStyle_t::ANDROMEDA_GUI_STYLE_CLASSIC_STEAM ) + SetClassicSteamStyle(); +} + +bool CAndromedaGUI::FreeTypeBuild::PreNewFrame() +{ + if ( !WantRebuild ) + return false; + + ImFontAtlas* atlas = ImGui::GetIO().Fonts; + + for ( int n = 0; n < atlas->Sources.Size; n++ ) + ( (ImFontConfig*)&atlas->Sources[n] )->RasterizerMultiply = RasterizerMultiply; + +#ifdef IMGUI_ENABLE_FREETYPE + if ( BuildMode == FontBuildMode::FreeType ) + { + atlas->FontBuilderIO = ImGuiFreeType::GetBuilderForFreeType(); + atlas->FontBuilderFlags = FreeTypeBuilderFlags; + } +#endif + + atlas->Build(); + WantRebuild = false; + + return true; +} + +auto CAndromedaGUI::ClearRenderTargetView() -> void +{ + if ( m_pRenderTargetView ) + { + m_pRenderTargetView->Release(); + m_pRenderTargetView = nullptr; + } +} + +auto GetAndromedaGUI() -> CAndromedaGUI* +{ + return &g_AndromedaGUI; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.hpp new file mode 100644 index 0000000..ab7b05f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/CAndromedaGUI.hpp @@ -0,0 +1,122 @@ +#pragma once + +#include +#include + +#include +#include + +#include + +class IAndromedaGUI +{ +public: + virtual bool IsVisible() = 0; + virtual bool IsInited() = 0; + +public: + virtual void OnPresent( IDXGISwapChain* pSwapChain ) = 0; + virtual void OnResizeBuffers( IDXGISwapChain* pSwapChain ) = 0; + virtual void OnRender( IDXGISwapChain* pSwapChain ) = 0; +}; + +class CAndromedaGUI final : public IAndromedaGUI +{ +public: + auto OnInit( IDXGISwapChain* pSwapChain ) -> void; + auto OnDestroy() -> void; + +public: + auto InitFont() -> void; + +private: + auto SetIndigoStyle() -> void; + auto SetVermillionStyle() -> void; + auto SetClassicSteamStyle() -> void; + + enum EAndromedaGuiStyle_t : uint32_t + { + ANDROMEDA_GUI_STYLE_INDIGO, + ANDROMEDA_GUI_STYLE_VERMILLION, + ANDROMEDA_GUI_STYLE_CLASSIC_STEAM, + }; + +public: + auto UpdateStyle() -> void; + +public: + virtual bool IsVisible() override + { + return m_bVisible; + } + + virtual bool IsInited() override + { + return m_bInit; + } + +public: + virtual void OnPresent( IDXGISwapChain* pSwapChain ) override; + virtual void OnResizeBuffers( IDXGISwapChain* pSwapChain ) override; + virtual void OnRender( IDXGISwapChain* pSwapChain ) override; + +public: + auto OnReopenGUI() -> void; + +public: + static LRESULT WINAPI GUI_WndProc( HWND hwnd , UINT uMsg , WPARAM wParam , LPARAM lParam ); + +public: + auto GetDevice() -> ID3D11Device* { return m_pDevice; } + auto GetDeviceContext() -> ID3D11DeviceContext* { return m_pDeviceContext; } + +public: + auto ClearRenderTargetView() -> void; + +private: + ID3D11Device* m_pDevice = nullptr; + ID3D11DeviceContext* m_pDeviceContext = nullptr; + ID3D11RenderTargetView* m_pRenderTargetView = nullptr; + ID3D11RenderTargetView* m_pMainRenderTarget = nullptr; + +private: + ImGuiContext* m_pImGuiContext = nullptr; + +private: + std::string m_GuiFile; + +public: + HWND m_hCS2Window = nullptr; + +private: + WNDPROC m_WndProc_o = nullptr; + +public: + bool m_bInit = false; + bool m_bMainActive = false; + bool m_bVisible = false; + +private: + ImVec2 m_vecMousePosSave; + +public: + ImFont* m_pFontAwesomeIcons = nullptr; + +private: + struct FreeTypeBuild + { + enum class FontBuildMode { FreeType }; + FontBuildMode BuildMode = FontBuildMode::FreeType; + + bool WantRebuild = true; + float RasterizerMultiply = 1.0f; + unsigned int FreeTypeBuilderFlags = ImGuiFreeTypeBuilderFlags_ForceAutoHint | ImGuiFreeTypeBuilderFlags_MonoHinting; + + bool PreNewFrame(); + void ResetBuildFont() { WantRebuild = true; }; + }; + + FreeTypeBuild* m_pFreeType_Font = nullptr; +}; + +auto GetAndromedaGUI() -> CAndromedaGUI*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.cpp new file mode 100644 index 0000000..197bf6a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.cpp @@ -0,0 +1,98 @@ +#include "CVisual.hpp" + +#include +#include + +#include +#include +#include + +#include + +static CVisual g_CVisual{}; + +auto CVisual::OnRender() -> void +{ + if ( !Settings::Visual::Active ) + return; + + const auto& CachedVec = GetEntityCache()->GetCachedEntity(); + + std::scoped_lock Lock( GetEntityCache()->GetLock() ); + + for ( const auto& CachedEntity : *CachedVec ) + { + auto pEntity = CachedEntity.m_Handle.Get(); + + if ( !pEntity ) + continue; + + auto hEntity = pEntity->pEntityIdentity()->Handle(); + + if ( hEntity != CachedEntity.m_Handle ) + continue; + + switch ( CachedEntity.m_Type ) + { + case CachedEntity_t::PLAYER_CONTROLLER: + { + auto* pCCSPlayerController = reinterpret_cast( pEntity ); + + if ( CachedEntity.m_bDraw ) + OnRenderPlayerEsp( pCCSPlayerController , CachedEntity.m_Bbox , CachedEntity.m_bVisible ); + } + break; + } + } +} + +auto CVisual::OnRenderPlayerEsp( CCSPlayerController* pCCSPlayerController , const Rect_t& bBox , const bool bVisible ) -> void +{ + +} + +auto CVisual::OnClientOutput() -> void +{ + OnRender(); +} + +auto CVisual::CalculateBoundingBoxes() -> void +{ + if ( !SDK::Interfaces::EngineToClient()->IsInGame() ) + return; + + const auto& CachedVec = GetEntityCache()->GetCachedEntity(); + + std::scoped_lock Lock( GetEntityCache()->GetLock() ); + + for ( auto& it : *CachedVec ) + { + auto pEntity = it.m_Handle.Get(); + + if ( !pEntity ) + continue; + + auto hEntity = pEntity->pEntityIdentity()->Handle(); + + if ( hEntity != it.m_Handle ) + continue; + + switch ( it.m_Type ) + { + case CachedEntity_t::PLAYER_CONTROLLER: + { + auto pPlayerController = reinterpret_cast( pEntity ); + auto pPlayerPawn = pPlayerController->m_hPawn().Get(); + + if ( pPlayerPawn && pPlayerPawn->IsPlayerPawn() && pPlayerController->m_bPawnIsAlive() ) + it.m_bDraw = pPlayerPawn->GetBoundingBox( it.m_Bbox ); + } + break; + } + } +} + +auto GetVisual() -> CVisual* +{ + return &g_CVisual; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.hpp new file mode 100644 index 0000000..bcd401e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Features/CVisual/CVisual.hpp @@ -0,0 +1,29 @@ +#pragma once + +#include + +#include + +class CCSPlayerController; + +class IVisual +{ +public: + virtual void OnRender() = 0; + virtual void OnClientOutput() = 0; +}; + +class CVisual final : public IVisual +{ +public: + virtual void OnRender() override; + virtual void OnClientOutput() override; + +private: + auto OnRenderPlayerEsp( CCSPlayerController* pCCSPlayerController , const Rect_t& bBox , const bool bVisible ) -> void; + +public: + auto CalculateBoundingBoxes() -> void; +}; + +auto GetVisual() -> CVisual*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.cpp new file mode 100644 index 0000000..6b56f89 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.cpp @@ -0,0 +1,102 @@ +#include "CFont.hpp" + +#include +#include + +#ifndef D3DCOLOR_ABGR +#define D3DCOLOR_ABGR(a,b,g,r) \ + ((DWORD)((((a)&0xff)<<24)|(((b)&0xff)<<16)|(((g)&0xff)<<8)|((r)&0xff))) +#endif + +auto CFont::InitFont( IFW1Factory* pFW1Factory , std::wstring Name , float FontSize ) -> void +{ + m_FontSize = FontSize; + m_FontName = Name; + + FW1_FONTWRAPPERCREATEPARAMS createParams; + ZeroMemory( &createParams , sizeof( createParams ) ); + + createParams.GlyphSheetWidth = 512; + createParams.GlyphSheetHeight = 512; + createParams.MaxGlyphCountPerSheet = 2048; + createParams.SheetMipLevels = 1; + createParams.AnisotropicFiltering = TRUE; + createParams.MaxGlyphWidth = 384; + createParams.MaxGlyphHeight = 384; + createParams.DisableGeometryShader = TRUE; + createParams.VertexBufferSize = 0; + + createParams.DefaultFontParams.pszFontFamily = Name.c_str(); + createParams.DefaultFontParams.FontWeight = static_cast( FW_MEDIUM ); + createParams.DefaultFontParams.FontStyle = DWRITE_FONT_STYLE_NORMAL; + createParams.DefaultFontParams.FontStretch = DWRITE_FONT_STRETCH_NORMAL; + createParams.DefaultFontParams.pszLocale = L""; + + if ( FAILED( pFW1Factory->CreateFontWrapper( GetAndromedaGUI()->GetDevice() , NULL , &createParams , &m_pFontWrapper ) ) ) + { + DEV_LOG( "[error] CreateFontWrapper::%s\n" , Name.c_str() ); + } +} + +auto CFont::DrawString( int x , int y , ImColor Color , int Flags , const char* fmt , ... ) -> void +{ + char Buffer[g_BufferSize] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + auto RenderText = ansi_to_unicode( Buffer ); + + DWORD dwColor = D3DCOLOR_ABGR( + static_cast( Color.Value.w * 255.f ) , + static_cast( Color.Value.z * 255.f ) , + static_cast( Color.Value.y * 255.f ) , + static_cast( Color.Value.x * 255.f ) ); + + if ( m_pFontWrapper ) + { + const auto fw1Flags = Flags | FW1_ALIASED | FW1_RESTORESTATE; + + auto RenderFontWrapperText = [&]( const float x_pos , const float y_pos , DWORD color ) + { + m_pFontWrapper->DrawString( GetAndromedaGUI()->GetDeviceContext() , + RenderText.c_str() , m_FontSize , + static_cast( x_pos ) , static_cast( y_pos ) , color , fw1Flags ); + }; + + RenderFontWrapperText( static_cast( x ) + 1.f , static_cast( y ) + 1.f , D3DCOLOR_ABGR( static_cast( Color.Value.w * 255.f ) , 0 , 0 , 0 ) ); + RenderFontWrapperText( static_cast( x ) - 1.f , static_cast( y ) + 1.f , D3DCOLOR_ABGR( static_cast( Color.Value.w * 255.f ) , 0 , 0 , 0 ) ); + RenderFontWrapperText( static_cast( x ) - 1.f , static_cast( y ) - 1.f , D3DCOLOR_ABGR( static_cast( Color.Value.w * 255.f ) , 0 , 0 , 0 ) ); + RenderFontWrapperText( static_cast( x ) + 1.f , static_cast( y ) - 1.f , D3DCOLOR_ABGR( static_cast( Color.Value.w * 255.f ) , 0 , 0 , 0 ) ); + + RenderFontWrapperText( static_cast( x ) , static_cast( y ) , dwColor ); + } +} + +auto CFont::DrawString( ImVec2 Pos , ImColor Color , int Flags , const char* fmt , ... ) -> void +{ + char Buffer[g_BufferSize] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + DrawString( static_cast( Pos.x ) , static_cast( Pos.y ) , Color , Flags , Buffer ); +} + +auto CFont::GetStringLayoutRect( int Flags , FW1_RECTF* pRECTF , const char* fmt , ... ) -> FW1_RECTF +{ + char Buffer[g_BufferSize] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + auto TextToLayoutRect = ansi_to_unicode( Buffer ); + + return m_pFontWrapper->MeasureString( TextToLayoutRect.c_str() , m_FontName.c_str() , m_FontSize , pRECTF , Flags ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.hpp new file mode 100644 index 0000000..3866529 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFont.hpp @@ -0,0 +1,31 @@ +#pragma once + +#include + +#include +#include + +class CFont final +{ +public: + auto InitFont( IFW1Factory* pFW1Factory , std::wstring Name , float FontSize = 12.f ) -> void; + +public: + auto DrawString( int x , int y , ImColor Color , int Flags , const char* fmt , ... ) -> void; + auto DrawString( ImVec2 Pos , ImColor Color , int Flags , const char* fmt , ... ) -> void; + auto GetStringLayoutRect( int Flags , FW1_RECTF* pRECTF , const char* fmt , ... ) -> FW1_RECTF; + +public: + inline auto GetFontSize() -> float + { + return m_FontSize; + } + +private: + IFW1FontWrapper* m_pFontWrapper = nullptr; + std::wstring m_FontName; + float m_FontSize = 0.f; + +private: + static constexpr auto g_BufferSize = 64; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.cpp new file mode 100644 index 0000000..f5bae55 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.cpp @@ -0,0 +1,27 @@ +#include "CFontManager.hpp" + +static CFontManager g_CFontManager{}; + +auto CFontManager::FirstInitFonts() -> void +{ + if ( !m_bInit ) + { + if ( FAILED( FW1CreateFactory( FW1_VERSION , &m_pFW1Factory ) ) ) + { + DEV_LOG( "[error] FW1CreateFactory\n" ); + m_bInit = true; + return; + } + + m_VerdanaFont.InitFont( m_pFW1Factory , L"Verdana" , 11.f ); + + m_pFW1Factory->Release(); + + m_bInit = true; + } +} + +auto GetFontManager() -> CFontManager* +{ + return &g_CFontManager; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.hpp new file mode 100644 index 0000000..c972b82 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/CFontManager.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include +#include + +#include + +class CFontManager final +{ +public: + auto FirstInitFonts() -> void; + +public: + CFont m_VerdanaFont; + +private: + IFW1Factory* m_pFW1Factory = nullptr; + +private: + bool m_bInit = false; +}; + +auto GetFontManager() -> CFontManager*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/FontAwesomeIcon.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/FontAwesomeIcon.hpp new file mode 100644 index 0000000..de742c9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Fonts/FontAwesomeIcon.hpp @@ -0,0 +1,4618 @@ +#pragma once + +static const unsigned int FontAwesomeIcon_compressed_size = 176199; +static const unsigned int FontAwesomeIcon_compressed_data[176200 / 4] = +{ + 0x0000bc57, 0x00000000, 0xa4280400, 0x00000400, 0x00010037, 0x000f0000, 0x00030080, 0x54464670, 0x5b5c894d, 0x2804004a, 0x2c158288, 0x4544471c, + 0x00220446, 0xee02008d, 0x280f82d4, 0x4f504724, 0x74916c53, 0x201f828f, 0x280f8268, 0x55534720, 0xa39be942, 0x301f829d, 0x390100f8, 0x2f534f6e, + 0xe5a35332, 0x010000b4, 0x361f8278, 0x616d6360, 0xae9ad370, 0x1100004a, 0x0b000090, 0x73616742, 0x82ffff70, 0xee022269, 0x381f82cc, 0x796c6708, + 0x3693ea66, 0x2c0000a4, 0x8f020090, 0x61656808, 0x5b572164, 0x201b829f, 0x210382fc, 0x10826836, 0x133e1123, 0x204f8247, 0x280f8234, 0x746d6824, + 0x09929578, 0x200f82ff, 0x27b482d8, 0x636f6cb8, 0x06740461, 0x1c206f82, 0x0f289f82, 0x78616dbc, 0x01500470, 0x0121bb82, 0x082f8258, 0x616e2020, + 0xb543656d, 0x0200d436, 0x000098bb, 0x6f702505, 0x5e317473, 0x02003dc8, 0x0000c0c0, 0xfb830a2e, 0xba49012f, 0x5af1aa9f, 0x3c0f5f46, 0x020b00f5, + 0x23008300, 0x40b0b9d8, 0x41280786, 0xb4ffe4ff, 0xcd01980f, 0x08220f82, 0x31830200, 0x01250982, 0xc0010000, 0x234382ff, 0xe4ff980f, 0x98208982, + 0x1a821786, 0x03210285, 0x251183ee, 0x8501ee03, 0x11842000, 0x82000221, 0x20258432, 0x83098240, 0x01042602, 0x008403ee, 0x22168205, 0x8266014c, + 0x01472110, 0xf5250785, 0x84001900, 0x216a8200, 0x15820305, 0x01210285, 0x84078510, 0x66502905, 0x80006445, 0x3ef82000, 0x2e268384, 0x5400cc01, + 0x5b840080, 0x3a010024, 0x2482a501, 0x23002024, 0x47820001, 0x00210a82, 0x200482aa, 0x300382c8, 0x002500db, 0x01210077, 0x011a0033, 0x0142004f, + 0x2e0b8236, 0x011b0029, 0x0119003b, 0x01270042, 0x821c0037, 0x221f831b, 0x82310117, 0x82df2013, 0x00782c03, 0x006b0109, 0x0065012d, 0x828c0120, + 0x82402007, 0x823b2003, 0x826d2003, 0x0088220f, 0x26a7822d, 0xff7e002d, 0x867701fd, 0x82b32017, 0x827e2007, 0x828c2003, 0x8663201f, 0x84782007, + 0x01192837, 0x01060035, 0x822a0076, 0x02012c4b, 0x01110039, 0x0104004e, 0x82f7ff48, 0x01172217, 0x246b8224, 0x01280043, 0x8307820a, 0x8218200b, + 0x82a920bb, 0x8226201f, 0x002d2c0f, 0x007a0028, 0xff720024, 0x823401e4, 0x8279200b, 0x00bf2427, 0x82290124, 0x82252003, 0x823f201f, 0x82282007, + 0x82db202f, 0x00fc2423, 0x82ad0018, 0x00252437, 0x82100126, 0x00bd246f, 0x8212010e, 0x82102007, 0x000d2a03, 0xff00021a, 0x000002fb, 0x27038500, + 0x4002feff, 0xc0010f00, 0x078d0f87, 0x8c600121, 0x02072a0f, 0x02180080, 0x02100000, 0x24178440, 0xff400208, 0x854784fc, 0x8407200f, 0x0000230b, + 0x4f850100, 0xf0410820, 0x200f8205, 0x822f8280, 0x82678c23, 0x200f8313, 0x8b078201, 0x80012837, 0x40010800, 0x84021600, 0xfaff222f, 0x8b4b8201, + 0x20538403, 0x201785c0, 0x21778502, 0x43850100, 0xaf840820, 0x00213784, 0x86538c40, 0x24138a43, 0xffc00140, 0x206782f8, 0x8203831b, 0x93ab8317, + 0x83002003, 0x207f8a1b, 0x200b8205, 0x82838505, 0x829b8ad7, 0x86132013, 0x02002547, 0x01feff40, 0x8b829383, 0x07840220, 0x82f9ff21, 0x83ff2013, + 0x000227ef, 0x00020000, 0x4386ffff, 0x80234f85, 0x86020300, 0x200788cb, 0x82278300, 0xff802203, 0x823b83fb, 0x880f2017, 0x20438553, 0x204782fd, + 0x209b87fd, 0x82f78502, 0x8433827b, 0xfeff214b, 0x8382ef88, 0x03820120, 0x0121e78f, 0x080742f0, 0x4b82fb20, 0x2005cb41, 0x85138200, 0x0200212b, + 0x01230782, 0x8af5ffc0, 0x8b0020ff, 0x0843420b, 0xf3410020, 0x84002008, 0x84378213, 0x0040233b, 0x03820107, 0x00c00023, 0x84038217, 0x4001231b, + 0x03870d00, 0x07839f87, 0x6f841382, 0x21072741, 0x538d6001, 0x83c00121, 0x06f74197, 0x87419f8c, 0x0118240c, 0x831800c0, 0x2003844b, 0x830b8200, + 0x82402003, 0x20038223, 0x068f4102, 0x3b42c384, 0x22838a06, 0x82f00108, 0x41038627, 0x738205b7, 0x08000022, 0x80220b84, 0x3f84fbff, 0xf3420020, + 0x86012005, 0x21078283, 0x9b820018, 0x10220382, 0x2f840002, 0x2b83e784, 0x0221c383, 0x21b38580, 0xf341c001, 0x0f834105, 0x8b41ef88, 0x82082005, + 0x42c38347, 0x00200f77, 0x23824f84, 0x860c8b41, 0x200123d7, 0xef84fdff, 0x13008023, 0x83978301, 0x83078217, 0xc001230b, 0x0383feff, 0xff000223, + 0x890383fe, 0x23ab850f, 0x05000001, 0x0221bf83, 0x200f8400, 0x14c3431b, 0x4307cf41, 0x102005d7, 0x84050f41, 0x8400202f, 0x411f838f, 0x3f850617, + 0x42fdff21, 0x802208e3, 0x2387fcff, 0x2b828f84, 0x1b410797, 0x07474406, 0x0f820820, 0x3b821020, 0x07820f20, 0x85087742, 0x8300205f, 0x8400201b, + 0x0a674317, 0x200c2342, 0x89238400, 0x22bb8527, 0x83200200, 0x20bb829b, 0x44038640, 0x02200e7f, 0x210e2742, 0xb7418002, 0xffff2607, 0x00002001, + 0x882f8201, 0x41e02007, 0x1b870eef, 0x23841782, 0xaf842f82, 0x20063f41, 0x20078202, 0x06334401, 0x8b084341, 0x217b821b, 0x53860001, 0xb3870b83, + 0x21123341, 0x8b820002, 0xe343c020, 0x063b4406, 0x2006db41, 0x205b84fd, 0x05b74200, 0x860c2f42, 0x239b834f, 0xfaff0002, 0x6f85eb84, 0xe7440820, + 0x20138307, 0x21a38401, 0x1384fdff, 0x6b847b82, 0xf5ff8022, 0x00245786, 0xfbff8002, 0xfc203f82, 0x02232783, 0x87f9ff40, 0x430f8517, 0x37830643, + 0x0121cf86, 0x8a138200, 0x86022003, 0x862f84e3, 0x8313890b, 0x212f825b, 0x034300a0, 0x21878408, 0x5f4300c0, 0x0523420b, 0x67425f82, 0xffff2105, + 0x01230783, 0x850d0000, 0x873f82bb, 0x8587830b, 0x430d207b, 0x6344117b, 0x0787410a, 0x01235382, 0x83feff40, 0x83022003, 0x2117820b, 0x27826001, + 0xe7840b82, 0xfaff8023, 0x23538601, 0x10000002, 0x4020c384, 0x0383ab82, 0x07820020, 0x43440020, 0x065f4509, 0x41010821, 0xfc20099f, 0x0f823b83, + 0x00021025, 0x83010600, 0x83038247, 0x85012027, 0x410020ef, 0x4b840863, 0x8706bb43, 0x4347876f, 0x57420ee3, 0x08df4407, 0x84066742, 0x0a57460f, + 0xd7886f87, 0x850a7b42, 0x42ff2077, 0x0024073b, 0xfeffe001, 0x2008a342, 0x84d78200, 0x0567412b, 0xff800223, 0x82a789fa, 0x20ff8713, 0x46278820, + 0x8020057b, 0x40204382, 0xff21c384, 0x82cf8402, 0x061f411f, 0x80203f84, 0x57853b82, 0x2001fa26, 0x980ffcff, 0x8e0ee345, 0xc001219f, 0x03851f83, + 0x8b850b89, 0x5f820f88, 0xab410220, 0x842f8908, 0x897b8c6f, 0x0f234347, 0x420fa343, 0x4b4108a7, 0x84d7830c, 0x84ff20af, 0x201b825b, 0x07774101, + 0x9785b784, 0x87084341, 0xff00221b, 0x845f84f8, 0x00002123, 0x20089341, 0x09cb4380, 0x83470120, 0x083b410e, 0xf5ff6822, 0x44057b43, 0x80220a77, + 0x5f42ffff, 0x44f02008, 0x5f8505d7, 0x8809bf41, 0x0c9f466f, 0x4605c746, 0x8b420cb3, 0x42138406, 0xd7840ad3, 0x20067342, 0x20438202, 0x8b0b8201, + 0x880b8313, 0xff002433, 0x824002ff, 0x428b8293, 0xff2105ff, 0x0b5747fb, 0xf8200b90, 0x83092f43, 0x86338443, 0x202b8c87, 0x422782c0, 0x6b8406ff, + 0x27452020, 0x8b022009, 0x874f8a2f, 0x201f833f, 0x82cf8802, 0xff00229f, 0x825b88fe, 0x484f843b, 0xc7830fc3, 0x2006f342, 0x445f8a01, 0xdf820803, + 0x00225788, 0x4387f5ff, 0xff180222, 0x8205e343, 0xff01211f, 0x210b7f42, 0x7384faff, 0xf6ffc022, 0x220a3b43, 0x832001fc, 0xfdff232f, 0x0384c001, + 0x1b88ed20, 0x0120af82, 0x43075f46, 0xff860727, 0x420ceb42, 0x0b820b2b, 0x43e00121, 0x7b830753, 0x4343e782, 0x821f830b, 0x443f8843, 0x01200a57, + 0x210a0741, 0x7b4a0002, 0x260b870a, 0x02feff00, 0x84000020, 0x2187843b, 0xf341f4ff, 0x86638708, 0x08c3418b, 0x2f85c020, 0x4c08e744, 0x4f490c67, + 0x20238207, 0x8c0b82d0, 0x05734743, 0xaf8b4784, 0x2b820020, 0xfdffc022, 0x8208e744, 0x470120eb, 0x17820823, 0xcb83ab86, 0x13450387, 0x82022007, + 0x086b431b, 0x02215382, 0x06c74540, 0xf2ff8022, 0x2109a343, 0x2784faff, 0xff82a020, 0x01218f82, 0x208782c0, 0x82138280, 0x4002212b, 0x41055741, + 0x9382107b, 0x4f830220, 0x00200783, 0x20060b45, 0x0a634d80, 0x33411b82, 0x41e38b08, 0x0220062b, 0xfb431f83, 0x41f78608, 0xb3490637, 0x08ff4307, + 0x23858384, 0xff21b385, 0x212382fe, 0x3b4a01ff, 0x01002405, 0x4b200000, 0xff2005c7, 0x200b6b4c, 0x226384fd, 0x84f7ffc0, 0x09df4adb, 0xe7822b82, + 0xf9ff0022, 0x20082f41, 0x88eb82c0, 0x201b84c3, 0x055f47ff, 0x8705134c, 0x86022027, 0x88d787eb, 0x0c0b41df, 0x83000021, 0x4102202f, 0x6b870593, + 0x2b82ff20, 0xe3462020, 0x0cbf4b0d, 0x1b830020, 0x03203282, 0x1c200386, 0x0025d483, 0x003c0a00, 0x24098403, 0x0a04001c, 0x0a8d8220, 0x000284b8, + 0x84000800, 0x2e002000, 0x5a003900, 0x02f07a00, 0x0ef005f0, 0x15f013f0, 0x1cf019f0, 0x3ef01ef0, 0x4ef044f0, 0x5ef05bf0, 0x7cf06ef0, 0x86f080f0, + 0x8df089f0, 0x95f091f0, 0x9ef098f0, 0xaef0a1f0, 0xcef0b2f0, 0xdef0d1f0, 0xe3f0e0f0, 0xf4f0ebf0, 0x0bf1fef0, 0x11f10ef1, 0x1ef11cf1, 0x2ef122f1, + 0x35f131f1, 0x3ef13af1, 0x46f144f1, 0x4ef14bf1, 0x5ef159f1, 0x83f165f1, 0x93f188f1, 0x97f195f1, 0x9df199f1, 0xb0f1aef1, 0xbbf1b3f1, 0xcef1c9f1, + 0xdaf1d8f1, 0xe6f1def1, 0xf6f1ecf1, 0x01f2fef1, 0x0bf207f2, 0x1ef218f2, 0x36f22df2, 0x49f239f2, 0x5df24ef2, 0x77f26cf2, 0x8bf27af2, 0x92f28df2, + 0x9af295f2, 0xa4f29ef2, 0xb6f2a8f2, 0xbbf2b9f2, 0xc2f2bdf2, 0xd2f2cef2, 0xe5f2dcf2, 0xeaf2e7f2, 0xf2f2edf2, 0xf9f2f6f2, 0x05f3fef2, 0x1ef30cf3, + 0x38f328f3, 0x5df35bf3, 0x62f360f3, 0xa5f382f3, 0xc1f3bff3, 0xc9f3c5f3, 0xd1f3cdf3, 0xe0f3ddf3, 0xedf3e5f3, 0xfdf3faf3, 0x06f4fff3, 0x34f410f4, + 0x3af436f4, 0x3ff43cf4, 0x43f441f4, 0x47f445f4, 0x4ef44bf4, 0x53f450f4, 0x5df458f4, 0x62f45ff4, 0x6df466f4, 0x74f472f4, 0x7ff479f4, 0x87f482f4, + 0x8ef48bf4, 0x97f494f4, 0xadf49ef4, 0xbaf4b3f4, 0xc0f4bef4, 0xc4f4c2f4, 0xd3f4cef4, 0xdff4dbf4, 0xe6f4e3f4, 0x91f509f5, 0xa2f59df5, 0xb1f5a7f5, + 0xb8f5b4f5, 0xc5f5bdf5, 0xcef5cbf5, 0xd7f5d2f5, 0xdcf5daf5, 0xe1f5dff5, 0xe7f5e4f5, 0xeef5ebf5, 0x10f6fdf5, 0x19f613f6, 0x21f61ff6, 0x37f630f6, + 0x41f63cf6, 0x47f644f6, 0x4ff64af6, 0x55f651f6, 0x5ef658f6, 0x66f662f6, 0x6df66bf6, 0x74f66ff6, 0x79f676f6, 0x7ff67cf6, 0x89f684f6, 0x9bf696f6, + 0xa7f6a1f6, 0xadf6a9f6, 0xbbf6b7f6, 0xc0f6bef6, 0xcff6c4f6, 0xd3f6d1f6, 0xd7f6d5f6, 0xdef6d9f6, 0xe6f6e3f6, 0xedf6e8f6, 0xfaf6f2f6, 0x00f7fcf6, + 0x0ef70cf7, 0x17f715f7, 0x22f71ef7, 0x2ff729f7, 0x40f73df7, 0x47f743f7, 0x53f74df7, 0x5bf756f7, 0x69f75ff7, 0x73f76bf7, 0x81f77df7, 0x88f784f7, + 0x94f78cf7, 0x9cf796f7, 0xa2f7a0f7, 0xabf7a6f7, 0xb6f7aef7, 0xbdf7baf7, 0xc2f7c0f7, 0xcaf7c5f7, 0xd0f7cef7, 0xdaf7d2f7, 0xecf7e6f7, 0xf2f7eff7, + 0xf7f7f5f7, 0x07f8fbf7, 0x12f810f8, 0x18f816f8, 0x2ff82af8, 0xffff3ef8, 0x20000000, 0x30002d00, 0x61004000, 0x04f000f0, 0x10f007f0, 0x17f015f0, + 0x1ef01cf0, 0x41f021f0, 0x50f048f0, 0x60f05ef0, 0x80f070f0, 0x854283f0, 0x93440806, 0x9cf098f0, 0xa3f0a0f0, 0xc0f0b0f0, 0xd6f0d0f0, 0xe2f0e0f0, + 0xf0f0e7f0, 0x00f1f8f0, 0x10f10df1, 0x1ef118f1, 0x24f120f1, 0x33f130f1, 0x3df137f1, 0x46f140f1, 0x4df14af1, 0x5bf150f1, 0x82f160f1, 0x91f185f1, + 0x08068542, 0xabf19c48, 0xb2f1b0f1, 0xc0f1b8f1, 0xd8f1cdf1, 0xdcf1daf1, 0xeaf1e0f1, 0xf8f1f6f1, 0x04f200f2, 0x17f20af2, 0x21f21af2, 0x38f233f2, + 0x4df240f2, 0x6cf251f2, 0x79f271f2, 0x8df28bf2, 0x95f290f2, 0x9df29af2, 0xa7f2a0f2, 0x8542b5f2, 0xf2c12606, 0xf2d0f2c7, 0x088542db, 0xf5f2f132, + 0xfef2f9f2, 0x09f302f3, 0x28f31ef3, 0x58f337f3, 0x24068542, 0xf3a5f381, 0x1c8542be, 0x36f43324, 0x854239f4, 0xf45c3c16, 0xf461f45f, 0xf468f466, + 0xf474f470, 0xf47df477, 0xf484f481, 0xf48df48b, 0x4296f490, 0xb8220685, 0x8542bdf4, 0xcd240806, 0xd6f4d3f4, 0xe2f4def4, 0xfaf4e6f4, 0x93f517f5, + 0xa4f59ff5, 0xb3f5aaf5, 0xbaf5b6f5, 0xc7f5bff5, 0xd0f5cdf5, 0x20068542, 0x0a8542de, 0x8542fc20, 0xf62e240a, 0x423bf637, 0x532a0c85, 0x5df658f6, + 0x64f662f6, 0x854269f6, 0xf6782e08, 0xf67ff67b, 0xf687f681, 0xf698f696, 0x068542a0, 0x8542b620, 0x42c32006, 0xdd360c85, 0xe6f6e2f6, 0xecf6e8f6, + 0xfaf6f0f6, 0xfff6fcf6, 0x0ef70bf7, 0x854214f7, 0xf7282406, 0x423bf72e, 0x3a080c85, 0xf75ef75a, 0xf76bf769, 0xf77cf772, 0xf783f780, 0xf78cf786, + 0xf796f793, 0xf79ff79c, 0xf7a4f7a2, 0xf7adf7a9, 0xf7b9f7b5, 0xf7bff7bd, 0xf7c4f7c2, 0xf7ccf7c9, 0xf7d2f7d0, 0x42e4f7d7, 0x052a0c85, 0x12f80ff8, + 0x18f815f8, 0x854229f8, 0xff840a05, 0xffd7ffe3, 0xffd0ffd6, 0x104510ca, 0x10431044, 0x10411042, 0x103e1040, 0x103b103d, 0x10361039, 0x10331035, + 0x10311032, 0x102c102e, 0x1027102a, 0x10231024, 0x101e1021, 0x101c101d, 0x100e101b, 0x1009100d, 0x10071008, 0x0f001004, 0x0ffc0ffd, 0x0ffa0ffb, + 0x0ff30ff4, 0x0ff10ff2, 0x0fef0ff0, 0x0fec0fee, 0x0fea0feb, 0x0fe60fe7, 0x0fe40fe5, 0x0fc70fe3, 0x0fbe0fc6, 0x0fbc0fbd, 0x0fb90fbb, 0x0fab0fac, + 0x0fa60faa, 0x0f9f0fa2, 0x0f950f96, 0x0f930f94, 0x0f870f90, 0x0f850f86, 0x0f810f83, 0x0f750f76, 0x0f6e0f73, 0x0f670f6d, 0x0f620f64, 0x0f500f54, + 0x0f3f0f4f, 0x0f3c0f3e, 0x0f360f3a, 0x0f330f34, 0x0f250f31, 0x0f220f23, 0x0f1e0f21, 0x0f190f1a, 0x0f090f11, 0x0f060f08, 0x0e010f04, 0x0efd0eff, + 0x0ef60ef9, 0x0ee20ef3, 0x0ecb0ed9, 0x0eab0eac, 0x0ea80ea9, 0x0e680e8a, 0x0e4f0e50, 0x0e490e4c, 0x0e430e46, 0x0e360e38, 0x0e2b0e32, 0x0e1d0e1f, + 0x0e160e1c, 0x0deb0d0d, 0x0de80dea, 0x0de50de7, 0x0de30de4, 0x0de10de2, 0x0ddc0dde, 0x0dd90ddb, 0x0dd20dd5, 0x0dd00dd1, 0x0dcc0dcd, 0x0dc90dca, + 0x0dc40dc7, 0x0dc20dc3, 0x0dbe0dbf, 0x0dbc0dbd, 0x0da80db6, 0x0d9f0da3, 0x0d9c0d9d, 0x0d9a0d9b, 0x0d8e0d92, 0x0d8a0d8c, 0x0d860d88, 0x0d660d73, + 0x0d640d65, 0x0d610d63, 0x0d5f0d60, 0x0d5d0d5e, 0x0d5b0d5c, 0x0d560d5a, 0x0d530d54, 0x0d510d52, 0x0d4d0d4f, 0x0d480d4a, 0x0d290d3b, 0x0d220d27, + 0x0d1c0d1d, 0x0d0a0d10, 0x0d030d07, 0x0cff0c01, 0x0cf90cfd, 0x0cf70cf8, 0x0cf10cf5, 0x0ced0cee, 0x0cea0ceb, 0x0ce50ce9, 0x0ce30ce4, 0x0ce00ce2, + 0x0cdd0cdf, 0x0cd00cd1, 0x0cc70ccc, 0x0cc30cc6, 0x0cb80cbb, 0x0cb50cb6, 0x0ca90cb3, 0x0ca70ca8, 0x0ca50ca6, 0x0ca10ca4, 0x0c9c0c9e, 0x0c980c9b, + 0x0c8f0c96, 0x0c8c0c8e, 0x0c810c82, 0x0c7b0c7c, 0x0c720c75, 0x0c690c6d, 0x0c5c0c5e, 0x0c570c5a, 0x0c4d0c52, 0x0c480c4b, 0x0c3d0c46, 0x0c360c3c, + 0x0c2c0c2e, 0x0c2a0c2b, 0x0c210c27, 0x0c1b0c20, 0x0c180c19, 0x0c150c17, 0x0c0e0c14, 0x0c0a0c0c, 0x0c080c09, 0x0c040c07, 0x0c020c03, 0x0bfd0b01, + 0x0bef0bf4, 0x0beb0bed, 0x0be80be9, 0x0bdc0be5, 0x0bd40bd5, 0x0bd10bd2, 0x0bbd0bc1, 0x000100af, 0x02000010, 0x06012284, 0x088a4200, 0x7e4a0120, + 0x8b002006, 0x00012300, 0x0f8b0300, 0x0005042c, 0x09080706, 0x0d0c0b0a, 0x18850f0e, 0x1211103a, 0x16151413, 0x1a191817, 0x1e1d1c1b, 0x2221201f, + 0x26252423, 0x2a292827, 0x2b392085, 0x2f2e2d2c, 0x33323130, 0x37363534, 0x3b3a3938, 0x3f3e3d3c, 0x43424140, 0x401f8544, 0x24208705, 0x038b8882, + 0x0f823c20, 0x03825420, 0x03828820, 0x0382b420, 0x0000f424, 0x03825001, 0x03828420, 0x0000d024, 0x03823402, 0x02201f82, 0x03200b82, 0x03250b82, + 0x040000e0, 0x20038214, 0x20038268, 0x820382a8, 0x0c05250f, 0x30050000, 0x7c200382, 0x13820382, 0x82c40521, 0x25478207, 0x00002006, 0x03824006, + 0x03827820, 0x0382a420, 0x07252b82, 0x07000018, 0x24038270, 0x080000c0, 0x8203822c, 0x8208206b, 0x82082037, 0x8208201f, 0x1009241f, 0x82090000, + 0x60092167, 0x4b820782, 0x47820920, 0x0f820a20, 0x23820a20, 0x57820a20, 0xa2820b20, 0x1b820b20, 0x00980b24, 0x43820b00, 0x00fc0b25, 0x82280c00, + 0x82442003, 0x829c2003, 0x00d82403, 0x82140d00, 0x82642003, 0x25cf8203, 0x0000f00d, 0x0382480e, 0x0e21df82, 0x820782bc, 0x820f2063, 0x820f201f, + 0x820f202f, 0x820f2053, 0x820f2077, 0x4c102423, 0x82100000, 0x8210202f, 0x5811284f, 0xb0110000, 0x82130000, 0xac13286b, 0x24150000, 0x83160000, + 0x24b78203, 0x0000e416, 0x204b8217, 0x20f38218, 0x242f8218, 0x00008c19, 0x248f821a, 0x0000201b, 0x241f821b, 0x00002c1c, 0x2483821c, 0x00003c1d, + 0x206b821d, 0x20a3821e, 0x2523821f, 0x0000e81f, 0x03825c20, 0x21203f82, 0x21242b82, 0x22000094, 0x23201782, 0x23204782, 0x24202f82, 0x24203782, + 0x25297382, 0x2500004c, 0x26000078, 0x23038218, 0x27000098, 0x2720db82, 0x2820f782, 0x28241f82, 0x290000ec, 0x2a208f82, 0x2b246f82, 0x2b000010, + 0x2c241782, 0x2d000074, 0x2e240382, 0x2f000044, 0x2f213382, 0x82078270, 0x82302063, 0x8230202f, 0xc8302427, 0x82310000, 0xbc31244f, 0x82320000, + 0x6c32211f, 0xa0230782, 0x82330000, 0x383321db, 0x83820782, 0x57823320, 0x00343425, 0x82903400, 0x00dc2303, 0x73823500, 0x82883521, 0x00c82307, + 0x57823600, 0x009c3624, 0x1f823700, 0x00a43724, 0x17823800, 0x00dc3825, 0x82403900, 0x250f8203, 0x0000043a, 0x0382683a, 0x0000cc23, 0x2587823b, + 0x00001c3c, 0x03827c3c, 0x0000b424, 0x0382643d, 0x0000c424, 0x0382803e, 0x0000f823, 0x24ff823f, 0x0000e83f, 0x24138240, 0x00003041, 0x24ef8241, + 0x0000c042, 0x20938243, 0x202f8243, 0x24af8244, 0x0000ac44, 0x202b8244, 0x20af8245, 0x207b8246, 0x243b8246, 0x0000ec46, 0x208b8247, 0x20878248, + 0x20c38249, 0x2407824b, 0x0000244c, 0x202f824c, 0x258b824c, 0x0000984d, 0x0382484e, 0x0000f424, 0x03824c4f, 0x0000d823, 0x203b8250, 0x285b8250, + 0x00005051, 0x0000e051, 0x209b8252, 0x24ef8253, 0x0000f053, 0x20b78254, 0x258b8255, 0x00001056, 0x03828456, 0x57206f82, 0x57208382, 0x58202782, + 0x59247f82, 0x5a00002c, 0x5a20ef82, 0x5a203382, 0x5b247b82, 0x5c000094, 0x5d206b82, 0x5d205b82, 0x5e203b82, 0x5e243782, 0x5f0000b8, 0x5f204f82, + 0x60296b82, 0x60000054, 0x6100008c, 0x82038214, 0x82632043, 0x8264204b, 0x8264203f, 0x8265200b, 0xe4652897, 0x90660000, 0x82670000, 0x826720bb, + 0x82672043, 0x826720d3, 0x826720ef, 0x82682017, 0x82682043, 0x8268203b, 0x826820ef, 0x8269206b, 0x826a206b, 0x826a205f, 0x826b200f, 0x826b204f, + 0xb06c2413, 0x826d0000, 0xdc6d2cc7, 0xd06e0000, 0xa86f0000, 0x82700000, 0x8270201b, 0x8271202b, 0x1c72252b, 0x00730000, 0xc8230382, 0x82740000, + 0xe87424f7, 0x82750000, 0x827520bb, 0x70762d07, 0xfc760000, 0x88770000, 0x0c780000, 0x58200382, 0xa0200382, 0x57820382, 0xa3827920, 0xcf827920, + 0x3f827a20, 0xb3827a20, 0x73827a20, 0x67827b20, 0x37827b20, 0x5b827c20, 0xe3827c20, 0x003c7d24, 0x07827d00, 0x23827e20, 0x1f827e20, 0x0f828020, + 0x03838120, 0x82209382, 0x8220cb82, 0x8324e382, 0x83000020, 0x84202382, 0x85205782, 0x86204782, 0x86208b82, 0x13820783, 0x00cc8724, 0xb7828800, + 0xe7828920, 0x00088a24, 0xbb828a00, 0x93828b20, 0x63828b20, 0x009c8c24, 0x83828d00, 0x6b828d20, 0x00f48d25, 0x82548e00, 0x00b82703, 0x008c8f00, + 0xdf829000, 0x827c9021, 0x203f8207, 0x207b8291, 0x20db8291, 0x20138292, 0x28578292, 0x0000d892, 0x00006493, 0x20778294, 0x202b8294, 0x244b8294, + 0x00004095, 0x244f8295, 0x00005c96, 0x200f8296, 0x2d8b8297, 0x00002c98, 0x0000c498, 0x00004499, 0x0382609a, 0x0000b423, 0x20ff829b, 0x240f829c, + 0x0000309d, 0x284f829e, 0x0000f89e, 0x0000ec9f, 0x24c782a0, 0x0000a4a1, 0x205f82a2, 0x20af82a2, 0x202382a3, 0x201b82a3, 0x20e382a4, 0x299382a4, + 0x000078a5, 0x0000d4a5, 0x038210a6, 0xa7207f82, 0xa8240f82, 0xa8000018, 0xa9209f82, 0xa9248b82, 0xab0000fc, 0xac208f82, 0xad203782, 0xad24d382, + 0xae0000b0, 0xae202382, 0xaf205782, 0xb020df82, 0xb1200382, 0xb2209f82, 0xb2205f82, 0xb3242b82, 0xb4000068, 0xb524ab82, 0xb5000024, 0xb6254f82, + 0xb7000080, 0x8203820c, 0x82b8202f, 0x82b920a7, 0x82ba2077, 0xe4ba25ab, 0x54bb0000, 0xac270382, 0x50bc0000, 0x82bd0000, 0x82bd2023, 0x82be2043, + 0x82be205b, 0x84bf2ce7, 0x74c00000, 0x04c10000, 0x82c20000, 0x82c32037, 0x82c3201b, 0x82c42017, 0x82c520f7, 0x7cc6253f, 0x28c70000, 0x7f820382, + 0x0038c825, 0x8200c900, 0x203b8203, 0x20db82c9, 0x20e782ca, 0x201382cb, 0x20ab82cb, 0x206f82cc, 0x246382cc, 0x0000f0cc, 0x20d782ce, 0x241f82ce, + 0x0000bccf, 0x254382d0, 0x000048d1, 0x038214d2, 0xd320ff82, 0xd5240382, 0xd5000008, 0xd6201b82, 0xd624eb82, 0xd70000b8, 0xd720f782, 0xd820c382, + 0xd9208782, 0xda20d782, 0xdb202f82, 0x5e827382, 0xa0dc0026, 0x34dd0000, 0x2f820382, 0x0010de24, 0x6782de00, 0xf782df20, 0x4382e020, 0xaf82e020, + 0x002ce124, 0x1b82e100, 0x0088e224, 0x7382e200, 0x3f82e320, 0x4b82e320, 0x5b82e420, 0x00a8e424, 0x1382e400, 0x2782e520, 0x0064e624, 0xab82e700, + 0x828ce721, 0x00f42307, 0x3f82e900, 0xd382e920, 0x5b82ea20, 0x00c0ea25, 0x823ceb00, 0x00e42703, 0x0080ec00, 0x1b82ed00, 0xe382ed20, 0x8382ee20, + 0x00ccee28, 0x0050ef00, 0xd382f000, 0x2f82f020, 0xff82f120, 0x4f82f120, 0xa382f220, 0x1382f320, 0x00c4f324, 0x0782f400, 0x2f82f420, 0x001cf525, + 0x827cf500, 0x20138203, 0x246b82f6, 0x000084f6, 0x282f82f7, 0x0000e0f7, 0x0000acf8, 0x206382f9, 0x202b82fa, 0x200f82fa, 0x200f82fb, 0x380382fc, + 0x0000c8fd, 0x0100e0fe, 0x01006c00, 0x01005801, 0x01008c02, 0x01006403, 0x2d0f8204, 0x01003405, 0x0100e805, 0x0100b806, 0x03822007, 0x0100c02c, + 0x0100a008, 0x01005409, 0x0382080a, 0x0100bc33, 0x0100700b, 0x0100100c, 0x0100c40d, 0x0100840e, 0x253f820f, 0x0100dc0f, 0x03821410, 0x01009023, + 0x255b8211, 0x0100cc13, 0x03821c14, 0x15250782, 0x16010044, 0x8203820c, 0x40172953, 0xc8170100, 0x4c180100, 0x5b820382, 0x00941924, 0x73821a01, + 0x4b821a20, 0x53821b20, 0x00881b24, 0x1f821b01, 0x6b821c20, 0x00501c24, 0x1f821c01, 0x33821d20, 0x3b821d20, 0x5f821e20, 0xa3821e20, 0x2b821e20, + 0x00181f24, 0x0b821f01, 0x43821f20, 0x005c2028, 0x00d02001, 0xa3822101, 0x7b822120, 0x9f822220, 0x07822220, 0x57822320, 0x4f822320, 0x00f42324, + 0x1b822401, 0x00242524, 0x9f822501, 0x00602628, 0x00f02601, 0x27822701, 0x00d82724, 0x5f822801, 0x00b02829, 0x00a82901, 0x82302a01, 0x20338203, + 0x205f822b, 0x2413822b, 0x0100582c, 0x2463822c, 0x0100002e, 0x208b822e, 0x20838230, 0x24438230, 0x01003831, 0x24938231, 0x01007432, 0x24b78233, + 0x0100e433, 0x24678234, 0x0100b435, 0x24078235, 0x0100a436, 0x20378236, 0x20fb8237, 0x204b8238, 0x24cb8239, 0x0100fc39, 0x204f823a, 0x204b823b, + 0x204b823b, 0x207b823b, 0x20c3823c, 0x2417823c, 0x0100ec3d, 0x2007823e, 0x2047823f, 0x20878240, 0x28278241, 0x0100e841, 0x01008442, 0x285f8243, + 0x01003c44, 0x01009c44, 0x20ab8245, 0x255f8245, 0x0100a046, 0x03822047, 0x48206782, 0x4824e782, 0x490100f8, 0x4a242f82, 0x4b0100d0, 0x4c202782, + 0x4c209f82, 0x4d207f82, 0x4d282382, 0x4e0100c8, 0x4f010078, 0x50204782, 0x50258f82, 0x510100dc, 0x27038264, 0x520100e0, 0x5301007c, 0x54208b82, + 0x5420f782, 0x55245382, 0x5601004c, 0x57201b82, 0x57200f82, 0x582c4f82, 0x59010080, 0x5a0100cc, 0x5b0100bc, 0x5c251b82, 0x5c01000c, 0x23038260, + 0x5d0100d4, 0x5d20bb82, 0x5e200782, 0x5f205b82, 0x5f205782, 0x60246782, 0x64010024, 0x6424a382, 0x650100b0, 0x66203382, 0x66201782, 0x68202382, + 0x68204f82, 0x69251f82, 0x6a010068, 0x23038214, 0x6b0100b8, 0x6b20b782, 0x6c202382, 0x6c246f82, 0x6d0100d8, 0x6d208782, 0x6f25db82, 0x70010098, + 0x82038248, 0xfc71251b, 0x88720100, 0xf0230382, 0x82730100, 0x82742007, 0xe4742433, 0x82750100, 0x8275201f, 0x8c7624bf, 0x82770100, 0x8278207f, + 0xb47825e7, 0x04790100, 0xc4230382, 0x827a0100, 0xa47a2483, 0x827b0100, 0x827b200f, 0x827b2073, 0x827c20cb, 0xc07c2433, 0x827d0100, 0x3c7e25d3, + 0x507f0100, 0xa8240382, 0x28800100, 0x7f820382, 0x00588124, 0x9b828201, 0xd7828220, 0x2f828220, 0x00ac8324, 0x93828401, 0x005c8524, 0xc3828501, + 0x0b828620, 0xb7828720, 0x004c8824, 0x8f828801, 0x27828920, 0x37828920, 0x5f828a20, 0x97828b20, 0xab828b20, 0x1f828c20, 0x0f828d20, 0x1f828d20, + 0xd7828e20, 0x00188f24, 0x27828f01, 0x000c9028, 0x00b09001, 0xc3829101, 0x00249228, 0x009c9201, 0x07829301, 0x73829520, 0x001c9624, 0xf3829601, + 0x007c9728, 0x00ec9701, 0x53829801, 0x00609924, 0xaf829a01, 0x00cc9b24, 0x47829c01, 0x03829d20, 0x9b829e20, 0xbb829e20, 0x00849f24, 0x0782a001, + 0x5382a120, 0x0090a125, 0x8208a201, 0x20278203, 0x245b82a3, 0x010010a4, 0x202782a5, 0x20bf82a5, 0x20eb82a6, 0x242b82a7, 0x01002ca8, 0x206f82a8, + 0x206382a9, 0x207382aa, 0x20a382aa, 0x20c382ab, 0x200b82ac, 0x206382ad, 0x200782ae, 0x204b82af, 0x201f82af, 0x248b82b0, 0x0100bcb0, 0x24c382b2, + 0x0100dcb2, 0x20bb82b3, 0x249382b3, 0x010044b4, 0x2d1382b5, 0x0100a8b6, 0x0100d4b7, 0x0100acb8, 0x038228b9, 0x0100d023, 0x207782ba, 0x28bb82bb, + 0x010040bc, 0x0100e4bc, 0x208f82be, 0x203382be, 0x245782c0, 0x010000c1, 0x200382c2, 0x209382c3, 0x28ff82c3, 0x0100a4c4, 0x0100a0c5, 0x247f82c6, + 0x010004c7, 0x205f82c7, 0x280f82c8, 0x010018ca, 0x0100fcca, 0x200b82cb, 0x204b82cc, 0x202782cd, 0x248b82ce, 0x0100d8ce, 0x200f82cf, 0x203f82d0, + 0x205382d0, 0x24cf82d1, 0x010030d2, 0x241f82d2, 0x010050d3, 0x242f82d3, 0x010034d4, 0x24d382d4, 0x01003cd5, 0x20f382d5, 0x201382d6, 0x24cf82d7, + 0x01008cd7, 0x20b782d8, 0x20af82d8, 0x206782d9, 0x289782da, 0x0100e0da, 0x010070db, 0x206f82dc, 0x201782dc, 0x20bb82dd, 0x204782de, 0x24eb82de, + 0x010054df, 0x24c382e0, 0x0100bce0, 0x280782e1, 0x0100f8e1, 0x010060e2, 0x244b82e3, 0x010010e4, 0x24cf82e5, 0x010094e5, 0x206782e6, 0x20e782e6, + 0x248b82e7, 0x010064e8, 0x20a382e8, 0x242f82e9, 0x0100e8e9, 0x2c1f82ea, 0x0100c4eb, 0x010098ec, 0x010020ed, 0x209b82ee, 0x203782ef, 0x207782ef, + 0x209b82f1, 0x207b82f2, 0x203782f3, 0x20eb82f3, 0x205782f5, 0x203382f5, 0x208382f6, 0x20a782f7, 0x201382f7, 0x281b82f8, 0x0100f4f8, 0x01009cf9, + 0x20ef82fa, 0x355f82fc, 0x0100b0fd, 0x020078fe, 0x0200f000, 0x0200c001, 0x02009802, 0x03821c03, 0x0200d030, 0x02008404, 0x02002406, 0x02001007, + 0x03823008, 0x02009427, 0x0200440a, 0x2813820b, 0x0200880b, 0x0200180c, 0x3803820d, 0x0200380e, 0x0200fc0e, 0x0200d40f, 0x02000411, 0x02009c12, + 0x0200a813, 0x241b8215, 0x0200b015, 0x24478216, 0x02005418, 0x20438219, 0x245f821a, 0x0200901c, 0x202f821c, 0x2043821d, 0x303b821e, 0x0200e81e, + 0x02006c1f, 0x02005020, 0x02003c21, 0x29638222, 0x0200f422, 0x02009423, 0x03824c24, 0x0200f823, 0x2d4f8225, 0x02007426, 0x0200b427, 0x02005c28, + 0x03822c29, 0x2a28af82, 0x2b020034, 0x2c020014, 0x2c209382, 0x2d205b82, 0x2d201b82, 0x2e243b82, 0x2f0200a4, 0x30200f82, 0x31244382, 0x3102000c, + 0x32203782, 0x33247782, 0x35020020, 0x36240f82, 0x37020028, 0x37246f82, 0x380200e4, 0x3a207b82, 0x3b202b82, 0x3c204382, 0x3c24eb82, 0x3d0200cc, + 0x3e20b782, 0x3f281f82, 0x3f020048, 0x400200d8, 0x41206f82, 0x41283782, 0x420200e0, 0x43020040, 0x43202782, 0x4429bf82, 0x44020068, 0x460200a0, + 0x8203821c, 0x824820a7, 0x044928af, 0x8c490200, 0x824a0200, 0x004b2403, 0x824b0200, 0x824d2017, 0x824e20e7, 0x824f2033, 0x825020df, 0x60522cb7, + 0xc4530200, 0x78540200, 0x82550200, 0x64562827, 0x54570200, 0x82580200, 0x82592013, 0x445a2457, 0x825b0200, 0xac5b253b, 0x305d0200, 0xd3820382, + 0x00b85e24, 0x83826002, 0x00dc6028, 0x00746102, 0x0b826202, 0x00f0622c, 0x00846302, 0x00346502, 0x03836602, 0x68206b82, 0x68201782, 0x6920eb82, + 0x6a202782, 0x6b24f782, 0x6c020008, 0x6c245382, 0x6d0200e8, 0x6d24cf82, 0x6e0200ec, 0x6f200782, 0x70201382, 0x70205b82, 0x71202b82, 0x71249782, + 0x720200a4, 0x7320cf82, 0x7324a782, 0x740200d4, 0x75208b82, 0x76201b82, 0x76249782, 0x770200a8, 0x78203382, 0x79202f82, 0x79205f82, 0x7a206782, + 0x7b205b82, 0x7c205382, 0x7e240382, 0x7f02005c, 0x7f24c782, 0x800200e4, 0x81208f82, 0x82203382, 0x82202782, 0x8320df82, 0x84240382, 0x84020014, + 0x8420e382, 0x85244782, 0x8502006c, 0x86208382, 0x86207f82, 0x8720d382, 0x8824cb82, 0x88020020, 0x89283f82, 0x8902009c, 0x8a0200fc, 0x8b24f782, + 0x8b020040, 0x8c248782, 0x8d020080, 0x8d241f82, 0x8e0200c0, 0x8f208f82, 0x2b08cf82, 0x00001900, 0x2a01e700, 0x07000300, 0x11330000, 0x33271133, + 0xce192335, 0x019c9cb5, 0x19d6fe2a, 0x010000f8, 0xb0002500, 0xd300b600, 0x00292382, 0x35231537, 0x23d391b6, 0x26178323, 0x00380021, 0x846d0056, + 0x23390817, 0x35563335, 0x00353835, 0x1a000200, 0x19013400, 0x0800a901, 0x00000e00, 0x32333437, 0x23141516, 0x22343722, 0x1a321415, 0x7f413e80, + 0xaaaad580, 0x5b5fbbee, 0x9696bbbb, 0x82808298, 0x00422b63, 0x010d0138, 0x000a00a5, 0x86821300, 0x33336682, 0xa4350711, 0x50cb5118, 0xfea5014b, + 0x012323b6, 0x85282f15, 0x2177822b, 0x5f821501, 0x5d821320, 0x82330721, 0x3637282a, 0x22233435, 0x84362707, 0x68c93b6a, 0x3180ebb4, 0x10333443, + 0x3b32492f, 0x202371cc, 0x3e2b378d, 0x342d212a, 0x40823a2c, 0x1b000122, 0x0e209f82, 0x1f313f82, 0x14250000, 0x27222306, 0x32331637, 0x012b3435, + 0x20068335, 0x31498926, 0x0e011607, 0x304b3840, 0x4f373211, 0x54222a54, 0x54832024, 0x3b314a30, 0x309b423a, 0x2a212d37, 0x45244344, 0x5a82201d, + 0x422b3225, 0x82001217, 0x821920fb, 0x842220c7, 0x820d20c7, 0x821520c9, 0x389f829d, 0x07373523, 0x37eb0735, 0xb0a82a37, 0xa5017c08, 0x4f4f23fb, + 0xb3fbfe20, 0x20cf85b3, 0x208f8227, 0x2333821b, 0x24000019, 0xd2828f88, 0x23218983, 0x82428335, 0x1b0137d8, 0x30483844, 0x26353310, 0x33242b2c, + 0xb0da1d20, 0xdd342e1f, 0x85824168, 0x24262b28, 0x23d62b2d, 0x7f821d82, 0x4b841c20, 0x1500a925, 0x85002100, 0x352626dd, 0x17323634, 0x224c8207, + 0x82011d06, 0x07162248, 0x210b8334, 0xf4821415, 0x01362208, 0x4233431b, 0x30844a47, 0x2f303110, 0x32491a34, 0x232b2a40, 0x242d2d24, 0x32a92b23, + 0x5c555c43, 0x2e5f8268, 0x3f084b54, 0x2d243341, 0x2d25232e, 0x8201002d, 0x01382259, 0x20af8212, 0x83e18206, 0x2303309f, 0xabf1c3e4, 0x2481012d, + 0x00b3fe20, 0x82170003, 0x011c2183, 0x29208385, 0x3720858a, 0x332b8a83, 0x14151632, 0x27011e07, 0x8735013e, 0x17470888, 0x06272634, 0x01321415, + 0x3c3b471c, 0x44232947, 0x44363744, 0x82272443, 0x252b2b25, 0x7f2b2b26, 0xb2592930, 0x37372e99, 0x0930212e, 0x362b4114, 0x15402b36, 0x05453009, + 0x231e1d24, 0x241d1e23, 0x05241e69, 0x82443d0a, 0x821920ff, 0x8418207b, 0x8620207b, 0x37272c79, 0x3d363216, 0x23010e01, 0x89342622, 0x08fe85ff, + 0x434a1831, 0x33103042, 0x350c345e, 0x433f3223, 0x36484232, 0x2a23252d, 0x2d24232b, 0x2d675cf7, 0x4c542a20, 0x40211d07, 0x185d4366, 0x4a2c2c25, + 0x83002d2c, 0xe9ff2f63, 0xa801c601, 0x3c003100, 0x26370000, 0xd2823736, 0x27225e83, 0x63820623, 0x64843520, 0x33371723, 0x37d28207, 0x37363233, + 0x22072634, 0x011e1706, 0x33373233, 0x26062306, 0x22233425, 0x16201a82, 0x5d081b82, 0x5e7e011a, 0x3c01735e, 0x01033a2b, 0x2922331c, 0x2418303d, + 0x18220606, 0x27192102, 0x50525e01, 0x6301016b, 0x2d235956, 0x78637b2e, 0x24351201, 0x25161d2d, 0x7e64c52e, 0x484c7201, 0x302e2e49, 0x174f382a, + 0x0a8c2413, 0x3a3b2009, 0x6b015f40, 0x30675658, 0x7e7a014e, 0x1e293f3c, 0xab834022, 0x00092e08, 0x016f0138, 0x000700a5, 0x1b00000a, 0x23272301, + 0x17132307, 0xa1ce0727, 0x28bf282b, 0x5164a02c, 0xfea50150, 0x015e5e93, 0xbbbbec6d, 0x22008200, 0x822d0003, 0x823e2033, 0x000c2c33, 0x001a0013, + 0x06142500, 0x4111012b, 0x162b05b7, 0x33152327, 0x17343532, 0x82012b34, 0x01230808, 0x983a3f3e, 0x393e3892, 0x62628542, 0x6a530853, 0x2f9b536a, + 0x326d0134, 0x12163c2e, 0x3f407fa1, 0x828443e6, 0x01003152, 0x34002000, 0xa9014501, 0x00001200, 0x33363436, 0x08069042, 0x33161424, 0x06173732, + 0x4e5b2022, 0x2f10304c, 0x42423c3d, 0x10313b3c, 0xac999c2e, 0x2a212e64, 0x2a4f904d, 0x40822e20, 0x93840220, 0x93825f20, 0x0f000826, 0x23370000, + 0x06218e85, 0x3a078203, 0xa7233435, 0x60587a7a, 0x8e4ea860, 0x6d01388e, 0x5f58575f, 0xdbfe4901, 0x82009293, 0x20cb8377, 0x24378213, 0x2500000b, + 0x20368215, 0x82bf8215, 0x13012d03, 0xb2bce6e6, 0x01235bb2, 0x247f236d, 0x2b83a386, 0x2b820e20, 0x61820920, 0x572b2b88, 0xadb7e12a, 0x6d01a7df, + 0x86247e24, 0x824d20c7, 0x821920c7, 0x33352223, 0x08f04115, 0x20056043, 0x08d08415, 0x81cc3524, 0x5c52502f, 0x304e4f5c, 0x3e3c3111, 0x2e404442, + 0xa921d52a, 0x56586319, 0x2b212e64, 0x4e4a494d, 0x9b866f0f, 0x9b855b20, 0x35331327, 0x35231133, 0x23768323, 0x2a2ada57, 0x01250282, 0x93fea203, + 0x827882a7, 0x830120ff, 0x570021ff, 0x032e2b82, 0x11130000, 0x2a571123, 0x93fea501, 0x1b836d01, 0xfffdff25, 0x827b00d9, 0x000d2d1b, 0x16350700, + 0x35363233, 0x14113311, 0x03339a82, 0x151a0520, 0x142c262a, 0x1d042423, 0xfe670124, 0x862f3598, 0x824a2077, 0x000a272f, 0x17070100, 0xeb842723, + 0x40013733, 0xbc37c8be, 0x01b32a2a, 0xaebbb2a5, 0xa86d01ae, 0x202b86a8, 0x202b820e, 0x063f4105, 0x0e01112a, 0x245c2ae1, 0xb7fe6d01, 0x97837b83, + 0x82860121, 0x000c241f, 0x82021b00, 0x031130c2, 0x23130323, 0x898a5011, 0x1d772723, 0x82270178, 0x01c522a7, 0x26ab823b, 0x01f1fe0f, 0x85f3fe0d, + 0x203784b3, 0x056b4151, 0x82011b21, 0x032329ae, 0x4d112311, 0xdd2028dc, 0xda223183, 0x31822601, 0xdbfe2522, 0x023d2d82, 0x34002000, 0xa9016c01, + 0x11000700, 0x34360000, 0x14163236, 0x34362206, 0x06222326, 0x3aee8214, 0x599a5920, 0x40c6985a, 0x40403b3a, 0xac983a3b, 0x65ac6465, 0x4e4e9073, + 0x42004f90, 0x36200537, 0x10216784, 0x06374200, 0x2b06143f, 0x33153501, 0x23343532, 0x39912a57, 0x6738403f, 0x38515164, 0x60366d01, 0x4487aa37, + 0x82d78243, 0xd6ff2173, 0x102c7384, 0x00001a00, 0x27260705, 0x26222306, 0x15267a83, 0x16070614, 0x7e873227, 0x1d450128, 0x0a08222e, 0x84825a4c, + 0x17323725, 0x84403a54, 0x1b0f2487, 0x82013c23, 0x56642787, 0x29125c43, 0x8e854f43, 0x8f850020, 0x8f824b20, 0x1800112d, 0x17250000, 0x012e2723, + 0x4215012b, 0x588206cf, 0x22089785, 0x2c2e1d01, 0x1b1d082d, 0x3b912a5b, 0xb820493f, 0xb3545463, 0x1016797b, 0x356d019f, 0x05164931, 0x834588a7, + 0x010033a6, 0x34001900, 0xa9012701, 0x00002300, 0x3316013f, 0x50823632, 0x27262722, 0x42056945, 0x17230894, 0x82161716, 0x233b08b8, 0x340f1922, + 0x01312c45, 0x31332801, 0x3c493d14, 0x32112e50, 0x28302b3b, 0x3f2a1f2e, 0x62573d49, 0x1f222a20, 0x0c0c171b, 0x2f3b1908, 0x2b212e3b, 0x1c1b2024, + 0x140e070b, 0x82382f3b, 0x0006246b, 0x822f0138, 0x420720bb, 0x23310583, 0xb0152135, 0x29017f2b, 0xb7fe8101, 0x24244901, 0x20238200, 0x208f822a, + 0x058b424c, 0x33353727, 0x3d321415, 0x32058201, 0x2a222306, 0x4a2ace2a, 0xdec79147, 0xe26b6be2, 0x824b48de, 0x8201202b, 0x4664204f, 0x1b320547, + 0x23033302, 0x86852e03, 0x9f259f2b, 0xc8fea501, 0xde423801, 0x24278206, 0x02380011, 0x05634228, 0x011b0122, 0x0b3a2882, 0x33032301, 0x2e01011b, + 0x802a6868, 0x23696823, 0x6a672b80, 0xcffea401, 0x35823201, 0xd6fe2a24, 0x0b826d01, 0x8f833120, 0x63820420, 0x63434a20, 0x01250805, 0x23170733, + 0x37230727, 0x01173327, 0x8b853212, 0x32717132, 0x6a32848b, 0xbab3a501, 0xb2bb9b9b, 0xff010093, 0x202f82f7, 0x232f823f, 0x3f000008, 0x15313082, + 0x33273523, 0x8f30739c, 0xf1318f2a, 0x9493dab4, 0x208f82d9, 0x20238217, 0x2023821e, 0x08608209, 0x33031532, 0x13352115, 0x19013523, 0xf9fed6d1, + 0xa501d1d1, 0x23d5fe1f, 0x242a011f, 0x02000000, 0x34001900, 0x40010b01, 0x16000d00, 0x35130000, 0x35231133, 0x08054942, 0x1732332b, 0x06222334, + 0x36321614, 0x172929e2, 0x3f3e3440, 0x4f1a3d33, 0x4c2a2a26, 0x2d0d0129, 0x332ffefe, 0x864b7849, 0x335e3563, 0x20478234, 0x22478228, 0x82b1011b, + 0x00182147, 0x28062548, 0x33112315, 0x32333615, 0x09cf4716, 0x3f1b012d, 0x29193e34, 0x343f1829, 0x82252a14, 0x2526314b, 0x344b78f7, 0xa5790130, + 0x335eb434, 0x342f3033, 0x9382bf82, 0x82f10021, 0x43132093, 0x2542054d, 0x32332308, 0x9c821737, 0x7244193d, 0x26250e22, 0x282c2c28, 0x240e2625, + 0x787d3839, 0x1e1f224b, 0x342e2f35, 0x88221e1d, 0x208b83d3, 0x82d38f15, 0x21d3848b, 0xd2822ae1, 0x3e3f3322, 0x4c208d83, 0x012fd282, 0x87fea30e, + 0x784b332f, 0x345eb549, 0x41355e33, 0x0021071b, 0x288782ff, 0x00160011, 0x23152500, 0x42808614, 0x260805bc, 0x26330716, 0xff002223, 0x252e57bc, + 0x3d3b260e, 0x33354444, 0x0696bb3a, 0x08c24142, 0x231e1e63, 0x4b3b3e48, 0x824a2843, 0x000427cf, 0x01a50038, 0xcf8200b3, 0x71491320, 0x35332608, + 0x17323334, 0x37428215, 0x293f3f5f, 0x104d3232, 0x2c0e0c12, 0x21225c01, 0x2721e1e1, 0x04230552, 0xff238385, 0x820d01c6, 0x00162283, 0x20cb8520, + 0x060f4a14, 0x45013d21, 0x604108db, 0x14320805, 0xe4323316, 0x2b3a7429, 0x4b2e3007, 0x3f343e1a, 0x1a3e343f, 0x2b26252b, 0x0125262b, 0x00ff2d0d, + 0x1a221a74, 0x46333d4e, 0xac47393a, 0x58313158, 0x9b820032, 0x38002829, 0xb1010501, 0x83001000, 0x343526e1, 0x1d062223, 0x06b84101, 0x29050135, + 0x292c233c, 0x5d3d1a29, 0x45a0a2da, 0x0193252d, 0x8230a179, 0x02002396, 0xd3822400, 0xa7015626, 0x07000300, 0x23339782, 0x11073335, 0x32561123, + 0x01290532, 0xfe6d2f78, 0x840201fe, 0xe4ff2427, 0x8500c7ff, 0x20618227, 0x23278213, 0x11353203, 0x2205fd45, 0x82163527, 0x2b592730, 0x10242729, + 0x36821212, 0x3344fe28, 0xdffe1c01, 0xfc842b27, 0x83000121, 0x820c209b, 0x0d07469b, 0x81ff0032, 0x2985368e, 0x39017a29, 0x7c7c867b, 0x76ee7901, + 0x0021c785, 0x462b8251, 0x5127067f, 0xfeb10129, 0x82790187, 0x83012084, 0x9b0125ab, 0x1f004001, 0x2620e386, 0xec87e485, 0x27343527, 0x33361733, + 0x35038332, 0x1a299b01, 0x2a25201c, 0x29262135, 0x18042704, 0x19133c3a, 0xfd82553d, 0x2c212426, 0x45a09326, 0xb9270482, 0x342e2c1d, 0x85003232, + 0x82052057, 0x41122057, 0x4e870c3b, 0x82063d41, 0x40192145, 0x82073f41, 0x422f203b, 0x0121085b, 0x223b820c, 0x46100007, 0x20080933, 0x22263437, + 0x33141506, 0x6e421932, 0x876e4343, 0x4f294c2a, 0x497a7d50, 0x86497a49, 0x2f34342f, 0x27ce8263, 0x24000200, 0x1b01c9ff, 0x0f223b82, 0x6b431900, + 0x43c5860a, 0x3220086d, 0x82066c43, 0x41182180, 0x32066e43, 0x4978f54c, 0x28019f34, 0x38322c1d, 0x33355eb6, 0x82342f30, 0x8219204f, 0x840f204f, + 0x0018274f, 0x33371300, 0x05441506, 0x05e32c13, 0x172a0427, 0x3f3e343f, 0x44174033, 0x09270607, 0xfe2c1d31, 0x44329dd8, 0x00200909, 0x21051741, + 0x4f82b700, 0x4d821120, 0x23260728, 0x1d060722, 0x16412301, 0x01b72707, 0x14240d0e, 0x96822912, 0x0c3d142f, 0x04263d01, 0x931f1918, 0x302c1db9, + 0x243b8336, 0x00340018, 0x2b3b82e4, 0x3f00001d, 0x32331601, 0x012f3435, 0x20056f43, 0x234a8317, 0x011f1415, 0x08052946, 0x260e182b, 0x2c2c3b35, + 0x392d3643, 0x29240e22, 0x472b283a, 0x56402e37, 0x1c271e1e, 0x35100a0b, 0x1e222b22, 0x091e281e, 0x2234120b, 0x20938228, 0x24578204, 0x008a01a9, + 0x2c938214, 0x14152315, 0x15373233, 0x26222306, 0x3f99823d, 0x15373533, 0x0d2d4aa9, 0x2514100f, 0x29323229, 0x8d213a01, 0x06230534, 0x2193272b, + 0x00500e42, 0x26209783, 0xff273f82, 0x10003a01, 0x45370000, 0x3d220725, 0x48833301, 0x29d63635, 0x5d3b1928, 0x2a223a2a, 0xfefe92a8, 0xa066312d, + 0x462c449f, 0x0a24068f, 0x06003901, 0x17347382, 0x23033337, 0x58573203, 0x6e276f29, 0xd4d43901, 0x0101fffe, 0x0e242382, 0xaf013800, 0x0c205782, + 0x273f2387, 0x33032307, 0x4af23717, 0x285f294a, 0x5f28494a, 0x014b492b, 0xfed1d13a, 0x01c9c9fe, 0x86d0d002, 0x820c2057, 0x820b2033, 0x0a334633, + 0x6433d32a, 0x5151326a, 0x32656b32, 0x7d273182, 0x85656585, 0x83005f7d, 0xc4ff232f, 0x2f820a01, 0x000d2c08, 0x33013f00, 0x27070603, 0x3f363736, + 0x89330301, 0x21782958, 0x13240955, 0x6d0a0c13, 0xfed5652c, 0x200f4de6, 0x1b0f0d09, 0x82ff0017, 0x001a2437, 0x82f30038, 0x82092037, 0x4e152067, + 0x233005c8, 0xa6a1ee35, 0x019da2d9, 0x21c21f3a, 0x0021c41d, 0xff295f82, 0x02c0fffa, 0x00c00106, 0x080c8217, 0x33150739, 0x14151632, 0x3522012b, + 0x013b3634, 0x36262735, 0x16322133, 0x38d6f601, 0xf0081711, 0x38111708, 0x171110d6, 0x1117bc01, 0xc0d68601, 0x08081117, 0xd6c01711, 0x822a2a10, + 0x2073824a, 0x344b8200, 0x00c40100, 0x0100001c, 0x22061411, 0x33363426, 0x05351732, 0x2f0b8815, 0x25373411, 0x00021636, 0x38385038, 0xff110f28, + 0x16310887, 0x1a104001, 0xa0fea001, 0x3625251b, 0x4bb90425, 0x2e0885ea, 0x07170601, 0x0013055e, 0xff000002, 0x820002bf, 0x001921a7, 0x2529b782, + 0x010f1416, 0x012f2206, 0x05494526, 0x20053b49, 0x086c8207, 0x36322623, 0x06222634, 0x07f90114, 0x14071c07, 0x38076407, 0x7a7a5648, 0x102c7aac, + 0x6afa070a, 0x4b6a4b4b, 0x21168205, 0x1982071c, 0x2c100a22, 0x7a251882, 0x07384856, 0x2e178207, 0x00006a4b, 0xfffdff01, 0x010302e0, 0x821200a4, + 0x011e210c, 0x3b086586, 0x16363736, 0x3e37011f, 0x2fce0101, 0x0ac12b06, 0x2bc10a1a, 0x6b292f06, 0x26141426, 0x2881016b, 0x0ac82b7c, 0x7c2bc80a, + 0x27092328, 0x09271414, 0x0f000100, 0x3102baff, 0x1800c101, 0x36234782, 0x83021f32, 0x1742084b, 0x012f0616, 0x3f260607, 0x36262701, 0x0301013f, + 0x41092809, 0x0e0c1492, 0x2003196a, 0x11838311, 0x6a190320, 0x92140c0e, 0x1212ae01, 0x26021684, 0x1392670e, 0x44440917, 0x9213180a, 0x02260e67, + 0x00820016, 0x00000225, 0x8201c0ff, 0x07002801, 0x00001b00, 0x83262224, 0x071436fe, 0x011d1632, 0x21230614, 0x013d2622, 0x013b3634, 0x01373216, + 0x2ff18415, 0x1c4f3726, 0x14a0fe14, 0x11374f1c, 0xc0234c23, 0x6b2dec84, 0x142a374f, 0x2a141c1c, 0x10104f37, 0x20008200, 0x085c8509, 0x00800126, + 0x003b002f, 0x00530047, 0x006b005f, 0x00830077, 0x0100008f, 0x11151632, 0x012b0614, 0x012b3435, 0x21011d22, 0x23240786, 0x11352622, 0x15276d83, + 0x32013b14, 0x8621013d, 0x85278707, 0x8f338515, 0x8605200b, 0x20178f43, 0x82179617, 0x837b84d6, 0xe8012b2f, 0x0a0e0e0a, 0x0c280c08, 0x0482c0fe, + 0x0d870820, 0x83400121, 0x82802012, 0x24028e04, 0xc80c1001, 0x2002880c, 0x821d8e70, 0x80012b0e, 0xb0fe0a0e, 0x0c140e0a, 0x0383140c, 0x010a0e23, + 0x230d8950, 0x0c28ccfe, 0x6c202482, 0xc426058a, 0x600c0c60, 0x0584b40c, 0x1d908c20, 0x04000036, 0xe0ff0000, 0xa0010002, 0x1f000f00, 0x3f002f00, + 0x33010000, 0x8205a441, 0x822620c6, 0x233621cd, 0x33250e8d, 0x3b363403, 0x21138901, 0xcb410535, 0x23138507, 0xc0280123, 0x0483e883, 0x08874620, + 0x0e180a23, 0x2115870a, 0x15882801, 0x0ea00124, 0x0d83a00a, 0xfe21048c, 0x201288f8, 0x221f8918, 0x8a090000, 0x002034ab, 0x00420030, 0x00620052, + 0x00820072, 0x13000092, 0x87061415, 0x239e83b1, 0x010e1417, 0x15210f8b, 0x23b68e37, 0x020e1423, 0x9b42208c, 0x21138706, 0x308e0733, 0xe78e2520, + 0x0f8e0720, 0x2f8e2520, 0x0a0e9525, 0x840e0a65, 0x07b62404, 0x8366060b, 0x2004820b, 0x24168920, 0x08070420, 0x20178705, 0x222b86ce, 0x89180a0e, + 0x83012121, 0x4b871588, 0xfe0a0e25, 0x870a0ecd, 0x88012235, 0x83218350, 0x82fa2004, 0x0a0e2164, 0xa0200e84, 0x0a241387, 0x04060905, 0x88201486, + 0x21820786, 0x1f88b820, 0xa020148a, 0x68201f89, 0x00201f88, 0x06200082, 0x25102342, 0x005f004f, 0x71413700, 0x0f2f410e, 0x37421320, 0x4113200e, + 0x3321052f, 0x23178521, 0x36340123, 0x21240b88, 0x17352622, 0x3f411f8e, 0x200a8a0a, 0x0810417d, 0x0983b520, 0x831b0121, 0xcdfe2305, 0x09860a0e, + 0x0e0ae523, 0x20188918, 0x081d41e8, 0xd288aa20, 0x89a80121, 0x40fe21e8, 0x01210b89, 0x202288a8, 0x821589b8, 0x830120ff, 0x00022503, 0x14007f01, + 0x2729f582, 0x013f3426, 0x011f3236, 0x31048337, 0x01071416, 0xa7ae2206, 0x07250707, 0xf0700815, 0x08821508, 0xd9fe072b, 0xa6091607, 0x24071607, + 0x21138308, 0x0a822408, 0x08dafe22, 0xff294783, 0x010f00ff, 0x00710161, 0x204b8223, 0x07224617, 0x22060724, 0x5883012f, 0xf32e5d90, 0x16090964, + 0x64091a0a, 0x0a1a0964, 0x07830916, 0xc0200f8c, 0x2f821796, 0x73822784, 0x97460320, 0x001b2a08, 0x003d0035, 0x14150100, 0x2303842b, 0x23013d22, + 0x34230382, 0x8235013b, 0x1d322503, 0x13323301, 0xb2468a85, 0x011f310e, 0x34261416, 0x14062226, 0x30013216, 0x200c380c, 0x06860382, 0xc246c920, + 0x07642910, 0x507050a8, 0x00017050, 0x0c23268a, 0x46d7fe38, 0x64230fd1, 0x83ce1407, 0x00502128, 0x0b24a389, 0x2d002500, 0x9b85a386, 0xa82493a5, + 0x0ca80c0c, 0xb5828b9d, 0x022c839b, 0xc7ff0700, 0xc001f801, 0x39002900, 0x27088182, 0x1415011e, 0x2e222306, 0x3e343501, 0x16363701, 0x0616011f, + 0x15030e07, 0x32331614, 0x26343536, 0x3f012e27, 0x07013e01, 0x080d7844, 0x90011529, 0x67913830, 0x1a437243, 0x1509202e, 0x04041005, 0x11191007, + 0x4546620a, 0x07202463, 0x05100404, 0x0a0e5f15, 0x840e0a20, 0x01270804, 0x3d6b228a, 0x72429167, 0x3e4c2944, 0x09050617, 0x0512081c, 0x27221d0c, + 0x62634515, 0x18472747, 0x1c081205, 0x83d80509, 0x83f0202e, 0x00002804, 0xff180005, 0x826802c0, 0x07b345a7, 0x00004f23, 0x0e6d4337, 0x200fcd44, + 0x071b4725, 0x20050b47, 0x472f8233, 0x0f96052b, 0x0907d825, 0x83300709, 0x88502004, 0x84012009, 0x2004840f, 0x891488b0, 0x09a02309, 0x1683c007, + 0x60230482, 0x83600709, 0x2404820a, 0xfe0709c0, 0x230b83e0, 0x09072001, 0xfe211782, 0x820c8480, 0x820c8305, 0x07092213, 0x081f8201, 0x00000025, + 0xff100002, 0x01f001c1, 0x003c00bf, 0x25000044, 0x07060716, 0x06012f06, 0x07141507, 0x3d262706, 0x83272601, 0x26273a07, 0x3426013f, 0x37262737, + 0x1f363736, 0x35373601, 0x17363734, 0x16011d16, 0x26078317, 0x010f1617, 0x49060716, 0xe73a0762, 0x26110309, 0x1b2b0806, 0x36370922, 0x2a1b220a, + 0x11260609, 0x032a0903, 0x19842a03, 0x832a0921, 0x09372119, 0x27081989, 0x42de0606, 0x2f422f2f, 0x350a0484, 0x19040729, 0x0a310c17, 0x020c0c02, + 0x170c310a, 0x29070419, 0x19050935, 0x19112411, 0x05211e84, 0x251e9018, 0x2319040a, 0x40822d23, 0x82422f21, 0xffff29d3, 0x4102e0ff, 0x1e00a001, + 0x0124d383, 0x011f3236, 0x27093745, 0x012b012e, 0x011d0622, 0x2c074142, 0x14151625, 0x2306010f, 0x26012f22, 0x20088722, 0x066f4435, 0x5f463520, + 0x18012a07, 0xb8040804, 0x07700709, 0x22088209, 0x84090740, 0xdc01290a, 0x04190304, 0xeb030505, 0xeb3c1482, 0x04060403, 0xfd040319, 0x5a0d220e, + 0x05380507, 0x022c0107, 0x07a49802, 0x60060a09, 0x09281f82, 0x0a066007, 0x31a40709, 0x032a2682, 0xc203051f, 0x03c20202, 0x35831f05, 0x0b0bd02a, + 0x0705494a, 0x008b0507, 0x023c0082, 0xc8ff0800, 0xb801f801, 0x17000700, 0x32120000, 0x22061416, 0x16053426, 0x2f36013f, 0x34083f49, 0x91ce9917, + 0x0191ce91, 0x1c070a31, 0x0c400907, 0x01050c30, 0x2e1082b8, 0x07cdce91, 0x070a2709, 0x0c0c8a2e, 0x820406a8, 0x0336084f, 0x0000fbff, 0x80014502, + 0x30002200, 0x00004200, 0x2b061625, 0x26342701, 0x0e22012b, 0x23071501, 0x13372622, 0x07013b36, 0x013b1614, 0x27353632, 0x0f173233, 0x0c840601, + 0x83012f21, 0x32172425, 0x8535013e, 0x06200830, 0x1e140715, 0x3d023301, 0xc4111207, 0x4407090b, 0x0b050704, 0x071211c4, 0x6213088c, 0x1e030503, + 0x622b0382, 0x04ad0813, 0x28060701, 0x82010706, 0x07282207, 0x23fe8237, 0x2e060906, 0x09820382, 0x102d2708, 0x0806621d, 0x62040604, 0x4001101d, + 0x05041713, 0x13170405, 0x08052c34, 0x072c0508, 0x050805b0, 0x08080630, 0x08823006, 0xbf820020, 0x02c0ff35, 0x00c00100, 0x002b0015, 0x003b0033, + 0x32331300, 0x82011d16, 0x07834b04, 0x35013b26, 0x15013634, 0x230be24a, 0x3f321617, 0x06202283, 0x4b063f45, 0x2d0805fb, 0x50d83216, 0x0d580e0a, + 0x0698090a, 0x09980610, 0x0e580d0a, 0x0a0e3201, 0x0e0a30fe, 0x31930a0e, 0x310f2a0f, 0x7c0e0a93, 0x0c0c100c, 0x05844c10, 0x0ec00125, 0x8219a80a, + 0x262e822f, 0x0e0aa819, 0x837088fe, 0x2504822b, 0x310f0f31, 0x29836a0e, 0x02832c82, 0x00020022, 0x022a0082, 0x00800140, 0x001e0016, 0x764b2500, + 0x3f44080b, 0x33023e01, 0x17163221, 0x17330705, 0x27333733, 0x1c083802, 0x1420fe14, 0x046a081c, 0x0107100d, 0x06170b0c, 0x7b55d4fe, 0x7b207020, + 0x0f0ccc55, 0x1c1c1481, 0x0c0f8114, 0x060a059f, 0x802b080d, 0x00804040, 0x012c0082, 0xc8ff0700, 0xc0010102, 0x00003c00, 0x2a0a114a, 0x3634013d, + 0x17333033, 0x5623012e, 0x362c059f, 0x32333637, 0x1516011f, 0x030e0714, 0x82055045, 0x011e2510, 0x31342717, 0x01262a82, 0x070705f4, 0x0483c805, + 0x65012508, 0x49275516, 0x1c496767, 0x04041444, 0x03220405, 0x2d290e04, 0x7343142e, 0x1f669242, 0x04144149, 0xc0010507, 0x2f2b2c86, 0x20050705, + 0x6792672e, 0x8203121a, 0x06053629, 0x11180d03, 0x4472420a, 0x29179266, 0x05015217, 0x02000007, 0x05ef4d00, 0x2a00c024, 0xa5825400, 0x3b227083, + 0x72433201, 0x857f8209, 0x06072ca8, 0x2622012b, 0x3e353435, 0x82323301, 0x3203219b, 0x2a82b682, 0x0128b584, 0x27262223, 0x14311417, 0xb94c2483, + 0x056f4505, 0x1e272329, 0x07b90101, 0x860c2f05, 0x82662094, 0x643a2ac0, 0x310a020d, 0x89110705, 0x23b3835a, 0x0e6439bd, 0x01260f84, 0x305a8910, + 0xc3821f6e, 0x15232e89, 0x82b30156, 0x840c20a9, 0x22d185fe, 0x8209384f, 0x570122e5, 0x21c58273, 0x0d88affe, 0x83243321, 0x23288bd2, 0x07000000, + 0x2e0a9b49, 0x001f0017, 0x00330027, 0x004b003f, 0x45210500, 0x212006d8, 0x2805f845, 0x14062200, 0x34363216, 0x20078e06, 0x0ac74c37, 0x0b961520, + 0xfed00129, 0x1c1c1460, 0x82a00114, 0xadfe2405, 0x8d171722, 0x4cf82002, 0x088808b2, 0x2d822020, 0xfe203384, 0x01213382, 0x20308468, 0x26058a49, + 0x0c0c209f, 0x8a540c20, 0x06ab4105, 0x01c00124, 0xc98300c0, 0x4e250021, 0x35220f2b, 0x12833634, 0x34352329, 0x1d062226, 0x82900101, 0x8314208d, + 0x141c2d5f, 0x597e5918, 0x2a3c2a50, 0xc0141ce0, 0x04821583, 0x3f482a08, 0x483f5959, 0x2a2a1e48, 0x0000481e, 0xff080001, 0x010002c0, 0x002700c1, + 0x37320100, 0x011d1636, 0x23060714, 0x22232622, 0x06904507, 0x26113522, 0x17276282, 0x1417011e, 0x82071415, 0x013d086b, 0x0f45305e, 0x3f3b0e1e, + 0x3e1a6824, 0x100a0e34, 0x22180e0a, 0x011f1618, 0x68472104, 0x07205d01, 0x11f31212, 0x17232909, 0x0e0e0a5e, 0x1182010a, 0x0121181d, 0x02151e01, + 0x0c0a0a02, 0x4d738223, 0x3123075b, 0x85120000, 0x010f21cd, 0x200c964c, 0x4dcb8617, 0x2f300c51, 0x3d012e01, 0xd4963401, 0x0e080a96, 0x182d4102, + 0x18275d83, 0x9e71212f, 0x852f2171, 0x412d3d0c, 0x0a080e02, 0x6a96a001, 0x04110830, 0x0e3f2d07, 0x0e0ab00a, 0x714f0222, 0x22024f71, 0x3f270c84, + 0x1104072d, 0x826a3008, 0x000034ee, 0x0001fcff, 0x11008401, 0x36130000, 0x14111516, 0x82012f06, 0x05c842fa, 0x1e0bd726, 0x66590b1e, 0x66326483, + 0x0c0b7901, 0x10b0fe10, 0x0e590b0c, 0x0e0a900a, 0x3b820200, 0x8101fa22, 0x23203b84, 0x17313d93, 0x0614011e, 0x012e0607, 0x34363736, 0x3e012e27, + 0x2b4f8b01, 0x191915d4, 0x09140815, 0x15150905, 0x14220482, 0x5f8d7801, 0x290c1332, 0x050c2930, 0x05131106, 0x050c2e0c, 0x00061113, 0x2c05934e, + 0x014002ce, 0x001100b2, 0x003e0027, 0x20779350, 0x21778925, 0x8c49023e, 0x013e2205, 0x298a8316, 0x36262726, 0x34023e37, 0x8e84012e, 0x07161722, + 0x2908a29c, 0x443c4201, 0x14083c44, 0x2109040b, 0x31391a2f, 0x140b0409, 0x09292d28, 0x04050513, 0x0f1d1309, 0x09131d0f, 0x08140a04, 0xcb8f6129, + 0x080e2b41, 0x7e278c2d, 0x06277e8e, 0x05141005, 0x274a3d16, 0x0521683b, 0xc2051014, 0x06195360, 0x13090805, 0x2c240c06, 0x0c242c2e, 0x05111306, + 0x92361906, 0x092e08f8, 0xe0ff0000, 0xa001c001, 0x07000300, 0x0f000b00, 0x17001300, 0x27002300, 0x00002b00, 0x1533013d, 0x35331527, 0x23153337, + 0x15233537, 0x0f853501, 0x0f822520, 0x23200e82, 0x33210e82, 0x200b8215, 0x24038227, 0x804080c0, 0x200482c0, 0x290483fe, 0x60202001, 0x40604020, + 0x02822020, 0x1183e020, 0xc0404025, 0x82404040, 0x2d22821c, 0x20804040, 0x8020c060, 0x00202020, 0x00820010, 0x01000223, 0x227f8c80, 0x861f001b, + 0x002f2d83, 0x00370033, 0x003f003b, 0x33113100, 0x122a01bc, 0x09120909, 0x121b0924, 0x0083091b, 0x1b121a23, 0x22008312, 0x831b1209, 0x01122410, + 0xbb80fe80, 0x0bf74503, 0x19001124, 0xe9420000, 0x1f322205, 0x08935301, 0x07453620, 0x141c2a06, 0xd40e14cc, 0x0ecc0e0e, 0x29068228, 0x1c1c2884, + 0xccc41c28, 0x0c821c14, 0x14822820, 0xd0200682, 0x1c211182, 0x08474d28, 0xc0018023, 0x22538300, 0x53000029, 0x34250be1, 0x32013b36, 0x07764a17, + 0x0607052a, 0x36372722, 0x33012f34, 0x01217484, 0x846187f2, 0x84c2206f, 0x32022166, 0xae247483, 0x31c51a1a, 0xde208283, 0xcc218182, 0x8270820e, + 0x0e1c2291, 0x20758492, 0x241082a2, 0x1b4a1bae, 0x831682c4, 0x05834882, 0x24062345, 0x002f0023, 0x24858238, 0x14060714, 0x08e04717, 0x4f113521, + 0x15210557, 0x06e55205, 0x230fd752, 0x21372613, 0x3337fc83, 0x0309c001, 0x0a0e0903, 0x3828b8fe, 0x48012838, 0xc0fe0e0a, 0x8806d406, 0x03fd3302, + 0x0de3fe03, 0x580d1313, 0x340b070c, 0x100b080b, 0x27820e0a, 0x3828402b, 0x146e0a0e, 0x06140606, 0x26058446, 0x202000ff, 0x55131a13, 0x0128055b, + 0x00c00180, 0x1500000a, 0x11348687, 0x01141c27, 0xc01c1420, 0x14d00140, 0xfe141c1c, 0x00007030, 0x240a4b49, 0x00270023, 0x48c78330, 0x3d490841, + 0x06a24408, 0x84353321, 0x011f29d1, 0x35031516, 0x35251521, 0x23221784, 0xe34b0415, 0x1bc03a07, 0x30070925, 0xc0fe0d13, 0x0730130d, 0x131b2509, + 0x0d13010d, 0x40092e09, 0x829482ff, 0x01c02f11, 0x0e0e1426, 0x00010e14, 0x07701b25, 0xd4836009, 0x07096028, 0xa0251b70, 0x2782130d, 0x8dfe0d25, + 0x82e06060, 0xa0302211, 0x23268248, 0x0300140e, 0x28085747, 0x0022001a, 0x0100002a, 0x05d34911, 0x23054854, 0x3b023e37, 0x1f20af82, 0x280cd749, + 0x26220614, 0x02323634, 0x20e48200, 0x3dea8360, 0x0d040c58, 0x0f7e0a12, 0x580c0618, 0x46881c14, 0x64464664, 0x34483426, 0x30014834, 0x2183e0fe, + 0x1420012c, 0x0e09211c, 0x210e1108, 0x1e83d61c, 0x839c4621, 0x0034221e, 0x080b4402, 0x32002b23, 0x070b4700, 0x24079b52, 0x2327013b, 0x0ea65307, + 0x13013b23, 0x2f938236, 0x33271317, 0x06272627, 0x07b00107, 0x88070909, 0x17240483, 0x181b8a1a, 0x1b320d88, 0x480c0481, 0xe781040c, 0x02062963, + 0x09200503, 0x1b832007, 0x51210482, 0x280b8951, 0x0b0b7501, 0x7c948bfe, 0x31008211, 0x03000000, 0xe0ff0800, 0xa0017801, 0x2c002200, 0x91823700, + 0x15011e24, 0x34490614, 0x055d4305, 0x51461120, 0x17322108, 0x27311c84, 0x36323315, 0x26273435, 0x013e1323, 0x2b263435, 0x28108201, 0x26213101, + 0x281b2732, 0x217383c4, 0x05832121, 0x1e32ba3c, 0xbc1c2420, 0x191c194d, 0x102d170e, 0x551d2213, 0x0bcc1451, 0x432c2738, 0x9184080b, 0x093f0123, + 0x392a8207, 0x24380c0c, 0x7181331f, 0x0d241a1f, 0x06cffe07, 0x221d1522, 0x01000081, 0x9b821600, 0x9b822a20, 0x00002036, 0x0f163237, 0x012b0601, + 0x013f2622, 0x13013b36, 0x012e2223, 0x17860984, 0x07cd0334, 0x0206020a, 0x09089f0d, 0x0d020701, 0x05223e28, 0x09830408, 0x1085a020, 0x203e2926, + 0x0d20070c, 0x01240383, 0x05090540, 0xfe340a85, 0x000000c0, 0xff000002, 0x014302d9, 0x002d00a7, 0x13000047, 0x8306c852, 0x013d236b, 0x8f411123, + 0x23112110, 0x26065848, 0x3634013d, 0x82161705, 0x4c152095, 0x2f22052a, 0x9b822601, 0x84233521, 0x01102ba4, 0x09090720, 0x09072307, 0x08832237, + 0x04839020, 0x84372221, 0x01092e11, 0x080850e2, 0x0b30300b, 0x0b500808, 0x220b8a0b, 0x4f09a001, 0x30220562, 0xb541c0fe, 0x3040210a, 0x602c3d83, + 0x50050907, 0x14e01407, 0x0c0c5007, 0x00290887, 0xfff9ff02, 0x01c701dd, 0x83bf94a0, 0x0b164b9a, 0x35013b22, 0x0125bf8b, 0x06010f16, 0x82e78226, + 0x2dbe82d3, 0x1636013f, 0x3533011d, 0x10173634, 0xbf86a001, 0xbf8a7720, 0xbf867720, 0x8089b220, 0xb9898986, 0xb8898020, 0xb7878020, 0x8cabfe21, + 0x44f289e6, 0xdc240533, 0xa401c001, 0x440aab56, 0x3426082b, 0x32213336, 0x53540516, 0x0f73540e, 0x534a2720, 0x0133260d, 0xff070920, 0x20be8300, + 0x23058201, 0x0709e0fe, 0xfe24cc85, 0x10090760, 0xdb841684, 0x27860484, 0x83289421, 0x20048317, 0x24088787, 0x09f0fe07, 0x20168707, 0x200a89c8, + 0x43b39800, 0xb38209c8, 0x200ef754, 0x860f8e01, 0x253287b3, 0x09600133, 0x7a83e007, 0xfe210482, 0x83a489b0, 0x82bf87b3, 0x202486be, 0x20af8901, + 0x219989bf, 0xb09600ff, 0x00000423, 0x0e6341ff, 0x7e451320, 0x08604605, 0x5506f756, 0xaf8f08bb, 0xbf8e2520, 0x9482a020, 0xa6830020, 0x0582ff20, + 0xaf959020, 0x82098341, 0x416c202c, 0x89200861, 0x8020b195, 0x200c6241, 0x20b39200, 0x56b38e11, 0xb39f0f5b, 0x41160742, 0x0b8b0b62, 0xb2ac0120, + 0x00000628, 0x0002f0ff, 0xc7429001, 0x004f2408, 0x4100005f, 0xb38f0f67, 0x41066759, 0x8b590f77, 0x58232007, 0x0f8f0f8f, 0xd4828020, 0x09076026, + 0xa0fe0709, 0x8807dc42, 0x201a880e, 0x20208320, 0x21049740, 0x9a414c01, 0x41a92008, 0xa0200983, 0x01230a89, 0x87070934, 0x9216823d, 0x0000250a, + 0xf9ff0500, 0x220e6342, 0x4100004a, 0xdd8816b1, 0x200fb141, 0x0f7d5927, 0x92442620, 0x06142205, 0x0bbc4127, 0x2843d020, 0x84f58206, 0x05de43ec, + 0x82073e43, 0x0c552715, 0x1407600c, 0xc2410714, 0x0b592a2c, 0x0808600b, 0x080bc00b, 0x43cf8308, 0xcf991033, 0x880fbd41, 0x0f35430f, 0x6f452520, + 0x36342206, 0x43cf8b17, 0x002005ef, 0x8042d583, 0x0b3f430b, 0xb3cbfe21, 0x8c6f20d2, 0x0a3f52d2, 0x19000f22, 0x2008595d, 0x07545023, 0x454e0520, + 0x01352607, 0x1c1c1450, 0x06cd4814, 0x2210de27, 0x016e0f23, 0x31108880, 0x261c1420, 0xff14110b, 0x0b111400, 0x00009e4b, 0x03820300, 0x012b5c82, + 0x000f0080, 0x00220017, 0x50012900, 0x072615a7, 0x26273521, 0x0383010f, 0x300d7e50, 0x21212ea3, 0x0168212e, 0x08085880, 0x08083888, 0x055e4a48, + 0x01217285, 0x231b8248, 0x70e72e21, 0x00201c87, 0x01280082, 0xbfff0000, 0xc0018001, 0x00247182, 0x35062e17, 0x0805895f, 0x07050e2f, 0x18ac2206, + 0x0b221a3d, 0xa070030d, 0x0b0d0370, 0x183d1a22, 0x23361a07, 0x16352458, 0x50111922, 0x11507070, 0x35162219, 0x0a235824, 0x55b68200, 0x0d20090b, + 0x300a5363, 0x26343632, 0xce910823, 0x67ce9191, 0x4c6c6c4c, 0x24098359, 0x986c4091, 0x3233836c, 0x01c0ff00, 0x00c10160, 0x00210011, 0x031e1300, + 0x82061415, 0x3e3426f1, 0x32363702, 0x833a8403, 0x2631080e, 0x14150622, 0x3610cd16, 0x9267212c, 0x352d2167, 0x172d0710, 0x07090907, 0x0e092f21, + 0xaa014209, 0x49365f34, 0x68684a26, 0x3848264a, 0xfe16345e, 0x21168240, 0x2183212f, 0x00422e25, 0x82030000, 0x02c022e3, 0x37e38240, 0x001a000c, + 0x01000037, 0x020f1617, 0x3f012e06, 0x16373602, 0x06010f14, 0x2305b447, 0x34031732, 0x41072843, 0x212008cd, 0x35061b49, 0x93012111, 0xdb07075a, + 0x060b065c, 0x07db0a01, 0x240b0ba9, 0x11820707, 0x200b2428, 0x2804840c, 0xa15f0f05, 0x141c2e05, 0x06081e01, 0x05032806, 0x014001e6, 0x2220826d, + 0x82010adb, 0xdb5c2733, 0x200c1007, 0x3384230c, 0x0c0c232d, 0x0305b2fe, 0x08060628, 0x521c149e, 0x0f25050e, 0xfe042805, 0x36ae82c0, 0x40000100, + 0x8001daff, 0x1500a601, 0x11170000, 0x32013b34, 0x4237011d, 0x152e0755, 0x22012b14, 0x0c300c40, 0x25250fc4, 0x0882c40f, 0xa8011432, 0xb5b00c0c, + 0xfe14120d, 0x0d121480, 0x000cafb4, 0x002b4382, 0x0002faff, 0x1f008601, 0x89350000, 0x82488c43, 0x254d84f7, 0xac0c280c, 0x0282250f, 0xac0f2522, + 0x0e820282, 0x68010c26, 0x9d980c0c, 0x84205282, 0xfe210483, 0x215782c0, 0x0483839c, 0x000c9724, 0x5b870002, 0x17000b29, 0x26370000, 0x85013f34, + 0x8b27209d, 0x0c0c230b, 0xa283c00c, 0x07864020, 0x1e0aa724, 0x5182a00a, 0xa0204c84, 0x00210c8b, 0x2faf8400, 0x01c101b8, 0x000b00c8, 0x14162500, + 0x26060507, 0x3638b682, 0x18a80117, 0x17a0fe18, 0xe9153331, 0xd00e360e, 0x011c1b0e, 0x0e191ea0, 0x87843282, 0xc001e126, 0x0f00a101, 0x1720e583, + 0x5308ca60, 0x252305d5, 0x432b0614, 0x3b210640, 0x25128201, 0x1c146090, 0x0483141c, 0x07860120, 0x1f200c83, 0x200b8c53, 0x078c4130, 0x82141c21, + 0x82012060, 0x057350e7, 0xe5430f20, 0x0b615311, 0x41a00121, 0x5e8208fb, 0x4f0f1f41, 0xcd850509, 0x14160724, 0xd987010f, 0x2041f420, 0x41d9200e, + 0x01240613, 0x0d121440, 0x84072041, 0x0ecf410c, 0x14110122, 0x3d24d982, 0x26060701, 0x35260484, 0x1f363411, 0x04853501, 0x0221eb82, 0x11d14100, + 0xfe740123, 0x0bd24198, 0xd2415784, 0x0d734208, 0x5a875f8a, 0x01215582, 0x0b744280, 0xfe940123, 0x06754258, 0x75420120, 0x00003108, 0xfff7ff02, + 0x01c901e0, 0x000f00a0, 0x2500001b, 0x360e834a, 0x3f262225, 0x1f323601, 0x23061601, 0x0d13c001, 0x130d80fe, 0x82010d13, 0x70fe2e05, 0xb015191f, + 0xb00e2a0e, 0x401f1915, 0x83168340, 0x39333804, 0x1010c017, 0x003917c0, 0x00010000, 0x01e5ff1b, 0x009b0125, 0x85000014, 0x06946346, 0x5e010f21, + 0x232a0523, 0x071407c2, 0x07010716, 0x04829b9b, 0x0c821620, 0xd108c224, 0x128207c2, 0x12831420, 0x07201b83, 0x4b8f2282, 0x83072521, 0x012e213e, + 0x8406d663, 0x0114229f, 0x204c921d, 0x204c93af, 0x0a075a02, 0x075a2320, 0x3435210a, 0x26086d63, 0x011d2223, 0x50013b14, 0x33210675, 0x06135a32, + 0x5c0c8824, 0x0382380c, 0x175a0686, 0x8a832006, 0x5c0c2112, 0x200d5b45, 0x275f8913, 0x3d322117, 0x21233401, 0x4f855a83, 0x08017427, 0xf8fe0c0c, + 0x2047860c, 0x05875e8f, 0x8b0c9b45, 0x3727249f, 0x46012f36, 0x06230647, 0x8207011f, 0x3f162303, 0x03821701, 0x4f853620, 0x4272012b, 0x28080842, + 0x41410908, 0x20068209, 0x860d8c08, 0x93a82064, 0x5b29861b, 0x00201123, 0x20060750, 0x317a8d03, 0x91f80116, 0xce9191ce, 0x0c0cb884, 0x960b0c16, + 0x06820b46, 0x0b680c24, 0x15832701, 0x85fe9127, 0x170b0bb8, 0x8317830b, 0x0c682406, 0x41030000, 0x2b220a73, 0x69823300, 0x07215986, 0x2dc78422, + 0x33023e37, 0x14151632, 0x020e0706, 0xa064011d, 0x023e2406, 0x57263435, 0x728607e4, 0x2b4a603f, 0x09230906, 0x140d0b07, 0x0f1d110d, 0x14111211, + 0x1a0c380c, 0x20481a1f, 0x261b1b26, 0x3e82861b, 0x07094052, 0x0d09071a, 0x0e130a0d, 0x0a0a0d0b, 0x04131e0c, 0x09010c0c, 0x1a261012, 0x82f83c2a, + 0x261b2128, 0x978c8482, 0x27000f22, 0x2009ad41, 0x06535324, 0x15421720, 0x2096820a, 0x06194215, 0x2a071142, 0x19192209, 0x0c0e1922, 0x82400c0c, + 0x20028203, 0x07cd4158, 0x17822320, 0xe5221928, 0x0c640c18, 0x1d82180c, 0x850c1821, 0xff00306f, 0x010002c0, 0x002800c0, 0x00580050, 0x82322500, + 0x012b25ee, 0x1507020e, 0x22052444, 0x6027012e, 0x3e2206c7, 0xca603701, 0x011e2306, 0x0d820717, 0x21821786, 0x0e232b86, 0x85330701, 0x8421823f, + 0x3415212b, 0x2f065741, 0x0c0cf401, 0x4e33071e, 0x0c280c2e, 0x1e0b6546, 0x0b220d82, 0x0c854665, 0x3f2cb62a, 0x0c0c290a, 0x2c3f0a29, 0x0c8c1082, + 0x131a1325, 0x82e01a13, 0x4e2e2315, 0x348c0733, 0xb5200c86, 0x41853492, 0x3a837920, 0xe4821320, 0x210beb41, 0x0143000d, 0x2e042b0a, 0x36010701, + 0x37011e04, 0xb1420601, 0x60aa2806, 0x01013488, 0x8291fe26, 0xfffe2207, 0x06a44226, 0x0b601527, 0x34fffe26, 0x2206821c, 0x82340101, 0x01002d52, + 0xe5ffffff, 0x9b01c001, 0x00001d00, 0x2105ff43, 0x53443426, 0x06162305, 0xbe50010f, 0x21232c06, 0x01011e17, 0x14071702, 0x8207c207, 0x07143302, + 0x07010717, 0x0a1f0178, 0xfe0a0e0e, 0x010778e1, 0x17851603, 0x28061744, 0x200a0e73, 0x07730e0a, 0x25638414, 0xe5ff0000, 0x6385c101, 0x44371321, + 0xaa440556, 0x3f362206, 0x06e76701, 0x27213325, 0x8fbe012e, 0xe1fe2162, 0x01216283, 0x2162821f, 0x639c7d01, 0xe0ff0526, 0xa101bb01, 0x3720c783, + 0x46082163, 0x2f220566, 0x03471101, 0x0e072307, 0x46962301, 0x7b8a9e20, 0x82081621, 0x257b8ade, 0x05000100, 0x5f82dfff, 0x5f83a020, 0x93632520, + 0x34263508, 0x1636013f, 0x3411011f, 0x32013b36, 0x37111516, 0x9d01013e, 0xe2206096, 0x3f41dc8f, 0x0727410a, 0x0102dc29, 0x1e00a501, 0x85010000, + 0x3d4b08ba, 0x14030e01, 0x27061617, 0x3435012e, 0x3537033e, 0x01173634, 0xb00808f8, 0x44311c0c, 0x040d1732, 0x30230b15, 0x504c321e, 0x010c1c34, + 0x07160702, 0x0f0d0a98, 0x190b0158, 0x0c2b402a, 0x5519080e, 0x29422c2c, 0x50010919, 0x830a0d0f, 0x47042063, 0x102608cb, 0x32002100, 0x554d4300, + 0x21bc8205, 0xf063011d, 0x34252107, 0x2806514d, 0x3d22012b, 0x35222301, 0x070b5d17, 0x82013d21, 0x3435231a, 0x2a820733, 0x84262221, 0x311a820d, + 0x0e153233, 0x0c0c7c0a, 0x0c280c54, 0x7c0c2001, 0x08820e0a, 0x940c5423, 0x2015860c, 0x201288ec, 0x881c9b01, 0x5aa7962f, 0xaa84068d, 0x76823320, + 0xd8481420, 0x43858405, 0x0e4805a3, 0x06ce4306, 0x15163223, 0x05fa4317, 0x84363421, 0x210c8234, 0x9d87b401, 0x88e0fe21, 0x83ad84b3, 0x82c02099, + 0x21158509, 0x1d880001, 0xce861820, 0x58fe0c22, 0x1984e285, 0x00214685, 0x091b4900, 0x81552320, 0x08d3530a, 0x6108ee54, 0xa02b0998, 0x0d13130d, + 0x200d1390, 0x8990130d, 0x8ff0200a, 0x831b8510, 0x9000275f, 0xf000c001, 0x5f880f00, 0x2107196b, 0x4b840133, 0x85053b48, 0x20458440, 0x26008200, + 0xff130001, 0x82ed01c0, 0x82362039, 0x011e3937, 0x010e010f, 0x1617012f, 0x22012b06, 0x07013f26, 0x012f2606, 0x013f3626, 0x2c069f64, 0x2627011f, + 0x013b013e, 0x010f1632, 0x05c56437, 0x01010f37, 0x050509de, 0x08140513, 0x0e01038b, 0x0e0b260b, 0x088b0301, 0x23118214, 0x8e8e0905, 0x07221a89, + 0x1b8d070b, 0x13057231, 0x05092209, 0x0ba25406, 0xa20b0e0e, 0x82050654, 0x0513230e, 0x17884e4e, 0x188b3282, 0x220edb44, 0x461d000f, 0x022009c7, + 0x22062f46, 0x82141727, 0x3735239e, 0xc1822634, 0xb4460620, 0x26543006, 0x1b261b1b, 0x300c085a, 0x0507080c, 0x46070540, 0xfe2106a5, 0x291682d6, + 0x88c0261b, 0x06880b0b, 0x7f4f0707, 0x02e03806, 0x00a00100, 0x000d0006, 0x0039002e, 0x33000043, 0x23153335, 0x82052622, 0x06142206, 0x068b6823, + 0x6f09776c, 0x163105f1, 0x33013e17, 0x14151632, 0x2e332107, 0x0e222301, 0x05dc6501, 0x83263421, 0x073b080b, 0x0da0c020, 0xc0000113, 0x0d200d13, + 0xfe070913, 0x13090720, 0x340a2c0d, 0x1b2e1e24, 0x241e2e1b, 0xe4fe0a34, 0x12212356, 0x170b120b, 0x171711df, 0x20110c11, 0x13a08019, 0x8280a013, + 0x13403837, 0x0907500d, 0x0d500709, 0x24151313, 0x24242034, 0x14243420, 0x821b3514, 0x2d2c822e, 0x24071722, 0xff010025, 0x02bdfffd, 0x975e0140, + 0x2e898205, 0x26060706, 0x0e070627, 0x37012e01, 0x4e33043e, 0x07200520, 0x3b3bae83, 0x37363201, 0x22023236, 0x3875971e, 0x13351b5b, 0x0b181905, + 0x40200905, 0x83477d51, 0xa92b0867, 0x50700275, 0x184f2f50, 0xb6011305, 0xb9834e42, 0x252e0609, 0x0b0c2e2c, 0x150c190a, 0x22303e2f, 0x54090e09, + 0x7050060e, 0x5908292f, 0xc42608ab, 0x00002100, 0x964e1413, 0x05185f08, 0x77821620, 0x2e343523, 0x086f8204, 0x23d8163c, 0x71233131, 0x0b37719e, + 0x1b1a251e, 0x1d1a1326, 0x1a150613, 0xa801220a, 0x322c321c, 0x714f2f4d, 0x394e4f71, 0x55110c0c, 0x1b25261b, 0x1c1a2011, 0x253d2a22, 0x00000a0f, + 0x00820003, 0x802bdb82, 0x1b001100, 0x00002d00, 0x82141625, 0x22232fd8, 0x2627012e, 0x013e3734, 0x32071632, 0x16633536, 0x64372005, 0x35220559, + 0x7c853734, 0x0236272c, 0x2a03033d, 0x6f3c5b98, 0x08831c56, 0xf398b63e, 0x7854543c, 0x283c5454, 0x394f3838, 0x14100c04, 0xcf0c091c, 0x50071007, + 0x354f2d61, 0x61230784, 0x843c54ef, 0x82f02024, 0x27392921, 0x1c090c0d, 0x040c1014, 0x8b828682, 0x02bfff25, 0x82c10181, 0x0033228b, 0x268b824a, + 0x06173732, 0x83262223, 0x37362589, 0x05021e17, 0x31077b65, 0x35260127, 0x36013f34, 0x011f3233, 0x3233023e, 0xb6841716, 0x83270721, 0x222324aa, + 0x82170706, 0x82272008, 0x1622081e, 0x14153015, 0x0d400107, 0x2529340d, 0x032a985b, 0x69170e03, 0x01402703, 0x1403065f, 0x04050805, 0x0886b3fd, + 0x35128024, 0x21841537, 0x15300d37, 0x3c540e49, 0x49103615, 0x0d0d0902, 0x30053827, 0x610a2903, 0x26be8250, 0x25511d1a, 0x823a233d, 0x19052538, + 0xc7010306, 0x63220886, 0x1f85110b, 0x123c182c, 0x3c1f1d39, 0x390e1354, 0xd5820505, 0x01273824, 0xda820f0f, 0xff030027, 0x02c0fff8, 0x22db8248, + 0x7013000b, 0x06290579, 0x26222123, 0x32361337, 0x15634317, 0x0d3a022e, 0x20fe1c1b, 0xf00d1b1c, 0x170e380e, 0x2a0f6a43, 0x30301808, 0x18a00118, + 0x43b6fe18, 0x01220e6c, 0x6b82feff, 0xc001402d, 0x00002a00, 0x14163201, 0x5a012b06, 0x3f220504, 0x08872301, 0x3626272c, 0x1f32013b, 0x26273301, + 0x0984023e, 0x1ee0013a, 0x721e4242, 0x42090569, 0x31020908, 0x08052b67, 0x01090828, 0x09012020, 0x27080882, 0x31672b05, 0x06050101, 0x05094204, + 0x27000169, 0x08b82732, 0x3aac070d, 0x6c080c06, 0x060c086c, 0x0803ac3a, 0xb8080306, 0x0821ec82, 0x07577000, 0x15000922, 0x2d2deb82, 0x45003900, + 0x6f005100, 0x11150000, 0x06a35b21, 0xf95c2520, 0xae272016, 0x24df8217, 0x3521011d, 0x45cd8234, 0x332008e3, 0x01210988, 0x05114fc0, 0x0c400124, + 0x02880c28, 0x0c988020, 0x1450012d, 0x1c40fe1c, 0x07093014, 0x58090720, 0x102805fb, 0xf0fe1001, 0xd81c1c14, 0xa06f4184, 0x96742005, 0x8301200b, + 0x1430283b, 0x0907301c, 0x85300709, 0x03003005, 0xdbff0000, 0xa5010102, 0x1f001300, 0x5e003b00, 0x26280693, 0x2223013d, 0x1737012f, 0x1721ae83, + 0x06476b25, 0x07011f24, 0xa5412127, 0x013d2505, 0x37013b34, 0x155fd885, 0x35263606, 0x0707f901, 0x3b1e0b50, 0x35460405, 0x0b1e2035, 0x0c0c63fe, + 0x290c846f, 0xdc202001, 0x0c6f0504, 0x0682540c, 0x0b1e3b23, 0x22288450, 0x82140759, 0x100c2e2f, 0x3a4b0428, 0x0c102839, 0x380c670b, 0x210b830c, + 0x088204ec, 0x8304ec21, 0x86502012, 0x00002523, 0xfeff0100, 0x20066b70, 0x06334c14, 0x27222322, 0x08058343, 0x37023e28, 0x96343526, 0x6a9696d4, + 0x4c413338, 0x02010402, 0x061c1107, 0x7aa00139, 0x33137aac, 0x07050203, 0x39163115, 0x4682564a, 0xd326f384, 0xac010002, 0xf3821000, 0x00003f23, + 0x088a4713, 0x1d163226, 0x010e1401, 0x82083d48, 0x163224e0, 0x82330715, 0x17062104, 0x22241882, 0x3435012e, 0x2908c141, 0x36321614, 0x3634013d, + 0x5e8298a4, 0x0f680f2c, 0x01060315, 0x98050759, 0x0c83150c, 0x01261583, 0x7b744e01, 0x13824f74, 0x32070536, 0x0107323c, 0x5005072c, 0x0f15150f, + 0x03060350, 0x0c07050c, 0x7c330c84, 0x092c0507, 0x3b3b7448, 0x31054774, 0x05070705, 0x82342d34, 0x07052d02, 0x00010000, 0x013b0005, 0x004501bb, + 0x1323f382, 0x47141617, 0xa34705ac, 0x3f342505, 0xf1323601, 0x21116e4f, 0x964f3d01, 0x4b4b8e12, 0x3e220507, 0xd3471f01, 0x0f142506, 0xcf220601, + 0x43204b91, 0x002d4a94, 0xff030002, 0x017d02fc, 0x00210084, 0x0f1d4c43, 0x22233522, 0x2205a15c, 0x821d1632, 0x1f32245e, 0x5c141601, 0x222305bf, + 0x6e013d26, 0xec4b08ab, 0x33153b0b, 0x65760232, 0x65071407, 0x070b0707, 0xbc280715, 0x0b100809, 0x0af4100c, 0x0e82280e, 0xfe070b23, 0x820e8cf0, + 0x242b8b27, 0x07076468, 0x2c3d8264, 0x2b07070b, 0x0b1007b6, 0xde0a0e1e, 0x2149832b, 0x0c8b1614, 0x26892382, 0x2505c346, 0xc0014202, 0xc1822e00, + 0x21230629, 0x16322117, 0x5516010f, 0x37210661, 0x20098823, 0x0a204203, 0x82011f21, 0x02073425, 0xfe130410, 0x0d0106db, 0x06020e0b, 0x212e2120, + 0x8211d211, 0x1c200805, 0x0e0a4646, 0x08670a0e, 0x0109020d, 0x030e0c89, 0x12201393, 0x230f190b, 0x17212117, 0x18101018, 0x202e0783, 0x0e570111, + 0x0e0a100a, 0x122d080b, 0x8783000b, 0x0200002a, 0x00800100, 0x01000011, 0x6009615c, 0x1721052a, 0x05f66001, 0x1c14602a, 0x40a0141c, 0x141c4001, + 0x2308fa5f, 0x00020040, 0x02270082, 0x00800144, 0x8220000f, 0x0e072bc5, 0x22212301, 0x3e013f26, 0xa7823301, 0x0e222524, 0x814c0f01, 0x33172105, + 0x022a5983, 0x2107493d, 0x0e70fe0f, 0x0883070e, 0x0e90012a, 0x1154fe0e, 0x45091920, 0xa0285c83, 0x7c9c1c14, 0x0c18130d, 0x38280483, 0x760f150c, + 0x1c141601, 0x30217182, 0x20008200, 0x206b8405, 0x736b8400, 0x542005eb, 0x47597182, 0x8e33200e, 0x08a9750f, 0x1f8fd786, 0xef8f1720, 0x1516322a, + 0x054d0111, 0x26050808, 0x3a200483, 0xfe210988, 0x281492ba, 0x090907dd, 0x0d30fe07, 0x05144513, 0x86050822, 0x04842483, 0x0983e620, 0x46200484, + 0x04840983, 0x0983c620, 0x40200482, 0x13232e84, 0x8450010d, 0x00d0213f, 0x2c0ba372, 0x002d001c, 0x003d0035, 0x1300004d, 0x618e8321, 0x172209b9, + 0x29510622, 0x05232d08, 0x34013d32, 0x22012b26, 0x2223010f, 0x33211682, 0x06506212, 0x8b483620, 0x16342705, 0x34353632, 0x83493336, 0x15062b05, + 0xa0013014, 0x141c1c14, 0x058360fe, 0x09072208, 0x06067406, 0x09064001, 0x0203fd07, 0x06068a1e, 0x464664a8, 0x48544664, 0x34483434, 0x13090e21, + 0x219b830d, 0x3955261a, 0x0920330d, 0x06060a07, 0x06600614, 0x0309074a, 0x0624062d, 0x3582f8fe, 0x8a644622, 0x02823582, 0x0d070929, 0x090e0913, + 0x6a071a26, 0xc12008bb, 0x27068162, 0x22230614, 0x2b060727, 0x4c05406e, 0x342a0887, 0x3526013f, 0x33013e34, 0xe2691632, 0x262b0805, 0x67000222, + 0x18101149, 0x0e250b07, 0x0a0e280a, 0x070e0a70, 0x512f09a2, 0xb0674930, 0x1c1c281c, 0x49100128, 0x081b0367, 0x820e0a28, 0x0a0e2c02, 0xa2070a4e, + 0x51301c1b, 0x8305672f, 0x001c3b1d, 0xff060000, 0x02befffa, 0x00c30182, 0x0043003b, 0x00910085, 0x00d500cd, 0x806f0100, 0x82272008, 0x3726258b, + 0x36013b36, 0x6f09896f, 0x1724097f, 0x16173233, 0x0621aa83, 0x2c078307, 0x012f0607, 0x3e162706, 0x0e262701, 0x20118901, 0x82c38207, 0x012e2150, + 0x6f0cda6f, 0x36260cd9, 0x32173637, 0xdc6f021e, 0x013e2b0d, 0x0706012e, 0x011e010e, 0x90c20536, 0x08000235, 0x0e120a05, 0x0a080508, 0x010b1006, + 0x0b010404, 0x820a0610, 0x120e260e, 0x1008050a, 0x241d9c10, 0x0926121a, 0x0803820d, 0x1122672e, 0x0d210907, 0x1e181e11, 0x2626080c, 0x181f0b09, + 0x200d111d, 0x2111070a, 0x12210606, 0x0c200a08, 0x1e191d12, 0x2626090b, 0x03060704, 0x1d852682, 0x7b062228, 0x23160411, 0x05841630, 0x9c090121, + 0x088aa56c, 0x0e010122, 0x0c070309, 0x0c0e0907, 0x13120b0f, 0x0f0c0f0a, 0x070c0609, 0x030f0904, 0x04090f03, 0x09060d06, 0x0a271282, 0x0f0b1213, + 0x820a0e0c, 0x09032819, 0x0e3e030e, 0x8214230c, 0xae200803, 0x1a130a11, 0x110a0f28, 0x08220b15, 0x0707010e, 0x22080e01, 0x0a11150b, 0x131b270f, + 0x1f20110a, 0x1b291f82, 0x100a0f27, 0x09220a15, 0x2b1f820d, 0x04080605, 0x10140b22, 0x1c26100b, 0x1f272082, 0x23301635, 0x84110516, 0x8ea62005, + 0x0e0d2588, 0x060c0709, 0xa2838888, 0x860f0d21, 0x20198288, 0x33888b07, 0xff020000, 0x02e0fffe, 0x00a00142, 0x002b0013, 0x06140000, 0x2b082f48, + 0x26373637, 0x32363435, 0x16171613, 0x384c1588, 0x1e4c0806, 0x01141501, 0x3c567aa0, 0x022e2b33, 0x03020104, 0x7a260f15, 0x150ff4ac, 0x2e050403, + 0x403c332b, 0x0e121868, 0x39018d63, 0x84420148, 0x0319195e, 0x14040502, 0x42332922, 0x2284fe5e, 0x190a0414, 0x022c3619, 0x090b4f71, 0x33315112, + 0x277b7682, 0x20012905, 0x0d00c001, 0x11010000, 0x23081b7b, 0x20013602, 0x31090e7b, 0xc0010941, 0x094448fe, 0x67911417, 0x1503260e, 0x3b851284, + 0xbfff0024, 0x3b828101, 0x00002c29, 0x15021e25, 0x822b0614, 0x08187c9f, 0x83222321, 0x503f20c7, 0x107706ff, 0x012b3d08, 0x26192a01, 0x880a0e17, + 0x0a021801, 0x88011802, 0x26300e0a, 0x0e0a2a0c, 0x10010a0e, 0x2a3a0583, 0x2d200cea, 0x680e0a19, 0x04300202, 0x02023004, 0x240a0e68, 0x0e76123c, + 0x1e83300a, 0x135c0482, 0x0031250a, 0x00410039, 0x21069b46, 0x01820607, 0x2f06ed63, 0x3d222123, 0x3b363401, 0x022e3501, 0x26272627, 0x45630c86, + 0x05250807, 0x27261716, 0x25141523, 0x07062335, 0x02363736, 0x3e0e0a28, 0x251f3e30, 0x0c251b30, 0x250cd8fe, 0x0e04301b, 0x21128324, 0x7f820a0e, + 0xfe3d9983, 0x0b1713a3, 0xc0014002, 0x170b0240, 0x80012313, 0x38380a0e, 0x3407222d, 0x1a1e4816, 0x2b00820c, 0x02481e1a, 0x0718260a, 0x38382d22, + 0x2f067f44, 0x080d8128, 0x17102d29, 0x292d1017, 0x001a0d08, 0x04210082, 0x07f35500, 0x2f00152b, 0x3f003700, 0x23250000, 0x659f8222, 0x322a0533, + 0x0616011f, 0x1415012b, 0x6b713706, 0x14152b0c, 0x32013b16, 0x33013d36, 0x6f711632, 0x2801210f, 0x21107071, 0x6f710ece, 0x21882606, 0x21175017, + 0x0d6f7188, 0x6e714020, 0x7008210d, 0x25066d71, 0x21211708, 0x6f710817, 0xfcff290e, 0x0402bcff, 0x2300c401, 0x003dad82, 0x07011e00, 0x0e16010e, + 0x07062606, 0x37022e06, 0x3e26013e, 0x37361606, 0x013e0736, 0x271a832e, 0x021e1407, 0x32333217, 0x01331982, 0x090922d8, 0x02070208, 0x4642270a, + 0x2b2d3b3a, 0x902b0f0d, 0xb9200811, 0x0b030706, 0x0e6a3407, 0x03050301, 0x040c0202, 0xba015e0a, 0x0d0f2b22, 0x3a3b2d2b, 0x0a274246, 0x08223f82, + 0x11900909, 0x0b026334, 0x0e01070d, 0x0703346a, 0x0c010405, 0x00005e2c, 0xab820100, 0x0002c022, 0x1735ab82, 0x16010000, 0x23001415, 0x26012f22, + 0x1f36013f, 0x37013e01, 0x08098327, 0xed011730, 0xc0f0fe13, 0x05180413, 0x0c107013, 0x1b5b3b31, 0x30070e3c, 0xa7011308, 0xfec01304, 0x136813f0, + 0x0e073008, 0x3a5c1b3c, 0x70110b32, 0x57820512, 0x2209b368, 0x5c2e000f, 0x1334114d, 0x34353632, 0x2322012f, 0x06010f22, 0x011f1415, 0x26270706, + 0x15220c86, 0x6c5c1617, 0x782e370b, 0x01410caa, 0x1e040a02, 0x23250601, 0x07051f4b, 0x09460303, 0x4a47030f, 0x80fe290d, 0x030c78aa, 0x0346090f, + 0x1f2cdc82, 0x0625234b, 0x0a041e01, 0x0c410102, 0x00207c82, 0x2205274e, 0x532600c1, 0x3b22105b, 0x49703501, 0x05385605, 0x34013d22, 0x50708682, + 0x5a7d3010, 0x0a200a0e, 0x1d1e2b0e, 0x141cc02a, 0x841c14a0, 0x40662f04, 0x103f595a, 0x0a0e0e0a, 0x2b2a1e10, 0xcf54671e, 0x40022408, 0x4e00a001, + 0x2b250593, 0x013d0000, 0x06974221, 0x734e3720, 0x8a07200a, 0x1501220b, 0x06a36421, 0x1c40022b, 0x1420fe14, 0x880cc01c, 0x2302820c, 0x0c480c80, + 0x02220282, 0x7682fd00, 0x14e00126, 0xb0b0101c, 0x58207c82, 0x230a634e, 0x30301001, 0x7b831282, 0xe7820320, 0xc101df2d, 0x0700a101, 0x31001b00, + 0x58360000, 0x172006cb, 0x3522dc85, 0x2963012e, 0x1e332206, 0x36139201, 0x35258003, 0xd5352626, 0x07300709, 0x54770609, 0x070a0906, 0x8597a474, + 0x90cb210e, 0x56240e83, 0x3b46739d, 0x25282483, 0x090a076f, 0x06775406, 0x07221d84, 0x0e8374a4, 0x85cb9021, 0x4703230e, 0xb7439d72, 0x00002d05, + 0x80014002, 0x1e000f00, 0x2e002600, 0x24111f5d, 0x07222127, 0x05817437, 0x5a011f21, 0x262008aa, 0x41060b54, 0x1c21070d, 0x25fb8314, 0x1020fe30, + 0x9474610f, 0x0f612808, 0x13131a33, 0x8473131a, 0x09ec5e05, 0x91063c2a, 0x0d060a05, 0x60069108, 0x02871d82, 0x93420020, 0x05176106, 0x34002c34, + 0x14240000, 0x06141507, 0x012f2223, 0x06012b26, 0x34551415, 0x26272405, 0x4c373435, 0x2a080922, 0x3336013f, 0x011d1632, 0x06071107, 0x17321523, + 0x10204002, 0x55090b10, 0x041c5542, 0x13120b1a, 0x1908144b, 0x251b2202, 0x82c01b25, 0x09300813, 0x4010100b, 0x6b6b5421, 0x124af554, 0x07160a99, + 0x10103544, 0x2310222b, 0x103a3511, 0x601b2510, 0x4435251b, 0x990a1607, 0x1a1a01c4, 0x00436043, 0x2c06f353, 0x00c30103, 0x2500003b, 0x0f061617, + 0x24048201, 0x0e07012f, 0x21048201, 0x04842606, 0x2206be55, 0x82362627, 0x36262409, 0x4d37011f, 0x372208eb, 0x31821636, 0x011e2208, 0x2ecb0107, + 0x3f0d080a, 0x0e140412, 0x1c03103e, 0x092d2d09, 0x3e10031c, 0x1204140e, 0x0a080d3f, 0x211d8f2e, 0x1d8a1b0a, 0x892dc021, 0x070e210e, 0x07212c83, + 0x224a870e, 0x8d2d0a1b, 0x2f2f211d, 0x1b20688a, 0x2408db53, 0x00810100, 0x069d4527, 0x2b061426, 0x07061601, 0x0e2d0283, 0x012a2301, 0x27262223, + 0x013d012e, 0x27b88234, 0x32333637, 0x07060716, 0x05210582, 0x0d2e7b15, 0x2f07a545, 0x121b0002, 0x12010d64, 0x040e0c0a, 0x011a2310, 0x47264382, + 0x1c0c0812, 0x0482451f, 0x0a1c1a29, 0x12950905, 0x4660fe1b, 0x230809de, 0x0c100c1c, 0x11f8100c, 0x0f2b0d1a, 0x18082512, 0x03240f20, 0xac090d01, + 0x2d0d0d1f, 0x182b1d13, 0x121a0d0c, 0x08884018, 0x2b83ba20, 0x7f640c20, 0x00812d0a, 0x00360026, 0x1300003e, 0x26272633, 0x17229e82, 0x436f011e, + 0x87072005, 0x2e3722bd, 0x47028301, 0x052005a1, 0x200edd6b, 0x062a4c16, 0x09952d2b, 0x1a1c0a05, 0x45080c1c, 0x2204821f, 0x82234712, 0x27282eb9, + 0x0a0c0e06, 0x640d0112, 0x011b1b12, 0x0790479d, 0x841a0e21, 0x24013e85, 0x2b180c0d, 0x0d2d131d, 0x09ac1f0d, 0x2403010d, 0x25082324, 0x0d2b0f12, + 0x1a12111a, 0x28411814, 0x84d42009, 0x00002ae1, 0xffffff03, 0x018001c0, 0x076b41c0, 0x16321327, 0x1636011d, 0x37028417, 0x15011c15, 0x14070614, + 0x012b010e, 0x012e2722, 0x34352627, 0x17161736, 0x13200582, 0x6343b48f, 0x41882006, 0x23260734, 0x07032424, 0x3341060a, 0xc001211b, 0x22089741, + 0x41282706, 0x05220596, 0x9741050a, 0x8200201f, 0x88032000, 0x066b41b7, 0x06351724, 0x9e820607, 0x013e372b, 0x013b3637, 0x1e171632, 0x22be8501, + 0x83010e27, 0x23c88202, 0x13262223, 0x2009a051, 0x20d38206, 0x07307926, 0x37415c20, 0x4113202c, 0xb3823199, 0x2f0be760, 0x04000025, 0x36342622, + 0x07141632, 0x36323327, 0x23052d4e, 0x2f343637, 0x08059d7b, 0x011f1420, 0x013f3216, 0x67013436, 0xce9191ce, 0xb74cdb91, 0x0a0e0e0a, 0x07074cb7, + 0x0714070b, 0x02820784, 0x0a821420, 0x1b823820, 0x01ce912b, 0x100a0e48, 0x07480e0a, 0x21128215, 0x20828507, 0x27838520, 0xfb601520, 0x7b73820d, + 0x372c0763, 0x06222317, 0x1614011d, 0x0607013b, 0x7b876b88, 0x97050b5e, 0x06135e72, 0x362073a8, 0x0623e584, 0x49372722, 0x17200841, 0xeb8bdb85, + 0xc89c0820, 0x04415920, 0x115b411c, 0x24072761, 0x34350717, 0x05077d26, 0x22262724, 0xeb8d010f, 0x97060d5a, 0x06145ac9, 0x08170741, 0x00090034, + 0x01c8ff00, 0x00b801f0, 0x000d0005, 0x00190013, 0x002b0022, 0x00370031, 0x0100003d, 0x32013e23, 0x37340616, 0x07141633, 0x26232523, 0x25011e27, + 0x15820706, 0x15160522, 0x36271182, 0x14072734, 0x82262317, 0x17062920, 0x22010e33, 0x37361726, 0x2a080782, 0x17163325, 0x5001012e, 0x3a300bb0, + 0xba03ad30, 0x01ba0303, 0x230f6c42, 0xeafe5335, 0x166c0e24, 0x096b0153, 0x03037209, 0x837203fd, 0x84282007, 0x84942027, 0x9ffe2119, 0x01362784, + 0x54544420, 0x202040c4, 0x5ca02040, 0x5b4b1032, 0x4b335c32, 0x0082209e, 0x213e2125, 0x82221e40, 0x7f212105, 0x4a202282, 0x7e201783, 0x002f2183, + 0xff020000, 0x02bfffff, 0x00c50105, 0x8224001c, 0x061635bd, 0x27010e07, 0x26220607, 0x26013f34, 0x013e3736, 0x0f011e17, 0x20051154, 0x069f4400, + 0xfc014208, 0x1e1b1409, 0x13d52650, 0xd5132535, 0x1b1d120d, 0x0307244a, 0x440b4a05, 0xfe0d054b, 0x0e0e143c, 0x53010e14, 0x1d1c4924, 0x13d50d12, + 0xd6133525, 0x1b1d5125, 0x0d020914, 0x0b444b05, 0xfe03054a, 0x2121828e, 0x7e82140e, 0xff060038, 0x02f0fffa, 0x00a60100, 0x001f000f, 0x0037002f, + 0x00590048, 0x31521300, 0x08c96a05, 0x8f0fa76c, 0x5124200f, 0x1320065d, 0x28089468, 0x3637011f, 0x0f16011f, 0x06a46802, 0xd0240f86, 0x07090907, + 0x21051c71, 0x0b96e0fe, 0x1c283c37, 0x8d1d281c, 0x09090f48, 0x0f09092f, 0x40170809, 0x08110908, 0x21108f09, 0xa46c3c01, 0x0aaf6c09, 0x54210a8a, + 0x274a831c, 0x10484701, 0x08300909, 0x09274a82, 0x09093f16, 0x85a80910, 0x1008234a, 0x10830808, 0x00081136, 0xfffbff01, 0x010502bc, 0x001000c0, + 0x16320100, 0x1411010f, 0x2408b983, 0x2627013d, 0xe8013336, 0xb90b0c10, 0x0a500c1a, 0x100c0bb9, 0x0b1ec001, 0x0ffafeb9, 0x0838080d, 0x0bb9ce0c, + 0x0583461e, 0xaf5cff20, 0x00132705, 0x002b0027, 0xa45c2500, 0x22212505, 0x33013d26, 0x22068043, 0x58163237, 0x2308107b, 0x15233523, 0x1dc04001, + 0x1360fe13, 0x0709c01d, 0x90090760, 0x00fe1d13, 0x1d50131d, 0x1d13a013, 0x30708040, 0x1d271082, 0x07309013, 0x82d70909, 0x13502a16, 0x1d13301d, + 0x2030131d, 0x29aa8220, 0xbfffffff, 0xc1010002, 0xf1553b00, 0x3b362108, 0x2105e671, 0xee60012f, 0x011d2205, 0x06967233, 0x2307624d, 0x36343533, + 0x2d072158, 0x1523013d, 0x01163233, 0x14074f60, 0xde824f07, 0x1d65332d, 0x07074f0c, 0x651d0c4f, 0x820d1033, 0x2016930a, 0x21218816, 0x38840b0c, + 0x100d0c22, 0x168c388c, 0xcb530020, 0x01802406, 0x4a0700a0, 0x3a260645, 0x00004800, 0x8b452236, 0x08934505, 0x27057954, 0x022e012b, 0x2a333627, + 0x3622c082, 0x4a181632, 0x27231461, 0x4907010e, 0x7a2709de, 0x34262634, 0x849a0126, 0x1a203406, 0x420d1326, 0x14201403, 0x5c921a13, 0x425c4242, + 0x6c433023, 0x4331054b, 0x46210930, 0x281ed721, 0x130d4205, 0x1a401a26, 0x873682e0, 0x26462a02, 0x130d201a, 0x0b212a17, 0x34338213, 0x43625c42, + 0x1c141d30, 0x301d141c, 0x0d101043, 0x13233a10, 0x435a820d, 0x002d07b3, 0x2500c101, 0x00004b00, 0x0f141601, 0x05b04301, 0x17163622, 0x0f230182, + 0x45010e01, 0x272a0669, 0x35262726, 0x36013f26, 0x25843616, 0x27200e82, 0x3e210e82, 0x06154501, 0x15212e83, 0x823e8216, 0x82342018, 0x01230826, + 0x442c2c47, 0x2c597e2c, 0x01130726, 0x07030901, 0x1501150d, 0x43153c15, 0x05051515, 0x160c0107, 0x9b6a1609, 0x830a201c, 0x0701233e, 0x45827e2d, + 0x827e5921, 0x0a082a45, 0x07091a1b, 0x153b150e, 0x2b448216, 0x0405153c, 0x0c120804, 0xb0100a15, 0x09201e9d, 0xdc824284, 0xff00002a, 0x018002e0, + 0x001c00a0, 0x2806eb50, 0x26222123, 0x37363435, 0x24048234, 0x17163233, 0x08048236, 0x0214153d, 0x1b2e1d1a, 0x90fe354b, 0x2a36543c, 0x4a2c425e, + 0x281d1815, 0x2405dd38, 0x4b351e36, 0x4a2f3c54, 0x4203050f, 0x10242c5e, 0x00122838, 0xff020000, 0x01c0fff4, 0x00c001cc, 0x8225001b, 0x06162159, + 0x20052257, 0x09d34135, 0xb9741620, 0x07152305, 0xa3742733, 0x01073105, 0x2a2816b5, 0x282acefe, 0x0a087516, 0xd00a0e0e, 0x082f0483, 0x0630acb6, + 0x232c0640, 0xbd234949, 0x4d0a0e97, 0x0a2c05c8, 0x4e69970e, 0xa0a00a08, 0x0300080a, 0x0121c383, 0x24c382c5, 0x002f0027, 0x276d8237, 0x06071617, + 0x07012f22, 0x20054c58, 0x21c18234, 0x57183717, 0x07240a0b, 0x32363717, 0x8c782382, 0x07435607, 0xa6160137, 0x46180909, 0x07197418, 0x38385038, + 0x21060728, 0x28070621, 0x2b0c8238, 0x18741907, 0x09091846, 0x131a97fe, 0x2908ae4c, 0x0809a6c0, 0x19731919, 0x23841211, 0x21210123, 0x21378401, + 0x14821112, 0x09081923, 0x21298446, 0x0684edfe, 0xdb510020, 0xc0012b05, 0x1100c001, 0x2c002300, 0x6f4e0000, 0x05745807, 0x16141127, 0x16141333, + 0x0db5783b, 0x1d161739, 0x33352301, 0x40011732, 0xf0fe0a0e, 0x0a0e0e0a, 0xa8172148, 0x87680a0e, 0x79a8270e, 0x0a066007, 0x1a832807, 0x0a700129, + 0x17d8fe0e, 0x82580121, 0x87f82007, 0x07493b11, 0x0760060a, 0xffff0100, 0xc101bfff, 0x3200c101, 0x26170000, 0x36013f36, 0xb6421732, 0x270d8307, + 0x0f16011f, 0x16170601, 0x34201882, 0x2106c042, 0x0c823216, 0x28081785, 0x012b2b22, 0x5e22d12c, 0xb7212121, 0x15164016, 0x0c8f1601, 0x0b0b170b, + 0x08090990, 0x0f0fb707, 0xd20f280e, 0x1948331a, 0x2f1584ac, 0x127e2dac, 0xd72d7f2d, 0x5f222222, 0x0117bb21, 0x16275582, 0x160b0b93, 0x82930b0c, + 0xba08342f, 0x0f0f2a10, 0x4b1bd60f, 0x0cb01a35, 0x0c0b160c, 0x41002db0, 0xc02e05c7, 0x1100a001, 0x28001900, 0x16010000, 0x07581115, 0x21332409, + 0x47021732, 0x13240622, 0x26012f34, 0x08b34d18, 0xb2013523, 0x08e96c0e, 0x0e140c38, 0x25253699, 0x04a02536, 0xe5040403, 0x0ce80c0c, 0x140e3e01, + 0x436df4fe, 0xfe0e2207, 0x241d828e, 0x0c013625, 0x24218204, 0x0c0c680c, 0x0b376400, 0x282d536d, 0xff000003, 0x01c001fc, 0x065f4784, 0x76305947, + 0x1c720ab1, 0x0ca9740b, 0x45200747, 0xf026057f, 0x90010002, 0x89820700, 0x27001729, 0x47003700, 0x50120000, 0x06200659, 0x20081d59, 0x47118416, + 0x60262fff, 0x1c1c281c, 0x04832828, 0x02830782, 0x74051476, 0xa025118c, 0x07090907, 0x21178401, 0x2f847401, 0x3b84a020, 0x05848420, 0x47080121, + 0x00201fd2, 0xff21cb82, 0x066b47fd, 0x3d001d35, 0x78006800, 0x98008800, 0x34130000, 0x3735013b, 0x48070623, 0x3b250671, 0x011d3201, 0x05166a33, + 0x07352229, 0x35013e34, 0x84222334, 0x4437201d, 0x366a05b3, 0x35223409, 0x17363717, 0x35323316, 0x22012b34, 0x3f26012f, 0x82063502, 0x013d2109, + 0x42835482, 0x1e010f2a, 0x06141501, 0x26272223, 0x082f1b41, 0x0f0c034c, 0x01020101, 0x08060807, 0x08071509, 0x0c0f0c0c, 0x010c430c, 0x0509191a, + 0x08080805, 0x1a0e0609, 0x18181b12, 0x0c0c2701, 0x05040c44, 0x07070a06, 0x0805100f, 0x06040104, 0x08040c06, 0x3a0c0c0d, 0x0e11060c, 0x1418190f, + 0x56410810, 0x0c342523, 0x01020a28, 0x08265882, 0x0c061408, 0x72820c54, 0x1d159d23, 0x3e52820f, 0x07070608, 0x14141308, 0x030d1810, 0x0b0b090c, + 0x06090a92, 0x08090803, 0x07080702, 0x8302010d, 0x08042c12, 0x13041406, 0x091a120c, 0x414c0107, 0x0331218c, 0xd6ff0000, 0xa7010002, 0x2e000f00, + 0x00004c00, 0x081e6a25, 0x2605ca47, 0x15163307, 0x45040e14, 0x1e3409d6, 0x14011d01, 0x36323316, 0x23273435, 0x36343526, 0x031e3233, 0x2205ea45, + 0x533d2622, 0x152505b7, 0xf0011614, 0x474a18fe, 0x092a0808, 0x0b0a7bde, 0x2a241d16, 0x095c3e16, 0x07052d07, 0x231d3004, 0x0d814e29, 0x29154354, + 0x09101b25, 0x0a062e07, 0x251c1e22, 0x7d7aa01d, 0x102c0809, 0x26151d16, 0x080e171e, 0x07133036, 0x04080409, 0x1d161602, 0x18762219, 0x06403d21, + 0x101a120e, 0x0909071e, 0x140d0207, 0x1a161817, 0x2a05975b, 0xc001c001, 0x42003200, 0x56370000, 0x8f820696, 0x51183620, 0x15270918, 0x3e323314, + 0x89013d01, 0x07a346cc, 0x010e1424, 0x877a2107, 0x47e0280d, 0x0a061d55, 0x838a060a, 0x4c1d2504, 0x1c122218, 0x89207083, 0x28220e84, 0xb576fe46, + 0x60fe2105, 0x3c231482, 0x89ad494e, 0x4fad25b8, 0xac1b2411, 0x30230f8a, 0x893c2146, 0x0000220e, 0x08c77e05, 0x13000f28, 0x1b001700, 0x99551f00, + 0x23352312, 0x03823715, 0x07860520, 0x250bb15e, 0xa0a0a0b0, 0x04838001, 0x1645a020, 0x14602708, 0x6080fe1c, 0x0287a060, 0x67850020, 0x0002c024, + 0x3344c001, 0x002b2b08, 0x012f1300, 0x011f013f, 0x0785010f, 0x87050721, 0x1416220b, 0x06cd7007, 0x3601372d, 0x37071732, 0x10e00727, 0x82102020, + 0x1ba02403, 0x821b3535, 0x45012103, 0x622c0886, 0x94fe0909, 0x550a1a09, 0x6c010909, 0x3b250782, 0x01563357, 0x222b8460, 0x84601010, 0x1b1b222b, + 0x220786b5, 0x831a0af7, 0x5509212d, 0x2d820782, 0x56c2092b, 0x04005733, 0xc0ff0000, 0x053f5102, 0x37002f24, 0x11563c00, 0x012b2708, 0x26220614, + 0x05852335, 0x28098876, 0x3233011d, 0x1d16011f, 0x07d54701, 0x372f0787, 0x15232735, 0x09077002, 0x38300709, 0x82803850, 0x14103603, 0x01141c1c, + 0x2c1c1440, 0x0e640e14, 0x1c282cfe, 0x011c281c, 0x2c06845c, 0x602c6480, 0x07200709, 0x38382809, 0x85038328, 0x141c2229, 0x222a8230, 0x82706c14, + 0x27028729, 0x70640cb4, 0x06000000, 0x00200382, 0x802cab82, 0x14000f00, 0x21001900, 0x2b002600, 0x2812b141, 0x23263433, 0x35363235, 0x07885223, + 0x22350525, 0x82371506, 0x021628ca, 0x13130d60, 0x83c0fd0d, 0x40102e05, 0x251b1b25, 0x2f42ef40, 0x012f422f, 0x260a8260, 0x80012540, 0x84fe0d13, + 0x40012b1d, 0xb0fe130d, 0x25a0251b, 0xc982f01b, 0x68503822, 0xe0232e82, 0x82251b40, 0x07003070, 0x39015700, 0x0b000001, 0x21130000, 0x410f1632, + 0x363005b0, 0x0d02011f, 0x0681090a, 0x09810610, 0x1900010a, 0x09820a82, 0xb6831920, 0x33820120, 0x33826020, 0x33830920, 0x73212521, 0x01230906, + 0x89fefe21, 0x8d602034, 0x00172633, 0x01c00027, 0x22678459, 0x4c061411, 0xc0200788, 0x01212587, 0x853c8b41, 0x82002067, 0x85a92033, 0x05bc7333, + 0x87057948, 0x8b3f2032, 0x000022a3, 0x0e034303, 0x32010022, 0x240d0c48, 0x11231113, 0x42038221, 0x01220df7, 0x6f58a080, 0x0001230f, 0x038300ff, + 0x0200002a, 0xf8ff0d00, 0x88013301, 0x1723b782, 0x7f370000, 0x222005d7, 0x3623bd82, 0x6b061625, 0x36330588, 0xee291732, 0x770b0c10, 0x77071407, + 0x0f010c0b, 0x87100c0b, 0x1ea0210f, 0x15821682, 0x0b691e23, 0x820a841e, 0x850120d8, 0xa0002153, 0x518c5382, 0x3888458b, 0x01000028, 0xe0000d00, + 0x83843401, 0x5b250021, 0x01210a18, 0x20768a17, 0x225e84e0, 0x821e0b77, 0x2b6482b3, 0x80010002, 0x3a001f00, 0x36010000, 0x3408d27d, 0x3634013d, + 0x1e171617, 0x3e323304, 0x07363704, 0x23022e22, 0x050d5c26, 0x0806d64f, 0x0706075c, 0x01020e22, 0x1c0703f6, 0x1460fe14, 0x2103071c, 0x0e170279, + 0x090a1516, 0x0c121012, 0xd2760310, 0x1b0e1708, 0x09347a01, 0xa001141c, 0x31091c14, 0x0e1b017d, 0x03010117, 0x14cc0404, 0xcc141c1c, 0x19020304, + 0x09120258, 0x0705060d, 0x030c090c, 0x090b6555, 0x07285915, 0x1e83130c, 0x070c1328, 0x09155b26, 0x9882000b, 0xff00002b, 0x01f901c8, 0x002b00c0, + 0x06975700, 0x32013b34, 0x013e011d, 0x0e011e33, 0x27222301, 0x36013f26, 0x99611617, 0x54072007, 0xd42106e7, 0x085982c8, 0x230c302c, 0x90673661, + 0x5f679101, 0x22090a47, 0x42320908, 0x49676749, 0x62194a2b, 0xe0070705, 0x0cc80507, 0x2b274e0c, 0x91cd9101, 0x1f820940, 0x672c0829, 0x21276792, + 0x65300507, 0x002005af, 0x2106234f, 0x4b670037, 0x99531806, 0x4a072007, 0x0e8605df, 0x1f323625, 0x65273701, 0x173a100b, 0x17323637, 0x0707f901, + 0x0713087c, 0x06070717, 0x09065128, 0x1b097309, 0x06852e09, 0x28510625, 0x83140705, 0x827d201a, 0x07162406, 0x83710507, 0x82f9200f, 0x077d210c, + 0x14221682, 0x32830507, 0x33821b20, 0x06843282, 0x06203282, 0x13221a83, 0x21867c08, 0x072d3282, 0xff010000, 0x01c0ffff, 0x00c00144, 0x310c8219, + 0x03071632, 0x26222306, 0x2223013f, 0x013f012e, 0xf26d023e, 0x28013605, 0xb0070e0e, 0x0e0c0e07, 0x07772e03, 0x2001060c, 0x060a0701, 0x340e8290, + 0x1820012a, 0x0cd0fe0c, 0x08c20c12, 0x06f0070c, 0x0b13050a, 0x087b5d82, 0x57828020, 0x35000f27, 0x55004500, 0x5d521800, 0x15372710, 0x36343523, + 0x824d013b, 0x32332712, 0x23011d16, 0x21822335, 0x18061b64, 0x4608b940, 0x0f8806f5, 0x130d8025, 0x83600d13, 0x30482504, 0x28ca0f17, 0x13840983, + 0x0fca2827, 0x30c03017, 0x211f8848, 0x0a885001, 0x32866020, 0x50253782, 0x170f3a30, 0x270f8940, 0x3a0f1740, 0x50303030, 0x09891189, 0x0226d782, + 0xc0fffeff, 0xd7824202, 0x43002d34, 0x16250000, 0x012e2706, 0x22060706, 0x072e3027, 0x09842223, 0x26241084, 0x37013e37, 0x0806235c, 0x05011e76, + 0x17323336, 0x23061415, 0x26272622, 0x1716013e, 0x36323316, 0x01400235, 0x351a080c, 0x0c041937, 0x08040403, 0x0f0e0b08, 0x281f0912, 0x040c0314, + 0x1b343719, 0x15010c08, 0x1a135c8f, 0xfe8f5c13, 0x10110fd5, 0x19212f10, 0x0c05082a, 0x04051719, 0xa709070b, 0x1c070a08, 0x072b230d, 0x0c080707, + 0x080a0c0b, 0x07222705, 0x0e242b07, 0x080a071c, 0x120a7a63, 0x1232ee83, 0x0e787a0a, 0x2f21820e, 0x180d181d, 0x0b0c0c09, 0x47180709, 0x152a0aff, + 0x2f001d00, 0x00003800, 0x147a1513, 0x32362208, 0x057e4117, 0x36062223, 0x050c6422, 0x18331721, 0x0808dd4c, 0x3b36342a, 0x16141501, 0x35231537, + 0x011f3233, 0x0a688016, 0x510a0e0e, 0x51124a12, 0x17880e0a, 0x0e142a21, 0xa00e140e, 0xf00a0e68, 0x88381883, 0x0660720e, 0x0742070a, 0x0ee80801, + 0x0a50010a, 0x0e20200e, 0x7921480a, 0x0e232482, 0x83c8ea14, 0x30012323, 0x45820e0a, 0x60062622, 0x00202782, 0x03320082, 0xbfff0000, 0xc1016001, + 0x20000d00, 0x00003000, 0x80823517, 0x06010f22, 0x22052a4b, 0x82363403, 0x14152da0, 0x30070607, 0x31342315, 0x37262726, 0x3d085e65, 0x35363216, + 0xa0603634, 0x110a1105, 0x1209113e, 0x4b646005, 0x252c674a, 0x250fa00f, 0xea7cb02c, 0x0e093d05, 0x26062f09, 0x1a080a26, 0x081a0e0e, 0x69472001, + 0x32424967, 0x0101302b, 0x92322b30, 0x42211d82, 0x2128832e, 0x8b862f21, 0x8201c021, 0x07002601, 0x55000f00, 0x855c1800, 0x34062108, 0x2405e165, + 0x1d011e37, 0x05144e01, 0x34013d29, 0x0e153736, 0x84141501, 0x27262685, 0x16171635, 0x839b8232, 0x27248214, 0x3f16011f, 0x012f3601, 0x1623a082, + 0x7807011d, 0x36200546, 0x2d083582, 0x15012726, 0x6a4b4b6a, 0x140ef84b, 0xca140e0e, 0x131a4a36, 0x1a139afe, 0x17113040, 0x16212e21, 0x1c0b0c12, + 0x04011d3a, 0x0e241c01, 0x0782081f, 0x30130824, 0x08841330, 0x240d2024, 0x3982c01c, 0xfd6a4b22, 0x40083a83, 0x4e029f0e, 0x1a132d35, 0x312d131a, + 0x0551084b, 0x2117131d, 0x1d131721, 0x03025205, 0x01010a0a, 0x1d2c052e, 0x04020e2c, 0x08100701, 0x201b0302, 0x1c1e1919, 0x10080204, 0x02070107, + 0x2c1d2a0d, 0x09ef5c05, 0xc201002b, 0x4a004200, 0x32010000, 0x20d2821e, 0x06bd4207, 0x82012e21, 0x823620b0, 0x821620c7, 0x0f0621ce, 0x16221982, + 0xc4823233, 0x2f442720, 0x011f2105, 0x22050f41, 0x84021e07, 0x37262316, 0x5e48013e, 0xbf013e07, 0x20111e12, 0x67474967, 0x0b493702, 0x100a3f08, + 0x0b020302, 0x28391f09, 0x0a1f3827, 0x0895820b, 0x070c082b, 0x490b083f, 0x331e0237, 0x21422e1d, 0x14240101, 0x0e09090e, 0x11500109, 0x1225121d, + 0x5f634571, 0x39590b44, 0x020d099b, 0x2039820c, 0x28418210, 0x38287b06, 0x067a273a, 0x360c8202, 0x01040a06, 0x090d020d, 0x0c58399b, 0x3d1a2e1b, + 0x2612712b, 0x8250251a, 0x0e092140, 0x0420d882, 0x2c08c347, 0x000d0009, 0x00210017, 0x34111700, 0x05987536, 0x33150325, 0x18111735, 0x2007a46b, + 0x080e4301, 0x141c8030, 0xc01c14a0, 0x141cc080, 0x1c143030, 0x048260fe, 0x20390a82, 0x1c149001, 0x70fe141c, 0x20208001, 0x1400ff50, 0x1c60011c, + 0x141cbcfe, 0x820a8201, 0xff02366b, 0x01c0ffff, 0x00c001c1, 0x002b0005, 0x26221600, 0x37143335, 0x05d05f16, 0x35012e2b, 0x37363734, 0x3435023e, + 0x08234436, 0x15022e08, 0x17011e14, 0x2634fa16, 0x12099780, 0x0980fe0e, 0x0109080f, 0x14110f02, 0x1a133848, 0x213a2513, 0x020f1114, 0x1b1b2540, + 0x0d0c0a71, 0x081d8213, 0x010a0c22, 0x43180f03, 0x0b563a2c, 0x13130d15, 0x2c07150d, 0x432c2642, 0x00030f18, 0xf9ff0300, 0x8002e0ff, 0x2106bb50, + 0x614c0027, 0x05936305, 0x2608e483, 0x13230614, 0x32331523, 0x13263436, 0x26272221, 0x21333637, 0x07060732, 0x3828c006, 0x88010a0e, 0x354b4b35, + 0x82283820, 0x1a2d08dc, 0xfe162626, 0x090c2100, 0x0203020d, 0x05040f48, 0x3840081a, 0x0e0ae828, 0x284b6a4b, 0x80200138, 0xfe263426, 0x07182080, + 0x091d1701, 0x21fa8203, 0x5f6f0700, 0x001b3408, 0x00330027, 0x0047003b, 0x006f0053, 0x21150500, 0x6a3b3435, 0x9f5b058a, 0x32332908, 0x33111516, + 0x22230332, 0x22085569, 0x18323307, 0x2008025f, 0x23178317, 0x37343533, 0x4c181f8b, 0x3526098e, 0x14153327, 0x2f82013b, 0x5f183386, 0x4d8208ae, + 0xfec00139, 0x0e140c40, 0x0a0e580a, 0x580e0a70, 0x0c140e0a, 0x0c0c288c, 0x84b40c28, 0x28742405, 0x8434400c, 0x82802009, 0x26028213, 0x14061a0a, + 0x82061a06, 0x33068302, 0x0c14142c, 0x0e0a6801, 0x0e0e0a48, 0x0a0e480a, 0x200198fe, 0xac6f2785, 0x0c802506, 0x600c5454, 0x0c201285, 0x0c215683, + 0x843c88f4, 0x08d34c43, 0xc001802c, 0x2f002700, 0x53004b00, 0x394c5800, 0x7d372031, 0x5c431a21, 0x27554c07, 0x3808c024, 0x03823008, 0x9c200686, + 0x2029634c, 0x23368adc, 0x1cf03808, 0xb4233983, 0x4e70640c, 0x0d2c0a1f, 0x1b001100, 0x49002500, 0x11170000, 0x2109e570, 0x5d431133, 0x34052417, + 0x5b012b26, 0xab5c08ba, 0x08405c08, 0x36323336, 0x1c206035, 0x1c14a014, 0xc080e020, 0x1010141c, 0x40fe1c14, 0x0a820482, 0x09200123, 0x05087107, + 0x09073022, 0x20210a8a, 0x06a44301, 0x43a0fe21, 0x9022139d, 0x2f8d0907, 0x00203a84, 0x200b7b56, 0x05b7492f, 0x07230225, 0x82143233, 0x353327a0, + 0x27230723, 0x01823335, 0x37352724, 0x01822335, 0x17333722, 0x35201582, 0x54081f84, 0x02173317, 0x80606020, 0x28751830, 0x10731515, 0x0b224330, + 0x40403008, 0x220b0830, 0x73103043, 0x75281515, 0x15e03018, 0x10101516, 0xa40c0c94, 0x10450b50, 0x082a0803, 0x0b451003, 0x0c0ca450, 0x04001094, + 0xe0ff0000, 0xa001c001, 0x22001900, 0x3a002e00, 0x06696700, 0x010f0622, 0x23053444, 0x34113526, 0x2906db67, 0x26343517, 0x3715012b, 0x505e0636, + 0x06222405, 0x8b14011d, 0x7001260b, 0x151a2f21, 0x07915551, 0x0a100124, 0xe582400e, 0xb7093728, 0x0e09090e, 0x05845709, 0x2f60012f, 0x27188121, + 0x0a2a240a, 0x010a0e0e, 0x28058390, 0x0781d128, 0x0419b809, 0x1e4a1845, 0x18098809, 0x220a4f4e, 0x1833000f, 0x250dcd4e, 0x16322133, 0x87832307, + 0xcd412320, 0x08466708, 0x2308cd41, 0xc0012634, 0x200b0050, 0x08c37270, 0xce720920, 0x01092a09, 0x14a0fe70, 0x01141c1c, 0x24058260, 0x50070944, + 0x7f471850, 0x8c0a8808, 0x12db4e8b, 0x31430520, 0x0b24661a, 0x18400121, 0x500e5940, 0xfc200ca0, 0x0d604018, 0x18000232, 0xa9011f00, 0x15006101, + 0x00002a00, 0x3236013f, 0x2405d45a, 0x06011e17, 0x05db4e0f, 0x7d073421, 0x1422081e, 0xed4b010f, 0xe0272206, 0x05a74b88, 0x05606026, 0x16050303, + 0x88240c82, 0x0707b907, 0x07211588, 0x21138307, 0x9a4b88d1, 0x23258205, 0x17040d0c, 0x1b201f84, 0x07212b84, 0x21068217, 0xf34b6060, 0x83fb8205, + 0x82a82087, 0x00142187, 0x3720fb82, 0x2008404c, 0x217b8927, 0x7e821637, 0x674c0620, 0x24178406, 0x1632013e, 0x85888917, 0x25869072, 0x09090904, + 0x8888af03, 0xa7827185, 0x03238790, 0x46030404, 0xf82506e7, 0x88014101, 0x188b8500, 0x22118d60, 0x41273236, 0x8f830727, 0x010e072a, 0x012f2622, + 0xb1373426, 0x8a84659e, 0x07071723, 0x0e2641c0, 0x0424b38d, 0x16040303, 0x8b8ea682, 0x00002922, 0x1805dd72, 0x240a6561, 0x2206010f, 0x07134117, + 0x0721178a, 0x41899e8f, 0x879d0505, 0x2b054f41, 0x18000100, 0xe9001f00, 0x15006101, 0x20172142, 0x120c4220, 0x8613fa41, 0x82e8204b, 0x8214204b, + 0x13e541cd, 0x4111ce41, 0x002a12ba, 0x00ffff01, 0x01410158, 0x47820028, 0x22053f74, 0x732f2206, 0x8a410b83, 0x89012012, 0x22da85a6, 0x82000788, + 0x204b8500, 0x414b8540, 0x4c411461, 0x41602012, 0x002310c1, 0x78000002, 0x1f220603, 0x9b522300, 0x012b3008, 0x16323317, 0x21230614, 0x36342622, + 0x4937013b, 0x332f0686, 0x11211101, 0x1c141002, 0x10c0141c, 0x440e0a48, 0x482207d8, 0x1383c010, 0xfed00128, 0x1cc00140, 0x0d82fe14, 0x140e3023, + 0x2c02820e, 0x01141c30, 0xfe1c1440, 0xfe2001a0, 0x07c74be0, 0x01800229, 0x001700c0, 0x47250021, 0xcd7b0883, 0x05ae4409, 0x82133721, 0x05674569, + 0x09820320, 0x07700235, 0xfe1a2609, 0x09261a00, 0x0d14ef07, 0x01120e3d, 0x5000fec2, 0x4037059d, 0x092080fe, 0x261a1007, 0x07101a26, 0x11150b09, + 0xfe70010f, 0x825001b0, 0xdcfe2191, 0x2005e151, 0x21e78500, 0x7782c001, 0x79820f20, 0x5b103552, 0x4d4a08e9, 0x82a02005, 0xa314263b, 0x1a13131a, + 0x20cf8413, 0x82dd8460, 0x20fe2115, 0x2506b35b, 0xff000002, 0xed8201c0, 0x4f8b0020, 0x54012b21, 0x4f880677, 0x39831020, 0x0483e020, 0x4e9b6320, + 0x47609f84, 0x001c2205, 0x08154139, 0x56075d4f, 0x2223098a, 0x18011d06, 0x8d0ec467, 0x05f7521c, 0x1c14802d, 0x0a08425e, 0x080a0e0e, 0x83d0261a, + 0x22118c7e, 0x82141cc0, 0x141c2c0f, 0x0e5e42f0, 0x0e0a300a, 0x91401a26, 0x18938f11, 0x820e155e, 0x57362076, 0x33200812, 0x1c8a9391, 0x81820120, + 0x50208e89, 0x8e067e6b, 0xa0012111, 0xa1848f9e, 0x00820020, 0x6e000721, 0xd35a074f, 0x001f2105, 0x2806df5d, 0x22061400, 0x32363426, 0x06d55a02, + 0x2205194e, 0x86203426, 0x86162017, 0x07b56217, 0x0f860020, 0x5a300121, 0xec220ac6, 0x0d821c28, 0x84c0fe21, 0x84152012, 0x4201210c, 0xfe210684, + 0x210684f6, 0x0684a401, 0xfb5afe20, 0x84ec2005, 0x20118427, 0x0a025693, 0x84420121, 0x0100210c, 0x0af74518, 0x08716118, 0x6505ef65, 0x002206d7, + 0xd7640400, 0x20cf8508, 0x85451829, 0x4f042009, 0x516b06f9, 0x36172307, 0xe6502e34, 0x012e2a05, 0x1714010e, 0xce913216, 0x27028291, 0x131a5501, + 0xb3131a13, 0xa32f0584, 0x0a090604, 0x236e2304, 0x06090a04, 0x868c2d04, 0x5e172068, 0x132a089f, 0x0b04971a, 0x05020507, 0x04822a2a, 0x040b0723, + 0x66839036, 0x83900abb, 0x013e162b, 0x07222627, 0x37011e06, 0x2d7f9336, 0x0512078a, 0x2d8c2d05, 0x07110706, 0x7d926e23, 0x0408c72c, 0x36360810, + 0x07031107, 0xff91002a, 0xff891f20, 0xff861620, 0x34321728, 0x1422012b, 0xe75d3633, 0x20f58506, 0x25ee84b5, 0xc0101090, 0xad431010, 0x84b82006, + 0x23ea8519, 0x802020ad, 0x6385f384, 0x02200038, 0x00600180, 0x002b000f, 0x003b0033, 0x16320100, 0x22230614, 0x04822327, 0x36342624, 0xab481733, + 0x07dd4b1a, 0x012a7f87, 0x5e5e42e0, 0x5c2f4342, 0x0883432f, 0x340c6024, 0x0382280c, 0x20420686, 0x286c2c05, 0x1c281c1c, 0x845e6001, 0x8230305e, + 0x8ab42004, 0x340c2221, 0x221b8238, 0x8434281c, 0x209f8205, 0x2403820d, 0x01400200, 0x4d9f8280, 0x3f3105ad, 0x57004b00, 0x6f006300, 0x87007b00, + 0x9f009300, 0x5f4f1800, 0x4d012010, 0x14230664, 0x1832013b, 0xa30bfb5f, 0xae05200b, 0x202f8b3b, 0x253b9625, 0x20fe1002, 0xed6d1c14, 0xfe1c2205, + 0x05914d5c, 0x9406984d, 0xb0fe2106, 0x1c87239a, 0x0c200124, 0x02820ce8, 0x5e824186, 0xfe246484, 0x011c14e0, 0x11556d18, 0x5420118b, 0x9d0a676f, + 0x04003b17, 0xc0ff0800, 0xc1010002, 0x2e000700, 0x58003400, 0x1e130000, 0x2e151701, 0x60182701, 0x022f1c5f, 0x36071617, 0x32331632, 0x07063507, + 0x83253615, 0x27062605, 0x15272635, 0x28118526, 0x17361537, 0x35171615, 0x20088216, 0x251d8237, 0x09f33635, 0x02820f32, 0x10df4008, 0x3f3b0e1e, + 0x3e196924, 0x100a0e34, 0x22180e0a, 0x0f180e18, 0x21050101, 0x301a6847, 0x232822e4, 0x23274d01, 0x3e0c2623, 0x37132326, 0x21281c2e, 0x23263f0b, + 0x2a202525, 0x0202011b, 0x82440311, 0x07bf2903, 0x11f31212, 0x16222909, 0x0cb56018, 0x170e2208, 0x0c0b0d0e, 0x0348e323, 0x8a0d460f, 0x48061147, + 0x02440906, 0x050b4414, 0x46150147, 0x03460411, 0x360e8507, 0x46180448, 0x04470614, 0xff020000, 0x02e0ffff, 0x009b0180, 0x66240014, 0x34220851, + 0xcb4a013f, 0x5305200a, 0x3327095e, 0x15163221, 0x49c20201, 0x9a210591, 0x05304b9a, 0x0107c22f, 0xfe0a0e77, 0x0e0e0ad0, 0x0a30010a, 0x7d4c180e, + 0x83be2012, 0x8320201b, 0x00003f04, 0xfffaff03, 0x018602bd, 0x000b00c3, 0x002b001b, 0x26270500, 0x1f361337, 0x03071601, 0xcd5f2706, 0x250d8206, + 0x1617010f, 0x0f850507, 0x62262721, 0x07280577, 0x0c3d1701, 0x0c038804, 0x04320583, 0x9009087d, 0x09900a0a, 0x09092b08, 0x09095b5b, 0x0a881c01, + 0x1a842b20, 0x03124027, 0x0cd6010c, 0x33068203, 0x740c2afe, 0x09870809, 0x09088709, 0x5008092e, 0x2f090850, 0x10820988, 0x00201982, 0x3c050f41, + 0x014002dc, 0x001a00a5, 0x13000030, 0x1d163637, 0x15031e01, 0x06070614, 0x26363726, 0x22098227, 0x4c26012f, 0x1b820666, 0x010e0728, 0x16143115, + 0x1882011f, 0xb0882737, 0x4e331c0c, 0x2330213e, 0x1c04150b, 0x0c1c5439, 0x087808b0, 0x08158208, 0x0b086d27, 0x1c6d080b, 0x9802010c, 0x530f0d0a, + 0x46291504, 0x19552c2f, 0x5a0c0e08, 0x0f540a52, 0x07980a0d, 0x16071d16, 0x291d8307, 0x18075e10, 0x07180b0b, 0x1782105e, 0x01349382, 0xbdfffbff, + 0xc9010902, 0x00000f00, 0x07163601, 0x2e010e03, 0x0805965e, 0x01373620, 0x0c2f1cbd, 0x1e2008bf, 0x1b19b017, 0xbc01170a, 0xfe1c2f0c, 0x060e1160, + 0x25b0121a, 0x3e820b2d, 0x0001002b, 0x02c0ff00, 0x00c70107, 0x0a614837, 0x21085256, 0x7c563307, 0x08e55e05, 0x25061a52, 0x23371115, 0xd5693335, + 0x15012f05, 0x0e0ae801, 0x0e280a0e, 0x0e0a300a, 0x0c827393, 0x0f8b2820, 0x0b3bd327, 0x0c0c160c, 0x05db6f3b, 0x01221a84, 0x0d82931b, 0x84080121, + 0x25118431, 0x6093e5fe, 0x27820c3b, 0xf33b0b22, 0x04209783, 0x01359783, 0x00c00180, 0x003e0036, 0x004e0046, 0x06140100, 0x0e070607, 0x23048202, + 0x011e0706, 0x2506057e, 0x3537013e, 0x9682012e, 0x82163221, 0x15072a11, 0x023e3736, 0x2e373637, 0x18128402, 0x6407b14c, 0x1220070b, 0x37063b46, + 0x181e8001, 0x2d0d1501, 0x10321c20, 0x1c17050a, 0x0e2f422f, 0x1f19101a, 0x1f2c0782, 0x18391819, 0x0b071e18, 0x0f1a1101, 0xfe270f82, 0x09090ed7, + 0x8417090e, 0x84f72005, 0x30013d05, 0x2a082a1a, 0x0613101a, 0x05080502, 0x19290908, 0x212f2f21, 0x05161f12, 0x1b2a07c8, 0x1b2f0b83, 0x0b90072a, + 0x0b030206, 0x05180d09, 0x82122016, 0x822f2013, 0x0e092344, 0x068489fe, 0x84370121, 0x00003406, 0xffffff03, 0x010102bf, 0x001700c1, 0x003f002f, + 0x68162500, 0x1f210840, 0x260b8301, 0x3f321614, 0x75173601, 0x322005c0, 0x0aea5318, 0x22263422, 0x13232a82, 0x69272206, 0x323e05db, 0x14160117, + 0x09300107, 0x7e2c2d09, 0x092d2c59, 0x08082808, 0x3c2a152d, 0x08082d15, 0x16932810, 0x1407e225, 0x4347fe07, 0x012505a8, 0x2a0707b9, 0x213b8208, + 0x3b827e59, 0x3b840920, 0x832a3c21, 0x28dc213b, 0xfe231693, 0x820707a1, 0x07142333, 0x43830717, 0x00071437, 0xff180002, 0x017a01c0, 0x002900c0, + 0x13000031, 0x14151632, 0x0bce610e, 0x37023e2a, 0x3435013e, 0x0e222326, 0x23050c73, 0x3637012e, 0x08070e6f, 0x6e42ca42, 0x1a25251a, 0x0a480a0e, + 0x131f0d0e, 0x2c161b13, 0x141d1319, 0x0813060f, 0x0603082b, 0x283a463f, 0x01283a28, 0x20405ac0, 0x15141b31, 0x0e0a060b, 0x160a0a0e, 0x0b0c1b22, + 0x160f150f, 0x11130d1c, 0x21202682, 0x5b282e82, 0x39298bfe, 0x00392929, 0x02260082, 0xc0ff0000, 0x9382c000, 0x26001e26, 0x33370000, 0x230dd15a, + 0x1d163233, 0x089d6b18, 0x8b883420, 0x14141429, 0x080c0c08, 0x840c0870, 0x82982007, 0x3c362a0c, 0x2a3c2a2a, 0x080c9018, 0x210d8230, 0x0786d408, + 0x01210c82, 0x261882a8, 0x00003c2a, 0x82100002, 0x82b0206b, 0x0007246b, 0x75000017, 0x032007a9, 0x2006c656, 0x05187303, 0x2fb0352a, 0x422f2f42, + 0x5e0a0e68, 0x0e25c182, 0x0e0a420a, 0x2c108331, 0x0a47012f, 0xfe0a0f0f, 0x0d0d0af0, 0x0a674b0a, 0x66003b22, 0x23086f52, 0x1707012b, 0x2f24b289, + 0x06272601, 0x22057a59, 0x83013d26, 0x27372165, 0x2a08a843, 0x16011f32, 0x013f3617, 0x88053336, 0x262729e3, 0x053e3435, 0x23263435, 0x2106fa64, + 0x4d82013e, 0x07141523, 0x29018206, 0x09071001, 0x351c0709, 0x0783163b, 0x05093e2b, 0x0304022e, 0x09052c03, 0x230f8340, 0x1e35391a, 0x452c0783, + 0x04280409, 0x29030302, 0x24010904, 0x25081083, 0x01020ea8, 0x1a19150d, 0x0d0d0d15, 0x0d090e12, 0x0e090d1e, 0x3b271f31, 0x21230f1a, 0x09000104, + 0x09072007, 0x0684544c, 0x04480827, 0x48040606, 0x210c8408, 0x06844d53, 0x07410827, 0x41050503, 0x05f07f08, 0x080b0e3c, 0x161a2515, 0x070f0f11, + 0x0c120e0a, 0x0d091508, 0x2a2e1c16, 0x17101d24, 0x13410c14, 0x4163200c, 0xb74c3d13, 0x26272509, 0x033e3435, 0x23501241, 0x19232318, 0x20131041, + 0x271041a0, 0x8480fe21, 0x0b0e2829, 0x1e2f1d08, 0x41131617, 0x9f47110e, 0x01003706, 0x001500a1, 0x2500001a, 0x1d323307, 0x21231401, 0x26012f22, + 0x01533734, 0x25230806, 0x37331707, 0x908ef201, 0x9cfe0c0c, 0x0e600e14, 0x0e00010e, 0x0ea00e28, 0x507cc3fe, 0x8eae4472, 0x820c280c, 0x83282015, + 0x32158216, 0x507d3128, 0x00000043, 0xff000001, 0x014002bf, 0x824b00c0, 0x1e322259, 0x05625a01, 0x0e22232f, 0x011f1601, 0x2e020e22, 0x36343502, + 0x05cb4335, 0x83141521, 0x010e281f, 0x11012f26, 0x82161730, 0x221b8215, 0x82163233, 0x081a8333, 0x3f023e70, 0x06073001, 0x02363233, 0x0c1b1207, + 0x31141a1d, 0x01121111, 0x0a030304, 0x1f242021, 0x23240e19, 0x111d111b, 0x35251414, 0x40121334, 0x1c272070, 0x1524231a, 0x222a2a23, 0x13110b0b, + 0x9f320929, 0x1b111d13, 0x23192423, 0x040c0d23, 0x06020403, 0x30110d10, 0x0c1d1915, 0x1f12121a, 0x14140917, 0x04040401, 0x0b0a4d01, 0x17320932, + 0x61821e1a, 0x1112302c, 0x0c040312, 0x4504040b, 0xcf821f6b, 0xcf820220, 0x6001c022, 0x0b29cf82, 0x00003c00, 0x3d262236, 0x06247a01, 0x1f433720, + 0x18072005, 0x21122061, 0xf465012e, 0x1716230a, 0x0e833616, 0x50d83331, 0x38503838, 0x57090740, 0x09073841, 0x83a00709, 0x41383304, 0x10070957, + 0x31420907, 0x07095439, 0xa0283860, 0x04833828, 0x07096827, 0x09634230, 0x841c8422, 0x09222404, 0x83284469, 0x2a210832, 0x06044e33, 0x0730384d, + 0x02000009, 0xb9fff9ff, 0xc7018702, 0x46002500, 0x16050000, 0x2706010f, 0x05d84801, 0x25051767, 0x14011d01, 0x81841707, 0x2006dd4f, 0x107d4f0f, + 0xb0833520, 0x021e1732, 0x17371617, 0x02150706, 0x14090c7a, 0xb3fd0c0a, 0xb3280684, 0x2c1a2838, 0x0b1a051a, 0x14218584, 0x31ba8b4c, 0x2f1f0634, + 0x320e071b, 0x0a0a1012, 0x090c190d, 0x0684c701, 0x282d8a23, 0x25338238, 0x14100ea0, 0xa7821a18, 0x2a22cb82, 0xca8d8026, 0x1a29072b, 0x01021d2c, + 0x02062701, 0x0b535122, 0x2b000d27, 0x21130000, 0x0a966b32, 0x23142522, 0x20088f7e, 0x22c48234, 0x1833011d, 0x25089774, 0x010c1516, 0x81560ca8, + 0xc0012405, 0x8258fe0c, 0x0c30240b, 0x82800c28, 0x14303803, 0x0c00011c, 0x1c14fcfe, 0x0401141c, 0x0c0c2c0c, 0x341c1424, 0x83340c0c, 0x141c2203, + 0x25008200, 0xfffeff02, 0x018201c0, 0x00380026, 0x01000040, 0x2505fb62, 0x3526012f, 0x52681523, 0x3736380c, 0x0e022a35, 0x010e0705, 0x3637012e, + 0x33362637, 0x33071632, 0x4e063734, 0x2d080645, 0x0806b201, 0x0aa80608, 0x131b0f28, 0x900a0e0b, 0x1f290e0a, 0x18061e04, 0x0d071206, 0x13030509, + 0x1e040812, 0x1e210b3c, 0x3a08221c, 0x0e48810a, 0xa62f0805, 0x74050801, 0x1c010805, 0x041b1002, 0x101f1812, 0x0e0e0af8, 0x3521f70a, 0x03021b08, + 0x130d0a06, 0x0708090c, 0x0f4c0913, 0x1b2d311b, 0x47120210, 0x022c06fb, 0xbfff0000, 0xc0010102, 0x32002a00, 0x1624b382, 0x07061415, 0x0f230382, + 0x18230601, 0x820c8847, 0x3435260d, 0x013e013f, 0x2303823b, 0x16173233, 0x3b08ac88, 0x3c4407f9, 0x05620b10, 0x160e0a06, 0x330a1a0a, 0x68170909, + 0x31030e0a, 0x680c1a05, 0x33486526, 0x22880a20, 0x17221717, 0x3221ad01, 0x68276448, 0x3105190d, 0x680a0e03, 0x33090917, 0x162c2f82, 0x05060a0e, + 0x3d100a63, 0x9f020743, 0x17222682, 0xc7750022, 0x771c200e, 0x25200923, 0x77083176, 0x1a770a22, 0x96fe3206, 0x07140788, 0x65080810, 0x10080865, + 0x88071308, 0x05157707, 0x85875621, 0x6666210f, 0x87221f85, 0x57181407, 0x1c200ccb, 0x2009d74f, 0x081d7605, 0x22760720, 0x50992009, 0x6a2005ca, + 0x42505e90, 0x765fa206, 0x132007fb, 0xc8885688, 0x76222621, 0x459205f2, 0x2005ed76, 0x20789101, 0x52bf8f00, 0x03200761, 0x88081641, 0x321621c8, + 0x9206de76, 0x06d97660, 0x20123941, 0x07cf4200, 0x01420223, 0x05e75fc1, 0x44223721, 0x162e050a, 0x1e012b06, 0x23351701, 0x34013d22, 0xf94a013b, + 0x1e172505, 0x06141501, 0x240abf44, 0x37013e15, 0x25318a23, 0x2622010e, 0xfa4a0027, 0x0d240806, 0x44050608, 0x05440808, 0x0e230806, 0x0c343052, + 0x241c340c, 0x37282839, 0x05341c24, 0x34050707, 0x230e5230, 0x202e2389, 0x8eaa8e10, 0x1a000110, 0x131a1313, 0x3a850f60, 0x31270f3e, 0x280cbe06, + 0x320a050c, 0x0139281f, 0x1f273801, 0x07050a32, 0x07052805, 0x273106be, 0x49242587, 0x01495757, 0x44071d55, 0xc122091b, 0x68182600, 0xe5550af3, + 0x15b57f09, 0x3435172b, 0x1d062226, 0x32161401, 0x12701836, 0x0ac17f0d, 0x22177023, 0x7f028217, 0x98251ac8, 0x17171130, 0x52048311, 0x5b5210d7, + 0x2148180a, 0x237d8312, 0x91ce9114, 0xac310282, 0x986c6c98, 0x4b6a836c, 0x664b6a4b, 0x34262634, 0x06854226, 0x82e1fe21, 0x986c2217, 0x221782cc, + 0x82756a4b, 0x34262e17, 0x03000000, 0x78000800, 0x0801f801, 0x05c35300, 0x54240021, 0x3a210573, 0x05586f02, 0x27077254, 0x3c2a4801, 0x743c2a2a, + 0x2a220483, 0x0684cafe, 0x0584de20, 0x1a821784, 0x4f840282, 0xc8ff1826, 0xb801a800, 0x12204f87, 0x2105ab54, 0xd454023c, 0x34022105, 0x42200785, + 0x01213b8f, 0x82609108, 0x09d75c4f, 0x17000f24, 0xff522900, 0x0aaf4506, 0x49183620, 0x17320831, 0x2e353632, 0x06222701, 0x3314011d, 0x1417011e, + 0x118f013b, 0x9c413320, 0x282c330b, 0x1c281c1c, 0x050704ce, 0x07055375, 0x04553c0b, 0x0c828a0b, 0x827eb121, 0x9266230c, 0x78690b04, 0x822c820f, + 0x05073002, 0x07057553, 0x040b2304, 0x070b3c55, 0x85b27d05, 0x6692220c, 0x0c73430b, 0x33441520, 0x013e260a, 0x012f2634, 0x21978326, 0x2c443716, + 0x066c2106, 0xb0240082, 0x0c18180c, 0x2d069e41, 0x0c0c037f, 0x076b030c, 0x0ed00e0e, 0x9f5c070e, 0x6b1b200c, 0x5c18127b, 0xd38c0a93, 0x0c080126, + 0x0cf8fe0c, 0xf823bb8e, 0x820c380c, 0x42002002, 0x275e05df, 0x000f2305, 0x7318001f, 0x5c1810a1, 0x16220eaa, 0x4b5d9001, 0x18e1200a, 0x200e355c, + 0xd25f1820, 0xb862290b, 0x0c160c0b, 0x0c46960c, 0x0b220682, 0x6b820b68, 0x2409ff72, 0x001c000f, 0x2d6d912a, 0x14010f03, 0x3f33011e, 0x012f3601, + 0x91443726, 0x05e46405, 0x788c3420, 0x0688b631, 0x39030703, 0x37040488, 0x071e6705, 0x83170714, 0x17042209, 0x23818c07, 0x39882e01, 0x06202682, + 0x38242682, 0x071e0904, 0x05222582, 0x25820437, 0x41181420, 0x41310883, 0x1e00c501, 0x00004000, 0x26060701, 0x0e22013d, 0xfb581802, 0x3533230a, + 0x7d823634, 0x34071428, 0x33161736, 0x9e473732, 0x21232105, 0x08051a59, 0x32013b2c, 0x07060716, 0x11012b06, 0x90380221, 0x3f2d1d0b, 0x040c1530, + 0x2b1f0914, 0x4a462d1c, 0x900b1d2f, 0x0608c008, 0x0c0c0505, 0x22480a06, 0x1c350805, 0x05097914, 0x04151e08, 0x40013305, 0x0b880f01, 0x0a48100c, + 0x283b2717, 0x18070d0c, 0x3e2a294f, 0x48091626, 0x880b0c10, 0x05d11407, 0x04010108, 0x59060702, 0x06b95e14, 0x0f051226, 0xc0fe0416, 0x0021ba82, + 0x0c675703, 0x00001e23, 0x248b823e, 0x26220614, 0x055b4302, 0x36053427, 0x010f012e, 0x28028206, 0x36013f16, 0x1a13d837, 0x32028213, 0x9191ce47, + 0x760191ce, 0x090e0704, 0x42050b90, 0x820c1406, 0x83cd2006, 0x0113221a, 0x2d1a8205, 0x0803ce91, 0x42030510, 0x0c900b05, 0x06820614, 0x200e1f42, + 0x11a35f1a, 0x83170521, 0x2b262461, 0x5f062201, 0xfe2b0d8a, 0x08087c9c, 0x0806057c, 0x5f0608f6, 0xa0200c80, 0x0f211784, 0x205b910f, 0x068f6035, + 0x2a07cc43, 0x0f262725, 0x3b160601, 0x42363201, 0x01210b58, 0x24598964, 0x14600110, 0x065c411c, 0x45185889, 0xb3820bf3, 0x0f6f4d18, 0x36371322, + 0x20077d43, 0x433f9230, 0xc78a0e2a, 0x00820020, 0x00000134, 0x4201e0ff, 0x4500a001, 0x17250000, 0x23060716, 0xc14e2622, 0x013b2206, 0x08196c26, + 0x33013e26, 0x021e1732, 0x2728c082, 0x06222326, 0x16323307, 0x2b230b82, 0x87170601, 0x031e3709, 0x36373233, 0x02093701, 0x4d1f1e0b, 0x051e1370, + 0x01150c07, 0x06821602, 0x6f16213c, 0x041b1948, 0x0c010205, 0x11150b03, 0x8a103e28, 0x06010706, 0x02930a02, 0x09858602, 0x08723708, 0x15261f18, + 0x220c1716, 0x08030b2c, 0x05074656, 0x16140c1c, 0x0c1e0507, 0x01055040, 0x2c030704, 0x2804020b, 0x1d060923, 0x0917130a, 0x13091c06, 0x060d1620, + 0xbf850002, 0xbf824020, 0xbf823620, 0x47067b4d, 0x7f180597, 0x36200875, 0xad83ba82, 0x0e21b983, 0x08837404, 0x33152f08, 0x33363435, 0x0c0c3401, + 0x0c0cd8fe, 0x0c0c1c24, 0x373d4f1c, 0x1d07092f, 0x1b1e0907, 0x0b0e1109, 0x0c540407, 0x077b540c, 0x680c6005, 0x074b0c0c, 0x37423005, 0x0a072347, + 0x13060824, 0x0d0a0804, 0x8240080e, 0x337f3a17, 0x00000705, 0xfcff0100, 0x2a01c0ff, 0x4100c001, 0x1e370000, 0x010e0701, 0x06c55307, 0x22013d39, + 0x3f012e27, 0x16173601, 0x3632013b, 0x012f3435, 0x2627012e, 0x65013b36, 0x320808e7, 0x011e1732, 0x2706010f, 0x22012b26, 0x16141506, 0x2d2cd117, + 0x243a0c10, 0x07200709, 0x06263009, 0x0a220602, 0x42130f0a, 0x6715110d, 0x04042e22, 0x91023141, 0x090c281a, 0x2d540dd7, 0x4c012721, 0x1e310528, + 0x22050e05, 0x110a0709, 0x1e06160d, 0x3122340a, 0x22178f47, 0x41031009, 0x34200a43, 0x2323c482, 0x75331716, 0xbe8205a4, 0x06161722, 0x2f228e82, + 0x834d2601, 0x37362106, 0x83065541, 0x211483a5, 0x2b832133, 0x34013d08, 0x3b050949, 0x05350c0c, 0x0697394c, 0x05530806, 0x0704a503, 0x271f5405, + 0x0c0c9f05, 0x55291492, 0x010c0705, 0x60010c28, 0x280c110f, 0x0246380c, 0x030f068b, 0x35050399, 0x1b200705, 0x1b241182, 0x0c2d0507, 0x8b820782, + 0xe0ff1328, 0xa0016e01, 0x8b823a00, 0x0f163223, 0x218c8601, 0x08861507, 0x82141521, 0x013d2191, 0x35208786, 0x07946018, 0x3626273e, 0x1f32013b, + 0x3f363302, 0x01333601, 0x0307075f, 0x0c0c3a50, 0x0c6c1458, 0x380c6c0c, 0x0c3f0382, 0x0c58146c, 0x03503a0c, 0x08410707, 0x021b3703, 0x03370f0c, + 0x0ca00108, 0x200c9606, 0x821b250c, 0x0c5c2304, 0x06825c0c, 0x82251b21, 0x06962a04, 0x4871070c, 0x07712325, 0x08db4300, 0x97828020, 0x32002926, + 0x23370000, 0x97768e89, 0x848f8705, 0x218a8207, 0x8e823435, 0x06141623, 0x08288227, 0x34353624, 0x5cef2326, 0xa10c0ca1, 0x0c3b0507, 0x340c0c34, + 0x05070c34, 0x40a30c34, 0x4d9c5151, 0x23282824, 0xfd822080, 0x07053422, 0x28201c82, 0x2d2d7c82, 0x0ccf0705, 0xdb51804f, 0x22232996, 0x267f8228, + 0xff000006, 0x824002e0, 0x00452e7f, 0x0052004e, 0x0064005a, 0x01000068, 0x05705023, 0x07012b22, 0x2005a841, 0x4a078723, 0x1d41059c, 0x3301230e, + 0x96823637, 0x07861f20, 0x22075d41, 0x82233705, 0x3e323712, 0x23013f01, 0x27013b17, 0x06232726, 0x23371707, 0x31021e17, 0x14833633, 0x3f34022f, + 0x0c0c4607, 0x0a022a55, 0x2b020939, 0x2a078537, 0x0c0c5429, 0x0c3e0846, 0x8212300c, 0x2a3b087f, 0x6d11020a, 0x2c090214, 0x6e14020a, 0x2e0a020e, + 0x13010706, 0x78fe0c30, 0x060b260c, 0x03010101, 0x0651081e, 0x03021a82, 0x03020c02, 0x0c270c81, 0x01010303, 0x51071e02, 0x83000107, 0x09b723fd, + 0x0383b709, 0x0c280c22, 0x51250e83, 0x56090905, 0x21038556, 0x14825105, 0x36369638, 0x81180c2f, 0x0b092020, 0x7f0b0c0c, 0x180b3636, 0x208f160c, + 0x57500020, 0x01802905, 0x001100c0, 0x1300001a, 0x6d11937b, 0xe039078d, 0x0e880a0e, 0x0ab0fe0a, 0xc80a0e0e, 0x0a0680a0, 0x01076207, 0xfe0e0a38, + 0x261183b8, 0x0e0ad001, 0x8280067a, 0x00002713, 0xff000005, 0x538501c0, 0x29001d26, 0x3e003500, 0x13205993, 0x690a715b, 0x3b220892, 0x168a3201, + 0x0b6e3520, 0x237d8c08, 0x0ca80c40, 0x6020028e, 0xfe279093, 0x0c0c088c, 0x844c0c08, 0x83542005, 0x870c200a, 0xff0430a3, 0x01d9fffd, 0x00a001aa, + 0x003b0026, 0x52560053, 0x4c550525, 0x013f250a, 0x23313630, 0x0c6d5418, 0x30010f2e, 0x32273106, 0x06010f16, 0x3626012f, 0x2b066d6a, 0x11151632, + 0x020e1625, 0x2f22012b, 0x09635a18, 0x32371d82, 0x27330717, 0x05039101, 0x82050704, 0x43030705, 0x08043902, 0x847e0408, 0x18a4200a, 0x080a3173, + 0x20070930, 0x28010907, 0x05030101, 0x02092403, 0x02082b09, 0x07062409, 0x08033902, 0x26030828, 0x0315070e, 0x051d0306, 0x16050707, 0x035f0304, + 0x0b840507, 0x04152908, 0x3b036003, 0x0c500714, 0x1407500c, 0x09074001, 0xc0fe0709, 0x040603a0, 0x1c1c0903, 0xa8060a09, 0x17610808, 0x04000000, + 0xe020eb82, 0xa722eb82, 0xeb871400, 0x16171325, 0x18012b06, 0x4d089962, 0x0123056c, 0x41011e32, 0x37202200, 0x6b24eb98, 0x0b080850, 0x84063569, + 0x310121de, 0x5420fc95, 0x0121ea99, 0x21cc829b, 0xcc83c0fe, 0x83400121, 0x6efe21dc, 0xdb20fc98, 0x0520eb91, 0xd924eb82, 0xa0010002, 0x242aeb82, + 0x44003400, 0x00005400, 0xaf410737, 0x3233220f, 0x10fa7a16, 0x0ed54718, 0x0f8e1520, 0x250a4953, 0x22012b06, 0x7418bb26, 0x092807ef, 0x09072007, + 0x2d080b30, 0x0020b384, 0xfe210583, 0x6a8418f0, 0x18092009, 0x24087070, 0x07800709, 0x20048409, 0x0db34135, 0x46011421, 0x498405a9, 0x4d827020, + 0x09210884, 0x200988f9, 0x20098887, 0x83008200, 0x82e020e3, 0x8ba720e3, 0x371324e3, 0x41011f36, 0x37200fd4, 0x7505be42, 0x06220623, 0xd38e0523, + 0x0520e39f, 0xf320e38f, 0x0121e3a9, 0x41e4854b, 0x1c2008cb, 0xa109f779, 0x099f43e3, 0x34001e2e, 0x56004100, 0x27010000, 0x36013f26, 0x58053b54, + 0x5d470944, 0x06352206, 0x06ba7107, 0x75230621, 0x3730077e, 0x37012e06, 0x22232634, 0x011e1415, 0x32373233, 0x3014ba43, 0x08143501, 0x05042b09, + 0x1a07051f, 0x05070705, 0x3f04836d, 0x25270a19, 0x3230201f, 0x0a11162a, 0x0c030a03, 0x22130e18, 0x09115d14, 0x0b0c020d, 0xc301010c, 0x2810bc43, + 0x0809154e, 0x05070329, 0x069c437f, 0x07051d3f, 0x1ae6093a, 0x2a2c3029, 0x0a040740, 0x09040c1e, 0x2111030d, 0x10151001, 0x030a0905, 0x0fb64304, + 0x00820020, 0xdd25f383, 0xa701aa01, 0x20f3ca00, 0x0a475125, 0xb308ef43, 0x9dfe21f3, 0xe420f4bf, 0x1242f487, 0x26f38207, 0xff000003, 0x660102c0, + 0x442006c3, 0x2011c975, 0x07d75416, 0x0706142c, 0x15163233, 0x16230714, 0x02830706, 0x020e0727, 0x2722012b, 0x05a34526, 0x013e372b, 0x36373637, + 0x021e3233, 0x278b1868, 0x1e2f0808, 0x140e0e14, 0x2058010e, 0x23196501, 0x04080113, 0x0c0a060d, 0x2a0a0c06, 0x30031d21, 0x05112348, 0x35140407, + 0x0e0b0e10, 0x19150b14, 0x740ee00f, 0xf0220558, 0x2c730e0a, 0x01230805, 0x073f1979, 0x131e1723, 0x14112e11, 0x121a0e29, 0x20020e0e, 0xd6050710, + 0x4d150305, 0x3a2c0f0f, 0x90240f05, 0x004623c3, 0x8d181100, 0x36210e69, 0x83c58514, 0x2e2722ad, 0x06b87802, 0x36373224, 0xae82013b, 0x07161724, + 0x0283011e, 0xdd823320, 0x012b062b, 0x1415011e, 0x0a0e020e, 0x20c68650, 0x24c28228, 0x0201140e, 0x30a78214, 0x101f1c0e, 0x11050704, 0x03304823, + 0x18241915, 0x31cd8308, 0x08040d06, 0x19231301, 0x0f200165, 0x88011519, 0xc8860e0a, 0xfe843220, 0x3ae8fe29, 0x280d0f2c, 0x8203112b, 0x10072bb8, + 0x0d050120, 0x0e1a120b, 0xd5821429, 0x171e1338, 0x193f0723, 0x050f2419, 0x00020000, 0x00c0ff05, 0x00c001fb, 0xd7820007, 0x22069d51, 0x82161334, + 0x088b4b94, 0x26222322, 0x0805c955, 0x33371626, 0x65171632, 0x36252536, 0x0e03b725, 0x0a0e380c, 0x380e0a20, 0x30030e0c, 0x0b080d02, 0x080b2525, + 0xc001020d, 0x25261d82, 0x0cc3fe36, 0x96836812, 0x0c126829, 0x110b07c0, 0x5c070b11, 0x6f8c0cdb, 0x18089577, 0x2211c966, 0x84453716, 0x14702f6f, + 0x100a0e1c, 0x0a400a0e, 0x0e0a100e, 0x6d82141c, 0x6b226986, 0xff82141c, 0x0e220282, 0x0282880a, 0x111c1423, 0x0aa35e11, 0x2f000724, 0x7d513700, + 0x1416260a, 0x1617010f, 0x06af6a06, 0x82060721, 0x26272ada, 0x27013f34, 0x011f3626, 0x05c66b37, 0x010f162a, 0x26343606, 0x16140622, 0x34053859, + 0x0a0a5601, 0x0f03215e, 0x0430640a, 0x642f0516, 0x2104100a, 0x2512835e, 0x640b0f04, 0x1287052f, 0x4b4b632d, 0x014b4b6a, 0x38503820, 0x88185038, + 0x85299216, 0x0a102312, 0x3183bf64, 0x004b6a22, 0x50080082, 0xff1b0001, 0x01e801c0, 0x001800c0, 0x2e220500, 0x36343501, 0x1e173233, 0x010e0701, + 0x37161415, 0x0e071636, 0x451b0102, 0x6a964576, 0x03081718, 0x92372f07, 0x0508085d, 0x404a3e18, 0x6a467545, 0x10020496, 0x365e1a05, 0x0212795e, + 0x2a1e060f, 0xd7491817, 0x00092a0c, 0x00250015, 0x21113300, 0x05ff6211, 0x0b055418, 0xfb7f2520, 0x20332d0d, 0x0d13c001, 0x130d80fe, 0x0c680ca0, + 0x01200282, 0x0a6c6618, 0xfe20012c, 0x13130de0, 0x0c0c08e1, 0x26820c08, 0x2405224d, 0x0200130d, 0x051760ff, 0x3f00c02a, 0x00004500, 0x2b061425, + 0x0729b782, 0x06141617, 0x06012f22, 0x06e44923, 0x0727222e, 0x34262206, 0x3d26013f, 0x26222301, 0x3c08e482, 0x2735013b, 0x32363426, 0x3733011f, + 0x14163236, 0x3315010f, 0x32001632, 0x34231516, 0x0d140002, 0x093d0e37, 0x360a1a13, 0x180c3328, 0x3628330c, 0x09131a0a, 0x0d370e3d, 0x380d1314, + 0x2019842f, 0x2f1384e6, 0x130d382f, 0x425cd3fe, 0x120d9fe0, 0x3c1d2010, 0x37272783, 0x0c0cf420, 0x833720f4, 0x1d3c2926, 0x0d121020, 0x2e3b130e, + 0x13841984, 0x133b2e27, 0x2e421301, 0x118f502e, 0xe9510520, 0x21332106, 0x2a059a7d, 0x1f060703, 0x3d361601, 0x52263401, 0xa0270c8d, 0x7c08087c, + 0x520f0f05, 0xa5500d7c, 0x0f9f580a, 0x8d420f20, 0x42042009, 0x32200564, 0x25060554, 0x2f422f48, 0x0154422f, 0x83882006, 0x522f200b, 0x022308ab, + 0x7a00c101, 0x17370523, 0x010f0616, 0x012f2606, 0x27262223, 0x3e343526, 0x011e1701, 0x5f0e1417, 0x172b0b68, 0x1f163233, 0x16363701, 0x410e1727, + 0x37210665, 0x080a8216, 0x1614157a, 0x37363233, 0x030ef001, 0x0c410604, 0x8c3e061a, 0x2002120c, 0x19121f12, 0x190e0123, 0x07820510, 0x79070909, + 0x11088405, 0x06253904, 0x151ab60c, 0x67493557, 0x0504323d, 0x2e421f19, 0x3e063f2a, 0x030d061c, 0x0c090621, 0xe10b1086, 0x111e1204, 0x19240101, + 0x02121d10, 0x20070921, 0x0b200907, 0x02137b07, 0x2f371c04, 0x3749673a, 0x271b1359, 0x2e1f330f, 0x00293742, 0x2006374f, 0x05ab4e81, 0x16322533, + 0x2b010e15, 0x013d2201, 0x3d260607, 0x013f3401, 0x18088835, 0x25087a75, 0x0f14011d, 0xc6821501, 0x32330885, 0x36343536, 0x05740133, 0x657b0407, + 0x06310c50, 0x84370909, 0x380c2304, 0x0c82810c, 0x04848720, 0x0762462b, 0x0507c005, 0xc10c7064, 0x245c820b, 0x0c020a29, 0x2408871e, 0x330c0c45, + 0x2114851d, 0x08871e1e, 0x484d9f25, 0x5f000704, 0x802006ab, 0x33359f82, 0x00003c00, 0x07141625, 0x06212306, 0x040e3307, 0x15233523, 0x82a58222, + 0x333422ad, 0x82058535, 0x33153189, 0x031e3235, 0x17162317, 0x32073221, 0x22232636, 0x0234a782, 0x342f2f51, 0x07e2fe45, 0x4228ce09, 0x22372a2b, + 0x201c1410, 0x29080082, 0x2210141c, 0x422b2a37, 0x0709ce28, 0x35451e01, 0x0f0c0c0f, 0x3416f008, 0x060a1816, 0x23242308, 0x25808016, 0x2818401b, + 0x03821018, 0x251b4025, 0x82168080, 0x06082a15, 0x2828700a, 0x00084008, 0x0b3f5500, 0x3d002522, 0x08110556, 0x1e321726, 0x023e3202, 0x35373633, + 0x21232634, 0x011d0622, 0x07060516, 0x2e22040e, 0x27262703, 0x33161415, 0x35363221, 0x2b0b2056, 0x08110182, 0x080f0a0f, 0x284a0111, 0x2905056f, + 0x16180128, 0x09100149, 0x01820f10, 0x49271782, 0x010a0e16, 0x530e0a10, 0xe63f0d17, 0x0707050e, 0x20350e05, 0x0e0e0a19, 0x0920190a, 0x0c013511, + 0x04040906, 0x010c0609, 0x838e1135, 0x82002015, 0x00032e00, 0x01e0ff10, 0x00a001f0, 0x00250017, 0x24b38239, 0x012b1415, 0x05545d15, 0x3d222325, + 0x5f3f3401, 0x032405f4, 0x011d1632, 0x34271685, 0x33373336, 0x86353315, 0x32230803, 0x3521011d, 0x01013b34, 0x0c1808f0, 0x180c78fe, 0x01e80508, + 0x05e80104, 0x080e0a18, 0x0e0830fe, 0x8340380a, 0x0c242a00, 0x240c60fe, 0x08104001, 0x2f00820c, 0x02051008, 0x58010158, 0x0ecbfe02, 0x0808100a, + 0xf021c182, 0x270083c0, 0x0c14140c, 0x00020000, 0x02270082, 0x00840181, 0x822e0023, 0x16730895, 0x06050714, 0x0706012f, 0x07141516, 0x2b061617, + 0x3f262201, 0x34352601, 0x27373637, 0x25373426, 0x37011f36, 0x22061417, 0x17373526, 0x126e0216, 0x17e9fe12, 0x0213c417, 0x011a0e10, 0x08380809, + 0x0e1a0109, 0x30110110, 0x17011212, 0x910a1717, 0x70a0700e, 0x0121910e, 0x06220627, 0x3c080855, 0x110a170e, 0x07730a10, 0x73070c0c, 0x0912100a, + 0x850f151a, 0x2cf72919, 0x25251b71, 0x0a2c711b, 0x00219182, 0x24048205, 0x01800220, 0x2f098260, 0x0044000f, 0x0065004e, 0x23173700, 0x2516013f, + 0x22058644, 0x74112123, 0x0630128d, 0x26272607, 0x1706020f, 0x07061716, 0x16011f06, 0x1633b782, 0x013f1617, 0x27262736, 0x32333736, 0x33363425, + 0x83211121, 0x1e0628bf, 0x32013b01, 0x5333013f, 0x2f22055c, 0xed822601, 0x0b980734, 0x05080b26, 0x0e0ad301, 0xe8fe0a0e, 0x400c0001, 0x0382100c, + 0x09720c38, 0x07080915, 0x0b070709, 0x0c0b0a07, 0x08060a0e, 0x11120b06, 0x08831410, 0x0d0d0a3a, 0x0c0b0b20, 0x0a0eb0fd, 0xe8fe1801, 0x013b0e0a, + 0x17040602, 0x3c090309, 0x89820382, 0x0339022c, 0x03092009, 0x212626d4, 0x5f428015, 0x40012305, 0x59821078, 0x102a0282, 0x0a16150c, 0x0406090b, + 0x48820704, 0x0609092a, 0x070b0e0a, 0x0c0d0e0b, 0x5d820482, 0x23230a38, 0xfe0e0a6c, 0x380a0ec0, 0x09050704, 0x0a091f1f, 0x0808a906, 0x376f0000, + 0x000f2f09, 0x00350025, 0x00550045, 0x006e0065, 0x92181300, 0x05200e4f, 0xb2570f85, 0x011f250a, 0x35031516, 0x07da5318, 0x3b161423, 0x05f17601, + 0x22012b25, 0x85011d06, 0x9e17200f, 0x6537201f, 0x2327058e, 0x130d4015, 0x83200d13, 0xc0012104, 0xfe200583, 0xf3240584, 0x092e090d, 0x0afe8218, + 0x2009014d, 0x890a8980, 0x20102809, 0x01d00907, 0x850d1340, 0x8201203d, 0x82202054, 0x87e0200c, 0x224c8256, 0x4e9dfe0d, 0x79201215, 0x77211392, + 0x21588260, 0x00820090, 0x00000825, 0x8201c0ff, 0x11002201, 0x058f5100, 0x49003d29, 0x61005500, 0x43050000, 0x6f570750, 0x15012108, 0x2305f27a, + 0x22012b34, 0x8208347b, 0x7b17200b, 0x556e0936, 0x6d1d8205, 0xc1510b93, 0x220b8b0b, 0x7b0cb401, 0x01250528, 0xfe0e0a50, 0x0bb26ce0, 0x830c3421, + 0x8274200d, 0x946a1804, 0x2f22850c, 0x14140c20, 0x0ac8010c, 0xfe0a0e0e, 0x28940138, 0x6c202b83, 0xa0200584, 0xa0252085, 0x540c0c54, 0x85178aac, + 0x082b631d, 0xc001802a, 0x29000700, 0x34120000, 0x2305565c, 0x0f141636, 0x2107f250, 0x8418013d, 0x3521073b, 0x096e4811, 0x3c2a782f, 0xcb3c2a2a, + 0x135f0913, 0x130d100d, 0x2a058410, 0x1a13095f, 0x5666560a, 0x835a010a, 0x502a211d, 0x5e280e82, 0x130df5fe, 0x70700d13, 0x01290583, 0x1a0a5e0b, + 0x57570913, 0x357b8209, 0xfffbff05, 0x010502e0, 0x001200a5, 0x0028001d, 0x003f0033, 0x7f643600, 0x4806200a, 0x262b05e6, 0x06070616, 0x2627012e, + 0x8216013e, 0x368f0807, 0x011e3637, 0x1e171617, 0x2e010e01, 0x023e3701, 0x3e012e07, 0x07011e01, 0x4cda030e, 0x22263e5c, 0x12134c19, 0x2622194d, + 0x1410193e, 0x171e0e16, 0x2c140805, 0x122d2f9e, 0x1f0f1814, 0xee090619, 0x2a101416, 0x0508142c, 0x188e1e17, 0x2f2d1214, 0x11040914, 0x43e01815, + 0x1e1a265f, 0x1a1e1919, 0x346a5f26, 0x0b03052d, 0x2d1a1119, 0x260c1d0a, 0x04063741, 0x2115200f, 0x342d051f, 0x1a2d0a1d, 0x210b1911, 0x26413706, + 0x1021370c, 0x1807111b, 0x2408ef96, 0x001300c1, 0x22c98219, 0x7f361300, 0xfc52067e, 0x05a87f05, 0x15073e08, 0x03353717, 0xef073537, 0x0ed01111, + 0x15d01b11, 0x111ad016, 0xc0c0e10e, 0xa0a0a0c0, 0x0606ba01, 0x0f18064e, 0x680d1ee1, 0x0d680b0b, 0x180fe11e, 0x02481006, 0xfe024e4e, 0x428650e4, + 0x28008200, 0xff000007, 0x010002db, 0x316382a3, 0x00270021, 0x002f002b, 0x00370033, 0x1d162500, 0x6b841401, 0x2f060723, 0x06144801, 0x013f3422, + 0x19828682, 0x07350724, 0x7c832715, 0x82032721, 0x27372409, 0x86051707, 0xe9013d07, 0x10641417, 0x10686810, 0x17146410, 0x0d641761, 0x2217640d, + 0x66667755, 0x55551266, 0x01210582, 0x08068456, 0x1909c631, 0x320a166e, 0x34340808, 0x0a320808, 0x09196e16, 0x09196c24, 0x26050526, 0x016c1909, + 0x8f452449, 0x01292901, 0x4bb7fe26, 0x279b4f27, 0x86462a27, 0x00002607, 0xfffcff03, 0x29b382bd, 0x001c00c1, 0x00550038, 0x424c3700, 0x3b162205, + 0x05fc5701, 0x012e2227, 0x2627013f, 0x24ad8236, 0x26371716, 0x20c68422, 0x05dc4626, 0x16363728, 0x010e010f, 0x2383012f, 0x14161726, 0x012b010e, + 0x8205776d, 0x22d9821f, 0x82363233, 0x080b82ee, 0x02b9173c, 0x33280912, 0x3413120a, 0x24340c0c, 0x33120936, 0x0b030929, 0x010c066e, 0x0924097c, + 0x220b0612, 0x1c12070a, 0x282a1c6a, 0x19031209, 0x6e060b02, 0x2809030b, 0x2d180fad, 0x694f601b, 0x13603b07, 0x071b0a12, 0x070a220a, 0x060d0aba, + 0x21105119, 0x300c280c, 0x1a512241, 0x33821505, 0x07072108, 0x1d0f0f49, 0x0616060a, 0x2d2d1d0a, 0x0d061942, 0x07076e0a, 0x15031902, 0x179c1a05, + 0x301c2b35, 0x3e0af34f, 0x0a2c1021, 0x0a061507, 0xfeff0400, 0x02020000, 0x37008001, 0x50004100, 0x00006100, 0x82163201, 0x012b21e4, 0x1421c082, + 0x08b74d07, 0x09882120, 0x013d2626, 0x22233734, 0x23053555, 0x3b033e37, 0x1f263082, 0x21072501, 0xff822e27, 0x07062227, 0x033e023a, 0x05004b35, + 0x32212008, 0x23263436, 0x15010e22, 0x3a031e14, 0x06f40101, 0x03060107, 0x10161409, 0x0d200d13, 0x8400ff13, 0x10370806, 0x03091416, 0x06070106, + 0x1506113c, 0x8011201b, 0x110c3922, 0x0114dcfe, 0x19051400, 0x190e800e, 0x060d0239, 0x0307060b, 0x12121c22, 0x120e4e01, 0x17090e12, 0x82070310, + 0x010d2e13, 0x18060910, 0x301d1309, 0x0d361218, 0x824e8213, 0x13220856, 0x1812360d, 0x09131d30, 0x2a090618, 0x0a121b0f, 0x122a2026, 0x110d3232, + 0x0201af11, 0x0f040603, 0x48821221, 0x10121c2d, 0x06040917, 0x00010203, 0x18040000, 0x2d08f341, 0x00390031, 0x004a0042, 0x011e2500, 0x0141011d, + 0x4f362018, 0x84530539, 0x32332308, 0x4b181716, 0x0a4108b9, 0x87072006, 0xce012410, 0x8b201c16, 0x202308f1, 0x0716161c, 0x130b1b2b, 0x130d800d, + 0x072b1b0b, 0x131a9bfe, 0x35131a13, 0x01111601, 0x0cd6040a, 0x840d0103, 0x04ce2710, 0x24301723, 0xda892913, 0x25122929, 0x04231730, 0x84221b55, + 0x222023e9, 0x3882c31b, 0x5d1a1327, 0x0e080543, 0x820a84b2, 0xff012acf, 0x01bffffb, 0x00c10185, 0x24c9822f, 0x012b0616, 0x08fd4815, 0x22233525, + 0x86013f26, 0x82272004, 0x013e270a, 0x011f1632, 0x25820716, 0x4e082484, 0x0c0a7a01, 0x041e890f, 0x09600909, 0x891e0409, 0x500a0c0f, 0x090c0f1f, + 0x060f1d4f, 0x036e0a06, 0x03060606, 0x06060a6e, 0x094f1d0f, 0x461f0f0c, 0x31181b0b, 0x080f0f08, 0x0b1b1831, 0x5b0b1a5a, 0x750b0d0e, 0x03020203, + 0x0e0d0b75, 0x821a0b5b, 0x4354188e, 0x000f260a, 0x00230019, 0x05c46900, 0x3d012e26, 0x33363401, 0x2906ac56, 0x013d2622, 0x15172016, 0x09850614, + 0x83c00126, 0x3c673d5d, 0xba260485, 0x32014783, 0x06848347, 0x2e770127, 0x21142b1e, 0x28058414, 0x2b1e677b, 0x31671e2b, 0x4807866f, 0x27080547, + 0xc0018001, 0x0c000600, 0x26001400, 0x4b004200, 0x00004f00, 0x34012e37, 0x07143233, 0x07061716, 0x37360736, 0x3313040e, 0x2406344f, 0x36341135, + 0x2a93823b, 0x27261716, 0x012e2736, 0x82060706, 0x010e2824, 0x32331617, 0x82373637, 0x36240805, 0x16372627, 0x3523011d, 0x13173233, 0xb6362706, + 0x06020202, 0x0c150e06, 0x044f0d33, 0x080c061f, 0x88a20306, 0x08085459, 0x1d020e3b, 0x03050c0e, 0x06021615, 0x1d12170e, 0x0e080c26, 0x113e2419, + 0x0a141c24, 0x074f100a, 0x070a0680, 0x2b250618, 0x111707c0, 0x0f1a3628, 0x56181402, 0x0f0a1d0b, 0x01010509, 0x0985590c, 0x0a882508, 0x2412ac0e, + 0x0b0e112f, 0x37160a08, 0x260e2036, 0x143e0a10, 0x09221303, 0x0a07db0f, 0xfe078006, 0x0110079f, 0x83095f41, 0x001124f3, 0x5945003c, 0x222814a3, + 0x26150607, 0x012b2627, 0x07200882, 0x06250885, 0x3b16011f, 0x22e18301, 0x83171633, 0x013f2509, 0x23012e36, 0x2915aa59, 0x16010a39, 0x09021c02, + 0x05820a1d, 0x0213013d, 0x0706190a, 0x0a022502, 0x18030925, 0x15040101, 0x0a260903, 0x03012602, 0x594f0406, 0xff3d13c1, 0x1c650a00, 0x0909730f, + 0x5f1b0873, 0xa806090a, 0x0c630909, 0x09095817, 0x040704a8, 0x066f5a86, 0x5a000321, 0x3422096f, 0xc7933d00, 0x83361721, 0x010f22c2, 0x82ca8434, + 0x060721c1, 0xc285c386, 0x012f3622, 0x3c29bf95, 0x23070704, 0x25250307, 0x22068203, 0x863c0407, 0x0322240f, 0x85041311, 0x140a5b11, 0x0c06f22b, + 0x44014506, 0x5d060d06, 0x230a825e, 0x2421083d, 0x5e210682, 0x44b186d6, 0xc021053b, 0x05a34801, 0x22001022, 0x3727b583, 0x06141632, 0x4235012b, + 0x07200831, 0x21108c5b, 0xc6833413, 0x4a020e21, 0x3d33079e, 0x3e023a01, 0x0e0dc204, 0xd31b0d0f, 0x0a068007, 0x5b0e3707, 0x353c0aa5, 0x02512128, + 0x07020305, 0x07051f05, 0x170c1401, 0x080c1310, 0x111b11b1, 0x0a07a63d, 0x81218a82, 0x0abd5b0a, 0x21d3fe33, 0x0503022c, 0x0705c802, 0x02390507, + 0x19110b06, 0x22a78b00, 0x821a0008, 0x002d23a7, 0x115c0100, 0x43072007, 0x06281008, 0x16140622, 0x17343632, 0x081b8718, 0x80011522, 0x2005d741, + 0x0ae74288, 0x1c276a30, 0xa01d271c, 0x67090828, 0x28080828, 0x8b824601, 0x30076222, 0x270cc342, 0x1c281c10, 0x70d4281c, 0x68202082, 0x28210382, + 0x0b575c30, 0x14000828, 0x2e002a00, 0x8d824f00, 0x2c075f43, 0x011e3202, 0x22061415, 0x36343526, 0x10394137, 0x35331524, 0x04820733, 0x3632022b, + 0x2b26012f, 0x35333501, 0x23038723, 0x33152315, 0x07240386, 0x07790106, 0x9f28b083, 0x13090f11, 0x7709131b, 0x2d0a4f41, 0x80402068, 0x1f321920, + 0x0a021204, 0x00892016, 0x01051325, 0x820a0757, 0xb7fe2bc3, 0x0b070d07, 0x070b1010, 0x5a41cf0d, 0x252a840b, 0x192680fe, 0x35890a57, 0x61202023, + 0x0d2b5d18, 0x2f002126, 0x46003d00, 0x2613bf42, 0x26343503, 0x4b23010f, 0x17310591, 0x06373616, 0x3637011e, 0x0e262734, 0x14161701, 0x20068537, + 0x42148507, 0x230815c8, 0x24050f40, 0x1c0c0c1c, 0x210f0524, 0x0c18090a, 0x1a0b1414, 0x4f070907, 0x09061b0a, 0x0a0b1b1b, 0x40290b18, 0x3c138143, + 0x08886cfe, 0x0c240606, 0x06240c38, 0x1a0b3806, 0x3b150906, 0x18080b14, 0x6e13070c, 0x2906820a, 0x0b1c4e1c, 0x2a09051a, 0xdb429f75, 0x098f4308, + 0x1a000824, 0x31423400, 0x1097410b, 0xd7831320, 0x8210644d, 0x423520e1, 0xa0200738, 0x290a8141, 0x0b1e60c8, 0x700a0e37, 0x04840e0a, 0x1e0b3722, + 0x20063b42, 0x0cc94218, 0x0c10e825, 0x8626370b, 0x0a0e2724, 0x0c0b3726, 0x3f420010, 0x001a260d, 0x00470033, 0x1ccd4260, 0x36370726, 0x012f3435, + 0x26320585, 0x010f2223, 0x011f1406, 0x17323316, 0x3f323330, 0x1c833401, 0x16833020, 0x14151423, 0x053c6b17, 0x15202484, 0x07212582, 0x82058306, + 0x4337202b, 0x733a1300, 0x28020114, 0x14010228, 0x01020301, 0x41020241, 0x35030201, 0x3e010401, 0x05841c04, 0x1285bc20, 0x26891f82, 0x27142543, + 0x020215f1, 0x24240103, 0x022d4782, 0x3d010115, 0x3d020402, 0xd3043101, 0x20468201, 0x20068508, 0x20138467, 0x22288d01, 0x18000600, 0x260b2b8a, + 0x001b0015, 0x54270021, 0x2524098b, 0x16072726, 0x082d9618, 0x07062725, 0x82373617, 0x26372210, 0x82088227, 0x06a3540e, 0x1a14a632, 0x96111c3f, + 0x50383850, 0x141a2038, 0x6d1c1140, 0xee201184, 0xbb540b84, 0x84192006, 0x82a1200c, 0x50382222, 0x851e8ad6, 0x00002d2a, 0x07000100, 0xf801c7ff, + 0x2300b401, 0x342e0c82, 0x011e1736, 0x010e1415, 0x27262223, 0xef533634, 0x05f55605, 0x36324208, 0x27263435, 0x20013526, 0x69510c12, 0x67437242, + 0x51690191, 0x3a12130b, 0x6c986c4c, 0x01123a4c, 0x030e0c99, 0x43568515, 0x67904372, 0x03158656, 0x12110c0e, 0x3f621005, 0x4c6c6c4c, 0x0510623f, + 0x356e8212, 0xffff0100, 0x0302bbff, 0x1600c501, 0x36010000, 0x0e030716, 0x79542f01, 0x13390805, 0x05072636, 0x37012e27, 0x190ddc01, 0x15024802, + 0x0a407d0a, 0x0803f120, 0x6ae1fe04, 0x010d020e, 0x0f1107bd, 0x0c0b50fe, 0x0d4d3405, 0x0151110b, 0x03070525, 0x1e062cfd, 0x2c588207, 0xff080002, + 0x01f901c7, 0x002500b8, 0x230f8237, 0x22230614, 0x3f234b82, 0x18013e01, 0x52080b52, 0x3d28074f, 0x1f363401, 0x32333601, 0x114a7b84, 0x2ffa8208, + 0x91f80107, 0x08445867, 0x060b0801, 0x40320713, 0x2308ba83, 0x07333549, 0x07910b08, 0x32071409, 0x24676348, 0x41081406, 0x0a100a0e, 0x0208290e, + 0xcd270106, 0x15073792, 0x013e2e82, 0x986c2805, 0x0733326c, 0x91070914, 0x3207080b, 0x08bafe45, 0x88330603, 0x0a0e0e0a, 0x35822068, 0x00010022, + 0x20078353, 0x23fb824b, 0x012b0614, 0x11179418, 0x72233521, 0x1121114a, 0x0c096123, 0x15203782, 0x280c8a76, 0x09f00115, 0x07252507, 0x064e7209, + 0x26cc2622, 0x16940b88, 0x07700123, 0x19941809, 0x5180200b, 0x01210a11, 0x09135140, 0xae821788, 0xff0f0029, 0x01b001e0, 0x822000a0, 0x7632200c, + 0xd45c06f9, 0x86232008, 0x013d2809, 0x36342622, 0x79980133, 0x202506c4, 0x0e200e0a, 0x2505820a, 0x435f5e42, 0x0a84a001, 0x83a8fe21, 0x5801211c, + 0x68230785, 0x595e845e, 0x23270c1f, 0x6b004700, 0x85250000, 0x4c232063, 0x054109c7, 0x08b14108, 0x2b202386, 0x0935a318, 0x29412120, 0x21332105, + 0x37202388, 0x238a4785, 0x01274791, 0x090907f0, 0x84b0fe07, 0x835020f9, 0x8450200b, 0x8a01200a, 0xb0fe210b, 0x01201783, 0x17841885, 0x2384d020, + 0x1683d020, 0x39410a85, 0x83102005, 0x84102010, 0x750a851b, 0x16a705b6, 0x00000024, 0x33520001, 0x00252307, 0x4b6a2500, 0x34352405, 0x82062737, + 0x363426b9, 0x37173233, 0x83de8226, 0x22233317, 0x14160727, 0x01361707, 0x38382860, 0x66023850, 0x0882221a, 0x1a222824, 0x0e820266, 0x08843820, + 0x80201482, 0x0b230c84, 0x8215400a, 0x40152308, 0x2d840b0a, 0x16200882, 0xd36c1282, 0x6a35200c, 0x0729115b, 0x36270722, 0x16372734, 0x050e5e33, + 0x17141528, 0x22232607, 0x10821406, 0x06173725, 0x83161415, 0x0d766a17, 0x1016902d, 0x44020244, 0x21171610, 0x86212e21, 0x83172008, 0x200e8214, + 0x0c886a21, 0x290fec27, 0x29070e07, 0x2118830f, 0x08850717, 0x07201282, 0x1b4c3984, 0x02200805, 0x00c00100, 0x001f0017, 0x002f0027, 0x003f0037, + 0x0100004f, 0x14161707, 0x1516010f, 0x26220614, 0x3c051541, 0x011f3236, 0x1432013f, 0x3422012b, 0x1d322633, 0x3d221401, 0x26061701, 0x1636013f, + 0x05575c0f, 0x1f06162a, 0x2f061601, 0x05362601, 0x0bbc7718, 0x2608c182, 0x1b34b801, 0x12110707, 0x7a7aac7a, 0x11292d56, 0x1a071407, 0x0c0c4d34, + 0x300c0c18, 0x082e1818, 0x08110912, 0x83550811, 0x09112304, 0x07863b11, 0x269ffe2e, 0x0909071a, 0x09382807, 0x6801090e, 0x14264282, 0x2d291107, + 0x46827a56, 0x07111229, 0x0c341b07, 0x833c1818, 0x2b182544, 0x11081209, 0x11200383, 0x12214b84, 0x82468219, 0xc0122353, 0x3b82261a, 0x82283821, + 0x00002346, 0x1b460300, 0x0025220a, 0x8511822a, 0x173227df, 0x17372707, 0x06832726, 0x37070622, 0x142c0682, 0x011f3717, 0x27371607, 0x3617013f, + 0x29081c83, 0x91f80107, 0xce9191ce, 0x113f1a61, 0x0e3e2722, 0x3e0e4b4b, 0x3f102327, 0x5508261a, 0x3e3e1e25, 0x0855251e, 0x4e1ef826, 0x3e721e4e, + 0xf8600806, 0x03543a16, 0x2a1f1336, 0x36131f2a, 0x163a5403, 0x0b223442, 0x1414124d, 0x220b4d12, 0x385c0434, 0x0d005c38, 0xc0ff0000, 0xcd010502, + 0x2d002100, 0x45003900, 0x5d005100, 0x75006900, 0x8d008100, 0xa5009900, 0x0000b100, 0x16013e13, 0x010f1617, 0x2f222306, 0x34352601, 0x07263731, + 0x14153017, 0x17201189, 0x2405fc68, 0x32013b34, 0x200baf15, 0x8b3bae05, 0x393b972f, 0xb7b74405, 0x2b080a44, 0x03030b05, 0x60060b57, 0x570b0660, + 0x050b0303, 0x4218032b, 0x148d1457, 0x33654218, 0x4458013d, 0x0a443131, 0x0108450d, 0x010d0423, 0x3c23233c, 0x23040d01, 0x05450801, 0x18c70805, + 0x55092280, 0x0b860ba3, 0x1d968820, 0x67491791, 0x02e02e06, 0x00a00100, 0x001e0009, 0x003d0033, 0x05674941, 0x20051661, 0x21068305, 0x1b522315, + 0x043e2508, 0x17031e25, 0x21080e88, 0x32333523, 0x3225011e, 0x23011d16, 0x33363435, 0x15333513, 0x0960a001, 0x09074007, 0x0d13a0fe, 0x03822060, + 0x01130d2d, 0x0d12120d, 0x13018101, 0x84011417, 0x60202810, 0xfe090e09, 0x820907f0, 0x40703e2a, 0x30309001, 0x77090907, 0xa0a0130d, 0x0d13130d, + 0x293b242c, 0x1f1a2d25, 0x2c472939, 0x2610832c, 0x0e09a0a0, 0x83070977, 0x00ff2325, 0xb682a0a0, 0x4d066f50, 0x23220593, 0xb3822b00, 0x87837f82, + 0x260b9160, 0x35231507, 0x183d012e, 0x20081077, 0x27a48337, 0x01151632, 0x131a1300, 0x07277283, 0x40374910, 0x82104937, 0x7007227d, 0x22148240, + 0x83703001, 0x45702070, 0x2029058f, 0x630b583a, 0x3a580b63, 0x059e4520, 0x00221b84, 0x80830700, 0x01400231, 0x00140080, 0x0026001a, 0x003e0032, + 0x5b56004a, 0x3b2110d7, 0x22938201, 0x82320233, 0x37152180, 0x200a9257, 0x200b8a21, 0x84179627, 0x2123332f, 0x14011d22, 0x0a280233, 0xfe141c0e, + 0x0e211728, 0x0282280a, 0xf4101029, 0x0c980c0c, 0x8468010c, 0x8b382006, 0x2016820c, 0x390382fe, 0x0a0e8001, 0x1c14c8fe, 0x10011721, 0x0a080e0a, + 0x08b0fe0e, 0x0c08f8f8, 0x02880c08, 0x0c8d6020, 0x0c0c2831, 0x00000c28, 0xffffff03, 0x018102e0, 0x821200af, 0x822c20db, 0x141632d3, 0x2706010f, + 0x06072026, 0x3426012f, 0x16013e37, 0x05624602, 0x86253421, 0x8622201a, 0x32363c1a, 0x05057b02, 0x6e0b0b22, 0x0b6ed6fe, 0x0505220b, 0xffe4e457, + 0x36252536, 0x840b0125, 0xa83f2218, 0x2417853f, 0x042501e8, 0x212a830e, 0x10836464, 0x51040e26, 0xeafe3939, 0x25232882, 0x82057936, 0x0a0a2618, + 0x0a0a3636, 0x210a8222, 0xd345004c, 0xc0013105, 0x0f00c001, 0x2f001f00, 0x4f003f00, 0x6f005f00, 0x21106f41, 0x9c4c1333, 0x0d315a10, 0x8f1f215a, + 0x5d11201f, 0x815d088e, 0x90012705, 0x131d1d13, 0x0583a0fe, 0x05085025, 0x8e080526, 0x8e802004, 0x8c0e840f, 0xdafe2114, 0x01203483, 0x01213a82, + 0x204a82c0, 0x204a8360, 0x21508201, 0x4d884dfe, 0x09888520, 0x13937b20, 0x4083a620, 0x01220483, 0x0a836605, 0x00220483, 0xd37b0300, 0x00232408, + 0x7b37002f, 0x56180ed5, 0x013f095d, 0x011e1415, 0x16171617, 0x31061415, 0x22231725, 0x3435012e, 0x17023e37, 0x33352622, 0x7b010e14, 0x913f0dc6, + 0x1a133d25, 0x14483813, 0x01020f11, 0x7efe0109, 0x0f09f2d5, 0x0c0e0908, 0x261aa716, 0x7b1e1180, 0x70370cc0, 0x0d150d31, 0x150d1313, 0x2c3a560b, + 0x030f1843, 0x010c0a01, 0x82a48803, 0x0a0c2a31, 0xe5320e0f, 0x1e111b25, 0x08f35911, 0xc001c026, 0x21001700, 0x77081d4a, 0x3738099b, 0x32013b36, + 0x0301011f, 0x010e0321, 0x2622012b, 0x0907b001, 0x60fe0709, 0x78340583, 0x720f0709, 0xfe09070f, 0x800115fd, 0x131c0115, 0x011c13f6, 0x31053249, + 0x07200709, 0x0d0d1309, 0x014dfe13, 0x13adfe53, 0x3f791a1a, 0x4d38200d, 0x05210933, 0x059a7036, 0x040e0723, 0x28f98223, 0x32333634, 0x3f361617, + 0x25168201, 0x23062e27, 0x86680622, 0x013e2105, 0x08063c4d, 0x02036d59, 0x030c0319, 0x0e0d0501, 0x27230b16, 0x1a242228, 0x16030b04, 0x03010302, + 0x14120b0b, 0x523e0d1a, 0x20294324, 0xb8011138, 0x9191ce91, 0x0404cace, 0x04220304, 0x05010401, 0x30060809, 0x182b2120, 0x23040204, 0x04050303, + 0x07080301, 0x52040609, 0x2642293d, 0x82001018, 0x47022000, 0x3a2908c3, 0x00004600, 0x15163201, 0x24838214, 0x0e27022e, 0x219d8801, 0xb7573b36, + 0x17162505, 0x3435013e, 0x26084f49, 0x011f1636, 0x49070616, 0x132105ea, 0x83bf8232, 0x1567081a, 0x00011614, 0x4c4a8e6a, 0x0e17100f, 0x142a0d03, + 0x3951342c, 0x0c01122a, 0x020e0c2d, 0x0c050318, 0x4e6a201a, 0x4c6c6c4c, 0x12082d36, 0x04070a06, 0x674a3d09, 0x15519191, 0x17111225, 0xb8011424, + 0x543f647c, 0x0c0f0601, 0x31391611, 0x0c165642, 0x0d790c11, 0x32030110, 0x6c564a1f, 0x051d6c98, 0x090c0703, 0x82280615, 0xd0fe2ceb, 0x16131f29, + 0x15132029, 0x68000200, 0xc133051f, 0x23000b00, 0x013f0000, 0x2b060717, 0x37270701, 0x65003435, 0x521805bd, 0xb0650a8b, 0x7e333605, 0x1b137e80, + 0x2020382d, 0x1c38a801, 0x07070d4d, 0x07140729, 0x230685a2, 0x731c4d0d, 0x20281f83, 0x1b2d3820, 0x50386001, 0x14202083, 0x20822182, 0x20820684, + 0x00820020, 0xffff0231, 0x0002c0ff, 0x1300c001, 0x00002c00, 0x41301737, 0x26290540, 0x33041e35, 0x01363732, 0x220f8232, 0x48010e07, 0x4f08066d, + 0x3637073e, 0x460158a7, 0x0240403a, 0x0b0e0d0c, 0x1a040b03, 0x20166a01, 0x2e50550e, 0x09400c0a, 0x14080801, 0x3f252714, 0x4a8b121e, 0x40380207, + 0x09024358, 0x0a060909, 0x1c3a0144, 0x9f1b1316, 0x13350361, 0x100e0914, 0x2312170c, 0x101b381f, 0x2006436f, 0x357f82c0, 0x00340023, 0x004a003f, + 0x25000055, 0x06222622, 0x22232622, 0x09832306, 0x34352325, 0x61013b36, 0x0783071a, 0x1d163229, 0x32352101, 0x85163236, 0x32332603, 0x22013316, + 0x25278226, 0x14163235, 0x0a943306, 0x0cc0012c, 0x18272f27, 0x28171827, 0x09820d0b, 0x141c0c24, 0x00834010, 0x1c141024, 0x178240fe, 0x2f2e1d84, + 0x270b0d27, 0x0da0fe18, 0x160a2013, 0x068c7212, 0x84204021, 0x14502300, 0x0084901c, 0xd0141c23, 0x2a118460, 0x13400120, 0x161c0e0d, 0x8f152625, + 0x00002407, 0x82000200, 0x00022700, 0x0f008001, 0x81741b00, 0x11352b09, 0x32013b34, 0x36251115, 0xcd821f16, 0x013e373c, 0xf401011f, 0x18fe0c0c, + 0x0c280c0c, 0x0b043501, 0x80fe5a02, 0x040d0357, 0x10824055, 0x68010c22, 0xcc2c1b82, 0x050304e0, 0x059168bc, 0x00720501, 0x032e0082, 0xbefffcff, + 0xc1012102, 0x13000800, 0x5d832300, 0x06071634, 0x012f0607, 0x2b061437, 0x36343501, 0x05011e33, 0x12821617, 0x06074b08, 0x36262726, 0x15163637, + 0x0a071002, 0x0b3d0c01, 0x09de9f0b, 0x070ae007, 0xe6fe8059, 0x0601059c, 0x90604b3c, 0x5a770303, 0x0ba00b07, 0x0a3a5307, 0x07419e0b, 0x0907e00a, + 0x9c9a8006, 0x2b040f05, 0x60890101, 0x010c8d5c, 0xd38a0809, 0x237c1420, 0x052d580e, 0x15163224, 0x0e4e0111, 0x08756805, 0x2305ef5b, 0x37011f32, + 0x33208782, 0x1806084e, 0x32077284, 0x09079001, 0x60200b1e, 0x490a1a0a, 0x160c0b2e, 0x83440c0c, 0x2049240a, 0x4d100c0b, 0x841805ec, 0x01260965, + 0x76070920, 0x2d820c10, 0x4a090924, 0x2c820c2e, 0x82450b21, 0x204a2409, 0x82001e0b, 0x82032000, 0x02002d03, 0x00800140, 0x0013000b, 0x0100001d, + 0x24057156, 0x36342622, 0x05b85533, 0x13222632, 0x26343632, 0x1416012b, 0x50800107, 0xc0507070, 0x80320483, 0x4b4b6a4b, 0x4b35f56a, 0x3131354b, + 0x70800131, 0x028270a0, 0x14838b20, 0x00ff4b22, 0x37221c82, 0xcf413792, 0x8c5f8707, 0x07977c5d, 0x3d85538a, 0xfe214b87, 0x226284c0, 0x82ff0500, + 0x81022d00, 0x38008001, 0x4b003c00, 0x67005100, 0x072da784, 0x2e27010e, 0x37343501, 0x2b060727, 0x0ac34401, 0x22233727, 0x3e343526, 0x06176e01, + 0x0c404618, 0x07053627, 0x32072633, 0x21238336, 0xdf44013f, 0x013f2705, 0x1f160723, 0xd5441601, 0x67072005, 0x6508083f, 0x011e1706, 0x4b350102, + 0x354b0101, 0x0f294b34, 0x340d0756, 0x352c450b, 0x17344c4b, 0x0a311e14, 0x070b070e, 0x72090757, 0x0907330f, 0x0d400709, 0xfe164e07, 0x042b18d3, + 0x0928184a, 0x080e0e51, 0x2109082d, 0x4ac42f2f, 0x06241880, 0x2f3222fd, 0x2d0a0a21, 0x0d060303, 0x2d030d06, 0x2c010114, 0x354d0001, 0x5d824a35, + 0x26383436, 0x2a0b8b18, 0x34364b36, 0x0e30084b, 0x070b060a, 0x18100709, 0x073e0382, 0x087d0b09, 0x7616264a, 0x0c19161a, 0x422f0249, 0x2878602f, + 0x02603020, 0x2f212230, 0x49824802, 0x51820920, 0x1f184728, 0x04002c1f, 0x9f440000, 0x00342606, 0x004c003c, 0x08f34654, 0x4b066550, 0x0988094f, + 0x0c076a18, 0x2006da4a, 0x054f4f00, 0x21371428, 0x013d3632, 0x29662634, 0x16142205, 0x2f178604, 0x0e0ae801, 0x0e080a0e, 0x0d13060c, 0xc0130d20, + 0x0d220584, 0x15840813, 0x82bc8231, 0x131a83fe, 0x30131a13, 0x130d0001, 0x83ff0d13, 0x10012105, 0x01291284, 0x500a0e40, 0x0ba60e0a, 0x5d37820f, + 0x20230763, 0x84a00d13, 0x22302716, 0x30222e2e, 0x3b82f0fe, 0x5d1a1325, 0x83800d13, 0x2004823e, 0x21108470, 0xab420000, 0x01002805, 0x000f0080, + 0x493f0027, 0x17221197, 0xc2822606, 0x2b05d564, 0x1506012e, 0x37361614, 0x26012f36, 0x01271797, 0x1c1c14d0, 0x8360fe14, 0x1faa3c05, 0x061e403d, + 0x03021104, 0x3f415219, 0x03041a53, 0x1eb90414, 0x051f403e, 0x83011204, 0x52402813, 0x1303031b, 0x82800104, 0x0c891831, 0x1be03808, 0x15222517, + 0x1e060418, 0x03190303, 0x362f2e34, 0x04041c05, 0x9605061b, 0x0ad35017, 0x39001c27, 0x34130000, 0x0a727326, 0x640e226e, 0xcd420eae, 0x36323406, + 0x36341135, 0x1721f833, 0x30070970, 0x0a0e0907, 0x845038a8, 0x07b82709, 0xa8385009, 0x0c840e0a, 0x2117702c, 0x18010709, 0xa0fe2117, 0x09820907, + 0x0e0a9822, 0x0a841c82, 0x0709302a, 0x5038d8fe, 0x18010a0e, 0xe0270f83, 0x28011721, 0x84000907, 0x02be2e9b, 0x00c00142, 0x00570033, 0x17212500, + 0x9b8a1821, 0x22233307, 0x37262726, 0x14151623, 0x012e2706, 0x013e3427, 0xaf520337, 0x1e322408, 0x84011f01, 0x2706222a, 0x5c5d1823, 0x013d261d, + 0xf9012634, 0xc48a18fe, 0x18230809, 0x01012016, 0x2311d212, 0x011f1518, 0x46090d06, 0x0e0e0a46, 0x0a05670a, 0x01090107, 0x030e0c89, 0x8274042f, + 0x071022af, 0x82ea8209, 0x070921d8, 0x28080a86, 0x0b122080, 0x17230f19, 0x19162021, 0x18181011, 0x1f010121, 0x0f140b15, 0x0e570106, 0x0e0a100a, + 0x2d050905, 0x13d00b12, 0x22da8298, 0x84280709, 0x200a8a37, 0x23008200, 0xff000002, 0x4620ef87, 0x2b2defb9, 0x011d2201, 0x1f062223, 0x013f1601, + 0x26deb036, 0x180c2b79, 0x18082b0c, 0xa707c042, 0x3c8024d7, 0x183c0c0c, 0x21079442, 0x13490000, 0x01802605, 0x003c00c0, 0x22cb8244, 0x4633011e, + 0x23240551, 0x010e2722, 0x2e23a282, 0x41062701, 0x332706b1, 0x27373632, 0x7b3f3626, 0x3520052b, 0x84077542, 0x17200830, 0x2507011e, 0x32363715, + 0x0135011f, 0x2c3d0ef1, 0x0a0e0e0a, 0x300b3758, 0x2314801e, 0x5837071b, 0x2c080f83, 0x460d3e2c, 0x2a11080c, 0x0e400d13, 0x0e0a900a, 0x2a130d40, + 0xfe0c0811, 0x0a057689, 0x224b7605, 0x100a0e29, 0x1a3b0e0a, 0x111b0f21, 0x2a0b843b, 0x0d462229, 0x8c0e0523, 0x8328130d, 0x13282e40, 0x050e8c0d, + 0x58af0d23, 0x26020226, 0x08535c58, 0xc201c02a, 0x36003200, 0x56003a00, 0x6418c384, 0xb2820ce9, 0x26013b2b, 0x34352635, 0x3e373637, 0x056e4101, + 0x634c1620, 0x14072105, 0x2a05417d, 0x17012f37, 0x37010f37, 0x82353734, 0x152726ed, 0x15163330, 0x82d38216, 0x323621f1, 0x94080782, 0x01363736, + 0x1a231d80, 0x139afe13, 0x191e251a, 0x3a080a04, 0x0e464012, 0x0a16071b, 0x1c0e0e1c, 0x1b07160a, 0x1240460e, 0x030a083b, 0x321820e8, 0x18322a8a, + 0x342c064a, 0x05012e32, 0x0e040809, 0x02061414, 0x1d07020e, 0x8c080616, 0x2d233d12, 0x131a1a13, 0x123e242d, 0x1f0e083c, 0x14130d21, 0x0922310d, + 0x070e0505, 0x05050e07, 0x0d312209, 0x210d1314, 0xea080e1f, 0xc0202878, 0xb22820c0, 0x060b0303, 0x03030b06, 0x06030819, 0x06061111, 0x06050f15, + 0x21fe8207, 0xe3460300, 0x00482408, 0x446d0057, 0x162d05db, 0x26222706, 0x27373435, 0x1617020e, 0x06e24606, 0x3725fa82, 0x26371736, 0x05c4492b, + 0x32013b24, 0xe1463317, 0x3637210c, 0x20052944, 0x22318214, 0x46053617, 0x25240dea, 0x22232636, 0x220ae146, 0x82161415, 0x02370850, 0x014b3401, + 0x4b34364c, 0x1a130d2d, 0x0f01010c, 0x450b540a, 0x014b362c, 0x16324801, 0x20100c13, 0x0e0e0a38, 0x1f45380a, 0x0742149a, 0x50070909, 0x2616070e, + 0x832d0b07, 0x20523915, 0x1895fe15, 0x0e510928, 0x0529070e, 0x2f2f2107, 0x3002f101, 0x31080822, 0x0806ea46, 0x3216324b, 0x012b1f22, 0x36344b00, + 0x344b014c, 0x0f15273b, 0x0a182d29, 0x4d362a0f, 0x02483336, 0x19140601, 0x0e0a0a0e, 0x07092028, 0x0c090710, 0x0e082a26, 0x0e0a200a, 0x1bd00737, + 0x4b0c1815, 0x2f422f01, 0x0232224c, 0x040d0551, 0x28528208, 0x22201752, 0x2b020230, 0x059b5100, 0x0100022c, 0x001c00c0, 0x00400024, 0xed5d2500, + 0x1716240a, 0x18020e15, 0x28091967, 0x26222636, 0x16323634, 0x61a81814, 0x32162308, 0x22433337, 0x15500806, 0x012b0614, 0x01352622, 0x964f4170, + 0x414f96d4, 0x33210808, 0x7aac7a1c, 0x4d08333d, 0x36252536, 0x130d8025, 0x110c141c, 0x140c1126, 0x130d131c, 0x130d400d, 0x1c2e0c76, 0x28383828, + 0x090c2e1c, 0x0f051704, 0x21170b13, 0x1b101721, 0xd3041707, 0x252e3182, 0x0d13e536, 0x081c1460, 0x60141c08, 0x0282130d, 0x000d1331, 0xff020000, + 0x02e0fffe, 0x00a10102, 0x8229000d, 0x331729b1, 0x2f220607, 0x17373301, 0x13298f82, 0x2307011e, 0x0f222627, 0x24048401, 0x3f362623, 0x05bf4c01, + 0x01173236, 0xb66d1640, 0xb6050f06, 0x04391e5e, 0x24cc0414, 0x1c772104, 0x33080882, 0x15053a31, 0x21662404, 0x26032404, 0x1c1c276e, 0xcc266e27, + 0x0606ba2c, 0x097f48ba, 0x250d0109, 0x09372869, 0x09826209, 0x6928560a, 0x28280225, 0x27271d1c, 0x2408cb70, 0x00a00120, 0x22878321, 0x7e061401, + 0x2e261710, 0x36343501, 0x0b4a1632, 0x20012907, 0x0c24313f, 0x280c240c, 0x0c320382, 0x543f3124, 0x2fe05478, 0x422f2f42, 0x4e331001, 0x1786340b, + 0x34270682, 0x3c334e0b, 0x831b5454, 0x822f201b, 0x02002272, 0x2c008200, 0x80018001, 0x20001800, 0x32010000, 0x2076821d, 0xa578182f, 0x3626220e, + 0xd8521833, 0x74012707, 0x11050f0c, 0x61821651, 0x2a3c5429, 0x05115023, 0x84b60806, 0x80012a4d, 0x06084f0c, 0x23501105, 0x2861822a, 0x51165478, + 0xfe0f0511, 0x318684c0, 0x00020000, 0x01c0ff00, 0x00c00120, 0x0043003b, 0xdb9d2500, 0x27263722, 0x362a0182, 0x1732013b, 0x32161716, 0x3f433637, + 0x06072105, 0xf5990182, 0x0304333c, 0x07010526, 0x020a2806, 0x46171104, 0x02041117, 0x0706280a, 0x04260501, 0x0f413303, 0x41f02005, 0x4337110e, + 0x2003032b, 0x0a08052f, 0x14140f13, 0x080a130f, 0x04202f05, 0x84222b02, 0x0a777dd4, 0x39003122, 0x410e1f41, 0x33241c9d, 0x27371732, 0x41123841, + 0x44410fa9, 0x41c0200e, 0xa9820844, 0x280c1c25, 0x820c1c0c, 0x23068202, 0x3c334e0b, 0x26145341, 0x00c001e0, 0xa7580050, 0x4b02209b, 0x2f25059b, + 0x013f2601, 0x05bc7127, 0x29055d50, 0x1f363717, 0x010f1601, 0xb98f3617, 0xf241d420, 0x2fb98c05, 0x161d3320, 0x08091410, 0x1309091c, 0x0f051113, + 0x062cb683, 0x09131411, 0x08081d08, 0x54231014, 0x980c1a42, 0x280728d5, 0x232a223b, 0x82081410, 0x22488436, 0x834f0806, 0x8513206d, 0x10142211, + 0x0d464216, 0x00030024, 0xb356ff00, 0x00212405, 0x82570029, 0x1d4942f5, 0x200a2543, 0xce401805, 0x5d411809, 0x2726210c, 0x24050366, 0x22232634, + 0x250c8207, 0x15163233, 0x53430614, 0x4321201a, 0x1f320a6b, 0x170b151a, 0x2f2f2122, 0x0b172221, 0x3c322715, 0x73433f54, 0x43dc201c, 0x07300b8c, + 0x181f1a14, 0x182f422f, 0x541f1920, 0x004e333c, 0x230b3f45, 0x00210019, 0x91431182, 0x387c1805, 0x0a594210, 0x31452520, 0x23228705, 0x012e2223, + 0x1420d182, 0x25066745, 0x3023012e, 0xe1823122, 0x27058e42, 0x070c5401, 0x3111030a, 0x2707c043, 0x06051130, 0x2f429608, 0x01238582, 0x860705b4, + 0x253c261b, 0x2104273f, 0x2714821e, 0x03162515, 0x1d21030f, 0x01282784, 0x054f0cc0, 0x30110307, 0x2407e243, 0x0f051131, 0x055943fe, 0x05075122, + 0x22311b89, 0x0f03243b, 0x2f210201, 0x2516212f, 0x03211e15, 0x57298312, 0x022a08bb, 0x00c00140, 0x00480026, 0x71440050, 0x41bc8906, 0xb785108c, + 0x16320423, 0x1de94115, 0x094d1620, 0x34022106, 0x3c22e187, 0x9c412732, 0x232a210d, 0xfe23c684, 0x4254786f, 0x31220ccc, 0x01416f3f, 0x2bdf8b05, + 0x1820191f, 0x182f422f, 0x161f1a1f, 0x4022bd83, 0x3c443c54, 0x8c3c2111, 0x8209df44, 0x018126cb, 0x002b0080, 0x08e34d33, 0x07012f27, 0x010f1617, + 0x08504506, 0x3e343523, 0x05194401, 0x36013f22, 0x45064850, 0x053f095a, 0x11050f07, 0x09090e12, 0x0e08091c, 0x78541612, 0x27422754, 0x0f12232a, + 0x081d0808, 0x45110e09, 0x07250b6c, 0x06084f05, 0x2b2d8306, 0x09091c08, 0x2a23120e, 0x3c54543c, 0x16232f82, 0x82080e12, 0x45128240, 0xe0330f7f, + 0xc4012101, 0x34002c00, 0x16370000, 0x26220614, 0x71363734, 0x34240618, 0x35013b36, 0x0bca4d18, 0x21095960, 0x56791615, 0x2af62107, 0x2a299182, + 0x0514281e, 0x14050707, 0x277e8218, 0x38080838, 0x18080606, 0x28381185, 0x422f2f27, 0x2ad62f2f, 0x78545478, 0x1a091d2a, 0x05280507, 0x060f1807, + 0x0e212684, 0x220e8419, 0x83d3091a, 0x2f423c24, 0x00020000, 0x01300000, 0x005001e5, 0x00300028, 0x0f162500, 0x3d260601, 0x5b152301, 0x232205c4, + 0xa3830706, 0x17323626, 0x35331716, 0x08c75118, 0x87173621, 0xdc012d8f, 0x05380909, 0x280c180f, 0x1d091c0c, 0x1c207587, 0x18230e82, 0x84f3050f, + 0x87c8208b, 0x0c0c24a0, 0x871e2814, 0x830c82bf, 0x869020bd, 0x00022c88, 0x01e0ff00, 0x00a00120, 0x44190011, 0x82850651, 0x42076747, 0x0123065a, + 0x82313f20, 0x3f31255d, 0xb1547854, 0x2d053142, 0x0b4e3310, 0x980c0c98, 0x3c334e0b, 0x0d425454, 0x20db8707, 0x26db8220, 0x000f0007, 0x47221200, + 0x322006ab, 0x85057841, 0x788c223d, 0x21498254, 0x87841001, 0x0a826f20, 0x00785422, 0x09200082, 0x2408e344, 0x0017000f, 0x08c75e1f, 0x5f005722, + 0x7a189d82, 0x26200eeb, 0x0fa56118, 0x01231fbe, 0x7340fee0, 0x3326081e, 0x140e0e14, 0x05844e0e, 0x17ae5820, 0x13200123, 0x8249840d, 0x82582004, + 0x20028745, 0x4416acea, 0x80280933, 0x2300c001, 0x3f002b00, 0x113f5c18, 0x7b183d20, 0x394d091d, 0x4a042008, 0x257b075b, 0x013b2a0d, 0x02373216, + 0x09090770, 0x05955307, 0x0a894020, 0x18e5fe21, 0x251340ce, 0x200709f0, 0x268a0907, 0x30210a85, 0x252c834b, 0x2a374f6b, 0xce181c14, 0x03260a57, + 0xc0ff0000, 0xab828702, 0xad821b20, 0xab823720, 0x18070044, 0x250c435e, 0x011f3637, 0xa39c0716, 0x0c2d4e2e, 0x0b0b170c, 0x0b0b2e2e, 0x2d0c0c17, + 0xfe210d8c, 0x20a9939a, 0x862a93d0, 0x923e2038, 0x000221ae, 0x022a0082, 0x00800180, 0x002b0007, 0x31413600, 0x08296306, 0x3d262224, 0x874b2101, + 0x4e112007, 0x35240892, 0xd1333634, 0x2806fd42, 0x0709422e, 0xfe090720, 0x09086400, 0x0709e022, 0x2505f449, 0xc02e4251, 0xba5d0907, 0x07092305, + 0x0b836001, 0x0790d026, 0x00030009, 0x2407b362, 0x00270017, 0x0645622f, 0x06161727, 0x26222123, 0x86ae183f, 0x5b07200a, 0x06200e83, 0x3606eb42, + 0x344ec001, 0x0603043f, 0x0306d0fe, 0x4e343f04, 0x32c0314f, 0x180e304e, 0x340afd5f, 0x21212e99, 0x6001212e, 0x392700ff, 0x0b0b0332, 0x27393203, + 0x210b8201, 0x9368af39, 0x360e2107, 0x21222082, 0x0082002e, 0x8f8c0520, 0x3f003724, 0x939d4700, 0x79762b20, 0x5c37200a, 0xa3870e77, 0x07115e18, + 0xf822ab94, 0x667f0a0e, 0x0e0a2205, 0x220a89c8, 0x821c281c, 0xe4fe2102, 0xbb9c0684, 0xc5880a20, 0x65182e20, 0x2b430af7, 0x78002006, 0x0724058b, + 0x25002100, 0x212ac782, 0x33352115, 0x32372335, 0x7f501d16, 0x012b2207, 0x054e7e15, 0x34013d25, 0x82053336, 0x20022a20, 0xe00120fe, 0x14102020, + 0x0532541c, 0xfe141c39, 0x1c1c1400, 0xfed00114, 0xc0200160, 0x1c804040, 0x0a0e1014, 0x180e0a90, 0x22075568, 0x82808060, 0x82032070, 0x226fcc03, + 0xd0c0fe70, 0x3523216f, 0x1021df99, 0x206e9be0, 0x21dfb200, 0x6f9a1517, 0x9980b021, 0x4102206e, 0x00210c4b, 0x20b94101, 0xb141d599, 0x2f5e8214, + 0x00000100, 0x4401beff, 0x1500c401, 0x23250000, 0x08085657, 0x26060736, 0x36341135, 0x06160117, 0x386a2e01, 0x31070603, 0x35030d07, 0x17160857, + 0x081d0107, 0x07887709, 0x0216030e, 0x59810705, 0x010c0a09, 0x08090cae, 0x1708dbfe, 0xbf2d4f84, 0xc1010001, 0x00004800, 0x23061401, 0x7b4e1822, + 0x37142109, 0x25067b45, 0x27012e22, 0xe952020e, 0xd84c1808, 0x07342109, 0x3d291a82, 0x023e3401, 0x011e3233, 0x37068317, 0x00011516, 0x24540507, + 0x54240c0c, 0x05070705, 0x122d1e17, 0x161e2e12, 0x15850b83, 0x03060326, 0x03040302, 0x01361889, 0x3007058c, 0x0c280c70, 0x07013170, 0x07052805, + 0x12111203, 0x0a840212, 0x34821787, 0x05022822, 0x1a863882, 0x4c062b43, 0x2c22064b, 0xf3433800, 0x76332005, 0x3d220618, 0x85482101, 0x3b342506, + 0x22231101, 0x3b21a382, 0x07837901, 0x05202385, 0x23097f79, 0x34350515, 0x8208ce57, 0xe0012327, 0x8e820c14, 0x8280fe21, 0x140c2104, 0x01200b84, + 0x12820b85, 0x0c0ca82b, 0x40010ca8, 0x0a0e540c, 0x21098448, 0x268ae0fe, 0x0b894020, 0x0c0cb42d, 0xe80c0c88, 0x0a480c88, 0x180c340e, 0x2a07eb40, + 0xa0014002, 0x5d002b00, 0x89370000, 0x943520a1, 0x07ef4ca1, 0x3720bd82, 0xd98a0b8a, 0x18333521, 0x220a9771, 0x4935012b, 0x142a0766, 0x0640012b, + 0x1a060634, 0x0682061a, 0x89200121, 0x84c0200b, 0xe0fe2111, 0x88291184, 0x0a400a0e, 0x080a0e0e, 0x200e8468, 0x201b8480, 0x842c8ac0, 0xa040210a, + 0x48211189, 0x822f8308, 0x84482034, 0x5700202b, 0x11290a7b, 0x00001a00, 0x1d062225, 0xc3411801, 0x010f220c, 0x27988306, 0x38011415, 0xf8fe0e0a, + 0x012c3e83, 0x070e0a90, 0x060a0762, 0x0a0e8080, 0x0f838382, 0xfe0a0e29, 0x076237f8, 0x850a0680, 0x02c02753, 0x00c00100, 0x6360000f, 0x74152005, + 0x33210a09, 0x21f48211, 0x54182306, 0x15220812, 0x73581614, 0x14e02506, 0xd0141c1c, 0x23074a58, 0xc0012f30, 0x220b5658, 0x833060fe, 0x2001271f, + 0x21d01c14, 0x0082002f, 0xffff0526, 0x8002c0ff, 0x15286782, 0x34001800, 0x63003700, 0x1429c182, 0x35262206, 0x36343530, 0x2b018237, 0x17161732, + 0x1415011e, 0x05330727, 0x85052a6d, 0x043e231a, 0x1b883637, 0x13273322, 0x210fa448, 0x3e542611, 0x8c7b1809, 0x06143f07, 0x0706012b, 0x4b000111, + 0x1e0a4b6a, 0x3c0d131a, 0x1d1a140d, 0x9048800a, 0x3b22b801, 0x14823523, 0x0b050525, 0x86050b08, 0x90c82318, 0x3b611048, 0x26b02309, 0x0d838208, + 0x4e199024, 0x08839019, 0x2608823b, 0x2f2f2170, 0x17080121, 0x1a26343c, 0x3935281a, 0xa0010916, 0x25161090, 0x25158515, 0x10150a0a, 0x19870b16, + 0xfe901022, 0x28050a49, 0x07200709, 0x10270109, 0x20088429, 0x051f6520, 0xfe102924, 0x008200d9, 0x0000022c, 0x8001c0ff, 0x2a00c001, 0x074d3000, + 0x14232608, 0x011e0706, 0x26e58d15, 0x37363433, 0x6b35022e, 0x012f0685, 0x06222634, 0x0a680115, 0x440a0e0e, 0x83443535, 0xb0fe2107, 0x23220d85, + 0x08831f37, 0x3d100131, 0xc0013d56, 0x0a100a0e, 0x126b430e, 0x84436b12, 0x8204840a, 0x380c230f, 0x0b842d4f, 0x3b40fe25, 0x4f3b5555, 0x8b88064b, + 0x8dac3620, 0x22012e2a, 0x36130706, 0x17142335, 0x0529939d, 0x323c320d, 0xd00bba0d, 0x2a99a30b, 0x2c2c2480, 0x1e000124, 0x421e2222, 0x9f8806a7, + 0x41010021, 0x21282124, 0x011d1632, 0x32010e14, 0x01219883, 0x17274168, 0x0e0a5029, 0x3d56dd0e, 0x418001d0, 0x0e291b26, 0x0e0a100a, 0x3b3b5590, + 0x08476c00, 0xa905b741, 0x9d062089, 0x877fa283, 0x02df247b, 0x5ca10100, 0x1e21053f, 0x22e38201, 0x8406010f, 0x012b26e9, 0x013d2622, 0x05597c34, + 0x83333621, 0x351722ff, 0x20088534, 0x37089133, 0xd1013634, 0x080d150d, 0x0b060830, 0x0e0af007, 0x1d207010, 0x081c1314, 0x013e048f, 0x0d160e70, + 0x74121485, 0x07031312, 0x0a0e060b, 0x640e1507, 0x14422b1d, 0x30141d1c, 0x06838807, 0x83301f21, 0x202f2105, 0x14210b84, 0x2da8821c, 0xfffdff01, + 0x01c001c0, 0x003800c1, 0xd7780100, 0x010f2305, 0xa383010e, 0x3e24a082, 0x011f1601, 0x2205e04f, 0x82011d16, 0x013e259c, 0x021e3233, 0xb0890a84, + 0x0a99012e, 0x1b050a13, 0xc6101b03, 0x7d06170a, 0x21220a82, 0x12822009, 0x08181122, 0x08260582, 0x08060b10, 0x0c821017, 0x40011835, 0x960b120b, + 0x10711517, 0xac080c15, 0x0513210e, 0x82ec2c0d, 0x11182312, 0x0682d8af, 0x0b062408, 0xb1d70810, 0x11181810, 0x181157b0, 0x00000100, 0x0002e0ff, + 0x2e00a401, 0x34160000, 0x23353336, 0x4f342622, 0x078406d5, 0x022e2727, 0x1f013e37, 0x28048401, 0x011d011e, 0x010f0614, 0x25bb8206, 0x201117d8, + 0x04821711, 0x14d02108, 0xd0141c1c, 0x03100cb2, 0x13240804, 0x1d0919be, 0x0c08700d, 0x04880e11, 0x09115005, 0x17081722, 0x1c390382, 0x450e1c28, + 0x0d191405, 0x4b071012, 0x07050c1f, 0x0a140540, 0x03160ef0, 0x20828220, 0x2c878600, 0x00a00140, 0x05000026, 0x012f3435, 0x06c24126, 0x32248b82, + 0x36013f36, 0x54080f88, 0x16322133, 0x1d161317, 0x0b800101, 0x930e0c70, 0x1b250e0a, 0x0312087c, 0x0a0a0316, 0x0e2117e6, 0x0a4e010a, 0x0fa30618, + 0x070e3d20, 0x0a0e0747, 0x0c251b08, 0x10093308, 0x0a101721, 0xfe090d0e, 0x741c17fd, 0xffff0100, 0x0302c0ff, 0x3700c201, 0x1e000000, 0x05374201, + 0x23069541, 0x012e012f, 0x3531f283, 0x023e2627, 0x1f163637, 0x26273301, 0x1e363736, 0x22098201, 0x83013e37, 0x3354082e, 0xd1013637, 0x24041220, + 0x051a0403, 0x13d91019, 0x010c850e, 0x3d0c2116, 0x08030227, 0x1c10080d, 0x300a2304, 0x0b101204, 0x34020f14, 0x1d04300f, 0x2c041120, 0x01041f0b, + 0x101c0863, 0x2a0b0b99, 0x0f590d0e, 0x0b7e0d13, 0x0b011821, 0x08ab5039, 0x02090d10, 0x99212f82, 0x2d3a82cf, 0x0b0f0602, 0x1110c2e1, 0xae101d08, + 0xa0821081, 0x42040021, 0xc02d0643, 0x31002d00, 0x39003500, 0x15250000, 0x22af8814, 0x82013e26, 0x341123a5, 0x42423236, 0x83078d05, 0x23052416, + 0x86373315, 0xc0012a03, 0x16032001, 0x0c14d00e, 0x05474280, 0xa4411720, 0x24078606, 0x080800ff, 0x28028458, 0x040560d0, 0x10110e88, 0x054742b0, + 0x11140127, 0xc8111717, 0x21058328, 0x05831828, 0x61210483, 0x26008360, 0xff010000, 0x82c0fffc, 0x21a3835b, 0x89832400, 0x2e28a087, 0x26012f01, + 0x27013f36, 0x3321a785, 0x24a88e35, 0x22870134, 0x35938417, 0x0c0e06f0, 0x05074003, 0x074b1f0c, 0x08242510, 0x281c0e45, 0x9783081c, 0x1117e823, + 0x2e8c8450, 0x70050a05, 0x19091d0d, 0x0f2413be, 0x42b21210, 0x8942057d, 0x00112105, 0x26050b4b, 0x00600181, 0x82470019, 0x1e322292, 0x05af7e01, + 0x4f068f4e, 0x332907f2, 0x012b1601, 0x35012f22, 0x06cd4223, 0x23022f26, 0x06010f16, 0x26231482, 0x18361337, 0x82092e57, 0x17280809, 0x05030501, + 0x05070104, 0x36050755, 0x05550705, 0x74020c07, 0x0b360d01, 0x0b010901, 0x09031e07, 0x1f020932, 0x02020112, 0x45080e82, 0x01070636, 0x410b0118, + 0x102b0309, 0x2b080901, 0x0b410903, 0x03600101, 0x052b0306, 0x0705f107, 0x07f10507, 0xfe0c2b05, 0x850b0dcd, 0x55142236, 0x36550707, 0x0b85181e, + 0x28010508, 0x357f080b, 0x087f1520, 0xa36f000b, 0x000f2e0d, 0x2500002a, 0x35012b14, 0x36163233, 0x05dc5214, 0x27261325, 0x4e343536, 0x3d240b51, + 0x16173301, 0x2608ae82, 0x1c1d0136, 0x0e15171e, 0x91ce91db, 0x2b04ce91, 0x476a2601, 0x090f0f09, 0x1a0e0a17, 0x180e072c, 0x1df10e0e, 0x83270c38, + 0xfe91321c, 0x18024fa0, 0x0a0e5932, 0x0e0e0ae8, 0x0d53480a, 0x217b8218, 0x8a180002, 0x1f2007af, 0x0c5f7718, 0x7e821520, 0x2005ff4d, 0x06204434, + 0x34113536, 0x11013336, 0x50021121, 0x141c1c14, 0x130da0eb, 0x80fe0d13, 0xa0210583, 0x2f1183f5, 0x00fe1002, 0x141cc001, 0x1c14c0fe, 0x131a1320, + 0x20210282, 0x5d77181c, 0x09d34f0b, 0x2b001d27, 0x00004700, 0x81651801, 0x011d2319, 0x65180514, 0x05200caf, 0x3520ff82, 0x22210382, 0x073a791d, + 0x5c4b1520, 0x32332b05, 0xfeb40135, 0x141c0c58, 0x65180c30, 0xfe2108a2, 0xc065184c, 0x0c482209, 0x2118823c, 0x06860c3c, 0x18200121, 0x220db165, + 0x18200c24, 0x2009ce65, 0x8924828c, 0x0000212e, 0x830a8750, 0xae3720b3, 0x0abc6db3, 0x9d82a39d, 0x0c0cb822, 0xc0209a9c, 0x0282c482, 0x47419390, + 0x1837202f, 0x2018a4bc, 0x2ca39d27, 0x0909300d, 0x3009081c, 0x1c080930, 0x8a068309, 0x20b99c0d, 0x823193a0, 0x823f8346, 0x0e6341ce, 0x63413b20, + 0x2627232e, 0x0383010f, 0x9d06c761, 0x825920c3, 0x2e6a23c0, 0xc0820908, 0x08095224, 0xb79c098f, 0x091c6026, 0x082f6a08, 0x0825ed82, 0x8e080854, + 0x20ab8309, 0x08775501, 0x00001924, 0x8b183601, 0x3b270cdb, 0x1d163201, 0x82363701, 0xdb013904, 0x0a0e190c, 0x0e0a30fe, 0x0a700a0e, 0x190c8b0e, + 0x0e081c01, 0x0af0fe0e, 0x8b4c1082, 0x58c42505, 0x440e0e08, 0x2035ff89, 0x0900c001, 0x1d001100, 0x16370000, 0x07153732, 0x012f2206, 0x060b5602, + 0x32372b08, 0x06222334, 0x35321415, 0x11703634, 0x0416111e, 0x1c16040c, 0x78545478, 0x0c0c9054, 0x28183626, 0x9d030383, 0x21050521, 0x1382da01, + 0x08785429, 0x0c263618, 0x84281c0c, 0xf9ff255f, 0x0702c0ff, 0x1a245f82, 0x39002400, 0x1623b782, 0x6d06010f, 0x0f55094f, 0x32332508, 0x33350317, + 0x4c063d45, 0x2f24096f, 0x013f2601, 0x29059d6a, 0x0c0cfb01, 0xfe0e092b, 0xc7820a7f, 0x0709a829, 0x99090720, 0x55f0090e, 0xe8200526, 0xfe241483, + 0x2b090e7f, 0x992d2484, 0x0b6b0140, 0x0e092c0b, 0x0e0a500a, 0x05c57610, 0x7039fe23, 0x21098270, 0x14841701, 0x832c0921, 0x2020211f, 0x3808a482, + 0xff000003, 0x014002de, 0x000a00a1, 0x001a000e, 0x3e341100, 0x11013f01, 0x35260607, 0x11171137, 0x011e3613, 0x0e141115, 0x11010f01, 0x8c050a05, + 0xc00e088a, 0x0906aac0, 0x3a0c8307, 0x0c064a01, 0xfe38020a, 0x0a033f80, 0x80013008, 0x0180fe40, 0x080302bf, 0x84a6fe06, 0x80012318, 0x5f820100, + 0x0002bd2b, 0x1500c001, 0x32010000, 0x224b8216, 0x82012b06, 0x013d215d, 0x083b7c18, 0x261ac029, 0x7d901a26, 0x83600d06, 0xc0013208, 0xe0fe1a26, + 0x045e261a, 0x26540707, 0x1a20011a, 0x0eab4526, 0x657b1720, 0x0f1b700b, 0x280ff353, 0x9191ce99, 0x09e891ce, 0x050f6507, 0x66090721, 0x0f840505, + 0x2306146e, 0x0907a0b7, 0x88067279, 0x21728209, 0xff6d0200, 0x00072208, 0x0aa36e17, 0x850e5554, 0x58012161, 0x57904289, 0x04000022, 0x2208c754, + 0x60190011, 0xfa7f0643, 0x05ac4709, 0x15231522, 0x26220882, 0x2e5b0622, 0x58062007, 0x603707db, 0xfe212f60, 0x602f21e0, 0xc04b6a4b, 0x26342680, + 0x0e0e1496, 0x84b20e14, 0x20013405, 0x2f21f0fe, 0x1001212f, 0x4b4b3520, 0x1a202035, 0x57922626, 0x7b840ad4, 0x4002e03c, 0x2a00a201, 0x42003600, + 0x00004e00, 0x06141525, 0x0e07012b, 0x22212302, 0xa2572f26, 0x07784909, 0x22074448, 0x18051632, 0x200a7a67, 0x200b8a37, 0x080b8a27, 0x0e400229, + 0x021a080a, 0xfe0c150d, 0x031b1294, 0x0e0a081a, 0x6b430a0e, 0x04161a08, 0x50ec5008, 0x1a160408, 0x0a436b08, 0x85f8fe0e, 0x85702096, 0x85e02006, + 0x10e82c06, 0x0bb70e0a, 0x12170b13, 0x820a0eb7, 0x0b93300b, 0x0b1a1004, 0x1a0b6d6d, 0x930b0410, 0x4370ba0e, 0xb37e06cc, 0x20098a09, 0x2f008200, + 0xffffff02, 0x01c101e0, 0x004300a0, 0x01000047, 0x6218d983, 0x07200715, 0x22240c82, 0x23013f26, 0x0d830888, 0x013b3623, 0x05515b37, 0x0c820882, + 0x0f163224, 0xc7603301, 0x83088205, 0x2337310d, 0x02b90107, 0x4b174f0a, 0x08010805, 0x0f500a01, 0x2a05af60, 0x0110620e, 0x0706290a, 0x824b0f01, + 0xa0072004, 0x17ba3021, 0x0a011763, 0x0509800a, 0x0a560a28, 0x84520509, 0x900d8304, 0x80b23012, 0x05000080, 0xc0fffcff, 0xc001c401, 0x5a000700, + 0x2d200561, 0x5a09fd57, 0x1620074f, 0x42069d44, 0x13200727, 0x0720ed82, 0x2e065749, 0x5c9e3601, 0x425c4242, 0x1c1c285c, 0x8a821c28, 0x2068300b, + 0xfe080e0e, 0x220c0791, 0x01090e0e, 0x82e00770, 0x5c422225, 0x2225825e, 0x8ac4281c, 0xa4012d0b, 0x30fe0c1a, 0x010c1a0a, 0x05000ad0, 0x850a0343, + 0x0047228f, 0x466a1800, 0x18242007, 0x180e4f7d, 0x30088f8c, 0x012e013e, 0x27220607, 0x16010e26, 0x14171617, 0x080d820e, 0x36011e53, 0x33373637, + 0x011e1716, 0x2e27013e, 0x01363502, 0x7a7aac56, 0xc9fe7aac, 0xce9191ce, 0x70a0a891, 0xcf70a070, 0x1e15151e, 0x07065215, 0x48070b03, 0x0b07484c, + 0x35060703, 0x0a06091d, 0x0d0e0602, 0x0a041203, 0x0d031204, 0x0a02060e, 0x011d0906, 0x223d8290, 0x82a2ac7a, 0xce91223c, 0x223c8259, 0x8244a070, + 0x1540083c, 0x0c014d1e, 0x1102070d, 0x0d070211, 0x040c020b, 0x1813412f, 0x06050e07, 0x21212e06, 0x0506062e, 0x1318070e, 0x00042f41, 0xff000004, + 0x018001bd, 0x000b00c0, 0x001b0013, 0x05000042, 0x2f222306, 0x172da882, 0x27141516, 0x010e1617, 0x12012f26, 0x05096522, 0x06161724, 0x0f820607, + 0x22232629, 0x011f1415, 0x820e0715, 0x013f25e5, 0x14150735, 0x08052968, 0x3b363744, 0x01173201, 0x0502027c, 0x05087d02, 0x3ff1017e, 0x19180b05, + 0x24042405, 0x1a241a1a, 0x0802066f, 0x66071407, 0x01040201, 0x1804421f, 0x36050c19, 0x0a0a0e10, 0x0c073d0e, 0x3f070c20, 0x03ce0401, 0x3c82d007, + 0x0c9ac329, 0x0c0b0a19, 0x823c0158, 0x241a2535, 0x061408c3, 0x813b3a82, 0x01020402, 0x0cb56c27, 0x0d18090c, 0x50148c95, 0x0b0e0e0a, 0x09094f5f, + 0x82000500, 0x00023800, 0x06008001, 0x1e000e00, 0x47003700, 0x17370000, 0x37363723, 0x82323716, 0x012b23c9, 0x65533735, 0x32212d0b, 0x26270516, + 0x0f22012b, 0x021e0601, 0x3f20b482, 0x2506d64a, 0x3437013e, 0xf04a012e, 0x09a32c0b, 0x0202091a, 0x1916a802, 0x6bc50e2f, 0x370807fb, 0x1c14a001, + 0x0239f5fe, 0x03082409, 0x03010139, 0x091d0305, 0x08340803, 0x041d0903, 0x18b70306, 0x05391e2d, 0x39050707, 0x1ed1352e, 0x0a0a061e, 0x3118191a, + 0xe0fe5f62, 0x0807a353, 0xa8f41c35, 0x03a80808, 0x09030406, 0x05091e1e, 0x2b1e5407, 0xa8050717, 0x00340705, 0xfff4ff04, 0x018101c0, 0x002100c6, + 0x00430033, 0x17000053, 0x3736012e, 0x82011f36, 0x29af82c8, 0x27232223, 0x32371706, 0x11893233, 0x14161332, 0x2f010e07, 0x36372601, 0x3f262734, + 0x37163601, 0x06201182, 0x0720108a, 0x26080f8e, 0x2e2d4061, 0x400c0a3f, 0x04200108, 0x3801010c, 0x01382020, 0x20040c01, 0x05400801, 0x09910705, + 0x050b0309, 0x82040606, 0x06420800, 0x5f0b0506, 0x0a082d2d, 0x25080905, 0x05090825, 0x1b1b260a, 0x08060a08, 0x07141407, 0x3b0a0608, 0x40abab40, + 0x0528080a, 0x5103030a, 0x5a5a060b, 0x03510b06, 0x28050a03, 0x10a10103, 0x01051022, 0x2b820604, 0x2a821020, 0x01040636, 0x368c3656, 0x0806090a, + 0x2d742d08, 0x09060808, 0x23582337, 0x072c0f82, 0x1a421a08, 0x09060708, 0x000c0000, 0x02230082, 0x43a00180, 0x272308ff, 0x5a002f00, 0x4f2505f7, + 0x5f005700, 0x53761800, 0x43062008, 0x1220067d, 0x5e080d44, 0x1d4405bf, 0x20178707, 0x9f1f8e04, 0x25802c2f, 0x36252536, 0x13131a28, 0x8305131a, + 0xd325210a, 0x5a4c0b84, 0x20118505, 0x8b0c8501, 0x85248b12, 0x84db2017, 0x84c0203c, 0x7301210c, 0x9b205584, 0x8d200c84, 0x532012ab, 0x00202c84, + 0x21080082, 0xff000006, 0x010002c0, 0x001300c1, 0x00400038, 0x00600048, 0x37000064, 0x26220614, 0x32363435, 0x09851516, 0x06222623, 0x210c8326, + 0x9943030e, 0x36342a05, 0x35363233, 0x35023e34, 0x861a8234, 0x07254124, 0x20074541, 0x393b8525, 0x012e013d, 0x37012e27, 0x1e17033e, 0x05141701, + 0xd8372707, 0x2f101810, 0x05822f42, 0x0e140e37, 0x0f679231, 0x3f0f1515, 0x10100c2d, 0x171e160c, 0x6446161b, 0x221a8246, 0x82131a53, 0x846d20a7, + 0x00022105, 0x01331082, 0x0a0b4051, 0x09080203, 0x6651050c, 0x2299fe01, 0x83bc2250, 0x2f212333, 0x0783212f, 0x0e0e0a2d, 0x1b4967a6, 0x13141a2b, + 0x823f2d09, 0x161e2a30, 0x26132519, 0x46463219, 0x211f8332, 0xf7848549, 0x05846d20, 0x1183cf20, 0x01010232, 0x04166f44, 0x09050b15, 0x1b020104, + 0xb503568c, 0x24085482, 0x04000000, 0xc6fffaff, 0xba018602, 0x41003200, 0x82007400, 0x26010000, 0x16173207, 0x16322306, 0x23010e07, 0x05b74427, + 0x36023f2a, 0x011e3637, 0x07060706, 0x16240882, 0x010e1617, 0xe8820a83, 0x07222482, 0x5d772326, 0x36372707, 0x16252633, 0x2882020f, 0x82012e21, + 0x82372029, 0x27263808, 0x37013e26, 0x27063736, 0x3e37012e, 0x37161701, 0x36262722, 0x82262233, 0x17332a0c, 0x17163637, 0x06072207, 0x08548223, + 0x36323348, 0x01263435, 0x3d212023, 0x0e100718, 0x0b07100e, 0x435e1a2b, 0x2c030e07, 0x293a0f08, 0x1608460a, 0x1408020e, 0x0b28220d, 0x05010112, + 0x1517070c, 0x070a2b2d, 0x25150505, 0x140f160a, 0x1609100a, 0x1111070a, 0x2d8e7001, 0x8d140921, 0x8b09202d, 0x5c1c2160, 0xb9206083, 0x07203984, + 0x3d084683, 0x10030115, 0x190d330c, 0x1c170d19, 0x05042109, 0x090f5906, 0x395a4a21, 0x16110207, 0x17131107, 0x0b0e0205, 0x01090d07, 0x150a0d02, + 0x0a0a1505, 0x15154107, 0x08110a0f, 0x34010f14, 0x298d0810, 0x8c0c0d21, 0x8d052029, 0x82472058, 0x140f2632, 0x140f0f15, 0x30008200, 0xfffbff04, + 0x010502c0, 0x001300c5, 0x00440038, 0x379f4251, 0x9b642520, 0x3f262605, 0x01173601, 0x200c8317, 0x050f4c22, 0x35248e42, 0x0909bc01, 0x1c090857, + 0x09570808, 0x1cc9fe08, 0x04940909, 0x0683030a, 0x85420820, 0x089b212d, 0x08224782, 0x4782091c, 0x47830920, 0x04940828, 0x09081c04, 0xeb820994, + 0xffff0331, 0xc001bfff, 0x3200c201, 0x6b003f00, 0x50170000, 0x089008b3, 0x11833720, 0xf2532720, 0x54162005, 0x262a09df, 0x36262737, 0x1f163637, + 0x03820601, 0x31143727, 0x35010f14, 0x20e88234, 0x88178707, 0x30088820, 0x013e2627, 0x115b1516, 0x0c7e3e0d, 0x7f0b1111, 0x0805829a, 0x7d9a0c2d, + 0x1001120c, 0x0a1fa90c, 0x09180e04, 0x0c0f0e7c, 0x6b101050, 0x2549100c, 0x09090307, 0x0d0d0818, 0xf70b0e02, 0x7b123d0d, 0x82341515, 0x170a2e12, + 0x5e044e07, 0x090a0308, 0x055f0717, 0x2e08844d, 0x01016708, 0x24121711, 0x1106110c, 0x82100c0c, 0x830b2004, 0x110b3309, 0x13180716, 0x0a5a0603, + 0x130c8d12, 0x10041302, 0x3e822eee, 0x11303282, 0x080a230b, 0x0a110102, 0x0c161130, 0x430e0f5a, 0x072e6882, 0x03630a03, 0x07180a79, 0x7a090307, + 0x08856204, 0x0c268523, 0x379d8211, 0x02000000, 0xbefff8ff, 0xc2014002, 0x45002d00, 0x16250000, 0x07060714, 0x2906e95d, 0x07060327, 0x22230613, + 0x1282022f, 0x26272624, 0x76703637, 0x16362805, 0x3336011f, 0x75071632, 0x3621076f, 0x07aa4317, 0x35362308, 0x02070616, 0x31070739, 0x03052b57, + 0x14080d08, 0x1214fc06, 0x161112be, 0x10772916, 0x3c717d0d, 0x1a890f0f, 0x28352208, 0x8895592a, 0x1a385022, 0x262a1318, 0x140b1912, 0x0e19120c, + 0x0bd81205, 0x2b540b1a, 0x0514083a, 0x3044820a, 0x0d096501, 0x0302f1fe, 0x1311ab3a, 0x186628b2, 0x351a8918, 0xbb570a48, 0x50383327, 0x140d1c09, + 0x130c1219, 0x1a12190c, 0xd682193d, 0x06002808, 0xfdff0000, 0x80018002, 0x20001900, 0x2f002800, 0x57003700, 0x32010000, 0x2615011f, 0x3637012f, + 0x0f222627, 0x82061501, 0x373435d6, 0x33363735, 0x23113317, 0x3a352622, 0x26343601, 0x05140622, 0x4a05f95b, 0x052907e1, 0x010f011e, 0x012f010e, + 0x83048307, 0x82232003, 0x833b2034, 0x172b080e, 0x013f011e, 0x090db301, 0x92040437, 0x050a0c1a, 0x0d50050d, 0x0d0a0a22, 0xc30d0962, 0x130d4060, + 0x09090e29, 0xc0fd090e, 0x820d1360, 0x3d028207, 0x030aa401, 0x1b080909, 0x0920050a, 0x11120c1f, 0x125b1435, 0x540d0937, 0x14021652, 0x4f823b14, + 0x37098039, 0x760305c2, 0x050c0b18, 0x0a014904, 0x210c0b02, 0x085a010b, 0x8600ff40, 0x01292642, 0x130de000, 0x244e8440, 0x0b1a080a, 0x3750820c, + 0x040c2604, 0x0615100a, 0x37e05211, 0x3c144b09, 0x14031516, 0x0002001b, 0x2507a346, 0x0046001a, 0xcb530500, 0x352e0805, 0x36373411, 0x023e3037, + 0x021e3233, 0x16171631, 0x07260715, 0x0e300706, 0x2e222302, 0x27262703, 0x06010f26, 0x16171415, 0x32041e17, 0x2b82033e, 0x34353625, 0x49000227, + 0x12320570, 0x0e1c7c29, 0x17080817, 0x297c1c0e, 0x07044212, 0x0f834723, 0x10073708, 0x02120d11, 0x04072347, 0x24030209, 0x0e160246, 0x15141517, + 0x02160e17, 0x02032446, 0x1c1c1410, 0x18070114, 0x155a200e, 0x090b0b09, 0x0e205a15, 0x04064218, 0x0e82331b, 0x090b063e, 0x1b33010e, 0x020e0604, + 0x1a030402, 0x0a110232, 0x0d06060d, 0x3202110a, 0x0204031a, 0x0320c482, 0x012ec783, 0x00c001c0, 0x002f0027, 0x01000044, 0x805f1523, 0x88078806, + 0x333624db, 0x60163221, 0xc141065b, 0x35172f07, 0x012b2634, 0x23272206, 0x1d010e22, 0x35551401, 0x14b42405, 0x840c0c14, 0x05af5403, 0x2008a282, + 0x141c1440, 0x2634d60c, 0x30263426, 0x13051c27, 0x1205132a, 0x090d121f, 0x010d09b4, 0x280c4020, 0x5d03830c, 0xa02005de, 0x3020d383, 0x20201282, + 0x26322c82, 0x1813c734, 0x0f080822, 0x0813101b, 0x00000b0b, 0x6c180600, 0x0f2a08a3, 0x2b001700, 0x43003700, 0xf5764f00, 0x64162011, 0xa18a06a9, + 0x08ab5a18, 0x238d5918, 0x21055a41, 0x8c8320fe, 0xb78c9a20, 0x84271c21, 0x08e023b6, 0x028e0890, 0x90180120, 0x60200cb7, 0x2221be8a, 0x26bd8318, + 0x0808103d, 0x8a480810, 0x20cf8205, 0x97721803, 0x501f200c, 0x82180981, 0x373009d1, 0x2223012e, 0x27220607, 0x06222326, 0x91ce9107, 0x01360282, + 0x3434481c, 0xb2b13448, 0x20340e39, 0x28150403, 0x20030415, 0x94500e34, 0x82312006, 0x48342c1a, 0x1b44dcfe, 0x07070121, 0x181b2101, 0x210b9f50, + 0x1967000f, 0x3d9f1806, 0x2217220f, 0x05c14106, 0x23263422, 0x09a05018, 0x4108e141, 0x0123083f, 0x5f1c1450, 0x60240798, 0x07090907, 0x16200484, + 0x18132541, 0x230d408d, 0x090e0920, 0x80200282, 0x23101941, 0x07000000, 0x2f08d741, 0x00130009, 0x002b001f, 0x003f0037, 0x01000052, 0x2505ab7d, + 0x03333634, 0xe04c2111, 0x56252006, 0x5b18069e, 0x1d210f7b, 0x05b65601, 0xa3421783, 0x06072907, 0x32013b16, 0x012e2736, 0x2a08a942, 0x1c141002, + 0x141cc0fd, 0x82400230, 0x142024c7, 0x4160011c, 0x0e820eca, 0xcf849620, 0x0a02ad37, 0x0a08ba08, 0x15220602, 0x132a1308, 0x12190e08, 0x141ca001, + 0x29418210, 0x300170fe, 0x1c14d0fe, 0xd741fc1c, 0x08e18510, 0x0d07a637, 0x1913080c, 0x140b0808, 0xff030000, 0x01c0ffff, 0x00c00100, 0x00330012, + 0x13000043, 0x14151615, 0x23302306, 0x34352622, 0x36343537, 0x32031632, 0x2e343536, 0x07755106, 0x15070e26, 0x33011e14, 0x8506fa4a, 0x011d3d22, + 0x4b20e016, 0x4a350135, 0x38503820, 0x022f2160, 0x07030602, 0x1c010803, 0x08011c28, 0x2b080982, 0x15020206, 0x25411525, 0x13202536, 0x0120131a, + 0x3025cb60, 0x354c4b35, 0x28cb2430, 0x68fe3838, 0x0c06212f, 0x09060b09, 0xdd010904, 0x143bbb82, 0x030a01dd, 0x090b0609, 0x2515070b, 0x251b5016, + 0x12251b25, 0x13130de9, 0x8a12e90d, 0x000f22b3, 0x8fb38322, 0x9037208a, 0x031521c2, 0x3b24c090, 0xc0363201, 0x20208f87, 0x1020bc89, 0x0123ba95, + 0x85402f21, 0x83a92086, 0x12a92286, 0x22c08b30, 0x9ae0fe28, 0x412f20bf, 0xb3f40b67, 0xb3836920, 0xb3406920, 0x832920ad, 0xb82920b3, 0x000724b3, + 0x4e3b001a, 0x134209b1, 0x3625222c, 0x23104245, 0x25365b26, 0x15253625, 0x202b0842, 0x0ca77210, 0x00313f08, 0x00410039, 0x00510049, 0x00610059, + 0x00710069, 0x00810079, 0x00910089, 0x01000099, 0x2f220607, 0x37342601, 0x2637012e, 0x15062223, 0x34112311, 0x17323336, 0x36171636, 0x16011f32, + 0x2b5c0614, 0x34162306, 0x0d823236, 0x3b5c2220, 0x21178607, 0x944f023a, 0x86322005, 0x952e9826, 0x0860533e, 0x07873787, 0x9e860137, 0x0c071407, + 0x02190707, 0x20161318, 0x3b53402e, 0x3a1a2937, 0x48148416, 0x292605f7, 0x09090e09, 0x0584570e, 0x05849720, 0x10833220, 0x8a600921, 0x20238b11, + 0x852f8a77, 0x84492035, 0x8a172011, 0x38012305, 0x7582079e, 0x1e071431, 0x2e0c1f4f, 0x01cefe20, 0x25533b32, 0x84120b08, 0x84482015, 0x8a17205f, + 0x058b4905, 0x15844084, 0x218b0f85, 0x2d953720, 0x29850920, 0x00230585, 0x41010000, 0x462008b3, 0x5e0c636e, 0x0d6d0578, 0x013d220b, 0x0d736e26, + 0x17323327, 0x1f361736, 0x06504d01, 0x2107ca41, 0x977f011d, 0x0e202706, 0x0e0a100a, 0x068400ff, 0x0a082033, 0x080a0e0e, 0x182a212f, 0x08081c24, + 0x5f08080c, 0x26058309, 0x090d0410, 0x64130d12, 0x202305e0, 0x84201d2b, 0x222c8426, 0x852b1d20, 0x21902642, 0x1a0a222f, 0x212e8208, 0x3a845f09, + 0x132f1126, 0x900d130f, 0xff57be82, 0x0b23080a, 0x51002b00, 0x00005900, 0x27220605, 0x3435012e, 0x06141532, 0x06071627, 0x26270607, 0x17363435, + 0x8217011e, 0x2627300d, 0x36372627, 0x07263435, 0x0607010e, 0x82163212, 0x06072125, 0x37211282, 0x2a33823e, 0x2223032e, 0x16141506, 0x82151617, + 0x84062003, 0x07d15047, 0x0b013a08, 0x07064a06, 0x750e800e, 0x070e0605, 0x572e0504, 0x0152393d, 0x04053002, 0x05060e07, 0x25293b1d, 0x05020235, + 0x384683ba, 0x04010603, 0x122c2501, 0x1c362b21, 0x242a6749, 0x080e8203, 0x39030658, 0x2536c545, 0x29253625, 0x55191717, 0x172c2c17, 0x0405af55, + 0x06080f0a, 0x553d3e2b, 0x39510202, 0x08062c41, 0x05040a0f, 0x3929281d, 0x25350202, 0x8303012b, 0x1b6c425d, 0x1b040402, 0x2e4e1814, 0x202c351d, + 0x2d486712, 0x0302184e, 0x04041913, 0x426c1b02, 0x51821d5d, 0x00362523, 0x0c3f7102, 0x2007115a, 0x73e01823, 0x34352108, 0x1d210b82, 0x69401801, + 0x9001240b, 0x1898fe0c, 0x250e717d, 0x0c0c54a0, 0x17420054, 0x60002209, 0x5fd31800, 0x14d02113, 0x08af4018, 0x141c6023, 0x820d8320, 0x21368204, + 0xa74b0300, 0x00c02206, 0x068d5911, 0x06141127, 0x3435012b, 0x25048326, 0x32213336, 0x32550716, 0x4807200e, 0x332b0552, 0x141c0002, 0xd0212f30, + 0x8201141c, 0xde40184c, 0x0c442e0c, 0x01fc0ce4, 0x14e0fe90, 0x2f21d01c, 0x206f8230, 0x0af55494, 0x0c0c3023, 0x207b8334, 0x227b8809, 0x181f000f, + 0x250a374b, 0x008f007f, 0x87840100, 0x18262221, 0x2407ea44, 0x2b141517, 0x22038301, 0x6b323335, 0xa5820abe, 0x25240fa5, 0x22231533, 0x200ad56b, + 0x230fae37, 0x141ca001, 0x0484ce82, 0x12066025, 0x822a2a06, 0x21079704, 0x1e9c1efe, 0x0112062b, 0x1460fe90, 0x01141c1c, 0x280582a0, 0x06060c4e, + 0x06063006, 0x20079666, 0x201b820c, 0x201b8306, 0x20089960, 0x34008200, 0xfffaff01, 0x01c601c0, 0x00a700c0, 0x011e2500, 0x2f06010f, 0x06534f01, + 0x15022f25, 0x82141617, 0x2f222211, 0x089e6201, 0x08aa9918, 0x644e3520, 0x012e2405, 0x7207013f, 0x0b830603, 0x1f013e25, 0x53273701, 0x36280534, + 0x2627013f, 0x1f36013f, 0x3e200682, 0x36282782, 0x021f011e, 0x34262735, 0x35221384, 0x7d5e3634, 0x1f322207, 0x22688301, 0x83013f15, 0x2085833e, + 0x05744437, 0x0b831720, 0x2f010e28, 0x37170701, 0x25821636, 0x0f062308, 0x06b80101, 0x07100303, 0x0206210e, 0x060f0606, 0x3f13010c, 0x0b050535, + 0x14040d05, 0x0720060a, 0x09821409, 0x05050c27, 0x02133f36, 0x081f820b, 0x07010620, 0x10070e21, 0x1a220e08, 0x04020607, 0x46070b01, 0x07464040, + 0x0204010b, 0x221a0706, 0x4a85080e, 0x04050326, 0x0608040f, 0x36284c82, 0x0b0c0404, 0x0709140b, 0x04254b83, 0x040c040e, 0x214b8204, 0x4b830c01, + 0x83060221, 0x0d07214b, 0x67354b94, 0x1b050d03, 0x1a14070d, 0x04020b06, 0x47060702, 0x05354e24, 0x2899820d, 0x07281305, 0x28070909, 0x25a68513, + 0x47244e36, 0x8a820706, 0x1a060c2a, 0x1b0d0714, 0x0713080d, 0x0725aa84, 0x25251302, 0x20398213, 0x2241820f, 0x82081307, 0x834d821a, 0x01042495, + 0x87040602, 0x0c0c214f, 0x05214f8c, 0x824f8635, 0x344f9b43, 0xffff0100, 0x0902bfff, 0x1400c901, 0x16010000, 0x010e0706, 0x08ce4127, 0x36262d08, + 0x01013e37, 0x301428e0, 0xc0255824, 0x33091708, 0x15d70908, 0x8931240d, 0x892aa001, 0x150d2431, 0x330809d7, 0xc0081709, 0x30245825, 0x2e084082, + 0x00020000, 0x01c0ff00, 0x00c101a0, 0x003c002a, 0x15161300, 0x17070614, 0x012b0616, 0x013f2622, 0x3435022e, 0x17323637, 0x37321615, 0x8235023e, + 0x17162109, 0x08820a82, 0x012e1322, 0x4305116f, 0x373a06ae, 0x202510d0, 0x0a0f010d, 0x010f0a40, 0x111f150d, 0x022c0210, 0x01010e01, 0x08830304, + 0x0a820720, 0x792c022e, 0x2a13222c, 0x0e0a1939, 0x0b380a0e, 0x29081b82, 0x26225fb1, 0x0aee0c37, 0xee0a0f0f, 0x1a2a1d08, 0x100f5f22, 0x0b02028e, + 0x10013b47, 0x02860810, 0xfe108e02, 0x4c5623d3, 0xd3602642, 0x0a102d05, 0x08000100, 0xf901c8ff, 0x2600b901, 0x3220ff82, 0x0884b218, 0x36013f2b, + 0x32331617, 0x26363736, 0x08c08807, 0x34013d32, 0x36011f36, 0x72430001, 0x5f679143, 0x28090a47, 0x3f300808, 0x01016146, 0x30424565, 0x100c0b2a, + 0x1e0e0a86, 0x0147240b, 0x437342b8, 0x08409167, 0x07342182, 0x4745622a, 0x2c010163, 0x0e1e0b2a, 0x0c10860a, 0x0045240b, 0x2b098773, 0x00150009, + 0x002d0021, 0x17000045, 0x2508754d, 0x16141501, 0x6f823632, 0x06222623, 0x180b9607, 0x21080958, 0x28822622, 0x013b3623, 0x24038237, 0x20011f32, + 0x06434501, 0x09100122, 0x480aa048, 0x092206a7, 0x286d4001, 0x09783209, 0x0f720f07, 0x01100907, 0x14b0fe50, 0x14011c1c, 0x971c83e0, 0x74a92004, + 0x132409f9, 0x00130d0d, 0xd35f0082, 0x001c2709, 0x0100003a, 0xb0822326, 0x012b062c, 0x3e372622, 0x17323301, 0x90183637, 0x372a080c, 0x16323305, + 0x3316010f, 0xaa853e32, 0x0e071625, 0x7d222301, 0x36330698, 0x42317301, 0x020e5b3a, 0x0706390a, 0x5a891101, 0x41244863, 0xfe2c072f, 0x0c1086d7, + 0x42312a0b, 0x09304426, 0x012b208e, 0x38472d3b, 0x57050909, 0x41244573, 0x7927077f, 0x2d2a0b1e, 0x8c253921, 0x00003016, 0xff100002, 0x01b601c0, + 0x002200c0, 0x58000030, 0x362106a1, 0x0a517037, 0x012b1424, 0x1d7e1615, 0x16022106, 0x0964bf18, 0x3b142e08, 0xb0013201, 0x657aac7a, 0x0c0c1c4b, + 0x1c0c0c78, 0x091b2c38, 0x09091c08, 0xb022011d, 0x05280507, 0x0c280c07, 0x7a7a5690, 0x0c754d56, 0x820b8222, 0x09222702, 0x09091b24, 0x2382081c, + 0x98623329, 0x04080804, 0x82000c98, 0x00022c00, 0x01fcff00, 0x008401f8, 0x82310015, 0x07bd6187, 0x2705c541, 0x1f363435, 0x05141601, 0xd8418a82, + 0x1d322207, 0x500d8301, 0x2f080715, 0xa8f10115, 0x0a881e0b, 0x880a0e0e, 0x07a80b1e, 0x540cc8fe, 0x28383828, 0x540c0c54, 0x0d13130d, 0xa8af0c54, + 0x60100c0b, 0x0a600a0e, 0x0c10600e, 0x14272282, 0x28380caa, 0x823828c0, 0x0d132495, 0x88130dc0, 0x02f42687, 0x00800100, 0x2087831b, 0x07587121, + 0x88823620, 0x012b2623, 0x45068222, 0x1424058c, 0x14162706, 0x8706b07a, 0x22a68293, 0x89a00117, 0x22828472, 0x8a070757, 0x206c8899, 0x227c8528, + 0x821407c9, 0x2c988b1e, 0x00010000, 0x01c8ff07, 0x00b901f8, 0x420c8224, 0x3f3a0c2f, 0x26272601, 0x011e1706, 0x36373233, 0x0716011f, 0x26222306, + 0x00013634, 0x19424764, 0x302a3608, 0x01654542, 0x3f466101, 0x28080830, 0x5f470a09, 0x01929167, 0x090a42b8, 0x012c2a29, 0x45476301, 0x82072a62, + 0x4008241e, 0x5191ce91, 0x022e069f, 0x00c00100, 0x00380030, 0x004c0044, 0xf8432500, 0x22212205, 0x20d78226, 0x21048337, 0x0585013b, 0x3536322b, + 0x33362734, 0x14151632, 0x52058a07, 0x17250732, 0x012b2636, 0x22a58322, 0x62263632, 0x3508075e, 0x2a231ac3, 0x1e90fe1e, 0x1d1a232a, 0x160e1e2a, + 0x21101a26, 0x06090f2f, 0x06063828, 0x0e16261a, 0xedfe2a1e, 0x1a13131a, 0x05018013, 0x0504b004, 0x383c0801, 0x1184253c, 0x044f2308, 0x2a1e1b28, + 0x281b1e2a, 0x1e231604, 0x1a1d132a, 0x19212f26, 0x28380215, 0x1a26110f, 0x1e2a131d, 0x38825b23, 0x781a132a, 0x04070704, 0x60202015, 0x93620d84, + 0x49a02008, 0x3420067f, 0xf876d382, 0x05f94806, 0x16141524, 0x61542533, 0x0415220d, 0x05b95134, 0x18150721, 0x2f0738ea, 0x1ce00107, 0x1480fe14, + 0x10141c1c, 0xb001212f, 0x01200c87, 0xfe311282, 0x1c281cc0, 0x0144281c, 0x08085860, 0x08082888, 0x05135520, 0x1c140026, 0x502f21d0, 0x01203383, + 0x1c220b82, 0x26834414, 0x30601c23, 0x20278670, 0x32008200, 0xfffeff04, 0x010102be, 0x000d00c0, 0x00210019, 0x48000028, 0xf74d0722, 0x36272505, + 0x0716011f, 0x26241382, 0x1636013f, 0x26370382, 0x2335020f, 0x35371707, 0x092ef201, 0x09096f08, 0x0e280e2e, 0x84e40e3c, 0xfafe2b0b, 0x02120c7a, + 0x0a145c16, 0x03820a9a, 0x0c24242b, 0x32014020, 0x6f09092e, 0x82278208, 0x1c282126, 0xfe270b84, 0x120216fa, 0x82207a0c, 0x25278323, 0x20403068, + 0x8e82240c, 0x88020021, 0x0007228f, 0x208b8211, 0x3a798517, 0x0f141601, 0x36372701, 0x23011732, 0x72eafe80, 0x0d01100c, 0x0e0ee501, 0x82398039, + 0x6301217d, 0x0d261382, 0x720c1001, 0x0e822901, 0x0e201483, 0x4b874c82, 0x0900c122, 0x0020d982, 0x07244389, 0x0e07011f, 0x37255883, 0x013f013e, + 0x06124927, 0x01323623, 0x265187f2, 0xc55355bb, 0x822f7222, 0x37052f66, 0x66179822, 0x0c160c0b, 0x210b770c, 0x5f877601, 0x82542821, 0x05372121, + 0x2f2c7482, 0x16982272, 0x170b0b66, 0x0c760c0b, 0x34087682, 0x0d000100, 0xf300dfff, 0x1300a001, 0x33370000, 0x010f1632, 0x012f2206, 0x013b3626, + 0x013b3411, 0x2ea81532, 0x560b0c10, 0x56071407, 0x2e100c0b, 0x660c380c, 0x820e821e, 0x011e2e0d, 0x000c0c2e, 0x00ffff01, 0x01c0014d, 0x203f8433, + 0x47b41815, 0x011d2809, 0x011d3221, 0x8b862314, 0x8f98202e, 0x207f824c, 0x203f8200, 0x2b3f82c1, 0x25000014, 0x1f363435, 0x06011e01, 0x26218482, + 0x05116b3d, 0x3a013322, 0x052b4182, 0x56050303, 0xd2fe1e0b, 0x84e80c0c, 0x0c052243, 0x8510820c, 0x20c78791, 0x20c782e0, 0x348783a1, 0x26222313, + 0x3236013f, 0x0616011f, 0x1411012b, 0x3522012b, 0x217a8f58, 0x99871a01, 0xb74c5583, 0x22cb8208, 0x423b00a0, 0x704805f9, 0x48272005, 0xba47077b, + 0x46372005, 0x4418076c, 0x27210706, 0xac481826, 0x064f4a08, 0x0ec00132, 0x0c10700a, 0x6b6b240b, 0x100c0b24, 0x1e0e0a70, 0x1e200b85, 0x68201797, + 0x3b8b23a2, 0x20052b4d, 0x054b7501, 0x29001d22, 0x0d595e18, 0x34013b29, 0x15163236, 0x57163233, 0xcc820af9, 0x47056f55, 0x1c3207da, 0x34265014, + 0x1c145026, 0x0e0e14b6, 0x06480e14, 0x028206b4, 0xfe500131, 0x1c1c14a0, 0x14600114, 0x26261a1c, 0x82341c1a, 0x140e281b, 0x06061464, 0x41000614, + 0x022505ef, 0x00330101, 0x460c821b, 0x40180566, 0x062d0886, 0x3426012f, 0x1636013f, 0x0133011d, 0x075e417a, 0x0888f420, 0x42160121, 0x90410b4b, + 0x057f410c, 0xbfff0d26, 0xc101f300, 0x37205b83, 0x200b8a42, 0x0cd04135, 0x98d61521, 0x91462046, 0x68002074, 0x1a200c33, 0x09f55d18, 0x23150722, + 0x08f04c18, 0x35012b3e, 0x22012b34, 0xce91f801, 0x93ce9191, 0x06060847, 0x73080873, 0x47080606, 0x010c400c, 0x2305346e, 0x050f7484, 0x05231583, + 0x820c740f, 0x7e578f46, 0x2734079d, 0x26343523, 0x1f06010f, 0x3d361601, 0x3d323301, 0x67013401, 0x91205683, 0x3820408b, 0x538f6994, 0x6c521220, + 0x33172b06, 0x3f161415, 0x012f3601, 0xf46d0626, 0x90992006, 0xb8012152, 0x362053a4, 0x2306d652, 0x32333537, 0x2905ff6c, 0x013b1606, 0x013b1415, + 0x40940832, 0x69905920, 0xa34b0020, 0x40022d05, 0x1500c001, 0x00003200, 0x06141501, 0x0a1da718, 0x20061243, 0x05b84903, 0x21084950, 0x6c6b3221, + 0x21113d05, 0x02373435, 0x240b1e40, 0x071407f3, 0xf4070717, 0x100c0b24, 0xa90e0a80, 0x141c1e0b, 0x2e067f42, 0x0b0c1028, 0xfe0a0710, 0x074001f8, + 0x8280a801, 0xf424220d, 0x2c2c8207, 0x24f30714, 0xfe0e1e0b, 0x100d0cff, 0x07a942b0, 0x2a821e20, 0x90c0fe23, 0x9787180a, 0x01c0260a, 0x000f00a0, + 0x0d194323, 0x82823320, 0x22230726, 0x07011f06, 0x2505236d, 0x3d361617, 0xab183401, 0x58210e63, 0x286d8270, 0x0909c320, 0xc309081f, 0x186c8220, + 0x220c5461, 0x820b1e24, 0x1f08221b, 0x3b1b8309, 0x0a70100c, 0x0000000e, 0xff000002, 0x010002f3, 0x0015008d, 0x1100002b, 0x33363435, 0x3622e582, + 0xf548011f, 0x22212b07, 0x16320526, 0x0614011d, 0x27452123, 0x0a0e2f0c, 0x0b1e6801, 0x50070750, 0x98fe1e0b, 0x02530e0a, 0x98fe2105, 0x01251387, + 0x0e0a1018, 0x22918230, 0x82140750, 0x100c2623, 0x0e8e0e30, 0x7a138f0a, 0x802008ef, 0x1c22f782, 0xc4183100, 0x07211d09, 0x43ae1836, 0x20a7820e, + 0x1ec41837, 0x078b3115, 0x09410b08, 0x09073007, 0x07080b41, 0xdd0b0b6a, 0x142fc418, 0x14076929, 0x09090770, 0x83147007, 0x02002323, 0xc4180000, + 0x8b9f0893, 0x260c8542, 0x32013b16, 0x95013d36, 0x8597208b, 0x886a2081, 0x208b9592, 0x2083844e, 0x2091876a, 0x20008200, 0x088f8206, 0x4002c04e, + 0x0300c001, 0x0b000700, 0x17001100, 0x00001d00, 0x27231701, 0x37211723, 0x23073323, 0x16173315, 0x21032706, 0x27220603, 0x0733013f, 0xe6012606, + 0x3045655a, 0x45eafe45, 0x65455080, 0x05017b65, 0x18014701, 0x01040189, 0xdb657b43, 0xc0210d82, 0x2f0083a0, 0x0302fc20, 0xfeff0002, 0x420202c2, + 0x0302fffc, 0x00276e82, 0xfffdff01, 0x824501bf, 0x0019236f, 0x0d4f2500, 0x3b362405, 0x47231101, 0x2f08065c, 0x11151632, 0x01163233, 0x1408683a, + 0x0c0a6808, 0x05544010, 0x06063803, 0x0e0ac408, 0x380c1040, 0x70080870, 0x10011d0b, 0x0f053804, 0xb8fe0a0e, 0x5384ab82, 0x5382c020, 0x8200c121, + 0x06da4653, 0xa3460620, 0x275a8505, 0x36013f26, 0x3a011732, 0x0e294e83, 0x0608c40a, 0x05033806, 0x204e8254, 0x2f65830a, 0x1d0b4801, 0x0e0ab8fe, + 0x0438050f, 0x0b1d1001, 0x00226282, 0x17410100, 0x00c12206, 0x42b68226, 0x5283059f, 0x34013d26, 0x06222326, 0x08024118, 0x210b216f, 0x93186901, + 0x30220ae1, 0xb2431c14, 0x01e03207, 0x503f59c0, 0x0a0e0e0a, 0x2b2a1e50, 0x141c471e, 0x821c83c0, 0x40462104, 0x00215c82, 0x396b8202, 0x018001bf, + 0x001700c0, 0x1700001f, 0x3435062e, 0x15163236, 0x07050e14, 0xf94a2206, 0xac200807, 0x221a3d18, 0x70030d0b, 0x0d0370a0, 0x3d1a220b, 0x141a0718, + 0x422f2f42, 0x5823362f, 0x22163524, 0x0e1ff418, 0x1982f020, 0x87422f21, 0x01c0225f, 0x205f8260, 0x08895c30, 0x0c7f9518, 0x2108774c, 0x274d012e, + 0x16322505, 0x1614011d, 0x21050344, 0x83823336, 0x91821683, 0x82222321, 0x013b2217, 0x22078e15, 0x18500114, 0x291b5c9a, 0x38385068, 0x0b553850, + 0x0387550b, 0x09000122, 0x22659a18, 0x2838a02b, 0x383828a0, 0x08100828, 0x20038620, 0x20cf8328, 0xb7aa1803, 0x5f23200c, 0x2b200835, 0x0fb9aa18, + 0x34113722, 0x15261382, 0x013b1411, 0xaa180132, 0x90230fc5, 0x820cc80c, 0x0dda5d02, 0x9474fe20, 0x01592905, 0xfe0c0c38, 0x00000cc8, 0x33053845, + 0x00800180, 0x002d001d, 0x00370032, 0x0044003f, 0x25000049, 0x2e08e17f, 0x35013b34, 0x2f222306, 0x34352601, 0x8236013f, 0x011d216b, 0x08af7b18, + 0x2b051c55, 0x34331333, 0x32352326, 0x12233536, 0x1806c84c, 0x35091fbf, 0x08086001, 0x10080840, 0x03040302, 0x0f040208, 0x080e0706, 0xbf181001, + 0xe82f1033, 0x50383850, 0x1b700138, 0x25404025, 0x821008a0, 0x37082d31, 0x020e0301, 0x0a030402, 0xe0580804, 0x0b467a18, 0x1bb0fe2e, 0x1b25a025, + 0x5c4200ff, 0x625c4242, 0x0846bf18, 0xff02002d, 0x02b9fff9, 0x00c70181, 0x8228000d, 0x373622c5, 0x82bb8517, 0x051729b9, 0x010f011e, 0x26012706, + 0x01220c83, 0x4c543736, 0x16330806, 0x01071415, 0x50130f0c, 0x04139579, 0x70130518, 0x9f010c10, 0x14040205, 0xb3fd0c0a, 0x0a14090c, 0x1d61010d, + 0x070e3c11, 0x68130830, 0x07436513, 0x82573e0b, 0x08210808, 0x890e0730, 0x1a050d04, 0xc6010a0c, 0x0c190d0a, 0x24eefe09, 0x110b3225, 0x18051270, + 0x80a01304, 0x41008200, 0x802305cb, 0x6100c001, 0x65570507, 0x1b016110, 0x200bc15f, 0x21b75faa, 0x0813b05f, 0xffff0120, 0x0002dcff, 0x2000a501, + 0x37130000, 0x011d1636, 0x1415041e, 0x26060706, 0x2e013e37, 0x92462704, 0x083b0806, 0x341c0cb0, 0x1e324c50, 0x150b2330, 0x07060904, 0x362e1e15, + 0xb00c1c22, 0x98020108, 0x500f0d0a, 0x29190901, 0x552c2c42, 0x0c0e0819, 0x1d26321f, 0x01050d13, 0x0a0d0f58, 0x43160798, 0x10240583, 0xf001bcff, + 0x5d08e782, 0x001f001a, 0x011e0100, 0x030e1415, 0x2e270607, 0x3e343503, 0x36013f03, 0x3e031732, 0x01273701, 0x1e100ed2, 0x1c393d2e, 0x4d2a1212, + 0x05032740, 0xc0060907, 0x12081408, 0xb002634b, 0x18056c01, 0x53733f0f, 0x080b2943, 0x5f431108, 0x0b064782, 0x0207080a, 0xfe040450, 0x6ca22546, + 0x0b63004a, 0x000f2309, 0x1b430017, 0x086b4809, 0x22077f42, 0x82341137, 0x11152613, 0x32213314, 0x31ae1801, 0x0cd02810, 0x0c0cb8fe, 0x430c4801, + 0x00201e1e, 0x3509ef60, 0x001e000d, 0x002e0026, 0x004c0042, 0x12000054, 0x14151632, 0x63820607, 0x35262726, 0x0e222534, 0x162af082, 0x013f3233, + 0x31363734, 0x4c18012e, 0x362007ac, 0x28060e43, 0x022e3625, 0x0f062627, 0x24278301, 0x35363317, 0xfc691834, 0x22232307, 0x24861607, 0xa9eea93f, + 0xfe120927, 0x27091244, 0x0e092001, 0x090d1309, 0x01020909, 0x1ad81003, 0x131a1313, 0x3a058443, 0x01011701, 0x0a040704, 0x193d0312, 0x096e0923, + 0x110a4c17, 0x0d13130d, 0x852e0605, 0xa9a02a1f, 0x0f434e77, 0x774e430f, 0x2a438269, 0x1c06130d, 0x0b020301, 0x6be0fe0d, 0x35340aef, 0x06080a05, + 0x09090302, 0x192502b8, 0x110f0f11, 0x0f7f131d, 0x02211f82, 0x232484de, 0x00030000, 0x02230082, 0x82800140, 0x001f2c09, 0x1300002f, 0x24211521, + 0x50331614, 0x3d210618, 0x2bb38301, 0x36343523, 0x16322133, 0x2722011d, 0x096b5b18, 0x362e1182, 0x40018035, 0x9001c0fe, 0x141c141c, 0x048220fe, + 0x09831c20, 0x82e00121, 0x0e4c3409, 0x0ab0fe0a, 0x010a0e0e, 0x010e0a50, 0x2874c020, 0x8214601c, 0x1c60211e, 0x38200887, 0xd0201d83, 0x00210483, + 0x089f5902, 0x1b000722, 0x0951bc18, 0x41180720, 0x3b2e0d22, 0x37321601, 0x54783c01, 0x10547854, 0xaa654b35, 0x354b2605, 0x234c2337, 0x251282a0, + 0x4b747854, 0x63831035, 0x10211c82, 0x82da8410, 0x02e02857, 0x00a00100, 0x452b000f, 0x45420861, 0x27012208, 0x18227837, 0x290c0f5b, 0x0943434c, + 0x09092809, 0x06844242, 0x68640d8c, 0xdefe210d, 0x09202393, 0x00203185, 0x08095f64, 0x2600202f, 0x00002c00, 0x06171625, 0x36272223, 0x07062737, + 0x16373426, 0x27263717, 0x06173236, 0x37361707, 0x26071416, 0x27362527, 0x37071607, 0x08188206, 0x7001373f, 0x64482113, 0x14204864, 0x361c111d, + 0x1d101c36, 0xc8482013, 0x1d132048, 0x37361c10, 0xfffe111b, 0x161f1919, 0x1919f615, 0x5416151e, 0x46461f27, 0x210e271f, 0x44ae441c, 0x260f211b, + 0x230e821e, 0x1b210e26, 0x22270e83, 0x0a4d4d12, 0x82904343, 0x44422505, 0x08000000, 0x2908f764, 0x000a0004, 0x0015000f, 0xa183001b, 0x00002b28, + 0x27070613, 0xa1821736, 0x05171622, 0x36229782, 0xa5822705, 0xaf829f82, 0x82252721, 0x25062216, 0x20a68217, 0x08af8236, 0xd4061721, 0x354e2a02, + 0x01392e69, 0xa2fe3f53, 0x0a4d374e, 0x9e2e3c01, 0x96620434, 0x5302382e, 0x835e013f, 0xc4fe2112, 0xba201284, 0x01372a83, 0x4e374db6, 0x462eca2c, + 0x22340462, 0x45022a4e, 0x3f9e2e97, 0x8e2c0253, 0xeb012110, 0xa6822683, 0x65040021, 0x17210c9f, 0x0aa16500, 0x18075d43, 0x8707b58a, 0xce91220f, + 0x25028291, 0x13131a6b, 0x0953131a, 0x84102005, 0x064e4d0b, 0x16822720, 0x5a1a1322, 0xb0201284, 0x3a0af76e, 0x01c0ff08, 0x00c001fb, 0x00430021, + 0x005f004b, 0x00850073, 0x26273700, 0x56013b36, 0x3526070c, 0x32013b34, 0xa367011d, 0x0f162509, 0x27261701, 0x078e1687, 0x010f1428, 0x36231714, + 0x71761727, 0x16172106, 0x2405b255, 0x3f34013d, 0x202b8601, 0x21139223, 0x36832327, 0x6f827387, 0x224c142c, 0x33060803, 0x1d060616, 0x03821606, + 0x3316062f, 0x22030806, 0x04010185, 0x0417041c, 0x08038234, 0x01031c34, 0x0d940c19, 0x091e2f01, 0x0178090c, 0x0104cc04, 0x04ae040e, 0xe40603f6, + 0x06160306, 0x1a1706b2, 0x1a117e11, 0x06900606, 0x0a065fee, 0x0617061e, 0x0282061c, 0x1e06172d, 0x5b5f060a, 0x04460201, 0x851f1f04, 0x46240803, + 0x3e110102, 0x233d3534, 0x09061e1e, 0x02017b09, 0x23040423, 0x0f0b0102, 0x020f0404, 0x06062a03, 0x0e02032a, 0xc3273d83, 0x67333367, 0x82061406, + 0x05cf4302, 0x0140012b, 0x002600c0, 0x13000032, 0x33e1822e, 0x32013b36, 0x06141516, 0x07171607, 0x011f1406, 0x013f3216, 0x15220f84, 0x1f833523, + 0x013e4108, 0x21231413, 0x34013d22, 0x15322133, 0x170f0c7b, 0x18103011, 0x20240c0f, 0x0e020278, 0x71020502, 0xb81d1d1d, 0x35211d1d, 0xd8fe0ce0, + 0x28010c0c, 0x0472010c, 0x17110d15, 0x150d1117, 0x78391904, 0x0e3b2382, 0x3f710202, 0x08282633, 0x28083a3a, 0x4d5c2626, 0x0c0c6dfe, 0x000c0c18, + 0x44200000, 0x234c0863, 0x000f2a05, 0x00170013, 0x001f001b, 0xc17f1823, 0x3b2d080a, 0x43003f00, 0x4b004700, 0x53004f00, 0x5b005700, 0x63005f00, + 0x6b006700, 0x73006f00, 0x7b007700, 0x00007f00, 0x23153337, 0x33352321, 0x20078225, 0x20078225, 0x24038211, 0x15333525, 0x20038201, 0x20038233, + 0x20d28213, 0x20038223, 0x200b8213, 0x20238201, 0x20038215, 0x840f8601, 0x200f8233, 0x83338203, 0x8225201f, 0x86212017, 0x82052033, 0x201f830b, + 0x201f8203, 0x20038227, 0x20038237, 0x24138227, 0x33352337, 0x24038207, 0x15333517, 0x2b038207, 0x014040c0, 0xfe404040, 0x02404000, 0x40250382, + 0x4000ff40, 0x211482fe, 0x0184c040, 0x40220a84, 0x0c820001, 0x8280fe21, 0x2122842a, 0x22838040, 0x07873683, 0x40203083, 0x49821682, 0x28820a82, + 0x32820282, 0x5a820e82, 0x1883c020, 0x3984ff20, 0x6c836285, 0x5f830120, 0x26820120, 0x06820c83, 0x23836383, 0x0b830a83, 0x11824c85, 0x5785498a, + 0x00000033, 0xfffbff02, 0x01c201c0, 0x000b00c0, 0x0500002e, 0x09ed4115, 0x1e320326, 0x21010f01, 0x3c1b5d43, 0xfe0ca001, 0x010c0c98, 0x0d080c68, + 0x56040716, 0x0756f0fe, 0x32a01518, 0x06320606, 0x31038224, 0x181c3206, 0x0c180c0c, 0x18103801, 0x13f3f30d, 0x16863022, 0x30210682, 0x054f4800, + 0xa001803a, 0x31002500, 0x00003900, 0x35211525, 0x013f3634, 0x013d013e, 0x010f0607, 0x23350283, 0x26012f22, 0x3f34013d, 0x35262701, 0x32013b34, + 0x1d321316, 0x20a58701, 0x06c36a12, 0xfe60013f, 0x391418c0, 0x0a16100b, 0x06010c03, 0x0203021d, 0x07073c03, 0x0c020e09, 0x14705094, 0x08a6840c, + 0x0c103027, 0xe00c100c, 0x27162fe0, 0x19051d0a, 0x050b320d, 0x02062f0b, 0x1b01010c, 0x0a9e0803, 0x041c0907, 0xfe700c04, 0x82b082c0, 0x50012102, + 0x0c232c82, 0x5a000010, 0x302c067f, 0x23008001, 0x00002f00, 0x043e2321, 0x2107f943, 0x4e4d012e, 0x07062106, 0x23067144, 0x011f1614, 0x0139a08a, + 0x0902d008, 0x200d1014, 0x16280c0c, 0x3146311a, 0x0c28161a, 0x0f1e200c, 0x2893822b, 0x020c0cf8, 0x40251d07, 0x296e8225, 0x2319290a, 0x19233131, + 0x0c820a29, 0x0f583b23, 0x2085851e, 0x31008200, 0xff060003, 0x01fa01c0, 0x000b00c0, 0x00400013, 0x90430500, 0x011d2307, 0xad520214, 0x17052b06, + 0x07141516, 0x26032103, 0x045d3435, 0x013e2c06, 0x023e3437, 0x1732013b, 0x43373216, 0x945905e8, 0xb4012105, 0x0806b541, 0x212fd82f, 0x01202f21, + 0x01062804, 0x69e0fe69, 0x0a280601, 0x0e161606, 0x0201030e, 0x29030403, 0x440e0308, 0x2908030e, 0x0b010705, 0x06151714, 0x3b938540, 0x2e210002, + 0x7a2e2121, 0x02070414, 0x01fffe03, 0x07020301, 0x0a061404, 0x16140f26, 0x022a3682, 0x08292908, 0x19200507, 0x48180a26, 0xa02b09df, 0x2d002500, + 0x00003900, 0x5a262737, 0x1d21059f, 0x78bf1801, 0x083f600a, 0x010f1427, 0x36211716, 0x078f4537, 0x2b0a8f42, 0x0c042d51, 0x07300c28, 0x07054805, + 0x28300582, 0x2d040705, 0xe0fe2001, 0x13405020, 0x0ce0131a, 0xe92cd386, 0x7805042a, 0x2c2c0c0c, 0x05070705, 0x782f0585, 0x7b2a0405, 0x40526e6e, + 0x13130d40, 0x820c18e9, 0x820020c6, 0x51032000, 0x1724082f, 0x53002f00, 0x0ce78718, 0x220a2962, 0x4d053336, 0x1522058f, 0x064e0614, 0x055f5b07, + 0xc77d2720, 0x82222007, 0x902320d3, 0x30df831e, 0x0e0a6833, 0x0a300a0e, 0x0808180e, 0x020a0e18, 0x82068440, 0x2014840f, 0x201c8698, 0x840d8480, + 0x250a8204, 0x0a0e6001, 0x1a83f0fe, 0x30086823, 0x20408208, 0x23068580, 0x10010a0e, 0xc0201584, 0x70201f82, 0xa8210983, 0x7f0583a8, 0x0b8305cf, + 0x8b470020, 0x0621080a, 0x15000d00, 0x00005100, 0x27171601, 0x01161716, 0x26172726, 0x3e272627, 0x0e173701, 0x07130701, 0x05305527, 0x06260790, + 0x3f16011f, 0x03821701, 0x822f3621, 0x82078e2b, 0x01262a13, 0x9d010de2, 0xfe1e3336, 0x24078534, 0x67981112, 0x330382d8, 0x061c1d66, 0x05050c05, + 0x061c171d, 0x06060b06, 0x051d161c, 0x0e840784, 0x1d9c0520, 0x34840129, 0x0e019d35, 0x855bfe08, 0x6fc62407, 0x82d90f91, 0x54012203, 0x253d841c, + 0x1d171c06, 0x54830505, 0x0c230783, 0x8d1c0605, 0x8a16205b, 0x201d8825, 0x06af5f00, 0xc001a036, 0x23001500, 0x38002d00, 0x00004200, 0x06143337, + 0x0622012b, 0x2008eb47, 0x260d8226, 0x0e142526, 0x43230702, 0x072a06d1, 0x34353632, 0x27061627, 0x06821716, 0x27010e27, 0x36323316, 0x82118537, + 0xe0602909, 0x0d100d13, 0x0c280c13, 0x013e0784, 0x241a0e40, 0x352ddc16, 0xb47aac7a, 0x0716130e, 0x4808141d, 0x170b0516, 0x0e17080d, 0x0f844013, + 0x20280882, 0x0d13130d, 0x140c0c14, 0xdd3e0782, 0x262c351b, 0x375d1c0e, 0x827a7a56, 0x08170e13, 0x16071d14, 0x0d08172f, 0x16040a17, 0x0f854d14, + 0x02001423, 0x2b008200, 0x80010002, 0x12000700, 0x013c0000, 0x2d055d69, 0x36011e27, 0x06141537, 0x96352622, 0x028296d4, 0xc9c93723, 0x3b068237, + 0x383850f8, 0x280e3850, 0x6e281e1e, 0x28383828, 0x00000300, 0x8702bdff, 0x1700c701, 0x3532ff82, 0x17250000, 0x07030e14, 0x012f010e, 0x36013f36, + 0x47820f26, 0x33013e23, 0x05454405, 0x3e343526, 0x0f161302, 0x08053464, 0x3e372771, 0x37011f01, 0x00011736, 0x0f0d0357, 0x851b101d, 0x07043536, + 0x0406035f, 0x1b1d193c, 0x09011c51, 0x432e2e22, 0x1d160c2e, 0xe80c0a9e, 0x06040322, 0x0319563b, 0xe822040c, 0x6de70a0d, 0x24280f04, 0x11150d2a, + 0x20170202, 0x01070470, 0x16174a16, 0x422f8814, 0x11212f2f, 0x010c161d, 0xb10a0d41, 0x010c052b, 0x05376d0c, 0xb22b0401, 0x82000c09, 0x48012000, + 0x00300a0f, 0x21112105, 0x00fe0002, 0x02400002, 0x03000000, 0x2606f362, 0x000a00c0, 0x8227001f, 0x06262fcb, 0x36372707, 0x011e1732, 0x14150607, + 0x0e572617, 0x012e230b, 0xd5850437, 0x01342908, 0x227130f0, 0xb23f38d4, 0xf2182f3f, 0x1d290b06, 0x11065924, 0x07063506, 0x091d2367, 0x503e0115, + 0x38503838, 0x2f142098, 0x3f2c2382, 0x1689812f, 0x051a1d12, 0x0767241c, 0x11272382, 0x1d235906, 0x82a42251, 0x50382c21, 0xff060000, 0x01c7fffd, + 0x82bd01f8, 0x00123683, 0x0028001c, 0x00400032, 0x010e3700, 0x27012e07, 0x1637013e, 0x260a8227, 0x16373626, 0x82272617, 0x83362011, 0x1716279b, + 0x07063736, 0x1f822606, 0x82160721, 0x238b082a, 0x36272622, 0x15021e13, 0x0615011c, 0x36233023, 0x562de726, 0x09210f0f, 0x15446011, 0x195f3e24, + 0x2345470f, 0x013037d2, 0x33302537, 0x4c843434, 0x0c282953, 0x3e92461e, 0x764f2f0e, 0x265d1d8b, 0x0a194b1d, 0x2a4b30ca, 0x06012d2c, 0x701dcd27, + 0x132f0f34, 0x32207247, 0x3f631e4f, 0x1f269051, 0x361b06cd, 0x060e2782, 0x28558b32, 0x310a0101, 0x2b1a1529, 0x52572a12, 0x15221914, 0x8e012f0f, + 0x355f4411, 0x0e010401, 0x82008345, 0x82082000, 0x01bf34d3, 0x00c001c0, 0x0042003a, 0x0052004a, 0x0062005a, 0x8272006a, 0x1632241b, 0x1814011d, + 0x220efa49, 0x84363435, 0x013b2216, 0x05bb5332, 0x0b912282, 0x4c0f854f, 0x704f080a, 0x8f0f8706, 0x93013817, 0x1b05131a, 0xc6101b03, 0x0a7d0f18, + 0x09211b05, 0x131a1318, 0x8b081008, 0x0ed72205, 0x05236309, 0x49200582, 0x2d6b0b90, 0x3a058505, 0x0d135001, 0x711416b0, 0xac141510, 0x0513210e, + 0x0df1210d, 0x980d1313, 0x83b80808, 0x08b82307, 0x0f869808, 0xfe0d4823, 0x205484e3, 0x20058457, 0x200b8a89, 0x200b8429, 0x20058449, 0x20058477, + 0x20008200, 0x08038207, 0x8002202c, 0x09006001, 0x17001300, 0x27001f00, 0x37002f00, 0x34110000, 0x11013b36, 0x35262223, 0x1d163201, 0x2b061401, + 0x11011101, 0x195c1121, 0x07397207, 0x1a330f90, 0x261a6060, 0x261a4002, 0xfe601a26, 0x460001e0, 0x870e0e14, 0x8a6e2002, 0x2001320b, 0xc0fe261a, + 0x00011a26, 0x1ac01a26, 0xfe400126, 0x200383c0, 0x202c84e8, 0x20058452, 0x820b8a6e, 0x430320a7, 0x093b0857, 0x1c001200, 0x30010000, 0x33352317, + 0x17011e32, 0x36231527, 0x013e3731, 0x50210733, 0x35320660, 0xef01fe01, 0x0e120b8d, 0x01efdb03, 0x10190533, 0x82750263, 0x07013406, 0x0f08c007, + 0x07c0210a, 0xe0120f98, 0x1c1c14f0, 0x85000014, 0x0140285b, 0x001400c0, 0x6c3e0029, 0xfc550a97, 0x37152407, 0x8b253517, 0x4133200c, 0x23200517, + 0x56064b50, 0x362206fd, 0x2983013b, 0x64300221, 0x502408cc, 0xd0fe2020, 0x08820d83, 0x44185020, 0xe020089d, 0xa0211186, 0x84211909, 0x15152309, + 0x0e844060, 0x09826020, 0x0e850884, 0xa7871388, 0xa0010028, 0x1d001900, 0x79503900, 0x4d3b2010, 0x1d27070f, 0x33152701, 0x18351735, 0x5019f249, + 0x502c0b87, 0x14a0141c, 0x2080c01c, 0x30083808, 0x06860382, 0x1c400123, 0x09f46a14, 0x1c143029, 0x2030141c, 0x8af82020, 0x38082122, 0x2b06934d, + 0x00c00180, 0x0013000a, 0x011e1300, 0x0805d545, 0x1236342b, 0x34353632, 0x14150627, 0x6b6b55c0, 0x2c6a6baa, 0x60603654, 0xa54dc001, 0x76765e3a, + 0xfea53a5e, 0x382a358d, 0x2a386969, 0x05c74800, 0xd7824720, 0x25001d2a, 0x00002f00, 0x07061625, 0x20057955, 0x294d8427, 0x3634013d, 0x17163233, + 0x06823736, 0x44181720, 0x053f07c9, 0x23262737, 0x010e0722, 0x1b2b0217, 0x241d2710, 0x0783223c, 0x425c4206, 0x402d2e42, 0x831d0d02, 0xf8fe3a10, + 0x011c281c, 0x0f415223, 0x120c101b, 0x27940c07, 0x31151b5d, 0x950f0abb, 0x2a26822e, 0x3e422ee0, 0x1514212c, 0x83708f31, 0x2d7028de, 0x09165d3a, + 0x5511290c, 0x15240c7b, 0x2d001d00, 0x24126b41, 0x16323634, 0x07014315, 0xf1511720, 0x3716210c, 0x2c0b7d55, 0x26342650, 0x0e0e1436, 0x09610e14, + 0x3f491809, 0x8001210c, 0x2008b95c, 0x05395f60, 0x25821820, 0xda140e26, 0x081d0809, 0x0a3a4918, 0x08258f82, 0xc0ff0000, 0x07bb5f01, 0x91822520, + 0x41003526, 0x59004d00, 0xbe449997, 0x074c540f, 0x714c3620, 0x18132006, 0x210a5aa2, 0x6575013d, 0x20c58f15, 0x0ac243aa, 0x0e21a884, 0x20118482, + 0x115a7568, 0xfe21da91, 0x0ad14398, 0x2005e343, 0x271184b2, 0x08109efe, 0x68081008, 0x0022058a, 0xef830700, 0xef830220, 0x0f00072c, 0x3b003300, + 0x4b004300, 0xc5535b00, 0xd7681809, 0x27052f07, 0x36373626, 0x35361637, 0x17323336, 0x0a821606, 0x011e1730, 0x010e010f, 0x15272627, 0x07063523, + 0x34652606, 0xc75f1807, 0x34262509, 0x14163236, 0x43085b5d, 0x310805da, 0x0ef70133, 0x090e0909, 0x3434489c, 0xa4fe3448, 0x0c050712, 0x3718120b, + 0x453c4a56, 0x0e2f2005, 0x040d171c, 0x1a071207, 0xe037320a, 0x1a0a3138, 0xfd843701, 0x2005d844, 0x273a84b1, 0x0907f001, 0xa0fd0709, 0xc0200583, + 0x09224a82, 0x4a82470e, 0x48342308, 0x1c091bf0, 0x140a0608, 0x16201f19, 0x16032319, 0x1c080e0d, 0x050b1b09, 0x5b131e06, 0x061e135b, 0xf4441f05, + 0x8406200a, 0x68c92038, 0x003b09f4, 0xff040000, 0x01bfffff, 0x00c101c1, 0x0041003c, 0x004d0047, 0x033e1500, 0x82032e37, 0x013b27fe, 0x17161732, + 0x234d3621, 0x0e073805, 0x07060704, 0x36272633, 0x17021e37, 0x012b0616, 0x27262722, 0x83070621, 0x26250809, 0x23373613, 0x16213716, 0x03363317, + 0x23272621, 0x200e0306, 0x422d2d42, 0x01030e20, 0x0e20070a, 0x01020202, 0x34048238, 0x0a07200e, 0x1e0a0201, 0x2c314d2a, 0x040d7f22, 0x392a1b20, + 0x25228411, 0x0301010f, 0x2286c8fe, 0x24e13708, 0xa71c801c, 0x0c09fafe, 0x01fd0cdc, 0xdb0d0805, 0x2f152e0c, 0x1d1d4944, 0x152f4449, 0x080e0b07, + 0x0e080a0a, 0x2812070b, 0x1940393f, 0x020c1d16, 0x5a241311, 0x19821a38, 0x090c0630, 0x010b0e09, 0x18181419, 0x10101068, 0x0482d0fe, 0x00002708, + 0xff000003, 0x014202b9, 0x001500c0, 0x003d0035, 0x26272500, 0x013f013e, 0x37273717, 0x1f021e36, 0x0f061601, 0xd6822601, 0x0e010f29, 0x012e2701, + 0x18372627, 0x260a906f, 0x17161317, 0x18163637, 0x3708488e, 0x01352601, 0x3e040601, 0x3d213d21, 0x04060603, 0x06023c01, 0xfe17a106, 0x4f080582, + 0x2d4401d5, 0x08052b1d, 0x07595c2c, 0x70070909, 0x2d640717, 0x0c06d61c, 0x28b7fe02, 0x1c281c1c, 0x0804a0aa, 0x63140107, 0x01156314, 0x03050201, + 0x020c07b5, 0x07291135, 0x2c47030b, 0x2c050838, 0x0123371e, 0x20070915, 0xfe160907, 0x472401d6, 0xa8205282, 0x1c223682, 0x13450028, 0x80022105, + 0x142ac382, 0x00004200, 0x35262237, 0x1b463411, 0x4d332006, 0x23210572, 0x05404617, 0x18012b21, 0x2107ec42, 0x09892337, 0x23203083, 0x21059342, + 0x3083013b, 0xa283d020, 0x30309023, 0x82078390, 0x07092372, 0x6c820353, 0x84c60321, 0x07532305, 0xa3793009, 0x09802906, 0x07000107, 0x20208009, + 0xff200982, 0x40200982, 0x0927a284, 0x1c1c1407, 0x89080814, 0x70012107, 0xfe231886, 0x44030090, 0x0834085b, 0x36001a00, 0x16010000, 0x3523011d, + 0x07173233, 0x013b1614, 0x220a3e71, 0x4613013b, 0x35231953, 0x18077901, 0x2010768b, 0x0e544640, 0x0a075722, 0x106c8b18, 0x7446d820, 0x41098209, + 0x0127063f, 0x00c001c0, 0x8238002f, 0x33848a8d, 0x1733013d, 0x013f3216, 0x36323317, 0x012b2634, 0x0f222627, 0x2b200482, 0x2506346a, 0x3b363435, + 0xbd871701, 0x0e200122, 0x07008c18, 0x0223462b, 0x1639020a, 0x0909075a, 0x2a0b8507, 0x8d050214, 0x0e380808, 0x8499c80a, 0x380132b5, 0xb8fe0e0a, + 0x0a0e0e0a, 0x040446a8, 0x0e092c72, 0x28078309, 0x10080428, 0x0e0ae808, 0x20b78469, 0x0aef6800, 0x0d000926, 0x33002900, 0x260b2d49, 0x11211117, + 0x63141525, 0xc7630618, 0x06266406, 0x23011d24, 0xfc412522, 0x012b2d05, 0x30141c11, 0x801c1430, 0x00ff4001, 0x220e2041, 0x821c1450, 0x7001251c, + 0x40fe1c14, 0xc0220883, 0x724740fe, 0x46c0200d, 0x01290533, 0x000800c0, 0x02c0ff00, 0x2e098240, 0x00250019, 0x003d0031, 0x00650049, 0x467d0071, + 0xa0501213, 0x45012008, 0x172016f7, 0x37201796, 0x461a4548, 0x02331743, 0x09130d20, 0x07e0fd07, 0x800d1309, 0x0dc00d13, 0x6c00ff13, 0x0585059a, + 0x0c8ba020, 0x1a061024, 0x03821406, 0x90200686, 0x01371b8b, 0xfe0d1360, 0x09090790, 0x0d700107, 0x130d4013, 0xfe400d13, 0x820c28ac, 0x7f011923, + 0x8ab62011, 0x1a062345, 0x268adcfe, 0x2a065342, 0xc0010002, 0x23000700, 0x4d120000, 0x05200659, 0x2320f586, 0x3325fd8c, 0x013b1415, 0x05984e32, + 0x08700125, 0x82600830, 0x21068603, 0x1784c001, 0x08f0e227, 0x08585808, 0x42068508, 0x8b410517, 0x00132605, 0x002e001b, 0x12834138, 0x35331522, + 0x7c08737d, 0x07250dad, 0x13331606, 0x20848215, 0x28778236, 0x14100216, 0xfe141c1c, 0x28058320, 0x3446c090, 0x26342626, 0x0da07c1d, 0x0a02042a, + 0x13809d08, 0x130d400d, 0x220d6947, 0x82a06060, 0x3426242d, 0x7c070dba, 0x0d2b0596, 0xa0010d07, 0x130d6060, 0x48040013, 0x39220c43, 0xa3924500, + 0x200cd548, 0x1afb4113, 0x480b3348, 0xed480f27, 0x42482005, 0x08220dd9, 0x028208b0, 0x1a23ad8d, 0x481a2626, 0xfe2105f2, 0x0c574ade, 0x0810c827, + 0x00081008, 0x45b38500, 0x3827064b, 0x40003c00, 0x4b370000, 0x17221388, 0x934b1523, 0x61212007, 0x434508b2, 0x05655c06, 0x05061426, 0x21152335, + 0x90280382, 0x07090907, 0x70404070, 0x80220783, 0xb2473030, 0x210b8509, 0x11826002, 0xa0a9fe2a, 0xc0a08001, 0x07e00709, 0x83064e45, 0x074e4508, + 0x09072022, 0x40200a8b, 0xab850082, 0x4402dc2f, 0x0b00a001, 0x1d001300, 0x00002700, 0x05e64512, 0x17329184, 0x22263435, 0x37011d06, 0x06071617, + 0x3e37022e, 0x8a6c1e01, 0x36372405, 0x82425c42, 0x1ca03c02, 0xd2ec1c28, 0x762f0707, 0x06220854, 0x230953c3, 0x06d30705, 0xa0012f07, 0x4ae02e42, + 0x9e2005af, 0x2b05a84a, 0x0507d31e, 0x76530923, 0x5437072f, 0x07240482, 0x220607d2, 0x2c06e342, 0xc0018001, 0x31002100, 0x35130000, 0x06ba4521, + 0x27098944, 0x013d3233, 0x35012b34, 0x23210784, 0x639d8537, 0x332d07a7, 0x13400120, 0x0d00ff0d, 0x08087813, 0x20038678, 0x245e18d0, 0x00012c09, + 0x0da0fe40, 0x400d1313, 0x87081008, 0x0ec02103, 0x09c4fa18, 0x260c374b, 0x0019000f, 0x4e000035, 0x63880641, 0x6b721320, 0x45372008, 0x01211a29, + 0x20768968, 0x46958708, 0x7a8a0f4b, 0x0120fe23, 0x209b8460, 0x0c4642c5, 0x2a054f48, 0x018002c0, 0x002300c1, 0x4d47003f, 0x67180edb, 0x27211679, + 0x05e25522, 0x37011f2c, 0x011f3236, 0x14163233, 0x9f742b06, 0x22022106, 0x21053b4a, 0x67181002, 0xc0351297, 0x08880709, 0x02058d08, 0x14043214, + 0x07661c04, 0x7a070909, 0x290b8416, 0x2626344c, 0x42e02634, 0x6718a02e, 0xf0310faf, 0x80090790, 0x04081008, 0x09096328, 0x090e0937, 0x2107832c, + 0x2e8200ff, 0x00342622, 0x7c0c0343, 0x5e2005dd, 0x1425c58a, 0x35262206, 0x41058323, 0xbc8608e4, 0x4b71c282, 0x210b8208, 0x17852123, 0x2008755f, + 0x2ad98233, 0x04011d16, 0x26343632, 0x87140622, 0x35372607, 0x02152327, 0x23a48470, 0x80385038, 0x98260382, 0x08d00808, 0x0587f008, 0x0982fe20, + 0x141c3825, 0x18140001, 0x832446e3, 0x8bdd82da, 0x14302802, 0x30141c1c, 0x180e640e, 0x211456e3, 0xfb4b0600, 0x000b2a08, 0x00330023, 0x004e0037, + 0x0c55645a, 0x1e033326, 0x14011d01, 0x2620df85, 0x21099157, 0xd1420314, 0x3505240e, 0x8a011523, 0x202a8a2b, 0x09a46417, 0x7802332a, 0x08300808, + 0x2e291f08, 0x24220682, 0x05821d1f, 0x09077024, 0x91700709, 0x60012605, 0x1a0801b0, 0x2114821e, 0x04823c24, 0x2b845820, 0xf34c6020, 0x01260805, + 0x31571b09, 0x1e08081e, 0x13144226, 0x08083e25, 0xf1fe0b3e, 0x07800709, 0x40141c09, 0x40701c14, 0x12420140, 0x21832139, 0x2a192c24, 0x20824241, + 0x85ee2c21, 0x0200353a, 0xbcfffcff, 0xc4010402, 0x3e001f00, 0x37130000, 0x2f060717, 0x23051244, 0x2627013f, 0x210ec356, 0xf87c3727, 0x17072105, + 0x03200784, 0x36231f82, 0x8337021f, 0x17363b27, 0xb68840ca, 0x4240261b, 0x050c0506, 0x04074305, 0x05381a1b, 0x06060b06, 0x07852d37, 0x8205fd21, + 0x1c062b18, 0x0606492d, 0x11050622, 0x07851188, 0x1c2d3923, 0x29268206, 0x41110105, 0x051cb588, 0x26844307, 0x26404225, 0x83381b1b, 0x37062218, + 0x2107842e, 0x4d849505, 0x4a2d1c23, 0x203f8205, 0x253f8306, 0x06062205, 0x3f823811, 0x05295882, 0xff040000, 0x02c0ffff, 0x08cb8284, 0x1a000b23, + 0x2e002400, 0x32120000, 0x06161716, 0x26222123, 0x32053635, 0x010e1516, 0x022e2223, 0x33363427, 0x08f84400, 0x0733cc82, 0x37022e06, 0x5b786436, + 0x03060109, 0x0503d0fe, 0x822f0109, 0x3c5b3404, 0x1c2a371e, 0x02030505, 0x2309541f, 0x07d30705, 0x83462f07, 0x83762004, 0x0001290e, 0x06033a4d, + 0x633a0306, 0x4d2c0382, 0x1d312415, 0x6b010603, 0x072f7654, 0x05212882, 0x22288223, 0x83092305, 0x8200200e, 0x84012000, 0x0101359b, 0x002800c3, + 0x14160100, 0x0723010f, 0x34262206, 0x3735013f, 0x35172658, 0xdd01013e, 0x64fe1c23, 0x0e140759, 0x322d5907, 0x060b0606, 0x078a3206, 0x3333f683, + 0x014d1b2e, 0x1c5221ac, 0x0e0759fd, 0x65590714, 0x8205332e, 0x32062117, 0x1c210790, 0x2d878206, 0xfffdff02, 0x01e401cf, 0x001500b4, 0x89820019, + 0x06010f2a, 0x0607012f, 0x26272223, 0x27099e7a, 0x01072737, 0x220505de, 0xf6297182, 0x1f2f2b1e, 0xf21e061b, 0x260f840b, 0x944f4608, 0x86060601, + 0x2024241a, 0x82f11e52, 0x05222694, 0x4f45ee05, 0x205f8294, 0x08374305, 0x1700132b, 0x3b002700, 0x00003f00, 0x05f64313, 0x5105ec42, 0x3322064d, + 0xd9533315, 0x08974507, 0x9006414b, 0x08482d27, 0x0808d008, 0x2f422f18, 0xa0014030, 0x21092a47, 0x188b5801, 0x30088023, 0x29028208, 0x2f2f21f0, + 0x6060f021, 0xbc4e80fe, 0x8e012009, 0x0bd3471b, 0xa7820b20, 0x41002322, 0x4406db43, 0x332105a2, 0x0a7e5c05, 0x0b862520, 0x34373527, 0x15162533, + 0x07f24311, 0xfd582a82, 0x11353106, 0x36253734, 0xf8011732, 0x90fe0808, 0x70010808, 0x012d078c, 0x1ed90108, 0x13085008, 0x0e82fe0e, 0x24088213, + 0x0810011e, 0x0bd04914, 0xc020b682, 0x8b2bbd85, 0xa9fe200c, 0x0df80808, 0x820d1313, 0x5701264d, 0x04710c20, 0x07434604, 0xc0010028, 0x21001900, + 0x35493200, 0x15062812, 0x36321614, 0x46273435, 0x2721071d, 0x2d128822, 0x012e3637, 0xc0010706, 0x1a26261a, 0x058380fe, 0x711a1a3a, 0x641a719e, + 0x845e5e84, 0x1711a05e, 0x0b172217, 0x0c050222, 0x8001030c, 0x28842282, 0x1a40012d, 0x4f332d26, 0x334f7171, 0x8200ff2d, 0x845e2427, 0x8210183a, + 0x0f11282b, 0x0c064f0c, 0x41060505, 0x072a0cef, 0x1f000f00, 0x7d003300, 0x5f590000, 0x34262305, 0xa7462216, 0x865a1805, 0x3d262509, 0x33363401, + 0x260e8f47, 0x2111013b, 0x48352711, 0xad4c0813, 0x14ce6a0a, 0x52231521, 0x3d22053f, 0xf3843301, 0x48263421, 0x0784074d, 0x090ee926, 0xb7090e09, + 0xd0200584, 0x21092c42, 0x0b896002, 0x0002302b, 0x68880860, 0x08680808, 0x23038210, 0x08886808, 0x40260e85, 0x281c1c14, 0x0382401c, 0x40141c22, + 0x88221f83, 0x4c824008, 0x170e0922, 0x01210584, 0x09534297, 0x7c49fe20, 0x6001270a, 0x10c8a0fe, 0x4d822008, 0x08081823, 0x0a106b18, 0x4a842020, + 0x84101021, 0x081f8357, 0x00002026, 0xfffeff03, 0x018202de, 0x001700a2, 0x002d0022, 0x3f322500, 0x06141501, 0x2f06010f, 0x3d012e01, 0x33161701, + 0x17231182, 0x85163716, 0x36372713, 0x1f362117, 0x1e840701, 0x01375a08, 0x890607aa, 0x0fd90a0e, 0x0e0ad810, 0x1c070689, 0x0e40400e, 0x080604f0, + 0x5c060cc6, 0xfd050cfa, 0xfa0c05ea, 0xc60c065c, 0xc0040608, 0x0bb22702, 0x04360311, 0x11033604, 0x0227b20b, 0x176b6b17, 0x020e0770, 0x980b0438, + 0x0a0a0120, 0x0b982001, 0x0e023804, 0x00000007, 0x66978204, 0x14270553, 0x24001c00, 0x4c002c00, 0x232e05a3, 0x23062722, 0x26272622, 0x2637023e, + 0x74583435, 0x230f870f, 0x9696d496, 0x0d8d0d19, 0x131a7326, 0x93131a13, 0x0124058a, 0x7aac7aa0, 0x0b9f0d19, 0x20827620, 0x0020028d, 0x200a036b, + 0x2485820f, 0x37343700, 0x847f8205, 0x36372483, 0x6b052637, 0x1f210a05, 0x069e7801, 0x01094031, 0x38282645, 0x054c4133, 0x0b2c0304, 0x6b3a0239, + 0x69320c00, 0x966a6049, 0x1c1ad039, 0x33130afc, 0x2b34040a, 0xf96a9039, 0x3552260c, 0x3a48567a, 0x207b8200, 0x28008200, 0x80018002, 0x39001100, + 0x227b8200, 0x68012b26, 0x152b0523, 0x1d062223, 0x32252101, 0x18141516, 0x4e142944, 0x212008de, 0x333b0982, 0x201a26a0, 0x40012838, 0x1a203828, + 0x01c0fe26, 0x20261aa0, 0x07400709, 0x8480fe09, 0x82202006, 0x130d271f, 0x0d138001, 0xb8821ae0, 0x26283830, 0x2660401a, 0x7913241a, 0x07090907, + 0x05831010, 0x2413792b, 0x0d13261a, 0x130d6060, 0x0c7f5800, 0x46000724, 0x87546800, 0x0e272709, 0x16141501, 0x9982011f, 0x012b062b, 0x010f2622, + 0x16171406, 0x70138217, 0x3e250594, 0x26343501, 0x07d4792f, 0x013f1627, 0x26272636, 0x82138227, 0x433a822c, 0x3b2a0e9e, 0x23171601, 0x14011d22, + 0xa94b2133, 0x37363f05, 0x7aac5601, 0xe67aac7a, 0x13182219, 0x070a0c3f, 0x06100a26, 0x13050410, 0x0b070918, 0x15820a07, 0x0c3e1425, 0x8427060a, + 0x04013015, 0x060a1813, 0x0408040c, 0x13130df6, 0x8340fe0d, 0x1e202d05, 0x0a0a3f2b, 0x0a0a6c01, 0x201e2c40, 0x7a2e4a82, 0x2401c5ac, 0x0621151a, + 0x080e0313, 0x4d820a0a, 0x0e030a29, 0x0a071101, 0x9510070a, 0x08042718, 0x13f1fe05, 0x4e83600d, 0x27210482, 0x05cd4919, 0x0027193f, 0xfffeff03, + 0x010002bf, 0x000900c3, 0x00310029, 0x27260100, 0x16363736, 0x37171617, 0x05aa4133, 0x23060722, 0x3621f282, 0x2219823f, 0x5c343526, 0x172305ee, + 0x42363435, 0x510807bb, 0x354e2001, 0x13072011, 0x702c0a02, 0x425e2070, 0x0c0a414d, 0x06052e6b, 0x11169008, 0x15041a55, 0x4e7d1e04, 0x090e1a2f, + 0x01090e09, 0x313b1019, 0x0a060825, 0x404b3845, 0x385e42a0, 0x07480408, 0x10240210, 0x3d685111, 0x450a0937, 0x213c0558, 0x2982602f, 0x820e0921, + 0x00002e8a, 0x4102c0ff, 0x25008000, 0x16250000, 0xb45f1806, 0x072c550c, 0x2b012708, 0x14062201, 0x32013b16, 0x3236013f, 0x010c3502, 0x1612970c, + 0x09079bfe, 0x2f370709, 0x0fa02a20, 0x14020213, 0x0f834e0c, 0x11177636, 0x7818095d, 0x79091e0a, 0x6007090e, 0x1a260907, 0x0f0c0e17, 0x0e236e82, + 0x5300084a, 0x412606f7, 0x1200c301, 0x71823800, 0x3626272d, 0x1f163637, 0x013e3701, 0x82011e17, 0x0522217d, 0x013584a4, 0x03176d13, 0x153d171a, + 0x3c160b0b, 0x18031b17, 0x010e066d, 0x3298a11c, 0x481872c6, 0x16051416, 0x05160c0c, 0x18481614, 0x97480672, 0x2bab86aa, 0x00c00121, 0x0065003e, + 0x012e0100, 0x4643ad83, 0x85162008, 0x26272db0, 0x1522012b, 0x1e011f14, 0x06161702, 0x22097943, 0x63262726, 0x3b2505a4, 0x34353201, 0x411b8227, + 0x0220145b, 0x3e0c5b41, 0x18110201, 0x171d0302, 0x07100709, 0x040e1209, 0x06110401, 0x20060508, 0x0b320609, 0x89010c13, 0x84052019, 0x21053d18, + 0x0ae20609, 0x118f0a01, 0x06affe15, 0x35060909, 0x97271f2b, 0x0103130e, 0x4a070e09, 0x70371083, 0x09581015, 0x05300116, 0x25181119, 0x09071202, + 0x02120709, 0x820c0309, 0x0204293e, 0x0f010708, 0x0b130e03, 0xa9201994, 0x220d1741, 0x41070c08, 0x802b0dc3, 0x22008001, 0x00004500, 0x5c161737, + 0x222505ff, 0x012f2627, 0x072e5e26, 0x32161725, 0x8236013f, 0x013e2410, 0x83322416, 0x010f2122, 0x82066057, 0x013f2522, 0x011e013e, 0x8205cd77, + 0x352f0827, 0x1a39cd34, 0x0c840709, 0x69070303, 0x131a130a, 0x050e045a, 0x26080a0d, 0x1a160308, 0x131a8e01, 0x0307690a, 0x07840c03, 0x08391a09, + 0x8203161a, 0x0a2a0818, 0x040e050d, 0x224dda5a, 0x0907702b, 0x87090c0c, 0x0dda110d, 0x940d1313, 0x0d05066c, 0x0b330b09, 0x9c04101a, 0x11da0d13, + 0x1e83870d, 0x2b700728, 0x040a4d22, 0x19821a10, 0x050d0927, 0x0d946c06, 0x2d008200, 0xfffdff02, 0x018302bd, 0x002500c3, 0x894f0040, 0x012b2607, + 0x2b061415, 0x21038301, 0xd4830607, 0x013f3625, 0x823f3435, 0x32162815, 0x25013d36, 0x820f0616, 0x8426200f, 0x66222026, 0x362605b9, 0x3637013b, + 0x64761716, 0x13083605, 0x1a26100d, 0x1a0b6789, 0x07065007, 0x411f500b, 0x012a3c2a, 0x2a0a832c, 0x17b81721, 0x210f1722, 0x83671210, 0x00012c1e, + 0x0a300a0e, 0x130d400e, 0x823c261a, 0x0b8b2f1f, 0x302e061a, 0x7a271324, 0x1e2a2a1e, 0x0e832538, 0x21171c2c, 0x17171158, 0x09127e11, 0x24830a15, + 0x220aaf4b, 0x823500c0, 0x821620b5, 0x160721ac, 0x0ba86c18, 0x2327372c, 0x3e372622, 0x15063702, 0x9b821723, 0x23354408, 0x16323634, 0x33152315, + 0x23371732, 0x011e2734, 0x0a010002, 0x02890907, 0x80090e09, 0x8902130d, 0x010a0709, 0x29432e04, 0x07741c3e, 0x51703001, 0x3070515e, 0x1c740701, + 0x01583f3e, 0x980a0711, 0x82800206, 0x0d133b2a, 0x98060280, 0x4124070a, 0x6c440e2c, 0x52800282, 0x80526e6e, 0x446c8202, 0x96825415, 0x41050021, + 0xc02e064f, 0x0f000700, 0x65001a00, 0x00006e00, 0x67492212, 0x86042005, 0x16132107, 0x3b06bb5c, 0x0f16023f, 0x23020e02, 0x012e2322, 0x3f36013f, + 0x06072701, 0x0706010f, 0x012f2623, 0x07240282, 0x011f1617, 0x22202b82, 0x2f22cb82, 0x21822602, 0x82363721, 0x43022012, 0x11860882, 0x1f051731, + 0x010e0701, 0x9437012e, 0x281c1c28, 0x8464011c, 0x4e5d0806, 0x060c0b05, 0x1b081606, 0x070a2902, 0x010a4316, 0x01080e09, 0x01100d03, 0x2b0d030a, + 0x13060711, 0xa00b0633, 0x1233060b, 0x2b110707, 0x010a030d, 0x01030d10, 0x0a02120c, 0x13071643, 0x1b1d1e07, 0x100b0d24, 0x07a00709, 0x0d0b1009, + 0x1e1e1b23, 0x29e5fd07, 0x18051b02, 0x01050b19, 0xf0761860, 0xfe59080a, 0x05190c70, 0x13451402, 0x1920642e, 0x0d085d4c, 0x0e140207, 0x310f145c, + 0x0d131547, 0x01010421, 0x130d2104, 0x0f314715, 0x140e5c14, 0x5d0c1002, 0x5020194c, 0x0f0c0d20, 0x0a222715, 0x09090760, 0x220a6007, 0x0c0f1527, + 0x2eb4200d, 0x0b0c4513, 0x000c190a, 0xff030000, 0x06bb56fd, 0x4b004322, 0x4305dd4f, 0x66440669, 0x0792660a, 0x2e013d24, 0xf3413502, 0x32332105, + 0x3105f74f, 0x0607010e, 0x3e013b16, 0x32013b01, 0x013b3617, 0x9f181607, 0x222209a1, 0x5c183407, 0x31240747, 0x30022326, 0x31278483, 0x0709120d, + 0x48090740, 0x39080500, 0x28101d13, 0x02032219, 0x060e1911, 0x0a060106, 0x0f020207, 0x580b2b0b, 0x1007803a, 0x13202c1d, 0x0e690d18, 0x090e0909, + 0x011817a0, 0x0b385038, 0x0709e005, 0x12090780, 0xbc51510d, 0x0e513809, 0x261a3027, 0x0c170e19, 0x05061406, 0x110c0509, 0x22024937, 0x4a1e164c, + 0xb72a05b4, 0x01040106, 0x28383828, 0xee820101, 0xff020032, 0x01b8fffe, 0x00c101c2, 0x00290008, 0x17013f00, 0x3205514a, 0x0f061625, 0x03270601, + 0x3e34012e, 0x36013f01, 0x42323637, 0x5a080518, 0x3627010f, 0x07222637, 0x5b4f7506, 0x0944120e, 0x07bb0103, 0x12450902, 0x0c0df90d, 0x2c020507, + 0x6b220a06, 0x2c060a1f, 0x22150711, 0x2104344f, 0x8204215a, 0x0c106658, 0x0816061c, 0x1c061608, 0x1301100c, 0x1b1b230f, 0x0c490309, 0x06161606, + 0x401c490c, 0x3b572617, 0x52121206, 0x00350953, 0x2600c001, 0x3b002e00, 0x00004300, 0x14163225, 0x36212306, 0x065b5937, 0x34262225, 0x41013b36, + 0xa6820749, 0x06222325, 0x6a331614, 0x042407b2, 0x14151632, 0x2e211582, 0x09964a02, 0x83a00121, 0xeafe29f1, 0x0de6151b, 0x600d1313, 0x2d280d83, + 0x3850382d, 0x60181830, 0x6d271183, 0x1a13131a, 0x8478fe13, 0x200b2311, 0x0f845335, 0x21828020, 0x821f2121, 0x21078218, 0x34832040, 0x1c501823, + 0x210f821c, 0x04820001, 0xad1a1324, 0x10832838, 0x56260c25, 0x84482818, 0x7f4c1811, 0x001a220c, 0x06464900, 0x08058761, 0x35262236, 0x06143325, + 0x3e272607, 0x835d4003, 0x07200709, 0x01835d09, 0x557440c0, 0x290f2b10, 0x60013b32, 0x07905d83, 0x90070909, 0x56405d83, 0x2f3d0980, 0x111e2a1a, + 0x2705cb60, 0xc0010002, 0x27002300, 0x24082f45, 0x14112123, 0x05376906, 0x4308935b, 0x132508a4, 0x01152135, 0x214a83f0, 0x678490fe, 0x0b833020, + 0x0a843020, 0x40012024, 0x09848001, 0x8a07c258, 0xc0fe2321, 0x8741e0e0, 0x01c82c07, 0x00b801f0, 0x000f0007, 0x672f0022, 0x12210923, 0x05af5e34, + 0x17374808, 0x2e273616, 0x06222303, 0x3f160607, 0x07323601, 0x17010e26, 0x36373216, 0x22060726, 0x9191ce91, 0x1a1337ce, 0xb11a1313, 0x010f060a, + 0x14110c01, 0x0325140a, 0x0a060f01, 0x07bd260b, 0x2d050512, 0x190a2d8c, 0x7d6e230a, 0x01210593, 0x3b2b831b, 0x06091013, 0x10090908, 0x1218060b, + 0x09060809, 0x04086f09, 0x36360810, 0x2a0c140c, 0x03289783, 0xe0ff0000, 0xa0018002, 0x19229782, 0x31592100, 0x0961530a, 0x32363428, 0x07141516, + 0x41543226, 0x34c63a05, 0x26342626, 0x0907d001, 0x70fe0709, 0xba83835d, 0x50c54383, 0x38503838, 0x05cb5401, 0xff84ba20, 0x83241682, 0x40425e5d, + 0x24059066, 0xfffeff03, 0x226782be, 0x4a1600c0, 0x3720053f, 0x2009ef5d, 0x07ef5d32, 0x01260634, 0x06141121, 0x27262223, 0x012f0605, 0x11253726, + 0xac753634, 0x325a0807, 0x06030231, 0x3e194d04, 0x07034d19, 0x32010405, 0xd8070601, 0x4c010b07, 0x2e420001, 0xfe02412d, 0x0d020877, 0x5a010802, + 0x1c288913, 0x481c281c, 0x060804ba, 0x105c1402, 0x0301155d, 0x07b90305, 0x023a020b, 0xfe7e0107, 0x3f422e70, 0x08026c2d, 0x5e02082e, 0x130d4401, + 0x2d8240fe, 0x00281c24, 0x0b410500, 0x00292408, 0x56390031, 0xae440647, 0x09b55d06, 0xae4d0983, 0x82352006, 0x0575589f, 0x5e323321, 0x1620088c, + 0x26062741, 0x27331525, 0x86062326, 0x6d023e0d, 0x12070913, 0x2f422f02, 0x2f02a402, 0x18182821, 0x132f2128, 0x0da0010d, 0x131a2613, 0x055672fe, + 0x131a932c, 0x01131a13, 0x052b5c30, 0x0b840306, 0x1a13d32c, 0x08090756, 0x2f2f2108, 0x00820821, 0x202f212e, 0x01212f20, 0x13130d50, 0xfd13600d, + 0x02872d82, 0x2b30cd23, 0x05be7505, 0x21058744, 0xe378fff9, 0x001e2205, 0x30da8226, 0x010f011e, 0x01012f06, 0x013f2627, 0x33011f36, 0x3fd68232, + 0x36373517, 0x14111516, 0x35250706, 0x21230601, 0x7a022622, 0x14040205, 0xfeb20d0a, 0x090c258b, 0x38080882, 0x1c14f44e, 0x22106e20, 0xddfd0c11, + 0x110d6e01, 0x1c14e0fe, 0x050d040a, 0x8a090c1a, 0x0a1c2101, 0x090c190d, 0xb2141c3d, 0x0b4b8918, 0x00ff1411, 0x1001120d, 0x0ae5fef5, 0x0883831c, + 0xfbff0123, 0x2501c0ff, 0x1e00c001, 0x32170000, 0x2b141516, 0x34352201, 0x35013b36, 0x013f012e, 0x3b013e34, 0x08158201, 0x06161731, 0x11d81507, + 0x08d00817, 0x34281117, 0x04100540, 0x06e00407, 0x40051009, 0x11171034, 0x17110808, 0x37570c75, 0x040605b2, 0x37b20708, 0x82750c57, 0x0012265c, + 0x0fc0ff00, 0x085b8298, 0x35000f22, 0x57004b00, 0x80006400, 0xbb009e00, 0xd900be00, 0xf600f000, 0x2c011f01, 0x65013701, 0x84017e01, 0x3f10c951, + 0x34350133, 0x010e2223, 0x0e012e27, 0x36350702, 0x22263435, 0x17141506, 0x36161415, 0x013e013d, 0x2b057e6e, 0x33152325, 0x2b061632, 0x06141501, + 0x8206da5f, 0x32163d0e, 0x0e14011e, 0x012e2201, 0x32173634, 0x022e023e, 0x14062223, 0x26220516, 0x2634013d, 0x2c82ca82, 0x36220982, 0x48821d16, + 0x2605cf48, 0x013d2217, 0x83262223, 0x833420f8, 0x2b558717, 0x16173233, 0x16010607, 0x14151617, 0x2f356383, 0x0e072301, 0x34352601, 0x3e373435, + 0x013e3702, 0x27330716, 0x21128305, 0x0585012f, 0x674c2620, 0x011f2106, 0x05211d83, 0x239c8214, 0x3637011e, 0x82059242, 0x33362138, 0x07249d82, + 0x06022e33, 0x27218f82, 0x270e8226, 0x35323316, 0x35032e34, 0x21055965, 0x87820616, 0x1523af82, 0x82031e14, 0x32362471, 0x820e021e, 0x25cb859a, + 0x23263436, 0xfc820e22, 0x8a350521, 0x20d28ec8, 0x20b48202, 0x2804823e, 0x0614011d, 0x26272623, 0x21839425, 0x83832303, 0x17c70127, 0xfe172222, + 0x08058372, 0x0a53015d, 0x101c1f02, 0x10212517, 0x170f0520, 0x170f171f, 0x1e362117, 0x25190b23, 0x89b10109, 0x10101385, 0x23248513, 0x13a71117, + 0x51830f10, 0x3c1b1b3c, 0x1b1b3b51, 0x0e1a1164, 0x1a0e0707, 0x21211d11, 0x120d9101, 0x200d2f27, 0x161f2020, 0x0c11404d, 0x111044b1, 0x10110e0e, + 0x8319201f, 0x197f0807, 0x0807141c, 0x93010c1d, 0x1e28211a, 0x8e0d0723, 0x1e23070e, 0x180c0a2a, 0x3030090c, 0x02346864, 0x2406351b, 0x2a2b0525, + 0x06242406, 0x231a0537, 0x092d2705, 0x272d0936, 0x011a2305, 0x940d110e, 0x0e254a05, 0x371f3e19, 0x28364649, 0x77b31739, 0x252a2302, 0x3c1b3a01, + 0x0f10090a, 0x28183105, 0x1e2a2a1d, 0x341a2e35, 0x0f0e0809, 0x11172704, 0x292a1e15, 0x51b2381e, 0x1b011a3c, 0x8228293c, 0x1e632ead, 0x171e2121, + 0x20070720, 0x2920f401, 0x08a9820c, 0x1f0d292c, 0x05201f20, 0x34122216, 0x2217080e, 0x0d134712, 0x0101051a, 0x960c1169, 0x0e254b05, 0x381e3e1a, + 0x1936494b, 0x08121a29, 0x708278b4, 0xc0012622, 0x08083141, 0x22178e68, 0x08a1bbfe, 0x0905070d, 0x0c040308, 0x120c1502, 0x10171710, 0x0efa0c12, + 0x340e0c0c, 0x0d090810, 0x46b30410, 0x156a1f1f, 0x01151212, 0x20181005, 0x3925171f, 0x25253841, 0x9f394138, 0x1e1e190f, 0x352c1018, 0x0d13362b, + 0x10151d75, 0x10148512, 0x13b81410, 0x03140f10, 0x2f25121a, 0x030f0e8d, 0x1b7e4102, 0x1783251c, 0x1b1c252d, 0x17141a6d, 0x2f01030a, 0x82695542, + 0x15143ea2, 0x24241209, 0x14150912, 0x6d050101, 0x1d3d2019, 0xcb131318, 0x14b1398f, 0x8813100f, 0x08468388, 0x1812b143, 0x8c8e1307, 0x8c190118, + 0x1707138e, 0x27110b5f, 0x0f06151a, 0x4514130e, 0x2b493539, 0x1c190a33, 0x11ae1d02, 0x171b0d0e, 0x080b0b1a, 0x201a210d, 0x0b0e102c, 0x0a0e1219, + 0x0e080a0a, 0x2b221b22, 0x2daf89fc, 0x1d2c352b, 0x161d2929, 0x0f111a7b, 0x93838611, 0x29827b20, 0xb58a1320, 0x0d10082e, 0x0d140b2c, 0x130d9149, + 0x69041601, 0x10276e8d, 0x191e201a, 0x521c011d, 0x17220bdb, 0xfb442100, 0x05d17d07, 0x3e011f35, 0x16323301, 0x010e1415, 0x1733010f, 0x3d262221, + 0x44363401, 0xc97d06f6, 0x0c873007, 0x543c324d, 0xc0162113, 0x82fef830, 0x444f1c14, 0x0a2005f1, 0x2f06c17d, 0x543d2f69, 0x26301b3c, 0x1cc0330c, + 0x4f370a14, 0x2a05c75a, 0xc001c001, 0x2e001e00, 0x6c003600, 0xbf5e0597, 0x22728309, 0x8217021e, 0x05634e77, 0x22010e25, 0x52372726, 0x34300839, + 0x22012b26, 0x012f1706, 0x011f013f, 0x011e1707, 0x3a522585, 0x1d062105, 0x07ec6d18, 0x32163723, 0x06cd6006, 0x16322622, 0x35301682, 0x09074034, + 0x120e0709, 0x2e183050, 0x0e091e25, 0x60320d86, 0x381a1250, 0x38283028, 0x1490141c, 0x240c481c, 0x03820c24, 0x338c2708, 0x50141c45, 0x0d800d13, + 0x1c145013, 0x70303345, 0x09090e0f, 0x0e57090e, 0x09e02009, 0x09076007, 0x190e352b, 0x0a861524, 0x582b352c, 0x38382818, 0x17111828, 0x40845917, + 0x950c0c2e, 0x0a334c06, 0x0d401c14, 0x400d1313, 0x3323fa82, 0x511f064c, 0x86820583, 0x07303022, 0x28093f53, 0x00c00185, 0x001b0007, 0x093f532b, + 0x18138d7b, 0x2e0a3365, 0x3637011f, 0x6a150117, 0x4b6a4b4b, 0x624f3726, 0x4f3705fb, 0x4c231137, 0x08540123, 0x09088d09, 0x1c090951, 0x692d0908, + 0x18c00809, 0x22117f85, 0x82080880, 0x08522b22, 0x09091b09, 0x0908682d, 0x23590400, 0x00072208, 0x20878217, 0x41898233, 0x1720063d, 0x0d092f19, + 0x14273223, 0x07084216, 0x16013b2a, 0x32333732, 0x22260617, 0x3605ed4d, 0x5478b401, 0xd0547854, 0x0c0a260a, 0x0a3c0a0a, 0xfe2328f0, 0x851c14a5, + 0x0b112498, 0x842b120d, 0x82e020b1, 0x78543723, 0x360a0c42, 0x0a4c0a0a, 0x184c2c10, 0x372a141c, 0x0210104f, 0xac844826, 0x82318f86, 0x3b00c001, + 0x4b004300, 0x00007600, 0x07161725, 0x4c4d1906, 0x27372a18, 0x37363726, 0x36011f36, 0x4b4d1937, 0x07554812, 0x1325a787, 0x06171415, 0x08116123, + 0x162fc584, 0x15061433, 0x011f1606, 0x0e071706, 0x56161701, 0x163d05f1, 0x051a6202, 0x04180a01, 0x14111905, 0x06212106, 0x051a1114, 0x020a1704, + 0x04041906, 0x23198219, 0x1a050417, 0x192f1987, 0x0a180405, 0x041a0501, 0x1c1c288a, 0x84ab1c28, 0x024923ec, 0x56190f0c, 0x35080913, 0x01080211, + 0x0c0a0403, 0x08010108, 0x0c040a0c, 0x0a110c1c, 0x4b050809, 0x2006030f, 0x0f020419, 0x061e070e, 0x01070701, 0x0e071e06, 0x1904020f, 0x0f030620, + 0x1d9c1515, 0x6a823020, 0x74281c23, 0x256d834b, 0x050ad3fe, 0x4d410807, 0x01270806, 0x0d020601, 0x0404071a, 0x19070504, 0x0c1f270d, 0x00030405, + 0x00040000, 0x02bfff00, 0x00c00180, 0x001c0007, 0x422f0024, 0x17200b75, 0xde416a82, 0x3717310c, 0x06010f17, 0x16253726, 0x27010f14, 0x3236013f, + 0x29087742, 0x084e293b, 0x04010701, 0xe241edfe, 0x8a3e3207, 0x083d8947, 0x1901010b, 0x482a0707, 0x14072505, 0x067d4207, 0x084d2e26, 0x0b0a3d0b, + 0x91289986, 0x078a4789, 0xe1080b01, 0x2a252082, 0x07260448, 0x4b978607, 0x1b24075b, 0x37002300, 0x09197018, 0x19130d43, 0x390a8f57, 0x2b061415, + 0x3d363401, 0x36273401, 0x3216013b, 0x425cee37, 0x23425c42, 0xab6d4330, 0x30433b05, 0x21462109, 0x38500401, 0x30385038, 0x141c422e, 0x1b2801b1, + 0x2a17041d, 0x2782c017, 0x625c422f, 0x141d3043, 0x1d141c1c, 0x10104330, 0x30248220, 0x42585038, 0x011c142e, 0x39270104, 0x08080f2b, 0x2c008200, + 0xff000002, 0x01c001c0, 0x001000c3, 0x8f96183a, 0x03172811, 0x013f3426, 0x18011f36, 0x3309efa9, 0x27373435, 0x14151615, 0x0e161707, 0x22012b01, + 0x26013f26, 0x35241382, 0x4b363f01, 0x0805b243, 0x5f364b25, 0xbe0e0ed2, 0x0ebe1414, 0x4b0e600e, 0x420e4b6a, 0x010f0b0c, 0x2a030401, 0x0f020504, + 0x027f0c0b, 0x830a364d, 0x0a2b089a, 0x5f024d36, 0x1a035001, 0x04042e03, 0x0319042e, 0x351d1c17, 0x1d354b4b, 0x0735101c, 0x3e080c0d, 0x09040604, + 0x0c083e05, 0x413b070d, 0xc02b05e3, 0xc0018002, 0x1b001300, 0x82003300, 0x15252212, 0x0cd84114, 0x43303321, 0xf16b09b7, 0x09af6f06, 0x2c060b72, + 0x26343523, 0x011d0622, 0xfe094001, 0x08c743e7, 0x43080e21, 0x012605c6, 0x13130d00, 0x0483e00d, 0x422f202b, 0x1a13302f, 0x11a08013, 0x06e3410f, + 0x300e0222, 0x4b25cf82, 0x0d136b6a, 0x822283a0, 0x21302604, 0x30212f2f, 0x200d8330, 0x09836230, 0x0f00c029, 0x2b001700, 0x4d250000, 0x85870543, + 0x18063321, 0x2520478b, 0x090907c0, 0x05459b07, 0x2f821813, 0x2486860a, 0x142a374f, 0x219b861c, 0xcb410300, 0x00c02606, 0x00250010, 0x12cd412d, + 0x3734272b, 0x17323526, 0x3233033e, 0x05634d16, 0x2237062c, 0x34331506, 0x45012326, 0xbe414734, 0x34473e05, 0x2b2bc065, 0x18071d31, 0x3513231d, + 0x2c354b4b, 0x671c0c43, 0x13a0130d, 0x4c059f0d, 0x38708534, 0x66054c34, 0x1d1d33c7, 0x1b102833, 0x6a4b0b12, 0x1e29354b, 0x0d0d1360, 0x06f34213, + 0x8002bd2c, 0x1200c001, 0x1f001700, 0x89823700, 0x14151629, 0x0607030e, 0x79012e27, 0x072405f2, 0x2737013e, 0x2207b944, 0x44161407, 0x303912b9, + 0x126e0206, 0x22241c12, 0x350b0b11, 0x0b731250, 0x3b210b0b, 0x6adb6004, 0x246e824b, 0x092c3720, 0x0a81440a, 0x0105013c, 0x1207b101, 0x262f4024, + 0x04040716, 0x124e7315, 0x04042d07, 0x3a4e0fec, 0x2f821126, 0x736a4b26, 0x04236d44, 0x21062a41, 0x1f4d0601, 0x1323480d, 0x32330222, 0x0623b482, + 0x82340507, 0x210524aa, 0x48352622, 0x93320e22, 0x21382303, 0x26304b35, 0x331df6fe, 0xfe1f011f, 0x174d14a2, 0x07254806, 0x36207230, 0x29354b1f, + 0x20ae0d42, 0xde062539, 0xc342141c, 0x00112e0b, 0x002b001d, 0x25000040, 0x010f1416, 0x063a7c06, 0x3b362108, 0x07173201, 0x34013e32, 0x2223012e, + 0x27161406, 0x35012e22, 0x32333634, 0x1415011e, 0x1f141706, 0x0b8d7818, 0x32162408, 0x17323337, 0x0a097702, 0x091b095c, 0x0e12125b, 0x5c121b4f, + 0x07070b06, 0x0e0a060b, 0x3b23d60e, 0x83354b22, 0x1c4b2404, 0x41170f3a, 0x11220a2e, 0x30825315, 0x82095d21, 0x4f1b3333, 0x4513130d, 0x0b0d0b07, + 0x0e140e06, 0x233b2258, 0x04844b35, 0x1c286f24, 0x3041133a, 0x052f4106, 0x20085f42, 0x20bb8207, 0x08ab4400, 0x4605ad48, 0x37250779, 0x33273717, + 0x074f4507, 0x44352021, 0x35260714, 0x60202030, 0x3a452020, 0x026c2305, 0x4842354e, 0x4e352b05, 0x3888bf02, 0x00008838, 0x5f820600, 0x8202e024, + 0x1f47a001, 0x00622406, 0x47930085, 0xab874523, 0x52221721, 0x073007e3, 0x27070622, 0x07222326, 0x07220706, 0x17141517, 0x2d08f051, 0x33323316, + 0x1f163336, 0x30170601, 0x33470623, 0x33372505, 0x07010e27, 0x32202288, 0x083a4047, 0x34bafe2a, 0x26342626, 0x41422ea0, 0x010b425d, 0x09080101, + 0x170c110a, 0x6602010d, 0x1c14ff06, 0x21092f44, 0x02050223, 0x08060401, 0x23341c82, 0x0c1c0c0a, 0x01100b11, 0x05281ef6, 0x26130d42, 0x6b1a401a, + 0x471c3947, 0x80822457, 0x46342636, 0x422e2e42, 0x17192e42, 0x05050101, 0x0122190c, 0x0a0a0ac2, 0x22052f46, 0x82040501, 0x20122e00, 0x090c1f27, + 0x233a10ac, 0x1a200d13, 0x0d4b5426, 0x17000f26, 0x3f003b00, 0x4108e144, 0x332007ff, 0x2807fb50, 0x011d2213, 0x07013b14, 0x21078e23, 0x47412721, + 0x21333206, 0x27330507, 0x1ba00123, 0xfe0d1325, 0x25130dc0, 0x05c95e1b, 0x08482408, 0x8c129e08, 0x12840808, 0x69080872, 0x0900ff11, 0x1c1c1467, + 0x11d00114, 0x0b5151fe, 0x1b254046, 0x82130d20, 0x251b2a92, 0x131a1360, 0x8d011a13, 0x09a46808, 0x1c604029, 0x1c14a014, 0x83808040, 0x00022daf, + 0x02ddff00, 0x00a10140, 0x00220011, 0x08857c18, 0x06070632, 0x1135012e, 0x07363734, 0x14111516, 0x27262706, 0x0805b96f, 0x02161740, 0x11140e1e, + 0x054f8c0d, 0x4d07070b, 0x080f077b, 0x110d8c4f, 0x019a0e14, 0x0e1201a0, 0x120caefe, 0x02032708, 0x6c010509, 0x2f2f0409, 0x94fe0904, 0x27040908, + 0x010c1208, 0x01120e52, 0x00820009, 0x73820620, 0x3005e752, 0x00240011, 0x004b0039, 0x006c0069, 0x27221300, 0x2e708226, 0x1632013b, 0x17140607, + 0x27230616, 0x7116010e, 0x198607b5, 0x14162531, 0x012b0607, 0x37012e22, 0x2726013e, 0x82013e26, 0x3207222f, 0x37168617, 0x34363726, 0x33362627, + 0x06161307, 0x2606010f, 0x0723012f, 0x012f010e, 0x2e082e82, 0x34352613, 0x1e32013e, 0x07141501, 0x0c972733, 0x03080803, 0x0908220c, 0x02080802, + 0x0c5f0809, 0x0417040f, 0x0a230909, 0x041a1b04, 0x8209230b, 0x831a2017, 0x09062708, 0x05160201, 0xd3820c0f, 0x0b230623, 0x2d368e79, 0x05038252, + 0x0c061e06, 0x31963103, 0x09820c03, 0x03052708, 0x1e110b82, 0x70111e22, 0x00013060, 0x1a361a0b, 0x15080d0b, 0x0d08152c, 0x5d3416a9, 0x090f082b, + 0x09397c39, 0x0583060f, 0x060b072a, 0x17365b29, 0x40070b05, 0x642d288b, 0x0c06c6fe, 0x05020d02, 0x06767606, 0x28088205, 0x3a01060c, 0x1e111410, + 0x24028211, 0x0074ac14, 0x0a077c02, 0x057c2920, 0x7b252017, 0x982229fa, 0xf17b0c09, 0x290e2111, 0x2a0af17b, 0x4a160208, 0xb9141617, 0x7bb2090d, + 0x362705e6, 0x2b050206, 0x710c09b2, 0x0d270adf, 0x00002100, 0x53231113, 0x152006ee, 0xd05f0982, 0x21332f0e, 0x60153335, 0x01111740, 0x401711f0, + 0x1d740750, 0x10012f08, 0xfe8001c0, 0x117801a0, 0xfe111717, 0x33650188, 0x4040220c, 0x23008200, 0xffffff03, 0x2609db48, 0x37000034, 0x56151632, + 0x3423068b, 0x56323336, 0x3b480503, 0x70012006, 0x2622075b, 0x72823327, 0x21113326, 0x35232615, 0xd02f2682, 0x141c412f, 0x411c14e0, 0x1503042f, + 0x4a031528, 0x013e051c, 0x1c1c1450, 0x1e09f514, 0xfe40804c, 0x1c211fa0, 0x2f426014, 0x131c1c13, 0x0701422f, 0x1a4a0107, 0x08013205, 0xc4fe151d, + 0x1a261d15, 0x20014040, 0x152e1232, 0x4d97841d, 0x2d220843, 0xad463700, 0x011d2105, 0x82074149, 0x013f2207, 0x11295735, 0x2608e54e, 0x36340515, + 0x8215013f, 0x25352121, 0x2a064355, 0x10d00135, 0x25362560, 0x57701060, 0x0a850a3f, 0x0ba0fe3c, 0x07706d08, 0x136d0209, 0xc9700709, 0x60ee1209, + 0x1b25251b, 0x0912ee60, 0x72573344, 0xd933320f, 0x2f031109, 0x810709c0, 0x07641508, 0x0000c009, 0x3bab8406, 0x00c00100, 0x00110009, 0x0028001f, + 0x00380030, 0x20163500, 0x06141537, 0x00352622, 0x26063f41, 0x33011e05, 0x86013e32, 0x35252215, 0x22098236, 0x4e24020e, 0x0522061b, 0x10832726, + 0x013d062b, 0x9e713d06, 0x9e8f0171, 0x28068271, 0x681e00fe, 0x3e48263a, 0x350b8214, 0x213fa001, 0xfe23190e, 0x7070a0ba, 0x9b0170a0, 0x336e300c, + 0x00822b37, 0x26261a31, 0x2640011a, 0x34262634, 0x0b1b19d2, 0x83341118, 0x3f293611, 0x092b180b, 0x930b0f10, 0x2f2f422f, 0x17220942, 0x122b2505, + 0x8b48181e, 0x3417271b, 0x22353336, 0x707c1506, 0x83162009, 0x913423c1, 0x028291ce, 0x425e582a, 0x5098714f, 0x38503838, 0x21055459, 0x1884b801, + 0x5e426726, 0x604f7120, 0x38211682, 0x0a3b5950, 0x8002bc25, 0x6100c001, 0x323305b1, 0x15071516, 0x17070614, 0x06010f16, 0x2322012f, 0x86012b22, + 0x0723260b, 0x34352606, 0x056d4837, 0xb3561720, 0x28203208, 0x3d4d6038, 0x160b0429, 0x012c040c, 0x27010202, 0x080b8526, 0x0f796121, 0x74010c1d, + 0x1927212f, 0x0e0e144a, 0xa0010e14, 0x50101b25, 0x70126541, 0x0408040b, 0x8568780b, 0x073d2c06, 0x090f1111, 0x21152501, 0x8248202f, 0x140e2826, + 0x02000000, 0x42ff0000, 0x0f2505ef, 0x00003b00, 0x09695821, 0x82013d21, 0x320021fb, 0x2327ef82, 0x21072722, 0x41230627, 0x152105b5, 0x21b48214, + 0xa45a3f36, 0x17072308, 0x0d84011e, 0x07100227, 0xfe070909, 0x39058360, 0x1c28cc01, 0x0503141c, 0x4880fe48, 0x1c140305, 0x041c281c, 0x061b0b48, + 0x09821252, 0x06521226, 0x04480c1a, 0x21095a66, 0x15824001, 0xc1c10123, 0x2a068201, 0x0a0a141c, 0x0b07072b, 0x82160f8f, 0x16142936, 0x070b8f0f, + 0x0a0a2b07, 0x0820ac82, 0x1022ab88, 0x55421800, 0x00402506, 0x00500048, 0x2709675f, 0x013d2622, 0x27013e37, 0x20073641, 0x08d44927, 0x013f3424, + 0x4e413236, 0x09d04108, 0x26343625, 0x79140622, 0x178707aa, 0x83500221, 0x14e0347d, 0x0912881c, 0x0e14030a, 0x160e140e, 0x0faf0e0e, 0x85af0f28, + 0x84ad2006, 0x798e2013, 0x1185109d, 0x1c000123, 0x273c8214, 0x892e141c, 0xb8163112, 0x0e223d82, 0x3c89ad14, 0xea204382, 0x8e201384, 0x72200584, + 0x1185058a, 0x82060021, 0x01e028eb, 0x00a001c0, 0x7e17000f, 0x70180925, 0x90590f5b, 0x8fbe8f07, 0x800127de, 0x1b25251b, 0x0583c0fe, 0x7a183320, + 0xe7470a91, 0x20058505, 0x21178413, 0x2787a001, 0x1b400125, 0x84a0fe25, 0x84ad2015, 0x8a732005, 0x20118505, 0x05a75900, 0x5118a78e, 0xa5971033, + 0x9d97b587, 0x0b167b18, 0xd320979a, 0x0020a38a, 0x02200082, 0x980c3b41, 0x59758b8d, 0xfb8c06ec, 0x8400ff21, 0x00002257, 0x184f8c07, 0x980981b9, + 0x41d78759, 0x178f0f95, 0x7784f797, 0xfd8b1320, 0x201a9b41, 0x851b844d, 0x05094105, 0x0020118b, 0x04200082, 0xb990bf90, 0x9117e368, 0x0b3142a1, + 0x420d9341, 0x2442052a, 0x187b820b, 0x220b27d2, 0x591f0017, 0x798f11fd, 0x07417191, 0x856b9305, 0x890020ee, 0x05936b63, 0x18088f6b, 0x2007f999, + 0x0ed54417, 0x2536c526, 0x5b253625, 0x80210584, 0x128a180d, 0x82602008, 0x36252214, 0x220584e5, 0x4a0d1355, 0x0d2105db, 0x0a234513, 0x21001922, + 0x21102345, 0x8948013b, 0x07955d08, 0x48700221, 0x70260973, 0x2001141c, 0x845f1c14, 0x0af24405, 0x1e158d26, 0x73fe151e, 0x50053441, 0xc32609af, + 0x22001000, 0x65882a00, 0x11012b2b, 0x32333523, 0x03111516, 0x20048236, 0x05245721, 0x37207384, 0x8408ab44, 0x6090296e, 0xe81c1470, 0xb0fe190f, + 0x50287c83, 0x14860a0e, 0x0e140e0e, 0x012d7284, 0x141d4080, 0xbf01b1fe, 0xfe101404, 0x24128521, 0x03120b6d, 0x05d85fed, 0x0000002f, 0x00000002, + 0x01c00130, 0x000f0050, 0x114b4c1f, 0x4c063d51, 0x0121085b, 0x093641a0, 0x42410120, 0x4190200a, 0xc0200936, 0x5b820a89, 0x00000128, 0x0502c0ff, + 0xdd82c701, 0x1e010027, 0x33010f01, 0x33038206, 0x2726020e, 0x26220607, 0x36013734, 0x26010f26, 0x013e3736, 0x46080282, 0x27d30116, 0x6283210a, + 0x62932708, 0x3a45471b, 0x14074216, 0x0401070e, 0xb30b170b, 0x07291d06, 0x5f2c2e21, 0x27930151, 0x082c3967, 0x1f1a3127, 0x42060408, 0x07140e07, + 0x160c0301, 0x7435b20b, 0x2d22062a, 0x8213212c, 0xff022e77, 0x02e0ffff, 0x00a00140, 0x00410039, 0x05df5b00, 0x17207982, 0x30055550, 0x3627012b, + 0x2627012e, 0x06010f22, 0x36013f16, 0x21998417, 0x42181632, 0x342207d4, 0x8e82033e, 0x46163221, 0x0138074e, 0x1e293abf, 0x629a0d11, 0x09130d36, + 0x02775a07, 0x1b091111, 0x0c231c46, 0x2326ec82, 0x13142026, 0x18834f23, 0xd0fe3308, 0x351c261a, 0x06305848, 0x532c3a2c, 0x140e0e14, 0x145f010e, + 0x0e231016, 0x6956071e, 0x09070d13, 0x132c187e, 0x1a151506, 0x1909190a, 0x420e0f1a, 0x1583301b, 0x311a252b, 0x253c4c5d, 0x25251d04, 0x23338243, + 0x0300140e, 0x24084b49, 0x0040000f, 0x107d4244, 0x16013334, 0x0614011d, 0x3d012e27, 0x2b263401, 0x11211501, 0xde183634, 0x16240ba3, 0x013d3632, + 0x27211d83, 0x05014726, 0x2335072b, 0x07500115, 0xfe070909, 0x330583c0, 0x2f13dd01, 0x17251b21, 0xe0fe0811, 0x1aa01a26, 0x34240826, 0x142a7b82, + 0x0404261c, 0x040e040c, 0xb542a09c, 0x5521080a, 0x20df1b13, 0x2c03032b, 0x17111c1d, 0x1a600170, 0xc01a2626, 0x0a202434, 0xa10a0e0e, 0x3e151f03, + 0x26318226, 0xa604040c, 0x43008080, 0x022b0597, 0x00a80140, 0x00500043, 0x4a00005d, 0x2220077b, 0x53062f4d, 0x3f37068c, 0x1f013e01, 0x0f011e01, + 0x2f010e01, 0x06072601, 0x3336010f, 0x83331732, 0x26272304, 0x604d2627, 0x36262c05, 0x1636013f, 0x26370117, 0x59072223, 0x252106b0, 0x220c8335, + 0x82011e17, 0x363608f1, 0x43023e02, 0x422e2530, 0x03240303, 0x252e4203, 0x2d024330, 0x1024430a, 0x05020606, 0x0e060c02, 0x04100f12, 0x3b292927, + 0x3b374a37, 0x04272929, 0x0e120f10, 0x1b820c06, 0x06063308, 0x0a432410, 0x2304bafe, 0x1e242523, 0x1e142515, 0x25243601, 0x01042323, 0x1525141e, + 0x0808a81e, 0x3d432f46, 0x2c27272c, 0x462f433d, 0x26b50808, 0x51830d25, 0x59820f20, 0x07060433, 0x0c9a1109, 0x9a0c1a1a, 0x06070911, 0x06060204, + 0x3454830f, 0xfe26250d, 0x0d0d29f1, 0x1b1d1525, 0x0d0d2517, 0x1d1b1329, 0x2a008200, 0xfffdff01, 0x018101fd, 0x41170083, 0x0721070f, 0x07126805, + 0x2e272608, 0x3e013f01, 0x6e011701, 0xfe070b12, 0x05190ccd, 0x0c09060e, 0x090ddadb, 0x19050e06, 0x1508ee0c, 0x03110922, 0x2513828f, 0x06190c1d, + 0x13826666, 0x1b821d20, 0x00325682, 0xff000002, 0x01c001d0, 0x001800b3, 0x13000028, 0x4984032e, 0x1d160524, 0x60891401, 0x3e0f0845, 0x050a0737, + 0x050c0201, 0x2e010d1b, 0xd3fe1717, 0x0c051b0e, 0xb00d0d05, 0x0e0e0ac1, 0x8370fe0a, 0x54013a05, 0x0d0b0803, 0x0c0c1e06, 0x17077805, 0x78071710, + 0x1e0c0c05, 0x4404180d, 0x0b8578e0, 0xfeff032e, 0x8102c0ff, 0x2600c001, 0x3e002c00, 0x222adb82, 0x3626032f, 0x1f32013b, 0x9a4c3301, 0x4a332007, + 0x2b22065e, 0x62431501, 0x15272805, 0x13022e33, 0x59071416, 0x2282082f, 0x01173637, 0x560a1030, 0x090120a0, 0x05082808, 0x07b0d02b, 0x01070909, + 0x300583a0, 0x13835db0, 0x077da00d, 0x05bc3423, 0xfe232106, 0x2c1a84ba, 0x0b170d46, 0x40730d40, 0x060c086c, 0x0aa6703a, 0x5d834037, 0x7cbc130d, + 0xfe23341f, 0x040e05ff, 0x2007091e, 0x0b160907, 0x20008200, 0x87471803, 0x00112708, 0x0029001c, 0xe94a0100, 0x05e64a06, 0x17323334, 0x37320736, + 0x0e222326, 0x16141501, 0x033e3221, 0x0d823435, 0x01160729, 0x636346d7, 0x82465146, 0x21078502, 0x00822fdd, 0x1421142c, 0x0c4c012b, 0x070e1216, + 0x0f821e2b, 0x5e600126, 0x4f4f5e84, 0xe02e0484, 0x1e114040, 0x06261a11, 0x0a14100c, 0x674e261a, 0x02e02609, 0x00ae0140, 0x05d74334, 0x14152528, + 0x22232207, 0x8082012f, 0x8f670720, 0x210e820a, 0x804e1527, 0x013d2c05, 0x3435012e, 0x3637033e, 0x823b1617, 0x320622af, 0x34938336, 0x1415020e, + 0x07063517, 0x020c4002, 0x4a040a02, 0x4c4c0c0c, 0x05f16b11, 0x020e3508, 0x07091818, 0x2c090710, 0x30241c34, 0x4654091a, 0x2e0a5043, 0x0e147745, + 0x09050a0e, 0x11680406, 0x0cf6e617, 0x01890804, 0x3b090b31, 0x07090907, 0x36060131, 0x22080783, 0x3459194a, 0x1c264429, 0x3013020a, 0x0e4b3d2e, + 0x06040e14, 0xa70a0509, 0x00091163, 0xff000001, 0x428301fd, 0xb74306c3, 0x25273205, 0x34013d26, 0x36253736, 0x16011f16, 0x01010f06, 0x06b5426d, + 0x12cdfe26, 0x3301070b, 0x2007cc42, 0x06b4425a, 0xcc428f20, 0x4c00200e, 0xc342058b, 0x00162505, 0x37000026, 0x50895183, 0x68861720, 0x2410c342, + 0x2e011717, 0x06b8420d, 0x0d0db028, 0x1b050c05, 0xc042440e, 0x42ea2009, 0x0c2c09b5, 0x44440518, 0x1e0d1804, 0x42050c0c, 0x230bbd42, 0x00050000, + 0x023e0082, 0x00800180, 0x001c0018, 0x00240020, 0x01000048, 0x1415030e, 0x21151716, 0x34013e35, 0xc6792726, 0x05152506, 0x33152335, 0x05230386, + 0x4f152135, 0x26220a86, 0x964f0622, 0x370f840c, 0x0c078002, 0x0e120508, 0x120e80fd, 0x0d130e12, 0x130d4002, 0xc04060fe, 0xfe280182, 0x40800260, + 0x80090e09, 0x0137038a, 0x0c09023d, 0x190f080e, 0x05636305, 0x05191e19, 0x13130d23, 0x8480a00d, 0x60c02800, 0x0a061b60, 0x911b060a, 0x06477205, + 0xc7018726, 0x55003500, 0x0e2dbd18, 0x5f18bb82, 0x1727132f, 0x17071433, 0x46013d36, 0x14210733, 0x06ab740f, 0x2d0aad59, 0x013d012e, 0x17011e17, + 0x06173716, 0xbd181507, 0xb3220d4c, 0x5f185038, 0x29290948, 0x0b1a052c, 0x07100709, 0x1cf91809, 0x3c0a2f0e, 0x320e0729, 0x0a0a1210, 0x090c190d, + 0x0684c701, 0x182d8a21, 0x250b4b5f, 0x14100e20, 0x7e501a18, 0x262a2205, 0x84458480, 0x09222f04, 0x29074469, 0x01043928, 0x02062701, 0x9f560022, + 0x01813e08, 0x001e00a1, 0x002c0026, 0x003a0034, 0x01000040, 0x14111516, 0x2223010e, 0x22232627, 0x21068306, 0xb2511135, 0x32333105, 0x05323336, + 0x023e3215, 0x16032637, 0x23012e17, 0x3d07894b, 0x010e3505, 0x35371607, 0x011e2726, 0x09136d02, 0x0605080f, 0xf63e312b, 0x13353f3e, 0x0b870d13, + 0xf8fd2408, 0x0c10160b, 0x1e1b2402, 0x1a250122, 0x2f2f42ef, 0x60012f42, 0x1f041e14, 0x011e1a17, 0x088a0120, 0x82c3fe16, 0x0d02293b, 0x1608163e, + 0x120e3d01, 0x643e0982, 0x130e083d, 0xeafe020b, 0x241a030b, 0x38503811, 0x3a545038, 0x03131b03, 0x030a31e6, 0xef422318, 0x02e02106, 0xbf9fc787, + 0x4e320021, 0xa69905a9, 0x85e7fe21, 0x218e9499, 0x8284c0fe, 0x3b093f41, 0x00a00180, 0x00190009, 0x00310025, 0x0047003d, 0x21113100, 0x23061411, + 0x25262221, 0x180e0f61, 0x2208ab4d, 0x8222012b, 0x2133221b, 0x05dc7c32, 0x0120178b, 0x084f7e18, 0x1380022e, 0x0dc0fd0d, 0x09c00113, 0x09076007, + 0x08220484, 0x02820870, 0x0880fe2b, 0x08083001, 0x0808d0fe, 0x2a0283b0, 0x09073002, 0x070980fd, 0x82fe4001, 0xdd13212f, 0x0845da18, 0x08107f26, + 0x58081008, 0x68200584, 0x01240584, 0x30070940, 0xbf832e82, 0x69000521, 0x0f280727, 0x57004b00, 0x6f006300, 0x2311574c, 0x023e3213, 0x290b0574, + 0x013f1617, 0x27262736, 0xc4823435, 0x74011d21, 0x272e0d41, 0x06010f26, 0x15171617, 0x32013b14, 0x42183735, 0x80180a98, 0x23210ed4, 0x06287421, + 0x0d600223, 0x36e68513, 0x09900d13, 0x12070b10, 0x07092d0e, 0x06071c05, 0x070c0406, 0x82110e08, 0x191221bf, 0xf0201492, 0x23050a41, 0x085008a0, + 0xfe2c0283, 0x010808f0, 0xa0010810, 0x80fe0d13, 0x01205283, 0xfe340582, 0x100c08d8, 0x05180f09, 0x050a030d, 0x04030408, 0x0b05070b, 0x08242582, + 0x121a0110, 0x20221692, 0x6e820810, 0x2e410285, 0x01003005, 0xb9ff0000, 0xc701c601, 0x00003300, 0x54072325, 0x0725080a, 0x26012f06, 0x07c8623f, + 0x37013b22, 0x26080458, 0x011f3637, 0x86010f16, 0xa0012429, 0x83ad4b62, 0x53f72890, 0x0d190d09, 0x8337330a, 0x4b82220c, 0x22a484cd, 0x830a5217, + 0x18342114, 0xf02d0d82, 0x200d1360, 0x0c6a130d, 0x0d091409, 0x910b8443, 0x82002011, 0xff053800, 0x02bafff7, 0x00cb0100, 0x001d0015, 0x002d0025, + 0x13000035, 0x46011e36, 0x062905df, 0x07061617, 0x37022e06, 0x8d5f183e, 0x0f484f10, 0x8f50cc39, 0x501b2655, 0x0f112826, 0x682f1f1a, 0x0f0d2950, + 0x131a2f6e, 0x50131a13, 0x827705dc, 0x10bb340c, 0x1b4e7f3d, 0x1c224026, 0x2a07053b, 0x4a437d50, 0x82d4fe6d, 0x1a13222a, 0x2005846d, 0x2005842d, + 0x4a058453, 0x012005b3, 0x22057751, 0x422a0022, 0x36201357, 0x30052464, 0x1614011d, 0x3632013b, 0x3237013d, 0x2b061416, 0xcbe01801, 0x28c02c0c, + 0x60283838, 0x07090907, 0x5e090720, 0x5e180594, 0xe0260e5e, 0x09385038, 0x2283e007, 0x82803021, 0x0040247c, 0x82ffff03, 0x01802b6f, 0x00070081, + 0x001f000f, 0xa45e1200, 0x021e2205, 0x33088414, 0x07141637, 0x2f220601, 0x37342601, 0x17323601, 0x25362580, 0xdb200282, 0x252d0483, 0xfe0a0a46, + 0x0a1a0aee, 0x010a0a16, 0x21078212, 0x16842501, 0x2385db20, 0x1182d520, 0x1d821e82, 0x1e831a20, 0xe7840a20, 0x2207f753, 0x5f340024, 0x0328111f, + 0x23153315, 0x07221715, 0x8207255a, 0x5f1620eb, 0xfa4d0f44, 0x0d802c05, 0x400d1313, 0x2440e0e0, 0x83604913, 0x4e10820b, 0x19840520, 0xbb188020, + 0x0126095d, 0x30402020, 0x11862070, 0x20853582, 0x00130d2b, 0xff000004, 0x018001bd, 0x068f44c3, 0x235a4920, 0x012f2208, 0x86f38307, 0x35262904, + 0x1f363411, 0x32363701, 0x11200486, 0x180aac43, 0x2a18534d, 0x12120866, 0x05362608, 0x8436050a, 0x8e262004, 0xf008220f, 0x2d028e08, 0x0906bd01, + 0x0a20fe0a, 0x2d2d0609, 0x03850303, 0x01211182, 0x21118be0, 0xa144c8fe, 0x0678430a, 0x00000023, 0x08a75408, 0x21000922, 0x2d24cf82, 0x35003100, + 0x23056345, 0x3b363435, 0x53058757, 0x3b210ec9, 0x271a8201, 0x011d1632, 0x15233503, 0x2007ee42, 0x06644817, 0x37200f87, 0x142e2083, 0x35012b06, + 0x20200d13, 0xd001130d, 0xbd7c2f21, 0x212f3005, 0x131a1370, 0x220f4060, 0x17221717, 0x86a040a8, 0x0de82209, 0x342a8213, 0xc0130dc0, 0x20010d13, + 0xf0fe212f, 0x1a26261a, 0x2f211001, 0x25198340, 0x20c0fe40, 0x31827820, 0x8f221723, 0x85008220, 0x1331230a, 0x3182800d, 0xff010032, 0x02cdfffd, + 0x00b30183, 0x01000037, 0x01070616, 0x7f07a84c, 0x178f17c1, 0x16362108, 0x067c0217, 0x0ffe0b07, 0x50061a0b, 0x450c0606, 0x0d07043c, 0x383c0407, + 0x0e06041c, 0x371c0407, 0x07820f82, 0x1c373c24, 0x0f870704, 0x3b211f82, 0x212f8245, 0x04821901, 0x82e6fe21, 0x0b872d35, 0x65270719, 0x04080407, + 0x2f1f6606, 0x30270784, 0x0306661f, 0x90070408, 0x8227200f, 0x065b472f, 0x0002c02d, 0x2300c001, 0x00004700, 0x6c071537, 0x1d210835, 0x2e681801, + 0x8415200e, 0x6233200f, 0x232c06a7, 0x37272221, 0x3b141533, 0x013d3201, 0xa02b078f, 0x0d13029e, 0x38130d60, 0x86380808, 0x78012b03, 0x0d13130d, + 0x060240fe, 0xfe5c299f, 0x29a0260a, 0x0102069f, 0x201b83c0, 0x20168a20, 0x213e8440, 0x408a9e02, 0xae823820, 0x82010021, 0x02402704, 0x00400140, + 0x45180037, 0x3b210fbf, 0x8f8d9601, 0x2002219d, 0x00208a84, 0x30200583, 0x0b86748b, 0x7d820120, 0x04829184, 0x08085823, 0x82038f58, 0x2a878283, + 0x0001c0ff, 0x2f00c001, 0x18370000, 0x20075799, 0x08545035, 0x82143a41, 0x231784a0, 0x0d1358a8, 0x20215f95, 0x41938340, 0x4020050e, 0x0021998e, + 0x0a2f4305, 0x77821920, 0x41003727, 0x34350000, 0x0f551836, 0x057e7408, 0x34013d2c, 0x1d32013b, 0x15163701, 0x91692311, 0x57112009, 0x25200dd8, + 0x2c07935b, 0x400d1311, 0x01090750, 0x30080868, 0x2e728208, 0x09800ea2, 0x09076007, 0x08a00e80, 0x49330814, 0x702d052a, 0x0709130d, 0x130de050, + 0x0709c0fe, 0x29998301, 0x08084008, 0x110a4028, 0xad728bfe, 0x75012805, 0x056b0a11, 0x832ffb05, 0x21538230, 0x5382f0fe, 0x02004022, 0x31089751, + 0x00170009, 0x07170100, 0x012e0723, 0x07353727, 0x72583236, 0x01373609, 0x3e6040c0, 0x0b100753, 0x3e16c053, 0x0b75162b, 0x0b350b1e, 0x2a15820b, + 0x100b5380, 0xb73e5307, 0x823e2b16, 0x21148215, 0x03450b1e, 0x80023605, 0x0700c301, 0x21000f00, 0x00003400, 0x34262213, 0x15013b36, 0x21058402, + 0xdd832223, 0x07061431, 0x2f262706, 0x3e323501, 0x13363701, 0x4a15011e, 0x2e2e05f5, 0x37352302, 0xc0363736, 0x1b25251b, 0x0382e020, 0x1b202908, + 0x66492c01, 0x342d4d48, 0x1c3a2d23, 0x30130f2b, 0x32484dd2, 0x30382f4e, 0x1c2b0f13, 0x33232d3a, 0x36252001, 0xe5fe8025, 0x20080482, 0x262e32c0, + 0x040a1142, 0x80100d02, 0x200c090b, 0x42111901, 0x152c1f26, 0x0b090c20, 0x020d1080, 0x06334604, 0xc001002b, 0x32002a00, 0x00003a00, 0x05bd6b12, + 0x1f060726, 0x020e1601, 0x09c64018, 0x28069245, 0x3f262223, 0x2e273601, 0x09ac7401, 0x2e07b254, 0x1796d496, 0x03111d2a, 0x04020109, 0x424e0307, + 0x4e2f0611, 0x09010907, 0x322c1103, 0x26263486, 0x84e62634, 0xc0012e05, 0x41225d83, 0x130b1536, 0x05070342, 0x07384303, 0x42070b29, 0x5a200b13, + 0x82bd5d34, 0x5c028729, 0x192f0f7b, 0x2f001d00, 0x00004a00, 0x36343537, 0x8217013b, 0x32b38291, 0x26220614, 0x37320134, 0x14150601, 0x33173716, + 0x4f361735, 0x172005dc, 0x24082549, 0x17163227, 0x20d28314, 0x24be8222, 0x012e2223, 0x2e3f8327, 0x011e1732, 0x16070960, 0x09077660, 0x8296d436, + 0x012d08c4, 0xfe323d00, 0x7c7124f5, 0x241c3320, 0x323d4f71, 0x0907837c, 0x2c230709, 0x01042318, 0x10020302, 0x12020107, 0x111c100b, 0x11030503, + 0x270b8206, 0x09074090, 0x37010960, 0x962e3b82, 0x24d6fed4, 0x3d320b01, 0x20c0714f, 0x07836f20, 0x097c2423, 0x2e208207, 0x01181fc0, 0x06020204, + 0x190e0f0b, 0x82060310, 0x02003807, 0xc0fff4ff, 0xc0017402, 0x33001a00, 0x16010000, 0x23060706, 0x85062722, 0x2d098202, 0x013f012e, 0x32213336, + 0x37320317, 0xbf543736, 0x012e3905, 0x1716013d, 0x37323316, 0x16352115, 0x261a5a02, 0x2c07072f, 0x1e581e1d, 0x1d2d0282, 0x2f07062d, 0x09411a26, + 0x12940112, 0x26b58309, 0xfe0d1309, 0x820e0940, 0x09092dbf, 0x8001110d, 0x28490110, 0x2101065a, 0x012e0084, 0x68285a06, 0xeffe0f0f, 0xc5030101, + 0x2682130d, 0x0103c52b, 0x64640401, 0xff030004, 0x209b82fa, 0x299b8286, 0x001b000d, 0x25000025, 0x494c3335, 0x11352a06, 0x16251533, 0x22212306, + 0x209e8726, 0x3f1b8311, 0x2622012b, 0x13404001, 0x0d00ff0d, 0xfb014013, 0xfd13120a, 0x0b1213c0, 0x01110955, 0x25091196, 0x2105c451, 0x1e83a040, + 0x010d1332, 0x10f2a000, 0x80102222, 0x1efe0e0e, 0xf0fe1001, 0x0034ad82, 0x00030000, 0x02e0ff00, 0x00a00100, 0x001f000f, 0x1300002f, 0x0e6ef418, + 0x180f2a50, 0x200f7b54, 0x09585210, 0x0a287d18, 0x5c600121, 0x88820ac7, 0x04821a84, 0x07095022, 0xb0200a87, 0x8f4e0a89, 0x056b4606, 0x07000331, + 0x13000b00, 0xb400b000, 0x17370000, 0x83372707, 0x18088202, 0x2b087161, 0x012f3436, 0x012f3637, 0x27010f26, 0x08084718, 0x0cc85618, 0x0f9d3182, + 0x011f0625, 0x82013f16, 0x8243825c, 0x9607200b, 0x8223820f, 0x867b8247, 0x890f961f, 0x8237208b, 0xbc072590, 0x9e2d2d2d, 0x02830382, 0xe2426a20, + 0x02bb3305, 0x051d1d02, 0x06050c05, 0x11222e1c, 0x060b0606, 0x06871106, 0x0d840520, 0x1c2d2222, 0x1c201684, 0x2d200686, 0x05202685, 0x1d842688, + 0x82211121, 0x20468226, 0x204dca05, 0x20a78298, 0x200382ed, 0x20038244, 0x220382b5, 0x83967101, 0x039223b4, 0x8cf10306, 0xa4050c21, 0x823320da, + 0x0abb42a7, 0x2f002b24, 0x0b564d00, 0x0ad54605, 0x2309df46, 0x013f3435, 0x2f05ad74, 0x1632013b, 0x3233011d, 0x23352717, 0x33351715, 0x2205e443, + 0x82013d26, 0x068a4c09, 0x01220987, 0x067909f7, 0x35058705, 0x330d092e, 0x14a0141c, 0x090d331c, 0x80c08089, 0x40fe0d13, 0x238b130d, 0x0d09e925, + 0x18071053, 0x37088b43, 0x090d5310, 0x1450092e, 0x50141c1c, 0x40400909, 0x0d6010d0, 0x600d1313, 0x002c2289, 0xfffeff01, 0x018202c0, 0x002500c0, + 0x2705d359, 0x012f010e, 0x011d0626, 0x22054650, 0x5734013d, 0x1e300abb, 0x37363201, 0x04067702, 0x0d033903, 0x0f083905, 0x2405fc43, 0x0639080f, + 0x3512820c, 0x0fc30604, 0x0f3f4c3f, 0x0d036001, 0x05067206, 0x09041c03, 0x7283fe09, 0x0909fe26, 0x05031c04, 0x0d271482, 0x1a156003, 0x8200151a, + 0x00032600, 0x01bdff00, 0x257b8243, 0x003a0007, 0x137e0049, 0x1e172108, 0x2a054558, 0x1707012f, 0x16011f16, 0x8226010e, 0x24028293, 0x0607013f, + 0x291b820f, 0x013f012e, 0x063e3736, 0x1e823233, 0x16370723, 0x23168317, 0x34262206, 0x47081682, 0x1c1c28e4, 0x0c2e1c28, 0x0c190c09, 0x05091717, + 0x040b2d11, 0x1a0d0316, 0x04120317, 0x08173c0b, 0x050c1a0f, 0x18180607, 0x10060608, 0x07150422, 0x0e0e0911, 0x0c382307, 0x0814cd09, 0x09050e28, + 0x131a0a3b, 0x010a3209, 0x2205cc7d, 0x821906b1, 0x0c0b3a29, 0x32451119, 0x0d59100b, 0x0d0d0617, 0x420c0f4a, 0x0b3c2219, 0x0b0e0b04, 0x3c658209, + 0x010e200e, 0x02060309, 0x222a0103, 0x0a34991d, 0x090c222c, 0x1a13093c, 0x0009320a, 0x08df4402, 0x24001c22, 0x2011894e, 0x05435721, 0x06222126, + 0x04331614, 0x21061d52, 0x575ccd01, 0x251b3e05, 0x70011b25, 0x07091c14, 0x090780fe, 0x43010709, 0x1a13131a, 0x1c400113, 0x1400ff14, 0x241c821c, + 0x1c251b40, 0x221a8214, 0x4ed0090e, 0x076305fa, 0x0024240c, 0x7a4f0036, 0x2c080981, 0x32161417, 0x27343536, 0x3231013a, 0x2e343637, 0x26012f01, + 0x1e060706, 0x06011f02, 0x013e1617, 0x07222627, 0x031e010e, 0x32363736, 0x2c0e8237, 0x010f022e, 0x1617010e, 0x06333233, 0x223b8615, 0x8291ce91, + 0x82882002, 0x01022b6c, 0x01030c01, 0x50030503, 0x0b820b07, 0x05022708, 0xa80a1e04, 0x06061206, 0x0220621f, 0x06040202, 0x15030707, 0x06066246, + 0x08060102, 0x06075004, 0x010c0302, 0x39820201, 0x61630a20, 0x0d573006, 0x020d1313, 0x06040b06, 0x18010405, 0x84060602, 0x090a2c08, 0x100408a8, + 0x03262608, 0x82060608, 0x19042860, 0x070b02a2, 0x82010604, 0x070b2422, 0x8303050b, 0x090e2235, 0x2d008200, 0xff000002, 0x014002c0, 0x002200c0, + 0xf7620032, 0x012b2b07, 0x023d2622, 0x06222634, 0x7357011d, 0x36342607, 0x2111013b, 0x0f636611, 0x0730022b, 0xa0070909, 0x50380907, 0x25078438, + 0x02100709, 0x14831000, 0x83e0fd21, 0x07092205, 0x26068320, 0x3828a010, 0x50b02838, 0x01250609, 0x01a0fe60, 0x821a86c0, 0x8200201f, 0xc0ff228c, + 0x21018201, 0x0b820400, 0x00113608, 0x001b0016, 0x003a0023, 0x004a0042, 0x07062500, 0x23013f36, 0x27162726, 0x2317021e, 0x0607013e, 0x17362307, + 0x16332726, 0x07010e37, 0x1727022e, 0x14060714, 0xdb741917, 0x06152a0f, 0x16140622, 0x13343632, 0x051d4235, 0x083e0133, 0x27020c2d, 0x2d0c0227, + 0x080a0456, 0x0f012e01, 0x290f8222, 0x082d2d08, 0x014c0227, 0x1483070f, 0x020af72f, 0x0b0f0a02, 0x3729bafe, 0x46012937, 0x0561721a, 0xfe202208, + 0x12130de0, 0x1531f00e, 0x2920291d, 0x051e151d, 0x1e152312, 0x291d022a, 0x31159731, 0x2a1e2929, 0x2a118307, 0x09050f96, 0x090a0c34, 0x820e0c10, + 0x4035083c, 0x261a3729, 0x4b4b6a4b, 0x40cbfe6a, 0x00121c12, 0xfdff0400, 0x8301beff, 0x1400c501, 0x78002c00, 0x00008300, 0x32331637, 0x010e0737, + 0x2207012f, 0x16013f26, 0x29018317, 0x23061605, 0x26060727, 0x1d83012f, 0x36373628, 0x013e3237, 0x27833633, 0x22262722, 0x272c1882, 0x2627072e, + 0x27012e27, 0x34363726, 0x3e210482, 0x83238201, 0x17362827, 0x36373216, 0x82011e17, 0x031e2247, 0x05db6917, 0x07255e82, 0x060e0706, 0x05834226, + 0x012e4b08, 0x16612223, 0x3411121e, 0x25061103, 0x030a0934, 0x030d0c2e, 0x01040906, 0x090a0321, 0x11062534, 0x12113403, 0x0201161e, 0x02020904, + 0x0c0d0203, 0x0c1c0a4a, 0x0c091809, 0x04030a1c, 0x07020404, 0x16030903, 0x0f050606, 0x00820611, 0x050f113a, 0x19160606, 0x110a0208, 0x150a1516, + 0x090f1116, 0x04061615, 0x0a030801, 0x2b081f8a, 0x07030a03, 0xa8050503, 0x19374e37, 0x55271a2b, 0x08800a15, 0x02260603, 0x0a70080e, 0x02010104, + 0x0e085905, 0x03062602, 0x150a8008, 0x02240d82, 0x0a040101, 0x06223383, 0x06820706, 0x03030424, 0x01820201, 0x1517062a, 0x16111009, 0x17150a16, + 0x16206682, 0x0822de82, 0x65850b01, 0x05051027, 0x040f1607, 0x2a75820e, 0x160a1517, 0x09101116, 0x82061715, 0x01033133, 0x50c90504, 0x1a283838, + 0x00001a2c, 0xffff0200, 0x80250482, 0x11008001, 0x5d5f1800, 0x012f280c, 0x013f3426, 0x18053336, 0x3b1a4571, 0x251b4002, 0x8dfe1b25, 0x0997131a, + 0x1a139709, 0x3e3e1e01, 0x0c160c0c, 0x0b3e3e0b, 0x0c200682, 0x012f0d8c, 0xff1b2580, 0x13251b00, 0x0a1a0a96, 0x93fe1396, 0x20318623, 0x0beb7d00, + 0x27000f29, 0x4d003700, 0x65005d00, 0x34320dd1, 0x15073336, 0x07061714, 0x37013e23, 0x23030e23, 0x12822622, 0x1f163222, 0x200ead58, 0x06c55b33, + 0x2327262e, 0x2317011e, 0x3d362726, 0x013e3301, 0x0ca94018, 0x01263882, 0x13130d70, 0x0483600d, 0x3606402d, 0x390b3211, 0x0c03502a, 0x830a130f, + 0x201423e2, 0x1e882507, 0xc4820220, 0x821b2521, 0x2a502b12, 0x11320b39, 0x07550636, 0x1d881420, 0x86a00121, 0x324a8245, 0x0c0e4838, 0x4f303f27, + 0x0a0f0919, 0x25362506, 0x89e81216, 0x1001211c, 0x192b1184, 0x273f304f, 0x12480e0c, 0x89f0fe16, 0x0200381c, 0xc0ff0000, 0xc101c701, 0x3b003100, + 0x23050000, 0x35262722, 0x69373634, 0xf75109d1, 0x16152407, 0x7e273717, 0x37680535, 0x16073a05, 0x06071415, 0x21070627, 0x35012f26, 0x2e011523, + 0x1a1226dc, 0x07102c34, 0x065b5409, 0x1215102a, 0x0c0c0927, 0x340c0b0b, 0x093a0584, 0x121a1b2b, 0x011325dc, 0x18251300, 0x2c214060, 0x19593433, + 0x2007099a, 0x04840a06, 0x110c9a22, 0x2e822f82, 0x05832f82, 0x2e2b092e, 0x212c3335, 0x272716fd, 0xb6b60d16, 0x2b077b47, 0x018001c0, 0x000900c0, + 0x0023001b, 0x2005ab41, 0x25b28221, 0x21350333, 0xa57d1415, 0x26222605, 0x2223013d, 0x2f771826, 0x60013407, 0x80fe130d, 0x01200d13, 0x401b2580, + 0x40253625, 0x61ca251b, 0xc0240519, 0xe0e00d13, 0xc0231d82, 0x831b2020, 0x201f8316, 0x05fe604d, 0x2a0a4b6a, 0x00400034, 0x00520048, 0x4264005c, + 0x6d870a1d, 0x84012b21, 0x6bd0186f, 0x5125201c, 0x34200646, 0x61182c82, 0x372907aa, 0x06222335, 0x1614011d, 0x2511823b, 0x2634013d, 0xad66012b, + 0xe8012107, 0x1e7ad018, 0xc558c020, 0x1a3d2c05, 0x131a1313, 0x130d70a0, 0x84900d13, 0x73702105, 0x01211284, 0x81d01840, 0x10382721, 0x08100808, + 0x4182b0fe, 0x5d1a1322, 0x210a4f42, 0x9b63f0fe, 0xff013708, 0x02c0ffff, 0x00c00102, 0x2500005b, 0x06071416, 0x16232223, 0x07831617, 0x27262724, + 0xcf821415, 0x4e013d21, 0x26250510, 0x22373637, 0x05e16e23, 0x022e372e, 0x34353427, 0x17323336, 0x3017021e, 0x3e230a82, 0x82363701, 0x1504260c, + 0x023e1514, 0x37188337, 0x020e0716, 0xf7011607, 0x493c0909, 0x050c0909, 0x07040703, 0x28250302, 0x28239482, 0x82020325, 0x0326080d, 0x09090c05, + 0x09093c49, 0x2b1c2c20, 0x0709030b, 0x220b0102, 0x16212153, 0x04120408, 0x10150904, 0x2253210d, 0x2a83010b, 0x0b03023f, 0x582d1c2b, 0x1f051305, + 0x07091116, 0x1b0c0105, 0x40080840, 0x05010b1c, 0x16110907, 0x0818821f, 0x2109112a, 0x020b2356, 0x010a0602, 0x1a290a02, 0x70350103, 0x07070d28, + 0x302e1005, 0x01032146, 0x020a291a, 0x09060501, 0x2156230b, 0x2b08a747, 0x010002bf, 0x001400c1, 0x01000029, 0x21090257, 0x0356013f, 0x05172106, + 0x2006da62, 0x20dd831f, 0x0822821f, 0x06010f2e, 0x08f80122, 0x07dafe08, 0x08a60716, 0x15072408, 0x08f07008, 0xd3fe0715, 0x2a05057b, 0x45050e06, + 0x050f059d, 0xd405052a, 0x14010f05, 0xfe242482, 0xa70808d8, 0x25280782, 0xf1710707, 0x7c930808, 0x45211e85, 0x222e839c, 0x5ed2050f, 0xff2e051e, + 0x02c0fffb, 0x00c00140, 0x002d0017, 0x41180500, 0x272a0c45, 0x21333626, 0x010f1632, 0x49601315, 0x37560806, 0x36323316, 0x22232634, 0x3e230706, + 0x11280101, 0x08f00817, 0xa9381117, 0x01110c0b, 0x0b0c116e, 0x543cc0a9, 0x23283c54, 0x28141324, 0x1a283838, 0x0f340d2c, 0x1117104a, 0x17110808, + 0x1e0ca97d, 0x7da90c1e, 0x7854d001, 0x09241554, 0x1a385038, 0x00352b16, 0x00820002, 0x0100022e, 0x00190080, 0x01000029, 0x2115011e, 0x48142a44, + 0x01290faf, 0xfe6e5220, 0x10526e40, 0x05915b07, 0x10070923, 0x210a83d0, 0x058320fe, 0x0b3d0128, 0x7e54547e, 0x1682130b, 0x25820f83, 0xe576fe20, + 0x00002c0a, 0xffffff04, 0x010602ba, 0x822500c6, 0x003525fb, 0x2500003d, 0x0e28ec82, 0x06010f02, 0x012e012f, 0x262d0385, 0x013f3435, 0x013f013e, + 0x16011f36, 0x209c821f, 0x07974a17, 0x3a0fc159, 0x1307fe01, 0x17130524, 0x2a27450a, 0x0c2b114d, 0x02160d37, 0x240e020c, 0x83102108, 0x1e2a2111, + 0xfe211083, 0x0ad359b1, 0x0b84b320, 0x272ac13b, 0x13170a45, 0x07132405, 0x0d15030c, 0x122b0c37, 0x1f0b0a4c, 0x220f451d, 0x21138308, 0x12831f06, + 0x8313bd21, 0x848d202c, 0x43932005, 0xc3850847, 0xc5010526, 0x2b002300, 0x9b06b778, 0x1e1725c3, 0x16143301, 0xff24c198, 0x06231306, 0x2627c195, + 0x354a012a, 0x90d9fe4a, 0x2ac022be, 0x20be9b26, 0x20358234, 0x2cbb9471, 0xff000002, 0x010002c0, 0x001800c0, 0x0aad5931, 0x2006f044, 0x07256835, + 0x33110126, 0x26222315, 0x5d180f82, 0x34250891, 0x32013b36, 0x05cd4416, 0x0a0e282b, 0xa00e0a30, 0xfe130de0, 0x240583e0, 0x0e0e0a28, 0x2014850a, + 0x841a8460, 0x48012a10, 0xff0d1360, 0xfe480100, 0x210882b8, 0x19880001, 0x0800003a, 0x20000000, 0x60018002, 0x1b000f00, 0x33002700, 0x4b003f00, + 0x67005b00, 0x18119f4c, 0x210bf560, 0x83821427, 0x34013d27, 0x1522012b, 0x180ba217, 0x180f89ae, 0x83073360, 0x0b7a5d3a, 0x08100124, 0x028208e0, + 0x1008e823, 0x06445408, 0x28250690, 0x07d00709, 0x87048409, 0x8401202e, 0x130d2adf, 0x00010d13, 0x00ff130d, 0x20008308, 0x09445d48, 0x05864d85, + 0x83303021, 0x2004833d, 0x4d278479, 0x21240c27, 0x41002900, 0x3809274d, 0x3e16011f, 0x37012f01, 0x012e013e, 0x27010f06, 0x1f010e26, 0x1e060701, + 0x08ac6901, 0x37273725, 0x8b012e36, 0x013f221a, 0x22348217, 0x8291ce91, 0x1d982e02, 0x07051107, 0x01051c1c, 0x040a0806, 0x300d861d, 0x08100507, + 0x26263463, 0x1cd32634, 0x0f06071c, 0x84188b08, 0x06164d0b, 0x1d863e20, 0x080a0425, 0x89050106, 0x0604222b, 0x223c82ad, 0x889d3426, 0x21448638, + 0x24840604, 0x00003408, 0xff000003, 0x010002be, 0x000800c0, 0x00480040, 0x07172500, 0x022f010e, 0x020e3736, 0x0f272223, 0x2e220601, 0x37273501, + 0x36262726, 0x1736013f, 0x77371716, 0x173408c1, 0x30270706, 0x31223022, 0x32331607, 0x1f363736, 0x26011e01, 0x0806814c, 0x37c90176, 0x070e0107, + 0x522c3736, 0x315c4c1b, 0x36473234, 0x05060803, 0x17214707, 0x1c060303, 0x140e090c, 0x50380c44, 0x23340c38, 0x02023330, 0x39222343, 0x0d081f64, + 0xea04061c, 0x1a13131a, 0x3a606813, 0x17030808, 0x297e115f, 0x7b13203d, 0x06040117, 0x1c7c3a04, 0x030d0622, 0x150d0810, 0x18167612, 0x28383828, + 0x24591618, 0x0c74580d, 0x070d2f37, 0xb40d040f, 0x4308f343, 0x43300537, 0x2d00c301, 0x00004400, 0x1d011e01, 0x35071401, 0x2005e24d, 0x21088706, + 0x11862726, 0x013d2637, 0x32333634, 0x1e363717, 0x05070601, 0x34353632, 0x0727012e, 0x22f68506, 0x8323012a, 0xca0124d6, 0x82403f37, 0x463a2161, + 0x46210482, 0x0804823a, 0x77a94030, 0x0ba12728, 0x0c060d1a, 0x8d63f0fe, 0xa325391f, 0x07071a0a, 0x01570c06, 0x8d630105, 0x1247018d, 0x2da11f36, + 0x130d6023, 0x127a0d13, 0x07836f03, 0x12036f23, 0x3407837a, 0xa12d2360, 0x60054b35, 0x1a170607, 0x212ff506, 0x07151b0f, 0x263b8261, 0x35061a0b, + 0x6f2f422f, 0x022d0663, 0x00a00140, 0x0016000b, 0x002a0020, 0xe5601836, 0x2f36210e, 0x2505d060, 0x32163617, 0xa5822e37, 0x07010e2f, 0x22263537, + 0x16141507, 0x3e173632, 0x82de8202, 0x161724c5, 0x82a9eea9, 0xcd2a0802, 0x381a0f08, 0x153b4644, 0x061f3c3c, 0x190e1522, 0x207d0412, 0x34262040, + 0x3a262f26, 0x1a384421, 0x0106080f, 0xc0354ba0, 0x04834b35, 0x1d532808, 0x260a2c1b, 0x0a261716, 0x14031910, 0x0d140c19, 0x03030d8d, 0x26261a0d, + 0x1c15076d, 0x0a26160f, 0x191d1b2c, 0x44010000, 0x212008a3, 0x06210c82, 0x05e26b0f, 0x0e070624, 0xe36b2301, 0x3736340a, 0x0002063e, 0x516a2d09, + 0x6593100e, 0x3f1f4b3a, 0x6b073920, 0x023508dd, 0x44320504, 0x2c564f5b, 0x6e7dc001, 0x31161935, 0x04030831, 0x08db6b39, 0x222eb32a, 0x2e385733, + 0x00051218, 0x31051741, 0x018001c0, 0x001100c0, 0x0029001d, 0x005d0054, 0x66181300, 0xb65a0ab9, 0x49072005, 0xb1620af6, 0x2213250b, 0x07012e27, + 0x2305fb6b, 0x0622012b, 0x0805ce5f, 0x17013f2b, 0x31321716, 0x36013f32, 0x3b161732, 0x34363201, 0x16132326, 0x3523011d, 0xe0173233, 0x0e880a0e, + 0x0ab0fe0a, 0xc80a0e0e, 0x06c361a0, 0x82085021, 0xc1230808, 0x2b090307, 0x22060e0e, 0x08031206, 0x0909070c, 0x170e0c07, 0x03110b04, 0x040a010b, + 0x030e0308, 0x832f1b0c, 0x18492015, 0x270ef966, 0x0e0ad001, 0x08081048, 0x07c1a218, 0x0600ff38, 0x290c0912, 0x08361111, 0x10090e09, 0x0a321f0e, + 0x060f0901, 0x0d821806, 0x07170125, 0x1880060a, 0x8609db43, 0x002722fb, 0x24f79330, 0x2b263613, 0x09475401, 0x1f062226, 0x37321601, 0x4c32ca95, + 0x410b0808, 0x07200709, 0x080b4109, 0x0e056008, 0xa792ad05, 0x07a5fe24, 0xc4835014, 0x07145027, 0x01050560, 0x368e8552, 0xff000003, 0x014702c0, + 0x000800c0, 0x00330017, 0x23150100, 0x82323335, 0x1617276e, 0x2606010f, 0x0e82013d, 0x3634352a, 0x16140517, 0x1415013b, 0x0da4c218, 0x233a1182, + 0x01150622, 0x0a068080, 0xbb076207, 0x07600c0c, 0x14404014, 0x09e5fe07, 0x6c41b007, 0x0a0e2708, 0x0907b088, 0xff824601, 0xc4076222, 0xb1832482, + 0xad834020, 0x09077c2b, 0x0e0e0a88, 0x0ad0010a, 0x2308820e, 0x00070980, 0x2205cf44, 0x820002c0, 0x00092293, 0x22938312, 0x62153337, 0x252006e9, + 0x13696918, 0x33013d23, 0xb98b1815, 0x3411270b, 0x10013b36, 0xed827070, 0x07f00127, 0x070a0680, 0x08fa4137, 0xfd828020, 0x8024a584, 0xa0c80a0e, + 0x2105aa58, 0x691807b7, 0x88200c63, 0x60209883, 0x0123a586, 0x820e0a08, 0x82002092, 0xc0ff2397, 0x93828001, 0x0c000332, 0x2a001e00, 0x42003600, + 0x00005200, 0x35231525, 0xc0429594, 0x0b60471d, 0x4208e741, 0x352505c5, 0x01c02001, 0x42b78e19, 0x01210fb2, 0x05c04200, 0x2606294e, 0xc00907e0, + 0x8d974040, 0x0f9e42c8, 0x2006f260, 0x08454ad0, 0x2b0c8743, 0x001a0008, 0x00320026, 0x0100006d, 0x91136541, 0x0a9b43cf, 0x3e131522, 0x2e2ad182, + 0x26012f01, 0x3b363435, 0xb2653201, 0x066b182a, 0x0c9e4313, 0x19129025, 0x65090f08, 0x012025a2, 0x12306b18, 0x2e05a243, 0x10080858, 0xe8fe0808, + 0x0a121a01, 0x65030d12, 0x18230c9e, 0x82180808, 0x0f9e6517, 0xaf7d1682, 0x44012008, 0x3b2405ab, 0x4c004300, 0x2414b143, 0x27010f26, 0x0eca4136, + 0x33013d23, 0x07e35917, 0x2a06c359, 0x23012f36, 0x16323335, 0x43370614, 0x98440769, 0x0c45280c, 0x21211e0b, 0x4b501b25, 0x132506ca, 0x0b0b1e3b, + 0x2014820b, 0x2204821e, 0x821e0b0b, 0x3080220d, 0x201c8230, 0x057343c9, 0x09876b18, 0x0ad00125, 0x82c5fe0e, 0x12212422, 0x54251b26, 0x302306d7, + 0x820c1e3b, 0x1e0c233e, 0x07830c1e, 0x22083e83, 0x0e092037, 0x80069609, 0x00076207, 0x00000400, 0x4102c0ff, 0x3700c001, 0x45004000, 0x00004f00, + 0x43011e37, 0x072214e9, 0x74452615, 0x011e2616, 0x3236013f, 0x33cf8713, 0x07173707, 0x14162523, 0x3727010f, 0xda173236, 0x800c1406, 0x210b0b44, + 0x6e450680, 0x04162516, 0xa90e0308, 0x6031d785, 0x45a244a3, 0x07071901, 0x071c441c, 0x0b180815, 0x05de4a0d, 0x24052844, 0x01527f2f, 0x0f6b4505, + 0x0f0a0225, 0x84280106, 0xa2eb26d8, 0x08f9a344, 0x453c8415, 0x32292873, 0x26012f36, 0x06010f22, 0x82ff8316, 0x36322404, 0x4637013d, 0x4120143e, + 0x20066945, 0x087b4560, 0x0f156d18, 0xa8820120, 0x14a0fe27, 0x05056007, 0x07794560, 0x0246f720, 0x00022f05, 0x02bfff00, 0x00c70100, 0x00260017, + 0x73602500, 0x013f2109, 0x2e062152, 0x17323637, 0x07273713, 0x06141617, 0x82012f22, 0x07260893, 0x0909f701, 0x1c501cde, 0x5f1c1c75, 0x160c0c56, + 0x52560b0c, 0x5b091b09, 0x3b3ba331, 0x091b1209, 0x050e513b, 0x1182e702, 0x821cde21, 0x82502023, 0x820b2024, 0x820c2024, 0xfe092324, 0x248330e9, + 0x09121b26, 0x050d523b, 0x21090f41, 0x83824002, 0x22000a24, 0x85833100, 0x6a821520, 0x34352624, 0x854f3f36, 0x05595406, 0x02289099, 0x36254000, + 0x07102025, 0x802a97a2, 0x251b235d, 0x40101b25, 0xa1a57f18, 0xff062708, 0x02c0fffe, 0x00c20101, 0x002d000d, 0x005c0041, 0x0091006e, 0x16323600, + 0x06071615, 0x37262223, 0x37342736, 0x0d82011e, 0x27020e24, 0x0e83012e, 0x22272623, 0x200f8306, 0x2c0e8401, 0x1e263626, 0x17060701, 0x0e140716, + 0x82218501, 0x24328234, 0x14151417, 0x2b128707, 0x2227012e, 0x012e0607, 0x05363736, 0x08fd4f18, 0x82262721, 0x021e2b0e, 0x010e1627, 0x042e2726, + 0x46822623, 0x0e141525, 0x82302301, 0x013d2178, 0x35084682, 0x021e3217, 0x020e14f6, 0x0f12051f, 0x021e020b, 0x013e2b17, 0x0e04010c, 0x020c0909, + 0x1722010b, 0x0f011e19, 0x0b131102, 0x01010e02, 0x020f493b, 0x01011d06, 0x1e84050b, 0x010a7c08, 0x89062801, 0x06016d4c, 0x0a0b0e01, 0x0106020d, + 0x12395101, 0x05110910, 0x0118090b, 0x0a0e0612, 0x02050e0a, 0x0a040a0b, 0x06270607, 0x05141004, 0x26221e0c, 0x3c581528, 0x0b070139, 0x0d0a0106, + 0x6c4b4701, 0x30363e1f, 0x720a0eca, 0x0915126e, 0x600a6b69, 0x4d2a3c01, 0x0809044b, 0x0a100201, 0x20174847, 0x4d152001, 0x040b094c, 0x49460a10, + 0x0d1a3c29, 0x2e230813, 0x85033c3e, 0x37590820, 0x08313f39, 0x4a6b013a, 0x35350707, 0x01010e08, 0x39380a10, 0x04014f37, 0x11140a02, 0x1c7a0502, + 0x0f0e0a2c, 0x0a172709, 0x02010211, 0x08560805, 0x09030b14, 0x10161c11, 0x393c0109, 0x0b061852, 0x150a0f06, 0x014a4866, 0x002a1d10, 0xff020000, + 0x022000fe, 0x00600140, 0x05eb5a18, 0x14021e35, 0x2223020e, 0x06072726, 0x27013f26, 0x011f3626, 0x7016013e, 0x3b0809f1, 0x61304701, 0x40282840, + 0x703e3061, 0x14095826, 0x02191902, 0x26570a14, 0x0f138c70, 0x0905090f, 0x60010307, 0x1a333729, 0x3c293733, 0x0b07422a, 0x0a6e6e0a, 0x2a42070b, + 0x140eb83c, 0x2405cb70, 0x00000600, 0x075618ff, 0x7b172009, 0x00200665, 0x27077f7e, 0x14163226, 0x34262206, 0x08dd6318, 0x7e841420, 0x32172224, + 0x35192b34, 0x01220b37, 0xbc18144e, 0x11320950, 0xce9191ce, 0x3c2a5091, 0xbe3c2a2a, 0x10801010, 0x0a838210, 0x82f82a21, 0x20028775, 0x212182ce, + 0x9682ce91, 0xf8232582, 0x84682020, 0x1800202c, 0x690b877f, 0x272005ff, 0x2009574e, 0x227b8716, 0x4b273616, 0x062406df, 0x32363716, 0x34240182, + 0x14062226, 0x91375184, 0x131a1388, 0x09a81a13, 0x3d05010d, 0x2228131e, 0x090d0103, 0x83293431, 0x4e132014, 0x2a200621, 0xd72c0c84, 0x1b090c03, + 0x131d0d22, 0x0f030c09, 0x7f823585, 0xfaff0232, 0x0602c0ff, 0x1700c001, 0x00001b00, 0x33150701, 0x2713e252, 0x21172107, 0x38d6f601, 0x3107cf52, + 0x171110d6, 0x1117bc01, 0x3088fe4a, 0x86011801, 0xc252c0d6, 0xd6c02905, 0x062a2a10, 0x02000030, 0x200a6741, 0x26d3896a, 0x3b363405, 0x72012e01, + 0x0f2206dd, 0x02820601, 0x14011d28, 0x32013b16, 0x0583011f, 0x14151622, 0x2f251282, 0x012b2601, 0x201b8922, 0x28238216, 0x32331617, 0x3736013f, + 0x82048236, 0x013d2202, 0x82238334, 0x20108329, 0x843e8333, 0x4135201f, 0x01360516, 0x12070998, 0x093b590e, 0x05081906, 0x0e060308, 0x5a07090c, + 0x01820506, 0x09070a25, 0x82062f0b, 0x0d2e0810, 0x1b0f1201, 0x19172016, 0x08080907, 0x0d080f11, 0x01040e0b, 0x13020104, 0x08070903, 0x040d0508, + 0x02030705, 0x13040403, 0x03040503, 0x4c41090f, 0x07473206, 0x09523a09, 0x07090715, 0x0401050c, 0x07040c03, 0x38558209, 0x030c0609, 0x07030210, + 0x10150b06, 0x20170e1b, 0x131d0709, 0x140c0f11, 0x26458210, 0x19030416, 0x820b0504, 0x06142f31, 0x0101020f, 0x02030c03, 0x000a0408, 0x23410300, + 0x005f220a, 0x0a25416e, 0x34353622, 0x2b24d882, 0x23012e01, 0x08d38f18, 0x3b23e284, 0x82363201, 0x061f6019, 0x013f3222, 0x3f210d83, 0x2c058202, + 0x14150706, 0x06012f06, 0x16171607, 0x05585b1f, 0x14011d27, 0x07011e17, 0x05364115, 0x37363723, 0x26578217, 0x0f060727, 0x82140601, 0x06284122, + 0x0e4a2108, 0x0d090e09, 0x06160443, 0x070b0e10, 0x02031f08, 0x02090506, 0x04050603, 0x02010f02, 0x0904020a, 0x3208ae82, 0x06040606, 0x0b050a06, + 0x0c0c1d0b, 0x4718080f, 0x08091920, 0x110f010a, 0x09101f12, 0x15010d0b, 0x04011116, 0x5f030501, 0x0d15021d, 0x04130406, 0x41051204, 0xd523062f, + 0x820d130e, 0x1e022b60, 0x07030607, 0x010a0309, 0xfd820804, 0x02011f23, 0x215b8204, 0x58890802, 0x02013008, 0x0409090b, 0x26471f0c, 0x01090c0d, + 0x1109090d, 0x0d201309, 0x0a1f0b09, 0x022f051b, 0x0304070e, 0x0b0f0864, 0x03062a2f, 0x0e061e05, 0x41081b06, 0x38220c3f, 0x3f416d00, 0x37172109, + 0x2206c74d, 0x4634013d, 0x262c058d, 0x15062223, 0x32331714, 0x1636013f, 0x20056942, 0x821c8536, 0x32332310, 0x27833517, 0x2505ab52, 0x2b06010f, + 0x81422201, 0x05844208, 0x33223285, 0x85413637, 0x41368207, 0x5308053f, 0x060111ed, 0x03050201, 0x040b0908, 0x1f1f3303, 0x3e037553, 0x03130507, + 0x04170208, 0x0907060a, 0x06060505, 0x09070505, 0x020c05b0, 0x01030604, 0x04030104, 0x02060102, 0x02030c05, 0x27030218, 0x040c0306, 0x02020a07, + 0x0b030316, 0x06050d08, 0x0905070f, 0x32073b41, 0x03021d5f, 0x0a4e0804, 0x09020604, 0x750a2603, 0x82110f53, 0x04012759, 0x0709092d, 0x59850709, + 0x0718663c, 0x03030c04, 0x0e03040d, 0x050d0203, 0x01021101, 0x0a060210, 0x050c0203, 0x50820106, 0x00204d82, 0x0d200082, 0x2c0a6b42, 0x0015000e, + 0x0021001d, 0x00290025, 0x06a76c2d, 0x4b004422, 0x250a3f41, 0x14152335, 0x27593316, 0x44362006, 0x15820787, 0x15211282, 0x6c078e17, 0x32210cb9, + 0x05984336, 0x1d411520, 0x28903205, 0x08080d13, 0x1320130d, 0x1a13131a, 0x30303035, 0x20038670, 0x2210831b, 0x82286013, 0x4222821c, 0xf720062c, + 0x38200e83, 0x95203383, 0xe0231e84, 0x8d382828, 0x13682102, 0x93241883, 0x25132808, 0x28223982, 0xcf450400, 0x8926200e, 0x520420c5, 0x9652068e, + 0x32142e07, 0x26363736, 0x27220607, 0x17010e26, 0x21a08516, 0x68845501, 0x2d056856, 0x01075960, 0x982f090d, 0x060a062f, 0x93860701, 0x71841720, + 0x0282bd82, 0x2736ed2c, 0x0f030c09, 0x0a04020f, 0x7b8c2706, 0x23001524, 0x7b893200, 0x0706252e, 0x32161716, 0x26373637, 0x07222627, 0x12200d8c, + 0x38278794, 0x0f01010f, 0x85051506, 0x8ca52006, 0x942b200d, 0x16102698, 0x09152221, 0x21059009, 0xa58cd0fe, 0x240d6346, 0x002b0017, 0x30a78939, + 0x07062224, 0x013f1614, 0x011f3236, 0x26273616, 0x210f8d27, 0xac8a042e, 0x33410620, 0x265b3008, 0x030c0223, 0x0d260c0a, 0x010d0309, 0x8b13d602, + 0x0801250e, 0x190f0e0b, 0x0921b188, 0x0849410d, 0x1e29012e, 0x11050307, 0x05111616, 0x291e0703, 0x0c260d8b, 0x070c1216, 0xb886e8fe, 0x090c0339, + 0x00000027, 0xff000005, 0x01f801c8, 0x000b00c1, 0x002d001d, 0x82500041, 0x26222d15, 0x36373435, 0x15161732, 0x37320714, 0x062c0582, 0x36342622, + 0x06173233, 0x26161415, 0xcf9cbf8d, 0x17010e3a, 0x28dc0116, 0x08022a1c, 0x09302a02, 0xce91140b, 0x4a679191, 0x4c2f083e, 0x2a42dfaa, 0x1c402f05, + 0x03371713, 0x13173703, 0x3330033c, 0x4a829167, 0x0e122925, 0x88082e21, 0x040621e4, 0x0d82f28b, 0x5142f28d, 0x0dab4105, 0x27001924, 0xab413a00, + 0x06172e09, 0x16011f16, 0x2636013f, 0x0f062627, 0x41048201, 0x25200d9c, 0x25068363, 0x07012e27, 0x2a82010e, 0xe2423720, 0x055a3205, 0x0846100e, + 0x11041402, 0x04180e10, 0x1a0e0702, 0x0d9d4169, 0x0e100e32, 0x120e0405, 0x04020709, 0x11100e18, 0x08021404, 0x3306fb42, 0x041c0f1f, 0x46080212, + 0x03021b0f, 0x02080d11, 0xfbfe0d04, 0x2f0aa341, 0x0f1c0493, 0x02030c09, 0x110d0802, 0x0f1b0302, 0x00206582, 0x240ed348, 0x00230016, 0x22c38931, + 0x82140605, 0x2f362c98, 0x34363701, 0x010f012e, 0x83060717, 0x2f3424d1, 0x8d062601, 0x34bb85cd, 0x06061a01, 0x070e0850, 0x06032121, 0x21f30408, + 0x080e0721, 0x20128450, 0x20c38d58, 0x352f84b8, 0x030e032d, 0x080f0530, 0x09042828, 0x12030206, 0x0f082828, 0x14853005, 0x8af0fe21, 0x002808b9, + 0xffffff06, 0x010102bf, 0x000b00c1, 0x002f0017, 0x004a003c, 0x0100005a, 0x36372622, 0x16323637, 0x01060714, 0x06071632, 0x2705c454, 0x37360136, + 0x27020e16, 0x24054044, 0x023e2607, 0x21198217, 0xbd852716, 0x022f262a, 0x1e07012e, 0x36013f01, 0x062bd383, 0x3e021f16, 0x06262701, 0x82010e07, + 0x16173102, 0x9a013632, 0x0b010605, 0x1d2a0e10, 0x85fe110e, 0x29310b85, 0x01110e1e, 0x2918217f, 0x47a87914, 0x19020507, 0x350b8a17, 0x09011787, + 0x020a5a07, 0x0105340a, 0x14015d14, 0x04011702, 0x10840507, 0x1922dc38, 0x04120517, 0x082c6b17, 0x3c150802, 0x05500140, 0x0e104805, 0x5a82291e, + 0x0a88d620, 0x050a012d, 0x79a84707, 0x20192914, 0x8a021f11, 0x5b282d0b, 0x17020a06, 0x05011402, 0xf0020a34, 0x5a246182, 0x01040705, 0x602e1084, + 0x07246122, 0x6b2c0801, 0x05120417, 0xdf441c0f, 0x0020240c, 0x4147002e, 0x172009c7, 0x3005e358, 0x17013f16, 0x012f3616, 0x2f263637, 0x0f222602, + 0x0dc34101, 0x16862520, 0x2d8d0220, 0x91ce9122, 0x5f390282, 0x1a030305, 0x05070106, 0x08041f1f, 0x031a0601, 0x0f230503, 0x0f020a02, 0x0dd94146, + 0x18882720, 0x31892320, 0x01070523, 0x06a34206, 0x09011039, 0x04231903, 0x11110206, 0x23040602, 0x01090319, 0x04042005, 0x41f4fe20, 0xc4200aef, + 0x05201587, 0x00382d8d, 0xffffff06, 0x018102c8, 0x000b00b8, 0x00360017, 0x00560046, 0x37000064, 0x380afb41, 0x06141605, 0x27262722, 0x16173626, + 0x1e171607, 0x010e3101, 0x3f272622, 0x060d4201, 0x33013e26, 0x17011e32, 0x06202082, 0x210e7e44, 0x8e44012e, 0x4506200e, 0x062309fa, 0x42661617, + 0x2a080908, 0x1e0e5302, 0x0a110e29, 0x48050601, 0x01180c72, 0x88732002, 0x02012073, 0x19020c18, 0x0a0d0b17, 0x6c3f5f8d, 0x0b0d0645, 0x444b1c14, + 0xc3200d9b, 0x16200e8d, 0x200c3b41, 0x080e42c0, 0x290e1126, 0x47110e1e, 0x03217083, 0x235e8252, 0x39444439, 0x522a5d82, 0x02021f11, 0x3a7f5d02, + 0x07823d65, 0x44621c21, 0x1e2119ad, 0x0d9b45ef, 0x0000042e, 0xf001bfff, 0x1d00b801, 0x2d002500, 0x25063d48, 0x07061415, 0x18413d36, 0x27222206, + 0x24e48226, 0x17141517, 0x120d702e, 0x013a0724, 0x1c82021e, 0x22230624, 0x3282022e, 0x16363332, 0x3216011f, 0x023e013f, 0x5991ce91, 0x062a0948, + 0x28058b47, 0x06010d09, 0x5948092a, 0x0aa8479b, 0x01033708, 0x07040201, 0x0d1b2604, 0x120a1117, 0x03150b01, 0x020e0201, 0x0f0b0201, 0x6791b801, + 0x141b7e4f, 0x241b2e14, 0x0f030c09, 0x090c030f, 0x142e1b24, 0x4f7e1b14, 0xca475767, 0x029a3a0a, 0x40020401, 0x110b251b, 0x093f0d18, 0x080b0b05, + 0x07080707, 0x0000020b, 0x27db8b00, 0x0048003b, 0x25000055, 0x0222ad99, 0xf69a1632, 0x34361731, 0x0626012f, 0x0607011f, 0x27013f16, 0x4b263637, + 0x3622067d, 0xc4982501, 0x00418d20, 0x06d62114, 0x28060a45, 0xf3080e07, 0x0d072121, 0x05094509, 0xc9964920, 0x416c0121, 0x41201a0a, 0x22082945, + 0x45050f08, 0x77470c27, 0x05db4105, 0x2500072b, 0x40003800, 0x00005e00, 0x06194f00, 0xee9d2620, 0x0e426518, 0x3e4f1720, 0x14062205, 0x19404117, + 0x20064b4f, 0x20f494af, 0x6a6518c0, 0x880b2710, 0x34262634, 0x3d410d26, 0x08012718, 0x0e0e140e, 0xfd9abe14, 0x65185020, 0x09210d93, 0x22508230, + 0x418d3426, 0xd3461648, 0x520f200f, 0x3c2905f9, 0x16323601, 0x12220614, 0x05614a34, 0xfb8f3720, 0x0626072b, 0x32011e17, 0x2e363736, 0x41661801, + 0x91bb200d, 0x09e92ed5, 0x5907010d, 0x01075960, 0x2f060a06, 0x43661898, 0x0607230c, 0x66180809, 0x09300a42, 0x090c0361, 0x27363627, 0x02040a06, + 0x0600000f, 0x2032a082, 0x6001c001, 0x1f000f00, 0x3f002f00, 0x5f004f00, 0x39780000, 0x07156008, 0x0d0d5918, 0x6a05596e, 0x332009f1, 0x8f0ee879, + 0x260f8f1f, 0x130d6033, 0x83400d13, 0x92e02004, 0x05c57109, 0xa0201e98, 0x20843a86, 0xc0200491, 0xf3841e9d, 0x01e0ff23, 0x08077240, 0xf567f386, + 0x060d720f, 0x08015a18, 0x01200f8f, 0x200d1341, 0x8f1f8f33, 0x91f3890f, 0x055860b3, 0x0120b89a, 0x0a95f48a, 0x89400121, 0x2021953e, 0x0c037300, + 0x22001124, 0xe9414000, 0x012e220b, 0xd765183d, 0x011d2407, 0x88010e14, 0x320223f8, 0x28671716, 0x26342508, 0x010e2223, 0x06202082, 0x36291f85, + 0x13130da0, 0x1e11100d, 0x22028211, 0x82251be0, 0x83102005, 0xd2c92d11, 0x07090394, 0x7a090710, 0x38603856, 0x03200984, 0x80229682, 0x2182130d, + 0x03824020, 0x831a2621, 0x0d132105, 0x012b1182, 0x70699700, 0x07090907, 0x827a5670, 0x200a852c, 0x0a3f7669, 0x1f000f24, 0xab824600, 0x36228589, + 0x9582013b, 0x9e422320, 0x20a88a0d, 0x25208434, 0x36323315, 0xab5f3435, 0x07ae4206, 0x82c03621, 0x251b23af, 0xa7821b25, 0xab84b020, 0x0d821020, + 0xaf82f420, 0xb625352f, 0x141c1c14, 0x661c1420, 0xac7a1911, 0x2cb5857a, 0x130d70f0, 0x1b301b25, 0x139d1325, 0x280b870d, 0x69976001, 0x1c3525a6, + 0x272f8228, 0x02a41119, 0x567a7a56, 0x3182ec82, 0x2122b787, 0xc182c101, 0x1b001129, 0x37150000, 0x82130717, 0x06390803, 0x2707012f, 0x35262737, + 0x011e2534, 0x3727010f, 0x44171636, 0x29192343, 0x161023ad, 0x3360332b, 0xa001020d, 0xaa0f020f, 0x2b10c7a9, 0x43462010, 0x23100123, 0x07112aad, + 0x241b820d, 0x1006052b, 0x221682ac, 0x82aaa9c7, 0x82002022, 0x00083b00, 0x02c0ff00, 0x00c00100, 0x00270013, 0x0047003b, 0x005f0053, 0x0073006b, + 0xf0180100, 0x17200c38, 0x07618818, 0x36251582, 0x1732013b, 0x23018316, 0x22012b06, 0x1806a342, 0x23097d60, 0x07011f32, 0x16ce4018, 0x0bda4018, + 0x00210b8b, 0x05f35422, 0x059e012b, 0x01072b1b, 0x0e10070a, 0x20098802, 0x2f13926e, 0x25130dac, 0x1b80fe1b, 0x2b1b2525, 0x806f1115, 0x20058b63, + 0x2e069360, 0x2536bbfe, 0x01253625, 0x2416280e, 0x940b073e, 0x13402306, 0x4b83a00d, 0x251be028, 0x70b8530d, 0x02930808, 0x82400121, 0x36252246, + 0x05334100, 0xc0014037, 0x3d002d00, 0x5d004d00, 0x73006d00, 0x93008300, 0x23010000, 0x08cf7711, 0x4208535b, 0x11200861, 0x48180986, 0x05200793, + 0x11f34218, 0x013b1622, 0x2207c250, 0x8e270622, 0x8917201f, 0x011d2b1a, 0x17331614, 0x22263433, 0xbc5b2506, 0x26342310, 0x616a012b, 0x274d8206, + 0x10103002, 0x07090907, 0x20055b67, 0x096e73f0, 0x82200221, 0xc9fe210b, 0x1e6b0319, 0x08053322, 0x33262186, 0x385038c0, 0x2f930001, 0xfe800125, + 0x82070980, 0x1950204f, 0x180ac50b, 0x210a1c7c, 0x4587262d, 0x09886520, 0x09885b20, 0x52899820, 0x38288023, 0x89228938, 0x18002009, 0x2c0c077b, + 0x001e0016, 0x00440037, 0x01000051, 0x07a37b26, 0x1e171422, 0x092c8018, 0x1f360527, 0x27222301, 0x14801836, 0x012e210b, 0x0c418018, 0x83011e21, + 0x012e2422, 0x1832012f, 0x2c08234a, 0x012f2622, 0x083cbc01, 0x1a280830, 0x2c05821e, 0x1824e3fe, 0x80975971, 0x29cf015a, 0x230f822e, 0x1d151e10, + 0xb7260682, 0x06101308, 0x05835976, 0x01017536, 0x0e0e0a56, 0x1c0d110a, 0x0b017608, 0x0842412a, 0x1c2c3e08, 0x070b8018, 0x1b069935, 0x01385084, + 0x31571b21, 0x1e08081e, 0x0d272f19, 0x823e2513, 0xfe0b2622, 0x060a06f1, 0x2703838a, 0x0a700a0e, 0x8a090d0e, 0x2211e747, 0x4c35002d, 0xca4809f3, + 0x27342408, 0x83343536, 0x6a0620cc, 0x14200678, 0x16230786, 0x73023e37, 0xe34c0693, 0x05b34a05, 0x2323a82e, 0x06152211, 0x15110603, 0x05051115, + 0x0c820583, 0x0b291f26, 0x1a13131a, 0x4a07a457, 0xaf3e059b, 0x160e0e16, 0x010e130a, 0x07030d01, 0x07091909, 0x07020b02, 0x08081a09, 0x02010e02, + 0x2e82ab1b, 0x4d1a1321, 0x17200c97, 0x974da182, 0x3616220b, 0x0c754c35, 0x0121ab9b, 0x212d8337, 0xa44c2302, 0x85172008, 0x03d12eb5, 0x2623020c, + 0x030c0223, 0x0d260d09, 0x27bd9668, 0x010c0341, 0x130c1912, 0x8e4d2787, 0x504b2006, 0xb9200ce8, 0xb720cf9c, 0x14222b82, 0x754c1221, 0x07634207, + 0xfc01c833, 0x1200b801, 0x2e002600, 0x61004d00, 0x16250000, 0x05145806, 0x37013e25, 0x831f1636, 0x16072204, 0x9c561815, 0x2326250a, 0x0607012e, + 0x078a5118, 0xf4851720, 0x26270222, 0x2106a041, 0xa041010e, 0x52012009, 0x2e2408ec, 0x0e222303, 0x31083682, 0x07f50116, 0x0a531211, 0x07031703, + 0x1c110c12, 0x10080304, 0x2f17ab1f, 0x91916734, 0x0b1191ce, 0x17541508, 0x131aa011, 0x98131a13, 0x130a2323, 0xb682101b, 0x15151125, 0x41010411, + 0x2a0809cb, 0x270b0a10, 0x0e07090b, 0x110c0101, 0x1a0d0a14, 0x0f010213, 0x0521122e, 0x53090216, 0x0210170c, 0x09101302, 0x0b0f0502, 0x82150154, + 0x67912954, 0x25032c2e, 0x7f1c2302, 0x132a5482, 0x0e16af1a, 0x0e08160e, 0xf641080d, 0x09c22115, 0xb14a0082, 0x140a2406, 0x5108090c, 0x0f240e63, + 0x25001700, 0x2d19f754, 0x37363217, 0x21232636, 0x1e170622, 0xf6543301, 0x37382e12, 0x0a010751, 0x07f2fe07, 0x5107010a, 0x06c84137, 0x2c4d0720, + 0x48fd280a, 0x0b0b0736, 0x42483607, 0x19240c7b, 0x3c002e00, 0x05217789, 0x09485406, 0x4108af5a, 0x0425096d, 0x010e2223, 0x23888805, 0x3632013b, + 0x10228b86, 0x4c540d01, 0x13232509, 0xa212180c, 0x0125118a, 0x0f0e0b08, 0x21148207, 0xa48a1d01, 0x51371022, 0x3620a786, 0x220b5354, 0x89142112, + 0x160c270e, 0x12070c12, 0xba857721, 0x9752bb8d, 0x52b3942a, 0x01211897, 0x20a5941f, 0x1a995211, 0xa087ae20, 0x240ed741, 0x00210019, 0x165f412f, + 0x22230223, 0x14931806, 0x07dd4109, 0x380a5441, 0x060f010c, 0x0c260b0a, 0x010f0609, 0x0d1a1302, 0x1a5a2514, 0x131a1313, 0x249e94c7, 0x06090835, + 0x27008209, 0x0c080906, 0x1c180a14, 0x13222882, 0x978a7f1a, 0x00000525, 0x7102c0ff, 0x132705ff, 0x4c004100, 0x18005000, 0x2a09616b, 0x06142515, + 0x3335012b, 0x4b151632, 0x99550881, 0x34352105, 0x1c708f18, 0x23150123, 0x06e64911, 0x2335072b, 0x130de015, 0x01200d13, 0x27048240, 0x30130d20, + 0x07090907, 0x16808f18, 0xc0600130, 0x1460141c, 0x8060301c, 0x0da00d13, 0x2f82e013, 0x0d13e030, 0x070900ff, 0x08090720, 0x1c1c1408, 0x00820814, + 0x09230785, 0x84700107, 0x07092818, 0x200190fe, 0x831001e0, 0x30302417, 0x82040030, 0x02bf2ad7, 0x00c00140, 0x0019000b, 0x066f4123, 0x14157e08, + 0x27220607, 0x07343526, 0x15171637, 0x022e0607, 0x3634013d, 0x36373216, 0x35271537, 0x36251716, 0x011d011e, 0x0f010e14, 0x68ec1101, 0x0e05724a, + 0x778e7205, 0x048a0e07, 0x0c040608, 0x210f2cfe, 0x211ac01a, 0x09062f01, 0x050a0507, 0x4ac0018c, 0x06863e34, 0x343e8606, 0x1916308e, 0x02023fe9, + 0xfa040704, 0x118d1209, 0x40f62528, 0xb62825b6, 0x06080302, 0x0a0c06fa, 0x20013802, 0x066b4700, 0x132b9787, 0x2b002100, 0x00003700, 0x88163212, + 0x078d4699, 0x6d26a1aa, 0x22191922, 0xa7a4e219, 0x29825e20, 0x49221922, 0xb718ada4, 0x0b21091f, 0x2cbc8200, 0x0717013f, 0x0607010e, 0x013e3726, + 0x05cd6300, 0x06072725, 0x4426012f, 0x2308050b, 0x4b5e3637, 0x72224b80, 0x01100c2f, 0x8f013705, 0x80a51b35, 0x0c571362, 0x0b0b170b, 0x0c210b69, + 0x9e1b1525, 0x372a2083, 0x0c100105, 0x4401722f, 0x21834b35, 0x0b571422, 0x37082183, 0x240c0c68, 0x00001b15, 0xfffdff04, 0x010302c0, 0x000900c0, + 0x001b0013, 0x13000034, 0x26270706, 0x32013b36, 0x16322517, 0x2726010f, 0x06333637, 0x06141632, 0x05342622, 0x08158954, 0x2f3fe045, 0x0a09066f, + 0x010a126f, 0x06090a55, 0x453f2f6f, 0x92ca120a, 0x67926767, 0x05050d01, 0x03183407, 0x3418030e, 0x26050507, 0x060c0109, 0x0c062f2f, 0x3d010901, + 0x089f2b0a, 0x11101011, 0x0a2b9f08, 0x82a01073, 0x92672b2d, 0x010d0536, 0x07072f08, 0x3982082f, 0x07342529, 0x19190309, 0x82070903, 0x0ca75c97, + 0x17000f22, 0x18115148, 0x520deda6, 0xe3440be8, 0x0bb85206, 0x220f2358, 0x89330021, 0x78172051, 0x272005f3, 0x20087c43, 0x0ab96006, 0x8a343521, + 0x14152117, 0x31057d45, 0x26342658, 0x1a130222, 0xe0220213, 0x10801010, 0x0f888610, 0x47287c86, 0x1a26261a, 0x02061226, 0x24057f7b, 0x2020d612, + 0x21108c70, 0x7b691a26, 0x80012706, 0x0f00c701, 0x58181a00, 0x954c0acb, 0x01332507, 0x36132113, 0x20052472, 0x0e304b07, 0x07700127, 0xfe070909, + 0x320583a0, 0xff1f1101, 0x08011f00, 0x4d0b0b4d, 0x05083008, 0x84080546, 0x093e7b04, 0xfe5b012d, 0x0c3b01c5, 0x0c0c4c08, 0x4ada084c, 0x002508c3, + 0x00020000, 0x08134200, 0x00002b2d, 0x37230701, 0x17323336, 0x4f07011e, 0x142307e5, 0x4d160706, 0x26260548, 0x2e373637, 0x104c3501, 0xf6012b07, + 0x09cc9764, 0x1107090c, 0x86831205, 0x36431030, 0x0a010514, 0x0a07e007, 0x36140501, 0x9b841043, 0x99638327, 0x24080407, 0x2d8c8490, 0x1b15613c, + 0x0c0c0720, 0x151b2007, 0x12843c61, 0x00268388, 0x0f00c001, 0x83823000, 0x54181420, 0x16210be5, 0x06ab4d15, 0x15012b22, 0x680e7850, 0x363405fd, + 0x13a00135, 0x0da0fe0d, 0x010d1313, 0x20130d60, 0x2838251b, 0x40200d84, 0x25211283, 0x200b821b, 0x820a8401, 0x0d132b1c, 0x401b2520, 0x13203828, + 0x1d83800d, 0x2f820482, 0x000d1322, 0x080d5f7c, 0x18001030, 0x2d001d00, 0x41003900, 0x00004600, 0x06373613, 0x1633010f, 0x2e172617, 0x0e332701, + 0x013e2701, 0x1f021e37, 0x33373601, 0x16321306, 0xab6b1115, 0x01332309, 0xcb4c3632, 0x16142205, 0x07e65d33, 0x17163725, 0x7c822623, 0x0726095b, + 0x012e010f, 0x507c1e0f, 0x0c122506, 0x6a082702, 0xfe298e83, 0x25251ba0, 0x0710011b, 0x066b6a09, 0x4b6a3b2c, 0xa94b6a4b, 0x0227082d, 0x5a7c1001, + 0x2a072508, 0x682a1e1e, 0x2806517c, 0x31291d66, 0x0d130101, 0x82e382fe, 0x1b80273b, 0x0960fe25, 0x0282090e, 0x3a826020, 0x8b6a4b25, 0x41293115, + 0x072c07e7, 0x1700cc01, 0x00001e00, 0x0717013f, 0x2720d282, 0x2a067b75, 0x14150622, 0x37270717, 0x82360136, 0x27012c94, 0x2163544f, 0x05b10f05, + 0x8202065d, 0x131a3396, 0x3b055d02, 0x23310105, 0xc724165d, 0x6321a562, 0x0f820f54, 0x13025d35, 0x0d13131a, 0x055d0602, 0x04010fb1, 0x28541e27, + 0x410062b7, 0x013008cf, 0x1c00c101, 0x00002600, 0x07173713, 0x0507010e, 0x13226c8e, 0xb768043e, 0x89300809, 0x042b8097, 0xe8fe0d18, 0x0b0a960f, + 0x281c1c14, 0x0f96051c, 0x0807025d, 0x6f010b0a, 0x80390e0e, 0x0e280e39, 0x802b3501, 0x05190e97, 0x05960f5d, 0x1c2d2182, 0x960a0b14, 0x0518010f, + 0x0609090b, 0x831f8242, 0x820e2025, 0xff04257f, 0x02befffe, 0x12207f83, 0x24288182, 0x00003600, 0x34262737, 0x21054a45, 0x32570607, 0x011f2205, + 0x20ef8207, 0x280c8232, 0x01172714, 0x3f260607, 0x238e8401, 0x012f2206, 0x080c4418, 0x09646d35, 0x1b095a09, 0x063e2209, 0x07020b06, 0xfe2c3e02, + 0x822e712e, 0x0e2d2c6a, 0xd7fe71c4, 0x02100b6b, 0x85e40113, 0x87642223, 0x2425832c, 0xcc3e0506, 0x21328264, 0x3582095a, 0x35820520, 0x12203482, + 0x0e243483, 0x1e280e2d, 0x13253482, 0x6b0b1002, 0x2321850c, 0x3e2c8665, 0x06222382, 0x37413e06, 0x01802809, 0x000f00c2, 0x4d00002e, 0x0d4406e0, + 0x26372508, 0x3634013d, 0x1f22b082, 0x07862702, 0x16171631, 0x27060706, 0x02272625, 0x09090770, 0x83a0fd07, 0x0d1d3b05, 0x0827080d, 0x30661c03, + 0x0941080d, 0x2b626403, 0x280d1d1c, 0xe0fe2b26, 0x13440b0e, 0x0bf23e09, 0x0909650d, 0x08020b02, 0x08a41c43, 0x0311030b, 0x0b1bc009, 0x0b311e1d, + 0x044e0c0b, 0x2890820a, 0xfffeff02, 0x018902c0, 0x208f82a1, 0x228f9231, 0x41362627, 0x37200553, 0x33300985, 0x37011f32, 0x011e1736, 0x05070607, + 0x22012b06, 0x2208948b, 0x03054d41, 0x08042808, 0x9d684804, 0x41080406, 0x04060404, 0x2b2b63db, 0x1719182e, 0x0eddfe2c, 0x890f8210, 0x6b33089b, + 0x04120653, 0x24020214, 0x12076234, 0x03022104, 0x03163252, 0x24273103, 0x00079416, 0x00000200, 0x8701d9ff, 0x2a00a001, 0x00003200, 0x0f161725, + 0x822f0601, 0x012f2675, 0x27013f26, 0x08eb7523, 0x2b062549, 0x17070614, 0x011f3637, 0x15250716, 0x2a056a78, 0x0c4e2d01, 0x0b0c160c, 0x820b4e4e, + 0x4e0c2306, 0x7b861380, 0x38289025, 0x85542430, 0xc5fe2715, 0x13130d60, 0x0d85600d, 0x31864e20, 0x0750802f, 0x01070909, 0x38090700, 0x05362428, + 0x24168554, 0x1a1340b2, 0x0d0b4f13, 0x2e001b27, 0x4a003600, 0x05814800, 0x4b730620, 0x27222108, 0x23069753, 0x3435012e, 0x7d189482, 0xd6460d3f, + 0x8d372007, 0x2a278216, 0x4191ce91, 0x090e0937, 0x822e642e, 0x41372205, 0x517d18b6, 0x28392711, 0x1c281c1c, 0x504d07c6, 0x25142205, 0x08cf4a03, + 0x91b80127, 0x21714267, 0x23bb83b4, 0xc51313c5, 0xb4250783, 0x67427121, 0x6a7d1847, 0x26c9280e, 0x34262634, 0x57090390, 0x09210b3b, 0x06576006, + 0xb801f02a, 0x0f000700, 0x23001b00, 0xd983dd82, 0x22061428, 0x22043426, 0xb8831406, 0x3632062a, 0x26273435, 0x15060722, 0x08286418, 0x3e16172a, + 0x23262701, 0x32331422, 0x200c464d, 0x064460e4, 0x131a332e, 0xca131a13, 0x05051306, 0x1010462d, 0x6207494d, 0xdd200541, 0x20082260, 0x28248294, + 0x08ad1a13, 0x36081004, 0xdb561820, 0x01803208, 0x001d00a0, 0x00290021, 0x0035002d, 0x25000039, 0x05a15516, 0x35219683, 0x32058523, 0x11352622, + 0x21333634, 0x33051732, 0x32122335, 0x82263436, 0x353723af, 0x6c411523, 0x33272d07, 0x75022327, 0x200d130b, 0x80385038, 0x20350382, 0x0d13130d, + 0x0e16aa01, 0x606052fe, 0x1c1c284c, 0x60d01c28, 0x2d0784ec, 0x42509230, 0x6f110ded, 0x3828130d, 0x03832838, 0x2f822982, 0x608f1124, 0x2782b0fe, + 0xd4281c25, 0x86f06060, 0x00002c08, 0x00f9ff01, 0x01800200, 0x823d0083, 0x8332200c, 0x010e2c9e, 0x07030e23, 0x27222306, 0x83063726, 0x3f262a07, + 0x0f263601, 0x2f260601, 0x080a8301, 0x0f021e85, 0x37013e01, 0x14011e36, 0x011e0607, 0x3e373233, 0x076f0202, 0x0407040a, 0x2822290e, 0x2b23430a, + 0x4d051917, 0x130d0a86, 0x07620510, 0x063a0e19, 0x0812030d, 0x3a1c370d, 0x2a0d1326, 0x13154a4b, 0x03010415, 0x160b0b02, 0x3d450a36, 0x07090001, + 0x05070420, 0x18141101, 0x1c191e04, 0x09873d38, 0x0ef60e1e, 0x04270815, 0x0d1b0603, 0x05112509, 0x681d3323, 0x01013647, 0x08112113, 0x180b1712, + 0x4d1a2705, 0x1b220e57, 0x03632700, 0x4e17200b, 0x04240bb7, 0x17062223, 0x28062564, 0x32161706, 0x27361637, 0x1122512e, 0xa04e7020, 0x23132810, + 0x0a190af9, 0x82236e23, 0x8c2d2505, 0x010d0333, 0x20131d51, 0x0e9d4e46, 0x0c992926, 0x2a2a0c14, 0x36240482, 0x070305ac, 0x380d0c51, 0xff000008, + 0x018002bf, 0x001400c0, 0x002c0028, 0x00340030, 0x003c0038, 0x08bf4440, 0x0805be57, 0x013e342b, 0x3335013b, 0x15121315, 0x23010e14, 0x35262221, + 0x023e1334, 0x16322133, 0x27330705, 0x07233703, 0x0723013f, 0x23273317, 0x20048237, 0x21078203, 0x9647b001, 0x04340806, 0x80300408, 0x0f0937c9, + 0x0ec2fd09, 0x09013713, 0xd201080e, 0xbdfe120c, 0xc30a8c0a, 0x82136a0b, 0x8811600a, 0xb8960bac, 0x4611670a, 0x096a1372, 0x0a062007, 0x3f058441, + 0xa5012020, 0x0902bdfe, 0x0d13090e, 0x08420103, 0x310f070c, 0x00ff6060, 0x60a07070, 0x9070a060, 0x00200b84, 0x022a0082, 0xe0ffffff, 0xa4014102, + 0xc5821e00, 0x32010022, 0x023ba682, 0x27220607, 0x3435032e, 0x021e3233, 0x36171617, 0x05033e37, 0x27262726, 0x82363736, 0x0672080e, 0x38020607, + 0x270f0608, 0x53e8531d, 0x060f271d, 0x3f271008, 0x172b1c44, 0x441c2b17, 0xf8fe273f, 0x211a1a13, 0x0808461a, 0x1a221947, 0x08000119, 0x3f3b250f, + 0x19515119, 0x0f253b3f, 0x240f0508, 0x3838271b, 0x0f241b27, 0x171d6f05, 0x3d6f1319, 0x6f3d0707, 0x00161a13, 0xfff4ff01, 0x010302d7, 0x002200a7, + 0x011e2500, 0x0f06010f, 0x2f010e01, 0x09822601, 0x4f692620, 0x63362005, 0x16200566, 0x47080682, 0x25d80117, 0x1c3e2206, 0x48030502, 0x2019361e, + 0x10332646, 0x26120d1c, 0x48272915, 0x192e1521, 0x0710094c, 0x430cfc1f, 0x1c0f1f12, 0x171a223e, 0x0f071328, 0x391f3409, 0x1d34181a, 0x02060339, + 0x0f1a2f16, 0x0b1b3d21, 0x23059349, 0xc0010002, 0x11330982, 0x29002100, 0x39003100, 0x49004100, 0x00005100, 0x49231513, 0x1e2105ff, 0x06af4c01, + 0x4706b14a, 0x1220082f, 0x5706e943, 0xd74c07a7, 0x10af6c07, 0xe03f3f86, 0x400d1380, 0x1af3130d, 0x131a1313, 0x133828e0, 0x0d00ff0d, 0x1f283813, + 0x422f2f42, 0x849d012f, 0x848d2017, 0x844d2005, 0x8a732005, 0xa0012705, 0x130d6060, 0x3a826d13, 0x0d1a1325, 0x82e02838, 0x820d200c, 0x00ff2144, + 0x2f233b82, 0x84110142, 0x18332018, 0x670a1968, 0xad20051d, 0x00231184, 0x58000200, 0xc72a05d3, 0x2a000300, 0x35170000, 0x96181521, 0x3b200e2f, + 0x21056457, 0xf6822627, 0x011e172f, 0x06071617, 0x1614011d, 0xc0012033, 0x20ac8340, 0x38bb82fe, 0x0c432838, 0x44091711, 0x062b1d2d, 0x11150f05, + 0x4040400c, 0x28380001, 0x368d8320, 0x11382820, 0x3228010c, 0x3a2c1513, 0x1d2b0508, 0x242a1c20, 0x82110c0a, 0xfbff317b, 0x1d02c0ff, 0x1c00c001, + 0x00002700, 0x0f011e01, 0x06245e82, 0x012f2223, 0x08069e44, 0x3626275d, 0x3236023f, 0x2f37021f, 0x011f1103, 0xfd01012f, 0x6a0f0d13, 0x0e140319, + 0x83830708, 0x140e0807, 0x0f6a1903, 0x4193130d, 0x41092809, 0x19725219, 0x6616330b, 0x14010413, 0x670e2602, 0x04160f92, 0x16044444, 0x0e67920f, + 0x84150326, 0x91841212, 0x17041051, 0x0cc3fe67, 0x73197236, 0x23260df7, 0x3b002f00, 0x42184900, 0x42180fbb, 0x834c0db6, 0x59052007, 0x8a6a0ab3, + 0x05b97805, 0x1d422720, 0x1d163007, 0x01352301, 0x1c1c1450, 0x07091014, 0x57090720, 0x102005e0, 0x01231083, 0x18f00810, 0x3009cf56, 0x141c30b0, + 0x301c1460, 0x141c2001, 0x101c14e0, 0xe24b1807, 0x26108409, 0x080810d8, 0x84680810, 0x50f02105, 0x50215184, 0x0cdb5350, 0x17000f24, 0x574e1f00, + 0x14162109, 0x85055f46, 0x3a6b1805, 0x05064709, 0x26054d6e, 0x26263443, 0x56832634, 0x796e0bd4, 0x82f02005, 0x34262216, 0x061d428a, 0x06000030, + 0xc0ff0000, 0xc001ff01, 0x19000c00, 0xd7442800, 0x5e002006, 0x2335067f, 0x3f013e21, 0x0f141602, 0x35363401, 0x32363711, 0x14112717, 0x05f84606, + 0x32013b24, 0x4318011e, 0x2e080ac6, 0x23353715, 0x0ddf0115, 0xfe0d1313, 0x010501d4, 0x09093fba, 0x094b01d4, 0x3998091b, 0x0d13384f, 0x090f0880, + 0x0e0e146a, 0x40380e14, 0x82804040, 0x130d2610, 0xbb010301, 0x37218299, 0x020601d5, 0x0a4b0801, 0x80fe2d0a, 0x28383828, 0x130d8001, 0x5ffe0e09, + 0x0e222c82, 0x2d82aa14, 0x00404025, 0x82030000, 0x02203703, 0x00680180, 0x0054001f, 0x3700005c, 0x36372726, 0x1f36013f, 0x37441e01, 0x06172907, + 0x27220607, 0x22012b26, 0x05200782, 0x2008d84d, 0x83148227, 0x21178202, 0xcc823d26, 0x3721bc82, 0x22048236, 0x8e321617, 0x24332207, 0x057e5b22, + 0x07be2a08, 0x100b4409, 0x64312850, 0x22081613, 0x06076413, 0x171b7112, 0x190a300a, 0x191d101d, 0xa801300a, 0x07090907, 0x26263a10, 0x20028474, + 0x05d9413a, 0x0f132528, 0x0f111011, 0x078e4a13, 0xfe252908, 0x2f2f4231, 0x07892f42, 0x0b106205, 0x160a1d39, 0x16262204, 0x04011604, 0x1502500d, + 0x17170909, 0x07092009, 0x20090720, 0x0a840084, 0x0e0e1223, 0x20038712, 0x303b8260, 0x0200422f, 0xe0ff0000, 0xa0018002, 0x6a003400, 0x07a74100, + 0xe1aad682, 0x27222527, 0x34352726, 0x081d4136, 0x013d2629, 0x06222634, 0x9433011d, 0x07062515, 0x23352306, 0xaa05744b, 0x188027ef, 0x38100e0a, + 0xca843850, 0x131a1323, 0x240b8ac0, 0x180a0e10, 0x28ef9cc0, 0x060d0920, 0x383828e4, 0x05564128, 0x13130d25, 0x8d60600d, 0xe535080f, 0x60090d05, + 0x02000000, 0xb9fff9ff, 0xc7018702, 0x20001800, 0x16050000, 0x2706010f, 0x013f2601, 0x36011f36, 0x17323637, 0x1415031e, 0x37342507, 0x22230605, + 0x40611826, 0x28bb350d, 0x062d0713, 0x212c3610, 0x13a1fe01, 0x42321101, 0x0a0a6749, 0x0a266118, 0x403e9131, 0x5f341616, 0x06264936, 0x2628110b, + 0x43682dd3, 0x16200c9b, 0x200d6b6c, 0x1a536905, 0x06221626, 0x011e0607, 0x16239083, 0x69262736, 0xb12e1f54, 0x01054d52, 0x29040905, 0x0b072982, + 0x00520501, 0x1b556906, 0x2d3e803a, 0x02050b06, 0x0d031111, 0x00002d0a, 0xf5ff0100, 0xcb01c0ff, 0x3300c901, 0x16210c82, 0x2d7e8207, 0x010e010f, + 0x012e2223, 0x012e012f, 0x0d830622, 0x2f262222, 0x2105dc5e, 0x9a823e37, 0x16011f27, 0x2f363736, 0x3e048201, 0x01011e17, 0x1e250fbc, 0x080d0806, + 0x070a1102, 0x2202090c, 0x161c1604, 0x10032204, 0x82021115, 0x065d0815, 0x080f251e, 0x23202232, 0x030d0664, 0x0a1d0d09, 0x22293001, 0x3e600132, + 0x53432831, 0x0d0b2239, 0x8b070a06, 0x0d12120d, 0x0d0d0a8b, 0x5339220b, 0x3d322843, 0x09083322, 0x03044013, 0x13080e05, 0x0b230104, 0x04003308, + 0xc0ff0000, 0xc4018202, 0x12000900, 0x31001d00, 0x2e130000, 0x268f8201, 0x07010e17, 0x52013e17, 0x37250537, 0x1407011e, 0x229a8206, 0x42132627, + 0x914705b9, 0x3b280807, 0x07173701, 0x05050773, 0x2747842d, 0x211f1b49, 0x0a0d2b60, 0x231b182e, 0x0e023f3a, 0x081b6608, 0x09071d04, 0xe0fd0709, + 0x25080583, 0x413c49ed, 0x10033701, 0x033b3806, 0x0b3d5a17, 0x11045f4c, 0x2cd45b92, 0x09084882, 0x4a5d2503, 0x0996fe1e, 0x29832007, 0xc8230482, + 0x1800b216, 0x300bd356, 0x0033002f, 0x003b0037, 0x0057003f, 0x06140100, 0x0a3a5223, 0x61233521, 0x34230710, 0x61353336, 0x15210948, 0x062e4e33, + 0x33150724, 0x03822135, 0x23351124, 0x03822115, 0x23013d22, 0x21097c46, 0xd3833315, 0x82353321, 0x00022b3b, 0x130d0d13, 0x0d600d13, 0x0584c013, + 0x60260e8e, 0x2080fe20, 0x03820120, 0x20212084, 0x21068420, 0x2e964001, 0x20203d85, 0x37830083, 0x60202022, 0x34865582, 0xa7470683, 0x01053607, + 0x001c00c0, 0x25000024, 0x21230616, 0x13372622, 0x013b013e, 0x26918326, 0x15011e32, 0x82330714, 0x5b172006, 0x2d0807d7, 0x1d07fe01, 0x1860fe18, + 0x0349071d, 0x063c0b11, 0x2c1a2838, 0x083c061a, 0xc202090c, 0x1a13131a, 0x29190213, 0x24011929, 0x10100e0c, 0x1b823828, 0x06110f25, 0x461a080c, + 0x02200877, 0x0a0f8918, 0x00002222, 0x1e118918, 0x33070325, 0x1811d827, 0x24141589, 0x07b20772, 0x05f07410, 0x89187520, 0x012b0d19, 0x005050a0, + 0xfffcff03, 0x828401c0, 0x002f24db, 0x843b0037, 0x012b21dd, 0x1537a318, 0x23013f25, 0x843f2622, 0x163221f2, 0x1723f082, 0x182b0616, 0x30084843, + 0x33152313, 0x0c097b01, 0x07708a0e, 0xfe070909, 0x350583e0, 0x0c0e8a70, 0x0b315e09, 0x0672070a, 0x061c281c, 0x0b0a0772, 0x24535631, 0xe0e02805, + 0x20150a7f, 0x7d600709, 0x203306aa, 0x13610a15, 0x0b0b7e09, 0x141c1c14, 0x097e0b0b, 0x8309c013, 0x79fe2629, 0x00000020, 0x22a78202, 0x82c401bf, + 0x002224a7, 0x74000035, 0x07210534, 0x05ce4d06, 0x06852220, 0x37262723, 0x22018336, 0x82171617, 0x83272007, 0x3c12871c, 0x14011f33, 0x5f010607, + 0x08161927, 0x240c0807, 0x1310412b, 0x130d200d, 0x242b4110, 0x3311820c, 0x18271916, 0x1919242a, 0x0e1f2a24, 0x0f131017, 0x13040202, 0x2a080884, + 0x01060501, 0x1f23073f, 0x472b2b2f, 0x080a3a30, 0x303a0a08, 0x2f2b2b47, 0x0407231f, 0x0e0e0a0b, 0x0d250b0a, 0x0e010506, 0x83132412, 0x130f2b07, + 0x09001710, 0xc0ffecff, 0xab82d401, 0x1d00153b, 0x2f002800, 0x42003600, 0x56004a00, 0x00005e00, 0x06071625, 0x27220627, 0x829a8206, 0x36172eaf, + 0x17361732, 0x37160516, 0x27262726, 0x22be8206, 0x8223012a, 0x3e1724cf, 0x83072201, 0x320221c7, 0x06231982, 0x83363707, 0x0607211e, 0x1721db83, + 0x22db8336, 0x82271607, 0x22232113, 0x16220182, 0x644b1617, 0x9d012c07, 0x571d1e37, 0x57247c24, 0x89371e1d, 0x6bfe3b0a, 0x03042507, 0x2c160b0b, + 0x04010403, 0x07071f01, 0x20970b16, 0x12121012, 0x06853210, 0x03036026, 0x1d21211d, 0x80200584, 0x0b2c1d82, 0x08250403, 0x1f070716, 0x01020201, + 0x94303a82, 0x1a13131a, 0x354bc013, 0x56560a34, 0x4b35340a, 0xab360988, 0x1414010c, 0x96230a09, 0x0d0b1414, 0x25860a23, 0x06070706, 0x0684a5fe, + 0x23237826, 0x15101015, 0x28200584, 0x09271c82, 0x9c011414, 0x820b0d23, 0x09eb4230, 0xb7480120, 0x00602706, 0x2500004f, 0x9b611406, 0x23062e05, + 0x34272622, 0x2123042e, 0x07060e22, 0xda86180e, 0x34363908, 0x3d012e27, 0x33363401, 0x17011e32, 0x33041e14, 0x053e3221, 0x33013e35, 0x3705f544, + 0x07075702, 0x1e2c1613, 0x06082718, 0x0a070602, 0x05eefe07, 0x04050608, 0x0826f783, 0x2c1e1827, 0x20851316, 0x151d1023, 0x28218505, 0x09051201, + 0x01050507, 0x081f8506, 0x1003cb21, 0x15240a03, 0x1c2c1e08, 0x05110117, 0x0205040d, 0x0a040703, 0x17020c05, 0x081e2c1c, 0x880a2415, 0x170d2220, + 0x2521860f, 0x040c0406, 0x20860110, 0x2a056358, 0x010102be, 0x000700c0, 0x822b0018, 0x06142ee1, 0x36342622, 0x1d160732, 0x27061401, 0x22c48626, + 0x82251617, 0x231283c6, 0x06070607, 0x2308d884, 0x60013637, 0x38385038, 0x0d063e50, 0x0b7c4607, 0x880c120f, 0x0e083c01, 0x7c0b0f08, 0x060a0545, + 0x88014406, 0x2b081e83, 0x0804f138, 0x040807f6, 0x0f010623, 0x100cdf0b, 0x07080801, 0x0bdf080c, 0x2207010f, 0x04080203, 0x290408f6, 0x00000200, + 0x4002c0ff, 0x32248782, 0x00006800, 0x4c061946, 0x372905c2, 0x14153736, 0x26222306, 0x24048327, 0x2e373435, 0x24048201, 0x36343526, 0x25048337, + 0x31323033, 0xac82023e, 0x84160721, 0x41272026, 0x16290683, 0x3d361617, 0x2e273401, 0x06854102, 0x82170321, 0x82322029, 0x07600824, 0x1415011e, + 0x1bd01607, 0x06121825, 0x11150406, 0x26171e2a, 0x1e050707, 0x1b16012a, 0x171b0828, 0x021b2502, 0x011a1104, 0x01161b7f, 0x07051e2a, 0x1e172607, + 0x0415112a, 0x130c0606, 0x091b250b, 0x090b0e11, 0x251b0202, 0x081b1702, 0x25c00128, 0x1e134a1b, 0x10060205, 0x05010504, 0x2a1eeb0e, 0x07343684, + 0x19280907, 0x1211172e, 0x07092819, 0x0e251b07, 0xd0fe0d15, 0x67840b84, 0xeb1e2a23, 0x312e820e, 0x02061004, 0x0d170f03, 0x05251b4a, 0x080f0c08, + 0x37841b25, 0x17111225, 0x82000400, 0xe0012c00, 0x2b008001, 0x48003500, 0x19005900, 0x2a20973c, 0x3b033e02, 0x1f163201, 0x19072501, 0x270f923d, + 0x020e2223, 0x21161415, 0x2a06fa7b, 0x1e141501, 0x01013a03, 0x441712b7, 0xff210562, 0x05694400, 0x0c12172f, 0x1b150614, 0x22801120, 0xfe140c39, + 0x893d19d9, 0x070e3e12, 0x1205080c, 0x120e4e01, 0x17090e12, 0x06070310, 0xec0d060b, 0x30142107, 0x0d361218, 0x20478213, 0x3d058320, 0x30181236, + 0x1c072114, 0x121b0f32, 0x3220260a, 0x0d32321a, 0x01af1111, 0x04060302, 0xed82210f, 0x40820720, 0x10121c2c, 0x06040917, 0x00010203, 0x00820003, + 0x0100022b, 0x00230080, 0x004b002f, 0xdb631800, 0x4ade8313, 0x098505e0, 0x220be14d, 0x18343525, 0x201003a0, 0x25268214, 0x3233013d, 0x9283e001, + 0x8440fe21, 0x0709259e, 0x80090760, 0xff210584, 0x05176700, 0x08000125, 0x82100828, 0x21068603, 0xdf4f4001, 0x05816a05, 0x95183020, 0x3023093b, + 0x82081088, 0x3d2b8b28, 0x05002808, 0xbbfffeff, 0xc2018402, 0x66002a00, 0x88007a00, 0x00009a00, 0x17060737, 0x01510607, 0x012e2105, 0x210b0851, + 0x0f51013e, 0x010f2b06, 0x0e020f06, 0x06070501, 0x0b820607, 0x2f060723, 0x27298301, 0x010e0727, 0x2726012f, 0x04843b82, 0x36373624, 0x0482023f, + 0x82053846, 0x1617253b, 0x021f1617, 0x25310482, 0x07020e26, 0x17011e06, 0x023e031e, 0x05263637, 0x82308227, 0x2223213a, 0x172a4f82, 0x07062616, + 0x041e0616, 0x1c831617, 0x0c8f2008, 0x05230205, 0x020f020b, 0x03064e0a, 0x07094105, 0x06070432, 0x07010a4d, 0x2b040c01, 0x823d0706, 0x0b73081b, + 0x0b200305, 0xe8012518, 0x040d040d, 0x04020e05, 0x0d1f140d, 0xf809030d, 0x0d170308, 0x0102151f, 0x02020e01, 0x080c0505, 0x120a091d, 0x0c060520, + 0x0f08070f, 0x7b101111, 0x0e150e11, 0x0307030d, 0xfe070710, 0x0a0d077d, 0x04020208, 0x0c02090c, 0x07070a07, 0x18030105, 0x01061501, 0x7b160903, + 0x17090706, 0x6cac2006, 0x0104291c, 0x0c030802, 0x83020d05, 0x0401262d, 0x13102ee3, 0x8d8f901d, 0x073837ab, 0x070e2b03, 0x112f9d24, 0x3403040c, + 0x05100507, 0x0d170408, 0xa283431e, 0x06083308, 0x34070615, 0x11120505, 0x040c1e2e, 0x072b1801, 0x04070c06, 0x01010503, 0x09042105, 0x1a15150e, + 0x120c1e35, 0x02026413, 0x09070a06, 0x01030b10, 0xce820203, 0x0e04053b, 0x07361929, 0x21051507, 0x2b080b02, 0x18084f2e, 0x0606040e, 0x03010403, + 0x212a8401, 0x0082000e, 0x4d000521, 0x242107af, 0x05355400, 0x00003c22, 0x5608e96c, 0x3d270d4e, 0x3f363401, 0x43013e01, 0x04200589, 0x23095056, + 0x27013b07, 0x26086056, 0x38282002, 0x56300709, 0x303c0651, 0x151b0907, 0x13210730, 0x081d0dd6, 0x287cfe6d, 0x1c281c1c, 0xa3264d78, 0xb4594da6, + 0x01270c84, 0x50283800, 0x56280907, 0x092b0655, 0x22167007, 0x16127a06, 0x56880a0e, 0x6020074e, 0x22076256, 0x45030000, 0x0f25084f, 0x68005100, + 0x102d5a00, 0x23078646, 0x06141507, 0x1af57418, 0x013e3725, 0x822e013d, 0x36342303, 0x554e013b, 0x055d4e06, 0x36051526, 0x37012b26, 0x222d0483, + 0x1606010f, 0x0607013b, 0x37323316, 0x08a48201, 0xfe07092c, 0x090907c0, 0x10100207, 0x191f0907, 0x271d2232, 0xfe081117, 0xa01b25e0, 0x2408251b, + 0x0a0d1434, 0x091f190d, 0x0e091007, 0x03822009, 0x04e4fe26, 0x0c3a0707, 0x44284182, 0x0110010b, 0x173b0508, 0x07210b82, 0x09c14b03, 0x82400121, + 0x1a24080b, 0x2178082a, 0x2e03032e, 0x1711191e, 0x1b600170, 0xc01b2525, 0x0d1c2434, 0x11020211, 0x2a08760b, 0x0907201a, 0x3c0aaa43, 0x330b0560, + 0x6b090805, 0x05530705, 0x02000508, 0xbfff0000, 0xc0010002, 0x27000f00, 0xeb431800, 0x3236230d, 0xd418011f, 0x0620086d, 0x2f052452, 0x1533013d, + 0x01371614, 0xe00909f7, 0xe00a1a0a, 0x7b2f0685, 0x03550606, 0x130d700a, 0x60082008, 0x89d7030a, 0x32208219, 0x4e0606ed, 0x36050403, 0x08500d13, + 0x05364008, 0x18000304, 0x2c0bf77a, 0x00380027, 0x00480040, 0x00580050, 0x27818260, 0x06141632, 0x23272223, 0x2806d746, 0x34352635, 0x17323336, + 0x83048233, 0x23303719, 0x07141607, 0x16053217, 0x22273317, 0x34262231, 0x37013b36, 0x15820623, 0x58053452, 0x162205aa, 0x60592432, 0x52022006, + 0x73420652, 0x80012907, 0x1b25251b, 0x12d21225, 0x20210582, 0x2e0a8820, 0x27011b25, 0x01270808, 0x080fe0fe, 0x830126d0, 0x26012b24, 0xb00f08d0, + 0x09090e09, 0x0584770e, 0x83c0fe21, 0x2009210b, 0x01210c84, 0x230c8440, 0x25362560, 0x0a82468a, 0x4125362a, 0x410f200f, 0x400f0809, 0x40231b82, + 0x8462080f, 0x8a892028, 0x43488c3b, 0xf764074b, 0x000f2b05, 0x0037001f, 0x00450041, 0x57182500, 0x1727098f, 0x06010f16, 0x183f2637, 0x83078045, + 0x5227200e, 0x2b4e0603, 0x16142909, 0x3632013b, 0x21111337, 0x2105bd59, 0x09820316, 0x3aff002c, 0x0b3a0c0c, 0x0b0b0b0c, 0x04822424, 0x87550c21, + 0x850b2008, 0x06012518, 0x1a260907, 0x18ac7b19, 0x0b3bba23, 0x8202820b, 0x223e833f, 0x85170b0c, 0x850f823e, 0x099a3118, 0x261a1007, 0x07101a26, + 0x11150b09, 0xfe70010f, 0x0ecc7b19, 0xffff032a, 0x0102bdff, 0x0e00c101, 0x3023db82, 0x5e130000, 0x16210758, 0x21d58214, 0x06842527, 0x2505407f, + 0x3f321617, 0x108f1701, 0x0c0c0c27, 0x050c05e9, 0x230682e9, 0xff000b0b, 0x0c820684, 0x0ca13b25, 0x82a20c18, 0x0be922c4, 0x210e820b, 0x0e83a23a, + 0x062c0128, 0x026a061c, 0x06836a02, 0x12050527, 0x6a051d06, 0x27028205, 0x491a061d, 0x9a490505, 0x1d831685, 0x00200f84, 0x28071744, 0x00c00100, + 0x003b0021, 0x086f6647, 0x2c573320, 0x1d162105, 0x2008d344, 0x07064f15, 0x16320522, 0x23230b82, 0x82262221, 0x48332023, 0x3520053f, 0x07361383, + 0x013d2225, 0x32013b34, 0x2314011d, 0x13130da0, 0x4007090d, 0x08830907, 0x090c2d08, 0x09072807, 0x1c142401, 0x20fe0709, 0x141c0907, 0x4b351001, + 0x714f354b, 0x0899fe31, 0x0808d008, 0xe00d1380, 0x0710130d, 0x10070909, 0x80220a8a, 0x1283141c, 0x4b1c142a, 0x71404b6a, 0x2037494f, 0x82056b47, + 0x030021ba, 0x202e0482, 0x60018002, 0x36003200, 0x00004100, 0xaf823601, 0x010f1423, 0x05154206, 0x2205c644, 0x1833013e, 0x730b2b77, 0x15200962, + 0x05281783, 0x05152735, 0x013f3634, 0x2238d383, 0x04760226, 0x09d50206, 0x0dedfe0d, 0x0f0b4613, 0x03090e09, 0x38388a03, 0xa0208283, 0x28080483, + 0x0e0f3938, 0x30c0fe32, 0x0a16f501, 0x24192b0b, 0x01200119, 0x03120405, 0x130ad603, 0x020c2f0d, 0x085f0c12, 0x1901090f, 0xef551830, 0x07303009, + 0x083f4119, 0x2b0a5d3e, 0x173e1010, 0x18191912, 0x200acf4f, 0x35df1830, 0x18012032, 0x350f19df, 0x21101b25, 0x050a0f2f, 0x06063828, 0x0e16251b, + 0x044f2a1e, 0xdf181b28, 0x1b310c00, 0x19212f25, 0x28380215, 0x1b25110f, 0x1e2a131d, 0x063f4123, 0x02c0ff2a, 0x00c00106, 0x0017000f, 0x25201282, + 0x180e3772, 0x2307b145, 0x26222325, 0x2805b95f, 0x00020616, 0x0da00d13, 0x23048413, 0x4b6a4bfe, 0x012d0282, 0x1313bedf, 0x260a5f09, 0x13095f0a, + 0x211c8780, 0x1d843313, 0x10206b24, 0x028210a0, 0x00002029, 0xfffeff01, 0x82e201c0, 0x8437206f, 0x010f23f7, 0xe718010e, 0x262f0c01, 0x3626012f, + 0x2e27013f, 0x3e013f01, 0x42011f01, 0x1e220583, 0x926c1d02, 0x06163505, 0xd801010f, 0x20030306, 0x88060d03, 0x07400709, 0x0d068809, 0x03230d82, + 0x8a888806, 0x06032316, 0x18880304, 0x0d047231, 0x04053805, 0x079d4f03, 0x9d070909, 0x8204034f, 0x040d230e, 0x178a4e4e, 0x06040323, 0x22198903, + 0x69000900, 0x0f300787, 0x2b001d00, 0x47003900, 0x63005500, 0x7f007100, 0x2110834a, 0x68651333, 0x05ba700a, 0x20099570, 0x271bd217, 0x38282002, + 0x40fe2838, 0x40280583, 0x07400709, 0x1c281c09, 0x0a840282, 0x07099028, 0x21090750, 0x0282212e, 0x10900a84, 0x328f8020, 0x82c00121, 0x83c0204d, + 0x8201204d, 0x90fe2153, 0x22825082, 0x1c1c1424, 0x04824094, 0x0e831420, 0x0738712b, 0x38070909, 0x8f212117, 0x21048258, 0x0e825817, 0x79201393, + 0x00203b92, 0x0a200082, 0x29124f41, 0x00650057, 0x00810073, 0x3549008f, 0x08875b07, 0xef601720, 0x06d04506, 0x15200da8, 0x200d3d54, 0x0d7d4133, + 0x0bf95618, 0x9b363221, 0x20022c0d, 0x1b253828, 0x251b00fe, 0x41402838, 0x51410859, 0x20088708, 0x831a8780, 0x40fe2127, 0x60203383, 0x41075c41, + 0x08880876, 0x21087741, 0x5582c001, 0x25251b23, 0x2631821b, 0x1c1420b0, 0x4120141c, 0x1720075d, 0x85086741, 0x221d8809, 0x821b2589, 0x28382593, + 0x50251b20, 0x19832d84, 0x83181c21, 0x17182437, 0x88172121, 0x880f2009, 0x8200201d, 0x07260800, 0xbbfffdff, 0xc0018202, 0x28000600, 0x48003600, + 0x5c005400, 0x00006a00, 0x07060737, 0x07013e26, 0x1617011e, 0x37560617, 0x36262505, 0x32333637, 0x1c820f83, 0x012a2a08, 0x30072223, 0x16171514, + 0x0607010e, 0x35262726, 0x16373616, 0x0f021e25, 0x2e020e01, 0x3e013f02, 0x07363701, 0x16361506, 0x26368217, 0x1e06012e, 0x82373601, 0x37062127, + 0x4e080e84, 0x07062627, 0x16361706, 0x122008cf, 0x5d1b0e01, 0x0d264604, 0x2303071a, 0x20064a59, 0x67121204, 0x1a242475, 0x1e192010, 0x01030116, + 0x02815964, 0x100b1007, 0x1201021c, 0x01030d2c, 0x06100c9f, 0x53072002, 0x364f4161, 0x1d042007, 0x85889b15, 0x13032e18, 0x531b1c20, 0x832e0a46, + 0x03de0322, 0x08348701, 0x2c110143, 0x140b2bcb, 0x2d171e10, 0x230b3218, 0x44240120, 0x2715b326, 0x0406390a, 0x05040117, 0x01013115, 0x0e140a2b, + 0x11130302, 0x07090705, 0x071f060f, 0xb40d1c15, 0x0b214829, 0xb3296041, 0x19031e15, 0x361885ad, 0x061b1105, 0x2c0fd013, 0x2a171c27, 0x05064f28, + 0x010e140b, 0x82101303, 0x00083c1c, 0x00000400, 0x8001c0ff, 0x2e00c001, 0x3e003600, 0x00004600, 0x030e1401, 0x82331507, 0x0e072a25, 0x27262201, + 0x3335012e, 0x21048935, 0x6a463634, 0x21208405, 0xf54b0615, 0xaa841806, 0x0c063211, 0x400b140f, 0x09131f11, 0x09465c46, 0x1c40251e, 0x2b028324, + 0x0dc00d13, 0x1d104013, 0x1c289413, 0x0ac2a418, 0x01370b83, 0x14180c00, 0x26040d11, 0x061b2515, 0x2c39392c, 0x26203209, 0x831f310a, 0x0d202603, + 0x200d1313, 0x21188214, 0x3684e026, 0x058a6420, 0x8308f356, 0x00312bc7, 0x00870035, 0x00e0008f, 0x6f5a00e8, 0x05876109, 0x012e2325, 0x18070622, + 0x450df88a, 0x1621058c, 0x05284c1f, 0x2733252d, 0x1e320123, 0x14011d02, 0x18012b06, 0x21086f89, 0x42460706, 0x27262108, 0x2106906c, 0x48882726, + 0x49373621, 0x362106d5, 0x085f4837, 0x6b651620, 0x010f2305, 0x88181716, 0x3220085c, 0xd005f762, 0x05eb5a58, 0x0e112e08, 0x261a3027, 0x16421643, + 0x16434c43, 0x09090711, 0x07091007, 0x710d13b0, 0x53081d0d, 0xfe130d4a, 0x513384c0, 0x06033001, 0x07090304, 0x2f068205, 0x0b170b0b, 0x0b0a040b, + 0x07200709, 0x040a0b09, 0x05220f85, 0x3b830504, 0x7f2b209b, 0x281c1c28, 0x0907a01c, 0x9b040804, 0x2048a627, 0x288084e0, 0x22101c14, 0x22221e1e, + 0x330d841e, 0x60090750, 0x0a0e130d, 0x400d1368, 0xe0fe4060, 0x03060403, 0x7d90a5ae, 0xb4825020, 0x34281c22, 0xb7825f82, 0x0421ef90, 0x06004105, + 0x85221041, 0x053f4349, 0x8002e02c, 0x3700a001, 0x43003b00, 0x73424b00, 0x15c5700a, 0x34013d22, 0x2005624e, 0x0607483b, 0x22087a42, 0x5e273315, + 0xd84c079f, 0x05d84107, 0x42023226, 0x4402425c, 0x32210584, 0x05494a07, 0xd641a020, 0x306d2a05, 0xc0fe130d, 0x28d54d9e, 0x21db821c, 0x06843c01, + 0xe082a020, 0x0b090729, 0x42422e05, 0x870b052e, 0x30148407, 0x80130d40, 0x0a0e130d, 0x400d1388, 0xfe6060c0, 0x0a8343c0, 0x2d06b34c, 0x00020000, + 0x02008001, 0x1a000a00, 0xd1833300, 0x17013f23, 0x061c6236, 0xe56b3720, 0x3213380e, 0x2e012f36, 0x22012b01, 0x010f010e, 0x013b1606, 0x33013f32, + 0x46331617, 0x26280989, 0x14062223, 0x37323316, 0x36301c83, 0x9412129e, 0x140e0e14, 0x1c14880e, 0x60fe141c, 0xcb2b0583, 0x36020908, 0x1a070e02, + 0x82070905, 0x08093808, 0x08030c11, 0x0c030846, 0x100709be, 0x0c0c0907, 0x1e2a2a1e, 0x83050d0f, 0x35b0230c, 0x3d821035, 0xce140e22, 0xe0203d82, + 0x22083d83, 0x1c142001, 0x080de0fe, 0x0409079b, 0x089b0408, 0x15150b0d, 0x07a0100b, 0x24070909, 0x2a3c2a04, 0x83090606, 0xff002ad2, 0x014001c0, + 0x002300c0, 0x0aa3412f, 0x4308d643, 0x262208cb, 0xec823435, 0x0714153a, 0x15062226, 0x3e171614, 0x01343502, 0x0e0e0a28, 0x0a0e600a, 0x600e0a20, + 0x2d2e0a83, 0x4a6c4a25, 0x1a2c4525, 0x150b121e, 0x1884c010, 0x18839820, 0x0a849820, 0x41353b34, 0x35414f4f, 0x1e22b03b, 0x0c143918, 0x1e102821, + 0xab500000, 0xc0012105, 0x16248382, 0x42003a00, 0x69188582, 0x5a7a158d, 0x083f7a05, 0x7e493320, 0x182b2005, 0x2c0c9b59, 0x22213513, 0x33161406, + 0x020ac001, 0x85691802, 0xd0fe260b, 0x09300709, 0x08205007, 0xed270a87, 0x130de3fe, 0x185a0e12, 0x20107769, 0x252a8276, 0x09090770, 0x358b7007, + 0x40c9fe28, 0x00121c12, 0x9d180500, 0x2f220c8b, 0xb7833300, 0x20073f4b, 0x0a875417, 0x013b1428, 0x07222732, 0xdd423521, 0x16322208, 0x0553451d, + 0x3527262c, 0x06171523, 0x21171415, 0x6c502622, 0x18332005, 0x3c0f9c9d, 0xfe2e3740, 0x50131d75, 0x13a0131d, 0x1d13501d, 0x8780b709, 0xddfe1307, + 0x09c01d13, 0xa29d1807, 0x20c0210d, 0x30381f82, 0x131d1d13, 0x31131d30, 0x20206001, 0x2a1818e0, 0x90131d26, 0x00090730, 0x0c200082, 0x2d36b388, + 0x45003900, 0x5d005100, 0x75006900, 0x8d008100, 0xa5009900, 0xed4ab100, 0x088a4310, 0x4e0b7155, 0x5d63092a, 0x0b696317, 0x179bc118, 0x132123af, + 0xe7c71835, 0x68023215, 0x0d130e0a, 0x130dc0fd, 0x09280a0e, 0x09071007, 0x29058540, 0x0a900a0e, 0x0ca0fe0e, 0x028e0c28, 0x0f8e8020, 0x25920e82, + 0x012a128c, 0xfe0a0e00, 0x13130df8, 0x6e82010d, 0x09075025, 0x85500709, 0x0a482605, 0xa80a0e0e, 0x206484d4, 0x20058a6c, 0x201190b4, 0x21119054, + 0x128aecfe, 0x8b430020, 0x02e02905, 0x00a00100, 0x00540014, 0x36053d6b, 0x06272223, 0x34352223, 0x37023e37, 0x05343526, 0x2e27013e, 0x82012f01, + 0x023b270a, 0x3f161732, 0xb3183601, 0x06350992, 0x020e011d, 0x1f011e17, 0x14151601, 0x2722012b, 0x06010f26, 0xd0b31816, 0x35300809, 0x9696d496, + 0x4133386a, 0x0502084c, 0x39061d0f, 0x1d171801, 0x11180203, 0x20090632, 0x08050501, 0x01041106, 0x09120e04, 0x09071007, 0x020c180f, 0x06201a86, + 0x013d198d, 0x7aac7aa0, 0x03083313, 0x32130403, 0x564a3916, 0x182502b4, 0x0f051911, 0x02080701, 0x2d438204, 0x0209030c, 0x09090712, 0x12011207, + 0x1994101c, 0x00030027, 0x02e0ff00, 0x28eb8242, 0x004f0012, 0x00000067, 0x86e78214, 0x05d759eb, 0x57033221, 0x3e2505bb, 0x2e343501, 0x21f38402, + 0x5a18013e, 0x052027ce, 0x5086f782, 0x1627262c, 0x35363233, 0x011e2734, 0xbc821415, 0x3c562108, 0x082e2b33, 0x260e1602, 0x0866ac7a, 0x19120810, + 0x070c0805, 0x0603092d, 0x06071c03, 0x070c0406, 0x17768018, 0x5a013608, 0x0403160e, 0x332b2e05, 0x1868403c, 0x8d630e12, 0x01483901, 0x195e8442, + 0x03030819, 0x33291f17, 0x00ff5e42, 0x01100808, 0x0e08121a, 0x0d02090b, 0x06030a03, 0x78801804, 0x1f8c311e, 0x190a0417, 0x022c3619, 0x0a0a4f71, + 0x33325012, 0x083f7a18, 0xc0018022, 0x08176a18, 0x2b061422, 0x0482bf82, 0x3d262223, 0x0daa4901, 0x1d16322f, 0x0d600101, 0x600d1313, 0x0d400d13, + 0x210a8a13, 0x11844001, 0x1c83e020, 0x1c8ae020, 0x00276282, 0xff00000a, 0x820102c0, 0x00573263, 0x0063005d, 0x006f0069, 0x007d0075, 0x00890083, + 0x080b468f, 0x0627232c, 0x011e1707, 0x2206010f, 0x0a82012f, 0x24051652, 0x27263735, 0x23118307, 0x013f3426, 0x27610a82, 0x17332205, 0x09497136, + 0x134b0a82, 0x07152f05, 0x36371716, 0x16011f32, 0x16010f14, 0x0e832717, 0x55832620, 0x23373622, 0x36215082, 0x20108537, 0x20528317, 0x07304b16, + 0x06224983, 0x44823307, 0x84070621, 0x16280861, 0x0a07ef01, 0x0811070a, 0x01050d24, 0x0e041605, 0x3b2f0b05, 0x1e070901, 0x3b010907, 0x0e050b2f, + 0x05041604, 0x1108240d, 0x10822588, 0xc4382497, 0x2b0d0f04, 0x1e25591e, 0x6c0f0d2b, 0x03400615, 0x15064c09, 0x43030931, 0x32261784, 0x1a13131a, + 0x1d8a3a13, 0x83400c21, 0xb6df201e, 0x2092916d, 0x2271827f, 0x84061531, 0x251e2173, 0x4c207482, 0x87206c84, 0x77201684, 0x13227c82, 0x1c89901a, + 0x83044821, 0x05934c1d, 0x0100022b, 0x000f00c1, 0x002d001f, 0x08bd5354, 0x2405794c, 0x07230614, 0x81861835, 0x2b062808, 0x16262201, 0x53013f32, + 0x3d2e06bc, 0x16251701, 0x3507011d, 0x35271521, 0x914b3734, 0x053e2806, 0x041e3233, 0x82323317, 0xb016211a, 0x2308f752, 0xa00709b0, 0x46230c86, + 0x48d11534, 0xd1380590, 0x60121d01, 0x1260c0fe, 0x141c0e10, 0x0107014e, 0x08170e1c, 0x1c0e1708, 0x4e270a82, 0xe80e1c14, 0x83100709, 0x20048234, + 0x08088750, 0x0f720923, 0x1c14d597, 0x97d5141c, 0x0a180eef, 0x46b9b946, 0x0d0e180a, 0x1c142c0a, 0x15010501, 0x090b0b09, 0x24088215, 0x0b2c141c, + 0x93691800, 0x00112309, 0x27500021, 0x1135210b, 0x1f20d683, 0x5009e947, 0x0120052b, 0x0a5bfb18, 0x6040a023, 0x91d01809, 0x40012308, 0x0349141c, + 0xa8402108, 0x00208c88, 0x3520638c, 0xc8516399, 0x22232408, 0x83011d06, 0x0b76486d, 0x48207790, 0x4820f984, 0x0a88fc83, 0x1f8d8391, 0x48070934, + 0x03000009, 0xbcfffaff, 0xc0018002, 0x1c001400, 0x91825a00, 0x15010e34, 0x010e1714, 0x3d26012f, 0x36262701, 0x16322133, 0x654a0607, 0x3e172206, + 0x82998201, 0x05e6411a, 0x0ed85f18, 0x2605e05d, 0x1516011f, 0x45020e14, 0x230807ff, 0x15171617, 0x32013b14, 0x3fb10135, 0x23083b52, 0xb7105010, + 0x0115110f, 0x0f1115e0, 0x5e5e8479, 0x12b05e84, 0x135f8518, 0x0b10092b, 0x2d0e1207, 0x05030209, 0x0c164502, 0x101a0133, 0x39514367, 0x3c0b0910, + 0xca9c140c, 0x0f27270f, 0x2245828a, 0x1892845e, 0x3112b55f, 0x10080810, 0x09100c08, 0x0d05180f, 0x05020a03, 0x0c450204, 0x0993540a, 0xff820020, + 0x6f006524, 0x75447900, 0x012b2308, 0x01832335, 0x82331521, 0xcf771801, 0x3533250b, 0x15233533, 0x69180184, 0x35200c99, 0x6910a05a, 0xb05a0906, + 0x06754905, 0x16323326, 0x1527011d, 0x26241382, 0x0622012b, 0x27093552, 0x0907f001, 0x20500709, 0x50250083, 0x07400709, 0x830b8609, 0x09102216, + 0x23028407, 0x0940090e, 0x10220389, 0x02820907, 0x8230f821, 0x0907331c, 0x20070938, 0x09600907, 0x09078007, 0x606080a0, 0x2248a080, 0x840b8505, + 0x82702016, 0x09072153, 0xbb180582, 0x102007a9, 0x84059a42, 0x82702005, 0x0709257c, 0x3030b070, 0xb7207082, 0x83827e82, 0x00030035, 0x02c0ff00, + 0x00c00100, 0x003f0031, 0x25000047, 0x45141516, 0x2623058b, 0x5b373435, 0x2b470994, 0x060c6a05, 0xd6183b20, 0x332e091d, 0x36320432, 0x022e013f, + 0x010f0622, 0xaf4c011e, 0xfd013307, 0x38660903, 0x096638b2, 0x40150803, 0x0a182018, 0x05880a14, 0xfe15402a, 0x0c3030f3, 0x3211050c, 0x3d3c0685, + 0x1a13131a, 0x07068d13, 0x3c6e090d, 0x0d096e3c, 0xd0130607, 0x10181810, 0xae0a0a86, 0xae230783, 0x83860a0a, 0x80d02207, 0x21d28220, 0x05842415, + 0x33823c20, 0x001a1324, 0x577c0200, 0x00322208, 0x6ec18244, 0x2f23063f, 0x6e141701, 0x352a0944, 0x23220737, 0x013f2622, 0xae822627, 0x1f240482, + 0x32363701, 0x95080483, 0x27020f16, 0x07372737, 0x17270727, 0x37071707, 0x27173707, 0x050df001, 0x094b620c, 0x046c0d0e, 0x0608080b, 0x08064444, + 0x6c040b08, 0x0a0c0202, 0x0c624b08, 0x2a6e0d05, 0x5e0c1405, 0x041a0422, 0x140c5e22, 0x242f2a05, 0x2d14352f, 0x142d1010, 0x34242f35, 0x02212102, + 0x061b01f5, 0x180a5335, 0x08711803, 0x5959070b, 0x71080b07, 0x530a1518, 0x011b0635, 0x110d6810, 0x0d6b3c07, 0x073c6b0d, 0x7d680d11, 0x32081928, + 0x1d33331d, 0x28190832, 0x2a2a360c, 0x00820036, 0xffff012a, 0x2002c0ff, 0x6700c001, 0x333dd582, 0x2223010e, 0x27012e23, 0x27262733, 0x27333734, + 0x33363736, 0x06071632, 0x1e171415, 0x25068301, 0x3717011e, 0xe2840607, 0xe7843420, 0x13011f2e, 0x13153234, 0x0f163637, 0x14161701, 0x15270483, + 0x2f060714, 0x823e1701, 0x272622fc, 0x21428226, 0x06823435, 0x17323327, 0x33071716, 0x081d8216, 0x28e00134, 0x07518621, 0x1f7f4d06, 0x01043b28, + 0x16292f01, 0x08050456, 0x3a0a030a, 0x29060106, 0x021d2d1a, 0x040a051b, 0x07072a14, 0x0a04142a, 0x100c1e05, 0x10881f0b, 0x0502012b, 0x25021b05, + 0x14060835, 0x202e8219, 0x0836823a, 0x0405083d, 0x2f291755, 0x48600501, 0x45570458, 0x0d12153b, 0x3c662911, 0x19080e03, 0x052b471a, 0x3725050f, + 0x0623341d, 0x09041241, 0x01092106, 0x2109010e, 0x15040906, 0x08082001, 0x8415e0fe, 0x0d022114, 0x022d1482, 0x05020402, 0x07411204, 0x3e202535, + 0x2d378217, 0x191a472b, 0x3d020e08, 0x01102966, 0xe74d1a1a, 0x008b220e, 0x19e74d93, 0x30150631, 0x16171514, 0x22230607, 0x011e012f, 0x67373632, + 0x352b0538, 0x3c013f34, 0x27343101, 0x61220607, 0x1623051a, 0x82071415, 0x07062d03, 0x33161727, 0x2f363732, 0x34363701, 0x34340482, 0x23263435, + 0x27072322, 0x07152234, 0x1f062627, 0x14060701, 0x15210483, 0x22278214, 0x6407013f, 0x37220742, 0x68830706, 0x4e272221, 0x2a081938, 0x062505c5, + 0x03040205, 0x3d091802, 0x18093d4e, 0x02040302, 0x05250302, 0x03060315, 0x0f1b0505, 0x10180a20, 0x0d021319, 0x82020101, 0x12093201, 0x09120303, + 0x01010202, 0x0508050e, 0x0205020c, 0x31118308, 0x01030108, 0x020b0101, 0x18101913, 0x1b0f200a, 0x3d820505, 0x7b4ee320, 0x0e123018, 0x05200101, + 0x15020306, 0x26313126, 0x83030215, 0x82202074, 0x16123d53, 0x06060202, 0x0f11201a, 0x11131e12, 0x041f1416, 0x01010923, 0x030f0203, 0x04010601, + 0x022c3582, 0x04700a02, 0x01096f04, 0x040e0304, 0x03211382, 0x3597820f, 0x21070102, 0x16141f04, 0x121e1311, 0x1a20110f, 0x02020606, 0xc94ee6fe, + 0x002f0805, 0x00000600, 0x4102bfff, 0x0f00c001, 0x2e002000, 0x4b003d00, 0x00005900, 0x011d1601, 0x05072625, 0x3f363435, 0x17323601, 0x05173607, + 0x44061415, 0x2e27057c, 0x17013d01, 0x82263435, 0x011d230d, 0x20821614, 0x0d883720, 0x33011e33, 0x15173637, 0x16011f14, 0x34013d36, 0x0626012f, + 0x080d8c27, 0x162a0221, 0x1717f7fe, 0x090df7fe, 0x0e200eec, 0x010e0e2c, 0xf20b0e12, 0xf20a160a, 0x06800e0b, 0x83065004, 0x06902e03, 0x03066004, + 0x06600205, 0x045006b0, 0x22038306, 0x82600690, 0x08038208, 0x076c0128, 0x07503117, 0x0a315007, 0x054f0311, 0x04046d05, 0x110be552, 0x02023603, + 0x0b110336, 0x041022e5, 0x01160105, 0x06831106, 0x822d0221, 0x1a022106, 0x032e0d82, 0x021a0104, 0x02061011, 0x04050116, 0x21820611, 0x11240523, + 0x841a8206, 0x021a380d, 0xff030005, 0x02bffff3, 0x00c0010b, 0x0076006e, 0x0100007e, 0x8307011e, 0x012f32f3, 0x31361707, 0x14151632, 0x2223010e, + 0x2735022e, 0x08c75215, 0x83073521, 0x34262913, 0x17303336, 0x06072737, 0x2736f182, 0x36373626, 0x06071617, 0x1f161415, 0x26273501, 0x012e013f, + 0x10553435, 0x16172205, 0x2156820f, 0x46551415, 0x37152205, 0x2719823e, 0x34352627, 0x34073637, 0x44083e82, 0x2736011f, 0x36371714, 0x0106012f, + 0x103238a0, 0x08351f0a, 0x2f1d500b, 0x060e0a05, 0x0804070b, 0x10290407, 0x10131a13, 0x090d0129, 0x0a0e0e0a, 0x501d2f05, 0x1538080b, 0x3c2f190a, + 0x0709090b, 0x4d212619, 0x0827822c, 0x1e1f1a4e, 0x08040619, 0x04073b3b, 0x1f1e1905, 0x0603081a, 0x26224c2c, 0x09040319, 0x0d081b55, 0x801d060d, + 0x0e0e051d, 0x7e011b07, 0x273f731e, 0x060a3d24, 0x0121142a, 0x0b070a0e, 0x07060306, 0x091e1c05, 0x13130d12, 0x1e09120d, 0x0e0c091c, 0x3508f882, + 0x062a1421, 0x1918410a, 0x07208045, 0x280a0a09, 0x1646282f, 0x07241436, 0x330f1109, 0x0f331e1f, 0x3507090b, 0x0b090735, 0x1f1e330f, 0x09110f33, + 0x36142407, 0x26824616, 0x06050434, 0x20740905, 0x26261114, 0x2222130c, 0x26260c13, 0xff471411, 0x00112a0d, 0x00370027, 0x1d160100, 0x052d7f01, + 0x34013d22, 0x23057742, 0x35331533, 0x32200386, 0x4a511d82, 0x59052005, 0x01220efd, 0x6a5e0af6, 0xeb0a2705, 0xcb050c05, 0x01826040, 0x0907102b, + 0x070940fe, 0x07b00110, 0x261c8509, 0x64010709, 0x83250b04, 0x0b25270e, 0x02025a04, 0x0083a0be, 0x30070926, 0x60090730, 0x20096e62, 0x05df5100, + 0x62014021, 0x3928052b, 0x4c003d00, 0x013a0000, 0x27068a68, 0x3d262221, 0x37171601, 0x0e2f8383, 0x06220702, 0x012e2223, 0x27022e27, 0x18363435, + 0x2409f351, 0x2b012e35, 0x26118301, 0x15233505, 0x5f231525, 0xc182053e, 0x06222327, 0x202b2a8b, 0x05616640, 0x20402708, 0x07130dc0, 0x02292c17, + 0x11070922, 0x2c290114, 0x0d130717, 0x130d0002, 0x03c00d13, 0x13601924, 0x4020010d, 0x0783e0fe, 0x130d4029, 0x20261ae0, 0x83863016, 0x3086351d, + 0x0d13a016, 0x21120613, 0x1009161e, 0x12221d01, 0x130d1005, 0x50822782, 0x21198629, 0x80130d20, 0x83604040, 0x0d13265e, 0x0c002660, 0x07e75c00, + 0x13000928, 0x27001d00, 0xd7823200, 0x5300482b, 0x69005e00, 0xb2007400, 0x05776900, 0x514ca883, 0x23099705, 0x26223633, 0x455fcd82, 0x200abe07, + 0x0cb44c05, 0x1815d36d, 0x200a5a93, 0x0b955216, 0x90363228, 0x09400907, 0x05848007, 0x0b8ae020, 0x131a7d27, 0x20080810, 0x2906a873, 0x07090002, + 0x38090720, 0x2e42c028, 0x07602805, 0xb0070909, 0x843828c0, 0x0d132216, 0x230784c0, 0x01130dc0, 0x90206f82, 0x09217682, 0x2a058f07, 0x080d1320, + 0x2e0c0c20, 0xba130d12, 0x85d32009, 0x3828215b, 0xe05b6782, 0x21d68205, 0x15852838, 0x84130d21, 0x13b0229d, 0x060f4e00, 0xc0018030, 0x18000900, + 0x50004300, 0x11150000, 0xa04f1133, 0x21252e05, 0x37343526, 0x17013f36, 0x15161716, 0x08e07014, 0x20065e5d, 0x25078223, 0x020e012f, 0x9518011d, + 0x4e4b0875, 0x03332305, 0x1484041e, 0x78373621, 0x022c05ef, 0x1d9afe43, 0x082b4558, 0x58452b08, 0x202bd783, 0x40131a13, 0x050c0c18, 0x82401b10, + 0x8320200a, 0x03802d13, 0x0e111608, 0x20102080, 0xc0fe4001, 0xcd341182, 0x38431f1c, 0x0a0a352b, 0x43382b35, 0x0d133c1f, 0x40130d80, 0x0d2b1782, + 0x24154840, 0x0a030807, 0x85481526, 0x2d1a840f, 0x05014001, 0x12211512, 0x301c2020, 0x0082000a, 0xffff0337, 0x0002c0ff, 0x0e00c501, 0x84006800, + 0x27010000, 0x013f3426, 0x05445036, 0x16220622, 0x2a06fe43, 0x35022e22, 0x36343527, 0x56331617, 0x2225050e, 0x2b06010f, 0x21f18201, 0x1b832306, + 0x17221983, 0x1c82031e, 0x2b263432, 0x012f2601, 0x013b3626, 0x26343632, 0x06072223, 0x34330d82, 0x1e173637, 0x07161702, 0x023f3233, 0x011d1636, + 0x82040e14, 0x27052238, 0x29178226, 0x69013603, 0x16030316, 0x05830707, 0x08035908, 0x3b3b5207, 0x13271b25, 0x030b010a, 0x150b2f23, 0x190a1e15, + 0x1216291d, 0x412a354b, 0x040b1124, 0x100b0301, 0x1a203121, 0x211a2626, 0x04100409, 0x14200909, 0x11141c1c, 0x1a0a0a0d, 0x38280506, 0x051a2516, + 0x0f2f1109, 0x0871180a, 0x0f050312, 0x10162515, 0x0d15161f, 0x062c3982, 0x0e040b13, 0x01352726, 0x08031683, 0x06827185, 0x3b800335, 0x34246429, + 0x0613130d, 0x03062607, 0x090f2b04, 0x82150f64, 0x1f480874, 0x1f4b3521, 0x06173130, 0x04020605, 0x0e1f1514, 0x01263426, 0x0f082008, 0x0b1c281c, + 0x04140707, 0x0a26060f, 0x15241703, 0x190a2427, 0x0a09069a, 0x07060324, 0x0807090c, 0x0f0d100c, 0x110c0206, 0x0f080408, 0x00000d05, 0x3e056741, + 0x00c00182, 0x00ad00a5, 0x240000b5, 0x010e011e, 0x23060726, 0x27032e22, 0x07062726, 0x6633011e, 0x2e2505a6, 0x22062702, 0x347e1827, 0x37362108, + 0x0e211d83, 0x059a4902, 0x2726062f, 0x013e3426, 0x1e013e37, 0x36161702, 0x821d8437, 0x27012543, 0x26222326, 0x2206046f, 0x82323316, 0x2e272122, + 0x28054868, 0x17071415, 0x37173236, 0x06585826, 0x820f0621, 0x3233243b, 0x86023e37, 0x0e072470, 0x82222302, 0x17162281, 0x2158821e, 0xe4660203, + 0x86242006, 0x02270807, 0x07081367, 0x1f161312, 0x10170c15, 0x0303050a, 0x09211c03, 0x0e0a1320, 0x28170a0e, 0x0d050e19, 0x0e050d10, 0x83172819, + 0x132b0810, 0x1c210920, 0x06040303, 0x0c0b0f15, 0x13161f15, 0x04020312, 0x130a0407, 0x0808110e, 0x08061316, 0x1302040a, 0x0c1a1017, 0x83080e08, + 0x3009852f, 0x192a1707, 0x25231911, 0x130b2536, 0x131b3a1b, 0x2009820b, 0x22118223, 0x8207172a, 0x1a0c2227, 0x852a8310, 0x12183409, 0x080a0402, + 0x08161306, 0x8d0e1108, 0x0e09090e, 0x84f7fe09, 0x82682006, 0x07083ba3, 0x0e09150f, 0x0d0b0d14, 0x230b1706, 0x0e140e38, 0x13252d1c, 0x25130101, + 0x0c821c2d, 0x23382608, 0x0d06170b, 0x0519110f, 0x070f1505, 0x0a050908, 0x04010708, 0x05080301, 0x1a070f05, 0x03050e1d, 0x0d0e1011, 0x36298215, + 0x150c0f10, 0x22113421, 0x1b192502, 0x131b2525, 0x08082510, 0x83131025, 0x25192a0b, 0x34112202, 0x0e0d1521, 0x83288210, 0x03112d06, 0x1a1d0e05, + 0x05050f07, 0x27010308, 0x02879182, 0x18000021, 0x260caf41, 0x0012000e, 0x7a1e0016, 0x05380999, 0x15272634, 0x35073617, 0x15371607, 0x0e033736, + 0x17141502, 0x91ce9137, 0x01330282, 0x814157b0, 0x2659d817, 0x99263373, 0x1728452b, 0x84b80181, 0x43673a19, 0x67a60b67, 0x47728629, 0x09726922, + 0x083f0122, 0x2f2c4e33, 0x00006729, 0x06774603, 0x0900c727, 0x2f001400, 0x06c56e00, 0x012b062a, 0x3e340535, 0x15013f01, 0x0750a918, 0x23088b44, + 0x013f3435, 0x39080383, 0x16011f36, 0x6d02011d, 0x07090b08, 0x0500fe70, 0x706d0509, 0xd0010907, 0x36256010, 0x30106025, 0x0b0b4c09, 0x0351094c, + 0x07640911, 0x064cc009, 0x2f02090c, 0xf90709c0, 0xa9181209, 0x1d2a096a, 0x4b090e73, 0x094b0c0c, 0x3345730e, 0x01e02805, 0x00a001c0, 0x821f000f, + 0x583f208b, 0xe16310f3, 0x013b210c, 0x930d3b62, 0x9001270f, 0x141c1c14, 0x0583a0fe, 0x42487020, 0x0a4d4809, 0x01210a8a, 0x36e118a0, 0xb0fe260b, + 0x09090780, 0x21048407, 0x098207e0, 0xfa4f0484, 0x200e8205, 0x20af9400, 0x051e4925, 0xf6683520, 0x05152106, 0x2106f944, 0xab52012b, 0x9e172005, + 0xc001210f, 0x087d82aa, 0xa4602005, 0x3dae82db, 0x00000200, 0x8201c0ff, 0x0700c001, 0x00002800, 0x34262200, 0x14163236, 0x17072707, 0xa1820616, + 0x3d080e82, 0x2e27013b, 0x36013f01, 0x011f3637, 0x011e3637, 0x06010f06, 0x361b0126, 0x25362525, 0x6e23185f, 0xd01a1513, 0x11171711, 0x14202d5c, + 0x26123112, 0x3a271828, 0x0315210c, 0x210c580d, 0x24824001, 0xcf36253e, 0x136e411d, 0x17221731, 0x21471423, 0x0404215c, 0x0a2f2e1e, 0x0b211903, + 0x00030a48, 0x022a8385, 0x00c20180, 0x00520029, 0x2a460000, 0x57658205, 0x5a420635, 0x33302305, 0xd756013e, 0x011d2905, 0x36321614, 0x0534013d, + 0x24057b4a, 0x2e012f22, 0x820e8201, 0x221a88b8, 0x8226012f, 0x171624b0, 0x82173132, 0x01280824, 0x2f131a03, 0x0404b326, 0x090d1010, 0x0175105a, + 0x0c0a1907, 0x0e4d0706, 0x01090e09, 0x1010167a, 0x26b30404, 0x131a132f, 0x40080f82, 0x06074d0e, 0x07190a0c, 0x01107501, 0x800d1300, 0x2f0a3f27, + 0x600b1501, 0x1e03110a, 0xb0181d51, 0x0706050b, 0x17820b1a, 0x09074d1a, 0x0d500709, 0x6017078f, 0x2f01150b, 0x80273f0a, 0x0d13130d, 0x2d168350, + 0x82171a4d, 0x07061a0b, 0x18b00a06, 0x1742511d, 0x5dc02006, 0x31240633, 0x56004e00, 0x35184d4f, 0x0622020f, 0x0607011f, 0x37333233, 0x32333217, + 0x3637012f, 0xcf822326, 0x2227222e, 0x33161406, 0x35363732, 0x22302334, 0x2205a645, 0x8231013a, 0x23342212, 0x180f4f26, 0x190b932e, 0x12010102, + 0x01040104, 0x01161601, 0x043f0682, 0x02010112, 0x04010b19, 0x44442f3b, 0x0513152f, 0x27010307, 0x01273838, 0x06020103, 0x4e751406, 0x210817e5, + 0x04041678, 0x04191102, 0x19040c0c, 0x04040211, 0x43430216, 0x02074360, 0x4e380605, 0x070e0138, 0xa14e8dfe, 0x053f4405, 0xc0010128, 0x24001900, + 0xe9825f00, 0x0f141625, 0x82220601, 0x013d22c3, 0x29b78406, 0x14151632, 0x17323307, 0xcc823204, 0x23012e22, 0x372dd982, 0x1415011e, 0x14150706, + 0x3d22012b, 0x05457101, 0x3b161723, 0x2a218301, 0x012e012f, 0x013e3435, 0x82343533, 0x011d2410, 0x82161716, 0x26272150, 0x3c082a82, 0x17141506, + 0x0707f901, 0x0714071c, 0x48380764, 0xac7a7a56, 0x0a102c7a, 0x78fffe07, 0x27422754, 0x0eab543c, 0x08121912, 0x0e110810, 0x040c0708, 0x1c070606, + 0x2d090705, 0x130c120e, 0x20158f0c, 0x21448205, 0x4782071c, 0x2c100a22, 0x24084682, 0x3848567a, 0x3c540907, 0x54264327, 0x18054578, 0x011a120f, + 0x10080810, 0x07050b01, 0x0403040b, 0x030a0508, 0x2216820d, 0x8f0d140c, 0x41002016, 0x022007f3, 0x20070741, 0x05057930, 0x5f220941, 0x062605b6, + 0x35262722, 0x97641734, 0x14152305, 0xe59d011e, 0x2b3e712f, 0x03080343, 0x0e0a4a43, 0x060e140e, 0x2aca9b0c, 0x241f2b9c, 0x4f03034f, 0x82351f24, + 0x0a0e242b, 0x84060b07, 0xff2408af, 0x02c0fffa, 0x00c00100, 0x001b0010, 0x00350025, 0x010e3700, 0x23060717, 0x26272622, 0x35013f36, 0x15351533, + 0x2406634c, 0x32370617, 0x05784a16, 0x82033321, 0x06142118, 0x8205b043, 0x37210828, 0x161628d7, 0x19201a15, 0x11120d2e, 0xa0a0571e, 0x02800d13, + 0x0dc00806, 0x0d13c013, 0x151ec020, 0x201b8273, 0x351b832d, 0x295e1e89, 0x17191311, 0x41164821, 0x20e0a0b0, 0x02130d20, 0x8f74100e, 0xf0fe2705, + 0x3d1ad0b0, 0x1e85570f, 0x02219f83, 0x6f791800, 0x411b2007, 0x0f22054b, 0x4a181701, 0x26270d2a, 0x1f36013f, 0x4d363701, 0x142905e9, 0x03012b06, + 0x2223010e, 0x097f5b2f, 0x011f3234, 0x33013e13, 0x0c0c3b02, 0x0c0c2e2e, 0x2e0b0c16, 0x06820b2e, 0x032d0d8b, 0x0a0e0e0a, 0x200662c3, 0x58121f10, + 0x280c832c, 0x3a0a1351, 0x0b120255, 0x202e93c5, 0x2b4a8516, 0x300a0ee5, 0x89fe0e0a, 0xa41c1415, 0x11250a84, 0x0b43016a, 0x3f4d180d, 0x01022e08, + 0x001c00c0, 0x05000039, 0x14151632, 0x05074307, 0x17323323, 0x210a8216, 0x5b622630, 0x37362106, 0x19ac4318, 0x01014e08, 0x0b090754, 0x966a2e2b, + 0x2c2e6a96, 0x0d02030c, 0x7c570207, 0x0702577c, 0x040307a3, 0x07010d37, 0x44030204, 0x04020344, 0x370d0107, 0x4c070304, 0x030c0322, 0x06091222, + 0x9610040b, 0x051096d4, 0x7c010c0d, 0xfc017cae, 0x36040c01, 0x2e25824c, 0x06012424, 0x04364c05, 0x450b010c, 0x82450606, 0x002308aa, 0xfffaff08, + 0x01d601c0, 0x001d00c0, 0x00260020, 0x002c0029, 0x0032002f, 0x25000035, 0x2b061617, 0x41060701, 0x3808054e, 0x2627013f, 0x37013b36, 0x011f3236, + 0x0f163233, 0x07172301, 0x17072327, 0x33070333, 0x07371707, 0x37172733, 0x27333723, 0x0b359601, 0x386b1516, 0x380b2a0b, 0x0b16156b, 0x080e8d35, + 0x14284222, 0x35703520, 0x17387035, 0x1414b82e, 0x8d142828, 0x28902e17, 0x1359c014, 0x12125e24, 0x5913245e, 0x012e0988, 0x58583721, 0x260e0158, + 0xb0212138, 0x06827f21, 0x2709534d, 0x000900c9, 0x00270013, 0x9284c482, 0x3523112a, 0x16213734, 0x1123011d, 0x17240f82, 0x15161727, 0x26231283, + 0x83010e07, 0x3f342913, 0x27173601, 0x2b263637, 0x2220c682, 0x7345bc82, 0x3b162605, 0x32161701, 0x2cd0823f, 0x0c044636, 0x07802604, 0x80077202, + 0x3b0a8226, 0x600c80e6, 0x1e171e2d, 0x14800c60, 0x02131348, 0x19270303, 0x19010601, 0x02030327, 0x2f080e8d, 0x2b0505fb, 0x0ae2f0fe, 0xe20a0808, + 0x052b1001, 0x0a66be05, 0x6086fe0f, 0x0405271d, 0x015d1826, 0x660a0f7a, 0x1f1fe810, 0x02280502, 0x02052802, 0x00210988, 0x08ef4f0b, 0x0d000a24, + 0xcf821000, 0x28001630, 0x5f005300, 0x65006200, 0x00006b00, 0xd0833212, 0x3d26223e, 0x37053401, 0x33270717, 0x37173727, 0x14032707, 0x23060706, + 0x11352622, 0x32212734, 0x212be882, 0x14150627, 0x0607011f, 0x83011e14, 0x843320d1, 0x36372ad2, 0x012f3435, 0x2e343637, 0x21f58301, 0xf7843123, + 0x2d700120, 0x36322506, 0x0703013d, 0x23205082, 0x36080482, 0x1c071733, 0x07501c28, 0x128b0109, 0x22115e11, 0x9912116f, 0x1e8b1211, 0x1a050617, + 0x50011026, 0xe0fe3828, 0x1b030227, 0x0905031b, 0x061c3806, 0x1c060b0b, 0x90060c38, 0x91012a11, 0x2e420907, 0x3828b0fe, 0x0847840b, 0x20200e39, + 0x0120203e, 0x50141cc0, 0x14400709, 0x341e1ec9, 0x1e1e181c, 0xfe1e1e6a, 0x042618de, 0x011b2501, 0x38151b70, 0xf200ff28, 0x05060504, 0x0b052e2e, + 0x0a2e0609, 0x8d0b2e0a, 0xe3fe2a0e, 0x422e0709, 0x01202838, 0x21428305, 0x00823582, 0xb74a0020, 0x01003106, 0x003700c0, 0x003f003b, 0x36320100, + 0x06141537, 0x5f09777e, 0x21200a91, 0x3b113165, 0x26222335, 0x011e013d, 0x33150733, 0x23351735, 0x1e780115, 0x0d131a50, 0x09073020, 0x20078c64, + 0x057450ff, 0x20301185, 0x501a130d, 0xa060081e, 0x13a00160, 0x130d600d, 0x20050050, 0x202e83f0, 0x250585f0, 0x07200709, 0x1c844009, 0x83406021, + 0x82002000, 0xfeff25a7, 0x8202c0ff, 0x402ba782, 0x48004400, 0x16250000, 0x600f0607, 0x9a890a2c, 0x27290988, 0x3f262726, 0x26273501, 0x21058434, + 0x0b493f36, 0x17152305, 0x39821416, 0xb0822520, 0x3521052a, 0x08790221, 0x37080101, 0x3c677484, 0x20058505, 0x08168337, 0x09375921, 0x061b7709, + 0xb7b70703, 0x1b060307, 0x37090977, 0xffc0c0fe, 0xfe400100, 0x0a052fc0, 0x85140408, 0x33058bd5, 0x0a080414, 0x12403105, 0x32041404, 0x10061040, + 0x04565604, 0x40210682, 0x23108232, 0x40e04012, 0x00370282, 0x00000200, 0x0702fbff, 0x11008501, 0x00002d00, 0x15163613, 0x45061411, 0x05200a74, + 0x3f16a645, 0x0716011f, 0x1e1e0bd7, 0x0a66590b, 0x660a0e0e, 0x0c2d5001, 0x0b0b170c, 0x0b0b2e2e, 0x2d0c0c17, 0x01300d8c, 0x100c0b79, 0x0c10b0fe, + 0x0a0e590b, 0x600e0a90, 0x32862493, 0x2a051744, 0x01f001c8, 0x000700b8, 0x181d000f, 0x200b1b5c, 0x05524716, 0x83261421, 0x05774507, 0x0aed7618, + 0x91ce9122, 0xeb2f0282, 0x1a13131a, 0x38500813, 0x70502838, 0x18285070, 0x200de7b4, 0x2b1b82e7, 0x386d1a13, 0xa0703850, 0xb8503870, 0x73820e84, + 0xffffff33, 0x014002c0, 0x001b00c2, 0x00440034, 0x0100004c, 0x83ba1822, 0x21112f16, 0x0f160107, 0x27260601, 0x3e37012e, 0x0c841f01, 0x06012f26, + 0x17363717, 0x870f2a55, 0x880121b0, 0x0d97ba18, 0xe0fe2b08, 0xfe118001, 0x270c0570, 0x4607190a, 0x19084602, 0x050c270b, 0x2d0c051a, 0x0c2d1b1b, + 0x1b5b0105, 0xfe0d1325, 0x25130da0, 0xcf84831b, 0x08800125, 0x87400810, 0x60013d03, 0x0df1fe40, 0x03061807, 0x4ecf4d08, 0x18070509, 0x0c3f0d07, + 0x4a4a0501, 0x700c0105, 0x0fe3ba18, 0x77580020, 0x05c34a05, 0x1e000724, 0xdf823000, 0x5c005422, 0x2009334c, 0x15056817, 0x06220625, 0x5f171415, + 0x3626088e, 0x06073435, 0x0383011f, 0x183f1621, 0x290839f7, 0x26012f36, 0x2627010f, 0x0f681707, 0x41122006, 0x01270692, 0x09090e17, 0x68a0090e, + 0xaf300e1d, 0x09202f42, 0x09074007, 0x0703c320, 0x03074747, 0x6222c482, 0x06820862, 0x46460722, 0xfa200d88, 0x2005c94a, 0x21428477, 0x47823801, + 0xe70e0922, 0x39103868, 0x201a261e, 0x09070d13, 0x130d0709, 0x08811a20, 0x031e1e03, 0x03080e08, 0x06842b2b, 0x2a280d86, 0xef08032a, 0x121c1240, + 0xd7474786, 0x01802708, 0x002000c7, 0xb1790023, 0x013b240f, 0x48262713, 0x1f2a068f, 0x010f1601, 0x33072513, 0x67837002, 0x83a0fd21, 0xef192a05, + 0x190d0935, 0x29290a0d, 0x2606820a, 0xfeef3509, 0x4ee874e9, 0x0129098f, 0x090d4a4a, 0x380d0913, 0x24068438, 0xa0b6fe4a, 0x06e76ea0, 0x01000227, + 0x002d00a0, 0x05615e37, 0x031e0124, 0xe7443233, 0x26222505, 0x3307013d, 0x095f4818, 0x34113527, 0x34262226, 0x26128436, 0x013f033e, 0x83061415, + 0x08c96d23, 0x27085a42, 0x21170423, 0x110f172a, 0x20087f84, 0x130d2080, 0x1ab00709, 0x131a1326, 0x38280d13, 0x1c333313, 0x503840ab, 0x0e0f4038, + 0x090e0909, 0x27058459, 0x26160001, 0xce040f1b, 0x902ccb83, 0x100d1360, 0x1a260907, 0x130d0001, 0x38303582, 0x271d5628, 0x4060040e, 0x38382886, + 0x50408628, 0x2a0bcd50, 0xfffcff02, 0x01c401c0, 0x821700c0, 0xf94d18c3, 0x054e4a09, 0x23152724, 0x03822335, 0x16010623, 0xfa531806, 0x013d2107, + 0x3a09ae45, 0x013f2622, 0x32213336, 0x4b307017, 0x4b354035, 0x30302830, 0x4e012830, 0x84101305, 0x06a145bc, 0x0614103f, 0x0117080a, 0x0108176a, + 0x35808040, 0x80354b4b, 0xc5172e80, 0x17c5d0d0, 0x1b0ffcfe, 0x20b58370, 0x24058570, 0x16200f1b, 0x08cf4116, 0x97824220, 0x3c001c26, 0x1e250000, + 0x25079245, 0x37363435, 0x05822634, 0x16323324, 0x04823617, 0x3714152f, 0x06071636, 0x36272607, 0x23263435, 0x85088222, 0x1e17241e, 0x820e0701, + 0x01163d36, 0x2f2a1f57, 0x3828f021, 0x38011d24, 0x0d2c1b28, 0x261a1a12, 0x040706d5, 0x25115435, 0x40081182, 0x0a071113, 0x114f7102, 0x05020612, + 0x5f6d2923, 0x211f2e02, 0x1f28382f, 0x04010a31, 0x1b382801, 0x1a261217, 0x0b012711, 0x24054105, 0x28050610, 0x07070738, 0x70500c0d, 0x030d0103, + 0x46294614, 0x26af825b, 0xff000003, 0x828002bf, 0x001e24af, 0x76510044, 0x34220fab, 0xb28c3426, 0x16250626, 0x010f0617, 0x210dd05e, 0xb35f3637, + 0x83012006, 0x222625cd, 0x34371406, 0x1721e183, 0x28de8206, 0x3f02012e, 0x2838241d, 0x08c782fe, 0x01253426, 0x36222e42, 0x1a12100e, 0x52fe0126, + 0x090f150f, 0x030d094c, 0x0808531d, 0x0d031d53, 0x05295809, 0x58290512, 0x31081282, 0x090d111e, 0x425c210e, 0x1923311c, 0x083b0a29, 0x271d0d0c, + 0x1f310a7a, 0x28383828, 0x01033626, 0x2e010304, 0x0a1e2442, 0x04011a26, 0x0f081016, 0x3e8c1913, 0x593b5188, 0x0d140602, 0x2e5c4221, 0x171b3123, + 0x08044424, 0x00002f05, 0xfffeff0a, 0x82e201be, 0x00053af3, 0x0017000e, 0x00270020, 0x003a0030, 0x004b0045, 0x3700004f, 0x26222717, 0x39e3823f, + 0x3634013d, 0x2607011f, 0x15173336, 0x03270614, 0x3f342627, 0x07163601, 0xf1872317, 0x011d4008, 0x032f0614, 0x1f013e26, 0x07141601, 0x0f163203, + 0x2e220601, 0x37013d01, 0x23061617, 0x07332707, 0xd06c6b27, 0x06020404, 0x02040601, 0x0203414d, 0x0407cc03, 0x02025172, 0x04090597, 0x825f6d3d, + 0x5f2808ef, 0x0604027d, 0x50104c01, 0x03070202, 0x02020297, 0xc3030203, 0x02030402, 0x04026a75, 0x6419d004, 0xbee96464, 0x38040816, 0xa23f1782, + 0x2e010203, 0x160602e7, 0x02050442, 0x01315901, 0x03620204, 0xa8990509, 0x1da80808, 0x82030201, 0x0329081f, 0x048f1b7a, 0x62020207, 0xfe010402, + 0x570206d5, 0x02040201, 0x049cdf42, 0xb0c51608, 0x000300b0, 0x01bdff00, 0x00cb01c0, 0x050f780b, 0x0f20b882, 0x20086757, 0x065b7936, 0x013d2623, + 0x82fb8327, 0x2f2408f6, 0x01352601, 0xc60404a6, 0xa60404c6, 0x04b42020, 0x08982008, 0x0408f010, 0x980810c4, 0x02520120, 0x7777020a, 0x653b0482, + 0x03921414, 0x26c60505, 0x0a055d13, 0x056de00a, 0xe0740305, 0x5d050a0a, 0x7a002613, 0xa3270a83, 0x1c001400, 0x7f003b00, 0x15220947, 0x6a833527, + 0x16323325, 0x4706011f, 0x05220656, 0xbf481733, 0x06435612, 0x16142108, 0x0907f001, 0x80201b25, 0x351c0714, 0x07041108, 0x09090e37, 0xf0fe090e, + 0x070996aa, 0xa0090740, 0x1c370584, 0x131a1324, 0x09600113, 0x251b2007, 0x0b962e24, 0x0a1b0808, 0x82300e08, 0x0e092429, 0x43da3659, 0xd62509bc, + 0x0d1f310a, 0x832d8213, 0xfcff32a7, 0x8202bfff, 0x1000c001, 0x49004300, 0x06370000, 0x05a87826, 0x17141524, 0x0b822223, 0x011e0525, 0x7b010e07, + 0x3723051a, 0x1837023e, 0x08081fb4, 0x36262729, 0x1f32013b, 0x14151601, 0x010e010f, 0x2f22012b, 0x14152301, 0x06371716, 0x37161716, 0x09090c12, + 0x122a1175, 0x82df0f78, 0x5b47088a, 0x23207f01, 0x30480302, 0x0a080dfe, 0xbc55470e, 0x3c332d5a, 0x3e3c0404, 0xed050403, 0x064b0a10, 0x11030f03, + 0x090e1f08, 0x0b10401c, 0x0b0e030e, 0x01c00513, 0x0e750716, 0x2b570c02, 0x0714292a, 0x3c104245, 0x82402f23, 0x032508d1, 0x03191110, 0x6d365f1e, + 0x020a0219, 0x0a043219, 0x0a09630d, 0x081c0708, 0x2517090a, 0xae06190c, 0x0101110c, 0x31db8213, 0xff000001, 0x010302bf, 0x002e00c0, 0x07160100, + 0xc8820626, 0x23061728, 0x07012b22, 0xb6821706, 0x27220633, 0x27063726, 0x3e343526, 0x17323301, 0x35013f16, 0x08e28234, 0x16323345, 0x0233cf01, + 0x1e1a481f, 0x1f1d1e01, 0x28560101, 0x2304090f, 0x08171232, 0x10121622, 0x0b0c101c, 0x3f280f16, 0x132e290e, 0x8e01461d, 0x09114933, 0x21581e19, + 0x160e290a, 0x23190c0b, 0x08221612, 0x82191217, 0x09042a27, 0x4f56280f, 0x0d170e3f, 0x5c8e821d, 0x2b50069b, 0x202a0805, 0x40003000, 0x60005000, + 0x80007000, 0x9a009000, 0xac00a300, 0x16370000, 0x06070607, 0x2e22012b, 0x37363701, 0x2517013e, 0x7c18011e, 0x36240858, 0x03323637, 0x0c084f18, + 0x18333621, 0x2708185e, 0x013d2622, 0x13333634, 0x2f214084, 0x233f8401, 0x011f1636, 0x2726e282, 0x36013f26, 0x01821716, 0x27230624, 0x4f820616, + 0x8205194b, 0x8f16205e, 0x250f8f3f, 0x17323627, 0x90821411, 0x36273523, 0x23088537, 0x15171613, 0x27081184, 0x05050b81, 0x610d0201, 0x01050705, + 0x0e031303, 0x07110106, 0x04250306, 0x040b2a0b, 0x07060325, 0x07b0401f, 0x60070909, 0xad35048d, 0x08090b05, 0x06530b09, 0x2a1e0503, 0xf5030d06, + 0x0501020d, 0x200f8205, 0x2743820e, 0x2a070a01, 0x53060305, 0x05262284, 0x060d0324, 0x3e8d492a, 0xa0294d84, 0x080a0c0a, 0x0c400810, 0x22058214, + 0x820c1480, 0x07fd2505, 0x0e0e0d0d, 0x2e348a82, 0x0404062b, 0x060d0288, 0x680b0b68, 0x08020d06, 0x0709e0fe, 0x20076e56, 0x350a8980, 0x080c1c01, + 0x07090806, 0x060e0433, 0x05031824, 0x0e0ed607, 0x0e820d0d, 0x2b06042c, 0xa30a072e, 0x33040e06, 0x22820907, 0x075a0c26, 0xe7180305, 0xee354494, + 0xdafe0202, 0x12fd0808, 0x08e5fe0c, 0x0c1b0108, 0x0808fd12, 0xe7881800, 0x0011280c, 0x004f002d, 0x18710068, 0x2213c587, 0x18343503, 0x700af26b, + 0x2620052f, 0x36240682, 0x1732013b, 0x2205c553, 0x18343526, 0x24080f91, 0x1f141506, 0x05f86e01, 0x14011d24, 0x3c833733, 0x17240882, 0x36373216, + 0x0d823c85, 0x35260722, 0x15448618, 0x08086027, 0x141c1c14, 0x30008208, 0x07090907, 0x122c0808, 0x02160e19, 0x08080c0b, 0x2809880c, 0x08100860, + 0x050e0524, 0x22078224, 0x18791010, 0x2713d98b, 0x1c0810e8, 0x1c142014, 0x092d2182, 0x09072007, 0x10101760, 0x0201130c, 0x8a108207, 0x08782a0a, + 0x27371508, 0x37270505, 0x37098215, 0x1f1a1a1f, 0x060a07b4, 0x05000780, 0xc0ff0000, 0xc0018001, 0x44000b00, 0x23060343, 0x22230100, 0x2e07d86b, + 0x14151715, 0x15010f06, 0x26273521, 0x8216013d, 0x853720fd, 0x82172004, 0x05024115, 0x3f323327, 0x37023e01, 0x23f48532, 0x36343526, 0x16232582, + 0x752b2627, 0x15210757, 0x1e701805, 0x3323210d, 0x01240f8e, 0x08083000, 0x3008be84, 0x240c1080, 0x251b00ff, 0x12200808, 0x20120e0e, 0x1b0c0b0b, + 0x01061b15, 0x02020e03, 0x12060304, 0x08162018, 0x1c14230d, 0x1a700709, 0x0f112026, 0x23358420, 0x0907b0fe, 0x17420884, 0x83202006, 0x2001230e, + 0x07839303, 0x58f02b08, 0x240c2711, 0x251b4040, 0x0c034e35, 0x091a060c, 0x02092812, 0x08030403, 0x1b090402, 0x0801121b, 0x141c0810, 0x3f250907, + 0x2f837006, 0x1f59b020, 0x6c802006, 0x0934068f, 0x0907a007, 0x00000300, 0x8001b9ff, 0x1e00c301, 0x2e002600, 0x270a254e, 0x06010f26, 0x2226012f, + 0x05820685, 0x11352624, 0x984a3634, 0x3f078707, 0x147452ba, 0x0a0c1907, 0x290b0b2b, 0x29050e05, 0x0a2b0b0b, 0x1407190c, 0x131a076c, 0x93131a13, + 0x21080584, 0x7102c001, 0x0bf0fe51, 0x09120808, 0x0c0c300b, 0x2e05052e, 0x0b300c0c, 0x08081209, 0x5008010b, 0x2a82de76, 0x00310287, 0xffff0200, + 0x4702bfff, 0x1b00c001, 0x00002700, 0x054b5425, 0x013f2623, 0x08908327, 0x27013d42, 0x011f3236, 0x37170716, 0x17051736, 0x06071716, 0x37342622, + 0x3b021625, 0x0b5a0c0c, 0x0c0c160c, 0x1a241d0b, 0x2f5a1331, 0x1a2d2f84, 0x0b0b1d09, 0x31f8fe0c, 0x12ee0704, 0x00142534, 0x0bfe05ff, 0x0b212682, + 0x21168217, 0x2682091c, 0x2d131a23, 0x3427822f, 0x0b0c1d24, 0x0431080b, 0x2514ff05, 0x07ee1234, 0x10000000, 0x07e76100, 0x0f000726, 0x1f001700, + 0x2f3f8d82, 0x78006d00, 0x90008300, 0xa8009b00, 0xbe00b300, 0xd600c900, 0x33130000, 0x23011d32, 0x86233435, 0x013b2107, 0x07870f85, 0x82151721, + 0x200c821c, 0x201f8621, 0x07624521, 0x232fa561, 0x3634013d, 0x210b3562, 0x40622204, 0x22252308, 0x4162012e, 0x010e2107, 0x17201789, 0x0e220a89, + 0x0c893201, 0x0a941620, 0xe8242d8c, 0x38200810, 0x07830382, 0x07824820, 0x08206025, 0x83fe0810, 0x10022109, 0x2a23e161, 0x141a0709, 0x06060c0e, + 0x85b2fd18, 0x08012407, 0x83060b07, 0xd00e2110, 0x28211085, 0x221f840a, 0x85430b06, 0x8592200f, 0x8e322006, 0x2001251d, 0x08787808, 0x09220393, + 0xe0617007, 0x0770220f, 0x22158209, 0x83c0130d, 0x13c02207, 0x2a0f820d, 0x060b1020, 0x270a0a1b, 0x88100b0e, 0x07202309, 0x1487080c, 0x1f913020, + 0x070c0822, 0x3e8a1491, 0x28824888, 0x250be352, 0x0024000f, 0x754e002c, 0x3733380f, 0x3e372317, 0x07013f01, 0x1f141506, 0x013f2301, 0x010f012f, + 0x821f0737, 0x012f2312, 0xaa83f001, 0x8320fe21, 0x10b03705, 0x1f076f90, 0x0438bc0f, 0x10d05606, 0x20204040, 0x20208040, 0x03821010, 0x82060b44, + 0x20402d26, 0x092210fa, 0x0a0aa96b, 0x20ca0c0d, 0x40222282, 0x2284c020, 0x00201029, 0xffff0400, 0x4401bfff, 0x1b3305fb, 0x52004a00, 0x37170000, + 0x010e0717, 0x2e272223, 0x820e3702, 0x022e2a7a, 0x013e013f, 0x07011e17, 0xff071917, 0x2f22210c, 0x3124a082, 0x011d1617, 0x2305904e, 0x34352627, + 0x332a2983, 0x33011f32, 0x33363435, 0x885c2226, 0x23513c05, 0x11031934, 0x0804040b, 0x0211050c, 0x0440070b, 0x1a010306, 0x07213a08, 0x83e70207, + 0x103f08c6, 0x0d300907, 0x0114160a, 0x1a13132f, 0x01095713, 0x1420051b, 0x232f1118, 0x285c0709, 0x1c281c1c, 0x65358a18, 0x02010d0b, 0x06cd100c, + 0x01100107, 0x62040806, 0x0208221f, 0x092b060b, 0x83c0fe07, 0x09f02343, 0x3f825017, 0x0d531a30, 0x530d1313, 0x040d0a56, 0x19146b04, 0x5b822f11, + 0x41824020, 0x00281c22, 0x0aff5718, 0x46003e28, 0x32010000, 0xbb83011e, 0x8909a04e, 0x22062209, 0x08004b27, 0x3221c982, 0x082e6517, 0x82333621, + 0x3e172236, 0x072a4b02, 0x1145022b, 0x0d130f1b, 0x07200709, 0x05cd4709, 0x7a332708, 0x40070933, 0x50700907, 0x0a0e3749, 0x110e0a10, 0x1a23140f, + 0x1a1f0708, 0x09090e80, 0x6001090e, 0x5c111f14, 0x3082130d, 0xb0283582, 0x07090907, 0x47171747, 0x422fc484, 0x0a31295e, 0x0e0a0e0e, 0x111b0f06, + 0x4f090f03, 0xd74e0573, 0x01412608, 0x004b00c0, 0x2ebb8253, 0x010e1415, 0x2606010f, 0x3015022f, 0x88071415, 0x07f35dac, 0x26012f25, 0x833f3435, + 0x37352204, 0x21e58306, 0x7046012b, 0x15332405, 0x46013b36, 0x0725059e, 0x17160706, 0x29c88816, 0x050a0540, 0x05180b21, 0x96511013, 0x86250805, + 0x09021a18, 0x030c4208, 0x1a040219, 0x0911011f, 0x09071007, 0x2b1d2434, 0x78354ba0, 0x04010504, 0x09060712, 0x30d28547, 0x0c064d73, 0x050d020a, + 0x07260b09, 0x212d0166, 0x34cd83b2, 0x69401796, 0x640c0c08, 0x0b0c0807, 0x02291d44, 0x130d0303, 0x2f188338, 0x01342438, 0x064b3521, 0x080b1304, + 0x09200907, 0xe3834383, 0xfff9ff2b, 0x014702c0, 0x001700c1, 0x23e38234, 0x33011e17, 0x2726d884, 0x07172737, 0xc0832317, 0x35363222, 0x4607e345, + 0x3724056c, 0x1f323625, 0x08076547, 0x01011d2e, 0x0301db20, 0xb0070901, 0x3c946828, 0x07952568, 0x01040109, 0x150b0cf6, 0x0be50c0b, 0x0a0ce50b, + 0x010c0b16, 0x0c1e0c00, 0x40070965, 0x4d3b1c82, 0xb90201c1, 0x40370907, 0x49407789, 0x02b90709, 0x0c0b4801, 0xca0b0c18, 0x84ca0a0a, 0x0ae22408, + 0x83345a0a, 0x008830b4, 0xff000001, 0x018001e0, 0x005a00a0, 0x51232500, 0x073109a4, 0x16141506, 0x3f32013b, 0x1f163601, 0x0f061601, 0x05324b01, + 0x37262722, 0x3423b484, 0x8a013b36, 0x35362609, 0x012b2634, 0x26258222, 0x26012f26, 0x82013f36, 0x1632231e, 0x50871617, 0x64700124, 0x72838622, + 0x071dcc3a, 0x0954090c, 0x13080c06, 0x02071407, 0x251d0c08, 0x1d23134f, 0x2a171b09, 0x259a1e83, 0x0e321c22, 0xd0202485, 0x20051d48, 0x222f821b, + 0x8209060c, 0x08182f43, 0x180a0614, 0x2e10170b, 0x20070930, 0x1f950907, 0x86181a21, 0x8200201e, 0xff033200, 0x020000f1, 0x00800195, 0x00210017, + 0x0100002b, 0x20ac8232, 0x052a6e06, 0xc7832620, 0x372ee582, 0x06363736, 0x27363732, 0x06072226, 0x09880417, 0xd741013e, 0x1b1f324a, 0x3f1f1d3f, + 0x270c1a26, 0x4026190c, 0x1713614f, 0x5e4f4a72, 0x21090921, 0x01210483, 0x360a8931, 0x57496d80, 0x380d1e48, 0x26111126, 0x60508838, 0x29f41c2c, + 0x8a290b0b, 0x298a8203, 0xc0ffffff, 0xc0018102, 0x91821200, 0x16050024, 0x8b821415, 0x22213008, 0x35262726, 0x36013734, 0x010f1732, 0x02333717, + 0x0904057b, 0x08c0fd13, 0x05040410, 0x220a2001, 0x26661b0a, 0x080f5540, 0x11070809, 0x8207070a, 0xc0012707, 0x9f4c0f0f, 0x835a4026, 0x00c02b09, + 0x004f004b, 0x00570053, 0x75582500, 0x053e430d, 0x35013b23, 0x07874721, 0x82075243, 0x06e64113, 0x58213321, 0x5f43057f, 0x05764305, 0x3221152c, + 0x33251516, 0x35032335, 0x1f821523, 0x8002152b, 0x38680709, 0x0d13130d, 0x220483a0, 0x8ad0fe38, 0x0768270c, 0x01070909, 0x19834818, 0x0483c020, + 0x18014832, 0x80fe0907, 0x60408080, 0xb860c001, 0x13280907, 0x08266b18, 0x0b8b2820, 0x10070922, 0x09251c8d, 0xfe407807, 0x08af5880, 0xc0fff92e, + 0xc0018002, 0x46003e00, 0x00004e00, 0x08734a18, 0x33170722, 0x20076048, 0x09d24227, 0x14062224, 0x23823b16, 0x83061421, 0x262723e5, 0x054c3637, + 0x36372705, 0x1f32023b, 0x0f660601, 0x32173906, 0x07233736, 0x60023717, 0x2838130d, 0x1c375c17, 0x0709130d, 0x40954b50, 0xe0200783, 0x08065c47, + 0x6c0d132c, 0x0705301e, 0x5070281e, 0x110f9938, 0x131a0114, 0x090e390d, 0x10090e09, 0x4d05190f, 0x01660e77, 0x200d13a0, 0x6e323828, 0xc5820d13, + 0x84509021, 0x2d1f8206, 0x25131a13, 0x261e2a1d, 0x7050022e, 0x15820858, 0x092a1382, 0x0e12570e, 0x00371c3b, 0x00820003, 0x0100022a, 0x000b0080, + 0x001d0017, 0x46055b5b, 0x4208058c, 0x06222434, 0x36171415, 0x35361732, 0x32160534, 0x93222637, 0xd49693da, 0xa0500196, 0xd8490b70, 0xb8fe0b49, + 0x3a399e39, 0x5280019c, 0x533b623e, 0x3e623b53, 0x0d212f12, 0x0d2a2a0d, 0x175a210d, 0x83001917, 0xc0ff2c5f, 0xc001a001, 0x15000700, 0x63004200, + 0x16230959, 0x6307011f, 0x25230859, 0x83141632, 0x012f210c, 0x2506b379, 0x2e272223, 0x71633f01, 0x26272c05, 0x2e06010f, 0x013f3601, 0x82011f36, + 0x24013536, 0x281c1c28, 0x1a0cce1c, 0x200d080a, 0x13130d4d, 0x1d01430d, 0x28080683, 0x140d1e36, 0x0c0e3e20, 0x18071f05, 0x0c0c0505, 0x15551c03, + 0x0f250a0f, 0x0a280c0d, 0x0b03101a, 0x472c2527, 0x011a142a, 0x2b3e8260, 0x1cf9281c, 0x1d15060f, 0x80131a13, 0x22080382, 0x244e291b, 0x660f1e09, + 0x18030216, 0x0d32570d, 0x0557162e, 0x081e0a03, 0x081b1503, 0x150b1c1e, 0x8235280b, 0x081366bc, 0x0a00c026, 0x26001a00, 0x250c8b5c, 0x07061401, + 0x7d5c2606, 0x21172109, 0x2008535c, 0x06465c35, 0x171e0024, 0x385c2d1e, 0x01202306, 0x155c0750, 0x08095c06, 0x7ffe2308, 0x05042618, 0x70011d27, + 0x2838161a, 0x092000ff, 0x38422e07, 0x04000028, 0xbefffeff, 0xc001c201, 0xef562300, 0x1e052807, 0x0e010f01, 0x82012f01, 0x904a1874, 0x4537200e, + 0x27200743, 0x2008b368, 0x07c86406, 0x42363721, 0x26200677, 0x012c0786, 0x030406b7, 0x050d030e, 0x0d05bbbb, 0x04230882, 0x908e8e06, 0x20933511, + 0x54785426, 0x02062026, 0x087e080b, 0x1a94020a, 0x131a1313, 0x24054e59, 0x060d0305, 0x2331821c, 0x04035a5a, 0x0d230882, 0x90454503, 0x11933011, + 0x4b35223a, 0x3a22354b, 0x0f0a1a11, 0x4c970a0f, 0x00220c81, 0x5f180100, 0x0b390843, 0x01050000, 0x36013f26, 0x0f160117, 0x53020601, 0x090cb3fd, + 0x020c0a14, 0x2906834d, 0x0ac7013d, 0x090c190d, 0x068339fe, 0x03000022, 0x2906ef46, 0x001300c2, 0x0084006f, 0x42491300, 0x011f2b07, 0x010f011e, + 0x010f0617, 0x48830523, 0x23012f22, 0x44056749, 0x70180572, 0xf84709fe, 0x3f342609, 0x06072301, 0x237d842f, 0x2627013b, 0x1f2b0985, 0x3e373302, + 0x021e3203, 0x4233011f, 0x96820582, 0x33010f24, 0x75411732, 0x7e362005, 0x2e0806b9, 0x2723020f, 0x1b972726, 0x021a0103, 0x0610060c, 0x14180206, + 0x05050102, 0x0d098c01, 0x30090e0d, 0x09053d2f, 0x09071007, 0x5237024a, 0x844a0237, 0x0526080b, 0x09302f3d, 0x090d0d0e, 0x4e110a34, 0x35070a45, + 0x0d0e0d09, 0x243d3209, 0x0f07020a, 0x0f1c241c, 0x240a0207, 0x1584323d, 0x0a073535, 0x0a114e45, 0x06021873, 0x08041006, 0x011a0206, 0x821a1b03, + 0x0102285f, 0x07073619, 0x824e0505, 0x82052072, 0x28483f7a, 0xad1a0606, 0x0908090e, 0x0861480d, 0x09074e09, 0x77490709, 0x3d280d1e, 0x1d0e283d, + 0x0f834977, 0x08094e25, 0x820d4861, 0x4f0e2622, 0x0904180e, 0x2d2d8450, 0x0634144c, 0x0f0f1710, 0x34061017, 0x1d844c14, 0x09502e08, 0xac0e1804, + 0x020c0648, 0x06010105, 0x05054e04, 0x09360707, 0x0006061a, 0xff070000, 0x02c0fffe, 0x00c00140, 0x0024001c, 0x0034002c, 0x05ed5b3c, 0x0e211328, + 0x14011d02, 0x5246010e, 0x3e372405, 0x4e013d07, 0xda4e11ca, 0x3236270f, 0x22061416, 0x17873426, 0x1c01803f, 0x080f1b12, 0x17070908, 0x0a08e7fe, + 0x04090303, 0x02030306, 0x0e013801, 0x090e0909, 0x21059049, 0xd11850a8, 0xc0390a89, 0x294a3a13, 0x1a3119ac, 0x080d161a, 0x130d1a09, 0x0e0c0f0b, + 0x7050ac08, 0x933b82e0, 0x70d72c02, 0xa07070a0, 0x25362590, 0x50003625, 0x022105cf, 0x2bdb8280, 0x000f0007, 0x0075006d, 0x2400007a, 0x1322a18e, + 0xe6821632, 0x26010f25, 0x4a072223, 0x062205f7, 0xe3651707, 0x42062007, 0x727e0957, 0x08cd480c, 0x4b07727e, 0x1e270617, 0x33011f01, 0x4f373435, + 0x0623056c, 0x5600011d, 0x38080648, 0x23273337, 0x48ec0115, 0x34483434, 0x0e0e144e, 0x0d680e14, 0x19330913, 0x51243b1b, 0x0507090d, 0x06060507, + 0x0612071f, 0x0d0f0e05, 0x0d092c09, 0x06050e0f, 0x061f0712, 0x22198206, 0x880d0907, 0x0f0e3e22, 0x0985141c, 0x38040e12, 0x0f041e66, 0x08091605, + 0x426ffe0d, 0x2f422f2f, 0x6b296e66, 0x225d8270, 0x823c4834, 0x140e2c5d, 0x0d131201, 0x33090d33, 0x9906300c, 0x3571914e, 0x14930c0d, 0x080d081c, + 0x242e2883, 0x0a180506, 0x2816110a, 0x5f8200ff, 0xd1422f25, 0x19006060, 0x080af382, 0x0a000629, 0x19001400, 0x28002000, 0x00003c00, 0x3e230701, + 0x17323301, 0x06163723, 0x34352622, 0x15163337, 0x37360514, 0x82272317, 0x2215220c, 0x061e4626, 0x32372723, 0x05104816, 0x0805fe49, 0x16332765, + 0x15013732, 0x400f525a, 0x675c1b28, 0x6a361942, 0x02fc024b, 0x100ef0fe, 0x30508062, 0x00011c14, 0x141c1c14, 0x37712a0d, 0x50141c4f, 0x46212f10, + 0x4c23072a, 0x44b40123, 0x32502c24, 0x354bcd15, 0x030d0d03, 0x03077735, 0x3d2a30de, 0x441cc029, 0x601c281c, 0x2a374f80, 0x1a161c14, 0x10602f21, + 0x47000010, 0x80220623, 0xe7428001, 0x8b531906, 0x2e222209, 0x05b25101, 0x2b010e23, 0x22b98201, 0x82363411, 0x34362592, 0x14062226, 0x08f24718, + 0xa6486020, 0x11172b05, 0x3a0d1b06, 0x20081b0d, 0x1183a013, 0x25366526, 0x01253625, 0x80360686, 0xc0fe0d13, 0x1109130d, 0x1d1d3d0c, 0x1315113d, + 0x0d40010d, 0x2182f013, 0x87840287, 0x02d9ff35, 0x00a4010a, 0x00410020, 0x3700005b, 0x16171632, 0x18222306, 0x25080682, 0x013e3233, 0x8b842e27, + 0x82013d21, 0x4935208b, 0x33290570, 0x37363221, 0x22232636, 0x05534b07, 0x023e3724, 0x3983011e, 0x16321727, 0x07010e07, 0x82408a06, 0x2b2108bc, + 0x9d272601, 0x06043925, 0x35232b3a, 0x080a0206, 0x07040c20, 0x080f0a17, 0x0c140201, 0x0909078e, 0x31038307, 0x140c4e01, 0x0f130202, 0x0c040717, + 0x04080520, 0x65820501, 0x06282d08, 0x302d3a09, 0x070d4436, 0x482b1f2f, 0x080a030e, 0x0e040a22, 0x1c1c141c, 0x1d0b7414, 0x2c242fc0, 0x07222c41, + 0x0a160a0b, 0x0f0c0912, 0x080a3c4b, 0x0e0c0f23, 0x050a1617, 0x27190409, 0x1b280b11, 0x5420472e, 0x062e1e37, 0x08272b0a, 0x1c18080d, 0x1a261c28, + 0x05f76600, 0xc7010730, 0x1f001b00, 0x16010000, 0x2706010f, 0xd9771607, 0x34262706, 0x013e013f, 0x3a463717, 0x37250805, 0xfb010727, 0x0c160c0c, + 0x0f104d0b, 0x35139e1c, 0x13135a13, 0x234e1c9e, 0x170b0b4c, 0xfcfe0b0b, 0x017a5a7a, 0x220b8477, 0x824e234c, 0x201f8220, 0x23208235, 0x0b4d100f, + 0x0c223582, 0x20825efe, 0x2008bb68, 0x06074400, 0x57002d24, 0xa7440000, 0x070d4407, 0x14162727, 0x06071607, 0x8ab91823, 0x37263e08, 0x26373426, + 0x32361736, 0x36163617, 0x012b0614, 0x23262726, 0x22072226, 0x23070607, 0x005e1822, 0x08455d09, 0x013a0724, 0xe4823231, 0x01230282, 0x821c28bc, + 0x17473106, 0x0c120817, 0x0c080511, 0x06070c32, 0x08120c11, 0x24211082, 0x2b0d8218, 0x389f2319, 0x09062b28, 0x3c151e15, 0x09350382, 0x38282b06, + 0x42021d25, 0x0e35202e, 0x2f212518, 0x28010102, 0x054a1860, 0x8311200a, 0x0d112733, 0x03171703, 0x4085120d, 0x9b254b84, 0x0a0c3850, 0x31008215, + 0x28380d09, 0x0b0a321f, 0x21422e0a, 0x212f1d1c, 0x4d180709, 0x4220087f, 0x192af782, 0x45003800, 0x5f005200, 0x595d6c00, 0x013c250f, 0x33363431, + 0x3320e582, 0x1622c983, 0xdc820607, 0x2e272228, 0x27262702, 0x1782013e, 0x07011e2c, 0x1415010e, 0x1607021e, 0x1c82010f, 0x3f262725, 0xa6013e01, + 0x013e080c, 0x2f251d5e, 0x2100ff21, 0x381b252f, 0x101d3128, 0xdf2c1d12, 0x2b030405, 0x06050345, 0x1d130302, 0x032b1013, 0x0d0d3a54, 0x1a050205, + 0x3225161f, 0x24080eb2, 0x04040905, 0x0325080e, 0x0ca55b0d, 0x05de3108, 0x2f211d2c, 0x2c1d212f, 0x28010105, 0x25082838, 0x0408011b, 0x13010135, + 0x2b071923, 0x02503a13, 0x0f020a01, 0x2e1a1e35, 0x08bd0e1e, 0x0208400e, 0x06220482, 0x0a9f0303, 0x00040036, 0x02c0ff00, 0x00c00100, 0x002b001d, + 0x004a003b, 0x16320100, 0x2206016f, 0x5f373634, 0x07270d45, 0x3605013a, 0x601e1732, 0x35200597, 0x0d861f82, 0x42010e21, 0x1d8b062f, 0x01013e29, + 0x383828a0, 0x41c0fe28, 0xfe2b10f9, 0x020c02b8, 0x281c2206, 0x84a6221c, 0x160d2309, 0x0b87140d, 0x0e251582, 0x38400115, 0x413b8250, 0xf62c0df0, + 0x32150606, 0x1d1d1511, 0x15331015, 0x0e220b84, 0x0c890d17, 0x0d231883, 0x82002019, 0xff062200, 0x2fd786fe, 0x001b000d, 0x00370029, 0x00630045, + 0x011e3600, 0x2505e141, 0x013f012e, 0x0d8b013e, 0x8c263621, 0x8c24200d, 0x201b8d0d, 0x1c214137, 0x030cb229, 0x09054003, 0x82060404, 0x6d032107, + 0xb3200d8c, 0x01210d8c, 0x200e8c8d, 0x200d8c53, 0x163a413b, 0x0d065127, 0x02087006, 0x21058203, 0x0bae0306, 0x5341f220, 0x00003812, 0xffffff07, + 0x014002c0, 0x001a00c1, 0x00500045, 0x006a005d, 0x43840077, 0x1e2a1a45, 0x17160501, 0x16141506, 0x9e600731, 0x22302c17, 0x26072231, 0x14060706, + 0x42070637, 0x17220545, 0x5f430506, 0x43fe2033, 0x2421075f, 0x055f431c, 0x1622133c, 0x070381fe, 0x083b0106, 0x4719020b, 0x19470707, 0x4b080b02, + 0x04100423, 0x12824b23, 0x25020932, 0x1a491c20, 0x121b621c, 0x121a2615, 0x44011a10, 0x43256543, 0x72430c8c, 0x1e112910, 0x12060235, 0x14050212, + 0x80886d8c, 0x17151a30, 0x501c1a04, 0x13190c1e, 0x0a261a1c, 0x7c43fc1c, 0x0a9d431f, 0x05002208, 0xc0fffaff, 0xc5018702, 0x4a003100, 0x7c006300, + 0x00009000, 0x010f1625, 0x072e2706, 0x27211527, 0x05764e07, 0x013f2628, 0x27263736, 0xdd71012e, 0x17162b05, 0x17070616, 0x17163233, 0x74703605, + 0x020f2f05, 0x011f0622, 0x3f161407, 0x36161701, 0x8c702735, 0x2217a707, 0x60213505, 0x4208100e, 0x0d097d02, 0x03090d1b, 0x03060408, 0x03050404, + 0x2636a0fe, 0x131f0d0a, 0x0b080f09, 0x0805014b, 0x09030c03, 0x2a2b0705, 0x0c020a03, 0xec510f04, 0xfe154326, 0x030102be, 0x06020a17, 0x03160b01, + 0x82100202, 0x14142535, 0x80040503, 0xfe2416ac, 0x096001c8, 0x2a096660, 0x12090dbf, 0x0d040e09, 0x82030905, 0x4e032a88, 0x1209236c, 0x6310121c, + 0x235d8201, 0x090d230c, 0x012d8283, 0x0f2a1104, 0x0f202451, 0x15030602, 0x2d028203, 0x17100206, 0x0a020403, 0x0304020a, 0x15aa1017, 0x9090ed28, + 0x07090907, 0x05825050, 0x45080021, 0xc5330627, 0x1f000d00, 0x55003100, 0x65005d00, 0x79006d00, 0x57120000, 0x35350929, 0x16013411, 0x15373233, + 0x010e0714, 0x0706012e, 0x16013e35, 0x23118437, 0x2726010e, 0x26241188, 0x17161527, 0x1e29168f, 0x36373602, 0x0e011d16, 0x4b278202, 0xb0180653, + 0x37200f8e, 0x39085e70, 0x131a1302, 0x07200709, 0x3e2c0109, 0x123d3326, 0x413f5331, 0x4f2b3357, 0x0e83252d, 0x26230783, 0x822c542e, 0x0c2e2807, + 0x35070509, 0x87483621, 0x4e313013, 0x4128312e, 0x1f201128, 0x16292434, 0x4c090eb1, 0xaa4c0865, 0x82102005, 0x090e2aef, 0x01060403, 0xfe0d13c0, + 0x310d8230, 0x0dd00107, 0x1810e3fe, 0x15081524, 0x0a111303, 0x7a824519, 0x18105638, 0x0709123e, 0x08080a09, 0x09133d11, 0x02047407, 0x10020121, + 0x1487451f, 0x0d169831, 0x0b0d0f0b, 0x13110915, 0x05100e1f, 0x84280504, 0x092f2668, 0x0d0a0a0d, 0x84058439, 0x0406250b, 0x00020406, 0x04210082, + 0x05336100, 0x7418c320, 0x2008086b, 0x16360100, 0x16070607, 0x07011e17, 0x0e07030e, 0x22061501, 0x023f3426, 0x16363736, 0x36171417, 0x08264102, + 0x8507924d, 0x012b0807, 0x030e09eb, 0x0310201d, 0x0b040607, 0x152d271a, 0xa2390201, 0x02023972, 0x0e079244, 0xff5a0602, 0x6a4b4b6a, 0x131a534b, + 0x85131a13, 0xbf012ff4, 0x610a0d03, 0x0201055a, 0x2e15070e, 0x31823e40, 0x72390130, 0x020139a2, 0x06044c42, 0x20110207, 0x32825efe, 0x756a4b22, + 0x13223282, 0xca844d1a, 0x33087f48, 0x00c00140, 0x00350009, 0x0052003d, 0x00660059, 0x33351700, 0x20064543, 0x08315213, 0xd64f1520, 0x22232905, + 0x013d012e, 0x35263027, 0x0c842182, 0x36340227, 0x1f32013b, 0x07435901, 0x33353724, 0xe8821411, 0x06143526, 0x27262223, 0x3f220483, 0x24832701, + 0x18231521, 0x240836c6, 0x11352622, 0x05bf6cc0, 0x130d2031, 0x133a0d13, 0x0729150e, 0x0f090d13, 0x82021e08, 0x090e2306, 0xaa821a26, 0x28592d28, + 0x1c281c1c, 0x0b82c0b0, 0x0d132008, 0x0601120d, 0x04150e1a, 0x0d13801f, 0x60014020, 0x0709130d, 0x30090720, 0x0907b0b0, 0x82170109, 0x150e2623, + 0x100d3d51, 0x26188238, 0x2b38090e, 0x84650101, 0x60a02609, 0x2d13261a, 0x24488260, 0x2044281c, 0x823782fe, 0x12132a4b, 0x0f171e0c, 0x130ddf9b, + 0x092842c0, 0x0000f029, 0x00000200, 0x8201c0ff, 0x17002701, 0x00004d00, 0xf5453225, 0x3f262205, 0x21ee8301, 0xed833735, 0x40741282, 0x012b2405, + 0x18273637, 0x2108e862, 0xac780f06, 0x06794805, 0x32013b26, 0x27343536, 0x3905c267, 0x16323307, 0x34011415, 0x58040707, 0x07060703, 0x043b1701, + 0x02100305, 0x0b82440a, 0x7c122508, 0x212f2b1f, 0x0d0d081e, 0x0610190d, 0x44161a06, 0x10031910, 0x2b2f2130, 0x1a260a1f, 0x0f2f2110, 0x38280609, + 0x2c081882, 0x060c7026, 0x06090698, 0x04060461, 0x06090a78, 0x2e026f41, 0x0e2f211f, 0x19161616, 0x10162215, 0x212f0278, 0x10022e1f, 0x2f261a11, + 0xe43c1921, 0x00112108, 0x03200082, 0xe030d782, 0xa5014002, 0x3c001e00, 0x00005a00, 0x011e3601, 0x220a6f59, 0x59262726, 0x17220c7e, 0x1d9c1636, + 0x22203c8d, 0x012d3b8c, 0x538e530c, 0x07200709, 0x66536f09, 0x23088498, 0x82576c9b, 0x42230884, 0x84543931, 0x4e5f2308, 0xd357351e, 0x070c4405, + 0x9f012b32, 0x51894b06, 0x09090790, 0x85568807, 0x65860d0b, 0x86260b84, 0x0c5aae74, 0x0b845674, 0x4e338a26, 0x384d0604, 0x89270b84, 0x0657724a, + 0x841d3017, 0x0d90240c, 0x840d1313, 0x238c2209, 0x20ef8239, 0x2eef8205, 0x018002de, 0x000900a0, 0x003b0022, 0x82800054, 0x211521f3, 0x28061f5b, + 0x2f263605, 0x0f222602, 0x29991802, 0x5799180d, 0x2d16a507, 0x1d163217, 0x010e1401, 0x3d012e27, 0x79462301, 0x013d2310, 0x3c781521, 0x36250806, + 0xfd200233, 0xe0425ee0, 0x90fe5e42, 0x1b040203, 0x0108010d, 0x02041b0d, 0x01051403, 0x18180406, 0x05010604, 0x2e18b0a4, 0x180907b4, 0x291f1729, + 0x60070920, 0x84c00907, 0x02260805, 0x090e0920, 0x00010709, 0x5e424040, 0x07022c5e, 0x03190401, 0x01041903, 0x1b140207, 0x0d020404, 0x0404020d, + 0x17ae141b, 0x0709822c, 0x14271740, 0x20310402, 0x5946702b, 0xb0072108, 0x40220b84, 0x8b4b0907, 0x01802306, 0x3b7b00c0, 0x00472205, 0x5f761800, + 0x06204f08, 0x600f2265, 0x5d18062f, 0x272208eb, 0xe94c2622, 0x4433200a, 0x0621057b, 0x9e801822, 0x83e02007, 0x616a8276, 0x022106f2, 0x620f8320, + 0x5037054d, 0x3c54543c, 0x3d2b2b3d, 0x18124428, 0x42422e1a, 0x5e253c2e, 0x18095025, 0x2008724e, 0x890a8960, 0x54b02d09, 0x2d2d5478, 0x420c222a, + 0x2020425c, 0x21063342, 0x874e02c0, 0x001f2407, 0x8241002f, 0x0e8f5215, 0x45180720, 0x34330ada, 0x02163236, 0x34353632, 0x26343527, 0x011d0622, + 0x44141506, 0x804e0519, 0x05bc7e05, 0x53780121, 0x80210a33, 0x20758220, 0x2a718220, 0x202f4291, 0x201c281c, 0x82120e60, 0x0e122706, 0x01090e09, + 0x298338c0, 0x1a134829, 0x031a1313, 0x833228a6, 0x293122d6, 0x32d082a6, 0x212f82fe, 0x14c01828, 0xc0141c1c, 0x4e212818, 0x830f1905, 0x190f270b, + 0x0907d305, 0x4b530709, 0xaebb4007, 0xbb851320, 0x28059b44, 0x00a00180, 0x002b001f, 0x1039423b, 0x15013b29, 0x011d2223, 0x64213314, 0x352605b7, + 0x34112107, 0x0e82023e, 0x05151628, 0x16011f06, 0xd36f013f, 0x60022708, 0x0d13130d, 0x0583c0fd, 0x16402708, 0xec010a0a, 0x20160a0a, 0x090580fe, + 0x4001060c, 0xd3fe130d, 0x084a0707, 0x08088107, 0x5f080819, 0x80070829, 0x32840d13, 0x40230482, 0x82081008, 0x40403902, 0x0c064001, 0x0d130509, + 0x4b07088a, 0x087f0808, 0x08081a07, 0x0808295e, 0x28064745, 0x014002ff, 0x002c0081, 0x06674c58, 0x0e269a82, 0x27262301, 0x02832206, 0x07010e22, + 0x2705f042, 0x3e373637, 0x011e1701, 0x36260586, 0x37161732, 0x2c8d011e, 0x2bc50620, 0x0632022b, 0x05070508, 0x6c29242b, 0x2f02822b, 0x07152911, + 0x2106080a, 0x0a1a0b18, 0x0a1d581d, 0x59260582, 0x0a1b0b1c, 0x268c2119, 0xba2c2321, 0x40182b25, 0x20060901, 0x04040804, 0x00821a16, 0x020d0b31, + 0x06200709, 0x12040109, 0x17090209, 0x85081701, 0x13082205, 0x21278c8c, 0x26bd0416, 0x00820020, 0xfdff0432, 0x8301c0ff, 0x0700c001, 0x25001600, + 0x00003d00, 0x3207c271, 0x06161703, 0x22230607, 0x3426012f, 0x3717013f, 0x4f141617, 0x27230933, 0x82061636, 0x072c080d, 0x26352315, 0x012e012f, + 0x011f013e, 0x013f3216, 0x2f42e136, 0x852f422f, 0x0d050a1d, 0x0c140d0b, 0x2e090830, 0x092e753d, 0x140c3008, 0x053b1082, 0x93191d0a, 0x290e0513, + 0x1fa01f17, 0x050e2917, 0x290e2013, 0x29276227, 0x8220010e, 0x422f3136, 0x0d27d8fe, 0x10080a21, 0x0b1b0b40, 0x39333339, 0x403d0682, 0x210a0810, + 0xf620270d, 0x1c0a201c, 0x1f1f0b11, 0x0a1c110b, 0x09051c20, 0x1d1b1b1d, 0x0af35209, 0xc382c320, 0x3a00322e, 0x00004200, 0x34211713, 0x16363736, + 0x24069273, 0x1415012b, 0x08ad5007, 0x22063722, 0x29084d59, 0x2637013e, 0x34352135, 0xbe563336, 0x34202107, 0x3105685a, 0x00ff6f91, 0x210c2b30, + 0x09076801, 0x3c300709, 0xa082221a, 0x46210424, 0x07820421, 0x111b1028, 0x2680013c, 0x515afe1a, 0x01240805, 0x131a1360, 0xaf011a13, 0x226036af, + 0x095c060a, 0x09072007, 0x06384b40, 0x2f211c2b, 0x0d0c212f, 0x0c0d0909, 0x122a0983, 0x38041621, 0x261a404b, 0x318490fe, 0x13203583, 0x2c08c282, + 0xfeff0500, 0x4202b6ff, 0x0a00c301, 0x20001500, 0x6f006700, 0x22010000, 0x36272607, 0x07061732, 0x012e0326, 0x32333627, 0x06171617, 0x82d88237, + 0x010e2e09, 0x16372607, 0x27061617, 0x0e262726, 0x23098201, 0x07141617, 0x06200d83, 0x34200583, 0x3e242682, 0x07012e01, 0x26200d82, 0x36200b82, + 0x1382e782, 0x06071633, 0x33161415, 0x35013e32, 0x36262734, 0x14151617, 0x080e6207, 0x20014e08, 0x09141c19, 0x09275627, 0x25951c14, 0x0c0b032c, + 0x35060e0c, 0x0634ce06, 0x0b0b0c0f, 0x12242c03, 0x0314366b, 0x0f0e040c, 0x1a32602b, 0x07140f2b, 0x19363d07, 0x36191414, 0x1506063e, 0x321a2b0f, + 0x0e0f2b60, 0x15020c04, 0x0a1f1836, 0x08088229, 0x32460749, 0x07203721, 0x29040c02, 0x28d11f0a, 0x1c281c1c, 0x100a5001, 0x19111119, 0xb9fe0a10, + 0x032f501b, 0x192a4305, 0x05432a19, 0x1b502f03, 0x3d20e612, 0x10050706, 0x581b1a09, 0x04091a62, 0x0c010e01, 0x19190f20, 0x820c200f, 0x0528080a, + 0x58621a08, 0x11081a1b, 0x3d060705, 0x1d060e20, 0x05313f1b, 0x12140706, 0x38214833, 0x07141222, 0x40300506, 0x8f061d1b, 0x1c376582, 0x03000028, + 0xb4ff0000, 0xc0010102, 0x34002000, 0x00004900, 0x56011e37, 0x3d21053e, 0x08ad5f01, 0x36321628, 0x012e3435, 0x13832627, 0x17272082, 0x012b0614, + 0x82352622, 0x012e2112, 0x17221383, 0x138a011e, 0x14852220, 0x443aac2d, 0x293c090d, 0x0a0e6a45, 0x820e0a30, 0x0e08366f, 0x30111109, 0x0906af7a, + 0x09072007, 0x06618a06, 0x53070a09, 0x080e8576, 0x39530531, 0x0a040704, 0x3d640bdd, 0x0e093c29, 0x0af84457, 0xf80a0e0e, 0x141c1c14, 0x030e120a, + 0x0c321006, 0xaf06e10e, 0x090a077a, 0x058b6106, 0x82060901, 0x06603043, 0x0a075376, 0x523a0708, 0x04070505, 0x840a0720, 0x054f4bcf, 0x1900092a, + 0x00003700, 0x11211115, 0x2005a253, 0x08a77537, 0x82263421, 0x250622be, 0xc04b1832, 0x08c56408, 0x09883320, 0x07994218, 0x07094025, 0x84090760, + 0x50012804, 0x40fe1c14, 0x8430141c, 0x848020bf, 0x01102405, 0x82f0fe10, 0x6dd420a4, 0xc920083d, 0x30222082, 0x69781c14, 0x4100200b, 0x979a0567, + 0x3221332a, 0x34013d36, 0x22212326, 0x012097a9, 0x22059248, 0x9c0907e0, 0xc2431899, 0x3d999308, 0xfffdff07, 0x010c02c0, 0x002200c0, 0x002d0029, + 0x00350031, 0x0043003b, 0x06160100, 0xd9440507, 0x37362705, 0x27013e25, 0xd1622326, 0x06205d05, 0x1632332f, 0x27373607, 0x03170706, 0x3f072737, + 0x26038501, 0x37171637, 0x82172726, 0x07143d18, 0xf2010706, 0xfe36291a, 0x120808a4, 0x0607200a, 0x0c61010c, 0x12090706, 0x081b0809, 0x21380582, + 0x1c0b0707, 0x4f2e2c25, 0x15100c9d, 0xab140e10, 0xa81f3d1f, 0xab1f3c1f, 0x35080382, 0x2d090e51, 0x07240c0a, 0x02013d03, 0x39640106, 0x04cf2177, + 0x1a0c3610, 0x1a07d206, 0x1104100b, 0x0b370f04, 0x1710071a, 0x01073831, 0x3d07033e, 0x2712bafe, 0x03821912, 0x27121b35, 0x0e089f13, 0x99090d2e, + 0x0714100e, 0x00090807, 0x82020000, 0x02be22e3, 0x2ae38200, 0x002a001d, 0x011e0100, 0x820f0607, 0x060723d0, 0x28591f14, 0x13373005, 0x37321617, + 0x3e012f36, 0x16363701, 0x83010e17, 0x375908e4, 0x2a01011e, 0x1217222e, 0x0b396627, 0x3105050b, 0x04120886, 0x33800404, 0x0c050d04, 0x531b370c, + 0x18441e84, 0x0821581f, 0x1d260422, 0x16230110, 0x13262e62, 0x0c0c3932, 0x31040e04, 0x09060442, 0x07010a09, 0x0b050532, 0x1320380b, 0x1d100f10, + 0x08220426, 0x181f5821, 0x26938244, 0xffffff0a, 0x820102c0, 0x002b3b93, 0x004b003b, 0x005f005b, 0x007f006f, 0x009b008b, 0x250000ab, 0x14011d16, + 0xab4a020e, 0x823f2006, 0x0b4c6397, 0x1d833220, 0x012b0628, 0x16323315, 0xd6420717, 0x2207220e, 0x223b8206, 0x42013b16, 0x27200651, 0x08365818, + 0x27231085, 0x18233533, 0x2010e89a, 0x272f8814, 0x0622012b, 0x34351715, 0x46820782, 0x37204582, 0x087f5818, 0x0f8f2485, 0x01ff0137, 0x060c0905, + 0x130d40fe, 0x12011b01, 0x0760550c, 0x01070909, 0x25058300, 0x110cf560, 0x024bcc02, 0x68202009, 0x092306d5, 0x87103007, 0xc08f230a, 0x168828c0, + 0x2b892020, 0xb008d823, 0x20028208, 0x20118918, 0x2f0a8930, 0x5b050545, 0x05090b07, 0x055b0d13, 0x0f0ca005, 0x230aa543, 0x1d0c0f40, 0x47205c88, + 0x9e4b3289, 0x2098210a, 0x0a1e5a18, 0x7c884020, 0x08108026, 0x78081008, 0x57203c88, 0x00340988, 0x00000400, 0x0002b9ff, 0x1500c001, 0x40002b00, + 0x00005600, 0x2106b85c, 0x5c18012f, 0x2724087b, 0x37333626, 0x21058c49, 0xf45d011f, 0x0f142605, 0x06161701, 0x06425e23, 0x26202b83, 0x21075845, + 0xf34e0107, 0x743f2009, 0x323506ea, 0x0ac8011f, 0x1f0b1e0e, 0x050d0563, 0x63050519, 0x100c0b21, 0x321190e0, 0x05056310, 0x630c0b19, 0x0e1e0b1f, + 0x0c10700a, 0x87fefe0b, 0x83212009, 0x213c821a, 0x1985a063, 0x2b820f88, 0x12914020, 0x68848820, 0x840c0c21, 0x83702068, 0x02012168, 0x09847282, + 0x003b8488, 0xff050000, 0x02e0fffe, 0x00a00142, 0x000c0008, 0x00190010, 0x01000043, 0x82332723, 0x061632b1, 0x37231525, 0x35231733, 0x3f262205, + 0x013b3601, 0x08534807, 0x5509305f, 0x2720092a, 0x08082e5f, 0x0721272c, 0x1a613002, 0x18040c63, 0xd8fe0901, 0x1ae81a7e, 0x08e0fe7e, 0x04180109, + 0x011a630c, 0x090907bf, 0x09141c07, 0x09072007, 0x0684c0fe, 0x831c1421, 0x04142c13, 0x01040002, 0x600c8020, 0x84800c08, 0x080c2400, 0x51800c60, + 0xa02005e2, 0x8505b641, 0x84a02005, 0x20202135, 0x0021c282, 0x30c38407, 0x00a10180, 0x00090005, 0x0025001c, 0x004e003f, 0x25c7825e, 0x35230706, + 0xc4822333, 0x012f0522, 0x322bd183, 0x27303106, 0x07012f26, 0x88260706, 0x061724d3, 0x4f171415, 0xc58a0976, 0x36492520, 0x36260808, 0x36171637, + 0x27013e17, 0x26072726, 0x15010e27, 0x32331614, 0x191da301, 0x7e84643d, 0x0c21011a, 0x020d630c, 0x00830118, 0x07151526, 0x27fe170b, 0xe423ec87, + 0x8dd13135, 0x25073ce1, 0x5e845e34, 0x1f283444, 0x0c190213, 0x2705030e, 0x161b053f, 0x011d2633, 0x821f1958, 0x0a4825f4, 0x02600c3e, 0x132f4a82, + 0x1b0b0613, 0x60080c1f, 0x4b20800c, 0x8c364837, 0x211d3cf9, 0x5d411e60, 0x6d26415d, 0x1628242f, 0x1b3f12d3, 0x532f0707, 0x13282105, 0x82003127, + 0x260382fa, 0x01000200, 0x66330080, 0x35230afb, 0x8b231523, 0x08e36703, 0x3b363422, 0x2409536a, 0x1d163233, 0x05766d01, 0x40205022, 0x50250184, + 0x07090907, 0x29028430, 0x300907e0, 0x00010907, 0x09820709, 0x0284ae82, 0x16820c84, 0x82051d47, 0x54002027, 0x80380817, 0x3700c201, 0x45003e00, + 0x6f006500, 0x00007900, 0x1d030e37, 0x23171401, 0x2705835f, 0x2627013b, 0x1f36013f, 0x36200682, 0x22054f6a, 0x64013e37, 0x1965050f, 0x32332708, + 0x35030617, 0x32821533, 0x06821720, 0x23061423, 0x23a28311, 0x032b3523, 0xbb83cf82, 0x53065c59, 0x232a0624, 0x22232633, 0x17141506, 0xeb7a3716, + 0x33200806, 0x120bf136, 0xa909070d, 0x0d13130d, 0x090d1e1d, 0x200e0909, 0x0605020c, 0x020c0610, 0x0c021414, 0x053f0882, 0x06200c02, 0x0409040d, + 0x1d1e0602, 0x14290914, 0x130da0c0, 0x0d13c0e0, 0x0fc0130d, 0x820f0101, 0x14310809, 0x37202804, 0x20372121, 0x35fc0428, 0x0c0c1815, 0x09cb0309, + 0x15180c0c, 0x03fe0435, 0x0b15100b, 0x130f11e0, 0x0d60010d, 0x0d091613, 0x17090d0d, 0x205e821f, 0x25668206, 0x05063636, 0x66820602, 0x82171f21, + 0x050d2d5e, 0x1216040d, 0x60affe1d, 0x80131380, 0x01252d82, 0x600d1320, 0x08098380, 0x1c0c0c27, 0x2c4b4b2c, 0x300d0b1c, 0x080b090f, 0x0b080303, + 0x02300f09, 0xfdff0300, 0x8302bdff, 0x3900c301, 0x41003d00, 0x06175900, 0x3f36262a, 0x23062701, 0x012f2622, 0x2e05c36e, 0x011e1707, 0x012f0607, + 0x013e3726, 0x5b37011f, 0x088205e2, 0x27056466, 0x36371707, 0x27370116, 0x5d080782, 0x7f020727, 0x08a20703, 0x0f0d0603, 0x010c2716, 0x140b3f28, + 0x283f0b14, 0x16270c01, 0x03060d0f, 0x0307a208, 0x16101e06, 0x16142527, 0x0b170657, 0x170b7272, 0x14165706, 0x10162725, 0x139bfe1e, 0x70c8245f, + 0x070e5f24, 0x08044303, 0x09061f0f, 0x272e0168, 0x2e274b4b, 0x06096801, 0x16820f1f, 0x07037708, 0x09060c10, 0x28571a66, 0x04080a96, 0x08043030, + 0x5728960a, 0x0609661a, 0x4700010c, 0x2e2e4027, 0x00002740, 0xfffeff02, 0x010202e0, 0x001100a0, 0x01000015, 0x03071632, 0x2123020e, 0x27012e22, + 0x33362603, 0x21172105, 0x130fe001, 0x12023802, 0xeffe0f1c, 0x03111c10, 0x0f130238, 0x8afe9b01, 0x0139011f, 0xfe0e16a0, 0x0e19109b, 0x0110190e, + 0x40160e65, 0x411800c0, 0x63270d47, 0x91007300, 0x51120000, 0x0522067d, 0x7e782634, 0x05034705, 0x37013d23, 0x22198233, 0x8206010f, 0x14152102, + 0x62470482, 0x013f2606, 0x32013b36, 0x22038214, 0x8234013d, 0x0a344b0c, 0xca6c0620, 0x16142105, 0x1f261c82, 0x011d1601, 0x06820607, 0x36013b23, + 0x85128424, 0x22262f2c, 0x3e13010f, 0x22233701, 0x2b26012f, 0xb7182701, 0x2b840916, 0x15163225, 0x8291ce91, 0x01220802, 0x015375c0, 0x031d0203, + 0x10081008, 0x03070415, 0x2802021b, 0x05140706, 0x0a160709, 0x05020a04, 0x19820803, 0x0b1f0631, 0x04250709, 0x20040707, 0x030a0305, 0x83100407, + 0x090c2906, 0x07042009, 0xc2fe0b14, 0x073f1086, 0x7d1a0309, 0x0d195735, 0x09120508, 0x0c2b130d, 0x0b0c2011, 0x1612162b, 0x07141410, 0x84b80109, + 0x53672772, 0x04021675, 0x57820814, 0x09072708, 0x01021a04, 0x0a06020d, 0x07041408, 0x08090719, 0x08100513, 0x0b010602, 0x06050b04, 0x0905070a, + 0x09040605, 0x04830a03, 0x0c09052d, 0x04210809, 0x060a911f, 0x82040903, 0x07270880, 0xc5fe1904, 0x052d3803, 0x0b250a11, 0x1a0d1a07, 0x110e1618, + 0x00060a0b, 0x00020000, 0x02600000, 0x00200100, 0x511f000f, 0x33201085, 0x440fcf53, 0xe0710569, 0xe0012105, 0x4509ec71, 0x934b05e2, 0xab97180a, + 0xff202509, 0x01e000c0, 0x20052354, 0x07a14c00, 0xd74c1120, 0x13152105, 0x8706c54c, 0x8460200f, 0x20478f37, 0x8b688330, 0x820b856e, 0x020027ba, + 0xbbfffbff, 0x5f820102, 0x31002934, 0x16010000, 0x06010f14, 0x16072722, 0x07060706, 0x0482010e, 0x022e0627, 0x3e373637, 0x28048401, 0x34263717, + 0x3236013f, 0x07454f17, 0xf7012208, 0x0a440909, 0x1637091a, 0x140e1901, 0x0302130e, 0x546d2319, 0x2619230b, 0x0605170f, 0x224b190e, 0x24208236, + 0xfe091b09, 0x05154ef3, 0x0b828920, 0x09094436, 0x184b2236, 0x1804060f, 0x2319260f, 0x236d540b, 0x13020319, 0x19263f82, 0x0a361601, 0x20820a1a, + 0x1ca9fe22, 0xa3833083, 0xfeff012c, 0x0202dfff, 0x1800a401, 0xc35f0000, 0x4b222005, 0x3e0805c1, 0x011f013e, 0x37271707, 0x17163627, 0x0424da01, + 0x0f06d421, 0x0421d405, 0x62220324, 0x90601d26, 0x26226030, 0x76012261, 0xdb286925, 0x28db0505, 0x23032569, 0x40571c07, 0x68408090, 0x8223071b, + 0xff05265c, 0x01bcffff, 0x75ff82c2, 0x402205db, 0x19516a00, 0x34322709, 0x14163236, 0xa8592206, 0x06072207, 0x06174117, 0x85161721, 0x26063109, + 0x26273435, 0x3633013e, 0x27013e37, 0x36262726, 0x8c820982, 0x07163226, 0x06141506, 0x2e321182, 0x37363701, 0x22272636, 0x26273627, 0x35013c35, + 0x3c823634, 0x07011e25, 0x82060706, 0x83a42044, 0x721c20e4, 0x282005c5, 0x01390b85, 0x07080318, 0x0c0b1617, 0x03090503, 0x32370707, 0x02171309, + 0x16050702, 0x2c128717, 0x10083439, 0x040807e3, 0x32091316, 0x30078237, 0x0c030509, 0x0a0e010b, 0x08101409, 0x07073934, 0x23108403, 0x1c000117, + 0x55845183, 0x0805cb59, 0x333da744, 0x02010d07, 0x0c140307, 0x0d061517, 0x051d0501, 0x323a0a0b, 0x02070805, 0x0b140407, 0x0d071418, 0x09041f06, + 0x31070d8c, 0x060b0b3a, 0x0d01051c, 0x0c161507, 0x14030414, 0x01332b13, 0x0a090103, 0x14871f05, 0x00070323, 0x05fb5900, 0x01060228, 0x002f00c3, + 0xa9450037, 0x012b3605, 0x06012f22, 0x27262223, 0x010f012e, 0x011e1706, 0x16171517, 0x08168206, 0x013d2672, 0x3f023e34, 0x16173601, 0x17021e07, + 0x34363206, 0x14062226, 0x0e07fe01, 0x330d092e, 0x162e0a10, 0x0c2f1d18, 0x0c030901, 0x370f0304, 0x13082922, 0x130dec12, 0x30422510, 0x0e020aca, + 0x1c251530, 0x0e147a07, 0x740e140e, 0x09280f14, 0x200d400d, 0x03020419, 0x1d05050c, 0x52010226, 0x0d131e10, 0x55623f51, 0x044b123b, 0x041c360a, + 0x38142116, 0x0e272b82, 0x01000014, 0x7dfffcff, 0x1a20059f, 0x03260c82, 0x03272206, 0xa6820607, 0x27330487, 0x33362603, 0x01163221, 0x0e0157ff, + 0x022e4201, 0x8322020c, 0x242c2104, 0x3b080982, 0x10130457, 0x130fc001, 0x2cfe9a01, 0x6c010606, 0x850606ac, 0xbc0606c5, 0x0105057d, 0x171a0f12, + 0x08000000, 0xe0ff0000, 0xa0014002, 0x0b000600, 0x14000f00, 0x27001d00, 0x38003000, 0x30086d82, 0x013e2115, 0x15073233, 0x25373423, 0x17231716, + 0x15163335, 0x33273407, 0x2b061415, 0x23151301, 0x0622012e, 0x03352307, 0x1d063335, 0x26222301, 0x05f04736, 0x01346108, 0x27f1fe40, 0xcf0f4a7e, + 0x42011e60, 0x80af3f70, 0x04a01e42, 0x800d13a4, 0x3a113220, 0x32113a46, 0x8004a480, 0x50f8130d, 0x9e01c038, 0xa0453b7e, 0x993d4380, 0x80a05f1a, + 0x0e40433d, 0x130d6012, 0x1d802001, 0x801d2323, 0x126000ff, 0xad13600e, 0x60602838, 0x02000028, 0xc0fff6ff, 0xca01c301, 0x1e20a782, 0x3211b344, + 0x0f011e24, 0x26272101, 0x1f16013e, 0x01363701, 0x75090770, 0x01300788, 0x11052865, 0x30cbfe48, 0x6574400e, 0x11151e0d, 0x33054d74, 0x07400709, + 0x3522e209, 0x3ad05714, 0x3a401b65, 0x00141980, 0x28069b46, 0x010002c0, 0x001300c0, 0x06af5328, 0x122faa18, 0x13833720, 0x013e3427, 0x1732013b, + 0x24018316, 0x22012b06, 0x05ca5817, 0x0a3a8a18, 0x36320535, 0x012b2634, 0x12047f15, 0x0a010623, 0x020e1107, 0x851f1604, 0x836e2009, 0x08042213, + 0x08138b04, 0x422e9f20, 0x38102e42, 0x3828c028, 0x70010d13, 0x141c1c14, 0x192e0110, 0x07312313, 0x161f0e0b, 0x06822c1f, 0x05220d83, 0x0e860508, + 0x5c422025, 0x82382842, 0x130d2631, 0x1c281ca0, 0x08c38460, 0xffffff2e, 0x01f101f2, 0x000e00b8, 0x0024001c, 0x37000034, 0x0e071714, 0x012e2701, + 0x023e3427, 0x26273733, 0x32363736, 0x0f011e17, 0x16222601, 0x26052f44, 0x1e320534, 0x6f0e1503, 0x363f0501, 0x5126a835, 0x2c060e03, 0x05020436, + 0x51be0306, 0x37060303, 0x0306377c, 0x2d145103, 0x821c2803, 0x0129086a, 0x04060218, 0x36040103, 0x030e062c, 0x2cc02651, 0x03068018, 0x38602004, + 0x03040703, 0x0d068044, 0x031e1e03, 0x0c80060d, 0x302c8220, 0x0214281c, 0x03050403, 0x04206038, 0x18800603, 0x26a7832c, 0xff000006, 0x82f001c8, + 0x000b2aa7, 0x00250019, 0x0035002d, 0x20ab883d, 0x24a48226, 0x22263733, 0x2dac8807, 0x16321707, 0x06070607, 0x36012f26, 0xb5862635, 0x090ffb18, + 0x06141635, 0xb8342622, 0x0f032a1e, 0x01073406, 0x10b1070a, 0x822a1024, 0x224508b8, 0x03062248, 0x0a074303, 0x06340701, 0x1e2a030f, 0x9191cea7, + 0x98ac91ce, 0x6c986c6c, 0x13131aab, 0x23c0131a, 0x02064313, 0x07422a04, 0x0a0a360a, 0x040d0643, 0x0d041010, 0x070a7906, 0x02042a42, 0x23134306, + 0x233182f8, 0xe1fece91, 0x02823282, 0x08fb8a18, 0x20000525, 0x5602c0ff, 0x0f2605a3, 0x39002900, 0x8b455600, 0x22042109, 0x23057078, 0x2b061613, + 0x0a8a4b18, 0x3f26222a, 0x16373601, 0x17163732, 0x280c2a5f, 0x07333634, 0x011d021e, 0x222d8e14, 0x8334013d, 0x349a272e, 0x26342626, 0x06845a01, + 0x0f033f37, 0x0a0e370c, 0x370e0a30, 0x2e020f0c, 0x38181806, 0xfe061818, 0x08747dfe, 0x140c7c34, 0x080a0e0c, 0x0a500a0e, 0x0e0a080e, 0x38181319, + 0x3f824001, 0xfe350287, 0x68120cf8, 0x0a0e0e0a, 0xb90c1268, 0x10100316, 0x09a91603, 0x09e54707, 0x0e019027, 0x0a880c15, 0x2202820e, 0x82880a0e, + 0x1b132d02, 0x00001002, 0xffffff03, 0x010102bf, 0x080f4d18, 0x7d472520, 0x012f2705, 0x07061607, 0x0783010e, 0x06141523, 0x29f88222, 0x37173233, + 0x37362627, 0x0783013e, 0xf3823420, 0x9d4f3220, 0x8225200a, 0x13270814, 0x01072737, 0x610909f7, 0x50091b09, 0x1503120a, 0x6b050f03, 0x1b120112, + 0x020d1313, 0x056c1206, 0x5a270602, 0x86510a28, 0x0a303121, 0x0a2f0a1c, 0xf1fe300a, 0xa0454945, 0xb7494549, 0x61323782, 0x0a510909, 0x06275a28, + 0x126c0502, 0x130d0206, 0x41821b13, 0x0f056b22, 0x12224d82, 0x21865109, 0x820a3021, 0x0a1c2339, 0x39823930, 0x82cefe21, 0x8200203a, 0xff032400, + 0x84b8fff8, 0x001928cb, 0x0042002d, 0x82173700, 0x2e0622c3, 0x059b4b02, 0x47352621, 0x2323054a, 0x55032722, 0x7b550c67, 0x74bd311a, 0x39070206, + 0x20136288, 0x75051004, 0x1a13021c, 0x0720ca84, 0x2e1d7c55, 0x10067466, 0x61131f04, 0x02073988, 0x841b7505, 0x131a24c5, 0x553e0102, 0x04322177, + 0xc0ff0000, 0xc0018001, 0x11000d00, 0x19001500, 0x87180000, 0x37250c31, 0x15233517, 0x2d038633, 0x261a4001, 0x00ff1a26, 0x2080261a, 0x01828030, + 0x26c00125, 0x8380fe1a, 0x40012414, 0x8460a080, 0x05174600, 0x182a5389, 0x23001f00, 0x2e002a00, 0x5b903500, 0x07205982, 0x23220382, 0x66830622, + 0x3b161423, 0x20698201, 0x2d038237, 0x3d363233, 0x25152101, 0x2b263435, 0x778b1501, 0x40a0402a, 0x40130d20, 0x800d1340, 0xff260a85, 0x13000100, + 0x8a8c200d, 0x4040c027, 0x13402020, 0x832a85ed, 0x404d230a, 0x37836040, 0x00820020, 0xf9ff0522, 0xc020f382, 0x0728f382, 0x28001800, 0x4f003200, + 0x2309bf5d, 0x15163212, 0x3a058145, 0x013b3634, 0x21343632, 0x14161736, 0x2f220607, 0x1f362601, 0x37321601, 0x82011f16, 0x3426250e, 0x2622013f, + 0x16252384, 0x0622010f, 0x0b387c31, 0x013f3633, 0x1c287c01, 0x291c281c, 0x141c090e, 0x09090760, 0x08048207, 0x0bf6fe30, 0x0e05050b, 0x0c440e27, + 0x05440b17, 0x07063d0d, 0x1a095c1e, 0x0d300913, 0xcd0d1313, 0x5213151a, 0x0e3d0101, 0x4e131a13, 0x15150214, 0x4082c001, 0xfe281c3c, 0x1407095c, + 0x090e091c, 0x0c0c0e09, 0x0e040e04, 0x170b440e, 0xb804440c, 0x3d820809, 0x0a1a1323, 0x223082d2, 0x82531331, 0x59142139, 0x532d4883, 0x1238144e, + 0x03000011, 0xc0fffeff, 0x05eb5d02, 0x43002422, 0x4f44e382, 0x83122006, 0x222323d0, 0xdb5a2527, 0x27372e05, 0x011f3726, 0x010f011e, 0x36371617, + 0x820d8201, 0x163738e8, 0x36371715, 0x1e021f16, 0x2f010e01, 0x012f2601, 0x06012f07, 0x84c40127, 0x123c08d6, 0x251a070e, 0x78fe1114, 0x13090609, + 0x4b2ec609, 0x286b0517, 0x310a030d, 0x07141988, 0x041a9afe, 0x23030203, 0x523e150b, 0x1107301d, 0x0c090c34, 0x123a0c19, 0x73200706, 0x0118132f, + 0x08059749, 0x0e87fe4e, 0x081a0714, 0x121304cb, 0x45660506, 0x351f174b, 0x0e230c28, 0x140b464a, 0x17610107, 0x01020404, 0x180b1506, 0x1d0c201f, + 0x061a3316, 0x06091819, 0x1313091d, 0x1118390d, 0x0400000c, 0xc0ff0000, 0xc0014002, 0x2e000700, 0x4e004200, 0x3222dd8a, 0x39581516, 0x36342805, + 0x3013013b, 0x76263526, 0x332008ae, 0x0f271b83, 0x36323301, 0x76370734, 0x262f05d5, 0x0706010f, 0x16373303, 0x3307011f, 0x76222337, 0x012107f6, + 0x31e98464, 0x2a0e149e, 0x0a20fe1e, 0x2b0a0e0e, 0x03080236, 0xb776280a, 0x2c260805, 0x1a14130d, 0xec0e0a46, 0x0f155519, 0x0d0f250a, 0x0606270c, + 0x0c3e1834, 0xcf2b1612, 0x0d1e2119, 0x0f3d2014, 0xed88050c, 0x0a0ea42c, 0x140e2a1e, 0x010f010e, 0xc6760a01, 0x0d132808, 0x0eb20816, 0x76512214, + 0x042a08e4, 0x84fbfe02, 0x5b0d0a12, 0x05771bb0, 0x004c2205, 0x24eb8202, 0x018302e0, 0x05bd53a0, 0x07162524, 0x6156010e, 0x33362f06, 0x35363221, + 0x26012f34, 0x1736013f, 0x91423525, 0x031e2406, 0x56021e17, 0xf1820549, 0x23061423, 0x08038315, 0x23352334, 0x2e352315, 0x1d650201, 0x1e2c0202, + 0x0907fcfd, 0x07020709, 0x0a090e0b, 0x0a0a0a0c, 0x0dc5fd0c, 0x150d1313, 0x1f222613, 0x2f0f0918, 0x1a15203d, 0x12836026, 0x28382a08, 0x2a40c040, + 0x26176136, 0x0709271d, 0x0e090710, 0x07080b0b, 0x0d0c0d0a, 0x1380770a, 0x1009131a, 0x1d111f17, 0x1a26172c, 0x290d8240, 0x30382860, 0x0b343030, + 0x00820045, 0xfeff0426, 0x0002e0ff, 0x1424bb82, 0x57003600, 0x82064b68, 0x27222d8d, 0x26222306, 0x023e2627, 0x34352637, 0x228b4518, 0x4f343521, + 0x27200564, 0x06200683, 0x2607df4f, 0x3f321617, 0x82141501, 0x413320eb, 0x45180608, 0x741819ce, 0x022a08ba, 0x07020104, 0x39061c11, 0x45181280, + 0xcc2011a0, 0x0a25e182, 0x04121204, 0x27e8820a, 0x19081008, 0x19020a02, 0x30200782, 0x01242b92, 0x7aac7aa0, 0x0b522a19, 0x45189620, 0x11220caa, + 0x6882130b, 0x08333b82, 0x09090768, 0x09092323, 0x08086807, 0x04043844, 0x95084438, 0x18002029, 0x28088b53, 0x00c30102, 0x00450007, 0x015d1851, + 0x010f280e, 0x16170706, 0x821e3637, 0x23062e07, 0x26252722, 0x013e2627, 0x1f161716, 0x25098201, 0x35013f36, 0x2f773f34, 0x21158205, 0x1682021f, + 0x07011e22, 0x07242882, 0x06141527, 0x26213c84, 0x06c54337, 0x54134608, 0x07193442, 0x5a0e0415, 0x13090e10, 0x11090708, 0xfe0f0f13, 0x04102193, + 0x04131207, 0x06260f07, 0x0d0c0502, 0x112a234a, 0x061d0913, 0x06191809, 0x15193f1a, 0x08040b6f, 0x990b100a, 0x550f123c, 0x05aa0602, 0x06d04302, + 0x1e3fb62b, 0x661e1327, 0x0522060f, 0x08408407, 0x85050834, 0x1209210c, 0x0f090709, 0x07060e05, 0x1904170d, 0x15112835, 0x3a120606, 0x080b1a0b, + 0x0815340c, 0x1b085310, 0x2d2d0d0a, 0x05191014, 0x3d01011c, 0xed820a0a, 0xffff073a, 0x0202c0ff, 0x5400c101, 0x64005c00, 0x74006c00, 0x87007f00, + 0x16010000, 0x1425c082, 0x14151416, 0x058b4e07, 0x22012b24, 0xf0822e27, 0x3526372c, 0x2e273730, 0x3e013f02, 0x0f821f01, 0x3b023e22, 0x23050f7c, + 0x36171531, 0x34231c82, 0x84163236, 0x30372234, 0x09ea5134, 0x16363724, 0x8e4d2417, 0x09064a06, 0x20059e4d, 0x2a178636, 0x34353637, 0x15062226, + 0x87171614, 0x01300812, 0x060502ff, 0x21040187, 0x25230908, 0x12631510, 0x2c26210d, 0x04870104, 0x06010105, 0x1c060c03, 0x03060403, 0x38090710, + 0x38160d09, 0x0d163850, 0x07200982, 0x1c2b0f82, 0xfe020d06, 0x09090ee0, 0x8429090e, 0x88088205, 0x10102102, 0x08220a82, 0x18841d04, 0x28014908, + 0x37030c06, 0x02040501, 0x2d22100d, 0x0c19512e, 0x28431508, 0x0d102c3f, 0x0702370c, 0x060e0408, 0x1d0c0205, 0x02050504, 0x012e0709, 0x0c0f1701, + 0x3828211b, 0x1a222838, 0x01170f0c, 0x09072e01, 0x0c1d0709, 0x2a060502, 0xfe215f84, 0x200684e7, 0x22058a37, 0x8309174f, 0x10042324, 0x15843206, + 0x00070022, 0x0fef4518, 0x60005b24, 0x61736c00, 0x4b362009, 0x078f062f, 0x64770520, 0x3d262308, 0x79452301, 0x34352507, 0x3537013e, 0x26097556, + 0x1d16011f, 0x49353301, 0x162006c4, 0x27068953, 0x33171501, 0x36321327, 0x29053f5d, 0x6e331614, 0x140e0e14, 0x05905e0e, 0x07012208, 0x16050524, + 0x25050d05, 0x420b2b29, 0x2e00ff2e, 0x131d1042, 0x1c10141c, 0x0c209014, 0x2940054f, 0x301c8225, 0x24050516, 0x4080fe17, 0x143a447a, 0xff141c1c, + 0x20058300, 0x93508248, 0x87232002, 0x3a2a3a31, 0x2e191713, 0x162e4242, 0x5b091e28, 0x14701c14, 0x0cb71d1c, 0x3a13330d, 0x2d74872a, 0x20662016, + 0x40605301, 0x1c80fea0, 0x02821c28, 0x93450020, 0x80013105, 0x1300a001, 0x00001f00, 0x011d3201, 0x15012b14, 0x22230382, 0x8223013d, 0x33342203, + 0x21138325, 0x0b842123, 0x0c740126, 0x380c8c0c, 0x0c2a0382, 0x0c0c6801, 0x0c0c98fe, 0x0f822001, 0x0c0ce423, 0x200682e4, 0x82038280, 0x086f5e02, + 0xc0018028, 0x31002500, 0x59823900, 0x16152327, 0x07061415, 0x054c5017, 0x2e013f27, 0x37343501, 0x068a5935, 0x1c673320, 0x15052106, 0x2206cb54, + 0x1822012b, 0x37083f53, 0x2f201070, 0x13041628, 0x1310c010, 0x2f281604, 0x09071020, 0x60010709, 0xfe240582, 0x083008d9, 0x363a0282, 0x74525274, + 0x9d900152, 0x54321310, 0x1a0f471a, 0x1a470f1a, 0x10133254, 0x1467099d, 0x10182608, 0x08100808, 0x05b24cd0, 0xffff042c, 0x0502bfff, 0x1500c501, + 0x9f822f00, 0x00004122, 0x3c08c14b, 0x2737012e, 0x17372723, 0x16361715, 0x07222717, 0x3e372627, 0x011e1701, 0x011f010f, 0x23128237, 0x06070616, + 0x07221482, 0x3f491706, 0x080b5106, 0x0bf54208, 0x1f0a350b, 0x0811750b, 0x603e6b0b, 0x146b8040, 0x0d341130, 0x2a01520c, 0x0725491b, 0x0b4a0503, + 0x0d054b44, 0x1b140902, 0x1f131913, 0x7c0c0794, 0x13253513, 0x0e147598, 0x340e140e, 0x350b1e0b, 0x083c820b, 0x6b14302d, 0x3e604080, 0x11080b6b, + 0x3d520336, 0x09141b2b, 0x4b040e02, 0x054a0b44, 0x4a240703, 0x130b121b, 0x201f521f, 0x3525137b, 0x82de9913, 0x140e2239, 0x05437300, 0xc0010224, + 0x475f0700, 0x453d2008, 0x32230971, 0x180f0616, 0x32132198, 0x22232207, 0x37362627, 0x35013625, 0x15251523, 0x822b3533, 0x22022126, 0x3205af4d, + 0x131a2d01, 0xbe131a13, 0xe4070603, 0x13130db0, 0x8380fe0d, 0xdcb03505, 0x030c0202, 0x01060702, 0xbefe06e0, 0x60000160, 0x63606080, 0x01212a84, + 0x292f8280, 0x0c0d1a13, 0x135c3c02, 0x2d83e00d, 0x532a0482, 0x0c060c3b, 0xfe028001, 0x008460a7, 0x84200121, 0x6c9e8225, 0x0e250a7f, 0x00001f00, + 0x0dc95a01, 0xc95a1320, 0x5a022008, 0x380805c9, 0x83483444, 0x495f83ba, 0x0a1b2a39, 0x06151324, 0x075c3a06, 0x4b121c1b, 0x8d012b38, 0x5f2b8c30, + 0x365f8787, 0x3a3544a0, 0x1ac7fe20, 0x0b092759, 0x20087543, 0x38132828, 0x336b8445, 0xc0ffffff, 0xc0014102, 0x58002c00, 0x0e370000, 0x07060703, + 0x3626fd83, 0x36373037, 0xb5633e37, 0x011f2b06, 0x050e0706, 0x25020e07, 0x20820616, 0x03822220, 0x82040e21, 0x23062404, 0x82012f22, 0x37042626, + 0x3e37023e, 0x08318205, 0x160ddb2d, 0x350d0e18, 0x01092423, 0x0237240a, 0x03041c45, 0x23201012, 0x0e1b1e33, 0x090d0a08, 0x132e1e25, 0x1a252616, + 0x0807070a, 0x844c0117, 0x01012924, 0x07061c45, 0x28432520, 0x0c262388, 0x1711160c, 0x2682120c, 0x09063308, 0x14212017, 0x70233511, 0x070c120d, + 0x23211404, 0x1e081b0a, 0x4a170115, 0x1824080b, 0x0b1f1c27, 0x09060a0a, 0x07121c25, 0x26251a0a, 0x13121315, 0x2187d821, 0x36120f25, 0x860f2f27, + 0x0504261f, 0x0b130b0b, 0x25228513, 0x06091621, 0x93432114, 0x82c02008, 0x001624ff, 0x183a0032, 0x23182563, 0x3b141505, 0x22058b48, 0x6833013d, + 0x8f5f0682, 0x22232105, 0x180a6318, 0x08d0fe25, 0x82300838, 0x20068603, 0xe96218ed, 0x8a8e2017, 0x38082b24, 0x1240e0fe, 0x0000121c, 0x074b0001, + 0x82182007, 0x1e32270c, 0x06141502, 0xfe4a1123, 0x35300805, 0x022e2211, 0x01363435, 0x486f4120, 0x151d2328, 0x0f88fe0f, 0x10180f15, 0xc001a109, + 0x1d3b321f, 0x00ff1f18, 0x0d13130d, 0x0f090001, 0x6b3e0b14, 0x6b4aeb82, 0x01002505, 0x000900a1, 0x35215e82, 0x064a4b21, 0x1e01353d, 0x25211501, + 0x02303336, 0xfe0d1300, 0x01130d40, 0xfe7b592c, 0x08170100, 0x84a0a00c, 0x05a02944, 0x07d95a81, 0x03000000, 0x26062f42, 0x001000c1, 0x8248002c, + 0x1e172397, 0x48863301, 0x32013d29, 0x35053536, 0x83012b34, 0x1d222303, 0x03822301, 0x220b3741, 0x67151637, 0x2f22058b, 0xb9622601, 0x34352608, + 0x32362537, 0x0d471817, 0x60fe2707, 0x04010907, 0x3a413b01, 0x05bb2d0d, 0x07051504, 0x05e50407, 0x04e5050c, 0x16350882, 0x00010504, 0x010c1e0c, + 0x0201c14d, 0x090907b9, 0x0102b907, 0x0c474144, 0x07059429, 0x05180506, 0x8204ca04, 0x25088202, 0xe2050706, 0xdf450a0a, 0x4a022006, 0x302505b7, + 0x32120000, 0x07b34a16, 0x3e258a82, 0x35263702, 0x4ac49b34, 0x0828086a, 0x1c110402, 0x60013906, 0x7e18aa8d, 0x032709ff, 0x3a163115, 0x8c6e5649, + 0x05434195, 0x7f82bf20, 0x0f00c026, 0x2e002500, 0x6808a558, 0x362a05b0, 0x37011f32, 0x0f060717, 0xc2680602, 0x36022805, 0x0717013f, 0x82273717, + 0x37012413, 0x47fb0136, 0xb52e052e, 0x04170505, 0x3702040e, 0x1b136e2d, 0x23476678, 0x1b663105, 0x2d6e1307, 0x440a0d37, 0x1302060a, 0x06010950, + 0x17232282, 0x85b50505, 0x83f7201e, 0x1b07222c, 0x22418566, 0x831b7866, 0x837b202c, 0x5009242c, 0x82000213, 0x00012100, 0x24073350, 0x1200000b, + 0x097a4432, 0x5d628f32, 0x70a07032, 0x75c00132, 0x70503794, 0x94375070, 0x00212e82, 0x4c2f8206, 0x0b2e0503, 0x27001b00, 0x37002f00, 0x00003f00, + 0x83793225, 0x36342206, 0x06776033, 0x2c08d54c, 0x37262237, 0x1632013e, 0x23061617, 0x23431826, 0x8606200e, 0xd001270f, 0x141c1c14, 0x058360fe, + 0x07b0013e, 0xfe1a2609, 0x09261aa0, 0x181a1b07, 0x967e1f0f, 0x180f1f7e, 0x090e3e1a, 0x89090e09, 0x534f058a, 0x801c3505, 0x1a100709, 0x101a2626, + 0x34a00907, 0x42423218, 0x70341832, 0x09222a82, 0x0584290e, 0x05841720, 0x0100002c, 0xc0ff2000, 0xc101e001, 0xb1824000, 0x0e141533, 0x22012b01, + 0x26012f26, 0x3634013d, 0x1415013f, 0x28088232, 0x3733033e, 0x1d011e36, 0x230d8401, 0x31323336, 0x33080c89, 0x031e011f, 0x1e17011d, 0x1ee00101, + 0x13d71e34, 0x0b1f0d2f, 0x101b090c, 0x0a080503, 0x10081f05, 0x141c100a, 0x101b1401, 0x05270d15, 0x24030708, 0x5383110b, 0x132d2882, 0x0f0b1f0e, + 0x0414094a, 0x08084c0f, 0x08198293, 0x06050624, 0x070c0601, 0xc8080820, 0x1d011c14, 0x0808c614, 0x020f0b20, 0x06040107, 0x09320408, 0x00001503, + 0x00820002, 0x01000227, 0x00130080, 0x25ad8323, 0x36343521, 0x04821737, 0x22050d4b, 0x6f011e37, 0x6741065b, 0xe0012f08, 0x354240fe, 0x60070929, + 0x35290907, 0x9d5b1042, 0x4040260a, 0x5216613b, 0x25118370, 0x61165270, 0xa118099b, 0x00200809, 0x043a0082, 0xbefffeff, 0xc2010202, 0x41001700, + 0x55004b00, 0x1e010000, 0x06141503, 0x277b0107, 0x3e012e08, 0x07163201, 0x22263436, 0x0e070607, 0x2a028901, 0x14060706, 0x36373216, 0x89013e37, + 0x36350802, 0x012e2705, 0x1636013f, 0x011e031f, 0x2606010f, 0xe901012f, 0x04060904, 0xa0fe090e, 0x210e220a, 0x010a0e2f, 0x1c210a60, 0x09042821, + 0x170c050d, 0x04062720, 0x20058718, 0x2b139214, 0x130b7cfe, 0x11d01102, 0x9f0b1333, 0x01290988, 0x0f0e05a9, 0x210e0710, 0x2455820a, 0x0e212f0e, + 0x2e558222, 0x690e0e09, 0x050a0d05, 0x2706040c, 0x87181720, 0x92132005, 0x0bb82313, 0x53823313, 0x53840220, 0x002f0986, 0x00020000, 0x01bfff20, + 0x00c101a0, 0x7c1d0015, 0xbc600a5f, 0x16323007, 0x03071415, 0x0e072127, 0x01262201, 0x181c1470, 0x2e086187, 0x54785401, 0x0163ac01, 0x11046300, + 0x56011110, 0x1c2f05ed, 0x543c0808, 0x08083c54, 0xceceb2fe, 0x500b0b07, 0x803406ef, 0x1b00c001, 0x29002500, 0x00004100, 0x013d2237, 0x35013b34, + 0x32230382, 0x4a33011d, 0x25220c81, 0x94182111, 0x5d430ad1, 0x013b2a0e, 0x013b1614, 0xe8373632, 0x0b954408, 0xfe20012e, 0x01141c00, 0x401c14a0, + 0xf00180fe, 0x10e39418, 0xa646e020, 0x3808260b, 0x01b0feb0, 0x26c78250, 0x0001dcfe, 0x436000ff, 0x0b23094f, 0x830f1115, 0x00002baf, 0x80010002, + 0x19000f00, 0xa5622300, 0xc4b41806, 0x3513210c, 0x2a06e166, 0x34353733, 0x15012b26, 0x83363233, 0x21232109, 0x27050967, 0x36322133, 0x261ac001, + 0x26076254, 0x09075060, 0x78d00709, 0xa03205ad, 0xc0fe0d13, 0x0d13130d, 0x130d4001, 0x1a268001, 0x298300ff, 0x05820120, 0x66d0fe21, 0x10260570, + 0x30090710, 0x1f828709, 0x830d1321, 0x05334904, 0x20089382, 0x001500c0, 0x25000031, 0x030e1733, 0x34262223, 0x3e323336, 0x37173705, 0x1415011e, + 0x35232707, 0x27108227, 0x26273617, 0x013f3435, 0x50080a83, 0x0106011e, 0x13256b4b, 0x4c8f6a4b, 0x17212117, 0x1d24311d, 0x0b181418, 0x1d158335, + 0x4b593606, 0x1c1e2824, 0x03021415, 0x04030217, 0x040c0a03, 0x472227b9, 0x2e212940, 0x2b231421, 0x0e2c2d32, 0x42132618, 0x3916111d, 0x0c17224e, + 0x03021d2b, 0x23298303, 0x0037240d, 0x3e084b72, 0x00c10101, 0x001e0011, 0x002e0026, 0x13000036, 0x1617021e, 0x010f010e, 0x3727022e, 0x8207023e, + 0x0605210e, 0x3522a982, 0x844e3734, 0x0f347907, 0x9a5a9f3e, 0x06010b62, 0x0439080b, 0x0f5d8f52, 0x330f0a02, 0x034b8658, 0x020385fe, 0x72010a06, + 0x0a036319, 0x0b847b20, 0x09c0013f, 0x0859995f, 0x10020b0f, 0x02508e5d, 0x060c0739, 0x854a0171, 0x0a016956, 0x4c020206, 0x20248313, 0x20058485, + 0x08734a7b, 0x00000325, 0x8201c0ff, 0x09002401, 0x82001f00, 0x031723be, 0x10450321, 0x06372105, 0x0b63dd18, 0x36323328, 0x2226012f, 0x77183707, + 0x2c080d5f, 0x3637013b, 0x1f32013b, 0x01153501, 0x1c011580, 0x1c13f613, 0x0b080745, 0x20070939, 0x0b390907, 0x045a0708, 0x07db040e, 0xfe070909, + 0x32058360, 0x0f070978, 0x09070f72, 0xfe530113, 0x1a1a13ad, 0x441508c3, 0x1525058f, 0x05055e08, 0x099144a5, 0x0d0d1323, 0x0dab6b13, 0x436c9f85, + 0x229fac09, 0x43800120, 0x5b20059e, 0x10289da3, 0xb0fe5001, 0xc11c1c14, 0x00209d9d, 0x0805c343, 0x01c00120, 0x001b00c0, 0x003f0037, 0x3700004e, + 0x34352622, 0x36373637, 0x1737013d, 0x16171415, 0x63461617, 0x22062305, 0x4e4a3727, 0x1507241a, 0x82321614, 0x1e172234, 0x06574901, 0x3634353d, + 0x073a1737, 0x0c1e0209, 0x0a80800a, 0x04021e0c, 0x25520507, 0x052c255e, 0x82100516, 0x08068603, 0x422f2828, 0x4b360f2f, 0xb4fe1822, 0x364b2218, + 0x0709a05f, 0x243c0304, 0x3031291f, 0x1f293130, 0x04033c24, 0x20040804, 0x338ad820, 0x16052508, 0x2f21205d, 0xa020212f, 0x18364e02, 0x36182222, + 0x005f024e, 0x00000100, 0x8002e0ff, 0x2d00a001, 0x23050000, 0x1121ca82, 0x08dd7623, 0x71663420, 0x11152209, 0x08834633, 0x9b5a1420, 0xdc012f05, + 0x60150f98, 0x078c0f15, 0x70070909, 0x0d8c0f15, 0x0f15202c, 0x0f9c5c01, 0x20070915, 0x07820907, 0xfe0f1523, 0x250e8aa4, 0x1c000000, 0x7d835601, + 0x00240982, 0x36001a00, 0x01240b86, 0x85001900, 0x02240b86, 0xab000500, 0x03240b86, 0xf1001f00, 0x04240b86, 0x45011900, 0x05230b86, 0x87012500, + 0x00062423, 0x86ff0116, 0x000a2417, 0x8670022c, 0x000b240b, 0x86cd0217, 0x0010240b, 0x860d0313, 0x0011240b, 0x862d0305, 0x0012240b, 0x86670319, + 0x8215200b, 0x86a92023, 0x8216200b, 0x00c92623, 0x04010003, 0x20a98209, 0x85038234, 0x0001240b, 0x86510032, 0x00022417, 0x869f000a, 0x0003240b, + 0x86b1003e, 0x0004240b, 0x86110132, 0x0005240b, 0x865f014a, 0x0006240b, 0x86d1012c, 0x000a240b, 0x86160258, 0x000b240b, 0x869d022e, 0x0010240b, + 0x86e50226, 0x0011240b, 0x8621030a, 0x0012240b, 0x86330332, 0x0015240b, 0x86810326, 0x8216200b, 0x00bd3a23, 0x006f0043, 0x00790070, 0x00690072, + 0x00680067, 0x00200074, 0x00630028, 0x20078229, 0x201b8246, 0x2611846e, 0x00770041, 0x82730065, 0x826d200f, 0x43003c07, 0x7279706f, 0x74686769, + 0x29632820, 0x6e6f4620, 0x77412074, 0x6d6f7365, 0x97000065, 0x00202234, 0x20528435, 0x20408272, 0x20098265, 0x204c8253, 0x2074826c, 0x8a328264, + 0x35202b40, 0x65724620, 0x6f532065, 0x1a82696c, 0x1186258a, 0x2d205fb1, 0x2e267982, 0x2e003800, 0x6b9a3100, 0x2e352d24, 0x20832e38, 0xbfb5f496, + 0x32003324, 0x79823900, 0x07843720, 0x28002022, 0x281a1f41, 0x00650076, 0x00730072, 0x21818469, 0x7183003a, 0x292bb787, 0x32330000, 0x32372e39, + 0x41282039, 0x20290b6f, 0x73726576, 0x3a6e6f69, 0x82be8420, 0x071f4126, 0x200db241, 0x41778235, 0x2d210579, 0x0e794100, 0x2506b941, 0x65724635, + 0x64412d65, 0x00542206, 0x228c8268, 0x82770020, 0x00622205, 0x22948227, 0x826d0020, 0x00732296, 0x20968274, 0x26098270, 0x00750070, 0x8261006c, + 0x822020b0, 0x846320b0, 0x822020b2, 0x84652027, 0x00612421, 0x8264006e, 0x82742029, 0x826f2017, 0x826b2027, 0x742f0823, 0x00002e00, 0x20656854, + 0x27626577, 0x6f6d2073, 0x70207473, 0x6c75706f, 0x69207261, 0x206e6f63, 0x20746573, 0x20646e61, 0x6c6f6f74, 0x8274696b, 0x8268202d, 0x0074224c, + 0x22568270, 0x822f003a, 0x84662001, 0x82742066, 0x0b8e4276, 0x63002e22, 0x6d2f1782, 0x74680000, 0x3a737074, 0x6f662f2f, 0x4261746e, 0x2e22058f, + 0x18826f63, 0x20253342, 0x0c584100, 0x20058742, 0x0b2d4100, 0x93388142, 0x07e14259, 0x00249bcd, 0x00020000, 0xff230084, 0x841900c1, 0x21048e08, + 0x1082ee03, 0x25820120, 0x10000330, 0x13001100, 0x15001400, 0x17001600, 0x2f821800, 0x001add0f, 0x001c001b, 0x00240023, 0x00260025, 0x00280027, + 0x002a0029, 0x002c002b, 0x002e002d, 0x0030002f, 0x00320031, 0x00340033, 0x00360035, 0x00380037, 0x003a0039, 0x003c003b, 0x0044003d, 0x00460045, + 0x00480047, 0x004a0049, 0x004c004b, 0x004e004d, 0x0050004f, 0x00520051, 0x00540053, 0x00560055, 0x00580057, 0x005a0059, 0x005c005b, 0x0102015d, + 0x01040103, 0x01060105, 0x01080107, 0x010a0109, 0x010c010b, 0x010e010d, 0x0110010f, 0x01120111, 0x01140113, 0x01160115, 0x01180117, 0x011a0119, + 0x011c011b, 0x011e011d, 0x0120011f, 0x01220121, 0x01240123, 0x01260125, 0x01280127, 0x012a0129, 0x012c012b, 0x012e012d, 0x0130012f, 0x01320131, + 0x01340133, 0x01360135, 0x01380137, 0x013a0139, 0x013c013b, 0x013e013d, 0x0140013f, 0x01420141, 0x01440143, 0x01460145, 0x01480147, 0x014a0149, + 0x014c014b, 0x014e014d, 0x0150014f, 0x01520151, 0x01540153, 0x000e0055, 0x010d00ef, 0x01570156, 0x01590158, 0x015b015a, 0x015d015c, 0x015f015e, + 0x01610160, 0x01630162, 0x01650164, 0x01670166, 0x01690168, 0x016b016a, 0x016d016c, 0x016f016e, 0x01710170, 0x01730172, 0x01750174, 0x01770176, + 0x01790178, 0x017b017a, 0x017d017c, 0x017f017e, 0x01810180, 0x01830182, 0x01850184, 0x01870186, 0x01890188, 0x018b018a, 0x018d018c, 0x018f018e, + 0x01910190, 0x01930192, 0x01950194, 0x01970196, 0x01990198, 0x019b019a, 0x019d019c, 0x019f019e, 0x01a101a0, 0x01a301a2, 0x01a501a4, 0x01a701a6, + 0x01a901a8, 0x01ab01aa, 0x01ad01ac, 0x01af01ae, 0x01b101b0, 0x01b301b2, 0x01b501b4, 0x01b701b6, 0x01b901b8, 0x01bb01ba, 0x01bd01bc, 0x01bf01be, + 0x01c101c0, 0x01c301c2, 0x01c501c4, 0x01c701c6, 0x01c901c8, 0x01cb01ca, 0x01cd01cc, 0x01cf01ce, 0x01d101d0, 0x012200d2, 0x01d401d3, 0x01d601d5, + 0x01d801d7, 0x01da01d9, 0x01dc01db, 0x01de01dd, 0x01e001df, 0x01e201e1, 0x01e401e3, 0x01e601e5, 0x01e801e7, 0x01ea01e9, 0x01ec01eb, 0x01ee01ed, + 0x01f001ef, 0x01f201f1, 0x01f401f3, 0x01f601f5, 0x01f801f7, 0x01fa01f9, 0x01fc01fb, 0x01fe01fd, 0x020002ff, 0x02020201, 0x02040203, 0x02060205, + 0x02080207, 0x020a0209, 0x020c020b, 0x020e020d, 0x0210020f, 0x02120211, 0x02140213, 0x02160215, 0x02180217, 0x021a0219, 0x021c021b, 0x021e021d, + 0x0220021f, 0x02220221, 0x02240223, 0x02260225, 0x02280227, 0x02880029, 0x022b022a, 0x022d022c, 0x022f022e, 0x02310230, 0x02330232, 0x02350234, + 0x008b0036, 0x02370223, 0x02390238, 0x023b023a, 0x023d023c, 0x023f023e, 0x02410240, 0x02430242, 0x02450244, 0x02470246, 0x02490248, 0x024b024a, + 0x024d024c, 0x024f024e, 0x02510250, 0x02530252, 0x02550254, 0x02570256, 0x02590258, 0x025b025a, 0x025d025c, 0x025f025e, 0x02610260, 0x02630262, + 0x02650264, 0x02670266, 0x02690268, 0x026b026a, 0x026d026c, 0x026f026e, 0x02710270, 0x00730272, 0x028a008c, 0x02750274, 0x02770276, 0x02790278, + 0x027b027a, 0x027d027c, 0x027f027e, 0x02810280, 0x02080082, 0x02840283, 0x02860285, 0x02880287, 0x028a0289, 0x028c028b, 0x028e028d, 0x0290028f, + 0x02920291, 0x02940293, 0x02960295, 0x02980297, 0x029a0299, 0x029c029b, 0x029e029d, 0x02a0029f, 0x02a202a1, 0x02a402a3, 0x02a602a5, 0x02a802a7, + 0x02aa02a9, 0x02ac02ab, 0x02ae02ad, 0x02b002af, 0x02b202b1, 0x02b402b3, 0x02b602b5, 0x02b802b7, 0x02ba02b9, 0x02bc02bb, 0x02be02bd, 0x02c002bf, + 0x02c202c1, 0x02c402c3, 0x02c602c5, 0x02c802c7, 0x02ca02c9, 0x02cc02cb, 0x02ce02cd, 0x02d002cf, 0x02d202d1, 0x02d402d3, 0x02d602d5, 0x02d802d7, + 0x02da02d9, 0x02dc02db, 0x02de02dd, 0x02e002df, 0x02e202e1, 0x02e402e3, 0x02e602e5, 0x02e802e7, 0x02ea02e9, 0x02ec02eb, 0x02ee02ed, 0x02f002ef, + 0x02f202f1, 0x02f402f3, 0x02f602f5, 0x02f802f7, 0x02fa02f9, 0x02fc02fb, 0x02fe02fd, 0x030003ff, 0x03020301, 0x03040303, 0x03060305, 0x03080307, + 0x030a0309, 0x030c030b, 0x030e030d, 0x0310030f, 0x03120311, 0x03140313, 0x03160315, 0x03180317, 0x031a0319, 0x031c031b, 0x031e031d, 0x0320031f, + 0x03220321, 0x03240323, 0x03260325, 0x03280327, 0x032a0329, 0x032c032b, 0x032e032d, 0x0330032f, 0x03320331, 0x03340333, 0x03360335, 0x03380337, + 0x033a0339, 0x033c033b, 0x033e033d, 0x0340033f, 0x03b80041, 0x03430342, 0x03450344, 0x03470346, 0x03490348, 0x004b034a, 0x034c0392, 0x034e034d, + 0x0350034f, 0x03520351, 0x03540353, 0x03560355, 0x03580357, 0x035a0359, 0x035c035b, 0x035e035d, 0x0360035f, 0x03620361, 0x03640363, 0x03660365, + 0x03680367, 0x036a0369, 0x036c036b, 0x036e036d, 0x0370036f, 0x03720371, 0x03740373, 0x03760375, 0x03780377, 0x037a0379, 0x037c037b, 0x037e037d, + 0x0380037f, 0x03820381, 0x03840383, 0x03860385, 0x03880387, 0x038a0389, 0x038c038b, 0x038e038d, 0x0390038f, 0x03920391, 0x03940393, 0x03960395, + 0x03980397, 0x039a0399, 0x039c039b, 0x039e039d, 0x03a0039f, 0x03a203a1, 0x03a403a3, 0x03a603a5, 0x03a803a7, 0x03aa03a9, 0x03ac03ab, 0x03ae03ad, + 0x03b003af, 0x03b203b1, 0x03b403b3, 0x03b603b5, 0x03b803b7, 0x03ba03b9, 0x03bc03bb, 0x03be03bd, 0x03c003bf, 0x03c203c1, 0x03c403c3, 0x03c603c5, + 0x03c803c7, 0x03ca03c9, 0x03cc03cb, 0x03ce03cd, 0x03d003cf, 0x03d203d1, 0x03d403d3, 0x03d603d5, 0x03d803d7, 0x03da03d9, 0x03dc03db, 0x03de03dd, + 0x03e003df, 0x03e203e1, 0x03e403e3, 0x03e603e5, 0x03e803e7, 0x03ea03e9, 0x03ec03eb, 0x03ee03ed, 0x03f003ef, 0x03f203f1, 0x03f403f3, 0x03f603f5, + 0x03f803f7, 0x03fa03f9, 0x03fc03fb, 0x03fe03fd, 0x040004ff, 0x04020401, 0x04040403, 0x04060405, 0x04080407, 0x040a0409, 0x040c040b, 0x040e040d, + 0x0410040f, 0x04120411, 0x04140413, 0x04160415, 0x04180417, 0x041a0419, 0x041c041b, 0x041e041d, 0x0420041f, 0x04220421, 0x04240423, 0x04260425, + 0x04280427, 0x042a0429, 0x042c042b, 0x042e042d, 0x0430042f, 0x04320431, 0x04340433, 0x04360435, 0x04380437, 0x043a0439, 0x043c043b, 0x04dd003d, + 0x043f043e, 0x04120040, 0x04420441, 0x04440443, 0x04460445, 0x04480447, 0x044a0449, 0x044c044b, 0x044e044d, 0x0450044f, 0x04520451, 0x04540453, + 0x04560455, 0x04580457, 0x045a0459, 0x045c045b, 0x045e045d, 0x0460045f, 0x04620461, 0x04640463, 0x04660465, 0x04680467, 0x046a0469, 0x046c046b, + 0x046e046d, 0x0470046f, 0x04720471, 0x04740473, 0x04760475, 0x04780477, 0x047a0479, 0x047c047b, 0x047e047d, 0x0480047f, 0x04820481, 0x04840483, + 0x04860485, 0x04880487, 0x048a0489, 0x048c048b, 0x048e048d, 0x0490048f, 0x04920491, 0x04940493, 0x04960495, 0x04980497, 0x049a0499, 0x0d9c049b, + 0x73616c67, 0x616d2d73, 0x6e697472, 0x756d0569, 0x06636973, 0x72616573, 0x68056863, 0x743c0682, 0x61747304, 0x73750472, 0x66047265, 0x086d6c69, + 0x6c2d6874, 0x65677261, 0x07687402, 0x692f0b83, 0x63057473, 0x6b636568, 0x6d697405, 0x850b7365, 0x702d253b, 0x0c73756c, 0x6d380b86, 0x73756e69, + 0x776f7009, 0x6f2d7265, 0x73066666, 0x616e6769, 0x6f63036c, 0x6f33e782, 0x6305656d, 0x6b636f6c, 0x616f7204, 0x6f640864, 0x826c6e77, 0x69053108, + 0x786f626e, 0x64657204, 0x7973046f, 0x6c08636e, 0x2d246782, 0x04746c61, 0x66242b84, 0x0a67616c, 0x642d9e82, 0x6e6f6870, 0x760a7365, 0x6d756c6f, + 0x205c8365, 0x200a860b, 0x20488264, 0x2a0b8609, 0x71067075, 0x646f6372, 0x82620765, 0x240782d7, 0x67617403, 0x26038204, 0x6f620473, 0x83086b6f, + 0x616d3504, 0x70056b72, 0x746e6972, 0x6d616306, 0x04617265, 0x746e6f66, 0x6c351f82, 0x74690664, 0x63696c61, 0x7865740b, 0x65682d74, 0x74686769, + 0x250b840a, 0x74646977, 0x1b820a68, 0x2d6e6727, 0x7466656c, 0x260a850c, 0x746e6563, 0x850b7265, 0x8372200c, 0x850d202e, 0x756a270b, 0x66697473, + 0xcb830479, 0x756f0724, 0x28826474, 0x6e690622, 0x05300683, 0x65646976, 0x6d69056f, 0x0a656761, 0x2d70616d, 0x65248f83, 0x64610672, 0x04213483, + 0x37978274, 0x69646504, 0x74730d74, 0x622d7065, 0x776b6361, 0x0d647261, 0x74736166, 0x08200d88, 0x04331687, 0x79616c70, 0x75617005, 0x73046573, + 0x07706f74, 0x83726f66, 0x840c202e, 0x840c872e, 0x2c0c8649, 0x656a6505, 0x630c7463, 0x72766568, 0x20cc856f, 0x840c870d, 0x700b2fc1, 0x2d73756c, + 0x63726963, 0x6d0c656c, 0x0c896e69, 0x6d697423, 0x82198865, 0x6b632133, 0x0f232686, 0x82657571, 0x854e82ef, 0x690b2436, 0x866f666e, 0x630a3a1b, + 0x73736f72, 0x72696168, 0x61620373, 0x72610a6e, 0x2d776f72, 0x7466656c, 0x840a850b, 0x85082074, 0x7075210b, 0x64241f86, 0x056e776f, 0x723b3582, + 0x78650665, 0x646e6170, 0x6d6f6308, 0x73657270, 0x78651273, 0x6d616c63, 0x88697461, 0x6704336e, 0x04746669, 0x6661656c, 0x72696604, 0x79650365, + 0x03820965, 0x6c732d26, 0x14687361, 0x743c2f8b, 0x6e616972, 0x05656c67, 0x6e616c70, 0x61630c65, 0x646e656c, 0x612d7261, 0x7206746c, 0x6f226582, + 0x6782076d, 0x6e656d2b, 0x616d0674, 0x74656e67, 0x071a410a, 0x41707521, 0x9b830832, 0x6572073d, 0x65657774, 0x68730d74, 0x6970706f, 0x632d676e, + 0x06747261, 0x646c6f66, 0x850b7265, 0x6f2d2706, 0x096e6570, 0x18826863, 0x61622d23, 0x326d8272, 0x6172656d, 0x7465722d, 0x6b036f72, 0x63047965, + 0x8373676f, 0x236f83d7, 0x74730973, 0x682e8882, 0x09666c61, 0x6d756874, 0x63617462, 0x2982066b, 0x79687033, 0x6c707506, 0x0564616f, 0x6f6d656c, + 0x6870056e, 0x84ba826f, 0x732d3405, 0x72617571, 0x6e750665, 0x6b636f6c, 0x6572630b, 0x83746964, 0x03643f89, 0x03737372, 0x08646468, 0x6c6c7562, + 0x6e726f68, 0x7265630b, 0x69666974, 0x65746163, 0xea826810, 0x6f702d2c, 0x2d746e69, 0x68676972, 0x108a0f74, 0x66656c24, 0x0f8a0d74, 0x8b707521, + 0x20fb831d, 0x05ab4111, 0x2005ea41, 0x202f832d, 0x85118c12, 0x21128c52, 0x348d7075, 0x23084683, 0x6f6c6705, 0x77066562, 0x636e6572, 0x61740568, + 0x06736b73, 0x746c6966, 0x62097265, 0x66656972, 0x65736163, 0x38050d42, 0x6c612d73, 0x73750574, 0x04737265, 0x6b6e696c, 0x6f6c6305, 0x66056475, + 0x3833826c, 0x74756303, 0x706f6304, 0x61700979, 0x63726570, 0x0470696c, 0x65766173, 0x051a4106, 0x6162042c, 0x6c077372, 0x2d747369, 0x07856c75, + 0x0d6c6f35, 0x69727473, 0x6874656b, 0x67756f72, 0x6e750968, 0x82726564, 0x82652057, 0x62250884, 0x6d05656c, 0x63696761, 0x75727405, 0x6d0a6b63, + 0x79656e6f, 0x6c69622d, 0x61630a6c, 0x2d746572, 0x6e776f64, 0x210a8508, 0x13867075, 0x66656c24, 0x13850b74, 0x072dfb84, 0x756c6f63, 0x04736e6d, + 0x74726f73, 0x84048309, 0x84072036, 0x70752b09, 0x766e6508, 0x706f6c65, 0x79820465, 0x67056f22, 0x2f08ad82, 0x6f62046c, 0x7307746c, 0x6d657469, + 0x75087061, 0x6572626d, 0x05616c6c, 0x74736170, 0x696c0965, 0x62746867, 0x07626c75, 0x72657375, 0x0b646d2d, 0x74231582, 0x82736f68, 0x08652bf7, + 0x74697573, 0x65736163, 0x32826204, 0x6f630627, 0x65656666, 0x271c8208, 0x61746970, 0x6d61096c, 0x612c3882, 0x0665636e, 0x6b64656d, 0x660b7469, + 0x45824c83, 0x74656a22, 0x65233182, 0x42680872, 0xf7430645, 0x05364105, 0x6e611125, 0x82656c67, 0x627521b5, 0xe2410682, 0x84118b05, 0x8c0f20e6, + 0x70752124, 0x6424348d, 0x0a6e776f, 0x3f832185, 0x0a850b20, 0x08203884, 0x75210b85, 0x831f8670, 0x64072b2a, 0x746b7365, 0x6c06706f, 0x06837061, + 0x82617421, 0x06742e79, 0x69626f6d, 0x710a656c, 0x65746f75, 0x8547842d, 0x2847840a, 0x69707307, 0x72656e6e, 0x058a4206, 0x6d730522, 0x05222b82, + 0x79827266, 0x6d033f08, 0x67076865, 0x70656d61, 0x6b086461, 0x6f627965, 0x0e647261, 0x67616c66, 0x6568632d, 0x72656b63, 0x74086465, 0x696d7265, + 0x046c616e, 0x65646f63, 0x70657209, 0x612d796c, 0x6c0e6c6c, 0x5e44636f, 0x72612105, 0x04254b82, 0x706f7263, 0x3322830b, 0x6172622d, 0x0668636e, + 0x696c6e75, 0x69046b6e, 0x0b6f666e, 0x2f0a5d44, 0x7075730b, 0x63737265, 0x74706972, 0x62757309, 0x06360985, 0x73617265, 0x700c7265, 0x6c7a7a75, + 0x69702d65, 0x0a656365, 0x5483696d, 0x6e6f6824, 0x0a891065, 0x2005af44, 0x07944408, 0x6966112f, 0x652d6572, 0x6e697478, 0x73697567, 0x21e78268, + 0xb9826f72, 0x44137421, 0x81430793, 0x8e14200a, 0x69722513, 0x11746867, 0x7521148e, 0x243a8f70, 0x6e776f64, 0x22d38306, 0x440a726f, 0x2d370544, + 0x08746c61, 0x6c6c7562, 0x65796573, 0x6c6c650a, 0x69737069, 0x89682d73, 0x0a76240a, 0x42737372, 0x61210933, 0x0d2b4679, 0x20054042, 0x217a820c, + 0x25866b63, 0x65700a23, 0x230a866e, 0x6168730c, 0x2485d582, 0x6f630728, 0x7361706d, 0x3b431173, 0x20148505, 0x2093832d, 0x22118c0f, 0x8c127075, + 0x2fdc840f, 0x72756509, 0x69732d6f, 0x700a6e67, 0x646e756f, 0x0b260a84, 0x6c6c6f64, 0x0b847261, 0x75720a25, 0x84656570, 0x7908210a, 0x2a838083, + 0x62757223, 0x2113866c, 0x94826f77, 0x04251382, 0x656c6966, 0x83048308, 0x730f24fb, 0x8274726f, 0x68702208, 0x20898461, 0x220f8a0d, 0x85107075, + 0x826d200d, 0x050a4470, 0x108b0e20, 0x11707522, 0x6e260e84, 0x72656d75, 0x3f846369, 0x11874f85, 0x45707521, 0x732a05dc, 0x0b70752d, 0x6d756874, + 0x25847362, 0x65660627, 0x656c616d, 0x34048304, 0x6e757303, 0x6f6f6d04, 0x7261076e, 0x76696863, 0x75620365, 0x0d224167, 0x66656c27, 0x6f640a74, + 0x06794174, 0x68770a2f, 0x636c6565, 0x72696168, 0x72696c09, 0x24f38461, 0x6170730d, 0x26ea8263, 0x74747568, 0x440f656c, 0x87410773, 0x750a2206, + 0x2a59826e, 0x74697372, 0x72670e79, 0x42756461, 0x633905f0, 0x6c087061, 0x75676e61, 0x03656761, 0x08786166, 0x6c697562, 0x676e6964, 0x2b898205, + 0x7003646c, 0x63047761, 0x05656275, 0x733e0483, 0x63657207, 0x656c6379, 0x72616303, 0x78617404, 0x72740469, 0x64086565, 0x62617461, 0x53417361, + 0x64702d06, 0x69660966, 0x772d656c, 0x0a64726f, 0x65250984, 0x6c656378, 0x290a840f, 0x65776f70, 0x696f7072, 0x1a85746e, 0x826d6921, 0x840c2079, + 0x85fd861a, 0x75612417, 0x856f6964, 0x6976240a, 0x856f6564, 0x6f632352, 0xf1826564, 0x2d656623, 0x20a38272, 0x060f430c, 0x746f6e2c, 0x700b6863, + 0x72657061, 0xcd82702d, 0x6807652c, 0x6f747369, 0x68077972, 0xcc836165, 0x6c730922, 0x72244382, 0x09682d73, 0x23058e42, 0x10746c61, 0x21410988, + 0x04240806, 0x626d6f62, 0x74756606, 0x036c6f62, 0x0a797474, 0x6f6e6962, 0x616c7563, 0x70047372, 0x0967756c, 0x7377656e, 0x04286484, 0x69666977, + 0x6c61630a, 0x67821d83, 0x65620a24, 0xcc436c6c, 0x74052e05, 0x68736172, 0x6579650b, 0x6f72642d, 0x82918270, 0x34ec8297, 0x7572622d, 0x620d6873, + 0x68747269, 0x2d796164, 0x656b6163, 0x0529480a, 0x65726123, 0x06344861, 0x87697021, 0x696c2f14, 0x740a656e, 0x6c67676f, 0x666f2d65, 0x0a870966, + 0x62076e23, 0x05824169, 0x73756229, 0x6f6c6311, 0x82646573, 0x74702d4c, 0x696e6f69, 0x730b676e, 0x656b6568, 0x69288b82, 0x63096e67, 0x2d747261, + 0x7321b982, 0x3d09840f, 0x6f727261, 0x6f642d77, 0x73046e77, 0x0b706968, 0x72657375, 0x6365732d, 0x0a746572, 0xc6826f6d, 0x0b2e5784, 0x65727473, + 0x762d7465, 0x09776569, 0x42826568, 0x61656237, 0x65760574, 0x0473756e, 0x7372616d, 0x72656d07, 0x79727563, 0x28e9820b, 0x6567736e, 0x7265646e, + 0x240b8a0f, 0x746c612d, 0x462e840c, 0x0b20064d, 0x0b863583, 0x18850a20, 0x16851183, 0x6f236d82, 0x840d656b, 0x210b8522, 0x0d8c762d, 0x6e066828, + 0x65747565, 0x69850a72, 0x73656c24, 0xb8820673, 0x72657623, 0x83c08409, 0x840a20df, 0x69742909, 0x0373656d, 0x05646562, 0x69368d82, 0x7573066e, + 0x79617762, 0x7461620c, 0x79726574, 0x6c75662d, 0x0c87166c, 0x82687421, 0x712d22e4, 0x22de8275, 0x88737265, 0x61682423, 0x870f666c, 0x201d8623, + 0x270f870d, 0x74706d65, 0x6f6d0d79, 0x4a496c82, 0x72653805, 0x632d6908, 0x6f737275, 0x626f0c72, 0x7463656a, 0x6f72672d, 0x860e7075, 0x6e75210c, + 0x0b310e84, 0x63697473, 0x6e2d796b, 0x0565746f, 0x6e6f6c63, 0x2f528265, 0x636e616c, 0x63732d65, 0x0f656c61, 0x72756f68, 0x2505a94d, 0x72617473, + 0x0f890e74, 0x0d208f83, 0x65230e89, 0x8809646e, 0x68092a0d, 0x2d646e61, 0x6b636f72, 0x2409840a, 0x65706170, 0x05c74972, 0x69637323, 0x21948273, + 0x18840b73, 0x7a696c25, 0x85647261, 0x70732124, 0x0c202f82, 0x2109ec49, 0x17857265, 0x61657028, 0x74026563, 0x204b0d76, 0x6c702408, 0x880e7375, + 0x696d220d, 0x230e8b6e, 0x656d6974, 0x63361d8a, 0x6b636568, 0x646e6908, 0x72747375, 0x616d0779, 0x69702d70, 0x0783096e, 0x67697325, 0x8203736e, + 0x4b0b2009, 0x2d290666, 0x0c746c61, 0x73756170, 0x06cb4465, 0x74730b24, 0x0b86706f, 0x5c4b0c20, 0x61622308, 0x0c8a0f67, 0x656b732c, 0x61680774, + 0x61746873, 0xc9441067, 0x6c612b06, 0x6363612d, 0x05737365, 0x7b826c62, 0x75611128, 0x2d6f6964, 0x85476564, 0x6f692305, 0x324b0c6e, 0x05284e05, + 0x72620733, 0x6c6c6961, 0x73611b65, 0x74736973, 0x2d657669, 0x3407826c, 0x6e696e65, 0x79732d67, 0x6d657473, 0x6d612373, 0x63697265, 0x05264661, + 0x17452d20, 0x692d2907, 0x7265746e, 0x74657270, 0x04252b82, 0x66616564, 0x88d6830d, 0x6c0a271f, 0x762d776f, 0x72827369, 0x6168092a, 0x6873646e, + 0x0d656b61, 0x28087f45, 0x6e65706f, 0x6464610c, 0x24aa8272, 0x6f6f622d, 0x230c886b, 0x64726163, 0x44058643, 0x082905c8, 0x622d6469, 0x65676461, + 0x83088207, 0x7410311c, 0x6d726568, 0x74656d6f, 0x662d7265, 0x1a6c6c75, 0xc442108b, 0x242b8c0d, 0x666c6168, 0x422b8b13, 0x112006cc, 0x653d138b, + 0x7974706d, 0x6f687306, 0x04726577, 0x68746162, 0x646f7007, 0x74736163, 0x6e69770f, 0x27d38264, 0x6978616d, 0x657a696d, 0x69210f88, 0x200f846e, + 0x371f860e, 0x74736572, 0x0965726f, 0x7263696d, 0x6968636f, 0x6e730970, 0x6c66776f, 0x752dfe83, 0x736e6574, 0x732d6c69, 0x6e6f6f70, 0x220d8608, + 0x82750873, 0x612d2958, 0x7409746c, 0x68736172, 0x08240983, 0x636e7973, 0x4c821284, 0x6177702e, 0x0c686374, 0x6e676973, 0x74756f2d, 0x0b201683, + 0x69210c84, 0x232b846e, 0x6f646572, 0x03200883, 0x062b5582, 0x67616d69, 0x700a7365, 0x82636e65, 0x20548268, 0x200a8203, 0x83038207, 0x6c132521, + 0x2d676e6f, 0x8205f344, 0x822d201a, 0x8f6e20cf, 0x656c2413, 0x8e147466, 0x69722527, 0x11746867, 0x7522148e, 0x944e1170, 0x20508505, 0x29ae8473, + 0x70696c63, 0x72616f62, 0x65840c64, 0x2d211484, 0x210c8b68, 0x7f891576, 0x8405e141, 0x83159186, 0x90162088, 0x208a842b, 0x84169013, 0x65742b8c, + 0x6c616e72, 0x6e696c2d, 0xde822d6b, 0x78651822, 0x5849118b, 0x28188206, 0x6378650c, 0x676e6168, 0x25258365, 0x6f6c6312, 0x83846475, 0x616f6c23, + 0x20128364, 0x4e128510, 0x1083056f, 0x65670329, 0x656c0e6d, 0x846c6576, 0x20128327, 0x210e850c, 0xf6847075, 0x636f6c29, 0x706f2d6b, 0x500e6e65, + 0x188309ca, 0xd74a0e20, 0x2078820a, 0x05c84b0a, 0x534d1985, 0x200e8308, 0x0596430b, 0x616c7339, 0x70086873, 0x7274726f, 0x05746961, 0x6c706572, + 0x68730a79, 0x846c6569, 0x4c0a2098, 0x3f84050f, 0x63617423, 0x06044368, 0x74255983, 0x656b6369, 0x24198374, 0x65737508, 0x42a28472, 0xcd820691, + 0x0d65732b, 0x65736162, 0x6c6c6162, 0x2004832d, 0x220d820f, 0x8874656b, 0x620c270f, 0x696c776f, 0x1c84676e, 0x68630526, 0x0c737365, 0x2d270584, + 0x68736962, 0x860b706f, 0x616f240c, 0x850a6472, 0x826b200b, 0x2523862e, 0x67696e6b, 0x17867468, 0x77617023, 0x242e866e, 0x65657571, 0x3016866e, + 0x6b6f6f72, 0x6d756408, 0x6c656262, 0x6f660d6c, 0x247c896f, 0x6c6f6709, 0x22798466, 0x826f680b, 0x2d7930c5, 0x6b637570, 0x69757109, 0x74696464, + 0x410b6863, 0x663706b9, 0x0c6c6c75, 0x6c626174, 0x65742d65, 0x73696e6e, 0x6c6f760f, 0x8879656c, 0x820920c5, 0x726533de, 0x73656967, 0x6e616208, + 0x69612d64, 0x6f620364, 0x03820578, 0x11736522, 0x36084e4f, 0x64656d2d, 0x6c616369, 0x72756204, 0x6163086e, 0x6c757370, 0x420f7365, 0x1b4d08ba, + 0x890e2005, 0x696c330f, 0x64097473, 0x6e676169, 0x7365736f, 0x616e6403, 0x79826405, 0x840d7921, 0x662d2705, 0x6274616c, 0xaf496465, 0x225b8605, + 0x82696610, 0x290c86a6, 0x746c612d, 0x72696609, 0x92837473, 0x954e0c20, 0x20168307, 0x260c880f, 0x626d7973, 0x440b6c6f, 0x1b8306e4, 0x6f6e0d25, + 0x87736574, 0x700621ad, 0x7429dd83, 0x6c697005, 0x7013736c, 0x09d24572, 0x6f622d27, 0x656c7474, 0x83139217, 0x700a2746, 0x65636f72, 0x31827564, + 0x68730d23, 0x05a75169, 0x7361662f, 0x6d730774, 0x6e696b6f, 0x79730767, 0x29068272, 0x61740765, 0x74656c62, 0x0f450b73, 0x7604250a, 0x056c6169, + 0x2e080483, 0x61770973, 0x6f686572, 0x06657375, 0x67696577, 0x78057468, 0x7961722d, 0x786f6208, 0x65706f2d, 0x6f630c6e, 0x6e656d6d, 0x6f642d74, + 0x870d7374, 0x6c73360c, 0x05687361, 0x63756f63, 0x6f640668, 0x6574616e, 0x766f6404, 0x056e4765, 0x6c6f6823, 0x25798264, 0x6e616812, 0x0c862d64, + 0x65682d25, 0x51747261, 0x1287059c, 0x64737523, 0x21238305, 0x05840d73, 0x6c212282, 0x2a378270, 0x7261700d, 0x75686361, 0x822d6574, 0x0c210884, + 0x706f6570, 0x632d656c, 0x79727261, 0x6769700a, 0x622d7967, 0x066b6e61, 0x62626972, 0x72056e6f, 0x2528826f, 0x65657308, 0x3b826c64, 0x69730428, + 0x730a6e67, 0x3182696d, 0x6e697732, 0x6174046b, 0x740d6570, 0x6b637572, 0x616f6c2d, 0x0c209683, 0x6d220d85, 0x2f82766f, 0x69760b25, 0x4a6f6564, + 0x0a2005cf, 0x653f3082, 0x616c672d, 0x66167373, 0x2d746e6f, 0x73657761, 0x2d656d6f, 0x6f676f6c, 0x6c75662d, 0x43750e6c, 0x30850683, 0x73270e86, + 0x6e6f7274, 0x49747561, 0x6324059a, 0x6b636568, 0x6c230a86, 0x436b636f, 0x632305b7, 0x8409676f, 0x6465243c, 0x840c7469, 0x72662709, 0x646e6569, + 0x0c840d73, 0x2006a64c, 0x83248565, 0x24428537, 0x756e696d, 0x240a8573, 0x6a6e696e, 0x05424761, 0x85053a44, 0x82732016, 0x856820af, 0x61742264, + 0x20088667, 0x21488569, 0x77822d73, 0x6c620722, 0x65256782, 0x6f620972, 0x05cd446f, 0x72620f30, 0x6364616f, 0x2d747361, 0x65776f74, 0x0f820572, + 0x0a6d6f2d, 0x6c616863, 0x616f626b, 0x89126472, 0x742d230a, 0xd2826165, 0x06722008, 0x72756863, 0x63056863, 0x736e696f, 0x6d6f630c, 0x74636170, + 0x7369642d, 0x72630463, 0x8305776f, 0x046e2604, 0x65636964, 0x23048309, 0x7669662d, 0x6f230987, 0x84087275, 0x6e6f2213, 0x23088565, 0x0a786973, + 0x74231184, 0x86657268, 0x77742f13, 0x6f640b6f, 0x632d726f, 0x65736f6c, 0x0b840964, 0x706f2208, 0x65066e65, 0x6c617571, 0x65660773, 0x65687461, + 0x72660472, 0x6708676f, 0x702d7361, 0x07706d75, 0x25fe8267, 0x0c736573, 0x1e827267, 0x2d726527, 0x6e616874, 0x200c8b12, 0x393e842d, 0x6c65680a, + 0x706f6369, 0x09726574, 0x6977696b, 0x7269622d, 0x656c0964, 0x31847373, 0x09880f20, 0x06272e85, 0x6f6d656d, 0x45147972, 0xf5410de7, 0x530f2005, + 0x2d250936, 0x65766177, 0x240f8e13, 0x746c612d, 0x2413850b, 0x63656863, 0x842f866b, 0x231b830b, 0x746f6e09, 0x07276585, 0x656c6170, 0x82657474, + 0x722c0807, 0x676e696b, 0x7265700a, 0x746e6563, 0x0f656761, 0x6a6f7270, 0x2d746365, 0x67616964, 0x076d6172, 0x65636572, 0x05747069, 0x6f626f72, + 0x75250582, 0x0e72656c, 0x29058372, 0x6d6f632d, 0x656e6962, 0x0e851064, 0x726f6825, 0x826f7a69, 0x866c2044, 0x6576371f, 0x63697472, 0x73066c61, + 0x6f6f6863, 0x63730b6c, 0x64776572, 0x17826972, 0x68730b30, 0x702d656f, 0x746e6972, 0x6b730573, 0x1d826c75, 0x2a053c44, 0x6e61622d, 0x6f747305, + 0x84096572, 0x27b88305, 0x72747306, 0x0b6d6165, 0x6f290682, 0x6177706f, 0x076c6566, 0x2d518274, 0x06786f62, 0x69687374, 0x77077472, 0xc8836c61, + 0x07820620, 0x656c4208, 0x6e610574, 0x07797267, 0x68637261, 0x05796177, 0x616c7461, 0x77610573, 0x09647261, 0x6b636162, 0x63617073, 0x65620c65, + 0x7265697a, 0x7275632d, 0x62046576, 0x05676e6f, 0x73757262, 0x75620768, 0x28748373, 0x6e616308, 0x6962616e, 0x06745173, 0x756f6433, 0x08656c62, + 0x6b636f63, 0x6c696174, 0x6e6f630e, 0x233f8263, 0x622d6567, 0x26052154, 0x65696b6f, 0x836f630b, 0x622d2306, 0x2a827469, 0x706f7222, 0x23084983, + 0x67696412, 0x6c617469, 0x6361742d, 0x72676f68, 0x05687061, 0x7a7a6964, 0x72641079, 0x69746661, 0x632d676e, 0x2505b251, 0x75726404, 0x04830d6d, + 0x74732d29, 0x706c6565, 0x420b6e61, 0x4883067d, 0x69660d24, 0x2b82656c, 0x72746e25, 0x85746361, 0x07ef590d, 0x1b840b20, 0x70786525, 0x8574726f, + 0x6d69210b, 0x45460b83, 0x6e692705, 0x63696f76, 0x24841365, 0x2d200c86, 0x2005d551, 0x45138411, 0x0e200beb, 0x73281184, 0x616e6769, 0x65727574, + 0xbc484d85, 0x82042005, 0x096c211a, 0x2d260483, 0x70697264, 0xbc82660b, 0x70726526, 0x746e6972, 0x73361a82, 0x6c660768, 0x65687375, 0x72660a64, + 0x2d6e776f, 0x6e65706f, 0x1f5b6711, 0x2dc6830b, 0x6f6c670c, 0x612d6562, 0x63697266, 0x0c860e61, 0x2105144c, 0x0e860a73, 0x6169732b, 0x69726707, + 0x6563616d, 0x21078204, 0x0483086e, 0x09203c83, 0x62240884, 0x0f6d6165, 0x2d260988, 0x61657773, 0x0f840b74, 0x61656825, 0x85737472, 0x7173220b, + 0x20988275, 0x85178411, 0x742d210b, 0x64821e82, 0x2d24b082, 0x72617473, 0x15840a86, 0x74263385, 0x75676e6f, 0x33841265, 0x2d200b85, 0x10203a85, + 0x7723128b, 0x856b6e69, 0x83098389, 0x2d702189, 0x2009ff42, 0x212a820d, 0xfe422d70, 0x5b0e2007, 0xc0830966, 0x0e830720, 0x74657328, 0x6769680b, + 0x36566c68, 0x68072805, 0x742d746f, 0x82056275, 0x6c652407, 0x826f6a05, 0x6b0425b6, 0x09737369, 0x2d200483, 0x0984ed84, 0xd0466d83, 0x6c052605, + 0x68677561, 0x8405840a, 0x850c2020, 0x86ac850a, 0x2c2e8317, 0x67756c0c, 0x65676167, 0x7261632d, 0x09195b74, 0x594a6420, 0x83642009, 0x5b062096, + 0x0530052f, 0x6164656d, 0x656d096c, 0x6c622d68, 0x106b6e61, 0x25080983, 0x6c6c6f72, 0x2d676e69, 0x73657965, 0x6e6f6d08, 0x6e656d75, 0x6f6d0d74, + 0x72617472, 0x7365702d, 0x0c656c74, 0xb3826170, 0x29832d20, 0x08726527, 0x73736170, 0x2a1e8270, 0x6e657009, 0x6e61662d, 0x83077963, 0x696e2309, + 0x484c0c62, 0x75722606, 0x0d72656c, 0x29628270, 0x72612d65, 0x61766972, 0x0d850f6c, 0x70656422, 0x7521a882, 0x48528272, 0x07280a93, 0x2d646173, + 0x08797263, 0x74280783, 0x0b726165, 0x74756873, 0x2d247882, 0x096e6176, 0x4708ab42, 0x62270680, 0x0b6d6165, 0x836c6f73, 0x6120089e, 0x036c656e, + 0x07617073, 0x6f6c7073, 0x09686374, 0x61727073, 0x61632d79, 0x7473056e, 0x0d706d61, 0x2508215a, 0x746c612d, 0xf7577310, 0x82ca8406, 0x73082cf4, + 0x72707275, 0x0a657369, 0x82617773, 0x6f62293e, 0x73076b6f, 0x6d6d6977, 0x0784bf82, 0x2d292482, 0x6c6f6f70, 0x6e69740a, 0x05a94574, 0x6974052c, + 0x05646572, 0x746f6f74, 0x76580e68, 0x822d2007, 0x68632895, 0x6365760d, 0x53726f74, 0x0e20060e, 0x2405f948, 0x6e61682d, 0x20478267, 0x0908480e, + 0x0d338c83, 0x2d726961, 0x73657266, 0x656e6568, 0x70610972, 0x83656c70, 0x61042a17, 0x046d6f74, 0x656e6f62, 0x2e8e830b, 0x6165722d, 0x05726564, + 0x69617262, 0x5b63076e, 0x0b200578, 0x55510783, 0x83092006, 0x7263250b, 0x08687361, 0x73280983, 0x10656469, 0x72616863, 0x2d207283, 0x7427fe82, + 0x0a6e6f69, 0x82726964, 0x25098299, 0x72640c73, 0xd2827761, 0x67796c25, 0x580b6e6f, 0x2d240539, 0x65646f63, 0x79220b82, 0x7f517265, 0x056c5705, + 0x6f637339, 0x6f076570, 0x632d6c69, 0x70046e61, 0x06706f6f, 0x70616873, 0x820c7365, 0x2d722f56, 0x6c2d666f, 0x05656669, 0x74656574, 0x05840a68, + 0x30822d20, 0x740d6e23, 0x05344768, 0x73616d2c, 0x740d736b, 0x66666172, 0x2b826369, 0x74686722, 0x26063349, 0x736e6f6d, 0x49726574, 0x27080633, + 0x6b636970, 0x61027075, 0x6e610464, 0x6205686b, 0x656c6269, 0x7375620d, 0x73656e69, 0x69742d73, 0x6304656d, 0x0e797469, 0x2409324a, 0x72616c6c, + 0x200e860f, 0x06ea4473, 0x72630524, 0xde82736f, 0x6d28fa82, 0x61686361, 0x1261726b, 0x290c4150, 0x7865742d, 0x6f660c74, 0xe682646c, 0x6e696d24, + 0x745c7375, 0x6c702a07, 0x660d7375, 0x656e6e75, 0x084c866c, 0x6f670737, 0x61727570, 0x6168056d, 0x0661736d, 0x6b796168, 0x6a046c61, 0x0e696465, + 0x72756f6a, 0x2d6c616e, 0x6c696877, 0x6b05736c, 0x61626161, 0x61686b06, 0x0861646e, 0x0805826c, 0x72616d37, 0x616d096b, 0x622d6c69, 0x076b6c75, + 0x6f6e656d, 0x06686172, 0x71736f6d, 0x6f026575, 0x61700e6d, 0x66617473, 0x61697261, 0x6d73696e, 0x61657005, 0x70106563, 0x3005826c, 0x2d666f2d, + 0x73726f77, 0x04706968, 0x6c6c6f70, 0x27048306, 0x7004682d, 0x0d796172, 0x69230483, 0x832d676e, 0x05732269, 0x219d8271, 0x41600d6e, 0x05eb4506, + 0x0d860f20, 0x8a596c20, 0x73052606, 0x736b636f, 0x060f4d0f, 0x6f6f7228, 0x6c612d74, 0x7c821174, 0x822d7221, 0x632d28a7, 0x63736572, 0x43746e65, + 0x7a820523, 0x76616430, 0x73096469, 0x67616e79, 0x6575676f, 0xb8837405, 0x05820a20, 0x2d69692e, 0x65746167, 0x68697606, 0x0b617261, 0x2e050e52, + 0x74756d2d, 0x69790865, 0x61792d6e, 0x4a0d676e, 0x2d25060e, 0x6e6f6870, 0x05144a65, 0x65642408, 0x630a6461, 0x67706d61, 0x6e756f72, 0x61630364, + 0x68630574, 0x0a726961, 0x756f6c63, 0x6f6d2d64, 0x85096e6f, 0x75732c0a, 0x6964086e, 0x642d6563, 0x85073032, 0x03362708, 0x06676f64, 0x8c827264, + 0x640e6e37, 0x736d7572, 0x6b636974, 0x7469622d, 0x75640765, 0x6f65676e, 0x0581586e, 0x73634708, 0x69660b76, 0x722d7473, 0x65736961, 0x68670564, + 0x0674736f, 0x6d6d6168, 0x68087265, 0x6b756e61, 0x0a686169, 0x2d746168, 0x617a6977, 0x68066472, 0x6e696b69, 0x69680567, 0x056f7070, 0x73726f68, + 0x6f680c65, 0x7c827375, 0x6d612208, 0x07656761, 0x76797268, 0x0461696e, 0x6b73616d, 0x756f6d08, 0x6961746e, 0x656e0d6e, 0x726f7774, 0x2044826b, + 0x29648272, 0x6574746f, 0x75720772, 0x4a826e6e, 0x6373062d, 0x6c6c6f72, 0x756b7310, 0x822d6c6c, 0x7373380b, 0x656e6f62, 0x70730673, 0x72656469, + 0x696f740c, 0x2d74656c, 0x82706170, 0x72742633, 0x6f746361, 0x05ad4b72, 0x6a6e6923, 0x244e8275, 0x2d72760c, 0x219a8263, 0x04826f62, 0x69770425, + 0x820b646e, 0x4d652004, 0x0e2006ab, 0x28052341, 0x7461656d, 0x6c6c6162, 0x093d410f, 0x6e20f283, 0x82064d41, 0x136e21fd, 0x90521a85, 0x2d732605, + 0x76616568, 0x223d8679, 0x846e7573, 0x6408362d, 0x636f6d65, 0x08746172, 0x67616c66, 0x6173752d, 0x74656d06, 0x82908265, 0x6f73229c, 0x2d73826e, + 0x0968746f, 0x2d6f6f70, 0x726f7473, 0x5783076d, 0x776f6236, 0x7065720a, 0x696c6275, 0x046e6163, 0x676f6d73, 0x6d657410, 0x61213182, 0x25bf8274, + 0x6769682d, 0x108b0f68, 0x776f6c37, 0x746f7608, 0x65792d65, 0x61770561, 0x04726574, 0x79626162, 0x8304830d, 0x69722be9, 0x09656761, 0x686f6962, + 0xf2837a61, 0x6f6c6223, 0x095a6067, 0x79616422, 0x24094655, 0x6b656577, 0x2175820a, 0x38827964, 0x06656e28, 0x72726163, 0x1f82746f, 0x2d687327, + 0x69676572, 0x205c8273, 0x07e96013, 0x240a5d52, 0x6d756408, 0x201c8370, 0x3408870d, 0x7269662d, 0x74650865, 0x6e726568, 0x67057465, 0x73746669, + 0x05c0480c, 0x65686325, 0x63737265, 0x772606ed, 0x6b736968, 0xc9487965, 0x75653106, 0x65706f72, 0x6972670a, 0x696c2d70, 0x1373656e, 0x06480a89, + 0x06260808, 0x74697567, 0x680c7261, 0x74726165, 0x6f72622d, 0x0b6e656b, 0x6c6c6f68, 0x65622d79, 0x0a797272, 0x73726f68, 0x1e822d65, 0x07642808, + 0x63696369, 0x0573656c, 0x6f6c6769, 0x696d066f, 0x6e657474, 0x67756d07, 0x746f682d, 0x64617209, 0x69746169, 0x880d6e6f, 0x612d3709, 0x7208746c, + 0x72747365, 0x096d6f6f, 0x65746173, 0x74696c6c, 0x09880e65, 0x69642d30, 0x73076873, 0x61632d64, 0x73086472, 0x08846d69, 0x6b730722, 0x6e294882, + 0x6b730667, 0x676e6969, 0x3806850d, 0x726f6e2d, 0x06636964, 0x69656c73, 0x73036867, 0x730c736d, 0x62776f6e, 0x823a826f, 0x83072025, 0x616d230c, + 0x0783086e, 0x6f6c7024, 0x9c820577, 0x06656722, 0x2f05c142, 0x6f6f7405, 0x7404736c, 0x086d6172, 0x65726966, 0x052a9983, 0x6f636162, 0x6f620c6e, + 0x7c506b6f, 0x620b3907, 0x64616572, 0x696c732d, 0x63066563, 0x73656568, 0x6c630e65, 0x63696e69, 0xbb452187, 0x340f8707, 0x75726306, 0x03686374, + 0x09676765, 0x626d6168, 0x65677275, 0x05e84f72, 0x64696d26, 0x2d656c64, 0x21058b4a, 0xa6826808, 0x61682d2b, 0x6f680674, 0x676f6474, 0x21618209, + 0x6d82632d, 0x460e6d21, 0x445106c9, 0x70052206, 0x27418261, 0x7065700a, 0x2d726570, 0x0b252c82, 0x7a7a6970, 0x20938561, 0x22c0820d, 0x552d6873, + 0x1120067b, 0xd2830d8c, 0x2905014f, 0x7372756e, 0x61770b65, 0xce476576, 0x83002006, 0xff012600, 0x000200ff, 0x200a8201, 0x2003820c, 0x2603821c, + 0x00020002, 0x82440003, 0x03452213, 0x200b82ed, 0x20138404, 0x2e238400, 0x001e000a, 0x6c01002c, 0x006e7461, 0x82040008, 0x82002019, 0x8201203f, + 0x6c012407, 0x82616769, 0x00002113, 0x1b820d84, 0x15820420, 0x00049a08, 0x8fc83a0e, 0x006ce49a, 0x00b03a01, 0x04380019, 0x107807aa, 0x13141228, + 0x1b5418e4, 0x1f221fa6, 0x20ca1fa8, 0x25a4221a, 0x262026cc, 0x2a142a70, 0x31602b6a, 0x385c3576, 0x3a543932, 0x00863a76, 0x00460022, 0x00c6008e, + 0x012001f4, 0x0174014c, 0x01c0019a, 0x020802e4, 0x0250022c, 0x02940274, 0x02d002b4, 0x030603ec, 0x033a0320, 0x036e0354, 0x039e0386, 0x03cc03b6, + 0x04f803e2, 0x0424040e, 0x044e043a, 0x00d60160, 0x00370023, 0x003c002f, 0x002d0033, 0x0038002b, 0x22118204, 0x84310033, 0x841c2009, 0x00312211, + 0x2007823f, 0x20258231, 0x21a98304, 0x2f843e00, 0x33823a20, 0x3e002f22, 0x38283782, 0xd5013100, 0x3d001b00, 0x33200182, 0x13830382, 0x2d844020, + 0x1d821c20, 0x2f843d20, 0x27853820, 0x43205d84, 0x2f202384, 0x3d247782, 0x16000602, 0x3c244782, 0x41003900, 0x11221b82, 0x2d823600, 0x13000422, + 0x3c202d82, 0x36208f82, 0x22204584, 0x31280d82, 0x3e003200, 0x15000502, 0x1c202da0, 0x30203382, 0x04202b82, 0x14202ba2, 0x38227784, 0x71820702, + 0x59823c20, 0x252a859b, 0xfd003a00, 0x38001200, 0xa5823100, 0xad822f20, 0x3f223d83, 0x0d862c00, 0x0021a588, 0x892582c5, 0x27cb964d, 0x1100d201, + 0x2e003f00, 0x3920db82, 0x2f224b84, 0xf1823d00, 0x0f823c20, 0x3e003a22, 0x38221584, 0x2382fc00, 0xe7866f97, 0x82c70021, 0x206d9723, 0x21df8514, + 0x479aff00, 0xc4202387, 0x6b87479a, 0x0f00fe22, 0x2524ff98, 0xc6003a00, 0x8b971f82, 0x03231f82, 0x820d002a, 0x823c20d9, 0x001623ef, 0xf183003c, + 0x05823220, 0x03823820, 0x74003c22, 0x36201b82, 0x79421d82, 0x001a2605, 0x003d003f, 0x260f823e, 0x02430030, 0x410c0003, 0x3d2008f7, 0x220a2742, + 0x96020226, 0x01182219, 0x221982dd, 0x822e002e, 0x83678337, 0x00132235, 0x220d822b, 0x90dc012e, 0x00122219, 0x22018239, 0x82720035, 0x20838919, + 0x209b8413, 0x2405823e, 0x0001013c, 0x41f98a0b, 0x732009eb, 0x31891782, 0x93201789, 0x09411782, 0x23178809, 0x0a000001, 0x5741478a, 0x82922007, + 0x872d8915, 0x8acd2015, 0x21f58815, 0x418c0301, 0x2007bd41, 0x87418c95, 0x82712015, 0x869d8915, 0x2b032557, 0x3a000900, 0x5d430182, 0x00112805, + 0x013e0036, 0x8a080002, 0x00252497, 0x8294003a, 0x83938911, 0x193a0811, 0x62003400, 0xa6008600, 0xe600c600, 0x1e010201, 0x56013a01, 0x8e017201, + 0xc401aa01, 0xf801de01, 0x2c021202, 0x5c024402, 0x86027202, 0xac029a02, 0xa801be02, 0x2b001600, 0x01823e00, 0x3c002f2a, 0x04004300, 0x32002400, + 0x2f220982, 0x0b822f00, 0x3f002122, 0x3c201d82, 0x3d241d86, 0x11003502, 0x33201b82, 0x30221b82, 0x19822d00, 0x25843d20, 0x05821d20, 0x44002e21, + 0x3624059f, 0x0f001f02, 0x35201984, 0x3e221582, 0x0b822c00, 0x36003622, 0x12204b82, 0x01210985, 0x8b1f84aa, 0x21658c71, 0x1f827f02, 0x39003c22, + 0x2e202d82, 0x3e206386, 0x39229584, 0x51824100, 0x47033c24, 0x95820d00, 0x6f823d20, 0x0f823820, 0x3d003d22, 0x33261d84, 0x2f003700, 0x1b821e02, + 0x11822b20, 0x77922f20, 0x1b84b220, 0x57823620, 0x57823820, 0x2320dd83, 0x36245f84, 0xab012f00, 0x938b1b84, 0x4f821520, 0xf7823a20, 0x85034321, + 0x002c221b, 0x22678243, 0x822b0013, 0x823c20ff, 0x002b267b, 0x032f0031, 0x82378271, 0x3800233f, 0x8b822e00, 0x21823c20, 0x32002022, 0x3820bb82, + 0x83205382, 0x33221b82, 0x43823c00, 0x1d823220, 0x3f882b20, 0xa7823520, 0x0c00c122, 0x44202f82, 0x2f204782, 0x04222182, 0xd1821300, 0x40003c22, + 0xa9203582, 0x8f411982, 0x8218200d, 0x00362473, 0x82200230, 0x00392419, 0x45360041, 0x514108a9, 0x90a72007, 0x82162033, 0x0036244f, 0x84da0336, + 0x00392233, 0x41998235, 0x03230ca5, 0x430b002e, 0x04220653, 0x8b822200, 0xc1852b20, 0x82db0321, 0x863c2017, 0x0004220f, 0x206d8423, 0x2297822d, + 0x820a007d, 0x05c94115, 0x2b281583, 0x32003d00, 0x09007203, 0x14204588, 0x02213585, 0x22138a7e, 0x823a001f, 0x02382415, 0x82080032, 0x823820c5, + 0x00042263, 0x22bf8211, 0x8254022e, 0x00392211, 0x87978242, 0x00c42223, 0x43b58207, 0x9d080847, 0x98004b00, 0xea00c200, 0x3a011201, 0x88016201, + 0xd401ae01, 0x1c02f801, 0x64024002, 0xa8028602, 0xe802c802, 0x28030803, 0x68034803, 0xa4038603, 0xe003c203, 0x1c04fe03, 0x58043a04, 0x92047604, + 0xca04ae04, 0x0205e604, 0x36051c05, 0x6a055005, 0x9e058405, 0xd205b805, 0x0606ec05, 0x3a062006, 0x6c065406, 0x9c068406, 0xcc06b406, 0xfc06e406, + 0x2a071407, 0x56074007, 0x82076c07, 0xae079807, 0xda07c407, 0x0608f007, 0x2e081a08, 0x56084208, 0x7c086a08, 0xa0088e08, 0x14002601, 0xd5823200, + 0x3c004022, 0x3820fb82, 0x4146c182, 0x9c032516, 0x36001300, 0x3f202382, 0x2320f784, 0xc3423582, 0x83002006, 0x821820e5, 0x002b2643, 0x01430040, + 0x9b278228, 0x062d4451, 0x82b30321, 0x00392427, 0x823a0037, 0x07334579, 0x77451120, 0x25012111, 0x1c204f9e, 0x30267982, 0x82023e00, 0x93821200, + 0xa3822b20, 0x2c003522, 0x2b20a782, 0x2e204b82, 0x2420cf82, 0x2b221f82, 0xe5842d00, 0x0b023c22, 0xc5892582, 0xd7848b86, 0xd7842b20, 0x0b821120, + 0x37013e22, 0x3f832582, 0x3e002f22, 0x23234182, 0x44003b00, 0x2f200539, 0x5d450d82, 0x004f2309, 0x25970011, 0x01219586, 0x41238227, 0x25241b0d, + 0x8b013a00, 0x93832382, 0xa9823d20, 0x1320b183, 0x95475582, 0x00332609, 0x01310038, 0x866b9a35, 0x0c0223c5, 0xa1411000, 0x8f59820a, 0x340321d7, + 0x32202182, 0x3120b384, 0x20087743, 0x20e38223, 0x2803822b, 0x00390033, 0x00360138, 0x82d3980f, 0xde032151, 0x39221f82, 0x01823700, 0x97822f20, + 0x89433e20, 0x8e01210f, 0x19833f86, 0x2109cd41, 0xa3860004, 0x829a0321, 0x097f411f, 0x73821d20, 0x45827582, 0x75822220, 0x38003324, 0x1f843802, + 0x3a003322, 0x2a0cc341, 0x00320013, 0x002d002f, 0x8e4a0335, 0x823d207f, 0x225b833b, 0x82360036, 0x033c2441, 0x410e0099, 0x1d200a03, 0xdb833582, + 0x1b822c20, 0x02212182, 0x8f1d8439, 0x001c285d, 0x003d0033, 0x86dd033e, 0x8238201d, 0x8f2d200f, 0x490321d9, 0xf98d1d82, 0x9d20778b, 0x2324778c, + 0x38003f00, 0x0121d589, 0x201d82c4, 0x2097822b, 0x2015822f, 0x208b822e, 0x881b823c, 0xc30121d3, 0x24201d92, 0x37208382, 0x3d22bd82, 0x1d92c201, + 0x1d821d20, 0x63823820, 0xc8023d22, 0x39201d82, 0x2d205582, 0x2f231182, 0x4b003c00, 0x12200537, 0x2305dd44, 0x0d00af03, 0x778bf984, 0x1b822720, + 0x35002f24, 0x1b92c101, 0xa3822020, 0x3d003f24, 0x1b84b203, 0x32003d22, 0x2f20c384, 0x33225582, 0x37473d00, 0x56022105, 0x07411b82, 0x0841450d, + 0x82890021, 0x0ded421b, 0x23082d43, 0x0c002502, 0xe9434f82, 0x821b2007, 0x823320b3, 0x00322457, 0x8c22023e, 0x82122019, 0x247983c9, 0x013a0039, + 0x22198631, 0x4335002d, 0x02210d87, 0x26198cc6, 0x00390014, 0x822c003f, 0x022f22bd, 0x8d198255, 0x241d839f, 0x013d003e, 0x2219826d, 0x4b3c0033, + 0x1e2008e9, 0x3e203582, 0x32220d82, 0x19828502, 0x20058b44, 0x200f822b, 0x206b823e, 0x22858414, 0x82af002d, 0x002b2119, 0x2005b34c, 0x060d412b, + 0x3c003e22, 0xa9203982, 0x40208186, 0x42083945, 0x002106e3, 0x213384a4, 0x75410036, 0x0011260b, 0x003e0036, 0x45b58c8d, 0x03210a69, 0x263392ae, + 0x002b0014, 0x90880043, 0x821c2067, 0x82302059, 0x00e3224d, 0x0aab430b, 0x21086941, 0x1782bb00, 0x23823c20, 0xc3822e20, 0x1320cb83, 0x2e222584, + 0x1782ca02, 0xb9823920, 0x17823520, 0xcb822f20, 0x1f841220, 0x27022f22, 0x32201782, 0x22087d48, 0x823f0021, 0x002f240b, 0x86310338, 0x0004225f, + 0x0b554912, 0x82c90121, 0x0d614117, 0x0221dd84, 0x20478c23, 0x07834512, 0x84170121, 0x822e202f, 0x20498355, 0x284b823c, 0x002d0038, 0x00760332, + 0x0cab430a, 0x31823920, 0x26023822, 0x8d891582, 0x2d822020, 0x38004124, 0x1582e200, 0x41096b45, 0xe0200701, 0x7f41158c, 0x24022106, 0x1b20418c, + 0x3824e582, 0xb0033100, 0x38222b84, 0xbb482e00, 0x00382408, 0x8c9b032f, 0x44222083, 0x00210585, 0x414186a8, 0x252409db, 0x28023a00, 0x2220578c, + 0x3924ad82, 0x86013500, 0x9b831584, 0x04003e24, 0x6d841c00, 0x84012f22, 0x1122158c, 0xfd823c00, 0x85012b26, 0x32000900, 0x3c216382, 0x202b8300, + 0x222b8220, 0x828d012f, 0x203d8713, 0x067f4320, 0x13827720, 0x26092545, 0x003f0023, 0x8cae0038, 0x8312203b, 0x32032145, 0x04223b86, 0x61821300, + 0x3d002b28, 0xcb023200, 0x0b820800, 0x3a003926, 0x11000400, 0x3e224f82, 0x11823303, 0x04226183, 0x71822300, 0x89822e20, 0x1186e120, 0x2605df46, + 0x033a0025, 0x84070030, 0x82338697, 0x2828084f, 0x70004e00, 0xaa008e00, 0xe200c600, 0x1401fc00, 0x42012c01, 0x6c015801, 0x94018001, 0xb801a601, + 0xdc01ca01, 0x1200cc02, 0x31205382, 0x3e200382, 0x36203f82, 0x24207382, 0x2d200782, 0x3922e582, 0x87823100, 0x3a002b22, 0xce229382, 0x0b841000, + 0x3e003022, 0x21087746, 0x71430013, 0x003d2607, 0x007c033d, 0x2221820e, 0x8237003f, 0x222383c3, 0x4235002d, 0x032409a1, 0x000d00b5, 0x3a201b83, + 0x2f201d84, 0x04222982, 0x49821600, 0x2f003c24, 0x1b82d002, 0x1d843c20, 0x3e20df83, 0x2f20dd82, 0x3a20f582, 0x38228582, 0x1b823d02, 0x0d823920, + 0x43003622, 0x16204d82, 0x2b200982, 0x2c208182, 0x2e242382, 0x0c003603, 0x41209384, 0x20201982, 0x23838b82, 0x07823120, 0x90023824, 0x07820b00, + 0x65843920, 0x33821320, 0x3d003922, 0x01213183, 0x2017843a, 0x20458436, 0x2035823c, 0x24f98423, 0x008d0238, 0x2009820a, 0x4c23822d, 0x01210a6f, + 0x20158250, 0x0f5f5039, 0x00910223, 0x225b8809, 0x823a001f, 0x02382233, 0x2113828a, 0x3f850033, 0x1d821620, 0x3c003f24, 0x138c8902, 0x40003322, + 0x8e22e982, 0x678a0800, 0x39004124, 0x118a8c02, 0x1b822320, 0x8b024222, 0x1f26118a, 0x2f003800, 0x118a7803, 0x0b821420, 0x79030624, 0x47880700, + 0x00142608, 0x000e000c, 0x0050001e, 0x00a0007a, 0x01ea00c6, 0x012e010e, 0x0164014a, 0x0192017c, 0x02bc01a8, 0x00180009, 0x05fb4542, 0x2b204f82, + 0xe542fd82, 0x0e934507, 0x2208294f, 0x821400a2, 0x822d2031, 0x002b2329, 0x5b480037, 0x221f8208, 0x823c0024, 0x822b2079, 0x82312047, 0x032f241d, + 0x8212004d, 0x82db820b, 0x0039240d, 0x4b2f003a, 0x2d840941, 0x79842f20, 0x25829c20, 0x93004221, 0x0a41454f, 0x00080223, 0x20a79a11, 0x22618211, + 0x8400023e, 0x4b3a2023, 0x3c200abd, 0x39239182, 0x4b004100, 0x012308a9, 0x900f0054, 0x0a014a93, 0x00db0123, 0x201f900d, 0x24bb841f, 0x000a0238, + 0x2283820c, 0x8432002d, 0x058b4761, 0x01257984, 0x000b0081, 0x20df8443, 0x20718414, 0x2431843a, 0x002c013c, 0x2299820a, 0x82330036, 0x823d200f, + 0x22878305, 0x922d0118, 0x00262415, 0x860900a1, 0x08714743, 0x82380121, 0x843f2013, 0x53042051, 0x58080849, 0x00540029, 0x00aa0082, 0x01f200ce, + 0x01340114, 0x01700152, 0x01a8018c, 0x01e001c4, 0x021602fc, 0x024a0230, 0x027e0264, 0x02b00298, 0x02e002c8, 0x031003f8, 0x03400328, 0x036e0358, + 0x039a0384, 0x03c603b0, 0x04ee03da, 0x04160402, 0x043a0428, 0x025e044c, 0x0016006c, 0x06f14939, 0x41001122, 0x3d20c982, 0x37200f82, 0x1c20d184, + 0x31200982, 0x04200382, 0x3f202382, 0x0223cd83, 0x821300d7, 0x05f14fcb, 0x35821920, 0x1d824020, 0x4907e142, 0x02230a35, 0x881100d8, 0x82202027, + 0x522f20c5, 0x01211195, 0x20238423, 0x2269843c, 0x44420015, 0x3f200841, 0x3d223982, 0x17823200, 0x3f023c24, 0x47881000, 0x210c194e, 0x3d820400, + 0x3e003626, 0x0f006601, 0x20202188, 0xc1838d82, 0x3a003c22, 0x38269784, 0xd9023e00, 0x1f880e00, 0xd7432320, 0x2b002105, 0x3f206b82, 0x01219583, + 0x201d8211, 0x200f8236, 0x204f8231, 0x22738413, 0x8335002d, 0x24038279, 0x002a022e, 0x2047820d, 0x502d8239, 0x0221101f, 0x211b82d2, 0x09410033, + 0x41132005, 0x3c200641, 0x2d244982, 0x50033e00, 0x3f221b82, 0x01823800, 0x21822f20, 0x41000421, 0xd3200b19, 0xa54c378a, 0x497f200f, 0x3e20069d, + 0x12208d82, 0x35224b84, 0x07824100, 0x2e003c26, 0x0c006801, 0x1120c788, 0x2d20bb82, 0x3326ad82, 0x2f004000, 0x198ad602, 0x210c9341, 0x198a3e02, + 0x200d3d41, 0x23198285, 0x003d002b, 0x16206983, 0x3c20bd82, 0x03216787, 0x2219824e, 0x50360039, 0x914a0829, 0x846c2009, 0x82382019, 0x00032133, + 0x230c2942, 0x0b007f03, 0x4d859b82, 0x26056947, 0x002f003d, 0x82d1022e, 0x822f2017, 0x823e20bf, 0x05db45ab, 0x59821120, 0xda023e22, 0x3b412f84, + 0x0acd4c05, 0x824f0321, 0x207b8b17, 0x05354720, 0x8ad50221, 0x0019242f, 0x843a0037, 0x003e22b1, 0x201784f8, 0x205d8231, 0x246f823e, 0x0004003c, + 0x2207821a, 0x8ead003e, 0x07c54347, 0x478ad420, 0x42001522, 0x02244787, 0x000a00e0, 0x20053b56, 0x09a74438, 0x82670121, 0x41332015, 0x758306e1, + 0x31002b26, 0x6a012f00, 0x2620158a, 0x2e20f582, 0x39227182, 0x158a6501, 0x2d205983, 0x36221582, 0x158a6901, 0x2308a555, 0x09006b01, 0x2008c941, + 0x82c98213, 0x64012141, 0x2720138a, 0x2e22dd84, 0x13844002, 0xa5413c20, 0x82112006, 0x022e2233, 0x501384dc, 0x142005df, 0x3326b382, 0xd8033a00, + 0x1b820800, 0x71823c20, 0x13430420, 0x7e032105, 0x5f411184, 0x82132005, 0x0140223f, 0x26118a63, 0x002e0020, 0x8a400130, 0x82112011, 0x033e22e5, + 0x4311829f, 0x2520070b, 0x2b223582, 0x61821d00, 0x00643a08, 0x00b0008a, 0x01f800d4, 0x013a011a, 0x0178015a, 0x01b20196, 0x02ea01ce, 0x021e0204, + 0x02520238, 0x0282026a, 0x02b0029a, 0x02dc02c6, 0x030603f2, 0x032e031a, 0x00bc0340, 0x499f8513, 0x5382093b, 0x26000422, 0x3c22a782, 0x87533e00, + 0x00f02208, 0x20278412, 0x20278238, 0x24f98224, 0x00310038, 0x22cb843f, 0x823b0023, 0x00332609, 0x023e0038, 0x42258498, 0x4942054b, 0x45242005, + 0x0422068b, 0x27841500, 0x36002b24, 0xff84e102, 0x3d002b22, 0x1d226984, 0x59822b00, 0x20059748, 0x845d8233, 0xec0221e5, 0x3c202382, 0x6f837d82, + 0x4f50618a, 0x003c2608, 0x00f1023d, 0x20939610, 0x24398427, 0x00f30235, 0x20dd880f, 0x83b58218, 0x84442051, 0x823e20bd, 0x02362275, 0x831f86e9, + 0x82122065, 0x002b22cd, 0x22618237, 0x84410023, 0x023e260b, 0x000e00e3, 0x202f8236, 0x20e9842c, 0x0c3b5911, 0x56013d22, 0x3c201d82, 0x2e204782, + 0x6547ff82, 0x8213200b, 0x023a2413, 0x880d00f4, 0x0e4d417b, 0x82b90321, 0x8236201b, 0x05014125, 0x32002722, 0x3d22af82, 0x65823500, 0x45004322, + 0x1d411b8c, 0xba03230c, 0x8f8a0c00, 0x77821520, 0x39003c28, 0x2f003a00, 0x19829702, 0xb5853c20, 0x3c200582, 0x7941c582, 0xe2022106, 0x1122338c, + 0x95843000, 0x2b002d24, 0x1984b803, 0x20078741, 0x20858213, 0x243b842f, 0x00ea023d, 0x0859410b, 0x55841820, 0x3e003c26, 0xef023d00, 0x0542178a, + 0xeb02210a, 0xad41178a, 0xe402230a, 0x3f410a00, 0x823d200c, 0x022b22e7, 0x411582ee, 0x242007db, 0x3d225d86, 0x158aed02, 0x6d822320, 0x81822b20, + 0xbb033d22, 0x3a201586, 0x230b9f42, 0x0900f202, 0xeb419f88, 0x8ae82007, 0x06cb4113, 0x822b0221, 0x82392013, 0x56302081, 0x02230931, 0x880800e7, + 0x8211203b, 0x023e221b, 0x22118295, 0x823d002b, 0x00203c23, 0x0037003f, 0x001f003a, 0x00660040, 0x00ae008c, 0x01f000d0, 0x01300110, 0x476e0150, + 0x962214c3, 0x5143ae02, 0x03082e06, 0x0334031e, 0x035a0348, 0x00e2036c, 0x08e34812, 0xf3821d20, 0x2e002e22, 0x2006a144, 0x220d8216, 0x82310038, + 0x023c22f5, 0x21258a5b, 0x51450018, 0x00332205, 0x211d8238, 0x75410004, 0x5c022308, 0x4b881000, 0x2520258f, 0x2e22b582, 0x218ac000, 0x51472020, + 0x4ecd8207, 0x01230891, 0x820f00b3, 0x823f2017, 0x823120f7, 0x07f14187, 0x22076541, 0x82c3003e, 0x822b201f, 0x822e2079, 0x20418b35, 0x20358214, + 0x20178241, 0x281f96c1, 0x002f001c, 0x023e0030, 0x225f8442, 0x4c3a003d, 0x23260a87, 0x37004300, 0x41822c00, 0xf5023624, 0x29820e00, 0x2e002b22, + 0x32202182, 0x38201182, 0xf1490d82, 0x82b42009, 0x0039211d, 0x18209d8f, 0x3626f582, 0xb5013000, 0xbb920d00, 0xad841520, 0x1b82c220, 0x2524b793, + 0x5e023a00, 0x69831b88, 0x71821820, 0x9f843620, 0x31003824, 0x1b88b901, 0x23000424, 0xb5822d00, 0x3d003d2c, 0x3c003900, 0x41023d00, 0x09820c00, + 0x1126cb8d, 0x3e003600, 0x1982bc01, 0x2f246d91, 0x87033c00, 0xc1831982, 0x2005c158, 0x20b98214, 0x24038237, 0x022f0031, 0x41338a5a, 0x03210cbd, + 0x201982be, 0x4e25822f, 0x1222058b, 0x75823c00, 0xa5823520, 0x2c023824, 0x0b820b00, 0x44002d21, 0x0424050f, 0x3f002000, 0x3522a382, 0x1782ba01, + 0x1c207f87, 0x4420b382, 0x2e223d84, 0x174dbf03, 0x00432408, 0x82120004, 0x823c2043, 0x0143224d, 0x08714fbb, 0x3a20e583, 0x03215385, 0x841582c0, + 0x422782e9, 0x2e220767, 0x2b848303, 0x3f823e20, 0x59892720, 0x8abd0121, 0x82202041, 0x822b202f, 0x012f2287, 0x22158cb8, 0x823a002b, 0x013c2419, + 0x420900b7, 0x222008a7, 0x00236b85, 0x520800fa, 0x03210d37, 0x201182e3, 0x209d822b, 0x2017822e, 0x242f8218, 0x00f8023e, 0x832d8207, 0x82242079, + 0x002c30e7, 0x000e0006, 0x003e0026, 0x00640052, 0x82430276, 0x822e20db, 0x8513202b, 0x08e34ceb, 0x17828f20, 0x30003822, 0x04203982, 0x210b3f5e, + 0x8582e503, 0x2005c94d, 0x20658213, 0x2235822f, 0x84ad0137, 0x82132085, 0x003c225d, 0x2231823d, 0x82df013c, 0x20558311, 0x261f8212, 0x0031002e, + 0x82e0012f, 0x24678b85, 0x03040001, 0x08974255, 0x27823820, 0x7b823620, 0x2205a945, 0x82360036, 0x82032047, 0x00282643, 0x00fd023c, 0x063f420f, + 0x27000422, 0x38220982, 0xdb843500, 0x2106db41, 0x9182fc02, 0x2f823320, 0x15823d20, 0x20079744, 0x2013849b, 0x222d8241, 0x82120004, 0x003c2805, + 0x0017002e, 0x4c5a0030, 0x26080637, 0x010c01ee, 0x0148012a, 0x017c0162, 0x01ae0196, 0x01dc01c6, 0x020802f2, 0x0230021c, 0x02580244, 0x017a026a, + 0x821400fe, 0x823820cb, 0x000422bd, 0x12275f11, 0x2209fd43, 0x9c1300fd, 0x06c54329, 0x9efc0121, 0x060d4427, 0x82ff0121, 0x0039216f, 0x25267999, + 0x9d023a00, 0xd1520f00, 0x12034808, 0x00e60329, 0x002b000e, 0x823e003a, 0x553a2099, 0x02230feb, 0x820e000e, 0x8240203d, 0x82362003, 0x4c77861b, + 0x1520084b, 0x39221d82, 0xd94e2d00, 0x0801410c, 0x00000323, 0x2419820c, 0x0031003f, 0x087b4232, 0xad823320, 0x02033e22, 0x17831982, 0xdf603120, + 0x82132008, 0x003c2409, 0x820f023e, 0x002f2119, 0xbf826f87, 0x2208bb51, 0x820b0038, 0x82432023, 0x823c2089, 0x00172213, 0x24af823c, 0x033a003f, + 0x89178437, 0x821320bf, 0x002e2617, 0x0001032f, 0x427d8a0a, 0x0121060f, 0x221582d9, 0x82410039, 0x00262441, 0x823d0033, 0x00392403, 0x8cff0238, + 0x071b422b, 0x09009c22, 0x210f3941, 0x13826c01, 0x30003322, 0x04221782, 0x3d822200, 0x31003824, 0x13845201, 0x6d823c20, 0x23000422, 0x31201382, + 0x10205182, 0x39241382, 0x35002d00, 0x1f226982, 0x2f823a00, 0x5d003824, 0x73840800, 0x26051158, 0x003e0036, 0x880700d8, 0x00252411, 0x8ad90036, + 0x821f200f, 0x821c200f, 0x46642039, 0x2e2c0afd, 0x6a014c01, 0xa4018801, 0xdc01c001, 0x340af75d, 0x028a0274, 0x02b602a0, 0x02e002cc, 0x030803f4, + 0x009f0218, 0x24598214, 0x003c002d, 0x0ae94539, 0x11000422, 0xc9595582, 0x05f54805, 0xa1023222, 0x21066b42, 0xb344002f, 0x82332005, 0x05614321, + 0x40002b22, 0x220a234b, 0x82100008, 0x0507570d, 0x23843920, 0x38003324, 0xdf823100, 0x39821520, 0x3d002f24, 0x21822101, 0xf3823320, 0xa34f738f, + 0xa3022308, 0x8f820f00, 0x47823820, 0x2005755d, 0x41098232, 0x97840523, 0x8ca00221, 0x0012211f, 0x02238b8e, 0x8a0e0014, 0x851f893f, 0x8212203d, + 0x857f931d, 0x4211201d, 0x042806e7, 0x2b001d00, 0x35003c00, 0x84064942, 0x0403211d, 0x2e201d92, 0x2208e742, 0x820d00ac, 0x003f2177, 0x47055546, + 0x2f240997, 0x9e013c00, 0x4f831b82, 0x2d823d20, 0x3e002322, 0x39205982, 0x04245b84, 0x9d011800, 0x26221b98, 0x1b820a03, 0x2d823920, 0x8d843e20, + 0x20000422, 0x3d208f82, 0x36263f82, 0x30012f00, 0xfb820c00, 0x83003821, 0x00042171, 0x210a7351, 0x198c8b00, 0x25821320, 0x2d003c2a, 0x2f003600, + 0x0b00a202, 0x21135b41, 0x17829c01, 0x01219f92, 0x58178a9a, 0x13220b35, 0x47820a00, 0x59822c20, 0x20050f4d, 0x225d8211, 0x84df003e, 0x07b94115, + 0x21067941, 0x15820303, 0x44002b21, 0x53410535, 0x002e2207, 0x2415927a, 0x0059033c, 0x20e98209, 0x224d8233, 0x82120004, 0x003624d9, 0x84c70135, + 0x433f8313, 0x00230637, 0x8207033d, 0x002f2313, 0x25830032, 0x31823620, 0x35003826, 0x0700c403, 0x31203182, 0x18201382, 0x3e229b82, 0x0f82c601, + 0x20207785, 0x3832a782, 0x08000300, 0x40002400, 0x0d008b03, 0x3e002f00, 0x25824100, 0x35003c22, 0x27202f82, 0x3c201f82, 0x2e221382, 0x1b824402, + 0x1b823920, 0x3d002f22, 0x2010e544, 0x837382a4, 0x0a1b4d1b, 0x262e5384, 0xaf014000, 0x2c000e00, 0x2f003400, 0x3d822d00, 0x25000428, 0x31003800, + 0x61823c00, 0x3a003f26, 0x0c00ae01, 0x97441d8c, 0x823a2009, 0x20ed85a3, 0x08c58413, 0x46002247, 0x9e007600, 0xe000c000, 0x1c010001, 0x54013801, + 0x88016e01, 0xbc01a201, 0xf001d601, 0x24020a02, 0x54023c02, 0x84026c02, 0xb4029c02, 0xe202cc02, 0x0e03f802, 0x3a032403, 0x62034e03, 0x86037603, + 0x48029603, 0x52618300, 0xd382121d, 0x93821220, 0x41423e20, 0x08bd4d05, 0x47004721, 0xe364057d, 0x00042111, 0x03252f8a, 0x0010005f, 0x47a78236, + 0x1f2205b1, 0x41823000, 0x4f822720, 0x3d003c2c, 0x33003200, 0x11033a00, 0x21840f00, 0x65003821, 0x2f220583, 0x2f823a00, 0x6f823c20, 0x3c003f26, + 0xa8022f00, 0x3c201f82, 0x29413182, 0x82142009, 0x002b2237, 0x241d8231, 0x0237002b, 0x060b435f, 0x2d002b22, 0x3f205182, 0x47833782, 0x31821220, + 0x10034222, 0x8506694d, 0x8211205b, 0x823c2031, 0x8240203b, 0x0336225f, 0x201b8263, 0x2009823c, 0x20118243, 0x224d8238, 0x82180004, 0x0038280d, + 0x023d002e, 0x820c0060, 0x6339208d, 0x45460853, 0x003c2405, 0x840f0343, 0x82382019, 0x0583416b, 0x3f002222, 0x2f24bd82, 0x0b033c00, 0x2b201982, + 0x3e204b84, 0x2220e382, 0x36207f82, 0xa1201986, 0xf1833384, 0x38003922, 0x12201b82, 0x39201b82, 0x3222a782, 0x1982d301, 0x5d433220, 0x00042206, + 0x26338426, 0x0037003f, 0x46ca012f, 0x194406e3, 0x0a8f4305, 0x821f0121, 0x003f2219, 0x43018244, 0x20200547, 0x2f207382, 0x2f228f82, 0x4d8cb900, + 0x230add43, 0x0b008201, 0x3320db82, 0x9b837d82, 0x3c001222, 0x3d24b582, 0x6e013200, 0x3a201784, 0x2006b144, 0x07874120, 0x822f0121, 0x82362017, + 0x054d4531, 0x2f823320, 0x1b822d20, 0xe9032f22, 0x33201782, 0x2b207b84, 0xed61c782, 0xfb002108, 0x55442f84, 0x15022110, 0xdf891782, 0x2108af45, + 0x2f8a8a00, 0x3222db8b, 0x8b820a00, 0x20091150, 0x2279822b, 0x84e8032f, 0x003a2115, 0x1826a787, 0x3e003900, 0x15826102, 0x31003322, 0x5f460182, + 0x822b2005, 0x013522dd, 0x412b84f9, 0x1120099f, 0x3e22b782, 0x15823901, 0xf3823920, 0x2e003822, 0x3320b784, 0x38243582, 0x0900a203, 0x39204982, + 0x3e201184, 0x3c240982, 0x0d033700, 0x2f201382, 0x04224982, 0xff821600, 0x43224783, 0x27845300, 0x99824120, 0x2b823c20, 0x30001f28, 0xfb013000, + 0xa9860700, 0x03216184, 0x280f880e, 0x0033001e, 0x0061032c, 0x20518206, 0x237d8236, 0x00180004, 0x2405494a, 0x008e0040, 0x2185820f, 0x0967002f, + 0x050d4205, 0x0922ff8b, 0x1f820b00, 0x48054d44, 0x31260507, 0x3e003200, 0xbf820801, 0x4f823f20, 0x73823e20, 0x1c000422, 0x302c0582, 0x09003e00, + 0x36001400, 0x72005400, 0xa42a5782, 0xd000ba00, 0xad02e400, 0x91421000, 0x06d54407, 0x8f823c20, 0x220b1151, 0x8a0e00ae, 0x0eb75021, 0x8cac0221, + 0x8213201d, 0x00372273, 0x2041822c, 0x28738238, 0x00c6032e, 0x002b000d, 0x510f822e, 0x11200b0d, 0x3e228582, 0xa3843d01, 0x0b822c20, 0x63412f20, + 0x3b012109, 0x3a201584, 0x158b3d82, 0x15822e20, 0x46003d21, 0xf96105d9, 0x14012108, 0x2f22d182, 0x41823a00, 0x41824320, 0x07821120, 0xf6013624, + 0x3b820800, 0x87822e20, 0x63480420, 0x82382006, 0x829620ef, 0xdc6a08ed, 0x2001fe00, 0x62014201, 0xa2018201, 0xe201c201, 0x1e020002, 0x56023a02, + 0x8e027202, 0xc602aa02, 0xfe02e202, 0x36031a03, 0x6c035203, 0xa0038603, 0xd403ba03, 0x0604ee03, 0x36041e04, 0x66044e04, 0x96047e04, 0xc604ae04, + 0xf604de04, 0x22050c05, 0x4c053805, 0x74056005, 0x9c058805, 0xc205b005, 0xe605d405, 0x0606f605, 0x79826903, 0xf7823e20, 0x95843c20, 0x2e003822, + 0xfd440782, 0x002f2609, 0x013e0038, 0x24238245, 0x003c0039, 0x241b823e, 0x003f001e, 0x24b58237, 0x0033003c, 0x200f822d, 0x26bd8214, 0x03380041, + 0x8210001e, 0x82332019, 0x090b6723, 0x20072744, 0x22458233, 0x62740131, 0x2f20083d, 0x2008074d, 0x0ba74704, 0x82900321, 0x82352021, 0x05594245, + 0x39228583, 0x01823d00, 0x45442c20, 0x013d2206, 0x20218243, 0x20898639, 0x42878211, 0x978305f7, 0x66228787, 0x9d820f00, 0x23822b20, 0x32002d22, + 0x1c206782, 0x91833b82, 0xaf823e20, 0x38003924, 0x1f824601, 0x2524cb97, 0x68033a00, 0xaf631f82, 0x8239200d, 0x087d4a41, 0x82cd0121, 0x8232201f, + 0x003a2211, 0x0c7b663a, 0x35003d22, 0x3e227782, 0x5f8a4101, 0x36001122, 0x32222582, 0x27412b00, 0x00c9220a, 0x200f820e, 0x202b823e, 0x211d8236, + 0xf5420033, 0x82142005, 0x003d244b, 0x82440132, 0x83df951d, 0x00ce229b, 0x2065820d, 0x20778833, 0x2287821e, 0x822e003c, 0x032d220f, 0x201b8265, + 0x2159822f, 0xf785003c, 0x210a0d58, 0x1b825301, 0xa7463a20, 0x00232408, 0x823f0032, 0x823e2077, 0x032f227f, 0x201b8222, 0x22418241, 0x88370037, + 0x82202057, 0x00392457, 0x826a0336, 0x071b421b, 0x2005dd46, 0x20458214, 0x22278240, 0x8a1d032e, 0x8218201b, 0x00362215, 0x07d54130, 0x824a0221, + 0x8232201b, 0x0b234125, 0x23821620, 0x3e003d24, 0x1b824201, 0x1f41e189, 0x00252409, 0x82d8013a, 0x17cd6d1b, 0x5384ab20, 0x8b003921, 0x05b94653, + 0x7e003e22, 0x2f208b84, 0x04211b82, 0x0fd15800, 0x0c003322, 0x2b22ef82, 0xed553c00, 0x210d840a, 0x19823d03, 0x1c20dd8d, 0x3020b382, 0x86202782, + 0x4f851984, 0x210cb758, 0x1982f401, 0x1f23a187, 0x42003f00, 0xcc200917, 0x9f8d6784, 0x31228b83, 0x29515200, 0x05994108, 0x65821d20, 0x3b823820, + 0xf5013d24, 0x0b820b00, 0x38003123, 0x05ab6e00, 0x05440420, 0x46032005, 0xa3410559, 0x261d8208, 0x002b0026, 0x82b30238, 0x0037242f, 0x42350039, + 0x38220c79, 0x8946b102, 0x822f2006, 0x82202029, 0x823320e9, 0x003e2451, 0x82cb013d, 0x823e2017, 0x673a202f, 0x01210d97, 0x221784b0, 0x822d0033, + 0x82432049, 0x821e201b, 0x003e2423, 0x8492012f, 0x003c2217, 0x8301822f, 0x822620d9, 0x002f2467, 0x848c0141, 0x822f205f, 0x002f222d, 0x09ff4436, + 0x82180321, 0x82392017, 0x822b2011, 0x00042273, 0x82a38320, 0x02362239, 0x4317822e, 0x16200b43, 0x3620ed82, 0x51202782, 0x2006a959, 0x2079823c, + 0x20ab8432, 0x26198236, 0x0017033d, 0x4b37000a, 0x1220083b, 0x2b244382, 0x66023700, 0x2720158c, 0x3522f384, 0x15821802, 0x0b823220, 0x4f822f20, + 0x25086b4c, 0x09001b03, 0x85823a00, 0x2209596a, 0x82e60038, 0x07694213, 0x21061d44, 0x1382b300, 0xa7823e20, 0x7d823c20, 0x2106b542, 0x1384b502, + 0x97442983, 0x73012108, 0x32201382, 0x13892784, 0x13827220, 0x79823620, 0x9f822e20, 0x3d003c22, 0x03234183, 0x82080014, 0x09276825, 0xf2013c22, + 0x43241182, 0x2d003800, 0x11201f82, 0x3e22a382, 0x1182cb03, 0xdf823320, 0x13000422, 0x2e225184, 0xad51ca03, 0x1303210d, 0x3f680f82, 0x82132005, + 0x004322c3, 0x870f82e7, 0x254e08b9, 0x22003a00, 0x7c004600, 0xc800a400, 0x0e01ec00, 0x52013001, 0x92017201, 0xcc01b001, 0x0402e801, 0x3c022002, + 0x70025602, 0xa4028a02, 0xd602be02, 0x0403ee02, 0x30031a03, 0x5c034603, 0x88037203, 0xb0039c03, 0xd603c403, 0x1a00e201, 0xbb843200, 0x39003722, + 0x2f228f82, 0x6b573e00, 0x05f5410a, 0x6c000421, 0x00230c7f, 0x82e4013d, 0x8c3595b5, 0xeb032329, 0xbb821100, 0x65002b21, 0x3d2009f5, 0x55415f82, + 0x82e5200d, 0x6c4b9523, 0x01230861, 0x961000e3, 0x06af41a5, 0x82a60321, 0x822f2021, 0x843a20bf, 0x822b20bd, 0x823f2065, 0x002f2c79, 0x00180004, + 0x00310033, 0x98e10132, 0x00162a43, 0x0036003f, 0x00a70336, 0x213d820f, 0x43910037, 0x39001c26, 0x98014100, 0x3c241f82, 0x38002b00, 0x3120cf82, + 0x38202982, 0x2008a95c, 0x243f8211, 0x001a023e, 0x201d820e, 0x41a9822d, 0x1d840d49, 0x00410323, 0x2291820d, 0x8230002b, 0x05254701, 0x99851c20, + 0x033e0023, 0x201b8240, 0x0ce95832, 0x49821d20, 0x35003d26, 0x68023d00, 0x3f213784, 0x05dd4f00, 0x2b208983, 0x33207782, 0x31228582, 0x1b84ea03, + 0x21145f41, 0x378c4203, 0xc1821d20, 0x3e20b783, 0x3c246582, 0x0c002f02, 0x2c205f82, 0x2f24b582, 0x24000400, 0x3820cb84, 0x3d228d82, 0x19829303, + 0x09823920, 0xed433620, 0x82202006, 0x843a2027, 0x82692033, 0x003c2119, 0x4f838787, 0x27824020, 0x31003824, 0x198c4303, 0x15822020, 0xb9822d20, + 0x3a003f24, 0x19828c00, 0x37003326, 0x3d002f00, 0x260e6d44, 0x000b0048, 0x823f0032, 0x842c201b, 0x4814201b, 0x00210531, 0x2417826f, 0x0042002f, + 0x202f823e, 0x22378218, 0x82310033, 0x033e2427, 0x4c0a0023, 0x554b0869, 0x6d032108, 0x39221582, 0x19823c00, 0x2f823320, 0xab821720, 0x2f003e24, + 0x15848701, 0xe5723120, 0x001f2608, 0x02300030, 0x8341841b, 0x842f2099, 0x0595415d, 0x15823f20, 0xeb842f20, 0x41823220, 0x20075f52, 0x85158470, + 0x82272085, 0x822e205d, 0x02322231, 0x23158219, 0x002c002b, 0x84071b41, 0xf1012341, 0xe3420900, 0x2013850a, 0x20138288, 0x207f8239, 0x262b8431, + 0x001f0004, 0x82470138, 0x26f18b13, 0x003a0025, 0x4808004c, 0x2b20068f, 0x31204382, 0x4e228782, 0x11860700, 0x3d003322, 0x1d207582, 0x22081782, + 0x007c005e, 0x00b8009a, 0x01f000d4, 0x0124010a, 0x0154013c, 0x0182016c, 0x01ae0198, 0x01da01c4, 0x550602f0, 0x6c300845, 0x90027e02, 0xb402a202, + 0xd001c602, 0x38001000, 0x4020bd82, 0x3c205782, 0x67634d82, 0x00112205, 0x2001822d, 0x240f822f, 0x006e023d, 0x2107820e, 0xe749002f, 0x226f8305, + 0x8239003c, 0x002b2633, 0x023e003f, 0x201d8c6d, 0x218d8236, 0x7b410004, 0x82262009, 0x0037221d, 0x203b822c, 0x22e5822f, 0x562b0036, 0x2d28080b, + 0xee013200, 0x3e000d00, 0x38207782, 0x374e5f82, 0x82232005, 0x003921ef, 0x02215d82, 0x201b8274, 0x0a7d543d, 0x2e002b22, 0x2b206f82, 0x03232f83, + 0x880c0095, 0x82192091, 0x82342089, 0x823c2019, 0x022e222b, 0x20198a73, 0x20758216, 0x265d8433, 0x013d002e, 0x880b00de, 0x0a5b4c33, 0x8a780221, + 0x00232117, 0x21081f46, 0x178c9001, 0x2d002f22, 0x2f204d82, 0x7722ef82, 0x47880a00, 0x33001e22, 0x2b227d84, 0x158a7602, 0x2108a547, 0x158a7902, + 0x20091341, 0x20418cec, 0x2457823f, 0x022f003d, 0x24158a70, 0x00360013, 0x22718239, 0x8aa30135, 0x82242015, 0x8237206d, 0x023d22cf, 0x202b8c6f, + 0x24138232, 0x0135002d, 0x2015822a, 0x53398738, 0xa222084b, 0xaf880900, 0x1d822020, 0x3d003f24, 0x138a7202, 0x2e001522, 0x3e225782, 0x13887c02, + 0x24058543, 0x02310039, 0x22138875, 0x851c0004, 0x1c022391, 0x4f880800, 0x2005c742, 0x201182f0, 0x20458238, 0x08c54939, 0x238a7a20, 0x2b002422, + 0x71204982, 0x1320118a, 0x31224982, 0x238c7b02, 0xc3823320, 0x0700f022, 0x1d205988, 0x0b3a4f82, 0x38001800, 0x6e005400, 0xa0008800, 0xd000b800, + 0xfc00e600, 0x30021001, 0x45500f00, 0x72432008, 0x032311a1, 0x820d0027, 0x462d204d, 0x04200643, 0x240c274c, 0x000c0096, 0x47a7823c, 0x3d82064f, + 0x9f823920, 0x2e003c24, 0x19829901, 0x6f822f20, 0x69443f20, 0x823f2008, 0x0036261d, 0x006f032f, 0x0981500b, 0x1d223b82, 0x5b823f00, 0x6a022f22, + 0x33201782, 0x2f20a782, 0x65831d82, 0x49823620, 0x32003d24, 0x2f8e6200, 0x2306b544, 0x0a009b01, 0x38209782, 0x11533d82, 0x822b2005, 0x003d2289, + 0x22158261, 0x82360039, 0x82372015, 0x0004241d, 0x8230001f, 0x00632201, 0x26738c09, 0x033a0025, 0x4e0800a8, 0x292008eb, 0x2b202b82, 0x16203982, + 0x56343982, 0x92007400, 0xca00b000, 0xfa00e200, 0xea011001, 0x33000f00, 0x2e20c982, 0x41202d82, 0x0d83af84, 0x37003322, 0x44241582, 0xe9012f00, + 0x2b221f90, 0x1b824200, 0xeb221f87, 0x3f8c0e00, 0x6b822220, 0x21089147, 0x1d862903, 0x59822f20, 0x7d821720, 0x4e002b21, 0x112005b1, 0x3e220b82, + 0x1d822803, 0xb1462f20, 0x22218207, 0x822b0018, 0x84312089, 0x0231244f, 0x8c0c001d, 0x08e36859, 0x00ed0323, 0x2029820b, 0x10694b40, 0x17829820, + 0x6d83bd83, 0xcf821220, 0x3e003e28, 0x2f003600, 0xfb826b02, 0x85881787, 0x003e0123, 0x20238208, 0x20778238, 0x28838423, 0x00010038, 0x00530204, + 0x20118205, 0x285f8222, 0x00020043, 0x03180006, 0x83278270, 0x0004223d, 0x219f8529, 0x11823c01, 0x157a2f20, 0x8202200c, 0x8211203b, 0x009b081f, + 0xc8540100, 0x38001900, 0x840a8005, 0x7a192c16, 0x7021ea1b, 0xd62a8c25, 0x382cfc2b, 0xf42fd02c, 0x3c35c234, 0x463bb435, 0x243ee43b, 0xec4d0848, + 0xd6526e51, 0x9e548e54, 0x62003000, 0xe200aa00, 0x3c011001, 0x90016801, 0xdc01b601, 0x24020002, 0x6c024802, 0xb0029002, 0xec02d002, 0x22030803, + 0x56033c03, 0x8a037003, 0xba03a203, 0xe803d203, 0x1404fe03, 0x40042a04, 0x6a045604, 0x92047e04, 0xb604a404, 0xd804c804, 0xf604e804, 0x10050405, + 0x28051c05, 0x3c053205, 0x7a014205, 0x3d2013d5, 0x2008174c, 0x20db8536, 0x09d57a00, 0xd57af383, 0x82362029, 0x0fd57a49, 0x7a003d21, 0x2b2119d5, + 0x05fd4500, 0xd57a2d20, 0x7a3c200c, 0x2d9516d5, 0xd57a3620, 0x422b9514, 0xd57a05df, 0x202b950f, 0x10d57a3f, 0x3f203d83, 0x8808d57a, 0x0ed57aa5, + 0xd57acb96, 0x822e200e, 0x11f155b5, 0x1100fc23, 0x09d57a00, 0xe7866f8d, 0xd57a0020, 0x866d8d0d, 0x7a0020df, 0x478d0dd5, 0xd57a2387, 0x87478d0d, + 0x00fe226b, 0x208f980f, 0x10d57a3f, 0x1f82438d, 0xd57a0320, 0x7a302009, 0x34201ed5, 0x411cd57a, 0x402007a1, 0x8710d57a, 0x7a322019, 0x2d2012d5, + 0x2018d57a, 0x14d57a2c, 0xd57a2d20, 0x09eb4118, 0x0b007324, 0x2f433600, 0x7a178908, 0x17880dd5, 0x410ed57a, 0xd57a0757, 0x7a15870d, 0xdb840fd5, + 0x410ed57a, 0xd57a07bd, 0x7a15870d, 0x57860dd5, 0x840ed57a, 0x31022355, 0xc7820900, 0x3c222183, 0xcf823100, 0x3d002f24, 0x1382f600, 0x2c003724, + 0x19823f00, 0x38002b27, 0x2f002d00, 0x0dfd7a01, 0x7a003f21, 0x11830ffd, 0x08009b22, 0x25443d82, 0x82332005, 0x02352609, 0x000700bd, 0x283f823c, + 0x00410032, 0x0143002b, 0x220f884d, 0x82400033, 0x00292255, 0x225f8406, 0x82390032, 0x827b2027, 0x002e210d, 0x25060142, 0x0500be02, 0x81843e00, + 0xbf023d22, 0x41830b82, 0x2e003c24, 0x0b82bc02, 0xab823820, 0x43003c26, 0x04002c03, 0x39242382, 0x45033700, 0x382c0982, 0x32003500, 0x02004403, + 0x80012e00, 0x83080582, 0x003f003e, 0x00ae0080, 0x01f200d2, 0x01320112, 0x016a014e, 0x01a20186, 0x01da01be, 0x021002f6, 0x0244022a, 0x0278025e, + 0x02a80290, 0x02d402be, 0x03fc02e8, 0x03240310, 0x034a0338, 0x036e035c, 0x03920380, 0x03b603a4, 0x03d603c6, 0x04f603e6, 0x04120406, 0x042a041e, + 0x04420436, 0x045a044e, 0x046e0464, 0x04820478, 0x0496048c, 0x04aa04a0, 0x04be04b4, 0x04d204c8, 0x04e404dc, 0x04f404ec, 0x00a801fc, 0x200fdb7b, + 0x0adb7b3e, 0xdb7b3b20, 0x7b372024, 0x2c2624db, 0x36002b00, 0xdb7b3600, 0x7b658c12, 0x3e2116db, 0x1bdb7b00, 0x7b003e21, 0x778719db, 0x2011db7b, + 0x1adb7b3d, 0x37002f24, 0xdb7b3a00, 0x822d2010, 0x003c21c3, 0x201bdb7b, 0x1cdb7b3a, 0x35203f83, 0x2012db7b, 0x1adb7b2d, 0x73823220, 0x8715db7b, + 0x11db7bd9, 0xdb7b3020, 0x0ca54112, 0x200cdb7b, 0x18db7b3c, 0xdb7b3d20, 0x26158314, 0x003d002b, 0x48780132, 0x392106a9, 0x20c18300, 0x22a98236, + 0x7b3d003c, 0x39220cdd, 0x5d823a00, 0xac033829, 0x33000900, 0x83003900, 0x844420cd, 0x022e2227, 0x201382c0, 0x2039822b, 0x204b8235, 0x2213823a, + 0x7c2f002d, 0x2e200c2d, 0xcc209786, 0x3c202782, 0x2f223d82, 0x2d823000, 0x2f227983, 0x1b7c5402, 0x7c618608, 0x2b200c3f, 0x2e222d82, 0x23825901, + 0x09823f20, 0x2e003622, 0x38240582, 0x2b013100, 0x36201184, 0x3d20d582, 0x43205b82, 0xbe200382, 0x32281188, 0x3c003900, 0x80003800, 0x95851182, + 0xa7854120, 0x84690021, 0x0039246b, 0x84370035, 0x02352411, 0x8207007d, 0x822f2043, 0x22a3832d, 0x8289013c, 0x0033240f, 0x8243002d, 0x00362403, + 0x82c4022f, 0x056b4b0f, 0x27822b20, 0xd4013e22, 0x3c200f82, 0x33203b82, 0x2006c944, 0x220f8265, 0x823c002b, 0x8239202d, 0x032f249b, 0x8205002f, + 0x832b200d, 0x800221a5, 0x39200b84, 0x37228d82, 0x0b84c302, 0x32224983, 0x0b82d903, 0x31842b20, 0x34023822, 0x39220b82, 0xbf824200, 0x46033d22, + 0x33220b82, 0x59822c00, 0xd1012f22, 0x36200b82, 0x2e24eb84, 0x0400e701, 0x3e247182, 0xf9003200, 0x2f200982, 0x3c222b82, 0x0984f300, 0x2b823620, + 0x0982eb20, 0x07823920, 0xd7003e22, 0x3c242784, 0x36023d00, 0x3f200982, 0x38228782, 0x0982ad03, 0x81823620, 0xaa033122, 0x2c201d84, 0x6d20d982, + 0x2e223186, 0x09842d03, 0xe7823820, 0x0986c220, 0x68003122, 0x39240984, 0x75013500, 0x372c0984, 0x4e012c00, 0x3f000300, 0xa4013100, 0x2f240782, + 0x8a012e00, 0x3d220f84, 0x07823302, 0x9120bd83, 0xf7080782, 0x0038002b, 0x01f6007a, 0x01480120, 0x01980170, 0x02e601c0, 0x0232020c, 0x027a0256, + 0x02c2029e, 0x030603e4, 0x03460326, 0x03860366, 0x03c603a6, 0x040204e4, 0x043e0420, 0x047a045c, 0x04b60498, 0x05f004d4, 0x0528050c, 0x05600544, + 0x0594057a, 0x05c805ae, 0x06fc05e2, 0x06300616, 0x0664064a, 0x0698067e, 0x06ca06b2, 0x07fa06e2, 0x072a0712, 0x075a0742, 0x078a0772, 0x07b607a0, + 0x07e207cc, 0x080e08f8, 0x083a0824, 0x08660850, 0x0892087c, 0x08be08a8, 0x08e808d4, 0x091009fc, 0x09380924, 0x0960094c, 0x09840972, 0x09a80996, + 0x09cc09ba, 0x0af009de, 0x0a120a02, 0x0a320a22, 0x0a500a42, 0x0a6c0a5e, 0x0a880a7a, 0x0aa40a96, 0x0abe0ab2, 0x0ad60aca, 0x0aee0ae2, 0x0b060bfa, + 0x0b1e0b12, 0x0b360b2a, 0x0b4c0b42, 0x0b600b56, 0x0b740b6a, 0x0b880b7e, 0x0b980b90, 0x4813237e, 0x99470d95, 0x0e237e08, 0x237e3d20, 0x0032230e, + 0x237e002f, 0x47518d17, 0x237e067b, 0x002b2214, 0x0ab3733c, 0x36002b25, 0x7e013e00, 0x4f8d1123, 0x2106b547, 0x237e8202, 0x7e3e2016, 0x8b861a23, + 0x850a4b7d, 0x7e372073, 0x3d200c23, 0x410c237e, 0x01200811, 0x8d0d237e, 0x7e958625, 0xbd8d1223, 0x237e3f20, 0x002d2312, 0x237e002b, 0x866b8d1d, + 0x0e237ec5, 0xd78f5982, 0x2014237e, 0x1a237e3d, 0x5182678d, 0x4512237e, 0x237e0cd1, 0x09cd410c, 0x86000421, 0x0e237ea3, 0x237e3720, 0x05974408, + 0x2017237e, 0x1c237e2d, 0x237e5b83, 0x7e9b8315, 0x854d2123, 0x7e032006, 0xd98c0f23, 0x8b12237e, 0x0d237e77, 0x3f003d27, 0x04003800, 0x7ed58600, + 0xd3881423, 0x2014237e, 0x1c237e3e, 0x237e3720, 0x7e2c201e, 0x41201a23, 0x201a237e, 0x12237e3a, 0x2f823c20, 0xa74e3120, 0x7e3c2008, 0x89471223, + 0x12237e08, 0x23082d43, 0x0c002502, 0x200a237e, 0x18237e35, 0x237e2c20, 0x0a8d4218, 0x237e0220, 0x0ab14d0d, 0x8312237e, 0x7e3e201d, 0x38201223, + 0x201a237e, 0x16237e2e, 0x2f003c25, 0x7e003e00, 0xe3421523, 0x7e002006, 0x2b201323, 0x4412237e, 0x03230a09, 0x7f0c00ae, 0x2e2010cd, 0x4416237e, + 0x0021065b, 0x0c237ee3, 0x21086941, 0x1782bf00, 0xa3822f20, 0xc3823e20, 0x03823020, 0x47822d20, 0xb7823e20, 0x4a0f3b7e, 0x3b7e0547, 0x7e2c2011, + 0x3b20143b, 0x20123b7e, 0x2059842c, 0x225b823e, 0x7e43003c, 0xf584123b, 0x3b7e0220, 0x7e2c200d, 0x2c20143b, 0x2b26af82, 0x2d003800, 0x257e3200, + 0x823a200e, 0x00412263, 0x0e517e38, 0x7e073944, 0x19410d3b, 0x00e02207, 0x2035820a, 0x2197823c, 0x7b44003e, 0x84732009, 0x00372215, 0x08ed663a, + 0x2e003824, 0x15822402, 0x2009937e, 0x14517e35, 0x4d822d20, 0x2011517e, 0x18517e3c, 0x3a003f24, 0x57848102, 0x0eb34418, 0x8c280221, 0x003c226d, + 0x22018239, 0x82900035, 0x240b8315, 0x003d003d, 0x22558432, 0x7e3d003c, 0x36200e7d, 0x21147d7e, 0xe583002b, 0x7c012b22, 0x3620db84, 0x2008014b, + 0x2057823e, 0x0a437e3c, 0x437e2d20, 0x00012308, 0x4b830009, 0x41003a21, 0x85200989, 0x200c7f7e, 0x2269823a, 0x827f012f, 0x00392413, 0x8243003a, + 0x00332239, 0x20978231, 0x0ccf7e3e, 0xcf7e3a20, 0x05f94414, 0x4f8cae20, 0xd1822c20, 0xe1003c22, 0x240c977e, 0x023a003f, 0x20118437, 0x20f3823a, + 0x204b823f, 0x20f1822f, 0x20118422, 0x5d411836, 0x8298200a, 0x49461811, 0x0c037f0c, 0x37822b20, 0xb2003e22, 0x37202386, 0x3e243784, 0xc7023d00, + 0x2d241184, 0x3e003500, 0x33247b82, 0x33033600, 0x2008277f, 0x24dd823d, 0x022f002e, 0x221184c5, 0x82380038, 0x822c2021, 0x003d2513, 0x000700a6, + 0x0afb4018, 0x86340121, 0x823a200f, 0x823d2021, 0x84e420a5, 0x0036240f, 0x8237003f, 0x7f3d2035, 0x87840a57, 0x00c90223, 0x06cf4106, 0x2f003324, + 0x0d820b01, 0x3c003324, 0xdb842d00, 0x1b84f420, 0x30003022, 0x2f22a382, 0x0d82dc03, 0x09833220, 0x2f225582, 0x0d82df03, 0x55823c20, 0x2b823e20, + 0x83023222, 0x3f201b84, 0x32223984, 0x0d82b103, 0x0b822b20, 0x59823c20, 0x6b003e22, 0xe7830d84, 0x2b003c28, 0x05005a01, 0xb9823200, 0x2e003624, + 0x0b842102, 0x4f822f20, 0xb1013d22, 0x36200b82, 0x38242f82, 0x75032f00, 0x2b201784, 0x3c222582, 0x0b828402, 0x09823920, 0x3d003824, 0x0b845702, + 0x71833f20, 0x824b0321, 0x825f830b, 0x870221e3, 0x41240b86, 0x5d013800, 0x3f220b82, 0xa7822c00, 0xd0003d22, 0x3f235386, 0x83002e00, 0x245f833b, + 0x0035002d, 0x205f844f, 0x2447822f, 0x00860235, 0x24a98204, 0x01410039, 0x8409825c, 0x16012139, 0x3a221386, 0x0982b100, 0x31003926, 0xd3003d00, + 0x3a240984, 0x13014300, 0x2e200984, 0x4820a782, 0x332e0982, 0x43003e00, 0x03007403, 0x3e002b00, 0x07845f01, 0x55003c22, 0x37830782, 0x0782d220, + 0x21823f20, 0x52002824, 0x875b7800, 0x0c430808, 0x40012601, 0x70015801, 0x9c018601, 0xc601b201, 0xee01da01, 0x14020202, 0x38022602, 0x5c024a02, + 0x80026e02, 0xa4029202, 0xc402b402, 0xe202d402, 0xfe02f002, 0x16030a03, 0x2a032003, 0x3e033403, 0x18024603, 0x2011e740, 0xe740183e, 0x182d2026, + 0x2022e740, 0x054d452c, 0x40180320, 0x302013e7, 0x12e74018, 0xe3823d20, 0x18002f21, 0x2217e740, 0x82360030, 0x003e219b, 0x11e74018, 0x8b823a20, + 0x08e74018, 0x004c0325, 0x8232000c, 0x003c2229, 0x26cb8637, 0x0035002b, 0x182b003c, 0x200c0141, 0x0141182d, 0x823d201a, 0x0031269b, 0x00500138, + 0x2359820a, 0x0004003e, 0x180aaf46, 0x510c1741, 0x032108ab, 0x202b8235, 0x20658233, 0x202b822f, 0x243f823e, 0x00380039, 0x1741183d, 0x0039220c, + 0x24db823a, 0x003a0238, 0x211f8209, 0x6182002b, 0x3d205d82, 0x3d201382, 0x0c2b4118, 0x41183020, 0x3020122b, 0x40203182, 0x0ef54018, 0x08002e25, + 0x18020600, 0x260b3d41, 0x0041003e, 0x82b40339, 0x55421817, 0x9e03210c, 0x2f221182, 0x57823700, 0x22050b45, 0x8629023e, 0x002c2223, 0x247f822c, + 0x01360036, 0x24118262, 0x003e002b, 0x2111822b, 0x9582002b, 0x0c854118, 0x41183d20, 0x39201085, 0x2f22df82, 0x35825900, 0x41003922, 0x36200b82, + 0x2b285d82, 0x7d032e00, 0x3f000700, 0x31200f82, 0x23825782, 0x82040121, 0x002f240f, 0x8235003d, 0x0039225b, 0xa541183a, 0x002e280c, 0x007b030c, + 0x823c0006, 0x82312075, 0x0238223f, 0x820d8258, 0x240f8235, 0x022f003e, 0x220d828f, 0x82400033, 0x822e207b, 0x00cd220d, 0x26098205, 0x00440044, + 0x823c0243, 0x0039220b, 0x24018236, 0x00590243, 0x243b8204, 0x012f0040, 0x200982d7, 0x223b822f, 0x82cf0230, 0x003c2609, 0x0237003f, 0x22098288, + 0x822d0033, 0x003b223f, 0x22978203, 0x437a032b, 0x34080655, 0x00320018, 0x008e0064, 0x00da00b4, 0x012201fe, 0x015e0142, 0x01900178, 0x01be01a8, + 0x01e801d4, 0x020e02fc, 0x022e0220, 0x024a023c, 0x02600256, 0x00090268, 0x8b411818, 0x74362010, 0x314c089b, 0x822b200d, 0x003e219b, 0x19334218, + 0x3c003e22, 0x20334218, 0x3a003923, 0x05375a00, 0x07823e20, 0x3e004223, 0x33421800, 0x0ba14219, 0x13334218, 0x9984a789, 0x42180220, 0x2b200f33, + 0x20127f4e, 0x33421854, 0x18e58a12, 0x86143342, 0x334218b3, 0x18798414, 0x200a3342, 0x8373822e, 0x26e5832f, 0x001b013c, 0x1842000b, 0x20110f43, + 0x4b421801, 0x18322013, 0x2b144b42, 0x00a10040, 0x00430009, 0x0004002f, 0x1808994b, 0x200c4b42, 0x05d9433d, 0x00b60327, 0x003e0008, 0x22298232, + 0x8238003c, 0x003e2205, 0x221182e8, 0x82400038, 0x0036210b, 0x2f239383, 0x42001e01, 0x3d200599, 0x3c221382, 0x0d829202, 0x3f003b2a, 0x36002b00, + 0x97003d00, 0x42220d82, 0x0d823a00, 0x2e003828, 0x05008700, 0x25823400, 0x53822d20, 0x7b827d20, 0x65822e20, 0xe0033e26, 0x31000300, 0xa0200182, + 0x43200782, 0x7a286984, 0xd000a800, 0x1801f400, 0x220e4b7e, 0x65220206, 0x4a08102b, 0x031e0306, 0x034e0336, 0x037e0366, 0x03ac0396, 0x03d803c2, + 0x040404ee, 0x042c0418, 0x04540440, 0x04780466, 0x049c048a, 0x04be04ae, 0x04de04ce, 0x05fa04ec, 0x05160508, 0x052e0522, 0x05420538, 0x0556054c, + 0x056a0560, 0x187e0574, 0x200ce542, 0xe542182b, 0x20ed830e, 0x22f18231, 0x64300004, 0x42180583, 0x33240ce5, 0x40003800, 0x33211d82, 0x054b7000, + 0x180af74d, 0x220ce542, 0x5a3c003a, 0x012413a5, 0x00110023, 0x20051545, 0x06c14204, 0x31205183, 0x33216982, 0xe5421800, 0x0c774e13, 0x00040022, + 0x21053142, 0x42180066, 0x3a2009e5, 0x20078756, 0xe5421800, 0x06e14115, 0x16e54218, 0x1808794e, 0x201ce542, 0x2477842c, 0x00d20236, 0x08fd670d, + 0x42182d20, 0x19411ee5, 0x8ad3200b, 0x0f675137, 0x0be54218, 0x2d216783, 0xe5421800, 0x182b2015, 0x220ce542, 0x860c006c, 0x8203207f, 0xa744189b, + 0xd602210a, 0x33221982, 0xcf823600, 0xab820420, 0x180aad41, 0x410cff42, 0x85200d57, 0x2b283382, 0x3e003d00, 0x30000400, 0x1cff4218, 0x18086d4f, + 0x200ce542, 0x2083823c, 0x243f8233, 0x022e002f, 0x06435fdd, 0x58183120, 0x332508cf, 0x3e003800, 0xfd421802, 0x182b2011, 0x5110fd42, 0x42180aa7, + 0x33200ce5, 0x1ce54218, 0x42183420, 0x392214e5, 0x17823a00, 0xd4023822, 0x0f418f84, 0x002f2105, 0x08e54218, 0x105d4318, 0xc34b3a20, 0xfd421805, + 0x2145860e, 0x42186701, 0x8d830abb, 0x11fd4218, 0x42184020, 0x718314fd, 0x11fd4218, 0x3f002b24, 0x2f822e00, 0x6b013923, 0xfd421800, 0x182d2009, + 0x2012fd42, 0xfd421841, 0x182b2014, 0x2010fd42, 0xfd42182e, 0x822b2012, 0x183e20d1, 0x200cfd42, 0xfd42182d, 0x823a2010, 0x01302487, 0x42080040, + 0x358508d7, 0x0bfd4218, 0x35823f20, 0x93022b28, 0x2f000700, 0x25452b00, 0x82842008, 0x8239200f, 0x82412075, 0x003c2413, 0x82df022e, 0x8236200f, + 0x003d22d7, 0x24278232, 0x00cb002e, 0x20538406, 0x220d823e, 0x8276013c, 0x823f200d, 0x822c203b, 0x013622cf, 0x220d8249, 0x8237002f, 0x82362039, + 0x82ac201d, 0x8239200d, 0x842e20ab, 0x4b0d2029, 0x00210975, 0x200b82d1, 0x26258236, 0x0035003d, 0x8204009f, 0x003c244f, 0x8294022f, 0x823c2009, + 0x01312247, 0x8213843f, 0xdb022143, 0x36220986, 0x0984de02, 0x6c208583, 0x39220982, 0x75823800, 0x09825f20, 0x31224783, 0x1d844b00, 0x37003626, + 0x03005801, 0x42345982, 0x56002a00, 0xa4007e00, 0xee00ca00, 0x34011201, 0x74015401, 0x240ab36a, 0x0238021e, 0x08b57552, 0x02ca2808, 0x03f602e0, + 0x0322030c, 0x034a0336, 0x0370035e, 0x03920382, 0x03b203a2, 0x03d003c2, 0x03e803dc, 0x040004f4, 0x1814040a, 0x200cef43, 0x20b78236, 0x20db8238, + 0x207b823d, 0xef431840, 0x183e201a, 0x210cef43, 0x4318003d, 0x3e221bef, 0xbd823200, 0x51823820, 0x43182f20, 0x372016ef, 0x0eef4318, 0x36002b24, + 0x43183e00, 0x618a0cef, 0x3e204782, 0x2b219982, 0xef431800, 0x20938d0f, 0x20c98441, 0xef431835, 0x05a5590c, 0x18003321, 0x2017ef43, 0xef43182c, + 0x183d2008, 0x2116ef43, 0xa771002b, 0x002b2109, 0x19ef4318, 0x43182d20, 0x4d4110ef, 0xef43180e, 0x1841200e, 0x411aef43, 0x43180c1d, 0x2f200eef, + 0x1cef4318, 0x18067941, 0x200eef43, 0xef43182b, 0x05614618, 0x3c002f23, 0xef431800, 0x1832200d, 0x4116ef43, 0x02230a71, 0x180b00eb, 0x41084343, + 0x43180aad, 0x2b210eef, 0xef431800, 0x08cd4111, 0x66a00121, 0x2e200607, 0x3c226f82, 0x05823600, 0x89823d20, 0x1582ed20, 0x64003c21, 0x3d200595, + 0x14054418, 0x1808b542, 0x420c0544, 0xe8200701, 0x0a054418, 0x1806e141, 0x220c0544, 0x822b002c, 0x0236216b, 0x0b054418, 0x3e221183, 0x44189502, + 0x3a2d0805, 0x37003f00, 0x51033a00, 0x39000700, 0x200d8300, 0x2235823c, 0x82960237, 0x05f5430f, 0xad833d20, 0x820f0121, 0x0523420f, 0x1f823a20, + 0xe5022e22, 0x3c200f82, 0x3720bb82, 0x2d260d82, 0xbd032f00, 0x49820600, 0xc5853320, 0x00800325, 0x82320005, 0x20d5834f, 0x220b82ea, 0x8240002b, + 0x00362245, 0x200b82c8, 0x20178236, 0x2031822c, 0x220b82b7, 0x82300033, 0x023d2431, 0x410400e6, 0x9d200663, 0x15840982, 0x000d0223, 0x20338203, + 0x322d8237, 0x009a0074, 0x01e200c0, 0x01240104, 0x01640144, 0x7da20184, 0x1421069d, 0x5f4c1802, 0xb24a0809, 0xe202ca02, 0x1203fa02, 0x3e032803, + 0x6a035403, 0x96038003, 0xc003ac03, 0xe803d403, 0x1004fc03, 0x34042204, 0x58044604, 0x78046804, 0x98048804, 0xb804a804, 0xd404c604, 0xf004e204, + 0x0805fc04, 0x20051405, 0x38052c05, 0x44184205, 0x37200cd3, 0x0cd34418, 0x44183020, 0xed8316d3, 0x2e003622, 0x42086b71, 0x02200859, 0x0bd34418, + 0x3f20258f, 0x10d34418, 0x20083f49, 0x05114100, 0x32003125, 0x18013e00, 0x2015d344, 0x056d413d, 0xc3220582, 0x42180f00, 0x418b088f, 0x44182e20, + 0x1f8b12d3, 0x44183620, 0x3d201ad3, 0x22d34418, 0x36002b22, 0x44189d82, 0x322015d3, 0x1cd34418, 0x38002f25, 0x18002e00, 0x8b0bd344, 0x003f2197, + 0x0fd34418, 0x44183220, 0x3d2218d3, 0x44182d00, 0xa78520d3, 0x0c00bc22, 0x18122541, 0x2011d344, 0xd344182e, 0x0cbd4116, 0x0ed34418, 0x44182c20, + 0x3a221ad3, 0xa3823f00, 0x18033521, 0x200dbb44, 0x20d1822c, 0x2435823c, 0x00f70243, 0x24c1820b, 0x00320031, 0x08476936, 0x45189582, 0x19830c03, + 0x97824420, 0x2e003c22, 0x0ceb4418, 0x18003d21, 0x4215eb44, 0x2e24057f, 0x0a00b801, 0x2b20f38a, 0x59832d82, 0x0beb4418, 0x87823a20, 0x9f822b20, + 0x45182f20, 0x41200a17, 0x6d868782, 0x82990221, 0x842f2041, 0x002d2299, 0x203f8239, 0x20b7843e, 0x20158460, 0xe546182b, 0xe103230d, 0x6d820900, + 0x2c003722, 0x3c22f182, 0x45183100, 0x3c20102b, 0x2d244182, 0xb6013500, 0x47182782, 0x01210e05, 0x20138293, 0x20e1842f, 0x833f823e, 0x013e2209, + 0x674518da, 0x003d2208, 0x261b8232, 0x032f0035, 0x84080082, 0x003f22d1, 0x20a58235, 0x2017822b, 0x211182fa, 0x034f0004, 0xf500210a, 0x39201182, + 0x3a201182, 0x3e202182, 0x36202d82, 0x0c8b4518, 0x3e224983, 0x4b49f602, 0x822e2006, 0x002f2427, 0x8870013e, 0x0033260f, 0x01310038, 0x6f0f826f, + 0x3926056b, 0x43003c00, 0x0f82ce01, 0x2b822b20, 0x3e003222, 0x31225182, 0x0f82f802, 0x0b823920, 0x03820420, 0x2c003f24, 0x0f828803, 0x00212782, + 0x263d8240, 0x032b0033, 0x82060053, 0x82432027, 0x002b24a5, 0x82840336, 0x8433200d, 0x003824b1, 0x82e40331, 0x223b830d, 0x8239002e, 0x8481200d, + 0x00372a29, 0x002f0037, 0x0086033c, 0x20158205, 0x2269823c, 0x8285032f, 0x0033220b, 0x2201823a, 0x82520339, 0x822b200b, 0x003d2423, 0x84f9022b, + 0x823e2023, 0x0236222f, 0x2217845d, 0x822e0038, 0x82482031, 0x0743410b, 0x04005622, 0x53834782, 0x0300bd22, 0x22081d82, 0x0010002e, 0x003a0022, + 0x00660052, 0x008a0078, 0x00ae009c, 0x00ce00be, 0x00ea00dc, 0x010401f8, 0x181c0110, 0x20088146, 0x20b9822d, 0x2033823c, 0x20078204, 0x22df8236, + 0x820b008f, 0x823020d5, 0x0c75534f, 0x0a814618, 0x3c002d22, 0x9f828d82, 0x086f4618, 0x46182c20, 0xc522086f, 0x3d820800, 0x3f002e22, 0x3e26a182, + 0x43003c00, 0x1182ad01, 0x3f204983, 0x3d200d82, 0x3c225582, 0x23849a02, 0x33003022, 0x77552982, 0x00c12405, 0x822d0007, 0x472d200f, 0x0121052f, + 0x200f82e0, 0x86d3822e, 0xf801259b, 0x37000600, 0x31206382, 0x3d227782, 0x0d827700, 0x2e003822, 0x38240b82, 0x6e003e00, 0x3e200d82, 0x3328bb84, + 0xc2032d00, 0x31000500, 0x39204582, 0x79206982, 0x35870b82, 0x0b825a20, 0x2c003822, 0x42221582, 0x59821a01, 0x83003821, 0x820320e1, 0x00262289, + 0x11471832, 0x05cb4812, 0x49823620, 0xfa023d22, 0x2208bb56, 0x8254033e, 0x822f203b, 0x8233207b, 0x00122e39, 0x00460032, 0x006c005a, 0x0086007a, + 0x31471890, 0x06b7470c, 0x1d462d82, 0x00fc2209, 0x51471809, 0x412c2008, 0x02210541, 0x8313849b, 0x8204202d, 0x0033269d, 0x012e003c, 0x225b8210, + 0x8443002f, 0x832b20ad, 0x57032111, 0x3220e382, 0xf583e382, 0x56032b22, 0x2b208f82, 0x2c240d82, 0xfb022b00, 0x33226182, 0x01823d00, 0x0300b022, + 0x433c5382, 0x44002100, 0x96006e00, 0xe200be00, 0x20010201, 0x5c013e01, 0x90017601, 0xc201aa01, 0x56102772, 0xb631059d, 0xd602c602, 0xf002e402, + 0x0603fc02, 0x1a031003, 0x83471801, 0x0997520b, 0x46072142, 0xfd210bad, 0x83471800, 0x20299309, 0x24938236, 0x013e0030, 0x46279efc, 0x471806bd, + 0x4f930c83, 0x47183f20, 0x974b0e83, 0x83471812, 0x0c7b4f10, 0x0e834718, 0xe9507786, 0x83471808, 0x18878813, 0x4a0e8347, 0x47180a21, 0xbb421283, + 0x83471805, 0x87bf820f, 0x3803216b, 0x0c834718, 0x08054318, 0x10834718, 0xa74e2d20, 0x18032005, 0x420d8347, 0x01200661, 0x09834718, 0x18004021, + 0x42178347, 0x9c21076d, 0x83471800, 0x06394109, 0x826c0121, 0x00332413, 0x822f0030, 0x183c2097, 0x20128347, 0x8347183d, 0x00392212, 0x222f823a, + 0x84ef0038, 0x0031303b, 0x003e0032, 0x003f002c, 0x032c0036, 0x42080058, 0xf34b06a9, 0x01352205, 0x18118657, 0x18098169, 0x550bbb47, 0x471805a7, + 0x47830bbb, 0x9145d920, 0x82042008, 0x013624fd, 0x82060005, 0x823a2055, 0x237b8267, 0x0500fe02, 0x3f210d82, 0x20798300, 0x220b82b7, 0x8237002f, + 0x00382225, 0x060d4375, 0x5e003e22, 0x39260982, 0x35002d00, 0x1384cf00, 0x09823820, 0x09829e20, 0x37822f20, 0xa7823020, 0x98006e22, 0x320a674a, + 0x01800162, 0x01bc019e, 0x02f401d8, 0x022c0210, 0x6a600246, 0xea2e0a73, 0x16030003, 0x42032c03, 0x6a035603, 0x716a7e03, 0x0404340e, 0x04200412, + 0x043c042e, 0x0458044a, 0x04720466, 0x6a8a047e, 0xc6200a6d, 0x183d4818, 0x2955f985, 0x3d48180a, 0x182c200e, 0x2008b147, 0x22b58241, 0x422f0040, + 0x08200839, 0x083d4818, 0xf7823c20, 0x22052f7e, 0x84310038, 0x824320df, 0x3d481827, 0x08955519, 0x0e3d4818, 0x43099753, 0x481806e5, 0x8b900e3d, + 0x48180220, 0x1f890d3d, 0x0220d584, 0x173d4818, 0x48181d85, 0x2342093d, 0x20b38206, 0x18dd883c, 0x89093d48, 0x432e201d, 0x481808a1, 0x494a0d3d, + 0x002f2109, 0x0d3d4818, 0x48183d20, 0x32200c3d, 0x0c3d4818, 0x40211b8d, 0x3d481803, 0x823a200f, 0x1823838f, 0x48113d48, 0x48180b79, 0x2d200d3d, + 0x183d4818, 0x18085b41, 0x8a0c3d48, 0x18012083, 0x270b3d48, 0x0039002e, 0x002c003f, 0x02207b82, 0x0f3d4818, 0x15822b20, 0x18033e21, 0x41092748, + 0x01230a1f, 0x820a0020, 0xa34a1881, 0x6948180f, 0x06a5410d, 0x8a390321, 0x003d222b, 0x8271822d, 0x910121f1, 0x39221582, 0x0d823e00, 0xc9693c20, + 0x18002009, 0x89097f48, 0x033c2a6d, 0x00090007, 0x0032002f, 0x24a98404, 0x0038002b, 0x93481835, 0x050d440c, 0xec013522, 0x33212782, 0x20958500, + 0x242f822d, 0x013a0033, 0xa74818c7, 0x823d2008, 0x823120b1, 0x033d243b, 0x82080009, 0x82382077, 0x823720f9, 0x00382457, 0x848a033e, 0x823f2011, + 0x003e221d, 0x2127822b, 0x48180338, 0x322009b7, 0x3e242b82, 0x07005a03, 0x39222b84, 0x21823c00, 0x48183220, 0x3a200ac7, 0x01212f83, 0x831f8496, + 0x823f20cb, 0x01432421, 0x82060007, 0x05034137, 0xf7002f22, 0x2f240d82, 0x35002e00, 0x3e222b82, 0x1b845b03, 0x2205dd41, 0x849e022f, 0x8237201b, + 0x003c242d, 0x82a70043, 0x002b210d, 0x2f20a783, 0x89449782, 0x823c2005, 0x002f2437, 0x84a0033c, 0x823e2029, 0x82392087, 0x82c3200d, 0x0033220d, + 0x2001823e, 0x22b7822f, 0x820500dd, 0x82312097, 0x032d225f, 0x830b8206, 0x002b246d, 0x829a0036, 0x8233200b, 0x003f241f, 0x8246003d, 0x2607830b, + 0x012d0033, 0x8204004a, 0x0036242f, 0x8495012f, 0x003c2409, 0x8489033d, 0x003d2409, 0x824c0135, 0x82392009, 0x01382491, 0x820300c8, 0x013a2227, + 0x2207820e, 0x8232002f, 0x000c2841, 0x00440028, 0x186c0058, 0x2012b349, 0xb3491841, 0x0d154716, 0x09b34918, 0x2308df52, 0x09007a01, 0x4120d782, + 0x3a20a582, 0x0b826f83, 0x9f013c22, 0x3f20ef84, 0x3c20e184, 0x0e220b82, 0xc3822c00, 0x66005626, 0xaf017200, 0x0edb4918, 0xe3823f20, 0x19db4918, + 0x03201988, 0x09db4918, 0x67822d20, 0x76003825, 0x83000700, 0x06e14961, 0x828c0321, 0x055341e1, 0x033c2008, 0x0002005c, 0x00400037, 0x00b20082, + 0x01fc00da, 0x013c011c, 0x0176015a, 0x01ae0192, 0x18e201c8, 0x2a1c875c, 0x036c0356, 0x03980382, 0x18c403ae, 0x0808875c, 0x3e042a37, 0x62045004, + 0x82047204, 0xa2049204, 0xc204b204, 0xde04d004, 0xf604ea04, 0x0e050205, 0x26051a05, 0x3e053205, 0x52054805, 0x66055c05, 0x7a057005, 0x8a058205, + 0x394a1802, 0x182c201b, 0x250c394a, 0x0036002b, 0x4a18023e, 0x2f8a1b39, 0x0e394a18, 0x30003926, 0x41000400, 0x1a394a18, 0x2f002e22, 0x20394a18, + 0x33002e28, 0x31002b00, 0x05823c00, 0x5d033724, 0x07820e00, 0x3e003d22, 0x30200582, 0x3c200382, 0x38201d84, 0x3d200582, 0x18574a18, 0x4a182c20, + 0x2b201257, 0x1e574a18, 0x5b823220, 0x2e003825, 0x18033d00, 0x830f094a, 0x8239204d, 0x0332247f, 0x5a0c0012, 0x022115b7, 0x20198260, 0x2175822f, + 0x4958003a, 0x842d2005, 0x8b4a18a9, 0x183c2013, 0x20168b4a, 0x203d823c, 0x203d8436, 0x714a183c, 0x8440200e, 0x003f2219, 0x714a1837, 0x0ac34510, + 0x10714a18, 0x4a183a20, 0x11461671, 0x714a180a, 0x822c200e, 0x003f21db, 0x11714a18, 0x2b22d383, 0x7d823800, 0x4a182f20, 0x7b8a0a71, 0x0e714a18, + 0x18088370, 0x8a0c714a, 0x18022077, 0x470d714a, 0x4a1808e3, 0x5f8a0c71, 0x18320121, 0x8b08714a, 0x5b4a1845, 0x002c210d, 0x3522a383, 0x2b84e803, + 0x09874a18, 0x39003226, 0xa7023e00, 0x3c241584, 0x2f002d00, 0x2406a145, 0x022f0031, 0x20158249, 0x831f823c, 0x002e2215, 0x05db413f, 0x4a180120, + 0x2b200f9d, 0x129d4a18, 0x33003d26, 0x38003100, 0x0a894a18, 0x7f843020, 0x43002d24, 0x2f46d400, 0x822f2006, 0x822d204f, 0x0033243b, 0x82a2033a, + 0x82392013, 0x00042269, 0x06b1463d, 0x71013722, 0x3c202784, 0x2208eb42, 0x1832003a, 0x280ec54a, 0x00300039, 0x00160230, 0x20398208, 0x8337823c, + 0x0033242b, 0x820c033e, 0x822b2011, 0x003d2249, 0x2319853a, 0x0700a502, 0x36204782, 0x3e20dd82, 0x2f222782, 0x4b46cf01, 0x21ef8408, 0x0f840e03, + 0x04003822, 0x3323fd82, 0x18012c00, 0x8409194b, 0xa60221dd, 0x3c223f84, 0xd7823500, 0x31003824, 0x0f82e801, 0x2e003924, 0x7b432d00, 0x294b1805, + 0x0232240c, 0x84060045, 0x206f856d, 0x065155b8, 0x7d823820, 0x0b82a320, 0x1b823620, 0x03210b82, 0x064f46e7, 0x3c002f24, 0x0b84ee00, 0x2f22fb83, + 0x0b848200, 0xbf823f20, 0x6a002f22, 0x3c200b82, 0x3e227384, 0x0b824602, 0x36003322, 0x3d220182, 0x0b825e03, 0x47822f20, 0x2f002d24, 0xb5823b03, + 0x39003926, 0x81003a00, 0x5d830982, 0x62034322, 0x3c200982, 0x43221f82, 0x09826003, 0x33823920, 0x79013622, 0x3f241d84, 0x99003100, 0x3d240986, + 0x03005b01, 0x41222582, 0x0782fa01, 0x38002f24, 0x0782f701, 0x072e4b83, 0x30001000, 0x5e004800, 0x84007200, 0x4b189200, 0x814214f3, 0xf34b180b, + 0x18b1830d, 0x2213f34b, 0x822f0036, 0x023e2655, 0x0009002d, 0x22d5823f, 0x822e002e, 0x003e2805, 0x0132002d, 0x82080019, 0x002f2313, 0xed63003d, + 0x00642407, 0x823c0006, 0x8239201b, 0x032f2225, 0x20f18264, 0x230f823f, 0x0038002b, 0x09414118, 0x00b63008, 0x00e200cc, 0x010e01f8, 0x01380124, + 0x015e014c, 0x01800170, 0x01a00190, 0x01c001b0, 0x01dc01ce, 0x02f601ea, 0x020e0202, 0x0224021a, 0x1838022e, 0x590e5b4c, 0xae20137d, 0x0c3d4c18, + 0x200e2359, 0x5b4c1802, 0x182d200d, 0x28245b4c, 0x0036002b, 0x00a4033e, 0x20ff820a, 0x20e5823a, 0x200f822c, 0x24d98233, 0x0138002b, 0x6d1584bf, + 0x23820a15, 0x3d012e22, 0x0c874c18, 0x4d433d20, 0x874c1805, 0x1815870e, 0x4309874c, 0x03230afd, 0x180900c5, 0x200fe54c, 0x9b4c1801, 0x2495830d, + 0x00c70336, 0x24718208, 0x003e003d, 0x22cb823c, 0x18370039, 0x850cad4c, 0x00a322b9, 0x244b8207, 0x00380033, 0x2223822c, 0x82a90241, 0x822f200f, + 0x822f20bf, 0x003a2497, 0x865e013e, 0x8243200f, 0x00362413, 0x828e032f, 0x823f200f, 0x8238202d, 0x0038241f, 0x84aa0031, 0x003e221f, 0x20698241, + 0x222f822f, 0x82060024, 0x002d2247, 0x220f8235, 0x8262023e, 0x8233200d, 0x225b8359, 0x82a50038, 0x822b200d, 0x822e203b, 0x02372421, 0x82050063, + 0x823f2007, 0x022f229d, 0x200b84aa, 0x220f822c, 0x8217023e, 0x002f280b, 0x0036003a, 0x82ab0243, 0x463f200b, 0x03230519, 0x8604008d, 0x825b2073, + 0x002f2209, 0x202d822e, 0x20098258, 0x26bf8239, 0x00bc002e, 0x823d0003, 0x00703a01, 0x010601e2, 0x014c012a, 0x0190016e, 0x01d201b2, 0x021202f2, + 0x02520232, 0x754d1870, 0x6eb40810, 0xa6038a03, 0xde03c203, 0x1204f803, 0x46042c04, 0x7a046004, 0xac049404, 0xdc04c404, 0x0c05f404, 0x3c052405, + 0x6c055405, 0x9c058405, 0xcc05b405, 0xfc05e405, 0x28061206, 0x54063e06, 0x7c066806, 0xa4069006, 0xcc06b806, 0xf406e006, 0x1c070807, 0x44073007, + 0x68075607, 0x8c077a07, 0xb0079e07, 0xd207c207, 0xf207e207, 0x12080208, 0x32082208, 0x52084208, 0x72086208, 0x8e088008, 0xaa089c08, 0xc608b808, + 0xe208d408, 0xfe08f008, 0x1a090c09, 0x34092809, 0x4c094009, 0x64095809, 0x7c097009, 0x90098609, 0xa4099a09, 0xb809ae09, 0xcc09c209, 0xdc09d409, + 0x0ced4d18, 0x26054d41, 0x002d0004, 0x822f003c, 0x06e345fd, 0x4d180120, 0x38220bed, 0x4d183f00, 0x2e200ced, 0x1aed4d18, 0x1b823c20, 0x2008a34e, + 0xed4d1801, 0x002b210d, 0x4205557e, 0x4d180b89, 0x85830ded, 0x1bed4d18, 0x4d182b20, 0x87870ced, 0x0fed4d18, 0x4d183620, 0xcb8f1aed, 0x4d183f20, + 0xeb4212ed, 0x4e3e2005, 0x4d180885, 0x2c2313ed, 0x18002b00, 0x8313ed4d, 0x003a22e3, 0x201d8232, 0x088b7204, 0x4d18c920, 0x2e2014ed, 0x12ed4d18, + 0x9b83df8d, 0x4d18ce20, 0x38200eed, 0x1aed4d18, 0x200a1563, 0xed4d1801, 0x183d200d, 0x2020ed4d, 0xed4d183a, 0x05914a12, 0x4d182e20, 0xe18314ed, + 0x30003622, 0x20072341, 0xed4d1802, 0x18302013, 0x4112ed4d, 0xdf820b1f, 0x0ced4d18, 0x40183620, 0xda200ee5, 0x3e24fb82, 0x33003c00, 0x82050b44, + 0x823c20c3, 0x003f22a5, 0x18098231, 0x4a13094e, 0x4e180537, 0xf5630d09, 0xbb4d180f, 0x0039230b, 0xe541003f, 0x234e1809, 0x0ba3420d, 0x4e183d20, + 0x13410a23, 0x82362005, 0x00302493, 0x82d1032f, 0x82382019, 0x00412293, 0x2005822c, 0x20ab822b, 0x0661442e, 0x33848620, 0x3a002f22, 0x210ff563, + 0x4e18cc01, 0xa5831223, 0x11234e18, 0x21080f64, 0x495af501, 0x44382006, 0x042606c1, 0x36002b00, 0x4e183e00, 0x40201223, 0x38221982, 0x2f82b702, + 0x2207b345, 0x8241003a, 0x00302413, 0x1836002f, 0x83123b4e, 0x3b4e1879, 0x823a200d, 0x003328c5, 0x003e0038, 0x82b0023d, 0x05194447, 0x2e004122, + 0x40201784, 0x3c204782, 0x0c534e18, 0x180be947, 0x220f534e, 0x82390038, 0x012f2247, 0x2047821c, 0x05a35a3f, 0x0c9d6918, 0xa784f120, 0x23822f20, + 0x29823220, 0x2d003d22, 0x3a200582, 0x12834e18, 0x4e184020, 0xe5461683, 0x18032006, 0x200d834e, 0x834e183a, 0x18302018, 0x2216834e, 0x8236003a, + 0x023d2119, 0x0f574e18, 0x17822b20, 0x4e183e20, 0x41200e83, 0x38248b82, 0x17033500, 0x0c994e18, 0x2f002c22, 0x37227582, 0x15822003, 0x09824120, + 0xcb823e20, 0x2c003222, 0x3926cf82, 0x1d013500, 0x5f820900, 0xfb8b2c20, 0x0ead4e18, 0x33822d20, 0xf3013822, 0x3e202782, 0xb3413382, 0x20438505, + 0x231382e6, 0x003c0039, 0x210a6172, 0x1382ed01, 0x20057742, 0x22a18230, 0x8235002b, 0x84b3207d, 0x822b203b, 0x00042129, 0x21069d43, 0x13821603, + 0x31003324, 0x91843800, 0x1b823f20, 0xc8032f22, 0x2b201382, 0x2f204d82, 0x36203982, 0x3e24cb82, 0x6b032f00, 0x43201382, 0x31222584, 0x2f823900, + 0x2f003f23, 0xfd4e1801, 0x822b200d, 0x013e212d, 0x11fd4e18, 0xb5023222, 0x0c394f18, 0x4f182784, 0x5d820a11, 0x4f187b82, 0x23840d11, 0x00f20023, + 0x2b541808, 0xcb03210d, 0x33261182, 0x04003700, 0x33832d00, 0x032e0023, 0x851182d3, 0x823a20e7, 0x0039247f, 0x82640241, 0x822f2011, 0x822e20ed, + 0x8233200f, 0x033122b1, 0x2147841f, 0xb742003c, 0x823d2005, 0x00e7221b, 0x41c58207, 0x3f240531, 0xcc033a00, 0x35200f82, 0x3e205182, 0x3824ed82, + 0x4c023100, 0x43220f82, 0x0d853c00, 0x022f0023, 0x180f824b, 0x180a5151, 0x8708994f, 0x821a2085, 0x207f851f, 0x2299823e, 0x82d20332, 0x2095850f, + 0x22558237, 0x840a0138, 0x208d831f, 0x217d8238, 0x4f18033c, 0x2d2009c9, 0x43226582, 0x1f822103, 0x6d824120, 0xdb823720, 0x11822f20, 0x0f82ec20, + 0x3e003322, 0x3f832b82, 0xa1013a24, 0x0b820600, 0x40003c22, 0xd6200584, 0x3b220d82, 0x59823f00, 0x2f003c24, 0x0d828f03, 0x24051547, 0x03360036, + 0x200d8292, 0x2049823a, 0x2067842e, 0x200d82cf, 0x26098236, 0x00310033, 0x823c0332, 0x8232200d, 0x823a2035, 0x023d2211, 0x200d82b6, 0x206b823e, + 0x2211822f, 0x84af0237, 0x00322245, 0x22018239, 0x82540036, 0x0715420d, 0xcd033622, 0x35200d82, 0x33265382, 0x31003800, 0x4584e601, 0x41003922, + 0x3c224582, 0x0d82a601, 0x2c003f22, 0x2b240d82, 0x47004300, 0x2b20a784, 0x2d205582, 0x67226f82, 0x4d820500, 0x35002d26, 0xb2023d00, 0x35200b82, + 0xa383b382, 0x57669120, 0x01322208, 0x200b820c, 0x835b8237, 0x829620a5, 0x839f830b, 0x821c20d5, 0x833e200b, 0x3a002399, 0x0b84b402, 0xab843920, + 0x0400e522, 0x2006b941, 0x2009825c, 0x22918243, 0x8265022d, 0x21ad8409, 0x09828f01, 0x33003226, 0xd5003a00, 0x2b260982, 0x2f004000, 0x0982a503, + 0x33823720, 0x83003122, 0x3b430982, 0x84492005, 0x002b2c09, 0x00d0033c, 0x00370003, 0x8219033d, 0x003a2407, 0x824b012b, 0x003f3807, 0x00440038, + 0x00c0008a, 0x010c01e8, 0x01520130, 0x01960174, 0x58d601b6, 0x4008060f, 0x02640248, 0x029a0280, 0x02ce02b4, 0x030203e8, 0x0332031a, 0x0362034a, + 0x038e0378, 0x03ba03a4, 0x03e603d0, 0x041004fc, 0x04380424, 0x0460044c, 0x04840472, 0x04a40494, 0x04c404b4, 0x04e004d2, 0x0c7362ee, 0x5005443e, + 0x68055c05, 0x80057405, 0x96058c05, 0xaa05a005, 0xbe05b405, 0xd005c805, 0xde05d805, 0x1a8f5118, 0x1a994218, 0x1a8f5118, 0x0c5d4218, 0x00eb0322, + 0x0b8f5118, 0x2f003c22, 0x5808414f, 0x0121085f, 0x182382e5, 0x18158f51, 0x20081542, 0x8f511801, 0x07694419, 0x198f5118, 0x51183220, 0x0b6d208f, + 0x8f511806, 0x1836201a, 0x201e8f51, 0x8f51182b, 0x201d841c, 0x8f511803, 0x08956111, 0x128f5118, 0x51183720, 0x8983168f, 0x51182b20, 0x5f41168f, + 0x8f51180c, 0x1837200e, 0x201a8f51, 0x8f51183e, 0x433a201a, 0x3c2106d1, 0x8f511802, 0x184f830d, 0x20158f51, 0x8f51183a, 0x0ba94718, 0x0f8f5118, + 0x24064b4b, 0x0b004e02, 0x120d4200, 0x82970121, 0x823c2017, 0x0b53188b, 0x186f200f, 0x830abf51, 0xbf511837, 0x08a35213, 0x10a95118, 0x30003924, + 0x51183000, 0x31200ed5, 0x3e236582, 0x18022f00, 0x250fbf51, 0x0036002b, 0x5118003e, 0x41200ba9, 0x2e20e982, 0x32211382, 0xd5511803, 0x0039270d, + 0x002f003a, 0x51180238, 0x41840fbf, 0x51180120, 0x3f200f97, 0xb4222d82, 0xf5820900, 0x37003f24, 0x4f822c00, 0x2d002b26, 0x88013500, 0x39211382, + 0x55521800, 0x00392209, 0xfb511838, 0x204f850e, 0x202782be, 0x20b3823c, 0x2073822e, 0x20078237, 0x223b823c, 0x82080012, 0x823c200d, 0x0033224f, + 0x20138238, 0xf9511836, 0x84362008, 0x00312821, 0x0094032f, 0x823c0007, 0x822d200d, 0x82392071, 0x824e2009, 0x0032220f, 0x26e58204, 0x003d0033, + 0x82b8023e, 0x05af450f, 0x39002c26, 0x4d024200, 0x2b200f82, 0x36209f82, 0x3e265982, 0xd5033d00, 0x17820600, 0x2f823320, 0x2d822f20, 0x0d82b920, + 0xc3823d20, 0x49823320, 0x06013e22, 0x2b890d82, 0x0d82b520, 0x2b823c20, 0x1f823a20, 0xca004324, 0x75820500, 0x35003d22, 0x25204382, 0x63830b82, + 0x32003e24, 0x0b822403, 0x2f243d83, 0x7e012e00, 0x3c200b82, 0x32222584, 0x0b86a501, 0x38003324, 0x2f846c03, 0x32221983, 0x0b82d403, 0xdd822f20, + 0x8f823120, 0x3b845020, 0x09823720, 0xd6033d22, 0x39202384, 0x3d229782, 0x23843e03, 0x79829f82, 0x4784de20, 0x2d003f22, 0xdc207982, 0x2c208384, + 0x2f222382, 0xf3826702, 0x3a002b26, 0x61012f00, 0x3c200982, 0x2f214382, 0x24138500, 0x013d0031, 0x241d8460, 0x00330042, 0x2009827c, 0x226f8233, + 0x84d7033e, 0x002b2c27, 0x00770137, 0x003e0003, 0x82660043, 0x002b2a07, 0x00c00131, 0x00400002, 0x0805824d, 0x27003250, 0x72005000, 0xae009000, + 0xe800cc00, 0x1e010401, 0x50013801, 0x80016801, 0xac019601, 0xd801c201, 0x0402ee01, 0x30021a02, 0x5a024602, 0x82026e02, 0xaa029602, 0xce02bc02, + 0xf202e002, 0x16030403, 0x38032803, 0x54034603, 0x6e036203, 0x53187803, 0x2b20165d, 0x2d20cf82, 0x3d21b382, 0x5d531800, 0x002b210d, 0x1b5d5318, + 0x20100d5e, 0x5d531803, 0x822c2013, 0x185f8357, 0x23135d53, 0x003a003d, 0x115d5318, 0x42003121, 0x3f210589, 0x5d531800, 0x00332311, 0x53180038, + 0x3020155d, 0x185d5318, 0x180a3144, 0x420c5d53, 0x2f250569, 0x2e003600, 0x5d531801, 0x823d200b, 0x182d20b1, 0x21125d53, 0x53180038, 0xdf4c135d, + 0x5d531808, 0x082d440c, 0x00ec0324, 0x5183000a, 0x04003c22, 0x5318bb82, 0x2d20135d, 0x145d5318, 0x6d823e20, 0x115d5318, 0x2009995d, 0x83578255, + 0x82402091, 0x823c20ad, 0x00332461, 0x1843003e, 0x20107353, 0x235b822b, 0x00a2013e, 0x09735318, 0x53183a20, 0x2f211273, 0x73531800, 0x002d2113, + 0x0f735318, 0x11823620, 0x35002d24, 0x4f82db00, 0x33823820, 0x3c002f22, 0x33204d82, 0x2f23d782, 0x18001c02, 0x85098753, 0x18f02075, 0x850a8753, + 0x82ef2011, 0x823e2011, 0x843820af, 0x003623af, 0x5318023d, 0x3e200b99, 0x10995318, 0x00218184, 0x183582ed, 0x180cb355, 0x210cab53, 0x5318003e, + 0x37260fab, 0x18012e00, 0x95820600, 0x1b823620, 0xaf823820, 0x0d86ba20, 0x2d003922, 0xb6200d82, 0x3a200d82, 0x08ed4318, 0x0500ce22, 0xc9838d82, + 0xe9003d24, 0x35820400, 0x39002e24, 0x09824a00, 0x0805b541, 0x22001020, 0x5e004200, 0x92007800, 0xc200aa00, 0xf000da00, 0x1a010601, 0x3a012c01, + 0x52014601, 0x53185e01, 0x2c2018ff, 0x3622cf82, 0x53183600, 0x954f10ff, 0x0096240b, 0x4c3c000c, 0x5318092b, 0x938318ff, 0x17ff5318, 0x53183720, + 0x814214ff, 0xff531808, 0x06254710, 0x0eff5318, 0x1805f545, 0x2111ff53, 0x53180039, 0x3f2013ff, 0x0eff5318, 0x2f00432c, 0x6e032b00, 0x33000600, + 0xf7823200, 0x03823c20, 0x05007822, 0x2e200d82, 0x39211982, 0x055b4502, 0x36002b26, 0x94013d00, 0x2f221782, 0xb5823800, 0x4f023d22, 0x3320fb82, + 0x36362b82, 0x28001300, 0x68004800, 0xa4008600, 0xdc00c200, 0x0c01f400, 0xf1562201, 0x016e2a06, 0x018a017c, 0x01a40198, 0x4d5418ae, 0x057f4310, + 0x194d5418, 0x5418d783, 0xef481b4d, 0x0029220d, 0x20b3820e, 0x22b38238, 0x82310004, 0x002b22ad, 0x2001823d, 0x18a18404, 0x83114d54, 0x823820e9, + 0x82332027, 0x4d5418cd, 0x082f7c11, 0x00ed0322, 0x094d5418, 0x200bfd41, 0x83178298, 0x002f273b, 0x002c0004, 0x54180039, 0x8588134d, 0x00510125, + 0x8232000a, 0x822f2099, 0x822d2097, 0x822b2009, 0x023c24a9, 0x82090051, 0x20c5839d, 0x20418232, 0x22ad823f, 0x183e012f, 0x20087754, 0x2623823d, + 0x02380031, 0x840700ba, 0x843520c3, 0x023122dd, 0x0bbf59bb, 0x82520221, 0x2555180d, 0x82c92009, 0x284f830d, 0x002d0038, 0x00a90332, 0x05874505, + 0x033c0023, 0x20a78297, 0x22eb8233, 0x847b012e, 0x82302009, 0xd154184d, 0x183c2009, 0x2014d154, 0xd1541843, 0x20938610, 0xd1541800, 0x001d2ca7, + 0x00220015, 0x00130019, 0x821e0011, 0x822320f7, 0x8417200b, 0x841c2009, 0x00172211, 0x20078225, 0x20258217, 0x22198204, 0x8424001e, 0x8220202f, + 0x82152033, 0x00192a0b, 0x0117001e, 0x001b00d5, 0x20018223, 0x20038219, 0x20258224, 0x202d8426, 0x2009821c, 0x22238223, 0x841e0015, 0x84172039, + 0x8429205d, 0x00152a23, 0x0223001d, 0x00160006, 0x22018222, 0x8227001f, 0x0011241b, 0x8224001c, 0x82132007, 0x8222202d, 0x841c208f, 0x269b8345, + 0x00180017, 0x84050224, 0x00222179, 0x33832d9b, 0x2b821620, 0x2ba20420, 0x49841420, 0x07021e22, 0x859f6b82, 0x20002526, 0x1200fd00, 0x1720c982, + 0x1520a582, 0x3d83a582, 0x11822520, 0x0021a58e, 0x891382c5, 0x27cb964d, 0x1100d201, 0x14002500, 0x1f20e982, 0x15224b84, 0x85842300, 0x67821920, + 0x15842420, 0xfc001e22, 0x85067f41, 0x836f8d61, 0x21e78213, 0x2382c700, 0xdf866d97, 0x9aff0021, 0x20238747, 0x87479ac4, 0x00fe226b, 0x20ff980f, + 0x20b78225, 0x971f82c6, 0x231f828b, 0x0d002a03, 0x2220d982, 0x1623ef82, 0x83002200, 0x821820f1, 0x821e2005, 0x00222203, 0x201b8274, 0x0879421c, + 0x25001a26, 0x24002300, 0x16260f82, 0x03022900, 0x25420c00, 0x42232008, 0x26220a27, 0x19960202, 0xdd011822, 0x14221982, 0x67861400, 0x13203583, + 0x1422e184, 0x1990dc01, 0x1f001222, 0x1b220182, 0x19827200, 0x13208389, 0x24209b84, 0x22240582, 0x0b000101, 0x9142f98a, 0x73002108, 0x31891782, + 0x93201789, 0x09411782, 0x23178809, 0x0a000001, 0x1c20478a, 0x16205b82, 0x9220e582, 0x2d891582, 0xcd201587, 0xf588158a, 0x8c030121, 0x07bd4141, + 0x418c9520, 0x71201587, 0x9d891582, 0x03255786, 0x0009002b, 0x83018220, 0x0004210f, 0x20057343, 0x251382f6, 0x0012001d, 0xf3430025, 0x00132405, + 0x82310215, 0x821c2013, 0x0015260f, 0x00170022, 0x24ab8219, 0x00020123, 0x24bf8a08, 0x00200025, 0x89118294, 0x201183bb, 0x2211829b, 0x82240023, + 0x26f7832f, 0x011b0023, 0x8207004d, 0x00132243, 0x20458218, 0x20598226, 0x200f88bd, 0x277f8227, 0x00290129, 0x001e0006, 0x1f201f83, 0x7b202782, + 0x14210d82, 0x06014200, 0x00be0223, 0x834b8205, 0x02232295, 0x830b82bf, 0x00222431, 0x82bc0214, 0x821e200b, 0x00222697, 0x002c0329, 0x24238204, + 0x031d001f, 0x2c098245, 0x001b001e, 0x00800118, 0x03240002, 0x20058244, 0xd1541814, 0x82112084, 0x051341a1, 0xad842920, 0xe9821820, 0x15001522, + 0x21260b82, 0x11002500, 0x1f822200, 0x05821520, 0x35022322, 0x19200d84, 0x16221b82, 0x0b821300, 0x25842320, 0x05821d20, 0x19001422, 0x1c241184, + 0x0f001f02, 0x1b201984, 0x24221582, 0x0b821200, 0x1c001c22, 0x09864b82, 0x84aa0121, 0x8624201f, 0x8c718353, 0x7f022165, 0x22221f82, 0x37821f00, + 0x51841420, 0x29822320, 0x20054341, 0x24518227, 0x00470322, 0x2095820d, 0x206f8223, 0x220f821e, 0x82230023, 0x8224205b, 0x2185820d, 0x1b821e02, + 0x11821120, 0x77921520, 0x1b84b220, 0x57821c20, 0x57821e20, 0x2320dd83, 0x1c245f84, 0xab011500, 0x938b1b84, 0x1d001524, 0x79822000, 0x85032921, + 0x0012211b, 0xa743a983, 0x82222005, 0x0011266d, 0x03150017, 0x82378271, 0x1e00233f, 0x8b821400, 0x89822220, 0x18002022, 0x1e20bb82, 0x83205382, + 0x19221b82, 0x43822200, 0x1d821820, 0x3f881120, 0x15001b26, 0x0c00c102, 0x2a202f82, 0x15204782, 0x04202182, 0x25208782, 0x26200782, 0xa9203582, + 0x8f411982, 0x8218200d, 0x001c24b1, 0x82200216, 0x001f2419, 0x461c0027, 0x514108af, 0x90a72007, 0x00162233, 0x22278225, 0x84da031c, 0x001f2233, + 0x4199821b, 0x03230ca5, 0x440b002e, 0x04220659, 0x8b822200, 0xc1851120, 0x82db0321, 0x220f8717, 0x84230004, 0x8213206d, 0x007d2297, 0x2025820a, + 0x850f821c, 0x82112015, 0x0118221b, 0x22158278, 0x821e0019, 0x84132049, 0x82112071, 0x0223244b, 0x8809007e, 0x001f225b, 0x22378220, 0x82ac031e, + 0x82192013, 0x82182015, 0x822a20cd, 0x00222403, 0x82c00214, 0x82112013, 0x821b20fb, 0x8220204b, 0x00132413, 0x8a720315, 0x8614203b, 0x82cc2097, + 0x82222013, 0x001521f5, 0x23087542, 0x08005402, 0x28204d82, 0x6186d782, 0x82590121, 0x82252011, 0x821c2025, 0x05f947c9, 0x11842b20, 0x2320b383, + 0x29244982, 0x32021500, 0x11221182, 0x21821e00, 0x6f820420, 0x07821920, 0x2388be20, 0x1f001822, 0x1e22bd82, 0x23848000, 0x1b001324, 0xa7852700, + 0x84690021, 0x821f206b, 0x841d2011, 0x011b2411, 0x820700d4, 0x8411202b, 0x821c206d, 0x827d2057, 0x0a07420f, 0x82c40221, 0x8225200f, 0x246583d5, + 0x0124001c, 0x240f8289, 0x00130019, 0x83038229, 0x82652027, 0x8211200f, 0x82132041, 0x23e58273, 0x05004603, 0x12214b82, 0x211b8200, 0x0b828002, + 0x17822220, 0x1d001f24, 0x0b842f03, 0x1b821120, 0xc3021e22, 0x55830b84, 0x34021822, 0x1f220b82, 0xd5822800, 0xd9032322, 0x11200b82, 0x1f245782, + 0xd1011e00, 0x1c200b82, 0x00262d83, 0x00c20214, 0x13820004, 0x03170023, 0x2209862d, 0x82e70115, 0x00112609, 0x00180024, 0x200982f9, 0x223f8215, + 0x84f30022, 0x821c2009, 0x84eb207b, 0x21af8227, 0x2784d700, 0x23002224, 0x0982ad03, 0x47821c20, 0x36021722, 0x25200982, 0x1e22b382, 0x1d84aa03, + 0xcd821220, 0x31866d20, 0x68001422, 0x1f240984, 0x75011b00, 0x1d2c0984, 0x4e011200, 0x25000300, 0xa4011700, 0x15240782, 0x8a011400, 0x23220f84, + 0x07823302, 0xbd821f20, 0x07829120, 0x1e001122, 0xfad15418, 0x1500182a, 0x22002600, 0x1e001f00, 0x25195b4a, 0x13009c03, 0x23821c00, 0x14002522, + 0x23222582, 0x0b821800, 0x39822720, 0x23002222, 0x43830f82, 0x26001126, 0x28012900, 0x519b2782, 0x37841420, 0xb3031e22, 0x1f242782, 0x20001d00, + 0x200a8148, 0x11c54811, 0x9e250121, 0x821c204f, 0x00162683, 0x00820224, 0x20938212, 0x20a38211, 0x2109821b, 0x4b83001f, 0x2420a983, 0x11201f82, + 0x22224386, 0x1b820b02, 0x8b86c589, 0xe9453382, 0x82042005, 0x001c2435, 0x82370124, 0x84112025, 0x84242097, 0x071b46eb, 0x0d821520, 0x2009ab48, + 0x972d824f, 0x851c2025, 0x27012195, 0x0d412382, 0x0025241b, 0x848b0120, 0x001f2275, 0x83338223, 0x821320b1, 0x0020280f, 0x00190024, 0x821e001f, + 0x001e2405, 0x9a350117, 0x23c5866b, 0x10000c02, 0x820aa141, 0x21d78f59, 0x21823403, 0x49821820, 0x8205af48, 0x22cf8257, 0x82240023, 0x236d8611, + 0x0f003601, 0x15201f84, 0x04201582, 0xf98b9182, 0x20002524, 0x1f82de03, 0x1d001f22, 0x15200182, 0x24209b82, 0x210fd145, 0x3f868e01, 0xcd411983, + 0x00042109, 0x0321a386, 0x411f829a, 0x1d20097f, 0x7542e182, 0x82222005, 0x00192475, 0x8438021e, 0x0019221f, 0x0cc34120, 0x1800132a, 0x13001500, + 0x4a031b00, 0x23207f8e, 0x5b838182, 0x1c001c22, 0x22244182, 0x0e009903, 0x220a0341, 0x8415001d, 0x821220db, 0x21218205, 0x1d843902, 0x1c225d8f, + 0xe9821900, 0xdd032422, 0x1e201d86, 0x13200f82, 0x0321d98f, 0x8d1d8249, 0x20778bf9, 0x24778c9d, 0x00250023, 0x8641821e, 0xc40121d5, 0x11201d82, + 0x15209782, 0x14201582, 0x22208b82, 0xd3881b82, 0x92c30121, 0x8224201d, 0x821d2083, 0x012322bd, 0x201d92c2, 0x201d821d, 0x2263821e, 0x84c80223, + 0x001e2295, 0x24118213, 0x00220015, 0x22338217, 0x82120004, 0x23ef8205, 0x0d00af03, 0x1c206d82, 0x1e210d82, 0x20778700, 0x240d8227, 0x011b0015, + 0x201b92c1, 0x24a38220, 0x03230025, 0x221b84b2, 0x84180023, 0x821520c3, 0x00192455, 0x82240023, 0x02222239, 0x411b8256, 0x23200d07, 0x11203582, + 0x18221f82, 0x1b828900, 0x430ded42, 0x0225082d, 0x000c0025, 0x082b4918, 0x1e001b22, 0xb54eb182, 0x8c222005, 0x82122019, 0x24798317, 0x0120001f, + 0x22198631, 0x431b0013, 0x02210d87, 0x24198cc6, 0x001f0014, 0x82f58225, 0x550221e9, 0x9f8d1982, 0x24241d83, 0x6d012300, 0x19211982, 0x09374f00, + 0x35821e20, 0x13002426, 0x85021800, 0x8b441982, 0x82112005, 0x8224200f, 0x8414206b, 0x00132285, 0x281982af, 0x001d0011, 0x00220015, 0x20178211, + 0x20098222, 0x220b8224, 0x86a9001f, 0x09394581, 0x2106e342, 0x3384a400, 0x260d7541, 0x001c0011, 0x8c8d0024, 0x0af94eb5, 0x92ae0321, 0x82142033, + 0x00292271, 0x83679088, 0x82162059, 0x00e3224d, 0x0aab430b, 0x21086941, 0x1782bf00, 0x2420af83, 0x1620c382, 0x13200382, 0x24202582, 0xbb20b782, + 0xbf831782, 0x13821420, 0x1783e383, 0x14002224, 0x8549ca02, 0x42192008, 0x1920063d, 0x15225d82, 0x17822702, 0x2209b141, 0x82250021, 0x0015241d, + 0x8631031e, 0x00042277, 0x20598412, 0x24178224, 0x01290022, 0x444784c9, 0xf5840b1b, 0x8c230221, 0x00122247, 0x22b5841f, 0x84170114, 0x8614202f, + 0x82222073, 0x001e2815, 0x01180013, 0x820a007c, 0x821c200b, 0x0025220b, 0x2461841c, 0x0322001f, 0x4415829b, 0x2d830939, 0x1e001924, 0x15822602, + 0x2020a389, 0x27242d82, 0xe2001e00, 0xab414184, 0x82042005, 0x00152243, 0x20d18216, 0x41158ce0, 0x032106ad, 0x44578c76, 0x02210691, 0x21578c24, + 0x6b82001b, 0x03170023, 0x2a418473, 0x0020001d, 0x00220017, 0x8225001f, 0x0314226b, 0x221584b0, 0x4b14001e, 0x1e20085d, 0xa820d382, 0x1f424186, + 0x82252009, 0x82902037, 0x24398315, 0x00230023, 0x20ad8218, 0x22478219, 0x8c280223, 0x241f836d, 0x021b001f, 0x46158481, 0x01210ed1, 0x23158686, + 0x00240022, 0x9983db83, 0x84011522, 0x1120158c, 0x15265582, 0x01021100, 0xfd820900, 0x210cef44, 0x13828501, 0x3f857983, 0xd9822020, 0x32031522, + 0x11201382, 0x2006034c, 0x24958222, 0x03180023, 0x833b8477, 0x001422e3, 0x24ad8204, 0x011e0025, 0x2213827f, 0x8220001f, 0x822220e7, 0x82172037, + 0x012422c1, 0x833b868d, 0x4420208d, 0x0021053f, 0x20638cae, 0x24518212, 0x00e10022, 0x0aad4208, 0x20002524, 0x1184c502, 0x1e001e22, 0x12201782, + 0x23224f82, 0x11843702, 0x6d842020, 0x15001c26, 0x22012300, 0x4b431184, 0x8298200b, 0x0c374811, 0x82cb0221, 0x00222111, 0xbf479783, 0xb2002106, + 0x1d202386, 0x1e264382, 0x23002400, 0x1184c702, 0x1b001322, 0x11200d82, 0x1c226b82, 0x59843303, 0xdb842220, 0x14001922, 0xa6222982, 0x45820700, + 0x2108bf42, 0x0f863401, 0x9f822020, 0x93822320, 0x0f84e420, 0x25001c24, 0xb3821d00, 0x30032322, 0x86063f4b, 0x0b012375, 0x97530600, 0x82f4200a, + 0x001f220d, 0x24018216, 0x02150015, 0x200d84c9, 0x247f821f, 0x03150019, 0x470d82b1, 0x2422071d, 0x0d82dc03, 0x7f821820, 0x1b82ef82, 0x0d82df20, + 0x63822220, 0x13002426, 0x83021800, 0x25221b84, 0x0d832200, 0x846b0021, 0x078d4437, 0x0500d024, 0xb1821c00, 0x14002524, 0x0b825a01, 0x7d821820, + 0x0b821c20, 0x1786b120, 0x77821e20, 0x17842120, 0x23225983, 0x0b847503, 0x25821120, 0x57022222, 0x1f200b82, 0x13206582, 0x84206382, 0x19200b84, + 0x0221d383, 0x200b8287, 0x24538222, 0x031e0027, 0x240b864b, 0x01230023, 0x220b825d, 0x82120025, 0x002321a5, 0x1c203b83, 0x13202382, 0x4f20cd82, + 0x15205384, 0x1b249d82, 0x04005c01, 0x23835182, 0x0982b120, 0x17001f22, 0x16203782, 0x4f830982, 0xd3002022, 0x20241384, 0x13012900, 0x14200984, + 0x86209d82, 0x27221d86, 0x09824803, 0x24001928, 0xd2002900, 0x45820300, 0x74032422, 0x11200782, 0x55201182, 0x4b820782, 0x845f0121, 0x0022210f, + 0x55d15418, 0xad821920, 0x11227f83, 0x89821c00, 0x11002422, 0x1820d182, 0x1722e382, 0x0b822200, 0x18002026, 0x1000ce02, 0x16200b84, 0x19219382, + 0x053b4900, 0x21821320, 0x42001d21, 0x032b061f, 0x000e007c, 0x00250022, 0x8423001d, 0x05b54623, 0x19001222, 0x15240d82, 0x0d00b503, 0x20201b84, + 0x15211d84, 0x05e55300, 0x07821920, 0xd0021522, 0x39851b82, 0x1d860420, 0x87821520, 0x1e225783, 0x1b823d02, 0x0d821f20, 0x29001c22, 0x16209982, + 0x11200982, 0x12284f82, 0x14001500, 0x0c003603, 0x27209384, 0x20201982, 0x23838b82, 0x07821720, 0x4c031e22, 0xe5431982, 0x861d2005, 0x001122cb, + 0x232b831b, 0x0b009002, 0x1f202182, 0x13207f84, 0x1f224d82, 0x4b832300, 0x843a0121, 0x841c2017, 0x0715435f, 0x1e001726, 0x0a003503, 0x2220c182, + 0x13202382, 0x19207782, 0x1e243b82, 0x50012300, 0x1f201582, 0x210f8b56, 0x2b848d02, 0x2b821320, 0x1b820420, 0x83001821, 0x02152435, 0x88090091, + 0x001f2271, 0x221d8220, 0x823a021e, 0x82192013, 0x82618299, 0x2281831b, 0x848a0223, 0x203d8513, 0x24158216, 0x02220025, 0x28138c89, 0x00260019, + 0x00780315, 0x85918208, 0x82142027, 0x0306220b, 0x2205829e, 0x821d0015, 0x82132033, 0x00112473, 0x8a8e0224, 0x00242623, 0x031f0027, 0x201182b4, + 0x41238225, 0x0221087f, 0x22118629, 0x82120012, 0x21f98293, 0x11826201, 0xb9821120, 0x11821120, 0x82001121, 0x8c022195, 0x2320478a, 0x28227582, + 0x118a8b02, 0x1e001f22, 0x59203982, 0x1f221182, 0x0b822700, 0x81821c20, 0x14001128, 0x07007d03, 0x0f822500, 0x1d821720, 0x01212382, 0x200f8204, + 0x204f8215, 0x245b821b, 0x0320001f, 0x210f8279, 0xc1870019, 0x8f020c24, 0x5b820600, 0x03822620, 0xdf821420, 0x0d827b20, 0x11002224, 0x4d821700, + 0x58021e22, 0x67830d82, 0x3b821120, 0xcd021524, 0x25820500, 0x2a002a26, 0x3c022900, 0x19420b82, 0x88022306, 0x13410400, 0xd7012105, 0x15200982, + 0x16223d82, 0x09825902, 0x26001f26, 0xcf021500, 0x22200982, 0x1d249182, 0x03003b02, 0x11229782, 0x55437a03, 0x18002005, 0x2035d154, 0x238b8328, + 0x1e002200, 0x1c206782, 0x49088546, 0x87560ea3, 0x00a22408, 0x82280014, 0x821c20ed, 0x4c1d202d, 0x1f82096b, 0x43822420, 0x7b571920, 0x4d032309, + 0x53821200, 0x0021b182, 0x22fb821c, 0x84150020, 0x200783c1, 0x202d841e, 0x22478215, 0x829c0024, 0x494f9525, 0x02210a51, 0x99578208, 0x821120a7, + 0x02242261, 0x20238400, 0x20818420, 0x4e618214, 0x5422137f, 0x93900f00, 0x4d002321, 0x01230817, 0x900d00db, 0x07e5421f, 0x0c000a22, 0x1820f984, + 0x9b4b6184, 0x25798405, 0x0b008101, 0xdf842900, 0x45001421, 0x2020051f, 0x22220d82, 0x17821b01, 0x0123db92, 0x820a002d, 0x001c26b1, 0x00200019, + 0x20058223, 0x22ad8223, 0x922c0126, 0x00182415, 0x860900a1, 0x08994b5b, 0x82380121, 0x84252013, 0x84042069, 0x8217203f, 0x00e822b3, 0x21b98d08, + 0x1182b603, 0x18002422, 0x19828983, 0x24001526, 0x06009202, 0x1c24eb86, 0x1e012300, 0x20069942, 0x20218423, 0x210d8297, 0x3d410028, 0x00872407, + 0x441a0005, 0x7d200625, 0x14289d82, 0x24001900, 0x0300a000, 0x03218b83, 0x250782e0, 0x00170017, 0x5418003c, 0x1f207bd1, 0x2420d582, 0x112a9b82, + 0x15002700, 0x1f002300, 0x07821d00, 0x1c000422, 0x17200982, 0x04240382, 0x25001600, 0x1c240d82, 0x1300d702, 0x1c20bf82, 0x19201d84, 0x26203582, + 0xb1431d82, 0x831f2009, 0x11002523, 0xd8022200, 0x19200582, 0x15200d82, 0x20225582, 0x55842200, 0x07821320, 0x20001922, 0x1920fd82, 0x1e223582, + 0x23842301, 0x04201b83, 0x28201f82, 0x20083f46, 0x20618225, 0x056d4123, 0x003f0223, 0x556f8810, 0xad840c23, 0x24001c26, 0x0f006601, 0x20202188, + 0x83087b51, 0x249f8309, 0x00d90224, 0x201f880e, 0x20098223, 0x20b58217, 0x266b8211, 0x00220025, 0x82110115, 0x821c201d, 0x82172087, 0x8413204f, + 0x00132273, 0x828d821b, 0x1400251b, 0x0d002a02, 0x1f205182, 0x29572d82, 0xd2022110, 0xe1871b82, 0x25821320, 0x25821e20, 0x49822220, 0x24001324, + 0x1b825003, 0x67822520, 0x49821e20, 0x894f1c20, 0xd302210d, 0x1420378a, 0x1e20af84, 0x20088f50, 0x065f4e7f, 0x33822420, 0xe7547183, 0x6801230a, + 0xc7880c00, 0xbb821120, 0x21081559, 0x19824e03, 0x1c001f22, 0x4f08e556, 0x6c200905, 0x99831984, 0x99820320, 0x210adb41, 0x4d8ad602, 0x210cc741, + 0x198a3e02, 0x200d7141, 0x21198285, 0xf1570011, 0x82162005, 0x002222b9, 0x26558227, 0x03140022, 0x820b007f, 0x2019859b, 0x20138222, 0x24258219, + 0x02140015, 0x201782d1, 0x230f8215, 0x00180024, 0x2605d947, 0x001c0011, 0x84dd0224, 0x001e222f, 0x22158417, 0x82220020, 0x821e203d, 0x84da2017, + 0x055d4217, 0x200ba751, 0x201784f8, 0x20458217, 0x22318424, 0x821a0004, 0x00242207, 0x8b1782ad, 0x075f44f9, 0x478ad520, 0x1d001924, 0xad842000, + 0xd4022422, 0x1522178a, 0x17872800, 0x8e4f0321, 0x82202047, 0x002524a5, 0x4ce00223, 0x27250695, 0x04001e00, 0x215d8600, 0x15826701, 0x2007f941, + 0x205d8219, 0x21c78311, 0x158a6a01, 0x2306b146, 0x65011f00, 0x7183158a, 0xb7821320, 0x69011c22, 0x1124158a, 0x14002500, 0x1f24ff82, 0x09006b01, + 0x2008e141, 0x246d8213, 0x01150014, 0x20138a64, 0x22c58427, 0x84400214, 0x41222013, 0x11200689, 0x14223382, 0x1384dc02, 0xb7821c20, 0x4d820420, + 0x13822220, 0x9f032024, 0x0f820800, 0x9d821120, 0x63820420, 0x11002324, 0x1182d803, 0x43001921, 0x11200571, 0x24221b82, 0x11846301, 0x20057141, + 0x22398220, 0x8a400116, 0x21238411, 0x118a7e03, 0x75821320, 0x84002624, 0xff410700, 0x9302210b, 0xe7410f82, 0xdf02210a, 0x1c200f82, 0x18207384, + 0x1424ef82, 0x06004901, 0x1d220782, 0x73821100, 0xcb001522, 0x19200d82, 0x24200982, 0x22221382, 0x0d827601, 0x24002524, 0x51821200, 0xac001c22, + 0xd1410d82, 0x00d12209, 0x24c18405, 0x011b0023, 0x09814b0d, 0x009f0023, 0x24e18204, 0x02150022, 0x20098294, 0x22398222, 0x843f0117, 0x821c2013, + 0x86db2013, 0x021c2209, 0x240984de, 0x00180023, 0x4409826c, 0x5f2005e5, 0x1c200982, 0x17228982, 0x1d844b00, 0x1d001c26, 0x03005801, 0x28201182, + 0x5ad15418, 0xaf822220, 0x11482020, 0x00152208, 0x200b8223, 0x82ff8326, 0x001922f9, 0x247d8213, 0x00f0021c, 0x06094312, 0x15820420, 0x1722ad83, + 0x23822500, 0x2d820420, 0x09822120, 0x1e001926, 0x98022400, 0x6d412584, 0x05534305, 0xdf822420, 0x1b821120, 0x2b820420, 0x11242783, 0xe1021c00, + 0x03825183, 0x69842320, 0x09821d20, 0x53822220, 0x19204183, 0x21827982, 0xec204982, 0x13831584, 0x1f82618c, 0x49822420, 0x22001128, 0xf1022300, + 0x93961000, 0xd1822720, 0x1b001e26, 0x0f00f302, 0xdd832184, 0x1f001822, 0x2a200b84, 0x1e200782, 0x67826f82, 0x86e90221, 0x821e201f, 0x84122057, + 0x821d2057, 0x00232209, 0x260b8427, 0x00e30224, 0x821c000e, 0x201b832f, 0x62918204, 0x23220b55, 0x1d825601, 0x15822220, 0x25001422, 0x200c2149, + 0x240d8213, 0x00f40220, 0x417b880d, 0x03210e4d, 0x201b82b9, 0x0801411c, 0x18002722, 0x2322af82, 0x75821b00, 0x45002922, 0x1d411b8c, 0xba03230c, + 0x8f8a0c00, 0x77821520, 0xf9432220, 0x97022105, 0x22201982, 0x0582b585, 0xc5822220, 0x21067941, 0x338ce202, 0x16001122, 0xa3829584, 0x84b80321, + 0x00112119, 0x20058741, 0x20858213, 0x243b8415, 0x00ea0223, 0x0859410b, 0x55841820, 0x24002226, 0xef022300, 0x2421178a, 0x08054200, 0x8aeb0221, + 0x00232117, 0x22090f42, 0x410a00e4, 0x23200c3f, 0x1122e782, 0x1582ee02, 0x09822220, 0xa5841e20, 0x11001522, 0x23226b82, 0x1582a001, 0x0f5d1520, + 0x821c2008, 0x21978275, 0x2b8aed02, 0x83822320, 0x03212b84, 0x421586bb, 0x02230cb5, 0x8209002b, 0x821c2093, 0x000422e1, 0x24558212, 0x021c001c, + 0x201382f2, 0x426b8622, 0xe8200715, 0xf541138a, 0x95022306, 0x31820800, 0x91822320, 0x25002028, 0x20001d00, 0x1182e702, 0x11203987, 0x2424c582, + 0x07005103, 0x1f835f82, 0x2b822220, 0x0f011d22, 0x67540f82, 0x82202005, 0x0214220f, 0x200f8296, 0x2045841c, 0x21bd8323, 0x0f82e502, 0x1d204183, + 0x13261382, 0xbd031500, 0x5b820600, 0xc5861920, 0x0500ea22, 0x26201782, 0x1c222982, 0x0b82c800, 0x21066742, 0x0b828003, 0x67821820, 0x0321ed82, + 0x200b82b7, 0x24cf8219, 0x00230024, 0x849b829d, 0xe602210b, 0x99840982, 0x000d0223, 0x203f8203, 0xd154181d, 0x00112478, 0x8214001e, 0x001d228d, + 0x21078219, 0xab450014, 0x00162305, 0x3f470019, 0x5b022306, 0xa94b1200, 0x20d58308, 0x8527821c, 0x0004211d, 0x23085942, 0x10005c02, 0x25222598, + 0x33822300, 0x218ac020, 0x59083f49, 0xb32a0cd9, 0x1f000f00, 0x22002500, 0x87821700, 0x4207d542, 0x24220733, 0x1f82c300, 0xaf861120, 0x1420418b, + 0x27203582, 0xc1201782, 0xd3831f96, 0x24001624, 0x5f844202, 0x20002322, 0x2420dd82, 0x1c20ad82, 0x23247d82, 0x1d002900, 0x25051d46, 0x0e00f502, + 0x17821500, 0x21821420, 0x53821820, 0x0d821e20, 0x2009e162, 0x911d82b4, 0x8418209d, 0x01162447, 0x920d00b5, 0x841520bb, 0x82c220ad, 0x24b7931b, + 0x02200025, 0x831b885e, 0x82182069, 0x841c2071, 0x001e249f, 0x88b90117, 0x0004241b, 0x82130023, 0x822320b5, 0x001f2807, 0x02230022, 0x820c0041, + 0x26cb8d6f, 0x001c0011, 0x82bc0124, 0x246d9119, 0x03220015, 0x20338487, 0x20438225, 0x20f98215, 0x20b98214, 0x2403821d, 0x02150017, 0x41338a5a, + 0x03210ce3, 0x431982be, 0x354a05df, 0x82222005, 0x001b2175, 0x0223d782, 0x820b002c, 0x0013210b, 0x29200d83, 0x20224f82, 0xa3822500, 0xbf031b22, + 0x8308d150, 0x82122015, 0x0022262b, 0x01290022, 0x871782ba, 0x821c2097, 0x822a20cb, 0x0022247b, 0x49f70214, 0x1583087d, 0x23088549, 0x0a009902, + 0x13833b82, 0x67821320, 0x24002022, 0x22220d82, 0xf555bb01, 0x82042008, 0x852020c7, 0x83032181, 0xa1831584, 0x59892720, 0x82c00321, 0x821f2015, + 0x8223207b, 0x00042139, 0x2205ab42, 0x8ab80114, 0x82202041, 0x84202083, 0x8cbd2057, 0x20f18315, 0x20178213, 0x21838460, 0x11420011, 0xb701230c, + 0xeb420900, 0x85222008, 0xb6012181, 0x1d421382, 0x9301210e, 0x3b411382, 0x05a54407, 0xda012422, 0x89563b88, 0x001b2405, 0x84e10315, 0x001d2213, + 0x06fb4212, 0xb3821520, 0x0800fa22, 0x210d7b59, 0x1182f500, 0xf3841f20, 0x24001922, 0x1c227f82, 0x11828203, 0x1e001122, 0x1b203582, 0x1124f582, + 0xe3031800, 0x22201184, 0x0420af82, 0x1126ef82, 0x88032400, 0x4d820700, 0x26002922, 0x19242782, 0xf6021100, 0xe3420f82, 0x82232005, 0x012422df, + 0x200f8870, 0x22218219, 0x826f0117, 0x8219200f, 0x82242065, 0x002224d7, 0x82ce0129, 0x8211200f, 0x8418200f, 0x02172273, 0x200f82f8, 0x200b821f, + 0x26038204, 0x03120025, 0x82060053, 0x0029228b, 0x2091841b, 0x830d82e4, 0x8214201d, 0x0317223d, 0x200d8284, 0x84198219, 0x81032159, 0x1d222984, + 0x77821d00, 0x5d022224, 0x43410500, 0x02232206, 0x830b82f9, 0x00152435, 0x8285031c, 0x0019220b, 0x22018220, 0x8486031f, 0x82222017, 0x0315227d, + 0x202f8452, 0x220b821d, 0x82480011, 0x0757410b, 0x04005622, 0x1d206b82, 0xbd225382, 0xf7820300, 0x54181420, 0x142026d1, 0x13203782, 0x51058142, + 0x8f260831, 0x1e000b00, 0x4f821600, 0x50000421, 0x03230ad3, 0x820900e5, 0x8415200f, 0x05a14731, 0xdf011d26, 0x14000800, 0x12201182, 0x14264382, + 0x15001700, 0x1182c501, 0x13821e20, 0xa3822520, 0x22002424, 0x9b182900, 0x25200877, 0x23200d82, 0x22225582, 0x23849a02, 0x19001622, 0x19226782, + 0x23822400, 0x0700e022, 0x8b864784, 0x82c10321, 0x227b830f, 0x821c0013, 0x012326d3, 0x000600f8, 0x05a5431d, 0x77205782, 0x63830d82, 0x3f821520, + 0x6e002422, 0x24200d82, 0x1c201b82, 0x13244f82, 0x0500c203, 0x1c208782, 0x1f226782, 0x0b827900, 0x5a203587, 0x1e220b82, 0x17821200, 0x1a012822, + 0xe185b182, 0x0bd15418, 0x2005b742, 0x2449841e, 0x00270004, 0x204f8218, 0x227f821c, 0x82fa0223, 0x841f203b, 0x032422ad, 0x203b8254, 0x20ab8215, + 0xd1541819, 0x48192016, 0xa3470685, 0x089d6006, 0x24002226, 0x0900fc02, 0x2006bd44, 0x20898204, 0x22698215, 0x849b021d, 0x832d8313, 0x00192613, + 0x01140022, 0x225b8210, 0x84290015, 0x831120ad, 0x57032111, 0x1820e382, 0x1e282f82, 0x11001400, 0x05005603, 0x11200b82, 0x11221f82, 0x6182fb02, + 0xb0237385, 0x83000300, 0xd1541835, 0x001f2147, 0x52056756, 0x04200997, 0x1c227582, 0xad462400, 0x00fd230c, 0x299b0013, 0x93821c20, 0x24001624, + 0x279efc01, 0xbd461420, 0xff012105, 0x4f9b6382, 0x20002526, 0x0f009d02, 0x4b08cb5d, 0x03231297, 0x820e00e6, 0x82202045, 0x001f22a9, 0x0f4b5f20, + 0x000e0223, 0x483d820e, 0x1b6005af, 0x08e95008, 0x1d821520, 0xab821f20, 0x6f561120, 0x22f58308, 0x83220022, 0x0003239f, 0x59820c00, 0x17002524, + 0x31821800, 0x210a214a, 0x19820203, 0x17201783, 0x42088d6d, 0x242205cb, 0x19820f02, 0x87001521, 0x0025226f, 0x236b8720, 0x0b003803, 0x29202d82, + 0x22208d82, 0x17201382, 0x1f826384, 0x84370321, 0x20bf8917, 0x267b8213, 0x03150014, 0x8a0a0001, 0x0661427d, 0x82d90121, 0x05736d15, 0x19002624, + 0x03822300, 0x1e001f24, 0x2b8cff02, 0x2306134c, 0x09009c02, 0x210f3941, 0x13826c01, 0x16001922, 0x2408cd6d, 0x0117001e, 0x20138452, 0x206d8222, + 0x20518404, 0x20518217, 0x24138210, 0x0013001f, 0x22ab821b, 0x8220001f, 0x001e222f, 0x2e2784ef, 0x00180017, 0x00120024, 0x001c0025, 0x66580312, + 0x1d200861, 0x22243f82, 0x57011b00, 0xab6e1186, 0x825d2009, 0x20ab8311, 0x204b8224, 0x22358211, 0x45d80024, 0x04200871, 0xd9204784, 0x1f260f8a, + 0x05011c00, 0xd3410600, 0x00b7220a, 0x227f8205, 0x821f001d, 0x82fe2097, 0x8211200b, 0x82172033, 0x829e2085, 0x8215204f, 0x00162227, 0x06174375, + 0x5e002422, 0xb7850982, 0x1384cf20, 0x1b001e22, 0x72d15418, 0x13001924, 0xaf822200, 0xa5822020, 0xbd82b582, 0x55094d43, 0x02210829, 0x062543a1, + 0x29001522, 0x1224ab82, 0x1c001900, 0x04220182, 0xd3822700, 0x33892620, 0x00080323, 0x200d8210, 0x20238218, 0x83538222, 0x00192423, 0x8417001e, + 0x822920fd, 0x01232219, 0x93218221, 0x226b8973, 0x820f00a3, 0x821e203b, 0x536b832d, 0x97860997, 0x8ca00221, 0x238b901f, 0x0e001402, 0x1f893f8a, + 0xb1821120, 0x12022422, 0x7f931d82, 0x11201d85, 0x2106a143, 0x23420004, 0x0bb95206, 0x92040321, 0x4314201d, 0xac2208a1, 0x77820d00, 0x23002522, + 0x04213382, 0x09014b00, 0x22001524, 0x1b829e01, 0x66001121, 0x23220515, 0x09822400, 0x1b001f22, 0x18222784, 0x1b989d01, 0x0a032622, 0x22205384, + 0x3d833182, 0x15205583, 0x24205f82, 0x152ac982, 0x0c003001, 0x1e001900, 0x11822500, 0x200d9564, 0x47198c8b, 0x02230a2b, 0x410b00a2, 0x0121135b, + 0x9217829c, 0x9a01219f, 0x1420178a, 0x25223982, 0x7b841200, 0x0a009122, 0x24200d82, 0x22240382, 0x29001300, 0x1c240382, 0x13021500, 0x71411584, + 0x44152005, 0x0320084d, 0x11221582, 0x0f822000, 0x22095341, 0x82390314, 0x07874115, 0x13002322, 0x20244982, 0x20011500, 0x2020158a, 0x20089142, + 0x425784df, 0x5f850711, 0x7a001c22, 0x22265792, 0x09000703, 0x39821500, 0xa9840420, 0x1e001126, 0x59031b00, 0x11221382, 0xb9821900, 0x25201583, + 0x1b220782, 0x1382ec01, 0x13207f87, 0x19242f82, 0xc7012000, 0xa9832784, 0x2d822320, 0x3b821720, 0x09032326, 0x1f000800, 0x25220982, 0x57821d00, + 0x24001e24, 0x11848a03, 0x13822520, 0x83002421, 0x011e2455, 0x82070096, 0x8222201b, 0x002526c5, 0x01290022, 0x850f82c6, 0x822020f1, 0x031e2247, + 0x201f845a, 0x2047821e, 0x22318222, 0x82c40318, 0x0025240f, 0x84040017, 0x032428e1, 0x000600c3, 0x82240019, 0x00152401, 0x8207011e, 0x821f200d, + 0x22af83bd, 0x82f70015, 0x0015240d, 0x831b0014, 0x9e022121, 0x1d200d84, 0x29224984, 0x0d82a700, 0x47821120, 0x7d821e20, 0x5b032422, 0xfb453784, + 0x03152105, 0x20059744, 0x24378222, 0x03220015, 0x203784a0, 0x20278224, 0x22a1821f, 0x820500dd, 0x82172087, 0x03132251, 0x830b8206, 0x0011245f, + 0x829a001c, 0x0751420b, 0x0b824620, 0x23002522, 0x01212383, 0x20a9824c, 0x2273821f, 0x824a011e, 0x22298309, 0x6a950115, 0x89200887, 0x232c0984, + 0x0e011b00, 0x15000300, 0xc8011800, 0x11220782, 0x54182000, 0x152010d1, 0xc754e182, 0x821b2005, 0x82272033, 0x8222205b, 0x0214242f, 0x820d0044, + 0x8224205d, 0x4723200b, 0xa4221015, 0x1b840900, 0x210adf52, 0x13827a01, 0x27001522, 0x214c9d82, 0x849f2009, 0x822520e1, 0x18ef8261, 0x2012d154, + 0x08875912, 0x25000424, 0xab621e00, 0x01202508, 0x000c00ae, 0xef461d8b, 0x003a2209, 0x20a38207, 0x2293821c, 0x82110013, 0x82762033, 0x2061830f, + 0x06094214, 0xe1828c20, 0x71852420, 0x005c0326, 0x001d0002, 0x85d15418, 0x82147159, 0x001222c5, 0x22ad821f, 0x451c0024, 0x022309b1, 0x59130047, + 0x2f8d15a1, 0x005f0323, 0x20378210, 0x06694b11, 0x16001f22, 0xcb411f82, 0x00232a05, 0x00190018, 0x00110320, 0x2021840f, 0x205d841e, 0x22058214, + 0x82110020, 0x0024225b, 0x22058225, 0x82a80215, 0x0022221f, 0x0a87411f, 0x37821420, 0x17001122, 0x11261d82, 0x5d031d00, 0x2f820e00, 0xa1822320, + 0x5d821120, 0x19203983, 0x1e200f82, 0x23242382, 0x5f021d00, 0x20062545, 0x20818211, 0x20518218, 0x83658424, 0x032822d1, 0x201b8210, 0x442b841c, + 0x22200575, 0x19225182, 0x11822600, 0x63031c22, 0x22201b82, 0x29200982, 0x20089b6f, 0x08d94c18, 0x0c006022, 0x1f224582, 0xb7822000, 0x83053f4c, + 0x00222475, 0x82120329, 0x14454119, 0x84a10321, 0x00222233, 0x54c98223, 0x1f2005d5, 0x24240982, 0x0f031800, 0x1e201984, 0x69449f82, 0x00222405, + 0x821c0025, 0x0322225f, 0x2019820b, 0x207f8411, 0x0a194724, 0x22001524, 0x1982d301, 0x49841820, 0x26207f83, 0x1c200982, 0x1d243582, 0xca011500, + 0x4606d149, 0xc345054d, 0x1f01210a, 0x25221982, 0x01822a00, 0x04205d83, 0x1920bd82, 0x13206582, 0xb9200382, 0x09444d8c, 0x00112105, 0x0123c782, + 0x440b0082, 0x002005ab, 0x12208183, 0x25261382, 0x18002300, 0x17846e01, 0x3b822020, 0x99822220, 0xaf822020, 0x1e001122, 0x2f207d82, 0x1c201782, + 0x81473182, 0x081f6805, 0x82e90321, 0x84192017, 0x8211207b, 0x0883702f, 0x84fb0021, 0x1089462f, 0x82150221, 0x47df8917, 0x002108e3, 0x8b2f8a8a, + 0x003926db, 0x001f000a, 0x20838225, 0x265f8414, 0x00170019, 0x8232011e, 0x82152015, 0x0ce54613, 0x86f90121, 0x00132115, 0x20056f41, 0x22bd8211, + 0x82490224, 0x82222015, 0x00132443, 0x42140015, 0x00230579, 0x82610223, 0x82192015, 0x4817204b, 0x112006bf, 0x1b224d82, 0x4184e803, 0x87002021, + 0x821820ff, 0x02242237, 0x221584a7, 0x43130022, 0x002105e5, 0x24378211, 0x000d0315, 0x220f8409, 0x82160004, 0x821e2011, 0x0029221d, 0x062f46d4, + 0x83001521, 0x821c202d, 0x03202287, 0x201382a2, 0x8347821f, 0x822420ab, 0x00222407, 0x8471011d, 0x84222027, 0x24058349, 0x00180020, 0x20278453, + 0x20538227, 0x20e98222, 0x2455821f, 0x00160216, 0x20318408, 0x204f8224, 0x224d8211, 0x820c0324, 0x00112211, 0x20018223, 0x23198520, 0x0700a602, + 0x22224782, 0x1f821b00, 0x17001e24, 0x0f84a502, 0x47821c20, 0x24002426, 0xcf011500, 0x8f850f82, 0xe3821520, 0xfb012422, 0x1e200f84, 0x20088d47, + 0x200f880e, 0x2241821e, 0x82e80112, 0x001f240f, 0x82130014, 0x00232655, 0x00610324, 0x22698206, 0x821c001c, 0x02182231, 0x200d8245, 0x840b8211, + 0x5e03235f, 0x67820500, 0x2b821120, 0xe7031522, 0x11220b82, 0x0f821700, 0xb8002222, 0x18200b82, 0x2006c542, 0x200b82a3, 0x204b821c, 0x2019821e, + 0x822384ee, 0x200b8255, 0x220b8482, 0x82230025, 0x826a200b, 0x8222200b, 0x001e247d, 0x82460224, 0x8419200b, 0x01232261, 0x26738279, 0x0025001c, + 0x823b0317, 0x821f2009, 0x03202251, 0x24098460, 0x031c001c, 0x43098262, 0x812005c9, 0x11242784, 0x99002900, 0x55820984, 0x005b0123, 0x22758203, + 0x82fa0127, 0x21f98207, 0x0782f701, 0x54184183, 0x252013d1, 0x95838382, 0xdd6f1920, 0x09012311, 0x81820b00, 0x24001f22, 0x230d457a, 0x0a000801, + 0x1c20178a, 0x16201d82, 0x2d22bd82, 0x15820900, 0x14001922, 0x19200182, 0x13263382, 0x19011800, 0x13820800, 0x89001521, 0x00642661, 0x00220006, + 0x05d55b13, 0x82640321, 0x822520f1, 0x0011220f, 0xd154181e, 0x06614440, 0x00040022, 0x22137d59, 0x440e00ae, 0x715a0783, 0x8cac2012, 0x249d831d, + 0x0012001d, 0x28958219, 0x03140015, 0x000d00c6, 0x4ed58411, 0x1c260d71, 0xa4032400, 0xff820a00, 0x5b822020, 0x1c001222, 0x13203182, 0x1e222982, + 0x1584bf01, 0x0f821720, 0x2005f141, 0x22238222, 0x823d0114, 0x7a252015, 0x232008ef, 0x17241d82, 0x3b011e00, 0x20201584, 0x15202182, 0x200ae743, + 0x2015822e, 0x0fcd4a23, 0x00c50323, 0x21898f09, 0x13821401, 0x20001522, 0x29207d82, 0x11203f82, 0x1c260782, 0x0800f601, 0xb1821500, 0xeb421f20, + 0x84c72008, 0x076f4b11, 0x1d001f26, 0x07005e01, 0xb14a2382, 0x86a92009, 0x8215200f, 0x82202097, 0x82a320d9, 0x8211200f, 0x001e280b, 0x001f0012, + 0x828e0327, 0x0025220f, 0x2001821e, 0x22038219, 0x84aa0017, 0x0024222f, 0x24b98427, 0x00620224, 0x202d8206, 0x222d8412, 0x8224011e, 0x001f240d, + 0x821b0013, 0x0024221d, 0x200d82a5, 0x20358211, 0x26498214, 0x00ab021d, 0x82250005, 0x001524a7, 0x82630222, 0x821f200b, 0x0024240d, 0x84aa0215, + 0x226d830b, 0x82170224, 0x8515200b, 0x8d0321d5, 0x7385c582, 0x09825b20, 0x5820d785, 0x1f220982, 0xe3821100, 0x0300bc24, 0x01822300, 0xe5d15418, + 0xf3822420, 0xfb822220, 0x20054d41, 0x0ab14804, 0x1e001526, 0x45012400, 0x1f241f82, 0x24002200, 0x1e232382, 0x5c002500, 0x47510945, 0x1e032308, + 0x19821000, 0x23821920, 0x4e091d79, 0x01210ca3, 0x20218274, 0x5f498218, 0xe3550a21, 0x9003210d, 0x1b202182, 0x1d454582, 0x82132005, 0x001f2271, + 0x22018223, 0x821f0012, 0x00152487, 0x82430123, 0x20898721, 0x20878211, 0x822d821f, 0x204782a1, 0x05475214, 0x00660325, 0x8415000f, 0x00132265, + 0x20178218, 0x8317821c, 0x00242291, 0x22098219, 0x8246011e, 0x24cb971f, 0x03200025, 0x731f8268, 0x1f200d79, 0xaf503782, 0xcd012108, 0x18201f82, + 0x20221182, 0xf1482000, 0x82122008, 0x4223206f, 0x01210595, 0x225f8a41, 0x821c0011, 0x41f38325, 0xc9220927, 0x2d820e00, 0xa3822420, 0x4505bd4f, + 0x14200507, 0x23244b82, 0x44011800, 0xdf951d82, 0x9b822520, 0x0d00ce22, 0x19206582, 0x1e207788, 0x22218782, 0x223b8300, 0x82650313, 0x20f78b1b, + 0x831b8214, 0x00112461, 0x82530122, 0x8220201b, 0x82132075, 0x00042175, 0x00236782, 0x82240025, 0x001c2401, 0x82220315, 0x8227201b, 0x001d2251, + 0x2057881d, 0x243b8220, 0x031c001f, 0x201b826a, 0x47378224, 0x04200741, 0x11226b82, 0x27822600, 0x1d031422, 0xe1831b8a, 0x16001c22, 0x2008fb5e, + 0x201b824a, 0x41258218, 0x16200b23, 0x23244782, 0x42012400, 0xe1891b82, 0x24091f41, 0x01200025, 0x211b82d8, 0x40180019, 0xda2015e5, 0x24221b82, + 0x55822200, 0x2005fd43, 0x220b8218, 0x8225001f, 0x0018222d, 0x216f84ab, 0x6f8b001f, 0x6f821320, 0xe3822220, 0x37847e20, 0x1b821520, 0x63000421, + 0xcc230ff5, 0x41000c00, 0x172213cb, 0x1982f401, 0x49448987, 0x82042005, 0x821c204f, 0x843320bf, 0x82112033, 0x4215207d, 0x3d200ebd, 0x2d411982, + 0x821c200d, 0x001624ad, 0x82d10315, 0x001e2419, 0x8227001f, 0x841f2081, 0x41142097, 0x8620066b, 0x24211982, 0x639d8500, 0x00210cf5, 0x41198252, + 0x77640bcf, 0xf5012308, 0xe5450b00, 0x06c14405, 0x03209986, 0x41050b4a, 0x1d8208d9, 0x6b822620, 0xb7021e22, 0x24202f82, 0x1f20af82, 0x20228182, + 0x13822700, 0x71821620, 0xb3021c22, 0x1d201782, 0x1b201382, 0x220cc742, 0x82b1021e, 0x82182017, 0x64df8317, 0x0023083d, 0x84cb0123, 0x05595547, + 0x200b534a, 0x2217821c, 0x82200025, 0x18222053, 0x200c2d41, 0x232f84f1, 0x00240015, 0x83504d83, 0x84b02009, 0x00192617, 0x001b0013, 0x22a58229, + 0x821f001e, 0x01152223, 0x20178492, 0x83478222, 0x00042233, 0x24978226, 0x01270015, 0x208f848c, 0x222d8215, 0x461c0015, 0x022009cd, 0x13204783, + 0x2382d782, 0x82140021, 0x82192007, 0x00152631, 0x00180322, 0x2051820b, 0x20e7821c, 0x202d8222, 0x20078220, 0x20ef841e, 0x4317822e, 0x16220bd9, + 0x4f822500, 0x51001c22, 0x69411782, 0x8220200b, 0x00252815, 0x00180223, 0x8418000a, 0x821c2083, 0x4104205f, 0x022105ff, 0x20158266, 0x2015821d, + 0x2253821c, 0x82270004, 0x001e2409, 0x8c17031b, 0x06755515, 0x82200321, 0x82272015, 0x82242037, 0x001824eb, 0x821f0012, 0x021b2601, 0x000900b5, + 0x45098224, 0x01210a07, 0x2013821d, 0x18218225, 0x210a6d42, 0x2786f301, 0x65822020, 0x31821120, 0x8d821320, 0x1382e620, 0x20073d43, 0x24438214, + 0x011e0027, 0x201382ed, 0x220b841e, 0x821c0016, 0x821b206d, 0x84b32099, 0x0011253b, 0x00040022, 0x21069d43, 0x13821603, 0x6705d342, 0x032108a1, + 0x2013821b, 0x20258220, 0x09457211, 0x826b0321, 0x00292213, 0x2049821e, 0x26558217, 0x00250017, 0x82c80315, 0x82112013, 0x82152083, 0x001c2261, + 0x21098319, 0x6f717301, 0x05154e08, 0x24001c24, 0x13827201, 0x14201f83, 0x22228382, 0xa3182300, 0x112108e3, 0x09157900, 0x1f032224, 0x55820800, + 0x83002221, 0x82192079, 0x01152225, 0x241182f2, 0x001e0029, 0x08175613, 0x25201183, 0x13206984, 0x23208982, 0xcb208382, 0x19222382, 0x21821d00, + 0x2205db43, 0x82d30314, 0x20f98511, 0x24978220, 0x0227001f, 0x20118264, 0x207b8215, 0x200f8214, 0x244f8219, 0x00e70017, 0x46c58207, 0x252405bb, + 0x4c022000, 0x29200f82, 0x1d85f182, 0x4b021522, 0x05430f82, 0xca03210a, 0x200e915a, 0x850f821a, 0x8224205d, 0x0318229d, 0x200f82cc, 0x2091821b, + 0x249b8224, 0x0317001e, 0x850f82d2, 0x821d2083, 0x011e2215, 0x832f840a, 0x821e205d, 0x03222287, 0x850f8213, 0x821320fd, 0x03292275, 0x450f8221, + 0x1520076f, 0xec201182, 0x19220f82, 0x2b822400, 0x3f821d20, 0xa601202a, 0x25000600, 0x27001200, 0x29220d82, 0x0d82d600, 0x2108b342, 0x0d82a101, + 0x26203383, 0x22222d82, 0x0d82e601, 0x21080f7b, 0x0d82cd03, 0x93821b20, 0x17227983, 0x0d828f03, 0x1f266f83, 0x1c001c00, 0x0d82cf03, 0x33821c20, + 0x17001926, 0x92031800, 0x20200d82, 0x14202982, 0x22221182, 0x0d825400, 0x17821920, 0x6f821e20, 0xaf021c22, 0x55833784, 0x02213982, 0x200d82b6, + 0x20a38224, 0x221b8215, 0x843c031d, 0x0011226f, 0x22378220, 0x84470023, 0x8211208b, 0x0013261d, 0x00b40218, 0x07d34205, 0x841c0321, 0x0011260b, + 0x0320001d, 0x280b8267, 0x0013001f, 0x0223001b, 0x470b82b2, 0x032106dd, 0x087b6691, 0x0c011822, 0x1d200b82, 0xa1838f82, 0x0b829620, 0x6d821820, + 0x63822220, 0x0400e522, 0x2006b941, 0x2609825c, 0x001e0029, 0x82650213, 0x21ad8409, 0x09828f01, 0x19001826, 0xd5002000, 0x11220982, 0x31822600, + 0x09824920, 0x3d842420, 0x09848320, 0x81821f20, 0x0982a520, 0x47821d20, 0x19031724, 0x2d820300, 0x4b011122, 0x25240782, 0xd0031e00, 0x1d220782, + 0x54182300, 0x18208ed1, 0x2221c782, 0x20b18300, 0x2009821d, 0x0a0b6524, 0x21051945, 0x42180004, 0x00260c33, 0x00e40123, 0x35950013, 0x0325298c, + 0x001100eb, 0x79038222, 0x23200961, 0x20108744, 0x951f82e5, 0x1542184b, 0xe3012308, 0x6f961000, 0x3d821820, 0x16001c24, 0x2182a603, 0x15202f85, + 0x24227184, 0x07822500, 0x04001522, 0x19263782, 0x18001700, 0x4398e101, 0x23069545, 0x0f00a703, 0x1d22fb82, 0x05822000, 0x57822220, 0x1c264389, + 0x27001f00, 0x1f829801, 0x1e221783, 0x51822300, 0x1e001524, 0x056b1400, 0x001a220c, 0x2235820e, 0x82180013, 0x0b49412d, 0x1c001128, 0x41032400, + 0x99840d00, 0x16001626, 0x13001900, 0x1c209982, 0x17200782, 0x24222d82, 0x1b824003, 0x89661820, 0x821d200c, 0x00232649, 0x0223001b, 0x20378468, + 0x20318225, 0x2033841b, 0x2019821f, 0x06094414, 0x1b84ea20, 0x8f821120, 0x4107c17a, 0x0321085f, 0x20378c42, 0x8393821d, 0x822420b7, 0x02222465, + 0x820c002f, 0x82122045, 0x82152097, 0x20138353, 0x24cd821e, 0x03230019, 0x20198293, 0x205d821f, 0x2027821c, 0x551b8224, 0x0221088d, 0x21198269, + 0x87870022, 0x4f821d20, 0x85862620, 0x198c4320, 0xdd842020, 0x25001b26, 0x8c002000, 0x19221982, 0x4b821d00, 0x717f2320, 0x9701240d, 0x41000b00, + 0x0121124b, 0x20178248, 0x223b8218, 0x8212001d, 0x08c34ad5, 0x844e0221, 0x82152017, 0x0da74233, 0x17826f20, 0x28001523, 0x20ab8300, 0x2a678218, + 0x00170019, 0x02240018, 0x880a0019, 0x08494be1, 0x823f0321, 0x82152015, 0x82242025, 0x82042023, 0x822020c1, 0x031e240b, 0x530a0023, 0xcf5208c9, + 0x87012108, 0x1f201582, 0x17224d82, 0x25821c00, 0x16242d83, 0x1b021600, 0x13222b84, 0x45841b00, 0x63820420, 0x24001c24, 0x2b846d03, 0x45822220, + 0xe7821920, 0x15821720, 0x1f822420, 0x6d847020, 0x27209b85, 0x14201b82, 0x1825a582, 0x09004701, 0x24e18b00, 0x00200025, 0x20138ab4, 0x823d8224, + 0x8801215f, 0x7f8d1382, 0xf1011e22, 0x22201382, 0x20084f43, 0x22998211, 0x86be0124, 0x82142013, 0x821d2071, 0x0022261b, 0x0012011b, 0x220d8208, + 0x821d0022, 0x821e2075, 0x001c2213, 0x2011824c, 0x209b8218, 0x2621841c, 0x02150017, 0x4107004d, 0x23220a21, 0x0f829403, 0x13205b83, 0x1f24a582, + 0x4e002200, 0x31850f82, 0x23001926, 0xb8022400, 0x1f220f82, 0x73821f00, 0x05821220, 0xd5032824, 0x07820600, 0x0f821920, 0x24001524, 0x0d820601, + 0x12001122, 0x00210d85, 0x200d82b5, 0x201d8222, 0x22e98220, 0x82b90229, 0x8223200d, 0x82192009, 0x00242455, 0x880500dc, 0x84ca2077, 0x0023260b, + 0x0323001b, 0x4c0b8225, 0x182205f7, 0x0b822403, 0x15242d83, 0x7e011400, 0x97830b82, 0x03214182, 0x242386d6, 0x0123001c, 0x241786a5, 0x031e0019, + 0x8317846c, 0x03182225, 0x280b82d4, 0x001e0015, 0x00150017, 0x20478450, 0x2209821d, 0x843e0323, 0x051b4a17, 0x3b84de20, 0x13002522, 0x67227982, + 0x8f820400, 0x51821720, 0x09826120, 0x2005f144, 0x8209827c, 0x20d78257, 0x231d8460, 0x02190028, 0x20242785, 0xd7031500, 0x112c2784, 0x77011d00, + 0x24000300, 0x66002900, 0x11200782, 0x4d267182, 0x18000200, 0x0582c001, 0x54182620, 0x1e2454d1, 0x26001900, 0x2222cd82, 0xb3822300, 0x9b841c20, + 0xc5821320, 0x0f821520, 0x6e022324, 0x07820e00, 0x4f001521, 0x23200557, 0x22249982, 0x1e001f00, 0x25242982, 0x6d022400, 0x1c201d8c, 0x04201d82, + 0x1c202d82, 0x23241d82, 0x26031800, 0x1d221d82, 0x3b821200, 0x1c001522, 0x11200182, 0x2008dd6b, 0x22d18213, 0x820d00ee, 0x0015242f, 0x8223001e, + 0x22778381, 0x82200023, 0x001f245b, 0x8274021e, 0x6023201b, 0x11240a57, 0x25001400, 0x23050143, 0x0c009503, 0x19209188, 0x1a203d82, 0x22069545, + 0x8a730214, 0x82162019, 0x82192075, 0x821e2041, 0x01232439, 0x880b00de, 0x0af34b33, 0x8a780221, 0x054d4217, 0xa7821520, 0x90011422, 0x1522178c, + 0xc3841300, 0x77022424, 0x47880a00, 0xb5821e20, 0x1a001e26, 0x76021100, 0xdf4c158a, 0x79022108, 0x0144158a, 0xec032108, 0x2520418c, 0x23245782, + 0x70021500, 0x1320158a, 0x1f208182, 0x1b227182, 0x158aa301, 0x6d822420, 0xcf821d20, 0x6f022322, 0x18202b8c, 0x13241382, 0x55011b00, 0xc9411582, + 0x0597640b, 0x15842a20, 0x84001c21, 0x0400234f, 0x5b821100, 0x75022424, 0xc5880900, 0x01211b86, 0x20138aa2, 0x06394c20, 0x138a7220, 0x14001522, + 0x24228182, 0x13887c02, 0x4f822320, 0x59821320, 0xdb001722, 0x1e221382, 0x89821400, 0x39822220, 0x1e001922, 0x7b22d182, 0x63880800, 0x1522bb83, + 0x118a1c02, 0x1c001126, 0xf0012400, 0x37831182, 0x21088953, 0x1182ef01, 0x47822420, 0x3b821e20, 0x23821920, 0x7a022322, 0x1124478c, 0x71021700, + 0x7f85118a, 0x1182ed20, 0x220d6742, 0x880700f0, 0x001d267d, 0x00180114, 0x20958206, 0x24c1821c, 0x001b001e, 0x410d86ba, 0xb6200515, 0x20200d82, + 0x22085d73, 0x860500ce, 0x00232239, 0x85e182e9, 0x824a209f, 0x84232009, 0xd15418df, 0x821f2025, 0x821c204f, 0x1829202f, 0x2311c54a, 0x0d002703, + 0x13201982, 0x58061145, 0x03250cab, 0x000c0096, 0x4c6b8222, 0x674f0619, 0x99012109, 0x15201982, 0x2008c55f, 0x09635f14, 0x006f0322, 0x2205274e, + 0x821d0025, 0x82042057, 0x82252005, 0x0215225b, 0x2217826a, 0x82140019, 0x821f2013, 0x08814251, 0x8e620021, 0x264b832f, 0x011e0027, 0x820a009b, + 0x001e212b, 0x22059d59, 0x8211001d, 0x00232289, 0x20158261, 0x87cd821f, 0x001f225d, 0x23018216, 0x00090063, 0x2526158b, 0xa8032000, 0x014f0800, + 0x206d8205, 0x28498229, 0x006e0311, 0x00190006, 0x24498418, 0x00940111, 0x205f8805, 0x860b8278, 0x4502209b, 0x1120054f, 0x23226382, 0x3b824f02, + 0x2f821920, 0x54181c20, 0x19212cd1, 0x05a54100, 0x3d822720, 0x21057f43, 0x07830019, 0x15002a26, 0x0f00e901, 0x1f8b8382, 0x28001122, 0x1f871182, + 0x0e00eb22, 0x22201f8c, 0xef48a382, 0x86292009, 0x8215201d, 0x0bcd6c59, 0xad821120, 0x28032422, 0x15201d82, 0x82076f49, 0x22e98321, 0x8417001e, + 0x0217244f, 0x8c0c001d, 0x00132c59, 0x001f001c, 0x03150023, 0x630b00ed, 0x7d5b080f, 0x9803210a, 0x19211782, 0x05175d00, 0x220a835d, 0x48006b02, + 0x858c054b, 0x82510121, 0x82182015, 0x821520ad, 0x00132157, 0x19267b83, 0x51022200, 0x5b820900, 0x1820c583, 0x25206d82, 0x01236f83, 0x8208003e, + 0x821e200b, 0x822320a1, 0x00172691, 0x00ba021e, 0x22258207, 0x841b001c, 0x021724a1, 0x82060052, 0x00192249, 0x22478217, 0x82bb0224, 0x08cd590d, + 0x82c90021, 0x214f830d, 0x6582001e, 0x00a90323, 0x20398205, 0x222d8224, 0x827b0122, 0x00192651, 0x03190016, 0x23098497, 0x0014001e, 0x09d15418, + 0x27822220, 0x02002922, 0x08a3a918, 0xd9821920, 0x29000422, 0x1e241582, 0x3c011700, 0x15209382, 0x93861184, 0x01202982, 0xa9103184, 0x21ca04a3, + 0xa9189b00, 0x01200f7f, 0x22b5a918, 0x184d0121, 0x180d93a9, 0x1810b3a9, 0x2c1ba3a9, 0x000500bc, 0x00310038, 0x0243003c, 0xafa918be, 0x45032315, + 0x23820400, 0x32003524, 0x09822c03, 0x39003e24, 0xa9103700, 0x18e002a3, 0x20137ba9, 0xa3a918ac, 0x827e2012, 0x00392613, 0x00350039, 0x26058204, + 0x002f003a, 0x8a720338, 0x182e2013, 0x221aa3a9, 0x18080032, 0x18089189, 0x202891a9, 0xd9a91802, 0x18002010, 0x1845a3a9, 0x200e83a9, 0xb3a91801, + 0x6500231e, 0xbd820700, 0x2d003c22, 0xe582f782, 0x182f0321, 0x180af565, 0x200b8ba9, 0x20178480, 0x22258239, 0x82d10137, 0x0036260b, 0x00380033, + 0xa3a9182e, 0x18022017, 0x220bd3a9, 0x8204002d, 0x00382437, 0x82ad032f, 0x82362009, 0x1831200b, 0x2027ada9, 0x99a91803, 0x36022108, 0x3f253b82, + 0x38003c00, 0x8fa91802, 0x846d2009, 0x00362159, 0x0b07aa18, 0x13846820, 0x14a3a918, 0x00330223, 0x227d8203, 0x82a40142, 0xaba91807, 0x1000200a, + 0x9007a3a9, 0xe7180120, 0xa8180d03, 0x02211c85, 0xf3a81828, 0x18e22014, 0x180ca3a9, 0x181cb9a9, 0x20164ba9, 0x28578c26, 0x002b003a, 0x03380041, + 0xf5e7189b, 0x823c200c, 0x00332315, 0xa9180238, 0x002114e5, 0x0be818a8, 0x003f2210, 0x69aa183a, 0xa3a91816, 0x18032014, 0x201453aa, 0x8fe81803, + 0x822d200d, 0x00382283, 0xcfa9182f, 0x188d2016, 0x200a23e8, 0x53a9183a, 0xcba91819, 0x18012013, 0x2112b7a9, 0x4f820102, 0x0fdfa918, 0x12cba918, + 0x18ae0021, 0x1811a3a9, 0x211191a9, 0x3d4bc502, 0x82382006, 0x002c26c3, 0x003d0033, 0x2a1184e1, 0x002f003c, 0x0004003e, 0x183a003f, 0x201291a9, + 0x18238298, 0x200db5a9, 0x91a918c7, 0x2201210f, 0x36204784, 0x0aeba918, 0x10c7a918, 0x11b5a918, 0x0f73a918, 0x00a60024, 0x69830007, 0x47843720, + 0xe4003e22, 0x36200f84, 0x37269782, 0x3d003800, 0xa9183401, 0x01230dc3, 0x8206000b, 0x183c20c5, 0x181495a9, 0x210c6ba9, 0x29828302, 0x47823220, + 0x32202b83, 0x0da3a918, 0x0dbfa918, 0xa9180220, 0x00200cf7, 0x0ca3a918, 0x18840221, 0x2008b792, 0x4fa9183d, 0x5a01210b, 0x32201782, 0x36228982, + 0xa9182e00, 0x00200b7f, 0x0a67a918, 0x18210221, 0x2109d3a9, 0xdf4b8702, 0x00412406, 0x84750338, 0x822b2017, 0x013c223d, 0x200b82b1, 0x05bd4b36, + 0x84570221, 0x823f206b, 0x003221db, 0x17830b83, 0x0ea3a918, 0xa9180120, 0x00230899, 0x820400d3, 0x003a2437, 0x82480343, 0x00332609, 0x0143003e, + 0x20098216, 0x2115833c, 0x1d841301, 0x2f002e24, 0x13868602, 0xa9184120, 0x032509c1, 0x00030074, 0x2031822b, 0x200782d2, 0x2007823f, 0x24078255, + 0x01310039, 0x2017845f, 0xd154183c, 0x00332256, 0x20f38231, 0x2079823e, 0x18938236, 0x20a7a3a9, 0x89a9184c, 0xa5ea1817, 0x003a260c, 0x00360039, + 0x22e18243, 0x18380039, 0x182fa3a9, 0x201577a9, 0xb9a91801, 0xa3a9182a, 0x6da91850, 0x18032010, 0x201091a9, 0xb5a91802, 0x18782011, 0x200acfea, + 0x220b822e, 0x18290206, 0x2e87a3a9, 0x06005802, 0x38003900, 0x3e002b00, 0x18032f00, 0x180db1a9, 0x260da3a9, 0x0005003c, 0x82360039, 0x02432201, + 0x220b82cd, 0x82440033, 0x18432001, 0x25138fa9, 0x0400d701, 0x53822f00, 0xa9183020, 0x032109c1, 0x054d437a, 0x823b0221, 0x186f8307, 0x2035d154, + 0xd7eb1842, 0xa3a9100e, 0x0020b401, 0x1091a918, 0x18b60321, 0x200fb5a9, 0xa3a91001, 0xec180d03, 0x534b0f41, 0x007f2107, 0x09a1ec18, 0x0bbba918, + 0x17a3a918, 0x17d3a918, 0x4784da20, 0x2f003627, 0x3f000400, 0x265d8300, 0x002b0039, 0x84f8002e, 0x18312017, 0x200a89ec, 0xa3a91834, 0x8ad5201c, + 0x18332047, 0x2109eba9, 0x178ad402, 0xa9182f20, 0x022b09bb, 0x000a00e0, 0x0039003c, 0x57380041, 0x01200905, 0x01a3a910, 0x18df2001, 0x200e83a9, + 0xa3a91884, 0xc3a9180e, 0x79a9180f, 0x0049240d, 0x182f0006, 0x180895a9, 0x201bbfa9, 0x09814b0d, 0x0ba3a918, 0x098fa918, 0x0aada918, 0x0400db2a, + 0x36003300, 0x94023600, 0x21063d4b, 0xa9100231, 0x18b003a3, 0x180f93a9, 0x180fb3a9, 0x205da3a9, 0x99a91800, 0x00e62809, 0x003c0004, 0x10380033, + 0xb902a3a9, 0x188ba918, 0x0b002c32, 0x2d003900, 0x2f003500, 0x04004300, 0x3f003a00, 0xa9180d83, 0xa9182fa3, 0xa918154b, 0xa91815b9, 0x03201561, + 0x0dbbee18, 0x8f823220, 0x2e002b24, 0xa918b801, 0x002129cf, 0xa3a91860, 0xb6012113, 0x117ba918, 0x82e10321, 0x002b2113, 0x0db7a918, 0x127ba918, + 0xee180120, 0x3c200bf7, 0x20052741, 0xb7a91801, 0xe3032d12, 0x2b000800, 0x2e003c00, 0x32000400, 0x3e210982, 0xa3a91800, 0x18822023, 0x180fd9a9, + 0x180fa3a9, 0x210f73a9, 0xa918ce01, 0x01210d93, 0xc3a91870, 0xa3a9181d, 0x18e4201e, 0x200c95a9, 0x260d8284, 0x00350033, 0x18380033, 0x180fa3a9, + 0x180b73a9, 0x181797a9, 0x210cbba9, 0xa9180086, 0x002108d3, 0xa3a91048, 0x01219504, 0x067d4557, 0x3f003128, 0x31002b00, 0xa9182f00, 0xf11811b5, + 0x2b210c5f, 0x5ff11800, 0xa3a9180f, 0x18002020, 0x230a97a9, 0x0500fe02, 0x3f206782, 0x32226982, 0x75569e00, 0xada91807, 0x0036211e, 0x02a3a910, + 0x180120a4, 0x201435a9, 0xa3a91803, 0xcfa91814, 0xb9a91815, 0x18002041, 0x2188a3a9, 0xa9189601, 0xc6200e73, 0x2b240f82, 0x04003a00, 0x33240382, + 0x5a033800, 0x0db3a918, 0x10d3a918, 0x0d5da918, 0x0c4fa918, 0x29bfa918, 0xa9180020, 0xa0260db1, 0x2f000600, 0x03823e00, 0x3c003922, 0x0edba918, + 0x0b8ba918, 0x17afa918, 0x0500462a, 0x3d003f00, 0x2d003300, 0x1e99a918, 0xe7824a20, 0x36002b28, 0x0e012f00, 0x6f820300, 0xc8013222, 0x2b200782, + 0x0522fb82, 0xa9100c00, 0x21b502a3, 0xa9186002, 0xa9181889, 0x032018bd, 0x0f2ff418, 0x01a3a910, 0xbdf31833, 0x003d280d, 0x00310033, 0x18320138, + 0x2013b9a9, 0x61a91801, 0x8da91814, 0x18022015, 0x2040e5a9, 0x67a91801, 0xa3a91813, 0x0d032b26, 0x2f000900, 0x04003800, 0xa9183000, 0xf41808df, + 0x39200d69, 0x30201982, 0x1291a918, 0x18001621, 0x200eb5a9, 0x73a91801, 0xb3a9180f, 0x73a9180f, 0xb3a9180f, 0xd3a9180f, 0xb3a9180e, 0x6103230f, + 0xf4180600, 0xa91808cd, 0xa9180ea3, 0x0020175b, 0x23bba918, 0xa9188220, 0x002015af, 0x0bd3a918, 0x0871a918, 0x003b0323, 0x24858204, 0x033a0039, + 0x22098460, 0x18360036, 0x1813b7a9, 0x2309ada9, 0x0300f701, 0xa9183183, 0x00200fab, 0x13d15418, 0x18003f21, 0x180b41a9, 0x200cf1b9, 0xa3a91001, + 0x0122b801, 0xf61800f6, 0x2b24093f, 0x3e003600, 0x11b5a918, 0x0f93a918, 0x0f83a918, 0x18a30321, 0x180dc3a9, 0x180fb3a9, 0x180fa3a9, 0x220d95a9, + 0x18002401, 0x180ab1a9, 0x200ea3a9, 0x97a918aa, 0xc7a91821, 0xa3a9100b, 0xa9180404, 0x01201821, 0x18a3a918, 0xa9180120, 0x032418d7, 0x000c00d1, + 0x2ea3a918, 0x0c15f818, 0x0cf1a918, 0x10c7f718, 0x09c39c18, 0x0feff618, 0x3f003027, 0x36003600, 0xbba91801, 0xa3a91876, 0x8ba91818, 0xd3a9182f, + 0x27f81817, 0xa3a9180f, 0x4baa181e, 0x18032017, 0x2016bba9, 0x27f81800, 0x075f650f, 0xa9182020, 0xa9181361, 0xa81841b9, 0xa91814ef, 0xa91812b7, + 0x03211303, 0x3fa9186b, 0x79f81811, 0x002e260c, 0x00410039, 0x8fa91838, 0x8df81813, 0x0032260c, 0x0036002b, 0x1baa1830, 0xb7a91813, 0x2faa1813, + 0x18012013, 0x18121baa, 0x1813a3a9, 0x180ca3f8, 0x1816b5a9, 0x181291a9, 0x18116da9, 0x1810c7a9, 0x1812a3a9, 0x2010c7a9, 0x93a91803, 0x1800200e, + 0x200e13a9, 0xc3a91800, 0xb3a9180e, 0x93a91820, 0x73a9180e, 0xd3a9180f, 0xc3a9181f, 0xa601241f, 0x18000600, 0x180809a9, 0x200db1a9, 0x87a91803, + 0xa3a9180d, 0xd600210c, 0x0bcda918, 0x0d5da918, 0x0d79a918, 0x0da3a918, 0x0dcda918, 0x0db1a918, 0x0ddba918, 0xaa180320, 0xa9180c21, 0x00200da3, + 0x0a73a918, 0xa9180220, 0x012d0a67, 0x0005000c, 0x00330037, 0x032f0036, 0x220b821c, 0x822b003e, 0x183a200f, 0x2117c7a9, 0x23826703, 0x2d003927, + 0x3d003500, 0x67a91800, 0x00d52209, 0x23378204, 0x002f0040, 0x08ada918, 0x828f0121, 0x00322613, 0x003a0033, 0x240982e5, 0x003c0039, 0xa3a9183e, + 0x99a9180a, 0x18022008, 0x2809d5a9, 0x0003004b, 0x0338003f, 0x24078219, 0x032b003a, 0x200782d0, 0x10678237, 0x0103a3a9, 0x1673a918, 0x00480123, + 0x4bfb180b, 0xbba9180c, 0x1800201e, 0x182ca3a9, 0x18158da9, 0x2015b9a9, 0xa3a91802, 0x8da91814, 0x18002015, 0x2014b9a9, 0xa3a91802, 0x73a9189c, + 0x93a9180f, 0x4e00210f, 0x0db3a918, 0x0fd3a918, 0x1b87a918, 0xa9180220, 0xa9180cb1, 0x03210dcd, 0x67a9186c, 0x18002009, 0x181637a9, 0x180cc7a9, + 0x180a8ba9, 0x20177fa9, 0xd3a91801, 0x1803200a, 0x210af7a9, 0x6b825000, 0x37003326, 0x3d002f00, 0x0c03aa18, 0x4418a520, 0x01250901, 0x00040061, + 0x2221823c, 0x8260012f, 0x002b2409, 0x18330042, 0x1809a3a9, 0x1809c1a9, 0x180999a9, 0x1809ada9, 0x2e089ba9, 0x00030077, 0x0043003e, 0x0002004d, + 0x82c00132, 0x18402005, 0x2054d154, 0x189b8238, 0x100d01fd, 0x5404a3a9, 0x1797a918, 0xa9180020, 0xa9100bbb, 0x2c7701a3, 0x00060052, 0x0033002f, + 0x00320031, 0xb1a9183e, 0x1800200d, 0x2018a3a9, 0x99a91801, 0xada91808, 0xd1541809, 0xa3a9180a, 0x002b2333, 0x00830043, 0x04820120, 0x1c000a24, + 0x39191e00, 0x1d83106f, 0x21830383, 0xe8d70024, 0x0c83c8fa, 0xb0b9d82b, 0x00000040, 0xb0b9d800, 0x8ffa0541, 0x00d6eb82, +}; + +#define ICON_MIN_FA 0xf000 +#define ICON_MAX_FA 0xf83e + +#define ICON_FA_NOTES_MEDICAL u8"\uf481" +#define ICON_FA_CLOUD_SHOWERS_HEAVY u8"\uf740" +#define ICON_FA_SMS u8"\uf7cd" +#define ICON_FA_COPY u8"\uf0c5" +#define ICON_FA_CHEVRON_CIRCLE_RIGHT u8"\uf138" +#define ICON_FA_CROSSHAIRS u8"\uf05b" +#define ICON_FA_BROADCAST_TOWER u8"\uf519" +#define ICON_FA_EXTERNAL_LINK_SQUARE_ALT u8"\uf360" +#define ICON_FA_SMOKING u8"\uf48d" +#define ICON_FA_KISS_BEAM u8"\uf597" +#define ICON_FA_CHESS_BISHOP u8"\uf43a" +#define ICON_FA_TV u8"\uf26c" +#define ICON_FA_CROP_ALT u8"\uf565" +#define ICON_FA_TH u8"\uf00a" +#define ICON_FA_RECYCLE u8"\uf1b8" +#define ICON_FA_SMILE u8"\uf118" +#define ICON_FA_FAX u8"\uf1ac" +#define ICON_FA_DRAFTING_COMPASS u8"\uf568" +#define ICON_FA_USER_INJURED u8"\uf728" +#define ICON_FA_SCREWDRIVER u8"\uf54a" +#define ICON_FA_DHARMACHAKRA u8"\uf655" +#define ICON_FA_PRINT u8"\uf02f" +#define ICON_FA_BABY_CARRIAGE u8"\uf77d" +#define ICON_FA_CARET_UP u8"\uf0d8" +#define ICON_FA_SCHOOL u8"\uf549" +#define ICON_FA_SORT_NUMERIC_UP u8"\uf163" +#define ICON_FA_TRUCK_LOADING u8"\uf4de" +#define ICON_FA_LIST u8"\uf03a" +#define ICON_FA_UPLOAD u8"\uf093" +#define ICON_FA_LAPTOP_MEDICAL u8"\uf812" +#define ICON_FA_EXPAND_ARROWS_ALT u8"\uf31e" +#define ICON_FA_ADJUST u8"\uf042" +#define ICON_FA_VENUS u8"\uf221" +#define ICON_FA_HEADING u8"\uf1dc" +#define ICON_FA_ARROW_DOWN u8"\uf063" +#define ICON_FA_BICYCLE u8"\uf206" +#define ICON_FA_TIRED u8"\uf5c8" +#define ICON_FA_AIR_FRESHENER u8"\uf5d0" +#define ICON_FA_BACON u8"\uf7e5" +#define ICON_FA_SYNC u8"\uf021" +#define ICON_FA_PAPER_PLANE u8"\uf1d8" +#define ICON_FA_VOLLEYBALL_BALL u8"\uf45f" +#define ICON_FA_RIBBON u8"\uf4d6" +#define ICON_FA_HAND_LIZARD u8"\uf258" +#define ICON_FA_CLOCK u8"\uf017" +#define ICON_FA_SUN u8"\uf185" +#define ICON_FA_FILE_POWERPOINT u8"\uf1c4" +#define ICON_FA_MICROCHIP u8"\uf2db" +#define ICON_FA_TRASH_RESTORE_ALT u8"\uf82a" +#define ICON_FA_GRADUATION_CAP u8"\uf19d" +#define ICON_FA_ANGLE_DOUBLE_DOWN u8"\uf103" +#define ICON_FA_INFO_CIRCLE u8"\uf05a" +#define ICON_FA_TAGS u8"\uf02c" +#define ICON_FA_FILE_ALT u8"\uf15c" +#define ICON_FA_EQUALS u8"\uf52c" +#define ICON_FA_DIRECTIONS u8"\uf5eb" +#define ICON_FA_FILE_INVOICE u8"\uf570" +#define ICON_FA_SEARCH u8"\uf002" +#define ICON_FA_BIBLE u8"\uf647" +#define ICON_FA_FLASK u8"\uf0c3" +#define ICON_FA_CALENDAR_TIMES u8"\uf273" +#define ICON_FA_GREATER_THAN_EQUAL u8"\uf532" +#define ICON_FA_SLIDERS_H u8"\uf1de" +#define ICON_FA_EYE_SLASH u8"\uf070" +#define ICON_FA_BIRTHDAY_CAKE u8"\uf1fd" +#define ICON_FA_FEATHER_ALT u8"\uf56b" +#define ICON_FA_DNA u8"\uf471" +#define ICON_FA_BASEBALL_BALL u8"\uf433" +#define ICON_FA_HOSPITAL u8"\uf0f8" +#define ICON_FA_COINS u8"\uf51e" +#define ICON_FA_HRYVNIA u8"\uf6f2" +#define ICON_FA_TEMPERATURE_HIGH u8"\uf769" +#define ICON_FA_FONT_AWESOME_LOGO_FULL u8"\uf4e6" +#define ICON_FA_PASSPORT u8"\uf5ab" +#define ICON_FA_TAG u8"\uf02b" +#define ICON_FA_SHOPPING_CART u8"\uf07a" +#define ICON_FA_AWARD u8"\uf559" +#define ICON_FA_WINDOW_RESTORE u8"\uf2d2" +#define ICON_FA_PHONE u8"\uf095" +#define ICON_FA_FLAG u8"\uf024" +#define ICON_FA_STETHOSCOPE u8"\uf0f1" +#define ICON_FA_DICE_D6 u8"\uf6d1" +#define ICON_FA_OUTDENT u8"\uf03b" +#define ICON_FA_LONG_ARROW_ALT_RIGHT u8"\uf30b" +#define ICON_FA_PIZZA_SLICE u8"\uf818" +#define ICON_FA_ADDRESS_CARD u8"\uf2bb" +#define ICON_FA_PARAGRAPH u8"\uf1dd" +#define ICON_FA_MALE u8"\uf183" +#define ICON_FA_HISTORY u8"\uf1da" +#define ICON_FA_HAMBURGER u8"\uf805" +#define ICON_FA_SEARCH_PLUS u8"\uf00e" +#define ICON_FA_FIRE_ALT u8"\uf7e4" +#define ICON_FA_LIFE_RING u8"\uf1cd" +#define ICON_FA_SHARE u8"\uf064" +#define ICON_FA_ALIGN_JUSTIFY u8"\uf039" +#define ICON_FA_BATTERY_THREE_QUARTERS u8"\uf241" +#define ICON_FA_OBJECT_UNGROUP u8"\uf248" +#define ICON_FA_BRIEFCASE u8"\uf0b1" +#define ICON_FA_OIL_CAN u8"\uf613" +#define ICON_FA_THERMOMETER_FULL u8"\uf2c7" +#define ICON_FA_PLANE u8"\uf072" +#define ICON_FA_HEARTBEAT u8"\uf21e" +#define ICON_FA_UNLINK u8"\uf127" +#define ICON_FA_WINDOW_MAXIMIZE u8"\uf2d0" +#define ICON_FA_HEADPHONES u8"\uf025" +#define ICON_FA_STEP_BACKWARD u8"\uf048" +#define ICON_FA_DRAGON u8"\uf6d5" +#define ICON_FA_MICROPHONE_SLASH u8"\uf131" +#define ICON_FA_USER_PLUS u8"\uf234" +#define ICON_FA_WRENCH u8"\uf0ad" +#define ICON_FA_AMBULANCE u8"\uf0f9" +#define ICON_FA_ETHERNET u8"\uf796" +#define ICON_FA_EGG u8"\uf7fb" +#define ICON_FA_WIND u8"\uf72e" +#define ICON_FA_UNIVERSAL_ACCESS u8"\uf29a" +#define ICON_FA_BURN u8"\uf46a" +#define ICON_FA_HAND_HOLDING_HEART u8"\uf4be" +#define ICON_FA_DICE_ONE u8"\uf525" +#define ICON_FA_KEYBOARD u8"\uf11c" +#define ICON_FA_CHECK_DOUBLE u8"\uf560" +#define ICON_FA_HEADPHONES_ALT u8"\uf58f" +#define ICON_FA_BATTERY_HALF u8"\uf242" +#define ICON_FA_PROJECT_DIAGRAM u8"\uf542" +#define ICON_FA_PRAY u8"\uf683" +#define ICON_FA_GOPURAM u8"\uf664" +#define ICON_FA_GRIN_TEARS u8"\uf588" +#define ICON_FA_SORT_AMOUNT_UP u8"\uf161" +#define ICON_FA_COFFEE u8"\uf0f4" +#define ICON_FA_TABLET_ALT u8"\uf3fa" +#define ICON_FA_GRIN_BEAM_SWEAT u8"\uf583" +#define ICON_FA_HAND_POINT_RIGHT u8"\uf0a4" +#define ICON_FA_MAGIC u8"\uf0d0" +#define ICON_FA_CHARGING_STATION u8"\uf5e7" +#define ICON_FA_GRIN_TONGUE u8"\uf589" +#define ICON_FA_VOLUME_OFF u8"\uf026" +#define ICON_FA_SAD_TEAR u8"\uf5b4" +#define ICON_FA_CARET_RIGHT u8"\uf0da" +#define ICON_FA_BONG u8"\uf55c" +#define ICON_FA_BONE u8"\uf5d7" +#define ICON_FA_ELLIPSIS_V u8"\uf142" +#define ICON_FA_BALANCE_SCALE u8"\uf24e" +#define ICON_FA_FISH u8"\uf578" +#define ICON_FA_SPIDER u8"\uf717" +#define ICON_FA_CAMPGROUND u8"\uf6bb" +#define ICON_FA_CARET_SQUARE_UP u8"\uf151" +#define ICON_FA_RUPEE_SIGN u8"\uf156" +#define ICON_FA_ASSISTIVE_LISTENING_SYSTEMS u8"\uf2a2" +#define ICON_FA_POUND_SIGN u8"\uf154" +#define ICON_FA_ANKH u8"\uf644" +#define ICON_FA_BATTERY_QUARTER u8"\uf243" +#define ICON_FA_HAND_PEACE u8"\uf25b" +#define ICON_FA_SURPRISE u8"\uf5c2" +#define ICON_FA_FILE_PDF u8"\uf1c1" +#define ICON_FA_VIDEO_SLASH u8"\uf4e2" +#define ICON_FA_SUBWAY u8"\uf239" +#define ICON_FA_HORSE u8"\uf6f0" +#define ICON_FA_WINE_BOTTLE u8"\uf72f" +#define ICON_FA_BOOK_READER u8"\uf5da" +#define ICON_FA_COOKIE u8"\uf563" +#define ICON_FA_MONEY_BILL u8"\uf0d6" +#define ICON_FA_CHEVRON_DOWN u8"\uf078" +#define ICON_FA_CAR_SIDE u8"\uf5e4" +#define ICON_FA_FILTER u8"\uf0b0" +#define ICON_FA_FOLDER_OPEN u8"\uf07c" +#define ICON_FA_SIGNATURE u8"\uf5b7" +#define ICON_FA_SNOWBOARDING u8"\uf7ce" +#define ICON_FA_THUMBTACK u8"\uf08d" +#define ICON_FA_DICE_TWO u8"\uf528" +#define ICON_FA_LAUGH_WINK u8"\uf59c" +#define ICON_FA_BREAD_SLICE u8"\uf7ec" +#define ICON_FA_TEXT_HEIGHT u8"\uf034" +#define ICON_FA_VOLUME_MUTE u8"\uf6a9" +#define ICON_FA_VOTE_YEA u8"\uf772" +#define ICON_FA_QRCODE u8"\uf029" +#define ICON_FA_MERCURY u8"\uf223" +#define ICON_FA_USER_ASTRONAUT u8"\uf4fb" +#define ICON_FA_SORT_AMOUNT_DOWN u8"\uf160" +#define ICON_FA_SORT_DOWN u8"\uf0dd" +#define ICON_FA_COMPACT_DISC u8"\uf51f" +#define ICON_FA_PERCENTAGE u8"\uf541" +#define ICON_FA_COMMENT_MEDICAL u8"\uf7f5" +#define ICON_FA_STORE u8"\uf54e" +#define ICON_FA_COMMENT_DOTS u8"\uf4ad" +#define ICON_FA_SMILE_WINK u8"\uf4da" +#define ICON_FA_HOTEL u8"\uf594" +#define ICON_FA_PEPPER_HOT u8"\uf816" +#define ICON_FA_USER_EDIT u8"\uf4ff" +#define ICON_FA_DUMPSTER_FIRE u8"\uf794" +#define ICON_FA_CLOUD_SUN_RAIN u8"\uf743" +#define ICON_FA_GLOBE_ASIA u8"\uf57e" +#define ICON_FA_VIAL u8"\uf492" +#define ICON_FA_STROOPWAFEL u8"\uf551" +#define ICON_FA_DATABASE u8"\uf1c0" +#define ICON_FA_TREE u8"\uf1bb" +#define ICON_FA_SHOWER u8"\uf2cc" +#define ICON_FA_DRUM_STEELPAN u8"\uf56a" +#define ICON_FA_FILE_UPLOAD u8"\uf574" +#define ICON_FA_MEDKIT u8"\uf0fa" +#define ICON_FA_MINUS u8"\uf068" +#define ICON_FA_SHEKEL_SIGN u8"\uf20b" +#define ICON_FA_BELL_SLASH u8"\uf1f6" +#define ICON_FA_MAIL_BULK u8"\uf674" +#define ICON_FA_MOUNTAIN u8"\uf6fc" +#define ICON_FA_COUCH u8"\uf4b8" +#define ICON_FA_CHESS u8"\uf439" +#define ICON_FA_FILE_EXPORT u8"\uf56e" +#define ICON_FA_SIGN_LANGUAGE u8"\uf2a7" +#define ICON_FA_SNOWFLAKE u8"\uf2dc" +#define ICON_FA_PLAY u8"\uf04b" +#define ICON_FA_HEADSET u8"\uf590" +#define ICON_FA_SQUARE_ROOT_ALT u8"\uf698" +#define ICON_FA_CHART_BAR u8"\uf080" +#define ICON_FA_WAVE_SQUARE u8"\uf83e" +#define ICON_FA_CHART_AREA u8"\uf1fe" +#define ICON_FA_EURO_SIGN u8"\uf153" +#define ICON_FA_CHESS_KING u8"\uf43f" +#define ICON_FA_MOBILE u8"\uf10b" +#define ICON_FA_BOX_OPEN u8"\uf49e" +#define ICON_FA_DOG u8"\uf6d3" +#define ICON_FA_FUTBOL u8"\uf1e3" +#define ICON_FA_LIRA_SIGN u8"\uf195" +#define ICON_FA_LIGHTBULB u8"\uf0eb" +#define ICON_FA_BOMB u8"\uf1e2" +#define ICON_FA_MITTEN u8"\uf7b5" +#define ICON_FA_TRUCK_MONSTER u8"\uf63b" +#define ICON_FA_ARROWS_ALT_H u8"\uf337" +#define ICON_FA_CHESS_ROOK u8"\uf447" +#define ICON_FA_FIRE_EXTINGUISHER u8"\uf134" +#define ICON_FA_BOOKMARK u8"\uf02e" +#define ICON_FA_ARROWS_ALT_V u8"\uf338" +#define ICON_FA_ICICLES u8"\uf7ad" +#define ICON_FA_FONT u8"\uf031" +#define ICON_FA_CAMERA_RETRO u8"\uf083" +#define ICON_FA_BLENDER u8"\uf517" +#define ICON_FA_THUMBS_DOWN u8"\uf165" +#define ICON_FA_GAMEPAD u8"\uf11b" +#define ICON_FA_COPYRIGHT u8"\uf1f9" +#define ICON_FA_JEDI u8"\uf669" +#define ICON_FA_HOCKEY_PUCK u8"\uf453" +#define ICON_FA_STOP_CIRCLE u8"\uf28d" +#define ICON_FA_BEZIER_CURVE u8"\uf55b" +#define ICON_FA_FOLDER u8"\uf07b" +#define ICON_FA_RSS u8"\uf09e" +#define ICON_FA_COLUMNS u8"\uf0db" +#define ICON_FA_GLASS_CHEERS u8"\uf79f" +#define ICON_FA_GRIN_WINK u8"\uf58c" +#define ICON_FA_STOP u8"\uf04d" +#define ICON_FA_MONEY_CHECK_ALT u8"\uf53d" +#define ICON_FA_COMPASS u8"\uf14e" +#define ICON_FA_TOOLBOX u8"\uf552" +#define ICON_FA_LIST_OL u8"\uf0cb" +#define ICON_FA_WINE_GLASS u8"\uf4e3" +#define ICON_FA_HORSE_HEAD u8"\uf7ab" +#define ICON_FA_USER_ALT_SLASH u8"\uf4fa" +#define ICON_FA_USER_TAG u8"\uf507" +#define ICON_FA_MICROSCOPE u8"\uf610" +#define ICON_FA_BRUSH u8"\uf55d" +#define ICON_FA_BAN u8"\uf05e" +#define ICON_FA_BARS u8"\uf0c9" +#define ICON_FA_CAR_CRASH u8"\uf5e1" +#define ICON_FA_ARROW_ALT_CIRCLE_DOWN u8"\uf358" +#define ICON_FA_MONEY_BILL_ALT u8"\uf3d1" +#define ICON_FA_JOURNAL_WHILLS u8"\uf66a" +#define ICON_FA_CHALKBOARD_TEACHER u8"\uf51c" +#define ICON_FA_PORTRAIT u8"\uf3e0" +#define ICON_FA_HAMMER u8"\uf6e3" +#define ICON_FA_RETWEET u8"\uf079" +#define ICON_FA_HOURGLASS u8"\uf254" +#define ICON_FA_HAND_PAPER u8"\uf256" +#define ICON_FA_SUBSCRIPT u8"\uf12c" +#define ICON_FA_DONATE u8"\uf4b9" +#define ICON_FA_GLASS_MARTINI_ALT u8"\uf57b" +#define ICON_FA_CODE_BRANCH u8"\uf126" +#define ICON_FA_NOT_EQUAL u8"\uf53e" +#define ICON_FA_MEH u8"\uf11a" +#define ICON_FA_LIST_ALT u8"\uf022" +#define ICON_FA_USER_COG u8"\uf4fe" +#define ICON_FA_PRESCRIPTION u8"\uf5b1" +#define ICON_FA_TABLET u8"\uf10a" +#define ICON_FA_PENCIL_RULER u8"\uf5ae" +#define ICON_FA_CREDIT_CARD u8"\uf09d" +#define ICON_FA_ARCHWAY u8"\uf557" +#define ICON_FA_HARD_HAT u8"\uf807" +#define ICON_FA_MAP_MARKER_ALT u8"\uf3c5" +#define ICON_FA_COG u8"\uf013" +#define ICON_FA_HANUKIAH u8"\uf6e6" +#define ICON_FA_SHUTTLE_VAN u8"\uf5b6" +#define ICON_FA_MONEY_CHECK u8"\uf53c" +#define ICON_FA_BELL u8"\uf0f3" +#define ICON_FA_CALENDAR_DAY u8"\uf783" +#define ICON_FA_TINT_SLASH u8"\uf5c7" +#define ICON_FA_PLANE_DEPARTURE u8"\uf5b0" +#define ICON_FA_USER_CHECK u8"\uf4fc" +#define ICON_FA_CHURCH u8"\uf51d" +#define ICON_FA_SEARCH_MINUS u8"\uf010" +#define ICON_FA_PALLET u8"\uf482" +#define ICON_FA_TINT u8"\uf043" +#define ICON_FA_STAMP u8"\uf5bf" +#define ICON_FA_KAABA u8"\uf66b" +#define ICON_FA_ALIGN_RIGHT u8"\uf038" +#define ICON_FA_QUOTE_RIGHT u8"\uf10e" +#define ICON_FA_BEER u8"\uf0fc" +#define ICON_FA_GRIN_ALT u8"\uf581" +#define ICON_FA_SORT_NUMERIC_DOWN u8"\uf162" +#define ICON_FA_FIRE u8"\uf06d" +#define ICON_FA_FAST_FORWARD u8"\uf050" +#define ICON_FA_MAP_MARKED_ALT u8"\uf5a0" +#define ICON_FA_PENCIL_ALT u8"\uf303" +#define ICON_FA_USERS_COG u8"\uf509" +#define ICON_FA_CARET_SQUARE_DOWN u8"\uf150" +#define ICON_FA_CRUTCH u8"\uf7f7" +#define ICON_FA_OBJECT_GROUP u8"\uf247" +#define ICON_FA_ANCHOR u8"\uf13d" +#define ICON_FA_HAND_POINT_LEFT u8"\uf0a5" +#define ICON_FA_USER_TIMES u8"\uf235" +#define ICON_FA_CALCULATOR u8"\uf1ec" +#define ICON_FA_DIZZY u8"\uf567" +#define ICON_FA_KISS_WINK_HEART u8"\uf598" +#define ICON_FA_FILE_MEDICAL u8"\uf477" +#define ICON_FA_SWIMMING_POOL u8"\uf5c5" +#define ICON_FA_WEIGHT_HANGING u8"\uf5cd" +#define ICON_FA_VR_CARDBOARD u8"\uf729" +#define ICON_FA_FAST_BACKWARD u8"\uf049" +#define ICON_FA_SATELLITE u8"\uf7bf" +#define ICON_FA_USER u8"\uf007" +#define ICON_FA_MINUS_CIRCLE u8"\uf056" +#define ICON_FA_CHESS_PAWN u8"\uf443" +#define ICON_FA_CALENDAR_MINUS u8"\uf272" +#define ICON_FA_CHESS_BOARD u8"\uf43c" +#define ICON_FA_LANDMARK u8"\uf66f" +#define ICON_FA_SWATCHBOOK u8"\uf5c3" +#define ICON_FA_HOTDOG u8"\uf80f" +#define ICON_FA_SNOWMAN u8"\uf7d0" +#define ICON_FA_LAPTOP u8"\uf109" +#define ICON_FA_TORAH u8"\uf6a0" +#define ICON_FA_FROWN_OPEN u8"\uf57a" +#define ICON_FA_USER_LOCK u8"\uf502" +#define ICON_FA_AD u8"\uf641" +#define ICON_FA_USER_CIRCLE u8"\uf2bd" +#define ICON_FA_DIVIDE u8"\uf529" +#define ICON_FA_HANDSHAKE u8"\uf2b5" +#define ICON_FA_CUT u8"\uf0c4" +#define ICON_FA_HIKING u8"\uf6ec" +#define ICON_FA_STREET_VIEW u8"\uf21d" +#define ICON_FA_GREATER_THAN u8"\uf531" +#define ICON_FA_PASTAFARIANISM u8"\uf67b" +#define ICON_FA_MINUS_SQUARE u8"\uf146" +#define ICON_FA_SAVE u8"\uf0c7" +#define ICON_FA_COMMENT_DOLLAR u8"\uf651" +#define ICON_FA_TRASH_ALT u8"\uf2ed" +#define ICON_FA_PUZZLE_PIECE u8"\uf12e" +#define ICON_FA_MENORAH u8"\uf676" +#define ICON_FA_CLOUD_SUN u8"\uf6c4" +#define ICON_FA_USER_FRIENDS u8"\uf500" +#define ICON_FA_FILE_MEDICAL_ALT u8"\uf478" +#define ICON_FA_ARROW_LEFT u8"\uf060" +#define ICON_FA_BOXES u8"\uf468" +#define ICON_FA_THERMOMETER_EMPTY u8"\uf2cb" +#define ICON_FA_EXCLAMATION_TRIANGLE u8"\uf071" +#define ICON_FA_GIFT u8"\uf06b" +#define ICON_FA_COGS u8"\uf085" +#define ICON_FA_SIGNAL u8"\uf012" +#define ICON_FA_SHAPES u8"\uf61f" +#define ICON_FA_CLOUD_RAIN u8"\uf73d" +#define ICON_FA_ELLIPSIS_H u8"\uf141" +#define ICON_FA_LESS_THAN_EQUAL u8"\uf537" +#define ICON_FA_CHEVRON_CIRCLE_LEFT u8"\uf137" +#define ICON_FA_MORTAR_PESTLE u8"\uf5a7" +#define ICON_FA_SITEMAP u8"\uf0e8" +#define ICON_FA_BUS_ALT u8"\uf55e" +#define ICON_FA_ID_BADGE u8"\uf2c1" +#define ICON_FA_FIST_RAISED u8"\uf6de" +#define ICON_FA_BATTERY_FULL u8"\uf240" +#define ICON_FA_CROWN u8"\uf521" +#define ICON_FA_EXCHANGE_ALT u8"\uf362" +#define ICON_FA_SOCKS u8"\uf696" +#define ICON_FA_CASH_REGISTER u8"\uf788" +#define ICON_FA_REDO u8"\uf01e" +#define ICON_FA_EXCLAMATION_CIRCLE u8"\uf06a" +#define ICON_FA_COMMENTS u8"\uf086" +#define ICON_FA_BRIEFCASE_MEDICAL u8"\uf469" +#define ICON_FA_CARET_SQUARE_RIGHT u8"\uf152" +#define ICON_FA_PEN u8"\uf304" +#define ICON_FA_BACKSPACE u8"\uf55a" +#define ICON_FA_SLASH u8"\uf715" +#define ICON_FA_HOT_TUB u8"\uf593" +#define ICON_FA_SUITCASE_ROLLING u8"\uf5c1" +#define ICON_FA_BATTERY_EMPTY u8"\uf244" +#define ICON_FA_GLOBE_AFRICA u8"\uf57c" +#define ICON_FA_SLEIGH u8"\uf7cc" +#define ICON_FA_BOLT u8"\uf0e7" +#define ICON_FA_THERMOMETER_QUARTER u8"\uf2ca" +#define ICON_FA_EYE u8"\uf06e" +#define ICON_FA_TROPHY u8"\uf091" +#define ICON_FA_BRAILLE u8"\uf2a1" +#define ICON_FA_PLUS u8"\uf067" +#define ICON_FA_LIST_UL u8"\uf0ca" +#define ICON_FA_SMOKING_BAN u8"\uf54d" +#define ICON_FA_BATH u8"\uf2cd" +#define ICON_FA_VOLUME_DOWN u8"\uf027" +#define ICON_FA_QUESTION_CIRCLE u8"\uf059" +#define ICON_FA_FILE_CODE u8"\uf1c9" +#define ICON_FA_GAVEL u8"\uf0e3" +#define ICON_FA_CANDY_CANE u8"\uf786" +#define ICON_FA_NETWORK_WIRED u8"\uf6ff" +#define ICON_FA_CARET_SQUARE_LEFT u8"\uf191" +#define ICON_FA_PLANE_ARRIVAL u8"\uf5af" +#define ICON_FA_SHARE_SQUARE u8"\uf14d" +#define ICON_FA_MEDAL u8"\uf5a2" +#define ICON_FA_THERMOMETER_HALF u8"\uf2c9" +#define ICON_FA_QUESTION u8"\uf128" +#define ICON_FA_CAR_BATTERY u8"\uf5df" +#define ICON_FA_DOOR_CLOSED u8"\uf52a" +#define ICON_FA_LEAF u8"\uf06c" +#define ICON_FA_USER_MINUS u8"\uf503" +#define ICON_FA_MUSIC u8"\uf001" +#define ICON_FA_GLOBE_EUROPE u8"\uf7a2" +#define ICON_FA_HOUSE_DAMAGE u8"\uf6f1" +#define ICON_FA_CHEVRON_RIGHT u8"\uf054" +#define ICON_FA_GRIP_HORIZONTAL u8"\uf58d" +#define ICON_FA_DICE_FOUR u8"\uf524" +#define ICON_FA_DEAF u8"\uf2a4" +#define ICON_FA_REGISTERED u8"\uf25d" +#define ICON_FA_WINDOW_CLOSE u8"\uf410" +#define ICON_FA_LINK u8"\uf0c1" +#define ICON_FA_YEN_SIGN u8"\uf157" +#define ICON_FA_ATOM u8"\uf5d2" +#define ICON_FA_LESS_THAN u8"\uf536" +#define ICON_FA_OTTER u8"\uf700" +#define ICON_FA_INFO u8"\uf129" +#define ICON_FA_MARS_DOUBLE u8"\uf227" +#define ICON_FA_CLIPBOARD_CHECK u8"\uf46c" +#define ICON_FA_SKULL u8"\uf54c" +#define ICON_FA_GRIP_LINES u8"\uf7a4" +#define ICON_FA_HOSPITAL_SYMBOL u8"\uf47e" +#define ICON_FA_X_RAY u8"\uf497" +#define ICON_FA_ARROW_UP u8"\uf062" +#define ICON_FA_MONEY_BILL_WAVE u8"\uf53a" +#define ICON_FA_DOT_CIRCLE u8"\uf192" +#define ICON_FA_PAUSE_CIRCLE u8"\uf28b" +#define ICON_FA_IMAGES u8"\uf302" +#define ICON_FA_STAR_HALF u8"\uf089" +#define ICON_FA_SPLOTCH u8"\uf5bc" +#define ICON_FA_STAR_HALF_ALT u8"\uf5c0" +#define ICON_FA_SHIP u8"\uf21a" +#define ICON_FA_BOOK_DEAD u8"\uf6b7" +#define ICON_FA_CHECK u8"\uf00c" +#define ICON_FA_RAINBOW u8"\uf75b" +#define ICON_FA_POWER_OFF u8"\uf011" +#define ICON_FA_LEMON u8"\uf094" +#define ICON_FA_GLOBE_AMERICAS u8"\uf57d" +#define ICON_FA_PEACE u8"\uf67c" +#define ICON_FA_THERMOMETER_THREE_QUARTERS u8"\uf2c8" +#define ICON_FA_WAREHOUSE u8"\uf494" +#define ICON_FA_TRANSGENDER u8"\uf224" +#define ICON_FA_PLUS_SQUARE u8"\uf0fe" +#define ICON_FA_BULLSEYE u8"\uf140" +#define ICON_FA_COOKIE_BITE u8"\uf564" +#define ICON_FA_USERS u8"\uf0c0" +#define ICON_FA_TRANSGENDER_ALT u8"\uf225" +#define ICON_FA_ASTERISK u8"\uf069" +#define ICON_FA_STAR_OF_DAVID u8"\uf69a" +#define ICON_FA_PLUS_CIRCLE u8"\uf055" +#define ICON_FA_CART_ARROW_DOWN u8"\uf218" +#define ICON_FA_FLUSHED u8"\uf579" +#define ICON_FA_STORE_ALT u8"\uf54f" +#define ICON_FA_PEOPLE_CARRY u8"\uf4ce" +#define ICON_FA_LONG_ARROW_ALT_DOWN u8"\uf309" +#define ICON_FA_SAD_CRY u8"\uf5b3" +#define ICON_FA_DIGITAL_TACHOGRAPH u8"\uf566" +#define ICON_FA_FILE_EXCEL u8"\uf1c3" +#define ICON_FA_TEETH u8"\uf62e" +#define ICON_FA_HAND_SCISSORS u8"\uf257" +#define ICON_FA_FILE_INVOICE_DOLLAR u8"\uf571" +#define ICON_FA_STEP_FORWARD u8"\uf051" +#define ICON_FA_BACKWARD u8"\uf04a" +#define ICON_FA_SCROLL u8"\uf70e" +#define ICON_FA_IGLOO u8"\uf7ae" +#define ICON_FA_CODE u8"\uf121" +#define ICON_FA_TRAM u8"\uf7da" +#define ICON_FA_TORII_GATE u8"\uf6a1" +#define ICON_FA_SKIING u8"\uf7c9" +#define ICON_FA_CHAIR u8"\uf6c0" +#define ICON_FA_DUMBBELL u8"\uf44b" +#define ICON_FA_ANGLE_DOUBLE_UP u8"\uf102" +#define ICON_FA_ANGLE_DOUBLE_LEFT u8"\uf100" +#define ICON_FA_MOSQUE u8"\uf678" +#define ICON_FA_COMMENTS_DOLLAR u8"\uf653" +#define ICON_FA_FILE_PRESCRIPTION u8"\uf572" +#define ICON_FA_ANGLE_LEFT u8"\uf104" +#define ICON_FA_ATLAS u8"\uf558" +#define ICON_FA_PIGGY_BANK u8"\uf4d3" +#define ICON_FA_DOLLY_FLATBED u8"\uf474" +#define ICON_FA_RANDOM u8"\uf074" +#define ICON_FA_PEN_ALT u8"\uf305" +#define ICON_FA_PRAYING_HANDS u8"\uf684" +#define ICON_FA_VOLUME_UP u8"\uf028" +#define ICON_FA_CLIPBOARD_LIST u8"\uf46d" +#define ICON_FA_GRIN_STARS u8"\uf587" +#define ICON_FA_FOLDER_MINUS u8"\uf65d" +#define ICON_FA_DEMOCRAT u8"\uf747" +#define ICON_FA_MAGNET u8"\uf076" +#define ICON_FA_VIHARA u8"\uf6a7" +#define ICON_FA_GRIMACE u8"\uf57f" +#define ICON_FA_CHECK_CIRCLE u8"\uf058" +#define ICON_FA_SEARCH_DOLLAR u8"\uf688" +#define ICON_FA_LONG_ARROW_ALT_LEFT u8"\uf30a" +#define ICON_FA_CROW u8"\uf520" +#define ICON_FA_EYE_DROPPER u8"\uf1fb" +#define ICON_FA_CROP u8"\uf125" +#define ICON_FA_SIGN u8"\uf4d9" +#define ICON_FA_ARROW_CIRCLE_DOWN u8"\uf0ab" +#define ICON_FA_VIDEO u8"\uf03d" +#define ICON_FA_DOWNLOAD u8"\uf019" +#define ICON_FA_BOLD u8"\uf032" +#define ICON_FA_CARET_DOWN u8"\uf0d7" +#define ICON_FA_CHEVRON_LEFT u8"\uf053" +#define ICON_FA_HAMSA u8"\uf665" +#define ICON_FA_CART_PLUS u8"\uf217" +#define ICON_FA_CLIPBOARD u8"\uf328" +#define ICON_FA_SHOE_PRINTS u8"\uf54b" +#define ICON_FA_PHONE_SLASH u8"\uf3dd" +#define ICON_FA_REPLY u8"\uf3e5" +#define ICON_FA_HOURGLASS_HALF u8"\uf252" +#define ICON_FA_LONG_ARROW_ALT_UP u8"\uf30c" +#define ICON_FA_CHESS_KNIGHT u8"\uf441" +#define ICON_FA_BARCODE u8"\uf02a" +#define ICON_FA_DRAW_POLYGON u8"\uf5ee" +#define ICON_FA_WATER u8"\uf773" +#define ICON_FA_PAUSE u8"\uf04c" +#define ICON_FA_WINE_GLASS_ALT u8"\uf5ce" +#define ICON_FA_GLASS_WHISKEY u8"\uf7a0" +#define ICON_FA_BOX u8"\uf466" +#define ICON_FA_DIAGNOSES u8"\uf470" +#define ICON_FA_FILE_IMAGE u8"\uf1c5" +#define ICON_FA_ARROW_CIRCLE_RIGHT u8"\uf0a9" +#define ICON_FA_TASKS u8"\uf0ae" +#define ICON_FA_VECTOR_SQUARE u8"\uf5cb" +#define ICON_FA_QUOTE_LEFT u8"\uf10d" +#define ICON_FA_MOBILE_ALT u8"\uf3cd" +#define ICON_FA_USER_SHIELD u8"\uf505" +#define ICON_FA_BLOG u8"\uf781" +#define ICON_FA_MARKER u8"\uf5a1" +#define ICON_FA_USER_TIE u8"\uf508" +#define ICON_FA_TOOLS u8"\uf7d9" +#define ICON_FA_CLOUD u8"\uf0c2" +#define ICON_FA_HAND_HOLDING_USD u8"\uf4c0" +#define ICON_FA_CERTIFICATE u8"\uf0a3" +#define ICON_FA_CLOUD_DOWNLOAD_ALT u8"\uf381" +#define ICON_FA_ANGRY u8"\uf556" +#define ICON_FA_FROG u8"\uf52e" +#define ICON_FA_CAMERA u8"\uf030" +#define ICON_FA_DICE_THREE u8"\uf527" +#define ICON_FA_MEMORY u8"\uf538" +#define ICON_FA_PEN_SQUARE u8"\uf14b" +#define ICON_FA_SORT u8"\uf0dc" +#define ICON_FA_PLUG u8"\uf1e6" +#define ICON_FA_MOUSE_POINTER u8"\uf245" +#define ICON_FA_ENVELOPE u8"\uf0e0" +#define ICON_FA_LAYER_GROUP u8"\uf5fd" +#define ICON_FA_TRAIN u8"\uf238" +#define ICON_FA_BULLHORN u8"\uf0a1" +#define ICON_FA_BABY u8"\uf77c" +#define ICON_FA_CONCIERGE_BELL u8"\uf562" +#define ICON_FA_CIRCLE u8"\uf111" +#define ICON_FA_I_CURSOR u8"\uf246" +#define ICON_FA_CAR u8"\uf1b9" +#define ICON_FA_CAT u8"\uf6be" +#define ICON_FA_WALLET u8"\uf555" +#define ICON_FA_BOOK_MEDICAL u8"\uf7e6" +#define ICON_FA_H_SQUARE u8"\uf0fd" +#define ICON_FA_HEART u8"\uf004" +#define ICON_FA_LOCK_OPEN u8"\uf3c1" +#define ICON_FA_STREAM u8"\uf550" +#define ICON_FA_LOCK u8"\uf023" +#define ICON_FA_CARROT u8"\uf787" +#define ICON_FA_SMILE_BEAM u8"\uf5b8" +#define ICON_FA_USER_NURSE u8"\uf82f" +#define ICON_FA_MICROPHONE_ALT u8"\uf3c9" +#define ICON_FA_SPA u8"\uf5bb" +#define ICON_FA_CHEVRON_CIRCLE_DOWN u8"\uf13a" +#define ICON_FA_FOLDER_PLUS u8"\uf65e" +#define ICON_FA_CLOUD_MEATBALL u8"\uf73b" +#define ICON_FA_BOOK_OPEN u8"\uf518" +#define ICON_FA_MAP u8"\uf279" +#define ICON_FA_COCKTAIL u8"\uf561" +#define ICON_FA_CLONE u8"\uf24d" +#define ICON_FA_ID_CARD_ALT u8"\uf47f" +#define ICON_FA_CHECK_SQUARE u8"\uf14a" +#define ICON_FA_CHART_LINE u8"\uf201" +#define ICON_FA_FILE_ARCHIVE u8"\uf1c6" +#define ICON_FA_DOVE u8"\uf4ba" +#define ICON_FA_MARS_STROKE u8"\uf229" +#define ICON_FA_ENVELOPE_OPEN u8"\uf2b6" +#define ICON_FA_WHEELCHAIR u8"\uf193" +#define ICON_FA_ROBOT u8"\uf544" +#define ICON_FA_UNDO_ALT u8"\uf2ea" +#define ICON_FA_TICKET_ALT u8"\uf3ff" +#define ICON_FA_TRUCK u8"\uf0d1" +#define ICON_FA_WON_SIGN u8"\uf159" +#define ICON_FA_SUPERSCRIPT u8"\uf12b" +#define ICON_FA_TTY u8"\uf1e4" +#define ICON_FA_USER_MD u8"\uf0f0" +#define ICON_FA_ALIGN_LEFT u8"\uf036" +#define ICON_FA_TABLETS u8"\uf490" +#define ICON_FA_MOTORCYCLE u8"\uf21c" +#define ICON_FA_ANGLE_UP u8"\uf106" +#define ICON_FA_BROOM u8"\uf51a" +#define ICON_FA_TOILET_PAPER u8"\uf71e" +#define ICON_FA_DICE_D20 u8"\uf6cf" +#define ICON_FA_LEVEL_DOWN_ALT u8"\uf3be" +#define ICON_FA_PAPERCLIP u8"\uf0c6" +#define ICON_FA_USER_CLOCK u8"\uf4fd" +#define ICON_FA_SORT_ALPHA_UP u8"\uf15e" +#define ICON_FA_AUDIO_DESCRIPTION u8"\uf29e" +#define ICON_FA_FILE_CSV u8"\uf6dd" +#define ICON_FA_FILE_DOWNLOAD u8"\uf56d" +#define ICON_FA_SYNC_ALT u8"\uf2f1" +#define ICON_FA_KISS u8"\uf596" +#define ICON_FA_HANDS u8"\uf4c2" +#define ICON_FA_REPUBLICAN u8"\uf75e" +#define ICON_FA_EDIT u8"\uf044" +#define ICON_FA_UNIVERSITY u8"\uf19c" +#define ICON_FA_KHANDA u8"\uf66d" +#define ICON_FA_GLASSES u8"\uf530" +#define ICON_FA_SQUARE u8"\uf0c8" +#define ICON_FA_GRIN_SQUINT u8"\uf585" +#define ICON_FA_GLOBE u8"\uf0ac" +#define ICON_FA_RECEIPT u8"\uf543" +#define ICON_FA_STRIKETHROUGH u8"\uf0cc" +#define ICON_FA_UNLOCK u8"\uf09c" +#define ICON_FA_DICE_SIX u8"\uf526" +#define ICON_FA_GRIP_VERTICAL u8"\uf58e" +#define ICON_FA_PILLS u8"\uf484" +#define ICON_FA_EXCLAMATION u8"\uf12a" +#define ICON_FA_PERSON_BOOTH u8"\uf756" +#define ICON_FA_CALENDAR_PLUS u8"\uf271" +#define ICON_FA_SMOG u8"\uf75f" +#define ICON_FA_LOCATION_ARROW u8"\uf124" +#define ICON_FA_Andromeda u8"\uf0e9" +#define ICON_FA_QURAN u8"\uf687" +#define ICON_FA_UNDO u8"\uf0e2" +#define ICON_FA_DUMPSTER u8"\uf793" +#define ICON_FA_FUNNEL_DOLLAR u8"\uf662" +#define ICON_FA_INDENT u8"\uf03c" +#define ICON_FA_LANGUAGE u8"\uf1ab" +#define ICON_FA_ARROW_ALT_CIRCLE_UP u8"\uf35b" +#define ICON_FA_ROUTE u8"\uf4d7" +#define ICON_FA_USER_ALT u8"\uf406" +#define ICON_FA_TIMES u8"\uf00d" +#define ICON_FA_CLINIC_MEDICAL u8"\uf7f2" +#define ICON_FA_LEVEL_UP_ALT u8"\uf3bf" +#define ICON_FA_BLIND u8"\uf29d" +#define ICON_FA_CHEESE u8"\uf7ef" +#define ICON_FA_PHONE_SQUARE u8"\uf098" +#define ICON_FA_SHOPPING_BASKET u8"\uf291" +#define ICON_FA_ICE_CREAM u8"\uf810" +#define ICON_FA_RING u8"\uf70b" +#define ICON_FA_CITY u8"\uf64f" +#define ICON_FA_TEXT_WIDTH u8"\uf035" +#define ICON_FA_RSS_SQUARE u8"\uf143" +#define ICON_FA_PAINT_BRUSH u8"\uf1fc" +#define ICON_FA_PARACHUTE_BOX u8"\uf4cd" +#define ICON_FA_SIM_CARD u8"\uf7c4" +#define ICON_FA_CLOUD_UPLOAD_ALT u8"\uf382" +#define ICON_FA_SORT_UP u8"\uf0de" +#define ICON_FA_SIGN_OUT_ALT u8"\uf2f5" +#define ICON_FA_USER_NINJA u8"\uf504" +#define ICON_FA_SIGN_IN_ALT u8"\uf2f6" +#define ICON_FA_MUG_HOT u8"\uf7b6" +#define ICON_FA_SHARE_ALT u8"\uf1e0" +#define ICON_FA_CALENDAR_CHECK u8"\uf274" +#define ICON_FA_PEN_FANCY u8"\uf5ac" +#define ICON_FA_BIOHAZARD u8"\uf780" +#define ICON_FA_BED u8"\uf236" +#define ICON_FA_FILE_SIGNATURE u8"\uf573" +#define ICON_FA_TOGGLE_OFF u8"\uf204" +#define ICON_FA_TRAFFIC_LIGHT u8"\uf637" +#define ICON_FA_TRACTOR u8"\uf722" +#define ICON_FA_MEH_ROLLING_EYES u8"\uf5a5" +#define ICON_FA_COMMENT_ALT u8"\uf27a" +#define ICON_FA_RULER_HORIZONTAL u8"\uf547" +#define ICON_FA_PAINT_ROLLER u8"\uf5aa" +#define ICON_FA_HAT_WIZARD u8"\uf6e8" +#define ICON_FA_CALENDAR u8"\uf133" +#define ICON_FA_MICROPHONE u8"\uf130" +#define ICON_FA_FOOTBALL_BALL u8"\uf44e" +#define ICON_FA_ALLERGIES u8"\uf461" +#define ICON_FA_ID_CARD u8"\uf2c2" +#define ICON_FA_REDO_ALT u8"\uf2f9" +#define ICON_FA_PLAY_CIRCLE u8"\uf144" +#define ICON_FA_THERMOMETER u8"\uf491" +#define ICON_FA_DOLLAR_SIGN u8"\uf155" +#define ICON_FA_DUNGEON u8"\uf6d9" +#define ICON_FA_COMPRESS u8"\uf066" +#define ICON_FA_SEARCH_LOCATION u8"\uf689" +#define ICON_FA_BLENDER_PHONE u8"\uf6b6" +#define ICON_FA_ANGLE_RIGHT u8"\uf105" +#define ICON_FA_CHESS_QUEEN u8"\uf445" +#define ICON_FA_PAGER u8"\uf815" +#define ICON_FA_MEH_BLANK u8"\uf5a4" +#define ICON_FA_EJECT u8"\uf052" +#define ICON_FA_HOURGLASS_END u8"\uf253" +#define ICON_FA_TOOTH u8"\uf5c9" +#define ICON_FA_BUSINESS_TIME u8"\uf64a" +#define ICON_FA_PLACE_OF_WORSHIP u8"\uf67f" +#define ICON_FA_MOON u8"\uf186" +#define ICON_FA_GRIN_TONGUE_SQUINT u8"\uf58a" +#define ICON_FA_WALKING u8"\uf554" +#define ICON_FA_SHIPPING_FAST u8"\uf48b" +#define ICON_FA_CARET_LEFT u8"\uf0d9" +#define ICON_FA_DICE u8"\uf522" +#define ICON_FA_RUBLE_SIGN u8"\uf158" +#define ICON_FA_RULER_VERTICAL u8"\uf548" +#define ICON_FA_HAND_POINTER u8"\uf25a" +#define ICON_FA_TAPE u8"\uf4db" +#define ICON_FA_SHOPPING_BAG u8"\uf290" +#define ICON_FA_SKIING_NORDIC u8"\uf7ca" +#define ICON_FA_HIPPO u8"\uf6ed" +#define ICON_FA_CUBE u8"\uf1b2" +#define ICON_FA_CAPSULES u8"\uf46b" +#define ICON_FA_KIWI_BIRD u8"\uf535" +#define ICON_FA_CHEVRON_CIRCLE_UP u8"\uf139" +#define ICON_FA_MARS_STROKE_V u8"\uf22a" +#define ICON_FA_POO_STORM u8"\uf75a" +#define ICON_FA_JOINT u8"\uf595" +#define ICON_FA_MARS_STROKE_H u8"\uf22b" +#define ICON_FA_ADDRESS_BOOK u8"\uf2b9" +#define ICON_FA_PROCEDURES u8"\uf487" +#define ICON_FA_GEM u8"\uf3a5" +#define ICON_FA_RULER_COMBINED u8"\uf546" +#define ICON_FA_BRAIN u8"\uf5dc" +#define ICON_FA_STAR_AND_CRESCENT u8"\uf699" +#define ICON_FA_FIGHTER_JET u8"\uf0fb" +#define ICON_FA_SPACE_SHUTTLE u8"\uf197" +#define ICON_FA_MAP_PIN u8"\uf276" +#define ICON_FA_ALIGN_CENTER u8"\uf037" +#define ICON_FA_SORT_ALPHA_DOWN u8"\uf15d" +#define ICON_FA_PARKING u8"\uf540" +#define ICON_FA_MAP_SIGNS u8"\uf277" +#define ICON_FA_PALETTE u8"\uf53f" +#define ICON_FA_GLASS_MARTINI u8"\uf000" +#define ICON_FA_TIMES_CIRCLE u8"\uf057" +#define ICON_FA_MONUMENT u8"\uf5a6" +#define ICON_FA_GUITAR u8"\uf7a6" +#define ICON_FA_GRIN_BEAM u8"\uf582" +#define ICON_FA_KEY u8"\uf084" +#define ICON_FA_TH_LIST u8"\uf00b" +#define ICON_FA_SHARE_ALT_SQUARE u8"\uf1e1" +#define ICON_FA_DRUM u8"\uf569" +#define ICON_FA_FILE_CONTRACT u8"\uf56c" +#define ICON_FA_RESTROOM u8"\uf7bd" +#define ICON_FA_UNLOCK_ALT u8"\uf13e" +#define ICON_FA_MICROPHONE_ALT_SLASH u8"\uf539" +#define ICON_FA_USER_SECRET u8"\uf21b" +#define ICON_FA_ARROW_RIGHT u8"\uf061" +#define ICON_FA_FILE_VIDEO u8"\uf1c8" +#define ICON_FA_ARROW_ALT_CIRCLE_RIGHT u8"\uf35a" +#define ICON_FA_COMMENT u8"\uf075" +#define ICON_FA_CALENDAR_WEEK u8"\uf784" +#define ICON_FA_USER_GRADUATE u8"\uf501" +#define ICON_FA_HAND_MIDDLE_FINGER u8"\uf806" +#define ICON_FA_POO u8"\uf2fe" +#define ICON_FA_GRIP_LINES_VERTICAL u8"\uf7a5" +#define ICON_FA_TABLE u8"\uf0ce" +#define ICON_FA_POLL u8"\uf681" +#define ICON_FA_CAR_ALT u8"\uf5de" +#define ICON_FA_THUMBS_UP u8"\uf164" +#define ICON_FA_TRADEMARK u8"\uf25c" +#define ICON_FA_CLOUD_MOON u8"\uf6c3" +#define ICON_FA_VIALS u8"\uf493" +#define ICON_FA_FIRST_AID u8"\uf479" +#define ICON_FA_ERASER u8"\uf12d" +#define ICON_FA_MARS u8"\uf222" +#define ICON_FA_STAR_OF_LIFE u8"\uf621" +#define ICON_FA_FEATHER u8"\uf52d" +#define ICON_FA_SQUARE_FULL u8"\uf45c" +#define ICON_FA_DOLLY u8"\uf472" +#define ICON_FA_HOURGLASS_START u8"\uf251" +#define ICON_FA_GRIN_HEARTS u8"\uf584" +#define ICON_FA_CUBES u8"\uf1b3" +#define ICON_FA_HASHTAG u8"\uf292" +#define ICON_FA_SEEDLING u8"\uf4d8" +#define ICON_FA_HAYKAL u8"\uf666" +#define ICON_FA_TSHIRT u8"\uf553" +#define ICON_FA_LAUGH_SQUINT u8"\uf59b" +#define ICON_FA_HDD u8"\uf0a0" +#define ICON_FA_NEWSPAPER u8"\uf1ea" +#define ICON_FA_HOSPITAL_ALT u8"\uf47d" +#define ICON_FA_USER_SLASH u8"\uf506" +#define ICON_FA_FILE_WORD u8"\uf1c2" +#define ICON_FA_ENVELOPE_SQUARE u8"\uf199" +#define ICON_FA_GENDERLESS u8"\uf22d" +#define ICON_FA_DICE_FIVE u8"\uf523" +#define ICON_FA_SYNAGOGUE u8"\uf69b" +#define ICON_FA_PAW u8"\uf1b0" +#define ICON_FA_RADIATION u8"\uf7b9" +#define ICON_FA_CROSS u8"\uf654" +#define ICON_FA_ARCHIVE u8"\uf187" +#define ICON_FA_PHONE_VOLUME u8"\uf2a0" +#define ICON_FA_SOLAR_PANEL u8"\uf5ba" +#define ICON_FA_INFINITY u8"\uf534" +#define ICON_FA_HAND_POINT_DOWN u8"\uf0a7" +#define ICON_FA_MAP_MARKER u8"\uf041" +#define ICON_FA_CALENDAR_ALT u8"\uf073" +#define ICON_FA_AMERICAN_SIGN_LANGUAGE_INTERPRETING u8"\uf2a3" +#define ICON_FA_BINOCULARS u8"\uf1e5" +#define ICON_FA_STICKY_NOTE u8"\uf249" +#define ICON_FA_RUNNING u8"\uf70c" +#define ICON_FA_PEN_NIB u8"\uf5ad" +#define ICON_FA_MAP_MARKED u8"\uf59f" +#define ICON_FA_EXPAND u8"\uf065" +#define ICON_FA_TRUCK_PICKUP u8"\uf63c" +#define ICON_FA_HOLLY_BERRY u8"\uf7aa" +#define ICON_FA_PRESCRIPTION_BOTTLE u8"\uf485" +#define ICON_FA_LAPTOP_CODE u8"\uf5fc" +#define ICON_FA_GOLF_BALL u8"\uf450" +#define ICON_FA_SKULL_CROSSBONES u8"\uf714" +#define ICON_FA_TAXI u8"\uf1ba" +#define ICON_FA_ROCKET u8"\uf135" +#define ICON_FA_YIN_YANG u8"\uf6ad" +#define ICON_FA_FINGERPRINT u8"\uf577" +#define ICON_FA_ARROWS_ALT u8"\uf0b2" +#define ICON_FA_UNDERLINE u8"\uf0cd" +#define ICON_FA_ARROW_CIRCLE_UP u8"\uf0aa" +#define ICON_FA_BASKETBALL_BALL u8"\uf434" +#define ICON_FA_DESKTOP u8"\uf108" +#define ICON_FA_SPINNER u8"\uf110" +#define ICON_FA_TOGGLE_ON u8"\uf205" +#define ICON_FA_STOPWATCH u8"\uf2f2" +#define ICON_FA_ARROW_ALT_CIRCLE_LEFT u8"\uf359" +#define ICON_FA_GAS_PUMP u8"\uf52f" +#define ICON_FA_EXTERNAL_LINK_ALT u8"\uf35d" +#define ICON_FA_FROWN u8"\uf119" +#define ICON_FA_RULER u8"\uf545" +#define ICON_FA_FLAG_USA u8"\uf74d" +#define ICON_FA_GRIN u8"\uf580" +#define ICON_FA_THEATER_MASKS u8"\uf630" +#define ICON_FA_ARROW_CIRCLE_LEFT u8"\uf0a8" +#define ICON_FA_HIGHLIGHTER u8"\uf591" +#define ICON_FA_POLL_H u8"\uf682" +#define ICON_FA_SERVER u8"\uf233" +#define ICON_FA_TRASH_RESTORE u8"\uf829" +#define ICON_FA_SPRAY_CAN u8"\uf5bd" +#define ICON_FA_BOWLING_BALL u8"\uf436" +#define ICON_FA_LAUGH u8"\uf599" +#define ICON_FA_TERMINAL u8"\uf120" +#define ICON_FA_WINDOW_MINIMIZE u8"\uf2d1" +#define ICON_FA_HOME u8"\uf015" +#define ICON_FA_UTENSIL_SPOON u8"\uf2e5" +#define ICON_FA_QUIDDITCH u8"\uf458" +#define ICON_FA_APPLE_ALT u8"\uf5d1" +#define ICON_FA_Andromeda_BEACH u8"\uf5ca" +#define ICON_FA_CANNABIS u8"\uf55f" +#define ICON_FA_LAUGH_BEAM u8"\uf59a" +#define ICON_FA_TEETH_OPEN u8"\uf62f" +#define ICON_FA_DRUMSTICK_BITE u8"\uf6d7" +#define ICON_FA_CHART_PIE u8"\uf200" +#define ICON_FA_SD_CARD u8"\uf7c2" +#define ICON_FA_HANDS_HELPING u8"\uf4c4" +#define ICON_FA_PASTE u8"\uf0ea" +#define ICON_FA_OM u8"\uf679" +#define ICON_FA_LUGGAGE_CART u8"\uf59d" +#define ICON_FA_INDUSTRY u8"\uf275" +#define ICON_FA_SWIMMER u8"\uf5c4" +#define ICON_FA_RADIATION_ALT u8"\uf7ba" +#define ICON_FA_COMPRESS_ARROWS_ALT u8"\uf78c" +#define ICON_FA_ROAD u8"\uf018" +#define ICON_FA_IMAGE u8"\uf03e" +#define ICON_FA_CHILD u8"\uf1ae" +#define ICON_FA_ANGLE_DOUBLE_RIGHT u8"\uf101" +#define ICON_FA_CLOUD_MOON_RAIN u8"\uf73c" +#define ICON_FA_DOOR_OPEN u8"\uf52b" +#define ICON_FA_GRIN_TONGUE_WINK u8"\uf58b" +#define ICON_FA_REPLY_ALL u8"\uf122" +#define ICON_FA_TEMPERATURE_LOW u8"\uf76b" +#define ICON_FA_INBOX u8"\uf01c" +#define ICON_FA_FEMALE u8"\uf182" +#define ICON_FA_SYRINGE u8"\uf48e" +#define ICON_FA_CIRCLE_NOTCH u8"\uf1ce" +#define ICON_FA_WEIGHT u8"\uf496" +#define ICON_FA_SNOWPLOW u8"\uf7d2" +#define ICON_FA_TABLE_TENNIS u8"\uf45d" +#define ICON_FA_LOW_VISION u8"\uf2a8" +#define ICON_FA_FILE_IMPORT u8"\uf56f" +#define ICON_FA_ITALIC u8"\uf033" +#define ICON_FA_CLOSED_CAPTIONING u8"\uf20a" +#define ICON_FA_CHALKBOARD u8"\uf51b" +#define ICON_FA_BUILDING u8"\uf1ad" +#define ICON_FA_TACHOMETER_ALT u8"\uf3fd" +#define ICON_FA_BUS u8"\uf207" +#define ICON_FA_ANGLE_DOWN u8"\uf107" +#define ICON_FA_HAND_ROCK u8"\uf255" +#define ICON_FA_FORWARD u8"\uf04e" +#define ICON_FA_HELICOPTER u8"\uf533" +#define ICON_FA_PODCAST u8"\uf2ce" +#define ICON_FA_TRUCK_MOVING u8"\uf4df" +#define ICON_FA_BUG u8"\uf188" +#define ICON_FA_SHIELD_ALT u8"\uf3ed" +#define ICON_FA_FILL_DRIP u8"\uf576" +#define ICON_FA_COMMENT_SLASH u8"\uf4b3" +#define ICON_FA_SUITCASE u8"\uf0f2" +#define ICON_FA_SKATING u8"\uf7c5" +#define ICON_FA_TOILET u8"\uf7d8" +#define ICON_FA_ENVELOPE_OPEN_TEXT u8"\uf658" +#define ICON_FA_HAND_HOLDING u8"\uf4bd" +#define ICON_FA_VENUS_MARS u8"\uf228" +#define ICON_FA_HEART_BROKEN u8"\uf7a9" +#define ICON_FA_UTENSILS u8"\uf2e7" +#define ICON_FA_TH_LARGE u8"\uf009" +#define ICON_FA_AT u8"\uf1fa" +#define ICON_FA_FILE u8"\uf15b" +#define ICON_FA_TENGE u8"\uf7d7" +#define ICON_FA_FLAG_CHECKERED u8"\uf11e" +#define ICON_FA_FILM u8"\uf008" +#define ICON_FA_FILL u8"\uf575" +#define ICON_FA_GRIN_SQUINT_TEARS u8"\uf586" +#define ICON_FA_PERCENT u8"\uf295" +#define ICON_FA_BOOK u8"\uf02d" +#define ICON_FA_METEOR u8"\uf753" +#define ICON_FA_TRASH u8"\uf1f8" +#define ICON_FA_FILE_AUDIO u8"\uf1c7" +#define ICON_FA_SATELLITE_DISH u8"\uf7c0" +#define ICON_FA_POOP u8"\uf619" +#define ICON_FA_STAR u8"\uf005" +#define ICON_FA_GIFTS u8"\uf79c" +#define ICON_FA_GHOST u8"\uf6e2" +#define ICON_FA_PRESCRIPTION_BOTTLE_ALT u8"\uf486" +#define ICON_FA_MONEY_BILL_WAVE_ALT u8"\uf53b" +#define ICON_FA_NEUTER u8"\uf22c" +#define ICON_FA_BAND_AID u8"\uf462" +#define ICON_FA_WIFI u8"\uf1eb" +#define ICON_FA_MASK u8"\uf6fa" +#define ICON_FA_VENUS_DOUBLE u8"\uf226" +#define ICON_FA_CHEVRON_UP u8"\uf077" +#define ICON_FA_HAND_SPOCK u8"\uf259" +#define ICON_FA_HAND_POINT_UP u8"\uf0a6" \ No newline at end of file diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.cpp new file mode 100644 index 0000000..a249914 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.cpp @@ -0,0 +1,29 @@ +#include "CAndromedaMenu.hpp" + +#include + +#include + +static CAndromedaMenu g_CAndromedaMenu{}; + +auto CAndromedaMenu::OnRenderMenu() -> void +{ + const float MenuAlpha = static_cast( Settings::Misc::MenuAlpha ) / 255.f; + + ImGui::PushStyleVar( ImGuiStyleVar_Alpha , MenuAlpha ); + ImGui::SetNextWindowSize( ImVec2( 500 , 500 ) , ImGuiCond_FirstUseEver ); + + if ( ImGui::Begin( XorStr( CHEAT_NAME ) , 0 ) ) + { + + } + + ImGui::End(); + + ImGui::PopStyleVar(); +} + +auto GetAndromedaMenu() -> CAndromedaMenu* +{ + return &g_CAndromedaMenu; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.hpp new file mode 100644 index 0000000..b0c8a70 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/GUI/CAndromedaMenu.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include + +class CAndromedaMenu final +{ +public: + auto OnRenderMenu() -> void; +}; + +auto GetAndromedaMenu() -> CAndromedaMenu*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.cpp new file mode 100644 index 0000000..96514a7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.cpp @@ -0,0 +1,198 @@ +#include "CRender.hpp" + +static CRender g_CRender{}; + +auto CRender::DrawLine( const ImVec2& Start , const ImVec2& End , const ImColor& Color , float thickness ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddLine( Start , End , Color , thickness ); +} + +auto CRender::DrawBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddRect( Min , Max , Color ); +} + +auto CRender::DrawOutlineBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + const ImVec2 MinBlack1 = Min - ImVec2{ 1.f, 1.f }; + const ImVec2 MaxBlack1 = Max + ImVec2{ 1.f, 1.f }; + + const ImVec2 MinBlack2 = Min + ImVec2{ 1.f, 1.f }; + const ImVec2 MaxBlack2 = Max - ImVec2{ 1.f, 1.f }; + + const ImColor BlackColor = IM_COL32( 0 , 0 , 0 , 255 ); + + DrawBox( MinBlack1 , MaxBlack1 , BlackColor ); + DrawBox( MinBlack2 , MaxBlack2 , BlackColor ); + + DrawBox( Min , Max , Color ); +} + +auto CRender::DrawCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + const auto w = Max.x - Min.x; + const auto h = Max.y - Min.y; + + const auto iw = roundf( w / 4.f ); + const auto ih = roundf( h / 4.f ); + + // top + DrawLine( ImVec2( Min.x , Min.y ) , ImVec2( Min.x + iw , Min.y ) , Color ); // left _ + DrawLine( ImVec2( Min.x + w - iw , Min.y ) , ImVec2( Min.x + w , Min.y ) , Color ); // right _ + DrawLine( ImVec2( Min.x , Min.y ) , ImVec2( Min.x , Min.y + ih ) , Color ); // top left | + DrawLine( ImVec2( Min.x + w , Min.y ) , ImVec2( Min.x + w , Min.y + ih ) , Color ); // top right | + + // bottom + DrawLine( ImVec2( Min.x , Min.y + h ) , ImVec2( Min.x + iw , Min.y + h ) , Color ); // left _ + DrawLine( ImVec2( Min.x + w - iw , Min.y + h ) , ImVec2( Min.x + w , Min.y + h ) , Color ); // right _ + DrawLine( ImVec2( Min.x , Min.y + h - ih ) , ImVec2( Min.x , Min.y + h ) , Color ); // bottom left | + DrawLine( ImVec2( Min.x + w , Min.y + h - ih ) , ImVec2( Min.x + w , Min.y + h + 1.f ) , Color ); // bottom right | +} + +auto CRender::DrawOutlineCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + const auto BlackColor = ImColor( 0 , 0 , 0 ); + + const auto w = Max.x - Min.x; + const auto h = Max.y - Min.y; + + const auto iw = roundf( w / 4.f ); + const auto ih = roundf( h / 4.f ); + + DrawCoalBox( Min , Max , BlackColor ); + DrawCoalBox( Min + ImVec2( 1.f , 1.f ) , Max - ImVec2( 1.f , 1.f ) , Color ); + DrawCoalBox( Min + ImVec2( 2.f , 2.f ) , Max - ImVec2( 2.f , 2.f ) , BlackColor ); + + // top left left + DrawLine( ImVec2( Min.x , Min.y + ih ) , ImVec2( Min.x + 3.f , Min.y + ih ) , BlackColor ); + // top right right + DrawLine( ImVec2( Min.x + w - 2.f , Min.y + ih ) , ImVec2( Min.x + w + 1.f , Min.y + ih ) , BlackColor ); + // top left top + DrawLine( ImVec2( Min.x + iw , Min.y ) , ImVec2( Min.x + iw , Min.y + 3.f ) , BlackColor ); + // top right top + DrawLine( ImVec2( Min.x + w - iw - 1.f , Min.y ) , ImVec2( Min.x + w - iw - 1.f , Min.y + 3.f ) , BlackColor ); + + // bottom left left + DrawLine( ImVec2( Min.x , Min.y + h - ih - 1.f ) , ImVec2( Min.x + 3.f , Min.y + h - ih - 1.f ) , BlackColor ); + // bottom right right + DrawLine( ImVec2( Min.x + w - 2.f , Min.y + h - ih - 1.f ) , ImVec2( Min.x + w + 1.f , Min.y + h - ih - 1.f ) , BlackColor ); + // bottom left bottom + DrawLine( ImVec2( Min.x + iw , Min.y + h - 2.f ) , ImVec2( Min.x + iw , Min.y + h + 1.f ) , BlackColor ); + // bottom right bottom + DrawLine( ImVec2( Min.x + w - iw - 1.f , Min.y + h - 2.f ) , ImVec2( Min.x + w - iw - 1.f , Min.y + h + 1.f ) , BlackColor ); +} + +auto CRender::DrawFillBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddRectFilled( Min , Max , Color ); +} + +auto CRender::DrawRectFilledMultiColor( const ImVec2& Min , const ImVec2& Max , const ImU32 col_upr_left , const ImU32 col_upr_right , const ImU32 col_bot_right , const ImU32 col_bot_left ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddRectFilledMultiColor( Min , Max , col_upr_left , col_upr_right , col_bot_right , col_bot_left ); +} + +auto CRender::DrawCircle( const ImVec2& Center , float radius , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddCircle( Center , radius , Color ); +} + +auto CRender::DrawCircleFilled( const ImVec2& Center , float radius , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + pBackgroundDrawList->AddCircleFilled( Center , radius , Color ); +} + +auto CRender::DrawCircle3D( const Vector3& Center , float radius , const ImColor& Color ) -> void +{ + static float Step = M_PI_F * 2.0f / 40.f; + + ImVec2 prev; + + static constexpr auto LineSize = 1.f; + + for ( float lat = 0.f; lat <= M_PI * 2.0f + 0.1f; lat += Step ) + { + float sin1 = sinf( lat ); + float cos1 = cosf( lat ); + float sin3 = sinf( 0.0f ); + float cos3 = cosf( 0.0f ); + + ImVec2 Out; + + Vector3 point1 = Vector3( sin1 * cos3 , cos1 , sin1 * sin3 ) * radius; + Vector3 point2 = Center + point1; + + if ( Math::WorldToScreen( point2 , Out ) ) + { + if ( lat > 0.01f ) + { + if ( prev.x > 0.f && prev.y > 0.f && Out.x > 0.f && Out.y > 0.f ) + { + DrawLine( prev , Out , Color , LineSize ); + } + } + } + + prev = Out; + } +} + +auto CRender::DrawTriangleFilled( const ImVec2& Center , const ImVec2& Pos1 , const ImVec2& Pos2 , const ImColor& Color ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + ImGui::GetBackgroundDrawList()->AddTriangleFilled( Center , Pos1 , Pos2 , Color ); +} + +auto CRender::DrawImage( ID3D11ShaderResourceView* pD3D11ShaderResourceView , const float x , const float y , const float w , const float h ) -> void +{ + auto pBackgroundDrawList = ImGui::GetBackgroundDrawList(); + + if ( !pBackgroundDrawList ) + return; + + ImGui::GetBackgroundDrawList()->AddImage( reinterpret_cast( pD3D11ShaderResourceView ) , ImVec2( x , y ) , ImVec2( x + w , y + h ) ); +} + +auto GetRender() -> CRender* +{ + return &g_CRender; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.hpp new file mode 100644 index 0000000..20b00b6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRender.hpp @@ -0,0 +1,29 @@ +#pragma once + +#include +#include + +#include + +struct ID3D11ShaderResourceView; + +class CRender final +{ +public: + auto DrawLine( const ImVec2& Start , const ImVec2& End , const ImColor& Color , float thickness = 1.f ) -> void; + auto DrawBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawOutlineBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawOutlineCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawFillBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawRectFilledMultiColor( const ImVec2& Min , const ImVec2& Max , const ImU32 col_upr_left , const ImU32 col_upr_right , const ImU32 col_bot_right , const ImU32 col_bot_left ) -> void; + auto DrawCircle( const ImVec2& Center , float radius , const ImColor& Color ) -> void; + auto DrawCircleFilled( const ImVec2& Center , float radius , const ImColor& Color ) -> void; + auto DrawCircle3D( const Vector3& Center , float radius , const ImColor& Color ) -> void; + auto DrawTriangleFilled( const ImVec2& Center , const ImVec2& Pos1 , const ImVec2& Pos2 , const ImColor& Color ) -> void; + +public: + auto DrawImage( ID3D11ShaderResourceView* pD3D11ShaderResourceView , const float x , const float y , const float w , const float h ) -> void; +}; + +auto GetRender() -> CRender*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.cpp new file mode 100644 index 0000000..125bc92 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.cpp @@ -0,0 +1,195 @@ +#include "CRenderStackSystem.hpp" +#include "CRender.hpp" + +static CRenderStackSystem g_CRenderStackSystem{}; + +auto CRenderObjectDrawLine::OnRender() -> void +{ + GetRender()->DrawLine( m_Start , m_End , m_Color , m_Thickness ); +} + +auto CRenderObjectDrawBox::OnRender() -> void +{ + GetRender()->DrawBox( m_Min , m_Max , m_Color ); +} + +auto CRenderObjectDrawOutlineBox::OnRender() -> void +{ + GetRender()->DrawOutlineBox( m_Min , m_Max , m_Color ); +} + +auto CRenderObjectDrawCoalBox::OnRender() -> void +{ + GetRender()->DrawCoalBox( m_Min , m_Max , m_Color ); +} + +auto CRenderObjectDrawOutlineCoalBox::OnRender() -> void +{ + GetRender()->DrawOutlineCoalBox( m_Min , m_Max , m_Color ); +} + +auto CRenderObjectDrawFillBox::OnRender() -> void +{ + GetRender()->DrawFillBox( m_Min , m_Max , m_Color ); +} + +auto CRenderObjectDrawRectFilledMultiColor::OnRender() -> void +{ + GetRender()->DrawRectFilledMultiColor( m_Min , m_Max , m_Col_upr_left , m_Col_upr_right , m_Col_bot_right , m_Col_bot_left ); +} + +auto CRenderObjectDrawCircle::OnRender() -> void +{ + GetRender()->DrawCircle( m_Center , m_flRadius , m_Color ); +} + +auto CRenderObjectDrawCircleFilled::OnRender() -> void +{ + GetRender()->DrawCircleFilled( m_Center , m_flRadius , m_Color ); +} + +auto CRenderObjectDrawCircle3D::OnRender() -> void +{ + GetRender()->DrawCircle3D( m_Center , m_flRadius , m_Color ); +} + +auto CRenderObjectDrawTriangleFilled::OnRender() -> void +{ + GetRender()->DrawTriangleFilled( m_Center , m_pos1 , m_pos2 , m_Color ); +} + +auto CRenderObjectDrawString::OnRender() -> void +{ + m_pFont->DrawString( m_x , m_y , m_Color , m_Flags , "%s" , m_Text.c_str() ); +} + +auto CRenderStackSystem::DrawLine( const ImVec2& Start , const ImVec2& End , const ImColor& Color , const float thickness ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Start , End , Color , thickness ) ); +} + +auto CRenderStackSystem::DrawBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Min , Max , Color ) ); +} + +auto CRenderStackSystem::DrawOutlineBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Min , Max , Color ) ); +} + +auto CRenderStackSystem::DrawCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.push_back( std::make_shared( Min , Max , Color ) ); +} + +auto CRenderStackSystem::DrawOutlineCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Min , Max , Color ) ); +} + +auto CRenderStackSystem::DrawFillBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Min , Max , Color ) ); +} + +auto CRenderStackSystem::DrawRectFilledMultiColor( const ImVec2& Min , const ImVec2& Max , const ImU32 col_upr_left , const ImU32 col_upr_right , const ImU32 col_bot_right , const ImU32 col_bot_left ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Min , Max , col_upr_left , col_upr_right , col_bot_right , col_bot_left ) ); +} + +auto CRenderStackSystem::DrawCircle( const ImVec2& Center , float radius , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Center , radius , Color ) ); +} + +auto CRenderStackSystem::DrawCircleFilled( const ImVec2& Center , const float radius , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Center , radius , Color ) ); +} + +auto CRenderStackSystem::DrawCircle3D( const Vector3& Center , float radius , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Center , radius , Color ) ); +} + +auto CRenderStackSystem::DrawTriangleFilled( const ImVec2& Center , const ImVec2& pos1 , const ImVec2& pos2 , const ImColor& Color ) -> void +{ + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( Center , pos1 , pos2 , Color ) ); +} + +// TODO: SURIK std::format - kruto, ETO HUETA EBANAYA +auto CRenderStackSystem::DrawString( CFont* pFont , const int X , const int Y , const int Flags , const ImColor& Color , const char* fmt , ... ) -> void +{ + char Buffer[g_BufferSize] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + std::scoped_lock lock( m_Lock ); + m_vecUpdateBuffer.emplace_back( std::make_shared( pFont , X , Y , Flags , Color , Buffer ) ); +} + +auto CRenderStackSystem::DrawString( CFont* pFont , const ImVec2& Pos , const int Flags , const ImColor& Color , const char* fmt , ... ) -> void +{ + char Buffer[g_BufferSize] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + DrawString( pFont , static_cast( Pos.x ) , static_cast( Pos.y ) , Flags , Color , Buffer ); +} + +auto CRenderStackSystem::OnClientOutput() -> void +{ + std::scoped_lock lock( m_Lock ); + + if ( m_vecUpdateBuffer.empty() ) + { + // Nothing has been drawn on this frame + m_pSharedBuffer = std::make_shared(); + m_bSharedBufferReady = true; + return; + } + + m_pSharedBuffer = std::make_shared( std::move( m_vecUpdateBuffer ) ); + m_bSharedBufferReady = true; +} + +auto CRenderStackSystem::OnRenderStack() -> void +{ + if ( m_bSharedBufferReady.exchange( false ) ) + { + m_pRenderBuffer = std::move( m_pSharedBuffer.load() ); + } + + if ( m_pRenderBuffer ) + { + auto& bufferCopy = *m_pRenderBuffer; + + for ( auto& order : bufferCopy ) + { + order->OnRender(); + } + } +} + +auto GetRenderStackSystem() -> CRenderStackSystem* +{ + return &g_CRenderStackSystem; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.hpp new file mode 100644 index 0000000..7376192 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Render/CRenderStackSystem.hpp @@ -0,0 +1,285 @@ +#pragma once + +#include +#include + +#include +#include +#include + +// RenderObject: + +class IRenderObject +{ +public: + virtual void OnRender() = 0; +}; + +// Render Classes: + +class CRenderObjectDrawLine final : public IRenderObject +{ +public: + CRenderObjectDrawLine( const ImVec2& Start , const ImVec2& End , const ImColor& Color , const float thickness = 1.f ) : + m_Start( Start ) , m_End( End ) , m_Color( Color ) , m_Thickness( thickness ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Start; + ImVec2 m_End; + ImColor m_Color; + float m_Thickness = 1.f; +}; + +class CRenderObjectDrawBox final : public IRenderObject +{ +public: + CRenderObjectDrawBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) : + m_Min( Min ) , m_Max( Max ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImColor m_Color; +}; + +class CRenderObjectDrawOutlineBox final : public IRenderObject +{ +public: + CRenderObjectDrawOutlineBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) : + m_Min( Min ) , m_Max( Max ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImColor m_Color; +}; + +class CRenderObjectDrawCoalBox final : public IRenderObject +{ +public: + CRenderObjectDrawCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) : + m_Min( Min ) , m_Max( Max ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImColor m_Color; +}; + +class CRenderObjectDrawOutlineCoalBox final : public IRenderObject +{ +public: + CRenderObjectDrawOutlineCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) : + m_Min( Min ) , m_Max( Max ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImColor m_Color; +}; + +class CRenderObjectDrawFillBox final : public IRenderObject +{ +public: + CRenderObjectDrawFillBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) : + m_Min( Min ) , m_Max( Max ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImColor m_Color; +}; + +class CRenderObjectDrawRectFilledMultiColor final : public IRenderObject +{ +public: + CRenderObjectDrawRectFilledMultiColor( const ImVec2& Min , const ImVec2& Max , + const ImU32 col_upr_left , + const ImU32 col_upr_right , + const ImU32 col_bot_right , + const ImU32 col_bot_left ) : + m_Min( Min ) , m_Max( Max ) , + m_Col_upr_left( col_upr_left ) , + m_Col_upr_right( col_upr_right ) , + m_Col_bot_right( col_bot_right ) , + m_Col_bot_left( col_bot_left ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Min , m_Max; + ImU32 m_Col_upr_left , m_Col_upr_right , m_Col_bot_right , m_Col_bot_left; +}; + +class CRenderObjectDrawCircle final : public IRenderObject +{ +public: + CRenderObjectDrawCircle( const ImVec2& Center , float radius , const ImColor& Color ) : + m_Center( Center ) , m_flRadius( radius ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Center; + float m_flRadius; + ImColor m_Color; +}; + +class CRenderObjectDrawCircleFilled final : public IRenderObject +{ +public: + CRenderObjectDrawCircleFilled( const ImVec2& Center , float radius , const ImColor& Color ) : + m_Center( Center ) , m_flRadius( radius ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Center; + float m_flRadius; + ImColor m_Color; +}; + +class CRenderObjectDrawCircle3D final : public IRenderObject +{ +public: + CRenderObjectDrawCircle3D( const Vector3& Center , float radius , const ImColor& Color ) : + m_Center( Center ) , m_flRadius( radius ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + Vector3 m_Center; + float m_flRadius; + ImColor m_Color; +}; + +class CRenderObjectDrawTriangleFilled final : public IRenderObject +{ +public: + CRenderObjectDrawTriangleFilled( const ImVec2& Center , const ImVec2& pos1 , const ImVec2& pos2 , const ImColor& Color ) : + m_Center( Center ) , m_pos1( pos1 ) , m_pos2( pos2 ) , m_Color( Color ) + { + }; + +public: + virtual void OnRender() override; + +private: + ImVec2 m_Center , m_pos1 , m_pos2; + ImColor m_Color; +}; + +class CRenderObjectDrawString final : public IRenderObject +{ +public: + CRenderObjectDrawString( CFont* pFont , const int X , const int Y , const int Flags , const ImColor& Color , const char* szText ) : + m_pFont( pFont ) , m_x( X ) , m_y( Y ) , m_Flags( Flags ) , m_Color( Color ) , m_Text( szText ) + { + }; + +public: + virtual void OnRender() override; + +private: + CFont* m_pFont = nullptr; + int m_x = 0; + int m_y = 0; + int m_Flags = FW1_CENTER; + ImColor m_Color; + std::string m_Text; +}; + +class CRenderObjectDrawWeaponIcon final : public IRenderObject +{ +public: + CRenderObjectDrawWeaponIcon( const char* m_pszItemBaseName , const float x , const float y ) : + m_ItemBaseName( m_pszItemBaseName ) , m_x( x ) , m_y( y ) + { + }; + +public: + virtual void OnRender() override; + +private: + std::string m_ItemBaseName; + float m_x , m_y; +}; + +// Stack System: + +class CRenderStackSystem final +{ + using RenderObjectsVec_t = std::vector>; + using Lock_t = std::mutex; + +public: + auto DrawLine( const ImVec2& Start , const ImVec2& End , const ImColor& Color , const float thickness = 1.f ) -> void; + auto DrawBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawOutlineBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawOutlineCoalBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawFillBox( const ImVec2& Min , const ImVec2& Max , const ImColor& Color ) -> void; + auto DrawRectFilledMultiColor( const ImVec2& Min , const ImVec2& Max , const ImU32 col_upr_left , const ImU32 col_upr_right , const ImU32 col_bot_right , const ImU32 col_bot_left ) -> void; + auto DrawCircle( const ImVec2& Center , float radius , const ImColor& Color ) -> void; + auto DrawCircleFilled( const ImVec2& Center , const float radius , const ImColor& Color ) -> void; + auto DrawCircle3D( const Vector3& Center , float radius , const ImColor& Color ) -> void; + auto DrawTriangleFilled( const ImVec2& Center , const ImVec2& pos1 , const ImVec2& pos2 , const ImColor& Color ) -> void; + +public: + auto DrawString( CFont* pFont , const int X , const int Y , const int Flags , const ImColor& Color , const char* fmt , ... ) -> void; + auto DrawString( CFont* pFont , const ImVec2& Pos , const int Flags , const ImColor& Color , const char* fmt , ... ) -> void; + +public: + auto OnClientOutput() -> void; + auto OnRenderStack() -> void; + +private: + RenderObjectsVec_t m_vecUpdateBuffer; // Update buffer, lock is used for it + std::atomic> m_pSharedBuffer; // Shared buffer, m_bSharedBufferReady notices about update + std::atomic_bool m_bSharedBufferReady = false; + std::shared_ptr m_pRenderBuffer; // Present buffer + + Lock_t m_Lock; + +private: + static constexpr auto g_BufferSize = 64; +}; + +auto GetRenderStackSystem() -> CRenderStackSystem*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.cpp new file mode 100644 index 0000000..6f9f88b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.cpp @@ -0,0 +1,250 @@ +#include "CSettingsJson.hpp" +#include "DllLauncher.hpp" + +#include +#include + +#include + +static CSettingsJson g_CSettingsJson{}; + +auto CSettingsJson::LoadConfig( const std::string& JsonFile ) -> void +{ + auto ConfigLoadedIndex = 0u; + const auto ConfigFilePath = GetDllDir() + JsonFile; + + for ( const auto& Config : m_vecConfigList ) + { + if ( Config == JsonFile ) + { + m_nConfigLoadedIndex = ConfigLoadedIndex; + break; + } + + ConfigLoadedIndex++; + } + + std::ifstream ConfigFile( ConfigFilePath ); + + rapidjson::IStreamWrapper StreamWrapper( ConfigFile ); + rapidjson::Document DocumentConfig; + + DocumentConfig.ParseStream( StreamWrapper ); + + if ( !DocumentConfig.HasParseError() ) + { + + } + else + { + DEV_LOG( "[error] LoadConfig: %s -> %s , %i\n" , ConfigFilePath.c_str() , rapidjson::GetParseError_En( DocumentConfig.GetParseError() ), DocumentConfig.GetErrorOffset() ); + } + + DocumentConfig.Clear(); + ConfigFile.close(); +} + +auto CSettingsJson::SaveConfig( const std::string& JsonFile ) -> void +{ + const auto ConfigFilePath = GetDllDir() + JsonFile; + + std::ofstream ConfigFile( ConfigFilePath ); + + rapidjson::OStreamWrapper StreamWrapper( ConfigFile ); + rapidjson::PrettyWriter ConfigWriter( StreamWrapper ); + + ConfigWriter.SetIndent( '\t' , 1 ); + ConfigWriter.SetFormatOptions( rapidjson::PrettyFormatOptions::kFormatSingleLineArray ); + ConfigWriter.SetMaxDecimalPlaces( 2 ); + + ConfigWriter.StartObject(); + { + ConfigWriter.String( XorStr( "Settings" ) ); + { + ConfigWriter.StartObject(); + { + + } + ConfigWriter.EndObject(); + } + } + ConfigWriter.EndObject(); + + ConfigFile.close(); +} + +auto CSettingsJson::DeleteConfig( const std::string& JsonFile ) -> void +{ + const auto ConfigFilePath = GetDllDir() + JsonFile; + + DeleteFileA( ConfigFilePath.c_str() ); +} + +auto CSettingsJson::UpdateConfigList() -> void +{ + m_vecConfigList.clear(); + + for ( const auto& Entry : std::filesystem::directory_iterator( GetDllDir().c_str() ) ) + { + if ( Entry.is_regular_file() ) + { + if ( Entry.path().extension().string() == XorStr( ".json" ) ) + m_vecConfigList.emplace_back( Entry.path().filename().string() ); + } + } +} + +auto CSettingsJson::GetIntJson( const rapidjson::Value& JsonValue , const char* Name , int& Output , const int Min , const int Max ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( !Value.IsNull() && Value.IsInt() ) + { + const auto IntValue = Value.GetInt(); + + if ( IntValue < Min ) + Output = Min; + else if ( IntValue > Max ) + Output = Max; + else + Output = IntValue; + } + } +} + +auto CSettingsJson::GetBoolJson( const rapidjson::Value& JsonValue , const char* Name , bool& Output ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( !Value.IsNull() && Value.IsBool() ) + Output = Value.GetBool(); + } +} + +auto CSettingsJson::GetFloatJson( const rapidjson::Value& JsonValue , const char* Name , float& Output , const float Min , const float Max ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( !Value.IsNull() && Value.IsFloat() ) + { + Output = std::clamp( Value.GetFloat() , Min , Max ); + } + } +} + +auto CSettingsJson::GetColorJson( const rapidjson::Value& JsonValue , const char* Name , float* Output ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( !Value.IsNull() && Value.IsArray() && Value.GetArray().Size() == 4 ) + { + Output[0] = Value.GetArray()[0].GetFloat(); + Output[1] = Value.GetArray()[1].GetFloat(); + Output[2] = Value.GetArray()[2].GetFloat(); + Output[3] = Value.GetArray()[3].GetFloat(); + + Output[0] = std::clamp( Output[0] , 0.f , 1.f ); + Output[1] = std::clamp( Output[1] , 0.f , 1.f ); + Output[2] = std::clamp( Output[2] , 0.f , 1.f ); + Output[3] = std::clamp( Output[3] , 0.f , 1.f ); + } + } +} + +auto CSettingsJson::GetStringJson( const rapidjson::Value& JsonValue , const char* Name , std::string& Output ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( Value.IsString() ) + { + Output = Value.GetString(); + } + } +} + +auto CSettingsJson::GetBoneSelectedJson( const rapidjson::Value& JsonValue , const char* Name , bool* Output ) -> void +{ + if ( !JsonValue.IsNull() && JsonValue.HasMember( Name ) ) + { + auto& Value = JsonValue[Name]; + + if ( !Value.IsNull() && Value.IsArray() && Value.GetArray().Size() == 4 ) + { + Output[0] = Value.GetArray()[0].GetBool(); + Output[1] = Value.GetArray()[1].GetBool(); + Output[2] = Value.GetArray()[2].GetBool(); + Output[3] = Value.GetArray()[3].GetBool(); + } + } +} + +auto CSettingsJson::AddIntJson( rapidjson::PrettyWriter& Writer , const char* Name , const int& Output ) -> void +{ + Writer.String( Name ); + Writer.Int( Output ); +} + +auto CSettingsJson::AddUInt64Json( rapidjson::PrettyWriter& Writer , const char* Name , const uint64_t& Output ) -> void +{ + Writer.String( Name ); + Writer.Uint64( Output ); +} + +auto CSettingsJson::AddBoolJson( rapidjson::PrettyWriter& Writer , const char* Name , const bool& Output ) -> void +{ + Writer.String( Name ); + Writer.Bool( Output ); +} + +auto CSettingsJson::AddStringJson( rapidjson::PrettyWriter& Writer , const char* Name , const std::string& Output ) -> void +{ + Writer.String( Name ); + Writer.String( Output.c_str() ); +} + +auto CSettingsJson::AddFloatJson( rapidjson::PrettyWriter& Writer , const char* Name , const float& Output ) -> void +{ + Writer.String( Name ); + Writer.Double( static_cast( Output ) ); +} + +auto CSettingsJson::AddColorJson( rapidjson::PrettyWriter& Writer , const char* Name , const float* Output ) -> void +{ + Writer.String( Name ); + Writer.StartArray(); + + Writer.Double( static_cast( Output[0] ) ); + Writer.Double( static_cast( Output[1] ) ); + Writer.Double( static_cast( Output[2] ) ); + Writer.Double( static_cast( Output[3] ) ); + + Writer.EndArray(); +} + +auto CSettingsJson::AddBoneSelectedJson( rapidjson::PrettyWriter& Writer , const char* Name , const bool* Output ) -> void +{ + Writer.String( Name ); + Writer.StartArray(); + + Writer.Bool( Output[0] ); + Writer.Bool( Output[1] ); + Writer.Bool( Output[2] ); + Writer.Bool( Output[3] ); + + Writer.EndArray(); +} + +auto GetSettingsJson() -> CSettingsJson* +{ + return &g_CSettingsJson; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.hpp new file mode 100644 index 0000000..ba382b1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/CSettingsJson.hpp @@ -0,0 +1,63 @@ +#pragma once + +#include +#include + +#include + +#include +#include +#include +#include +#include +#include + +class CSettingsJson final +{ +public: + using VecConfigList_t = std::vector; + +public: + auto LoadConfig( const std::string& JsonFile ) -> void; + auto SaveConfig( const std::string& JsonFile ) -> void; + +public: + auto DeleteConfig( const std::string& JsonFile ) -> void; + +public: + auto UpdateConfigList() -> void; + +private: + auto GetIntJson( const rapidjson::Value& JsonValue , const char* Name , int& Output , const int Min , const int Max ) -> void; + auto GetBoolJson( const rapidjson::Value& JsonValue , const char* Name , bool& Output ) -> void; + auto GetFloatJson( const rapidjson::Value& JsonValue , const char* Name , float& Output , const float Min , const float Max ) -> void; + auto GetColorJson( const rapidjson::Value& JsonValue , const char* Name , float* Output ) -> void; + auto GetStringJson( const rapidjson::Value& JsonValue , const char* Name , std::string& Output ) -> void; + auto GetBoneSelectedJson( const rapidjson::Value& JsonValue , const char* Name , bool* Output ) -> void; + +private: + auto AddIntJson( rapidjson::PrettyWriter& Writer , const char* Name , const int& Output ) -> void; + auto AddUInt64Json( rapidjson::PrettyWriter& Writer , const char* Name , const uint64_t& Output ) -> void; + auto AddBoolJson( rapidjson::PrettyWriter& Writer , const char* Name , const bool& Output ) -> void; + auto AddStringJson( rapidjson::PrettyWriter& Writer , const char* Name , const std::string& Output ) -> void; + auto AddFloatJson( rapidjson::PrettyWriter& Writer , const char* Name , const float& Output ) -> void; + auto AddColorJson( rapidjson::PrettyWriter& Writer , const char* Name , const float* Output ) -> void; + auto AddBoneSelectedJson( rapidjson::PrettyWriter& Writer , const char* Name , const bool* Output ) -> void; + +public: + inline auto GetConfigList() -> VecConfigList_t& + { + return m_vecConfigList; + } + + inline auto GetConfigLoadedIndex() -> uint32_t + { + return m_nConfigLoadedIndex; + } + +private: + VecConfigList_t m_vecConfigList; + uint32_t m_nConfigLoadedIndex = 0; +}; + +auto GetSettingsJson() -> CSettingsJson*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/Settings.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/Settings.hpp new file mode 100644 index 0000000..a880cb5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/AndromedaClient/Settings/Settings.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include + +namespace Settings +{ + namespace Visual + { + inline auto Active = true; + inline auto PlayerBox = true; + } + namespace Misc + { + inline auto MenuAlpha = 200; + inline auto MenuStyle = 0; + } +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.cpp new file mode 100644 index 0000000..7f422a1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.cpp @@ -0,0 +1,58 @@ +#include "CBasePattern.hpp" + +#include + +CBasePattern::CBasePattern( const char* szPatternName , const char* szPattern , const char* szDll , uint32_t Offset , eBasePatternSearchType Type ) +{ + PatternName = szPatternName; + Pattern = szPattern; + Dll = szDll; + dwOffset = Offset; + m_Type = Type; +} + +auto CBasePattern::Search( bool SkipError ) -> bool +{ + if ( m_Type != eBasePatternSearchType::SEARCH_TYPE_PROC ) + { + pFunction = FindPattern( Dll , Pattern , dwOffset ); + + if ( !pFunction ) + { + if ( !SkipError ) + DEV_LOG( "[error] CBasePattern: %s\n" , PatternName ); + + return false; + } + } + + if ( m_Type == eBasePatternSearchType::SEARCH_TYPE_PTR ) + pFunction = reinterpret_cast( *reinterpret_cast( pFunction ) ); + else if ( m_Type == eBasePatternSearchType::SEARCH_TYPE_CALL ) + pFunction = GetCallAddress( reinterpret_cast( pFunction ) ); + else if ( m_Type == eBasePatternSearchType::SEARCH_TYPE_PTR2 ) + pFunction = GetPtrAddress( (intptr_t)pFunction ); + else if ( m_Type == eBasePatternSearchType::SEARCH_TYPE_PROC ) + pFunction = GetProcAddress( GetModuleHandleA( Dll ) , Pattern ); + +#if LOG_SDK_PATTERN == 1 + DEV_LOG( "[+] CBasePattern: %s -> %p\n" , PatternName , pFunction ); +#endif + + return true; +} + +auto CBasePattern::GetPatternName() -> const char* +{ + return PatternName; +} + +auto CBasePattern::GetDllName() -> const char* +{ + return Dll; +} + +auto CBasePattern::GetFunction() -> PVOID +{ + return pFunction; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.hpp new file mode 100644 index 0000000..130c6cf --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CBasePattern.hpp @@ -0,0 +1,52 @@ +#pragma once + +#include + +enum eBasePatternSearchType : int32_t +{ + SEARCH_TYPE_NONE , + SEARCH_TYPE_PTR , + SEARCH_TYPE_CALL , + SEARCH_TYPE_PTR2 , + SEARCH_TYPE_PROC +}; + +class IBasePattern +{ +public: + virtual bool Search( bool SkipError ) = 0; + virtual PVOID GetFunction() = 0; + virtual const char* GetPatternName() = 0; + virtual const char* GetDllName() = 0; +}; + +class CBasePattern final : public IBasePattern +{ +public: + CBasePattern( const char* szPatternName , const char* szPattern , const char* szDll , uint32_t Offset = 0 , eBasePatternSearchType Type = eBasePatternSearchType::SEARCH_TYPE_NONE ); + +public: + virtual bool Search( bool SkipError = false ) override; + virtual PVOID GetFunction() override; + virtual const char* GetPatternName() override; + virtual const char* GetDllName() override; + +private: + // !!! std::string_view crash on vmprotect !!! + const char* PatternName = nullptr; + const char* Pattern = nullptr; + const char* Dll = nullptr; + +private: + PVOID pFunction = nullptr; + uint32_t dwOffset = 0; + eBasePatternSearchType m_Type = eBasePatternSearchType::SEARCH_TYPE_NONE; +}; + +#define DECLARATE_CS2_FUNCTION(Ret,Name,Decl,InterfaceSearch,DeclFn,ParamCall)\ + Ret Name Decl\ + {\ + using Fn = Ret ( __fastcall* ) DeclFn;\ + Fn Original = reinterpret_cast( ##InterfaceSearch##_Search::##Name##Fn.GetFunction() );\ + return Original##ParamCall##;\ + } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp new file mode 100644 index 0000000..eb7b0bc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.cpp @@ -0,0 +1,123 @@ +#include "CHook_Loader.hpp" + +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static CHook_Loader g_CHook_Loader{}; + +auto CHook_Loader::InitalizeMH() -> bool +{ + return MH_Initialize() == MH_OK; +} + +auto CHook_Loader::InstallFirstHook() -> bool +{ + m_Hooks = + { +#if DISABLE_INVENTORY == 0 + { { XorStr( "Hook::SOCacheSubscribed" ) , XorStr( "48 89 6C 24 ? 56 48 83 EC ? 8B 41 ? 49 8B E8" ) , CLIENT_DLL } , &Hook_SOCacheSubscribed , reinterpret_cast( &SOCacheSubscribed_o ) }, +#endif + }; + + return InstallHooks(); +} + +auto CHook_Loader::InstallSecondHook() -> bool +{ + m_Hooks = + { + /* + sub_180095150 -> PresentOverlay + sub_18008ED80(*(_QWORD *)(v4 + 64), sub_180095150, &qword_180162258, 1, "DXGISwapChain_Present"); + */ + { { XorStr( "Hook::PresentOverlay" ) , XorStr( "48 89 5C 24 ? 48 89 6C 24 ? 56 57 41 54 41 56 41 57 48 83 EC ? 41 8B E8" ) , GAMEOVERLAYRENDER64_DLL } , &Hook_Present , reinterpret_cast( &Present_o ) }, + /* + sub_180095520 -> ResizeBuffers + sub_18008ED80(*(_QWORD *)(v4 + 104), sub_180095520, &qword_180162260, 1, "DXGISwapChain_ResizeBuffers"); + */ + { { XorStr( "Hook::ResizeBuffers" ) , XorStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 41 54 41 56 41 57 48 83 EC ? 44 8B E2" ) , GAMEOVERLAYRENDER64_DLL } , &Hook_ResizeBuffers , reinterpret_cast( &ResizeBuffers_o ) }, + /* + sub_1800AA7B0("IWrapDXGIFactory::CreateSwapChain called\n"); + */ + { { XorStr( "Hook::CreateSwapChain" ) , XorStr( "48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 48 83 EC 20 48 8B F9 49 8B F1 48 8D ? ? ? ? ? 49 8B D8 48 8B EA E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8D ? ? ? ? ? E8 ? ? ? ? 48 8B ? ? ? ? ? 4C 8B CE 4C 8B C3 48 8B D5 48 8B CF FF D0 8B D8 85 C0 78 18 48 85 F6 74 13 48 83 3E 00 74 0D 48 8B D5 48 8B CE E8 ? ? ? ? 8B C3 48 8B 5C 24 30 48 8B 6C 24 38 48 8B 74 24 40 48 83 C4 20 5F C3 CC CC CC CC CC CC CC CC 48 83 EC 38 48 8B 01 4C 8D 44 24 40" ) , GAMEOVERLAYRENDER64_DLL } , &Hook_CreateSwapChain , reinterpret_cast( &CreateSwapChain_o ) } , + { { XorStr( "Hook::MouseInputEnabled" ) , XorStr( "40 53 48 83 EC 20 80 B9 ? ? ? ? ? 48 8B D9 75 78" ) , CLIENT_DLL } , &Hook_MouseInputEnabled , reinterpret_cast( &MouseInputEnabled_o ) }, + { { XorStr( "Hook::FireEventClientSide" ) , XorStr( "48 89 5C 24 20 57 41 54 41 56 48 83 EC 30" ) , CLIENT_DLL } , &Hook_FireEventClientSide , reinterpret_cast( &FireEventClientSide_o ) }, + { { XorStr( "Hook::OnAddEntity" ) , XorStr( "48 89 74 24 10 57 48 83 EC 20 41 B9 FF 7F 00 00 41 8B C0 41 23 C1 48 8B F2 41 83 F8 FF 48 8B F9 44 0F 45 C8 41 81 F9 00 40 00 00 73 0D" ) , CLIENT_DLL } , &Hook_OnAddEntity , reinterpret_cast( &OnAddEntity_o ) }, + { { XorStr( "Hook::OnRemoveEntity" ) , XorStr( "48 89 74 24 10 57 48 83 EC 20 41 B9 FF 7F 00 00 41 8B C0 41 23 C1 48 8B F2 41 83 F8 FF 48 8B F9 44 0F 45 C8 41 81 F9 00 40 00 00 73 08" ) , CLIENT_DLL } , &Hook_OnRemoveEntity , reinterpret_cast( &OnRemoveEntity_o ) }, + { { XorStr( "Hook::FrameStageNotify" ) , XorStr( "48 89 5C 24 ? 57 48 81 EC ? ? ? ? 48 8B F9 8B DA" ) , CLIENT_DLL } , &Hook_FrameStageNotify , reinterpret_cast( &FrameStageNotify_o ) }, + { { XorStr( "Hook::GetMatricesForView" ) , XorStr( "40 53 48 81 EC ? ? ? ? 49 8B C1" ) , CLIENT_DLL } , &Hook_GetMatricesForView , reinterpret_cast( &GetMatricesForView_o ) }, + { { XorStr( "Hook::CreateMove" ) , XorStr( "85 D2 0F 85 ? ? ? ? 48 8B C4 44 88 40 18" ) , CLIENT_DLL } , &Hook_CreateMove , reinterpret_cast( &CreateMove_o ) }, + { { XorStr( "Hook::SerializePartialToArray" ) , XorStr( "48 89 5C 24 ? 55 56 57 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 84 24 ? ? ? ? 49 63 F0" ) , CLIENT_DLL } , &Hook_MessageLite_SerializePartialToArray , reinterpret_cast( &MessageLite_SerializePartialToArray_o ) }, + { { XorStr( "Hook::OnClientOutput" ) , XorStr( "48 89 5C 24 18 55 56 57 41 54 41 56 48 83 EC 70" ) , ENGINE2_DLL } , &Hook_OnClientOutput , reinterpret_cast( &OnClientOutput_o ) }, + { { XorStr( "Hook::CDemoRecorder" ) , XorStr( "40 56 57 41 57 48 83 EC ? 4C 8B F9" ) , ENGINE2_DLL } , &Hook_CDemoRecorder , reinterpret_cast( &CDemoRecorder_o ) }, + { { XorStr( "Hook::IsRelativeMouseMode" ) , XorStr( "48 89 6C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 41 56 48 83 EC ? 0F B6 F2" ) , INPUTSYSTEM_DLL } , &Hook_IsRelativeMouseMode , reinterpret_cast( &IsRelativeMouseMode_o ) }, + { { XorStr( "Hook::UpdateInPVS" ) , XorStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8B 01 8B F2 48 8B D9 FF 90 ? ? ? ? 33 FF" ) , CLIENT_DLL } , &Hook_UpdateInPVS , reinterpret_cast( &UpdateInPVS_o ) }, + { { XorStr( "Hook::AntiTamper" ) , XorStr( "40 53 48 83 EC 50 48 89 6C 24 60 48 8B E9 48 89 74" ) , CLIENT_DLL } , &Hook_AntiTamper , reinterpret_cast( &AntiTamper_o ) }, + }; + + return InstallHooks(); +} + +auto CHook_Loader::InstallHooks() -> bool +{ + for ( auto& Hook : m_Hooks ) + { + while ( !GetModuleHandleA( Hook.m_Pattern.GetDllName() ) ) + Sleep( 1 ); + + if ( !Hook.m_Pattern.Search( Hook.m_bSkipError ) ) + { + if ( !Hook.m_bSkipError ) + DEV_LOG( "[error] Hook #1 -> '%s'\n" , Hook.m_Pattern.GetPatternName() ); + + if ( !Hook.m_bSkipIfNotFound ) + return false; + else + continue; + } + + auto Status = MH_CreateHook( Hook.m_Pattern.GetFunction() , Hook.m_pDetour , Hook.m_pOriginal ); + + if ( Status != MH_OK ) + { + DEV_LOG( "[error] Hook #2 [%i] -> '%s'\n" , Status , Hook.m_Pattern.GetPatternName() ); + return false; + } + } + + MH_EnableHook( MH_ALL_HOOKS ); + + m_Hooks.clear(); + + return true; +} + +auto CHook_Loader::DestroyHooks() -> void +{ + MH_DisableHook( MH_ALL_HOOKS ); + MH_Uninitialize(); +} + +auto GetHook_Loader() -> CHook_Loader* +{ + return &g_CHook_Loader; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.hpp new file mode 100644 index 0000000..4b77238 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CHook_Loader.hpp @@ -0,0 +1,36 @@ +#pragma once + +#include +#include + +#include + +struct HookData_t +{ + CBasePattern m_Pattern; + LPVOID m_pDetour = nullptr; + LPVOID* m_pOriginal = nullptr; + bool m_bSkipIfNotFound = false; + bool m_bSkipError = false; +}; + +class CHook_Loader final +{ +public: + auto InitalizeMH() -> bool; + +public: + auto InstallFirstHook() -> bool; + auto InstallSecondHook() -> bool; + +private: + auto InstallHooks() -> bool; + +public: + auto DestroyHooks() -> void; + +private: + std::vector m_Hooks = {}; +}; + +auto GetHook_Loader() -> CHook_Loader*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.cpp new file mode 100644 index 0000000..e840a2d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.cpp @@ -0,0 +1,91 @@ +#include "CSDK_Loader.hpp" + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include + +#define RETURN_FALSE_IF_INTERFACE_ERROR(Interface)\ +if ( !Interface )\ +{\ + DEV_LOG( "[error] Interface::%s\n" , #Interface );\ + return false;\ +} + +static CSDK_Loader g_SDK_Loader{}; + +auto CSDK_Loader::LoadSDK() -> bool +{ + // Wait for module load: + if ( !IsModuleLoad( NAVSYSTEM_DLL ) ) + return false; + + // Log SDK: +#if LOG_SDK == 1 + DEV_LOG( "[+] CSDK_Loader::LoadSDK:\n\n" ); +#endif + + // Interfaces: + auto pEngineToClient = SDK::Interfaces::EngineToClient(); + auto pGameEntitySystem = SDK::Interfaces::GameEntitySystem(); + auto pSchemaSystem = SDK::Interfaces::SchemaSystem(); + auto pSource2Client = SDK::Interfaces::Source2Client(); + auto pLocalize = SDK::Interfaces::Localize(); + auto pBaseFileSystem = SDK::Interfaces::BaseFileSystem(); + + // Return if error #1 + RETURN_FALSE_IF_INTERFACE_ERROR( pEngineToClient ); + RETURN_FALSE_IF_INTERFACE_ERROR( pGameEntitySystem ); + RETURN_FALSE_IF_INTERFACE_ERROR( pSchemaSystem ); + RETURN_FALSE_IF_INTERFACE_ERROR( pSource2Client ); + RETURN_FALSE_IF_INTERFACE_ERROR( pLocalize ); + RETURN_FALSE_IF_INTERFACE_ERROR( pBaseFileSystem ); + + // Log: +#if LOG_SDK == 1 + DEV_LOG( "\n" ); +#endif + + // Log: +#if LOG_SDK == 1 + DEV_LOG( "[+] pEngineToClient: %p\n" , pEngineToClient ); + DEV_LOG( "[+] pGameEntitySystem: %p\n" , pGameEntitySystem ); + DEV_LOG( "[+] pSchemaSystem: %p\n" , pSchemaSystem ); + DEV_LOG( "[+] pSource2Client: %p\n" , pSource2Client ); + DEV_LOG( "[+] pLocalize: %p\n" , pLocalize ); + DEV_LOG( "[+] pBaseFileSystem: %p\n" , pBaseFileSystem ); +#endif + +#if LOG_SDK == 1 + DEV_LOG( "\n" ); + + DEV_LOG( "CCSInventoryManager::Get: %p\n" , CCSInventoryManager::Get() ); + DEV_LOG( "CCSPlayerInventory::Get: %p\n" , CCSPlayerInventory::Get() ); + DEV_LOG( "CSource2Client::GetEconItemSchema: %p\n" , pSource2Client->GetEconItemSystem()->GetEconItemSchema() ); + + DEV_LOG( "GetSortedItemDefinitionMap: %p\n" , &pSource2Client->GetEconItemSystem()->GetEconItemSchema()->GetSortedItemDefinitionMap() ); + DEV_LOG( "GetPaintKits: %p\n" , &pSource2Client->GetEconItemSystem()->GetEconItemSchema()->GetPaintKits() ); + DEV_LOG( "GetMusicKitDefinitions: %p\n" , &pSource2Client->GetEconItemSystem()->GetEconItemSchema()->GetMusicKitDefinitions() ); + + DEV_LOG( "\n" ); +#endif + + GetSchemaOffset()->Init(); + + return true; +} + +auto GetSDK_Loader() -> CSDK_Loader* +{ + return &g_SDK_Loader; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.hpp new file mode 100644 index 0000000..7b3f911 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/CSDK_Loader.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include + +class CSDK_Loader final +{ +public: + auto LoadSDK() -> bool; +}; + +auto GetSDK_Loader() -> CSDK_Loader*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.cpp new file mode 100644 index 0000000..03cab31 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.cpp @@ -0,0 +1,6 @@ +#include "Hook_AntiTamper.hpp" + +auto Hook_AntiTamper( void* Src , int a2 , __int64 a3 , int a4 ) -> bool +{ + return false; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.hpp new file mode 100644 index 0000000..f5a2214 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_AntiTamper.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include + +auto Hook_AntiTamper( void* Src , int a2 , __int64 a3 , int a4 ) -> bool; + +using AntiTamper_t = decltype( &Hook_AntiTamper ); +inline AntiTamper_t AntiTamper_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.cpp new file mode 100644 index 0000000..f0dfc9b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.cpp @@ -0,0 +1,48 @@ +#include "Hook_CreateMove.hpp" + +#include +#include +#include + +#include + +#include +#include + +auto Hook_CreateMove( CCSGOInput* pCCSGOInput , uint32_t split_screen_index , char a3 ) -> bool +{ + auto Result = false; + + if ( auto* pLocalPlayerController = GetCL_Players()->GetLocalPlayerController(); pLocalPlayerController ) + { + Result = CreateMove_o( pCCSGOInput , split_screen_index , a3 ); + const auto pUserCmd = pCCSGOInput->GetUserCmd( pLocalPlayerController ); + + if ( !pUserCmd ) + return Result; + + if ( SDK::Interfaces::EngineToClient()->IsInGame() && GetCL_Players()->GetLocalPlayerPawn() ) + { + GetCL_Bypass()->PreClientCreateMove( pUserCmd ); + GetAndromedaClient()->OnCreateMove( pCCSGOInput , pUserCmd ); + GetCL_Bypass()->PostClientCreateMove( pCCSGOInput , pUserCmd ); + } + } + + return Result; +} + +auto Hook_MessageLite_SerializePartialToArray( google::protobuf::Message* pMsg , void* out_buffer , int size ) -> bool +{ +#if DISABLE_PROTOBUF == 0 + const google::protobuf::Descriptor* descriptor = pMsg->GetDescriptor(); + const std::string message_name = descriptor->name(); + + if ( message_name == XorStr( "CBaseUserCmdPB" ) ) + { + GetCL_Bypass()->OnCBaseUserCmdPB( reinterpret_cast( pMsg ) ); + } +#endif + + return MessageLite_SerializePartialToArray_o( pMsg , out_buffer , size ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.hpp new file mode 100644 index 0000000..eb1e68d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateMove.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include + +#include + +class CCSGOInput; + +auto Hook_CreateMove( CCSGOInput* pInput , uint32_t split_screen_index , char a3 ) -> bool; + +using CreateMove_t = decltype( &Hook_CreateMove ); +inline CreateMove_t CreateMove_o = nullptr; + +auto Hook_MessageLite_SerializePartialToArray( google::protobuf::Message* pMsg , void* out_buffer , int size ) -> bool; + +using MessageLite_SerializePartialToArray_t = decltype( &Hook_MessageLite_SerializePartialToArray ); +inline MessageLite_SerializePartialToArray_t MessageLite_SerializePartialToArray_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.cpp new file mode 100644 index 0000000..47044a0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.cpp @@ -0,0 +1,10 @@ +#include "Hook_CreateSwapChain.hpp" + +#include + +auto WINAPI Hook_CreateSwapChain( IDXGIFactory* pFactory , IUnknown* pDevice , DXGI_SWAP_CHAIN_DESC* pDesc , IDXGISwapChain** ppSwapChain )->HRESULT +{ + GetAndromedaGUI()->ClearRenderTargetView(); + + return CreateSwapChain_o( pFactory , pDevice , pDesc , ppSwapChain ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.hpp new file mode 100644 index 0000000..10550de --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_CreateSwapChain.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include +#include + +auto WINAPI Hook_CreateSwapChain( IDXGIFactory* pFactory , IUnknown* pDevice , DXGI_SWAP_CHAIN_DESC* pDesc , IDXGISwapChain** ppSwapChain )->HRESULT; + +using CreateSwapChain_t = decltype( &Hook_CreateSwapChain ); +inline CreateSwapChain_t CreateSwapChain_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.cpp new file mode 100644 index 0000000..068250e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.cpp @@ -0,0 +1,10 @@ +#include "Hook_FireEventClientSide.hpp" + +#include + +auto Hook_FireEventClientSide( IGameEventManager2* pGameEventManager2 , IGameEvent* pGameEvent ) -> bool +{ + GetAndromedaClient()->OnFireEventClientSide( pGameEvent ); + + return FireEventClientSide_o( pGameEventManager2 , pGameEvent ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.hpp new file mode 100644 index 0000000..03e3d97 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FireEventClientSide.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include + +class IGameEventManager2; +class IGameEvent; + +auto Hook_FireEventClientSide( IGameEventManager2* pGameEventManager2 , IGameEvent* pGameEvent ) -> bool; + +using FireEventClientSide_t = decltype( &Hook_FireEventClientSide ); +inline FireEventClientSide_t FireEventClientSide_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.cpp new file mode 100644 index 0000000..54d30a1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.cpp @@ -0,0 +1,10 @@ +#include "Hook_FrameStageNotify.hpp" + +#include + +auto Hook_FrameStageNotify( CSource2Client* pCSource2Client , int FrameStage ) -> void +{ + GetAndromedaClient()->OnFrameStageNotify( FrameStage ); + + return FrameStageNotify_o( pCSource2Client , FrameStage ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.hpp new file mode 100644 index 0000000..17f283a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_FrameStageNotify.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +class CSource2Client; + +auto Hook_FrameStageNotify( CSource2Client* pCSource2Client , int FrameStage ) -> void; + +using FrameStageNotify_t = decltype( &Hook_FrameStageNotify ); +inline FrameStageNotify_t FrameStageNotify_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.cpp new file mode 100644 index 0000000..1e946df --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.cpp @@ -0,0 +1,16 @@ +#include "Hook_GetMatricesForView.hpp" + +#include + +#include + +auto Hook_GetMatricesForView( void* rcx , void* view , + VMatrix* pWorldToView , + VMatrix* pViewToProjection , + VMatrix* pWorldToProjection , + VMatrix* pWorldToPixels ) -> void +{ + GetMatricesForView_o( rcx , view , pWorldToView , pViewToProjection , pWorldToProjection , pWorldToPixels ); + + GetVisual()->CalculateBoundingBoxes(); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.hpp new file mode 100644 index 0000000..e33d585 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include + +class VMatrix; + +auto Hook_GetMatricesForView( void* rcx , void* view , + VMatrix* pWorldToView , + VMatrix* pViewToProjection , + VMatrix* pWorldToProjection , + VMatrix* pWorldToPixels ) -> void; + +using GetMatricesForView_t = decltype( &Hook_GetMatricesForView ); +inline GetMatricesForView_t GetMatricesForView_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.cpp new file mode 100644 index 0000000..90cdbca --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.cpp @@ -0,0 +1,13 @@ +#include "Hook_IsRelativeMouseMode.hpp" + +#include + +auto Hook_IsRelativeMouseMode( CInputSystem* pInputSystem , bool Active ) -> void +{ + GetAndromedaGUI()->m_bMainActive = Active; + + if ( GetAndromedaGUI()->IsVisible() ) + return IsRelativeMouseMode_o( pInputSystem , false ); + + return IsRelativeMouseMode_o( pInputSystem , Active ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.hpp new file mode 100644 index 0000000..2e1fefc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_IsRelativeMouseMode.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +class CInputSystem; + +auto Hook_IsRelativeMouseMode( CInputSystem* pInputSystem , bool Active ) -> void; + +using IsRelativeMouseMode_t = decltype( &Hook_IsRelativeMouseMode ); +inline IsRelativeMouseMode_t IsRelativeMouseMode_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.cpp new file mode 100644 index 0000000..d786cd6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.cpp @@ -0,0 +1,11 @@ +#include "Hook_MouseInputEnabled.hpp" + +#include + +auto Hook_MouseInputEnabled( void* RCX ) -> bool +{ + if ( GetAndromedaGUI()->IsVisible() ) + return false; + + return MouseInputEnabled_o( RCX ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.hpp new file mode 100644 index 0000000..8aae05a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_MouseInputEnabled.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include + +auto Hook_MouseInputEnabled( void* RCX ) -> bool; + +using MouseInputEnabled_t = decltype( &Hook_MouseInputEnabled ); +inline MouseInputEnabled_t MouseInputEnabled_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.cpp new file mode 100644 index 0000000..cf03538 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.cpp @@ -0,0 +1,10 @@ +#include "Hook_OnAddEntity.hpp" + +#include + +auto Hook_OnAddEntity( CGameEntitySystem* pCGameEntitySystem , CEntityInstance* pInst , CHandle handle ) -> void +{ + GetAndromedaClient()->OnAddEntity( pInst , handle ); + + return OnAddEntity_o( pCGameEntitySystem , pInst , handle ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.hpp new file mode 100644 index 0000000..6288924 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnAddEntity.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include + +#include + +class CGameEntitySystem; +class CEntityInstance; + +auto Hook_OnAddEntity( CGameEntitySystem* pCGameEntitySystem , CEntityInstance* pInst , CHandle handle ) -> void; + +using OnAddEntity_t = decltype( &Hook_OnAddEntity ); +inline OnAddEntity_t OnAddEntity_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.cpp new file mode 100644 index 0000000..f2428ab --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.cpp @@ -0,0 +1,12 @@ +#include "Hook_OnClientOutput.hpp" + +#include +#include + +auto Hook_OnClientOutput( void* a1 , void* a2 , void* a3 , void* a4 ) -> void +{ + GetAndromedaClient()->OnClientOutput(); + GetRenderStackSystem()->OnClientOutput(); + + return OnClientOutput_o( a1 , a2 , a3 , a4 ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.hpp new file mode 100644 index 0000000..47964c0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnClientOutput.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include + +auto Hook_OnClientOutput( void* a1 , void* a2 , void* a3 , void* a4 ) -> void; + +using OnClientOutput_t = decltype( &Hook_OnClientOutput ); +inline OnClientOutput_t OnClientOutput_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.cpp new file mode 100644 index 0000000..5d73991 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.cpp @@ -0,0 +1,10 @@ +#include "Hook_OnRemoveEntity.hpp" + +#include + +auto Hook_OnRemoveEntity( CGameEntitySystem* pCGameEntitySystem , CEntityInstance* pInst , CHandle handle ) -> void +{ + GetAndromedaClient()->OnRemoveEntity( pInst , handle ); + + return OnRemoveEntity_o( pCGameEntitySystem , pInst , handle ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.hpp new file mode 100644 index 0000000..1616de8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_OnRemoveEntity.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include + +#include + +class CGameEntitySystem; +class CEntityInstance; + +auto Hook_OnRemoveEntity( CGameEntitySystem* pCGameEntitySystem , CEntityInstance* pInst , CHandle handle ) -> void; + +using OnRemoveEntity_t = decltype( &Hook_OnRemoveEntity ); +inline OnRemoveEntity_t OnRemoveEntity_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp new file mode 100644 index 0000000..560d487 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.cpp @@ -0,0 +1,40 @@ +#include "Hook_ParseMessage.hpp" + +#include +#include +#include +#include + +#include + +#include + +auto Hook_CDemoRecorder( CDemoRecorder* pDemoRecorder , CNetworkSerializerPB* pSerializer , CNetMessagePB* pNetMessage ) -> bool +{ + if ( pSerializer->messageID == GE_SosStartSoundEvent ) + { + CMsgSosStartSoundEvent* pMessage = reinterpret_cast( (PBYTE)pNetMessage + 0x28 ); + + if ( pMessage ) + { + std::string SoundName = "null"; + Vector3 SoundPos; + auto SourceEntityIndex = 0; + + if ( pMessage->has_source_entity_index() ) + SourceEntityIndex = pMessage->source_entity_index(); + + if ( pMessage->has_packed_params() && pMessage->packed_params().size() >= 19 && pMessage->packed_params().data() ) + SoundPos = *(Vector3*)( pMessage->packed_params().data() + 7 ); + + const char* szSoundEventName = SDK::Interfaces::SoundOpSystem()->GetCSoundEventManager()->GetSoundEventName( pMessage->soundevent_hash() ); + + if ( szSoundEventName ) + SoundName = szSoundEventName; + + DEV_LOG( "StartSoundEvent: %i , %s\n" , SourceEntityIndex , SoundName.c_str() ); + } + } + + return CDemoRecorder_o( pDemoRecorder , pSerializer , pNetMessage ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.hpp new file mode 100644 index 0000000..d0f754c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ParseMessage.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include + +class CDemoRecorder; +class CNetworkSerializerPB; +class CNetMessagePB; + +auto Hook_CDemoRecorder( CDemoRecorder* pDemoRecorder , CNetworkSerializerPB* pSerializer , CNetMessagePB* pNetMessage ) -> bool; + +using CDemoRecorder_t = decltype( &Hook_CDemoRecorder ); +inline CDemoRecorder_t CDemoRecorder_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.cpp new file mode 100644 index 0000000..02eaee2 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.cpp @@ -0,0 +1,10 @@ +#include "Hook_Present.hpp" + +#include + +auto Hook_Present( IDXGISwapChain* pSwapChain , UINT SyncInterval , UINT Flags ) -> HRESULT +{ + GetAndromedaGUI()->OnPresent( pSwapChain ); + + return Present_o( pSwapChain , SyncInterval , Flags ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.hpp new file mode 100644 index 0000000..129caf6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_Present.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include +#include + +auto Hook_Present( IDXGISwapChain* pSwapChain , UINT SyncInterval , UINT Flags ) -> HRESULT; + +using Present_t = decltype( &Hook_Present ); +inline Present_t Present_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.cpp new file mode 100644 index 0000000..358a990 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.cpp @@ -0,0 +1,10 @@ +#include "Hook_ResizeBuffers.hpp" + +#include + +auto Hook_ResizeBuffers( IDXGISwapChain* pSwapChain , UINT BufferCount , UINT Width , UINT Height , DXGI_FORMAT NewFormat , UINT SwapChainFlags ) -> HRESULT +{ + GetAndromedaGUI()->OnResizeBuffers( pSwapChain ); + + return ResizeBuffers_o( pSwapChain , BufferCount , Width , Height , NewFormat , SwapChainFlags ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.hpp new file mode 100644 index 0000000..3c4c3ac --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_ResizeBuffers.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include +#include + +auto Hook_ResizeBuffers( IDXGISwapChain* pSwapChain , UINT BufferCount , UINT Width , UINT Height , DXGI_FORMAT NewFormat , UINT SwapChainFlags ) -> HRESULT; + +using ResizeBuffers_t = decltype( &Hook_ResizeBuffers ); +inline ResizeBuffers_t ResizeBuffers_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.cpp new file mode 100644 index 0000000..d271570 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.cpp @@ -0,0 +1,15 @@ +#include "Hook_SOCacheSubscribed.hpp" + +#include + +auto Hook_SOCacheSubscribed( CCSPlayerInventory* pCSPlayerInventory , GCSDK::SOID_t owner , int64_t unk ) -> void* +{ + auto pResult = SOCacheSubscribed_o( pCSPlayerInventory , owner , unk ); + + if ( pCSPlayerInventory->GetOwner().m_type == owner.m_type && pCSPlayerInventory->GetOwner().m_id == owner.m_id ) + { + + } + + return pResult; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.hpp new file mode 100644 index 0000000..722c5b8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_SOCacheSubscribed.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include + +#include + +class CCSPlayerInventory; + +auto Hook_SOCacheSubscribed( CCSPlayerInventory* pCSPlayerInventory , GCSDK::SOID_t owner , int64_t unk ) -> void*; + +using SOCacheSubscribed_t = decltype( &Hook_SOCacheSubscribed ); +inline SOCacheSubscribed_t SOCacheSubscribed_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.cpp new file mode 100644 index 0000000..cdc7a73 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.cpp @@ -0,0 +1,10 @@ +#include "Hook_UpdateInPVS.hpp" + +#include + +auto Hook_UpdateInPVS( CEntityInstance* pEntityInstance , int unk0 ) -> bool +{ + return true; + + //return UpdateInPVS_o( pEntityInstance , unk0 ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.hpp new file mode 100644 index 0000000..596f43c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_UpdateInPVS.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +class CEntityInstance; + +auto Hook_UpdateInPVS( CEntityInstance* pEntityInstance , int unk0 ) -> bool; + +using UpdateInPVS_t = decltype( &Hook_UpdateInPVS ); +inline UpdateInPVS_t UpdateInPVS_o = nullptr; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.cc new file mode 100644 index 0000000..d01966f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.cc @@ -0,0 +1,25983 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: base_gcmessages.proto + +#include "base_gcmessages.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; + +PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_def_id_)*/0u + , /*decltype(_impl_.quantity_)*/0u + , /*decltype(_impl_.cost_in_local_currency_)*/0u + , /*decltype(_impl_.purchase_type_)*/0u + , /*decltype(_impl_.supplemental_data_)*/uint64_t{0u}} {} +struct CGCStorePurchaseInit_LineItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCStorePurchaseInit_LineItemDefaultTypeInternal() {} + union { + CGCStorePurchaseInit_LineItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCStorePurchaseInit_LineItemDefaultTypeInternal _CGCStorePurchaseInit_LineItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.line_items_)*/{} + , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.language_)*/0 + , /*decltype(_impl_.currency_)*/0} {} +struct CMsgGCStorePurchaseInitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseInitDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseInit _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseInitDefaultTypeInternal _CMsgGCStorePurchaseInit_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_ids_)*/{} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.txn_id_)*/uint64_t{0u} + , /*decltype(_impl_.result_)*/0} {} +struct CMsgGCStorePurchaseInitResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseInitResponseDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseInitResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseInitResponseDefaultTypeInternal _CMsgGCStorePurchaseInitResponse_default_instance_; +PROTOBUF_CONSTEXPR CSOPartyInvite::CSOPartyInvite( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sender_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.group_id_)*/uint64_t{0u} + , /*decltype(_impl_.sender_id_)*/uint64_t{0u}} {} +struct CSOPartyInviteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOPartyInviteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOPartyInviteDefaultTypeInternal() {} + union { + CSOPartyInvite _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOPartyInviteDefaultTypeInternal _CSOPartyInvite_default_instance_; +PROTOBUF_CONSTEXPR CSOLobbyInvite::CSOLobbyInvite( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sender_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.group_id_)*/uint64_t{0u} + , /*decltype(_impl_.sender_id_)*/uint64_t{0u}} {} +struct CSOLobbyInviteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOLobbyInviteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOLobbyInviteDefaultTypeInternal() {} + union { + CSOLobbyInvite _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOLobbyInviteDefaultTypeInternal _CSOLobbyInvite_default_instance_; +PROTOBUF_CONSTEXPR CMsgSystemBroadcast::CMsgSystemBroadcast( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgSystemBroadcastDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSystemBroadcastDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSystemBroadcastDefaultTypeInternal() {} + union { + CMsgSystemBroadcast _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSystemBroadcastDefaultTypeInternal _CMsgSystemBroadcast_default_instance_; +PROTOBUF_CONSTEXPR CMsgInviteToParty::CMsgInviteToParty( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.client_version_)*/0u + , /*decltype(_impl_.team_invite_)*/0u} {} +struct CMsgInviteToPartyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgInviteToPartyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgInviteToPartyDefaultTypeInternal() {} + union { + CMsgInviteToParty _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgInviteToPartyDefaultTypeInternal _CMsgInviteToParty_default_instance_; +PROTOBUF_CONSTEXPR CMsgInvitationCreated::CMsgInvitationCreated( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.group_id_)*/uint64_t{0u} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} +struct CMsgInvitationCreatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgInvitationCreatedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgInvitationCreatedDefaultTypeInternal() {} + union { + CMsgInvitationCreated _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgInvitationCreatedDefaultTypeInternal _CMsgInvitationCreated_default_instance_; +PROTOBUF_CONSTEXPR CMsgPartyInviteResponse::CMsgPartyInviteResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.party_id_)*/uint64_t{0u} + , /*decltype(_impl_.accept_)*/false + , /*decltype(_impl_.client_version_)*/0u + , /*decltype(_impl_.team_invite_)*/0u} {} +struct CMsgPartyInviteResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgPartyInviteResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgPartyInviteResponseDefaultTypeInternal() {} + union { + CMsgPartyInviteResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPartyInviteResponseDefaultTypeInternal _CMsgPartyInviteResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgKickFromParty::CMsgKickFromParty( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} +struct CMsgKickFromPartyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgKickFromPartyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgKickFromPartyDefaultTypeInternal() {} + union { + CMsgKickFromParty _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgKickFromPartyDefaultTypeInternal _CMsgKickFromParty_default_instance_; +PROTOBUF_CONSTEXPR CMsgLeaveParty::CMsgLeaveParty( + ::_pbi::ConstantInitialized) {} +struct CMsgLeavePartyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgLeavePartyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgLeavePartyDefaultTypeInternal() {} + union { + CMsgLeaveParty _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLeavePartyDefaultTypeInternal _CMsgLeaveParty_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerAvailable::CMsgServerAvailable( + ::_pbi::ConstantInitialized) {} +struct CMsgServerAvailableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerAvailableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerAvailableDefaultTypeInternal() {} + union { + CMsgServerAvailable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerAvailableDefaultTypeInternal _CMsgServerAvailable_default_instance_; +PROTOBUF_CONSTEXPR CMsgLANServerAvailable::CMsgLANServerAvailable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.lobby_id_)*/uint64_t{0u}} {} +struct CMsgLANServerAvailableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgLANServerAvailableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgLANServerAvailableDefaultTypeInternal() {} + union { + CMsgLANServerAvailable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLANServerAvailableDefaultTypeInternal _CMsgLANServerAvailable_default_instance_; +PROTOBUF_CONSTEXPR CSOEconGameAccountClient::CSOEconGameAccountClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.additional_backpack_slots_)*/0u + , /*decltype(_impl_.trade_ban_expiration_)*/0u + , /*decltype(_impl_.bonus_xp_timestamp_refresh_)*/0u + , /*decltype(_impl_.bonus_xp_usedflags_)*/0u + , /*decltype(_impl_.elevated_state_)*/0u + , /*decltype(_impl_.elevated_timestamp_)*/0u} {} +struct CSOEconGameAccountClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconGameAccountClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconGameAccountClientDefaultTypeInternal() {} + union { + CSOEconGameAccountClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconGameAccountClientDefaultTypeInternal _CSOEconGameAccountClient_default_instance_; +PROTOBUF_CONSTEXPR CSOItemCriteriaCondition::CSOItemCriteriaCondition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.field_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.op_)*/0 + , /*decltype(_impl_.required_)*/false + , /*decltype(_impl_.float_value_)*/0} {} +struct CSOItemCriteriaConditionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOItemCriteriaConditionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOItemCriteriaConditionDefaultTypeInternal() {} + union { + CSOItemCriteriaCondition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemCriteriaConditionDefaultTypeInternal _CSOItemCriteriaCondition_default_instance_; +PROTOBUF_CONSTEXPR CSOItemCriteria::CSOItemCriteria( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.conditions_)*/{} + , /*decltype(_impl_.item_level_)*/0u + , /*decltype(_impl_.item_quality_)*/0 + , /*decltype(_impl_.initial_inventory_)*/0u + , /*decltype(_impl_.initial_quantity_)*/0u + , /*decltype(_impl_.item_level_set_)*/false + , /*decltype(_impl_.item_quality_set_)*/false + , /*decltype(_impl_.ignore_enabled_flag_)*/false + , /*decltype(_impl_.item_rarity_set_)*/false + , /*decltype(_impl_.item_rarity_)*/0 + , /*decltype(_impl_.recent_only_)*/false} {} +struct CSOItemCriteriaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOItemCriteriaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOItemCriteriaDefaultTypeInternal() {} + union { + CSOItemCriteria _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemCriteriaDefaultTypeInternal _CSOItemCriteria_default_instance_; +PROTOBUF_CONSTEXPR CSOItemRecipe::CSOItemRecipe( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.input_items_criteria_)*/{} + , /*decltype(_impl_.output_items_criteria_)*/{} + , /*decltype(_impl_.input_item_dupe_counts_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.n_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.desc_inputs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.desc_outputs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.di_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.di_b_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.di_c_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.do_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.do_b_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.do_c_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.def_index_)*/0u + , /*decltype(_impl_.requires_all_same_class_)*/false + , /*decltype(_impl_.requires_all_same_slot_)*/false + , /*decltype(_impl_.class_usage_for_output_)*/0 + , /*decltype(_impl_.slot_usage_for_output_)*/0 + , /*decltype(_impl_.set_for_output_)*/0} {} +struct CSOItemRecipeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOItemRecipeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOItemRecipeDefaultTypeInternal() {} + union { + CSOItemRecipe _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemRecipeDefaultTypeInternal _CSOItemRecipe_default_instance_; +PROTOBUF_CONSTEXPR CMsgDevNewItemRequest::CMsgDevNewItemRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.criteria_)*/nullptr + , /*decltype(_impl_.receiver_)*/uint64_t{0u}} {} +struct CMsgDevNewItemRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgDevNewItemRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgDevNewItemRequestDefaultTypeInternal() {} + union { + CMsgDevNewItemRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgDevNewItemRequestDefaultTypeInternal _CMsgDevNewItemRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.killer_account_id_)*/0u + , /*decltype(_impl_.victim_account_id_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.event_type_)*/0u + , /*decltype(_impl_.amount_)*/0u} {} +struct CMsgIncrementKillCountAttributeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttributeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgIncrementKillCountAttributeDefaultTypeInternal() {} + union { + CMsgIncrementKillCountAttribute _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgIncrementKillCountAttributeDefaultTypeInternal _CMsgIncrementKillCountAttribute_default_instance_; +PROTOBUF_CONSTEXPR CMsgApplySticker::CMsgApplySticker( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sticker_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.sticker_slot_)*/0u + , /*decltype(_impl_.baseitem_defidx_)*/0u + , /*decltype(_impl_.sticker_wear_)*/0 + , /*decltype(_impl_.sticker_rotation_)*/0 + , /*decltype(_impl_.sticker_scale_)*/0 + , /*decltype(_impl_.sticker_offset_x_)*/0 + , /*decltype(_impl_.sticker_offset_y_)*/0 + , /*decltype(_impl_.sticker_offset_z_)*/0 + , /*decltype(_impl_.sticker_wear_target_)*/0} {} +struct CMsgApplyStickerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgApplyStickerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgApplyStickerDefaultTypeInternal() {} + union { + CMsgApplySticker _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStickerDefaultTypeInternal _CMsgApplySticker_default_instance_; +PROTOBUF_CONSTEXPR CMsgModifyItemAttribute::CMsgModifyItemAttribute( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.attr_defidx_)*/0u + , /*decltype(_impl_.attr_value_)*/0u} {} +struct CMsgModifyItemAttributeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgModifyItemAttributeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgModifyItemAttributeDefaultTypeInternal() {} + union { + CMsgModifyItemAttribute _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgModifyItemAttributeDefaultTypeInternal _CMsgModifyItemAttribute_default_instance_; +PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tool_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_1_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_2_item_id_)*/uint64_t{0u}} {} +struct CMsgApplyStatTrakSwapDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwapDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgApplyStatTrakSwapDefaultTypeInternal() {} + union { + CMsgApplyStatTrakSwap _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStatTrakSwapDefaultTypeInternal _CMsgApplyStatTrakSwap_default_instance_; +PROTOBUF_CONSTEXPR CMsgApplyStrangePart::CMsgApplyStrangePart( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.strange_part_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_item_id_)*/uint64_t{0u}} {} +struct CMsgApplyStrangePartDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgApplyStrangePartDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgApplyStrangePartDefaultTypeInternal() {} + union { + CMsgApplyStrangePart _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStrangePartDefaultTypeInternal _CMsgApplyStrangePart_default_instance_; +PROTOBUF_CONSTEXPR CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.upgrade_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.pennant_item_id_)*/uint64_t{0u}} {} +struct CMsgApplyPennantUpgradeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgApplyPennantUpgradeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgApplyPennantUpgradeDefaultTypeInternal() {} + union { + CMsgApplyPennantUpgrade _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyPennantUpgradeDefaultTypeInternal _CMsgApplyPennantUpgrade_default_instance_; +PROTOBUF_CONSTEXPR CMsgApplyEggEssence::CMsgApplyEggEssence( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.essence_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.egg_item_id_)*/uint64_t{0u}} {} +struct CMsgApplyEggEssenceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgApplyEggEssenceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgApplyEggEssenceDefaultTypeInternal() {} + union { + CMsgApplyEggEssence _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyEggEssenceDefaultTypeInternal _CMsgApplyEggEssence_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItemAttribute::CSOEconItemAttribute( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_bytes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.def_index_)*/0u + , /*decltype(_impl_.value_)*/0u} {} +struct CSOEconItemAttributeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemAttributeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemAttributeDefaultTypeInternal() {} + union { + CSOEconItemAttribute _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemAttributeDefaultTypeInternal _CSOEconItemAttribute_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItemEquipped::CSOEconItemEquipped( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.new_class_)*/0u + , /*decltype(_impl_.new_slot_)*/0u} {} +struct CSOEconItemEquippedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemEquippedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemEquippedDefaultTypeInternal() {} + union { + CSOEconItemEquipped _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemEquippedDefaultTypeInternal _CSOEconItemEquipped_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItem::CSOEconItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.attribute_)*/{} + , /*decltype(_impl_.equipped_state_)*/{} + , /*decltype(_impl_.custom_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.custom_desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.interior_item_)*/nullptr + , /*decltype(_impl_.id_)*/uint64_t{0u} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.inventory_)*/0u + , /*decltype(_impl_.def_index_)*/0u + , /*decltype(_impl_.quantity_)*/0u + , /*decltype(_impl_.level_)*/0u + , /*decltype(_impl_.quality_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.origin_)*/0u + , /*decltype(_impl_.in_use_)*/false + , /*decltype(_impl_.style_)*/0u + , /*decltype(_impl_.original_id_)*/uint64_t{0u} + , /*decltype(_impl_.rarity_)*/0u} {} +struct CSOEconItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemDefaultTypeInternal() {} + union { + CSOEconItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemDefaultTypeInternal _CSOEconItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgSortItems::CMsgSortItems( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sort_type_)*/0u} {} +struct CMsgSortItemsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSortItemsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSortItemsDefaultTypeInternal() {} + union { + CMsgSortItems _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSortItemsDefaultTypeInternal _CMsgSortItems_default_instance_; +PROTOBUF_CONSTEXPR CSOEconClaimCode::CSOEconClaimCode( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.code_type_)*/0u + , /*decltype(_impl_.time_acquired_)*/0u} {} +struct CSOEconClaimCodeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconClaimCodeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconClaimCodeDefaultTypeInternal() {} + union { + CSOEconClaimCode _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconClaimCodeDefaultTypeInternal _CSOEconClaimCode_default_instance_; +PROTOBUF_CONSTEXPR CMsgStoreGetUserData::CMsgStoreGetUserData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.price_sheet_version_)*/0u + , /*decltype(_impl_.currency_)*/0} {} +struct CMsgStoreGetUserDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgStoreGetUserDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgStoreGetUserDataDefaultTypeInternal() {} + union { + CMsgStoreGetUserData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgStoreGetUserDataDefaultTypeInternal _CMsgStoreGetUserData_default_instance_; +PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.country_deprecated_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.price_sheet_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.result_)*/0 + , /*decltype(_impl_.currency_deprecated_)*/0 + , /*decltype(_impl_.price_sheet_version_)*/0u} {} +struct CMsgStoreGetUserDataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgStoreGetUserDataResponseDefaultTypeInternal() {} + union { + CMsgStoreGetUserDataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgStoreGetUserDataResponseDefaultTypeInternal _CMsgStoreGetUserDataResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgUpdateItemSchema::CMsgUpdateItemSchema( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_game_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.items_game_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_schema_version_)*/0u} {} +struct CMsgUpdateItemSchemaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgUpdateItemSchemaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgUpdateItemSchemaDefaultTypeInternal() {} + union { + CMsgUpdateItemSchema _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgUpdateItemSchemaDefaultTypeInternal _CMsgUpdateItemSchema_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCError::CMsgGCError( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.error_text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCErrorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCErrorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCErrorDefaultTypeInternal() {} + union { + CMsgGCError _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCErrorDefaultTypeInternal _CMsgGCError_default_instance_; +PROTOBUF_CONSTEXPR CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh( + ::_pbi::ConstantInitialized) {} +struct CMsgRequestInventoryRefreshDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgRequestInventoryRefreshDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgRequestInventoryRefreshDefaultTypeInternal() {} + union { + CMsgRequestInventoryRefresh _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRequestInventoryRefreshDefaultTypeInternal _CMsgRequestInventoryRefresh_default_instance_; +PROTOBUF_CONSTEXPR CMsgConVarValue::CMsgConVarValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgConVarValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgConVarValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgConVarValueDefaultTypeInternal() {} + union { + CMsgConVarValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConVarValueDefaultTypeInternal _CMsgConVarValue_default_instance_; +PROTOBUF_CONSTEXPR CMsgReplicateConVars::CMsgReplicateConVars( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.convars_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgReplicateConVarsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgReplicateConVarsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgReplicateConVarsDefaultTypeInternal() {} + union { + CMsgReplicateConVars _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgReplicateConVarsDefaultTypeInternal _CMsgReplicateConVars_default_instance_; +PROTOBUF_CONSTEXPR CMsgUseItem::CMsgUseItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gift__potential_targets_)*/{} + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.initiator_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.duel__class_lock_)*/0u} {} +struct CMsgUseItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgUseItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgUseItemDefaultTypeInternal() {} + union { + CMsgUseItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgUseItemDefaultTypeInternal _CMsgUseItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.youtube_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.youtube_account_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.session_id_)*/uint64_t{0u}} {} +struct CMsgReplayUploadedToYouTubeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTubeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgReplayUploadedToYouTubeDefaultTypeInternal() {} + union { + CMsgReplayUploadedToYouTube _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgReplayUploadedToYouTubeDefaultTypeInternal _CMsgReplayUploadedToYouTube_default_instance_; +PROTOBUF_CONSTEXPR CMsgConsumableExhausted::CMsgConsumableExhausted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_def_id_)*/0} {} +struct CMsgConsumableExhaustedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgConsumableExhaustedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgConsumableExhaustedDefaultTypeInternal() {} + union { + CMsgConsumableExhausted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConsumableExhaustedDefaultTypeInternal _CMsgConsumableExhausted_default_instance_; +PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.inventory_)*/0u + , /*decltype(_impl_.def_index_)*/0u + , /*decltype(_impl_.quality_)*/0u + , /*decltype(_impl_.rarity_)*/0u + , /*decltype(_impl_.origin_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} +struct CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal() {} + union { + CMsgItemAcknowledged__DEPRECATED _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal _CMsgItemAcknowledged__DEPRECATED_default_instance_; +PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.legacy_item_id_)*/0u + , /*decltype(_impl_.position_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} +struct CMsgSetItemPositions_ItemPositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPositionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSetItemPositions_ItemPositionDefaultTypeInternal() {} + union { + CMsgSetItemPositions_ItemPosition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSetItemPositions_ItemPositionDefaultTypeInternal _CMsgSetItemPositions_ItemPosition_default_instance_; +PROTOBUF_CONSTEXPR CMsgSetItemPositions::CMsgSetItemPositions( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.item_positions_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgSetItemPositionsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSetItemPositionsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSetItemPositionsDefaultTypeInternal() {} + union { + CMsgSetItemPositions _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSetItemPositionsDefaultTypeInternal _CMsgSetItemPositions_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCReportAbuse::CMsgGCReportAbuse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.abuse_type_)*/0u + , /*decltype(_impl_.content_type_)*/0u + , /*decltype(_impl_.gid_)*/uint64_t{0u} + , /*decltype(_impl_.target_game_server_ip_)*/0u + , /*decltype(_impl_.target_game_server_port_)*/0u} {} +struct CMsgGCReportAbuseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCReportAbuseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCReportAbuseDefaultTypeInternal() {} + union { + CMsgGCReportAbuse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCReportAbuseDefaultTypeInternal _CMsgGCReportAbuse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.error_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.result_)*/0u} {} +struct CMsgGCReportAbuseResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCReportAbuseResponseDefaultTypeInternal() {} + union { + CMsgGCReportAbuseResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCReportAbuseResponseDefaultTypeInternal _CMsgGCReportAbuseResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCNameItemNotification::CMsgGCNameItemNotification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_name_custom_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.item_def_index_)*/0u} {} +struct CMsgGCNameItemNotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCNameItemNotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCNameItemNotificationDefaultTypeInternal() {} + union { + CMsgGCNameItemNotification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCNameItemNotificationDefaultTypeInternal _CMsgGCNameItemNotification_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.body_substring_keys_)*/{} + , /*decltype(_impl_.body_substring_values_)*/{} + , /*decltype(_impl_.notification_title_localization_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.notification_body_localization_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCClientDisplayNotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCClientDisplayNotificationDefaultTypeInternal() {} + union { + CMsgGCClientDisplayNotification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCClientDisplayNotificationDefaultTypeInternal _CMsgGCClientDisplayNotification_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_steamid_)*/uint64_t{0u}} {} +struct CMsgGCShowItemsPickedUpDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUpDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCShowItemsPickedUpDefaultTypeInternal() {} + union { + CMsgGCShowItemsPickedUp _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCShowItemsPickedUpDefaultTypeInternal _CMsgGCShowItemsPickedUp_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.killer_account_id_)*/0u + , /*decltype(_impl_.num_kills_)*/0u + , /*decltype(_impl_.item_def_)*/0u + , /*decltype(_impl_.level_type_)*/0u} {} +struct CMsgGCIncrementKillCountResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCIncrementKillCountResponseDefaultTypeInternal() {} + union { + CMsgGCIncrementKillCountResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCIncrementKillCountResponseDefaultTypeInternal _CMsgGCIncrementKillCountResponse_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItemDropRateBonus::CSOEconItemDropRateBonus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.expiration_date_)*/0u + , /*decltype(_impl_.bonus_)*/0 + , /*decltype(_impl_.bonus_count_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.def_index_)*/0u} {} +struct CSOEconItemDropRateBonusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemDropRateBonusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemDropRateBonusDefaultTypeInternal() {} + union { + CSOEconItemDropRateBonus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemDropRateBonusDefaultTypeInternal _CSOEconItemDropRateBonus_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.league_id_)*/0u + , /*decltype(_impl_.admin_)*/0u + , /*decltype(_impl_.itemindex_)*/0u} {} +struct CSOEconItemLeagueViewPassDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPassDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemLeagueViewPassDefaultTypeInternal() {} + union { + CSOEconItemLeagueViewPass _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemLeagueViewPassDefaultTypeInternal _CSOEconItemLeagueViewPass_default_instance_; +PROTOBUF_CONSTEXPR CSOEconItemEventTicket::CSOEconItemEventTicket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.event_id_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} +struct CSOEconItemEventTicketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconItemEventTicketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconItemEventTicketDefaultTypeInternal() {} + union { + CSOEconItemEventTicket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemEventTicketDefaultTypeInternal _CSOEconItemEventTicket_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_def_index_)*/0u} {} +struct CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal() {} + union { + CMsgGCItemPreviewItemBoughtNotification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal _CMsgGCItemPreviewItemBoughtNotification_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.txn_id_)*/uint64_t{0u}} {} +struct CMsgGCStorePurchaseCancelDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseCancelDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseCancel _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseCancelDefaultTypeInternal _CMsgGCStorePurchaseCancel_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.result_)*/0u} {} +struct CMsgGCStorePurchaseCancelResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseCancelResponseDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseCancelResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseCancelResponseDefaultTypeInternal _CMsgGCStorePurchaseCancelResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.txn_id_)*/uint64_t{0u}} {} +struct CMsgGCStorePurchaseFinalizeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseFinalizeDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseFinalize _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseFinalizeDefaultTypeInternal _CMsgGCStorePurchaseFinalize_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_ids_)*/{} + , /*decltype(_impl_.result_)*/0u} {} +struct CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal() {} + union { + CMsgGCStorePurchaseFinalizeResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal _CMsgGCStorePurchaseFinalizeResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ban_list_group_id_)*/0u + , /*decltype(_impl_.word_id_)*/0u} {} +struct CMsgGCBannedWordListRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCBannedWordListRequestDefaultTypeInternal() {} + union { + CMsgGCBannedWordListRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordListRequestDefaultTypeInternal _CMsgGCBannedWordListRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements( + ::_pbi::ConstantInitialized) {} +struct CMsgGCRequestAnnouncementsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCRequestAnnouncementsDefaultTypeInternal() {} + union { + CMsgGCRequestAnnouncements _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestAnnouncementsDefaultTypeInternal _CMsgGCRequestAnnouncements_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.announcement_title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.announcement_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nextmatch_title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nextmatch_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCRequestAnnouncementsResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCRequestAnnouncementsResponseDefaultTypeInternal() {} + union { + CMsgGCRequestAnnouncementsResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestAnnouncementsResponseDefaultTypeInternal _CMsgGCRequestAnnouncementsResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCBannedWord::CMsgGCBannedWord( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.word_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.word_id_)*/0u + , /*decltype(_impl_.word_type_)*/0} {} +struct CMsgGCBannedWordDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCBannedWordDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCBannedWordDefaultTypeInternal() {} + union { + CMsgGCBannedWord _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordDefaultTypeInternal _CMsgGCBannedWord_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.word_list_)*/{} + , /*decltype(_impl_.ban_list_group_id_)*/0u} {} +struct CMsgGCBannedWordListResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCBannedWordListResponseDefaultTypeInternal() {} + union { + CMsgGCBannedWordListResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordListResponseDefaultTypeInternal _CMsgGCBannedWordListResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.broadcast_)*/nullptr} {} +struct CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal() {} + union { + CMsgGCToGCBannedWordListBroadcast _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal _CMsgGCToGCBannedWordListBroadcast_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.group_id_)*/0u} {} +struct CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal() {} + union { + CMsgGCToGCBannedWordListUpdated _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal _CMsgGCToGCBannedWordListUpdated_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.key_uint64_)*/uint64_t{0u} + , /*decltype(_impl_.sdo_type_)*/0u} {} +struct CMsgGCToGCDirtySDOCacheDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCacheDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCDirtySDOCacheDefaultTypeInternal() {} + union { + CMsgGCToGCDirtySDOCache _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCDirtySDOCacheDefaultTypeInternal _CMsgGCToGCDirtySDOCache_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.key_uint64_)*/{} + , /*decltype(_impl_.sdo_type_)*/0u} {} +struct CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal() {} + union { + CMsgGCToGCDirtyMultipleSDOCache _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal _CMsgGCToGCDirtyMultipleSDOCache_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCollectItem::CMsgGCCollectItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.collection_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.subject_item_id_)*/uint64_t{0u}} {} +struct CMsgGCCollectItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCollectItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCollectItemDefaultTypeInternal() {} + union { + CMsgGCCollectItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCollectItemDefaultTypeInternal _CMsgGCCollectItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgSDONoMemcached::CMsgSDONoMemcached( + ::_pbi::ConstantInitialized) {} +struct CMsgSDONoMemcachedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSDONoMemcachedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSDONoMemcachedDefaultTypeInternal() {} + union { + CMsgSDONoMemcached _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSDONoMemcachedDefaultTypeInternal _CMsgSDONoMemcached_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.key_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal() {} + union { + CMsgGCToGCUpdateSQLKeyValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal _CMsgGCToGCUpdateSQLKeyValue_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} +struct CMsgGCToGCIsTrustedServerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCIsTrustedServerDefaultTypeInternal() {} + union { + CMsgGCToGCIsTrustedServer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCIsTrustedServerDefaultTypeInternal _CMsgGCToGCIsTrustedServer_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.is_trusted_)*/false} {} +struct CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal() {} + union { + CMsgGCToGCIsTrustedServerResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal _CMsgGCToGCIsTrustedServerResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.con_command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal() {} + union { + CMsgGCToGCBroadcastConsoleCommand _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal _CMsgGCToGCBroadcastConsoleCommand_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.server_version_)*/0u} {} +struct CMsgGCServerVersionUpdatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdatedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCServerVersionUpdatedDefaultTypeInternal() {} + union { + CMsgGCServerVersionUpdated _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCServerVersionUpdatedDefaultTypeInternal _CMsgGCServerVersionUpdated_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.client_version_)*/0u} {} +struct CMsgGCClientVersionUpdatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdatedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCClientVersionUpdatedDefaultTypeInternal() {} + union { + CMsgGCClientVersionUpdated _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCClientVersionUpdatedDefaultTypeInternal _CMsgGCClientVersionUpdated_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged( + ::_pbi::ConstantInitialized) {} +struct CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal() {} + union { + CMsgGCToGCWebAPIAccountChanged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal _CMsgGCToGCWebAPIAccountChanged_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.league_id_)*/0u + , /*decltype(_impl_.reward_flag_)*/0} {} +struct CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal() {} + union { + CMsgGCToGCRequestPassportItemGrant _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal _CMsgGCToGCRequestPassportItemGrant_default_instance_; +PROTOBUF_CONSTEXPR CMsgGameServerInfo::CMsgGameServerInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.server_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_public_ip_addr_)*/0u + , /*decltype(_impl_.server_private_ip_addr_)*/0u + , /*decltype(_impl_.server_port_)*/0u + , /*decltype(_impl_.server_tv_port_)*/0u + , /*decltype(_impl_.server_hibernation_)*/false + , /*decltype(_impl_.server_type_)*/0 + , /*decltype(_impl_.server_region_)*/0u + , /*decltype(_impl_.server_loadavg_)*/0 + , /*decltype(_impl_.server_tv_broadcast_time_)*/0 + , /*decltype(_impl_.server_game_time_)*/0 + , /*decltype(_impl_.server_relay_connected_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.relay_slots_max_)*/0u + , /*decltype(_impl_.relays_connected_)*/0 + , /*decltype(_impl_.relayed_game_server_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.relay_clients_connected_)*/0 + , /*decltype(_impl_.parent_relay_count_)*/0u + , /*decltype(_impl_.tv_secret_code_)*/uint64_t{0u}} {} +struct CMsgGameServerInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGameServerInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGameServerInfoDefaultTypeInternal() {} + union { + CMsgGameServerInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGameServerInfoDefaultTypeInternal _CMsgGameServerInfo_default_instance_; +PROTOBUF_CONSTEXPR CSOEconEquipSlot::CSOEconEquipSlot( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.class_id_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.slot_id_)*/0u + , /*decltype(_impl_.item_definition_)*/0u} {} +struct CSOEconEquipSlotDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconEquipSlotDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconEquipSlotDefaultTypeInternal() {} + union { + CSOEconEquipSlot _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconEquipSlotDefaultTypeInternal _CSOEconEquipSlot_default_instance_; +PROTOBUF_CONSTEXPR CMsgAdjustEquipSlot::CMsgAdjustEquipSlot( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.class_id_)*/0u + , /*decltype(_impl_.slot_id_)*/0u + , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} +struct CMsgAdjustEquipSlotDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgAdjustEquipSlotDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgAdjustEquipSlotDefaultTypeInternal() {} + union { + CMsgAdjustEquipSlot _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAdjustEquipSlotDefaultTypeInternal _CMsgAdjustEquipSlot_default_instance_; +PROTOBUF_CONSTEXPR CMsgAdjustEquipSlots::CMsgAdjustEquipSlots( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slots_)*/{} + , /*decltype(_impl_.change_num_)*/0u} {} +struct CMsgAdjustEquipSlotsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgAdjustEquipSlotsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgAdjustEquipSlotsDefaultTypeInternal() {} + union { + CMsgAdjustEquipSlots _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAdjustEquipSlotsDefaultTypeInternal _CMsgAdjustEquipSlots_default_instance_; +PROTOBUF_CONSTEXPR CMsgOpenCrate::CMsgOpenCrate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tool_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.subject_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.for_rental_)*/false + , /*decltype(_impl_.points_remaining_)*/0u} {} +struct CMsgOpenCrateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgOpenCrateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgOpenCrateDefaultTypeInternal() {} + union { + CMsgOpenCrate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgOpenCrateDefaultTypeInternal _CMsgOpenCrate_default_instance_; +PROTOBUF_CONSTEXPR CSOEconRentalHistory::CSOEconRentalHistory( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crate_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.crate_def_index_)*/0u + , /*decltype(_impl_.issue_date_)*/0u + , /*decltype(_impl_.expiration_date_)*/0u} {} +struct CSOEconRentalHistoryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconRentalHistoryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconRentalHistoryDefaultTypeInternal() {} + union { + CSOEconRentalHistory _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconRentalHistoryDefaultTypeInternal _CSOEconRentalHistory_default_instance_; +PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crate_item_id_)*/uint64_t{0u}} {} +struct CMsgAcknowledgeRentalExpirationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpirationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgAcknowledgeRentalExpirationDefaultTypeInternal() {} + union { + CMsgAcknowledgeRentalExpiration _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAcknowledgeRentalExpirationDefaultTypeInternal _CMsgAcknowledgeRentalExpiration_default_instance_; +static ::_pb::Metadata file_level_metadata_base_5fgcmessages_2eproto[83]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_base_5fgcmessages_2eproto[4]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_base_5fgcmessages_2eproto = nullptr; + +const uint32_t TableStruct_base_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.item_def_id_), + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.quantity_), + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.cost_in_local_currency_), + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.purchase_type_), + PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.supplemental_data_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.country_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.language_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.currency_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.line_items_), + 0, + 1, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.txn_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.url_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.item_ids_), + 2, + 1, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.group_id_), + PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.sender_id_), + PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.sender_name_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.group_id_), + PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.sender_id_), + PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.sender_name_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _impl_.message_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.client_version_), + PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.team_invite_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_.group_id_), + PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_.steam_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.party_id_), + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.accept_), + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.client_version_), + PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.team_invite_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _impl_.steam_id_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgLeaveParty, _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(::CMsgServerAvailable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _impl_.lobby_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.additional_backpack_slots_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.trade_ban_expiration_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.bonus_xp_timestamp_refresh_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.bonus_xp_usedflags_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.elevated_state_), + PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.elevated_timestamp_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.op_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.field_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.required_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.float_value_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.string_value_), + 2, + 0, + 3, + 4, + 1, + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_level_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_quality_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_level_set_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_quality_set_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.initial_inventory_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.initial_quantity_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.ignore_enabled_flag_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.conditions_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_rarity_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_rarity_set_), + PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.recent_only_), + 0, + 1, + 4, + 5, + 2, + 3, + 6, + ~0u, + 8, + 7, + 9, + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.def_index_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.n_a_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.desc_inputs_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.desc_outputs_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_a_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_b_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_c_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_a_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_b_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_c_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.requires_all_same_class_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.requires_all_same_slot_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.class_usage_for_output_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.slot_usage_for_output_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.set_for_output_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.input_items_criteria_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.output_items_criteria_), + PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.input_item_dupe_counts_), + 10, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 11, + 12, + 13, + 14, + 15, + ~0u, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_.receiver_), + PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_.criteria_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.killer_account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.victim_account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.event_type_), + PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.amount_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.item_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_slot_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.baseitem_defidx_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_wear_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_rotation_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_scale_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_x_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_y_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_z_), + PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_wear_target_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.attr_defidx_), + PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.attr_value_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.tool_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.item_1_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.item_2_item_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_.strange_part_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_.item_item_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_.upgrade_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_.pennant_item_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_.essence_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_.egg_item_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.def_index_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.value_bytes_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_.new_class_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_.new_slot_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.inventory_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.def_index_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.quantity_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.quality_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.custom_name_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.custom_desc_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.attribute_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.interior_item_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.in_use_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.style_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.original_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.equipped_state_), + PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.rarity_), + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 0, + 1, + ~0u, + 2, + 12, + 13, + 14, + ~0u, + 15, + PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _impl_.sort_type_), + 0, + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.code_type_), + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.time_acquired_), + PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.code_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_.price_sheet_version_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_.currency_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.currency_deprecated_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.country_deprecated_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.price_sheet_version_), + PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.price_sheet_), + 2, + 3, + 0, + 4, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.items_game_), + PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.item_schema_version_), + PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.items_game_url_), + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCError, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCError, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCError, _impl_.error_text_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgRequestInventoryRefresh, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgReplicateConVars, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgReplicateConVars, _impl_.convars_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.target_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.gift__potential_targets_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.duel__class_lock_), + PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.initiator_steam_id_), + 0, + 1, + ~0u, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.youtube_url_), + PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.youtube_account_name_), + PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.session_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _impl_.item_def_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.inventory_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.def_index_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.quality_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.rarity_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.item_id_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.legacy_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.item_id_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions, _impl_.item_positions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.description_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.gid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.abuse_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.content_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_game_server_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_game_server_port_), + 1, + 0, + 4, + 2, + 3, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.target_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.error_message_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.player_steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.item_def_index_), + PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.item_name_custom_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.notification_title_localization_key_), + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.notification_body_localization_key_), + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.body_substring_keys_), + PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.body_substring_values_), + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _impl_.player_steamid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.killer_account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.num_kills_), + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.item_def_), + PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.level_type_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.expiration_date_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.bonus_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.bonus_count_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.def_index_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.league_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.admin_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.itemindex_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.item_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _impl_.item_def_index_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _impl_.txn_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _impl_.result_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _impl_.txn_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_.item_ids_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_.ban_list_group_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_.word_id_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncements, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.announcement_title_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.announcement_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.nextmatch_title_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.nextmatch_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_.ban_list_group_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_.word_list_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _impl_.broadcast_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _impl_.group_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_.sdo_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_.key_uint64_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_.sdo_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_.key_uint64_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_.collection_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_.subject_item_id_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgSDONoMemcached, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _impl_.key_name_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _impl_.steam_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _impl_.is_trusted_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _impl_.con_command_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _impl_.server_version_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _impl_.client_version_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCWebAPIAccountChanged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.league_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.reward_flag_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_public_ip_addr_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_private_ip_addr_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_tv_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_key_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_hibernation_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_region_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_loadavg_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_tv_broadcast_time_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_game_time_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_relay_connected_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relay_slots_max_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relays_connected_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relay_clients_connected_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relayed_game_server_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.parent_relay_count_), + PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.tv_secret_code_), + 1, + 2, + 3, + 4, + 0, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 15, + 14, + 16, + 17, + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.class_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.slot_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.item_definition_), + 0, + 1, + 3, + 2, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.class_id_), + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.slot_id_), + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.item_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_.slots_), + PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_.change_num_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.tool_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.subject_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.for_rental_), + PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.points_remaining_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.crate_item_id_), + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.crate_def_index_), + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.issue_date_), + PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.expiration_date_), + 1, + 0, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _impl_.crate_item_id_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 11, -1, sizeof(::CGCStorePurchaseInit_LineItem)}, + { 16, 26, -1, sizeof(::CMsgGCStorePurchaseInit)}, + { 30, 40, -1, sizeof(::CMsgGCStorePurchaseInitResponse)}, + { 44, 53, -1, sizeof(::CSOPartyInvite)}, + { 56, 65, -1, sizeof(::CSOLobbyInvite)}, + { 68, 75, -1, sizeof(::CMsgSystemBroadcast)}, + { 76, 85, -1, sizeof(::CMsgInviteToParty)}, + { 88, 96, -1, sizeof(::CMsgInvitationCreated)}, + { 98, 108, -1, sizeof(::CMsgPartyInviteResponse)}, + { 112, 119, -1, sizeof(::CMsgKickFromParty)}, + { 120, -1, -1, sizeof(::CMsgLeaveParty)}, + { 126, -1, -1, sizeof(::CMsgServerAvailable)}, + { 132, 139, -1, sizeof(::CMsgLANServerAvailable)}, + { 140, 152, -1, sizeof(::CSOEconGameAccountClient)}, + { 158, 169, -1, sizeof(::CSOItemCriteriaCondition)}, + { 174, 191, -1, sizeof(::CSOItemCriteria)}, + { 202, 227, -1, sizeof(::CSOItemRecipe)}, + { 246, 254, -1, sizeof(::CMsgDevNewItemRequest)}, + { 256, 267, -1, sizeof(::CMsgIncrementKillCountAttribute)}, + { 272, 289, -1, sizeof(::CMsgApplySticker)}, + { 300, 309, -1, sizeof(::CMsgModifyItemAttribute)}, + { 312, 321, -1, sizeof(::CMsgApplyStatTrakSwap)}, + { 324, 332, -1, sizeof(::CMsgApplyStrangePart)}, + { 334, 342, -1, sizeof(::CMsgApplyPennantUpgrade)}, + { 344, 352, -1, sizeof(::CMsgApplyEggEssence)}, + { 354, 363, -1, sizeof(::CSOEconItemAttribute)}, + { 366, 374, -1, sizeof(::CSOEconItemEquipped)}, + { 376, 400, -1, sizeof(::CSOEconItem)}, + { 418, 425, -1, sizeof(::CMsgSortItems)}, + { 426, 436, -1, sizeof(::CSOEconClaimCode)}, + { 440, 448, -1, sizeof(::CMsgStoreGetUserData)}, + { 450, 461, -1, sizeof(::CMsgStoreGetUserDataResponse)}, + { 466, 475, -1, sizeof(::CMsgUpdateItemSchema)}, + { 478, 485, -1, sizeof(::CMsgGCError)}, + { 486, -1, -1, sizeof(::CMsgRequestInventoryRefresh)}, + { 492, 500, -1, sizeof(::CMsgConVarValue)}, + { 502, -1, -1, sizeof(::CMsgReplicateConVars)}, + { 509, 520, -1, sizeof(::CMsgUseItem)}, + { 525, 534, -1, sizeof(::CMsgReplayUploadedToYouTube)}, + { 537, 544, -1, sizeof(::CMsgConsumableExhausted)}, + { 545, 558, -1, sizeof(::CMsgItemAcknowledged__DEPRECATED)}, + { 565, 574, -1, sizeof(::CMsgSetItemPositions_ItemPosition)}, + { 577, -1, -1, sizeof(::CMsgSetItemPositions)}, + { 584, 597, -1, sizeof(::CMsgGCReportAbuse)}, + { 604, 613, -1, sizeof(::CMsgGCReportAbuseResponse)}, + { 616, 625, -1, sizeof(::CMsgGCNameItemNotification)}, + { 628, 638, -1, sizeof(::CMsgGCClientDisplayNotification)}, + { 642, 649, -1, sizeof(::CMsgGCShowItemsPickedUp)}, + { 650, 660, -1, sizeof(::CMsgGCIncrementKillCountResponse)}, + { 664, 676, -1, sizeof(::CSOEconItemDropRateBonus)}, + { 682, 692, -1, sizeof(::CSOEconItemLeagueViewPass)}, + { 696, 705, -1, sizeof(::CSOEconItemEventTicket)}, + { 708, 715, -1, sizeof(::CMsgGCItemPreviewItemBoughtNotification)}, + { 716, 723, -1, sizeof(::CMsgGCStorePurchaseCancel)}, + { 724, 731, -1, sizeof(::CMsgGCStorePurchaseCancelResponse)}, + { 732, 739, -1, sizeof(::CMsgGCStorePurchaseFinalize)}, + { 740, 748, -1, sizeof(::CMsgGCStorePurchaseFinalizeResponse)}, + { 750, 758, -1, sizeof(::CMsgGCBannedWordListRequest)}, + { 760, -1, -1, sizeof(::CMsgGCRequestAnnouncements)}, + { 766, 776, -1, sizeof(::CMsgGCRequestAnnouncementsResponse)}, + { 780, 789, -1, sizeof(::CMsgGCBannedWord)}, + { 792, 800, -1, sizeof(::CMsgGCBannedWordListResponse)}, + { 802, 809, -1, sizeof(::CMsgGCToGCBannedWordListBroadcast)}, + { 810, 817, -1, sizeof(::CMsgGCToGCBannedWordListUpdated)}, + { 818, 826, -1, sizeof(::CMsgGCToGCDirtySDOCache)}, + { 828, 836, -1, sizeof(::CMsgGCToGCDirtyMultipleSDOCache)}, + { 838, 846, -1, sizeof(::CMsgGCCollectItem)}, + { 848, -1, -1, sizeof(::CMsgSDONoMemcached)}, + { 854, 861, -1, sizeof(::CMsgGCToGCUpdateSQLKeyValue)}, + { 862, 869, -1, sizeof(::CMsgGCToGCIsTrustedServer)}, + { 870, 877, -1, sizeof(::CMsgGCToGCIsTrustedServerResponse)}, + { 878, 885, -1, sizeof(::CMsgGCToGCBroadcastConsoleCommand)}, + { 886, 893, -1, sizeof(::CMsgGCServerVersionUpdated)}, + { 894, 901, -1, sizeof(::CMsgGCClientVersionUpdated)}, + { 902, -1, -1, sizeof(::CMsgGCToGCWebAPIAccountChanged)}, + { 908, 917, -1, sizeof(::CMsgGCToGCRequestPassportItemGrant)}, + { 920, 944, -1, sizeof(::CMsgGameServerInfo)}, + { 962, 973, -1, sizeof(::CSOEconEquipSlot)}, + { 978, 987, -1, sizeof(::CMsgAdjustEquipSlot)}, + { 990, 998, -1, sizeof(::CMsgAdjustEquipSlots)}, + { 1000, 1010, -1, sizeof(::CMsgOpenCrate)}, + { 1014, 1025, -1, sizeof(::CSOEconRentalHistory)}, + { 1030, 1037, -1, sizeof(::CMsgAcknowledgeRentalExpiration)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CGCStorePurchaseInit_LineItem_default_instance_._instance, + &::_CMsgGCStorePurchaseInit_default_instance_._instance, + &::_CMsgGCStorePurchaseInitResponse_default_instance_._instance, + &::_CSOPartyInvite_default_instance_._instance, + &::_CSOLobbyInvite_default_instance_._instance, + &::_CMsgSystemBroadcast_default_instance_._instance, + &::_CMsgInviteToParty_default_instance_._instance, + &::_CMsgInvitationCreated_default_instance_._instance, + &::_CMsgPartyInviteResponse_default_instance_._instance, + &::_CMsgKickFromParty_default_instance_._instance, + &::_CMsgLeaveParty_default_instance_._instance, + &::_CMsgServerAvailable_default_instance_._instance, + &::_CMsgLANServerAvailable_default_instance_._instance, + &::_CSOEconGameAccountClient_default_instance_._instance, + &::_CSOItemCriteriaCondition_default_instance_._instance, + &::_CSOItemCriteria_default_instance_._instance, + &::_CSOItemRecipe_default_instance_._instance, + &::_CMsgDevNewItemRequest_default_instance_._instance, + &::_CMsgIncrementKillCountAttribute_default_instance_._instance, + &::_CMsgApplySticker_default_instance_._instance, + &::_CMsgModifyItemAttribute_default_instance_._instance, + &::_CMsgApplyStatTrakSwap_default_instance_._instance, + &::_CMsgApplyStrangePart_default_instance_._instance, + &::_CMsgApplyPennantUpgrade_default_instance_._instance, + &::_CMsgApplyEggEssence_default_instance_._instance, + &::_CSOEconItemAttribute_default_instance_._instance, + &::_CSOEconItemEquipped_default_instance_._instance, + &::_CSOEconItem_default_instance_._instance, + &::_CMsgSortItems_default_instance_._instance, + &::_CSOEconClaimCode_default_instance_._instance, + &::_CMsgStoreGetUserData_default_instance_._instance, + &::_CMsgStoreGetUserDataResponse_default_instance_._instance, + &::_CMsgUpdateItemSchema_default_instance_._instance, + &::_CMsgGCError_default_instance_._instance, + &::_CMsgRequestInventoryRefresh_default_instance_._instance, + &::_CMsgConVarValue_default_instance_._instance, + &::_CMsgReplicateConVars_default_instance_._instance, + &::_CMsgUseItem_default_instance_._instance, + &::_CMsgReplayUploadedToYouTube_default_instance_._instance, + &::_CMsgConsumableExhausted_default_instance_._instance, + &::_CMsgItemAcknowledged__DEPRECATED_default_instance_._instance, + &::_CMsgSetItemPositions_ItemPosition_default_instance_._instance, + &::_CMsgSetItemPositions_default_instance_._instance, + &::_CMsgGCReportAbuse_default_instance_._instance, + &::_CMsgGCReportAbuseResponse_default_instance_._instance, + &::_CMsgGCNameItemNotification_default_instance_._instance, + &::_CMsgGCClientDisplayNotification_default_instance_._instance, + &::_CMsgGCShowItemsPickedUp_default_instance_._instance, + &::_CMsgGCIncrementKillCountResponse_default_instance_._instance, + &::_CSOEconItemDropRateBonus_default_instance_._instance, + &::_CSOEconItemLeagueViewPass_default_instance_._instance, + &::_CSOEconItemEventTicket_default_instance_._instance, + &::_CMsgGCItemPreviewItemBoughtNotification_default_instance_._instance, + &::_CMsgGCStorePurchaseCancel_default_instance_._instance, + &::_CMsgGCStorePurchaseCancelResponse_default_instance_._instance, + &::_CMsgGCStorePurchaseFinalize_default_instance_._instance, + &::_CMsgGCStorePurchaseFinalizeResponse_default_instance_._instance, + &::_CMsgGCBannedWordListRequest_default_instance_._instance, + &::_CMsgGCRequestAnnouncements_default_instance_._instance, + &::_CMsgGCRequestAnnouncementsResponse_default_instance_._instance, + &::_CMsgGCBannedWord_default_instance_._instance, + &::_CMsgGCBannedWordListResponse_default_instance_._instance, + &::_CMsgGCToGCBannedWordListBroadcast_default_instance_._instance, + &::_CMsgGCToGCBannedWordListUpdated_default_instance_._instance, + &::_CMsgGCToGCDirtySDOCache_default_instance_._instance, + &::_CMsgGCToGCDirtyMultipleSDOCache_default_instance_._instance, + &::_CMsgGCCollectItem_default_instance_._instance, + &::_CMsgSDONoMemcached_default_instance_._instance, + &::_CMsgGCToGCUpdateSQLKeyValue_default_instance_._instance, + &::_CMsgGCToGCIsTrustedServer_default_instance_._instance, + &::_CMsgGCToGCIsTrustedServerResponse_default_instance_._instance, + &::_CMsgGCToGCBroadcastConsoleCommand_default_instance_._instance, + &::_CMsgGCServerVersionUpdated_default_instance_._instance, + &::_CMsgGCClientVersionUpdated_default_instance_._instance, + &::_CMsgGCToGCWebAPIAccountChanged_default_instance_._instance, + &::_CMsgGCToGCRequestPassportItemGrant_default_instance_._instance, + &::_CMsgGameServerInfo_default_instance_._instance, + &::_CSOEconEquipSlot_default_instance_._instance, + &::_CMsgAdjustEquipSlot_default_instance_._instance, + &::_CMsgAdjustEquipSlots_default_instance_._instance, + &::_CMsgOpenCrate_default_instance_._instance, + &::_CSOEconRentalHistory_default_instance_._instance, + &::_CMsgAcknowledgeRentalExpiration_default_instance_._instance, +}; + +const char descriptor_table_protodef_base_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\025base_gcmessages.proto\032\023steammessages.p" + "roto\"\230\001\n\035CGCStorePurchaseInit_LineItem\022\023" + "\n\013item_def_id\030\001 \001(\r\022\020\n\010quantity\030\002 \001(\r\022\036\n" + "\026cost_in_local_currency\030\003 \001(\r\022\025\n\rpurchas" + "e_type\030\004 \001(\r\022\031\n\021supplemental_data\030\005 \001(\004\"" + "\202\001\n\027CMsgGCStorePurchaseInit\022\017\n\007country\030\001" + " \001(\t\022\020\n\010language\030\002 \001(\005\022\020\n\010currency\030\003 \001(\005" + "\0222\n\nline_items\030\004 \003(\0132\036.CGCStorePurchaseI" + "nit_LineItem\"`\n\037CMsgGCStorePurchaseInitR" + "esponse\022\016\n\006result\030\001 \001(\005\022\016\n\006txn_id\030\002 \001(\004\022" + "\013\n\003url\030\003 \001(\t\022\020\n\010item_ids\030\004 \003(\004\"P\n\016CSOPar" + "tyInvite\022\026\n\010group_id\030\001 \001(\004B\004\200\246\035\001\022\021\n\tsend" + "er_id\030\002 \001(\006\022\023\n\013sender_name\030\003 \001(\t\"P\n\016CSOL" + "obbyInvite\022\026\n\010group_id\030\001 \001(\004B\004\200\246\035\001\022\021\n\tse" + "nder_id\030\002 \001(\006\022\023\n\013sender_name\030\003 \001(\t\"&\n\023CM" + "sgSystemBroadcast\022\017\n\007message\030\001 \001(\t\"R\n\021CM" + "sgInviteToParty\022\020\n\010steam_id\030\001 \001(\006\022\026\n\016cli" + "ent_version\030\002 \001(\r\022\023\n\013team_invite\030\003 \001(\r\";" + "\n\025CMsgInvitationCreated\022\020\n\010group_id\030\001 \001(" + "\004\022\020\n\010steam_id\030\002 \001(\006\"h\n\027CMsgPartyInviteRe" + "sponse\022\020\n\010party_id\030\001 \001(\004\022\016\n\006accept\030\002 \001(\010" + "\022\026\n\016client_version\030\003 \001(\r\022\023\n\013team_invite\030" + "\004 \001(\r\"%\n\021CMsgKickFromParty\022\020\n\010steam_id\030\001" + " \001(\006\"\020\n\016CMsgLeaveParty\"\025\n\023CMsgServerAvai" + "lable\"*\n\026CMsgLANServerAvailable\022\020\n\010lobby" + "_id\030\001 \001(\006\"\322\001\n\030CSOEconGameAccountClient\022$" + "\n\031additional_backpack_slots\030\001 \001(\r:\0010\022\034\n\024" + "trade_ban_expiration\030\006 \001(\007\022\"\n\032bonus_xp_t" + "imestamp_refresh\030\014 \001(\007\022\032\n\022bonus_xp_usedf" + "lags\030\r \001(\r\022\026\n\016elevated_state\030\016 \001(\r\022\032\n\022el" + "evated_timestamp\030\017 \001(\r\"r\n\030CSOItemCriteri" + "aCondition\022\n\n\002op\030\001 \001(\005\022\r\n\005field\030\002 \001(\t\022\020\n" + "\010required\030\003 \001(\010\022\023\n\013float_value\030\004 \001(\002\022\024\n\014" + "string_value\030\005 \001(\t\"\261\002\n\017CSOItemCriteria\022\022" + "\n\nitem_level\030\001 \001(\r\022\024\n\014item_quality\030\002 \001(\005" + "\022\026\n\016item_level_set\030\003 \001(\010\022\030\n\020item_quality" + "_set\030\004 \001(\010\022\031\n\021initial_inventory\030\005 \001(\r\022\030\n" + "\020initial_quantity\030\006 \001(\r\022\033\n\023ignore_enable" + "d_flag\030\010 \001(\010\022-\n\nconditions\030\t \003(\0132\031.CSOIt" + "emCriteriaCondition\022\023\n\013item_rarity\030\n \001(\005" + "\022\027\n\017item_rarity_set\030\013 \001(\010\022\023\n\013recent_only" + "\030\014 \001(\010\"\325\003\n\rCSOItemRecipe\022\021\n\tdef_index\030\001 " + "\001(\r\022\014\n\004name\030\002 \001(\t\022\013\n\003n_a\030\003 \001(\t\022\023\n\013desc_i" + "nputs\030\004 \001(\t\022\024\n\014desc_outputs\030\005 \001(\t\022\014\n\004di_" + "a\030\006 \001(\t\022\014\n\004di_b\030\007 \001(\t\022\014\n\004di_c\030\010 \001(\t\022\014\n\004d" + "o_a\030\t \001(\t\022\014\n\004do_b\030\n \001(\t\022\014\n\004do_c\030\013 \001(\t\022\037\n" + "\027requires_all_same_class\030\014 \001(\010\022\036\n\026requir" + "es_all_same_slot\030\r \001(\010\022\036\n\026class_usage_fo" + "r_output\030\016 \001(\005\022\035\n\025slot_usage_for_output\030" + "\017 \001(\005\022\026\n\016set_for_output\030\020 \001(\005\022.\n\024input_i" + "tems_criteria\030\024 \003(\0132\020.CSOItemCriteria\022/\n" + "\025output_items_criteria\030\025 \003(\0132\020.CSOItemCr" + "iteria\022\036\n\026input_item_dupe_counts\030\026 \003(\r\"M" + "\n\025CMsgDevNewItemRequest\022\020\n\010receiver\030\001 \001(" + "\006\022\"\n\010criteria\030\002 \001(\0132\020.CSOItemCriteria\"\214\001" + "\n\037CMsgIncrementKillCountAttribute\022\031\n\021kil" + "ler_account_id\030\001 \001(\007\022\031\n\021victim_account_i" + "d\030\002 \001(\007\022\017\n\007item_id\030\003 \001(\004\022\022\n\nevent_type\030\004" + " \001(\r\022\016\n\006amount\030\005 \001(\r\"\242\002\n\020CMsgApplySticke" + "r\022\027\n\017sticker_item_id\030\001 \001(\004\022\024\n\014item_item_" + "id\030\002 \001(\004\022\024\n\014sticker_slot\030\003 \001(\r\022\027\n\017baseit" + "em_defidx\030\004 \001(\r\022\024\n\014sticker_wear\030\005 \001(\002\022\030\n" + "\020sticker_rotation\030\006 \001(\002\022\025\n\rsticker_scale" + "\030\007 \001(\002\022\030\n\020sticker_offset_x\030\010 \001(\002\022\030\n\020stic" + "ker_offset_y\030\t \001(\002\022\030\n\020sticker_offset_z\030\n" + " \001(\002\022\033\n\023sticker_wear_target\030\013 \001(\002\"S\n\027CMs" + "gModifyItemAttribute\022\017\n\007item_id\030\001 \001(\004\022\023\n" + "\013attr_defidx\030\002 \001(\r\022\022\n\nattr_value\030\003 \001(\r\"]" + "\n\025CMsgApplyStatTrakSwap\022\024\n\014tool_item_id\030" + "\001 \001(\004\022\026\n\016item_1_item_id\030\002 \001(\004\022\026\n\016item_2_" + "item_id\030\003 \001(\004\"J\n\024CMsgApplyStrangePart\022\034\n" + "\024strange_part_item_id\030\001 \001(\004\022\024\n\014item_item" + "_id\030\002 \001(\004\"K\n\027CMsgApplyPennantUpgrade\022\027\n\017" + "upgrade_item_id\030\001 \001(\004\022\027\n\017pennant_item_id" + "\030\002 \001(\004\"C\n\023CMsgApplyEggEssence\022\027\n\017essence" + "_item_id\030\001 \001(\004\022\023\n\013egg_item_id\030\002 \001(\004\"M\n\024C" + "SOEconItemAttribute\022\021\n\tdef_index\030\001 \001(\r\022\r" + "\n\005value\030\002 \001(\r\022\023\n\013value_bytes\030\003 \001(\014\":\n\023CS" + "OEconItemEquipped\022\021\n\tnew_class\030\001 \001(\r\022\020\n\010" + "new_slot\030\002 \001(\r\"\237\003\n\013CSOEconItem\022\n\n\002id\030\001 \001" + "(\004\022\022\n\naccount_id\030\002 \001(\r\022\021\n\tinventory\030\003 \001(" + "\r\022\021\n\tdef_index\030\004 \001(\r\022\020\n\010quantity\030\005 \001(\r\022\r" + "\n\005level\030\006 \001(\r\022\017\n\007quality\030\007 \001(\r\022\020\n\005flags\030" + "\010 \001(\r:\0010\022\016\n\006origin\030\t \001(\r\022\023\n\013custom_name\030" + "\n \001(\t\022\023\n\013custom_desc\030\013 \001(\t\022(\n\tattribute\030" + "\014 \003(\0132\025.CSOEconItemAttribute\022#\n\rinterior" + "_item\030\r \001(\0132\014.CSOEconItem\022\025\n\006in_use\030\016 \001(" + "\010:\005false\022\020\n\005style\030\017 \001(\r:\0010\022\026\n\013original_i" + "d\030\020 \001(\004:\0010\022,\n\016equipped_state\030\022 \003(\0132\024.CSO" + "EconItemEquipped\022\016\n\006rarity\030\023 \001(\r\"\"\n\rCMsg" + "SortItems\022\021\n\tsort_type\030\001 \001(\r\"^\n\020CSOEconC" + "laimCode\022\022\n\naccount_id\030\001 \001(\r\022\021\n\tcode_typ" + "e\030\002 \001(\r\022\025\n\rtime_acquired\030\003 \001(\r\022\014\n\004code\030\004" + " \001(\t\"E\n\024CMsgStoreGetUserData\022\033\n\023price_sh" + "eet_version\030\001 \001(\007\022\020\n\010currency\030\002 \001(\005\"\231\001\n\034" + "CMsgStoreGetUserDataResponse\022\016\n\006result\030\001" + " \001(\005\022\033\n\023currency_deprecated\030\002 \001(\005\022\032\n\022cou" + "ntry_deprecated\030\003 \001(\t\022\033\n\023price_sheet_ver" + "sion\030\004 \001(\007\022\023\n\013price_sheet\030\010 \001(\014\"_\n\024CMsgU" + "pdateItemSchema\022\022\n\nitems_game\030\001 \001(\014\022\033\n\023i" + "tem_schema_version\030\002 \001(\007\022\026\n\016items_game_u" + "rl\030\004 \001(\t\"!\n\013CMsgGCError\022\022\n\nerror_text\030\001 " + "\001(\t\"\035\n\033CMsgRequestInventoryRefresh\".\n\017CM" + "sgConVarValue\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001" + "(\t\"9\n\024CMsgReplicateConVars\022!\n\007convars\030\001 " + "\003(\0132\020.CMsgConVarValue\"\216\001\n\013CMsgUseItem\022\017\n" + "\007item_id\030\001 \001(\004\022\027\n\017target_steam_id\030\002 \001(\006\022" + "\037\n\027gift__potential_targets\030\003 \003(\r\022\030\n\020duel" + "__class_lock\030\004 \001(\r\022\032\n\022initiator_steam_id" + "\030\005 \001(\006\"d\n\033CMsgReplayUploadedToYouTube\022\023\n" + "\013youtube_url\030\001 \001(\t\022\034\n\024youtube_account_na" + "me\030\002 \001(\t\022\022\n\nsession_id\030\003 \001(\004\".\n\027CMsgCons" + "umableExhausted\022\023\n\013item_def_id\030\001 \001(\005\"\236\001\n" + " CMsgItemAcknowledged__DEPRECATED\022\022\n\nacc" + "ount_id\030\001 \001(\r\022\021\n\tinventory\030\002 \001(\r\022\021\n\tdef_" + "index\030\003 \001(\r\022\017\n\007quality\030\004 \001(\r\022\016\n\006rarity\030\005" + " \001(\r\022\016\n\006origin\030\006 \001(\r\022\017\n\007item_id\030\007 \001(\004\"\235\001" + "\n\024CMsgSetItemPositions\022:\n\016item_positions" + "\030\001 \003(\0132\".CMsgSetItemPositions.ItemPositi" + "on\032I\n\014ItemPosition\022\026\n\016legacy_item_id\030\001 \001" + "(\r\022\020\n\010position\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"\270\001" + "\n\021CMsgGCReportAbuse\022\027\n\017target_steam_id\030\001" + " \001(\006\022\023\n\013description\030\004 \001(\t\022\013\n\003gid\030\005 \001(\004\022\022" + "\n\nabuse_type\030\002 \001(\r\022\024\n\014content_type\030\003 \001(\r" + "\022\035\n\025target_game_server_ip\030\006 \001(\007\022\037\n\027targe" + "t_game_server_port\030\007 \001(\r\"[\n\031CMsgGCReport" + "AbuseResponse\022\027\n\017target_steam_id\030\001 \001(\006\022\016" + "\n\006result\030\002 \001(\r\022\025\n\rerror_message\030\003 \001(\t\"f\n" + "\032CMsgGCNameItemNotification\022\026\n\016player_st" + "eamid\030\001 \001(\006\022\026\n\016item_def_index\030\002 \001(\r\022\030\n\020i" + "tem_name_custom\030\003 \001(\t\"\266\001\n\037CMsgGCClientDi" + "splayNotification\022+\n#notification_title_" + "localization_key\030\001 \001(\t\022*\n\"notification_b" + "ody_localization_key\030\002 \001(\t\022\033\n\023body_subst" + "ring_keys\030\003 \003(\t\022\035\n\025body_substring_values" + "\030\004 \003(\t\"1\n\027CMsgGCShowItemsPickedUp\022\026\n\016pla" + "yer_steamid\030\001 \001(\006\"|\n CMsgGCIncrementKill" + "CountResponse\022\037\n\021killer_account_id\030\001 \001(\r" + "B\004\200\246\035\001\022\021\n\tnum_kills\030\002 \001(\r\022\020\n\010item_def\030\003 " + "\001(\r\022\022\n\nlevel_type\030\004 \001(\r\"\217\001\n\030CSOEconItemD" + "ropRateBonus\022\022\n\naccount_id\030\001 \001(\r\022\027\n\017expi" + "ration_date\030\002 \001(\007\022\r\n\005bonus\030\003 \001(\002\022\023\n\013bonu" + "s_count\030\004 \001(\r\022\017\n\007item_id\030\005 \001(\004\022\021\n\tdef_in" + "dex\030\006 \001(\r\"p\n\031CSOEconItemLeagueViewPass\022\030" + "\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\027\n\tleague_id\030\002 " + "\001(\rB\004\200\246\035\001\022\r\n\005admin\030\003 \001(\r\022\021\n\titemindex\030\004 " + "\001(\r\"O\n\026CSOEconItemEventTicket\022\022\n\naccount" + "_id\030\001 \001(\r\022\020\n\010event_id\030\002 \001(\r\022\017\n\007item_id\030\003" + " \001(\004\"A\n\'CMsgGCItemPreviewItemBoughtNotif" + "ication\022\026\n\016item_def_index\030\001 \001(\r\"+\n\031CMsgG" + "CStorePurchaseCancel\022\016\n\006txn_id\030\001 \001(\004\"3\n!" + "CMsgGCStorePurchaseCancelResponse\022\016\n\006res" + "ult\030\001 \001(\r\"-\n\033CMsgGCStorePurchaseFinalize" + "\022\016\n\006txn_id\030\001 \001(\004\"G\n#CMsgGCStorePurchaseF" + "inalizeResponse\022\016\n\006result\030\001 \001(\r\022\020\n\010item_" + "ids\030\002 \003(\004\"I\n\033CMsgGCBannedWordListRequest" + "\022\031\n\021ban_list_group_id\030\001 \001(\r\022\017\n\007word_id\030\002" + " \001(\r\"\034\n\032CMsgGCRequestAnnouncements\"\202\001\n\"C" + "MsgGCRequestAnnouncementsResponse\022\032\n\022ann" + "ouncement_title\030\001 \001(\t\022\024\n\014announcement\030\002 " + "\001(\t\022\027\n\017nextmatch_title\030\003 \001(\t\022\021\n\tnextmatc" + "h\030\004 \001(\t\"u\n\020CMsgGCBannedWord\022\017\n\007word_id\030\001" + " \001(\r\022B\n\tword_type\030\002 \001(\0162\022.GC_BannedWordT" + "ype:\033GC_BANNED_WORD_DISABLE_WORD\022\014\n\004word" + "\030\003 \001(\t\"_\n\034CMsgGCBannedWordListResponse\022\031" + "\n\021ban_list_group_id\030\001 \001(\r\022$\n\tword_list\030\002" + " \003(\0132\021.CMsgGCBannedWord\"U\n!CMsgGCToGCBan" + "nedWordListBroadcast\0220\n\tbroadcast\030\001 \001(\0132" + "\035.CMsgGCBannedWordListResponse\"3\n\037CMsgGC" + "ToGCBannedWordListUpdated\022\020\n\010group_id\030\001 " + "\001(\r\"\?\n\027CMsgGCToGCDirtySDOCache\022\020\n\010sdo_ty" + "pe\030\001 \001(\r\022\022\n\nkey_uint64\030\002 \001(\004\"G\n\037CMsgGCTo" + "GCDirtyMultipleSDOCache\022\020\n\010sdo_type\030\001 \001(" + "\r\022\022\n\nkey_uint64\030\002 \003(\004\"H\n\021CMsgGCCollectIt" + "em\022\032\n\022collection_item_id\030\001 \001(\004\022\027\n\017subjec" + "t_item_id\030\002 \001(\004\"\024\n\022CMsgSDONoMemcached\"/\n" + "\033CMsgGCToGCUpdateSQLKeyValue\022\020\n\010key_name" + "\030\001 \001(\t\"-\n\031CMsgGCToGCIsTrustedServer\022\020\n\010s" + "team_id\030\001 \001(\006\"7\n!CMsgGCToGCIsTrustedServ" + "erResponse\022\022\n\nis_trusted\030\001 \001(\010\"8\n!CMsgGC" + "ToGCBroadcastConsoleCommand\022\023\n\013con_comma" + "nd\030\001 \001(\t\"4\n\032CMsgGCServerVersionUpdated\022\026" + "\n\016server_version\030\001 \001(\r\"4\n\032CMsgGCClientVe" + "rsionUpdated\022\026\n\016client_version\030\001 \001(\r\" \n\036" + "CMsgGCToGCWebAPIAccountChanged\"^\n\"CMsgGC" + "ToGCRequestPassportItemGrant\022\020\n\010steam_id" + "\030\001 \001(\006\022\021\n\tleague_id\030\002 \001(\r\022\023\n\013reward_flag" + "\030\003 \001(\005\"\350\004\n\022CMsgGameServerInfo\022\035\n\025server_" + "public_ip_addr\030\001 \001(\007\022\036\n\026server_private_i" + "p_addr\030\002 \001(\007\022\023\n\013server_port\030\003 \001(\r\022\026\n\016ser" + "ver_tv_port\030\004 \001(\r\022\022\n\nserver_key\030\005 \001(\t\022\032\n" + "\022server_hibernation\030\006 \001(\010\022@\n\013server_type" + "\030\007 \001(\0162\036.CMsgGameServerInfo.ServerType:\013" + "UNSPECIFIED\022\025\n\rserver_region\030\010 \001(\r\022\026\n\016se" + "rver_loadavg\030\t \001(\002\022 \n\030server_tv_broadcas" + "t_time\030\n \001(\002\022\030\n\020server_game_time\030\013 \001(\002\022\'" + "\n\037server_relay_connected_steam_id\030\014 \001(\006\022" + "\027\n\017relay_slots_max\030\r \001(\r\022\030\n\020relays_conne" + "cted\030\016 \001(\005\022\037\n\027relay_clients_connected\030\017 " + "\001(\005\022$\n\034relayed_game_server_steam_id\030\020 \001(" + "\006\022\032\n\022parent_relay_count\030\021 \001(\r\022\026\n\016tv_secr" + "et_code\030\022 \001(\006\"2\n\nServerType\022\017\n\013UNSPECIFI" + "ED\020\000\022\010\n\004GAME\020\001\022\t\n\005PROXY\020\002\"\205\001\n\020CSOEconEqu" + "ipSlot\022\030\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\026\n\010clas" + "s_id\030\002 \001(\rB\004\200\246\035\001\022\025\n\007slot_id\030\003 \001(\rB\004\200\246\035\001\022" + "\017\n\007item_id\030\004 \001(\004\022\027\n\017item_definition\030\005 \001(" + "\r\"I\n\023CMsgAdjustEquipSlot\022\020\n\010class_id\030\001 \001" + "(\r\022\017\n\007slot_id\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"O\n\024" + "CMsgAdjustEquipSlots\022#\n\005slots\030\001 \003(\0132\024.CM" + "sgAdjustEquipSlot\022\022\n\nchange_num\030\002 \001(\r\"l\n" + "\rCMsgOpenCrate\022\024\n\014tool_item_id\030\001 \001(\004\022\027\n\017" + "subject_item_id\030\002 \001(\004\022\022\n\nfor_rental\030\003 \001(" + "\010\022\030\n\020points_remaining\030\004 \001(\r\"\223\001\n\024CSOEconR" + "entalHistory\022\030\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\033" + "\n\rcrate_item_id\030\002 \001(\004B\004\200\246\035\001\022\027\n\017crate_def" + "_index\030\003 \001(\r\022\022\n\nissue_date\030\004 \001(\r\022\027\n\017expi" + "ration_date\030\005 \001(\r\"8\n\037CMsgAcknowledgeRent" + "alExpiration\022\025\n\rcrate_item_id\030\001 \001(\004*\307\003\n\n" + "EGCBaseMsg\022\032\n\025k_EMsgGCSystemMessage\020\241\037\022\035" + "\n\030k_EMsgGCReplicateConVars\020\242\037\022\032\n\025k_EMsgG" + "CConVarUpdated\020\243\037\022\024\n\017k_EMsgGCInQueue\020\250\037\022" + "\032\n\025k_EMsgGCInviteToParty\020\225#\022\036\n\031k_EMsgGCI" + "nvitationCreated\020\226#\022 \n\033k_EMsgGCPartyInvi" + "teResponse\020\227#\022\032\n\025k_EMsgGCKickFromParty\020\230" + "#\022\027\n\022k_EMsgGCLeaveParty\020\231#\022\034\n\027k_EMsgGCSe" + "rverAvailable\020\232#\022\"\n\035k_EMsgGCClientConnec" + "tToServer\020\233#\022\033\n\026k_EMsgGCGameServerInfo\020\234" + "#\022\022\n\rk_EMsgGCError\020\235#\022%\n k_EMsgGCReplay_" + "UploadedToYouTube\020\236#\022\037\n\032k_EMsgGCLANServe" + "rAvailable\020\237#*Y\n\027EGCBaseProtoObjectTypes" + "\022\036\n\031k_EProtoObjectPartyInvite\020\351\007\022\036\n\031k_EP" + "rotoObjectLobbyInvite\020\352\007*T\n\021GC_BannedWor" + "dType\022\037\n\033GC_BANNED_WORD_DISABLE_WORD\020\000\022\036" + "\n\032GC_BANNED_WORD_ENABLE_WORD\020\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_base_5fgcmessages_2eproto_deps[1] = { + &::descriptor_table_steammessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_base_5fgcmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_base_5fgcmessages_2eproto = { + false, false, 9350, descriptor_table_protodef_base_5fgcmessages_2eproto, + "base_gcmessages.proto", + &descriptor_table_base_5fgcmessages_2eproto_once, descriptor_table_base_5fgcmessages_2eproto_deps, 1, 83, + schemas, file_default_instances, TableStruct_base_5fgcmessages_2eproto::offsets, + file_level_metadata_base_5fgcmessages_2eproto, file_level_enum_descriptors_base_5fgcmessages_2eproto, + file_level_service_descriptors_base_5fgcmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_base_5fgcmessages_2eproto_getter() { + return &descriptor_table_base_5fgcmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_base_5fgcmessages_2eproto(&descriptor_table_base_5fgcmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); + return file_level_enum_descriptors_base_5fgcmessages_2eproto[0]; +} +bool CMsgGameServerInfo_ServerType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::UNSPECIFIED; +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::GAME; +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::PROXY; +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MIN; +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MAX; +constexpr int CMsgGameServerInfo::ServerType_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); + return file_level_enum_descriptors_base_5fgcmessages_2eproto[1]; +} +bool EGCBaseMsg_IsValid(int value) { + switch (value) { + case 4001: + case 4002: + case 4003: + case 4008: + case 4501: + case 4502: + case 4503: + case 4504: + case 4505: + case 4506: + case 4507: + case 4508: + case 4509: + case 4510: + case 4511: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); + return file_level_enum_descriptors_base_5fgcmessages_2eproto[2]; +} +bool EGCBaseProtoObjectTypes_IsValid(int value) { + switch (value) { + case 1001: + case 1002: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GC_BannedWordType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); + return file_level_enum_descriptors_base_5fgcmessages_2eproto[3]; +} +bool GC_BannedWordType_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CGCStorePurchaseInit_LineItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_def_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_quantity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cost_in_local_currency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_purchase_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_supplemental_data(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem(::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:CGCStorePurchaseInit_LineItem) +} +CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem(const CGCStorePurchaseInit_LineItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGCStorePurchaseInit_LineItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_id_){} + , decltype(_impl_.quantity_){} + , decltype(_impl_.cost_in_local_currency_){} + , decltype(_impl_.purchase_type_){} + , decltype(_impl_.supplemental_data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.item_def_id_, &from._impl_.item_def_id_, + static_cast(reinterpret_cast(&_impl_.supplemental_data_) - + reinterpret_cast(&_impl_.item_def_id_)) + sizeof(_impl_.supplemental_data_)); + // @@protoc_insertion_point(copy_constructor:CGCStorePurchaseInit_LineItem) +} + +inline void CGCStorePurchaseInit_LineItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_id_){0u} + , decltype(_impl_.quantity_){0u} + , decltype(_impl_.cost_in_local_currency_){0u} + , decltype(_impl_.purchase_type_){0u} + , decltype(_impl_.supplemental_data_){uint64_t{0u}} + }; +} + +CGCStorePurchaseInit_LineItem::~CGCStorePurchaseInit_LineItem() { + // @@protoc_insertion_point(destructor:CGCStorePurchaseInit_LineItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGCStorePurchaseInit_LineItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CGCStorePurchaseInit_LineItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGCStorePurchaseInit_LineItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CGCStorePurchaseInit_LineItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.item_def_id_, 0, static_cast( + reinterpret_cast(&_impl_.supplemental_data_) - + reinterpret_cast(&_impl_.item_def_id_)) + sizeof(_impl_.supplemental_data_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGCStorePurchaseInit_LineItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 item_def_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_def_id(&has_bits); + _impl_.item_def_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quantity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_quantity(&has_bits); + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cost_in_local_currency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_cost_in_local_currency(&has_bits); + _impl_.cost_in_local_currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 purchase_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_purchase_type(&has_bits); + _impl_.purchase_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 supplemental_data = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_supplemental_data(&has_bits); + _impl_.supplemental_data_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGCStorePurchaseInit_LineItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGCStorePurchaseInit_LineItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 item_def_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_def_id(), target); + } + + // optional uint32 quantity = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_quantity(), target); + } + + // optional uint32 cost_in_local_currency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cost_in_local_currency(), target); + } + + // optional uint32 purchase_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_purchase_type(), target); + } + + // optional uint64 supplemental_data = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_supplemental_data(), 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:CGCStorePurchaseInit_LineItem) + return target; +} + +size_t CGCStorePurchaseInit_LineItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGCStorePurchaseInit_LineItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint32 item_def_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_id()); + } + + // optional uint32 quantity = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quantity()); + } + + // optional uint32 cost_in_local_currency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cost_in_local_currency()); + } + + // optional uint32 purchase_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_purchase_type()); + } + + // optional uint64 supplemental_data = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_supplemental_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCStorePurchaseInit_LineItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGCStorePurchaseInit_LineItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCStorePurchaseInit_LineItem::GetClassData() const { return &_class_data_; } + + +void CGCStorePurchaseInit_LineItem::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:CGCStorePurchaseInit_LineItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.item_def_id_ = from._impl_.item_def_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.quantity_ = from._impl_.quantity_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.cost_in_local_currency_ = from._impl_.cost_in_local_currency_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.purchase_type_ = from._impl_.purchase_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.supplemental_data_ = from._impl_.supplemental_data_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGCStorePurchaseInit_LineItem::CopyFrom(const CGCStorePurchaseInit_LineItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGCStorePurchaseInit_LineItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGCStorePurchaseInit_LineItem::IsInitialized() const { + return true; +} + +void CGCStorePurchaseInit_LineItem::InternalSwap(CGCStorePurchaseInit_LineItem* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _impl_.supplemental_data_) + + sizeof(CGCStorePurchaseInit_LineItem::_impl_.supplemental_data_) + - PROTOBUF_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _impl_.item_def_id_)>( + reinterpret_cast(&_impl_.item_def_id_), + reinterpret_cast(&other->_impl_.item_def_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGCStorePurchaseInit_LineItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[0]); +} + +// =================================================================== + +class CMsgGCStorePurchaseInit::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_country(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_language(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_currency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit(::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:CMsgGCStorePurchaseInit) +} +CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit(const CMsgGCStorePurchaseInit& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseInit* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.line_items_){from._impl_.line_items_} + , decltype(_impl_.country_){} + , decltype(_impl_.language_){} + , decltype(_impl_.currency_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_country()) { + _this->_impl_.country_.Set(from._internal_country(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.language_, &from._impl_.language_, + static_cast(reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.language_)) + sizeof(_impl_.currency_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseInit) +} + +inline void CMsgGCStorePurchaseInit::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.line_items_){arena} + , decltype(_impl_.country_){} + , decltype(_impl_.language_){0} + , decltype(_impl_.currency_){0} + }; + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCStorePurchaseInit::~CMsgGCStorePurchaseInit() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseInit) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseInit::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.line_items_.~RepeatedPtrField(); + _impl_.country_.Destroy(); +} + +void CMsgGCStorePurchaseInit::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseInit::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseInit) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.line_items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.country_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.language_, 0, static_cast( + reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.language_)) + sizeof(_impl_.currency_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseInit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string country = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_country(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCStorePurchaseInit.country"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 language = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_language(&has_bits); + _impl_.language_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 currency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_currency(&has_bits); + _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CGCStorePurchaseInit_LineItem line_items = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_line_items(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseInit::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseInit) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string country = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_country().data(), static_cast(this->_internal_country().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCStorePurchaseInit.country"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_country(), target); + } + + // optional int32 language = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_language(), target); + } + + // optional int32 currency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_currency(), target); + } + + // repeated .CGCStorePurchaseInit_LineItem line_items = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_line_items_size()); i < n; i++) { + const auto& repfield = this->_internal_line_items(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:CMsgGCStorePurchaseInit) + return target; +} + +size_t CMsgGCStorePurchaseInit::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseInit) + 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 .CGCStorePurchaseInit_LineItem line_items = 4; + total_size += 1UL * this->_internal_line_items_size(); + for (const auto& msg : this->_impl_.line_items_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string country = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_country()); + } + + // optional int32 language = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_language()); + } + + // optional int32 currency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseInit::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseInit::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseInit::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseInit::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:CMsgGCStorePurchaseInit) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.line_items_.MergeFrom(from._impl_.line_items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_country(from._internal_country()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.language_ = from._impl_.language_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.currency_ = from._impl_.currency_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseInit::CopyFrom(const CMsgGCStorePurchaseInit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseInit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseInit::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseInit::InternalSwap(CMsgGCStorePurchaseInit* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.line_items_.InternalSwap(&other->_impl_.line_items_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.country_, lhs_arena, + &other->_impl_.country_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInit, _impl_.currency_) + + sizeof(CMsgGCStorePurchaseInit::_impl_.currency_) + - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInit, _impl_.language_)>( + reinterpret_cast(&_impl_.language_), + reinterpret_cast(&other->_impl_.language_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseInit::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[1]); +} + +// =================================================================== + +class CMsgGCStorePurchaseInitResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_txn_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse(::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:CMsgGCStorePurchaseInitResponse) +} +CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse(const CMsgGCStorePurchaseInitResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseInitResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_ids_){from._impl_.item_ids_} + , decltype(_impl_.url_){} + , decltype(_impl_.txn_id_){} + , decltype(_impl_.result_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.txn_id_, &from._impl_.txn_id_, + static_cast(reinterpret_cast(&_impl_.result_) - + reinterpret_cast(&_impl_.txn_id_)) + sizeof(_impl_.result_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseInitResponse) +} + +inline void CMsgGCStorePurchaseInitResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_ids_){arena} + , decltype(_impl_.url_){} + , decltype(_impl_.txn_id_){uint64_t{0u}} + , decltype(_impl_.result_){0} + }; + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCStorePurchaseInitResponse::~CMsgGCStorePurchaseInitResponse() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseInitResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseInitResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_ids_.~RepeatedField(); + _impl_.url_.Destroy(); +} + +void CMsgGCStorePurchaseInitResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseInitResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseInitResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_ids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.txn_id_, 0, static_cast( + reinterpret_cast(&_impl_.result_) - + reinterpret_cast(&_impl_.txn_id_)) + sizeof(_impl_.result_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseInitResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 result = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_result(&has_bits); + _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_txn_id(&has_bits); + _impl_.txn_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string url = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCStorePurchaseInitResponse.url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated uint64 item_ids = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_item_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_ids(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseInitResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseInitResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 result = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_result(), target); + } + + // optional uint64 txn_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_txn_id(), target); + } + + // optional string url = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCStorePurchaseInitResponse.url"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_url(), target); + } + + // repeated uint64 item_ids = 4; + for (int i = 0, n = this->_internal_item_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_item_ids(i), 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:CMsgGCStorePurchaseInitResponse) + return target; +} + +size_t CMsgGCStorePurchaseInitResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseInitResponse) + 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 uint64 item_ids = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.item_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_item_ids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string url = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional uint64 txn_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); + } + + // optional int32 result = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseInitResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseInitResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseInitResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseInitResponse::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:CMsgGCStorePurchaseInitResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.item_ids_.MergeFrom(from._impl_.item_ids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.txn_id_ = from._impl_.txn_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseInitResponse::CopyFrom(const CMsgGCStorePurchaseInitResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseInitResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseInitResponse::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseInitResponse::InternalSwap(CMsgGCStorePurchaseInitResponse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.item_ids_.InternalSwap(&other->_impl_.item_ids_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _impl_.result_) + + sizeof(CMsgGCStorePurchaseInitResponse::_impl_.result_) + - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _impl_.txn_id_)>( + reinterpret_cast(&_impl_.txn_id_), + reinterpret_cast(&other->_impl_.txn_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseInitResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[2]); +} + +// =================================================================== + +class CSOPartyInvite::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_sender_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_sender_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOPartyInvite::CSOPartyInvite(::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:CSOPartyInvite) +} +CSOPartyInvite::CSOPartyInvite(const CSOPartyInvite& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOPartyInvite* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sender_name_){} + , decltype(_impl_.group_id_){} + , decltype(_impl_.sender_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sender_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sender_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sender_name()) { + _this->_impl_.sender_name_.Set(from._internal_sender_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, + static_cast(reinterpret_cast(&_impl_.sender_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); + // @@protoc_insertion_point(copy_constructor:CSOPartyInvite) +} + +inline void CSOPartyInvite::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sender_name_){} + , decltype(_impl_.group_id_){uint64_t{0u}} + , decltype(_impl_.sender_id_){uint64_t{0u}} + }; + _impl_.sender_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sender_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOPartyInvite::~CSOPartyInvite() { + // @@protoc_insertion_point(destructor:CSOPartyInvite) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOPartyInvite::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sender_name_.Destroy(); +} + +void CSOPartyInvite::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOPartyInvite::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOPartyInvite) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.sender_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.group_id_, 0, static_cast( + reinterpret_cast(&_impl_.sender_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOPartyInvite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 group_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_group_id(&has_bits); + _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 sender_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_sender_id(&has_bits); + _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string sender_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_sender_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOPartyInvite.sender_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOPartyInvite::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOPartyInvite) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 group_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); + } + + // optional string sender_name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sender_name().data(), static_cast(this->_internal_sender_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOPartyInvite.sender_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_sender_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:CSOPartyInvite) + return target; +} + +size_t CSOPartyInvite::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOPartyInvite) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string sender_name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sender_name()); + } + + // optional uint64 group_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOPartyInvite::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOPartyInvite::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOPartyInvite::GetClassData() const { return &_class_data_; } + + +void CSOPartyInvite::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:CSOPartyInvite) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sender_name(from._internal_sender_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.group_id_ = from._impl_.group_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sender_id_ = from._impl_.sender_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOPartyInvite::CopyFrom(const CSOPartyInvite& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOPartyInvite) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOPartyInvite::IsInitialized() const { + return true; +} + +void CSOPartyInvite::InternalSwap(CSOPartyInvite* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sender_name_, lhs_arena, + &other->_impl_.sender_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOPartyInvite, _impl_.sender_id_) + + sizeof(CSOPartyInvite::_impl_.sender_id_) + - PROTOBUF_FIELD_OFFSET(CSOPartyInvite, _impl_.group_id_)>( + reinterpret_cast(&_impl_.group_id_), + reinterpret_cast(&other->_impl_.group_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOPartyInvite::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[3]); +} + +// =================================================================== + +class CSOLobbyInvite::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_sender_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_sender_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOLobbyInvite::CSOLobbyInvite(::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:CSOLobbyInvite) +} +CSOLobbyInvite::CSOLobbyInvite(const CSOLobbyInvite& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOLobbyInvite* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sender_name_){} + , decltype(_impl_.group_id_){} + , decltype(_impl_.sender_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sender_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sender_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sender_name()) { + _this->_impl_.sender_name_.Set(from._internal_sender_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, + static_cast(reinterpret_cast(&_impl_.sender_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); + // @@protoc_insertion_point(copy_constructor:CSOLobbyInvite) +} + +inline void CSOLobbyInvite::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sender_name_){} + , decltype(_impl_.group_id_){uint64_t{0u}} + , decltype(_impl_.sender_id_){uint64_t{0u}} + }; + _impl_.sender_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sender_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOLobbyInvite::~CSOLobbyInvite() { + // @@protoc_insertion_point(destructor:CSOLobbyInvite) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOLobbyInvite::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sender_name_.Destroy(); +} + +void CSOLobbyInvite::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOLobbyInvite::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOLobbyInvite) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.sender_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.group_id_, 0, static_cast( + reinterpret_cast(&_impl_.sender_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOLobbyInvite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 group_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_group_id(&has_bits); + _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 sender_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_sender_id(&has_bits); + _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string sender_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_sender_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOLobbyInvite.sender_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOLobbyInvite::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOLobbyInvite) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 group_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); + } + + // optional string sender_name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sender_name().data(), static_cast(this->_internal_sender_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOLobbyInvite.sender_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_sender_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:CSOLobbyInvite) + return target; +} + +size_t CSOLobbyInvite::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOLobbyInvite) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string sender_name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sender_name()); + } + + // optional uint64 group_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOLobbyInvite::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOLobbyInvite::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOLobbyInvite::GetClassData() const { return &_class_data_; } + + +void CSOLobbyInvite::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:CSOLobbyInvite) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sender_name(from._internal_sender_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.group_id_ = from._impl_.group_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sender_id_ = from._impl_.sender_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOLobbyInvite::CopyFrom(const CSOLobbyInvite& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOLobbyInvite) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOLobbyInvite::IsInitialized() const { + return true; +} + +void CSOLobbyInvite::InternalSwap(CSOLobbyInvite* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sender_name_, lhs_arena, + &other->_impl_.sender_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOLobbyInvite, _impl_.sender_id_) + + sizeof(CSOLobbyInvite::_impl_.sender_id_) + - PROTOBUF_FIELD_OFFSET(CSOLobbyInvite, _impl_.group_id_)>( + reinterpret_cast(&_impl_.group_id_), + reinterpret_cast(&other->_impl_.group_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOLobbyInvite::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[4]); +} + +// =================================================================== + +class CMsgSystemBroadcast::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSystemBroadcast::CMsgSystemBroadcast(::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:CMsgSystemBroadcast) +} +CMsgSystemBroadcast::CMsgSystemBroadcast(const CMsgSystemBroadcast& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSystemBroadcast* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgSystemBroadcast) +} + +inline void CMsgSystemBroadcast::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSystemBroadcast::~CMsgSystemBroadcast() { + // @@protoc_insertion_point(destructor:CMsgSystemBroadcast) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSystemBroadcast::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void CMsgSystemBroadcast::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSystemBroadcast::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSystemBroadcast) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSystemBroadcast::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string message = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSystemBroadcast.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSystemBroadcast::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSystemBroadcast) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string message = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSystemBroadcast.message"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_message(), 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:CMsgSystemBroadcast) + return target; +} + +size_t CMsgSystemBroadcast::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSystemBroadcast) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string message = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSystemBroadcast::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSystemBroadcast::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSystemBroadcast::GetClassData() const { return &_class_data_; } + + +void CMsgSystemBroadcast::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:CMsgSystemBroadcast) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_message()) { + _this->_internal_set_message(from._internal_message()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSystemBroadcast::CopyFrom(const CMsgSystemBroadcast& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSystemBroadcast) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSystemBroadcast::IsInitialized() const { + return true; +} + +void CMsgSystemBroadcast::InternalSwap(CMsgSystemBroadcast* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSystemBroadcast::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[5]); +} + +// =================================================================== + +class CMsgInviteToParty::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_team_invite(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgInviteToParty::CMsgInviteToParty(::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:CMsgInviteToParty) +} +CMsgInviteToParty::CMsgInviteToParty(const CMsgInviteToParty& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgInviteToParty* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){} + , decltype(_impl_.client_version_){} + , decltype(_impl_.team_invite_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, + static_cast(reinterpret_cast(&_impl_.team_invite_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.team_invite_)); + // @@protoc_insertion_point(copy_constructor:CMsgInviteToParty) +} + +inline void CMsgInviteToParty::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){uint64_t{0u}} + , decltype(_impl_.client_version_){0u} + , decltype(_impl_.team_invite_){0u} + }; +} + +CMsgInviteToParty::~CMsgInviteToParty() { + // @@protoc_insertion_point(destructor:CMsgInviteToParty) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgInviteToParty::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgInviteToParty::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgInviteToParty::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgInviteToParty) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.team_invite_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.team_invite_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgInviteToParty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 client_version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client_version(&has_bits); + _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 team_invite = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_team_invite(&has_bits); + _impl_.team_invite_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgInviteToParty::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgInviteToParty) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); + } + + // optional uint32 client_version = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_version(), target); + } + + // optional uint32 team_invite = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_team_invite(), 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:CMsgInviteToParty) + return target; +} + +size_t CMsgInviteToParty::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgInviteToParty) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 client_version = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); + } + + // optional uint32 team_invite = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team_invite()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgInviteToParty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgInviteToParty::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgInviteToParty::GetClassData() const { return &_class_data_; } + + +void CMsgInviteToParty::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:CMsgInviteToParty) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steam_id_ = from._impl_.steam_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.client_version_ = from._impl_.client_version_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.team_invite_ = from._impl_.team_invite_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgInviteToParty::CopyFrom(const CMsgInviteToParty& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgInviteToParty) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgInviteToParty::IsInitialized() const { + return true; +} + +void CMsgInviteToParty::InternalSwap(CMsgInviteToParty* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgInviteToParty, _impl_.team_invite_) + + sizeof(CMsgInviteToParty::_impl_.team_invite_) + - PROTOBUF_FIELD_OFFSET(CMsgInviteToParty, _impl_.steam_id_)>( + reinterpret_cast(&_impl_.steam_id_), + reinterpret_cast(&other->_impl_.steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgInviteToParty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[6]); +} + +// =================================================================== + +class CMsgInvitationCreated::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgInvitationCreated::CMsgInvitationCreated(::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:CMsgInvitationCreated) +} +CMsgInvitationCreated::CMsgInvitationCreated(const CMsgInvitationCreated& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgInvitationCreated* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_id_){} + , decltype(_impl_.steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, + static_cast(reinterpret_cast(&_impl_.steam_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.steam_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgInvitationCreated) +} + +inline void CMsgInvitationCreated::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_id_){uint64_t{0u}} + , decltype(_impl_.steam_id_){uint64_t{0u}} + }; +} + +CMsgInvitationCreated::~CMsgInvitationCreated() { + // @@protoc_insertion_point(destructor:CMsgInvitationCreated) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgInvitationCreated::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgInvitationCreated::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgInvitationCreated::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgInvitationCreated) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.group_id_, 0, static_cast( + reinterpret_cast(&_impl_.steam_id_) - + reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.steam_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgInvitationCreated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 group_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_group_id(&has_bits); + _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steam_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgInvitationCreated::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgInvitationCreated) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 group_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); + } + + // optional fixed64 steam_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steam_id(), 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:CMsgInvitationCreated) + return target; +} + +size_t CMsgInvitationCreated::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgInvitationCreated) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 group_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); + } + + // optional fixed64 steam_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgInvitationCreated::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgInvitationCreated::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgInvitationCreated::GetClassData() const { return &_class_data_; } + + +void CMsgInvitationCreated::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:CMsgInvitationCreated) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.group_id_ = from._impl_.group_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steam_id_ = from._impl_.steam_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgInvitationCreated::CopyFrom(const CMsgInvitationCreated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgInvitationCreated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgInvitationCreated::IsInitialized() const { + return true; +} + +void CMsgInvitationCreated::InternalSwap(CMsgInvitationCreated* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgInvitationCreated, _impl_.steam_id_) + + sizeof(CMsgInvitationCreated::_impl_.steam_id_) + - PROTOBUF_FIELD_OFFSET(CMsgInvitationCreated, _impl_.group_id_)>( + reinterpret_cast(&_impl_.group_id_), + reinterpret_cast(&other->_impl_.group_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgInvitationCreated::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[7]); +} + +// =================================================================== + +class CMsgPartyInviteResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_party_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_accept(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_client_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_team_invite(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgPartyInviteResponse::CMsgPartyInviteResponse(::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:CMsgPartyInviteResponse) +} +CMsgPartyInviteResponse::CMsgPartyInviteResponse(const CMsgPartyInviteResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgPartyInviteResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.party_id_){} + , decltype(_impl_.accept_){} + , decltype(_impl_.client_version_){} + , decltype(_impl_.team_invite_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.party_id_, &from._impl_.party_id_, + static_cast(reinterpret_cast(&_impl_.team_invite_) - + reinterpret_cast(&_impl_.party_id_)) + sizeof(_impl_.team_invite_)); + // @@protoc_insertion_point(copy_constructor:CMsgPartyInviteResponse) +} + +inline void CMsgPartyInviteResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.party_id_){uint64_t{0u}} + , decltype(_impl_.accept_){false} + , decltype(_impl_.client_version_){0u} + , decltype(_impl_.team_invite_){0u} + }; +} + +CMsgPartyInviteResponse::~CMsgPartyInviteResponse() { + // @@protoc_insertion_point(destructor:CMsgPartyInviteResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgPartyInviteResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgPartyInviteResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgPartyInviteResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgPartyInviteResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.party_id_, 0, static_cast( + reinterpret_cast(&_impl_.team_invite_) - + reinterpret_cast(&_impl_.party_id_)) + sizeof(_impl_.team_invite_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgPartyInviteResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 party_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_party_id(&has_bits); + _impl_.party_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool accept = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_accept(&has_bits); + _impl_.accept_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_client_version(&has_bits); + _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 team_invite = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_team_invite(&has_bits); + _impl_.team_invite_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgPartyInviteResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgPartyInviteResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 party_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_party_id(), target); + } + + // optional bool accept = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_accept(), target); + } + + // optional uint32 client_version = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_version(), target); + } + + // optional uint32 team_invite = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_team_invite(), 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:CMsgPartyInviteResponse) + return target; +} + +size_t CMsgPartyInviteResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgPartyInviteResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 party_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_party_id()); + } + + // optional bool accept = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional uint32 client_version = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); + } + + // optional uint32 team_invite = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team_invite()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPartyInviteResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgPartyInviteResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPartyInviteResponse::GetClassData() const { return &_class_data_; } + + +void CMsgPartyInviteResponse::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:CMsgPartyInviteResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.party_id_ = from._impl_.party_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accept_ = from._impl_.accept_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_version_ = from._impl_.client_version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.team_invite_ = from._impl_.team_invite_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgPartyInviteResponse::CopyFrom(const CMsgPartyInviteResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPartyInviteResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgPartyInviteResponse::IsInitialized() const { + return true; +} + +void CMsgPartyInviteResponse::InternalSwap(CMsgPartyInviteResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgPartyInviteResponse, _impl_.team_invite_) + + sizeof(CMsgPartyInviteResponse::_impl_.team_invite_) + - PROTOBUF_FIELD_OFFSET(CMsgPartyInviteResponse, _impl_.party_id_)>( + reinterpret_cast(&_impl_.party_id_), + reinterpret_cast(&other->_impl_.party_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgPartyInviteResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[8]); +} + +// =================================================================== + +class CMsgKickFromParty::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgKickFromParty::CMsgKickFromParty(::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:CMsgKickFromParty) +} +CMsgKickFromParty::CMsgKickFromParty(const CMsgKickFromParty& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgKickFromParty* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steam_id_ = from._impl_.steam_id_; + // @@protoc_insertion_point(copy_constructor:CMsgKickFromParty) +} + +inline void CMsgKickFromParty::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){uint64_t{0u}} + }; +} + +CMsgKickFromParty::~CMsgKickFromParty() { + // @@protoc_insertion_point(destructor:CMsgKickFromParty) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgKickFromParty::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgKickFromParty::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgKickFromParty::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgKickFromParty) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgKickFromParty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgKickFromParty::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgKickFromParty) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), 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:CMsgKickFromParty) + return target; +} + +size_t CMsgKickFromParty::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgKickFromParty) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 steam_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgKickFromParty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgKickFromParty::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgKickFromParty::GetClassData() const { return &_class_data_; } + + +void CMsgKickFromParty::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:CMsgKickFromParty) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steam_id()) { + _this->_internal_set_steam_id(from._internal_steam_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgKickFromParty::CopyFrom(const CMsgKickFromParty& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgKickFromParty) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgKickFromParty::IsInitialized() const { + return true; +} + +void CMsgKickFromParty::InternalSwap(CMsgKickFromParty* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steam_id_, other->_impl_.steam_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgKickFromParty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[9]); +} + +// =================================================================== + +class CMsgLeaveParty::_Internal { + public: +}; + +CMsgLeaveParty::CMsgLeaveParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgLeaveParty) +} +CMsgLeaveParty::CMsgLeaveParty(const CMsgLeaveParty& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgLeaveParty* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgLeaveParty) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLeaveParty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLeaveParty::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgLeaveParty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[10]); +} + +// =================================================================== + +class CMsgServerAvailable::_Internal { + public: +}; + +CMsgServerAvailable::CMsgServerAvailable(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgServerAvailable) +} +CMsgServerAvailable::CMsgServerAvailable(const CMsgServerAvailable& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgServerAvailable* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgServerAvailable) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerAvailable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerAvailable::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerAvailable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[11]); +} + +// =================================================================== + +class CMsgLANServerAvailable::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_lobby_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgLANServerAvailable::CMsgLANServerAvailable(::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:CMsgLANServerAvailable) +} +CMsgLANServerAvailable::CMsgLANServerAvailable(const CMsgLANServerAvailable& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgLANServerAvailable* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.lobby_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.lobby_id_ = from._impl_.lobby_id_; + // @@protoc_insertion_point(copy_constructor:CMsgLANServerAvailable) +} + +inline void CMsgLANServerAvailable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.lobby_id_){uint64_t{0u}} + }; +} + +CMsgLANServerAvailable::~CMsgLANServerAvailable() { + // @@protoc_insertion_point(destructor:CMsgLANServerAvailable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgLANServerAvailable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgLANServerAvailable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgLANServerAvailable::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgLANServerAvailable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.lobby_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgLANServerAvailable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 lobby_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_lobby_id(&has_bits); + _impl_.lobby_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgLANServerAvailable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgLANServerAvailable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 lobby_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_lobby_id(), 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:CMsgLANServerAvailable) + return target; +} + +size_t CMsgLANServerAvailable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgLANServerAvailable) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 lobby_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLANServerAvailable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgLANServerAvailable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLANServerAvailable::GetClassData() const { return &_class_data_; } + + +void CMsgLANServerAvailable::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:CMsgLANServerAvailable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lobby_id()) { + _this->_internal_set_lobby_id(from._internal_lobby_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgLANServerAvailable::CopyFrom(const CMsgLANServerAvailable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLANServerAvailable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgLANServerAvailable::IsInitialized() const { + return true; +} + +void CMsgLANServerAvailable::InternalSwap(CMsgLANServerAvailable* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.lobby_id_, other->_impl_.lobby_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgLANServerAvailable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[12]); +} + +// =================================================================== + +class CSOEconGameAccountClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_additional_backpack_slots(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_trade_ban_expiration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bonus_xp_timestamp_refresh(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_bonus_xp_usedflags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_elevated_state(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_elevated_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CSOEconGameAccountClient::CSOEconGameAccountClient(::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:CSOEconGameAccountClient) +} +CSOEconGameAccountClient::CSOEconGameAccountClient(const CSOEconGameAccountClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconGameAccountClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.additional_backpack_slots_){} + , decltype(_impl_.trade_ban_expiration_){} + , decltype(_impl_.bonus_xp_timestamp_refresh_){} + , decltype(_impl_.bonus_xp_usedflags_){} + , decltype(_impl_.elevated_state_){} + , decltype(_impl_.elevated_timestamp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.additional_backpack_slots_, &from._impl_.additional_backpack_slots_, + static_cast(reinterpret_cast(&_impl_.elevated_timestamp_) - + reinterpret_cast(&_impl_.additional_backpack_slots_)) + sizeof(_impl_.elevated_timestamp_)); + // @@protoc_insertion_point(copy_constructor:CSOEconGameAccountClient) +} + +inline void CSOEconGameAccountClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.additional_backpack_slots_){0u} + , decltype(_impl_.trade_ban_expiration_){0u} + , decltype(_impl_.bonus_xp_timestamp_refresh_){0u} + , decltype(_impl_.bonus_xp_usedflags_){0u} + , decltype(_impl_.elevated_state_){0u} + , decltype(_impl_.elevated_timestamp_){0u} + }; +} + +CSOEconGameAccountClient::~CSOEconGameAccountClient() { + // @@protoc_insertion_point(destructor:CSOEconGameAccountClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconGameAccountClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconGameAccountClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconGameAccountClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconGameAccountClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.additional_backpack_slots_, 0, static_cast( + reinterpret_cast(&_impl_.elevated_timestamp_) - + reinterpret_cast(&_impl_.additional_backpack_slots_)) + sizeof(_impl_.elevated_timestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconGameAccountClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 additional_backpack_slots = 1 [default = 0]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_additional_backpack_slots(&has_bits); + _impl_.additional_backpack_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 trade_ban_expiration = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_trade_ban_expiration(&has_bits); + _impl_.trade_ban_expiration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 bonus_xp_timestamp_refresh = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_bonus_xp_timestamp_refresh(&has_bits); + _impl_.bonus_xp_timestamp_refresh_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 bonus_xp_usedflags = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_bonus_xp_usedflags(&has_bits); + _impl_.bonus_xp_usedflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 elevated_state = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_elevated_state(&has_bits); + _impl_.elevated_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 elevated_timestamp = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_elevated_timestamp(&has_bits); + _impl_.elevated_timestamp_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconGameAccountClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconGameAccountClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 additional_backpack_slots = 1 [default = 0]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_additional_backpack_slots(), target); + } + + // optional fixed32 trade_ban_expiration = 6; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_trade_ban_expiration(), target); + } + + // optional fixed32 bonus_xp_timestamp_refresh = 12; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_bonus_xp_timestamp_refresh(), target); + } + + // optional uint32 bonus_xp_usedflags = 13; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_bonus_xp_usedflags(), target); + } + + // optional uint32 elevated_state = 14; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_elevated_state(), target); + } + + // optional uint32 elevated_timestamp = 15; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_elevated_timestamp(), 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:CSOEconGameAccountClient) + return target; +} + +size_t CSOEconGameAccountClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconGameAccountClient) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint32 additional_backpack_slots = 1 [default = 0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_additional_backpack_slots()); + } + + // optional fixed32 trade_ban_expiration = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional fixed32 bonus_xp_timestamp_refresh = 12; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 bonus_xp_usedflags = 13; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_xp_usedflags()); + } + + // optional uint32 elevated_state = 14; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_elevated_state()); + } + + // optional uint32 elevated_timestamp = 15; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_elevated_timestamp()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconGameAccountClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconGameAccountClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconGameAccountClient::GetClassData() const { return &_class_data_; } + + +void CSOEconGameAccountClient::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:CSOEconGameAccountClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.additional_backpack_slots_ = from._impl_.additional_backpack_slots_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.trade_ban_expiration_ = from._impl_.trade_ban_expiration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bonus_xp_timestamp_refresh_ = from._impl_.bonus_xp_timestamp_refresh_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.bonus_xp_usedflags_ = from._impl_.bonus_xp_usedflags_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.elevated_state_ = from._impl_.elevated_state_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.elevated_timestamp_ = from._impl_.elevated_timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconGameAccountClient::CopyFrom(const CSOEconGameAccountClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconGameAccountClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconGameAccountClient::IsInitialized() const { + return true; +} + +void CSOEconGameAccountClient::InternalSwap(CSOEconGameAccountClient* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconGameAccountClient, _impl_.elevated_timestamp_) + + sizeof(CSOEconGameAccountClient::_impl_.elevated_timestamp_) + - PROTOBUF_FIELD_OFFSET(CSOEconGameAccountClient, _impl_.additional_backpack_slots_)>( + reinterpret_cast(&_impl_.additional_backpack_slots_), + reinterpret_cast(&other->_impl_.additional_backpack_slots_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconGameAccountClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[13]); +} + +// =================================================================== + +class CSOItemCriteriaCondition::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_op(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_field(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_required(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_float_value(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_string_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSOItemCriteriaCondition::CSOItemCriteriaCondition(::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:CSOItemCriteriaCondition) +} +CSOItemCriteriaCondition::CSOItemCriteriaCondition(const CSOItemCriteriaCondition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOItemCriteriaCondition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.field_){} + , decltype(_impl_.string_value_){} + , decltype(_impl_.op_){} + , decltype(_impl_.required_){} + , decltype(_impl_.float_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.field_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.field_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_field()) { + _this->_impl_.field_.Set(from._internal_field(), + _this->GetArenaForAllocation()); + } + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_value()) { + _this->_impl_.string_value_.Set(from._internal_string_value(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.op_, &from._impl_.op_, + static_cast(reinterpret_cast(&_impl_.float_value_) - + reinterpret_cast(&_impl_.op_)) + sizeof(_impl_.float_value_)); + // @@protoc_insertion_point(copy_constructor:CSOItemCriteriaCondition) +} + +inline void CSOItemCriteriaCondition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.field_){} + , decltype(_impl_.string_value_){} + , decltype(_impl_.op_){0} + , decltype(_impl_.required_){false} + , decltype(_impl_.float_value_){0} + }; + _impl_.field_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.field_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOItemCriteriaCondition::~CSOItemCriteriaCondition() { + // @@protoc_insertion_point(destructor:CSOItemCriteriaCondition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOItemCriteriaCondition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.field_.Destroy(); + _impl_.string_value_.Destroy(); +} + +void CSOItemCriteriaCondition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOItemCriteriaCondition::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOItemCriteriaCondition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.field_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.string_value_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.op_, 0, static_cast( + reinterpret_cast(&_impl_.float_value_) - + reinterpret_cast(&_impl_.op_)) + sizeof(_impl_.float_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOItemCriteriaCondition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 op = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_op(&has_bits); + _impl_.op_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string field = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_field(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemCriteriaCondition.field"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool required = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_required(&has_bits); + _impl_.required_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float float_value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_float_value(&has_bits); + _impl_.float_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string string_value = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_string_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemCriteriaCondition.string_value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOItemCriteriaCondition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOItemCriteriaCondition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 op = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_op(), target); + } + + // optional string field = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_field().data(), static_cast(this->_internal_field().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemCriteriaCondition.field"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_field(), target); + } + + // optional bool required = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_required(), target); + } + + // optional float float_value = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_float_value(), target); + } + + // optional string string_value = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemCriteriaCondition.string_value"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_string_value(), 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:CSOItemCriteriaCondition) + return target; +} + +size_t CSOItemCriteriaCondition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOItemCriteriaCondition) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string field = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_field()); + } + + // optional string string_value = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_string_value()); + } + + // optional int32 op = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_op()); + } + + // optional bool required = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional float float_value = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemCriteriaCondition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOItemCriteriaCondition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemCriteriaCondition::GetClassData() const { return &_class_data_; } + + +void CSOItemCriteriaCondition::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:CSOItemCriteriaCondition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_field(from._internal_field()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_string_value(from._internal_string_value()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.op_ = from._impl_.op_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.required_ = from._impl_.required_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.float_value_ = from._impl_.float_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOItemCriteriaCondition::CopyFrom(const CSOItemCriteriaCondition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemCriteriaCondition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOItemCriteriaCondition::IsInitialized() const { + return true; +} + +void CSOItemCriteriaCondition::InternalSwap(CSOItemCriteriaCondition* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.field_, lhs_arena, + &other->_impl_.field_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_value_, lhs_arena, + &other->_impl_.string_value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOItemCriteriaCondition, _impl_.float_value_) + + sizeof(CSOItemCriteriaCondition::_impl_.float_value_) + - PROTOBUF_FIELD_OFFSET(CSOItemCriteriaCondition, _impl_.op_)>( + reinterpret_cast(&_impl_.op_), + reinterpret_cast(&other->_impl_.op_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOItemCriteriaCondition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[14]); +} + +// =================================================================== + +class CSOItemCriteria::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_level(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_quality(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_level_set(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_item_quality_set(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_initial_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_initial_quantity(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ignore_enabled_flag(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_item_rarity(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_item_rarity_set(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_recent_only(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +CSOItemCriteria::CSOItemCriteria(::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:CSOItemCriteria) +} +CSOItemCriteria::CSOItemCriteria(const CSOItemCriteria& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOItemCriteria* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.conditions_){from._impl_.conditions_} + , decltype(_impl_.item_level_){} + , decltype(_impl_.item_quality_){} + , decltype(_impl_.initial_inventory_){} + , decltype(_impl_.initial_quantity_){} + , decltype(_impl_.item_level_set_){} + , decltype(_impl_.item_quality_set_){} + , decltype(_impl_.ignore_enabled_flag_){} + , decltype(_impl_.item_rarity_set_){} + , decltype(_impl_.item_rarity_){} + , decltype(_impl_.recent_only_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.item_level_, &from._impl_.item_level_, + static_cast(reinterpret_cast(&_impl_.recent_only_) - + reinterpret_cast(&_impl_.item_level_)) + sizeof(_impl_.recent_only_)); + // @@protoc_insertion_point(copy_constructor:CSOItemCriteria) +} + +inline void CSOItemCriteria::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.conditions_){arena} + , decltype(_impl_.item_level_){0u} + , decltype(_impl_.item_quality_){0} + , decltype(_impl_.initial_inventory_){0u} + , decltype(_impl_.initial_quantity_){0u} + , decltype(_impl_.item_level_set_){false} + , decltype(_impl_.item_quality_set_){false} + , decltype(_impl_.ignore_enabled_flag_){false} + , decltype(_impl_.item_rarity_set_){false} + , decltype(_impl_.item_rarity_){0} + , decltype(_impl_.recent_only_){false} + }; +} + +CSOItemCriteria::~CSOItemCriteria() { + // @@protoc_insertion_point(destructor:CSOItemCriteria) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOItemCriteria::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.conditions_.~RepeatedPtrField(); +} + +void CSOItemCriteria::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOItemCriteria::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOItemCriteria) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.conditions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.item_level_, 0, static_cast( + reinterpret_cast(&_impl_.item_rarity_set_) - + reinterpret_cast(&_impl_.item_level_)) + sizeof(_impl_.item_rarity_set_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.item_rarity_, 0, static_cast( + reinterpret_cast(&_impl_.recent_only_) - + reinterpret_cast(&_impl_.item_rarity_)) + sizeof(_impl_.recent_only_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOItemCriteria::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 item_level = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_level(&has_bits); + _impl_.item_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 item_quality = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_quality(&has_bits); + _impl_.item_quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool item_level_set = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_level_set(&has_bits); + _impl_.item_level_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool item_quality_set = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_item_quality_set(&has_bits); + _impl_.item_quality_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_inventory = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_initial_inventory(&has_bits); + _impl_.initial_inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_quantity = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_initial_quantity(&has_bits); + _impl_.initial_quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ignore_enabled_flag = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_ignore_enabled_flag(&has_bits); + _impl_.ignore_enabled_flag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSOItemCriteriaCondition conditions = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_conditions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 item_rarity = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_item_rarity(&has_bits); + _impl_.item_rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool item_rarity_set = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_item_rarity_set(&has_bits); + _impl_.item_rarity_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool recent_only = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_recent_only(&has_bits); + _impl_.recent_only_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOItemCriteria::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOItemCriteria) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 item_level = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_level(), target); + } + + // optional int32 item_quality = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_quality(), target); + } + + // optional bool item_level_set = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_item_level_set(), target); + } + + // optional bool item_quality_set = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_item_quality_set(), target); + } + + // optional uint32 initial_inventory = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_initial_inventory(), target); + } + + // optional uint32 initial_quantity = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_initial_quantity(), target); + } + + // optional bool ignore_enabled_flag = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_ignore_enabled_flag(), target); + } + + // repeated .CSOItemCriteriaCondition conditions = 9; + for (unsigned i = 0, + n = static_cast(this->_internal_conditions_size()); i < n; i++) { + const auto& repfield = this->_internal_conditions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 item_rarity = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_item_rarity(), target); + } + + // optional bool item_rarity_set = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_item_rarity_set(), target); + } + + // optional bool recent_only = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_recent_only(), 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:CSOItemCriteria) + return target; +} + +size_t CSOItemCriteria::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOItemCriteria) + 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 .CSOItemCriteriaCondition conditions = 9; + total_size += 1UL * this->_internal_conditions_size(); + for (const auto& msg : this->_impl_.conditions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 item_level = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_level()); + } + + // optional int32 item_quality = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_quality()); + } + + // optional uint32 initial_inventory = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_inventory()); + } + + // optional uint32 initial_quantity = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_quantity()); + } + + // optional bool item_level_set = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional bool item_quality_set = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional bool ignore_enabled_flag = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool item_rarity_set = 11; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + if (cached_has_bits & 0x00000300u) { + // optional int32 item_rarity = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_rarity()); + } + + // optional bool recent_only = 12; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemCriteria::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOItemCriteria::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemCriteria::GetClassData() const { return &_class_data_; } + + +void CSOItemCriteria::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:CSOItemCriteria) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.conditions_.MergeFrom(from._impl_.conditions_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.item_level_ = from._impl_.item_level_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_quality_ = from._impl_.item_quality_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.initial_inventory_ = from._impl_.initial_inventory_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.initial_quantity_ = from._impl_.initial_quantity_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.item_level_set_ = from._impl_.item_level_set_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.item_quality_set_ = from._impl_.item_quality_set_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ignore_enabled_flag_ = from._impl_.ignore_enabled_flag_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.item_rarity_set_ = from._impl_.item_rarity_set_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.item_rarity_ = from._impl_.item_rarity_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.recent_only_ = from._impl_.recent_only_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOItemCriteria::CopyFrom(const CSOItemCriteria& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemCriteria) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOItemCriteria::IsInitialized() const { + return true; +} + +void CSOItemCriteria::InternalSwap(CSOItemCriteria* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.conditions_.InternalSwap(&other->_impl_.conditions_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOItemCriteria, _impl_.recent_only_) + + sizeof(CSOItemCriteria::_impl_.recent_only_) + - PROTOBUF_FIELD_OFFSET(CSOItemCriteria, _impl_.item_level_)>( + reinterpret_cast(&_impl_.item_level_), + reinterpret_cast(&other->_impl_.item_level_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOItemCriteria::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[15]); +} + +// =================================================================== + +class CSOItemRecipe::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_n_a(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_desc_inputs(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_desc_outputs(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_di_a(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_di_b(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_di_c(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_do_a(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_do_b(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_do_c(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_requires_all_same_class(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_requires_all_same_slot(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_class_usage_for_output(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_slot_usage_for_output(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_set_for_output(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } +}; + +CSOItemRecipe::CSOItemRecipe(::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:CSOItemRecipe) +} +CSOItemRecipe::CSOItemRecipe(const CSOItemRecipe& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOItemRecipe* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.input_items_criteria_){from._impl_.input_items_criteria_} + , decltype(_impl_.output_items_criteria_){from._impl_.output_items_criteria_} + , decltype(_impl_.input_item_dupe_counts_){from._impl_.input_item_dupe_counts_} + , decltype(_impl_.name_){} + , decltype(_impl_.n_a_){} + , decltype(_impl_.desc_inputs_){} + , decltype(_impl_.desc_outputs_){} + , decltype(_impl_.di_a_){} + , decltype(_impl_.di_b_){} + , decltype(_impl_.di_c_){} + , decltype(_impl_.do_a_){} + , decltype(_impl_.do_b_){} + , decltype(_impl_.do_c_){} + , decltype(_impl_.def_index_){} + , decltype(_impl_.requires_all_same_class_){} + , decltype(_impl_.requires_all_same_slot_){} + , decltype(_impl_.class_usage_for_output_){} + , decltype(_impl_.slot_usage_for_output_){} + , decltype(_impl_.set_for_output_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.n_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.n_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_n_a()) { + _this->_impl_.n_a_.Set(from._internal_n_a(), + _this->GetArenaForAllocation()); + } + _impl_.desc_inputs_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_inputs_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_desc_inputs()) { + _this->_impl_.desc_inputs_.Set(from._internal_desc_inputs(), + _this->GetArenaForAllocation()); + } + _impl_.desc_outputs_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_outputs_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_desc_outputs()) { + _this->_impl_.desc_outputs_.Set(from._internal_desc_outputs(), + _this->GetArenaForAllocation()); + } + _impl_.di_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_di_a()) { + _this->_impl_.di_a_.Set(from._internal_di_a(), + _this->GetArenaForAllocation()); + } + _impl_.di_b_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_b_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_di_b()) { + _this->_impl_.di_b_.Set(from._internal_di_b(), + _this->GetArenaForAllocation()); + } + _impl_.di_c_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_c_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_di_c()) { + _this->_impl_.di_c_.Set(from._internal_di_c(), + _this->GetArenaForAllocation()); + } + _impl_.do_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_do_a()) { + _this->_impl_.do_a_.Set(from._internal_do_a(), + _this->GetArenaForAllocation()); + } + _impl_.do_b_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_b_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_do_b()) { + _this->_impl_.do_b_.Set(from._internal_do_b(), + _this->GetArenaForAllocation()); + } + _impl_.do_c_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_c_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_do_c()) { + _this->_impl_.do_c_.Set(from._internal_do_c(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.def_index_, &from._impl_.def_index_, + static_cast(reinterpret_cast(&_impl_.set_for_output_) - + reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.set_for_output_)); + // @@protoc_insertion_point(copy_constructor:CSOItemRecipe) +} + +inline void CSOItemRecipe::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.input_items_criteria_){arena} + , decltype(_impl_.output_items_criteria_){arena} + , decltype(_impl_.input_item_dupe_counts_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.n_a_){} + , decltype(_impl_.desc_inputs_){} + , decltype(_impl_.desc_outputs_){} + , decltype(_impl_.di_a_){} + , decltype(_impl_.di_b_){} + , decltype(_impl_.di_c_){} + , decltype(_impl_.do_a_){} + , decltype(_impl_.do_b_){} + , decltype(_impl_.do_c_){} + , decltype(_impl_.def_index_){0u} + , decltype(_impl_.requires_all_same_class_){false} + , decltype(_impl_.requires_all_same_slot_){false} + , decltype(_impl_.class_usage_for_output_){0} + , decltype(_impl_.slot_usage_for_output_){0} + , decltype(_impl_.set_for_output_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.n_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.n_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_inputs_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_inputs_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_outputs_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_outputs_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_b_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_b_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_c_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.di_c_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_a_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_a_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_b_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_b_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_c_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.do_c_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOItemRecipe::~CSOItemRecipe() { + // @@protoc_insertion_point(destructor:CSOItemRecipe) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOItemRecipe::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.input_items_criteria_.~RepeatedPtrField(); + _impl_.output_items_criteria_.~RepeatedPtrField(); + _impl_.input_item_dupe_counts_.~RepeatedField(); + _impl_.name_.Destroy(); + _impl_.n_a_.Destroy(); + _impl_.desc_inputs_.Destroy(); + _impl_.desc_outputs_.Destroy(); + _impl_.di_a_.Destroy(); + _impl_.di_b_.Destroy(); + _impl_.di_c_.Destroy(); + _impl_.do_a_.Destroy(); + _impl_.do_b_.Destroy(); + _impl_.do_c_.Destroy(); +} + +void CSOItemRecipe::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOItemRecipe::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOItemRecipe) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.input_items_criteria_.Clear(); + _impl_.output_items_criteria_.Clear(); + _impl_.input_item_dupe_counts_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.n_a_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.desc_inputs_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.desc_outputs_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.di_a_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.di_b_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.di_c_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.do_a_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _impl_.do_b_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000200u) { + _impl_.do_c_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000fc00u) { + ::memset(&_impl_.def_index_, 0, static_cast( + reinterpret_cast(&_impl_.set_for_output_) - + reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.set_for_output_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOItemRecipe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 def_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_def_index(&has_bits); + _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string n_a = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_n_a(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.n_a"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string desc_inputs = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_desc_inputs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.desc_inputs"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string desc_outputs = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_desc_outputs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.desc_outputs"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string di_a = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_di_a(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_a"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string di_b = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_di_b(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_b"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string di_c = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_di_c(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_c"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string do_a = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_do_a(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_a"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string do_b = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_do_b(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_b"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string do_c = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_do_c(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_c"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool requires_all_same_class = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_requires_all_same_class(&has_bits); + _impl_.requires_all_same_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool requires_all_same_slot = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_requires_all_same_slot(&has_bits); + _impl_.requires_all_same_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 class_usage_for_output = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_class_usage_for_output(&has_bits); + _impl_.class_usage_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 slot_usage_for_output = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_slot_usage_for_output(&has_bits); + _impl_.slot_usage_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 set_for_output = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_set_for_output(&has_bits); + _impl_.set_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSOItemCriteria input_items_criteria = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_input_items_criteria(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CSOItemCriteria output_items_criteria = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_output_items_criteria(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<170>(ptr)); + } else + goto handle_unusual; + continue; + // repeated uint32 input_item_dupe_counts = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_input_item_dupe_counts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<176>(ptr)); + } else if (static_cast(tag) == 178) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_input_item_dupe_counts(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOItemRecipe::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOItemRecipe) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 def_index = 1; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_def_index(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional string n_a = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_n_a().data(), static_cast(this->_internal_n_a().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.n_a"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_n_a(), target); + } + + // optional string desc_inputs = 4; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_desc_inputs().data(), static_cast(this->_internal_desc_inputs().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.desc_inputs"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_desc_inputs(), target); + } + + // optional string desc_outputs = 5; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_desc_outputs().data(), static_cast(this->_internal_desc_outputs().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.desc_outputs"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_desc_outputs(), target); + } + + // optional string di_a = 6; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_di_a().data(), static_cast(this->_internal_di_a().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.di_a"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_di_a(), target); + } + + // optional string di_b = 7; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_di_b().data(), static_cast(this->_internal_di_b().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.di_b"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_di_b(), target); + } + + // optional string di_c = 8; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_di_c().data(), static_cast(this->_internal_di_c().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.di_c"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_di_c(), target); + } + + // optional string do_a = 9; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_do_a().data(), static_cast(this->_internal_do_a().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.do_a"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_do_a(), target); + } + + // optional string do_b = 10; + if (cached_has_bits & 0x00000100u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_do_b().data(), static_cast(this->_internal_do_b().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.do_b"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_do_b(), target); + } + + // optional string do_c = 11; + if (cached_has_bits & 0x00000200u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_do_c().data(), static_cast(this->_internal_do_c().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOItemRecipe.do_c"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_do_c(), target); + } + + // optional bool requires_all_same_class = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_requires_all_same_class(), target); + } + + // optional bool requires_all_same_slot = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_requires_all_same_slot(), target); + } + + // optional int32 class_usage_for_output = 14; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_class_usage_for_output(), target); + } + + // optional int32 slot_usage_for_output = 15; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_slot_usage_for_output(), target); + } + + // optional int32 set_for_output = 16; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_set_for_output(), target); + } + + // repeated .CSOItemCriteria input_items_criteria = 20; + for (unsigned i = 0, + n = static_cast(this->_internal_input_items_criteria_size()); i < n; i++) { + const auto& repfield = this->_internal_input_items_criteria(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CSOItemCriteria output_items_criteria = 21; + for (unsigned i = 0, + n = static_cast(this->_internal_output_items_criteria_size()); i < n; i++) { + const auto& repfield = this->_internal_output_items_criteria(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(21, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated uint32 input_item_dupe_counts = 22; + for (int i = 0, n = this->_internal_input_item_dupe_counts_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_input_item_dupe_counts(i), 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:CSOItemRecipe) + return target; +} + +size_t CSOItemRecipe::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOItemRecipe) + 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 .CSOItemCriteria input_items_criteria = 20; + total_size += 2UL * this->_internal_input_items_criteria_size(); + for (const auto& msg : this->_impl_.input_items_criteria_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CSOItemCriteria output_items_criteria = 21; + total_size += 2UL * this->_internal_output_items_criteria_size(); + for (const auto& msg : this->_impl_.output_items_criteria_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated uint32 input_item_dupe_counts = 22; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.input_item_dupe_counts_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_input_item_dupe_counts_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string n_a = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_n_a()); + } + + // optional string desc_inputs = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_desc_inputs()); + } + + // optional string desc_outputs = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_desc_outputs()); + } + + // optional string di_a = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_di_a()); + } + + // optional string di_b = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_di_b()); + } + + // optional string di_c = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_di_c()); + } + + // optional string do_a = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_do_a()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional string do_b = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_do_b()); + } + + // optional string do_c = 11; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_do_c()); + } + + // optional uint32 def_index = 1; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); + } + + // optional bool requires_all_same_class = 12; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 1; + } + + // optional bool requires_all_same_slot = 13; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 1; + } + + // optional int32 class_usage_for_output = 14; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_usage_for_output()); + } + + // optional int32 slot_usage_for_output = 15; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot_usage_for_output()); + } + + // optional int32 set_for_output = 16; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_set_for_output()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemRecipe::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOItemRecipe::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemRecipe::GetClassData() const { return &_class_data_; } + + +void CSOItemRecipe::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:CSOItemRecipe) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.input_items_criteria_.MergeFrom(from._impl_.input_items_criteria_); + _this->_impl_.output_items_criteria_.MergeFrom(from._impl_.output_items_criteria_); + _this->_impl_.input_item_dupe_counts_.MergeFrom(from._impl_.input_item_dupe_counts_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_n_a(from._internal_n_a()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_desc_inputs(from._internal_desc_inputs()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_desc_outputs(from._internal_desc_outputs()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_di_a(from._internal_di_a()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_di_b(from._internal_di_b()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_di_c(from._internal_di_c()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_do_a(from._internal_do_a()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_do_b(from._internal_do_b()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_set_do_c(from._internal_do_c()); + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.def_index_ = from._impl_.def_index_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.requires_all_same_class_ = from._impl_.requires_all_same_class_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.requires_all_same_slot_ = from._impl_.requires_all_same_slot_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.class_usage_for_output_ = from._impl_.class_usage_for_output_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.slot_usage_for_output_ = from._impl_.slot_usage_for_output_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.set_for_output_ = from._impl_.set_for_output_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOItemRecipe::CopyFrom(const CSOItemRecipe& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemRecipe) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOItemRecipe::IsInitialized() const { + return true; +} + +void CSOItemRecipe::InternalSwap(CSOItemRecipe* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.input_items_criteria_.InternalSwap(&other->_impl_.input_items_criteria_); + _impl_.output_items_criteria_.InternalSwap(&other->_impl_.output_items_criteria_); + _impl_.input_item_dupe_counts_.InternalSwap(&other->_impl_.input_item_dupe_counts_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.n_a_, lhs_arena, + &other->_impl_.n_a_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.desc_inputs_, lhs_arena, + &other->_impl_.desc_inputs_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.desc_outputs_, lhs_arena, + &other->_impl_.desc_outputs_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.di_a_, lhs_arena, + &other->_impl_.di_a_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.di_b_, lhs_arena, + &other->_impl_.di_b_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.di_c_, lhs_arena, + &other->_impl_.di_c_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.do_a_, lhs_arena, + &other->_impl_.do_a_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.do_b_, lhs_arena, + &other->_impl_.do_b_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.do_c_, lhs_arena, + &other->_impl_.do_c_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOItemRecipe, _impl_.set_for_output_) + + sizeof(CSOItemRecipe::_impl_.set_for_output_) + - PROTOBUF_FIELD_OFFSET(CSOItemRecipe, _impl_.def_index_)>( + reinterpret_cast(&_impl_.def_index_), + reinterpret_cast(&other->_impl_.def_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOItemRecipe::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[16]); +} + +// =================================================================== + +class CMsgDevNewItemRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_receiver(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CSOItemCriteria& criteria(const CMsgDevNewItemRequest* msg); + static void set_has_criteria(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CSOItemCriteria& +CMsgDevNewItemRequest::_Internal::criteria(const CMsgDevNewItemRequest* msg) { + return *msg->_impl_.criteria_; +} +CMsgDevNewItemRequest::CMsgDevNewItemRequest(::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:CMsgDevNewItemRequest) +} +CMsgDevNewItemRequest::CMsgDevNewItemRequest(const CMsgDevNewItemRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgDevNewItemRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.criteria_){nullptr} + , decltype(_impl_.receiver_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_criteria()) { + _this->_impl_.criteria_ = new ::CSOItemCriteria(*from._impl_.criteria_); + } + _this->_impl_.receiver_ = from._impl_.receiver_; + // @@protoc_insertion_point(copy_constructor:CMsgDevNewItemRequest) +} + +inline void CMsgDevNewItemRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.criteria_){nullptr} + , decltype(_impl_.receiver_){uint64_t{0u}} + }; +} + +CMsgDevNewItemRequest::~CMsgDevNewItemRequest() { + // @@protoc_insertion_point(destructor:CMsgDevNewItemRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgDevNewItemRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.criteria_; +} + +void CMsgDevNewItemRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgDevNewItemRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgDevNewItemRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.criteria_ != nullptr); + _impl_.criteria_->Clear(); + } + _impl_.receiver_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgDevNewItemRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 receiver = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_receiver(&has_bits); + _impl_.receiver_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CSOItemCriteria criteria = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_criteria(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgDevNewItemRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgDevNewItemRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 receiver = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_receiver(), target); + } + + // optional .CSOItemCriteria criteria = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::criteria(this), + _Internal::criteria(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:CMsgDevNewItemRequest) + return target; +} + +size_t CMsgDevNewItemRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgDevNewItemRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CSOItemCriteria criteria = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.criteria_); + } + + // optional fixed64 receiver = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgDevNewItemRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgDevNewItemRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgDevNewItemRequest::GetClassData() const { return &_class_data_; } + + +void CMsgDevNewItemRequest::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:CMsgDevNewItemRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_criteria()->::CSOItemCriteria::MergeFrom( + from._internal_criteria()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.receiver_ = from._impl_.receiver_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgDevNewItemRequest::CopyFrom(const CMsgDevNewItemRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgDevNewItemRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgDevNewItemRequest::IsInitialized() const { + return true; +} + +void CMsgDevNewItemRequest::InternalSwap(CMsgDevNewItemRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgDevNewItemRequest, _impl_.receiver_) + + sizeof(CMsgDevNewItemRequest::_impl_.receiver_) + - PROTOBUF_FIELD_OFFSET(CMsgDevNewItemRequest, _impl_.criteria_)>( + reinterpret_cast(&_impl_.criteria_), + reinterpret_cast(&other->_impl_.criteria_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgDevNewItemRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[17]); +} + +// =================================================================== + +class CMsgIncrementKillCountAttribute::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_killer_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_victim_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_event_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_amount(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute(::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:CMsgIncrementKillCountAttribute) +} +CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute(const CMsgIncrementKillCountAttribute& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgIncrementKillCountAttribute* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.killer_account_id_){} + , decltype(_impl_.victim_account_id_){} + , decltype(_impl_.item_id_){} + , decltype(_impl_.event_type_){} + , decltype(_impl_.amount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.killer_account_id_, &from._impl_.killer_account_id_, + static_cast(reinterpret_cast(&_impl_.amount_) - + reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.amount_)); + // @@protoc_insertion_point(copy_constructor:CMsgIncrementKillCountAttribute) +} + +inline void CMsgIncrementKillCountAttribute::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.killer_account_id_){0u} + , decltype(_impl_.victim_account_id_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.event_type_){0u} + , decltype(_impl_.amount_){0u} + }; +} + +CMsgIncrementKillCountAttribute::~CMsgIncrementKillCountAttribute() { + // @@protoc_insertion_point(destructor:CMsgIncrementKillCountAttribute) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgIncrementKillCountAttribute::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgIncrementKillCountAttribute::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgIncrementKillCountAttribute::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgIncrementKillCountAttribute) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.killer_account_id_, 0, static_cast( + reinterpret_cast(&_impl_.amount_) - + reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.amount_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgIncrementKillCountAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 killer_account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_killer_account_id(&has_bits); + _impl_.killer_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 victim_account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_victim_account_id(&has_bits); + _impl_.victim_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 event_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_event_type(&has_bits); + _impl_.event_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 amount = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_amount(&has_bits); + _impl_.amount_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgIncrementKillCountAttribute::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgIncrementKillCountAttribute) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 killer_account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_killer_account_id(), target); + } + + // optional fixed32 victim_account_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_victim_account_id(), target); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), target); + } + + // optional uint32 event_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_type(), target); + } + + // optional uint32 amount = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_amount(), 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:CMsgIncrementKillCountAttribute) + return target; +} + +size_t CMsgIncrementKillCountAttribute::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgIncrementKillCountAttribute) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional fixed32 killer_account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional fixed32 victim_account_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional uint32 event_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_type()); + } + + // optional uint32 amount = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_amount()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgIncrementKillCountAttribute::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgIncrementKillCountAttribute::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgIncrementKillCountAttribute::GetClassData() const { return &_class_data_; } + + +void CMsgIncrementKillCountAttribute::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:CMsgIncrementKillCountAttribute) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.killer_account_id_ = from._impl_.killer_account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.victim_account_id_ = from._impl_.victim_account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.event_type_ = from._impl_.event_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.amount_ = from._impl_.amount_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgIncrementKillCountAttribute::CopyFrom(const CMsgIncrementKillCountAttribute& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgIncrementKillCountAttribute) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgIncrementKillCountAttribute::IsInitialized() const { + return true; +} + +void CMsgIncrementKillCountAttribute::InternalSwap(CMsgIncrementKillCountAttribute* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _impl_.amount_) + + sizeof(CMsgIncrementKillCountAttribute::_impl_.amount_) + - PROTOBUF_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _impl_.killer_account_id_)>( + reinterpret_cast(&_impl_.killer_account_id_), + reinterpret_cast(&other->_impl_.killer_account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgIncrementKillCountAttribute::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[18]); +} + +// =================================================================== + +class CMsgApplySticker::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sticker_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_sticker_slot(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_baseitem_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_sticker_wear(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_sticker_rotation(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_sticker_scale(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_sticker_offset_x(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_sticker_offset_y(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_sticker_offset_z(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_sticker_wear_target(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +CMsgApplySticker::CMsgApplySticker(::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:CMsgApplySticker) +} +CMsgApplySticker::CMsgApplySticker(const CMsgApplySticker& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgApplySticker* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sticker_item_id_){} + , decltype(_impl_.item_item_id_){} + , decltype(_impl_.sticker_slot_){} + , decltype(_impl_.baseitem_defidx_){} + , decltype(_impl_.sticker_wear_){} + , decltype(_impl_.sticker_rotation_){} + , decltype(_impl_.sticker_scale_){} + , decltype(_impl_.sticker_offset_x_){} + , decltype(_impl_.sticker_offset_y_){} + , decltype(_impl_.sticker_offset_z_){} + , decltype(_impl_.sticker_wear_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.sticker_item_id_, &from._impl_.sticker_item_id_, + static_cast(reinterpret_cast(&_impl_.sticker_wear_target_) - + reinterpret_cast(&_impl_.sticker_item_id_)) + sizeof(_impl_.sticker_wear_target_)); + // @@protoc_insertion_point(copy_constructor:CMsgApplySticker) +} + +inline void CMsgApplySticker::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sticker_item_id_){uint64_t{0u}} + , decltype(_impl_.item_item_id_){uint64_t{0u}} + , decltype(_impl_.sticker_slot_){0u} + , decltype(_impl_.baseitem_defidx_){0u} + , decltype(_impl_.sticker_wear_){0} + , decltype(_impl_.sticker_rotation_){0} + , decltype(_impl_.sticker_scale_){0} + , decltype(_impl_.sticker_offset_x_){0} + , decltype(_impl_.sticker_offset_y_){0} + , decltype(_impl_.sticker_offset_z_){0} + , decltype(_impl_.sticker_wear_target_){0} + }; +} + +CMsgApplySticker::~CMsgApplySticker() { + // @@protoc_insertion_point(destructor:CMsgApplySticker) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgApplySticker::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgApplySticker::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgApplySticker::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgApplySticker) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.sticker_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.sticker_offset_x_) - + reinterpret_cast(&_impl_.sticker_item_id_)) + sizeof(_impl_.sticker_offset_x_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.sticker_offset_y_, 0, static_cast( + reinterpret_cast(&_impl_.sticker_wear_target_) - + reinterpret_cast(&_impl_.sticker_offset_y_)) + sizeof(_impl_.sticker_wear_target_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgApplySticker::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 sticker_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sticker_item_id(&has_bits); + _impl_.sticker_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_item_id(&has_bits); + _impl_.item_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sticker_slot = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_sticker_slot(&has_bits); + _impl_.sticker_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 baseitem_defidx = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_baseitem_defidx(&has_bits); + _impl_.baseitem_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float sticker_wear = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_sticker_wear(&has_bits); + _impl_.sticker_wear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_rotation = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_sticker_rotation(&has_bits); + _impl_.sticker_rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_scale = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_sticker_scale(&has_bits); + _impl_.sticker_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_offset_x = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_sticker_offset_x(&has_bits); + _impl_.sticker_offset_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_offset_y = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_sticker_offset_y(&has_bits); + _impl_.sticker_offset_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_offset_z = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_sticker_offset_z(&has_bits); + _impl_.sticker_offset_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float sticker_wear_target = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_sticker_wear_target(&has_bits); + _impl_.sticker_wear_target_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgApplySticker::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgApplySticker) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 sticker_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_sticker_item_id(), target); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), target); + } + + // optional uint32 sticker_slot = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sticker_slot(), target); + } + + // optional uint32 baseitem_defidx = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_baseitem_defidx(), target); + } + + // optional float sticker_wear = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_sticker_wear(), target); + } + + // optional float sticker_rotation = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_sticker_rotation(), target); + } + + // optional float sticker_scale = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_sticker_scale(), target); + } + + // optional float sticker_offset_x = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_sticker_offset_x(), target); + } + + // optional float sticker_offset_y = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_sticker_offset_y(), target); + } + + // optional float sticker_offset_z = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_sticker_offset_z(), target); + } + + // optional float sticker_wear_target = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_sticker_wear_target(), 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:CMsgApplySticker) + return target; +} + +size_t CMsgApplySticker::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgApplySticker) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 sticker_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_sticker_item_id()); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); + } + + // optional uint32 sticker_slot = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sticker_slot()); + } + + // optional uint32 baseitem_defidx = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_baseitem_defidx()); + } + + // optional float sticker_wear = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float sticker_rotation = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float sticker_scale = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float sticker_offset_x = 8; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000700u) { + // optional float sticker_offset_y = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional float sticker_offset_z = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional float sticker_wear_target = 11; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplySticker::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgApplySticker::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplySticker::GetClassData() const { return &_class_data_; } + + +void CMsgApplySticker::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:CMsgApplySticker) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.sticker_item_id_ = from._impl_.sticker_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_item_id_ = from._impl_.item_item_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sticker_slot_ = from._impl_.sticker_slot_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.baseitem_defidx_ = from._impl_.baseitem_defidx_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.sticker_wear_ = from._impl_.sticker_wear_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.sticker_rotation_ = from._impl_.sticker_rotation_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.sticker_scale_ = from._impl_.sticker_scale_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.sticker_offset_x_ = from._impl_.sticker_offset_x_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.sticker_offset_y_ = from._impl_.sticker_offset_y_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.sticker_offset_z_ = from._impl_.sticker_offset_z_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.sticker_wear_target_ = from._impl_.sticker_wear_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgApplySticker::CopyFrom(const CMsgApplySticker& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplySticker) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgApplySticker::IsInitialized() const { + return true; +} + +void CMsgApplySticker::InternalSwap(CMsgApplySticker* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgApplySticker, _impl_.sticker_wear_target_) + + sizeof(CMsgApplySticker::_impl_.sticker_wear_target_) + - PROTOBUF_FIELD_OFFSET(CMsgApplySticker, _impl_.sticker_item_id_)>( + reinterpret_cast(&_impl_.sticker_item_id_), + reinterpret_cast(&other->_impl_.sticker_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplySticker::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[19]); +} + +// =================================================================== + +class CMsgModifyItemAttribute::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_attr_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_attr_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgModifyItemAttribute::CMsgModifyItemAttribute(::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:CMsgModifyItemAttribute) +} +CMsgModifyItemAttribute::CMsgModifyItemAttribute(const CMsgModifyItemAttribute& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgModifyItemAttribute* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){} + , decltype(_impl_.attr_defidx_){} + , decltype(_impl_.attr_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, + static_cast(reinterpret_cast(&_impl_.attr_value_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.attr_value_)); + // @@protoc_insertion_point(copy_constructor:CMsgModifyItemAttribute) +} + +inline void CMsgModifyItemAttribute::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.attr_defidx_){0u} + , decltype(_impl_.attr_value_){0u} + }; +} + +CMsgModifyItemAttribute::~CMsgModifyItemAttribute() { + // @@protoc_insertion_point(destructor:CMsgModifyItemAttribute) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgModifyItemAttribute::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgModifyItemAttribute::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgModifyItemAttribute::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgModifyItemAttribute) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.item_id_, 0, static_cast( + reinterpret_cast(&_impl_.attr_value_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.attr_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgModifyItemAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 attr_defidx = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_attr_defidx(&has_bits); + _impl_.attr_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 attr_value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_attr_value(&has_bits); + _impl_.attr_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgModifyItemAttribute::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgModifyItemAttribute) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); + } + + // optional uint32 attr_defidx = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_attr_defidx(), target); + } + + // optional uint32 attr_value = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_attr_value(), 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:CMsgModifyItemAttribute) + return target; +} + +size_t CMsgModifyItemAttribute::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgModifyItemAttribute) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional uint32 attr_defidx = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attr_defidx()); + } + + // optional uint32 attr_value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attr_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgModifyItemAttribute::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgModifyItemAttribute::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgModifyItemAttribute::GetClassData() const { return &_class_data_; } + + +void CMsgModifyItemAttribute::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:CMsgModifyItemAttribute) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.attr_defidx_ = from._impl_.attr_defidx_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.attr_value_ = from._impl_.attr_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgModifyItemAttribute::CopyFrom(const CMsgModifyItemAttribute& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgModifyItemAttribute) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgModifyItemAttribute::IsInitialized() const { + return true; +} + +void CMsgModifyItemAttribute::InternalSwap(CMsgModifyItemAttribute* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgModifyItemAttribute, _impl_.attr_value_) + + sizeof(CMsgModifyItemAttribute::_impl_.attr_value_) + - PROTOBUF_FIELD_OFFSET(CMsgModifyItemAttribute, _impl_.item_id_)>( + reinterpret_cast(&_impl_.item_id_), + reinterpret_cast(&other->_impl_.item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgModifyItemAttribute::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[20]); +} + +// =================================================================== + +class CMsgApplyStatTrakSwap::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tool_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_1_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_2_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap(::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:CMsgApplyStatTrakSwap) +} +CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap(const CMsgApplyStatTrakSwap& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgApplyStatTrakSwap* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tool_item_id_){} + , decltype(_impl_.item_1_item_id_){} + , decltype(_impl_.item_2_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.tool_item_id_, &from._impl_.tool_item_id_, + static_cast(reinterpret_cast(&_impl_.item_2_item_id_) - + reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.item_2_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgApplyStatTrakSwap) +} + +inline void CMsgApplyStatTrakSwap::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tool_item_id_){uint64_t{0u}} + , decltype(_impl_.item_1_item_id_){uint64_t{0u}} + , decltype(_impl_.item_2_item_id_){uint64_t{0u}} + }; +} + +CMsgApplyStatTrakSwap::~CMsgApplyStatTrakSwap() { + // @@protoc_insertion_point(destructor:CMsgApplyStatTrakSwap) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgApplyStatTrakSwap::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgApplyStatTrakSwap::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgApplyStatTrakSwap::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgApplyStatTrakSwap) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.tool_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_2_item_id_) - + reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.item_2_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgApplyStatTrakSwap::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 tool_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tool_item_id(&has_bits); + _impl_.tool_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_1_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_1_item_id(&has_bits); + _impl_.item_1_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_2_item_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_2_item_id(&has_bits); + _impl_.item_2_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgApplyStatTrakSwap::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyStatTrakSwap) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 tool_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_tool_item_id(), target); + } + + // optional uint64 item_1_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_1_item_id(), target); + } + + // optional uint64 item_2_item_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_2_item_id(), 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:CMsgApplyStatTrakSwap) + return target; +} + +size_t CMsgApplyStatTrakSwap::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgApplyStatTrakSwap) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 tool_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tool_item_id()); + } + + // optional uint64 item_1_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_1_item_id()); + } + + // optional uint64 item_2_item_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_2_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyStatTrakSwap::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgApplyStatTrakSwap::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyStatTrakSwap::GetClassData() const { return &_class_data_; } + + +void CMsgApplyStatTrakSwap::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:CMsgApplyStatTrakSwap) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.tool_item_id_ = from._impl_.tool_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_1_item_id_ = from._impl_.item_1_item_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_2_item_id_ = from._impl_.item_2_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgApplyStatTrakSwap::CopyFrom(const CMsgApplyStatTrakSwap& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyStatTrakSwap) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgApplyStatTrakSwap::IsInitialized() const { + return true; +} + +void CMsgApplyStatTrakSwap::InternalSwap(CMsgApplyStatTrakSwap* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgApplyStatTrakSwap, _impl_.item_2_item_id_) + + sizeof(CMsgApplyStatTrakSwap::_impl_.item_2_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgApplyStatTrakSwap, _impl_.tool_item_id_)>( + reinterpret_cast(&_impl_.tool_item_id_), + reinterpret_cast(&other->_impl_.tool_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyStatTrakSwap::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[21]); +} + +// =================================================================== + +class CMsgApplyStrangePart::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_strange_part_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgApplyStrangePart::CMsgApplyStrangePart(::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:CMsgApplyStrangePart) +} +CMsgApplyStrangePart::CMsgApplyStrangePart(const CMsgApplyStrangePart& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgApplyStrangePart* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.strange_part_item_id_){} + , decltype(_impl_.item_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.strange_part_item_id_, &from._impl_.strange_part_item_id_, + static_cast(reinterpret_cast(&_impl_.item_item_id_) - + reinterpret_cast(&_impl_.strange_part_item_id_)) + sizeof(_impl_.item_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgApplyStrangePart) +} + +inline void CMsgApplyStrangePart::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.strange_part_item_id_){uint64_t{0u}} + , decltype(_impl_.item_item_id_){uint64_t{0u}} + }; +} + +CMsgApplyStrangePart::~CMsgApplyStrangePart() { + // @@protoc_insertion_point(destructor:CMsgApplyStrangePart) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgApplyStrangePart::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgApplyStrangePart::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgApplyStrangePart::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgApplyStrangePart) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.strange_part_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_item_id_) - + reinterpret_cast(&_impl_.strange_part_item_id_)) + sizeof(_impl_.item_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgApplyStrangePart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 strange_part_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_strange_part_item_id(&has_bits); + _impl_.strange_part_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_item_id(&has_bits); + _impl_.item_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgApplyStrangePart::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyStrangePart) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 strange_part_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_strange_part_item_id(), target); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), 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:CMsgApplyStrangePart) + return target; +} + +size_t CMsgApplyStrangePart::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgApplyStrangePart) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 strange_part_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_strange_part_item_id()); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyStrangePart::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgApplyStrangePart::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyStrangePart::GetClassData() const { return &_class_data_; } + + +void CMsgApplyStrangePart::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:CMsgApplyStrangePart) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.strange_part_item_id_ = from._impl_.strange_part_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_item_id_ = from._impl_.item_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgApplyStrangePart::CopyFrom(const CMsgApplyStrangePart& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyStrangePart) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgApplyStrangePart::IsInitialized() const { + return true; +} + +void CMsgApplyStrangePart::InternalSwap(CMsgApplyStrangePart* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgApplyStrangePart, _impl_.item_item_id_) + + sizeof(CMsgApplyStrangePart::_impl_.item_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgApplyStrangePart, _impl_.strange_part_item_id_)>( + reinterpret_cast(&_impl_.strange_part_item_id_), + reinterpret_cast(&other->_impl_.strange_part_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyStrangePart::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[22]); +} + +// =================================================================== + +class CMsgApplyPennantUpgrade::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_upgrade_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pennant_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade(::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:CMsgApplyPennantUpgrade) +} +CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade(const CMsgApplyPennantUpgrade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgApplyPennantUpgrade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.upgrade_item_id_){} + , decltype(_impl_.pennant_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.upgrade_item_id_, &from._impl_.upgrade_item_id_, + static_cast(reinterpret_cast(&_impl_.pennant_item_id_) - + reinterpret_cast(&_impl_.upgrade_item_id_)) + sizeof(_impl_.pennant_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgApplyPennantUpgrade) +} + +inline void CMsgApplyPennantUpgrade::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.upgrade_item_id_){uint64_t{0u}} + , decltype(_impl_.pennant_item_id_){uint64_t{0u}} + }; +} + +CMsgApplyPennantUpgrade::~CMsgApplyPennantUpgrade() { + // @@protoc_insertion_point(destructor:CMsgApplyPennantUpgrade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgApplyPennantUpgrade::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgApplyPennantUpgrade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgApplyPennantUpgrade::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgApplyPennantUpgrade) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.upgrade_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.pennant_item_id_) - + reinterpret_cast(&_impl_.upgrade_item_id_)) + sizeof(_impl_.pennant_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgApplyPennantUpgrade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 upgrade_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_upgrade_item_id(&has_bits); + _impl_.upgrade_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 pennant_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_pennant_item_id(&has_bits); + _impl_.pennant_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgApplyPennantUpgrade::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyPennantUpgrade) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 upgrade_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_upgrade_item_id(), target); + } + + // optional uint64 pennant_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_pennant_item_id(), 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:CMsgApplyPennantUpgrade) + return target; +} + +size_t CMsgApplyPennantUpgrade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgApplyPennantUpgrade) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 upgrade_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_upgrade_item_id()); + } + + // optional uint64 pennant_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pennant_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyPennantUpgrade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgApplyPennantUpgrade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyPennantUpgrade::GetClassData() const { return &_class_data_; } + + +void CMsgApplyPennantUpgrade::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:CMsgApplyPennantUpgrade) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.upgrade_item_id_ = from._impl_.upgrade_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pennant_item_id_ = from._impl_.pennant_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgApplyPennantUpgrade::CopyFrom(const CMsgApplyPennantUpgrade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyPennantUpgrade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgApplyPennantUpgrade::IsInitialized() const { + return true; +} + +void CMsgApplyPennantUpgrade::InternalSwap(CMsgApplyPennantUpgrade* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgApplyPennantUpgrade, _impl_.pennant_item_id_) + + sizeof(CMsgApplyPennantUpgrade::_impl_.pennant_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgApplyPennantUpgrade, _impl_.upgrade_item_id_)>( + reinterpret_cast(&_impl_.upgrade_item_id_), + reinterpret_cast(&other->_impl_.upgrade_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyPennantUpgrade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[23]); +} + +// =================================================================== + +class CMsgApplyEggEssence::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_essence_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_egg_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgApplyEggEssence::CMsgApplyEggEssence(::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:CMsgApplyEggEssence) +} +CMsgApplyEggEssence::CMsgApplyEggEssence(const CMsgApplyEggEssence& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgApplyEggEssence* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.essence_item_id_){} + , decltype(_impl_.egg_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.essence_item_id_, &from._impl_.essence_item_id_, + static_cast(reinterpret_cast(&_impl_.egg_item_id_) - + reinterpret_cast(&_impl_.essence_item_id_)) + sizeof(_impl_.egg_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgApplyEggEssence) +} + +inline void CMsgApplyEggEssence::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.essence_item_id_){uint64_t{0u}} + , decltype(_impl_.egg_item_id_){uint64_t{0u}} + }; +} + +CMsgApplyEggEssence::~CMsgApplyEggEssence() { + // @@protoc_insertion_point(destructor:CMsgApplyEggEssence) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgApplyEggEssence::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgApplyEggEssence::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgApplyEggEssence::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgApplyEggEssence) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.essence_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.egg_item_id_) - + reinterpret_cast(&_impl_.essence_item_id_)) + sizeof(_impl_.egg_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgApplyEggEssence::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 essence_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_essence_item_id(&has_bits); + _impl_.essence_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 egg_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_egg_item_id(&has_bits); + _impl_.egg_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgApplyEggEssence::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyEggEssence) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 essence_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_essence_item_id(), target); + } + + // optional uint64 egg_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_egg_item_id(), 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:CMsgApplyEggEssence) + return target; +} + +size_t CMsgApplyEggEssence::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgApplyEggEssence) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 essence_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_essence_item_id()); + } + + // optional uint64 egg_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_egg_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyEggEssence::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgApplyEggEssence::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyEggEssence::GetClassData() const { return &_class_data_; } + + +void CMsgApplyEggEssence::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:CMsgApplyEggEssence) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.essence_item_id_ = from._impl_.essence_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.egg_item_id_ = from._impl_.egg_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgApplyEggEssence::CopyFrom(const CMsgApplyEggEssence& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyEggEssence) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgApplyEggEssence::IsInitialized() const { + return true; +} + +void CMsgApplyEggEssence::InternalSwap(CMsgApplyEggEssence* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgApplyEggEssence, _impl_.egg_item_id_) + + sizeof(CMsgApplyEggEssence::_impl_.egg_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgApplyEggEssence, _impl_.essence_item_id_)>( + reinterpret_cast(&_impl_.essence_item_id_), + reinterpret_cast(&other->_impl_.essence_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyEggEssence::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[24]); +} + +// =================================================================== + +class CSOEconItemAttribute::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_value_bytes(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOEconItemAttribute::CSOEconItemAttribute(::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:CSOEconItemAttribute) +} +CSOEconItemAttribute::CSOEconItemAttribute(const CSOEconItemAttribute& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItemAttribute* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_bytes_){} + , decltype(_impl_.def_index_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.value_bytes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_bytes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value_bytes()) { + _this->_impl_.value_bytes_.Set(from._internal_value_bytes(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.def_index_, &from._impl_.def_index_, + static_cast(reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.value_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItemAttribute) +} + +inline void CSOEconItemAttribute::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_bytes_){} + , decltype(_impl_.def_index_){0u} + , decltype(_impl_.value_){0u} + }; + _impl_.value_bytes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_bytes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOEconItemAttribute::~CSOEconItemAttribute() { + // @@protoc_insertion_point(destructor:CSOEconItemAttribute) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItemAttribute::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.value_bytes_.Destroy(); +} + +void CSOEconItemAttribute::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItemAttribute::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItemAttribute) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.value_bytes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.def_index_, 0, static_cast( + reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItemAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 def_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_def_index(&has_bits); + _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes value_bytes = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_value_bytes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItemAttribute::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemAttribute) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 def_index = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_def_index(), target); + } + + // optional uint32 value = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_value(), target); + } + + // optional bytes value_bytes = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_value_bytes(), 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:CSOEconItemAttribute) + return target; +} + +size_t CSOEconItemAttribute::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItemAttribute) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes value_bytes = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_value_bytes()); + } + + // optional uint32 def_index = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); + } + + // optional uint32 value = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemAttribute::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItemAttribute::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemAttribute::GetClassData() const { return &_class_data_; } + + +void CSOEconItemAttribute::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:CSOEconItemAttribute) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_value_bytes(from._internal_value_bytes()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.def_index_ = from._impl_.def_index_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItemAttribute::CopyFrom(const CSOEconItemAttribute& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemAttribute) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItemAttribute::IsInitialized() const { + return true; +} + +void CSOEconItemAttribute::InternalSwap(CSOEconItemAttribute* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_bytes_, lhs_arena, + &other->_impl_.value_bytes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItemAttribute, _impl_.value_) + + sizeof(CSOEconItemAttribute::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(CSOEconItemAttribute, _impl_.def_index_)>( + reinterpret_cast(&_impl_.def_index_), + reinterpret_cast(&other->_impl_.def_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemAttribute::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[25]); +} + +// =================================================================== + +class CSOEconItemEquipped::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_new_class(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_new_slot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSOEconItemEquipped::CSOEconItemEquipped(::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:CSOEconItemEquipped) +} +CSOEconItemEquipped::CSOEconItemEquipped(const CSOEconItemEquipped& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItemEquipped* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.new_class_){} + , decltype(_impl_.new_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.new_class_, &from._impl_.new_class_, + static_cast(reinterpret_cast(&_impl_.new_slot_) - + reinterpret_cast(&_impl_.new_class_)) + sizeof(_impl_.new_slot_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItemEquipped) +} + +inline void CSOEconItemEquipped::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.new_class_){0u} + , decltype(_impl_.new_slot_){0u} + }; +} + +CSOEconItemEquipped::~CSOEconItemEquipped() { + // @@protoc_insertion_point(destructor:CSOEconItemEquipped) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItemEquipped::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconItemEquipped::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItemEquipped::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItemEquipped) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.new_class_, 0, static_cast( + reinterpret_cast(&_impl_.new_slot_) - + reinterpret_cast(&_impl_.new_class_)) + sizeof(_impl_.new_slot_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItemEquipped::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 new_class = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_new_class(&has_bits); + _impl_.new_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 new_slot = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_new_slot(&has_bits); + _impl_.new_slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItemEquipped::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemEquipped) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 new_class = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_new_class(), target); + } + + // optional uint32 new_slot = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_new_slot(), 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:CSOEconItemEquipped) + return target; +} + +size_t CSOEconItemEquipped::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItemEquipped) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 new_class = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_new_class()); + } + + // optional uint32 new_slot = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_new_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemEquipped::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItemEquipped::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemEquipped::GetClassData() const { return &_class_data_; } + + +void CSOEconItemEquipped::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:CSOEconItemEquipped) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.new_class_ = from._impl_.new_class_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.new_slot_ = from._impl_.new_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItemEquipped::CopyFrom(const CSOEconItemEquipped& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemEquipped) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItemEquipped::IsInitialized() const { + return true; +} + +void CSOEconItemEquipped::InternalSwap(CSOEconItemEquipped* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItemEquipped, _impl_.new_slot_) + + sizeof(CSOEconItemEquipped::_impl_.new_slot_) + - PROTOBUF_FIELD_OFFSET(CSOEconItemEquipped, _impl_.new_class_)>( + reinterpret_cast(&_impl_.new_class_), + reinterpret_cast(&other->_impl_.new_class_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemEquipped::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[26]); +} + +// =================================================================== + +class CSOEconItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_quantity(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_level(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_quality(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_custom_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_custom_desc(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CSOEconItem& interior_item(const CSOEconItem* msg); + static void set_has_interior_item(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_in_use(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_style(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_original_id(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_rarity(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } +}; + +const ::CSOEconItem& +CSOEconItem::_Internal::interior_item(const CSOEconItem* msg) { + return *msg->_impl_.interior_item_; +} +CSOEconItem::CSOEconItem(::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:CSOEconItem) +} +CSOEconItem::CSOEconItem(const CSOEconItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attribute_){from._impl_.attribute_} + , decltype(_impl_.equipped_state_){from._impl_.equipped_state_} + , decltype(_impl_.custom_name_){} + , decltype(_impl_.custom_desc_){} + , decltype(_impl_.interior_item_){nullptr} + , decltype(_impl_.id_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.inventory_){} + , decltype(_impl_.def_index_){} + , decltype(_impl_.quantity_){} + , decltype(_impl_.level_){} + , decltype(_impl_.quality_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.origin_){} + , decltype(_impl_.in_use_){} + , decltype(_impl_.style_){} + , decltype(_impl_.original_id_){} + , decltype(_impl_.rarity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.custom_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.custom_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_custom_name()) { + _this->_impl_.custom_name_.Set(from._internal_custom_name(), + _this->GetArenaForAllocation()); + } + _impl_.custom_desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.custom_desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_custom_desc()) { + _this->_impl_.custom_desc_.Set(from._internal_custom_desc(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_interior_item()) { + _this->_impl_.interior_item_ = new ::CSOEconItem(*from._impl_.interior_item_); + } + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.rarity_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.rarity_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItem) +} + +inline void CSOEconItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attribute_){arena} + , decltype(_impl_.equipped_state_){arena} + , decltype(_impl_.custom_name_){} + , decltype(_impl_.custom_desc_){} + , decltype(_impl_.interior_item_){nullptr} + , decltype(_impl_.id_){uint64_t{0u}} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.inventory_){0u} + , decltype(_impl_.def_index_){0u} + , decltype(_impl_.quantity_){0u} + , decltype(_impl_.level_){0u} + , decltype(_impl_.quality_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.origin_){0u} + , decltype(_impl_.in_use_){false} + , decltype(_impl_.style_){0u} + , decltype(_impl_.original_id_){uint64_t{0u}} + , decltype(_impl_.rarity_){0u} + }; + _impl_.custom_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.custom_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.custom_desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.custom_desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOEconItem::~CSOEconItem() { + // @@protoc_insertion_point(destructor:CSOEconItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.attribute_.~RepeatedPtrField(); + _impl_.equipped_state_.~RepeatedPtrField(); + _impl_.custom_name_.Destroy(); + _impl_.custom_desc_.Destroy(); + if (this != internal_default_instance()) delete _impl_.interior_item_; +} + +void CSOEconItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.attribute_.Clear(); + _impl_.equipped_state_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.custom_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.custom_desc_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.interior_item_ != nullptr); + _impl_.interior_item_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.quantity_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.level_, 0, static_cast( + reinterpret_cast(&_impl_.rarity_) - + reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.rarity_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 inventory = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_inventory(&has_bits); + _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 def_index = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_def_index(&has_bits); + _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_quantity(&has_bits); + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 level = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_level(&has_bits); + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_quality(&has_bits); + _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 8 [default = 0]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 origin = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_origin(&has_bits); + _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string custom_name = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_custom_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOEconItem.custom_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string custom_desc = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_custom_desc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOEconItem.custom_desc"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CSOEconItemAttribute attribute = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_attribute(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); + } else + goto handle_unusual; + continue; + // optional .CSOEconItem interior_item = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_interior_item(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool in_use = 14 [default = false]; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_in_use(&has_bits); + _impl_.in_use_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 style = 15 [default = 0]; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_style(&has_bits); + _impl_.style_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 original_id = 16 [default = 0]; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_original_id(&has_bits); + _impl_.original_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSOEconItemEquipped equipped_state = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_equipped_state(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<146>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 rarity = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_rarity(&has_bits); + _impl_.rarity_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 id = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), target); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); + } + + // optional uint32 inventory = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_inventory(), target); + } + + // optional uint32 def_index = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_def_index(), target); + } + + // optional uint32 quantity = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_quantity(), target); + } + + // optional uint32 level = 6; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_level(), target); + } + + // optional uint32 quality = 7; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_quality(), target); + } + + // optional uint32 flags = 8 [default = 0]; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_flags(), target); + } + + // optional uint32 origin = 9; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_origin(), target); + } + + // optional string custom_name = 10; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_custom_name().data(), static_cast(this->_internal_custom_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOEconItem.custom_name"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_custom_name(), target); + } + + // optional string custom_desc = 11; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_custom_desc().data(), static_cast(this->_internal_custom_desc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOEconItem.custom_desc"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_custom_desc(), target); + } + + // repeated .CSOEconItemAttribute attribute = 12; + for (unsigned i = 0, + n = static_cast(this->_internal_attribute_size()); i < n; i++) { + const auto& repfield = this->_internal_attribute(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .CSOEconItem interior_item = 13; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::interior_item(this), + _Internal::interior_item(this).GetCachedSize(), target, stream); + } + + // optional bool in_use = 14 [default = false]; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(14, this->_internal_in_use(), target); + } + + // optional uint32 style = 15 [default = 0]; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_style(), target); + } + + // optional uint64 original_id = 16 [default = 0]; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(16, this->_internal_original_id(), target); + } + + // repeated .CSOEconItemEquipped equipped_state = 18; + for (unsigned i = 0, + n = static_cast(this->_internal_equipped_state_size()); i < n; i++) { + const auto& repfield = this->_internal_equipped_state(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 rarity = 19; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_rarity(), 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:CSOEconItem) + return target; +} + +size_t CSOEconItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItem) + 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 .CSOEconItemAttribute attribute = 12; + total_size += 1UL * this->_internal_attribute_size(); + for (const auto& msg : this->_impl_.attribute_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CSOEconItemEquipped equipped_state = 18; + total_size += 2UL * this->_internal_equipped_state_size(); + for (const auto& msg : this->_impl_.equipped_state_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string custom_name = 10; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_custom_name()); + } + + // optional string custom_desc = 11; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_custom_desc()); + } + + // optional .CSOEconItem interior_item = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.interior_item_); + } + + // optional uint64 id = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 inventory = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); + } + + // optional uint32 def_index = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); + } + + // optional uint32 quantity = 5; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quantity()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 level = 6; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_level()); + } + + // optional uint32 quality = 7; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); + } + + // optional uint32 flags = 8 [default = 0]; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 origin = 9; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); + } + + // optional bool in_use = 14 [default = false]; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 1; + } + + // optional uint32 style = 15 [default = 0]; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_style()); + } + + // optional uint64 original_id = 16 [default = 0]; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_original_id()); + } + + // optional uint32 rarity = 19; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_rarity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItem::GetClassData() const { return &_class_data_; } + + +void CSOEconItem::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:CSOEconItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.attribute_.MergeFrom(from._impl_.attribute_); + _this->_impl_.equipped_state_.MergeFrom(from._impl_.equipped_state_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_custom_name(from._internal_custom_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_custom_desc(from._internal_custom_desc()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_interior_item()->::CSOEconItem::MergeFrom( + from._internal_interior_item()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.inventory_ = from._impl_.inventory_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.def_index_ = from._impl_.def_index_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.quantity_ = from._impl_.quantity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.level_ = from._impl_.level_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.quality_ = from._impl_.quality_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.origin_ = from._impl_.origin_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.in_use_ = from._impl_.in_use_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.style_ = from._impl_.style_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.original_id_ = from._impl_.original_id_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.rarity_ = from._impl_.rarity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItem::CopyFrom(const CSOEconItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItem::IsInitialized() const { + return true; +} + +void CSOEconItem::InternalSwap(CSOEconItem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attribute_.InternalSwap(&other->_impl_.attribute_); + _impl_.equipped_state_.InternalSwap(&other->_impl_.equipped_state_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.custom_name_, lhs_arena, + &other->_impl_.custom_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.custom_desc_, lhs_arena, + &other->_impl_.custom_desc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItem, _impl_.rarity_) + + sizeof(CSOEconItem::_impl_.rarity_) + - PROTOBUF_FIELD_OFFSET(CSOEconItem, _impl_.interior_item_)>( + reinterpret_cast(&_impl_.interior_item_), + reinterpret_cast(&other->_impl_.interior_item_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[27]); +} + +// =================================================================== + +class CMsgSortItems::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sort_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSortItems::CMsgSortItems(::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:CMsgSortItems) +} +CMsgSortItems::CMsgSortItems(const CMsgSortItems& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSortItems* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sort_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.sort_type_ = from._impl_.sort_type_; + // @@protoc_insertion_point(copy_constructor:CMsgSortItems) +} + +inline void CMsgSortItems::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sort_type_){0u} + }; +} + +CMsgSortItems::~CMsgSortItems() { + // @@protoc_insertion_point(destructor:CMsgSortItems) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSortItems::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSortItems::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSortItems::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSortItems) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.sort_type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSortItems::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 sort_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sort_type(&has_bits); + _impl_.sort_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSortItems::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSortItems) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 sort_type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sort_type(), 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:CMsgSortItems) + return target; +} + +size_t CMsgSortItems::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSortItems) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 sort_type = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sort_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSortItems::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSortItems::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSortItems::GetClassData() const { return &_class_data_; } + + +void CMsgSortItems::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:CMsgSortItems) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_sort_type()) { + _this->_internal_set_sort_type(from._internal_sort_type()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSortItems::CopyFrom(const CMsgSortItems& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSortItems) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSortItems::IsInitialized() const { + return true; +} + +void CMsgSortItems::InternalSwap(CMsgSortItems* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.sort_type_, other->_impl_.sort_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSortItems::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[28]); +} + +// =================================================================== + +class CSOEconClaimCode::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_code_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_time_acquired(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_code(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOEconClaimCode::CSOEconClaimCode(::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:CSOEconClaimCode) +} +CSOEconClaimCode::CSOEconClaimCode(const CSOEconClaimCode& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconClaimCode* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.code_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.code_type_){} + , decltype(_impl_.time_acquired_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_code()) { + _this->_impl_.code_.Set(from._internal_code(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.time_acquired_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.time_acquired_)); + // @@protoc_insertion_point(copy_constructor:CSOEconClaimCode) +} + +inline void CSOEconClaimCode::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.code_){} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.code_type_){0u} + , decltype(_impl_.time_acquired_){0u} + }; + _impl_.code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSOEconClaimCode::~CSOEconClaimCode() { + // @@protoc_insertion_point(destructor:CSOEconClaimCode) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconClaimCode::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.code_.Destroy(); +} + +void CSOEconClaimCode::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconClaimCode::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconClaimCode) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.code_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.time_acquired_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.time_acquired_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconClaimCode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 code_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_code_type(&has_bits); + _impl_.code_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_acquired = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_time_acquired(&has_bits); + _impl_.time_acquired_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string code = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_code(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSOEconClaimCode.code"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconClaimCode::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconClaimCode) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 code_type = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_code_type(), target); + } + + // optional uint32 time_acquired = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_time_acquired(), target); + } + + // optional string code = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_code().data(), static_cast(this->_internal_code().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSOEconClaimCode.code"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_code(), 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:CSOEconClaimCode) + return target; +} + +size_t CSOEconClaimCode::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconClaimCode) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string code = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_code()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 code_type = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_code_type()); + } + + // optional uint32 time_acquired = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_acquired()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconClaimCode::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconClaimCode::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconClaimCode::GetClassData() const { return &_class_data_; } + + +void CSOEconClaimCode::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:CSOEconClaimCode) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_code(from._internal_code()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.code_type_ = from._impl_.code_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.time_acquired_ = from._impl_.time_acquired_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconClaimCode::CopyFrom(const CSOEconClaimCode& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconClaimCode) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconClaimCode::IsInitialized() const { + return true; +} + +void CSOEconClaimCode::InternalSwap(CSOEconClaimCode* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.code_, lhs_arena, + &other->_impl_.code_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconClaimCode, _impl_.time_acquired_) + + sizeof(CSOEconClaimCode::_impl_.time_acquired_) + - PROTOBUF_FIELD_OFFSET(CSOEconClaimCode, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconClaimCode::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[29]); +} + +// =================================================================== + +class CMsgStoreGetUserData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_price_sheet_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_currency(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgStoreGetUserData::CMsgStoreGetUserData(::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:CMsgStoreGetUserData) +} +CMsgStoreGetUserData::CMsgStoreGetUserData(const CMsgStoreGetUserData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgStoreGetUserData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.price_sheet_version_){} + , decltype(_impl_.currency_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.price_sheet_version_, &from._impl_.price_sheet_version_, + static_cast(reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.price_sheet_version_)) + sizeof(_impl_.currency_)); + // @@protoc_insertion_point(copy_constructor:CMsgStoreGetUserData) +} + +inline void CMsgStoreGetUserData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.price_sheet_version_){0u} + , decltype(_impl_.currency_){0} + }; +} + +CMsgStoreGetUserData::~CMsgStoreGetUserData() { + // @@protoc_insertion_point(destructor:CMsgStoreGetUserData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgStoreGetUserData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgStoreGetUserData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgStoreGetUserData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgStoreGetUserData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.price_sheet_version_, 0, static_cast( + reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.price_sheet_version_)) + sizeof(_impl_.currency_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgStoreGetUserData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 price_sheet_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_price_sheet_version(&has_bits); + _impl_.price_sheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 currency = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_currency(&has_bits); + _impl_.currency_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgStoreGetUserData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgStoreGetUserData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 price_sheet_version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_price_sheet_version(), target); + } + + // optional int32 currency = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_currency(), 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:CMsgStoreGetUserData) + return target; +} + +size_t CMsgStoreGetUserData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgStoreGetUserData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed32 price_sheet_version = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional int32 currency = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgStoreGetUserData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgStoreGetUserData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgStoreGetUserData::GetClassData() const { return &_class_data_; } + + +void CMsgStoreGetUserData::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:CMsgStoreGetUserData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.price_sheet_version_ = from._impl_.price_sheet_version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.currency_ = from._impl_.currency_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgStoreGetUserData::CopyFrom(const CMsgStoreGetUserData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgStoreGetUserData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgStoreGetUserData::IsInitialized() const { + return true; +} + +void CMsgStoreGetUserData::InternalSwap(CMsgStoreGetUserData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserData, _impl_.currency_) + + sizeof(CMsgStoreGetUserData::_impl_.currency_) + - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserData, _impl_.price_sheet_version_)>( + reinterpret_cast(&_impl_.price_sheet_version_), + reinterpret_cast(&other->_impl_.price_sheet_version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgStoreGetUserData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[30]); +} + +// =================================================================== + +class CMsgStoreGetUserDataResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_currency_deprecated(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_country_deprecated(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_price_sheet_version(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_price_sheet(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse(::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:CMsgStoreGetUserDataResponse) +} +CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse(const CMsgStoreGetUserDataResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgStoreGetUserDataResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_deprecated_){} + , decltype(_impl_.price_sheet_){} + , decltype(_impl_.result_){} + , decltype(_impl_.currency_deprecated_){} + , decltype(_impl_.price_sheet_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.country_deprecated_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_deprecated_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_country_deprecated()) { + _this->_impl_.country_deprecated_.Set(from._internal_country_deprecated(), + _this->GetArenaForAllocation()); + } + _impl_.price_sheet_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.price_sheet_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_price_sheet()) { + _this->_impl_.price_sheet_.Set(from._internal_price_sheet(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.result_, &from._impl_.result_, + static_cast(reinterpret_cast(&_impl_.price_sheet_version_) - + reinterpret_cast(&_impl_.result_)) + sizeof(_impl_.price_sheet_version_)); + // @@protoc_insertion_point(copy_constructor:CMsgStoreGetUserDataResponse) +} + +inline void CMsgStoreGetUserDataResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_deprecated_){} + , decltype(_impl_.price_sheet_){} + , decltype(_impl_.result_){0} + , decltype(_impl_.currency_deprecated_){0} + , decltype(_impl_.price_sheet_version_){0u} + }; + _impl_.country_deprecated_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_deprecated_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.price_sheet_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.price_sheet_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgStoreGetUserDataResponse::~CMsgStoreGetUserDataResponse() { + // @@protoc_insertion_point(destructor:CMsgStoreGetUserDataResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgStoreGetUserDataResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.country_deprecated_.Destroy(); + _impl_.price_sheet_.Destroy(); +} + +void CMsgStoreGetUserDataResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgStoreGetUserDataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgStoreGetUserDataResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.country_deprecated_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.price_sheet_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.result_, 0, static_cast( + reinterpret_cast(&_impl_.price_sheet_version_) - + reinterpret_cast(&_impl_.result_)) + sizeof(_impl_.price_sheet_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgStoreGetUserDataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 result = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_result(&has_bits); + _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 currency_deprecated = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_currency_deprecated(&has_bits); + _impl_.currency_deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string country_deprecated = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_country_deprecated(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgStoreGetUserDataResponse.country_deprecated"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed32 price_sheet_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_price_sheet_version(&has_bits); + _impl_.price_sheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes price_sheet = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_price_sheet(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgStoreGetUserDataResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgStoreGetUserDataResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 result = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_result(), target); + } + + // optional int32 currency_deprecated = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_currency_deprecated(), target); + } + + // optional string country_deprecated = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_country_deprecated().data(), static_cast(this->_internal_country_deprecated().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgStoreGetUserDataResponse.country_deprecated"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_country_deprecated(), target); + } + + // optional fixed32 price_sheet_version = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_price_sheet_version(), target); + } + + // optional bytes price_sheet = 8; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_price_sheet(), 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:CMsgStoreGetUserDataResponse) + return target; +} + +size_t CMsgStoreGetUserDataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgStoreGetUserDataResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string country_deprecated = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_country_deprecated()); + } + + // optional bytes price_sheet = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_price_sheet()); + } + + // optional int32 result = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result()); + } + + // optional int32 currency_deprecated = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency_deprecated()); + } + + // optional fixed32 price_sheet_version = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgStoreGetUserDataResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgStoreGetUserDataResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgStoreGetUserDataResponse::GetClassData() const { return &_class_data_; } + + +void CMsgStoreGetUserDataResponse::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:CMsgStoreGetUserDataResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_country_deprecated(from._internal_country_deprecated()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_price_sheet(from._internal_price_sheet()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.result_ = from._impl_.result_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.currency_deprecated_ = from._impl_.currency_deprecated_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.price_sheet_version_ = from._impl_.price_sheet_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgStoreGetUserDataResponse::CopyFrom(const CMsgStoreGetUserDataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgStoreGetUserDataResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgStoreGetUserDataResponse::IsInitialized() const { + return true; +} + +void CMsgStoreGetUserDataResponse::InternalSwap(CMsgStoreGetUserDataResponse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.country_deprecated_, lhs_arena, + &other->_impl_.country_deprecated_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.price_sheet_, lhs_arena, + &other->_impl_.price_sheet_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _impl_.price_sheet_version_) + + sizeof(CMsgStoreGetUserDataResponse::_impl_.price_sheet_version_) + - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _impl_.result_)>( + reinterpret_cast(&_impl_.result_), + reinterpret_cast(&other->_impl_.result_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgStoreGetUserDataResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[31]); +} + +// =================================================================== + +class CMsgUpdateItemSchema::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_items_game(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_schema_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_items_game_url(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgUpdateItemSchema::CMsgUpdateItemSchema(::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:CMsgUpdateItemSchema) +} +CMsgUpdateItemSchema::CMsgUpdateItemSchema(const CMsgUpdateItemSchema& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgUpdateItemSchema* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_game_){} + , decltype(_impl_.items_game_url_){} + , decltype(_impl_.item_schema_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.items_game_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.items_game_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_items_game()) { + _this->_impl_.items_game_.Set(from._internal_items_game(), + _this->GetArenaForAllocation()); + } + _impl_.items_game_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.items_game_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_items_game_url()) { + _this->_impl_.items_game_url_.Set(from._internal_items_game_url(), + _this->GetArenaForAllocation()); + } + _this->_impl_.item_schema_version_ = from._impl_.item_schema_version_; + // @@protoc_insertion_point(copy_constructor:CMsgUpdateItemSchema) +} + +inline void CMsgUpdateItemSchema::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_game_){} + , decltype(_impl_.items_game_url_){} + , decltype(_impl_.item_schema_version_){0u} + }; + _impl_.items_game_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.items_game_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.items_game_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.items_game_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgUpdateItemSchema::~CMsgUpdateItemSchema() { + // @@protoc_insertion_point(destructor:CMsgUpdateItemSchema) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgUpdateItemSchema::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_game_.Destroy(); + _impl_.items_game_url_.Destroy(); +} + +void CMsgUpdateItemSchema::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgUpdateItemSchema::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgUpdateItemSchema) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.items_game_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.items_game_url_.ClearNonDefaultToEmpty(); + } + } + _impl_.item_schema_version_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgUpdateItemSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes items_game = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_items_game(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 item_schema_version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_item_schema_version(&has_bits); + _impl_.item_schema_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string items_game_url = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_items_game_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgUpdateItemSchema.items_game_url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgUpdateItemSchema::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgUpdateItemSchema) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes items_game = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_items_game(), target); + } + + // optional fixed32 item_schema_version = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_item_schema_version(), target); + } + + // optional string items_game_url = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_items_game_url().data(), static_cast(this->_internal_items_game_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgUpdateItemSchema.items_game_url"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_items_game_url(), 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:CMsgUpdateItemSchema) + return target; +} + +size_t CMsgUpdateItemSchema::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgUpdateItemSchema) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes items_game = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_items_game()); + } + + // optional string items_game_url = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_items_game_url()); + } + + // optional fixed32 item_schema_version = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgUpdateItemSchema::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgUpdateItemSchema::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgUpdateItemSchema::GetClassData() const { return &_class_data_; } + + +void CMsgUpdateItemSchema::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:CMsgUpdateItemSchema) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_items_game(from._internal_items_game()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_items_game_url(from._internal_items_game_url()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_schema_version_ = from._impl_.item_schema_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgUpdateItemSchema::CopyFrom(const CMsgUpdateItemSchema& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgUpdateItemSchema) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgUpdateItemSchema::IsInitialized() const { + return true; +} + +void CMsgUpdateItemSchema::InternalSwap(CMsgUpdateItemSchema* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.items_game_, lhs_arena, + &other->_impl_.items_game_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.items_game_url_, lhs_arena, + &other->_impl_.items_game_url_, rhs_arena + ); + swap(_impl_.item_schema_version_, other->_impl_.item_schema_version_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgUpdateItemSchema::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[32]); +} + +// =================================================================== + +class CMsgGCError::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_error_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCError::CMsgGCError(::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:CMsgGCError) +} +CMsgGCError::CMsgGCError(const CMsgGCError& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCError* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.error_text_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.error_text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_error_text()) { + _this->_impl_.error_text_.Set(from._internal_error_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCError) +} + +inline void CMsgGCError::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.error_text_){} + }; + _impl_.error_text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCError::~CMsgGCError() { + // @@protoc_insertion_point(destructor:CMsgGCError) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCError::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.error_text_.Destroy(); +} + +void CMsgGCError::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCError::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCError) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.error_text_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string error_text = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_error_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCError.error_text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCError::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCError) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string error_text = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_error_text().data(), static_cast(this->_internal_error_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCError.error_text"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_error_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:CMsgGCError) + return target; +} + +size_t CMsgGCError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCError) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string error_text = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_error_text()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCError::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCError::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCError::GetClassData() const { return &_class_data_; } + + +void CMsgGCError::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:CMsgGCError) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_error_text()) { + _this->_internal_set_error_text(from._internal_error_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCError::CopyFrom(const CMsgGCError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCError::IsInitialized() const { + return true; +} + +void CMsgGCError::InternalSwap(CMsgGCError* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.error_text_, lhs_arena, + &other->_impl_.error_text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCError::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[33]); +} + +// =================================================================== + +class CMsgRequestInventoryRefresh::_Internal { + public: +}; + +CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgRequestInventoryRefresh) +} +CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh(const CMsgRequestInventoryRefresh& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgRequestInventoryRefresh* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgRequestInventoryRefresh) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRequestInventoryRefresh::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRequestInventoryRefresh::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgRequestInventoryRefresh::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[34]); +} + +// =================================================================== + +class CMsgConVarValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgConVarValue::CMsgConVarValue(::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:CMsgConVarValue) +} +CMsgConVarValue::CMsgConVarValue(const CMsgConVarValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgConVarValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgConVarValue) +} + +inline void CMsgConVarValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgConVarValue::~CMsgConVarValue() { + // @@protoc_insertion_point(destructor:CMsgConVarValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgConVarValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.value_.Destroy(); +} + +void CMsgConVarValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgConVarValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgConVarValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgConVarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgConVarValue.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgConVarValue.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgConVarValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgConVarValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgConVarValue.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgConVarValue.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:CMsgConVarValue) + return target; +} + +size_t CMsgConVarValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgConVarValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConVarValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgConVarValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConVarValue::GetClassData() const { return &_class_data_; } + + +void CMsgConVarValue::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:CMsgConVarValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgConVarValue::CopyFrom(const CMsgConVarValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConVarValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgConVarValue::IsInitialized() const { + return true; +} + +void CMsgConVarValue::InternalSwap(CMsgConVarValue* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgConVarValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[35]); +} + +// =================================================================== + +class CMsgReplicateConVars::_Internal { + public: +}; + +CMsgReplicateConVars::CMsgReplicateConVars(::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:CMsgReplicateConVars) +} +CMsgReplicateConVars::CMsgReplicateConVars(const CMsgReplicateConVars& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgReplicateConVars* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.convars_){from._impl_.convars_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgReplicateConVars) +} + +inline void CMsgReplicateConVars::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.convars_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgReplicateConVars::~CMsgReplicateConVars() { + // @@protoc_insertion_point(destructor:CMsgReplicateConVars) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgReplicateConVars::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.convars_.~RepeatedPtrField(); +} + +void CMsgReplicateConVars::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgReplicateConVars::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgReplicateConVars) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.convars_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgReplicateConVars::_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 .CMsgConVarValue convars = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_convars(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgReplicateConVars::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgReplicateConVars) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgConVarValue convars = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_convars_size()); i < n; i++) { + const auto& repfield = this->_internal_convars(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgReplicateConVars) + return target; +} + +size_t CMsgReplicateConVars::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgReplicateConVars) + 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 .CMsgConVarValue convars = 1; + total_size += 1UL * this->_internal_convars_size(); + for (const auto& msg : this->_impl_.convars_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgReplicateConVars::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgReplicateConVars::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgReplicateConVars::GetClassData() const { return &_class_data_; } + + +void CMsgReplicateConVars::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:CMsgReplicateConVars) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.convars_.MergeFrom(from._impl_.convars_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgReplicateConVars::CopyFrom(const CMsgReplicateConVars& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgReplicateConVars) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgReplicateConVars::IsInitialized() const { + return true; +} + +void CMsgReplicateConVars::InternalSwap(CMsgReplicateConVars* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.convars_.InternalSwap(&other->_impl_.convars_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgReplicateConVars::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[36]); +} + +// =================================================================== + +class CMsgUseItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_target_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_duel__class_lock(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_initiator_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgUseItem::CMsgUseItem(::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:CMsgUseItem) +} +CMsgUseItem::CMsgUseItem(const CMsgUseItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgUseItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gift__potential_targets_){from._impl_.gift__potential_targets_} + , decltype(_impl_.item_id_){} + , decltype(_impl_.target_steam_id_){} + , decltype(_impl_.initiator_steam_id_){} + , decltype(_impl_.duel__class_lock_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, + static_cast(reinterpret_cast(&_impl_.duel__class_lock_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.duel__class_lock_)); + // @@protoc_insertion_point(copy_constructor:CMsgUseItem) +} + +inline void CMsgUseItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gift__potential_targets_){arena} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.target_steam_id_){uint64_t{0u}} + , decltype(_impl_.initiator_steam_id_){uint64_t{0u}} + , decltype(_impl_.duel__class_lock_){0u} + }; +} + +CMsgUseItem::~CMsgUseItem() { + // @@protoc_insertion_point(destructor:CMsgUseItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgUseItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gift__potential_targets_.~RepeatedField(); +} + +void CMsgUseItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgUseItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgUseItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.gift__potential_targets_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.item_id_, 0, static_cast( + reinterpret_cast(&_impl_.duel__class_lock_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.duel__class_lock_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgUseItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 target_steam_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_target_steam_id(&has_bits); + _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated uint32 gift__potential_targets = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_gift__potential_targets(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_gift__potential_targets(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 duel__class_lock = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_duel__class_lock(&has_bits); + _impl_.duel__class_lock_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 initiator_steam_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { + _Internal::set_has_initiator_steam_id(&has_bits); + _impl_.initiator_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgUseItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgUseItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); + } + + // optional fixed64 target_steam_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_target_steam_id(), target); + } + + // repeated uint32 gift__potential_targets = 3; + for (int i = 0, n = this->_internal_gift__potential_targets_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_gift__potential_targets(i), target); + } + + // optional uint32 duel__class_lock = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_duel__class_lock(), target); + } + + // optional fixed64 initiator_steam_id = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_initiator_steam_id(), 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:CMsgUseItem) + return target; +} + +size_t CMsgUseItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgUseItem) + 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 uint32 gift__potential_targets = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.gift__potential_targets_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_gift__potential_targets_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional fixed64 target_steam_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional fixed64 initiator_steam_id = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional uint32 duel__class_lock = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duel__class_lock()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgUseItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgUseItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgUseItem::GetClassData() const { return &_class_data_; } + + +void CMsgUseItem::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:CMsgUseItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.gift__potential_targets_.MergeFrom(from._impl_.gift__potential_targets_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.initiator_steam_id_ = from._impl_.initiator_steam_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.duel__class_lock_ = from._impl_.duel__class_lock_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgUseItem::CopyFrom(const CMsgUseItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgUseItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgUseItem::IsInitialized() const { + return true; +} + +void CMsgUseItem::InternalSwap(CMsgUseItem* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.gift__potential_targets_.InternalSwap(&other->_impl_.gift__potential_targets_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgUseItem, _impl_.duel__class_lock_) + + sizeof(CMsgUseItem::_impl_.duel__class_lock_) + - PROTOBUF_FIELD_OFFSET(CMsgUseItem, _impl_.item_id_)>( + reinterpret_cast(&_impl_.item_id_), + reinterpret_cast(&other->_impl_.item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgUseItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[37]); +} + +// =================================================================== + +class CMsgReplayUploadedToYouTube::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_youtube_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_youtube_account_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube(::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:CMsgReplayUploadedToYouTube) +} +CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube(const CMsgReplayUploadedToYouTube& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgReplayUploadedToYouTube* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.youtube_url_){} + , decltype(_impl_.youtube_account_name_){} + , decltype(_impl_.session_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.youtube_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtube_url()) { + _this->_impl_.youtube_url_.Set(from._internal_youtube_url(), + _this->GetArenaForAllocation()); + } + _impl_.youtube_account_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtube_account_name()) { + _this->_impl_.youtube_account_name_.Set(from._internal_youtube_account_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.session_id_ = from._impl_.session_id_; + // @@protoc_insertion_point(copy_constructor:CMsgReplayUploadedToYouTube) +} + +inline void CMsgReplayUploadedToYouTube::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.youtube_url_){} + , decltype(_impl_.youtube_account_name_){} + , decltype(_impl_.session_id_){uint64_t{0u}} + }; + _impl_.youtube_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_account_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgReplayUploadedToYouTube::~CMsgReplayUploadedToYouTube() { + // @@protoc_insertion_point(destructor:CMsgReplayUploadedToYouTube) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgReplayUploadedToYouTube::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.youtube_url_.Destroy(); + _impl_.youtube_account_name_.Destroy(); +} + +void CMsgReplayUploadedToYouTube::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgReplayUploadedToYouTube::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgReplayUploadedToYouTube) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.youtube_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.youtube_account_name_.ClearNonDefaultToEmpty(); + } + } + _impl_.session_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgReplayUploadedToYouTube::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string youtube_url = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_youtube_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgReplayUploadedToYouTube.youtube_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string youtube_account_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_youtube_account_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgReplayUploadedToYouTube.youtube_account_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 session_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_session_id(&has_bits); + _impl_.session_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgReplayUploadedToYouTube::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgReplayUploadedToYouTube) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string youtube_url = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtube_url().data(), static_cast(this->_internal_youtube_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgReplayUploadedToYouTube.youtube_url"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_youtube_url(), target); + } + + // optional string youtube_account_name = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtube_account_name().data(), static_cast(this->_internal_youtube_account_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgReplayUploadedToYouTube.youtube_account_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_youtube_account_name(), target); + } + + // optional uint64 session_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_session_id(), 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:CMsgReplayUploadedToYouTube) + return target; +} + +size_t CMsgReplayUploadedToYouTube::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgReplayUploadedToYouTube) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string youtube_url = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtube_url()); + } + + // optional string youtube_account_name = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtube_account_name()); + } + + // optional uint64 session_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_session_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgReplayUploadedToYouTube::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgReplayUploadedToYouTube::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgReplayUploadedToYouTube::GetClassData() const { return &_class_data_; } + + +void CMsgReplayUploadedToYouTube::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:CMsgReplayUploadedToYouTube) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_youtube_url(from._internal_youtube_url()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_youtube_account_name(from._internal_youtube_account_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.session_id_ = from._impl_.session_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgReplayUploadedToYouTube::CopyFrom(const CMsgReplayUploadedToYouTube& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgReplayUploadedToYouTube) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgReplayUploadedToYouTube::IsInitialized() const { + return true; +} + +void CMsgReplayUploadedToYouTube::InternalSwap(CMsgReplayUploadedToYouTube* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtube_url_, lhs_arena, + &other->_impl_.youtube_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtube_account_name_, lhs_arena, + &other->_impl_.youtube_account_name_, rhs_arena + ); + swap(_impl_.session_id_, other->_impl_.session_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgReplayUploadedToYouTube::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[38]); +} + +// =================================================================== + +class CMsgConsumableExhausted::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_def_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgConsumableExhausted::CMsgConsumableExhausted(::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:CMsgConsumableExhausted) +} +CMsgConsumableExhausted::CMsgConsumableExhausted(const CMsgConsumableExhausted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgConsumableExhausted* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.item_def_id_ = from._impl_.item_def_id_; + // @@protoc_insertion_point(copy_constructor:CMsgConsumableExhausted) +} + +inline void CMsgConsumableExhausted::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_id_){0} + }; +} + +CMsgConsumableExhausted::~CMsgConsumableExhausted() { + // @@protoc_insertion_point(destructor:CMsgConsumableExhausted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgConsumableExhausted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgConsumableExhausted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgConsumableExhausted::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgConsumableExhausted) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_def_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgConsumableExhausted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 item_def_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_def_id(&has_bits); + _impl_.item_def_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgConsumableExhausted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgConsumableExhausted) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 item_def_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_item_def_id(), 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:CMsgConsumableExhausted) + return target; +} + +size_t CMsgConsumableExhausted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgConsumableExhausted) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 item_def_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_def_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConsumableExhausted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgConsumableExhausted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConsumableExhausted::GetClassData() const { return &_class_data_; } + + +void CMsgConsumableExhausted::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:CMsgConsumableExhausted) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_item_def_id()) { + _this->_internal_set_item_def_id(from._internal_item_def_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgConsumableExhausted::CopyFrom(const CMsgConsumableExhausted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConsumableExhausted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgConsumableExhausted::IsInitialized() const { + return true; +} + +void CMsgConsumableExhausted::InternalSwap(CMsgConsumableExhausted* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.item_def_id_, other->_impl_.item_def_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgConsumableExhausted::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[39]); +} + +// =================================================================== + +class CMsgItemAcknowledged__DEPRECATED::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_quality(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rarity(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED(::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:CMsgItemAcknowledged__DEPRECATED) +} +CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED(const CMsgItemAcknowledged__DEPRECATED& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgItemAcknowledged__DEPRECATED* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.inventory_){} + , decltype(_impl_.def_index_){} + , decltype(_impl_.quality_){} + , decltype(_impl_.rarity_){} + , decltype(_impl_.origin_){} + , decltype(_impl_.item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgItemAcknowledged__DEPRECATED) +} + +inline void CMsgItemAcknowledged__DEPRECATED::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.inventory_){0u} + , decltype(_impl_.def_index_){0u} + , decltype(_impl_.quality_){0u} + , decltype(_impl_.rarity_){0u} + , decltype(_impl_.origin_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + }; +} + +CMsgItemAcknowledged__DEPRECATED::~CMsgItemAcknowledged__DEPRECATED() { + // @@protoc_insertion_point(destructor:CMsgItemAcknowledged__DEPRECATED) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgItemAcknowledged__DEPRECATED::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgItemAcknowledged__DEPRECATED::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgItemAcknowledged__DEPRECATED::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgItemAcknowledged__DEPRECATED) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgItemAcknowledged__DEPRECATED::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 inventory = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_inventory(&has_bits); + _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 def_index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_def_index(&has_bits); + _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_quality(&has_bits); + _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rarity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rarity(&has_bits); + _impl_.rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 origin = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_origin(&has_bits); + _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgItemAcknowledged__DEPRECATED::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgItemAcknowledged__DEPRECATED) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 inventory = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_inventory(), target); + } + + // optional uint32 def_index = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_def_index(), target); + } + + // optional uint32 quality = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_quality(), target); + } + + // optional uint32 rarity = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rarity(), target); + } + + // optional uint32 origin = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_origin(), target); + } + + // optional uint64 item_id = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_item_id(), 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:CMsgItemAcknowledged__DEPRECATED) + return target; +} + +size_t CMsgItemAcknowledged__DEPRECATED::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgItemAcknowledged__DEPRECATED) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 inventory = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); + } + + // optional uint32 def_index = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); + } + + // optional uint32 quality = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); + } + + // optional uint32 rarity = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rarity()); + } + + // optional uint32 origin = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); + } + + // optional uint64 item_id = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgItemAcknowledged__DEPRECATED::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgItemAcknowledged__DEPRECATED::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgItemAcknowledged__DEPRECATED::GetClassData() const { return &_class_data_; } + + +void CMsgItemAcknowledged__DEPRECATED::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:CMsgItemAcknowledged__DEPRECATED) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.inventory_ = from._impl_.inventory_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.def_index_ = from._impl_.def_index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.quality_ = from._impl_.quality_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rarity_ = from._impl_.rarity_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.origin_ = from._impl_.origin_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgItemAcknowledged__DEPRECATED::CopyFrom(const CMsgItemAcknowledged__DEPRECATED& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgItemAcknowledged__DEPRECATED) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgItemAcknowledged__DEPRECATED::IsInitialized() const { + return true; +} + +void CMsgItemAcknowledged__DEPRECATED::InternalSwap(CMsgItemAcknowledged__DEPRECATED* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _impl_.item_id_) + + sizeof(CMsgItemAcknowledged__DEPRECATED::_impl_.item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgItemAcknowledged__DEPRECATED::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[40]); +} + +// =================================================================== + +class CMsgSetItemPositions_ItemPosition::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_legacy_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition(::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:CMsgSetItemPositions.ItemPosition) +} +CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition(const CMsgSetItemPositions_ItemPosition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSetItemPositions_ItemPosition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.legacy_item_id_){} + , decltype(_impl_.position_){} + , decltype(_impl_.item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.legacy_item_id_, &from._impl_.legacy_item_id_, + static_cast(reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.legacy_item_id_)) + sizeof(_impl_.item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSetItemPositions.ItemPosition) +} + +inline void CMsgSetItemPositions_ItemPosition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.legacy_item_id_){0u} + , decltype(_impl_.position_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + }; +} + +CMsgSetItemPositions_ItemPosition::~CMsgSetItemPositions_ItemPosition() { + // @@protoc_insertion_point(destructor:CMsgSetItemPositions.ItemPosition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSetItemPositions_ItemPosition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSetItemPositions_ItemPosition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSetItemPositions_ItemPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSetItemPositions.ItemPosition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.legacy_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.legacy_item_id_)) + sizeof(_impl_.item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSetItemPositions_ItemPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 legacy_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_legacy_item_id(&has_bits); + _impl_.legacy_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_position(&has_bits); + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSetItemPositions_ItemPosition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSetItemPositions.ItemPosition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 legacy_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_legacy_item_id(), target); + } + + // optional uint32 position = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), 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:CMsgSetItemPositions.ItemPosition) + return target; +} + +size_t CMsgSetItemPositions_ItemPosition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSetItemPositions.ItemPosition) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 legacy_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_item_id()); + } + + // optional uint32 position = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_position()); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSetItemPositions_ItemPosition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSetItemPositions_ItemPosition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSetItemPositions_ItemPosition::GetClassData() const { return &_class_data_; } + + +void CMsgSetItemPositions_ItemPosition::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:CMsgSetItemPositions.ItemPosition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.legacy_item_id_ = from._impl_.legacy_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.position_ = from._impl_.position_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSetItemPositions_ItemPosition::CopyFrom(const CMsgSetItemPositions_ItemPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSetItemPositions.ItemPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSetItemPositions_ItemPosition::IsInitialized() const { + return true; +} + +void CMsgSetItemPositions_ItemPosition::InternalSwap(CMsgSetItemPositions_ItemPosition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _impl_.item_id_) + + sizeof(CMsgSetItemPositions_ItemPosition::_impl_.item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _impl_.legacy_item_id_)>( + reinterpret_cast(&_impl_.legacy_item_id_), + reinterpret_cast(&other->_impl_.legacy_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSetItemPositions_ItemPosition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[41]); +} + +// =================================================================== + +class CMsgSetItemPositions::_Internal { + public: +}; + +CMsgSetItemPositions::CMsgSetItemPositions(::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:CMsgSetItemPositions) +} +CMsgSetItemPositions::CMsgSetItemPositions(const CMsgSetItemPositions& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSetItemPositions* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.item_positions_){from._impl_.item_positions_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgSetItemPositions) +} + +inline void CMsgSetItemPositions::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.item_positions_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgSetItemPositions::~CMsgSetItemPositions() { + // @@protoc_insertion_point(destructor:CMsgSetItemPositions) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSetItemPositions::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_positions_.~RepeatedPtrField(); +} + +void CMsgSetItemPositions::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSetItemPositions::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSetItemPositions) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_positions_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSetItemPositions::_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 .CMsgSetItemPositions.ItemPosition item_positions = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_item_positions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgSetItemPositions::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSetItemPositions) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_item_positions_size()); i < n; i++) { + const auto& repfield = this->_internal_item_positions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgSetItemPositions) + return target; +} + +size_t CMsgSetItemPositions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSetItemPositions) + 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 .CMsgSetItemPositions.ItemPosition item_positions = 1; + total_size += 1UL * this->_internal_item_positions_size(); + for (const auto& msg : this->_impl_.item_positions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSetItemPositions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSetItemPositions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSetItemPositions::GetClassData() const { return &_class_data_; } + + +void CMsgSetItemPositions::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:CMsgSetItemPositions) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.item_positions_.MergeFrom(from._impl_.item_positions_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSetItemPositions::CopyFrom(const CMsgSetItemPositions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSetItemPositions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSetItemPositions::IsInitialized() const { + return true; +} + +void CMsgSetItemPositions::InternalSwap(CMsgSetItemPositions* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.item_positions_.InternalSwap(&other->_impl_.item_positions_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSetItemPositions::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[42]); +} + +// =================================================================== + +class CMsgGCReportAbuse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_target_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_description(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_abuse_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_content_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_target_game_server_ip(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_target_game_server_port(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CMsgGCReportAbuse::CMsgGCReportAbuse(::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:CMsgGCReportAbuse) +} +CMsgGCReportAbuse::CMsgGCReportAbuse(const CMsgGCReportAbuse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCReportAbuse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.description_){} + , decltype(_impl_.target_steam_id_){} + , decltype(_impl_.abuse_type_){} + , decltype(_impl_.content_type_){} + , decltype(_impl_.gid_){} + , decltype(_impl_.target_game_server_ip_){} + , decltype(_impl_.target_game_server_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_description()) { + _this->_impl_.description_.Set(from._internal_description(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.target_steam_id_, &from._impl_.target_steam_id_, + static_cast(reinterpret_cast(&_impl_.target_game_server_port_) - + reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.target_game_server_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCReportAbuse) +} + +inline void CMsgGCReportAbuse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.description_){} + , decltype(_impl_.target_steam_id_){uint64_t{0u}} + , decltype(_impl_.abuse_type_){0u} + , decltype(_impl_.content_type_){0u} + , decltype(_impl_.gid_){uint64_t{0u}} + , decltype(_impl_.target_game_server_ip_){0u} + , decltype(_impl_.target_game_server_port_){0u} + }; + _impl_.description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCReportAbuse::~CMsgGCReportAbuse() { + // @@protoc_insertion_point(destructor:CMsgGCReportAbuse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCReportAbuse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.description_.Destroy(); +} + +void CMsgGCReportAbuse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCReportAbuse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCReportAbuse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.target_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.target_game_server_port_) - + reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.target_game_server_port_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCReportAbuse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 target_steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_target_steam_id(&has_bits); + _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 abuse_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_abuse_type(&has_bits); + _impl_.abuse_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 content_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_content_type(&has_bits); + _impl_.content_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string description = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCReportAbuse.description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 gid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_gid(&has_bits); + _impl_.gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 target_game_server_ip = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_target_game_server_ip(&has_bits); + _impl_.target_game_server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 target_game_server_port = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_target_game_server_port(&has_bits); + _impl_.target_game_server_port_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCReportAbuse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCReportAbuse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 target_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_target_steam_id(), target); + } + + // optional uint32 abuse_type = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_abuse_type(), target); + } + + // optional uint32 content_type = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_content_type(), target); + } + + // optional string description = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_description().data(), static_cast(this->_internal_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCReportAbuse.description"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_description(), target); + } + + // optional uint64 gid = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_gid(), target); + } + + // optional fixed32 target_game_server_ip = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_target_game_server_ip(), target); + } + + // optional uint32 target_game_server_port = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_target_game_server_port(), 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:CMsgGCReportAbuse) + return target; +} + +size_t CMsgGCReportAbuse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCReportAbuse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string description = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_description()); + } + + // optional fixed64 target_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 abuse_type = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_abuse_type()); + } + + // optional uint32 content_type = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_content_type()); + } + + // optional uint64 gid = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_gid()); + } + + // optional fixed32 target_game_server_ip = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 target_game_server_port = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_game_server_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCReportAbuse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCReportAbuse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCReportAbuse::GetClassData() const { return &_class_data_; } + + +void CMsgGCReportAbuse::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:CMsgGCReportAbuse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_description(from._internal_description()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.abuse_type_ = from._impl_.abuse_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.content_type_ = from._impl_.content_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.gid_ = from._impl_.gid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.target_game_server_ip_ = from._impl_.target_game_server_ip_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.target_game_server_port_ = from._impl_.target_game_server_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCReportAbuse::CopyFrom(const CMsgGCReportAbuse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCReportAbuse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCReportAbuse::IsInitialized() const { + return true; +} + +void CMsgGCReportAbuse::InternalSwap(CMsgGCReportAbuse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.description_, lhs_arena, + &other->_impl_.description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuse, _impl_.target_game_server_port_) + + sizeof(CMsgGCReportAbuse::_impl_.target_game_server_port_) + - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuse, _impl_.target_steam_id_)>( + reinterpret_cast(&_impl_.target_steam_id_), + reinterpret_cast(&other->_impl_.target_steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCReportAbuse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[43]); +} + +// =================================================================== + +class CMsgGCReportAbuseResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_target_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_error_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse(::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:CMsgGCReportAbuseResponse) +} +CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse(const CMsgGCReportAbuseResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCReportAbuseResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.error_message_){} + , decltype(_impl_.target_steam_id_){} + , decltype(_impl_.result_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.error_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_error_message()) { + _this->_impl_.error_message_.Set(from._internal_error_message(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.target_steam_id_, &from._impl_.target_steam_id_, + static_cast(reinterpret_cast(&_impl_.result_) - + reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.result_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCReportAbuseResponse) +} + +inline void CMsgGCReportAbuseResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.error_message_){} + , decltype(_impl_.target_steam_id_){uint64_t{0u}} + , decltype(_impl_.result_){0u} + }; + _impl_.error_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCReportAbuseResponse::~CMsgGCReportAbuseResponse() { + // @@protoc_insertion_point(destructor:CMsgGCReportAbuseResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCReportAbuseResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.error_message_.Destroy(); +} + +void CMsgGCReportAbuseResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCReportAbuseResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCReportAbuseResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.error_message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.target_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.result_) - + reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.result_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCReportAbuseResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 target_steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_target_steam_id(&has_bits); + _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 result = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_result(&has_bits); + _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string error_message = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_error_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCReportAbuseResponse.error_message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCReportAbuseResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCReportAbuseResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 target_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_target_steam_id(), target); + } + + // optional uint32 result = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_result(), target); + } + + // optional string error_message = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_error_message().data(), static_cast(this->_internal_error_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCReportAbuseResponse.error_message"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_error_message(), 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:CMsgGCReportAbuseResponse) + return target; +} + +size_t CMsgGCReportAbuseResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCReportAbuseResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string error_message = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_error_message()); + } + + // optional fixed64 target_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 result = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCReportAbuseResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCReportAbuseResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCReportAbuseResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCReportAbuseResponse::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:CMsgGCReportAbuseResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_error_message(from._internal_error_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCReportAbuseResponse::CopyFrom(const CMsgGCReportAbuseResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCReportAbuseResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCReportAbuseResponse::IsInitialized() const { + return true; +} + +void CMsgGCReportAbuseResponse::InternalSwap(CMsgGCReportAbuseResponse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.error_message_, lhs_arena, + &other->_impl_.error_message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuseResponse, _impl_.result_) + + sizeof(CMsgGCReportAbuseResponse::_impl_.result_) + - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuseResponse, _impl_.target_steam_id_)>( + reinterpret_cast(&_impl_.target_steam_id_), + reinterpret_cast(&other->_impl_.target_steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCReportAbuseResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[44]); +} + +// =================================================================== + +class CMsgGCNameItemNotification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_item_name_custom(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCNameItemNotification::CMsgGCNameItemNotification(::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:CMsgGCNameItemNotification) +} +CMsgGCNameItemNotification::CMsgGCNameItemNotification(const CMsgGCNameItemNotification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCNameItemNotification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_name_custom_){} + , decltype(_impl_.player_steamid_){} + , decltype(_impl_.item_def_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.item_name_custom_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_name_custom_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_item_name_custom()) { + _this->_impl_.item_name_custom_.Set(from._internal_item_name_custom(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.player_steamid_, &from._impl_.player_steamid_, + static_cast(reinterpret_cast(&_impl_.item_def_index_) - + reinterpret_cast(&_impl_.player_steamid_)) + sizeof(_impl_.item_def_index_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCNameItemNotification) +} + +inline void CMsgGCNameItemNotification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_name_custom_){} + , decltype(_impl_.player_steamid_){uint64_t{0u}} + , decltype(_impl_.item_def_index_){0u} + }; + _impl_.item_name_custom_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_name_custom_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCNameItemNotification::~CMsgGCNameItemNotification() { + // @@protoc_insertion_point(destructor:CMsgGCNameItemNotification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCNameItemNotification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_name_custom_.Destroy(); +} + +void CMsgGCNameItemNotification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCNameItemNotification::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCNameItemNotification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.item_name_custom_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.player_steamid_, 0, static_cast( + reinterpret_cast(&_impl_.item_def_index_) - + reinterpret_cast(&_impl_.player_steamid_)) + sizeof(_impl_.item_def_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCNameItemNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 player_steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_player_steamid(&has_bits); + _impl_.player_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 item_def_index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_def_index(&has_bits); + _impl_.item_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string item_name_custom = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_item_name_custom(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCNameItemNotification.item_name_custom"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCNameItemNotification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCNameItemNotification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 player_steamid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_player_steamid(), target); + } + + // optional uint32 item_def_index = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_item_def_index(), target); + } + + // optional string item_name_custom = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_item_name_custom().data(), static_cast(this->_internal_item_name_custom().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCNameItemNotification.item_name_custom"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_item_name_custom(), 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:CMsgGCNameItemNotification) + return target; +} + +size_t CMsgGCNameItemNotification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCNameItemNotification) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string item_name_custom = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item_name_custom()); + } + + // optional fixed64 player_steamid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 item_def_index = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCNameItemNotification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCNameItemNotification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCNameItemNotification::GetClassData() const { return &_class_data_; } + + +void CMsgGCNameItemNotification::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:CMsgGCNameItemNotification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_item_name_custom(from._internal_item_name_custom()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.player_steamid_ = from._impl_.player_steamid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_def_index_ = from._impl_.item_def_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCNameItemNotification::CopyFrom(const CMsgGCNameItemNotification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCNameItemNotification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCNameItemNotification::IsInitialized() const { + return true; +} + +void CMsgGCNameItemNotification::InternalSwap(CMsgGCNameItemNotification* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_name_custom_, lhs_arena, + &other->_impl_.item_name_custom_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCNameItemNotification, _impl_.item_def_index_) + + sizeof(CMsgGCNameItemNotification::_impl_.item_def_index_) + - PROTOBUF_FIELD_OFFSET(CMsgGCNameItemNotification, _impl_.player_steamid_)>( + reinterpret_cast(&_impl_.player_steamid_), + reinterpret_cast(&other->_impl_.player_steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCNameItemNotification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[45]); +} + +// =================================================================== + +class CMsgGCClientDisplayNotification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_notification_title_localization_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_notification_body_localization_key(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification(::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:CMsgGCClientDisplayNotification) +} +CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification(const CMsgGCClientDisplayNotification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCClientDisplayNotification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_substring_keys_){from._impl_.body_substring_keys_} + , decltype(_impl_.body_substring_values_){from._impl_.body_substring_values_} + , decltype(_impl_.notification_title_localization_key_){} + , decltype(_impl_.notification_body_localization_key_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.notification_title_localization_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_notification_title_localization_key()) { + _this->_impl_.notification_title_localization_key_.Set(from._internal_notification_title_localization_key(), + _this->GetArenaForAllocation()); + } + _impl_.notification_body_localization_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_notification_body_localization_key()) { + _this->_impl_.notification_body_localization_key_.Set(from._internal_notification_body_localization_key(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCClientDisplayNotification) +} + +inline void CMsgGCClientDisplayNotification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_substring_keys_){arena} + , decltype(_impl_.body_substring_values_){arena} + , decltype(_impl_.notification_title_localization_key_){} + , decltype(_impl_.notification_body_localization_key_){} + }; + _impl_.notification_title_localization_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.notification_body_localization_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCClientDisplayNotification::~CMsgGCClientDisplayNotification() { + // @@protoc_insertion_point(destructor:CMsgGCClientDisplayNotification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCClientDisplayNotification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.body_substring_keys_.~RepeatedPtrField(); + _impl_.body_substring_values_.~RepeatedPtrField(); + _impl_.notification_title_localization_key_.Destroy(); + _impl_.notification_body_localization_key_.Destroy(); +} + +void CMsgGCClientDisplayNotification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCClientDisplayNotification::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCClientDisplayNotification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.body_substring_keys_.Clear(); + _impl_.body_substring_values_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.notification_title_localization_key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.notification_body_localization_key_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCClientDisplayNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string notification_title_localization_key = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_notification_title_localization_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.notification_title_localization_key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string notification_body_localization_key = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_notification_body_localization_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.notification_body_localization_key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string body_substring_keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_body_substring_keys(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.body_substring_keys"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated string body_substring_values = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_body_substring_values(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.body_substring_values"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCClientDisplayNotification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCClientDisplayNotification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string notification_title_localization_key = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_notification_title_localization_key().data(), static_cast(this->_internal_notification_title_localization_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCClientDisplayNotification.notification_title_localization_key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_notification_title_localization_key(), target); + } + + // optional string notification_body_localization_key = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_notification_body_localization_key().data(), static_cast(this->_internal_notification_body_localization_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCClientDisplayNotification.notification_body_localization_key"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_notification_body_localization_key(), target); + } + + // repeated string body_substring_keys = 3; + for (int i = 0, n = this->_internal_body_substring_keys_size(); i < n; i++) { + const auto& s = this->_internal_body_substring_keys(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCClientDisplayNotification.body_substring_keys"); + target = stream->WriteString(3, s, target); + } + + // repeated string body_substring_values = 4; + for (int i = 0, n = this->_internal_body_substring_values_size(); i < n; i++) { + const auto& s = this->_internal_body_substring_values(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCClientDisplayNotification.body_substring_values"); + target = stream->WriteString(4, 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:CMsgGCClientDisplayNotification) + return target; +} + +size_t CMsgGCClientDisplayNotification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCClientDisplayNotification) + 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 body_substring_keys = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.body_substring_keys_.size()); + for (int i = 0, n = _impl_.body_substring_keys_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.body_substring_keys_.Get(i)); + } + + // repeated string body_substring_values = 4; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.body_substring_values_.size()); + for (int i = 0, n = _impl_.body_substring_values_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.body_substring_values_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string notification_title_localization_key = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_notification_title_localization_key()); + } + + // optional string notification_body_localization_key = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_notification_body_localization_key()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCClientDisplayNotification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCClientDisplayNotification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCClientDisplayNotification::GetClassData() const { return &_class_data_; } + + +void CMsgGCClientDisplayNotification::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:CMsgGCClientDisplayNotification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.body_substring_keys_.MergeFrom(from._impl_.body_substring_keys_); + _this->_impl_.body_substring_values_.MergeFrom(from._impl_.body_substring_values_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_notification_title_localization_key(from._internal_notification_title_localization_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_notification_body_localization_key(from._internal_notification_body_localization_key()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCClientDisplayNotification::CopyFrom(const CMsgGCClientDisplayNotification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCClientDisplayNotification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCClientDisplayNotification::IsInitialized() const { + return true; +} + +void CMsgGCClientDisplayNotification::InternalSwap(CMsgGCClientDisplayNotification* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.body_substring_keys_.InternalSwap(&other->_impl_.body_substring_keys_); + _impl_.body_substring_values_.InternalSwap(&other->_impl_.body_substring_values_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.notification_title_localization_key_, lhs_arena, + &other->_impl_.notification_title_localization_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.notification_body_localization_key_, lhs_arena, + &other->_impl_.notification_body_localization_key_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCClientDisplayNotification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[46]); +} + +// =================================================================== + +class CMsgGCShowItemsPickedUp::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp(::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:CMsgGCShowItemsPickedUp) +} +CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp(const CMsgGCShowItemsPickedUp& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCShowItemsPickedUp* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_steamid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.player_steamid_ = from._impl_.player_steamid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCShowItemsPickedUp) +} + +inline void CMsgGCShowItemsPickedUp::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_steamid_){uint64_t{0u}} + }; +} + +CMsgGCShowItemsPickedUp::~CMsgGCShowItemsPickedUp() { + // @@protoc_insertion_point(destructor:CMsgGCShowItemsPickedUp) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCShowItemsPickedUp::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCShowItemsPickedUp::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCShowItemsPickedUp::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCShowItemsPickedUp) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_steamid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCShowItemsPickedUp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 player_steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_player_steamid(&has_bits); + _impl_.player_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCShowItemsPickedUp::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCShowItemsPickedUp) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 player_steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_player_steamid(), 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:CMsgGCShowItemsPickedUp) + return target; +} + +size_t CMsgGCShowItemsPickedUp::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCShowItemsPickedUp) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 player_steamid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCShowItemsPickedUp::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCShowItemsPickedUp::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCShowItemsPickedUp::GetClassData() const { return &_class_data_; } + + +void CMsgGCShowItemsPickedUp::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:CMsgGCShowItemsPickedUp) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_player_steamid()) { + _this->_internal_set_player_steamid(from._internal_player_steamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCShowItemsPickedUp::CopyFrom(const CMsgGCShowItemsPickedUp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCShowItemsPickedUp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCShowItemsPickedUp::IsInitialized() const { + return true; +} + +void CMsgGCShowItemsPickedUp::InternalSwap(CMsgGCShowItemsPickedUp* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.player_steamid_, other->_impl_.player_steamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCShowItemsPickedUp::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[47]); +} + +// =================================================================== + +class CMsgGCIncrementKillCountResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_killer_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_num_kills(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_def(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_level_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse(::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:CMsgGCIncrementKillCountResponse) +} +CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse(const CMsgGCIncrementKillCountResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCIncrementKillCountResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.killer_account_id_){} + , decltype(_impl_.num_kills_){} + , decltype(_impl_.item_def_){} + , decltype(_impl_.level_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.killer_account_id_, &from._impl_.killer_account_id_, + static_cast(reinterpret_cast(&_impl_.level_type_) - + reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.level_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCIncrementKillCountResponse) +} + +inline void CMsgGCIncrementKillCountResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.killer_account_id_){0u} + , decltype(_impl_.num_kills_){0u} + , decltype(_impl_.item_def_){0u} + , decltype(_impl_.level_type_){0u} + }; +} + +CMsgGCIncrementKillCountResponse::~CMsgGCIncrementKillCountResponse() { + // @@protoc_insertion_point(destructor:CMsgGCIncrementKillCountResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCIncrementKillCountResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCIncrementKillCountResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCIncrementKillCountResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCIncrementKillCountResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.killer_account_id_, 0, static_cast( + reinterpret_cast(&_impl_.level_type_) - + reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.level_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCIncrementKillCountResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 killer_account_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_killer_account_id(&has_bits); + _impl_.killer_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_kills = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_num_kills(&has_bits); + _impl_.num_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 item_def = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_def(&has_bits); + _impl_.item_def_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 level_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_level_type(&has_bits); + _impl_.level_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCIncrementKillCountResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCIncrementKillCountResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 killer_account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_killer_account_id(), target); + } + + // optional uint32 num_kills = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_num_kills(), target); + } + + // optional uint32 item_def = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_item_def(), target); + } + + // optional uint32 level_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_level_type(), 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:CMsgGCIncrementKillCountResponse) + return target; +} + +size_t CMsgGCIncrementKillCountResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCIncrementKillCountResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 killer_account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killer_account_id()); + } + + // optional uint32 num_kills = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_kills()); + } + + // optional uint32 item_def = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def()); + } + + // optional uint32 level_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_level_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCIncrementKillCountResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCIncrementKillCountResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCIncrementKillCountResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCIncrementKillCountResponse::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:CMsgGCIncrementKillCountResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.killer_account_id_ = from._impl_.killer_account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.num_kills_ = from._impl_.num_kills_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_def_ = from._impl_.item_def_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.level_type_ = from._impl_.level_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCIncrementKillCountResponse::CopyFrom(const CMsgGCIncrementKillCountResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCIncrementKillCountResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCIncrementKillCountResponse::IsInitialized() const { + return true; +} + +void CMsgGCIncrementKillCountResponse::InternalSwap(CMsgGCIncrementKillCountResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _impl_.level_type_) + + sizeof(CMsgGCIncrementKillCountResponse::_impl_.level_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _impl_.killer_account_id_)>( + reinterpret_cast(&_impl_.killer_account_id_), + reinterpret_cast(&other->_impl_.killer_account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCIncrementKillCountResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[48]); +} + +// =================================================================== + +class CSOEconItemDropRateBonus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_expiration_date(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bonus(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_bonus_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CSOEconItemDropRateBonus::CSOEconItemDropRateBonus(::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:CSOEconItemDropRateBonus) +} +CSOEconItemDropRateBonus::CSOEconItemDropRateBonus(const CSOEconItemDropRateBonus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItemDropRateBonus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.expiration_date_){} + , decltype(_impl_.bonus_){} + , decltype(_impl_.bonus_count_){} + , decltype(_impl_.item_id_){} + , decltype(_impl_.def_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.def_index_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.def_index_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItemDropRateBonus) +} + +inline void CSOEconItemDropRateBonus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.expiration_date_){0u} + , decltype(_impl_.bonus_){0} + , decltype(_impl_.bonus_count_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.def_index_){0u} + }; +} + +CSOEconItemDropRateBonus::~CSOEconItemDropRateBonus() { + // @@protoc_insertion_point(destructor:CSOEconItemDropRateBonus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItemDropRateBonus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconItemDropRateBonus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItemDropRateBonus::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItemDropRateBonus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.def_index_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.def_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItemDropRateBonus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 expiration_date = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_expiration_date(&has_bits); + _impl_.expiration_date_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float bonus = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_bonus(&has_bits); + _impl_.bonus_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 bonus_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_bonus_count(&has_bits); + _impl_.bonus_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 def_index = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_def_index(&has_bits); + _impl_.def_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItemDropRateBonus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemDropRateBonus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional fixed32 expiration_date = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_expiration_date(), target); + } + + // optional float bonus = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_bonus(), target); + } + + // optional uint32 bonus_count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_bonus_count(), target); + } + + // optional uint64 item_id = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_item_id(), target); + } + + // optional uint32 def_index = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_def_index(), 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:CSOEconItemDropRateBonus) + return target; +} + +size_t CSOEconItemDropRateBonus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItemDropRateBonus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional fixed32 expiration_date = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float bonus = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 bonus_count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_count()); + } + + // optional uint64 item_id = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional uint32 def_index = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemDropRateBonus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItemDropRateBonus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemDropRateBonus::GetClassData() const { return &_class_data_; } + + +void CSOEconItemDropRateBonus::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:CSOEconItemDropRateBonus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.expiration_date_ = from._impl_.expiration_date_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bonus_ = from._impl_.bonus_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.bonus_count_ = from._impl_.bonus_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.def_index_ = from._impl_.def_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItemDropRateBonus::CopyFrom(const CSOEconItemDropRateBonus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemDropRateBonus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItemDropRateBonus::IsInitialized() const { + return true; +} + +void CSOEconItemDropRateBonus::InternalSwap(CSOEconItemDropRateBonus* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItemDropRateBonus, _impl_.def_index_) + + sizeof(CSOEconItemDropRateBonus::_impl_.def_index_) + - PROTOBUF_FIELD_OFFSET(CSOEconItemDropRateBonus, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemDropRateBonus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[49]); +} + +// =================================================================== + +class CSOEconItemLeagueViewPass::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_league_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_admin(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_itemindex(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass(::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:CSOEconItemLeagueViewPass) +} +CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass(const CSOEconItemLeagueViewPass& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItemLeagueViewPass* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.league_id_){} + , decltype(_impl_.admin_){} + , decltype(_impl_.itemindex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.itemindex_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.itemindex_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItemLeagueViewPass) +} + +inline void CSOEconItemLeagueViewPass::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.league_id_){0u} + , decltype(_impl_.admin_){0u} + , decltype(_impl_.itemindex_){0u} + }; +} + +CSOEconItemLeagueViewPass::~CSOEconItemLeagueViewPass() { + // @@protoc_insertion_point(destructor:CSOEconItemLeagueViewPass) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItemLeagueViewPass::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconItemLeagueViewPass::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItemLeagueViewPass::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItemLeagueViewPass) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.itemindex_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.itemindex_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItemLeagueViewPass::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 league_id = 2 [(.key_field) = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_league_id(&has_bits); + _impl_.league_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 admin = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_admin(&has_bits); + _impl_.admin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 itemindex = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_itemindex(&has_bits); + _impl_.itemindex_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItemLeagueViewPass::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemLeagueViewPass) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 league_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_league_id(), target); + } + + // optional uint32 admin = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_admin(), target); + } + + // optional uint32 itemindex = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_itemindex(), 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:CSOEconItemLeagueViewPass) + return target; +} + +size_t CSOEconItemLeagueViewPass::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItemLeagueViewPass) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 league_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_league_id()); + } + + // optional uint32 admin = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_admin()); + } + + // optional uint32 itemindex = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_itemindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemLeagueViewPass::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItemLeagueViewPass::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemLeagueViewPass::GetClassData() const { return &_class_data_; } + + +void CSOEconItemLeagueViewPass::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:CSOEconItemLeagueViewPass) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.league_id_ = from._impl_.league_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.admin_ = from._impl_.admin_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.itemindex_ = from._impl_.itemindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItemLeagueViewPass::CopyFrom(const CSOEconItemLeagueViewPass& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemLeagueViewPass) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItemLeagueViewPass::IsInitialized() const { + return true; +} + +void CSOEconItemLeagueViewPass::InternalSwap(CSOEconItemLeagueViewPass* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItemLeagueViewPass, _impl_.itemindex_) + + sizeof(CSOEconItemLeagueViewPass::_impl_.itemindex_) + - PROTOBUF_FIELD_OFFSET(CSOEconItemLeagueViewPass, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemLeagueViewPass::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[50]); +} + +// =================================================================== + +class CSOEconItemEventTicket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSOEconItemEventTicket::CSOEconItemEventTicket(::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:CSOEconItemEventTicket) +} +CSOEconItemEventTicket::CSOEconItemEventTicket(const CSOEconItemEventTicket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconItemEventTicket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.event_id_){} + , decltype(_impl_.item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); + // @@protoc_insertion_point(copy_constructor:CSOEconItemEventTicket) +} + +inline void CSOEconItemEventTicket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.event_id_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + }; +} + +CSOEconItemEventTicket::~CSOEconItemEventTicket() { + // @@protoc_insertion_point(destructor:CSOEconItemEventTicket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconItemEventTicket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconItemEventTicket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconItemEventTicket::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconItemEventTicket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconItemEventTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 event_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconItemEventTicket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemEventTicket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 event_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_event_id(), target); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), 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:CSOEconItemEventTicket) + return target; +} + +size_t CSOEconItemEventTicket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconItemEventTicket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 event_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemEventTicket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconItemEventTicket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemEventTicket::GetClassData() const { return &_class_data_; } + + +void CSOEconItemEventTicket::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:CSOEconItemEventTicket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconItemEventTicket::CopyFrom(const CSOEconItemEventTicket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemEventTicket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconItemEventTicket::IsInitialized() const { + return true; +} + +void CSOEconItemEventTicket::InternalSwap(CSOEconItemEventTicket* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconItemEventTicket, _impl_.item_id_) + + sizeof(CSOEconItemEventTicket::_impl_.item_id_) + - PROTOBUF_FIELD_OFFSET(CSOEconItemEventTicket, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemEventTicket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[51]); +} + +// =================================================================== + +class CMsgGCItemPreviewItemBoughtNotification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification(::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:CMsgGCItemPreviewItemBoughtNotification) +} +CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification(const CMsgGCItemPreviewItemBoughtNotification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCItemPreviewItemBoughtNotification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.item_def_index_ = from._impl_.item_def_index_; + // @@protoc_insertion_point(copy_constructor:CMsgGCItemPreviewItemBoughtNotification) +} + +inline void CMsgGCItemPreviewItemBoughtNotification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_def_index_){0u} + }; +} + +CMsgGCItemPreviewItemBoughtNotification::~CMsgGCItemPreviewItemBoughtNotification() { + // @@protoc_insertion_point(destructor:CMsgGCItemPreviewItemBoughtNotification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCItemPreviewItemBoughtNotification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCItemPreviewItemBoughtNotification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCItemPreviewItemBoughtNotification::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCItemPreviewItemBoughtNotification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_def_index_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCItemPreviewItemBoughtNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 item_def_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_def_index(&has_bits); + _impl_.item_def_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCItemPreviewItemBoughtNotification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCItemPreviewItemBoughtNotification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 item_def_index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_def_index(), 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:CMsgGCItemPreviewItemBoughtNotification) + return target; +} + +size_t CMsgGCItemPreviewItemBoughtNotification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCItemPreviewItemBoughtNotification) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 item_def_index = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCItemPreviewItemBoughtNotification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCItemPreviewItemBoughtNotification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCItemPreviewItemBoughtNotification::GetClassData() const { return &_class_data_; } + + +void CMsgGCItemPreviewItemBoughtNotification::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:CMsgGCItemPreviewItemBoughtNotification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_item_def_index()) { + _this->_internal_set_item_def_index(from._internal_item_def_index()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCItemPreviewItemBoughtNotification::CopyFrom(const CMsgGCItemPreviewItemBoughtNotification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCItemPreviewItemBoughtNotification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCItemPreviewItemBoughtNotification::IsInitialized() const { + return true; +} + +void CMsgGCItemPreviewItemBoughtNotification::InternalSwap(CMsgGCItemPreviewItemBoughtNotification* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.item_def_index_, other->_impl_.item_def_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCItemPreviewItemBoughtNotification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[52]); +} + +// =================================================================== + +class CMsgGCStorePurchaseCancel::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_txn_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel(::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:CMsgGCStorePurchaseCancel) +} +CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel(const CMsgGCStorePurchaseCancel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseCancel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.txn_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.txn_id_ = from._impl_.txn_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseCancel) +} + +inline void CMsgGCStorePurchaseCancel::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.txn_id_){uint64_t{0u}} + }; +} + +CMsgGCStorePurchaseCancel::~CMsgGCStorePurchaseCancel() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseCancel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseCancel::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCStorePurchaseCancel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseCancel::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseCancel) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.txn_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseCancel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 txn_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_txn_id(&has_bits); + _impl_.txn_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseCancel::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseCancel) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 txn_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_txn_id(), 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:CMsgGCStorePurchaseCancel) + return target; +} + +size_t CMsgGCStorePurchaseCancel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseCancel) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint64 txn_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseCancel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseCancel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseCancel::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseCancel::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:CMsgGCStorePurchaseCancel) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_txn_id()) { + _this->_internal_set_txn_id(from._internal_txn_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseCancel::CopyFrom(const CMsgGCStorePurchaseCancel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseCancel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseCancel::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseCancel::InternalSwap(CMsgGCStorePurchaseCancel* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.txn_id_, other->_impl_.txn_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseCancel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[53]); +} + +// =================================================================== + +class CMsgGCStorePurchaseCancelResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse(::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:CMsgGCStorePurchaseCancelResponse) +} +CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse(const CMsgGCStorePurchaseCancelResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseCancelResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.result_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.result_ = from._impl_.result_; + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseCancelResponse) +} + +inline void CMsgGCStorePurchaseCancelResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.result_){0u} + }; +} + +CMsgGCStorePurchaseCancelResponse::~CMsgGCStorePurchaseCancelResponse() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseCancelResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseCancelResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCStorePurchaseCancelResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseCancelResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseCancelResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseCancelResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 result = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_result(&has_bits); + _impl_.result_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseCancelResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseCancelResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 result = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), 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:CMsgGCStorePurchaseCancelResponse) + return target; +} + +size_t CMsgGCStorePurchaseCancelResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseCancelResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 result = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseCancelResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseCancelResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseCancelResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseCancelResponse::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:CMsgGCStorePurchaseCancelResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_result()) { + _this->_internal_set_result(from._internal_result()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseCancelResponse::CopyFrom(const CMsgGCStorePurchaseCancelResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseCancelResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseCancelResponse::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseCancelResponse::InternalSwap(CMsgGCStorePurchaseCancelResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.result_, other->_impl_.result_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseCancelResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[54]); +} + +// =================================================================== + +class CMsgGCStorePurchaseFinalize::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_txn_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize(::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:CMsgGCStorePurchaseFinalize) +} +CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize(const CMsgGCStorePurchaseFinalize& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseFinalize* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.txn_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.txn_id_ = from._impl_.txn_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseFinalize) +} + +inline void CMsgGCStorePurchaseFinalize::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.txn_id_){uint64_t{0u}} + }; +} + +CMsgGCStorePurchaseFinalize::~CMsgGCStorePurchaseFinalize() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseFinalize) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseFinalize::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCStorePurchaseFinalize::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseFinalize::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseFinalize) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.txn_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseFinalize::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 txn_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_txn_id(&has_bits); + _impl_.txn_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseFinalize::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseFinalize) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 txn_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_txn_id(), 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:CMsgGCStorePurchaseFinalize) + return target; +} + +size_t CMsgGCStorePurchaseFinalize::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseFinalize) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint64 txn_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseFinalize::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseFinalize::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseFinalize::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseFinalize::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:CMsgGCStorePurchaseFinalize) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_txn_id()) { + _this->_internal_set_txn_id(from._internal_txn_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseFinalize::CopyFrom(const CMsgGCStorePurchaseFinalize& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseFinalize) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseFinalize::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseFinalize::InternalSwap(CMsgGCStorePurchaseFinalize* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.txn_id_, other->_impl_.txn_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseFinalize::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[55]); +} + +// =================================================================== + +class CMsgGCStorePurchaseFinalizeResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse(::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:CMsgGCStorePurchaseFinalizeResponse) +} +CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse(const CMsgGCStorePurchaseFinalizeResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCStorePurchaseFinalizeResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_ids_){from._impl_.item_ids_} + , decltype(_impl_.result_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.result_ = from._impl_.result_; + // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseFinalizeResponse) +} + +inline void CMsgGCStorePurchaseFinalizeResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_ids_){arena} + , decltype(_impl_.result_){0u} + }; +} + +CMsgGCStorePurchaseFinalizeResponse::~CMsgGCStorePurchaseFinalizeResponse() { + // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseFinalizeResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCStorePurchaseFinalizeResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_ids_.~RepeatedField(); +} + +void CMsgGCStorePurchaseFinalizeResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCStorePurchaseFinalizeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseFinalizeResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_ids_.Clear(); + _impl_.result_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCStorePurchaseFinalizeResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 result = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_result(&has_bits); + _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 item_ids = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_item_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_ids(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCStorePurchaseFinalizeResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseFinalizeResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 result = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), target); + } + + // repeated uint64 item_ids = 2; + for (int i = 0, n = this->_internal_item_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_ids(i), 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:CMsgGCStorePurchaseFinalizeResponse) + return target; +} + +size_t CMsgGCStorePurchaseFinalizeResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseFinalizeResponse) + 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 uint64 item_ids = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.item_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_item_ids_size()); + total_size += data_size; + } + + // optional uint32 result = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseFinalizeResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCStorePurchaseFinalizeResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseFinalizeResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCStorePurchaseFinalizeResponse::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:CMsgGCStorePurchaseFinalizeResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.item_ids_.MergeFrom(from._impl_.item_ids_); + if (from._internal_has_result()) { + _this->_internal_set_result(from._internal_result()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCStorePurchaseFinalizeResponse::CopyFrom(const CMsgGCStorePurchaseFinalizeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseFinalizeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCStorePurchaseFinalizeResponse::IsInitialized() const { + return true; +} + +void CMsgGCStorePurchaseFinalizeResponse::InternalSwap(CMsgGCStorePurchaseFinalizeResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.item_ids_.InternalSwap(&other->_impl_.item_ids_); + swap(_impl_.result_, other->_impl_.result_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseFinalizeResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[56]); +} + +// =================================================================== + +class CMsgGCBannedWordListRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ban_list_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_word_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest(::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:CMsgGCBannedWordListRequest) +} +CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest(const CMsgGCBannedWordListRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCBannedWordListRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ban_list_group_id_){} + , decltype(_impl_.word_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ban_list_group_id_, &from._impl_.ban_list_group_id_, + static_cast(reinterpret_cast(&_impl_.word_id_) - + reinterpret_cast(&_impl_.ban_list_group_id_)) + sizeof(_impl_.word_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWordListRequest) +} + +inline void CMsgGCBannedWordListRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ban_list_group_id_){0u} + , decltype(_impl_.word_id_){0u} + }; +} + +CMsgGCBannedWordListRequest::~CMsgGCBannedWordListRequest() { + // @@protoc_insertion_point(destructor:CMsgGCBannedWordListRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCBannedWordListRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCBannedWordListRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCBannedWordListRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWordListRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.ban_list_group_id_, 0, static_cast( + reinterpret_cast(&_impl_.word_id_) - + reinterpret_cast(&_impl_.ban_list_group_id_)) + sizeof(_impl_.word_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCBannedWordListRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 ban_list_group_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ban_list_group_id(&has_bits); + _impl_.ban_list_group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 word_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_word_id(&has_bits); + _impl_.word_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCBannedWordListRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWordListRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 ban_list_group_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ban_list_group_id(), target); + } + + // optional uint32 word_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_word_id(), 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:CMsgGCBannedWordListRequest) + return target; +} + +size_t CMsgGCBannedWordListRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWordListRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 ban_list_group_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ban_list_group_id()); + } + + // optional uint32 word_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_word_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWordListRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCBannedWordListRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWordListRequest::GetClassData() const { return &_class_data_; } + + +void CMsgGCBannedWordListRequest::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:CMsgGCBannedWordListRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ban_list_group_id_ = from._impl_.ban_list_group_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.word_id_ = from._impl_.word_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCBannedWordListRequest::CopyFrom(const CMsgGCBannedWordListRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWordListRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCBannedWordListRequest::IsInitialized() const { + return true; +} + +void CMsgGCBannedWordListRequest::InternalSwap(CMsgGCBannedWordListRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCBannedWordListRequest, _impl_.word_id_) + + sizeof(CMsgGCBannedWordListRequest::_impl_.word_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWordListRequest, _impl_.ban_list_group_id_)>( + reinterpret_cast(&_impl_.ban_list_group_id_), + reinterpret_cast(&other->_impl_.ban_list_group_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWordListRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[57]); +} + +// =================================================================== + +class CMsgGCRequestAnnouncements::_Internal { + public: +}; + +CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCRequestAnnouncements) +} +CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements(const CMsgGCRequestAnnouncements& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCRequestAnnouncements* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCRequestAnnouncements) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestAnnouncements::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestAnnouncements::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestAnnouncements::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[58]); +} + +// =================================================================== + +class CMsgGCRequestAnnouncementsResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_announcement_title(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_announcement(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_nextmatch_title(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_nextmatch(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse(::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:CMsgGCRequestAnnouncementsResponse) +} +CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse(const CMsgGCRequestAnnouncementsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCRequestAnnouncementsResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_title_){} + , decltype(_impl_.announcement_){} + , decltype(_impl_.nextmatch_title_){} + , decltype(_impl_.nextmatch_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.announcement_title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_announcement_title()) { + _this->_impl_.announcement_title_.Set(from._internal_announcement_title(), + _this->GetArenaForAllocation()); + } + _impl_.announcement_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_announcement()) { + _this->_impl_.announcement_.Set(from._internal_announcement(), + _this->GetArenaForAllocation()); + } + _impl_.nextmatch_title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_nextmatch_title()) { + _this->_impl_.nextmatch_title_.Set(from._internal_nextmatch_title(), + _this->GetArenaForAllocation()); + } + _impl_.nextmatch_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_nextmatch()) { + _this->_impl_.nextmatch_.Set(from._internal_nextmatch(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCRequestAnnouncementsResponse) +} + +inline void CMsgGCRequestAnnouncementsResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_title_){} + , decltype(_impl_.announcement_){} + , decltype(_impl_.nextmatch_title_){} + , decltype(_impl_.nextmatch_){} + }; + _impl_.announcement_title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nextmatch_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCRequestAnnouncementsResponse::~CMsgGCRequestAnnouncementsResponse() { + // @@protoc_insertion_point(destructor:CMsgGCRequestAnnouncementsResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCRequestAnnouncementsResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.announcement_title_.Destroy(); + _impl_.announcement_.Destroy(); + _impl_.nextmatch_title_.Destroy(); + _impl_.nextmatch_.Destroy(); +} + +void CMsgGCRequestAnnouncementsResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCRequestAnnouncementsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCRequestAnnouncementsResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.announcement_title_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.announcement_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.nextmatch_title_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.nextmatch_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCRequestAnnouncementsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string announcement_title = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_announcement_title(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.announcement_title"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string announcement = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_announcement(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.announcement"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string nextmatch_title = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_nextmatch_title(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.nextmatch_title"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string nextmatch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_nextmatch(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.nextmatch"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCRequestAnnouncementsResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestAnnouncementsResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string announcement_title = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_announcement_title().data(), static_cast(this->_internal_announcement_title().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCRequestAnnouncementsResponse.announcement_title"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_announcement_title(), target); + } + + // optional string announcement = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_announcement().data(), static_cast(this->_internal_announcement().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCRequestAnnouncementsResponse.announcement"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_announcement(), target); + } + + // optional string nextmatch_title = 3; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_nextmatch_title().data(), static_cast(this->_internal_nextmatch_title().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCRequestAnnouncementsResponse.nextmatch_title"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_nextmatch_title(), target); + } + + // optional string nextmatch = 4; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_nextmatch().data(), static_cast(this->_internal_nextmatch().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCRequestAnnouncementsResponse.nextmatch"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_nextmatch(), 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:CMsgGCRequestAnnouncementsResponse) + return target; +} + +size_t CMsgGCRequestAnnouncementsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestAnnouncementsResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string announcement_title = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_announcement_title()); + } + + // optional string announcement = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_announcement()); + } + + // optional string nextmatch_title = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nextmatch_title()); + } + + // optional string nextmatch = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nextmatch()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestAnnouncementsResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCRequestAnnouncementsResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestAnnouncementsResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCRequestAnnouncementsResponse::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:CMsgGCRequestAnnouncementsResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_announcement_title(from._internal_announcement_title()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_announcement(from._internal_announcement()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_nextmatch_title(from._internal_nextmatch_title()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_nextmatch(from._internal_nextmatch()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCRequestAnnouncementsResponse::CopyFrom(const CMsgGCRequestAnnouncementsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestAnnouncementsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCRequestAnnouncementsResponse::IsInitialized() const { + return true; +} + +void CMsgGCRequestAnnouncementsResponse::InternalSwap(CMsgGCRequestAnnouncementsResponse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.announcement_title_, lhs_arena, + &other->_impl_.announcement_title_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.announcement_, lhs_arena, + &other->_impl_.announcement_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nextmatch_title_, lhs_arena, + &other->_impl_.nextmatch_title_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nextmatch_, lhs_arena, + &other->_impl_.nextmatch_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestAnnouncementsResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[59]); +} + +// =================================================================== + +class CMsgGCBannedWord::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_word_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_word_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_word(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCBannedWord::CMsgGCBannedWord(::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:CMsgGCBannedWord) +} +CMsgGCBannedWord::CMsgGCBannedWord(const CMsgGCBannedWord& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCBannedWord* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.word_){} + , decltype(_impl_.word_id_){} + , decltype(_impl_.word_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.word_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.word_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_word()) { + _this->_impl_.word_.Set(from._internal_word(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.word_id_, &from._impl_.word_id_, + static_cast(reinterpret_cast(&_impl_.word_type_) - + reinterpret_cast(&_impl_.word_id_)) + sizeof(_impl_.word_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWord) +} + +inline void CMsgGCBannedWord::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.word_){} + , decltype(_impl_.word_id_){0u} + , decltype(_impl_.word_type_){0} + }; + _impl_.word_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.word_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCBannedWord::~CMsgGCBannedWord() { + // @@protoc_insertion_point(destructor:CMsgGCBannedWord) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCBannedWord::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.word_.Destroy(); +} + +void CMsgGCBannedWord::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCBannedWord::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWord) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.word_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.word_id_, 0, static_cast( + reinterpret_cast(&_impl_.word_type_) - + reinterpret_cast(&_impl_.word_id_)) + sizeof(_impl_.word_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCBannedWord::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 word_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_word_id(&has_bits); + _impl_.word_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::GC_BannedWordType_IsValid(val))) { + _internal_set_word_type(static_cast<::GC_BannedWordType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional string word = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_word(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCBannedWord.word"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCBannedWord::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWord) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 word_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_word_id(), target); + } + + // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this->_internal_word_type(), target); + } + + // optional string word = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_word().data(), static_cast(this->_internal_word().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCBannedWord.word"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_word(), 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:CMsgGCBannedWord) + return target; +} + +size_t CMsgGCBannedWord::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWord) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string word = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_word()); + } + + // optional uint32 word_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_word_id()); + } + + // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_word_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWord::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCBannedWord::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWord::GetClassData() const { return &_class_data_; } + + +void CMsgGCBannedWord::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:CMsgGCBannedWord) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_word(from._internal_word()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.word_id_ = from._impl_.word_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.word_type_ = from._impl_.word_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCBannedWord::CopyFrom(const CMsgGCBannedWord& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWord) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCBannedWord::IsInitialized() const { + return true; +} + +void CMsgGCBannedWord::InternalSwap(CMsgGCBannedWord* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.word_, lhs_arena, + &other->_impl_.word_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCBannedWord, _impl_.word_type_) + + sizeof(CMsgGCBannedWord::_impl_.word_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWord, _impl_.word_id_)>( + reinterpret_cast(&_impl_.word_id_), + reinterpret_cast(&other->_impl_.word_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWord::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[60]); +} + +// =================================================================== + +class CMsgGCBannedWordListResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ban_list_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse(::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:CMsgGCBannedWordListResponse) +} +CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse(const CMsgGCBannedWordListResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCBannedWordListResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.word_list_){from._impl_.word_list_} + , decltype(_impl_.ban_list_group_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ban_list_group_id_ = from._impl_.ban_list_group_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWordListResponse) +} + +inline void CMsgGCBannedWordListResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.word_list_){arena} + , decltype(_impl_.ban_list_group_id_){0u} + }; +} + +CMsgGCBannedWordListResponse::~CMsgGCBannedWordListResponse() { + // @@protoc_insertion_point(destructor:CMsgGCBannedWordListResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCBannedWordListResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.word_list_.~RepeatedPtrField(); +} + +void CMsgGCBannedWordListResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCBannedWordListResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWordListResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.word_list_.Clear(); + _impl_.ban_list_group_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCBannedWordListResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 ban_list_group_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ban_list_group_id(&has_bits); + _impl_.ban_list_group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCBannedWord word_list = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_word_list(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCBannedWordListResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWordListResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 ban_list_group_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ban_list_group_id(), target); + } + + // repeated .CMsgGCBannedWord word_list = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_word_list_size()); i < n; i++) { + const auto& repfield = this->_internal_word_list(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:CMsgGCBannedWordListResponse) + return target; +} + +size_t CMsgGCBannedWordListResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWordListResponse) + 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 .CMsgGCBannedWord word_list = 2; + total_size += 1UL * this->_internal_word_list_size(); + for (const auto& msg : this->_impl_.word_list_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 ban_list_group_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ban_list_group_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWordListResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCBannedWordListResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWordListResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCBannedWordListResponse::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:CMsgGCBannedWordListResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.word_list_.MergeFrom(from._impl_.word_list_); + if (from._internal_has_ban_list_group_id()) { + _this->_internal_set_ban_list_group_id(from._internal_ban_list_group_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCBannedWordListResponse::CopyFrom(const CMsgGCBannedWordListResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWordListResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCBannedWordListResponse::IsInitialized() const { + return true; +} + +void CMsgGCBannedWordListResponse::InternalSwap(CMsgGCBannedWordListResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.word_list_.InternalSwap(&other->_impl_.word_list_); + swap(_impl_.ban_list_group_id_, other->_impl_.ban_list_group_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWordListResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[61]); +} + +// =================================================================== + +class CMsgGCToGCBannedWordListBroadcast::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgGCBannedWordListResponse& broadcast(const CMsgGCToGCBannedWordListBroadcast* msg); + static void set_has_broadcast(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCBannedWordListResponse& +CMsgGCToGCBannedWordListBroadcast::_Internal::broadcast(const CMsgGCToGCBannedWordListBroadcast* msg) { + return *msg->_impl_.broadcast_; +} +CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast(::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:CMsgGCToGCBannedWordListBroadcast) +} +CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast(const CMsgGCToGCBannedWordListBroadcast& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCBannedWordListBroadcast* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.broadcast_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_broadcast()) { + _this->_impl_.broadcast_ = new ::CMsgGCBannedWordListResponse(*from._impl_.broadcast_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBannedWordListBroadcast) +} + +inline void CMsgGCToGCBannedWordListBroadcast::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.broadcast_){nullptr} + }; +} + +CMsgGCToGCBannedWordListBroadcast::~CMsgGCToGCBannedWordListBroadcast() { + // @@protoc_insertion_point(destructor:CMsgGCToGCBannedWordListBroadcast) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCBannedWordListBroadcast::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.broadcast_; +} + +void CMsgGCToGCBannedWordListBroadcast::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCBannedWordListBroadcast::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBannedWordListBroadcast) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.broadcast_ != nullptr); + _impl_.broadcast_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCBannedWordListBroadcast::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgGCBannedWordListResponse broadcast = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_broadcast(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCBannedWordListBroadcast::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBannedWordListBroadcast) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgGCBannedWordListResponse broadcast = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::broadcast(this), + _Internal::broadcast(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:CMsgGCToGCBannedWordListBroadcast) + return target; +} + +size_t CMsgGCToGCBannedWordListBroadcast::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBannedWordListBroadcast) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgGCBannedWordListResponse broadcast = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.broadcast_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBannedWordListBroadcast::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCBannedWordListBroadcast::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBannedWordListBroadcast::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCBannedWordListBroadcast::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:CMsgGCToGCBannedWordListBroadcast) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_broadcast()) { + _this->_internal_mutable_broadcast()->::CMsgGCBannedWordListResponse::MergeFrom( + from._internal_broadcast()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCBannedWordListBroadcast::CopyFrom(const CMsgGCToGCBannedWordListBroadcast& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBannedWordListBroadcast) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCBannedWordListBroadcast::IsInitialized() const { + return true; +} + +void CMsgGCToGCBannedWordListBroadcast::InternalSwap(CMsgGCToGCBannedWordListBroadcast* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.broadcast_, other->_impl_.broadcast_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBannedWordListBroadcast::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[62]); +} + +// =================================================================== + +class CMsgGCToGCBannedWordListUpdated::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_group_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated(::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:CMsgGCToGCBannedWordListUpdated) +} +CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated(const CMsgGCToGCBannedWordListUpdated& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCBannedWordListUpdated* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.group_id_ = from._impl_.group_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBannedWordListUpdated) +} + +inline void CMsgGCToGCBannedWordListUpdated::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_id_){0u} + }; +} + +CMsgGCToGCBannedWordListUpdated::~CMsgGCToGCBannedWordListUpdated() { + // @@protoc_insertion_point(destructor:CMsgGCToGCBannedWordListUpdated) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCBannedWordListUpdated::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCToGCBannedWordListUpdated::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCBannedWordListUpdated::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBannedWordListUpdated) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.group_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCBannedWordListUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 group_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_group_id(&has_bits); + _impl_.group_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCBannedWordListUpdated::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBannedWordListUpdated) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 group_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_group_id(), 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:CMsgGCToGCBannedWordListUpdated) + return target; +} + +size_t CMsgGCToGCBannedWordListUpdated::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBannedWordListUpdated) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 group_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBannedWordListUpdated::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCBannedWordListUpdated::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBannedWordListUpdated::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCBannedWordListUpdated::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:CMsgGCToGCBannedWordListUpdated) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_group_id()) { + _this->_internal_set_group_id(from._internal_group_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCBannedWordListUpdated::CopyFrom(const CMsgGCToGCBannedWordListUpdated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBannedWordListUpdated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCBannedWordListUpdated::IsInitialized() const { + return true; +} + +void CMsgGCToGCBannedWordListUpdated::InternalSwap(CMsgGCToGCBannedWordListUpdated* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.group_id_, other->_impl_.group_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBannedWordListUpdated::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[63]); +} + +// =================================================================== + +class CMsgGCToGCDirtySDOCache::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sdo_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_key_uint64(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache(::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:CMsgGCToGCDirtySDOCache) +} +CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache(const CMsgGCToGCDirtySDOCache& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCDirtySDOCache* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_uint64_){} + , decltype(_impl_.sdo_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.key_uint64_, &from._impl_.key_uint64_, + static_cast(reinterpret_cast(&_impl_.sdo_type_) - + reinterpret_cast(&_impl_.key_uint64_)) + sizeof(_impl_.sdo_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCDirtySDOCache) +} + +inline void CMsgGCToGCDirtySDOCache::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_uint64_){uint64_t{0u}} + , decltype(_impl_.sdo_type_){0u} + }; +} + +CMsgGCToGCDirtySDOCache::~CMsgGCToGCDirtySDOCache() { + // @@protoc_insertion_point(destructor:CMsgGCToGCDirtySDOCache) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCDirtySDOCache::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCToGCDirtySDOCache::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCDirtySDOCache::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCDirtySDOCache) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.key_uint64_, 0, static_cast( + reinterpret_cast(&_impl_.sdo_type_) - + reinterpret_cast(&_impl_.key_uint64_)) + sizeof(_impl_.sdo_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCDirtySDOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 sdo_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sdo_type(&has_bits); + _impl_.sdo_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 key_uint64 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_key_uint64(&has_bits); + _impl_.key_uint64_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCDirtySDOCache::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCDirtySDOCache) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 sdo_type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sdo_type(), target); + } + + // optional uint64 key_uint64 = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key_uint64(), 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:CMsgGCToGCDirtySDOCache) + return target; +} + +size_t CMsgGCToGCDirtySDOCache::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCDirtySDOCache) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 key_uint64 = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_key_uint64()); + } + + // optional uint32 sdo_type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sdo_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCDirtySDOCache::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCDirtySDOCache::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCDirtySDOCache::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCDirtySDOCache::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:CMsgGCToGCDirtySDOCache) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.key_uint64_ = from._impl_.key_uint64_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.sdo_type_ = from._impl_.sdo_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCDirtySDOCache::CopyFrom(const CMsgGCToGCDirtySDOCache& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCDirtySDOCache) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCDirtySDOCache::IsInitialized() const { + return true; +} + +void CMsgGCToGCDirtySDOCache::InternalSwap(CMsgGCToGCDirtySDOCache* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _impl_.sdo_type_) + + sizeof(CMsgGCToGCDirtySDOCache::_impl_.sdo_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _impl_.key_uint64_)>( + reinterpret_cast(&_impl_.key_uint64_), + reinterpret_cast(&other->_impl_.key_uint64_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCDirtySDOCache::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[64]); +} + +// =================================================================== + +class CMsgGCToGCDirtyMultipleSDOCache::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sdo_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache(::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:CMsgGCToGCDirtyMultipleSDOCache) +} +CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache(const CMsgGCToGCDirtyMultipleSDOCache& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCDirtyMultipleSDOCache* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_uint64_){from._impl_.key_uint64_} + , decltype(_impl_.sdo_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.sdo_type_ = from._impl_.sdo_type_; + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCDirtyMultipleSDOCache) +} + +inline void CMsgGCToGCDirtyMultipleSDOCache::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_uint64_){arena} + , decltype(_impl_.sdo_type_){0u} + }; +} + +CMsgGCToGCDirtyMultipleSDOCache::~CMsgGCToGCDirtyMultipleSDOCache() { + // @@protoc_insertion_point(destructor:CMsgGCToGCDirtyMultipleSDOCache) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCDirtyMultipleSDOCache::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.key_uint64_.~RepeatedField(); +} + +void CMsgGCToGCDirtyMultipleSDOCache::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCDirtyMultipleSDOCache::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCDirtyMultipleSDOCache) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.key_uint64_.Clear(); + _impl_.sdo_type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCDirtyMultipleSDOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 sdo_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sdo_type(&has_bits); + _impl_.sdo_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 key_uint64 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_key_uint64(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_key_uint64(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCDirtyMultipleSDOCache::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCDirtyMultipleSDOCache) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 sdo_type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sdo_type(), target); + } + + // repeated uint64 key_uint64 = 2; + for (int i = 0, n = this->_internal_key_uint64_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key_uint64(i), 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:CMsgGCToGCDirtyMultipleSDOCache) + return target; +} + +size_t CMsgGCToGCDirtyMultipleSDOCache::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCDirtyMultipleSDOCache) + 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 uint64 key_uint64 = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.key_uint64_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_key_uint64_size()); + total_size += data_size; + } + + // optional uint32 sdo_type = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sdo_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCDirtyMultipleSDOCache::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCDirtyMultipleSDOCache::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCDirtyMultipleSDOCache::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCDirtyMultipleSDOCache::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:CMsgGCToGCDirtyMultipleSDOCache) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.key_uint64_.MergeFrom(from._impl_.key_uint64_); + if (from._internal_has_sdo_type()) { + _this->_internal_set_sdo_type(from._internal_sdo_type()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCDirtyMultipleSDOCache::CopyFrom(const CMsgGCToGCDirtyMultipleSDOCache& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCDirtyMultipleSDOCache) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCDirtyMultipleSDOCache::IsInitialized() const { + return true; +} + +void CMsgGCToGCDirtyMultipleSDOCache::InternalSwap(CMsgGCToGCDirtyMultipleSDOCache* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.key_uint64_.InternalSwap(&other->_impl_.key_uint64_); + swap(_impl_.sdo_type_, other->_impl_.sdo_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCDirtyMultipleSDOCache::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[65]); +} + +// =================================================================== + +class CMsgGCCollectItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_collection_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_subject_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCollectItem::CMsgGCCollectItem(::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:CMsgGCCollectItem) +} +CMsgGCCollectItem::CMsgGCCollectItem(const CMsgGCCollectItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCollectItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.collection_item_id_){} + , decltype(_impl_.subject_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.collection_item_id_, &from._impl_.collection_item_id_, + static_cast(reinterpret_cast(&_impl_.subject_item_id_) - + reinterpret_cast(&_impl_.collection_item_id_)) + sizeof(_impl_.subject_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCollectItem) +} + +inline void CMsgGCCollectItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.collection_item_id_){uint64_t{0u}} + , decltype(_impl_.subject_item_id_){uint64_t{0u}} + }; +} + +CMsgGCCollectItem::~CMsgGCCollectItem() { + // @@protoc_insertion_point(destructor:CMsgGCCollectItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCollectItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCollectItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCollectItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCollectItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.collection_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.subject_item_id_) - + reinterpret_cast(&_impl_.collection_item_id_)) + sizeof(_impl_.subject_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCollectItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 collection_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_collection_item_id(&has_bits); + _impl_.collection_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 subject_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_subject_item_id(&has_bits); + _impl_.subject_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCollectItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCollectItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 collection_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_collection_item_id(), target); + } + + // optional uint64 subject_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_subject_item_id(), 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:CMsgGCCollectItem) + return target; +} + +size_t CMsgGCCollectItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCollectItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 collection_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_collection_item_id()); + } + + // optional uint64 subject_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_subject_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCollectItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCollectItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCollectItem::GetClassData() const { return &_class_data_; } + + +void CMsgGCCollectItem::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:CMsgGCCollectItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.collection_item_id_ = from._impl_.collection_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.subject_item_id_ = from._impl_.subject_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCollectItem::CopyFrom(const CMsgGCCollectItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCollectItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCollectItem::IsInitialized() const { + return true; +} + +void CMsgGCCollectItem::InternalSwap(CMsgGCCollectItem* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCollectItem, _impl_.subject_item_id_) + + sizeof(CMsgGCCollectItem::_impl_.subject_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCollectItem, _impl_.collection_item_id_)>( + reinterpret_cast(&_impl_.collection_item_id_), + reinterpret_cast(&other->_impl_.collection_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCollectItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[66]); +} + +// =================================================================== + +class CMsgSDONoMemcached::_Internal { + public: +}; + +CMsgSDONoMemcached::CMsgSDONoMemcached(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgSDONoMemcached) +} +CMsgSDONoMemcached::CMsgSDONoMemcached(const CMsgSDONoMemcached& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgSDONoMemcached* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgSDONoMemcached) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSDONoMemcached::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSDONoMemcached::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSDONoMemcached::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[67]); +} + +// =================================================================== + +class CMsgGCToGCUpdateSQLKeyValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_key_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue(::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:CMsgGCToGCUpdateSQLKeyValue) +} +CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue(const CMsgGCToGCUpdateSQLKeyValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCUpdateSQLKeyValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_name_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.key_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key_name()) { + _this->_impl_.key_name_.Set(from._internal_key_name(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCUpdateSQLKeyValue) +} + +inline void CMsgGCToGCUpdateSQLKeyValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_name_){} + }; + _impl_.key_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCToGCUpdateSQLKeyValue::~CMsgGCToGCUpdateSQLKeyValue() { + // @@protoc_insertion_point(destructor:CMsgGCToGCUpdateSQLKeyValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCUpdateSQLKeyValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.key_name_.Destroy(); +} + +void CMsgGCToGCUpdateSQLKeyValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCUpdateSQLKeyValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCUpdateSQLKeyValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.key_name_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCUpdateSQLKeyValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string key_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_key_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCToGCUpdateSQLKeyValue.key_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCUpdateSQLKeyValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCUpdateSQLKeyValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string key_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_key_name().data(), static_cast(this->_internal_key_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCToGCUpdateSQLKeyValue.key_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key_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:CMsgGCToGCUpdateSQLKeyValue) + return target; +} + +size_t CMsgGCToGCUpdateSQLKeyValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCUpdateSQLKeyValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string key_name = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key_name()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCUpdateSQLKeyValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCUpdateSQLKeyValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCUpdateSQLKeyValue::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCUpdateSQLKeyValue::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:CMsgGCToGCUpdateSQLKeyValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_key_name()) { + _this->_internal_set_key_name(from._internal_key_name()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCUpdateSQLKeyValue::CopyFrom(const CMsgGCToGCUpdateSQLKeyValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCUpdateSQLKeyValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCUpdateSQLKeyValue::IsInitialized() const { + return true; +} + +void CMsgGCToGCUpdateSQLKeyValue::InternalSwap(CMsgGCToGCUpdateSQLKeyValue* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_name_, lhs_arena, + &other->_impl_.key_name_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCUpdateSQLKeyValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[68]); +} + +// =================================================================== + +class CMsgGCToGCIsTrustedServer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer(::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:CMsgGCToGCIsTrustedServer) +} +CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer(const CMsgGCToGCIsTrustedServer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCIsTrustedServer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steam_id_ = from._impl_.steam_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCIsTrustedServer) +} + +inline void CMsgGCToGCIsTrustedServer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){uint64_t{0u}} + }; +} + +CMsgGCToGCIsTrustedServer::~CMsgGCToGCIsTrustedServer() { + // @@protoc_insertion_point(destructor:CMsgGCToGCIsTrustedServer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCIsTrustedServer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCToGCIsTrustedServer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCIsTrustedServer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCIsTrustedServer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCIsTrustedServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCIsTrustedServer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCIsTrustedServer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), 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:CMsgGCToGCIsTrustedServer) + return target; +} + +size_t CMsgGCToGCIsTrustedServer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCIsTrustedServer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 steam_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCIsTrustedServer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCIsTrustedServer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCIsTrustedServer::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCIsTrustedServer::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:CMsgGCToGCIsTrustedServer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steam_id()) { + _this->_internal_set_steam_id(from._internal_steam_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCIsTrustedServer::CopyFrom(const CMsgGCToGCIsTrustedServer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCIsTrustedServer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCIsTrustedServer::IsInitialized() const { + return true; +} + +void CMsgGCToGCIsTrustedServer::InternalSwap(CMsgGCToGCIsTrustedServer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steam_id_, other->_impl_.steam_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCIsTrustedServer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[69]); +} + +// =================================================================== + +class CMsgGCToGCIsTrustedServerResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_is_trusted(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse(::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:CMsgGCToGCIsTrustedServerResponse) +} +CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse(const CMsgGCToGCIsTrustedServerResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCIsTrustedServerResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.is_trusted_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.is_trusted_ = from._impl_.is_trusted_; + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCIsTrustedServerResponse) +} + +inline void CMsgGCToGCIsTrustedServerResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.is_trusted_){false} + }; +} + +CMsgGCToGCIsTrustedServerResponse::~CMsgGCToGCIsTrustedServerResponse() { + // @@protoc_insertion_point(destructor:CMsgGCToGCIsTrustedServerResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCIsTrustedServerResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCToGCIsTrustedServerResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCIsTrustedServerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCIsTrustedServerResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.is_trusted_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCIsTrustedServerResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool is_trusted = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_is_trusted(&has_bits); + _impl_.is_trusted_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCIsTrustedServerResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCIsTrustedServerResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool is_trusted = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_trusted(), 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:CMsgGCToGCIsTrustedServerResponse) + return target; +} + +size_t CMsgGCToGCIsTrustedServerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCIsTrustedServerResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool is_trusted = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCIsTrustedServerResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCIsTrustedServerResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCIsTrustedServerResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCIsTrustedServerResponse::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:CMsgGCToGCIsTrustedServerResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_is_trusted()) { + _this->_internal_set_is_trusted(from._internal_is_trusted()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCIsTrustedServerResponse::CopyFrom(const CMsgGCToGCIsTrustedServerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCIsTrustedServerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCIsTrustedServerResponse::IsInitialized() const { + return true; +} + +void CMsgGCToGCIsTrustedServerResponse::InternalSwap(CMsgGCToGCIsTrustedServerResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.is_trusted_, other->_impl_.is_trusted_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCIsTrustedServerResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[70]); +} + +// =================================================================== + +class CMsgGCToGCBroadcastConsoleCommand::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_con_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand(::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:CMsgGCToGCBroadcastConsoleCommand) +} +CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand(const CMsgGCToGCBroadcastConsoleCommand& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCBroadcastConsoleCommand* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.con_command_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.con_command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.con_command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_con_command()) { + _this->_impl_.con_command_.Set(from._internal_con_command(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBroadcastConsoleCommand) +} + +inline void CMsgGCToGCBroadcastConsoleCommand::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.con_command_){} + }; + _impl_.con_command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.con_command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCToGCBroadcastConsoleCommand::~CMsgGCToGCBroadcastConsoleCommand() { + // @@protoc_insertion_point(destructor:CMsgGCToGCBroadcastConsoleCommand) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCBroadcastConsoleCommand::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.con_command_.Destroy(); +} + +void CMsgGCToGCBroadcastConsoleCommand::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCBroadcastConsoleCommand::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBroadcastConsoleCommand) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.con_command_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCBroadcastConsoleCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string con_command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_con_command(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCToGCBroadcastConsoleCommand.con_command"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCBroadcastConsoleCommand::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBroadcastConsoleCommand) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string con_command = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_con_command().data(), static_cast(this->_internal_con_command().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCToGCBroadcastConsoleCommand.con_command"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_con_command(), 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:CMsgGCToGCBroadcastConsoleCommand) + return target; +} + +size_t CMsgGCToGCBroadcastConsoleCommand::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBroadcastConsoleCommand) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string con_command = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_con_command()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBroadcastConsoleCommand::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCBroadcastConsoleCommand::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBroadcastConsoleCommand::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCBroadcastConsoleCommand::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:CMsgGCToGCBroadcastConsoleCommand) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_con_command()) { + _this->_internal_set_con_command(from._internal_con_command()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCBroadcastConsoleCommand::CopyFrom(const CMsgGCToGCBroadcastConsoleCommand& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBroadcastConsoleCommand) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCBroadcastConsoleCommand::IsInitialized() const { + return true; +} + +void CMsgGCToGCBroadcastConsoleCommand::InternalSwap(CMsgGCToGCBroadcastConsoleCommand* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.con_command_, lhs_arena, + &other->_impl_.con_command_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBroadcastConsoleCommand::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[71]); +} + +// =================================================================== + +class CMsgGCServerVersionUpdated::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_server_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated(::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:CMsgGCServerVersionUpdated) +} +CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated(const CMsgGCServerVersionUpdated& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCServerVersionUpdated* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.server_version_ = from._impl_.server_version_; + // @@protoc_insertion_point(copy_constructor:CMsgGCServerVersionUpdated) +} + +inline void CMsgGCServerVersionUpdated::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_version_){0u} + }; +} + +CMsgGCServerVersionUpdated::~CMsgGCServerVersionUpdated() { + // @@protoc_insertion_point(destructor:CMsgGCServerVersionUpdated) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCServerVersionUpdated::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCServerVersionUpdated::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCServerVersionUpdated::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCServerVersionUpdated) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.server_version_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCServerVersionUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 server_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_server_version(&has_bits); + _impl_.server_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCServerVersionUpdated::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCServerVersionUpdated) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 server_version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_server_version(), 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:CMsgGCServerVersionUpdated) + return target; +} + +size_t CMsgGCServerVersionUpdated::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCServerVersionUpdated) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 server_version = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCServerVersionUpdated::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCServerVersionUpdated::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCServerVersionUpdated::GetClassData() const { return &_class_data_; } + + +void CMsgGCServerVersionUpdated::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:CMsgGCServerVersionUpdated) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_server_version()) { + _this->_internal_set_server_version(from._internal_server_version()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCServerVersionUpdated::CopyFrom(const CMsgGCServerVersionUpdated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCServerVersionUpdated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCServerVersionUpdated::IsInitialized() const { + return true; +} + +void CMsgGCServerVersionUpdated::InternalSwap(CMsgGCServerVersionUpdated* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.server_version_, other->_impl_.server_version_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCServerVersionUpdated::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[72]); +} + +// =================================================================== + +class CMsgGCClientVersionUpdated::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated(::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:CMsgGCClientVersionUpdated) +} +CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated(const CMsgGCClientVersionUpdated& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCClientVersionUpdated* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.client_version_ = from._impl_.client_version_; + // @@protoc_insertion_point(copy_constructor:CMsgGCClientVersionUpdated) +} + +inline void CMsgGCClientVersionUpdated::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_version_){0u} + }; +} + +CMsgGCClientVersionUpdated::~CMsgGCClientVersionUpdated() { + // @@protoc_insertion_point(destructor:CMsgGCClientVersionUpdated) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCClientVersionUpdated::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCClientVersionUpdated::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCClientVersionUpdated::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCClientVersionUpdated) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.client_version_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCClientVersionUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 client_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_client_version(&has_bits); + _impl_.client_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCClientVersionUpdated::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCClientVersionUpdated) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 client_version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_client_version(), 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:CMsgGCClientVersionUpdated) + return target; +} + +size_t CMsgGCClientVersionUpdated::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCClientVersionUpdated) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 client_version = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCClientVersionUpdated::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCClientVersionUpdated::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCClientVersionUpdated::GetClassData() const { return &_class_data_; } + + +void CMsgGCClientVersionUpdated::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:CMsgGCClientVersionUpdated) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_client_version()) { + _this->_internal_set_client_version(from._internal_client_version()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCClientVersionUpdated::CopyFrom(const CMsgGCClientVersionUpdated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCClientVersionUpdated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCClientVersionUpdated::IsInitialized() const { + return true; +} + +void CMsgGCClientVersionUpdated::InternalSwap(CMsgGCClientVersionUpdated* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.client_version_, other->_impl_.client_version_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCClientVersionUpdated::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[73]); +} + +// =================================================================== + +class CMsgGCToGCWebAPIAccountChanged::_Internal { + public: +}; + +CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCToGCWebAPIAccountChanged) +} +CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged(const CMsgGCToGCWebAPIAccountChanged& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCToGCWebAPIAccountChanged* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCWebAPIAccountChanged) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCWebAPIAccountChanged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCWebAPIAccountChanged::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCWebAPIAccountChanged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[74]); +} + +// =================================================================== + +class CMsgGCToGCRequestPassportItemGrant::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_league_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_reward_flag(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant(::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:CMsgGCToGCRequestPassportItemGrant) +} +CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant(const CMsgGCToGCRequestPassportItemGrant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToGCRequestPassportItemGrant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){} + , decltype(_impl_.league_id_){} + , decltype(_impl_.reward_flag_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, + static_cast(reinterpret_cast(&_impl_.reward_flag_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.reward_flag_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCToGCRequestPassportItemGrant) +} + +inline void CMsgGCToGCRequestPassportItemGrant::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){uint64_t{0u}} + , decltype(_impl_.league_id_){0u} + , decltype(_impl_.reward_flag_){0} + }; +} + +CMsgGCToGCRequestPassportItemGrant::~CMsgGCToGCRequestPassportItemGrant() { + // @@protoc_insertion_point(destructor:CMsgGCToGCRequestPassportItemGrant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToGCRequestPassportItemGrant::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCToGCRequestPassportItemGrant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToGCRequestPassportItemGrant::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToGCRequestPassportItemGrant) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.reward_flag_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.reward_flag_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToGCRequestPassportItemGrant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 league_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_league_id(&has_bits); + _impl_.league_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 reward_flag = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_reward_flag(&has_bits); + _impl_.reward_flag_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToGCRequestPassportItemGrant::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCRequestPassportItemGrant) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); + } + + // optional uint32 league_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_league_id(), target); + } + + // optional int32 reward_flag = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_reward_flag(), 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:CMsgGCToGCRequestPassportItemGrant) + return target; +} + +size_t CMsgGCToGCRequestPassportItemGrant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCRequestPassportItemGrant) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 league_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_league_id()); + } + + // optional int32 reward_flag = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reward_flag()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCRequestPassportItemGrant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToGCRequestPassportItemGrant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCRequestPassportItemGrant::GetClassData() const { return &_class_data_; } + + +void CMsgGCToGCRequestPassportItemGrant::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:CMsgGCToGCRequestPassportItemGrant) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steam_id_ = from._impl_.steam_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.league_id_ = from._impl_.league_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.reward_flag_ = from._impl_.reward_flag_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToGCRequestPassportItemGrant::CopyFrom(const CMsgGCToGCRequestPassportItemGrant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCRequestPassportItemGrant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToGCRequestPassportItemGrant::IsInitialized() const { + return true; +} + +void CMsgGCToGCRequestPassportItemGrant::InternalSwap(CMsgGCToGCRequestPassportItemGrant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _impl_.reward_flag_) + + sizeof(CMsgGCToGCRequestPassportItemGrant::_impl_.reward_flag_) + - PROTOBUF_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _impl_.steam_id_)>( + reinterpret_cast(&_impl_.steam_id_), + reinterpret_cast(&other->_impl_.steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCRequestPassportItemGrant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[75]); +} + +// =================================================================== + +class CMsgGameServerInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_server_public_ip_addr(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_server_private_ip_addr(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_server_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_server_tv_port(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_server_hibernation(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_server_type(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_server_region(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_server_loadavg(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_server_tv_broadcast_time(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_server_game_time(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_server_relay_connected_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_relay_slots_max(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_relays_connected(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_relay_clients_connected(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_relayed_game_server_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_parent_relay_count(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_tv_secret_code(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CMsgGameServerInfo::CMsgGameServerInfo(::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:CMsgGameServerInfo) +} +CMsgGameServerInfo::CMsgGameServerInfo(const CMsgGameServerInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGameServerInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_key_){} + , decltype(_impl_.server_public_ip_addr_){} + , decltype(_impl_.server_private_ip_addr_){} + , decltype(_impl_.server_port_){} + , decltype(_impl_.server_tv_port_){} + , decltype(_impl_.server_hibernation_){} + , decltype(_impl_.server_type_){} + , decltype(_impl_.server_region_){} + , decltype(_impl_.server_loadavg_){} + , decltype(_impl_.server_tv_broadcast_time_){} + , decltype(_impl_.server_game_time_){} + , decltype(_impl_.server_relay_connected_steam_id_){} + , decltype(_impl_.relay_slots_max_){} + , decltype(_impl_.relays_connected_){} + , decltype(_impl_.relayed_game_server_steam_id_){} + , decltype(_impl_.relay_clients_connected_){} + , decltype(_impl_.parent_relay_count_){} + , decltype(_impl_.tv_secret_code_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.server_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_server_key()) { + _this->_impl_.server_key_.Set(from._internal_server_key(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.server_public_ip_addr_, &from._impl_.server_public_ip_addr_, + static_cast(reinterpret_cast(&_impl_.tv_secret_code_) - + reinterpret_cast(&_impl_.server_public_ip_addr_)) + sizeof(_impl_.tv_secret_code_)); + // @@protoc_insertion_point(copy_constructor:CMsgGameServerInfo) +} + +inline void CMsgGameServerInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_key_){} + , decltype(_impl_.server_public_ip_addr_){0u} + , decltype(_impl_.server_private_ip_addr_){0u} + , decltype(_impl_.server_port_){0u} + , decltype(_impl_.server_tv_port_){0u} + , decltype(_impl_.server_hibernation_){false} + , decltype(_impl_.server_type_){0} + , decltype(_impl_.server_region_){0u} + , decltype(_impl_.server_loadavg_){0} + , decltype(_impl_.server_tv_broadcast_time_){0} + , decltype(_impl_.server_game_time_){0} + , decltype(_impl_.server_relay_connected_steam_id_){uint64_t{0u}} + , decltype(_impl_.relay_slots_max_){0u} + , decltype(_impl_.relays_connected_){0} + , decltype(_impl_.relayed_game_server_steam_id_){uint64_t{0u}} + , decltype(_impl_.relay_clients_connected_){0} + , decltype(_impl_.parent_relay_count_){0u} + , decltype(_impl_.tv_secret_code_){uint64_t{0u}} + }; + _impl_.server_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGameServerInfo::~CMsgGameServerInfo() { + // @@protoc_insertion_point(destructor:CMsgGameServerInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGameServerInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.server_key_.Destroy(); +} + +void CMsgGameServerInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGameServerInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGameServerInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.server_key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.server_public_ip_addr_, 0, static_cast( + reinterpret_cast(&_impl_.server_region_) - + reinterpret_cast(&_impl_.server_public_ip_addr_)) + sizeof(_impl_.server_region_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.server_loadavg_, 0, static_cast( + reinterpret_cast(&_impl_.relay_clients_connected_) - + reinterpret_cast(&_impl_.server_loadavg_)) + sizeof(_impl_.relay_clients_connected_)); + } + if (cached_has_bits & 0x00030000u) { + ::memset(&_impl_.parent_relay_count_, 0, static_cast( + reinterpret_cast(&_impl_.tv_secret_code_) - + reinterpret_cast(&_impl_.parent_relay_count_)) + sizeof(_impl_.tv_secret_code_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGameServerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 server_public_ip_addr = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_server_public_ip_addr(&has_bits); + _impl_.server_public_ip_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 server_private_ip_addr = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_server_private_ip_addr(&has_bits); + _impl_.server_private_ip_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 server_port = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_server_port(&has_bits); + _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_tv_port = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_tv_port(&has_bits); + _impl_.server_tv_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string server_key = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_server_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGameServerInfo.server_key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool server_hibernation = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_server_hibernation(&has_bits); + _impl_.server_hibernation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::CMsgGameServerInfo_ServerType_IsValid(val))) { + _internal_set_server_type(static_cast<::CMsgGameServerInfo_ServerType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional uint32 server_region = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_server_region(&has_bits); + _impl_.server_region_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float server_loadavg = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_server_loadavg(&has_bits); + _impl_.server_loadavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float server_tv_broadcast_time = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_server_tv_broadcast_time(&has_bits); + _impl_.server_tv_broadcast_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float server_game_time = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_server_game_time(&has_bits); + _impl_.server_game_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed64 server_relay_connected_steam_id = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 97)) { + _Internal::set_has_server_relay_connected_steam_id(&has_bits); + _impl_.server_relay_connected_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 relay_slots_max = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_relay_slots_max(&has_bits); + _impl_.relay_slots_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 relays_connected = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_relays_connected(&has_bits); + _impl_.relays_connected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 relay_clients_connected = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_relay_clients_connected(&has_bits); + _impl_.relay_clients_connected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 relayed_game_server_steam_id = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 129)) { + _Internal::set_has_relayed_game_server_steam_id(&has_bits); + _impl_.relayed_game_server_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 parent_relay_count = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_parent_relay_count(&has_bits); + _impl_.parent_relay_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 tv_secret_code = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 145)) { + _Internal::set_has_tv_secret_code(&has_bits); + _impl_.tv_secret_code_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGameServerInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGameServerInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 server_public_ip_addr = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_server_public_ip_addr(), target); + } + + // optional fixed32 server_private_ip_addr = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_server_private_ip_addr(), target); + } + + // optional uint32 server_port = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_port(), target); + } + + // optional uint32 server_tv_port = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_tv_port(), target); + } + + // optional string server_key = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_server_key().data(), static_cast(this->_internal_server_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGameServerInfo.server_key"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_server_key(), target); + } + + // optional bool server_hibernation = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_server_hibernation(), target); + } + + // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 7, this->_internal_server_type(), target); + } + + // optional uint32 server_region = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_server_region(), target); + } + + // optional float server_loadavg = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_server_loadavg(), target); + } + + // optional float server_tv_broadcast_time = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_server_tv_broadcast_time(), target); + } + + // optional float server_game_time = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_server_game_time(), target); + } + + // optional fixed64 server_relay_connected_steam_id = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(12, this->_internal_server_relay_connected_steam_id(), target); + } + + // optional uint32 relay_slots_max = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_relay_slots_max(), target); + } + + // optional int32 relays_connected = 14; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_relays_connected(), target); + } + + // optional int32 relay_clients_connected = 15; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_relay_clients_connected(), target); + } + + // optional fixed64 relayed_game_server_steam_id = 16; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(16, this->_internal_relayed_game_server_steam_id(), target); + } + + // optional uint32 parent_relay_count = 17; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_parent_relay_count(), target); + } + + // optional fixed64 tv_secret_code = 18; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(18, this->_internal_tv_secret_code(), 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:CMsgGameServerInfo) + return target; +} + +size_t CMsgGameServerInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGameServerInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string server_key = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_server_key()); + } + + // optional fixed32 server_public_ip_addr = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional fixed32 server_private_ip_addr = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 server_port = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); + } + + // optional uint32 server_tv_port = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_tv_port()); + } + + // optional bool server_hibernation = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_server_type()); + } + + // optional uint32 server_region = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_region()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional float server_loadavg = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional float server_tv_broadcast_time = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional float server_game_time = 11; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional fixed64 server_relay_connected_steam_id = 12; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 8; + } + + // optional uint32 relay_slots_max = 13; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_slots_max()); + } + + // optional int32 relays_connected = 14; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_relays_connected()); + } + + // optional fixed64 relayed_game_server_steam_id = 16; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 8; + } + + // optional int32 relay_clients_connected = 15; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_relay_clients_connected()); + } + + } + if (cached_has_bits & 0x00030000u) { + // optional uint32 parent_relay_count = 17; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_parent_relay_count()); + } + + // optional fixed64 tv_secret_code = 18; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGameServerInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGameServerInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGameServerInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGameServerInfo::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:CMsgGameServerInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_server_key(from._internal_server_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.server_public_ip_addr_ = from._impl_.server_public_ip_addr_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_private_ip_addr_ = from._impl_.server_private_ip_addr_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.server_port_ = from._impl_.server_port_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.server_tv_port_ = from._impl_.server_tv_port_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.server_hibernation_ = from._impl_.server_hibernation_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.server_type_ = from._impl_.server_type_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.server_region_ = from._impl_.server_region_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.server_loadavg_ = from._impl_.server_loadavg_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.server_tv_broadcast_time_ = from._impl_.server_tv_broadcast_time_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.server_game_time_ = from._impl_.server_game_time_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.server_relay_connected_steam_id_ = from._impl_.server_relay_connected_steam_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.relay_slots_max_ = from._impl_.relay_slots_max_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.relays_connected_ = from._impl_.relays_connected_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.relayed_game_server_steam_id_ = from._impl_.relayed_game_server_steam_id_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.relay_clients_connected_ = from._impl_.relay_clients_connected_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.parent_relay_count_ = from._impl_.parent_relay_count_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.tv_secret_code_ = from._impl_.tv_secret_code_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGameServerInfo::CopyFrom(const CMsgGameServerInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGameServerInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGameServerInfo::IsInitialized() const { + return true; +} + +void CMsgGameServerInfo::InternalSwap(CMsgGameServerInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.server_key_, lhs_arena, + &other->_impl_.server_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGameServerInfo, _impl_.tv_secret_code_) + + sizeof(CMsgGameServerInfo::_impl_.tv_secret_code_) + - PROTOBUF_FIELD_OFFSET(CMsgGameServerInfo, _impl_.server_public_ip_addr_)>( + reinterpret_cast(&_impl_.server_public_ip_addr_), + reinterpret_cast(&other->_impl_.server_public_ip_addr_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGameServerInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[76]); +} + +// =================================================================== + +class CSOEconEquipSlot::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_class_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_slot_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_item_definition(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CSOEconEquipSlot::CSOEconEquipSlot(::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:CSOEconEquipSlot) +} +CSOEconEquipSlot::CSOEconEquipSlot(const CSOEconEquipSlot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconEquipSlot* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.class_id_){} + , decltype(_impl_.item_id_){} + , decltype(_impl_.slot_id_){} + , decltype(_impl_.item_definition_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.item_definition_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_definition_)); + // @@protoc_insertion_point(copy_constructor:CSOEconEquipSlot) +} + +inline void CSOEconEquipSlot::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.class_id_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.slot_id_){0u} + , decltype(_impl_.item_definition_){0u} + }; +} + +CSOEconEquipSlot::~CSOEconEquipSlot() { + // @@protoc_insertion_point(destructor:CSOEconEquipSlot) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconEquipSlot::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconEquipSlot::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconEquipSlot::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconEquipSlot) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_definition_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_definition_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconEquipSlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 class_id = 2 [(.key_field) = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_class_id(&has_bits); + _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 slot_id = 3 [(.key_field) = true]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_slot_id(&has_bits); + _impl_.slot_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 item_definition = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_item_definition(&has_bits); + _impl_.item_definition_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconEquipSlot::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconEquipSlot) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 class_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_class_id(), target); + } + + // optional uint32 slot_id = 3 [(.key_field) = true]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_slot_id(), target); + } + + // optional uint64 item_id = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_item_id(), target); + } + + // optional uint32 item_definition = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_item_definition(), 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:CSOEconEquipSlot) + return target; +} + +size_t CSOEconEquipSlot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconEquipSlot) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 class_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_class_id()); + } + + // optional uint64 item_id = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional uint32 slot_id = 3 [(.key_field) = true]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot_id()); + } + + // optional uint32 item_definition = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_definition()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconEquipSlot::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconEquipSlot::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconEquipSlot::GetClassData() const { return &_class_data_; } + + +void CSOEconEquipSlot::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:CSOEconEquipSlot) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.class_id_ = from._impl_.class_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.slot_id_ = from._impl_.slot_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.item_definition_ = from._impl_.item_definition_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconEquipSlot::CopyFrom(const CSOEconEquipSlot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconEquipSlot) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconEquipSlot::IsInitialized() const { + return true; +} + +void CSOEconEquipSlot::InternalSwap(CSOEconEquipSlot* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconEquipSlot, _impl_.item_definition_) + + sizeof(CSOEconEquipSlot::_impl_.item_definition_) + - PROTOBUF_FIELD_OFFSET(CSOEconEquipSlot, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconEquipSlot::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[77]); +} + +// =================================================================== + +class CMsgAdjustEquipSlot::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_class_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_slot_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgAdjustEquipSlot::CMsgAdjustEquipSlot(::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:CMsgAdjustEquipSlot) +} +CMsgAdjustEquipSlot::CMsgAdjustEquipSlot(const CMsgAdjustEquipSlot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgAdjustEquipSlot* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_id_){} + , decltype(_impl_.slot_id_){} + , decltype(_impl_.item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.class_id_, &from._impl_.class_id_, + static_cast(reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgAdjustEquipSlot) +} + +inline void CMsgAdjustEquipSlot::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_id_){0u} + , decltype(_impl_.slot_id_){0u} + , decltype(_impl_.item_id_){uint64_t{0u}} + }; +} + +CMsgAdjustEquipSlot::~CMsgAdjustEquipSlot() { + // @@protoc_insertion_point(destructor:CMsgAdjustEquipSlot) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgAdjustEquipSlot::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgAdjustEquipSlot::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgAdjustEquipSlot::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgAdjustEquipSlot) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.class_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_id_) - + reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgAdjustEquipSlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 class_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_class_id(&has_bits); + _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 slot_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_slot_id(&has_bits); + _impl_.slot_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgAdjustEquipSlot::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgAdjustEquipSlot) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 class_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_class_id(), target); + } + + // optional uint32 slot_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_slot_id(), target); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), 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:CMsgAdjustEquipSlot) + return target; +} + +size_t CMsgAdjustEquipSlot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgAdjustEquipSlot) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 class_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_class_id()); + } + + // optional uint32 slot_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot_id()); + } + + // optional uint64 item_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAdjustEquipSlot::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgAdjustEquipSlot::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAdjustEquipSlot::GetClassData() const { return &_class_data_; } + + +void CMsgAdjustEquipSlot::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:CMsgAdjustEquipSlot) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.class_id_ = from._impl_.class_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.slot_id_ = from._impl_.slot_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgAdjustEquipSlot::CopyFrom(const CMsgAdjustEquipSlot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAdjustEquipSlot) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgAdjustEquipSlot::IsInitialized() const { + return true; +} + +void CMsgAdjustEquipSlot::InternalSwap(CMsgAdjustEquipSlot* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgAdjustEquipSlot, _impl_.item_id_) + + sizeof(CMsgAdjustEquipSlot::_impl_.item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgAdjustEquipSlot, _impl_.class_id_)>( + reinterpret_cast(&_impl_.class_id_), + reinterpret_cast(&other->_impl_.class_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgAdjustEquipSlot::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[78]); +} + +// =================================================================== + +class CMsgAdjustEquipSlots::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_change_num(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgAdjustEquipSlots::CMsgAdjustEquipSlots(::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:CMsgAdjustEquipSlots) +} +CMsgAdjustEquipSlots::CMsgAdjustEquipSlots(const CMsgAdjustEquipSlots& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgAdjustEquipSlots* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slots_){from._impl_.slots_} + , decltype(_impl_.change_num_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.change_num_ = from._impl_.change_num_; + // @@protoc_insertion_point(copy_constructor:CMsgAdjustEquipSlots) +} + +inline void CMsgAdjustEquipSlots::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slots_){arena} + , decltype(_impl_.change_num_){0u} + }; +} + +CMsgAdjustEquipSlots::~CMsgAdjustEquipSlots() { + // @@protoc_insertion_point(destructor:CMsgAdjustEquipSlots) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgAdjustEquipSlots::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.slots_.~RepeatedPtrField(); +} + +void CMsgAdjustEquipSlots::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgAdjustEquipSlots::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgAdjustEquipSlots) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.slots_.Clear(); + _impl_.change_num_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgAdjustEquipSlots::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CMsgAdjustEquipSlot slots = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_slots(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 change_num = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_change_num(&has_bits); + _impl_.change_num_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgAdjustEquipSlots::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgAdjustEquipSlots) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgAdjustEquipSlot slots = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_slots_size()); i < n; i++) { + const auto& repfield = this->_internal_slots(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 change_num = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_change_num(), 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:CMsgAdjustEquipSlots) + return target; +} + +size_t CMsgAdjustEquipSlots::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgAdjustEquipSlots) + 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 .CMsgAdjustEquipSlot slots = 1; + total_size += 1UL * this->_internal_slots_size(); + for (const auto& msg : this->_impl_.slots_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 change_num = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_change_num()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAdjustEquipSlots::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgAdjustEquipSlots::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAdjustEquipSlots::GetClassData() const { return &_class_data_; } + + +void CMsgAdjustEquipSlots::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:CMsgAdjustEquipSlots) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.slots_.MergeFrom(from._impl_.slots_); + if (from._internal_has_change_num()) { + _this->_internal_set_change_num(from._internal_change_num()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgAdjustEquipSlots::CopyFrom(const CMsgAdjustEquipSlots& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAdjustEquipSlots) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgAdjustEquipSlots::IsInitialized() const { + return true; +} + +void CMsgAdjustEquipSlots::InternalSwap(CMsgAdjustEquipSlots* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slots_.InternalSwap(&other->_impl_.slots_); + swap(_impl_.change_num_, other->_impl_.change_num_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgAdjustEquipSlots::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[79]); +} + +// =================================================================== + +class CMsgOpenCrate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tool_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_subject_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_for_rental(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_points_remaining(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgOpenCrate::CMsgOpenCrate(::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:CMsgOpenCrate) +} +CMsgOpenCrate::CMsgOpenCrate(const CMsgOpenCrate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgOpenCrate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tool_item_id_){} + , decltype(_impl_.subject_item_id_){} + , decltype(_impl_.for_rental_){} + , decltype(_impl_.points_remaining_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.tool_item_id_, &from._impl_.tool_item_id_, + static_cast(reinterpret_cast(&_impl_.points_remaining_) - + reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.points_remaining_)); + // @@protoc_insertion_point(copy_constructor:CMsgOpenCrate) +} + +inline void CMsgOpenCrate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tool_item_id_){uint64_t{0u}} + , decltype(_impl_.subject_item_id_){uint64_t{0u}} + , decltype(_impl_.for_rental_){false} + , decltype(_impl_.points_remaining_){0u} + }; +} + +CMsgOpenCrate::~CMsgOpenCrate() { + // @@protoc_insertion_point(destructor:CMsgOpenCrate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgOpenCrate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgOpenCrate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgOpenCrate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgOpenCrate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.tool_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.points_remaining_) - + reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.points_remaining_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgOpenCrate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 tool_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tool_item_id(&has_bits); + _impl_.tool_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 subject_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_subject_item_id(&has_bits); + _impl_.subject_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool for_rental = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_for_rental(&has_bits); + _impl_.for_rental_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 points_remaining = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_points_remaining(&has_bits); + _impl_.points_remaining_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgOpenCrate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgOpenCrate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 tool_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_tool_item_id(), target); + } + + // optional uint64 subject_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_subject_item_id(), target); + } + + // optional bool for_rental = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_for_rental(), target); + } + + // optional uint32 points_remaining = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_points_remaining(), 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:CMsgOpenCrate) + return target; +} + +size_t CMsgOpenCrate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgOpenCrate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 tool_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tool_item_id()); + } + + // optional uint64 subject_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_subject_item_id()); + } + + // optional bool for_rental = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional uint32 points_remaining = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_remaining()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgOpenCrate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgOpenCrate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgOpenCrate::GetClassData() const { return &_class_data_; } + + +void CMsgOpenCrate::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:CMsgOpenCrate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.tool_item_id_ = from._impl_.tool_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.subject_item_id_ = from._impl_.subject_item_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.for_rental_ = from._impl_.for_rental_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.points_remaining_ = from._impl_.points_remaining_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgOpenCrate::CopyFrom(const CMsgOpenCrate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgOpenCrate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgOpenCrate::IsInitialized() const { + return true; +} + +void CMsgOpenCrate::InternalSwap(CMsgOpenCrate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgOpenCrate, _impl_.points_remaining_) + + sizeof(CMsgOpenCrate::_impl_.points_remaining_) + - PROTOBUF_FIELD_OFFSET(CMsgOpenCrate, _impl_.tool_item_id_)>( + reinterpret_cast(&_impl_.tool_item_id_), + reinterpret_cast(&other->_impl_.tool_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgOpenCrate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[80]); +} + +// =================================================================== + +class CSOEconRentalHistory::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_crate_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_crate_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_issue_date(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_expiration_date(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CSOEconRentalHistory::CSOEconRentalHistory(::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:CSOEconRentalHistory) +} +CSOEconRentalHistory::CSOEconRentalHistory(const CSOEconRentalHistory& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconRentalHistory* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crate_item_id_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.crate_def_index_){} + , decltype(_impl_.issue_date_){} + , decltype(_impl_.expiration_date_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.crate_item_id_, &from._impl_.crate_item_id_, + static_cast(reinterpret_cast(&_impl_.expiration_date_) - + reinterpret_cast(&_impl_.crate_item_id_)) + sizeof(_impl_.expiration_date_)); + // @@protoc_insertion_point(copy_constructor:CSOEconRentalHistory) +} + +inline void CSOEconRentalHistory::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crate_item_id_){uint64_t{0u}} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.crate_def_index_){0u} + , decltype(_impl_.issue_date_){0u} + , decltype(_impl_.expiration_date_){0u} + }; +} + +CSOEconRentalHistory::~CSOEconRentalHistory() { + // @@protoc_insertion_point(destructor:CSOEconRentalHistory) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconRentalHistory::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconRentalHistory::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconRentalHistory::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconRentalHistory) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.crate_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.expiration_date_) - + reinterpret_cast(&_impl_.crate_item_id_)) + sizeof(_impl_.expiration_date_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconRentalHistory::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 crate_item_id = 2 [(.key_field) = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_crate_item_id(&has_bits); + _impl_.crate_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 crate_def_index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_crate_def_index(&has_bits); + _impl_.crate_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 issue_date = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_issue_date(&has_bits); + _impl_.issue_date_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 expiration_date = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_expiration_date(&has_bits); + _impl_.expiration_date_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconRentalHistory::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconRentalHistory) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint64 crate_item_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_crate_item_id(), target); + } + + // optional uint32 crate_def_index = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_crate_def_index(), target); + } + + // optional uint32 issue_date = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_issue_date(), target); + } + + // optional uint32 expiration_date = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_expiration_date(), 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:CSOEconRentalHistory) + return target; +} + +size_t CSOEconRentalHistory::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconRentalHistory) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint64 crate_item_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_crate_item_id()); + } + + // optional uint32 account_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 crate_def_index = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_crate_def_index()); + } + + // optional uint32 issue_date = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_issue_date()); + } + + // optional uint32 expiration_date = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expiration_date()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconRentalHistory::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconRentalHistory::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconRentalHistory::GetClassData() const { return &_class_data_; } + + +void CSOEconRentalHistory::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:CSOEconRentalHistory) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.crate_item_id_ = from._impl_.crate_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.crate_def_index_ = from._impl_.crate_def_index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.issue_date_ = from._impl_.issue_date_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.expiration_date_ = from._impl_.expiration_date_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconRentalHistory::CopyFrom(const CSOEconRentalHistory& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconRentalHistory) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconRentalHistory::IsInitialized() const { + return true; +} + +void CSOEconRentalHistory::InternalSwap(CSOEconRentalHistory* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconRentalHistory, _impl_.expiration_date_) + + sizeof(CSOEconRentalHistory::_impl_.expiration_date_) + - PROTOBUF_FIELD_OFFSET(CSOEconRentalHistory, _impl_.crate_item_id_)>( + reinterpret_cast(&_impl_.crate_item_id_), + reinterpret_cast(&other->_impl_.crate_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconRentalHistory::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[81]); +} + +// =================================================================== + +class CMsgAcknowledgeRentalExpiration::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_crate_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration(::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:CMsgAcknowledgeRentalExpiration) +} +CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration(const CMsgAcknowledgeRentalExpiration& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgAcknowledgeRentalExpiration* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crate_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.crate_item_id_ = from._impl_.crate_item_id_; + // @@protoc_insertion_point(copy_constructor:CMsgAcknowledgeRentalExpiration) +} + +inline void CMsgAcknowledgeRentalExpiration::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crate_item_id_){uint64_t{0u}} + }; +} + +CMsgAcknowledgeRentalExpiration::~CMsgAcknowledgeRentalExpiration() { + // @@protoc_insertion_point(destructor:CMsgAcknowledgeRentalExpiration) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgAcknowledgeRentalExpiration::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgAcknowledgeRentalExpiration::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgAcknowledgeRentalExpiration::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgAcknowledgeRentalExpiration) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.crate_item_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgAcknowledgeRentalExpiration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 crate_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_crate_item_id(&has_bits); + _impl_.crate_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgAcknowledgeRentalExpiration::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgAcknowledgeRentalExpiration) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 crate_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_crate_item_id(), 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:CMsgAcknowledgeRentalExpiration) + return target; +} + +size_t CMsgAcknowledgeRentalExpiration::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgAcknowledgeRentalExpiration) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint64 crate_item_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_crate_item_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAcknowledgeRentalExpiration::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgAcknowledgeRentalExpiration::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAcknowledgeRentalExpiration::GetClassData() const { return &_class_data_; } + + +void CMsgAcknowledgeRentalExpiration::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:CMsgAcknowledgeRentalExpiration) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_crate_item_id()) { + _this->_internal_set_crate_item_id(from._internal_crate_item_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgAcknowledgeRentalExpiration::CopyFrom(const CMsgAcknowledgeRentalExpiration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAcknowledgeRentalExpiration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgAcknowledgeRentalExpiration::IsInitialized() const { + return true; +} + +void CMsgAcknowledgeRentalExpiration::InternalSwap(CMsgAcknowledgeRentalExpiration* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.crate_item_id_, other->_impl_.crate_item_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgAcknowledgeRentalExpiration::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, + file_level_metadata_base_5fgcmessages_2eproto[82]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CGCStorePurchaseInit_LineItem* +Arena::CreateMaybeMessage< ::CGCStorePurchaseInit_LineItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCStorePurchaseInit_LineItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseInit* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseInit >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseInit >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseInitResponse* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseInitResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseInitResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOPartyInvite* +Arena::CreateMaybeMessage< ::CSOPartyInvite >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOPartyInvite >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOLobbyInvite* +Arena::CreateMaybeMessage< ::CSOLobbyInvite >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOLobbyInvite >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSystemBroadcast* +Arena::CreateMaybeMessage< ::CMsgSystemBroadcast >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSystemBroadcast >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgInviteToParty* +Arena::CreateMaybeMessage< ::CMsgInviteToParty >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgInviteToParty >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgInvitationCreated* +Arena::CreateMaybeMessage< ::CMsgInvitationCreated >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgInvitationCreated >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgPartyInviteResponse* +Arena::CreateMaybeMessage< ::CMsgPartyInviteResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgPartyInviteResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgKickFromParty* +Arena::CreateMaybeMessage< ::CMsgKickFromParty >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgKickFromParty >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgLeaveParty* +Arena::CreateMaybeMessage< ::CMsgLeaveParty >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgLeaveParty >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerAvailable* +Arena::CreateMaybeMessage< ::CMsgServerAvailable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerAvailable >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgLANServerAvailable* +Arena::CreateMaybeMessage< ::CMsgLANServerAvailable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgLANServerAvailable >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconGameAccountClient* +Arena::CreateMaybeMessage< ::CSOEconGameAccountClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconGameAccountClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOItemCriteriaCondition* +Arena::CreateMaybeMessage< ::CSOItemCriteriaCondition >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOItemCriteriaCondition >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOItemCriteria* +Arena::CreateMaybeMessage< ::CSOItemCriteria >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOItemCriteria >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOItemRecipe* +Arena::CreateMaybeMessage< ::CSOItemRecipe >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOItemRecipe >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgDevNewItemRequest* +Arena::CreateMaybeMessage< ::CMsgDevNewItemRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgDevNewItemRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgIncrementKillCountAttribute* +Arena::CreateMaybeMessage< ::CMsgIncrementKillCountAttribute >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgIncrementKillCountAttribute >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgApplySticker* +Arena::CreateMaybeMessage< ::CMsgApplySticker >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgApplySticker >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgModifyItemAttribute* +Arena::CreateMaybeMessage< ::CMsgModifyItemAttribute >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgModifyItemAttribute >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgApplyStatTrakSwap* +Arena::CreateMaybeMessage< ::CMsgApplyStatTrakSwap >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgApplyStatTrakSwap >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgApplyStrangePart* +Arena::CreateMaybeMessage< ::CMsgApplyStrangePart >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgApplyStrangePart >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgApplyPennantUpgrade* +Arena::CreateMaybeMessage< ::CMsgApplyPennantUpgrade >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgApplyPennantUpgrade >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgApplyEggEssence* +Arena::CreateMaybeMessage< ::CMsgApplyEggEssence >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgApplyEggEssence >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItemAttribute* +Arena::CreateMaybeMessage< ::CSOEconItemAttribute >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItemAttribute >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItemEquipped* +Arena::CreateMaybeMessage< ::CSOEconItemEquipped >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItemEquipped >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItem* +Arena::CreateMaybeMessage< ::CSOEconItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSortItems* +Arena::CreateMaybeMessage< ::CMsgSortItems >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSortItems >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconClaimCode* +Arena::CreateMaybeMessage< ::CSOEconClaimCode >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconClaimCode >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgStoreGetUserData* +Arena::CreateMaybeMessage< ::CMsgStoreGetUserData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgStoreGetUserData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgStoreGetUserDataResponse* +Arena::CreateMaybeMessage< ::CMsgStoreGetUserDataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgStoreGetUserDataResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgUpdateItemSchema* +Arena::CreateMaybeMessage< ::CMsgUpdateItemSchema >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgUpdateItemSchema >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCError* +Arena::CreateMaybeMessage< ::CMsgGCError >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCError >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgRequestInventoryRefresh* +Arena::CreateMaybeMessage< ::CMsgRequestInventoryRefresh >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgRequestInventoryRefresh >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgConVarValue* +Arena::CreateMaybeMessage< ::CMsgConVarValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgConVarValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgReplicateConVars* +Arena::CreateMaybeMessage< ::CMsgReplicateConVars >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgReplicateConVars >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgUseItem* +Arena::CreateMaybeMessage< ::CMsgUseItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgUseItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgReplayUploadedToYouTube* +Arena::CreateMaybeMessage< ::CMsgReplayUploadedToYouTube >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgReplayUploadedToYouTube >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgConsumableExhausted* +Arena::CreateMaybeMessage< ::CMsgConsumableExhausted >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgConsumableExhausted >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgItemAcknowledged__DEPRECATED* +Arena::CreateMaybeMessage< ::CMsgItemAcknowledged__DEPRECATED >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgItemAcknowledged__DEPRECATED >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSetItemPositions_ItemPosition* +Arena::CreateMaybeMessage< ::CMsgSetItemPositions_ItemPosition >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSetItemPositions_ItemPosition >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSetItemPositions* +Arena::CreateMaybeMessage< ::CMsgSetItemPositions >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSetItemPositions >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCReportAbuse* +Arena::CreateMaybeMessage< ::CMsgGCReportAbuse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCReportAbuse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCReportAbuseResponse* +Arena::CreateMaybeMessage< ::CMsgGCReportAbuseResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCReportAbuseResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCNameItemNotification* +Arena::CreateMaybeMessage< ::CMsgGCNameItemNotification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCNameItemNotification >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCClientDisplayNotification* +Arena::CreateMaybeMessage< ::CMsgGCClientDisplayNotification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCClientDisplayNotification >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCShowItemsPickedUp* +Arena::CreateMaybeMessage< ::CMsgGCShowItemsPickedUp >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCShowItemsPickedUp >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCIncrementKillCountResponse* +Arena::CreateMaybeMessage< ::CMsgGCIncrementKillCountResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCIncrementKillCountResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItemDropRateBonus* +Arena::CreateMaybeMessage< ::CSOEconItemDropRateBonus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItemDropRateBonus >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItemLeagueViewPass* +Arena::CreateMaybeMessage< ::CSOEconItemLeagueViewPass >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItemLeagueViewPass >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconItemEventTicket* +Arena::CreateMaybeMessage< ::CSOEconItemEventTicket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconItemEventTicket >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCItemPreviewItemBoughtNotification* +Arena::CreateMaybeMessage< ::CMsgGCItemPreviewItemBoughtNotification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCItemPreviewItemBoughtNotification >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseCancel* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseCancel >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseCancel >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseCancelResponse* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseCancelResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseCancelResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseFinalize* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseFinalize >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseFinalize >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseFinalizeResponse* +Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseFinalizeResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseFinalizeResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCBannedWordListRequest* +Arena::CreateMaybeMessage< ::CMsgGCBannedWordListRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCBannedWordListRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCRequestAnnouncements* +Arena::CreateMaybeMessage< ::CMsgGCRequestAnnouncements >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCRequestAnnouncements >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCRequestAnnouncementsResponse* +Arena::CreateMaybeMessage< ::CMsgGCRequestAnnouncementsResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCRequestAnnouncementsResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCBannedWord* +Arena::CreateMaybeMessage< ::CMsgGCBannedWord >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCBannedWord >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCBannedWordListResponse* +Arena::CreateMaybeMessage< ::CMsgGCBannedWordListResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCBannedWordListResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCBannedWordListBroadcast* +Arena::CreateMaybeMessage< ::CMsgGCToGCBannedWordListBroadcast >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCBannedWordListBroadcast >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCBannedWordListUpdated* +Arena::CreateMaybeMessage< ::CMsgGCToGCBannedWordListUpdated >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCBannedWordListUpdated >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCDirtySDOCache* +Arena::CreateMaybeMessage< ::CMsgGCToGCDirtySDOCache >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCDirtySDOCache >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCDirtyMultipleSDOCache* +Arena::CreateMaybeMessage< ::CMsgGCToGCDirtyMultipleSDOCache >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCDirtyMultipleSDOCache >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCollectItem* +Arena::CreateMaybeMessage< ::CMsgGCCollectItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCollectItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSDONoMemcached* +Arena::CreateMaybeMessage< ::CMsgSDONoMemcached >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSDONoMemcached >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCUpdateSQLKeyValue* +Arena::CreateMaybeMessage< ::CMsgGCToGCUpdateSQLKeyValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCUpdateSQLKeyValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCIsTrustedServer* +Arena::CreateMaybeMessage< ::CMsgGCToGCIsTrustedServer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCIsTrustedServer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCIsTrustedServerResponse* +Arena::CreateMaybeMessage< ::CMsgGCToGCIsTrustedServerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCIsTrustedServerResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCBroadcastConsoleCommand* +Arena::CreateMaybeMessage< ::CMsgGCToGCBroadcastConsoleCommand >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCBroadcastConsoleCommand >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCServerVersionUpdated* +Arena::CreateMaybeMessage< ::CMsgGCServerVersionUpdated >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCServerVersionUpdated >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCClientVersionUpdated* +Arena::CreateMaybeMessage< ::CMsgGCClientVersionUpdated >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCClientVersionUpdated >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCWebAPIAccountChanged* +Arena::CreateMaybeMessage< ::CMsgGCToGCWebAPIAccountChanged >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCWebAPIAccountChanged >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToGCRequestPassportItemGrant* +Arena::CreateMaybeMessage< ::CMsgGCToGCRequestPassportItemGrant >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToGCRequestPassportItemGrant >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGameServerInfo* +Arena::CreateMaybeMessage< ::CMsgGameServerInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGameServerInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconEquipSlot* +Arena::CreateMaybeMessage< ::CSOEconEquipSlot >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconEquipSlot >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgAdjustEquipSlot* +Arena::CreateMaybeMessage< ::CMsgAdjustEquipSlot >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgAdjustEquipSlot >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgAdjustEquipSlots* +Arena::CreateMaybeMessage< ::CMsgAdjustEquipSlots >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgAdjustEquipSlots >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgOpenCrate* +Arena::CreateMaybeMessage< ::CMsgOpenCrate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgOpenCrate >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconRentalHistory* +Arena::CreateMaybeMessage< ::CSOEconRentalHistory >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconRentalHistory >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgAcknowledgeRentalExpiration* +Arena::CreateMaybeMessage< ::CMsgAcknowledgeRentalExpiration >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgAcknowledgeRentalExpiration >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.h new file mode 100644 index 0000000..5897954 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/base_gcmessages.pb.h @@ -0,0 +1,27193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: base_gcmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_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 3021008 < 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 "steammessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_base_5fgcmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_base_5fgcmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_base_5fgcmessages_2eproto; +class CGCStorePurchaseInit_LineItem; +struct CGCStorePurchaseInit_LineItemDefaultTypeInternal; +extern CGCStorePurchaseInit_LineItemDefaultTypeInternal _CGCStorePurchaseInit_LineItem_default_instance_; +class CMsgAcknowledgeRentalExpiration; +struct CMsgAcknowledgeRentalExpirationDefaultTypeInternal; +extern CMsgAcknowledgeRentalExpirationDefaultTypeInternal _CMsgAcknowledgeRentalExpiration_default_instance_; +class CMsgAdjustEquipSlot; +struct CMsgAdjustEquipSlotDefaultTypeInternal; +extern CMsgAdjustEquipSlotDefaultTypeInternal _CMsgAdjustEquipSlot_default_instance_; +class CMsgAdjustEquipSlots; +struct CMsgAdjustEquipSlotsDefaultTypeInternal; +extern CMsgAdjustEquipSlotsDefaultTypeInternal _CMsgAdjustEquipSlots_default_instance_; +class CMsgApplyEggEssence; +struct CMsgApplyEggEssenceDefaultTypeInternal; +extern CMsgApplyEggEssenceDefaultTypeInternal _CMsgApplyEggEssence_default_instance_; +class CMsgApplyPennantUpgrade; +struct CMsgApplyPennantUpgradeDefaultTypeInternal; +extern CMsgApplyPennantUpgradeDefaultTypeInternal _CMsgApplyPennantUpgrade_default_instance_; +class CMsgApplyStatTrakSwap; +struct CMsgApplyStatTrakSwapDefaultTypeInternal; +extern CMsgApplyStatTrakSwapDefaultTypeInternal _CMsgApplyStatTrakSwap_default_instance_; +class CMsgApplySticker; +struct CMsgApplyStickerDefaultTypeInternal; +extern CMsgApplyStickerDefaultTypeInternal _CMsgApplySticker_default_instance_; +class CMsgApplyStrangePart; +struct CMsgApplyStrangePartDefaultTypeInternal; +extern CMsgApplyStrangePartDefaultTypeInternal _CMsgApplyStrangePart_default_instance_; +class CMsgConVarValue; +struct CMsgConVarValueDefaultTypeInternal; +extern CMsgConVarValueDefaultTypeInternal _CMsgConVarValue_default_instance_; +class CMsgConsumableExhausted; +struct CMsgConsumableExhaustedDefaultTypeInternal; +extern CMsgConsumableExhaustedDefaultTypeInternal _CMsgConsumableExhausted_default_instance_; +class CMsgDevNewItemRequest; +struct CMsgDevNewItemRequestDefaultTypeInternal; +extern CMsgDevNewItemRequestDefaultTypeInternal _CMsgDevNewItemRequest_default_instance_; +class CMsgGCBannedWord; +struct CMsgGCBannedWordDefaultTypeInternal; +extern CMsgGCBannedWordDefaultTypeInternal _CMsgGCBannedWord_default_instance_; +class CMsgGCBannedWordListRequest; +struct CMsgGCBannedWordListRequestDefaultTypeInternal; +extern CMsgGCBannedWordListRequestDefaultTypeInternal _CMsgGCBannedWordListRequest_default_instance_; +class CMsgGCBannedWordListResponse; +struct CMsgGCBannedWordListResponseDefaultTypeInternal; +extern CMsgGCBannedWordListResponseDefaultTypeInternal _CMsgGCBannedWordListResponse_default_instance_; +class CMsgGCClientDisplayNotification; +struct CMsgGCClientDisplayNotificationDefaultTypeInternal; +extern CMsgGCClientDisplayNotificationDefaultTypeInternal _CMsgGCClientDisplayNotification_default_instance_; +class CMsgGCClientVersionUpdated; +struct CMsgGCClientVersionUpdatedDefaultTypeInternal; +extern CMsgGCClientVersionUpdatedDefaultTypeInternal _CMsgGCClientVersionUpdated_default_instance_; +class CMsgGCCollectItem; +struct CMsgGCCollectItemDefaultTypeInternal; +extern CMsgGCCollectItemDefaultTypeInternal _CMsgGCCollectItem_default_instance_; +class CMsgGCError; +struct CMsgGCErrorDefaultTypeInternal; +extern CMsgGCErrorDefaultTypeInternal _CMsgGCError_default_instance_; +class CMsgGCIncrementKillCountResponse; +struct CMsgGCIncrementKillCountResponseDefaultTypeInternal; +extern CMsgGCIncrementKillCountResponseDefaultTypeInternal _CMsgGCIncrementKillCountResponse_default_instance_; +class CMsgGCItemPreviewItemBoughtNotification; +struct CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal; +extern CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal _CMsgGCItemPreviewItemBoughtNotification_default_instance_; +class CMsgGCNameItemNotification; +struct CMsgGCNameItemNotificationDefaultTypeInternal; +extern CMsgGCNameItemNotificationDefaultTypeInternal _CMsgGCNameItemNotification_default_instance_; +class CMsgGCReportAbuse; +struct CMsgGCReportAbuseDefaultTypeInternal; +extern CMsgGCReportAbuseDefaultTypeInternal _CMsgGCReportAbuse_default_instance_; +class CMsgGCReportAbuseResponse; +struct CMsgGCReportAbuseResponseDefaultTypeInternal; +extern CMsgGCReportAbuseResponseDefaultTypeInternal _CMsgGCReportAbuseResponse_default_instance_; +class CMsgGCRequestAnnouncements; +struct CMsgGCRequestAnnouncementsDefaultTypeInternal; +extern CMsgGCRequestAnnouncementsDefaultTypeInternal _CMsgGCRequestAnnouncements_default_instance_; +class CMsgGCRequestAnnouncementsResponse; +struct CMsgGCRequestAnnouncementsResponseDefaultTypeInternal; +extern CMsgGCRequestAnnouncementsResponseDefaultTypeInternal _CMsgGCRequestAnnouncementsResponse_default_instance_; +class CMsgGCServerVersionUpdated; +struct CMsgGCServerVersionUpdatedDefaultTypeInternal; +extern CMsgGCServerVersionUpdatedDefaultTypeInternal _CMsgGCServerVersionUpdated_default_instance_; +class CMsgGCShowItemsPickedUp; +struct CMsgGCShowItemsPickedUpDefaultTypeInternal; +extern CMsgGCShowItemsPickedUpDefaultTypeInternal _CMsgGCShowItemsPickedUp_default_instance_; +class CMsgGCStorePurchaseCancel; +struct CMsgGCStorePurchaseCancelDefaultTypeInternal; +extern CMsgGCStorePurchaseCancelDefaultTypeInternal _CMsgGCStorePurchaseCancel_default_instance_; +class CMsgGCStorePurchaseCancelResponse; +struct CMsgGCStorePurchaseCancelResponseDefaultTypeInternal; +extern CMsgGCStorePurchaseCancelResponseDefaultTypeInternal _CMsgGCStorePurchaseCancelResponse_default_instance_; +class CMsgGCStorePurchaseFinalize; +struct CMsgGCStorePurchaseFinalizeDefaultTypeInternal; +extern CMsgGCStorePurchaseFinalizeDefaultTypeInternal _CMsgGCStorePurchaseFinalize_default_instance_; +class CMsgGCStorePurchaseFinalizeResponse; +struct CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal; +extern CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal _CMsgGCStorePurchaseFinalizeResponse_default_instance_; +class CMsgGCStorePurchaseInit; +struct CMsgGCStorePurchaseInitDefaultTypeInternal; +extern CMsgGCStorePurchaseInitDefaultTypeInternal _CMsgGCStorePurchaseInit_default_instance_; +class CMsgGCStorePurchaseInitResponse; +struct CMsgGCStorePurchaseInitResponseDefaultTypeInternal; +extern CMsgGCStorePurchaseInitResponseDefaultTypeInternal _CMsgGCStorePurchaseInitResponse_default_instance_; +class CMsgGCToGCBannedWordListBroadcast; +struct CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal; +extern CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal _CMsgGCToGCBannedWordListBroadcast_default_instance_; +class CMsgGCToGCBannedWordListUpdated; +struct CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal; +extern CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal _CMsgGCToGCBannedWordListUpdated_default_instance_; +class CMsgGCToGCBroadcastConsoleCommand; +struct CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal; +extern CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal _CMsgGCToGCBroadcastConsoleCommand_default_instance_; +class CMsgGCToGCDirtyMultipleSDOCache; +struct CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal; +extern CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal _CMsgGCToGCDirtyMultipleSDOCache_default_instance_; +class CMsgGCToGCDirtySDOCache; +struct CMsgGCToGCDirtySDOCacheDefaultTypeInternal; +extern CMsgGCToGCDirtySDOCacheDefaultTypeInternal _CMsgGCToGCDirtySDOCache_default_instance_; +class CMsgGCToGCIsTrustedServer; +struct CMsgGCToGCIsTrustedServerDefaultTypeInternal; +extern CMsgGCToGCIsTrustedServerDefaultTypeInternal _CMsgGCToGCIsTrustedServer_default_instance_; +class CMsgGCToGCIsTrustedServerResponse; +struct CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal; +extern CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal _CMsgGCToGCIsTrustedServerResponse_default_instance_; +class CMsgGCToGCRequestPassportItemGrant; +struct CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal; +extern CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal _CMsgGCToGCRequestPassportItemGrant_default_instance_; +class CMsgGCToGCUpdateSQLKeyValue; +struct CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal; +extern CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal _CMsgGCToGCUpdateSQLKeyValue_default_instance_; +class CMsgGCToGCWebAPIAccountChanged; +struct CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal; +extern CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal _CMsgGCToGCWebAPIAccountChanged_default_instance_; +class CMsgGameServerInfo; +struct CMsgGameServerInfoDefaultTypeInternal; +extern CMsgGameServerInfoDefaultTypeInternal _CMsgGameServerInfo_default_instance_; +class CMsgIncrementKillCountAttribute; +struct CMsgIncrementKillCountAttributeDefaultTypeInternal; +extern CMsgIncrementKillCountAttributeDefaultTypeInternal _CMsgIncrementKillCountAttribute_default_instance_; +class CMsgInvitationCreated; +struct CMsgInvitationCreatedDefaultTypeInternal; +extern CMsgInvitationCreatedDefaultTypeInternal _CMsgInvitationCreated_default_instance_; +class CMsgInviteToParty; +struct CMsgInviteToPartyDefaultTypeInternal; +extern CMsgInviteToPartyDefaultTypeInternal _CMsgInviteToParty_default_instance_; +class CMsgItemAcknowledged__DEPRECATED; +struct CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal; +extern CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal _CMsgItemAcknowledged__DEPRECATED_default_instance_; +class CMsgKickFromParty; +struct CMsgKickFromPartyDefaultTypeInternal; +extern CMsgKickFromPartyDefaultTypeInternal _CMsgKickFromParty_default_instance_; +class CMsgLANServerAvailable; +struct CMsgLANServerAvailableDefaultTypeInternal; +extern CMsgLANServerAvailableDefaultTypeInternal _CMsgLANServerAvailable_default_instance_; +class CMsgLeaveParty; +struct CMsgLeavePartyDefaultTypeInternal; +extern CMsgLeavePartyDefaultTypeInternal _CMsgLeaveParty_default_instance_; +class CMsgModifyItemAttribute; +struct CMsgModifyItemAttributeDefaultTypeInternal; +extern CMsgModifyItemAttributeDefaultTypeInternal _CMsgModifyItemAttribute_default_instance_; +class CMsgOpenCrate; +struct CMsgOpenCrateDefaultTypeInternal; +extern CMsgOpenCrateDefaultTypeInternal _CMsgOpenCrate_default_instance_; +class CMsgPartyInviteResponse; +struct CMsgPartyInviteResponseDefaultTypeInternal; +extern CMsgPartyInviteResponseDefaultTypeInternal _CMsgPartyInviteResponse_default_instance_; +class CMsgReplayUploadedToYouTube; +struct CMsgReplayUploadedToYouTubeDefaultTypeInternal; +extern CMsgReplayUploadedToYouTubeDefaultTypeInternal _CMsgReplayUploadedToYouTube_default_instance_; +class CMsgReplicateConVars; +struct CMsgReplicateConVarsDefaultTypeInternal; +extern CMsgReplicateConVarsDefaultTypeInternal _CMsgReplicateConVars_default_instance_; +class CMsgRequestInventoryRefresh; +struct CMsgRequestInventoryRefreshDefaultTypeInternal; +extern CMsgRequestInventoryRefreshDefaultTypeInternal _CMsgRequestInventoryRefresh_default_instance_; +class CMsgSDONoMemcached; +struct CMsgSDONoMemcachedDefaultTypeInternal; +extern CMsgSDONoMemcachedDefaultTypeInternal _CMsgSDONoMemcached_default_instance_; +class CMsgServerAvailable; +struct CMsgServerAvailableDefaultTypeInternal; +extern CMsgServerAvailableDefaultTypeInternal _CMsgServerAvailable_default_instance_; +class CMsgSetItemPositions; +struct CMsgSetItemPositionsDefaultTypeInternal; +extern CMsgSetItemPositionsDefaultTypeInternal _CMsgSetItemPositions_default_instance_; +class CMsgSetItemPositions_ItemPosition; +struct CMsgSetItemPositions_ItemPositionDefaultTypeInternal; +extern CMsgSetItemPositions_ItemPositionDefaultTypeInternal _CMsgSetItemPositions_ItemPosition_default_instance_; +class CMsgSortItems; +struct CMsgSortItemsDefaultTypeInternal; +extern CMsgSortItemsDefaultTypeInternal _CMsgSortItems_default_instance_; +class CMsgStoreGetUserData; +struct CMsgStoreGetUserDataDefaultTypeInternal; +extern CMsgStoreGetUserDataDefaultTypeInternal _CMsgStoreGetUserData_default_instance_; +class CMsgStoreGetUserDataResponse; +struct CMsgStoreGetUserDataResponseDefaultTypeInternal; +extern CMsgStoreGetUserDataResponseDefaultTypeInternal _CMsgStoreGetUserDataResponse_default_instance_; +class CMsgSystemBroadcast; +struct CMsgSystemBroadcastDefaultTypeInternal; +extern CMsgSystemBroadcastDefaultTypeInternal _CMsgSystemBroadcast_default_instance_; +class CMsgUpdateItemSchema; +struct CMsgUpdateItemSchemaDefaultTypeInternal; +extern CMsgUpdateItemSchemaDefaultTypeInternal _CMsgUpdateItemSchema_default_instance_; +class CMsgUseItem; +struct CMsgUseItemDefaultTypeInternal; +extern CMsgUseItemDefaultTypeInternal _CMsgUseItem_default_instance_; +class CSOEconClaimCode; +struct CSOEconClaimCodeDefaultTypeInternal; +extern CSOEconClaimCodeDefaultTypeInternal _CSOEconClaimCode_default_instance_; +class CSOEconEquipSlot; +struct CSOEconEquipSlotDefaultTypeInternal; +extern CSOEconEquipSlotDefaultTypeInternal _CSOEconEquipSlot_default_instance_; +class CSOEconGameAccountClient; +struct CSOEconGameAccountClientDefaultTypeInternal; +extern CSOEconGameAccountClientDefaultTypeInternal _CSOEconGameAccountClient_default_instance_; +class CSOEconItem; +struct CSOEconItemDefaultTypeInternal; +extern CSOEconItemDefaultTypeInternal _CSOEconItem_default_instance_; +class CSOEconItemAttribute; +struct CSOEconItemAttributeDefaultTypeInternal; +extern CSOEconItemAttributeDefaultTypeInternal _CSOEconItemAttribute_default_instance_; +class CSOEconItemDropRateBonus; +struct CSOEconItemDropRateBonusDefaultTypeInternal; +extern CSOEconItemDropRateBonusDefaultTypeInternal _CSOEconItemDropRateBonus_default_instance_; +class CSOEconItemEquipped; +struct CSOEconItemEquippedDefaultTypeInternal; +extern CSOEconItemEquippedDefaultTypeInternal _CSOEconItemEquipped_default_instance_; +class CSOEconItemEventTicket; +struct CSOEconItemEventTicketDefaultTypeInternal; +extern CSOEconItemEventTicketDefaultTypeInternal _CSOEconItemEventTicket_default_instance_; +class CSOEconItemLeagueViewPass; +struct CSOEconItemLeagueViewPassDefaultTypeInternal; +extern CSOEconItemLeagueViewPassDefaultTypeInternal _CSOEconItemLeagueViewPass_default_instance_; +class CSOEconRentalHistory; +struct CSOEconRentalHistoryDefaultTypeInternal; +extern CSOEconRentalHistoryDefaultTypeInternal _CSOEconRentalHistory_default_instance_; +class CSOItemCriteria; +struct CSOItemCriteriaDefaultTypeInternal; +extern CSOItemCriteriaDefaultTypeInternal _CSOItemCriteria_default_instance_; +class CSOItemCriteriaCondition; +struct CSOItemCriteriaConditionDefaultTypeInternal; +extern CSOItemCriteriaConditionDefaultTypeInternal _CSOItemCriteriaCondition_default_instance_; +class CSOItemRecipe; +struct CSOItemRecipeDefaultTypeInternal; +extern CSOItemRecipeDefaultTypeInternal _CSOItemRecipe_default_instance_; +class CSOLobbyInvite; +struct CSOLobbyInviteDefaultTypeInternal; +extern CSOLobbyInviteDefaultTypeInternal _CSOLobbyInvite_default_instance_; +class CSOPartyInvite; +struct CSOPartyInviteDefaultTypeInternal; +extern CSOPartyInviteDefaultTypeInternal _CSOPartyInvite_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CGCStorePurchaseInit_LineItem* Arena::CreateMaybeMessage<::CGCStorePurchaseInit_LineItem>(Arena*); +template<> ::CMsgAcknowledgeRentalExpiration* Arena::CreateMaybeMessage<::CMsgAcknowledgeRentalExpiration>(Arena*); +template<> ::CMsgAdjustEquipSlot* Arena::CreateMaybeMessage<::CMsgAdjustEquipSlot>(Arena*); +template<> ::CMsgAdjustEquipSlots* Arena::CreateMaybeMessage<::CMsgAdjustEquipSlots>(Arena*); +template<> ::CMsgApplyEggEssence* Arena::CreateMaybeMessage<::CMsgApplyEggEssence>(Arena*); +template<> ::CMsgApplyPennantUpgrade* Arena::CreateMaybeMessage<::CMsgApplyPennantUpgrade>(Arena*); +template<> ::CMsgApplyStatTrakSwap* Arena::CreateMaybeMessage<::CMsgApplyStatTrakSwap>(Arena*); +template<> ::CMsgApplySticker* Arena::CreateMaybeMessage<::CMsgApplySticker>(Arena*); +template<> ::CMsgApplyStrangePart* Arena::CreateMaybeMessage<::CMsgApplyStrangePart>(Arena*); +template<> ::CMsgConVarValue* Arena::CreateMaybeMessage<::CMsgConVarValue>(Arena*); +template<> ::CMsgConsumableExhausted* Arena::CreateMaybeMessage<::CMsgConsumableExhausted>(Arena*); +template<> ::CMsgDevNewItemRequest* Arena::CreateMaybeMessage<::CMsgDevNewItemRequest>(Arena*); +template<> ::CMsgGCBannedWord* Arena::CreateMaybeMessage<::CMsgGCBannedWord>(Arena*); +template<> ::CMsgGCBannedWordListRequest* Arena::CreateMaybeMessage<::CMsgGCBannedWordListRequest>(Arena*); +template<> ::CMsgGCBannedWordListResponse* Arena::CreateMaybeMessage<::CMsgGCBannedWordListResponse>(Arena*); +template<> ::CMsgGCClientDisplayNotification* Arena::CreateMaybeMessage<::CMsgGCClientDisplayNotification>(Arena*); +template<> ::CMsgGCClientVersionUpdated* Arena::CreateMaybeMessage<::CMsgGCClientVersionUpdated>(Arena*); +template<> ::CMsgGCCollectItem* Arena::CreateMaybeMessage<::CMsgGCCollectItem>(Arena*); +template<> ::CMsgGCError* Arena::CreateMaybeMessage<::CMsgGCError>(Arena*); +template<> ::CMsgGCIncrementKillCountResponse* Arena::CreateMaybeMessage<::CMsgGCIncrementKillCountResponse>(Arena*); +template<> ::CMsgGCItemPreviewItemBoughtNotification* Arena::CreateMaybeMessage<::CMsgGCItemPreviewItemBoughtNotification>(Arena*); +template<> ::CMsgGCNameItemNotification* Arena::CreateMaybeMessage<::CMsgGCNameItemNotification>(Arena*); +template<> ::CMsgGCReportAbuse* Arena::CreateMaybeMessage<::CMsgGCReportAbuse>(Arena*); +template<> ::CMsgGCReportAbuseResponse* Arena::CreateMaybeMessage<::CMsgGCReportAbuseResponse>(Arena*); +template<> ::CMsgGCRequestAnnouncements* Arena::CreateMaybeMessage<::CMsgGCRequestAnnouncements>(Arena*); +template<> ::CMsgGCRequestAnnouncementsResponse* Arena::CreateMaybeMessage<::CMsgGCRequestAnnouncementsResponse>(Arena*); +template<> ::CMsgGCServerVersionUpdated* Arena::CreateMaybeMessage<::CMsgGCServerVersionUpdated>(Arena*); +template<> ::CMsgGCShowItemsPickedUp* Arena::CreateMaybeMessage<::CMsgGCShowItemsPickedUp>(Arena*); +template<> ::CMsgGCStorePurchaseCancel* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseCancel>(Arena*); +template<> ::CMsgGCStorePurchaseCancelResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseCancelResponse>(Arena*); +template<> ::CMsgGCStorePurchaseFinalize* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseFinalize>(Arena*); +template<> ::CMsgGCStorePurchaseFinalizeResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseFinalizeResponse>(Arena*); +template<> ::CMsgGCStorePurchaseInit* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseInit>(Arena*); +template<> ::CMsgGCStorePurchaseInitResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseInitResponse>(Arena*); +template<> ::CMsgGCToGCBannedWordListBroadcast* Arena::CreateMaybeMessage<::CMsgGCToGCBannedWordListBroadcast>(Arena*); +template<> ::CMsgGCToGCBannedWordListUpdated* Arena::CreateMaybeMessage<::CMsgGCToGCBannedWordListUpdated>(Arena*); +template<> ::CMsgGCToGCBroadcastConsoleCommand* Arena::CreateMaybeMessage<::CMsgGCToGCBroadcastConsoleCommand>(Arena*); +template<> ::CMsgGCToGCDirtyMultipleSDOCache* Arena::CreateMaybeMessage<::CMsgGCToGCDirtyMultipleSDOCache>(Arena*); +template<> ::CMsgGCToGCDirtySDOCache* Arena::CreateMaybeMessage<::CMsgGCToGCDirtySDOCache>(Arena*); +template<> ::CMsgGCToGCIsTrustedServer* Arena::CreateMaybeMessage<::CMsgGCToGCIsTrustedServer>(Arena*); +template<> ::CMsgGCToGCIsTrustedServerResponse* Arena::CreateMaybeMessage<::CMsgGCToGCIsTrustedServerResponse>(Arena*); +template<> ::CMsgGCToGCRequestPassportItemGrant* Arena::CreateMaybeMessage<::CMsgGCToGCRequestPassportItemGrant>(Arena*); +template<> ::CMsgGCToGCUpdateSQLKeyValue* Arena::CreateMaybeMessage<::CMsgGCToGCUpdateSQLKeyValue>(Arena*); +template<> ::CMsgGCToGCWebAPIAccountChanged* Arena::CreateMaybeMessage<::CMsgGCToGCWebAPIAccountChanged>(Arena*); +template<> ::CMsgGameServerInfo* Arena::CreateMaybeMessage<::CMsgGameServerInfo>(Arena*); +template<> ::CMsgIncrementKillCountAttribute* Arena::CreateMaybeMessage<::CMsgIncrementKillCountAttribute>(Arena*); +template<> ::CMsgInvitationCreated* Arena::CreateMaybeMessage<::CMsgInvitationCreated>(Arena*); +template<> ::CMsgInviteToParty* Arena::CreateMaybeMessage<::CMsgInviteToParty>(Arena*); +template<> ::CMsgItemAcknowledged__DEPRECATED* Arena::CreateMaybeMessage<::CMsgItemAcknowledged__DEPRECATED>(Arena*); +template<> ::CMsgKickFromParty* Arena::CreateMaybeMessage<::CMsgKickFromParty>(Arena*); +template<> ::CMsgLANServerAvailable* Arena::CreateMaybeMessage<::CMsgLANServerAvailable>(Arena*); +template<> ::CMsgLeaveParty* Arena::CreateMaybeMessage<::CMsgLeaveParty>(Arena*); +template<> ::CMsgModifyItemAttribute* Arena::CreateMaybeMessage<::CMsgModifyItemAttribute>(Arena*); +template<> ::CMsgOpenCrate* Arena::CreateMaybeMessage<::CMsgOpenCrate>(Arena*); +template<> ::CMsgPartyInviteResponse* Arena::CreateMaybeMessage<::CMsgPartyInviteResponse>(Arena*); +template<> ::CMsgReplayUploadedToYouTube* Arena::CreateMaybeMessage<::CMsgReplayUploadedToYouTube>(Arena*); +template<> ::CMsgReplicateConVars* Arena::CreateMaybeMessage<::CMsgReplicateConVars>(Arena*); +template<> ::CMsgRequestInventoryRefresh* Arena::CreateMaybeMessage<::CMsgRequestInventoryRefresh>(Arena*); +template<> ::CMsgSDONoMemcached* Arena::CreateMaybeMessage<::CMsgSDONoMemcached>(Arena*); +template<> ::CMsgServerAvailable* Arena::CreateMaybeMessage<::CMsgServerAvailable>(Arena*); +template<> ::CMsgSetItemPositions* Arena::CreateMaybeMessage<::CMsgSetItemPositions>(Arena*); +template<> ::CMsgSetItemPositions_ItemPosition* Arena::CreateMaybeMessage<::CMsgSetItemPositions_ItemPosition>(Arena*); +template<> ::CMsgSortItems* Arena::CreateMaybeMessage<::CMsgSortItems>(Arena*); +template<> ::CMsgStoreGetUserData* Arena::CreateMaybeMessage<::CMsgStoreGetUserData>(Arena*); +template<> ::CMsgStoreGetUserDataResponse* Arena::CreateMaybeMessage<::CMsgStoreGetUserDataResponse>(Arena*); +template<> ::CMsgSystemBroadcast* Arena::CreateMaybeMessage<::CMsgSystemBroadcast>(Arena*); +template<> ::CMsgUpdateItemSchema* Arena::CreateMaybeMessage<::CMsgUpdateItemSchema>(Arena*); +template<> ::CMsgUseItem* Arena::CreateMaybeMessage<::CMsgUseItem>(Arena*); +template<> ::CSOEconClaimCode* Arena::CreateMaybeMessage<::CSOEconClaimCode>(Arena*); +template<> ::CSOEconEquipSlot* Arena::CreateMaybeMessage<::CSOEconEquipSlot>(Arena*); +template<> ::CSOEconGameAccountClient* Arena::CreateMaybeMessage<::CSOEconGameAccountClient>(Arena*); +template<> ::CSOEconItem* Arena::CreateMaybeMessage<::CSOEconItem>(Arena*); +template<> ::CSOEconItemAttribute* Arena::CreateMaybeMessage<::CSOEconItemAttribute>(Arena*); +template<> ::CSOEconItemDropRateBonus* Arena::CreateMaybeMessage<::CSOEconItemDropRateBonus>(Arena*); +template<> ::CSOEconItemEquipped* Arena::CreateMaybeMessage<::CSOEconItemEquipped>(Arena*); +template<> ::CSOEconItemEventTicket* Arena::CreateMaybeMessage<::CSOEconItemEventTicket>(Arena*); +template<> ::CSOEconItemLeagueViewPass* Arena::CreateMaybeMessage<::CSOEconItemLeagueViewPass>(Arena*); +template<> ::CSOEconRentalHistory* Arena::CreateMaybeMessage<::CSOEconRentalHistory>(Arena*); +template<> ::CSOItemCriteria* Arena::CreateMaybeMessage<::CSOItemCriteria>(Arena*); +template<> ::CSOItemCriteriaCondition* Arena::CreateMaybeMessage<::CSOItemCriteriaCondition>(Arena*); +template<> ::CSOItemRecipe* Arena::CreateMaybeMessage<::CSOItemRecipe>(Arena*); +template<> ::CSOLobbyInvite* Arena::CreateMaybeMessage<::CSOLobbyInvite>(Arena*); +template<> ::CSOPartyInvite* Arena::CreateMaybeMessage<::CSOPartyInvite>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CMsgGameServerInfo_ServerType : int { + CMsgGameServerInfo_ServerType_UNSPECIFIED = 0, + CMsgGameServerInfo_ServerType_GAME = 1, + CMsgGameServerInfo_ServerType_PROXY = 2 +}; +bool CMsgGameServerInfo_ServerType_IsValid(int value); +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo_ServerType_ServerType_MIN = CMsgGameServerInfo_ServerType_UNSPECIFIED; +constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo_ServerType_ServerType_MAX = CMsgGameServerInfo_ServerType_PROXY; +constexpr int CMsgGameServerInfo_ServerType_ServerType_ARRAYSIZE = CMsgGameServerInfo_ServerType_ServerType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor(); +template +inline const std::string& CMsgGameServerInfo_ServerType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgGameServerInfo_ServerType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgGameServerInfo_ServerType_descriptor(), enum_t_value); +} +inline bool CMsgGameServerInfo_ServerType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgGameServerInfo_ServerType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgGameServerInfo_ServerType_descriptor(), name, value); +} +enum EGCBaseMsg : int { + k_EMsgGCSystemMessage = 4001, + k_EMsgGCReplicateConVars = 4002, + k_EMsgGCConVarUpdated = 4003, + k_EMsgGCInQueue = 4008, + k_EMsgGCInviteToParty = 4501, + k_EMsgGCInvitationCreated = 4502, + k_EMsgGCPartyInviteResponse = 4503, + k_EMsgGCKickFromParty = 4504, + k_EMsgGCLeaveParty = 4505, + k_EMsgGCServerAvailable = 4506, + k_EMsgGCClientConnectToServer = 4507, + k_EMsgGCGameServerInfo = 4508, + k_EMsgGCError = 4509, + k_EMsgGCReplay_UploadedToYouTube = 4510, + k_EMsgGCLANServerAvailable = 4511 +}; +bool EGCBaseMsg_IsValid(int value); +constexpr EGCBaseMsg EGCBaseMsg_MIN = k_EMsgGCSystemMessage; +constexpr EGCBaseMsg EGCBaseMsg_MAX = k_EMsgGCLANServerAvailable; +constexpr int EGCBaseMsg_ARRAYSIZE = EGCBaseMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseMsg_descriptor(); +template +inline const std::string& EGCBaseMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCBaseMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCBaseMsg_descriptor(), enum_t_value); +} +inline bool EGCBaseMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCBaseMsg_descriptor(), name, value); +} +enum EGCBaseProtoObjectTypes : int { + k_EProtoObjectPartyInvite = 1001, + k_EProtoObjectLobbyInvite = 1002 +}; +bool EGCBaseProtoObjectTypes_IsValid(int value); +constexpr EGCBaseProtoObjectTypes EGCBaseProtoObjectTypes_MIN = k_EProtoObjectPartyInvite; +constexpr EGCBaseProtoObjectTypes EGCBaseProtoObjectTypes_MAX = k_EProtoObjectLobbyInvite; +constexpr int EGCBaseProtoObjectTypes_ARRAYSIZE = EGCBaseProtoObjectTypes_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor(); +template +inline const std::string& EGCBaseProtoObjectTypes_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCBaseProtoObjectTypes_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCBaseProtoObjectTypes_descriptor(), enum_t_value); +} +inline bool EGCBaseProtoObjectTypes_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseProtoObjectTypes* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCBaseProtoObjectTypes_descriptor(), name, value); +} +enum GC_BannedWordType : int { + GC_BANNED_WORD_DISABLE_WORD = 0, + GC_BANNED_WORD_ENABLE_WORD = 1 +}; +bool GC_BannedWordType_IsValid(int value); +constexpr GC_BannedWordType GC_BannedWordType_MIN = GC_BANNED_WORD_DISABLE_WORD; +constexpr GC_BannedWordType GC_BannedWordType_MAX = GC_BANNED_WORD_ENABLE_WORD; +constexpr int GC_BannedWordType_ARRAYSIZE = GC_BannedWordType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GC_BannedWordType_descriptor(); +template +inline const std::string& GC_BannedWordType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function GC_BannedWordType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + GC_BannedWordType_descriptor(), enum_t_value); +} +inline bool GC_BannedWordType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GC_BannedWordType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + GC_BannedWordType_descriptor(), name, value); +} +// =================================================================== + +class CGCStorePurchaseInit_LineItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCStorePurchaseInit_LineItem) */ { + public: + inline CGCStorePurchaseInit_LineItem() : CGCStorePurchaseInit_LineItem(nullptr) {} + ~CGCStorePurchaseInit_LineItem() override; + explicit PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCStorePurchaseInit_LineItem(const CGCStorePurchaseInit_LineItem& from); + CGCStorePurchaseInit_LineItem(CGCStorePurchaseInit_LineItem&& from) noexcept + : CGCStorePurchaseInit_LineItem() { + *this = ::std::move(from); + } + + inline CGCStorePurchaseInit_LineItem& operator=(const CGCStorePurchaseInit_LineItem& from) { + CopyFrom(from); + return *this; + } + inline CGCStorePurchaseInit_LineItem& operator=(CGCStorePurchaseInit_LineItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCStorePurchaseInit_LineItem& default_instance() { + return *internal_default_instance(); + } + static inline const CGCStorePurchaseInit_LineItem* internal_default_instance() { + return reinterpret_cast( + &_CGCStorePurchaseInit_LineItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CGCStorePurchaseInit_LineItem& a, CGCStorePurchaseInit_LineItem& b) { + a.Swap(&b); + } + inline void Swap(CGCStorePurchaseInit_LineItem* 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(CGCStorePurchaseInit_LineItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCStorePurchaseInit_LineItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGCStorePurchaseInit_LineItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGCStorePurchaseInit_LineItem& from) { + CGCStorePurchaseInit_LineItem::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(CGCStorePurchaseInit_LineItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGCStorePurchaseInit_LineItem"; + } + protected: + explicit CGCStorePurchaseInit_LineItem(::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 { + kItemDefIdFieldNumber = 1, + kQuantityFieldNumber = 2, + kCostInLocalCurrencyFieldNumber = 3, + kPurchaseTypeFieldNumber = 4, + kSupplementalDataFieldNumber = 5, + }; + // optional uint32 item_def_id = 1; + bool has_item_def_id() const; + private: + bool _internal_has_item_def_id() const; + public: + void clear_item_def_id(); + uint32_t item_def_id() const; + void set_item_def_id(uint32_t value); + private: + uint32_t _internal_item_def_id() const; + void _internal_set_item_def_id(uint32_t value); + public: + + // optional uint32 quantity = 2; + bool has_quantity() const; + private: + bool _internal_has_quantity() const; + public: + void clear_quantity(); + uint32_t quantity() const; + void set_quantity(uint32_t value); + private: + uint32_t _internal_quantity() const; + void _internal_set_quantity(uint32_t value); + public: + + // optional uint32 cost_in_local_currency = 3; + bool has_cost_in_local_currency() const; + private: + bool _internal_has_cost_in_local_currency() const; + public: + void clear_cost_in_local_currency(); + uint32_t cost_in_local_currency() const; + void set_cost_in_local_currency(uint32_t value); + private: + uint32_t _internal_cost_in_local_currency() const; + void _internal_set_cost_in_local_currency(uint32_t value); + public: + + // optional uint32 purchase_type = 4; + bool has_purchase_type() const; + private: + bool _internal_has_purchase_type() const; + public: + void clear_purchase_type(); + uint32_t purchase_type() const; + void set_purchase_type(uint32_t value); + private: + uint32_t _internal_purchase_type() const; + void _internal_set_purchase_type(uint32_t value); + public: + + // optional uint64 supplemental_data = 5; + bool has_supplemental_data() const; + private: + bool _internal_has_supplemental_data() const; + public: + void clear_supplemental_data(); + uint64_t supplemental_data() const; + void set_supplemental_data(uint64_t value); + private: + uint64_t _internal_supplemental_data() const; + void _internal_set_supplemental_data(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CGCStorePurchaseInit_LineItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t item_def_id_; + uint32_t quantity_; + uint32_t cost_in_local_currency_; + uint32_t purchase_type_; + uint64_t supplemental_data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseInit final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseInit) */ { + public: + inline CMsgGCStorePurchaseInit() : CMsgGCStorePurchaseInit(nullptr) {} + ~CMsgGCStorePurchaseInit() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseInit(const CMsgGCStorePurchaseInit& from); + CMsgGCStorePurchaseInit(CMsgGCStorePurchaseInit&& from) noexcept + : CMsgGCStorePurchaseInit() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseInit& operator=(const CMsgGCStorePurchaseInit& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseInit& operator=(CMsgGCStorePurchaseInit&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseInit& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseInit* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseInit_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgGCStorePurchaseInit& a, CMsgGCStorePurchaseInit& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseInit* 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(CMsgGCStorePurchaseInit* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseInit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseInit& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseInit& from) { + CMsgGCStorePurchaseInit::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(CMsgGCStorePurchaseInit* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseInit"; + } + protected: + explicit CMsgGCStorePurchaseInit(::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 { + kLineItemsFieldNumber = 4, + kCountryFieldNumber = 1, + kLanguageFieldNumber = 2, + kCurrencyFieldNumber = 3, + }; + // repeated .CGCStorePurchaseInit_LineItem line_items = 4; + int line_items_size() const; + private: + int _internal_line_items_size() const; + public: + void clear_line_items(); + ::CGCStorePurchaseInit_LineItem* mutable_line_items(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >* + mutable_line_items(); + private: + const ::CGCStorePurchaseInit_LineItem& _internal_line_items(int index) const; + ::CGCStorePurchaseInit_LineItem* _internal_add_line_items(); + public: + const ::CGCStorePurchaseInit_LineItem& line_items(int index) const; + ::CGCStorePurchaseInit_LineItem* add_line_items(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >& + line_items() const; + + // optional string country = 1; + bool has_country() const; + private: + bool _internal_has_country() const; + public: + void clear_country(); + const std::string& country() const; + template + void set_country(ArgT0&& arg0, ArgT... args); + std::string* mutable_country(); + PROTOBUF_NODISCARD std::string* release_country(); + void set_allocated_country(std::string* country); + private: + const std::string& _internal_country() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); + std::string* _internal_mutable_country(); + public: + + // optional int32 language = 2; + bool has_language() const; + private: + bool _internal_has_language() const; + public: + void clear_language(); + int32_t language() const; + void set_language(int32_t value); + private: + int32_t _internal_language() const; + void _internal_set_language(int32_t value); + public: + + // optional int32 currency = 3; + bool has_currency() const; + private: + bool _internal_has_currency() const; + public: + void clear_currency(); + int32_t currency() const; + void set_currency(int32_t value); + private: + int32_t _internal_currency() const; + void _internal_set_currency(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseInit) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem > line_items_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; + int32_t language_; + int32_t currency_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseInitResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseInitResponse) */ { + public: + inline CMsgGCStorePurchaseInitResponse() : CMsgGCStorePurchaseInitResponse(nullptr) {} + ~CMsgGCStorePurchaseInitResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseInitResponse(const CMsgGCStorePurchaseInitResponse& from); + CMsgGCStorePurchaseInitResponse(CMsgGCStorePurchaseInitResponse&& from) noexcept + : CMsgGCStorePurchaseInitResponse() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseInitResponse& operator=(const CMsgGCStorePurchaseInitResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseInitResponse& operator=(CMsgGCStorePurchaseInitResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseInitResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseInitResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseInitResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgGCStorePurchaseInitResponse& a, CMsgGCStorePurchaseInitResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseInitResponse* 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(CMsgGCStorePurchaseInitResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseInitResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseInitResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseInitResponse& from) { + CMsgGCStorePurchaseInitResponse::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(CMsgGCStorePurchaseInitResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseInitResponse"; + } + protected: + explicit CMsgGCStorePurchaseInitResponse(::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 { + kItemIdsFieldNumber = 4, + kUrlFieldNumber = 3, + kTxnIdFieldNumber = 2, + kResultFieldNumber = 1, + }; + // repeated uint64 item_ids = 4; + int item_ids_size() const; + private: + int _internal_item_ids_size() const; + public: + void clear_item_ids(); + private: + uint64_t _internal_item_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_item_ids() const; + void _internal_add_item_ids(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_item_ids(); + public: + uint64_t item_ids(int index) const; + void set_item_ids(int index, uint64_t value); + void add_item_ids(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + item_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_item_ids(); + + // optional string url = 3; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional uint64 txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + uint64_t txn_id() const; + void set_txn_id(uint64_t value); + private: + uint64_t _internal_txn_id() const; + void _internal_set_txn_id(uint64_t value); + public: + + // optional int32 result = 1; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + int32_t result() const; + void set_result(int32_t value); + private: + int32_t _internal_result() const; + void _internal_set_result(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseInitResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_ids_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + uint64_t txn_id_; + int32_t result_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOPartyInvite final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOPartyInvite) */ { + public: + inline CSOPartyInvite() : CSOPartyInvite(nullptr) {} + ~CSOPartyInvite() override; + explicit PROTOBUF_CONSTEXPR CSOPartyInvite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOPartyInvite(const CSOPartyInvite& from); + CSOPartyInvite(CSOPartyInvite&& from) noexcept + : CSOPartyInvite() { + *this = ::std::move(from); + } + + inline CSOPartyInvite& operator=(const CSOPartyInvite& from) { + CopyFrom(from); + return *this; + } + inline CSOPartyInvite& operator=(CSOPartyInvite&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOPartyInvite& default_instance() { + return *internal_default_instance(); + } + static inline const CSOPartyInvite* internal_default_instance() { + return reinterpret_cast( + &_CSOPartyInvite_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CSOPartyInvite& a, CSOPartyInvite& b) { + a.Swap(&b); + } + inline void Swap(CSOPartyInvite* 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(CSOPartyInvite* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOPartyInvite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOPartyInvite& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOPartyInvite& from) { + CSOPartyInvite::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(CSOPartyInvite* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOPartyInvite"; + } + protected: + explicit CSOPartyInvite(::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 { + kSenderNameFieldNumber = 3, + kGroupIdFieldNumber = 1, + kSenderIdFieldNumber = 2, + }; + // optional string sender_name = 3; + bool has_sender_name() const; + private: + bool _internal_has_sender_name() const; + public: + void clear_sender_name(); + const std::string& sender_name() const; + template + void set_sender_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_sender_name(); + PROTOBUF_NODISCARD std::string* release_sender_name(); + void set_allocated_sender_name(std::string* sender_name); + private: + const std::string& _internal_sender_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sender_name(const std::string& value); + std::string* _internal_mutable_sender_name(); + public: + + // optional uint64 group_id = 1 [(.key_field) = true]; + bool has_group_id() const; + private: + bool _internal_has_group_id() const; + public: + void clear_group_id(); + uint64_t group_id() const; + void set_group_id(uint64_t value); + private: + uint64_t _internal_group_id() const; + void _internal_set_group_id(uint64_t value); + public: + + // optional fixed64 sender_id = 2; + bool has_sender_id() const; + private: + bool _internal_has_sender_id() const; + public: + void clear_sender_id(); + uint64_t sender_id() const; + void set_sender_id(uint64_t value); + private: + uint64_t _internal_sender_id() const; + void _internal_set_sender_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOPartyInvite) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sender_name_; + uint64_t group_id_; + uint64_t sender_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOLobbyInvite final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOLobbyInvite) */ { + public: + inline CSOLobbyInvite() : CSOLobbyInvite(nullptr) {} + ~CSOLobbyInvite() override; + explicit PROTOBUF_CONSTEXPR CSOLobbyInvite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOLobbyInvite(const CSOLobbyInvite& from); + CSOLobbyInvite(CSOLobbyInvite&& from) noexcept + : CSOLobbyInvite() { + *this = ::std::move(from); + } + + inline CSOLobbyInvite& operator=(const CSOLobbyInvite& from) { + CopyFrom(from); + return *this; + } + inline CSOLobbyInvite& operator=(CSOLobbyInvite&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOLobbyInvite& default_instance() { + return *internal_default_instance(); + } + static inline const CSOLobbyInvite* internal_default_instance() { + return reinterpret_cast( + &_CSOLobbyInvite_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CSOLobbyInvite& a, CSOLobbyInvite& b) { + a.Swap(&b); + } + inline void Swap(CSOLobbyInvite* 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(CSOLobbyInvite* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOLobbyInvite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOLobbyInvite& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOLobbyInvite& from) { + CSOLobbyInvite::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(CSOLobbyInvite* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOLobbyInvite"; + } + protected: + explicit CSOLobbyInvite(::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 { + kSenderNameFieldNumber = 3, + kGroupIdFieldNumber = 1, + kSenderIdFieldNumber = 2, + }; + // optional string sender_name = 3; + bool has_sender_name() const; + private: + bool _internal_has_sender_name() const; + public: + void clear_sender_name(); + const std::string& sender_name() const; + template + void set_sender_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_sender_name(); + PROTOBUF_NODISCARD std::string* release_sender_name(); + void set_allocated_sender_name(std::string* sender_name); + private: + const std::string& _internal_sender_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sender_name(const std::string& value); + std::string* _internal_mutable_sender_name(); + public: + + // optional uint64 group_id = 1 [(.key_field) = true]; + bool has_group_id() const; + private: + bool _internal_has_group_id() const; + public: + void clear_group_id(); + uint64_t group_id() const; + void set_group_id(uint64_t value); + private: + uint64_t _internal_group_id() const; + void _internal_set_group_id(uint64_t value); + public: + + // optional fixed64 sender_id = 2; + bool has_sender_id() const; + private: + bool _internal_has_sender_id() const; + public: + void clear_sender_id(); + uint64_t sender_id() const; + void set_sender_id(uint64_t value); + private: + uint64_t _internal_sender_id() const; + void _internal_set_sender_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOLobbyInvite) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sender_name_; + uint64_t group_id_; + uint64_t sender_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSystemBroadcast final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSystemBroadcast) */ { + public: + inline CMsgSystemBroadcast() : CMsgSystemBroadcast(nullptr) {} + ~CMsgSystemBroadcast() override; + explicit PROTOBUF_CONSTEXPR CMsgSystemBroadcast(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSystemBroadcast(const CMsgSystemBroadcast& from); + CMsgSystemBroadcast(CMsgSystemBroadcast&& from) noexcept + : CMsgSystemBroadcast() { + *this = ::std::move(from); + } + + inline CMsgSystemBroadcast& operator=(const CMsgSystemBroadcast& from) { + CopyFrom(from); + return *this; + } + inline CMsgSystemBroadcast& operator=(CMsgSystemBroadcast&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSystemBroadcast& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSystemBroadcast* internal_default_instance() { + return reinterpret_cast( + &_CMsgSystemBroadcast_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSystemBroadcast& a, CMsgSystemBroadcast& b) { + a.Swap(&b); + } + inline void Swap(CMsgSystemBroadcast* 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(CMsgSystemBroadcast* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSystemBroadcast* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSystemBroadcast& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSystemBroadcast& from) { + CMsgSystemBroadcast::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(CMsgSystemBroadcast* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSystemBroadcast"; + } + protected: + explicit CMsgSystemBroadcast(::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 { + kMessageFieldNumber = 1, + }; + // optional string message = 1; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // @@protoc_insertion_point(class_scope:CMsgSystemBroadcast) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgInviteToParty final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgInviteToParty) */ { + public: + inline CMsgInviteToParty() : CMsgInviteToParty(nullptr) {} + ~CMsgInviteToParty() override; + explicit PROTOBUF_CONSTEXPR CMsgInviteToParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgInviteToParty(const CMsgInviteToParty& from); + CMsgInviteToParty(CMsgInviteToParty&& from) noexcept + : CMsgInviteToParty() { + *this = ::std::move(from); + } + + inline CMsgInviteToParty& operator=(const CMsgInviteToParty& from) { + CopyFrom(from); + return *this; + } + inline CMsgInviteToParty& operator=(CMsgInviteToParty&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgInviteToParty& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgInviteToParty* internal_default_instance() { + return reinterpret_cast( + &_CMsgInviteToParty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgInviteToParty& a, CMsgInviteToParty& b) { + a.Swap(&b); + } + inline void Swap(CMsgInviteToParty* 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(CMsgInviteToParty* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgInviteToParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgInviteToParty& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgInviteToParty& from) { + CMsgInviteToParty::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(CMsgInviteToParty* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgInviteToParty"; + } + protected: + explicit CMsgInviteToParty(::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 { + kSteamIdFieldNumber = 1, + kClientVersionFieldNumber = 2, + kTeamInviteFieldNumber = 3, + }; + // optional fixed64 steam_id = 1; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // optional uint32 client_version = 2; + bool has_client_version() const; + private: + bool _internal_has_client_version() const; + public: + void clear_client_version(); + uint32_t client_version() const; + void set_client_version(uint32_t value); + private: + uint32_t _internal_client_version() const; + void _internal_set_client_version(uint32_t value); + public: + + // optional uint32 team_invite = 3; + bool has_team_invite() const; + private: + bool _internal_has_team_invite() const; + public: + void clear_team_invite(); + uint32_t team_invite() const; + void set_team_invite(uint32_t value); + private: + uint32_t _internal_team_invite() const; + void _internal_set_team_invite(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgInviteToParty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steam_id_; + uint32_t client_version_; + uint32_t team_invite_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgInvitationCreated final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgInvitationCreated) */ { + public: + inline CMsgInvitationCreated() : CMsgInvitationCreated(nullptr) {} + ~CMsgInvitationCreated() override; + explicit PROTOBUF_CONSTEXPR CMsgInvitationCreated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgInvitationCreated(const CMsgInvitationCreated& from); + CMsgInvitationCreated(CMsgInvitationCreated&& from) noexcept + : CMsgInvitationCreated() { + *this = ::std::move(from); + } + + inline CMsgInvitationCreated& operator=(const CMsgInvitationCreated& from) { + CopyFrom(from); + return *this; + } + inline CMsgInvitationCreated& operator=(CMsgInvitationCreated&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgInvitationCreated& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgInvitationCreated* internal_default_instance() { + return reinterpret_cast( + &_CMsgInvitationCreated_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgInvitationCreated& a, CMsgInvitationCreated& b) { + a.Swap(&b); + } + inline void Swap(CMsgInvitationCreated* 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(CMsgInvitationCreated* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgInvitationCreated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgInvitationCreated& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgInvitationCreated& from) { + CMsgInvitationCreated::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(CMsgInvitationCreated* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgInvitationCreated"; + } + protected: + explicit CMsgInvitationCreated(::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 { + kGroupIdFieldNumber = 1, + kSteamIdFieldNumber = 2, + }; + // optional uint64 group_id = 1; + bool has_group_id() const; + private: + bool _internal_has_group_id() const; + public: + void clear_group_id(); + uint64_t group_id() const; + void set_group_id(uint64_t value); + private: + uint64_t _internal_group_id() const; + void _internal_set_group_id(uint64_t value); + public: + + // optional fixed64 steam_id = 2; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgInvitationCreated) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t group_id_; + uint64_t steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgPartyInviteResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPartyInviteResponse) */ { + public: + inline CMsgPartyInviteResponse() : CMsgPartyInviteResponse(nullptr) {} + ~CMsgPartyInviteResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgPartyInviteResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgPartyInviteResponse(const CMsgPartyInviteResponse& from); + CMsgPartyInviteResponse(CMsgPartyInviteResponse&& from) noexcept + : CMsgPartyInviteResponse() { + *this = ::std::move(from); + } + + inline CMsgPartyInviteResponse& operator=(const CMsgPartyInviteResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgPartyInviteResponse& operator=(CMsgPartyInviteResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgPartyInviteResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgPartyInviteResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgPartyInviteResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgPartyInviteResponse& a, CMsgPartyInviteResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgPartyInviteResponse* 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(CMsgPartyInviteResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgPartyInviteResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgPartyInviteResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgPartyInviteResponse& from) { + CMsgPartyInviteResponse::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(CMsgPartyInviteResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgPartyInviteResponse"; + } + protected: + explicit CMsgPartyInviteResponse(::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 { + kPartyIdFieldNumber = 1, + kAcceptFieldNumber = 2, + kClientVersionFieldNumber = 3, + kTeamInviteFieldNumber = 4, + }; + // optional uint64 party_id = 1; + bool has_party_id() const; + private: + bool _internal_has_party_id() const; + public: + void clear_party_id(); + uint64_t party_id() const; + void set_party_id(uint64_t value); + private: + uint64_t _internal_party_id() const; + void _internal_set_party_id(uint64_t value); + public: + + // optional bool accept = 2; + bool has_accept() const; + private: + bool _internal_has_accept() const; + public: + void clear_accept(); + bool accept() const; + void set_accept(bool value); + private: + bool _internal_accept() const; + void _internal_set_accept(bool value); + public: + + // optional uint32 client_version = 3; + bool has_client_version() const; + private: + bool _internal_has_client_version() const; + public: + void clear_client_version(); + uint32_t client_version() const; + void set_client_version(uint32_t value); + private: + uint32_t _internal_client_version() const; + void _internal_set_client_version(uint32_t value); + public: + + // optional uint32 team_invite = 4; + bool has_team_invite() const; + private: + bool _internal_has_team_invite() const; + public: + void clear_team_invite(); + uint32_t team_invite() const; + void set_team_invite(uint32_t value); + private: + uint32_t _internal_team_invite() const; + void _internal_set_team_invite(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgPartyInviteResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t party_id_; + bool accept_; + uint32_t client_version_; + uint32_t team_invite_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgKickFromParty final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgKickFromParty) */ { + public: + inline CMsgKickFromParty() : CMsgKickFromParty(nullptr) {} + ~CMsgKickFromParty() override; + explicit PROTOBUF_CONSTEXPR CMsgKickFromParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgKickFromParty(const CMsgKickFromParty& from); + CMsgKickFromParty(CMsgKickFromParty&& from) noexcept + : CMsgKickFromParty() { + *this = ::std::move(from); + } + + inline CMsgKickFromParty& operator=(const CMsgKickFromParty& from) { + CopyFrom(from); + return *this; + } + inline CMsgKickFromParty& operator=(CMsgKickFromParty&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgKickFromParty& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgKickFromParty* internal_default_instance() { + return reinterpret_cast( + &_CMsgKickFromParty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgKickFromParty& a, CMsgKickFromParty& b) { + a.Swap(&b); + } + inline void Swap(CMsgKickFromParty* 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(CMsgKickFromParty* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgKickFromParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgKickFromParty& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgKickFromParty& from) { + CMsgKickFromParty::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(CMsgKickFromParty* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgKickFromParty"; + } + protected: + explicit CMsgKickFromParty(::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 { + kSteamIdFieldNumber = 1, + }; + // optional fixed64 steam_id = 1; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgKickFromParty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgLeaveParty final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgLeaveParty) */ { + public: + inline CMsgLeaveParty() : CMsgLeaveParty(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgLeaveParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgLeaveParty(const CMsgLeaveParty& from); + CMsgLeaveParty(CMsgLeaveParty&& from) noexcept + : CMsgLeaveParty() { + *this = ::std::move(from); + } + + inline CMsgLeaveParty& operator=(const CMsgLeaveParty& from) { + CopyFrom(from); + return *this; + } + inline CMsgLeaveParty& operator=(CMsgLeaveParty&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgLeaveParty& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgLeaveParty* internal_default_instance() { + return reinterpret_cast( + &_CMsgLeaveParty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgLeaveParty& a, CMsgLeaveParty& b) { + a.Swap(&b); + } + inline void Swap(CMsgLeaveParty* 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(CMsgLeaveParty* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgLeaveParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgLeaveParty& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgLeaveParty& 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 "CMsgLeaveParty"; + } + protected: + explicit CMsgLeaveParty(::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:CMsgLeaveParty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerAvailable final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgServerAvailable) */ { + public: + inline CMsgServerAvailable() : CMsgServerAvailable(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgServerAvailable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerAvailable(const CMsgServerAvailable& from); + CMsgServerAvailable(CMsgServerAvailable&& from) noexcept + : CMsgServerAvailable() { + *this = ::std::move(from); + } + + inline CMsgServerAvailable& operator=(const CMsgServerAvailable& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerAvailable& operator=(CMsgServerAvailable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerAvailable& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerAvailable* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerAvailable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgServerAvailable& a, CMsgServerAvailable& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerAvailable* 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(CMsgServerAvailable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerAvailable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgServerAvailable& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgServerAvailable& 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 "CMsgServerAvailable"; + } + protected: + explicit CMsgServerAvailable(::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:CMsgServerAvailable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgLANServerAvailable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLANServerAvailable) */ { + public: + inline CMsgLANServerAvailable() : CMsgLANServerAvailable(nullptr) {} + ~CMsgLANServerAvailable() override; + explicit PROTOBUF_CONSTEXPR CMsgLANServerAvailable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgLANServerAvailable(const CMsgLANServerAvailable& from); + CMsgLANServerAvailable(CMsgLANServerAvailable&& from) noexcept + : CMsgLANServerAvailable() { + *this = ::std::move(from); + } + + inline CMsgLANServerAvailable& operator=(const CMsgLANServerAvailable& from) { + CopyFrom(from); + return *this; + } + inline CMsgLANServerAvailable& operator=(CMsgLANServerAvailable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgLANServerAvailable& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgLANServerAvailable* internal_default_instance() { + return reinterpret_cast( + &_CMsgLANServerAvailable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgLANServerAvailable& a, CMsgLANServerAvailable& b) { + a.Swap(&b); + } + inline void Swap(CMsgLANServerAvailable* 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(CMsgLANServerAvailable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgLANServerAvailable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgLANServerAvailable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgLANServerAvailable& from) { + CMsgLANServerAvailable::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(CMsgLANServerAvailable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgLANServerAvailable"; + } + protected: + explicit CMsgLANServerAvailable(::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 { + kLobbyIdFieldNumber = 1, + }; + // optional fixed64 lobby_id = 1; + bool has_lobby_id() const; + private: + bool _internal_has_lobby_id() const; + public: + void clear_lobby_id(); + uint64_t lobby_id() const; + void set_lobby_id(uint64_t value); + private: + uint64_t _internal_lobby_id() const; + void _internal_set_lobby_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgLANServerAvailable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t lobby_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconGameAccountClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconGameAccountClient) */ { + public: + inline CSOEconGameAccountClient() : CSOEconGameAccountClient(nullptr) {} + ~CSOEconGameAccountClient() override; + explicit PROTOBUF_CONSTEXPR CSOEconGameAccountClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconGameAccountClient(const CSOEconGameAccountClient& from); + CSOEconGameAccountClient(CSOEconGameAccountClient&& from) noexcept + : CSOEconGameAccountClient() { + *this = ::std::move(from); + } + + inline CSOEconGameAccountClient& operator=(const CSOEconGameAccountClient& from) { + CopyFrom(from); + return *this; + } + inline CSOEconGameAccountClient& operator=(CSOEconGameAccountClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconGameAccountClient& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconGameAccountClient* internal_default_instance() { + return reinterpret_cast( + &_CSOEconGameAccountClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CSOEconGameAccountClient& a, CSOEconGameAccountClient& b) { + a.Swap(&b); + } + inline void Swap(CSOEconGameAccountClient* 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(CSOEconGameAccountClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconGameAccountClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconGameAccountClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconGameAccountClient& from) { + CSOEconGameAccountClient::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(CSOEconGameAccountClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconGameAccountClient"; + } + protected: + explicit CSOEconGameAccountClient(::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 { + kAdditionalBackpackSlotsFieldNumber = 1, + kTradeBanExpirationFieldNumber = 6, + kBonusXpTimestampRefreshFieldNumber = 12, + kBonusXpUsedflagsFieldNumber = 13, + kElevatedStateFieldNumber = 14, + kElevatedTimestampFieldNumber = 15, + }; + // optional uint32 additional_backpack_slots = 1 [default = 0]; + bool has_additional_backpack_slots() const; + private: + bool _internal_has_additional_backpack_slots() const; + public: + void clear_additional_backpack_slots(); + uint32_t additional_backpack_slots() const; + void set_additional_backpack_slots(uint32_t value); + private: + uint32_t _internal_additional_backpack_slots() const; + void _internal_set_additional_backpack_slots(uint32_t value); + public: + + // optional fixed32 trade_ban_expiration = 6; + bool has_trade_ban_expiration() const; + private: + bool _internal_has_trade_ban_expiration() const; + public: + void clear_trade_ban_expiration(); + uint32_t trade_ban_expiration() const; + void set_trade_ban_expiration(uint32_t value); + private: + uint32_t _internal_trade_ban_expiration() const; + void _internal_set_trade_ban_expiration(uint32_t value); + public: + + // optional fixed32 bonus_xp_timestamp_refresh = 12; + bool has_bonus_xp_timestamp_refresh() const; + private: + bool _internal_has_bonus_xp_timestamp_refresh() const; + public: + void clear_bonus_xp_timestamp_refresh(); + uint32_t bonus_xp_timestamp_refresh() const; + void set_bonus_xp_timestamp_refresh(uint32_t value); + private: + uint32_t _internal_bonus_xp_timestamp_refresh() const; + void _internal_set_bonus_xp_timestamp_refresh(uint32_t value); + public: + + // optional uint32 bonus_xp_usedflags = 13; + bool has_bonus_xp_usedflags() const; + private: + bool _internal_has_bonus_xp_usedflags() const; + public: + void clear_bonus_xp_usedflags(); + uint32_t bonus_xp_usedflags() const; + void set_bonus_xp_usedflags(uint32_t value); + private: + uint32_t _internal_bonus_xp_usedflags() const; + void _internal_set_bonus_xp_usedflags(uint32_t value); + public: + + // optional uint32 elevated_state = 14; + bool has_elevated_state() const; + private: + bool _internal_has_elevated_state() const; + public: + void clear_elevated_state(); + uint32_t elevated_state() const; + void set_elevated_state(uint32_t value); + private: + uint32_t _internal_elevated_state() const; + void _internal_set_elevated_state(uint32_t value); + public: + + // optional uint32 elevated_timestamp = 15; + bool has_elevated_timestamp() const; + private: + bool _internal_has_elevated_timestamp() const; + public: + void clear_elevated_timestamp(); + uint32_t elevated_timestamp() const; + void set_elevated_timestamp(uint32_t value); + private: + uint32_t _internal_elevated_timestamp() const; + void _internal_set_elevated_timestamp(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconGameAccountClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t additional_backpack_slots_; + uint32_t trade_ban_expiration_; + uint32_t bonus_xp_timestamp_refresh_; + uint32_t bonus_xp_usedflags_; + uint32_t elevated_state_; + uint32_t elevated_timestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOItemCriteriaCondition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemCriteriaCondition) */ { + public: + inline CSOItemCriteriaCondition() : CSOItemCriteriaCondition(nullptr) {} + ~CSOItemCriteriaCondition() override; + explicit PROTOBUF_CONSTEXPR CSOItemCriteriaCondition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOItemCriteriaCondition(const CSOItemCriteriaCondition& from); + CSOItemCriteriaCondition(CSOItemCriteriaCondition&& from) noexcept + : CSOItemCriteriaCondition() { + *this = ::std::move(from); + } + + inline CSOItemCriteriaCondition& operator=(const CSOItemCriteriaCondition& from) { + CopyFrom(from); + return *this; + } + inline CSOItemCriteriaCondition& operator=(CSOItemCriteriaCondition&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOItemCriteriaCondition& default_instance() { + return *internal_default_instance(); + } + static inline const CSOItemCriteriaCondition* internal_default_instance() { + return reinterpret_cast( + &_CSOItemCriteriaCondition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CSOItemCriteriaCondition& a, CSOItemCriteriaCondition& b) { + a.Swap(&b); + } + inline void Swap(CSOItemCriteriaCondition* 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(CSOItemCriteriaCondition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOItemCriteriaCondition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOItemCriteriaCondition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOItemCriteriaCondition& from) { + CSOItemCriteriaCondition::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(CSOItemCriteriaCondition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOItemCriteriaCondition"; + } + protected: + explicit CSOItemCriteriaCondition(::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 { + kFieldFieldNumber = 2, + kStringValueFieldNumber = 5, + kOpFieldNumber = 1, + kRequiredFieldNumber = 3, + kFloatValueFieldNumber = 4, + }; + // optional string field = 2; + bool has_field() const; + private: + bool _internal_has_field() const; + public: + void clear_field(); + const std::string& field() const; + template + void set_field(ArgT0&& arg0, ArgT... args); + std::string* mutable_field(); + PROTOBUF_NODISCARD std::string* release_field(); + void set_allocated_field(std::string* field); + private: + const std::string& _internal_field() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_field(const std::string& value); + std::string* _internal_mutable_field(); + public: + + // optional string string_value = 5; + bool has_string_value() const; + private: + bool _internal_has_string_value() const; + public: + void clear_string_value(); + const std::string& string_value() const; + template + void set_string_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_value(); + PROTOBUF_NODISCARD std::string* release_string_value(); + void set_allocated_string_value(std::string* string_value); + private: + const std::string& _internal_string_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); + std::string* _internal_mutable_string_value(); + public: + + // optional int32 op = 1; + bool has_op() const; + private: + bool _internal_has_op() const; + public: + void clear_op(); + int32_t op() const; + void set_op(int32_t value); + private: + int32_t _internal_op() const; + void _internal_set_op(int32_t value); + public: + + // optional bool required = 3; + bool has_required() const; + private: + bool _internal_has_required() const; + public: + void clear_required(); + bool required() const; + void set_required(bool value); + private: + bool _internal_required() const; + void _internal_set_required(bool value); + public: + + // optional float float_value = 4; + bool has_float_value() const; + private: + bool _internal_has_float_value() const; + public: + void clear_float_value(); + float float_value() const; + void set_float_value(float value); + private: + float _internal_float_value() const; + void _internal_set_float_value(float value); + public: + + // @@protoc_insertion_point(class_scope:CSOItemCriteriaCondition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; + int32_t op_; + bool required_; + float float_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOItemCriteria final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemCriteria) */ { + public: + inline CSOItemCriteria() : CSOItemCriteria(nullptr) {} + ~CSOItemCriteria() override; + explicit PROTOBUF_CONSTEXPR CSOItemCriteria(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOItemCriteria(const CSOItemCriteria& from); + CSOItemCriteria(CSOItemCriteria&& from) noexcept + : CSOItemCriteria() { + *this = ::std::move(from); + } + + inline CSOItemCriteria& operator=(const CSOItemCriteria& from) { + CopyFrom(from); + return *this; + } + inline CSOItemCriteria& operator=(CSOItemCriteria&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOItemCriteria& default_instance() { + return *internal_default_instance(); + } + static inline const CSOItemCriteria* internal_default_instance() { + return reinterpret_cast( + &_CSOItemCriteria_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CSOItemCriteria& a, CSOItemCriteria& b) { + a.Swap(&b); + } + inline void Swap(CSOItemCriteria* 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(CSOItemCriteria* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOItemCriteria* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOItemCriteria& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOItemCriteria& from) { + CSOItemCriteria::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(CSOItemCriteria* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOItemCriteria"; + } + protected: + explicit CSOItemCriteria(::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 { + kConditionsFieldNumber = 9, + kItemLevelFieldNumber = 1, + kItemQualityFieldNumber = 2, + kInitialInventoryFieldNumber = 5, + kInitialQuantityFieldNumber = 6, + kItemLevelSetFieldNumber = 3, + kItemQualitySetFieldNumber = 4, + kIgnoreEnabledFlagFieldNumber = 8, + kItemRaritySetFieldNumber = 11, + kItemRarityFieldNumber = 10, + kRecentOnlyFieldNumber = 12, + }; + // repeated .CSOItemCriteriaCondition conditions = 9; + int conditions_size() const; + private: + int _internal_conditions_size() const; + public: + void clear_conditions(); + ::CSOItemCriteriaCondition* mutable_conditions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >* + mutable_conditions(); + private: + const ::CSOItemCriteriaCondition& _internal_conditions(int index) const; + ::CSOItemCriteriaCondition* _internal_add_conditions(); + public: + const ::CSOItemCriteriaCondition& conditions(int index) const; + ::CSOItemCriteriaCondition* add_conditions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >& + conditions() const; + + // optional uint32 item_level = 1; + bool has_item_level() const; + private: + bool _internal_has_item_level() const; + public: + void clear_item_level(); + uint32_t item_level() const; + void set_item_level(uint32_t value); + private: + uint32_t _internal_item_level() const; + void _internal_set_item_level(uint32_t value); + public: + + // optional int32 item_quality = 2; + bool has_item_quality() const; + private: + bool _internal_has_item_quality() const; + public: + void clear_item_quality(); + int32_t item_quality() const; + void set_item_quality(int32_t value); + private: + int32_t _internal_item_quality() const; + void _internal_set_item_quality(int32_t value); + public: + + // optional uint32 initial_inventory = 5; + bool has_initial_inventory() const; + private: + bool _internal_has_initial_inventory() const; + public: + void clear_initial_inventory(); + uint32_t initial_inventory() const; + void set_initial_inventory(uint32_t value); + private: + uint32_t _internal_initial_inventory() const; + void _internal_set_initial_inventory(uint32_t value); + public: + + // optional uint32 initial_quantity = 6; + bool has_initial_quantity() const; + private: + bool _internal_has_initial_quantity() const; + public: + void clear_initial_quantity(); + uint32_t initial_quantity() const; + void set_initial_quantity(uint32_t value); + private: + uint32_t _internal_initial_quantity() const; + void _internal_set_initial_quantity(uint32_t value); + public: + + // optional bool item_level_set = 3; + bool has_item_level_set() const; + private: + bool _internal_has_item_level_set() const; + public: + void clear_item_level_set(); + bool item_level_set() const; + void set_item_level_set(bool value); + private: + bool _internal_item_level_set() const; + void _internal_set_item_level_set(bool value); + public: + + // optional bool item_quality_set = 4; + bool has_item_quality_set() const; + private: + bool _internal_has_item_quality_set() const; + public: + void clear_item_quality_set(); + bool item_quality_set() const; + void set_item_quality_set(bool value); + private: + bool _internal_item_quality_set() const; + void _internal_set_item_quality_set(bool value); + public: + + // optional bool ignore_enabled_flag = 8; + bool has_ignore_enabled_flag() const; + private: + bool _internal_has_ignore_enabled_flag() const; + public: + void clear_ignore_enabled_flag(); + bool ignore_enabled_flag() const; + void set_ignore_enabled_flag(bool value); + private: + bool _internal_ignore_enabled_flag() const; + void _internal_set_ignore_enabled_flag(bool value); + public: + + // optional bool item_rarity_set = 11; + bool has_item_rarity_set() const; + private: + bool _internal_has_item_rarity_set() const; + public: + void clear_item_rarity_set(); + bool item_rarity_set() const; + void set_item_rarity_set(bool value); + private: + bool _internal_item_rarity_set() const; + void _internal_set_item_rarity_set(bool value); + public: + + // optional int32 item_rarity = 10; + bool has_item_rarity() const; + private: + bool _internal_has_item_rarity() const; + public: + void clear_item_rarity(); + int32_t item_rarity() const; + void set_item_rarity(int32_t value); + private: + int32_t _internal_item_rarity() const; + void _internal_set_item_rarity(int32_t value); + public: + + // optional bool recent_only = 12; + bool has_recent_only() const; + private: + bool _internal_has_recent_only() const; + public: + void clear_recent_only(); + bool recent_only() const; + void set_recent_only(bool value); + private: + bool _internal_recent_only() const; + void _internal_set_recent_only(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSOItemCriteria) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition > conditions_; + uint32_t item_level_; + int32_t item_quality_; + uint32_t initial_inventory_; + uint32_t initial_quantity_; + bool item_level_set_; + bool item_quality_set_; + bool ignore_enabled_flag_; + bool item_rarity_set_; + int32_t item_rarity_; + bool recent_only_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOItemRecipe final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemRecipe) */ { + public: + inline CSOItemRecipe() : CSOItemRecipe(nullptr) {} + ~CSOItemRecipe() override; + explicit PROTOBUF_CONSTEXPR CSOItemRecipe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOItemRecipe(const CSOItemRecipe& from); + CSOItemRecipe(CSOItemRecipe&& from) noexcept + : CSOItemRecipe() { + *this = ::std::move(from); + } + + inline CSOItemRecipe& operator=(const CSOItemRecipe& from) { + CopyFrom(from); + return *this; + } + inline CSOItemRecipe& operator=(CSOItemRecipe&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOItemRecipe& default_instance() { + return *internal_default_instance(); + } + static inline const CSOItemRecipe* internal_default_instance() { + return reinterpret_cast( + &_CSOItemRecipe_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CSOItemRecipe& a, CSOItemRecipe& b) { + a.Swap(&b); + } + inline void Swap(CSOItemRecipe* 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(CSOItemRecipe* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOItemRecipe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOItemRecipe& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOItemRecipe& from) { + CSOItemRecipe::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(CSOItemRecipe* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOItemRecipe"; + } + protected: + explicit CSOItemRecipe(::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 { + kInputItemsCriteriaFieldNumber = 20, + kOutputItemsCriteriaFieldNumber = 21, + kInputItemDupeCountsFieldNumber = 22, + kNameFieldNumber = 2, + kNAFieldNumber = 3, + kDescInputsFieldNumber = 4, + kDescOutputsFieldNumber = 5, + kDiAFieldNumber = 6, + kDiBFieldNumber = 7, + kDiCFieldNumber = 8, + kDoAFieldNumber = 9, + kDoBFieldNumber = 10, + kDoCFieldNumber = 11, + kDefIndexFieldNumber = 1, + kRequiresAllSameClassFieldNumber = 12, + kRequiresAllSameSlotFieldNumber = 13, + kClassUsageForOutputFieldNumber = 14, + kSlotUsageForOutputFieldNumber = 15, + kSetForOutputFieldNumber = 16, + }; + // repeated .CSOItemCriteria input_items_criteria = 20; + int input_items_criteria_size() const; + private: + int _internal_input_items_criteria_size() const; + public: + void clear_input_items_criteria(); + ::CSOItemCriteria* mutable_input_items_criteria(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* + mutable_input_items_criteria(); + private: + const ::CSOItemCriteria& _internal_input_items_criteria(int index) const; + ::CSOItemCriteria* _internal_add_input_items_criteria(); + public: + const ::CSOItemCriteria& input_items_criteria(int index) const; + ::CSOItemCriteria* add_input_items_criteria(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& + input_items_criteria() const; + + // repeated .CSOItemCriteria output_items_criteria = 21; + int output_items_criteria_size() const; + private: + int _internal_output_items_criteria_size() const; + public: + void clear_output_items_criteria(); + ::CSOItemCriteria* mutable_output_items_criteria(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* + mutable_output_items_criteria(); + private: + const ::CSOItemCriteria& _internal_output_items_criteria(int index) const; + ::CSOItemCriteria* _internal_add_output_items_criteria(); + public: + const ::CSOItemCriteria& output_items_criteria(int index) const; + ::CSOItemCriteria* add_output_items_criteria(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& + output_items_criteria() const; + + // repeated uint32 input_item_dupe_counts = 22; + int input_item_dupe_counts_size() const; + private: + int _internal_input_item_dupe_counts_size() const; + public: + void clear_input_item_dupe_counts(); + private: + uint32_t _internal_input_item_dupe_counts(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_input_item_dupe_counts() const; + void _internal_add_input_item_dupe_counts(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_input_item_dupe_counts(); + public: + uint32_t input_item_dupe_counts(int index) const; + void set_input_item_dupe_counts(int index, uint32_t value); + void add_input_item_dupe_counts(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + input_item_dupe_counts() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_input_item_dupe_counts(); + + // optional 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: + + // optional string n_a = 3; + bool has_n_a() const; + private: + bool _internal_has_n_a() const; + public: + void clear_n_a(); + const std::string& n_a() const; + template + void set_n_a(ArgT0&& arg0, ArgT... args); + std::string* mutable_n_a(); + PROTOBUF_NODISCARD std::string* release_n_a(); + void set_allocated_n_a(std::string* n_a); + private: + const std::string& _internal_n_a() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_n_a(const std::string& value); + std::string* _internal_mutable_n_a(); + public: + + // optional string desc_inputs = 4; + bool has_desc_inputs() const; + private: + bool _internal_has_desc_inputs() const; + public: + void clear_desc_inputs(); + const std::string& desc_inputs() const; + template + void set_desc_inputs(ArgT0&& arg0, ArgT... args); + std::string* mutable_desc_inputs(); + PROTOBUF_NODISCARD std::string* release_desc_inputs(); + void set_allocated_desc_inputs(std::string* desc_inputs); + private: + const std::string& _internal_desc_inputs() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc_inputs(const std::string& value); + std::string* _internal_mutable_desc_inputs(); + public: + + // optional string desc_outputs = 5; + bool has_desc_outputs() const; + private: + bool _internal_has_desc_outputs() const; + public: + void clear_desc_outputs(); + const std::string& desc_outputs() const; + template + void set_desc_outputs(ArgT0&& arg0, ArgT... args); + std::string* mutable_desc_outputs(); + PROTOBUF_NODISCARD std::string* release_desc_outputs(); + void set_allocated_desc_outputs(std::string* desc_outputs); + private: + const std::string& _internal_desc_outputs() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc_outputs(const std::string& value); + std::string* _internal_mutable_desc_outputs(); + public: + + // optional string di_a = 6; + bool has_di_a() const; + private: + bool _internal_has_di_a() const; + public: + void clear_di_a(); + const std::string& di_a() const; + template + void set_di_a(ArgT0&& arg0, ArgT... args); + std::string* mutable_di_a(); + PROTOBUF_NODISCARD std::string* release_di_a(); + void set_allocated_di_a(std::string* di_a); + private: + const std::string& _internal_di_a() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_a(const std::string& value); + std::string* _internal_mutable_di_a(); + public: + + // optional string di_b = 7; + bool has_di_b() const; + private: + bool _internal_has_di_b() const; + public: + void clear_di_b(); + const std::string& di_b() const; + template + void set_di_b(ArgT0&& arg0, ArgT... args); + std::string* mutable_di_b(); + PROTOBUF_NODISCARD std::string* release_di_b(); + void set_allocated_di_b(std::string* di_b); + private: + const std::string& _internal_di_b() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_b(const std::string& value); + std::string* _internal_mutable_di_b(); + public: + + // optional string di_c = 8; + bool has_di_c() const; + private: + bool _internal_has_di_c() const; + public: + void clear_di_c(); + const std::string& di_c() const; + template + void set_di_c(ArgT0&& arg0, ArgT... args); + std::string* mutable_di_c(); + PROTOBUF_NODISCARD std::string* release_di_c(); + void set_allocated_di_c(std::string* di_c); + private: + const std::string& _internal_di_c() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_c(const std::string& value); + std::string* _internal_mutable_di_c(); + public: + + // optional string do_a = 9; + bool has_do_a() const; + private: + bool _internal_has_do_a() const; + public: + void clear_do_a(); + const std::string& do_a() const; + template + void set_do_a(ArgT0&& arg0, ArgT... args); + std::string* mutable_do_a(); + PROTOBUF_NODISCARD std::string* release_do_a(); + void set_allocated_do_a(std::string* do_a); + private: + const std::string& _internal_do_a() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_a(const std::string& value); + std::string* _internal_mutable_do_a(); + public: + + // optional string do_b = 10; + bool has_do_b() const; + private: + bool _internal_has_do_b() const; + public: + void clear_do_b(); + const std::string& do_b() const; + template + void set_do_b(ArgT0&& arg0, ArgT... args); + std::string* mutable_do_b(); + PROTOBUF_NODISCARD std::string* release_do_b(); + void set_allocated_do_b(std::string* do_b); + private: + const std::string& _internal_do_b() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_b(const std::string& value); + std::string* _internal_mutable_do_b(); + public: + + // optional string do_c = 11; + bool has_do_c() const; + private: + bool _internal_has_do_c() const; + public: + void clear_do_c(); + const std::string& do_c() const; + template + void set_do_c(ArgT0&& arg0, ArgT... args); + std::string* mutable_do_c(); + PROTOBUF_NODISCARD std::string* release_do_c(); + void set_allocated_do_c(std::string* do_c); + private: + const std::string& _internal_do_c() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_c(const std::string& value); + std::string* _internal_mutable_do_c(); + public: + + // optional uint32 def_index = 1; + bool has_def_index() const; + private: + bool _internal_has_def_index() const; + public: + void clear_def_index(); + uint32_t def_index() const; + void set_def_index(uint32_t value); + private: + uint32_t _internal_def_index() const; + void _internal_set_def_index(uint32_t value); + public: + + // optional bool requires_all_same_class = 12; + bool has_requires_all_same_class() const; + private: + bool _internal_has_requires_all_same_class() const; + public: + void clear_requires_all_same_class(); + bool requires_all_same_class() const; + void set_requires_all_same_class(bool value); + private: + bool _internal_requires_all_same_class() const; + void _internal_set_requires_all_same_class(bool value); + public: + + // optional bool requires_all_same_slot = 13; + bool has_requires_all_same_slot() const; + private: + bool _internal_has_requires_all_same_slot() const; + public: + void clear_requires_all_same_slot(); + bool requires_all_same_slot() const; + void set_requires_all_same_slot(bool value); + private: + bool _internal_requires_all_same_slot() const; + void _internal_set_requires_all_same_slot(bool value); + public: + + // optional int32 class_usage_for_output = 14; + bool has_class_usage_for_output() const; + private: + bool _internal_has_class_usage_for_output() const; + public: + void clear_class_usage_for_output(); + int32_t class_usage_for_output() const; + void set_class_usage_for_output(int32_t value); + private: + int32_t _internal_class_usage_for_output() const; + void _internal_set_class_usage_for_output(int32_t value); + public: + + // optional int32 slot_usage_for_output = 15; + bool has_slot_usage_for_output() const; + private: + bool _internal_has_slot_usage_for_output() const; + public: + void clear_slot_usage_for_output(); + int32_t slot_usage_for_output() const; + void set_slot_usage_for_output(int32_t value); + private: + int32_t _internal_slot_usage_for_output() const; + void _internal_set_slot_usage_for_output(int32_t value); + public: + + // optional int32 set_for_output = 16; + bool has_set_for_output() const; + private: + bool _internal_has_set_for_output() const; + public: + void clear_set_for_output(); + int32_t set_for_output() const; + void set_set_for_output(int32_t value); + private: + int32_t _internal_set_for_output() const; + void _internal_set_set_for_output(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOItemRecipe) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria > input_items_criteria_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria > output_items_criteria_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > input_item_dupe_counts_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr n_a_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_inputs_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_outputs_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_a_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_b_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_c_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_a_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_b_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_c_; + uint32_t def_index_; + bool requires_all_same_class_; + bool requires_all_same_slot_; + int32_t class_usage_for_output_; + int32_t slot_usage_for_output_; + int32_t set_for_output_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgDevNewItemRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgDevNewItemRequest) */ { + public: + inline CMsgDevNewItemRequest() : CMsgDevNewItemRequest(nullptr) {} + ~CMsgDevNewItemRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgDevNewItemRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgDevNewItemRequest(const CMsgDevNewItemRequest& from); + CMsgDevNewItemRequest(CMsgDevNewItemRequest&& from) noexcept + : CMsgDevNewItemRequest() { + *this = ::std::move(from); + } + + inline CMsgDevNewItemRequest& operator=(const CMsgDevNewItemRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgDevNewItemRequest& operator=(CMsgDevNewItemRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgDevNewItemRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgDevNewItemRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgDevNewItemRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CMsgDevNewItemRequest& a, CMsgDevNewItemRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgDevNewItemRequest* 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(CMsgDevNewItemRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgDevNewItemRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgDevNewItemRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgDevNewItemRequest& from) { + CMsgDevNewItemRequest::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(CMsgDevNewItemRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgDevNewItemRequest"; + } + protected: + explicit CMsgDevNewItemRequest(::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 { + kCriteriaFieldNumber = 2, + kReceiverFieldNumber = 1, + }; + // optional .CSOItemCriteria criteria = 2; + bool has_criteria() const; + private: + bool _internal_has_criteria() const; + public: + void clear_criteria(); + const ::CSOItemCriteria& criteria() const; + PROTOBUF_NODISCARD ::CSOItemCriteria* release_criteria(); + ::CSOItemCriteria* mutable_criteria(); + void set_allocated_criteria(::CSOItemCriteria* criteria); + private: + const ::CSOItemCriteria& _internal_criteria() const; + ::CSOItemCriteria* _internal_mutable_criteria(); + public: + void unsafe_arena_set_allocated_criteria( + ::CSOItemCriteria* criteria); + ::CSOItemCriteria* unsafe_arena_release_criteria(); + + // optional fixed64 receiver = 1; + bool has_receiver() const; + private: + bool _internal_has_receiver() const; + public: + void clear_receiver(); + uint64_t receiver() const; + void set_receiver(uint64_t value); + private: + uint64_t _internal_receiver() const; + void _internal_set_receiver(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgDevNewItemRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CSOItemCriteria* criteria_; + uint64_t receiver_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgIncrementKillCountAttribute final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgIncrementKillCountAttribute) */ { + public: + inline CMsgIncrementKillCountAttribute() : CMsgIncrementKillCountAttribute(nullptr) {} + ~CMsgIncrementKillCountAttribute() override; + explicit PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgIncrementKillCountAttribute(const CMsgIncrementKillCountAttribute& from); + CMsgIncrementKillCountAttribute(CMsgIncrementKillCountAttribute&& from) noexcept + : CMsgIncrementKillCountAttribute() { + *this = ::std::move(from); + } + + inline CMsgIncrementKillCountAttribute& operator=(const CMsgIncrementKillCountAttribute& from) { + CopyFrom(from); + return *this; + } + inline CMsgIncrementKillCountAttribute& operator=(CMsgIncrementKillCountAttribute&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgIncrementKillCountAttribute& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgIncrementKillCountAttribute* internal_default_instance() { + return reinterpret_cast( + &_CMsgIncrementKillCountAttribute_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CMsgIncrementKillCountAttribute& a, CMsgIncrementKillCountAttribute& b) { + a.Swap(&b); + } + inline void Swap(CMsgIncrementKillCountAttribute* 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(CMsgIncrementKillCountAttribute* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgIncrementKillCountAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgIncrementKillCountAttribute& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgIncrementKillCountAttribute& from) { + CMsgIncrementKillCountAttribute::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(CMsgIncrementKillCountAttribute* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgIncrementKillCountAttribute"; + } + protected: + explicit CMsgIncrementKillCountAttribute(::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 { + kKillerAccountIdFieldNumber = 1, + kVictimAccountIdFieldNumber = 2, + kItemIdFieldNumber = 3, + kEventTypeFieldNumber = 4, + kAmountFieldNumber = 5, + }; + // optional fixed32 killer_account_id = 1; + bool has_killer_account_id() const; + private: + bool _internal_has_killer_account_id() const; + public: + void clear_killer_account_id(); + uint32_t killer_account_id() const; + void set_killer_account_id(uint32_t value); + private: + uint32_t _internal_killer_account_id() const; + void _internal_set_killer_account_id(uint32_t value); + public: + + // optional fixed32 victim_account_id = 2; + bool has_victim_account_id() const; + private: + bool _internal_has_victim_account_id() const; + public: + void clear_victim_account_id(); + uint32_t victim_account_id() const; + void set_victim_account_id(uint32_t value); + private: + uint32_t _internal_victim_account_id() const; + void _internal_set_victim_account_id(uint32_t value); + public: + + // optional uint64 item_id = 3; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional uint32 event_type = 4; + bool has_event_type() const; + private: + bool _internal_has_event_type() const; + public: + void clear_event_type(); + uint32_t event_type() const; + void set_event_type(uint32_t value); + private: + uint32_t _internal_event_type() const; + void _internal_set_event_type(uint32_t value); + public: + + // optional uint32 amount = 5; + bool has_amount() const; + private: + bool _internal_has_amount() const; + public: + void clear_amount(); + uint32_t amount() const; + void set_amount(uint32_t value); + private: + uint32_t _internal_amount() const; + void _internal_set_amount(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgIncrementKillCountAttribute) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t killer_account_id_; + uint32_t victim_account_id_; + uint64_t item_id_; + uint32_t event_type_; + uint32_t amount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgApplySticker final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplySticker) */ { + public: + inline CMsgApplySticker() : CMsgApplySticker(nullptr) {} + ~CMsgApplySticker() override; + explicit PROTOBUF_CONSTEXPR CMsgApplySticker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgApplySticker(const CMsgApplySticker& from); + CMsgApplySticker(CMsgApplySticker&& from) noexcept + : CMsgApplySticker() { + *this = ::std::move(from); + } + + inline CMsgApplySticker& operator=(const CMsgApplySticker& from) { + CopyFrom(from); + return *this; + } + inline CMsgApplySticker& operator=(CMsgApplySticker&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgApplySticker& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgApplySticker* internal_default_instance() { + return reinterpret_cast( + &_CMsgApplySticker_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgApplySticker& a, CMsgApplySticker& b) { + a.Swap(&b); + } + inline void Swap(CMsgApplySticker* 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(CMsgApplySticker* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgApplySticker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgApplySticker& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgApplySticker& from) { + CMsgApplySticker::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(CMsgApplySticker* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgApplySticker"; + } + protected: + explicit CMsgApplySticker(::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 { + kStickerItemIdFieldNumber = 1, + kItemItemIdFieldNumber = 2, + kStickerSlotFieldNumber = 3, + kBaseitemDefidxFieldNumber = 4, + kStickerWearFieldNumber = 5, + kStickerRotationFieldNumber = 6, + kStickerScaleFieldNumber = 7, + kStickerOffsetXFieldNumber = 8, + kStickerOffsetYFieldNumber = 9, + kStickerOffsetZFieldNumber = 10, + kStickerWearTargetFieldNumber = 11, + }; + // optional uint64 sticker_item_id = 1; + bool has_sticker_item_id() const; + private: + bool _internal_has_sticker_item_id() const; + public: + void clear_sticker_item_id(); + uint64_t sticker_item_id() const; + void set_sticker_item_id(uint64_t value); + private: + uint64_t _internal_sticker_item_id() const; + void _internal_set_sticker_item_id(uint64_t value); + public: + + // optional uint64 item_item_id = 2; + bool has_item_item_id() const; + private: + bool _internal_has_item_item_id() const; + public: + void clear_item_item_id(); + uint64_t item_item_id() const; + void set_item_item_id(uint64_t value); + private: + uint64_t _internal_item_item_id() const; + void _internal_set_item_item_id(uint64_t value); + public: + + // optional uint32 sticker_slot = 3; + bool has_sticker_slot() const; + private: + bool _internal_has_sticker_slot() const; + public: + void clear_sticker_slot(); + uint32_t sticker_slot() const; + void set_sticker_slot(uint32_t value); + private: + uint32_t _internal_sticker_slot() const; + void _internal_set_sticker_slot(uint32_t value); + public: + + // optional uint32 baseitem_defidx = 4; + bool has_baseitem_defidx() const; + private: + bool _internal_has_baseitem_defidx() const; + public: + void clear_baseitem_defidx(); + uint32_t baseitem_defidx() const; + void set_baseitem_defidx(uint32_t value); + private: + uint32_t _internal_baseitem_defidx() const; + void _internal_set_baseitem_defidx(uint32_t value); + public: + + // optional float sticker_wear = 5; + bool has_sticker_wear() const; + private: + bool _internal_has_sticker_wear() const; + public: + void clear_sticker_wear(); + float sticker_wear() const; + void set_sticker_wear(float value); + private: + float _internal_sticker_wear() const; + void _internal_set_sticker_wear(float value); + public: + + // optional float sticker_rotation = 6; + bool has_sticker_rotation() const; + private: + bool _internal_has_sticker_rotation() const; + public: + void clear_sticker_rotation(); + float sticker_rotation() const; + void set_sticker_rotation(float value); + private: + float _internal_sticker_rotation() const; + void _internal_set_sticker_rotation(float value); + public: + + // optional float sticker_scale = 7; + bool has_sticker_scale() const; + private: + bool _internal_has_sticker_scale() const; + public: + void clear_sticker_scale(); + float sticker_scale() const; + void set_sticker_scale(float value); + private: + float _internal_sticker_scale() const; + void _internal_set_sticker_scale(float value); + public: + + // optional float sticker_offset_x = 8; + bool has_sticker_offset_x() const; + private: + bool _internal_has_sticker_offset_x() const; + public: + void clear_sticker_offset_x(); + float sticker_offset_x() const; + void set_sticker_offset_x(float value); + private: + float _internal_sticker_offset_x() const; + void _internal_set_sticker_offset_x(float value); + public: + + // optional float sticker_offset_y = 9; + bool has_sticker_offset_y() const; + private: + bool _internal_has_sticker_offset_y() const; + public: + void clear_sticker_offset_y(); + float sticker_offset_y() const; + void set_sticker_offset_y(float value); + private: + float _internal_sticker_offset_y() const; + void _internal_set_sticker_offset_y(float value); + public: + + // optional float sticker_offset_z = 10; + bool has_sticker_offset_z() const; + private: + bool _internal_has_sticker_offset_z() const; + public: + void clear_sticker_offset_z(); + float sticker_offset_z() const; + void set_sticker_offset_z(float value); + private: + float _internal_sticker_offset_z() const; + void _internal_set_sticker_offset_z(float value); + public: + + // optional float sticker_wear_target = 11; + bool has_sticker_wear_target() const; + private: + bool _internal_has_sticker_wear_target() const; + public: + void clear_sticker_wear_target(); + float sticker_wear_target() const; + void set_sticker_wear_target(float value); + private: + float _internal_sticker_wear_target() const; + void _internal_set_sticker_wear_target(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgApplySticker) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t sticker_item_id_; + uint64_t item_item_id_; + uint32_t sticker_slot_; + uint32_t baseitem_defidx_; + float sticker_wear_; + float sticker_rotation_; + float sticker_scale_; + float sticker_offset_x_; + float sticker_offset_y_; + float sticker_offset_z_; + float sticker_wear_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgModifyItemAttribute final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgModifyItemAttribute) */ { + public: + inline CMsgModifyItemAttribute() : CMsgModifyItemAttribute(nullptr) {} + ~CMsgModifyItemAttribute() override; + explicit PROTOBUF_CONSTEXPR CMsgModifyItemAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgModifyItemAttribute(const CMsgModifyItemAttribute& from); + CMsgModifyItemAttribute(CMsgModifyItemAttribute&& from) noexcept + : CMsgModifyItemAttribute() { + *this = ::std::move(from); + } + + inline CMsgModifyItemAttribute& operator=(const CMsgModifyItemAttribute& from) { + CopyFrom(from); + return *this; + } + inline CMsgModifyItemAttribute& operator=(CMsgModifyItemAttribute&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgModifyItemAttribute& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgModifyItemAttribute* internal_default_instance() { + return reinterpret_cast( + &_CMsgModifyItemAttribute_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CMsgModifyItemAttribute& a, CMsgModifyItemAttribute& b) { + a.Swap(&b); + } + inline void Swap(CMsgModifyItemAttribute* 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(CMsgModifyItemAttribute* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgModifyItemAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgModifyItemAttribute& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgModifyItemAttribute& from) { + CMsgModifyItemAttribute::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(CMsgModifyItemAttribute* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgModifyItemAttribute"; + } + protected: + explicit CMsgModifyItemAttribute(::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 { + kItemIdFieldNumber = 1, + kAttrDefidxFieldNumber = 2, + kAttrValueFieldNumber = 3, + }; + // optional uint64 item_id = 1; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional uint32 attr_defidx = 2; + bool has_attr_defidx() const; + private: + bool _internal_has_attr_defidx() const; + public: + void clear_attr_defidx(); + uint32_t attr_defidx() const; + void set_attr_defidx(uint32_t value); + private: + uint32_t _internal_attr_defidx() const; + void _internal_set_attr_defidx(uint32_t value); + public: + + // optional uint32 attr_value = 3; + bool has_attr_value() const; + private: + bool _internal_has_attr_value() const; + public: + void clear_attr_value(); + uint32_t attr_value() const; + void set_attr_value(uint32_t value); + private: + uint32_t _internal_attr_value() const; + void _internal_set_attr_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgModifyItemAttribute) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t item_id_; + uint32_t attr_defidx_; + uint32_t attr_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgApplyStatTrakSwap final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyStatTrakSwap) */ { + public: + inline CMsgApplyStatTrakSwap() : CMsgApplyStatTrakSwap(nullptr) {} + ~CMsgApplyStatTrakSwap() override; + explicit PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgApplyStatTrakSwap(const CMsgApplyStatTrakSwap& from); + CMsgApplyStatTrakSwap(CMsgApplyStatTrakSwap&& from) noexcept + : CMsgApplyStatTrakSwap() { + *this = ::std::move(from); + } + + inline CMsgApplyStatTrakSwap& operator=(const CMsgApplyStatTrakSwap& from) { + CopyFrom(from); + return *this; + } + inline CMsgApplyStatTrakSwap& operator=(CMsgApplyStatTrakSwap&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgApplyStatTrakSwap& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgApplyStatTrakSwap* internal_default_instance() { + return reinterpret_cast( + &_CMsgApplyStatTrakSwap_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CMsgApplyStatTrakSwap& a, CMsgApplyStatTrakSwap& b) { + a.Swap(&b); + } + inline void Swap(CMsgApplyStatTrakSwap* 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(CMsgApplyStatTrakSwap* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgApplyStatTrakSwap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgApplyStatTrakSwap& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgApplyStatTrakSwap& from) { + CMsgApplyStatTrakSwap::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(CMsgApplyStatTrakSwap* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgApplyStatTrakSwap"; + } + protected: + explicit CMsgApplyStatTrakSwap(::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 { + kToolItemIdFieldNumber = 1, + kItem1ItemIdFieldNumber = 2, + kItem2ItemIdFieldNumber = 3, + }; + // optional uint64 tool_item_id = 1; + bool has_tool_item_id() const; + private: + bool _internal_has_tool_item_id() const; + public: + void clear_tool_item_id(); + uint64_t tool_item_id() const; + void set_tool_item_id(uint64_t value); + private: + uint64_t _internal_tool_item_id() const; + void _internal_set_tool_item_id(uint64_t value); + public: + + // optional uint64 item_1_item_id = 2; + bool has_item_1_item_id() const; + private: + bool _internal_has_item_1_item_id() const; + public: + void clear_item_1_item_id(); + uint64_t item_1_item_id() const; + void set_item_1_item_id(uint64_t value); + private: + uint64_t _internal_item_1_item_id() const; + void _internal_set_item_1_item_id(uint64_t value); + public: + + // optional uint64 item_2_item_id = 3; + bool has_item_2_item_id() const; + private: + bool _internal_has_item_2_item_id() const; + public: + void clear_item_2_item_id(); + uint64_t item_2_item_id() const; + void set_item_2_item_id(uint64_t value); + private: + uint64_t _internal_item_2_item_id() const; + void _internal_set_item_2_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgApplyStatTrakSwap) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t tool_item_id_; + uint64_t item_1_item_id_; + uint64_t item_2_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgApplyStrangePart final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyStrangePart) */ { + public: + inline CMsgApplyStrangePart() : CMsgApplyStrangePart(nullptr) {} + ~CMsgApplyStrangePart() override; + explicit PROTOBUF_CONSTEXPR CMsgApplyStrangePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgApplyStrangePart(const CMsgApplyStrangePart& from); + CMsgApplyStrangePart(CMsgApplyStrangePart&& from) noexcept + : CMsgApplyStrangePart() { + *this = ::std::move(from); + } + + inline CMsgApplyStrangePart& operator=(const CMsgApplyStrangePart& from) { + CopyFrom(from); + return *this; + } + inline CMsgApplyStrangePart& operator=(CMsgApplyStrangePart&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgApplyStrangePart& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgApplyStrangePart* internal_default_instance() { + return reinterpret_cast( + &_CMsgApplyStrangePart_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CMsgApplyStrangePart& a, CMsgApplyStrangePart& b) { + a.Swap(&b); + } + inline void Swap(CMsgApplyStrangePart* 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(CMsgApplyStrangePart* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgApplyStrangePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgApplyStrangePart& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgApplyStrangePart& from) { + CMsgApplyStrangePart::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(CMsgApplyStrangePart* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgApplyStrangePart"; + } + protected: + explicit CMsgApplyStrangePart(::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 { + kStrangePartItemIdFieldNumber = 1, + kItemItemIdFieldNumber = 2, + }; + // optional uint64 strange_part_item_id = 1; + bool has_strange_part_item_id() const; + private: + bool _internal_has_strange_part_item_id() const; + public: + void clear_strange_part_item_id(); + uint64_t strange_part_item_id() const; + void set_strange_part_item_id(uint64_t value); + private: + uint64_t _internal_strange_part_item_id() const; + void _internal_set_strange_part_item_id(uint64_t value); + public: + + // optional uint64 item_item_id = 2; + bool has_item_item_id() const; + private: + bool _internal_has_item_item_id() const; + public: + void clear_item_item_id(); + uint64_t item_item_id() const; + void set_item_item_id(uint64_t value); + private: + uint64_t _internal_item_item_id() const; + void _internal_set_item_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgApplyStrangePart) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t strange_part_item_id_; + uint64_t item_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgApplyPennantUpgrade final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyPennantUpgrade) */ { + public: + inline CMsgApplyPennantUpgrade() : CMsgApplyPennantUpgrade(nullptr) {} + ~CMsgApplyPennantUpgrade() override; + explicit PROTOBUF_CONSTEXPR CMsgApplyPennantUpgrade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgApplyPennantUpgrade(const CMsgApplyPennantUpgrade& from); + CMsgApplyPennantUpgrade(CMsgApplyPennantUpgrade&& from) noexcept + : CMsgApplyPennantUpgrade() { + *this = ::std::move(from); + } + + inline CMsgApplyPennantUpgrade& operator=(const CMsgApplyPennantUpgrade& from) { + CopyFrom(from); + return *this; + } + inline CMsgApplyPennantUpgrade& operator=(CMsgApplyPennantUpgrade&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgApplyPennantUpgrade& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgApplyPennantUpgrade* internal_default_instance() { + return reinterpret_cast( + &_CMsgApplyPennantUpgrade_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CMsgApplyPennantUpgrade& a, CMsgApplyPennantUpgrade& b) { + a.Swap(&b); + } + inline void Swap(CMsgApplyPennantUpgrade* 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(CMsgApplyPennantUpgrade* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgApplyPennantUpgrade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgApplyPennantUpgrade& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgApplyPennantUpgrade& from) { + CMsgApplyPennantUpgrade::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(CMsgApplyPennantUpgrade* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgApplyPennantUpgrade"; + } + protected: + explicit CMsgApplyPennantUpgrade(::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 { + kUpgradeItemIdFieldNumber = 1, + kPennantItemIdFieldNumber = 2, + }; + // optional uint64 upgrade_item_id = 1; + bool has_upgrade_item_id() const; + private: + bool _internal_has_upgrade_item_id() const; + public: + void clear_upgrade_item_id(); + uint64_t upgrade_item_id() const; + void set_upgrade_item_id(uint64_t value); + private: + uint64_t _internal_upgrade_item_id() const; + void _internal_set_upgrade_item_id(uint64_t value); + public: + + // optional uint64 pennant_item_id = 2; + bool has_pennant_item_id() const; + private: + bool _internal_has_pennant_item_id() const; + public: + void clear_pennant_item_id(); + uint64_t pennant_item_id() const; + void set_pennant_item_id(uint64_t value); + private: + uint64_t _internal_pennant_item_id() const; + void _internal_set_pennant_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgApplyPennantUpgrade) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t upgrade_item_id_; + uint64_t pennant_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgApplyEggEssence final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyEggEssence) */ { + public: + inline CMsgApplyEggEssence() : CMsgApplyEggEssence(nullptr) {} + ~CMsgApplyEggEssence() override; + explicit PROTOBUF_CONSTEXPR CMsgApplyEggEssence(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgApplyEggEssence(const CMsgApplyEggEssence& from); + CMsgApplyEggEssence(CMsgApplyEggEssence&& from) noexcept + : CMsgApplyEggEssence() { + *this = ::std::move(from); + } + + inline CMsgApplyEggEssence& operator=(const CMsgApplyEggEssence& from) { + CopyFrom(from); + return *this; + } + inline CMsgApplyEggEssence& operator=(CMsgApplyEggEssence&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgApplyEggEssence& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgApplyEggEssence* internal_default_instance() { + return reinterpret_cast( + &_CMsgApplyEggEssence_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CMsgApplyEggEssence& a, CMsgApplyEggEssence& b) { + a.Swap(&b); + } + inline void Swap(CMsgApplyEggEssence* 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(CMsgApplyEggEssence* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgApplyEggEssence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgApplyEggEssence& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgApplyEggEssence& from) { + CMsgApplyEggEssence::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(CMsgApplyEggEssence* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgApplyEggEssence"; + } + protected: + explicit CMsgApplyEggEssence(::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 { + kEssenceItemIdFieldNumber = 1, + kEggItemIdFieldNumber = 2, + }; + // optional uint64 essence_item_id = 1; + bool has_essence_item_id() const; + private: + bool _internal_has_essence_item_id() const; + public: + void clear_essence_item_id(); + uint64_t essence_item_id() const; + void set_essence_item_id(uint64_t value); + private: + uint64_t _internal_essence_item_id() const; + void _internal_set_essence_item_id(uint64_t value); + public: + + // optional uint64 egg_item_id = 2; + bool has_egg_item_id() const; + private: + bool _internal_has_egg_item_id() const; + public: + void clear_egg_item_id(); + uint64_t egg_item_id() const; + void set_egg_item_id(uint64_t value); + private: + uint64_t _internal_egg_item_id() const; + void _internal_set_egg_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgApplyEggEssence) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t essence_item_id_; + uint64_t egg_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItemAttribute final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemAttribute) */ { + public: + inline CSOEconItemAttribute() : CSOEconItemAttribute(nullptr) {} + ~CSOEconItemAttribute() override; + explicit PROTOBUF_CONSTEXPR CSOEconItemAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItemAttribute(const CSOEconItemAttribute& from); + CSOEconItemAttribute(CSOEconItemAttribute&& from) noexcept + : CSOEconItemAttribute() { + *this = ::std::move(from); + } + + inline CSOEconItemAttribute& operator=(const CSOEconItemAttribute& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItemAttribute& operator=(CSOEconItemAttribute&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItemAttribute& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItemAttribute* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItemAttribute_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CSOEconItemAttribute& a, CSOEconItemAttribute& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItemAttribute* 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(CSOEconItemAttribute* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItemAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItemAttribute& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItemAttribute& from) { + CSOEconItemAttribute::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(CSOEconItemAttribute* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItemAttribute"; + } + protected: + explicit CSOEconItemAttribute(::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 { + kValueBytesFieldNumber = 3, + kDefIndexFieldNumber = 1, + kValueFieldNumber = 2, + }; + // optional bytes value_bytes = 3; + bool has_value_bytes() const; + private: + bool _internal_has_value_bytes() const; + public: + void clear_value_bytes(); + const std::string& value_bytes() const; + template + void set_value_bytes(ArgT0&& arg0, ArgT... args); + std::string* mutable_value_bytes(); + PROTOBUF_NODISCARD std::string* release_value_bytes(); + void set_allocated_value_bytes(std::string* value_bytes); + private: + const std::string& _internal_value_bytes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_bytes(const std::string& value); + std::string* _internal_mutable_value_bytes(); + public: + + // optional uint32 def_index = 1; + bool has_def_index() const; + private: + bool _internal_has_def_index() const; + public: + void clear_def_index(); + uint32_t def_index() const; + void set_def_index(uint32_t value); + private: + uint32_t _internal_def_index() const; + void _internal_set_def_index(uint32_t value); + public: + + // optional uint32 value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + uint32_t value() const; + void set_value(uint32_t value); + private: + uint32_t _internal_value() const; + void _internal_set_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItemAttribute) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_bytes_; + uint32_t def_index_; + uint32_t value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItemEquipped final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemEquipped) */ { + public: + inline CSOEconItemEquipped() : CSOEconItemEquipped(nullptr) {} + ~CSOEconItemEquipped() override; + explicit PROTOBUF_CONSTEXPR CSOEconItemEquipped(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItemEquipped(const CSOEconItemEquipped& from); + CSOEconItemEquipped(CSOEconItemEquipped&& from) noexcept + : CSOEconItemEquipped() { + *this = ::std::move(from); + } + + inline CSOEconItemEquipped& operator=(const CSOEconItemEquipped& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItemEquipped& operator=(CSOEconItemEquipped&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItemEquipped& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItemEquipped* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItemEquipped_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CSOEconItemEquipped& a, CSOEconItemEquipped& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItemEquipped* 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(CSOEconItemEquipped* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItemEquipped* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItemEquipped& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItemEquipped& from) { + CSOEconItemEquipped::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(CSOEconItemEquipped* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItemEquipped"; + } + protected: + explicit CSOEconItemEquipped(::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 { + kNewClassFieldNumber = 1, + kNewSlotFieldNumber = 2, + }; + // optional uint32 new_class = 1; + bool has_new_class() const; + private: + bool _internal_has_new_class() const; + public: + void clear_new_class(); + uint32_t new_class() const; + void set_new_class(uint32_t value); + private: + uint32_t _internal_new_class() const; + void _internal_set_new_class(uint32_t value); + public: + + // optional uint32 new_slot = 2; + bool has_new_slot() const; + private: + bool _internal_has_new_slot() const; + public: + void clear_new_slot(); + uint32_t new_slot() const; + void set_new_slot(uint32_t value); + private: + uint32_t _internal_new_slot() const; + void _internal_set_new_slot(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItemEquipped) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t new_class_; + uint32_t new_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItem) */ { + public: + inline CSOEconItem() : CSOEconItem(nullptr) {} + ~CSOEconItem() override; + explicit PROTOBUF_CONSTEXPR CSOEconItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItem(const CSOEconItem& from); + CSOEconItem(CSOEconItem&& from) noexcept + : CSOEconItem() { + *this = ::std::move(from); + } + + inline CSOEconItem& operator=(const CSOEconItem& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItem& operator=(CSOEconItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItem& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItem* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CSOEconItem& a, CSOEconItem& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItem* 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(CSOEconItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItem& from) { + CSOEconItem::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(CSOEconItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItem"; + } + protected: + explicit CSOEconItem(::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 { + kAttributeFieldNumber = 12, + kEquippedStateFieldNumber = 18, + kCustomNameFieldNumber = 10, + kCustomDescFieldNumber = 11, + kInteriorItemFieldNumber = 13, + kIdFieldNumber = 1, + kAccountIdFieldNumber = 2, + kInventoryFieldNumber = 3, + kDefIndexFieldNumber = 4, + kQuantityFieldNumber = 5, + kLevelFieldNumber = 6, + kQualityFieldNumber = 7, + kFlagsFieldNumber = 8, + kOriginFieldNumber = 9, + kInUseFieldNumber = 14, + kStyleFieldNumber = 15, + kOriginalIdFieldNumber = 16, + kRarityFieldNumber = 19, + }; + // repeated .CSOEconItemAttribute attribute = 12; + int attribute_size() const; + private: + int _internal_attribute_size() const; + public: + void clear_attribute(); + ::CSOEconItemAttribute* mutable_attribute(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >* + mutable_attribute(); + private: + const ::CSOEconItemAttribute& _internal_attribute(int index) const; + ::CSOEconItemAttribute* _internal_add_attribute(); + public: + const ::CSOEconItemAttribute& attribute(int index) const; + ::CSOEconItemAttribute* add_attribute(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >& + attribute() const; + + // repeated .CSOEconItemEquipped equipped_state = 18; + int equipped_state_size() const; + private: + int _internal_equipped_state_size() const; + public: + void clear_equipped_state(); + ::CSOEconItemEquipped* mutable_equipped_state(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >* + mutable_equipped_state(); + private: + const ::CSOEconItemEquipped& _internal_equipped_state(int index) const; + ::CSOEconItemEquipped* _internal_add_equipped_state(); + public: + const ::CSOEconItemEquipped& equipped_state(int index) const; + ::CSOEconItemEquipped* add_equipped_state(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >& + equipped_state() const; + + // optional string custom_name = 10; + bool has_custom_name() const; + private: + bool _internal_has_custom_name() const; + public: + void clear_custom_name(); + const std::string& custom_name() const; + template + void set_custom_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_custom_name(); + PROTOBUF_NODISCARD std::string* release_custom_name(); + void set_allocated_custom_name(std::string* custom_name); + private: + const std::string& _internal_custom_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_name(const std::string& value); + std::string* _internal_mutable_custom_name(); + public: + + // optional string custom_desc = 11; + bool has_custom_desc() const; + private: + bool _internal_has_custom_desc() const; + public: + void clear_custom_desc(); + const std::string& custom_desc() const; + template + void set_custom_desc(ArgT0&& arg0, ArgT... args); + std::string* mutable_custom_desc(); + PROTOBUF_NODISCARD std::string* release_custom_desc(); + void set_allocated_custom_desc(std::string* custom_desc); + private: + const std::string& _internal_custom_desc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_desc(const std::string& value); + std::string* _internal_mutable_custom_desc(); + public: + + // optional .CSOEconItem interior_item = 13; + bool has_interior_item() const; + private: + bool _internal_has_interior_item() const; + public: + void clear_interior_item(); + const ::CSOEconItem& interior_item() const; + PROTOBUF_NODISCARD ::CSOEconItem* release_interior_item(); + ::CSOEconItem* mutable_interior_item(); + void set_allocated_interior_item(::CSOEconItem* interior_item); + private: + const ::CSOEconItem& _internal_interior_item() const; + ::CSOEconItem* _internal_mutable_interior_item(); + public: + void unsafe_arena_set_allocated_interior_item( + ::CSOEconItem* interior_item); + ::CSOEconItem* unsafe_arena_release_interior_item(); + + // optional uint64 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint64_t id() const; + void set_id(uint64_t value); + private: + uint64_t _internal_id() const; + void _internal_set_id(uint64_t value); + public: + + // optional uint32 account_id = 2; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 inventory = 3; + bool has_inventory() const; + private: + bool _internal_has_inventory() const; + public: + void clear_inventory(); + uint32_t inventory() const; + void set_inventory(uint32_t value); + private: + uint32_t _internal_inventory() const; + void _internal_set_inventory(uint32_t value); + public: + + // optional uint32 def_index = 4; + bool has_def_index() const; + private: + bool _internal_has_def_index() const; + public: + void clear_def_index(); + uint32_t def_index() const; + void set_def_index(uint32_t value); + private: + uint32_t _internal_def_index() const; + void _internal_set_def_index(uint32_t value); + public: + + // optional uint32 quantity = 5; + bool has_quantity() const; + private: + bool _internal_has_quantity() const; + public: + void clear_quantity(); + uint32_t quantity() const; + void set_quantity(uint32_t value); + private: + uint32_t _internal_quantity() const; + void _internal_set_quantity(uint32_t value); + public: + + // optional uint32 level = 6; + bool has_level() const; + private: + bool _internal_has_level() const; + public: + void clear_level(); + uint32_t level() const; + void set_level(uint32_t value); + private: + uint32_t _internal_level() const; + void _internal_set_level(uint32_t value); + public: + + // optional uint32 quality = 7; + bool has_quality() const; + private: + bool _internal_has_quality() const; + public: + void clear_quality(); + uint32_t quality() const; + void set_quality(uint32_t value); + private: + uint32_t _internal_quality() const; + void _internal_set_quality(uint32_t value); + public: + + // optional uint32 flags = 8 [default = 0]; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 origin = 9; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + uint32_t origin() const; + void set_origin(uint32_t value); + private: + uint32_t _internal_origin() const; + void _internal_set_origin(uint32_t value); + public: + + // optional bool in_use = 14 [default = false]; + bool has_in_use() const; + private: + bool _internal_has_in_use() const; + public: + void clear_in_use(); + bool in_use() const; + void set_in_use(bool value); + private: + bool _internal_in_use() const; + void _internal_set_in_use(bool value); + public: + + // optional uint32 style = 15 [default = 0]; + bool has_style() const; + private: + bool _internal_has_style() const; + public: + void clear_style(); + uint32_t style() const; + void set_style(uint32_t value); + private: + uint32_t _internal_style() const; + void _internal_set_style(uint32_t value); + public: + + // optional uint64 original_id = 16 [default = 0]; + bool has_original_id() const; + private: + bool _internal_has_original_id() const; + public: + void clear_original_id(); + uint64_t original_id() const; + void set_original_id(uint64_t value); + private: + uint64_t _internal_original_id() const; + void _internal_set_original_id(uint64_t value); + public: + + // optional uint32 rarity = 19; + bool has_rarity() const; + private: + bool _internal_has_rarity() const; + public: + void clear_rarity(); + uint32_t rarity() const; + void set_rarity(uint32_t value); + private: + uint32_t _internal_rarity() const; + void _internal_set_rarity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute > attribute_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped > equipped_state_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_desc_; + ::CSOEconItem* interior_item_; + uint64_t id_; + uint32_t account_id_; + uint32_t inventory_; + uint32_t def_index_; + uint32_t quantity_; + uint32_t level_; + uint32_t quality_; + uint32_t flags_; + uint32_t origin_; + bool in_use_; + uint32_t style_; + uint64_t original_id_; + uint32_t rarity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSortItems final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSortItems) */ { + public: + inline CMsgSortItems() : CMsgSortItems(nullptr) {} + ~CMsgSortItems() override; + explicit PROTOBUF_CONSTEXPR CMsgSortItems(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSortItems(const CMsgSortItems& from); + CMsgSortItems(CMsgSortItems&& from) noexcept + : CMsgSortItems() { + *this = ::std::move(from); + } + + inline CMsgSortItems& operator=(const CMsgSortItems& from) { + CopyFrom(from); + return *this; + } + inline CMsgSortItems& operator=(CMsgSortItems&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSortItems& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSortItems* internal_default_instance() { + return reinterpret_cast( + &_CMsgSortItems_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CMsgSortItems& a, CMsgSortItems& b) { + a.Swap(&b); + } + inline void Swap(CMsgSortItems* 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(CMsgSortItems* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSortItems* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSortItems& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSortItems& from) { + CMsgSortItems::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(CMsgSortItems* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSortItems"; + } + protected: + explicit CMsgSortItems(::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 { + kSortTypeFieldNumber = 1, + }; + // optional uint32 sort_type = 1; + bool has_sort_type() const; + private: + bool _internal_has_sort_type() const; + public: + void clear_sort_type(); + uint32_t sort_type() const; + void set_sort_type(uint32_t value); + private: + uint32_t _internal_sort_type() const; + void _internal_set_sort_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSortItems) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t sort_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconClaimCode final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconClaimCode) */ { + public: + inline CSOEconClaimCode() : CSOEconClaimCode(nullptr) {} + ~CSOEconClaimCode() override; + explicit PROTOBUF_CONSTEXPR CSOEconClaimCode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconClaimCode(const CSOEconClaimCode& from); + CSOEconClaimCode(CSOEconClaimCode&& from) noexcept + : CSOEconClaimCode() { + *this = ::std::move(from); + } + + inline CSOEconClaimCode& operator=(const CSOEconClaimCode& from) { + CopyFrom(from); + return *this; + } + inline CSOEconClaimCode& operator=(CSOEconClaimCode&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconClaimCode& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconClaimCode* internal_default_instance() { + return reinterpret_cast( + &_CSOEconClaimCode_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CSOEconClaimCode& a, CSOEconClaimCode& b) { + a.Swap(&b); + } + inline void Swap(CSOEconClaimCode* 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(CSOEconClaimCode* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconClaimCode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconClaimCode& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconClaimCode& from) { + CSOEconClaimCode::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(CSOEconClaimCode* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconClaimCode"; + } + protected: + explicit CSOEconClaimCode(::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 { + kCodeFieldNumber = 4, + kAccountIdFieldNumber = 1, + kCodeTypeFieldNumber = 2, + kTimeAcquiredFieldNumber = 3, + }; + // optional string code = 4; + bool has_code() const; + private: + bool _internal_has_code() const; + public: + void clear_code(); + const std::string& code() const; + template + void set_code(ArgT0&& arg0, ArgT... args); + std::string* mutable_code(); + PROTOBUF_NODISCARD std::string* release_code(); + void set_allocated_code(std::string* code); + private: + const std::string& _internal_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(const std::string& value); + std::string* _internal_mutable_code(); + public: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 code_type = 2; + bool has_code_type() const; + private: + bool _internal_has_code_type() const; + public: + void clear_code_type(); + uint32_t code_type() const; + void set_code_type(uint32_t value); + private: + uint32_t _internal_code_type() const; + void _internal_set_code_type(uint32_t value); + public: + + // optional uint32 time_acquired = 3; + bool has_time_acquired() const; + private: + bool _internal_has_time_acquired() const; + public: + void clear_time_acquired(); + uint32_t time_acquired() const; + void set_time_acquired(uint32_t value); + private: + uint32_t _internal_time_acquired() const; + void _internal_set_time_acquired(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconClaimCode) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; + uint32_t account_id_; + uint32_t code_type_; + uint32_t time_acquired_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgStoreGetUserData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgStoreGetUserData) */ { + public: + inline CMsgStoreGetUserData() : CMsgStoreGetUserData(nullptr) {} + ~CMsgStoreGetUserData() override; + explicit PROTOBUF_CONSTEXPR CMsgStoreGetUserData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgStoreGetUserData(const CMsgStoreGetUserData& from); + CMsgStoreGetUserData(CMsgStoreGetUserData&& from) noexcept + : CMsgStoreGetUserData() { + *this = ::std::move(from); + } + + inline CMsgStoreGetUserData& operator=(const CMsgStoreGetUserData& from) { + CopyFrom(from); + return *this; + } + inline CMsgStoreGetUserData& operator=(CMsgStoreGetUserData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgStoreGetUserData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgStoreGetUserData* internal_default_instance() { + return reinterpret_cast( + &_CMsgStoreGetUserData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CMsgStoreGetUserData& a, CMsgStoreGetUserData& b) { + a.Swap(&b); + } + inline void Swap(CMsgStoreGetUserData* 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(CMsgStoreGetUserData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgStoreGetUserData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgStoreGetUserData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgStoreGetUserData& from) { + CMsgStoreGetUserData::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(CMsgStoreGetUserData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgStoreGetUserData"; + } + protected: + explicit CMsgStoreGetUserData(::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 { + kPriceSheetVersionFieldNumber = 1, + kCurrencyFieldNumber = 2, + }; + // optional fixed32 price_sheet_version = 1; + bool has_price_sheet_version() const; + private: + bool _internal_has_price_sheet_version() const; + public: + void clear_price_sheet_version(); + uint32_t price_sheet_version() const; + void set_price_sheet_version(uint32_t value); + private: + uint32_t _internal_price_sheet_version() const; + void _internal_set_price_sheet_version(uint32_t value); + public: + + // optional int32 currency = 2; + bool has_currency() const; + private: + bool _internal_has_currency() const; + public: + void clear_currency(); + int32_t currency() const; + void set_currency(int32_t value); + private: + int32_t _internal_currency() const; + void _internal_set_currency(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgStoreGetUserData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t price_sheet_version_; + int32_t currency_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgStoreGetUserDataResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgStoreGetUserDataResponse) */ { + public: + inline CMsgStoreGetUserDataResponse() : CMsgStoreGetUserDataResponse(nullptr) {} + ~CMsgStoreGetUserDataResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgStoreGetUserDataResponse(const CMsgStoreGetUserDataResponse& from); + CMsgStoreGetUserDataResponse(CMsgStoreGetUserDataResponse&& from) noexcept + : CMsgStoreGetUserDataResponse() { + *this = ::std::move(from); + } + + inline CMsgStoreGetUserDataResponse& operator=(const CMsgStoreGetUserDataResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgStoreGetUserDataResponse& operator=(CMsgStoreGetUserDataResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgStoreGetUserDataResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgStoreGetUserDataResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgStoreGetUserDataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CMsgStoreGetUserDataResponse& a, CMsgStoreGetUserDataResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgStoreGetUserDataResponse* 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(CMsgStoreGetUserDataResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgStoreGetUserDataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgStoreGetUserDataResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgStoreGetUserDataResponse& from) { + CMsgStoreGetUserDataResponse::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(CMsgStoreGetUserDataResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgStoreGetUserDataResponse"; + } + protected: + explicit CMsgStoreGetUserDataResponse(::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 { + kCountryDeprecatedFieldNumber = 3, + kPriceSheetFieldNumber = 8, + kResultFieldNumber = 1, + kCurrencyDeprecatedFieldNumber = 2, + kPriceSheetVersionFieldNumber = 4, + }; + // optional string country_deprecated = 3; + bool has_country_deprecated() const; + private: + bool _internal_has_country_deprecated() const; + public: + void clear_country_deprecated(); + const std::string& country_deprecated() const; + template + void set_country_deprecated(ArgT0&& arg0, ArgT... args); + std::string* mutable_country_deprecated(); + PROTOBUF_NODISCARD std::string* release_country_deprecated(); + void set_allocated_country_deprecated(std::string* country_deprecated); + private: + const std::string& _internal_country_deprecated() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_country_deprecated(const std::string& value); + std::string* _internal_mutable_country_deprecated(); + public: + + // optional bytes price_sheet = 8; + bool has_price_sheet() const; + private: + bool _internal_has_price_sheet() const; + public: + void clear_price_sheet(); + const std::string& price_sheet() const; + template + void set_price_sheet(ArgT0&& arg0, ArgT... args); + std::string* mutable_price_sheet(); + PROTOBUF_NODISCARD std::string* release_price_sheet(); + void set_allocated_price_sheet(std::string* price_sheet); + private: + const std::string& _internal_price_sheet() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_price_sheet(const std::string& value); + std::string* _internal_mutable_price_sheet(); + public: + + // optional int32 result = 1; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + int32_t result() const; + void set_result(int32_t value); + private: + int32_t _internal_result() const; + void _internal_set_result(int32_t value); + public: + + // optional int32 currency_deprecated = 2; + bool has_currency_deprecated() const; + private: + bool _internal_has_currency_deprecated() const; + public: + void clear_currency_deprecated(); + int32_t currency_deprecated() const; + void set_currency_deprecated(int32_t value); + private: + int32_t _internal_currency_deprecated() const; + void _internal_set_currency_deprecated(int32_t value); + public: + + // optional fixed32 price_sheet_version = 4; + bool has_price_sheet_version() const; + private: + bool _internal_has_price_sheet_version() const; + public: + void clear_price_sheet_version(); + uint32_t price_sheet_version() const; + void set_price_sheet_version(uint32_t value); + private: + uint32_t _internal_price_sheet_version() const; + void _internal_set_price_sheet_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgStoreGetUserDataResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_deprecated_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr price_sheet_; + int32_t result_; + int32_t currency_deprecated_; + uint32_t price_sheet_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgUpdateItemSchema final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgUpdateItemSchema) */ { + public: + inline CMsgUpdateItemSchema() : CMsgUpdateItemSchema(nullptr) {} + ~CMsgUpdateItemSchema() override; + explicit PROTOBUF_CONSTEXPR CMsgUpdateItemSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgUpdateItemSchema(const CMsgUpdateItemSchema& from); + CMsgUpdateItemSchema(CMsgUpdateItemSchema&& from) noexcept + : CMsgUpdateItemSchema() { + *this = ::std::move(from); + } + + inline CMsgUpdateItemSchema& operator=(const CMsgUpdateItemSchema& from) { + CopyFrom(from); + return *this; + } + inline CMsgUpdateItemSchema& operator=(CMsgUpdateItemSchema&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgUpdateItemSchema& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgUpdateItemSchema* internal_default_instance() { + return reinterpret_cast( + &_CMsgUpdateItemSchema_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CMsgUpdateItemSchema& a, CMsgUpdateItemSchema& b) { + a.Swap(&b); + } + inline void Swap(CMsgUpdateItemSchema* 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(CMsgUpdateItemSchema* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgUpdateItemSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgUpdateItemSchema& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgUpdateItemSchema& from) { + CMsgUpdateItemSchema::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(CMsgUpdateItemSchema* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgUpdateItemSchema"; + } + protected: + explicit CMsgUpdateItemSchema(::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 { + kItemsGameFieldNumber = 1, + kItemsGameUrlFieldNumber = 4, + kItemSchemaVersionFieldNumber = 2, + }; + // optional bytes items_game = 1; + bool has_items_game() const; + private: + bool _internal_has_items_game() const; + public: + void clear_items_game(); + const std::string& items_game() const; + template + void set_items_game(ArgT0&& arg0, ArgT... args); + std::string* mutable_items_game(); + PROTOBUF_NODISCARD std::string* release_items_game(); + void set_allocated_items_game(std::string* items_game); + private: + const std::string& _internal_items_game() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_items_game(const std::string& value); + std::string* _internal_mutable_items_game(); + public: + + // optional string items_game_url = 4; + bool has_items_game_url() const; + private: + bool _internal_has_items_game_url() const; + public: + void clear_items_game_url(); + const std::string& items_game_url() const; + template + void set_items_game_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_items_game_url(); + PROTOBUF_NODISCARD std::string* release_items_game_url(); + void set_allocated_items_game_url(std::string* items_game_url); + private: + const std::string& _internal_items_game_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_items_game_url(const std::string& value); + std::string* _internal_mutable_items_game_url(); + public: + + // optional fixed32 item_schema_version = 2; + bool has_item_schema_version() const; + private: + bool _internal_has_item_schema_version() const; + public: + void clear_item_schema_version(); + uint32_t item_schema_version() const; + void set_item_schema_version(uint32_t value); + private: + uint32_t _internal_item_schema_version() const; + void _internal_set_item_schema_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgUpdateItemSchema) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr items_game_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr items_game_url_; + uint32_t item_schema_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCError final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCError) */ { + public: + inline CMsgGCError() : CMsgGCError(nullptr) {} + ~CMsgGCError() override; + explicit PROTOBUF_CONSTEXPR CMsgGCError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCError(const CMsgGCError& from); + CMsgGCError(CMsgGCError&& from) noexcept + : CMsgGCError() { + *this = ::std::move(from); + } + + inline CMsgGCError& operator=(const CMsgGCError& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCError& operator=(CMsgGCError&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCError& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCError* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CMsgGCError& a, CMsgGCError& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCError* 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(CMsgGCError* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCError& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCError& from) { + CMsgGCError::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(CMsgGCError* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCError"; + } + protected: + explicit CMsgGCError(::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 { + kErrorTextFieldNumber = 1, + }; + // optional string error_text = 1; + bool has_error_text() const; + private: + bool _internal_has_error_text() const; + public: + void clear_error_text(); + const std::string& error_text() const; + template + void set_error_text(ArgT0&& arg0, ArgT... args); + std::string* mutable_error_text(); + PROTOBUF_NODISCARD std::string* release_error_text(); + void set_allocated_error_text(std::string* error_text); + private: + const std::string& _internal_error_text() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_text(const std::string& value); + std::string* _internal_mutable_error_text(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCError) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_text_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgRequestInventoryRefresh final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgRequestInventoryRefresh) */ { + public: + inline CMsgRequestInventoryRefresh() : CMsgRequestInventoryRefresh(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgRequestInventoryRefresh(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgRequestInventoryRefresh(const CMsgRequestInventoryRefresh& from); + CMsgRequestInventoryRefresh(CMsgRequestInventoryRefresh&& from) noexcept + : CMsgRequestInventoryRefresh() { + *this = ::std::move(from); + } + + inline CMsgRequestInventoryRefresh& operator=(const CMsgRequestInventoryRefresh& from) { + CopyFrom(from); + return *this; + } + inline CMsgRequestInventoryRefresh& operator=(CMsgRequestInventoryRefresh&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgRequestInventoryRefresh& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgRequestInventoryRefresh* internal_default_instance() { + return reinterpret_cast( + &_CMsgRequestInventoryRefresh_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CMsgRequestInventoryRefresh& a, CMsgRequestInventoryRefresh& b) { + a.Swap(&b); + } + inline void Swap(CMsgRequestInventoryRefresh* 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(CMsgRequestInventoryRefresh* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgRequestInventoryRefresh* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgRequestInventoryRefresh& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgRequestInventoryRefresh& 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 "CMsgRequestInventoryRefresh"; + } + protected: + explicit CMsgRequestInventoryRefresh(::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:CMsgRequestInventoryRefresh) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgConVarValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConVarValue) */ { + public: + inline CMsgConVarValue() : CMsgConVarValue(nullptr) {} + ~CMsgConVarValue() override; + explicit PROTOBUF_CONSTEXPR CMsgConVarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgConVarValue(const CMsgConVarValue& from); + CMsgConVarValue(CMsgConVarValue&& from) noexcept + : CMsgConVarValue() { + *this = ::std::move(from); + } + + inline CMsgConVarValue& operator=(const CMsgConVarValue& from) { + CopyFrom(from); + return *this; + } + inline CMsgConVarValue& operator=(CMsgConVarValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgConVarValue& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgConVarValue* internal_default_instance() { + return reinterpret_cast( + &_CMsgConVarValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CMsgConVarValue& a, CMsgConVarValue& b) { + a.Swap(&b); + } + inline void Swap(CMsgConVarValue* 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(CMsgConVarValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgConVarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgConVarValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgConVarValue& from) { + CMsgConVarValue::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(CMsgConVarValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgConVarValue"; + } + protected: + explicit CMsgConVarValue(::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, + kValueFieldNumber = 2, + }; + // optional string name = 1; + 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: + + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:CMsgConVarValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgReplicateConVars final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgReplicateConVars) */ { + public: + inline CMsgReplicateConVars() : CMsgReplicateConVars(nullptr) {} + ~CMsgReplicateConVars() override; + explicit PROTOBUF_CONSTEXPR CMsgReplicateConVars(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgReplicateConVars(const CMsgReplicateConVars& from); + CMsgReplicateConVars(CMsgReplicateConVars&& from) noexcept + : CMsgReplicateConVars() { + *this = ::std::move(from); + } + + inline CMsgReplicateConVars& operator=(const CMsgReplicateConVars& from) { + CopyFrom(from); + return *this; + } + inline CMsgReplicateConVars& operator=(CMsgReplicateConVars&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgReplicateConVars& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgReplicateConVars* internal_default_instance() { + return reinterpret_cast( + &_CMsgReplicateConVars_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CMsgReplicateConVars& a, CMsgReplicateConVars& b) { + a.Swap(&b); + } + inline void Swap(CMsgReplicateConVars* 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(CMsgReplicateConVars* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgReplicateConVars* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgReplicateConVars& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgReplicateConVars& from) { + CMsgReplicateConVars::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(CMsgReplicateConVars* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgReplicateConVars"; + } + protected: + explicit CMsgReplicateConVars(::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 { + kConvarsFieldNumber = 1, + }; + // repeated .CMsgConVarValue convars = 1; + int convars_size() const; + private: + int _internal_convars_size() const; + public: + void clear_convars(); + ::CMsgConVarValue* mutable_convars(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >* + mutable_convars(); + private: + const ::CMsgConVarValue& _internal_convars(int index) const; + ::CMsgConVarValue* _internal_add_convars(); + public: + const ::CMsgConVarValue& convars(int index) const; + ::CMsgConVarValue* add_convars(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >& + convars() const; + + // @@protoc_insertion_point(class_scope:CMsgReplicateConVars) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue > convars_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgUseItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgUseItem) */ { + public: + inline CMsgUseItem() : CMsgUseItem(nullptr) {} + ~CMsgUseItem() override; + explicit PROTOBUF_CONSTEXPR CMsgUseItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgUseItem(const CMsgUseItem& from); + CMsgUseItem(CMsgUseItem&& from) noexcept + : CMsgUseItem() { + *this = ::std::move(from); + } + + inline CMsgUseItem& operator=(const CMsgUseItem& from) { + CopyFrom(from); + return *this; + } + inline CMsgUseItem& operator=(CMsgUseItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgUseItem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgUseItem* internal_default_instance() { + return reinterpret_cast( + &_CMsgUseItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CMsgUseItem& a, CMsgUseItem& b) { + a.Swap(&b); + } + inline void Swap(CMsgUseItem* 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(CMsgUseItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgUseItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgUseItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgUseItem& from) { + CMsgUseItem::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(CMsgUseItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgUseItem"; + } + protected: + explicit CMsgUseItem(::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 { + kGiftPotentialTargetsFieldNumber = 3, + kItemIdFieldNumber = 1, + kTargetSteamIdFieldNumber = 2, + kInitiatorSteamIdFieldNumber = 5, + kDuelClassLockFieldNumber = 4, + }; + // repeated uint32 gift__potential_targets = 3; + int gift__potential_targets_size() const; + private: + int _internal_gift__potential_targets_size() const; + public: + void clear_gift__potential_targets(); + private: + uint32_t _internal_gift__potential_targets(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_gift__potential_targets() const; + void _internal_add_gift__potential_targets(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_gift__potential_targets(); + public: + uint32_t gift__potential_targets(int index) const; + void set_gift__potential_targets(int index, uint32_t value); + void add_gift__potential_targets(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + gift__potential_targets() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_gift__potential_targets(); + + // optional uint64 item_id = 1; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional fixed64 target_steam_id = 2; + bool has_target_steam_id() const; + private: + bool _internal_has_target_steam_id() const; + public: + void clear_target_steam_id(); + uint64_t target_steam_id() const; + void set_target_steam_id(uint64_t value); + private: + uint64_t _internal_target_steam_id() const; + void _internal_set_target_steam_id(uint64_t value); + public: + + // optional fixed64 initiator_steam_id = 5; + bool has_initiator_steam_id() const; + private: + bool _internal_has_initiator_steam_id() const; + public: + void clear_initiator_steam_id(); + uint64_t initiator_steam_id() const; + void set_initiator_steam_id(uint64_t value); + private: + uint64_t _internal_initiator_steam_id() const; + void _internal_set_initiator_steam_id(uint64_t value); + public: + + // optional uint32 duel__class_lock = 4; + bool has_duel__class_lock() const; + private: + bool _internal_has_duel__class_lock() const; + public: + void clear_duel__class_lock(); + uint32_t duel__class_lock() const; + void set_duel__class_lock(uint32_t value); + private: + uint32_t _internal_duel__class_lock() const; + void _internal_set_duel__class_lock(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgUseItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gift__potential_targets_; + uint64_t item_id_; + uint64_t target_steam_id_; + uint64_t initiator_steam_id_; + uint32_t duel__class_lock_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgReplayUploadedToYouTube final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgReplayUploadedToYouTube) */ { + public: + inline CMsgReplayUploadedToYouTube() : CMsgReplayUploadedToYouTube(nullptr) {} + ~CMsgReplayUploadedToYouTube() override; + explicit PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTube(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgReplayUploadedToYouTube(const CMsgReplayUploadedToYouTube& from); + CMsgReplayUploadedToYouTube(CMsgReplayUploadedToYouTube&& from) noexcept + : CMsgReplayUploadedToYouTube() { + *this = ::std::move(from); + } + + inline CMsgReplayUploadedToYouTube& operator=(const CMsgReplayUploadedToYouTube& from) { + CopyFrom(from); + return *this; + } + inline CMsgReplayUploadedToYouTube& operator=(CMsgReplayUploadedToYouTube&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgReplayUploadedToYouTube& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgReplayUploadedToYouTube* internal_default_instance() { + return reinterpret_cast( + &_CMsgReplayUploadedToYouTube_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CMsgReplayUploadedToYouTube& a, CMsgReplayUploadedToYouTube& b) { + a.Swap(&b); + } + inline void Swap(CMsgReplayUploadedToYouTube* 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(CMsgReplayUploadedToYouTube* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgReplayUploadedToYouTube* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgReplayUploadedToYouTube& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgReplayUploadedToYouTube& from) { + CMsgReplayUploadedToYouTube::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(CMsgReplayUploadedToYouTube* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgReplayUploadedToYouTube"; + } + protected: + explicit CMsgReplayUploadedToYouTube(::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 { + kYoutubeUrlFieldNumber = 1, + kYoutubeAccountNameFieldNumber = 2, + kSessionIdFieldNumber = 3, + }; + // optional string youtube_url = 1; + bool has_youtube_url() const; + private: + bool _internal_has_youtube_url() const; + public: + void clear_youtube_url(); + const std::string& youtube_url() const; + template + void set_youtube_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtube_url(); + PROTOBUF_NODISCARD std::string* release_youtube_url(); + void set_allocated_youtube_url(std::string* youtube_url); + private: + const std::string& _internal_youtube_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_url(const std::string& value); + std::string* _internal_mutable_youtube_url(); + public: + + // optional string youtube_account_name = 2; + bool has_youtube_account_name() const; + private: + bool _internal_has_youtube_account_name() const; + public: + void clear_youtube_account_name(); + const std::string& youtube_account_name() const; + template + void set_youtube_account_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtube_account_name(); + PROTOBUF_NODISCARD std::string* release_youtube_account_name(); + void set_allocated_youtube_account_name(std::string* youtube_account_name); + private: + const std::string& _internal_youtube_account_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_account_name(const std::string& value); + std::string* _internal_mutable_youtube_account_name(); + public: + + // optional uint64 session_id = 3; + bool has_session_id() const; + private: + bool _internal_has_session_id() const; + public: + void clear_session_id(); + uint64_t session_id() const; + void set_session_id(uint64_t value); + private: + uint64_t _internal_session_id() const; + void _internal_set_session_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgReplayUploadedToYouTube) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_account_name_; + uint64_t session_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgConsumableExhausted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConsumableExhausted) */ { + public: + inline CMsgConsumableExhausted() : CMsgConsumableExhausted(nullptr) {} + ~CMsgConsumableExhausted() override; + explicit PROTOBUF_CONSTEXPR CMsgConsumableExhausted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgConsumableExhausted(const CMsgConsumableExhausted& from); + CMsgConsumableExhausted(CMsgConsumableExhausted&& from) noexcept + : CMsgConsumableExhausted() { + *this = ::std::move(from); + } + + inline CMsgConsumableExhausted& operator=(const CMsgConsumableExhausted& from) { + CopyFrom(from); + return *this; + } + inline CMsgConsumableExhausted& operator=(CMsgConsumableExhausted&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgConsumableExhausted& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgConsumableExhausted* internal_default_instance() { + return reinterpret_cast( + &_CMsgConsumableExhausted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CMsgConsumableExhausted& a, CMsgConsumableExhausted& b) { + a.Swap(&b); + } + inline void Swap(CMsgConsumableExhausted* 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(CMsgConsumableExhausted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgConsumableExhausted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgConsumableExhausted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgConsumableExhausted& from) { + CMsgConsumableExhausted::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(CMsgConsumableExhausted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgConsumableExhausted"; + } + protected: + explicit CMsgConsumableExhausted(::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 { + kItemDefIdFieldNumber = 1, + }; + // optional int32 item_def_id = 1; + bool has_item_def_id() const; + private: + bool _internal_has_item_def_id() const; + public: + void clear_item_def_id(); + int32_t item_def_id() const; + void set_item_def_id(int32_t value); + private: + int32_t _internal_item_def_id() const; + void _internal_set_item_def_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgConsumableExhausted) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t item_def_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgItemAcknowledged__DEPRECATED final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgItemAcknowledged__DEPRECATED) */ { + public: + inline CMsgItemAcknowledged__DEPRECATED() : CMsgItemAcknowledged__DEPRECATED(nullptr) {} + ~CMsgItemAcknowledged__DEPRECATED() override; + explicit PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATED(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgItemAcknowledged__DEPRECATED(const CMsgItemAcknowledged__DEPRECATED& from); + CMsgItemAcknowledged__DEPRECATED(CMsgItemAcknowledged__DEPRECATED&& from) noexcept + : CMsgItemAcknowledged__DEPRECATED() { + *this = ::std::move(from); + } + + inline CMsgItemAcknowledged__DEPRECATED& operator=(const CMsgItemAcknowledged__DEPRECATED& from) { + CopyFrom(from); + return *this; + } + inline CMsgItemAcknowledged__DEPRECATED& operator=(CMsgItemAcknowledged__DEPRECATED&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgItemAcknowledged__DEPRECATED& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgItemAcknowledged__DEPRECATED* internal_default_instance() { + return reinterpret_cast( + &_CMsgItemAcknowledged__DEPRECATED_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CMsgItemAcknowledged__DEPRECATED& a, CMsgItemAcknowledged__DEPRECATED& b) { + a.Swap(&b); + } + inline void Swap(CMsgItemAcknowledged__DEPRECATED* 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(CMsgItemAcknowledged__DEPRECATED* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgItemAcknowledged__DEPRECATED* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgItemAcknowledged__DEPRECATED& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgItemAcknowledged__DEPRECATED& from) { + CMsgItemAcknowledged__DEPRECATED::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(CMsgItemAcknowledged__DEPRECATED* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgItemAcknowledged__DEPRECATED"; + } + protected: + explicit CMsgItemAcknowledged__DEPRECATED(::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 { + kAccountIdFieldNumber = 1, + kInventoryFieldNumber = 2, + kDefIndexFieldNumber = 3, + kQualityFieldNumber = 4, + kRarityFieldNumber = 5, + kOriginFieldNumber = 6, + kItemIdFieldNumber = 7, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 inventory = 2; + bool has_inventory() const; + private: + bool _internal_has_inventory() const; + public: + void clear_inventory(); + uint32_t inventory() const; + void set_inventory(uint32_t value); + private: + uint32_t _internal_inventory() const; + void _internal_set_inventory(uint32_t value); + public: + + // optional uint32 def_index = 3; + bool has_def_index() const; + private: + bool _internal_has_def_index() const; + public: + void clear_def_index(); + uint32_t def_index() const; + void set_def_index(uint32_t value); + private: + uint32_t _internal_def_index() const; + void _internal_set_def_index(uint32_t value); + public: + + // optional uint32 quality = 4; + bool has_quality() const; + private: + bool _internal_has_quality() const; + public: + void clear_quality(); + uint32_t quality() const; + void set_quality(uint32_t value); + private: + uint32_t _internal_quality() const; + void _internal_set_quality(uint32_t value); + public: + + // optional uint32 rarity = 5; + bool has_rarity() const; + private: + bool _internal_has_rarity() const; + public: + void clear_rarity(); + uint32_t rarity() const; + void set_rarity(uint32_t value); + private: + uint32_t _internal_rarity() const; + void _internal_set_rarity(uint32_t value); + public: + + // optional uint32 origin = 6; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + uint32_t origin() const; + void set_origin(uint32_t value); + private: + uint32_t _internal_origin() const; + void _internal_set_origin(uint32_t value); + public: + + // optional uint64 item_id = 7; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgItemAcknowledged__DEPRECATED) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t inventory_; + uint32_t def_index_; + uint32_t quality_; + uint32_t rarity_; + uint32_t origin_; + uint64_t item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSetItemPositions_ItemPosition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSetItemPositions.ItemPosition) */ { + public: + inline CMsgSetItemPositions_ItemPosition() : CMsgSetItemPositions_ItemPosition(nullptr) {} + ~CMsgSetItemPositions_ItemPosition() override; + explicit PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSetItemPositions_ItemPosition(const CMsgSetItemPositions_ItemPosition& from); + CMsgSetItemPositions_ItemPosition(CMsgSetItemPositions_ItemPosition&& from) noexcept + : CMsgSetItemPositions_ItemPosition() { + *this = ::std::move(from); + } + + inline CMsgSetItemPositions_ItemPosition& operator=(const CMsgSetItemPositions_ItemPosition& from) { + CopyFrom(from); + return *this; + } + inline CMsgSetItemPositions_ItemPosition& operator=(CMsgSetItemPositions_ItemPosition&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSetItemPositions_ItemPosition& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSetItemPositions_ItemPosition* internal_default_instance() { + return reinterpret_cast( + &_CMsgSetItemPositions_ItemPosition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CMsgSetItemPositions_ItemPosition& a, CMsgSetItemPositions_ItemPosition& b) { + a.Swap(&b); + } + inline void Swap(CMsgSetItemPositions_ItemPosition* 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(CMsgSetItemPositions_ItemPosition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSetItemPositions_ItemPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSetItemPositions_ItemPosition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSetItemPositions_ItemPosition& from) { + CMsgSetItemPositions_ItemPosition::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(CMsgSetItemPositions_ItemPosition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSetItemPositions.ItemPosition"; + } + protected: + explicit CMsgSetItemPositions_ItemPosition(::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 { + kLegacyItemIdFieldNumber = 1, + kPositionFieldNumber = 2, + kItemIdFieldNumber = 3, + }; + // optional uint32 legacy_item_id = 1; + bool has_legacy_item_id() const; + private: + bool _internal_has_legacy_item_id() const; + public: + void clear_legacy_item_id(); + uint32_t legacy_item_id() const; + void set_legacy_item_id(uint32_t value); + private: + uint32_t _internal_legacy_item_id() const; + void _internal_set_legacy_item_id(uint32_t value); + public: + + // optional uint32 position = 2; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + uint32_t position() const; + void set_position(uint32_t value); + private: + uint32_t _internal_position() const; + void _internal_set_position(uint32_t value); + public: + + // optional uint64 item_id = 3; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSetItemPositions.ItemPosition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t legacy_item_id_; + uint32_t position_; + uint64_t item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSetItemPositions final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSetItemPositions) */ { + public: + inline CMsgSetItemPositions() : CMsgSetItemPositions(nullptr) {} + ~CMsgSetItemPositions() override; + explicit PROTOBUF_CONSTEXPR CMsgSetItemPositions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSetItemPositions(const CMsgSetItemPositions& from); + CMsgSetItemPositions(CMsgSetItemPositions&& from) noexcept + : CMsgSetItemPositions() { + *this = ::std::move(from); + } + + inline CMsgSetItemPositions& operator=(const CMsgSetItemPositions& from) { + CopyFrom(from); + return *this; + } + inline CMsgSetItemPositions& operator=(CMsgSetItemPositions&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSetItemPositions& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSetItemPositions* internal_default_instance() { + return reinterpret_cast( + &_CMsgSetItemPositions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CMsgSetItemPositions& a, CMsgSetItemPositions& b) { + a.Swap(&b); + } + inline void Swap(CMsgSetItemPositions* 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(CMsgSetItemPositions* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSetItemPositions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSetItemPositions& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSetItemPositions& from) { + CMsgSetItemPositions::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(CMsgSetItemPositions* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSetItemPositions"; + } + protected: + explicit CMsgSetItemPositions(::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 ---------------------------------------------------- + + typedef CMsgSetItemPositions_ItemPosition ItemPosition; + + // accessors ------------------------------------------------------- + + enum : int { + kItemPositionsFieldNumber = 1, + }; + // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; + int item_positions_size() const; + private: + int _internal_item_positions_size() const; + public: + void clear_item_positions(); + ::CMsgSetItemPositions_ItemPosition* mutable_item_positions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >* + mutable_item_positions(); + private: + const ::CMsgSetItemPositions_ItemPosition& _internal_item_positions(int index) const; + ::CMsgSetItemPositions_ItemPosition* _internal_add_item_positions(); + public: + const ::CMsgSetItemPositions_ItemPosition& item_positions(int index) const; + ::CMsgSetItemPositions_ItemPosition* add_item_positions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >& + item_positions() const; + + // @@protoc_insertion_point(class_scope:CMsgSetItemPositions) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition > item_positions_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCReportAbuse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCReportAbuse) */ { + public: + inline CMsgGCReportAbuse() : CMsgGCReportAbuse(nullptr) {} + ~CMsgGCReportAbuse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCReportAbuse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCReportAbuse(const CMsgGCReportAbuse& from); + CMsgGCReportAbuse(CMsgGCReportAbuse&& from) noexcept + : CMsgGCReportAbuse() { + *this = ::std::move(from); + } + + inline CMsgGCReportAbuse& operator=(const CMsgGCReportAbuse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCReportAbuse& operator=(CMsgGCReportAbuse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCReportAbuse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCReportAbuse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCReportAbuse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CMsgGCReportAbuse& a, CMsgGCReportAbuse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCReportAbuse* 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(CMsgGCReportAbuse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCReportAbuse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCReportAbuse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCReportAbuse& from) { + CMsgGCReportAbuse::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(CMsgGCReportAbuse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCReportAbuse"; + } + protected: + explicit CMsgGCReportAbuse(::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 { + kDescriptionFieldNumber = 4, + kTargetSteamIdFieldNumber = 1, + kAbuseTypeFieldNumber = 2, + kContentTypeFieldNumber = 3, + kGidFieldNumber = 5, + kTargetGameServerIpFieldNumber = 6, + kTargetGameServerPortFieldNumber = 7, + }; + // optional string description = 4; + bool has_description() const; + private: + bool _internal_has_description() const; + public: + void clear_description(); + const std::string& description() const; + template + void set_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_description(); + PROTOBUF_NODISCARD std::string* release_description(); + void set_allocated_description(std::string* description); + private: + const std::string& _internal_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); + std::string* _internal_mutable_description(); + public: + + // optional fixed64 target_steam_id = 1; + bool has_target_steam_id() const; + private: + bool _internal_has_target_steam_id() const; + public: + void clear_target_steam_id(); + uint64_t target_steam_id() const; + void set_target_steam_id(uint64_t value); + private: + uint64_t _internal_target_steam_id() const; + void _internal_set_target_steam_id(uint64_t value); + public: + + // optional uint32 abuse_type = 2; + bool has_abuse_type() const; + private: + bool _internal_has_abuse_type() const; + public: + void clear_abuse_type(); + uint32_t abuse_type() const; + void set_abuse_type(uint32_t value); + private: + uint32_t _internal_abuse_type() const; + void _internal_set_abuse_type(uint32_t value); + public: + + // optional uint32 content_type = 3; + bool has_content_type() const; + private: + bool _internal_has_content_type() const; + public: + void clear_content_type(); + uint32_t content_type() const; + void set_content_type(uint32_t value); + private: + uint32_t _internal_content_type() const; + void _internal_set_content_type(uint32_t value); + public: + + // optional uint64 gid = 5; + bool has_gid() const; + private: + bool _internal_has_gid() const; + public: + void clear_gid(); + uint64_t gid() const; + void set_gid(uint64_t value); + private: + uint64_t _internal_gid() const; + void _internal_set_gid(uint64_t value); + public: + + // optional fixed32 target_game_server_ip = 6; + bool has_target_game_server_ip() const; + private: + bool _internal_has_target_game_server_ip() const; + public: + void clear_target_game_server_ip(); + uint32_t target_game_server_ip() const; + void set_target_game_server_ip(uint32_t value); + private: + uint32_t _internal_target_game_server_ip() const; + void _internal_set_target_game_server_ip(uint32_t value); + public: + + // optional uint32 target_game_server_port = 7; + bool has_target_game_server_port() const; + private: + bool _internal_has_target_game_server_port() const; + public: + void clear_target_game_server_port(); + uint32_t target_game_server_port() const; + void set_target_game_server_port(uint32_t value); + private: + uint32_t _internal_target_game_server_port() const; + void _internal_set_target_game_server_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCReportAbuse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; + uint64_t target_steam_id_; + uint32_t abuse_type_; + uint32_t content_type_; + uint64_t gid_; + uint32_t target_game_server_ip_; + uint32_t target_game_server_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCReportAbuseResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCReportAbuseResponse) */ { + public: + inline CMsgGCReportAbuseResponse() : CMsgGCReportAbuseResponse(nullptr) {} + ~CMsgGCReportAbuseResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCReportAbuseResponse(const CMsgGCReportAbuseResponse& from); + CMsgGCReportAbuseResponse(CMsgGCReportAbuseResponse&& from) noexcept + : CMsgGCReportAbuseResponse() { + *this = ::std::move(from); + } + + inline CMsgGCReportAbuseResponse& operator=(const CMsgGCReportAbuseResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCReportAbuseResponse& operator=(CMsgGCReportAbuseResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCReportAbuseResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCReportAbuseResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCReportAbuseResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CMsgGCReportAbuseResponse& a, CMsgGCReportAbuseResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCReportAbuseResponse* 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(CMsgGCReportAbuseResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCReportAbuseResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCReportAbuseResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCReportAbuseResponse& from) { + CMsgGCReportAbuseResponse::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(CMsgGCReportAbuseResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCReportAbuseResponse"; + } + protected: + explicit CMsgGCReportAbuseResponse(::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 { + kErrorMessageFieldNumber = 3, + kTargetSteamIdFieldNumber = 1, + kResultFieldNumber = 2, + }; + // optional string error_message = 3; + bool has_error_message() const; + private: + bool _internal_has_error_message() const; + public: + void clear_error_message(); + const std::string& error_message() const; + template + void set_error_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_error_message(); + PROTOBUF_NODISCARD std::string* release_error_message(); + void set_allocated_error_message(std::string* error_message); + private: + const std::string& _internal_error_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value); + std::string* _internal_mutable_error_message(); + public: + + // optional fixed64 target_steam_id = 1; + bool has_target_steam_id() const; + private: + bool _internal_has_target_steam_id() const; + public: + void clear_target_steam_id(); + uint64_t target_steam_id() const; + void set_target_steam_id(uint64_t value); + private: + uint64_t _internal_target_steam_id() const; + void _internal_set_target_steam_id(uint64_t value); + public: + + // optional uint32 result = 2; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + uint32_t result() const; + void set_result(uint32_t value); + private: + uint32_t _internal_result() const; + void _internal_set_result(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCReportAbuseResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_; + uint64_t target_steam_id_; + uint32_t result_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCNameItemNotification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCNameItemNotification) */ { + public: + inline CMsgGCNameItemNotification() : CMsgGCNameItemNotification(nullptr) {} + ~CMsgGCNameItemNotification() override; + explicit PROTOBUF_CONSTEXPR CMsgGCNameItemNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCNameItemNotification(const CMsgGCNameItemNotification& from); + CMsgGCNameItemNotification(CMsgGCNameItemNotification&& from) noexcept + : CMsgGCNameItemNotification() { + *this = ::std::move(from); + } + + inline CMsgGCNameItemNotification& operator=(const CMsgGCNameItemNotification& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCNameItemNotification& operator=(CMsgGCNameItemNotification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCNameItemNotification& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCNameItemNotification* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCNameItemNotification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CMsgGCNameItemNotification& a, CMsgGCNameItemNotification& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCNameItemNotification* 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(CMsgGCNameItemNotification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCNameItemNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCNameItemNotification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCNameItemNotification& from) { + CMsgGCNameItemNotification::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(CMsgGCNameItemNotification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCNameItemNotification"; + } + protected: + explicit CMsgGCNameItemNotification(::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 { + kItemNameCustomFieldNumber = 3, + kPlayerSteamidFieldNumber = 1, + kItemDefIndexFieldNumber = 2, + }; + // optional string item_name_custom = 3; + bool has_item_name_custom() const; + private: + bool _internal_has_item_name_custom() const; + public: + void clear_item_name_custom(); + const std::string& item_name_custom() const; + template + void set_item_name_custom(ArgT0&& arg0, ArgT... args); + std::string* mutable_item_name_custom(); + PROTOBUF_NODISCARD std::string* release_item_name_custom(); + void set_allocated_item_name_custom(std::string* item_name_custom); + private: + const std::string& _internal_item_name_custom() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item_name_custom(const std::string& value); + std::string* _internal_mutable_item_name_custom(); + public: + + // optional fixed64 player_steamid = 1; + bool has_player_steamid() const; + private: + bool _internal_has_player_steamid() const; + public: + void clear_player_steamid(); + uint64_t player_steamid() const; + void set_player_steamid(uint64_t value); + private: + uint64_t _internal_player_steamid() const; + void _internal_set_player_steamid(uint64_t value); + public: + + // optional uint32 item_def_index = 2; + bool has_item_def_index() const; + private: + bool _internal_has_item_def_index() const; + public: + void clear_item_def_index(); + uint32_t item_def_index() const; + void set_item_def_index(uint32_t value); + private: + uint32_t _internal_item_def_index() const; + void _internal_set_item_def_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCNameItemNotification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_name_custom_; + uint64_t player_steamid_; + uint32_t item_def_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCClientDisplayNotification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCClientDisplayNotification) */ { + public: + inline CMsgGCClientDisplayNotification() : CMsgGCClientDisplayNotification(nullptr) {} + ~CMsgGCClientDisplayNotification() override; + explicit PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCClientDisplayNotification(const CMsgGCClientDisplayNotification& from); + CMsgGCClientDisplayNotification(CMsgGCClientDisplayNotification&& from) noexcept + : CMsgGCClientDisplayNotification() { + *this = ::std::move(from); + } + + inline CMsgGCClientDisplayNotification& operator=(const CMsgGCClientDisplayNotification& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCClientDisplayNotification& operator=(CMsgGCClientDisplayNotification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCClientDisplayNotification& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCClientDisplayNotification* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCClientDisplayNotification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CMsgGCClientDisplayNotification& a, CMsgGCClientDisplayNotification& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCClientDisplayNotification* 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(CMsgGCClientDisplayNotification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCClientDisplayNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCClientDisplayNotification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCClientDisplayNotification& from) { + CMsgGCClientDisplayNotification::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(CMsgGCClientDisplayNotification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCClientDisplayNotification"; + } + protected: + explicit CMsgGCClientDisplayNotification(::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 { + kBodySubstringKeysFieldNumber = 3, + kBodySubstringValuesFieldNumber = 4, + kNotificationTitleLocalizationKeyFieldNumber = 1, + kNotificationBodyLocalizationKeyFieldNumber = 2, + }; + // repeated string body_substring_keys = 3; + int body_substring_keys_size() const; + private: + int _internal_body_substring_keys_size() const; + public: + void clear_body_substring_keys(); + const std::string& body_substring_keys(int index) const; + std::string* mutable_body_substring_keys(int index); + void set_body_substring_keys(int index, const std::string& value); + void set_body_substring_keys(int index, std::string&& value); + void set_body_substring_keys(int index, const char* value); + void set_body_substring_keys(int index, const char* value, size_t size); + std::string* add_body_substring_keys(); + void add_body_substring_keys(const std::string& value); + void add_body_substring_keys(std::string&& value); + void add_body_substring_keys(const char* value); + void add_body_substring_keys(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& body_substring_keys() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_body_substring_keys(); + private: + const std::string& _internal_body_substring_keys(int index) const; + std::string* _internal_add_body_substring_keys(); + public: + + // repeated string body_substring_values = 4; + int body_substring_values_size() const; + private: + int _internal_body_substring_values_size() const; + public: + void clear_body_substring_values(); + const std::string& body_substring_values(int index) const; + std::string* mutable_body_substring_values(int index); + void set_body_substring_values(int index, const std::string& value); + void set_body_substring_values(int index, std::string&& value); + void set_body_substring_values(int index, const char* value); + void set_body_substring_values(int index, const char* value, size_t size); + std::string* add_body_substring_values(); + void add_body_substring_values(const std::string& value); + void add_body_substring_values(std::string&& value); + void add_body_substring_values(const char* value); + void add_body_substring_values(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& body_substring_values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_body_substring_values(); + private: + const std::string& _internal_body_substring_values(int index) const; + std::string* _internal_add_body_substring_values(); + public: + + // optional string notification_title_localization_key = 1; + bool has_notification_title_localization_key() const; + private: + bool _internal_has_notification_title_localization_key() const; + public: + void clear_notification_title_localization_key(); + const std::string& notification_title_localization_key() const; + template + void set_notification_title_localization_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_notification_title_localization_key(); + PROTOBUF_NODISCARD std::string* release_notification_title_localization_key(); + void set_allocated_notification_title_localization_key(std::string* notification_title_localization_key); + private: + const std::string& _internal_notification_title_localization_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_notification_title_localization_key(const std::string& value); + std::string* _internal_mutable_notification_title_localization_key(); + public: + + // optional string notification_body_localization_key = 2; + bool has_notification_body_localization_key() const; + private: + bool _internal_has_notification_body_localization_key() const; + public: + void clear_notification_body_localization_key(); + const std::string& notification_body_localization_key() const; + template + void set_notification_body_localization_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_notification_body_localization_key(); + PROTOBUF_NODISCARD std::string* release_notification_body_localization_key(); + void set_allocated_notification_body_localization_key(std::string* notification_body_localization_key); + private: + const std::string& _internal_notification_body_localization_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_notification_body_localization_key(const std::string& value); + std::string* _internal_mutable_notification_body_localization_key(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCClientDisplayNotification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField body_substring_keys_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField body_substring_values_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_title_localization_key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_body_localization_key_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCShowItemsPickedUp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCShowItemsPickedUp) */ { + public: + inline CMsgGCShowItemsPickedUp() : CMsgGCShowItemsPickedUp(nullptr) {} + ~CMsgGCShowItemsPickedUp() override; + explicit PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCShowItemsPickedUp(const CMsgGCShowItemsPickedUp& from); + CMsgGCShowItemsPickedUp(CMsgGCShowItemsPickedUp&& from) noexcept + : CMsgGCShowItemsPickedUp() { + *this = ::std::move(from); + } + + inline CMsgGCShowItemsPickedUp& operator=(const CMsgGCShowItemsPickedUp& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCShowItemsPickedUp& operator=(CMsgGCShowItemsPickedUp&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCShowItemsPickedUp& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCShowItemsPickedUp* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCShowItemsPickedUp_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CMsgGCShowItemsPickedUp& a, CMsgGCShowItemsPickedUp& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCShowItemsPickedUp* 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(CMsgGCShowItemsPickedUp* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCShowItemsPickedUp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCShowItemsPickedUp& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCShowItemsPickedUp& from) { + CMsgGCShowItemsPickedUp::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(CMsgGCShowItemsPickedUp* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCShowItemsPickedUp"; + } + protected: + explicit CMsgGCShowItemsPickedUp(::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 { + kPlayerSteamidFieldNumber = 1, + }; + // optional fixed64 player_steamid = 1; + bool has_player_steamid() const; + private: + bool _internal_has_player_steamid() const; + public: + void clear_player_steamid(); + uint64_t player_steamid() const; + void set_player_steamid(uint64_t value); + private: + uint64_t _internal_player_steamid() const; + void _internal_set_player_steamid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCShowItemsPickedUp) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t player_steamid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCIncrementKillCountResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCIncrementKillCountResponse) */ { + public: + inline CMsgGCIncrementKillCountResponse() : CMsgGCIncrementKillCountResponse(nullptr) {} + ~CMsgGCIncrementKillCountResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCIncrementKillCountResponse(const CMsgGCIncrementKillCountResponse& from); + CMsgGCIncrementKillCountResponse(CMsgGCIncrementKillCountResponse&& from) noexcept + : CMsgGCIncrementKillCountResponse() { + *this = ::std::move(from); + } + + inline CMsgGCIncrementKillCountResponse& operator=(const CMsgGCIncrementKillCountResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCIncrementKillCountResponse& operator=(CMsgGCIncrementKillCountResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCIncrementKillCountResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCIncrementKillCountResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCIncrementKillCountResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CMsgGCIncrementKillCountResponse& a, CMsgGCIncrementKillCountResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCIncrementKillCountResponse* 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(CMsgGCIncrementKillCountResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCIncrementKillCountResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCIncrementKillCountResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCIncrementKillCountResponse& from) { + CMsgGCIncrementKillCountResponse::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(CMsgGCIncrementKillCountResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCIncrementKillCountResponse"; + } + protected: + explicit CMsgGCIncrementKillCountResponse(::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 { + kKillerAccountIdFieldNumber = 1, + kNumKillsFieldNumber = 2, + kItemDefFieldNumber = 3, + kLevelTypeFieldNumber = 4, + }; + // optional uint32 killer_account_id = 1 [(.key_field) = true]; + bool has_killer_account_id() const; + private: + bool _internal_has_killer_account_id() const; + public: + void clear_killer_account_id(); + uint32_t killer_account_id() const; + void set_killer_account_id(uint32_t value); + private: + uint32_t _internal_killer_account_id() const; + void _internal_set_killer_account_id(uint32_t value); + public: + + // optional uint32 num_kills = 2; + bool has_num_kills() const; + private: + bool _internal_has_num_kills() const; + public: + void clear_num_kills(); + uint32_t num_kills() const; + void set_num_kills(uint32_t value); + private: + uint32_t _internal_num_kills() const; + void _internal_set_num_kills(uint32_t value); + public: + + // optional uint32 item_def = 3; + bool has_item_def() const; + private: + bool _internal_has_item_def() const; + public: + void clear_item_def(); + uint32_t item_def() const; + void set_item_def(uint32_t value); + private: + uint32_t _internal_item_def() const; + void _internal_set_item_def(uint32_t value); + public: + + // optional uint32 level_type = 4; + bool has_level_type() const; + private: + bool _internal_has_level_type() const; + public: + void clear_level_type(); + uint32_t level_type() const; + void set_level_type(uint32_t value); + private: + uint32_t _internal_level_type() const; + void _internal_set_level_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCIncrementKillCountResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t killer_account_id_; + uint32_t num_kills_; + uint32_t item_def_; + uint32_t level_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItemDropRateBonus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemDropRateBonus) */ { + public: + inline CSOEconItemDropRateBonus() : CSOEconItemDropRateBonus(nullptr) {} + ~CSOEconItemDropRateBonus() override; + explicit PROTOBUF_CONSTEXPR CSOEconItemDropRateBonus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItemDropRateBonus(const CSOEconItemDropRateBonus& from); + CSOEconItemDropRateBonus(CSOEconItemDropRateBonus&& from) noexcept + : CSOEconItemDropRateBonus() { + *this = ::std::move(from); + } + + inline CSOEconItemDropRateBonus& operator=(const CSOEconItemDropRateBonus& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItemDropRateBonus& operator=(CSOEconItemDropRateBonus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItemDropRateBonus& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItemDropRateBonus* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItemDropRateBonus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CSOEconItemDropRateBonus& a, CSOEconItemDropRateBonus& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItemDropRateBonus* 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(CSOEconItemDropRateBonus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItemDropRateBonus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItemDropRateBonus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItemDropRateBonus& from) { + CSOEconItemDropRateBonus::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(CSOEconItemDropRateBonus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItemDropRateBonus"; + } + protected: + explicit CSOEconItemDropRateBonus(::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 { + kAccountIdFieldNumber = 1, + kExpirationDateFieldNumber = 2, + kBonusFieldNumber = 3, + kBonusCountFieldNumber = 4, + kItemIdFieldNumber = 5, + kDefIndexFieldNumber = 6, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional fixed32 expiration_date = 2; + bool has_expiration_date() const; + private: + bool _internal_has_expiration_date() const; + public: + void clear_expiration_date(); + uint32_t expiration_date() const; + void set_expiration_date(uint32_t value); + private: + uint32_t _internal_expiration_date() const; + void _internal_set_expiration_date(uint32_t value); + public: + + // optional float bonus = 3; + bool has_bonus() const; + private: + bool _internal_has_bonus() const; + public: + void clear_bonus(); + float bonus() const; + void set_bonus(float value); + private: + float _internal_bonus() const; + void _internal_set_bonus(float value); + public: + + // optional uint32 bonus_count = 4; + bool has_bonus_count() const; + private: + bool _internal_has_bonus_count() const; + public: + void clear_bonus_count(); + uint32_t bonus_count() const; + void set_bonus_count(uint32_t value); + private: + uint32_t _internal_bonus_count() const; + void _internal_set_bonus_count(uint32_t value); + public: + + // optional uint64 item_id = 5; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional uint32 def_index = 6; + bool has_def_index() const; + private: + bool _internal_has_def_index() const; + public: + void clear_def_index(); + uint32_t def_index() const; + void set_def_index(uint32_t value); + private: + uint32_t _internal_def_index() const; + void _internal_set_def_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItemDropRateBonus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t expiration_date_; + float bonus_; + uint32_t bonus_count_; + uint64_t item_id_; + uint32_t def_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItemLeagueViewPass final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemLeagueViewPass) */ { + public: + inline CSOEconItemLeagueViewPass() : CSOEconItemLeagueViewPass(nullptr) {} + ~CSOEconItemLeagueViewPass() override; + explicit PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPass(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItemLeagueViewPass(const CSOEconItemLeagueViewPass& from); + CSOEconItemLeagueViewPass(CSOEconItemLeagueViewPass&& from) noexcept + : CSOEconItemLeagueViewPass() { + *this = ::std::move(from); + } + + inline CSOEconItemLeagueViewPass& operator=(const CSOEconItemLeagueViewPass& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItemLeagueViewPass& operator=(CSOEconItemLeagueViewPass&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItemLeagueViewPass& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItemLeagueViewPass* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItemLeagueViewPass_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CSOEconItemLeagueViewPass& a, CSOEconItemLeagueViewPass& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItemLeagueViewPass* 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(CSOEconItemLeagueViewPass* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItemLeagueViewPass* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItemLeagueViewPass& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItemLeagueViewPass& from) { + CSOEconItemLeagueViewPass::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(CSOEconItemLeagueViewPass* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItemLeagueViewPass"; + } + protected: + explicit CSOEconItemLeagueViewPass(::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 { + kAccountIdFieldNumber = 1, + kLeagueIdFieldNumber = 2, + kAdminFieldNumber = 3, + kItemindexFieldNumber = 4, + }; + // optional uint32 account_id = 1 [(.key_field) = true]; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 league_id = 2 [(.key_field) = true]; + bool has_league_id() const; + private: + bool _internal_has_league_id() const; + public: + void clear_league_id(); + uint32_t league_id() const; + void set_league_id(uint32_t value); + private: + uint32_t _internal_league_id() const; + void _internal_set_league_id(uint32_t value); + public: + + // optional uint32 admin = 3; + bool has_admin() const; + private: + bool _internal_has_admin() const; + public: + void clear_admin(); + uint32_t admin() const; + void set_admin(uint32_t value); + private: + uint32_t _internal_admin() const; + void _internal_set_admin(uint32_t value); + public: + + // optional uint32 itemindex = 4; + bool has_itemindex() const; + private: + bool _internal_has_itemindex() const; + public: + void clear_itemindex(); + uint32_t itemindex() const; + void set_itemindex(uint32_t value); + private: + uint32_t _internal_itemindex() const; + void _internal_set_itemindex(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItemLeagueViewPass) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t league_id_; + uint32_t admin_; + uint32_t itemindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconItemEventTicket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemEventTicket) */ { + public: + inline CSOEconItemEventTicket() : CSOEconItemEventTicket(nullptr) {} + ~CSOEconItemEventTicket() override; + explicit PROTOBUF_CONSTEXPR CSOEconItemEventTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconItemEventTicket(const CSOEconItemEventTicket& from); + CSOEconItemEventTicket(CSOEconItemEventTicket&& from) noexcept + : CSOEconItemEventTicket() { + *this = ::std::move(from); + } + + inline CSOEconItemEventTicket& operator=(const CSOEconItemEventTicket& from) { + CopyFrom(from); + return *this; + } + inline CSOEconItemEventTicket& operator=(CSOEconItemEventTicket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconItemEventTicket& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconItemEventTicket* internal_default_instance() { + return reinterpret_cast( + &_CSOEconItemEventTicket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CSOEconItemEventTicket& a, CSOEconItemEventTicket& b) { + a.Swap(&b); + } + inline void Swap(CSOEconItemEventTicket* 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(CSOEconItemEventTicket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconItemEventTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconItemEventTicket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconItemEventTicket& from) { + CSOEconItemEventTicket::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(CSOEconItemEventTicket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconItemEventTicket"; + } + protected: + explicit CSOEconItemEventTicket(::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 { + kAccountIdFieldNumber = 1, + kEventIdFieldNumber = 2, + kItemIdFieldNumber = 3, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 event_id = 2; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + uint32_t event_id() const; + void set_event_id(uint32_t value); + private: + uint32_t _internal_event_id() const; + void _internal_set_event_id(uint32_t value); + public: + + // optional uint64 item_id = 3; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconItemEventTicket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t event_id_; + uint64_t item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCItemPreviewItemBoughtNotification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCItemPreviewItemBoughtNotification) */ { + public: + inline CMsgGCItemPreviewItemBoughtNotification() : CMsgGCItemPreviewItemBoughtNotification(nullptr) {} + ~CMsgGCItemPreviewItemBoughtNotification() override; + explicit PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCItemPreviewItemBoughtNotification(const CMsgGCItemPreviewItemBoughtNotification& from); + CMsgGCItemPreviewItemBoughtNotification(CMsgGCItemPreviewItemBoughtNotification&& from) noexcept + : CMsgGCItemPreviewItemBoughtNotification() { + *this = ::std::move(from); + } + + inline CMsgGCItemPreviewItemBoughtNotification& operator=(const CMsgGCItemPreviewItemBoughtNotification& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCItemPreviewItemBoughtNotification& operator=(CMsgGCItemPreviewItemBoughtNotification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCItemPreviewItemBoughtNotification& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCItemPreviewItemBoughtNotification* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCItemPreviewItemBoughtNotification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CMsgGCItemPreviewItemBoughtNotification& a, CMsgGCItemPreviewItemBoughtNotification& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCItemPreviewItemBoughtNotification* 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(CMsgGCItemPreviewItemBoughtNotification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCItemPreviewItemBoughtNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCItemPreviewItemBoughtNotification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCItemPreviewItemBoughtNotification& from) { + CMsgGCItemPreviewItemBoughtNotification::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(CMsgGCItemPreviewItemBoughtNotification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCItemPreviewItemBoughtNotification"; + } + protected: + explicit CMsgGCItemPreviewItemBoughtNotification(::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 { + kItemDefIndexFieldNumber = 1, + }; + // optional uint32 item_def_index = 1; + bool has_item_def_index() const; + private: + bool _internal_has_item_def_index() const; + public: + void clear_item_def_index(); + uint32_t item_def_index() const; + void set_item_def_index(uint32_t value); + private: + uint32_t _internal_item_def_index() const; + void _internal_set_item_def_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCItemPreviewItemBoughtNotification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t item_def_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseCancel final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseCancel) */ { + public: + inline CMsgGCStorePurchaseCancel() : CMsgGCStorePurchaseCancel(nullptr) {} + ~CMsgGCStorePurchaseCancel() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseCancel(const CMsgGCStorePurchaseCancel& from); + CMsgGCStorePurchaseCancel(CMsgGCStorePurchaseCancel&& from) noexcept + : CMsgGCStorePurchaseCancel() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseCancel& operator=(const CMsgGCStorePurchaseCancel& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseCancel& operator=(CMsgGCStorePurchaseCancel&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseCancel& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseCancel* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseCancel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CMsgGCStorePurchaseCancel& a, CMsgGCStorePurchaseCancel& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseCancel* 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(CMsgGCStorePurchaseCancel* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseCancel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseCancel& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseCancel& from) { + CMsgGCStorePurchaseCancel::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(CMsgGCStorePurchaseCancel* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseCancel"; + } + protected: + explicit CMsgGCStorePurchaseCancel(::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 { + kTxnIdFieldNumber = 1, + }; + // optional uint64 txn_id = 1; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + uint64_t txn_id() const; + void set_txn_id(uint64_t value); + private: + uint64_t _internal_txn_id() const; + void _internal_set_txn_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseCancel) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t txn_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseCancelResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseCancelResponse) */ { + public: + inline CMsgGCStorePurchaseCancelResponse() : CMsgGCStorePurchaseCancelResponse(nullptr) {} + ~CMsgGCStorePurchaseCancelResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseCancelResponse(const CMsgGCStorePurchaseCancelResponse& from); + CMsgGCStorePurchaseCancelResponse(CMsgGCStorePurchaseCancelResponse&& from) noexcept + : CMsgGCStorePurchaseCancelResponse() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseCancelResponse& operator=(const CMsgGCStorePurchaseCancelResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseCancelResponse& operator=(CMsgGCStorePurchaseCancelResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseCancelResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseCancelResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseCancelResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CMsgGCStorePurchaseCancelResponse& a, CMsgGCStorePurchaseCancelResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseCancelResponse* 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(CMsgGCStorePurchaseCancelResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseCancelResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseCancelResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseCancelResponse& from) { + CMsgGCStorePurchaseCancelResponse::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(CMsgGCStorePurchaseCancelResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseCancelResponse"; + } + protected: + explicit CMsgGCStorePurchaseCancelResponse(::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 = 1, + }; + // optional uint32 result = 1; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + uint32_t result() const; + void set_result(uint32_t value); + private: + uint32_t _internal_result() const; + void _internal_set_result(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseCancelResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t result_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseFinalize final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseFinalize) */ { + public: + inline CMsgGCStorePurchaseFinalize() : CMsgGCStorePurchaseFinalize(nullptr) {} + ~CMsgGCStorePurchaseFinalize() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalize(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseFinalize(const CMsgGCStorePurchaseFinalize& from); + CMsgGCStorePurchaseFinalize(CMsgGCStorePurchaseFinalize&& from) noexcept + : CMsgGCStorePurchaseFinalize() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseFinalize& operator=(const CMsgGCStorePurchaseFinalize& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseFinalize& operator=(CMsgGCStorePurchaseFinalize&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseFinalize& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseFinalize* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseFinalize_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CMsgGCStorePurchaseFinalize& a, CMsgGCStorePurchaseFinalize& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseFinalize* 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(CMsgGCStorePurchaseFinalize* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseFinalize* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseFinalize& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseFinalize& from) { + CMsgGCStorePurchaseFinalize::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(CMsgGCStorePurchaseFinalize* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseFinalize"; + } + protected: + explicit CMsgGCStorePurchaseFinalize(::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 { + kTxnIdFieldNumber = 1, + }; + // optional uint64 txn_id = 1; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + uint64_t txn_id() const; + void set_txn_id(uint64_t value); + private: + uint64_t _internal_txn_id() const; + void _internal_set_txn_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseFinalize) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t txn_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCStorePurchaseFinalizeResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseFinalizeResponse) */ { + public: + inline CMsgGCStorePurchaseFinalizeResponse() : CMsgGCStorePurchaseFinalizeResponse(nullptr) {} + ~CMsgGCStorePurchaseFinalizeResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCStorePurchaseFinalizeResponse(const CMsgGCStorePurchaseFinalizeResponse& from); + CMsgGCStorePurchaseFinalizeResponse(CMsgGCStorePurchaseFinalizeResponse&& from) noexcept + : CMsgGCStorePurchaseFinalizeResponse() { + *this = ::std::move(from); + } + + inline CMsgGCStorePurchaseFinalizeResponse& operator=(const CMsgGCStorePurchaseFinalizeResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCStorePurchaseFinalizeResponse& operator=(CMsgGCStorePurchaseFinalizeResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCStorePurchaseFinalizeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCStorePurchaseFinalizeResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCStorePurchaseFinalizeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CMsgGCStorePurchaseFinalizeResponse& a, CMsgGCStorePurchaseFinalizeResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCStorePurchaseFinalizeResponse* 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(CMsgGCStorePurchaseFinalizeResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCStorePurchaseFinalizeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCStorePurchaseFinalizeResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCStorePurchaseFinalizeResponse& from) { + CMsgGCStorePurchaseFinalizeResponse::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(CMsgGCStorePurchaseFinalizeResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCStorePurchaseFinalizeResponse"; + } + protected: + explicit CMsgGCStorePurchaseFinalizeResponse(::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 { + kItemIdsFieldNumber = 2, + kResultFieldNumber = 1, + }; + // repeated uint64 item_ids = 2; + int item_ids_size() const; + private: + int _internal_item_ids_size() const; + public: + void clear_item_ids(); + private: + uint64_t _internal_item_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_item_ids() const; + void _internal_add_item_ids(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_item_ids(); + public: + uint64_t item_ids(int index) const; + void set_item_ids(int index, uint64_t value); + void add_item_ids(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + item_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_item_ids(); + + // optional uint32 result = 1; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + uint32_t result() const; + void set_result(uint32_t value); + private: + uint32_t _internal_result() const; + void _internal_set_result(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseFinalizeResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_ids_; + uint32_t result_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCBannedWordListRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWordListRequest) */ { + public: + inline CMsgGCBannedWordListRequest() : CMsgGCBannedWordListRequest(nullptr) {} + ~CMsgGCBannedWordListRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCBannedWordListRequest(const CMsgGCBannedWordListRequest& from); + CMsgGCBannedWordListRequest(CMsgGCBannedWordListRequest&& from) noexcept + : CMsgGCBannedWordListRequest() { + *this = ::std::move(from); + } + + inline CMsgGCBannedWordListRequest& operator=(const CMsgGCBannedWordListRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCBannedWordListRequest& operator=(CMsgGCBannedWordListRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCBannedWordListRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCBannedWordListRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCBannedWordListRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CMsgGCBannedWordListRequest& a, CMsgGCBannedWordListRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCBannedWordListRequest* 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(CMsgGCBannedWordListRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCBannedWordListRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCBannedWordListRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCBannedWordListRequest& from) { + CMsgGCBannedWordListRequest::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(CMsgGCBannedWordListRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCBannedWordListRequest"; + } + protected: + explicit CMsgGCBannedWordListRequest(::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 { + kBanListGroupIdFieldNumber = 1, + kWordIdFieldNumber = 2, + }; + // optional uint32 ban_list_group_id = 1; + bool has_ban_list_group_id() const; + private: + bool _internal_has_ban_list_group_id() const; + public: + void clear_ban_list_group_id(); + uint32_t ban_list_group_id() const; + void set_ban_list_group_id(uint32_t value); + private: + uint32_t _internal_ban_list_group_id() const; + void _internal_set_ban_list_group_id(uint32_t value); + public: + + // optional uint32 word_id = 2; + bool has_word_id() const; + private: + bool _internal_has_word_id() const; + public: + void clear_word_id(); + uint32_t word_id() const; + void set_word_id(uint32_t value); + private: + uint32_t _internal_word_id() const; + void _internal_set_word_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCBannedWordListRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t ban_list_group_id_; + uint32_t word_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCRequestAnnouncements final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCRequestAnnouncements) */ { + public: + inline CMsgGCRequestAnnouncements() : CMsgGCRequestAnnouncements(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCRequestAnnouncements(const CMsgGCRequestAnnouncements& from); + CMsgGCRequestAnnouncements(CMsgGCRequestAnnouncements&& from) noexcept + : CMsgGCRequestAnnouncements() { + *this = ::std::move(from); + } + + inline CMsgGCRequestAnnouncements& operator=(const CMsgGCRequestAnnouncements& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCRequestAnnouncements& operator=(CMsgGCRequestAnnouncements&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCRequestAnnouncements& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCRequestAnnouncements* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCRequestAnnouncements_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CMsgGCRequestAnnouncements& a, CMsgGCRequestAnnouncements& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCRequestAnnouncements* 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(CMsgGCRequestAnnouncements* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCRequestAnnouncements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCRequestAnnouncements& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCRequestAnnouncements& 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 "CMsgGCRequestAnnouncements"; + } + protected: + explicit CMsgGCRequestAnnouncements(::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:CMsgGCRequestAnnouncements) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCRequestAnnouncementsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestAnnouncementsResponse) */ { + public: + inline CMsgGCRequestAnnouncementsResponse() : CMsgGCRequestAnnouncementsResponse(nullptr) {} + ~CMsgGCRequestAnnouncementsResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCRequestAnnouncementsResponse(const CMsgGCRequestAnnouncementsResponse& from); + CMsgGCRequestAnnouncementsResponse(CMsgGCRequestAnnouncementsResponse&& from) noexcept + : CMsgGCRequestAnnouncementsResponse() { + *this = ::std::move(from); + } + + inline CMsgGCRequestAnnouncementsResponse& operator=(const CMsgGCRequestAnnouncementsResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCRequestAnnouncementsResponse& operator=(CMsgGCRequestAnnouncementsResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCRequestAnnouncementsResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCRequestAnnouncementsResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCRequestAnnouncementsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(CMsgGCRequestAnnouncementsResponse& a, CMsgGCRequestAnnouncementsResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCRequestAnnouncementsResponse* 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(CMsgGCRequestAnnouncementsResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCRequestAnnouncementsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCRequestAnnouncementsResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCRequestAnnouncementsResponse& from) { + CMsgGCRequestAnnouncementsResponse::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(CMsgGCRequestAnnouncementsResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCRequestAnnouncementsResponse"; + } + protected: + explicit CMsgGCRequestAnnouncementsResponse(::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 { + kAnnouncementTitleFieldNumber = 1, + kAnnouncementFieldNumber = 2, + kNextmatchTitleFieldNumber = 3, + kNextmatchFieldNumber = 4, + }; + // optional string announcement_title = 1; + bool has_announcement_title() const; + private: + bool _internal_has_announcement_title() const; + public: + void clear_announcement_title(); + const std::string& announcement_title() const; + template + void set_announcement_title(ArgT0&& arg0, ArgT... args); + std::string* mutable_announcement_title(); + PROTOBUF_NODISCARD std::string* release_announcement_title(); + void set_allocated_announcement_title(std::string* announcement_title); + private: + const std::string& _internal_announcement_title() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_title(const std::string& value); + std::string* _internal_mutable_announcement_title(); + public: + + // optional string announcement = 2; + bool has_announcement() const; + private: + bool _internal_has_announcement() const; + public: + void clear_announcement(); + const std::string& announcement() const; + template + void set_announcement(ArgT0&& arg0, ArgT... args); + std::string* mutable_announcement(); + PROTOBUF_NODISCARD std::string* release_announcement(); + void set_allocated_announcement(std::string* announcement); + private: + const std::string& _internal_announcement() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement(const std::string& value); + std::string* _internal_mutable_announcement(); + public: + + // optional string nextmatch_title = 3; + bool has_nextmatch_title() const; + private: + bool _internal_has_nextmatch_title() const; + public: + void clear_nextmatch_title(); + const std::string& nextmatch_title() const; + template + void set_nextmatch_title(ArgT0&& arg0, ArgT... args); + std::string* mutable_nextmatch_title(); + PROTOBUF_NODISCARD std::string* release_nextmatch_title(); + void set_allocated_nextmatch_title(std::string* nextmatch_title); + private: + const std::string& _internal_nextmatch_title() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nextmatch_title(const std::string& value); + std::string* _internal_mutable_nextmatch_title(); + public: + + // optional string nextmatch = 4; + bool has_nextmatch() const; + private: + bool _internal_has_nextmatch() const; + public: + void clear_nextmatch(); + const std::string& nextmatch() const; + template + void set_nextmatch(ArgT0&& arg0, ArgT... args); + std::string* mutable_nextmatch(); + PROTOBUF_NODISCARD std::string* release_nextmatch(); + void set_allocated_nextmatch(std::string* nextmatch); + private: + const std::string& _internal_nextmatch() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nextmatch(const std::string& value); + std::string* _internal_mutable_nextmatch(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCRequestAnnouncementsResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nextmatch_title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nextmatch_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCBannedWord final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWord) */ { + public: + inline CMsgGCBannedWord() : CMsgGCBannedWord(nullptr) {} + ~CMsgGCBannedWord() override; + explicit PROTOBUF_CONSTEXPR CMsgGCBannedWord(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCBannedWord(const CMsgGCBannedWord& from); + CMsgGCBannedWord(CMsgGCBannedWord&& from) noexcept + : CMsgGCBannedWord() { + *this = ::std::move(from); + } + + inline CMsgGCBannedWord& operator=(const CMsgGCBannedWord& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCBannedWord& operator=(CMsgGCBannedWord&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCBannedWord& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCBannedWord* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCBannedWord_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(CMsgGCBannedWord& a, CMsgGCBannedWord& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCBannedWord* 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(CMsgGCBannedWord* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCBannedWord* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCBannedWord& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCBannedWord& from) { + CMsgGCBannedWord::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(CMsgGCBannedWord* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCBannedWord"; + } + protected: + explicit CMsgGCBannedWord(::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 { + kWordFieldNumber = 3, + kWordIdFieldNumber = 1, + kWordTypeFieldNumber = 2, + }; + // optional string word = 3; + bool has_word() const; + private: + bool _internal_has_word() const; + public: + void clear_word(); + const std::string& word() const; + template + void set_word(ArgT0&& arg0, ArgT... args); + std::string* mutable_word(); + PROTOBUF_NODISCARD std::string* release_word(); + void set_allocated_word(std::string* word); + private: + const std::string& _internal_word() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_word(const std::string& value); + std::string* _internal_mutable_word(); + public: + + // optional uint32 word_id = 1; + bool has_word_id() const; + private: + bool _internal_has_word_id() const; + public: + void clear_word_id(); + uint32_t word_id() const; + void set_word_id(uint32_t value); + private: + uint32_t _internal_word_id() const; + void _internal_set_word_id(uint32_t value); + public: + + // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; + bool has_word_type() const; + private: + bool _internal_has_word_type() const; + public: + void clear_word_type(); + ::GC_BannedWordType word_type() const; + void set_word_type(::GC_BannedWordType value); + private: + ::GC_BannedWordType _internal_word_type() const; + void _internal_set_word_type(::GC_BannedWordType value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCBannedWord) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr word_; + uint32_t word_id_; + int word_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCBannedWordListResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWordListResponse) */ { + public: + inline CMsgGCBannedWordListResponse() : CMsgGCBannedWordListResponse(nullptr) {} + ~CMsgGCBannedWordListResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCBannedWordListResponse(const CMsgGCBannedWordListResponse& from); + CMsgGCBannedWordListResponse(CMsgGCBannedWordListResponse&& from) noexcept + : CMsgGCBannedWordListResponse() { + *this = ::std::move(from); + } + + inline CMsgGCBannedWordListResponse& operator=(const CMsgGCBannedWordListResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCBannedWordListResponse& operator=(CMsgGCBannedWordListResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCBannedWordListResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCBannedWordListResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCBannedWordListResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(CMsgGCBannedWordListResponse& a, CMsgGCBannedWordListResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCBannedWordListResponse* 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(CMsgGCBannedWordListResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCBannedWordListResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCBannedWordListResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCBannedWordListResponse& from) { + CMsgGCBannedWordListResponse::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(CMsgGCBannedWordListResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCBannedWordListResponse"; + } + protected: + explicit CMsgGCBannedWordListResponse(::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 { + kWordListFieldNumber = 2, + kBanListGroupIdFieldNumber = 1, + }; + // repeated .CMsgGCBannedWord word_list = 2; + int word_list_size() const; + private: + int _internal_word_list_size() const; + public: + void clear_word_list(); + ::CMsgGCBannedWord* mutable_word_list(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >* + mutable_word_list(); + private: + const ::CMsgGCBannedWord& _internal_word_list(int index) const; + ::CMsgGCBannedWord* _internal_add_word_list(); + public: + const ::CMsgGCBannedWord& word_list(int index) const; + ::CMsgGCBannedWord* add_word_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >& + word_list() const; + + // optional uint32 ban_list_group_id = 1; + bool has_ban_list_group_id() const; + private: + bool _internal_has_ban_list_group_id() const; + public: + void clear_ban_list_group_id(); + uint32_t ban_list_group_id() const; + void set_ban_list_group_id(uint32_t value); + private: + uint32_t _internal_ban_list_group_id() const; + void _internal_set_ban_list_group_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCBannedWordListResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord > word_list_; + uint32_t ban_list_group_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCBannedWordListBroadcast final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBannedWordListBroadcast) */ { + public: + inline CMsgGCToGCBannedWordListBroadcast() : CMsgGCToGCBannedWordListBroadcast(nullptr) {} + ~CMsgGCToGCBannedWordListBroadcast() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcast(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCBannedWordListBroadcast(const CMsgGCToGCBannedWordListBroadcast& from); + CMsgGCToGCBannedWordListBroadcast(CMsgGCToGCBannedWordListBroadcast&& from) noexcept + : CMsgGCToGCBannedWordListBroadcast() { + *this = ::std::move(from); + } + + inline CMsgGCToGCBannedWordListBroadcast& operator=(const CMsgGCToGCBannedWordListBroadcast& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCBannedWordListBroadcast& operator=(CMsgGCToGCBannedWordListBroadcast&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCBannedWordListBroadcast& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCBannedWordListBroadcast* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCBannedWordListBroadcast_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(CMsgGCToGCBannedWordListBroadcast& a, CMsgGCToGCBannedWordListBroadcast& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCBannedWordListBroadcast* 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(CMsgGCToGCBannedWordListBroadcast* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCBannedWordListBroadcast* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCBannedWordListBroadcast& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCBannedWordListBroadcast& from) { + CMsgGCToGCBannedWordListBroadcast::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(CMsgGCToGCBannedWordListBroadcast* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCBannedWordListBroadcast"; + } + protected: + explicit CMsgGCToGCBannedWordListBroadcast(::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 { + kBroadcastFieldNumber = 1, + }; + // optional .CMsgGCBannedWordListResponse broadcast = 1; + bool has_broadcast() const; + private: + bool _internal_has_broadcast() const; + public: + void clear_broadcast(); + const ::CMsgGCBannedWordListResponse& broadcast() const; + PROTOBUF_NODISCARD ::CMsgGCBannedWordListResponse* release_broadcast(); + ::CMsgGCBannedWordListResponse* mutable_broadcast(); + void set_allocated_broadcast(::CMsgGCBannedWordListResponse* broadcast); + private: + const ::CMsgGCBannedWordListResponse& _internal_broadcast() const; + ::CMsgGCBannedWordListResponse* _internal_mutable_broadcast(); + public: + void unsafe_arena_set_allocated_broadcast( + ::CMsgGCBannedWordListResponse* broadcast); + ::CMsgGCBannedWordListResponse* unsafe_arena_release_broadcast(); + + // @@protoc_insertion_point(class_scope:CMsgGCToGCBannedWordListBroadcast) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCBannedWordListResponse* broadcast_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCBannedWordListUpdated final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBannedWordListUpdated) */ { + public: + inline CMsgGCToGCBannedWordListUpdated() : CMsgGCToGCBannedWordListUpdated(nullptr) {} + ~CMsgGCToGCBannedWordListUpdated() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCBannedWordListUpdated(const CMsgGCToGCBannedWordListUpdated& from); + CMsgGCToGCBannedWordListUpdated(CMsgGCToGCBannedWordListUpdated&& from) noexcept + : CMsgGCToGCBannedWordListUpdated() { + *this = ::std::move(from); + } + + inline CMsgGCToGCBannedWordListUpdated& operator=(const CMsgGCToGCBannedWordListUpdated& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCBannedWordListUpdated& operator=(CMsgGCToGCBannedWordListUpdated&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCBannedWordListUpdated& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCBannedWordListUpdated* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCBannedWordListUpdated_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(CMsgGCToGCBannedWordListUpdated& a, CMsgGCToGCBannedWordListUpdated& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCBannedWordListUpdated* 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(CMsgGCToGCBannedWordListUpdated* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCBannedWordListUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCBannedWordListUpdated& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCBannedWordListUpdated& from) { + CMsgGCToGCBannedWordListUpdated::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(CMsgGCToGCBannedWordListUpdated* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCBannedWordListUpdated"; + } + protected: + explicit CMsgGCToGCBannedWordListUpdated(::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 { + kGroupIdFieldNumber = 1, + }; + // optional uint32 group_id = 1; + bool has_group_id() const; + private: + bool _internal_has_group_id() const; + public: + void clear_group_id(); + uint32_t group_id() const; + void set_group_id(uint32_t value); + private: + uint32_t _internal_group_id() const; + void _internal_set_group_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCBannedWordListUpdated) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t group_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCDirtySDOCache final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCDirtySDOCache) */ { + public: + inline CMsgGCToGCDirtySDOCache() : CMsgGCToGCDirtySDOCache(nullptr) {} + ~CMsgGCToGCDirtySDOCache() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCDirtySDOCache(const CMsgGCToGCDirtySDOCache& from); + CMsgGCToGCDirtySDOCache(CMsgGCToGCDirtySDOCache&& from) noexcept + : CMsgGCToGCDirtySDOCache() { + *this = ::std::move(from); + } + + inline CMsgGCToGCDirtySDOCache& operator=(const CMsgGCToGCDirtySDOCache& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCDirtySDOCache& operator=(CMsgGCToGCDirtySDOCache&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCDirtySDOCache& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCDirtySDOCache* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCDirtySDOCache_default_instance_); + } + static constexpr int kIndexInFileMessages = + 64; + + friend void swap(CMsgGCToGCDirtySDOCache& a, CMsgGCToGCDirtySDOCache& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCDirtySDOCache* 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(CMsgGCToGCDirtySDOCache* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCDirtySDOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCDirtySDOCache& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCDirtySDOCache& from) { + CMsgGCToGCDirtySDOCache::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(CMsgGCToGCDirtySDOCache* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCDirtySDOCache"; + } + protected: + explicit CMsgGCToGCDirtySDOCache(::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 { + kKeyUint64FieldNumber = 2, + kSdoTypeFieldNumber = 1, + }; + // optional uint64 key_uint64 = 2; + bool has_key_uint64() const; + private: + bool _internal_has_key_uint64() const; + public: + void clear_key_uint64(); + uint64_t key_uint64() const; + void set_key_uint64(uint64_t value); + private: + uint64_t _internal_key_uint64() const; + void _internal_set_key_uint64(uint64_t value); + public: + + // optional uint32 sdo_type = 1; + bool has_sdo_type() const; + private: + bool _internal_has_sdo_type() const; + public: + void clear_sdo_type(); + uint32_t sdo_type() const; + void set_sdo_type(uint32_t value); + private: + uint32_t _internal_sdo_type() const; + void _internal_set_sdo_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCDirtySDOCache) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t key_uint64_; + uint32_t sdo_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCDirtyMultipleSDOCache final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCDirtyMultipleSDOCache) */ { + public: + inline CMsgGCToGCDirtyMultipleSDOCache() : CMsgGCToGCDirtyMultipleSDOCache(nullptr) {} + ~CMsgGCToGCDirtyMultipleSDOCache() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCDirtyMultipleSDOCache(const CMsgGCToGCDirtyMultipleSDOCache& from); + CMsgGCToGCDirtyMultipleSDOCache(CMsgGCToGCDirtyMultipleSDOCache&& from) noexcept + : CMsgGCToGCDirtyMultipleSDOCache() { + *this = ::std::move(from); + } + + inline CMsgGCToGCDirtyMultipleSDOCache& operator=(const CMsgGCToGCDirtyMultipleSDOCache& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCDirtyMultipleSDOCache& operator=(CMsgGCToGCDirtyMultipleSDOCache&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCDirtyMultipleSDOCache& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCDirtyMultipleSDOCache* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCDirtyMultipleSDOCache_default_instance_); + } + static constexpr int kIndexInFileMessages = + 65; + + friend void swap(CMsgGCToGCDirtyMultipleSDOCache& a, CMsgGCToGCDirtyMultipleSDOCache& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCDirtyMultipleSDOCache* 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(CMsgGCToGCDirtyMultipleSDOCache* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCDirtyMultipleSDOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCDirtyMultipleSDOCache& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCDirtyMultipleSDOCache& from) { + CMsgGCToGCDirtyMultipleSDOCache::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(CMsgGCToGCDirtyMultipleSDOCache* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCDirtyMultipleSDOCache"; + } + protected: + explicit CMsgGCToGCDirtyMultipleSDOCache(::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 { + kKeyUint64FieldNumber = 2, + kSdoTypeFieldNumber = 1, + }; + // repeated uint64 key_uint64 = 2; + int key_uint64_size() const; + private: + int _internal_key_uint64_size() const; + public: + void clear_key_uint64(); + private: + uint64_t _internal_key_uint64(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_key_uint64() const; + void _internal_add_key_uint64(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_key_uint64(); + public: + uint64_t key_uint64(int index) const; + void set_key_uint64(int index, uint64_t value); + void add_key_uint64(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + key_uint64() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_key_uint64(); + + // optional uint32 sdo_type = 1; + bool has_sdo_type() const; + private: + bool _internal_has_sdo_type() const; + public: + void clear_sdo_type(); + uint32_t sdo_type() const; + void set_sdo_type(uint32_t value); + private: + uint32_t _internal_sdo_type() const; + void _internal_set_sdo_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCDirtyMultipleSDOCache) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > key_uint64_; + uint32_t sdo_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCollectItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCollectItem) */ { + public: + inline CMsgGCCollectItem() : CMsgGCCollectItem(nullptr) {} + ~CMsgGCCollectItem() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCollectItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCollectItem(const CMsgGCCollectItem& from); + CMsgGCCollectItem(CMsgGCCollectItem&& from) noexcept + : CMsgGCCollectItem() { + *this = ::std::move(from); + } + + inline CMsgGCCollectItem& operator=(const CMsgGCCollectItem& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCollectItem& operator=(CMsgGCCollectItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCollectItem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCollectItem* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCollectItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(CMsgGCCollectItem& a, CMsgGCCollectItem& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCollectItem* 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(CMsgGCCollectItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCollectItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCollectItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCollectItem& from) { + CMsgGCCollectItem::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(CMsgGCCollectItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCollectItem"; + } + protected: + explicit CMsgGCCollectItem(::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 { + kCollectionItemIdFieldNumber = 1, + kSubjectItemIdFieldNumber = 2, + }; + // optional uint64 collection_item_id = 1; + bool has_collection_item_id() const; + private: + bool _internal_has_collection_item_id() const; + public: + void clear_collection_item_id(); + uint64_t collection_item_id() const; + void set_collection_item_id(uint64_t value); + private: + uint64_t _internal_collection_item_id() const; + void _internal_set_collection_item_id(uint64_t value); + public: + + // optional uint64 subject_item_id = 2; + bool has_subject_item_id() const; + private: + bool _internal_has_subject_item_id() const; + public: + void clear_subject_item_id(); + uint64_t subject_item_id() const; + void set_subject_item_id(uint64_t value); + private: + uint64_t _internal_subject_item_id() const; + void _internal_set_subject_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCollectItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t collection_item_id_; + uint64_t subject_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSDONoMemcached final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgSDONoMemcached) */ { + public: + inline CMsgSDONoMemcached() : CMsgSDONoMemcached(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgSDONoMemcached(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSDONoMemcached(const CMsgSDONoMemcached& from); + CMsgSDONoMemcached(CMsgSDONoMemcached&& from) noexcept + : CMsgSDONoMemcached() { + *this = ::std::move(from); + } + + inline CMsgSDONoMemcached& operator=(const CMsgSDONoMemcached& from) { + CopyFrom(from); + return *this; + } + inline CMsgSDONoMemcached& operator=(CMsgSDONoMemcached&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSDONoMemcached& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSDONoMemcached* internal_default_instance() { + return reinterpret_cast( + &_CMsgSDONoMemcached_default_instance_); + } + static constexpr int kIndexInFileMessages = + 67; + + friend void swap(CMsgSDONoMemcached& a, CMsgSDONoMemcached& b) { + a.Swap(&b); + } + inline void Swap(CMsgSDONoMemcached* 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(CMsgSDONoMemcached* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSDONoMemcached* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgSDONoMemcached& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgSDONoMemcached& 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 "CMsgSDONoMemcached"; + } + protected: + explicit CMsgSDONoMemcached(::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:CMsgSDONoMemcached) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCUpdateSQLKeyValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCUpdateSQLKeyValue) */ { + public: + inline CMsgGCToGCUpdateSQLKeyValue() : CMsgGCToGCUpdateSQLKeyValue(nullptr) {} + ~CMsgGCToGCUpdateSQLKeyValue() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCUpdateSQLKeyValue(const CMsgGCToGCUpdateSQLKeyValue& from); + CMsgGCToGCUpdateSQLKeyValue(CMsgGCToGCUpdateSQLKeyValue&& from) noexcept + : CMsgGCToGCUpdateSQLKeyValue() { + *this = ::std::move(from); + } + + inline CMsgGCToGCUpdateSQLKeyValue& operator=(const CMsgGCToGCUpdateSQLKeyValue& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCUpdateSQLKeyValue& operator=(CMsgGCToGCUpdateSQLKeyValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCUpdateSQLKeyValue& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCUpdateSQLKeyValue* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCUpdateSQLKeyValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(CMsgGCToGCUpdateSQLKeyValue& a, CMsgGCToGCUpdateSQLKeyValue& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCUpdateSQLKeyValue* 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(CMsgGCToGCUpdateSQLKeyValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCUpdateSQLKeyValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCUpdateSQLKeyValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCUpdateSQLKeyValue& from) { + CMsgGCToGCUpdateSQLKeyValue::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(CMsgGCToGCUpdateSQLKeyValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCUpdateSQLKeyValue"; + } + protected: + explicit CMsgGCToGCUpdateSQLKeyValue(::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 { + kKeyNameFieldNumber = 1, + }; + // optional string key_name = 1; + bool has_key_name() const; + private: + bool _internal_has_key_name() const; + public: + void clear_key_name(); + const std::string& key_name() const; + template + void set_key_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_key_name(); + PROTOBUF_NODISCARD std::string* release_key_name(); + void set_allocated_key_name(std::string* key_name); + private: + const std::string& _internal_key_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_name(const std::string& value); + std::string* _internal_mutable_key_name(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCUpdateSQLKeyValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_name_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCIsTrustedServer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCIsTrustedServer) */ { + public: + inline CMsgGCToGCIsTrustedServer() : CMsgGCToGCIsTrustedServer(nullptr) {} + ~CMsgGCToGCIsTrustedServer() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCIsTrustedServer(const CMsgGCToGCIsTrustedServer& from); + CMsgGCToGCIsTrustedServer(CMsgGCToGCIsTrustedServer&& from) noexcept + : CMsgGCToGCIsTrustedServer() { + *this = ::std::move(from); + } + + inline CMsgGCToGCIsTrustedServer& operator=(const CMsgGCToGCIsTrustedServer& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCIsTrustedServer& operator=(CMsgGCToGCIsTrustedServer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCIsTrustedServer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCIsTrustedServer* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCIsTrustedServer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(CMsgGCToGCIsTrustedServer& a, CMsgGCToGCIsTrustedServer& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCIsTrustedServer* 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(CMsgGCToGCIsTrustedServer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCIsTrustedServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCIsTrustedServer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCIsTrustedServer& from) { + CMsgGCToGCIsTrustedServer::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(CMsgGCToGCIsTrustedServer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCIsTrustedServer"; + } + protected: + explicit CMsgGCToGCIsTrustedServer(::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 { + kSteamIdFieldNumber = 1, + }; + // optional fixed64 steam_id = 1; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCIsTrustedServer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCIsTrustedServerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCIsTrustedServerResponse) */ { + public: + inline CMsgGCToGCIsTrustedServerResponse() : CMsgGCToGCIsTrustedServerResponse(nullptr) {} + ~CMsgGCToGCIsTrustedServerResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCIsTrustedServerResponse(const CMsgGCToGCIsTrustedServerResponse& from); + CMsgGCToGCIsTrustedServerResponse(CMsgGCToGCIsTrustedServerResponse&& from) noexcept + : CMsgGCToGCIsTrustedServerResponse() { + *this = ::std::move(from); + } + + inline CMsgGCToGCIsTrustedServerResponse& operator=(const CMsgGCToGCIsTrustedServerResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCIsTrustedServerResponse& operator=(CMsgGCToGCIsTrustedServerResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCIsTrustedServerResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCIsTrustedServerResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCIsTrustedServerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(CMsgGCToGCIsTrustedServerResponse& a, CMsgGCToGCIsTrustedServerResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCIsTrustedServerResponse* 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(CMsgGCToGCIsTrustedServerResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCIsTrustedServerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCIsTrustedServerResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCIsTrustedServerResponse& from) { + CMsgGCToGCIsTrustedServerResponse::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(CMsgGCToGCIsTrustedServerResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCIsTrustedServerResponse"; + } + protected: + explicit CMsgGCToGCIsTrustedServerResponse(::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 { + kIsTrustedFieldNumber = 1, + }; + // optional bool is_trusted = 1; + bool has_is_trusted() const; + private: + bool _internal_has_is_trusted() const; + public: + void clear_is_trusted(); + bool is_trusted() const; + void set_is_trusted(bool value); + private: + bool _internal_is_trusted() const; + void _internal_set_is_trusted(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCIsTrustedServerResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool is_trusted_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCBroadcastConsoleCommand final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBroadcastConsoleCommand) */ { + public: + inline CMsgGCToGCBroadcastConsoleCommand() : CMsgGCToGCBroadcastConsoleCommand(nullptr) {} + ~CMsgGCToGCBroadcastConsoleCommand() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCBroadcastConsoleCommand(const CMsgGCToGCBroadcastConsoleCommand& from); + CMsgGCToGCBroadcastConsoleCommand(CMsgGCToGCBroadcastConsoleCommand&& from) noexcept + : CMsgGCToGCBroadcastConsoleCommand() { + *this = ::std::move(from); + } + + inline CMsgGCToGCBroadcastConsoleCommand& operator=(const CMsgGCToGCBroadcastConsoleCommand& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCBroadcastConsoleCommand& operator=(CMsgGCToGCBroadcastConsoleCommand&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCBroadcastConsoleCommand& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCBroadcastConsoleCommand* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCBroadcastConsoleCommand_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(CMsgGCToGCBroadcastConsoleCommand& a, CMsgGCToGCBroadcastConsoleCommand& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCBroadcastConsoleCommand* 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(CMsgGCToGCBroadcastConsoleCommand* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCBroadcastConsoleCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCBroadcastConsoleCommand& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCBroadcastConsoleCommand& from) { + CMsgGCToGCBroadcastConsoleCommand::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(CMsgGCToGCBroadcastConsoleCommand* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCBroadcastConsoleCommand"; + } + protected: + explicit CMsgGCToGCBroadcastConsoleCommand(::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 { + kConCommandFieldNumber = 1, + }; + // optional string con_command = 1; + bool has_con_command() const; + private: + bool _internal_has_con_command() const; + public: + void clear_con_command(); + const std::string& con_command() const; + template + void set_con_command(ArgT0&& arg0, ArgT... args); + std::string* mutable_con_command(); + PROTOBUF_NODISCARD std::string* release_con_command(); + void set_allocated_con_command(std::string* con_command); + private: + const std::string& _internal_con_command() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_con_command(const std::string& value); + std::string* _internal_mutable_con_command(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCBroadcastConsoleCommand) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr con_command_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCServerVersionUpdated final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCServerVersionUpdated) */ { + public: + inline CMsgGCServerVersionUpdated() : CMsgGCServerVersionUpdated(nullptr) {} + ~CMsgGCServerVersionUpdated() override; + explicit PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCServerVersionUpdated(const CMsgGCServerVersionUpdated& from); + CMsgGCServerVersionUpdated(CMsgGCServerVersionUpdated&& from) noexcept + : CMsgGCServerVersionUpdated() { + *this = ::std::move(from); + } + + inline CMsgGCServerVersionUpdated& operator=(const CMsgGCServerVersionUpdated& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCServerVersionUpdated& operator=(CMsgGCServerVersionUpdated&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCServerVersionUpdated& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCServerVersionUpdated* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCServerVersionUpdated_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(CMsgGCServerVersionUpdated& a, CMsgGCServerVersionUpdated& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCServerVersionUpdated* 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(CMsgGCServerVersionUpdated* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCServerVersionUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCServerVersionUpdated& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCServerVersionUpdated& from) { + CMsgGCServerVersionUpdated::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(CMsgGCServerVersionUpdated* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCServerVersionUpdated"; + } + protected: + explicit CMsgGCServerVersionUpdated(::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 { + kServerVersionFieldNumber = 1, + }; + // optional uint32 server_version = 1; + bool has_server_version() const; + private: + bool _internal_has_server_version() const; + public: + void clear_server_version(); + uint32_t server_version() const; + void set_server_version(uint32_t value); + private: + uint32_t _internal_server_version() const; + void _internal_set_server_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCServerVersionUpdated) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t server_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCClientVersionUpdated final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCClientVersionUpdated) */ { + public: + inline CMsgGCClientVersionUpdated() : CMsgGCClientVersionUpdated(nullptr) {} + ~CMsgGCClientVersionUpdated() override; + explicit PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCClientVersionUpdated(const CMsgGCClientVersionUpdated& from); + CMsgGCClientVersionUpdated(CMsgGCClientVersionUpdated&& from) noexcept + : CMsgGCClientVersionUpdated() { + *this = ::std::move(from); + } + + inline CMsgGCClientVersionUpdated& operator=(const CMsgGCClientVersionUpdated& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCClientVersionUpdated& operator=(CMsgGCClientVersionUpdated&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCClientVersionUpdated& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCClientVersionUpdated* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCClientVersionUpdated_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CMsgGCClientVersionUpdated& a, CMsgGCClientVersionUpdated& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCClientVersionUpdated* 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(CMsgGCClientVersionUpdated* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCClientVersionUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCClientVersionUpdated& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCClientVersionUpdated& from) { + CMsgGCClientVersionUpdated::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(CMsgGCClientVersionUpdated* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCClientVersionUpdated"; + } + protected: + explicit CMsgGCClientVersionUpdated(::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 { + kClientVersionFieldNumber = 1, + }; + // optional uint32 client_version = 1; + bool has_client_version() const; + private: + bool _internal_has_client_version() const; + public: + void clear_client_version(); + uint32_t client_version() const; + void set_client_version(uint32_t value); + private: + uint32_t _internal_client_version() const; + void _internal_set_client_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCClientVersionUpdated) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t client_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCWebAPIAccountChanged final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCToGCWebAPIAccountChanged) */ { + public: + inline CMsgGCToGCWebAPIAccountChanged() : CMsgGCToGCWebAPIAccountChanged(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCWebAPIAccountChanged(const CMsgGCToGCWebAPIAccountChanged& from); + CMsgGCToGCWebAPIAccountChanged(CMsgGCToGCWebAPIAccountChanged&& from) noexcept + : CMsgGCToGCWebAPIAccountChanged() { + *this = ::std::move(from); + } + + inline CMsgGCToGCWebAPIAccountChanged& operator=(const CMsgGCToGCWebAPIAccountChanged& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCWebAPIAccountChanged& operator=(CMsgGCToGCWebAPIAccountChanged&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCWebAPIAccountChanged& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCWebAPIAccountChanged* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCWebAPIAccountChanged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CMsgGCToGCWebAPIAccountChanged& a, CMsgGCToGCWebAPIAccountChanged& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCWebAPIAccountChanged* 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(CMsgGCToGCWebAPIAccountChanged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCWebAPIAccountChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCToGCWebAPIAccountChanged& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCToGCWebAPIAccountChanged& 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 "CMsgGCToGCWebAPIAccountChanged"; + } + protected: + explicit CMsgGCToGCWebAPIAccountChanged(::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:CMsgGCToGCWebAPIAccountChanged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToGCRequestPassportItemGrant final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCRequestPassportItemGrant) */ { + public: + inline CMsgGCToGCRequestPassportItemGrant() : CMsgGCToGCRequestPassportItemGrant(nullptr) {} + ~CMsgGCToGCRequestPassportItemGrant() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrant(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToGCRequestPassportItemGrant(const CMsgGCToGCRequestPassportItemGrant& from); + CMsgGCToGCRequestPassportItemGrant(CMsgGCToGCRequestPassportItemGrant&& from) noexcept + : CMsgGCToGCRequestPassportItemGrant() { + *this = ::std::move(from); + } + + inline CMsgGCToGCRequestPassportItemGrant& operator=(const CMsgGCToGCRequestPassportItemGrant& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToGCRequestPassportItemGrant& operator=(CMsgGCToGCRequestPassportItemGrant&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToGCRequestPassportItemGrant& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToGCRequestPassportItemGrant* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToGCRequestPassportItemGrant_default_instance_); + } + static constexpr int kIndexInFileMessages = + 75; + + friend void swap(CMsgGCToGCRequestPassportItemGrant& a, CMsgGCToGCRequestPassportItemGrant& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToGCRequestPassportItemGrant* 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(CMsgGCToGCRequestPassportItemGrant* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToGCRequestPassportItemGrant* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToGCRequestPassportItemGrant& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToGCRequestPassportItemGrant& from) { + CMsgGCToGCRequestPassportItemGrant::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(CMsgGCToGCRequestPassportItemGrant* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToGCRequestPassportItemGrant"; + } + protected: + explicit CMsgGCToGCRequestPassportItemGrant(::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 { + kSteamIdFieldNumber = 1, + kLeagueIdFieldNumber = 2, + kRewardFlagFieldNumber = 3, + }; + // optional fixed64 steam_id = 1; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // optional uint32 league_id = 2; + bool has_league_id() const; + private: + bool _internal_has_league_id() const; + public: + void clear_league_id(); + uint32_t league_id() const; + void set_league_id(uint32_t value); + private: + uint32_t _internal_league_id() const; + void _internal_set_league_id(uint32_t value); + public: + + // optional int32 reward_flag = 3; + bool has_reward_flag() const; + private: + bool _internal_has_reward_flag() const; + public: + void clear_reward_flag(); + int32_t reward_flag() const; + void set_reward_flag(int32_t value); + private: + int32_t _internal_reward_flag() const; + void _internal_set_reward_flag(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToGCRequestPassportItemGrant) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steam_id_; + uint32_t league_id_; + int32_t reward_flag_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGameServerInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGameServerInfo) */ { + public: + inline CMsgGameServerInfo() : CMsgGameServerInfo(nullptr) {} + ~CMsgGameServerInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGameServerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGameServerInfo(const CMsgGameServerInfo& from); + CMsgGameServerInfo(CMsgGameServerInfo&& from) noexcept + : CMsgGameServerInfo() { + *this = ::std::move(from); + } + + inline CMsgGameServerInfo& operator=(const CMsgGameServerInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGameServerInfo& operator=(CMsgGameServerInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGameServerInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGameServerInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGameServerInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 76; + + friend void swap(CMsgGameServerInfo& a, CMsgGameServerInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGameServerInfo* 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(CMsgGameServerInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGameServerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGameServerInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGameServerInfo& from) { + CMsgGameServerInfo::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(CMsgGameServerInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGameServerInfo"; + } + protected: + explicit CMsgGameServerInfo(::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 ---------------------------------------------------- + + typedef CMsgGameServerInfo_ServerType ServerType; + static constexpr ServerType UNSPECIFIED = + CMsgGameServerInfo_ServerType_UNSPECIFIED; + static constexpr ServerType GAME = + CMsgGameServerInfo_ServerType_GAME; + static constexpr ServerType PROXY = + CMsgGameServerInfo_ServerType_PROXY; + static inline bool ServerType_IsValid(int value) { + return CMsgGameServerInfo_ServerType_IsValid(value); + } + static constexpr ServerType ServerType_MIN = + CMsgGameServerInfo_ServerType_ServerType_MIN; + static constexpr ServerType ServerType_MAX = + CMsgGameServerInfo_ServerType_ServerType_MAX; + static constexpr int ServerType_ARRAYSIZE = + CMsgGameServerInfo_ServerType_ServerType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + ServerType_descriptor() { + return CMsgGameServerInfo_ServerType_descriptor(); + } + template + static inline const std::string& ServerType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ServerType_Name."); + return CMsgGameServerInfo_ServerType_Name(enum_t_value); + } + static inline bool ServerType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + ServerType* value) { + return CMsgGameServerInfo_ServerType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kServerKeyFieldNumber = 5, + kServerPublicIpAddrFieldNumber = 1, + kServerPrivateIpAddrFieldNumber = 2, + kServerPortFieldNumber = 3, + kServerTvPortFieldNumber = 4, + kServerHibernationFieldNumber = 6, + kServerTypeFieldNumber = 7, + kServerRegionFieldNumber = 8, + kServerLoadavgFieldNumber = 9, + kServerTvBroadcastTimeFieldNumber = 10, + kServerGameTimeFieldNumber = 11, + kServerRelayConnectedSteamIdFieldNumber = 12, + kRelaySlotsMaxFieldNumber = 13, + kRelaysConnectedFieldNumber = 14, + kRelayedGameServerSteamIdFieldNumber = 16, + kRelayClientsConnectedFieldNumber = 15, + kParentRelayCountFieldNumber = 17, + kTvSecretCodeFieldNumber = 18, + }; + // optional string server_key = 5; + bool has_server_key() const; + private: + bool _internal_has_server_key() const; + public: + void clear_server_key(); + const std::string& server_key() const; + template + void set_server_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_server_key(); + PROTOBUF_NODISCARD std::string* release_server_key(); + void set_allocated_server_key(std::string* server_key); + private: + const std::string& _internal_server_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_key(const std::string& value); + std::string* _internal_mutable_server_key(); + public: + + // optional fixed32 server_public_ip_addr = 1; + bool has_server_public_ip_addr() const; + private: + bool _internal_has_server_public_ip_addr() const; + public: + void clear_server_public_ip_addr(); + uint32_t server_public_ip_addr() const; + void set_server_public_ip_addr(uint32_t value); + private: + uint32_t _internal_server_public_ip_addr() const; + void _internal_set_server_public_ip_addr(uint32_t value); + public: + + // optional fixed32 server_private_ip_addr = 2; + bool has_server_private_ip_addr() const; + private: + bool _internal_has_server_private_ip_addr() const; + public: + void clear_server_private_ip_addr(); + uint32_t server_private_ip_addr() const; + void set_server_private_ip_addr(uint32_t value); + private: + uint32_t _internal_server_private_ip_addr() const; + void _internal_set_server_private_ip_addr(uint32_t value); + public: + + // optional uint32 server_port = 3; + bool has_server_port() const; + private: + bool _internal_has_server_port() const; + public: + void clear_server_port(); + uint32_t server_port() const; + void set_server_port(uint32_t value); + private: + uint32_t _internal_server_port() const; + void _internal_set_server_port(uint32_t value); + public: + + // optional uint32 server_tv_port = 4; + bool has_server_tv_port() const; + private: + bool _internal_has_server_tv_port() const; + public: + void clear_server_tv_port(); + uint32_t server_tv_port() const; + void set_server_tv_port(uint32_t value); + private: + uint32_t _internal_server_tv_port() const; + void _internal_set_server_tv_port(uint32_t value); + public: + + // optional bool server_hibernation = 6; + bool has_server_hibernation() const; + private: + bool _internal_has_server_hibernation() const; + public: + void clear_server_hibernation(); + bool server_hibernation() const; + void set_server_hibernation(bool value); + private: + bool _internal_server_hibernation() const; + void _internal_set_server_hibernation(bool value); + public: + + // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; + bool has_server_type() const; + private: + bool _internal_has_server_type() const; + public: + void clear_server_type(); + ::CMsgGameServerInfo_ServerType server_type() const; + void set_server_type(::CMsgGameServerInfo_ServerType value); + private: + ::CMsgGameServerInfo_ServerType _internal_server_type() const; + void _internal_set_server_type(::CMsgGameServerInfo_ServerType value); + public: + + // optional uint32 server_region = 8; + bool has_server_region() const; + private: + bool _internal_has_server_region() const; + public: + void clear_server_region(); + uint32_t server_region() const; + void set_server_region(uint32_t value); + private: + uint32_t _internal_server_region() const; + void _internal_set_server_region(uint32_t value); + public: + + // optional float server_loadavg = 9; + bool has_server_loadavg() const; + private: + bool _internal_has_server_loadavg() const; + public: + void clear_server_loadavg(); + float server_loadavg() const; + void set_server_loadavg(float value); + private: + float _internal_server_loadavg() const; + void _internal_set_server_loadavg(float value); + public: + + // optional float server_tv_broadcast_time = 10; + bool has_server_tv_broadcast_time() const; + private: + bool _internal_has_server_tv_broadcast_time() const; + public: + void clear_server_tv_broadcast_time(); + float server_tv_broadcast_time() const; + void set_server_tv_broadcast_time(float value); + private: + float _internal_server_tv_broadcast_time() const; + void _internal_set_server_tv_broadcast_time(float value); + public: + + // optional float server_game_time = 11; + bool has_server_game_time() const; + private: + bool _internal_has_server_game_time() const; + public: + void clear_server_game_time(); + float server_game_time() const; + void set_server_game_time(float value); + private: + float _internal_server_game_time() const; + void _internal_set_server_game_time(float value); + public: + + // optional fixed64 server_relay_connected_steam_id = 12; + bool has_server_relay_connected_steam_id() const; + private: + bool _internal_has_server_relay_connected_steam_id() const; + public: + void clear_server_relay_connected_steam_id(); + uint64_t server_relay_connected_steam_id() const; + void set_server_relay_connected_steam_id(uint64_t value); + private: + uint64_t _internal_server_relay_connected_steam_id() const; + void _internal_set_server_relay_connected_steam_id(uint64_t value); + public: + + // optional uint32 relay_slots_max = 13; + bool has_relay_slots_max() const; + private: + bool _internal_has_relay_slots_max() const; + public: + void clear_relay_slots_max(); + uint32_t relay_slots_max() const; + void set_relay_slots_max(uint32_t value); + private: + uint32_t _internal_relay_slots_max() const; + void _internal_set_relay_slots_max(uint32_t value); + public: + + // optional int32 relays_connected = 14; + bool has_relays_connected() const; + private: + bool _internal_has_relays_connected() const; + public: + void clear_relays_connected(); + int32_t relays_connected() const; + void set_relays_connected(int32_t value); + private: + int32_t _internal_relays_connected() const; + void _internal_set_relays_connected(int32_t value); + public: + + // optional fixed64 relayed_game_server_steam_id = 16; + bool has_relayed_game_server_steam_id() const; + private: + bool _internal_has_relayed_game_server_steam_id() const; + public: + void clear_relayed_game_server_steam_id(); + uint64_t relayed_game_server_steam_id() const; + void set_relayed_game_server_steam_id(uint64_t value); + private: + uint64_t _internal_relayed_game_server_steam_id() const; + void _internal_set_relayed_game_server_steam_id(uint64_t value); + public: + + // optional int32 relay_clients_connected = 15; + bool has_relay_clients_connected() const; + private: + bool _internal_has_relay_clients_connected() const; + public: + void clear_relay_clients_connected(); + int32_t relay_clients_connected() const; + void set_relay_clients_connected(int32_t value); + private: + int32_t _internal_relay_clients_connected() const; + void _internal_set_relay_clients_connected(int32_t value); + public: + + // optional uint32 parent_relay_count = 17; + bool has_parent_relay_count() const; + private: + bool _internal_has_parent_relay_count() const; + public: + void clear_parent_relay_count(); + uint32_t parent_relay_count() const; + void set_parent_relay_count(uint32_t value); + private: + uint32_t _internal_parent_relay_count() const; + void _internal_set_parent_relay_count(uint32_t value); + public: + + // optional fixed64 tv_secret_code = 18; + bool has_tv_secret_code() const; + private: + bool _internal_has_tv_secret_code() const; + public: + void clear_tv_secret_code(); + uint64_t tv_secret_code() const; + void set_tv_secret_code(uint64_t value); + private: + uint64_t _internal_tv_secret_code() const; + void _internal_set_tv_secret_code(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGameServerInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_key_; + uint32_t server_public_ip_addr_; + uint32_t server_private_ip_addr_; + uint32_t server_port_; + uint32_t server_tv_port_; + bool server_hibernation_; + int server_type_; + uint32_t server_region_; + float server_loadavg_; + float server_tv_broadcast_time_; + float server_game_time_; + uint64_t server_relay_connected_steam_id_; + uint32_t relay_slots_max_; + int32_t relays_connected_; + uint64_t relayed_game_server_steam_id_; + int32_t relay_clients_connected_; + uint32_t parent_relay_count_; + uint64_t tv_secret_code_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconEquipSlot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconEquipSlot) */ { + public: + inline CSOEconEquipSlot() : CSOEconEquipSlot(nullptr) {} + ~CSOEconEquipSlot() override; + explicit PROTOBUF_CONSTEXPR CSOEconEquipSlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconEquipSlot(const CSOEconEquipSlot& from); + CSOEconEquipSlot(CSOEconEquipSlot&& from) noexcept + : CSOEconEquipSlot() { + *this = ::std::move(from); + } + + inline CSOEconEquipSlot& operator=(const CSOEconEquipSlot& from) { + CopyFrom(from); + return *this; + } + inline CSOEconEquipSlot& operator=(CSOEconEquipSlot&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconEquipSlot& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconEquipSlot* internal_default_instance() { + return reinterpret_cast( + &_CSOEconEquipSlot_default_instance_); + } + static constexpr int kIndexInFileMessages = + 77; + + friend void swap(CSOEconEquipSlot& a, CSOEconEquipSlot& b) { + a.Swap(&b); + } + inline void Swap(CSOEconEquipSlot* 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(CSOEconEquipSlot* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconEquipSlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconEquipSlot& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconEquipSlot& from) { + CSOEconEquipSlot::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(CSOEconEquipSlot* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconEquipSlot"; + } + protected: + explicit CSOEconEquipSlot(::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 { + kAccountIdFieldNumber = 1, + kClassIdFieldNumber = 2, + kItemIdFieldNumber = 4, + kSlotIdFieldNumber = 3, + kItemDefinitionFieldNumber = 5, + }; + // optional uint32 account_id = 1 [(.key_field) = true]; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 class_id = 2 [(.key_field) = true]; + bool has_class_id() const; + private: + bool _internal_has_class_id() const; + public: + void clear_class_id(); + uint32_t class_id() const; + void set_class_id(uint32_t value); + private: + uint32_t _internal_class_id() const; + void _internal_set_class_id(uint32_t value); + public: + + // optional uint64 item_id = 4; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional uint32 slot_id = 3 [(.key_field) = true]; + bool has_slot_id() const; + private: + bool _internal_has_slot_id() const; + public: + void clear_slot_id(); + uint32_t slot_id() const; + void set_slot_id(uint32_t value); + private: + uint32_t _internal_slot_id() const; + void _internal_set_slot_id(uint32_t value); + public: + + // optional uint32 item_definition = 5; + bool has_item_definition() const; + private: + bool _internal_has_item_definition() const; + public: + void clear_item_definition(); + uint32_t item_definition() const; + void set_item_definition(uint32_t value); + private: + uint32_t _internal_item_definition() const; + void _internal_set_item_definition(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconEquipSlot) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t class_id_; + uint64_t item_id_; + uint32_t slot_id_; + uint32_t item_definition_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgAdjustEquipSlot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAdjustEquipSlot) */ { + public: + inline CMsgAdjustEquipSlot() : CMsgAdjustEquipSlot(nullptr) {} + ~CMsgAdjustEquipSlot() override; + explicit PROTOBUF_CONSTEXPR CMsgAdjustEquipSlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgAdjustEquipSlot(const CMsgAdjustEquipSlot& from); + CMsgAdjustEquipSlot(CMsgAdjustEquipSlot&& from) noexcept + : CMsgAdjustEquipSlot() { + *this = ::std::move(from); + } + + inline CMsgAdjustEquipSlot& operator=(const CMsgAdjustEquipSlot& from) { + CopyFrom(from); + return *this; + } + inline CMsgAdjustEquipSlot& operator=(CMsgAdjustEquipSlot&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgAdjustEquipSlot& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgAdjustEquipSlot* internal_default_instance() { + return reinterpret_cast( + &_CMsgAdjustEquipSlot_default_instance_); + } + static constexpr int kIndexInFileMessages = + 78; + + friend void swap(CMsgAdjustEquipSlot& a, CMsgAdjustEquipSlot& b) { + a.Swap(&b); + } + inline void Swap(CMsgAdjustEquipSlot* 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(CMsgAdjustEquipSlot* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgAdjustEquipSlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgAdjustEquipSlot& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgAdjustEquipSlot& from) { + CMsgAdjustEquipSlot::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(CMsgAdjustEquipSlot* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgAdjustEquipSlot"; + } + protected: + explicit CMsgAdjustEquipSlot(::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 { + kClassIdFieldNumber = 1, + kSlotIdFieldNumber = 2, + kItemIdFieldNumber = 3, + }; + // optional uint32 class_id = 1; + bool has_class_id() const; + private: + bool _internal_has_class_id() const; + public: + void clear_class_id(); + uint32_t class_id() const; + void set_class_id(uint32_t value); + private: + uint32_t _internal_class_id() const; + void _internal_set_class_id(uint32_t value); + public: + + // optional uint32 slot_id = 2; + bool has_slot_id() const; + private: + bool _internal_has_slot_id() const; + public: + void clear_slot_id(); + uint32_t slot_id() const; + void set_slot_id(uint32_t value); + private: + uint32_t _internal_slot_id() const; + void _internal_set_slot_id(uint32_t value); + public: + + // optional uint64 item_id = 3; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgAdjustEquipSlot) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t class_id_; + uint32_t slot_id_; + uint64_t item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgAdjustEquipSlots final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAdjustEquipSlots) */ { + public: + inline CMsgAdjustEquipSlots() : CMsgAdjustEquipSlots(nullptr) {} + ~CMsgAdjustEquipSlots() override; + explicit PROTOBUF_CONSTEXPR CMsgAdjustEquipSlots(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgAdjustEquipSlots(const CMsgAdjustEquipSlots& from); + CMsgAdjustEquipSlots(CMsgAdjustEquipSlots&& from) noexcept + : CMsgAdjustEquipSlots() { + *this = ::std::move(from); + } + + inline CMsgAdjustEquipSlots& operator=(const CMsgAdjustEquipSlots& from) { + CopyFrom(from); + return *this; + } + inline CMsgAdjustEquipSlots& operator=(CMsgAdjustEquipSlots&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgAdjustEquipSlots& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgAdjustEquipSlots* internal_default_instance() { + return reinterpret_cast( + &_CMsgAdjustEquipSlots_default_instance_); + } + static constexpr int kIndexInFileMessages = + 79; + + friend void swap(CMsgAdjustEquipSlots& a, CMsgAdjustEquipSlots& b) { + a.Swap(&b); + } + inline void Swap(CMsgAdjustEquipSlots* 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(CMsgAdjustEquipSlots* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgAdjustEquipSlots* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgAdjustEquipSlots& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgAdjustEquipSlots& from) { + CMsgAdjustEquipSlots::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(CMsgAdjustEquipSlots* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgAdjustEquipSlots"; + } + protected: + explicit CMsgAdjustEquipSlots(::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 { + kSlotsFieldNumber = 1, + kChangeNumFieldNumber = 2, + }; + // repeated .CMsgAdjustEquipSlot slots = 1; + int slots_size() const; + private: + int _internal_slots_size() const; + public: + void clear_slots(); + ::CMsgAdjustEquipSlot* mutable_slots(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >* + mutable_slots(); + private: + const ::CMsgAdjustEquipSlot& _internal_slots(int index) const; + ::CMsgAdjustEquipSlot* _internal_add_slots(); + public: + const ::CMsgAdjustEquipSlot& slots(int index) const; + ::CMsgAdjustEquipSlot* add_slots(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >& + slots() const; + + // optional uint32 change_num = 2; + bool has_change_num() const; + private: + bool _internal_has_change_num() const; + public: + void clear_change_num(); + uint32_t change_num() const; + void set_change_num(uint32_t value); + private: + uint32_t _internal_change_num() const; + void _internal_set_change_num(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgAdjustEquipSlots) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot > slots_; + uint32_t change_num_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgOpenCrate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgOpenCrate) */ { + public: + inline CMsgOpenCrate() : CMsgOpenCrate(nullptr) {} + ~CMsgOpenCrate() override; + explicit PROTOBUF_CONSTEXPR CMsgOpenCrate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgOpenCrate(const CMsgOpenCrate& from); + CMsgOpenCrate(CMsgOpenCrate&& from) noexcept + : CMsgOpenCrate() { + *this = ::std::move(from); + } + + inline CMsgOpenCrate& operator=(const CMsgOpenCrate& from) { + CopyFrom(from); + return *this; + } + inline CMsgOpenCrate& operator=(CMsgOpenCrate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgOpenCrate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgOpenCrate* internal_default_instance() { + return reinterpret_cast( + &_CMsgOpenCrate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 80; + + friend void swap(CMsgOpenCrate& a, CMsgOpenCrate& b) { + a.Swap(&b); + } + inline void Swap(CMsgOpenCrate* 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(CMsgOpenCrate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgOpenCrate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgOpenCrate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgOpenCrate& from) { + CMsgOpenCrate::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(CMsgOpenCrate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgOpenCrate"; + } + protected: + explicit CMsgOpenCrate(::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 { + kToolItemIdFieldNumber = 1, + kSubjectItemIdFieldNumber = 2, + kForRentalFieldNumber = 3, + kPointsRemainingFieldNumber = 4, + }; + // optional uint64 tool_item_id = 1; + bool has_tool_item_id() const; + private: + bool _internal_has_tool_item_id() const; + public: + void clear_tool_item_id(); + uint64_t tool_item_id() const; + void set_tool_item_id(uint64_t value); + private: + uint64_t _internal_tool_item_id() const; + void _internal_set_tool_item_id(uint64_t value); + public: + + // optional uint64 subject_item_id = 2; + bool has_subject_item_id() const; + private: + bool _internal_has_subject_item_id() const; + public: + void clear_subject_item_id(); + uint64_t subject_item_id() const; + void set_subject_item_id(uint64_t value); + private: + uint64_t _internal_subject_item_id() const; + void _internal_set_subject_item_id(uint64_t value); + public: + + // optional bool for_rental = 3; + bool has_for_rental() const; + private: + bool _internal_has_for_rental() const; + public: + void clear_for_rental(); + bool for_rental() const; + void set_for_rental(bool value); + private: + bool _internal_for_rental() const; + void _internal_set_for_rental(bool value); + public: + + // optional uint32 points_remaining = 4; + bool has_points_remaining() const; + private: + bool _internal_has_points_remaining() const; + public: + void clear_points_remaining(); + uint32_t points_remaining() const; + void set_points_remaining(uint32_t value); + private: + uint32_t _internal_points_remaining() const; + void _internal_set_points_remaining(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgOpenCrate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t tool_item_id_; + uint64_t subject_item_id_; + bool for_rental_; + uint32_t points_remaining_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconRentalHistory final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconRentalHistory) */ { + public: + inline CSOEconRentalHistory() : CSOEconRentalHistory(nullptr) {} + ~CSOEconRentalHistory() override; + explicit PROTOBUF_CONSTEXPR CSOEconRentalHistory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconRentalHistory(const CSOEconRentalHistory& from); + CSOEconRentalHistory(CSOEconRentalHistory&& from) noexcept + : CSOEconRentalHistory() { + *this = ::std::move(from); + } + + inline CSOEconRentalHistory& operator=(const CSOEconRentalHistory& from) { + CopyFrom(from); + return *this; + } + inline CSOEconRentalHistory& operator=(CSOEconRentalHistory&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconRentalHistory& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconRentalHistory* internal_default_instance() { + return reinterpret_cast( + &_CSOEconRentalHistory_default_instance_); + } + static constexpr int kIndexInFileMessages = + 81; + + friend void swap(CSOEconRentalHistory& a, CSOEconRentalHistory& b) { + a.Swap(&b); + } + inline void Swap(CSOEconRentalHistory* 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(CSOEconRentalHistory* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconRentalHistory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconRentalHistory& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconRentalHistory& from) { + CSOEconRentalHistory::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(CSOEconRentalHistory* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconRentalHistory"; + } + protected: + explicit CSOEconRentalHistory(::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 { + kCrateItemIdFieldNumber = 2, + kAccountIdFieldNumber = 1, + kCrateDefIndexFieldNumber = 3, + kIssueDateFieldNumber = 4, + kExpirationDateFieldNumber = 5, + }; + // optional uint64 crate_item_id = 2 [(.key_field) = true]; + bool has_crate_item_id() const; + private: + bool _internal_has_crate_item_id() const; + public: + void clear_crate_item_id(); + uint64_t crate_item_id() const; + void set_crate_item_id(uint64_t value); + private: + uint64_t _internal_crate_item_id() const; + void _internal_set_crate_item_id(uint64_t value); + public: + + // optional uint32 account_id = 1 [(.key_field) = true]; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 crate_def_index = 3; + bool has_crate_def_index() const; + private: + bool _internal_has_crate_def_index() const; + public: + void clear_crate_def_index(); + uint32_t crate_def_index() const; + void set_crate_def_index(uint32_t value); + private: + uint32_t _internal_crate_def_index() const; + void _internal_set_crate_def_index(uint32_t value); + public: + + // optional uint32 issue_date = 4; + bool has_issue_date() const; + private: + bool _internal_has_issue_date() const; + public: + void clear_issue_date(); + uint32_t issue_date() const; + void set_issue_date(uint32_t value); + private: + uint32_t _internal_issue_date() const; + void _internal_set_issue_date(uint32_t value); + public: + + // optional uint32 expiration_date = 5; + bool has_expiration_date() const; + private: + bool _internal_has_expiration_date() const; + public: + void clear_expiration_date(); + uint32_t expiration_date() const; + void set_expiration_date(uint32_t value); + private: + uint32_t _internal_expiration_date() const; + void _internal_set_expiration_date(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconRentalHistory) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t crate_item_id_; + uint32_t account_id_; + uint32_t crate_def_index_; + uint32_t issue_date_; + uint32_t expiration_date_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgAcknowledgeRentalExpiration final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAcknowledgeRentalExpiration) */ { + public: + inline CMsgAcknowledgeRentalExpiration() : CMsgAcknowledgeRentalExpiration(nullptr) {} + ~CMsgAcknowledgeRentalExpiration() override; + explicit PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpiration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgAcknowledgeRentalExpiration(const CMsgAcknowledgeRentalExpiration& from); + CMsgAcknowledgeRentalExpiration(CMsgAcknowledgeRentalExpiration&& from) noexcept + : CMsgAcknowledgeRentalExpiration() { + *this = ::std::move(from); + } + + inline CMsgAcknowledgeRentalExpiration& operator=(const CMsgAcknowledgeRentalExpiration& from) { + CopyFrom(from); + return *this; + } + inline CMsgAcknowledgeRentalExpiration& operator=(CMsgAcknowledgeRentalExpiration&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgAcknowledgeRentalExpiration& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgAcknowledgeRentalExpiration* internal_default_instance() { + return reinterpret_cast( + &_CMsgAcknowledgeRentalExpiration_default_instance_); + } + static constexpr int kIndexInFileMessages = + 82; + + friend void swap(CMsgAcknowledgeRentalExpiration& a, CMsgAcknowledgeRentalExpiration& b) { + a.Swap(&b); + } + inline void Swap(CMsgAcknowledgeRentalExpiration* 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(CMsgAcknowledgeRentalExpiration* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgAcknowledgeRentalExpiration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgAcknowledgeRentalExpiration& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgAcknowledgeRentalExpiration& from) { + CMsgAcknowledgeRentalExpiration::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(CMsgAcknowledgeRentalExpiration* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgAcknowledgeRentalExpiration"; + } + protected: + explicit CMsgAcknowledgeRentalExpiration(::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 { + kCrateItemIdFieldNumber = 1, + }; + // optional uint64 crate_item_id = 1; + bool has_crate_item_id() const; + private: + bool _internal_has_crate_item_id() const; + public: + void clear_crate_item_id(); + uint64_t crate_item_id() const; + void set_crate_item_id(uint64_t value); + private: + uint64_t _internal_crate_item_id() const; + void _internal_set_crate_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgAcknowledgeRentalExpiration) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t crate_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_base_5fgcmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CGCStorePurchaseInit_LineItem + +// optional uint32 item_def_id = 1; +inline bool CGCStorePurchaseInit_LineItem::_internal_has_item_def_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGCStorePurchaseInit_LineItem::has_item_def_id() const { + return _internal_has_item_def_id(); +} +inline void CGCStorePurchaseInit_LineItem::clear_item_def_id() { + _impl_.item_def_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CGCStorePurchaseInit_LineItem::_internal_item_def_id() const { + return _impl_.item_def_id_; +} +inline uint32_t CGCStorePurchaseInit_LineItem::item_def_id() const { + // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.item_def_id) + return _internal_item_def_id(); +} +inline void CGCStorePurchaseInit_LineItem::_internal_set_item_def_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_def_id_ = value; +} +inline void CGCStorePurchaseInit_LineItem::set_item_def_id(uint32_t value) { + _internal_set_item_def_id(value); + // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.item_def_id) +} + +// optional uint32 quantity = 2; +inline bool CGCStorePurchaseInit_LineItem::_internal_has_quantity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGCStorePurchaseInit_LineItem::has_quantity() const { + return _internal_has_quantity(); +} +inline void CGCStorePurchaseInit_LineItem::clear_quantity() { + _impl_.quantity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGCStorePurchaseInit_LineItem::_internal_quantity() const { + return _impl_.quantity_; +} +inline uint32_t CGCStorePurchaseInit_LineItem::quantity() const { + // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.quantity) + return _internal_quantity(); +} +inline void CGCStorePurchaseInit_LineItem::_internal_set_quantity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.quantity_ = value; +} +inline void CGCStorePurchaseInit_LineItem::set_quantity(uint32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.quantity) +} + +// optional uint32 cost_in_local_currency = 3; +inline bool CGCStorePurchaseInit_LineItem::_internal_has_cost_in_local_currency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGCStorePurchaseInit_LineItem::has_cost_in_local_currency() const { + return _internal_has_cost_in_local_currency(); +} +inline void CGCStorePurchaseInit_LineItem::clear_cost_in_local_currency() { + _impl_.cost_in_local_currency_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CGCStorePurchaseInit_LineItem::_internal_cost_in_local_currency() const { + return _impl_.cost_in_local_currency_; +} +inline uint32_t CGCStorePurchaseInit_LineItem::cost_in_local_currency() const { + // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.cost_in_local_currency) + return _internal_cost_in_local_currency(); +} +inline void CGCStorePurchaseInit_LineItem::_internal_set_cost_in_local_currency(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.cost_in_local_currency_ = value; +} +inline void CGCStorePurchaseInit_LineItem::set_cost_in_local_currency(uint32_t value) { + _internal_set_cost_in_local_currency(value); + // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.cost_in_local_currency) +} + +// optional uint32 purchase_type = 4; +inline bool CGCStorePurchaseInit_LineItem::_internal_has_purchase_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGCStorePurchaseInit_LineItem::has_purchase_type() const { + return _internal_has_purchase_type(); +} +inline void CGCStorePurchaseInit_LineItem::clear_purchase_type() { + _impl_.purchase_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CGCStorePurchaseInit_LineItem::_internal_purchase_type() const { + return _impl_.purchase_type_; +} +inline uint32_t CGCStorePurchaseInit_LineItem::purchase_type() const { + // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.purchase_type) + return _internal_purchase_type(); +} +inline void CGCStorePurchaseInit_LineItem::_internal_set_purchase_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.purchase_type_ = value; +} +inline void CGCStorePurchaseInit_LineItem::set_purchase_type(uint32_t value) { + _internal_set_purchase_type(value); + // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.purchase_type) +} + +// optional uint64 supplemental_data = 5; +inline bool CGCStorePurchaseInit_LineItem::_internal_has_supplemental_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGCStorePurchaseInit_LineItem::has_supplemental_data() const { + return _internal_has_supplemental_data(); +} +inline void CGCStorePurchaseInit_LineItem::clear_supplemental_data() { + _impl_.supplemental_data_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CGCStorePurchaseInit_LineItem::_internal_supplemental_data() const { + return _impl_.supplemental_data_; +} +inline uint64_t CGCStorePurchaseInit_LineItem::supplemental_data() const { + // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.supplemental_data) + return _internal_supplemental_data(); +} +inline void CGCStorePurchaseInit_LineItem::_internal_set_supplemental_data(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.supplemental_data_ = value; +} +inline void CGCStorePurchaseInit_LineItem::set_supplemental_data(uint64_t value) { + _internal_set_supplemental_data(value); + // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.supplemental_data) +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseInit + +// optional string country = 1; +inline bool CMsgGCStorePurchaseInit::_internal_has_country() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInit::has_country() const { + return _internal_has_country(); +} +inline void CMsgGCStorePurchaseInit::clear_country() { + _impl_.country_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCStorePurchaseInit::country() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.country) + return _internal_country(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCStorePurchaseInit::set_country(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.country) +} +inline std::string* CMsgGCStorePurchaseInit::mutable_country() { + std::string* _s = _internal_mutable_country(); + // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInit.country) + return _s; +} +inline const std::string& CMsgGCStorePurchaseInit::_internal_country() const { + return _impl_.country_.Get(); +} +inline void CMsgGCStorePurchaseInit::_internal_set_country(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCStorePurchaseInit::_internal_mutable_country() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.country_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCStorePurchaseInit::release_country() { + // @@protoc_insertion_point(field_release:CMsgGCStorePurchaseInit.country) + if (!_internal_has_country()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.country_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCStorePurchaseInit::set_allocated_country(std::string* country) { + if (country != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.country_.SetAllocated(country, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCStorePurchaseInit.country) +} + +// optional int32 language = 2; +inline bool CMsgGCStorePurchaseInit::_internal_has_language() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInit::has_language() const { + return _internal_has_language(); +} +inline void CMsgGCStorePurchaseInit::clear_language() { + _impl_.language_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCStorePurchaseInit::_internal_language() const { + return _impl_.language_; +} +inline int32_t CMsgGCStorePurchaseInit::language() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.language) + return _internal_language(); +} +inline void CMsgGCStorePurchaseInit::_internal_set_language(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.language_ = value; +} +inline void CMsgGCStorePurchaseInit::set_language(int32_t value) { + _internal_set_language(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.language) +} + +// optional int32 currency = 3; +inline bool CMsgGCStorePurchaseInit::_internal_has_currency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInit::has_currency() const { + return _internal_has_currency(); +} +inline void CMsgGCStorePurchaseInit::clear_currency() { + _impl_.currency_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCStorePurchaseInit::_internal_currency() const { + return _impl_.currency_; +} +inline int32_t CMsgGCStorePurchaseInit::currency() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.currency) + return _internal_currency(); +} +inline void CMsgGCStorePurchaseInit::_internal_set_currency(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.currency_ = value; +} +inline void CMsgGCStorePurchaseInit::set_currency(int32_t value) { + _internal_set_currency(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.currency) +} + +// repeated .CGCStorePurchaseInit_LineItem line_items = 4; +inline int CMsgGCStorePurchaseInit::_internal_line_items_size() const { + return _impl_.line_items_.size(); +} +inline int CMsgGCStorePurchaseInit::line_items_size() const { + return _internal_line_items_size(); +} +inline void CMsgGCStorePurchaseInit::clear_line_items() { + _impl_.line_items_.Clear(); +} +inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::mutable_line_items(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInit.line_items) + return _impl_.line_items_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >* +CMsgGCStorePurchaseInit::mutable_line_items() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseInit.line_items) + return &_impl_.line_items_; +} +inline const ::CGCStorePurchaseInit_LineItem& CMsgGCStorePurchaseInit::_internal_line_items(int index) const { + return _impl_.line_items_.Get(index); +} +inline const ::CGCStorePurchaseInit_LineItem& CMsgGCStorePurchaseInit::line_items(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.line_items) + return _internal_line_items(index); +} +inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::_internal_add_line_items() { + return _impl_.line_items_.Add(); +} +inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::add_line_items() { + ::CGCStorePurchaseInit_LineItem* _add = _internal_add_line_items(); + // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseInit.line_items) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >& +CMsgGCStorePurchaseInit::line_items() const { + // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseInit.line_items) + return _impl_.line_items_; +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseInitResponse + +// optional int32 result = 1; +inline bool CMsgGCStorePurchaseInitResponse::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInitResponse::has_result() const { + return _internal_has_result(); +} +inline void CMsgGCStorePurchaseInitResponse::clear_result() { + _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCStorePurchaseInitResponse::_internal_result() const { + return _impl_.result_; +} +inline int32_t CMsgGCStorePurchaseInitResponse::result() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.result) + return _internal_result(); +} +inline void CMsgGCStorePurchaseInitResponse::_internal_set_result(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.result_ = value; +} +inline void CMsgGCStorePurchaseInitResponse::set_result(int32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.result) +} + +// optional uint64 txn_id = 2; +inline bool CMsgGCStorePurchaseInitResponse::_internal_has_txn_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInitResponse::has_txn_id() const { + return _internal_has_txn_id(); +} +inline void CMsgGCStorePurchaseInitResponse::clear_txn_id() { + _impl_.txn_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCStorePurchaseInitResponse::_internal_txn_id() const { + return _impl_.txn_id_; +} +inline uint64_t CMsgGCStorePurchaseInitResponse::txn_id() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.txn_id) + return _internal_txn_id(); +} +inline void CMsgGCStorePurchaseInitResponse::_internal_set_txn_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.txn_id_ = value; +} +inline void CMsgGCStorePurchaseInitResponse::set_txn_id(uint64_t value) { + _internal_set_txn_id(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.txn_id) +} + +// optional string url = 3; +inline bool CMsgGCStorePurchaseInitResponse::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseInitResponse::has_url() const { + return _internal_has_url(); +} +inline void CMsgGCStorePurchaseInitResponse::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCStorePurchaseInitResponse::url() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCStorePurchaseInitResponse::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.url) +} +inline std::string* CMsgGCStorePurchaseInitResponse::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInitResponse.url) + return _s; +} +inline const std::string& CMsgGCStorePurchaseInitResponse::_internal_url() const { + return _impl_.url_.Get(); +} +inline void CMsgGCStorePurchaseInitResponse::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCStorePurchaseInitResponse::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCStorePurchaseInitResponse::release_url() { + // @@protoc_insertion_point(field_release:CMsgGCStorePurchaseInitResponse.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCStorePurchaseInitResponse::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCStorePurchaseInitResponse.url) +} + +// repeated uint64 item_ids = 4; +inline int CMsgGCStorePurchaseInitResponse::_internal_item_ids_size() const { + return _impl_.item_ids_.size(); +} +inline int CMsgGCStorePurchaseInitResponse::item_ids_size() const { + return _internal_item_ids_size(); +} +inline void CMsgGCStorePurchaseInitResponse::clear_item_ids() { + _impl_.item_ids_.Clear(); +} +inline uint64_t CMsgGCStorePurchaseInitResponse::_internal_item_ids(int index) const { + return _impl_.item_ids_.Get(index); +} +inline uint64_t CMsgGCStorePurchaseInitResponse::item_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.item_ids) + return _internal_item_ids(index); +} +inline void CMsgGCStorePurchaseInitResponse::set_item_ids(int index, uint64_t value) { + _impl_.item_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.item_ids) +} +inline void CMsgGCStorePurchaseInitResponse::_internal_add_item_ids(uint64_t value) { + _impl_.item_ids_.Add(value); +} +inline void CMsgGCStorePurchaseInitResponse::add_item_ids(uint64_t value) { + _internal_add_item_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseInitResponse.item_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCStorePurchaseInitResponse::_internal_item_ids() const { + return _impl_.item_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCStorePurchaseInitResponse::item_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseInitResponse.item_ids) + return _internal_item_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCStorePurchaseInitResponse::_internal_mutable_item_ids() { + return &_impl_.item_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCStorePurchaseInitResponse::mutable_item_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseInitResponse.item_ids) + return _internal_mutable_item_ids(); +} + +// ------------------------------------------------------------------- + +// CSOPartyInvite + +// optional uint64 group_id = 1 [(.key_field) = true]; +inline bool CSOPartyInvite::_internal_has_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOPartyInvite::has_group_id() const { + return _internal_has_group_id(); +} +inline void CSOPartyInvite::clear_group_id() { + _impl_.group_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CSOPartyInvite::_internal_group_id() const { + return _impl_.group_id_; +} +inline uint64_t CSOPartyInvite::group_id() const { + // @@protoc_insertion_point(field_get:CSOPartyInvite.group_id) + return _internal_group_id(); +} +inline void CSOPartyInvite::_internal_set_group_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.group_id_ = value; +} +inline void CSOPartyInvite::set_group_id(uint64_t value) { + _internal_set_group_id(value); + // @@protoc_insertion_point(field_set:CSOPartyInvite.group_id) +} + +// optional fixed64 sender_id = 2; +inline bool CSOPartyInvite::_internal_has_sender_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOPartyInvite::has_sender_id() const { + return _internal_has_sender_id(); +} +inline void CSOPartyInvite::clear_sender_id() { + _impl_.sender_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CSOPartyInvite::_internal_sender_id() const { + return _impl_.sender_id_; +} +inline uint64_t CSOPartyInvite::sender_id() const { + // @@protoc_insertion_point(field_get:CSOPartyInvite.sender_id) + return _internal_sender_id(); +} +inline void CSOPartyInvite::_internal_set_sender_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sender_id_ = value; +} +inline void CSOPartyInvite::set_sender_id(uint64_t value) { + _internal_set_sender_id(value); + // @@protoc_insertion_point(field_set:CSOPartyInvite.sender_id) +} + +// optional string sender_name = 3; +inline bool CSOPartyInvite::_internal_has_sender_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOPartyInvite::has_sender_name() const { + return _internal_has_sender_name(); +} +inline void CSOPartyInvite::clear_sender_name() { + _impl_.sender_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOPartyInvite::sender_name() const { + // @@protoc_insertion_point(field_get:CSOPartyInvite.sender_name) + return _internal_sender_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOPartyInvite::set_sender_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sender_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOPartyInvite.sender_name) +} +inline std::string* CSOPartyInvite::mutable_sender_name() { + std::string* _s = _internal_mutable_sender_name(); + // @@protoc_insertion_point(field_mutable:CSOPartyInvite.sender_name) + return _s; +} +inline const std::string& CSOPartyInvite::_internal_sender_name() const { + return _impl_.sender_name_.Get(); +} +inline void CSOPartyInvite::_internal_set_sender_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sender_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOPartyInvite::_internal_mutable_sender_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sender_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOPartyInvite::release_sender_name() { + // @@protoc_insertion_point(field_release:CSOPartyInvite.sender_name) + if (!_internal_has_sender_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sender_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sender_name_.IsDefault()) { + _impl_.sender_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOPartyInvite::set_allocated_sender_name(std::string* sender_name) { + if (sender_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sender_name_.SetAllocated(sender_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sender_name_.IsDefault()) { + _impl_.sender_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOPartyInvite.sender_name) +} + +// ------------------------------------------------------------------- + +// CSOLobbyInvite + +// optional uint64 group_id = 1 [(.key_field) = true]; +inline bool CSOLobbyInvite::_internal_has_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOLobbyInvite::has_group_id() const { + return _internal_has_group_id(); +} +inline void CSOLobbyInvite::clear_group_id() { + _impl_.group_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CSOLobbyInvite::_internal_group_id() const { + return _impl_.group_id_; +} +inline uint64_t CSOLobbyInvite::group_id() const { + // @@protoc_insertion_point(field_get:CSOLobbyInvite.group_id) + return _internal_group_id(); +} +inline void CSOLobbyInvite::_internal_set_group_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.group_id_ = value; +} +inline void CSOLobbyInvite::set_group_id(uint64_t value) { + _internal_set_group_id(value); + // @@protoc_insertion_point(field_set:CSOLobbyInvite.group_id) +} + +// optional fixed64 sender_id = 2; +inline bool CSOLobbyInvite::_internal_has_sender_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOLobbyInvite::has_sender_id() const { + return _internal_has_sender_id(); +} +inline void CSOLobbyInvite::clear_sender_id() { + _impl_.sender_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CSOLobbyInvite::_internal_sender_id() const { + return _impl_.sender_id_; +} +inline uint64_t CSOLobbyInvite::sender_id() const { + // @@protoc_insertion_point(field_get:CSOLobbyInvite.sender_id) + return _internal_sender_id(); +} +inline void CSOLobbyInvite::_internal_set_sender_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sender_id_ = value; +} +inline void CSOLobbyInvite::set_sender_id(uint64_t value) { + _internal_set_sender_id(value); + // @@protoc_insertion_point(field_set:CSOLobbyInvite.sender_id) +} + +// optional string sender_name = 3; +inline bool CSOLobbyInvite::_internal_has_sender_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOLobbyInvite::has_sender_name() const { + return _internal_has_sender_name(); +} +inline void CSOLobbyInvite::clear_sender_name() { + _impl_.sender_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOLobbyInvite::sender_name() const { + // @@protoc_insertion_point(field_get:CSOLobbyInvite.sender_name) + return _internal_sender_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOLobbyInvite::set_sender_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sender_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOLobbyInvite.sender_name) +} +inline std::string* CSOLobbyInvite::mutable_sender_name() { + std::string* _s = _internal_mutable_sender_name(); + // @@protoc_insertion_point(field_mutable:CSOLobbyInvite.sender_name) + return _s; +} +inline const std::string& CSOLobbyInvite::_internal_sender_name() const { + return _impl_.sender_name_.Get(); +} +inline void CSOLobbyInvite::_internal_set_sender_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sender_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOLobbyInvite::_internal_mutable_sender_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sender_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOLobbyInvite::release_sender_name() { + // @@protoc_insertion_point(field_release:CSOLobbyInvite.sender_name) + if (!_internal_has_sender_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sender_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sender_name_.IsDefault()) { + _impl_.sender_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOLobbyInvite::set_allocated_sender_name(std::string* sender_name) { + if (sender_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sender_name_.SetAllocated(sender_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sender_name_.IsDefault()) { + _impl_.sender_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOLobbyInvite.sender_name) +} + +// ------------------------------------------------------------------- + +// CMsgSystemBroadcast + +// optional string message = 1; +inline bool CMsgSystemBroadcast::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSystemBroadcast::has_message() const { + return _internal_has_message(); +} +inline void CMsgSystemBroadcast::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSystemBroadcast::message() const { + // @@protoc_insertion_point(field_get:CMsgSystemBroadcast.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSystemBroadcast::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSystemBroadcast.message) +} +inline std::string* CMsgSystemBroadcast::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CMsgSystemBroadcast.message) + return _s; +} +inline const std::string& CMsgSystemBroadcast::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CMsgSystemBroadcast::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSystemBroadcast::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSystemBroadcast::release_message() { + // @@protoc_insertion_point(field_release:CMsgSystemBroadcast.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSystemBroadcast::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSystemBroadcast.message) +} + +// ------------------------------------------------------------------- + +// CMsgInviteToParty + +// optional fixed64 steam_id = 1; +inline bool CMsgInviteToParty::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgInviteToParty::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgInviteToParty::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgInviteToParty::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgInviteToParty::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgInviteToParty.steam_id) + return _internal_steam_id(); +} +inline void CMsgInviteToParty::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steam_id_ = value; +} +inline void CMsgInviteToParty::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgInviteToParty.steam_id) +} + +// optional uint32 client_version = 2; +inline bool CMsgInviteToParty::_internal_has_client_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgInviteToParty::has_client_version() const { + return _internal_has_client_version(); +} +inline void CMsgInviteToParty::clear_client_version() { + _impl_.client_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgInviteToParty::_internal_client_version() const { + return _impl_.client_version_; +} +inline uint32_t CMsgInviteToParty::client_version() const { + // @@protoc_insertion_point(field_get:CMsgInviteToParty.client_version) + return _internal_client_version(); +} +inline void CMsgInviteToParty::_internal_set_client_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.client_version_ = value; +} +inline void CMsgInviteToParty::set_client_version(uint32_t value) { + _internal_set_client_version(value); + // @@protoc_insertion_point(field_set:CMsgInviteToParty.client_version) +} + +// optional uint32 team_invite = 3; +inline bool CMsgInviteToParty::_internal_has_team_invite() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgInviteToParty::has_team_invite() const { + return _internal_has_team_invite(); +} +inline void CMsgInviteToParty::clear_team_invite() { + _impl_.team_invite_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgInviteToParty::_internal_team_invite() const { + return _impl_.team_invite_; +} +inline uint32_t CMsgInviteToParty::team_invite() const { + // @@protoc_insertion_point(field_get:CMsgInviteToParty.team_invite) + return _internal_team_invite(); +} +inline void CMsgInviteToParty::_internal_set_team_invite(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_invite_ = value; +} +inline void CMsgInviteToParty::set_team_invite(uint32_t value) { + _internal_set_team_invite(value); + // @@protoc_insertion_point(field_set:CMsgInviteToParty.team_invite) +} + +// ------------------------------------------------------------------- + +// CMsgInvitationCreated + +// optional uint64 group_id = 1; +inline bool CMsgInvitationCreated::_internal_has_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgInvitationCreated::has_group_id() const { + return _internal_has_group_id(); +} +inline void CMsgInvitationCreated::clear_group_id() { + _impl_.group_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgInvitationCreated::_internal_group_id() const { + return _impl_.group_id_; +} +inline uint64_t CMsgInvitationCreated::group_id() const { + // @@protoc_insertion_point(field_get:CMsgInvitationCreated.group_id) + return _internal_group_id(); +} +inline void CMsgInvitationCreated::_internal_set_group_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.group_id_ = value; +} +inline void CMsgInvitationCreated::set_group_id(uint64_t value) { + _internal_set_group_id(value); + // @@protoc_insertion_point(field_set:CMsgInvitationCreated.group_id) +} + +// optional fixed64 steam_id = 2; +inline bool CMsgInvitationCreated::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgInvitationCreated::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgInvitationCreated::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgInvitationCreated::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgInvitationCreated::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgInvitationCreated.steam_id) + return _internal_steam_id(); +} +inline void CMsgInvitationCreated::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steam_id_ = value; +} +inline void CMsgInvitationCreated::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgInvitationCreated.steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgPartyInviteResponse + +// optional uint64 party_id = 1; +inline bool CMsgPartyInviteResponse::_internal_has_party_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgPartyInviteResponse::has_party_id() const { + return _internal_has_party_id(); +} +inline void CMsgPartyInviteResponse::clear_party_id() { + _impl_.party_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgPartyInviteResponse::_internal_party_id() const { + return _impl_.party_id_; +} +inline uint64_t CMsgPartyInviteResponse::party_id() const { + // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.party_id) + return _internal_party_id(); +} +inline void CMsgPartyInviteResponse::_internal_set_party_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.party_id_ = value; +} +inline void CMsgPartyInviteResponse::set_party_id(uint64_t value) { + _internal_set_party_id(value); + // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.party_id) +} + +// optional bool accept = 2; +inline bool CMsgPartyInviteResponse::_internal_has_accept() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgPartyInviteResponse::has_accept() const { + return _internal_has_accept(); +} +inline void CMsgPartyInviteResponse::clear_accept() { + _impl_.accept_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CMsgPartyInviteResponse::_internal_accept() const { + return _impl_.accept_; +} +inline bool CMsgPartyInviteResponse::accept() const { + // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.accept) + return _internal_accept(); +} +inline void CMsgPartyInviteResponse::_internal_set_accept(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accept_ = value; +} +inline void CMsgPartyInviteResponse::set_accept(bool value) { + _internal_set_accept(value); + // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.accept) +} + +// optional uint32 client_version = 3; +inline bool CMsgPartyInviteResponse::_internal_has_client_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgPartyInviteResponse::has_client_version() const { + return _internal_has_client_version(); +} +inline void CMsgPartyInviteResponse::clear_client_version() { + _impl_.client_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgPartyInviteResponse::_internal_client_version() const { + return _impl_.client_version_; +} +inline uint32_t CMsgPartyInviteResponse::client_version() const { + // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.client_version) + return _internal_client_version(); +} +inline void CMsgPartyInviteResponse::_internal_set_client_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_version_ = value; +} +inline void CMsgPartyInviteResponse::set_client_version(uint32_t value) { + _internal_set_client_version(value); + // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.client_version) +} + +// optional uint32 team_invite = 4; +inline bool CMsgPartyInviteResponse::_internal_has_team_invite() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgPartyInviteResponse::has_team_invite() const { + return _internal_has_team_invite(); +} +inline void CMsgPartyInviteResponse::clear_team_invite() { + _impl_.team_invite_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgPartyInviteResponse::_internal_team_invite() const { + return _impl_.team_invite_; +} +inline uint32_t CMsgPartyInviteResponse::team_invite() const { + // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.team_invite) + return _internal_team_invite(); +} +inline void CMsgPartyInviteResponse::_internal_set_team_invite(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.team_invite_ = value; +} +inline void CMsgPartyInviteResponse::set_team_invite(uint32_t value) { + _internal_set_team_invite(value); + // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.team_invite) +} + +// ------------------------------------------------------------------- + +// CMsgKickFromParty + +// optional fixed64 steam_id = 1; +inline bool CMsgKickFromParty::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgKickFromParty::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgKickFromParty::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgKickFromParty::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgKickFromParty::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgKickFromParty.steam_id) + return _internal_steam_id(); +} +inline void CMsgKickFromParty::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steam_id_ = value; +} +inline void CMsgKickFromParty::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgKickFromParty.steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgLeaveParty + +// ------------------------------------------------------------------- + +// CMsgServerAvailable + +// ------------------------------------------------------------------- + +// CMsgLANServerAvailable + +// optional fixed64 lobby_id = 1; +inline bool CMsgLANServerAvailable::_internal_has_lobby_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgLANServerAvailable::has_lobby_id() const { + return _internal_has_lobby_id(); +} +inline void CMsgLANServerAvailable::clear_lobby_id() { + _impl_.lobby_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgLANServerAvailable::_internal_lobby_id() const { + return _impl_.lobby_id_; +} +inline uint64_t CMsgLANServerAvailable::lobby_id() const { + // @@protoc_insertion_point(field_get:CMsgLANServerAvailable.lobby_id) + return _internal_lobby_id(); +} +inline void CMsgLANServerAvailable::_internal_set_lobby_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.lobby_id_ = value; +} +inline void CMsgLANServerAvailable::set_lobby_id(uint64_t value) { + _internal_set_lobby_id(value); + // @@protoc_insertion_point(field_set:CMsgLANServerAvailable.lobby_id) +} + +// ------------------------------------------------------------------- + +// CSOEconGameAccountClient + +// optional uint32 additional_backpack_slots = 1 [default = 0]; +inline bool CSOEconGameAccountClient::_internal_has_additional_backpack_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_additional_backpack_slots() const { + return _internal_has_additional_backpack_slots(); +} +inline void CSOEconGameAccountClient::clear_additional_backpack_slots() { + _impl_.additional_backpack_slots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconGameAccountClient::_internal_additional_backpack_slots() const { + return _impl_.additional_backpack_slots_; +} +inline uint32_t CSOEconGameAccountClient::additional_backpack_slots() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.additional_backpack_slots) + return _internal_additional_backpack_slots(); +} +inline void CSOEconGameAccountClient::_internal_set_additional_backpack_slots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.additional_backpack_slots_ = value; +} +inline void CSOEconGameAccountClient::set_additional_backpack_slots(uint32_t value) { + _internal_set_additional_backpack_slots(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.additional_backpack_slots) +} + +// optional fixed32 trade_ban_expiration = 6; +inline bool CSOEconGameAccountClient::_internal_has_trade_ban_expiration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_trade_ban_expiration() const { + return _internal_has_trade_ban_expiration(); +} +inline void CSOEconGameAccountClient::clear_trade_ban_expiration() { + _impl_.trade_ban_expiration_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconGameAccountClient::_internal_trade_ban_expiration() const { + return _impl_.trade_ban_expiration_; +} +inline uint32_t CSOEconGameAccountClient::trade_ban_expiration() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.trade_ban_expiration) + return _internal_trade_ban_expiration(); +} +inline void CSOEconGameAccountClient::_internal_set_trade_ban_expiration(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.trade_ban_expiration_ = value; +} +inline void CSOEconGameAccountClient::set_trade_ban_expiration(uint32_t value) { + _internal_set_trade_ban_expiration(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.trade_ban_expiration) +} + +// optional fixed32 bonus_xp_timestamp_refresh = 12; +inline bool CSOEconGameAccountClient::_internal_has_bonus_xp_timestamp_refresh() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_bonus_xp_timestamp_refresh() const { + return _internal_has_bonus_xp_timestamp_refresh(); +} +inline void CSOEconGameAccountClient::clear_bonus_xp_timestamp_refresh() { + _impl_.bonus_xp_timestamp_refresh_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconGameAccountClient::_internal_bonus_xp_timestamp_refresh() const { + return _impl_.bonus_xp_timestamp_refresh_; +} +inline uint32_t CSOEconGameAccountClient::bonus_xp_timestamp_refresh() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.bonus_xp_timestamp_refresh) + return _internal_bonus_xp_timestamp_refresh(); +} +inline void CSOEconGameAccountClient::_internal_set_bonus_xp_timestamp_refresh(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bonus_xp_timestamp_refresh_ = value; +} +inline void CSOEconGameAccountClient::set_bonus_xp_timestamp_refresh(uint32_t value) { + _internal_set_bonus_xp_timestamp_refresh(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.bonus_xp_timestamp_refresh) +} + +// optional uint32 bonus_xp_usedflags = 13; +inline bool CSOEconGameAccountClient::_internal_has_bonus_xp_usedflags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_bonus_xp_usedflags() const { + return _internal_has_bonus_xp_usedflags(); +} +inline void CSOEconGameAccountClient::clear_bonus_xp_usedflags() { + _impl_.bonus_xp_usedflags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconGameAccountClient::_internal_bonus_xp_usedflags() const { + return _impl_.bonus_xp_usedflags_; +} +inline uint32_t CSOEconGameAccountClient::bonus_xp_usedflags() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.bonus_xp_usedflags) + return _internal_bonus_xp_usedflags(); +} +inline void CSOEconGameAccountClient::_internal_set_bonus_xp_usedflags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.bonus_xp_usedflags_ = value; +} +inline void CSOEconGameAccountClient::set_bonus_xp_usedflags(uint32_t value) { + _internal_set_bonus_xp_usedflags(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.bonus_xp_usedflags) +} + +// optional uint32 elevated_state = 14; +inline bool CSOEconGameAccountClient::_internal_has_elevated_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_elevated_state() const { + return _internal_has_elevated_state(); +} +inline void CSOEconGameAccountClient::clear_elevated_state() { + _impl_.elevated_state_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOEconGameAccountClient::_internal_elevated_state() const { + return _impl_.elevated_state_; +} +inline uint32_t CSOEconGameAccountClient::elevated_state() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.elevated_state) + return _internal_elevated_state(); +} +inline void CSOEconGameAccountClient::_internal_set_elevated_state(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.elevated_state_ = value; +} +inline void CSOEconGameAccountClient::set_elevated_state(uint32_t value) { + _internal_set_elevated_state(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.elevated_state) +} + +// optional uint32 elevated_timestamp = 15; +inline bool CSOEconGameAccountClient::_internal_has_elevated_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOEconGameAccountClient::has_elevated_timestamp() const { + return _internal_has_elevated_timestamp(); +} +inline void CSOEconGameAccountClient::clear_elevated_timestamp() { + _impl_.elevated_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSOEconGameAccountClient::_internal_elevated_timestamp() const { + return _impl_.elevated_timestamp_; +} +inline uint32_t CSOEconGameAccountClient::elevated_timestamp() const { + // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.elevated_timestamp) + return _internal_elevated_timestamp(); +} +inline void CSOEconGameAccountClient::_internal_set_elevated_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.elevated_timestamp_ = value; +} +inline void CSOEconGameAccountClient::set_elevated_timestamp(uint32_t value) { + _internal_set_elevated_timestamp(value); + // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.elevated_timestamp) +} + +// ------------------------------------------------------------------- + +// CSOItemCriteriaCondition + +// optional int32 op = 1; +inline bool CSOItemCriteriaCondition::_internal_has_op() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOItemCriteriaCondition::has_op() const { + return _internal_has_op(); +} +inline void CSOItemCriteriaCondition::clear_op() { + _impl_.op_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSOItemCriteriaCondition::_internal_op() const { + return _impl_.op_; +} +inline int32_t CSOItemCriteriaCondition::op() const { + // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.op) + return _internal_op(); +} +inline void CSOItemCriteriaCondition::_internal_set_op(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.op_ = value; +} +inline void CSOItemCriteriaCondition::set_op(int32_t value) { + _internal_set_op(value); + // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.op) +} + +// optional string field = 2; +inline bool CSOItemCriteriaCondition::_internal_has_field() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOItemCriteriaCondition::has_field() const { + return _internal_has_field(); +} +inline void CSOItemCriteriaCondition::clear_field() { + _impl_.field_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOItemCriteriaCondition::field() const { + // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.field) + return _internal_field(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemCriteriaCondition::set_field(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.field_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.field) +} +inline std::string* CSOItemCriteriaCondition::mutable_field() { + std::string* _s = _internal_mutable_field(); + // @@protoc_insertion_point(field_mutable:CSOItemCriteriaCondition.field) + return _s; +} +inline const std::string& CSOItemCriteriaCondition::_internal_field() const { + return _impl_.field_.Get(); +} +inline void CSOItemCriteriaCondition::_internal_set_field(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.field_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemCriteriaCondition::_internal_mutable_field() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.field_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemCriteriaCondition::release_field() { + // @@protoc_insertion_point(field_release:CSOItemCriteriaCondition.field) + if (!_internal_has_field()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.field_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.field_.IsDefault()) { + _impl_.field_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemCriteriaCondition::set_allocated_field(std::string* field) { + if (field != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.field_.SetAllocated(field, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.field_.IsDefault()) { + _impl_.field_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemCriteriaCondition.field) +} + +// optional bool required = 3; +inline bool CSOItemCriteriaCondition::_internal_has_required() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOItemCriteriaCondition::has_required() const { + return _internal_has_required(); +} +inline void CSOItemCriteriaCondition::clear_required() { + _impl_.required_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CSOItemCriteriaCondition::_internal_required() const { + return _impl_.required_; +} +inline bool CSOItemCriteriaCondition::required() const { + // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.required) + return _internal_required(); +} +inline void CSOItemCriteriaCondition::_internal_set_required(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.required_ = value; +} +inline void CSOItemCriteriaCondition::set_required(bool value) { + _internal_set_required(value); + // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.required) +} + +// optional float float_value = 4; +inline bool CSOItemCriteriaCondition::_internal_has_float_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOItemCriteriaCondition::has_float_value() const { + return _internal_has_float_value(); +} +inline void CSOItemCriteriaCondition::clear_float_value() { + _impl_.float_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CSOItemCriteriaCondition::_internal_float_value() const { + return _impl_.float_value_; +} +inline float CSOItemCriteriaCondition::float_value() const { + // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.float_value) + return _internal_float_value(); +} +inline void CSOItemCriteriaCondition::_internal_set_float_value(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.float_value_ = value; +} +inline void CSOItemCriteriaCondition::set_float_value(float value) { + _internal_set_float_value(value); + // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.float_value) +} + +// optional string string_value = 5; +inline bool CSOItemCriteriaCondition::_internal_has_string_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOItemCriteriaCondition::has_string_value() const { + return _internal_has_string_value(); +} +inline void CSOItemCriteriaCondition::clear_string_value() { + _impl_.string_value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSOItemCriteriaCondition::string_value() const { + // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.string_value) + return _internal_string_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemCriteriaCondition::set_string_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.string_value) +} +inline std::string* CSOItemCriteriaCondition::mutable_string_value() { + std::string* _s = _internal_mutable_string_value(); + // @@protoc_insertion_point(field_mutable:CSOItemCriteriaCondition.string_value) + return _s; +} +inline const std::string& CSOItemCriteriaCondition::_internal_string_value() const { + return _impl_.string_value_.Get(); +} +inline void CSOItemCriteriaCondition::_internal_set_string_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemCriteriaCondition::_internal_mutable_string_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.string_value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemCriteriaCondition::release_string_value() { + // @@protoc_insertion_point(field_release:CSOItemCriteriaCondition.string_value) + if (!_internal_has_string_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.string_value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemCriteriaCondition::set_allocated_string_value(std::string* string_value) { + if (string_value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemCriteriaCondition.string_value) +} + +// ------------------------------------------------------------------- + +// CSOItemCriteria + +// optional uint32 item_level = 1; +inline bool CSOItemCriteria::_internal_has_item_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_level() const { + return _internal_has_item_level(); +} +inline void CSOItemCriteria::clear_item_level() { + _impl_.item_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOItemCriteria::_internal_item_level() const { + return _impl_.item_level_; +} +inline uint32_t CSOItemCriteria::item_level() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_level) + return _internal_item_level(); +} +inline void CSOItemCriteria::_internal_set_item_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_level_ = value; +} +inline void CSOItemCriteria::set_item_level(uint32_t value) { + _internal_set_item_level(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_level) +} + +// optional int32 item_quality = 2; +inline bool CSOItemCriteria::_internal_has_item_quality() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_quality() const { + return _internal_has_item_quality(); +} +inline void CSOItemCriteria::clear_item_quality() { + _impl_.item_quality_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSOItemCriteria::_internal_item_quality() const { + return _impl_.item_quality_; +} +inline int32_t CSOItemCriteria::item_quality() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_quality) + return _internal_item_quality(); +} +inline void CSOItemCriteria::_internal_set_item_quality(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_quality_ = value; +} +inline void CSOItemCriteria::set_item_quality(int32_t value) { + _internal_set_item_quality(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_quality) +} + +// optional bool item_level_set = 3; +inline bool CSOItemCriteria::_internal_has_item_level_set() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_level_set() const { + return _internal_has_item_level_set(); +} +inline void CSOItemCriteria::clear_item_level_set() { + _impl_.item_level_set_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CSOItemCriteria::_internal_item_level_set() const { + return _impl_.item_level_set_; +} +inline bool CSOItemCriteria::item_level_set() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_level_set) + return _internal_item_level_set(); +} +inline void CSOItemCriteria::_internal_set_item_level_set(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.item_level_set_ = value; +} +inline void CSOItemCriteria::set_item_level_set(bool value) { + _internal_set_item_level_set(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_level_set) +} + +// optional bool item_quality_set = 4; +inline bool CSOItemCriteria::_internal_has_item_quality_set() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_quality_set() const { + return _internal_has_item_quality_set(); +} +inline void CSOItemCriteria::clear_item_quality_set() { + _impl_.item_quality_set_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CSOItemCriteria::_internal_item_quality_set() const { + return _impl_.item_quality_set_; +} +inline bool CSOItemCriteria::item_quality_set() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_quality_set) + return _internal_item_quality_set(); +} +inline void CSOItemCriteria::_internal_set_item_quality_set(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.item_quality_set_ = value; +} +inline void CSOItemCriteria::set_item_quality_set(bool value) { + _internal_set_item_quality_set(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_quality_set) +} + +// optional uint32 initial_inventory = 5; +inline bool CSOItemCriteria::_internal_has_initial_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOItemCriteria::has_initial_inventory() const { + return _internal_has_initial_inventory(); +} +inline void CSOItemCriteria::clear_initial_inventory() { + _impl_.initial_inventory_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOItemCriteria::_internal_initial_inventory() const { + return _impl_.initial_inventory_; +} +inline uint32_t CSOItemCriteria::initial_inventory() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.initial_inventory) + return _internal_initial_inventory(); +} +inline void CSOItemCriteria::_internal_set_initial_inventory(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.initial_inventory_ = value; +} +inline void CSOItemCriteria::set_initial_inventory(uint32_t value) { + _internal_set_initial_inventory(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.initial_inventory) +} + +// optional uint32 initial_quantity = 6; +inline bool CSOItemCriteria::_internal_has_initial_quantity() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOItemCriteria::has_initial_quantity() const { + return _internal_has_initial_quantity(); +} +inline void CSOItemCriteria::clear_initial_quantity() { + _impl_.initial_quantity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOItemCriteria::_internal_initial_quantity() const { + return _impl_.initial_quantity_; +} +inline uint32_t CSOItemCriteria::initial_quantity() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.initial_quantity) + return _internal_initial_quantity(); +} +inline void CSOItemCriteria::_internal_set_initial_quantity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.initial_quantity_ = value; +} +inline void CSOItemCriteria::set_initial_quantity(uint32_t value) { + _internal_set_initial_quantity(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.initial_quantity) +} + +// optional bool ignore_enabled_flag = 8; +inline bool CSOItemCriteria::_internal_has_ignore_enabled_flag() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSOItemCriteria::has_ignore_enabled_flag() const { + return _internal_has_ignore_enabled_flag(); +} +inline void CSOItemCriteria::clear_ignore_enabled_flag() { + _impl_.ignore_enabled_flag_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CSOItemCriteria::_internal_ignore_enabled_flag() const { + return _impl_.ignore_enabled_flag_; +} +inline bool CSOItemCriteria::ignore_enabled_flag() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.ignore_enabled_flag) + return _internal_ignore_enabled_flag(); +} +inline void CSOItemCriteria::_internal_set_ignore_enabled_flag(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ignore_enabled_flag_ = value; +} +inline void CSOItemCriteria::set_ignore_enabled_flag(bool value) { + _internal_set_ignore_enabled_flag(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.ignore_enabled_flag) +} + +// repeated .CSOItemCriteriaCondition conditions = 9; +inline int CSOItemCriteria::_internal_conditions_size() const { + return _impl_.conditions_.size(); +} +inline int CSOItemCriteria::conditions_size() const { + return _internal_conditions_size(); +} +inline void CSOItemCriteria::clear_conditions() { + _impl_.conditions_.Clear(); +} +inline ::CSOItemCriteriaCondition* CSOItemCriteria::mutable_conditions(int index) { + // @@protoc_insertion_point(field_mutable:CSOItemCriteria.conditions) + return _impl_.conditions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >* +CSOItemCriteria::mutable_conditions() { + // @@protoc_insertion_point(field_mutable_list:CSOItemCriteria.conditions) + return &_impl_.conditions_; +} +inline const ::CSOItemCriteriaCondition& CSOItemCriteria::_internal_conditions(int index) const { + return _impl_.conditions_.Get(index); +} +inline const ::CSOItemCriteriaCondition& CSOItemCriteria::conditions(int index) const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.conditions) + return _internal_conditions(index); +} +inline ::CSOItemCriteriaCondition* CSOItemCriteria::_internal_add_conditions() { + return _impl_.conditions_.Add(); +} +inline ::CSOItemCriteriaCondition* CSOItemCriteria::add_conditions() { + ::CSOItemCriteriaCondition* _add = _internal_add_conditions(); + // @@protoc_insertion_point(field_add:CSOItemCriteria.conditions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >& +CSOItemCriteria::conditions() const { + // @@protoc_insertion_point(field_list:CSOItemCriteria.conditions) + return _impl_.conditions_; +} + +// optional int32 item_rarity = 10; +inline bool CSOItemCriteria::_internal_has_item_rarity() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_rarity() const { + return _internal_has_item_rarity(); +} +inline void CSOItemCriteria::clear_item_rarity() { + _impl_.item_rarity_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CSOItemCriteria::_internal_item_rarity() const { + return _impl_.item_rarity_; +} +inline int32_t CSOItemCriteria::item_rarity() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_rarity) + return _internal_item_rarity(); +} +inline void CSOItemCriteria::_internal_set_item_rarity(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.item_rarity_ = value; +} +inline void CSOItemCriteria::set_item_rarity(int32_t value) { + _internal_set_item_rarity(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_rarity) +} + +// optional bool item_rarity_set = 11; +inline bool CSOItemCriteria::_internal_has_item_rarity_set() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSOItemCriteria::has_item_rarity_set() const { + return _internal_has_item_rarity_set(); +} +inline void CSOItemCriteria::clear_item_rarity_set() { + _impl_.item_rarity_set_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CSOItemCriteria::_internal_item_rarity_set() const { + return _impl_.item_rarity_set_; +} +inline bool CSOItemCriteria::item_rarity_set() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.item_rarity_set) + return _internal_item_rarity_set(); +} +inline void CSOItemCriteria::_internal_set_item_rarity_set(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.item_rarity_set_ = value; +} +inline void CSOItemCriteria::set_item_rarity_set(bool value) { + _internal_set_item_rarity_set(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.item_rarity_set) +} + +// optional bool recent_only = 12; +inline bool CSOItemCriteria::_internal_has_recent_only() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSOItemCriteria::has_recent_only() const { + return _internal_has_recent_only(); +} +inline void CSOItemCriteria::clear_recent_only() { + _impl_.recent_only_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CSOItemCriteria::_internal_recent_only() const { + return _impl_.recent_only_; +} +inline bool CSOItemCriteria::recent_only() const { + // @@protoc_insertion_point(field_get:CSOItemCriteria.recent_only) + return _internal_recent_only(); +} +inline void CSOItemCriteria::_internal_set_recent_only(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.recent_only_ = value; +} +inline void CSOItemCriteria::set_recent_only(bool value) { + _internal_set_recent_only(value); + // @@protoc_insertion_point(field_set:CSOItemCriteria.recent_only) +} + +// ------------------------------------------------------------------- + +// CSOItemRecipe + +// optional uint32 def_index = 1; +inline bool CSOItemRecipe::_internal_has_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSOItemRecipe::has_def_index() const { + return _internal_has_def_index(); +} +inline void CSOItemRecipe::clear_def_index() { + _impl_.def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CSOItemRecipe::_internal_def_index() const { + return _impl_.def_index_; +} +inline uint32_t CSOItemRecipe::def_index() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.def_index) + return _internal_def_index(); +} +inline void CSOItemRecipe::_internal_set_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.def_index_ = value; +} +inline void CSOItemRecipe::set_def_index(uint32_t value) { + _internal_set_def_index(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.def_index) +} + +// optional string name = 2; +inline bool CSOItemRecipe::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOItemRecipe::has_name() const { + return _internal_has_name(); +} +inline void CSOItemRecipe::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOItemRecipe::name() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.name) +} +inline std::string* CSOItemRecipe::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.name) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CSOItemRecipe::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_name() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CSOItemRecipe.name) +} + +// optional string n_a = 3; +inline bool CSOItemRecipe::_internal_has_n_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOItemRecipe::has_n_a() const { + return _internal_has_n_a(); +} +inline void CSOItemRecipe::clear_n_a() { + _impl_.n_a_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSOItemRecipe::n_a() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.n_a) + return _internal_n_a(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_n_a(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.n_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.n_a) +} +inline std::string* CSOItemRecipe::mutable_n_a() { + std::string* _s = _internal_mutable_n_a(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.n_a) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_n_a() const { + return _impl_.n_a_.Get(); +} +inline void CSOItemRecipe::_internal_set_n_a(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.n_a_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_n_a() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.n_a_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_n_a() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.n_a) + if (!_internal_has_n_a()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.n_a_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.n_a_.IsDefault()) { + _impl_.n_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_n_a(std::string* n_a) { + if (n_a != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.n_a_.SetAllocated(n_a, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.n_a_.IsDefault()) { + _impl_.n_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.n_a) +} + +// optional string desc_inputs = 4; +inline bool CSOItemRecipe::_internal_has_desc_inputs() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOItemRecipe::has_desc_inputs() const { + return _internal_has_desc_inputs(); +} +inline void CSOItemRecipe::clear_desc_inputs() { + _impl_.desc_inputs_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CSOItemRecipe::desc_inputs() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.desc_inputs) + return _internal_desc_inputs(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_desc_inputs(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.desc_inputs_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.desc_inputs) +} +inline std::string* CSOItemRecipe::mutable_desc_inputs() { + std::string* _s = _internal_mutable_desc_inputs(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.desc_inputs) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_desc_inputs() const { + return _impl_.desc_inputs_.Get(); +} +inline void CSOItemRecipe::_internal_set_desc_inputs(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.desc_inputs_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_desc_inputs() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.desc_inputs_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_desc_inputs() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.desc_inputs) + if (!_internal_has_desc_inputs()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.desc_inputs_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_inputs_.IsDefault()) { + _impl_.desc_inputs_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_desc_inputs(std::string* desc_inputs) { + if (desc_inputs != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.desc_inputs_.SetAllocated(desc_inputs, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_inputs_.IsDefault()) { + _impl_.desc_inputs_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.desc_inputs) +} + +// optional string desc_outputs = 5; +inline bool CSOItemRecipe::_internal_has_desc_outputs() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOItemRecipe::has_desc_outputs() const { + return _internal_has_desc_outputs(); +} +inline void CSOItemRecipe::clear_desc_outputs() { + _impl_.desc_outputs_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CSOItemRecipe::desc_outputs() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.desc_outputs) + return _internal_desc_outputs(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_desc_outputs(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.desc_outputs_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.desc_outputs) +} +inline std::string* CSOItemRecipe::mutable_desc_outputs() { + std::string* _s = _internal_mutable_desc_outputs(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.desc_outputs) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_desc_outputs() const { + return _impl_.desc_outputs_.Get(); +} +inline void CSOItemRecipe::_internal_set_desc_outputs(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.desc_outputs_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_desc_outputs() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.desc_outputs_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_desc_outputs() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.desc_outputs) + if (!_internal_has_desc_outputs()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.desc_outputs_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_outputs_.IsDefault()) { + _impl_.desc_outputs_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_desc_outputs(std::string* desc_outputs) { + if (desc_outputs != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.desc_outputs_.SetAllocated(desc_outputs, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_outputs_.IsDefault()) { + _impl_.desc_outputs_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.desc_outputs) +} + +// optional string di_a = 6; +inline bool CSOItemRecipe::_internal_has_di_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOItemRecipe::has_di_a() const { + return _internal_has_di_a(); +} +inline void CSOItemRecipe::clear_di_a() { + _impl_.di_a_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CSOItemRecipe::di_a() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.di_a) + return _internal_di_a(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_di_a(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.di_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.di_a) +} +inline std::string* CSOItemRecipe::mutable_di_a() { + std::string* _s = _internal_mutable_di_a(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_a) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_di_a() const { + return _impl_.di_a_.Get(); +} +inline void CSOItemRecipe::_internal_set_di_a(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.di_a_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_di_a() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.di_a_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_di_a() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.di_a) + if (!_internal_has_di_a()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.di_a_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_a_.IsDefault()) { + _impl_.di_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_di_a(std::string* di_a) { + if (di_a != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.di_a_.SetAllocated(di_a, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_a_.IsDefault()) { + _impl_.di_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_a) +} + +// optional string di_b = 7; +inline bool CSOItemRecipe::_internal_has_di_b() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOItemRecipe::has_di_b() const { + return _internal_has_di_b(); +} +inline void CSOItemRecipe::clear_di_b() { + _impl_.di_b_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CSOItemRecipe::di_b() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.di_b) + return _internal_di_b(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_di_b(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.di_b_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.di_b) +} +inline std::string* CSOItemRecipe::mutable_di_b() { + std::string* _s = _internal_mutable_di_b(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_b) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_di_b() const { + return _impl_.di_b_.Get(); +} +inline void CSOItemRecipe::_internal_set_di_b(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.di_b_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_di_b() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.di_b_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_di_b() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.di_b) + if (!_internal_has_di_b()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.di_b_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_b_.IsDefault()) { + _impl_.di_b_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_di_b(std::string* di_b) { + if (di_b != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.di_b_.SetAllocated(di_b, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_b_.IsDefault()) { + _impl_.di_b_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_b) +} + +// optional string di_c = 8; +inline bool CSOItemRecipe::_internal_has_di_c() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSOItemRecipe::has_di_c() const { + return _internal_has_di_c(); +} +inline void CSOItemRecipe::clear_di_c() { + _impl_.di_c_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CSOItemRecipe::di_c() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.di_c) + return _internal_di_c(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_di_c(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.di_c_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.di_c) +} +inline std::string* CSOItemRecipe::mutable_di_c() { + std::string* _s = _internal_mutable_di_c(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_c) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_di_c() const { + return _impl_.di_c_.Get(); +} +inline void CSOItemRecipe::_internal_set_di_c(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.di_c_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_di_c() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.di_c_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_di_c() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.di_c) + if (!_internal_has_di_c()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.di_c_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_c_.IsDefault()) { + _impl_.di_c_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_di_c(std::string* di_c) { + if (di_c != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.di_c_.SetAllocated(di_c, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.di_c_.IsDefault()) { + _impl_.di_c_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_c) +} + +// optional string do_a = 9; +inline bool CSOItemRecipe::_internal_has_do_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSOItemRecipe::has_do_a() const { + return _internal_has_do_a(); +} +inline void CSOItemRecipe::clear_do_a() { + _impl_.do_a_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CSOItemRecipe::do_a() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.do_a) + return _internal_do_a(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_do_a(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.do_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.do_a) +} +inline std::string* CSOItemRecipe::mutable_do_a() { + std::string* _s = _internal_mutable_do_a(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_a) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_do_a() const { + return _impl_.do_a_.Get(); +} +inline void CSOItemRecipe::_internal_set_do_a(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.do_a_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_do_a() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.do_a_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_do_a() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.do_a) + if (!_internal_has_do_a()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.do_a_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_a_.IsDefault()) { + _impl_.do_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_do_a(std::string* do_a) { + if (do_a != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.do_a_.SetAllocated(do_a, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_a_.IsDefault()) { + _impl_.do_a_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_a) +} + +// optional string do_b = 10; +inline bool CSOItemRecipe::_internal_has_do_b() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSOItemRecipe::has_do_b() const { + return _internal_has_do_b(); +} +inline void CSOItemRecipe::clear_do_b() { + _impl_.do_b_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const std::string& CSOItemRecipe::do_b() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.do_b) + return _internal_do_b(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_do_b(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.do_b_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.do_b) +} +inline std::string* CSOItemRecipe::mutable_do_b() { + std::string* _s = _internal_mutable_do_b(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_b) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_do_b() const { + return _impl_.do_b_.Get(); +} +inline void CSOItemRecipe::_internal_set_do_b(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.do_b_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_do_b() { + _impl_._has_bits_[0] |= 0x00000100u; + return _impl_.do_b_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_do_b() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.do_b) + if (!_internal_has_do_b()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000100u; + auto* p = _impl_.do_b_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_b_.IsDefault()) { + _impl_.do_b_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_do_b(std::string* do_b) { + if (do_b != nullptr) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.do_b_.SetAllocated(do_b, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_b_.IsDefault()) { + _impl_.do_b_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_b) +} + +// optional string do_c = 11; +inline bool CSOItemRecipe::_internal_has_do_c() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSOItemRecipe::has_do_c() const { + return _internal_has_do_c(); +} +inline void CSOItemRecipe::clear_do_c() { + _impl_.do_c_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const std::string& CSOItemRecipe::do_c() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.do_c) + return _internal_do_c(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOItemRecipe::set_do_c(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.do_c_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOItemRecipe.do_c) +} +inline std::string* CSOItemRecipe::mutable_do_c() { + std::string* _s = _internal_mutable_do_c(); + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_c) + return _s; +} +inline const std::string& CSOItemRecipe::_internal_do_c() const { + return _impl_.do_c_.Get(); +} +inline void CSOItemRecipe::_internal_set_do_c(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.do_c_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::_internal_mutable_do_c() { + _impl_._has_bits_[0] |= 0x00000200u; + return _impl_.do_c_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOItemRecipe::release_do_c() { + // @@protoc_insertion_point(field_release:CSOItemRecipe.do_c) + if (!_internal_has_do_c()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000200u; + auto* p = _impl_.do_c_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_c_.IsDefault()) { + _impl_.do_c_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOItemRecipe::set_allocated_do_c(std::string* do_c) { + if (do_c != nullptr) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.do_c_.SetAllocated(do_c, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.do_c_.IsDefault()) { + _impl_.do_c_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_c) +} + +// optional bool requires_all_same_class = 12; +inline bool CSOItemRecipe::_internal_has_requires_all_same_class() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSOItemRecipe::has_requires_all_same_class() const { + return _internal_has_requires_all_same_class(); +} +inline void CSOItemRecipe::clear_requires_all_same_class() { + _impl_.requires_all_same_class_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline bool CSOItemRecipe::_internal_requires_all_same_class() const { + return _impl_.requires_all_same_class_; +} +inline bool CSOItemRecipe::requires_all_same_class() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.requires_all_same_class) + return _internal_requires_all_same_class(); +} +inline void CSOItemRecipe::_internal_set_requires_all_same_class(bool value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.requires_all_same_class_ = value; +} +inline void CSOItemRecipe::set_requires_all_same_class(bool value) { + _internal_set_requires_all_same_class(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.requires_all_same_class) +} + +// optional bool requires_all_same_slot = 13; +inline bool CSOItemRecipe::_internal_has_requires_all_same_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSOItemRecipe::has_requires_all_same_slot() const { + return _internal_has_requires_all_same_slot(); +} +inline void CSOItemRecipe::clear_requires_all_same_slot() { + _impl_.requires_all_same_slot_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline bool CSOItemRecipe::_internal_requires_all_same_slot() const { + return _impl_.requires_all_same_slot_; +} +inline bool CSOItemRecipe::requires_all_same_slot() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.requires_all_same_slot) + return _internal_requires_all_same_slot(); +} +inline void CSOItemRecipe::_internal_set_requires_all_same_slot(bool value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.requires_all_same_slot_ = value; +} +inline void CSOItemRecipe::set_requires_all_same_slot(bool value) { + _internal_set_requires_all_same_slot(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.requires_all_same_slot) +} + +// optional int32 class_usage_for_output = 14; +inline bool CSOItemRecipe::_internal_has_class_usage_for_output() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSOItemRecipe::has_class_usage_for_output() const { + return _internal_has_class_usage_for_output(); +} +inline void CSOItemRecipe::clear_class_usage_for_output() { + _impl_.class_usage_for_output_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CSOItemRecipe::_internal_class_usage_for_output() const { + return _impl_.class_usage_for_output_; +} +inline int32_t CSOItemRecipe::class_usage_for_output() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.class_usage_for_output) + return _internal_class_usage_for_output(); +} +inline void CSOItemRecipe::_internal_set_class_usage_for_output(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.class_usage_for_output_ = value; +} +inline void CSOItemRecipe::set_class_usage_for_output(int32_t value) { + _internal_set_class_usage_for_output(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.class_usage_for_output) +} + +// optional int32 slot_usage_for_output = 15; +inline bool CSOItemRecipe::_internal_has_slot_usage_for_output() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSOItemRecipe::has_slot_usage_for_output() const { + return _internal_has_slot_usage_for_output(); +} +inline void CSOItemRecipe::clear_slot_usage_for_output() { + _impl_.slot_usage_for_output_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CSOItemRecipe::_internal_slot_usage_for_output() const { + return _impl_.slot_usage_for_output_; +} +inline int32_t CSOItemRecipe::slot_usage_for_output() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.slot_usage_for_output) + return _internal_slot_usage_for_output(); +} +inline void CSOItemRecipe::_internal_set_slot_usage_for_output(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.slot_usage_for_output_ = value; +} +inline void CSOItemRecipe::set_slot_usage_for_output(int32_t value) { + _internal_set_slot_usage_for_output(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.slot_usage_for_output) +} + +// optional int32 set_for_output = 16; +inline bool CSOItemRecipe::_internal_has_set_for_output() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSOItemRecipe::has_set_for_output() const { + return _internal_has_set_for_output(); +} +inline void CSOItemRecipe::clear_set_for_output() { + _impl_.set_for_output_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CSOItemRecipe::_internal_set_for_output() const { + return _impl_.set_for_output_; +} +inline int32_t CSOItemRecipe::set_for_output() const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.set_for_output) + return _internal_set_for_output(); +} +inline void CSOItemRecipe::_internal_set_set_for_output(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.set_for_output_ = value; +} +inline void CSOItemRecipe::set_set_for_output(int32_t value) { + _internal_set_set_for_output(value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.set_for_output) +} + +// repeated .CSOItemCriteria input_items_criteria = 20; +inline int CSOItemRecipe::_internal_input_items_criteria_size() const { + return _impl_.input_items_criteria_.size(); +} +inline int CSOItemRecipe::input_items_criteria_size() const { + return _internal_input_items_criteria_size(); +} +inline void CSOItemRecipe::clear_input_items_criteria() { + _impl_.input_items_criteria_.Clear(); +} +inline ::CSOItemCriteria* CSOItemRecipe::mutable_input_items_criteria(int index) { + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.input_items_criteria) + return _impl_.input_items_criteria_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* +CSOItemRecipe::mutable_input_items_criteria() { + // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.input_items_criteria) + return &_impl_.input_items_criteria_; +} +inline const ::CSOItemCriteria& CSOItemRecipe::_internal_input_items_criteria(int index) const { + return _impl_.input_items_criteria_.Get(index); +} +inline const ::CSOItemCriteria& CSOItemRecipe::input_items_criteria(int index) const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.input_items_criteria) + return _internal_input_items_criteria(index); +} +inline ::CSOItemCriteria* CSOItemRecipe::_internal_add_input_items_criteria() { + return _impl_.input_items_criteria_.Add(); +} +inline ::CSOItemCriteria* CSOItemRecipe::add_input_items_criteria() { + ::CSOItemCriteria* _add = _internal_add_input_items_criteria(); + // @@protoc_insertion_point(field_add:CSOItemRecipe.input_items_criteria) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& +CSOItemRecipe::input_items_criteria() const { + // @@protoc_insertion_point(field_list:CSOItemRecipe.input_items_criteria) + return _impl_.input_items_criteria_; +} + +// repeated .CSOItemCriteria output_items_criteria = 21; +inline int CSOItemRecipe::_internal_output_items_criteria_size() const { + return _impl_.output_items_criteria_.size(); +} +inline int CSOItemRecipe::output_items_criteria_size() const { + return _internal_output_items_criteria_size(); +} +inline void CSOItemRecipe::clear_output_items_criteria() { + _impl_.output_items_criteria_.Clear(); +} +inline ::CSOItemCriteria* CSOItemRecipe::mutable_output_items_criteria(int index) { + // @@protoc_insertion_point(field_mutable:CSOItemRecipe.output_items_criteria) + return _impl_.output_items_criteria_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* +CSOItemRecipe::mutable_output_items_criteria() { + // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.output_items_criteria) + return &_impl_.output_items_criteria_; +} +inline const ::CSOItemCriteria& CSOItemRecipe::_internal_output_items_criteria(int index) const { + return _impl_.output_items_criteria_.Get(index); +} +inline const ::CSOItemCriteria& CSOItemRecipe::output_items_criteria(int index) const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.output_items_criteria) + return _internal_output_items_criteria(index); +} +inline ::CSOItemCriteria* CSOItemRecipe::_internal_add_output_items_criteria() { + return _impl_.output_items_criteria_.Add(); +} +inline ::CSOItemCriteria* CSOItemRecipe::add_output_items_criteria() { + ::CSOItemCriteria* _add = _internal_add_output_items_criteria(); + // @@protoc_insertion_point(field_add:CSOItemRecipe.output_items_criteria) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& +CSOItemRecipe::output_items_criteria() const { + // @@protoc_insertion_point(field_list:CSOItemRecipe.output_items_criteria) + return _impl_.output_items_criteria_; +} + +// repeated uint32 input_item_dupe_counts = 22; +inline int CSOItemRecipe::_internal_input_item_dupe_counts_size() const { + return _impl_.input_item_dupe_counts_.size(); +} +inline int CSOItemRecipe::input_item_dupe_counts_size() const { + return _internal_input_item_dupe_counts_size(); +} +inline void CSOItemRecipe::clear_input_item_dupe_counts() { + _impl_.input_item_dupe_counts_.Clear(); +} +inline uint32_t CSOItemRecipe::_internal_input_item_dupe_counts(int index) const { + return _impl_.input_item_dupe_counts_.Get(index); +} +inline uint32_t CSOItemRecipe::input_item_dupe_counts(int index) const { + // @@protoc_insertion_point(field_get:CSOItemRecipe.input_item_dupe_counts) + return _internal_input_item_dupe_counts(index); +} +inline void CSOItemRecipe::set_input_item_dupe_counts(int index, uint32_t value) { + _impl_.input_item_dupe_counts_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOItemRecipe.input_item_dupe_counts) +} +inline void CSOItemRecipe::_internal_add_input_item_dupe_counts(uint32_t value) { + _impl_.input_item_dupe_counts_.Add(value); +} +inline void CSOItemRecipe::add_input_item_dupe_counts(uint32_t value) { + _internal_add_input_item_dupe_counts(value); + // @@protoc_insertion_point(field_add:CSOItemRecipe.input_item_dupe_counts) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOItemRecipe::_internal_input_item_dupe_counts() const { + return _impl_.input_item_dupe_counts_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOItemRecipe::input_item_dupe_counts() const { + // @@protoc_insertion_point(field_list:CSOItemRecipe.input_item_dupe_counts) + return _internal_input_item_dupe_counts(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOItemRecipe::_internal_mutable_input_item_dupe_counts() { + return &_impl_.input_item_dupe_counts_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOItemRecipe::mutable_input_item_dupe_counts() { + // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.input_item_dupe_counts) + return _internal_mutable_input_item_dupe_counts(); +} + +// ------------------------------------------------------------------- + +// CMsgDevNewItemRequest + +// optional fixed64 receiver = 1; +inline bool CMsgDevNewItemRequest::_internal_has_receiver() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgDevNewItemRequest::has_receiver() const { + return _internal_has_receiver(); +} +inline void CMsgDevNewItemRequest::clear_receiver() { + _impl_.receiver_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgDevNewItemRequest::_internal_receiver() const { + return _impl_.receiver_; +} +inline uint64_t CMsgDevNewItemRequest::receiver() const { + // @@protoc_insertion_point(field_get:CMsgDevNewItemRequest.receiver) + return _internal_receiver(); +} +inline void CMsgDevNewItemRequest::_internal_set_receiver(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.receiver_ = value; +} +inline void CMsgDevNewItemRequest::set_receiver(uint64_t value) { + _internal_set_receiver(value); + // @@protoc_insertion_point(field_set:CMsgDevNewItemRequest.receiver) +} + +// optional .CSOItemCriteria criteria = 2; +inline bool CMsgDevNewItemRequest::_internal_has_criteria() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.criteria_ != nullptr); + return value; +} +inline bool CMsgDevNewItemRequest::has_criteria() const { + return _internal_has_criteria(); +} +inline void CMsgDevNewItemRequest::clear_criteria() { + if (_impl_.criteria_ != nullptr) _impl_.criteria_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CSOItemCriteria& CMsgDevNewItemRequest::_internal_criteria() const { + const ::CSOItemCriteria* p = _impl_.criteria_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSOItemCriteria_default_instance_); +} +inline const ::CSOItemCriteria& CMsgDevNewItemRequest::criteria() const { + // @@protoc_insertion_point(field_get:CMsgDevNewItemRequest.criteria) + return _internal_criteria(); +} +inline void CMsgDevNewItemRequest::unsafe_arena_set_allocated_criteria( + ::CSOItemCriteria* criteria) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.criteria_); + } + _impl_.criteria_ = criteria; + if (criteria) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgDevNewItemRequest.criteria) +} +inline ::CSOItemCriteria* CMsgDevNewItemRequest::release_criteria() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSOItemCriteria* temp = _impl_.criteria_; + _impl_.criteria_ = 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 ::CSOItemCriteria* CMsgDevNewItemRequest::unsafe_arena_release_criteria() { + // @@protoc_insertion_point(field_release:CMsgDevNewItemRequest.criteria) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSOItemCriteria* temp = _impl_.criteria_; + _impl_.criteria_ = nullptr; + return temp; +} +inline ::CSOItemCriteria* CMsgDevNewItemRequest::_internal_mutable_criteria() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.criteria_ == nullptr) { + auto* p = CreateMaybeMessage<::CSOItemCriteria>(GetArenaForAllocation()); + _impl_.criteria_ = p; + } + return _impl_.criteria_; +} +inline ::CSOItemCriteria* CMsgDevNewItemRequest::mutable_criteria() { + ::CSOItemCriteria* _msg = _internal_mutable_criteria(); + // @@protoc_insertion_point(field_mutable:CMsgDevNewItemRequest.criteria) + return _msg; +} +inline void CMsgDevNewItemRequest::set_allocated_criteria(::CSOItemCriteria* criteria) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.criteria_; + } + if (criteria) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(criteria); + if (message_arena != submessage_arena) { + criteria = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, criteria, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.criteria_ = criteria; + // @@protoc_insertion_point(field_set_allocated:CMsgDevNewItemRequest.criteria) +} + +// ------------------------------------------------------------------- + +// CMsgIncrementKillCountAttribute + +// optional fixed32 killer_account_id = 1; +inline bool CMsgIncrementKillCountAttribute::_internal_has_killer_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgIncrementKillCountAttribute::has_killer_account_id() const { + return _internal_has_killer_account_id(); +} +inline void CMsgIncrementKillCountAttribute::clear_killer_account_id() { + _impl_.killer_account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgIncrementKillCountAttribute::_internal_killer_account_id() const { + return _impl_.killer_account_id_; +} +inline uint32_t CMsgIncrementKillCountAttribute::killer_account_id() const { + // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.killer_account_id) + return _internal_killer_account_id(); +} +inline void CMsgIncrementKillCountAttribute::_internal_set_killer_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.killer_account_id_ = value; +} +inline void CMsgIncrementKillCountAttribute::set_killer_account_id(uint32_t value) { + _internal_set_killer_account_id(value); + // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.killer_account_id) +} + +// optional fixed32 victim_account_id = 2; +inline bool CMsgIncrementKillCountAttribute::_internal_has_victim_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgIncrementKillCountAttribute::has_victim_account_id() const { + return _internal_has_victim_account_id(); +} +inline void CMsgIncrementKillCountAttribute::clear_victim_account_id() { + _impl_.victim_account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgIncrementKillCountAttribute::_internal_victim_account_id() const { + return _impl_.victim_account_id_; +} +inline uint32_t CMsgIncrementKillCountAttribute::victim_account_id() const { + // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.victim_account_id) + return _internal_victim_account_id(); +} +inline void CMsgIncrementKillCountAttribute::_internal_set_victim_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.victim_account_id_ = value; +} +inline void CMsgIncrementKillCountAttribute::set_victim_account_id(uint32_t value) { + _internal_set_victim_account_id(value); + // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.victim_account_id) +} + +// optional uint64 item_id = 3; +inline bool CMsgIncrementKillCountAttribute::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgIncrementKillCountAttribute::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgIncrementKillCountAttribute::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgIncrementKillCountAttribute::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgIncrementKillCountAttribute::item_id() const { + // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.item_id) + return _internal_item_id(); +} +inline void CMsgIncrementKillCountAttribute::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_id_ = value; +} +inline void CMsgIncrementKillCountAttribute::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.item_id) +} + +// optional uint32 event_type = 4; +inline bool CMsgIncrementKillCountAttribute::_internal_has_event_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgIncrementKillCountAttribute::has_event_type() const { + return _internal_has_event_type(); +} +inline void CMsgIncrementKillCountAttribute::clear_event_type() { + _impl_.event_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgIncrementKillCountAttribute::_internal_event_type() const { + return _impl_.event_type_; +} +inline uint32_t CMsgIncrementKillCountAttribute::event_type() const { + // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.event_type) + return _internal_event_type(); +} +inline void CMsgIncrementKillCountAttribute::_internal_set_event_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.event_type_ = value; +} +inline void CMsgIncrementKillCountAttribute::set_event_type(uint32_t value) { + _internal_set_event_type(value); + // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.event_type) +} + +// optional uint32 amount = 5; +inline bool CMsgIncrementKillCountAttribute::_internal_has_amount() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgIncrementKillCountAttribute::has_amount() const { + return _internal_has_amount(); +} +inline void CMsgIncrementKillCountAttribute::clear_amount() { + _impl_.amount_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgIncrementKillCountAttribute::_internal_amount() const { + return _impl_.amount_; +} +inline uint32_t CMsgIncrementKillCountAttribute::amount() const { + // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.amount) + return _internal_amount(); +} +inline void CMsgIncrementKillCountAttribute::_internal_set_amount(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.amount_ = value; +} +inline void CMsgIncrementKillCountAttribute::set_amount(uint32_t value) { + _internal_set_amount(value); + // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.amount) +} + +// ------------------------------------------------------------------- + +// CMsgApplySticker + +// optional uint64 sticker_item_id = 1; +inline bool CMsgApplySticker::_internal_has_sticker_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_item_id() const { + return _internal_has_sticker_item_id(); +} +inline void CMsgApplySticker::clear_sticker_item_id() { + _impl_.sticker_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgApplySticker::_internal_sticker_item_id() const { + return _impl_.sticker_item_id_; +} +inline uint64_t CMsgApplySticker::sticker_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_item_id) + return _internal_sticker_item_id(); +} +inline void CMsgApplySticker::_internal_set_sticker_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sticker_item_id_ = value; +} +inline void CMsgApplySticker::set_sticker_item_id(uint64_t value) { + _internal_set_sticker_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_item_id) +} + +// optional uint64 item_item_id = 2; +inline bool CMsgApplySticker::_internal_has_item_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgApplySticker::has_item_item_id() const { + return _internal_has_item_item_id(); +} +inline void CMsgApplySticker::clear_item_item_id() { + _impl_.item_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgApplySticker::_internal_item_item_id() const { + return _impl_.item_item_id_; +} +inline uint64_t CMsgApplySticker::item_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.item_item_id) + return _internal_item_item_id(); +} +inline void CMsgApplySticker::_internal_set_item_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_item_id_ = value; +} +inline void CMsgApplySticker::set_item_item_id(uint64_t value) { + _internal_set_item_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.item_item_id) +} + +// optional uint32 sticker_slot = 3; +inline bool CMsgApplySticker::_internal_has_sticker_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_slot() const { + return _internal_has_sticker_slot(); +} +inline void CMsgApplySticker::clear_sticker_slot() { + _impl_.sticker_slot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgApplySticker::_internal_sticker_slot() const { + return _impl_.sticker_slot_; +} +inline uint32_t CMsgApplySticker::sticker_slot() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_slot) + return _internal_sticker_slot(); +} +inline void CMsgApplySticker::_internal_set_sticker_slot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sticker_slot_ = value; +} +inline void CMsgApplySticker::set_sticker_slot(uint32_t value) { + _internal_set_sticker_slot(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_slot) +} + +// optional uint32 baseitem_defidx = 4; +inline bool CMsgApplySticker::_internal_has_baseitem_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgApplySticker::has_baseitem_defidx() const { + return _internal_has_baseitem_defidx(); +} +inline void CMsgApplySticker::clear_baseitem_defidx() { + _impl_.baseitem_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgApplySticker::_internal_baseitem_defidx() const { + return _impl_.baseitem_defidx_; +} +inline uint32_t CMsgApplySticker::baseitem_defidx() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.baseitem_defidx) + return _internal_baseitem_defidx(); +} +inline void CMsgApplySticker::_internal_set_baseitem_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.baseitem_defidx_ = value; +} +inline void CMsgApplySticker::set_baseitem_defidx(uint32_t value) { + _internal_set_baseitem_defidx(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.baseitem_defidx) +} + +// optional float sticker_wear = 5; +inline bool CMsgApplySticker::_internal_has_sticker_wear() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_wear() const { + return _internal_has_sticker_wear(); +} +inline void CMsgApplySticker::clear_sticker_wear() { + _impl_.sticker_wear_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgApplySticker::_internal_sticker_wear() const { + return _impl_.sticker_wear_; +} +inline float CMsgApplySticker::sticker_wear() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_wear) + return _internal_sticker_wear(); +} +inline void CMsgApplySticker::_internal_set_sticker_wear(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.sticker_wear_ = value; +} +inline void CMsgApplySticker::set_sticker_wear(float value) { + _internal_set_sticker_wear(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_wear) +} + +// optional float sticker_rotation = 6; +inline bool CMsgApplySticker::_internal_has_sticker_rotation() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_rotation() const { + return _internal_has_sticker_rotation(); +} +inline void CMsgApplySticker::clear_sticker_rotation() { + _impl_.sticker_rotation_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgApplySticker::_internal_sticker_rotation() const { + return _impl_.sticker_rotation_; +} +inline float CMsgApplySticker::sticker_rotation() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_rotation) + return _internal_sticker_rotation(); +} +inline void CMsgApplySticker::_internal_set_sticker_rotation(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.sticker_rotation_ = value; +} +inline void CMsgApplySticker::set_sticker_rotation(float value) { + _internal_set_sticker_rotation(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_rotation) +} + +// optional float sticker_scale = 7; +inline bool CMsgApplySticker::_internal_has_sticker_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_scale() const { + return _internal_has_sticker_scale(); +} +inline void CMsgApplySticker::clear_sticker_scale() { + _impl_.sticker_scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgApplySticker::_internal_sticker_scale() const { + return _impl_.sticker_scale_; +} +inline float CMsgApplySticker::sticker_scale() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_scale) + return _internal_sticker_scale(); +} +inline void CMsgApplySticker::_internal_set_sticker_scale(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.sticker_scale_ = value; +} +inline void CMsgApplySticker::set_sticker_scale(float value) { + _internal_set_sticker_scale(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_scale) +} + +// optional float sticker_offset_x = 8; +inline bool CMsgApplySticker::_internal_has_sticker_offset_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_offset_x() const { + return _internal_has_sticker_offset_x(); +} +inline void CMsgApplySticker::clear_sticker_offset_x() { + _impl_.sticker_offset_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CMsgApplySticker::_internal_sticker_offset_x() const { + return _impl_.sticker_offset_x_; +} +inline float CMsgApplySticker::sticker_offset_x() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_x) + return _internal_sticker_offset_x(); +} +inline void CMsgApplySticker::_internal_set_sticker_offset_x(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.sticker_offset_x_ = value; +} +inline void CMsgApplySticker::set_sticker_offset_x(float value) { + _internal_set_sticker_offset_x(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_x) +} + +// optional float sticker_offset_y = 9; +inline bool CMsgApplySticker::_internal_has_sticker_offset_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_offset_y() const { + return _internal_has_sticker_offset_y(); +} +inline void CMsgApplySticker::clear_sticker_offset_y() { + _impl_.sticker_offset_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CMsgApplySticker::_internal_sticker_offset_y() const { + return _impl_.sticker_offset_y_; +} +inline float CMsgApplySticker::sticker_offset_y() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_y) + return _internal_sticker_offset_y(); +} +inline void CMsgApplySticker::_internal_set_sticker_offset_y(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.sticker_offset_y_ = value; +} +inline void CMsgApplySticker::set_sticker_offset_y(float value) { + _internal_set_sticker_offset_y(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_y) +} + +// optional float sticker_offset_z = 10; +inline bool CMsgApplySticker::_internal_has_sticker_offset_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_offset_z() const { + return _internal_has_sticker_offset_z(); +} +inline void CMsgApplySticker::clear_sticker_offset_z() { + _impl_.sticker_offset_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline float CMsgApplySticker::_internal_sticker_offset_z() const { + return _impl_.sticker_offset_z_; +} +inline float CMsgApplySticker::sticker_offset_z() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_z) + return _internal_sticker_offset_z(); +} +inline void CMsgApplySticker::_internal_set_sticker_offset_z(float value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.sticker_offset_z_ = value; +} +inline void CMsgApplySticker::set_sticker_offset_z(float value) { + _internal_set_sticker_offset_z(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_z) +} + +// optional float sticker_wear_target = 11; +inline bool CMsgApplySticker::_internal_has_sticker_wear_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgApplySticker::has_sticker_wear_target() const { + return _internal_has_sticker_wear_target(); +} +inline void CMsgApplySticker::clear_sticker_wear_target() { + _impl_.sticker_wear_target_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CMsgApplySticker::_internal_sticker_wear_target() const { + return _impl_.sticker_wear_target_; +} +inline float CMsgApplySticker::sticker_wear_target() const { + // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_wear_target) + return _internal_sticker_wear_target(); +} +inline void CMsgApplySticker::_internal_set_sticker_wear_target(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.sticker_wear_target_ = value; +} +inline void CMsgApplySticker::set_sticker_wear_target(float value) { + _internal_set_sticker_wear_target(value); + // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_wear_target) +} + +// ------------------------------------------------------------------- + +// CMsgModifyItemAttribute + +// optional uint64 item_id = 1; +inline bool CMsgModifyItemAttribute::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgModifyItemAttribute::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgModifyItemAttribute::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgModifyItemAttribute::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgModifyItemAttribute::item_id() const { + // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.item_id) + return _internal_item_id(); +} +inline void CMsgModifyItemAttribute::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_id_ = value; +} +inline void CMsgModifyItemAttribute::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.item_id) +} + +// optional uint32 attr_defidx = 2; +inline bool CMsgModifyItemAttribute::_internal_has_attr_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgModifyItemAttribute::has_attr_defidx() const { + return _internal_has_attr_defidx(); +} +inline void CMsgModifyItemAttribute::clear_attr_defidx() { + _impl_.attr_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgModifyItemAttribute::_internal_attr_defidx() const { + return _impl_.attr_defidx_; +} +inline uint32_t CMsgModifyItemAttribute::attr_defidx() const { + // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.attr_defidx) + return _internal_attr_defidx(); +} +inline void CMsgModifyItemAttribute::_internal_set_attr_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attr_defidx_ = value; +} +inline void CMsgModifyItemAttribute::set_attr_defidx(uint32_t value) { + _internal_set_attr_defidx(value); + // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.attr_defidx) +} + +// optional uint32 attr_value = 3; +inline bool CMsgModifyItemAttribute::_internal_has_attr_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgModifyItemAttribute::has_attr_value() const { + return _internal_has_attr_value(); +} +inline void CMsgModifyItemAttribute::clear_attr_value() { + _impl_.attr_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgModifyItemAttribute::_internal_attr_value() const { + return _impl_.attr_value_; +} +inline uint32_t CMsgModifyItemAttribute::attr_value() const { + // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.attr_value) + return _internal_attr_value(); +} +inline void CMsgModifyItemAttribute::_internal_set_attr_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.attr_value_ = value; +} +inline void CMsgModifyItemAttribute::set_attr_value(uint32_t value) { + _internal_set_attr_value(value); + // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.attr_value) +} + +// ------------------------------------------------------------------- + +// CMsgApplyStatTrakSwap + +// optional uint64 tool_item_id = 1; +inline bool CMsgApplyStatTrakSwap::_internal_has_tool_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgApplyStatTrakSwap::has_tool_item_id() const { + return _internal_has_tool_item_id(); +} +inline void CMsgApplyStatTrakSwap::clear_tool_item_id() { + _impl_.tool_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgApplyStatTrakSwap::_internal_tool_item_id() const { + return _impl_.tool_item_id_; +} +inline uint64_t CMsgApplyStatTrakSwap::tool_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.tool_item_id) + return _internal_tool_item_id(); +} +inline void CMsgApplyStatTrakSwap::_internal_set_tool_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tool_item_id_ = value; +} +inline void CMsgApplyStatTrakSwap::set_tool_item_id(uint64_t value) { + _internal_set_tool_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.tool_item_id) +} + +// optional uint64 item_1_item_id = 2; +inline bool CMsgApplyStatTrakSwap::_internal_has_item_1_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgApplyStatTrakSwap::has_item_1_item_id() const { + return _internal_has_item_1_item_id(); +} +inline void CMsgApplyStatTrakSwap::clear_item_1_item_id() { + _impl_.item_1_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgApplyStatTrakSwap::_internal_item_1_item_id() const { + return _impl_.item_1_item_id_; +} +inline uint64_t CMsgApplyStatTrakSwap::item_1_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.item_1_item_id) + return _internal_item_1_item_id(); +} +inline void CMsgApplyStatTrakSwap::_internal_set_item_1_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_1_item_id_ = value; +} +inline void CMsgApplyStatTrakSwap::set_item_1_item_id(uint64_t value) { + _internal_set_item_1_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.item_1_item_id) +} + +// optional uint64 item_2_item_id = 3; +inline bool CMsgApplyStatTrakSwap::_internal_has_item_2_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgApplyStatTrakSwap::has_item_2_item_id() const { + return _internal_has_item_2_item_id(); +} +inline void CMsgApplyStatTrakSwap::clear_item_2_item_id() { + _impl_.item_2_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgApplyStatTrakSwap::_internal_item_2_item_id() const { + return _impl_.item_2_item_id_; +} +inline uint64_t CMsgApplyStatTrakSwap::item_2_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.item_2_item_id) + return _internal_item_2_item_id(); +} +inline void CMsgApplyStatTrakSwap::_internal_set_item_2_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_2_item_id_ = value; +} +inline void CMsgApplyStatTrakSwap::set_item_2_item_id(uint64_t value) { + _internal_set_item_2_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.item_2_item_id) +} + +// ------------------------------------------------------------------- + +// CMsgApplyStrangePart + +// optional uint64 strange_part_item_id = 1; +inline bool CMsgApplyStrangePart::_internal_has_strange_part_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgApplyStrangePart::has_strange_part_item_id() const { + return _internal_has_strange_part_item_id(); +} +inline void CMsgApplyStrangePart::clear_strange_part_item_id() { + _impl_.strange_part_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgApplyStrangePart::_internal_strange_part_item_id() const { + return _impl_.strange_part_item_id_; +} +inline uint64_t CMsgApplyStrangePart::strange_part_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyStrangePart.strange_part_item_id) + return _internal_strange_part_item_id(); +} +inline void CMsgApplyStrangePart::_internal_set_strange_part_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.strange_part_item_id_ = value; +} +inline void CMsgApplyStrangePart::set_strange_part_item_id(uint64_t value) { + _internal_set_strange_part_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyStrangePart.strange_part_item_id) +} + +// optional uint64 item_item_id = 2; +inline bool CMsgApplyStrangePart::_internal_has_item_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgApplyStrangePart::has_item_item_id() const { + return _internal_has_item_item_id(); +} +inline void CMsgApplyStrangePart::clear_item_item_id() { + _impl_.item_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgApplyStrangePart::_internal_item_item_id() const { + return _impl_.item_item_id_; +} +inline uint64_t CMsgApplyStrangePart::item_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyStrangePart.item_item_id) + return _internal_item_item_id(); +} +inline void CMsgApplyStrangePart::_internal_set_item_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_item_id_ = value; +} +inline void CMsgApplyStrangePart::set_item_item_id(uint64_t value) { + _internal_set_item_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyStrangePart.item_item_id) +} + +// ------------------------------------------------------------------- + +// CMsgApplyPennantUpgrade + +// optional uint64 upgrade_item_id = 1; +inline bool CMsgApplyPennantUpgrade::_internal_has_upgrade_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgApplyPennantUpgrade::has_upgrade_item_id() const { + return _internal_has_upgrade_item_id(); +} +inline void CMsgApplyPennantUpgrade::clear_upgrade_item_id() { + _impl_.upgrade_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgApplyPennantUpgrade::_internal_upgrade_item_id() const { + return _impl_.upgrade_item_id_; +} +inline uint64_t CMsgApplyPennantUpgrade::upgrade_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyPennantUpgrade.upgrade_item_id) + return _internal_upgrade_item_id(); +} +inline void CMsgApplyPennantUpgrade::_internal_set_upgrade_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.upgrade_item_id_ = value; +} +inline void CMsgApplyPennantUpgrade::set_upgrade_item_id(uint64_t value) { + _internal_set_upgrade_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyPennantUpgrade.upgrade_item_id) +} + +// optional uint64 pennant_item_id = 2; +inline bool CMsgApplyPennantUpgrade::_internal_has_pennant_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgApplyPennantUpgrade::has_pennant_item_id() const { + return _internal_has_pennant_item_id(); +} +inline void CMsgApplyPennantUpgrade::clear_pennant_item_id() { + _impl_.pennant_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgApplyPennantUpgrade::_internal_pennant_item_id() const { + return _impl_.pennant_item_id_; +} +inline uint64_t CMsgApplyPennantUpgrade::pennant_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyPennantUpgrade.pennant_item_id) + return _internal_pennant_item_id(); +} +inline void CMsgApplyPennantUpgrade::_internal_set_pennant_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pennant_item_id_ = value; +} +inline void CMsgApplyPennantUpgrade::set_pennant_item_id(uint64_t value) { + _internal_set_pennant_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyPennantUpgrade.pennant_item_id) +} + +// ------------------------------------------------------------------- + +// CMsgApplyEggEssence + +// optional uint64 essence_item_id = 1; +inline bool CMsgApplyEggEssence::_internal_has_essence_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgApplyEggEssence::has_essence_item_id() const { + return _internal_has_essence_item_id(); +} +inline void CMsgApplyEggEssence::clear_essence_item_id() { + _impl_.essence_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgApplyEggEssence::_internal_essence_item_id() const { + return _impl_.essence_item_id_; +} +inline uint64_t CMsgApplyEggEssence::essence_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyEggEssence.essence_item_id) + return _internal_essence_item_id(); +} +inline void CMsgApplyEggEssence::_internal_set_essence_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.essence_item_id_ = value; +} +inline void CMsgApplyEggEssence::set_essence_item_id(uint64_t value) { + _internal_set_essence_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyEggEssence.essence_item_id) +} + +// optional uint64 egg_item_id = 2; +inline bool CMsgApplyEggEssence::_internal_has_egg_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgApplyEggEssence::has_egg_item_id() const { + return _internal_has_egg_item_id(); +} +inline void CMsgApplyEggEssence::clear_egg_item_id() { + _impl_.egg_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgApplyEggEssence::_internal_egg_item_id() const { + return _impl_.egg_item_id_; +} +inline uint64_t CMsgApplyEggEssence::egg_item_id() const { + // @@protoc_insertion_point(field_get:CMsgApplyEggEssence.egg_item_id) + return _internal_egg_item_id(); +} +inline void CMsgApplyEggEssence::_internal_set_egg_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.egg_item_id_ = value; +} +inline void CMsgApplyEggEssence::set_egg_item_id(uint64_t value) { + _internal_set_egg_item_id(value); + // @@protoc_insertion_point(field_set:CMsgApplyEggEssence.egg_item_id) +} + +// ------------------------------------------------------------------- + +// CSOEconItemAttribute + +// optional uint32 def_index = 1; +inline bool CSOEconItemAttribute::_internal_has_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItemAttribute::has_def_index() const { + return _internal_has_def_index(); +} +inline void CSOEconItemAttribute::clear_def_index() { + _impl_.def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconItemAttribute::_internal_def_index() const { + return _impl_.def_index_; +} +inline uint32_t CSOEconItemAttribute::def_index() const { + // @@protoc_insertion_point(field_get:CSOEconItemAttribute.def_index) + return _internal_def_index(); +} +inline void CSOEconItemAttribute::_internal_set_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.def_index_ = value; +} +inline void CSOEconItemAttribute::set_def_index(uint32_t value) { + _internal_set_def_index(value); + // @@protoc_insertion_point(field_set:CSOEconItemAttribute.def_index) +} + +// optional uint32 value = 2; +inline bool CSOEconItemAttribute::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconItemAttribute::has_value() const { + return _internal_has_value(); +} +inline void CSOEconItemAttribute::clear_value() { + _impl_.value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconItemAttribute::_internal_value() const { + return _impl_.value_; +} +inline uint32_t CSOEconItemAttribute::value() const { + // @@protoc_insertion_point(field_get:CSOEconItemAttribute.value) + return _internal_value(); +} +inline void CSOEconItemAttribute::_internal_set_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.value_ = value; +} +inline void CSOEconItemAttribute::set_value(uint32_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CSOEconItemAttribute.value) +} + +// optional bytes value_bytes = 3; +inline bool CSOEconItemAttribute::_internal_has_value_bytes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItemAttribute::has_value_bytes() const { + return _internal_has_value_bytes(); +} +inline void CSOEconItemAttribute::clear_value_bytes() { + _impl_.value_bytes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOEconItemAttribute::value_bytes() const { + // @@protoc_insertion_point(field_get:CSOEconItemAttribute.value_bytes) + return _internal_value_bytes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOEconItemAttribute::set_value_bytes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_bytes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOEconItemAttribute.value_bytes) +} +inline std::string* CSOEconItemAttribute::mutable_value_bytes() { + std::string* _s = _internal_mutable_value_bytes(); + // @@protoc_insertion_point(field_mutable:CSOEconItemAttribute.value_bytes) + return _s; +} +inline const std::string& CSOEconItemAttribute::_internal_value_bytes() const { + return _impl_.value_bytes_.Get(); +} +inline void CSOEconItemAttribute::_internal_set_value_bytes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_bytes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOEconItemAttribute::_internal_mutable_value_bytes() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.value_bytes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOEconItemAttribute::release_value_bytes() { + // @@protoc_insertion_point(field_release:CSOEconItemAttribute.value_bytes) + if (!_internal_has_value_bytes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.value_bytes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_bytes_.IsDefault()) { + _impl_.value_bytes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOEconItemAttribute::set_allocated_value_bytes(std::string* value_bytes) { + if (value_bytes != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.value_bytes_.SetAllocated(value_bytes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_bytes_.IsDefault()) { + _impl_.value_bytes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOEconItemAttribute.value_bytes) +} + +// ------------------------------------------------------------------- + +// CSOEconItemEquipped + +// optional uint32 new_class = 1; +inline bool CSOEconItemEquipped::_internal_has_new_class() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItemEquipped::has_new_class() const { + return _internal_has_new_class(); +} +inline void CSOEconItemEquipped::clear_new_class() { + _impl_.new_class_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconItemEquipped::_internal_new_class() const { + return _impl_.new_class_; +} +inline uint32_t CSOEconItemEquipped::new_class() const { + // @@protoc_insertion_point(field_get:CSOEconItemEquipped.new_class) + return _internal_new_class(); +} +inline void CSOEconItemEquipped::_internal_set_new_class(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.new_class_ = value; +} +inline void CSOEconItemEquipped::set_new_class(uint32_t value) { + _internal_set_new_class(value); + // @@protoc_insertion_point(field_set:CSOEconItemEquipped.new_class) +} + +// optional uint32 new_slot = 2; +inline bool CSOEconItemEquipped::_internal_has_new_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItemEquipped::has_new_slot() const { + return _internal_has_new_slot(); +} +inline void CSOEconItemEquipped::clear_new_slot() { + _impl_.new_slot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconItemEquipped::_internal_new_slot() const { + return _impl_.new_slot_; +} +inline uint32_t CSOEconItemEquipped::new_slot() const { + // @@protoc_insertion_point(field_get:CSOEconItemEquipped.new_slot) + return _internal_new_slot(); +} +inline void CSOEconItemEquipped::_internal_set_new_slot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.new_slot_ = value; +} +inline void CSOEconItemEquipped::set_new_slot(uint32_t value) { + _internal_set_new_slot(value); + // @@protoc_insertion_point(field_set:CSOEconItemEquipped.new_slot) +} + +// ------------------------------------------------------------------- + +// CSOEconItem + +// optional uint64 id = 1; +inline bool CSOEconItem::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconItem::has_id() const { + return _internal_has_id(); +} +inline void CSOEconItem::clear_id() { + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CSOEconItem::_internal_id() const { + return _impl_.id_; +} +inline uint64_t CSOEconItem::id() const { + // @@protoc_insertion_point(field_get:CSOEconItem.id) + return _internal_id(); +} +inline void CSOEconItem::_internal_set_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.id_ = value; +} +inline void CSOEconItem::set_id(uint64_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CSOEconItem.id) +} + +// optional uint32 account_id = 2; +inline bool CSOEconItem::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOEconItem::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconItem::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOEconItem::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconItem::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconItem.account_id) + return _internal_account_id(); +} +inline void CSOEconItem::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.account_id_ = value; +} +inline void CSOEconItem::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconItem.account_id) +} + +// optional uint32 inventory = 3; +inline bool CSOEconItem::_internal_has_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOEconItem::has_inventory() const { + return _internal_has_inventory(); +} +inline void CSOEconItem::clear_inventory() { + _impl_.inventory_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSOEconItem::_internal_inventory() const { + return _impl_.inventory_; +} +inline uint32_t CSOEconItem::inventory() const { + // @@protoc_insertion_point(field_get:CSOEconItem.inventory) + return _internal_inventory(); +} +inline void CSOEconItem::_internal_set_inventory(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.inventory_ = value; +} +inline void CSOEconItem::set_inventory(uint32_t value) { + _internal_set_inventory(value); + // @@protoc_insertion_point(field_set:CSOEconItem.inventory) +} + +// optional uint32 def_index = 4; +inline bool CSOEconItem::_internal_has_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSOEconItem::has_def_index() const { + return _internal_has_def_index(); +} +inline void CSOEconItem::clear_def_index() { + _impl_.def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CSOEconItem::_internal_def_index() const { + return _impl_.def_index_; +} +inline uint32_t CSOEconItem::def_index() const { + // @@protoc_insertion_point(field_get:CSOEconItem.def_index) + return _internal_def_index(); +} +inline void CSOEconItem::_internal_set_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.def_index_ = value; +} +inline void CSOEconItem::set_def_index(uint32_t value) { + _internal_set_def_index(value); + // @@protoc_insertion_point(field_set:CSOEconItem.def_index) +} + +// optional uint32 quantity = 5; +inline bool CSOEconItem::_internal_has_quantity() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSOEconItem::has_quantity() const { + return _internal_has_quantity(); +} +inline void CSOEconItem::clear_quantity() { + _impl_.quantity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CSOEconItem::_internal_quantity() const { + return _impl_.quantity_; +} +inline uint32_t CSOEconItem::quantity() const { + // @@protoc_insertion_point(field_get:CSOEconItem.quantity) + return _internal_quantity(); +} +inline void CSOEconItem::_internal_set_quantity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.quantity_ = value; +} +inline void CSOEconItem::set_quantity(uint32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:CSOEconItem.quantity) +} + +// optional uint32 level = 6; +inline bool CSOEconItem::_internal_has_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSOEconItem::has_level() const { + return _internal_has_level(); +} +inline void CSOEconItem::clear_level() { + _impl_.level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CSOEconItem::_internal_level() const { + return _impl_.level_; +} +inline uint32_t CSOEconItem::level() const { + // @@protoc_insertion_point(field_get:CSOEconItem.level) + return _internal_level(); +} +inline void CSOEconItem::_internal_set_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.level_ = value; +} +inline void CSOEconItem::set_level(uint32_t value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:CSOEconItem.level) +} + +// optional uint32 quality = 7; +inline bool CSOEconItem::_internal_has_quality() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSOEconItem::has_quality() const { + return _internal_has_quality(); +} +inline void CSOEconItem::clear_quality() { + _impl_.quality_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CSOEconItem::_internal_quality() const { + return _impl_.quality_; +} +inline uint32_t CSOEconItem::quality() const { + // @@protoc_insertion_point(field_get:CSOEconItem.quality) + return _internal_quality(); +} +inline void CSOEconItem::_internal_set_quality(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.quality_ = value; +} +inline void CSOEconItem::set_quality(uint32_t value) { + _internal_set_quality(value); + // @@protoc_insertion_point(field_set:CSOEconItem.quality) +} + +// optional uint32 flags = 8 [default = 0]; +inline bool CSOEconItem::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSOEconItem::has_flags() const { + return _internal_has_flags(); +} +inline void CSOEconItem::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CSOEconItem::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CSOEconItem::flags() const { + // @@protoc_insertion_point(field_get:CSOEconItem.flags) + return _internal_flags(); +} +inline void CSOEconItem::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.flags_ = value; +} +inline void CSOEconItem::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CSOEconItem.flags) +} + +// optional uint32 origin = 9; +inline bool CSOEconItem::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSOEconItem::has_origin() const { + return _internal_has_origin(); +} +inline void CSOEconItem::clear_origin() { + _impl_.origin_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CSOEconItem::_internal_origin() const { + return _impl_.origin_; +} +inline uint32_t CSOEconItem::origin() const { + // @@protoc_insertion_point(field_get:CSOEconItem.origin) + return _internal_origin(); +} +inline void CSOEconItem::_internal_set_origin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.origin_ = value; +} +inline void CSOEconItem::set_origin(uint32_t value) { + _internal_set_origin(value); + // @@protoc_insertion_point(field_set:CSOEconItem.origin) +} + +// optional string custom_name = 10; +inline bool CSOEconItem::_internal_has_custom_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItem::has_custom_name() const { + return _internal_has_custom_name(); +} +inline void CSOEconItem::clear_custom_name() { + _impl_.custom_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOEconItem::custom_name() const { + // @@protoc_insertion_point(field_get:CSOEconItem.custom_name) + return _internal_custom_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOEconItem::set_custom_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.custom_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOEconItem.custom_name) +} +inline std::string* CSOEconItem::mutable_custom_name() { + std::string* _s = _internal_mutable_custom_name(); + // @@protoc_insertion_point(field_mutable:CSOEconItem.custom_name) + return _s; +} +inline const std::string& CSOEconItem::_internal_custom_name() const { + return _impl_.custom_name_.Get(); +} +inline void CSOEconItem::_internal_set_custom_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.custom_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOEconItem::_internal_mutable_custom_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.custom_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOEconItem::release_custom_name() { + // @@protoc_insertion_point(field_release:CSOEconItem.custom_name) + if (!_internal_has_custom_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.custom_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.custom_name_.IsDefault()) { + _impl_.custom_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOEconItem::set_allocated_custom_name(std::string* custom_name) { + if (custom_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.custom_name_.SetAllocated(custom_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.custom_name_.IsDefault()) { + _impl_.custom_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOEconItem.custom_name) +} + +// optional string custom_desc = 11; +inline bool CSOEconItem::_internal_has_custom_desc() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItem::has_custom_desc() const { + return _internal_has_custom_desc(); +} +inline void CSOEconItem::clear_custom_desc() { + _impl_.custom_desc_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSOEconItem::custom_desc() const { + // @@protoc_insertion_point(field_get:CSOEconItem.custom_desc) + return _internal_custom_desc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOEconItem::set_custom_desc(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.custom_desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOEconItem.custom_desc) +} +inline std::string* CSOEconItem::mutable_custom_desc() { + std::string* _s = _internal_mutable_custom_desc(); + // @@protoc_insertion_point(field_mutable:CSOEconItem.custom_desc) + return _s; +} +inline const std::string& CSOEconItem::_internal_custom_desc() const { + return _impl_.custom_desc_.Get(); +} +inline void CSOEconItem::_internal_set_custom_desc(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.custom_desc_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOEconItem::_internal_mutable_custom_desc() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.custom_desc_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOEconItem::release_custom_desc() { + // @@protoc_insertion_point(field_release:CSOEconItem.custom_desc) + if (!_internal_has_custom_desc()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.custom_desc_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.custom_desc_.IsDefault()) { + _impl_.custom_desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOEconItem::set_allocated_custom_desc(std::string* custom_desc) { + if (custom_desc != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.custom_desc_.SetAllocated(custom_desc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.custom_desc_.IsDefault()) { + _impl_.custom_desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOEconItem.custom_desc) +} + +// repeated .CSOEconItemAttribute attribute = 12; +inline int CSOEconItem::_internal_attribute_size() const { + return _impl_.attribute_.size(); +} +inline int CSOEconItem::attribute_size() const { + return _internal_attribute_size(); +} +inline void CSOEconItem::clear_attribute() { + _impl_.attribute_.Clear(); +} +inline ::CSOEconItemAttribute* CSOEconItem::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:CSOEconItem.attribute) + return _impl_.attribute_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >* +CSOEconItem::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:CSOEconItem.attribute) + return &_impl_.attribute_; +} +inline const ::CSOEconItemAttribute& CSOEconItem::_internal_attribute(int index) const { + return _impl_.attribute_.Get(index); +} +inline const ::CSOEconItemAttribute& CSOEconItem::attribute(int index) const { + // @@protoc_insertion_point(field_get:CSOEconItem.attribute) + return _internal_attribute(index); +} +inline ::CSOEconItemAttribute* CSOEconItem::_internal_add_attribute() { + return _impl_.attribute_.Add(); +} +inline ::CSOEconItemAttribute* CSOEconItem::add_attribute() { + ::CSOEconItemAttribute* _add = _internal_add_attribute(); + // @@protoc_insertion_point(field_add:CSOEconItem.attribute) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >& +CSOEconItem::attribute() const { + // @@protoc_insertion_point(field_list:CSOEconItem.attribute) + return _impl_.attribute_; +} + +// optional .CSOEconItem interior_item = 13; +inline bool CSOEconItem::_internal_has_interior_item() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.interior_item_ != nullptr); + return value; +} +inline bool CSOEconItem::has_interior_item() const { + return _internal_has_interior_item(); +} +inline void CSOEconItem::clear_interior_item() { + if (_impl_.interior_item_ != nullptr) _impl_.interior_item_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CSOEconItem& CSOEconItem::_internal_interior_item() const { + const ::CSOEconItem* p = _impl_.interior_item_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSOEconItem_default_instance_); +} +inline const ::CSOEconItem& CSOEconItem::interior_item() const { + // @@protoc_insertion_point(field_get:CSOEconItem.interior_item) + return _internal_interior_item(); +} +inline void CSOEconItem::unsafe_arena_set_allocated_interior_item( + ::CSOEconItem* interior_item) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interior_item_); + } + _impl_.interior_item_ = interior_item; + if (interior_item) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSOEconItem.interior_item) +} +inline ::CSOEconItem* CSOEconItem::release_interior_item() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CSOEconItem* temp = _impl_.interior_item_; + _impl_.interior_item_ = 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 ::CSOEconItem* CSOEconItem::unsafe_arena_release_interior_item() { + // @@protoc_insertion_point(field_release:CSOEconItem.interior_item) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CSOEconItem* temp = _impl_.interior_item_; + _impl_.interior_item_ = nullptr; + return temp; +} +inline ::CSOEconItem* CSOEconItem::_internal_mutable_interior_item() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.interior_item_ == nullptr) { + auto* p = CreateMaybeMessage<::CSOEconItem>(GetArenaForAllocation()); + _impl_.interior_item_ = p; + } + return _impl_.interior_item_; +} +inline ::CSOEconItem* CSOEconItem::mutable_interior_item() { + ::CSOEconItem* _msg = _internal_mutable_interior_item(); + // @@protoc_insertion_point(field_mutable:CSOEconItem.interior_item) + return _msg; +} +inline void CSOEconItem::set_allocated_interior_item(::CSOEconItem* interior_item) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.interior_item_; + } + if (interior_item) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(interior_item); + if (message_arena != submessage_arena) { + interior_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, interior_item, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.interior_item_ = interior_item; + // @@protoc_insertion_point(field_set_allocated:CSOEconItem.interior_item) +} + +// optional bool in_use = 14 [default = false]; +inline bool CSOEconItem::_internal_has_in_use() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSOEconItem::has_in_use() const { + return _internal_has_in_use(); +} +inline void CSOEconItem::clear_in_use() { + _impl_.in_use_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline bool CSOEconItem::_internal_in_use() const { + return _impl_.in_use_; +} +inline bool CSOEconItem::in_use() const { + // @@protoc_insertion_point(field_get:CSOEconItem.in_use) + return _internal_in_use(); +} +inline void CSOEconItem::_internal_set_in_use(bool value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.in_use_ = value; +} +inline void CSOEconItem::set_in_use(bool value) { + _internal_set_in_use(value); + // @@protoc_insertion_point(field_set:CSOEconItem.in_use) +} + +// optional uint32 style = 15 [default = 0]; +inline bool CSOEconItem::_internal_has_style() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSOEconItem::has_style() const { + return _internal_has_style(); +} +inline void CSOEconItem::clear_style() { + _impl_.style_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CSOEconItem::_internal_style() const { + return _impl_.style_; +} +inline uint32_t CSOEconItem::style() const { + // @@protoc_insertion_point(field_get:CSOEconItem.style) + return _internal_style(); +} +inline void CSOEconItem::_internal_set_style(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.style_ = value; +} +inline void CSOEconItem::set_style(uint32_t value) { + _internal_set_style(value); + // @@protoc_insertion_point(field_set:CSOEconItem.style) +} + +// optional uint64 original_id = 16 [default = 0]; +inline bool CSOEconItem::_internal_has_original_id() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSOEconItem::has_original_id() const { + return _internal_has_original_id(); +} +inline void CSOEconItem::clear_original_id() { + _impl_.original_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint64_t CSOEconItem::_internal_original_id() const { + return _impl_.original_id_; +} +inline uint64_t CSOEconItem::original_id() const { + // @@protoc_insertion_point(field_get:CSOEconItem.original_id) + return _internal_original_id(); +} +inline void CSOEconItem::_internal_set_original_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.original_id_ = value; +} +inline void CSOEconItem::set_original_id(uint64_t value) { + _internal_set_original_id(value); + // @@protoc_insertion_point(field_set:CSOEconItem.original_id) +} + +// repeated .CSOEconItemEquipped equipped_state = 18; +inline int CSOEconItem::_internal_equipped_state_size() const { + return _impl_.equipped_state_.size(); +} +inline int CSOEconItem::equipped_state_size() const { + return _internal_equipped_state_size(); +} +inline void CSOEconItem::clear_equipped_state() { + _impl_.equipped_state_.Clear(); +} +inline ::CSOEconItemEquipped* CSOEconItem::mutable_equipped_state(int index) { + // @@protoc_insertion_point(field_mutable:CSOEconItem.equipped_state) + return _impl_.equipped_state_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >* +CSOEconItem::mutable_equipped_state() { + // @@protoc_insertion_point(field_mutable_list:CSOEconItem.equipped_state) + return &_impl_.equipped_state_; +} +inline const ::CSOEconItemEquipped& CSOEconItem::_internal_equipped_state(int index) const { + return _impl_.equipped_state_.Get(index); +} +inline const ::CSOEconItemEquipped& CSOEconItem::equipped_state(int index) const { + // @@protoc_insertion_point(field_get:CSOEconItem.equipped_state) + return _internal_equipped_state(index); +} +inline ::CSOEconItemEquipped* CSOEconItem::_internal_add_equipped_state() { + return _impl_.equipped_state_.Add(); +} +inline ::CSOEconItemEquipped* CSOEconItem::add_equipped_state() { + ::CSOEconItemEquipped* _add = _internal_add_equipped_state(); + // @@protoc_insertion_point(field_add:CSOEconItem.equipped_state) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >& +CSOEconItem::equipped_state() const { + // @@protoc_insertion_point(field_list:CSOEconItem.equipped_state) + return _impl_.equipped_state_; +} + +// optional uint32 rarity = 19; +inline bool CSOEconItem::_internal_has_rarity() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSOEconItem::has_rarity() const { + return _internal_has_rarity(); +} +inline void CSOEconItem::clear_rarity() { + _impl_.rarity_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CSOEconItem::_internal_rarity() const { + return _impl_.rarity_; +} +inline uint32_t CSOEconItem::rarity() const { + // @@protoc_insertion_point(field_get:CSOEconItem.rarity) + return _internal_rarity(); +} +inline void CSOEconItem::_internal_set_rarity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.rarity_ = value; +} +inline void CSOEconItem::set_rarity(uint32_t value) { + _internal_set_rarity(value); + // @@protoc_insertion_point(field_set:CSOEconItem.rarity) +} + +// ------------------------------------------------------------------- + +// CMsgSortItems + +// optional uint32 sort_type = 1; +inline bool CMsgSortItems::_internal_has_sort_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSortItems::has_sort_type() const { + return _internal_has_sort_type(); +} +inline void CMsgSortItems::clear_sort_type() { + _impl_.sort_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSortItems::_internal_sort_type() const { + return _impl_.sort_type_; +} +inline uint32_t CMsgSortItems::sort_type() const { + // @@protoc_insertion_point(field_get:CMsgSortItems.sort_type) + return _internal_sort_type(); +} +inline void CMsgSortItems::_internal_set_sort_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sort_type_ = value; +} +inline void CMsgSortItems::set_sort_type(uint32_t value) { + _internal_set_sort_type(value); + // @@protoc_insertion_point(field_set:CMsgSortItems.sort_type) +} + +// ------------------------------------------------------------------- + +// CSOEconClaimCode + +// optional uint32 account_id = 1; +inline bool CSOEconClaimCode::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconClaimCode::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconClaimCode::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconClaimCode::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconClaimCode::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconClaimCode.account_id) + return _internal_account_id(); +} +inline void CSOEconClaimCode::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CSOEconClaimCode::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconClaimCode.account_id) +} + +// optional uint32 code_type = 2; +inline bool CSOEconClaimCode::_internal_has_code_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconClaimCode::has_code_type() const { + return _internal_has_code_type(); +} +inline void CSOEconClaimCode::clear_code_type() { + _impl_.code_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconClaimCode::_internal_code_type() const { + return _impl_.code_type_; +} +inline uint32_t CSOEconClaimCode::code_type() const { + // @@protoc_insertion_point(field_get:CSOEconClaimCode.code_type) + return _internal_code_type(); +} +inline void CSOEconClaimCode::_internal_set_code_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.code_type_ = value; +} +inline void CSOEconClaimCode::set_code_type(uint32_t value) { + _internal_set_code_type(value); + // @@protoc_insertion_point(field_set:CSOEconClaimCode.code_type) +} + +// optional uint32 time_acquired = 3; +inline bool CSOEconClaimCode::_internal_has_time_acquired() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconClaimCode::has_time_acquired() const { + return _internal_has_time_acquired(); +} +inline void CSOEconClaimCode::clear_time_acquired() { + _impl_.time_acquired_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconClaimCode::_internal_time_acquired() const { + return _impl_.time_acquired_; +} +inline uint32_t CSOEconClaimCode::time_acquired() const { + // @@protoc_insertion_point(field_get:CSOEconClaimCode.time_acquired) + return _internal_time_acquired(); +} +inline void CSOEconClaimCode::_internal_set_time_acquired(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.time_acquired_ = value; +} +inline void CSOEconClaimCode::set_time_acquired(uint32_t value) { + _internal_set_time_acquired(value); + // @@protoc_insertion_point(field_set:CSOEconClaimCode.time_acquired) +} + +// optional string code = 4; +inline bool CSOEconClaimCode::_internal_has_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconClaimCode::has_code() const { + return _internal_has_code(); +} +inline void CSOEconClaimCode::clear_code() { + _impl_.code_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSOEconClaimCode::code() const { + // @@protoc_insertion_point(field_get:CSOEconClaimCode.code) + return _internal_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSOEconClaimCode::set_code(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSOEconClaimCode.code) +} +inline std::string* CSOEconClaimCode::mutable_code() { + std::string* _s = _internal_mutable_code(); + // @@protoc_insertion_point(field_mutable:CSOEconClaimCode.code) + return _s; +} +inline const std::string& CSOEconClaimCode::_internal_code() const { + return _impl_.code_.Get(); +} +inline void CSOEconClaimCode::_internal_set_code(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.code_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSOEconClaimCode::_internal_mutable_code() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.code_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSOEconClaimCode::release_code() { + // @@protoc_insertion_point(field_release:CSOEconClaimCode.code) + if (!_internal_has_code()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.code_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.code_.IsDefault()) { + _impl_.code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSOEconClaimCode::set_allocated_code(std::string* code) { + if (code != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.code_.SetAllocated(code, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.code_.IsDefault()) { + _impl_.code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSOEconClaimCode.code) +} + +// ------------------------------------------------------------------- + +// CMsgStoreGetUserData + +// optional fixed32 price_sheet_version = 1; +inline bool CMsgStoreGetUserData::_internal_has_price_sheet_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgStoreGetUserData::has_price_sheet_version() const { + return _internal_has_price_sheet_version(); +} +inline void CMsgStoreGetUserData::clear_price_sheet_version() { + _impl_.price_sheet_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgStoreGetUserData::_internal_price_sheet_version() const { + return _impl_.price_sheet_version_; +} +inline uint32_t CMsgStoreGetUserData::price_sheet_version() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserData.price_sheet_version) + return _internal_price_sheet_version(); +} +inline void CMsgStoreGetUserData::_internal_set_price_sheet_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.price_sheet_version_ = value; +} +inline void CMsgStoreGetUserData::set_price_sheet_version(uint32_t value) { + _internal_set_price_sheet_version(value); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserData.price_sheet_version) +} + +// optional int32 currency = 2; +inline bool CMsgStoreGetUserData::_internal_has_currency() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgStoreGetUserData::has_currency() const { + return _internal_has_currency(); +} +inline void CMsgStoreGetUserData::clear_currency() { + _impl_.currency_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgStoreGetUserData::_internal_currency() const { + return _impl_.currency_; +} +inline int32_t CMsgStoreGetUserData::currency() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserData.currency) + return _internal_currency(); +} +inline void CMsgStoreGetUserData::_internal_set_currency(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.currency_ = value; +} +inline void CMsgStoreGetUserData::set_currency(int32_t value) { + _internal_set_currency(value); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserData.currency) +} + +// ------------------------------------------------------------------- + +// CMsgStoreGetUserDataResponse + +// optional int32 result = 1; +inline bool CMsgStoreGetUserDataResponse::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgStoreGetUserDataResponse::has_result() const { + return _internal_has_result(); +} +inline void CMsgStoreGetUserDataResponse::clear_result() { + _impl_.result_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgStoreGetUserDataResponse::_internal_result() const { + return _impl_.result_; +} +inline int32_t CMsgStoreGetUserDataResponse::result() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.result) + return _internal_result(); +} +inline void CMsgStoreGetUserDataResponse::_internal_set_result(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.result_ = value; +} +inline void CMsgStoreGetUserDataResponse::set_result(int32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.result) +} + +// optional int32 currency_deprecated = 2; +inline bool CMsgStoreGetUserDataResponse::_internal_has_currency_deprecated() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgStoreGetUserDataResponse::has_currency_deprecated() const { + return _internal_has_currency_deprecated(); +} +inline void CMsgStoreGetUserDataResponse::clear_currency_deprecated() { + _impl_.currency_deprecated_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgStoreGetUserDataResponse::_internal_currency_deprecated() const { + return _impl_.currency_deprecated_; +} +inline int32_t CMsgStoreGetUserDataResponse::currency_deprecated() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.currency_deprecated) + return _internal_currency_deprecated(); +} +inline void CMsgStoreGetUserDataResponse::_internal_set_currency_deprecated(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.currency_deprecated_ = value; +} +inline void CMsgStoreGetUserDataResponse::set_currency_deprecated(int32_t value) { + _internal_set_currency_deprecated(value); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.currency_deprecated) +} + +// optional string country_deprecated = 3; +inline bool CMsgStoreGetUserDataResponse::_internal_has_country_deprecated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgStoreGetUserDataResponse::has_country_deprecated() const { + return _internal_has_country_deprecated(); +} +inline void CMsgStoreGetUserDataResponse::clear_country_deprecated() { + _impl_.country_deprecated_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgStoreGetUserDataResponse::country_deprecated() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.country_deprecated) + return _internal_country_deprecated(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgStoreGetUserDataResponse::set_country_deprecated(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_deprecated_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.country_deprecated) +} +inline std::string* CMsgStoreGetUserDataResponse::mutable_country_deprecated() { + std::string* _s = _internal_mutable_country_deprecated(); + // @@protoc_insertion_point(field_mutable:CMsgStoreGetUserDataResponse.country_deprecated) + return _s; +} +inline const std::string& CMsgStoreGetUserDataResponse::_internal_country_deprecated() const { + return _impl_.country_deprecated_.Get(); +} +inline void CMsgStoreGetUserDataResponse::_internal_set_country_deprecated(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_deprecated_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgStoreGetUserDataResponse::_internal_mutable_country_deprecated() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.country_deprecated_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgStoreGetUserDataResponse::release_country_deprecated() { + // @@protoc_insertion_point(field_release:CMsgStoreGetUserDataResponse.country_deprecated) + if (!_internal_has_country_deprecated()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.country_deprecated_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_deprecated_.IsDefault()) { + _impl_.country_deprecated_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgStoreGetUserDataResponse::set_allocated_country_deprecated(std::string* country_deprecated) { + if (country_deprecated != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.country_deprecated_.SetAllocated(country_deprecated, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_deprecated_.IsDefault()) { + _impl_.country_deprecated_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgStoreGetUserDataResponse.country_deprecated) +} + +// optional fixed32 price_sheet_version = 4; +inline bool CMsgStoreGetUserDataResponse::_internal_has_price_sheet_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgStoreGetUserDataResponse::has_price_sheet_version() const { + return _internal_has_price_sheet_version(); +} +inline void CMsgStoreGetUserDataResponse::clear_price_sheet_version() { + _impl_.price_sheet_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgStoreGetUserDataResponse::_internal_price_sheet_version() const { + return _impl_.price_sheet_version_; +} +inline uint32_t CMsgStoreGetUserDataResponse::price_sheet_version() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.price_sheet_version) + return _internal_price_sheet_version(); +} +inline void CMsgStoreGetUserDataResponse::_internal_set_price_sheet_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.price_sheet_version_ = value; +} +inline void CMsgStoreGetUserDataResponse::set_price_sheet_version(uint32_t value) { + _internal_set_price_sheet_version(value); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.price_sheet_version) +} + +// optional bytes price_sheet = 8; +inline bool CMsgStoreGetUserDataResponse::_internal_has_price_sheet() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgStoreGetUserDataResponse::has_price_sheet() const { + return _internal_has_price_sheet(); +} +inline void CMsgStoreGetUserDataResponse::clear_price_sheet() { + _impl_.price_sheet_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgStoreGetUserDataResponse::price_sheet() const { + // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.price_sheet) + return _internal_price_sheet(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgStoreGetUserDataResponse::set_price_sheet(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.price_sheet_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.price_sheet) +} +inline std::string* CMsgStoreGetUserDataResponse::mutable_price_sheet() { + std::string* _s = _internal_mutable_price_sheet(); + // @@protoc_insertion_point(field_mutable:CMsgStoreGetUserDataResponse.price_sheet) + return _s; +} +inline const std::string& CMsgStoreGetUserDataResponse::_internal_price_sheet() const { + return _impl_.price_sheet_.Get(); +} +inline void CMsgStoreGetUserDataResponse::_internal_set_price_sheet(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.price_sheet_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgStoreGetUserDataResponse::_internal_mutable_price_sheet() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.price_sheet_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgStoreGetUserDataResponse::release_price_sheet() { + // @@protoc_insertion_point(field_release:CMsgStoreGetUserDataResponse.price_sheet) + if (!_internal_has_price_sheet()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.price_sheet_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.price_sheet_.IsDefault()) { + _impl_.price_sheet_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgStoreGetUserDataResponse::set_allocated_price_sheet(std::string* price_sheet) { + if (price_sheet != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.price_sheet_.SetAllocated(price_sheet, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.price_sheet_.IsDefault()) { + _impl_.price_sheet_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgStoreGetUserDataResponse.price_sheet) +} + +// ------------------------------------------------------------------- + +// CMsgUpdateItemSchema + +// optional bytes items_game = 1; +inline bool CMsgUpdateItemSchema::_internal_has_items_game() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgUpdateItemSchema::has_items_game() const { + return _internal_has_items_game(); +} +inline void CMsgUpdateItemSchema::clear_items_game() { + _impl_.items_game_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgUpdateItemSchema::items_game() const { + // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.items_game) + return _internal_items_game(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgUpdateItemSchema::set_items_game(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.items_game_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.items_game) +} +inline std::string* CMsgUpdateItemSchema::mutable_items_game() { + std::string* _s = _internal_mutable_items_game(); + // @@protoc_insertion_point(field_mutable:CMsgUpdateItemSchema.items_game) + return _s; +} +inline const std::string& CMsgUpdateItemSchema::_internal_items_game() const { + return _impl_.items_game_.Get(); +} +inline void CMsgUpdateItemSchema::_internal_set_items_game(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.items_game_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgUpdateItemSchema::_internal_mutable_items_game() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.items_game_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgUpdateItemSchema::release_items_game() { + // @@protoc_insertion_point(field_release:CMsgUpdateItemSchema.items_game) + if (!_internal_has_items_game()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.items_game_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.items_game_.IsDefault()) { + _impl_.items_game_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgUpdateItemSchema::set_allocated_items_game(std::string* items_game) { + if (items_game != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.items_game_.SetAllocated(items_game, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.items_game_.IsDefault()) { + _impl_.items_game_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgUpdateItemSchema.items_game) +} + +// optional fixed32 item_schema_version = 2; +inline bool CMsgUpdateItemSchema::_internal_has_item_schema_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgUpdateItemSchema::has_item_schema_version() const { + return _internal_has_item_schema_version(); +} +inline void CMsgUpdateItemSchema::clear_item_schema_version() { + _impl_.item_schema_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgUpdateItemSchema::_internal_item_schema_version() const { + return _impl_.item_schema_version_; +} +inline uint32_t CMsgUpdateItemSchema::item_schema_version() const { + // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.item_schema_version) + return _internal_item_schema_version(); +} +inline void CMsgUpdateItemSchema::_internal_set_item_schema_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_schema_version_ = value; +} +inline void CMsgUpdateItemSchema::set_item_schema_version(uint32_t value) { + _internal_set_item_schema_version(value); + // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.item_schema_version) +} + +// optional string items_game_url = 4; +inline bool CMsgUpdateItemSchema::_internal_has_items_game_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgUpdateItemSchema::has_items_game_url() const { + return _internal_has_items_game_url(); +} +inline void CMsgUpdateItemSchema::clear_items_game_url() { + _impl_.items_game_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgUpdateItemSchema::items_game_url() const { + // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.items_game_url) + return _internal_items_game_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgUpdateItemSchema::set_items_game_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.items_game_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.items_game_url) +} +inline std::string* CMsgUpdateItemSchema::mutable_items_game_url() { + std::string* _s = _internal_mutable_items_game_url(); + // @@protoc_insertion_point(field_mutable:CMsgUpdateItemSchema.items_game_url) + return _s; +} +inline const std::string& CMsgUpdateItemSchema::_internal_items_game_url() const { + return _impl_.items_game_url_.Get(); +} +inline void CMsgUpdateItemSchema::_internal_set_items_game_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.items_game_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgUpdateItemSchema::_internal_mutable_items_game_url() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.items_game_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgUpdateItemSchema::release_items_game_url() { + // @@protoc_insertion_point(field_release:CMsgUpdateItemSchema.items_game_url) + if (!_internal_has_items_game_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.items_game_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.items_game_url_.IsDefault()) { + _impl_.items_game_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgUpdateItemSchema::set_allocated_items_game_url(std::string* items_game_url) { + if (items_game_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.items_game_url_.SetAllocated(items_game_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.items_game_url_.IsDefault()) { + _impl_.items_game_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgUpdateItemSchema.items_game_url) +} + +// ------------------------------------------------------------------- + +// CMsgGCError + +// optional string error_text = 1; +inline bool CMsgGCError::_internal_has_error_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCError::has_error_text() const { + return _internal_has_error_text(); +} +inline void CMsgGCError::clear_error_text() { + _impl_.error_text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCError::error_text() const { + // @@protoc_insertion_point(field_get:CMsgGCError.error_text) + return _internal_error_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCError::set_error_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCError.error_text) +} +inline std::string* CMsgGCError::mutable_error_text() { + std::string* _s = _internal_mutable_error_text(); + // @@protoc_insertion_point(field_mutable:CMsgGCError.error_text) + return _s; +} +inline const std::string& CMsgGCError::_internal_error_text() const { + return _impl_.error_text_.Get(); +} +inline void CMsgGCError::_internal_set_error_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCError::_internal_mutable_error_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.error_text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCError::release_error_text() { + // @@protoc_insertion_point(field_release:CMsgGCError.error_text) + if (!_internal_has_error_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.error_text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_text_.IsDefault()) { + _impl_.error_text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCError::set_allocated_error_text(std::string* error_text) { + if (error_text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.error_text_.SetAllocated(error_text, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_text_.IsDefault()) { + _impl_.error_text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCError.error_text) +} + +// ------------------------------------------------------------------- + +// CMsgRequestInventoryRefresh + +// ------------------------------------------------------------------- + +// CMsgConVarValue + +// optional string name = 1; +inline bool CMsgConVarValue::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgConVarValue::has_name() const { + return _internal_has_name(); +} +inline void CMsgConVarValue::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgConVarValue::name() const { + // @@protoc_insertion_point(field_get:CMsgConVarValue.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgConVarValue::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgConVarValue.name) +} +inline std::string* CMsgConVarValue::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgConVarValue.name) + return _s; +} +inline const std::string& CMsgConVarValue::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgConVarValue::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgConVarValue::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgConVarValue::release_name() { + // @@protoc_insertion_point(field_release:CMsgConVarValue.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgConVarValue::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgConVarValue.name) +} + +// optional string value = 2; +inline bool CMsgConVarValue::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgConVarValue::has_value() const { + return _internal_has_value(); +} +inline void CMsgConVarValue::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgConVarValue::value() const { + // @@protoc_insertion_point(field_get:CMsgConVarValue.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgConVarValue::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgConVarValue.value) +} +inline std::string* CMsgConVarValue::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CMsgConVarValue.value) + return _s; +} +inline const std::string& CMsgConVarValue::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CMsgConVarValue::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgConVarValue::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgConVarValue::release_value() { + // @@protoc_insertion_point(field_release:CMsgConVarValue.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgConVarValue::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgConVarValue.value) +} + +// ------------------------------------------------------------------- + +// CMsgReplicateConVars + +// repeated .CMsgConVarValue convars = 1; +inline int CMsgReplicateConVars::_internal_convars_size() const { + return _impl_.convars_.size(); +} +inline int CMsgReplicateConVars::convars_size() const { + return _internal_convars_size(); +} +inline void CMsgReplicateConVars::clear_convars() { + _impl_.convars_.Clear(); +} +inline ::CMsgConVarValue* CMsgReplicateConVars::mutable_convars(int index) { + // @@protoc_insertion_point(field_mutable:CMsgReplicateConVars.convars) + return _impl_.convars_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >* +CMsgReplicateConVars::mutable_convars() { + // @@protoc_insertion_point(field_mutable_list:CMsgReplicateConVars.convars) + return &_impl_.convars_; +} +inline const ::CMsgConVarValue& CMsgReplicateConVars::_internal_convars(int index) const { + return _impl_.convars_.Get(index); +} +inline const ::CMsgConVarValue& CMsgReplicateConVars::convars(int index) const { + // @@protoc_insertion_point(field_get:CMsgReplicateConVars.convars) + return _internal_convars(index); +} +inline ::CMsgConVarValue* CMsgReplicateConVars::_internal_add_convars() { + return _impl_.convars_.Add(); +} +inline ::CMsgConVarValue* CMsgReplicateConVars::add_convars() { + ::CMsgConVarValue* _add = _internal_add_convars(); + // @@protoc_insertion_point(field_add:CMsgReplicateConVars.convars) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >& +CMsgReplicateConVars::convars() const { + // @@protoc_insertion_point(field_list:CMsgReplicateConVars.convars) + return _impl_.convars_; +} + +// ------------------------------------------------------------------- + +// CMsgUseItem + +// optional uint64 item_id = 1; +inline bool CMsgUseItem::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgUseItem::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgUseItem::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgUseItem::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgUseItem::item_id() const { + // @@protoc_insertion_point(field_get:CMsgUseItem.item_id) + return _internal_item_id(); +} +inline void CMsgUseItem::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_id_ = value; +} +inline void CMsgUseItem::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgUseItem.item_id) +} + +// optional fixed64 target_steam_id = 2; +inline bool CMsgUseItem::_internal_has_target_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgUseItem::has_target_steam_id() const { + return _internal_has_target_steam_id(); +} +inline void CMsgUseItem::clear_target_steam_id() { + _impl_.target_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgUseItem::_internal_target_steam_id() const { + return _impl_.target_steam_id_; +} +inline uint64_t CMsgUseItem::target_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgUseItem.target_steam_id) + return _internal_target_steam_id(); +} +inline void CMsgUseItem::_internal_set_target_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.target_steam_id_ = value; +} +inline void CMsgUseItem::set_target_steam_id(uint64_t value) { + _internal_set_target_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgUseItem.target_steam_id) +} + +// repeated uint32 gift__potential_targets = 3; +inline int CMsgUseItem::_internal_gift__potential_targets_size() const { + return _impl_.gift__potential_targets_.size(); +} +inline int CMsgUseItem::gift__potential_targets_size() const { + return _internal_gift__potential_targets_size(); +} +inline void CMsgUseItem::clear_gift__potential_targets() { + _impl_.gift__potential_targets_.Clear(); +} +inline uint32_t CMsgUseItem::_internal_gift__potential_targets(int index) const { + return _impl_.gift__potential_targets_.Get(index); +} +inline uint32_t CMsgUseItem::gift__potential_targets(int index) const { + // @@protoc_insertion_point(field_get:CMsgUseItem.gift__potential_targets) + return _internal_gift__potential_targets(index); +} +inline void CMsgUseItem::set_gift__potential_targets(int index, uint32_t value) { + _impl_.gift__potential_targets_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgUseItem.gift__potential_targets) +} +inline void CMsgUseItem::_internal_add_gift__potential_targets(uint32_t value) { + _impl_.gift__potential_targets_.Add(value); +} +inline void CMsgUseItem::add_gift__potential_targets(uint32_t value) { + _internal_add_gift__potential_targets(value); + // @@protoc_insertion_point(field_add:CMsgUseItem.gift__potential_targets) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgUseItem::_internal_gift__potential_targets() const { + return _impl_.gift__potential_targets_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgUseItem::gift__potential_targets() const { + // @@protoc_insertion_point(field_list:CMsgUseItem.gift__potential_targets) + return _internal_gift__potential_targets(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgUseItem::_internal_mutable_gift__potential_targets() { + return &_impl_.gift__potential_targets_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgUseItem::mutable_gift__potential_targets() { + // @@protoc_insertion_point(field_mutable_list:CMsgUseItem.gift__potential_targets) + return _internal_mutable_gift__potential_targets(); +} + +// optional uint32 duel__class_lock = 4; +inline bool CMsgUseItem::_internal_has_duel__class_lock() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgUseItem::has_duel__class_lock() const { + return _internal_has_duel__class_lock(); +} +inline void CMsgUseItem::clear_duel__class_lock() { + _impl_.duel__class_lock_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgUseItem::_internal_duel__class_lock() const { + return _impl_.duel__class_lock_; +} +inline uint32_t CMsgUseItem::duel__class_lock() const { + // @@protoc_insertion_point(field_get:CMsgUseItem.duel__class_lock) + return _internal_duel__class_lock(); +} +inline void CMsgUseItem::_internal_set_duel__class_lock(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.duel__class_lock_ = value; +} +inline void CMsgUseItem::set_duel__class_lock(uint32_t value) { + _internal_set_duel__class_lock(value); + // @@protoc_insertion_point(field_set:CMsgUseItem.duel__class_lock) +} + +// optional fixed64 initiator_steam_id = 5; +inline bool CMsgUseItem::_internal_has_initiator_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgUseItem::has_initiator_steam_id() const { + return _internal_has_initiator_steam_id(); +} +inline void CMsgUseItem::clear_initiator_steam_id() { + _impl_.initiator_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgUseItem::_internal_initiator_steam_id() const { + return _impl_.initiator_steam_id_; +} +inline uint64_t CMsgUseItem::initiator_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgUseItem.initiator_steam_id) + return _internal_initiator_steam_id(); +} +inline void CMsgUseItem::_internal_set_initiator_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.initiator_steam_id_ = value; +} +inline void CMsgUseItem::set_initiator_steam_id(uint64_t value) { + _internal_set_initiator_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgUseItem.initiator_steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgReplayUploadedToYouTube + +// optional string youtube_url = 1; +inline bool CMsgReplayUploadedToYouTube::_internal_has_youtube_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgReplayUploadedToYouTube::has_youtube_url() const { + return _internal_has_youtube_url(); +} +inline void CMsgReplayUploadedToYouTube::clear_youtube_url() { + _impl_.youtube_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgReplayUploadedToYouTube::youtube_url() const { + // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.youtube_url) + return _internal_youtube_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgReplayUploadedToYouTube::set_youtube_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.youtube_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.youtube_url) +} +inline std::string* CMsgReplayUploadedToYouTube::mutable_youtube_url() { + std::string* _s = _internal_mutable_youtube_url(); + // @@protoc_insertion_point(field_mutable:CMsgReplayUploadedToYouTube.youtube_url) + return _s; +} +inline const std::string& CMsgReplayUploadedToYouTube::_internal_youtube_url() const { + return _impl_.youtube_url_.Get(); +} +inline void CMsgReplayUploadedToYouTube::_internal_set_youtube_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.youtube_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgReplayUploadedToYouTube::_internal_mutable_youtube_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.youtube_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgReplayUploadedToYouTube::release_youtube_url() { + // @@protoc_insertion_point(field_release:CMsgReplayUploadedToYouTube.youtube_url) + if (!_internal_has_youtube_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.youtube_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_url_.IsDefault()) { + _impl_.youtube_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgReplayUploadedToYouTube::set_allocated_youtube_url(std::string* youtube_url) { + if (youtube_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.youtube_url_.SetAllocated(youtube_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_url_.IsDefault()) { + _impl_.youtube_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgReplayUploadedToYouTube.youtube_url) +} + +// optional string youtube_account_name = 2; +inline bool CMsgReplayUploadedToYouTube::_internal_has_youtube_account_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgReplayUploadedToYouTube::has_youtube_account_name() const { + return _internal_has_youtube_account_name(); +} +inline void CMsgReplayUploadedToYouTube::clear_youtube_account_name() { + _impl_.youtube_account_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgReplayUploadedToYouTube::youtube_account_name() const { + // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.youtube_account_name) + return _internal_youtube_account_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgReplayUploadedToYouTube::set_youtube_account_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.youtube_account_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.youtube_account_name) +} +inline std::string* CMsgReplayUploadedToYouTube::mutable_youtube_account_name() { + std::string* _s = _internal_mutable_youtube_account_name(); + // @@protoc_insertion_point(field_mutable:CMsgReplayUploadedToYouTube.youtube_account_name) + return _s; +} +inline const std::string& CMsgReplayUploadedToYouTube::_internal_youtube_account_name() const { + return _impl_.youtube_account_name_.Get(); +} +inline void CMsgReplayUploadedToYouTube::_internal_set_youtube_account_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.youtube_account_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgReplayUploadedToYouTube::_internal_mutable_youtube_account_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.youtube_account_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgReplayUploadedToYouTube::release_youtube_account_name() { + // @@protoc_insertion_point(field_release:CMsgReplayUploadedToYouTube.youtube_account_name) + if (!_internal_has_youtube_account_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.youtube_account_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_account_name_.IsDefault()) { + _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgReplayUploadedToYouTube::set_allocated_youtube_account_name(std::string* youtube_account_name) { + if (youtube_account_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.youtube_account_name_.SetAllocated(youtube_account_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_account_name_.IsDefault()) { + _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgReplayUploadedToYouTube.youtube_account_name) +} + +// optional uint64 session_id = 3; +inline bool CMsgReplayUploadedToYouTube::_internal_has_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgReplayUploadedToYouTube::has_session_id() const { + return _internal_has_session_id(); +} +inline void CMsgReplayUploadedToYouTube::clear_session_id() { + _impl_.session_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgReplayUploadedToYouTube::_internal_session_id() const { + return _impl_.session_id_; +} +inline uint64_t CMsgReplayUploadedToYouTube::session_id() const { + // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.session_id) + return _internal_session_id(); +} +inline void CMsgReplayUploadedToYouTube::_internal_set_session_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.session_id_ = value; +} +inline void CMsgReplayUploadedToYouTube::set_session_id(uint64_t value) { + _internal_set_session_id(value); + // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.session_id) +} + +// ------------------------------------------------------------------- + +// CMsgConsumableExhausted + +// optional int32 item_def_id = 1; +inline bool CMsgConsumableExhausted::_internal_has_item_def_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgConsumableExhausted::has_item_def_id() const { + return _internal_has_item_def_id(); +} +inline void CMsgConsumableExhausted::clear_item_def_id() { + _impl_.item_def_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgConsumableExhausted::_internal_item_def_id() const { + return _impl_.item_def_id_; +} +inline int32_t CMsgConsumableExhausted::item_def_id() const { + // @@protoc_insertion_point(field_get:CMsgConsumableExhausted.item_def_id) + return _internal_item_def_id(); +} +inline void CMsgConsumableExhausted::_internal_set_item_def_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_def_id_ = value; +} +inline void CMsgConsumableExhausted::set_item_def_id(int32_t value) { + _internal_set_item_def_id(value); + // @@protoc_insertion_point(field_set:CMsgConsumableExhausted.item_def_id) +} + +// ------------------------------------------------------------------- + +// CMsgItemAcknowledged__DEPRECATED + +// optional uint32 account_id = 1; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::account_id() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.account_id) + return _internal_account_id(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.account_id) +} + +// optional uint32 inventory = 2; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_inventory() const { + return _internal_has_inventory(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_inventory() { + _impl_.inventory_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_inventory() const { + return _impl_.inventory_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::inventory() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.inventory) + return _internal_inventory(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_inventory(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.inventory_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_inventory(uint32_t value) { + _internal_set_inventory(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.inventory) +} + +// optional uint32 def_index = 3; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_def_index() const { + return _internal_has_def_index(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_def_index() { + _impl_.def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_def_index() const { + return _impl_.def_index_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::def_index() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.def_index) + return _internal_def_index(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.def_index_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_def_index(uint32_t value) { + _internal_set_def_index(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.def_index) +} + +// optional uint32 quality = 4; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_quality() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_quality() const { + return _internal_has_quality(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_quality() { + _impl_.quality_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_quality() const { + return _impl_.quality_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::quality() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.quality) + return _internal_quality(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_quality(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.quality_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_quality(uint32_t value) { + _internal_set_quality(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.quality) +} + +// optional uint32 rarity = 5; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_rarity() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_rarity() const { + return _internal_has_rarity(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_rarity() { + _impl_.rarity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_rarity() const { + return _impl_.rarity_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::rarity() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.rarity) + return _internal_rarity(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_rarity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rarity_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_rarity(uint32_t value) { + _internal_set_rarity(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.rarity) +} + +// optional uint32 origin = 6; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_origin() const { + return _internal_has_origin(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_origin() { + _impl_.origin_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_origin() const { + return _impl_.origin_; +} +inline uint32_t CMsgItemAcknowledged__DEPRECATED::origin() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.origin) + return _internal_origin(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_origin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.origin_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_origin(uint32_t value) { + _internal_set_origin(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.origin) +} + +// optional uint64 item_id = 7; +inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgItemAcknowledged__DEPRECATED::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgItemAcknowledged__DEPRECATED::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgItemAcknowledged__DEPRECATED::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgItemAcknowledged__DEPRECATED::item_id() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.item_id) + return _internal_item_id(); +} +inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.item_id_ = value; +} +inline void CMsgItemAcknowledged__DEPRECATED::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.item_id) +} + +// ------------------------------------------------------------------- + +// CMsgSetItemPositions_ItemPosition + +// optional uint32 legacy_item_id = 1; +inline bool CMsgSetItemPositions_ItemPosition::_internal_has_legacy_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSetItemPositions_ItemPosition::has_legacy_item_id() const { + return _internal_has_legacy_item_id(); +} +inline void CMsgSetItemPositions_ItemPosition::clear_legacy_item_id() { + _impl_.legacy_item_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSetItemPositions_ItemPosition::_internal_legacy_item_id() const { + return _impl_.legacy_item_id_; +} +inline uint32_t CMsgSetItemPositions_ItemPosition::legacy_item_id() const { + // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.legacy_item_id) + return _internal_legacy_item_id(); +} +inline void CMsgSetItemPositions_ItemPosition::_internal_set_legacy_item_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.legacy_item_id_ = value; +} +inline void CMsgSetItemPositions_ItemPosition::set_legacy_item_id(uint32_t value) { + _internal_set_legacy_item_id(value); + // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.legacy_item_id) +} + +// optional uint32 position = 2; +inline bool CMsgSetItemPositions_ItemPosition::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSetItemPositions_ItemPosition::has_position() const { + return _internal_has_position(); +} +inline void CMsgSetItemPositions_ItemPosition::clear_position() { + _impl_.position_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSetItemPositions_ItemPosition::_internal_position() const { + return _impl_.position_; +} +inline uint32_t CMsgSetItemPositions_ItemPosition::position() const { + // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.position) + return _internal_position(); +} +inline void CMsgSetItemPositions_ItemPosition::_internal_set_position(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.position_ = value; +} +inline void CMsgSetItemPositions_ItemPosition::set_position(uint32_t value) { + _internal_set_position(value); + // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.position) +} + +// optional uint64 item_id = 3; +inline bool CMsgSetItemPositions_ItemPosition::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSetItemPositions_ItemPosition::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgSetItemPositions_ItemPosition::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSetItemPositions_ItemPosition::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgSetItemPositions_ItemPosition::item_id() const { + // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.item_id) + return _internal_item_id(); +} +inline void CMsgSetItemPositions_ItemPosition::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_id_ = value; +} +inline void CMsgSetItemPositions_ItemPosition::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.item_id) +} + +// ------------------------------------------------------------------- + +// CMsgSetItemPositions + +// repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; +inline int CMsgSetItemPositions::_internal_item_positions_size() const { + return _impl_.item_positions_.size(); +} +inline int CMsgSetItemPositions::item_positions_size() const { + return _internal_item_positions_size(); +} +inline void CMsgSetItemPositions::clear_item_positions() { + _impl_.item_positions_.Clear(); +} +inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::mutable_item_positions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSetItemPositions.item_positions) + return _impl_.item_positions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >* +CMsgSetItemPositions::mutable_item_positions() { + // @@protoc_insertion_point(field_mutable_list:CMsgSetItemPositions.item_positions) + return &_impl_.item_positions_; +} +inline const ::CMsgSetItemPositions_ItemPosition& CMsgSetItemPositions::_internal_item_positions(int index) const { + return _impl_.item_positions_.Get(index); +} +inline const ::CMsgSetItemPositions_ItemPosition& CMsgSetItemPositions::item_positions(int index) const { + // @@protoc_insertion_point(field_get:CMsgSetItemPositions.item_positions) + return _internal_item_positions(index); +} +inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::_internal_add_item_positions() { + return _impl_.item_positions_.Add(); +} +inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::add_item_positions() { + ::CMsgSetItemPositions_ItemPosition* _add = _internal_add_item_positions(); + // @@protoc_insertion_point(field_add:CMsgSetItemPositions.item_positions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >& +CMsgSetItemPositions::item_positions() const { + // @@protoc_insertion_point(field_list:CMsgSetItemPositions.item_positions) + return _impl_.item_positions_; +} + +// ------------------------------------------------------------------- + +// CMsgGCReportAbuse + +// optional fixed64 target_steam_id = 1; +inline bool CMsgGCReportAbuse::_internal_has_target_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_target_steam_id() const { + return _internal_has_target_steam_id(); +} +inline void CMsgGCReportAbuse::clear_target_steam_id() { + _impl_.target_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCReportAbuse::_internal_target_steam_id() const { + return _impl_.target_steam_id_; +} +inline uint64_t CMsgGCReportAbuse::target_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_steam_id) + return _internal_target_steam_id(); +} +inline void CMsgGCReportAbuse::_internal_set_target_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.target_steam_id_ = value; +} +inline void CMsgGCReportAbuse::set_target_steam_id(uint64_t value) { + _internal_set_target_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_steam_id) +} + +// optional string description = 4; +inline bool CMsgGCReportAbuse::_internal_has_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_description() const { + return _internal_has_description(); +} +inline void CMsgGCReportAbuse::clear_description() { + _impl_.description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCReportAbuse::description() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.description) + return _internal_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCReportAbuse::set_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.description) +} +inline std::string* CMsgGCReportAbuse::mutable_description() { + std::string* _s = _internal_mutable_description(); + // @@protoc_insertion_point(field_mutable:CMsgGCReportAbuse.description) + return _s; +} +inline const std::string& CMsgGCReportAbuse::_internal_description() const { + return _impl_.description_.Get(); +} +inline void CMsgGCReportAbuse::_internal_set_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCReportAbuse::_internal_mutable_description() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCReportAbuse::release_description() { + // @@protoc_insertion_point(field_release:CMsgGCReportAbuse.description) + if (!_internal_has_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCReportAbuse::set_allocated_description(std::string* description) { + if (description != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.description_.SetAllocated(description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.description_.IsDefault()) { + _impl_.description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCReportAbuse.description) +} + +// optional uint64 gid = 5; +inline bool CMsgGCReportAbuse::_internal_has_gid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_gid() const { + return _internal_has_gid(); +} +inline void CMsgGCReportAbuse::clear_gid() { + _impl_.gid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCReportAbuse::_internal_gid() const { + return _impl_.gid_; +} +inline uint64_t CMsgGCReportAbuse::gid() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.gid) + return _internal_gid(); +} +inline void CMsgGCReportAbuse::_internal_set_gid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.gid_ = value; +} +inline void CMsgGCReportAbuse::set_gid(uint64_t value) { + _internal_set_gid(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.gid) +} + +// optional uint32 abuse_type = 2; +inline bool CMsgGCReportAbuse::_internal_has_abuse_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_abuse_type() const { + return _internal_has_abuse_type(); +} +inline void CMsgGCReportAbuse::clear_abuse_type() { + _impl_.abuse_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCReportAbuse::_internal_abuse_type() const { + return _impl_.abuse_type_; +} +inline uint32_t CMsgGCReportAbuse::abuse_type() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.abuse_type) + return _internal_abuse_type(); +} +inline void CMsgGCReportAbuse::_internal_set_abuse_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.abuse_type_ = value; +} +inline void CMsgGCReportAbuse::set_abuse_type(uint32_t value) { + _internal_set_abuse_type(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.abuse_type) +} + +// optional uint32 content_type = 3; +inline bool CMsgGCReportAbuse::_internal_has_content_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_content_type() const { + return _internal_has_content_type(); +} +inline void CMsgGCReportAbuse::clear_content_type() { + _impl_.content_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCReportAbuse::_internal_content_type() const { + return _impl_.content_type_; +} +inline uint32_t CMsgGCReportAbuse::content_type() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.content_type) + return _internal_content_type(); +} +inline void CMsgGCReportAbuse::_internal_set_content_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.content_type_ = value; +} +inline void CMsgGCReportAbuse::set_content_type(uint32_t value) { + _internal_set_content_type(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.content_type) +} + +// optional fixed32 target_game_server_ip = 6; +inline bool CMsgGCReportAbuse::_internal_has_target_game_server_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_target_game_server_ip() const { + return _internal_has_target_game_server_ip(); +} +inline void CMsgGCReportAbuse::clear_target_game_server_ip() { + _impl_.target_game_server_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCReportAbuse::_internal_target_game_server_ip() const { + return _impl_.target_game_server_ip_; +} +inline uint32_t CMsgGCReportAbuse::target_game_server_ip() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_game_server_ip) + return _internal_target_game_server_ip(); +} +inline void CMsgGCReportAbuse::_internal_set_target_game_server_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.target_game_server_ip_ = value; +} +inline void CMsgGCReportAbuse::set_target_game_server_ip(uint32_t value) { + _internal_set_target_game_server_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_game_server_ip) +} + +// optional uint32 target_game_server_port = 7; +inline bool CMsgGCReportAbuse::_internal_has_target_game_server_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCReportAbuse::has_target_game_server_port() const { + return _internal_has_target_game_server_port(); +} +inline void CMsgGCReportAbuse::clear_target_game_server_port() { + _impl_.target_game_server_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCReportAbuse::_internal_target_game_server_port() const { + return _impl_.target_game_server_port_; +} +inline uint32_t CMsgGCReportAbuse::target_game_server_port() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_game_server_port) + return _internal_target_game_server_port(); +} +inline void CMsgGCReportAbuse::_internal_set_target_game_server_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.target_game_server_port_ = value; +} +inline void CMsgGCReportAbuse::set_target_game_server_port(uint32_t value) { + _internal_set_target_game_server_port(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_game_server_port) +} + +// ------------------------------------------------------------------- + +// CMsgGCReportAbuseResponse + +// optional fixed64 target_steam_id = 1; +inline bool CMsgGCReportAbuseResponse::_internal_has_target_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCReportAbuseResponse::has_target_steam_id() const { + return _internal_has_target_steam_id(); +} +inline void CMsgGCReportAbuseResponse::clear_target_steam_id() { + _impl_.target_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCReportAbuseResponse::_internal_target_steam_id() const { + return _impl_.target_steam_id_; +} +inline uint64_t CMsgGCReportAbuseResponse::target_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.target_steam_id) + return _internal_target_steam_id(); +} +inline void CMsgGCReportAbuseResponse::_internal_set_target_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.target_steam_id_ = value; +} +inline void CMsgGCReportAbuseResponse::set_target_steam_id(uint64_t value) { + _internal_set_target_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.target_steam_id) +} + +// optional uint32 result = 2; +inline bool CMsgGCReportAbuseResponse::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCReportAbuseResponse::has_result() const { + return _internal_has_result(); +} +inline void CMsgGCReportAbuseResponse::clear_result() { + _impl_.result_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCReportAbuseResponse::_internal_result() const { + return _impl_.result_; +} +inline uint32_t CMsgGCReportAbuseResponse::result() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.result) + return _internal_result(); +} +inline void CMsgGCReportAbuseResponse::_internal_set_result(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.result_ = value; +} +inline void CMsgGCReportAbuseResponse::set_result(uint32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.result) +} + +// optional string error_message = 3; +inline bool CMsgGCReportAbuseResponse::_internal_has_error_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCReportAbuseResponse::has_error_message() const { + return _internal_has_error_message(); +} +inline void CMsgGCReportAbuseResponse::clear_error_message() { + _impl_.error_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCReportAbuseResponse::error_message() const { + // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.error_message) + return _internal_error_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCReportAbuseResponse::set_error_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.error_message) +} +inline std::string* CMsgGCReportAbuseResponse::mutable_error_message() { + std::string* _s = _internal_mutable_error_message(); + // @@protoc_insertion_point(field_mutable:CMsgGCReportAbuseResponse.error_message) + return _s; +} +inline const std::string& CMsgGCReportAbuseResponse::_internal_error_message() const { + return _impl_.error_message_.Get(); +} +inline void CMsgGCReportAbuseResponse::_internal_set_error_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCReportAbuseResponse::_internal_mutable_error_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.error_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCReportAbuseResponse::release_error_message() { + // @@protoc_insertion_point(field_release:CMsgGCReportAbuseResponse.error_message) + if (!_internal_has_error_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.error_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_message_.IsDefault()) { + _impl_.error_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCReportAbuseResponse::set_allocated_error_message(std::string* error_message) { + if (error_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_message_.IsDefault()) { + _impl_.error_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCReportAbuseResponse.error_message) +} + +// ------------------------------------------------------------------- + +// CMsgGCNameItemNotification + +// optional fixed64 player_steamid = 1; +inline bool CMsgGCNameItemNotification::_internal_has_player_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCNameItemNotification::has_player_steamid() const { + return _internal_has_player_steamid(); +} +inline void CMsgGCNameItemNotification::clear_player_steamid() { + _impl_.player_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCNameItemNotification::_internal_player_steamid() const { + return _impl_.player_steamid_; +} +inline uint64_t CMsgGCNameItemNotification::player_steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.player_steamid) + return _internal_player_steamid(); +} +inline void CMsgGCNameItemNotification::_internal_set_player_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_steamid_ = value; +} +inline void CMsgGCNameItemNotification::set_player_steamid(uint64_t value) { + _internal_set_player_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.player_steamid) +} + +// optional uint32 item_def_index = 2; +inline bool CMsgGCNameItemNotification::_internal_has_item_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCNameItemNotification::has_item_def_index() const { + return _internal_has_item_def_index(); +} +inline void CMsgGCNameItemNotification::clear_item_def_index() { + _impl_.item_def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCNameItemNotification::_internal_item_def_index() const { + return _impl_.item_def_index_; +} +inline uint32_t CMsgGCNameItemNotification::item_def_index() const { + // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.item_def_index) + return _internal_item_def_index(); +} +inline void CMsgGCNameItemNotification::_internal_set_item_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_def_index_ = value; +} +inline void CMsgGCNameItemNotification::set_item_def_index(uint32_t value) { + _internal_set_item_def_index(value); + // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.item_def_index) +} + +// optional string item_name_custom = 3; +inline bool CMsgGCNameItemNotification::_internal_has_item_name_custom() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCNameItemNotification::has_item_name_custom() const { + return _internal_has_item_name_custom(); +} +inline void CMsgGCNameItemNotification::clear_item_name_custom() { + _impl_.item_name_custom_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCNameItemNotification::item_name_custom() const { + // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.item_name_custom) + return _internal_item_name_custom(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCNameItemNotification::set_item_name_custom(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_name_custom_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.item_name_custom) +} +inline std::string* CMsgGCNameItemNotification::mutable_item_name_custom() { + std::string* _s = _internal_mutable_item_name_custom(); + // @@protoc_insertion_point(field_mutable:CMsgGCNameItemNotification.item_name_custom) + return _s; +} +inline const std::string& CMsgGCNameItemNotification::_internal_item_name_custom() const { + return _impl_.item_name_custom_.Get(); +} +inline void CMsgGCNameItemNotification::_internal_set_item_name_custom(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_name_custom_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCNameItemNotification::_internal_mutable_item_name_custom() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.item_name_custom_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCNameItemNotification::release_item_name_custom() { + // @@protoc_insertion_point(field_release:CMsgGCNameItemNotification.item_name_custom) + if (!_internal_has_item_name_custom()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.item_name_custom_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_name_custom_.IsDefault()) { + _impl_.item_name_custom_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCNameItemNotification::set_allocated_item_name_custom(std::string* item_name_custom) { + if (item_name_custom != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.item_name_custom_.SetAllocated(item_name_custom, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_name_custom_.IsDefault()) { + _impl_.item_name_custom_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCNameItemNotification.item_name_custom) +} + +// ------------------------------------------------------------------- + +// CMsgGCClientDisplayNotification + +// optional string notification_title_localization_key = 1; +inline bool CMsgGCClientDisplayNotification::_internal_has_notification_title_localization_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCClientDisplayNotification::has_notification_title_localization_key() const { + return _internal_has_notification_title_localization_key(); +} +inline void CMsgGCClientDisplayNotification::clear_notification_title_localization_key() { + _impl_.notification_title_localization_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCClientDisplayNotification::notification_title_localization_key() const { + // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.notification_title_localization_key) + return _internal_notification_title_localization_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCClientDisplayNotification::set_notification_title_localization_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.notification_title_localization_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.notification_title_localization_key) +} +inline std::string* CMsgGCClientDisplayNotification::mutable_notification_title_localization_key() { + std::string* _s = _internal_mutable_notification_title_localization_key(); + // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.notification_title_localization_key) + return _s; +} +inline const std::string& CMsgGCClientDisplayNotification::_internal_notification_title_localization_key() const { + return _impl_.notification_title_localization_key_.Get(); +} +inline void CMsgGCClientDisplayNotification::_internal_set_notification_title_localization_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.notification_title_localization_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCClientDisplayNotification::_internal_mutable_notification_title_localization_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.notification_title_localization_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCClientDisplayNotification::release_notification_title_localization_key() { + // @@protoc_insertion_point(field_release:CMsgGCClientDisplayNotification.notification_title_localization_key) + if (!_internal_has_notification_title_localization_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.notification_title_localization_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.notification_title_localization_key_.IsDefault()) { + _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCClientDisplayNotification::set_allocated_notification_title_localization_key(std::string* notification_title_localization_key) { + if (notification_title_localization_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.notification_title_localization_key_.SetAllocated(notification_title_localization_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.notification_title_localization_key_.IsDefault()) { + _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCClientDisplayNotification.notification_title_localization_key) +} + +// optional string notification_body_localization_key = 2; +inline bool CMsgGCClientDisplayNotification::_internal_has_notification_body_localization_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCClientDisplayNotification::has_notification_body_localization_key() const { + return _internal_has_notification_body_localization_key(); +} +inline void CMsgGCClientDisplayNotification::clear_notification_body_localization_key() { + _impl_.notification_body_localization_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCClientDisplayNotification::notification_body_localization_key() const { + // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.notification_body_localization_key) + return _internal_notification_body_localization_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCClientDisplayNotification::set_notification_body_localization_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.notification_body_localization_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.notification_body_localization_key) +} +inline std::string* CMsgGCClientDisplayNotification::mutable_notification_body_localization_key() { + std::string* _s = _internal_mutable_notification_body_localization_key(); + // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.notification_body_localization_key) + return _s; +} +inline const std::string& CMsgGCClientDisplayNotification::_internal_notification_body_localization_key() const { + return _impl_.notification_body_localization_key_.Get(); +} +inline void CMsgGCClientDisplayNotification::_internal_set_notification_body_localization_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.notification_body_localization_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCClientDisplayNotification::_internal_mutable_notification_body_localization_key() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.notification_body_localization_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCClientDisplayNotification::release_notification_body_localization_key() { + // @@protoc_insertion_point(field_release:CMsgGCClientDisplayNotification.notification_body_localization_key) + if (!_internal_has_notification_body_localization_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.notification_body_localization_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.notification_body_localization_key_.IsDefault()) { + _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCClientDisplayNotification::set_allocated_notification_body_localization_key(std::string* notification_body_localization_key) { + if (notification_body_localization_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.notification_body_localization_key_.SetAllocated(notification_body_localization_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.notification_body_localization_key_.IsDefault()) { + _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCClientDisplayNotification.notification_body_localization_key) +} + +// repeated string body_substring_keys = 3; +inline int CMsgGCClientDisplayNotification::_internal_body_substring_keys_size() const { + return _impl_.body_substring_keys_.size(); +} +inline int CMsgGCClientDisplayNotification::body_substring_keys_size() const { + return _internal_body_substring_keys_size(); +} +inline void CMsgGCClientDisplayNotification::clear_body_substring_keys() { + _impl_.body_substring_keys_.Clear(); +} +inline std::string* CMsgGCClientDisplayNotification::add_body_substring_keys() { + std::string* _s = _internal_add_body_substring_keys(); + // @@protoc_insertion_point(field_add_mutable:CMsgGCClientDisplayNotification.body_substring_keys) + return _s; +} +inline const std::string& CMsgGCClientDisplayNotification::_internal_body_substring_keys(int index) const { + return _impl_.body_substring_keys_.Get(index); +} +inline const std::string& CMsgGCClientDisplayNotification::body_substring_keys(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.body_substring_keys) + return _internal_body_substring_keys(index); +} +inline std::string* CMsgGCClientDisplayNotification::mutable_body_substring_keys(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.body_substring_keys) + return _impl_.body_substring_keys_.Mutable(index); +} +inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const std::string& value) { + _impl_.body_substring_keys_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, std::string&& value) { + _impl_.body_substring_keys_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.body_substring_keys_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const char* value, size_t size) { + _impl_.body_substring_keys_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline std::string* CMsgGCClientDisplayNotification::_internal_add_body_substring_keys() { + return _impl_.body_substring_keys_.Add(); +} +inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const std::string& value) { + _impl_.body_substring_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_keys(std::string&& value) { + _impl_.body_substring_keys_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.body_substring_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const char* value, size_t size) { + _impl_.body_substring_keys_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgGCClientDisplayNotification.body_substring_keys) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgGCClientDisplayNotification::body_substring_keys() const { + // @@protoc_insertion_point(field_list:CMsgGCClientDisplayNotification.body_substring_keys) + return _impl_.body_substring_keys_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgGCClientDisplayNotification::mutable_body_substring_keys() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCClientDisplayNotification.body_substring_keys) + return &_impl_.body_substring_keys_; +} + +// repeated string body_substring_values = 4; +inline int CMsgGCClientDisplayNotification::_internal_body_substring_values_size() const { + return _impl_.body_substring_values_.size(); +} +inline int CMsgGCClientDisplayNotification::body_substring_values_size() const { + return _internal_body_substring_values_size(); +} +inline void CMsgGCClientDisplayNotification::clear_body_substring_values() { + _impl_.body_substring_values_.Clear(); +} +inline std::string* CMsgGCClientDisplayNotification::add_body_substring_values() { + std::string* _s = _internal_add_body_substring_values(); + // @@protoc_insertion_point(field_add_mutable:CMsgGCClientDisplayNotification.body_substring_values) + return _s; +} +inline const std::string& CMsgGCClientDisplayNotification::_internal_body_substring_values(int index) const { + return _impl_.body_substring_values_.Get(index); +} +inline const std::string& CMsgGCClientDisplayNotification::body_substring_values(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.body_substring_values) + return _internal_body_substring_values(index); +} +inline std::string* CMsgGCClientDisplayNotification::mutable_body_substring_values(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.body_substring_values) + return _impl_.body_substring_values_.Mutable(index); +} +inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const std::string& value) { + _impl_.body_substring_values_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, std::string&& value) { + _impl_.body_substring_values_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.body_substring_values_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const char* value, size_t size) { + _impl_.body_substring_values_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgGCClientDisplayNotification.body_substring_values) +} +inline std::string* CMsgGCClientDisplayNotification::_internal_add_body_substring_values() { + return _impl_.body_substring_values_.Add(); +} +inline void CMsgGCClientDisplayNotification::add_body_substring_values(const std::string& value) { + _impl_.body_substring_values_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_values(std::string&& value) { + _impl_.body_substring_values_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_values(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.body_substring_values_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgGCClientDisplayNotification.body_substring_values) +} +inline void CMsgGCClientDisplayNotification::add_body_substring_values(const char* value, size_t size) { + _impl_.body_substring_values_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgGCClientDisplayNotification.body_substring_values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgGCClientDisplayNotification::body_substring_values() const { + // @@protoc_insertion_point(field_list:CMsgGCClientDisplayNotification.body_substring_values) + return _impl_.body_substring_values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgGCClientDisplayNotification::mutable_body_substring_values() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCClientDisplayNotification.body_substring_values) + return &_impl_.body_substring_values_; +} + +// ------------------------------------------------------------------- + +// CMsgGCShowItemsPickedUp + +// optional fixed64 player_steamid = 1; +inline bool CMsgGCShowItemsPickedUp::_internal_has_player_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCShowItemsPickedUp::has_player_steamid() const { + return _internal_has_player_steamid(); +} +inline void CMsgGCShowItemsPickedUp::clear_player_steamid() { + _impl_.player_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCShowItemsPickedUp::_internal_player_steamid() const { + return _impl_.player_steamid_; +} +inline uint64_t CMsgGCShowItemsPickedUp::player_steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCShowItemsPickedUp.player_steamid) + return _internal_player_steamid(); +} +inline void CMsgGCShowItemsPickedUp::_internal_set_player_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_steamid_ = value; +} +inline void CMsgGCShowItemsPickedUp::set_player_steamid(uint64_t value) { + _internal_set_player_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCShowItemsPickedUp.player_steamid) +} + +// ------------------------------------------------------------------- + +// CMsgGCIncrementKillCountResponse + +// optional uint32 killer_account_id = 1 [(.key_field) = true]; +inline bool CMsgGCIncrementKillCountResponse::_internal_has_killer_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCIncrementKillCountResponse::has_killer_account_id() const { + return _internal_has_killer_account_id(); +} +inline void CMsgGCIncrementKillCountResponse::clear_killer_account_id() { + _impl_.killer_account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCIncrementKillCountResponse::_internal_killer_account_id() const { + return _impl_.killer_account_id_; +} +inline uint32_t CMsgGCIncrementKillCountResponse::killer_account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.killer_account_id) + return _internal_killer_account_id(); +} +inline void CMsgGCIncrementKillCountResponse::_internal_set_killer_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.killer_account_id_ = value; +} +inline void CMsgGCIncrementKillCountResponse::set_killer_account_id(uint32_t value) { + _internal_set_killer_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.killer_account_id) +} + +// optional uint32 num_kills = 2; +inline bool CMsgGCIncrementKillCountResponse::_internal_has_num_kills() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCIncrementKillCountResponse::has_num_kills() const { + return _internal_has_num_kills(); +} +inline void CMsgGCIncrementKillCountResponse::clear_num_kills() { + _impl_.num_kills_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCIncrementKillCountResponse::_internal_num_kills() const { + return _impl_.num_kills_; +} +inline uint32_t CMsgGCIncrementKillCountResponse::num_kills() const { + // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.num_kills) + return _internal_num_kills(); +} +inline void CMsgGCIncrementKillCountResponse::_internal_set_num_kills(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.num_kills_ = value; +} +inline void CMsgGCIncrementKillCountResponse::set_num_kills(uint32_t value) { + _internal_set_num_kills(value); + // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.num_kills) +} + +// optional uint32 item_def = 3; +inline bool CMsgGCIncrementKillCountResponse::_internal_has_item_def() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCIncrementKillCountResponse::has_item_def() const { + return _internal_has_item_def(); +} +inline void CMsgGCIncrementKillCountResponse::clear_item_def() { + _impl_.item_def_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCIncrementKillCountResponse::_internal_item_def() const { + return _impl_.item_def_; +} +inline uint32_t CMsgGCIncrementKillCountResponse::item_def() const { + // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.item_def) + return _internal_item_def(); +} +inline void CMsgGCIncrementKillCountResponse::_internal_set_item_def(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_def_ = value; +} +inline void CMsgGCIncrementKillCountResponse::set_item_def(uint32_t value) { + _internal_set_item_def(value); + // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.item_def) +} + +// optional uint32 level_type = 4; +inline bool CMsgGCIncrementKillCountResponse::_internal_has_level_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCIncrementKillCountResponse::has_level_type() const { + return _internal_has_level_type(); +} +inline void CMsgGCIncrementKillCountResponse::clear_level_type() { + _impl_.level_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCIncrementKillCountResponse::_internal_level_type() const { + return _impl_.level_type_; +} +inline uint32_t CMsgGCIncrementKillCountResponse::level_type() const { + // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.level_type) + return _internal_level_type(); +} +inline void CMsgGCIncrementKillCountResponse::_internal_set_level_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.level_type_ = value; +} +inline void CMsgGCIncrementKillCountResponse::set_level_type(uint32_t value) { + _internal_set_level_type(value); + // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.level_type) +} + +// ------------------------------------------------------------------- + +// CSOEconItemDropRateBonus + +// optional uint32 account_id = 1; +inline bool CSOEconItemDropRateBonus::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconItemDropRateBonus::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconItemDropRateBonus::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconItemDropRateBonus::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.account_id) + return _internal_account_id(); +} +inline void CSOEconItemDropRateBonus::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CSOEconItemDropRateBonus::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.account_id) +} + +// optional fixed32 expiration_date = 2; +inline bool CSOEconItemDropRateBonus::_internal_has_expiration_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_expiration_date() const { + return _internal_has_expiration_date(); +} +inline void CSOEconItemDropRateBonus::clear_expiration_date() { + _impl_.expiration_date_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconItemDropRateBonus::_internal_expiration_date() const { + return _impl_.expiration_date_; +} +inline uint32_t CSOEconItemDropRateBonus::expiration_date() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.expiration_date) + return _internal_expiration_date(); +} +inline void CSOEconItemDropRateBonus::_internal_set_expiration_date(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.expiration_date_ = value; +} +inline void CSOEconItemDropRateBonus::set_expiration_date(uint32_t value) { + _internal_set_expiration_date(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.expiration_date) +} + +// optional float bonus = 3; +inline bool CSOEconItemDropRateBonus::_internal_has_bonus() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_bonus() const { + return _internal_has_bonus(); +} +inline void CSOEconItemDropRateBonus::clear_bonus() { + _impl_.bonus_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CSOEconItemDropRateBonus::_internal_bonus() const { + return _impl_.bonus_; +} +inline float CSOEconItemDropRateBonus::bonus() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.bonus) + return _internal_bonus(); +} +inline void CSOEconItemDropRateBonus::_internal_set_bonus(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bonus_ = value; +} +inline void CSOEconItemDropRateBonus::set_bonus(float value) { + _internal_set_bonus(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.bonus) +} + +// optional uint32 bonus_count = 4; +inline bool CSOEconItemDropRateBonus::_internal_has_bonus_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_bonus_count() const { + return _internal_has_bonus_count(); +} +inline void CSOEconItemDropRateBonus::clear_bonus_count() { + _impl_.bonus_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconItemDropRateBonus::_internal_bonus_count() const { + return _impl_.bonus_count_; +} +inline uint32_t CSOEconItemDropRateBonus::bonus_count() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.bonus_count) + return _internal_bonus_count(); +} +inline void CSOEconItemDropRateBonus::_internal_set_bonus_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.bonus_count_ = value; +} +inline void CSOEconItemDropRateBonus::set_bonus_count(uint32_t value) { + _internal_set_bonus_count(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.bonus_count) +} + +// optional uint64 item_id = 5; +inline bool CSOEconItemDropRateBonus::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_item_id() const { + return _internal_has_item_id(); +} +inline void CSOEconItemDropRateBonus::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CSOEconItemDropRateBonus::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CSOEconItemDropRateBonus::item_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.item_id) + return _internal_item_id(); +} +inline void CSOEconItemDropRateBonus::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.item_id_ = value; +} +inline void CSOEconItemDropRateBonus::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.item_id) +} + +// optional uint32 def_index = 6; +inline bool CSOEconItemDropRateBonus::_internal_has_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOEconItemDropRateBonus::has_def_index() const { + return _internal_has_def_index(); +} +inline void CSOEconItemDropRateBonus::clear_def_index() { + _impl_.def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSOEconItemDropRateBonus::_internal_def_index() const { + return _impl_.def_index_; +} +inline uint32_t CSOEconItemDropRateBonus::def_index() const { + // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.def_index) + return _internal_def_index(); +} +inline void CSOEconItemDropRateBonus::_internal_set_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.def_index_ = value; +} +inline void CSOEconItemDropRateBonus::set_def_index(uint32_t value) { + _internal_set_def_index(value); + // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.def_index) +} + +// ------------------------------------------------------------------- + +// CSOEconItemLeagueViewPass + +// optional uint32 account_id = 1 [(.key_field) = true]; +inline bool CSOEconItemLeagueViewPass::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItemLeagueViewPass::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconItemLeagueViewPass::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconItemLeagueViewPass::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconItemLeagueViewPass::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.account_id) + return _internal_account_id(); +} +inline void CSOEconItemLeagueViewPass::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CSOEconItemLeagueViewPass::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.account_id) +} + +// optional uint32 league_id = 2 [(.key_field) = true]; +inline bool CSOEconItemLeagueViewPass::_internal_has_league_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItemLeagueViewPass::has_league_id() const { + return _internal_has_league_id(); +} +inline void CSOEconItemLeagueViewPass::clear_league_id() { + _impl_.league_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconItemLeagueViewPass::_internal_league_id() const { + return _impl_.league_id_; +} +inline uint32_t CSOEconItemLeagueViewPass::league_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.league_id) + return _internal_league_id(); +} +inline void CSOEconItemLeagueViewPass::_internal_set_league_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.league_id_ = value; +} +inline void CSOEconItemLeagueViewPass::set_league_id(uint32_t value) { + _internal_set_league_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.league_id) +} + +// optional uint32 admin = 3; +inline bool CSOEconItemLeagueViewPass::_internal_has_admin() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconItemLeagueViewPass::has_admin() const { + return _internal_has_admin(); +} +inline void CSOEconItemLeagueViewPass::clear_admin() { + _impl_.admin_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconItemLeagueViewPass::_internal_admin() const { + return _impl_.admin_; +} +inline uint32_t CSOEconItemLeagueViewPass::admin() const { + // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.admin) + return _internal_admin(); +} +inline void CSOEconItemLeagueViewPass::_internal_set_admin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.admin_ = value; +} +inline void CSOEconItemLeagueViewPass::set_admin(uint32_t value) { + _internal_set_admin(value); + // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.admin) +} + +// optional uint32 itemindex = 4; +inline bool CSOEconItemLeagueViewPass::_internal_has_itemindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconItemLeagueViewPass::has_itemindex() const { + return _internal_has_itemindex(); +} +inline void CSOEconItemLeagueViewPass::clear_itemindex() { + _impl_.itemindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconItemLeagueViewPass::_internal_itemindex() const { + return _impl_.itemindex_; +} +inline uint32_t CSOEconItemLeagueViewPass::itemindex() const { + // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.itemindex) + return _internal_itemindex(); +} +inline void CSOEconItemLeagueViewPass::_internal_set_itemindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.itemindex_ = value; +} +inline void CSOEconItemLeagueViewPass::set_itemindex(uint32_t value) { + _internal_set_itemindex(value); + // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.itemindex) +} + +// ------------------------------------------------------------------- + +// CSOEconItemEventTicket + +// optional uint32 account_id = 1; +inline bool CSOEconItemEventTicket::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconItemEventTicket::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconItemEventTicket::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconItemEventTicket::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconItemEventTicket::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.account_id) + return _internal_account_id(); +} +inline void CSOEconItemEventTicket::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CSOEconItemEventTicket::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.account_id) +} + +// optional uint32 event_id = 2; +inline bool CSOEconItemEventTicket::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconItemEventTicket::has_event_id() const { + return _internal_has_event_id(); +} +inline void CSOEconItemEventTicket::clear_event_id() { + _impl_.event_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconItemEventTicket::_internal_event_id() const { + return _impl_.event_id_; +} +inline uint32_t CSOEconItemEventTicket::event_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.event_id) + return _internal_event_id(); +} +inline void CSOEconItemEventTicket::_internal_set_event_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.event_id_ = value; +} +inline void CSOEconItemEventTicket::set_event_id(uint32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.event_id) +} + +// optional uint64 item_id = 3; +inline bool CSOEconItemEventTicket::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconItemEventTicket::has_item_id() const { + return _internal_has_item_id(); +} +inline void CSOEconItemEventTicket::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CSOEconItemEventTicket::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CSOEconItemEventTicket::item_id() const { + // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.item_id) + return _internal_item_id(); +} +inline void CSOEconItemEventTicket::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_id_ = value; +} +inline void CSOEconItemEventTicket::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.item_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCItemPreviewItemBoughtNotification + +// optional uint32 item_def_index = 1; +inline bool CMsgGCItemPreviewItemBoughtNotification::_internal_has_item_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCItemPreviewItemBoughtNotification::has_item_def_index() const { + return _internal_has_item_def_index(); +} +inline void CMsgGCItemPreviewItemBoughtNotification::clear_item_def_index() { + _impl_.item_def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCItemPreviewItemBoughtNotification::_internal_item_def_index() const { + return _impl_.item_def_index_; +} +inline uint32_t CMsgGCItemPreviewItemBoughtNotification::item_def_index() const { + // @@protoc_insertion_point(field_get:CMsgGCItemPreviewItemBoughtNotification.item_def_index) + return _internal_item_def_index(); +} +inline void CMsgGCItemPreviewItemBoughtNotification::_internal_set_item_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_def_index_ = value; +} +inline void CMsgGCItemPreviewItemBoughtNotification::set_item_def_index(uint32_t value) { + _internal_set_item_def_index(value); + // @@protoc_insertion_point(field_set:CMsgGCItemPreviewItemBoughtNotification.item_def_index) +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseCancel + +// optional uint64 txn_id = 1; +inline bool CMsgGCStorePurchaseCancel::_internal_has_txn_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseCancel::has_txn_id() const { + return _internal_has_txn_id(); +} +inline void CMsgGCStorePurchaseCancel::clear_txn_id() { + _impl_.txn_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCStorePurchaseCancel::_internal_txn_id() const { + return _impl_.txn_id_; +} +inline uint64_t CMsgGCStorePurchaseCancel::txn_id() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseCancel.txn_id) + return _internal_txn_id(); +} +inline void CMsgGCStorePurchaseCancel::_internal_set_txn_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.txn_id_ = value; +} +inline void CMsgGCStorePurchaseCancel::set_txn_id(uint64_t value) { + _internal_set_txn_id(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseCancel.txn_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseCancelResponse + +// optional uint32 result = 1; +inline bool CMsgGCStorePurchaseCancelResponse::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseCancelResponse::has_result() const { + return _internal_has_result(); +} +inline void CMsgGCStorePurchaseCancelResponse::clear_result() { + _impl_.result_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCStorePurchaseCancelResponse::_internal_result() const { + return _impl_.result_; +} +inline uint32_t CMsgGCStorePurchaseCancelResponse::result() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseCancelResponse.result) + return _internal_result(); +} +inline void CMsgGCStorePurchaseCancelResponse::_internal_set_result(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.result_ = value; +} +inline void CMsgGCStorePurchaseCancelResponse::set_result(uint32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseCancelResponse.result) +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseFinalize + +// optional uint64 txn_id = 1; +inline bool CMsgGCStorePurchaseFinalize::_internal_has_txn_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseFinalize::has_txn_id() const { + return _internal_has_txn_id(); +} +inline void CMsgGCStorePurchaseFinalize::clear_txn_id() { + _impl_.txn_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCStorePurchaseFinalize::_internal_txn_id() const { + return _impl_.txn_id_; +} +inline uint64_t CMsgGCStorePurchaseFinalize::txn_id() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalize.txn_id) + return _internal_txn_id(); +} +inline void CMsgGCStorePurchaseFinalize::_internal_set_txn_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.txn_id_ = value; +} +inline void CMsgGCStorePurchaseFinalize::set_txn_id(uint64_t value) { + _internal_set_txn_id(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalize.txn_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCStorePurchaseFinalizeResponse + +// optional uint32 result = 1; +inline bool CMsgGCStorePurchaseFinalizeResponse::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCStorePurchaseFinalizeResponse::has_result() const { + return _internal_has_result(); +} +inline void CMsgGCStorePurchaseFinalizeResponse::clear_result() { + _impl_.result_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCStorePurchaseFinalizeResponse::_internal_result() const { + return _impl_.result_; +} +inline uint32_t CMsgGCStorePurchaseFinalizeResponse::result() const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalizeResponse.result) + return _internal_result(); +} +inline void CMsgGCStorePurchaseFinalizeResponse::_internal_set_result(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.result_ = value; +} +inline void CMsgGCStorePurchaseFinalizeResponse::set_result(uint32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalizeResponse.result) +} + +// repeated uint64 item_ids = 2; +inline int CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids_size() const { + return _impl_.item_ids_.size(); +} +inline int CMsgGCStorePurchaseFinalizeResponse::item_ids_size() const { + return _internal_item_ids_size(); +} +inline void CMsgGCStorePurchaseFinalizeResponse::clear_item_ids() { + _impl_.item_ids_.Clear(); +} +inline uint64_t CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids(int index) const { + return _impl_.item_ids_.Get(index); +} +inline uint64_t CMsgGCStorePurchaseFinalizeResponse::item_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalizeResponse.item_ids) + return _internal_item_ids(index); +} +inline void CMsgGCStorePurchaseFinalizeResponse::set_item_ids(int index, uint64_t value) { + _impl_.item_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalizeResponse.item_ids) +} +inline void CMsgGCStorePurchaseFinalizeResponse::_internal_add_item_ids(uint64_t value) { + _impl_.item_ids_.Add(value); +} +inline void CMsgGCStorePurchaseFinalizeResponse::add_item_ids(uint64_t value) { + _internal_add_item_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseFinalizeResponse.item_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids() const { + return _impl_.item_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCStorePurchaseFinalizeResponse::item_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseFinalizeResponse.item_ids) + return _internal_item_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCStorePurchaseFinalizeResponse::_internal_mutable_item_ids() { + return &_impl_.item_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCStorePurchaseFinalizeResponse::mutable_item_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseFinalizeResponse.item_ids) + return _internal_mutable_item_ids(); +} + +// ------------------------------------------------------------------- + +// CMsgGCBannedWordListRequest + +// optional uint32 ban_list_group_id = 1; +inline bool CMsgGCBannedWordListRequest::_internal_has_ban_list_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCBannedWordListRequest::has_ban_list_group_id() const { + return _internal_has_ban_list_group_id(); +} +inline void CMsgGCBannedWordListRequest::clear_ban_list_group_id() { + _impl_.ban_list_group_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCBannedWordListRequest::_internal_ban_list_group_id() const { + return _impl_.ban_list_group_id_; +} +inline uint32_t CMsgGCBannedWordListRequest::ban_list_group_id() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWordListRequest.ban_list_group_id) + return _internal_ban_list_group_id(); +} +inline void CMsgGCBannedWordListRequest::_internal_set_ban_list_group_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ban_list_group_id_ = value; +} +inline void CMsgGCBannedWordListRequest::set_ban_list_group_id(uint32_t value) { + _internal_set_ban_list_group_id(value); + // @@protoc_insertion_point(field_set:CMsgGCBannedWordListRequest.ban_list_group_id) +} + +// optional uint32 word_id = 2; +inline bool CMsgGCBannedWordListRequest::_internal_has_word_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCBannedWordListRequest::has_word_id() const { + return _internal_has_word_id(); +} +inline void CMsgGCBannedWordListRequest::clear_word_id() { + _impl_.word_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCBannedWordListRequest::_internal_word_id() const { + return _impl_.word_id_; +} +inline uint32_t CMsgGCBannedWordListRequest::word_id() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWordListRequest.word_id) + return _internal_word_id(); +} +inline void CMsgGCBannedWordListRequest::_internal_set_word_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.word_id_ = value; +} +inline void CMsgGCBannedWordListRequest::set_word_id(uint32_t value) { + _internal_set_word_id(value); + // @@protoc_insertion_point(field_set:CMsgGCBannedWordListRequest.word_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCRequestAnnouncements + +// ------------------------------------------------------------------- + +// CMsgGCRequestAnnouncementsResponse + +// optional string announcement_title = 1; +inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_announcement_title() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCRequestAnnouncementsResponse::has_announcement_title() const { + return _internal_has_announcement_title(); +} +inline void CMsgGCRequestAnnouncementsResponse::clear_announcement_title() { + _impl_.announcement_title_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::announcement_title() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.announcement_title) + return _internal_announcement_title(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCRequestAnnouncementsResponse::set_announcement_title(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.announcement_title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.announcement_title) +} +inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_announcement_title() { + std::string* _s = _internal_mutable_announcement_title(); + // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.announcement_title) + return _s; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_announcement_title() const { + return _impl_.announcement_title_.Get(); +} +inline void CMsgGCRequestAnnouncementsResponse::_internal_set_announcement_title(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.announcement_title_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_announcement_title() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.announcement_title_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::release_announcement_title() { + // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.announcement_title) + if (!_internal_has_announcement_title()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.announcement_title_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_title_.IsDefault()) { + _impl_.announcement_title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCRequestAnnouncementsResponse::set_allocated_announcement_title(std::string* announcement_title) { + if (announcement_title != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.announcement_title_.SetAllocated(announcement_title, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_title_.IsDefault()) { + _impl_.announcement_title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.announcement_title) +} + +// optional string announcement = 2; +inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_announcement() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCRequestAnnouncementsResponse::has_announcement() const { + return _internal_has_announcement(); +} +inline void CMsgGCRequestAnnouncementsResponse::clear_announcement() { + _impl_.announcement_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::announcement() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.announcement) + return _internal_announcement(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCRequestAnnouncementsResponse::set_announcement(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.announcement_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.announcement) +} +inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_announcement() { + std::string* _s = _internal_mutable_announcement(); + // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.announcement) + return _s; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_announcement() const { + return _impl_.announcement_.Get(); +} +inline void CMsgGCRequestAnnouncementsResponse::_internal_set_announcement(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.announcement_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_announcement() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.announcement_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::release_announcement() { + // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.announcement) + if (!_internal_has_announcement()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.announcement_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_.IsDefault()) { + _impl_.announcement_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCRequestAnnouncementsResponse::set_allocated_announcement(std::string* announcement) { + if (announcement != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.announcement_.SetAllocated(announcement, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_.IsDefault()) { + _impl_.announcement_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.announcement) +} + +// optional string nextmatch_title = 3; +inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_nextmatch_title() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCRequestAnnouncementsResponse::has_nextmatch_title() const { + return _internal_has_nextmatch_title(); +} +inline void CMsgGCRequestAnnouncementsResponse::clear_nextmatch_title() { + _impl_.nextmatch_title_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::nextmatch_title() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.nextmatch_title) + return _internal_nextmatch_title(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCRequestAnnouncementsResponse::set_nextmatch_title(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.nextmatch_title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.nextmatch_title) +} +inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_nextmatch_title() { + std::string* _s = _internal_mutable_nextmatch_title(); + // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.nextmatch_title) + return _s; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_nextmatch_title() const { + return _impl_.nextmatch_title_.Get(); +} +inline void CMsgGCRequestAnnouncementsResponse::_internal_set_nextmatch_title(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.nextmatch_title_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_nextmatch_title() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.nextmatch_title_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::release_nextmatch_title() { + // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.nextmatch_title) + if (!_internal_has_nextmatch_title()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.nextmatch_title_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nextmatch_title_.IsDefault()) { + _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCRequestAnnouncementsResponse::set_allocated_nextmatch_title(std::string* nextmatch_title) { + if (nextmatch_title != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.nextmatch_title_.SetAllocated(nextmatch_title, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nextmatch_title_.IsDefault()) { + _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.nextmatch_title) +} + +// optional string nextmatch = 4; +inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_nextmatch() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCRequestAnnouncementsResponse::has_nextmatch() const { + return _internal_has_nextmatch(); +} +inline void CMsgGCRequestAnnouncementsResponse::clear_nextmatch() { + _impl_.nextmatch_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::nextmatch() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.nextmatch) + return _internal_nextmatch(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCRequestAnnouncementsResponse::set_nextmatch(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.nextmatch_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.nextmatch) +} +inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_nextmatch() { + std::string* _s = _internal_mutable_nextmatch(); + // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.nextmatch) + return _s; +} +inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_nextmatch() const { + return _impl_.nextmatch_.Get(); +} +inline void CMsgGCRequestAnnouncementsResponse::_internal_set_nextmatch(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.nextmatch_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_nextmatch() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.nextmatch_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCRequestAnnouncementsResponse::release_nextmatch() { + // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.nextmatch) + if (!_internal_has_nextmatch()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.nextmatch_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nextmatch_.IsDefault()) { + _impl_.nextmatch_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCRequestAnnouncementsResponse::set_allocated_nextmatch(std::string* nextmatch) { + if (nextmatch != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.nextmatch_.SetAllocated(nextmatch, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nextmatch_.IsDefault()) { + _impl_.nextmatch_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.nextmatch) +} + +// ------------------------------------------------------------------- + +// CMsgGCBannedWord + +// optional uint32 word_id = 1; +inline bool CMsgGCBannedWord::_internal_has_word_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCBannedWord::has_word_id() const { + return _internal_has_word_id(); +} +inline void CMsgGCBannedWord::clear_word_id() { + _impl_.word_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCBannedWord::_internal_word_id() const { + return _impl_.word_id_; +} +inline uint32_t CMsgGCBannedWord::word_id() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word_id) + return _internal_word_id(); +} +inline void CMsgGCBannedWord::_internal_set_word_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.word_id_ = value; +} +inline void CMsgGCBannedWord::set_word_id(uint32_t value) { + _internal_set_word_id(value); + // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word_id) +} + +// optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; +inline bool CMsgGCBannedWord::_internal_has_word_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCBannedWord::has_word_type() const { + return _internal_has_word_type(); +} +inline void CMsgGCBannedWord::clear_word_type() { + _impl_.word_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline ::GC_BannedWordType CMsgGCBannedWord::_internal_word_type() const { + return static_cast< ::GC_BannedWordType >(_impl_.word_type_); +} +inline ::GC_BannedWordType CMsgGCBannedWord::word_type() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word_type) + return _internal_word_type(); +} +inline void CMsgGCBannedWord::_internal_set_word_type(::GC_BannedWordType value) { + assert(::GC_BannedWordType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.word_type_ = value; +} +inline void CMsgGCBannedWord::set_word_type(::GC_BannedWordType value) { + _internal_set_word_type(value); + // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word_type) +} + +// optional string word = 3; +inline bool CMsgGCBannedWord::_internal_has_word() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCBannedWord::has_word() const { + return _internal_has_word(); +} +inline void CMsgGCBannedWord::clear_word() { + _impl_.word_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCBannedWord::word() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word) + return _internal_word(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCBannedWord::set_word(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.word_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word) +} +inline std::string* CMsgGCBannedWord::mutable_word() { + std::string* _s = _internal_mutable_word(); + // @@protoc_insertion_point(field_mutable:CMsgGCBannedWord.word) + return _s; +} +inline const std::string& CMsgGCBannedWord::_internal_word() const { + return _impl_.word_.Get(); +} +inline void CMsgGCBannedWord::_internal_set_word(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.word_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCBannedWord::_internal_mutable_word() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.word_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCBannedWord::release_word() { + // @@protoc_insertion_point(field_release:CMsgGCBannedWord.word) + if (!_internal_has_word()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.word_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.word_.IsDefault()) { + _impl_.word_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCBannedWord::set_allocated_word(std::string* word) { + if (word != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.word_.SetAllocated(word, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.word_.IsDefault()) { + _impl_.word_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCBannedWord.word) +} + +// ------------------------------------------------------------------- + +// CMsgGCBannedWordListResponse + +// optional uint32 ban_list_group_id = 1; +inline bool CMsgGCBannedWordListResponse::_internal_has_ban_list_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCBannedWordListResponse::has_ban_list_group_id() const { + return _internal_has_ban_list_group_id(); +} +inline void CMsgGCBannedWordListResponse::clear_ban_list_group_id() { + _impl_.ban_list_group_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCBannedWordListResponse::_internal_ban_list_group_id() const { + return _impl_.ban_list_group_id_; +} +inline uint32_t CMsgGCBannedWordListResponse::ban_list_group_id() const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWordListResponse.ban_list_group_id) + return _internal_ban_list_group_id(); +} +inline void CMsgGCBannedWordListResponse::_internal_set_ban_list_group_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ban_list_group_id_ = value; +} +inline void CMsgGCBannedWordListResponse::set_ban_list_group_id(uint32_t value) { + _internal_set_ban_list_group_id(value); + // @@protoc_insertion_point(field_set:CMsgGCBannedWordListResponse.ban_list_group_id) +} + +// repeated .CMsgGCBannedWord word_list = 2; +inline int CMsgGCBannedWordListResponse::_internal_word_list_size() const { + return _impl_.word_list_.size(); +} +inline int CMsgGCBannedWordListResponse::word_list_size() const { + return _internal_word_list_size(); +} +inline void CMsgGCBannedWordListResponse::clear_word_list() { + _impl_.word_list_.Clear(); +} +inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::mutable_word_list(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCBannedWordListResponse.word_list) + return _impl_.word_list_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >* +CMsgGCBannedWordListResponse::mutable_word_list() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCBannedWordListResponse.word_list) + return &_impl_.word_list_; +} +inline const ::CMsgGCBannedWord& CMsgGCBannedWordListResponse::_internal_word_list(int index) const { + return _impl_.word_list_.Get(index); +} +inline const ::CMsgGCBannedWord& CMsgGCBannedWordListResponse::word_list(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCBannedWordListResponse.word_list) + return _internal_word_list(index); +} +inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::_internal_add_word_list() { + return _impl_.word_list_.Add(); +} +inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::add_word_list() { + ::CMsgGCBannedWord* _add = _internal_add_word_list(); + // @@protoc_insertion_point(field_add:CMsgGCBannedWordListResponse.word_list) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >& +CMsgGCBannedWordListResponse::word_list() const { + // @@protoc_insertion_point(field_list:CMsgGCBannedWordListResponse.word_list) + return _impl_.word_list_; +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCBannedWordListBroadcast + +// optional .CMsgGCBannedWordListResponse broadcast = 1; +inline bool CMsgGCToGCBannedWordListBroadcast::_internal_has_broadcast() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.broadcast_ != nullptr); + return value; +} +inline bool CMsgGCToGCBannedWordListBroadcast::has_broadcast() const { + return _internal_has_broadcast(); +} +inline void CMsgGCToGCBannedWordListBroadcast::clear_broadcast() { + if (_impl_.broadcast_ != nullptr) _impl_.broadcast_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgGCBannedWordListResponse& CMsgGCToGCBannedWordListBroadcast::_internal_broadcast() const { + const ::CMsgGCBannedWordListResponse* p = _impl_.broadcast_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCBannedWordListResponse_default_instance_); +} +inline const ::CMsgGCBannedWordListResponse& CMsgGCToGCBannedWordListBroadcast::broadcast() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCBannedWordListBroadcast.broadcast) + return _internal_broadcast(); +} +inline void CMsgGCToGCBannedWordListBroadcast::unsafe_arena_set_allocated_broadcast( + ::CMsgGCBannedWordListResponse* broadcast) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.broadcast_); + } + _impl_.broadcast_ = broadcast; + if (broadcast) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCToGCBannedWordListBroadcast.broadcast) +} +inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::release_broadcast() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCBannedWordListResponse* temp = _impl_.broadcast_; + _impl_.broadcast_ = 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 ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::unsafe_arena_release_broadcast() { + // @@protoc_insertion_point(field_release:CMsgGCToGCBannedWordListBroadcast.broadcast) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCBannedWordListResponse* temp = _impl_.broadcast_; + _impl_.broadcast_ = nullptr; + return temp; +} +inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::_internal_mutable_broadcast() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.broadcast_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCBannedWordListResponse>(GetArenaForAllocation()); + _impl_.broadcast_ = p; + } + return _impl_.broadcast_; +} +inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::mutable_broadcast() { + ::CMsgGCBannedWordListResponse* _msg = _internal_mutable_broadcast(); + // @@protoc_insertion_point(field_mutable:CMsgGCToGCBannedWordListBroadcast.broadcast) + return _msg; +} +inline void CMsgGCToGCBannedWordListBroadcast::set_allocated_broadcast(::CMsgGCBannedWordListResponse* broadcast) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.broadcast_; + } + if (broadcast) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(broadcast); + if (message_arena != submessage_arena) { + broadcast = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, broadcast, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.broadcast_ = broadcast; + // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCBannedWordListBroadcast.broadcast) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCBannedWordListUpdated + +// optional uint32 group_id = 1; +inline bool CMsgGCToGCBannedWordListUpdated::_internal_has_group_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCBannedWordListUpdated::has_group_id() const { + return _internal_has_group_id(); +} +inline void CMsgGCToGCBannedWordListUpdated::clear_group_id() { + _impl_.group_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCToGCBannedWordListUpdated::_internal_group_id() const { + return _impl_.group_id_; +} +inline uint32_t CMsgGCToGCBannedWordListUpdated::group_id() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCBannedWordListUpdated.group_id) + return _internal_group_id(); +} +inline void CMsgGCToGCBannedWordListUpdated::_internal_set_group_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.group_id_ = value; +} +inline void CMsgGCToGCBannedWordListUpdated::set_group_id(uint32_t value) { + _internal_set_group_id(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCBannedWordListUpdated.group_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCDirtySDOCache + +// optional uint32 sdo_type = 1; +inline bool CMsgGCToGCDirtySDOCache::_internal_has_sdo_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCToGCDirtySDOCache::has_sdo_type() const { + return _internal_has_sdo_type(); +} +inline void CMsgGCToGCDirtySDOCache::clear_sdo_type() { + _impl_.sdo_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCToGCDirtySDOCache::_internal_sdo_type() const { + return _impl_.sdo_type_; +} +inline uint32_t CMsgGCToGCDirtySDOCache::sdo_type() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCDirtySDOCache.sdo_type) + return _internal_sdo_type(); +} +inline void CMsgGCToGCDirtySDOCache::_internal_set_sdo_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sdo_type_ = value; +} +inline void CMsgGCToGCDirtySDOCache::set_sdo_type(uint32_t value) { + _internal_set_sdo_type(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCDirtySDOCache.sdo_type) +} + +// optional uint64 key_uint64 = 2; +inline bool CMsgGCToGCDirtySDOCache::_internal_has_key_uint64() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCDirtySDOCache::has_key_uint64() const { + return _internal_has_key_uint64(); +} +inline void CMsgGCToGCDirtySDOCache::clear_key_uint64() { + _impl_.key_uint64_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCToGCDirtySDOCache::_internal_key_uint64() const { + return _impl_.key_uint64_; +} +inline uint64_t CMsgGCToGCDirtySDOCache::key_uint64() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCDirtySDOCache.key_uint64) + return _internal_key_uint64(); +} +inline void CMsgGCToGCDirtySDOCache::_internal_set_key_uint64(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_uint64_ = value; +} +inline void CMsgGCToGCDirtySDOCache::set_key_uint64(uint64_t value) { + _internal_set_key_uint64(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCDirtySDOCache.key_uint64) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCDirtyMultipleSDOCache + +// optional uint32 sdo_type = 1; +inline bool CMsgGCToGCDirtyMultipleSDOCache::_internal_has_sdo_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCDirtyMultipleSDOCache::has_sdo_type() const { + return _internal_has_sdo_type(); +} +inline void CMsgGCToGCDirtyMultipleSDOCache::clear_sdo_type() { + _impl_.sdo_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCToGCDirtyMultipleSDOCache::_internal_sdo_type() const { + return _impl_.sdo_type_; +} +inline uint32_t CMsgGCToGCDirtyMultipleSDOCache::sdo_type() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCDirtyMultipleSDOCache.sdo_type) + return _internal_sdo_type(); +} +inline void CMsgGCToGCDirtyMultipleSDOCache::_internal_set_sdo_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sdo_type_ = value; +} +inline void CMsgGCToGCDirtyMultipleSDOCache::set_sdo_type(uint32_t value) { + _internal_set_sdo_type(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCDirtyMultipleSDOCache.sdo_type) +} + +// repeated uint64 key_uint64 = 2; +inline int CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64_size() const { + return _impl_.key_uint64_.size(); +} +inline int CMsgGCToGCDirtyMultipleSDOCache::key_uint64_size() const { + return _internal_key_uint64_size(); +} +inline void CMsgGCToGCDirtyMultipleSDOCache::clear_key_uint64() { + _impl_.key_uint64_.Clear(); +} +inline uint64_t CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64(int index) const { + return _impl_.key_uint64_.Get(index); +} +inline uint64_t CMsgGCToGCDirtyMultipleSDOCache::key_uint64(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) + return _internal_key_uint64(index); +} +inline void CMsgGCToGCDirtyMultipleSDOCache::set_key_uint64(int index, uint64_t value) { + _impl_.key_uint64_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) +} +inline void CMsgGCToGCDirtyMultipleSDOCache::_internal_add_key_uint64(uint64_t value) { + _impl_.key_uint64_.Add(value); +} +inline void CMsgGCToGCDirtyMultipleSDOCache::add_key_uint64(uint64_t value) { + _internal_add_key_uint64(value); + // @@protoc_insertion_point(field_add:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64() const { + return _impl_.key_uint64_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCToGCDirtyMultipleSDOCache::key_uint64() const { + // @@protoc_insertion_point(field_list:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) + return _internal_key_uint64(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCToGCDirtyMultipleSDOCache::_internal_mutable_key_uint64() { + return &_impl_.key_uint64_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCToGCDirtyMultipleSDOCache::mutable_key_uint64() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) + return _internal_mutable_key_uint64(); +} + +// ------------------------------------------------------------------- + +// CMsgGCCollectItem + +// optional uint64 collection_item_id = 1; +inline bool CMsgGCCollectItem::_internal_has_collection_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCollectItem::has_collection_item_id() const { + return _internal_has_collection_item_id(); +} +inline void CMsgGCCollectItem::clear_collection_item_id() { + _impl_.collection_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCollectItem::_internal_collection_item_id() const { + return _impl_.collection_item_id_; +} +inline uint64_t CMsgGCCollectItem::collection_item_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCollectItem.collection_item_id) + return _internal_collection_item_id(); +} +inline void CMsgGCCollectItem::_internal_set_collection_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.collection_item_id_ = value; +} +inline void CMsgGCCollectItem::set_collection_item_id(uint64_t value) { + _internal_set_collection_item_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCollectItem.collection_item_id) +} + +// optional uint64 subject_item_id = 2; +inline bool CMsgGCCollectItem::_internal_has_subject_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCollectItem::has_subject_item_id() const { + return _internal_has_subject_item_id(); +} +inline void CMsgGCCollectItem::clear_subject_item_id() { + _impl_.subject_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCollectItem::_internal_subject_item_id() const { + return _impl_.subject_item_id_; +} +inline uint64_t CMsgGCCollectItem::subject_item_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCollectItem.subject_item_id) + return _internal_subject_item_id(); +} +inline void CMsgGCCollectItem::_internal_set_subject_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.subject_item_id_ = value; +} +inline void CMsgGCCollectItem::set_subject_item_id(uint64_t value) { + _internal_set_subject_item_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCollectItem.subject_item_id) +} + +// ------------------------------------------------------------------- + +// CMsgSDONoMemcached + +// ------------------------------------------------------------------- + +// CMsgGCToGCUpdateSQLKeyValue + +// optional string key_name = 1; +inline bool CMsgGCToGCUpdateSQLKeyValue::_internal_has_key_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCUpdateSQLKeyValue::has_key_name() const { + return _internal_has_key_name(); +} +inline void CMsgGCToGCUpdateSQLKeyValue::clear_key_name() { + _impl_.key_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCToGCUpdateSQLKeyValue::key_name() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCUpdateSQLKeyValue.key_name) + return _internal_key_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCToGCUpdateSQLKeyValue::set_key_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCToGCUpdateSQLKeyValue.key_name) +} +inline std::string* CMsgGCToGCUpdateSQLKeyValue::mutable_key_name() { + std::string* _s = _internal_mutable_key_name(); + // @@protoc_insertion_point(field_mutable:CMsgGCToGCUpdateSQLKeyValue.key_name) + return _s; +} +inline const std::string& CMsgGCToGCUpdateSQLKeyValue::_internal_key_name() const { + return _impl_.key_name_.Get(); +} +inline void CMsgGCToGCUpdateSQLKeyValue::_internal_set_key_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCToGCUpdateSQLKeyValue::_internal_mutable_key_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.key_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCToGCUpdateSQLKeyValue::release_key_name() { + // @@protoc_insertion_point(field_release:CMsgGCToGCUpdateSQLKeyValue.key_name) + if (!_internal_has_key_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.key_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_name_.IsDefault()) { + _impl_.key_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCToGCUpdateSQLKeyValue::set_allocated_key_name(std::string* key_name) { + if (key_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.key_name_.SetAllocated(key_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_name_.IsDefault()) { + _impl_.key_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCUpdateSQLKeyValue.key_name) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCIsTrustedServer + +// optional fixed64 steam_id = 1; +inline bool CMsgGCToGCIsTrustedServer::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCIsTrustedServer::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgGCToGCIsTrustedServer::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCToGCIsTrustedServer::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgGCToGCIsTrustedServer::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCIsTrustedServer.steam_id) + return _internal_steam_id(); +} +inline void CMsgGCToGCIsTrustedServer::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steam_id_ = value; +} +inline void CMsgGCToGCIsTrustedServer::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCIsTrustedServer.steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCIsTrustedServerResponse + +// optional bool is_trusted = 1; +inline bool CMsgGCToGCIsTrustedServerResponse::_internal_has_is_trusted() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCIsTrustedServerResponse::has_is_trusted() const { + return _internal_has_is_trusted(); +} +inline void CMsgGCToGCIsTrustedServerResponse::clear_is_trusted() { + _impl_.is_trusted_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CMsgGCToGCIsTrustedServerResponse::_internal_is_trusted() const { + return _impl_.is_trusted_; +} +inline bool CMsgGCToGCIsTrustedServerResponse::is_trusted() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCIsTrustedServerResponse.is_trusted) + return _internal_is_trusted(); +} +inline void CMsgGCToGCIsTrustedServerResponse::_internal_set_is_trusted(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.is_trusted_ = value; +} +inline void CMsgGCToGCIsTrustedServerResponse::set_is_trusted(bool value) { + _internal_set_is_trusted(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCIsTrustedServerResponse.is_trusted) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCBroadcastConsoleCommand + +// optional string con_command = 1; +inline bool CMsgGCToGCBroadcastConsoleCommand::_internal_has_con_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCBroadcastConsoleCommand::has_con_command() const { + return _internal_has_con_command(); +} +inline void CMsgGCToGCBroadcastConsoleCommand::clear_con_command() { + _impl_.con_command_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCToGCBroadcastConsoleCommand::con_command() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCBroadcastConsoleCommand.con_command) + return _internal_con_command(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCToGCBroadcastConsoleCommand::set_con_command(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.con_command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCToGCBroadcastConsoleCommand.con_command) +} +inline std::string* CMsgGCToGCBroadcastConsoleCommand::mutable_con_command() { + std::string* _s = _internal_mutable_con_command(); + // @@protoc_insertion_point(field_mutable:CMsgGCToGCBroadcastConsoleCommand.con_command) + return _s; +} +inline const std::string& CMsgGCToGCBroadcastConsoleCommand::_internal_con_command() const { + return _impl_.con_command_.Get(); +} +inline void CMsgGCToGCBroadcastConsoleCommand::_internal_set_con_command(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.con_command_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCToGCBroadcastConsoleCommand::_internal_mutable_con_command() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.con_command_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCToGCBroadcastConsoleCommand::release_con_command() { + // @@protoc_insertion_point(field_release:CMsgGCToGCBroadcastConsoleCommand.con_command) + if (!_internal_has_con_command()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.con_command_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.con_command_.IsDefault()) { + _impl_.con_command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCToGCBroadcastConsoleCommand::set_allocated_con_command(std::string* con_command) { + if (con_command != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.con_command_.SetAllocated(con_command, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.con_command_.IsDefault()) { + _impl_.con_command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCBroadcastConsoleCommand.con_command) +} + +// ------------------------------------------------------------------- + +// CMsgGCServerVersionUpdated + +// optional uint32 server_version = 1; +inline bool CMsgGCServerVersionUpdated::_internal_has_server_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCServerVersionUpdated::has_server_version() const { + return _internal_has_server_version(); +} +inline void CMsgGCServerVersionUpdated::clear_server_version() { + _impl_.server_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCServerVersionUpdated::_internal_server_version() const { + return _impl_.server_version_; +} +inline uint32_t CMsgGCServerVersionUpdated::server_version() const { + // @@protoc_insertion_point(field_get:CMsgGCServerVersionUpdated.server_version) + return _internal_server_version(); +} +inline void CMsgGCServerVersionUpdated::_internal_set_server_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.server_version_ = value; +} +inline void CMsgGCServerVersionUpdated::set_server_version(uint32_t value) { + _internal_set_server_version(value); + // @@protoc_insertion_point(field_set:CMsgGCServerVersionUpdated.server_version) +} + +// ------------------------------------------------------------------- + +// CMsgGCClientVersionUpdated + +// optional uint32 client_version = 1; +inline bool CMsgGCClientVersionUpdated::_internal_has_client_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCClientVersionUpdated::has_client_version() const { + return _internal_has_client_version(); +} +inline void CMsgGCClientVersionUpdated::clear_client_version() { + _impl_.client_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCClientVersionUpdated::_internal_client_version() const { + return _impl_.client_version_; +} +inline uint32_t CMsgGCClientVersionUpdated::client_version() const { + // @@protoc_insertion_point(field_get:CMsgGCClientVersionUpdated.client_version) + return _internal_client_version(); +} +inline void CMsgGCClientVersionUpdated::_internal_set_client_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_version_ = value; +} +inline void CMsgGCClientVersionUpdated::set_client_version(uint32_t value) { + _internal_set_client_version(value); + // @@protoc_insertion_point(field_set:CMsgGCClientVersionUpdated.client_version) +} + +// ------------------------------------------------------------------- + +// CMsgGCToGCWebAPIAccountChanged + +// ------------------------------------------------------------------- + +// CMsgGCToGCRequestPassportItemGrant + +// optional fixed64 steam_id = 1; +inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToGCRequestPassportItemGrant::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgGCToGCRequestPassportItemGrant::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCToGCRequestPassportItemGrant::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgGCToGCRequestPassportItemGrant::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.steam_id) + return _internal_steam_id(); +} +inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steam_id_ = value; +} +inline void CMsgGCToGCRequestPassportItemGrant::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.steam_id) +} + +// optional uint32 league_id = 2; +inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_league_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCToGCRequestPassportItemGrant::has_league_id() const { + return _internal_has_league_id(); +} +inline void CMsgGCToGCRequestPassportItemGrant::clear_league_id() { + _impl_.league_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCToGCRequestPassportItemGrant::_internal_league_id() const { + return _impl_.league_id_; +} +inline uint32_t CMsgGCToGCRequestPassportItemGrant::league_id() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.league_id) + return _internal_league_id(); +} +inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_league_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.league_id_ = value; +} +inline void CMsgGCToGCRequestPassportItemGrant::set_league_id(uint32_t value) { + _internal_set_league_id(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.league_id) +} + +// optional int32 reward_flag = 3; +inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_reward_flag() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCToGCRequestPassportItemGrant::has_reward_flag() const { + return _internal_has_reward_flag(); +} +inline void CMsgGCToGCRequestPassportItemGrant::clear_reward_flag() { + _impl_.reward_flag_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCToGCRequestPassportItemGrant::_internal_reward_flag() const { + return _impl_.reward_flag_; +} +inline int32_t CMsgGCToGCRequestPassportItemGrant::reward_flag() const { + // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.reward_flag) + return _internal_reward_flag(); +} +inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_reward_flag(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.reward_flag_ = value; +} +inline void CMsgGCToGCRequestPassportItemGrant::set_reward_flag(int32_t value) { + _internal_set_reward_flag(value); + // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.reward_flag) +} + +// ------------------------------------------------------------------- + +// CMsgGameServerInfo + +// optional fixed32 server_public_ip_addr = 1; +inline bool CMsgGameServerInfo::_internal_has_server_public_ip_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_public_ip_addr() const { + return _internal_has_server_public_ip_addr(); +} +inline void CMsgGameServerInfo::clear_server_public_ip_addr() { + _impl_.server_public_ip_addr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGameServerInfo::_internal_server_public_ip_addr() const { + return _impl_.server_public_ip_addr_; +} +inline uint32_t CMsgGameServerInfo::server_public_ip_addr() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_public_ip_addr) + return _internal_server_public_ip_addr(); +} +inline void CMsgGameServerInfo::_internal_set_server_public_ip_addr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_public_ip_addr_ = value; +} +inline void CMsgGameServerInfo::set_server_public_ip_addr(uint32_t value) { + _internal_set_server_public_ip_addr(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_public_ip_addr) +} + +// optional fixed32 server_private_ip_addr = 2; +inline bool CMsgGameServerInfo::_internal_has_server_private_ip_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_private_ip_addr() const { + return _internal_has_server_private_ip_addr(); +} +inline void CMsgGameServerInfo::clear_server_private_ip_addr() { + _impl_.server_private_ip_addr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGameServerInfo::_internal_server_private_ip_addr() const { + return _impl_.server_private_ip_addr_; +} +inline uint32_t CMsgGameServerInfo::server_private_ip_addr() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_private_ip_addr) + return _internal_server_private_ip_addr(); +} +inline void CMsgGameServerInfo::_internal_set_server_private_ip_addr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_private_ip_addr_ = value; +} +inline void CMsgGameServerInfo::set_server_private_ip_addr(uint32_t value) { + _internal_set_server_private_ip_addr(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_private_ip_addr) +} + +// optional uint32 server_port = 3; +inline bool CMsgGameServerInfo::_internal_has_server_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_port() const { + return _internal_has_server_port(); +} +inline void CMsgGameServerInfo::clear_server_port() { + _impl_.server_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGameServerInfo::_internal_server_port() const { + return _impl_.server_port_; +} +inline uint32_t CMsgGameServerInfo::server_port() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_port) + return _internal_server_port(); +} +inline void CMsgGameServerInfo::_internal_set_server_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.server_port_ = value; +} +inline void CMsgGameServerInfo::set_server_port(uint32_t value) { + _internal_set_server_port(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_port) +} + +// optional uint32 server_tv_port = 4; +inline bool CMsgGameServerInfo::_internal_has_server_tv_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_tv_port() const { + return _internal_has_server_tv_port(); +} +inline void CMsgGameServerInfo::clear_server_tv_port() { + _impl_.server_tv_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGameServerInfo::_internal_server_tv_port() const { + return _impl_.server_tv_port_; +} +inline uint32_t CMsgGameServerInfo::server_tv_port() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_tv_port) + return _internal_server_tv_port(); +} +inline void CMsgGameServerInfo::_internal_set_server_tv_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_tv_port_ = value; +} +inline void CMsgGameServerInfo::set_server_tv_port(uint32_t value) { + _internal_set_server_tv_port(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_tv_port) +} + +// optional string server_key = 5; +inline bool CMsgGameServerInfo::_internal_has_server_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_key() const { + return _internal_has_server_key(); +} +inline void CMsgGameServerInfo::clear_server_key() { + _impl_.server_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGameServerInfo::server_key() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_key) + return _internal_server_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGameServerInfo::set_server_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.server_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_key) +} +inline std::string* CMsgGameServerInfo::mutable_server_key() { + std::string* _s = _internal_mutable_server_key(); + // @@protoc_insertion_point(field_mutable:CMsgGameServerInfo.server_key) + return _s; +} +inline const std::string& CMsgGameServerInfo::_internal_server_key() const { + return _impl_.server_key_.Get(); +} +inline void CMsgGameServerInfo::_internal_set_server_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.server_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGameServerInfo::_internal_mutable_server_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.server_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGameServerInfo::release_server_key() { + // @@protoc_insertion_point(field_release:CMsgGameServerInfo.server_key) + if (!_internal_has_server_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.server_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_key_.IsDefault()) { + _impl_.server_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGameServerInfo::set_allocated_server_key(std::string* server_key) { + if (server_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.server_key_.SetAllocated(server_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_key_.IsDefault()) { + _impl_.server_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGameServerInfo.server_key) +} + +// optional bool server_hibernation = 6; +inline bool CMsgGameServerInfo::_internal_has_server_hibernation() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_hibernation() const { + return _internal_has_server_hibernation(); +} +inline void CMsgGameServerInfo::clear_server_hibernation() { + _impl_.server_hibernation_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CMsgGameServerInfo::_internal_server_hibernation() const { + return _impl_.server_hibernation_; +} +inline bool CMsgGameServerInfo::server_hibernation() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_hibernation) + return _internal_server_hibernation(); +} +inline void CMsgGameServerInfo::_internal_set_server_hibernation(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.server_hibernation_ = value; +} +inline void CMsgGameServerInfo::set_server_hibernation(bool value) { + _internal_set_server_hibernation(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_hibernation) +} + +// optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; +inline bool CMsgGameServerInfo::_internal_has_server_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_type() const { + return _internal_has_server_type(); +} +inline void CMsgGameServerInfo::clear_server_type() { + _impl_.server_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline ::CMsgGameServerInfo_ServerType CMsgGameServerInfo::_internal_server_type() const { + return static_cast< ::CMsgGameServerInfo_ServerType >(_impl_.server_type_); +} +inline ::CMsgGameServerInfo_ServerType CMsgGameServerInfo::server_type() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_type) + return _internal_server_type(); +} +inline void CMsgGameServerInfo::_internal_set_server_type(::CMsgGameServerInfo_ServerType value) { + assert(::CMsgGameServerInfo_ServerType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.server_type_ = value; +} +inline void CMsgGameServerInfo::set_server_type(::CMsgGameServerInfo_ServerType value) { + _internal_set_server_type(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_type) +} + +// optional uint32 server_region = 8; +inline bool CMsgGameServerInfo::_internal_has_server_region() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_region() const { + return _internal_has_server_region(); +} +inline void CMsgGameServerInfo::clear_server_region() { + _impl_.server_region_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGameServerInfo::_internal_server_region() const { + return _impl_.server_region_; +} +inline uint32_t CMsgGameServerInfo::server_region() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_region) + return _internal_server_region(); +} +inline void CMsgGameServerInfo::_internal_set_server_region(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.server_region_ = value; +} +inline void CMsgGameServerInfo::set_server_region(uint32_t value) { + _internal_set_server_region(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_region) +} + +// optional float server_loadavg = 9; +inline bool CMsgGameServerInfo::_internal_has_server_loadavg() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_loadavg() const { + return _internal_has_server_loadavg(); +} +inline void CMsgGameServerInfo::clear_server_loadavg() { + _impl_.server_loadavg_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CMsgGameServerInfo::_internal_server_loadavg() const { + return _impl_.server_loadavg_; +} +inline float CMsgGameServerInfo::server_loadavg() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_loadavg) + return _internal_server_loadavg(); +} +inline void CMsgGameServerInfo::_internal_set_server_loadavg(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.server_loadavg_ = value; +} +inline void CMsgGameServerInfo::set_server_loadavg(float value) { + _internal_set_server_loadavg(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_loadavg) +} + +// optional float server_tv_broadcast_time = 10; +inline bool CMsgGameServerInfo::_internal_has_server_tv_broadcast_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_tv_broadcast_time() const { + return _internal_has_server_tv_broadcast_time(); +} +inline void CMsgGameServerInfo::clear_server_tv_broadcast_time() { + _impl_.server_tv_broadcast_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline float CMsgGameServerInfo::_internal_server_tv_broadcast_time() const { + return _impl_.server_tv_broadcast_time_; +} +inline float CMsgGameServerInfo::server_tv_broadcast_time() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_tv_broadcast_time) + return _internal_server_tv_broadcast_time(); +} +inline void CMsgGameServerInfo::_internal_set_server_tv_broadcast_time(float value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.server_tv_broadcast_time_ = value; +} +inline void CMsgGameServerInfo::set_server_tv_broadcast_time(float value) { + _internal_set_server_tv_broadcast_time(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_tv_broadcast_time) +} + +// optional float server_game_time = 11; +inline bool CMsgGameServerInfo::_internal_has_server_game_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_game_time() const { + return _internal_has_server_game_time(); +} +inline void CMsgGameServerInfo::clear_server_game_time() { + _impl_.server_game_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CMsgGameServerInfo::_internal_server_game_time() const { + return _impl_.server_game_time_; +} +inline float CMsgGameServerInfo::server_game_time() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_game_time) + return _internal_server_game_time(); +} +inline void CMsgGameServerInfo::_internal_set_server_game_time(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.server_game_time_ = value; +} +inline void CMsgGameServerInfo::set_server_game_time(float value) { + _internal_set_server_game_time(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_game_time) +} + +// optional fixed64 server_relay_connected_steam_id = 12; +inline bool CMsgGameServerInfo::_internal_has_server_relay_connected_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_server_relay_connected_steam_id() const { + return _internal_has_server_relay_connected_steam_id(); +} +inline void CMsgGameServerInfo::clear_server_relay_connected_steam_id() { + _impl_.server_relay_connected_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint64_t CMsgGameServerInfo::_internal_server_relay_connected_steam_id() const { + return _impl_.server_relay_connected_steam_id_; +} +inline uint64_t CMsgGameServerInfo::server_relay_connected_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_relay_connected_steam_id) + return _internal_server_relay_connected_steam_id(); +} +inline void CMsgGameServerInfo::_internal_set_server_relay_connected_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.server_relay_connected_steam_id_ = value; +} +inline void CMsgGameServerInfo::set_server_relay_connected_steam_id(uint64_t value) { + _internal_set_server_relay_connected_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_relay_connected_steam_id) +} + +// optional uint32 relay_slots_max = 13; +inline bool CMsgGameServerInfo::_internal_has_relay_slots_max() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_relay_slots_max() const { + return _internal_has_relay_slots_max(); +} +inline void CMsgGameServerInfo::clear_relay_slots_max() { + _impl_.relay_slots_max_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGameServerInfo::_internal_relay_slots_max() const { + return _impl_.relay_slots_max_; +} +inline uint32_t CMsgGameServerInfo::relay_slots_max() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relay_slots_max) + return _internal_relay_slots_max(); +} +inline void CMsgGameServerInfo::_internal_set_relay_slots_max(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.relay_slots_max_ = value; +} +inline void CMsgGameServerInfo::set_relay_slots_max(uint32_t value) { + _internal_set_relay_slots_max(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relay_slots_max) +} + +// optional int32 relays_connected = 14; +inline bool CMsgGameServerInfo::_internal_has_relays_connected() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_relays_connected() const { + return _internal_has_relays_connected(); +} +inline void CMsgGameServerInfo::clear_relays_connected() { + _impl_.relays_connected_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CMsgGameServerInfo::_internal_relays_connected() const { + return _impl_.relays_connected_; +} +inline int32_t CMsgGameServerInfo::relays_connected() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relays_connected) + return _internal_relays_connected(); +} +inline void CMsgGameServerInfo::_internal_set_relays_connected(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.relays_connected_ = value; +} +inline void CMsgGameServerInfo::set_relays_connected(int32_t value) { + _internal_set_relays_connected(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relays_connected) +} + +// optional int32 relay_clients_connected = 15; +inline bool CMsgGameServerInfo::_internal_has_relay_clients_connected() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_relay_clients_connected() const { + return _internal_has_relay_clients_connected(); +} +inline void CMsgGameServerInfo::clear_relay_clients_connected() { + _impl_.relay_clients_connected_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CMsgGameServerInfo::_internal_relay_clients_connected() const { + return _impl_.relay_clients_connected_; +} +inline int32_t CMsgGameServerInfo::relay_clients_connected() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relay_clients_connected) + return _internal_relay_clients_connected(); +} +inline void CMsgGameServerInfo::_internal_set_relay_clients_connected(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.relay_clients_connected_ = value; +} +inline void CMsgGameServerInfo::set_relay_clients_connected(int32_t value) { + _internal_set_relay_clients_connected(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relay_clients_connected) +} + +// optional fixed64 relayed_game_server_steam_id = 16; +inline bool CMsgGameServerInfo::_internal_has_relayed_game_server_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_relayed_game_server_steam_id() const { + return _internal_has_relayed_game_server_steam_id(); +} +inline void CMsgGameServerInfo::clear_relayed_game_server_steam_id() { + _impl_.relayed_game_server_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint64_t CMsgGameServerInfo::_internal_relayed_game_server_steam_id() const { + return _impl_.relayed_game_server_steam_id_; +} +inline uint64_t CMsgGameServerInfo::relayed_game_server_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relayed_game_server_steam_id) + return _internal_relayed_game_server_steam_id(); +} +inline void CMsgGameServerInfo::_internal_set_relayed_game_server_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.relayed_game_server_steam_id_ = value; +} +inline void CMsgGameServerInfo::set_relayed_game_server_steam_id(uint64_t value) { + _internal_set_relayed_game_server_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relayed_game_server_steam_id) +} + +// optional uint32 parent_relay_count = 17; +inline bool CMsgGameServerInfo::_internal_has_parent_relay_count() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_parent_relay_count() const { + return _internal_has_parent_relay_count(); +} +inline void CMsgGameServerInfo::clear_parent_relay_count() { + _impl_.parent_relay_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgGameServerInfo::_internal_parent_relay_count() const { + return _impl_.parent_relay_count_; +} +inline uint32_t CMsgGameServerInfo::parent_relay_count() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.parent_relay_count) + return _internal_parent_relay_count(); +} +inline void CMsgGameServerInfo::_internal_set_parent_relay_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.parent_relay_count_ = value; +} +inline void CMsgGameServerInfo::set_parent_relay_count(uint32_t value) { + _internal_set_parent_relay_count(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.parent_relay_count) +} + +// optional fixed64 tv_secret_code = 18; +inline bool CMsgGameServerInfo::_internal_has_tv_secret_code() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgGameServerInfo::has_tv_secret_code() const { + return _internal_has_tv_secret_code(); +} +inline void CMsgGameServerInfo::clear_tv_secret_code() { + _impl_.tv_secret_code_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint64_t CMsgGameServerInfo::_internal_tv_secret_code() const { + return _impl_.tv_secret_code_; +} +inline uint64_t CMsgGameServerInfo::tv_secret_code() const { + // @@protoc_insertion_point(field_get:CMsgGameServerInfo.tv_secret_code) + return _internal_tv_secret_code(); +} +inline void CMsgGameServerInfo::_internal_set_tv_secret_code(uint64_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.tv_secret_code_ = value; +} +inline void CMsgGameServerInfo::set_tv_secret_code(uint64_t value) { + _internal_set_tv_secret_code(value); + // @@protoc_insertion_point(field_set:CMsgGameServerInfo.tv_secret_code) +} + +// ------------------------------------------------------------------- + +// CSOEconEquipSlot + +// optional uint32 account_id = 1 [(.key_field) = true]; +inline bool CSOEconEquipSlot::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconEquipSlot::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconEquipSlot::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconEquipSlot::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconEquipSlot::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconEquipSlot.account_id) + return _internal_account_id(); +} +inline void CSOEconEquipSlot::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CSOEconEquipSlot::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconEquipSlot.account_id) +} + +// optional uint32 class_id = 2 [(.key_field) = true]; +inline bool CSOEconEquipSlot::_internal_has_class_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconEquipSlot::has_class_id() const { + return _internal_has_class_id(); +} +inline void CSOEconEquipSlot::clear_class_id() { + _impl_.class_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconEquipSlot::_internal_class_id() const { + return _impl_.class_id_; +} +inline uint32_t CSOEconEquipSlot::class_id() const { + // @@protoc_insertion_point(field_get:CSOEconEquipSlot.class_id) + return _internal_class_id(); +} +inline void CSOEconEquipSlot::_internal_set_class_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.class_id_ = value; +} +inline void CSOEconEquipSlot::set_class_id(uint32_t value) { + _internal_set_class_id(value); + // @@protoc_insertion_point(field_set:CSOEconEquipSlot.class_id) +} + +// optional uint32 slot_id = 3 [(.key_field) = true]; +inline bool CSOEconEquipSlot::_internal_has_slot_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconEquipSlot::has_slot_id() const { + return _internal_has_slot_id(); +} +inline void CSOEconEquipSlot::clear_slot_id() { + _impl_.slot_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconEquipSlot::_internal_slot_id() const { + return _impl_.slot_id_; +} +inline uint32_t CSOEconEquipSlot::slot_id() const { + // @@protoc_insertion_point(field_get:CSOEconEquipSlot.slot_id) + return _internal_slot_id(); +} +inline void CSOEconEquipSlot::_internal_set_slot_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.slot_id_ = value; +} +inline void CSOEconEquipSlot::set_slot_id(uint32_t value) { + _internal_set_slot_id(value); + // @@protoc_insertion_point(field_set:CSOEconEquipSlot.slot_id) +} + +// optional uint64 item_id = 4; +inline bool CSOEconEquipSlot::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconEquipSlot::has_item_id() const { + return _internal_has_item_id(); +} +inline void CSOEconEquipSlot::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CSOEconEquipSlot::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CSOEconEquipSlot::item_id() const { + // @@protoc_insertion_point(field_get:CSOEconEquipSlot.item_id) + return _internal_item_id(); +} +inline void CSOEconEquipSlot::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_id_ = value; +} +inline void CSOEconEquipSlot::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CSOEconEquipSlot.item_id) +} + +// optional uint32 item_definition = 5; +inline bool CSOEconEquipSlot::_internal_has_item_definition() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOEconEquipSlot::has_item_definition() const { + return _internal_has_item_definition(); +} +inline void CSOEconEquipSlot::clear_item_definition() { + _impl_.item_definition_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOEconEquipSlot::_internal_item_definition() const { + return _impl_.item_definition_; +} +inline uint32_t CSOEconEquipSlot::item_definition() const { + // @@protoc_insertion_point(field_get:CSOEconEquipSlot.item_definition) + return _internal_item_definition(); +} +inline void CSOEconEquipSlot::_internal_set_item_definition(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.item_definition_ = value; +} +inline void CSOEconEquipSlot::set_item_definition(uint32_t value) { + _internal_set_item_definition(value); + // @@protoc_insertion_point(field_set:CSOEconEquipSlot.item_definition) +} + +// ------------------------------------------------------------------- + +// CMsgAdjustEquipSlot + +// optional uint32 class_id = 1; +inline bool CMsgAdjustEquipSlot::_internal_has_class_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgAdjustEquipSlot::has_class_id() const { + return _internal_has_class_id(); +} +inline void CMsgAdjustEquipSlot::clear_class_id() { + _impl_.class_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgAdjustEquipSlot::_internal_class_id() const { + return _impl_.class_id_; +} +inline uint32_t CMsgAdjustEquipSlot::class_id() const { + // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.class_id) + return _internal_class_id(); +} +inline void CMsgAdjustEquipSlot::_internal_set_class_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.class_id_ = value; +} +inline void CMsgAdjustEquipSlot::set_class_id(uint32_t value) { + _internal_set_class_id(value); + // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.class_id) +} + +// optional uint32 slot_id = 2; +inline bool CMsgAdjustEquipSlot::_internal_has_slot_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgAdjustEquipSlot::has_slot_id() const { + return _internal_has_slot_id(); +} +inline void CMsgAdjustEquipSlot::clear_slot_id() { + _impl_.slot_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgAdjustEquipSlot::_internal_slot_id() const { + return _impl_.slot_id_; +} +inline uint32_t CMsgAdjustEquipSlot::slot_id() const { + // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.slot_id) + return _internal_slot_id(); +} +inline void CMsgAdjustEquipSlot::_internal_set_slot_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.slot_id_ = value; +} +inline void CMsgAdjustEquipSlot::set_slot_id(uint32_t value) { + _internal_set_slot_id(value); + // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.slot_id) +} + +// optional uint64 item_id = 3; +inline bool CMsgAdjustEquipSlot::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgAdjustEquipSlot::has_item_id() const { + return _internal_has_item_id(); +} +inline void CMsgAdjustEquipSlot::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgAdjustEquipSlot::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t CMsgAdjustEquipSlot::item_id() const { + // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.item_id) + return _internal_item_id(); +} +inline void CMsgAdjustEquipSlot::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_id_ = value; +} +inline void CMsgAdjustEquipSlot::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.item_id) +} + +// ------------------------------------------------------------------- + +// CMsgAdjustEquipSlots + +// repeated .CMsgAdjustEquipSlot slots = 1; +inline int CMsgAdjustEquipSlots::_internal_slots_size() const { + return _impl_.slots_.size(); +} +inline int CMsgAdjustEquipSlots::slots_size() const { + return _internal_slots_size(); +} +inline void CMsgAdjustEquipSlots::clear_slots() { + _impl_.slots_.Clear(); +} +inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::mutable_slots(int index) { + // @@protoc_insertion_point(field_mutable:CMsgAdjustEquipSlots.slots) + return _impl_.slots_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >* +CMsgAdjustEquipSlots::mutable_slots() { + // @@protoc_insertion_point(field_mutable_list:CMsgAdjustEquipSlots.slots) + return &_impl_.slots_; +} +inline const ::CMsgAdjustEquipSlot& CMsgAdjustEquipSlots::_internal_slots(int index) const { + return _impl_.slots_.Get(index); +} +inline const ::CMsgAdjustEquipSlot& CMsgAdjustEquipSlots::slots(int index) const { + // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlots.slots) + return _internal_slots(index); +} +inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::_internal_add_slots() { + return _impl_.slots_.Add(); +} +inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::add_slots() { + ::CMsgAdjustEquipSlot* _add = _internal_add_slots(); + // @@protoc_insertion_point(field_add:CMsgAdjustEquipSlots.slots) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >& +CMsgAdjustEquipSlots::slots() const { + // @@protoc_insertion_point(field_list:CMsgAdjustEquipSlots.slots) + return _impl_.slots_; +} + +// optional uint32 change_num = 2; +inline bool CMsgAdjustEquipSlots::_internal_has_change_num() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgAdjustEquipSlots::has_change_num() const { + return _internal_has_change_num(); +} +inline void CMsgAdjustEquipSlots::clear_change_num() { + _impl_.change_num_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgAdjustEquipSlots::_internal_change_num() const { + return _impl_.change_num_; +} +inline uint32_t CMsgAdjustEquipSlots::change_num() const { + // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlots.change_num) + return _internal_change_num(); +} +inline void CMsgAdjustEquipSlots::_internal_set_change_num(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.change_num_ = value; +} +inline void CMsgAdjustEquipSlots::set_change_num(uint32_t value) { + _internal_set_change_num(value); + // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlots.change_num) +} + +// ------------------------------------------------------------------- + +// CMsgOpenCrate + +// optional uint64 tool_item_id = 1; +inline bool CMsgOpenCrate::_internal_has_tool_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgOpenCrate::has_tool_item_id() const { + return _internal_has_tool_item_id(); +} +inline void CMsgOpenCrate::clear_tool_item_id() { + _impl_.tool_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgOpenCrate::_internal_tool_item_id() const { + return _impl_.tool_item_id_; +} +inline uint64_t CMsgOpenCrate::tool_item_id() const { + // @@protoc_insertion_point(field_get:CMsgOpenCrate.tool_item_id) + return _internal_tool_item_id(); +} +inline void CMsgOpenCrate::_internal_set_tool_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tool_item_id_ = value; +} +inline void CMsgOpenCrate::set_tool_item_id(uint64_t value) { + _internal_set_tool_item_id(value); + // @@protoc_insertion_point(field_set:CMsgOpenCrate.tool_item_id) +} + +// optional uint64 subject_item_id = 2; +inline bool CMsgOpenCrate::_internal_has_subject_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgOpenCrate::has_subject_item_id() const { + return _internal_has_subject_item_id(); +} +inline void CMsgOpenCrate::clear_subject_item_id() { + _impl_.subject_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgOpenCrate::_internal_subject_item_id() const { + return _impl_.subject_item_id_; +} +inline uint64_t CMsgOpenCrate::subject_item_id() const { + // @@protoc_insertion_point(field_get:CMsgOpenCrate.subject_item_id) + return _internal_subject_item_id(); +} +inline void CMsgOpenCrate::_internal_set_subject_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.subject_item_id_ = value; +} +inline void CMsgOpenCrate::set_subject_item_id(uint64_t value) { + _internal_set_subject_item_id(value); + // @@protoc_insertion_point(field_set:CMsgOpenCrate.subject_item_id) +} + +// optional bool for_rental = 3; +inline bool CMsgOpenCrate::_internal_has_for_rental() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgOpenCrate::has_for_rental() const { + return _internal_has_for_rental(); +} +inline void CMsgOpenCrate::clear_for_rental() { + _impl_.for_rental_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgOpenCrate::_internal_for_rental() const { + return _impl_.for_rental_; +} +inline bool CMsgOpenCrate::for_rental() const { + // @@protoc_insertion_point(field_get:CMsgOpenCrate.for_rental) + return _internal_for_rental(); +} +inline void CMsgOpenCrate::_internal_set_for_rental(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.for_rental_ = value; +} +inline void CMsgOpenCrate::set_for_rental(bool value) { + _internal_set_for_rental(value); + // @@protoc_insertion_point(field_set:CMsgOpenCrate.for_rental) +} + +// optional uint32 points_remaining = 4; +inline bool CMsgOpenCrate::_internal_has_points_remaining() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgOpenCrate::has_points_remaining() const { + return _internal_has_points_remaining(); +} +inline void CMsgOpenCrate::clear_points_remaining() { + _impl_.points_remaining_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgOpenCrate::_internal_points_remaining() const { + return _impl_.points_remaining_; +} +inline uint32_t CMsgOpenCrate::points_remaining() const { + // @@protoc_insertion_point(field_get:CMsgOpenCrate.points_remaining) + return _internal_points_remaining(); +} +inline void CMsgOpenCrate::_internal_set_points_remaining(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.points_remaining_ = value; +} +inline void CMsgOpenCrate::set_points_remaining(uint32_t value) { + _internal_set_points_remaining(value); + // @@protoc_insertion_point(field_set:CMsgOpenCrate.points_remaining) +} + +// ------------------------------------------------------------------- + +// CSOEconRentalHistory + +// optional uint32 account_id = 1 [(.key_field) = true]; +inline bool CSOEconRentalHistory::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconRentalHistory::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOEconRentalHistory::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconRentalHistory::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOEconRentalHistory::account_id() const { + // @@protoc_insertion_point(field_get:CSOEconRentalHistory.account_id) + return _internal_account_id(); +} +inline void CSOEconRentalHistory::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CSOEconRentalHistory::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOEconRentalHistory.account_id) +} + +// optional uint64 crate_item_id = 2 [(.key_field) = true]; +inline bool CSOEconRentalHistory::_internal_has_crate_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconRentalHistory::has_crate_item_id() const { + return _internal_has_crate_item_id(); +} +inline void CSOEconRentalHistory::clear_crate_item_id() { + _impl_.crate_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CSOEconRentalHistory::_internal_crate_item_id() const { + return _impl_.crate_item_id_; +} +inline uint64_t CSOEconRentalHistory::crate_item_id() const { + // @@protoc_insertion_point(field_get:CSOEconRentalHistory.crate_item_id) + return _internal_crate_item_id(); +} +inline void CSOEconRentalHistory::_internal_set_crate_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.crate_item_id_ = value; +} +inline void CSOEconRentalHistory::set_crate_item_id(uint64_t value) { + _internal_set_crate_item_id(value); + // @@protoc_insertion_point(field_set:CSOEconRentalHistory.crate_item_id) +} + +// optional uint32 crate_def_index = 3; +inline bool CSOEconRentalHistory::_internal_has_crate_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconRentalHistory::has_crate_def_index() const { + return _internal_has_crate_def_index(); +} +inline void CSOEconRentalHistory::clear_crate_def_index() { + _impl_.crate_def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconRentalHistory::_internal_crate_def_index() const { + return _impl_.crate_def_index_; +} +inline uint32_t CSOEconRentalHistory::crate_def_index() const { + // @@protoc_insertion_point(field_get:CSOEconRentalHistory.crate_def_index) + return _internal_crate_def_index(); +} +inline void CSOEconRentalHistory::_internal_set_crate_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.crate_def_index_ = value; +} +inline void CSOEconRentalHistory::set_crate_def_index(uint32_t value) { + _internal_set_crate_def_index(value); + // @@protoc_insertion_point(field_set:CSOEconRentalHistory.crate_def_index) +} + +// optional uint32 issue_date = 4; +inline bool CSOEconRentalHistory::_internal_has_issue_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOEconRentalHistory::has_issue_date() const { + return _internal_has_issue_date(); +} +inline void CSOEconRentalHistory::clear_issue_date() { + _impl_.issue_date_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOEconRentalHistory::_internal_issue_date() const { + return _impl_.issue_date_; +} +inline uint32_t CSOEconRentalHistory::issue_date() const { + // @@protoc_insertion_point(field_get:CSOEconRentalHistory.issue_date) + return _internal_issue_date(); +} +inline void CSOEconRentalHistory::_internal_set_issue_date(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.issue_date_ = value; +} +inline void CSOEconRentalHistory::set_issue_date(uint32_t value) { + _internal_set_issue_date(value); + // @@protoc_insertion_point(field_set:CSOEconRentalHistory.issue_date) +} + +// optional uint32 expiration_date = 5; +inline bool CSOEconRentalHistory::_internal_has_expiration_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOEconRentalHistory::has_expiration_date() const { + return _internal_has_expiration_date(); +} +inline void CSOEconRentalHistory::clear_expiration_date() { + _impl_.expiration_date_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOEconRentalHistory::_internal_expiration_date() const { + return _impl_.expiration_date_; +} +inline uint32_t CSOEconRentalHistory::expiration_date() const { + // @@protoc_insertion_point(field_get:CSOEconRentalHistory.expiration_date) + return _internal_expiration_date(); +} +inline void CSOEconRentalHistory::_internal_set_expiration_date(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.expiration_date_ = value; +} +inline void CSOEconRentalHistory::set_expiration_date(uint32_t value) { + _internal_set_expiration_date(value); + // @@protoc_insertion_point(field_set:CSOEconRentalHistory.expiration_date) +} + +// ------------------------------------------------------------------- + +// CMsgAcknowledgeRentalExpiration + +// optional uint64 crate_item_id = 1; +inline bool CMsgAcknowledgeRentalExpiration::_internal_has_crate_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgAcknowledgeRentalExpiration::has_crate_item_id() const { + return _internal_has_crate_item_id(); +} +inline void CMsgAcknowledgeRentalExpiration::clear_crate_item_id() { + _impl_.crate_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgAcknowledgeRentalExpiration::_internal_crate_item_id() const { + return _impl_.crate_item_id_; +} +inline uint64_t CMsgAcknowledgeRentalExpiration::crate_item_id() const { + // @@protoc_insertion_point(field_get:CMsgAcknowledgeRentalExpiration.crate_item_id) + return _internal_crate_item_id(); +} +inline void CMsgAcknowledgeRentalExpiration::_internal_set_crate_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.crate_item_id_ = value; +} +inline void CMsgAcknowledgeRentalExpiration::set_crate_item_id(uint64_t value) { + _internal_set_crate_item_id(value); + // @@protoc_insertion_point(field_set:CMsgAcknowledgeRentalExpiration.crate_item_id) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CMsgGameServerInfo_ServerType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgGameServerInfo_ServerType>() { + return ::CMsgGameServerInfo_ServerType_descriptor(); +} +template <> struct is_proto_enum< ::EGCBaseMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseMsg>() { + return ::EGCBaseMsg_descriptor(); +} +template <> struct is_proto_enum< ::EGCBaseProtoObjectTypes> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseProtoObjectTypes>() { + return ::EGCBaseProtoObjectTypes_descriptor(); +} +template <> struct is_proto_enum< ::GC_BannedWordType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::GC_BannedWordType>() { + return ::GC_BannedWordType_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc new file mode 100644 index 0000000..b96abe4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.cc @@ -0,0 +1,2265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: c_peer2peer_netmessages.proto + +#include "c_peer2peer_netmessages.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; + +PROTOBUF_CONSTEXPR CP2P_TextMessage::CP2P_TextMessage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CP2P_TextMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_TextMessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_TextMessageDefaultTypeInternal() {} + union { + CP2P_TextMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_TextMessageDefaultTypeInternal _CP2P_TextMessage_default_instance_; +PROTOBUF_CONSTEXPR CSteam_Voice_Encoding::CSteam_Voice_Encoding( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.voice_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CSteam_Voice_EncodingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSteam_Voice_EncodingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSteam_Voice_EncodingDefaultTypeInternal() {} + union { + CSteam_Voice_Encoding _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSteam_Voice_EncodingDefaultTypeInternal _CSteam_Voice_Encoding_default_instance_; +PROTOBUF_CONSTEXPR CP2P_Voice::CP2P_Voice( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.audio_)*/nullptr + , /*decltype(_impl_.broadcast_group_)*/0u} {} +struct CP2P_VoiceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_VoiceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_VoiceDefaultTypeInternal() {} + union { + CP2P_Voice _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VoiceDefaultTypeInternal _CP2P_Voice_default_instance_; +PROTOBUF_CONSTEXPR CP2P_Ping::CP2P_Ping( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.send_time_)*/uint64_t{0u} + , /*decltype(_impl_.is_reply_)*/false} {} +struct CP2P_PingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_PingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_PingDefaultTypeInternal() {} + union { + CP2P_Ping _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_PingDefaultTypeInternal _CP2P_Ping_default_instance_; +PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.ang_)*/nullptr} {} +struct CP2P_VRAvatarPosition_COrientationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_VRAvatarPosition_COrientationDefaultTypeInternal() {} + union { + CP2P_VRAvatarPosition_COrientation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VRAvatarPosition_COrientationDefaultTypeInternal _CP2P_VRAvatarPosition_COrientation_default_instance_; +PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition::CP2P_VRAvatarPosition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.body_parts_)*/{} + , /*decltype(_impl_.hat_id_)*/0 + , /*decltype(_impl_.scene_id_)*/0 + , /*decltype(_impl_.world_scale_)*/0} {} +struct CP2P_VRAvatarPositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_VRAvatarPositionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_VRAvatarPositionDefaultTypeInternal() {} + union { + CP2P_VRAvatarPosition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VRAvatarPositionDefaultTypeInternal _CP2P_VRAvatarPosition_default_instance_; +PROTOBUF_CONSTEXPR CP2P_WatchSynchronization::CP2P_WatchSynchronization( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.demo_tick_)*/0 + , /*decltype(_impl_.paused_)*/false + , /*decltype(_impl_.dota_spectator_watching_broadcaster_)*/false + , /*decltype(_impl_.tv_listen_voice_indices_)*/uint64_t{0u} + , /*decltype(_impl_.dota_spectator_mode_)*/0 + , /*decltype(_impl_.dota_spectator_hero_index_)*/0 + , /*decltype(_impl_.dota_spectator_autospeed_)*/0 + , /*decltype(_impl_.dota_replay_speed_)*/0} {} +struct CP2P_WatchSynchronizationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CP2P_WatchSynchronizationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CP2P_WatchSynchronizationDefaultTypeInternal() {} + union { + CP2P_WatchSynchronization _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_WatchSynchronizationDefaultTypeInternal _CP2P_WatchSynchronization_default_instance_; +static ::_pb::Metadata file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[7]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_c_5fpeer2peer_5fnetmessages_2eproto = nullptr; + +const uint32_t TableStruct_c_5fpeer2peer_5fnetmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _impl_.text_), + 0, + PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _impl_.voice_data_), + 0, + PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_.audio_), + PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_.broadcast_group_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_.send_time_), + PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_.is_reply_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_.ang_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.body_parts_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.hat_id_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.scene_id_), + PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.world_scale_), + ~0u, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.demo_tick_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.paused_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.tv_listen_voice_indices_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_mode_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_watching_broadcaster_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_hero_index_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_autospeed_), + PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_replay_speed_), + 0, + 1, + 3, + 4, + 2, + 5, + 6, + 7, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 7, -1, sizeof(::CP2P_TextMessage)}, + { 8, 15, -1, sizeof(::CSteam_Voice_Encoding)}, + { 16, 24, -1, sizeof(::CP2P_Voice)}, + { 26, 34, -1, sizeof(::CP2P_Ping)}, + { 36, 44, -1, sizeof(::CP2P_VRAvatarPosition_COrientation)}, + { 46, 56, -1, sizeof(::CP2P_VRAvatarPosition)}, + { 60, 74, -1, sizeof(::CP2P_WatchSynchronization)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CP2P_TextMessage_default_instance_._instance, + &::_CSteam_Voice_Encoding_default_instance_._instance, + &::_CP2P_Voice_default_instance_._instance, + &::_CP2P_Ping_default_instance_._instance, + &::_CP2P_VRAvatarPosition_COrientation_default_instance_._instance, + &::_CP2P_VRAvatarPosition_default_instance_._instance, + &::_CP2P_WatchSynchronization_default_instance_._instance, +}; + +const char descriptor_table_protodef_c_5fpeer2peer_5fnetmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\035c_peer2peer_netmessages.proto\032\021netmess" + "ages.proto\032\026networkbasetypes.proto\" \n\020CP" + "2P_TextMessage\022\014\n\004text\030\001 \001(\014\"+\n\025CSteam_V" + "oice_Encoding\022\022\n\nvoice_data\030\001 \001(\014\"h\n\nCP2" + "P_Voice\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022" + "\027\n\017broadcast_group\030\002 \001(\r\"!\n\rHandler_Flag" + "s\022\020\n\014Played_Audio\020\001\"0\n\tCP2P_Ping\022\021\n\tsend" + "_time\030\001 \002(\004\022\020\n\010is_reply\030\002 \002(\010\"\313\001\n\025CP2P_V" + "RAvatarPosition\0227\n\nbody_parts\030\001 \003(\0132#.CP" + "2P_VRAvatarPosition.COrientation\022\016\n\006hat_" + "id\030\002 \001(\005\022\020\n\010scene_id\030\003 \001(\005\022\023\n\013world_scal" + "e\030\004 \001(\005\032B\n\014COrientation\022\030\n\003pos\030\001 \001(\0132\013.C" + "MsgVector\022\030\n\003ang\030\002 \001(\0132\013.CMsgQAngle\"\211\002\n\031" + "CP2P_WatchSynchronization\022\021\n\tdemo_tick\030\001" + " \001(\005\022\016\n\006paused\030\002 \001(\010\022\037\n\027tv_listen_voice_" + "indices\030\003 \001(\004\022\033\n\023dota_spectator_mode\030\004 \001" + "(\005\022+\n#dota_spectator_watching_broadcaste" + "r\030\005 \001(\010\022!\n\031dota_spectator_hero_index\030\006 \001" + "(\005\022 \n\030dota_spectator_autospeed\030\007 \001(\005\022\031\n\021" + "dota_replay_speed\030\010 \001(\005*\277\001\n\014P2P_Messages" + "\022\024\n\017p2p_TextMessage\020\200\002\022\016\n\tp2p_Voice\020\201\002\022\r" + "\n\010p2p_Ping\020\202\002\022\031\n\024p2p_VRAvatarPosition\020\203\002" + "\022\035\n\030p2p_WatchSynchronization\020\204\002\022\036\n\031p2p_F" + "ightingGame_GameData\020\205\002\022 \n\033p2p_FightingG" + "ame_Connection\020\206\002" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_deps[2] = { + &::descriptor_table_netmessages_2eproto, + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto = { + false, false, 977, descriptor_table_protodef_c_5fpeer2peer_5fnetmessages_2eproto, + "c_peer2peer_netmessages.proto", + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_deps, 2, 7, + schemas, file_default_instances, TableStruct_c_5fpeer2peer_5fnetmessages_2eproto::offsets, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto, file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto, + file_level_service_descriptors_c_5fpeer2peer_5fnetmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter() { + return &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_c_5fpeer2peer_5fnetmessages_2eproto(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CP2P_Voice_Handler_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); + return file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[0]; +} +bool CP2P_Voice_Handler_Flags_IsValid(int value) { + switch (value) { + case 1: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Played_Audio; +constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Handler_Flags_MIN; +constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Handler_Flags_MAX; +constexpr int CP2P_Voice::Handler_Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* P2P_Messages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); + return file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[1]; +} +bool P2P_Messages_IsValid(int value) { + switch (value) { + case 256: + case 257: + case 258: + case 259: + case 260: + case 261: + case 262: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CP2P_TextMessage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CP2P_TextMessage::CP2P_TextMessage(::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:CP2P_TextMessage) +} +CP2P_TextMessage::CP2P_TextMessage(const CP2P_TextMessage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_TextMessage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CP2P_TextMessage) +} + +inline void CP2P_TextMessage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CP2P_TextMessage::~CP2P_TextMessage() { + // @@protoc_insertion_point(destructor:CP2P_TextMessage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_TextMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CP2P_TextMessage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_TextMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_TextMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_TextMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes 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); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_TextMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_TextMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes text = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 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:CP2P_TextMessage) + return target; +} + +size_t CP2P_TextMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_TextMessage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes text = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_text()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_TextMessage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_TextMessage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_TextMessage::GetClassData() const { return &_class_data_; } + + +void CP2P_TextMessage::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:CP2P_TextMessage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_text()) { + _this->_internal_set_text(from._internal_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_TextMessage::CopyFrom(const CP2P_TextMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_TextMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_TextMessage::IsInitialized() const { + return true; +} + +void CP2P_TextMessage::InternalSwap(CP2P_TextMessage* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_TextMessage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[0]); +} + +// =================================================================== + +class CSteam_Voice_Encoding::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_voice_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSteam_Voice_Encoding::CSteam_Voice_Encoding(::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:CSteam_Voice_Encoding) +} +CSteam_Voice_Encoding::CSteam_Voice_Encoding(const CSteam_Voice_Encoding& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSteam_Voice_Encoding* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.voice_data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.voice_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_voice_data()) { + _this->_impl_.voice_data_.Set(from._internal_voice_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CSteam_Voice_Encoding) +} + +inline void CSteam_Voice_Encoding::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.voice_data_){} + }; + _impl_.voice_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSteam_Voice_Encoding::~CSteam_Voice_Encoding() { + // @@protoc_insertion_point(destructor:CSteam_Voice_Encoding) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSteam_Voice_Encoding::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.voice_data_.Destroy(); +} + +void CSteam_Voice_Encoding::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSteam_Voice_Encoding::Clear() { +// @@protoc_insertion_point(message_clear_start:CSteam_Voice_Encoding) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.voice_data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSteam_Voice_Encoding::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes voice_data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_voice_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSteam_Voice_Encoding::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSteam_Voice_Encoding) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes voice_data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_voice_data(), 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:CSteam_Voice_Encoding) + return target; +} + +size_t CSteam_Voice_Encoding::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSteam_Voice_Encoding) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes voice_data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_voice_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSteam_Voice_Encoding::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSteam_Voice_Encoding::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSteam_Voice_Encoding::GetClassData() const { return &_class_data_; } + + +void CSteam_Voice_Encoding::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:CSteam_Voice_Encoding) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_voice_data()) { + _this->_internal_set_voice_data(from._internal_voice_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSteam_Voice_Encoding::CopyFrom(const CSteam_Voice_Encoding& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSteam_Voice_Encoding) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSteam_Voice_Encoding::IsInitialized() const { + return true; +} + +void CSteam_Voice_Encoding::InternalSwap(CSteam_Voice_Encoding* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.voice_data_, lhs_arena, + &other->_impl_.voice_data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSteam_Voice_Encoding::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[1]); +} + +// =================================================================== + +class CP2P_Voice::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVoiceAudio& audio(const CP2P_Voice* msg); + static void set_has_audio(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_broadcast_group(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVoiceAudio& +CP2P_Voice::_Internal::audio(const CP2P_Voice* msg) { + return *msg->_impl_.audio_; +} +void CP2P_Voice::clear_audio() { + if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CP2P_Voice::CP2P_Voice(::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:CP2P_Voice) +} +CP2P_Voice::CP2P_Voice(const CP2P_Voice& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_Voice* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.broadcast_group_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_audio()) { + _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); + } + _this->_impl_.broadcast_group_ = from._impl_.broadcast_group_; + // @@protoc_insertion_point(copy_constructor:CP2P_Voice) +} + +inline void CP2P_Voice::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.broadcast_group_){0u} + }; +} + +CP2P_Voice::~CP2P_Voice() { + // @@protoc_insertion_point(destructor:CP2P_Voice) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_Voice::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.audio_; +} + +void CP2P_Voice::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_Voice::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_Voice) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.audio_ != nullptr); + _impl_.audio_->Clear(); + } + _impl_.broadcast_group_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_Voice::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVoiceAudio audio = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 broadcast_group = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_broadcast_group(&has_bits); + _impl_.broadcast_group_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_Voice::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_Voice) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::audio(this), + _Internal::audio(this).GetCachedSize(), target, stream); + } + + // optional uint32 broadcast_group = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_broadcast_group(), 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:CP2P_Voice) + return target; +} + +size_t CP2P_Voice::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_Voice) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.audio_); + } + + // optional uint32 broadcast_group = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_broadcast_group()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_Voice::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_Voice::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_Voice::GetClassData() const { return &_class_data_; } + + +void CP2P_Voice::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:CP2P_Voice) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( + from._internal_audio()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.broadcast_group_ = from._impl_.broadcast_group_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_Voice::CopyFrom(const CP2P_Voice& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_Voice) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_Voice::IsInitialized() const { + return true; +} + +void CP2P_Voice::InternalSwap(CP2P_Voice* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CP2P_Voice, _impl_.broadcast_group_) + + sizeof(CP2P_Voice::_impl_.broadcast_group_) + - PROTOBUF_FIELD_OFFSET(CP2P_Voice, _impl_.audio_)>( + reinterpret_cast(&_impl_.audio_), + reinterpret_cast(&other->_impl_.audio_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_Voice::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[2]); +} + +// =================================================================== + +class CP2P_Ping::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_send_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_is_reply(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; + } +}; + +CP2P_Ping::CP2P_Ping(::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:CP2P_Ping) +} +CP2P_Ping::CP2P_Ping(const CP2P_Ping& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_Ping* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.send_time_){} + , decltype(_impl_.is_reply_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.send_time_, &from._impl_.send_time_, + static_cast(reinterpret_cast(&_impl_.is_reply_) - + reinterpret_cast(&_impl_.send_time_)) + sizeof(_impl_.is_reply_)); + // @@protoc_insertion_point(copy_constructor:CP2P_Ping) +} + +inline void CP2P_Ping::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.send_time_){uint64_t{0u}} + , decltype(_impl_.is_reply_){false} + }; +} + +CP2P_Ping::~CP2P_Ping() { + // @@protoc_insertion_point(destructor:CP2P_Ping) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_Ping::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CP2P_Ping::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_Ping::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_Ping) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.send_time_, 0, static_cast( + reinterpret_cast(&_impl_.is_reply_) - + reinterpret_cast(&_impl_.send_time_)) + sizeof(_impl_.is_reply_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_Ping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required uint64 send_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_send_time(&has_bits); + _impl_.send_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // required bool is_reply = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_is_reply(&has_bits); + _impl_.is_reply_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_Ping::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_Ping) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // required uint64 send_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_send_time(), target); + } + + // required bool is_reply = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_reply(), 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:CP2P_Ping) + return target; +} + +size_t CP2P_Ping::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CP2P_Ping) + size_t total_size = 0; + + if (_internal_has_send_time()) { + // required uint64 send_time = 1; + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); + } + + if (_internal_has_is_reply()) { + // required bool is_reply = 2; + total_size += 1 + 1; + } + + return total_size; +} +size_t CP2P_Ping::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_Ping) + size_t total_size = 0; + + if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. + // required uint64 send_time = 1; + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); + + // required bool is_reply = 2; + total_size += 1 + 1; + + } else { + total_size += RequiredFieldsByteSizeFallback(); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_Ping::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_Ping::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_Ping::GetClassData() const { return &_class_data_; } + + +void CP2P_Ping::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:CP2P_Ping) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.send_time_ = from._impl_.send_time_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.is_reply_ = from._impl_.is_reply_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_Ping::CopyFrom(const CP2P_Ping& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_Ping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_Ping::IsInitialized() const { + if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; + return true; +} + +void CP2P_Ping::InternalSwap(CP2P_Ping* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CP2P_Ping, _impl_.is_reply_) + + sizeof(CP2P_Ping::_impl_.is_reply_) + - PROTOBUF_FIELD_OFFSET(CP2P_Ping, _impl_.send_time_)>( + reinterpret_cast(&_impl_.send_time_), + reinterpret_cast(&other->_impl_.send_time_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_Ping::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[3]); +} + +// =================================================================== + +class CP2P_VRAvatarPosition_COrientation::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& pos(const CP2P_VRAvatarPosition_COrientation* msg); + static void set_has_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& ang(const CP2P_VRAvatarPosition_COrientation* msg); + static void set_has_ang(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CP2P_VRAvatarPosition_COrientation::_Internal::pos(const CP2P_VRAvatarPosition_COrientation* msg) { + return *msg->_impl_.pos_; +} +const ::CMsgQAngle& +CP2P_VRAvatarPosition_COrientation::_Internal::ang(const CP2P_VRAvatarPosition_COrientation* msg) { + return *msg->_impl_.ang_; +} +void CP2P_VRAvatarPosition_COrientation::clear_pos() { + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CP2P_VRAvatarPosition_COrientation::clear_ang() { + if (_impl_.ang_ != nullptr) _impl_.ang_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation(::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:CP2P_VRAvatarPosition.COrientation) +} +CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation(const CP2P_VRAvatarPosition_COrientation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_VRAvatarPosition_COrientation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.ang_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); + } + if (from._internal_has_ang()) { + _this->_impl_.ang_ = new ::CMsgQAngle(*from._impl_.ang_); + } + // @@protoc_insertion_point(copy_constructor:CP2P_VRAvatarPosition.COrientation) +} + +inline void CP2P_VRAvatarPosition_COrientation::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.ang_){nullptr} + }; +} + +CP2P_VRAvatarPosition_COrientation::~CP2P_VRAvatarPosition_COrientation() { + // @@protoc_insertion_point(destructor:CP2P_VRAvatarPosition.COrientation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_VRAvatarPosition_COrientation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos_; + if (this != internal_default_instance()) delete _impl_.ang_; +} + +void CP2P_VRAvatarPosition_COrientation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_VRAvatarPosition_COrientation::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_VRAvatarPosition.COrientation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.ang_ != nullptr); + _impl_.ang_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_VRAvatarPosition_COrientation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector pos = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle ang = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_ang(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_VRAvatarPosition_COrientation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_VRAvatarPosition.COrientation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle ang = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::ang(this), + _Internal::ang(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:CP2P_VRAvatarPosition.COrientation) + return target; +} + +size_t CP2P_VRAvatarPosition_COrientation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_VRAvatarPosition.COrientation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // optional .CMsgQAngle ang = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ang_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_VRAvatarPosition_COrientation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_VRAvatarPosition_COrientation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_VRAvatarPosition_COrientation::GetClassData() const { return &_class_data_; } + + +void CP2P_VRAvatarPosition_COrientation::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:CP2P_VRAvatarPosition.COrientation) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( + from._internal_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_ang()->::CMsgQAngle::MergeFrom( + from._internal_ang()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_VRAvatarPosition_COrientation::CopyFrom(const CP2P_VRAvatarPosition_COrientation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_VRAvatarPosition.COrientation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_VRAvatarPosition_COrientation::IsInitialized() const { + return true; +} + +void CP2P_VRAvatarPosition_COrientation::InternalSwap(CP2P_VRAvatarPosition_COrientation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition_COrientation, _impl_.ang_) + + sizeof(CP2P_VRAvatarPosition_COrientation::_impl_.ang_) + - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition_COrientation, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_VRAvatarPosition_COrientation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[4]); +} + +// =================================================================== + +class CP2P_VRAvatarPosition::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hat_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_scene_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_world_scale(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CP2P_VRAvatarPosition::CP2P_VRAvatarPosition(::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:CP2P_VRAvatarPosition) +} +CP2P_VRAvatarPosition::CP2P_VRAvatarPosition(const CP2P_VRAvatarPosition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_VRAvatarPosition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_parts_){from._impl_.body_parts_} + , decltype(_impl_.hat_id_){} + , decltype(_impl_.scene_id_){} + , decltype(_impl_.world_scale_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hat_id_, &from._impl_.hat_id_, + static_cast(reinterpret_cast(&_impl_.world_scale_) - + reinterpret_cast(&_impl_.hat_id_)) + sizeof(_impl_.world_scale_)); + // @@protoc_insertion_point(copy_constructor:CP2P_VRAvatarPosition) +} + +inline void CP2P_VRAvatarPosition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_parts_){arena} + , decltype(_impl_.hat_id_){0} + , decltype(_impl_.scene_id_){0} + , decltype(_impl_.world_scale_){0} + }; +} + +CP2P_VRAvatarPosition::~CP2P_VRAvatarPosition() { + // @@protoc_insertion_point(destructor:CP2P_VRAvatarPosition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_VRAvatarPosition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.body_parts_.~RepeatedPtrField(); +} + +void CP2P_VRAvatarPosition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_VRAvatarPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_VRAvatarPosition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.body_parts_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.hat_id_, 0, static_cast( + reinterpret_cast(&_impl_.world_scale_) - + reinterpret_cast(&_impl_.hat_id_)) + sizeof(_impl_.world_scale_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_VRAvatarPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_body_parts(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 hat_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_hat_id(&has_bits); + _impl_.hat_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 scene_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_scene_id(&has_bits); + _impl_.scene_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 world_scale = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_world_scale(&has_bits); + _impl_.world_scale_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_VRAvatarPosition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_VRAvatarPosition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_body_parts_size()); i < n; i++) { + const auto& repfield = this->_internal_body_parts(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 hat_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hat_id(), target); + } + + // optional int32 scene_id = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_scene_id(), target); + } + + // optional int32 world_scale = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_world_scale(), 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:CP2P_VRAvatarPosition) + return target; +} + +size_t CP2P_VRAvatarPosition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_VRAvatarPosition) + 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 .CP2P_VRAvatarPosition.COrientation body_parts = 1; + total_size += 1UL * this->_internal_body_parts_size(); + for (const auto& msg : this->_impl_.body_parts_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 hat_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hat_id()); + } + + // optional int32 scene_id = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_scene_id()); + } + + // optional int32 world_scale = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_world_scale()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_VRAvatarPosition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_VRAvatarPosition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_VRAvatarPosition::GetClassData() const { return &_class_data_; } + + +void CP2P_VRAvatarPosition::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:CP2P_VRAvatarPosition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.body_parts_.MergeFrom(from._impl_.body_parts_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hat_id_ = from._impl_.hat_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.scene_id_ = from._impl_.scene_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.world_scale_ = from._impl_.world_scale_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_VRAvatarPosition::CopyFrom(const CP2P_VRAvatarPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_VRAvatarPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_VRAvatarPosition::IsInitialized() const { + return true; +} + +void CP2P_VRAvatarPosition::InternalSwap(CP2P_VRAvatarPosition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.body_parts_.InternalSwap(&other->_impl_.body_parts_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition, _impl_.world_scale_) + + sizeof(CP2P_VRAvatarPosition::_impl_.world_scale_) + - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition, _impl_.hat_id_)>( + reinterpret_cast(&_impl_.hat_id_), + reinterpret_cast(&other->_impl_.hat_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_VRAvatarPosition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[5]); +} + +// =================================================================== + +class CP2P_WatchSynchronization::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_demo_tick(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_paused(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tv_listen_voice_indices(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_dota_spectator_mode(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_dota_spectator_watching_broadcaster(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_dota_spectator_hero_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_dota_spectator_autospeed(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_dota_replay_speed(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CP2P_WatchSynchronization::CP2P_WatchSynchronization(::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:CP2P_WatchSynchronization) +} +CP2P_WatchSynchronization::CP2P_WatchSynchronization(const CP2P_WatchSynchronization& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CP2P_WatchSynchronization* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.demo_tick_){} + , decltype(_impl_.paused_){} + , decltype(_impl_.dota_spectator_watching_broadcaster_){} + , decltype(_impl_.tv_listen_voice_indices_){} + , decltype(_impl_.dota_spectator_mode_){} + , decltype(_impl_.dota_spectator_hero_index_){} + , decltype(_impl_.dota_spectator_autospeed_){} + , decltype(_impl_.dota_replay_speed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.demo_tick_, &from._impl_.demo_tick_, + static_cast(reinterpret_cast(&_impl_.dota_replay_speed_) - + reinterpret_cast(&_impl_.demo_tick_)) + sizeof(_impl_.dota_replay_speed_)); + // @@protoc_insertion_point(copy_constructor:CP2P_WatchSynchronization) +} + +inline void CP2P_WatchSynchronization::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.demo_tick_){0} + , decltype(_impl_.paused_){false} + , decltype(_impl_.dota_spectator_watching_broadcaster_){false} + , decltype(_impl_.tv_listen_voice_indices_){uint64_t{0u}} + , decltype(_impl_.dota_spectator_mode_){0} + , decltype(_impl_.dota_spectator_hero_index_){0} + , decltype(_impl_.dota_spectator_autospeed_){0} + , decltype(_impl_.dota_replay_speed_){0} + }; +} + +CP2P_WatchSynchronization::~CP2P_WatchSynchronization() { + // @@protoc_insertion_point(destructor:CP2P_WatchSynchronization) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CP2P_WatchSynchronization::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CP2P_WatchSynchronization::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CP2P_WatchSynchronization::Clear() { +// @@protoc_insertion_point(message_clear_start:CP2P_WatchSynchronization) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.demo_tick_, 0, static_cast( + reinterpret_cast(&_impl_.dota_replay_speed_) - + reinterpret_cast(&_impl_.demo_tick_)) + sizeof(_impl_.dota_replay_speed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CP2P_WatchSynchronization::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 demo_tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_demo_tick(&has_bits); + _impl_.demo_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool paused = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_paused(&has_bits); + _impl_.paused_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 tv_listen_voice_indices = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_tv_listen_voice_indices(&has_bits); + _impl_.tv_listen_voice_indices_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dota_spectator_mode = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_dota_spectator_mode(&has_bits); + _impl_.dota_spectator_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool dota_spectator_watching_broadcaster = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_dota_spectator_watching_broadcaster(&has_bits); + _impl_.dota_spectator_watching_broadcaster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dota_spectator_hero_index = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_dota_spectator_hero_index(&has_bits); + _impl_.dota_spectator_hero_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dota_spectator_autospeed = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_dota_spectator_autospeed(&has_bits); + _impl_.dota_spectator_autospeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dota_replay_speed = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_dota_replay_speed(&has_bits); + _impl_.dota_replay_speed_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CP2P_WatchSynchronization::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CP2P_WatchSynchronization) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 demo_tick = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_demo_tick(), target); + } + + // optional bool paused = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_paused(), target); + } + + // optional uint64 tv_listen_voice_indices = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_tv_listen_voice_indices(), target); + } + + // optional int32 dota_spectator_mode = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_dota_spectator_mode(), target); + } + + // optional bool dota_spectator_watching_broadcaster = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_dota_spectator_watching_broadcaster(), target); + } + + // optional int32 dota_spectator_hero_index = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_dota_spectator_hero_index(), target); + } + + // optional int32 dota_spectator_autospeed = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_dota_spectator_autospeed(), target); + } + + // optional int32 dota_replay_speed = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_dota_replay_speed(), 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:CP2P_WatchSynchronization) + return target; +} + +size_t CP2P_WatchSynchronization::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CP2P_WatchSynchronization) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional int32 demo_tick = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_demo_tick()); + } + + // optional bool paused = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool dota_spectator_watching_broadcaster = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional uint64 tv_listen_voice_indices = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_listen_voice_indices()); + } + + // optional int32 dota_spectator_mode = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_mode()); + } + + // optional int32 dota_spectator_hero_index = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_hero_index()); + } + + // optional int32 dota_spectator_autospeed = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_autospeed()); + } + + // optional int32 dota_replay_speed = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_replay_speed()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_WatchSynchronization::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CP2P_WatchSynchronization::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_WatchSynchronization::GetClassData() const { return &_class_data_; } + + +void CP2P_WatchSynchronization::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:CP2P_WatchSynchronization) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.demo_tick_ = from._impl_.demo_tick_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.paused_ = from._impl_.paused_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.dota_spectator_watching_broadcaster_ = from._impl_.dota_spectator_watching_broadcaster_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.tv_listen_voice_indices_ = from._impl_.tv_listen_voice_indices_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.dota_spectator_mode_ = from._impl_.dota_spectator_mode_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.dota_spectator_hero_index_ = from._impl_.dota_spectator_hero_index_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.dota_spectator_autospeed_ = from._impl_.dota_spectator_autospeed_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.dota_replay_speed_ = from._impl_.dota_replay_speed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CP2P_WatchSynchronization::CopyFrom(const CP2P_WatchSynchronization& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_WatchSynchronization) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CP2P_WatchSynchronization::IsInitialized() const { + return true; +} + +void CP2P_WatchSynchronization::InternalSwap(CP2P_WatchSynchronization* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CP2P_WatchSynchronization, _impl_.dota_replay_speed_) + + sizeof(CP2P_WatchSynchronization::_impl_.dota_replay_speed_) + - PROTOBUF_FIELD_OFFSET(CP2P_WatchSynchronization, _impl_.demo_tick_)>( + reinterpret_cast(&_impl_.demo_tick_), + reinterpret_cast(&other->_impl_.demo_tick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CP2P_WatchSynchronization::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, + file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[6]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CP2P_TextMessage* +Arena::CreateMaybeMessage< ::CP2P_TextMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_TextMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::CSteam_Voice_Encoding* +Arena::CreateMaybeMessage< ::CSteam_Voice_Encoding >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSteam_Voice_Encoding >(arena); +} +template<> PROTOBUF_NOINLINE ::CP2P_Voice* +Arena::CreateMaybeMessage< ::CP2P_Voice >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_Voice >(arena); +} +template<> PROTOBUF_NOINLINE ::CP2P_Ping* +Arena::CreateMaybeMessage< ::CP2P_Ping >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_Ping >(arena); +} +template<> PROTOBUF_NOINLINE ::CP2P_VRAvatarPosition_COrientation* +Arena::CreateMaybeMessage< ::CP2P_VRAvatarPosition_COrientation >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_VRAvatarPosition_COrientation >(arena); +} +template<> PROTOBUF_NOINLINE ::CP2P_VRAvatarPosition* +Arena::CreateMaybeMessage< ::CP2P_VRAvatarPosition >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_VRAvatarPosition >(arena); +} +template<> PROTOBUF_NOINLINE ::CP2P_WatchSynchronization* +Arena::CreateMaybeMessage< ::CP2P_WatchSynchronization >(Arena* arena) { + return Arena::CreateMessageInternal< ::CP2P_WatchSynchronization >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h new file mode 100644 index 0000000..a72aed7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/c_peer2peer_netmessages.pb.h @@ -0,0 +1,2410 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: c_peer2peer_netmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "netmessages.pb.h" +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_c_5fpeer2peer_5fnetmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_c_5fpeer2peer_5fnetmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto; +class CP2P_Ping; +struct CP2P_PingDefaultTypeInternal; +extern CP2P_PingDefaultTypeInternal _CP2P_Ping_default_instance_; +class CP2P_TextMessage; +struct CP2P_TextMessageDefaultTypeInternal; +extern CP2P_TextMessageDefaultTypeInternal _CP2P_TextMessage_default_instance_; +class CP2P_VRAvatarPosition; +struct CP2P_VRAvatarPositionDefaultTypeInternal; +extern CP2P_VRAvatarPositionDefaultTypeInternal _CP2P_VRAvatarPosition_default_instance_; +class CP2P_VRAvatarPosition_COrientation; +struct CP2P_VRAvatarPosition_COrientationDefaultTypeInternal; +extern CP2P_VRAvatarPosition_COrientationDefaultTypeInternal _CP2P_VRAvatarPosition_COrientation_default_instance_; +class CP2P_Voice; +struct CP2P_VoiceDefaultTypeInternal; +extern CP2P_VoiceDefaultTypeInternal _CP2P_Voice_default_instance_; +class CP2P_WatchSynchronization; +struct CP2P_WatchSynchronizationDefaultTypeInternal; +extern CP2P_WatchSynchronizationDefaultTypeInternal _CP2P_WatchSynchronization_default_instance_; +class CSteam_Voice_Encoding; +struct CSteam_Voice_EncodingDefaultTypeInternal; +extern CSteam_Voice_EncodingDefaultTypeInternal _CSteam_Voice_Encoding_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CP2P_Ping* Arena::CreateMaybeMessage<::CP2P_Ping>(Arena*); +template<> ::CP2P_TextMessage* Arena::CreateMaybeMessage<::CP2P_TextMessage>(Arena*); +template<> ::CP2P_VRAvatarPosition* Arena::CreateMaybeMessage<::CP2P_VRAvatarPosition>(Arena*); +template<> ::CP2P_VRAvatarPosition_COrientation* Arena::CreateMaybeMessage<::CP2P_VRAvatarPosition_COrientation>(Arena*); +template<> ::CP2P_Voice* Arena::CreateMaybeMessage<::CP2P_Voice>(Arena*); +template<> ::CP2P_WatchSynchronization* Arena::CreateMaybeMessage<::CP2P_WatchSynchronization>(Arena*); +template<> ::CSteam_Voice_Encoding* Arena::CreateMaybeMessage<::CSteam_Voice_Encoding>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CP2P_Voice_Handler_Flags : int { + CP2P_Voice_Handler_Flags_Played_Audio = 1 +}; +bool CP2P_Voice_Handler_Flags_IsValid(int value); +constexpr CP2P_Voice_Handler_Flags CP2P_Voice_Handler_Flags_Handler_Flags_MIN = CP2P_Voice_Handler_Flags_Played_Audio; +constexpr CP2P_Voice_Handler_Flags CP2P_Voice_Handler_Flags_Handler_Flags_MAX = CP2P_Voice_Handler_Flags_Played_Audio; +constexpr int CP2P_Voice_Handler_Flags_Handler_Flags_ARRAYSIZE = CP2P_Voice_Handler_Flags_Handler_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CP2P_Voice_Handler_Flags_descriptor(); +template +inline const std::string& CP2P_Voice_Handler_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CP2P_Voice_Handler_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CP2P_Voice_Handler_Flags_descriptor(), enum_t_value); +} +inline bool CP2P_Voice_Handler_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CP2P_Voice_Handler_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CP2P_Voice_Handler_Flags_descriptor(), name, value); +} +enum P2P_Messages : int { + p2p_TextMessage = 256, + p2p_Voice = 257, + p2p_Ping = 258, + p2p_VRAvatarPosition = 259, + p2p_WatchSynchronization = 260, + p2p_FightingGame_GameData = 261, + p2p_FightingGame_Connection = 262 +}; +bool P2P_Messages_IsValid(int value); +constexpr P2P_Messages P2P_Messages_MIN = p2p_TextMessage; +constexpr P2P_Messages P2P_Messages_MAX = p2p_FightingGame_Connection; +constexpr int P2P_Messages_ARRAYSIZE = P2P_Messages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* P2P_Messages_descriptor(); +template +inline const std::string& P2P_Messages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function P2P_Messages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + P2P_Messages_descriptor(), enum_t_value); +} +inline bool P2P_Messages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, P2P_Messages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + P2P_Messages_descriptor(), name, value); +} +// =================================================================== + +class CP2P_TextMessage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_TextMessage) */ { + public: + inline CP2P_TextMessage() : CP2P_TextMessage(nullptr) {} + ~CP2P_TextMessage() override; + explicit PROTOBUF_CONSTEXPR CP2P_TextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_TextMessage(const CP2P_TextMessage& from); + CP2P_TextMessage(CP2P_TextMessage&& from) noexcept + : CP2P_TextMessage() { + *this = ::std::move(from); + } + + inline CP2P_TextMessage& operator=(const CP2P_TextMessage& from) { + CopyFrom(from); + return *this; + } + inline CP2P_TextMessage& operator=(CP2P_TextMessage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_TextMessage& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_TextMessage* internal_default_instance() { + return reinterpret_cast( + &_CP2P_TextMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CP2P_TextMessage& a, CP2P_TextMessage& b) { + a.Swap(&b); + } + inline void Swap(CP2P_TextMessage* 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(CP2P_TextMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_TextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_TextMessage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_TextMessage& from) { + CP2P_TextMessage::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(CP2P_TextMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_TextMessage"; + } + protected: + explicit CP2P_TextMessage(::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, + }; + // optional bytes text = 1; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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:CP2P_TextMessage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSteam_Voice_Encoding final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSteam_Voice_Encoding) */ { + public: + inline CSteam_Voice_Encoding() : CSteam_Voice_Encoding(nullptr) {} + ~CSteam_Voice_Encoding() override; + explicit PROTOBUF_CONSTEXPR CSteam_Voice_Encoding(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSteam_Voice_Encoding(const CSteam_Voice_Encoding& from); + CSteam_Voice_Encoding(CSteam_Voice_Encoding&& from) noexcept + : CSteam_Voice_Encoding() { + *this = ::std::move(from); + } + + inline CSteam_Voice_Encoding& operator=(const CSteam_Voice_Encoding& from) { + CopyFrom(from); + return *this; + } + inline CSteam_Voice_Encoding& operator=(CSteam_Voice_Encoding&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSteam_Voice_Encoding& default_instance() { + return *internal_default_instance(); + } + static inline const CSteam_Voice_Encoding* internal_default_instance() { + return reinterpret_cast( + &_CSteam_Voice_Encoding_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CSteam_Voice_Encoding& a, CSteam_Voice_Encoding& b) { + a.Swap(&b); + } + inline void Swap(CSteam_Voice_Encoding* 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(CSteam_Voice_Encoding* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSteam_Voice_Encoding* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSteam_Voice_Encoding& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSteam_Voice_Encoding& from) { + CSteam_Voice_Encoding::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(CSteam_Voice_Encoding* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSteam_Voice_Encoding"; + } + protected: + explicit CSteam_Voice_Encoding(::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 { + kVoiceDataFieldNumber = 1, + }; + // optional bytes voice_data = 1; + bool has_voice_data() const; + private: + bool _internal_has_voice_data() const; + public: + void clear_voice_data(); + const std::string& voice_data() const; + template + void set_voice_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_voice_data(); + PROTOBUF_NODISCARD std::string* release_voice_data(); + void set_allocated_voice_data(std::string* voice_data); + private: + const std::string& _internal_voice_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_data(const std::string& value); + std::string* _internal_mutable_voice_data(); + public: + + // @@protoc_insertion_point(class_scope:CSteam_Voice_Encoding) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CP2P_Voice final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_Voice) */ { + public: + inline CP2P_Voice() : CP2P_Voice(nullptr) {} + ~CP2P_Voice() override; + explicit PROTOBUF_CONSTEXPR CP2P_Voice(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_Voice(const CP2P_Voice& from); + CP2P_Voice(CP2P_Voice&& from) noexcept + : CP2P_Voice() { + *this = ::std::move(from); + } + + inline CP2P_Voice& operator=(const CP2P_Voice& from) { + CopyFrom(from); + return *this; + } + inline CP2P_Voice& operator=(CP2P_Voice&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_Voice& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_Voice* internal_default_instance() { + return reinterpret_cast( + &_CP2P_Voice_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CP2P_Voice& a, CP2P_Voice& b) { + a.Swap(&b); + } + inline void Swap(CP2P_Voice* 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(CP2P_Voice* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_Voice* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_Voice& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_Voice& from) { + CP2P_Voice::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(CP2P_Voice* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_Voice"; + } + protected: + explicit CP2P_Voice(::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 ---------------------------------------------------- + + typedef CP2P_Voice_Handler_Flags Handler_Flags; + static constexpr Handler_Flags Played_Audio = + CP2P_Voice_Handler_Flags_Played_Audio; + static inline bool Handler_Flags_IsValid(int value) { + return CP2P_Voice_Handler_Flags_IsValid(value); + } + static constexpr Handler_Flags Handler_Flags_MIN = + CP2P_Voice_Handler_Flags_Handler_Flags_MIN; + static constexpr Handler_Flags Handler_Flags_MAX = + CP2P_Voice_Handler_Flags_Handler_Flags_MAX; + static constexpr int Handler_Flags_ARRAYSIZE = + CP2P_Voice_Handler_Flags_Handler_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Handler_Flags_descriptor() { + return CP2P_Voice_Handler_Flags_descriptor(); + } + template + static inline const std::string& Handler_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Handler_Flags_Name."); + return CP2P_Voice_Handler_Flags_Name(enum_t_value); + } + static inline bool Handler_Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Handler_Flags* value) { + return CP2P_Voice_Handler_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAudioFieldNumber = 1, + kBroadcastGroupFieldNumber = 2, + }; + // optional .CMsgVoiceAudio audio = 1; + bool has_audio() const; + private: + bool _internal_has_audio() const; + public: + void clear_audio(); + const ::CMsgVoiceAudio& audio() const; + PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); + ::CMsgVoiceAudio* mutable_audio(); + void set_allocated_audio(::CMsgVoiceAudio* audio); + private: + const ::CMsgVoiceAudio& _internal_audio() const; + ::CMsgVoiceAudio* _internal_mutable_audio(); + public: + void unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio); + ::CMsgVoiceAudio* unsafe_arena_release_audio(); + + // optional uint32 broadcast_group = 2; + bool has_broadcast_group() const; + private: + bool _internal_has_broadcast_group() const; + public: + void clear_broadcast_group(); + uint32_t broadcast_group() const; + void set_broadcast_group(uint32_t value); + private: + uint32_t _internal_broadcast_group() const; + void _internal_set_broadcast_group(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CP2P_Voice) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVoiceAudio* audio_; + uint32_t broadcast_group_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CP2P_Ping final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_Ping) */ { + public: + inline CP2P_Ping() : CP2P_Ping(nullptr) {} + ~CP2P_Ping() override; + explicit PROTOBUF_CONSTEXPR CP2P_Ping(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_Ping(const CP2P_Ping& from); + CP2P_Ping(CP2P_Ping&& from) noexcept + : CP2P_Ping() { + *this = ::std::move(from); + } + + inline CP2P_Ping& operator=(const CP2P_Ping& from) { + CopyFrom(from); + return *this; + } + inline CP2P_Ping& operator=(CP2P_Ping&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_Ping& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_Ping* internal_default_instance() { + return reinterpret_cast( + &_CP2P_Ping_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CP2P_Ping& a, CP2P_Ping& b) { + a.Swap(&b); + } + inline void Swap(CP2P_Ping* 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(CP2P_Ping* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_Ping* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_Ping& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_Ping& from) { + CP2P_Ping::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(CP2P_Ping* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_Ping"; + } + protected: + explicit CP2P_Ping(::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 { + kSendTimeFieldNumber = 1, + kIsReplyFieldNumber = 2, + }; + // required uint64 send_time = 1; + bool has_send_time() const; + private: + bool _internal_has_send_time() const; + public: + void clear_send_time(); + uint64_t send_time() const; + void set_send_time(uint64_t value); + private: + uint64_t _internal_send_time() const; + void _internal_set_send_time(uint64_t value); + public: + + // required bool is_reply = 2; + bool has_is_reply() const; + private: + bool _internal_has_is_reply() const; + public: + void clear_is_reply(); + bool is_reply() const; + void set_is_reply(bool value); + private: + bool _internal_is_reply() const; + void _internal_set_is_reply(bool value); + public: + + // @@protoc_insertion_point(class_scope:CP2P_Ping) + private: + class _Internal; + + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t send_time_; + bool is_reply_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CP2P_VRAvatarPosition_COrientation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_VRAvatarPosition.COrientation) */ { + public: + inline CP2P_VRAvatarPosition_COrientation() : CP2P_VRAvatarPosition_COrientation(nullptr) {} + ~CP2P_VRAvatarPosition_COrientation() override; + explicit PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_VRAvatarPosition_COrientation(const CP2P_VRAvatarPosition_COrientation& from); + CP2P_VRAvatarPosition_COrientation(CP2P_VRAvatarPosition_COrientation&& from) noexcept + : CP2P_VRAvatarPosition_COrientation() { + *this = ::std::move(from); + } + + inline CP2P_VRAvatarPosition_COrientation& operator=(const CP2P_VRAvatarPosition_COrientation& from) { + CopyFrom(from); + return *this; + } + inline CP2P_VRAvatarPosition_COrientation& operator=(CP2P_VRAvatarPosition_COrientation&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_VRAvatarPosition_COrientation& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_VRAvatarPosition_COrientation* internal_default_instance() { + return reinterpret_cast( + &_CP2P_VRAvatarPosition_COrientation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CP2P_VRAvatarPosition_COrientation& a, CP2P_VRAvatarPosition_COrientation& b) { + a.Swap(&b); + } + inline void Swap(CP2P_VRAvatarPosition_COrientation* 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(CP2P_VRAvatarPosition_COrientation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_VRAvatarPosition_COrientation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_VRAvatarPosition_COrientation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_VRAvatarPosition_COrientation& from) { + CP2P_VRAvatarPosition_COrientation::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(CP2P_VRAvatarPosition_COrientation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_VRAvatarPosition.COrientation"; + } + protected: + explicit CP2P_VRAvatarPosition_COrientation(::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 { + kPosFieldNumber = 1, + kAngFieldNumber = 2, + }; + // optional .CMsgVector pos = 1; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::CMsgVector& pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_pos(); + ::CMsgVector* mutable_pos(); + void set_allocated_pos(::CMsgVector* pos); + private: + const ::CMsgVector& _internal_pos() const; + ::CMsgVector* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::CMsgVector* pos); + ::CMsgVector* unsafe_arena_release_pos(); + + // optional .CMsgQAngle ang = 2; + bool has_ang() const; + private: + bool _internal_has_ang() const; + public: + void clear_ang(); + const ::CMsgQAngle& ang() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_ang(); + ::CMsgQAngle* mutable_ang(); + void set_allocated_ang(::CMsgQAngle* ang); + private: + const ::CMsgQAngle& _internal_ang() const; + ::CMsgQAngle* _internal_mutable_ang(); + public: + void unsafe_arena_set_allocated_ang( + ::CMsgQAngle* ang); + ::CMsgQAngle* unsafe_arena_release_ang(); + + // @@protoc_insertion_point(class_scope:CP2P_VRAvatarPosition.COrientation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* pos_; + ::CMsgQAngle* ang_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CP2P_VRAvatarPosition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_VRAvatarPosition) */ { + public: + inline CP2P_VRAvatarPosition() : CP2P_VRAvatarPosition(nullptr) {} + ~CP2P_VRAvatarPosition() override; + explicit PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_VRAvatarPosition(const CP2P_VRAvatarPosition& from); + CP2P_VRAvatarPosition(CP2P_VRAvatarPosition&& from) noexcept + : CP2P_VRAvatarPosition() { + *this = ::std::move(from); + } + + inline CP2P_VRAvatarPosition& operator=(const CP2P_VRAvatarPosition& from) { + CopyFrom(from); + return *this; + } + inline CP2P_VRAvatarPosition& operator=(CP2P_VRAvatarPosition&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_VRAvatarPosition& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_VRAvatarPosition* internal_default_instance() { + return reinterpret_cast( + &_CP2P_VRAvatarPosition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CP2P_VRAvatarPosition& a, CP2P_VRAvatarPosition& b) { + a.Swap(&b); + } + inline void Swap(CP2P_VRAvatarPosition* 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(CP2P_VRAvatarPosition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_VRAvatarPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_VRAvatarPosition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_VRAvatarPosition& from) { + CP2P_VRAvatarPosition::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(CP2P_VRAvatarPosition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_VRAvatarPosition"; + } + protected: + explicit CP2P_VRAvatarPosition(::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 ---------------------------------------------------- + + typedef CP2P_VRAvatarPosition_COrientation COrientation; + + // accessors ------------------------------------------------------- + + enum : int { + kBodyPartsFieldNumber = 1, + kHatIdFieldNumber = 2, + kSceneIdFieldNumber = 3, + kWorldScaleFieldNumber = 4, + }; + // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; + int body_parts_size() const; + private: + int _internal_body_parts_size() const; + public: + void clear_body_parts(); + ::CP2P_VRAvatarPosition_COrientation* mutable_body_parts(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >* + mutable_body_parts(); + private: + const ::CP2P_VRAvatarPosition_COrientation& _internal_body_parts(int index) const; + ::CP2P_VRAvatarPosition_COrientation* _internal_add_body_parts(); + public: + const ::CP2P_VRAvatarPosition_COrientation& body_parts(int index) const; + ::CP2P_VRAvatarPosition_COrientation* add_body_parts(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >& + body_parts() const; + + // optional int32 hat_id = 2; + bool has_hat_id() const; + private: + bool _internal_has_hat_id() const; + public: + void clear_hat_id(); + int32_t hat_id() const; + void set_hat_id(int32_t value); + private: + int32_t _internal_hat_id() const; + void _internal_set_hat_id(int32_t value); + public: + + // optional int32 scene_id = 3; + bool has_scene_id() const; + private: + bool _internal_has_scene_id() const; + public: + void clear_scene_id(); + int32_t scene_id() const; + void set_scene_id(int32_t value); + private: + int32_t _internal_scene_id() const; + void _internal_set_scene_id(int32_t value); + public: + + // optional int32 world_scale = 4; + bool has_world_scale() const; + private: + bool _internal_has_world_scale() const; + public: + void clear_world_scale(); + int32_t world_scale() const; + void set_world_scale(int32_t value); + private: + int32_t _internal_world_scale() const; + void _internal_set_world_scale(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CP2P_VRAvatarPosition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation > body_parts_; + int32_t hat_id_; + int32_t scene_id_; + int32_t world_scale_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CP2P_WatchSynchronization final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_WatchSynchronization) */ { + public: + inline CP2P_WatchSynchronization() : CP2P_WatchSynchronization(nullptr) {} + ~CP2P_WatchSynchronization() override; + explicit PROTOBUF_CONSTEXPR CP2P_WatchSynchronization(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CP2P_WatchSynchronization(const CP2P_WatchSynchronization& from); + CP2P_WatchSynchronization(CP2P_WatchSynchronization&& from) noexcept + : CP2P_WatchSynchronization() { + *this = ::std::move(from); + } + + inline CP2P_WatchSynchronization& operator=(const CP2P_WatchSynchronization& from) { + CopyFrom(from); + return *this; + } + inline CP2P_WatchSynchronization& operator=(CP2P_WatchSynchronization&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CP2P_WatchSynchronization& default_instance() { + return *internal_default_instance(); + } + static inline const CP2P_WatchSynchronization* internal_default_instance() { + return reinterpret_cast( + &_CP2P_WatchSynchronization_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CP2P_WatchSynchronization& a, CP2P_WatchSynchronization& b) { + a.Swap(&b); + } + inline void Swap(CP2P_WatchSynchronization* 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(CP2P_WatchSynchronization* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CP2P_WatchSynchronization* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CP2P_WatchSynchronization& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CP2P_WatchSynchronization& from) { + CP2P_WatchSynchronization::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(CP2P_WatchSynchronization* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CP2P_WatchSynchronization"; + } + protected: + explicit CP2P_WatchSynchronization(::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 { + kDemoTickFieldNumber = 1, + kPausedFieldNumber = 2, + kDotaSpectatorWatchingBroadcasterFieldNumber = 5, + kTvListenVoiceIndicesFieldNumber = 3, + kDotaSpectatorModeFieldNumber = 4, + kDotaSpectatorHeroIndexFieldNumber = 6, + kDotaSpectatorAutospeedFieldNumber = 7, + kDotaReplaySpeedFieldNumber = 8, + }; + // optional int32 demo_tick = 1; + bool has_demo_tick() const; + private: + bool _internal_has_demo_tick() const; + public: + void clear_demo_tick(); + int32_t demo_tick() const; + void set_demo_tick(int32_t value); + private: + int32_t _internal_demo_tick() const; + void _internal_set_demo_tick(int32_t value); + public: + + // optional bool paused = 2; + bool has_paused() const; + private: + bool _internal_has_paused() const; + public: + void clear_paused(); + bool paused() const; + void set_paused(bool value); + private: + bool _internal_paused() const; + void _internal_set_paused(bool value); + public: + + // optional bool dota_spectator_watching_broadcaster = 5; + bool has_dota_spectator_watching_broadcaster() const; + private: + bool _internal_has_dota_spectator_watching_broadcaster() const; + public: + void clear_dota_spectator_watching_broadcaster(); + bool dota_spectator_watching_broadcaster() const; + void set_dota_spectator_watching_broadcaster(bool value); + private: + bool _internal_dota_spectator_watching_broadcaster() const; + void _internal_set_dota_spectator_watching_broadcaster(bool value); + public: + + // optional uint64 tv_listen_voice_indices = 3; + bool has_tv_listen_voice_indices() const; + private: + bool _internal_has_tv_listen_voice_indices() const; + public: + void clear_tv_listen_voice_indices(); + uint64_t tv_listen_voice_indices() const; + void set_tv_listen_voice_indices(uint64_t value); + private: + uint64_t _internal_tv_listen_voice_indices() const; + void _internal_set_tv_listen_voice_indices(uint64_t value); + public: + + // optional int32 dota_spectator_mode = 4; + bool has_dota_spectator_mode() const; + private: + bool _internal_has_dota_spectator_mode() const; + public: + void clear_dota_spectator_mode(); + int32_t dota_spectator_mode() const; + void set_dota_spectator_mode(int32_t value); + private: + int32_t _internal_dota_spectator_mode() const; + void _internal_set_dota_spectator_mode(int32_t value); + public: + + // optional int32 dota_spectator_hero_index = 6; + bool has_dota_spectator_hero_index() const; + private: + bool _internal_has_dota_spectator_hero_index() const; + public: + void clear_dota_spectator_hero_index(); + int32_t dota_spectator_hero_index() const; + void set_dota_spectator_hero_index(int32_t value); + private: + int32_t _internal_dota_spectator_hero_index() const; + void _internal_set_dota_spectator_hero_index(int32_t value); + public: + + // optional int32 dota_spectator_autospeed = 7; + bool has_dota_spectator_autospeed() const; + private: + bool _internal_has_dota_spectator_autospeed() const; + public: + void clear_dota_spectator_autospeed(); + int32_t dota_spectator_autospeed() const; + void set_dota_spectator_autospeed(int32_t value); + private: + int32_t _internal_dota_spectator_autospeed() const; + void _internal_set_dota_spectator_autospeed(int32_t value); + public: + + // optional int32 dota_replay_speed = 8; + bool has_dota_replay_speed() const; + private: + bool _internal_has_dota_replay_speed() const; + public: + void clear_dota_replay_speed(); + int32_t dota_replay_speed() const; + void set_dota_replay_speed(int32_t value); + private: + int32_t _internal_dota_replay_speed() const; + void _internal_set_dota_replay_speed(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CP2P_WatchSynchronization) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t demo_tick_; + bool paused_; + bool dota_spectator_watching_broadcaster_; + uint64_t tv_listen_voice_indices_; + int32_t dota_spectator_mode_; + int32_t dota_spectator_hero_index_; + int32_t dota_spectator_autospeed_; + int32_t dota_replay_speed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CP2P_TextMessage + +// optional bytes text = 1; +inline bool CP2P_TextMessage::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CP2P_TextMessage::has_text() const { + return _internal_has_text(); +} +inline void CP2P_TextMessage::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CP2P_TextMessage::text() const { + // @@protoc_insertion_point(field_get:CP2P_TextMessage.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CP2P_TextMessage::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CP2P_TextMessage.text) +} +inline std::string* CP2P_TextMessage::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CP2P_TextMessage.text) + return _s; +} +inline const std::string& CP2P_TextMessage::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CP2P_TextMessage::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CP2P_TextMessage::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CP2P_TextMessage::release_text() { + // @@protoc_insertion_point(field_release:CP2P_TextMessage.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CP2P_TextMessage::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CP2P_TextMessage.text) +} + +// ------------------------------------------------------------------- + +// CSteam_Voice_Encoding + +// optional bytes voice_data = 1; +inline bool CSteam_Voice_Encoding::_internal_has_voice_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSteam_Voice_Encoding::has_voice_data() const { + return _internal_has_voice_data(); +} +inline void CSteam_Voice_Encoding::clear_voice_data() { + _impl_.voice_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSteam_Voice_Encoding::voice_data() const { + // @@protoc_insertion_point(field_get:CSteam_Voice_Encoding.voice_data) + return _internal_voice_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSteam_Voice_Encoding::set_voice_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSteam_Voice_Encoding.voice_data) +} +inline std::string* CSteam_Voice_Encoding::mutable_voice_data() { + std::string* _s = _internal_mutable_voice_data(); + // @@protoc_insertion_point(field_mutable:CSteam_Voice_Encoding.voice_data) + return _s; +} +inline const std::string& CSteam_Voice_Encoding::_internal_voice_data() const { + return _impl_.voice_data_.Get(); +} +inline void CSteam_Voice_Encoding::_internal_set_voice_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSteam_Voice_Encoding::_internal_mutable_voice_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.voice_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSteam_Voice_Encoding::release_voice_data() { + // @@protoc_insertion_point(field_release:CSteam_Voice_Encoding.voice_data) + if (!_internal_has_voice_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.voice_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_data_.IsDefault()) { + _impl_.voice_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSteam_Voice_Encoding::set_allocated_voice_data(std::string* voice_data) { + if (voice_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.voice_data_.SetAllocated(voice_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_data_.IsDefault()) { + _impl_.voice_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSteam_Voice_Encoding.voice_data) +} + +// ------------------------------------------------------------------- + +// CP2P_Voice + +// optional .CMsgVoiceAudio audio = 1; +inline bool CP2P_Voice::_internal_has_audio() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); + return value; +} +inline bool CP2P_Voice::has_audio() const { + return _internal_has_audio(); +} +inline const ::CMsgVoiceAudio& CP2P_Voice::_internal_audio() const { + const ::CMsgVoiceAudio* p = _impl_.audio_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVoiceAudio_default_instance_); +} +inline const ::CMsgVoiceAudio& CP2P_Voice::audio() const { + // @@protoc_insertion_point(field_get:CP2P_Voice.audio) + return _internal_audio(); +} +inline void CP2P_Voice::unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); + } + _impl_.audio_ = audio; + if (audio) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_Voice.audio) +} +inline ::CMsgVoiceAudio* CP2P_Voice::release_audio() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = 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 ::CMsgVoiceAudio* CP2P_Voice::unsafe_arena_release_audio() { + // @@protoc_insertion_point(field_release:CP2P_Voice.audio) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = nullptr; + return temp; +} +inline ::CMsgVoiceAudio* CP2P_Voice::_internal_mutable_audio() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.audio_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); + _impl_.audio_ = p; + } + return _impl_.audio_; +} +inline ::CMsgVoiceAudio* CP2P_Voice::mutable_audio() { + ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); + // @@protoc_insertion_point(field_mutable:CP2P_Voice.audio) + return _msg; +} +inline void CP2P_Voice::set_allocated_audio(::CMsgVoiceAudio* audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); + } + if (audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(audio)); + if (message_arena != submessage_arena) { + audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, audio, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.audio_ = audio; + // @@protoc_insertion_point(field_set_allocated:CP2P_Voice.audio) +} + +// optional uint32 broadcast_group = 2; +inline bool CP2P_Voice::_internal_has_broadcast_group() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CP2P_Voice::has_broadcast_group() const { + return _internal_has_broadcast_group(); +} +inline void CP2P_Voice::clear_broadcast_group() { + _impl_.broadcast_group_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CP2P_Voice::_internal_broadcast_group() const { + return _impl_.broadcast_group_; +} +inline uint32_t CP2P_Voice::broadcast_group() const { + // @@protoc_insertion_point(field_get:CP2P_Voice.broadcast_group) + return _internal_broadcast_group(); +} +inline void CP2P_Voice::_internal_set_broadcast_group(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.broadcast_group_ = value; +} +inline void CP2P_Voice::set_broadcast_group(uint32_t value) { + _internal_set_broadcast_group(value); + // @@protoc_insertion_point(field_set:CP2P_Voice.broadcast_group) +} + +// ------------------------------------------------------------------- + +// CP2P_Ping + +// required uint64 send_time = 1; +inline bool CP2P_Ping::_internal_has_send_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CP2P_Ping::has_send_time() const { + return _internal_has_send_time(); +} +inline void CP2P_Ping::clear_send_time() { + _impl_.send_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CP2P_Ping::_internal_send_time() const { + return _impl_.send_time_; +} +inline uint64_t CP2P_Ping::send_time() const { + // @@protoc_insertion_point(field_get:CP2P_Ping.send_time) + return _internal_send_time(); +} +inline void CP2P_Ping::_internal_set_send_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.send_time_ = value; +} +inline void CP2P_Ping::set_send_time(uint64_t value) { + _internal_set_send_time(value); + // @@protoc_insertion_point(field_set:CP2P_Ping.send_time) +} + +// required bool is_reply = 2; +inline bool CP2P_Ping::_internal_has_is_reply() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CP2P_Ping::has_is_reply() const { + return _internal_has_is_reply(); +} +inline void CP2P_Ping::clear_is_reply() { + _impl_.is_reply_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CP2P_Ping::_internal_is_reply() const { + return _impl_.is_reply_; +} +inline bool CP2P_Ping::is_reply() const { + // @@protoc_insertion_point(field_get:CP2P_Ping.is_reply) + return _internal_is_reply(); +} +inline void CP2P_Ping::_internal_set_is_reply(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.is_reply_ = value; +} +inline void CP2P_Ping::set_is_reply(bool value) { + _internal_set_is_reply(value); + // @@protoc_insertion_point(field_set:CP2P_Ping.is_reply) +} + +// ------------------------------------------------------------------- + +// CP2P_VRAvatarPosition_COrientation + +// optional .CMsgVector pos = 1; +inline bool CP2P_VRAvatarPosition_COrientation::_internal_has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline bool CP2P_VRAvatarPosition_COrientation::has_pos() const { + return _internal_has_pos(); +} +inline const ::CMsgVector& CP2P_VRAvatarPosition_COrientation::_internal_pos() const { + const ::CMsgVector* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CP2P_VRAvatarPosition_COrientation::pos() const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.COrientation.pos) + return _internal_pos(); +} +inline void CP2P_VRAvatarPosition_COrientation::unsafe_arena_set_allocated_pos( + ::CMsgVector* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_VRAvatarPosition.COrientation.pos) +} +inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::release_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* 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 ::CMsgVector* CP2P_VRAvatarPosition_COrientation::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:CP2P_VRAvatarPosition.COrientation.pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::_internal_mutable_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::mutable_pos() { + ::CMsgVector* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.COrientation.pos) + return _msg; +} +inline void CP2P_VRAvatarPosition_COrientation::set_allocated_pos(::CMsgVector* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:CP2P_VRAvatarPosition.COrientation.pos) +} + +// optional .CMsgQAngle ang = 2; +inline bool CP2P_VRAvatarPosition_COrientation::_internal_has_ang() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ang_ != nullptr); + return value; +} +inline bool CP2P_VRAvatarPosition_COrientation::has_ang() const { + return _internal_has_ang(); +} +inline const ::CMsgQAngle& CP2P_VRAvatarPosition_COrientation::_internal_ang() const { + const ::CMsgQAngle* p = _impl_.ang_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CP2P_VRAvatarPosition_COrientation::ang() const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.COrientation.ang) + return _internal_ang(); +} +inline void CP2P_VRAvatarPosition_COrientation::unsafe_arena_set_allocated_ang( + ::CMsgQAngle* ang) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ang_); + } + _impl_.ang_ = ang; + if (ang) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_VRAvatarPosition.COrientation.ang) +} +inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::release_ang() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.ang_; + _impl_.ang_ = 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 ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::unsafe_arena_release_ang() { + // @@protoc_insertion_point(field_release:CP2P_VRAvatarPosition.COrientation.ang) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.ang_; + _impl_.ang_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::_internal_mutable_ang() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.ang_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.ang_ = p; + } + return _impl_.ang_; +} +inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::mutable_ang() { + ::CMsgQAngle* _msg = _internal_mutable_ang(); + // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.COrientation.ang) + return _msg; +} +inline void CP2P_VRAvatarPosition_COrientation::set_allocated_ang(::CMsgQAngle* ang) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ang_); + } + if (ang) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ang)); + if (message_arena != submessage_arena) { + ang = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ang, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.ang_ = ang; + // @@protoc_insertion_point(field_set_allocated:CP2P_VRAvatarPosition.COrientation.ang) +} + +// ------------------------------------------------------------------- + +// CP2P_VRAvatarPosition + +// repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; +inline int CP2P_VRAvatarPosition::_internal_body_parts_size() const { + return _impl_.body_parts_.size(); +} +inline int CP2P_VRAvatarPosition::body_parts_size() const { + return _internal_body_parts_size(); +} +inline void CP2P_VRAvatarPosition::clear_body_parts() { + _impl_.body_parts_.Clear(); +} +inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::mutable_body_parts(int index) { + // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.body_parts) + return _impl_.body_parts_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >* +CP2P_VRAvatarPosition::mutable_body_parts() { + // @@protoc_insertion_point(field_mutable_list:CP2P_VRAvatarPosition.body_parts) + return &_impl_.body_parts_; +} +inline const ::CP2P_VRAvatarPosition_COrientation& CP2P_VRAvatarPosition::_internal_body_parts(int index) const { + return _impl_.body_parts_.Get(index); +} +inline const ::CP2P_VRAvatarPosition_COrientation& CP2P_VRAvatarPosition::body_parts(int index) const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.body_parts) + return _internal_body_parts(index); +} +inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::_internal_add_body_parts() { + return _impl_.body_parts_.Add(); +} +inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::add_body_parts() { + ::CP2P_VRAvatarPosition_COrientation* _add = _internal_add_body_parts(); + // @@protoc_insertion_point(field_add:CP2P_VRAvatarPosition.body_parts) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >& +CP2P_VRAvatarPosition::body_parts() const { + // @@protoc_insertion_point(field_list:CP2P_VRAvatarPosition.body_parts) + return _impl_.body_parts_; +} + +// optional int32 hat_id = 2; +inline bool CP2P_VRAvatarPosition::_internal_has_hat_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CP2P_VRAvatarPosition::has_hat_id() const { + return _internal_has_hat_id(); +} +inline void CP2P_VRAvatarPosition::clear_hat_id() { + _impl_.hat_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CP2P_VRAvatarPosition::_internal_hat_id() const { + return _impl_.hat_id_; +} +inline int32_t CP2P_VRAvatarPosition::hat_id() const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.hat_id) + return _internal_hat_id(); +} +inline void CP2P_VRAvatarPosition::_internal_set_hat_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hat_id_ = value; +} +inline void CP2P_VRAvatarPosition::set_hat_id(int32_t value) { + _internal_set_hat_id(value); + // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.hat_id) +} + +// optional int32 scene_id = 3; +inline bool CP2P_VRAvatarPosition::_internal_has_scene_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CP2P_VRAvatarPosition::has_scene_id() const { + return _internal_has_scene_id(); +} +inline void CP2P_VRAvatarPosition::clear_scene_id() { + _impl_.scene_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CP2P_VRAvatarPosition::_internal_scene_id() const { + return _impl_.scene_id_; +} +inline int32_t CP2P_VRAvatarPosition::scene_id() const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.scene_id) + return _internal_scene_id(); +} +inline void CP2P_VRAvatarPosition::_internal_set_scene_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.scene_id_ = value; +} +inline void CP2P_VRAvatarPosition::set_scene_id(int32_t value) { + _internal_set_scene_id(value); + // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.scene_id) +} + +// optional int32 world_scale = 4; +inline bool CP2P_VRAvatarPosition::_internal_has_world_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CP2P_VRAvatarPosition::has_world_scale() const { + return _internal_has_world_scale(); +} +inline void CP2P_VRAvatarPosition::clear_world_scale() { + _impl_.world_scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CP2P_VRAvatarPosition::_internal_world_scale() const { + return _impl_.world_scale_; +} +inline int32_t CP2P_VRAvatarPosition::world_scale() const { + // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.world_scale) + return _internal_world_scale(); +} +inline void CP2P_VRAvatarPosition::_internal_set_world_scale(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.world_scale_ = value; +} +inline void CP2P_VRAvatarPosition::set_world_scale(int32_t value) { + _internal_set_world_scale(value); + // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.world_scale) +} + +// ------------------------------------------------------------------- + +// CP2P_WatchSynchronization + +// optional int32 demo_tick = 1; +inline bool CP2P_WatchSynchronization::_internal_has_demo_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_demo_tick() const { + return _internal_has_demo_tick(); +} +inline void CP2P_WatchSynchronization::clear_demo_tick() { + _impl_.demo_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CP2P_WatchSynchronization::_internal_demo_tick() const { + return _impl_.demo_tick_; +} +inline int32_t CP2P_WatchSynchronization::demo_tick() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.demo_tick) + return _internal_demo_tick(); +} +inline void CP2P_WatchSynchronization::_internal_set_demo_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.demo_tick_ = value; +} +inline void CP2P_WatchSynchronization::set_demo_tick(int32_t value) { + _internal_set_demo_tick(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.demo_tick) +} + +// optional bool paused = 2; +inline bool CP2P_WatchSynchronization::_internal_has_paused() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_paused() const { + return _internal_has_paused(); +} +inline void CP2P_WatchSynchronization::clear_paused() { + _impl_.paused_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CP2P_WatchSynchronization::_internal_paused() const { + return _impl_.paused_; +} +inline bool CP2P_WatchSynchronization::paused() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.paused) + return _internal_paused(); +} +inline void CP2P_WatchSynchronization::_internal_set_paused(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.paused_ = value; +} +inline void CP2P_WatchSynchronization::set_paused(bool value) { + _internal_set_paused(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.paused) +} + +// optional uint64 tv_listen_voice_indices = 3; +inline bool CP2P_WatchSynchronization::_internal_has_tv_listen_voice_indices() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_tv_listen_voice_indices() const { + return _internal_has_tv_listen_voice_indices(); +} +inline void CP2P_WatchSynchronization::clear_tv_listen_voice_indices() { + _impl_.tv_listen_voice_indices_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CP2P_WatchSynchronization::_internal_tv_listen_voice_indices() const { + return _impl_.tv_listen_voice_indices_; +} +inline uint64_t CP2P_WatchSynchronization::tv_listen_voice_indices() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.tv_listen_voice_indices) + return _internal_tv_listen_voice_indices(); +} +inline void CP2P_WatchSynchronization::_internal_set_tv_listen_voice_indices(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.tv_listen_voice_indices_ = value; +} +inline void CP2P_WatchSynchronization::set_tv_listen_voice_indices(uint64_t value) { + _internal_set_tv_listen_voice_indices(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.tv_listen_voice_indices) +} + +// optional int32 dota_spectator_mode = 4; +inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_dota_spectator_mode() const { + return _internal_has_dota_spectator_mode(); +} +inline void CP2P_WatchSynchronization::clear_dota_spectator_mode() { + _impl_.dota_spectator_mode_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_mode() const { + return _impl_.dota_spectator_mode_; +} +inline int32_t CP2P_WatchSynchronization::dota_spectator_mode() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_mode) + return _internal_dota_spectator_mode(); +} +inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_mode(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.dota_spectator_mode_ = value; +} +inline void CP2P_WatchSynchronization::set_dota_spectator_mode(int32_t value) { + _internal_set_dota_spectator_mode(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_mode) +} + +// optional bool dota_spectator_watching_broadcaster = 5; +inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_watching_broadcaster() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_dota_spectator_watching_broadcaster() const { + return _internal_has_dota_spectator_watching_broadcaster(); +} +inline void CP2P_WatchSynchronization::clear_dota_spectator_watching_broadcaster() { + _impl_.dota_spectator_watching_broadcaster_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CP2P_WatchSynchronization::_internal_dota_spectator_watching_broadcaster() const { + return _impl_.dota_spectator_watching_broadcaster_; +} +inline bool CP2P_WatchSynchronization::dota_spectator_watching_broadcaster() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_watching_broadcaster) + return _internal_dota_spectator_watching_broadcaster(); +} +inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_watching_broadcaster(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dota_spectator_watching_broadcaster_ = value; +} +inline void CP2P_WatchSynchronization::set_dota_spectator_watching_broadcaster(bool value) { + _internal_set_dota_spectator_watching_broadcaster(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_watching_broadcaster) +} + +// optional int32 dota_spectator_hero_index = 6; +inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_hero_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_dota_spectator_hero_index() const { + return _internal_has_dota_spectator_hero_index(); +} +inline void CP2P_WatchSynchronization::clear_dota_spectator_hero_index() { + _impl_.dota_spectator_hero_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_hero_index() const { + return _impl_.dota_spectator_hero_index_; +} +inline int32_t CP2P_WatchSynchronization::dota_spectator_hero_index() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_hero_index) + return _internal_dota_spectator_hero_index(); +} +inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_hero_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.dota_spectator_hero_index_ = value; +} +inline void CP2P_WatchSynchronization::set_dota_spectator_hero_index(int32_t value) { + _internal_set_dota_spectator_hero_index(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_hero_index) +} + +// optional int32 dota_spectator_autospeed = 7; +inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_autospeed() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_dota_spectator_autospeed() const { + return _internal_has_dota_spectator_autospeed(); +} +inline void CP2P_WatchSynchronization::clear_dota_spectator_autospeed() { + _impl_.dota_spectator_autospeed_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_autospeed() const { + return _impl_.dota_spectator_autospeed_; +} +inline int32_t CP2P_WatchSynchronization::dota_spectator_autospeed() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_autospeed) + return _internal_dota_spectator_autospeed(); +} +inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_autospeed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.dota_spectator_autospeed_ = value; +} +inline void CP2P_WatchSynchronization::set_dota_spectator_autospeed(int32_t value) { + _internal_set_dota_spectator_autospeed(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_autospeed) +} + +// optional int32 dota_replay_speed = 8; +inline bool CP2P_WatchSynchronization::_internal_has_dota_replay_speed() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CP2P_WatchSynchronization::has_dota_replay_speed() const { + return _internal_has_dota_replay_speed(); +} +inline void CP2P_WatchSynchronization::clear_dota_replay_speed() { + _impl_.dota_replay_speed_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CP2P_WatchSynchronization::_internal_dota_replay_speed() const { + return _impl_.dota_replay_speed_; +} +inline int32_t CP2P_WatchSynchronization::dota_replay_speed() const { + // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_replay_speed) + return _internal_dota_replay_speed(); +} +inline void CP2P_WatchSynchronization::_internal_set_dota_replay_speed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.dota_replay_speed_ = value; +} +inline void CP2P_WatchSynchronization::set_dota_replay_speed(int32_t value) { + _internal_set_dota_replay_speed(value); + // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_replay_speed) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CP2P_Voice_Handler_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CP2P_Voice_Handler_Flags>() { + return ::CP2P_Voice_Handler_Flags_descriptor(); +} +template <> struct is_proto_enum< ::P2P_Messages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::P2P_Messages>() { + return ::P2P_Messages_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.cc new file mode 100644 index 0000000..6757c3e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.cc @@ -0,0 +1,2154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: clientmessages.proto + +#include "clientmessages.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; + +PROTOBUF_CONSTEXPR CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CClientMsg_CustomGameEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_CustomGameEventDefaultTypeInternal() {} + union { + CClientMsg_CustomGameEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_CustomGameEventDefaultTypeInternal _CClientMsg_CustomGameEvent_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_slot_)*/-1} {} +struct CClientMsg_CustomGameEventBounceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_CustomGameEventBounceDefaultTypeInternal() {} + union { + CClientMsg_CustomGameEventBounce _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_CustomGameEventBounceDefaultTypeInternal _CClientMsg_CustomGameEventBounce_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.event_)*/0 + , /*decltype(_impl_.ent_ehandle_)*/0u + , /*decltype(_impl_.client_ehandle_)*/0u} {} +struct CClientMsg_ClientUIEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_ClientUIEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_ClientUIEventDefaultTypeInternal() {} + union { + CClientMsg_ClientUIEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_ClientUIEventDefaultTypeInternal _CClientMsg_ClientUIEvent_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.visible_)*/false} {} +struct CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal() {} + union { + CClientMsg_DevPaletteVisibilityChangedEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal _CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.has_panel_)*/false + , /*decltype(_impl_.client_ehandle_)*/0u + , /*decltype(_impl_.literal_hand_type_)*/0u} {} +struct CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal() {} + union { + CClientMsg_WorldUIControllerHasPanelChangedEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal _CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_RotateAnchor::CClientMsg_RotateAnchor( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angle_)*/0} {} +struct CClientMsg_RotateAnchorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_RotateAnchorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_RotateAnchorDefaultTypeInternal() {} + union { + CClientMsg_RotateAnchor _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_RotateAnchorDefaultTypeInternal _CClientMsg_RotateAnchor_default_instance_; +PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_slot_)*/-1} {} +struct CClientMsg_ListenForResponseFoundDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFoundDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientMsg_ListenForResponseFoundDefaultTypeInternal() {} + union { + CClientMsg_ListenForResponseFound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_ListenForResponseFoundDefaultTypeInternal _CClientMsg_ListenForResponseFound_default_instance_; +static ::_pb::Metadata file_level_metadata_clientmessages_2eproto[7]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_clientmessages_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_clientmessages_2eproto = nullptr; + +const uint32_t TableStruct_clientmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_.data_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.player_slot_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.event_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.ent_ehandle_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.client_ehandle_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.data1_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.data2_), + 2, + 3, + 4, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _impl_.visible_), + 0, + PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.has_panel_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.client_ehandle_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.literal_hand_type_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _impl_.angle_), + 0, + PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _impl_.player_slot_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CClientMsg_CustomGameEvent)}, + { 10, 19, -1, sizeof(::CClientMsg_CustomGameEventBounce)}, + { 22, 33, -1, sizeof(::CClientMsg_ClientUIEvent)}, + { 38, 45, -1, sizeof(::CClientMsg_DevPaletteVisibilityChangedEvent)}, + { 46, 55, -1, sizeof(::CClientMsg_WorldUIControllerHasPanelChangedEvent)}, + { 58, 65, -1, sizeof(::CClientMsg_RotateAnchor)}, + { 66, 73, -1, sizeof(::CClientMsg_ListenForResponseFound)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CClientMsg_CustomGameEvent_default_instance_._instance, + &::_CClientMsg_CustomGameEventBounce_default_instance_._instance, + &::_CClientMsg_ClientUIEvent_default_instance_._instance, + &::_CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_._instance, + &::_CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_._instance, + &::_CClientMsg_RotateAnchor_default_instance_._instance, + &::_CClientMsg_ListenForResponseFound_default_instance_._instance, +}; + +const char descriptor_table_protodef_clientmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\024clientmessages.proto\">\n\032CClientMsg_Cus" + "tomGameEvent\022\022\n\nevent_name\030\001 \001(\t\022\014\n\004data" + "\030\002 \001(\014\"]\n CClientMsg_CustomGameEventBoun" + "ce\022\022\n\nevent_name\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022\027\n\013" + "player_slot\030\003 \001(\005:\002-1\"\235\001\n\030CClientMsg_Cli" + "entUIEvent\0226\n\005event\030\001 \001(\0162\017.EClientUIEve" + "nt:\026EClientUIEvent_Invalid\022\023\n\013ent_ehandl" + "e\030\002 \001(\r\022\026\n\016client_ehandle\030\003 \001(\r\022\r\n\005data1" + "\030\004 \001(\t\022\r\n\005data2\030\005 \001(\t\">\n+CClientMsg_DevP" + "aletteVisibilityChangedEvent\022\017\n\007visible\030" + "\001 \001(\010\"x\n0CClientMsg_WorldUIControllerHas" + "PanelChangedEvent\022\021\n\thas_panel\030\001 \001(\010\022\026\n\016" + "client_ehandle\030\002 \001(\r\022\031\n\021literal_hand_typ" + "e\030\003 \001(\r\"(\n\027CClientMsg_RotateAnchor\022\r\n\005an" + "gle\030\001 \001(\002\"<\n!CClientMsg_ListenForRespons" + "eFound\022\027\n\013player_slot\030\001 \001(\005:\002-1*\373\001\n\023EBas" + "eClientMessages\022\027\n\022CM_CustomGameEvent\020\230\002" + "\022\035\n\030CM_CustomGameEventBounce\020\231\002\022\025\n\020CM_Cl" + "ientUIEvent\020\232\002\022#\n\036CM_DevPaletteVisibilit" + "yChanged\020\233\002\022(\n#CM_WorldUIControllerHasPa" + "nelChanged\020\234\002\022\024\n\017CM_RotateAnchor\020\235\002\022\036\n\031C" + "M_ListenForResponseFound\020\236\002\022\020\n\013CM_MAX_BA" + "SE\020\254\002*n\n\016EClientUIEvent\022\032\n\026EClientUIEven" + "t_Invalid\020\000\022!\n\035EClientUIEvent_DialogFini" + "shed\020\001\022\035\n\031EClientUIEvent_FireOutput\020\002" + ; +static ::_pbi::once_flag descriptor_table_clientmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_clientmessages_2eproto = { + false, false, 997, descriptor_table_protodef_clientmessages_2eproto, + "clientmessages.proto", + &descriptor_table_clientmessages_2eproto_once, nullptr, 0, 7, + schemas, file_default_instances, TableStruct_clientmessages_2eproto::offsets, + file_level_metadata_clientmessages_2eproto, file_level_enum_descriptors_clientmessages_2eproto, + file_level_service_descriptors_clientmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_clientmessages_2eproto_getter() { + return &descriptor_table_clientmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_clientmessages_2eproto(&descriptor_table_clientmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseClientMessages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_clientmessages_2eproto); + return file_level_enum_descriptors_clientmessages_2eproto[0]; +} +bool EBaseClientMessages_IsValid(int value) { + switch (value) { + case 280: + case 281: + case 282: + case 283: + case 284: + case 285: + case 286: + case 300: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientUIEvent_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_clientmessages_2eproto); + return file_level_enum_descriptors_clientmessages_2eproto[1]; +} +bool EClientUIEvent_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CClientMsg_CustomGameEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent(::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:CClientMsg_CustomGameEvent) +} +CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent(const CClientMsg_CustomGameEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_CustomGameEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CClientMsg_CustomGameEvent) +} + +inline void CClientMsg_CustomGameEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CClientMsg_CustomGameEvent::~CClientMsg_CustomGameEvent() { + // @@protoc_insertion_point(destructor:CClientMsg_CustomGameEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_CustomGameEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_name_.Destroy(); + _impl_.data_.Destroy(); +} + +void CClientMsg_CustomGameEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_CustomGameEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_CustomGameEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_CustomGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CClientMsg_CustomGameEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_CustomGameEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_CustomGameEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CClientMsg_CustomGameEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CClientMsg_CustomGameEvent) + return target; +} + +size_t CClientMsg_CustomGameEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_CustomGameEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_CustomGameEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_CustomGameEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_CustomGameEvent::GetClassData() const { return &_class_data_; } + + +void CClientMsg_CustomGameEvent::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:CClientMsg_CustomGameEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_data(from._internal_data()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_CustomGameEvent::CopyFrom(const CClientMsg_CustomGameEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_CustomGameEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_CustomGameEvent::IsInitialized() const { + return true; +} + +void CClientMsg_CustomGameEvent::InternalSwap(CClientMsg_CustomGameEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_CustomGameEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[0]); +} + +// =================================================================== + +class CClientMsg_CustomGameEventBounce::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce(::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:CClientMsg_CustomGameEventBounce) +} +CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce(const CClientMsg_CustomGameEventBounce& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_CustomGameEventBounce* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){} + , decltype(_impl_.player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.player_slot_ = from._impl_.player_slot_; + // @@protoc_insertion_point(copy_constructor:CClientMsg_CustomGameEventBounce) +} + +inline void CClientMsg_CustomGameEventBounce::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){} + , decltype(_impl_.player_slot_){-1} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CClientMsg_CustomGameEventBounce::~CClientMsg_CustomGameEventBounce() { + // @@protoc_insertion_point(destructor:CClientMsg_CustomGameEventBounce) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_CustomGameEventBounce::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_name_.Destroy(); + _impl_.data_.Destroy(); +} + +void CClientMsg_CustomGameEventBounce::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_CustomGameEventBounce::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_CustomGameEventBounce) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_CustomGameEventBounce::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CClientMsg_CustomGameEventBounce.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_CustomGameEventBounce::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_CustomGameEventBounce) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CClientMsg_CustomGameEventBounce.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), target); + } + + // optional int32 player_slot = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_slot(), 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:CClientMsg_CustomGameEventBounce) + return target; +} + +size_t CClientMsg_CustomGameEventBounce::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_CustomGameEventBounce) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 player_slot = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_CustomGameEventBounce::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_CustomGameEventBounce::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_CustomGameEventBounce::GetClassData() const { return &_class_data_; } + + +void CClientMsg_CustomGameEventBounce::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:CClientMsg_CustomGameEventBounce) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_CustomGameEventBounce::CopyFrom(const CClientMsg_CustomGameEventBounce& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_CustomGameEventBounce) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_CustomGameEventBounce::IsInitialized() const { + return true; +} + +void CClientMsg_CustomGameEventBounce::InternalSwap(CClientMsg_CustomGameEventBounce* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_CustomGameEventBounce::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[1]); +} + +// =================================================================== + +class CClientMsg_ClientUIEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ent_ehandle(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_ehandle(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_data1(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent(::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:CClientMsg_ClientUIEvent) +} +CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent(const CClientMsg_ClientUIEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_ClientUIEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data1_){} + , decltype(_impl_.data2_){} + , decltype(_impl_.event_){} + , decltype(_impl_.ent_ehandle_){} + , decltype(_impl_.client_ehandle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data1()) { + _this->_impl_.data1_.Set(from._internal_data1(), + _this->GetArenaForAllocation()); + } + _impl_.data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data2()) { + _this->_impl_.data2_.Set(from._internal_data2(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.event_, &from._impl_.event_, + static_cast(reinterpret_cast(&_impl_.client_ehandle_) - + reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.client_ehandle_)); + // @@protoc_insertion_point(copy_constructor:CClientMsg_ClientUIEvent) +} + +inline void CClientMsg_ClientUIEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data1_){} + , decltype(_impl_.data2_){} + , decltype(_impl_.event_){0} + , decltype(_impl_.ent_ehandle_){0u} + , decltype(_impl_.client_ehandle_){0u} + }; + _impl_.data1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CClientMsg_ClientUIEvent::~CClientMsg_ClientUIEvent() { + // @@protoc_insertion_point(destructor:CClientMsg_ClientUIEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_ClientUIEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data1_.Destroy(); + _impl_.data2_.Destroy(); +} + +void CClientMsg_ClientUIEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_ClientUIEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_ClientUIEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.data1_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.data2_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.event_, 0, static_cast( + reinterpret_cast(&_impl_.client_ehandle_) - + reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.client_ehandle_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_ClientUIEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::EClientUIEvent_IsValid(val))) { + _internal_set_event(static_cast<::EClientUIEvent>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional uint32 ent_ehandle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ent_ehandle(&has_bits); + _impl_.ent_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_ehandle = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_client_ehandle(&has_bits); + _impl_.client_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string data1 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_data1(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CClientMsg_ClientUIEvent.data1"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string data2 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_data2(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CClientMsg_ClientUIEvent.data2"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_ClientUIEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_ClientUIEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_event(), target); + } + + // optional uint32 ent_ehandle = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ent_ehandle(), target); + } + + // optional uint32 client_ehandle = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_ehandle(), target); + } + + // optional string data1 = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_data1().data(), static_cast(this->_internal_data1().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CClientMsg_ClientUIEvent.data1"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_data1(), target); + } + + // optional string data2 = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_data2().data(), static_cast(this->_internal_data2().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CClientMsg_ClientUIEvent.data2"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_data2(), 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:CClientMsg_ClientUIEvent) + return target; +} + +size_t CClientMsg_ClientUIEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_ClientUIEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string data1 = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_data1()); + } + + // optional string data2 = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_data2()); + } + + // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_event()); + } + + // optional uint32 ent_ehandle = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ent_ehandle()); + } + + // optional uint32 client_ehandle = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_ehandle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_ClientUIEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_ClientUIEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_ClientUIEvent::GetClassData() const { return &_class_data_; } + + +void CClientMsg_ClientUIEvent::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:CClientMsg_ClientUIEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data1(from._internal_data1()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_data2(from._internal_data2()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.event_ = from._impl_.event_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ent_ehandle_ = from._impl_.ent_ehandle_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_ehandle_ = from._impl_.client_ehandle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_ClientUIEvent::CopyFrom(const CClientMsg_ClientUIEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_ClientUIEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_ClientUIEvent::IsInitialized() const { + return true; +} + +void CClientMsg_ClientUIEvent::InternalSwap(CClientMsg_ClientUIEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data1_, lhs_arena, + &other->_impl_.data1_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data2_, lhs_arena, + &other->_impl_.data2_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CClientMsg_ClientUIEvent, _impl_.client_ehandle_) + + sizeof(CClientMsg_ClientUIEvent::_impl_.client_ehandle_) + - PROTOBUF_FIELD_OFFSET(CClientMsg_ClientUIEvent, _impl_.event_)>( + reinterpret_cast(&_impl_.event_), + reinterpret_cast(&other->_impl_.event_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_ClientUIEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[2]); +} + +// =================================================================== + +class CClientMsg_DevPaletteVisibilityChangedEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_visible(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent(::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:CClientMsg_DevPaletteVisibilityChangedEvent) +} +CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent(const CClientMsg_DevPaletteVisibilityChangedEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_DevPaletteVisibilityChangedEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.visible_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.visible_ = from._impl_.visible_; + // @@protoc_insertion_point(copy_constructor:CClientMsg_DevPaletteVisibilityChangedEvent) +} + +inline void CClientMsg_DevPaletteVisibilityChangedEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.visible_){false} + }; +} + +CClientMsg_DevPaletteVisibilityChangedEvent::~CClientMsg_DevPaletteVisibilityChangedEvent() { + // @@protoc_insertion_point(destructor:CClientMsg_DevPaletteVisibilityChangedEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_DevPaletteVisibilityChangedEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CClientMsg_DevPaletteVisibilityChangedEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_DevPaletteVisibilityChangedEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_DevPaletteVisibilityChangedEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.visible_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_DevPaletteVisibilityChangedEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool visible = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_visible(&has_bits); + _impl_.visible_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_DevPaletteVisibilityChangedEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_DevPaletteVisibilityChangedEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool visible = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_visible(), 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:CClientMsg_DevPaletteVisibilityChangedEvent) + return target; +} + +size_t CClientMsg_DevPaletteVisibilityChangedEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_DevPaletteVisibilityChangedEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool visible = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_DevPaletteVisibilityChangedEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_DevPaletteVisibilityChangedEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_DevPaletteVisibilityChangedEvent::GetClassData() const { return &_class_data_; } + + +void CClientMsg_DevPaletteVisibilityChangedEvent::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:CClientMsg_DevPaletteVisibilityChangedEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_visible()) { + _this->_internal_set_visible(from._internal_visible()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_DevPaletteVisibilityChangedEvent::CopyFrom(const CClientMsg_DevPaletteVisibilityChangedEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_DevPaletteVisibilityChangedEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_DevPaletteVisibilityChangedEvent::IsInitialized() const { + return true; +} + +void CClientMsg_DevPaletteVisibilityChangedEvent::InternalSwap(CClientMsg_DevPaletteVisibilityChangedEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.visible_, other->_impl_.visible_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_DevPaletteVisibilityChangedEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[3]); +} + +// =================================================================== + +class CClientMsg_WorldUIControllerHasPanelChangedEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_has_panel(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client_ehandle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_literal_hand_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent(::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:CClientMsg_WorldUIControllerHasPanelChangedEvent) +} +CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_WorldUIControllerHasPanelChangedEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.has_panel_){} + , decltype(_impl_.client_ehandle_){} + , decltype(_impl_.literal_hand_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.has_panel_, &from._impl_.has_panel_, + static_cast(reinterpret_cast(&_impl_.literal_hand_type_) - + reinterpret_cast(&_impl_.has_panel_)) + sizeof(_impl_.literal_hand_type_)); + // @@protoc_insertion_point(copy_constructor:CClientMsg_WorldUIControllerHasPanelChangedEvent) +} + +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.has_panel_){false} + , decltype(_impl_.client_ehandle_){0u} + , decltype(_impl_.literal_hand_type_){0u} + }; +} + +CClientMsg_WorldUIControllerHasPanelChangedEvent::~CClientMsg_WorldUIControllerHasPanelChangedEvent() { + // @@protoc_insertion_point(destructor:CClientMsg_WorldUIControllerHasPanelChangedEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CClientMsg_WorldUIControllerHasPanelChangedEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_WorldUIControllerHasPanelChangedEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.has_panel_, 0, static_cast( + reinterpret_cast(&_impl_.literal_hand_type_) - + reinterpret_cast(&_impl_.has_panel_)) + sizeof(_impl_.literal_hand_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_WorldUIControllerHasPanelChangedEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool has_panel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_has_panel(&has_bits); + _impl_.has_panel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_ehandle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client_ehandle(&has_bits); + _impl_.client_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 literal_hand_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_literal_hand_type(&has_bits); + _impl_.literal_hand_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_WorldUIControllerHasPanelChangedEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool has_panel = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_has_panel(), target); + } + + // optional uint32 client_ehandle = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_ehandle(), target); + } + + // optional uint32 literal_hand_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_literal_hand_type(), 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:CClientMsg_WorldUIControllerHasPanelChangedEvent) + return target; +} + +size_t CClientMsg_WorldUIControllerHasPanelChangedEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bool has_panel = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional uint32 client_ehandle = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_ehandle()); + } + + // optional uint32 literal_hand_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_literal_hand_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_WorldUIControllerHasPanelChangedEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_WorldUIControllerHasPanelChangedEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_WorldUIControllerHasPanelChangedEvent::GetClassData() const { return &_class_data_; } + + +void CClientMsg_WorldUIControllerHasPanelChangedEvent::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:CClientMsg_WorldUIControllerHasPanelChangedEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.has_panel_ = from._impl_.has_panel_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.client_ehandle_ = from._impl_.client_ehandle_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.literal_hand_type_ = from._impl_.literal_hand_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_WorldUIControllerHasPanelChangedEvent::CopyFrom(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_WorldUIControllerHasPanelChangedEvent::IsInitialized() const { + return true; +} + +void CClientMsg_WorldUIControllerHasPanelChangedEvent::InternalSwap(CClientMsg_WorldUIControllerHasPanelChangedEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.literal_hand_type_) + + sizeof(CClientMsg_WorldUIControllerHasPanelChangedEvent::_impl_.literal_hand_type_) + - PROTOBUF_FIELD_OFFSET(CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.has_panel_)>( + reinterpret_cast(&_impl_.has_panel_), + reinterpret_cast(&other->_impl_.has_panel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_WorldUIControllerHasPanelChangedEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[4]); +} + +// =================================================================== + +class CClientMsg_RotateAnchor::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CClientMsg_RotateAnchor::CClientMsg_RotateAnchor(::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:CClientMsg_RotateAnchor) +} +CClientMsg_RotateAnchor::CClientMsg_RotateAnchor(const CClientMsg_RotateAnchor& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_RotateAnchor* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.angle_ = from._impl_.angle_; + // @@protoc_insertion_point(copy_constructor:CClientMsg_RotateAnchor) +} + +inline void CClientMsg_RotateAnchor::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){0} + }; +} + +CClientMsg_RotateAnchor::~CClientMsg_RotateAnchor() { + // @@protoc_insertion_point(destructor:CClientMsg_RotateAnchor) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_RotateAnchor::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CClientMsg_RotateAnchor::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_RotateAnchor::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_RotateAnchor) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.angle_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_RotateAnchor::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float angle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_angle(&has_bits); + _impl_.angle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_RotateAnchor::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_RotateAnchor) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float angle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_angle(), 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:CClientMsg_RotateAnchor) + return target; +} + +size_t CClientMsg_RotateAnchor::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_RotateAnchor) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float angle = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_RotateAnchor::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_RotateAnchor::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_RotateAnchor::GetClassData() const { return &_class_data_; } + + +void CClientMsg_RotateAnchor::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:CClientMsg_RotateAnchor) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_angle()) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_RotateAnchor::CopyFrom(const CClientMsg_RotateAnchor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_RotateAnchor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_RotateAnchor::IsInitialized() const { + return true; +} + +void CClientMsg_RotateAnchor::InternalSwap(CClientMsg_RotateAnchor* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.angle_, other->_impl_.angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_RotateAnchor::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[5]); +} + +// =================================================================== + +class CClientMsg_ListenForResponseFound::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound(::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:CClientMsg_ListenForResponseFound) +} +CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound(const CClientMsg_ListenForResponseFound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientMsg_ListenForResponseFound* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.player_slot_ = from._impl_.player_slot_; + // @@protoc_insertion_point(copy_constructor:CClientMsg_ListenForResponseFound) +} + +inline void CClientMsg_ListenForResponseFound::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_slot_){-1} + }; +} + +CClientMsg_ListenForResponseFound::~CClientMsg_ListenForResponseFound() { + // @@protoc_insertion_point(destructor:CClientMsg_ListenForResponseFound) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientMsg_ListenForResponseFound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CClientMsg_ListenForResponseFound::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientMsg_ListenForResponseFound::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientMsg_ListenForResponseFound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_slot_ = -1; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientMsg_ListenForResponseFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 player_slot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientMsg_ListenForResponseFound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_ListenForResponseFound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 player_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_slot(), 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:CClientMsg_ListenForResponseFound) + return target; +} + +size_t CClientMsg_ListenForResponseFound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientMsg_ListenForResponseFound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 player_slot = 1 [default = -1]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_ListenForResponseFound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientMsg_ListenForResponseFound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_ListenForResponseFound::GetClassData() const { return &_class_data_; } + + +void CClientMsg_ListenForResponseFound::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:CClientMsg_ListenForResponseFound) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_player_slot()) { + _this->_internal_set_player_slot(from._internal_player_slot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientMsg_ListenForResponseFound::CopyFrom(const CClientMsg_ListenForResponseFound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_ListenForResponseFound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientMsg_ListenForResponseFound::IsInitialized() const { + return true; +} + +void CClientMsg_ListenForResponseFound::InternalSwap(CClientMsg_ListenForResponseFound* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_ListenForResponseFound::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, + file_level_metadata_clientmessages_2eproto[6]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CClientMsg_CustomGameEvent* +Arena::CreateMaybeMessage< ::CClientMsg_CustomGameEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_CustomGameEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_CustomGameEventBounce* +Arena::CreateMaybeMessage< ::CClientMsg_CustomGameEventBounce >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_CustomGameEventBounce >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_ClientUIEvent* +Arena::CreateMaybeMessage< ::CClientMsg_ClientUIEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_ClientUIEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_DevPaletteVisibilityChangedEvent* +Arena::CreateMaybeMessage< ::CClientMsg_DevPaletteVisibilityChangedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_DevPaletteVisibilityChangedEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_WorldUIControllerHasPanelChangedEvent* +Arena::CreateMaybeMessage< ::CClientMsg_WorldUIControllerHasPanelChangedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_WorldUIControllerHasPanelChangedEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_RotateAnchor* +Arena::CreateMaybeMessage< ::CClientMsg_RotateAnchor >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_RotateAnchor >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientMsg_ListenForResponseFound* +Arena::CreateMaybeMessage< ::CClientMsg_ListenForResponseFound >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientMsg_ListenForResponseFound >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.h new file mode 100644 index 0000000..4f2a717 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/clientmessages.pb.h @@ -0,0 +1,2178 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: clientmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_clientmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_clientmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_clientmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_clientmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_clientmessages_2eproto; +class CClientMsg_ClientUIEvent; +struct CClientMsg_ClientUIEventDefaultTypeInternal; +extern CClientMsg_ClientUIEventDefaultTypeInternal _CClientMsg_ClientUIEvent_default_instance_; +class CClientMsg_CustomGameEvent; +struct CClientMsg_CustomGameEventDefaultTypeInternal; +extern CClientMsg_CustomGameEventDefaultTypeInternal _CClientMsg_CustomGameEvent_default_instance_; +class CClientMsg_CustomGameEventBounce; +struct CClientMsg_CustomGameEventBounceDefaultTypeInternal; +extern CClientMsg_CustomGameEventBounceDefaultTypeInternal _CClientMsg_CustomGameEventBounce_default_instance_; +class CClientMsg_DevPaletteVisibilityChangedEvent; +struct CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal; +extern CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal _CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_; +class CClientMsg_ListenForResponseFound; +struct CClientMsg_ListenForResponseFoundDefaultTypeInternal; +extern CClientMsg_ListenForResponseFoundDefaultTypeInternal _CClientMsg_ListenForResponseFound_default_instance_; +class CClientMsg_RotateAnchor; +struct CClientMsg_RotateAnchorDefaultTypeInternal; +extern CClientMsg_RotateAnchorDefaultTypeInternal _CClientMsg_RotateAnchor_default_instance_; +class CClientMsg_WorldUIControllerHasPanelChangedEvent; +struct CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal; +extern CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal _CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CClientMsg_ClientUIEvent* Arena::CreateMaybeMessage<::CClientMsg_ClientUIEvent>(Arena*); +template<> ::CClientMsg_CustomGameEvent* Arena::CreateMaybeMessage<::CClientMsg_CustomGameEvent>(Arena*); +template<> ::CClientMsg_CustomGameEventBounce* Arena::CreateMaybeMessage<::CClientMsg_CustomGameEventBounce>(Arena*); +template<> ::CClientMsg_DevPaletteVisibilityChangedEvent* Arena::CreateMaybeMessage<::CClientMsg_DevPaletteVisibilityChangedEvent>(Arena*); +template<> ::CClientMsg_ListenForResponseFound* Arena::CreateMaybeMessage<::CClientMsg_ListenForResponseFound>(Arena*); +template<> ::CClientMsg_RotateAnchor* Arena::CreateMaybeMessage<::CClientMsg_RotateAnchor>(Arena*); +template<> ::CClientMsg_WorldUIControllerHasPanelChangedEvent* Arena::CreateMaybeMessage<::CClientMsg_WorldUIControllerHasPanelChangedEvent>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EBaseClientMessages : int { + CM_CustomGameEvent = 280, + CM_CustomGameEventBounce = 281, + CM_ClientUIEvent = 282, + CM_DevPaletteVisibilityChanged = 283, + CM_WorldUIControllerHasPanelChanged = 284, + CM_RotateAnchor = 285, + CM_ListenForResponseFound = 286, + CM_MAX_BASE = 300 +}; +bool EBaseClientMessages_IsValid(int value); +constexpr EBaseClientMessages EBaseClientMessages_MIN = CM_CustomGameEvent; +constexpr EBaseClientMessages EBaseClientMessages_MAX = CM_MAX_BASE; +constexpr int EBaseClientMessages_ARRAYSIZE = EBaseClientMessages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseClientMessages_descriptor(); +template +inline const std::string& EBaseClientMessages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EBaseClientMessages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EBaseClientMessages_descriptor(), enum_t_value); +} +inline bool EBaseClientMessages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseClientMessages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EBaseClientMessages_descriptor(), name, value); +} +enum EClientUIEvent : int { + EClientUIEvent_Invalid = 0, + EClientUIEvent_DialogFinished = 1, + EClientUIEvent_FireOutput = 2 +}; +bool EClientUIEvent_IsValid(int value); +constexpr EClientUIEvent EClientUIEvent_MIN = EClientUIEvent_Invalid; +constexpr EClientUIEvent EClientUIEvent_MAX = EClientUIEvent_FireOutput; +constexpr int EClientUIEvent_ARRAYSIZE = EClientUIEvent_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientUIEvent_descriptor(); +template +inline const std::string& EClientUIEvent_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EClientUIEvent_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EClientUIEvent_descriptor(), enum_t_value); +} +inline bool EClientUIEvent_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EClientUIEvent* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EClientUIEvent_descriptor(), name, value); +} +// =================================================================== + +class CClientMsg_CustomGameEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_CustomGameEvent) */ { + public: + inline CClientMsg_CustomGameEvent() : CClientMsg_CustomGameEvent(nullptr) {} + ~CClientMsg_CustomGameEvent() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_CustomGameEvent(const CClientMsg_CustomGameEvent& from); + CClientMsg_CustomGameEvent(CClientMsg_CustomGameEvent&& from) noexcept + : CClientMsg_CustomGameEvent() { + *this = ::std::move(from); + } + + inline CClientMsg_CustomGameEvent& operator=(const CClientMsg_CustomGameEvent& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_CustomGameEvent& operator=(CClientMsg_CustomGameEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_CustomGameEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_CustomGameEvent* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_CustomGameEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CClientMsg_CustomGameEvent& a, CClientMsg_CustomGameEvent& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_CustomGameEvent* 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(CClientMsg_CustomGameEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_CustomGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_CustomGameEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_CustomGameEvent& from) { + CClientMsg_CustomGameEvent::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(CClientMsg_CustomGameEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_CustomGameEvent"; + } + protected: + explicit CClientMsg_CustomGameEvent(::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 { + kEventNameFieldNumber = 1, + kDataFieldNumber = 2, + }; + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_CustomGameEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_CustomGameEventBounce final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_CustomGameEventBounce) */ { + public: + inline CClientMsg_CustomGameEventBounce() : CClientMsg_CustomGameEventBounce(nullptr) {} + ~CClientMsg_CustomGameEventBounce() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounce(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_CustomGameEventBounce(const CClientMsg_CustomGameEventBounce& from); + CClientMsg_CustomGameEventBounce(CClientMsg_CustomGameEventBounce&& from) noexcept + : CClientMsg_CustomGameEventBounce() { + *this = ::std::move(from); + } + + inline CClientMsg_CustomGameEventBounce& operator=(const CClientMsg_CustomGameEventBounce& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_CustomGameEventBounce& operator=(CClientMsg_CustomGameEventBounce&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_CustomGameEventBounce& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_CustomGameEventBounce* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_CustomGameEventBounce_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CClientMsg_CustomGameEventBounce& a, CClientMsg_CustomGameEventBounce& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_CustomGameEventBounce* 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(CClientMsg_CustomGameEventBounce* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_CustomGameEventBounce* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_CustomGameEventBounce& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_CustomGameEventBounce& from) { + CClientMsg_CustomGameEventBounce::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(CClientMsg_CustomGameEventBounce* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_CustomGameEventBounce"; + } + protected: + explicit CClientMsg_CustomGameEventBounce(::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 { + kEventNameFieldNumber = 1, + kDataFieldNumber = 2, + kPlayerSlotFieldNumber = 3, + }; + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 player_slot = 3 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_CustomGameEventBounce) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_ClientUIEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_ClientUIEvent) */ { + public: + inline CClientMsg_ClientUIEvent() : CClientMsg_ClientUIEvent(nullptr) {} + ~CClientMsg_ClientUIEvent() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_ClientUIEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_ClientUIEvent(const CClientMsg_ClientUIEvent& from); + CClientMsg_ClientUIEvent(CClientMsg_ClientUIEvent&& from) noexcept + : CClientMsg_ClientUIEvent() { + *this = ::std::move(from); + } + + inline CClientMsg_ClientUIEvent& operator=(const CClientMsg_ClientUIEvent& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_ClientUIEvent& operator=(CClientMsg_ClientUIEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_ClientUIEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_ClientUIEvent* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_ClientUIEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CClientMsg_ClientUIEvent& a, CClientMsg_ClientUIEvent& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_ClientUIEvent* 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(CClientMsg_ClientUIEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_ClientUIEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_ClientUIEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_ClientUIEvent& from) { + CClientMsg_ClientUIEvent::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(CClientMsg_ClientUIEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_ClientUIEvent"; + } + protected: + explicit CClientMsg_ClientUIEvent(::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 { + kData1FieldNumber = 4, + kData2FieldNumber = 5, + kEventFieldNumber = 1, + kEntEhandleFieldNumber = 2, + kClientEhandleFieldNumber = 3, + }; + // optional string data1 = 4; + bool has_data1() const; + private: + bool _internal_has_data1() const; + public: + void clear_data1(); + const std::string& data1() const; + template + void set_data1(ArgT0&& arg0, ArgT... args); + std::string* mutable_data1(); + PROTOBUF_NODISCARD std::string* release_data1(); + void set_allocated_data1(std::string* data1); + private: + const std::string& _internal_data1() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data1(const std::string& value); + std::string* _internal_mutable_data1(); + public: + + // optional string data2 = 5; + bool has_data2() const; + private: + bool _internal_has_data2() const; + public: + void clear_data2(); + const std::string& data2() const; + template + void set_data2(ArgT0&& arg0, ArgT... args); + std::string* mutable_data2(); + PROTOBUF_NODISCARD std::string* release_data2(); + void set_allocated_data2(std::string* data2); + private: + const std::string& _internal_data2() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data2(const std::string& value); + std::string* _internal_mutable_data2(); + public: + + // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; + bool has_event() const; + private: + bool _internal_has_event() const; + public: + void clear_event(); + ::EClientUIEvent event() const; + void set_event(::EClientUIEvent value); + private: + ::EClientUIEvent _internal_event() const; + void _internal_set_event(::EClientUIEvent value); + public: + + // optional uint32 ent_ehandle = 2; + bool has_ent_ehandle() const; + private: + bool _internal_has_ent_ehandle() const; + public: + void clear_ent_ehandle(); + uint32_t ent_ehandle() const; + void set_ent_ehandle(uint32_t value); + private: + uint32_t _internal_ent_ehandle() const; + void _internal_set_ent_ehandle(uint32_t value); + public: + + // optional uint32 client_ehandle = 3; + bool has_client_ehandle() const; + private: + bool _internal_has_client_ehandle() const; + public: + void clear_client_ehandle(); + uint32_t client_ehandle() const; + void set_client_ehandle(uint32_t value); + private: + uint32_t _internal_client_ehandle() const; + void _internal_set_client_ehandle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_ClientUIEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data1_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data2_; + int event_; + uint32_t ent_ehandle_; + uint32_t client_ehandle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_DevPaletteVisibilityChangedEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_DevPaletteVisibilityChangedEvent) */ { + public: + inline CClientMsg_DevPaletteVisibilityChangedEvent() : CClientMsg_DevPaletteVisibilityChangedEvent(nullptr) {} + ~CClientMsg_DevPaletteVisibilityChangedEvent() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_DevPaletteVisibilityChangedEvent(const CClientMsg_DevPaletteVisibilityChangedEvent& from); + CClientMsg_DevPaletteVisibilityChangedEvent(CClientMsg_DevPaletteVisibilityChangedEvent&& from) noexcept + : CClientMsg_DevPaletteVisibilityChangedEvent() { + *this = ::std::move(from); + } + + inline CClientMsg_DevPaletteVisibilityChangedEvent& operator=(const CClientMsg_DevPaletteVisibilityChangedEvent& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_DevPaletteVisibilityChangedEvent& operator=(CClientMsg_DevPaletteVisibilityChangedEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_DevPaletteVisibilityChangedEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_DevPaletteVisibilityChangedEvent* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CClientMsg_DevPaletteVisibilityChangedEvent& a, CClientMsg_DevPaletteVisibilityChangedEvent& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_DevPaletteVisibilityChangedEvent* 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(CClientMsg_DevPaletteVisibilityChangedEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_DevPaletteVisibilityChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_DevPaletteVisibilityChangedEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_DevPaletteVisibilityChangedEvent& from) { + CClientMsg_DevPaletteVisibilityChangedEvent::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(CClientMsg_DevPaletteVisibilityChangedEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_DevPaletteVisibilityChangedEvent"; + } + protected: + explicit CClientMsg_DevPaletteVisibilityChangedEvent(::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 { + kVisibleFieldNumber = 1, + }; + // optional bool visible = 1; + bool has_visible() const; + private: + bool _internal_has_visible() const; + public: + void clear_visible(); + bool visible() const; + void set_visible(bool value); + private: + bool _internal_visible() const; + void _internal_set_visible(bool value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_DevPaletteVisibilityChangedEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool visible_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_WorldUIControllerHasPanelChangedEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_WorldUIControllerHasPanelChangedEvent) */ { + public: + inline CClientMsg_WorldUIControllerHasPanelChangedEvent() : CClientMsg_WorldUIControllerHasPanelChangedEvent(nullptr) {} + ~CClientMsg_WorldUIControllerHasPanelChangedEvent() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_WorldUIControllerHasPanelChangedEvent(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from); + CClientMsg_WorldUIControllerHasPanelChangedEvent(CClientMsg_WorldUIControllerHasPanelChangedEvent&& from) noexcept + : CClientMsg_WorldUIControllerHasPanelChangedEvent() { + *this = ::std::move(from); + } + + inline CClientMsg_WorldUIControllerHasPanelChangedEvent& operator=(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_WorldUIControllerHasPanelChangedEvent& operator=(CClientMsg_WorldUIControllerHasPanelChangedEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_WorldUIControllerHasPanelChangedEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_WorldUIControllerHasPanelChangedEvent* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CClientMsg_WorldUIControllerHasPanelChangedEvent& a, CClientMsg_WorldUIControllerHasPanelChangedEvent& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_WorldUIControllerHasPanelChangedEvent* 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(CClientMsg_WorldUIControllerHasPanelChangedEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_WorldUIControllerHasPanelChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { + CClientMsg_WorldUIControllerHasPanelChangedEvent::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(CClientMsg_WorldUIControllerHasPanelChangedEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_WorldUIControllerHasPanelChangedEvent"; + } + protected: + explicit CClientMsg_WorldUIControllerHasPanelChangedEvent(::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 { + kHasPanelFieldNumber = 1, + kClientEhandleFieldNumber = 2, + kLiteralHandTypeFieldNumber = 3, + }; + // optional bool has_panel = 1; + bool has_has_panel() const; + private: + bool _internal_has_has_panel() const; + public: + void clear_has_panel(); + bool has_panel() const; + void set_has_panel(bool value); + private: + bool _internal_has_panel() const; + void _internal_set_has_panel(bool value); + public: + + // optional uint32 client_ehandle = 2; + bool has_client_ehandle() const; + private: + bool _internal_has_client_ehandle() const; + public: + void clear_client_ehandle(); + uint32_t client_ehandle() const; + void set_client_ehandle(uint32_t value); + private: + uint32_t _internal_client_ehandle() const; + void _internal_set_client_ehandle(uint32_t value); + public: + + // optional uint32 literal_hand_type = 3; + bool has_literal_hand_type() const; + private: + bool _internal_has_literal_hand_type() const; + public: + void clear_literal_hand_type(); + uint32_t literal_hand_type() const; + void set_literal_hand_type(uint32_t value); + private: + uint32_t _internal_literal_hand_type() const; + void _internal_set_literal_hand_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_WorldUIControllerHasPanelChangedEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool has_panel_; + uint32_t client_ehandle_; + uint32_t literal_hand_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_RotateAnchor final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_RotateAnchor) */ { + public: + inline CClientMsg_RotateAnchor() : CClientMsg_RotateAnchor(nullptr) {} + ~CClientMsg_RotateAnchor() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_RotateAnchor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_RotateAnchor(const CClientMsg_RotateAnchor& from); + CClientMsg_RotateAnchor(CClientMsg_RotateAnchor&& from) noexcept + : CClientMsg_RotateAnchor() { + *this = ::std::move(from); + } + + inline CClientMsg_RotateAnchor& operator=(const CClientMsg_RotateAnchor& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_RotateAnchor& operator=(CClientMsg_RotateAnchor&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_RotateAnchor& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_RotateAnchor* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_RotateAnchor_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CClientMsg_RotateAnchor& a, CClientMsg_RotateAnchor& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_RotateAnchor* 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(CClientMsg_RotateAnchor* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_RotateAnchor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_RotateAnchor& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_RotateAnchor& from) { + CClientMsg_RotateAnchor::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(CClientMsg_RotateAnchor* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_RotateAnchor"; + } + protected: + explicit CClientMsg_RotateAnchor(::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 { + kAngleFieldNumber = 1, + }; + // optional float angle = 1; + bool has_angle() const; + private: + bool _internal_has_angle() const; + public: + void clear_angle(); + float angle() const; + void set_angle(float value); + private: + float _internal_angle() const; + void _internal_set_angle(float value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_RotateAnchor) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float angle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientMsg_ListenForResponseFound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_ListenForResponseFound) */ { + public: + inline CClientMsg_ListenForResponseFound() : CClientMsg_ListenForResponseFound(nullptr) {} + ~CClientMsg_ListenForResponseFound() override; + explicit PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientMsg_ListenForResponseFound(const CClientMsg_ListenForResponseFound& from); + CClientMsg_ListenForResponseFound(CClientMsg_ListenForResponseFound&& from) noexcept + : CClientMsg_ListenForResponseFound() { + *this = ::std::move(from); + } + + inline CClientMsg_ListenForResponseFound& operator=(const CClientMsg_ListenForResponseFound& from) { + CopyFrom(from); + return *this; + } + inline CClientMsg_ListenForResponseFound& operator=(CClientMsg_ListenForResponseFound&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientMsg_ListenForResponseFound& default_instance() { + return *internal_default_instance(); + } + static inline const CClientMsg_ListenForResponseFound* internal_default_instance() { + return reinterpret_cast( + &_CClientMsg_ListenForResponseFound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CClientMsg_ListenForResponseFound& a, CClientMsg_ListenForResponseFound& b) { + a.Swap(&b); + } + inline void Swap(CClientMsg_ListenForResponseFound* 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(CClientMsg_ListenForResponseFound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientMsg_ListenForResponseFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientMsg_ListenForResponseFound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientMsg_ListenForResponseFound& from) { + CClientMsg_ListenForResponseFound::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(CClientMsg_ListenForResponseFound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientMsg_ListenForResponseFound"; + } + protected: + explicit CClientMsg_ListenForResponseFound(::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 { + kPlayerSlotFieldNumber = 1, + }; + // optional int32 player_slot = 1 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CClientMsg_ListenForResponseFound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_clientmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CClientMsg_CustomGameEvent + +// optional string event_name = 1; +inline bool CClientMsg_CustomGameEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_CustomGameEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void CClientMsg_CustomGameEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CClientMsg_CustomGameEvent::event_name() const { + // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_CustomGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEvent.event_name) +} +inline std::string* CClientMsg_CustomGameEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEvent.event_name) + return _s; +} +inline const std::string& CClientMsg_CustomGameEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void CClientMsg_CustomGameEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEvent::release_event_name() { + // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_CustomGameEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEvent.event_name) +} + +// optional bytes data = 2; +inline bool CClientMsg_CustomGameEvent::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CClientMsg_CustomGameEvent::has_data() const { + return _internal_has_data(); +} +inline void CClientMsg_CustomGameEvent::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CClientMsg_CustomGameEvent::data() const { + // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEvent.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_CustomGameEvent::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEvent.data) +} +inline std::string* CClientMsg_CustomGameEvent::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEvent.data) + return _s; +} +inline const std::string& CClientMsg_CustomGameEvent::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CClientMsg_CustomGameEvent::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEvent::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEvent::release_data() { + // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEvent.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_CustomGameEvent::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEvent.data) +} + +// ------------------------------------------------------------------- + +// CClientMsg_CustomGameEventBounce + +// optional string event_name = 1; +inline bool CClientMsg_CustomGameEventBounce::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_CustomGameEventBounce::has_event_name() const { + return _internal_has_event_name(); +} +inline void CClientMsg_CustomGameEventBounce::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CClientMsg_CustomGameEventBounce::event_name() const { + // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_CustomGameEventBounce::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.event_name) +} +inline std::string* CClientMsg_CustomGameEventBounce::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEventBounce.event_name) + return _s; +} +inline const std::string& CClientMsg_CustomGameEventBounce::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void CClientMsg_CustomGameEventBounce::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEventBounce::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEventBounce::release_event_name() { + // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEventBounce.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_CustomGameEventBounce::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEventBounce.event_name) +} + +// optional bytes data = 2; +inline bool CClientMsg_CustomGameEventBounce::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CClientMsg_CustomGameEventBounce::has_data() const { + return _internal_has_data(); +} +inline void CClientMsg_CustomGameEventBounce::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CClientMsg_CustomGameEventBounce::data() const { + // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_CustomGameEventBounce::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.data) +} +inline std::string* CClientMsg_CustomGameEventBounce::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEventBounce.data) + return _s; +} +inline const std::string& CClientMsg_CustomGameEventBounce::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CClientMsg_CustomGameEventBounce::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEventBounce::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_CustomGameEventBounce::release_data() { + // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEventBounce.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_CustomGameEventBounce::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEventBounce.data) +} + +// optional int32 player_slot = 3 [default = -1]; +inline bool CClientMsg_CustomGameEventBounce::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CClientMsg_CustomGameEventBounce::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CClientMsg_CustomGameEventBounce::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CClientMsg_CustomGameEventBounce::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CClientMsg_CustomGameEventBounce::player_slot() const { + // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.player_slot) + return _internal_player_slot(); +} +inline void CClientMsg_CustomGameEventBounce::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.player_slot_ = value; +} +inline void CClientMsg_CustomGameEventBounce::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.player_slot) +} + +// ------------------------------------------------------------------- + +// CClientMsg_ClientUIEvent + +// optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; +inline bool CClientMsg_ClientUIEvent::_internal_has_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CClientMsg_ClientUIEvent::has_event() const { + return _internal_has_event(); +} +inline void CClientMsg_ClientUIEvent::clear_event() { + _impl_.event_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline ::EClientUIEvent CClientMsg_ClientUIEvent::_internal_event() const { + return static_cast< ::EClientUIEvent >(_impl_.event_); +} +inline ::EClientUIEvent CClientMsg_ClientUIEvent::event() const { + // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.event) + return _internal_event(); +} +inline void CClientMsg_ClientUIEvent::_internal_set_event(::EClientUIEvent value) { + assert(::EClientUIEvent_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.event_ = value; +} +inline void CClientMsg_ClientUIEvent::set_event(::EClientUIEvent value) { + _internal_set_event(value); + // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.event) +} + +// optional uint32 ent_ehandle = 2; +inline bool CClientMsg_ClientUIEvent::_internal_has_ent_ehandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CClientMsg_ClientUIEvent::has_ent_ehandle() const { + return _internal_has_ent_ehandle(); +} +inline void CClientMsg_ClientUIEvent::clear_ent_ehandle() { + _impl_.ent_ehandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CClientMsg_ClientUIEvent::_internal_ent_ehandle() const { + return _impl_.ent_ehandle_; +} +inline uint32_t CClientMsg_ClientUIEvent::ent_ehandle() const { + // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.ent_ehandle) + return _internal_ent_ehandle(); +} +inline void CClientMsg_ClientUIEvent::_internal_set_ent_ehandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ent_ehandle_ = value; +} +inline void CClientMsg_ClientUIEvent::set_ent_ehandle(uint32_t value) { + _internal_set_ent_ehandle(value); + // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.ent_ehandle) +} + +// optional uint32 client_ehandle = 3; +inline bool CClientMsg_ClientUIEvent::_internal_has_client_ehandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CClientMsg_ClientUIEvent::has_client_ehandle() const { + return _internal_has_client_ehandle(); +} +inline void CClientMsg_ClientUIEvent::clear_client_ehandle() { + _impl_.client_ehandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CClientMsg_ClientUIEvent::_internal_client_ehandle() const { + return _impl_.client_ehandle_; +} +inline uint32_t CClientMsg_ClientUIEvent::client_ehandle() const { + // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.client_ehandle) + return _internal_client_ehandle(); +} +inline void CClientMsg_ClientUIEvent::_internal_set_client_ehandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_ehandle_ = value; +} +inline void CClientMsg_ClientUIEvent::set_client_ehandle(uint32_t value) { + _internal_set_client_ehandle(value); + // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.client_ehandle) +} + +// optional string data1 = 4; +inline bool CClientMsg_ClientUIEvent::_internal_has_data1() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_ClientUIEvent::has_data1() const { + return _internal_has_data1(); +} +inline void CClientMsg_ClientUIEvent::clear_data1() { + _impl_.data1_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CClientMsg_ClientUIEvent::data1() const { + // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.data1) + return _internal_data1(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_ClientUIEvent::set_data1(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.data1) +} +inline std::string* CClientMsg_ClientUIEvent::mutable_data1() { + std::string* _s = _internal_mutable_data1(); + // @@protoc_insertion_point(field_mutable:CClientMsg_ClientUIEvent.data1) + return _s; +} +inline const std::string& CClientMsg_ClientUIEvent::_internal_data1() const { + return _impl_.data1_.Get(); +} +inline void CClientMsg_ClientUIEvent::_internal_set_data1(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data1_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_ClientUIEvent::_internal_mutable_data1() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data1_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_ClientUIEvent::release_data1() { + // @@protoc_insertion_point(field_release:CClientMsg_ClientUIEvent.data1) + if (!_internal_has_data1()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data1_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data1_.IsDefault()) { + _impl_.data1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_ClientUIEvent::set_allocated_data1(std::string* data1) { + if (data1 != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data1_.SetAllocated(data1, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data1_.IsDefault()) { + _impl_.data1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_ClientUIEvent.data1) +} + +// optional string data2 = 5; +inline bool CClientMsg_ClientUIEvent::_internal_has_data2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CClientMsg_ClientUIEvent::has_data2() const { + return _internal_has_data2(); +} +inline void CClientMsg_ClientUIEvent::clear_data2() { + _impl_.data2_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CClientMsg_ClientUIEvent::data2() const { + // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.data2) + return _internal_data2(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CClientMsg_ClientUIEvent::set_data2(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data2_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.data2) +} +inline std::string* CClientMsg_ClientUIEvent::mutable_data2() { + std::string* _s = _internal_mutable_data2(); + // @@protoc_insertion_point(field_mutable:CClientMsg_ClientUIEvent.data2) + return _s; +} +inline const std::string& CClientMsg_ClientUIEvent::_internal_data2() const { + return _impl_.data2_.Get(); +} +inline void CClientMsg_ClientUIEvent::_internal_set_data2(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data2_.Set(value, GetArenaForAllocation()); +} +inline std::string* CClientMsg_ClientUIEvent::_internal_mutable_data2() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.data2_.Mutable(GetArenaForAllocation()); +} +inline std::string* CClientMsg_ClientUIEvent::release_data2() { + // @@protoc_insertion_point(field_release:CClientMsg_ClientUIEvent.data2) + if (!_internal_has_data2()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.data2_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data2_.IsDefault()) { + _impl_.data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CClientMsg_ClientUIEvent::set_allocated_data2(std::string* data2) { + if (data2 != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.data2_.SetAllocated(data2, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data2_.IsDefault()) { + _impl_.data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CClientMsg_ClientUIEvent.data2) +} + +// ------------------------------------------------------------------- + +// CClientMsg_DevPaletteVisibilityChangedEvent + +// optional bool visible = 1; +inline bool CClientMsg_DevPaletteVisibilityChangedEvent::_internal_has_visible() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_DevPaletteVisibilityChangedEvent::has_visible() const { + return _internal_has_visible(); +} +inline void CClientMsg_DevPaletteVisibilityChangedEvent::clear_visible() { + _impl_.visible_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CClientMsg_DevPaletteVisibilityChangedEvent::_internal_visible() const { + return _impl_.visible_; +} +inline bool CClientMsg_DevPaletteVisibilityChangedEvent::visible() const { + // @@protoc_insertion_point(field_get:CClientMsg_DevPaletteVisibilityChangedEvent.visible) + return _internal_visible(); +} +inline void CClientMsg_DevPaletteVisibilityChangedEvent::_internal_set_visible(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.visible_ = value; +} +inline void CClientMsg_DevPaletteVisibilityChangedEvent::set_visible(bool value) { + _internal_set_visible(value); + // @@protoc_insertion_point(field_set:CClientMsg_DevPaletteVisibilityChangedEvent.visible) +} + +// ------------------------------------------------------------------- + +// CClientMsg_WorldUIControllerHasPanelChangedEvent + +// optional bool has_panel = 1; +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_has_panel() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_has_panel() const { + return _internal_has_has_panel(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_has_panel() { + _impl_.has_panel_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_panel() const { + return _impl_.has_panel_; +} +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_panel() const { + // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.has_panel) + return _internal_has_panel(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_has_panel(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.has_panel_ = value; +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_has_panel(bool value) { + _internal_set_has_panel(value); + // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.has_panel) +} + +// optional uint32 client_ehandle = 2; +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_client_ehandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_client_ehandle() const { + return _internal_has_client_ehandle(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_client_ehandle() { + _impl_.client_ehandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_client_ehandle() const { + return _impl_.client_ehandle_; +} +inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::client_ehandle() const { + // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.client_ehandle) + return _internal_client_ehandle(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_client_ehandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.client_ehandle_ = value; +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_client_ehandle(uint32_t value) { + _internal_set_client_ehandle(value); + // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.client_ehandle) +} + +// optional uint32 literal_hand_type = 3; +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_literal_hand_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_literal_hand_type() const { + return _internal_has_literal_hand_type(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_literal_hand_type() { + _impl_.literal_hand_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_literal_hand_type() const { + return _impl_.literal_hand_type_; +} +inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::literal_hand_type() const { + // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.literal_hand_type) + return _internal_literal_hand_type(); +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_literal_hand_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.literal_hand_type_ = value; +} +inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_literal_hand_type(uint32_t value) { + _internal_set_literal_hand_type(value); + // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.literal_hand_type) +} + +// ------------------------------------------------------------------- + +// CClientMsg_RotateAnchor + +// optional float angle = 1; +inline bool CClientMsg_RotateAnchor::_internal_has_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_RotateAnchor::has_angle() const { + return _internal_has_angle(); +} +inline void CClientMsg_RotateAnchor::clear_angle() { + _impl_.angle_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CClientMsg_RotateAnchor::_internal_angle() const { + return _impl_.angle_; +} +inline float CClientMsg_RotateAnchor::angle() const { + // @@protoc_insertion_point(field_get:CClientMsg_RotateAnchor.angle) + return _internal_angle(); +} +inline void CClientMsg_RotateAnchor::_internal_set_angle(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.angle_ = value; +} +inline void CClientMsg_RotateAnchor::set_angle(float value) { + _internal_set_angle(value); + // @@protoc_insertion_point(field_set:CClientMsg_RotateAnchor.angle) +} + +// ------------------------------------------------------------------- + +// CClientMsg_ListenForResponseFound + +// optional int32 player_slot = 1 [default = -1]; +inline bool CClientMsg_ListenForResponseFound::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientMsg_ListenForResponseFound::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CClientMsg_ListenForResponseFound::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CClientMsg_ListenForResponseFound::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CClientMsg_ListenForResponseFound::player_slot() const { + // @@protoc_insertion_point(field_get:CClientMsg_ListenForResponseFound.player_slot) + return _internal_player_slot(); +} +inline void CClientMsg_ListenForResponseFound::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_slot_ = value; +} +inline void CClientMsg_ListenForResponseFound::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CClientMsg_ListenForResponseFound.player_slot) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EBaseClientMessages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EBaseClientMessages>() { + return ::EBaseClientMessages_descriptor(); +} +template <> struct is_proto_enum< ::EClientUIEvent> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EClientUIEvent>() { + return ::EClientUIEvent_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_clientmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.cc new file mode 100644 index 0000000..123e4ef --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.cc @@ -0,0 +1,1266 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: connectionless_netmessages.proto + +#include "connectionless_netmessages.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; + +PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.localhost_process_id_)*/uint64_t{0u} + , /*decltype(_impl_.key_)*/uint64_t{0u}} {} +struct C2S_CONNECT_SameProcessCheckDefaultTypeInternal { + PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheckDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~C2S_CONNECT_SameProcessCheckDefaultTypeInternal() {} + union { + C2S_CONNECT_SameProcessCheck _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECT_SameProcessCheckDefaultTypeInternal _C2S_CONNECT_SameProcessCheck_default_instance_; +PROTOBUF_CONSTEXPR C2S_CONNECT_Message::C2S_CONNECT_Message( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.splitplayers_)*/{} + , /*decltype(_impl_.encrypted_password_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.auth_steam_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.challenge_context_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.localhost_same_process_check_)*/nullptr + , /*decltype(_impl_.host_version_)*/0u + , /*decltype(_impl_.auth_protocol_)*/0u + , /*decltype(_impl_.reservation_cookie_)*/uint64_t{0u} + , /*decltype(_impl_.challenge_number_)*/0u + , /*decltype(_impl_.low_violence_)*/false} {} +struct C2S_CONNECT_MessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR C2S_CONNECT_MessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~C2S_CONNECT_MessageDefaultTypeInternal() {} + union { + C2S_CONNECT_Message _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECT_MessageDefaultTypeInternal _C2S_CONNECT_Message_default_instance_; +PROTOBUF_CONSTEXPR C2S_CONNECTION_Message::C2S_CONNECTION_Message( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.addon_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.localhost_same_process_check_)*/nullptr} {} +struct C2S_CONNECTION_MessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR C2S_CONNECTION_MessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~C2S_CONNECTION_MessageDefaultTypeInternal() {} + union { + C2S_CONNECTION_Message _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECTION_MessageDefaultTypeInternal _C2S_CONNECTION_Message_default_instance_; +static ::_pb::Metadata file_level_metadata_connectionless_5fnetmessages_2eproto[3]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_connectionless_5fnetmessages_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_connectionless_5fnetmessages_2eproto = nullptr; + +const uint32_t TableStruct_connectionless_5fnetmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_.localhost_process_id_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_.key_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.host_version_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.auth_protocol_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.challenge_number_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.reservation_cookie_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.low_violence_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.encrypted_password_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.splitplayers_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.auth_steam_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.challenge_context_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.localhost_same_process_check_), + 4, + 5, + 7, + 6, + 8, + 0, + ~0u, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_.addon_name_), + PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_.localhost_same_process_check_), + 0, + 1, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::C2S_CONNECT_SameProcessCheck)}, + { 10, 26, -1, sizeof(::C2S_CONNECT_Message)}, + { 36, 44, -1, sizeof(::C2S_CONNECTION_Message)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_C2S_CONNECT_SameProcessCheck_default_instance_._instance, + &::_C2S_CONNECT_Message_default_instance_._instance, + &::_C2S_CONNECTION_Message_default_instance_._instance, +}; + +const char descriptor_table_protodef_connectionless_5fnetmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n connectionless_netmessages.proto\032\021netm" + "essages.proto\"I\n\034C2S_CONNECT_SameProcess" + "Check\022\034\n\024localhost_process_id\030\001 \001(\004\022\013\n\003k" + "ey\030\002 \001(\004\"\321\002\n\023C2S_CONNECT_Message\022\024\n\014host" + "_version\030\001 \001(\r\022\025\n\rauth_protocol\030\002 \001(\r\022\030\n" + "\020challenge_number\030\003 \001(\r\022\032\n\022reservation_c" + "ookie\030\004 \001(\006\022\024\n\014low_violence\030\005 \001(\010\022\032\n\022enc" + "rypted_password\030\006 \001(\014\0221\n\014splitplayers\030\007 " + "\003(\0132\033.CCLCMsg_SplitPlayerConnect\022\022\n\nauth" + "_steam\030\010 \001(\014\022\031\n\021challenge_context\030\t \001(\t\022" + "C\n\034localhost_same_process_check\030\n \001(\0132\035." + "C2S_CONNECT_SameProcessCheck\"q\n\026C2S_CONN" + "ECTION_Message\022\022\n\naddon_name\030\001 \001(\t\022C\n\034lo" + "calhost_same_process_check\030\002 \001(\0132\035.C2S_C" + "ONNECT_SameProcessCheck" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_connectionless_5fnetmessages_2eproto_deps[1] = { + &::descriptor_table_netmessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_connectionless_5fnetmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_connectionless_5fnetmessages_2eproto = { + false, false, 583, descriptor_table_protodef_connectionless_5fnetmessages_2eproto, + "connectionless_netmessages.proto", + &descriptor_table_connectionless_5fnetmessages_2eproto_once, descriptor_table_connectionless_5fnetmessages_2eproto_deps, 1, 3, + schemas, file_default_instances, TableStruct_connectionless_5fnetmessages_2eproto::offsets, + file_level_metadata_connectionless_5fnetmessages_2eproto, file_level_enum_descriptors_connectionless_5fnetmessages_2eproto, + file_level_service_descriptors_connectionless_5fnetmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_connectionless_5fnetmessages_2eproto_getter() { + return &descriptor_table_connectionless_5fnetmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_connectionless_5fnetmessages_2eproto(&descriptor_table_connectionless_5fnetmessages_2eproto); + +// =================================================================== + +class C2S_CONNECT_SameProcessCheck::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_localhost_process_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_key(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck(::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:C2S_CONNECT_SameProcessCheck) +} +C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck(const C2S_CONNECT_SameProcessCheck& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + C2S_CONNECT_SameProcessCheck* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.localhost_process_id_){} + , decltype(_impl_.key_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.localhost_process_id_, &from._impl_.localhost_process_id_, + static_cast(reinterpret_cast(&_impl_.key_) - + reinterpret_cast(&_impl_.localhost_process_id_)) + sizeof(_impl_.key_)); + // @@protoc_insertion_point(copy_constructor:C2S_CONNECT_SameProcessCheck) +} + +inline void C2S_CONNECT_SameProcessCheck::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.localhost_process_id_){uint64_t{0u}} + , decltype(_impl_.key_){uint64_t{0u}} + }; +} + +C2S_CONNECT_SameProcessCheck::~C2S_CONNECT_SameProcessCheck() { + // @@protoc_insertion_point(destructor:C2S_CONNECT_SameProcessCheck) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void C2S_CONNECT_SameProcessCheck::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void C2S_CONNECT_SameProcessCheck::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void C2S_CONNECT_SameProcessCheck::Clear() { +// @@protoc_insertion_point(message_clear_start:C2S_CONNECT_SameProcessCheck) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.localhost_process_id_, 0, static_cast( + reinterpret_cast(&_impl_.key_) - + reinterpret_cast(&_impl_.localhost_process_id_)) + sizeof(_impl_.key_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* C2S_CONNECT_SameProcessCheck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 localhost_process_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_localhost_process_id(&has_bits); + _impl_.localhost_process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 key = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_key(&has_bits); + _impl_.key_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* C2S_CONNECT_SameProcessCheck::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECT_SameProcessCheck) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 localhost_process_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_localhost_process_id(), target); + } + + // optional uint64 key = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key(), 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:C2S_CONNECT_SameProcessCheck) + return target; +} + +size_t C2S_CONNECT_SameProcessCheck::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECT_SameProcessCheck) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 localhost_process_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_localhost_process_id()); + } + + // optional uint64 key = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_key()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECT_SameProcessCheck::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + C2S_CONNECT_SameProcessCheck::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECT_SameProcessCheck::GetClassData() const { return &_class_data_; } + + +void C2S_CONNECT_SameProcessCheck::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:C2S_CONNECT_SameProcessCheck) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.localhost_process_id_ = from._impl_.localhost_process_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.key_ = from._impl_.key_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void C2S_CONNECT_SameProcessCheck::CopyFrom(const C2S_CONNECT_SameProcessCheck& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECT_SameProcessCheck) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool C2S_CONNECT_SameProcessCheck::IsInitialized() const { + return true; +} + +void C2S_CONNECT_SameProcessCheck::InternalSwap(C2S_CONNECT_SameProcessCheck* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(C2S_CONNECT_SameProcessCheck, _impl_.key_) + + sizeof(C2S_CONNECT_SameProcessCheck::_impl_.key_) + - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_SameProcessCheck, _impl_.localhost_process_id_)>( + reinterpret_cast(&_impl_.localhost_process_id_), + reinterpret_cast(&other->_impl_.localhost_process_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECT_SameProcessCheck::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, + file_level_metadata_connectionless_5fnetmessages_2eproto[0]); +} + +// =================================================================== + +class C2S_CONNECT_Message::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_host_version(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_auth_protocol(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_challenge_number(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_reservation_cookie(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_low_violence(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_encrypted_password(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_auth_steam(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_challenge_context(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check(const C2S_CONNECT_Message* msg); + static void set_has_localhost_same_process_check(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::C2S_CONNECT_SameProcessCheck& +C2S_CONNECT_Message::_Internal::localhost_same_process_check(const C2S_CONNECT_Message* msg) { + return *msg->_impl_.localhost_same_process_check_; +} +void C2S_CONNECT_Message::clear_splitplayers() { + _impl_.splitplayers_.Clear(); +} +C2S_CONNECT_Message::C2S_CONNECT_Message(::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:C2S_CONNECT_Message) +} +C2S_CONNECT_Message::C2S_CONNECT_Message(const C2S_CONNECT_Message& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + C2S_CONNECT_Message* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.splitplayers_){from._impl_.splitplayers_} + , decltype(_impl_.encrypted_password_){} + , decltype(_impl_.auth_steam_){} + , decltype(_impl_.challenge_context_){} + , decltype(_impl_.localhost_same_process_check_){nullptr} + , decltype(_impl_.host_version_){} + , decltype(_impl_.auth_protocol_){} + , decltype(_impl_.reservation_cookie_){} + , decltype(_impl_.challenge_number_){} + , decltype(_impl_.low_violence_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.encrypted_password_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_password_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_encrypted_password()) { + _this->_impl_.encrypted_password_.Set(from._internal_encrypted_password(), + _this->GetArenaForAllocation()); + } + _impl_.auth_steam_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.auth_steam_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_auth_steam()) { + _this->_impl_.auth_steam_.Set(from._internal_auth_steam(), + _this->GetArenaForAllocation()); + } + _impl_.challenge_context_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.challenge_context_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_challenge_context()) { + _this->_impl_.challenge_context_.Set(from._internal_challenge_context(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_localhost_same_process_check()) { + _this->_impl_.localhost_same_process_check_ = new ::C2S_CONNECT_SameProcessCheck(*from._impl_.localhost_same_process_check_); + } + ::memcpy(&_impl_.host_version_, &from._impl_.host_version_, + static_cast(reinterpret_cast(&_impl_.low_violence_) - + reinterpret_cast(&_impl_.host_version_)) + sizeof(_impl_.low_violence_)); + // @@protoc_insertion_point(copy_constructor:C2S_CONNECT_Message) +} + +inline void C2S_CONNECT_Message::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.splitplayers_){arena} + , decltype(_impl_.encrypted_password_){} + , decltype(_impl_.auth_steam_){} + , decltype(_impl_.challenge_context_){} + , decltype(_impl_.localhost_same_process_check_){nullptr} + , decltype(_impl_.host_version_){0u} + , decltype(_impl_.auth_protocol_){0u} + , decltype(_impl_.reservation_cookie_){uint64_t{0u}} + , decltype(_impl_.challenge_number_){0u} + , decltype(_impl_.low_violence_){false} + }; + _impl_.encrypted_password_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_password_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.auth_steam_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.auth_steam_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.challenge_context_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.challenge_context_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +C2S_CONNECT_Message::~C2S_CONNECT_Message() { + // @@protoc_insertion_point(destructor:C2S_CONNECT_Message) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void C2S_CONNECT_Message::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.splitplayers_.~RepeatedPtrField(); + _impl_.encrypted_password_.Destroy(); + _impl_.auth_steam_.Destroy(); + _impl_.challenge_context_.Destroy(); + if (this != internal_default_instance()) delete _impl_.localhost_same_process_check_; +} + +void C2S_CONNECT_Message::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void C2S_CONNECT_Message::Clear() { +// @@protoc_insertion_point(message_clear_start:C2S_CONNECT_Message) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.splitplayers_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.encrypted_password_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.auth_steam_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.challenge_context_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.localhost_same_process_check_ != nullptr); + _impl_.localhost_same_process_check_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.host_version_, 0, static_cast( + reinterpret_cast(&_impl_.challenge_number_) - + reinterpret_cast(&_impl_.host_version_)) + sizeof(_impl_.challenge_number_)); + } + _impl_.low_violence_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* C2S_CONNECT_Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 host_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_host_version(&has_bits); + _impl_.host_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 auth_protocol = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_auth_protocol(&has_bits); + _impl_.auth_protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 challenge_number = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_challenge_number(&has_bits); + _impl_.challenge_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 reservation_cookie = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_reservation_cookie(&has_bits); + _impl_.reservation_cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool low_violence = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_low_violence(&has_bits); + _impl_.low_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes encrypted_password = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_encrypted_password(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_splitplayers(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); + } else + goto handle_unusual; + continue; + // optional bytes auth_steam = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_auth_steam(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string challenge_context = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_challenge_context(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "C2S_CONNECT_Message.challenge_context"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_localhost_same_process_check(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* C2S_CONNECT_Message::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECT_Message) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 host_version = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_host_version(), target); + } + + // optional uint32 auth_protocol = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_auth_protocol(), target); + } + + // optional uint32 challenge_number = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_challenge_number(), target); + } + + // optional fixed64 reservation_cookie = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_reservation_cookie(), target); + } + + // optional bool low_violence = 5; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_low_violence(), target); + } + + // optional bytes encrypted_password = 6; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_encrypted_password(), target); + } + + // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; + for (unsigned i = 0, + n = static_cast(this->_internal_splitplayers_size()); i < n; i++) { + const auto& repfield = this->_internal_splitplayers(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bytes auth_steam = 8; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_auth_steam(), target); + } + + // optional string challenge_context = 9; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_challenge_context().data(), static_cast(this->_internal_challenge_context().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "C2S_CONNECT_Message.challenge_context"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_challenge_context(), target); + } + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::localhost_same_process_check(this), + _Internal::localhost_same_process_check(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:C2S_CONNECT_Message) + return target; +} + +size_t C2S_CONNECT_Message::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECT_Message) + 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 .CCLCMsg_SplitPlayerConnect splitplayers = 7; + total_size += 1UL * this->_internal_splitplayers_size(); + for (const auto& msg : this->_impl_.splitplayers_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes encrypted_password = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_encrypted_password()); + } + + // optional bytes auth_steam = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_auth_steam()); + } + + // optional string challenge_context = 9; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_challenge_context()); + } + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.localhost_same_process_check_); + } + + // optional uint32 host_version = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_version()); + } + + // optional uint32 auth_protocol = 2; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_auth_protocol()); + } + + // optional fixed64 reservation_cookie = 4; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 8; + } + + // optional uint32 challenge_number = 3; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_challenge_number()); + } + + } + // optional bool low_violence = 5; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECT_Message::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + C2S_CONNECT_Message::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECT_Message::GetClassData() const { return &_class_data_; } + + +void C2S_CONNECT_Message::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:C2S_CONNECT_Message) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.splitplayers_.MergeFrom(from._impl_.splitplayers_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_encrypted_password(from._internal_encrypted_password()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_auth_steam(from._internal_auth_steam()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_challenge_context(from._internal_challenge_context()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_localhost_same_process_check()->::C2S_CONNECT_SameProcessCheck::MergeFrom( + from._internal_localhost_same_process_check()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.host_version_ = from._impl_.host_version_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.auth_protocol_ = from._impl_.auth_protocol_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.reservation_cookie_ = from._impl_.reservation_cookie_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.challenge_number_ = from._impl_.challenge_number_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_low_violence(from._internal_low_violence()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void C2S_CONNECT_Message::CopyFrom(const C2S_CONNECT_Message& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECT_Message) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool C2S_CONNECT_Message::IsInitialized() const { + return true; +} + +void C2S_CONNECT_Message::InternalSwap(C2S_CONNECT_Message* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.splitplayers_.InternalSwap(&other->_impl_.splitplayers_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.encrypted_password_, lhs_arena, + &other->_impl_.encrypted_password_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.auth_steam_, lhs_arena, + &other->_impl_.auth_steam_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.challenge_context_, lhs_arena, + &other->_impl_.challenge_context_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(C2S_CONNECT_Message, _impl_.low_violence_) + + sizeof(C2S_CONNECT_Message::_impl_.low_violence_) + - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_Message, _impl_.localhost_same_process_check_)>( + reinterpret_cast(&_impl_.localhost_same_process_check_), + reinterpret_cast(&other->_impl_.localhost_same_process_check_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECT_Message::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, + file_level_metadata_connectionless_5fnetmessages_2eproto[1]); +} + +// =================================================================== + +class C2S_CONNECTION_Message::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_addon_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check(const C2S_CONNECTION_Message* msg); + static void set_has_localhost_same_process_check(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::C2S_CONNECT_SameProcessCheck& +C2S_CONNECTION_Message::_Internal::localhost_same_process_check(const C2S_CONNECTION_Message* msg) { + return *msg->_impl_.localhost_same_process_check_; +} +C2S_CONNECTION_Message::C2S_CONNECTION_Message(::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:C2S_CONNECTION_Message) +} +C2S_CONNECTION_Message::C2S_CONNECTION_Message(const C2S_CONNECTION_Message& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + C2S_CONNECTION_Message* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.addon_name_){} + , decltype(_impl_.localhost_same_process_check_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.addon_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addon_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_addon_name()) { + _this->_impl_.addon_name_.Set(from._internal_addon_name(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_localhost_same_process_check()) { + _this->_impl_.localhost_same_process_check_ = new ::C2S_CONNECT_SameProcessCheck(*from._impl_.localhost_same_process_check_); + } + // @@protoc_insertion_point(copy_constructor:C2S_CONNECTION_Message) +} + +inline void C2S_CONNECTION_Message::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.addon_name_){} + , decltype(_impl_.localhost_same_process_check_){nullptr} + }; + _impl_.addon_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addon_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +C2S_CONNECTION_Message::~C2S_CONNECTION_Message() { + // @@protoc_insertion_point(destructor:C2S_CONNECTION_Message) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void C2S_CONNECTION_Message::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.addon_name_.Destroy(); + if (this != internal_default_instance()) delete _impl_.localhost_same_process_check_; +} + +void C2S_CONNECTION_Message::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void C2S_CONNECTION_Message::Clear() { +// @@protoc_insertion_point(message_clear_start:C2S_CONNECTION_Message) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.addon_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.localhost_same_process_check_ != nullptr); + _impl_.localhost_same_process_check_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* C2S_CONNECTION_Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string addon_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_addon_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "C2S_CONNECTION_Message.addon_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_localhost_same_process_check(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* C2S_CONNECTION_Message::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECTION_Message) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string addon_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_addon_name().data(), static_cast(this->_internal_addon_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "C2S_CONNECTION_Message.addon_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_addon_name(), target); + } + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::localhost_same_process_check(this), + _Internal::localhost_same_process_check(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:C2S_CONNECTION_Message) + return target; +} + +size_t C2S_CONNECTION_Message::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECTION_Message) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string addon_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_addon_name()); + } + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.localhost_same_process_check_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECTION_Message::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + C2S_CONNECTION_Message::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECTION_Message::GetClassData() const { return &_class_data_; } + + +void C2S_CONNECTION_Message::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:C2S_CONNECTION_Message) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_addon_name(from._internal_addon_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_localhost_same_process_check()->::C2S_CONNECT_SameProcessCheck::MergeFrom( + from._internal_localhost_same_process_check()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void C2S_CONNECTION_Message::CopyFrom(const C2S_CONNECTION_Message& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECTION_Message) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool C2S_CONNECTION_Message::IsInitialized() const { + return true; +} + +void C2S_CONNECTION_Message::InternalSwap(C2S_CONNECTION_Message* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.addon_name_, lhs_arena, + &other->_impl_.addon_name_, rhs_arena + ); + swap(_impl_.localhost_same_process_check_, other->_impl_.localhost_same_process_check_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECTION_Message::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, + file_level_metadata_connectionless_5fnetmessages_2eproto[2]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::C2S_CONNECT_SameProcessCheck* +Arena::CreateMaybeMessage< ::C2S_CONNECT_SameProcessCheck >(Arena* arena) { + return Arena::CreateMessageInternal< ::C2S_CONNECT_SameProcessCheck >(arena); +} +template<> PROTOBUF_NOINLINE ::C2S_CONNECT_Message* +Arena::CreateMaybeMessage< ::C2S_CONNECT_Message >(Arena* arena) { + return Arena::CreateMessageInternal< ::C2S_CONNECT_Message >(arena); +} +template<> PROTOBUF_NOINLINE ::C2S_CONNECTION_Message* +Arena::CreateMaybeMessage< ::C2S_CONNECTION_Message >(Arena* arena) { + return Arena::CreateMessageInternal< ::C2S_CONNECTION_Message >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.h new file mode 100644 index 0000000..5555d22 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/connectionless_netmessages.pb.h @@ -0,0 +1,1461 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: connectionless_netmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "netmessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_connectionless_5fnetmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_connectionless_5fnetmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_connectionless_5fnetmessages_2eproto; +class C2S_CONNECTION_Message; +struct C2S_CONNECTION_MessageDefaultTypeInternal; +extern C2S_CONNECTION_MessageDefaultTypeInternal _C2S_CONNECTION_Message_default_instance_; +class C2S_CONNECT_Message; +struct C2S_CONNECT_MessageDefaultTypeInternal; +extern C2S_CONNECT_MessageDefaultTypeInternal _C2S_CONNECT_Message_default_instance_; +class C2S_CONNECT_SameProcessCheck; +struct C2S_CONNECT_SameProcessCheckDefaultTypeInternal; +extern C2S_CONNECT_SameProcessCheckDefaultTypeInternal _C2S_CONNECT_SameProcessCheck_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::C2S_CONNECTION_Message* Arena::CreateMaybeMessage<::C2S_CONNECTION_Message>(Arena*); +template<> ::C2S_CONNECT_Message* Arena::CreateMaybeMessage<::C2S_CONNECT_Message>(Arena*); +template<> ::C2S_CONNECT_SameProcessCheck* Arena::CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class C2S_CONNECT_SameProcessCheck final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECT_SameProcessCheck) */ { + public: + inline C2S_CONNECT_SameProcessCheck() : C2S_CONNECT_SameProcessCheck(nullptr) {} + ~C2S_CONNECT_SameProcessCheck() override; + explicit PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + C2S_CONNECT_SameProcessCheck(const C2S_CONNECT_SameProcessCheck& from); + C2S_CONNECT_SameProcessCheck(C2S_CONNECT_SameProcessCheck&& from) noexcept + : C2S_CONNECT_SameProcessCheck() { + *this = ::std::move(from); + } + + inline C2S_CONNECT_SameProcessCheck& operator=(const C2S_CONNECT_SameProcessCheck& from) { + CopyFrom(from); + return *this; + } + inline C2S_CONNECT_SameProcessCheck& operator=(C2S_CONNECT_SameProcessCheck&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 C2S_CONNECT_SameProcessCheck& default_instance() { + return *internal_default_instance(); + } + static inline const C2S_CONNECT_SameProcessCheck* internal_default_instance() { + return reinterpret_cast( + &_C2S_CONNECT_SameProcessCheck_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(C2S_CONNECT_SameProcessCheck& a, C2S_CONNECT_SameProcessCheck& b) { + a.Swap(&b); + } + inline void Swap(C2S_CONNECT_SameProcessCheck* 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(C2S_CONNECT_SameProcessCheck* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + C2S_CONNECT_SameProcessCheck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const C2S_CONNECT_SameProcessCheck& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const C2S_CONNECT_SameProcessCheck& from) { + C2S_CONNECT_SameProcessCheck::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(C2S_CONNECT_SameProcessCheck* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "C2S_CONNECT_SameProcessCheck"; + } + protected: + explicit C2S_CONNECT_SameProcessCheck(::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 { + kLocalhostProcessIdFieldNumber = 1, + kKeyFieldNumber = 2, + }; + // optional uint64 localhost_process_id = 1; + bool has_localhost_process_id() const; + private: + bool _internal_has_localhost_process_id() const; + public: + void clear_localhost_process_id(); + uint64_t localhost_process_id() const; + void set_localhost_process_id(uint64_t value); + private: + uint64_t _internal_localhost_process_id() const; + void _internal_set_localhost_process_id(uint64_t value); + public: + + // optional uint64 key = 2; + bool has_key() const; + private: + bool _internal_has_key() const; + public: + void clear_key(); + uint64_t key() const; + void set_key(uint64_t value); + private: + uint64_t _internal_key() const; + void _internal_set_key(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:C2S_CONNECT_SameProcessCheck) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t localhost_process_id_; + uint64_t key_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class C2S_CONNECT_Message final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECT_Message) */ { + public: + inline C2S_CONNECT_Message() : C2S_CONNECT_Message(nullptr) {} + ~C2S_CONNECT_Message() override; + explicit PROTOBUF_CONSTEXPR C2S_CONNECT_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + C2S_CONNECT_Message(const C2S_CONNECT_Message& from); + C2S_CONNECT_Message(C2S_CONNECT_Message&& from) noexcept + : C2S_CONNECT_Message() { + *this = ::std::move(from); + } + + inline C2S_CONNECT_Message& operator=(const C2S_CONNECT_Message& from) { + CopyFrom(from); + return *this; + } + inline C2S_CONNECT_Message& operator=(C2S_CONNECT_Message&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 C2S_CONNECT_Message& default_instance() { + return *internal_default_instance(); + } + static inline const C2S_CONNECT_Message* internal_default_instance() { + return reinterpret_cast( + &_C2S_CONNECT_Message_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(C2S_CONNECT_Message& a, C2S_CONNECT_Message& b) { + a.Swap(&b); + } + inline void Swap(C2S_CONNECT_Message* 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(C2S_CONNECT_Message* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + C2S_CONNECT_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const C2S_CONNECT_Message& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const C2S_CONNECT_Message& from) { + C2S_CONNECT_Message::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(C2S_CONNECT_Message* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "C2S_CONNECT_Message"; + } + protected: + explicit C2S_CONNECT_Message(::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 { + kSplitplayersFieldNumber = 7, + kEncryptedPasswordFieldNumber = 6, + kAuthSteamFieldNumber = 8, + kChallengeContextFieldNumber = 9, + kLocalhostSameProcessCheckFieldNumber = 10, + kHostVersionFieldNumber = 1, + kAuthProtocolFieldNumber = 2, + kReservationCookieFieldNumber = 4, + kChallengeNumberFieldNumber = 3, + kLowViolenceFieldNumber = 5, + }; + // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; + int splitplayers_size() const; + private: + int _internal_splitplayers_size() const; + public: + void clear_splitplayers(); + ::CCLCMsg_SplitPlayerConnect* mutable_splitplayers(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >* + mutable_splitplayers(); + private: + const ::CCLCMsg_SplitPlayerConnect& _internal_splitplayers(int index) const; + ::CCLCMsg_SplitPlayerConnect* _internal_add_splitplayers(); + public: + const ::CCLCMsg_SplitPlayerConnect& splitplayers(int index) const; + ::CCLCMsg_SplitPlayerConnect* add_splitplayers(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >& + splitplayers() const; + + // optional bytes encrypted_password = 6; + bool has_encrypted_password() const; + private: + bool _internal_has_encrypted_password() const; + public: + void clear_encrypted_password(); + const std::string& encrypted_password() const; + template + void set_encrypted_password(ArgT0&& arg0, ArgT... args); + std::string* mutable_encrypted_password(); + PROTOBUF_NODISCARD std::string* release_encrypted_password(); + void set_allocated_encrypted_password(std::string* encrypted_password); + private: + const std::string& _internal_encrypted_password() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_password(const std::string& value); + std::string* _internal_mutable_encrypted_password(); + public: + + // optional bytes auth_steam = 8; + bool has_auth_steam() const; + private: + bool _internal_has_auth_steam() const; + public: + void clear_auth_steam(); + const std::string& auth_steam() const; + template + void set_auth_steam(ArgT0&& arg0, ArgT... args); + std::string* mutable_auth_steam(); + PROTOBUF_NODISCARD std::string* release_auth_steam(); + void set_allocated_auth_steam(std::string* auth_steam); + private: + const std::string& _internal_auth_steam() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_steam(const std::string& value); + std::string* _internal_mutable_auth_steam(); + public: + + // optional string challenge_context = 9; + bool has_challenge_context() const; + private: + bool _internal_has_challenge_context() const; + public: + void clear_challenge_context(); + const std::string& challenge_context() const; + template + void set_challenge_context(ArgT0&& arg0, ArgT... args); + std::string* mutable_challenge_context(); + PROTOBUF_NODISCARD std::string* release_challenge_context(); + void set_allocated_challenge_context(std::string* challenge_context); + private: + const std::string& _internal_challenge_context() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_challenge_context(const std::string& value); + std::string* _internal_mutable_challenge_context(); + public: + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; + bool has_localhost_same_process_check() const; + private: + bool _internal_has_localhost_same_process_check() const; + public: + void clear_localhost_same_process_check(); + const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check() const; + PROTOBUF_NODISCARD ::C2S_CONNECT_SameProcessCheck* release_localhost_same_process_check(); + ::C2S_CONNECT_SameProcessCheck* mutable_localhost_same_process_check(); + void set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); + private: + const ::C2S_CONNECT_SameProcessCheck& _internal_localhost_same_process_check() const; + ::C2S_CONNECT_SameProcessCheck* _internal_mutable_localhost_same_process_check(); + public: + void unsafe_arena_set_allocated_localhost_same_process_check( + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); + ::C2S_CONNECT_SameProcessCheck* unsafe_arena_release_localhost_same_process_check(); + + // optional uint32 host_version = 1; + bool has_host_version() const; + private: + bool _internal_has_host_version() const; + public: + void clear_host_version(); + uint32_t host_version() const; + void set_host_version(uint32_t value); + private: + uint32_t _internal_host_version() const; + void _internal_set_host_version(uint32_t value); + public: + + // optional uint32 auth_protocol = 2; + bool has_auth_protocol() const; + private: + bool _internal_has_auth_protocol() const; + public: + void clear_auth_protocol(); + uint32_t auth_protocol() const; + void set_auth_protocol(uint32_t value); + private: + uint32_t _internal_auth_protocol() const; + void _internal_set_auth_protocol(uint32_t value); + public: + + // optional fixed64 reservation_cookie = 4; + bool has_reservation_cookie() const; + private: + bool _internal_has_reservation_cookie() const; + public: + void clear_reservation_cookie(); + uint64_t reservation_cookie() const; + void set_reservation_cookie(uint64_t value); + private: + uint64_t _internal_reservation_cookie() const; + void _internal_set_reservation_cookie(uint64_t value); + public: + + // optional uint32 challenge_number = 3; + bool has_challenge_number() const; + private: + bool _internal_has_challenge_number() const; + public: + void clear_challenge_number(); + uint32_t challenge_number() const; + void set_challenge_number(uint32_t value); + private: + uint32_t _internal_challenge_number() const; + void _internal_set_challenge_number(uint32_t value); + public: + + // optional bool low_violence = 5; + bool has_low_violence() const; + private: + bool _internal_has_low_violence() const; + public: + void clear_low_violence(); + bool low_violence() const; + void set_low_violence(bool value); + private: + bool _internal_low_violence() const; + void _internal_set_low_violence(bool value); + public: + + // @@protoc_insertion_point(class_scope:C2S_CONNECT_Message) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect > splitplayers_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_password_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr auth_steam_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr challenge_context_; + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check_; + uint32_t host_version_; + uint32_t auth_protocol_; + uint64_t reservation_cookie_; + uint32_t challenge_number_; + bool low_violence_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class C2S_CONNECTION_Message final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECTION_Message) */ { + public: + inline C2S_CONNECTION_Message() : C2S_CONNECTION_Message(nullptr) {} + ~C2S_CONNECTION_Message() override; + explicit PROTOBUF_CONSTEXPR C2S_CONNECTION_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + C2S_CONNECTION_Message(const C2S_CONNECTION_Message& from); + C2S_CONNECTION_Message(C2S_CONNECTION_Message&& from) noexcept + : C2S_CONNECTION_Message() { + *this = ::std::move(from); + } + + inline C2S_CONNECTION_Message& operator=(const C2S_CONNECTION_Message& from) { + CopyFrom(from); + return *this; + } + inline C2S_CONNECTION_Message& operator=(C2S_CONNECTION_Message&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 C2S_CONNECTION_Message& default_instance() { + return *internal_default_instance(); + } + static inline const C2S_CONNECTION_Message* internal_default_instance() { + return reinterpret_cast( + &_C2S_CONNECTION_Message_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(C2S_CONNECTION_Message& a, C2S_CONNECTION_Message& b) { + a.Swap(&b); + } + inline void Swap(C2S_CONNECTION_Message* 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(C2S_CONNECTION_Message* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + C2S_CONNECTION_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const C2S_CONNECTION_Message& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const C2S_CONNECTION_Message& from) { + C2S_CONNECTION_Message::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(C2S_CONNECTION_Message* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "C2S_CONNECTION_Message"; + } + protected: + explicit C2S_CONNECTION_Message(::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 { + kAddonNameFieldNumber = 1, + kLocalhostSameProcessCheckFieldNumber = 2, + }; + // optional string addon_name = 1; + bool has_addon_name() const; + private: + bool _internal_has_addon_name() const; + public: + void clear_addon_name(); + const std::string& addon_name() const; + template + void set_addon_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_addon_name(); + PROTOBUF_NODISCARD std::string* release_addon_name(); + void set_allocated_addon_name(std::string* addon_name); + private: + const std::string& _internal_addon_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_addon_name(const std::string& value); + std::string* _internal_mutable_addon_name(); + public: + + // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; + bool has_localhost_same_process_check() const; + private: + bool _internal_has_localhost_same_process_check() const; + public: + void clear_localhost_same_process_check(); + const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check() const; + PROTOBUF_NODISCARD ::C2S_CONNECT_SameProcessCheck* release_localhost_same_process_check(); + ::C2S_CONNECT_SameProcessCheck* mutable_localhost_same_process_check(); + void set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); + private: + const ::C2S_CONNECT_SameProcessCheck& _internal_localhost_same_process_check() const; + ::C2S_CONNECT_SameProcessCheck* _internal_mutable_localhost_same_process_check(); + public: + void unsafe_arena_set_allocated_localhost_same_process_check( + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); + ::C2S_CONNECT_SameProcessCheck* unsafe_arena_release_localhost_same_process_check(); + + // @@protoc_insertion_point(class_scope:C2S_CONNECTION_Message) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addon_name_; + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// C2S_CONNECT_SameProcessCheck + +// optional uint64 localhost_process_id = 1; +inline bool C2S_CONNECT_SameProcessCheck::_internal_has_localhost_process_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool C2S_CONNECT_SameProcessCheck::has_localhost_process_id() const { + return _internal_has_localhost_process_id(); +} +inline void C2S_CONNECT_SameProcessCheck::clear_localhost_process_id() { + _impl_.localhost_process_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t C2S_CONNECT_SameProcessCheck::_internal_localhost_process_id() const { + return _impl_.localhost_process_id_; +} +inline uint64_t C2S_CONNECT_SameProcessCheck::localhost_process_id() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_SameProcessCheck.localhost_process_id) + return _internal_localhost_process_id(); +} +inline void C2S_CONNECT_SameProcessCheck::_internal_set_localhost_process_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.localhost_process_id_ = value; +} +inline void C2S_CONNECT_SameProcessCheck::set_localhost_process_id(uint64_t value) { + _internal_set_localhost_process_id(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_SameProcessCheck.localhost_process_id) +} + +// optional uint64 key = 2; +inline bool C2S_CONNECT_SameProcessCheck::_internal_has_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool C2S_CONNECT_SameProcessCheck::has_key() const { + return _internal_has_key(); +} +inline void C2S_CONNECT_SameProcessCheck::clear_key() { + _impl_.key_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t C2S_CONNECT_SameProcessCheck::_internal_key() const { + return _impl_.key_; +} +inline uint64_t C2S_CONNECT_SameProcessCheck::key() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_SameProcessCheck.key) + return _internal_key(); +} +inline void C2S_CONNECT_SameProcessCheck::_internal_set_key(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.key_ = value; +} +inline void C2S_CONNECT_SameProcessCheck::set_key(uint64_t value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_SameProcessCheck.key) +} + +// ------------------------------------------------------------------- + +// C2S_CONNECT_Message + +// optional uint32 host_version = 1; +inline bool C2S_CONNECT_Message::_internal_has_host_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_host_version() const { + return _internal_has_host_version(); +} +inline void C2S_CONNECT_Message::clear_host_version() { + _impl_.host_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t C2S_CONNECT_Message::_internal_host_version() const { + return _impl_.host_version_; +} +inline uint32_t C2S_CONNECT_Message::host_version() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.host_version) + return _internal_host_version(); +} +inline void C2S_CONNECT_Message::_internal_set_host_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.host_version_ = value; +} +inline void C2S_CONNECT_Message::set_host_version(uint32_t value) { + _internal_set_host_version(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.host_version) +} + +// optional uint32 auth_protocol = 2; +inline bool C2S_CONNECT_Message::_internal_has_auth_protocol() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_auth_protocol() const { + return _internal_has_auth_protocol(); +} +inline void C2S_CONNECT_Message::clear_auth_protocol() { + _impl_.auth_protocol_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t C2S_CONNECT_Message::_internal_auth_protocol() const { + return _impl_.auth_protocol_; +} +inline uint32_t C2S_CONNECT_Message::auth_protocol() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.auth_protocol) + return _internal_auth_protocol(); +} +inline void C2S_CONNECT_Message::_internal_set_auth_protocol(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.auth_protocol_ = value; +} +inline void C2S_CONNECT_Message::set_auth_protocol(uint32_t value) { + _internal_set_auth_protocol(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.auth_protocol) +} + +// optional uint32 challenge_number = 3; +inline bool C2S_CONNECT_Message::_internal_has_challenge_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_challenge_number() const { + return _internal_has_challenge_number(); +} +inline void C2S_CONNECT_Message::clear_challenge_number() { + _impl_.challenge_number_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t C2S_CONNECT_Message::_internal_challenge_number() const { + return _impl_.challenge_number_; +} +inline uint32_t C2S_CONNECT_Message::challenge_number() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.challenge_number) + return _internal_challenge_number(); +} +inline void C2S_CONNECT_Message::_internal_set_challenge_number(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.challenge_number_ = value; +} +inline void C2S_CONNECT_Message::set_challenge_number(uint32_t value) { + _internal_set_challenge_number(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.challenge_number) +} + +// optional fixed64 reservation_cookie = 4; +inline bool C2S_CONNECT_Message::_internal_has_reservation_cookie() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_reservation_cookie() const { + return _internal_has_reservation_cookie(); +} +inline void C2S_CONNECT_Message::clear_reservation_cookie() { + _impl_.reservation_cookie_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t C2S_CONNECT_Message::_internal_reservation_cookie() const { + return _impl_.reservation_cookie_; +} +inline uint64_t C2S_CONNECT_Message::reservation_cookie() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.reservation_cookie) + return _internal_reservation_cookie(); +} +inline void C2S_CONNECT_Message::_internal_set_reservation_cookie(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.reservation_cookie_ = value; +} +inline void C2S_CONNECT_Message::set_reservation_cookie(uint64_t value) { + _internal_set_reservation_cookie(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.reservation_cookie) +} + +// optional bool low_violence = 5; +inline bool C2S_CONNECT_Message::_internal_has_low_violence() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_low_violence() const { + return _internal_has_low_violence(); +} +inline void C2S_CONNECT_Message::clear_low_violence() { + _impl_.low_violence_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool C2S_CONNECT_Message::_internal_low_violence() const { + return _impl_.low_violence_; +} +inline bool C2S_CONNECT_Message::low_violence() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.low_violence) + return _internal_low_violence(); +} +inline void C2S_CONNECT_Message::_internal_set_low_violence(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.low_violence_ = value; +} +inline void C2S_CONNECT_Message::set_low_violence(bool value) { + _internal_set_low_violence(value); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.low_violence) +} + +// optional bytes encrypted_password = 6; +inline bool C2S_CONNECT_Message::_internal_has_encrypted_password() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_encrypted_password() const { + return _internal_has_encrypted_password(); +} +inline void C2S_CONNECT_Message::clear_encrypted_password() { + _impl_.encrypted_password_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& C2S_CONNECT_Message::encrypted_password() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.encrypted_password) + return _internal_encrypted_password(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void C2S_CONNECT_Message::set_encrypted_password(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.encrypted_password_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.encrypted_password) +} +inline std::string* C2S_CONNECT_Message::mutable_encrypted_password() { + std::string* _s = _internal_mutable_encrypted_password(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.encrypted_password) + return _s; +} +inline const std::string& C2S_CONNECT_Message::_internal_encrypted_password() const { + return _impl_.encrypted_password_.Get(); +} +inline void C2S_CONNECT_Message::_internal_set_encrypted_password(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.encrypted_password_.Set(value, GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::_internal_mutable_encrypted_password() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.encrypted_password_.Mutable(GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::release_encrypted_password() { + // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.encrypted_password) + if (!_internal_has_encrypted_password()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.encrypted_password_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_password_.IsDefault()) { + _impl_.encrypted_password_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void C2S_CONNECT_Message::set_allocated_encrypted_password(std::string* encrypted_password) { + if (encrypted_password != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.encrypted_password_.SetAllocated(encrypted_password, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_password_.IsDefault()) { + _impl_.encrypted_password_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.encrypted_password) +} + +// repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; +inline int C2S_CONNECT_Message::_internal_splitplayers_size() const { + return _impl_.splitplayers_.size(); +} +inline int C2S_CONNECT_Message::splitplayers_size() const { + return _internal_splitplayers_size(); +} +inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::mutable_splitplayers(int index) { + // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.splitplayers) + return _impl_.splitplayers_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >* +C2S_CONNECT_Message::mutable_splitplayers() { + // @@protoc_insertion_point(field_mutable_list:C2S_CONNECT_Message.splitplayers) + return &_impl_.splitplayers_; +} +inline const ::CCLCMsg_SplitPlayerConnect& C2S_CONNECT_Message::_internal_splitplayers(int index) const { + return _impl_.splitplayers_.Get(index); +} +inline const ::CCLCMsg_SplitPlayerConnect& C2S_CONNECT_Message::splitplayers(int index) const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.splitplayers) + return _internal_splitplayers(index); +} +inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::_internal_add_splitplayers() { + return _impl_.splitplayers_.Add(); +} +inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::add_splitplayers() { + ::CCLCMsg_SplitPlayerConnect* _add = _internal_add_splitplayers(); + // @@protoc_insertion_point(field_add:C2S_CONNECT_Message.splitplayers) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >& +C2S_CONNECT_Message::splitplayers() const { + // @@protoc_insertion_point(field_list:C2S_CONNECT_Message.splitplayers) + return _impl_.splitplayers_; +} + +// optional bytes auth_steam = 8; +inline bool C2S_CONNECT_Message::_internal_has_auth_steam() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_auth_steam() const { + return _internal_has_auth_steam(); +} +inline void C2S_CONNECT_Message::clear_auth_steam() { + _impl_.auth_steam_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& C2S_CONNECT_Message::auth_steam() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.auth_steam) + return _internal_auth_steam(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void C2S_CONNECT_Message::set_auth_steam(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.auth_steam_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.auth_steam) +} +inline std::string* C2S_CONNECT_Message::mutable_auth_steam() { + std::string* _s = _internal_mutable_auth_steam(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.auth_steam) + return _s; +} +inline const std::string& C2S_CONNECT_Message::_internal_auth_steam() const { + return _impl_.auth_steam_.Get(); +} +inline void C2S_CONNECT_Message::_internal_set_auth_steam(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.auth_steam_.Set(value, GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::_internal_mutable_auth_steam() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.auth_steam_.Mutable(GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::release_auth_steam() { + // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.auth_steam) + if (!_internal_has_auth_steam()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.auth_steam_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.auth_steam_.IsDefault()) { + _impl_.auth_steam_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void C2S_CONNECT_Message::set_allocated_auth_steam(std::string* auth_steam) { + if (auth_steam != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.auth_steam_.SetAllocated(auth_steam, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.auth_steam_.IsDefault()) { + _impl_.auth_steam_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.auth_steam) +} + +// optional string challenge_context = 9; +inline bool C2S_CONNECT_Message::_internal_has_challenge_context() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool C2S_CONNECT_Message::has_challenge_context() const { + return _internal_has_challenge_context(); +} +inline void C2S_CONNECT_Message::clear_challenge_context() { + _impl_.challenge_context_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& C2S_CONNECT_Message::challenge_context() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.challenge_context) + return _internal_challenge_context(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void C2S_CONNECT_Message::set_challenge_context(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.challenge_context_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.challenge_context) +} +inline std::string* C2S_CONNECT_Message::mutable_challenge_context() { + std::string* _s = _internal_mutable_challenge_context(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.challenge_context) + return _s; +} +inline const std::string& C2S_CONNECT_Message::_internal_challenge_context() const { + return _impl_.challenge_context_.Get(); +} +inline void C2S_CONNECT_Message::_internal_set_challenge_context(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.challenge_context_.Set(value, GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::_internal_mutable_challenge_context() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.challenge_context_.Mutable(GetArenaForAllocation()); +} +inline std::string* C2S_CONNECT_Message::release_challenge_context() { + // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.challenge_context) + if (!_internal_has_challenge_context()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.challenge_context_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.challenge_context_.IsDefault()) { + _impl_.challenge_context_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void C2S_CONNECT_Message::set_allocated_challenge_context(std::string* challenge_context) { + if (challenge_context != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.challenge_context_.SetAllocated(challenge_context, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.challenge_context_.IsDefault()) { + _impl_.challenge_context_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.challenge_context) +} + +// optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; +inline bool C2S_CONNECT_Message::_internal_has_localhost_same_process_check() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.localhost_same_process_check_ != nullptr); + return value; +} +inline bool C2S_CONNECT_Message::has_localhost_same_process_check() const { + return _internal_has_localhost_same_process_check(); +} +inline void C2S_CONNECT_Message::clear_localhost_same_process_check() { + if (_impl_.localhost_same_process_check_ != nullptr) _impl_.localhost_same_process_check_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECT_Message::_internal_localhost_same_process_check() const { + const ::C2S_CONNECT_SameProcessCheck* p = _impl_.localhost_same_process_check_; + return p != nullptr ? *p : reinterpret_cast( + ::_C2S_CONNECT_SameProcessCheck_default_instance_); +} +inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECT_Message::localhost_same_process_check() const { + // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.localhost_same_process_check) + return _internal_localhost_same_process_check(); +} +inline void C2S_CONNECT_Message::unsafe_arena_set_allocated_localhost_same_process_check( + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.localhost_same_process_check_); + } + _impl_.localhost_same_process_check_ = localhost_same_process_check; + if (localhost_same_process_check) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:C2S_CONNECT_Message.localhost_same_process_check) +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::release_localhost_same_process_check() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; + _impl_.localhost_same_process_check_ = 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 ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::unsafe_arena_release_localhost_same_process_check() { + // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.localhost_same_process_check) + _impl_._has_bits_[0] &= ~0x00000008u; + ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; + _impl_.localhost_same_process_check_ = nullptr; + return temp; +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::_internal_mutable_localhost_same_process_check() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.localhost_same_process_check_ == nullptr) { + auto* p = CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(GetArenaForAllocation()); + _impl_.localhost_same_process_check_ = p; + } + return _impl_.localhost_same_process_check_; +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::mutable_localhost_same_process_check() { + ::C2S_CONNECT_SameProcessCheck* _msg = _internal_mutable_localhost_same_process_check(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.localhost_same_process_check) + return _msg; +} +inline void C2S_CONNECT_Message::set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.localhost_same_process_check_; + } + if (localhost_same_process_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(localhost_same_process_check); + if (message_arena != submessage_arena) { + localhost_same_process_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, localhost_same_process_check, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.localhost_same_process_check_ = localhost_same_process_check; + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.localhost_same_process_check) +} + +// ------------------------------------------------------------------- + +// C2S_CONNECTION_Message + +// optional string addon_name = 1; +inline bool C2S_CONNECTION_Message::_internal_has_addon_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool C2S_CONNECTION_Message::has_addon_name() const { + return _internal_has_addon_name(); +} +inline void C2S_CONNECTION_Message::clear_addon_name() { + _impl_.addon_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& C2S_CONNECTION_Message::addon_name() const { + // @@protoc_insertion_point(field_get:C2S_CONNECTION_Message.addon_name) + return _internal_addon_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void C2S_CONNECTION_Message::set_addon_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.addon_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:C2S_CONNECTION_Message.addon_name) +} +inline std::string* C2S_CONNECTION_Message::mutable_addon_name() { + std::string* _s = _internal_mutable_addon_name(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECTION_Message.addon_name) + return _s; +} +inline const std::string& C2S_CONNECTION_Message::_internal_addon_name() const { + return _impl_.addon_name_.Get(); +} +inline void C2S_CONNECTION_Message::_internal_set_addon_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.addon_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* C2S_CONNECTION_Message::_internal_mutable_addon_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.addon_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* C2S_CONNECTION_Message::release_addon_name() { + // @@protoc_insertion_point(field_release:C2S_CONNECTION_Message.addon_name) + if (!_internal_has_addon_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.addon_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addon_name_.IsDefault()) { + _impl_.addon_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void C2S_CONNECTION_Message::set_allocated_addon_name(std::string* addon_name) { + if (addon_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.addon_name_.SetAllocated(addon_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addon_name_.IsDefault()) { + _impl_.addon_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECTION_Message.addon_name) +} + +// optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; +inline bool C2S_CONNECTION_Message::_internal_has_localhost_same_process_check() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.localhost_same_process_check_ != nullptr); + return value; +} +inline bool C2S_CONNECTION_Message::has_localhost_same_process_check() const { + return _internal_has_localhost_same_process_check(); +} +inline void C2S_CONNECTION_Message::clear_localhost_same_process_check() { + if (_impl_.localhost_same_process_check_ != nullptr) _impl_.localhost_same_process_check_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECTION_Message::_internal_localhost_same_process_check() const { + const ::C2S_CONNECT_SameProcessCheck* p = _impl_.localhost_same_process_check_; + return p != nullptr ? *p : reinterpret_cast( + ::_C2S_CONNECT_SameProcessCheck_default_instance_); +} +inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECTION_Message::localhost_same_process_check() const { + // @@protoc_insertion_point(field_get:C2S_CONNECTION_Message.localhost_same_process_check) + return _internal_localhost_same_process_check(); +} +inline void C2S_CONNECTION_Message::unsafe_arena_set_allocated_localhost_same_process_check( + ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.localhost_same_process_check_); + } + _impl_.localhost_same_process_check_ = localhost_same_process_check; + if (localhost_same_process_check) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:C2S_CONNECTION_Message.localhost_same_process_check) +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::release_localhost_same_process_check() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; + _impl_.localhost_same_process_check_ = 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 ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::unsafe_arena_release_localhost_same_process_check() { + // @@protoc_insertion_point(field_release:C2S_CONNECTION_Message.localhost_same_process_check) + _impl_._has_bits_[0] &= ~0x00000002u; + ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; + _impl_.localhost_same_process_check_ = nullptr; + return temp; +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::_internal_mutable_localhost_same_process_check() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.localhost_same_process_check_ == nullptr) { + auto* p = CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(GetArenaForAllocation()); + _impl_.localhost_same_process_check_ = p; + } + return _impl_.localhost_same_process_check_; +} +inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::mutable_localhost_same_process_check() { + ::C2S_CONNECT_SameProcessCheck* _msg = _internal_mutable_localhost_same_process_check(); + // @@protoc_insertion_point(field_mutable:C2S_CONNECTION_Message.localhost_same_process_check) + return _msg; +} +inline void C2S_CONNECTION_Message::set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.localhost_same_process_check_; + } + if (localhost_same_process_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(localhost_same_process_check); + if (message_arena != submessage_arena) { + localhost_same_process_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, localhost_same_process_check, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.localhost_same_process_check_ = localhost_same_process_check; + // @@protoc_insertion_point(field_set_allocated:C2S_CONNECTION_Message.localhost_same_process_check) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc new file mode 100644 index 0000000..d01a4de --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.cc @@ -0,0 +1,1360 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_gameevents.proto + +#include "cs_gameevents.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; + +PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_)*/0u + , /*decltype(_impl_.data_)*/0 + , /*decltype(_impl_.player_)*/16777215u} {} +struct CMsgTEPlayerAnimEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEPlayerAnimEventDefaultTypeInternal() {} + union { + CMsgTEPlayerAnimEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEPlayerAnimEventDefaultTypeInternal _CMsgTEPlayerAnimEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgTERadioIcon::CMsgTERadioIcon( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_)*/16777215u} {} +struct CMsgTERadioIconDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTERadioIconDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTERadioIconDefaultTypeInternal() {} + union { + CMsgTERadioIcon _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEFireBullets::CMsgTEFireBullets( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.ent_origin_)*/nullptr + , /*decltype(_impl_.mode_)*/0u + , /*decltype(_impl_.seed_)*/0u + , /*decltype(_impl_.inaccuracy_)*/0 + , /*decltype(_impl_.recoil_index_)*/0 + , /*decltype(_impl_.spread_)*/0 + , /*decltype(_impl_.sound_type_)*/0 + , /*decltype(_impl_.item_def_index_)*/0u + , /*decltype(_impl_.sound_dsp_effect_)*/0u + , /*decltype(_impl_.num_bullets_remaining_)*/0u + , /*decltype(_impl_.attack_type_)*/0u + , /*decltype(_impl_.weapon_id_)*/16777215u + , /*decltype(_impl_.player_)*/16777215u} {} +struct CMsgTEFireBulletsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEFireBulletsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEFireBulletsDefaultTypeInternal() {} + union { + CMsgTEFireBullets _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; +static ::_pb::Metadata file_level_metadata_cs_5fgameevents_2eproto[3]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cs_5fgameevents_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fgameevents_2eproto = nullptr; + +const uint32_t TableStruct_cs_5fgameevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.event_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.data_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _impl_.player_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.weapon_id_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.seed_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.inaccuracy_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.recoil_index_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.spread_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.sound_type_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.item_def_index_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.sound_dsp_effect_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.ent_origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.num_bullets_remaining_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.attack_type_), + 0, + 1, + 13, + 3, + 4, + 14, + 5, + 6, + 7, + 8, + 9, + 10, + 2, + 11, + 12, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CMsgTEPlayerAnimEvent)}, + { 12, 19, -1, sizeof(::CMsgTERadioIcon)}, + { 20, 41, -1, sizeof(::CMsgTEFireBullets)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgTEPlayerAnimEvent_default_instance_._instance, + &::_CMsgTERadioIcon_default_instance_._instance, + &::_CMsgTEFireBullets_default_instance_._instance, +}; + +const char descriptor_table_protodef_cs_5fgameevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\023cs_gameevents.proto\032\026networkbasetypes." + "proto\"N\n\025CMsgTEPlayerAnimEvent\022\030\n\006player" + "\030\001 \001(\007:\01016777215\022\r\n\005event\030\002 \001(\r\022\014\n\004data\030" + "\003 \001(\005\"+\n\017CMsgTERadioIcon\022\030\n\006player\030\001 \001(\007" + ":\01016777215\"\365\002\n\021CMsgTEFireBullets\022\033\n\006orig" + "in\030\001 \001(\0132\013.CMsgVector\022\033\n\006angles\030\002 \001(\0132\013." + "CMsgQAngle\022\033\n\tweapon_id\030\003 \001(\r:\01016777215\022" + "\014\n\004mode\030\004 \001(\r\022\014\n\004seed\030\005 \001(\r\022\030\n\006player\030\006 " + "\001(\007:\01016777215\022\022\n\ninaccuracy\030\007 \001(\002\022\024\n\014rec" + "oil_index\030\010 \001(\002\022\016\n\006spread\030\t \001(\002\022\022\n\nsound" + "_type\030\n \001(\005\022\026\n\016item_def_index\030\013 \001(\r\022\030\n\020s" + "ound_dsp_effect\030\014 \001(\007\022\037\n\nent_origin\030\r \001(" + "\0132\013.CMsgVector\022\035\n\025num_bullets_remaining\030" + "\016 \001(\r\022\023\n\013attack_type\030\017 \001(\r*]\n\017ECsgoGameE" + "vents\022\031\n\024GE_PlayerAnimEventId\020\302\003\022\030\n\023GE_R" + "adioIconEventId\020\303\003\022\025\n\020GE_FireBulletsId\020\304" + "\003" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fgameevents_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_cs_5fgameevents_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_cs_5fgameevents_2eproto = { + false, false, 641, descriptor_table_protodef_cs_5fgameevents_2eproto, + "cs_gameevents.proto", + &descriptor_table_cs_5fgameevents_2eproto_once, descriptor_table_cs_5fgameevents_2eproto_deps, 1, 3, + schemas, file_default_instances, TableStruct_cs_5fgameevents_2eproto::offsets, + file_level_metadata_cs_5fgameevents_2eproto, file_level_enum_descriptors_cs_5fgameevents_2eproto, + file_level_service_descriptors_cs_5fgameevents_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fgameevents_2eproto_getter() { + return &descriptor_table_cs_5fgameevents_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fgameevents_2eproto(&descriptor_table_cs_5fgameevents_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGameEvents_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cs_5fgameevents_2eproto); + return file_level_enum_descriptors_cs_5fgameevents_2eproto[0]; +} +bool ECsgoGameEvents_IsValid(int value) { + switch (value) { + case 450: + case 451: + case 452: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgTEPlayerAnimEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_event(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent(::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:CMsgTEPlayerAnimEvent) +} +CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent(const CMsgTEPlayerAnimEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEPlayerAnimEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_){} + , decltype(_impl_.data_){} + , decltype(_impl_.player_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.event_, &from._impl_.event_, + static_cast(reinterpret_cast(&_impl_.player_) - + reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.player_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEPlayerAnimEvent) +} + +inline void CMsgTEPlayerAnimEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_){0u} + , decltype(_impl_.data_){0} + , decltype(_impl_.player_){16777215u} + }; +} + +CMsgTEPlayerAnimEvent::~CMsgTEPlayerAnimEvent() { + // @@protoc_insertion_point(destructor:CMsgTEPlayerAnimEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEPlayerAnimEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgTEPlayerAnimEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEPlayerAnimEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEPlayerAnimEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.event_, 0, static_cast( + reinterpret_cast(&_impl_.data_) - + reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.data_)); + _impl_.player_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEPlayerAnimEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 player = 1 [default = 16777215]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_player(&has_bits); + _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 event = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_event(&has_bits); + _impl_.event_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_data(&has_bits); + _impl_.data_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEPlayerAnimEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEPlayerAnimEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 player = 1 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_player(), target); + } + + // optional uint32 event = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_event(), target); + } + + // optional int32 data = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_data(), 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:CMsgTEPlayerAnimEvent) + return target; +} + +size_t CMsgTEPlayerAnimEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEPlayerAnimEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 event = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event()); + } + + // optional int32 data = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); + } + + // optional fixed32 player = 1 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEPlayerAnimEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEPlayerAnimEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEPlayerAnimEvent::GetClassData() const { return &_class_data_; } + + +void CMsgTEPlayerAnimEvent::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:CMsgTEPlayerAnimEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.event_ = from._impl_.event_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.data_ = from._impl_.data_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.player_ = from._impl_.player_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEPlayerAnimEvent::CopyFrom(const CMsgTEPlayerAnimEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEPlayerAnimEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEPlayerAnimEvent::IsInitialized() const { + return true; +} + +void CMsgTEPlayerAnimEvent::InternalSwap(CMsgTEPlayerAnimEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEPlayerAnimEvent, _impl_.data_) + + sizeof(CMsgTEPlayerAnimEvent::_impl_.data_) + - PROTOBUF_FIELD_OFFSET(CMsgTEPlayerAnimEvent, _impl_.event_)>( + reinterpret_cast(&_impl_.event_), + reinterpret_cast(&other->_impl_.event_)); + swap(_impl_.player_, other->_impl_.player_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEPlayerAnimEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, + file_level_metadata_cs_5fgameevents_2eproto[0]); +} + +// =================================================================== + +class CMsgTERadioIcon::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgTERadioIcon::CMsgTERadioIcon(::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:CMsgTERadioIcon) +} +CMsgTERadioIcon::CMsgTERadioIcon(const CMsgTERadioIcon& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTERadioIcon* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.player_ = from._impl_.player_; + // @@protoc_insertion_point(copy_constructor:CMsgTERadioIcon) +} + +inline void CMsgTERadioIcon::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_){16777215u} + }; +} + +CMsgTERadioIcon::~CMsgTERadioIcon() { + // @@protoc_insertion_point(destructor:CMsgTERadioIcon) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTERadioIcon::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgTERadioIcon::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTERadioIcon::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTERadioIcon) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_ = 16777215u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTERadioIcon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 player = 1 [default = 16777215]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_player(&has_bits); + _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTERadioIcon::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTERadioIcon) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 player = 1 [default = 16777215]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_player(), 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:CMsgTERadioIcon) + return target; +} + +size_t CMsgTERadioIcon::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTERadioIcon) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed32 player = 1 [default = 16777215]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTERadioIcon::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTERadioIcon::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTERadioIcon::GetClassData() const { return &_class_data_; } + + +void CMsgTERadioIcon::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:CMsgTERadioIcon) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_player()) { + _this->_internal_set_player(from._internal_player()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTERadioIcon::CopyFrom(const CMsgTERadioIcon& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTERadioIcon) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTERadioIcon::IsInitialized() const { + return true; +} + +void CMsgTERadioIcon::InternalSwap(CMsgTERadioIcon* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.player_, other->_impl_.player_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTERadioIcon::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, + file_level_metadata_cs_5fgameevents_2eproto[1]); +} + +// =================================================================== + +class CMsgTEFireBullets::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEFireBullets* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& angles(const CMsgTEFireBullets* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_weapon_id(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_mode(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seed(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_inaccuracy(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_recoil_index(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_spread(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_sound_type(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_item_def_index(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_sound_dsp_effect(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static const ::CMsgVector& ent_origin(const CMsgTEFireBullets* msg); + static void set_has_ent_origin(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_num_bullets_remaining(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_attack_type(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +const ::CMsgVector& +CMsgTEFireBullets::_Internal::origin(const CMsgTEFireBullets* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgQAngle& +CMsgTEFireBullets::_Internal::angles(const CMsgTEFireBullets* msg) { + return *msg->_impl_.angles_; +} +const ::CMsgVector& +CMsgTEFireBullets::_Internal::ent_origin(const CMsgTEFireBullets* msg) { + return *msg->_impl_.ent_origin_; +} +void CMsgTEFireBullets::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEFireBullets::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEFireBullets::clear_ent_origin() { + if (_impl_.ent_origin_ != nullptr) _impl_.ent_origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgTEFireBullets::CMsgTEFireBullets(::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:CMsgTEFireBullets) +} +CMsgTEFireBullets::CMsgTEFireBullets(const CMsgTEFireBullets& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEFireBullets* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.mode_){} + , decltype(_impl_.seed_){} + , decltype(_impl_.inaccuracy_){} + , decltype(_impl_.recoil_index_){} + , decltype(_impl_.spread_){} + , decltype(_impl_.sound_type_){} + , decltype(_impl_.item_def_index_){} + , decltype(_impl_.sound_dsp_effect_){} + , decltype(_impl_.num_bullets_remaining_){} + , decltype(_impl_.attack_type_){} + , decltype(_impl_.weapon_id_){} + , decltype(_impl_.player_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + if (from._internal_has_ent_origin()) { + _this->_impl_.ent_origin_ = new ::CMsgVector(*from._impl_.ent_origin_); + } + ::memcpy(&_impl_.mode_, &from._impl_.mode_, + static_cast(reinterpret_cast(&_impl_.player_) - + reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.player_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEFireBullets) +} + +inline void CMsgTEFireBullets::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.mode_){0u} + , decltype(_impl_.seed_){0u} + , decltype(_impl_.inaccuracy_){0} + , decltype(_impl_.recoil_index_){0} + , decltype(_impl_.spread_){0} + , decltype(_impl_.sound_type_){0} + , decltype(_impl_.item_def_index_){0u} + , decltype(_impl_.sound_dsp_effect_){0u} + , decltype(_impl_.num_bullets_remaining_){0u} + , decltype(_impl_.attack_type_){0u} + , decltype(_impl_.weapon_id_){16777215u} + , decltype(_impl_.player_){16777215u} + }; +} + +CMsgTEFireBullets::~CMsgTEFireBullets() { + // @@protoc_insertion_point(destructor:CMsgTEFireBullets) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEFireBullets::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.angles_; + if (this != internal_default_instance()) delete _impl_.ent_origin_; +} + +void CMsgTEFireBullets::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEFireBullets::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEFireBullets) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.ent_origin_ != nullptr); + _impl_.ent_origin_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.mode_, 0, static_cast( + reinterpret_cast(&_impl_.spread_) - + reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.spread_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.sound_type_, 0, static_cast( + reinterpret_cast(&_impl_.attack_type_) - + reinterpret_cast(&_impl_.sound_type_)) + sizeof(_impl_.attack_type_)); + _impl_.weapon_id_ = 16777215u; + _impl_.player_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEFireBullets::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 weapon_id = 3 [default = 16777215]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_weapon_id(&has_bits); + _impl_.weapon_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mode = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_mode(&has_bits); + _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_seed(&has_bits); + _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 player = 6 [default = 16777215]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_player(&has_bits); + _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float inaccuracy = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_inaccuracy(&has_bits); + _impl_.inaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float recoil_index = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_recoil_index(&has_bits); + _impl_.recoil_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float spread = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_spread(&has_bits); + _impl_.spread_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 sound_type = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_sound_type(&has_bits); + _impl_.sound_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 item_def_index = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_item_def_index(&has_bits); + _impl_.item_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 sound_dsp_effect = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_sound_dsp_effect(&has_bits); + _impl_.sound_dsp_effect_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgVector ent_origin = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_ent_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_bullets_remaining = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_num_bullets_remaining(&has_bits); + _impl_.num_bullets_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 attack_type = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_attack_type(&has_bits); + _impl_.attack_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEFireBullets::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEFireBullets) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional uint32 weapon_id = 3 [default = 16777215]; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_weapon_id(), target); + } + + // optional uint32 mode = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target); + } + + // optional uint32 seed = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seed(), target); + } + + // optional fixed32 player = 6 [default = 16777215]; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_player(), target); + } + + // optional float inaccuracy = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_inaccuracy(), target); + } + + // optional float recoil_index = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_recoil_index(), target); + } + + // optional float spread = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_spread(), target); + } + + // optional int32 sound_type = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_sound_type(), target); + } + + // optional uint32 item_def_index = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_item_def_index(), target); + } + + // optional fixed32 sound_dsp_effect = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_sound_dsp_effect(), target); + } + + // optional .CMsgVector ent_origin = 13; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::ent_origin(this), + _Internal::ent_origin(this).GetCachedSize(), target, stream); + } + + // optional uint32 num_bullets_remaining = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_num_bullets_remaining(), target); + } + + // optional uint32 attack_type = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_attack_type(), 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:CMsgTEFireBullets) + return target; +} + +size_t CMsgTEFireBullets::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEFireBullets) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional .CMsgVector ent_origin = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ent_origin_); + } + + // optional uint32 mode = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); + } + + // optional uint32 seed = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); + } + + // optional float inaccuracy = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float recoil_index = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float spread = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional int32 sound_type = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_type()); + } + + // optional uint32 item_def_index = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); + } + + // optional fixed32 sound_dsp_effect = 12; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional uint32 num_bullets_remaining = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_bullets_remaining()); + } + + // optional uint32 attack_type = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attack_type()); + } + + // optional uint32 weapon_id = 3 [default = 16777215]; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_weapon_id()); + } + + // optional fixed32 player = 6 [default = 16777215]; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEFireBullets::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEFireBullets::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEFireBullets::GetClassData() const { return &_class_data_; } + + +void CMsgTEFireBullets::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:CMsgTEFireBullets) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_ent_origin()->::CMsgVector::MergeFrom( + from._internal_ent_origin()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.mode_ = from._impl_.mode_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.seed_ = from._impl_.seed_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.inaccuracy_ = from._impl_.inaccuracy_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.recoil_index_ = from._impl_.recoil_index_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.spread_ = from._impl_.spread_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.sound_type_ = from._impl_.sound_type_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.item_def_index_ = from._impl_.item_def_index_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.sound_dsp_effect_ = from._impl_.sound_dsp_effect_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.num_bullets_remaining_ = from._impl_.num_bullets_remaining_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.attack_type_ = from._impl_.attack_type_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.weapon_id_ = from._impl_.weapon_id_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.player_ = from._impl_.player_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEFireBullets::CopyFrom(const CMsgTEFireBullets& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEFireBullets) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEFireBullets::IsInitialized() const { + return true; +} + +void CMsgTEFireBullets::InternalSwap(CMsgTEFireBullets* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.attack_type_) + + sizeof(CMsgTEFireBullets::_impl_.attack_type_) + - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); + swap(_impl_.weapon_id_, other->_impl_.weapon_id_); + swap(_impl_.player_, other->_impl_.player_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFireBullets::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, + file_level_metadata_cs_5fgameevents_2eproto[2]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgTEPlayerAnimEvent* +Arena::CreateMaybeMessage< ::CMsgTEPlayerAnimEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEPlayerAnimEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTERadioIcon* +Arena::CreateMaybeMessage< ::CMsgTERadioIcon >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTERadioIcon >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEFireBullets* +Arena::CreateMaybeMessage< ::CMsgTEFireBullets >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEFireBullets >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h new file mode 100644 index 0000000..2723ba4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_gameevents.pb.h @@ -0,0 +1,1575 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_gameevents.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_cs_5fgameevents_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_cs_5fgameevents_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fgameevents_2eproto; +class CMsgTEFireBullets; +struct CMsgTEFireBulletsDefaultTypeInternal; +extern CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; +class CMsgTEPlayerAnimEvent; +struct CMsgTEPlayerAnimEventDefaultTypeInternal; +extern CMsgTEPlayerAnimEventDefaultTypeInternal _CMsgTEPlayerAnimEvent_default_instance_; +class CMsgTERadioIcon; +struct CMsgTERadioIconDefaultTypeInternal; +extern CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgTEFireBullets* Arena::CreateMaybeMessage<::CMsgTEFireBullets>(Arena*); +template<> ::CMsgTEPlayerAnimEvent* Arena::CreateMaybeMessage<::CMsgTEPlayerAnimEvent>(Arena*); +template<> ::CMsgTERadioIcon* Arena::CreateMaybeMessage<::CMsgTERadioIcon>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ECsgoGameEvents : int { + GE_PlayerAnimEventId = 450, + GE_RadioIconEventId = 451, + GE_FireBulletsId = 452 +}; +bool ECsgoGameEvents_IsValid(int value); +constexpr ECsgoGameEvents ECsgoGameEvents_MIN = GE_PlayerAnimEventId; +constexpr ECsgoGameEvents ECsgoGameEvents_MAX = GE_FireBulletsId; +constexpr int ECsgoGameEvents_ARRAYSIZE = ECsgoGameEvents_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGameEvents_descriptor(); +template +inline const std::string& ECsgoGameEvents_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECsgoGameEvents_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECsgoGameEvents_descriptor(), enum_t_value); +} +inline bool ECsgoGameEvents_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoGameEvents* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECsgoGameEvents_descriptor(), name, value); +} +// =================================================================== + +class CMsgTEPlayerAnimEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEPlayerAnimEvent) */ { + public: + inline CMsgTEPlayerAnimEvent() : CMsgTEPlayerAnimEvent(nullptr) {} + ~CMsgTEPlayerAnimEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEPlayerAnimEvent(const CMsgTEPlayerAnimEvent& from); + CMsgTEPlayerAnimEvent(CMsgTEPlayerAnimEvent&& from) noexcept + : CMsgTEPlayerAnimEvent() { + *this = ::std::move(from); + } + + inline CMsgTEPlayerAnimEvent& operator=(const CMsgTEPlayerAnimEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEPlayerAnimEvent& operator=(CMsgTEPlayerAnimEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEPlayerAnimEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEPlayerAnimEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEPlayerAnimEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgTEPlayerAnimEvent& a, CMsgTEPlayerAnimEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEPlayerAnimEvent* 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(CMsgTEPlayerAnimEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEPlayerAnimEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEPlayerAnimEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEPlayerAnimEvent& from) { + CMsgTEPlayerAnimEvent::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(CMsgTEPlayerAnimEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEPlayerAnimEvent"; + } + protected: + explicit CMsgTEPlayerAnimEvent(::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 { + kEventFieldNumber = 2, + kDataFieldNumber = 3, + kPlayerFieldNumber = 1, + }; + // optional uint32 event = 2; + bool has_event() const; + private: + bool _internal_has_event() const; + public: + void clear_event(); + uint32_t event() const; + void set_event(uint32_t value); + private: + uint32_t _internal_event() const; + void _internal_set_event(uint32_t value); + public: + + // optional int32 data = 3; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + int32_t data() const; + void set_data(int32_t value); + private: + int32_t _internal_data() const; + void _internal_set_data(int32_t value); + public: + + // optional fixed32 player = 1 [default = 16777215]; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + uint32_t player() const; + void set_player(uint32_t value); + private: + uint32_t _internal_player() const; + void _internal_set_player(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEPlayerAnimEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t event_; + int32_t data_; + uint32_t player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fgameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTERadioIcon final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTERadioIcon) */ { + public: + inline CMsgTERadioIcon() : CMsgTERadioIcon(nullptr) {} + ~CMsgTERadioIcon() override; + explicit PROTOBUF_CONSTEXPR CMsgTERadioIcon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTERadioIcon(const CMsgTERadioIcon& from); + CMsgTERadioIcon(CMsgTERadioIcon&& from) noexcept + : CMsgTERadioIcon() { + *this = ::std::move(from); + } + + inline CMsgTERadioIcon& operator=(const CMsgTERadioIcon& from) { + CopyFrom(from); + return *this; + } + inline CMsgTERadioIcon& operator=(CMsgTERadioIcon&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTERadioIcon& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTERadioIcon* internal_default_instance() { + return reinterpret_cast( + &_CMsgTERadioIcon_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgTERadioIcon& a, CMsgTERadioIcon& b) { + a.Swap(&b); + } + inline void Swap(CMsgTERadioIcon* 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(CMsgTERadioIcon* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTERadioIcon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTERadioIcon& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTERadioIcon& from) { + CMsgTERadioIcon::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(CMsgTERadioIcon* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTERadioIcon"; + } + protected: + explicit CMsgTERadioIcon(::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 { + kPlayerFieldNumber = 1, + }; + // optional fixed32 player = 1 [default = 16777215]; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + uint32_t player() const; + void set_player(uint32_t value); + private: + uint32_t _internal_player() const; + void _internal_set_player(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTERadioIcon) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fgameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEFireBullets final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFireBullets) */ { + public: + inline CMsgTEFireBullets() : CMsgTEFireBullets(nullptr) {} + ~CMsgTEFireBullets() override; + explicit PROTOBUF_CONSTEXPR CMsgTEFireBullets(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEFireBullets(const CMsgTEFireBullets& from); + CMsgTEFireBullets(CMsgTEFireBullets&& from) noexcept + : CMsgTEFireBullets() { + *this = ::std::move(from); + } + + inline CMsgTEFireBullets& operator=(const CMsgTEFireBullets& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEFireBullets& operator=(CMsgTEFireBullets&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEFireBullets& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEFireBullets* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEFireBullets_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgTEFireBullets& a, CMsgTEFireBullets& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEFireBullets* 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(CMsgTEFireBullets* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEFireBullets* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEFireBullets& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEFireBullets& from) { + CMsgTEFireBullets::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(CMsgTEFireBullets* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEFireBullets"; + } + protected: + explicit CMsgTEFireBullets(::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 { + kOriginFieldNumber = 1, + kAnglesFieldNumber = 2, + kEntOriginFieldNumber = 13, + kModeFieldNumber = 4, + kSeedFieldNumber = 5, + kInaccuracyFieldNumber = 7, + kRecoilIndexFieldNumber = 8, + kSpreadFieldNumber = 9, + kSoundTypeFieldNumber = 10, + kItemDefIndexFieldNumber = 11, + kSoundDspEffectFieldNumber = 12, + kNumBulletsRemainingFieldNumber = 14, + kAttackTypeFieldNumber = 15, + kWeaponIdFieldNumber = 3, + kPlayerFieldNumber = 6, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgQAngle angles = 2; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional .CMsgVector ent_origin = 13; + bool has_ent_origin() const; + private: + bool _internal_has_ent_origin() const; + public: + void clear_ent_origin(); + const ::CMsgVector& ent_origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_ent_origin(); + ::CMsgVector* mutable_ent_origin(); + void set_allocated_ent_origin(::CMsgVector* ent_origin); + private: + const ::CMsgVector& _internal_ent_origin() const; + ::CMsgVector* _internal_mutable_ent_origin(); + public: + void unsafe_arena_set_allocated_ent_origin( + ::CMsgVector* ent_origin); + ::CMsgVector* unsafe_arena_release_ent_origin(); + + // optional uint32 mode = 4; + bool has_mode() const; + private: + bool _internal_has_mode() const; + public: + void clear_mode(); + uint32_t mode() const; + void set_mode(uint32_t value); + private: + uint32_t _internal_mode() const; + void _internal_set_mode(uint32_t value); + public: + + // optional uint32 seed = 5; + bool has_seed() const; + private: + bool _internal_has_seed() const; + public: + void clear_seed(); + uint32_t seed() const; + void set_seed(uint32_t value); + private: + uint32_t _internal_seed() const; + void _internal_set_seed(uint32_t value); + public: + + // optional float inaccuracy = 7; + bool has_inaccuracy() const; + private: + bool _internal_has_inaccuracy() const; + public: + void clear_inaccuracy(); + float inaccuracy() const; + void set_inaccuracy(float value); + private: + float _internal_inaccuracy() const; + void _internal_set_inaccuracy(float value); + public: + + // optional float recoil_index = 8; + bool has_recoil_index() const; + private: + bool _internal_has_recoil_index() const; + public: + void clear_recoil_index(); + float recoil_index() const; + void set_recoil_index(float value); + private: + float _internal_recoil_index() const; + void _internal_set_recoil_index(float value); + public: + + // optional float spread = 9; + bool has_spread() const; + private: + bool _internal_has_spread() const; + public: + void clear_spread(); + float spread() const; + void set_spread(float value); + private: + float _internal_spread() const; + void _internal_set_spread(float value); + public: + + // optional int32 sound_type = 10; + bool has_sound_type() const; + private: + bool _internal_has_sound_type() const; + public: + void clear_sound_type(); + int32_t sound_type() const; + void set_sound_type(int32_t value); + private: + int32_t _internal_sound_type() const; + void _internal_set_sound_type(int32_t value); + public: + + // optional uint32 item_def_index = 11; + bool has_item_def_index() const; + private: + bool _internal_has_item_def_index() const; + public: + void clear_item_def_index(); + uint32_t item_def_index() const; + void set_item_def_index(uint32_t value); + private: + uint32_t _internal_item_def_index() const; + void _internal_set_item_def_index(uint32_t value); + public: + + // optional fixed32 sound_dsp_effect = 12; + bool has_sound_dsp_effect() const; + private: + bool _internal_has_sound_dsp_effect() const; + public: + void clear_sound_dsp_effect(); + uint32_t sound_dsp_effect() const; + void set_sound_dsp_effect(uint32_t value); + private: + uint32_t _internal_sound_dsp_effect() const; + void _internal_set_sound_dsp_effect(uint32_t value); + public: + + // optional uint32 num_bullets_remaining = 14; + bool has_num_bullets_remaining() const; + private: + bool _internal_has_num_bullets_remaining() const; + public: + void clear_num_bullets_remaining(); + uint32_t num_bullets_remaining() const; + void set_num_bullets_remaining(uint32_t value); + private: + uint32_t _internal_num_bullets_remaining() const; + void _internal_set_num_bullets_remaining(uint32_t value); + public: + + // optional uint32 attack_type = 15; + bool has_attack_type() const; + private: + bool _internal_has_attack_type() const; + public: + void clear_attack_type(); + uint32_t attack_type() const; + void set_attack_type(uint32_t value); + private: + uint32_t _internal_attack_type() const; + void _internal_set_attack_type(uint32_t value); + public: + + // optional uint32 weapon_id = 3 [default = 16777215]; + bool has_weapon_id() const; + private: + bool _internal_has_weapon_id() const; + public: + void clear_weapon_id(); + uint32_t weapon_id() const; + void set_weapon_id(uint32_t value); + private: + uint32_t _internal_weapon_id() const; + void _internal_set_weapon_id(uint32_t value); + public: + + // optional fixed32 player = 6 [default = 16777215]; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + uint32_t player() const; + void set_player(uint32_t value); + private: + uint32_t _internal_player() const; + void _internal_set_player(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEFireBullets) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgQAngle* angles_; + ::CMsgVector* ent_origin_; + uint32_t mode_; + uint32_t seed_; + float inaccuracy_; + float recoil_index_; + float spread_; + int32_t sound_type_; + uint32_t item_def_index_; + uint32_t sound_dsp_effect_; + uint32_t num_bullets_remaining_; + uint32_t attack_type_; + uint32_t weapon_id_; + uint32_t player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fgameevents_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgTEPlayerAnimEvent + +// optional fixed32 player = 1 [default = 16777215]; +inline bool CMsgTEPlayerAnimEvent::_internal_has_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEPlayerAnimEvent::has_player() const { + return _internal_has_player(); +} +inline void CMsgTEPlayerAnimEvent::clear_player() { + _impl_.player_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEPlayerAnimEvent::_internal_player() const { + return _impl_.player_; +} +inline uint32_t CMsgTEPlayerAnimEvent::player() const { + // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.player) + return _internal_player(); +} +inline void CMsgTEPlayerAnimEvent::_internal_set_player(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.player_ = value; +} +inline void CMsgTEPlayerAnimEvent::set_player(uint32_t value) { + _internal_set_player(value); + // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.player) +} + +// optional uint32 event = 2; +inline bool CMsgTEPlayerAnimEvent::_internal_has_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTEPlayerAnimEvent::has_event() const { + return _internal_has_event(); +} +inline void CMsgTEPlayerAnimEvent::clear_event() { + _impl_.event_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgTEPlayerAnimEvent::_internal_event() const { + return _impl_.event_; +} +inline uint32_t CMsgTEPlayerAnimEvent::event() const { + // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.event) + return _internal_event(); +} +inline void CMsgTEPlayerAnimEvent::_internal_set_event(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_ = value; +} +inline void CMsgTEPlayerAnimEvent::set_event(uint32_t value) { + _internal_set_event(value); + // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.event) +} + +// optional int32 data = 3; +inline bool CMsgTEPlayerAnimEvent::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEPlayerAnimEvent::has_data() const { + return _internal_has_data(); +} +inline void CMsgTEPlayerAnimEvent::clear_data() { + _impl_.data_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgTEPlayerAnimEvent::_internal_data() const { + return _impl_.data_; +} +inline int32_t CMsgTEPlayerAnimEvent::data() const { + // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.data) + return _internal_data(); +} +inline void CMsgTEPlayerAnimEvent::_internal_set_data(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_ = value; +} +inline void CMsgTEPlayerAnimEvent::set_data(int32_t value) { + _internal_set_data(value); + // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.data) +} + +// ------------------------------------------------------------------- + +// CMsgTERadioIcon + +// optional fixed32 player = 1 [default = 16777215]; +inline bool CMsgTERadioIcon::_internal_has_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTERadioIcon::has_player() const { + return _internal_has_player(); +} +inline void CMsgTERadioIcon::clear_player() { + _impl_.player_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgTERadioIcon::_internal_player() const { + return _impl_.player_; +} +inline uint32_t CMsgTERadioIcon::player() const { + // @@protoc_insertion_point(field_get:CMsgTERadioIcon.player) + return _internal_player(); +} +inline void CMsgTERadioIcon::_internal_set_player(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_ = value; +} +inline void CMsgTERadioIcon::set_player(uint32_t value) { + _internal_set_player(value); + // @@protoc_insertion_point(field_set:CMsgTERadioIcon.player) +} + +// ------------------------------------------------------------------- + +// CMsgTEFireBullets + +// optional .CMsgVector origin = 1; +inline bool CMsgTEFireBullets::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEFireBullets::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEFireBullets::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEFireBullets::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.origin) + return _internal_origin(); +} +inline void CMsgTEFireBullets::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.origin) +} +inline ::CMsgVector* CMsgTEFireBullets::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEFireBullets::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEFireBullets.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEFireBullets::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEFireBullets::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.origin) + return _msg; +} +inline void CMsgTEFireBullets::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.origin) +} + +// optional .CMsgQAngle angles = 2; +inline bool CMsgTEFireBullets::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CMsgTEFireBullets::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CMsgTEFireBullets::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgTEFireBullets::angles() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.angles) + return _internal_angles(); +} +inline void CMsgTEFireBullets::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.angles) +} +inline ::CMsgQAngle* CMsgTEFireBullets::release_angles() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* 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 ::CMsgQAngle* CMsgTEFireBullets::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CMsgTEFireBullets.angles) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgTEFireBullets::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CMsgTEFireBullets::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.angles) + return _msg; +} +inline void CMsgTEFireBullets::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.angles) +} + +// optional uint32 weapon_id = 3 [default = 16777215]; +inline bool CMsgTEFireBullets::_internal_has_weapon_id() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_weapon_id() const { + return _internal_has_weapon_id(); +} +inline void CMsgTEFireBullets::clear_weapon_id() { + _impl_.weapon_id_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgTEFireBullets::_internal_weapon_id() const { + return _impl_.weapon_id_; +} +inline uint32_t CMsgTEFireBullets::weapon_id() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.weapon_id) + return _internal_weapon_id(); +} +inline void CMsgTEFireBullets::_internal_set_weapon_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.weapon_id_ = value; +} +inline void CMsgTEFireBullets::set_weapon_id(uint32_t value) { + _internal_set_weapon_id(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.weapon_id) +} + +// optional uint32 mode = 4; +inline bool CMsgTEFireBullets::_internal_has_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_mode() const { + return _internal_has_mode(); +} +inline void CMsgTEFireBullets::clear_mode() { + _impl_.mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEFireBullets::_internal_mode() const { + return _impl_.mode_; +} +inline uint32_t CMsgTEFireBullets::mode() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.mode) + return _internal_mode(); +} +inline void CMsgTEFireBullets::_internal_set_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.mode_ = value; +} +inline void CMsgTEFireBullets::set_mode(uint32_t value) { + _internal_set_mode(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.mode) +} + +// optional uint32 seed = 5; +inline bool CMsgTEFireBullets::_internal_has_seed() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_seed() const { + return _internal_has_seed(); +} +inline void CMsgTEFireBullets::clear_seed() { + _impl_.seed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgTEFireBullets::_internal_seed() const { + return _impl_.seed_; +} +inline uint32_t CMsgTEFireBullets::seed() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.seed) + return _internal_seed(); +} +inline void CMsgTEFireBullets::_internal_set_seed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.seed_ = value; +} +inline void CMsgTEFireBullets::set_seed(uint32_t value) { + _internal_set_seed(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.seed) +} + +// optional fixed32 player = 6 [default = 16777215]; +inline bool CMsgTEFireBullets::_internal_has_player() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_player() const { + return _internal_has_player(); +} +inline void CMsgTEFireBullets::clear_player() { + _impl_.player_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgTEFireBullets::_internal_player() const { + return _impl_.player_; +} +inline uint32_t CMsgTEFireBullets::player() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.player) + return _internal_player(); +} +inline void CMsgTEFireBullets::_internal_set_player(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.player_ = value; +} +inline void CMsgTEFireBullets::set_player(uint32_t value) { + _internal_set_player(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.player) +} + +// optional float inaccuracy = 7; +inline bool CMsgTEFireBullets::_internal_has_inaccuracy() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_inaccuracy() const { + return _internal_has_inaccuracy(); +} +inline void CMsgTEFireBullets::clear_inaccuracy() { + _impl_.inaccuracy_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgTEFireBullets::_internal_inaccuracy() const { + return _impl_.inaccuracy_; +} +inline float CMsgTEFireBullets::inaccuracy() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.inaccuracy) + return _internal_inaccuracy(); +} +inline void CMsgTEFireBullets::_internal_set_inaccuracy(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.inaccuracy_ = value; +} +inline void CMsgTEFireBullets::set_inaccuracy(float value) { + _internal_set_inaccuracy(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.inaccuracy) +} + +// optional float recoil_index = 8; +inline bool CMsgTEFireBullets::_internal_has_recoil_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_recoil_index() const { + return _internal_has_recoil_index(); +} +inline void CMsgTEFireBullets::clear_recoil_index() { + _impl_.recoil_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgTEFireBullets::_internal_recoil_index() const { + return _impl_.recoil_index_; +} +inline float CMsgTEFireBullets::recoil_index() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.recoil_index) + return _internal_recoil_index(); +} +inline void CMsgTEFireBullets::_internal_set_recoil_index(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.recoil_index_ = value; +} +inline void CMsgTEFireBullets::set_recoil_index(float value) { + _internal_set_recoil_index(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.recoil_index) +} + +// optional float spread = 9; +inline bool CMsgTEFireBullets::_internal_has_spread() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_spread() const { + return _internal_has_spread(); +} +inline void CMsgTEFireBullets::clear_spread() { + _impl_.spread_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CMsgTEFireBullets::_internal_spread() const { + return _impl_.spread_; +} +inline float CMsgTEFireBullets::spread() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.spread) + return _internal_spread(); +} +inline void CMsgTEFireBullets::_internal_set_spread(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.spread_ = value; +} +inline void CMsgTEFireBullets::set_spread(float value) { + _internal_set_spread(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.spread) +} + +// optional int32 sound_type = 10; +inline bool CMsgTEFireBullets::_internal_has_sound_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_sound_type() const { + return _internal_has_sound_type(); +} +inline void CMsgTEFireBullets::clear_sound_type() { + _impl_.sound_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgTEFireBullets::_internal_sound_type() const { + return _impl_.sound_type_; +} +inline int32_t CMsgTEFireBullets::sound_type() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.sound_type) + return _internal_sound_type(); +} +inline void CMsgTEFireBullets::_internal_set_sound_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.sound_type_ = value; +} +inline void CMsgTEFireBullets::set_sound_type(int32_t value) { + _internal_set_sound_type(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.sound_type) +} + +// optional uint32 item_def_index = 11; +inline bool CMsgTEFireBullets::_internal_has_item_def_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_item_def_index() const { + return _internal_has_item_def_index(); +} +inline void CMsgTEFireBullets::clear_item_def_index() { + _impl_.item_def_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgTEFireBullets::_internal_item_def_index() const { + return _impl_.item_def_index_; +} +inline uint32_t CMsgTEFireBullets::item_def_index() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.item_def_index) + return _internal_item_def_index(); +} +inline void CMsgTEFireBullets::_internal_set_item_def_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.item_def_index_ = value; +} +inline void CMsgTEFireBullets::set_item_def_index(uint32_t value) { + _internal_set_item_def_index(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.item_def_index) +} + +// optional fixed32 sound_dsp_effect = 12; +inline bool CMsgTEFireBullets::_internal_has_sound_dsp_effect() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_sound_dsp_effect() const { + return _internal_has_sound_dsp_effect(); +} +inline void CMsgTEFireBullets::clear_sound_dsp_effect() { + _impl_.sound_dsp_effect_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgTEFireBullets::_internal_sound_dsp_effect() const { + return _impl_.sound_dsp_effect_; +} +inline uint32_t CMsgTEFireBullets::sound_dsp_effect() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.sound_dsp_effect) + return _internal_sound_dsp_effect(); +} +inline void CMsgTEFireBullets::_internal_set_sound_dsp_effect(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.sound_dsp_effect_ = value; +} +inline void CMsgTEFireBullets::set_sound_dsp_effect(uint32_t value) { + _internal_set_sound_dsp_effect(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.sound_dsp_effect) +} + +// optional .CMsgVector ent_origin = 13; +inline bool CMsgTEFireBullets::_internal_has_ent_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ent_origin_ != nullptr); + return value; +} +inline bool CMsgTEFireBullets::has_ent_origin() const { + return _internal_has_ent_origin(); +} +inline const ::CMsgVector& CMsgTEFireBullets::_internal_ent_origin() const { + const ::CMsgVector* p = _impl_.ent_origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEFireBullets::ent_origin() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.ent_origin) + return _internal_ent_origin(); +} +inline void CMsgTEFireBullets::unsafe_arena_set_allocated_ent_origin( + ::CMsgVector* ent_origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); + } + _impl_.ent_origin_ = ent_origin; + if (ent_origin) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.ent_origin) +} +inline ::CMsgVector* CMsgTEFireBullets::release_ent_origin() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.ent_origin_; + _impl_.ent_origin_ = 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 ::CMsgVector* CMsgTEFireBullets::unsafe_arena_release_ent_origin() { + // @@protoc_insertion_point(field_release:CMsgTEFireBullets.ent_origin) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.ent_origin_; + _impl_.ent_origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEFireBullets::_internal_mutable_ent_origin() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.ent_origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.ent_origin_ = p; + } + return _impl_.ent_origin_; +} +inline ::CMsgVector* CMsgTEFireBullets::mutable_ent_origin() { + ::CMsgVector* _msg = _internal_mutable_ent_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.ent_origin) + return _msg; +} +inline void CMsgTEFireBullets::set_allocated_ent_origin(::CMsgVector* ent_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); + } + if (ent_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ent_origin)); + if (message_arena != submessage_arena) { + ent_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ent_origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.ent_origin_ = ent_origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.ent_origin) +} + +// optional uint32 num_bullets_remaining = 14; +inline bool CMsgTEFireBullets::_internal_has_num_bullets_remaining() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_num_bullets_remaining() const { + return _internal_has_num_bullets_remaining(); +} +inline void CMsgTEFireBullets::clear_num_bullets_remaining() { + _impl_.num_bullets_remaining_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgTEFireBullets::_internal_num_bullets_remaining() const { + return _impl_.num_bullets_remaining_; +} +inline uint32_t CMsgTEFireBullets::num_bullets_remaining() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.num_bullets_remaining) + return _internal_num_bullets_remaining(); +} +inline void CMsgTEFireBullets::_internal_set_num_bullets_remaining(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.num_bullets_remaining_ = value; +} +inline void CMsgTEFireBullets::set_num_bullets_remaining(uint32_t value) { + _internal_set_num_bullets_remaining(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.num_bullets_remaining) +} + +// optional uint32 attack_type = 15; +inline bool CMsgTEFireBullets::_internal_has_attack_type() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgTEFireBullets::has_attack_type() const { + return _internal_has_attack_type(); +} +inline void CMsgTEFireBullets::clear_attack_type() { + _impl_.attack_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgTEFireBullets::_internal_attack_type() const { + return _impl_.attack_type_; +} +inline uint32_t CMsgTEFireBullets::attack_type() const { + // @@protoc_insertion_point(field_get:CMsgTEFireBullets.attack_type) + return _internal_attack_type(); +} +inline void CMsgTEFireBullets::_internal_set_attack_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.attack_type_ = value; +} +inline void CMsgTEFireBullets::set_attack_type(uint32_t value) { + _internal_set_attack_type(value); + // @@protoc_insertion_point(field_set:CMsgTEFireBullets.attack_type) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ECsgoGameEvents> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoGameEvents>() { + return ::ECsgoGameEvents_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.cc new file mode 100644 index 0000000..a135607 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.cc @@ -0,0 +1,704 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_prediction_events.proto + +#include "cs_prediction_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; + +PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.flinch_mod_small_)*/0 + , /*decltype(_impl_.flinch_mod_large_)*/0 + , /*decltype(_impl_.friendly_fire_damage_reduction_ratio_)*/0} {} +struct CCSPredictionEvent_DamageTagDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSPredictionEvent_DamageTagDefaultTypeInternal() {} + union { + CCSPredictionEvent_DamageTag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSPredictionEvent_DamageTagDefaultTypeInternal _CCSPredictionEvent_DamageTag_default_instance_; +PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.punch_angle_)*/nullptr + , /*decltype(_impl_.when_tick_)*/0u + , /*decltype(_impl_.when_tick_frac_)*/0} {} +struct CCSPredictionEvent_AddAimPunchDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunchDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSPredictionEvent_AddAimPunchDefaultTypeInternal() {} + union { + CCSPredictionEvent_AddAimPunch _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSPredictionEvent_AddAimPunchDefaultTypeInternal _CCSPredictionEvent_AddAimPunch_default_instance_; +static ::_pb::Metadata file_level_metadata_cs_5fprediction_5fevents_2eproto[2]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fprediction_5fevents_2eproto = nullptr; + +const uint32_t TableStruct_cs_5fprediction_5fevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.flinch_mod_small_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.flinch_mod_large_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.friendly_fire_damage_reduction_ratio_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.punch_angle_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.when_tick_), + PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.when_tick_frac_), + 0, + 1, + 2, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CCSPredictionEvent_DamageTag)}, + { 12, 21, -1, sizeof(::CCSPredictionEvent_AddAimPunch)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CCSPredictionEvent_DamageTag_default_instance_._instance, + &::_CCSPredictionEvent_AddAimPunch_default_instance_._instance, +}; + +const char descriptor_table_protodef_cs_5fprediction_5fevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\032cs_prediction_events.proto\032\026networkbas" + "etypes.proto\032\027prediction_events.proto\"\200\001" + "\n\034CCSPredictionEvent_DamageTag\022\030\n\020flinch" + "_mod_small\030\001 \001(\002\022\030\n\020flinch_mod_large\030\002 \001" + "(\002\022,\n$friendly_fire_damage_reduction_rat" + "io\030\003 \001(\002\"m\n\036CCSPredictionEvent_AddAimPun" + "ch\022 \n\013punch_angle\030\001 \001(\0132\013.CMsgQAngle\022\021\n\t" + "when_tick\030\002 \001(\r\022\026\n\016when_tick_frac\030\003 \001(\002*" + "\?\n\023ECSPredictionEvents\022\022\n\016CSPE_DamageTag" + "\020\001\022\024\n\020CSPE_AddAimPunch\020\003" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fprediction_5fevents_2eproto_deps[2] = { + &::descriptor_table_networkbasetypes_2eproto, + &::descriptor_table_prediction_5fevents_2eproto, +}; +static ::_pbi::once_flag descriptor_table_cs_5fprediction_5fevents_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_cs_5fprediction_5fevents_2eproto = { + false, false, 384, descriptor_table_protodef_cs_5fprediction_5fevents_2eproto, + "cs_prediction_events.proto", + &descriptor_table_cs_5fprediction_5fevents_2eproto_once, descriptor_table_cs_5fprediction_5fevents_2eproto_deps, 2, 2, + schemas, file_default_instances, TableStruct_cs_5fprediction_5fevents_2eproto::offsets, + file_level_metadata_cs_5fprediction_5fevents_2eproto, file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto, + file_level_service_descriptors_cs_5fprediction_5fevents_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fprediction_5fevents_2eproto_getter() { + return &descriptor_table_cs_5fprediction_5fevents_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fprediction_5fevents_2eproto(&descriptor_table_cs_5fprediction_5fevents_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSPredictionEvents_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cs_5fprediction_5fevents_2eproto); + return file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto[0]; +} +bool ECSPredictionEvents_IsValid(int value) { + switch (value) { + case 1: + case 3: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CCSPredictionEvent_DamageTag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_flinch_mod_small(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_flinch_mod_large(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_friendly_fire_damage_reduction_ratio(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag(::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:CCSPredictionEvent_DamageTag) +} +CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag(const CCSPredictionEvent_DamageTag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSPredictionEvent_DamageTag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flinch_mod_small_){} + , decltype(_impl_.flinch_mod_large_){} + , decltype(_impl_.friendly_fire_damage_reduction_ratio_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.flinch_mod_small_, &from._impl_.flinch_mod_small_, + static_cast(reinterpret_cast(&_impl_.friendly_fire_damage_reduction_ratio_) - + reinterpret_cast(&_impl_.flinch_mod_small_)) + sizeof(_impl_.friendly_fire_damage_reduction_ratio_)); + // @@protoc_insertion_point(copy_constructor:CCSPredictionEvent_DamageTag) +} + +inline void CCSPredictionEvent_DamageTag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flinch_mod_small_){0} + , decltype(_impl_.flinch_mod_large_){0} + , decltype(_impl_.friendly_fire_damage_reduction_ratio_){0} + }; +} + +CCSPredictionEvent_DamageTag::~CCSPredictionEvent_DamageTag() { + // @@protoc_insertion_point(destructor:CCSPredictionEvent_DamageTag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSPredictionEvent_DamageTag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSPredictionEvent_DamageTag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSPredictionEvent_DamageTag::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSPredictionEvent_DamageTag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.flinch_mod_small_, 0, static_cast( + reinterpret_cast(&_impl_.friendly_fire_damage_reduction_ratio_) - + reinterpret_cast(&_impl_.flinch_mod_small_)) + sizeof(_impl_.friendly_fire_damage_reduction_ratio_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSPredictionEvent_DamageTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float flinch_mod_small = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_flinch_mod_small(&has_bits); + _impl_.flinch_mod_small_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float flinch_mod_large = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_flinch_mod_large(&has_bits); + _impl_.flinch_mod_large_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float friendly_fire_damage_reduction_ratio = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_friendly_fire_damage_reduction_ratio(&has_bits); + _impl_.friendly_fire_damage_reduction_ratio_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSPredictionEvent_DamageTag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSPredictionEvent_DamageTag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float flinch_mod_small = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_flinch_mod_small(), target); + } + + // optional float flinch_mod_large = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_flinch_mod_large(), target); + } + + // optional float friendly_fire_damage_reduction_ratio = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_friendly_fire_damage_reduction_ratio(), 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:CCSPredictionEvent_DamageTag) + return target; +} + +size_t CCSPredictionEvent_DamageTag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSPredictionEvent_DamageTag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional float flinch_mod_small = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float flinch_mod_large = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float friendly_fire_damage_reduction_ratio = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSPredictionEvent_DamageTag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSPredictionEvent_DamageTag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSPredictionEvent_DamageTag::GetClassData() const { return &_class_data_; } + + +void CCSPredictionEvent_DamageTag::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:CCSPredictionEvent_DamageTag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.flinch_mod_small_ = from._impl_.flinch_mod_small_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.flinch_mod_large_ = from._impl_.flinch_mod_large_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.friendly_fire_damage_reduction_ratio_ = from._impl_.friendly_fire_damage_reduction_ratio_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSPredictionEvent_DamageTag::CopyFrom(const CCSPredictionEvent_DamageTag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSPredictionEvent_DamageTag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSPredictionEvent_DamageTag::IsInitialized() const { + return true; +} + +void CCSPredictionEvent_DamageTag::InternalSwap(CCSPredictionEvent_DamageTag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_DamageTag, _impl_.friendly_fire_damage_reduction_ratio_) + + sizeof(CCSPredictionEvent_DamageTag::_impl_.friendly_fire_damage_reduction_ratio_) + - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_DamageTag, _impl_.flinch_mod_small_)>( + reinterpret_cast(&_impl_.flinch_mod_small_), + reinterpret_cast(&other->_impl_.flinch_mod_small_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSPredictionEvent_DamageTag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fprediction_5fevents_2eproto_getter, &descriptor_table_cs_5fprediction_5fevents_2eproto_once, + file_level_metadata_cs_5fprediction_5fevents_2eproto[0]); +} + +// =================================================================== + +class CCSPredictionEvent_AddAimPunch::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgQAngle& punch_angle(const CCSPredictionEvent_AddAimPunch* msg); + static void set_has_punch_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_when_tick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_when_tick_frac(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgQAngle& +CCSPredictionEvent_AddAimPunch::_Internal::punch_angle(const CCSPredictionEvent_AddAimPunch* msg) { + return *msg->_impl_.punch_angle_; +} +void CCSPredictionEvent_AddAimPunch::clear_punch_angle() { + if (_impl_.punch_angle_ != nullptr) _impl_.punch_angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch(::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:CCSPredictionEvent_AddAimPunch) +} +CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch(const CCSPredictionEvent_AddAimPunch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSPredictionEvent_AddAimPunch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.punch_angle_){nullptr} + , decltype(_impl_.when_tick_){} + , decltype(_impl_.when_tick_frac_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_punch_angle()) { + _this->_impl_.punch_angle_ = new ::CMsgQAngle(*from._impl_.punch_angle_); + } + ::memcpy(&_impl_.when_tick_, &from._impl_.when_tick_, + static_cast(reinterpret_cast(&_impl_.when_tick_frac_) - + reinterpret_cast(&_impl_.when_tick_)) + sizeof(_impl_.when_tick_frac_)); + // @@protoc_insertion_point(copy_constructor:CCSPredictionEvent_AddAimPunch) +} + +inline void CCSPredictionEvent_AddAimPunch::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.punch_angle_){nullptr} + , decltype(_impl_.when_tick_){0u} + , decltype(_impl_.when_tick_frac_){0} + }; +} + +CCSPredictionEvent_AddAimPunch::~CCSPredictionEvent_AddAimPunch() { + // @@protoc_insertion_point(destructor:CCSPredictionEvent_AddAimPunch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSPredictionEvent_AddAimPunch::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.punch_angle_; +} + +void CCSPredictionEvent_AddAimPunch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSPredictionEvent_AddAimPunch::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSPredictionEvent_AddAimPunch) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.punch_angle_ != nullptr); + _impl_.punch_angle_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.when_tick_, 0, static_cast( + reinterpret_cast(&_impl_.when_tick_frac_) - + reinterpret_cast(&_impl_.when_tick_)) + sizeof(_impl_.when_tick_frac_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSPredictionEvent_AddAimPunch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgQAngle punch_angle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_punch_angle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 when_tick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_when_tick(&has_bits); + _impl_.when_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float when_tick_frac = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_when_tick_frac(&has_bits); + _impl_.when_tick_frac_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSPredictionEvent_AddAimPunch::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSPredictionEvent_AddAimPunch) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgQAngle punch_angle = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::punch_angle(this), + _Internal::punch_angle(this).GetCachedSize(), target, stream); + } + + // optional uint32 when_tick = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_when_tick(), target); + } + + // optional float when_tick_frac = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_when_tick_frac(), 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:CCSPredictionEvent_AddAimPunch) + return target; +} + +size_t CCSPredictionEvent_AddAimPunch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSPredictionEvent_AddAimPunch) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgQAngle punch_angle = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.punch_angle_); + } + + // optional uint32 when_tick = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_when_tick()); + } + + // optional float when_tick_frac = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSPredictionEvent_AddAimPunch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSPredictionEvent_AddAimPunch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSPredictionEvent_AddAimPunch::GetClassData() const { return &_class_data_; } + + +void CCSPredictionEvent_AddAimPunch::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:CCSPredictionEvent_AddAimPunch) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_punch_angle()->::CMsgQAngle::MergeFrom( + from._internal_punch_angle()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.when_tick_ = from._impl_.when_tick_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.when_tick_frac_ = from._impl_.when_tick_frac_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSPredictionEvent_AddAimPunch::CopyFrom(const CCSPredictionEvent_AddAimPunch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSPredictionEvent_AddAimPunch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSPredictionEvent_AddAimPunch::IsInitialized() const { + return true; +} + +void CCSPredictionEvent_AddAimPunch::InternalSwap(CCSPredictionEvent_AddAimPunch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_AddAimPunch, _impl_.when_tick_frac_) + + sizeof(CCSPredictionEvent_AddAimPunch::_impl_.when_tick_frac_) + - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_AddAimPunch, _impl_.punch_angle_)>( + reinterpret_cast(&_impl_.punch_angle_), + reinterpret_cast(&other->_impl_.punch_angle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSPredictionEvent_AddAimPunch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fprediction_5fevents_2eproto_getter, &descriptor_table_cs_5fprediction_5fevents_2eproto_once, + file_level_metadata_cs_5fprediction_5fevents_2eproto[1]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CCSPredictionEvent_DamageTag* +Arena::CreateMaybeMessage< ::CCSPredictionEvent_DamageTag >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSPredictionEvent_DamageTag >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSPredictionEvent_AddAimPunch* +Arena::CreateMaybeMessage< ::CCSPredictionEvent_AddAimPunch >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSPredictionEvent_AddAimPunch >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.h new file mode 100644 index 0000000..3f13aea --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_prediction_events.pb.h @@ -0,0 +1,733 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_prediction_events.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +#include "prediction_events.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_cs_5fprediction_5fevents_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_cs_5fprediction_5fevents_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fprediction_5fevents_2eproto; +class CCSPredictionEvent_AddAimPunch; +struct CCSPredictionEvent_AddAimPunchDefaultTypeInternal; +extern CCSPredictionEvent_AddAimPunchDefaultTypeInternal _CCSPredictionEvent_AddAimPunch_default_instance_; +class CCSPredictionEvent_DamageTag; +struct CCSPredictionEvent_DamageTagDefaultTypeInternal; +extern CCSPredictionEvent_DamageTagDefaultTypeInternal _CCSPredictionEvent_DamageTag_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CCSPredictionEvent_AddAimPunch* Arena::CreateMaybeMessage<::CCSPredictionEvent_AddAimPunch>(Arena*); +template<> ::CCSPredictionEvent_DamageTag* Arena::CreateMaybeMessage<::CCSPredictionEvent_DamageTag>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ECSPredictionEvents : int { + CSPE_DamageTag = 1, + CSPE_AddAimPunch = 3 +}; +bool ECSPredictionEvents_IsValid(int value); +constexpr ECSPredictionEvents ECSPredictionEvents_MIN = CSPE_DamageTag; +constexpr ECSPredictionEvents ECSPredictionEvents_MAX = CSPE_AddAimPunch; +constexpr int ECSPredictionEvents_ARRAYSIZE = ECSPredictionEvents_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSPredictionEvents_descriptor(); +template +inline const std::string& ECSPredictionEvents_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECSPredictionEvents_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECSPredictionEvents_descriptor(), enum_t_value); +} +inline bool ECSPredictionEvents_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECSPredictionEvents* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECSPredictionEvents_descriptor(), name, value); +} +// =================================================================== + +class CCSPredictionEvent_DamageTag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSPredictionEvent_DamageTag) */ { + public: + inline CCSPredictionEvent_DamageTag() : CCSPredictionEvent_DamageTag(nullptr) {} + ~CCSPredictionEvent_DamageTag() override; + explicit PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSPredictionEvent_DamageTag(const CCSPredictionEvent_DamageTag& from); + CCSPredictionEvent_DamageTag(CCSPredictionEvent_DamageTag&& from) noexcept + : CCSPredictionEvent_DamageTag() { + *this = ::std::move(from); + } + + inline CCSPredictionEvent_DamageTag& operator=(const CCSPredictionEvent_DamageTag& from) { + CopyFrom(from); + return *this; + } + inline CCSPredictionEvent_DamageTag& operator=(CCSPredictionEvent_DamageTag&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSPredictionEvent_DamageTag& default_instance() { + return *internal_default_instance(); + } + static inline const CCSPredictionEvent_DamageTag* internal_default_instance() { + return reinterpret_cast( + &_CCSPredictionEvent_DamageTag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CCSPredictionEvent_DamageTag& a, CCSPredictionEvent_DamageTag& b) { + a.Swap(&b); + } + inline void Swap(CCSPredictionEvent_DamageTag* 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(CCSPredictionEvent_DamageTag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSPredictionEvent_DamageTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSPredictionEvent_DamageTag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSPredictionEvent_DamageTag& from) { + CCSPredictionEvent_DamageTag::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(CCSPredictionEvent_DamageTag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSPredictionEvent_DamageTag"; + } + protected: + explicit CCSPredictionEvent_DamageTag(::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 { + kFlinchModSmallFieldNumber = 1, + kFlinchModLargeFieldNumber = 2, + kFriendlyFireDamageReductionRatioFieldNumber = 3, + }; + // optional float flinch_mod_small = 1; + bool has_flinch_mod_small() const; + private: + bool _internal_has_flinch_mod_small() const; + public: + void clear_flinch_mod_small(); + float flinch_mod_small() const; + void set_flinch_mod_small(float value); + private: + float _internal_flinch_mod_small() const; + void _internal_set_flinch_mod_small(float value); + public: + + // optional float flinch_mod_large = 2; + bool has_flinch_mod_large() const; + private: + bool _internal_has_flinch_mod_large() const; + public: + void clear_flinch_mod_large(); + float flinch_mod_large() const; + void set_flinch_mod_large(float value); + private: + float _internal_flinch_mod_large() const; + void _internal_set_flinch_mod_large(float value); + public: + + // optional float friendly_fire_damage_reduction_ratio = 3; + bool has_friendly_fire_damage_reduction_ratio() const; + private: + bool _internal_has_friendly_fire_damage_reduction_ratio() const; + public: + void clear_friendly_fire_damage_reduction_ratio(); + float friendly_fire_damage_reduction_ratio() const; + void set_friendly_fire_damage_reduction_ratio(float value); + private: + float _internal_friendly_fire_damage_reduction_ratio() const; + void _internal_set_friendly_fire_damage_reduction_ratio(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSPredictionEvent_DamageTag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float flinch_mod_small_; + float flinch_mod_large_; + float friendly_fire_damage_reduction_ratio_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fprediction_5fevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSPredictionEvent_AddAimPunch final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSPredictionEvent_AddAimPunch) */ { + public: + inline CCSPredictionEvent_AddAimPunch() : CCSPredictionEvent_AddAimPunch(nullptr) {} + ~CCSPredictionEvent_AddAimPunch() override; + explicit PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSPredictionEvent_AddAimPunch(const CCSPredictionEvent_AddAimPunch& from); + CCSPredictionEvent_AddAimPunch(CCSPredictionEvent_AddAimPunch&& from) noexcept + : CCSPredictionEvent_AddAimPunch() { + *this = ::std::move(from); + } + + inline CCSPredictionEvent_AddAimPunch& operator=(const CCSPredictionEvent_AddAimPunch& from) { + CopyFrom(from); + return *this; + } + inline CCSPredictionEvent_AddAimPunch& operator=(CCSPredictionEvent_AddAimPunch&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSPredictionEvent_AddAimPunch& default_instance() { + return *internal_default_instance(); + } + static inline const CCSPredictionEvent_AddAimPunch* internal_default_instance() { + return reinterpret_cast( + &_CCSPredictionEvent_AddAimPunch_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CCSPredictionEvent_AddAimPunch& a, CCSPredictionEvent_AddAimPunch& b) { + a.Swap(&b); + } + inline void Swap(CCSPredictionEvent_AddAimPunch* 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(CCSPredictionEvent_AddAimPunch* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSPredictionEvent_AddAimPunch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSPredictionEvent_AddAimPunch& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSPredictionEvent_AddAimPunch& from) { + CCSPredictionEvent_AddAimPunch::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(CCSPredictionEvent_AddAimPunch* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSPredictionEvent_AddAimPunch"; + } + protected: + explicit CCSPredictionEvent_AddAimPunch(::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 { + kPunchAngleFieldNumber = 1, + kWhenTickFieldNumber = 2, + kWhenTickFracFieldNumber = 3, + }; + // optional .CMsgQAngle punch_angle = 1; + bool has_punch_angle() const; + private: + bool _internal_has_punch_angle() const; + public: + void clear_punch_angle(); + const ::CMsgQAngle& punch_angle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_punch_angle(); + ::CMsgQAngle* mutable_punch_angle(); + void set_allocated_punch_angle(::CMsgQAngle* punch_angle); + private: + const ::CMsgQAngle& _internal_punch_angle() const; + ::CMsgQAngle* _internal_mutable_punch_angle(); + public: + void unsafe_arena_set_allocated_punch_angle( + ::CMsgQAngle* punch_angle); + ::CMsgQAngle* unsafe_arena_release_punch_angle(); + + // optional uint32 when_tick = 2; + bool has_when_tick() const; + private: + bool _internal_has_when_tick() const; + public: + void clear_when_tick(); + uint32_t when_tick() const; + void set_when_tick(uint32_t value); + private: + uint32_t _internal_when_tick() const; + void _internal_set_when_tick(uint32_t value); + public: + + // optional float when_tick_frac = 3; + bool has_when_tick_frac() const; + private: + bool _internal_has_when_tick_frac() const; + public: + void clear_when_tick_frac(); + float when_tick_frac() const; + void set_when_tick_frac(float value); + private: + float _internal_when_tick_frac() const; + void _internal_set_when_tick_frac(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSPredictionEvent_AddAimPunch) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* punch_angle_; + uint32_t when_tick_; + float when_tick_frac_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fprediction_5fevents_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CCSPredictionEvent_DamageTag + +// optional float flinch_mod_small = 1; +inline bool CCSPredictionEvent_DamageTag::_internal_has_flinch_mod_small() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSPredictionEvent_DamageTag::has_flinch_mod_small() const { + return _internal_has_flinch_mod_small(); +} +inline void CCSPredictionEvent_DamageTag::clear_flinch_mod_small() { + _impl_.flinch_mod_small_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CCSPredictionEvent_DamageTag::_internal_flinch_mod_small() const { + return _impl_.flinch_mod_small_; +} +inline float CCSPredictionEvent_DamageTag::flinch_mod_small() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.flinch_mod_small) + return _internal_flinch_mod_small(); +} +inline void CCSPredictionEvent_DamageTag::_internal_set_flinch_mod_small(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.flinch_mod_small_ = value; +} +inline void CCSPredictionEvent_DamageTag::set_flinch_mod_small(float value) { + _internal_set_flinch_mod_small(value); + // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.flinch_mod_small) +} + +// optional float flinch_mod_large = 2; +inline bool CCSPredictionEvent_DamageTag::_internal_has_flinch_mod_large() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSPredictionEvent_DamageTag::has_flinch_mod_large() const { + return _internal_has_flinch_mod_large(); +} +inline void CCSPredictionEvent_DamageTag::clear_flinch_mod_large() { + _impl_.flinch_mod_large_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSPredictionEvent_DamageTag::_internal_flinch_mod_large() const { + return _impl_.flinch_mod_large_; +} +inline float CCSPredictionEvent_DamageTag::flinch_mod_large() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.flinch_mod_large) + return _internal_flinch_mod_large(); +} +inline void CCSPredictionEvent_DamageTag::_internal_set_flinch_mod_large(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.flinch_mod_large_ = value; +} +inline void CCSPredictionEvent_DamageTag::set_flinch_mod_large(float value) { + _internal_set_flinch_mod_large(value); + // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.flinch_mod_large) +} + +// optional float friendly_fire_damage_reduction_ratio = 3; +inline bool CCSPredictionEvent_DamageTag::_internal_has_friendly_fire_damage_reduction_ratio() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSPredictionEvent_DamageTag::has_friendly_fire_damage_reduction_ratio() const { + return _internal_has_friendly_fire_damage_reduction_ratio(); +} +inline void CCSPredictionEvent_DamageTag::clear_friendly_fire_damage_reduction_ratio() { + _impl_.friendly_fire_damage_reduction_ratio_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSPredictionEvent_DamageTag::_internal_friendly_fire_damage_reduction_ratio() const { + return _impl_.friendly_fire_damage_reduction_ratio_; +} +inline float CCSPredictionEvent_DamageTag::friendly_fire_damage_reduction_ratio() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.friendly_fire_damage_reduction_ratio) + return _internal_friendly_fire_damage_reduction_ratio(); +} +inline void CCSPredictionEvent_DamageTag::_internal_set_friendly_fire_damage_reduction_ratio(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.friendly_fire_damage_reduction_ratio_ = value; +} +inline void CCSPredictionEvent_DamageTag::set_friendly_fire_damage_reduction_ratio(float value) { + _internal_set_friendly_fire_damage_reduction_ratio(value); + // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.friendly_fire_damage_reduction_ratio) +} + +// ------------------------------------------------------------------- + +// CCSPredictionEvent_AddAimPunch + +// optional .CMsgQAngle punch_angle = 1; +inline bool CCSPredictionEvent_AddAimPunch::_internal_has_punch_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.punch_angle_ != nullptr); + return value; +} +inline bool CCSPredictionEvent_AddAimPunch::has_punch_angle() const { + return _internal_has_punch_angle(); +} +inline const ::CMsgQAngle& CCSPredictionEvent_AddAimPunch::_internal_punch_angle() const { + const ::CMsgQAngle* p = _impl_.punch_angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CCSPredictionEvent_AddAimPunch::punch_angle() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.punch_angle) + return _internal_punch_angle(); +} +inline void CCSPredictionEvent_AddAimPunch::unsafe_arena_set_allocated_punch_angle( + ::CMsgQAngle* punch_angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.punch_angle_); + } + _impl_.punch_angle_ = punch_angle; + if (punch_angle) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSPredictionEvent_AddAimPunch.punch_angle) +} +inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::release_punch_angle() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.punch_angle_; + _impl_.punch_angle_ = 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 ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::unsafe_arena_release_punch_angle() { + // @@protoc_insertion_point(field_release:CCSPredictionEvent_AddAimPunch.punch_angle) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.punch_angle_; + _impl_.punch_angle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::_internal_mutable_punch_angle() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.punch_angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.punch_angle_ = p; + } + return _impl_.punch_angle_; +} +inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::mutable_punch_angle() { + ::CMsgQAngle* _msg = _internal_mutable_punch_angle(); + // @@protoc_insertion_point(field_mutable:CCSPredictionEvent_AddAimPunch.punch_angle) + return _msg; +} +inline void CCSPredictionEvent_AddAimPunch::set_allocated_punch_angle(::CMsgQAngle* punch_angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.punch_angle_); + } + if (punch_angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(punch_angle)); + if (message_arena != submessage_arena) { + punch_angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, punch_angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.punch_angle_ = punch_angle; + // @@protoc_insertion_point(field_set_allocated:CCSPredictionEvent_AddAimPunch.punch_angle) +} + +// optional uint32 when_tick = 2; +inline bool CCSPredictionEvent_AddAimPunch::_internal_has_when_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSPredictionEvent_AddAimPunch::has_when_tick() const { + return _internal_has_when_tick(); +} +inline void CCSPredictionEvent_AddAimPunch::clear_when_tick() { + _impl_.when_tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSPredictionEvent_AddAimPunch::_internal_when_tick() const { + return _impl_.when_tick_; +} +inline uint32_t CCSPredictionEvent_AddAimPunch::when_tick() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.when_tick) + return _internal_when_tick(); +} +inline void CCSPredictionEvent_AddAimPunch::_internal_set_when_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.when_tick_ = value; +} +inline void CCSPredictionEvent_AddAimPunch::set_when_tick(uint32_t value) { + _internal_set_when_tick(value); + // @@protoc_insertion_point(field_set:CCSPredictionEvent_AddAimPunch.when_tick) +} + +// optional float when_tick_frac = 3; +inline bool CCSPredictionEvent_AddAimPunch::_internal_has_when_tick_frac() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSPredictionEvent_AddAimPunch::has_when_tick_frac() const { + return _internal_has_when_tick_frac(); +} +inline void CCSPredictionEvent_AddAimPunch::clear_when_tick_frac() { + _impl_.when_tick_frac_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSPredictionEvent_AddAimPunch::_internal_when_tick_frac() const { + return _impl_.when_tick_frac_; +} +inline float CCSPredictionEvent_AddAimPunch::when_tick_frac() const { + // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.when_tick_frac) + return _internal_when_tick_frac(); +} +inline void CCSPredictionEvent_AddAimPunch::_internal_set_when_tick_frac(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.when_tick_frac_ = value; +} +inline void CCSPredictionEvent_AddAimPunch::set_when_tick_frac(float value) { + _internal_set_when_tick_frac(value); + // @@protoc_insertion_point(field_set:CCSPredictionEvent_AddAimPunch.when_tick_frac) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ECSPredictionEvents> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECSPredictionEvents>() { + return ::ECSPredictionEvents_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.cc new file mode 100644 index 0000000..3d1493b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.cc @@ -0,0 +1,1936 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_usercmd.proto + +#include "cs_usercmd.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; + +PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB::CSGOInterpolationInfoPB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.frac_)*/0 + , /*decltype(_impl_.src_tick_)*/-1 + , /*decltype(_impl_.dst_tick_)*/-1} {} +struct CSGOInterpolationInfoPBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSGOInterpolationInfoPBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSGOInterpolationInfoPBDefaultTypeInternal() {} + union { + CSGOInterpolationInfoPB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInterpolationInfoPBDefaultTypeInternal _CSGOInterpolationInfoPB_default_instance_; +PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.frac_)*/0} {} +struct CSGOInterpolationInfoPB_CLDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CLDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSGOInterpolationInfoPB_CLDefaultTypeInternal() {} + union { + CSGOInterpolationInfoPB_CL _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInterpolationInfoPB_CLDefaultTypeInternal _CSGOInterpolationInfoPB_CL_default_instance_; +PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.view_angles_)*/nullptr + , /*decltype(_impl_.cl_interp_)*/nullptr + , /*decltype(_impl_.sv_interp0_)*/nullptr + , /*decltype(_impl_.sv_interp1_)*/nullptr + , /*decltype(_impl_.player_interp_)*/nullptr + , /*decltype(_impl_.shoot_position_)*/nullptr + , /*decltype(_impl_.target_head_pos_check_)*/nullptr + , /*decltype(_impl_.target_abs_pos_check_)*/nullptr + , /*decltype(_impl_.target_abs_ang_check_)*/nullptr + , /*decltype(_impl_.render_tick_count_)*/0 + , /*decltype(_impl_.render_tick_fraction_)*/0 + , /*decltype(_impl_.player_tick_count_)*/0 + , /*decltype(_impl_.player_tick_fraction_)*/0 + , /*decltype(_impl_.frame_number_)*/0 + , /*decltype(_impl_.target_ent_index_)*/-1} {} +struct CSGOInputHistoryEntryPBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSGOInputHistoryEntryPBDefaultTypeInternal() {} + union { + CSGOInputHistoryEntryPB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInputHistoryEntryPBDefaultTypeInternal _CSGOInputHistoryEntryPB_default_instance_; +PROTOBUF_CONSTEXPR CSGOUserCmdPB::CSGOUserCmdPB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.input_history_)*/{} + , /*decltype(_impl_.base_)*/nullptr + , /*decltype(_impl_.left_hand_desired_)*/false + , /*decltype(_impl_.is_predicting_body_shot_fx_)*/false + , /*decltype(_impl_.is_predicting_head_shot_fx_)*/false + , /*decltype(_impl_.is_predicting_kill_ragdolls_)*/false + , /*decltype(_impl_.attack1_start_history_index_)*/-1 + , /*decltype(_impl_.attack2_start_history_index_)*/-1} {} +struct CSGOUserCmdPBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSGOUserCmdPBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSGOUserCmdPBDefaultTypeInternal() {} + union { + CSGOUserCmdPB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOUserCmdPBDefaultTypeInternal _CSGOUserCmdPB_default_instance_; +static ::_pb::Metadata file_level_metadata_cs_5fusercmd_2eproto[4]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_cs_5fusercmd_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fusercmd_2eproto = nullptr; + +const uint32_t TableStruct_cs_5fusercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.src_tick_), + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.dst_tick_), + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.frac_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _impl_.frac_), + 0, + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.view_angles_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.render_tick_count_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.render_tick_fraction_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_tick_count_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_tick_fraction_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.cl_interp_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.sv_interp0_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.sv_interp1_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_interp_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.frame_number_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_ent_index_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.shoot_position_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_head_pos_check_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_abs_pos_check_), + PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_abs_ang_check_), + 0, + 9, + 10, + 11, + 12, + 1, + 2, + 3, + 4, + 13, + 14, + 5, + 6, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.input_history_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.attack1_start_history_index_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.attack2_start_history_index_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.left_hand_desired_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_body_shot_fx_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_head_shot_fx_), + PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_kill_ragdolls_), + 0, + ~0u, + 5, + 6, + 1, + 2, + 3, + 4, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CSGOInterpolationInfoPB)}, + { 12, 19, -1, sizeof(::CSGOInterpolationInfoPB_CL)}, + { 20, 41, -1, sizeof(::CSGOInputHistoryEntryPB)}, + { 56, 70, -1, sizeof(::CSGOUserCmdPB)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CSGOInterpolationInfoPB_default_instance_._instance, + &::_CSGOInterpolationInfoPB_CL_default_instance_._instance, + &::_CSGOInputHistoryEntryPB_default_instance_._instance, + &::_CSGOUserCmdPB_default_instance_._instance, +}; + +const char descriptor_table_protodef_cs_5fusercmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\020cs_usercmd.proto\032\026networkbasetypes.pro" + "to\032\rusercmd.proto\"V\n\027CSGOInterpolationIn" + "foPB\022\024\n\010src_tick\030\001 \001(\005:\002-1\022\024\n\010dst_tick\030\002" + " \001(\005:\002-1\022\017\n\004frac\030\003 \001(\002:\0010\"-\n\032CSGOInterpo" + "lationInfoPB_CL\022\017\n\004frac\030\003 \001(\002:\0010\"\305\004\n\027CSG" + "OInputHistoryEntryPB\022 \n\013view_angles\030\002 \001(" + "\0132\013.CMsgQAngle\022\031\n\021render_tick_count\030\004 \001(" + "\005\022\034\n\024render_tick_fraction\030\005 \001(\002\022\031\n\021playe" + "r_tick_count\030\006 \001(\005\022\034\n\024player_tick_fracti" + "on\030\007 \001(\002\022.\n\tcl_interp\030\014 \001(\0132\033.CSGOInterp" + "olationInfoPB_CL\022,\n\nsv_interp0\030\r \001(\0132\030.C" + "SGOInterpolationInfoPB\022,\n\nsv_interp1\030\016 \001" + "(\0132\030.CSGOInterpolationInfoPB\022/\n\rplayer_i" + "nterp\030\017 \001(\0132\030.CSGOInterpolationInfoPB\022\024\n" + "\014frame_number\030@ \001(\005\022\034\n\020target_ent_index\030" + "A \001(\005:\002-1\022#\n\016shoot_position\030B \001(\0132\013.CMsg" + "Vector\022*\n\025target_head_pos_check\030C \001(\0132\013." + "CMsgVector\022)\n\024target_abs_pos_check\030D \001(\013" + "2\013.CMsgVector\022)\n\024target_abs_ang_check\030E " + "\001(\0132\013.CMsgQAngle\"\325\002\n\rCSGOUserCmdPB\022\035\n\004ba" + "se\030\001 \001(\0132\017.CBaseUserCmdPB\022/\n\rinput_histo" + "ry\030\002 \003(\0132\030.CSGOInputHistoryEntryPB\022\'\n\033at" + "tack1_start_history_index\030\006 \001(\005:\002-1\022\'\n\033a" + "ttack2_start_history_index\030\007 \001(\005:\002-1\022 \n\021" + "left_hand_desired\030\t \001(\010:\005false\022)\n\032is_pre" + "dicting_body_shot_fx\030\013 \001(\010:\005false\022)\n\032is_" + "predicting_head_shot_fx\030\014 \001(\010:\005false\022*\n\033" + "is_predicting_kill_ragdolls\030\r \001(\010:\005false" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fusercmd_2eproto_deps[2] = { + &::descriptor_table_networkbasetypes_2eproto, + &::descriptor_table_usercmd_2eproto, +}; +static ::_pbi::once_flag descriptor_table_cs_5fusercmd_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_cs_5fusercmd_2eproto = { + false, false, 1120, descriptor_table_protodef_cs_5fusercmd_2eproto, + "cs_usercmd.proto", + &descriptor_table_cs_5fusercmd_2eproto_once, descriptor_table_cs_5fusercmd_2eproto_deps, 2, 4, + schemas, file_default_instances, TableStruct_cs_5fusercmd_2eproto::offsets, + file_level_metadata_cs_5fusercmd_2eproto, file_level_enum_descriptors_cs_5fusercmd_2eproto, + file_level_service_descriptors_cs_5fusercmd_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fusercmd_2eproto_getter() { + return &descriptor_table_cs_5fusercmd_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fusercmd_2eproto(&descriptor_table_cs_5fusercmd_2eproto); + +// =================================================================== + +class CSGOInterpolationInfoPB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_src_tick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_dst_tick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_frac(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSGOInterpolationInfoPB::CSGOInterpolationInfoPB(::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:CSGOInterpolationInfoPB) +} +CSGOInterpolationInfoPB::CSGOInterpolationInfoPB(const CSGOInterpolationInfoPB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSGOInterpolationInfoPB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frac_){} + , decltype(_impl_.src_tick_){} + , decltype(_impl_.dst_tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.frac_, &from._impl_.frac_, + static_cast(reinterpret_cast(&_impl_.dst_tick_) - + reinterpret_cast(&_impl_.frac_)) + sizeof(_impl_.dst_tick_)); + // @@protoc_insertion_point(copy_constructor:CSGOInterpolationInfoPB) +} + +inline void CSGOInterpolationInfoPB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frac_){0} + , decltype(_impl_.src_tick_){-1} + , decltype(_impl_.dst_tick_){-1} + }; +} + +CSGOInterpolationInfoPB::~CSGOInterpolationInfoPB() { + // @@protoc_insertion_point(destructor:CSGOInterpolationInfoPB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSGOInterpolationInfoPB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSGOInterpolationInfoPB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSGOInterpolationInfoPB::Clear() { +// @@protoc_insertion_point(message_clear_start:CSGOInterpolationInfoPB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + _impl_.frac_ = 0; + _impl_.src_tick_ = -1; + _impl_.dst_tick_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSGOInterpolationInfoPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 src_tick = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_src_tick(&has_bits); + _impl_.src_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dst_tick = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_dst_tick(&has_bits); + _impl_.dst_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float frac = 3 [default = 0]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frac(&has_bits); + _impl_.frac_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSGOInterpolationInfoPB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSGOInterpolationInfoPB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 src_tick = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_src_tick(), target); + } + + // optional int32 dst_tick = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_dst_tick(), target); + } + + // optional float frac = 3 [default = 0]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frac(), 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:CSGOInterpolationInfoPB) + return target; +} + +size_t CSGOInterpolationInfoPB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSGOInterpolationInfoPB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional float frac = 3 [default = 0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional int32 src_tick = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_src_tick()); + } + + // optional int32 dst_tick = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dst_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInterpolationInfoPB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSGOInterpolationInfoPB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInterpolationInfoPB::GetClassData() const { return &_class_data_; } + + +void CSGOInterpolationInfoPB::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:CSGOInterpolationInfoPB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.frac_ = from._impl_.frac_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.src_tick_ = from._impl_.src_tick_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.dst_tick_ = from._impl_.dst_tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSGOInterpolationInfoPB::CopyFrom(const CSGOInterpolationInfoPB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInterpolationInfoPB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSGOInterpolationInfoPB::IsInitialized() const { + return true; +} + +void CSGOInterpolationInfoPB::InternalSwap(CSGOInterpolationInfoPB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.frac_, other->_impl_.frac_); + swap(_impl_.src_tick_, other->_impl_.src_tick_); + swap(_impl_.dst_tick_, other->_impl_.dst_tick_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSGOInterpolationInfoPB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, + file_level_metadata_cs_5fusercmd_2eproto[0]); +} + +// =================================================================== + +class CSGOInterpolationInfoPB_CL::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_frac(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL(::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:CSGOInterpolationInfoPB_CL) +} +CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL(const CSGOInterpolationInfoPB_CL& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSGOInterpolationInfoPB_CL* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frac_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.frac_ = from._impl_.frac_; + // @@protoc_insertion_point(copy_constructor:CSGOInterpolationInfoPB_CL) +} + +inline void CSGOInterpolationInfoPB_CL::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frac_){0} + }; +} + +CSGOInterpolationInfoPB_CL::~CSGOInterpolationInfoPB_CL() { + // @@protoc_insertion_point(destructor:CSGOInterpolationInfoPB_CL) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSGOInterpolationInfoPB_CL::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSGOInterpolationInfoPB_CL::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSGOInterpolationInfoPB_CL::Clear() { +// @@protoc_insertion_point(message_clear_start:CSGOInterpolationInfoPB_CL) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.frac_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSGOInterpolationInfoPB_CL::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float frac = 3 [default = 0]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frac(&has_bits); + _impl_.frac_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSGOInterpolationInfoPB_CL::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSGOInterpolationInfoPB_CL) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float frac = 3 [default = 0]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frac(), 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:CSGOInterpolationInfoPB_CL) + return target; +} + +size_t CSGOInterpolationInfoPB_CL::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSGOInterpolationInfoPB_CL) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float frac = 3 [default = 0]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInterpolationInfoPB_CL::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSGOInterpolationInfoPB_CL::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInterpolationInfoPB_CL::GetClassData() const { return &_class_data_; } + + +void CSGOInterpolationInfoPB_CL::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:CSGOInterpolationInfoPB_CL) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_frac()) { + _this->_internal_set_frac(from._internal_frac()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSGOInterpolationInfoPB_CL::CopyFrom(const CSGOInterpolationInfoPB_CL& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInterpolationInfoPB_CL) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSGOInterpolationInfoPB_CL::IsInitialized() const { + return true; +} + +void CSGOInterpolationInfoPB_CL::InternalSwap(CSGOInterpolationInfoPB_CL* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.frac_, other->_impl_.frac_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSGOInterpolationInfoPB_CL::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, + file_level_metadata_cs_5fusercmd_2eproto[1]); +} + +// =================================================================== + +class CSGOInputHistoryEntryPB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgQAngle& view_angles(const CSGOInputHistoryEntryPB* msg); + static void set_has_view_angles(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_render_tick_count(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_render_tick_fraction(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_player_tick_count(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_player_tick_fraction(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static const ::CSGOInterpolationInfoPB_CL& cl_interp(const CSGOInputHistoryEntryPB* msg); + static void set_has_cl_interp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CSGOInterpolationInfoPB& sv_interp0(const CSGOInputHistoryEntryPB* msg); + static void set_has_sv_interp0(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CSGOInterpolationInfoPB& sv_interp1(const CSGOInputHistoryEntryPB* msg); + static void set_has_sv_interp1(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CSGOInterpolationInfoPB& player_interp(const CSGOInputHistoryEntryPB* msg); + static void set_has_player_interp(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_frame_number(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_target_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static const ::CMsgVector& shoot_position(const CSGOInputHistoryEntryPB* msg); + static void set_has_shoot_position(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgVector& target_head_pos_check(const CSGOInputHistoryEntryPB* msg); + static void set_has_target_head_pos_check(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgVector& target_abs_pos_check(const CSGOInputHistoryEntryPB* msg); + static void set_has_target_abs_pos_check(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgQAngle& target_abs_ang_check(const CSGOInputHistoryEntryPB* msg); + static void set_has_target_abs_ang_check(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +const ::CMsgQAngle& +CSGOInputHistoryEntryPB::_Internal::view_angles(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.view_angles_; +} +const ::CSGOInterpolationInfoPB_CL& +CSGOInputHistoryEntryPB::_Internal::cl_interp(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.cl_interp_; +} +const ::CSGOInterpolationInfoPB& +CSGOInputHistoryEntryPB::_Internal::sv_interp0(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.sv_interp0_; +} +const ::CSGOInterpolationInfoPB& +CSGOInputHistoryEntryPB::_Internal::sv_interp1(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.sv_interp1_; +} +const ::CSGOInterpolationInfoPB& +CSGOInputHistoryEntryPB::_Internal::player_interp(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.player_interp_; +} +const ::CMsgVector& +CSGOInputHistoryEntryPB::_Internal::shoot_position(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.shoot_position_; +} +const ::CMsgVector& +CSGOInputHistoryEntryPB::_Internal::target_head_pos_check(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.target_head_pos_check_; +} +const ::CMsgVector& +CSGOInputHistoryEntryPB::_Internal::target_abs_pos_check(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.target_abs_pos_check_; +} +const ::CMsgQAngle& +CSGOInputHistoryEntryPB::_Internal::target_abs_ang_check(const CSGOInputHistoryEntryPB* msg) { + return *msg->_impl_.target_abs_ang_check_; +} +void CSGOInputHistoryEntryPB::clear_view_angles() { + if (_impl_.view_angles_ != nullptr) _impl_.view_angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CSGOInputHistoryEntryPB::clear_shoot_position() { + if (_impl_.shoot_position_ != nullptr) _impl_.shoot_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +void CSGOInputHistoryEntryPB::clear_target_head_pos_check() { + if (_impl_.target_head_pos_check_ != nullptr) _impl_.target_head_pos_check_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +void CSGOInputHistoryEntryPB::clear_target_abs_pos_check() { + if (_impl_.target_abs_pos_check_ != nullptr) _impl_.target_abs_pos_check_->Clear(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +void CSGOInputHistoryEntryPB::clear_target_abs_ang_check() { + if (_impl_.target_abs_ang_check_ != nullptr) _impl_.target_abs_ang_check_->Clear(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB(::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:CSGOInputHistoryEntryPB) +} +CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB(const CSGOInputHistoryEntryPB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSGOInputHistoryEntryPB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.view_angles_){nullptr} + , decltype(_impl_.cl_interp_){nullptr} + , decltype(_impl_.sv_interp0_){nullptr} + , decltype(_impl_.sv_interp1_){nullptr} + , decltype(_impl_.player_interp_){nullptr} + , decltype(_impl_.shoot_position_){nullptr} + , decltype(_impl_.target_head_pos_check_){nullptr} + , decltype(_impl_.target_abs_pos_check_){nullptr} + , decltype(_impl_.target_abs_ang_check_){nullptr} + , decltype(_impl_.render_tick_count_){} + , decltype(_impl_.render_tick_fraction_){} + , decltype(_impl_.player_tick_count_){} + , decltype(_impl_.player_tick_fraction_){} + , decltype(_impl_.frame_number_){} + , decltype(_impl_.target_ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_view_angles()) { + _this->_impl_.view_angles_ = new ::CMsgQAngle(*from._impl_.view_angles_); + } + if (from._internal_has_cl_interp()) { + _this->_impl_.cl_interp_ = new ::CSGOInterpolationInfoPB_CL(*from._impl_.cl_interp_); + } + if (from._internal_has_sv_interp0()) { + _this->_impl_.sv_interp0_ = new ::CSGOInterpolationInfoPB(*from._impl_.sv_interp0_); + } + if (from._internal_has_sv_interp1()) { + _this->_impl_.sv_interp1_ = new ::CSGOInterpolationInfoPB(*from._impl_.sv_interp1_); + } + if (from._internal_has_player_interp()) { + _this->_impl_.player_interp_ = new ::CSGOInterpolationInfoPB(*from._impl_.player_interp_); + } + if (from._internal_has_shoot_position()) { + _this->_impl_.shoot_position_ = new ::CMsgVector(*from._impl_.shoot_position_); + } + if (from._internal_has_target_head_pos_check()) { + _this->_impl_.target_head_pos_check_ = new ::CMsgVector(*from._impl_.target_head_pos_check_); + } + if (from._internal_has_target_abs_pos_check()) { + _this->_impl_.target_abs_pos_check_ = new ::CMsgVector(*from._impl_.target_abs_pos_check_); + } + if (from._internal_has_target_abs_ang_check()) { + _this->_impl_.target_abs_ang_check_ = new ::CMsgQAngle(*from._impl_.target_abs_ang_check_); + } + ::memcpy(&_impl_.render_tick_count_, &from._impl_.render_tick_count_, + static_cast(reinterpret_cast(&_impl_.target_ent_index_) - + reinterpret_cast(&_impl_.render_tick_count_)) + sizeof(_impl_.target_ent_index_)); + // @@protoc_insertion_point(copy_constructor:CSGOInputHistoryEntryPB) +} + +inline void CSGOInputHistoryEntryPB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.view_angles_){nullptr} + , decltype(_impl_.cl_interp_){nullptr} + , decltype(_impl_.sv_interp0_){nullptr} + , decltype(_impl_.sv_interp1_){nullptr} + , decltype(_impl_.player_interp_){nullptr} + , decltype(_impl_.shoot_position_){nullptr} + , decltype(_impl_.target_head_pos_check_){nullptr} + , decltype(_impl_.target_abs_pos_check_){nullptr} + , decltype(_impl_.target_abs_ang_check_){nullptr} + , decltype(_impl_.render_tick_count_){0} + , decltype(_impl_.render_tick_fraction_){0} + , decltype(_impl_.player_tick_count_){0} + , decltype(_impl_.player_tick_fraction_){0} + , decltype(_impl_.frame_number_){0} + , decltype(_impl_.target_ent_index_){-1} + }; +} + +CSGOInputHistoryEntryPB::~CSGOInputHistoryEntryPB() { + // @@protoc_insertion_point(destructor:CSGOInputHistoryEntryPB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSGOInputHistoryEntryPB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.view_angles_; + if (this != internal_default_instance()) delete _impl_.cl_interp_; + if (this != internal_default_instance()) delete _impl_.sv_interp0_; + if (this != internal_default_instance()) delete _impl_.sv_interp1_; + if (this != internal_default_instance()) delete _impl_.player_interp_; + if (this != internal_default_instance()) delete _impl_.shoot_position_; + if (this != internal_default_instance()) delete _impl_.target_head_pos_check_; + if (this != internal_default_instance()) delete _impl_.target_abs_pos_check_; + if (this != internal_default_instance()) delete _impl_.target_abs_ang_check_; +} + +void CSGOInputHistoryEntryPB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSGOInputHistoryEntryPB::Clear() { +// @@protoc_insertion_point(message_clear_start:CSGOInputHistoryEntryPB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.view_angles_ != nullptr); + _impl_.view_angles_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cl_interp_ != nullptr); + _impl_.cl_interp_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.sv_interp0_ != nullptr); + _impl_.sv_interp0_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.sv_interp1_ != nullptr); + _impl_.sv_interp1_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.player_interp_ != nullptr); + _impl_.player_interp_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.shoot_position_ != nullptr); + _impl_.shoot_position_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.target_head_pos_check_ != nullptr); + _impl_.target_head_pos_check_->Clear(); + } + if (cached_has_bits & 0x00000080u) { + GOOGLE_DCHECK(_impl_.target_abs_pos_check_ != nullptr); + _impl_.target_abs_pos_check_->Clear(); + } + } + if (cached_has_bits & 0x00000100u) { + GOOGLE_DCHECK(_impl_.target_abs_ang_check_ != nullptr); + _impl_.target_abs_ang_check_->Clear(); + } + if (cached_has_bits & 0x00007e00u) { + ::memset(&_impl_.render_tick_count_, 0, static_cast( + reinterpret_cast(&_impl_.frame_number_) - + reinterpret_cast(&_impl_.render_tick_count_)) + sizeof(_impl_.frame_number_)); + _impl_.target_ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSGOInputHistoryEntryPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgQAngle view_angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_view_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 render_tick_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_render_tick_count(&has_bits); + _impl_.render_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float render_tick_fraction = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_render_tick_fraction(&has_bits); + _impl_.render_tick_fraction_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 player_tick_count = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_player_tick_count(&has_bits); + _impl_.player_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float player_tick_fraction = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_player_tick_fraction(&has_bits); + _impl_.player_tick_fraction_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_cl_interp(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSGOInterpolationInfoPB sv_interp0 = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_sv_interp0(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSGOInterpolationInfoPB sv_interp1 = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_sv_interp1(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSGOInterpolationInfoPB player_interp = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ctx->ParseMessage(_internal_mutable_player_interp(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 frame_number = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_frame_number(&has_bits); + _impl_.frame_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 target_ent_index = 65 [default = -1]; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_target_ent_index(&has_bits); + _impl_.target_ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector shoot_position = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_shoot_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector target_head_pos_check = 67; + case 67: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_target_head_pos_check(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector target_abs_pos_check = 68; + case 68: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_target_abs_pos_check(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle target_abs_ang_check = 69; + case 69: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_target_abs_ang_check(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSGOInputHistoryEntryPB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSGOInputHistoryEntryPB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgQAngle view_angles = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::view_angles(this), + _Internal::view_angles(this).GetCachedSize(), target, stream); + } + + // optional int32 render_tick_count = 4; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_render_tick_count(), target); + } + + // optional float render_tick_fraction = 5; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_render_tick_fraction(), target); + } + + // optional int32 player_tick_count = 6; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_player_tick_count(), target); + } + + // optional float player_tick_fraction = 7; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_player_tick_fraction(), target); + } + + // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::cl_interp(this), + _Internal::cl_interp(this).GetCachedSize(), target, stream); + } + + // optional .CSGOInterpolationInfoPB sv_interp0 = 13; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::sv_interp0(this), + _Internal::sv_interp0(this).GetCachedSize(), target, stream); + } + + // optional .CSGOInterpolationInfoPB sv_interp1 = 14; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, _Internal::sv_interp1(this), + _Internal::sv_interp1(this).GetCachedSize(), target, stream); + } + + // optional .CSGOInterpolationInfoPB player_interp = 15; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, _Internal::player_interp(this), + _Internal::player_interp(this).GetCachedSize(), target, stream); + } + + // optional int32 frame_number = 64; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(64, this->_internal_frame_number(), target); + } + + // optional int32 target_ent_index = 65 [default = -1]; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(65, this->_internal_target_ent_index(), target); + } + + // optional .CMsgVector shoot_position = 66; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(66, _Internal::shoot_position(this), + _Internal::shoot_position(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector target_head_pos_check = 67; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(67, _Internal::target_head_pos_check(this), + _Internal::target_head_pos_check(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector target_abs_pos_check = 68; + if (cached_has_bits & 0x00000080u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(68, _Internal::target_abs_pos_check(this), + _Internal::target_abs_pos_check(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle target_abs_ang_check = 69; + if (cached_has_bits & 0x00000100u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(69, _Internal::target_abs_ang_check(this), + _Internal::target_abs_ang_check(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:CSGOInputHistoryEntryPB) + return target; +} + +size_t CSGOInputHistoryEntryPB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSGOInputHistoryEntryPB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgQAngle view_angles = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.view_angles_); + } + + // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cl_interp_); + } + + // optional .CSGOInterpolationInfoPB sv_interp0 = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sv_interp0_); + } + + // optional .CSGOInterpolationInfoPB sv_interp1 = 14; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sv_interp1_); + } + + // optional .CSGOInterpolationInfoPB player_interp = 15; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_interp_); + } + + // optional .CMsgVector shoot_position = 66; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shoot_position_); + } + + // optional .CMsgVector target_head_pos_check = 67; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_head_pos_check_); + } + + // optional .CMsgVector target_abs_pos_check = 68; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_abs_pos_check_); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional .CMsgQAngle target_abs_ang_check = 69; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_abs_ang_check_); + } + + // optional int32 render_tick_count = 4; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_render_tick_count()); + } + + // optional float render_tick_fraction = 5; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional int32 player_tick_count = 6; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_tick_count()); + } + + // optional float player_tick_fraction = 7; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 4; + } + + // optional int32 frame_number = 64; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_frame_number()); + } + + // optional int32 target_ent_index = 65 [default = -1]; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_target_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInputHistoryEntryPB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSGOInputHistoryEntryPB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInputHistoryEntryPB::GetClassData() const { return &_class_data_; } + + +void CSGOInputHistoryEntryPB::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:CSGOInputHistoryEntryPB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_view_angles()->::CMsgQAngle::MergeFrom( + from._internal_view_angles()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cl_interp()->::CSGOInterpolationInfoPB_CL::MergeFrom( + from._internal_cl_interp()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_sv_interp0()->::CSGOInterpolationInfoPB::MergeFrom( + from._internal_sv_interp0()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_sv_interp1()->::CSGOInterpolationInfoPB::MergeFrom( + from._internal_sv_interp1()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_player_interp()->::CSGOInterpolationInfoPB::MergeFrom( + from._internal_player_interp()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_shoot_position()->::CMsgVector::MergeFrom( + from._internal_shoot_position()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_target_head_pos_check()->::CMsgVector::MergeFrom( + from._internal_target_head_pos_check()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_mutable_target_abs_pos_check()->::CMsgVector::MergeFrom( + from._internal_target_abs_pos_check()); + } + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_mutable_target_abs_ang_check()->::CMsgQAngle::MergeFrom( + from._internal_target_abs_ang_check()); + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.render_tick_count_ = from._impl_.render_tick_count_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.render_tick_fraction_ = from._impl_.render_tick_fraction_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.player_tick_count_ = from._impl_.player_tick_count_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.player_tick_fraction_ = from._impl_.player_tick_fraction_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.frame_number_ = from._impl_.frame_number_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.target_ent_index_ = from._impl_.target_ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSGOInputHistoryEntryPB::CopyFrom(const CSGOInputHistoryEntryPB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInputHistoryEntryPB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSGOInputHistoryEntryPB::IsInitialized() const { + return true; +} + +void CSGOInputHistoryEntryPB::InternalSwap(CSGOInputHistoryEntryPB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSGOInputHistoryEntryPB, _impl_.frame_number_) + + sizeof(CSGOInputHistoryEntryPB::_impl_.frame_number_) + - PROTOBUF_FIELD_OFFSET(CSGOInputHistoryEntryPB, _impl_.view_angles_)>( + reinterpret_cast(&_impl_.view_angles_), + reinterpret_cast(&other->_impl_.view_angles_)); + swap(_impl_.target_ent_index_, other->_impl_.target_ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSGOInputHistoryEntryPB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, + file_level_metadata_cs_5fusercmd_2eproto[2]); +} + +// =================================================================== + +class CSGOUserCmdPB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CBaseUserCmdPB& base(const CSGOUserCmdPB* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_attack1_start_history_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_attack2_start_history_index(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_left_hand_desired(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_is_predicting_body_shot_fx(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_is_predicting_head_shot_fx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_predicting_kill_ragdolls(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CBaseUserCmdPB& +CSGOUserCmdPB::_Internal::base(const CSGOUserCmdPB* msg) { + return *msg->_impl_.base_; +} +void CSGOUserCmdPB::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CSGOUserCmdPB::CSGOUserCmdPB(::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:CSGOUserCmdPB) +} +CSGOUserCmdPB::CSGOUserCmdPB(const CSGOUserCmdPB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSGOUserCmdPB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.input_history_){from._impl_.input_history_} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.left_hand_desired_){} + , decltype(_impl_.is_predicting_body_shot_fx_){} + , decltype(_impl_.is_predicting_head_shot_fx_){} + , decltype(_impl_.is_predicting_kill_ragdolls_){} + , decltype(_impl_.attack1_start_history_index_){} + , decltype(_impl_.attack2_start_history_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CBaseUserCmdPB(*from._impl_.base_); + } + ::memcpy(&_impl_.left_hand_desired_, &from._impl_.left_hand_desired_, + static_cast(reinterpret_cast(&_impl_.attack2_start_history_index_) - + reinterpret_cast(&_impl_.left_hand_desired_)) + sizeof(_impl_.attack2_start_history_index_)); + // @@protoc_insertion_point(copy_constructor:CSGOUserCmdPB) +} + +inline void CSGOUserCmdPB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.input_history_){arena} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.left_hand_desired_){false} + , decltype(_impl_.is_predicting_body_shot_fx_){false} + , decltype(_impl_.is_predicting_head_shot_fx_){false} + , decltype(_impl_.is_predicting_kill_ragdolls_){false} + , decltype(_impl_.attack1_start_history_index_){-1} + , decltype(_impl_.attack2_start_history_index_){-1} + }; +} + +CSGOUserCmdPB::~CSGOUserCmdPB() { + // @@protoc_insertion_point(destructor:CSGOUserCmdPB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSGOUserCmdPB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.input_history_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.base_; +} + +void CSGOUserCmdPB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSGOUserCmdPB::Clear() { +// @@protoc_insertion_point(message_clear_start:CSGOUserCmdPB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.input_history_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + ::memset(&_impl_.left_hand_desired_, 0, static_cast( + reinterpret_cast(&_impl_.is_predicting_kill_ragdolls_) - + reinterpret_cast(&_impl_.left_hand_desired_)) + sizeof(_impl_.is_predicting_kill_ragdolls_)); + if (cached_has_bits & 0x00000060u) { + _impl_.attack1_start_history_index_ = -1; + _impl_.attack2_start_history_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSGOUserCmdPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CBaseUserCmdPB base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSGOInputHistoryEntryPB input_history = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_input_history(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 attack1_start_history_index = 6 [default = -1]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_attack1_start_history_index(&has_bits); + _impl_.attack1_start_history_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attack2_start_history_index = 7 [default = -1]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_attack2_start_history_index(&has_bits); + _impl_.attack2_start_history_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool left_hand_desired = 9 [default = false]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_left_hand_desired(&has_bits); + _impl_.left_hand_desired_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_predicting_body_shot_fx = 11 [default = false]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_is_predicting_body_shot_fx(&has_bits); + _impl_.is_predicting_body_shot_fx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_predicting_head_shot_fx = 12 [default = false]; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_is_predicting_head_shot_fx(&has_bits); + _impl_.is_predicting_head_shot_fx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_predicting_kill_ragdolls = 13 [default = false]; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_is_predicting_kill_ragdolls(&has_bits); + _impl_.is_predicting_kill_ragdolls_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSGOUserCmdPB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSGOUserCmdPB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CBaseUserCmdPB base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(this).GetCachedSize(), target, stream); + } + + // repeated .CSGOInputHistoryEntryPB input_history = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_input_history_size()); i < n; i++) { + const auto& repfield = this->_internal_input_history(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 attack1_start_history_index = 6 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_attack1_start_history_index(), target); + } + + // optional int32 attack2_start_history_index = 7 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_attack2_start_history_index(), target); + } + + // optional bool left_hand_desired = 9 [default = false]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_left_hand_desired(), target); + } + + // optional bool is_predicting_body_shot_fx = 11 [default = false]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_is_predicting_body_shot_fx(), target); + } + + // optional bool is_predicting_head_shot_fx = 12 [default = false]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_is_predicting_head_shot_fx(), target); + } + + // optional bool is_predicting_kill_ragdolls = 13 [default = false]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_is_predicting_kill_ragdolls(), 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:CSGOUserCmdPB) + return target; +} + +size_t CSGOUserCmdPB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSGOUserCmdPB) + 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 .CSGOInputHistoryEntryPB input_history = 2; + total_size += 1UL * this->_internal_input_history_size(); + for (const auto& msg : this->_impl_.input_history_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional .CBaseUserCmdPB base = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + // optional bool left_hand_desired = 9 [default = false]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool is_predicting_body_shot_fx = 11 [default = false]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool is_predicting_head_shot_fx = 12 [default = false]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool is_predicting_kill_ragdolls = 13 [default = false]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional int32 attack1_start_history_index = 6 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attack1_start_history_index()); + } + + // optional int32 attack2_start_history_index = 7 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attack2_start_history_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOUserCmdPB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSGOUserCmdPB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOUserCmdPB::GetClassData() const { return &_class_data_; } + + +void CSGOUserCmdPB::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:CSGOUserCmdPB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.input_history_.MergeFrom(from._impl_.input_history_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_base()->::CBaseUserCmdPB::MergeFrom( + from._internal_base()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.left_hand_desired_ = from._impl_.left_hand_desired_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.is_predicting_body_shot_fx_ = from._impl_.is_predicting_body_shot_fx_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_predicting_head_shot_fx_ = from._impl_.is_predicting_head_shot_fx_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_predicting_kill_ragdolls_ = from._impl_.is_predicting_kill_ragdolls_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.attack1_start_history_index_ = from._impl_.attack1_start_history_index_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.attack2_start_history_index_ = from._impl_.attack2_start_history_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSGOUserCmdPB::CopyFrom(const CSGOUserCmdPB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSGOUserCmdPB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSGOUserCmdPB::IsInitialized() const { + return true; +} + +void CSGOUserCmdPB::InternalSwap(CSGOUserCmdPB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.input_history_.InternalSwap(&other->_impl_.input_history_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSGOUserCmdPB, _impl_.is_predicting_kill_ragdolls_) + + sizeof(CSGOUserCmdPB::_impl_.is_predicting_kill_ragdolls_) + - PROTOBUF_FIELD_OFFSET(CSGOUserCmdPB, _impl_.base_)>( + reinterpret_cast(&_impl_.base_), + reinterpret_cast(&other->_impl_.base_)); + swap(_impl_.attack1_start_history_index_, other->_impl_.attack1_start_history_index_); + swap(_impl_.attack2_start_history_index_, other->_impl_.attack2_start_history_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSGOUserCmdPB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, + file_level_metadata_cs_5fusercmd_2eproto[3]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CSGOInterpolationInfoPB* +Arena::CreateMaybeMessage< ::CSGOInterpolationInfoPB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSGOInterpolationInfoPB >(arena); +} +template<> PROTOBUF_NOINLINE ::CSGOInterpolationInfoPB_CL* +Arena::CreateMaybeMessage< ::CSGOInterpolationInfoPB_CL >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSGOInterpolationInfoPB_CL >(arena); +} +template<> PROTOBUF_NOINLINE ::CSGOInputHistoryEntryPB* +Arena::CreateMaybeMessage< ::CSGOInputHistoryEntryPB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSGOInputHistoryEntryPB >(arena); +} +template<> PROTOBUF_NOINLINE ::CSGOUserCmdPB* +Arena::CreateMaybeMessage< ::CSGOUserCmdPB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSGOUserCmdPB >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.h new file mode 100644 index 0000000..7391be9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cs_usercmd.pb.h @@ -0,0 +1,2517 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_usercmd.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "networkbasetypes.pb.h" +#include "usercmd.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_cs_5fusercmd_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_cs_5fusercmd_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fusercmd_2eproto; +class CSGOInputHistoryEntryPB; +struct CSGOInputHistoryEntryPBDefaultTypeInternal; +extern CSGOInputHistoryEntryPBDefaultTypeInternal _CSGOInputHistoryEntryPB_default_instance_; +class CSGOInterpolationInfoPB; +struct CSGOInterpolationInfoPBDefaultTypeInternal; +extern CSGOInterpolationInfoPBDefaultTypeInternal _CSGOInterpolationInfoPB_default_instance_; +class CSGOInterpolationInfoPB_CL; +struct CSGOInterpolationInfoPB_CLDefaultTypeInternal; +extern CSGOInterpolationInfoPB_CLDefaultTypeInternal _CSGOInterpolationInfoPB_CL_default_instance_; +class CSGOUserCmdPB; +struct CSGOUserCmdPBDefaultTypeInternal; +extern CSGOUserCmdPBDefaultTypeInternal _CSGOUserCmdPB_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CSGOInputHistoryEntryPB* Arena::CreateMaybeMessage<::CSGOInputHistoryEntryPB>(Arena*); +template<> ::CSGOInterpolationInfoPB* Arena::CreateMaybeMessage<::CSGOInterpolationInfoPB>(Arena*); +template<> ::CSGOInterpolationInfoPB_CL* Arena::CreateMaybeMessage<::CSGOInterpolationInfoPB_CL>(Arena*); +template<> ::CSGOUserCmdPB* Arena::CreateMaybeMessage<::CSGOUserCmdPB>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CSGOInterpolationInfoPB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInterpolationInfoPB) */ { + public: + inline CSGOInterpolationInfoPB() : CSGOInterpolationInfoPB(nullptr) {} + ~CSGOInterpolationInfoPB() override; + explicit PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSGOInterpolationInfoPB(const CSGOInterpolationInfoPB& from); + CSGOInterpolationInfoPB(CSGOInterpolationInfoPB&& from) noexcept + : CSGOInterpolationInfoPB() { + *this = ::std::move(from); + } + + inline CSGOInterpolationInfoPB& operator=(const CSGOInterpolationInfoPB& from) { + CopyFrom(from); + return *this; + } + inline CSGOInterpolationInfoPB& operator=(CSGOInterpolationInfoPB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSGOInterpolationInfoPB& default_instance() { + return *internal_default_instance(); + } + static inline const CSGOInterpolationInfoPB* internal_default_instance() { + return reinterpret_cast( + &_CSGOInterpolationInfoPB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CSGOInterpolationInfoPB& a, CSGOInterpolationInfoPB& b) { + a.Swap(&b); + } + inline void Swap(CSGOInterpolationInfoPB* 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(CSGOInterpolationInfoPB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSGOInterpolationInfoPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSGOInterpolationInfoPB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSGOInterpolationInfoPB& from) { + CSGOInterpolationInfoPB::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(CSGOInterpolationInfoPB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSGOInterpolationInfoPB"; + } + protected: + explicit CSGOInterpolationInfoPB(::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 { + kFracFieldNumber = 3, + kSrcTickFieldNumber = 1, + kDstTickFieldNumber = 2, + }; + // optional float frac = 3 [default = 0]; + bool has_frac() const; + private: + bool _internal_has_frac() const; + public: + void clear_frac(); + float frac() const; + void set_frac(float value); + private: + float _internal_frac() const; + void _internal_set_frac(float value); + public: + + // optional int32 src_tick = 1 [default = -1]; + bool has_src_tick() const; + private: + bool _internal_has_src_tick() const; + public: + void clear_src_tick(); + int32_t src_tick() const; + void set_src_tick(int32_t value); + private: + int32_t _internal_src_tick() const; + void _internal_set_src_tick(int32_t value); + public: + + // optional int32 dst_tick = 2 [default = -1]; + bool has_dst_tick() const; + private: + bool _internal_has_dst_tick() const; + public: + void clear_dst_tick(); + int32_t dst_tick() const; + void set_dst_tick(int32_t value); + private: + int32_t _internal_dst_tick() const; + void _internal_set_dst_tick(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSGOInterpolationInfoPB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float frac_; + int32_t src_tick_; + int32_t dst_tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fusercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CSGOInterpolationInfoPB_CL final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInterpolationInfoPB_CL) */ { + public: + inline CSGOInterpolationInfoPB_CL() : CSGOInterpolationInfoPB_CL(nullptr) {} + ~CSGOInterpolationInfoPB_CL() override; + explicit PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CL(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSGOInterpolationInfoPB_CL(const CSGOInterpolationInfoPB_CL& from); + CSGOInterpolationInfoPB_CL(CSGOInterpolationInfoPB_CL&& from) noexcept + : CSGOInterpolationInfoPB_CL() { + *this = ::std::move(from); + } + + inline CSGOInterpolationInfoPB_CL& operator=(const CSGOInterpolationInfoPB_CL& from) { + CopyFrom(from); + return *this; + } + inline CSGOInterpolationInfoPB_CL& operator=(CSGOInterpolationInfoPB_CL&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSGOInterpolationInfoPB_CL& default_instance() { + return *internal_default_instance(); + } + static inline const CSGOInterpolationInfoPB_CL* internal_default_instance() { + return reinterpret_cast( + &_CSGOInterpolationInfoPB_CL_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CSGOInterpolationInfoPB_CL& a, CSGOInterpolationInfoPB_CL& b) { + a.Swap(&b); + } + inline void Swap(CSGOInterpolationInfoPB_CL* 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(CSGOInterpolationInfoPB_CL* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSGOInterpolationInfoPB_CL* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSGOInterpolationInfoPB_CL& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSGOInterpolationInfoPB_CL& from) { + CSGOInterpolationInfoPB_CL::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(CSGOInterpolationInfoPB_CL* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSGOInterpolationInfoPB_CL"; + } + protected: + explicit CSGOInterpolationInfoPB_CL(::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 { + kFracFieldNumber = 3, + }; + // optional float frac = 3 [default = 0]; + bool has_frac() const; + private: + bool _internal_has_frac() const; + public: + void clear_frac(); + float frac() const; + void set_frac(float value); + private: + float _internal_frac() const; + void _internal_set_frac(float value); + public: + + // @@protoc_insertion_point(class_scope:CSGOInterpolationInfoPB_CL) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float frac_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fusercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CSGOInputHistoryEntryPB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInputHistoryEntryPB) */ { + public: + inline CSGOInputHistoryEntryPB() : CSGOInputHistoryEntryPB(nullptr) {} + ~CSGOInputHistoryEntryPB() override; + explicit PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSGOInputHistoryEntryPB(const CSGOInputHistoryEntryPB& from); + CSGOInputHistoryEntryPB(CSGOInputHistoryEntryPB&& from) noexcept + : CSGOInputHistoryEntryPB() { + *this = ::std::move(from); + } + + inline CSGOInputHistoryEntryPB& operator=(const CSGOInputHistoryEntryPB& from) { + CopyFrom(from); + return *this; + } + inline CSGOInputHistoryEntryPB& operator=(CSGOInputHistoryEntryPB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSGOInputHistoryEntryPB& default_instance() { + return *internal_default_instance(); + } + static inline const CSGOInputHistoryEntryPB* internal_default_instance() { + return reinterpret_cast( + &_CSGOInputHistoryEntryPB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CSGOInputHistoryEntryPB& a, CSGOInputHistoryEntryPB& b) { + a.Swap(&b); + } + inline void Swap(CSGOInputHistoryEntryPB* 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(CSGOInputHistoryEntryPB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSGOInputHistoryEntryPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSGOInputHistoryEntryPB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSGOInputHistoryEntryPB& from) { + CSGOInputHistoryEntryPB::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(CSGOInputHistoryEntryPB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSGOInputHistoryEntryPB"; + } + protected: + explicit CSGOInputHistoryEntryPB(::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 { + kViewAnglesFieldNumber = 2, + kClInterpFieldNumber = 12, + kSvInterp0FieldNumber = 13, + kSvInterp1FieldNumber = 14, + kPlayerInterpFieldNumber = 15, + kShootPositionFieldNumber = 66, + kTargetHeadPosCheckFieldNumber = 67, + kTargetAbsPosCheckFieldNumber = 68, + kTargetAbsAngCheckFieldNumber = 69, + kRenderTickCountFieldNumber = 4, + kRenderTickFractionFieldNumber = 5, + kPlayerTickCountFieldNumber = 6, + kPlayerTickFractionFieldNumber = 7, + kFrameNumberFieldNumber = 64, + kTargetEntIndexFieldNumber = 65, + }; + // optional .CMsgQAngle view_angles = 2; + bool has_view_angles() const; + private: + bool _internal_has_view_angles() const; + public: + void clear_view_angles(); + const ::CMsgQAngle& view_angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_view_angles(); + ::CMsgQAngle* mutable_view_angles(); + void set_allocated_view_angles(::CMsgQAngle* view_angles); + private: + const ::CMsgQAngle& _internal_view_angles() const; + ::CMsgQAngle* _internal_mutable_view_angles(); + public: + void unsafe_arena_set_allocated_view_angles( + ::CMsgQAngle* view_angles); + ::CMsgQAngle* unsafe_arena_release_view_angles(); + + // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; + bool has_cl_interp() const; + private: + bool _internal_has_cl_interp() const; + public: + void clear_cl_interp(); + const ::CSGOInterpolationInfoPB_CL& cl_interp() const; + PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB_CL* release_cl_interp(); + ::CSGOInterpolationInfoPB_CL* mutable_cl_interp(); + void set_allocated_cl_interp(::CSGOInterpolationInfoPB_CL* cl_interp); + private: + const ::CSGOInterpolationInfoPB_CL& _internal_cl_interp() const; + ::CSGOInterpolationInfoPB_CL* _internal_mutable_cl_interp(); + public: + void unsafe_arena_set_allocated_cl_interp( + ::CSGOInterpolationInfoPB_CL* cl_interp); + ::CSGOInterpolationInfoPB_CL* unsafe_arena_release_cl_interp(); + + // optional .CSGOInterpolationInfoPB sv_interp0 = 13; + bool has_sv_interp0() const; + private: + bool _internal_has_sv_interp0() const; + public: + void clear_sv_interp0(); + const ::CSGOInterpolationInfoPB& sv_interp0() const; + PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_sv_interp0(); + ::CSGOInterpolationInfoPB* mutable_sv_interp0(); + void set_allocated_sv_interp0(::CSGOInterpolationInfoPB* sv_interp0); + private: + const ::CSGOInterpolationInfoPB& _internal_sv_interp0() const; + ::CSGOInterpolationInfoPB* _internal_mutable_sv_interp0(); + public: + void unsafe_arena_set_allocated_sv_interp0( + ::CSGOInterpolationInfoPB* sv_interp0); + ::CSGOInterpolationInfoPB* unsafe_arena_release_sv_interp0(); + + // optional .CSGOInterpolationInfoPB sv_interp1 = 14; + bool has_sv_interp1() const; + private: + bool _internal_has_sv_interp1() const; + public: + void clear_sv_interp1(); + const ::CSGOInterpolationInfoPB& sv_interp1() const; + PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_sv_interp1(); + ::CSGOInterpolationInfoPB* mutable_sv_interp1(); + void set_allocated_sv_interp1(::CSGOInterpolationInfoPB* sv_interp1); + private: + const ::CSGOInterpolationInfoPB& _internal_sv_interp1() const; + ::CSGOInterpolationInfoPB* _internal_mutable_sv_interp1(); + public: + void unsafe_arena_set_allocated_sv_interp1( + ::CSGOInterpolationInfoPB* sv_interp1); + ::CSGOInterpolationInfoPB* unsafe_arena_release_sv_interp1(); + + // optional .CSGOInterpolationInfoPB player_interp = 15; + bool has_player_interp() const; + private: + bool _internal_has_player_interp() const; + public: + void clear_player_interp(); + const ::CSGOInterpolationInfoPB& player_interp() const; + PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_player_interp(); + ::CSGOInterpolationInfoPB* mutable_player_interp(); + void set_allocated_player_interp(::CSGOInterpolationInfoPB* player_interp); + private: + const ::CSGOInterpolationInfoPB& _internal_player_interp() const; + ::CSGOInterpolationInfoPB* _internal_mutable_player_interp(); + public: + void unsafe_arena_set_allocated_player_interp( + ::CSGOInterpolationInfoPB* player_interp); + ::CSGOInterpolationInfoPB* unsafe_arena_release_player_interp(); + + // optional .CMsgVector shoot_position = 66; + bool has_shoot_position() const; + private: + bool _internal_has_shoot_position() const; + public: + void clear_shoot_position(); + const ::CMsgVector& shoot_position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_shoot_position(); + ::CMsgVector* mutable_shoot_position(); + void set_allocated_shoot_position(::CMsgVector* shoot_position); + private: + const ::CMsgVector& _internal_shoot_position() const; + ::CMsgVector* _internal_mutable_shoot_position(); + public: + void unsafe_arena_set_allocated_shoot_position( + ::CMsgVector* shoot_position); + ::CMsgVector* unsafe_arena_release_shoot_position(); + + // optional .CMsgVector target_head_pos_check = 67; + bool has_target_head_pos_check() const; + private: + bool _internal_has_target_head_pos_check() const; + public: + void clear_target_head_pos_check(); + const ::CMsgVector& target_head_pos_check() const; + PROTOBUF_NODISCARD ::CMsgVector* release_target_head_pos_check(); + ::CMsgVector* mutable_target_head_pos_check(); + void set_allocated_target_head_pos_check(::CMsgVector* target_head_pos_check); + private: + const ::CMsgVector& _internal_target_head_pos_check() const; + ::CMsgVector* _internal_mutable_target_head_pos_check(); + public: + void unsafe_arena_set_allocated_target_head_pos_check( + ::CMsgVector* target_head_pos_check); + ::CMsgVector* unsafe_arena_release_target_head_pos_check(); + + // optional .CMsgVector target_abs_pos_check = 68; + bool has_target_abs_pos_check() const; + private: + bool _internal_has_target_abs_pos_check() const; + public: + void clear_target_abs_pos_check(); + const ::CMsgVector& target_abs_pos_check() const; + PROTOBUF_NODISCARD ::CMsgVector* release_target_abs_pos_check(); + ::CMsgVector* mutable_target_abs_pos_check(); + void set_allocated_target_abs_pos_check(::CMsgVector* target_abs_pos_check); + private: + const ::CMsgVector& _internal_target_abs_pos_check() const; + ::CMsgVector* _internal_mutable_target_abs_pos_check(); + public: + void unsafe_arena_set_allocated_target_abs_pos_check( + ::CMsgVector* target_abs_pos_check); + ::CMsgVector* unsafe_arena_release_target_abs_pos_check(); + + // optional .CMsgQAngle target_abs_ang_check = 69; + bool has_target_abs_ang_check() const; + private: + bool _internal_has_target_abs_ang_check() const; + public: + void clear_target_abs_ang_check(); + const ::CMsgQAngle& target_abs_ang_check() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_target_abs_ang_check(); + ::CMsgQAngle* mutable_target_abs_ang_check(); + void set_allocated_target_abs_ang_check(::CMsgQAngle* target_abs_ang_check); + private: + const ::CMsgQAngle& _internal_target_abs_ang_check() const; + ::CMsgQAngle* _internal_mutable_target_abs_ang_check(); + public: + void unsafe_arena_set_allocated_target_abs_ang_check( + ::CMsgQAngle* target_abs_ang_check); + ::CMsgQAngle* unsafe_arena_release_target_abs_ang_check(); + + // optional int32 render_tick_count = 4; + bool has_render_tick_count() const; + private: + bool _internal_has_render_tick_count() const; + public: + void clear_render_tick_count(); + int32_t render_tick_count() const; + void set_render_tick_count(int32_t value); + private: + int32_t _internal_render_tick_count() const; + void _internal_set_render_tick_count(int32_t value); + public: + + // optional float render_tick_fraction = 5; + bool has_render_tick_fraction() const; + private: + bool _internal_has_render_tick_fraction() const; + public: + void clear_render_tick_fraction(); + float render_tick_fraction() const; + void set_render_tick_fraction(float value); + private: + float _internal_render_tick_fraction() const; + void _internal_set_render_tick_fraction(float value); + public: + + // optional int32 player_tick_count = 6; + bool has_player_tick_count() const; + private: + bool _internal_has_player_tick_count() const; + public: + void clear_player_tick_count(); + int32_t player_tick_count() const; + void set_player_tick_count(int32_t value); + private: + int32_t _internal_player_tick_count() const; + void _internal_set_player_tick_count(int32_t value); + public: + + // optional float player_tick_fraction = 7; + bool has_player_tick_fraction() const; + private: + bool _internal_has_player_tick_fraction() const; + public: + void clear_player_tick_fraction(); + float player_tick_fraction() const; + void set_player_tick_fraction(float value); + private: + float _internal_player_tick_fraction() const; + void _internal_set_player_tick_fraction(float value); + public: + + // optional int32 frame_number = 64; + bool has_frame_number() const; + private: + bool _internal_has_frame_number() const; + public: + void clear_frame_number(); + int32_t frame_number() const; + void set_frame_number(int32_t value); + private: + int32_t _internal_frame_number() const; + void _internal_set_frame_number(int32_t value); + public: + + // optional int32 target_ent_index = 65 [default = -1]; + bool has_target_ent_index() const; + private: + bool _internal_has_target_ent_index() const; + public: + void clear_target_ent_index(); + int32_t target_ent_index() const; + void set_target_ent_index(int32_t value); + private: + int32_t _internal_target_ent_index() const; + void _internal_set_target_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSGOInputHistoryEntryPB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* view_angles_; + ::CSGOInterpolationInfoPB_CL* cl_interp_; + ::CSGOInterpolationInfoPB* sv_interp0_; + ::CSGOInterpolationInfoPB* sv_interp1_; + ::CSGOInterpolationInfoPB* player_interp_; + ::CMsgVector* shoot_position_; + ::CMsgVector* target_head_pos_check_; + ::CMsgVector* target_abs_pos_check_; + ::CMsgQAngle* target_abs_ang_check_; + int32_t render_tick_count_; + float render_tick_fraction_; + int32_t player_tick_count_; + float player_tick_fraction_; + int32_t frame_number_; + int32_t target_ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fusercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CSGOUserCmdPB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOUserCmdPB) */ { + public: + inline CSGOUserCmdPB() : CSGOUserCmdPB(nullptr) {} + ~CSGOUserCmdPB() override; + explicit PROTOBUF_CONSTEXPR CSGOUserCmdPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSGOUserCmdPB(const CSGOUserCmdPB& from); + CSGOUserCmdPB(CSGOUserCmdPB&& from) noexcept + : CSGOUserCmdPB() { + *this = ::std::move(from); + } + + inline CSGOUserCmdPB& operator=(const CSGOUserCmdPB& from) { + CopyFrom(from); + return *this; + } + inline CSGOUserCmdPB& operator=(CSGOUserCmdPB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSGOUserCmdPB& default_instance() { + return *internal_default_instance(); + } + static inline const CSGOUserCmdPB* internal_default_instance() { + return reinterpret_cast( + &_CSGOUserCmdPB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CSGOUserCmdPB& a, CSGOUserCmdPB& b) { + a.Swap(&b); + } + inline void Swap(CSGOUserCmdPB* 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(CSGOUserCmdPB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSGOUserCmdPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSGOUserCmdPB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSGOUserCmdPB& from) { + CSGOUserCmdPB::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(CSGOUserCmdPB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSGOUserCmdPB"; + } + protected: + explicit CSGOUserCmdPB(::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 { + kInputHistoryFieldNumber = 2, + kBaseFieldNumber = 1, + kLeftHandDesiredFieldNumber = 9, + kIsPredictingBodyShotFxFieldNumber = 11, + kIsPredictingHeadShotFxFieldNumber = 12, + kIsPredictingKillRagdollsFieldNumber = 13, + kAttack1StartHistoryIndexFieldNumber = 6, + kAttack2StartHistoryIndexFieldNumber = 7, + }; + // repeated .CSGOInputHistoryEntryPB input_history = 2; + int input_history_size() const; + private: + int _internal_input_history_size() const; + public: + void clear_input_history(); + ::CSGOInputHistoryEntryPB* mutable_input_history(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >* + mutable_input_history(); + private: + const ::CSGOInputHistoryEntryPB& _internal_input_history(int index) const; + ::CSGOInputHistoryEntryPB* _internal_add_input_history(); + public: + const ::CSGOInputHistoryEntryPB& input_history(int index) const; + ::CSGOInputHistoryEntryPB* add_input_history(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >& + input_history() const; + + // optional .CBaseUserCmdPB base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CBaseUserCmdPB& base() const; + PROTOBUF_NODISCARD ::CBaseUserCmdPB* release_base(); + ::CBaseUserCmdPB* mutable_base(); + void set_allocated_base(::CBaseUserCmdPB* base); + private: + const ::CBaseUserCmdPB& _internal_base() const; + ::CBaseUserCmdPB* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CBaseUserCmdPB* base); + ::CBaseUserCmdPB* unsafe_arena_release_base(); + + // optional bool left_hand_desired = 9 [default = false]; + bool has_left_hand_desired() const; + private: + bool _internal_has_left_hand_desired() const; + public: + void clear_left_hand_desired(); + bool left_hand_desired() const; + void set_left_hand_desired(bool value); + private: + bool _internal_left_hand_desired() const; + void _internal_set_left_hand_desired(bool value); + public: + + // optional bool is_predicting_body_shot_fx = 11 [default = false]; + bool has_is_predicting_body_shot_fx() const; + private: + bool _internal_has_is_predicting_body_shot_fx() const; + public: + void clear_is_predicting_body_shot_fx(); + bool is_predicting_body_shot_fx() const; + void set_is_predicting_body_shot_fx(bool value); + private: + bool _internal_is_predicting_body_shot_fx() const; + void _internal_set_is_predicting_body_shot_fx(bool value); + public: + + // optional bool is_predicting_head_shot_fx = 12 [default = false]; + bool has_is_predicting_head_shot_fx() const; + private: + bool _internal_has_is_predicting_head_shot_fx() const; + public: + void clear_is_predicting_head_shot_fx(); + bool is_predicting_head_shot_fx() const; + void set_is_predicting_head_shot_fx(bool value); + private: + bool _internal_is_predicting_head_shot_fx() const; + void _internal_set_is_predicting_head_shot_fx(bool value); + public: + + // optional bool is_predicting_kill_ragdolls = 13 [default = false]; + bool has_is_predicting_kill_ragdolls() const; + private: + bool _internal_has_is_predicting_kill_ragdolls() const; + public: + void clear_is_predicting_kill_ragdolls(); + bool is_predicting_kill_ragdolls() const; + void set_is_predicting_kill_ragdolls(bool value); + private: + bool _internal_is_predicting_kill_ragdolls() const; + void _internal_set_is_predicting_kill_ragdolls(bool value); + public: + + // optional int32 attack1_start_history_index = 6 [default = -1]; + bool has_attack1_start_history_index() const; + private: + bool _internal_has_attack1_start_history_index() const; + public: + void clear_attack1_start_history_index(); + int32_t attack1_start_history_index() const; + void set_attack1_start_history_index(int32_t value); + private: + int32_t _internal_attack1_start_history_index() const; + void _internal_set_attack1_start_history_index(int32_t value); + public: + + // optional int32 attack2_start_history_index = 7 [default = -1]; + bool has_attack2_start_history_index() const; + private: + bool _internal_has_attack2_start_history_index() const; + public: + void clear_attack2_start_history_index(); + int32_t attack2_start_history_index() const; + void set_attack2_start_history_index(int32_t value); + private: + int32_t _internal_attack2_start_history_index() const; + void _internal_set_attack2_start_history_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSGOUserCmdPB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB > input_history_; + ::CBaseUserCmdPB* base_; + bool left_hand_desired_; + bool is_predicting_body_shot_fx_; + bool is_predicting_head_shot_fx_; + bool is_predicting_kill_ragdolls_; + int32_t attack1_start_history_index_; + int32_t attack2_start_history_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cs_5fusercmd_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CSGOInterpolationInfoPB + +// optional int32 src_tick = 1 [default = -1]; +inline bool CSGOInterpolationInfoPB::_internal_has_src_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSGOInterpolationInfoPB::has_src_tick() const { + return _internal_has_src_tick(); +} +inline void CSGOInterpolationInfoPB::clear_src_tick() { + _impl_.src_tick_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSGOInterpolationInfoPB::_internal_src_tick() const { + return _impl_.src_tick_; +} +inline int32_t CSGOInterpolationInfoPB::src_tick() const { + // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.src_tick) + return _internal_src_tick(); +} +inline void CSGOInterpolationInfoPB::_internal_set_src_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.src_tick_ = value; +} +inline void CSGOInterpolationInfoPB::set_src_tick(int32_t value) { + _internal_set_src_tick(value); + // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.src_tick) +} + +// optional int32 dst_tick = 2 [default = -1]; +inline bool CSGOInterpolationInfoPB::_internal_has_dst_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSGOInterpolationInfoPB::has_dst_tick() const { + return _internal_has_dst_tick(); +} +inline void CSGOInterpolationInfoPB::clear_dst_tick() { + _impl_.dst_tick_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSGOInterpolationInfoPB::_internal_dst_tick() const { + return _impl_.dst_tick_; +} +inline int32_t CSGOInterpolationInfoPB::dst_tick() const { + // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.dst_tick) + return _internal_dst_tick(); +} +inline void CSGOInterpolationInfoPB::_internal_set_dst_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dst_tick_ = value; +} +inline void CSGOInterpolationInfoPB::set_dst_tick(int32_t value) { + _internal_set_dst_tick(value); + // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.dst_tick) +} + +// optional float frac = 3 [default = 0]; +inline bool CSGOInterpolationInfoPB::_internal_has_frac() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSGOInterpolationInfoPB::has_frac() const { + return _internal_has_frac(); +} +inline void CSGOInterpolationInfoPB::clear_frac() { + _impl_.frac_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CSGOInterpolationInfoPB::_internal_frac() const { + return _impl_.frac_; +} +inline float CSGOInterpolationInfoPB::frac() const { + // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.frac) + return _internal_frac(); +} +inline void CSGOInterpolationInfoPB::_internal_set_frac(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.frac_ = value; +} +inline void CSGOInterpolationInfoPB::set_frac(float value) { + _internal_set_frac(value); + // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.frac) +} + +// ------------------------------------------------------------------- + +// CSGOInterpolationInfoPB_CL + +// optional float frac = 3 [default = 0]; +inline bool CSGOInterpolationInfoPB_CL::_internal_has_frac() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSGOInterpolationInfoPB_CL::has_frac() const { + return _internal_has_frac(); +} +inline void CSGOInterpolationInfoPB_CL::clear_frac() { + _impl_.frac_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CSGOInterpolationInfoPB_CL::_internal_frac() const { + return _impl_.frac_; +} +inline float CSGOInterpolationInfoPB_CL::frac() const { + // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB_CL.frac) + return _internal_frac(); +} +inline void CSGOInterpolationInfoPB_CL::_internal_set_frac(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.frac_ = value; +} +inline void CSGOInterpolationInfoPB_CL::set_frac(float value) { + _internal_set_frac(value); + // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB_CL.frac) +} + +// ------------------------------------------------------------------- + +// CSGOInputHistoryEntryPB + +// optional .CMsgQAngle view_angles = 2; +inline bool CSGOInputHistoryEntryPB::_internal_has_view_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.view_angles_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_view_angles() const { + return _internal_has_view_angles(); +} +inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::_internal_view_angles() const { + const ::CMsgQAngle* p = _impl_.view_angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::view_angles() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.view_angles) + return _internal_view_angles(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_view_angles( + ::CMsgQAngle* view_angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_angles_); + } + _impl_.view_angles_ = view_angles; + if (view_angles) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.view_angles) +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::release_view_angles() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.view_angles_; + _impl_.view_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 ::CMsgQAngle* CSGOInputHistoryEntryPB::unsafe_arena_release_view_angles() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.view_angles) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.view_angles_; + _impl_.view_angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::_internal_mutable_view_angles() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.view_angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.view_angles_ = p; + } + return _impl_.view_angles_; +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::mutable_view_angles() { + ::CMsgQAngle* _msg = _internal_mutable_view_angles(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.view_angles) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_view_angles(::CMsgQAngle* view_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_angles_); + } + if (view_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_angles)); + if (message_arena != submessage_arena) { + view_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, view_angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.view_angles_ = view_angles; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.view_angles) +} + +// optional int32 render_tick_count = 4; +inline bool CSGOInputHistoryEntryPB::_internal_has_render_tick_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_render_tick_count() const { + return _internal_has_render_tick_count(); +} +inline void CSGOInputHistoryEntryPB::clear_render_tick_count() { + _impl_.render_tick_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CSGOInputHistoryEntryPB::_internal_render_tick_count() const { + return _impl_.render_tick_count_; +} +inline int32_t CSGOInputHistoryEntryPB::render_tick_count() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.render_tick_count) + return _internal_render_tick_count(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_render_tick_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.render_tick_count_ = value; +} +inline void CSGOInputHistoryEntryPB::set_render_tick_count(int32_t value) { + _internal_set_render_tick_count(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.render_tick_count) +} + +// optional float render_tick_fraction = 5; +inline bool CSGOInputHistoryEntryPB::_internal_has_render_tick_fraction() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_render_tick_fraction() const { + return _internal_has_render_tick_fraction(); +} +inline void CSGOInputHistoryEntryPB::clear_render_tick_fraction() { + _impl_.render_tick_fraction_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CSGOInputHistoryEntryPB::_internal_render_tick_fraction() const { + return _impl_.render_tick_fraction_; +} +inline float CSGOInputHistoryEntryPB::render_tick_fraction() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.render_tick_fraction) + return _internal_render_tick_fraction(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_render_tick_fraction(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.render_tick_fraction_ = value; +} +inline void CSGOInputHistoryEntryPB::set_render_tick_fraction(float value) { + _internal_set_render_tick_fraction(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.render_tick_fraction) +} + +// optional int32 player_tick_count = 6; +inline bool CSGOInputHistoryEntryPB::_internal_has_player_tick_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_player_tick_count() const { + return _internal_has_player_tick_count(); +} +inline void CSGOInputHistoryEntryPB::clear_player_tick_count() { + _impl_.player_tick_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CSGOInputHistoryEntryPB::_internal_player_tick_count() const { + return _impl_.player_tick_count_; +} +inline int32_t CSGOInputHistoryEntryPB::player_tick_count() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_tick_count) + return _internal_player_tick_count(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_player_tick_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.player_tick_count_ = value; +} +inline void CSGOInputHistoryEntryPB::set_player_tick_count(int32_t value) { + _internal_set_player_tick_count(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.player_tick_count) +} + +// optional float player_tick_fraction = 7; +inline bool CSGOInputHistoryEntryPB::_internal_has_player_tick_fraction() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_player_tick_fraction() const { + return _internal_has_player_tick_fraction(); +} +inline void CSGOInputHistoryEntryPB::clear_player_tick_fraction() { + _impl_.player_tick_fraction_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline float CSGOInputHistoryEntryPB::_internal_player_tick_fraction() const { + return _impl_.player_tick_fraction_; +} +inline float CSGOInputHistoryEntryPB::player_tick_fraction() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_tick_fraction) + return _internal_player_tick_fraction(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_player_tick_fraction(float value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.player_tick_fraction_ = value; +} +inline void CSGOInputHistoryEntryPB::set_player_tick_fraction(float value) { + _internal_set_player_tick_fraction(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.player_tick_fraction) +} + +// optional .CSGOInterpolationInfoPB_CL cl_interp = 12; +inline bool CSGOInputHistoryEntryPB::_internal_has_cl_interp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cl_interp_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_cl_interp() const { + return _internal_has_cl_interp(); +} +inline void CSGOInputHistoryEntryPB::clear_cl_interp() { + if (_impl_.cl_interp_ != nullptr) _impl_.cl_interp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CSGOInterpolationInfoPB_CL& CSGOInputHistoryEntryPB::_internal_cl_interp() const { + const ::CSGOInterpolationInfoPB_CL* p = _impl_.cl_interp_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSGOInterpolationInfoPB_CL_default_instance_); +} +inline const ::CSGOInterpolationInfoPB_CL& CSGOInputHistoryEntryPB::cl_interp() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.cl_interp) + return _internal_cl_interp(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_cl_interp( + ::CSGOInterpolationInfoPB_CL* cl_interp) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cl_interp_); + } + _impl_.cl_interp_ = cl_interp; + if (cl_interp) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.cl_interp) +} +inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::release_cl_interp() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CSGOInterpolationInfoPB_CL* temp = _impl_.cl_interp_; + _impl_.cl_interp_ = 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 ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::unsafe_arena_release_cl_interp() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.cl_interp) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CSGOInterpolationInfoPB_CL* temp = _impl_.cl_interp_; + _impl_.cl_interp_ = nullptr; + return temp; +} +inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::_internal_mutable_cl_interp() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cl_interp_ == nullptr) { + auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB_CL>(GetArenaForAllocation()); + _impl_.cl_interp_ = p; + } + return _impl_.cl_interp_; +} +inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::mutable_cl_interp() { + ::CSGOInterpolationInfoPB_CL* _msg = _internal_mutable_cl_interp(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.cl_interp) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_cl_interp(::CSGOInterpolationInfoPB_CL* cl_interp) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.cl_interp_; + } + if (cl_interp) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cl_interp); + if (message_arena != submessage_arena) { + cl_interp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cl_interp, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cl_interp_ = cl_interp; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.cl_interp) +} + +// optional .CSGOInterpolationInfoPB sv_interp0 = 13; +inline bool CSGOInputHistoryEntryPB::_internal_has_sv_interp0() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sv_interp0_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_sv_interp0() const { + return _internal_has_sv_interp0(); +} +inline void CSGOInputHistoryEntryPB::clear_sv_interp0() { + if (_impl_.sv_interp0_ != nullptr) _impl_.sv_interp0_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_sv_interp0() const { + const ::CSGOInterpolationInfoPB* p = _impl_.sv_interp0_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSGOInterpolationInfoPB_default_instance_); +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::sv_interp0() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.sv_interp0) + return _internal_sv_interp0(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_sv_interp0( + ::CSGOInterpolationInfoPB* sv_interp0) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sv_interp0_); + } + _impl_.sv_interp0_ = sv_interp0; + if (sv_interp0) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.sv_interp0) +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_sv_interp0() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp0_; + _impl_.sv_interp0_ = 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 ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_sv_interp0() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.sv_interp0) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp0_; + _impl_.sv_interp0_ = nullptr; + return temp; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_sv_interp0() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.sv_interp0_ == nullptr) { + auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); + _impl_.sv_interp0_ = p; + } + return _impl_.sv_interp0_; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_sv_interp0() { + ::CSGOInterpolationInfoPB* _msg = _internal_mutable_sv_interp0(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.sv_interp0) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_sv_interp0(::CSGOInterpolationInfoPB* sv_interp0) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.sv_interp0_; + } + if (sv_interp0) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sv_interp0); + if (message_arena != submessage_arena) { + sv_interp0 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sv_interp0, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.sv_interp0_ = sv_interp0; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.sv_interp0) +} + +// optional .CSGOInterpolationInfoPB sv_interp1 = 14; +inline bool CSGOInputHistoryEntryPB::_internal_has_sv_interp1() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sv_interp1_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_sv_interp1() const { + return _internal_has_sv_interp1(); +} +inline void CSGOInputHistoryEntryPB::clear_sv_interp1() { + if (_impl_.sv_interp1_ != nullptr) _impl_.sv_interp1_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_sv_interp1() const { + const ::CSGOInterpolationInfoPB* p = _impl_.sv_interp1_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSGOInterpolationInfoPB_default_instance_); +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::sv_interp1() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.sv_interp1) + return _internal_sv_interp1(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_sv_interp1( + ::CSGOInterpolationInfoPB* sv_interp1) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sv_interp1_); + } + _impl_.sv_interp1_ = sv_interp1; + if (sv_interp1) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.sv_interp1) +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_sv_interp1() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp1_; + _impl_.sv_interp1_ = 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 ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_sv_interp1() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.sv_interp1) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp1_; + _impl_.sv_interp1_ = nullptr; + return temp; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_sv_interp1() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.sv_interp1_ == nullptr) { + auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); + _impl_.sv_interp1_ = p; + } + return _impl_.sv_interp1_; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_sv_interp1() { + ::CSGOInterpolationInfoPB* _msg = _internal_mutable_sv_interp1(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.sv_interp1) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_sv_interp1(::CSGOInterpolationInfoPB* sv_interp1) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.sv_interp1_; + } + if (sv_interp1) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sv_interp1); + if (message_arena != submessage_arena) { + sv_interp1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sv_interp1, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.sv_interp1_ = sv_interp1; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.sv_interp1) +} + +// optional .CSGOInterpolationInfoPB player_interp = 15; +inline bool CSGOInputHistoryEntryPB::_internal_has_player_interp() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.player_interp_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_player_interp() const { + return _internal_has_player_interp(); +} +inline void CSGOInputHistoryEntryPB::clear_player_interp() { + if (_impl_.player_interp_ != nullptr) _impl_.player_interp_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_player_interp() const { + const ::CSGOInterpolationInfoPB* p = _impl_.player_interp_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSGOInterpolationInfoPB_default_instance_); +} +inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::player_interp() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_interp) + return _internal_player_interp(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_player_interp( + ::CSGOInterpolationInfoPB* player_interp) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_interp_); + } + _impl_.player_interp_ = player_interp; + if (player_interp) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.player_interp) +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_player_interp() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CSGOInterpolationInfoPB* temp = _impl_.player_interp_; + _impl_.player_interp_ = 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 ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_player_interp() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.player_interp) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CSGOInterpolationInfoPB* temp = _impl_.player_interp_; + _impl_.player_interp_ = nullptr; + return temp; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_player_interp() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.player_interp_ == nullptr) { + auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); + _impl_.player_interp_ = p; + } + return _impl_.player_interp_; +} +inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_player_interp() { + ::CSGOInterpolationInfoPB* _msg = _internal_mutable_player_interp(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.player_interp) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_player_interp(::CSGOInterpolationInfoPB* player_interp) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_interp_; + } + if (player_interp) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player_interp); + if (message_arena != submessage_arena) { + player_interp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player_interp, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.player_interp_ = player_interp; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.player_interp) +} + +// optional int32 frame_number = 64; +inline bool CSGOInputHistoryEntryPB::_internal_has_frame_number() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_frame_number() const { + return _internal_has_frame_number(); +} +inline void CSGOInputHistoryEntryPB::clear_frame_number() { + _impl_.frame_number_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CSGOInputHistoryEntryPB::_internal_frame_number() const { + return _impl_.frame_number_; +} +inline int32_t CSGOInputHistoryEntryPB::frame_number() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.frame_number) + return _internal_frame_number(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_frame_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.frame_number_ = value; +} +inline void CSGOInputHistoryEntryPB::set_frame_number(int32_t value) { + _internal_set_frame_number(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.frame_number) +} + +// optional int32 target_ent_index = 65 [default = -1]; +inline bool CSGOInputHistoryEntryPB::_internal_has_target_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSGOInputHistoryEntryPB::has_target_ent_index() const { + return _internal_has_target_ent_index(); +} +inline void CSGOInputHistoryEntryPB::clear_target_ent_index() { + _impl_.target_ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CSGOInputHistoryEntryPB::_internal_target_ent_index() const { + return _impl_.target_ent_index_; +} +inline int32_t CSGOInputHistoryEntryPB::target_ent_index() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_ent_index) + return _internal_target_ent_index(); +} +inline void CSGOInputHistoryEntryPB::_internal_set_target_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.target_ent_index_ = value; +} +inline void CSGOInputHistoryEntryPB::set_target_ent_index(int32_t value) { + _internal_set_target_ent_index(value); + // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.target_ent_index) +} + +// optional .CMsgVector shoot_position = 66; +inline bool CSGOInputHistoryEntryPB::_internal_has_shoot_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shoot_position_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_shoot_position() const { + return _internal_has_shoot_position(); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_shoot_position() const { + const ::CMsgVector* p = _impl_.shoot_position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::shoot_position() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.shoot_position) + return _internal_shoot_position(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_shoot_position( + ::CMsgVector* shoot_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_position_); + } + _impl_.shoot_position_ = shoot_position; + if (shoot_position) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.shoot_position) +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::release_shoot_position() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgVector* temp = _impl_.shoot_position_; + _impl_.shoot_position_ = 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 ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_shoot_position() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.shoot_position) + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgVector* temp = _impl_.shoot_position_; + _impl_.shoot_position_ = nullptr; + return temp; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_shoot_position() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.shoot_position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.shoot_position_ = p; + } + return _impl_.shoot_position_; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_shoot_position() { + ::CMsgVector* _msg = _internal_mutable_shoot_position(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.shoot_position) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_shoot_position(::CMsgVector* shoot_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_position_); + } + if (shoot_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_position)); + if (message_arena != submessage_arena) { + shoot_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shoot_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.shoot_position_ = shoot_position; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.shoot_position) +} + +// optional .CMsgVector target_head_pos_check = 67; +inline bool CSGOInputHistoryEntryPB::_internal_has_target_head_pos_check() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_head_pos_check_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_target_head_pos_check() const { + return _internal_has_target_head_pos_check(); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_target_head_pos_check() const { + const ::CMsgVector* p = _impl_.target_head_pos_check_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::target_head_pos_check() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_head_pos_check) + return _internal_target_head_pos_check(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_head_pos_check( + ::CMsgVector* target_head_pos_check) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_head_pos_check_); + } + _impl_.target_head_pos_check_ = target_head_pos_check; + if (target_head_pos_check) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_head_pos_check) +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::release_target_head_pos_check() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgVector* temp = _impl_.target_head_pos_check_; + _impl_.target_head_pos_check_ = 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 ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_target_head_pos_check() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_head_pos_check) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgVector* temp = _impl_.target_head_pos_check_; + _impl_.target_head_pos_check_ = nullptr; + return temp; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_target_head_pos_check() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.target_head_pos_check_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.target_head_pos_check_ = p; + } + return _impl_.target_head_pos_check_; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_target_head_pos_check() { + ::CMsgVector* _msg = _internal_mutable_target_head_pos_check(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_head_pos_check) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_target_head_pos_check(::CMsgVector* target_head_pos_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_head_pos_check_); + } + if (target_head_pos_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_head_pos_check)); + if (message_arena != submessage_arena) { + target_head_pos_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_head_pos_check, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.target_head_pos_check_ = target_head_pos_check; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_head_pos_check) +} + +// optional .CMsgVector target_abs_pos_check = 68; +inline bool CSGOInputHistoryEntryPB::_internal_has_target_abs_pos_check() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_abs_pos_check_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_target_abs_pos_check() const { + return _internal_has_target_abs_pos_check(); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_target_abs_pos_check() const { + const ::CMsgVector* p = _impl_.target_abs_pos_check_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CSGOInputHistoryEntryPB::target_abs_pos_check() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_abs_pos_check) + return _internal_target_abs_pos_check(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_abs_pos_check( + ::CMsgVector* target_abs_pos_check) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_pos_check_); + } + _impl_.target_abs_pos_check_ = target_abs_pos_check; + if (target_abs_pos_check) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_abs_pos_check) +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::release_target_abs_pos_check() { + _impl_._has_bits_[0] &= ~0x00000080u; + ::CMsgVector* temp = _impl_.target_abs_pos_check_; + _impl_.target_abs_pos_check_ = 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 ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_target_abs_pos_check() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_abs_pos_check) + _impl_._has_bits_[0] &= ~0x00000080u; + ::CMsgVector* temp = _impl_.target_abs_pos_check_; + _impl_.target_abs_pos_check_ = nullptr; + return temp; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_target_abs_pos_check() { + _impl_._has_bits_[0] |= 0x00000080u; + if (_impl_.target_abs_pos_check_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.target_abs_pos_check_ = p; + } + return _impl_.target_abs_pos_check_; +} +inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_target_abs_pos_check() { + ::CMsgVector* _msg = _internal_mutable_target_abs_pos_check(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_abs_pos_check) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_target_abs_pos_check(::CMsgVector* target_abs_pos_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_pos_check_); + } + if (target_abs_pos_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_abs_pos_check)); + if (message_arena != submessage_arena) { + target_abs_pos_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_abs_pos_check, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.target_abs_pos_check_ = target_abs_pos_check; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_abs_pos_check) +} + +// optional .CMsgQAngle target_abs_ang_check = 69; +inline bool CSGOInputHistoryEntryPB::_internal_has_target_abs_ang_check() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + PROTOBUF_ASSUME(!value || _impl_.target_abs_ang_check_ != nullptr); + return value; +} +inline bool CSGOInputHistoryEntryPB::has_target_abs_ang_check() const { + return _internal_has_target_abs_ang_check(); +} +inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::_internal_target_abs_ang_check() const { + const ::CMsgQAngle* p = _impl_.target_abs_ang_check_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::target_abs_ang_check() const { + // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_abs_ang_check) + return _internal_target_abs_ang_check(); +} +inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_abs_ang_check( + ::CMsgQAngle* target_abs_ang_check) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_ang_check_); + } + _impl_.target_abs_ang_check_ = target_abs_ang_check; + if (target_abs_ang_check) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_abs_ang_check) +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::release_target_abs_ang_check() { + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgQAngle* temp = _impl_.target_abs_ang_check_; + _impl_.target_abs_ang_check_ = 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 ::CMsgQAngle* CSGOInputHistoryEntryPB::unsafe_arena_release_target_abs_ang_check() { + // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_abs_ang_check) + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgQAngle* temp = _impl_.target_abs_ang_check_; + _impl_.target_abs_ang_check_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::_internal_mutable_target_abs_ang_check() { + _impl_._has_bits_[0] |= 0x00000100u; + if (_impl_.target_abs_ang_check_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.target_abs_ang_check_ = p; + } + return _impl_.target_abs_ang_check_; +} +inline ::CMsgQAngle* CSGOInputHistoryEntryPB::mutable_target_abs_ang_check() { + ::CMsgQAngle* _msg = _internal_mutable_target_abs_ang_check(); + // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_abs_ang_check) + return _msg; +} +inline void CSGOInputHistoryEntryPB::set_allocated_target_abs_ang_check(::CMsgQAngle* target_abs_ang_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_ang_check_); + } + if (target_abs_ang_check) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_abs_ang_check)); + if (message_arena != submessage_arena) { + target_abs_ang_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target_abs_ang_check, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.target_abs_ang_check_ = target_abs_ang_check; + // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_abs_ang_check) +} + +// ------------------------------------------------------------------- + +// CSGOUserCmdPB + +// optional .CBaseUserCmdPB base = 1; +inline bool CSGOUserCmdPB::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CSGOUserCmdPB::has_base() const { + return _internal_has_base(); +} +inline const ::CBaseUserCmdPB& CSGOUserCmdPB::_internal_base() const { + const ::CBaseUserCmdPB* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CBaseUserCmdPB_default_instance_); +} +inline const ::CBaseUserCmdPB& CSGOUserCmdPB::base() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.base) + return _internal_base(); +} +inline void CSGOUserCmdPB::unsafe_arena_set_allocated_base( + ::CBaseUserCmdPB* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOUserCmdPB.base) +} +inline ::CBaseUserCmdPB* CSGOUserCmdPB::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CBaseUserCmdPB* temp = _impl_.base_; + _impl_.base_ = 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 ::CBaseUserCmdPB* CSGOUserCmdPB::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CSGOUserCmdPB.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CBaseUserCmdPB* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CBaseUserCmdPB* CSGOUserCmdPB::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CBaseUserCmdPB>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CBaseUserCmdPB* CSGOUserCmdPB::mutable_base() { + ::CBaseUserCmdPB* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CSGOUserCmdPB.base) + return _msg; +} +inline void CSGOUserCmdPB::set_allocated_base(::CBaseUserCmdPB* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base)); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CSGOUserCmdPB.base) +} + +// repeated .CSGOInputHistoryEntryPB input_history = 2; +inline int CSGOUserCmdPB::_internal_input_history_size() const { + return _impl_.input_history_.size(); +} +inline int CSGOUserCmdPB::input_history_size() const { + return _internal_input_history_size(); +} +inline void CSGOUserCmdPB::clear_input_history() { + _impl_.input_history_.Clear(); +} +inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::mutable_input_history(int index) { + // @@protoc_insertion_point(field_mutable:CSGOUserCmdPB.input_history) + return _impl_.input_history_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >* +CSGOUserCmdPB::mutable_input_history() { + // @@protoc_insertion_point(field_mutable_list:CSGOUserCmdPB.input_history) + return &_impl_.input_history_; +} +inline const ::CSGOInputHistoryEntryPB& CSGOUserCmdPB::_internal_input_history(int index) const { + return _impl_.input_history_.Get(index); +} +inline const ::CSGOInputHistoryEntryPB& CSGOUserCmdPB::input_history(int index) const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.input_history) + return _internal_input_history(index); +} +inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::_internal_add_input_history() { + return _impl_.input_history_.Add(); +} +inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::add_input_history() { + ::CSGOInputHistoryEntryPB* _add = _internal_add_input_history(); + // @@protoc_insertion_point(field_add:CSGOUserCmdPB.input_history) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >& +CSGOUserCmdPB::input_history() const { + // @@protoc_insertion_point(field_list:CSGOUserCmdPB.input_history) + return _impl_.input_history_; +} + +// optional int32 attack1_start_history_index = 6 [default = -1]; +inline bool CSGOUserCmdPB::_internal_has_attack1_start_history_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_attack1_start_history_index() const { + return _internal_has_attack1_start_history_index(); +} +inline void CSGOUserCmdPB::clear_attack1_start_history_index() { + _impl_.attack1_start_history_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSGOUserCmdPB::_internal_attack1_start_history_index() const { + return _impl_.attack1_start_history_index_; +} +inline int32_t CSGOUserCmdPB::attack1_start_history_index() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.attack1_start_history_index) + return _internal_attack1_start_history_index(); +} +inline void CSGOUserCmdPB::_internal_set_attack1_start_history_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.attack1_start_history_index_ = value; +} +inline void CSGOUserCmdPB::set_attack1_start_history_index(int32_t value) { + _internal_set_attack1_start_history_index(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.attack1_start_history_index) +} + +// optional int32 attack2_start_history_index = 7 [default = -1]; +inline bool CSGOUserCmdPB::_internal_has_attack2_start_history_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_attack2_start_history_index() const { + return _internal_has_attack2_start_history_index(); +} +inline void CSGOUserCmdPB::clear_attack2_start_history_index() { + _impl_.attack2_start_history_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CSGOUserCmdPB::_internal_attack2_start_history_index() const { + return _impl_.attack2_start_history_index_; +} +inline int32_t CSGOUserCmdPB::attack2_start_history_index() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.attack2_start_history_index) + return _internal_attack2_start_history_index(); +} +inline void CSGOUserCmdPB::_internal_set_attack2_start_history_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.attack2_start_history_index_ = value; +} +inline void CSGOUserCmdPB::set_attack2_start_history_index(int32_t value) { + _internal_set_attack2_start_history_index(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.attack2_start_history_index) +} + +// optional bool left_hand_desired = 9 [default = false]; +inline bool CSGOUserCmdPB::_internal_has_left_hand_desired() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_left_hand_desired() const { + return _internal_has_left_hand_desired(); +} +inline void CSGOUserCmdPB::clear_left_hand_desired() { + _impl_.left_hand_desired_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSGOUserCmdPB::_internal_left_hand_desired() const { + return _impl_.left_hand_desired_; +} +inline bool CSGOUserCmdPB::left_hand_desired() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.left_hand_desired) + return _internal_left_hand_desired(); +} +inline void CSGOUserCmdPB::_internal_set_left_hand_desired(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.left_hand_desired_ = value; +} +inline void CSGOUserCmdPB::set_left_hand_desired(bool value) { + _internal_set_left_hand_desired(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.left_hand_desired) +} + +// optional bool is_predicting_body_shot_fx = 11 [default = false]; +inline bool CSGOUserCmdPB::_internal_has_is_predicting_body_shot_fx() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_is_predicting_body_shot_fx() const { + return _internal_has_is_predicting_body_shot_fx(); +} +inline void CSGOUserCmdPB::clear_is_predicting_body_shot_fx() { + _impl_.is_predicting_body_shot_fx_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CSGOUserCmdPB::_internal_is_predicting_body_shot_fx() const { + return _impl_.is_predicting_body_shot_fx_; +} +inline bool CSGOUserCmdPB::is_predicting_body_shot_fx() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_body_shot_fx) + return _internal_is_predicting_body_shot_fx(); +} +inline void CSGOUserCmdPB::_internal_set_is_predicting_body_shot_fx(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.is_predicting_body_shot_fx_ = value; +} +inline void CSGOUserCmdPB::set_is_predicting_body_shot_fx(bool value) { + _internal_set_is_predicting_body_shot_fx(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_body_shot_fx) +} + +// optional bool is_predicting_head_shot_fx = 12 [default = false]; +inline bool CSGOUserCmdPB::_internal_has_is_predicting_head_shot_fx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_is_predicting_head_shot_fx() const { + return _internal_has_is_predicting_head_shot_fx(); +} +inline void CSGOUserCmdPB::clear_is_predicting_head_shot_fx() { + _impl_.is_predicting_head_shot_fx_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CSGOUserCmdPB::_internal_is_predicting_head_shot_fx() const { + return _impl_.is_predicting_head_shot_fx_; +} +inline bool CSGOUserCmdPB::is_predicting_head_shot_fx() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_head_shot_fx) + return _internal_is_predicting_head_shot_fx(); +} +inline void CSGOUserCmdPB::_internal_set_is_predicting_head_shot_fx(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_predicting_head_shot_fx_ = value; +} +inline void CSGOUserCmdPB::set_is_predicting_head_shot_fx(bool value) { + _internal_set_is_predicting_head_shot_fx(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_head_shot_fx) +} + +// optional bool is_predicting_kill_ragdolls = 13 [default = false]; +inline bool CSGOUserCmdPB::_internal_has_is_predicting_kill_ragdolls() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSGOUserCmdPB::has_is_predicting_kill_ragdolls() const { + return _internal_has_is_predicting_kill_ragdolls(); +} +inline void CSGOUserCmdPB::clear_is_predicting_kill_ragdolls() { + _impl_.is_predicting_kill_ragdolls_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CSGOUserCmdPB::_internal_is_predicting_kill_ragdolls() const { + return _impl_.is_predicting_kill_ragdolls_; +} +inline bool CSGOUserCmdPB::is_predicting_kill_ragdolls() const { + // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_kill_ragdolls) + return _internal_is_predicting_kill_ragdolls(); +} +inline void CSGOUserCmdPB::_internal_set_is_predicting_kill_ragdolls(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_predicting_kill_ragdolls_ = value; +} +inline void CSGOUserCmdPB::set_is_predicting_kill_ragdolls(bool value) { + _internal_set_is_predicting_kill_ragdolls(value); + // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_kill_ragdolls) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc new file mode 100644 index 0000000..17f7b12 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.cc @@ -0,0 +1,67857 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cstrike15_gcmessages.proto + +#include "cstrike15_gcmessages.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; + +PROTOBUF_CONSTEXPR GameServerPing::GameServerPing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ping_)*/0 + , /*decltype(_impl_.ip_)*/0u + , /*decltype(_impl_.instances_)*/0u} {} +struct GameServerPingDefaultTypeInternal { + PROTOBUF_CONSTEXPR GameServerPingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GameServerPingDefaultTypeInternal() {} + union { + GameServerPing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServerPingDefaultTypeInternal _GameServerPing_default_instance_; +PROTOBUF_CONSTEXPR DataCenterPing::DataCenterPing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_center_id_)*/0u + , /*decltype(_impl_.ping_)*/0} {} +struct DataCenterPingDefaultTypeInternal { + PROTOBUF_CONSTEXPR DataCenterPingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DataCenterPingDefaultTypeInternal() {} + union { + DataCenterPing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataCenterPingDefaultTypeInternal _DataCenterPing_default_instance_; +PROTOBUF_CONSTEXPR DetailedSearchStatistic::DetailedSearchStatistic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_type_)*/0u + , /*decltype(_impl_.search_time_avg_)*/0u + , /*decltype(_impl_.players_searching_)*/0u} {} +struct DetailedSearchStatisticDefaultTypeInternal { + PROTOBUF_CONSTEXPR DetailedSearchStatisticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DetailedSearchStatisticDefaultTypeInternal() {} + union { + DetailedSearchStatistic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DetailedSearchStatisticDefaultTypeInternal _DetailedSearchStatistic_default_instance_; +PROTOBUF_CONSTEXPR TournamentPlayer::TournamentPlayer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_nick_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_flag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_location_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.player_dob_)*/0u} {} +struct TournamentPlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR TournamentPlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~TournamentPlayerDefaultTypeInternal() {} + union { + TournamentPlayer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentPlayerDefaultTypeInternal _TournamentPlayer_default_instance_; +PROTOBUF_CONSTEXPR TournamentTeam::TournamentTeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.team_flag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.team_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.team_id_)*/0} {} +struct TournamentTeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR TournamentTeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~TournamentTeamDefaultTypeInternal() {} + union { + TournamentTeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentTeamDefaultTypeInternal _TournamentTeam_default_instance_; +PROTOBUF_CONSTEXPR TournamentEvent::TournamentEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.event_stage_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.event_id_)*/0 + , /*decltype(_impl_.event_time_start_)*/0u + , /*decltype(_impl_.event_time_end_)*/0u + , /*decltype(_impl_.event_public_)*/0 + , /*decltype(_impl_.event_stage_id_)*/0 + , /*decltype(_impl_.active_section_id_)*/0u} {} +struct TournamentEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR TournamentEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~TournamentEventDefaultTypeInternal() {} + union { + TournamentEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentEventDefaultTypeInternal _TournamentEvent_default_instance_; +PROTOBUF_CONSTEXPR GlobalStatistics::GlobalStatistics( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.search_statistics_)*/{} + , /*decltype(_impl_.main_post_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.players_online_)*/0u + , /*decltype(_impl_.servers_online_)*/0u + , /*decltype(_impl_.players_searching_)*/0u + , /*decltype(_impl_.servers_available_)*/0u + , /*decltype(_impl_.ongoing_matches_)*/0u + , /*decltype(_impl_.search_time_avg_)*/0u + , /*decltype(_impl_.required_appid_version_)*/0u + , /*decltype(_impl_.pricesheet_version_)*/0u + , /*decltype(_impl_.twitch_streams_version_)*/0u + , /*decltype(_impl_.active_tournament_eventid_)*/0u + , /*decltype(_impl_.active_survey_id_)*/0u + , /*decltype(_impl_.rtime32_cur_)*/0u + , /*decltype(_impl_.required_appid_version2_)*/0u} {} +struct GlobalStatisticsDefaultTypeInternal { + PROTOBUF_CONSTEXPR GlobalStatisticsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GlobalStatisticsDefaultTypeInternal() {} + union { + GlobalStatistics _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlobalStatisticsDefaultTypeInternal _GlobalStatistics_default_instance_; +PROTOBUF_CONSTEXPR OperationalStatisticDescription::OperationalStatisticDescription( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.idkey_)*/0u} {} +struct OperationalStatisticDescriptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR OperationalStatisticDescriptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~OperationalStatisticDescriptionDefaultTypeInternal() {} + union { + OperationalStatisticDescription _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticDescriptionDefaultTypeInternal _OperationalStatisticDescription_default_instance_; +PROTOBUF_CONSTEXPR OperationalStatisticElement::OperationalStatisticElement( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.values_)*/{} + , /*decltype(_impl_.idkey_)*/0u} {} +struct OperationalStatisticElementDefaultTypeInternal { + PROTOBUF_CONSTEXPR OperationalStatisticElementDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~OperationalStatisticElementDefaultTypeInternal() {} + union { + OperationalStatisticElement _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticElementDefaultTypeInternal _OperationalStatisticElement_default_instance_; +PROTOBUF_CONSTEXPR OperationalStatisticsPacket::OperationalStatisticsPacket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.values_)*/{} + , /*decltype(_impl_.packetid_)*/0 + , /*decltype(_impl_.mstimestamp_)*/0} {} +struct OperationalStatisticsPacketDefaultTypeInternal { + PROTOBUF_CONSTEXPR OperationalStatisticsPacketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~OperationalStatisticsPacketDefaultTypeInternal() {} + union { + OperationalStatisticsPacket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticsPacketDefaultTypeInternal _OperationalStatisticsPacket_default_instance_; +PROTOBUF_CONSTEXPR OperationalVarValue::OperationalVarValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.svalue_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ivalue_)*/0 + , /*decltype(_impl_.fvalue_)*/0} {} +struct OperationalVarValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR OperationalVarValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~OperationalVarValueDefaultTypeInternal() {} + union { + OperationalVarValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalVarValueDefaultTypeInternal _OperationalVarValue_default_instance_; +PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.map_id_)*/0u + , /*decltype(_impl_.rank_id_)*/0u + , /*decltype(_impl_.wins_)*/0u} {} +struct PlayerRankingInfo_PerMapRankDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRankDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerRankingInfo_PerMapRankDefaultTypeInternal() {} + union { + PlayerRankingInfo_PerMapRank _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerRankingInfo_PerMapRankDefaultTypeInternal _PlayerRankingInfo_PerMapRank_default_instance_; +PROTOBUF_CONSTEXPR PlayerRankingInfo::PlayerRankingInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.per_map_rank_)*/{} + , /*decltype(_impl_.leaderboard_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.rank_id_)*/0u + , /*decltype(_impl_.wins_)*/0u + , /*decltype(_impl_.rank_change_)*/0 + , /*decltype(_impl_.rank_type_id_)*/0u + , /*decltype(_impl_.tv_control_)*/0u + , /*decltype(_impl_.rank_window_stats_)*/uint64_t{0u} + , /*decltype(_impl_.rank_if_win_)*/0u + , /*decltype(_impl_.rank_if_lose_)*/0u + , /*decltype(_impl_.rank_if_tie_)*/0u + , /*decltype(_impl_.leaderboard_name_status_)*/0u + , /*decltype(_impl_.highest_rank_)*/0u + , /*decltype(_impl_.rank_expiry_)*/0u} {} +struct PlayerRankingInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerRankingInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerRankingInfoDefaultTypeInternal() {} + union { + PlayerRankingInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerRankingInfoDefaultTypeInternal _PlayerRankingInfo_default_instance_; +PROTOBUF_CONSTEXPR PlayerCommendationInfo::PlayerCommendationInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cmd_friendly_)*/0u + , /*decltype(_impl_.cmd_teaching_)*/0u + , /*decltype(_impl_.cmd_leader_)*/0u} {} +struct PlayerCommendationInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerCommendationInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerCommendationInfoDefaultTypeInternal() {} + union { + PlayerCommendationInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerCommendationInfoDefaultTypeInternal _PlayerCommendationInfo_default_instance_; +PROTOBUF_CONSTEXPR PlayerMedalsInfo::PlayerMedalsInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.display_items_defidx_)*/{} + , /*decltype(_impl_.featured_display_item_defidx_)*/0u} {} +struct PlayerMedalsInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerMedalsInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerMedalsInfoDefaultTypeInternal() {} + union { + PlayerMedalsInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerMedalsInfoDefaultTypeInternal _PlayerMedalsInfo_default_instance_; +PROTOBUF_CONSTEXPR AccountActivity::AccountActivity( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.activity_)*/0u + , /*decltype(_impl_.mode_)*/0u + , /*decltype(_impl_.matchid_)*/uint64_t{0u} + , /*decltype(_impl_.map_)*/0u} {} +struct AccountActivityDefaultTypeInternal { + PROTOBUF_CONSTEXPR AccountActivityDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~AccountActivityDefaultTypeInternal() {} + union { + AccountActivity _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AccountActivityDefaultTypeInternal _AccountActivity_default_instance_; +PROTOBUF_CONSTEXPR TournamentMatchSetup::TournamentMatchSetup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_id_)*/0 + , /*decltype(_impl_.team_id_ct_)*/0 + , /*decltype(_impl_.team_id_t_)*/0 + , /*decltype(_impl_.event_stage_id_)*/0} {} +struct TournamentMatchSetupDefaultTypeInternal { + PROTOBUF_CONSTEXPR TournamentMatchSetupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~TournamentMatchSetupDefaultTypeInternal() {} + union { + TournamentMatchSetup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentMatchSetupDefaultTypeInternal _TournamentMatchSetup_default_instance_; +PROTOBUF_CONSTEXPR ServerHltvInfo::ServerHltvInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_mapgroup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tv_watch_key_)*/uint64_t{0u} + , /*decltype(_impl_.tv_udp_port_)*/0u + , /*decltype(_impl_.tv_slots_)*/0u + , /*decltype(_impl_.tv_clients_)*/0u + , /*decltype(_impl_.tv_proxies_)*/0u + , /*decltype(_impl_.tv_time_)*/0u + , /*decltype(_impl_.game_type_)*/0u + , /*decltype(_impl_.tv_master_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.tv_local_slots_)*/0u + , /*decltype(_impl_.tv_local_clients_)*/0u + , /*decltype(_impl_.tv_local_proxies_)*/0u + , /*decltype(_impl_.tv_relay_slots_)*/0u + , /*decltype(_impl_.tv_relay_clients_)*/0u + , /*decltype(_impl_.tv_relay_proxies_)*/0u + , /*decltype(_impl_.tv_relay_address_)*/0u + , /*decltype(_impl_.tv_relay_port_)*/0u + , /*decltype(_impl_.tv_relay_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.flags_)*/0u} {} +struct ServerHltvInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR ServerHltvInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ServerHltvInfoDefaultTypeInternal() {} + union { + ServerHltvInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServerHltvInfoDefaultTypeInternal _ServerHltvInfo_default_instance_; +PROTOBUF_CONSTEXPR IpAddressMask::IpAddressMask( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.a_)*/0u + , /*decltype(_impl_.b_)*/0u + , /*decltype(_impl_.c_)*/0u + , /*decltype(_impl_.d_)*/0u + , /*decltype(_impl_.bits_)*/0u + , /*decltype(_impl_.token_)*/0u} {} +struct IpAddressMaskDefaultTypeInternal { + PROTOBUF_CONSTEXPR IpAddressMaskDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~IpAddressMaskDefaultTypeInternal() {} + union { + IpAddressMask _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IpAddressMaskDefaultTypeInternal _IpAddressMask_default_instance_; +PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ecsgosteamuserstat_)*/0 + , /*decltype(_impl_.delta_)*/0 + , /*decltype(_impl_.absolute_)*/false} {} +struct CMsgCsgoSteamUserStatChangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChangeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgCsgoSteamUserStatChangeDefaultTypeInternal() {} + union { + CMsgCsgoSteamUserStatChange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCsgoSteamUserStatChangeDefaultTypeInternal _CMsgCsgoSteamUserStatChange_default_instance_; +PROTOBUF_CONSTEXPR XpProgressData::XpProgressData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.xp_points_)*/0u + , /*decltype(_impl_.xp_category_)*/0} {} +struct XpProgressDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR XpProgressDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~XpProgressDataDefaultTypeInternal() {} + union { + XpProgressData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpProgressDataDefaultTypeInternal _XpProgressData_default_instance_; +PROTOBUF_CONSTEXPR MatchEndItemUpdates::MatchEndItemUpdates( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_attr_defidx_)*/0u + , /*decltype(_impl_.item_attr_delta_value_)*/0u} {} +struct MatchEndItemUpdatesDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchEndItemUpdatesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchEndItemUpdatesDefaultTypeInternal() {} + union { + MatchEndItemUpdates _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchEndItemUpdatesDefaultTypeInternal _MatchEndItemUpdates_default_instance_; +PROTOBUF_CONSTEXPR ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tag_)*/0u + , /*decltype(_impl_.val_)*/0u} {} +struct ScoreLeaderboardData_EntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreLeaderboardData_EntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreLeaderboardData_EntryDefaultTypeInternal() {} + union { + ScoreLeaderboardData_Entry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardData_EntryDefaultTypeInternal _ScoreLeaderboardData_Entry_default_instance_; +PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_.accountid_)*/0u} {} +struct ScoreLeaderboardData_AccountEntriesDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntriesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreLeaderboardData_AccountEntriesDefaultTypeInternal() {} + union { + ScoreLeaderboardData_AccountEntries _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardData_AccountEntriesDefaultTypeInternal _ScoreLeaderboardData_AccountEntries_default_instance_; +PROTOBUF_CONSTEXPR ScoreLeaderboardData::ScoreLeaderboardData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountentries_)*/{} + , /*decltype(_impl_.matchentries_)*/{} + , /*decltype(_impl_.leaderboard_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quest_id_)*/uint64_t{0u} + , /*decltype(_impl_.score_)*/0u} {} +struct ScoreLeaderboardDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreLeaderboardDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreLeaderboardDataDefaultTypeInternal() {} + union { + ScoreLeaderboardData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardDataDefaultTypeInternal _ScoreLeaderboardData_default_instance_; +PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.quest_normal_points_required_)*/{} + , /*decltype(_impl_.quest_reward_xp_)*/{} + , /*decltype(_impl_.quest_id_)*/uint64_t{0u} + , /*decltype(_impl_.quest_normal_points_earned_)*/0 + , /*decltype(_impl_.quest_bonus_points_earned_)*/0 + , /*decltype(_impl_.quest_period_)*/0 + , /*decltype(_impl_.quest_type_)*/1} {} +struct PlayerQuestData_QuestItemDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerQuestData_QuestItemDataDefaultTypeInternal() {} + union { + PlayerQuestData_QuestItemData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerQuestData_QuestItemDataDefaultTypeInternal _PlayerQuestData_QuestItemData_default_instance_; +PROTOBUF_CONSTEXPR PlayerQuestData::PlayerQuestData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.quest_item_data_)*/{} + , /*decltype(_impl_.xp_progress_data_)*/{} + , /*decltype(_impl_.item_updates_)*/{} + , /*decltype(_impl_.userstatchanges_)*/{} + , /*decltype(_impl_.quester_account_id_)*/0u + , /*decltype(_impl_.time_played_)*/0u + , /*decltype(_impl_.mm_game_mode_)*/0u + , /*decltype(_impl_.operation_points_eligible_)*/false} {} +struct PlayerQuestDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerQuestDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerQuestDataDefaultTypeInternal() {} + union { + PlayerQuestData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerQuestDataDefaultTypeInternal _PlayerQuestData_default_instance_; +PROTOBUF_CONSTEXPR DeepPlayerStatsEntry::DeepPlayerStatsEntry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mates_)*/{} + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.mm_game_mode_)*/0u + , /*decltype(_impl_.mapid_)*/0u + , /*decltype(_impl_.b_starting_ct_)*/false + , /*decltype(_impl_.match_outcome_)*/0u + , /*decltype(_impl_.rounds_won_)*/0u + , /*decltype(_impl_.rounds_lost_)*/0u + , /*decltype(_impl_.stat_score_)*/0u + , /*decltype(_impl_.stat_deaths_)*/0u + , /*decltype(_impl_.stat_mvps_)*/0u + , /*decltype(_impl_.enemy_kills_)*/0u + , /*decltype(_impl_.enemy_headshots_)*/0u + , /*decltype(_impl_.enemy_2ks_)*/0u + , /*decltype(_impl_.enemy_3ks_)*/0u + , /*decltype(_impl_.enemy_4ks_)*/0u + , /*decltype(_impl_.total_damage_)*/0u + , /*decltype(_impl_.engagements_entry_count_)*/0u + , /*decltype(_impl_.engagements_entry_wins_)*/0u + , /*decltype(_impl_.engagements_1v1_count_)*/0u + , /*decltype(_impl_.engagements_1v1_wins_)*/0u + , /*decltype(_impl_.engagements_1v2_count_)*/0u + , /*decltype(_impl_.engagements_1v2_wins_)*/0u + , /*decltype(_impl_.utility_count_)*/0u + , /*decltype(_impl_.utility_success_)*/0u + , /*decltype(_impl_.flash_count_)*/0u + , /*decltype(_impl_.flash_success_)*/0u} {} +struct DeepPlayerStatsEntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR DeepPlayerStatsEntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DeepPlayerStatsEntryDefaultTypeInternal() {} + union { + DeepPlayerStatsEntry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeepPlayerStatsEntryDefaultTypeInternal _DeepPlayerStatsEntry_default_instance_; +PROTOBUF_CONSTEXPR DeepPlayerMatchEvent::DeepPlayerMatchEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.event_id_)*/0u + , /*decltype(_impl_.event_type_)*/0u + , /*decltype(_impl_.b_playing_ct_)*/false + , /*decltype(_impl_.user_pos_x_)*/0 + , /*decltype(_impl_.user_pos_y_)*/0 + , /*decltype(_impl_.user_defidx_)*/0u + , /*decltype(_impl_.other_pos_x_)*/0 + , /*decltype(_impl_.other_pos_y_)*/0 + , /*decltype(_impl_.other_defidx_)*/0u + , /*decltype(_impl_.user_pos_z_)*/0 + , /*decltype(_impl_.other_pos_z_)*/0 + , /*decltype(_impl_.event_data_)*/0} {} +struct DeepPlayerMatchEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR DeepPlayerMatchEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DeepPlayerMatchEventDefaultTypeInternal() {} + union { + DeepPlayerMatchEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeepPlayerMatchEventDefaultTypeInternal _DeepPlayerMatchEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_quest_data_)*/{} + , /*decltype(_impl_.binary_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.missionlbsdata_)*/nullptr + , /*decltype(_impl_.mm_game_mode_)*/0u + , /*decltype(_impl_.flags_)*/0u} {} +struct CMsgGC_ServerQuestUpdateDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGC_ServerQuestUpdateDataDefaultTypeInternal() {} + union { + CMsgGC_ServerQuestUpdateData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_ServerQuestUpdateDataDefaultTypeInternal _CMsgGC_ServerQuestUpdateData_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.token_)*/0u + , /*decltype(_impl_.stamp_)*/0u + , /*decltype(_impl_.exchange_)*/uint64_t{0u} + , /*decltype(_impl_.retry_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.viewers_external_total_)*/0u + , /*decltype(_impl_.viewers_external_steam_)*/0u} {} +struct CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ServerReservationUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_ids_)*/{} + , /*decltype(_impl_.ticket_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tournament_match_)*/nullptr + , /*decltype(_impl_.game_type_)*/0u + , /*decltype(_impl_.client_version_)*/0u + , /*decltype(_impl_.prime_only_)*/false + , /*decltype(_impl_.tv_control_)*/0u + , /*decltype(_impl_.lobby_id_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingStart _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStart_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.abandon_)*/0} {} +struct CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingStop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStop_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.region_id_)*/0 + , /*decltype(_impl_.region_r_)*/0 + , /*decltype(_impl_.distance_)*/0} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gameserverpings_)*/{} + , /*decltype(_impl_.data_center_pings_)*/{} + , /*decltype(_impl_.notes_)*/{} + , /*decltype(_impl_.search_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.debug_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.offset_index_)*/0 + , /*decltype(_impl_.final_batch_)*/0 + , /*decltype(_impl_.max_ping_)*/0u + , /*decltype(_impl_.test_token_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.waiting_account_id_sessions_)*/{} + , /*decltype(_impl_.ongoingmatch_account_id_sessions_)*/{} + , /*decltype(_impl_.failping_account_id_sessions_)*/{} + , /*decltype(_impl_.penalty_account_id_sessions_)*/{} + , /*decltype(_impl_.failready_account_id_sessions_)*/{} + , /*decltype(_impl_.vacbanned_account_id_sessions_)*/{} + , /*decltype(_impl_.notes_)*/{} + , /*decltype(_impl_.penalty_account_id_sessions_green_)*/{} + , /*decltype(_impl_.insufficientlevel_sessions_)*/{} + , /*decltype(_impl_.vsncheck_account_id_sessions_)*/{} + , /*decltype(_impl_.launcher_mismatch_sessions_)*/{} + , /*decltype(_impl_.insecure_account_id_sessions_)*/{} + , /*decltype(_impl_.error_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.global_stats_)*/nullptr + , /*decltype(_impl_.server_ipaddress_mask_)*/nullptr + , /*decltype(_impl_.matchmaking_)*/0} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mapid_)*/0 + , /*decltype(_impl_.team_id_ct_)*/0} {} +struct CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentMatchDraft_Entry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.drafts_)*/{} + , /*decltype(_impl_.vote_mapid_0_)*/{} + , /*decltype(_impl_.vote_mapid_1_)*/{} + , /*decltype(_impl_.vote_mapid_2_)*/{} + , /*decltype(_impl_.vote_mapid_3_)*/{} + , /*decltype(_impl_.vote_mapid_4_)*/{} + , /*decltype(_impl_.vote_mapid_5_)*/{} + , /*decltype(_impl_.vote_starting_side_)*/{} + , /*decltype(_impl_.event_id_)*/0 + , /*decltype(_impl_.event_stage_id_)*/0 + , /*decltype(_impl_.team_id_0_)*/0 + , /*decltype(_impl_.team_id_1_)*/0 + , /*decltype(_impl_.maps_count_)*/0 + , /*decltype(_impl_.maps_current_)*/0 + , /*decltype(_impl_.team_id_start_)*/0 + , /*decltype(_impl_.team_id_veto1_)*/0 + , /*decltype(_impl_.team_id_pickn_)*/0 + , /*decltype(_impl_.vote_phase_)*/0 + , /*decltype(_impl_.vote_phase_start_)*/0 + , /*decltype(_impl_.vote_phase_length_)*/0} {} +struct CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentMatchDraft _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_; +PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.match_info_teams_)*/{} + , /*decltype(_impl_.match_info_txt_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.match_info_idxtxt_)*/0} {} +struct CPreMatchInfoData_TeamStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPreMatchInfoData_TeamStatsDefaultTypeInternal() {} + union { + CPreMatchInfoData_TeamStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPreMatchInfoData_TeamStatsDefaultTypeInternal _CPreMatchInfoData_TeamStats_default_instance_; +PROTOBUF_CONSTEXPR CPreMatchInfoData::CPreMatchInfoData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stats_)*/{} + , /*decltype(_impl_.wins_)*/{} + , /*decltype(_impl_.draft_)*/nullptr + , /*decltype(_impl_.predictions_pct_)*/0} {} +struct CPreMatchInfoDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPreMatchInfoDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPreMatchInfoDataDefaultTypeInternal() {} + union { + CPreMatchInfoData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPreMatchInfoDataDefaultTypeInternal _CPreMatchInfoData_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_ids_)*/{} + , /*decltype(_impl_.rankings_)*/{} + , /*decltype(_impl_.party_ids_)*/{} + , /*decltype(_impl_.whitelist_)*/{} + , /*decltype(_impl_.tournament_teams_)*/{} + , /*decltype(_impl_.tournament_casters_account_ids_)*/{} + , /*decltype(_impl_.op_var_values_)*/{} + , /*decltype(_impl_.teammate_colors_)*/{} + , /*decltype(_impl_.tournament_event_)*/nullptr + , /*decltype(_impl_.pre_match_data_)*/nullptr + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.game_type_)*/0u + , /*decltype(_impl_.server_version_)*/0u + , /*decltype(_impl_.encryption_key_)*/uint64_t{0u} + , /*decltype(_impl_.encryption_key_pub_)*/uint64_t{0u} + , /*decltype(_impl_.tv_master_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.tv_relay_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.tv_control_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.socache_control_)*/0u + , /*decltype(_impl_.match_id_additional_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reward_player_accounts_)*/{} + , /*decltype(_impl_.idle_player_accounts_)*/{} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tournament_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reservation_)*/nullptr + , /*decltype(_impl_.tv_info_)*/nullptr + , /*decltype(_impl_.reservationid_)*/uint64_t{0u} + , /*decltype(_impl_.gc_reservation_sent_)*/uint64_t{0u} + , /*decltype(_impl_.server_version_)*/0u + , /*decltype(_impl_.reward_item_attr_def_idx_)*/0u + , /*decltype(_impl_.reward_item_attr_value_)*/0u + , /*decltype(_impl_.reward_item_attr_reward_idx_)*/0u + , /*decltype(_impl_.reward_drop_list_)*/0u + , /*decltype(_impl_.legacy_steamdatagram_port_)*/0u + , /*decltype(_impl_.test_token_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.steamdatagram_routing_)*/0u + , /*decltype(_impl_.system_load_)*/0u + , /*decltype(_impl_.cpus_online_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reservation_)*/nullptr + , /*decltype(_impl_.gs_ping_)*/nullptr + , /*decltype(_impl_.serverid_)*/uint64_t{0u} + , /*decltype(_impl_.direct_udp_ip_)*/0u + , /*decltype(_impl_.direct_udp_port_)*/0u + , /*decltype(_impl_.reservationid_)*/uint64_t{0u} + , /*decltype(_impl_.gs_location_id_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_mvp_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.kills_)*/{} + , /*decltype(_impl_.assists_)*/{} + , /*decltype(_impl_.deaths_)*/{} + , /*decltype(_impl_.scores_)*/{} + , /*decltype(_impl_.pings_)*/{} + , /*decltype(_impl_.team_scores_)*/{} + , /*decltype(_impl_.enemy_kills_)*/{} + , /*decltype(_impl_.enemy_headshots_)*/{} + , /*decltype(_impl_.enemy_3ks_)*/{} + , /*decltype(_impl_.enemy_4ks_)*/{} + , /*decltype(_impl_.enemy_5ks_)*/{} + , /*decltype(_impl_.mvps_)*/{} + , /*decltype(_impl_.enemy_kills_agg_)*/{} + , /*decltype(_impl_.enemy_2ks_)*/{} + , /*decltype(_impl_.player_spawned_)*/{} + , /*decltype(_impl_.team_spawn_count_)*/{} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reservation_)*/nullptr + , /*decltype(_impl_.confirm_)*/nullptr + , /*decltype(_impl_.drop_info_)*/nullptr + , /*decltype(_impl_.reservationid_)*/uint64_t{0u} + , /*decltype(_impl_.round_)*/0 + , /*decltype(_impl_.round_result_)*/0 + , /*decltype(_impl_.match_result_)*/0 + , /*decltype(_impl_.reservation_stage_)*/0 + , /*decltype(_impl_.match_duration_)*/0 + , /*decltype(_impl_.spectators_count_)*/0u + , /*decltype(_impl_.spectators_count_tv_)*/0u + , /*decltype(_impl_.spectators_count_lnk_)*/0u + , /*decltype(_impl_.b_switched_teams_)*/false + , /*decltype(_impl_.max_rounds_)*/0u + , /*decltype(_impl_.map_id_)*/0} {} +struct CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello( + ::_pbi::ConstantInitialized) {} +struct CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingClient2GCHello _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.my_current_event_teams_)*/{} + , /*decltype(_impl_.my_current_event_stages_)*/{} + , /*decltype(_impl_.rankings_)*/{} + , /*decltype(_impl_.ongoingmatch_)*/nullptr + , /*decltype(_impl_.global_stats_)*/nullptr + , /*decltype(_impl_.ranking_)*/nullptr + , /*decltype(_impl_.commendation_)*/nullptr + , /*decltype(_impl_.medals_)*/nullptr + , /*decltype(_impl_.my_current_event_)*/nullptr + , /*decltype(_impl_.my_current_team_)*/nullptr + , /*decltype(_impl_.activity_)*/nullptr + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.penalty_seconds_)*/0u + , /*decltype(_impl_.penalty_reason_)*/0u + , /*decltype(_impl_.vac_banned_)*/0 + , /*decltype(_impl_.survey_vote_)*/0u + , /*decltype(_impl_.player_level_)*/0 + , /*decltype(_impl_.player_cur_xp_)*/0 + , /*decltype(_impl_.player_xp_bonus_flags_)*/0 + , /*decltype(_impl_.owcaseid_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.setting_type_)*/0u + , /*decltype(_impl_.setting_value_)*/0u} {} +struct CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.settings_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_AccountPrivacySettings _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.abandoned_match_)*/nullptr + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.penalty_seconds_)*/0u + , /*decltype(_impl_.penalty_reason_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.rankings_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientGCRankUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.main_post_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.reason_)*/0u + , /*decltype(_impl_.seconds_)*/0u + , /*decltype(_impl_.communication_cooldown_)*/false} {} +struct CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.rpt_aimbot_)*/0u + , /*decltype(_impl_.rpt_wallhack_)*/0u + , /*decltype(_impl_.rpt_speedhack_)*/0u + , /*decltype(_impl_.rpt_teamharm_)*/0u + , /*decltype(_impl_.rpt_textabuse_)*/0u + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.rpt_voiceabuse_)*/0u + , /*decltype(_impl_.report_from_demo_)*/false} {} +struct CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientReportPlayer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.commendation_)*/nullptr + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.tokens_)*/0u + , /*decltype(_impl_.match_id_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientCommendPlayer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.rpt_poorperf_)*/0u + , /*decltype(_impl_.rpt_abusivemodels_)*/0u + , /*decltype(_impl_.rpt_badmotd_)*/0u + , /*decltype(_impl_.rpt_listingabuse_)*/0u + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.rpt_inventoryabuse_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientReportServer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportServer_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.confirmation_id_)*/uint64_t{0u} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.server_ip_)*/0u + , /*decltype(_impl_.response_type_)*/0u + , /*decltype(_impl_.response_result_)*/0u + , /*decltype(_impl_.tokens_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientReportResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_ids_)*/{} + , /*decltype(_impl_.data_center_pings_)*/{} + , /*decltype(_impl_.serverid_)*/uint64_t{0u} + , /*decltype(_impl_.request_id_)*/0u + , /*decltype(_impl_.client_launcher_)*/0u + , /*decltype(_impl_.matchid_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_; +PROTOBUF_CONSTEXPR WatchableMatchInfo::WatchableMatchInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tv_watch_password_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_mapgroup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_ip_)*/0u + , /*decltype(_impl_.tv_port_)*/0u + , /*decltype(_impl_.tv_spectators_)*/0u + , /*decltype(_impl_.tv_time_)*/0u + , /*decltype(_impl_.cl_decryptdata_key_)*/uint64_t{0u} + , /*decltype(_impl_.cl_decryptdata_key_pub_)*/uint64_t{0u} + , /*decltype(_impl_.server_id_)*/uint64_t{0u} + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.reservation_id_)*/uint64_t{0u} + , /*decltype(_impl_.game_type_)*/0u} {} +struct WatchableMatchInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR WatchableMatchInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~WatchableMatchInfoDefaultTypeInternal() {} + union { + WatchableMatchInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WatchableMatchInfoDefaultTypeInternal _WatchableMatchInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.errormsg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.res_)*/nullptr + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.join_token_)*/0u + , /*decltype(_impl_.join_ipp_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestJoinFriendData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.errormsg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.res_)*/nullptr + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.serverid_)*/uint64_t{0u} + , /*decltype(_impl_.server_ip_)*/0u + , /*decltype(_impl_.server_port_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestJoinServerData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.campaign_id_)*/0u + , /*decltype(_impl_.redeem_id_)*/0u + , /*decltype(_impl_.redeemable_balance_)*/0u + , /*decltype(_impl_.expected_cost_)*/0u + , /*decltype(_impl_.bid_control_)*/0} {} +struct CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal() {} + union { + CMsgGCCstrike15_v2_ClientRedeemMissionReward _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.generation_time_)*/0u + , /*decltype(_impl_.redeemable_balance_)*/0u} {} +struct CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal() {} + union { + CMsgGCCstrike15_v2_ClientRedeemFreeReward _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.xp_progress_data_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.current_xp_)*/0u + , /*decltype(_impl_.current_level_)*/0u + , /*decltype(_impl_.upgraded_defidx_)*/0u + , /*decltype(_impl_.operation_points_awarded_)*/0u + , /*decltype(_impl_.free_rewards_)*/0u + , /*decltype(_impl_.xp_trail_remaining_)*/0u + , /*decltype(_impl_.xp_trail_xp_needed_)*/0 + , /*decltype(_impl_.xp_trail_level_)*/0u} {} +struct CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal() {} + union { + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal _CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientNetworkConfig _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal _CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.begin_)*/0u + , /*decltype(_impl_.end_)*/0u + , /*decltype(_impl_.frozen_)*/false} {} +struct CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal() {} + union { + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.events_)*/{} + , /*decltype(_impl_.player_)*/nullptr} {} +struct CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal() {} + union { + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.matches_)*/{} + , /*decltype(_impl_.range_)*/nullptr + , /*decltype(_impl_.account_id_)*/0u} {} +struct CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_ClientDeepStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_ids_)*/{} + , /*decltype(_impl_.watchable_match_infos_)*/{} + , /*decltype(_impl_.request_id_)*/0u + , /*decltype(_impl_.extended_timeout_)*/0u} {} +struct CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_WatchInfoUsers _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal _CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_ids__deprecated_)*/{} + , /*decltype(_impl_.request_id__deprecated_)*/0u + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.request_level_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestPlayersProfile _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_profiles_)*/{} + , /*decltype(_impl_.request_id_)*/0u} {} +struct CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PlayersProfile _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_PlayersProfile_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.week_id_)*/uint64_t{0u} + , /*decltype(_impl_.rank_id_)*/0u + , /*decltype(_impl_.matches_played_)*/0u} {} +struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.map_id_)*/0u + , /*decltype(_impl_.wins_)*/0u + , /*decltype(_impl_.ties_)*/0u + , /*decltype(_impl_.losses_)*/0u + , /*decltype(_impl_.rounds_)*/0u + , /*decltype(_impl_.kills_)*/0u + , /*decltype(_impl_.headshots_)*/0u + , /*decltype(_impl_.assists_)*/0u + , /*decltype(_impl_.deaths_)*/0u + , /*decltype(_impl_.mvps_)*/0u + , /*decltype(_impl_.rounds_3k_)*/0u + , /*decltype(_impl_.rounds_4k_)*/0u + , /*decltype(_impl_.rounds_5k_)*/0u} {} +struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_per_week_)*/{} + , /*decltype(_impl_.data_per_map_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.season_id_)*/0u} {} +struct CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PremierSeasonSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.caseid_)*/uint64_t{0u} + , /*decltype(_impl_.suspectid_)*/0u + , /*decltype(_impl_.fractionid_)*/0u + , /*decltype(_impl_.rpt_aimbot_)*/0u + , /*decltype(_impl_.rpt_wallhack_)*/0u + , /*decltype(_impl_.rpt_speedhack_)*/0u + , /*decltype(_impl_.rpt_teamharm_)*/0u + , /*decltype(_impl_.reason_)*/0u} {} +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.caseurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.caseid_)*/uint64_t{0u} + , /*decltype(_impl_.verdict_)*/0u + , /*decltype(_impl_.timestamp_)*/0u + , /*decltype(_impl_.throttleseconds_)*/0u + , /*decltype(_impl_.suspectid_)*/0u + , /*decltype(_impl_.fractionid_)*/0u + , /*decltype(_impl_.numrounds_)*/0u + , /*decltype(_impl_.fractionrounds_)*/0u + , /*decltype(_impl_.streakconvictions_)*/0 + , /*decltype(_impl_.reason_)*/0u} {} +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.caseid_)*/uint64_t{0u} + , /*decltype(_impl_.statusid_)*/0u} {} +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_; +PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.caseid_)*/uint64_t{0u} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CClientHeaderOverwatchEvidenceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidenceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CClientHeaderOverwatchEvidenceDefaultTypeInternal() {} + union { + CClientHeaderOverwatchEvidence _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientHeaderOverwatchEvidenceDefaultTypeInternal _CClientHeaderOverwatchEvidence_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.payload_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientTextMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.args_)*/{} + , /*decltype(_impl_.id_)*/0u} {} +struct CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GCTextMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.serverinfo_)*/nullptr + , /*decltype(_impl_.match_end_quest_data_)*/nullptr} {} +struct CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchEndRunRewardDrops _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_; +PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slot_)*/0u + , /*decltype(_impl_.sticker_id_)*/0u + , /*decltype(_impl_.wear_)*/0 + , /*decltype(_impl_.scale_)*/0 + , /*decltype(_impl_.rotation_)*/0 + , /*decltype(_impl_.tint_id_)*/0u + , /*decltype(_impl_.offset_x_)*/0 + , /*decltype(_impl_.offset_y_)*/0 + , /*decltype(_impl_.offset_z_)*/0 + , /*decltype(_impl_.pattern_)*/0u + , /*decltype(_impl_.highlight_reel_)*/0u} {} +struct CEconItemPreviewDataBlock_StickerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_StickerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEconItemPreviewDataBlock_StickerDefaultTypeInternal() {} + union { + CEconItemPreviewDataBlock_Sticker _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEconItemPreviewDataBlock_StickerDefaultTypeInternal _CEconItemPreviewDataBlock_Sticker_default_instance_; +PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock::CEconItemPreviewDataBlock( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stickers_)*/{} + , /*decltype(_impl_.keychains_)*/{} + , /*decltype(_impl_.variations_)*/{} + , /*decltype(_impl_.customname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.itemid_)*/uint64_t{0u} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.defindex_)*/0u + , /*decltype(_impl_.paintindex_)*/0u + , /*decltype(_impl_.rarity_)*/0u + , /*decltype(_impl_.quality_)*/0u + , /*decltype(_impl_.paintwear_)*/0u + , /*decltype(_impl_.paintseed_)*/0u + , /*decltype(_impl_.killeaterscoretype_)*/0u + , /*decltype(_impl_.killeatervalue_)*/0u + , /*decltype(_impl_.inventory_)*/0u + , /*decltype(_impl_.origin_)*/0u + , /*decltype(_impl_.questid_)*/0u + , /*decltype(_impl_.dropreason_)*/0u + , /*decltype(_impl_.musicindex_)*/0u + , /*decltype(_impl_.entindex_)*/0 + , /*decltype(_impl_.petindex_)*/0u + , /*decltype(_impl_.style_)*/0u + , /*decltype(_impl_.upgrade_level_)*/0u} {} +struct CEconItemPreviewDataBlockDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEconItemPreviewDataBlockDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEconItemPreviewDataBlockDefaultTypeInternal() {} + union { + CEconItemPreviewDataBlock _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEconItemPreviewDataBlockDefaultTypeInternal _CEconItemPreviewDataBlock_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.iteminfo_)*/nullptr} {} +struct CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_; +PROTOBUF_CONSTEXPR CMsgItemAcknowledged::CMsgItemAcknowledged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.iteminfo_)*/nullptr} {} +struct CMsgItemAcknowledgedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgItemAcknowledgedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgItemAcknowledgedDefaultTypeInternal() {} + union { + CMsgItemAcknowledged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgItemAcknowledgedDefaultTypeInternal _CMsgItemAcknowledged_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.param_s_)*/uint64_t{0u} + , /*decltype(_impl_.param_a_)*/uint64_t{0u} + , /*decltype(_impl_.param_d_)*/uint64_t{0u} + , /*decltype(_impl_.param_m_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.iteminfo_)*/nullptr} {} +struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames( + ::_pbi::ConstantInitialized) {} +struct CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eventid_)*/0} {} +struct CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListRequestTournamentGames _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.matchid_)*/uint64_t{0u} + , /*decltype(_impl_.outcomeid_)*/uint64_t{0u} + , /*decltype(_impl_.token_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.roundstatsall_)*/{} + , /*decltype(_impl_.watchablematchinfo_)*/nullptr + , /*decltype(_impl_.roundstats_legacy_)*/nullptr + , /*decltype(_impl_.matchid_)*/uint64_t{0u} + , /*decltype(_impl_.matchtime_)*/0u} {} +struct CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_MatchInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal _CDataGCCStrike15_v2_MatchInfo_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.team_id_)*/0 + , /*decltype(_impl_.score_)*/0 + , /*decltype(_impl_.correctpick_)*/false} {} +struct CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentGroupTeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pickids_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentGroup_Picks _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.teams_)*/{} + , /*decltype(_impl_.stage_ids_)*/{} + , /*decltype(_impl_.picks_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.groupid_)*/0u + , /*decltype(_impl_.picks__deprecated_)*/0u + , /*decltype(_impl_.picklockuntiltime_)*/0u + , /*decltype(_impl_.pickableteams_)*/0u + , /*decltype(_impl_.points_per_pick_)*/0u} {} +struct CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentGroup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.groups_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sectionid_)*/0u} {} +struct CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentSection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal _CDataGCCStrike15_v2_TournamentSection_default_instance_; +PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sections_)*/{} + , /*decltype(_impl_.tournament_teams_)*/{} + , /*decltype(_impl_.tournament_event_)*/nullptr} {} +struct CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal() {} + union { + CDataGCCStrike15_v2_TournamentInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal _CDataGCCStrike15_v2_TournamentInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.matches_)*/{} + , /*decltype(_impl_.streams_)*/{} + , /*decltype(_impl_.tournamentinfo_)*/nullptr + , /*decltype(_impl_.msgrequestid_)*/0u + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.servertime_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListDefaultTypeInternal _CMsgGCCStrike15_v2_MatchList_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.matches_)*/{} + , /*decltype(_impl_.eventid_)*/0 + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sectionid_)*/0 + , /*decltype(_impl_.groupid_)*/0 + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.teamid_)*/0 + , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.group_match_team_picks_)*/{} + , /*decltype(_impl_.event_id_)*/0u} {} +struct CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Predictions _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.pick_)*/0 + , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Fantasy_FantasySlot _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slots_)*/{} + , /*decltype(_impl_.sectionid_)*/0} {} +struct CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Fantasy_FantasyTeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.teams_)*/{} + , /*decltype(_impl_.event_id_)*/0u} {} +struct CMsgGCCStrike15_v2_FantasyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_FantasyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_FantasyDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Fantasy _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_FantasyDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_default_instance_; +PROTOBUF_CONSTEXPR CAttribute_String::CAttribute_String( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CAttribute_StringDefaultTypeInternal { + PROTOBUF_CONSTEXPR CAttribute_StringDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CAttribute_StringDefaultTypeInternal() {} + union { + CAttribute_String _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CAttribute_StringDefaultTypeInternal _CAttribute_String_default_instance_; +PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.latitude_)*/0 + , /*decltype(_impl_.longitude_)*/0} {} +struct CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal() {} + union { + CMsgLegacySource1ClientWelcome_Location _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal _CMsgLegacySource1ClientWelcome_Location_default_instance_; +PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.outofdate_subscribed_caches_)*/{} + , /*decltype(_impl_.uptodate_subscribed_caches_)*/{} + , /*decltype(_impl_.game_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.balance_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.txn_country_code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.location_)*/nullptr + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.rtime32_gc_welcome_timestamp_)*/0u + , /*decltype(_impl_.currency_)*/0u + , /*decltype(_impl_.balance_)*/0u} {} +struct CMsgLegacySource1ClientWelcomeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcomeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgLegacySource1ClientWelcomeDefaultTypeInternal() {} + union { + CMsgLegacySource1ClientWelcome _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLegacySource1ClientWelcomeDefaultTypeInternal _CMsgLegacySource1ClientWelcome_default_instance_; +PROTOBUF_CONSTEXPR CMsgCStrike15Welcome::CMsgCStrike15Welcome( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.store_item_hash_)*/0u + , /*decltype(_impl_.timeplayedconsecutively_)*/0u + , /*decltype(_impl_.time_first_played_)*/0u + , /*decltype(_impl_.last_time_played_)*/0u + , /*decltype(_impl_.gscookieid_)*/uint64_t{0u} + , /*decltype(_impl_.uniqueid_)*/uint64_t{0u} + , /*decltype(_impl_.last_ip_address_)*/0u} {} +struct CMsgCStrike15WelcomeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgCStrike15WelcomeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgCStrike15WelcomeDefaultTypeInternal() {} + union { + CMsgCStrike15Welcome _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCStrike15WelcomeDefaultTypeInternal _CMsgCStrike15Welcome_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.choked_blocks_)*/{} + , /*decltype(_impl_.value_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_int_)*/0 + , /*decltype(_impl_.server_addr_)*/0u + , /*decltype(_impl_.server_port_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.viewangles_)*/{} + , /*decltype(_impl_.userdata_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest( + ::_pbi::ConstantInitialized) {} +struct CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GiftsLeaderboardRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.gifts_)*/0u} {} +struct CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_.servertime_)*/0u + , /*decltype(_impl_.time_period_seconds_)*/0u + , /*decltype(_impl_.total_gifts_given_)*/0u + , /*decltype(_impl_.total_givers_)*/0u} {} +struct CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.survey_id_)*/0u + , /*decltype(_impl_.vote_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientSubmitSurveyVote _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal _CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Server2GCClientValidate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal _CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.teamids_)*/{} + , /*decltype(_impl_.eventid_)*/0u + , /*decltype(_impl_.stageid_)*/0u + , /*decltype(_impl_.game_type_)*/0u} {} +struct CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientTournamentInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_; +PROTOBUF_CONSTEXPR CSOEconCoupon::CSOEconCoupon( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entryid_)*/0u + , /*decltype(_impl_.defidx_)*/0u + , /*decltype(_impl_.expiration_date_)*/0u} {} +struct CSOEconCouponDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOEconCouponDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOEconCouponDefaultTypeInternal() {} + union { + CSOEconCoupon _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconCouponDefaultTypeInternal _CSOEconCoupon_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountItemPersonalStore::CSOAccountItemPersonalStore( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.generation_time_)*/0u + , /*decltype(_impl_.redeemable_balance_)*/0u} {} +struct CSOAccountItemPersonalStoreDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountItemPersonalStoreDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountItemPersonalStoreDefaultTypeInternal() {} + union { + CSOAccountItemPersonalStore _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountItemPersonalStoreDefaultTypeInternal _CSOAccountItemPersonalStore_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountXpShop::CSOAccountXpShop( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.xp_tracks_)*/{} + , /*decltype(_impl_.generation_time_)*/0u + , /*decltype(_impl_.redeemable_balance_)*/0u} {} +struct CSOAccountXpShopDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountXpShopDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountXpShopDefaultTypeInternal() {} + union { + CSOAccountXpShop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountXpShopDefaultTypeInternal _CSOAccountXpShop_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountXpShopBids::CSOAccountXpShopBids( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.campaign_id_)*/0u + , /*decltype(_impl_.redeem_id_)*/0u + , /*decltype(_impl_.expected_cost_)*/0u + , /*decltype(_impl_.generation_time_)*/0u} {} +struct CSOAccountXpShopBidsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountXpShopBidsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountXpShopBidsDefaultTypeInternal() {} + union { + CSOAccountXpShopBids _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountXpShopBidsDefaultTypeInternal _CSOAccountXpShopBids_default_instance_; +PROTOBUF_CONSTEXPR CSOVolatileItemOffer::CSOVolatileItemOffer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.faux_itemid_)*/{} + , /*decltype(_impl_.generation_time_)*/{} + , /*decltype(_impl_.defidx_)*/0u} {} +struct CSOVolatileItemOfferDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOVolatileItemOfferDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOVolatileItemOfferDefaultTypeInternal() {} + union { + CSOVolatileItemOffer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOVolatileItemOfferDefaultTypeInternal _CSOVolatileItemOffer_default_instance_; +PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reward_)*/{} + , /*decltype(_impl_.generation_time_)*/{} + , /*decltype(_impl_.defidx_)*/0u} {} +struct CSOVolatileItemClaimedRewardsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewardsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOVolatileItemClaimedRewardsDefaultTypeInternal() {} + union { + CSOVolatileItemClaimedRewards _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOVolatileItemClaimedRewardsDefaultTypeInternal _CSOVolatileItemClaimedRewards_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.charges_)*/0u} {} +struct CSOAccountKeychainRemoveToolChargesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolChargesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountKeychainRemoveToolChargesDefaultTypeInternal() {} + union { + CSOAccountKeychainRemoveToolCharges _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountKeychainRemoveToolChargesDefaultTypeInternal _CSOAccountKeychainRemoveToolCharges_default_instance_; +PROTOBUF_CONSTEXPR CSOQuestProgress::CSOQuestProgress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.questid_)*/0u + , /*decltype(_impl_.points_remaining_)*/0u + , /*decltype(_impl_.bonus_points_)*/0u} {} +struct CSOQuestProgressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOQuestProgressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOQuestProgressDefaultTypeInternal() {} + union { + CSOQuestProgress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOQuestProgressDefaultTypeInternal _CSOQuestProgress_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountSeasonalOperation::CSOAccountSeasonalOperation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.season_value_)*/0u + , /*decltype(_impl_.tier_unlocked_)*/0u + , /*decltype(_impl_.premium_tiers_)*/0u + , /*decltype(_impl_.mission_id_)*/0u + , /*decltype(_impl_.missions_completed_)*/0u + , /*decltype(_impl_.redeemable_balance_)*/0u + , /*decltype(_impl_.season_pass_time_)*/0u} {} +struct CSOAccountSeasonalOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountSeasonalOperationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountSeasonalOperationDefaultTypeInternal() {} + union { + CSOAccountSeasonalOperation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountSeasonalOperationDefaultTypeInternal _CSOAccountSeasonalOperation_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountRecurringSubscription::CSOAccountRecurringSubscription( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.time_next_cycle_)*/0u + , /*decltype(_impl_.time_initiated_)*/0u} {} +struct CSOAccountRecurringSubscriptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountRecurringSubscriptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountRecurringSubscriptionDefaultTypeInternal() {} + union { + CSOAccountRecurringSubscription _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountRecurringSubscriptionDefaultTypeInternal _CSOAccountRecurringSubscription_default_instance_; +PROTOBUF_CONSTEXPR CSOGameAccountSteamChina::CSOGameAccountSteamChina( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.time_last_update_)*/0u + , /*decltype(_impl_.time_comms_ban_)*/0u + , /*decltype(_impl_.time_play_ban_)*/0u} {} +struct CSOGameAccountSteamChinaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOGameAccountSteamChinaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOGameAccountSteamChinaDefaultTypeInternal() {} + union { + CSOGameAccountSteamChina _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOGameAccountSteamChinaDefaultTypeInternal _CSOGameAccountSteamChina_default_instance_; +PROTOBUF_CONSTEXPR CSOPersonaDataPublic::CSOPersonaDataPublic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.commendation_)*/nullptr + , /*decltype(_impl_.player_level_)*/0 + , /*decltype(_impl_.elevated_state_)*/false + , /*decltype(_impl_.xp_trail_timestamp_refresh_)*/0u + , /*decltype(_impl_.xp_trail_level_)*/0u} {} +struct CSOPersonaDataPublicDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOPersonaDataPublicDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOPersonaDataPublicDefaultTypeInternal() {} + union { + CSOPersonaDataPublic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOPersonaDataPublicDefaultTypeInternal _CSOPersonaDataPublic_default_instance_; +PROTOBUF_CONSTEXPR CSOAccountRecurringMission::CSOAccountRecurringMission( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.mission_id_)*/0u + , /*decltype(_impl_.period_)*/0u + , /*decltype(_impl_.progress_)*/0u} {} +struct CSOAccountRecurringMissionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSOAccountRecurringMissionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSOAccountRecurringMissionDefaultTypeInternal() {} + union { + CSOAccountRecurringMission _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountRecurringMissionDefaultTypeInternal _CSOAccountRecurringMission_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.prematch_)*/nullptr + , /*decltype(_impl_.postmatch_)*/nullptr + , /*decltype(_impl_.current_xp_)*/0u + , /*decltype(_impl_.current_level_)*/0u} {} +struct CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks( + ::_pbi::ConstantInitialized) {} +struct CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GcAckXPShopTracks _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gs_location_id_)*/0u + , /*decltype(_impl_.data_center_id_)*/0u + , /*decltype(_impl_.num_locked_in_)*/0u + , /*decltype(_impl_.num_found_nearby_)*/0u + , /*decltype(_impl_.note_level_)*/0u} {} +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_; +PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ticket_)*/uint64_t{0u}} {} +struct CMsgGC_GlobalGame_SubscribeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_SubscribeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGC_GlobalGame_SubscribeDefaultTypeInternal() {} + union { + CMsgGC_GlobalGame_Subscribe _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_SubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Subscribe_default_instance_; +PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.timeleft_)*/0} {} +struct CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal() {} + union { + CMsgGC_GlobalGame_Unsubscribe _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Unsubscribe_default_instance_; +PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ticket_)*/uint64_t{0u} + , /*decltype(_impl_.gametimems_)*/0u + , /*decltype(_impl_.msperpoint_)*/0u} {} +struct CMsgGC_GlobalGame_PlayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_PlayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGC_GlobalGame_PlayDefaultTypeInternal() {} + union { + CMsgGC_GlobalGame_Play _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_PlayDefaultTypeInternal _CMsgGC_GlobalGame_Play_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.acknowledged_)*/0} {} +struct CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_AcknowledgePenalty _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.upgradeid_)*/uint64_t{0u} + , /*decltype(_impl_.defindex_)*/0u + , /*decltype(_impl_.hours_)*/0u + , /*decltype(_impl_.prestigetime_)*/0u} {} +struct CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ticket_)*/uint64_t{0u} + , /*decltype(_impl_.os_)*/0} {} +struct CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Client2GCStreamUnlock _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stage_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientToGCRequestElevate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.match_id_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientToGCChat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCChat_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u} {} +struct CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GCToClientChat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal _CMsgGCCStrike15_v2_GCToClientChat_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.eventid_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientAuthKeyCode _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/nullptr} {} +struct CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal() {} + union { + CMsgGCCStrike15_GotvSyncPacket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal _CMsgGCCStrike15_GotvSyncPacket_default_instance_; +PROTOBUF_CONSTEXPR PlayerDecalDigitalSignature::PlayerDecalDigitalSignature( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.endpos_)*/{} + , /*decltype(_impl_.startpos_)*/{} + , /*decltype(_impl_.left_)*/{} + , /*decltype(_impl_.normal_)*/{} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.rtime_)*/0u + , /*decltype(_impl_.tx_defidx_)*/0u + , /*decltype(_impl_.entindex_)*/0 + , /*decltype(_impl_.hitbox_)*/0u + , /*decltype(_impl_.creationtime_)*/0 + , /*decltype(_impl_.equipslot_)*/0u + , /*decltype(_impl_.trace_id_)*/0u + , /*decltype(_impl_.tint_id_)*/0u} {} +struct PlayerDecalDigitalSignatureDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerDecalDigitalSignatureDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerDecalDigitalSignatureDefaultTypeInternal() {} + union { + PlayerDecalDigitalSignature _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDecalDigitalSignatureDefaultTypeInternal _PlayerDecalDigitalSignature_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/nullptr + , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPlayerDecalSign _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eresult_)*/0u} {} +struct CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_BetaEnrollment _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal _CMsgGCCStrike15_v2_BetaEnrollment_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.errorcode_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientLogonFatalError _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal _CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.names_)*/{} + , /*decltype(_impl_.values_)*/{} + , /*decltype(_impl_.pollid_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPollState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPollState_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.ver_)*/0u + , /*decltype(_impl_.apr_)*/0u + , /*decltype(_impl_.ark_)*/0u + , /*decltype(_impl_.nby_)*/0u + , /*decltype(_impl_.grp_)*/0u + , /*decltype(_impl_.slots_)*/0u + , /*decltype(_impl_.launcher_)*/0u + , /*decltype(_impl_.game_type_)*/0u} {} +struct CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Party_Register _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Register_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.grps_)*/{} + , /*decltype(_impl_.ver_)*/0u + , /*decltype(_impl_.apr_)*/0u + , /*decltype(_impl_.ark_)*/0u + , /*decltype(_impl_.launcher_)*/0u + , /*decltype(_impl_.game_type_)*/0u} {} +struct CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Party_Search _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Search_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.grp_)*/0u + , /*decltype(_impl_.game_type_)*/0u + , /*decltype(_impl_.apr_)*/0u + , /*decltype(_impl_.ark_)*/0u + , /*decltype(_impl_.loc_)*/0u + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Party_SearchResults_Entry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Party_SearchResults _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.lobbyid_)*/0u} {} +struct CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Party_Invite _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Invite_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.rtcoplay_)*/0u + , /*decltype(_impl_.online_)*/false} {} +struct CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.servertime_)*/0u} {} +struct CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_Account_RequestCoPlays _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gameserver_sdr_routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.authorized_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.gameserver_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.authorized_public_ip_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientToGCRequestTicket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.serialized_ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCToClientSteamDatagramTicketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCToClientSteamDatagramTicketDefaultTypeInternal() {} + union { + CMsgGCToClientSteamDatagramTicket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToClientSteamDatagramTicketDefaultTypeInternal _CMsgGCToClientSteamDatagramTicket_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers( + ::_pbi::ConstantInitialized) {} +struct CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestOffers _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.itemid_)*/uint64_t{0u} + , /*decltype(_impl_.matchid_)*/uint64_t{0u} + , /*decltype(_impl_.eventid_)*/0} {} +struct CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientRequestSouvenir _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.amount_)*/uint64_t{0u}} {} +struct CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientAccountBalance _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.lobbyid_)*/uint64_t{0u} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPartyJoinRelay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.warntype_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPartyWarning_Entry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPartyWarning _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eventid_)*/uint64_t{0u} + , /*decltype(_impl_.is_favorite_)*/false} {} +struct CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_SetEventFavorite _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal _CMsgGCCStrike15_v2_SetEventFavorite_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.all_events_)*/false} {} +struct CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GetEventFavorites_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.json_favorites_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.json_featured_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.all_events_)*/false} {} +struct CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GetEventFavorites_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reference_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.actual_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.perfcounter_)*/0u + , /*decltype(_impl_.length_)*/0u + , /*decltype(_impl_.sourceid_)*/0u + , /*decltype(_impl_.status_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPerfReport_Entry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientPerfReport _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_default_instance_; +PROTOBUF_CONSTEXPR CVDiagnostic::CVDiagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.extended_)*/0u + , /*decltype(_impl_.value_)*/uint64_t{0u}} {} +struct CVDiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CVDiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CVDiagnosticDefaultTypeInternal() {} + union { + CVDiagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CVDiagnosticDefaultTypeInternal _CVDiagnostic_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.diagnostics_)*/{} + , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.command_line_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.last_launch_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.total_files_)*/0u + , /*decltype(_impl_.internal_error_)*/0u + , /*decltype(_impl_.trust_time_)*/0u + , /*decltype(_impl_.count_pending_)*/0u + , /*decltype(_impl_.count_completed_)*/0u + , /*decltype(_impl_.process_id_)*/0u + , /*decltype(_impl_.osversion_)*/0 + , /*decltype(_impl_.clientreportversion_)*/0u + , /*decltype(_impl_.status_id_)*/0u + , /*decltype(_impl_.diagnostic1_)*/0u + , /*decltype(_impl_.diagnostic2_)*/uint64_t{0u} + , /*decltype(_impl_.diagnostic3_)*/uint64_t{0u} + , /*decltype(_impl_.client_time_)*/uint64_t{0u} + , /*decltype(_impl_.diagnostic4_)*/uint64_t{0u} + , /*decltype(_impl_.diagnostic5_)*/uint64_t{0u} + , /*decltype(_impl_.report_count_)*/0u} {} +struct CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_ClientReportValidation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportValidation_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.files_prevented_trusted_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.offer_insecure_mode_)*/false + , /*decltype(_impl_.offer_secure_mode_)*/false + , /*decltype(_impl_.show_unsigned_ui_)*/false + , /*decltype(_impl_.kick_user_)*/false + , /*decltype(_impl_.show_trusted_ui_)*/false + , /*decltype(_impl_.show_warning_not_trusted_)*/false + , /*decltype(_impl_.show_warning_not_trusted_2_)*/false} {} +struct CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.module_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.full_report_)*/false} {} +struct CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientRequestValidation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.outputname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sha_hash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.manifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.system_package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.load_)*/false + , /*decltype(_impl_.load_system_)*/false + , /*decltype(_impl_.cookie_)*/0} {} +struct CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientInitSystem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.diagnostic_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sha_hash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.success_)*/false + , /*decltype(_impl_.response_)*/0 + , /*decltype(_impl_.error_code1_)*/0 + , /*decltype(_impl_.error_code2_)*/0 + , /*decltype(_impl_.handle_)*/int64_t{0} + , /*decltype(_impl_.einit_result_)*/0 + , /*decltype(_impl_.aux_system1_)*/0 + , /*decltype(_impl_.aux_system2_)*/0} {} +struct CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.leaderboard_safe_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal() {} + union { + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal _CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_; +PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule( + ::_pbi::ConstantInitialized) {} +struct CMsgRequestRecurringMissionScheduleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionScheduleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgRequestRecurringMissionScheduleDefaultTypeInternal() {} + union { + CMsgRequestRecurringMissionSchedule _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRequestRecurringMissionScheduleDefaultTypeInternal _CMsgRequestRecurringMissionSchedule_default_instance_; +PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mission_templates_)*/{} + , /*decltype(_impl_.period_)*/0u} {} +struct CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal() {} + union { + CMsgRecurringMissionSchema_MissionTemplateList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal _CMsgRecurringMissionSchema_MissionTemplateList_default_instance_; +PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema::CMsgRecurringMissionSchema( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.missions_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgRecurringMissionSchemaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgRecurringMissionSchemaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgRecurringMissionSchemaDefaultTypeInternal() {} + union { + CMsgRecurringMissionSchema _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRecurringMissionSchemaDefaultTypeInternal _CMsgRecurringMissionSchema_default_instance_; +static ::_pb::Metadata file_level_metadata_cstrike15_5fgcmessages_2eproto[180]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[5]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cstrike15_5fgcmessages_2eproto = nullptr; + +const uint32_t TableStruct_cstrike15_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::GameServerPing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.ping_), + PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.ip_), + PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.instances_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::DataCenterPing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_.data_center_id_), + PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_.ping_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.search_time_avg_), + PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.players_searching_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_nick_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_name_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_dob_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_flag_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_location_), + PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_desc_), + 5, + 0, + 1, + 6, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_id_), + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_tag_), + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_flag_), + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_name_), + PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.players_), + 3, + 0, + 1, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_tag_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_time_start_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_time_end_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_public_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_stage_id_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_stage_name_), + PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.active_section_id_), + 3, + 0, + 1, + 4, + 5, + 6, + 7, + 2, + 8, + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.players_online_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.servers_online_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.players_searching_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.servers_available_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.ongoing_matches_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.search_time_avg_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.search_statistics_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.main_post_url_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.required_appid_version_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.pricesheet_version_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.twitch_streams_version_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.active_tournament_eventid_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.active_survey_id_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.rtime32_cur_), + PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.required_appid_version2_), + 1, + 2, + 3, + 4, + 5, + 6, + ~0u, + 0, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_.idkey_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_.idkey_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_.values_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.packetid_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.mstimestamp_), + PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.values_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.ivalue_), + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.fvalue_), + PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.svalue_), + 0, + 2, + 3, + 1, + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.map_id_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.rank_id_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.wins_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_id_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.wins_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_change_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_type_id_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.tv_control_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_window_stats_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.leaderboard_name_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_win_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_lose_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_tie_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.per_map_rank_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.leaderboard_name_status_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.highest_rank_), + PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_expiry_), + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 0, + 8, + 9, + 10, + ~0u, + 11, + 12, + 13, + PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_friendly_), + PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_teaching_), + PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_leader_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_.display_items_defidx_), + PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_.featured_display_item_defidx_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::AccountActivity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.activity_), + PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.matchid_), + 0, + 1, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.team_id_ct_), + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.team_id_t_), + PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.event_stage_id_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_udp_port_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_watch_key_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_slots_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_clients_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_proxies_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_time_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_mapgroup_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_map_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_master_steamid_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_slots_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_clients_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_proxies_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_slots_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_clients_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_proxies_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_address_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_port_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_steamid_), + PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.flags_), + 3, + 2, + 4, + 5, + 6, + 7, + 8, + 0, + 1, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.a_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.b_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.c_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.d_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.bits_), + PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.token_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.ecsgosteamuserstat_), + PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.delta_), + PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.absolute_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::XpProgressData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_.xp_points_), + PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_.xp_category_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_attr_defidx_), + PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_attr_delta_value_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_.tag_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_.val_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_.entries_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.quest_id_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.score_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.accountentries_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.matchentries_), + PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.leaderboard_name_), + 1, + 2, + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_id_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_normal_points_earned_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_bonus_points_earned_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_normal_points_required_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_reward_xp_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_period_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_type_), + 0, + 1, + 2, + ~0u, + ~0u, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.quester_account_id_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.quest_item_data_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.xp_progress_data_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.time_played_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.mm_game_mode_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.item_updates_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.operation_points_eligible_), + PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.userstatchanges_), + 0, + ~0u, + ~0u, + 1, + 2, + ~0u, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mm_game_mode_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mapid_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.b_starting_ct_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.match_outcome_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.rounds_won_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.rounds_lost_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_score_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_deaths_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_mvps_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_kills_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_headshots_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_2ks_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_3ks_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_4ks_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.total_damage_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_entry_count_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_entry_wins_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v1_count_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v1_wins_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v2_count_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v2_wins_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.utility_count_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.utility_success_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.flash_count_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.flash_success_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mates_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + ~0u, + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_type_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.b_playing_ct_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_x_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_y_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_z_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_defidx_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_x_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_y_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_z_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_defidx_), + PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_data_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 11, + 7, + 8, + 9, + 12, + 10, + 13, + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.player_quest_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.binary_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.mm_game_mode_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.missionlbsdata_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.flags_), + ~0u, + 0, + 2, + 1, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.token_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.stamp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.exchange_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.retry_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_total_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_steam_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.account_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.ticket_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.client_version_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tournament_match_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.prime_only_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tv_control_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.lobby_id_), + ~0u, + 2, + 0, + 3, + 1, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _impl_.abandon_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.region_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.region_r_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.distance_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.gameserverpings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.offset_index_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.final_batch_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.data_center_pings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.max_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.test_token_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.search_key_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.notes_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.debug_message_), + ~0u, + 2, + 3, + ~0u, + 4, + 5, + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.matchmaking_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.waiting_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.error_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.ongoingmatch_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.global_stats_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.failping_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.penalty_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.failready_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.vacbanned_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.server_ipaddress_mask_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.notes_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.penalty_account_id_sessions_green_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.insufficientlevel_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.vsncheck_account_id_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.launcher_mismatch_sessions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.insecure_account_id_sessions_), + 3, + ~0u, + 0, + ~0u, + 1, + ~0u, + ~0u, + ~0u, + ~0u, + 2, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.mapid_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.team_id_ct_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_stage_id_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_0_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_1_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.maps_count_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.maps_current_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_start_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_veto1_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_pickn_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.drafts_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_0_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_1_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_2_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_3_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_4_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_5_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_starting_side_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_start_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_length_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 9, + 10, + 11, + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_idxtxt_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_txt_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_teams_), + 1, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.predictions_pct_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.draft_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.stats_), + PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.wins_), + 1, + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.account_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.server_version_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.rankings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.encryption_key_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.encryption_key_pub_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.party_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.whitelist_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_master_steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_event_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_teams_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_casters_account_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_relay_steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.pre_match_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_control_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.op_var_values_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.socache_control_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.teammate_colors_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_additional_), + ~0u, + 3, + 2, + 4, + 10, + ~0u, + 5, + 6, + ~0u, + ~0u, + 7, + 0, + ~0u, + ~0u, + 8, + 1, + 9, + ~0u, + 11, + ~0u, + 12, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservationid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservation_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.gc_reservation_sent_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.server_version_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.tv_info_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_player_accounts_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.idle_player_accounts_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_def_idx_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_value_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_reward_idx_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_drop_list_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.tournament_tag_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.legacy_steamdatagram_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.steamdatagram_routing_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.test_token_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.system_load_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.cpus_online_), + 4, + 2, + 0, + 5, + 6, + 3, + ~0u, + ~0u, + 7, + 8, + 9, + 10, + 1, + 11, + 14, + 12, + 13, + 15, + 16, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.serverid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.direct_udp_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.direct_udp_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservationid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservation_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.server_address_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_location_id_), + 4, + 5, + 6, + 7, + 2, + 0, + 1, + 3, + 8, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _impl_.account_mvp_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservationid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.round_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.kills_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.assists_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.deaths_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.scores_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.pings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.round_result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.match_result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.team_scores_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.confirm_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_stage_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.match_duration_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_kills_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_headshots_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_3ks_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_4ks_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_5ks_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.mvps_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_tv_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_lnk_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_kills_agg_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.drop_info_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.b_switched_teams_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_2ks_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.player_spawned_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.team_spawn_count_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.max_rounds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_id_), + 4, + 1, + 0, + 5, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 6, + 7, + ~0u, + 2, + 8, + 9, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 10, + 11, + 12, + ~0u, + 3, + 13, + ~0u, + ~0u, + ~0u, + 14, + 15, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2GCHello, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ongoingmatch_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.global_stats_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.penalty_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.penalty_reason_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.vac_banned_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ranking_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.commendation_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.medals_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_teams_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_team_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_stages_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.survey_vote_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.activity_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_level_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_cur_xp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_xp_bonus_flags_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.rankings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.owcaseid_), + 8, + 0, + 1, + 9, + 10, + 11, + 2, + 3, + 4, + 5, + ~0u, + 6, + ~0u, + 12, + 7, + 13, + 14, + 15, + ~0u, + 16, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings, _impl_.settings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.abandoned_match_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_reason_), + 1, + 0, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientGCRankUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientGCRankUpdate, _impl_.rankings_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _impl_.main_post_url_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.communication_cooldown_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_aimbot_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_wallhack_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_speedhack_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_teamharm_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_textabuse_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_voiceabuse_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.report_from_demo_), + 0, + 1, + 2, + 3, + 4, + 5, + 7, + 6, + 8, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.commendation_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.tokens_), + 1, + 3, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_poorperf_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_abusivemodels_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_badmotd_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_listingabuse_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_inventoryabuse_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.match_id_), + 0, + 1, + 2, + 3, + 5, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.confirmation_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.server_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.response_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.response_result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.tokens_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.request_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.account_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.serverid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.matchid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.client_launcher_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.data_center_pings_), + 1, + ~0u, + 0, + 3, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.server_ip_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_port_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_spectators_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_time_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_watch_password_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.cl_decryptdata_key_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.cl_decryptdata_key_pub_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_mapgroup_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_map_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.server_id_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.reservation_id_), + 3, + 4, + 5, + 6, + 0, + 7, + 8, + 12, + 1, + 2, + 9, + 10, + 11, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_token_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_ipp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.res_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.errormsg_), + 2, + 3, + 4, + 5, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.serverid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.res_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.errormsg_), + 2, + 3, + 4, + 5, + 6, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.campaign_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.redeem_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.redeemable_balance_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.expected_cost_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.bid_control_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.generation_time_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.redeemable_balance_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.items_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_progress_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.current_xp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.current_level_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.upgraded_defidx_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.operation_points_awarded_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.free_rewards_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_remaining_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_xp_needed_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_level_), + ~0u, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.begin_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.end_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.frozen_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_.events_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.matches_), + 1, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.request_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.account_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.watchable_match_infos_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.extended_timeout_), + 0, + ~0u, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_id__deprecated_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.account_ids__deprecated_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_level_), + 0, + ~0u, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_.request_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_.account_profiles_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.week_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.rank_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.matches_played_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.map_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.wins_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.ties_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.losses_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.kills_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.headshots_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.assists_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.deaths_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.mvps_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_3k_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_4k_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_5k_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.season_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.data_per_week_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.data_per_map_), + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.caseid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.suspectid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.fractionid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_aimbot_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_wallhack_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_speedhack_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_teamharm_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.reason_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseurl_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.verdict_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.throttleseconds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.suspectid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.fractionid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.numrounds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.fractionrounds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.streakconvictions_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.reason_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.caseid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.statusid_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_.caseid_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.payload_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_.args_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.serverinfo_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.match_end_quest_data_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.slot_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.sticker_id_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.wear_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.rotation_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.tint_id_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_x_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_y_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_z_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.pattern_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.itemid_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.defindex_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintindex_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.rarity_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.quality_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintwear_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintseed_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.killeaterscoretype_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.killeatervalue_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.customname_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.stickers_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.inventory_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.questid_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.dropreason_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.musicindex_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.entindex_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.petindex_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.keychains_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.style_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.variations_), + PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.upgrade_level_), + 2, + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 0, + ~0u, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + ~0u, + 18, + ~0u, + 19, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _impl_.iteminfo_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _impl_.iteminfo_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_s_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_a_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_d_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_m_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _impl_.iteminfo_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _impl_.accountid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _impl_.accountid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _impl_.eventid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.matchid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.outcomeid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.token_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.matchid_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.matchtime_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.watchablematchinfo_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.roundstats_legacy_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.roundstatsall_), + 2, + 3, + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.team_id_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.score_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.correctpick_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup_Picks, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup_Picks, _impl_.pickids_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.groupid_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.desc_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picks__deprecated_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.teams_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.stage_ids_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picklockuntiltime_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.pickableteams_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.points_per_pick_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picks_), + 2, + 0, + 1, + 3, + ~0u, + ~0u, + 4, + 5, + 6, + ~0u, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.sectionid_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.desc_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.groups_), + 2, + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.sections_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.tournament_event_), + PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.tournament_teams_), + ~0u, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.msgrequestid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.servertime_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.matches_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.streams_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.tournamentinfo_), + 1, + 2, + 3, + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.matches_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.accountid_), + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.sectionid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.groupid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.teamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.itemid_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_.group_match_team_picks_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.pick_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.itemid_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_.sectionid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_.slots_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_.teams_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CAttribute_String, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CAttribute_String, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CAttribute_String, _impl_.value_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.latitude_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.longitude_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.country_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.game_data_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.outofdate_subscribed_caches_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.uptodate_subscribed_caches_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.location_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.game_data2_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.rtime32_gc_welcome_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.currency_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.balance_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.balance_url_), + PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.txn_country_code_), + 5, + 0, + ~0u, + ~0u, + 4, + 1, + 6, + 7, + 8, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.store_item_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.timeplayedconsecutively_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.time_first_played_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.last_time_played_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.last_ip_address_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.gscookieid_), + PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.uniqueid_), + 0, + 1, + 2, + 3, + 6, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_name_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_int_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_addr_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_port_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.choked_blocks_), + 0, + 1, + 2, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.viewangles_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.userdata_), + 0, + ~0u, + 1, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.gifts_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.servertime_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.time_period_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_gifts_given_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_givers_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.entries_), + 0, + 1, + 2, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.survey_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.vote_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _impl_.accountid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.stageid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.teamids_), + 0, + 1, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.entryid_), + PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.defidx_), + PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.expiration_date_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.generation_time_), + PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.redeemable_balance_), + PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.items_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.generation_time_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.redeemable_balance_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.xp_tracks_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.campaign_id_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.redeem_id_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.expected_cost_), + PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.generation_time_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.defidx_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.faux_itemid_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.generation_time_), + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.defidx_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.reward_), + PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.generation_time_), + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _impl_.charges_), + 0, + PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.questid_), + PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.points_remaining_), + PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.bonus_points_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.season_value_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.tier_unlocked_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.premium_tiers_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.mission_id_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.missions_completed_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.redeemable_balance_), + PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.season_pass_time_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_.time_next_cycle_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_.time_initiated_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_last_update_), + PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_comms_ban_), + PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_play_ban_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.player_level_), + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.commendation_), + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.elevated_state_), + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.xp_trail_timestamp_refresh_), + PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.xp_trail_level_), + 1, + 0, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.mission_id_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.period_), + PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.progress_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.prematch_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.postmatch_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_xp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_level_), + 0, + 1, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.gs_location_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.data_center_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.num_locked_in_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.num_found_nearby_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.note_level_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _impl_.ticket_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _impl_.timeleft_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.ticket_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.gametimems_), + PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.msperpoint_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _impl_.acknowledged_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.defindex_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.upgradeid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.hours_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.prestigetime_), + 1, + 0, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.ticket_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.os_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _impl_.stage_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_.text_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_.text_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_.code_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.rtime_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.endpos_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.startpos_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.tx_defidx_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.entindex_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.hitbox_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.creationtime_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.equipslot_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.trace_id_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.tint_id_), + 0, + 1, + 2, + ~0u, + ~0u, + ~0u, + 3, + 4, + 5, + 6, + 7, + 8, + ~0u, + 9, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.itemid_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _impl_.eresult_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.errorcode_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.message_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.country_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.pollid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.names_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.values_), + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.ver_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.apr_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.ark_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.nby_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.grp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.slots_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.launcher_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.game_type_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.ver_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.apr_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.ark_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.grps_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.launcher_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.game_type_), + 0, + 1, + 2, + ~0u, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.grp_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.apr_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.ark_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.loc_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.accountid_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults, _impl_.entries_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_.lobbyid_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.rtcoplay_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.online_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_.players_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_.servertime_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.gameserver_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.gameserver_sdr_routing_), + 1, + 3, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _impl_.serialized_ticket_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestOffers, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.itemid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.matchid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.eventid_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_.amount_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_.url_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.lobbyid_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.warntype_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning, _impl_.entries_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_.is_favorite_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _impl_.all_events_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.all_events_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.json_favorites_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.json_featured_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.perfcounter_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.length_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.reference_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.actual_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.sourceid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.status_), + 2, + 3, + 0, + 1, + 4, + 5, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport, _impl_.entries_), + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.extended_), + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.string_value_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.file_report_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.command_line_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.total_files_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.internal_error_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.trust_time_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.count_pending_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.count_completed_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.process_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.osversion_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.clientreportversion_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.status_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic1_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic2_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic3_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.last_launch_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.report_count_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.client_time_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic4_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic5_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostics_), + 0, + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 2, + 18, + 15, + 16, + 17, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.file_report_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_insecure_mode_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_secure_mode_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_unsigned_ui_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.kick_user_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_trusted_ui_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_2_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.files_prevented_trusted_), + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_.full_report_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_.module_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.outputname_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.key_data_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.sha_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.cookie_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.manifest_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.system_package_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_system_), + 6, + 0, + 1, + 2, + 3, + 8, + 4, + 5, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.success_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.diagnostic_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.sha_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.response_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.error_code1_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.error_code2_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.handle_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.einit_result_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system1_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system2_), + 2, + 0, + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _impl_.leaderboard_safe_name_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgRequestRecurringMissionSchedule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_.period_), + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_.mission_templates_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema, _impl_.missions_), +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::GameServerPing)}, + { 12, 20, -1, sizeof(::DataCenterPing)}, + { 22, 31, -1, sizeof(::DetailedSearchStatistic)}, + { 34, 47, -1, sizeof(::TournamentPlayer)}, + { 54, 65, -1, sizeof(::TournamentTeam)}, + { 70, 85, -1, sizeof(::TournamentEvent)}, + { 94, 115, -1, sizeof(::GlobalStatistics)}, + { 130, 138, -1, sizeof(::OperationalStatisticDescription)}, + { 140, 148, -1, sizeof(::OperationalStatisticElement)}, + { 150, 159, -1, sizeof(::OperationalStatisticsPacket)}, + { 162, 172, -1, sizeof(::OperationalVarValue)}, + { 176, 185, -1, sizeof(::PlayerRankingInfo_PerMapRank)}, + { 188, 209, -1, sizeof(::PlayerRankingInfo)}, + { 224, 233, -1, sizeof(::PlayerCommendationInfo)}, + { 236, 244, -1, sizeof(::PlayerMedalsInfo)}, + { 246, 256, -1, sizeof(::AccountActivity)}, + { 260, 270, -1, sizeof(::TournamentMatchSetup)}, + { 274, 300, -1, sizeof(::ServerHltvInfo)}, + { 320, 332, -1, sizeof(::IpAddressMask)}, + { 338, 347, -1, sizeof(::CMsgCsgoSteamUserStatChange)}, + { 350, 358, -1, sizeof(::XpProgressData)}, + { 360, 369, -1, sizeof(::MatchEndItemUpdates)}, + { 372, 380, -1, sizeof(::ScoreLeaderboardData_Entry)}, + { 382, 390, -1, sizeof(::ScoreLeaderboardData_AccountEntries)}, + { 392, 403, -1, sizeof(::ScoreLeaderboardData)}, + { 408, 421, -1, sizeof(::PlayerQuestData_QuestItemData)}, + { 428, 442, -1, sizeof(::PlayerQuestData)}, + { 450, 484, -1, sizeof(::DeepPlayerStatsEntry)}, + { 512, 532, -1, sizeof(::DeepPlayerMatchEvent)}, + { 546, 557, -1, sizeof(::CMsgGC_ServerQuestUpdateData)}, + { 562, 572, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm)}, + { 576, 584, -1, sizeof(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate)}, + { 586, 600, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingStart)}, + { 608, 615, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingStop)}, + { 616, 626, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note)}, + { 630, 645, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing)}, + { 654, 676, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate)}, + { 692, 700, -1, sizeof(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry)}, + { 702, 728, -1, sizeof(::CDataGCCStrike15_v2_TournamentMatchDraft)}, + { 748, 757, -1, sizeof(::CPreMatchInfoData_TeamStats)}, + { 760, 770, -1, sizeof(::CPreMatchInfoData)}, + { 774, 801, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve)}, + { 822, 847, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse)}, + { 866, 881, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve)}, + { 890, 897, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo)}, + { 898, 936, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats)}, + { 968, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingClient2GCHello)}, + { 974, 1000, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello)}, + { 1020, 1028, -1, sizeof(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting)}, + { 1030, -1, -1, sizeof(::CMsgGCCStrike15_v2_AccountPrivacySettings)}, + { 1037, 1047, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon)}, + { 1051, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientGCRankUpdate)}, + { 1058, 1065, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate)}, + { 1066, 1076, -1, sizeof(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty)}, + { 1080, 1095, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportPlayer)}, + { 1104, 1114, -1, sizeof(::CMsgGCCStrike15_v2_ClientCommendPlayer)}, + { 1118, 1130, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportServer)}, + { 1136, 1148, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportResponse)}, + { 1154, 1166, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends)}, + { 1172, 1191, -1, sizeof(::WatchableMatchInfo)}, + { 1204, 1216, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData)}, + { 1222, 1235, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestJoinServerData)}, + { 1242, 1253, -1, sizeof(::CMsgGCCstrike15_v2_ClientRedeemMissionReward)}, + { 1258, 1267, -1, sizeof(::CMsgGCCstrike15_v2_ClientRedeemFreeReward)}, + { 1270, 1286, -1, sizeof(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)}, + { 1296, 1303, -1, sizeof(::CMsgGCCStrike15_v2_ClientNetworkConfig)}, + { 1304, 1313, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange)}, + { 1316, 1324, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch)}, + { 1326, 1335, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats)}, + { 1338, 1348, -1, sizeof(::CMsgGCCStrike15_v2_WatchInfoUsers)}, + { 1352, 1362, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile)}, + { 1366, 1374, -1, sizeof(::CMsgGCCStrike15_v2_PlayersProfile)}, + { 1376, 1385, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek)}, + { 1388, 1407, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap)}, + { 1420, 1430, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary)}, + { 1434, 1448, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate)}, + { 1456, 1473, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment)}, + { 1484, 1492, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus)}, + { 1494, 1502, -1, sizeof(::CClientHeaderOverwatchEvidence)}, + { 1504, 1513, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTextMsg)}, + { 1516, 1524, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCTextMsg)}, + { 1526, 1534, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops)}, + { 1536, 1553, -1, sizeof(::CEconItemPreviewDataBlock_Sticker)}, + { 1564, 1593, -1, sizeof(::CEconItemPreviewDataBlock)}, + { 1616, 1623, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification)}, + { 1624, 1631, -1, sizeof(::CMsgItemAcknowledged)}, + { 1632, 1642, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest)}, + { 1646, 1653, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse)}, + { 1654, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames)}, + { 1660, 1667, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser)}, + { 1668, 1675, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames)}, + { 1676, 1683, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames)}, + { 1684, 1693, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo)}, + { 1696, 1707, -1, sizeof(::CDataGCCStrike15_v2_MatchInfo)}, + { 1712, 1721, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroupTeam)}, + { 1724, -1, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup_Picks)}, + { 1731, 1747, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup)}, + { 1757, 1767, -1, sizeof(::CDataGCCStrike15_v2_TournamentSection)}, + { 1771, 1780, -1, sizeof(::CDataGCCStrike15_v2_TournamentInfo)}, + { 1783, 1795, -1, sizeof(::CMsgGCCStrike15_v2_MatchList)}, + { 1801, 1810, -1, sizeof(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt)}, + { 1813, 1824, -1, sizeof(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick)}, + { 1829, 1837, -1, sizeof(::CMsgGCCStrike15_v2_Predictions)}, + { 1839, 1848, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasySlot)}, + { 1851, 1859, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam)}, + { 1861, 1869, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy)}, + { 1871, 1878, -1, sizeof(::CAttribute_String)}, + { 1879, 1888, -1, sizeof(::CMsgLegacySource1ClientWelcome_Location)}, + { 1891, 1908, -1, sizeof(::CMsgLegacySource1ClientWelcome)}, + { 1919, 1932, -1, sizeof(::CMsgCStrike15Welcome)}, + { 1939, 1950, -1, sizeof(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo)}, + { 1955, 1965, -1, sizeof(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo)}, + { 1969, -1, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest)}, + { 1975, 1983, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry)}, + { 1985, 1996, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse)}, + { 2001, 2009, -1, sizeof(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote)}, + { 2011, 2018, -1, sizeof(::CMsgGCCStrike15_v2_Server2GCClientValidate)}, + { 2019, 2029, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo)}, + { 2033, 2042, -1, sizeof(::CSOEconCoupon)}, + { 2045, 2054, -1, sizeof(::CSOAccountItemPersonalStore)}, + { 2057, 2066, -1, sizeof(::CSOAccountXpShop)}, + { 2069, 2079, -1, sizeof(::CSOAccountXpShopBids)}, + { 2083, 2092, -1, sizeof(::CSOVolatileItemOffer)}, + { 2095, 2104, -1, sizeof(::CSOVolatileItemClaimedRewards)}, + { 2107, 2114, -1, sizeof(::CSOAccountKeychainRemoveToolCharges)}, + { 2115, 2124, -1, sizeof(::CSOQuestProgress)}, + { 2127, 2140, -1, sizeof(::CSOAccountSeasonalOperation)}, + { 2147, 2155, -1, sizeof(::CSOAccountRecurringSubscription)}, + { 2157, 2166, -1, sizeof(::CSOGameAccountSteamChina)}, + { 2169, 2180, -1, sizeof(::CSOPersonaDataPublic)}, + { 2185, 2195, -1, sizeof(::CSOAccountRecurringMission)}, + { 2199, 2209, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop)}, + { 2213, -1, -1, sizeof(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks)}, + { 2219, 2230, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats)}, + { 2235, 2242, -1, sizeof(::CMsgGC_GlobalGame_Subscribe)}, + { 2243, 2250, -1, sizeof(::CMsgGC_GlobalGame_Unsubscribe)}, + { 2251, 2260, -1, sizeof(::CMsgGC_GlobalGame_Play)}, + { 2263, 2270, -1, sizeof(::CMsgGCCStrike15_v2_AcknowledgePenalty)}, + { 2271, 2281, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin)}, + { 2285, 2293, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCStreamUnlock)}, + { 2295, 2302, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestElevate)}, + { 2303, 2311, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCChat)}, + { 2313, 2321, -1, sizeof(::CMsgGCCStrike15_v2_GCToClientChat)}, + { 2323, 2331, -1, sizeof(::CMsgGCCStrike15_v2_ClientAuthKeyCode)}, + { 2333, 2340, -1, sizeof(::CMsgGCCStrike15_GotvSyncPacket)}, + { 2341, 2361, -1, sizeof(::PlayerDecalDigitalSignature)}, + { 2375, 2383, -1, sizeof(::CMsgGCCStrike15_v2_ClientPlayerDecalSign)}, + { 2385, 2392, -1, sizeof(::CMsgGCCStrike15_v2_BetaEnrollment)}, + { 2393, 2402, -1, sizeof(::CMsgGCCStrike15_v2_ClientLogonFatalError)}, + { 2405, 2414, -1, sizeof(::CMsgGCCStrike15_v2_ClientPollState)}, + { 2417, 2432, -1, sizeof(::CMsgGCCStrike15_v2_Party_Register)}, + { 2441, 2453, -1, sizeof(::CMsgGCCStrike15_v2_Party_Search)}, + { 2459, 2472, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults_Entry)}, + { 2479, -1, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults)}, + { 2486, 2494, -1, sizeof(::CMsgGCCStrike15_v2_Party_Invite)}, + { 2496, 2505, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player)}, + { 2508, 2516, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays)}, + { 2518, 2528, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestTicket)}, + { 2532, 2539, -1, sizeof(::CMsgGCToClientSteamDatagramTicket)}, + { 2540, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestOffers)}, + { 2546, 2555, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestSouvenir)}, + { 2558, 2566, -1, sizeof(::CMsgGCCStrike15_v2_ClientAccountBalance)}, + { 2568, 2576, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyJoinRelay)}, + { 2578, 2586, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry)}, + { 2588, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning)}, + { 2595, 2603, -1, sizeof(::CMsgGCCStrike15_v2_SetEventFavorite)}, + { 2605, 2612, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Request)}, + { 2613, 2622, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Response)}, + { 2625, 2637, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport_Entry)}, + { 2643, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport)}, + { 2650, 2660, -1, sizeof(::CVDiagnostic)}, + { 2664, 2690, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportValidation)}, + { 2710, 2725, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode)}, + { 2734, 2742, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRequestValidation)}, + { 2744, 2759, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem)}, + { 2768, 2784, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response)}, + { 2794, 2801, -1, sizeof(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName)}, + { 2802, -1, -1, sizeof(::CMsgRequestRecurringMissionSchedule)}, + { 2808, 2816, -1, sizeof(::CMsgRecurringMissionSchema_MissionTemplateList)}, + { 2818, -1, -1, sizeof(::CMsgRecurringMissionSchema)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_GameServerPing_default_instance_._instance, + &::_DataCenterPing_default_instance_._instance, + &::_DetailedSearchStatistic_default_instance_._instance, + &::_TournamentPlayer_default_instance_._instance, + &::_TournamentTeam_default_instance_._instance, + &::_TournamentEvent_default_instance_._instance, + &::_GlobalStatistics_default_instance_._instance, + &::_OperationalStatisticDescription_default_instance_._instance, + &::_OperationalStatisticElement_default_instance_._instance, + &::_OperationalStatisticsPacket_default_instance_._instance, + &::_OperationalVarValue_default_instance_._instance, + &::_PlayerRankingInfo_PerMapRank_default_instance_._instance, + &::_PlayerRankingInfo_default_instance_._instance, + &::_PlayerCommendationInfo_default_instance_._instance, + &::_PlayerMedalsInfo_default_instance_._instance, + &::_AccountActivity_default_instance_._instance, + &::_TournamentMatchSetup_default_instance_._instance, + &::_ServerHltvInfo_default_instance_._instance, + &::_IpAddressMask_default_instance_._instance, + &::_CMsgCsgoSteamUserStatChange_default_instance_._instance, + &::_XpProgressData_default_instance_._instance, + &::_MatchEndItemUpdates_default_instance_._instance, + &::_ScoreLeaderboardData_Entry_default_instance_._instance, + &::_ScoreLeaderboardData_AccountEntries_default_instance_._instance, + &::_ScoreLeaderboardData_default_instance_._instance, + &::_PlayerQuestData_QuestItemData_default_instance_._instance, + &::_PlayerQuestData_default_instance_._instance, + &::_DeepPlayerStatsEntry_default_instance_._instance, + &::_DeepPlayerMatchEvent_default_instance_._instance, + &::_CMsgGC_ServerQuestUpdateData_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingStart_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingStop_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_._instance, + &::_CPreMatchInfoData_TeamStats_default_instance_._instance, + &::_CPreMatchInfoData_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_._instance, + &::_CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_._instance, + &::_CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientReportServer_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientReportResponse_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_._instance, + &::_WatchableMatchInfo_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_._instance, + &::_CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_._instance, + &::_CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_._instance, + &::_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_._instance, + &::_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_._instance, + &::_CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_._instance, + &::_CMsgGCCStrike15_ClientDeepStats_default_instance_._instance, + &::_CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PlayersProfile_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_._instance, + &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_._instance, + &::_CClientHeaderOverwatchEvidence_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_._instance, + &::_CEconItemPreviewDataBlock_Sticker_default_instance_._instance, + &::_CEconItemPreviewDataBlock_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_._instance, + &::_CMsgItemAcknowledged_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_._instance, + &::_CDataGCCStrike15_v2_MatchInfo_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentGroup_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentSection_default_instance_._instance, + &::_CDataGCCStrike15_v2_TournamentInfo_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchList_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Predictions_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Fantasy_default_instance_._instance, + &::_CAttribute_String_default_instance_._instance, + &::_CMsgLegacySource1ClientWelcome_Location_default_instance_._instance, + &::_CMsgLegacySource1ClientWelcome_default_instance_._instance, + &::_CMsgCStrike15Welcome_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_._instance, + &::_CSOEconCoupon_default_instance_._instance, + &::_CSOAccountItemPersonalStore_default_instance_._instance, + &::_CSOAccountXpShop_default_instance_._instance, + &::_CSOAccountXpShopBids_default_instance_._instance, + &::_CSOVolatileItemOffer_default_instance_._instance, + &::_CSOVolatileItemClaimedRewards_default_instance_._instance, + &::_CSOAccountKeychainRemoveToolCharges_default_instance_._instance, + &::_CSOQuestProgress_default_instance_._instance, + &::_CSOAccountSeasonalOperation_default_instance_._instance, + &::_CSOAccountRecurringSubscription_default_instance_._instance, + &::_CSOGameAccountSteamChina_default_instance_._instance, + &::_CSOPersonaDataPublic_default_instance_._instance, + &::_CSOAccountRecurringMission_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_._instance, + &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_._instance, + &::_CMsgGC_GlobalGame_Subscribe_default_instance_._instance, + &::_CMsgGC_GlobalGame_Unsubscribe_default_instance_._instance, + &::_CMsgGC_GlobalGame_Play_default_instance_._instance, + &::_CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientToGCChat_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GCToClientChat_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_._instance, + &::_CMsgGCCStrike15_GotvSyncPacket_default_instance_._instance, + &::_PlayerDecalDigitalSignature_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_._instance, + &::_CMsgGCCStrike15_v2_BetaEnrollment_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPollState_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Party_Register_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Party_Search_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Party_SearchResults_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Party_Invite_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_._instance, + &::_CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_._instance, + &::_CMsgGCToClientSteamDatagramTicket_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_._instance, + &::_CMsgGCCStrike15_v2_SetEventFavorite_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientPerfReport_default_instance_._instance, + &::_CVDiagnostic_default_instance_._instance, + &::_CMsgGCCStrike15_v2_ClientReportValidation_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_._instance, + &::_CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_._instance, + &::_CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_._instance, + &::_CMsgRequestRecurringMissionSchedule_default_instance_._instance, + &::_CMsgRecurringMissionSchema_MissionTemplateList_default_instance_._instance, + &::_CMsgRecurringMissionSchema_default_instance_._instance, +}; + +const char descriptor_table_protodef_cstrike15_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\032cstrike15_gcmessages.proto\032\023steammessa" + "ges.proto\032\027engine_gcmessages.proto\032\026gcsd" + "k_gcmessages.proto\"=\n\016GameServerPing\022\014\n\004" + "ping\030\002 \001(\005\022\n\n\002ip\030\003 \001(\r\022\021\n\tinstances\030\005 \001(" + "\r\"6\n\016DataCenterPing\022\026\n\016data_center_id\030\001 " + "\001(\007\022\014\n\004ping\030\002 \001(\021\"`\n\027DetailedSearchStati" + "stic\022\021\n\tgame_type\030\001 \001(\r\022\027\n\017search_time_a" + "vg\030\002 \001(\r\022\031\n\021players_searching\030\004 \001(\r\"\247\001\n\020" + "TournamentPlayer\022\022\n\naccount_id\030\001 \001(\r\022\023\n\013" + "player_nick\030\002 \001(\t\022\023\n\013player_name\030\003 \001(\t\022\022" + "\n\nplayer_dob\030\004 \001(\r\022\023\n\013player_flag\030\005 \001(\t\022" + "\027\n\017player_location\030\006 \001(\t\022\023\n\013player_desc\030" + "\007 \001(\t\"}\n\016TournamentTeam\022\017\n\007team_id\030\001 \001(\005" + "\022\020\n\010team_tag\030\002 \001(\t\022\021\n\tteam_flag\030\003 \001(\t\022\021\n" + "\tteam_name\030\004 \001(\t\022\"\n\007players\030\005 \003(\0132\021.Tour" + "namentPlayer\"\337\001\n\017TournamentEvent\022\020\n\010even" + "t_id\030\001 \001(\005\022\021\n\tevent_tag\030\002 \001(\t\022\022\n\nevent_n" + "ame\030\003 \001(\t\022\030\n\020event_time_start\030\004 \001(\r\022\026\n\016e" + "vent_time_end\030\005 \001(\r\022\024\n\014event_public\030\006 \001(" + "\005\022\026\n\016event_stage_id\030\007 \001(\005\022\030\n\020event_stage" + "_name\030\010 \001(\t\022\031\n\021active_section_id\030\t \001(\r\"\305" + "\003\n\020GlobalStatistics\022\026\n\016players_online\030\001 " + "\001(\r\022\026\n\016servers_online\030\002 \001(\r\022\031\n\021players_s" + "earching\030\003 \001(\r\022\031\n\021servers_available\030\004 \001(" + "\r\022\027\n\017ongoing_matches\030\005 \001(\r\022\027\n\017search_tim" + "e_avg\030\006 \001(\r\0223\n\021search_statistics\030\007 \003(\0132\030" + ".DetailedSearchStatistic\022\025\n\rmain_post_ur" + "l\030\010 \001(\t\022\036\n\026required_appid_version\030\t \001(\r\022" + "\032\n\022pricesheet_version\030\n \001(\r\022\036\n\026twitch_st" + "reams_version\030\013 \001(\r\022!\n\031active_tournament" + "_eventid\030\014 \001(\r\022\030\n\020active_survey_id\030\r \001(\r" + "\022\023\n\013rtime32_cur\030\016 \001(\r\022\037\n\027required_appid_" + "version2\030\020 \001(\r\">\n\037OperationalStatisticDe" + "scription\022\014\n\004name\030\001 \001(\t\022\r\n\005idkey\030\002 \001(\r\"<" + "\n\033OperationalStatisticElement\022\r\n\005idkey\030\001" + " \001(\r\022\016\n\006values\030\002 \003(\005\"r\n\033OperationalStati" + "sticsPacket\022\020\n\010packetid\030\001 \001(\005\022\023\n\013mstimes" + "tamp\030\002 \001(\005\022,\n\006values\030\003 \003(\0132\034.Operational" + "StatisticElement\"S\n\023OperationalVarValue\022" + "\014\n\004name\030\001 \001(\t\022\016\n\006ivalue\030\002 \001(\005\022\016\n\006fvalue\030" + "\003 \001(\002\022\016\n\006svalue\030\004 \001(\014\"\270\003\n\021PlayerRankingI" + "nfo\022\022\n\naccount_id\030\001 \001(\r\022\017\n\007rank_id\030\002 \001(\r" + "\022\014\n\004wins\030\003 \001(\r\022\023\n\013rank_change\030\004 \001(\002\022\024\n\014r" + "ank_type_id\030\006 \001(\r\022\022\n\ntv_control\030\007 \001(\r\022\031\n" + "\021rank_window_stats\030\010 \001(\004\022\030\n\020leaderboard_" + "name\030\t \001(\t\022\023\n\013rank_if_win\030\n \001(\r\022\024\n\014rank_" + "if_lose\030\013 \001(\r\022\023\n\013rank_if_tie\030\014 \001(\r\0223\n\014pe" + "r_map_rank\030\r \003(\0132\035.PlayerRankingInfo.Per" + "MapRank\022\037\n\027leaderboard_name_status\030\016 \001(\r" + "\022\024\n\014highest_rank\030\017 \001(\r\022\023\n\013rank_expiry\030\020 " + "\001(\r\032;\n\nPerMapRank\022\016\n\006map_id\030\001 \001(\r\022\017\n\007ran" + "k_id\030\002 \001(\r\022\014\n\004wins\030\003 \001(\r\"X\n\026PlayerCommen" + "dationInfo\022\024\n\014cmd_friendly\030\001 \001(\r\022\024\n\014cmd_" + "teaching\030\002 \001(\r\022\022\n\ncmd_leader\030\004 \001(\r\"V\n\020Pl" + "ayerMedalsInfo\022\034\n\024display_items_defidx\030\007" + " \003(\r\022$\n\034featured_display_item_defidx\030\010 \001" + "(\r\"O\n\017AccountActivity\022\020\n\010activity\030\001 \001(\r\022" + "\014\n\004mode\030\002 \001(\r\022\013\n\003map\030\003 \001(\r\022\017\n\007matchid\030\004 " + "\001(\004\"g\n\024TournamentMatchSetup\022\020\n\010event_id\030" + "\001 \001(\005\022\022\n\nteam_id_ct\030\002 \001(\005\022\021\n\tteam_id_t\030\003" + " \001(\005\022\026\n\016event_stage_id\030\004 \001(\005\"\317\003\n\016ServerH" + "ltvInfo\022\023\n\013tv_udp_port\030\001 \001(\r\022\024\n\014tv_watch" + "_key\030\002 \001(\004\022\020\n\010tv_slots\030\003 \001(\r\022\022\n\ntv_clien" + "ts\030\004 \001(\r\022\022\n\ntv_proxies\030\005 \001(\r\022\017\n\007tv_time\030" + "\006 \001(\r\022\021\n\tgame_type\030\010 \001(\r\022\025\n\rgame_mapgrou" + "p\030\t \001(\t\022\020\n\010game_map\030\n \001(\t\022\031\n\021tv_master_s" + "teamid\030\013 \001(\004\022\026\n\016tv_local_slots\030\014 \001(\r\022\030\n\020" + "tv_local_clients\030\r \001(\r\022\030\n\020tv_local_proxi" + "es\030\016 \001(\r\022\026\n\016tv_relay_slots\030\017 \001(\r\022\030\n\020tv_r" + "elay_clients\030\020 \001(\r\022\030\n\020tv_relay_proxies\030\021" + " \001(\r\022\030\n\020tv_relay_address\030\022 \001(\r\022\025\n\rtv_rel" + "ay_port\030\023 \001(\r\022\030\n\020tv_relay_steamid\030\024 \001(\004\022" + "\r\n\005flags\030\025 \001(\r\"X\n\rIpAddressMask\022\t\n\001a\030\001 \001" + "(\r\022\t\n\001b\030\002 \001(\r\022\t\n\001c\030\003 \001(\r\022\t\n\001d\030\004 \001(\r\022\014\n\004b" + "its\030\005 \001(\r\022\r\n\005token\030\006 \001(\r\"Z\n\033CMsgCsgoStea" + "mUserStatChange\022\032\n\022ecsgosteamuserstat\030\001 " + "\001(\005\022\r\n\005delta\030\002 \001(\005\022\020\n\010absolute\030\003 \001(\010\"8\n\016" + "XpProgressData\022\021\n\txp_points\030\001 \001(\r\022\023\n\013xp_" + "category\030\002 \001(\005\"_\n\023MatchEndItemUpdates\022\017\n" + "\007item_id\030\001 \001(\004\022\030\n\020item_attr_defidx\030\002 \001(\r" + "\022\035\n\025item_attr_delta_value\030\003 \001(\r\"\270\002\n\024Scor" + "eLeaderboardData\022\020\n\010quest_id\030\001 \001(\004\022\r\n\005sc" + "ore\030\002 \001(\r\022<\n\016accountentries\030\003 \003(\0132$.Scor" + "eLeaderboardData.AccountEntries\0221\n\014match" + "entries\030\005 \003(\0132\033.ScoreLeaderboardData.Ent" + "ry\022\030\n\020leaderboard_name\030\006 \001(\t\032!\n\005Entry\022\013\n" + "\003tag\030\001 \001(\r\022\013\n\003val\030\002 \001(\r\032Q\n\016AccountEntrie" + "s\022\021\n\taccountid\030\001 \001(\r\022,\n\007entries\030\002 \003(\0132\033." + "ScoreLeaderboardData.Entry\"\272\004\n\017PlayerQue" + "stData\022\032\n\022quester_account_id\030\001 \001(\r\0227\n\017qu" + "est_item_data\030\002 \003(\0132\036.PlayerQuestData.Qu" + "estItemData\022)\n\020xp_progress_data\030\003 \003(\0132\017." + "XpProgressData\022\023\n\013time_played\030\004 \001(\r\022\024\n\014m" + "m_game_mode\030\005 \001(\r\022*\n\014item_updates\030\006 \003(\0132" + "\024.MatchEndItemUpdates\022!\n\031operation_point" + "s_eligible\030\007 \001(\010\0225\n\017userstatchanges\030\010 \003(" + "\0132\034.CMsgCsgoSteamUserStatChange\032\365\001\n\rQues" + "tItemData\022\020\n\010quest_id\030\001 \001(\004\022\"\n\032quest_nor" + "mal_points_earned\030\002 \001(\005\022!\n\031quest_bonus_p" + "oints_earned\030\003 \001(\005\022$\n\034quest_normal_point" + "s_required\030\004 \003(\005\022\027\n\017quest_reward_xp\030\005 \003(" + "\005\022\024\n\014quest_period\030\006 \001(\005\0226\n\nquest_type\030\007 " + "\001(\0162\n.QuestType:\026k_EQuestType_Operation\"" + "\226\005\n\024DeepPlayerStatsEntry\022\021\n\taccountid\030\001 " + "\001(\r\022\020\n\010match_id\030\002 \001(\004\022\024\n\014mm_game_mode\030\003 " + "\001(\r\022\r\n\005mapid\030\004 \001(\r\022\025\n\rb_starting_ct\030\005 \001(" + "\010\022\025\n\rmatch_outcome\030\006 \001(\r\022\022\n\nrounds_won\030\007" + " \001(\r\022\023\n\013rounds_lost\030\010 \001(\r\022\022\n\nstat_score\030" + "\t \001(\r\022\023\n\013stat_deaths\030\014 \001(\r\022\021\n\tstat_mvps\030" + "\r \001(\r\022\023\n\013enemy_kills\030\016 \001(\r\022\027\n\017enemy_head" + "shots\030\017 \001(\r\022\021\n\tenemy_2ks\030\020 \001(\r\022\021\n\tenemy_" + "3ks\030\021 \001(\r\022\021\n\tenemy_4ks\030\022 \001(\r\022\024\n\014total_da" + "mage\030\023 \001(\r\022\037\n\027engagements_entry_count\030\027 " + "\001(\r\022\036\n\026engagements_entry_wins\030\030 \001(\r\022\035\n\025e" + "ngagements_1v1_count\030\031 \001(\r\022\034\n\024engagement" + "s_1v1_wins\030\032 \001(\r\022\035\n\025engagements_1v2_coun" + "t\030\033 \001(\r\022\034\n\024engagements_1v2_wins\030\034 \001(\r\022\025\n" + "\rutility_count\030\035 \001(\r\022\027\n\017utility_success\030" + "\036 \001(\r\022\023\n\013flash_count\030 \001(\r\022\025\n\rflash_succ" + "ess\030! \001(\r\022\r\n\005mates\030\" \003(\r\"\261\002\n\024DeepPlayerM" + "atchEvent\022\021\n\taccountid\030\001 \001(\r\022\020\n\010match_id" + "\030\002 \001(\004\022\020\n\010event_id\030\003 \001(\r\022\022\n\nevent_type\030\004" + " \001(\r\022\024\n\014b_playing_ct\030\005 \001(\010\022\022\n\nuser_pos_x" + "\030\006 \001(\005\022\022\n\nuser_pos_y\030\007 \001(\005\022\022\n\nuser_pos_z" + "\030\014 \001(\005\022\023\n\013user_defidx\030\010 \001(\r\022\023\n\013other_pos" + "_x\030\t \001(\005\022\023\n\013other_pos_y\030\n \001(\005\022\023\n\013other_p" + "os_z\030\r \001(\005\022\024\n\014other_defidx\030\013 \001(\r\022\022\n\neven" + "t_data\030\016 \001(\005\"\264\001\n\034CMsgGC_ServerQuestUpdat" + "eData\022+\n\021player_quest_data\030\001 \003(\0132\020.Playe" + "rQuestData\022\023\n\013binary_data\030\002 \001(\014\022\024\n\014mm_ga" + "me_mode\030\003 \001(\r\022-\n\016missionlbsdata\030\004 \001(\0132\025." + "ScoreLeaderboardData\022\r\n\005flags\030\005 \001(\r\"o\n.C" + "MsgGCCStrike15_v2_MatchmakingGC2ServerCo" + "nfirm\022\r\n\005token\030\001 \001(\r\022\r\n\005stamp\030\002 \001(\r\022\020\n\010e" + "xchange\030\003 \001(\004\022\r\n\005retry\030\004 \001(\r\"o\n-CMsgGCCS" + "trike15_v2_GC2ServerReservationUpdate\022\036\n" + "\026viewers_external_total\030\001 \001(\r\022\036\n\026viewers" + "_external_steam\030\002 \001(\r\"\345\001\n#CMsgGCCStrike1" + "5_v2_MatchmakingStart\022\023\n\013account_ids\030\001 \003" + "(\r\022\021\n\tgame_type\030\002 \001(\r\022\023\n\013ticket_data\030\003 \001" + "(\t\022\026\n\016client_version\030\004 \001(\r\022/\n\020tournament" + "_match\030\005 \001(\0132\025.TournamentMatchSetup\022\022\n\np" + "rime_only\030\006 \001(\010\022\022\n\ntv_control\030\007 \001(\r\022\020\n\010l" + "obby_id\030\010 \001(\004\"5\n\"CMsgGCCStrike15_v2_Matc" + "hmakingStop\022\017\n\007abandon\030\001 \001(\005\"y\n2CMsgGCCS" + "trike15_v2_MatchmakingGC2ClientUpdate_No" + "te\022\014\n\004type\030\001 \001(\005\022\021\n\tregion_id\030\002 \001(\005\022\020\n\010r" + "egion_r\030\003 \001(\002\022\020\n\010distance\030\004 \001(\002\"\307\002\n/CMsg" + "GCCStrike15_v2_MatchmakingClient2ServerP" + "ing\022(\n\017gameserverpings\030\001 \003(\0132\017.GameServe" + "rPing\022\024\n\014offset_index\030\002 \001(\005\022\023\n\013final_bat" + "ch\030\003 \001(\005\022*\n\021data_center_pings\030\004 \003(\0132\017.Da" + "taCenterPing\022\020\n\010max_ping\030\005 \001(\r\022\022\n\ntest_t" + "oken\030\006 \001(\007\022\022\n\nsearch_key\030\007 \001(\014\022B\n\005notes\030" + "\010 \003(\01323.CMsgGCCStrike15_v2_MatchmakingGC" + "2ClientUpdate_Note\022\025\n\rdebug_message\030\t \001(" + "\t\"\226\005\n-CMsgGCCStrike15_v2_MatchmakingGC2C" + "lientUpdate\022\023\n\013matchmaking\030\001 \001(\005\022#\n\033wait" + "ing_account_id_sessions\030\002 \003(\r\022\r\n\005error\030\003" + " \001(\t\022(\n ongoingmatch_account_id_sessions" + "\030\006 \003(\r\022\'\n\014global_stats\030\007 \001(\0132\021.GlobalSta" + "tistics\022$\n\034failping_account_id_sessions\030" + "\010 \003(\r\022#\n\033penalty_account_id_sessions\030\t \003" + "(\r\022%\n\035failready_account_id_sessions\030\n \003(" + "\r\022%\n\035vacbanned_account_id_sessions\030\013 \003(\r" + "\022-\n\025server_ipaddress_mask\030\014 \001(\0132\016.IpAddr" + "essMask\022B\n\005notes\030\r \003(\01323.CMsgGCCStrike15" + "_v2_MatchmakingGC2ClientUpdate_Note\022)\n!p" + "enalty_account_id_sessions_green\030\016 \003(\r\022\"" + "\n\032insufficientlevel_sessions\030\017 \003(\r\022$\n\034vs" + "ncheck_account_id_sessions\030\020 \003(\r\022\"\n\032laun" + "cher_mismatch_sessions\030\021 \003(\r\022$\n\034insecure" + "_account_id_sessions\030\022 \003(\r\"\277\004\n(CDataGCCS" + "trike15_v2_TournamentMatchDraft\022\020\n\010event" + "_id\030\001 \001(\005\022\026\n\016event_stage_id\030\002 \001(\005\022\021\n\ttea" + "m_id_0\030\003 \001(\005\022\021\n\tteam_id_1\030\004 \001(\005\022\022\n\nmaps_" + "count\030\005 \001(\005\022\024\n\014maps_current\030\006 \001(\005\022\025\n\rtea" + "m_id_start\030\007 \001(\005\022\025\n\rteam_id_veto1\030\010 \001(\005\022" + "\025\n\rteam_id_pickn\030\t \001(\005\022\?\n\006drafts\030\n \003(\0132/" + ".CDataGCCStrike15_v2_TournamentMatchDraf" + "t.Entry\022\024\n\014vote_mapid_0\030\013 \003(\005\022\024\n\014vote_ma" + "pid_1\030\014 \003(\005\022\024\n\014vote_mapid_2\030\r \003(\005\022\024\n\014vot" + "e_mapid_3\030\016 \003(\005\022\024\n\014vote_mapid_4\030\017 \003(\005\022\024\n" + "\014vote_mapid_5\030\020 \003(\005\022\032\n\022vote_starting_sid" + "e\030\021 \003(\005\022\022\n\nvote_phase\030\022 \001(\005\022\030\n\020vote_phas" + "e_start\030\023 \001(\002\022\031\n\021vote_phase_length\030\024 \001(\002" + "\032*\n\005Entry\022\r\n\005mapid\030\001 \001(\005\022\022\n\nteam_id_ct\030\002" + " \001(\005\"\373\001\n\021CPreMatchInfoData\022\027\n\017prediction" + "s_pct\030\001 \001(\005\0228\n\005draft\030\004 \001(\0132).CDataGCCStr" + "ike15_v2_TournamentMatchDraft\022+\n\005stats\030\005" + " \003(\0132\034.CPreMatchInfoData.TeamStats\022\014\n\004wi" + "ns\030\006 \003(\005\032X\n\tTeamStats\022\031\n\021match_info_idxt" + "xt\030\001 \001(\005\022\026\n\016match_info_txt\030\002 \001(\t\022\030\n\020matc" + "h_info_teams\030\003 \003(\t\"\221\005\n.CMsgGCCStrike15_v" + "2_MatchmakingGC2ServerReserve\022\023\n\013account" + "_ids\030\001 \003(\r\022\021\n\tgame_type\030\002 \001(\r\022\020\n\010match_i" + "d\030\003 \001(\004\022\026\n\016server_version\030\004 \001(\r\022\r\n\005flags" + "\030\022 \001(\r\022$\n\010rankings\030\005 \003(\0132\022.PlayerRanking" + "Info\022\026\n\016encryption_key\030\006 \001(\004\022\032\n\022encrypti" + "on_key_pub\030\007 \001(\004\022\021\n\tparty_ids\030\010 \003(\r\022!\n\tw" + "hitelist\030\t \003(\0132\016.IpAddressMask\022\031\n\021tv_mas" + "ter_steamid\030\n \001(\004\022*\n\020tournament_event\030\013 " + "\001(\0132\020.TournamentEvent\022)\n\020tournament_team" + "s\030\014 \003(\0132\017.TournamentTeam\022&\n\036tournament_c" + "asters_account_ids\030\r \003(\r\022\030\n\020tv_relay_ste" + "amid\030\016 \001(\004\022*\n\016pre_match_data\030\017 \001(\0132\022.CPr" + "eMatchInfoData\022\022\n\ntv_control\030\021 \001(\r\022+\n\rop" + "_var_values\030\023 \003(\0132\024.OperationalVarValue\022" + "\027\n\017socache_control\030\024 \001(\r\022\027\n\017teammate_col" + "ors\030\025 \003(\005\022\033\n\023match_id_additional\030\026 \001(\r\"\340" + "\004\n7CMsgGCCStrike15_v2_MatchmakingServerR" + "eservationResponse\022\025\n\rreservationid\030\001 \001(" + "\004\022D\n\013reservation\030\002 \001(\0132/.CMsgGCCStrike15" + "_v2_MatchmakingGC2ServerReserve\022\013\n\003map\030\003" + " \001(\t\022\033\n\023gc_reservation_sent\030\004 \001(\004\022\026\n\016ser" + "ver_version\030\005 \001(\r\022 \n\007tv_info\030\006 \001(\0132\017.Ser" + "verHltvInfo\022\036\n\026reward_player_accounts\030\007 " + "\003(\r\022\034\n\024idle_player_accounts\030\010 \003(\r\022 \n\030rew" + "ard_item_attr_def_idx\030\t \001(\r\022\036\n\026reward_it" + "em_attr_value\030\n \001(\r\022#\n\033reward_item_attr_" + "reward_idx\030\013 \001(\r\022\030\n\020reward_drop_list\030\014 \001" + "(\r\022\026\n\016tournament_tag\030\r \001(\t\022!\n\031legacy_ste" + "amdatagram_port\030\016 \001(\r\022\035\n\025steamdatagram_r" + "outing\030\021 \001(\r\022\022\n\ntest_token\030\017 \001(\007\022\r\n\005flag" + "s\030\020 \001(\r\022\023\n\013system_load\030\022 \001(\r\022\023\n\013cpus_onl" + "ine\030\023 \001(\r\"\256\002\n.CMsgGCCStrike15_v2_Matchma" + "kingGC2ClientReserve\022\020\n\010serverid\030\001 \001(\004\022\025" + "\n\rdirect_udp_ip\030\002 \001(\r\022\027\n\017direct_udp_port" + "\030\003 \001(\r\022\025\n\rreservationid\030\004 \001(\004\022D\n\013reserva" + "tion\030\005 \001(\0132/.CMsgGCCStrike15_v2_Matchmak" + "ingGC2ServerReserve\022\013\n\003map\030\006 \001(\t\022\026\n\016serv" + "er_address\030\007 \001(\t\022 \n\007gs_ping\030\010 \001(\0132\017.Data" + "CenterPing\022\026\n\016gs_location_id\030\t \001(\r\"\202\007\n.C" + "MsgGCCStrike15_v2_MatchmakingServerRound" + "Stats\022\025\n\rreservationid\030\001 \001(\004\022D\n\013reservat" + "ion\030\002 \001(\0132/.CMsgGCCStrike15_v2_Matchmaki" + "ngGC2ServerReserve\022\013\n\003map\030\003 \001(\t\022\r\n\005round" + "\030\004 \001(\005\022\r\n\005kills\030\005 \003(\005\022\017\n\007assists\030\006 \003(\005\022\016" + "\n\006deaths\030\007 \003(\005\022\016\n\006scores\030\010 \003(\005\022\r\n\005pings\030" + "\t \003(\005\022\024\n\014round_result\030\n \001(\005\022\024\n\014match_res" + "ult\030\013 \001(\005\022\023\n\013team_scores\030\014 \003(\005\022@\n\007confir" + "m\030\r \001(\0132/.CMsgGCCStrike15_v2_Matchmaking" + "GC2ServerConfirm\022\031\n\021reservation_stage\030\016 " + "\001(\005\022\026\n\016match_duration\030\017 \001(\005\022\023\n\013enemy_kil" + "ls\030\020 \003(\005\022\027\n\017enemy_headshots\030\021 \003(\005\022\021\n\tene" + "my_3ks\030\022 \003(\005\022\021\n\tenemy_4ks\030\023 \003(\005\022\021\n\tenemy" + "_5ks\030\024 \003(\005\022\014\n\004mvps\030\025 \003(\005\022\030\n\020spectators_c" + "ount\030\026 \001(\r\022\033\n\023spectators_count_tv\030\027 \001(\r\022" + "\034\n\024spectators_count_lnk\030\030 \001(\r\022\027\n\017enemy_k" + "ills_agg\030\031 \003(\005\022K\n\tdrop_info\030\032 \001(\01328.CMsg" + "GCCStrike15_v2_MatchmakingServerRoundSta" + "ts.DropInfo\022\030\n\020b_switched_teams\030\033 \001(\010\022\021\n" + "\tenemy_2ks\030\034 \003(\005\022\026\n\016player_spawned\030\035 \003(\005" + "\022\030\n\020team_spawn_count\030\036 \003(\005\022\022\n\nmax_rounds" + "\030\037 \001(\r\022\016\n\006map_id\030 \001(\005\032\037\n\010DropInfo\022\023\n\013ac" + "count_mvp\030\001 \001(\r\".\n,CMsgGCCStrike15_v2_Ma" + "tchmakingClient2GCHello\"\345\005\n,CMsgGCCStrik" + "e15_v2_MatchmakingGC2ClientHello\022\022\n\nacco" + "unt_id\030\001 \001(\r\022E\n\014ongoingmatch\030\002 \001(\0132/.CMs" + "gGCCStrike15_v2_MatchmakingGC2ClientRese" + "rve\022\'\n\014global_stats\030\003 \001(\0132\021.GlobalStatis" + "tics\022\027\n\017penalty_seconds\030\004 \001(\r\022\026\n\016penalty" + "_reason\030\005 \001(\r\022\022\n\nvac_banned\030\006 \001(\005\022#\n\007ran" + "king\030\007 \001(\0132\022.PlayerRankingInfo\022-\n\014commen" + "dation\030\010 \001(\0132\027.PlayerCommendationInfo\022!\n" + "\006medals\030\t \001(\0132\021.PlayerMedalsInfo\022*\n\020my_c" + "urrent_event\030\n \001(\0132\020.TournamentEvent\022/\n\026" + "my_current_event_teams\030\013 \003(\0132\017.Tournamen" + "tTeam\022(\n\017my_current_team\030\014 \001(\0132\017.Tournam" + "entTeam\0221\n\027my_current_event_stages\030\r \003(\013" + "2\020.TournamentEvent\022\023\n\013survey_vote\030\016 \001(\r\022" + "\"\n\010activity\030\017 \001(\0132\020.AccountActivity\022\024\n\014p" + "layer_level\030\021 \001(\005\022\025\n\rplayer_cur_xp\030\022 \001(\005" + "\022\035\n\025player_xp_bonus_flags\030\023 \001(\005\022$\n\010ranki" + "ngs\030\024 \003(\0132\022.PlayerRankingInfo\022\020\n\010owcasei" + "d\030\025 \001(\004\"\251\001\n)CMsgGCCStrike15_v2_AccountPr" + "ivacySettings\022D\n\010settings\030\001 \003(\01322.CMsgGC" + "CStrike15_v2_AccountPrivacySettings.Sett" + "ing\0326\n\007Setting\022\024\n\014setting_type\030\001 \001(\r\022\025\n\r" + "setting_value\030\002 \001(\r\"\277\001\n.CMsgGCCStrike15_" + "v2_MatchmakingGC2ClientAbandon\022\022\n\naccoun" + "t_id\030\001 \001(\r\022H\n\017abandoned_match\030\002 \001(\0132/.CM" + "sgGCCStrike15_v2_MatchmakingGC2ClientRes" + "erve\022\027\n\017penalty_seconds\030\003 \001(\r\022\026\n\016penalty" + "_reason\030\004 \001(\r\"M\n%CMsgGCCStrike15_v2_Clie" + "ntGCRankUpdate\022$\n\010rankings\030\001 \003(\0132\022.Playe" + "rRankingInfo\"L\n3CMsgGCCStrike15_v2_Match" + "makingOperator2GCBlogUpdate\022\025\n\rmain_post" + "_url\030\001 \001(\t\"\212\001\n3CMsgGCCStrike15_v2_Server" + "NotificationForUserPenalty\022\022\n\naccount_id" + "\030\001 \001(\r\022\016\n\006reason\030\002 \001(\r\022\017\n\007seconds\030\003 \001(\r\022" + "\036\n\026communication_cooldown\030\004 \001(\010\"\355\001\n%CMsg" + "GCCStrike15_v2_ClientReportPlayer\022\022\n\nacc" + "ount_id\030\001 \001(\r\022\022\n\nrpt_aimbot\030\002 \001(\r\022\024\n\014rpt" + "_wallhack\030\003 \001(\r\022\025\n\rrpt_speedhack\030\004 \001(\r\022\024" + "\n\014rpt_teamharm\030\005 \001(\r\022\025\n\rrpt_textabuse\030\006 " + "\001(\r\022\026\n\016rpt_voiceabuse\030\007 \001(\r\022\020\n\010match_id\030" + "\010 \001(\004\022\030\n\020report_from_demo\030\t \001(\010\"\215\001\n&CMsg" + "GCCStrike15_v2_ClientCommendPlayer\022\022\n\nac" + "count_id\030\001 \001(\r\022\020\n\010match_id\030\010 \001(\004\022-\n\014comm" + "endation\030\t \001(\0132\027.PlayerCommendationInfo\022" + "\016\n\006tokens\030\n \001(\r\"\265\001\n%CMsgGCCStrike15_v2_C" + "lientReportServer\022\024\n\014rpt_poorperf\030\001 \001(\r\022" + "\031\n\021rpt_abusivemodels\030\002 \001(\r\022\023\n\013rpt_badmot" + "d\030\003 \001(\r\022\030\n\020rpt_listingabuse\030\004 \001(\r\022\032\n\022rpt" + "_inventoryabuse\030\005 \001(\r\022\020\n\010match_id\030\010 \001(\004\"" + "\251\001\n\'CMsgGCCStrike15_v2_ClientReportRespo" + "nse\022\027\n\017confirmation_id\030\001 \001(\004\022\022\n\naccount_" + "id\030\002 \001(\r\022\021\n\tserver_ip\030\003 \001(\r\022\025\n\rresponse_" + "type\030\004 \001(\r\022\027\n\017response_result\030\005 \001(\r\022\016\n\006t" + "okens\030\006 \001(\r\"\303\001\n0CMsgGCCStrike15_v2_Clien" + "tRequestWatchInfoFriends\022\022\n\nrequest_id\030\001" + " \001(\r\022\023\n\013account_ids\030\002 \003(\r\022\020\n\010serverid\030\003 " + "\001(\004\022\017\n\007matchid\030\004 \001(\004\022\027\n\017client_launcher\030" + "\005 \001(\r\022*\n\021data_center_pings\030\006 \003(\0132\017.DataC" + "enterPing\"\260\002\n\022WatchableMatchInfo\022\021\n\tserv" + "er_ip\030\001 \001(\r\022\017\n\007tv_port\030\002 \001(\r\022\025\n\rtv_spect" + "ators\030\003 \001(\r\022\017\n\007tv_time\030\004 \001(\r\022\031\n\021tv_watch" + "_password\030\005 \001(\014\022\032\n\022cl_decryptdata_key\030\006 " + "\001(\004\022\036\n\026cl_decryptdata_key_pub\030\007 \001(\004\022\021\n\tg" + "ame_type\030\010 \001(\r\022\025\n\rgame_mapgroup\030\t \001(\t\022\020\n" + "\010game_map\030\n \001(\t\022\021\n\tserver_id\030\013 \001(\004\022\020\n\010ma" + "tch_id\030\014 \001(\004\022\026\n\016reservation_id\030\r \001(\004\"\313\001\n" + ".CMsgGCCStrike15_v2_ClientRequestJoinFri" + "endData\022\017\n\007version\030\001 \001(\r\022\022\n\naccount_id\030\002" + " \001(\r\022\022\n\njoin_token\030\003 \001(\r\022\020\n\010join_ipp\030\004 \001" + "(\r\022<\n\003res\030\005 \001(\0132/.CMsgGCCStrike15_v2_Mat" + "chmakingGC2ClientReserve\022\020\n\010errormsg\030\006 \001" + "(\t\"\337\001\n.CMsgGCCStrike15_v2_ClientRequestJ" + "oinServerData\022\017\n\007version\030\001 \001(\r\022\022\n\naccoun" + "t_id\030\002 \001(\r\022\020\n\010serverid\030\003 \001(\004\022\021\n\tserver_i" + "p\030\004 \001(\r\022\023\n\013server_port\030\005 \001(\r\022<\n\003res\030\006 \001(" + "\0132/.CMsgGCCStrike15_v2_MatchmakingGC2Cli" + "entReserve\022\020\n\010errormsg\030\007 \001(\t\"\236\001\n,CMsgGCC" + "strike15_v2_ClientRedeemMissionReward\022\023\n" + "\013campaign_id\030\001 \001(\r\022\021\n\tredeem_id\030\002 \001(\r\022\032\n" + "\022redeemable_balance\030\003 \001(\r\022\025\n\rexpected_co" + "st\030\004 \001(\r\022\023\n\013bid_control\030\005 \001(\005\"o\n)CMsgGCC" + "strike15_v2_ClientRedeemFreeReward\022\027\n\017ge" + "neration_time\030\001 \001(\r\022\032\n\022redeemable_balanc" + "e\030\002 \001(\r\022\r\n\005items\030\003 \003(\004\"\271\002\n,CMsgGCCstrike" + "15_v2_GC2ServerNotifyXPRewarded\022)\n\020xp_pr" + "ogress_data\030\001 \003(\0132\017.XpProgressData\022\022\n\nac" + "count_id\030\002 \001(\r\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\rcu" + "rrent_level\030\004 \001(\r\022\027\n\017upgraded_defidx\030\005 \001" + "(\r\022 \n\030operation_points_awarded\030\006 \001(\r\022\024\n\014" + "free_rewards\030\007 \001(\r\022\032\n\022xp_trail_remaining" + "\030\010 \001(\r\022\032\n\022xp_trail_xp_needed\030\t \001(\005\022\026\n\016xp" + "_trail_level\030\n \001(\r\"6\n&CMsgGCCStrike15_v2" + "_ClientNetworkConfig\022\014\n\004data\030\001 \001(\014\"\325\002\n\037C" + "MsgGCCStrike15_ClientDeepStats\022\022\n\naccoun" + "t_id\030\001 \001(\r\022>\n\005range\030\002 \001(\0132/.CMsgGCCStrik" + "e15_ClientDeepStats.DeepStatsRange\022@\n\007ma" + "tches\030\003 \003(\0132/.CMsgGCCStrike15_ClientDeep" + "Stats.DeepStatsMatch\032<\n\016DeepStatsRange\022\r" + "\n\005begin\030\001 \001(\r\022\013\n\003end\030\002 \001(\r\022\016\n\006frozen\030\003 \001" + "(\010\032^\n\016DeepStatsMatch\022%\n\006player\030\001 \001(\0132\025.D" + "eepPlayerStatsEntry\022%\n\006events\030\002 \003(\0132\025.De" + "epPlayerMatchEvent\"\232\001\n!CMsgGCCStrike15_v" + "2_WatchInfoUsers\022\022\n\nrequest_id\030\001 \001(\r\022\023\n\013" + "account_ids\030\002 \003(\r\0222\n\025watchable_match_inf" + "os\030\003 \003(\0132\023.WatchableMatchInfo\022\030\n\020extende" + "d_timeout\030\005 \001(\r\"\234\001\n.CMsgGCCStrike15_v2_C" + "lientRequestPlayersProfile\022\036\n\026request_id" + "__deprecated\030\001 \001(\r\022\037\n\027account_ids__depre" + "cated\030\002 \003(\r\022\022\n\naccount_id\030\003 \001(\r\022\025\n\rreque" + "st_level\030\004 \001(\r\"\200\001\n!CMsgGCCStrike15_v2_Pl" + "ayersProfile\022\022\n\nrequest_id\030\001 \001(\r\022G\n\020acco" + "unt_profiles\030\002 \003(\0132-.CMsgGCCStrike15_v2_" + "MatchmakingGC2ClientHello\"\226\004\n\'CMsgGCCStr" + "ike15_v2_PremierSeasonSummary\022\022\n\naccount" + "_id\030\001 \001(\r\022\021\n\tseason_id\030\002 \001(\r\022K\n\rdata_per" + "_week\030\003 \003(\01324.CMsgGCCStrike15_v2_Premier" + "SeasonSummary.DataPerWeek\022I\n\014data_per_ma" + "p\030\004 \003(\01323.CMsgGCCStrike15_v2_PremierSeas" + "onSummary.DataPerMap\032G\n\013DataPerWeek\022\017\n\007w" + "eek_id\030\001 \001(\004\022\017\n\007rank_id\030\002 \001(\r\022\026\n\016matches" + "_played\030\003 \001(\r\032\342\001\n\nDataPerMap\022\016\n\006map_id\030\001" + " \001(\r\022\014\n\004wins\030\002 \001(\r\022\014\n\004ties\030\003 \001(\r\022\016\n\006loss" + "es\030\004 \001(\r\022\016\n\006rounds\030\005 \001(\r\022\r\n\005kills\030\006 \001(\r\022" + "\021\n\theadshots\030\007 \001(\r\022\017\n\007assists\030\010 \001(\r\022\016\n\006d" + "eaths\030\t \001(\r\022\014\n\004mvps\030\n \001(\r\022\021\n\trounds_3k\030\013" + " \001(\r\022\021\n\trounds_4k\030\014 \001(\r\022\021\n\trounds_5k\030\r \001" + "(\r\"\314\001\n,CMsgGCCStrike15_v2_PlayerOverwatc" + "hCaseUpdate\022\016\n\006caseid\030\001 \001(\004\022\021\n\tsuspectid" + "\030\003 \001(\r\022\022\n\nfractionid\030\004 \001(\r\022\022\n\nrpt_aimbot" + "\030\005 \001(\r\022\024\n\014rpt_wallhack\030\006 \001(\r\022\025\n\rrpt_spee" + "dhack\030\007 \001(\r\022\024\n\014rpt_teamharm\030\010 \001(\r\022\016\n\006rea" + "son\030\t \001(\r\"\215\002\n0CMsgGCCStrike15_v2_PlayerO" + "verwatchCaseAssignment\022\016\n\006caseid\030\001 \001(\004\022\017" + "\n\007caseurl\030\002 \001(\t\022\017\n\007verdict\030\003 \001(\r\022\021\n\ttime" + "stamp\030\004 \001(\r\022\027\n\017throttleseconds\030\005 \001(\r\022\021\n\t" + "suspectid\030\006 \001(\r\022\022\n\nfractionid\030\007 \001(\r\022\021\n\tn" + "umrounds\030\010 \001(\r\022\026\n\016fractionrounds\030\t \001(\r\022\031" + "\n\021streakconvictions\030\n \001(\005\022\016\n\006reason\030\013 \001(" + "\r\"P\n,CMsgGCCStrike15_v2_PlayerOverwatchC" + "aseStatus\022\016\n\006caseid\030\001 \001(\004\022\020\n\010statusid\030\002 " + "\001(\r\"C\n\036CClientHeaderOverwatchEvidence\022\021\n" + "\taccountid\030\001 \001(\r\022\016\n\006caseid\030\002 \001(\004\"P\n#CMsg" + "GCCStrike15_v2_GC2ClientTextMsg\022\n\n\002id\030\001 " + "\001(\r\022\014\n\004type\030\002 \001(\r\022\017\n\007payload\030\003 \001(\014\"\?\n#CM" + "sgGCCStrike15_v2_Client2GCTextMsg\022\n\n\002id\030" + "\001 \001(\r\022\014\n\004args\030\002 \003(\014\"\266\001\n)CMsgGCCStrike15_" + "v2_MatchEndRunRewardDrops\022L\n\nserverinfo\030" + "\003 \001(\01328.CMsgGCCStrike15_v2_MatchmakingSe" + "rverReservationResponse\022;\n\024match_end_que" + "st_data\030\004 \001(\0132\035.CMsgGC_ServerQuestUpdate" + "Data\"\213\006\n\031CEconItemPreviewDataBlock\022\021\n\tac" + "countid\030\001 \001(\r\022\016\n\006itemid\030\002 \001(\004\022\020\n\010definde" + "x\030\003 \001(\r\022\022\n\npaintindex\030\004 \001(\r\022\016\n\006rarity\030\005 " + "\001(\r\022\017\n\007quality\030\006 \001(\r\022\021\n\tpaintwear\030\007 \001(\r\022" + "\021\n\tpaintseed\030\010 \001(\r\022\032\n\022killeaterscoretype" + "\030\t \001(\r\022\026\n\016killeatervalue\030\n \001(\r\022\022\n\ncustom" + "name\030\013 \001(\t\0224\n\010stickers\030\014 \003(\0132\".CEconItem" + "PreviewDataBlock.Sticker\022\021\n\tinventory\030\r " + "\001(\r\022\016\n\006origin\030\016 \001(\r\022\017\n\007questid\030\017 \001(\r\022\022\n\n" + "dropreason\030\020 \001(\r\022\022\n\nmusicindex\030\021 \001(\r\022\020\n\010" + "entindex\030\022 \001(\005\022\020\n\010petindex\030\023 \001(\r\0225\n\tkeyc" + "hains\030\024 \003(\0132\".CEconItemPreviewDataBlock." + "Sticker\022\r\n\005style\030\025 \001(\r\0226\n\nvariations\030\026 \003" + "(\0132\".CEconItemPreviewDataBlock.Sticker\022\025" + "\n\rupgrade_level\030\027 \001(\r\032\312\001\n\007Sticker\022\014\n\004slo" + "t\030\001 \001(\r\022\022\n\nsticker_id\030\002 \001(\r\022\014\n\004wear\030\003 \001(" + "\002\022\r\n\005scale\030\004 \001(\002\022\020\n\010rotation\030\005 \001(\002\022\017\n\007ti" + "nt_id\030\006 \001(\r\022\020\n\010offset_x\030\007 \001(\002\022\020\n\010offset_" + "y\030\010 \001(\002\022\020\n\010offset_z\030\t \001(\002\022\017\n\007pattern\030\n \001" + "(\r\022\026\n\016highlight_reel\030\013 \001(\r\"b\n2CMsgGCCStr" + "ike15_v2_MatchEndRewardDropsNotification" + "\022,\n\010iteminfo\030\006 \001(\0132\032.CEconItemPreviewDat" + "aBlock\"D\n\024CMsgItemAcknowledged\022,\n\010itemin" + "fo\030\001 \001(\0132\032.CEconItemPreviewDataBlock\"}\n7" + "CMsgGCCStrike15_v2_Client2GCEconPreviewD" + "ataBlockRequest\022\017\n\007param_s\030\001 \001(\004\022\017\n\007para" + "m_a\030\002 \001(\004\022\017\n\007param_d\030\003 \001(\004\022\017\n\007param_m\030\004 " + "\001(\004\"h\n8CMsgGCCStrike15_v2_Client2GCEconP" + "reviewDataBlockResponse\022,\n\010iteminfo\030\001 \001(" + "\0132\032.CEconItemPreviewDataBlock\"5\n3CMsgGCC" + "Strike15_v2_MatchListRequestCurrentLiveG" + "ames\"G\n2CMsgGCCStrike15_v2_MatchListRequ" + "estLiveGameForUser\022\021\n\taccountid\030\001 \001(\r\"G\n" + "2CMsgGCCStrike15_v2_MatchListRequestRece" + "ntUserGames\022\021\n\taccountid\030\001 \001(\r\"E\n2CMsgGC" + "CStrike15_v2_MatchListRequestTournamentG" + "ames\022\017\n\007eventid\030\001 \001(\005\"d\n/CMsgGCCStrike15" + "_v2_MatchListRequestFullGameInfo\022\017\n\007matc" + "hid\030\001 \001(\004\022\021\n\toutcomeid\030\002 \001(\004\022\r\n\005token\030\003 " + "\001(\r\"\210\002\n\035CDataGCCStrike15_v2_MatchInfo\022\017\n" + "\007matchid\030\001 \001(\004\022\021\n\tmatchtime\030\002 \001(\r\022/\n\022wat" + "chablematchinfo\030\003 \001(\0132\023.WatchableMatchIn" + "fo\022J\n\021roundstats_legacy\030\004 \001(\0132/.CMsgGCCS" + "trike15_v2_MatchmakingServerRoundStats\022F" + "\n\rroundstatsall\030\005 \003(\0132/.CMsgGCCStrike15_" + "v2_MatchmakingServerRoundStats\"^\n\'CDataG" + "CCStrike15_v2_TournamentGroupTeam\022\017\n\007tea" + "m_id\030\001 \001(\005\022\r\n\005score\030\002 \001(\005\022\023\n\013correctpick" + "\030\003 \001(\010\"\331\002\n#CDataGCCStrike15_v2_Tournamen" + "tGroup\022\017\n\007groupid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n" + "\004desc\030\003 \001(\t\022\031\n\021picks__deprecated\030\004 \001(\r\0227" + "\n\005teams\030\005 \003(\0132(.CDataGCCStrike15_v2_Tour" + "namentGroupTeam\022\021\n\tstage_ids\030\006 \003(\005\022\031\n\021pi" + "cklockuntiltime\030\007 \001(\r\022\025\n\rpickableteams\030\010" + " \001(\r\022\027\n\017points_per_pick\030\t \001(\r\0229\n\005picks\030\n" + " \003(\0132*.CDataGCCStrike15_v2_TournamentGro" + "up.Picks\032\030\n\005Picks\022\017\n\007pickids\030\001 \003(\005\"\214\001\n%C" + "DataGCCStrike15_v2_TournamentSection\022\021\n\t" + "sectionid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n\004desc\030\003 " + "\001(\t\0224\n\006groups\030\004 \003(\0132$.CDataGCCStrike15_v" + "2_TournamentGroup\"\265\001\n\"CDataGCCStrike15_v" + "2_TournamentInfo\0228\n\010sections\030\001 \003(\0132&.CDa" + "taGCCStrike15_v2_TournamentSection\022*\n\020to" + "urnament_event\030\002 \001(\0132\020.TournamentEvent\022)" + "\n\020tournament_teams\030\003 \003(\0132\017.TournamentTea" + "m\"\353\001\n\034CMsgGCCStrike15_v2_MatchList\022\024\n\014ms" + "grequestid\030\001 \001(\r\022\021\n\taccountid\030\002 \001(\r\022\022\n\ns" + "ervertime\030\003 \001(\r\022/\n\007matches\030\004 \003(\0132\036.CData" + "GCCStrike15_v2_MatchInfo\022 \n\007streams\030\005 \003(" + "\0132\017.TournamentTeam\022;\n\016tournamentinfo\030\006 \001" + "(\0132#.CDataGCCStrike15_v2_TournamentInfo\"" + "\211\001\n2CMsgGCCStrike15_v2_MatchListTourname" + "ntOperatorMgmt\022\017\n\007eventid\030\001 \001(\005\022/\n\007match" + "es\030\002 \003(\0132\036.CDataGCCStrike15_v2_MatchInfo" + "\022\021\n\taccountid\030\003 \001(\r\"\357\001\n\036CMsgGCCStrike15_" + "v2_Predictions\022\020\n\010event_id\030\001 \001(\r\022R\n\026grou" + "p_match_team_picks\030\002 \003(\01322.CMsgGCCStrike" + "15_v2_Predictions.GroupMatchTeamPick\032g\n\022" + "GroupMatchTeamPick\022\021\n\tsectionid\030\001 \001(\005\022\017\n" + "\007groupid\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\006teamid\030" + "\004 \001(\005\022\016\n\006itemid\030\005 \001(\004\"\373\001\n\032CMsgGCCStrike1" + "5_v2_Fantasy\022\020\n\010event_id\030\001 \001(\r\0226\n\005teams\030" + "\002 \003(\0132\'.CMsgGCCStrike15_v2_Fantasy.Fanta" + "syTeam\0329\n\013FantasySlot\022\014\n\004type\030\001 \001(\005\022\014\n\004p" + "ick\030\002 \001(\005\022\016\n\006itemid\030\003 \001(\004\032X\n\013FantasyTeam" + "\022\021\n\tsectionid\030\001 \001(\005\0226\n\005slots\030\002 \003(\0132\'.CMs" + "gGCCStrike15_v2_Fantasy.FantasySlot\"\"\n\021C" + "Attribute_String\022\r\n\005value\030\001 \001(\t\"\316\003\n\036CMsg" + "LegacySource1ClientWelcome\022\017\n\007version\030\001 " + "\001(\r\022\021\n\tgame_data\030\002 \001(\014\022;\n\033outofdate_subs" + "cribed_caches\030\003 \003(\0132\026.CMsgSOCacheSubscri" + "bed\022A\n\032uptodate_subscribed_caches\030\004 \003(\0132" + "\035.CMsgSOCacheSubscriptionCheck\022:\n\010locati" + "on\030\005 \001(\0132(.CMsgLegacySource1ClientWelcom" + "e.Location\022\022\n\ngame_data2\030\006 \001(\014\022$\n\034rtime3" + "2_gc_welcome_timestamp\030\007 \001(\r\022\020\n\010currency" + "\030\010 \001(\r\022\017\n\007balance\030\t \001(\r\022\023\n\013balance_url\030\n" + " \001(\t\022\030\n\020txn_country_code\030\013 \001(\t\032@\n\010Locati" + "on\022\020\n\010latitude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022" + "\017\n\007country\030\003 \001(\t\"\304\001\n\024CMsgCStrike15Welcom" + "e\022\027\n\017store_item_hash\030\005 \001(\r\022\037\n\027timeplayed" + "consecutively\030\006 \001(\r\022\031\n\021time_first_played" + "\030\n \001(\r\022\030\n\020last_time_played\030\014 \001(\r\022\027\n\017last" + "_ip_address\030\r \001(\r\022\022\n\ngscookieid\030\022 \001(\004\022\020\n" + "\010uniqueid\030\023 \001(\004\"\233\001\n1CMsgGCCStrike15_v2_C" + "lientVarValueNotificationInfo\022\022\n\nvalue_n" + "ame\030\001 \001(\t\022\021\n\tvalue_int\030\002 \001(\005\022\023\n\013server_a" + "ddr\030\003 \001(\r\022\023\n\013server_port\030\004 \001(\r\022\025\n\rchoked" + "_blocks\030\005 \003(\t\"z\n1CMsgGCCStrike15_v2_Serv" + "erVarValueNotificationInfo\022\021\n\taccountid\030" + "\001 \001(\r\022\022\n\nviewangles\030\002 \003(\r\022\014\n\004type\030\003 \001(\r\022" + "\020\n\010userdata\030\004 \003(\r\",\n*CMsgGCCStrike15_v2_" + "GiftsLeaderboardRequest\"\235\002\n+CMsgGCCStrik" + "e15_v2_GiftsLeaderboardResponse\022\022\n\nserve" + "rtime\030\001 \001(\r\022\033\n\023time_period_seconds\030\002 \001(\r" + "\022\031\n\021total_gifts_given\030\003 \001(\r\022\024\n\014total_giv" + "ers\030\004 \001(\r\022R\n\007entries\030\005 \003(\0132A.CMsgGCCStri" + "ke15_v2_GiftsLeaderboardResponse.GiftLea" + "derboardEntry\0328\n\024GiftLeaderboardEntry\022\021\n" + "\taccountid\030\001 \001(\r\022\r\n\005gifts\030\002 \001(\r\"L\n)CMsgG" + "CCStrike15_v2_ClientSubmitSurveyVote\022\021\n\t" + "survey_id\030\001 \001(\r\022\014\n\004vote\030\002 \001(\r\"\?\n*CMsgGCC" + "Strike15_v2_Server2GCClientValidate\022\021\n\ta" + "ccountid\030\001 \001(\r\"r\n*CMsgGCCStrike15_v2_GC2" + "ClientTournamentInfo\022\017\n\007eventid\030\001 \001(\r\022\017\n" + "\007stageid\030\002 \001(\r\022\021\n\tgame_type\030\003 \001(\r\022\017\n\007tea" + "mids\030\004 \003(\r\"O\n\rCSOEconCoupon\022\025\n\007entryid\030\001" + " \001(\rB\004\200\246\035\001\022\016\n\006defidx\030\002 \001(\r\022\027\n\017expiration" + "_date\030\003 \001(\007\"a\n\033CSOAccountItemPersonalSto" + "re\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022redeemabl" + "e_balance\030\002 \001(\r\022\r\n\005items\030\003 \003(\004\"Z\n\020CSOAcc" + "ountXpShop\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022r" + "edeemable_balance\030\002 \001(\r\022\021\n\txp_tracks\030\003 \003" + "(\r\"z\n\024CSOAccountXpShopBids\022\031\n\013campaign_i" + "d\030\001 \001(\rB\004\200\246\035\001\022\027\n\tredeem_id\030\002 \001(\rB\004\200\246\035\001\022\025" + "\n\rexpected_cost\030\003 \001(\r\022\027\n\017generation_time" + "\030\004 \001(\r\"Z\n\024CSOVolatileItemOffer\022\024\n\006defidx" + "\030\001 \001(\rB\004\200\246\035\001\022\023\n\013faux_itemid\030\002 \003(\004\022\027\n\017gen" + "eration_time\030\003 \003(\r\"^\n\035CSOVolatileItemCla" + "imedRewards\022\024\n\006defidx\030\001 \001(\rB\004\200\246\035\001\022\016\n\006rew" + "ard\030\002 \003(\r\022\027\n\017generation_time\030\003 \003(\r\"6\n#CS" + "OAccountKeychainRemoveToolCharges\022\017\n\007cha" + "rges\030\001 \001(\r\"Y\n\020CSOQuestProgress\022\025\n\007questi" + "d\030\001 \001(\rB\004\200\246\035\001\022\030\n\020points_remaining\030\002 \001(\r\022" + "\024\n\014bonus_points\030\003 \001(\r\"\315\001\n\033CSOAccountSeas" + "onalOperation\022\032\n\014season_value\030\001 \001(\rB\004\200\246\035" + "\001\022\025\n\rtier_unlocked\030\002 \001(\r\022\025\n\rpremium_tier" + "s\030\003 \001(\r\022\022\n\nmission_id\030\004 \001(\r\022\032\n\022missions_" + "completed\030\005 \001(\r\022\032\n\022redeemable_balance\030\006 " + "\001(\r\022\030\n\020season_pass_time\030\007 \001(\r\"R\n\037CSOAcco" + "untRecurringSubscription\022\027\n\017time_next_cy" + "cle\030\001 \001(\r\022\026\n\016time_initiated\030\002 \001(\r\"c\n\030CSO" + "GameAccountSteamChina\022\030\n\020time_last_updat" + "e\030\001 \001(\r\022\026\n\016time_comms_ban\030\002 \001(\r\022\025\n\rtime_" + "play_ban\030\003 \001(\r\"\257\001\n\024CSOPersonaDataPublic\022" + "\024\n\014player_level\030\001 \001(\005\022-\n\014commendation\030\002 " + "\001(\0132\027.PlayerCommendationInfo\022\026\n\016elevated" + "_state\030\003 \001(\010\022\"\n\032xp_trail_timestamp_refre" + "sh\030\004 \001(\r\022\026\n\016xp_trail_level\030\005 \001(\r\"f\n\032CSOA" + "ccountRecurringMission\022\022\n\naccount_id\030\001 \001" + "(\r\022\022\n\nmission_id\030\002 \001(\r\022\016\n\006period\030\003 \001(\r\022\020" + "\n\010progress\030\004 \001(\r\"\240\001\n(CMsgGCCStrike15_v2_" + "GC2ClientNotifyXPShop\022#\n\010prematch\030\001 \001(\0132" + "\021.CSOAccountXpShop\022$\n\tpostmatch\030\002 \001(\0132\021." + "CSOAccountXpShop\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\r" + "current_level\030\004 \001(\r\"-\n+CMsgGCCStrike15_v" + "2_Client2GcAckXPShopTracks\"\251\001\n2CMsgGCCSt" + "rike15_v2_MatchmakingGC2ClientSearchStat" + "s\022\026\n\016gs_location_id\030\001 \001(\r\022\026\n\016data_center" + "_id\030\002 \001(\r\022\025\n\rnum_locked_in\030\003 \001(\r\022\030\n\020num_" + "found_nearby\030\004 \001(\r\022\022\n\nnote_level\030\005 \001(\r\"-" + "\n\033CMsgGC_GlobalGame_Subscribe\022\016\n\006ticket\030" + "\001 \001(\004\"1\n\035CMsgGC_GlobalGame_Unsubscribe\022\020" + "\n\010timeleft\030\001 \001(\005\"P\n\026CMsgGC_GlobalGame_Pl" + "ay\022\016\n\006ticket\030\001 \001(\004\022\022\n\ngametimems\030\002 \001(\r\022\022" + "\n\nmsperpoint\030\003 \001(\r\"=\n%CMsgGCCStrike15_v2" + "_AcknowledgePenalty\022\024\n\014acknowledged\030\001 \001(" + "\005\"{\n/CMsgGCCStrike15_v2_Client2GCRequest" + "PrestigeCoin\022\020\n\010defindex\030\001 \001(\r\022\021\n\tupgrad" + "eid\030\002 \001(\004\022\r\n\005hours\030\003 \001(\r\022\024\n\014prestigetime" + "\030\004 \001(\r\"F\n(CMsgGCCStrike15_v2_Client2GCSt" + "reamUnlock\022\016\n\006ticket\030\001 \001(\004\022\n\n\002os\030\002 \001(\005\"<" + "\n+CMsgGCCStrike15_v2_ClientToGCRequestEl" + "evate\022\r\n\005stage\030\001 \001(\r\"C\n!CMsgGCCStrike15_" + "v2_ClientToGCChat\022\020\n\010match_id\030\001 \001(\004\022\014\n\004t" + "ext\030\002 \001(\t\"E\n!CMsgGCCStrike15_v2_GCToClie" + "ntChat\022\022\n\naccount_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t" + "\"E\n$CMsgGCCStrike15_v2_ClientAuthKeyCode" + "\022\017\n\007eventid\030\001 \001(\r\022\014\n\004code\030\002 \001(\t\"F\n\036CMsgG" + "CCStrike15_GotvSyncPacket\022$\n\004data\030\001 \001(\0132" + "\026.CEngineGotvSyncPacket\"\223\002\n\033PlayerDecalD" + "igitalSignature\022\021\n\tsignature\030\001 \001(\014\022\021\n\tac" + "countid\030\002 \001(\r\022\r\n\005rtime\030\003 \001(\r\022\016\n\006endpos\030\004" + " \003(\002\022\020\n\010startpos\030\005 \003(\002\022\014\n\004left\030\006 \003(\002\022\021\n\t" + "tx_defidx\030\007 \001(\r\022\020\n\010entindex\030\010 \001(\005\022\016\n\006hit" + "box\030\t \001(\r\022\024\n\014creationtime\030\n \001(\002\022\021\n\tequip" + "slot\030\013 \001(\r\022\020\n\010trace_id\030\014 \001(\r\022\016\n\006normal\030\r" + " \003(\002\022\017\n\007tint_id\030\016 \001(\r\"f\n(CMsgGCCStrike15" + "_v2_ClientPlayerDecalSign\022*\n\004data\030\001 \001(\0132" + "\034.PlayerDecalDigitalSignature\022\016\n\006itemid\030" + "\002 \001(\004\"4\n!CMsgGCCStrike15_v2_BetaEnrollme" + "nt\022\017\n\007eresult\030\001 \001(\r\"_\n(CMsgGCCStrike15_v" + "2_ClientLogonFatalError\022\021\n\terrorcode\030\001 \001" + "(\r\022\017\n\007message\030\002 \001(\t\022\017\n\007country\030\003 \001(\t\"S\n\"" + "CMsgGCCStrike15_v2_ClientPollState\022\016\n\006po" + "llid\030\001 \001(\r\022\r\n\005names\030\002 \003(\t\022\016\n\006values\030\003 \003(" + "\005\"\244\001\n!CMsgGCCStrike15_v2_Party_Register\022" + "\n\n\002id\030\001 \001(\r\022\013\n\003ver\030\002 \001(\r\022\013\n\003apr\030\003 \001(\r\022\013\n" + "\003ark\030\004 \001(\r\022\013\n\003nby\030\005 \001(\r\022\013\n\003grp\030\006 \001(\r\022\r\n\005" + "slots\030\007 \001(\r\022\020\n\010launcher\030\010 \001(\r\022\021\n\tgame_ty" + "pe\030\t \001(\r\"{\n\037CMsgGCCStrike15_v2_Party_Sea" + "rch\022\013\n\003ver\030\001 \001(\r\022\013\n\003apr\030\002 \001(\r\022\013\n\003ark\030\003 \001" + "(\r\022\014\n\004grps\030\004 \003(\r\022\020\n\010launcher\030\005 \001(\r\022\021\n\tga" + "me_type\030\006 \001(\r\"\327\001\n&CMsgGCCStrike15_v2_Par" + "ty_SearchResults\022>\n\007entries\030\001 \003(\0132-.CMsg" + "GCCStrike15_v2_Party_SearchResults.Entry" + "\032m\n\005Entry\022\n\n\002id\030\001 \001(\r\022\013\n\003grp\030\002 \001(\r\022\021\n\tga" + "me_type\030\003 \001(\r\022\013\n\003apr\030\004 \001(\r\022\013\n\003ark\030\005 \001(\r\022" + "\013\n\003loc\030\006 \001(\r\022\021\n\taccountid\030\007 \001(\r\"E\n\037CMsgG" + "CCStrike15_v2_Party_Invite\022\021\n\taccountid\030" + "\001 \001(\r\022\017\n\007lobbyid\030\002 \001(\r\"\302\001\n)CMsgGCCStrike" + "15_v2_Account_RequestCoPlays\022B\n\007players\030" + "\001 \003(\01321.CMsgGCCStrike15_v2_Account_Reque" + "stCoPlays.Player\022\022\n\nservertime\030\002 \001(\r\032=\n\006" + "Player\022\021\n\taccountid\030\001 \001(\r\022\020\n\010rtcoplay\030\002 " + "\001(\r\022\016\n\006online\030\003 \001(\010\"\244\001\n*CMsgGCCStrike15_" + "v2_ClientToGCRequestTicket\022\033\n\023authorized" + "_steam_id\030\001 \001(\006\022\034\n\024authorized_public_ip\030" + "\002 \001(\007\022\033\n\023gameserver_steam_id\030\003 \001(\006\022\036\n\026ga" + "meserver_sdr_routing\030\005 \001(\t\">\n!CMsgGCToCl" + "ientSteamDatagramTicket\022\031\n\021serialized_ti" + "cket\030\020 \001(\014\"(\n&CMsgGCCStrike15_v2_ClientR" + "equestOffers\"\\\n(CMsgGCCStrike15_v2_Clien" + "tRequestSouvenir\022\016\n\006itemid\030\001 \001(\004\022\017\n\007matc" + "hid\030\002 \001(\004\022\017\n\007eventid\030\003 \001(\005\"F\n\'CMsgGCCStr" + "ike15_v2_ClientAccountBalance\022\016\n\006amount\030" + "\001 \001(\004\022\013\n\003url\030\002 \001(\t\"M\n\'CMsgGCCStrike15_v2" + "_ClientPartyJoinRelay\022\021\n\taccountid\030\001 \001(\r" + "\022\017\n\007lobbyid\030\002 \001(\004\"\224\001\n%CMsgGCCStrike15_v2" + "_ClientPartyWarning\022=\n\007entries\030\001 \003(\0132,.C" + "MsgGCCStrike15_v2_ClientPartyWarning.Ent" + "ry\032,\n\005Entry\022\021\n\taccountid\030\001 \001(\r\022\020\n\010warnty" + "pe\030\002 \001(\r\"K\n#CMsgGCCStrike15_v2_SetEventF" + "avorite\022\017\n\007eventid\030\001 \001(\004\022\023\n\013is_favorite\030" + "\002 \001(\010\"B\n,CMsgGCCStrike15_v2_GetEventFavo" + "rites_Request\022\022\n\nall_events\030\001 \001(\010\"r\n-CMs" + "gGCCStrike15_v2_GetEventFavorites_Respon" + "se\022\022\n\nall_events\030\001 \001(\010\022\026\n\016json_favorites" + "\030\002 \001(\t\022\025\n\rjson_featured\030\003 \001(\t\"\325\001\n#CMsgGC" + "CStrike15_v2_ClientPerfReport\022;\n\007entries" + "\030\001 \003(\0132*.CMsgGCCStrike15_v2_ClientPerfRe" + "port.Entry\032q\n\005Entry\022\023\n\013perfcounter\030\001 \001(\r" + "\022\016\n\006length\030\002 \001(\r\022\021\n\treference\030\003 \001(\014\022\016\n\006a" + "ctual\030\004 \001(\014\022\020\n\010sourceid\030\005 \001(\r\022\016\n\006status\030" + "\006 \001(\r\"Q\n\014CVDiagnostic\022\n\n\002id\030\001 \001(\r\022\020\n\010ext" + "ended\030\002 \001(\r\022\r\n\005value\030\003 \001(\004\022\024\n\014string_val" + "ue\030\004 \001(\t\"\360\003\n)CMsgGCCStrike15_v2_ClientRe" + "portValidation\022\023\n\013file_report\030\001 \001(\t\022\024\n\014c" + "ommand_line\030\002 \001(\t\022\023\n\013total_files\030\003 \001(\r\022\026" + "\n\016internal_error\030\004 \001(\r\022\022\n\ntrust_time\030\005 \001" + "(\r\022\025\n\rcount_pending\030\006 \001(\r\022\027\n\017count_compl" + "eted\030\007 \001(\r\022\022\n\nprocess_id\030\010 \001(\r\022\021\n\tosvers" + "ion\030\t \001(\005\022\033\n\023clientreportversion\030\n \001(\r\022\021" + "\n\tstatus_id\030\013 \001(\r\022\023\n\013diagnostic1\030\014 \001(\r\022\023" + "\n\013diagnostic2\030\r \001(\004\022\023\n\013diagnostic3\030\016 \001(\004" + "\022\030\n\020last_launch_data\030\017 \001(\t\022\024\n\014report_cou" + "nt\030\020 \001(\r\022\023\n\013client_time\030\021 \001(\004\022\023\n\013diagnos" + "tic4\030\022 \001(\004\022\023\n\013diagnostic5\030\023 \001(\004\022\"\n\013diagn" + "ostics\030\024 \003(\0132\r.CVDiagnostic\"\250\002\n,CMsgGCCS" + "trike15_v2_GC2ClientRefuseSecureMode\022\023\n\013" + "file_report\030\001 \001(\t\022\033\n\023offer_insecure_mode" + "\030\002 \001(\010\022\031\n\021offer_secure_mode\030\003 \001(\010\022\030\n\020sho" + "w_unsigned_ui\030\004 \001(\010\022\021\n\tkick_user\030\005 \001(\010\022\027" + "\n\017show_trusted_ui\030\006 \001(\010\022 \n\030show_warning_" + "not_trusted\030\007 \001(\010\022\"\n\032show_warning_not_tr" + "usted_2\030\010 \001(\010\022\037\n\027files_prevented_trusted" + "\030\t \001(\t\"T\n-CMsgGCCStrike15_v2_GC2ClientRe" + "questValidation\022\023\n\013full_report\030\001 \001(\010\022\016\n\006" + "module\030\002 \001(\t\"\313\001\n&CMsgGCCStrike15_v2_GC2C" + "lientInitSystem\022\014\n\004load\030\001 \001(\010\022\014\n\004name\030\002 " + "\001(\t\022\022\n\noutputname\030\003 \001(\t\022\020\n\010key_data\030\004 \001(" + "\014\022\020\n\010sha_hash\030\005 \001(\014\022\016\n\006cookie\030\006 \001(\005\022\020\n\010m" + "anifest\030\007 \001(\t\022\026\n\016system_package\030\010 \001(\014\022\023\n" + "\013load_system\030\t \001(\010\"\245\002\n/CMsgGCCStrike15_v" + "2_GC2ClientInitSystem_Response\022\017\n\007succes" + "s\030\001 \001(\010\022\022\n\ndiagnostic\030\002 \001(\t\022\020\n\010sha_hash\030" + "\003 \001(\014\022\020\n\010response\030\004 \001(\005\022\023\n\013error_code1\030\005" + " \001(\005\022\023\n\013error_code2\030\006 \001(\005\022\016\n\006handle\030\007 \001(" + "\003\022E\n\014einit_result\030\010 \001(\0162\022.EInitSystemRes" + "ult:\033k_EInitSystemResult_Invalid\022\023\n\013aux_" + "system1\030\t \001(\005\022\023\n\013aux_system2\030\n \001(\005\"P\n/CM" + "sgGCCStrike15_v2_SetPlayerLeaderboardSaf" + "eName\022\035\n\025leaderboard_safe_name\030\001 \001(\t\"%\n#" + "CMsgRequestRecurringMissionSchedule\"\241\001\n\032" + "CMsgRecurringMissionSchema\022A\n\010missions\030\001" + " \003(\0132/.CMsgRecurringMissionSchema.Missio" + "nTemplateList\032@\n\023MissionTemplateList\022\016\n\006" + "period\030\001 \001(\r\022\031\n\021mission_templates\030\002 \003(\014*" + "\311*\n\nECsgoGCMsg\022\036\n\031k_EMsgGCCStrike15_v2_B" + "ase\020\214G\022*\n%k_EMsgGCCStrike15_v2_Matchmaki" + "ngStart\020\215G\022)\n$k_EMsgGCCStrike15_v2_Match" + "makingStop\020\216G\0226\n1k_EMsgGCCStrike15_v2_Ma" + "tchmakingClient2ServerPing\020\217G\0224\n/k_EMsgG" + "CCStrike15_v2_MatchmakingGC2ClientUpdate" + "\020\220G\022>\n9k_EMsgGCCStrike15_v2_MatchmakingS" + "erverReservationResponse\020\222G\0225\n0k_EMsgGCC" + "Strike15_v2_MatchmakingGC2ClientReserve\020" + "\223G\0223\n.k_EMsgGCCStrike15_v2_MatchmakingCl" + "ient2GCHello\020\225G\0223\n.k_EMsgGCCStrike15_v2_" + "MatchmakingGC2ClientHello\020\226G\0225\n0k_EMsgGC" + "CStrike15_v2_MatchmakingGC2ClientAbandon" + "\020\230G\022:\n5k_EMsgGCCStrike15_v2_MatchmakingO" + "perator2GCBlogUpdate\020\235G\022:\n5k_EMsgGCCStri" + "ke15_v2_ServerNotificationForUserPenalty" + "\020\236G\022,\n\'k_EMsgGCCStrike15_v2_ClientReport" + "Player\020\237G\022,\n\'k_EMsgGCCStrike15_v2_Client" + "ReportServer\020\240G\022-\n(k_EMsgGCCStrike15_v2_" + "ClientCommendPlayer\020\241G\022.\n)k_EMsgGCCStrik" + "e15_v2_ClientReportResponse\020\242G\0222\n-k_EMsg" + "GCCStrike15_v2_ClientCommendPlayerQuery\020" + "\243G\022:\n5k_EMsgGCCStrike15_v2_ClientCommend" + "PlayerQueryResponse\020\244G\022(\n#k_EMsgGCCStrik" + "e15_v2_WatchInfoUsers\020\246G\0225\n0k_EMsgGCCStr" + "ike15_v2_ClientRequestPlayersProfile\020\247G\022" + "(\n#k_EMsgGCCStrike15_v2_PlayersProfile\020\250" + "G\0223\n.k_EMsgGCCStrike15_v2_PlayerOverwatc" + "hCaseUpdate\020\253G\0227\n2k_EMsgGCCStrike15_v2_P" + "layerOverwatchCaseAssignment\020\254G\0223\n.k_EMs" + "gGCCStrike15_v2_PlayerOverwatchCaseStatu" + "s\020\255G\022*\n%k_EMsgGCCStrike15_v2_GC2ClientTe" + "xtMsg\020\256G\022*\n%k_EMsgGCCStrike15_v2_Client2" + "GCTextMsg\020\257G\0220\n+k_EMsgGCCStrike15_v2_Mat" + "chEndRunRewardDrops\020\260G\0229\n4k_EMsgGCCStrik" + "e15_v2_MatchEndRewardDropsNotification\020\261" + "G\0228\n3k_EMsgGCCStrike15_v2_ClientRequestW" + "atchInfoFriends2\020\262G\022#\n\036k_EMsgGCCStrike15" + "_v2_MatchList\020\263G\022:\n5k_EMsgGCCStrike15_v2" + "_MatchListRequestCurrentLiveGames\020\264G\0229\n4" + "k_EMsgGCCStrike15_v2_MatchListRequestRec" + "entUserGames\020\265G\0224\n/k_EMsgGCCStrike15_v2_" + "GC2ServerReservationUpdate\020\266G\0228\n3k_EMsgG" + "CCStrike15_v2_ClientVarValueNotification" + "Info\020\270G\0229\n4k_EMsgGCCStrike15_v2_MatchLis" + "tRequestTournamentGames\020\272G\0226\n1k_EMsgGCCS" + "trike15_v2_MatchListRequestFullGameInfo\020" + "\273G\0221\n,k_EMsgGCCStrike15_v2_GiftsLeaderbo" + "ardRequest\020\274G\0222\n-k_EMsgGCCStrike15_v2_Gi" + "ftsLeaderboardResponse\020\275G\0228\n3k_EMsgGCCSt" + "rike15_v2_ServerVarValueNotificationInfo" + "\020\276G\0220\n+k_EMsgGCCStrike15_v2_ClientSubmit" + "SurveyVote\020\300G\0221\n,k_EMsgGCCStrike15_v2_Se" + "rver2GCClientValidate\020\301G\0229\n4k_EMsgGCCStr" + "ike15_v2_MatchListRequestLiveGameForUser" + "\020\302G\022>\n9k_EMsgGCCStrike15_v2_Client2GCEco" + "nPreviewDataBlockRequest\020\304G\022\?\n:k_EMsgGCC" + "Strike15_v2_Client2GCEconPreviewDataBloc" + "kResponse\020\305G\0220\n+k_EMsgGCCStrike15_v2_Acc" + "ountPrivacySettings\020\306G\022+\n&k_EMsgGCCStrik" + "e15_v2_SetMyActivityInfo\020\307G\022\?\n:k_EMsgGCC" + "Strike15_v2_MatchListRequestTournamentPr" + "edictions\020\310G\022>\n9k_EMsgGCCStrike15_v2_Mat" + "chListUploadTournamentPredictions\020\311G\022&\n!" + "k_EMsgGCCStrike15_v2_DraftSummary\020\312G\0225\n0" + "k_EMsgGCCStrike15_v2_ClientRequestJoinFr" + "iendData\020\313G\0225\n0k_EMsgGCCStrike15_v2_Clie" + "ntRequestJoinServerData\020\314G\0221\n,k_EMsgGCCS" + "trike15_v2_GC2ClientTournamentInfo\020\317G\022\"\n" + "\035k_EMsgGC_GlobalGame_Subscribe\020\320G\022$\n\037k_E" + "MsgGC_GlobalGame_Unsubscribe\020\321G\022\035\n\030k_EMs" + "gGC_GlobalGame_Play\020\322G\022,\n\'k_EMsgGCCStrik" + "e15_v2_AcknowledgePenalty\020\323G\0226\n1k_EMsgGC" + "CStrike15_v2_Client2GCRequestPrestigeCoi" + "n\020\324G\022.\n)k_EMsgGCCStrike15_v2_GC2ClientGl" + "obalStats\020\325G\022/\n*k_EMsgGCCStrike15_v2_Cli" + "ent2GCStreamUnlock\020\326G\0222\n-k_EMsgGCCStrike" + "15_v2_FantasyRequestClientData\020\327G\0221\n,k_E" + "MsgGCCStrike15_v2_FantasyUpdateClientDat" + "a\020\330G\0227\n2k_EMsgGCCStrike15_v2_GCToClientS" + "teamdatagramTicket\020\331G\0221\n,k_EMsgGCCStrike" + "15_v2_ClientToGCRequestTicket\020\332G\0222\n-k_EM" + "sgGCCStrike15_v2_ClientToGCRequestElevat" + "e\020\333G\022$\n\037k_EMsgGCCStrike15_v2_GlobalChat\020" + "\334G\022.\n)k_EMsgGCCStrike15_v2_GlobalChat_Su" + "bscribe\020\335G\0220\n+k_EMsgGCCStrike15_v2_Globa" + "lChat_Unsubscribe\020\336G\022+\n&k_EMsgGCCStrike1" + "5_v2_ClientAuthKeyCode\020\337G\022(\n#k_EMsgGCCSt" + "rike15_v2_GotvSyncPacket\020\340G\022/\n*k_EMsgGCC" + "Strike15_v2_ClientPlayerDecalSign\020\341G\022/\n*" + "k_EMsgGCCStrike15_v2_ClientLogonFatalErr" + "or\020\343G\022)\n$k_EMsgGCCStrike15_v2_ClientPoll" + "State\020\344G\022(\n#k_EMsgGCCStrike15_v2_Party_R" + "egister\020\345G\022*\n%k_EMsgGCCStrike15_v2_Party" + "_Unregister\020\346G\022&\n!k_EMsgGCCStrike15_v2_P" + "arty_Search\020\347G\022&\n!k_EMsgGCCStrike15_v2_P" + "arty_Invite\020\350G\0220\n+k_EMsgGCCStrike15_v2_A" + "ccount_RequestCoPlays\020\351G\022,\n\'k_EMsgGCCStr" + "ike15_v2_ClientGCRankUpdate\020\352G\022-\n(k_EMsg" + "GCCStrike15_v2_ClientRequestOffers\020\353G\022.\n" + ")k_EMsgGCCStrike15_v2_ClientAccountBalan" + "ce\020\354G\022.\n)k_EMsgGCCStrike15_v2_ClientPart" + "yJoinRelay\020\355G\022,\n\'k_EMsgGCCStrike15_v2_Cl" + "ientPartyWarning\020\356G\022*\n%k_EMsgGCCStrike15" + "_v2_SetEventFavorite\020\360G\0223\n.k_EMsgGCCStri" + "ke15_v2_GetEventFavorites_Request\020\361G\022*\n%" + "k_EMsgGCCStrike15_v2_ClientPerfReport\020\362G" + "\0224\n/k_EMsgGCCStrike15_v2_GetEventFavorit" + "es_Response\020\363G\022/\n*k_EMsgGCCStrike15_v2_C" + "lientRequestSouvenir\020\364G\0220\n+k_EMsgGCCStri" + "ke15_v2_ClientReportValidation\020\365G\0223\n.k_E" + "MsgGCCStrike15_v2_GC2ClientRefuseSecureM" + "ode\020\366G\0224\n/k_EMsgGCCStrike15_v2_GC2Client" + "RequestValidation\020\367G\0223\n.k_EMsgGCCStrike1" + "5_v2_ClientRedeemMissionReward\020\371G\022&\n!k_E" + "MsgGCCStrike15_ClientDeepStats\020\372G\0222\n-k_E" + "MsgGCCStrike15_StartAgreementSessionInGa" + "me\020\373G\022-\n(k_EMsgGCCStrike15_v2_GC2ClientI" + "nitSystem\020\374G\0226\n1k_EMsgGCCStrike15_v2_GC2" + "ClientInitSystem_Response\020\375G\022\'\n\"k_EMsgGC" + "CStrike15_v2_PrivateQueues\020\376G\0229\n4k_EMsgG" + "CCStrike15_v2_MatchListTournamentOperato" + "rMgmt\020\377G\022(\n#k_EMsgGCCStrike15_v2_BetaEnr" + "ollment\020\201H\0226\n1k_EMsgGCCStrike15_v2_SetPl" + "ayerLeaderboardSafeName\020\202H\0220\n+k_EMsgGCCS" + "trike15_v2_ClientRedeemFreeReward\020\203H\022-\n(" + "k_EMsgGCCStrike15_v2_ClientNetworkConfig" + "\020\204H\022/\n*k_EMsgGCCStrike15_v2_GC2ClientNot" + "ifyXPShop\020\205H\0222\n-k_EMsgGCCStrike15_v2_Cli" + "ent2GcAckXPShopTracks\020\206H\0229\n4k_EMsgGCCStr" + "ike15_v2_MatchmakingGC2ClientSearchStats" + "\020\207H\022.\n)k_EMsgGCCStrike15_v2_PremierSeaso" + "nSummary\020\210H\0229\n4k_EMsgGCCStrike15_v2_Requ" + "estRecurringMissionSchedule\020\211H\0220\n+k_EMsg" + "GCCStrike15_v2_RecurringMissionSchema\020\212H" + "\0221\n,k_EMsgGCCStrike15_v2_VolatileItemCla" + "imReward\020\213H*\230\001\n\022ECsgoSteamUserStat\022&\n\"k_" + "ECsgoSteamUserStat_XpEarnedGames\020\001\022-\n)k_" + "ECsgoSteamUserStat_MatchWinsCompetitive\020" + "\002\022+\n\'k_ECsgoSteamUserStat_SurvivedDanger" + "Zone\020\003*J\n\tQuestType\022\032\n\026k_EQuestType_Oper" + "ation\020\001\022!\n\035k_EQuestType_RecurringMission" + "\020\002*\241\001\n\027EClientReportingVersion\022(\n$k_ECli" + "entReportingVersion_OldVersion\020\000\022)\n%k_EC" + "lientReportingVersion_BetaVersion\020\001\0221\n-k" + "_EClientReportingVersion_SupportsTrusted" + "Mode\020\002*\276\002\n\021EInitSystemResult\022\037\n\033k_EInitS" + "ystemResult_Invalid\020\000\022\037\n\033k_EInitSystemRe" + "sult_Success\020\001\022\034\n\030k_EInitSystemResult_No" + "ne\020\002\022 \n\034k_EInitSystemResult_NotFound\020\003\022 " + "\n\034k_EInitSystemResult_Existing\020\004\022\"\n\036k_EI" + "nitSystemResult_FailedOpen\020\005\022 \n\034k_EInitS" + "ystemResult_Mismatch\020\006\022\"\n\036k_EInitSystemR" + "esult_FailedInit\020\007\022\033\n\027k_EInitSystemResul" + "t_Max\020\010" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fgcmessages_2eproto_deps[3] = { + &::descriptor_table_engine_5fgcmessages_2eproto, + &::descriptor_table_gcsdk_5fgcmessages_2eproto, + &::descriptor_table_steammessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_cstrike15_5fgcmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_cstrike15_5fgcmessages_2eproto = { + false, false, 34367, descriptor_table_protodef_cstrike15_5fgcmessages_2eproto, + "cstrike15_gcmessages.proto", + &descriptor_table_cstrike15_5fgcmessages_2eproto_once, descriptor_table_cstrike15_5fgcmessages_2eproto_deps, 3, 180, + schemas, file_default_instances, TableStruct_cstrike15_5fgcmessages_2eproto::offsets, + file_level_metadata_cstrike15_5fgcmessages_2eproto, file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto, + file_level_service_descriptors_cstrike15_5fgcmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cstrike15_5fgcmessages_2eproto_getter() { + return &descriptor_table_cstrike15_5fgcmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cstrike15_5fgcmessages_2eproto(&descriptor_table_cstrike15_5fgcmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGCMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[0]; +} +bool ECsgoGCMsg_IsValid(int value) { + switch (value) { + case 9100: + case 9101: + case 9102: + case 9103: + case 9104: + case 9106: + case 9107: + case 9109: + case 9110: + case 9112: + case 9117: + case 9118: + case 9119: + case 9120: + case 9121: + case 9122: + case 9123: + case 9124: + case 9126: + case 9127: + case 9128: + case 9131: + case 9132: + case 9133: + case 9134: + case 9135: + case 9136: + case 9137: + case 9138: + case 9139: + case 9140: + case 9141: + case 9142: + case 9144: + case 9146: + case 9147: + case 9148: + case 9149: + case 9150: + case 9152: + case 9153: + case 9154: + case 9156: + case 9157: + case 9158: + case 9159: + case 9160: + case 9161: + case 9162: + case 9163: + case 9164: + case 9167: + case 9168: + case 9169: + case 9170: + case 9171: + case 9172: + case 9173: + case 9174: + case 9175: + case 9176: + case 9177: + case 9178: + case 9179: + case 9180: + case 9181: + case 9182: + case 9183: + case 9184: + case 9185: + case 9187: + case 9188: + case 9189: + case 9190: + case 9191: + case 9192: + case 9193: + case 9194: + case 9195: + case 9196: + case 9197: + case 9198: + case 9200: + case 9201: + case 9202: + case 9203: + case 9204: + case 9205: + case 9206: + case 9207: + case 9209: + case 9210: + case 9211: + case 9212: + case 9213: + case 9214: + case 9215: + case 9217: + case 9218: + case 9219: + case 9220: + case 9221: + case 9222: + case 9223: + case 9224: + case 9225: + case 9226: + case 9227: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoSteamUserStat_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[1]; +} +bool ECsgoSteamUserStat_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* QuestType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[2]; +} +bool QuestType_IsValid(int value) { + switch (value) { + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientReportingVersion_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[3]; +} +bool EClientReportingVersion_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EInitSystemResult_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[4]; +} +bool EInitSystemResult_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + return true; + default: + return false; + } +} + + +// =================================================================== + +class GameServerPing::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ping(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ip(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_instances(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +GameServerPing::GameServerPing(::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:GameServerPing) +} +GameServerPing::GameServerPing(const GameServerPing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + GameServerPing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ping_){} + , decltype(_impl_.ip_){} + , decltype(_impl_.instances_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ping_, &from._impl_.ping_, + static_cast(reinterpret_cast(&_impl_.instances_) - + reinterpret_cast(&_impl_.ping_)) + sizeof(_impl_.instances_)); + // @@protoc_insertion_point(copy_constructor:GameServerPing) +} + +inline void GameServerPing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ping_){0} + , decltype(_impl_.ip_){0u} + , decltype(_impl_.instances_){0u} + }; +} + +GameServerPing::~GameServerPing() { + // @@protoc_insertion_point(destructor:GameServerPing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GameServerPing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void GameServerPing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void GameServerPing::Clear() { +// @@protoc_insertion_point(message_clear_start:GameServerPing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.ping_, 0, static_cast( + reinterpret_cast(&_impl_.instances_) - + reinterpret_cast(&_impl_.ping_)) + sizeof(_impl_.instances_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GameServerPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ping = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ping(&has_bits); + _impl_.ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ip = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ip(&has_bits); + _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 instances = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_instances(&has_bits); + _impl_.instances_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GameServerPing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:GameServerPing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ping = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ping(), target); + } + + // optional uint32 ip = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ip(), target); + } + + // optional uint32 instances = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_instances(), 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:GameServerPing) + return target; +} + +size_t GameServerPing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GameServerPing) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 ping = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ping()); + } + + // optional uint32 ip = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); + } + + // optional uint32 instances = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_instances()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GameServerPing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + GameServerPing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GameServerPing::GetClassData() const { return &_class_data_; } + + +void GameServerPing::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:GameServerPing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ping_ = from._impl_.ping_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ip_ = from._impl_.ip_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.instances_ = from._impl_.instances_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GameServerPing::CopyFrom(const GameServerPing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GameServerPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameServerPing::IsInitialized() const { + return true; +} + +void GameServerPing::InternalSwap(GameServerPing* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GameServerPing, _impl_.instances_) + + sizeof(GameServerPing::_impl_.instances_) + - PROTOBUF_FIELD_OFFSET(GameServerPing, _impl_.ping_)>( + reinterpret_cast(&_impl_.ping_), + reinterpret_cast(&other->_impl_.ping_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GameServerPing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[0]); +} + +// =================================================================== + +class DataCenterPing::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data_center_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ping(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +DataCenterPing::DataCenterPing(::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:DataCenterPing) +} +DataCenterPing::DataCenterPing(const DataCenterPing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + DataCenterPing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){} + , decltype(_impl_.ping_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, + static_cast(reinterpret_cast(&_impl_.ping_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.ping_)); + // @@protoc_insertion_point(copy_constructor:DataCenterPing) +} + +inline void DataCenterPing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){0u} + , decltype(_impl_.ping_){0} + }; +} + +DataCenterPing::~DataCenterPing() { + // @@protoc_insertion_point(destructor:DataCenterPing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void DataCenterPing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void DataCenterPing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void DataCenterPing::Clear() { +// @@protoc_insertion_point(message_clear_start:DataCenterPing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.data_center_id_, 0, static_cast( + reinterpret_cast(&_impl_.ping_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.ping_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DataCenterPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 data_center_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_data_center_id(&has_bits); + _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional sint32 ping = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ping(&has_bits); + _impl_.ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DataCenterPing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:DataCenterPing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); + } + + // optional sint32 ping = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(2, this->_internal_ping(), 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:DataCenterPing) + return target; +} + +size_t DataCenterPing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:DataCenterPing) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional sint32 ping = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_ping()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DataCenterPing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + DataCenterPing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DataCenterPing::GetClassData() const { return &_class_data_; } + + +void DataCenterPing::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:DataCenterPing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.data_center_id_ = from._impl_.data_center_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ping_ = from._impl_.ping_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DataCenterPing::CopyFrom(const DataCenterPing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:DataCenterPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DataCenterPing::IsInitialized() const { + return true; +} + +void DataCenterPing::InternalSwap(DataCenterPing* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DataCenterPing, _impl_.ping_) + + sizeof(DataCenterPing::_impl_.ping_) + - PROTOBUF_FIELD_OFFSET(DataCenterPing, _impl_.data_center_id_)>( + reinterpret_cast(&_impl_.data_center_id_), + reinterpret_cast(&other->_impl_.data_center_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DataCenterPing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[1]); +} + +// =================================================================== + +class DetailedSearchStatistic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_search_time_avg(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_players_searching(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +DetailedSearchStatistic::DetailedSearchStatistic(::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:DetailedSearchStatistic) +} +DetailedSearchStatistic::DetailedSearchStatistic(const DetailedSearchStatistic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + DetailedSearchStatistic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_type_){} + , decltype(_impl_.search_time_avg_){} + , decltype(_impl_.players_searching_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.game_type_, &from._impl_.game_type_, + static_cast(reinterpret_cast(&_impl_.players_searching_) - + reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.players_searching_)); + // @@protoc_insertion_point(copy_constructor:DetailedSearchStatistic) +} + +inline void DetailedSearchStatistic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_type_){0u} + , decltype(_impl_.search_time_avg_){0u} + , decltype(_impl_.players_searching_){0u} + }; +} + +DetailedSearchStatistic::~DetailedSearchStatistic() { + // @@protoc_insertion_point(destructor:DetailedSearchStatistic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void DetailedSearchStatistic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void DetailedSearchStatistic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void DetailedSearchStatistic::Clear() { +// @@protoc_insertion_point(message_clear_start:DetailedSearchStatistic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.game_type_, 0, static_cast( + reinterpret_cast(&_impl_.players_searching_) - + reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.players_searching_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DetailedSearchStatistic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 game_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 search_time_avg = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_search_time_avg(&has_bits); + _impl_.search_time_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 players_searching = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_players_searching(&has_bits); + _impl_.players_searching_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DetailedSearchStatistic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:DetailedSearchStatistic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 game_type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_game_type(), target); + } + + // optional uint32 search_time_avg = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_search_time_avg(), target); + } + + // optional uint32 players_searching = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_players_searching(), 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:DetailedSearchStatistic) + return target; +} + +size_t DetailedSearchStatistic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:DetailedSearchStatistic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 game_type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + // optional uint32 search_time_avg = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_search_time_avg()); + } + + // optional uint32 players_searching = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_searching()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DetailedSearchStatistic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + DetailedSearchStatistic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DetailedSearchStatistic::GetClassData() const { return &_class_data_; } + + +void DetailedSearchStatistic::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:DetailedSearchStatistic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.search_time_avg_ = from._impl_.search_time_avg_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.players_searching_ = from._impl_.players_searching_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DetailedSearchStatistic::CopyFrom(const DetailedSearchStatistic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:DetailedSearchStatistic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DetailedSearchStatistic::IsInitialized() const { + return true; +} + +void DetailedSearchStatistic::InternalSwap(DetailedSearchStatistic* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DetailedSearchStatistic, _impl_.players_searching_) + + sizeof(DetailedSearchStatistic::_impl_.players_searching_) + - PROTOBUF_FIELD_OFFSET(DetailedSearchStatistic, _impl_.game_type_)>( + reinterpret_cast(&_impl_.game_type_), + reinterpret_cast(&other->_impl_.game_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DetailedSearchStatistic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[2]); +} + +// =================================================================== + +class TournamentPlayer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_player_nick(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_player_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_player_dob(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_player_flag(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_player_location(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_player_desc(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +TournamentPlayer::TournamentPlayer(::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:TournamentPlayer) +} +TournamentPlayer::TournamentPlayer(const TournamentPlayer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + TournamentPlayer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_nick_){} + , decltype(_impl_.player_name_){} + , decltype(_impl_.player_flag_){} + , decltype(_impl_.player_location_){} + , decltype(_impl_.player_desc_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.player_dob_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.player_nick_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_nick_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_nick()) { + _this->_impl_.player_nick_.Set(from._internal_player_nick(), + _this->GetArenaForAllocation()); + } + _impl_.player_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_name()) { + _this->_impl_.player_name_.Set(from._internal_player_name(), + _this->GetArenaForAllocation()); + } + _impl_.player_flag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_flag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_flag()) { + _this->_impl_.player_flag_.Set(from._internal_player_flag(), + _this->GetArenaForAllocation()); + } + _impl_.player_location_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_location_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_location()) { + _this->_impl_.player_location_.Set(from._internal_player_location(), + _this->GetArenaForAllocation()); + } + _impl_.player_desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_desc()) { + _this->_impl_.player_desc_.Set(from._internal_player_desc(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.player_dob_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_dob_)); + // @@protoc_insertion_point(copy_constructor:TournamentPlayer) +} + +inline void TournamentPlayer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_nick_){} + , decltype(_impl_.player_name_){} + , decltype(_impl_.player_flag_){} + , decltype(_impl_.player_location_){} + , decltype(_impl_.player_desc_){} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.player_dob_){0u} + }; + _impl_.player_nick_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_nick_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_flag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_flag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_location_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_location_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +TournamentPlayer::~TournamentPlayer() { + // @@protoc_insertion_point(destructor:TournamentPlayer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void TournamentPlayer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.player_nick_.Destroy(); + _impl_.player_name_.Destroy(); + _impl_.player_flag_.Destroy(); + _impl_.player_location_.Destroy(); + _impl_.player_desc_.Destroy(); +} + +void TournamentPlayer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void TournamentPlayer::Clear() { +// @@protoc_insertion_point(message_clear_start:TournamentPlayer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.player_nick_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.player_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.player_flag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.player_location_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.player_desc_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000060u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.player_dob_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_dob_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* TournamentPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string player_nick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_player_nick(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_nick"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string player_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_player_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 player_dob = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_player_dob(&has_bits); + _impl_.player_dob_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string player_flag = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_player_flag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_flag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string player_location = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_player_location(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_location"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string player_desc = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_player_desc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_desc"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* TournamentPlayer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:TournamentPlayer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional string player_nick = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_nick().data(), static_cast(this->_internal_player_nick().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentPlayer.player_nick"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_player_nick(), target); + } + + // optional string player_name = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_name().data(), static_cast(this->_internal_player_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentPlayer.player_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_player_name(), target); + } + + // optional uint32 player_dob = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_player_dob(), target); + } + + // optional string player_flag = 5; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_flag().data(), static_cast(this->_internal_player_flag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentPlayer.player_flag"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_player_flag(), target); + } + + // optional string player_location = 6; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_location().data(), static_cast(this->_internal_player_location().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentPlayer.player_location"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_player_location(), target); + } + + // optional string player_desc = 7; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_desc().data(), static_cast(this->_internal_player_desc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentPlayer.player_desc"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_player_desc(), 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:TournamentPlayer) + return target; +} + +size_t TournamentPlayer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:TournamentPlayer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string player_nick = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_nick()); + } + + // optional string player_name = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_name()); + } + + // optional string player_flag = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_flag()); + } + + // optional string player_location = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_location()); + } + + // optional string player_desc = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_desc()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 player_dob = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_dob()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentPlayer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + TournamentPlayer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentPlayer::GetClassData() const { return &_class_data_; } + + +void TournamentPlayer::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:TournamentPlayer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_player_nick(from._internal_player_nick()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_player_name(from._internal_player_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_player_flag(from._internal_player_flag()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_player_location(from._internal_player_location()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_player_desc(from._internal_player_desc()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.player_dob_ = from._impl_.player_dob_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void TournamentPlayer::CopyFrom(const TournamentPlayer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:TournamentPlayer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TournamentPlayer::IsInitialized() const { + return true; +} + +void TournamentPlayer::InternalSwap(TournamentPlayer* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_nick_, lhs_arena, + &other->_impl_.player_nick_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_name_, lhs_arena, + &other->_impl_.player_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_flag_, lhs_arena, + &other->_impl_.player_flag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_location_, lhs_arena, + &other->_impl_.player_location_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_desc_, lhs_arena, + &other->_impl_.player_desc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(TournamentPlayer, _impl_.player_dob_) + + sizeof(TournamentPlayer::_impl_.player_dob_) + - PROTOBUF_FIELD_OFFSET(TournamentPlayer, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata TournamentPlayer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[3]); +} + +// =================================================================== + +class TournamentTeam::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_team_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_team_flag(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_team_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +TournamentTeam::TournamentTeam(::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:TournamentTeam) +} +TournamentTeam::TournamentTeam(const TournamentTeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + TournamentTeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.team_tag_){} + , decltype(_impl_.team_flag_){} + , decltype(_impl_.team_name_){} + , decltype(_impl_.team_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_team_tag()) { + _this->_impl_.team_tag_.Set(from._internal_team_tag(), + _this->GetArenaForAllocation()); + } + _impl_.team_flag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_flag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_team_flag()) { + _this->_impl_.team_flag_.Set(from._internal_team_flag(), + _this->GetArenaForAllocation()); + } + _impl_.team_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_team_name()) { + _this->_impl_.team_name_.Set(from._internal_team_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.team_id_ = from._impl_.team_id_; + // @@protoc_insertion_point(copy_constructor:TournamentTeam) +} + +inline void TournamentTeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){arena} + , decltype(_impl_.team_tag_){} + , decltype(_impl_.team_flag_){} + , decltype(_impl_.team_name_){} + , decltype(_impl_.team_id_){0} + }; + _impl_.team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_flag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_flag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.team_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +TournamentTeam::~TournamentTeam() { + // @@protoc_insertion_point(destructor:TournamentTeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void TournamentTeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_.~RepeatedPtrField(); + _impl_.team_tag_.Destroy(); + _impl_.team_flag_.Destroy(); + _impl_.team_name_.Destroy(); +} + +void TournamentTeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void TournamentTeam::Clear() { +// @@protoc_insertion_point(message_clear_start:TournamentTeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.team_tag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.team_flag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.team_name_.ClearNonDefaultToEmpty(); + } + } + _impl_.team_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* TournamentTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team_id(&has_bits); + _impl_.team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string team_tag = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_team_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentTeam.team_tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string team_flag = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_team_flag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentTeam.team_flag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string team_name = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_team_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentTeam.team_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .TournamentPlayer players = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + 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<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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* TournamentTeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:TournamentTeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team_id = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_id(), target); + } + + // optional string team_tag = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_team_tag().data(), static_cast(this->_internal_team_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentTeam.team_tag"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_team_tag(), target); + } + + // optional string team_flag = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_team_flag().data(), static_cast(this->_internal_team_flag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentTeam.team_flag"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_team_flag(), target); + } + + // optional string team_name = 4; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_team_name().data(), static_cast(this->_internal_team_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentTeam.team_name"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_team_name(), target); + } + + // repeated .TournamentPlayer players = 5; + 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(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:TournamentTeam) + return target; +} + +size_t TournamentTeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:TournamentTeam) + 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 .TournamentPlayer players = 5; + total_size += 1UL * this->_internal_players_size(); + for (const auto& msg : this->_impl_.players_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string team_tag = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_team_tag()); + } + + // optional string team_flag = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_team_flag()); + } + + // optional string team_name = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_team_name()); + } + + // optional int32 team_id = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentTeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + TournamentTeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentTeam::GetClassData() const { return &_class_data_; } + + +void TournamentTeam::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:TournamentTeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.players_.MergeFrom(from._impl_.players_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_team_tag(from._internal_team_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_team_flag(from._internal_team_flag()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_team_name(from._internal_team_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.team_id_ = from._impl_.team_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void TournamentTeam::CopyFrom(const TournamentTeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:TournamentTeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TournamentTeam::IsInitialized() const { + return true; +} + +void TournamentTeam::InternalSwap(TournamentTeam* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.players_.InternalSwap(&other->_impl_.players_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.team_tag_, lhs_arena, + &other->_impl_.team_tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.team_flag_, lhs_arena, + &other->_impl_.team_flag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.team_name_, lhs_arena, + &other->_impl_.team_name_, rhs_arena + ); + swap(_impl_.team_id_, other->_impl_.team_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata TournamentTeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[4]); +} + +// =================================================================== + +class TournamentEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_event_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_event_time_start(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_event_time_end(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_event_public(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_event_stage_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_event_stage_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_active_section_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +TournamentEvent::TournamentEvent(::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:TournamentEvent) +} +TournamentEvent::TournamentEvent(const TournamentEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + TournamentEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_tag_){} + , decltype(_impl_.event_name_){} + , decltype(_impl_.event_stage_name_){} + , decltype(_impl_.event_id_){} + , decltype(_impl_.event_time_start_){} + , decltype(_impl_.event_time_end_){} + , decltype(_impl_.event_public_){} + , decltype(_impl_.event_stage_id_){} + , decltype(_impl_.active_section_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_tag()) { + _this->_impl_.event_tag_.Set(from._internal_event_tag(), + _this->GetArenaForAllocation()); + } + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + _impl_.event_stage_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_stage_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_stage_name()) { + _this->_impl_.event_stage_name_.Set(from._internal_event_stage_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, + static_cast(reinterpret_cast(&_impl_.active_section_id_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.active_section_id_)); + // @@protoc_insertion_point(copy_constructor:TournamentEvent) +} + +inline void TournamentEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_tag_){} + , decltype(_impl_.event_name_){} + , decltype(_impl_.event_stage_name_){} + , decltype(_impl_.event_id_){0} + , decltype(_impl_.event_time_start_){0u} + , decltype(_impl_.event_time_end_){0u} + , decltype(_impl_.event_public_){0} + , decltype(_impl_.event_stage_id_){0} + , decltype(_impl_.active_section_id_){0u} + }; + _impl_.event_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_stage_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_stage_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +TournamentEvent::~TournamentEvent() { + // @@protoc_insertion_point(destructor:TournamentEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void TournamentEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_tag_.Destroy(); + _impl_.event_name_.Destroy(); + _impl_.event_stage_name_.Destroy(); +} + +void TournamentEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void TournamentEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:TournamentEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.event_tag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.event_stage_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.event_id_, 0, static_cast( + reinterpret_cast(&_impl_.event_stage_id_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); + } + _impl_.active_section_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* TournamentEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string event_tag = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_event_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentEvent.event_tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string event_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 event_time_start = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_event_time_start(&has_bits); + _impl_.event_time_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 event_time_end = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_event_time_end(&has_bits); + _impl_.event_time_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 event_public = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_event_public(&has_bits); + _impl_.event_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 event_stage_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_event_stage_id(&has_bits); + _impl_.event_stage_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string event_stage_name = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_event_stage_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "TournamentEvent.event_stage_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 active_section_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_active_section_id(&has_bits); + _impl_.active_section_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* TournamentEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:TournamentEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); + } + + // optional string event_tag = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_tag().data(), static_cast(this->_internal_event_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentEvent.event_tag"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_event_tag(), target); + } + + // optional string event_name = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_event_name(), target); + } + + // optional uint32 event_time_start = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_time_start(), target); + } + + // optional uint32 event_time_end = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_event_time_end(), target); + } + + // optional int32 event_public = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_event_public(), target); + } + + // optional int32 event_stage_id = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_event_stage_id(), target); + } + + // optional string event_stage_name = 8; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_stage_name().data(), static_cast(this->_internal_event_stage_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "TournamentEvent.event_stage_name"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_event_stage_name(), target); + } + + // optional uint32 active_section_id = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_active_section_id(), 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:TournamentEvent) + return target; +} + +size_t TournamentEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:TournamentEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string event_tag = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_tag()); + } + + // optional string event_name = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional string event_stage_name = 8; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_stage_name()); + } + + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); + } + + // optional uint32 event_time_start = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_time_start()); + } + + // optional uint32 event_time_end = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_time_end()); + } + + // optional int32 event_public = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_public()); + } + + // optional int32 event_stage_id = 7; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); + } + + } + // optional uint32 active_section_id = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_section_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + TournamentEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentEvent::GetClassData() const { return &_class_data_; } + + +void TournamentEvent::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:TournamentEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_tag(from._internal_event_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_event_stage_name(from._internal_event_stage_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.event_time_start_ = from._impl_.event_time_start_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.event_time_end_ = from._impl_.event_time_end_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.event_public_ = from._impl_.event_public_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_active_section_id(from._internal_active_section_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void TournamentEvent::CopyFrom(const TournamentEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:TournamentEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TournamentEvent::IsInitialized() const { + return true; +} + +void TournamentEvent::InternalSwap(TournamentEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_tag_, lhs_arena, + &other->_impl_.event_tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_stage_name_, lhs_arena, + &other->_impl_.event_stage_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(TournamentEvent, _impl_.active_section_id_) + + sizeof(TournamentEvent::_impl_.active_section_id_) + - PROTOBUF_FIELD_OFFSET(TournamentEvent, _impl_.event_id_)>( + reinterpret_cast(&_impl_.event_id_), + reinterpret_cast(&other->_impl_.event_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata TournamentEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[5]); +} + +// =================================================================== + +class GlobalStatistics::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_players_online(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_servers_online(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_players_searching(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_servers_available(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_ongoing_matches(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_search_time_avg(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_main_post_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_required_appid_version(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_pricesheet_version(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_twitch_streams_version(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_active_tournament_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_active_survey_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_rtime32_cur(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_required_appid_version2(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +GlobalStatistics::GlobalStatistics(::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:GlobalStatistics) +} +GlobalStatistics::GlobalStatistics(const GlobalStatistics& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + GlobalStatistics* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.search_statistics_){from._impl_.search_statistics_} + , decltype(_impl_.main_post_url_){} + , decltype(_impl_.players_online_){} + , decltype(_impl_.servers_online_){} + , decltype(_impl_.players_searching_){} + , decltype(_impl_.servers_available_){} + , decltype(_impl_.ongoing_matches_){} + , decltype(_impl_.search_time_avg_){} + , decltype(_impl_.required_appid_version_){} + , decltype(_impl_.pricesheet_version_){} + , decltype(_impl_.twitch_streams_version_){} + , decltype(_impl_.active_tournament_eventid_){} + , decltype(_impl_.active_survey_id_){} + , decltype(_impl_.rtime32_cur_){} + , decltype(_impl_.required_appid_version2_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.main_post_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_main_post_url()) { + _this->_impl_.main_post_url_.Set(from._internal_main_post_url(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.players_online_, &from._impl_.players_online_, + static_cast(reinterpret_cast(&_impl_.required_appid_version2_) - + reinterpret_cast(&_impl_.players_online_)) + sizeof(_impl_.required_appid_version2_)); + // @@protoc_insertion_point(copy_constructor:GlobalStatistics) +} + +inline void GlobalStatistics::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.search_statistics_){arena} + , decltype(_impl_.main_post_url_){} + , decltype(_impl_.players_online_){0u} + , decltype(_impl_.servers_online_){0u} + , decltype(_impl_.players_searching_){0u} + , decltype(_impl_.servers_available_){0u} + , decltype(_impl_.ongoing_matches_){0u} + , decltype(_impl_.search_time_avg_){0u} + , decltype(_impl_.required_appid_version_){0u} + , decltype(_impl_.pricesheet_version_){0u} + , decltype(_impl_.twitch_streams_version_){0u} + , decltype(_impl_.active_tournament_eventid_){0u} + , decltype(_impl_.active_survey_id_){0u} + , decltype(_impl_.rtime32_cur_){0u} + , decltype(_impl_.required_appid_version2_){0u} + }; + _impl_.main_post_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +GlobalStatistics::~GlobalStatistics() { + // @@protoc_insertion_point(destructor:GlobalStatistics) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GlobalStatistics::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.search_statistics_.~RepeatedPtrField(); + _impl_.main_post_url_.Destroy(); +} + +void GlobalStatistics::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void GlobalStatistics::Clear() { +// @@protoc_insertion_point(message_clear_start:GlobalStatistics) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.search_statistics_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.main_post_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.players_online_, 0, static_cast( + reinterpret_cast(&_impl_.required_appid_version_) - + reinterpret_cast(&_impl_.players_online_)) + sizeof(_impl_.required_appid_version_)); + } + if (cached_has_bits & 0x00003f00u) { + ::memset(&_impl_.pricesheet_version_, 0, static_cast( + reinterpret_cast(&_impl_.required_appid_version2_) - + reinterpret_cast(&_impl_.pricesheet_version_)) + sizeof(_impl_.required_appid_version2_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GlobalStatistics::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 players_online = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_players_online(&has_bits); + _impl_.players_online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 servers_online = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_servers_online(&has_bits); + _impl_.servers_online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 players_searching = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_players_searching(&has_bits); + _impl_.players_searching_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 servers_available = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_servers_available(&has_bits); + _impl_.servers_available_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ongoing_matches = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ongoing_matches(&has_bits); + _impl_.ongoing_matches_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 search_time_avg = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_search_time_avg(&has_bits); + _impl_.search_time_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .DetailedSearchStatistic search_statistics = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_search_statistics(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); + } else + goto handle_unusual; + continue; + // optional string main_post_url = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_main_post_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "GlobalStatistics.main_post_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 required_appid_version = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_required_appid_version(&has_bits); + _impl_.required_appid_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 pricesheet_version = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_pricesheet_version(&has_bits); + _impl_.pricesheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 twitch_streams_version = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_twitch_streams_version(&has_bits); + _impl_.twitch_streams_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_tournament_eventid = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_active_tournament_eventid(&has_bits); + _impl_.active_tournament_eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_survey_id = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_active_survey_id(&has_bits); + _impl_.active_survey_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rtime32_cur = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_rtime32_cur(&has_bits); + _impl_.rtime32_cur_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 required_appid_version2 = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_required_appid_version2(&has_bits); + _impl_.required_appid_version2_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GlobalStatistics::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:GlobalStatistics) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 players_online = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_players_online(), target); + } + + // optional uint32 servers_online = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servers_online(), target); + } + + // optional uint32 players_searching = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_players_searching(), target); + } + + // optional uint32 servers_available = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_servers_available(), target); + } + + // optional uint32 ongoing_matches = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ongoing_matches(), target); + } + + // optional uint32 search_time_avg = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_search_time_avg(), target); + } + + // repeated .DetailedSearchStatistic search_statistics = 7; + for (unsigned i = 0, + n = static_cast(this->_internal_search_statistics_size()); i < n; i++) { + const auto& repfield = this->_internal_search_statistics(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string main_post_url = 8; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_main_post_url().data(), static_cast(this->_internal_main_post_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "GlobalStatistics.main_post_url"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_main_post_url(), target); + } + + // optional uint32 required_appid_version = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_required_appid_version(), target); + } + + // optional uint32 pricesheet_version = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_pricesheet_version(), target); + } + + // optional uint32 twitch_streams_version = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_twitch_streams_version(), target); + } + + // optional uint32 active_tournament_eventid = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_active_tournament_eventid(), target); + } + + // optional uint32 active_survey_id = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_active_survey_id(), target); + } + + // optional uint32 rtime32_cur = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_rtime32_cur(), target); + } + + // optional uint32 required_appid_version2 = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_required_appid_version2(), 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:GlobalStatistics) + return target; +} + +size_t GlobalStatistics::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GlobalStatistics) + 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 .DetailedSearchStatistic search_statistics = 7; + total_size += 1UL * this->_internal_search_statistics_size(); + for (const auto& msg : this->_impl_.search_statistics_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string main_post_url = 8; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_main_post_url()); + } + + // optional uint32 players_online = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_online()); + } + + // optional uint32 servers_online = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_online()); + } + + // optional uint32 players_searching = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_searching()); + } + + // optional uint32 servers_available = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_available()); + } + + // optional uint32 ongoing_matches = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ongoing_matches()); + } + + // optional uint32 search_time_avg = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_search_time_avg()); + } + + // optional uint32 required_appid_version = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_required_appid_version()); + } + + } + if (cached_has_bits & 0x00003f00u) { + // optional uint32 pricesheet_version = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pricesheet_version()); + } + + // optional uint32 twitch_streams_version = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_twitch_streams_version()); + } + + // optional uint32 active_tournament_eventid = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_tournament_eventid()); + } + + // optional uint32 active_survey_id = 13; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_survey_id()); + } + + // optional uint32 rtime32_cur = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_cur()); + } + + // optional uint32 required_appid_version2 = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_required_appid_version2()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GlobalStatistics::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + GlobalStatistics::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GlobalStatistics::GetClassData() const { return &_class_data_; } + + +void GlobalStatistics::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:GlobalStatistics) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.search_statistics_.MergeFrom(from._impl_.search_statistics_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_main_post_url(from._internal_main_post_url()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.players_online_ = from._impl_.players_online_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.servers_online_ = from._impl_.servers_online_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.players_searching_ = from._impl_.players_searching_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.servers_available_ = from._impl_.servers_available_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ongoing_matches_ = from._impl_.ongoing_matches_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.search_time_avg_ = from._impl_.search_time_avg_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.required_appid_version_ = from._impl_.required_appid_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.pricesheet_version_ = from._impl_.pricesheet_version_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.twitch_streams_version_ = from._impl_.twitch_streams_version_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.active_tournament_eventid_ = from._impl_.active_tournament_eventid_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.active_survey_id_ = from._impl_.active_survey_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.rtime32_cur_ = from._impl_.rtime32_cur_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.required_appid_version2_ = from._impl_.required_appid_version2_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GlobalStatistics::CopyFrom(const GlobalStatistics& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GlobalStatistics) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GlobalStatistics::IsInitialized() const { + return true; +} + +void GlobalStatistics::InternalSwap(GlobalStatistics* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.search_statistics_.InternalSwap(&other->_impl_.search_statistics_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.main_post_url_, lhs_arena, + &other->_impl_.main_post_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GlobalStatistics, _impl_.required_appid_version2_) + + sizeof(GlobalStatistics::_impl_.required_appid_version2_) + - PROTOBUF_FIELD_OFFSET(GlobalStatistics, _impl_.players_online_)>( + reinterpret_cast(&_impl_.players_online_), + reinterpret_cast(&other->_impl_.players_online_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GlobalStatistics::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[6]); +} + +// =================================================================== + +class OperationalStatisticDescription::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_idkey(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +OperationalStatisticDescription::OperationalStatisticDescription(::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:OperationalStatisticDescription) +} +OperationalStatisticDescription::OperationalStatisticDescription(const OperationalStatisticDescription& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + OperationalStatisticDescription* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.idkey_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.idkey_ = from._impl_.idkey_; + // @@protoc_insertion_point(copy_constructor:OperationalStatisticDescription) +} + +inline void OperationalStatisticDescription::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.idkey_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +OperationalStatisticDescription::~OperationalStatisticDescription() { + // @@protoc_insertion_point(destructor:OperationalStatisticDescription) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void OperationalStatisticDescription::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void OperationalStatisticDescription::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void OperationalStatisticDescription::Clear() { +// @@protoc_insertion_point(message_clear_start:OperationalStatisticDescription) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.idkey_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* OperationalStatisticDescription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "OperationalStatisticDescription.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 idkey = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_idkey(&has_bits); + _impl_.idkey_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* OperationalStatisticDescription::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticDescription) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "OperationalStatisticDescription.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional uint32 idkey = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_idkey(), 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:OperationalStatisticDescription) + return target; +} + +size_t OperationalStatisticDescription::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticDescription) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional uint32 idkey = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_idkey()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticDescription::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + OperationalStatisticDescription::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticDescription::GetClassData() const { return &_class_data_; } + + +void OperationalStatisticDescription::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:OperationalStatisticDescription) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.idkey_ = from._impl_.idkey_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void OperationalStatisticDescription::CopyFrom(const OperationalStatisticDescription& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticDescription) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OperationalStatisticDescription::IsInitialized() const { + return true; +} + +void OperationalStatisticDescription::InternalSwap(OperationalStatisticDescription* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.idkey_, other->_impl_.idkey_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticDescription::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[7]); +} + +// =================================================================== + +class OperationalStatisticElement::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_idkey(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +OperationalStatisticElement::OperationalStatisticElement(::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:OperationalStatisticElement) +} +OperationalStatisticElement::OperationalStatisticElement(const OperationalStatisticElement& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + OperationalStatisticElement* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.values_){from._impl_.values_} + , decltype(_impl_.idkey_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.idkey_ = from._impl_.idkey_; + // @@protoc_insertion_point(copy_constructor:OperationalStatisticElement) +} + +inline void OperationalStatisticElement::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.values_){arena} + , decltype(_impl_.idkey_){0u} + }; +} + +OperationalStatisticElement::~OperationalStatisticElement() { + // @@protoc_insertion_point(destructor:OperationalStatisticElement) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void OperationalStatisticElement::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.values_.~RepeatedField(); +} + +void OperationalStatisticElement::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void OperationalStatisticElement::Clear() { +// @@protoc_insertion_point(message_clear_start:OperationalStatisticElement) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + _impl_.idkey_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* OperationalStatisticElement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 idkey = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_idkey(&has_bits); + _impl_.idkey_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 values = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_values(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* OperationalStatisticElement::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticElement) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 idkey = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_idkey(), target); + } + + // repeated int32 values = 2; + for (int i = 0, n = this->_internal_values_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_values(i), 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:OperationalStatisticElement) + return target; +} + +size_t OperationalStatisticElement::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticElement) + 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 int32 values = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.values_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_values_size()); + total_size += data_size; + } + + // optional uint32 idkey = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_idkey()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticElement::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + OperationalStatisticElement::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticElement::GetClassData() const { return &_class_data_; } + + +void OperationalStatisticElement::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:OperationalStatisticElement) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.values_.MergeFrom(from._impl_.values_); + if (from._internal_has_idkey()) { + _this->_internal_set_idkey(from._internal_idkey()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void OperationalStatisticElement::CopyFrom(const OperationalStatisticElement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticElement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OperationalStatisticElement::IsInitialized() const { + return true; +} + +void OperationalStatisticElement::InternalSwap(OperationalStatisticElement* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.values_.InternalSwap(&other->_impl_.values_); + swap(_impl_.idkey_, other->_impl_.idkey_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticElement::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[8]); +} + +// =================================================================== + +class OperationalStatisticsPacket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_packetid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mstimestamp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +OperationalStatisticsPacket::OperationalStatisticsPacket(::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:OperationalStatisticsPacket) +} +OperationalStatisticsPacket::OperationalStatisticsPacket(const OperationalStatisticsPacket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + OperationalStatisticsPacket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.values_){from._impl_.values_} + , decltype(_impl_.packetid_){} + , decltype(_impl_.mstimestamp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.packetid_, &from._impl_.packetid_, + static_cast(reinterpret_cast(&_impl_.mstimestamp_) - + reinterpret_cast(&_impl_.packetid_)) + sizeof(_impl_.mstimestamp_)); + // @@protoc_insertion_point(copy_constructor:OperationalStatisticsPacket) +} + +inline void OperationalStatisticsPacket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.values_){arena} + , decltype(_impl_.packetid_){0} + , decltype(_impl_.mstimestamp_){0} + }; +} + +OperationalStatisticsPacket::~OperationalStatisticsPacket() { + // @@protoc_insertion_point(destructor:OperationalStatisticsPacket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void OperationalStatisticsPacket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.values_.~RepeatedPtrField(); +} + +void OperationalStatisticsPacket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void OperationalStatisticsPacket::Clear() { +// @@protoc_insertion_point(message_clear_start:OperationalStatisticsPacket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.packetid_, 0, static_cast( + reinterpret_cast(&_impl_.mstimestamp_) - + reinterpret_cast(&_impl_.packetid_)) + sizeof(_impl_.mstimestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* OperationalStatisticsPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 packetid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_packetid(&has_bits); + _impl_.packetid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 mstimestamp = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_mstimestamp(&has_bits); + _impl_.mstimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .OperationalStatisticElement values = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_values(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* OperationalStatisticsPacket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticsPacket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 packetid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_packetid(), target); + } + + // optional int32 mstimestamp = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_mstimestamp(), target); + } + + // repeated .OperationalStatisticElement values = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_values_size()); i < n; i++) { + const auto& repfield = this->_internal_values(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:OperationalStatisticsPacket) + return target; +} + +size_t OperationalStatisticsPacket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticsPacket) + 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 .OperationalStatisticElement values = 3; + total_size += 1UL * this->_internal_values_size(); + for (const auto& msg : this->_impl_.values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 packetid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_packetid()); + } + + // optional int32 mstimestamp = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mstimestamp()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticsPacket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + OperationalStatisticsPacket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticsPacket::GetClassData() const { return &_class_data_; } + + +void OperationalStatisticsPacket::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:OperationalStatisticsPacket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.values_.MergeFrom(from._impl_.values_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.packetid_ = from._impl_.packetid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.mstimestamp_ = from._impl_.mstimestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void OperationalStatisticsPacket::CopyFrom(const OperationalStatisticsPacket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticsPacket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OperationalStatisticsPacket::IsInitialized() const { + return true; +} + +void OperationalStatisticsPacket::InternalSwap(OperationalStatisticsPacket* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.values_.InternalSwap(&other->_impl_.values_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(OperationalStatisticsPacket, _impl_.mstimestamp_) + + sizeof(OperationalStatisticsPacket::_impl_.mstimestamp_) + - PROTOBUF_FIELD_OFFSET(OperationalStatisticsPacket, _impl_.packetid_)>( + reinterpret_cast(&_impl_.packetid_), + reinterpret_cast(&other->_impl_.packetid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticsPacket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[9]); +} + +// =================================================================== + +class OperationalVarValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ivalue(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_fvalue(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_svalue(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +OperationalVarValue::OperationalVarValue(::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:OperationalVarValue) +} +OperationalVarValue::OperationalVarValue(const OperationalVarValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + OperationalVarValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.svalue_){} + , decltype(_impl_.ivalue_){} + , decltype(_impl_.fvalue_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.svalue_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.svalue_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_svalue()) { + _this->_impl_.svalue_.Set(from._internal_svalue(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ivalue_, &from._impl_.ivalue_, + static_cast(reinterpret_cast(&_impl_.fvalue_) - + reinterpret_cast(&_impl_.ivalue_)) + sizeof(_impl_.fvalue_)); + // @@protoc_insertion_point(copy_constructor:OperationalVarValue) +} + +inline void OperationalVarValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.svalue_){} + , decltype(_impl_.ivalue_){0} + , decltype(_impl_.fvalue_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.svalue_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.svalue_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +OperationalVarValue::~OperationalVarValue() { + // @@protoc_insertion_point(destructor:OperationalVarValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void OperationalVarValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.svalue_.Destroy(); +} + +void OperationalVarValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void OperationalVarValue::Clear() { +// @@protoc_insertion_point(message_clear_start:OperationalVarValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.svalue_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.ivalue_, 0, static_cast( + reinterpret_cast(&_impl_.fvalue_) - + reinterpret_cast(&_impl_.ivalue_)) + sizeof(_impl_.fvalue_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* OperationalVarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "OperationalVarValue.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 ivalue = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ivalue(&has_bits); + _impl_.ivalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float fvalue = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_fvalue(&has_bits); + _impl_.fvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bytes svalue = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_svalue(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* OperationalVarValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:OperationalVarValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "OperationalVarValue.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional int32 ivalue = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ivalue(), target); + } + + // optional float fvalue = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_fvalue(), target); + } + + // optional bytes svalue = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_svalue(), 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:OperationalVarValue) + return target; +} + +size_t OperationalVarValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:OperationalVarValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional bytes svalue = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_svalue()); + } + + // optional int32 ivalue = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ivalue()); + } + + // optional float fvalue = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalVarValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + OperationalVarValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalVarValue::GetClassData() const { return &_class_data_; } + + +void OperationalVarValue::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:OperationalVarValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_svalue(from._internal_svalue()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ivalue_ = from._impl_.ivalue_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.fvalue_ = from._impl_.fvalue_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void OperationalVarValue::CopyFrom(const OperationalVarValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:OperationalVarValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool OperationalVarValue::IsInitialized() const { + return true; +} + +void OperationalVarValue::InternalSwap(OperationalVarValue* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.svalue_, lhs_arena, + &other->_impl_.svalue_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(OperationalVarValue, _impl_.fvalue_) + + sizeof(OperationalVarValue::_impl_.fvalue_) + - PROTOBUF_FIELD_OFFSET(OperationalVarValue, _impl_.ivalue_)>( + reinterpret_cast(&_impl_.ivalue_), + reinterpret_cast(&other->_impl_.ivalue_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata OperationalVarValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[10]); +} + +// =================================================================== + +class PlayerRankingInfo_PerMapRank::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_map_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rank_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_wins(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank(::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:PlayerRankingInfo.PerMapRank) +} +PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank(const PlayerRankingInfo_PerMapRank& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerRankingInfo_PerMapRank* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_id_){} + , decltype(_impl_.rank_id_){} + , decltype(_impl_.wins_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.map_id_, &from._impl_.map_id_, + static_cast(reinterpret_cast(&_impl_.wins_) - + reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.wins_)); + // @@protoc_insertion_point(copy_constructor:PlayerRankingInfo.PerMapRank) +} + +inline void PlayerRankingInfo_PerMapRank::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_id_){0u} + , decltype(_impl_.rank_id_){0u} + , decltype(_impl_.wins_){0u} + }; +} + +PlayerRankingInfo_PerMapRank::~PlayerRankingInfo_PerMapRank() { + // @@protoc_insertion_point(destructor:PlayerRankingInfo.PerMapRank) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerRankingInfo_PerMapRank::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PlayerRankingInfo_PerMapRank::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerRankingInfo_PerMapRank::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerRankingInfo.PerMapRank) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.map_id_, 0, static_cast( + reinterpret_cast(&_impl_.wins_) - + reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.wins_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerRankingInfo_PerMapRank::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 map_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_map_id(&has_bits); + _impl_.map_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rank_id(&has_bits); + _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 wins = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_wins(&has_bits); + _impl_.wins_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerRankingInfo_PerMapRank::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerRankingInfo.PerMapRank) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 map_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_map_id(), target); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); + } + + // optional uint32 wins = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wins(), 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:PlayerRankingInfo.PerMapRank) + return target; +} + +size_t PlayerRankingInfo_PerMapRank::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerRankingInfo.PerMapRank) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 map_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map_id()); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); + } + + // optional uint32 wins = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRankingInfo_PerMapRank::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerRankingInfo_PerMapRank::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRankingInfo_PerMapRank::GetClassData() const { return &_class_data_; } + + +void PlayerRankingInfo_PerMapRank::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:PlayerRankingInfo.PerMapRank) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.map_id_ = from._impl_.map_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rank_id_ = from._impl_.rank_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.wins_ = from._impl_.wins_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerRankingInfo_PerMapRank::CopyFrom(const PlayerRankingInfo_PerMapRank& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerRankingInfo.PerMapRank) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerRankingInfo_PerMapRank::IsInitialized() const { + return true; +} + +void PlayerRankingInfo_PerMapRank::InternalSwap(PlayerRankingInfo_PerMapRank* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerRankingInfo_PerMapRank, _impl_.wins_) + + sizeof(PlayerRankingInfo_PerMapRank::_impl_.wins_) + - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo_PerMapRank, _impl_.map_id_)>( + reinterpret_cast(&_impl_.map_id_), + reinterpret_cast(&other->_impl_.map_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerRankingInfo_PerMapRank::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[11]); +} + +// =================================================================== + +class PlayerRankingInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rank_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_wins(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rank_change(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rank_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_tv_control(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_rank_window_stats(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_leaderboard_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rank_if_win(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_rank_if_lose(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_rank_if_tie(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_leaderboard_name_status(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_highest_rank(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_rank_expiry(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +PlayerRankingInfo::PlayerRankingInfo(::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:PlayerRankingInfo) +} +PlayerRankingInfo::PlayerRankingInfo(const PlayerRankingInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerRankingInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.per_map_rank_){from._impl_.per_map_rank_} + , decltype(_impl_.leaderboard_name_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.rank_id_){} + , decltype(_impl_.wins_){} + , decltype(_impl_.rank_change_){} + , decltype(_impl_.rank_type_id_){} + , decltype(_impl_.tv_control_){} + , decltype(_impl_.rank_window_stats_){} + , decltype(_impl_.rank_if_win_){} + , decltype(_impl_.rank_if_lose_){} + , decltype(_impl_.rank_if_tie_){} + , decltype(_impl_.leaderboard_name_status_){} + , decltype(_impl_.highest_rank_){} + , decltype(_impl_.rank_expiry_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.leaderboard_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_leaderboard_name()) { + _this->_impl_.leaderboard_name_.Set(from._internal_leaderboard_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.rank_expiry_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_expiry_)); + // @@protoc_insertion_point(copy_constructor:PlayerRankingInfo) +} + +inline void PlayerRankingInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.per_map_rank_){arena} + , decltype(_impl_.leaderboard_name_){} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.rank_id_){0u} + , decltype(_impl_.wins_){0u} + , decltype(_impl_.rank_change_){0} + , decltype(_impl_.rank_type_id_){0u} + , decltype(_impl_.tv_control_){0u} + , decltype(_impl_.rank_window_stats_){uint64_t{0u}} + , decltype(_impl_.rank_if_win_){0u} + , decltype(_impl_.rank_if_lose_){0u} + , decltype(_impl_.rank_if_tie_){0u} + , decltype(_impl_.leaderboard_name_status_){0u} + , decltype(_impl_.highest_rank_){0u} + , decltype(_impl_.rank_expiry_){0u} + }; + _impl_.leaderboard_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerRankingInfo::~PlayerRankingInfo() { + // @@protoc_insertion_point(destructor:PlayerRankingInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerRankingInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.per_map_rank_.~RepeatedPtrField(); + _impl_.leaderboard_name_.Destroy(); +} + +void PlayerRankingInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerRankingInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerRankingInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.per_map_rank_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.leaderboard_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.rank_window_stats_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_window_stats_)); + } + if (cached_has_bits & 0x00003f00u) { + ::memset(&_impl_.rank_if_win_, 0, static_cast( + reinterpret_cast(&_impl_.rank_expiry_) - + reinterpret_cast(&_impl_.rank_if_win_)) + sizeof(_impl_.rank_expiry_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerRankingInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rank_id(&has_bits); + _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 wins = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_wins(&has_bits); + _impl_.wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float rank_change = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_rank_change(&has_bits); + _impl_.rank_change_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 rank_type_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_rank_type_id(&has_bits); + _impl_.rank_type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_control = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_tv_control(&has_bits); + _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 rank_window_stats = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_rank_window_stats(&has_bits); + _impl_.rank_window_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string leaderboard_name = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_leaderboard_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PlayerRankingInfo.leaderboard_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 rank_if_win = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_rank_if_win(&has_bits); + _impl_.rank_if_win_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_if_lose = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_rank_if_lose(&has_bits); + _impl_.rank_if_lose_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_if_tie = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_rank_if_tie(&has_bits); + _impl_.rank_if_tie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_per_map_rank(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 leaderboard_name_status = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_leaderboard_name_status(&has_bits); + _impl_.leaderboard_name_status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 highest_rank = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_highest_rank(&has_bits); + _impl_.highest_rank_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_expiry = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_rank_expiry(&has_bits); + _impl_.rank_expiry_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerRankingInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerRankingInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); + } + + // optional uint32 wins = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wins(), target); + } + + // optional float rank_change = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_rank_change(), target); + } + + // optional uint32 rank_type_id = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rank_type_id(), target); + } + + // optional uint32 tv_control = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tv_control(), target); + } + + // optional uint64 rank_window_stats = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_rank_window_stats(), target); + } + + // optional string leaderboard_name = 9; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_leaderboard_name().data(), static_cast(this->_internal_leaderboard_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PlayerRankingInfo.leaderboard_name"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_leaderboard_name(), target); + } + + // optional uint32 rank_if_win = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_rank_if_win(), target); + } + + // optional uint32 rank_if_lose = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_rank_if_lose(), target); + } + + // optional uint32 rank_if_tie = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_rank_if_tie(), target); + } + + // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; + for (unsigned i = 0, + n = static_cast(this->_internal_per_map_rank_size()); i < n; i++) { + const auto& repfield = this->_internal_per_map_rank(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 leaderboard_name_status = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_leaderboard_name_status(), target); + } + + // optional uint32 highest_rank = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_highest_rank(), target); + } + + // optional uint32 rank_expiry = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_rank_expiry(), 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:PlayerRankingInfo) + return target; +} + +size_t PlayerRankingInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerRankingInfo) + 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 .PlayerRankingInfo.PerMapRank per_map_rank = 13; + total_size += 1UL * this->_internal_per_map_rank_size(); + for (const auto& msg : this->_impl_.per_map_rank_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string leaderboard_name = 9; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_leaderboard_name()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); + } + + // optional uint32 wins = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); + } + + // optional float rank_change = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 rank_type_id = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_type_id()); + } + + // optional uint32 tv_control = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_control()); + } + + // optional uint64 rank_window_stats = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_rank_window_stats()); + } + + } + if (cached_has_bits & 0x00003f00u) { + // optional uint32 rank_if_win = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_win()); + } + + // optional uint32 rank_if_lose = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_lose()); + } + + // optional uint32 rank_if_tie = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_tie()); + } + + // optional uint32 leaderboard_name_status = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_leaderboard_name_status()); + } + + // optional uint32 highest_rank = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_highest_rank()); + } + + // optional uint32 rank_expiry = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_rank_expiry()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRankingInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerRankingInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRankingInfo::GetClassData() const { return &_class_data_; } + + +void PlayerRankingInfo::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:PlayerRankingInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.per_map_rank_.MergeFrom(from._impl_.per_map_rank_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_leaderboard_name(from._internal_leaderboard_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.rank_id_ = from._impl_.rank_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.wins_ = from._impl_.wins_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rank_change_ = from._impl_.rank_change_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rank_type_id_ = from._impl_.rank_type_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.tv_control_ = from._impl_.tv_control_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.rank_window_stats_ = from._impl_.rank_window_stats_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.rank_if_win_ = from._impl_.rank_if_win_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.rank_if_lose_ = from._impl_.rank_if_lose_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.rank_if_tie_ = from._impl_.rank_if_tie_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.leaderboard_name_status_ = from._impl_.leaderboard_name_status_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.highest_rank_ = from._impl_.highest_rank_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.rank_expiry_ = from._impl_.rank_expiry_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerRankingInfo::CopyFrom(const PlayerRankingInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerRankingInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerRankingInfo::IsInitialized() const { + return true; +} + +void PlayerRankingInfo::InternalSwap(PlayerRankingInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.per_map_rank_.InternalSwap(&other->_impl_.per_map_rank_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.leaderboard_name_, lhs_arena, + &other->_impl_.leaderboard_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerRankingInfo, _impl_.rank_expiry_) + + sizeof(PlayerRankingInfo::_impl_.rank_expiry_) + - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerRankingInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[12]); +} + +// =================================================================== + +class PlayerCommendationInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cmd_friendly(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cmd_teaching(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cmd_leader(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +PlayerCommendationInfo::PlayerCommendationInfo(::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:PlayerCommendationInfo) +} +PlayerCommendationInfo::PlayerCommendationInfo(const PlayerCommendationInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerCommendationInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmd_friendly_){} + , decltype(_impl_.cmd_teaching_){} + , decltype(_impl_.cmd_leader_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.cmd_friendly_, &from._impl_.cmd_friendly_, + static_cast(reinterpret_cast(&_impl_.cmd_leader_) - + reinterpret_cast(&_impl_.cmd_friendly_)) + sizeof(_impl_.cmd_leader_)); + // @@protoc_insertion_point(copy_constructor:PlayerCommendationInfo) +} + +inline void PlayerCommendationInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmd_friendly_){0u} + , decltype(_impl_.cmd_teaching_){0u} + , decltype(_impl_.cmd_leader_){0u} + }; +} + +PlayerCommendationInfo::~PlayerCommendationInfo() { + // @@protoc_insertion_point(destructor:PlayerCommendationInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerCommendationInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PlayerCommendationInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerCommendationInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerCommendationInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.cmd_friendly_, 0, static_cast( + reinterpret_cast(&_impl_.cmd_leader_) - + reinterpret_cast(&_impl_.cmd_friendly_)) + sizeof(_impl_.cmd_leader_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerCommendationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 cmd_friendly = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_cmd_friendly(&has_bits); + _impl_.cmd_friendly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cmd_teaching = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_cmd_teaching(&has_bits); + _impl_.cmd_teaching_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cmd_leader = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_cmd_leader(&has_bits); + _impl_.cmd_leader_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerCommendationInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerCommendationInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 cmd_friendly = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_cmd_friendly(), target); + } + + // optional uint32 cmd_teaching = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_cmd_teaching(), target); + } + + // optional uint32 cmd_leader = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cmd_leader(), 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:PlayerCommendationInfo) + return target; +} + +size_t PlayerCommendationInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerCommendationInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 cmd_friendly = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_friendly()); + } + + // optional uint32 cmd_teaching = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_teaching()); + } + + // optional uint32 cmd_leader = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_leader()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerCommendationInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerCommendationInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerCommendationInfo::GetClassData() const { return &_class_data_; } + + +void PlayerCommendationInfo::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:PlayerCommendationInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.cmd_friendly_ = from._impl_.cmd_friendly_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.cmd_teaching_ = from._impl_.cmd_teaching_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.cmd_leader_ = from._impl_.cmd_leader_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerCommendationInfo::CopyFrom(const PlayerCommendationInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerCommendationInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerCommendationInfo::IsInitialized() const { + return true; +} + +void PlayerCommendationInfo::InternalSwap(PlayerCommendationInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerCommendationInfo, _impl_.cmd_leader_) + + sizeof(PlayerCommendationInfo::_impl_.cmd_leader_) + - PROTOBUF_FIELD_OFFSET(PlayerCommendationInfo, _impl_.cmd_friendly_)>( + reinterpret_cast(&_impl_.cmd_friendly_), + reinterpret_cast(&other->_impl_.cmd_friendly_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerCommendationInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[13]); +} + +// =================================================================== + +class PlayerMedalsInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_featured_display_item_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +PlayerMedalsInfo::PlayerMedalsInfo(::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:PlayerMedalsInfo) +} +PlayerMedalsInfo::PlayerMedalsInfo(const PlayerMedalsInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerMedalsInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.display_items_defidx_){from._impl_.display_items_defidx_} + , decltype(_impl_.featured_display_item_defidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.featured_display_item_defidx_ = from._impl_.featured_display_item_defidx_; + // @@protoc_insertion_point(copy_constructor:PlayerMedalsInfo) +} + +inline void PlayerMedalsInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.display_items_defidx_){arena} + , decltype(_impl_.featured_display_item_defidx_){0u} + }; +} + +PlayerMedalsInfo::~PlayerMedalsInfo() { + // @@protoc_insertion_point(destructor:PlayerMedalsInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerMedalsInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.display_items_defidx_.~RepeatedField(); +} + +void PlayerMedalsInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerMedalsInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerMedalsInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.display_items_defidx_.Clear(); + _impl_.featured_display_item_defidx_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerMedalsInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated uint32 display_items_defidx = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_display_items_defidx(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_display_items_defidx(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 featured_display_item_defidx = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_featured_display_item_defidx(&has_bits); + _impl_.featured_display_item_defidx_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerMedalsInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerMedalsInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated uint32 display_items_defidx = 7; + for (int i = 0, n = this->_internal_display_items_defidx_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_display_items_defidx(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 featured_display_item_defidx = 8; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_featured_display_item_defidx(), 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:PlayerMedalsInfo) + return target; +} + +size_t PlayerMedalsInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerMedalsInfo) + 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 uint32 display_items_defidx = 7; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.display_items_defidx_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_display_items_defidx_size()); + total_size += data_size; + } + + // optional uint32 featured_display_item_defidx = 8; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_featured_display_item_defidx()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerMedalsInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerMedalsInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerMedalsInfo::GetClassData() const { return &_class_data_; } + + +void PlayerMedalsInfo::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:PlayerMedalsInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.display_items_defidx_.MergeFrom(from._impl_.display_items_defidx_); + if (from._internal_has_featured_display_item_defidx()) { + _this->_internal_set_featured_display_item_defidx(from._internal_featured_display_item_defidx()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerMedalsInfo::CopyFrom(const PlayerMedalsInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerMedalsInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerMedalsInfo::IsInitialized() const { + return true; +} + +void PlayerMedalsInfo::InternalSwap(PlayerMedalsInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.display_items_defidx_.InternalSwap(&other->_impl_.display_items_defidx_); + swap(_impl_.featured_display_item_defidx_, other->_impl_.featured_display_item_defidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerMedalsInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[14]); +} + +// =================================================================== + +class AccountActivity::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_activity(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mode(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_matchid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +AccountActivity::AccountActivity(::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:AccountActivity) +} +AccountActivity::AccountActivity(const AccountActivity& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + AccountActivity* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.activity_){} + , decltype(_impl_.mode_){} + , decltype(_impl_.matchid_){} + , decltype(_impl_.map_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.activity_, &from._impl_.activity_, + static_cast(reinterpret_cast(&_impl_.map_) - + reinterpret_cast(&_impl_.activity_)) + sizeof(_impl_.map_)); + // @@protoc_insertion_point(copy_constructor:AccountActivity) +} + +inline void AccountActivity::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.activity_){0u} + , decltype(_impl_.mode_){0u} + , decltype(_impl_.matchid_){uint64_t{0u}} + , decltype(_impl_.map_){0u} + }; +} + +AccountActivity::~AccountActivity() { + // @@protoc_insertion_point(destructor:AccountActivity) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void AccountActivity::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void AccountActivity::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void AccountActivity::Clear() { +// @@protoc_insertion_point(message_clear_start:AccountActivity) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.activity_, 0, static_cast( + reinterpret_cast(&_impl_.map_) - + reinterpret_cast(&_impl_.activity_)) + sizeof(_impl_.map_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* AccountActivity::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 activity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_activity(&has_bits); + _impl_.activity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mode = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_mode(&has_bits); + _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 map = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_map(&has_bits); + _impl_.map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 matchid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_matchid(&has_bits); + _impl_.matchid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* AccountActivity::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:AccountActivity) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 activity = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_activity(), target); + } + + // optional uint32 mode = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mode(), target); + } + + // optional uint32 map = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_map(), target); + } + + // optional uint64 matchid = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_matchid(), 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:AccountActivity) + return target; +} + +size_t AccountActivity::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:AccountActivity) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 activity = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_activity()); + } + + // optional uint32 mode = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); + } + + // optional uint64 matchid = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); + } + + // optional uint32 map = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AccountActivity::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + AccountActivity::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AccountActivity::GetClassData() const { return &_class_data_; } + + +void AccountActivity::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:AccountActivity) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.activity_ = from._impl_.activity_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.mode_ = from._impl_.mode_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.matchid_ = from._impl_.matchid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.map_ = from._impl_.map_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void AccountActivity::CopyFrom(const AccountActivity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:AccountActivity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AccountActivity::IsInitialized() const { + return true; +} + +void AccountActivity::InternalSwap(AccountActivity* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AccountActivity, _impl_.map_) + + sizeof(AccountActivity::_impl_.map_) + - PROTOBUF_FIELD_OFFSET(AccountActivity, _impl_.activity_)>( + reinterpret_cast(&_impl_.activity_), + reinterpret_cast(&other->_impl_.activity_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata AccountActivity::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[15]); +} + +// =================================================================== + +class TournamentMatchSetup::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_team_id_ct(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_team_id_t(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_event_stage_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +TournamentMatchSetup::TournamentMatchSetup(::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:TournamentMatchSetup) +} +TournamentMatchSetup::TournamentMatchSetup(const TournamentMatchSetup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + TournamentMatchSetup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_id_){} + , decltype(_impl_.team_id_ct_){} + , decltype(_impl_.team_id_t_){} + , decltype(_impl_.event_stage_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, + static_cast(reinterpret_cast(&_impl_.event_stage_id_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); + // @@protoc_insertion_point(copy_constructor:TournamentMatchSetup) +} + +inline void TournamentMatchSetup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_id_){0} + , decltype(_impl_.team_id_ct_){0} + , decltype(_impl_.team_id_t_){0} + , decltype(_impl_.event_stage_id_){0} + }; +} + +TournamentMatchSetup::~TournamentMatchSetup() { + // @@protoc_insertion_point(destructor:TournamentMatchSetup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void TournamentMatchSetup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void TournamentMatchSetup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void TournamentMatchSetup::Clear() { +// @@protoc_insertion_point(message_clear_start:TournamentMatchSetup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.event_id_, 0, static_cast( + reinterpret_cast(&_impl_.event_stage_id_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* TournamentMatchSetup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_ct = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_team_id_ct(&has_bits); + _impl_.team_id_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_t = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_team_id_t(&has_bits); + _impl_.team_id_t_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 event_stage_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_event_stage_id(&has_bits); + _impl_.event_stage_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* TournamentMatchSetup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:TournamentMatchSetup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); + } + + // optional int32 team_id_ct = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team_id_ct(), target); + } + + // optional int32 team_id_t = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_team_id_t(), target); + } + + // optional int32 event_stage_id = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_event_stage_id(), 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:TournamentMatchSetup) + return target; +} + +size_t TournamentMatchSetup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:TournamentMatchSetup) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); + } + + // optional int32 team_id_ct = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_ct()); + } + + // optional int32 team_id_t = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_t()); + } + + // optional int32 event_stage_id = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentMatchSetup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + TournamentMatchSetup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentMatchSetup::GetClassData() const { return &_class_data_; } + + +void TournamentMatchSetup::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:TournamentMatchSetup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.team_id_ct_ = from._impl_.team_id_ct_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.team_id_t_ = from._impl_.team_id_t_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void TournamentMatchSetup::CopyFrom(const TournamentMatchSetup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:TournamentMatchSetup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TournamentMatchSetup::IsInitialized() const { + return true; +} + +void TournamentMatchSetup::InternalSwap(TournamentMatchSetup* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(TournamentMatchSetup, _impl_.event_stage_id_) + + sizeof(TournamentMatchSetup::_impl_.event_stage_id_) + - PROTOBUF_FIELD_OFFSET(TournamentMatchSetup, _impl_.event_id_)>( + reinterpret_cast(&_impl_.event_id_), + reinterpret_cast(&other->_impl_.event_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata TournamentMatchSetup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[16]); +} + +// =================================================================== + +class ServerHltvInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tv_udp_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_tv_watch_key(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_tv_slots(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tv_clients(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_tv_proxies(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_tv_time(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_game_mapgroup(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_game_map(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tv_master_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_tv_local_slots(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_tv_local_clients(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_tv_local_proxies(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_tv_relay_slots(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_tv_relay_clients(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_tv_relay_proxies(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_tv_relay_address(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_tv_relay_port(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_tv_relay_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } +}; + +ServerHltvInfo::ServerHltvInfo(::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:ServerHltvInfo) +} +ServerHltvInfo::ServerHltvInfo(const ServerHltvInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ServerHltvInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_mapgroup_){} + , decltype(_impl_.game_map_){} + , decltype(_impl_.tv_watch_key_){} + , decltype(_impl_.tv_udp_port_){} + , decltype(_impl_.tv_slots_){} + , decltype(_impl_.tv_clients_){} + , decltype(_impl_.tv_proxies_){} + , decltype(_impl_.tv_time_){} + , decltype(_impl_.game_type_){} + , decltype(_impl_.tv_master_steamid_){} + , decltype(_impl_.tv_local_slots_){} + , decltype(_impl_.tv_local_clients_){} + , decltype(_impl_.tv_local_proxies_){} + , decltype(_impl_.tv_relay_slots_){} + , decltype(_impl_.tv_relay_clients_){} + , decltype(_impl_.tv_relay_proxies_){} + , decltype(_impl_.tv_relay_address_){} + , decltype(_impl_.tv_relay_port_){} + , decltype(_impl_.tv_relay_steamid_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_mapgroup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_mapgroup()) { + _this->_impl_.game_mapgroup_.Set(from._internal_game_mapgroup(), + _this->GetArenaForAllocation()); + } + _impl_.game_map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_map()) { + _this->_impl_.game_map_.Set(from._internal_game_map(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.tv_watch_key_, &from._impl_.tv_watch_key_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.tv_watch_key_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:ServerHltvInfo) +} + +inline void ServerHltvInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_mapgroup_){} + , decltype(_impl_.game_map_){} + , decltype(_impl_.tv_watch_key_){uint64_t{0u}} + , decltype(_impl_.tv_udp_port_){0u} + , decltype(_impl_.tv_slots_){0u} + , decltype(_impl_.tv_clients_){0u} + , decltype(_impl_.tv_proxies_){0u} + , decltype(_impl_.tv_time_){0u} + , decltype(_impl_.game_type_){0u} + , decltype(_impl_.tv_master_steamid_){uint64_t{0u}} + , decltype(_impl_.tv_local_slots_){0u} + , decltype(_impl_.tv_local_clients_){0u} + , decltype(_impl_.tv_local_proxies_){0u} + , decltype(_impl_.tv_relay_slots_){0u} + , decltype(_impl_.tv_relay_clients_){0u} + , decltype(_impl_.tv_relay_proxies_){0u} + , decltype(_impl_.tv_relay_address_){0u} + , decltype(_impl_.tv_relay_port_){0u} + , decltype(_impl_.tv_relay_steamid_){uint64_t{0u}} + , decltype(_impl_.flags_){0u} + }; + _impl_.game_mapgroup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ServerHltvInfo::~ServerHltvInfo() { + // @@protoc_insertion_point(destructor:ServerHltvInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ServerHltvInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.game_mapgroup_.Destroy(); + _impl_.game_map_.Destroy(); +} + +void ServerHltvInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ServerHltvInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:ServerHltvInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_mapgroup_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.game_map_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.tv_watch_key_, 0, static_cast( + reinterpret_cast(&_impl_.tv_time_) - + reinterpret_cast(&_impl_.tv_watch_key_)) + sizeof(_impl_.tv_time_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.game_type_, 0, static_cast( + reinterpret_cast(&_impl_.tv_relay_proxies_) - + reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.tv_relay_proxies_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.tv_relay_address_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.tv_relay_address_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ServerHltvInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 tv_udp_port = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tv_udp_port(&has_bits); + _impl_.tv_udp_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 tv_watch_key = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tv_watch_key(&has_bits); + _impl_.tv_watch_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_slots = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_tv_slots(&has_bits); + _impl_.tv_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_clients = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_tv_clients(&has_bits); + _impl_.tv_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_proxies = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_tv_proxies(&has_bits); + _impl_.tv_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_time = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_tv_time(&has_bits); + _impl_.tv_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string game_mapgroup = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_game_mapgroup(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "ServerHltvInfo.game_mapgroup"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string game_map = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_game_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "ServerHltvInfo.game_map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 tv_master_steamid = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_tv_master_steamid(&has_bits); + _impl_.tv_master_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_local_slots = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_tv_local_slots(&has_bits); + _impl_.tv_local_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_local_clients = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_tv_local_clients(&has_bits); + _impl_.tv_local_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_local_proxies = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_tv_local_proxies(&has_bits); + _impl_.tv_local_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_relay_slots = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_tv_relay_slots(&has_bits); + _impl_.tv_relay_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_relay_clients = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_tv_relay_clients(&has_bits); + _impl_.tv_relay_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_relay_proxies = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_tv_relay_proxies(&has_bits); + _impl_.tv_relay_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_relay_address = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_tv_relay_address(&has_bits); + _impl_.tv_relay_address_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_relay_port = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_tv_relay_port(&has_bits); + _impl_.tv_relay_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 tv_relay_steamid = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_tv_relay_steamid(&has_bits); + _impl_.tv_relay_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ServerHltvInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ServerHltvInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 tv_udp_port = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tv_udp_port(), target); + } + + // optional uint64 tv_watch_key = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_tv_watch_key(), target); + } + + // optional uint32 tv_slots = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tv_slots(), target); + } + + // optional uint32 tv_clients = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_tv_clients(), target); + } + + // optional uint32 tv_proxies = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_tv_proxies(), target); + } + + // optional uint32 tv_time = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tv_time(), target); + } + + // optional uint32 game_type = 8; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_game_type(), target); + } + + // optional string game_mapgroup = 9; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_mapgroup().data(), static_cast(this->_internal_game_mapgroup().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "ServerHltvInfo.game_mapgroup"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_game_mapgroup(), target); + } + + // optional string game_map = 10; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_map().data(), static_cast(this->_internal_game_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "ServerHltvInfo.game_map"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_game_map(), target); + } + + // optional uint64 tv_master_steamid = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_tv_master_steamid(), target); + } + + // optional uint32 tv_local_slots = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_tv_local_slots(), target); + } + + // optional uint32 tv_local_clients = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tv_local_clients(), target); + } + + // optional uint32 tv_local_proxies = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_tv_local_proxies(), target); + } + + // optional uint32 tv_relay_slots = 15; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_tv_relay_slots(), target); + } + + // optional uint32 tv_relay_clients = 16; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_tv_relay_clients(), target); + } + + // optional uint32 tv_relay_proxies = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_tv_relay_proxies(), target); + } + + // optional uint32 tv_relay_address = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_tv_relay_address(), target); + } + + // optional uint32 tv_relay_port = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_tv_relay_port(), target); + } + + // optional uint64 tv_relay_steamid = 20; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(20, this->_internal_tv_relay_steamid(), target); + } + + // optional uint32 flags = 21; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_flags(), 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:ServerHltvInfo) + return target; +} + +size_t ServerHltvInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ServerHltvInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string game_mapgroup = 9; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_mapgroup()); + } + + // optional string game_map = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_map()); + } + + // optional uint64 tv_watch_key = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_watch_key()); + } + + // optional uint32 tv_udp_port = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_udp_port()); + } + + // optional uint32 tv_slots = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_slots()); + } + + // optional uint32 tv_clients = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_clients()); + } + + // optional uint32 tv_proxies = 5; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_proxies()); + } + + // optional uint32 tv_time = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_time()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 game_type = 8; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + // optional uint64 tv_master_steamid = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_master_steamid()); + } + + // optional uint32 tv_local_slots = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_slots()); + } + + // optional uint32 tv_local_clients = 13; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_clients()); + } + + // optional uint32 tv_local_proxies = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_proxies()); + } + + // optional uint32 tv_relay_slots = 15; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_relay_slots()); + } + + // optional uint32 tv_relay_clients = 16; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tv_relay_clients()); + } + + // optional uint32 tv_relay_proxies = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tv_relay_proxies()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional uint32 tv_relay_address = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tv_relay_address()); + } + + // optional uint32 tv_relay_port = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tv_relay_port()); + } + + // optional uint64 tv_relay_steamid = 20; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_tv_relay_steamid()); + } + + // optional uint32 flags = 21; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ServerHltvInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ServerHltvInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ServerHltvInfo::GetClassData() const { return &_class_data_; } + + +void ServerHltvInfo::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:ServerHltvInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_mapgroup(from._internal_game_mapgroup()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_game_map(from._internal_game_map()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.tv_watch_key_ = from._impl_.tv_watch_key_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.tv_udp_port_ = from._impl_.tv_udp_port_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.tv_slots_ = from._impl_.tv_slots_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tv_clients_ = from._impl_.tv_clients_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.tv_proxies_ = from._impl_.tv_proxies_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.tv_time_ = from._impl_.tv_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.tv_master_steamid_ = from._impl_.tv_master_steamid_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.tv_local_slots_ = from._impl_.tv_local_slots_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.tv_local_clients_ = from._impl_.tv_local_clients_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.tv_local_proxies_ = from._impl_.tv_local_proxies_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.tv_relay_slots_ = from._impl_.tv_relay_slots_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.tv_relay_clients_ = from._impl_.tv_relay_clients_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.tv_relay_proxies_ = from._impl_.tv_relay_proxies_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.tv_relay_address_ = from._impl_.tv_relay_address_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.tv_relay_port_ = from._impl_.tv_relay_port_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.tv_relay_steamid_ = from._impl_.tv_relay_steamid_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ServerHltvInfo::CopyFrom(const ServerHltvInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ServerHltvInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ServerHltvInfo::IsInitialized() const { + return true; +} + +void ServerHltvInfo::InternalSwap(ServerHltvInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_mapgroup_, lhs_arena, + &other->_impl_.game_mapgroup_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_map_, lhs_arena, + &other->_impl_.game_map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ServerHltvInfo, _impl_.flags_) + + sizeof(ServerHltvInfo::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(ServerHltvInfo, _impl_.tv_watch_key_)>( + reinterpret_cast(&_impl_.tv_watch_key_), + reinterpret_cast(&other->_impl_.tv_watch_key_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ServerHltvInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[17]); +} + +// =================================================================== + +class IpAddressMask::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_a(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_b(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_c(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_d(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_bits(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +IpAddressMask::IpAddressMask(::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:IpAddressMask) +} +IpAddressMask::IpAddressMask(const IpAddressMask& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + IpAddressMask* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.a_){} + , decltype(_impl_.b_){} + , decltype(_impl_.c_){} + , decltype(_impl_.d_){} + , decltype(_impl_.bits_){} + , decltype(_impl_.token_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.a_, &from._impl_.a_, + static_cast(reinterpret_cast(&_impl_.token_) - + reinterpret_cast(&_impl_.a_)) + sizeof(_impl_.token_)); + // @@protoc_insertion_point(copy_constructor:IpAddressMask) +} + +inline void IpAddressMask::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.a_){0u} + , decltype(_impl_.b_){0u} + , decltype(_impl_.c_){0u} + , decltype(_impl_.d_){0u} + , decltype(_impl_.bits_){0u} + , decltype(_impl_.token_){0u} + }; +} + +IpAddressMask::~IpAddressMask() { + // @@protoc_insertion_point(destructor:IpAddressMask) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void IpAddressMask::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void IpAddressMask::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void IpAddressMask::Clear() { +// @@protoc_insertion_point(message_clear_start:IpAddressMask) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.a_, 0, static_cast( + reinterpret_cast(&_impl_.token_) - + reinterpret_cast(&_impl_.a_)) + sizeof(_impl_.token_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* IpAddressMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 a = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_a(&has_bits); + _impl_.a_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 b = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_b(&has_bits); + _impl_.b_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 c = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_c(&has_bits); + _impl_.c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 d = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_d(&has_bits); + _impl_.d_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bits = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_bits(&has_bits); + _impl_.bits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 token = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_token(&has_bits); + _impl_.token_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* IpAddressMask::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:IpAddressMask) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 a = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_a(), target); + } + + // optional uint32 b = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_b(), target); + } + + // optional uint32 c = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_c(), target); + } + + // optional uint32 d = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_d(), target); + } + + // optional uint32 bits = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_bits(), target); + } + + // optional uint32 token = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_token(), 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:IpAddressMask) + return target; +} + +size_t IpAddressMask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:IpAddressMask) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint32 a = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_a()); + } + + // optional uint32 b = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_b()); + } + + // optional uint32 c = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_c()); + } + + // optional uint32 d = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d()); + } + + // optional uint32 bits = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bits()); + } + + // optional uint32 token = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IpAddressMask::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + IpAddressMask::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IpAddressMask::GetClassData() const { return &_class_data_; } + + +void IpAddressMask::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:IpAddressMask) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.a_ = from._impl_.a_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.b_ = from._impl_.b_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.c_ = from._impl_.c_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.d_ = from._impl_.d_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.bits_ = from._impl_.bits_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.token_ = from._impl_.token_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void IpAddressMask::CopyFrom(const IpAddressMask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:IpAddressMask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool IpAddressMask::IsInitialized() const { + return true; +} + +void IpAddressMask::InternalSwap(IpAddressMask* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(IpAddressMask, _impl_.token_) + + sizeof(IpAddressMask::_impl_.token_) + - PROTOBUF_FIELD_OFFSET(IpAddressMask, _impl_.a_)>( + reinterpret_cast(&_impl_.a_), + reinterpret_cast(&other->_impl_.a_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata IpAddressMask::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[18]); +} + +// =================================================================== + +class CMsgCsgoSteamUserStatChange::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ecsgosteamuserstat(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_delta(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_absolute(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange(::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:CMsgCsgoSteamUserStatChange) +} +CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange(const CMsgCsgoSteamUserStatChange& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgCsgoSteamUserStatChange* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ecsgosteamuserstat_){} + , decltype(_impl_.delta_){} + , decltype(_impl_.absolute_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ecsgosteamuserstat_, &from._impl_.ecsgosteamuserstat_, + static_cast(reinterpret_cast(&_impl_.absolute_) - + reinterpret_cast(&_impl_.ecsgosteamuserstat_)) + sizeof(_impl_.absolute_)); + // @@protoc_insertion_point(copy_constructor:CMsgCsgoSteamUserStatChange) +} + +inline void CMsgCsgoSteamUserStatChange::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ecsgosteamuserstat_){0} + , decltype(_impl_.delta_){0} + , decltype(_impl_.absolute_){false} + }; +} + +CMsgCsgoSteamUserStatChange::~CMsgCsgoSteamUserStatChange() { + // @@protoc_insertion_point(destructor:CMsgCsgoSteamUserStatChange) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgCsgoSteamUserStatChange::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgCsgoSteamUserStatChange::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgCsgoSteamUserStatChange::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgCsgoSteamUserStatChange) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.ecsgosteamuserstat_, 0, static_cast( + reinterpret_cast(&_impl_.absolute_) - + reinterpret_cast(&_impl_.ecsgosteamuserstat_)) + sizeof(_impl_.absolute_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgCsgoSteamUserStatChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ecsgosteamuserstat = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ecsgosteamuserstat(&has_bits); + _impl_.ecsgosteamuserstat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 delta = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_delta(&has_bits); + _impl_.delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool absolute = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_absolute(&has_bits); + _impl_.absolute_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgCsgoSteamUserStatChange::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgCsgoSteamUserStatChange) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ecsgosteamuserstat = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ecsgosteamuserstat(), target); + } + + // optional int32 delta = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_delta(), target); + } + + // optional bool absolute = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_absolute(), 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:CMsgCsgoSteamUserStatChange) + return target; +} + +size_t CMsgCsgoSteamUserStatChange::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgCsgoSteamUserStatChange) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 ecsgosteamuserstat = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ecsgosteamuserstat()); + } + + // optional int32 delta = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta()); + } + + // optional bool absolute = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCsgoSteamUserStatChange::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgCsgoSteamUserStatChange::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCsgoSteamUserStatChange::GetClassData() const { return &_class_data_; } + + +void CMsgCsgoSteamUserStatChange::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:CMsgCsgoSteamUserStatChange) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ecsgosteamuserstat_ = from._impl_.ecsgosteamuserstat_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.delta_ = from._impl_.delta_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.absolute_ = from._impl_.absolute_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgCsgoSteamUserStatChange::CopyFrom(const CMsgCsgoSteamUserStatChange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCsgoSteamUserStatChange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgCsgoSteamUserStatChange::IsInitialized() const { + return true; +} + +void CMsgCsgoSteamUserStatChange::InternalSwap(CMsgCsgoSteamUserStatChange* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgCsgoSteamUserStatChange, _impl_.absolute_) + + sizeof(CMsgCsgoSteamUserStatChange::_impl_.absolute_) + - PROTOBUF_FIELD_OFFSET(CMsgCsgoSteamUserStatChange, _impl_.ecsgosteamuserstat_)>( + reinterpret_cast(&_impl_.ecsgosteamuserstat_), + reinterpret_cast(&other->_impl_.ecsgosteamuserstat_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgCsgoSteamUserStatChange::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[19]); +} + +// =================================================================== + +class XpProgressData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_xp_points(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_xp_category(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +XpProgressData::XpProgressData(::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:XpProgressData) +} +XpProgressData::XpProgressData(const XpProgressData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + XpProgressData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_points_){} + , decltype(_impl_.xp_category_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.xp_points_, &from._impl_.xp_points_, + static_cast(reinterpret_cast(&_impl_.xp_category_) - + reinterpret_cast(&_impl_.xp_points_)) + sizeof(_impl_.xp_category_)); + // @@protoc_insertion_point(copy_constructor:XpProgressData) +} + +inline void XpProgressData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_points_){0u} + , decltype(_impl_.xp_category_){0} + }; +} + +XpProgressData::~XpProgressData() { + // @@protoc_insertion_point(destructor:XpProgressData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void XpProgressData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void XpProgressData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void XpProgressData::Clear() { +// @@protoc_insertion_point(message_clear_start:XpProgressData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.xp_points_, 0, static_cast( + reinterpret_cast(&_impl_.xp_category_) - + reinterpret_cast(&_impl_.xp_points_)) + sizeof(_impl_.xp_category_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* XpProgressData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 xp_points = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_xp_points(&has_bits); + _impl_.xp_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 xp_category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_xp_category(&has_bits); + _impl_.xp_category_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* XpProgressData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:XpProgressData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 xp_points = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_xp_points(), target); + } + + // optional int32 xp_category = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_xp_category(), 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:XpProgressData) + return target; +} + +size_t XpProgressData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:XpProgressData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 xp_points = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_points()); + } + + // optional int32 xp_category = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_xp_category()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData XpProgressData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + XpProgressData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*XpProgressData::GetClassData() const { return &_class_data_; } + + +void XpProgressData::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:XpProgressData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.xp_points_ = from._impl_.xp_points_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.xp_category_ = from._impl_.xp_category_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void XpProgressData::CopyFrom(const XpProgressData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:XpProgressData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool XpProgressData::IsInitialized() const { + return true; +} + +void XpProgressData::InternalSwap(XpProgressData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(XpProgressData, _impl_.xp_category_) + + sizeof(XpProgressData::_impl_.xp_category_) + - PROTOBUF_FIELD_OFFSET(XpProgressData, _impl_.xp_points_)>( + reinterpret_cast(&_impl_.xp_points_), + reinterpret_cast(&other->_impl_.xp_points_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata XpProgressData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[20]); +} + +// =================================================================== + +class MatchEndItemUpdates::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_attr_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_attr_delta_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +MatchEndItemUpdates::MatchEndItemUpdates(::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:MatchEndItemUpdates) +} +MatchEndItemUpdates::MatchEndItemUpdates(const MatchEndItemUpdates& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MatchEndItemUpdates* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){} + , decltype(_impl_.item_attr_defidx_){} + , decltype(_impl_.item_attr_delta_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, + static_cast(reinterpret_cast(&_impl_.item_attr_delta_value_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.item_attr_delta_value_)); + // @@protoc_insertion_point(copy_constructor:MatchEndItemUpdates) +} + +inline void MatchEndItemUpdates::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){uint64_t{0u}} + , decltype(_impl_.item_attr_defidx_){0u} + , decltype(_impl_.item_attr_delta_value_){0u} + }; +} + +MatchEndItemUpdates::~MatchEndItemUpdates() { + // @@protoc_insertion_point(destructor:MatchEndItemUpdates) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MatchEndItemUpdates::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void MatchEndItemUpdates::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MatchEndItemUpdates::Clear() { +// @@protoc_insertion_point(message_clear_start:MatchEndItemUpdates) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.item_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_attr_delta_value_) - + reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.item_attr_delta_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MatchEndItemUpdates::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item_id(&has_bits); + _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 item_attr_defidx = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_attr_defidx(&has_bits); + _impl_.item_attr_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 item_attr_delta_value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_item_attr_delta_value(&has_bits); + _impl_.item_attr_delta_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MatchEndItemUpdates::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MatchEndItemUpdates) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); + } + + // optional uint32 item_attr_defidx = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_item_attr_defidx(), target); + } + + // optional uint32 item_attr_delta_value = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_item_attr_delta_value(), 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:MatchEndItemUpdates) + return target; +} + +size_t MatchEndItemUpdates::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MatchEndItemUpdates) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); + } + + // optional uint32 item_attr_defidx = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_attr_defidx()); + } + + // optional uint32 item_attr_delta_value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_attr_delta_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MatchEndItemUpdates::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MatchEndItemUpdates::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MatchEndItemUpdates::GetClassData() const { return &_class_data_; } + + +void MatchEndItemUpdates::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:MatchEndItemUpdates) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.item_id_ = from._impl_.item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_attr_defidx_ = from._impl_.item_attr_defidx_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_attr_delta_value_ = from._impl_.item_attr_delta_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MatchEndItemUpdates::CopyFrom(const MatchEndItemUpdates& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MatchEndItemUpdates) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MatchEndItemUpdates::IsInitialized() const { + return true; +} + +void MatchEndItemUpdates::InternalSwap(MatchEndItemUpdates* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MatchEndItemUpdates, _impl_.item_attr_delta_value_) + + sizeof(MatchEndItemUpdates::_impl_.item_attr_delta_value_) + - PROTOBUF_FIELD_OFFSET(MatchEndItemUpdates, _impl_.item_id_)>( + reinterpret_cast(&_impl_.item_id_), + reinterpret_cast(&other->_impl_.item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MatchEndItemUpdates::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[21]); +} + +// =================================================================== + +class ScoreLeaderboardData_Entry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_val(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry(::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:ScoreLeaderboardData.Entry) +} +ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry(const ScoreLeaderboardData_Entry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ScoreLeaderboardData_Entry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.val_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.tag_, &from._impl_.tag_, + static_cast(reinterpret_cast(&_impl_.val_) - + reinterpret_cast(&_impl_.tag_)) + sizeof(_impl_.val_)); + // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData.Entry) +} + +inline void ScoreLeaderboardData_Entry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){0u} + , decltype(_impl_.val_){0u} + }; +} + +ScoreLeaderboardData_Entry::~ScoreLeaderboardData_Entry() { + // @@protoc_insertion_point(destructor:ScoreLeaderboardData.Entry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ScoreLeaderboardData_Entry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void ScoreLeaderboardData_Entry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ScoreLeaderboardData_Entry::Clear() { +// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData.Entry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.tag_, 0, static_cast( + reinterpret_cast(&_impl_.val_) - + reinterpret_cast(&_impl_.tag_)) + sizeof(_impl_.val_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ScoreLeaderboardData_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 tag = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tag(&has_bits); + _impl_.tag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 val = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_val(&has_bits); + _impl_.val_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ScoreLeaderboardData_Entry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData.Entry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 tag = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tag(), target); + } + + // optional uint32 val = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_val(), 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:ScoreLeaderboardData.Entry) + return target; +} + +size_t ScoreLeaderboardData_Entry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData.Entry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 tag = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tag()); + } + + // optional uint32 val = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_val()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData_Entry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ScoreLeaderboardData_Entry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData_Entry::GetClassData() const { return &_class_data_; } + + +void ScoreLeaderboardData_Entry::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:ScoreLeaderboardData.Entry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.tag_ = from._impl_.tag_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.val_ = from._impl_.val_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ScoreLeaderboardData_Entry::CopyFrom(const ScoreLeaderboardData_Entry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData.Entry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ScoreLeaderboardData_Entry::IsInitialized() const { + return true; +} + +void ScoreLeaderboardData_Entry::InternalSwap(ScoreLeaderboardData_Entry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData_Entry, _impl_.val_) + + sizeof(ScoreLeaderboardData_Entry::_impl_.val_) + - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData_Entry, _impl_.tag_)>( + reinterpret_cast(&_impl_.tag_), + reinterpret_cast(&other->_impl_.tag_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData_Entry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[22]); +} + +// =================================================================== + +class ScoreLeaderboardData_AccountEntries::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries(::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:ScoreLeaderboardData.AccountEntries) +} +ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries(const ScoreLeaderboardData_AccountEntries& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ScoreLeaderboardData_AccountEntries* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){from._impl_.entries_} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.accountid_ = from._impl_.accountid_; + // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData.AccountEntries) +} + +inline void ScoreLeaderboardData_AccountEntries::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){arena} + , decltype(_impl_.accountid_){0u} + }; +} + +ScoreLeaderboardData_AccountEntries::~ScoreLeaderboardData_AccountEntries() { + // @@protoc_insertion_point(destructor:ScoreLeaderboardData.AccountEntries) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ScoreLeaderboardData_AccountEntries::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); +} + +void ScoreLeaderboardData_AccountEntries::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ScoreLeaderboardData_AccountEntries::Clear() { +// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData.AccountEntries) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + _impl_.accountid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ScoreLeaderboardData_AccountEntries::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .ScoreLeaderboardData.Entry entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entries(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ScoreLeaderboardData_AccountEntries::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData.AccountEntries) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // repeated .ScoreLeaderboardData.Entry entries = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_entries_size()); i < n; i++) { + const auto& repfield = this->_internal_entries(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:ScoreLeaderboardData.AccountEntries) + return target; +} + +size_t ScoreLeaderboardData_AccountEntries::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData.AccountEntries) + 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 .ScoreLeaderboardData.Entry entries = 2; + total_size += 1UL * this->_internal_entries_size(); + for (const auto& msg : this->_impl_.entries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 accountid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData_AccountEntries::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ScoreLeaderboardData_AccountEntries::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData_AccountEntries::GetClassData() const { return &_class_data_; } + + +void ScoreLeaderboardData_AccountEntries::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:ScoreLeaderboardData.AccountEntries) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + if (from._internal_has_accountid()) { + _this->_internal_set_accountid(from._internal_accountid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ScoreLeaderboardData_AccountEntries::CopyFrom(const ScoreLeaderboardData_AccountEntries& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData.AccountEntries) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ScoreLeaderboardData_AccountEntries::IsInitialized() const { + return true; +} + +void ScoreLeaderboardData_AccountEntries::InternalSwap(ScoreLeaderboardData_AccountEntries* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); + swap(_impl_.accountid_, other->_impl_.accountid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData_AccountEntries::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[23]); +} + +// =================================================================== + +class ScoreLeaderboardData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_quest_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_score(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_leaderboard_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +ScoreLeaderboardData::ScoreLeaderboardData(::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:ScoreLeaderboardData) +} +ScoreLeaderboardData::ScoreLeaderboardData(const ScoreLeaderboardData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ScoreLeaderboardData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountentries_){from._impl_.accountentries_} + , decltype(_impl_.matchentries_){from._impl_.matchentries_} + , decltype(_impl_.leaderboard_name_){} + , decltype(_impl_.quest_id_){} + , decltype(_impl_.score_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.leaderboard_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_leaderboard_name()) { + _this->_impl_.leaderboard_name_.Set(from._internal_leaderboard_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, + static_cast(reinterpret_cast(&_impl_.score_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.score_)); + // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData) +} + +inline void ScoreLeaderboardData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountentries_){arena} + , decltype(_impl_.matchentries_){arena} + , decltype(_impl_.leaderboard_name_){} + , decltype(_impl_.quest_id_){uint64_t{0u}} + , decltype(_impl_.score_){0u} + }; + _impl_.leaderboard_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ScoreLeaderboardData::~ScoreLeaderboardData() { + // @@protoc_insertion_point(destructor:ScoreLeaderboardData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ScoreLeaderboardData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.accountentries_.~RepeatedPtrField(); + _impl_.matchentries_.~RepeatedPtrField(); + _impl_.leaderboard_name_.Destroy(); +} + +void ScoreLeaderboardData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ScoreLeaderboardData::Clear() { +// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.accountentries_.Clear(); + _impl_.matchentries_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.leaderboard_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.quest_id_, 0, static_cast( + reinterpret_cast(&_impl_.score_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.score_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ScoreLeaderboardData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 quest_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quest_id(&has_bits); + _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 score = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_score(&has_bits); + _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_accountentries(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .ScoreLeaderboardData.Entry matchentries = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_matchentries(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // optional string leaderboard_name = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_leaderboard_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "ScoreLeaderboardData.leaderboard_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ScoreLeaderboardData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 quest_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_quest_id(), target); + } + + // optional uint32 score = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_score(), target); + } + + // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_accountentries_size()); i < n; i++) { + const auto& repfield = this->_internal_accountentries(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .ScoreLeaderboardData.Entry matchentries = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_matchentries_size()); i < n; i++) { + const auto& repfield = this->_internal_matchentries(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string leaderboard_name = 6; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_leaderboard_name().data(), static_cast(this->_internal_leaderboard_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "ScoreLeaderboardData.leaderboard_name"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_leaderboard_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:ScoreLeaderboardData) + return target; +} + +size_t ScoreLeaderboardData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData) + 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 .ScoreLeaderboardData.AccountEntries accountentries = 3; + total_size += 1UL * this->_internal_accountentries_size(); + for (const auto& msg : this->_impl_.accountentries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .ScoreLeaderboardData.Entry matchentries = 5; + total_size += 1UL * this->_internal_matchentries_size(); + for (const auto& msg : this->_impl_.matchentries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string leaderboard_name = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_leaderboard_name()); + } + + // optional uint64 quest_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_quest_id()); + } + + // optional uint32 score = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ScoreLeaderboardData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData::GetClassData() const { return &_class_data_; } + + +void ScoreLeaderboardData::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:ScoreLeaderboardData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.accountentries_.MergeFrom(from._impl_.accountentries_); + _this->_impl_.matchentries_.MergeFrom(from._impl_.matchentries_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_leaderboard_name(from._internal_leaderboard_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.quest_id_ = from._impl_.quest_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.score_ = from._impl_.score_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ScoreLeaderboardData::CopyFrom(const ScoreLeaderboardData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ScoreLeaderboardData::IsInitialized() const { + return true; +} + +void ScoreLeaderboardData::InternalSwap(ScoreLeaderboardData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.accountentries_.InternalSwap(&other->_impl_.accountentries_); + _impl_.matchentries_.InternalSwap(&other->_impl_.matchentries_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.leaderboard_name_, lhs_arena, + &other->_impl_.leaderboard_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData, _impl_.score_) + + sizeof(ScoreLeaderboardData::_impl_.score_) + - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData, _impl_.quest_id_)>( + reinterpret_cast(&_impl_.quest_id_), + reinterpret_cast(&other->_impl_.quest_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[24]); +} + +// =================================================================== + +class PlayerQuestData_QuestItemData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_quest_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_quest_normal_points_earned(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_quest_bonus_points_earned(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_quest_period(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_quest_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData(::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:PlayerQuestData.QuestItemData) +} +PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData(const PlayerQuestData_QuestItemData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerQuestData_QuestItemData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_normal_points_required_){from._impl_.quest_normal_points_required_} + , decltype(_impl_.quest_reward_xp_){from._impl_.quest_reward_xp_} + , decltype(_impl_.quest_id_){} + , decltype(_impl_.quest_normal_points_earned_){} + , decltype(_impl_.quest_bonus_points_earned_){} + , decltype(_impl_.quest_period_){} + , decltype(_impl_.quest_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, + static_cast(reinterpret_cast(&_impl_.quest_type_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.quest_type_)); + // @@protoc_insertion_point(copy_constructor:PlayerQuestData.QuestItemData) +} + +inline void PlayerQuestData_QuestItemData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_normal_points_required_){arena} + , decltype(_impl_.quest_reward_xp_){arena} + , decltype(_impl_.quest_id_){uint64_t{0u}} + , decltype(_impl_.quest_normal_points_earned_){0} + , decltype(_impl_.quest_bonus_points_earned_){0} + , decltype(_impl_.quest_period_){0} + , decltype(_impl_.quest_type_){1} + }; +} + +PlayerQuestData_QuestItemData::~PlayerQuestData_QuestItemData() { + // @@protoc_insertion_point(destructor:PlayerQuestData.QuestItemData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerQuestData_QuestItemData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.quest_normal_points_required_.~RepeatedField(); + _impl_.quest_reward_xp_.~RepeatedField(); +} + +void PlayerQuestData_QuestItemData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerQuestData_QuestItemData::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerQuestData.QuestItemData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.quest_normal_points_required_.Clear(); + _impl_.quest_reward_xp_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.quest_id_, 0, static_cast( + reinterpret_cast(&_impl_.quest_period_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.quest_period_)); + _impl_.quest_type_ = 1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerQuestData_QuestItemData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 quest_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quest_id(&has_bits); + _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 quest_normal_points_earned = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_quest_normal_points_earned(&has_bits); + _impl_.quest_normal_points_earned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 quest_bonus_points_earned = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_quest_bonus_points_earned(&has_bits); + _impl_.quest_bonus_points_earned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 quest_normal_points_required = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_quest_normal_points_required(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_quest_normal_points_required(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 quest_reward_xp = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_quest_reward_xp(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_quest_reward_xp(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 quest_period = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_quest_period(&has_bits); + _impl_.quest_period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::QuestType_IsValid(val))) { + _internal_set_quest_type(static_cast<::QuestType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); + } + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerQuestData_QuestItemData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerQuestData.QuestItemData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 quest_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_quest_id(), target); + } + + // optional int32 quest_normal_points_earned = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_quest_normal_points_earned(), target); + } + + // optional int32 quest_bonus_points_earned = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_quest_bonus_points_earned(), target); + } + + // repeated int32 quest_normal_points_required = 4; + for (int i = 0, n = this->_internal_quest_normal_points_required_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_quest_normal_points_required(i), target); + } + + // repeated int32 quest_reward_xp = 5; + for (int i = 0, n = this->_internal_quest_reward_xp_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quest_reward_xp(i), target); + } + + // optional int32 quest_period = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_quest_period(), target); + } + + // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 7, this->_internal_quest_type(), 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:PlayerQuestData.QuestItemData) + return target; +} + +size_t PlayerQuestData_QuestItemData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerQuestData.QuestItemData) + 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 int32 quest_normal_points_required = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.quest_normal_points_required_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_quest_normal_points_required_size()); + total_size += data_size; + } + + // repeated int32 quest_reward_xp = 5; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.quest_reward_xp_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_quest_reward_xp_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint64 quest_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_quest_id()); + } + + // optional int32 quest_normal_points_earned = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_normal_points_earned()); + } + + // optional int32 quest_bonus_points_earned = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_bonus_points_earned()); + } + + // optional int32 quest_period = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_period()); + } + + // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_quest_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerQuestData_QuestItemData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerQuestData_QuestItemData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerQuestData_QuestItemData::GetClassData() const { return &_class_data_; } + + +void PlayerQuestData_QuestItemData::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:PlayerQuestData.QuestItemData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.quest_normal_points_required_.MergeFrom(from._impl_.quest_normal_points_required_); + _this->_impl_.quest_reward_xp_.MergeFrom(from._impl_.quest_reward_xp_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.quest_id_ = from._impl_.quest_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.quest_normal_points_earned_ = from._impl_.quest_normal_points_earned_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.quest_bonus_points_earned_ = from._impl_.quest_bonus_points_earned_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.quest_period_ = from._impl_.quest_period_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.quest_type_ = from._impl_.quest_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerQuestData_QuestItemData::CopyFrom(const PlayerQuestData_QuestItemData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerQuestData.QuestItemData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerQuestData_QuestItemData::IsInitialized() const { + return true; +} + +void PlayerQuestData_QuestItemData::InternalSwap(PlayerQuestData_QuestItemData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.quest_normal_points_required_.InternalSwap(&other->_impl_.quest_normal_points_required_); + _impl_.quest_reward_xp_.InternalSwap(&other->_impl_.quest_reward_xp_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerQuestData_QuestItemData, _impl_.quest_period_) + + sizeof(PlayerQuestData_QuestItemData::_impl_.quest_period_) + - PROTOBUF_FIELD_OFFSET(PlayerQuestData_QuestItemData, _impl_.quest_id_)>( + reinterpret_cast(&_impl_.quest_id_), + reinterpret_cast(&other->_impl_.quest_id_)); + swap(_impl_.quest_type_, other->_impl_.quest_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerQuestData_QuestItemData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[25]); +} + +// =================================================================== + +class PlayerQuestData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_quester_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time_played(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_mm_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_operation_points_eligible(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +PlayerQuestData::PlayerQuestData(::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:PlayerQuestData) +} +PlayerQuestData::PlayerQuestData(const PlayerQuestData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerQuestData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_item_data_){from._impl_.quest_item_data_} + , decltype(_impl_.xp_progress_data_){from._impl_.xp_progress_data_} + , decltype(_impl_.item_updates_){from._impl_.item_updates_} + , decltype(_impl_.userstatchanges_){from._impl_.userstatchanges_} + , decltype(_impl_.quester_account_id_){} + , decltype(_impl_.time_played_){} + , decltype(_impl_.mm_game_mode_){} + , decltype(_impl_.operation_points_eligible_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.quester_account_id_, &from._impl_.quester_account_id_, + static_cast(reinterpret_cast(&_impl_.operation_points_eligible_) - + reinterpret_cast(&_impl_.quester_account_id_)) + sizeof(_impl_.operation_points_eligible_)); + // @@protoc_insertion_point(copy_constructor:PlayerQuestData) +} + +inline void PlayerQuestData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_item_data_){arena} + , decltype(_impl_.xp_progress_data_){arena} + , decltype(_impl_.item_updates_){arena} + , decltype(_impl_.userstatchanges_){arena} + , decltype(_impl_.quester_account_id_){0u} + , decltype(_impl_.time_played_){0u} + , decltype(_impl_.mm_game_mode_){0u} + , decltype(_impl_.operation_points_eligible_){false} + }; +} + +PlayerQuestData::~PlayerQuestData() { + // @@protoc_insertion_point(destructor:PlayerQuestData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerQuestData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.quest_item_data_.~RepeatedPtrField(); + _impl_.xp_progress_data_.~RepeatedPtrField(); + _impl_.item_updates_.~RepeatedPtrField(); + _impl_.userstatchanges_.~RepeatedPtrField(); +} + +void PlayerQuestData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerQuestData::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerQuestData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.quest_item_data_.Clear(); + _impl_.xp_progress_data_.Clear(); + _impl_.item_updates_.Clear(); + _impl_.userstatchanges_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.quester_account_id_, 0, static_cast( + reinterpret_cast(&_impl_.operation_points_eligible_) - + reinterpret_cast(&_impl_.quester_account_id_)) + sizeof(_impl_.operation_points_eligible_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerQuestData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 quester_account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quester_account_id(&has_bits); + _impl_.quester_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_quest_item_data(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .XpProgressData xp_progress_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_xp_progress_data(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 time_played = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_time_played(&has_bits); + _impl_.time_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mm_game_mode = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_mm_game_mode(&has_bits); + _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .MatchEndItemUpdates item_updates = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_item_updates(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional bool operation_points_eligible = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_operation_points_eligible(&has_bits); + _impl_.operation_points_eligible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_userstatchanges(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerQuestData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerQuestData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 quester_account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_quester_account_id(), target); + } + + // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_quest_item_data_size()); i < n; i++) { + const auto& repfield = this->_internal_quest_item_data(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .XpProgressData xp_progress_data = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_xp_progress_data_size()); i < n; i++) { + const auto& repfield = this->_internal_xp_progress_data(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 time_played = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_time_played(), target); + } + + // optional uint32 mm_game_mode = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_mm_game_mode(), target); + } + + // repeated .MatchEndItemUpdates item_updates = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_item_updates_size()); i < n; i++) { + const auto& repfield = this->_internal_item_updates(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bool operation_points_eligible = 7; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_operation_points_eligible(), target); + } + + // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; + for (unsigned i = 0, + n = static_cast(this->_internal_userstatchanges_size()); i < n; i++) { + const auto& repfield = this->_internal_userstatchanges(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, 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:PlayerQuestData) + return target; +} + +size_t PlayerQuestData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerQuestData) + 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 .PlayerQuestData.QuestItemData quest_item_data = 2; + total_size += 1UL * this->_internal_quest_item_data_size(); + for (const auto& msg : this->_impl_.quest_item_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .XpProgressData xp_progress_data = 3; + total_size += 1UL * this->_internal_xp_progress_data_size(); + for (const auto& msg : this->_impl_.xp_progress_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .MatchEndItemUpdates item_updates = 6; + total_size += 1UL * this->_internal_item_updates_size(); + for (const auto& msg : this->_impl_.item_updates_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; + total_size += 1UL * this->_internal_userstatchanges_size(); + for (const auto& msg : this->_impl_.userstatchanges_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 quester_account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quester_account_id()); + } + + // optional uint32 time_played = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_played()); + } + + // optional uint32 mm_game_mode = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); + } + + // optional bool operation_points_eligible = 7; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerQuestData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerQuestData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerQuestData::GetClassData() const { return &_class_data_; } + + +void PlayerQuestData::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:PlayerQuestData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.quest_item_data_.MergeFrom(from._impl_.quest_item_data_); + _this->_impl_.xp_progress_data_.MergeFrom(from._impl_.xp_progress_data_); + _this->_impl_.item_updates_.MergeFrom(from._impl_.item_updates_); + _this->_impl_.userstatchanges_.MergeFrom(from._impl_.userstatchanges_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.quester_account_id_ = from._impl_.quester_account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_played_ = from._impl_.time_played_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.operation_points_eligible_ = from._impl_.operation_points_eligible_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerQuestData::CopyFrom(const PlayerQuestData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerQuestData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerQuestData::IsInitialized() const { + return true; +} + +void PlayerQuestData::InternalSwap(PlayerQuestData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.quest_item_data_.InternalSwap(&other->_impl_.quest_item_data_); + _impl_.xp_progress_data_.InternalSwap(&other->_impl_.xp_progress_data_); + _impl_.item_updates_.InternalSwap(&other->_impl_.item_updates_); + _impl_.userstatchanges_.InternalSwap(&other->_impl_.userstatchanges_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerQuestData, _impl_.operation_points_eligible_) + + sizeof(PlayerQuestData::_impl_.operation_points_eligible_) + - PROTOBUF_FIELD_OFFSET(PlayerQuestData, _impl_.quester_account_id_)>( + reinterpret_cast(&_impl_.quester_account_id_), + reinterpret_cast(&other->_impl_.quester_account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerQuestData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[26]); +} + +// =================================================================== + +class DeepPlayerStatsEntry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mm_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_mapid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_b_starting_ct(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_match_outcome(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_rounds_won(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_rounds_lost(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_stat_score(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_stat_deaths(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_stat_mvps(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_enemy_kills(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_enemy_headshots(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_enemy_2ks(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_enemy_3ks(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_enemy_4ks(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_total_damage(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_engagements_entry_count(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_engagements_entry_wins(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_engagements_1v1_count(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_engagements_1v1_wins(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_engagements_1v2_count(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_engagements_1v2_wins(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_utility_count(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_utility_success(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static void set_has_flash_count(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_flash_success(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } +}; + +DeepPlayerStatsEntry::DeepPlayerStatsEntry(::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:DeepPlayerStatsEntry) +} +DeepPlayerStatsEntry::DeepPlayerStatsEntry(const DeepPlayerStatsEntry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + DeepPlayerStatsEntry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mates_){from._impl_.mates_} + , decltype(_impl_.match_id_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.mm_game_mode_){} + , decltype(_impl_.mapid_){} + , decltype(_impl_.b_starting_ct_){} + , decltype(_impl_.match_outcome_){} + , decltype(_impl_.rounds_won_){} + , decltype(_impl_.rounds_lost_){} + , decltype(_impl_.stat_score_){} + , decltype(_impl_.stat_deaths_){} + , decltype(_impl_.stat_mvps_){} + , decltype(_impl_.enemy_kills_){} + , decltype(_impl_.enemy_headshots_){} + , decltype(_impl_.enemy_2ks_){} + , decltype(_impl_.enemy_3ks_){} + , decltype(_impl_.enemy_4ks_){} + , decltype(_impl_.total_damage_){} + , decltype(_impl_.engagements_entry_count_){} + , decltype(_impl_.engagements_entry_wins_){} + , decltype(_impl_.engagements_1v1_count_){} + , decltype(_impl_.engagements_1v1_wins_){} + , decltype(_impl_.engagements_1v2_count_){} + , decltype(_impl_.engagements_1v2_wins_){} + , decltype(_impl_.utility_count_){} + , decltype(_impl_.utility_success_){} + , decltype(_impl_.flash_count_){} + , decltype(_impl_.flash_success_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, + static_cast(reinterpret_cast(&_impl_.flash_success_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.flash_success_)); + // @@protoc_insertion_point(copy_constructor:DeepPlayerStatsEntry) +} + +inline void DeepPlayerStatsEntry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mates_){arena} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.mm_game_mode_){0u} + , decltype(_impl_.mapid_){0u} + , decltype(_impl_.b_starting_ct_){false} + , decltype(_impl_.match_outcome_){0u} + , decltype(_impl_.rounds_won_){0u} + , decltype(_impl_.rounds_lost_){0u} + , decltype(_impl_.stat_score_){0u} + , decltype(_impl_.stat_deaths_){0u} + , decltype(_impl_.stat_mvps_){0u} + , decltype(_impl_.enemy_kills_){0u} + , decltype(_impl_.enemy_headshots_){0u} + , decltype(_impl_.enemy_2ks_){0u} + , decltype(_impl_.enemy_3ks_){0u} + , decltype(_impl_.enemy_4ks_){0u} + , decltype(_impl_.total_damage_){0u} + , decltype(_impl_.engagements_entry_count_){0u} + , decltype(_impl_.engagements_entry_wins_){0u} + , decltype(_impl_.engagements_1v1_count_){0u} + , decltype(_impl_.engagements_1v1_wins_){0u} + , decltype(_impl_.engagements_1v2_count_){0u} + , decltype(_impl_.engagements_1v2_wins_){0u} + , decltype(_impl_.utility_count_){0u} + , decltype(_impl_.utility_success_){0u} + , decltype(_impl_.flash_count_){0u} + , decltype(_impl_.flash_success_){0u} + }; +} + +DeepPlayerStatsEntry::~DeepPlayerStatsEntry() { + // @@protoc_insertion_point(destructor:DeepPlayerStatsEntry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void DeepPlayerStatsEntry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mates_.~RepeatedField(); +} + +void DeepPlayerStatsEntry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void DeepPlayerStatsEntry::Clear() { +// @@protoc_insertion_point(message_clear_start:DeepPlayerStatsEntry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mates_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.match_id_, 0, static_cast( + reinterpret_cast(&_impl_.rounds_lost_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.rounds_lost_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.stat_score_, 0, static_cast( + reinterpret_cast(&_impl_.enemy_4ks_) - + reinterpret_cast(&_impl_.stat_score_)) + sizeof(_impl_.enemy_4ks_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.total_damage_, 0, static_cast( + reinterpret_cast(&_impl_.utility_count_) - + reinterpret_cast(&_impl_.total_damage_)) + sizeof(_impl_.utility_count_)); + } + if (cached_has_bits & 0x07000000u) { + ::memset(&_impl_.utility_success_, 0, static_cast( + reinterpret_cast(&_impl_.flash_success_) - + reinterpret_cast(&_impl_.utility_success_)) + sizeof(_impl_.flash_success_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DeepPlayerStatsEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mm_game_mode = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_mm_game_mode(&has_bits); + _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mapid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_mapid(&has_bits); + _impl_.mapid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool b_starting_ct = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_b_starting_ct(&has_bits); + _impl_.b_starting_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 match_outcome = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_match_outcome(&has_bits); + _impl_.match_outcome_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds_won = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_rounds_won(&has_bits); + _impl_.rounds_won_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds_lost = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_rounds_lost(&has_bits); + _impl_.rounds_lost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 stat_score = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_stat_score(&has_bits); + _impl_.stat_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 stat_deaths = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_stat_deaths(&has_bits); + _impl_.stat_deaths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 stat_mvps = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_stat_mvps(&has_bits); + _impl_.stat_mvps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enemy_kills = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_enemy_kills(&has_bits); + _impl_.enemy_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enemy_headshots = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_enemy_headshots(&has_bits); + _impl_.enemy_headshots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enemy_2ks = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_enemy_2ks(&has_bits); + _impl_.enemy_2ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enemy_3ks = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_enemy_3ks(&has_bits); + _impl_.enemy_3ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enemy_4ks = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_enemy_4ks(&has_bits); + _impl_.enemy_4ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 total_damage = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_total_damage(&has_bits); + _impl_.total_damage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_entry_count = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_engagements_entry_count(&has_bits); + _impl_.engagements_entry_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_entry_wins = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { + _Internal::set_has_engagements_entry_wins(&has_bits); + _impl_.engagements_entry_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_1v1_count = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { + _Internal::set_has_engagements_1v1_count(&has_bits); + _impl_.engagements_1v1_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_1v1_wins = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { + _Internal::set_has_engagements_1v1_wins(&has_bits); + _impl_.engagements_1v1_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_1v2_count = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_engagements_1v2_count(&has_bits); + _impl_.engagements_1v2_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 engagements_1v2_wins = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { + _Internal::set_has_engagements_1v2_wins(&has_bits); + _impl_.engagements_1v2_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 utility_count = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_utility_count(&has_bits); + _impl_.utility_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 utility_success = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_utility_success(&has_bits); + _impl_.utility_success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flash_count = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_flash_count(&has_bits); + _impl_.flash_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flash_success = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_flash_success(&has_bits); + _impl_.flash_success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 mates = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_mates(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<272>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_mates(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DeepPlayerStatsEntry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:DeepPlayerStatsEntry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint64 match_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_match_id(), target); + } + + // optional uint32 mm_game_mode = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_mm_game_mode(), target); + } + + // optional uint32 mapid = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mapid(), target); + } + + // optional bool b_starting_ct = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_b_starting_ct(), target); + } + + // optional uint32 match_outcome = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_match_outcome(), target); + } + + // optional uint32 rounds_won = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rounds_won(), target); + } + + // optional uint32 rounds_lost = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_rounds_lost(), target); + } + + // optional uint32 stat_score = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_stat_score(), target); + } + + // optional uint32 stat_deaths = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_stat_deaths(), target); + } + + // optional uint32 stat_mvps = 13; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_stat_mvps(), target); + } + + // optional uint32 enemy_kills = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_enemy_kills(), target); + } + + // optional uint32 enemy_headshots = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_enemy_headshots(), target); + } + + // optional uint32 enemy_2ks = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_enemy_2ks(), target); + } + + // optional uint32 enemy_3ks = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_enemy_3ks(), target); + } + + // optional uint32 enemy_4ks = 18; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_enemy_4ks(), target); + } + + // optional uint32 total_damage = 19; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_total_damage(), target); + } + + // optional uint32 engagements_entry_count = 23; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_engagements_entry_count(), target); + } + + // optional uint32 engagements_entry_wins = 24; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_engagements_entry_wins(), target); + } + + // optional uint32 engagements_1v1_count = 25; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_engagements_1v1_count(), target); + } + + // optional uint32 engagements_1v1_wins = 26; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_engagements_1v1_wins(), target); + } + + // optional uint32 engagements_1v2_count = 27; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_engagements_1v2_count(), target); + } + + // optional uint32 engagements_1v2_wins = 28; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(28, this->_internal_engagements_1v2_wins(), target); + } + + // optional uint32 utility_count = 29; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(29, this->_internal_utility_count(), target); + } + + // optional uint32 utility_success = 30; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_utility_success(), target); + } + + // optional uint32 flash_count = 32; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_flash_count(), target); + } + + // optional uint32 flash_success = 33; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_flash_success(), target); + } + + // repeated uint32 mates = 34; + for (int i = 0, n = this->_internal_mates_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_mates(i), 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:DeepPlayerStatsEntry) + return target; +} + +size_t DeepPlayerStatsEntry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:DeepPlayerStatsEntry) + 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 uint32 mates = 34; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.mates_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_mates_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 match_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 mm_game_mode = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); + } + + // optional uint32 mapid = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mapid()); + } + + // optional bool b_starting_ct = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional uint32 match_outcome = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_outcome()); + } + + // optional uint32 rounds_won = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_won()); + } + + // optional uint32 rounds_lost = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_lost()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 stat_score = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_score()); + } + + // optional uint32 stat_deaths = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_deaths()); + } + + // optional uint32 stat_mvps = 13; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_mvps()); + } + + // optional uint32 enemy_kills = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enemy_kills()); + } + + // optional uint32 enemy_headshots = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enemy_headshots()); + } + + // optional uint32 enemy_2ks = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enemy_2ks()); + } + + // optional uint32 enemy_3ks = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enemy_3ks()); + } + + // optional uint32 enemy_4ks = 18; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enemy_4ks()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional uint32 total_damage = 19; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_total_damage()); + } + + // optional uint32 engagements_entry_count = 23; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_entry_count()); + } + + // optional uint32 engagements_entry_wins = 24; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_entry_wins()); + } + + // optional uint32 engagements_1v1_count = 25; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_1v1_count()); + } + + // optional uint32 engagements_1v1_wins = 26; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_1v1_wins()); + } + + // optional uint32 engagements_1v2_count = 27; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_1v2_count()); + } + + // optional uint32 engagements_1v2_wins = 28; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_engagements_1v2_wins()); + } + + // optional uint32 utility_count = 29; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_utility_count()); + } + + } + if (cached_has_bits & 0x07000000u) { + // optional uint32 utility_success = 30; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_utility_success()); + } + + // optional uint32 flash_count = 32; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flash_count()); + } + + // optional uint32 flash_success = 33; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flash_success()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeepPlayerStatsEntry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + DeepPlayerStatsEntry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeepPlayerStatsEntry::GetClassData() const { return &_class_data_; } + + +void DeepPlayerStatsEntry::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:DeepPlayerStatsEntry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.mates_.MergeFrom(from._impl_.mates_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.mapid_ = from._impl_.mapid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.b_starting_ct_ = from._impl_.b_starting_ct_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.match_outcome_ = from._impl_.match_outcome_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.rounds_won_ = from._impl_.rounds_won_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.rounds_lost_ = from._impl_.rounds_lost_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.stat_score_ = from._impl_.stat_score_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.stat_deaths_ = from._impl_.stat_deaths_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.stat_mvps_ = from._impl_.stat_mvps_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.enemy_kills_ = from._impl_.enemy_kills_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.enemy_headshots_ = from._impl_.enemy_headshots_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.enemy_2ks_ = from._impl_.enemy_2ks_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.enemy_3ks_ = from._impl_.enemy_3ks_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.enemy_4ks_ = from._impl_.enemy_4ks_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.total_damage_ = from._impl_.total_damage_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.engagements_entry_count_ = from._impl_.engagements_entry_count_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.engagements_entry_wins_ = from._impl_.engagements_entry_wins_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.engagements_1v1_count_ = from._impl_.engagements_1v1_count_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.engagements_1v1_wins_ = from._impl_.engagements_1v1_wins_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.engagements_1v2_count_ = from._impl_.engagements_1v2_count_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.engagements_1v2_wins_ = from._impl_.engagements_1v2_wins_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.utility_count_ = from._impl_.utility_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x07000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.utility_success_ = from._impl_.utility_success_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.flash_count_ = from._impl_.flash_count_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.flash_success_ = from._impl_.flash_success_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DeepPlayerStatsEntry::CopyFrom(const DeepPlayerStatsEntry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:DeepPlayerStatsEntry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeepPlayerStatsEntry::IsInitialized() const { + return true; +} + +void DeepPlayerStatsEntry::InternalSwap(DeepPlayerStatsEntry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.mates_.InternalSwap(&other->_impl_.mates_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeepPlayerStatsEntry, _impl_.flash_success_) + + sizeof(DeepPlayerStatsEntry::_impl_.flash_success_) + - PROTOBUF_FIELD_OFFSET(DeepPlayerStatsEntry, _impl_.match_id_)>( + reinterpret_cast(&_impl_.match_id_), + reinterpret_cast(&other->_impl_.match_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DeepPlayerStatsEntry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[27]); +} + +// =================================================================== + +class DeepPlayerMatchEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_event_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_b_playing_ct(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_user_pos_x(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_user_pos_y(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_user_pos_z(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_user_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_other_pos_x(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_other_pos_y(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_other_pos_z(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_other_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_event_data(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +DeepPlayerMatchEvent::DeepPlayerMatchEvent(::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:DeepPlayerMatchEvent) +} +DeepPlayerMatchEvent::DeepPlayerMatchEvent(const DeepPlayerMatchEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + DeepPlayerMatchEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_id_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.event_id_){} + , decltype(_impl_.event_type_){} + , decltype(_impl_.b_playing_ct_){} + , decltype(_impl_.user_pos_x_){} + , decltype(_impl_.user_pos_y_){} + , decltype(_impl_.user_defidx_){} + , decltype(_impl_.other_pos_x_){} + , decltype(_impl_.other_pos_y_){} + , decltype(_impl_.other_defidx_){} + , decltype(_impl_.user_pos_z_){} + , decltype(_impl_.other_pos_z_){} + , decltype(_impl_.event_data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, + static_cast(reinterpret_cast(&_impl_.event_data_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.event_data_)); + // @@protoc_insertion_point(copy_constructor:DeepPlayerMatchEvent) +} + +inline void DeepPlayerMatchEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.event_id_){0u} + , decltype(_impl_.event_type_){0u} + , decltype(_impl_.b_playing_ct_){false} + , decltype(_impl_.user_pos_x_){0} + , decltype(_impl_.user_pos_y_){0} + , decltype(_impl_.user_defidx_){0u} + , decltype(_impl_.other_pos_x_){0} + , decltype(_impl_.other_pos_y_){0} + , decltype(_impl_.other_defidx_){0u} + , decltype(_impl_.user_pos_z_){0} + , decltype(_impl_.other_pos_z_){0} + , decltype(_impl_.event_data_){0} + }; +} + +DeepPlayerMatchEvent::~DeepPlayerMatchEvent() { + // @@protoc_insertion_point(destructor:DeepPlayerMatchEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void DeepPlayerMatchEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void DeepPlayerMatchEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void DeepPlayerMatchEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:DeepPlayerMatchEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.match_id_, 0, static_cast( + reinterpret_cast(&_impl_.user_defidx_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.user_defidx_)); + } + if (cached_has_bits & 0x00003f00u) { + ::memset(&_impl_.other_pos_x_, 0, static_cast( + reinterpret_cast(&_impl_.event_data_) - + reinterpret_cast(&_impl_.other_pos_x_)) + sizeof(_impl_.event_data_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DeepPlayerMatchEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 event_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 event_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_event_type(&has_bits); + _impl_.event_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool b_playing_ct = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_b_playing_ct(&has_bits); + _impl_.b_playing_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_pos_x = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_user_pos_x(&has_bits); + _impl_.user_pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_pos_y = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_user_pos_y(&has_bits); + _impl_.user_pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 user_defidx = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_user_defidx(&has_bits); + _impl_.user_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 other_pos_x = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_other_pos_x(&has_bits); + _impl_.other_pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 other_pos_y = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_other_pos_y(&has_bits); + _impl_.other_pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 other_defidx = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_other_defidx(&has_bits); + _impl_.other_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_pos_z = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_user_pos_z(&has_bits); + _impl_.user_pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 other_pos_z = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_other_pos_z(&has_bits); + _impl_.other_pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 event_data = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_event_data(&has_bits); + _impl_.event_data_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* DeepPlayerMatchEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:DeepPlayerMatchEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint64 match_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_match_id(), target); + } + + // optional uint32 event_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_event_id(), target); + } + + // optional uint32 event_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_type(), target); + } + + // optional bool b_playing_ct = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_b_playing_ct(), target); + } + + // optional int32 user_pos_x = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_user_pos_x(), target); + } + + // optional int32 user_pos_y = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_user_pos_y(), target); + } + + // optional uint32 user_defidx = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_user_defidx(), target); + } + + // optional int32 other_pos_x = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_other_pos_x(), target); + } + + // optional int32 other_pos_y = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_other_pos_y(), target); + } + + // optional uint32 other_defidx = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_other_defidx(), target); + } + + // optional int32 user_pos_z = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_user_pos_z(), target); + } + + // optional int32 other_pos_z = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_other_pos_z(), target); + } + + // optional int32 event_data = 14; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_event_data(), 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:DeepPlayerMatchEvent) + return target; +} + +size_t DeepPlayerMatchEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:DeepPlayerMatchEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 match_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 event_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + + // optional uint32 event_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_type()); + } + + // optional bool b_playing_ct = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional int32 user_pos_x = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_x()); + } + + // optional int32 user_pos_y = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_y()); + } + + // optional uint32 user_defidx = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_user_defidx()); + } + + } + if (cached_has_bits & 0x00003f00u) { + // optional int32 other_pos_x = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_x()); + } + + // optional int32 other_pos_y = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_y()); + } + + // optional uint32 other_defidx = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_other_defidx()); + } + + // optional int32 user_pos_z = 12; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_z()); + } + + // optional int32 other_pos_z = 13; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_z()); + } + + // optional int32 event_data = 14; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeepPlayerMatchEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + DeepPlayerMatchEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeepPlayerMatchEvent::GetClassData() const { return &_class_data_; } + + +void DeepPlayerMatchEvent::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:DeepPlayerMatchEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.event_type_ = from._impl_.event_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.b_playing_ct_ = from._impl_.b_playing_ct_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.user_pos_x_ = from._impl_.user_pos_x_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.user_pos_y_ = from._impl_.user_pos_y_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.user_defidx_ = from._impl_.user_defidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.other_pos_x_ = from._impl_.other_pos_x_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.other_pos_y_ = from._impl_.other_pos_y_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.other_defidx_ = from._impl_.other_defidx_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.user_pos_z_ = from._impl_.user_pos_z_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.other_pos_z_ = from._impl_.other_pos_z_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.event_data_ = from._impl_.event_data_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DeepPlayerMatchEvent::CopyFrom(const DeepPlayerMatchEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:DeepPlayerMatchEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeepPlayerMatchEvent::IsInitialized() const { + return true; +} + +void DeepPlayerMatchEvent::InternalSwap(DeepPlayerMatchEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeepPlayerMatchEvent, _impl_.event_data_) + + sizeof(DeepPlayerMatchEvent::_impl_.event_data_) + - PROTOBUF_FIELD_OFFSET(DeepPlayerMatchEvent, _impl_.match_id_)>( + reinterpret_cast(&_impl_.match_id_), + reinterpret_cast(&other->_impl_.match_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DeepPlayerMatchEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[28]); +} + +// =================================================================== + +class CMsgGC_ServerQuestUpdateData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_binary_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mm_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::ScoreLeaderboardData& missionlbsdata(const CMsgGC_ServerQuestUpdateData* msg); + static void set_has_missionlbsdata(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::ScoreLeaderboardData& +CMsgGC_ServerQuestUpdateData::_Internal::missionlbsdata(const CMsgGC_ServerQuestUpdateData* msg) { + return *msg->_impl_.missionlbsdata_; +} +CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData(::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:CMsgGC_ServerQuestUpdateData) +} +CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData(const CMsgGC_ServerQuestUpdateData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGC_ServerQuestUpdateData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_quest_data_){from._impl_.player_quest_data_} + , decltype(_impl_.binary_data_){} + , decltype(_impl_.missionlbsdata_){nullptr} + , decltype(_impl_.mm_game_mode_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.binary_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.binary_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_binary_data()) { + _this->_impl_.binary_data_.Set(from._internal_binary_data(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_missionlbsdata()) { + _this->_impl_.missionlbsdata_ = new ::ScoreLeaderboardData(*from._impl_.missionlbsdata_); + } + ::memcpy(&_impl_.mm_game_mode_, &from._impl_.mm_game_mode_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.mm_game_mode_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CMsgGC_ServerQuestUpdateData) +} + +inline void CMsgGC_ServerQuestUpdateData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_quest_data_){arena} + , decltype(_impl_.binary_data_){} + , decltype(_impl_.missionlbsdata_){nullptr} + , decltype(_impl_.mm_game_mode_){0u} + , decltype(_impl_.flags_){0u} + }; + _impl_.binary_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.binary_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGC_ServerQuestUpdateData::~CMsgGC_ServerQuestUpdateData() { + // @@protoc_insertion_point(destructor:CMsgGC_ServerQuestUpdateData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGC_ServerQuestUpdateData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.player_quest_data_.~RepeatedPtrField(); + _impl_.binary_data_.Destroy(); + if (this != internal_default_instance()) delete _impl_.missionlbsdata_; +} + +void CMsgGC_ServerQuestUpdateData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGC_ServerQuestUpdateData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGC_ServerQuestUpdateData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_quest_data_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.binary_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.missionlbsdata_ != nullptr); + _impl_.missionlbsdata_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.mm_game_mode_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.mm_game_mode_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGC_ServerQuestUpdateData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .PlayerQuestData player_quest_data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_player_quest_data(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional bytes binary_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_binary_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mm_game_mode = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_mm_game_mode(&has_bits); + _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .ScoreLeaderboardData missionlbsdata = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_missionlbsdata(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGC_ServerQuestUpdateData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_ServerQuestUpdateData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .PlayerQuestData player_quest_data = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_player_quest_data_size()); i < n; i++) { + const auto& repfield = this->_internal_player_quest_data(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes binary_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_binary_data(), target); + } + + // optional uint32 mm_game_mode = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_mm_game_mode(), target); + } + + // optional .ScoreLeaderboardData missionlbsdata = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::missionlbsdata(this), + _Internal::missionlbsdata(this).GetCachedSize(), target, stream); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), 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:CMsgGC_ServerQuestUpdateData) + return target; +} + +size_t CMsgGC_ServerQuestUpdateData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGC_ServerQuestUpdateData) + 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 .PlayerQuestData player_quest_data = 1; + total_size += 1UL * this->_internal_player_quest_data_size(); + for (const auto& msg : this->_impl_.player_quest_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes binary_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_binary_data()); + } + + // optional .ScoreLeaderboardData missionlbsdata = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.missionlbsdata_); + } + + // optional uint32 mm_game_mode = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_ServerQuestUpdateData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGC_ServerQuestUpdateData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_ServerQuestUpdateData::GetClassData() const { return &_class_data_; } + + +void CMsgGC_ServerQuestUpdateData::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:CMsgGC_ServerQuestUpdateData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.player_quest_data_.MergeFrom(from._impl_.player_quest_data_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_binary_data(from._internal_binary_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_missionlbsdata()->::ScoreLeaderboardData::MergeFrom( + from._internal_missionlbsdata()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGC_ServerQuestUpdateData::CopyFrom(const CMsgGC_ServerQuestUpdateData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_ServerQuestUpdateData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGC_ServerQuestUpdateData::IsInitialized() const { + return true; +} + +void CMsgGC_ServerQuestUpdateData::InternalSwap(CMsgGC_ServerQuestUpdateData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.player_quest_data_.InternalSwap(&other->_impl_.player_quest_data_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.binary_data_, lhs_arena, + &other->_impl_.binary_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGC_ServerQuestUpdateData, _impl_.flags_) + + sizeof(CMsgGC_ServerQuestUpdateData::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CMsgGC_ServerQuestUpdateData, _impl_.missionlbsdata_)>( + reinterpret_cast(&_impl_.missionlbsdata_), + reinterpret_cast(&other->_impl_.missionlbsdata_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_ServerQuestUpdateData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[29]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_stamp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_exchange(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_retry(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::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:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) +} +CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + , decltype(_impl_.stamp_){} + , decltype(_impl_.exchange_){} + , decltype(_impl_.retry_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.token_, &from._impl_.token_, + static_cast(reinterpret_cast(&_impl_.retry_) - + reinterpret_cast(&_impl_.token_)) + sizeof(_impl_.retry_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){0u} + , decltype(_impl_.stamp_){0u} + , decltype(_impl_.exchange_){uint64_t{0u}} + , decltype(_impl_.retry_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.token_, 0, static_cast( + reinterpret_cast(&_impl_.retry_) - + reinterpret_cast(&_impl_.token_)) + sizeof(_impl_.retry_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 token = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_token(&has_bits); + _impl_.token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 stamp = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_stamp(&has_bits); + _impl_.stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 exchange = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_exchange(&has_bits); + _impl_.exchange_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 retry = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_retry(&has_bits); + _impl_.retry_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 token = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_token(), target); + } + + // optional uint32 stamp = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_stamp(), target); + } + + // optional uint64 exchange = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_exchange(), target); + } + + // optional uint32 retry = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_retry(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 token = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); + } + + // optional uint32 stamp = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stamp()); + } + + // optional uint64 exchange = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_exchange()); + } + + // optional uint32 retry = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_retry()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::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:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.token_ = from._impl_.token_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.stamp_ = from._impl_.stamp_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.exchange_ = from._impl_.exchange_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.retry_ = from._impl_.retry_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.retry_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_impl_.retry_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.token_)>( + reinterpret_cast(&_impl_.token_), + reinterpret_cast(&other->_impl_.token_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[30]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_viewers_external_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_viewers_external_steam(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::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:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) +} +CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ServerReservationUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.viewers_external_total_){} + , decltype(_impl_.viewers_external_steam_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.viewers_external_total_, &from._impl_.viewers_external_total_, + static_cast(reinterpret_cast(&_impl_.viewers_external_steam_) - + reinterpret_cast(&_impl_.viewers_external_total_)) + sizeof(_impl_.viewers_external_steam_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) +} + +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.viewers_external_total_){0u} + , decltype(_impl_.viewers_external_steam_){0u} + }; +} + +CMsgGCCStrike15_v2_GC2ServerReservationUpdate::~CMsgGCCStrike15_v2_GC2ServerReservationUpdate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.viewers_external_total_, 0, static_cast( + reinterpret_cast(&_impl_.viewers_external_steam_) - + reinterpret_cast(&_impl_.viewers_external_total_)) + sizeof(_impl_.viewers_external_steam_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 viewers_external_total = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_viewers_external_total(&has_bits); + _impl_.viewers_external_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 viewers_external_steam = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_viewers_external_steam(&has_bits); + _impl_.viewers_external_steam_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 viewers_external_total = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_viewers_external_total(), target); + } + + // optional uint32 viewers_external_steam = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_viewers_external_steam(), 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:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 viewers_external_total = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_viewers_external_total()); + } + + // optional uint32 viewers_external_steam = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_viewers_external_steam()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ServerReservationUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ServerReservationUpdate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::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:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.viewers_external_total_ = from._impl_.viewers_external_total_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.viewers_external_steam_ = from._impl_.viewers_external_steam_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CopyFrom(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::InternalSwap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_steam_) + + sizeof(CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_impl_.viewers_external_steam_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_total_)>( + reinterpret_cast(&_impl_.viewers_external_total_), + reinterpret_cast(&other->_impl_.viewers_external_total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ServerReservationUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[31]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingStart::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ticket_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client_version(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::TournamentMatchSetup& tournament_match(const CMsgGCCStrike15_v2_MatchmakingStart* msg); + static void set_has_tournament_match(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_prime_only(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tv_control(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_lobby_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +const ::TournamentMatchSetup& +CMsgGCCStrike15_v2_MatchmakingStart::_Internal::tournament_match(const CMsgGCCStrike15_v2_MatchmakingStart* msg) { + return *msg->_impl_.tournament_match_; +} +CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart(::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:CMsgGCCStrike15_v2_MatchmakingStart) +} +CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart(const CMsgGCCStrike15_v2_MatchmakingStart& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingStart* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){from._impl_.account_ids_} + , decltype(_impl_.ticket_data_){} + , decltype(_impl_.tournament_match_){nullptr} + , decltype(_impl_.game_type_){} + , decltype(_impl_.client_version_){} + , decltype(_impl_.prime_only_){} + , decltype(_impl_.tv_control_){} + , decltype(_impl_.lobby_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ticket_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ticket_data()) { + _this->_impl_.ticket_data_.Set(from._internal_ticket_data(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_tournament_match()) { + _this->_impl_.tournament_match_ = new ::TournamentMatchSetup(*from._impl_.tournament_match_); + } + ::memcpy(&_impl_.game_type_, &from._impl_.game_type_, + static_cast(reinterpret_cast(&_impl_.lobby_id_) - + reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.lobby_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingStart) +} + +inline void CMsgGCCStrike15_v2_MatchmakingStart::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){arena} + , decltype(_impl_.ticket_data_){} + , decltype(_impl_.tournament_match_){nullptr} + , decltype(_impl_.game_type_){0u} + , decltype(_impl_.client_version_){0u} + , decltype(_impl_.prime_only_){false} + , decltype(_impl_.tv_control_){0u} + , decltype(_impl_.lobby_id_){uint64_t{0u}} + }; + _impl_.ticket_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingStart::~CMsgGCCStrike15_v2_MatchmakingStart() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingStart) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingStart::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_ids_.~RepeatedField(); + _impl_.ticket_data_.Destroy(); + if (this != internal_default_instance()) delete _impl_.tournament_match_; +} + +void CMsgGCCStrike15_v2_MatchmakingStart::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingStart::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingStart) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_ids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.ticket_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.tournament_match_ != nullptr); + _impl_.tournament_match_->Clear(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.game_type_, 0, static_cast( + reinterpret_cast(&_impl_.lobby_id_) - + reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.lobby_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingStart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated uint32 account_ids = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string ticket_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_ticket_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingStart.ticket_data"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 client_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_client_version(&has_bits); + _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .TournamentMatchSetup tournament_match = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_tournament_match(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool prime_only = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_prime_only(&has_bits); + _impl_.prime_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_control = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_tv_control(&has_bits); + _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 lobby_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_lobby_id(&has_bits); + _impl_.lobby_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingStart::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingStart) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated uint32 account_ids = 1; + for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_ids(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 game_type = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_game_type(), target); + } + + // optional string ticket_data = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_ticket_data().data(), static_cast(this->_internal_ticket_data().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingStart.ticket_data"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_ticket_data(), target); + } + + // optional uint32 client_version = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_version(), target); + } + + // optional .TournamentMatchSetup tournament_match = 5; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::tournament_match(this), + _Internal::tournament_match(this).GetCachedSize(), target, stream); + } + + // optional bool prime_only = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_prime_only(), target); + } + + // optional uint32 tv_control = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tv_control(), target); + } + + // optional uint64 lobby_id = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_lobby_id(), 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:CMsgGCCStrike15_v2_MatchmakingStart) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingStart::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingStart) + 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 uint32 account_ids = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_account_ids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string ticket_data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ticket_data()); + } + + // optional .TournamentMatchSetup tournament_match = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tournament_match_); + } + + // optional uint32 game_type = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + // optional uint32 client_version = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); + } + + // optional bool prime_only = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional uint32 tv_control = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_control()); + } + + // optional uint64 lobby_id = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_lobby_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingStart::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingStart::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingStart::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingStart::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:CMsgGCCStrike15_v2_MatchmakingStart) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_ticket_data(from._internal_ticket_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_tournament_match()->::TournamentMatchSetup::MergeFrom( + from._internal_tournament_match()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_version_ = from._impl_.client_version_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.prime_only_ = from._impl_.prime_only_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tv_control_ = from._impl_.tv_control_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.lobby_id_ = from._impl_.lobby_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingStart::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStart& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingStart) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingStart::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingStart::InternalSwap(CMsgGCCStrike15_v2_MatchmakingStart* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ticket_data_, lhs_arena, + &other->_impl_.ticket_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingStart, _impl_.lobby_id_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingStart::_impl_.lobby_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tournament_match_)>( + reinterpret_cast(&_impl_.tournament_match_), + reinterpret_cast(&other->_impl_.tournament_match_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingStart::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[32]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingStop::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_abandon(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop(::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:CMsgGCCStrike15_v2_MatchmakingStop) +} +CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop(const CMsgGCCStrike15_v2_MatchmakingStop& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingStop* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.abandon_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.abandon_ = from._impl_.abandon_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingStop) +} + +inline void CMsgGCCStrike15_v2_MatchmakingStop::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.abandon_){0} + }; +} + +CMsgGCCStrike15_v2_MatchmakingStop::~CMsgGCCStrike15_v2_MatchmakingStop() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingStop) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingStop::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchmakingStop::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingStop::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingStop) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.abandon_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingStop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 abandon = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_abandon(&has_bits); + _impl_.abandon_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingStop::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingStop) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 abandon = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_abandon(), 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:CMsgGCCStrike15_v2_MatchmakingStop) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingStop::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingStop) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 abandon = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_abandon()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingStop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingStop::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingStop::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingStop::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:CMsgGCCStrike15_v2_MatchmakingStop) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_abandon()) { + _this->_internal_set_abandon(from._internal_abandon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingStop::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStop& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingStop) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingStop::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingStop::InternalSwap(CMsgGCCStrike15_v2_MatchmakingStop* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.abandon_, other->_impl_.abandon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingStop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[33]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_region_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_region_r(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_distance(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.region_id_){} + , decltype(_impl_.region_r_){} + , decltype(_impl_.distance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.distance_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.distance_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){0} + , decltype(_impl_.region_id_){0} + , decltype(_impl_.region_r_){0} + , decltype(_impl_.distance_){0} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.distance_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.distance_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 region_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_region_id(&has_bits); + _impl_.region_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float region_r = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_region_r(&has_bits); + _impl_.region_r_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float distance = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_distance(&has_bits); + _impl_.distance_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional int32 region_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_region_id(), target); + } + + // optional float region_r = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_region_r(), target); + } + + // optional float distance = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_distance(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional int32 region_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_region_id()); + } + + // optional float region_r = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float distance = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.region_id_ = from._impl_.region_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.region_r_ = from._impl_.region_r_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.distance_ = from._impl_.distance_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.distance_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_impl_.distance_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[34]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_offset_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_final_batch(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_max_ping(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_test_token(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_search_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_debug_message(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::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:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) +} +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserverpings_){from._impl_.gameserverpings_} + , decltype(_impl_.data_center_pings_){from._impl_.data_center_pings_} + , decltype(_impl_.notes_){from._impl_.notes_} + , decltype(_impl_.search_key_){} + , decltype(_impl_.debug_message_){} + , decltype(_impl_.offset_index_){} + , decltype(_impl_.final_batch_){} + , decltype(_impl_.max_ping_){} + , decltype(_impl_.test_token_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.search_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.search_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_search_key()) { + _this->_impl_.search_key_.Set(from._internal_search_key(), + _this->GetArenaForAllocation()); + } + _impl_.debug_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_debug_message()) { + _this->_impl_.debug_message_.Set(from._internal_debug_message(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.offset_index_, &from._impl_.offset_index_, + static_cast(reinterpret_cast(&_impl_.test_token_) - + reinterpret_cast(&_impl_.offset_index_)) + sizeof(_impl_.test_token_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) +} + +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserverpings_){arena} + , decltype(_impl_.data_center_pings_){arena} + , decltype(_impl_.notes_){arena} + , decltype(_impl_.search_key_){} + , decltype(_impl_.debug_message_){} + , decltype(_impl_.offset_index_){0} + , decltype(_impl_.final_batch_){0} + , decltype(_impl_.max_ping_){0u} + , decltype(_impl_.test_token_){0u} + }; + _impl_.search_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.search_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::~CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gameserverpings_.~RepeatedPtrField(); + _impl_.data_center_pings_.~RepeatedPtrField(); + _impl_.notes_.~RepeatedPtrField(); + _impl_.search_key_.Destroy(); + _impl_.debug_message_.Destroy(); +} + +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.gameserverpings_.Clear(); + _impl_.data_center_pings_.Clear(); + _impl_.notes_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.search_key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.debug_message_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.offset_index_, 0, static_cast( + reinterpret_cast(&_impl_.test_token_) - + reinterpret_cast(&_impl_.offset_index_)) + sizeof(_impl_.test_token_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .GameServerPing gameserverpings = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_gameserverpings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 offset_index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_offset_index(&has_bits); + _impl_.offset_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 final_batch = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_final_batch(&has_bits); + _impl_.final_batch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .DataCenterPing data_center_pings = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_data_center_pings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 max_ping = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_max_ping(&has_bits); + _impl_.max_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 test_token = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_test_token(&has_bits); + _impl_.test_token_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes search_key = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_search_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_notes(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); + } else + goto handle_unusual; + continue; + // optional string debug_message = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_debug_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .GameServerPing gameserverpings = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_gameserverpings_size()); i < n; i++) { + const auto& repfield = this->_internal_gameserverpings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 offset_index = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_offset_index(), target); + } + + // optional int32 final_batch = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_final_batch(), target); + } + + // repeated .DataCenterPing data_center_pings = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_data_center_pings_size()); i < n; i++) { + const auto& repfield = this->_internal_data_center_pings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 max_ping = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_max_ping(), target); + } + + // optional fixed32 test_token = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_test_token(), target); + } + + // optional bytes search_key = 7; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 7, this->_internal_search_key(), target); + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; + for (unsigned i = 0, + n = static_cast(this->_internal_notes_size()); i < n; i++) { + const auto& repfield = this->_internal_notes(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string debug_message = 9; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_debug_message().data(), static_cast(this->_internal_debug_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_debug_message(), 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:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + 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 .GameServerPing gameserverpings = 1; + total_size += 1UL * this->_internal_gameserverpings_size(); + for (const auto& msg : this->_impl_.gameserverpings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .DataCenterPing data_center_pings = 4; + total_size += 1UL * this->_internal_data_center_pings_size(); + for (const auto& msg : this->_impl_.data_center_pings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; + total_size += 1UL * this->_internal_notes_size(); + for (const auto& msg : this->_impl_.notes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional bytes search_key = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_search_key()); + } + + // optional string debug_message = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_debug_message()); + } + + // optional int32 offset_index = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_offset_index()); + } + + // optional int32 final_batch = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_final_batch()); + } + + // optional uint32 max_ping = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_ping()); + } + + // optional fixed32 test_token = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::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:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.gameserverpings_.MergeFrom(from._impl_.gameserverpings_); + _this->_impl_.data_center_pings_.MergeFrom(from._impl_.data_center_pings_); + _this->_impl_.notes_.MergeFrom(from._impl_.notes_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_search_key(from._internal_search_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_debug_message(from._internal_debug_message()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.offset_index_ = from._impl_.offset_index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.final_batch_ = from._impl_.final_batch_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.max_ping_ = from._impl_.max_ping_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.test_token_ = from._impl_.test_token_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::InternalSwap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.gameserverpings_.InternalSwap(&other->_impl_.gameserverpings_); + _impl_.data_center_pings_.InternalSwap(&other->_impl_.data_center_pings_); + _impl_.notes_.InternalSwap(&other->_impl_.notes_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.search_key_, lhs_arena, + &other->_impl_.search_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.debug_message_, lhs_arena, + &other->_impl_.debug_message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.test_token_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_impl_.test_token_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.offset_index_)>( + reinterpret_cast(&_impl_.offset_index_), + reinterpret_cast(&other->_impl_.offset_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[35]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_matchmaking(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_error(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::GlobalStatistics& global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg); + static void set_has_global_stats(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::IpAddressMask& server_ipaddress_mask(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg); + static void set_has_server_ipaddress_mask(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::GlobalStatistics& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal::global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg) { + return *msg->_impl_.global_stats_; +} +const ::IpAddressMask& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal::server_ipaddress_mask(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg) { + return *msg->_impl_.server_ipaddress_mask_; +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.waiting_account_id_sessions_){from._impl_.waiting_account_id_sessions_} + , decltype(_impl_.ongoingmatch_account_id_sessions_){from._impl_.ongoingmatch_account_id_sessions_} + , decltype(_impl_.failping_account_id_sessions_){from._impl_.failping_account_id_sessions_} + , decltype(_impl_.penalty_account_id_sessions_){from._impl_.penalty_account_id_sessions_} + , decltype(_impl_.failready_account_id_sessions_){from._impl_.failready_account_id_sessions_} + , decltype(_impl_.vacbanned_account_id_sessions_){from._impl_.vacbanned_account_id_sessions_} + , decltype(_impl_.notes_){from._impl_.notes_} + , decltype(_impl_.penalty_account_id_sessions_green_){from._impl_.penalty_account_id_sessions_green_} + , decltype(_impl_.insufficientlevel_sessions_){from._impl_.insufficientlevel_sessions_} + , decltype(_impl_.vsncheck_account_id_sessions_){from._impl_.vsncheck_account_id_sessions_} + , decltype(_impl_.launcher_mismatch_sessions_){from._impl_.launcher_mismatch_sessions_} + , decltype(_impl_.insecure_account_id_sessions_){from._impl_.insecure_account_id_sessions_} + , decltype(_impl_.error_){} + , decltype(_impl_.global_stats_){nullptr} + , decltype(_impl_.server_ipaddress_mask_){nullptr} + , decltype(_impl_.matchmaking_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.error_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_error()) { + _this->_impl_.error_.Set(from._internal_error(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_global_stats()) { + _this->_impl_.global_stats_ = new ::GlobalStatistics(*from._impl_.global_stats_); + } + if (from._internal_has_server_ipaddress_mask()) { + _this->_impl_.server_ipaddress_mask_ = new ::IpAddressMask(*from._impl_.server_ipaddress_mask_); + } + _this->_impl_.matchmaking_ = from._impl_.matchmaking_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.waiting_account_id_sessions_){arena} + , decltype(_impl_.ongoingmatch_account_id_sessions_){arena} + , decltype(_impl_.failping_account_id_sessions_){arena} + , decltype(_impl_.penalty_account_id_sessions_){arena} + , decltype(_impl_.failready_account_id_sessions_){arena} + , decltype(_impl_.vacbanned_account_id_sessions_){arena} + , decltype(_impl_.notes_){arena} + , decltype(_impl_.penalty_account_id_sessions_green_){arena} + , decltype(_impl_.insufficientlevel_sessions_){arena} + , decltype(_impl_.vsncheck_account_id_sessions_){arena} + , decltype(_impl_.launcher_mismatch_sessions_){arena} + , decltype(_impl_.insecure_account_id_sessions_){arena} + , decltype(_impl_.error_){} + , decltype(_impl_.global_stats_){nullptr} + , decltype(_impl_.server_ipaddress_mask_){nullptr} + , decltype(_impl_.matchmaking_){0} + }; + _impl_.error_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.waiting_account_id_sessions_.~RepeatedField(); + _impl_.ongoingmatch_account_id_sessions_.~RepeatedField(); + _impl_.failping_account_id_sessions_.~RepeatedField(); + _impl_.penalty_account_id_sessions_.~RepeatedField(); + _impl_.failready_account_id_sessions_.~RepeatedField(); + _impl_.vacbanned_account_id_sessions_.~RepeatedField(); + _impl_.notes_.~RepeatedPtrField(); + _impl_.penalty_account_id_sessions_green_.~RepeatedField(); + _impl_.insufficientlevel_sessions_.~RepeatedField(); + _impl_.vsncheck_account_id_sessions_.~RepeatedField(); + _impl_.launcher_mismatch_sessions_.~RepeatedField(); + _impl_.insecure_account_id_sessions_.~RepeatedField(); + _impl_.error_.Destroy(); + if (this != internal_default_instance()) delete _impl_.global_stats_; + if (this != internal_default_instance()) delete _impl_.server_ipaddress_mask_; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.waiting_account_id_sessions_.Clear(); + _impl_.ongoingmatch_account_id_sessions_.Clear(); + _impl_.failping_account_id_sessions_.Clear(); + _impl_.penalty_account_id_sessions_.Clear(); + _impl_.failready_account_id_sessions_.Clear(); + _impl_.vacbanned_account_id_sessions_.Clear(); + _impl_.notes_.Clear(); + _impl_.penalty_account_id_sessions_green_.Clear(); + _impl_.insufficientlevel_sessions_.Clear(); + _impl_.vsncheck_account_id_sessions_.Clear(); + _impl_.launcher_mismatch_sessions_.Clear(); + _impl_.insecure_account_id_sessions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.error_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.global_stats_ != nullptr); + _impl_.global_stats_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.server_ipaddress_mask_ != nullptr); + _impl_.server_ipaddress_mask_->Clear(); + } + } + _impl_.matchmaking_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 matchmaking = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_matchmaking(&has_bits); + _impl_.matchmaking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 waiting_account_id_sessions = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_waiting_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_waiting_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string error = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_error(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated uint32 ongoingmatch_account_id_sessions = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ongoingmatch_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_ongoingmatch_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .GlobalStatistics global_stats = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_global_stats(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 failping_account_id_sessions = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_failping_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_failping_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 penalty_account_id_sessions = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_penalty_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); + } else if (static_cast(tag) == 74) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_penalty_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 failready_account_id_sessions = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_failready_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); + } else if (static_cast(tag) == 82) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_failready_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 vacbanned_account_id_sessions = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vacbanned_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr)); + } else if (static_cast(tag) == 90) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_vacbanned_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .IpAddressMask server_ipaddress_mask = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_server_ipaddress_mask(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_notes(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // repeated uint32 penalty_account_id_sessions_green = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_penalty_account_id_sessions_green(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<112>(ptr)); + } else if (static_cast(tag) == 114) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_penalty_account_id_sessions_green(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 insufficientlevel_sessions = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_insufficientlevel_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<120>(ptr)); + } else if (static_cast(tag) == 122) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_insufficientlevel_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 vsncheck_account_id_sessions = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_vsncheck_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); + } else if (static_cast(tag) == 130) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_vsncheck_account_id_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 launcher_mismatch_sessions = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_launcher_mismatch_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); + } else if (static_cast(tag) == 138) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_launcher_mismatch_sessions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 insecure_account_id_sessions = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_insecure_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<144>(ptr)); + } else if (static_cast(tag) == 146) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_insecure_account_id_sessions(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 matchmaking = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_matchmaking(), target); + } + + // repeated uint32 waiting_account_id_sessions = 2; + for (int i = 0, n = this->_internal_waiting_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_waiting_account_id_sessions(i), target); + } + + // optional string error = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_error().data(), static_cast(this->_internal_error().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_error(), target); + } + + // repeated uint32 ongoingmatch_account_id_sessions = 6; + for (int i = 0, n = this->_internal_ongoingmatch_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ongoingmatch_account_id_sessions(i), target); + } + + // optional .GlobalStatistics global_stats = 7; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::global_stats(this), + _Internal::global_stats(this).GetCachedSize(), target, stream); + } + + // repeated uint32 failping_account_id_sessions = 8; + for (int i = 0, n = this->_internal_failping_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_failping_account_id_sessions(i), target); + } + + // repeated uint32 penalty_account_id_sessions = 9; + for (int i = 0, n = this->_internal_penalty_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_penalty_account_id_sessions(i), target); + } + + // repeated uint32 failready_account_id_sessions = 10; + for (int i = 0, n = this->_internal_failready_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_failready_account_id_sessions(i), target); + } + + // repeated uint32 vacbanned_account_id_sessions = 11; + for (int i = 0, n = this->_internal_vacbanned_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_vacbanned_account_id_sessions(i), target); + } + + // optional .IpAddressMask server_ipaddress_mask = 12; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::server_ipaddress_mask(this), + _Internal::server_ipaddress_mask(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; + for (unsigned i = 0, + n = static_cast(this->_internal_notes_size()); i < n; i++) { + const auto& repfield = this->_internal_notes(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated uint32 penalty_account_id_sessions_green = 14; + for (int i = 0, n = this->_internal_penalty_account_id_sessions_green_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_penalty_account_id_sessions_green(i), target); + } + + // repeated uint32 insufficientlevel_sessions = 15; + for (int i = 0, n = this->_internal_insufficientlevel_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_insufficientlevel_sessions(i), target); + } + + // repeated uint32 vsncheck_account_id_sessions = 16; + for (int i = 0, n = this->_internal_vsncheck_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_vsncheck_account_id_sessions(i), target); + } + + // repeated uint32 launcher_mismatch_sessions = 17; + for (int i = 0, n = this->_internal_launcher_mismatch_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_launcher_mismatch_sessions(i), target); + } + + // repeated uint32 insecure_account_id_sessions = 18; + for (int i = 0, n = this->_internal_insecure_account_id_sessions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_insecure_account_id_sessions(i), 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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + 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 uint32 waiting_account_id_sessions = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.waiting_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_waiting_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 ongoingmatch_account_id_sessions = 6; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.ongoingmatch_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ongoingmatch_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 failping_account_id_sessions = 8; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.failping_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_failping_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 penalty_account_id_sessions = 9; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.penalty_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_penalty_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 failready_account_id_sessions = 10; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.failready_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_failready_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 vacbanned_account_id_sessions = 11; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.vacbanned_account_id_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vacbanned_account_id_sessions_size()); + total_size += data_size; + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; + total_size += 1UL * this->_internal_notes_size(); + for (const auto& msg : this->_impl_.notes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated uint32 penalty_account_id_sessions_green = 14; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.penalty_account_id_sessions_green_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_penalty_account_id_sessions_green_size()); + total_size += data_size; + } + + // repeated uint32 insufficientlevel_sessions = 15; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.insufficientlevel_sessions_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_insufficientlevel_sessions_size()); + total_size += data_size; + } + + // repeated uint32 vsncheck_account_id_sessions = 16; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.vsncheck_account_id_sessions_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_vsncheck_account_id_sessions_size()); + total_size += data_size; + } + + // repeated uint32 launcher_mismatch_sessions = 17; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.launcher_mismatch_sessions_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_launcher_mismatch_sessions_size()); + total_size += data_size; + } + + // repeated uint32 insecure_account_id_sessions = 18; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.insecure_account_id_sessions_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_insecure_account_id_sessions_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string error = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_error()); + } + + // optional .GlobalStatistics global_stats = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.global_stats_); + } + + // optional .IpAddressMask server_ipaddress_mask = 12; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.server_ipaddress_mask_); + } + + // optional int32 matchmaking = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_matchmaking()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.waiting_account_id_sessions_.MergeFrom(from._impl_.waiting_account_id_sessions_); + _this->_impl_.ongoingmatch_account_id_sessions_.MergeFrom(from._impl_.ongoingmatch_account_id_sessions_); + _this->_impl_.failping_account_id_sessions_.MergeFrom(from._impl_.failping_account_id_sessions_); + _this->_impl_.penalty_account_id_sessions_.MergeFrom(from._impl_.penalty_account_id_sessions_); + _this->_impl_.failready_account_id_sessions_.MergeFrom(from._impl_.failready_account_id_sessions_); + _this->_impl_.vacbanned_account_id_sessions_.MergeFrom(from._impl_.vacbanned_account_id_sessions_); + _this->_impl_.notes_.MergeFrom(from._impl_.notes_); + _this->_impl_.penalty_account_id_sessions_green_.MergeFrom(from._impl_.penalty_account_id_sessions_green_); + _this->_impl_.insufficientlevel_sessions_.MergeFrom(from._impl_.insufficientlevel_sessions_); + _this->_impl_.vsncheck_account_id_sessions_.MergeFrom(from._impl_.vsncheck_account_id_sessions_); + _this->_impl_.launcher_mismatch_sessions_.MergeFrom(from._impl_.launcher_mismatch_sessions_); + _this->_impl_.insecure_account_id_sessions_.MergeFrom(from._impl_.insecure_account_id_sessions_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_error(from._internal_error()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_global_stats()->::GlobalStatistics::MergeFrom( + from._internal_global_stats()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_server_ipaddress_mask()->::IpAddressMask::MergeFrom( + from._internal_server_ipaddress_mask()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.matchmaking_ = from._impl_.matchmaking_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.waiting_account_id_sessions_.InternalSwap(&other->_impl_.waiting_account_id_sessions_); + _impl_.ongoingmatch_account_id_sessions_.InternalSwap(&other->_impl_.ongoingmatch_account_id_sessions_); + _impl_.failping_account_id_sessions_.InternalSwap(&other->_impl_.failping_account_id_sessions_); + _impl_.penalty_account_id_sessions_.InternalSwap(&other->_impl_.penalty_account_id_sessions_); + _impl_.failready_account_id_sessions_.InternalSwap(&other->_impl_.failready_account_id_sessions_); + _impl_.vacbanned_account_id_sessions_.InternalSwap(&other->_impl_.vacbanned_account_id_sessions_); + _impl_.notes_.InternalSwap(&other->_impl_.notes_); + _impl_.penalty_account_id_sessions_green_.InternalSwap(&other->_impl_.penalty_account_id_sessions_green_); + _impl_.insufficientlevel_sessions_.InternalSwap(&other->_impl_.insufficientlevel_sessions_); + _impl_.vsncheck_account_id_sessions_.InternalSwap(&other->_impl_.vsncheck_account_id_sessions_); + _impl_.launcher_mismatch_sessions_.InternalSwap(&other->_impl_.launcher_mismatch_sessions_); + _impl_.insecure_account_id_sessions_.InternalSwap(&other->_impl_.insecure_account_id_sessions_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.error_, lhs_arena, + &other->_impl_.error_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.matchmaking_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_impl_.matchmaking_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.global_stats_)>( + reinterpret_cast(&_impl_.global_stats_), + reinterpret_cast(&other->_impl_.global_stats_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[36]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mapid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_team_id_ct(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::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:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) +} +CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentMatchDraft_Entry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mapid_){} + , decltype(_impl_.team_id_ct_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.mapid_, &from._impl_.mapid_, + static_cast(reinterpret_cast(&_impl_.team_id_ct_) - + reinterpret_cast(&_impl_.mapid_)) + sizeof(_impl_.team_id_ct_)); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) +} + +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mapid_){0} + , decltype(_impl_.team_id_ct_){0} + }; +} + +CDataGCCStrike15_v2_TournamentMatchDraft_Entry::~CDataGCCStrike15_v2_TournamentMatchDraft_Entry() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.mapid_, 0, static_cast( + reinterpret_cast(&_impl_.team_id_ct_) - + reinterpret_cast(&_impl_.mapid_)) + sizeof(_impl_.team_id_ct_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 mapid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_mapid(&has_bits); + _impl_.mapid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_ct = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_team_id_ct(&has_bits); + _impl_.team_id_ct_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 mapid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mapid(), target); + } + + // optional int32 team_id_ct = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team_id_ct(), 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:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 mapid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mapid()); + } + + // optional int32 team_id_ct = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_ct()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentMatchDraft_Entry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentMatchDraft_Entry::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::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:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.mapid_ = from._impl_.mapid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.team_id_ct_ = from._impl_.team_id_ct_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.team_id_ct_) + + sizeof(CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_impl_.team_id_ct_) + - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.mapid_)>( + reinterpret_cast(&_impl_.mapid_), + reinterpret_cast(&other->_impl_.mapid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentMatchDraft_Entry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[37]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentMatchDraft::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_event_stage_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_team_id_0(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_team_id_1(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_maps_count(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_maps_current(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_team_id_start(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_team_id_veto1(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_team_id_pickn(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_vote_phase(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_vote_phase_start(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_vote_phase_length(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } +}; + +CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft(::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:CDataGCCStrike15_v2_TournamentMatchDraft) +} +CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft(const CDataGCCStrike15_v2_TournamentMatchDraft& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentMatchDraft* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.drafts_){from._impl_.drafts_} + , decltype(_impl_.vote_mapid_0_){from._impl_.vote_mapid_0_} + , decltype(_impl_.vote_mapid_1_){from._impl_.vote_mapid_1_} + , decltype(_impl_.vote_mapid_2_){from._impl_.vote_mapid_2_} + , decltype(_impl_.vote_mapid_3_){from._impl_.vote_mapid_3_} + , decltype(_impl_.vote_mapid_4_){from._impl_.vote_mapid_4_} + , decltype(_impl_.vote_mapid_5_){from._impl_.vote_mapid_5_} + , decltype(_impl_.vote_starting_side_){from._impl_.vote_starting_side_} + , decltype(_impl_.event_id_){} + , decltype(_impl_.event_stage_id_){} + , decltype(_impl_.team_id_0_){} + , decltype(_impl_.team_id_1_){} + , decltype(_impl_.maps_count_){} + , decltype(_impl_.maps_current_){} + , decltype(_impl_.team_id_start_){} + , decltype(_impl_.team_id_veto1_){} + , decltype(_impl_.team_id_pickn_){} + , decltype(_impl_.vote_phase_){} + , decltype(_impl_.vote_phase_start_){} + , decltype(_impl_.vote_phase_length_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, + static_cast(reinterpret_cast(&_impl_.vote_phase_length_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.vote_phase_length_)); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentMatchDraft) +} + +inline void CDataGCCStrike15_v2_TournamentMatchDraft::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.drafts_){arena} + , decltype(_impl_.vote_mapid_0_){arena} + , decltype(_impl_.vote_mapid_1_){arena} + , decltype(_impl_.vote_mapid_2_){arena} + , decltype(_impl_.vote_mapid_3_){arena} + , decltype(_impl_.vote_mapid_4_){arena} + , decltype(_impl_.vote_mapid_5_){arena} + , decltype(_impl_.vote_starting_side_){arena} + , decltype(_impl_.event_id_){0} + , decltype(_impl_.event_stage_id_){0} + , decltype(_impl_.team_id_0_){0} + , decltype(_impl_.team_id_1_){0} + , decltype(_impl_.maps_count_){0} + , decltype(_impl_.maps_current_){0} + , decltype(_impl_.team_id_start_){0} + , decltype(_impl_.team_id_veto1_){0} + , decltype(_impl_.team_id_pickn_){0} + , decltype(_impl_.vote_phase_){0} + , decltype(_impl_.vote_phase_start_){0} + , decltype(_impl_.vote_phase_length_){0} + }; +} + +CDataGCCStrike15_v2_TournamentMatchDraft::~CDataGCCStrike15_v2_TournamentMatchDraft() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentMatchDraft) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentMatchDraft::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.drafts_.~RepeatedPtrField(); + _impl_.vote_mapid_0_.~RepeatedField(); + _impl_.vote_mapid_1_.~RepeatedField(); + _impl_.vote_mapid_2_.~RepeatedField(); + _impl_.vote_mapid_3_.~RepeatedField(); + _impl_.vote_mapid_4_.~RepeatedField(); + _impl_.vote_mapid_5_.~RepeatedField(); + _impl_.vote_starting_side_.~RepeatedField(); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentMatchDraft) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.drafts_.Clear(); + _impl_.vote_mapid_0_.Clear(); + _impl_.vote_mapid_1_.Clear(); + _impl_.vote_mapid_2_.Clear(); + _impl_.vote_mapid_3_.Clear(); + _impl_.vote_mapid_4_.Clear(); + _impl_.vote_mapid_5_.Clear(); + _impl_.vote_starting_side_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.event_id_, 0, static_cast( + reinterpret_cast(&_impl_.team_id_veto1_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.team_id_veto1_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.team_id_pickn_, 0, static_cast( + reinterpret_cast(&_impl_.vote_phase_length_) - + reinterpret_cast(&_impl_.team_id_pickn_)) + sizeof(_impl_.vote_phase_length_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentMatchDraft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 event_stage_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_event_stage_id(&has_bits); + _impl_.event_stage_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_0 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_team_id_0(&has_bits); + _impl_.team_id_0_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_1 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_team_id_1(&has_bits); + _impl_.team_id_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 maps_count = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_maps_count(&has_bits); + _impl_.maps_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 maps_current = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_maps_current(&has_bits); + _impl_.maps_current_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_start = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_team_id_start(&has_bits); + _impl_.team_id_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_veto1 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_team_id_veto1(&has_bits); + _impl_.team_id_veto1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_id_pickn = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_team_id_pickn(&has_bits); + _impl_.team_id_pickn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_drafts(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_0 = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vote_mapid_0(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr)); + } else if (static_cast(tag) == 90) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_0(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_1 = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vote_mapid_1(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); + } else if (static_cast(tag) == 98) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_1(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_2 = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vote_mapid_2(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); + } else if (static_cast(tag) == 106) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_2(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_3 = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vote_mapid_3(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<112>(ptr)); + } else if (static_cast(tag) == 114) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_3(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_4 = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_vote_mapid_4(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<120>(ptr)); + } else if (static_cast(tag) == 122) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_4(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_mapid_5 = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_vote_mapid_5(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); + } else if (static_cast(tag) == 130) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_5(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 vote_starting_side = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_vote_starting_side(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); + } else if (static_cast(tag) == 138) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_starting_side(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 vote_phase = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_vote_phase(&has_bits); + _impl_.vote_phase_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float vote_phase_start = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 157)) { + _Internal::set_has_vote_phase_start(&has_bits); + _impl_.vote_phase_start_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float vote_phase_length = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 165)) { + _Internal::set_has_vote_phase_length(&has_bits); + _impl_.vote_phase_length_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentMatchDraft::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentMatchDraft) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); + } + + // optional int32 event_stage_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_event_stage_id(), target); + } + + // optional int32 team_id_0 = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_team_id_0(), target); + } + + // optional int32 team_id_1 = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_team_id_1(), target); + } + + // optional int32 maps_count = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_maps_count(), target); + } + + // optional int32 maps_current = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_maps_current(), target); + } + + // optional int32 team_id_start = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_team_id_start(), target); + } + + // optional int32 team_id_veto1 = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_team_id_veto1(), target); + } + + // optional int32 team_id_pickn = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_team_id_pickn(), target); + } + + // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; + for (unsigned i = 0, + n = static_cast(this->_internal_drafts_size()); i < n; i++) { + const auto& repfield = this->_internal_drafts(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated int32 vote_mapid_0 = 11; + for (int i = 0, n = this->_internal_vote_mapid_0_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_vote_mapid_0(i), target); + } + + // repeated int32 vote_mapid_1 = 12; + for (int i = 0, n = this->_internal_vote_mapid_1_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_vote_mapid_1(i), target); + } + + // repeated int32 vote_mapid_2 = 13; + for (int i = 0, n = this->_internal_vote_mapid_2_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_vote_mapid_2(i), target); + } + + // repeated int32 vote_mapid_3 = 14; + for (int i = 0, n = this->_internal_vote_mapid_3_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_vote_mapid_3(i), target); + } + + // repeated int32 vote_mapid_4 = 15; + for (int i = 0, n = this->_internal_vote_mapid_4_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_vote_mapid_4(i), target); + } + + // repeated int32 vote_mapid_5 = 16; + for (int i = 0, n = this->_internal_vote_mapid_5_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_vote_mapid_5(i), target); + } + + // repeated int32 vote_starting_side = 17; + for (int i = 0, n = this->_internal_vote_starting_side_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_vote_starting_side(i), target); + } + + // optional int32 vote_phase = 18; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_vote_phase(), target); + } + + // optional float vote_phase_start = 19; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(19, this->_internal_vote_phase_start(), target); + } + + // optional float vote_phase_length = 20; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(20, this->_internal_vote_phase_length(), 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:CDataGCCStrike15_v2_TournamentMatchDraft) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentMatchDraft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentMatchDraft) + 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 .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; + total_size += 1UL * this->_internal_drafts_size(); + for (const auto& msg : this->_impl_.drafts_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated int32 vote_mapid_0 = 11; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_0_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_0_size()); + total_size += data_size; + } + + // repeated int32 vote_mapid_1 = 12; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_1_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_1_size()); + total_size += data_size; + } + + // repeated int32 vote_mapid_2 = 13; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_2_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_2_size()); + total_size += data_size; + } + + // repeated int32 vote_mapid_3 = 14; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_3_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_3_size()); + total_size += data_size; + } + + // repeated int32 vote_mapid_4 = 15; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_4_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_4_size()); + total_size += data_size; + } + + // repeated int32 vote_mapid_5 = 16; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_mapid_5_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_vote_mapid_5_size()); + total_size += data_size; + } + + // repeated int32 vote_starting_side = 17; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.vote_starting_side_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_vote_starting_side_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional int32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); + } + + // optional int32 event_stage_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); + } + + // optional int32 team_id_0 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_0()); + } + + // optional int32 team_id_1 = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_1()); + } + + // optional int32 maps_count = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_maps_count()); + } + + // optional int32 maps_current = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_maps_current()); + } + + // optional int32 team_id_start = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_start()); + } + + // optional int32 team_id_veto1 = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_veto1()); + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional int32 team_id_pickn = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_pickn()); + } + + // optional int32 vote_phase = 18; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_vote_phase()); + } + + // optional float vote_phase_start = 19; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + 4; + } + + // optional float vote_phase_length = 20; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentMatchDraft::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentMatchDraft::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentMatchDraft::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentMatchDraft::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:CDataGCCStrike15_v2_TournamentMatchDraft) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.drafts_.MergeFrom(from._impl_.drafts_); + _this->_impl_.vote_mapid_0_.MergeFrom(from._impl_.vote_mapid_0_); + _this->_impl_.vote_mapid_1_.MergeFrom(from._impl_.vote_mapid_1_); + _this->_impl_.vote_mapid_2_.MergeFrom(from._impl_.vote_mapid_2_); + _this->_impl_.vote_mapid_3_.MergeFrom(from._impl_.vote_mapid_3_); + _this->_impl_.vote_mapid_4_.MergeFrom(from._impl_.vote_mapid_4_); + _this->_impl_.vote_mapid_5_.MergeFrom(from._impl_.vote_mapid_5_); + _this->_impl_.vote_starting_side_.MergeFrom(from._impl_.vote_starting_side_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.team_id_0_ = from._impl_.team_id_0_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.team_id_1_ = from._impl_.team_id_1_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.maps_count_ = from._impl_.maps_count_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.maps_current_ = from._impl_.maps_current_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.team_id_start_ = from._impl_.team_id_start_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.team_id_veto1_ = from._impl_.team_id_veto1_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.team_id_pickn_ = from._impl_.team_id_pickn_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.vote_phase_ = from._impl_.vote_phase_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.vote_phase_start_ = from._impl_.vote_phase_start_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.vote_phase_length_ = from._impl_.vote_phase_length_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentMatchDraft::CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentMatchDraft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentMatchDraft::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentMatchDraft::InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.drafts_.InternalSwap(&other->_impl_.drafts_); + _impl_.vote_mapid_0_.InternalSwap(&other->_impl_.vote_mapid_0_); + _impl_.vote_mapid_1_.InternalSwap(&other->_impl_.vote_mapid_1_); + _impl_.vote_mapid_2_.InternalSwap(&other->_impl_.vote_mapid_2_); + _impl_.vote_mapid_3_.InternalSwap(&other->_impl_.vote_mapid_3_); + _impl_.vote_mapid_4_.InternalSwap(&other->_impl_.vote_mapid_4_); + _impl_.vote_mapid_5_.InternalSwap(&other->_impl_.vote_mapid_5_); + _impl_.vote_starting_side_.InternalSwap(&other->_impl_.vote_starting_side_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_length_) + + sizeof(CDataGCCStrike15_v2_TournamentMatchDraft::_impl_.vote_phase_length_) + - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_id_)>( + reinterpret_cast(&_impl_.event_id_), + reinterpret_cast(&other->_impl_.event_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentMatchDraft::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[38]); +} + +// =================================================================== + +class CPreMatchInfoData_TeamStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_match_info_idxtxt(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_match_info_txt(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats(::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:CPreMatchInfoData.TeamStats) +} +CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats(const CPreMatchInfoData_TeamStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPreMatchInfoData_TeamStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_info_teams_){from._impl_.match_info_teams_} + , decltype(_impl_.match_info_txt_){} + , decltype(_impl_.match_info_idxtxt_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.match_info_txt_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.match_info_txt_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_match_info_txt()) { + _this->_impl_.match_info_txt_.Set(from._internal_match_info_txt(), + _this->GetArenaForAllocation()); + } + _this->_impl_.match_info_idxtxt_ = from._impl_.match_info_idxtxt_; + // @@protoc_insertion_point(copy_constructor:CPreMatchInfoData.TeamStats) +} + +inline void CPreMatchInfoData_TeamStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_info_teams_){arena} + , decltype(_impl_.match_info_txt_){} + , decltype(_impl_.match_info_idxtxt_){0} + }; + _impl_.match_info_txt_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.match_info_txt_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPreMatchInfoData_TeamStats::~CPreMatchInfoData_TeamStats() { + // @@protoc_insertion_point(destructor:CPreMatchInfoData.TeamStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPreMatchInfoData_TeamStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.match_info_teams_.~RepeatedPtrField(); + _impl_.match_info_txt_.Destroy(); +} + +void CPreMatchInfoData_TeamStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPreMatchInfoData_TeamStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CPreMatchInfoData.TeamStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.match_info_teams_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.match_info_txt_.ClearNonDefaultToEmpty(); + } + _impl_.match_info_idxtxt_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPreMatchInfoData_TeamStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 match_info_idxtxt = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_match_info_idxtxt(&has_bits); + _impl_.match_info_idxtxt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string match_info_txt = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_match_info_txt(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPreMatchInfoData.TeamStats.match_info_txt"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string match_info_teams = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_match_info_teams(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPreMatchInfoData.TeamStats.match_info_teams"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPreMatchInfoData_TeamStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPreMatchInfoData.TeamStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 match_info_idxtxt = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_match_info_idxtxt(), target); + } + + // optional string match_info_txt = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_match_info_txt().data(), static_cast(this->_internal_match_info_txt().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPreMatchInfoData.TeamStats.match_info_txt"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_match_info_txt(), target); + } + + // repeated string match_info_teams = 3; + for (int i = 0, n = this->_internal_match_info_teams_size(); i < n; i++) { + const auto& s = this->_internal_match_info_teams(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPreMatchInfoData.TeamStats.match_info_teams"); + target = stream->WriteString(3, 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:CPreMatchInfoData.TeamStats) + return target; +} + +size_t CPreMatchInfoData_TeamStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPreMatchInfoData.TeamStats) + 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 match_info_teams = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.match_info_teams_.size()); + for (int i = 0, n = _impl_.match_info_teams_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.match_info_teams_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string match_info_txt = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_match_info_txt()); + } + + // optional int32 match_info_idxtxt = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_info_idxtxt()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPreMatchInfoData_TeamStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPreMatchInfoData_TeamStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPreMatchInfoData_TeamStats::GetClassData() const { return &_class_data_; } + + +void CPreMatchInfoData_TeamStats::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:CPreMatchInfoData.TeamStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.match_info_teams_.MergeFrom(from._impl_.match_info_teams_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_match_info_txt(from._internal_match_info_txt()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.match_info_idxtxt_ = from._impl_.match_info_idxtxt_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPreMatchInfoData_TeamStats::CopyFrom(const CPreMatchInfoData_TeamStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPreMatchInfoData.TeamStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPreMatchInfoData_TeamStats::IsInitialized() const { + return true; +} + +void CPreMatchInfoData_TeamStats::InternalSwap(CPreMatchInfoData_TeamStats* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.match_info_teams_.InternalSwap(&other->_impl_.match_info_teams_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.match_info_txt_, lhs_arena, + &other->_impl_.match_info_txt_, rhs_arena + ); + swap(_impl_.match_info_idxtxt_, other->_impl_.match_info_idxtxt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPreMatchInfoData_TeamStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[39]); +} + +// =================================================================== + +class CPreMatchInfoData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_predictions_pct(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CDataGCCStrike15_v2_TournamentMatchDraft& draft(const CPreMatchInfoData* msg); + static void set_has_draft(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CDataGCCStrike15_v2_TournamentMatchDraft& +CPreMatchInfoData::_Internal::draft(const CPreMatchInfoData* msg) { + return *msg->_impl_.draft_; +} +CPreMatchInfoData::CPreMatchInfoData(::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:CPreMatchInfoData) +} +CPreMatchInfoData::CPreMatchInfoData(const CPreMatchInfoData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPreMatchInfoData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){from._impl_.stats_} + , decltype(_impl_.wins_){from._impl_.wins_} + , decltype(_impl_.draft_){nullptr} + , decltype(_impl_.predictions_pct_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_draft()) { + _this->_impl_.draft_ = new ::CDataGCCStrike15_v2_TournamentMatchDraft(*from._impl_.draft_); + } + _this->_impl_.predictions_pct_ = from._impl_.predictions_pct_; + // @@protoc_insertion_point(copy_constructor:CPreMatchInfoData) +} + +inline void CPreMatchInfoData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){arena} + , decltype(_impl_.wins_){arena} + , decltype(_impl_.draft_){nullptr} + , decltype(_impl_.predictions_pct_){0} + }; +} + +CPreMatchInfoData::~CPreMatchInfoData() { + // @@protoc_insertion_point(destructor:CPreMatchInfoData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPreMatchInfoData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.stats_.~RepeatedPtrField(); + _impl_.wins_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.draft_; +} + +void CPreMatchInfoData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPreMatchInfoData::Clear() { +// @@protoc_insertion_point(message_clear_start:CPreMatchInfoData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stats_.Clear(); + _impl_.wins_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.draft_ != nullptr); + _impl_.draft_->Clear(); + } + _impl_.predictions_pct_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPreMatchInfoData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 predictions_pct = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_predictions_pct(&has_bits); + _impl_.predictions_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_draft(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CPreMatchInfoData.TeamStats stats = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_stats(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // repeated int32 wins = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_wins(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_wins(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPreMatchInfoData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPreMatchInfoData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 predictions_pct = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_predictions_pct(), target); + } + + // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::draft(this), + _Internal::draft(this).GetCachedSize(), target, stream); + } + + // repeated .CPreMatchInfoData.TeamStats stats = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_stats_size()); i < n; i++) { + const auto& repfield = this->_internal_stats(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated int32 wins = 6; + for (int i = 0, n = this->_internal_wins_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_wins(i), 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:CPreMatchInfoData) + return target; +} + +size_t CPreMatchInfoData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPreMatchInfoData) + 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 .CPreMatchInfoData.TeamStats stats = 5; + total_size += 1UL * this->_internal_stats_size(); + for (const auto& msg : this->_impl_.stats_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated int32 wins = 6; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.wins_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_wins_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.draft_); + } + + // optional int32 predictions_pct = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_predictions_pct()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPreMatchInfoData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPreMatchInfoData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPreMatchInfoData::GetClassData() const { return &_class_data_; } + + +void CPreMatchInfoData::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:CPreMatchInfoData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.stats_.MergeFrom(from._impl_.stats_); + _this->_impl_.wins_.MergeFrom(from._impl_.wins_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_draft()->::CDataGCCStrike15_v2_TournamentMatchDraft::MergeFrom( + from._internal_draft()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.predictions_pct_ = from._impl_.predictions_pct_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPreMatchInfoData::CopyFrom(const CPreMatchInfoData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPreMatchInfoData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPreMatchInfoData::IsInitialized() const { + return true; +} + +void CPreMatchInfoData::InternalSwap(CPreMatchInfoData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.stats_.InternalSwap(&other->_impl_.stats_); + _impl_.wins_.InternalSwap(&other->_impl_.wins_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPreMatchInfoData, _impl_.predictions_pct_) + + sizeof(CPreMatchInfoData::_impl_.predictions_pct_) + - PROTOBUF_FIELD_OFFSET(CPreMatchInfoData, _impl_.draft_)>( + reinterpret_cast(&_impl_.draft_), + reinterpret_cast(&other->_impl_.draft_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPreMatchInfoData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[40]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_server_version(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_encryption_key(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_encryption_key_pub(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_tv_master_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::TournamentEvent& tournament_event(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg); + static void set_has_tournament_event(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_tv_relay_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static const ::CPreMatchInfoData& pre_match_data(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg); + static void set_has_pre_match_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tv_control(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_socache_control(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_match_id_additional(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +const ::TournamentEvent& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal::tournament_event(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg) { + return *msg->_impl_.tournament_event_; +} +const ::CPreMatchInfoData& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal::pre_match_data(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg) { + return *msg->_impl_.pre_match_data_; +} +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::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:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) +} +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){from._impl_.account_ids_} + , decltype(_impl_.rankings_){from._impl_.rankings_} + , decltype(_impl_.party_ids_){from._impl_.party_ids_} + , decltype(_impl_.whitelist_){from._impl_.whitelist_} + , decltype(_impl_.tournament_teams_){from._impl_.tournament_teams_} + , decltype(_impl_.tournament_casters_account_ids_){from._impl_.tournament_casters_account_ids_} + , decltype(_impl_.op_var_values_){from._impl_.op_var_values_} + , decltype(_impl_.teammate_colors_){from._impl_.teammate_colors_} + , decltype(_impl_.tournament_event_){nullptr} + , decltype(_impl_.pre_match_data_){nullptr} + , decltype(_impl_.match_id_){} + , decltype(_impl_.game_type_){} + , decltype(_impl_.server_version_){} + , decltype(_impl_.encryption_key_){} + , decltype(_impl_.encryption_key_pub_){} + , decltype(_impl_.tv_master_steamid_){} + , decltype(_impl_.tv_relay_steamid_){} + , decltype(_impl_.tv_control_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.socache_control_){} + , decltype(_impl_.match_id_additional_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_tournament_event()) { + _this->_impl_.tournament_event_ = new ::TournamentEvent(*from._impl_.tournament_event_); + } + if (from._internal_has_pre_match_data()) { + _this->_impl_.pre_match_data_ = new ::CPreMatchInfoData(*from._impl_.pre_match_data_); + } + ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, + static_cast(reinterpret_cast(&_impl_.match_id_additional_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.match_id_additional_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){arena} + , decltype(_impl_.rankings_){arena} + , decltype(_impl_.party_ids_){arena} + , decltype(_impl_.whitelist_){arena} + , decltype(_impl_.tournament_teams_){arena} + , decltype(_impl_.tournament_casters_account_ids_){arena} + , decltype(_impl_.op_var_values_){arena} + , decltype(_impl_.teammate_colors_){arena} + , decltype(_impl_.tournament_event_){nullptr} + , decltype(_impl_.pre_match_data_){nullptr} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.game_type_){0u} + , decltype(_impl_.server_version_){0u} + , decltype(_impl_.encryption_key_){uint64_t{0u}} + , decltype(_impl_.encryption_key_pub_){uint64_t{0u}} + , decltype(_impl_.tv_master_steamid_){uint64_t{0u}} + , decltype(_impl_.tv_relay_steamid_){uint64_t{0u}} + , decltype(_impl_.tv_control_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.socache_control_){0u} + , decltype(_impl_.match_id_additional_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_ids_.~RepeatedField(); + _impl_.rankings_.~RepeatedPtrField(); + _impl_.party_ids_.~RepeatedField(); + _impl_.whitelist_.~RepeatedPtrField(); + _impl_.tournament_teams_.~RepeatedPtrField(); + _impl_.tournament_casters_account_ids_.~RepeatedField(); + _impl_.op_var_values_.~RepeatedPtrField(); + _impl_.teammate_colors_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.tournament_event_; + if (this != internal_default_instance()) delete _impl_.pre_match_data_; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_ids_.Clear(); + _impl_.rankings_.Clear(); + _impl_.party_ids_.Clear(); + _impl_.whitelist_.Clear(); + _impl_.tournament_teams_.Clear(); + _impl_.tournament_casters_account_ids_.Clear(); + _impl_.op_var_values_.Clear(); + _impl_.teammate_colors_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.tournament_event_ != nullptr); + _impl_.tournament_event_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.pre_match_data_ != nullptr); + _impl_.pre_match_data_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.match_id_, 0, static_cast( + reinterpret_cast(&_impl_.tv_master_steamid_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.tv_master_steamid_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.tv_relay_steamid_, 0, static_cast( + reinterpret_cast(&_impl_.match_id_additional_) - + reinterpret_cast(&_impl_.tv_relay_steamid_)) + sizeof(_impl_.match_id_additional_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated uint32 account_ids = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_version(&has_bits); + _impl_.server_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PlayerRankingInfo rankings = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint64 encryption_key = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_encryption_key(&has_bits); + _impl_.encryption_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 encryption_key_pub = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_encryption_key_pub(&has_bits); + _impl_.encryption_key_pub_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 party_ids = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_party_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_party_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .IpAddressMask whitelist = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_whitelist(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint64 tv_master_steamid = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_tv_master_steamid(&has_bits); + _impl_.tv_master_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .TournamentEvent tournament_event = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_tournament_event(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .TournamentTeam tournament_teams = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tournament_teams(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); + } else + goto handle_unusual; + continue; + // repeated uint32 tournament_casters_account_ids = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_tournament_casters_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); + } else if (static_cast(tag) == 106) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_tournament_casters_account_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 tv_relay_steamid = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_tv_relay_steamid(&has_bits); + _impl_.tv_relay_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CPreMatchInfoData pre_match_data = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ctx->ParseMessage(_internal_mutable_pre_match_data(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_control = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_tv_control(&has_bits); + _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .OperationalVarValue op_var_values = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_op_var_values(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 socache_control = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_socache_control(&has_bits); + _impl_.socache_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 teammate_colors = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_teammate_colors(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<168>(ptr)); + } else if (static_cast(tag) == 170) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_teammate_colors(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 match_id_additional = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_match_id_additional(&has_bits); + _impl_.match_id_additional_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated uint32 account_ids = 1; + for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_ids(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 game_type = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_game_type(), target); + } + + // optional uint64 match_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_match_id(), target); + } + + // optional uint32 server_version = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_version(), target); + } + + // repeated .PlayerRankingInfo rankings = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_rankings_size()); i < n; i++) { + const auto& repfield = this->_internal_rankings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint64 encryption_key = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_encryption_key(), target); + } + + // optional uint64 encryption_key_pub = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_encryption_key_pub(), target); + } + + // repeated uint32 party_ids = 8; + for (int i = 0, n = this->_internal_party_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_party_ids(i), target); + } + + // repeated .IpAddressMask whitelist = 9; + for (unsigned i = 0, + n = static_cast(this->_internal_whitelist_size()); i < n; i++) { + const auto& repfield = this->_internal_whitelist(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint64 tv_master_steamid = 10; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_tv_master_steamid(), target); + } + + // optional .TournamentEvent tournament_event = 11; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::tournament_event(this), + _Internal::tournament_event(this).GetCachedSize(), target, stream); + } + + // repeated .TournamentTeam tournament_teams = 12; + for (unsigned i = 0, + n = static_cast(this->_internal_tournament_teams_size()); i < n; i++) { + const auto& repfield = this->_internal_tournament_teams(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated uint32 tournament_casters_account_ids = 13; + for (int i = 0, n = this->_internal_tournament_casters_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tournament_casters_account_ids(i), target); + } + + // optional uint64 tv_relay_steamid = 14; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(14, this->_internal_tv_relay_steamid(), target); + } + + // optional .CPreMatchInfoData pre_match_data = 15; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, _Internal::pre_match_data(this), + _Internal::pre_match_data(this).GetCachedSize(), target, stream); + } + + // optional uint32 tv_control = 17; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_tv_control(), target); + } + + // optional uint32 flags = 18; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_flags(), target); + } + + // repeated .OperationalVarValue op_var_values = 19; + for (unsigned i = 0, + n = static_cast(this->_internal_op_var_values_size()); i < n; i++) { + const auto& repfield = this->_internal_op_var_values(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 socache_control = 20; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_socache_control(), target); + } + + // repeated int32 teammate_colors = 21; + for (int i = 0, n = this->_internal_teammate_colors_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_teammate_colors(i), target); + } + + // optional uint32 match_id_additional = 22; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_match_id_additional(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + 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 uint32 account_ids = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_account_ids_size()); + total_size += data_size; + } + + // repeated .PlayerRankingInfo rankings = 5; + total_size += 1UL * this->_internal_rankings_size(); + for (const auto& msg : this->_impl_.rankings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated uint32 party_ids = 8; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.party_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_party_ids_size()); + total_size += data_size; + } + + // repeated .IpAddressMask whitelist = 9; + total_size += 1UL * this->_internal_whitelist_size(); + for (const auto& msg : this->_impl_.whitelist_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .TournamentTeam tournament_teams = 12; + total_size += 1UL * this->_internal_tournament_teams_size(); + for (const auto& msg : this->_impl_.tournament_teams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated uint32 tournament_casters_account_ids = 13; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.tournament_casters_account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_tournament_casters_account_ids_size()); + total_size += data_size; + } + + // repeated .OperationalVarValue op_var_values = 19; + total_size += 2UL * this->_internal_op_var_values_size(); + for (const auto& msg : this->_impl_.op_var_values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated int32 teammate_colors = 21; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.teammate_colors_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_teammate_colors_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .TournamentEvent tournament_event = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tournament_event_); + } + + // optional .CPreMatchInfoData pre_match_data = 15; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pre_match_data_); + } + + // optional uint64 match_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 game_type = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + // optional uint32 server_version = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); + } + + // optional uint64 encryption_key = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_encryption_key()); + } + + // optional uint64 encryption_key_pub = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_encryption_key_pub()); + } + + // optional uint64 tv_master_steamid = 10; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_master_steamid()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint64 tv_relay_steamid = 14; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_relay_steamid()); + } + + // optional uint32 tv_control = 17; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tv_control()); + } + + // optional uint32 flags = 18; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flags()); + } + + // optional uint32 socache_control = 20; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_socache_control()); + } + + // optional uint32 match_id_additional = 22; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_match_id_additional()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::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:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); + _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); + _this->_impl_.party_ids_.MergeFrom(from._impl_.party_ids_); + _this->_impl_.whitelist_.MergeFrom(from._impl_.whitelist_); + _this->_impl_.tournament_teams_.MergeFrom(from._impl_.tournament_teams_); + _this->_impl_.tournament_casters_account_ids_.MergeFrom(from._impl_.tournament_casters_account_ids_); + _this->_impl_.op_var_values_.MergeFrom(from._impl_.op_var_values_); + _this->_impl_.teammate_colors_.MergeFrom(from._impl_.teammate_colors_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_tournament_event()->::TournamentEvent::MergeFrom( + from._internal_tournament_event()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_pre_match_data()->::CPreMatchInfoData::MergeFrom( + from._internal_pre_match_data()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.server_version_ = from._impl_.server_version_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.encryption_key_ = from._impl_.encryption_key_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.encryption_key_pub_ = from._impl_.encryption_key_pub_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.tv_master_steamid_ = from._impl_.tv_master_steamid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.tv_relay_steamid_ = from._impl_.tv_relay_steamid_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.tv_control_ = from._impl_.tv_control_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.socache_control_ = from._impl_.socache_control_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.match_id_additional_ = from._impl_.match_id_additional_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); + _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); + _impl_.party_ids_.InternalSwap(&other->_impl_.party_ids_); + _impl_.whitelist_.InternalSwap(&other->_impl_.whitelist_); + _impl_.tournament_teams_.InternalSwap(&other->_impl_.tournament_teams_); + _impl_.tournament_casters_account_ids_.InternalSwap(&other->_impl_.tournament_casters_account_ids_); + _impl_.op_var_values_.InternalSwap(&other->_impl_.op_var_values_); + _impl_.teammate_colors_.InternalSwap(&other->_impl_.teammate_colors_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_additional_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_impl_.match_id_additional_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_event_)>( + reinterpret_cast(&_impl_.tournament_event_), + reinterpret_cast(&other->_impl_.tournament_event_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[41]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reservationid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg); + static void set_has_reservation(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gc_reservation_sent(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_server_version(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::ServerHltvInfo& tv_info(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg); + static void set_has_tv_info(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_reward_item_attr_def_idx(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_reward_item_attr_value(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_reward_item_attr_reward_idx(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_reward_drop_list(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_tournament_tag(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_steamdatagram_port(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_steamdatagram_routing(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_test_token(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_system_load(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_cpus_online(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg) { + return *msg->_impl_.reservation_; +} +const ::ServerHltvInfo& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal::tv_info(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg) { + return *msg->_impl_.tv_info_; +} +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::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:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) +} +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reward_player_accounts_){from._impl_.reward_player_accounts_} + , decltype(_impl_.idle_player_accounts_){from._impl_.idle_player_accounts_} + , decltype(_impl_.map_){} + , decltype(_impl_.tournament_tag_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.tv_info_){nullptr} + , decltype(_impl_.reservationid_){} + , decltype(_impl_.gc_reservation_sent_){} + , decltype(_impl_.server_version_){} + , decltype(_impl_.reward_item_attr_def_idx_){} + , decltype(_impl_.reward_item_attr_value_){} + , decltype(_impl_.reward_item_attr_reward_idx_){} + , decltype(_impl_.reward_drop_list_){} + , decltype(_impl_.legacy_steamdatagram_port_){} + , decltype(_impl_.test_token_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.steamdatagram_routing_){} + , decltype(_impl_.system_load_){} + , decltype(_impl_.cpus_online_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + _impl_.tournament_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tournament_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_tournament_tag()) { + _this->_impl_.tournament_tag_.Set(from._internal_tournament_tag(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_reservation()) { + _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); + } + if (from._internal_has_tv_info()) { + _this->_impl_.tv_info_ = new ::ServerHltvInfo(*from._impl_.tv_info_); + } + ::memcpy(&_impl_.reservationid_, &from._impl_.reservationid_, + static_cast(reinterpret_cast(&_impl_.cpus_online_) - + reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.cpus_online_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reward_player_accounts_){arena} + , decltype(_impl_.idle_player_accounts_){arena} + , decltype(_impl_.map_){} + , decltype(_impl_.tournament_tag_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.tv_info_){nullptr} + , decltype(_impl_.reservationid_){uint64_t{0u}} + , decltype(_impl_.gc_reservation_sent_){uint64_t{0u}} + , decltype(_impl_.server_version_){0u} + , decltype(_impl_.reward_item_attr_def_idx_){0u} + , decltype(_impl_.reward_item_attr_value_){0u} + , decltype(_impl_.reward_item_attr_reward_idx_){0u} + , decltype(_impl_.reward_drop_list_){0u} + , decltype(_impl_.legacy_steamdatagram_port_){0u} + , decltype(_impl_.test_token_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.steamdatagram_routing_){0u} + , decltype(_impl_.system_load_){0u} + , decltype(_impl_.cpus_online_){0u} + }; + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tournament_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tournament_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::~CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.reward_player_accounts_.~RepeatedField(); + _impl_.idle_player_accounts_.~RepeatedField(); + _impl_.map_.Destroy(); + _impl_.tournament_tag_.Destroy(); + if (this != internal_default_instance()) delete _impl_.reservation_; + if (this != internal_default_instance()) delete _impl_.tv_info_; +} + +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.reward_player_accounts_.Clear(); + _impl_.idle_player_accounts_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.map_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.tournament_tag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.reservation_ != nullptr); + _impl_.reservation_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.tv_info_ != nullptr); + _impl_.tv_info_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.reservationid_, 0, static_cast( + reinterpret_cast(&_impl_.reward_item_attr_def_idx_) - + reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.reward_item_attr_def_idx_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.reward_item_attr_value_, 0, static_cast( + reinterpret_cast(&_impl_.system_load_) - + reinterpret_cast(&_impl_.reward_item_attr_value_)) + sizeof(_impl_.system_load_)); + } + _impl_.cpus_online_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 reservationid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reservationid(&has_bits); + _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 gc_reservation_sent = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_gc_reservation_sent(&has_bits); + _impl_.gc_reservation_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_version = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_server_version(&has_bits); + _impl_.server_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .ServerHltvInfo tv_info = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_tv_info(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 reward_player_accounts = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_reward_player_accounts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_reward_player_accounts(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 idle_player_accounts = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_idle_player_accounts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_idle_player_accounts(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reward_item_attr_def_idx = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_reward_item_attr_def_idx(&has_bits); + _impl_.reward_item_attr_def_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reward_item_attr_value = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_reward_item_attr_value(&has_bits); + _impl_.reward_item_attr_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reward_item_attr_reward_idx = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_reward_item_attr_reward_idx(&has_bits); + _impl_.reward_item_attr_reward_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reward_drop_list = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_reward_drop_list(&has_bits); + _impl_.reward_drop_list_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string tournament_tag = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_tournament_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 legacy_steamdatagram_port = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_legacy_steamdatagram_port(&has_bits); + _impl_.legacy_steamdatagram_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 test_token = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { + _Internal::set_has_test_token(&has_bits); + _impl_.test_token_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 steamdatagram_routing = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_steamdatagram_routing(&has_bits); + _impl_.steamdatagram_routing_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 system_load = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_system_load(&has_bits); + _impl_.system_load_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cpus_online = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_cpus_online(&has_bits); + _impl_.cpus_online_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 reservationid = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_reservationid(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::reservation(this), + _Internal::reservation(this).GetCachedSize(), target, stream); + } + + // optional string map = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_map(), target); + } + + // optional uint64 gc_reservation_sent = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_gc_reservation_sent(), target); + } + + // optional uint32 server_version = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_server_version(), target); + } + + // optional .ServerHltvInfo tv_info = 6; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::tv_info(this), + _Internal::tv_info(this).GetCachedSize(), target, stream); + } + + // repeated uint32 reward_player_accounts = 7; + for (int i = 0, n = this->_internal_reward_player_accounts_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_reward_player_accounts(i), target); + } + + // repeated uint32 idle_player_accounts = 8; + for (int i = 0, n = this->_internal_idle_player_accounts_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_idle_player_accounts(i), target); + } + + // optional uint32 reward_item_attr_def_idx = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_reward_item_attr_def_idx(), target); + } + + // optional uint32 reward_item_attr_value = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_reward_item_attr_value(), target); + } + + // optional uint32 reward_item_attr_reward_idx = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_reward_item_attr_reward_idx(), target); + } + + // optional uint32 reward_drop_list = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_reward_drop_list(), target); + } + + // optional string tournament_tag = 13; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_tournament_tag().data(), static_cast(this->_internal_tournament_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_tournament_tag(), target); + } + + // optional uint32 legacy_steamdatagram_port = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_legacy_steamdatagram_port(), target); + } + + // optional fixed32 test_token = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_test_token(), target); + } + + // optional uint32 flags = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_flags(), target); + } + + // optional uint32 steamdatagram_routing = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_steamdatagram_routing(), target); + } + + // optional uint32 system_load = 18; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_system_load(), target); + } + + // optional uint32 cpus_online = 19; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_cpus_online(), 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:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + 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 uint32 reward_player_accounts = 7; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.reward_player_accounts_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_reward_player_accounts_size()); + total_size += data_size; + } + + // repeated uint32 idle_player_accounts = 8; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.idle_player_accounts_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_idle_player_accounts_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string map = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // optional string tournament_tag = 13; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tournament_tag()); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.reservation_); + } + + // optional .ServerHltvInfo tv_info = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tv_info_); + } + + // optional uint64 reservationid = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); + } + + // optional uint64 gc_reservation_sent = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_gc_reservation_sent()); + } + + // optional uint32 server_version = 5; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); + } + + // optional uint32 reward_item_attr_def_idx = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_def_idx()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 reward_item_attr_value = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_value()); + } + + // optional uint32 reward_item_attr_reward_idx = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_reward_idx()); + } + + // optional uint32 reward_drop_list = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_drop_list()); + } + + // optional uint32 legacy_steamdatagram_port = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_steamdatagram_port()); + } + + // optional fixed32 test_token = 15; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 4; + } + + // optional uint32 flags = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flags()); + } + + // optional uint32 steamdatagram_routing = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_steamdatagram_routing()); + } + + // optional uint32 system_load = 18; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_system_load()); + } + + } + // optional uint32 cpus_online = 19; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_cpus_online()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::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:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.reward_player_accounts_.MergeFrom(from._impl_.reward_player_accounts_); + _this->_impl_.idle_player_accounts_.MergeFrom(from._impl_.idle_player_accounts_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_map(from._internal_map()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_tournament_tag(from._internal_tournament_tag()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( + from._internal_reservation()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_tv_info()->::ServerHltvInfo::MergeFrom( + from._internal_tv_info()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.reservationid_ = from._impl_.reservationid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.gc_reservation_sent_ = from._impl_.gc_reservation_sent_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.server_version_ = from._impl_.server_version_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.reward_item_attr_def_idx_ = from._impl_.reward_item_attr_def_idx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.reward_item_attr_value_ = from._impl_.reward_item_attr_value_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.reward_item_attr_reward_idx_ = from._impl_.reward_item_attr_reward_idx_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.reward_drop_list_ = from._impl_.reward_drop_list_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.legacy_steamdatagram_port_ = from._impl_.legacy_steamdatagram_port_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.test_token_ = from._impl_.test_token_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.steamdatagram_routing_ = from._impl_.steamdatagram_routing_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.system_load_ = from._impl_.system_load_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00010000u) { + _this->_internal_set_cpus_online(from._internal_cpus_online()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.reward_player_accounts_.InternalSwap(&other->_impl_.reward_player_accounts_); + _impl_.idle_player_accounts_.InternalSwap(&other->_impl_.idle_player_accounts_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.tournament_tag_, lhs_arena, + &other->_impl_.tournament_tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.cpus_online_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_impl_.cpus_online_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservation_)>( + reinterpret_cast(&_impl_.reservation_), + reinterpret_cast(&other->_impl_.reservation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[42]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_serverid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_direct_udp_ip(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_direct_udp_port(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_reservationid(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg); + static void set_has_reservation(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_server_address(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::DataCenterPing& gs_ping(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg); + static void set_has_gs_ping(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_gs_location_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& +CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg) { + return *msg->_impl_.reservation_; +} +const ::DataCenterPing& +CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal::gs_ping(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg) { + return *msg->_impl_.gs_ping_; +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_){} + , decltype(_impl_.server_address_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.gs_ping_){nullptr} + , decltype(_impl_.serverid_){} + , decltype(_impl_.direct_udp_ip_){} + , decltype(_impl_.direct_udp_port_){} + , decltype(_impl_.reservationid_){} + , decltype(_impl_.gs_location_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + _impl_.server_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_server_address()) { + _this->_impl_.server_address_.Set(from._internal_server_address(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_reservation()) { + _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); + } + if (from._internal_has_gs_ping()) { + _this->_impl_.gs_ping_ = new ::DataCenterPing(*from._impl_.gs_ping_); + } + ::memcpy(&_impl_.serverid_, &from._impl_.serverid_, + static_cast(reinterpret_cast(&_impl_.gs_location_id_) - + reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.gs_location_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_){} + , decltype(_impl_.server_address_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.gs_ping_){nullptr} + , decltype(_impl_.serverid_){uint64_t{0u}} + , decltype(_impl_.direct_udp_ip_){0u} + , decltype(_impl_.direct_udp_port_){0u} + , decltype(_impl_.reservationid_){uint64_t{0u}} + , decltype(_impl_.gs_location_id_){0u} + }; + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.map_.Destroy(); + _impl_.server_address_.Destroy(); + if (this != internal_default_instance()) delete _impl_.reservation_; + if (this != internal_default_instance()) delete _impl_.gs_ping_; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.map_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.server_address_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.reservation_ != nullptr); + _impl_.reservation_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.gs_ping_ != nullptr); + _impl_.gs_ping_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.serverid_, 0, static_cast( + reinterpret_cast(&_impl_.reservationid_) - + reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.reservationid_)); + } + _impl_.gs_location_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 serverid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_serverid(&has_bits); + _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 direct_udp_ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_direct_udp_ip(&has_bits); + _impl_.direct_udp_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 direct_udp_port = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_direct_udp_port(&has_bits); + _impl_.direct_udp_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 reservationid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_reservationid(&has_bits); + _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string map = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string server_address = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_server_address(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .DataCenterPing gs_ping = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_gs_ping(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gs_location_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_gs_location_id(&has_bits); + _impl_.gs_location_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 serverid = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_serverid(), target); + } + + // optional uint32 direct_udp_ip = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_direct_udp_ip(), target); + } + + // optional uint32 direct_udp_port = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_direct_udp_port(), target); + } + + // optional uint64 reservationid = 4; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_reservationid(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::reservation(this), + _Internal::reservation(this).GetCachedSize(), target, stream); + } + + // optional string map = 6; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_map(), target); + } + + // optional string server_address = 7; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_server_address().data(), static_cast(this->_internal_server_address().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_server_address(), target); + } + + // optional .DataCenterPing gs_ping = 8; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::gs_ping(this), + _Internal::gs_ping(this).GetCachedSize(), target, stream); + } + + // optional uint32 gs_location_id = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_gs_location_id(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string map = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // optional string server_address = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_server_address()); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.reservation_); + } + + // optional .DataCenterPing gs_ping = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.gs_ping_); + } + + // optional uint64 serverid = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); + } + + // optional uint32 direct_udp_ip = 2; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_direct_udp_ip()); + } + + // optional uint32 direct_udp_port = 3; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_direct_udp_port()); + } + + // optional uint64 reservationid = 4; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); + } + + } + // optional uint32 gs_location_id = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gs_location_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_map(from._internal_map()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_server_address(from._internal_server_address()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( + from._internal_reservation()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_gs_ping()->::DataCenterPing::MergeFrom( + from._internal_gs_ping()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.serverid_ = from._impl_.serverid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.direct_udp_ip_ = from._impl_.direct_udp_ip_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.direct_udp_port_ = from._impl_.direct_udp_port_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.reservationid_ = from._impl_.reservationid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_gs_location_id(from._internal_gs_location_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.server_address_, lhs_arena, + &other->_impl_.server_address_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_location_id_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_impl_.gs_location_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservation_)>( + reinterpret_cast(&_impl_.reservation_), + reinterpret_cast(&other->_impl_.reservation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[43]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_mvp(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) +} +CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_mvp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.account_mvp_ = from._impl_.account_mvp_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_mvp_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_mvp_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_mvp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_mvp(&has_bits); + _impl_.account_mvp_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_mvp = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_mvp(), 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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 account_mvp = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_mvp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_account_mvp()) { + _this->_internal_set_account_mvp(from._internal_account_mvp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.account_mvp_, other->_impl_.account_mvp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[44]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reservationid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); + static void set_has_reservation(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_round(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_round_result(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_match_result(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& confirm(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); + static void set_has_confirm(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_reservation_stage(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_match_duration(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_spectators_count(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_spectators_count_tv(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_spectators_count_lnk(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& drop_info(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); + static void set_has_drop_info(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_b_switched_teams(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_max_rounds(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_map_id(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { + return *msg->_impl_.reservation_; +} +const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::confirm(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { + return *msg->_impl_.confirm_; +} +const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::drop_info(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { + return *msg->_impl_.drop_info_; +} +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) +} +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.kills_){from._impl_.kills_} + , decltype(_impl_.assists_){from._impl_.assists_} + , decltype(_impl_.deaths_){from._impl_.deaths_} + , decltype(_impl_.scores_){from._impl_.scores_} + , decltype(_impl_.pings_){from._impl_.pings_} + , decltype(_impl_.team_scores_){from._impl_.team_scores_} + , decltype(_impl_.enemy_kills_){from._impl_.enemy_kills_} + , decltype(_impl_.enemy_headshots_){from._impl_.enemy_headshots_} + , decltype(_impl_.enemy_3ks_){from._impl_.enemy_3ks_} + , decltype(_impl_.enemy_4ks_){from._impl_.enemy_4ks_} + , decltype(_impl_.enemy_5ks_){from._impl_.enemy_5ks_} + , decltype(_impl_.mvps_){from._impl_.mvps_} + , decltype(_impl_.enemy_kills_agg_){from._impl_.enemy_kills_agg_} + , decltype(_impl_.enemy_2ks_){from._impl_.enemy_2ks_} + , decltype(_impl_.player_spawned_){from._impl_.player_spawned_} + , decltype(_impl_.team_spawn_count_){from._impl_.team_spawn_count_} + , decltype(_impl_.map_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.confirm_){nullptr} + , decltype(_impl_.drop_info_){nullptr} + , decltype(_impl_.reservationid_){} + , decltype(_impl_.round_){} + , decltype(_impl_.round_result_){} + , decltype(_impl_.match_result_){} + , decltype(_impl_.reservation_stage_){} + , decltype(_impl_.match_duration_){} + , decltype(_impl_.spectators_count_){} + , decltype(_impl_.spectators_count_tv_){} + , decltype(_impl_.spectators_count_lnk_){} + , decltype(_impl_.b_switched_teams_){} + , decltype(_impl_.max_rounds_){} + , decltype(_impl_.map_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_reservation()) { + _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); + } + if (from._internal_has_confirm()) { + _this->_impl_.confirm_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(*from._impl_.confirm_); + } + if (from._internal_has_drop_info()) { + _this->_impl_.drop_info_ = new ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(*from._impl_.drop_info_); + } + ::memcpy(&_impl_.reservationid_, &from._impl_.reservationid_, + static_cast(reinterpret_cast(&_impl_.map_id_) - + reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.map_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.kills_){arena} + , decltype(_impl_.assists_){arena} + , decltype(_impl_.deaths_){arena} + , decltype(_impl_.scores_){arena} + , decltype(_impl_.pings_){arena} + , decltype(_impl_.team_scores_){arena} + , decltype(_impl_.enemy_kills_){arena} + , decltype(_impl_.enemy_headshots_){arena} + , decltype(_impl_.enemy_3ks_){arena} + , decltype(_impl_.enemy_4ks_){arena} + , decltype(_impl_.enemy_5ks_){arena} + , decltype(_impl_.mvps_){arena} + , decltype(_impl_.enemy_kills_agg_){arena} + , decltype(_impl_.enemy_2ks_){arena} + , decltype(_impl_.player_spawned_){arena} + , decltype(_impl_.team_spawn_count_){arena} + , decltype(_impl_.map_){} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.confirm_){nullptr} + , decltype(_impl_.drop_info_){nullptr} + , decltype(_impl_.reservationid_){uint64_t{0u}} + , decltype(_impl_.round_){0} + , decltype(_impl_.round_result_){0} + , decltype(_impl_.match_result_){0} + , decltype(_impl_.reservation_stage_){0} + , decltype(_impl_.match_duration_){0} + , decltype(_impl_.spectators_count_){0u} + , decltype(_impl_.spectators_count_tv_){0u} + , decltype(_impl_.spectators_count_lnk_){0u} + , decltype(_impl_.b_switched_teams_){false} + , decltype(_impl_.max_rounds_){0u} + , decltype(_impl_.map_id_){0} + }; + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::~CMsgGCCStrike15_v2_MatchmakingServerRoundStats() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.kills_.~RepeatedField(); + _impl_.assists_.~RepeatedField(); + _impl_.deaths_.~RepeatedField(); + _impl_.scores_.~RepeatedField(); + _impl_.pings_.~RepeatedField(); + _impl_.team_scores_.~RepeatedField(); + _impl_.enemy_kills_.~RepeatedField(); + _impl_.enemy_headshots_.~RepeatedField(); + _impl_.enemy_3ks_.~RepeatedField(); + _impl_.enemy_4ks_.~RepeatedField(); + _impl_.enemy_5ks_.~RepeatedField(); + _impl_.mvps_.~RepeatedField(); + _impl_.enemy_kills_agg_.~RepeatedField(); + _impl_.enemy_2ks_.~RepeatedField(); + _impl_.player_spawned_.~RepeatedField(); + _impl_.team_spawn_count_.~RepeatedField(); + _impl_.map_.Destroy(); + if (this != internal_default_instance()) delete _impl_.reservation_; + if (this != internal_default_instance()) delete _impl_.confirm_; + if (this != internal_default_instance()) delete _impl_.drop_info_; +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.kills_.Clear(); + _impl_.assists_.Clear(); + _impl_.deaths_.Clear(); + _impl_.scores_.Clear(); + _impl_.pings_.Clear(); + _impl_.team_scores_.Clear(); + _impl_.enemy_kills_.Clear(); + _impl_.enemy_headshots_.Clear(); + _impl_.enemy_3ks_.Clear(); + _impl_.enemy_4ks_.Clear(); + _impl_.enemy_5ks_.Clear(); + _impl_.mvps_.Clear(); + _impl_.enemy_kills_agg_.Clear(); + _impl_.enemy_2ks_.Clear(); + _impl_.player_spawned_.Clear(); + _impl_.team_spawn_count_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.map_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.reservation_ != nullptr); + _impl_.reservation_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.confirm_ != nullptr); + _impl_.confirm_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.drop_info_ != nullptr); + _impl_.drop_info_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.reservationid_, 0, static_cast( + reinterpret_cast(&_impl_.match_result_) - + reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.match_result_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.reservation_stage_, 0, static_cast( + reinterpret_cast(&_impl_.map_id_) - + reinterpret_cast(&_impl_.reservation_stage_)) + sizeof(_impl_.map_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 reservationid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reservationid(&has_bits); + _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 round = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_round(&has_bits); + _impl_.round_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 kills = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_kills(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_kills(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 assists = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_assists(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_assists(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 deaths = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_deaths(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_deaths(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 scores = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_scores(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_scores(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 pings = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_pings(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); + } else if (static_cast(tag) == 74) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_pings(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 round_result = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_round_result(&has_bits); + _impl_.round_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 match_result = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_match_result(&has_bits); + _impl_.match_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 team_scores = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_team_scores(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); + } else if (static_cast(tag) == 98) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_team_scores(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_confirm(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 reservation_stage = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_reservation_stage(&has_bits); + _impl_.reservation_stage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 match_duration = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_match_duration(&has_bits); + _impl_.match_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_kills = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_kills(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); + } else if (static_cast(tag) == 130) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_kills(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_headshots = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_headshots(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); + } else if (static_cast(tag) == 138) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_headshots(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_3ks = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_3ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<144>(ptr)); + } else if (static_cast(tag) == 146) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_3ks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_4ks = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_4ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<152>(ptr)); + } else if (static_cast(tag) == 154) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_4ks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_5ks = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_5ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<160>(ptr)); + } else if (static_cast(tag) == 162) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_5ks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 mvps = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_mvps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<168>(ptr)); + } else if (static_cast(tag) == 170) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_mvps(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 spectators_count = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_spectators_count(&has_bits); + _impl_.spectators_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 spectators_count_tv = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_spectators_count_tv(&has_bits); + _impl_.spectators_count_tv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 spectators_count_lnk = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { + _Internal::set_has_spectators_count_lnk(&has_bits); + _impl_.spectators_count_lnk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_kills_agg = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_kills_agg(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<200>(ptr)); + } else if (static_cast(tag) == 202) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_kills_agg(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { + ptr = ctx->ParseMessage(_internal_mutable_drop_info(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool b_switched_teams = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_b_switched_teams(&has_bits); + _impl_.b_switched_teams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 enemy_2ks = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_enemy_2ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<224>(ptr)); + } else if (static_cast(tag) == 226) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_2ks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 player_spawned = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_player_spawned(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<232>(ptr)); + } else if (static_cast(tag) == 234) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_player_spawned(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 team_spawn_count = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + ptr -= 2; + do { + ptr += 2; + _internal_add_team_spawn_count(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<240>(ptr)); + } else if (static_cast(tag) == 242) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_team_spawn_count(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_rounds = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_max_rounds(&has_bits); + _impl_.max_rounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 map_id = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_map_id(&has_bits); + _impl_.map_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 reservationid = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_reservationid(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::reservation(this), + _Internal::reservation(this).GetCachedSize(), target, stream); + } + + // optional string map = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_map(), target); + } + + // optional int32 round = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_round(), target); + } + + // repeated int32 kills = 5; + for (int i = 0, n = this->_internal_kills_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_kills(i), target); + } + + // repeated int32 assists = 6; + for (int i = 0, n = this->_internal_assists_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_assists(i), target); + } + + // repeated int32 deaths = 7; + for (int i = 0, n = this->_internal_deaths_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_deaths(i), target); + } + + // repeated int32 scores = 8; + for (int i = 0, n = this->_internal_scores_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_scores(i), target); + } + + // repeated int32 pings = 9; + for (int i = 0, n = this->_internal_pings_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_pings(i), target); + } + + // optional int32 round_result = 10; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_round_result(), target); + } + + // optional int32 match_result = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_match_result(), target); + } + + // repeated int32 team_scores = 12; + for (int i = 0, n = this->_internal_team_scores_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_team_scores(i), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::confirm(this), + _Internal::confirm(this).GetCachedSize(), target, stream); + } + + // optional int32 reservation_stage = 14; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_reservation_stage(), target); + } + + // optional int32 match_duration = 15; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_match_duration(), target); + } + + // repeated int32 enemy_kills = 16; + for (int i = 0, n = this->_internal_enemy_kills_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_enemy_kills(i), target); + } + + // repeated int32 enemy_headshots = 17; + for (int i = 0, n = this->_internal_enemy_headshots_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_enemy_headshots(i), target); + } + + // repeated int32 enemy_3ks = 18; + for (int i = 0, n = this->_internal_enemy_3ks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_enemy_3ks(i), target); + } + + // repeated int32 enemy_4ks = 19; + for (int i = 0, n = this->_internal_enemy_4ks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(19, this->_internal_enemy_4ks(i), target); + } + + // repeated int32 enemy_5ks = 20; + for (int i = 0, n = this->_internal_enemy_5ks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(20, this->_internal_enemy_5ks(i), target); + } + + // repeated int32 mvps = 21; + for (int i = 0, n = this->_internal_mvps_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_mvps(i), target); + } + + // optional uint32 spectators_count = 22; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_spectators_count(), target); + } + + // optional uint32 spectators_count_tv = 23; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_spectators_count_tv(), target); + } + + // optional uint32 spectators_count_lnk = 24; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_spectators_count_lnk(), target); + } + + // repeated int32 enemy_kills_agg = 25; + for (int i = 0, n = this->_internal_enemy_kills_agg_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(25, this->_internal_enemy_kills_agg(i), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(26, _Internal::drop_info(this), + _Internal::drop_info(this).GetCachedSize(), target, stream); + } + + // optional bool b_switched_teams = 27; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(27, this->_internal_b_switched_teams(), target); + } + + // repeated int32 enemy_2ks = 28; + for (int i = 0, n = this->_internal_enemy_2ks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(28, this->_internal_enemy_2ks(i), target); + } + + // repeated int32 player_spawned = 29; + for (int i = 0, n = this->_internal_player_spawned_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(29, this->_internal_player_spawned(i), target); + } + + // repeated int32 team_spawn_count = 30; + for (int i = 0, n = this->_internal_team_spawn_count_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(30, this->_internal_team_spawn_count(i), target); + } + + // optional uint32 max_rounds = 31; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_max_rounds(), target); + } + + // optional int32 map_id = 32; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(32, this->_internal_map_id(), 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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + 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 int32 kills = 5; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.kills_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_kills_size()); + total_size += data_size; + } + + // repeated int32 assists = 6; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.assists_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_assists_size()); + total_size += data_size; + } + + // repeated int32 deaths = 7; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.deaths_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_deaths_size()); + total_size += data_size; + } + + // repeated int32 scores = 8; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.scores_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_scores_size()); + total_size += data_size; + } + + // repeated int32 pings = 9; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.pings_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_pings_size()); + total_size += data_size; + } + + // repeated int32 team_scores = 12; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.team_scores_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_team_scores_size()); + total_size += data_size; + } + + // repeated int32 enemy_kills = 16; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_kills_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_kills_size()); + total_size += data_size; + } + + // repeated int32 enemy_headshots = 17; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_headshots_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_headshots_size()); + total_size += data_size; + } + + // repeated int32 enemy_3ks = 18; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_3ks_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_3ks_size()); + total_size += data_size; + } + + // repeated int32 enemy_4ks = 19; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_4ks_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_4ks_size()); + total_size += data_size; + } + + // repeated int32 enemy_5ks = 20; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_5ks_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_5ks_size()); + total_size += data_size; + } + + // repeated int32 mvps = 21; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.mvps_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_mvps_size()); + total_size += data_size; + } + + // repeated int32 enemy_kills_agg = 25; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_kills_agg_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_kills_agg_size()); + total_size += data_size; + } + + // repeated int32 enemy_2ks = 28; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.enemy_2ks_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_enemy_2ks_size()); + total_size += data_size; + } + + // repeated int32 player_spawned = 29; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.player_spawned_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_player_spawned_size()); + total_size += data_size; + } + + // repeated int32 team_spawn_count = 30; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.team_spawn_count_); + total_size += 2 * + ::_pbi::FromIntSize(this->_internal_team_spawn_count_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string map = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.reservation_); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.confirm_); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.drop_info_); + } + + // optional uint64 reservationid = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); + } + + // optional int32 round = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round()); + } + + // optional int32 round_result = 10; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_result()); + } + + // optional int32 match_result = 11; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_result()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 reservation_stage = 14; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reservation_stage()); + } + + // optional int32 match_duration = 15; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_duration()); + } + + // optional uint32 spectators_count = 22; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_spectators_count()); + } + + // optional uint32 spectators_count_tv = 23; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_spectators_count_tv()); + } + + // optional uint32 spectators_count_lnk = 24; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_spectators_count_lnk()); + } + + // optional bool b_switched_teams = 27; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + 1; + } + + // optional uint32 max_rounds = 31; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_max_rounds()); + } + + // optional int32 map_id = 32; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_map_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerRoundStats::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.kills_.MergeFrom(from._impl_.kills_); + _this->_impl_.assists_.MergeFrom(from._impl_.assists_); + _this->_impl_.deaths_.MergeFrom(from._impl_.deaths_); + _this->_impl_.scores_.MergeFrom(from._impl_.scores_); + _this->_impl_.pings_.MergeFrom(from._impl_.pings_); + _this->_impl_.team_scores_.MergeFrom(from._impl_.team_scores_); + _this->_impl_.enemy_kills_.MergeFrom(from._impl_.enemy_kills_); + _this->_impl_.enemy_headshots_.MergeFrom(from._impl_.enemy_headshots_); + _this->_impl_.enemy_3ks_.MergeFrom(from._impl_.enemy_3ks_); + _this->_impl_.enemy_4ks_.MergeFrom(from._impl_.enemy_4ks_); + _this->_impl_.enemy_5ks_.MergeFrom(from._impl_.enemy_5ks_); + _this->_impl_.mvps_.MergeFrom(from._impl_.mvps_); + _this->_impl_.enemy_kills_agg_.MergeFrom(from._impl_.enemy_kills_agg_); + _this->_impl_.enemy_2ks_.MergeFrom(from._impl_.enemy_2ks_); + _this->_impl_.player_spawned_.MergeFrom(from._impl_.player_spawned_); + _this->_impl_.team_spawn_count_.MergeFrom(from._impl_.team_spawn_count_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_map(from._internal_map()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( + from._internal_reservation()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_confirm()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeFrom( + from._internal_confirm()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_drop_info()->::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeFrom( + from._internal_drop_info()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.reservationid_ = from._impl_.reservationid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.round_ = from._impl_.round_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.round_result_ = from._impl_.round_result_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.match_result_ = from._impl_.match_result_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.reservation_stage_ = from._impl_.reservation_stage_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.match_duration_ = from._impl_.match_duration_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.spectators_count_ = from._impl_.spectators_count_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.spectators_count_tv_ = from._impl_.spectators_count_tv_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.spectators_count_lnk_ = from._impl_.spectators_count_lnk_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.b_switched_teams_ = from._impl_.b_switched_teams_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.max_rounds_ = from._impl_.max_rounds_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.map_id_ = from._impl_.map_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.kills_.InternalSwap(&other->_impl_.kills_); + _impl_.assists_.InternalSwap(&other->_impl_.assists_); + _impl_.deaths_.InternalSwap(&other->_impl_.deaths_); + _impl_.scores_.InternalSwap(&other->_impl_.scores_); + _impl_.pings_.InternalSwap(&other->_impl_.pings_); + _impl_.team_scores_.InternalSwap(&other->_impl_.team_scores_); + _impl_.enemy_kills_.InternalSwap(&other->_impl_.enemy_kills_); + _impl_.enemy_headshots_.InternalSwap(&other->_impl_.enemy_headshots_); + _impl_.enemy_3ks_.InternalSwap(&other->_impl_.enemy_3ks_); + _impl_.enemy_4ks_.InternalSwap(&other->_impl_.enemy_4ks_); + _impl_.enemy_5ks_.InternalSwap(&other->_impl_.enemy_5ks_); + _impl_.mvps_.InternalSwap(&other->_impl_.mvps_); + _impl_.enemy_kills_agg_.InternalSwap(&other->_impl_.enemy_kills_agg_); + _impl_.enemy_2ks_.InternalSwap(&other->_impl_.enemy_2ks_); + _impl_.player_spawned_.InternalSwap(&other->_impl_.player_spawned_); + _impl_.team_spawn_count_.InternalSwap(&other->_impl_.team_spawn_count_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_id_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_impl_.map_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_)>( + reinterpret_cast(&_impl_.reservation_), + reinterpret_cast(&other->_impl_.reservation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerRoundStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[45]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingClient2GCHello::_Internal { + public: +}; + +CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) +} +CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCCStrike15_v2_MatchmakingClient2GCHello* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingClient2GCHello::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingClient2GCHello::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingClient2GCHello::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[46]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& ongoingmatch(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_ongoingmatch(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::GlobalStatistics& global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_global_stats(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_penalty_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_penalty_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_vac_banned(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::PlayerRankingInfo& ranking(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_ranking(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::PlayerCommendationInfo& commendation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_commendation(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::PlayerMedalsInfo& medals(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_medals(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::TournamentEvent& my_current_event(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_my_current_event(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::TournamentTeam& my_current_team(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_my_current_team(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_survey_vote(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static const ::AccountActivity& activity(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); + static void set_has_activity(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_player_level(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_player_cur_xp(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_player_xp_bonus_flags(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_owcaseid(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::ongoingmatch(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.ongoingmatch_; +} +const ::GlobalStatistics& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.global_stats_; +} +const ::PlayerRankingInfo& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::ranking(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.ranking_; +} +const ::PlayerCommendationInfo& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::commendation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.commendation_; +} +const ::PlayerMedalsInfo& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::medals(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.medals_; +} +const ::TournamentEvent& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::my_current_event(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.my_current_event_; +} +const ::TournamentTeam& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::my_current_team(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.my_current_team_; +} +const ::AccountActivity& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::activity(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { + return *msg->_impl_.activity_; +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_current_event_teams_){from._impl_.my_current_event_teams_} + , decltype(_impl_.my_current_event_stages_){from._impl_.my_current_event_stages_} + , decltype(_impl_.rankings_){from._impl_.rankings_} + , decltype(_impl_.ongoingmatch_){nullptr} + , decltype(_impl_.global_stats_){nullptr} + , decltype(_impl_.ranking_){nullptr} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.medals_){nullptr} + , decltype(_impl_.my_current_event_){nullptr} + , decltype(_impl_.my_current_team_){nullptr} + , decltype(_impl_.activity_){nullptr} + , decltype(_impl_.account_id_){} + , decltype(_impl_.penalty_seconds_){} + , decltype(_impl_.penalty_reason_){} + , decltype(_impl_.vac_banned_){} + , decltype(_impl_.survey_vote_){} + , decltype(_impl_.player_level_){} + , decltype(_impl_.player_cur_xp_){} + , decltype(_impl_.player_xp_bonus_flags_){} + , decltype(_impl_.owcaseid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_ongoingmatch()) { + _this->_impl_.ongoingmatch_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.ongoingmatch_); + } + if (from._internal_has_global_stats()) { + _this->_impl_.global_stats_ = new ::GlobalStatistics(*from._impl_.global_stats_); + } + if (from._internal_has_ranking()) { + _this->_impl_.ranking_ = new ::PlayerRankingInfo(*from._impl_.ranking_); + } + if (from._internal_has_commendation()) { + _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); + } + if (from._internal_has_medals()) { + _this->_impl_.medals_ = new ::PlayerMedalsInfo(*from._impl_.medals_); + } + if (from._internal_has_my_current_event()) { + _this->_impl_.my_current_event_ = new ::TournamentEvent(*from._impl_.my_current_event_); + } + if (from._internal_has_my_current_team()) { + _this->_impl_.my_current_team_ = new ::TournamentTeam(*from._impl_.my_current_team_); + } + if (from._internal_has_activity()) { + _this->_impl_.activity_ = new ::AccountActivity(*from._impl_.activity_); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.owcaseid_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.owcaseid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_current_event_teams_){arena} + , decltype(_impl_.my_current_event_stages_){arena} + , decltype(_impl_.rankings_){arena} + , decltype(_impl_.ongoingmatch_){nullptr} + , decltype(_impl_.global_stats_){nullptr} + , decltype(_impl_.ranking_){nullptr} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.medals_){nullptr} + , decltype(_impl_.my_current_event_){nullptr} + , decltype(_impl_.my_current_team_){nullptr} + , decltype(_impl_.activity_){nullptr} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.penalty_seconds_){0u} + , decltype(_impl_.penalty_reason_){0u} + , decltype(_impl_.vac_banned_){0} + , decltype(_impl_.survey_vote_){0u} + , decltype(_impl_.player_level_){0} + , decltype(_impl_.player_cur_xp_){0} + , decltype(_impl_.player_xp_bonus_flags_){0} + , decltype(_impl_.owcaseid_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::~CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.my_current_event_teams_.~RepeatedPtrField(); + _impl_.my_current_event_stages_.~RepeatedPtrField(); + _impl_.rankings_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.ongoingmatch_; + if (this != internal_default_instance()) delete _impl_.global_stats_; + if (this != internal_default_instance()) delete _impl_.ranking_; + if (this != internal_default_instance()) delete _impl_.commendation_; + if (this != internal_default_instance()) delete _impl_.medals_; + if (this != internal_default_instance()) delete _impl_.my_current_event_; + if (this != internal_default_instance()) delete _impl_.my_current_team_; + if (this != internal_default_instance()) delete _impl_.activity_; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.my_current_event_teams_.Clear(); + _impl_.my_current_event_stages_.Clear(); + _impl_.rankings_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.ongoingmatch_ != nullptr); + _impl_.ongoingmatch_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.global_stats_ != nullptr); + _impl_.global_stats_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.ranking_ != nullptr); + _impl_.ranking_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.commendation_ != nullptr); + _impl_.commendation_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.medals_ != nullptr); + _impl_.medals_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.my_current_event_ != nullptr); + _impl_.my_current_event_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.my_current_team_ != nullptr); + _impl_.my_current_team_->Clear(); + } + if (cached_has_bits & 0x00000080u) { + GOOGLE_DCHECK(_impl_.activity_ != nullptr); + _impl_.activity_->Clear(); + } + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.player_xp_bonus_flags_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_xp_bonus_flags_)); + } + _impl_.owcaseid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_ongoingmatch(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .GlobalStatistics global_stats = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_global_stats(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty_seconds = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_penalty_seconds(&has_bits); + _impl_.penalty_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty_reason = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_penalty_reason(&has_bits); + _impl_.penalty_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 vac_banned = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_vac_banned(&has_bits); + _impl_.vac_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PlayerRankingInfo ranking = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_ranking(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PlayerCommendationInfo commendation = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PlayerMedalsInfo medals = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_medals(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .TournamentEvent my_current_event = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_my_current_event(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .TournamentTeam my_current_event_teams = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_my_current_event_teams(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // optional .TournamentTeam my_current_team = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_my_current_team(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .TournamentEvent my_current_event_stages = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_my_current_event_stages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 survey_vote = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_survey_vote(&has_bits); + _impl_.survey_vote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .AccountActivity activity = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ctx->ParseMessage(_internal_mutable_activity(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_level = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_player_level(&has_bits); + _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_cur_xp = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_player_cur_xp(&has_bits); + _impl_.player_cur_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_xp_bonus_flags = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_player_xp_bonus_flags(&has_bits); + _impl_.player_xp_bonus_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PlayerRankingInfo rankings = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint64 owcaseid = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_owcaseid(&has_bits); + _impl_.owcaseid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::ongoingmatch(this), + _Internal::ongoingmatch(this).GetCachedSize(), target, stream); + } + + // optional .GlobalStatistics global_stats = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::global_stats(this), + _Internal::global_stats(this).GetCachedSize(), target, stream); + } + + // optional uint32 penalty_seconds = 4; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_penalty_seconds(), target); + } + + // optional uint32 penalty_reason = 5; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_penalty_reason(), target); + } + + // optional int32 vac_banned = 6; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_vac_banned(), target); + } + + // optional .PlayerRankingInfo ranking = 7; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::ranking(this), + _Internal::ranking(this).GetCachedSize(), target, stream); + } + + // optional .PlayerCommendationInfo commendation = 8; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::commendation(this), + _Internal::commendation(this).GetCachedSize(), target, stream); + } + + // optional .PlayerMedalsInfo medals = 9; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::medals(this), + _Internal::medals(this).GetCachedSize(), target, stream); + } + + // optional .TournamentEvent my_current_event = 10; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::my_current_event(this), + _Internal::my_current_event(this).GetCachedSize(), target, stream); + } + + // repeated .TournamentTeam my_current_event_teams = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_my_current_event_teams_size()); i < n; i++) { + const auto& repfield = this->_internal_my_current_event_teams(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .TournamentTeam my_current_team = 12; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::my_current_team(this), + _Internal::my_current_team(this).GetCachedSize(), target, stream); + } + + // repeated .TournamentEvent my_current_event_stages = 13; + for (unsigned i = 0, + n = static_cast(this->_internal_my_current_event_stages_size()); i < n; i++) { + const auto& repfield = this->_internal_my_current_event_stages(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 survey_vote = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_survey_vote(), target); + } + + // optional .AccountActivity activity = 15; + if (cached_has_bits & 0x00000080u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, _Internal::activity(this), + _Internal::activity(this).GetCachedSize(), target, stream); + } + + // optional int32 player_level = 17; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_player_level(), target); + } + + // optional int32 player_cur_xp = 18; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_player_cur_xp(), target); + } + + // optional int32 player_xp_bonus_flags = 19; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(19, this->_internal_player_xp_bonus_flags(), target); + } + + // repeated .PlayerRankingInfo rankings = 20; + for (unsigned i = 0, + n = static_cast(this->_internal_rankings_size()); i < n; i++) { + const auto& repfield = this->_internal_rankings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint64 owcaseid = 21; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(21, this->_internal_owcaseid(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + 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 .TournamentTeam my_current_event_teams = 11; + total_size += 1UL * this->_internal_my_current_event_teams_size(); + for (const auto& msg : this->_impl_.my_current_event_teams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .TournamentEvent my_current_event_stages = 13; + total_size += 1UL * this->_internal_my_current_event_stages_size(); + for (const auto& msg : this->_impl_.my_current_event_stages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .PlayerRankingInfo rankings = 20; + total_size += 2UL * this->_internal_rankings_size(); + for (const auto& msg : this->_impl_.rankings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ongoingmatch_); + } + + // optional .GlobalStatistics global_stats = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.global_stats_); + } + + // optional .PlayerRankingInfo ranking = 7; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ranking_); + } + + // optional .PlayerCommendationInfo commendation = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.commendation_); + } + + // optional .PlayerMedalsInfo medals = 9; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.medals_); + } + + // optional .TournamentEvent my_current_event = 10; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.my_current_event_); + } + + // optional .TournamentTeam my_current_team = 12; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.my_current_team_); + } + + // optional .AccountActivity activity = 15; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.activity_); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 penalty_seconds = 4; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_seconds()); + } + + // optional uint32 penalty_reason = 5; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_reason()); + } + + // optional int32 vac_banned = 6; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vac_banned()); + } + + // optional uint32 survey_vote = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_survey_vote()); + } + + // optional int32 player_level = 17; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_player_level()); + } + + // optional int32 player_cur_xp = 18; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_player_cur_xp()); + } + + // optional int32 player_xp_bonus_flags = 19; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_player_xp_bonus_flags()); + } + + } + // optional uint64 owcaseid = 21; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_owcaseid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.my_current_event_teams_.MergeFrom(from._impl_.my_current_event_teams_); + _this->_impl_.my_current_event_stages_.MergeFrom(from._impl_.my_current_event_stages_); + _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_ongoingmatch()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( + from._internal_ongoingmatch()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_global_stats()->::GlobalStatistics::MergeFrom( + from._internal_global_stats()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_ranking()->::PlayerRankingInfo::MergeFrom( + from._internal_ranking()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( + from._internal_commendation()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_medals()->::PlayerMedalsInfo::MergeFrom( + from._internal_medals()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_my_current_event()->::TournamentEvent::MergeFrom( + from._internal_my_current_event()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_my_current_team()->::TournamentTeam::MergeFrom( + from._internal_my_current_team()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_mutable_activity()->::AccountActivity::MergeFrom( + from._internal_activity()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.penalty_seconds_ = from._impl_.penalty_seconds_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.penalty_reason_ = from._impl_.penalty_reason_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.vac_banned_ = from._impl_.vac_banned_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.survey_vote_ = from._impl_.survey_vote_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.player_level_ = from._impl_.player_level_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.player_cur_xp_ = from._impl_.player_cur_xp_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.player_xp_bonus_flags_ = from._impl_.player_xp_bonus_flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00010000u) { + _this->_internal_set_owcaseid(from._internal_owcaseid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.my_current_event_teams_.InternalSwap(&other->_impl_.my_current_event_teams_); + _impl_.my_current_event_stages_.InternalSwap(&other->_impl_.my_current_event_stages_); + _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.owcaseid_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_impl_.owcaseid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ongoingmatch_)>( + reinterpret_cast(&_impl_.ongoingmatch_), + reinterpret_cast(&other->_impl_.ongoingmatch_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[47]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_setting_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_setting_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::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:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) +} +CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.setting_type_){} + , decltype(_impl_.setting_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.setting_type_, &from._impl_.setting_type_, + static_cast(reinterpret_cast(&_impl_.setting_value_) - + reinterpret_cast(&_impl_.setting_type_)) + sizeof(_impl_.setting_value_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) +} + +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.setting_type_){0u} + , decltype(_impl_.setting_value_){0u} + }; +} + +CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::~CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.setting_type_, 0, static_cast( + reinterpret_cast(&_impl_.setting_value_) - + reinterpret_cast(&_impl_.setting_type_)) + sizeof(_impl_.setting_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 setting_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_setting_type(&has_bits); + _impl_.setting_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 setting_value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_setting_value(&has_bits); + _impl_.setting_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 setting_type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_setting_type(), target); + } + + // optional uint32 setting_value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_setting_value(), 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:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + return target; +} + +size_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 setting_type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_setting_type()); + } + + // optional uint32 setting_value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_setting_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::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:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.setting_type_ = from._impl_.setting_type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.setting_value_ = from._impl_.setting_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_value_) + + sizeof(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_impl_.setting_value_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_type_)>( + reinterpret_cast(&_impl_.setting_type_), + reinterpret_cast(&other->_impl_.setting_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[48]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_AccountPrivacySettings::_Internal { + public: +}; + +CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings(::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:CMsgGCCStrike15_v2_AccountPrivacySettings) +} +CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_AccountPrivacySettings* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.settings_){from._impl_.settings_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings) +} + +inline void CMsgGCCStrike15_v2_AccountPrivacySettings::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.settings_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgGCCStrike15_v2_AccountPrivacySettings::~CMsgGCCStrike15_v2_AccountPrivacySettings() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AccountPrivacySettings) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_AccountPrivacySettings::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.settings_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AccountPrivacySettings) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.settings_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_AccountPrivacySettings::_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 .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_settings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgGCCStrike15_v2_AccountPrivacySettings::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AccountPrivacySettings) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_settings_size()); i < n; i++) { + const auto& repfield = this->_internal_settings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgGCCStrike15_v2_AccountPrivacySettings) + return target; +} + +size_t CMsgGCCStrike15_v2_AccountPrivacySettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AccountPrivacySettings) + 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 .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; + total_size += 1UL * this->_internal_settings_size(); + for (const auto& msg : this->_impl_.settings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AccountPrivacySettings::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_AccountPrivacySettings::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AccountPrivacySettings::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_AccountPrivacySettings::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:CMsgGCCStrike15_v2_AccountPrivacySettings) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.settings_.MergeFrom(from._impl_.settings_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings::CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_AccountPrivacySettings::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_AccountPrivacySettings::InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.settings_.InternalSwap(&other->_impl_.settings_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AccountPrivacySettings::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[49]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& abandoned_match(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* msg); + static void set_has_abandoned_match(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_penalty_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_penalty_reason(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& +CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_Internal::abandoned_match(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* msg) { + return *msg->_impl_.abandoned_match_; +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.abandoned_match_){nullptr} + , decltype(_impl_.account_id_){} + , decltype(_impl_.penalty_seconds_){} + , decltype(_impl_.penalty_reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_abandoned_match()) { + _this->_impl_.abandoned_match_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.abandoned_match_); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.penalty_reason_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.penalty_reason_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.abandoned_match_){nullptr} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.penalty_seconds_){0u} + , decltype(_impl_.penalty_reason_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.abandoned_match_; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.abandoned_match_ != nullptr); + _impl_.abandoned_match_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.penalty_reason_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.penalty_reason_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_abandoned_match(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty_seconds = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_penalty_seconds(&has_bits); + _impl_.penalty_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty_reason = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_penalty_reason(&has_bits); + _impl_.penalty_reason_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::abandoned_match(this), + _Internal::abandoned_match(this).GetCachedSize(), target, stream); + } + + // optional uint32 penalty_seconds = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty_seconds(), target); + } + + // optional uint32 penalty_reason = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_penalty_reason(), 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:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.abandoned_match_); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 penalty_seconds = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_seconds()); + } + + // optional uint32 penalty_reason = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_abandoned_match()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( + from._internal_abandoned_match()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.penalty_seconds_ = from._impl_.penalty_seconds_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.penalty_reason_ = from._impl_.penalty_reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_reason_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_impl_.penalty_reason_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.abandoned_match_)>( + reinterpret_cast(&_impl_.abandoned_match_), + reinterpret_cast(&other->_impl_.abandoned_match_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[50]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientGCRankUpdate::_Internal { + public: +}; + +CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate(::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:CMsgGCCStrike15_v2_ClientGCRankUpdate) +} +CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientGCRankUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.rankings_){from._impl_.rankings_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientGCRankUpdate) +} + +inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.rankings_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgGCCStrike15_v2_ClientGCRankUpdate::~CMsgGCCStrike15_v2_ClientGCRankUpdate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientGCRankUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.rankings_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_ClientGCRankUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientGCRankUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.rankings_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientGCRankUpdate::_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 .PlayerRankingInfo rankings = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgGCCStrike15_v2_ClientGCRankUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .PlayerRankingInfo rankings = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_rankings_size()); i < n; i++) { + const auto& repfield = this->_internal_rankings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgGCCStrike15_v2_ClientGCRankUpdate) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientGCRankUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) + 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 .PlayerRankingInfo rankings = 1; + total_size += 1UL * this->_internal_rankings_size(); + for (const auto& msg : this->_impl_.rankings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientGCRankUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientGCRankUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientGCRankUpdate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientGCRankUpdate::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:CMsgGCCStrike15_v2_ClientGCRankUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientGCRankUpdate::CopyFrom(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientGCRankUpdate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientGCRankUpdate::InternalSwap(CMsgGCCStrike15_v2_ClientGCRankUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientGCRankUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[51]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_main_post_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::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:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) +} +CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.main_post_url_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.main_post_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_main_post_url()) { + _this->_impl_.main_post_url_.Set(from._internal_main_post_url(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) +} + +inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.main_post_url_){} + }; + _impl_.main_post_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.main_post_url_.Destroy(); +} + +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.main_post_url_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string main_post_url = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_main_post_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string main_post_url = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_main_post_url().data(), static_cast(this->_internal_main_post_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_main_post_url(), 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:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string main_post_url = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_main_post_url()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::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:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_main_post_url()) { + _this->_internal_set_main_post_url(from._internal_main_post_url()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::InternalSwap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.main_post_url_, lhs_arena, + &other->_impl_.main_post_url_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[52]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_communication_cooldown(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::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:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) +} +CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.reason_){} + , decltype(_impl_.seconds_){} + , decltype(_impl_.communication_cooldown_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.communication_cooldown_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.communication_cooldown_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) +} + +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.reason_){0u} + , decltype(_impl_.seconds_){0u} + , decltype(_impl_.communication_cooldown_){false} + }; +} + +CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::~CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.communication_cooldown_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.communication_cooldown_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reason = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seconds = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_seconds(&has_bits); + _impl_.seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool communication_cooldown = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_communication_cooldown(&has_bits); + _impl_.communication_cooldown_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 reason = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reason(), target); + } + + // optional uint32 seconds = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds(), target); + } + + // optional bool communication_cooldown = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_communication_cooldown(), 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:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + return target; +} + +size_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 reason = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); + } + + // optional uint32 seconds = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds()); + } + + // optional bool communication_cooldown = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::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:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.seconds_ = from._impl_.seconds_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.communication_cooldown_ = from._impl_.communication_cooldown_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CopyFrom(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::InternalSwap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.communication_cooldown_) + + sizeof(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_impl_.communication_cooldown_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[53]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientReportPlayer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rpt_aimbot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rpt_wallhack(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_rpt_speedhack(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rpt_teamharm(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rpt_textabuse(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_rpt_voiceabuse(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_report_from_demo(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer(::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:CMsgGCCStrike15_v2_ClientReportPlayer) +} +CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer(const CMsgGCCStrike15_v2_ClientReportPlayer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientReportPlayer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.rpt_aimbot_){} + , decltype(_impl_.rpt_wallhack_){} + , decltype(_impl_.rpt_speedhack_){} + , decltype(_impl_.rpt_teamharm_){} + , decltype(_impl_.rpt_textabuse_){} + , decltype(_impl_.match_id_){} + , decltype(_impl_.rpt_voiceabuse_){} + , decltype(_impl_.report_from_demo_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.report_from_demo_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.report_from_demo_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportPlayer) +} + +inline void CMsgGCCStrike15_v2_ClientReportPlayer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.rpt_aimbot_){0u} + , decltype(_impl_.rpt_wallhack_){0u} + , decltype(_impl_.rpt_speedhack_){0u} + , decltype(_impl_.rpt_teamharm_){0u} + , decltype(_impl_.rpt_textabuse_){0u} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.rpt_voiceabuse_){0u} + , decltype(_impl_.report_from_demo_){false} + }; +} + +CMsgGCCStrike15_v2_ClientReportPlayer::~CMsgGCCStrike15_v2_ClientReportPlayer() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportPlayer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientReportPlayer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientReportPlayer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientReportPlayer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportPlayer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.rpt_voiceabuse_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rpt_voiceabuse_)); + } + _impl_.report_from_demo_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientReportPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_aimbot = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rpt_aimbot(&has_bits); + _impl_.rpt_aimbot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_wallhack = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_rpt_wallhack(&has_bits); + _impl_.rpt_wallhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_speedhack = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_rpt_speedhack(&has_bits); + _impl_.rpt_speedhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_teamharm = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rpt_teamharm(&has_bits); + _impl_.rpt_teamharm_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_textabuse = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_rpt_textabuse(&has_bits); + _impl_.rpt_textabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_voiceabuse = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_rpt_voiceabuse(&has_bits); + _impl_.rpt_voiceabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool report_from_demo = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_report_from_demo(&has_bits); + _impl_.report_from_demo_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientReportPlayer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportPlayer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 rpt_aimbot = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rpt_aimbot(), target); + } + + // optional uint32 rpt_wallhack = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rpt_wallhack(), target); + } + + // optional uint32 rpt_speedhack = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rpt_speedhack(), target); + } + + // optional uint32 rpt_teamharm = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_teamharm(), target); + } + + // optional uint32 rpt_textabuse = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rpt_textabuse(), target); + } + + // optional uint32 rpt_voiceabuse = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rpt_voiceabuse(), target); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), target); + } + + // optional bool report_from_demo = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_report_from_demo(), 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:CMsgGCCStrike15_v2_ClientReportPlayer) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientReportPlayer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportPlayer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 rpt_aimbot = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_aimbot()); + } + + // optional uint32 rpt_wallhack = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_wallhack()); + } + + // optional uint32 rpt_speedhack = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_speedhack()); + } + + // optional uint32 rpt_teamharm = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_teamharm()); + } + + // optional uint32 rpt_textabuse = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_textabuse()); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 rpt_voiceabuse = 7; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_voiceabuse()); + } + + } + // optional bool report_from_demo = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportPlayer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientReportPlayer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportPlayer::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientReportPlayer::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:CMsgGCCStrike15_v2_ClientReportPlayer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rpt_aimbot_ = from._impl_.rpt_aimbot_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.rpt_wallhack_ = from._impl_.rpt_wallhack_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.rpt_speedhack_ = from._impl_.rpt_speedhack_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rpt_teamharm_ = from._impl_.rpt_teamharm_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rpt_textabuse_ = from._impl_.rpt_textabuse_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.rpt_voiceabuse_ = from._impl_.rpt_voiceabuse_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_report_from_demo(from._internal_report_from_demo()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientReportPlayer::CopyFrom(const CMsgGCCStrike15_v2_ClientReportPlayer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportPlayer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientReportPlayer::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientReportPlayer::InternalSwap(CMsgGCCStrike15_v2_ClientReportPlayer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.report_from_demo_) + + sizeof(CMsgGCCStrike15_v2_ClientReportPlayer::_impl_.report_from_demo_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportPlayer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[54]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientCommendPlayer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::PlayerCommendationInfo& commendation(const CMsgGCCStrike15_v2_ClientCommendPlayer* msg); + static void set_has_commendation(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_tokens(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::PlayerCommendationInfo& +CMsgGCCStrike15_v2_ClientCommendPlayer::_Internal::commendation(const CMsgGCCStrike15_v2_ClientCommendPlayer* msg) { + return *msg->_impl_.commendation_; +} +CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer(::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:CMsgGCCStrike15_v2_ClientCommendPlayer) +} +CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientCommendPlayer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.account_id_){} + , decltype(_impl_.tokens_){} + , decltype(_impl_.match_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_commendation()) { + _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.match_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.match_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientCommendPlayer) +} + +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.tokens_){0u} + , decltype(_impl_.match_id_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_ClientCommendPlayer::~CMsgGCCStrike15_v2_ClientCommendPlayer() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientCommendPlayer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.commendation_; +} + +void CMsgGCCStrike15_v2_ClientCommendPlayer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientCommendPlayer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientCommendPlayer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.commendation_ != nullptr); + _impl_.commendation_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.match_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.match_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientCommendPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PlayerCommendationInfo commendation = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tokens = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_tokens(&has_bits); + _impl_.tokens_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientCommendPlayer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientCommendPlayer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), target); + } + + // optional .PlayerCommendationInfo commendation = 9; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::commendation(this), + _Internal::commendation(this).GetCachedSize(), target, stream); + } + + // optional uint32 tokens = 10; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_tokens(), 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:CMsgGCCStrike15_v2_ClientCommendPlayer) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientCommendPlayer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientCommendPlayer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .PlayerCommendationInfo commendation = 9; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.commendation_); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 tokens = 10; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tokens()); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientCommendPlayer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientCommendPlayer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientCommendPlayer::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientCommendPlayer::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:CMsgGCCStrike15_v2_ClientCommendPlayer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( + from._internal_commendation()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.tokens_ = from._impl_.tokens_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientCommendPlayer::CopyFrom(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientCommendPlayer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientCommendPlayer::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientCommendPlayer::InternalSwap(CMsgGCCStrike15_v2_ClientCommendPlayer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.match_id_) + + sizeof(CMsgGCCStrike15_v2_ClientCommendPlayer::_impl_.match_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.commendation_)>( + reinterpret_cast(&_impl_.commendation_), + reinterpret_cast(&other->_impl_.commendation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientCommendPlayer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[55]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientReportServer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_rpt_poorperf(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rpt_abusivemodels(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rpt_badmotd(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_rpt_listingabuse(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rpt_inventoryabuse(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer(::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:CMsgGCCStrike15_v2_ClientReportServer) +} +CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer(const CMsgGCCStrike15_v2_ClientReportServer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientReportServer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rpt_poorperf_){} + , decltype(_impl_.rpt_abusivemodels_){} + , decltype(_impl_.rpt_badmotd_){} + , decltype(_impl_.rpt_listingabuse_){} + , decltype(_impl_.match_id_){} + , decltype(_impl_.rpt_inventoryabuse_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.rpt_poorperf_, &from._impl_.rpt_poorperf_, + static_cast(reinterpret_cast(&_impl_.rpt_inventoryabuse_) - + reinterpret_cast(&_impl_.rpt_poorperf_)) + sizeof(_impl_.rpt_inventoryabuse_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportServer) +} + +inline void CMsgGCCStrike15_v2_ClientReportServer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rpt_poorperf_){0u} + , decltype(_impl_.rpt_abusivemodels_){0u} + , decltype(_impl_.rpt_badmotd_){0u} + , decltype(_impl_.rpt_listingabuse_){0u} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.rpt_inventoryabuse_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientReportServer::~CMsgGCCStrike15_v2_ClientReportServer() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportServer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientReportServer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientReportServer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientReportServer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportServer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.rpt_poorperf_, 0, static_cast( + reinterpret_cast(&_impl_.rpt_inventoryabuse_) - + reinterpret_cast(&_impl_.rpt_poorperf_)) + sizeof(_impl_.rpt_inventoryabuse_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientReportServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 rpt_poorperf = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_rpt_poorperf(&has_bits); + _impl_.rpt_poorperf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_abusivemodels = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rpt_abusivemodels(&has_bits); + _impl_.rpt_abusivemodels_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_badmotd = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_rpt_badmotd(&has_bits); + _impl_.rpt_badmotd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_listingabuse = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_rpt_listingabuse(&has_bits); + _impl_.rpt_listingabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_inventoryabuse = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rpt_inventoryabuse(&has_bits); + _impl_.rpt_inventoryabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientReportServer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportServer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 rpt_poorperf = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_rpt_poorperf(), target); + } + + // optional uint32 rpt_abusivemodels = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rpt_abusivemodels(), target); + } + + // optional uint32 rpt_badmotd = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rpt_badmotd(), target); + } + + // optional uint32 rpt_listingabuse = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rpt_listingabuse(), target); + } + + // optional uint32 rpt_inventoryabuse = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_inventoryabuse(), target); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), 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:CMsgGCCStrike15_v2_ClientReportServer) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientReportServer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportServer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint32 rpt_poorperf = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_poorperf()); + } + + // optional uint32 rpt_abusivemodels = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_abusivemodels()); + } + + // optional uint32 rpt_badmotd = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_badmotd()); + } + + // optional uint32 rpt_listingabuse = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_listingabuse()); + } + + // optional uint64 match_id = 8; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 rpt_inventoryabuse = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_inventoryabuse()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportServer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientReportServer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportServer::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientReportServer::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:CMsgGCCStrike15_v2_ClientReportServer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.rpt_poorperf_ = from._impl_.rpt_poorperf_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rpt_abusivemodels_ = from._impl_.rpt_abusivemodels_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.rpt_badmotd_ = from._impl_.rpt_badmotd_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.rpt_listingabuse_ = from._impl_.rpt_listingabuse_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rpt_inventoryabuse_ = from._impl_.rpt_inventoryabuse_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientReportServer::CopyFrom(const CMsgGCCStrike15_v2_ClientReportServer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportServer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientReportServer::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientReportServer::InternalSwap(CMsgGCCStrike15_v2_ClientReportServer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_inventoryabuse_) + + sizeof(CMsgGCCStrike15_v2_ClientReportServer::_impl_.rpt_inventoryabuse_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_poorperf_)>( + reinterpret_cast(&_impl_.rpt_poorperf_), + reinterpret_cast(&other->_impl_.rpt_poorperf_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportServer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[56]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientReportResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_confirmation_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_server_ip(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_response_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_response_result(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tokens(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse(::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:CMsgGCCStrike15_v2_ClientReportResponse) +} +CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse(const CMsgGCCStrike15_v2_ClientReportResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientReportResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.confirmation_id_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.server_ip_){} + , decltype(_impl_.response_type_){} + , decltype(_impl_.response_result_){} + , decltype(_impl_.tokens_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.confirmation_id_, &from._impl_.confirmation_id_, + static_cast(reinterpret_cast(&_impl_.tokens_) - + reinterpret_cast(&_impl_.confirmation_id_)) + sizeof(_impl_.tokens_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportResponse) +} + +inline void CMsgGCCStrike15_v2_ClientReportResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.confirmation_id_){uint64_t{0u}} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.server_ip_){0u} + , decltype(_impl_.response_type_){0u} + , decltype(_impl_.response_result_){0u} + , decltype(_impl_.tokens_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientReportResponse::~CMsgGCCStrike15_v2_ClientReportResponse() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientReportResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientReportResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientReportResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.confirmation_id_, 0, static_cast( + reinterpret_cast(&_impl_.tokens_) - + reinterpret_cast(&_impl_.confirmation_id_)) + sizeof(_impl_.tokens_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientReportResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 confirmation_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_confirmation_id(&has_bits); + _impl_.confirmation_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_ip = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_server_ip(&has_bits); + _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 response_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_response_type(&has_bits); + _impl_.response_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 response_result = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_response_result(&has_bits); + _impl_.response_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tokens = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_tokens(&has_bits); + _impl_.tokens_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientReportResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 confirmation_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_confirmation_id(), target); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); + } + + // optional uint32 server_ip = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_ip(), target); + } + + // optional uint32 response_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_response_type(), target); + } + + // optional uint32 response_result = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_response_result(), target); + } + + // optional uint32 tokens = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tokens(), 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:CMsgGCCStrike15_v2_ClientReportResponse) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientReportResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint64 confirmation_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_confirmation_id()); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 server_ip = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); + } + + // optional uint32 response_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_response_type()); + } + + // optional uint32 response_result = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_response_result()); + } + + // optional uint32 tokens = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tokens()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientReportResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientReportResponse::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:CMsgGCCStrike15_v2_ClientReportResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.confirmation_id_ = from._impl_.confirmation_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_ip_ = from._impl_.server_ip_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.response_type_ = from._impl_.response_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.response_result_ = from._impl_.response_result_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tokens_ = from._impl_.tokens_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientReportResponse::CopyFrom(const CMsgGCCStrike15_v2_ClientReportResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientReportResponse::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientReportResponse::InternalSwap(CMsgGCCStrike15_v2_ClientReportResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportResponse, _impl_.tokens_) + + sizeof(CMsgGCCStrike15_v2_ClientReportResponse::_impl_.tokens_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportResponse, _impl_.confirmation_id_)>( + reinterpret_cast(&_impl_.confirmation_id_), + reinterpret_cast(&other->_impl_.confirmation_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[57]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_serverid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_matchid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::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:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) +} +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){from._impl_.account_ids_} + , decltype(_impl_.data_center_pings_){from._impl_.data_center_pings_} + , decltype(_impl_.serverid_){} + , decltype(_impl_.request_id_){} + , decltype(_impl_.client_launcher_){} + , decltype(_impl_.matchid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.serverid_, &from._impl_.serverid_, + static_cast(reinterpret_cast(&_impl_.matchid_) - + reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.matchid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) +} + +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){arena} + , decltype(_impl_.data_center_pings_){arena} + , decltype(_impl_.serverid_){uint64_t{0u}} + , decltype(_impl_.request_id_){0u} + , decltype(_impl_.client_launcher_){0u} + , decltype(_impl_.matchid_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_ids_.~RepeatedField(); + _impl_.data_center_pings_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_ids_.Clear(); + _impl_.data_center_pings_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.serverid_, 0, static_cast( + reinterpret_cast(&_impl_.matchid_) - + reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.matchid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 request_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_request_id(&has_bits); + _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 account_ids = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 serverid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_serverid(&has_bits); + _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 matchid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_matchid(&has_bits); + _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_launcher = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_client_launcher(&has_bits); + _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .DataCenterPing data_center_pings = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_data_center_pings(), ptr); + CHK_(ptr); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 request_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); + } + + // repeated uint32 account_ids = 2; + for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids(i), target); + } + + // optional uint64 serverid = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_serverid(), target); + } + + // optional uint64 matchid = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_matchid(), target); + } + + // optional uint32 client_launcher = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_client_launcher(), target); + } + + // repeated .DataCenterPing data_center_pings = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_data_center_pings_size()); i < n; i++) { + const auto& repfield = this->_internal_data_center_pings(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, 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:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + 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 uint32 account_ids = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_account_ids_size()); + total_size += data_size; + } + + // repeated .DataCenterPing data_center_pings = 6; + total_size += 1UL * this->_internal_data_center_pings_size(); + for (const auto& msg : this->_impl_.data_center_pings_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 serverid = 3; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); + } + + // optional uint32 request_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); + } + + // optional uint32 client_launcher = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); + } + + // optional uint64 matchid = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::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:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); + _this->_impl_.data_center_pings_.MergeFrom(from._impl_.data_center_pings_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.serverid_ = from._impl_.serverid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.request_id_ = from._impl_.request_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_launcher_ = from._impl_.client_launcher_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.matchid_ = from._impl_.matchid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::InternalSwap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); + _impl_.data_center_pings_.InternalSwap(&other->_impl_.data_center_pings_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.matchid_) + + sizeof(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_impl_.matchid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.serverid_)>( + reinterpret_cast(&_impl_.serverid_), + reinterpret_cast(&other->_impl_.serverid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[58]); +} + +// =================================================================== + +class WatchableMatchInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_server_ip(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_tv_port(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tv_spectators(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_tv_time(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_tv_watch_password(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cl_decryptdata_key(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_cl_decryptdata_key_pub(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_game_mapgroup(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_game_map(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_server_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_reservation_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } +}; + +WatchableMatchInfo::WatchableMatchInfo(::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:WatchableMatchInfo) +} +WatchableMatchInfo::WatchableMatchInfo(const WatchableMatchInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + WatchableMatchInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tv_watch_password_){} + , decltype(_impl_.game_mapgroup_){} + , decltype(_impl_.game_map_){} + , decltype(_impl_.server_ip_){} + , decltype(_impl_.tv_port_){} + , decltype(_impl_.tv_spectators_){} + , decltype(_impl_.tv_time_){} + , decltype(_impl_.cl_decryptdata_key_){} + , decltype(_impl_.cl_decryptdata_key_pub_){} + , decltype(_impl_.server_id_){} + , decltype(_impl_.match_id_){} + , decltype(_impl_.reservation_id_){} + , decltype(_impl_.game_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.tv_watch_password_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_tv_watch_password()) { + _this->_impl_.tv_watch_password_.Set(from._internal_tv_watch_password(), + _this->GetArenaForAllocation()); + } + _impl_.game_mapgroup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_mapgroup()) { + _this->_impl_.game_mapgroup_.Set(from._internal_game_mapgroup(), + _this->GetArenaForAllocation()); + } + _impl_.game_map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_map()) { + _this->_impl_.game_map_.Set(from._internal_game_map(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.server_ip_, &from._impl_.server_ip_, + static_cast(reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.server_ip_)) + sizeof(_impl_.game_type_)); + // @@protoc_insertion_point(copy_constructor:WatchableMatchInfo) +} + +inline void WatchableMatchInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tv_watch_password_){} + , decltype(_impl_.game_mapgroup_){} + , decltype(_impl_.game_map_){} + , decltype(_impl_.server_ip_){0u} + , decltype(_impl_.tv_port_){0u} + , decltype(_impl_.tv_spectators_){0u} + , decltype(_impl_.tv_time_){0u} + , decltype(_impl_.cl_decryptdata_key_){uint64_t{0u}} + , decltype(_impl_.cl_decryptdata_key_pub_){uint64_t{0u}} + , decltype(_impl_.server_id_){uint64_t{0u}} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.reservation_id_){uint64_t{0u}} + , decltype(_impl_.game_type_){0u} + }; + _impl_.tv_watch_password_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mapgroup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +WatchableMatchInfo::~WatchableMatchInfo() { + // @@protoc_insertion_point(destructor:WatchableMatchInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void WatchableMatchInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tv_watch_password_.Destroy(); + _impl_.game_mapgroup_.Destroy(); + _impl_.game_map_.Destroy(); +} + +void WatchableMatchInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void WatchableMatchInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:WatchableMatchInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.tv_watch_password_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.game_mapgroup_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.game_map_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.server_ip_, 0, static_cast( + reinterpret_cast(&_impl_.cl_decryptdata_key_) - + reinterpret_cast(&_impl_.server_ip_)) + sizeof(_impl_.cl_decryptdata_key_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.cl_decryptdata_key_pub_, 0, static_cast( + reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.cl_decryptdata_key_pub_)) + sizeof(_impl_.game_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* WatchableMatchInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 server_ip = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_server_ip(&has_bits); + _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_port = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tv_port(&has_bits); + _impl_.tv_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_spectators = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_tv_spectators(&has_bits); + _impl_.tv_spectators_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tv_time = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_tv_time(&has_bits); + _impl_.tv_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes tv_watch_password = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_tv_watch_password(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 cl_decryptdata_key = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_cl_decryptdata_key(&has_bits); + _impl_.cl_decryptdata_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 cl_decryptdata_key_pub = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_cl_decryptdata_key_pub(&has_bits); + _impl_.cl_decryptdata_key_pub_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string game_mapgroup = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_game_mapgroup(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "WatchableMatchInfo.game_mapgroup"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string game_map = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_game_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "WatchableMatchInfo.game_map"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 server_id = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_server_id(&has_bits); + _impl_.server_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 match_id = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 reservation_id = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_reservation_id(&has_bits); + _impl_.reservation_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* WatchableMatchInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:WatchableMatchInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 server_ip = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_server_ip(), target); + } + + // optional uint32 tv_port = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_tv_port(), target); + } + + // optional uint32 tv_spectators = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tv_spectators(), target); + } + + // optional uint32 tv_time = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_tv_time(), target); + } + + // optional bytes tv_watch_password = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_tv_watch_password(), target); + } + + // optional uint64 cl_decryptdata_key = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_cl_decryptdata_key(), target); + } + + // optional uint64 cl_decryptdata_key_pub = 7; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_cl_decryptdata_key_pub(), target); + } + + // optional uint32 game_type = 8; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_game_type(), target); + } + + // optional string game_mapgroup = 9; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_mapgroup().data(), static_cast(this->_internal_game_mapgroup().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "WatchableMatchInfo.game_mapgroup"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_game_mapgroup(), target); + } + + // optional string game_map = 10; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_map().data(), static_cast(this->_internal_game_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "WatchableMatchInfo.game_map"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_game_map(), target); + } + + // optional uint64 server_id = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_server_id(), target); + } + + // optional uint64 match_id = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(12, this->_internal_match_id(), target); + } + + // optional uint64 reservation_id = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_reservation_id(), 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:WatchableMatchInfo) + return target; +} + +size_t WatchableMatchInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:WatchableMatchInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes tv_watch_password = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_tv_watch_password()); + } + + // optional string game_mapgroup = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_mapgroup()); + } + + // optional string game_map = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_map()); + } + + // optional uint32 server_ip = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); + } + + // optional uint32 tv_port = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_port()); + } + + // optional uint32 tv_spectators = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_spectators()); + } + + // optional uint32 tv_time = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_time()); + } + + // optional uint64 cl_decryptdata_key = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_cl_decryptdata_key()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint64 cl_decryptdata_key_pub = 7; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_cl_decryptdata_key_pub()); + } + + // optional uint64 server_id = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_server_id()); + } + + // optional uint64 match_id = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint64 reservation_id = 13; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservation_id()); + } + + // optional uint32 game_type = 8; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WatchableMatchInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + WatchableMatchInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WatchableMatchInfo::GetClassData() const { return &_class_data_; } + + +void WatchableMatchInfo::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:WatchableMatchInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_tv_watch_password(from._internal_tv_watch_password()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_game_mapgroup(from._internal_game_mapgroup()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_game_map(from._internal_game_map()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.server_ip_ = from._impl_.server_ip_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.tv_port_ = from._impl_.tv_port_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tv_spectators_ = from._impl_.tv_spectators_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.tv_time_ = from._impl_.tv_time_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.cl_decryptdata_key_ = from._impl_.cl_decryptdata_key_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.cl_decryptdata_key_pub_ = from._impl_.cl_decryptdata_key_pub_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.server_id_ = from._impl_.server_id_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.reservation_id_ = from._impl_.reservation_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void WatchableMatchInfo::CopyFrom(const WatchableMatchInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:WatchableMatchInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WatchableMatchInfo::IsInitialized() const { + return true; +} + +void WatchableMatchInfo::InternalSwap(WatchableMatchInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.tv_watch_password_, lhs_arena, + &other->_impl_.tv_watch_password_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_mapgroup_, lhs_arena, + &other->_impl_.game_mapgroup_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_map_, lhs_arena, + &other->_impl_.game_map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(WatchableMatchInfo, _impl_.game_type_) + + sizeof(WatchableMatchInfo::_impl_.game_type_) + - PROTOBUF_FIELD_OFFSET(WatchableMatchInfo, _impl_.server_ip_)>( + reinterpret_cast(&_impl_.server_ip_), + reinterpret_cast(&other->_impl_.server_ip_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata WatchableMatchInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[59]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_join_token(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_join_ipp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* msg); + static void set_has_res(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_errormsg(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& +CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_Internal::res(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* msg) { + return *msg->_impl_.res_; +} +CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::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:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) +} +CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientRequestJoinFriendData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.errormsg_){} + , decltype(_impl_.res_){nullptr} + , decltype(_impl_.version_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.join_token_){} + , decltype(_impl_.join_ipp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.errormsg_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.errormsg_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_errormsg()) { + _this->_impl_.errormsg_.Set(from._internal_errormsg(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_res()) { + _this->_impl_.res_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.res_); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.join_ipp_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.join_ipp_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) +} + +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.errormsg_){} + , decltype(_impl_.res_){nullptr} + , decltype(_impl_.version_){0u} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.join_token_){0u} + , decltype(_impl_.join_ipp_){0u} + }; + _impl_.errormsg_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.errormsg_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientRequestJoinFriendData::~CMsgGCCStrike15_v2_ClientRequestJoinFriendData() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.errormsg_.Destroy(); + if (this != internal_default_instance()) delete _impl_.res_; +} + +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.errormsg_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.res_ != nullptr); + _impl_.res_->Clear(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.join_ipp_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.join_ipp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 join_token = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_join_token(&has_bits); + _impl_.join_token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 join_ipp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_join_ipp(&has_bits); + _impl_.join_ipp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_res(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string errormsg = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_errormsg(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); + } + + // optional uint32 join_token = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_join_token(), target); + } + + // optional uint32 join_ipp = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_join_ipp(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::res(this), + _Internal::res(this).GetCachedSize(), target, stream); + } + + // optional string errormsg = 6; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_errormsg().data(), static_cast(this->_internal_errormsg().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_errormsg(), 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:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string errormsg = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_errormsg()); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.res_); + } + + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 join_token = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_join_token()); + } + + // optional uint32 join_ipp = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_join_ipp()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientRequestJoinFriendData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestJoinFriendData::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::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:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_errormsg(from._internal_errormsg()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_res()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( + from._internal_res()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.join_token_ = from._impl_.join_token_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.join_ipp_ = from._impl_.join_ipp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.errormsg_, lhs_arena, + &other->_impl_.errormsg_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_ipp_) + + sizeof(CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_impl_.join_ipp_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.res_)>( + reinterpret_cast(&_impl_.res_), + reinterpret_cast(&other->_impl_.res_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestJoinFriendData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[60]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestJoinServerData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_serverid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_ip(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_server_port(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res(const CMsgGCCStrike15_v2_ClientRequestJoinServerData* msg); + static void set_has_res(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_errormsg(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& +CMsgGCCStrike15_v2_ClientRequestJoinServerData::_Internal::res(const CMsgGCCStrike15_v2_ClientRequestJoinServerData* msg) { + return *msg->_impl_.res_; +} +CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData(::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:CMsgGCCStrike15_v2_ClientRequestJoinServerData) +} +CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientRequestJoinServerData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.errormsg_){} + , decltype(_impl_.res_){nullptr} + , decltype(_impl_.version_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.serverid_){} + , decltype(_impl_.server_ip_){} + , decltype(_impl_.server_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.errormsg_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.errormsg_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_errormsg()) { + _this->_impl_.errormsg_.Set(from._internal_errormsg(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_res()) { + _this->_impl_.res_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.res_); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.server_port_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.server_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestJoinServerData) +} + +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.errormsg_){} + , decltype(_impl_.res_){nullptr} + , decltype(_impl_.version_){0u} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.serverid_){uint64_t{0u}} + , decltype(_impl_.server_ip_){0u} + , decltype(_impl_.server_port_){0u} + }; + _impl_.errormsg_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.errormsg_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientRequestJoinServerData::~CMsgGCCStrike15_v2_ClientRequestJoinServerData() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.errormsg_.Destroy(); + if (this != internal_default_instance()) delete _impl_.res_; +} + +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.errormsg_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.res_ != nullptr); + _impl_.res_->Clear(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.server_port_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.server_port_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 serverid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_serverid(&has_bits); + _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_ip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_ip(&has_bits); + _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_port = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_server_port(&has_bits); + _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_res(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string errormsg = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_errormsg(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); + } + + // optional uint64 serverid = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_serverid(), target); + } + + // optional uint32 server_ip = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_ip(), target); + } + + // optional uint32 server_port = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_server_port(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::res(this), + _Internal::res(this).GetCachedSize(), target, stream); + } + + // optional string errormsg = 7; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_errormsg().data(), static_cast(this->_internal_errormsg().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_errormsg(), 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:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string errormsg = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_errormsg()); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.res_); + } + + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint64 serverid = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); + } + + // optional uint32 server_ip = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); + } + + // optional uint32 server_port = 5; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestJoinServerData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientRequestJoinServerData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestJoinServerData::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::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:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_errormsg(from._internal_errormsg()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_res()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( + from._internal_res()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.serverid_ = from._impl_.serverid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.server_ip_ = from._impl_.server_ip_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.server_port_ = from._impl_.server_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.errormsg_, lhs_arena, + &other->_impl_.errormsg_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_port_) + + sizeof(CMsgGCCStrike15_v2_ClientRequestJoinServerData::_impl_.server_port_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.res_)>( + reinterpret_cast(&_impl_.res_), + reinterpret_cast(&other->_impl_.res_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestJoinServerData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[61]); +} + +// =================================================================== + +class CMsgGCCstrike15_v2_ClientRedeemMissionReward::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_campaign_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redeem_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_redeemable_balance(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_expected_cost(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_bid_control(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward(::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:CMsgGCCstrike15_v2_ClientRedeemMissionReward) +} +CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCstrike15_v2_ClientRedeemMissionReward* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.campaign_id_){} + , decltype(_impl_.redeem_id_){} + , decltype(_impl_.redeemable_balance_){} + , decltype(_impl_.expected_cost_){} + , decltype(_impl_.bid_control_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.campaign_id_, &from._impl_.campaign_id_, + static_cast(reinterpret_cast(&_impl_.bid_control_) - + reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.bid_control_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_ClientRedeemMissionReward) +} + +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.campaign_id_){0u} + , decltype(_impl_.redeem_id_){0u} + , decltype(_impl_.redeemable_balance_){0u} + , decltype(_impl_.expected_cost_){0u} + , decltype(_impl_.bid_control_){0} + }; +} + +CMsgGCCstrike15_v2_ClientRedeemMissionReward::~CMsgGCCstrike15_v2_ClientRedeemMissionReward() { + // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCstrike15_v2_ClientRedeemMissionReward::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.campaign_id_, 0, static_cast( + reinterpret_cast(&_impl_.bid_control_) - + reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.bid_control_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCstrike15_v2_ClientRedeemMissionReward::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 campaign_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_campaign_id(&has_bits); + _impl_.campaign_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeem_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_redeem_id(&has_bits); + _impl_.redeem_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeemable_balance = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_redeemable_balance(&has_bits); + _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 expected_cost = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_expected_cost(&has_bits); + _impl_.expected_cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 bid_control = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_bid_control(&has_bits); + _impl_.bid_control_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCstrike15_v2_ClientRedeemMissionReward::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 campaign_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_campaign_id(), target); + } + + // optional uint32 redeem_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeem_id(), target); + } + + // optional uint32 redeemable_balance = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_redeemable_balance(), target); + } + + // optional uint32 expected_cost = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_expected_cost(), target); + } + + // optional int32 bid_control = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_bid_control(), 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:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + return target; +} + +size_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint32 campaign_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_campaign_id()); + } + + // optional uint32 redeem_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeem_id()); + } + + // optional uint32 redeemable_balance = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); + } + + // optional uint32 expected_cost = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_cost()); + } + + // optional int32 bid_control = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bid_control()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_ClientRedeemMissionReward::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCstrike15_v2_ClientRedeemMissionReward::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_ClientRedeemMissionReward::GetClassData() const { return &_class_data_; } + + +void CMsgGCCstrike15_v2_ClientRedeemMissionReward::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:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.campaign_id_ = from._impl_.campaign_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.redeem_id_ = from._impl_.redeem_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.expected_cost_ = from._impl_.expected_cost_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.bid_control_ = from._impl_.bid_control_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCstrike15_v2_ClientRedeemMissionReward::CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::IsInitialized() const { + return true; +} + +void CMsgGCCstrike15_v2_ClientRedeemMissionReward::InternalSwap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.bid_control_) + + sizeof(CMsgGCCstrike15_v2_ClientRedeemMissionReward::_impl_.bid_control_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.campaign_id_)>( + reinterpret_cast(&_impl_.campaign_id_), + reinterpret_cast(&other->_impl_.campaign_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_ClientRedeemMissionReward::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[62]); +} + +// =================================================================== + +class CMsgGCCstrike15_v2_ClientRedeemFreeReward::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_generation_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redeemable_balance(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward(::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:CMsgGCCstrike15_v2_ClientRedeemFreeReward) +} +CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCstrike15_v2_ClientRedeemFreeReward* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.generation_time_){} + , decltype(_impl_.redeemable_balance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, + static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_ClientRedeemFreeReward) +} + +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.generation_time_){0u} + , decltype(_impl_.redeemable_balance_){0u} + }; +} + +CMsgGCCstrike15_v2_ClientRedeemFreeReward::~CMsgGCCstrike15_v2_ClientRedeemFreeReward() { + // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedField(); +} + +void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCstrike15_v2_ClientRedeemFreeReward::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.generation_time_, 0, static_cast( + reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCstrike15_v2_ClientRedeemFreeReward::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 generation_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_generation_time(&has_bits); + _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeemable_balance = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_redeemable_balance(&has_bits); + _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 items = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_items(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_items(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCstrike15_v2_ClientRedeemFreeReward::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); + } + + // repeated uint64 items = 3; + for (int i = 0, n = this->_internal_items_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_items(i), 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:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + return target; +} + +size_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + 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 uint64 items = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.items_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_items_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_ClientRedeemFreeReward::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCstrike15_v2_ClientRedeemFreeReward::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_ClientRedeemFreeReward::GetClassData() const { return &_class_data_; } + + +void CMsgGCCstrike15_v2_ClientRedeemFreeReward::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:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.generation_time_ = from._impl_.generation_time_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCstrike15_v2_ClientRedeemFreeReward::CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::IsInitialized() const { + return true; +} + +void CMsgGCCstrike15_v2_ClientRedeemFreeReward::InternalSwap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.redeemable_balance_) + + sizeof(CMsgGCCstrike15_v2_ClientRedeemFreeReward::_impl_.redeemable_balance_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.generation_time_)>( + reinterpret_cast(&_impl_.generation_time_), + reinterpret_cast(&other->_impl_.generation_time_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_ClientRedeemFreeReward::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[63]); +} + +// =================================================================== + +class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_current_xp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_current_level(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_upgraded_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_operation_points_awarded(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_free_rewards(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_xp_trail_remaining(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_xp_trail_xp_needed(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_xp_trail_level(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::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:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) +} +CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_progress_data_){from._impl_.xp_progress_data_} + , decltype(_impl_.account_id_){} + , decltype(_impl_.current_xp_){} + , decltype(_impl_.current_level_){} + , decltype(_impl_.upgraded_defidx_){} + , decltype(_impl_.operation_points_awarded_){} + , decltype(_impl_.free_rewards_){} + , decltype(_impl_.xp_trail_remaining_){} + , decltype(_impl_.xp_trail_xp_needed_){} + , decltype(_impl_.xp_trail_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.xp_trail_level_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.xp_trail_level_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) +} + +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_progress_data_){arena} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.current_xp_){0u} + , decltype(_impl_.current_level_){0u} + , decltype(_impl_.upgraded_defidx_){0u} + , decltype(_impl_.operation_points_awarded_){0u} + , decltype(_impl_.free_rewards_){0u} + , decltype(_impl_.xp_trail_remaining_){0u} + , decltype(_impl_.xp_trail_xp_needed_){0} + , decltype(_impl_.xp_trail_level_){0u} + }; +} + +CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() { + // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.xp_progress_data_.~RepeatedPtrField(); +} + +void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.xp_progress_data_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.xp_trail_xp_needed_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.xp_trail_xp_needed_)); + } + _impl_.xp_trail_level_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .XpProgressData xp_progress_data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_xp_progress_data(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 current_xp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_current_xp(&has_bits); + _impl_.current_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 current_level = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_current_level(&has_bits); + _impl_.current_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 upgraded_defidx = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_upgraded_defidx(&has_bits); + _impl_.upgraded_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 operation_points_awarded = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_operation_points_awarded(&has_bits); + _impl_.operation_points_awarded_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 free_rewards = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_free_rewards(&has_bits); + _impl_.free_rewards_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 xp_trail_remaining = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_xp_trail_remaining(&has_bits); + _impl_.xp_trail_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 xp_trail_xp_needed = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_xp_trail_xp_needed(&has_bits); + _impl_.xp_trail_xp_needed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 xp_trail_level = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_xp_trail_level(&has_bits); + _impl_.xp_trail_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .XpProgressData xp_progress_data = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_xp_progress_data_size()); i < n; i++) { + const auto& repfield = this->_internal_xp_progress_data(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); + } + + // optional uint32 current_xp = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_current_xp(), target); + } + + // optional uint32 current_level = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_current_level(), target); + } + + // optional uint32 upgraded_defidx = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_upgraded_defidx(), target); + } + + // optional uint32 operation_points_awarded = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_operation_points_awarded(), target); + } + + // optional uint32 free_rewards = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_free_rewards(), target); + } + + // optional uint32 xp_trail_remaining = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_xp_trail_remaining(), target); + } + + // optional int32 xp_trail_xp_needed = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_xp_trail_xp_needed(), target); + } + + // optional uint32 xp_trail_level = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_xp_trail_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:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + return target; +} + +size_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + 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 .XpProgressData xp_progress_data = 1; + total_size += 1UL * this->_internal_xp_progress_data_size(); + for (const auto& msg : this->_impl_.xp_progress_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 account_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 current_xp = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_xp()); + } + + // optional uint32 current_level = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_level()); + } + + // optional uint32 upgraded_defidx = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_upgraded_defidx()); + } + + // optional uint32 operation_points_awarded = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_operation_points_awarded()); + } + + // optional uint32 free_rewards = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_rewards()); + } + + // optional uint32 xp_trail_remaining = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_remaining()); + } + + // optional int32 xp_trail_xp_needed = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_xp_trail_xp_needed()); + } + + } + // optional uint32 xp_trail_level = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::GetClassData() const { return &_class_data_; } + + +void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::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:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.xp_progress_data_.MergeFrom(from._impl_.xp_progress_data_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.current_xp_ = from._impl_.current_xp_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.current_level_ = from._impl_.current_level_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.upgraded_defidx_ = from._impl_.upgraded_defidx_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.operation_points_awarded_ = from._impl_.operation_points_awarded_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.free_rewards_ = from._impl_.free_rewards_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.xp_trail_remaining_ = from._impl_.xp_trail_remaining_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.xp_trail_xp_needed_ = from._impl_.xp_trail_xp_needed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_xp_trail_level(from._internal_xp_trail_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CopyFrom(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::IsInitialized() const { + return true; +} + +void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::InternalSwap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.xp_progress_data_.InternalSwap(&other->_impl_.xp_progress_data_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_level_) + + sizeof(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_impl_.xp_trail_level_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[64]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientNetworkConfig::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig(::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:CMsgGCCStrike15_v2_ClientNetworkConfig) +} +CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientNetworkConfig* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientNetworkConfig) +} + +inline void CMsgGCCStrike15_v2_ClientNetworkConfig::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientNetworkConfig::~CMsgGCCStrike15_v2_ClientNetworkConfig() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientNetworkConfig) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientNetworkConfig::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientNetworkConfig::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientNetworkConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientNetworkConfig) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientNetworkConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientNetworkConfig::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientNetworkConfig) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), 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:CMsgGCCStrike15_v2_ClientNetworkConfig) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientNetworkConfig::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientNetworkConfig) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientNetworkConfig::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientNetworkConfig::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientNetworkConfig::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientNetworkConfig::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:CMsgGCCStrike15_v2_ClientNetworkConfig) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientNetworkConfig::CopyFrom(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientNetworkConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientNetworkConfig::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientNetworkConfig::InternalSwap(CMsgGCCStrike15_v2_ClientNetworkConfig* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientNetworkConfig::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[65]); +} + +// =================================================================== + +class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_begin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_end(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frozen(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::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:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) +} +CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.begin_){} + , decltype(_impl_.end_){} + , decltype(_impl_.frozen_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.begin_, &from._impl_.begin_, + static_cast(reinterpret_cast(&_impl_.frozen_) - + reinterpret_cast(&_impl_.begin_)) + sizeof(_impl_.frozen_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) +} + +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.begin_){0u} + , decltype(_impl_.end_){0u} + , decltype(_impl_.frozen_){false} + }; +} + +CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::~CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.begin_, 0, static_cast( + reinterpret_cast(&_impl_.frozen_) - + reinterpret_cast(&_impl_.begin_)) + sizeof(_impl_.frozen_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 begin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_begin(&has_bits); + _impl_.begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 end = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_end(&has_bits); + _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool frozen = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_frozen(&has_bits); + _impl_.frozen_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 begin = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_begin(), target); + } + + // optional uint32 end = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_end(), target); + } + + // optional bool frozen = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_frozen(), 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:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + return target; +} + +size_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 begin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_begin()); + } + + // optional uint32 end = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end()); + } + + // optional bool frozen = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::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:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.begin_ = from._impl_.begin_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.end_ = from._impl_.end_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frozen_ = from._impl_.frozen_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.frozen_) + + sizeof(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_impl_.frozen_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.begin_)>( + reinterpret_cast(&_impl_.begin_), + reinterpret_cast(&other->_impl_.begin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[66]); +} + +// =================================================================== + +class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::DeepPlayerStatsEntry& player(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* msg); + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::DeepPlayerStatsEntry& +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_Internal::player(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* msg) { + return *msg->_impl_.player_; +} +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::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:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) +} +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.events_){from._impl_.events_} + , decltype(_impl_.player_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::DeepPlayerStatsEntry(*from._impl_.player_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) +} + +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.events_){arena} + , decltype(_impl_.player_){nullptr} + }; +} + +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.events_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.events_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.player_ != nullptr); + _impl_.player_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .DeepPlayerStatsEntry player = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .DeepPlayerMatchEvent events = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_events(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .DeepPlayerStatsEntry player = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // repeated .DeepPlayerMatchEvent events = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_events_size()); i < n; i++) { + const auto& repfield = this->_internal_events(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:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + return target; +} + +size_t CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + 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 .DeepPlayerMatchEvent events = 2; + total_size += 1UL * this->_internal_events_size(); + for (const auto& msg : this->_impl_.events_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional .DeepPlayerStatsEntry player = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::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:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.events_.MergeFrom(from._impl_.events_); + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::DeepPlayerStatsEntry::MergeFrom( + from._internal_player()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.events_.InternalSwap(&other->_impl_.events_); + swap(_impl_.player_, other->_impl_.player_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[67]); +} + +// =================================================================== + +class CMsgGCCStrike15_ClientDeepStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& range(const CMsgGCCStrike15_ClientDeepStats* msg); + static void set_has_range(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& +CMsgGCCStrike15_ClientDeepStats::_Internal::range(const CMsgGCCStrike15_ClientDeepStats* msg) { + return *msg->_impl_.range_; +} +CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats(::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:CMsgGCCStrike15_ClientDeepStats) +} +CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats(const CMsgGCCStrike15_ClientDeepStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_ClientDeepStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){from._impl_.matches_} + , decltype(_impl_.range_){nullptr} + , decltype(_impl_.account_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_range()) { + _this->_impl_.range_ = new ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(*from._impl_.range_); + } + _this->_impl_.account_id_ = from._impl_.account_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats) +} + +inline void CMsgGCCStrike15_ClientDeepStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){arena} + , decltype(_impl_.range_){nullptr} + , decltype(_impl_.account_id_){0u} + }; +} + +CMsgGCCStrike15_ClientDeepStats::~CMsgGCCStrike15_ClientDeepStats() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_ClientDeepStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.matches_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.range_; +} + +void CMsgGCCStrike15_ClientDeepStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_ClientDeepStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.matches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.range_ != nullptr); + _impl_.range_->Clear(); + } + _impl_.account_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_ClientDeepStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_range(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_matches(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_ClientDeepStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::range(this), + _Internal::range(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_matches_size()); i < n; i++) { + const auto& repfield = this->_internal_matches(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:CMsgGCCStrike15_ClientDeepStats) + return target; +} + +size_t CMsgGCCStrike15_ClientDeepStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats) + 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 .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; + total_size += 1UL * this->_internal_matches_size(); + for (const auto& msg : this->_impl_.matches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.range_); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_ClientDeepStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_ClientDeepStats::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:CMsgGCCStrike15_ClientDeepStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.matches_.MergeFrom(from._impl_.matches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_range()->::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeFrom( + from._internal_range()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_ClientDeepStats::CopyFrom(const CMsgGCCStrike15_ClientDeepStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_ClientDeepStats::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_ClientDeepStats::InternalSwap(CMsgGCCStrike15_ClientDeepStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.matches_.InternalSwap(&other->_impl_.matches_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats, _impl_.account_id_) + + sizeof(CMsgGCCStrike15_ClientDeepStats::_impl_.account_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats, _impl_.range_)>( + reinterpret_cast(&_impl_.range_), + reinterpret_cast(&other->_impl_.range_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[68]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_WatchInfoUsers::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_extended_timeout(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers(::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:CMsgGCCStrike15_v2_WatchInfoUsers) +} +CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers(const CMsgGCCStrike15_v2_WatchInfoUsers& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_WatchInfoUsers* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){from._impl_.account_ids_} + , decltype(_impl_.watchable_match_infos_){from._impl_.watchable_match_infos_} + , decltype(_impl_.request_id_){} + , decltype(_impl_.extended_timeout_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.request_id_, &from._impl_.request_id_, + static_cast(reinterpret_cast(&_impl_.extended_timeout_) - + reinterpret_cast(&_impl_.request_id_)) + sizeof(_impl_.extended_timeout_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_WatchInfoUsers) +} + +inline void CMsgGCCStrike15_v2_WatchInfoUsers::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids_){arena} + , decltype(_impl_.watchable_match_infos_){arena} + , decltype(_impl_.request_id_){0u} + , decltype(_impl_.extended_timeout_){0u} + }; +} + +CMsgGCCStrike15_v2_WatchInfoUsers::~CMsgGCCStrike15_v2_WatchInfoUsers() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_WatchInfoUsers) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_WatchInfoUsers::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_ids_.~RepeatedField(); + _impl_.watchable_match_infos_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_WatchInfoUsers::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_WatchInfoUsers::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_WatchInfoUsers) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_ids_.Clear(); + _impl_.watchable_match_infos_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.request_id_, 0, static_cast( + reinterpret_cast(&_impl_.extended_timeout_) - + reinterpret_cast(&_impl_.request_id_)) + sizeof(_impl_.extended_timeout_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_WatchInfoUsers::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 request_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_request_id(&has_bits); + _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 account_ids = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .WatchableMatchInfo watchable_match_infos = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_watchable_match_infos(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 extended_timeout = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_extended_timeout(&has_bits); + _impl_.extended_timeout_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_WatchInfoUsers::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_WatchInfoUsers) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 request_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); + } + + // repeated uint32 account_ids = 2; + for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids(i), target); + } + + // repeated .WatchableMatchInfo watchable_match_infos = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_watchable_match_infos_size()); i < n; i++) { + const auto& repfield = this->_internal_watchable_match_infos(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 extended_timeout = 5; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_extended_timeout(), 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:CMsgGCCStrike15_v2_WatchInfoUsers) + return target; +} + +size_t CMsgGCCStrike15_v2_WatchInfoUsers::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_WatchInfoUsers) + 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 uint32 account_ids = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_account_ids_size()); + total_size += data_size; + } + + // repeated .WatchableMatchInfo watchable_match_infos = 3; + total_size += 1UL * this->_internal_watchable_match_infos_size(); + for (const auto& msg : this->_impl_.watchable_match_infos_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 request_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); + } + + // optional uint32 extended_timeout = 5; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended_timeout()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_WatchInfoUsers::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_WatchInfoUsers::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_WatchInfoUsers::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_WatchInfoUsers::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:CMsgGCCStrike15_v2_WatchInfoUsers) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); + _this->_impl_.watchable_match_infos_.MergeFrom(from._impl_.watchable_match_infos_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.request_id_ = from._impl_.request_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.extended_timeout_ = from._impl_.extended_timeout_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_WatchInfoUsers::CopyFrom(const CMsgGCCStrike15_v2_WatchInfoUsers& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_WatchInfoUsers) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_WatchInfoUsers::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_WatchInfoUsers::InternalSwap(CMsgGCCStrike15_v2_WatchInfoUsers* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); + _impl_.watchable_match_infos_.InternalSwap(&other->_impl_.watchable_match_infos_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.extended_timeout_) + + sizeof(CMsgGCCStrike15_v2_WatchInfoUsers::_impl_.extended_timeout_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.request_id_)>( + reinterpret_cast(&_impl_.request_id_), + reinterpret_cast(&other->_impl_.request_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_WatchInfoUsers::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[69]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request_id__deprecated(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_request_level(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::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:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) +} +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientRequestPlayersProfile* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids__deprecated_){from._impl_.account_ids__deprecated_} + , decltype(_impl_.request_id__deprecated_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.request_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.request_id__deprecated_, &from._impl_.request_id__deprecated_, + static_cast(reinterpret_cast(&_impl_.request_level_) - + reinterpret_cast(&_impl_.request_id__deprecated_)) + sizeof(_impl_.request_level_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) +} + +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_ids__deprecated_){arena} + , decltype(_impl_.request_id__deprecated_){0u} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.request_level_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::~CMsgGCCStrike15_v2_ClientRequestPlayersProfile() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_ids__deprecated_.~RepeatedField(); +} + +void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_ids__deprecated_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.request_id__deprecated_, 0, static_cast( + reinterpret_cast(&_impl_.request_level_) - + reinterpret_cast(&_impl_.request_id__deprecated_)) + sizeof(_impl_.request_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 request_id__deprecated = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_request_id__deprecated(&has_bits); + _impl_.request_id__deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 account_ids__deprecated = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_account_ids__deprecated(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids__deprecated(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 account_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 request_level = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_request_level(&has_bits); + _impl_.request_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 request_id__deprecated = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id__deprecated(), target); + } + + // repeated uint32 account_ids__deprecated = 2; + for (int i = 0, n = this->_internal_account_ids__deprecated_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids__deprecated(i), target); + } + + // optional uint32 account_id = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_account_id(), target); + } + + // optional uint32 request_level = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_request_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:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + 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 uint32 account_ids__deprecated = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.account_ids__deprecated_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_account_ids__deprecated_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 request_id__deprecated = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id__deprecated()); + } + + // optional uint32 account_id = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 request_level = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_level()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientRequestPlayersProfile::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestPlayersProfile::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::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:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_ids__deprecated_.MergeFrom(from._impl_.account_ids__deprecated_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.request_id__deprecated_ = from._impl_.request_id__deprecated_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.request_level_ = from._impl_.request_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::InternalSwap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_ids__deprecated_.InternalSwap(&other->_impl_.account_ids__deprecated_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_level_) + + sizeof(CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_impl_.request_level_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_id__deprecated_)>( + reinterpret_cast(&_impl_.request_id__deprecated_), + reinterpret_cast(&other->_impl_.request_id__deprecated_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestPlayersProfile::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[70]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PlayersProfile::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile(::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:CMsgGCCStrike15_v2_PlayersProfile) +} +CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile(const CMsgGCCStrike15_v2_PlayersProfile& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PlayersProfile* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_profiles_){from._impl_.account_profiles_} + , decltype(_impl_.request_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.request_id_ = from._impl_.request_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayersProfile) +} + +inline void CMsgGCCStrike15_v2_PlayersProfile::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_profiles_){arena} + , decltype(_impl_.request_id_){0u} + }; +} + +CMsgGCCStrike15_v2_PlayersProfile::~CMsgGCCStrike15_v2_PlayersProfile() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayersProfile) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PlayersProfile::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_profiles_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_PlayersProfile::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PlayersProfile::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayersProfile) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.account_profiles_.Clear(); + _impl_.request_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PlayersProfile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 request_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_request_id(&has_bits); + _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_account_profiles(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PlayersProfile::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayersProfile) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 request_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_account_profiles_size()); i < n; i++) { + const auto& repfield = this->_internal_account_profiles(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:CMsgGCCStrike15_v2_PlayersProfile) + return target; +} + +size_t CMsgGCCStrike15_v2_PlayersProfile::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayersProfile) + 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 .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; + total_size += 1UL * this->_internal_account_profiles_size(); + for (const auto& msg : this->_impl_.account_profiles_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 request_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayersProfile::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PlayersProfile::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayersProfile::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PlayersProfile::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:CMsgGCCStrike15_v2_PlayersProfile) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.account_profiles_.MergeFrom(from._impl_.account_profiles_); + if (from._internal_has_request_id()) { + _this->_internal_set_request_id(from._internal_request_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PlayersProfile::CopyFrom(const CMsgGCCStrike15_v2_PlayersProfile& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayersProfile) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PlayersProfile::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PlayersProfile::InternalSwap(CMsgGCCStrike15_v2_PlayersProfile* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.account_profiles_.InternalSwap(&other->_impl_.account_profiles_); + swap(_impl_.request_id_, other->_impl_.request_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayersProfile::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[71]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_week_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rank_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_matches_played(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) +} +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.week_id_){} + , decltype(_impl_.rank_id_){} + , decltype(_impl_.matches_played_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.week_id_, &from._impl_.week_id_, + static_cast(reinterpret_cast(&_impl_.matches_played_) - + reinterpret_cast(&_impl_.week_id_)) + sizeof(_impl_.matches_played_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.week_id_){uint64_t{0u}} + , decltype(_impl_.rank_id_){0u} + , decltype(_impl_.matches_played_){0u} + }; +} + +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.week_id_, 0, static_cast( + reinterpret_cast(&_impl_.matches_played_) - + reinterpret_cast(&_impl_.week_id_)) + sizeof(_impl_.matches_played_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 week_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_week_id(&has_bits); + _impl_.week_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rank_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rank_id(&has_bits); + _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 matches_played = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_matches_played(&has_bits); + _impl_.matches_played_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 week_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_week_id(), target); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); + } + + // optional uint32 matches_played = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_matches_played(), 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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + return target; +} + +size_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 week_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_week_id()); + } + + // optional uint32 rank_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); + } + + // optional uint32 matches_played = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matches_played()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.week_id_ = from._impl_.week_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rank_id_ = from._impl_.rank_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.matches_played_ = from._impl_.matches_played_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.matches_played_) + + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_impl_.matches_played_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.week_id_)>( + reinterpret_cast(&_impl_.week_id_), + reinterpret_cast(&other->_impl_.week_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[72]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_map_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_wins(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ties(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_losses(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rounds(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_kills(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_headshots(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_assists(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_deaths(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_mvps(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_rounds_3k(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_rounds_4k(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_rounds_5k(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) +} +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_id_){} + , decltype(_impl_.wins_){} + , decltype(_impl_.ties_){} + , decltype(_impl_.losses_){} + , decltype(_impl_.rounds_){} + , decltype(_impl_.kills_){} + , decltype(_impl_.headshots_){} + , decltype(_impl_.assists_){} + , decltype(_impl_.deaths_){} + , decltype(_impl_.mvps_){} + , decltype(_impl_.rounds_3k_){} + , decltype(_impl_.rounds_4k_){} + , decltype(_impl_.rounds_5k_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.map_id_, &from._impl_.map_id_, + static_cast(reinterpret_cast(&_impl_.rounds_5k_) - + reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.rounds_5k_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_id_){0u} + , decltype(_impl_.wins_){0u} + , decltype(_impl_.ties_){0u} + , decltype(_impl_.losses_){0u} + , decltype(_impl_.rounds_){0u} + , decltype(_impl_.kills_){0u} + , decltype(_impl_.headshots_){0u} + , decltype(_impl_.assists_){0u} + , decltype(_impl_.deaths_){0u} + , decltype(_impl_.mvps_){0u} + , decltype(_impl_.rounds_3k_){0u} + , decltype(_impl_.rounds_4k_){0u} + , decltype(_impl_.rounds_5k_){0u} + }; +} + +CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.map_id_, 0, static_cast( + reinterpret_cast(&_impl_.assists_) - + reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.assists_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.deaths_, 0, static_cast( + reinterpret_cast(&_impl_.rounds_5k_) - + reinterpret_cast(&_impl_.deaths_)) + sizeof(_impl_.rounds_5k_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 map_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_map_id(&has_bits); + _impl_.map_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 wins = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_wins(&has_bits); + _impl_.wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ties = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ties(&has_bits); + _impl_.ties_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 losses = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_losses(&has_bits); + _impl_.losses_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rounds(&has_bits); + _impl_.rounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 kills = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_kills(&has_bits); + _impl_.kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 headshots = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_headshots(&has_bits); + _impl_.headshots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 assists = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_assists(&has_bits); + _impl_.assists_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 deaths = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_deaths(&has_bits); + _impl_.deaths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mvps = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_mvps(&has_bits); + _impl_.mvps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds_3k = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_rounds_3k(&has_bits); + _impl_.rounds_3k_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds_4k = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_rounds_4k(&has_bits); + _impl_.rounds_4k_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rounds_5k = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_rounds_5k(&has_bits); + _impl_.rounds_5k_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 map_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_map_id(), target); + } + + // optional uint32 wins = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wins(), target); + } + + // optional uint32 ties = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ties(), target); + } + + // optional uint32 losses = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_losses(), target); + } + + // optional uint32 rounds = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rounds(), target); + } + + // optional uint32 kills = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_kills(), target); + } + + // optional uint32 headshots = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_headshots(), target); + } + + // optional uint32 assists = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_assists(), target); + } + + // optional uint32 deaths = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_deaths(), target); + } + + // optional uint32 mvps = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_mvps(), target); + } + + // optional uint32 rounds_3k = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_rounds_3k(), target); + } + + // optional uint32 rounds_4k = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_rounds_4k(), target); + } + + // optional uint32 rounds_5k = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_rounds_5k(), 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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + return target; +} + +size_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 map_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map_id()); + } + + // optional uint32 wins = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); + } + + // optional uint32 ties = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ties()); + } + + // optional uint32 losses = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_losses()); + } + + // optional uint32 rounds = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds()); + } + + // optional uint32 kills = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_kills()); + } + + // optional uint32 headshots = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_headshots()); + } + + // optional uint32 assists = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_assists()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint32 deaths = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_deaths()); + } + + // optional uint32 mvps = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mvps()); + } + + // optional uint32 rounds_3k = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_3k()); + } + + // optional uint32 rounds_4k = 12; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_4k()); + } + + // optional uint32 rounds_5k = 13; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_5k()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::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:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.map_id_ = from._impl_.map_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.wins_ = from._impl_.wins_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ties_ = from._impl_.ties_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.losses_ = from._impl_.losses_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rounds_ = from._impl_.rounds_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.kills_ = from._impl_.kills_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.headshots_ = from._impl_.headshots_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.assists_ = from._impl_.assists_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.deaths_ = from._impl_.deaths_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.mvps_ = from._impl_.mvps_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.rounds_3k_ = from._impl_.rounds_3k_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.rounds_4k_ = from._impl_.rounds_4k_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.rounds_5k_ = from._impl_.rounds_5k_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_5k_) + + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_impl_.rounds_5k_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.map_id_)>( + reinterpret_cast(&_impl_.map_id_), + reinterpret_cast(&other->_impl_.map_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[73]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PremierSeasonSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_season_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary(::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:CMsgGCCStrike15_v2_PremierSeasonSummary) +} +CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PremierSeasonSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_per_week_){from._impl_.data_per_week_} + , decltype(_impl_.data_per_map_){from._impl_.data_per_map_} + , decltype(_impl_.account_id_){} + , decltype(_impl_.season_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.season_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.season_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary) +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_per_week_){arena} + , decltype(_impl_.data_per_map_){arena} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.season_id_){0u} + }; +} + +CMsgGCCStrike15_v2_PremierSeasonSummary::~CMsgGCCStrike15_v2_PremierSeasonSummary() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_per_week_.~RepeatedPtrField(); + _impl_.data_per_map_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.data_per_week_.Clear(); + _impl_.data_per_map_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.season_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.season_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PremierSeasonSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 season_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_season_id(&has_bits); + _impl_.season_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_data_per_week(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_data_per_map(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 season_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_season_id(), target); + } + + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_data_per_week_size()); i < n; i++) { + const auto& repfield = this->_internal_data_per_week(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_data_per_map_size()); i < n; i++) { + const auto& repfield = this->_internal_data_per_map(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:CMsgGCCStrike15_v2_PremierSeasonSummary) + return target; +} + +size_t CMsgGCCStrike15_v2_PremierSeasonSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary) + 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 .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; + total_size += 1UL * this->_internal_data_per_week_size(); + for (const auto& msg : this->_impl_.data_per_week_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; + total_size += 1UL * this->_internal_data_per_map_size(); + for (const auto& msg : this->_impl_.data_per_map_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 season_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PremierSeasonSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PremierSeasonSummary::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:CMsgGCCStrike15_v2_PremierSeasonSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.data_per_week_.MergeFrom(from._impl_.data_per_week_); + _this->_impl_.data_per_map_.MergeFrom(from._impl_.data_per_map_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.season_id_ = from._impl_.season_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PremierSeasonSummary::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PremierSeasonSummary::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.data_per_week_.InternalSwap(&other->_impl_.data_per_week_); + _impl_.data_per_map_.InternalSwap(&other->_impl_.data_per_map_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.season_id_) + + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary::_impl_.season_id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[74]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_caseid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_suspectid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_fractionid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_rpt_aimbot(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rpt_wallhack(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rpt_speedhack(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_rpt_teamharm(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) +} +CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){} + , decltype(_impl_.suspectid_){} + , decltype(_impl_.fractionid_){} + , decltype(_impl_.rpt_aimbot_){} + , decltype(_impl_.rpt_wallhack_){} + , decltype(_impl_.rpt_speedhack_){} + , decltype(_impl_.rpt_teamharm_){} + , decltype(_impl_.reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, + static_cast(reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){uint64_t{0u}} + , decltype(_impl_.suspectid_){0u} + , decltype(_impl_.fractionid_){0u} + , decltype(_impl_.rpt_aimbot_){0u} + , decltype(_impl_.rpt_wallhack_){0u} + , decltype(_impl_.rpt_speedhack_){0u} + , decltype(_impl_.rpt_teamharm_){0u} + , decltype(_impl_.reason_){0u} + }; +} + +CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.caseid_, 0, static_cast( + reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 caseid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_caseid(&has_bits); + _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 suspectid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_suspectid(&has_bits); + _impl_.suspectid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 fractionid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_fractionid(&has_bits); + _impl_.fractionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_aimbot = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rpt_aimbot(&has_bits); + _impl_.rpt_aimbot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_wallhack = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_rpt_wallhack(&has_bits); + _impl_.rpt_wallhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_speedhack = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_rpt_speedhack(&has_bits); + _impl_.rpt_speedhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rpt_teamharm = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_rpt_teamharm(&has_bits); + _impl_.rpt_teamharm_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reason = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); + } + + // optional uint32 suspectid = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_suspectid(), target); + } + + // optional uint32 fractionid = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_fractionid(), target); + } + + // optional uint32 rpt_aimbot = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_aimbot(), target); + } + + // optional uint32 rpt_wallhack = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rpt_wallhack(), target); + } + + // optional uint32 rpt_speedhack = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rpt_speedhack(), target); + } + + // optional uint32 rpt_teamharm = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_rpt_teamharm(), target); + } + + // optional uint32 reason = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_reason(), 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:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + return target; +} + +size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); + } + + // optional uint32 suspectid = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_suspectid()); + } + + // optional uint32 fractionid = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionid()); + } + + // optional uint32 rpt_aimbot = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_aimbot()); + } + + // optional uint32 rpt_wallhack = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_wallhack()); + } + + // optional uint32 rpt_speedhack = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_speedhack()); + } + + // optional uint32 rpt_teamharm = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_teamharm()); + } + + // optional uint32 reason = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.caseid_ = from._impl_.caseid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.suspectid_ = from._impl_.suspectid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.fractionid_ = from._impl_.fractionid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.rpt_aimbot_ = from._impl_.rpt_aimbot_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rpt_wallhack_ = from._impl_.rpt_wallhack_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rpt_speedhack_ = from._impl_.rpt_speedhack_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.rpt_teamharm_ = from._impl_.rpt_teamharm_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.reason_) + + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_impl_.reason_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.caseid_)>( + reinterpret_cast(&_impl_.caseid_), + reinterpret_cast(&other->_impl_.caseid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[75]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_caseid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_caseurl(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_verdict(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_throttleseconds(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_suspectid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_fractionid(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_numrounds(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_fractionrounds(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_streakconvictions(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) +} +CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseurl_){} + , decltype(_impl_.caseid_){} + , decltype(_impl_.verdict_){} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.throttleseconds_){} + , decltype(_impl_.suspectid_){} + , decltype(_impl_.fractionid_){} + , decltype(_impl_.numrounds_){} + , decltype(_impl_.fractionrounds_){} + , decltype(_impl_.streakconvictions_){} + , decltype(_impl_.reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.caseurl_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.caseurl_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_caseurl()) { + _this->_impl_.caseurl_.Set(from._internal_caseurl(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, + static_cast(reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseurl_){} + , decltype(_impl_.caseid_){uint64_t{0u}} + , decltype(_impl_.verdict_){0u} + , decltype(_impl_.timestamp_){0u} + , decltype(_impl_.throttleseconds_){0u} + , decltype(_impl_.suspectid_){0u} + , decltype(_impl_.fractionid_){0u} + , decltype(_impl_.numrounds_){0u} + , decltype(_impl_.fractionrounds_){0u} + , decltype(_impl_.streakconvictions_){0} + , decltype(_impl_.reason_){0u} + }; + _impl_.caseurl_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.caseurl_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.caseurl_.Destroy(); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.caseurl_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.caseid_, 0, static_cast( + reinterpret_cast(&_impl_.numrounds_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.numrounds_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.fractionrounds_, 0, static_cast( + reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.fractionrounds_)) + sizeof(_impl_.reason_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 caseid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_caseid(&has_bits); + _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string caseurl = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_caseurl(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 verdict = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_verdict(&has_bits); + _impl_.verdict_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_timestamp(&has_bits); + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 throttleseconds = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_throttleseconds(&has_bits); + _impl_.throttleseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 suspectid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_suspectid(&has_bits); + _impl_.suspectid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 fractionid = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_fractionid(&has_bits); + _impl_.fractionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 numrounds = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_numrounds(&has_bits); + _impl_.numrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 fractionrounds = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_fractionrounds(&has_bits); + _impl_.fractionrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 streakconvictions = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_streakconvictions(&has_bits); + _impl_.streakconvictions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reason = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); + } + + // optional string caseurl = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_caseurl().data(), static_cast(this->_internal_caseurl().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_caseurl(), target); + } + + // optional uint32 verdict = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_verdict(), target); + } + + // optional uint32 timestamp = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_timestamp(), target); + } + + // optional uint32 throttleseconds = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_throttleseconds(), target); + } + + // optional uint32 suspectid = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_suspectid(), target); + } + + // optional uint32 fractionid = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_fractionid(), target); + } + + // optional uint32 numrounds = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_numrounds(), target); + } + + // optional uint32 fractionrounds = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_fractionrounds(), target); + } + + // optional int32 streakconvictions = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_streakconvictions(), target); + } + + // optional uint32 reason = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_reason(), 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:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + return target; +} + +size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string caseurl = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_caseurl()); + } + + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); + } + + // optional uint32 verdict = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_verdict()); + } + + // optional uint32 timestamp = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp()); + } + + // optional uint32 throttleseconds = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_throttleseconds()); + } + + // optional uint32 suspectid = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_suspectid()); + } + + // optional uint32 fractionid = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionid()); + } + + // optional uint32 numrounds = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_numrounds()); + } + + } + if (cached_has_bits & 0x00000700u) { + // optional uint32 fractionrounds = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionrounds()); + } + + // optional int32 streakconvictions = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_streakconvictions()); + } + + // optional uint32 reason = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_caseurl(from._internal_caseurl()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.caseid_ = from._impl_.caseid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.verdict_ = from._impl_.verdict_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.throttleseconds_ = from._impl_.throttleseconds_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.suspectid_ = from._impl_.suspectid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.fractionid_ = from._impl_.fractionid_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.numrounds_ = from._impl_.numrounds_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.fractionrounds_ = from._impl_.fractionrounds_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.streakconvictions_ = from._impl_.streakconvictions_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.caseurl_, lhs_arena, + &other->_impl_.caseurl_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.reason_) + + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_impl_.reason_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseid_)>( + reinterpret_cast(&_impl_.caseid_), + reinterpret_cast(&other->_impl_.caseid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[76]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_caseid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_statusid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) +} +CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){} + , decltype(_impl_.statusid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, + static_cast(reinterpret_cast(&_impl_.statusid_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.statusid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){uint64_t{0u}} + , decltype(_impl_.statusid_){0u} + }; +} + +CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.caseid_, 0, static_cast( + reinterpret_cast(&_impl_.statusid_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.statusid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 caseid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_caseid(&has_bits); + _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 statusid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_statusid(&has_bits); + _impl_.statusid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); + } + + // optional uint32 statusid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_statusid(), 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:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + return target; +} + +size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 caseid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); + } + + // optional uint32 statusid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_statusid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::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:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.caseid_ = from._impl_.caseid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.statusid_ = from._impl_.statusid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.statusid_) + + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_impl_.statusid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.caseid_)>( + reinterpret_cast(&_impl_.caseid_), + reinterpret_cast(&other->_impl_.caseid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[77]); +} + +// =================================================================== + +class CClientHeaderOverwatchEvidence::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_caseid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence(::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:CClientHeaderOverwatchEvidence) +} +CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence(const CClientHeaderOverwatchEvidence& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CClientHeaderOverwatchEvidence* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, + static_cast(reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.accountid_)); + // @@protoc_insertion_point(copy_constructor:CClientHeaderOverwatchEvidence) +} + +inline void CClientHeaderOverwatchEvidence::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caseid_){uint64_t{0u}} + , decltype(_impl_.accountid_){0u} + }; +} + +CClientHeaderOverwatchEvidence::~CClientHeaderOverwatchEvidence() { + // @@protoc_insertion_point(destructor:CClientHeaderOverwatchEvidence) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CClientHeaderOverwatchEvidence::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CClientHeaderOverwatchEvidence::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CClientHeaderOverwatchEvidence::Clear() { +// @@protoc_insertion_point(message_clear_start:CClientHeaderOverwatchEvidence) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.caseid_, 0, static_cast( + reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.accountid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CClientHeaderOverwatchEvidence::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 caseid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_caseid(&has_bits); + _impl_.caseid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CClientHeaderOverwatchEvidence::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CClientHeaderOverwatchEvidence) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint64 caseid = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_caseid(), 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:CClientHeaderOverwatchEvidence) + return target; +} + +size_t CClientHeaderOverwatchEvidence::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CClientHeaderOverwatchEvidence) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 caseid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); + } + + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientHeaderOverwatchEvidence::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CClientHeaderOverwatchEvidence::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientHeaderOverwatchEvidence::GetClassData() const { return &_class_data_; } + + +void CClientHeaderOverwatchEvidence::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:CClientHeaderOverwatchEvidence) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.caseid_ = from._impl_.caseid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CClientHeaderOverwatchEvidence::CopyFrom(const CClientHeaderOverwatchEvidence& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CClientHeaderOverwatchEvidence) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CClientHeaderOverwatchEvidence::IsInitialized() const { + return true; +} + +void CClientHeaderOverwatchEvidence::InternalSwap(CClientHeaderOverwatchEvidence* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CClientHeaderOverwatchEvidence, _impl_.accountid_) + + sizeof(CClientHeaderOverwatchEvidence::_impl_.accountid_) + - PROTOBUF_FIELD_OFFSET(CClientHeaderOverwatchEvidence, _impl_.caseid_)>( + reinterpret_cast(&_impl_.caseid_), + reinterpret_cast(&other->_impl_.caseid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CClientHeaderOverwatchEvidence::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[78]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientTextMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_payload(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg(::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:CMsgGCCStrike15_v2_GC2ClientTextMsg) +} +CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientTextMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.payload_){} + , decltype(_impl_.id_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.payload_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.payload_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_payload()) { + _this->_impl_.payload_.Set(from._internal_payload(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientTextMsg) +} + +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.payload_){} + , decltype(_impl_.id_){0u} + , decltype(_impl_.type_){0u} + }; + _impl_.payload_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.payload_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GC2ClientTextMsg::~CMsgGCCStrike15_v2_GC2ClientTextMsg() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientTextMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.payload_.Destroy(); +} + +void CMsgGCCStrike15_v2_GC2ClientTextMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientTextMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.payload_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes payload = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_payload(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientTextMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 type = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_type(), target); + } + + // optional bytes payload = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_payload(), 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:CMsgGCCStrike15_v2_GC2ClientTextMsg) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientTextMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes payload = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_payload()); + } + + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 type = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientTextMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientTextMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientTextMsg::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientTextMsg::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:CMsgGCCStrike15_v2_GC2ClientTextMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_payload(from._internal_payload()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientTextMsg::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientTextMsg::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientTextMsg::InternalSwap(CMsgGCCStrike15_v2_GC2ClientTextMsg* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.payload_, lhs_arena, + &other->_impl_.payload_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.type_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientTextMsg::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientTextMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[79]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GCTextMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg(::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:CMsgGCCStrike15_v2_Client2GCTextMsg) +} +CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Client2GCTextMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.args_){from._impl_.args_} + , decltype(_impl_.id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.id_ = from._impl_.id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCTextMsg) +} + +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.args_){arena} + , decltype(_impl_.id_){0u} + }; +} + +CMsgGCCStrike15_v2_Client2GCTextMsg::~CMsgGCCStrike15_v2_Client2GCTextMsg() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCTextMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.args_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Client2GCTextMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Client2GCTextMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCTextMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.args_.Clear(); + _impl_.id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Client2GCTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes args = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_args(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Client2GCTextMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCTextMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // repeated bytes args = 2; + for (int i = 0, n = this->_internal_args_size(); i < n; i++) { + const auto& s = this->_internal_args(i); + target = stream->WriteBytes(2, 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:CMsgGCCStrike15_v2_Client2GCTextMsg) + return target; +} + +size_t CMsgGCCStrike15_v2_Client2GCTextMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCTextMsg) + 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 bytes args = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.args_.size()); + for (int i = 0, n = _impl_.args_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.args_.Get(i)); + } + + // optional uint32 id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCTextMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Client2GCTextMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCTextMsg::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Client2GCTextMsg::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:CMsgGCCStrike15_v2_Client2GCTextMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.args_.MergeFrom(from._impl_.args_); + if (from._internal_has_id()) { + _this->_internal_set_id(from._internal_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Client2GCTextMsg::CopyFrom(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCTextMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Client2GCTextMsg::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Client2GCTextMsg::InternalSwap(CMsgGCCStrike15_v2_Client2GCTextMsg* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.args_.InternalSwap(&other->_impl_.args_); + swap(_impl_.id_, other->_impl_.id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCTextMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[80]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& serverinfo(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg); + static void set_has_serverinfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgGC_ServerQuestUpdateData& match_end_quest_data(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg); + static void set_has_match_end_quest_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& +CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal::serverinfo(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg) { + return *msg->_impl_.serverinfo_; +} +const ::CMsgGC_ServerQuestUpdateData& +CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal::match_end_quest_data(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg) { + return *msg->_impl_.match_end_quest_data_; +} +CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::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:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) +} +CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchEndRunRewardDrops* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.serverinfo_){nullptr} + , decltype(_impl_.match_end_quest_data_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_serverinfo()) { + _this->_impl_.serverinfo_ = new ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(*from._impl_.serverinfo_); + } + if (from._internal_has_match_end_quest_data()) { + _this->_impl_.match_end_quest_data_ = new ::CMsgGC_ServerQuestUpdateData(*from._impl_.match_end_quest_data_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) +} + +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.serverinfo_){nullptr} + , decltype(_impl_.match_end_quest_data_){nullptr} + }; +} + +CMsgGCCStrike15_v2_MatchEndRunRewardDrops::~CMsgGCCStrike15_v2_MatchEndRunRewardDrops() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.serverinfo_; + if (this != internal_default_instance()) delete _impl_.match_end_quest_data_; +} + +void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.serverinfo_ != nullptr); + _impl_.serverinfo_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.match_end_quest_data_ != nullptr); + _impl_.match_end_quest_data_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_serverinfo(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_match_end_quest_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::serverinfo(this), + _Internal::serverinfo(this).GetCachedSize(), target, stream); + } + + // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::match_end_quest_data(this), + _Internal::match_end_quest_data(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:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchEndRunRewardDrops::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.serverinfo_); + } + + // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.match_end_quest_data_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchEndRunRewardDrops::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchEndRunRewardDrops::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::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:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_serverinfo()->::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeFrom( + from._internal_serverinfo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_match_end_quest_data()->::CMsgGC_ServerQuestUpdateData::MergeFrom( + from._internal_match_end_quest_data()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CopyFrom(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::InternalSwap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.match_end_quest_data_) + + sizeof(CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_impl_.match_end_quest_data_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.serverinfo_)>( + reinterpret_cast(&_impl_.serverinfo_), + reinterpret_cast(&other->_impl_.serverinfo_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchEndRunRewardDrops::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[81]); +} + +// =================================================================== + +class CEconItemPreviewDataBlock_Sticker::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sticker_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_wear(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rotation(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tint_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_offset_x(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_offset_y(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_offset_z(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_pattern(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_highlight_reel(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(::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:CEconItemPreviewDataBlock.Sticker) +} +CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(const CEconItemPreviewDataBlock_Sticker& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEconItemPreviewDataBlock_Sticker* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){} + , decltype(_impl_.sticker_id_){} + , decltype(_impl_.wear_){} + , decltype(_impl_.scale_){} + , decltype(_impl_.rotation_){} + , decltype(_impl_.tint_id_){} + , decltype(_impl_.offset_x_){} + , decltype(_impl_.offset_y_){} + , decltype(_impl_.offset_z_){} + , decltype(_impl_.pattern_){} + , decltype(_impl_.highlight_reel_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.slot_, &from._impl_.slot_, + static_cast(reinterpret_cast(&_impl_.highlight_reel_) - + reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.highlight_reel_)); + // @@protoc_insertion_point(copy_constructor:CEconItemPreviewDataBlock.Sticker) +} + +inline void CEconItemPreviewDataBlock_Sticker::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){0u} + , decltype(_impl_.sticker_id_){0u} + , decltype(_impl_.wear_){0} + , decltype(_impl_.scale_){0} + , decltype(_impl_.rotation_){0} + , decltype(_impl_.tint_id_){0u} + , decltype(_impl_.offset_x_){0} + , decltype(_impl_.offset_y_){0} + , decltype(_impl_.offset_z_){0} + , decltype(_impl_.pattern_){0u} + , decltype(_impl_.highlight_reel_){0u} + }; +} + +CEconItemPreviewDataBlock_Sticker::~CEconItemPreviewDataBlock_Sticker() { + // @@protoc_insertion_point(destructor:CEconItemPreviewDataBlock.Sticker) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEconItemPreviewDataBlock_Sticker::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CEconItemPreviewDataBlock_Sticker::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEconItemPreviewDataBlock_Sticker::Clear() { +// @@protoc_insertion_point(message_clear_start:CEconItemPreviewDataBlock.Sticker) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.slot_, 0, static_cast( + reinterpret_cast(&_impl_.offset_y_) - + reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.offset_y_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.offset_z_, 0, static_cast( + reinterpret_cast(&_impl_.highlight_reel_) - + reinterpret_cast(&_impl_.offset_z_)) + sizeof(_impl_.highlight_reel_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEconItemPreviewDataBlock_Sticker::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 slot = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sticker_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_sticker_id(&has_bits); + _impl_.sticker_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float wear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_wear(&has_bits); + _impl_.wear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float scale = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float rotation = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_rotation(&has_bits); + _impl_.rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 tint_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_tint_id(&has_bits); + _impl_.tint_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float offset_x = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_offset_x(&has_bits); + _impl_.offset_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float offset_y = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_offset_y(&has_bits); + _impl_.offset_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float offset_z = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_offset_z(&has_bits); + _impl_.offset_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 pattern = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_pattern(&has_bits); + _impl_.pattern_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 highlight_reel = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_highlight_reel(&has_bits); + _impl_.highlight_reel_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEconItemPreviewDataBlock_Sticker::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEconItemPreviewDataBlock.Sticker) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 slot = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_slot(), target); + } + + // optional uint32 sticker_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sticker_id(), target); + } + + // optional float wear = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_wear(), target); + } + + // optional float scale = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_scale(), target); + } + + // optional float rotation = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_rotation(), target); + } + + // optional uint32 tint_id = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tint_id(), target); + } + + // optional float offset_x = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_offset_x(), target); + } + + // optional float offset_y = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_offset_y(), target); + } + + // optional float offset_z = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_offset_z(), target); + } + + // optional uint32 pattern = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_pattern(), target); + } + + // optional uint32 highlight_reel = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_highlight_reel(), 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:CEconItemPreviewDataBlock.Sticker) + return target; +} + +size_t CEconItemPreviewDataBlock_Sticker::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEconItemPreviewDataBlock.Sticker) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 slot = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot()); + } + + // optional uint32 sticker_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sticker_id()); + } + + // optional float wear = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float scale = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional float rotation = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 tint_id = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tint_id()); + } + + // optional float offset_x = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float offset_y = 8; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000700u) { + // optional float offset_z = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 pattern = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pattern()); + } + + // optional uint32 highlight_reel = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_highlight_reel()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEconItemPreviewDataBlock_Sticker::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEconItemPreviewDataBlock_Sticker::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEconItemPreviewDataBlock_Sticker::GetClassData() const { return &_class_data_; } + + +void CEconItemPreviewDataBlock_Sticker::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:CEconItemPreviewDataBlock.Sticker) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.slot_ = from._impl_.slot_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.sticker_id_ = from._impl_.sticker_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.wear_ = from._impl_.wear_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rotation_ = from._impl_.rotation_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tint_id_ = from._impl_.tint_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.offset_x_ = from._impl_.offset_x_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.offset_y_ = from._impl_.offset_y_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.offset_z_ = from._impl_.offset_z_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.pattern_ = from._impl_.pattern_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.highlight_reel_ = from._impl_.highlight_reel_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEconItemPreviewDataBlock_Sticker::CopyFrom(const CEconItemPreviewDataBlock_Sticker& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEconItemPreviewDataBlock.Sticker) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEconItemPreviewDataBlock_Sticker::IsInitialized() const { + return true; +} + +void CEconItemPreviewDataBlock_Sticker::InternalSwap(CEconItemPreviewDataBlock_Sticker* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_) + + sizeof(CEconItemPreviewDataBlock_Sticker::_impl_.highlight_reel_) + - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.slot_)>( + reinterpret_cast(&_impl_.slot_), + reinterpret_cast(&other->_impl_.slot_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEconItemPreviewDataBlock_Sticker::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[82]); +} + +// =================================================================== + +class CEconItemPreviewDataBlock::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_defindex(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_paintindex(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rarity(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_quality(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_paintwear(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_paintseed(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_killeaterscoretype(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_killeatervalue(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_customname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_questid(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_dropreason(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_musicindex(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_entindex(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_petindex(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_style(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_upgrade_level(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } +}; + +CEconItemPreviewDataBlock::CEconItemPreviewDataBlock(::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:CEconItemPreviewDataBlock) +} +CEconItemPreviewDataBlock::CEconItemPreviewDataBlock(const CEconItemPreviewDataBlock& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEconItemPreviewDataBlock* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stickers_){from._impl_.stickers_} + , decltype(_impl_.keychains_){from._impl_.keychains_} + , decltype(_impl_.variations_){from._impl_.variations_} + , decltype(_impl_.customname_){} + , decltype(_impl_.itemid_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.defindex_){} + , decltype(_impl_.paintindex_){} + , decltype(_impl_.rarity_){} + , decltype(_impl_.quality_){} + , decltype(_impl_.paintwear_){} + , decltype(_impl_.paintseed_){} + , decltype(_impl_.killeaterscoretype_){} + , decltype(_impl_.killeatervalue_){} + , decltype(_impl_.inventory_){} + , decltype(_impl_.origin_){} + , decltype(_impl_.questid_){} + , decltype(_impl_.dropreason_){} + , decltype(_impl_.musicindex_){} + , decltype(_impl_.entindex_){} + , decltype(_impl_.petindex_){} + , decltype(_impl_.style_){} + , decltype(_impl_.upgrade_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.customname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.customname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_customname()) { + _this->_impl_.customname_.Set(from._internal_customname(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, + static_cast(reinterpret_cast(&_impl_.upgrade_level_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.upgrade_level_)); + // @@protoc_insertion_point(copy_constructor:CEconItemPreviewDataBlock) +} + +inline void CEconItemPreviewDataBlock::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stickers_){arena} + , decltype(_impl_.keychains_){arena} + , decltype(_impl_.variations_){arena} + , decltype(_impl_.customname_){} + , decltype(_impl_.itemid_){uint64_t{0u}} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.defindex_){0u} + , decltype(_impl_.paintindex_){0u} + , decltype(_impl_.rarity_){0u} + , decltype(_impl_.quality_){0u} + , decltype(_impl_.paintwear_){0u} + , decltype(_impl_.paintseed_){0u} + , decltype(_impl_.killeaterscoretype_){0u} + , decltype(_impl_.killeatervalue_){0u} + , decltype(_impl_.inventory_){0u} + , decltype(_impl_.origin_){0u} + , decltype(_impl_.questid_){0u} + , decltype(_impl_.dropreason_){0u} + , decltype(_impl_.musicindex_){0u} + , decltype(_impl_.entindex_){0} + , decltype(_impl_.petindex_){0u} + , decltype(_impl_.style_){0u} + , decltype(_impl_.upgrade_level_){0u} + }; + _impl_.customname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.customname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CEconItemPreviewDataBlock::~CEconItemPreviewDataBlock() { + // @@protoc_insertion_point(destructor:CEconItemPreviewDataBlock) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEconItemPreviewDataBlock::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.stickers_.~RepeatedPtrField(); + _impl_.keychains_.~RepeatedPtrField(); + _impl_.variations_.~RepeatedPtrField(); + _impl_.customname_.Destroy(); +} + +void CEconItemPreviewDataBlock::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEconItemPreviewDataBlock::Clear() { +// @@protoc_insertion_point(message_clear_start:CEconItemPreviewDataBlock) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stickers_.Clear(); + _impl_.keychains_.Clear(); + _impl_.variations_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.customname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.itemid_, 0, static_cast( + reinterpret_cast(&_impl_.paintwear_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.paintwear_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.paintseed_, 0, static_cast( + reinterpret_cast(&_impl_.musicindex_) - + reinterpret_cast(&_impl_.paintseed_)) + sizeof(_impl_.musicindex_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.entindex_, 0, static_cast( + reinterpret_cast(&_impl_.upgrade_level_) - + reinterpret_cast(&_impl_.entindex_)) + sizeof(_impl_.upgrade_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEconItemPreviewDataBlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 itemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 defindex = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_defindex(&has_bits); + _impl_.defindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 paintindex = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_paintindex(&has_bits); + _impl_.paintindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rarity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_rarity(&has_bits); + _impl_.rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_quality(&has_bits); + _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 paintwear = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_paintwear(&has_bits); + _impl_.paintwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 paintseed = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_paintseed(&has_bits); + _impl_.paintseed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 killeaterscoretype = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_killeaterscoretype(&has_bits); + _impl_.killeaterscoretype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 killeatervalue = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_killeatervalue(&has_bits); + _impl_.killeatervalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string customname = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_customname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CEconItemPreviewDataBlock.customname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_stickers(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 inventory = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_inventory(&has_bits); + _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 origin = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_origin(&has_bits); + _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 questid = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_questid(&has_bits); + _impl_.questid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 dropreason = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_dropreason(&has_bits); + _impl_.dropreason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 musicindex = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_musicindex(&has_bits); + _impl_.musicindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entindex = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_entindex(&has_bits); + _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 petindex = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_petindex(&has_bits); + _impl_.petindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_keychains(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 style = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_style(&has_bits); + _impl_.style_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_variations(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<178>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 upgrade_level = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_upgrade_level(&has_bits); + _impl_.upgrade_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEconItemPreviewDataBlock::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEconItemPreviewDataBlock) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint64 itemid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_itemid(), target); + } + + // optional uint32 defindex = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_defindex(), target); + } + + // optional uint32 paintindex = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_paintindex(), target); + } + + // optional uint32 rarity = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rarity(), target); + } + + // optional uint32 quality = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_quality(), target); + } + + // optional uint32 paintwear = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_paintwear(), target); + } + + // optional uint32 paintseed = 8; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_paintseed(), target); + } + + // optional uint32 killeaterscoretype = 9; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_killeaterscoretype(), target); + } + + // optional uint32 killeatervalue = 10; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_killeatervalue(), target); + } + + // optional string customname = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_customname().data(), static_cast(this->_internal_customname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CEconItemPreviewDataBlock.customname"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_customname(), target); + } + + // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; + for (unsigned i = 0, + n = static_cast(this->_internal_stickers_size()); i < n; i++) { + const auto& repfield = this->_internal_stickers(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 inventory = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_inventory(), target); + } + + // optional uint32 origin = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_origin(), target); + } + + // optional uint32 questid = 15; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_questid(), target); + } + + // optional uint32 dropreason = 16; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_dropreason(), target); + } + + // optional uint32 musicindex = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_musicindex(), target); + } + + // optional int32 entindex = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_entindex(), target); + } + + // optional uint32 petindex = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_petindex(), target); + } + + // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; + for (unsigned i = 0, + n = static_cast(this->_internal_keychains_size()); i < n; i++) { + const auto& repfield = this->_internal_keychains(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 style = 21; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_style(), target); + } + + // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; + for (unsigned i = 0, + n = static_cast(this->_internal_variations_size()); i < n; i++) { + const auto& repfield = this->_internal_variations(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(22, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 upgrade_level = 23; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_upgrade_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:CEconItemPreviewDataBlock) + return target; +} + +size_t CEconItemPreviewDataBlock::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEconItemPreviewDataBlock) + 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 .CEconItemPreviewDataBlock.Sticker stickers = 12; + total_size += 1UL * this->_internal_stickers_size(); + for (const auto& msg : this->_impl_.stickers_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; + total_size += 2UL * this->_internal_keychains_size(); + for (const auto& msg : this->_impl_.keychains_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; + total_size += 2UL * this->_internal_variations_size(); + for (const auto& msg : this->_impl_.variations_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string customname = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_customname()); + } + + // optional uint64 itemid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); + } + + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 defindex = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defindex()); + } + + // optional uint32 paintindex = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintindex()); + } + + // optional uint32 rarity = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rarity()); + } + + // optional uint32 quality = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); + } + + // optional uint32 paintwear = 7; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintwear()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 paintseed = 8; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintseed()); + } + + // optional uint32 killeaterscoretype = 9; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killeaterscoretype()); + } + + // optional uint32 killeatervalue = 10; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killeatervalue()); + } + + // optional uint32 inventory = 13; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); + } + + // optional uint32 origin = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); + } + + // optional uint32 questid = 15; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_questid()); + } + + // optional uint32 dropreason = 16; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_dropreason()); + } + + // optional uint32 musicindex = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_musicindex()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional int32 entindex = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_entindex()); + } + + // optional uint32 petindex = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_petindex()); + } + + // optional uint32 style = 21; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_style()); + } + + // optional uint32 upgrade_level = 23; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_upgrade_level()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEconItemPreviewDataBlock::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEconItemPreviewDataBlock::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEconItemPreviewDataBlock::GetClassData() const { return &_class_data_; } + + +void CEconItemPreviewDataBlock::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:CEconItemPreviewDataBlock) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.stickers_.MergeFrom(from._impl_.stickers_); + _this->_impl_.keychains_.MergeFrom(from._impl_.keychains_); + _this->_impl_.variations_.MergeFrom(from._impl_.variations_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_customname(from._internal_customname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.defindex_ = from._impl_.defindex_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.paintindex_ = from._impl_.paintindex_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rarity_ = from._impl_.rarity_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.quality_ = from._impl_.quality_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.paintwear_ = from._impl_.paintwear_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.paintseed_ = from._impl_.paintseed_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.killeaterscoretype_ = from._impl_.killeaterscoretype_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.killeatervalue_ = from._impl_.killeatervalue_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.inventory_ = from._impl_.inventory_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.origin_ = from._impl_.origin_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.questid_ = from._impl_.questid_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.dropreason_ = from._impl_.dropreason_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.musicindex_ = from._impl_.musicindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.entindex_ = from._impl_.entindex_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.petindex_ = from._impl_.petindex_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.style_ = from._impl_.style_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.upgrade_level_ = from._impl_.upgrade_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEconItemPreviewDataBlock::CopyFrom(const CEconItemPreviewDataBlock& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEconItemPreviewDataBlock) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEconItemPreviewDataBlock::IsInitialized() const { + return true; +} + +void CEconItemPreviewDataBlock::InternalSwap(CEconItemPreviewDataBlock* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.stickers_.InternalSwap(&other->_impl_.stickers_); + _impl_.keychains_.InternalSwap(&other->_impl_.keychains_); + _impl_.variations_.InternalSwap(&other->_impl_.variations_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.customname_, lhs_arena, + &other->_impl_.customname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock, _impl_.upgrade_level_) + + sizeof(CEconItemPreviewDataBlock::_impl_.upgrade_level_) + - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock, _impl_.itemid_)>( + reinterpret_cast(&_impl_.itemid_), + reinterpret_cast(&other->_impl_.itemid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEconItemPreviewDataBlock::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[83]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* msg); + static void set_has_iteminfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEconItemPreviewDataBlock& +CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_Internal::iteminfo(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* msg) { + return *msg->_impl_.iteminfo_; +} +CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::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:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) +} +CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_iteminfo()) { + _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) +} + +inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr} + }; +} + +CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::~CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.iteminfo_; +} + +void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); + _impl_.iteminfo_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEconItemPreviewDataBlock iteminfo = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEconItemPreviewDataBlock iteminfo = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::iteminfo(this), + _Internal::iteminfo(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:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CEconItemPreviewDataBlock iteminfo = 6; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.iteminfo_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::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:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_iteminfo()) { + _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( + from._internal_iteminfo()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CopyFrom(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::InternalSwap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.iteminfo_, other->_impl_.iteminfo_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[84]); +} + +// =================================================================== + +class CMsgItemAcknowledged::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgItemAcknowledged* msg); + static void set_has_iteminfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEconItemPreviewDataBlock& +CMsgItemAcknowledged::_Internal::iteminfo(const CMsgItemAcknowledged* msg) { + return *msg->_impl_.iteminfo_; +} +CMsgItemAcknowledged::CMsgItemAcknowledged(::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:CMsgItemAcknowledged) +} +CMsgItemAcknowledged::CMsgItemAcknowledged(const CMsgItemAcknowledged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgItemAcknowledged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_iteminfo()) { + _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); + } + // @@protoc_insertion_point(copy_constructor:CMsgItemAcknowledged) +} + +inline void CMsgItemAcknowledged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr} + }; +} + +CMsgItemAcknowledged::~CMsgItemAcknowledged() { + // @@protoc_insertion_point(destructor:CMsgItemAcknowledged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgItemAcknowledged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.iteminfo_; +} + +void CMsgItemAcknowledged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgItemAcknowledged::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgItemAcknowledged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); + _impl_.iteminfo_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgItemAcknowledged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEconItemPreviewDataBlock iteminfo = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgItemAcknowledged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgItemAcknowledged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::iteminfo(this), + _Internal::iteminfo(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:CMsgItemAcknowledged) + return target; +} + +size_t CMsgItemAcknowledged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgItemAcknowledged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CEconItemPreviewDataBlock iteminfo = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.iteminfo_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgItemAcknowledged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgItemAcknowledged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgItemAcknowledged::GetClassData() const { return &_class_data_; } + + +void CMsgItemAcknowledged::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:CMsgItemAcknowledged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_iteminfo()) { + _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( + from._internal_iteminfo()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgItemAcknowledged::CopyFrom(const CMsgItemAcknowledged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgItemAcknowledged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgItemAcknowledged::IsInitialized() const { + return true; +} + +void CMsgItemAcknowledged::InternalSwap(CMsgItemAcknowledged* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.iteminfo_, other->_impl_.iteminfo_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgItemAcknowledged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[85]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_param_s(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_param_a(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_param_d(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_param_m(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) +} +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.param_s_){} + , decltype(_impl_.param_a_){} + , decltype(_impl_.param_d_){} + , decltype(_impl_.param_m_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.param_s_, &from._impl_.param_s_, + static_cast(reinterpret_cast(&_impl_.param_m_) - + reinterpret_cast(&_impl_.param_s_)) + sizeof(_impl_.param_m_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) +} + +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.param_s_){uint64_t{0u}} + , decltype(_impl_.param_a_){uint64_t{0u}} + , decltype(_impl_.param_d_){uint64_t{0u}} + , decltype(_impl_.param_m_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.param_s_, 0, static_cast( + reinterpret_cast(&_impl_.param_m_) - + reinterpret_cast(&_impl_.param_s_)) + sizeof(_impl_.param_m_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 param_s = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_param_s(&has_bits); + _impl_.param_s_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 param_a = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_param_a(&has_bits); + _impl_.param_a_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 param_d = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_param_d(&has_bits); + _impl_.param_d_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 param_m = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_param_m(&has_bits); + _impl_.param_m_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 param_s = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_param_s(), target); + } + + // optional uint64 param_a = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_param_a(), target); + } + + // optional uint64 param_d = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_param_d(), target); + } + + // optional uint64 param_m = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_param_m(), 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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + return target; +} + +size_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 param_s = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_s()); + } + + // optional uint64 param_a = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_a()); + } + + // optional uint64 param_d = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_d()); + } + + // optional uint64 param_m = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_m()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.param_s_ = from._impl_.param_s_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.param_a_ = from._impl_.param_a_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.param_d_ = from._impl_.param_d_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.param_m_ = from._impl_.param_m_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_m_) + + sizeof(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_impl_.param_m_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_s_)>( + reinterpret_cast(&_impl_.param_s_), + reinterpret_cast(&other->_impl_.param_s_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[86]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* msg); + static void set_has_iteminfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEconItemPreviewDataBlock& +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_Internal::iteminfo(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* msg) { + return *msg->_impl_.iteminfo_; +} +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) +} +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_iteminfo()) { + _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) +} + +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr} + }; +} + +CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.iteminfo_; +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); + _impl_.iteminfo_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEconItemPreviewDataBlock iteminfo = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::iteminfo(this), + _Internal::iteminfo(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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + return target; +} + +size_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CEconItemPreviewDataBlock iteminfo = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.iteminfo_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::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:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_iteminfo()) { + _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( + from._internal_iteminfo()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.iteminfo_, other->_impl_.iteminfo_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[87]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::_Internal { + public: +}; + +CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) +} +CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[88]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::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:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) +} +CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.accountid_ = from._impl_.accountid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) +} + +inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.accountid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), 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:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 accountid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::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:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_accountid()) { + _this->_internal_set_accountid(from._internal_accountid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.accountid_, other->_impl_.accountid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[89]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::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:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) +} +CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.accountid_ = from._impl_.accountid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) +} + +inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::~CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.accountid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), 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:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 accountid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::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:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_accountid()) { + _this->_internal_set_accountid(from._internal_accountid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.accountid_, other->_impl_.accountid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[90]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::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:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) +} +CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchListRequestTournamentGames* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.eventid_ = from._impl_.eventid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) +} + +inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventid_){0} + }; +} + +CMsgGCCStrike15_v2_MatchListRequestTournamentGames::~CMsgGCCStrike15_v2_MatchListRequestTournamentGames() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.eventid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), 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:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 eventid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchListRequestTournamentGames::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestTournamentGames::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::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:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_eventid()) { + _this->_internal_set_eventid(from._internal_eventid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.eventid_, other->_impl_.eventid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestTournamentGames::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[91]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_matchid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_outcomeid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::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:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) +} +CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matchid_){} + , decltype(_impl_.outcomeid_){} + , decltype(_impl_.token_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.matchid_, &from._impl_.matchid_, + static_cast(reinterpret_cast(&_impl_.token_) - + reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.token_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) +} + +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matchid_){uint64_t{0u}} + , decltype(_impl_.outcomeid_){uint64_t{0u}} + , decltype(_impl_.token_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::~CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.matchid_, 0, static_cast( + reinterpret_cast(&_impl_.token_) - + reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.token_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 matchid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_matchid(&has_bits); + _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 outcomeid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_outcomeid(&has_bits); + _impl_.outcomeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 token = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_token(&has_bits); + _impl_.token_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 matchid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_matchid(), target); + } + + // optional uint64 outcomeid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_outcomeid(), target); + } + + // optional uint32 token = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_token(), 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:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 matchid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); + } + + // optional uint64 outcomeid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_outcomeid()); + } + + // optional uint32 token = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::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:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.matchid_ = from._impl_.matchid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.outcomeid_ = from._impl_.outcomeid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.token_ = from._impl_.token_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.token_) + + sizeof(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_impl_.token_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.matchid_)>( + reinterpret_cast(&_impl_.matchid_), + reinterpret_cast(&other->_impl_.matchid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[92]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_MatchInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_matchid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_matchtime(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::WatchableMatchInfo& watchablematchinfo(const CDataGCCStrike15_v2_MatchInfo* msg); + static void set_has_watchablematchinfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstats_legacy(const CDataGCCStrike15_v2_MatchInfo* msg); + static void set_has_roundstats_legacy(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::WatchableMatchInfo& +CDataGCCStrike15_v2_MatchInfo::_Internal::watchablematchinfo(const CDataGCCStrike15_v2_MatchInfo* msg) { + return *msg->_impl_.watchablematchinfo_; +} +const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& +CDataGCCStrike15_v2_MatchInfo::_Internal::roundstats_legacy(const CDataGCCStrike15_v2_MatchInfo* msg) { + return *msg->_impl_.roundstats_legacy_; +} +CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo(::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:CDataGCCStrike15_v2_MatchInfo) +} +CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo(const CDataGCCStrike15_v2_MatchInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_MatchInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.roundstatsall_){from._impl_.roundstatsall_} + , decltype(_impl_.watchablematchinfo_){nullptr} + , decltype(_impl_.roundstats_legacy_){nullptr} + , decltype(_impl_.matchid_){} + , decltype(_impl_.matchtime_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_watchablematchinfo()) { + _this->_impl_.watchablematchinfo_ = new ::WatchableMatchInfo(*from._impl_.watchablematchinfo_); + } + if (from._internal_has_roundstats_legacy()) { + _this->_impl_.roundstats_legacy_ = new ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(*from._impl_.roundstats_legacy_); + } + ::memcpy(&_impl_.matchid_, &from._impl_.matchid_, + static_cast(reinterpret_cast(&_impl_.matchtime_) - + reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.matchtime_)); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_MatchInfo) +} + +inline void CDataGCCStrike15_v2_MatchInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.roundstatsall_){arena} + , decltype(_impl_.watchablematchinfo_){nullptr} + , decltype(_impl_.roundstats_legacy_){nullptr} + , decltype(_impl_.matchid_){uint64_t{0u}} + , decltype(_impl_.matchtime_){0u} + }; +} + +CDataGCCStrike15_v2_MatchInfo::~CDataGCCStrike15_v2_MatchInfo() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_MatchInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_MatchInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.roundstatsall_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.watchablematchinfo_; + if (this != internal_default_instance()) delete _impl_.roundstats_legacy_; +} + +void CDataGCCStrike15_v2_MatchInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_MatchInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_MatchInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.roundstatsall_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.watchablematchinfo_ != nullptr); + _impl_.watchablematchinfo_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.roundstats_legacy_ != nullptr); + _impl_.roundstats_legacy_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.matchid_, 0, static_cast( + reinterpret_cast(&_impl_.matchtime_) - + reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.matchtime_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_MatchInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 matchid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_matchid(&has_bits); + _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 matchtime = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_matchtime(&has_bits); + _impl_.matchtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .WatchableMatchInfo watchablematchinfo = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_watchablematchinfo(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_roundstats_legacy(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_roundstatsall(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_MatchInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_MatchInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 matchid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_matchid(), target); + } + + // optional uint32 matchtime = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matchtime(), target); + } + + // optional .WatchableMatchInfo watchablematchinfo = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::watchablematchinfo(this), + _Internal::watchablematchinfo(this).GetCachedSize(), target, stream); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::roundstats_legacy(this), + _Internal::roundstats_legacy(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_roundstatsall_size()); i < n; i++) { + const auto& repfield = this->_internal_roundstatsall(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:CDataGCCStrike15_v2_MatchInfo) + return target; +} + +size_t CDataGCCStrike15_v2_MatchInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_MatchInfo) + 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 .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; + total_size += 1UL * this->_internal_roundstatsall_size(); + for (const auto& msg : this->_impl_.roundstatsall_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .WatchableMatchInfo watchablematchinfo = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.watchablematchinfo_); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.roundstats_legacy_); + } + + // optional uint64 matchid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); + } + + // optional uint32 matchtime = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matchtime()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_MatchInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_MatchInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_MatchInfo::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_MatchInfo::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:CDataGCCStrike15_v2_MatchInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.roundstatsall_.MergeFrom(from._impl_.roundstatsall_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_watchablematchinfo()->::WatchableMatchInfo::MergeFrom( + from._internal_watchablematchinfo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_roundstats_legacy()->::CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeFrom( + from._internal_roundstats_legacy()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.matchid_ = from._impl_.matchid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.matchtime_ = from._impl_.matchtime_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_MatchInfo::CopyFrom(const CDataGCCStrike15_v2_MatchInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_MatchInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_MatchInfo::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_MatchInfo::InternalSwap(CDataGCCStrike15_v2_MatchInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roundstatsall_.InternalSwap(&other->_impl_.roundstatsall_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_MatchInfo, _impl_.matchtime_) + + sizeof(CDataGCCStrike15_v2_MatchInfo::_impl_.matchtime_) + - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_MatchInfo, _impl_.watchablematchinfo_)>( + reinterpret_cast(&_impl_.watchablematchinfo_), + reinterpret_cast(&other->_impl_.watchablematchinfo_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_MatchInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[93]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentGroupTeam::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_score(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_correctpick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam(::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:CDataGCCStrike15_v2_TournamentGroupTeam) +} +CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam(const CDataGCCStrike15_v2_TournamentGroupTeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentGroupTeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_id_){} + , decltype(_impl_.score_){} + , decltype(_impl_.correctpick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.team_id_, &from._impl_.team_id_, + static_cast(reinterpret_cast(&_impl_.correctpick_) - + reinterpret_cast(&_impl_.team_id_)) + sizeof(_impl_.correctpick_)); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroupTeam) +} + +inline void CDataGCCStrike15_v2_TournamentGroupTeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_id_){0} + , decltype(_impl_.score_){0} + , decltype(_impl_.correctpick_){false} + }; +} + +CDataGCCStrike15_v2_TournamentGroupTeam::~CDataGCCStrike15_v2_TournamentGroupTeam() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroupTeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentGroupTeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CDataGCCStrike15_v2_TournamentGroupTeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentGroupTeam::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroupTeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.team_id_, 0, static_cast( + reinterpret_cast(&_impl_.correctpick_) - + reinterpret_cast(&_impl_.team_id_)) + sizeof(_impl_.correctpick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentGroupTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team_id(&has_bits); + _impl_.team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 score = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_score(&has_bits); + _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool correctpick = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_correctpick(&has_bits); + _impl_.correctpick_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentGroupTeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroupTeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_id(), target); + } + + // optional int32 score = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_score(), target); + } + + // optional bool correctpick = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_correctpick(), 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:CDataGCCStrike15_v2_TournamentGroupTeam) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentGroupTeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroupTeam) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 team_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id()); + } + + // optional int32 score = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score()); + } + + // optional bool correctpick = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroupTeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentGroupTeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroupTeam::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentGroupTeam::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:CDataGCCStrike15_v2_TournamentGroupTeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.team_id_ = from._impl_.team_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.score_ = from._impl_.score_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.correctpick_ = from._impl_.correctpick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentGroupTeam::CopyFrom(const CDataGCCStrike15_v2_TournamentGroupTeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroupTeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentGroupTeam::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentGroupTeam::InternalSwap(CDataGCCStrike15_v2_TournamentGroupTeam* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.correctpick_) + + sizeof(CDataGCCStrike15_v2_TournamentGroupTeam::_impl_.correctpick_) + - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.team_id_)>( + reinterpret_cast(&_impl_.team_id_), + reinterpret_cast(&other->_impl_.team_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroupTeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[94]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentGroup_Picks::_Internal { + public: +}; + +CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks(::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:CDataGCCStrike15_v2_TournamentGroup.Picks) +} +CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentGroup_Picks* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.pickids_){from._impl_.pickids_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroup.Picks) +} + +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.pickids_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CDataGCCStrike15_v2_TournamentGroup_Picks::~CDataGCCStrike15_v2_TournamentGroup_Picks() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroup.Picks) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.pickids_.~RepeatedField(); +} + +void CDataGCCStrike15_v2_TournamentGroup_Picks::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentGroup_Picks::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroup.Picks) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pickids_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentGroup_Picks::_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 int32 pickids = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_pickids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_pickids(), ptr, ctx); + 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* CDataGCCStrike15_v2_TournamentGroup_Picks::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroup.Picks) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int32 pickids = 1; + for (int i = 0, n = this->_internal_pickids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_pickids(i), 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:CDataGCCStrike15_v2_TournamentGroup.Picks) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentGroup_Picks::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroup.Picks) + 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 int32 pickids = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.pickids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_pickids_size()); + total_size += data_size; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroup_Picks::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentGroup_Picks::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroup_Picks::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentGroup_Picks::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:CDataGCCStrike15_v2_TournamentGroup.Picks) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.pickids_.MergeFrom(from._impl_.pickids_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentGroup_Picks::CopyFrom(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroup.Picks) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentGroup_Picks::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentGroup_Picks::InternalSwap(CDataGCCStrike15_v2_TournamentGroup_Picks* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.pickids_.InternalSwap(&other->_impl_.pickids_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroup_Picks::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[95]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentGroup::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_groupid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_desc(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_picks__deprecated(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_picklockuntiltime(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_pickableteams(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_points_per_pick(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup(::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:CDataGCCStrike15_v2_TournamentGroup) +} +CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup(const CDataGCCStrike15_v2_TournamentGroup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentGroup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teams_){from._impl_.teams_} + , decltype(_impl_.stage_ids_){from._impl_.stage_ids_} + , decltype(_impl_.picks_){from._impl_.picks_} + , decltype(_impl_.name_){} + , decltype(_impl_.desc_){} + , decltype(_impl_.groupid_){} + , decltype(_impl_.picks__deprecated_){} + , decltype(_impl_.picklockuntiltime_){} + , decltype(_impl_.pickableteams_){} + , decltype(_impl_.points_per_pick_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_desc()) { + _this->_impl_.desc_.Set(from._internal_desc(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.groupid_, &from._impl_.groupid_, + static_cast(reinterpret_cast(&_impl_.points_per_pick_) - + reinterpret_cast(&_impl_.groupid_)) + sizeof(_impl_.points_per_pick_)); + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroup) +} + +inline void CDataGCCStrike15_v2_TournamentGroup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teams_){arena} + , decltype(_impl_.stage_ids_){arena} + , decltype(_impl_.picks_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.desc_){} + , decltype(_impl_.groupid_){0u} + , decltype(_impl_.picks__deprecated_){0u} + , decltype(_impl_.picklockuntiltime_){0u} + , decltype(_impl_.pickableteams_){0u} + , decltype(_impl_.points_per_pick_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDataGCCStrike15_v2_TournamentGroup::~CDataGCCStrike15_v2_TournamentGroup() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentGroup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.teams_.~RepeatedPtrField(); + _impl_.stage_ids_.~RepeatedField(); + _impl_.picks_.~RepeatedPtrField(); + _impl_.name_.Destroy(); + _impl_.desc_.Destroy(); +} + +void CDataGCCStrike15_v2_TournamentGroup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentGroup::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.teams_.Clear(); + _impl_.stage_ids_.Clear(); + _impl_.picks_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.desc_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.groupid_, 0, static_cast( + reinterpret_cast(&_impl_.points_per_pick_) - + reinterpret_cast(&_impl_.groupid_)) + sizeof(_impl_.points_per_pick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentGroup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 groupid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_groupid(&has_bits); + _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentGroup.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string desc = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_desc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentGroup.desc"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 picks__deprecated = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_picks__deprecated(&has_bits); + _impl_.picks__deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_teams(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // repeated int32 stage_ids = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_stage_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_stage_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 picklockuntiltime = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_picklockuntiltime(&has_bits); + _impl_.picklockuntiltime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 pickableteams = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_pickableteams(&has_bits); + _impl_.pickableteams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 points_per_pick = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_points_per_pick(&has_bits); + _impl_.points_per_pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_picks(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentGroup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 groupid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_groupid(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDataGCCStrike15_v2_TournamentGroup.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional string desc = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_desc().data(), static_cast(this->_internal_desc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDataGCCStrike15_v2_TournamentGroup.desc"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_desc(), target); + } + + // optional uint32 picks__deprecated = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_picks__deprecated(), target); + } + + // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_teams_size()); i < n; i++) { + const auto& repfield = this->_internal_teams(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated int32 stage_ids = 6; + for (int i = 0, n = this->_internal_stage_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_stage_ids(i), target); + } + + // optional uint32 picklockuntiltime = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_picklockuntiltime(), target); + } + + // optional uint32 pickableteams = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_pickableteams(), target); + } + + // optional uint32 points_per_pick = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_points_per_pick(), target); + } + + // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; + for (unsigned i = 0, + n = static_cast(this->_internal_picks_size()); i < n; i++) { + const auto& repfield = this->_internal_picks(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, 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:CDataGCCStrike15_v2_TournamentGroup) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentGroup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroup) + 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 .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; + total_size += 1UL * this->_internal_teams_size(); + for (const auto& msg : this->_impl_.teams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated int32 stage_ids = 6; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.stage_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_stage_ids_size()); + total_size += data_size; + } + + // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; + total_size += 1UL * this->_internal_picks_size(); + for (const auto& msg : this->_impl_.picks_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string desc = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_desc()); + } + + // optional uint32 groupid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); + } + + // optional uint32 picks__deprecated = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_picks__deprecated()); + } + + // optional uint32 picklockuntiltime = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_picklockuntiltime()); + } + + // optional uint32 pickableteams = 8; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pickableteams()); + } + + // optional uint32 points_per_pick = 9; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_per_pick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentGroup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroup::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentGroup::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:CDataGCCStrike15_v2_TournamentGroup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.teams_.MergeFrom(from._impl_.teams_); + _this->_impl_.stage_ids_.MergeFrom(from._impl_.stage_ids_); + _this->_impl_.picks_.MergeFrom(from._impl_.picks_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_desc(from._internal_desc()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.groupid_ = from._impl_.groupid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.picks__deprecated_ = from._impl_.picks__deprecated_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.picklockuntiltime_ = from._impl_.picklockuntiltime_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.pickableteams_ = from._impl_.pickableteams_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.points_per_pick_ = from._impl_.points_per_pick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentGroup::CopyFrom(const CDataGCCStrike15_v2_TournamentGroup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentGroup::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentGroup::InternalSwap(CDataGCCStrike15_v2_TournamentGroup* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.teams_.InternalSwap(&other->_impl_.teams_); + _impl_.stage_ids_.InternalSwap(&other->_impl_.stage_ids_); + _impl_.picks_.InternalSwap(&other->_impl_.picks_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.desc_, lhs_arena, + &other->_impl_.desc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroup, _impl_.points_per_pick_) + + sizeof(CDataGCCStrike15_v2_TournamentGroup::_impl_.points_per_pick_) + - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroup, _impl_.groupid_)>( + reinterpret_cast(&_impl_.groupid_), + reinterpret_cast(&other->_impl_.groupid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[96]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentSection::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sectionid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_desc(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection(::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:CDataGCCStrike15_v2_TournamentSection) +} +CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection(const CDataGCCStrike15_v2_TournamentSection& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentSection* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.groups_){from._impl_.groups_} + , decltype(_impl_.name_){} + , decltype(_impl_.desc_){} + , decltype(_impl_.sectionid_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_desc()) { + _this->_impl_.desc_.Set(from._internal_desc(), + _this->GetArenaForAllocation()); + } + _this->_impl_.sectionid_ = from._impl_.sectionid_; + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentSection) +} + +inline void CDataGCCStrike15_v2_TournamentSection::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.groups_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.desc_){} + , decltype(_impl_.sectionid_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.desc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDataGCCStrike15_v2_TournamentSection::~CDataGCCStrike15_v2_TournamentSection() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentSection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentSection::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.groups_.~RepeatedPtrField(); + _impl_.name_.Destroy(); + _impl_.desc_.Destroy(); +} + +void CDataGCCStrike15_v2_TournamentSection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentSection::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentSection) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.groups_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.desc_.ClearNonDefaultToEmpty(); + } + } + _impl_.sectionid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentSection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 sectionid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sectionid(&has_bits); + _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentSection.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string desc = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_desc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentSection.desc"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_groups(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentSection::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentSection) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 sectionid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sectionid(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDataGCCStrike15_v2_TournamentSection.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional string desc = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_desc().data(), static_cast(this->_internal_desc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDataGCCStrike15_v2_TournamentSection.desc"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_desc(), target); + } + + // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_groups_size()); i < n; i++) { + const auto& repfield = this->_internal_groups(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:CDataGCCStrike15_v2_TournamentSection) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentSection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentSection) + 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 .CDataGCCStrike15_v2_TournamentGroup groups = 4; + total_size += 1UL * this->_internal_groups_size(); + for (const auto& msg : this->_impl_.groups_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string desc = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_desc()); + } + + // optional uint32 sectionid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sectionid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentSection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentSection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentSection::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentSection::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:CDataGCCStrike15_v2_TournamentSection) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.groups_.MergeFrom(from._impl_.groups_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_desc(from._internal_desc()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sectionid_ = from._impl_.sectionid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentSection::CopyFrom(const CDataGCCStrike15_v2_TournamentSection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentSection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentSection::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentSection::InternalSwap(CDataGCCStrike15_v2_TournamentSection* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.groups_.InternalSwap(&other->_impl_.groups_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.desc_, lhs_arena, + &other->_impl_.desc_, rhs_arena + ); + swap(_impl_.sectionid_, other->_impl_.sectionid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentSection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[97]); +} + +// =================================================================== + +class CDataGCCStrike15_v2_TournamentInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::TournamentEvent& tournament_event(const CDataGCCStrike15_v2_TournamentInfo* msg); + static void set_has_tournament_event(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::TournamentEvent& +CDataGCCStrike15_v2_TournamentInfo::_Internal::tournament_event(const CDataGCCStrike15_v2_TournamentInfo* msg) { + return *msg->_impl_.tournament_event_; +} +CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo(::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:CDataGCCStrike15_v2_TournamentInfo) +} +CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo(const CDataGCCStrike15_v2_TournamentInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDataGCCStrike15_v2_TournamentInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sections_){from._impl_.sections_} + , decltype(_impl_.tournament_teams_){from._impl_.tournament_teams_} + , decltype(_impl_.tournament_event_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_tournament_event()) { + _this->_impl_.tournament_event_ = new ::TournamentEvent(*from._impl_.tournament_event_); + } + // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentInfo) +} + +inline void CDataGCCStrike15_v2_TournamentInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sections_){arena} + , decltype(_impl_.tournament_teams_){arena} + , decltype(_impl_.tournament_event_){nullptr} + }; +} + +CDataGCCStrike15_v2_TournamentInfo::~CDataGCCStrike15_v2_TournamentInfo() { + // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDataGCCStrike15_v2_TournamentInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sections_.~RepeatedPtrField(); + _impl_.tournament_teams_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.tournament_event_; +} + +void CDataGCCStrike15_v2_TournamentInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDataGCCStrike15_v2_TournamentInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.sections_.Clear(); + _impl_.tournament_teams_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.tournament_event_ != nullptr); + _impl_.tournament_event_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDataGCCStrike15_v2_TournamentInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_sections(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional .TournamentEvent tournament_event = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_tournament_event(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .TournamentTeam tournament_teams = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tournament_teams(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDataGCCStrike15_v2_TournamentInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_sections_size()); i < n; i++) { + const auto& repfield = this->_internal_sections(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional .TournamentEvent tournament_event = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::tournament_event(this), + _Internal::tournament_event(this).GetCachedSize(), target, stream); + } + + // repeated .TournamentTeam tournament_teams = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_tournament_teams_size()); i < n; i++) { + const auto& repfield = this->_internal_tournament_teams(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:CDataGCCStrike15_v2_TournamentInfo) + return target; +} + +size_t CDataGCCStrike15_v2_TournamentInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentInfo) + 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 .CDataGCCStrike15_v2_TournamentSection sections = 1; + total_size += 1UL * this->_internal_sections_size(); + for (const auto& msg : this->_impl_.sections_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .TournamentTeam tournament_teams = 3; + total_size += 1UL * this->_internal_tournament_teams_size(); + for (const auto& msg : this->_impl_.tournament_teams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional .TournamentEvent tournament_event = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tournament_event_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDataGCCStrike15_v2_TournamentInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentInfo::GetClassData() const { return &_class_data_; } + + +void CDataGCCStrike15_v2_TournamentInfo::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:CDataGCCStrike15_v2_TournamentInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.sections_.MergeFrom(from._impl_.sections_); + _this->_impl_.tournament_teams_.MergeFrom(from._impl_.tournament_teams_); + if (from._internal_has_tournament_event()) { + _this->_internal_mutable_tournament_event()->::TournamentEvent::MergeFrom( + from._internal_tournament_event()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDataGCCStrike15_v2_TournamentInfo::CopyFrom(const CDataGCCStrike15_v2_TournamentInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDataGCCStrike15_v2_TournamentInfo::IsInitialized() const { + return true; +} + +void CDataGCCStrike15_v2_TournamentInfo::InternalSwap(CDataGCCStrike15_v2_TournamentInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.sections_.InternalSwap(&other->_impl_.sections_); + _impl_.tournament_teams_.InternalSwap(&other->_impl_.tournament_teams_); + swap(_impl_.tournament_event_, other->_impl_.tournament_event_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[98]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchList::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msgrequestid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_servertime(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CDataGCCStrike15_v2_TournamentInfo& tournamentinfo(const CMsgGCCStrike15_v2_MatchList* msg); + static void set_has_tournamentinfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CDataGCCStrike15_v2_TournamentInfo& +CMsgGCCStrike15_v2_MatchList::_Internal::tournamentinfo(const CMsgGCCStrike15_v2_MatchList* msg) { + return *msg->_impl_.tournamentinfo_; +} +CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList(::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:CMsgGCCStrike15_v2_MatchList) +} +CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList(const CMsgGCCStrike15_v2_MatchList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){from._impl_.matches_} + , decltype(_impl_.streams_){from._impl_.streams_} + , decltype(_impl_.tournamentinfo_){nullptr} + , decltype(_impl_.msgrequestid_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.servertime_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_tournamentinfo()) { + _this->_impl_.tournamentinfo_ = new ::CDataGCCStrike15_v2_TournamentInfo(*from._impl_.tournamentinfo_); + } + ::memcpy(&_impl_.msgrequestid_, &from._impl_.msgrequestid_, + static_cast(reinterpret_cast(&_impl_.servertime_) - + reinterpret_cast(&_impl_.msgrequestid_)) + sizeof(_impl_.servertime_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchList) +} + +inline void CMsgGCCStrike15_v2_MatchList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){arena} + , decltype(_impl_.streams_){arena} + , decltype(_impl_.tournamentinfo_){nullptr} + , decltype(_impl_.msgrequestid_){0u} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.servertime_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchList::~CMsgGCCStrike15_v2_MatchList() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.matches_.~RepeatedPtrField(); + _impl_.streams_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.tournamentinfo_; +} + +void CMsgGCCStrike15_v2_MatchList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchList::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.matches_.Clear(); + _impl_.streams_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.tournamentinfo_ != nullptr); + _impl_.tournamentinfo_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.msgrequestid_, 0, static_cast( + reinterpret_cast(&_impl_.servertime_) - + reinterpret_cast(&_impl_.msgrequestid_)) + sizeof(_impl_.servertime_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 msgrequestid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msgrequestid(&has_bits); + _impl_.msgrequestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 accountid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 servertime = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_servertime(&has_bits); + _impl_.servertime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_matches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .TournamentTeam streams = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_streams(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_tournamentinfo(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 msgrequestid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgrequestid(), target); + } + + // optional uint32 accountid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_accountid(), target); + } + + // optional uint32 servertime = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_servertime(), target); + } + + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_matches_size()); i < n; i++) { + const auto& repfield = this->_internal_matches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .TournamentTeam streams = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_streams_size()); i < n; i++) { + const auto& repfield = this->_internal_streams(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::tournamentinfo(this), + _Internal::tournamentinfo(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:CMsgGCCStrike15_v2_MatchList) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchList) + 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 .CDataGCCStrike15_v2_MatchInfo matches = 4; + total_size += 1UL * this->_internal_matches_size(); + for (const auto& msg : this->_impl_.matches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .TournamentTeam streams = 5; + total_size += 1UL * this->_internal_streams_size(); + for (const auto& msg : this->_impl_.streams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tournamentinfo_); + } + + // optional uint32 msgrequestid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgrequestid()); + } + + // optional uint32 accountid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 servertime = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchList::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchList::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:CMsgGCCStrike15_v2_MatchList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.matches_.MergeFrom(from._impl_.matches_); + _this->_impl_.streams_.MergeFrom(from._impl_.streams_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_tournamentinfo()->::CDataGCCStrike15_v2_TournamentInfo::MergeFrom( + from._internal_tournamentinfo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msgrequestid_ = from._impl_.msgrequestid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.servertime_ = from._impl_.servertime_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchList::CopyFrom(const CMsgGCCStrike15_v2_MatchList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchList::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchList::InternalSwap(CMsgGCCStrike15_v2_MatchList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.matches_.InternalSwap(&other->_impl_.matches_); + _impl_.streams_.InternalSwap(&other->_impl_.streams_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchList, _impl_.servertime_) + + sizeof(CMsgGCCStrike15_v2_MatchList::_impl_.servertime_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchList, _impl_.tournamentinfo_)>( + reinterpret_cast(&_impl_.tournamentinfo_), + reinterpret_cast(&other->_impl_.tournamentinfo_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[99]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::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:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) +} +CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){from._impl_.matches_} + , decltype(_impl_.eventid_){} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, + static_cast(reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.accountid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) +} + +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.matches_){arena} + , decltype(_impl_.eventid_){0} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.matches_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.matches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.eventid_, 0, static_cast( + reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.accountid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_matches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 accountid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); + } + + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_matches_size()); i < n; i++) { + const auto& repfield = this->_internal_matches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 accountid = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_accountid(), 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:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + 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 .CDataGCCStrike15_v2_MatchInfo matches = 2; + total_size += 1UL * this->_internal_matches_size(); + for (const auto& msg : this->_impl_.matches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + // optional uint32 accountid = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::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:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.matches_.MergeFrom(from._impl_.matches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CopyFrom(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::InternalSwap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.matches_.InternalSwap(&other->_impl_.matches_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.accountid_) + + sizeof(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_impl_.accountid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.eventid_)>( + reinterpret_cast(&_impl_.eventid_), + reinterpret_cast(&other->_impl_.eventid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[100]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sectionid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_groupid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_teamid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::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:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) +} +CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sectionid_){} + , decltype(_impl_.groupid_){} + , decltype(_impl_.index_){} + , decltype(_impl_.teamid_){} + , decltype(_impl_.itemid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.sectionid_, &from._impl_.sectionid_, + static_cast(reinterpret_cast(&_impl_.itemid_) - + reinterpret_cast(&_impl_.sectionid_)) + sizeof(_impl_.itemid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) +} + +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sectionid_){0} + , decltype(_impl_.groupid_){0} + , decltype(_impl_.index_){0} + , decltype(_impl_.teamid_){0} + , decltype(_impl_.itemid_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.sectionid_, 0, static_cast( + reinterpret_cast(&_impl_.itemid_) - + reinterpret_cast(&_impl_.sectionid_)) + sizeof(_impl_.itemid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 sectionid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sectionid(&has_bits); + _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 groupid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_groupid(&has_bits); + _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 teamid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_teamid(&has_bits); + _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 itemid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 sectionid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sectionid(), target); + } + + // optional int32 groupid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_groupid(), target); + } + + // optional int32 index = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_index(), target); + } + + // optional int32 teamid = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_teamid(), target); + } + + // optional uint64 itemid = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_itemid(), 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:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + return target; +} + +size_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 sectionid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sectionid()); + } + + // optional int32 groupid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_groupid()); + } + + // optional int32 index = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 teamid = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamid()); + } + + // optional uint64 itemid = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::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:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.sectionid_ = from._impl_.sectionid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.groupid_ = from._impl_.groupid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.teamid_ = from._impl_.teamid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CopyFrom(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::InternalSwap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.itemid_) + + sizeof(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_impl_.itemid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.sectionid_)>( + reinterpret_cast(&_impl_.sectionid_), + reinterpret_cast(&other->_impl_.sectionid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[101]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Predictions::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions(::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:CMsgGCCStrike15_v2_Predictions) +} +CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions(const CMsgGCCStrike15_v2_Predictions& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Predictions* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_match_team_picks_){from._impl_.group_match_team_picks_} + , decltype(_impl_.event_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.event_id_ = from._impl_.event_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Predictions) +} + +inline void CMsgGCCStrike15_v2_Predictions::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_match_team_picks_){arena} + , decltype(_impl_.event_id_){0u} + }; +} + +CMsgGCCStrike15_v2_Predictions::~CMsgGCCStrike15_v2_Predictions() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Predictions) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Predictions::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.group_match_team_picks_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Predictions::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Predictions::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Predictions) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.group_match_team_picks_.Clear(); + _impl_.event_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Predictions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_group_match_team_picks(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Predictions::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Predictions) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); + } + + // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_group_match_team_picks_size()); i < n; i++) { + const auto& repfield = this->_internal_group_match_team_picks(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:CMsgGCCStrike15_v2_Predictions) + return target; +} + +size_t CMsgGCCStrike15_v2_Predictions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Predictions) + 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 .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; + total_size += 1UL * this->_internal_group_match_team_picks_size(); + for (const auto& msg : this->_impl_.group_match_team_picks_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 event_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Predictions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Predictions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Predictions::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Predictions::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:CMsgGCCStrike15_v2_Predictions) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.group_match_team_picks_.MergeFrom(from._impl_.group_match_team_picks_); + if (from._internal_has_event_id()) { + _this->_internal_set_event_id(from._internal_event_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Predictions::CopyFrom(const CMsgGCCStrike15_v2_Predictions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Predictions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Predictions::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Predictions::InternalSwap(CMsgGCCStrike15_v2_Predictions* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.group_match_team_picks_.InternalSwap(&other->_impl_.group_match_team_picks_); + swap(_impl_.event_id_, other->_impl_.event_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Predictions::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[102]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Fantasy_FantasySlot::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot(::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:CMsgGCCStrike15_v2_Fantasy.FantasySlot) +} +CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Fantasy_FantasySlot* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.pick_){} + , decltype(_impl_.itemid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.itemid_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.itemid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy.FantasySlot) +} + +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){0} + , decltype(_impl_.pick_){0} + , decltype(_impl_.itemid_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_Fantasy_FantasySlot::~CMsgGCCStrike15_v2_Fantasy_FantasySlot() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasySlot::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.itemid_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.itemid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Fantasy_FantasySlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 pick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_pick(&has_bits); + _impl_.pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 itemid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Fantasy_FantasySlot::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional int32 pick = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pick(), target); + } + + // optional uint64 itemid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_itemid(), 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:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + return target; +} + +size_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional int32 pick = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pick()); + } + + // optional uint64 itemid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy_FantasySlot::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Fantasy_FantasySlot::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy_FantasySlot::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Fantasy_FantasySlot::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:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pick_ = from._impl_.pick_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasySlot::CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Fantasy_FantasySlot::InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.itemid_) + + sizeof(CMsgGCCStrike15_v2_Fantasy_FantasySlot::_impl_.itemid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy_FantasySlot::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[103]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sectionid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::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:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) +} +CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Fantasy_FantasyTeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slots_){from._impl_.slots_} + , decltype(_impl_.sectionid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.sectionid_ = from._impl_.sectionid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) +} + +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slots_){arena} + , decltype(_impl_.sectionid_){0} + }; +} + +CMsgGCCStrike15_v2_Fantasy_FantasyTeam::~CMsgGCCStrike15_v2_Fantasy_FantasyTeam() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.slots_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.slots_.Clear(); + _impl_.sectionid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 sectionid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sectionid(&has_bits); + _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_slots(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 sectionid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sectionid(), target); + } + + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_slots_size()); i < n; i++) { + const auto& repfield = this->_internal_slots(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:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + return target; +} + +size_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + 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 .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; + total_size += 1UL * this->_internal_slots_size(); + for (const auto& msg : this->_impl_.slots_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional int32 sectionid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sectionid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Fantasy_FantasyTeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy_FantasyTeam::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::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:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.slots_.MergeFrom(from._impl_.slots_); + if (from._internal_has_sectionid()) { + _this->_internal_set_sectionid(from._internal_sectionid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slots_.InternalSwap(&other->_impl_.slots_); + swap(_impl_.sectionid_, other->_impl_.sectionid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy_FantasyTeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[104]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Fantasy::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy(::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:CMsgGCCStrike15_v2_Fantasy) +} +CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy(const CMsgGCCStrike15_v2_Fantasy& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Fantasy* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teams_){from._impl_.teams_} + , decltype(_impl_.event_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.event_id_ = from._impl_.event_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy) +} + +inline void CMsgGCCStrike15_v2_Fantasy::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teams_){arena} + , decltype(_impl_.event_id_){0u} + }; +} + +CMsgGCCStrike15_v2_Fantasy::~CMsgGCCStrike15_v2_Fantasy() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Fantasy::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.teams_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Fantasy::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Fantasy::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.teams_.Clear(); + _impl_.event_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Fantasy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_teams(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Fantasy::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 event_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); + } + + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_teams_size()); i < n; i++) { + const auto& repfield = this->_internal_teams(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:CMsgGCCStrike15_v2_Fantasy) + return target; +} + +size_t CMsgGCCStrike15_v2_Fantasy::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy) + 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 .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; + total_size += 1UL * this->_internal_teams_size(); + for (const auto& msg : this->_impl_.teams_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 event_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Fantasy::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Fantasy::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:CMsgGCCStrike15_v2_Fantasy) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.teams_.MergeFrom(from._impl_.teams_); + if (from._internal_has_event_id()) { + _this->_internal_set_event_id(from._internal_event_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Fantasy::CopyFrom(const CMsgGCCStrike15_v2_Fantasy& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Fantasy::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Fantasy::InternalSwap(CMsgGCCStrike15_v2_Fantasy* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.teams_.InternalSwap(&other->_impl_.teams_); + swap(_impl_.event_id_, other->_impl_.event_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[105]); +} + +// =================================================================== + +class CAttribute_String::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CAttribute_String::CAttribute_String(::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:CAttribute_String) +} +CAttribute_String::CAttribute_String(const CAttribute_String& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CAttribute_String* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CAttribute_String) +} + +inline void CAttribute_String::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){} + }; + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CAttribute_String::~CAttribute_String() { + // @@protoc_insertion_point(destructor:CAttribute_String) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CAttribute_String::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.value_.Destroy(); +} + +void CAttribute_String::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CAttribute_String::Clear() { +// @@protoc_insertion_point(message_clear_start:CAttribute_String) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CAttribute_String::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string value = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CAttribute_String.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CAttribute_String::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CAttribute_String) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string value = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CAttribute_String.value"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_value(), 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:CAttribute_String) + return target; +} + +size_t CAttribute_String::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CAttribute_String) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string value = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CAttribute_String::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CAttribute_String::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CAttribute_String::GetClassData() const { return &_class_data_; } + + +void CAttribute_String::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:CAttribute_String) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_value()) { + _this->_internal_set_value(from._internal_value()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CAttribute_String::CopyFrom(const CAttribute_String& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CAttribute_String) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CAttribute_String::IsInitialized() const { + return true; +} + +void CAttribute_String::InternalSwap(CAttribute_String* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CAttribute_String::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[106]); +} + +// =================================================================== + +class CMsgLegacySource1ClientWelcome_Location::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_latitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_longitude(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_country(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location(::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:CMsgLegacySource1ClientWelcome.Location) +} +CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location(const CMsgLegacySource1ClientWelcome_Location& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgLegacySource1ClientWelcome_Location* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_){} + , decltype(_impl_.latitude_){} + , decltype(_impl_.longitude_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_country()) { + _this->_impl_.country_.Set(from._internal_country(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.latitude_, &from._impl_.latitude_, + static_cast(reinterpret_cast(&_impl_.longitude_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); + // @@protoc_insertion_point(copy_constructor:CMsgLegacySource1ClientWelcome.Location) +} + +inline void CMsgLegacySource1ClientWelcome_Location::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_){} + , decltype(_impl_.latitude_){0} + , decltype(_impl_.longitude_){0} + }; + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgLegacySource1ClientWelcome_Location::~CMsgLegacySource1ClientWelcome_Location() { + // @@protoc_insertion_point(destructor:CMsgLegacySource1ClientWelcome.Location) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgLegacySource1ClientWelcome_Location::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.country_.Destroy(); +} + +void CMsgLegacySource1ClientWelcome_Location::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgLegacySource1ClientWelcome_Location::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgLegacySource1ClientWelcome.Location) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.country_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.latitude_, 0, static_cast( + reinterpret_cast(&_impl_.longitude_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgLegacySource1ClientWelcome_Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float latitude = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_latitude(&has_bits); + _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float longitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_longitude(&has_bits); + _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string country = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_country(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.Location.country"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgLegacySource1ClientWelcome_Location::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgLegacySource1ClientWelcome.Location) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float latitude = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_latitude(), target); + } + + // optional float longitude = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_longitude(), target); + } + + // optional string country = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_country().data(), static_cast(this->_internal_country().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgLegacySource1ClientWelcome.Location.country"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_country(), 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:CMsgLegacySource1ClientWelcome.Location) + return target; +} + +size_t CMsgLegacySource1ClientWelcome_Location::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgLegacySource1ClientWelcome.Location) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string country = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_country()); + } + + // optional float latitude = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float longitude = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLegacySource1ClientWelcome_Location::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgLegacySource1ClientWelcome_Location::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLegacySource1ClientWelcome_Location::GetClassData() const { return &_class_data_; } + + +void CMsgLegacySource1ClientWelcome_Location::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:CMsgLegacySource1ClientWelcome.Location) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_country(from._internal_country()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.latitude_ = from._impl_.latitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.longitude_ = from._impl_.longitude_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgLegacySource1ClientWelcome_Location::CopyFrom(const CMsgLegacySource1ClientWelcome_Location& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLegacySource1ClientWelcome.Location) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgLegacySource1ClientWelcome_Location::IsInitialized() const { + return true; +} + +void CMsgLegacySource1ClientWelcome_Location::InternalSwap(CMsgLegacySource1ClientWelcome_Location* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.country_, lhs_arena, + &other->_impl_.country_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome_Location, _impl_.longitude_) + + sizeof(CMsgLegacySource1ClientWelcome_Location::_impl_.longitude_) + - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome_Location, _impl_.latitude_)>( + reinterpret_cast(&_impl_.latitude_), + reinterpret_cast(&other->_impl_.latitude_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgLegacySource1ClientWelcome_Location::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[107]); +} + +// =================================================================== + +class CMsgLegacySource1ClientWelcome::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_game_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgLegacySource1ClientWelcome_Location& location(const CMsgLegacySource1ClientWelcome* msg); + static void set_has_location(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_game_data2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rtime32_gc_welcome_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_currency(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_balance(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_balance_url(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_txn_country_code(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgLegacySource1ClientWelcome_Location& +CMsgLegacySource1ClientWelcome::_Internal::location(const CMsgLegacySource1ClientWelcome* msg) { + return *msg->_impl_.location_; +} +void CMsgLegacySource1ClientWelcome::clear_outofdate_subscribed_caches() { + _impl_.outofdate_subscribed_caches_.Clear(); +} +void CMsgLegacySource1ClientWelcome::clear_uptodate_subscribed_caches() { + _impl_.uptodate_subscribed_caches_.Clear(); +} +CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome(::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:CMsgLegacySource1ClientWelcome) +} +CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome(const CMsgLegacySource1ClientWelcome& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgLegacySource1ClientWelcome* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.outofdate_subscribed_caches_){from._impl_.outofdate_subscribed_caches_} + , decltype(_impl_.uptodate_subscribed_caches_){from._impl_.uptodate_subscribed_caches_} + , decltype(_impl_.game_data_){} + , decltype(_impl_.game_data2_){} + , decltype(_impl_.balance_url_){} + , decltype(_impl_.txn_country_code_){} + , decltype(_impl_.location_){nullptr} + , decltype(_impl_.version_){} + , decltype(_impl_.rtime32_gc_welcome_timestamp_){} + , decltype(_impl_.currency_){} + , decltype(_impl_.balance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_data()) { + _this->_impl_.game_data_.Set(from._internal_game_data(), + _this->GetArenaForAllocation()); + } + _impl_.game_data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_data2()) { + _this->_impl_.game_data2_.Set(from._internal_game_data2(), + _this->GetArenaForAllocation()); + } + _impl_.balance_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_balance_url()) { + _this->_impl_.balance_url_.Set(from._internal_balance_url(), + _this->GetArenaForAllocation()); + } + _impl_.txn_country_code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_txn_country_code()) { + _this->_impl_.txn_country_code_.Set(from._internal_txn_country_code(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_location()) { + _this->_impl_.location_ = new ::CMsgLegacySource1ClientWelcome_Location(*from._impl_.location_); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.balance_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.balance_)); + // @@protoc_insertion_point(copy_constructor:CMsgLegacySource1ClientWelcome) +} + +inline void CMsgLegacySource1ClientWelcome::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.outofdate_subscribed_caches_){arena} + , decltype(_impl_.uptodate_subscribed_caches_){arena} + , decltype(_impl_.game_data_){} + , decltype(_impl_.game_data2_){} + , decltype(_impl_.balance_url_){} + , decltype(_impl_.txn_country_code_){} + , decltype(_impl_.location_){nullptr} + , decltype(_impl_.version_){0u} + , decltype(_impl_.rtime32_gc_welcome_timestamp_){0u} + , decltype(_impl_.currency_){0u} + , decltype(_impl_.balance_){0u} + }; + _impl_.game_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgLegacySource1ClientWelcome::~CMsgLegacySource1ClientWelcome() { + // @@protoc_insertion_point(destructor:CMsgLegacySource1ClientWelcome) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgLegacySource1ClientWelcome::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.outofdate_subscribed_caches_.~RepeatedPtrField(); + _impl_.uptodate_subscribed_caches_.~RepeatedPtrField(); + _impl_.game_data_.Destroy(); + _impl_.game_data2_.Destroy(); + _impl_.balance_url_.Destroy(); + _impl_.txn_country_code_.Destroy(); + if (this != internal_default_instance()) delete _impl_.location_; +} + +void CMsgLegacySource1ClientWelcome::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgLegacySource1ClientWelcome::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgLegacySource1ClientWelcome) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.outofdate_subscribed_caches_.Clear(); + _impl_.uptodate_subscribed_caches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.game_data2_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.balance_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.txn_country_code_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.location_ != nullptr); + _impl_.location_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.currency_)); + } + _impl_.balance_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgLegacySource1ClientWelcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes game_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_game_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_outofdate_subscribed_caches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_uptodate_subscribed_caches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional .CMsgLegacySource1ClientWelcome.Location location = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_location(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes game_data2 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_game_data2(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rtime32_gc_welcome_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_rtime32_gc_welcome_timestamp(&has_bits); + _impl_.rtime32_gc_welcome_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 currency = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_currency(&has_bits); + _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 balance = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_balance(&has_bits); + _impl_.balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string balance_url = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_balance_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.balance_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string txn_country_code = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_txn_country_code(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.txn_country_code"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgLegacySource1ClientWelcome::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgLegacySource1ClientWelcome) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // optional bytes game_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_game_data(), target); + } + + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_outofdate_subscribed_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_outofdate_subscribed_caches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_uptodate_subscribed_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_uptodate_subscribed_caches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .CMsgLegacySource1ClientWelcome.Location location = 5; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::location(this), + _Internal::location(this).GetCachedSize(), target, stream); + } + + // optional bytes game_data2 = 6; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_game_data2(), target); + } + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rtime32_gc_welcome_timestamp(), target); + } + + // optional uint32 currency = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_currency(), target); + } + + // optional uint32 balance = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_balance(), target); + } + + // optional string balance_url = 10; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_balance_url().data(), static_cast(this->_internal_balance_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgLegacySource1ClientWelcome.balance_url"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_balance_url(), target); + } + + // optional string txn_country_code = 11; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_txn_country_code().data(), static_cast(this->_internal_txn_country_code().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgLegacySource1ClientWelcome.txn_country_code"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_txn_country_code(), 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:CMsgLegacySource1ClientWelcome) + return target; +} + +size_t CMsgLegacySource1ClientWelcome::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgLegacySource1ClientWelcome) + 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 .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + total_size += 1UL * this->_internal_outofdate_subscribed_caches_size(); + for (const auto& msg : this->_impl_.outofdate_subscribed_caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + total_size += 1UL * this->_internal_uptodate_subscribed_caches_size(); + for (const auto& msg : this->_impl_.uptodate_subscribed_caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes game_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_game_data()); + } + + // optional bytes game_data2 = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_game_data2()); + } + + // optional string balance_url = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_balance_url()); + } + + // optional string txn_country_code = 11; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_txn_country_code()); + } + + // optional .CMsgLegacySource1ClientWelcome.Location location = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.location_); + } + + // optional uint32 version = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_gc_welcome_timestamp()); + } + + // optional uint32 currency = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currency()); + } + + } + // optional uint32 balance = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_balance()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLegacySource1ClientWelcome::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgLegacySource1ClientWelcome::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLegacySource1ClientWelcome::GetClassData() const { return &_class_data_; } + + +void CMsgLegacySource1ClientWelcome::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:CMsgLegacySource1ClientWelcome) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.outofdate_subscribed_caches_.MergeFrom(from._impl_.outofdate_subscribed_caches_); + _this->_impl_.uptodate_subscribed_caches_.MergeFrom(from._impl_.uptodate_subscribed_caches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_data(from._internal_game_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_game_data2(from._internal_game_data2()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_balance_url(from._internal_balance_url()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_txn_country_code(from._internal_txn_country_code()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_location()->::CMsgLegacySource1ClientWelcome_Location::MergeFrom( + from._internal_location()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.rtime32_gc_welcome_timestamp_ = from._impl_.rtime32_gc_welcome_timestamp_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.currency_ = from._impl_.currency_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_balance(from._internal_balance()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgLegacySource1ClientWelcome::CopyFrom(const CMsgLegacySource1ClientWelcome& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLegacySource1ClientWelcome) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgLegacySource1ClientWelcome::IsInitialized() const { + return true; +} + +void CMsgLegacySource1ClientWelcome::InternalSwap(CMsgLegacySource1ClientWelcome* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.outofdate_subscribed_caches_.InternalSwap(&other->_impl_.outofdate_subscribed_caches_); + _impl_.uptodate_subscribed_caches_.InternalSwap(&other->_impl_.uptodate_subscribed_caches_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_data_, lhs_arena, + &other->_impl_.game_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_data2_, lhs_arena, + &other->_impl_.game_data2_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.balance_url_, lhs_arena, + &other->_impl_.balance_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.txn_country_code_, lhs_arena, + &other->_impl_.txn_country_code_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome, _impl_.balance_) + + sizeof(CMsgLegacySource1ClientWelcome::_impl_.balance_) + - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome, _impl_.location_)>( + reinterpret_cast(&_impl_.location_), + reinterpret_cast(&other->_impl_.location_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgLegacySource1ClientWelcome::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[108]); +} + +// =================================================================== + +class CMsgCStrike15Welcome::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_store_item_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_timeplayedconsecutively(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_time_first_played(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_last_time_played(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_last_ip_address(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_gscookieid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_uniqueid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CMsgCStrike15Welcome::CMsgCStrike15Welcome(::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:CMsgCStrike15Welcome) +} +CMsgCStrike15Welcome::CMsgCStrike15Welcome(const CMsgCStrike15Welcome& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgCStrike15Welcome* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.store_item_hash_){} + , decltype(_impl_.timeplayedconsecutively_){} + , decltype(_impl_.time_first_played_){} + , decltype(_impl_.last_time_played_){} + , decltype(_impl_.gscookieid_){} + , decltype(_impl_.uniqueid_){} + , decltype(_impl_.last_ip_address_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.store_item_hash_, &from._impl_.store_item_hash_, + static_cast(reinterpret_cast(&_impl_.last_ip_address_) - + reinterpret_cast(&_impl_.store_item_hash_)) + sizeof(_impl_.last_ip_address_)); + // @@protoc_insertion_point(copy_constructor:CMsgCStrike15Welcome) +} + +inline void CMsgCStrike15Welcome::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.store_item_hash_){0u} + , decltype(_impl_.timeplayedconsecutively_){0u} + , decltype(_impl_.time_first_played_){0u} + , decltype(_impl_.last_time_played_){0u} + , decltype(_impl_.gscookieid_){uint64_t{0u}} + , decltype(_impl_.uniqueid_){uint64_t{0u}} + , decltype(_impl_.last_ip_address_){0u} + }; +} + +CMsgCStrike15Welcome::~CMsgCStrike15Welcome() { + // @@protoc_insertion_point(destructor:CMsgCStrike15Welcome) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgCStrike15Welcome::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgCStrike15Welcome::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgCStrike15Welcome::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgCStrike15Welcome) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.store_item_hash_, 0, static_cast( + reinterpret_cast(&_impl_.last_ip_address_) - + reinterpret_cast(&_impl_.store_item_hash_)) + sizeof(_impl_.last_ip_address_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgCStrike15Welcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 store_item_hash = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_store_item_hash(&has_bits); + _impl_.store_item_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 timeplayedconsecutively = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_timeplayedconsecutively(&has_bits); + _impl_.timeplayedconsecutively_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_first_played = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_time_first_played(&has_bits); + _impl_.time_first_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 last_time_played = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_last_time_played(&has_bits); + _impl_.last_time_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 last_ip_address = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_last_ip_address(&has_bits); + _impl_.last_ip_address_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 gscookieid = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_gscookieid(&has_bits); + _impl_.gscookieid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 uniqueid = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_uniqueid(&has_bits); + _impl_.uniqueid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgCStrike15Welcome::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgCStrike15Welcome) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 store_item_hash = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_store_item_hash(), target); + } + + // optional uint32 timeplayedconsecutively = 6; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_timeplayedconsecutively(), target); + } + + // optional uint32 time_first_played = 10; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_time_first_played(), target); + } + + // optional uint32 last_time_played = 12; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_last_time_played(), target); + } + + // optional uint32 last_ip_address = 13; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_last_ip_address(), target); + } + + // optional uint64 gscookieid = 18; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(18, this->_internal_gscookieid(), target); + } + + // optional uint64 uniqueid = 19; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(19, this->_internal_uniqueid(), 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:CMsgCStrike15Welcome) + return target; +} + +size_t CMsgCStrike15Welcome::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgCStrike15Welcome) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint32 store_item_hash = 5; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_store_item_hash()); + } + + // optional uint32 timeplayedconsecutively = 6; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timeplayedconsecutively()); + } + + // optional uint32 time_first_played = 10; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_first_played()); + } + + // optional uint32 last_time_played = 12; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_time_played()); + } + + // optional uint64 gscookieid = 18; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_gscookieid()); + } + + // optional uint64 uniqueid = 19; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_uniqueid()); + } + + // optional uint32 last_ip_address = 13; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_ip_address()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCStrike15Welcome::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgCStrike15Welcome::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCStrike15Welcome::GetClassData() const { return &_class_data_; } + + +void CMsgCStrike15Welcome::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:CMsgCStrike15Welcome) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.store_item_hash_ = from._impl_.store_item_hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.timeplayedconsecutively_ = from._impl_.timeplayedconsecutively_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.time_first_played_ = from._impl_.time_first_played_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.last_time_played_ = from._impl_.last_time_played_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.gscookieid_ = from._impl_.gscookieid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.uniqueid_ = from._impl_.uniqueid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.last_ip_address_ = from._impl_.last_ip_address_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgCStrike15Welcome::CopyFrom(const CMsgCStrike15Welcome& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCStrike15Welcome) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgCStrike15Welcome::IsInitialized() const { + return true; +} + +void CMsgCStrike15Welcome::InternalSwap(CMsgCStrike15Welcome* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgCStrike15Welcome, _impl_.last_ip_address_) + + sizeof(CMsgCStrike15Welcome::_impl_.last_ip_address_) + - PROTOBUF_FIELD_OFFSET(CMsgCStrike15Welcome, _impl_.store_item_hash_)>( + reinterpret_cast(&_impl_.store_item_hash_), + reinterpret_cast(&other->_impl_.store_item_hash_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgCStrike15Welcome::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[109]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value_int(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_server_addr(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_server_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::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:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) +} +CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.choked_blocks_){from._impl_.choked_blocks_} + , decltype(_impl_.value_name_){} + , decltype(_impl_.value_int_){} + , decltype(_impl_.server_addr_){} + , decltype(_impl_.server_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.value_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value_name()) { + _this->_impl_.value_name_.Set(from._internal_value_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.value_int_, &from._impl_.value_int_, + static_cast(reinterpret_cast(&_impl_.server_port_) - + reinterpret_cast(&_impl_.value_int_)) + sizeof(_impl_.server_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) +} + +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.choked_blocks_){arena} + , decltype(_impl_.value_name_){} + , decltype(_impl_.value_int_){0} + , decltype(_impl_.server_addr_){0u} + , decltype(_impl_.server_port_){0u} + }; + _impl_.value_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::~CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.choked_blocks_.~RepeatedPtrField(); + _impl_.value_name_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.choked_blocks_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.value_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.value_int_, 0, static_cast( + reinterpret_cast(&_impl_.server_port_) - + reinterpret_cast(&_impl_.value_int_)) + sizeof(_impl_.server_port_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string value_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_value_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 value_int = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_value_int(&has_bits); + _impl_.value_int_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_addr = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_server_addr(&has_bits); + _impl_.server_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_port = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_port(&has_bits); + _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string choked_blocks = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_choked_blocks(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string value_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value_name().data(), static_cast(this->_internal_value_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_value_name(), target); + } + + // optional int32 value_int = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_value_int(), target); + } + + // optional uint32 server_addr = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_addr(), target); + } + + // optional uint32 server_port = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_port(), target); + } + + // repeated string choked_blocks = 5; + for (int i = 0, n = this->_internal_choked_blocks_size(); i < n; i++) { + const auto& s = this->_internal_choked_blocks(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks"); + target = stream->WriteString(5, 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:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + 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 choked_blocks = 5; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.choked_blocks_.size()); + for (int i = 0, n = _impl_.choked_blocks_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.choked_blocks_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string value_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value_name()); + } + + // optional int32 value_int = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_value_int()); + } + + // optional uint32 server_addr = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_addr()); + } + + // optional uint32 server_port = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::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:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.choked_blocks_.MergeFrom(from._impl_.choked_blocks_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_value_name(from._internal_value_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.value_int_ = from._impl_.value_int_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_addr_ = from._impl_.server_addr_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.server_port_ = from._impl_.server_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CopyFrom(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::InternalSwap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.choked_blocks_.InternalSwap(&other->_impl_.choked_blocks_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_name_, lhs_arena, + &other->_impl_.value_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_port_) + + sizeof(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_impl_.server_port_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_int_)>( + reinterpret_cast(&_impl_.value_int_), + reinterpret_cast(&other->_impl_.value_int_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[110]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::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:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) +} +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.viewangles_){from._impl_.viewangles_} + , decltype(_impl_.userdata_){from._impl_.userdata_} + , decltype(_impl_.accountid_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) +} + +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.viewangles_){arena} + , decltype(_impl_.userdata_){arena} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.type_){0u} + }; +} + +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::~CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.viewangles_.~RepeatedField(); + _impl_.userdata_.~RepeatedField(); +} + +void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.viewangles_.Clear(); + _impl_.userdata_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 viewangles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_viewangles(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_viewangles(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 userdata = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_userdata(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_userdata(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // repeated uint32 viewangles = 2; + for (int i = 0, n = this->_internal_viewangles_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_viewangles(i), target); + } + + // optional uint32 type = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_type(), target); + } + + // repeated uint32 userdata = 4; + for (int i = 0, n = this->_internal_userdata_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_userdata(i), 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:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + return target; +} + +size_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + 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 uint32 viewangles = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.viewangles_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_viewangles_size()); + total_size += data_size; + } + + // repeated uint32 userdata = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.userdata_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_userdata_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 type = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::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:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.viewangles_.MergeFrom(from._impl_.viewangles_); + _this->_impl_.userdata_.MergeFrom(from._impl_.userdata_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CopyFrom(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::InternalSwap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.viewangles_.InternalSwap(&other->_impl_.viewangles_); + _impl_.userdata_.InternalSwap(&other->_impl_.userdata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.type_) + + sizeof(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[111]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GiftsLeaderboardRequest::_Internal { + public: +}; + +CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) +} +CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCCStrike15_v2_GiftsLeaderboardRequest* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardRequest::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[112]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gifts(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) +} +CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){} + , decltype(_impl_.gifts_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.gifts_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.gifts_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) +} + +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.gifts_){0u} + }; +} + +CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.gifts_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.gifts_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gifts = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gifts(&has_bits); + _impl_.gifts_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint32 gifts = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gifts(), 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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + return target; +} + +size_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 gifts = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gifts()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gifts_ = from._impl_.gifts_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.gifts_) + + sizeof(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_impl_.gifts_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[113]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_servertime(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time_period_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_total_gifts_given(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_total_givers(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) +} +CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){from._impl_.entries_} + , decltype(_impl_.servertime_){} + , decltype(_impl_.time_period_seconds_){} + , decltype(_impl_.total_gifts_given_){} + , decltype(_impl_.total_givers_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.servertime_, &from._impl_.servertime_, + static_cast(reinterpret_cast(&_impl_.total_givers_) - + reinterpret_cast(&_impl_.servertime_)) + sizeof(_impl_.total_givers_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) +} + +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){arena} + , decltype(_impl_.servertime_){0u} + , decltype(_impl_.time_period_seconds_){0u} + , decltype(_impl_.total_gifts_given_){0u} + , decltype(_impl_.total_givers_){0u} + }; +} + +CMsgGCCStrike15_v2_GiftsLeaderboardResponse::~CMsgGCCStrike15_v2_GiftsLeaderboardResponse() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.servertime_, 0, static_cast( + reinterpret_cast(&_impl_.total_givers_) - + reinterpret_cast(&_impl_.servertime_)) + sizeof(_impl_.total_givers_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 servertime = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_servertime(&has_bits); + _impl_.servertime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_period_seconds = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_time_period_seconds(&has_bits); + _impl_.time_period_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 total_gifts_given = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_total_gifts_given(&has_bits); + _impl_.total_gifts_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 total_givers = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_total_givers(&has_bits); + _impl_.total_givers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entries(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 servertime = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_servertime(), target); + } + + // optional uint32 time_period_seconds = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_period_seconds(), target); + } + + // optional uint32 total_gifts_given = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_gifts_given(), target); + } + + // optional uint32 total_givers = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_total_givers(), target); + } + + // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_entries_size()); i < n; i++) { + const auto& repfield = this->_internal_entries(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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + return target; +} + +size_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + 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 .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; + total_size += 1UL * this->_internal_entries_size(); + for (const auto& msg : this->_impl_.entries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 servertime = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); + } + + // optional uint32 time_period_seconds = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_period_seconds()); + } + + // optional uint32 total_gifts_given = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_gifts_given()); + } + + // optional uint32 total_givers = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_givers()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GiftsLeaderboardResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::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:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.servertime_ = from._impl_.servertime_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_period_seconds_ = from._impl_.time_period_seconds_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.total_gifts_given_ = from._impl_.total_gifts_given_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.total_givers_ = from._impl_.total_givers_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_givers_) + + sizeof(CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_impl_.total_givers_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.servertime_)>( + reinterpret_cast(&_impl_.servertime_), + reinterpret_cast(&other->_impl_.servertime_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[114]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_survey_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_vote(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::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:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) +} +CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientSubmitSurveyVote* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.survey_id_){} + , decltype(_impl_.vote_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.survey_id_, &from._impl_.survey_id_, + static_cast(reinterpret_cast(&_impl_.vote_) - + reinterpret_cast(&_impl_.survey_id_)) + sizeof(_impl_.vote_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) +} + +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.survey_id_){0u} + , decltype(_impl_.vote_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientSubmitSurveyVote::~CMsgGCCStrike15_v2_ClientSubmitSurveyVote() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.survey_id_, 0, static_cast( + reinterpret_cast(&_impl_.vote_) - + reinterpret_cast(&_impl_.survey_id_)) + sizeof(_impl_.vote_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 survey_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_survey_id(&has_bits); + _impl_.survey_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 vote = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_vote(&has_bits); + _impl_.vote_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 survey_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_survey_id(), target); + } + + // optional uint32 vote = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_vote(), 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:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 survey_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_survey_id()); + } + + // optional uint32 vote = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_vote()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientSubmitSurveyVote::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientSubmitSurveyVote::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::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:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.survey_id_ = from._impl_.survey_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.vote_ = from._impl_.vote_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CopyFrom(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::InternalSwap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.vote_) + + sizeof(CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_impl_.vote_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.survey_id_)>( + reinterpret_cast(&_impl_.survey_id_), + reinterpret_cast(&other->_impl_.survey_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientSubmitSurveyVote::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[115]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Server2GCClientValidate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate(::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:CMsgGCCStrike15_v2_Server2GCClientValidate) +} +CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Server2GCClientValidate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.accountid_ = from._impl_.accountid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Server2GCClientValidate) +} + +inline void CMsgGCCStrike15_v2_Server2GCClientValidate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_Server2GCClientValidate::~CMsgGCCStrike15_v2_Server2GCClientValidate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Server2GCClientValidate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Server2GCClientValidate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Server2GCClientValidate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Server2GCClientValidate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Server2GCClientValidate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.accountid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Server2GCClientValidate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Server2GCClientValidate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Server2GCClientValidate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), 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:CMsgGCCStrike15_v2_Server2GCClientValidate) + return target; +} + +size_t CMsgGCCStrike15_v2_Server2GCClientValidate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Server2GCClientValidate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 accountid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Server2GCClientValidate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Server2GCClientValidate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Server2GCClientValidate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Server2GCClientValidate::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:CMsgGCCStrike15_v2_Server2GCClientValidate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_accountid()) { + _this->_internal_set_accountid(from._internal_accountid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Server2GCClientValidate::CopyFrom(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Server2GCClientValidate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Server2GCClientValidate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Server2GCClientValidate::InternalSwap(CMsgGCCStrike15_v2_Server2GCClientValidate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.accountid_, other->_impl_.accountid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Server2GCClientValidate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[116]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_stageid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::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:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) +} +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientTournamentInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teamids_){from._impl_.teamids_} + , decltype(_impl_.eventid_){} + , decltype(_impl_.stageid_){} + , decltype(_impl_.game_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, + static_cast(reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.game_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) +} + +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.teamids_){arena} + , decltype(_impl_.eventid_){0u} + , decltype(_impl_.stageid_){0u} + , decltype(_impl_.game_type_){0u} + }; +} + +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::~CMsgGCCStrike15_v2_GC2ClientTournamentInfo() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.teamids_.~RepeatedField(); +} + +void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.teamids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.eventid_, 0, static_cast( + reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.game_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 stageid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_stageid(&has_bits); + _impl_.stageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 teamids = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_teamids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_teamids(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 eventid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eventid(), target); + } + + // optional uint32 stageid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_stageid(), target); + } + + // optional uint32 game_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_game_type(), target); + } + + // repeated uint32 teamids = 4; + for (int i = 0, n = this->_internal_teamids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_teamids(i), 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:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + 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 uint32 teamids = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.teamids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_teamids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 eventid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eventid()); + } + + // optional uint32 stageid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stageid()); + } + + // optional uint32 game_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientTournamentInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientTournamentInfo::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::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:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.teamids_.MergeFrom(from._impl_.teamids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.stageid_ = from._impl_.stageid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::InternalSwap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.teamids_.InternalSwap(&other->_impl_.teamids_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.game_type_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_impl_.game_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.eventid_)>( + reinterpret_cast(&_impl_.eventid_), + reinterpret_cast(&other->_impl_.eventid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientTournamentInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[117]); +} + +// =================================================================== + +class CSOEconCoupon::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entryid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_expiration_date(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSOEconCoupon::CSOEconCoupon(::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:CSOEconCoupon) +} +CSOEconCoupon::CSOEconCoupon(const CSOEconCoupon& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOEconCoupon* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entryid_){} + , decltype(_impl_.defidx_){} + , decltype(_impl_.expiration_date_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.entryid_, &from._impl_.entryid_, + static_cast(reinterpret_cast(&_impl_.expiration_date_) - + reinterpret_cast(&_impl_.entryid_)) + sizeof(_impl_.expiration_date_)); + // @@protoc_insertion_point(copy_constructor:CSOEconCoupon) +} + +inline void CSOEconCoupon::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entryid_){0u} + , decltype(_impl_.defidx_){0u} + , decltype(_impl_.expiration_date_){0u} + }; +} + +CSOEconCoupon::~CSOEconCoupon() { + // @@protoc_insertion_point(destructor:CSOEconCoupon) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOEconCoupon::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOEconCoupon::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOEconCoupon::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOEconCoupon) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.entryid_, 0, static_cast( + reinterpret_cast(&_impl_.expiration_date_) - + reinterpret_cast(&_impl_.entryid_)) + sizeof(_impl_.expiration_date_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOEconCoupon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 entryid = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entryid(&has_bits); + _impl_.entryid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 defidx = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_defidx(&has_bits); + _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 expiration_date = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_expiration_date(&has_bits); + _impl_.expiration_date_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOEconCoupon::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOEconCoupon) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 entryid = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_entryid(), target); + } + + // optional uint32 defidx = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_defidx(), target); + } + + // optional fixed32 expiration_date = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_expiration_date(), 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:CSOEconCoupon) + return target; +} + +size_t CSOEconCoupon::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOEconCoupon) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 entryid = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entryid()); + } + + // optional uint32 defidx = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); + } + + // optional fixed32 expiration_date = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconCoupon::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOEconCoupon::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconCoupon::GetClassData() const { return &_class_data_; } + + +void CSOEconCoupon::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:CSOEconCoupon) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.entryid_ = from._impl_.entryid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.defidx_ = from._impl_.defidx_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.expiration_date_ = from._impl_.expiration_date_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOEconCoupon::CopyFrom(const CSOEconCoupon& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconCoupon) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOEconCoupon::IsInitialized() const { + return true; +} + +void CSOEconCoupon::InternalSwap(CSOEconCoupon* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOEconCoupon, _impl_.expiration_date_) + + sizeof(CSOEconCoupon::_impl_.expiration_date_) + - PROTOBUF_FIELD_OFFSET(CSOEconCoupon, _impl_.entryid_)>( + reinterpret_cast(&_impl_.entryid_), + reinterpret_cast(&other->_impl_.entryid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOEconCoupon::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[118]); +} + +// =================================================================== + +class CSOAccountItemPersonalStore::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_generation_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redeemable_balance(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSOAccountItemPersonalStore::CSOAccountItemPersonalStore(::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:CSOAccountItemPersonalStore) +} +CSOAccountItemPersonalStore::CSOAccountItemPersonalStore(const CSOAccountItemPersonalStore& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountItemPersonalStore* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.generation_time_){} + , decltype(_impl_.redeemable_balance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, + static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountItemPersonalStore) +} + +inline void CSOAccountItemPersonalStore::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.generation_time_){0u} + , decltype(_impl_.redeemable_balance_){0u} + }; +} + +CSOAccountItemPersonalStore::~CSOAccountItemPersonalStore() { + // @@protoc_insertion_point(destructor:CSOAccountItemPersonalStore) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountItemPersonalStore::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedField(); +} + +void CSOAccountItemPersonalStore::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountItemPersonalStore::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountItemPersonalStore) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.generation_time_, 0, static_cast( + reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountItemPersonalStore::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 generation_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_generation_time(&has_bits); + _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeemable_balance = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_redeemable_balance(&has_bits); + _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 items = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_items(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_items(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountItemPersonalStore::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountItemPersonalStore) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); + } + + // repeated uint64 items = 3; + for (int i = 0, n = this->_internal_items_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_items(i), 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:CSOAccountItemPersonalStore) + return target; +} + +size_t CSOAccountItemPersonalStore::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountItemPersonalStore) + 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 uint64 items = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.items_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_items_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountItemPersonalStore::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountItemPersonalStore::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountItemPersonalStore::GetClassData() const { return &_class_data_; } + + +void CSOAccountItemPersonalStore::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:CSOAccountItemPersonalStore) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.generation_time_ = from._impl_.generation_time_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountItemPersonalStore::CopyFrom(const CSOAccountItemPersonalStore& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountItemPersonalStore) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountItemPersonalStore::IsInitialized() const { + return true; +} + +void CSOAccountItemPersonalStore::InternalSwap(CSOAccountItemPersonalStore* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountItemPersonalStore, _impl_.redeemable_balance_) + + sizeof(CSOAccountItemPersonalStore::_impl_.redeemable_balance_) + - PROTOBUF_FIELD_OFFSET(CSOAccountItemPersonalStore, _impl_.generation_time_)>( + reinterpret_cast(&_impl_.generation_time_), + reinterpret_cast(&other->_impl_.generation_time_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountItemPersonalStore::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[119]); +} + +// =================================================================== + +class CSOAccountXpShop::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_generation_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redeemable_balance(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSOAccountXpShop::CSOAccountXpShop(::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:CSOAccountXpShop) +} +CSOAccountXpShop::CSOAccountXpShop(const CSOAccountXpShop& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountXpShop* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_tracks_){from._impl_.xp_tracks_} + , decltype(_impl_.generation_time_){} + , decltype(_impl_.redeemable_balance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, + static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountXpShop) +} + +inline void CSOAccountXpShop::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xp_tracks_){arena} + , decltype(_impl_.generation_time_){0u} + , decltype(_impl_.redeemable_balance_){0u} + }; +} + +CSOAccountXpShop::~CSOAccountXpShop() { + // @@protoc_insertion_point(destructor:CSOAccountXpShop) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountXpShop::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.xp_tracks_.~RepeatedField(); +} + +void CSOAccountXpShop::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountXpShop::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountXpShop) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.xp_tracks_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.generation_time_, 0, static_cast( + reinterpret_cast(&_impl_.redeemable_balance_) - + reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountXpShop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 generation_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_generation_time(&has_bits); + _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeemable_balance = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_redeemable_balance(&has_bits); + _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 xp_tracks = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_xp_tracks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_xp_tracks(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountXpShop::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountXpShop) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); + } + + // repeated uint32 xp_tracks = 3; + for (int i = 0, n = this->_internal_xp_tracks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_xp_tracks(i), 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:CSOAccountXpShop) + return target; +} + +size_t CSOAccountXpShop::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountXpShop) + 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 uint32 xp_tracks = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.xp_tracks_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_xp_tracks_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 generation_time = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); + } + + // optional uint32 redeemable_balance = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountXpShop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountXpShop::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountXpShop::GetClassData() const { return &_class_data_; } + + +void CSOAccountXpShop::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:CSOAccountXpShop) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.xp_tracks_.MergeFrom(from._impl_.xp_tracks_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.generation_time_ = from._impl_.generation_time_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountXpShop::CopyFrom(const CSOAccountXpShop& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountXpShop) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountXpShop::IsInitialized() const { + return true; +} + +void CSOAccountXpShop::InternalSwap(CSOAccountXpShop* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.xp_tracks_.InternalSwap(&other->_impl_.xp_tracks_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountXpShop, _impl_.redeemable_balance_) + + sizeof(CSOAccountXpShop::_impl_.redeemable_balance_) + - PROTOBUF_FIELD_OFFSET(CSOAccountXpShop, _impl_.generation_time_)>( + reinterpret_cast(&_impl_.generation_time_), + reinterpret_cast(&other->_impl_.generation_time_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountXpShop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[120]); +} + +// =================================================================== + +class CSOAccountXpShopBids::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_campaign_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redeem_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_expected_cost(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_generation_time(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CSOAccountXpShopBids::CSOAccountXpShopBids(::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:CSOAccountXpShopBids) +} +CSOAccountXpShopBids::CSOAccountXpShopBids(const CSOAccountXpShopBids& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountXpShopBids* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.campaign_id_){} + , decltype(_impl_.redeem_id_){} + , decltype(_impl_.expected_cost_){} + , decltype(_impl_.generation_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.campaign_id_, &from._impl_.campaign_id_, + static_cast(reinterpret_cast(&_impl_.generation_time_) - + reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.generation_time_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountXpShopBids) +} + +inline void CSOAccountXpShopBids::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.campaign_id_){0u} + , decltype(_impl_.redeem_id_){0u} + , decltype(_impl_.expected_cost_){0u} + , decltype(_impl_.generation_time_){0u} + }; +} + +CSOAccountXpShopBids::~CSOAccountXpShopBids() { + // @@protoc_insertion_point(destructor:CSOAccountXpShopBids) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountXpShopBids::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOAccountXpShopBids::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountXpShopBids::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountXpShopBids) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.campaign_id_, 0, static_cast( + reinterpret_cast(&_impl_.generation_time_) - + reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.generation_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountXpShopBids::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 campaign_id = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_campaign_id(&has_bits); + _impl_.campaign_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeem_id = 2 [(.key_field) = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_redeem_id(&has_bits); + _impl_.redeem_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 expected_cost = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_expected_cost(&has_bits); + _impl_.expected_cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 generation_time = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_generation_time(&has_bits); + _impl_.generation_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountXpShopBids::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountXpShopBids) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 campaign_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_campaign_id(), target); + } + + // optional uint32 redeem_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeem_id(), target); + } + + // optional uint32 expected_cost = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_expected_cost(), target); + } + + // optional uint32 generation_time = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_generation_time(), 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:CSOAccountXpShopBids) + return target; +} + +size_t CSOAccountXpShopBids::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountXpShopBids) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 campaign_id = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_campaign_id()); + } + + // optional uint32 redeem_id = 2 [(.key_field) = true]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeem_id()); + } + + // optional uint32 expected_cost = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_cost()); + } + + // optional uint32 generation_time = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountXpShopBids::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountXpShopBids::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountXpShopBids::GetClassData() const { return &_class_data_; } + + +void CSOAccountXpShopBids::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:CSOAccountXpShopBids) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.campaign_id_ = from._impl_.campaign_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.redeem_id_ = from._impl_.redeem_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.expected_cost_ = from._impl_.expected_cost_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.generation_time_ = from._impl_.generation_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountXpShopBids::CopyFrom(const CSOAccountXpShopBids& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountXpShopBids) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountXpShopBids::IsInitialized() const { + return true; +} + +void CSOAccountXpShopBids::InternalSwap(CSOAccountXpShopBids* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountXpShopBids, _impl_.generation_time_) + + sizeof(CSOAccountXpShopBids::_impl_.generation_time_) + - PROTOBUF_FIELD_OFFSET(CSOAccountXpShopBids, _impl_.campaign_id_)>( + reinterpret_cast(&_impl_.campaign_id_), + reinterpret_cast(&other->_impl_.campaign_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountXpShopBids::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[121]); +} + +// =================================================================== + +class CSOVolatileItemOffer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOVolatileItemOffer::CSOVolatileItemOffer(::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:CSOVolatileItemOffer) +} +CSOVolatileItemOffer::CSOVolatileItemOffer(const CSOVolatileItemOffer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOVolatileItemOffer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.faux_itemid_){from._impl_.faux_itemid_} + , decltype(_impl_.generation_time_){from._impl_.generation_time_} + , decltype(_impl_.defidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.defidx_ = from._impl_.defidx_; + // @@protoc_insertion_point(copy_constructor:CSOVolatileItemOffer) +} + +inline void CSOVolatileItemOffer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.faux_itemid_){arena} + , decltype(_impl_.generation_time_){arena} + , decltype(_impl_.defidx_){0u} + }; +} + +CSOVolatileItemOffer::~CSOVolatileItemOffer() { + // @@protoc_insertion_point(destructor:CSOVolatileItemOffer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOVolatileItemOffer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.faux_itemid_.~RepeatedField(); + _impl_.generation_time_.~RepeatedField(); +} + +void CSOVolatileItemOffer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOVolatileItemOffer::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOVolatileItemOffer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.faux_itemid_.Clear(); + _impl_.generation_time_.Clear(); + _impl_.defidx_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOVolatileItemOffer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 defidx = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_defidx(&has_bits); + _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 faux_itemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_faux_itemid(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_faux_itemid(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 generation_time = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_generation_time(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_generation_time(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOVolatileItemOffer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOVolatileItemOffer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 defidx = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defidx(), target); + } + + // repeated uint64 faux_itemid = 2; + for (int i = 0, n = this->_internal_faux_itemid_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_faux_itemid(i), target); + } + + // repeated uint32 generation_time = 3; + for (int i = 0, n = this->_internal_generation_time_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_generation_time(i), 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:CSOVolatileItemOffer) + return target; +} + +size_t CSOVolatileItemOffer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOVolatileItemOffer) + 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 uint64 faux_itemid = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.faux_itemid_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_faux_itemid_size()); + total_size += data_size; + } + + // repeated uint32 generation_time = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.generation_time_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_generation_time_size()); + total_size += data_size; + } + + // optional uint32 defidx = 1 [(.key_field) = true]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOVolatileItemOffer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOVolatileItemOffer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOVolatileItemOffer::GetClassData() const { return &_class_data_; } + + +void CSOVolatileItemOffer::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:CSOVolatileItemOffer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.faux_itemid_.MergeFrom(from._impl_.faux_itemid_); + _this->_impl_.generation_time_.MergeFrom(from._impl_.generation_time_); + if (from._internal_has_defidx()) { + _this->_internal_set_defidx(from._internal_defidx()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOVolatileItemOffer::CopyFrom(const CSOVolatileItemOffer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOVolatileItemOffer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOVolatileItemOffer::IsInitialized() const { + return true; +} + +void CSOVolatileItemOffer::InternalSwap(CSOVolatileItemOffer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.faux_itemid_.InternalSwap(&other->_impl_.faux_itemid_); + _impl_.generation_time_.InternalSwap(&other->_impl_.generation_time_); + swap(_impl_.defidx_, other->_impl_.defidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOVolatileItemOffer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[122]); +} + +// =================================================================== + +class CSOVolatileItemClaimedRewards::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards(::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:CSOVolatileItemClaimedRewards) +} +CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards(const CSOVolatileItemClaimedRewards& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOVolatileItemClaimedRewards* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reward_){from._impl_.reward_} + , decltype(_impl_.generation_time_){from._impl_.generation_time_} + , decltype(_impl_.defidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.defidx_ = from._impl_.defidx_; + // @@protoc_insertion_point(copy_constructor:CSOVolatileItemClaimedRewards) +} + +inline void CSOVolatileItemClaimedRewards::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reward_){arena} + , decltype(_impl_.generation_time_){arena} + , decltype(_impl_.defidx_){0u} + }; +} + +CSOVolatileItemClaimedRewards::~CSOVolatileItemClaimedRewards() { + // @@protoc_insertion_point(destructor:CSOVolatileItemClaimedRewards) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOVolatileItemClaimedRewards::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.reward_.~RepeatedField(); + _impl_.generation_time_.~RepeatedField(); +} + +void CSOVolatileItemClaimedRewards::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOVolatileItemClaimedRewards::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOVolatileItemClaimedRewards) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.reward_.Clear(); + _impl_.generation_time_.Clear(); + _impl_.defidx_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOVolatileItemClaimedRewards::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 defidx = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_defidx(&has_bits); + _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 reward = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_reward(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_reward(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 generation_time = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_generation_time(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_generation_time(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOVolatileItemClaimedRewards::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOVolatileItemClaimedRewards) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 defidx = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defidx(), target); + } + + // repeated uint32 reward = 2; + for (int i = 0, n = this->_internal_reward_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reward(i), target); + } + + // repeated uint32 generation_time = 3; + for (int i = 0, n = this->_internal_generation_time_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_generation_time(i), 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:CSOVolatileItemClaimedRewards) + return target; +} + +size_t CSOVolatileItemClaimedRewards::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOVolatileItemClaimedRewards) + 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 uint32 reward = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.reward_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_reward_size()); + total_size += data_size; + } + + // repeated uint32 generation_time = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.generation_time_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_generation_time_size()); + total_size += data_size; + } + + // optional uint32 defidx = 1 [(.key_field) = true]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOVolatileItemClaimedRewards::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOVolatileItemClaimedRewards::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOVolatileItemClaimedRewards::GetClassData() const { return &_class_data_; } + + +void CSOVolatileItemClaimedRewards::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:CSOVolatileItemClaimedRewards) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.reward_.MergeFrom(from._impl_.reward_); + _this->_impl_.generation_time_.MergeFrom(from._impl_.generation_time_); + if (from._internal_has_defidx()) { + _this->_internal_set_defidx(from._internal_defidx()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOVolatileItemClaimedRewards::CopyFrom(const CSOVolatileItemClaimedRewards& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOVolatileItemClaimedRewards) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOVolatileItemClaimedRewards::IsInitialized() const { + return true; +} + +void CSOVolatileItemClaimedRewards::InternalSwap(CSOVolatileItemClaimedRewards* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.reward_.InternalSwap(&other->_impl_.reward_); + _impl_.generation_time_.InternalSwap(&other->_impl_.generation_time_); + swap(_impl_.defidx_, other->_impl_.defidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOVolatileItemClaimedRewards::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[123]); +} + +// =================================================================== + +class CSOAccountKeychainRemoveToolCharges::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_charges(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges(::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:CSOAccountKeychainRemoveToolCharges) +} +CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges(const CSOAccountKeychainRemoveToolCharges& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountKeychainRemoveToolCharges* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.charges_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.charges_ = from._impl_.charges_; + // @@protoc_insertion_point(copy_constructor:CSOAccountKeychainRemoveToolCharges) +} + +inline void CSOAccountKeychainRemoveToolCharges::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.charges_){0u} + }; +} + +CSOAccountKeychainRemoveToolCharges::~CSOAccountKeychainRemoveToolCharges() { + // @@protoc_insertion_point(destructor:CSOAccountKeychainRemoveToolCharges) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountKeychainRemoveToolCharges::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOAccountKeychainRemoveToolCharges::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountKeychainRemoveToolCharges::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountKeychainRemoveToolCharges) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.charges_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountKeychainRemoveToolCharges::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 charges = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_charges(&has_bits); + _impl_.charges_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountKeychainRemoveToolCharges::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountKeychainRemoveToolCharges) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 charges = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_charges(), 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:CSOAccountKeychainRemoveToolCharges) + return target; +} + +size_t CSOAccountKeychainRemoveToolCharges::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountKeychainRemoveToolCharges) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 charges = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_charges()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountKeychainRemoveToolCharges::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountKeychainRemoveToolCharges::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountKeychainRemoveToolCharges::GetClassData() const { return &_class_data_; } + + +void CSOAccountKeychainRemoveToolCharges::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:CSOAccountKeychainRemoveToolCharges) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_charges()) { + _this->_internal_set_charges(from._internal_charges()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountKeychainRemoveToolCharges::CopyFrom(const CSOAccountKeychainRemoveToolCharges& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountKeychainRemoveToolCharges) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountKeychainRemoveToolCharges::IsInitialized() const { + return true; +} + +void CSOAccountKeychainRemoveToolCharges::InternalSwap(CSOAccountKeychainRemoveToolCharges* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.charges_, other->_impl_.charges_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountKeychainRemoveToolCharges::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[124]); +} + +// =================================================================== + +class CSOQuestProgress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_questid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_points_remaining(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bonus_points(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSOQuestProgress::CSOQuestProgress(::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:CSOQuestProgress) +} +CSOQuestProgress::CSOQuestProgress(const CSOQuestProgress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOQuestProgress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.questid_){} + , decltype(_impl_.points_remaining_){} + , decltype(_impl_.bonus_points_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.questid_, &from._impl_.questid_, + static_cast(reinterpret_cast(&_impl_.bonus_points_) - + reinterpret_cast(&_impl_.questid_)) + sizeof(_impl_.bonus_points_)); + // @@protoc_insertion_point(copy_constructor:CSOQuestProgress) +} + +inline void CSOQuestProgress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.questid_){0u} + , decltype(_impl_.points_remaining_){0u} + , decltype(_impl_.bonus_points_){0u} + }; +} + +CSOQuestProgress::~CSOQuestProgress() { + // @@protoc_insertion_point(destructor:CSOQuestProgress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOQuestProgress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOQuestProgress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOQuestProgress::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOQuestProgress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.questid_, 0, static_cast( + reinterpret_cast(&_impl_.bonus_points_) - + reinterpret_cast(&_impl_.questid_)) + sizeof(_impl_.bonus_points_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOQuestProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 questid = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_questid(&has_bits); + _impl_.questid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 points_remaining = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_points_remaining(&has_bits); + _impl_.points_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bonus_points = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_bonus_points(&has_bits); + _impl_.bonus_points_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOQuestProgress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOQuestProgress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 questid = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_questid(), target); + } + + // optional uint32 points_remaining = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_points_remaining(), target); + } + + // optional uint32 bonus_points = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_bonus_points(), 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:CSOQuestProgress) + return target; +} + +size_t CSOQuestProgress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOQuestProgress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 questid = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_questid()); + } + + // optional uint32 points_remaining = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_remaining()); + } + + // optional uint32 bonus_points = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_points()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOQuestProgress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOQuestProgress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOQuestProgress::GetClassData() const { return &_class_data_; } + + +void CSOQuestProgress::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:CSOQuestProgress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.questid_ = from._impl_.questid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.points_remaining_ = from._impl_.points_remaining_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bonus_points_ = from._impl_.bonus_points_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOQuestProgress::CopyFrom(const CSOQuestProgress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOQuestProgress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOQuestProgress::IsInitialized() const { + return true; +} + +void CSOQuestProgress::InternalSwap(CSOQuestProgress* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOQuestProgress, _impl_.bonus_points_) + + sizeof(CSOQuestProgress::_impl_.bonus_points_) + - PROTOBUF_FIELD_OFFSET(CSOQuestProgress, _impl_.questid_)>( + reinterpret_cast(&_impl_.questid_), + reinterpret_cast(&other->_impl_.questid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOQuestProgress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[125]); +} + +// =================================================================== + +class CSOAccountSeasonalOperation::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_season_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_tier_unlocked(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_premium_tiers(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_mission_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_missions_completed(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_redeemable_balance(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_season_pass_time(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CSOAccountSeasonalOperation::CSOAccountSeasonalOperation(::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:CSOAccountSeasonalOperation) +} +CSOAccountSeasonalOperation::CSOAccountSeasonalOperation(const CSOAccountSeasonalOperation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountSeasonalOperation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.season_value_){} + , decltype(_impl_.tier_unlocked_){} + , decltype(_impl_.premium_tiers_){} + , decltype(_impl_.mission_id_){} + , decltype(_impl_.missions_completed_){} + , decltype(_impl_.redeemable_balance_){} + , decltype(_impl_.season_pass_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.season_value_, &from._impl_.season_value_, + static_cast(reinterpret_cast(&_impl_.season_pass_time_) - + reinterpret_cast(&_impl_.season_value_)) + sizeof(_impl_.season_pass_time_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountSeasonalOperation) +} + +inline void CSOAccountSeasonalOperation::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.season_value_){0u} + , decltype(_impl_.tier_unlocked_){0u} + , decltype(_impl_.premium_tiers_){0u} + , decltype(_impl_.mission_id_){0u} + , decltype(_impl_.missions_completed_){0u} + , decltype(_impl_.redeemable_balance_){0u} + , decltype(_impl_.season_pass_time_){0u} + }; +} + +CSOAccountSeasonalOperation::~CSOAccountSeasonalOperation() { + // @@protoc_insertion_point(destructor:CSOAccountSeasonalOperation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountSeasonalOperation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOAccountSeasonalOperation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountSeasonalOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountSeasonalOperation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.season_value_, 0, static_cast( + reinterpret_cast(&_impl_.season_pass_time_) - + reinterpret_cast(&_impl_.season_value_)) + sizeof(_impl_.season_pass_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountSeasonalOperation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 season_value = 1 [(.key_field) = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_season_value(&has_bits); + _impl_.season_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tier_unlocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tier_unlocked(&has_bits); + _impl_.tier_unlocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 premium_tiers = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_premium_tiers(&has_bits); + _impl_.premium_tiers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mission_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_mission_id(&has_bits); + _impl_.mission_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 missions_completed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_missions_completed(&has_bits); + _impl_.missions_completed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 redeemable_balance = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_redeemable_balance(&has_bits); + _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 season_pass_time = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_season_pass_time(&has_bits); + _impl_.season_pass_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountSeasonalOperation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountSeasonalOperation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 season_value = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_season_value(), target); + } + + // optional uint32 tier_unlocked = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_tier_unlocked(), target); + } + + // optional uint32 premium_tiers = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_premium_tiers(), target); + } + + // optional uint32 mission_id = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mission_id(), target); + } + + // optional uint32 missions_completed = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_missions_completed(), target); + } + + // optional uint32 redeemable_balance = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_redeemable_balance(), target); + } + + // optional uint32 season_pass_time = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_season_pass_time(), 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:CSOAccountSeasonalOperation) + return target; +} + +size_t CSOAccountSeasonalOperation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountSeasonalOperation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint32 season_value = 1 [(.key_field) = true]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_value()); + } + + // optional uint32 tier_unlocked = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tier_unlocked()); + } + + // optional uint32 premium_tiers = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_premium_tiers()); + } + + // optional uint32 mission_id = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mission_id()); + } + + // optional uint32 missions_completed = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_missions_completed()); + } + + // optional uint32 redeemable_balance = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); + } + + // optional uint32 season_pass_time = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_pass_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountSeasonalOperation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountSeasonalOperation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountSeasonalOperation::GetClassData() const { return &_class_data_; } + + +void CSOAccountSeasonalOperation::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:CSOAccountSeasonalOperation) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.season_value_ = from._impl_.season_value_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tier_unlocked_ = from._impl_.tier_unlocked_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.premium_tiers_ = from._impl_.premium_tiers_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.mission_id_ = from._impl_.mission_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.missions_completed_ = from._impl_.missions_completed_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.season_pass_time_ = from._impl_.season_pass_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountSeasonalOperation::CopyFrom(const CSOAccountSeasonalOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountSeasonalOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountSeasonalOperation::IsInitialized() const { + return true; +} + +void CSOAccountSeasonalOperation::InternalSwap(CSOAccountSeasonalOperation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountSeasonalOperation, _impl_.season_pass_time_) + + sizeof(CSOAccountSeasonalOperation::_impl_.season_pass_time_) + - PROTOBUF_FIELD_OFFSET(CSOAccountSeasonalOperation, _impl_.season_value_)>( + reinterpret_cast(&_impl_.season_value_), + reinterpret_cast(&other->_impl_.season_value_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountSeasonalOperation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[126]); +} + +// =================================================================== + +class CSOAccountRecurringSubscription::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_time_next_cycle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time_initiated(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSOAccountRecurringSubscription::CSOAccountRecurringSubscription(::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:CSOAccountRecurringSubscription) +} +CSOAccountRecurringSubscription::CSOAccountRecurringSubscription(const CSOAccountRecurringSubscription& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountRecurringSubscription* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_next_cycle_){} + , decltype(_impl_.time_initiated_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.time_next_cycle_, &from._impl_.time_next_cycle_, + static_cast(reinterpret_cast(&_impl_.time_initiated_) - + reinterpret_cast(&_impl_.time_next_cycle_)) + sizeof(_impl_.time_initiated_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountRecurringSubscription) +} + +inline void CSOAccountRecurringSubscription::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_next_cycle_){0u} + , decltype(_impl_.time_initiated_){0u} + }; +} + +CSOAccountRecurringSubscription::~CSOAccountRecurringSubscription() { + // @@protoc_insertion_point(destructor:CSOAccountRecurringSubscription) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountRecurringSubscription::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOAccountRecurringSubscription::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountRecurringSubscription::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountRecurringSubscription) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.time_next_cycle_, 0, static_cast( + reinterpret_cast(&_impl_.time_initiated_) - + reinterpret_cast(&_impl_.time_next_cycle_)) + sizeof(_impl_.time_initiated_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountRecurringSubscription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 time_next_cycle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_time_next_cycle(&has_bits); + _impl_.time_next_cycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_initiated = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_time_initiated(&has_bits); + _impl_.time_initiated_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountRecurringSubscription::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountRecurringSubscription) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 time_next_cycle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_next_cycle(), target); + } + + // optional uint32 time_initiated = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_initiated(), 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:CSOAccountRecurringSubscription) + return target; +} + +size_t CSOAccountRecurringSubscription::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountRecurringSubscription) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 time_next_cycle = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_next_cycle()); + } + + // optional uint32 time_initiated = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_initiated()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountRecurringSubscription::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountRecurringSubscription::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountRecurringSubscription::GetClassData() const { return &_class_data_; } + + +void CSOAccountRecurringSubscription::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:CSOAccountRecurringSubscription) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.time_next_cycle_ = from._impl_.time_next_cycle_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_initiated_ = from._impl_.time_initiated_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountRecurringSubscription::CopyFrom(const CSOAccountRecurringSubscription& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountRecurringSubscription) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountRecurringSubscription::IsInitialized() const { + return true; +} + +void CSOAccountRecurringSubscription::InternalSwap(CSOAccountRecurringSubscription* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountRecurringSubscription, _impl_.time_initiated_) + + sizeof(CSOAccountRecurringSubscription::_impl_.time_initiated_) + - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringSubscription, _impl_.time_next_cycle_)>( + reinterpret_cast(&_impl_.time_next_cycle_), + reinterpret_cast(&other->_impl_.time_next_cycle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountRecurringSubscription::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[127]); +} + +// =================================================================== + +class CSOGameAccountSteamChina::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_time_last_update(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time_comms_ban(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_time_play_ban(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSOGameAccountSteamChina::CSOGameAccountSteamChina(::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:CSOGameAccountSteamChina) +} +CSOGameAccountSteamChina::CSOGameAccountSteamChina(const CSOGameAccountSteamChina& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOGameAccountSteamChina* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_last_update_){} + , decltype(_impl_.time_comms_ban_){} + , decltype(_impl_.time_play_ban_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.time_last_update_, &from._impl_.time_last_update_, + static_cast(reinterpret_cast(&_impl_.time_play_ban_) - + reinterpret_cast(&_impl_.time_last_update_)) + sizeof(_impl_.time_play_ban_)); + // @@protoc_insertion_point(copy_constructor:CSOGameAccountSteamChina) +} + +inline void CSOGameAccountSteamChina::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_last_update_){0u} + , decltype(_impl_.time_comms_ban_){0u} + , decltype(_impl_.time_play_ban_){0u} + }; +} + +CSOGameAccountSteamChina::~CSOGameAccountSteamChina() { + // @@protoc_insertion_point(destructor:CSOGameAccountSteamChina) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOGameAccountSteamChina::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOGameAccountSteamChina::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOGameAccountSteamChina::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOGameAccountSteamChina) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.time_last_update_, 0, static_cast( + reinterpret_cast(&_impl_.time_play_ban_) - + reinterpret_cast(&_impl_.time_last_update_)) + sizeof(_impl_.time_play_ban_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOGameAccountSteamChina::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 time_last_update = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_time_last_update(&has_bits); + _impl_.time_last_update_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_comms_ban = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_time_comms_ban(&has_bits); + _impl_.time_comms_ban_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_play_ban = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_time_play_ban(&has_bits); + _impl_.time_play_ban_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOGameAccountSteamChina::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOGameAccountSteamChina) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 time_last_update = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_last_update(), target); + } + + // optional uint32 time_comms_ban = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_comms_ban(), target); + } + + // optional uint32 time_play_ban = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_time_play_ban(), 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:CSOGameAccountSteamChina) + return target; +} + +size_t CSOGameAccountSteamChina::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOGameAccountSteamChina) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 time_last_update = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_last_update()); + } + + // optional uint32 time_comms_ban = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_comms_ban()); + } + + // optional uint32 time_play_ban = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_play_ban()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOGameAccountSteamChina::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOGameAccountSteamChina::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOGameAccountSteamChina::GetClassData() const { return &_class_data_; } + + +void CSOGameAccountSteamChina::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:CSOGameAccountSteamChina) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.time_last_update_ = from._impl_.time_last_update_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_comms_ban_ = from._impl_.time_comms_ban_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.time_play_ban_ = from._impl_.time_play_ban_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOGameAccountSteamChina::CopyFrom(const CSOGameAccountSteamChina& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOGameAccountSteamChina) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOGameAccountSteamChina::IsInitialized() const { + return true; +} + +void CSOGameAccountSteamChina::InternalSwap(CSOGameAccountSteamChina* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOGameAccountSteamChina, _impl_.time_play_ban_) + + sizeof(CSOGameAccountSteamChina::_impl_.time_play_ban_) + - PROTOBUF_FIELD_OFFSET(CSOGameAccountSteamChina, _impl_.time_last_update_)>( + reinterpret_cast(&_impl_.time_last_update_), + reinterpret_cast(&other->_impl_.time_last_update_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOGameAccountSteamChina::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[128]); +} + +// =================================================================== + +class CSOPersonaDataPublic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_level(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::PlayerCommendationInfo& commendation(const CSOPersonaDataPublic* msg); + static void set_has_commendation(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_elevated_state(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_xp_trail_timestamp_refresh(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_xp_trail_level(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::PlayerCommendationInfo& +CSOPersonaDataPublic::_Internal::commendation(const CSOPersonaDataPublic* msg) { + return *msg->_impl_.commendation_; +} +CSOPersonaDataPublic::CSOPersonaDataPublic(::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:CSOPersonaDataPublic) +} +CSOPersonaDataPublic::CSOPersonaDataPublic(const CSOPersonaDataPublic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOPersonaDataPublic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.player_level_){} + , decltype(_impl_.elevated_state_){} + , decltype(_impl_.xp_trail_timestamp_refresh_){} + , decltype(_impl_.xp_trail_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_commendation()) { + _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); + } + ::memcpy(&_impl_.player_level_, &from._impl_.player_level_, + static_cast(reinterpret_cast(&_impl_.xp_trail_level_) - + reinterpret_cast(&_impl_.player_level_)) + sizeof(_impl_.xp_trail_level_)); + // @@protoc_insertion_point(copy_constructor:CSOPersonaDataPublic) +} + +inline void CSOPersonaDataPublic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.commendation_){nullptr} + , decltype(_impl_.player_level_){0} + , decltype(_impl_.elevated_state_){false} + , decltype(_impl_.xp_trail_timestamp_refresh_){0u} + , decltype(_impl_.xp_trail_level_){0u} + }; +} + +CSOPersonaDataPublic::~CSOPersonaDataPublic() { + // @@protoc_insertion_point(destructor:CSOPersonaDataPublic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOPersonaDataPublic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.commendation_; +} + +void CSOPersonaDataPublic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOPersonaDataPublic::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOPersonaDataPublic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.commendation_ != nullptr); + _impl_.commendation_->Clear(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.player_level_, 0, static_cast( + reinterpret_cast(&_impl_.xp_trail_level_) - + reinterpret_cast(&_impl_.player_level_)) + sizeof(_impl_.xp_trail_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOPersonaDataPublic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 player_level = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_player_level(&has_bits); + _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PlayerCommendationInfo commendation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool elevated_state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_elevated_state(&has_bits); + _impl_.elevated_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 xp_trail_timestamp_refresh = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_xp_trail_timestamp_refresh(&has_bits); + _impl_.xp_trail_timestamp_refresh_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 xp_trail_level = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_xp_trail_level(&has_bits); + _impl_.xp_trail_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOPersonaDataPublic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOPersonaDataPublic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 player_level = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_level(), target); + } + + // optional .PlayerCommendationInfo commendation = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::commendation(this), + _Internal::commendation(this).GetCachedSize(), target, stream); + } + + // optional bool elevated_state = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_elevated_state(), target); + } + + // optional uint32 xp_trail_timestamp_refresh = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_xp_trail_timestamp_refresh(), target); + } + + // optional uint32 xp_trail_level = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_xp_trail_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:CSOPersonaDataPublic) + return target; +} + +size_t CSOPersonaDataPublic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOPersonaDataPublic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .PlayerCommendationInfo commendation = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.commendation_); + } + + // optional int32 player_level = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_level()); + } + + // optional bool elevated_state = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional uint32 xp_trail_timestamp_refresh = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_timestamp_refresh()); + } + + // optional uint32 xp_trail_level = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_level()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOPersonaDataPublic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOPersonaDataPublic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOPersonaDataPublic::GetClassData() const { return &_class_data_; } + + +void CSOPersonaDataPublic::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:CSOPersonaDataPublic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( + from._internal_commendation()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.player_level_ = from._impl_.player_level_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.elevated_state_ = from._impl_.elevated_state_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.xp_trail_timestamp_refresh_ = from._impl_.xp_trail_timestamp_refresh_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.xp_trail_level_ = from._impl_.xp_trail_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOPersonaDataPublic::CopyFrom(const CSOPersonaDataPublic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOPersonaDataPublic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOPersonaDataPublic::IsInitialized() const { + return true; +} + +void CSOPersonaDataPublic::InternalSwap(CSOPersonaDataPublic* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOPersonaDataPublic, _impl_.xp_trail_level_) + + sizeof(CSOPersonaDataPublic::_impl_.xp_trail_level_) + - PROTOBUF_FIELD_OFFSET(CSOPersonaDataPublic, _impl_.commendation_)>( + reinterpret_cast(&_impl_.commendation_), + reinterpret_cast(&other->_impl_.commendation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOPersonaDataPublic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[129]); +} + +// =================================================================== + +class CSOAccountRecurringMission::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mission_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_period(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_progress(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CSOAccountRecurringMission::CSOAccountRecurringMission(::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:CSOAccountRecurringMission) +} +CSOAccountRecurringMission::CSOAccountRecurringMission(const CSOAccountRecurringMission& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSOAccountRecurringMission* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.mission_id_){} + , decltype(_impl_.period_){} + , decltype(_impl_.progress_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.progress_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.progress_)); + // @@protoc_insertion_point(copy_constructor:CSOAccountRecurringMission) +} + +inline void CSOAccountRecurringMission::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.mission_id_){0u} + , decltype(_impl_.period_){0u} + , decltype(_impl_.progress_){0u} + }; +} + +CSOAccountRecurringMission::~CSOAccountRecurringMission() { + // @@protoc_insertion_point(destructor:CSOAccountRecurringMission) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSOAccountRecurringMission::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSOAccountRecurringMission::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSOAccountRecurringMission::Clear() { +// @@protoc_insertion_point(message_clear_start:CSOAccountRecurringMission) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.progress_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.progress_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSOAccountRecurringMission::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 mission_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_mission_id(&has_bits); + _impl_.mission_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 period = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_period(&has_bits); + _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 progress = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_progress(&has_bits); + _impl_.progress_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSOAccountRecurringMission::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSOAccountRecurringMission) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional uint32 mission_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mission_id(), target); + } + + // optional uint32 period = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_period(), target); + } + + // optional uint32 progress = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_progress(), 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:CSOAccountRecurringMission) + return target; +} + +size_t CSOAccountRecurringMission::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSOAccountRecurringMission) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional uint32 mission_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mission_id()); + } + + // optional uint32 period = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); + } + + // optional uint32 progress = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_progress()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountRecurringMission::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSOAccountRecurringMission::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountRecurringMission::GetClassData() const { return &_class_data_; } + + +void CSOAccountRecurringMission::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:CSOAccountRecurringMission) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.mission_id_ = from._impl_.mission_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.period_ = from._impl_.period_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.progress_ = from._impl_.progress_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSOAccountRecurringMission::CopyFrom(const CSOAccountRecurringMission& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountRecurringMission) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSOAccountRecurringMission::IsInitialized() const { + return true; +} + +void CSOAccountRecurringMission::InternalSwap(CSOAccountRecurringMission* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSOAccountRecurringMission, _impl_.progress_) + + sizeof(CSOAccountRecurringMission::_impl_.progress_) + - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringMission, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountRecurringMission::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[130]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CSOAccountXpShop& prematch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg); + static void set_has_prematch(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CSOAccountXpShop& postmatch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg); + static void set_has_postmatch(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_current_xp(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_current_level(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CSOAccountXpShop& +CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal::prematch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg) { + return *msg->_impl_.prematch_; +} +const ::CSOAccountXpShop& +CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal::postmatch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg) { + return *msg->_impl_.postmatch_; +} +CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::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:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) +} +CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.prematch_){nullptr} + , decltype(_impl_.postmatch_){nullptr} + , decltype(_impl_.current_xp_){} + , decltype(_impl_.current_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_prematch()) { + _this->_impl_.prematch_ = new ::CSOAccountXpShop(*from._impl_.prematch_); + } + if (from._internal_has_postmatch()) { + _this->_impl_.postmatch_ = new ::CSOAccountXpShop(*from._impl_.postmatch_); + } + ::memcpy(&_impl_.current_xp_, &from._impl_.current_xp_, + static_cast(reinterpret_cast(&_impl_.current_level_) - + reinterpret_cast(&_impl_.current_xp_)) + sizeof(_impl_.current_level_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) +} + +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.prematch_){nullptr} + , decltype(_impl_.postmatch_){nullptr} + , decltype(_impl_.current_xp_){0u} + , decltype(_impl_.current_level_){0u} + }; +} + +CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::~CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.prematch_; + if (this != internal_default_instance()) delete _impl_.postmatch_; +} + +void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.prematch_ != nullptr); + _impl_.prematch_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.postmatch_ != nullptr); + _impl_.postmatch_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.current_xp_, 0, static_cast( + reinterpret_cast(&_impl_.current_level_) - + reinterpret_cast(&_impl_.current_xp_)) + sizeof(_impl_.current_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CSOAccountXpShop prematch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_prematch(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSOAccountXpShop postmatch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_postmatch(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 current_xp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_current_xp(&has_bits); + _impl_.current_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 current_level = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_current_level(&has_bits); + _impl_.current_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CSOAccountXpShop prematch = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::prematch(this), + _Internal::prematch(this).GetCachedSize(), target, stream); + } + + // optional .CSOAccountXpShop postmatch = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::postmatch(this), + _Internal::postmatch(this).GetCachedSize(), target, stream); + } + + // optional uint32 current_xp = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_current_xp(), target); + } + + // optional uint32 current_level = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_current_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:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CSOAccountXpShop prematch = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.prematch_); + } + + // optional .CSOAccountXpShop postmatch = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.postmatch_); + } + + // optional uint32 current_xp = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_xp()); + } + + // optional uint32 current_level = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_level()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::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:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_prematch()->::CSOAccountXpShop::MergeFrom( + from._internal_prematch()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_postmatch()->::CSOAccountXpShop::MergeFrom( + from._internal_postmatch()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.current_xp_ = from._impl_.current_xp_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.current_level_ = from._impl_.current_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::InternalSwap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_level_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_impl_.current_level_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.prematch_)>( + reinterpret_cast(&_impl_.prematch_), + reinterpret_cast(&other->_impl_.prematch_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[131]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::_Internal { + public: +}; + +CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) +} +CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[132]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_gs_location_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data_center_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_locked_in(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_num_found_nearby(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_note_level(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) +} +CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gs_location_id_){} + , decltype(_impl_.data_center_id_){} + , decltype(_impl_.num_locked_in_){} + , decltype(_impl_.num_found_nearby_){} + , decltype(_impl_.note_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.gs_location_id_, &from._impl_.gs_location_id_, + static_cast(reinterpret_cast(&_impl_.note_level_) - + reinterpret_cast(&_impl_.gs_location_id_)) + sizeof(_impl_.note_level_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gs_location_id_){0u} + , decltype(_impl_.data_center_id_){0u} + , decltype(_impl_.num_locked_in_){0u} + , decltype(_impl_.num_found_nearby_){0u} + , decltype(_impl_.note_level_){0u} + }; +} + +CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.gs_location_id_, 0, static_cast( + reinterpret_cast(&_impl_.note_level_) - + reinterpret_cast(&_impl_.gs_location_id_)) + sizeof(_impl_.note_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 gs_location_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_gs_location_id(&has_bits); + _impl_.gs_location_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 data_center_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_data_center_id(&has_bits); + _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_locked_in = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_num_locked_in(&has_bits); + _impl_.num_locked_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_found_nearby = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_num_found_nearby(&has_bits); + _impl_.num_found_nearby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 note_level = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_note_level(&has_bits); + _impl_.note_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 gs_location_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gs_location_id(), target); + } + + // optional uint32 data_center_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_data_center_id(), target); + } + + // optional uint32 num_locked_in = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_num_locked_in(), target); + } + + // optional uint32 num_found_nearby = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_num_found_nearby(), target); + } + + // optional uint32 note_level = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_note_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:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + return target; +} + +size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint32 gs_location_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gs_location_id()); + } + + // optional uint32 data_center_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_data_center_id()); + } + + // optional uint32 num_locked_in = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_locked_in()); + } + + // optional uint32 num_found_nearby = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_found_nearby()); + } + + // optional uint32 note_level = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_note_level()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::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:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.gs_location_id_ = from._impl_.gs_location_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.data_center_id_ = from._impl_.data_center_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_locked_in_ = from._impl_.num_locked_in_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.num_found_nearby_ = from._impl_.num_found_nearby_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.note_level_ = from._impl_.note_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.note_level_) + + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_impl_.note_level_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.gs_location_id_)>( + reinterpret_cast(&_impl_.gs_location_id_), + reinterpret_cast(&other->_impl_.gs_location_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[133]); +} + +// =================================================================== + +class CMsgGC_GlobalGame_Subscribe::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe(::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:CMsgGC_GlobalGame_Subscribe) +} +CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe(const CMsgGC_GlobalGame_Subscribe& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGC_GlobalGame_Subscribe* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ticket_ = from._impl_.ticket_; + // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Subscribe) +} + +inline void CMsgGC_GlobalGame_Subscribe::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){uint64_t{0u}} + }; +} + +CMsgGC_GlobalGame_Subscribe::~CMsgGC_GlobalGame_Subscribe() { + // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Subscribe) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGC_GlobalGame_Subscribe::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGC_GlobalGame_Subscribe::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGC_GlobalGame_Subscribe::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Subscribe) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ticket_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGC_GlobalGame_Subscribe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 ticket = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ticket(&has_bits); + _impl_.ticket_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGC_GlobalGame_Subscribe::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Subscribe) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 ticket = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), 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:CMsgGC_GlobalGame_Subscribe) + return target; +} + +size_t CMsgGC_GlobalGame_Subscribe::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Subscribe) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint64 ticket = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Subscribe::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGC_GlobalGame_Subscribe::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Subscribe::GetClassData() const { return &_class_data_; } + + +void CMsgGC_GlobalGame_Subscribe::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:CMsgGC_GlobalGame_Subscribe) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ticket()) { + _this->_internal_set_ticket(from._internal_ticket()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGC_GlobalGame_Subscribe::CopyFrom(const CMsgGC_GlobalGame_Subscribe& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Subscribe) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGC_GlobalGame_Subscribe::IsInitialized() const { + return true; +} + +void CMsgGC_GlobalGame_Subscribe::InternalSwap(CMsgGC_GlobalGame_Subscribe* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.ticket_, other->_impl_.ticket_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Subscribe::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[134]); +} + +// =================================================================== + +class CMsgGC_GlobalGame_Unsubscribe::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_timeleft(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe(::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:CMsgGC_GlobalGame_Unsubscribe) +} +CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe(const CMsgGC_GlobalGame_Unsubscribe& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGC_GlobalGame_Unsubscribe* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.timeleft_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.timeleft_ = from._impl_.timeleft_; + // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Unsubscribe) +} + +inline void CMsgGC_GlobalGame_Unsubscribe::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.timeleft_){0} + }; +} + +CMsgGC_GlobalGame_Unsubscribe::~CMsgGC_GlobalGame_Unsubscribe() { + // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Unsubscribe) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGC_GlobalGame_Unsubscribe::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGC_GlobalGame_Unsubscribe::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGC_GlobalGame_Unsubscribe::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Unsubscribe) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.timeleft_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGC_GlobalGame_Unsubscribe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 timeleft = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_timeleft(&has_bits); + _impl_.timeleft_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGC_GlobalGame_Unsubscribe::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Unsubscribe) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 timeleft = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_timeleft(), 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:CMsgGC_GlobalGame_Unsubscribe) + return target; +} + +size_t CMsgGC_GlobalGame_Unsubscribe::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Unsubscribe) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 timeleft = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timeleft()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Unsubscribe::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGC_GlobalGame_Unsubscribe::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Unsubscribe::GetClassData() const { return &_class_data_; } + + +void CMsgGC_GlobalGame_Unsubscribe::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:CMsgGC_GlobalGame_Unsubscribe) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_timeleft()) { + _this->_internal_set_timeleft(from._internal_timeleft()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGC_GlobalGame_Unsubscribe::CopyFrom(const CMsgGC_GlobalGame_Unsubscribe& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Unsubscribe) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGC_GlobalGame_Unsubscribe::IsInitialized() const { + return true; +} + +void CMsgGC_GlobalGame_Unsubscribe::InternalSwap(CMsgGC_GlobalGame_Unsubscribe* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.timeleft_, other->_impl_.timeleft_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Unsubscribe::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[135]); +} + +// =================================================================== + +class CMsgGC_GlobalGame_Play::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gametimems(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_msperpoint(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play(::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:CMsgGC_GlobalGame_Play) +} +CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play(const CMsgGC_GlobalGame_Play& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGC_GlobalGame_Play* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){} + , decltype(_impl_.gametimems_){} + , decltype(_impl_.msperpoint_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ticket_, &from._impl_.ticket_, + static_cast(reinterpret_cast(&_impl_.msperpoint_) - + reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.msperpoint_)); + // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Play) +} + +inline void CMsgGC_GlobalGame_Play::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){uint64_t{0u}} + , decltype(_impl_.gametimems_){0u} + , decltype(_impl_.msperpoint_){0u} + }; +} + +CMsgGC_GlobalGame_Play::~CMsgGC_GlobalGame_Play() { + // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Play) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGC_GlobalGame_Play::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGC_GlobalGame_Play::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGC_GlobalGame_Play::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Play) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.ticket_, 0, static_cast( + reinterpret_cast(&_impl_.msperpoint_) - + reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.msperpoint_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGC_GlobalGame_Play::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 ticket = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ticket(&has_bits); + _impl_.ticket_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gametimems = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gametimems(&has_bits); + _impl_.gametimems_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 msperpoint = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_msperpoint(&has_bits); + _impl_.msperpoint_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGC_GlobalGame_Play::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Play) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 ticket = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), target); + } + + // optional uint32 gametimems = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gametimems(), target); + } + + // optional uint32 msperpoint = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_msperpoint(), 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:CMsgGC_GlobalGame_Play) + return target; +} + +size_t CMsgGC_GlobalGame_Play::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Play) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 ticket = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); + } + + // optional uint32 gametimems = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gametimems()); + } + + // optional uint32 msperpoint = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msperpoint()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Play::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGC_GlobalGame_Play::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Play::GetClassData() const { return &_class_data_; } + + +void CMsgGC_GlobalGame_Play::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:CMsgGC_GlobalGame_Play) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ticket_ = from._impl_.ticket_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gametimems_ = from._impl_.gametimems_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.msperpoint_ = from._impl_.msperpoint_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGC_GlobalGame_Play::CopyFrom(const CMsgGC_GlobalGame_Play& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Play) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGC_GlobalGame_Play::IsInitialized() const { + return true; +} + +void CMsgGC_GlobalGame_Play::InternalSwap(CMsgGC_GlobalGame_Play* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGC_GlobalGame_Play, _impl_.msperpoint_) + + sizeof(CMsgGC_GlobalGame_Play::_impl_.msperpoint_) + - PROTOBUF_FIELD_OFFSET(CMsgGC_GlobalGame_Play, _impl_.ticket_)>( + reinterpret_cast(&_impl_.ticket_), + reinterpret_cast(&other->_impl_.ticket_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Play::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[136]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_AcknowledgePenalty::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_acknowledged(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty(::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:CMsgGCCStrike15_v2_AcknowledgePenalty) +} +CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_AcknowledgePenalty* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.acknowledged_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.acknowledged_ = from._impl_.acknowledged_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AcknowledgePenalty) +} + +inline void CMsgGCCStrike15_v2_AcknowledgePenalty::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.acknowledged_){0} + }; +} + +CMsgGCCStrike15_v2_AcknowledgePenalty::~CMsgGCCStrike15_v2_AcknowledgePenalty() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AcknowledgePenalty) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_AcknowledgePenalty::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_AcknowledgePenalty::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_AcknowledgePenalty::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AcknowledgePenalty) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.acknowledged_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_AcknowledgePenalty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 acknowledged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_acknowledged(&has_bits); + _impl_.acknowledged_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_AcknowledgePenalty::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AcknowledgePenalty) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 acknowledged = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_acknowledged(), 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:CMsgGCCStrike15_v2_AcknowledgePenalty) + return target; +} + +size_t CMsgGCCStrike15_v2_AcknowledgePenalty::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AcknowledgePenalty) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 acknowledged = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_acknowledged()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AcknowledgePenalty::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_AcknowledgePenalty::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AcknowledgePenalty::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_AcknowledgePenalty::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:CMsgGCCStrike15_v2_AcknowledgePenalty) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_acknowledged()) { + _this->_internal_set_acknowledged(from._internal_acknowledged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_AcknowledgePenalty::CopyFrom(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AcknowledgePenalty) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_AcknowledgePenalty::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_AcknowledgePenalty::InternalSwap(CMsgGCCStrike15_v2_AcknowledgePenalty* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.acknowledged_, other->_impl_.acknowledged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AcknowledgePenalty::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[137]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_defindex(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_upgradeid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_hours(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_prestigetime(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::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:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) +} +CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.upgradeid_){} + , decltype(_impl_.defindex_){} + , decltype(_impl_.hours_){} + , decltype(_impl_.prestigetime_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.upgradeid_, &from._impl_.upgradeid_, + static_cast(reinterpret_cast(&_impl_.prestigetime_) - + reinterpret_cast(&_impl_.upgradeid_)) + sizeof(_impl_.prestigetime_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) +} + +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.upgradeid_){uint64_t{0u}} + , decltype(_impl_.defindex_){0u} + , decltype(_impl_.hours_){0u} + , decltype(_impl_.prestigetime_){0u} + }; +} + +CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.upgradeid_, 0, static_cast( + reinterpret_cast(&_impl_.prestigetime_) - + reinterpret_cast(&_impl_.upgradeid_)) + sizeof(_impl_.prestigetime_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 defindex = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_defindex(&has_bits); + _impl_.defindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 upgradeid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_upgradeid(&has_bits); + _impl_.upgradeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hours = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_hours(&has_bits); + _impl_.hours_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 prestigetime = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_prestigetime(&has_bits); + _impl_.prestigetime_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 defindex = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defindex(), target); + } + + // optional uint64 upgradeid = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_upgradeid(), target); + } + + // optional uint32 hours = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_hours(), target); + } + + // optional uint32 prestigetime = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_prestigetime(), 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:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + return target; +} + +size_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 upgradeid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_upgradeid()); + } + + // optional uint32 defindex = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defindex()); + } + + // optional uint32 hours = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hours()); + } + + // optional uint32 prestigetime = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prestigetime()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::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:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.upgradeid_ = from._impl_.upgradeid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.defindex_ = from._impl_.defindex_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hours_ = from._impl_.hours_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.prestigetime_ = from._impl_.prestigetime_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CopyFrom(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::InternalSwap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.prestigetime_) + + sizeof(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_impl_.prestigetime_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.upgradeid_)>( + reinterpret_cast(&_impl_.upgradeid_), + reinterpret_cast(&other->_impl_.upgradeid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[138]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Client2GCStreamUnlock::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_os(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock(::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:CMsgGCCStrike15_v2_Client2GCStreamUnlock) +} +CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Client2GCStreamUnlock* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){} + , decltype(_impl_.os_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ticket_, &from._impl_.ticket_, + static_cast(reinterpret_cast(&_impl_.os_) - + reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.os_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCStreamUnlock) +} + +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){uint64_t{0u}} + , decltype(_impl_.os_){0} + }; +} + +CMsgGCCStrike15_v2_Client2GCStreamUnlock::~CMsgGCCStrike15_v2_Client2GCStreamUnlock() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Client2GCStreamUnlock::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.ticket_, 0, static_cast( + reinterpret_cast(&_impl_.os_) - + reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.os_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Client2GCStreamUnlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 ticket = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ticket(&has_bits); + _impl_.ticket_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 os = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_os(&has_bits); + _impl_.os_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Client2GCStreamUnlock::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 ticket = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), target); + } + + // optional int32 os = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_os(), 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:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + return target; +} + +size_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 ticket = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); + } + + // optional int32 os = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_os()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCStreamUnlock::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Client2GCStreamUnlock::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCStreamUnlock::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Client2GCStreamUnlock::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:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ticket_ = from._impl_.ticket_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.os_ = from._impl_.os_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Client2GCStreamUnlock::CopyFrom(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Client2GCStreamUnlock::InternalSwap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.os_) + + sizeof(CMsgGCCStrike15_v2_Client2GCStreamUnlock::_impl_.os_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.ticket_)>( + reinterpret_cast(&_impl_.ticket_), + reinterpret_cast(&other->_impl_.ticket_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCStreamUnlock::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[139]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientToGCRequestElevate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_stage(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate(::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:CMsgGCCStrike15_v2_ClientToGCRequestElevate) +} +CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientToGCRequestElevate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stage_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.stage_ = from._impl_.stage_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCRequestElevate) +} + +inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stage_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientToGCRequestElevate::~CMsgGCCStrike15_v2_ClientToGCRequestElevate() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestElevate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stage_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientToGCRequestElevate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 stage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_stage(&has_bits); + _impl_.stage_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientToGCRequestElevate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 stage = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_stage(), 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:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 stage = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stage()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCRequestElevate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientToGCRequestElevate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCRequestElevate::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientToGCRequestElevate::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:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_stage()) { + _this->_internal_set_stage(from._internal_stage()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestElevate::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientToGCRequestElevate::InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.stage_, other->_impl_.stage_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCRequestElevate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[140]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientToGCChat::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat(::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:CMsgGCCStrike15_v2_ClientToGCChat) +} +CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat(const CMsgGCCStrike15_v2_ClientToGCChat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientToGCChat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.match_id_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + _this->_impl_.match_id_ = from._impl_.match_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCChat) +} + +inline void CMsgGCCStrike15_v2_ClientToGCChat::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.match_id_){uint64_t{0u}} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientToGCChat::~CMsgGCCStrike15_v2_ClientToGCChat() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCChat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientToGCChat::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientToGCChat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientToGCChat::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCChat) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientToGCChat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 match_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientToGCChat.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientToGCChat::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCChat) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientToGCChat.text"); + target = stream->WriteStringMaybeAliased( + 2, 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:CMsgGCCStrike15_v2_ClientToGCChat) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientToGCChat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCChat) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCChat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientToGCChat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCChat::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientToGCChat::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:CMsgGCCStrike15_v2_ClientToGCChat) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientToGCChat::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCChat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCChat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientToGCChat::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientToGCChat::InternalSwap(CMsgGCCStrike15_v2_ClientToGCChat* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + swap(_impl_.match_id_, other->_impl_.match_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCChat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[141]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GCToClientChat::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat(::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:CMsgGCCStrike15_v2_GCToClientChat) +} +CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat(const CMsgGCCStrike15_v2_GCToClientChat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GCToClientChat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.account_id_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + _this->_impl_.account_id_ = from._impl_.account_id_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GCToClientChat) +} + +inline void CMsgGCCStrike15_v2_GCToClientChat::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.account_id_){0u} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GCToClientChat::~CMsgGCCStrike15_v2_GCToClientChat() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GCToClientChat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GCToClientChat::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CMsgGCCStrike15_v2_GCToClientChat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GCToClientChat::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GCToClientChat) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_.account_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GCToClientChat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GCToClientChat.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GCToClientChat::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GCToClientChat) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GCToClientChat.text"); + target = stream->WriteStringMaybeAliased( + 2, 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:CMsgGCCStrike15_v2_GCToClientChat) + return target; +} + +size_t CMsgGCCStrike15_v2_GCToClientChat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GCToClientChat) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GCToClientChat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GCToClientChat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GCToClientChat::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GCToClientChat::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:CMsgGCCStrike15_v2_GCToClientChat) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GCToClientChat::CopyFrom(const CMsgGCCStrike15_v2_GCToClientChat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GCToClientChat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GCToClientChat::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GCToClientChat::InternalSwap(CMsgGCCStrike15_v2_GCToClientChat* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + swap(_impl_.account_id_, other->_impl_.account_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GCToClientChat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[142]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientAuthKeyCode::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_code(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode(::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:CMsgGCCStrike15_v2_ClientAuthKeyCode) +} +CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientAuthKeyCode* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.code_){} + , decltype(_impl_.eventid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_code()) { + _this->_impl_.code_.Set(from._internal_code(), + _this->GetArenaForAllocation()); + } + _this->_impl_.eventid_ = from._impl_.eventid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientAuthKeyCode) +} + +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.code_){} + , decltype(_impl_.eventid_){0u} + }; + _impl_.code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientAuthKeyCode::~CMsgGCCStrike15_v2_ClientAuthKeyCode() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientAuthKeyCode) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.code_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientAuthKeyCode::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientAuthKeyCode::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.code_.ClearNonDefaultToEmpty(); + } + _impl_.eventid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientAuthKeyCode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string code = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_code(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientAuthKeyCode.code"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientAuthKeyCode::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eventid(), target); + } + + // optional string code = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_code().data(), static_cast(this->_internal_code().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientAuthKeyCode.code"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_code(), 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:CMsgGCCStrike15_v2_ClientAuthKeyCode) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientAuthKeyCode::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string code = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_code()); + } + + // optional uint32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eventid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientAuthKeyCode::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientAuthKeyCode::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientAuthKeyCode::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientAuthKeyCode::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:CMsgGCCStrike15_v2_ClientAuthKeyCode) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_code(from._internal_code()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientAuthKeyCode::CopyFrom(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientAuthKeyCode::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientAuthKeyCode::InternalSwap(CMsgGCCStrike15_v2_ClientAuthKeyCode* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.code_, lhs_arena, + &other->_impl_.code_, rhs_arena + ); + swap(_impl_.eventid_, other->_impl_.eventid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientAuthKeyCode::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[143]); +} + +// =================================================================== + +class CMsgGCCStrike15_GotvSyncPacket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEngineGotvSyncPacket& data(const CMsgGCCStrike15_GotvSyncPacket* msg); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEngineGotvSyncPacket& +CMsgGCCStrike15_GotvSyncPacket::_Internal::data(const CMsgGCCStrike15_GotvSyncPacket* msg) { + return *msg->_impl_.data_; +} +void CMsgGCCStrike15_GotvSyncPacket::clear_data() { + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket(::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:CMsgGCCStrike15_GotvSyncPacket) +} +CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket(const CMsgGCCStrike15_GotvSyncPacket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_GotvSyncPacket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_data()) { + _this->_impl_.data_ = new ::CEngineGotvSyncPacket(*from._impl_.data_); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_GotvSyncPacket) +} + +inline void CMsgGCCStrike15_GotvSyncPacket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + }; +} + +CMsgGCCStrike15_GotvSyncPacket::~CMsgGCCStrike15_GotvSyncPacket() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_GotvSyncPacket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_GotvSyncPacket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.data_; +} + +void CMsgGCCStrike15_GotvSyncPacket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_GotvSyncPacket::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_GotvSyncPacket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_GotvSyncPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEngineGotvSyncPacket data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_GotvSyncPacket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_GotvSyncPacket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEngineGotvSyncPacket data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::data(this), + _Internal::data(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:CMsgGCCStrike15_GotvSyncPacket) + return target; +} + +size_t CMsgGCCStrike15_GotvSyncPacket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_GotvSyncPacket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CEngineGotvSyncPacket data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.data_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_GotvSyncPacket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_GotvSyncPacket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_GotvSyncPacket::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_GotvSyncPacket::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:CMsgGCCStrike15_GotvSyncPacket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_mutable_data()->::CEngineGotvSyncPacket::MergeFrom( + from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_GotvSyncPacket::CopyFrom(const CMsgGCCStrike15_GotvSyncPacket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_GotvSyncPacket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_GotvSyncPacket::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_GotvSyncPacket::InternalSwap(CMsgGCCStrike15_GotvSyncPacket* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.data_, other->_impl_.data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_GotvSyncPacket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[144]); +} + +// =================================================================== + +class PlayerDecalDigitalSignature::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rtime(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_tx_defidx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_entindex(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_hitbox(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_creationtime(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_equipslot(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_trace_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_tint_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +PlayerDecalDigitalSignature::PlayerDecalDigitalSignature(::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:PlayerDecalDigitalSignature) +} +PlayerDecalDigitalSignature::PlayerDecalDigitalSignature(const PlayerDecalDigitalSignature& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerDecalDigitalSignature* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.endpos_){from._impl_.endpos_} + , decltype(_impl_.startpos_){from._impl_.startpos_} + , decltype(_impl_.left_){from._impl_.left_} + , decltype(_impl_.normal_){from._impl_.normal_} + , decltype(_impl_.signature_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.rtime_){} + , decltype(_impl_.tx_defidx_){} + , decltype(_impl_.entindex_){} + , decltype(_impl_.hitbox_){} + , decltype(_impl_.creationtime_){} + , decltype(_impl_.equipslot_){} + , decltype(_impl_.trace_id_){} + , decltype(_impl_.tint_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.tint_id_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.tint_id_)); + // @@protoc_insertion_point(copy_constructor:PlayerDecalDigitalSignature) +} + +inline void PlayerDecalDigitalSignature::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.endpos_){arena} + , decltype(_impl_.startpos_){arena} + , decltype(_impl_.left_){arena} + , decltype(_impl_.normal_){arena} + , decltype(_impl_.signature_){} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.rtime_){0u} + , decltype(_impl_.tx_defidx_){0u} + , decltype(_impl_.entindex_){0} + , decltype(_impl_.hitbox_){0u} + , decltype(_impl_.creationtime_){0} + , decltype(_impl_.equipslot_){0u} + , decltype(_impl_.trace_id_){0u} + , decltype(_impl_.tint_id_){0u} + }; + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerDecalDigitalSignature::~PlayerDecalDigitalSignature() { + // @@protoc_insertion_point(destructor:PlayerDecalDigitalSignature) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerDecalDigitalSignature::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.endpos_.~RepeatedField(); + _impl_.startpos_.~RepeatedField(); + _impl_.left_.~RepeatedField(); + _impl_.normal_.~RepeatedField(); + _impl_.signature_.Destroy(); +} + +void PlayerDecalDigitalSignature::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerDecalDigitalSignature::Clear() { +// @@protoc_insertion_point(message_clear_start:PlayerDecalDigitalSignature) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.endpos_.Clear(); + _impl_.startpos_.Clear(); + _impl_.left_.Clear(); + _impl_.normal_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.equipslot_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.equipslot_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.trace_id_, 0, static_cast( + reinterpret_cast(&_impl_.tint_id_) - + reinterpret_cast(&_impl_.trace_id_)) + sizeof(_impl_.tint_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerDecalDigitalSignature::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes signature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 accountid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rtime = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_rtime(&has_bits); + _impl_.rtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float endpos = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_endpos(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_endpos(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float startpos = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_startpos(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_startpos(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float left = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_left(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<53>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_left(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tx_defidx = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_tx_defidx(&has_bits); + _impl_.tx_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entindex = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_entindex(&has_bits); + _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hitbox = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_hitbox(&has_bits); + _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float creationtime = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_creationtime(&has_bits); + _impl_.creationtime_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 equipslot = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_equipslot(&has_bits); + _impl_.equipslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 trace_id = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_trace_id(&has_bits); + _impl_.trace_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float normal = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_normal(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<109>(ptr)); + } else if (static_cast(tag) == 106) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_normal(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tint_id = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_tint_id(&has_bits); + _impl_.tint_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerDecalDigitalSignature::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PlayerDecalDigitalSignature) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes signature = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_signature(), target); + } + + // optional uint32 accountid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_accountid(), target); + } + + // optional uint32 rtime = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rtime(), target); + } + + // repeated float endpos = 4; + for (int i = 0, n = this->_internal_endpos_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_endpos(i), target); + } + + // repeated float startpos = 5; + for (int i = 0, n = this->_internal_startpos_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_startpos(i), target); + } + + // repeated float left = 6; + for (int i = 0, n = this->_internal_left_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_left(i), target); + } + + // optional uint32 tx_defidx = 7; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tx_defidx(), target); + } + + // optional int32 entindex = 8; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_entindex(), target); + } + + // optional uint32 hitbox = 9; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_hitbox(), target); + } + + // optional float creationtime = 10; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_creationtime(), target); + } + + // optional uint32 equipslot = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_equipslot(), target); + } + + // optional uint32 trace_id = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_trace_id(), target); + } + + // repeated float normal = 13; + for (int i = 0, n = this->_internal_normal_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_normal(i), target); + } + + // optional uint32 tint_id = 14; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_tint_id(), 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:PlayerDecalDigitalSignature) + return target; +} + +size_t PlayerDecalDigitalSignature::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PlayerDecalDigitalSignature) + 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 float endpos = 4; + { + unsigned int count = static_cast(this->_internal_endpos_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_endpos_size()); + total_size += data_size; + } + + // repeated float startpos = 5; + { + unsigned int count = static_cast(this->_internal_startpos_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_startpos_size()); + total_size += data_size; + } + + // repeated float left = 6; + { + unsigned int count = static_cast(this->_internal_left_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_left_size()); + total_size += data_size; + } + + // repeated float normal = 13; + { + unsigned int count = static_cast(this->_internal_normal_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_normal_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes signature = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional uint32 accountid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 rtime = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime()); + } + + // optional uint32 tx_defidx = 7; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tx_defidx()); + } + + // optional int32 entindex = 8; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entindex()); + } + + // optional uint32 hitbox = 9; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); + } + + // optional float creationtime = 10; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 equipslot = 11; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_equipslot()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional uint32 trace_id = 12; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_trace_id()); + } + + // optional uint32 tint_id = 14; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tint_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerDecalDigitalSignature::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerDecalDigitalSignature::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerDecalDigitalSignature::GetClassData() const { return &_class_data_; } + + +void PlayerDecalDigitalSignature::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:PlayerDecalDigitalSignature) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.endpos_.MergeFrom(from._impl_.endpos_); + _this->_impl_.startpos_.MergeFrom(from._impl_.startpos_); + _this->_impl_.left_.MergeFrom(from._impl_.left_); + _this->_impl_.normal_.MergeFrom(from._impl_.normal_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.rtime_ = from._impl_.rtime_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.tx_defidx_ = from._impl_.tx_defidx_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.entindex_ = from._impl_.entindex_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.hitbox_ = from._impl_.hitbox_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.creationtime_ = from._impl_.creationtime_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.equipslot_ = from._impl_.equipslot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.trace_id_ = from._impl_.trace_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.tint_id_ = from._impl_.tint_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerDecalDigitalSignature::CopyFrom(const PlayerDecalDigitalSignature& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PlayerDecalDigitalSignature) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerDecalDigitalSignature::IsInitialized() const { + return true; +} + +void PlayerDecalDigitalSignature::InternalSwap(PlayerDecalDigitalSignature* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.endpos_.InternalSwap(&other->_impl_.endpos_); + _impl_.startpos_.InternalSwap(&other->_impl_.startpos_); + _impl_.left_.InternalSwap(&other->_impl_.left_); + _impl_.normal_.InternalSwap(&other->_impl_.normal_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerDecalDigitalSignature, _impl_.tint_id_) + + sizeof(PlayerDecalDigitalSignature::_impl_.tint_id_) + - PROTOBUF_FIELD_OFFSET(PlayerDecalDigitalSignature, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerDecalDigitalSignature::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[145]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPlayerDecalSign::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::PlayerDecalDigitalSignature& data(const CMsgGCCStrike15_v2_ClientPlayerDecalSign* msg); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::PlayerDecalDigitalSignature& +CMsgGCCStrike15_v2_ClientPlayerDecalSign::_Internal::data(const CMsgGCCStrike15_v2_ClientPlayerDecalSign* msg) { + return *msg->_impl_.data_; +} +CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign(::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:CMsgGCCStrike15_v2_ClientPlayerDecalSign) +} +CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPlayerDecalSign* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + , decltype(_impl_.itemid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_data()) { + _this->_impl_.data_ = new ::PlayerDecalDigitalSignature(*from._impl_.data_); + } + _this->_impl_.itemid_ = from._impl_.itemid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPlayerDecalSign) +} + +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + , decltype(_impl_.itemid_){uint64_t{0u}} + }; +} + +CMsgGCCStrike15_v2_ClientPlayerDecalSign::~CMsgGCCStrike15_v2_ClientPlayerDecalSign() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.data_; +} + +void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPlayerDecalSign::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .PlayerDecalDigitalSignature data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 itemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .PlayerDecalDigitalSignature data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::data(this), + _Internal::data(this).GetCachedSize(), target, stream); + } + + // optional uint64 itemid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_itemid(), 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:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .PlayerDecalDigitalSignature data = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.data_); + } + + // optional uint64 itemid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPlayerDecalSign::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPlayerDecalSign::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPlayerDecalSign::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPlayerDecalSign::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:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_data()->::PlayerDecalDigitalSignature::MergeFrom( + from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPlayerDecalSign::CopyFrom(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPlayerDecalSign::InternalSwap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.itemid_) + + sizeof(CMsgGCCStrike15_v2_ClientPlayerDecalSign::_impl_.itemid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.data_)>( + reinterpret_cast(&_impl_.data_), + reinterpret_cast(&other->_impl_.data_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPlayerDecalSign::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[146]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_BetaEnrollment::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eresult(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment(::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:CMsgGCCStrike15_v2_BetaEnrollment) +} +CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment(const CMsgGCCStrike15_v2_BetaEnrollment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_BetaEnrollment* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eresult_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.eresult_ = from._impl_.eresult_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_BetaEnrollment) +} + +inline void CMsgGCCStrike15_v2_BetaEnrollment::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eresult_){0u} + }; +} + +CMsgGCCStrike15_v2_BetaEnrollment::~CMsgGCCStrike15_v2_BetaEnrollment() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_BetaEnrollment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_BetaEnrollment::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_BetaEnrollment::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_BetaEnrollment::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_BetaEnrollment) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.eresult_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_BetaEnrollment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 eresult = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eresult(&has_bits); + _impl_.eresult_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_BetaEnrollment::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_BetaEnrollment) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 eresult = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eresult(), 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:CMsgGCCStrike15_v2_BetaEnrollment) + return target; +} + +size_t CMsgGCCStrike15_v2_BetaEnrollment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_BetaEnrollment) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 eresult = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eresult()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_BetaEnrollment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_BetaEnrollment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_BetaEnrollment::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_BetaEnrollment::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:CMsgGCCStrike15_v2_BetaEnrollment) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_eresult()) { + _this->_internal_set_eresult(from._internal_eresult()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_BetaEnrollment::CopyFrom(const CMsgGCCStrike15_v2_BetaEnrollment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_BetaEnrollment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_BetaEnrollment::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_BetaEnrollment::InternalSwap(CMsgGCCStrike15_v2_BetaEnrollment* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.eresult_, other->_impl_.eresult_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_BetaEnrollment::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[147]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientLogonFatalError::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_errorcode(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_country(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError(::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:CMsgGCCStrike15_v2_ClientLogonFatalError) +} +CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientLogonFatalError* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.country_){} + , decltype(_impl_.errorcode_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_country()) { + _this->_impl_.country_.Set(from._internal_country(), + _this->GetArenaForAllocation()); + } + _this->_impl_.errorcode_ = from._impl_.errorcode_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientLogonFatalError) +} + +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.country_){} + , decltype(_impl_.errorcode_){0u} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientLogonFatalError::~CMsgGCCStrike15_v2_ClientLogonFatalError() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientLogonFatalError) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); + _impl_.country_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientLogonFatalError::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientLogonFatalError::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientLogonFatalError) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.country_.ClearNonDefaultToEmpty(); + } + } + _impl_.errorcode_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientLogonFatalError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 errorcode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_errorcode(&has_bits); + _impl_.errorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientLogonFatalError.message"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string country = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_country(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientLogonFatalError.country"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientLogonFatalError::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientLogonFatalError) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 errorcode = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_errorcode(), target); + } + + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientLogonFatalError.message"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_message(), target); + } + + // optional string country = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_country().data(), static_cast(this->_internal_country().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientLogonFatalError.country"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_country(), 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:CMsgGCCStrike15_v2_ClientLogonFatalError) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientLogonFatalError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientLogonFatalError) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + // optional string country = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_country()); + } + + // optional uint32 errorcode = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_errorcode()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientLogonFatalError::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientLogonFatalError::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientLogonFatalError::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientLogonFatalError::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:CMsgGCCStrike15_v2_ClientLogonFatalError) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_message(from._internal_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_country(from._internal_country()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.errorcode_ = from._impl_.errorcode_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientLogonFatalError::CopyFrom(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientLogonFatalError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientLogonFatalError::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientLogonFatalError::InternalSwap(CMsgGCCStrike15_v2_ClientLogonFatalError* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.country_, lhs_arena, + &other->_impl_.country_, rhs_arena + ); + swap(_impl_.errorcode_, other->_impl_.errorcode_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientLogonFatalError::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[148]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPollState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pollid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState(::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:CMsgGCCStrike15_v2_ClientPollState) +} +CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState(const CMsgGCCStrike15_v2_ClientPollState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPollState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.names_){from._impl_.names_} + , decltype(_impl_.values_){from._impl_.values_} + , decltype(_impl_.pollid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.pollid_ = from._impl_.pollid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPollState) +} + +inline void CMsgGCCStrike15_v2_ClientPollState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.names_){arena} + , decltype(_impl_.values_){arena} + , decltype(_impl_.pollid_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientPollState::~CMsgGCCStrike15_v2_ClientPollState() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPollState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPollState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.names_.~RepeatedPtrField(); + _impl_.values_.~RepeatedField(); +} + +void CMsgGCCStrike15_v2_ClientPollState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPollState::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPollState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.names_.Clear(); + _impl_.values_.Clear(); + _impl_.pollid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPollState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 pollid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_pollid(&has_bits); + _impl_.pollid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string names = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_names(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientPollState.names"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated int32 values = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_values(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientPollState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPollState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 pollid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pollid(), target); + } + + // repeated string names = 2; + for (int i = 0, n = this->_internal_names_size(); i < n; i++) { + const auto& s = this->_internal_names(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientPollState.names"); + target = stream->WriteString(2, s, target); + } + + // repeated int32 values = 3; + for (int i = 0, n = this->_internal_values_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_values(i), 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:CMsgGCCStrike15_v2_ClientPollState) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPollState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPollState) + 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 names = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.names_.size()); + for (int i = 0, n = _impl_.names_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.names_.Get(i)); + } + + // repeated int32 values = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.values_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_values_size()); + total_size += data_size; + } + + // optional uint32 pollid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pollid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPollState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPollState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPollState::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPollState::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:CMsgGCCStrike15_v2_ClientPollState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.names_.MergeFrom(from._impl_.names_); + _this->_impl_.values_.MergeFrom(from._impl_.values_); + if (from._internal_has_pollid()) { + _this->_internal_set_pollid(from._internal_pollid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPollState::CopyFrom(const CMsgGCCStrike15_v2_ClientPollState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPollState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPollState::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPollState::InternalSwap(CMsgGCCStrike15_v2_ClientPollState* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.names_.InternalSwap(&other->_impl_.names_); + _impl_.values_.InternalSwap(&other->_impl_.values_); + swap(_impl_.pollid_, other->_impl_.pollid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPollState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[149]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Party_Register::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ver(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_apr(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ark(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_nby(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_grp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_slots(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register(::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:CMsgGCCStrike15_v2_Party_Register) +} +CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register(const CMsgGCCStrike15_v2_Party_Register& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Party_Register* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.ver_){} + , decltype(_impl_.apr_){} + , decltype(_impl_.ark_){} + , decltype(_impl_.nby_){} + , decltype(_impl_.grp_){} + , decltype(_impl_.slots_){} + , decltype(_impl_.launcher_){} + , decltype(_impl_.game_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.game_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Register) +} + +inline void CMsgGCCStrike15_v2_Party_Register::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){0u} + , decltype(_impl_.ver_){0u} + , decltype(_impl_.apr_){0u} + , decltype(_impl_.ark_){0u} + , decltype(_impl_.nby_){0u} + , decltype(_impl_.grp_){0u} + , decltype(_impl_.slots_){0u} + , decltype(_impl_.launcher_){0u} + , decltype(_impl_.game_type_){0u} + }; +} + +CMsgGCCStrike15_v2_Party_Register::~CMsgGCCStrike15_v2_Party_Register() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Register) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Party_Register::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Party_Register::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Party_Register::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Register) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.launcher_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.launcher_)); + } + _impl_.game_type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Party_Register::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ver = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ver(&has_bits); + _impl_.ver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 apr = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_apr(&has_bits); + _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ark = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ark(&has_bits); + _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 nby = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_nby(&has_bits); + _impl_.nby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 grp = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_grp(&has_bits); + _impl_.grp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 slots = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_slots(&has_bits); + _impl_.slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 launcher = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_launcher(&has_bits); + _impl_.launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Party_Register::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Register) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 ver = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ver(), target); + } + + // optional uint32 apr = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_apr(), target); + } + + // optional uint32 ark = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ark(), target); + } + + // optional uint32 nby = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_nby(), target); + } + + // optional uint32 grp = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_grp(), target); + } + + // optional uint32 slots = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_slots(), target); + } + + // optional uint32 launcher = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_launcher(), target); + } + + // optional uint32 game_type = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_game_type(), 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:CMsgGCCStrike15_v2_Party_Register) + return target; +} + +size_t CMsgGCCStrike15_v2_Party_Register::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Register) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 ver = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ver()); + } + + // optional uint32 apr = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); + } + + // optional uint32 ark = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); + } + + // optional uint32 nby = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nby()); + } + + // optional uint32 grp = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grp()); + } + + // optional uint32 slots = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slots()); + } + + // optional uint32 launcher = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_launcher()); + } + + } + // optional uint32 game_type = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Register::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Party_Register::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Register::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Party_Register::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:CMsgGCCStrike15_v2_Party_Register) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ver_ = from._impl_.ver_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.apr_ = from._impl_.apr_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ark_ = from._impl_.ark_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.nby_ = from._impl_.nby_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.grp_ = from._impl_.grp_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.slots_ = from._impl_.slots_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.launcher_ = from._impl_.launcher_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_game_type(from._internal_game_type()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Party_Register::CopyFrom(const CMsgGCCStrike15_v2_Party_Register& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Register) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Party_Register::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Party_Register::InternalSwap(CMsgGCCStrike15_v2_Party_Register* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Register, _impl_.game_type_) + + sizeof(CMsgGCCStrike15_v2_Party_Register::_impl_.game_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Register, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Register::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[150]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Party_Search::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ver(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_apr(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ark(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search(::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:CMsgGCCStrike15_v2_Party_Search) +} +CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search(const CMsgGCCStrike15_v2_Party_Search& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Party_Search* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.grps_){from._impl_.grps_} + , decltype(_impl_.ver_){} + , decltype(_impl_.apr_){} + , decltype(_impl_.ark_){} + , decltype(_impl_.launcher_){} + , decltype(_impl_.game_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ver_, &from._impl_.ver_, + static_cast(reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.game_type_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Search) +} + +inline void CMsgGCCStrike15_v2_Party_Search::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.grps_){arena} + , decltype(_impl_.ver_){0u} + , decltype(_impl_.apr_){0u} + , decltype(_impl_.ark_){0u} + , decltype(_impl_.launcher_){0u} + , decltype(_impl_.game_type_){0u} + }; +} + +CMsgGCCStrike15_v2_Party_Search::~CMsgGCCStrike15_v2_Party_Search() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Search) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Party_Search::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.grps_.~RepeatedField(); +} + +void CMsgGCCStrike15_v2_Party_Search::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Party_Search::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Search) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.grps_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.ver_, 0, static_cast( + reinterpret_cast(&_impl_.game_type_) - + reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.game_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Party_Search::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 ver = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ver(&has_bits); + _impl_.ver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 apr = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_apr(&has_bits); + _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ark = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ark(&has_bits); + _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 grps = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_grps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_grps(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 launcher = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_launcher(&has_bits); + _impl_.launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Party_Search::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Search) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 ver = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ver(), target); + } + + // optional uint32 apr = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_apr(), target); + } + + // optional uint32 ark = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ark(), target); + } + + // repeated uint32 grps = 4; + for (int i = 0, n = this->_internal_grps_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_grps(i), target); + } + + // optional uint32 launcher = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_launcher(), target); + } + + // optional uint32 game_type = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_game_type(), 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:CMsgGCCStrike15_v2_Party_Search) + return target; +} + +size_t CMsgGCCStrike15_v2_Party_Search::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Search) + 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 uint32 grps = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.grps_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_grps_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint32 ver = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ver()); + } + + // optional uint32 apr = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); + } + + // optional uint32 ark = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); + } + + // optional uint32 launcher = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_launcher()); + } + + // optional uint32 game_type = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Search::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Party_Search::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Search::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Party_Search::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:CMsgGCCStrike15_v2_Party_Search) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.grps_.MergeFrom(from._impl_.grps_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ver_ = from._impl_.ver_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.apr_ = from._impl_.apr_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ark_ = from._impl_.ark_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.launcher_ = from._impl_.launcher_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Party_Search::CopyFrom(const CMsgGCCStrike15_v2_Party_Search& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Search) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Party_Search::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Party_Search::InternalSwap(CMsgGCCStrike15_v2_Party_Search* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.grps_.InternalSwap(&other->_impl_.grps_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Search, _impl_.game_type_) + + sizeof(CMsgGCCStrike15_v2_Party_Search::_impl_.game_type_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Search, _impl_.ver_)>( + reinterpret_cast(&_impl_.ver_), + reinterpret_cast(&other->_impl_.ver_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Search::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[151]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Party_SearchResults_Entry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_grp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_apr(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ark(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_loc(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry(::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:CMsgGCCStrike15_v2_Party_SearchResults.Entry) +} +CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Party_SearchResults_Entry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.grp_){} + , decltype(_impl_.game_type_){} + , decltype(_impl_.apr_){} + , decltype(_impl_.ark_){} + , decltype(_impl_.loc_){} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.accountid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_SearchResults.Entry) +} + +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){0u} + , decltype(_impl_.grp_){0u} + , decltype(_impl_.game_type_){0u} + , decltype(_impl_.apr_){0u} + , decltype(_impl_.ark_){0u} + , decltype(_impl_.loc_){0u} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_Party_SearchResults_Entry::~CMsgGCCStrike15_v2_Party_SearchResults_Entry() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Party_SearchResults_Entry::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.accountid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Party_SearchResults_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 grp = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_grp(&has_bits); + _impl_.grp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 game_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_game_type(&has_bits); + _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 apr = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_apr(&has_bits); + _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ark = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ark(&has_bits); + _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 loc = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_loc(&has_bits); + _impl_.loc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 accountid = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Party_SearchResults_Entry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 grp = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_grp(), target); + } + + // optional uint32 game_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_game_type(), target); + } + + // optional uint32 apr = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_apr(), target); + } + + // optional uint32 ark = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ark(), target); + } + + // optional uint32 loc = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_loc(), target); + } + + // optional uint32 accountid = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_accountid(), 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:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + return target; +} + +size_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 grp = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grp()); + } + + // optional uint32 game_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); + } + + // optional uint32 apr = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); + } + + // optional uint32 ark = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); + } + + // optional uint32 loc = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_loc()); + } + + // optional uint32 accountid = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_SearchResults_Entry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Party_SearchResults_Entry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_SearchResults_Entry::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Party_SearchResults_Entry::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:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.grp_ = from._impl_.grp_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.game_type_ = from._impl_.game_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.apr_ = from._impl_.apr_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ark_ = from._impl_.ark_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.loc_ = from._impl_.loc_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Party_SearchResults_Entry::CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Party_SearchResults_Entry::InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.accountid_) + + sizeof(CMsgGCCStrike15_v2_Party_SearchResults_Entry::_impl_.accountid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_SearchResults_Entry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[152]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Party_SearchResults::_Internal { + public: +}; + +CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults(::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:CMsgGCCStrike15_v2_Party_SearchResults) +} +CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults(const CMsgGCCStrike15_v2_Party_SearchResults& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Party_SearchResults* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){from._impl_.entries_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_SearchResults) +} + +inline void CMsgGCCStrike15_v2_Party_SearchResults::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgGCCStrike15_v2_Party_SearchResults::~CMsgGCCStrike15_v2_Party_SearchResults() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_SearchResults) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Party_SearchResults::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Party_SearchResults::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Party_SearchResults::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_SearchResults) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Party_SearchResults::_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 .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entries(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgGCCStrike15_v2_Party_SearchResults::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_SearchResults) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_entries_size()); i < n; i++) { + const auto& repfield = this->_internal_entries(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgGCCStrike15_v2_Party_SearchResults) + return target; +} + +size_t CMsgGCCStrike15_v2_Party_SearchResults::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_SearchResults) + 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 .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; + total_size += 1UL * this->_internal_entries_size(); + for (const auto& msg : this->_impl_.entries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_SearchResults::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Party_SearchResults::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_SearchResults::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Party_SearchResults::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:CMsgGCCStrike15_v2_Party_SearchResults) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Party_SearchResults::CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_SearchResults) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Party_SearchResults::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Party_SearchResults::InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_SearchResults::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[153]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Party_Invite::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_lobbyid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite(::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:CMsgGCCStrike15_v2_Party_Invite) +} +CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite(const CMsgGCCStrike15_v2_Party_Invite& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Party_Invite* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){} + , decltype(_impl_.lobbyid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.lobbyid_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.lobbyid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Invite) +} + +inline void CMsgGCCStrike15_v2_Party_Invite::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.lobbyid_){0u} + }; +} + +CMsgGCCStrike15_v2_Party_Invite::~CMsgGCCStrike15_v2_Party_Invite() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Invite) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Party_Invite::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Party_Invite::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Party_Invite::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Invite) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.lobbyid_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.lobbyid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Party_Invite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 lobbyid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_lobbyid(&has_bits); + _impl_.lobbyid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Party_Invite::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Invite) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint32 lobbyid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_lobbyid(), 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:CMsgGCCStrike15_v2_Party_Invite) + return target; +} + +size_t CMsgGCCStrike15_v2_Party_Invite::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Invite) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 lobbyid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lobbyid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Invite::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Party_Invite::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Invite::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Party_Invite::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:CMsgGCCStrike15_v2_Party_Invite) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Party_Invite::CopyFrom(const CMsgGCCStrike15_v2_Party_Invite& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Invite) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Party_Invite::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Party_Invite::InternalSwap(CMsgGCCStrike15_v2_Party_Invite* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Invite, _impl_.lobbyid_) + + sizeof(CMsgGCCStrike15_v2_Party_Invite::_impl_.lobbyid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Invite, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Invite::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[154]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rtcoplay(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_online(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_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:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) +} +CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){} + , decltype(_impl_.rtcoplay_){} + , decltype(_impl_.online_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.online_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.online_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) +} + +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.rtcoplay_){0u} + , decltype(_impl_.online_){false} + }; +} + +CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::~CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.online_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.online_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rtcoplay = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rtcoplay(&has_bits); + _impl_.rtcoplay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool online = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_online(&has_bits); + _impl_.online_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint32 rtcoplay = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rtcoplay(), target); + } + + // optional bool online = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_online(), 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:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + return target; +} + +size_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 rtcoplay = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtcoplay()); + } + + // optional bool online = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Account_RequestCoPlays_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:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rtcoplay_ = from._impl_.rtcoplay_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.online_ = from._impl_.online_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.online_) + + sizeof(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_impl_.online_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[155]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_Account_RequestCoPlays::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_servertime(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays(::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:CMsgGCCStrike15_v2_Account_RequestCoPlays) +} +CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_Account_RequestCoPlays* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.servertime_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.servertime_ = from._impl_.servertime_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays) +} + +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){arena} + , decltype(_impl_.servertime_){0u} + }; +} + +CMsgGCCStrike15_v2_Account_RequestCoPlays::~CMsgGCCStrike15_v2_Account_RequestCoPlays() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Account_RequestCoPlays) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_.Clear(); + _impl_.servertime_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_Account_RequestCoPlays::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + 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<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 servertime = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_servertime(&has_bits); + _impl_.servertime_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_Account_RequestCoPlays::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; + 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(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 servertime = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servertime(), 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:CMsgGCCStrike15_v2_Account_RequestCoPlays) + return target; +} + +size_t CMsgGCCStrike15_v2_Account_RequestCoPlays::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) + 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 .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; + total_size += 1UL * this->_internal_players_size(); + for (const auto& msg : this->_impl_.players_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 servertime = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Account_RequestCoPlays::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_Account_RequestCoPlays::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Account_RequestCoPlays::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_Account_RequestCoPlays::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:CMsgGCCStrike15_v2_Account_RequestCoPlays) + 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_has_servertime()) { + _this->_internal_set_servertime(from._internal_servertime()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays::CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_Account_RequestCoPlays::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_Account_RequestCoPlays::InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.players_.InternalSwap(&other->_impl_.players_); + swap(_impl_.servertime_, other->_impl_.servertime_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Account_RequestCoPlays::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[156]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientToGCRequestTicket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_authorized_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_authorized_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_gameserver_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_gameserver_sdr_routing(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket(::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:CMsgGCCStrike15_v2_ClientToGCRequestTicket) +} +CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientToGCRequestTicket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_sdr_routing_){} + , decltype(_impl_.authorized_steam_id_){} + , decltype(_impl_.gameserver_steam_id_){} + , decltype(_impl_.authorized_public_ip_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.gameserver_sdr_routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gameserver_sdr_routing()) { + _this->_impl_.gameserver_sdr_routing_.Set(from._internal_gameserver_sdr_routing(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.authorized_steam_id_, &from._impl_.authorized_steam_id_, + static_cast(reinterpret_cast(&_impl_.authorized_public_ip_) - + reinterpret_cast(&_impl_.authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCRequestTicket) +} + +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_sdr_routing_){} + , decltype(_impl_.authorized_steam_id_){uint64_t{0u}} + , decltype(_impl_.gameserver_steam_id_){uint64_t{0u}} + , decltype(_impl_.authorized_public_ip_){0u} + }; + _impl_.gameserver_sdr_routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientToGCRequestTicket::~CMsgGCCStrike15_v2_ClientToGCRequestTicket() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gameserver_sdr_routing_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.gameserver_sdr_routing_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.authorized_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.authorized_public_ip_) - + reinterpret_cast(&_impl_.authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 authorized_steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_authorized_steam_id(&has_bits); + _impl_.authorized_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 authorized_public_ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_authorized_public_ip(&has_bits); + _impl_.authorized_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 gameserver_steam_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_gameserver_steam_id(&has_bits); + _impl_.gameserver_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string gameserver_sdr_routing = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_gameserver_sdr_routing(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 authorized_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_authorized_steam_id(), target); + } + + // optional fixed32 authorized_public_ip = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_authorized_public_ip(), target); + } + + // optional fixed64 gameserver_steam_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_gameserver_steam_id(), target); + } + + // optional string gameserver_sdr_routing = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gameserver_sdr_routing().data(), static_cast(this->_internal_gameserver_sdr_routing().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_gameserver_sdr_routing(), 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:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string gameserver_sdr_routing = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gameserver_sdr_routing()); + } + + // optional fixed64 authorized_steam_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional fixed64 gameserver_steam_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional fixed32 authorized_public_ip = 2; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCRequestTicket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientToGCRequestTicket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCRequestTicket::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::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:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_gameserver_sdr_routing(from._internal_gameserver_sdr_routing()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.authorized_steam_id_ = from._impl_.authorized_steam_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.gameserver_steam_id_ = from._impl_.gameserver_steam_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.authorized_public_ip_ = from._impl_.authorized_public_ip_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gameserver_sdr_routing_, lhs_arena, + &other->_impl_.gameserver_sdr_routing_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_public_ip_) + + sizeof(CMsgGCCStrike15_v2_ClientToGCRequestTicket::_impl_.authorized_public_ip_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_steam_id_)>( + reinterpret_cast(&_impl_.authorized_steam_id_), + reinterpret_cast(&other->_impl_.authorized_steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCRequestTicket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[157]); +} + +// =================================================================== + +class CMsgGCToClientSteamDatagramTicket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_serialized_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket(::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:CMsgGCToClientSteamDatagramTicket) +} +CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket(const CMsgGCToClientSteamDatagramTicket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCToClientSteamDatagramTicket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.serialized_ticket_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.serialized_ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_serialized_ticket()) { + _this->_impl_.serialized_ticket_.Set(from._internal_serialized_ticket(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCToClientSteamDatagramTicket) +} + +inline void CMsgGCToClientSteamDatagramTicket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.serialized_ticket_){} + }; + _impl_.serialized_ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCToClientSteamDatagramTicket::~CMsgGCToClientSteamDatagramTicket() { + // @@protoc_insertion_point(destructor:CMsgGCToClientSteamDatagramTicket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCToClientSteamDatagramTicket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.serialized_ticket_.Destroy(); +} + +void CMsgGCToClientSteamDatagramTicket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCToClientSteamDatagramTicket::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCToClientSteamDatagramTicket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.serialized_ticket_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCToClientSteamDatagramTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes serialized_ticket = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_serialized_ticket(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCToClientSteamDatagramTicket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToClientSteamDatagramTicket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes serialized_ticket = 16; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 16, this->_internal_serialized_ticket(), 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:CMsgGCToClientSteamDatagramTicket) + return target; +} + +size_t CMsgGCToClientSteamDatagramTicket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCToClientSteamDatagramTicket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes serialized_ticket = 16; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_serialized_ticket()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToClientSteamDatagramTicket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCToClientSteamDatagramTicket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToClientSteamDatagramTicket::GetClassData() const { return &_class_data_; } + + +void CMsgGCToClientSteamDatagramTicket::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:CMsgGCToClientSteamDatagramTicket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_serialized_ticket()) { + _this->_internal_set_serialized_ticket(from._internal_serialized_ticket()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCToClientSteamDatagramTicket::CopyFrom(const CMsgGCToClientSteamDatagramTicket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToClientSteamDatagramTicket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCToClientSteamDatagramTicket::IsInitialized() const { + return true; +} + +void CMsgGCToClientSteamDatagramTicket::InternalSwap(CMsgGCToClientSteamDatagramTicket* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.serialized_ticket_, lhs_arena, + &other->_impl_.serialized_ticket_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToClientSteamDatagramTicket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[158]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestOffers::_Internal { + public: +}; + +CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestOffers) +} +CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers(const CMsgGCCStrike15_v2_ClientRequestOffers& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgGCCStrike15_v2_ClientRequestOffers* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestOffers) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestOffers::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestOffers::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestOffers::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[159]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientRequestSouvenir::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_matchid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir(::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:CMsgGCCStrike15_v2_ClientRequestSouvenir) +} +CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientRequestSouvenir* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemid_){} + , decltype(_impl_.matchid_){} + , decltype(_impl_.eventid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, + static_cast(reinterpret_cast(&_impl_.eventid_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.eventid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestSouvenir) +} + +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemid_){uint64_t{0u}} + , decltype(_impl_.matchid_){uint64_t{0u}} + , decltype(_impl_.eventid_){0} + }; +} + +CMsgGCCStrike15_v2_ClientRequestSouvenir::~CMsgGCCStrike15_v2_ClientRequestSouvenir() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestSouvenir) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientRequestSouvenir::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientRequestSouvenir::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.itemid_, 0, static_cast( + reinterpret_cast(&_impl_.eventid_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.eventid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientRequestSouvenir::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 itemid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 matchid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_matchid(&has_bits); + _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 eventid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientRequestSouvenir::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 itemid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_itemid(), target); + } + + // optional uint64 matchid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_matchid(), target); + } + + // optional int32 eventid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_eventid(), 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:CMsgGCCStrike15_v2_ClientRequestSouvenir) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientRequestSouvenir::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 itemid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); + } + + // optional uint64 matchid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); + } + + // optional int32 eventid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestSouvenir::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientRequestSouvenir::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestSouvenir::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientRequestSouvenir::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:CMsgGCCStrike15_v2_ClientRequestSouvenir) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.matchid_ = from._impl_.matchid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientRequestSouvenir::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientRequestSouvenir::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientRequestSouvenir::InternalSwap(CMsgGCCStrike15_v2_ClientRequestSouvenir* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.eventid_) + + sizeof(CMsgGCCStrike15_v2_ClientRequestSouvenir::_impl_.eventid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.itemid_)>( + reinterpret_cast(&_impl_.itemid_), + reinterpret_cast(&other->_impl_.itemid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestSouvenir::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[160]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientAccountBalance::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_amount(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance(::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:CMsgGCCStrike15_v2_ClientAccountBalance) +} +CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance(const CMsgGCCStrike15_v2_ClientAccountBalance& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientAccountBalance* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.url_){} + , decltype(_impl_.amount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + _this->_impl_.amount_ = from._impl_.amount_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientAccountBalance) +} + +inline void CMsgGCCStrike15_v2_ClientAccountBalance::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.url_){} + , decltype(_impl_.amount_){uint64_t{0u}} + }; + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientAccountBalance::~CMsgGCCStrike15_v2_ClientAccountBalance() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientAccountBalance) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientAccountBalance::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.url_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientAccountBalance::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientAccountBalance::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientAccountBalance) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + _impl_.amount_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientAccountBalance::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 amount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_amount(&has_bits); + _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string url = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientAccountBalance.url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientAccountBalance::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientAccountBalance) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 amount = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_amount(), target); + } + + // optional string url = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientAccountBalance.url"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_url(), 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:CMsgGCCStrike15_v2_ClientAccountBalance) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientAccountBalance::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientAccountBalance) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string url = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional uint64 amount = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_amount()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientAccountBalance::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientAccountBalance::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientAccountBalance::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientAccountBalance::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:CMsgGCCStrike15_v2_ClientAccountBalance) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.amount_ = from._impl_.amount_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientAccountBalance::CopyFrom(const CMsgGCCStrike15_v2_ClientAccountBalance& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientAccountBalance) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientAccountBalance::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientAccountBalance::InternalSwap(CMsgGCCStrike15_v2_ClientAccountBalance* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + swap(_impl_.amount_, other->_impl_.amount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientAccountBalance::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[161]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPartyJoinRelay::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_lobbyid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay(::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:CMsgGCCStrike15_v2_ClientPartyJoinRelay) +} +CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPartyJoinRelay* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.lobbyid_){} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.lobbyid_, &from._impl_.lobbyid_, + static_cast(reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.accountid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyJoinRelay) +} + +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.lobbyid_){uint64_t{0u}} + , decltype(_impl_.accountid_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientPartyJoinRelay::~CMsgGCCStrike15_v2_ClientPartyJoinRelay() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPartyJoinRelay::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.lobbyid_, 0, static_cast( + reinterpret_cast(&_impl_.accountid_) - + reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.accountid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPartyJoinRelay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 lobbyid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_lobbyid(&has_bits); + _impl_.lobbyid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientPartyJoinRelay::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint64 lobbyid = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_lobbyid(), 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:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 lobbyid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_lobbyid()); + } + + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyJoinRelay::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPartyJoinRelay::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyJoinRelay::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPartyJoinRelay::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:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPartyJoinRelay::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPartyJoinRelay::InternalSwap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.accountid_) + + sizeof(CMsgGCCStrike15_v2_ClientPartyJoinRelay::_impl_.accountid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.lobbyid_)>( + reinterpret_cast(&_impl_.lobbyid_), + reinterpret_cast(&other->_impl_.lobbyid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyJoinRelay::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[162]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_warntype(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::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:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) +} +CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPartyWarning_Entry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){} + , decltype(_impl_.warntype_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.warntype_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.warntype_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) +} + +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.warntype_){0u} + }; +} + +CMsgGCCStrike15_v2_ClientPartyWarning_Entry::~CMsgGCCStrike15_v2_ClientPartyWarning_Entry() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.warntype_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.warntype_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 warntype = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_warntype(&has_bits); + _impl_.warntype_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint32 warntype = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_warntype(), 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:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 warntype = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_warntype()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPartyWarning_Entry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyWarning_Entry::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::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:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.warntype_ = from._impl_.warntype_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.warntype_) + + sizeof(CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_impl_.warntype_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyWarning_Entry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[163]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPartyWarning::_Internal { + public: +}; + +CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning(::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:CMsgGCCStrike15_v2_ClientPartyWarning) +} +CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning(const CMsgGCCStrike15_v2_ClientPartyWarning& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPartyWarning* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){from._impl_.entries_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyWarning) +} + +inline void CMsgGCCStrike15_v2_ClientPartyWarning::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgGCCStrike15_v2_ClientPartyWarning::~CMsgGCCStrike15_v2_ClientPartyWarning() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyWarning) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPartyWarning::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyWarning) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPartyWarning::_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 .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entries(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgGCCStrike15_v2_ClientPartyWarning::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyWarning) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_entries_size()); i < n; i++) { + const auto& repfield = this->_internal_entries(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgGCCStrike15_v2_ClientPartyWarning) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPartyWarning::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyWarning) + 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 .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; + total_size += 1UL * this->_internal_entries_size(); + for (const auto& msg : this->_impl_.entries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyWarning::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPartyWarning::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyWarning::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPartyWarning::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:CMsgGCCStrike15_v2_ClientPartyWarning) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPartyWarning::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyWarning) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPartyWarning::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPartyWarning::InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyWarning::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[164]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_SetEventFavorite::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_is_favorite(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite(::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:CMsgGCCStrike15_v2_SetEventFavorite) +} +CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite(const CMsgGCCStrike15_v2_SetEventFavorite& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_SetEventFavorite* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventid_){} + , decltype(_impl_.is_favorite_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, + static_cast(reinterpret_cast(&_impl_.is_favorite_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.is_favorite_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_SetEventFavorite) +} + +inline void CMsgGCCStrike15_v2_SetEventFavorite::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventid_){uint64_t{0u}} + , decltype(_impl_.is_favorite_){false} + }; +} + +CMsgGCCStrike15_v2_SetEventFavorite::~CMsgGCCStrike15_v2_SetEventFavorite() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_SetEventFavorite) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_SetEventFavorite::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_SetEventFavorite::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_SetEventFavorite::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_SetEventFavorite) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.eventid_, 0, static_cast( + reinterpret_cast(&_impl_.is_favorite_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.is_favorite_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_SetEventFavorite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_favorite = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_is_favorite(&has_bits); + _impl_.is_favorite_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_SetEventFavorite::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_SetEventFavorite) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 eventid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_eventid(), target); + } + + // optional bool is_favorite = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_favorite(), 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:CMsgGCCStrike15_v2_SetEventFavorite) + return target; +} + +size_t CMsgGCCStrike15_v2_SetEventFavorite::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_SetEventFavorite) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 eventid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_eventid()); + } + + // optional bool is_favorite = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_SetEventFavorite::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_SetEventFavorite::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_SetEventFavorite::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_SetEventFavorite::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:CMsgGCCStrike15_v2_SetEventFavorite) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.is_favorite_ = from._impl_.is_favorite_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_SetEventFavorite::CopyFrom(const CMsgGCCStrike15_v2_SetEventFavorite& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_SetEventFavorite) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_SetEventFavorite::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_SetEventFavorite::InternalSwap(CMsgGCCStrike15_v2_SetEventFavorite* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_SetEventFavorite, _impl_.is_favorite_) + + sizeof(CMsgGCCStrike15_v2_SetEventFavorite::_impl_.is_favorite_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_SetEventFavorite, _impl_.eventid_)>( + reinterpret_cast(&_impl_.eventid_), + reinterpret_cast(&other->_impl_.eventid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_SetEventFavorite::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[165]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GetEventFavorites_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_all_events(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_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:CMsgGCCStrike15_v2_GetEventFavorites_Request) +} +CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_Request(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GetEventFavorites_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_events_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.all_events_ = from._impl_.all_events_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Request) +} + +inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_events_){false} + }; +} + +CMsgGCCStrike15_v2_GetEventFavorites_Request::~CMsgGCCStrike15_v2_GetEventFavorites_Request() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GetEventFavorites_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.all_events_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GetEventFavorites_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool all_events = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_all_events(&has_bits); + _impl_.all_events_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GetEventFavorites_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool all_events = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_all_events(), 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:CMsgGCCStrike15_v2_GetEventFavorites_Request) + return target; +} + +size_t CMsgGCCStrike15_v2_GetEventFavorites_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GetEventFavorites_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; + + // optional bool all_events = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GetEventFavorites_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GetEventFavorites_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GetEventFavorites_Request::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GetEventFavorites_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:CMsgGCCStrike15_v2_GetEventFavorites_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_all_events()) { + _this->_internal_set_all_events(from._internal_all_events()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Request::CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GetEventFavorites_Request::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Request::InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.all_events_, other->_impl_.all_events_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GetEventFavorites_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[166]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GetEventFavorites_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_all_events(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_json_favorites(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_json_featured(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_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:CMsgGCCStrike15_v2_GetEventFavorites_Response) +} +CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_Response(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GetEventFavorites_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.json_favorites_){} + , decltype(_impl_.json_featured_){} + , decltype(_impl_.all_events_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.json_favorites_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.json_favorites_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_json_favorites()) { + _this->_impl_.json_favorites_.Set(from._internal_json_favorites(), + _this->GetArenaForAllocation()); + } + _impl_.json_featured_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.json_featured_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_json_featured()) { + _this->_impl_.json_featured_.Set(from._internal_json_featured(), + _this->GetArenaForAllocation()); + } + _this->_impl_.all_events_ = from._impl_.all_events_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Response) +} + +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.json_favorites_){} + , decltype(_impl_.json_featured_){} + , decltype(_impl_.all_events_){false} + }; + _impl_.json_favorites_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.json_favorites_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.json_featured_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.json_featured_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GetEventFavorites_Response::~CMsgGCCStrike15_v2_GetEventFavorites_Response() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GetEventFavorites_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.json_favorites_.Destroy(); + _impl_.json_featured_.Destroy(); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.json_favorites_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.json_featured_.ClearNonDefaultToEmpty(); + } + } + _impl_.all_events_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GetEventFavorites_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool all_events = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_all_events(&has_bits); + _impl_.all_events_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string json_favorites = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_json_favorites(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string json_featured = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_json_featured(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GetEventFavorites_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool all_events = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_all_events(), target); + } + + // optional string json_favorites = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_json_favorites().data(), static_cast(this->_internal_json_favorites().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_json_favorites(), target); + } + + // optional string json_featured = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_json_featured().data(), static_cast(this->_internal_json_featured().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_json_featured(), 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:CMsgGCCStrike15_v2_GetEventFavorites_Response) + return target; +} + +size_t CMsgGCCStrike15_v2_GetEventFavorites_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GetEventFavorites_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string json_favorites = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_json_favorites()); + } + + // optional string json_featured = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_json_featured()); + } + + // optional bool all_events = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GetEventFavorites_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GetEventFavorites_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GetEventFavorites_Response::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GetEventFavorites_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:CMsgGCCStrike15_v2_GetEventFavorites_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_json_favorites(from._internal_json_favorites()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_json_featured(from._internal_json_featured()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.all_events_ = from._impl_.all_events_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Response::CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GetEventFavorites_Response::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GetEventFavorites_Response::InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.json_favorites_, lhs_arena, + &other->_impl_.json_favorites_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.json_featured_, lhs_arena, + &other->_impl_.json_featured_, rhs_arena + ); + swap(_impl_.all_events_, other->_impl_.all_events_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GetEventFavorites_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[167]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPerfReport_Entry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_perfcounter(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_length(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_reference(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_actual(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_sourceid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_status(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry(::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:CMsgGCCStrike15_v2_ClientPerfReport.Entry) +} +CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPerfReport_Entry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reference_){} + , decltype(_impl_.actual_){} + , decltype(_impl_.perfcounter_){} + , decltype(_impl_.length_){} + , decltype(_impl_.sourceid_){} + , decltype(_impl_.status_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.reference_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.reference_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_reference()) { + _this->_impl_.reference_.Set(from._internal_reference(), + _this->GetArenaForAllocation()); + } + _impl_.actual_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.actual_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_actual()) { + _this->_impl_.actual_.Set(from._internal_actual(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.perfcounter_, &from._impl_.perfcounter_, + static_cast(reinterpret_cast(&_impl_.status_) - + reinterpret_cast(&_impl_.perfcounter_)) + sizeof(_impl_.status_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPerfReport.Entry) +} + +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reference_){} + , decltype(_impl_.actual_){} + , decltype(_impl_.perfcounter_){0u} + , decltype(_impl_.length_){0u} + , decltype(_impl_.sourceid_){0u} + , decltype(_impl_.status_){0u} + }; + _impl_.reference_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.reference_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.actual_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.actual_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientPerfReport_Entry::~CMsgGCCStrike15_v2_ClientPerfReport_Entry() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.reference_.Destroy(); + _impl_.actual_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.reference_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.actual_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.perfcounter_, 0, static_cast( + reinterpret_cast(&_impl_.status_) - + reinterpret_cast(&_impl_.perfcounter_)) + sizeof(_impl_.status_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 perfcounter = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_perfcounter(&has_bits); + _impl_.perfcounter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 length = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_length(&has_bits); + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes reference = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_reference(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes actual = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_actual(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sourceid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_sourceid(&has_bits); + _impl_.sourceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 status = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_status(&has_bits); + _impl_.status_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 perfcounter = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_perfcounter(), target); + } + + // optional uint32 length = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_length(), target); + } + + // optional bytes reference = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_reference(), target); + } + + // optional bytes actual = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_actual(), target); + } + + // optional uint32 sourceid = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_sourceid(), target); + } + + // optional uint32 status = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, 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:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional bytes reference = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_reference()); + } + + // optional bytes actual = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_actual()); + } + + // optional uint32 perfcounter = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_perfcounter()); + } + + // optional uint32 length = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); + } + + // optional uint32 sourceid = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sourceid()); + } + + // optional uint32 status = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_status()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPerfReport_Entry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPerfReport_Entry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPerfReport_Entry::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::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:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_reference(from._internal_reference()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_actual(from._internal_actual()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.perfcounter_ = from._impl_.perfcounter_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.length_ = from._impl_.length_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.sourceid_ = from._impl_.sourceid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.status_ = from._impl_.status_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.reference_, lhs_arena, + &other->_impl_.reference_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.actual_, lhs_arena, + &other->_impl_.actual_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.status_) + + sizeof(CMsgGCCStrike15_v2_ClientPerfReport_Entry::_impl_.status_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.perfcounter_)>( + reinterpret_cast(&_impl_.perfcounter_), + reinterpret_cast(&other->_impl_.perfcounter_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPerfReport_Entry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[168]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientPerfReport::_Internal { + public: +}; + +CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport(::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:CMsgGCCStrike15_v2_ClientPerfReport) +} +CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport(const CMsgGCCStrike15_v2_ClientPerfReport& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientPerfReport* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){from._impl_.entries_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPerfReport) +} + +inline void CMsgGCCStrike15_v2_ClientPerfReport::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.entries_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgGCCStrike15_v2_ClientPerfReport::~CMsgGCCStrike15_v2_ClientPerfReport() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPerfReport) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientPerfReport::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); +} + +void CMsgGCCStrike15_v2_ClientPerfReport::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientPerfReport::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPerfReport) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientPerfReport::_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 .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entries(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgGCCStrike15_v2_ClientPerfReport::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPerfReport) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_entries_size()); i < n; i++) { + const auto& repfield = this->_internal_entries(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgGCCStrike15_v2_ClientPerfReport) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientPerfReport::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPerfReport) + 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 .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; + total_size += 1UL * this->_internal_entries_size(); + for (const auto& msg : this->_impl_.entries_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPerfReport::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientPerfReport::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPerfReport::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientPerfReport::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:CMsgGCCStrike15_v2_ClientPerfReport) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientPerfReport::CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPerfReport) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientPerfReport::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientPerfReport::InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPerfReport::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[169]); +} + +// =================================================================== + +class CVDiagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_extended(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_string_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CVDiagnostic::CVDiagnostic(::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:CVDiagnostic) +} +CVDiagnostic::CVDiagnostic(const CVDiagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CVDiagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_value_){} + , decltype(_impl_.id_){} + , decltype(_impl_.extended_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_value()) { + _this->_impl_.string_value_.Set(from._internal_string_value(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); + // @@protoc_insertion_point(copy_constructor:CVDiagnostic) +} + +inline void CVDiagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_value_){} + , decltype(_impl_.id_){0u} + , decltype(_impl_.extended_){0u} + , decltype(_impl_.value_){uint64_t{0u}} + }; + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CVDiagnostic::~CVDiagnostic() { + // @@protoc_insertion_point(destructor:CVDiagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CVDiagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.string_value_.Destroy(); +} + +void CVDiagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CVDiagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CVDiagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.string_value_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CVDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 extended = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_extended(&has_bits); + _impl_.extended_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string string_value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_string_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CVDiagnostic.string_value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CVDiagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CVDiagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 extended = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_extended(), target); + } + + // optional uint64 value = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_value(), target); + } + + // optional string string_value = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CVDiagnostic.string_value"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_string_value(), 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:CVDiagnostic) + return target; +} + +size_t CVDiagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CVDiagnostic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string string_value = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_string_value()); + } + + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 extended = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended()); + } + + // optional uint64 value = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CVDiagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CVDiagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CVDiagnostic::GetClassData() const { return &_class_data_; } + + +void CVDiagnostic::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:CVDiagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_string_value(from._internal_string_value()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.extended_ = from._impl_.extended_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CVDiagnostic::CopyFrom(const CVDiagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CVDiagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CVDiagnostic::IsInitialized() const { + return true; +} + +void CVDiagnostic::InternalSwap(CVDiagnostic* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_value_, lhs_arena, + &other->_impl_.string_value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CVDiagnostic, _impl_.value_) + + sizeof(CVDiagnostic::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(CVDiagnostic, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CVDiagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[170]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_ClientReportValidation::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_file_report(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_command_line(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_total_files(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_internal_error(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_trust_time(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_count_pending(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_count_completed(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_process_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_osversion(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_clientreportversion(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_status_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_diagnostic1(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_diagnostic2(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_diagnostic3(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_last_launch_data(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_report_count(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_client_time(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_diagnostic4(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_diagnostic5(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation(::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:CMsgGCCStrike15_v2_ClientReportValidation) +} +CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation(const CMsgGCCStrike15_v2_ClientReportValidation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_ClientReportValidation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} + , decltype(_impl_.file_report_){} + , decltype(_impl_.command_line_){} + , decltype(_impl_.last_launch_data_){} + , decltype(_impl_.total_files_){} + , decltype(_impl_.internal_error_){} + , decltype(_impl_.trust_time_){} + , decltype(_impl_.count_pending_){} + , decltype(_impl_.count_completed_){} + , decltype(_impl_.process_id_){} + , decltype(_impl_.osversion_){} + , decltype(_impl_.clientreportversion_){} + , decltype(_impl_.status_id_){} + , decltype(_impl_.diagnostic1_){} + , decltype(_impl_.diagnostic2_){} + , decltype(_impl_.diagnostic3_){} + , decltype(_impl_.client_time_){} + , decltype(_impl_.diagnostic4_){} + , decltype(_impl_.diagnostic5_){} + , decltype(_impl_.report_count_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_report()) { + _this->_impl_.file_report_.Set(from._internal_file_report(), + _this->GetArenaForAllocation()); + } + _impl_.command_line_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_command_line()) { + _this->_impl_.command_line_.Set(from._internal_command_line(), + _this->GetArenaForAllocation()); + } + _impl_.last_launch_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.last_launch_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_last_launch_data()) { + _this->_impl_.last_launch_data_.Set(from._internal_last_launch_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.total_files_, &from._impl_.total_files_, + static_cast(reinterpret_cast(&_impl_.report_count_) - + reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.report_count_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportValidation) +} + +inline void CMsgGCCStrike15_v2_ClientReportValidation::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){arena} + , decltype(_impl_.file_report_){} + , decltype(_impl_.command_line_){} + , decltype(_impl_.last_launch_data_){} + , decltype(_impl_.total_files_){0u} + , decltype(_impl_.internal_error_){0u} + , decltype(_impl_.trust_time_){0u} + , decltype(_impl_.count_pending_){0u} + , decltype(_impl_.count_completed_){0u} + , decltype(_impl_.process_id_){0u} + , decltype(_impl_.osversion_){0} + , decltype(_impl_.clientreportversion_){0u} + , decltype(_impl_.status_id_){0u} + , decltype(_impl_.diagnostic1_){0u} + , decltype(_impl_.diagnostic2_){uint64_t{0u}} + , decltype(_impl_.diagnostic3_){uint64_t{0u}} + , decltype(_impl_.client_time_){uint64_t{0u}} + , decltype(_impl_.diagnostic4_){uint64_t{0u}} + , decltype(_impl_.diagnostic5_){uint64_t{0u}} + , decltype(_impl_.report_count_){0u} + }; + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.last_launch_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.last_launch_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_ClientReportValidation::~CMsgGCCStrike15_v2_ClientReportValidation() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportValidation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_ClientReportValidation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.diagnostics_.~RepeatedPtrField(); + _impl_.file_report_.Destroy(); + _impl_.command_line_.Destroy(); + _impl_.last_launch_data_.Destroy(); +} + +void CMsgGCCStrike15_v2_ClientReportValidation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_ClientReportValidation::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportValidation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.diagnostics_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.file_report_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.command_line_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.last_launch_data_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.total_files_, 0, static_cast( + reinterpret_cast(&_impl_.count_completed_) - + reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.count_completed_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.process_id_, 0, static_cast( + reinterpret_cast(&_impl_.client_time_) - + reinterpret_cast(&_impl_.process_id_)) + sizeof(_impl_.client_time_)); + } + if (cached_has_bits & 0x00070000u) { + ::memset(&_impl_.diagnostic4_, 0, static_cast( + reinterpret_cast(&_impl_.report_count_) - + reinterpret_cast(&_impl_.diagnostic4_)) + sizeof(_impl_.report_count_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_ClientReportValidation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string file_report = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_file_report(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.file_report"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string command_line = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_command_line(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.command_line"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 total_files = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_total_files(&has_bits); + _impl_.total_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 internal_error = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_internal_error(&has_bits); + _impl_.internal_error_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 trust_time = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_trust_time(&has_bits); + _impl_.trust_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 count_pending = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_count_pending(&has_bits); + _impl_.count_pending_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 count_completed = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_count_completed(&has_bits); + _impl_.count_completed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 process_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_process_id(&has_bits); + _impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 osversion = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_osversion(&has_bits); + _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 clientreportversion = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_clientreportversion(&has_bits); + _impl_.clientreportversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 status_id = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_status_id(&has_bits); + _impl_.status_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 diagnostic1 = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_diagnostic1(&has_bits); + _impl_.diagnostic1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 diagnostic2 = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_diagnostic2(&has_bits); + _impl_.diagnostic2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 diagnostic3 = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_diagnostic3(&has_bits); + _impl_.diagnostic3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string last_launch_data = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_last_launch_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 report_count = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_report_count(&has_bits); + _impl_.report_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 client_time = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_client_time(&has_bits); + _impl_.client_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 diagnostic4 = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_diagnostic4(&has_bits); + _impl_.diagnostic4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 diagnostic5 = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_diagnostic5(&has_bits); + _impl_.diagnostic5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CVDiagnostic diagnostics = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_ClientReportValidation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportValidation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientReportValidation.file_report"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_file_report(), target); + } + + // optional string command_line = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_command_line().data(), static_cast(this->_internal_command_line().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientReportValidation.command_line"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_command_line(), target); + } + + // optional uint32 total_files = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_files(), target); + } + + // optional uint32 internal_error = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_internal_error(), target); + } + + // optional uint32 trust_time = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_trust_time(), target); + } + + // optional uint32 count_pending = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_count_pending(), target); + } + + // optional uint32 count_completed = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_count_completed(), target); + } + + // optional uint32 process_id = 8; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_process_id(), target); + } + + // optional int32 osversion = 9; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_osversion(), target); + } + + // optional uint32 clientreportversion = 10; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_clientreportversion(), target); + } + + // optional uint32 status_id = 11; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_status_id(), target); + } + + // optional uint32 diagnostic1 = 12; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_diagnostic1(), target); + } + + // optional uint64 diagnostic2 = 13; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_diagnostic2(), target); + } + + // optional uint64 diagnostic3 = 14; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(14, this->_internal_diagnostic3(), target); + } + + // optional string last_launch_data = 15; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_last_launch_data().data(), static_cast(this->_internal_last_launch_data().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_last_launch_data(), target); + } + + // optional uint32 report_count = 16; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_report_count(), target); + } + + // optional uint64 client_time = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(17, this->_internal_client_time(), target); + } + + // optional uint64 diagnostic4 = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(18, this->_internal_diagnostic4(), target); + } + + // optional uint64 diagnostic5 = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(19, this->_internal_diagnostic5(), target); + } + + // repeated .CVDiagnostic diagnostics = 20; + for (unsigned i = 0, + n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { + const auto& repfield = this->_internal_diagnostics(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, 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:CMsgGCCStrike15_v2_ClientReportValidation) + return target; +} + +size_t CMsgGCCStrike15_v2_ClientReportValidation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportValidation) + 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 .CVDiagnostic diagnostics = 20; + total_size += 2UL * this->_internal_diagnostics_size(); + for (const auto& msg : this->_impl_.diagnostics_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_report()); + } + + // optional string command_line = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_command_line()); + } + + // optional string last_launch_data = 15; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_last_launch_data()); + } + + // optional uint32 total_files = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); + } + + // optional uint32 internal_error = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_internal_error()); + } + + // optional uint32 trust_time = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_trust_time()); + } + + // optional uint32 count_pending = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count_pending()); + } + + // optional uint32 count_completed = 7; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count_completed()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 process_id = 8; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); + } + + // optional int32 osversion = 9; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); + } + + // optional uint32 clientreportversion = 10; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_clientreportversion()); + } + + // optional uint32 status_id = 11; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_status_id()); + } + + // optional uint32 diagnostic1 = 12; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_diagnostic1()); + } + + // optional uint64 diagnostic2 = 13; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_diagnostic2()); + } + + // optional uint64 diagnostic3 = 14; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_diagnostic3()); + } + + // optional uint64 client_time = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_client_time()); + } + + } + if (cached_has_bits & 0x00070000u) { + // optional uint64 diagnostic4 = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_diagnostic4()); + } + + // optional uint64 diagnostic5 = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_diagnostic5()); + } + + // optional uint32 report_count = 16; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_report_count()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportValidation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_ClientReportValidation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportValidation::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_ClientReportValidation::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:CMsgGCCStrike15_v2_ClientReportValidation) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_file_report(from._internal_file_report()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_command_line(from._internal_command_line()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_last_launch_data(from._internal_last_launch_data()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.total_files_ = from._impl_.total_files_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.internal_error_ = from._impl_.internal_error_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.trust_time_ = from._impl_.trust_time_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.count_pending_ = from._impl_.count_pending_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.count_completed_ = from._impl_.count_completed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.process_id_ = from._impl_.process_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.osversion_ = from._impl_.osversion_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.clientreportversion_ = from._impl_.clientreportversion_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.status_id_ = from._impl_.status_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.diagnostic1_ = from._impl_.diagnostic1_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.diagnostic2_ = from._impl_.diagnostic2_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.diagnostic3_ = from._impl_.diagnostic3_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.client_time_ = from._impl_.client_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.diagnostic4_ = from._impl_.diagnostic4_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.diagnostic5_ = from._impl_.diagnostic5_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.report_count_ = from._impl_.report_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_ClientReportValidation::CopyFrom(const CMsgGCCStrike15_v2_ClientReportValidation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportValidation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_ClientReportValidation::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_ClientReportValidation::InternalSwap(CMsgGCCStrike15_v2_ClientReportValidation* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_report_, lhs_arena, + &other->_impl_.file_report_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.command_line_, lhs_arena, + &other->_impl_.command_line_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.last_launch_data_, lhs_arena, + &other->_impl_.last_launch_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportValidation, _impl_.report_count_) + + sizeof(CMsgGCCStrike15_v2_ClientReportValidation::_impl_.report_count_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportValidation, _impl_.total_files_)>( + reinterpret_cast(&_impl_.total_files_), + reinterpret_cast(&other->_impl_.total_files_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportValidation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[171]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_file_report(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_offer_insecure_mode(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_offer_secure_mode(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_show_unsigned_ui(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_kick_user(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_show_trusted_ui(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_show_warning_not_trusted(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_show_warning_not_trusted_2(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_files_prevented_trusted(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::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:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) +} +CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.file_report_){} + , decltype(_impl_.files_prevented_trusted_){} + , decltype(_impl_.offer_insecure_mode_){} + , decltype(_impl_.offer_secure_mode_){} + , decltype(_impl_.show_unsigned_ui_){} + , decltype(_impl_.kick_user_){} + , decltype(_impl_.show_trusted_ui_){} + , decltype(_impl_.show_warning_not_trusted_){} + , decltype(_impl_.show_warning_not_trusted_2_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_report()) { + _this->_impl_.file_report_.Set(from._internal_file_report(), + _this->GetArenaForAllocation()); + } + _impl_.files_prevented_trusted_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_files_prevented_trusted()) { + _this->_impl_.files_prevented_trusted_.Set(from._internal_files_prevented_trusted(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.offer_insecure_mode_, &from._impl_.offer_insecure_mode_, + static_cast(reinterpret_cast(&_impl_.show_warning_not_trusted_2_) - + reinterpret_cast(&_impl_.offer_insecure_mode_)) + sizeof(_impl_.show_warning_not_trusted_2_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) +} + +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.file_report_){} + , decltype(_impl_.files_prevented_trusted_){} + , decltype(_impl_.offer_insecure_mode_){false} + , decltype(_impl_.offer_secure_mode_){false} + , decltype(_impl_.show_unsigned_ui_){false} + , decltype(_impl_.kick_user_){false} + , decltype(_impl_.show_trusted_ui_){false} + , decltype(_impl_.show_warning_not_trusted_){false} + , decltype(_impl_.show_warning_not_trusted_2_){false} + }; + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.files_prevented_trusted_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::~CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.file_report_.Destroy(); + _impl_.files_prevented_trusted_.Destroy(); +} + +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.file_report_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.files_prevented_trusted_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.offer_insecure_mode_, 0, static_cast( + reinterpret_cast(&_impl_.show_warning_not_trusted_) - + reinterpret_cast(&_impl_.offer_insecure_mode_)) + sizeof(_impl_.show_warning_not_trusted_)); + } + _impl_.show_warning_not_trusted_2_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string file_report = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_file_report(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool offer_insecure_mode = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_offer_insecure_mode(&has_bits); + _impl_.offer_insecure_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool offer_secure_mode = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_offer_secure_mode(&has_bits); + _impl_.offer_secure_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool show_unsigned_ui = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_show_unsigned_ui(&has_bits); + _impl_.show_unsigned_ui_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool kick_user = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_kick_user(&has_bits); + _impl_.kick_user_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool show_trusted_ui = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_show_trusted_ui(&has_bits); + _impl_.show_trusted_ui_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool show_warning_not_trusted = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_show_warning_not_trusted(&has_bits); + _impl_.show_warning_not_trusted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool show_warning_not_trusted_2 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_show_warning_not_trusted_2(&has_bits); + _impl_.show_warning_not_trusted_2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string files_prevented_trusted = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_files_prevented_trusted(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_file_report(), target); + } + + // optional bool offer_insecure_mode = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_offer_insecure_mode(), target); + } + + // optional bool offer_secure_mode = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_offer_secure_mode(), target); + } + + // optional bool show_unsigned_ui = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_show_unsigned_ui(), target); + } + + // optional bool kick_user = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_kick_user(), target); + } + + // optional bool show_trusted_ui = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_show_trusted_ui(), target); + } + + // optional bool show_warning_not_trusted = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_show_warning_not_trusted(), target); + } + + // optional bool show_warning_not_trusted_2 = 8; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_show_warning_not_trusted_2(), target); + } + + // optional string files_prevented_trusted = 9; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_files_prevented_trusted().data(), static_cast(this->_internal_files_prevented_trusted().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_files_prevented_trusted(), 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:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_report()); + } + + // optional string files_prevented_trusted = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_files_prevented_trusted()); + } + + // optional bool offer_insecure_mode = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool offer_secure_mode = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool show_unsigned_ui = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional bool kick_user = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional bool show_trusted_ui = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool show_warning_not_trusted = 7; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + // optional bool show_warning_not_trusted_2 = 8; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::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:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_file_report(from._internal_file_report()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_files_prevented_trusted(from._internal_files_prevented_trusted()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.offer_insecure_mode_ = from._impl_.offer_insecure_mode_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.offer_secure_mode_ = from._impl_.offer_secure_mode_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.show_unsigned_ui_ = from._impl_.show_unsigned_ui_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.kick_user_ = from._impl_.kick_user_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.show_trusted_ui_ = from._impl_.show_trusted_ui_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.show_warning_not_trusted_ = from._impl_.show_warning_not_trusted_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_show_warning_not_trusted_2(from._internal_show_warning_not_trusted_2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::InternalSwap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_report_, lhs_arena, + &other->_impl_.file_report_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.files_prevented_trusted_, lhs_arena, + &other->_impl_.files_prevented_trusted_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_2_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_impl_.show_warning_not_trusted_2_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_insecure_mode_)>( + reinterpret_cast(&_impl_.offer_insecure_mode_), + reinterpret_cast(&other->_impl_.offer_insecure_mode_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[172]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientRequestValidation::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_full_report(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_module(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation(::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:CMsgGCCStrike15_v2_GC2ClientRequestValidation) +} +CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientRequestValidation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.module_){} + , decltype(_impl_.full_report_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.module_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.module_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_module()) { + _this->_impl_.module_.Set(from._internal_module(), + _this->GetArenaForAllocation()); + } + _this->_impl_.full_report_ = from._impl_.full_report_; + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientRequestValidation) +} + +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.module_){} + , decltype(_impl_.full_report_){false} + }; + _impl_.module_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.module_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GC2ClientRequestValidation::~CMsgGCCStrike15_v2_GC2ClientRequestValidation() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.module_.Destroy(); +} + +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.module_.ClearNonDefaultToEmpty(); + } + _impl_.full_report_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool full_report = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_full_report(&has_bits); + _impl_.full_report_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string module = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_module(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRequestValidation.module"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool full_report = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_full_report(), target); + } + + // optional string module = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_module().data(), static_cast(this->_internal_module().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientRequestValidation.module"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_module(), 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:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientRequestValidation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string module = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_module()); + } + + // optional bool full_report = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientRequestValidation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientRequestValidation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientRequestValidation::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::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:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_module(from._internal_module()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.full_report_ = from._impl_.full_report_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::InternalSwap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.module_, lhs_arena, + &other->_impl_.module_, rhs_arena + ); + swap(_impl_.full_report_, other->_impl_.full_report_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientRequestValidation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[173]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientInitSystem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_load(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_outputname(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_key_data(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_sha_hash(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_cookie(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_manifest(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_system_package(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_load_system(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem(::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:CMsgGCCStrike15_v2_GC2ClientInitSystem) +} +CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientInitSystem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.outputname_){} + , decltype(_impl_.key_data_){} + , decltype(_impl_.sha_hash_){} + , decltype(_impl_.manifest_){} + , decltype(_impl_.system_package_){} + , decltype(_impl_.load_){} + , decltype(_impl_.load_system_){} + , decltype(_impl_.cookie_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.outputname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.outputname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_outputname()) { + _this->_impl_.outputname_.Set(from._internal_outputname(), + _this->GetArenaForAllocation()); + } + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key_data()) { + _this->_impl_.key_data_.Set(from._internal_key_data(), + _this->GetArenaForAllocation()); + } + _impl_.sha_hash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sha_hash()) { + _this->_impl_.sha_hash_.Set(from._internal_sha_hash(), + _this->GetArenaForAllocation()); + } + _impl_.manifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.manifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_manifest()) { + _this->_impl_.manifest_.Set(from._internal_manifest(), + _this->GetArenaForAllocation()); + } + _impl_.system_package_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.system_package_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_system_package()) { + _this->_impl_.system_package_.Set(from._internal_system_package(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.load_, &from._impl_.load_, + static_cast(reinterpret_cast(&_impl_.cookie_) - + reinterpret_cast(&_impl_.load_)) + sizeof(_impl_.cookie_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem) +} + +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.outputname_){} + , decltype(_impl_.key_data_){} + , decltype(_impl_.sha_hash_){} + , decltype(_impl_.manifest_){} + , decltype(_impl_.system_package_){} + , decltype(_impl_.load_){false} + , decltype(_impl_.load_system_){false} + , decltype(_impl_.cookie_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.outputname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.outputname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.manifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.manifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.system_package_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.system_package_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GC2ClientInitSystem::~CMsgGCCStrike15_v2_GC2ClientInitSystem() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientInitSystem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.outputname_.Destroy(); + _impl_.key_data_.Destroy(); + _impl_.sha_hash_.Destroy(); + _impl_.manifest_.Destroy(); + _impl_.system_package_.Destroy(); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.outputname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.key_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.sha_hash_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.manifest_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.system_package_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000c0u) { + ::memset(&_impl_.load_, 0, static_cast( + reinterpret_cast(&_impl_.load_system_) - + reinterpret_cast(&_impl_.load_)) + sizeof(_impl_.load_system_)); + } + _impl_.cookie_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientInitSystem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool load = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_load(&has_bits); + _impl_.load_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string outputname = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_outputname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes key_data = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_key_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes sha_hash = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_sha_hash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 cookie = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_cookie(&has_bits); + _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string manifest = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_manifest(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes system_package = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_system_package(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool load_system = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_load_system(&has_bits); + _impl_.load_system_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientInitSystem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool load = 1; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_load(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientInitSystem.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional string outputname = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_outputname().data(), static_cast(this->_internal_outputname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_outputname(), target); + } + + // optional bytes key_data = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_key_data(), target); + } + + // optional bytes sha_hash = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_sha_hash(), target); + } + + // optional int32 cookie = 6; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_cookie(), target); + } + + // optional string manifest = 7; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_manifest().data(), static_cast(this->_internal_manifest().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_manifest(), target); + } + + // optional bytes system_package = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_system_package(), target); + } + + // optional bool load_system = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_load_system(), 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:CMsgGCCStrike15_v2_GC2ClientInitSystem) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientInitSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string outputname = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_outputname()); + } + + // optional bytes key_data = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_key_data()); + } + + // optional bytes sha_hash = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_sha_hash()); + } + + // optional string manifest = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_manifest()); + } + + // optional bytes system_package = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_system_package()); + } + + // optional bool load = 1; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool load_system = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + // optional int32 cookie = 6; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientInitSystem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientInitSystem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientInitSystem::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientInitSystem::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:CMsgGCCStrike15_v2_GC2ClientInitSystem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_outputname(from._internal_outputname()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_key_data(from._internal_key_data()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_sha_hash(from._internal_sha_hash()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_manifest(from._internal_manifest()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_system_package(from._internal_system_package()); + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.load_ = from._impl_.load_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.load_system_ = from._impl_.load_system_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_cookie(from._internal_cookie()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientInitSystem::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem::InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.outputname_, lhs_arena, + &other->_impl_.outputname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_data_, lhs_arena, + &other->_impl_.key_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sha_hash_, lhs_arena, + &other->_impl_.sha_hash_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.manifest_, lhs_arena, + &other->_impl_.manifest_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.system_package_, lhs_arena, + &other->_impl_.system_package_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.cookie_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientInitSystem::_impl_.cookie_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_)>( + reinterpret_cast(&_impl_.load_), + reinterpret_cast(&other->_impl_.load_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientInitSystem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[174]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_success(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_diagnostic(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sha_hash(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_response(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_error_code1(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_error_code2(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_handle(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_einit_result(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_aux_system1(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_aux_system2(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_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:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) +} +CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostic_){} + , decltype(_impl_.sha_hash_){} + , decltype(_impl_.success_){} + , decltype(_impl_.response_){} + , decltype(_impl_.error_code1_){} + , decltype(_impl_.error_code2_){} + , decltype(_impl_.handle_){} + , decltype(_impl_.einit_result_){} + , decltype(_impl_.aux_system1_){} + , decltype(_impl_.aux_system2_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.diagnostic_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.diagnostic_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_diagnostic()) { + _this->_impl_.diagnostic_.Set(from._internal_diagnostic(), + _this->GetArenaForAllocation()); + } + _impl_.sha_hash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sha_hash()) { + _this->_impl_.sha_hash_.Set(from._internal_sha_hash(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.success_, &from._impl_.success_, + static_cast(reinterpret_cast(&_impl_.aux_system2_) - + reinterpret_cast(&_impl_.success_)) + sizeof(_impl_.aux_system2_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) +} + +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostic_){} + , decltype(_impl_.sha_hash_){} + , decltype(_impl_.success_){false} + , decltype(_impl_.response_){0} + , decltype(_impl_.error_code1_){0} + , decltype(_impl_.error_code2_){0} + , decltype(_impl_.handle_){int64_t{0}} + , decltype(_impl_.einit_result_){0} + , decltype(_impl_.aux_system1_){0} + , decltype(_impl_.aux_system2_){0} + }; + _impl_.diagnostic_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.diagnostic_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::~CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.diagnostic_.Destroy(); + _impl_.sha_hash_.Destroy(); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.diagnostic_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.sha_hash_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.success_, 0, static_cast( + reinterpret_cast(&_impl_.einit_result_) - + reinterpret_cast(&_impl_.success_)) + sizeof(_impl_.einit_result_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.aux_system1_, 0, static_cast( + reinterpret_cast(&_impl_.aux_system2_) - + reinterpret_cast(&_impl_.aux_system1_)) + sizeof(_impl_.aux_system2_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool success = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_success(&has_bits); + _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string diagnostic = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_diagnostic(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes sha_hash = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_sha_hash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 response = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_response(&has_bits); + _impl_.response_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 error_code1 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_error_code1(&has_bits); + _impl_.error_code1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 error_code2 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_error_code2(&has_bits); + _impl_.error_code2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 handle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_handle(&has_bits); + _impl_.handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::EInitSystemResult_IsValid(val))) { + _internal_set_einit_result(static_cast<::EInitSystemResult>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(8, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional int32 aux_system1 = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_aux_system1(&has_bits); + _impl_.aux_system1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 aux_system2 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_aux_system2(&has_bits); + _impl_.aux_system2_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool success = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); + } + + // optional string diagnostic = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_diagnostic().data(), static_cast(this->_internal_diagnostic().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_diagnostic(), target); + } + + // optional bytes sha_hash = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_sha_hash(), target); + } + + // optional int32 response = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_response(), target); + } + + // optional int32 error_code1 = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_error_code1(), target); + } + + // optional int32 error_code2 = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_error_code2(), target); + } + + // optional int64 handle = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_handle(), target); + } + + // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 8, this->_internal_einit_result(), target); + } + + // optional int32 aux_system1 = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_aux_system1(), target); + } + + // optional int32 aux_system2 = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_aux_system2(), 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:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + return target; +} + +size_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string diagnostic = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_diagnostic()); + } + + // optional bytes sha_hash = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_sha_hash()); + } + + // optional bool success = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 response = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_response()); + } + + // optional int32 error_code1 = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_error_code1()); + } + + // optional int32 error_code2 = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_error_code2()); + } + + // optional int64 handle = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_handle()); + } + + // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_einit_result()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional int32 aux_system1 = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_aux_system1()); + } + + // optional int32 aux_system2 = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_aux_system2()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_GC2ClientInitSystem_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:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_diagnostic(from._internal_diagnostic()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_sha_hash(from._internal_sha_hash()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.success_ = from._impl_.success_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.response_ = from._impl_.response_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.error_code1_ = from._impl_.error_code1_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.error_code2_ = from._impl_.error_code2_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.handle_ = from._impl_.handle_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.einit_result_ = from._impl_.einit_result_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.aux_system1_ = from._impl_.aux_system1_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.aux_system2_ = from._impl_.aux_system2_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.diagnostic_, lhs_arena, + &other->_impl_.diagnostic_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sha_hash_, lhs_arena, + &other->_impl_.sha_hash_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system2_) + + sizeof(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_impl_.aux_system2_) + - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.success_)>( + reinterpret_cast(&_impl_.success_), + reinterpret_cast(&other->_impl_.success_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[175]); +} + +// =================================================================== + +class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_leaderboard_safe_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::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:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) +} +CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.leaderboard_safe_name_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.leaderboard_safe_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_leaderboard_safe_name()) { + _this->_impl_.leaderboard_safe_name_.Set(from._internal_leaderboard_safe_name(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) +} + +inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.leaderboard_safe_name_){} + }; + _impl_.leaderboard_safe_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() { + // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.leaderboard_safe_name_.Destroy(); +} + +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.leaderboard_safe_name_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string leaderboard_safe_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_leaderboard_safe_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string leaderboard_safe_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_leaderboard_safe_name().data(), static_cast(this->_internal_leaderboard_safe_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_leaderboard_safe_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:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + return target; +} + +size_t CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string leaderboard_safe_name = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_leaderboard_safe_name()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::GetClassData() const { return &_class_data_; } + + +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::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:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_leaderboard_safe_name()) { + _this->_internal_set_leaderboard_safe_name(from._internal_leaderboard_safe_name()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CopyFrom(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::IsInitialized() const { + return true; +} + +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::InternalSwap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.leaderboard_safe_name_, lhs_arena, + &other->_impl_.leaderboard_safe_name_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[176]); +} + +// =================================================================== + +class CMsgRequestRecurringMissionSchedule::_Internal { + public: +}; + +CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CMsgRequestRecurringMissionSchedule) +} +CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule(const CMsgRequestRecurringMissionSchedule& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CMsgRequestRecurringMissionSchedule* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgRequestRecurringMissionSchedule) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRequestRecurringMissionSchedule::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRequestRecurringMissionSchedule::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgRequestRecurringMissionSchedule::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[177]); +} + +// =================================================================== + +class CMsgRecurringMissionSchema_MissionTemplateList::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_period(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList(::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:CMsgRecurringMissionSchema.MissionTemplateList) +} +CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList(const CMsgRecurringMissionSchema_MissionTemplateList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgRecurringMissionSchema_MissionTemplateList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mission_templates_){from._impl_.mission_templates_} + , decltype(_impl_.period_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.period_ = from._impl_.period_; + // @@protoc_insertion_point(copy_constructor:CMsgRecurringMissionSchema.MissionTemplateList) +} + +inline void CMsgRecurringMissionSchema_MissionTemplateList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mission_templates_){arena} + , decltype(_impl_.period_){0u} + }; +} + +CMsgRecurringMissionSchema_MissionTemplateList::~CMsgRecurringMissionSchema_MissionTemplateList() { + // @@protoc_insertion_point(destructor:CMsgRecurringMissionSchema.MissionTemplateList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgRecurringMissionSchema_MissionTemplateList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mission_templates_.~RepeatedPtrField(); +} + +void CMsgRecurringMissionSchema_MissionTemplateList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgRecurringMissionSchema_MissionTemplateList::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgRecurringMissionSchema.MissionTemplateList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mission_templates_.Clear(); + _impl_.period_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgRecurringMissionSchema_MissionTemplateList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 period = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_period(&has_bits); + _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes mission_templates = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_mission_templates(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgRecurringMissionSchema_MissionTemplateList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgRecurringMissionSchema.MissionTemplateList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 period = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_period(), target); + } + + // repeated bytes mission_templates = 2; + for (int i = 0, n = this->_internal_mission_templates_size(); i < n; i++) { + const auto& s = this->_internal_mission_templates(i); + target = stream->WriteBytes(2, 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:CMsgRecurringMissionSchema.MissionTemplateList) + return target; +} + +size_t CMsgRecurringMissionSchema_MissionTemplateList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgRecurringMissionSchema.MissionTemplateList) + 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 bytes mission_templates = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.mission_templates_.size()); + for (int i = 0, n = _impl_.mission_templates_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.mission_templates_.Get(i)); + } + + // optional uint32 period = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRecurringMissionSchema_MissionTemplateList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgRecurringMissionSchema_MissionTemplateList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRecurringMissionSchema_MissionTemplateList::GetClassData() const { return &_class_data_; } + + +void CMsgRecurringMissionSchema_MissionTemplateList::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:CMsgRecurringMissionSchema.MissionTemplateList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.mission_templates_.MergeFrom(from._impl_.mission_templates_); + if (from._internal_has_period()) { + _this->_internal_set_period(from._internal_period()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgRecurringMissionSchema_MissionTemplateList::CopyFrom(const CMsgRecurringMissionSchema_MissionTemplateList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRecurringMissionSchema.MissionTemplateList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgRecurringMissionSchema_MissionTemplateList::IsInitialized() const { + return true; +} + +void CMsgRecurringMissionSchema_MissionTemplateList::InternalSwap(CMsgRecurringMissionSchema_MissionTemplateList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.mission_templates_.InternalSwap(&other->_impl_.mission_templates_); + swap(_impl_.period_, other->_impl_.period_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgRecurringMissionSchema_MissionTemplateList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[178]); +} + +// =================================================================== + +class CMsgRecurringMissionSchema::_Internal { + public: +}; + +CMsgRecurringMissionSchema::CMsgRecurringMissionSchema(::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:CMsgRecurringMissionSchema) +} +CMsgRecurringMissionSchema::CMsgRecurringMissionSchema(const CMsgRecurringMissionSchema& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgRecurringMissionSchema* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.missions_){from._impl_.missions_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgRecurringMissionSchema) +} + +inline void CMsgRecurringMissionSchema::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.missions_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgRecurringMissionSchema::~CMsgRecurringMissionSchema() { + // @@protoc_insertion_point(destructor:CMsgRecurringMissionSchema) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgRecurringMissionSchema::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.missions_.~RepeatedPtrField(); +} + +void CMsgRecurringMissionSchema::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgRecurringMissionSchema::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgRecurringMissionSchema) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.missions_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgRecurringMissionSchema::_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 .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_missions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgRecurringMissionSchema::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgRecurringMissionSchema) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_missions_size()); i < n; i++) { + const auto& repfield = this->_internal_missions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgRecurringMissionSchema) + return target; +} + +size_t CMsgRecurringMissionSchema::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgRecurringMissionSchema) + 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 .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; + total_size += 1UL * this->_internal_missions_size(); + for (const auto& msg : this->_impl_.missions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRecurringMissionSchema::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgRecurringMissionSchema::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRecurringMissionSchema::GetClassData() const { return &_class_data_; } + + +void CMsgRecurringMissionSchema::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:CMsgRecurringMissionSchema) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.missions_.MergeFrom(from._impl_.missions_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgRecurringMissionSchema::CopyFrom(const CMsgRecurringMissionSchema& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRecurringMissionSchema) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgRecurringMissionSchema::IsInitialized() const { + return true; +} + +void CMsgRecurringMissionSchema::InternalSwap(CMsgRecurringMissionSchema* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.missions_.InternalSwap(&other->_impl_.missions_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgRecurringMissionSchema::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, + file_level_metadata_cstrike15_5fgcmessages_2eproto[179]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::GameServerPing* +Arena::CreateMaybeMessage< ::GameServerPing >(Arena* arena) { + return Arena::CreateMessageInternal< ::GameServerPing >(arena); +} +template<> PROTOBUF_NOINLINE ::DataCenterPing* +Arena::CreateMaybeMessage< ::DataCenterPing >(Arena* arena) { + return Arena::CreateMessageInternal< ::DataCenterPing >(arena); +} +template<> PROTOBUF_NOINLINE ::DetailedSearchStatistic* +Arena::CreateMaybeMessage< ::DetailedSearchStatistic >(Arena* arena) { + return Arena::CreateMessageInternal< ::DetailedSearchStatistic >(arena); +} +template<> PROTOBUF_NOINLINE ::TournamentPlayer* +Arena::CreateMaybeMessage< ::TournamentPlayer >(Arena* arena) { + return Arena::CreateMessageInternal< ::TournamentPlayer >(arena); +} +template<> PROTOBUF_NOINLINE ::TournamentTeam* +Arena::CreateMaybeMessage< ::TournamentTeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::TournamentTeam >(arena); +} +template<> PROTOBUF_NOINLINE ::TournamentEvent* +Arena::CreateMaybeMessage< ::TournamentEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::TournamentEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::GlobalStatistics* +Arena::CreateMaybeMessage< ::GlobalStatistics >(Arena* arena) { + return Arena::CreateMessageInternal< ::GlobalStatistics >(arena); +} +template<> PROTOBUF_NOINLINE ::OperationalStatisticDescription* +Arena::CreateMaybeMessage< ::OperationalStatisticDescription >(Arena* arena) { + return Arena::CreateMessageInternal< ::OperationalStatisticDescription >(arena); +} +template<> PROTOBUF_NOINLINE ::OperationalStatisticElement* +Arena::CreateMaybeMessage< ::OperationalStatisticElement >(Arena* arena) { + return Arena::CreateMessageInternal< ::OperationalStatisticElement >(arena); +} +template<> PROTOBUF_NOINLINE ::OperationalStatisticsPacket* +Arena::CreateMaybeMessage< ::OperationalStatisticsPacket >(Arena* arena) { + return Arena::CreateMessageInternal< ::OperationalStatisticsPacket >(arena); +} +template<> PROTOBUF_NOINLINE ::OperationalVarValue* +Arena::CreateMaybeMessage< ::OperationalVarValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::OperationalVarValue >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerRankingInfo_PerMapRank* +Arena::CreateMaybeMessage< ::PlayerRankingInfo_PerMapRank >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerRankingInfo_PerMapRank >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerRankingInfo* +Arena::CreateMaybeMessage< ::PlayerRankingInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerRankingInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerCommendationInfo* +Arena::CreateMaybeMessage< ::PlayerCommendationInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerCommendationInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerMedalsInfo* +Arena::CreateMaybeMessage< ::PlayerMedalsInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerMedalsInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::AccountActivity* +Arena::CreateMaybeMessage< ::AccountActivity >(Arena* arena) { + return Arena::CreateMessageInternal< ::AccountActivity >(arena); +} +template<> PROTOBUF_NOINLINE ::TournamentMatchSetup* +Arena::CreateMaybeMessage< ::TournamentMatchSetup >(Arena* arena) { + return Arena::CreateMessageInternal< ::TournamentMatchSetup >(arena); +} +template<> PROTOBUF_NOINLINE ::ServerHltvInfo* +Arena::CreateMaybeMessage< ::ServerHltvInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::ServerHltvInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::IpAddressMask* +Arena::CreateMaybeMessage< ::IpAddressMask >(Arena* arena) { + return Arena::CreateMessageInternal< ::IpAddressMask >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgCsgoSteamUserStatChange* +Arena::CreateMaybeMessage< ::CMsgCsgoSteamUserStatChange >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgCsgoSteamUserStatChange >(arena); +} +template<> PROTOBUF_NOINLINE ::XpProgressData* +Arena::CreateMaybeMessage< ::XpProgressData >(Arena* arena) { + return Arena::CreateMessageInternal< ::XpProgressData >(arena); +} +template<> PROTOBUF_NOINLINE ::MatchEndItemUpdates* +Arena::CreateMaybeMessage< ::MatchEndItemUpdates >(Arena* arena) { + return Arena::CreateMessageInternal< ::MatchEndItemUpdates >(arena); +} +template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData_Entry* +Arena::CreateMaybeMessage< ::ScoreLeaderboardData_Entry >(Arena* arena) { + return Arena::CreateMessageInternal< ::ScoreLeaderboardData_Entry >(arena); +} +template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData_AccountEntries* +Arena::CreateMaybeMessage< ::ScoreLeaderboardData_AccountEntries >(Arena* arena) { + return Arena::CreateMessageInternal< ::ScoreLeaderboardData_AccountEntries >(arena); +} +template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData* +Arena::CreateMaybeMessage< ::ScoreLeaderboardData >(Arena* arena) { + return Arena::CreateMessageInternal< ::ScoreLeaderboardData >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerQuestData_QuestItemData* +Arena::CreateMaybeMessage< ::PlayerQuestData_QuestItemData >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerQuestData_QuestItemData >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerQuestData* +Arena::CreateMaybeMessage< ::PlayerQuestData >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerQuestData >(arena); +} +template<> PROTOBUF_NOINLINE ::DeepPlayerStatsEntry* +Arena::CreateMaybeMessage< ::DeepPlayerStatsEntry >(Arena* arena) { + return Arena::CreateMessageInternal< ::DeepPlayerStatsEntry >(arena); +} +template<> PROTOBUF_NOINLINE ::DeepPlayerMatchEvent* +Arena::CreateMaybeMessage< ::DeepPlayerMatchEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::DeepPlayerMatchEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGC_ServerQuestUpdateData* +Arena::CreateMaybeMessage< ::CMsgGC_ServerQuestUpdateData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGC_ServerQuestUpdateData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingStart* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingStart >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingStart >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingStop* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingStop >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingStop >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentMatchDraft* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentMatchDraft >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentMatchDraft >(arena); +} +template<> PROTOBUF_NOINLINE ::CPreMatchInfoData_TeamStats* +Arena::CreateMaybeMessage< ::CPreMatchInfoData_TeamStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPreMatchInfoData_TeamStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CPreMatchInfoData* +Arena::CreateMaybeMessage< ::CPreMatchInfoData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPreMatchInfoData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AccountPrivacySettings* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AccountPrivacySettings >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AccountPrivacySettings >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientGCRankUpdate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientGCRankUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientGCRankUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportPlayer* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportPlayer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportPlayer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientCommendPlayer* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientCommendPlayer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientCommendPlayer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportServer* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportServer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportServer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportResponse* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends >(arena); +} +template<> PROTOBUF_NOINLINE ::WatchableMatchInfo* +Arena::CreateMaybeMessage< ::WatchableMatchInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::WatchableMatchInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestJoinServerData* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestJoinServerData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestJoinServerData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_ClientRedeemMissionReward* +Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_ClientRedeemMissionReward >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_ClientRedeemMissionReward >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_ClientRedeemFreeReward* +Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_ClientRedeemFreeReward >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_ClientRedeemFreeReward >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* +Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientNetworkConfig* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientNetworkConfig >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientNetworkConfig >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_WatchInfoUsers* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_WatchInfoUsers >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_WatchInfoUsers >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayersProfile* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayersProfile >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayersProfile >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CClientHeaderOverwatchEvidence* +Arena::CreateMaybeMessage< ::CClientHeaderOverwatchEvidence >(Arena* arena) { + return Arena::CreateMessageInternal< ::CClientHeaderOverwatchEvidence >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientTextMsg* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientTextMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientTextMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCTextMsg* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCTextMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCTextMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops >(arena); +} +template<> PROTOBUF_NOINLINE ::CEconItemPreviewDataBlock_Sticker* +Arena::CreateMaybeMessage< ::CEconItemPreviewDataBlock_Sticker >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEconItemPreviewDataBlock_Sticker >(arena); +} +template<> PROTOBUF_NOINLINE ::CEconItemPreviewDataBlock* +Arena::CreateMaybeMessage< ::CEconItemPreviewDataBlock >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEconItemPreviewDataBlock >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgItemAcknowledged* +Arena::CreateMaybeMessage< ::CMsgItemAcknowledged >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgItemAcknowledged >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_MatchInfo* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_MatchInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_MatchInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroupTeam* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroupTeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroupTeam >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroup_Picks* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroup_Picks >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroup_Picks >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroup* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroup >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroup >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentSection* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentSection >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentSection >(arena); +} +template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentInfo* +Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchList* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchList >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Predictions* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Predictions >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Predictions >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy >(arena); +} +template<> PROTOBUF_NOINLINE ::CAttribute_String* +Arena::CreateMaybeMessage< ::CAttribute_String >(Arena* arena) { + return Arena::CreateMessageInternal< ::CAttribute_String >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgLegacySource1ClientWelcome_Location* +Arena::CreateMaybeMessage< ::CMsgLegacySource1ClientWelcome_Location >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgLegacySource1ClientWelcome_Location >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgLegacySource1ClientWelcome* +Arena::CreateMaybeMessage< ::CMsgLegacySource1ClientWelcome >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgLegacySource1ClientWelcome >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgCStrike15Welcome* +Arena::CreateMaybeMessage< ::CMsgCStrike15Welcome >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgCStrike15Welcome >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Server2GCClientValidate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Server2GCClientValidate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Server2GCClientValidate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOEconCoupon* +Arena::CreateMaybeMessage< ::CSOEconCoupon >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOEconCoupon >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountItemPersonalStore* +Arena::CreateMaybeMessage< ::CSOAccountItemPersonalStore >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountItemPersonalStore >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountXpShop* +Arena::CreateMaybeMessage< ::CSOAccountXpShop >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountXpShop >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountXpShopBids* +Arena::CreateMaybeMessage< ::CSOAccountXpShopBids >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountXpShopBids >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOVolatileItemOffer* +Arena::CreateMaybeMessage< ::CSOVolatileItemOffer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOVolatileItemOffer >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOVolatileItemClaimedRewards* +Arena::CreateMaybeMessage< ::CSOVolatileItemClaimedRewards >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOVolatileItemClaimedRewards >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountKeychainRemoveToolCharges* +Arena::CreateMaybeMessage< ::CSOAccountKeychainRemoveToolCharges >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountKeychainRemoveToolCharges >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOQuestProgress* +Arena::CreateMaybeMessage< ::CSOQuestProgress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOQuestProgress >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountSeasonalOperation* +Arena::CreateMaybeMessage< ::CSOAccountSeasonalOperation >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountSeasonalOperation >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountRecurringSubscription* +Arena::CreateMaybeMessage< ::CSOAccountRecurringSubscription >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountRecurringSubscription >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOGameAccountSteamChina* +Arena::CreateMaybeMessage< ::CSOGameAccountSteamChina >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOGameAccountSteamChina >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOPersonaDataPublic* +Arena::CreateMaybeMessage< ::CSOPersonaDataPublic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOPersonaDataPublic >(arena); +} +template<> PROTOBUF_NOINLINE ::CSOAccountRecurringMission* +Arena::CreateMaybeMessage< ::CSOAccountRecurringMission >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSOAccountRecurringMission >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Subscribe* +Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Subscribe >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Subscribe >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Unsubscribe* +Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Unsubscribe >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Unsubscribe >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Play* +Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Play >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Play >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AcknowledgePenalty* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AcknowledgePenalty >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AcknowledgePenalty >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCStreamUnlock* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCStreamUnlock >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCStreamUnlock >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCRequestElevate* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCRequestElevate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCRequestElevate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCChat* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCChat >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCChat >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GCToClientChat* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GCToClientChat >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GCToClientChat >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientAuthKeyCode* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientAuthKeyCode >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientAuthKeyCode >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_GotvSyncPacket* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_GotvSyncPacket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_GotvSyncPacket >(arena); +} +template<> PROTOBUF_NOINLINE ::PlayerDecalDigitalSignature* +Arena::CreateMaybeMessage< ::PlayerDecalDigitalSignature >(Arena* arena) { + return Arena::CreateMessageInternal< ::PlayerDecalDigitalSignature >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPlayerDecalSign* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPlayerDecalSign >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPlayerDecalSign >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_BetaEnrollment* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_BetaEnrollment >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_BetaEnrollment >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientLogonFatalError* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientLogonFatalError >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientLogonFatalError >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPollState* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPollState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPollState >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Register* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Register >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Register >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Search* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Search >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Search >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_SearchResults* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_SearchResults >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_SearchResults >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Invite* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Invite >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Invite >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Account_RequestCoPlays* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Account_RequestCoPlays >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Account_RequestCoPlays >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCRequestTicket* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCRequestTicket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCRequestTicket >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCToClientSteamDatagramTicket* +Arena::CreateMaybeMessage< ::CMsgGCToClientSteamDatagramTicket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCToClientSteamDatagramTicket >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestOffers* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestOffers >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestOffers >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestSouvenir* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestSouvenir >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestSouvenir >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientAccountBalance* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientAccountBalance >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientAccountBalance >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyJoinRelay* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyJoinRelay >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyJoinRelay >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyWarning* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyWarning >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyWarning >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_SetEventFavorite* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_SetEventFavorite >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_SetEventFavorite >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GetEventFavorites_Request* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GetEventFavorites_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GetEventFavorites_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GetEventFavorites_Response* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GetEventFavorites_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GetEventFavorites_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPerfReport* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPerfReport >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPerfReport >(arena); +} +template<> PROTOBUF_NOINLINE ::CVDiagnostic* +Arena::CreateMaybeMessage< ::CVDiagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CVDiagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportValidation* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportValidation >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportValidation >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientRequestValidation* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientRequestValidation >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientRequestValidation >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientInitSystem* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientInitSystem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientInitSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* +Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgRequestRecurringMissionSchedule* +Arena::CreateMaybeMessage< ::CMsgRequestRecurringMissionSchedule >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgRequestRecurringMissionSchedule >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgRecurringMissionSchema_MissionTemplateList* +Arena::CreateMaybeMessage< ::CMsgRecurringMissionSchema_MissionTemplateList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgRecurringMissionSchema_MissionTemplateList >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgRecurringMissionSchema* +Arena::CreateMaybeMessage< ::CMsgRecurringMissionSchema >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgRecurringMissionSchema >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h new file mode 100644 index 0000000..d961505 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_gcmessages.pb.h @@ -0,0 +1,75486 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cstrike15_gcmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_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 3021008 < 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 "steammessages.pb.h" +#include "engine_gcmessages.pb.h" +#include "gcsdk_gcmessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_cstrike15_5fgcmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_cstrike15_5fgcmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cstrike15_5fgcmessages_2eproto; +class AccountActivity; +struct AccountActivityDefaultTypeInternal; +extern AccountActivityDefaultTypeInternal _AccountActivity_default_instance_; +class CAttribute_String; +struct CAttribute_StringDefaultTypeInternal; +extern CAttribute_StringDefaultTypeInternal _CAttribute_String_default_instance_; +class CClientHeaderOverwatchEvidence; +struct CClientHeaderOverwatchEvidenceDefaultTypeInternal; +extern CClientHeaderOverwatchEvidenceDefaultTypeInternal _CClientHeaderOverwatchEvidence_default_instance_; +class CDataGCCStrike15_v2_MatchInfo; +struct CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal; +extern CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal _CDataGCCStrike15_v2_MatchInfo_default_instance_; +class CDataGCCStrike15_v2_TournamentGroup; +struct CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_default_instance_; +class CDataGCCStrike15_v2_TournamentGroupTeam; +struct CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_; +class CDataGCCStrike15_v2_TournamentGroup_Picks; +struct CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_; +class CDataGCCStrike15_v2_TournamentInfo; +struct CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal _CDataGCCStrike15_v2_TournamentInfo_default_instance_; +class CDataGCCStrike15_v2_TournamentMatchDraft; +struct CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_; +class CDataGCCStrike15_v2_TournamentMatchDraft_Entry; +struct CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_; +class CDataGCCStrike15_v2_TournamentSection; +struct CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal; +extern CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal _CDataGCCStrike15_v2_TournamentSection_default_instance_; +class CEconItemPreviewDataBlock; +struct CEconItemPreviewDataBlockDefaultTypeInternal; +extern CEconItemPreviewDataBlockDefaultTypeInternal _CEconItemPreviewDataBlock_default_instance_; +class CEconItemPreviewDataBlock_Sticker; +struct CEconItemPreviewDataBlock_StickerDefaultTypeInternal; +extern CEconItemPreviewDataBlock_StickerDefaultTypeInternal _CEconItemPreviewDataBlock_Sticker_default_instance_; +class CMsgCStrike15Welcome; +struct CMsgCStrike15WelcomeDefaultTypeInternal; +extern CMsgCStrike15WelcomeDefaultTypeInternal _CMsgCStrike15Welcome_default_instance_; +class CMsgCsgoSteamUserStatChange; +struct CMsgCsgoSteamUserStatChangeDefaultTypeInternal; +extern CMsgCsgoSteamUserStatChangeDefaultTypeInternal _CMsgCsgoSteamUserStatChange_default_instance_; +class CMsgGCCStrike15_ClientDeepStats; +struct CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal; +extern CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_default_instance_; +class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch; +struct CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal; +extern CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_; +class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange; +struct CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal; +extern CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_; +class CMsgGCCStrike15_GotvSyncPacket; +struct CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal; +extern CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal _CMsgGCCStrike15_GotvSyncPacket_default_instance_; +class CMsgGCCStrike15_v2_AccountPrivacySettings; +struct CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_; +class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting; +struct CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal; +extern CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_; +class CMsgGCCStrike15_v2_Account_RequestCoPlays; +struct CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_; +class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player; +struct CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_; +class CMsgGCCStrike15_v2_AcknowledgePenalty; +struct CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal; +extern CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_; +class CMsgGCCStrike15_v2_BetaEnrollment; +struct CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal; +extern CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal _CMsgGCCStrike15_v2_BetaEnrollment_default_instance_; +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest; +struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_; +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse; +struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_; +class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin; +struct CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_; +class CMsgGCCStrike15_v2_Client2GCStreamUnlock; +struct CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_; +class CMsgGCCStrike15_v2_Client2GCTextMsg; +struct CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_; +class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks; +struct CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_; +class CMsgGCCStrike15_v2_ClientAccountBalance; +struct CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_; +class CMsgGCCStrike15_v2_ClientAuthKeyCode; +struct CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_; +class CMsgGCCStrike15_v2_ClientCommendPlayer; +struct CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_; +class CMsgGCCStrike15_v2_ClientGCRankUpdate; +struct CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_; +class CMsgGCCStrike15_v2_ClientLogonFatalError; +struct CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal _CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_; +class CMsgGCCStrike15_v2_ClientNetworkConfig; +struct CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal _CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_; +class CMsgGCCStrike15_v2_ClientPartyJoinRelay; +struct CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_; +class CMsgGCCStrike15_v2_ClientPartyWarning; +struct CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_; +class CMsgGCCStrike15_v2_ClientPartyWarning_Entry; +struct CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_; +class CMsgGCCStrike15_v2_ClientPerfReport; +struct CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_default_instance_; +class CMsgGCCStrike15_v2_ClientPerfReport_Entry; +struct CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_; +class CMsgGCCStrike15_v2_ClientPlayerDecalSign; +struct CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_; +class CMsgGCCStrike15_v2_ClientPollState; +struct CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPollState_default_instance_; +class CMsgGCCStrike15_v2_ClientReportPlayer; +struct CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_; +class CMsgGCCStrike15_v2_ClientReportResponse; +struct CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportResponse_default_instance_; +class CMsgGCCStrike15_v2_ClientReportServer; +struct CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportServer_default_instance_; +class CMsgGCCStrike15_v2_ClientReportValidation; +struct CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportValidation_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestJoinFriendData; +struct CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestJoinServerData; +struct CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestOffers; +struct CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestPlayersProfile; +struct CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestSouvenir; +struct CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_; +class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends; +struct CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_; +class CMsgGCCStrike15_v2_ClientSubmitSurveyVote; +struct CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal _CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_; +class CMsgGCCStrike15_v2_ClientToGCChat; +struct CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCChat_default_instance_; +class CMsgGCCStrike15_v2_ClientToGCRequestElevate; +struct CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_; +class CMsgGCCStrike15_v2_ClientToGCRequestTicket; +struct CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_; +class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo; +struct CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_; +class CMsgGCCStrike15_v2_Fantasy; +struct CMsgGCCStrike15_v2_FantasyDefaultTypeInternal; +extern CMsgGCCStrike15_v2_FantasyDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_default_instance_; +class CMsgGCCStrike15_v2_Fantasy_FantasySlot; +struct CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_; +class CMsgGCCStrike15_v2_Fantasy_FantasyTeam; +struct CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientInitSystem; +struct CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response; +struct CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop; +struct CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode; +struct CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientRequestValidation; +struct CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientTextMsg; +struct CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_; +class CMsgGCCStrike15_v2_GC2ClientTournamentInfo; +struct CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_; +class CMsgGCCStrike15_v2_GC2ServerReservationUpdate; +struct CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_; +class CMsgGCCStrike15_v2_GCToClientChat; +struct CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal _CMsgGCCStrike15_v2_GCToClientChat_default_instance_; +class CMsgGCCStrike15_v2_GetEventFavorites_Request; +struct CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_; +class CMsgGCCStrike15_v2_GetEventFavorites_Response; +struct CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_; +class CMsgGCCStrike15_v2_GiftsLeaderboardRequest; +struct CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_; +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse; +struct CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_; +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry; +struct CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal; +extern CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_; +class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification; +struct CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_; +class CMsgGCCStrike15_v2_MatchEndRunRewardDrops; +struct CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_; +class CMsgGCCStrike15_v2_MatchList; +struct CMsgGCCStrike15_v2_MatchListDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListDefaultTypeInternal _CMsgGCCStrike15_v2_MatchList_default_instance_; +class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames; +struct CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_; +class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo; +struct CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_; +class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser; +struct CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_; +class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames; +struct CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_; +class CMsgGCCStrike15_v2_MatchListRequestTournamentGames; +struct CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_; +class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt; +struct CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingClient2GCHello; +struct CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing; +struct CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note; +struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm; +struct CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve; +struct CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate; +struct CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse; +struct CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats; +struct CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo; +struct CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingStart; +struct CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStart_default_instance_; +class CMsgGCCStrike15_v2_MatchmakingStop; +struct CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal; +extern CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStop_default_instance_; +class CMsgGCCStrike15_v2_Party_Invite; +struct CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Invite_default_instance_; +class CMsgGCCStrike15_v2_Party_Register; +struct CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Register_default_instance_; +class CMsgGCCStrike15_v2_Party_Search; +struct CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Search_default_instance_; +class CMsgGCCStrike15_v2_Party_SearchResults; +struct CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_default_instance_; +class CMsgGCCStrike15_v2_Party_SearchResults_Entry; +struct CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_; +class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment; +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_; +class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus; +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_; +class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate; +struct CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_; +class CMsgGCCStrike15_v2_PlayersProfile; +struct CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_PlayersProfile_default_instance_; +class CMsgGCCStrike15_v2_Predictions; +struct CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_default_instance_; +class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick; +struct CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_; +class CMsgGCCStrike15_v2_PremierSeasonSummary; +struct CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_; +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap; +struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_; +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek; +struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal; +extern CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_; +class CMsgGCCStrike15_v2_Server2GCClientValidate; +struct CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal; +extern CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal _CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_; +class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty; +struct CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_; +class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo; +struct CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal; +extern CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_; +class CMsgGCCStrike15_v2_SetEventFavorite; +struct CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal; +extern CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal _CMsgGCCStrike15_v2_SetEventFavorite_default_instance_; +class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName; +struct CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal; +extern CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal _CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_; +class CMsgGCCStrike15_v2_WatchInfoUsers; +struct CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal; +extern CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal _CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_; +class CMsgGCCstrike15_v2_ClientRedeemFreeReward; +struct CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal; +extern CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_; +class CMsgGCCstrike15_v2_ClientRedeemMissionReward; +struct CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal; +extern CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_; +class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded; +struct CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal; +extern CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal _CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_; +class CMsgGCToClientSteamDatagramTicket; +struct CMsgGCToClientSteamDatagramTicketDefaultTypeInternal; +extern CMsgGCToClientSteamDatagramTicketDefaultTypeInternal _CMsgGCToClientSteamDatagramTicket_default_instance_; +class CMsgGC_GlobalGame_Play; +struct CMsgGC_GlobalGame_PlayDefaultTypeInternal; +extern CMsgGC_GlobalGame_PlayDefaultTypeInternal _CMsgGC_GlobalGame_Play_default_instance_; +class CMsgGC_GlobalGame_Subscribe; +struct CMsgGC_GlobalGame_SubscribeDefaultTypeInternal; +extern CMsgGC_GlobalGame_SubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Subscribe_default_instance_; +class CMsgGC_GlobalGame_Unsubscribe; +struct CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal; +extern CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Unsubscribe_default_instance_; +class CMsgGC_ServerQuestUpdateData; +struct CMsgGC_ServerQuestUpdateDataDefaultTypeInternal; +extern CMsgGC_ServerQuestUpdateDataDefaultTypeInternal _CMsgGC_ServerQuestUpdateData_default_instance_; +class CMsgItemAcknowledged; +struct CMsgItemAcknowledgedDefaultTypeInternal; +extern CMsgItemAcknowledgedDefaultTypeInternal _CMsgItemAcknowledged_default_instance_; +class CMsgLegacySource1ClientWelcome; +struct CMsgLegacySource1ClientWelcomeDefaultTypeInternal; +extern CMsgLegacySource1ClientWelcomeDefaultTypeInternal _CMsgLegacySource1ClientWelcome_default_instance_; +class CMsgLegacySource1ClientWelcome_Location; +struct CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal; +extern CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal _CMsgLegacySource1ClientWelcome_Location_default_instance_; +class CMsgRecurringMissionSchema; +struct CMsgRecurringMissionSchemaDefaultTypeInternal; +extern CMsgRecurringMissionSchemaDefaultTypeInternal _CMsgRecurringMissionSchema_default_instance_; +class CMsgRecurringMissionSchema_MissionTemplateList; +struct CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal; +extern CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal _CMsgRecurringMissionSchema_MissionTemplateList_default_instance_; +class CMsgRequestRecurringMissionSchedule; +struct CMsgRequestRecurringMissionScheduleDefaultTypeInternal; +extern CMsgRequestRecurringMissionScheduleDefaultTypeInternal _CMsgRequestRecurringMissionSchedule_default_instance_; +class CPreMatchInfoData; +struct CPreMatchInfoDataDefaultTypeInternal; +extern CPreMatchInfoDataDefaultTypeInternal _CPreMatchInfoData_default_instance_; +class CPreMatchInfoData_TeamStats; +struct CPreMatchInfoData_TeamStatsDefaultTypeInternal; +extern CPreMatchInfoData_TeamStatsDefaultTypeInternal _CPreMatchInfoData_TeamStats_default_instance_; +class CSOAccountItemPersonalStore; +struct CSOAccountItemPersonalStoreDefaultTypeInternal; +extern CSOAccountItemPersonalStoreDefaultTypeInternal _CSOAccountItemPersonalStore_default_instance_; +class CSOAccountKeychainRemoveToolCharges; +struct CSOAccountKeychainRemoveToolChargesDefaultTypeInternal; +extern CSOAccountKeychainRemoveToolChargesDefaultTypeInternal _CSOAccountKeychainRemoveToolCharges_default_instance_; +class CSOAccountRecurringMission; +struct CSOAccountRecurringMissionDefaultTypeInternal; +extern CSOAccountRecurringMissionDefaultTypeInternal _CSOAccountRecurringMission_default_instance_; +class CSOAccountRecurringSubscription; +struct CSOAccountRecurringSubscriptionDefaultTypeInternal; +extern CSOAccountRecurringSubscriptionDefaultTypeInternal _CSOAccountRecurringSubscription_default_instance_; +class CSOAccountSeasonalOperation; +struct CSOAccountSeasonalOperationDefaultTypeInternal; +extern CSOAccountSeasonalOperationDefaultTypeInternal _CSOAccountSeasonalOperation_default_instance_; +class CSOAccountXpShop; +struct CSOAccountXpShopDefaultTypeInternal; +extern CSOAccountXpShopDefaultTypeInternal _CSOAccountXpShop_default_instance_; +class CSOAccountXpShopBids; +struct CSOAccountXpShopBidsDefaultTypeInternal; +extern CSOAccountXpShopBidsDefaultTypeInternal _CSOAccountXpShopBids_default_instance_; +class CSOEconCoupon; +struct CSOEconCouponDefaultTypeInternal; +extern CSOEconCouponDefaultTypeInternal _CSOEconCoupon_default_instance_; +class CSOGameAccountSteamChina; +struct CSOGameAccountSteamChinaDefaultTypeInternal; +extern CSOGameAccountSteamChinaDefaultTypeInternal _CSOGameAccountSteamChina_default_instance_; +class CSOPersonaDataPublic; +struct CSOPersonaDataPublicDefaultTypeInternal; +extern CSOPersonaDataPublicDefaultTypeInternal _CSOPersonaDataPublic_default_instance_; +class CSOQuestProgress; +struct CSOQuestProgressDefaultTypeInternal; +extern CSOQuestProgressDefaultTypeInternal _CSOQuestProgress_default_instance_; +class CSOVolatileItemClaimedRewards; +struct CSOVolatileItemClaimedRewardsDefaultTypeInternal; +extern CSOVolatileItemClaimedRewardsDefaultTypeInternal _CSOVolatileItemClaimedRewards_default_instance_; +class CSOVolatileItemOffer; +struct CSOVolatileItemOfferDefaultTypeInternal; +extern CSOVolatileItemOfferDefaultTypeInternal _CSOVolatileItemOffer_default_instance_; +class CVDiagnostic; +struct CVDiagnosticDefaultTypeInternal; +extern CVDiagnosticDefaultTypeInternal _CVDiagnostic_default_instance_; +class DataCenterPing; +struct DataCenterPingDefaultTypeInternal; +extern DataCenterPingDefaultTypeInternal _DataCenterPing_default_instance_; +class DeepPlayerMatchEvent; +struct DeepPlayerMatchEventDefaultTypeInternal; +extern DeepPlayerMatchEventDefaultTypeInternal _DeepPlayerMatchEvent_default_instance_; +class DeepPlayerStatsEntry; +struct DeepPlayerStatsEntryDefaultTypeInternal; +extern DeepPlayerStatsEntryDefaultTypeInternal _DeepPlayerStatsEntry_default_instance_; +class DetailedSearchStatistic; +struct DetailedSearchStatisticDefaultTypeInternal; +extern DetailedSearchStatisticDefaultTypeInternal _DetailedSearchStatistic_default_instance_; +class GameServerPing; +struct GameServerPingDefaultTypeInternal; +extern GameServerPingDefaultTypeInternal _GameServerPing_default_instance_; +class GlobalStatistics; +struct GlobalStatisticsDefaultTypeInternal; +extern GlobalStatisticsDefaultTypeInternal _GlobalStatistics_default_instance_; +class IpAddressMask; +struct IpAddressMaskDefaultTypeInternal; +extern IpAddressMaskDefaultTypeInternal _IpAddressMask_default_instance_; +class MatchEndItemUpdates; +struct MatchEndItemUpdatesDefaultTypeInternal; +extern MatchEndItemUpdatesDefaultTypeInternal _MatchEndItemUpdates_default_instance_; +class OperationalStatisticDescription; +struct OperationalStatisticDescriptionDefaultTypeInternal; +extern OperationalStatisticDescriptionDefaultTypeInternal _OperationalStatisticDescription_default_instance_; +class OperationalStatisticElement; +struct OperationalStatisticElementDefaultTypeInternal; +extern OperationalStatisticElementDefaultTypeInternal _OperationalStatisticElement_default_instance_; +class OperationalStatisticsPacket; +struct OperationalStatisticsPacketDefaultTypeInternal; +extern OperationalStatisticsPacketDefaultTypeInternal _OperationalStatisticsPacket_default_instance_; +class OperationalVarValue; +struct OperationalVarValueDefaultTypeInternal; +extern OperationalVarValueDefaultTypeInternal _OperationalVarValue_default_instance_; +class PlayerCommendationInfo; +struct PlayerCommendationInfoDefaultTypeInternal; +extern PlayerCommendationInfoDefaultTypeInternal _PlayerCommendationInfo_default_instance_; +class PlayerDecalDigitalSignature; +struct PlayerDecalDigitalSignatureDefaultTypeInternal; +extern PlayerDecalDigitalSignatureDefaultTypeInternal _PlayerDecalDigitalSignature_default_instance_; +class PlayerMedalsInfo; +struct PlayerMedalsInfoDefaultTypeInternal; +extern PlayerMedalsInfoDefaultTypeInternal _PlayerMedalsInfo_default_instance_; +class PlayerQuestData; +struct PlayerQuestDataDefaultTypeInternal; +extern PlayerQuestDataDefaultTypeInternal _PlayerQuestData_default_instance_; +class PlayerQuestData_QuestItemData; +struct PlayerQuestData_QuestItemDataDefaultTypeInternal; +extern PlayerQuestData_QuestItemDataDefaultTypeInternal _PlayerQuestData_QuestItemData_default_instance_; +class PlayerRankingInfo; +struct PlayerRankingInfoDefaultTypeInternal; +extern PlayerRankingInfoDefaultTypeInternal _PlayerRankingInfo_default_instance_; +class PlayerRankingInfo_PerMapRank; +struct PlayerRankingInfo_PerMapRankDefaultTypeInternal; +extern PlayerRankingInfo_PerMapRankDefaultTypeInternal _PlayerRankingInfo_PerMapRank_default_instance_; +class ScoreLeaderboardData; +struct ScoreLeaderboardDataDefaultTypeInternal; +extern ScoreLeaderboardDataDefaultTypeInternal _ScoreLeaderboardData_default_instance_; +class ScoreLeaderboardData_AccountEntries; +struct ScoreLeaderboardData_AccountEntriesDefaultTypeInternal; +extern ScoreLeaderboardData_AccountEntriesDefaultTypeInternal _ScoreLeaderboardData_AccountEntries_default_instance_; +class ScoreLeaderboardData_Entry; +struct ScoreLeaderboardData_EntryDefaultTypeInternal; +extern ScoreLeaderboardData_EntryDefaultTypeInternal _ScoreLeaderboardData_Entry_default_instance_; +class ServerHltvInfo; +struct ServerHltvInfoDefaultTypeInternal; +extern ServerHltvInfoDefaultTypeInternal _ServerHltvInfo_default_instance_; +class TournamentEvent; +struct TournamentEventDefaultTypeInternal; +extern TournamentEventDefaultTypeInternal _TournamentEvent_default_instance_; +class TournamentMatchSetup; +struct TournamentMatchSetupDefaultTypeInternal; +extern TournamentMatchSetupDefaultTypeInternal _TournamentMatchSetup_default_instance_; +class TournamentPlayer; +struct TournamentPlayerDefaultTypeInternal; +extern TournamentPlayerDefaultTypeInternal _TournamentPlayer_default_instance_; +class TournamentTeam; +struct TournamentTeamDefaultTypeInternal; +extern TournamentTeamDefaultTypeInternal _TournamentTeam_default_instance_; +class WatchableMatchInfo; +struct WatchableMatchInfoDefaultTypeInternal; +extern WatchableMatchInfoDefaultTypeInternal _WatchableMatchInfo_default_instance_; +class XpProgressData; +struct XpProgressDataDefaultTypeInternal; +extern XpProgressDataDefaultTypeInternal _XpProgressData_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::AccountActivity* Arena::CreateMaybeMessage<::AccountActivity>(Arena*); +template<> ::CAttribute_String* Arena::CreateMaybeMessage<::CAttribute_String>(Arena*); +template<> ::CClientHeaderOverwatchEvidence* Arena::CreateMaybeMessage<::CClientHeaderOverwatchEvidence>(Arena*); +template<> ::CDataGCCStrike15_v2_MatchInfo* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_MatchInfo>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentGroup* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroup>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentGroupTeam* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroupTeam>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentGroup_Picks* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroup_Picks>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentInfo* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentInfo>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentMatchDraft* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft_Entry>(Arena*); +template<> ::CDataGCCStrike15_v2_TournamentSection* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentSection>(Arena*); +template<> ::CEconItemPreviewDataBlock* Arena::CreateMaybeMessage<::CEconItemPreviewDataBlock>(Arena*); +template<> ::CEconItemPreviewDataBlock_Sticker* Arena::CreateMaybeMessage<::CEconItemPreviewDataBlock_Sticker>(Arena*); +template<> ::CMsgCStrike15Welcome* Arena::CreateMaybeMessage<::CMsgCStrike15Welcome>(Arena*); +template<> ::CMsgCsgoSteamUserStatChange* Arena::CreateMaybeMessage<::CMsgCsgoSteamUserStatChange>(Arena*); +template<> ::CMsgGCCStrike15_ClientDeepStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats>(Arena*); +template<> ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch>(Arena*); +template<> ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange>(Arena*); +template<> ::CMsgGCCStrike15_GotvSyncPacket* Arena::CreateMaybeMessage<::CMsgGCCStrike15_GotvSyncPacket>(Arena*); +template<> ::CMsgGCCStrike15_v2_AccountPrivacySettings* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AccountPrivacySettings>(Arena*); +template<> ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting>(Arena*); +template<> ::CMsgGCCStrike15_v2_Account_RequestCoPlays* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Account_RequestCoPlays>(Arena*); +template<> ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player>(Arena*); +template<> ::CMsgGCCStrike15_v2_AcknowledgePenalty* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AcknowledgePenalty>(Arena*); +template<> ::CMsgGCCStrike15_v2_BetaEnrollment* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_BetaEnrollment>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GCStreamUnlock* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCStreamUnlock>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GCTextMsg* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCTextMsg>(Arena*); +template<> ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientAccountBalance* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientAccountBalance>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientAuthKeyCode* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientAuthKeyCode>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientCommendPlayer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientCommendPlayer>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientGCRankUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientGCRankUpdate>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientLogonFatalError* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientLogonFatalError>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientNetworkConfig* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientNetworkConfig>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPartyJoinRelay* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyJoinRelay>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPartyWarning* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyWarning>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyWarning_Entry>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPerfReport* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPerfReport>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPerfReport_Entry>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPlayerDecalSign* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPlayerDecalSign>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientPollState* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPollState>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientReportPlayer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportPlayer>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientReportResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportResponse>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientReportServer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportServer>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientReportValidation* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportValidation>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestJoinFriendData>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestJoinServerData* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestJoinServerData>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestOffers* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestOffers>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestPlayersProfile>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestSouvenir* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestSouvenir>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientSubmitSurveyVote>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientToGCChat* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCChat>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientToGCRequestElevate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCRequestElevate>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientToGCRequestTicket* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCRequestTicket>(Arena*); +template<> ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo>(Arena*); +template<> ::CMsgGCCStrike15_v2_Fantasy* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy>(Arena*); +template<> ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy_FantasySlot>(Arena*); +template<> ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy_FantasyTeam>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientInitSystem* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientInitSystem>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientRequestValidation* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientRequestValidation>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientTextMsg* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientTextMsg>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientTournamentInfo>(Arena*); +template<> ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ServerReservationUpdate>(Arena*); +template<> ::CMsgGCCStrike15_v2_GCToClientChat* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GCToClientChat>(Arena*); +template<> ::CMsgGCCStrike15_v2_GetEventFavorites_Request* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GetEventFavorites_Request>(Arena*); +template<> ::CMsgGCCStrike15_v2_GetEventFavorites_Response* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GetEventFavorites_Response>(Arena*); +template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardRequest>(Arena*); +template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardResponse>(Arena*); +template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchEndRunRewardDrops>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchList* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchList>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestTournamentGames>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingClient2GCHello>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingStart* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingStart>(Arena*); +template<> ::CMsgGCCStrike15_v2_MatchmakingStop* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingStop>(Arena*); +template<> ::CMsgGCCStrike15_v2_Party_Invite* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Invite>(Arena*); +template<> ::CMsgGCCStrike15_v2_Party_Register* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Register>(Arena*); +template<> ::CMsgGCCStrike15_v2_Party_Search* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Search>(Arena*); +template<> ::CMsgGCCStrike15_v2_Party_SearchResults* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_SearchResults>(Arena*); +template<> ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_SearchResults_Entry>(Arena*); +template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment>(Arena*); +template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus>(Arena*); +template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate>(Arena*); +template<> ::CMsgGCCStrike15_v2_PlayersProfile* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayersProfile>(Arena*); +template<> ::CMsgGCCStrike15_v2_Predictions* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Predictions>(Arena*); +template<> ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick>(Arena*); +template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary>(Arena*); +template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap>(Arena*); +template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek>(Arena*); +template<> ::CMsgGCCStrike15_v2_Server2GCClientValidate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Server2GCClientValidate>(Arena*); +template<> ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty>(Arena*); +template<> ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo>(Arena*); +template<> ::CMsgGCCStrike15_v2_SetEventFavorite* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_SetEventFavorite>(Arena*); +template<> ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName>(Arena*); +template<> ::CMsgGCCStrike15_v2_WatchInfoUsers* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_WatchInfoUsers>(Arena*); +template<> ::CMsgGCCstrike15_v2_ClientRedeemFreeReward* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_ClientRedeemFreeReward>(Arena*); +template<> ::CMsgGCCstrike15_v2_ClientRedeemMissionReward* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_ClientRedeemMissionReward>(Arena*); +template<> ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded>(Arena*); +template<> ::CMsgGCToClientSteamDatagramTicket* Arena::CreateMaybeMessage<::CMsgGCToClientSteamDatagramTicket>(Arena*); +template<> ::CMsgGC_GlobalGame_Play* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Play>(Arena*); +template<> ::CMsgGC_GlobalGame_Subscribe* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Subscribe>(Arena*); +template<> ::CMsgGC_GlobalGame_Unsubscribe* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Unsubscribe>(Arena*); +template<> ::CMsgGC_ServerQuestUpdateData* Arena::CreateMaybeMessage<::CMsgGC_ServerQuestUpdateData>(Arena*); +template<> ::CMsgItemAcknowledged* Arena::CreateMaybeMessage<::CMsgItemAcknowledged>(Arena*); +template<> ::CMsgLegacySource1ClientWelcome* Arena::CreateMaybeMessage<::CMsgLegacySource1ClientWelcome>(Arena*); +template<> ::CMsgLegacySource1ClientWelcome_Location* Arena::CreateMaybeMessage<::CMsgLegacySource1ClientWelcome_Location>(Arena*); +template<> ::CMsgRecurringMissionSchema* Arena::CreateMaybeMessage<::CMsgRecurringMissionSchema>(Arena*); +template<> ::CMsgRecurringMissionSchema_MissionTemplateList* Arena::CreateMaybeMessage<::CMsgRecurringMissionSchema_MissionTemplateList>(Arena*); +template<> ::CMsgRequestRecurringMissionSchedule* Arena::CreateMaybeMessage<::CMsgRequestRecurringMissionSchedule>(Arena*); +template<> ::CPreMatchInfoData* Arena::CreateMaybeMessage<::CPreMatchInfoData>(Arena*); +template<> ::CPreMatchInfoData_TeamStats* Arena::CreateMaybeMessage<::CPreMatchInfoData_TeamStats>(Arena*); +template<> ::CSOAccountItemPersonalStore* Arena::CreateMaybeMessage<::CSOAccountItemPersonalStore>(Arena*); +template<> ::CSOAccountKeychainRemoveToolCharges* Arena::CreateMaybeMessage<::CSOAccountKeychainRemoveToolCharges>(Arena*); +template<> ::CSOAccountRecurringMission* Arena::CreateMaybeMessage<::CSOAccountRecurringMission>(Arena*); +template<> ::CSOAccountRecurringSubscription* Arena::CreateMaybeMessage<::CSOAccountRecurringSubscription>(Arena*); +template<> ::CSOAccountSeasonalOperation* Arena::CreateMaybeMessage<::CSOAccountSeasonalOperation>(Arena*); +template<> ::CSOAccountXpShop* Arena::CreateMaybeMessage<::CSOAccountXpShop>(Arena*); +template<> ::CSOAccountXpShopBids* Arena::CreateMaybeMessage<::CSOAccountXpShopBids>(Arena*); +template<> ::CSOEconCoupon* Arena::CreateMaybeMessage<::CSOEconCoupon>(Arena*); +template<> ::CSOGameAccountSteamChina* Arena::CreateMaybeMessage<::CSOGameAccountSteamChina>(Arena*); +template<> ::CSOPersonaDataPublic* Arena::CreateMaybeMessage<::CSOPersonaDataPublic>(Arena*); +template<> ::CSOQuestProgress* Arena::CreateMaybeMessage<::CSOQuestProgress>(Arena*); +template<> ::CSOVolatileItemClaimedRewards* Arena::CreateMaybeMessage<::CSOVolatileItemClaimedRewards>(Arena*); +template<> ::CSOVolatileItemOffer* Arena::CreateMaybeMessage<::CSOVolatileItemOffer>(Arena*); +template<> ::CVDiagnostic* Arena::CreateMaybeMessage<::CVDiagnostic>(Arena*); +template<> ::DataCenterPing* Arena::CreateMaybeMessage<::DataCenterPing>(Arena*); +template<> ::DeepPlayerMatchEvent* Arena::CreateMaybeMessage<::DeepPlayerMatchEvent>(Arena*); +template<> ::DeepPlayerStatsEntry* Arena::CreateMaybeMessage<::DeepPlayerStatsEntry>(Arena*); +template<> ::DetailedSearchStatistic* Arena::CreateMaybeMessage<::DetailedSearchStatistic>(Arena*); +template<> ::GameServerPing* Arena::CreateMaybeMessage<::GameServerPing>(Arena*); +template<> ::GlobalStatistics* Arena::CreateMaybeMessage<::GlobalStatistics>(Arena*); +template<> ::IpAddressMask* Arena::CreateMaybeMessage<::IpAddressMask>(Arena*); +template<> ::MatchEndItemUpdates* Arena::CreateMaybeMessage<::MatchEndItemUpdates>(Arena*); +template<> ::OperationalStatisticDescription* Arena::CreateMaybeMessage<::OperationalStatisticDescription>(Arena*); +template<> ::OperationalStatisticElement* Arena::CreateMaybeMessage<::OperationalStatisticElement>(Arena*); +template<> ::OperationalStatisticsPacket* Arena::CreateMaybeMessage<::OperationalStatisticsPacket>(Arena*); +template<> ::OperationalVarValue* Arena::CreateMaybeMessage<::OperationalVarValue>(Arena*); +template<> ::PlayerCommendationInfo* Arena::CreateMaybeMessage<::PlayerCommendationInfo>(Arena*); +template<> ::PlayerDecalDigitalSignature* Arena::CreateMaybeMessage<::PlayerDecalDigitalSignature>(Arena*); +template<> ::PlayerMedalsInfo* Arena::CreateMaybeMessage<::PlayerMedalsInfo>(Arena*); +template<> ::PlayerQuestData* Arena::CreateMaybeMessage<::PlayerQuestData>(Arena*); +template<> ::PlayerQuestData_QuestItemData* Arena::CreateMaybeMessage<::PlayerQuestData_QuestItemData>(Arena*); +template<> ::PlayerRankingInfo* Arena::CreateMaybeMessage<::PlayerRankingInfo>(Arena*); +template<> ::PlayerRankingInfo_PerMapRank* Arena::CreateMaybeMessage<::PlayerRankingInfo_PerMapRank>(Arena*); +template<> ::ScoreLeaderboardData* Arena::CreateMaybeMessage<::ScoreLeaderboardData>(Arena*); +template<> ::ScoreLeaderboardData_AccountEntries* Arena::CreateMaybeMessage<::ScoreLeaderboardData_AccountEntries>(Arena*); +template<> ::ScoreLeaderboardData_Entry* Arena::CreateMaybeMessage<::ScoreLeaderboardData_Entry>(Arena*); +template<> ::ServerHltvInfo* Arena::CreateMaybeMessage<::ServerHltvInfo>(Arena*); +template<> ::TournamentEvent* Arena::CreateMaybeMessage<::TournamentEvent>(Arena*); +template<> ::TournamentMatchSetup* Arena::CreateMaybeMessage<::TournamentMatchSetup>(Arena*); +template<> ::TournamentPlayer* Arena::CreateMaybeMessage<::TournamentPlayer>(Arena*); +template<> ::TournamentTeam* Arena::CreateMaybeMessage<::TournamentTeam>(Arena*); +template<> ::WatchableMatchInfo* Arena::CreateMaybeMessage<::WatchableMatchInfo>(Arena*); +template<> ::XpProgressData* Arena::CreateMaybeMessage<::XpProgressData>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ECsgoGCMsg : int { + k_EMsgGCCStrike15_v2_Base = 9100, + k_EMsgGCCStrike15_v2_MatchmakingStart = 9101, + k_EMsgGCCStrike15_v2_MatchmakingStop = 9102, + k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing = 9103, + k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate = 9104, + k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse = 9106, + k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve = 9107, + k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello = 9109, + k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello = 9110, + k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon = 9112, + k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate = 9117, + k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty = 9118, + k_EMsgGCCStrike15_v2_ClientReportPlayer = 9119, + k_EMsgGCCStrike15_v2_ClientReportServer = 9120, + k_EMsgGCCStrike15_v2_ClientCommendPlayer = 9121, + k_EMsgGCCStrike15_v2_ClientReportResponse = 9122, + k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery = 9123, + k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse = 9124, + k_EMsgGCCStrike15_v2_WatchInfoUsers = 9126, + k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile = 9127, + k_EMsgGCCStrike15_v2_PlayersProfile = 9128, + k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate = 9131, + k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment = 9132, + k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus = 9133, + k_EMsgGCCStrike15_v2_GC2ClientTextMsg = 9134, + k_EMsgGCCStrike15_v2_Client2GCTextMsg = 9135, + k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops = 9136, + k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification = 9137, + k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2 = 9138, + k_EMsgGCCStrike15_v2_MatchList = 9139, + k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames = 9140, + k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames = 9141, + k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate = 9142, + k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo = 9144, + k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames = 9146, + k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo = 9147, + k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest = 9148, + k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse = 9149, + k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo = 9150, + k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote = 9152, + k_EMsgGCCStrike15_v2_Server2GCClientValidate = 9153, + k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser = 9154, + k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest = 9156, + k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse = 9157, + k_EMsgGCCStrike15_v2_AccountPrivacySettings = 9158, + k_EMsgGCCStrike15_v2_SetMyActivityInfo = 9159, + k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions = 9160, + k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions = 9161, + k_EMsgGCCStrike15_v2_DraftSummary = 9162, + k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData = 9163, + k_EMsgGCCStrike15_v2_ClientRequestJoinServerData = 9164, + k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo = 9167, + k_EMsgGC_GlobalGame_Subscribe = 9168, + k_EMsgGC_GlobalGame_Unsubscribe = 9169, + k_EMsgGC_GlobalGame_Play = 9170, + k_EMsgGCCStrike15_v2_AcknowledgePenalty = 9171, + k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin = 9172, + k_EMsgGCCStrike15_v2_GC2ClientGlobalStats = 9173, + k_EMsgGCCStrike15_v2_Client2GCStreamUnlock = 9174, + k_EMsgGCCStrike15_v2_FantasyRequestClientData = 9175, + k_EMsgGCCStrike15_v2_FantasyUpdateClientData = 9176, + k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket = 9177, + k_EMsgGCCStrike15_v2_ClientToGCRequestTicket = 9178, + k_EMsgGCCStrike15_v2_ClientToGCRequestElevate = 9179, + k_EMsgGCCStrike15_v2_GlobalChat = 9180, + k_EMsgGCCStrike15_v2_GlobalChat_Subscribe = 9181, + k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe = 9182, + k_EMsgGCCStrike15_v2_ClientAuthKeyCode = 9183, + k_EMsgGCCStrike15_v2_GotvSyncPacket = 9184, + k_EMsgGCCStrike15_v2_ClientPlayerDecalSign = 9185, + k_EMsgGCCStrike15_v2_ClientLogonFatalError = 9187, + k_EMsgGCCStrike15_v2_ClientPollState = 9188, + k_EMsgGCCStrike15_v2_Party_Register = 9189, + k_EMsgGCCStrike15_v2_Party_Unregister = 9190, + k_EMsgGCCStrike15_v2_Party_Search = 9191, + k_EMsgGCCStrike15_v2_Party_Invite = 9192, + k_EMsgGCCStrike15_v2_Account_RequestCoPlays = 9193, + k_EMsgGCCStrike15_v2_ClientGCRankUpdate = 9194, + k_EMsgGCCStrike15_v2_ClientRequestOffers = 9195, + k_EMsgGCCStrike15_v2_ClientAccountBalance = 9196, + k_EMsgGCCStrike15_v2_ClientPartyJoinRelay = 9197, + k_EMsgGCCStrike15_v2_ClientPartyWarning = 9198, + k_EMsgGCCStrike15_v2_SetEventFavorite = 9200, + k_EMsgGCCStrike15_v2_GetEventFavorites_Request = 9201, + k_EMsgGCCStrike15_v2_ClientPerfReport = 9202, + k_EMsgGCCStrike15_v2_GetEventFavorites_Response = 9203, + k_EMsgGCCStrike15_v2_ClientRequestSouvenir = 9204, + k_EMsgGCCStrike15_v2_ClientReportValidation = 9205, + k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode = 9206, + k_EMsgGCCStrike15_v2_GC2ClientRequestValidation = 9207, + k_EMsgGCCStrike15_v2_ClientRedeemMissionReward = 9209, + k_EMsgGCCStrike15_ClientDeepStats = 9210, + k_EMsgGCCStrike15_StartAgreementSessionInGame = 9211, + k_EMsgGCCStrike15_v2_GC2ClientInitSystem = 9212, + k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response = 9213, + k_EMsgGCCStrike15_v2_PrivateQueues = 9214, + k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt = 9215, + k_EMsgGCCStrike15_v2_BetaEnrollment = 9217, + k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName = 9218, + k_EMsgGCCStrike15_v2_ClientRedeemFreeReward = 9219, + k_EMsgGCCStrike15_v2_ClientNetworkConfig = 9220, + k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop = 9221, + k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks = 9222, + k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats = 9223, + k_EMsgGCCStrike15_v2_PremierSeasonSummary = 9224, + k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule = 9225, + k_EMsgGCCStrike15_v2_RecurringMissionSchema = 9226, + k_EMsgGCCStrike15_v2_VolatileItemClaimReward = 9227 +}; +bool ECsgoGCMsg_IsValid(int value); +constexpr ECsgoGCMsg ECsgoGCMsg_MIN = k_EMsgGCCStrike15_v2_Base; +constexpr ECsgoGCMsg ECsgoGCMsg_MAX = k_EMsgGCCStrike15_v2_VolatileItemClaimReward; +constexpr int ECsgoGCMsg_ARRAYSIZE = ECsgoGCMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGCMsg_descriptor(); +template +inline const std::string& ECsgoGCMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECsgoGCMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECsgoGCMsg_descriptor(), enum_t_value); +} +inline bool ECsgoGCMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoGCMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECsgoGCMsg_descriptor(), name, value); +} +enum ECsgoSteamUserStat : int { + k_ECsgoSteamUserStat_XpEarnedGames = 1, + k_ECsgoSteamUserStat_MatchWinsCompetitive = 2, + k_ECsgoSteamUserStat_SurvivedDangerZone = 3 +}; +bool ECsgoSteamUserStat_IsValid(int value); +constexpr ECsgoSteamUserStat ECsgoSteamUserStat_MIN = k_ECsgoSteamUserStat_XpEarnedGames; +constexpr ECsgoSteamUserStat ECsgoSteamUserStat_MAX = k_ECsgoSteamUserStat_SurvivedDangerZone; +constexpr int ECsgoSteamUserStat_ARRAYSIZE = ECsgoSteamUserStat_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoSteamUserStat_descriptor(); +template +inline const std::string& ECsgoSteamUserStat_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECsgoSteamUserStat_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECsgoSteamUserStat_descriptor(), enum_t_value); +} +inline bool ECsgoSteamUserStat_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoSteamUserStat* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECsgoSteamUserStat_descriptor(), name, value); +} +enum QuestType : int { + k_EQuestType_Operation = 1, + k_EQuestType_RecurringMission = 2 +}; +bool QuestType_IsValid(int value); +constexpr QuestType QuestType_MIN = k_EQuestType_Operation; +constexpr QuestType QuestType_MAX = k_EQuestType_RecurringMission; +constexpr int QuestType_ARRAYSIZE = QuestType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* QuestType_descriptor(); +template +inline const std::string& QuestType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function QuestType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + QuestType_descriptor(), enum_t_value); +} +inline bool QuestType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, QuestType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + QuestType_descriptor(), name, value); +} +enum EClientReportingVersion : int { + k_EClientReportingVersion_OldVersion = 0, + k_EClientReportingVersion_BetaVersion = 1, + k_EClientReportingVersion_SupportsTrustedMode = 2 +}; +bool EClientReportingVersion_IsValid(int value); +constexpr EClientReportingVersion EClientReportingVersion_MIN = k_EClientReportingVersion_OldVersion; +constexpr EClientReportingVersion EClientReportingVersion_MAX = k_EClientReportingVersion_SupportsTrustedMode; +constexpr int EClientReportingVersion_ARRAYSIZE = EClientReportingVersion_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientReportingVersion_descriptor(); +template +inline const std::string& EClientReportingVersion_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EClientReportingVersion_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EClientReportingVersion_descriptor(), enum_t_value); +} +inline bool EClientReportingVersion_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EClientReportingVersion* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EClientReportingVersion_descriptor(), name, value); +} +enum EInitSystemResult : int { + k_EInitSystemResult_Invalid = 0, + k_EInitSystemResult_Success = 1, + k_EInitSystemResult_None = 2, + k_EInitSystemResult_NotFound = 3, + k_EInitSystemResult_Existing = 4, + k_EInitSystemResult_FailedOpen = 5, + k_EInitSystemResult_Mismatch = 6, + k_EInitSystemResult_FailedInit = 7, + k_EInitSystemResult_Max = 8 +}; +bool EInitSystemResult_IsValid(int value); +constexpr EInitSystemResult EInitSystemResult_MIN = k_EInitSystemResult_Invalid; +constexpr EInitSystemResult EInitSystemResult_MAX = k_EInitSystemResult_Max; +constexpr int EInitSystemResult_ARRAYSIZE = EInitSystemResult_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EInitSystemResult_descriptor(); +template +inline const std::string& EInitSystemResult_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EInitSystemResult_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EInitSystemResult_descriptor(), enum_t_value); +} +inline bool EInitSystemResult_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EInitSystemResult* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EInitSystemResult_descriptor(), name, value); +} +// =================================================================== + +class GameServerPing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GameServerPing) */ { + public: + inline GameServerPing() : GameServerPing(nullptr) {} + ~GameServerPing() override; + explicit PROTOBUF_CONSTEXPR GameServerPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GameServerPing(const GameServerPing& from); + GameServerPing(GameServerPing&& from) noexcept + : GameServerPing() { + *this = ::std::move(from); + } + + inline GameServerPing& operator=(const GameServerPing& from) { + CopyFrom(from); + return *this; + } + inline GameServerPing& operator=(GameServerPing&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 GameServerPing& default_instance() { + return *internal_default_instance(); + } + static inline const GameServerPing* internal_default_instance() { + return reinterpret_cast( + &_GameServerPing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(GameServerPing& a, GameServerPing& b) { + a.Swap(&b); + } + inline void Swap(GameServerPing* 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(GameServerPing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GameServerPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GameServerPing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const GameServerPing& from) { + GameServerPing::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(GameServerPing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GameServerPing"; + } + protected: + explicit GameServerPing(::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 { + kPingFieldNumber = 2, + kIpFieldNumber = 3, + kInstancesFieldNumber = 5, + }; + // optional int32 ping = 2; + bool has_ping() const; + private: + bool _internal_has_ping() const; + public: + void clear_ping(); + int32_t ping() const; + void set_ping(int32_t value); + private: + int32_t _internal_ping() const; + void _internal_set_ping(int32_t value); + public: + + // optional uint32 ip = 3; + bool has_ip() const; + private: + bool _internal_has_ip() const; + public: + void clear_ip(); + uint32_t ip() const; + void set_ip(uint32_t value); + private: + uint32_t _internal_ip() const; + void _internal_set_ip(uint32_t value); + public: + + // optional uint32 instances = 5; + bool has_instances() const; + private: + bool _internal_has_instances() const; + public: + void clear_instances(); + uint32_t instances() const; + void set_instances(uint32_t value); + private: + uint32_t _internal_instances() const; + void _internal_set_instances(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:GameServerPing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t ping_; + uint32_t ip_; + uint32_t instances_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class DataCenterPing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DataCenterPing) */ { + public: + inline DataCenterPing() : DataCenterPing(nullptr) {} + ~DataCenterPing() override; + explicit PROTOBUF_CONSTEXPR DataCenterPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DataCenterPing(const DataCenterPing& from); + DataCenterPing(DataCenterPing&& from) noexcept + : DataCenterPing() { + *this = ::std::move(from); + } + + inline DataCenterPing& operator=(const DataCenterPing& from) { + CopyFrom(from); + return *this; + } + inline DataCenterPing& operator=(DataCenterPing&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 DataCenterPing& default_instance() { + return *internal_default_instance(); + } + static inline const DataCenterPing* internal_default_instance() { + return reinterpret_cast( + &_DataCenterPing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(DataCenterPing& a, DataCenterPing& b) { + a.Swap(&b); + } + inline void Swap(DataCenterPing* 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(DataCenterPing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DataCenterPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DataCenterPing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const DataCenterPing& from) { + DataCenterPing::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(DataCenterPing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "DataCenterPing"; + } + protected: + explicit DataCenterPing(::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 { + kDataCenterIdFieldNumber = 1, + kPingFieldNumber = 2, + }; + // optional fixed32 data_center_id = 1; + bool has_data_center_id() const; + private: + bool _internal_has_data_center_id() const; + public: + void clear_data_center_id(); + uint32_t data_center_id() const; + void set_data_center_id(uint32_t value); + private: + uint32_t _internal_data_center_id() const; + void _internal_set_data_center_id(uint32_t value); + public: + + // optional sint32 ping = 2; + bool has_ping() const; + private: + bool _internal_has_ping() const; + public: + void clear_ping(); + int32_t ping() const; + void set_ping(int32_t value); + private: + int32_t _internal_ping() const; + void _internal_set_ping(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:DataCenterPing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t data_center_id_; + int32_t ping_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class DetailedSearchStatistic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DetailedSearchStatistic) */ { + public: + inline DetailedSearchStatistic() : DetailedSearchStatistic(nullptr) {} + ~DetailedSearchStatistic() override; + explicit PROTOBUF_CONSTEXPR DetailedSearchStatistic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DetailedSearchStatistic(const DetailedSearchStatistic& from); + DetailedSearchStatistic(DetailedSearchStatistic&& from) noexcept + : DetailedSearchStatistic() { + *this = ::std::move(from); + } + + inline DetailedSearchStatistic& operator=(const DetailedSearchStatistic& from) { + CopyFrom(from); + return *this; + } + inline DetailedSearchStatistic& operator=(DetailedSearchStatistic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 DetailedSearchStatistic& default_instance() { + return *internal_default_instance(); + } + static inline const DetailedSearchStatistic* internal_default_instance() { + return reinterpret_cast( + &_DetailedSearchStatistic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(DetailedSearchStatistic& a, DetailedSearchStatistic& b) { + a.Swap(&b); + } + inline void Swap(DetailedSearchStatistic* 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(DetailedSearchStatistic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DetailedSearchStatistic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DetailedSearchStatistic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const DetailedSearchStatistic& from) { + DetailedSearchStatistic::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(DetailedSearchStatistic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "DetailedSearchStatistic"; + } + protected: + explicit DetailedSearchStatistic(::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 { + kGameTypeFieldNumber = 1, + kSearchTimeAvgFieldNumber = 2, + kPlayersSearchingFieldNumber = 4, + }; + // optional uint32 game_type = 1; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // optional uint32 search_time_avg = 2; + bool has_search_time_avg() const; + private: + bool _internal_has_search_time_avg() const; + public: + void clear_search_time_avg(); + uint32_t search_time_avg() const; + void set_search_time_avg(uint32_t value); + private: + uint32_t _internal_search_time_avg() const; + void _internal_set_search_time_avg(uint32_t value); + public: + + // optional uint32 players_searching = 4; + bool has_players_searching() const; + private: + bool _internal_has_players_searching() const; + public: + void clear_players_searching(); + uint32_t players_searching() const; + void set_players_searching(uint32_t value); + private: + uint32_t _internal_players_searching() const; + void _internal_set_players_searching(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:DetailedSearchStatistic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t game_type_; + uint32_t search_time_avg_; + uint32_t players_searching_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class TournamentPlayer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentPlayer) */ { + public: + inline TournamentPlayer() : TournamentPlayer(nullptr) {} + ~TournamentPlayer() override; + explicit PROTOBUF_CONSTEXPR TournamentPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + TournamentPlayer(const TournamentPlayer& from); + TournamentPlayer(TournamentPlayer&& from) noexcept + : TournamentPlayer() { + *this = ::std::move(from); + } + + inline TournamentPlayer& operator=(const TournamentPlayer& from) { + CopyFrom(from); + return *this; + } + inline TournamentPlayer& operator=(TournamentPlayer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 TournamentPlayer& default_instance() { + return *internal_default_instance(); + } + static inline const TournamentPlayer* internal_default_instance() { + return reinterpret_cast( + &_TournamentPlayer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(TournamentPlayer& a, TournamentPlayer& b) { + a.Swap(&b); + } + inline void Swap(TournamentPlayer* 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(TournamentPlayer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TournamentPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const TournamentPlayer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const TournamentPlayer& from) { + TournamentPlayer::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(TournamentPlayer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "TournamentPlayer"; + } + protected: + explicit TournamentPlayer(::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 { + kPlayerNickFieldNumber = 2, + kPlayerNameFieldNumber = 3, + kPlayerFlagFieldNumber = 5, + kPlayerLocationFieldNumber = 6, + kPlayerDescFieldNumber = 7, + kAccountIdFieldNumber = 1, + kPlayerDobFieldNumber = 4, + }; + // optional string player_nick = 2; + bool has_player_nick() const; + private: + bool _internal_has_player_nick() const; + public: + void clear_player_nick(); + const std::string& player_nick() const; + template + void set_player_nick(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_nick(); + PROTOBUF_NODISCARD std::string* release_player_nick(); + void set_allocated_player_nick(std::string* player_nick); + private: + const std::string& _internal_player_nick() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_nick(const std::string& value); + std::string* _internal_mutable_player_nick(); + public: + + // optional string player_name = 3; + bool has_player_name() const; + private: + bool _internal_has_player_name() const; + public: + void clear_player_name(); + const std::string& player_name() const; + template + void set_player_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_name(); + PROTOBUF_NODISCARD std::string* release_player_name(); + void set_allocated_player_name(std::string* player_name); + private: + const std::string& _internal_player_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_name(const std::string& value); + std::string* _internal_mutable_player_name(); + public: + + // optional string player_flag = 5; + bool has_player_flag() const; + private: + bool _internal_has_player_flag() const; + public: + void clear_player_flag(); + const std::string& player_flag() const; + template + void set_player_flag(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_flag(); + PROTOBUF_NODISCARD std::string* release_player_flag(); + void set_allocated_player_flag(std::string* player_flag); + private: + const std::string& _internal_player_flag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_flag(const std::string& value); + std::string* _internal_mutable_player_flag(); + public: + + // optional string player_location = 6; + bool has_player_location() const; + private: + bool _internal_has_player_location() const; + public: + void clear_player_location(); + const std::string& player_location() const; + template + void set_player_location(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_location(); + PROTOBUF_NODISCARD std::string* release_player_location(); + void set_allocated_player_location(std::string* player_location); + private: + const std::string& _internal_player_location() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_location(const std::string& value); + std::string* _internal_mutable_player_location(); + public: + + // optional string player_desc = 7; + bool has_player_desc() const; + private: + bool _internal_has_player_desc() const; + public: + void clear_player_desc(); + const std::string& player_desc() const; + template + void set_player_desc(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_desc(); + PROTOBUF_NODISCARD std::string* release_player_desc(); + void set_allocated_player_desc(std::string* player_desc); + private: + const std::string& _internal_player_desc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_desc(const std::string& value); + std::string* _internal_mutable_player_desc(); + public: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 player_dob = 4; + bool has_player_dob() const; + private: + bool _internal_has_player_dob() const; + public: + void clear_player_dob(); + uint32_t player_dob() const; + void set_player_dob(uint32_t value); + private: + uint32_t _internal_player_dob() const; + void _internal_set_player_dob(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:TournamentPlayer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_nick_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_flag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_location_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_desc_; + uint32_t account_id_; + uint32_t player_dob_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class TournamentTeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentTeam) */ { + public: + inline TournamentTeam() : TournamentTeam(nullptr) {} + ~TournamentTeam() override; + explicit PROTOBUF_CONSTEXPR TournamentTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + TournamentTeam(const TournamentTeam& from); + TournamentTeam(TournamentTeam&& from) noexcept + : TournamentTeam() { + *this = ::std::move(from); + } + + inline TournamentTeam& operator=(const TournamentTeam& from) { + CopyFrom(from); + return *this; + } + inline TournamentTeam& operator=(TournamentTeam&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 TournamentTeam& default_instance() { + return *internal_default_instance(); + } + static inline const TournamentTeam* internal_default_instance() { + return reinterpret_cast( + &_TournamentTeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(TournamentTeam& a, TournamentTeam& b) { + a.Swap(&b); + } + inline void Swap(TournamentTeam* 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(TournamentTeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TournamentTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const TournamentTeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const TournamentTeam& from) { + TournamentTeam::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(TournamentTeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "TournamentTeam"; + } + protected: + explicit TournamentTeam(::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 = 5, + kTeamTagFieldNumber = 2, + kTeamFlagFieldNumber = 3, + kTeamNameFieldNumber = 4, + kTeamIdFieldNumber = 1, + }; + // repeated .TournamentPlayer players = 5; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::TournamentPlayer* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >* + mutable_players(); + private: + const ::TournamentPlayer& _internal_players(int index) const; + ::TournamentPlayer* _internal_add_players(); + public: + const ::TournamentPlayer& players(int index) const; + ::TournamentPlayer* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >& + players() const; + + // optional string team_tag = 2; + bool has_team_tag() const; + private: + bool _internal_has_team_tag() const; + public: + void clear_team_tag(); + const std::string& team_tag() const; + template + void set_team_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_team_tag(); + PROTOBUF_NODISCARD std::string* release_team_tag(); + void set_allocated_team_tag(std::string* team_tag); + private: + const std::string& _internal_team_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_tag(const std::string& value); + std::string* _internal_mutable_team_tag(); + public: + + // optional string team_flag = 3; + bool has_team_flag() const; + private: + bool _internal_has_team_flag() const; + public: + void clear_team_flag(); + const std::string& team_flag() const; + template + void set_team_flag(ArgT0&& arg0, ArgT... args); + std::string* mutable_team_flag(); + PROTOBUF_NODISCARD std::string* release_team_flag(); + void set_allocated_team_flag(std::string* team_flag); + private: + const std::string& _internal_team_flag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_flag(const std::string& value); + std::string* _internal_mutable_team_flag(); + public: + + // optional string team_name = 4; + bool has_team_name() const; + private: + bool _internal_has_team_name() const; + public: + void clear_team_name(); + const std::string& team_name() const; + template + void set_team_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_team_name(); + PROTOBUF_NODISCARD std::string* release_team_name(); + void set_allocated_team_name(std::string* team_name); + private: + const std::string& _internal_team_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_name(const std::string& value); + std::string* _internal_mutable_team_name(); + public: + + // optional int32 team_id = 1; + bool has_team_id() const; + private: + bool _internal_has_team_id() const; + public: + void clear_team_id(); + int32_t team_id() const; + void set_team_id(int32_t value); + private: + int32_t _internal_team_id() const; + void _internal_set_team_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:TournamentTeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer > players_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_tag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_flag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_name_; + int32_t team_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class TournamentEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentEvent) */ { + public: + inline TournamentEvent() : TournamentEvent(nullptr) {} + ~TournamentEvent() override; + explicit PROTOBUF_CONSTEXPR TournamentEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + TournamentEvent(const TournamentEvent& from); + TournamentEvent(TournamentEvent&& from) noexcept + : TournamentEvent() { + *this = ::std::move(from); + } + + inline TournamentEvent& operator=(const TournamentEvent& from) { + CopyFrom(from); + return *this; + } + inline TournamentEvent& operator=(TournamentEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 TournamentEvent& default_instance() { + return *internal_default_instance(); + } + static inline const TournamentEvent* internal_default_instance() { + return reinterpret_cast( + &_TournamentEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(TournamentEvent& a, TournamentEvent& b) { + a.Swap(&b); + } + inline void Swap(TournamentEvent* 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(TournamentEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TournamentEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const TournamentEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const TournamentEvent& from) { + TournamentEvent::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(TournamentEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "TournamentEvent"; + } + protected: + explicit TournamentEvent(::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 { + kEventTagFieldNumber = 2, + kEventNameFieldNumber = 3, + kEventStageNameFieldNumber = 8, + kEventIdFieldNumber = 1, + kEventTimeStartFieldNumber = 4, + kEventTimeEndFieldNumber = 5, + kEventPublicFieldNumber = 6, + kEventStageIdFieldNumber = 7, + kActiveSectionIdFieldNumber = 9, + }; + // optional string event_tag = 2; + bool has_event_tag() const; + private: + bool _internal_has_event_tag() const; + public: + void clear_event_tag(); + const std::string& event_tag() const; + template + void set_event_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_tag(); + PROTOBUF_NODISCARD std::string* release_event_tag(); + void set_allocated_event_tag(std::string* event_tag); + private: + const std::string& _internal_event_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_tag(const std::string& value); + std::string* _internal_mutable_event_tag(); + public: + + // optional string event_name = 3; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional string event_stage_name = 8; + bool has_event_stage_name() const; + private: + bool _internal_has_event_stage_name() const; + public: + void clear_event_stage_name(); + const std::string& event_stage_name() const; + template + void set_event_stage_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_stage_name(); + PROTOBUF_NODISCARD std::string* release_event_stage_name(); + void set_allocated_event_stage_name(std::string* event_stage_name); + private: + const std::string& _internal_event_stage_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_stage_name(const std::string& value); + std::string* _internal_mutable_event_stage_name(); + public: + + // optional int32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + int32_t event_id() const; + void set_event_id(int32_t value); + private: + int32_t _internal_event_id() const; + void _internal_set_event_id(int32_t value); + public: + + // optional uint32 event_time_start = 4; + bool has_event_time_start() const; + private: + bool _internal_has_event_time_start() const; + public: + void clear_event_time_start(); + uint32_t event_time_start() const; + void set_event_time_start(uint32_t value); + private: + uint32_t _internal_event_time_start() const; + void _internal_set_event_time_start(uint32_t value); + public: + + // optional uint32 event_time_end = 5; + bool has_event_time_end() const; + private: + bool _internal_has_event_time_end() const; + public: + void clear_event_time_end(); + uint32_t event_time_end() const; + void set_event_time_end(uint32_t value); + private: + uint32_t _internal_event_time_end() const; + void _internal_set_event_time_end(uint32_t value); + public: + + // optional int32 event_public = 6; + bool has_event_public() const; + private: + bool _internal_has_event_public() const; + public: + void clear_event_public(); + int32_t event_public() const; + void set_event_public(int32_t value); + private: + int32_t _internal_event_public() const; + void _internal_set_event_public(int32_t value); + public: + + // optional int32 event_stage_id = 7; + bool has_event_stage_id() const; + private: + bool _internal_has_event_stage_id() const; + public: + void clear_event_stage_id(); + int32_t event_stage_id() const; + void set_event_stage_id(int32_t value); + private: + int32_t _internal_event_stage_id() const; + void _internal_set_event_stage_id(int32_t value); + public: + + // optional uint32 active_section_id = 9; + bool has_active_section_id() const; + private: + bool _internal_has_active_section_id() const; + public: + void clear_active_section_id(); + uint32_t active_section_id() const; + void set_active_section_id(uint32_t value); + private: + uint32_t _internal_active_section_id() const; + void _internal_set_active_section_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:TournamentEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_tag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_stage_name_; + int32_t event_id_; + uint32_t event_time_start_; + uint32_t event_time_end_; + int32_t event_public_; + int32_t event_stage_id_; + uint32_t active_section_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class GlobalStatistics final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GlobalStatistics) */ { + public: + inline GlobalStatistics() : GlobalStatistics(nullptr) {} + ~GlobalStatistics() override; + explicit PROTOBUF_CONSTEXPR GlobalStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GlobalStatistics(const GlobalStatistics& from); + GlobalStatistics(GlobalStatistics&& from) noexcept + : GlobalStatistics() { + *this = ::std::move(from); + } + + inline GlobalStatistics& operator=(const GlobalStatistics& from) { + CopyFrom(from); + return *this; + } + inline GlobalStatistics& operator=(GlobalStatistics&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 GlobalStatistics& default_instance() { + return *internal_default_instance(); + } + static inline const GlobalStatistics* internal_default_instance() { + return reinterpret_cast( + &_GlobalStatistics_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(GlobalStatistics& a, GlobalStatistics& b) { + a.Swap(&b); + } + inline void Swap(GlobalStatistics* 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(GlobalStatistics* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GlobalStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GlobalStatistics& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const GlobalStatistics& from) { + GlobalStatistics::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(GlobalStatistics* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GlobalStatistics"; + } + protected: + explicit GlobalStatistics(::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 { + kSearchStatisticsFieldNumber = 7, + kMainPostUrlFieldNumber = 8, + kPlayersOnlineFieldNumber = 1, + kServersOnlineFieldNumber = 2, + kPlayersSearchingFieldNumber = 3, + kServersAvailableFieldNumber = 4, + kOngoingMatchesFieldNumber = 5, + kSearchTimeAvgFieldNumber = 6, + kRequiredAppidVersionFieldNumber = 9, + kPricesheetVersionFieldNumber = 10, + kTwitchStreamsVersionFieldNumber = 11, + kActiveTournamentEventidFieldNumber = 12, + kActiveSurveyIdFieldNumber = 13, + kRtime32CurFieldNumber = 14, + kRequiredAppidVersion2FieldNumber = 16, + }; + // repeated .DetailedSearchStatistic search_statistics = 7; + int search_statistics_size() const; + private: + int _internal_search_statistics_size() const; + public: + void clear_search_statistics(); + ::DetailedSearchStatistic* mutable_search_statistics(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >* + mutable_search_statistics(); + private: + const ::DetailedSearchStatistic& _internal_search_statistics(int index) const; + ::DetailedSearchStatistic* _internal_add_search_statistics(); + public: + const ::DetailedSearchStatistic& search_statistics(int index) const; + ::DetailedSearchStatistic* add_search_statistics(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >& + search_statistics() const; + + // optional string main_post_url = 8; + bool has_main_post_url() const; + private: + bool _internal_has_main_post_url() const; + public: + void clear_main_post_url(); + const std::string& main_post_url() const; + template + void set_main_post_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_main_post_url(); + PROTOBUF_NODISCARD std::string* release_main_post_url(); + void set_allocated_main_post_url(std::string* main_post_url); + private: + const std::string& _internal_main_post_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_main_post_url(const std::string& value); + std::string* _internal_mutable_main_post_url(); + public: + + // optional uint32 players_online = 1; + bool has_players_online() const; + private: + bool _internal_has_players_online() const; + public: + void clear_players_online(); + uint32_t players_online() const; + void set_players_online(uint32_t value); + private: + uint32_t _internal_players_online() const; + void _internal_set_players_online(uint32_t value); + public: + + // optional uint32 servers_online = 2; + bool has_servers_online() const; + private: + bool _internal_has_servers_online() const; + public: + void clear_servers_online(); + uint32_t servers_online() const; + void set_servers_online(uint32_t value); + private: + uint32_t _internal_servers_online() const; + void _internal_set_servers_online(uint32_t value); + public: + + // optional uint32 players_searching = 3; + bool has_players_searching() const; + private: + bool _internal_has_players_searching() const; + public: + void clear_players_searching(); + uint32_t players_searching() const; + void set_players_searching(uint32_t value); + private: + uint32_t _internal_players_searching() const; + void _internal_set_players_searching(uint32_t value); + public: + + // optional uint32 servers_available = 4; + bool has_servers_available() const; + private: + bool _internal_has_servers_available() const; + public: + void clear_servers_available(); + uint32_t servers_available() const; + void set_servers_available(uint32_t value); + private: + uint32_t _internal_servers_available() const; + void _internal_set_servers_available(uint32_t value); + public: + + // optional uint32 ongoing_matches = 5; + bool has_ongoing_matches() const; + private: + bool _internal_has_ongoing_matches() const; + public: + void clear_ongoing_matches(); + uint32_t ongoing_matches() const; + void set_ongoing_matches(uint32_t value); + private: + uint32_t _internal_ongoing_matches() const; + void _internal_set_ongoing_matches(uint32_t value); + public: + + // optional uint32 search_time_avg = 6; + bool has_search_time_avg() const; + private: + bool _internal_has_search_time_avg() const; + public: + void clear_search_time_avg(); + uint32_t search_time_avg() const; + void set_search_time_avg(uint32_t value); + private: + uint32_t _internal_search_time_avg() const; + void _internal_set_search_time_avg(uint32_t value); + public: + + // optional uint32 required_appid_version = 9; + bool has_required_appid_version() const; + private: + bool _internal_has_required_appid_version() const; + public: + void clear_required_appid_version(); + uint32_t required_appid_version() const; + void set_required_appid_version(uint32_t value); + private: + uint32_t _internal_required_appid_version() const; + void _internal_set_required_appid_version(uint32_t value); + public: + + // optional uint32 pricesheet_version = 10; + bool has_pricesheet_version() const; + private: + bool _internal_has_pricesheet_version() const; + public: + void clear_pricesheet_version(); + uint32_t pricesheet_version() const; + void set_pricesheet_version(uint32_t value); + private: + uint32_t _internal_pricesheet_version() const; + void _internal_set_pricesheet_version(uint32_t value); + public: + + // optional uint32 twitch_streams_version = 11; + bool has_twitch_streams_version() const; + private: + bool _internal_has_twitch_streams_version() const; + public: + void clear_twitch_streams_version(); + uint32_t twitch_streams_version() const; + void set_twitch_streams_version(uint32_t value); + private: + uint32_t _internal_twitch_streams_version() const; + void _internal_set_twitch_streams_version(uint32_t value); + public: + + // optional uint32 active_tournament_eventid = 12; + bool has_active_tournament_eventid() const; + private: + bool _internal_has_active_tournament_eventid() const; + public: + void clear_active_tournament_eventid(); + uint32_t active_tournament_eventid() const; + void set_active_tournament_eventid(uint32_t value); + private: + uint32_t _internal_active_tournament_eventid() const; + void _internal_set_active_tournament_eventid(uint32_t value); + public: + + // optional uint32 active_survey_id = 13; + bool has_active_survey_id() const; + private: + bool _internal_has_active_survey_id() const; + public: + void clear_active_survey_id(); + uint32_t active_survey_id() const; + void set_active_survey_id(uint32_t value); + private: + uint32_t _internal_active_survey_id() const; + void _internal_set_active_survey_id(uint32_t value); + public: + + // optional uint32 rtime32_cur = 14; + bool has_rtime32_cur() const; + private: + bool _internal_has_rtime32_cur() const; + public: + void clear_rtime32_cur(); + uint32_t rtime32_cur() const; + void set_rtime32_cur(uint32_t value); + private: + uint32_t _internal_rtime32_cur() const; + void _internal_set_rtime32_cur(uint32_t value); + public: + + // optional uint32 required_appid_version2 = 16; + bool has_required_appid_version2() const; + private: + bool _internal_has_required_appid_version2() const; + public: + void clear_required_appid_version2(); + uint32_t required_appid_version2() const; + void set_required_appid_version2(uint32_t value); + private: + uint32_t _internal_required_appid_version2() const; + void _internal_set_required_appid_version2(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:GlobalStatistics) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic > search_statistics_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_post_url_; + uint32_t players_online_; + uint32_t servers_online_; + uint32_t players_searching_; + uint32_t servers_available_; + uint32_t ongoing_matches_; + uint32_t search_time_avg_; + uint32_t required_appid_version_; + uint32_t pricesheet_version_; + uint32_t twitch_streams_version_; + uint32_t active_tournament_eventid_; + uint32_t active_survey_id_; + uint32_t rtime32_cur_; + uint32_t required_appid_version2_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class OperationalStatisticDescription final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticDescription) */ { + public: + inline OperationalStatisticDescription() : OperationalStatisticDescription(nullptr) {} + ~OperationalStatisticDescription() override; + explicit PROTOBUF_CONSTEXPR OperationalStatisticDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + OperationalStatisticDescription(const OperationalStatisticDescription& from); + OperationalStatisticDescription(OperationalStatisticDescription&& from) noexcept + : OperationalStatisticDescription() { + *this = ::std::move(from); + } + + inline OperationalStatisticDescription& operator=(const OperationalStatisticDescription& from) { + CopyFrom(from); + return *this; + } + inline OperationalStatisticDescription& operator=(OperationalStatisticDescription&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 OperationalStatisticDescription& default_instance() { + return *internal_default_instance(); + } + static inline const OperationalStatisticDescription* internal_default_instance() { + return reinterpret_cast( + &_OperationalStatisticDescription_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(OperationalStatisticDescription& a, OperationalStatisticDescription& b) { + a.Swap(&b); + } + inline void Swap(OperationalStatisticDescription* 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(OperationalStatisticDescription* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OperationalStatisticDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const OperationalStatisticDescription& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const OperationalStatisticDescription& from) { + OperationalStatisticDescription::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(OperationalStatisticDescription* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "OperationalStatisticDescription"; + } + protected: + explicit OperationalStatisticDescription(::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, + kIdkeyFieldNumber = 2, + }; + // optional string name = 1; + 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: + + // optional uint32 idkey = 2; + bool has_idkey() const; + private: + bool _internal_has_idkey() const; + public: + void clear_idkey(); + uint32_t idkey() const; + void set_idkey(uint32_t value); + private: + uint32_t _internal_idkey() const; + void _internal_set_idkey(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:OperationalStatisticDescription) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint32_t idkey_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class OperationalStatisticElement final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticElement) */ { + public: + inline OperationalStatisticElement() : OperationalStatisticElement(nullptr) {} + ~OperationalStatisticElement() override; + explicit PROTOBUF_CONSTEXPR OperationalStatisticElement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + OperationalStatisticElement(const OperationalStatisticElement& from); + OperationalStatisticElement(OperationalStatisticElement&& from) noexcept + : OperationalStatisticElement() { + *this = ::std::move(from); + } + + inline OperationalStatisticElement& operator=(const OperationalStatisticElement& from) { + CopyFrom(from); + return *this; + } + inline OperationalStatisticElement& operator=(OperationalStatisticElement&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 OperationalStatisticElement& default_instance() { + return *internal_default_instance(); + } + static inline const OperationalStatisticElement* internal_default_instance() { + return reinterpret_cast( + &_OperationalStatisticElement_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(OperationalStatisticElement& a, OperationalStatisticElement& b) { + a.Swap(&b); + } + inline void Swap(OperationalStatisticElement* 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(OperationalStatisticElement* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OperationalStatisticElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const OperationalStatisticElement& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const OperationalStatisticElement& from) { + OperationalStatisticElement::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(OperationalStatisticElement* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "OperationalStatisticElement"; + } + protected: + explicit OperationalStatisticElement(::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 { + kValuesFieldNumber = 2, + kIdkeyFieldNumber = 1, + }; + // repeated int32 values = 2; + int values_size() const; + private: + int _internal_values_size() const; + public: + void clear_values(); + private: + int32_t _internal_values(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_values() const; + void _internal_add_values(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_values(); + public: + int32_t values(int index) const; + void set_values(int index, int32_t value); + void add_values(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_values(); + + // optional uint32 idkey = 1; + bool has_idkey() const; + private: + bool _internal_has_idkey() const; + public: + void clear_idkey(); + uint32_t idkey() const; + void set_idkey(uint32_t value); + private: + uint32_t _internal_idkey() const; + void _internal_set_idkey(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:OperationalStatisticElement) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > values_; + uint32_t idkey_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class OperationalStatisticsPacket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticsPacket) */ { + public: + inline OperationalStatisticsPacket() : OperationalStatisticsPacket(nullptr) {} + ~OperationalStatisticsPacket() override; + explicit PROTOBUF_CONSTEXPR OperationalStatisticsPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + OperationalStatisticsPacket(const OperationalStatisticsPacket& from); + OperationalStatisticsPacket(OperationalStatisticsPacket&& from) noexcept + : OperationalStatisticsPacket() { + *this = ::std::move(from); + } + + inline OperationalStatisticsPacket& operator=(const OperationalStatisticsPacket& from) { + CopyFrom(from); + return *this; + } + inline OperationalStatisticsPacket& operator=(OperationalStatisticsPacket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 OperationalStatisticsPacket& default_instance() { + return *internal_default_instance(); + } + static inline const OperationalStatisticsPacket* internal_default_instance() { + return reinterpret_cast( + &_OperationalStatisticsPacket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(OperationalStatisticsPacket& a, OperationalStatisticsPacket& b) { + a.Swap(&b); + } + inline void Swap(OperationalStatisticsPacket* 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(OperationalStatisticsPacket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OperationalStatisticsPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const OperationalStatisticsPacket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const OperationalStatisticsPacket& from) { + OperationalStatisticsPacket::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(OperationalStatisticsPacket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "OperationalStatisticsPacket"; + } + protected: + explicit OperationalStatisticsPacket(::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 { + kValuesFieldNumber = 3, + kPacketidFieldNumber = 1, + kMstimestampFieldNumber = 2, + }; + // repeated .OperationalStatisticElement values = 3; + int values_size() const; + private: + int _internal_values_size() const; + public: + void clear_values(); + ::OperationalStatisticElement* mutable_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >* + mutable_values(); + private: + const ::OperationalStatisticElement& _internal_values(int index) const; + ::OperationalStatisticElement* _internal_add_values(); + public: + const ::OperationalStatisticElement& values(int index) const; + ::OperationalStatisticElement* add_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >& + values() const; + + // optional int32 packetid = 1; + bool has_packetid() const; + private: + bool _internal_has_packetid() const; + public: + void clear_packetid(); + int32_t packetid() const; + void set_packetid(int32_t value); + private: + int32_t _internal_packetid() const; + void _internal_set_packetid(int32_t value); + public: + + // optional int32 mstimestamp = 2; + bool has_mstimestamp() const; + private: + bool _internal_has_mstimestamp() const; + public: + void clear_mstimestamp(); + int32_t mstimestamp() const; + void set_mstimestamp(int32_t value); + private: + int32_t _internal_mstimestamp() const; + void _internal_set_mstimestamp(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:OperationalStatisticsPacket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement > values_; + int32_t packetid_; + int32_t mstimestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class OperationalVarValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalVarValue) */ { + public: + inline OperationalVarValue() : OperationalVarValue(nullptr) {} + ~OperationalVarValue() override; + explicit PROTOBUF_CONSTEXPR OperationalVarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + OperationalVarValue(const OperationalVarValue& from); + OperationalVarValue(OperationalVarValue&& from) noexcept + : OperationalVarValue() { + *this = ::std::move(from); + } + + inline OperationalVarValue& operator=(const OperationalVarValue& from) { + CopyFrom(from); + return *this; + } + inline OperationalVarValue& operator=(OperationalVarValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 OperationalVarValue& default_instance() { + return *internal_default_instance(); + } + static inline const OperationalVarValue* internal_default_instance() { + return reinterpret_cast( + &_OperationalVarValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(OperationalVarValue& a, OperationalVarValue& b) { + a.Swap(&b); + } + inline void Swap(OperationalVarValue* 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(OperationalVarValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OperationalVarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const OperationalVarValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const OperationalVarValue& from) { + OperationalVarValue::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(OperationalVarValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "OperationalVarValue"; + } + protected: + explicit OperationalVarValue(::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, + kSvalueFieldNumber = 4, + kIvalueFieldNumber = 2, + kFvalueFieldNumber = 3, + }; + // optional string name = 1; + 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: + + // optional bytes svalue = 4; + bool has_svalue() const; + private: + bool _internal_has_svalue() const; + public: + void clear_svalue(); + const std::string& svalue() const; + template + void set_svalue(ArgT0&& arg0, ArgT... args); + std::string* mutable_svalue(); + PROTOBUF_NODISCARD std::string* release_svalue(); + void set_allocated_svalue(std::string* svalue); + private: + const std::string& _internal_svalue() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_svalue(const std::string& value); + std::string* _internal_mutable_svalue(); + public: + + // optional int32 ivalue = 2; + bool has_ivalue() const; + private: + bool _internal_has_ivalue() const; + public: + void clear_ivalue(); + int32_t ivalue() const; + void set_ivalue(int32_t value); + private: + int32_t _internal_ivalue() const; + void _internal_set_ivalue(int32_t value); + public: + + // optional float fvalue = 3; + bool has_fvalue() const; + private: + bool _internal_has_fvalue() const; + public: + void clear_fvalue(); + float fvalue() const; + void set_fvalue(float value); + private: + float _internal_fvalue() const; + void _internal_set_fvalue(float value); + public: + + // @@protoc_insertion_point(class_scope:OperationalVarValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr svalue_; + int32_t ivalue_; + float fvalue_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerRankingInfo_PerMapRank final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerRankingInfo.PerMapRank) */ { + public: + inline PlayerRankingInfo_PerMapRank() : PlayerRankingInfo_PerMapRank(nullptr) {} + ~PlayerRankingInfo_PerMapRank() override; + explicit PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRank(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerRankingInfo_PerMapRank(const PlayerRankingInfo_PerMapRank& from); + PlayerRankingInfo_PerMapRank(PlayerRankingInfo_PerMapRank&& from) noexcept + : PlayerRankingInfo_PerMapRank() { + *this = ::std::move(from); + } + + inline PlayerRankingInfo_PerMapRank& operator=(const PlayerRankingInfo_PerMapRank& from) { + CopyFrom(from); + return *this; + } + inline PlayerRankingInfo_PerMapRank& operator=(PlayerRankingInfo_PerMapRank&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerRankingInfo_PerMapRank& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerRankingInfo_PerMapRank* internal_default_instance() { + return reinterpret_cast( + &_PlayerRankingInfo_PerMapRank_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(PlayerRankingInfo_PerMapRank& a, PlayerRankingInfo_PerMapRank& b) { + a.Swap(&b); + } + inline void Swap(PlayerRankingInfo_PerMapRank* 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(PlayerRankingInfo_PerMapRank* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerRankingInfo_PerMapRank* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerRankingInfo_PerMapRank& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerRankingInfo_PerMapRank& from) { + PlayerRankingInfo_PerMapRank::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(PlayerRankingInfo_PerMapRank* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerRankingInfo.PerMapRank"; + } + protected: + explicit PlayerRankingInfo_PerMapRank(::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 { + kMapIdFieldNumber = 1, + kRankIdFieldNumber = 2, + kWinsFieldNumber = 3, + }; + // optional uint32 map_id = 1; + bool has_map_id() const; + private: + bool _internal_has_map_id() const; + public: + void clear_map_id(); + uint32_t map_id() const; + void set_map_id(uint32_t value); + private: + uint32_t _internal_map_id() const; + void _internal_set_map_id(uint32_t value); + public: + + // optional uint32 rank_id = 2; + bool has_rank_id() const; + private: + bool _internal_has_rank_id() const; + public: + void clear_rank_id(); + uint32_t rank_id() const; + void set_rank_id(uint32_t value); + private: + uint32_t _internal_rank_id() const; + void _internal_set_rank_id(uint32_t value); + public: + + // optional uint32 wins = 3; + bool has_wins() const; + private: + bool _internal_has_wins() const; + public: + void clear_wins(); + uint32_t wins() const; + void set_wins(uint32_t value); + private: + uint32_t _internal_wins() const; + void _internal_set_wins(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PlayerRankingInfo.PerMapRank) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t map_id_; + uint32_t rank_id_; + uint32_t wins_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerRankingInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerRankingInfo) */ { + public: + inline PlayerRankingInfo() : PlayerRankingInfo(nullptr) {} + ~PlayerRankingInfo() override; + explicit PROTOBUF_CONSTEXPR PlayerRankingInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerRankingInfo(const PlayerRankingInfo& from); + PlayerRankingInfo(PlayerRankingInfo&& from) noexcept + : PlayerRankingInfo() { + *this = ::std::move(from); + } + + inline PlayerRankingInfo& operator=(const PlayerRankingInfo& from) { + CopyFrom(from); + return *this; + } + inline PlayerRankingInfo& operator=(PlayerRankingInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerRankingInfo& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerRankingInfo* internal_default_instance() { + return reinterpret_cast( + &_PlayerRankingInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(PlayerRankingInfo& a, PlayerRankingInfo& b) { + a.Swap(&b); + } + inline void Swap(PlayerRankingInfo* 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(PlayerRankingInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerRankingInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerRankingInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerRankingInfo& from) { + PlayerRankingInfo::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(PlayerRankingInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerRankingInfo"; + } + protected: + explicit PlayerRankingInfo(::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 ---------------------------------------------------- + + typedef PlayerRankingInfo_PerMapRank PerMapRank; + + // accessors ------------------------------------------------------- + + enum : int { + kPerMapRankFieldNumber = 13, + kLeaderboardNameFieldNumber = 9, + kAccountIdFieldNumber = 1, + kRankIdFieldNumber = 2, + kWinsFieldNumber = 3, + kRankChangeFieldNumber = 4, + kRankTypeIdFieldNumber = 6, + kTvControlFieldNumber = 7, + kRankWindowStatsFieldNumber = 8, + kRankIfWinFieldNumber = 10, + kRankIfLoseFieldNumber = 11, + kRankIfTieFieldNumber = 12, + kLeaderboardNameStatusFieldNumber = 14, + kHighestRankFieldNumber = 15, + kRankExpiryFieldNumber = 16, + }; + // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; + int per_map_rank_size() const; + private: + int _internal_per_map_rank_size() const; + public: + void clear_per_map_rank(); + ::PlayerRankingInfo_PerMapRank* mutable_per_map_rank(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >* + mutable_per_map_rank(); + private: + const ::PlayerRankingInfo_PerMapRank& _internal_per_map_rank(int index) const; + ::PlayerRankingInfo_PerMapRank* _internal_add_per_map_rank(); + public: + const ::PlayerRankingInfo_PerMapRank& per_map_rank(int index) const; + ::PlayerRankingInfo_PerMapRank* add_per_map_rank(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >& + per_map_rank() const; + + // optional string leaderboard_name = 9; + bool has_leaderboard_name() const; + private: + bool _internal_has_leaderboard_name() const; + public: + void clear_leaderboard_name(); + const std::string& leaderboard_name() const; + template + void set_leaderboard_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_leaderboard_name(); + PROTOBUF_NODISCARD std::string* release_leaderboard_name(); + void set_allocated_leaderboard_name(std::string* leaderboard_name); + private: + const std::string& _internal_leaderboard_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_name(const std::string& value); + std::string* _internal_mutable_leaderboard_name(); + public: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 rank_id = 2; + bool has_rank_id() const; + private: + bool _internal_has_rank_id() const; + public: + void clear_rank_id(); + uint32_t rank_id() const; + void set_rank_id(uint32_t value); + private: + uint32_t _internal_rank_id() const; + void _internal_set_rank_id(uint32_t value); + public: + + // optional uint32 wins = 3; + bool has_wins() const; + private: + bool _internal_has_wins() const; + public: + void clear_wins(); + uint32_t wins() const; + void set_wins(uint32_t value); + private: + uint32_t _internal_wins() const; + void _internal_set_wins(uint32_t value); + public: + + // optional float rank_change = 4; + bool has_rank_change() const; + private: + bool _internal_has_rank_change() const; + public: + void clear_rank_change(); + float rank_change() const; + void set_rank_change(float value); + private: + float _internal_rank_change() const; + void _internal_set_rank_change(float value); + public: + + // optional uint32 rank_type_id = 6; + bool has_rank_type_id() const; + private: + bool _internal_has_rank_type_id() const; + public: + void clear_rank_type_id(); + uint32_t rank_type_id() const; + void set_rank_type_id(uint32_t value); + private: + uint32_t _internal_rank_type_id() const; + void _internal_set_rank_type_id(uint32_t value); + public: + + // optional uint32 tv_control = 7; + bool has_tv_control() const; + private: + bool _internal_has_tv_control() const; + public: + void clear_tv_control(); + uint32_t tv_control() const; + void set_tv_control(uint32_t value); + private: + uint32_t _internal_tv_control() const; + void _internal_set_tv_control(uint32_t value); + public: + + // optional uint64 rank_window_stats = 8; + bool has_rank_window_stats() const; + private: + bool _internal_has_rank_window_stats() const; + public: + void clear_rank_window_stats(); + uint64_t rank_window_stats() const; + void set_rank_window_stats(uint64_t value); + private: + uint64_t _internal_rank_window_stats() const; + void _internal_set_rank_window_stats(uint64_t value); + public: + + // optional uint32 rank_if_win = 10; + bool has_rank_if_win() const; + private: + bool _internal_has_rank_if_win() const; + public: + void clear_rank_if_win(); + uint32_t rank_if_win() const; + void set_rank_if_win(uint32_t value); + private: + uint32_t _internal_rank_if_win() const; + void _internal_set_rank_if_win(uint32_t value); + public: + + // optional uint32 rank_if_lose = 11; + bool has_rank_if_lose() const; + private: + bool _internal_has_rank_if_lose() const; + public: + void clear_rank_if_lose(); + uint32_t rank_if_lose() const; + void set_rank_if_lose(uint32_t value); + private: + uint32_t _internal_rank_if_lose() const; + void _internal_set_rank_if_lose(uint32_t value); + public: + + // optional uint32 rank_if_tie = 12; + bool has_rank_if_tie() const; + private: + bool _internal_has_rank_if_tie() const; + public: + void clear_rank_if_tie(); + uint32_t rank_if_tie() const; + void set_rank_if_tie(uint32_t value); + private: + uint32_t _internal_rank_if_tie() const; + void _internal_set_rank_if_tie(uint32_t value); + public: + + // optional uint32 leaderboard_name_status = 14; + bool has_leaderboard_name_status() const; + private: + bool _internal_has_leaderboard_name_status() const; + public: + void clear_leaderboard_name_status(); + uint32_t leaderboard_name_status() const; + void set_leaderboard_name_status(uint32_t value); + private: + uint32_t _internal_leaderboard_name_status() const; + void _internal_set_leaderboard_name_status(uint32_t value); + public: + + // optional uint32 highest_rank = 15; + bool has_highest_rank() const; + private: + bool _internal_has_highest_rank() const; + public: + void clear_highest_rank(); + uint32_t highest_rank() const; + void set_highest_rank(uint32_t value); + private: + uint32_t _internal_highest_rank() const; + void _internal_set_highest_rank(uint32_t value); + public: + + // optional uint32 rank_expiry = 16; + bool has_rank_expiry() const; + private: + bool _internal_has_rank_expiry() const; + public: + void clear_rank_expiry(); + uint32_t rank_expiry() const; + void set_rank_expiry(uint32_t value); + private: + uint32_t _internal_rank_expiry() const; + void _internal_set_rank_expiry(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PlayerRankingInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank > per_map_rank_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_name_; + uint32_t account_id_; + uint32_t rank_id_; + uint32_t wins_; + float rank_change_; + uint32_t rank_type_id_; + uint32_t tv_control_; + uint64_t rank_window_stats_; + uint32_t rank_if_win_; + uint32_t rank_if_lose_; + uint32_t rank_if_tie_; + uint32_t leaderboard_name_status_; + uint32_t highest_rank_; + uint32_t rank_expiry_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerCommendationInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerCommendationInfo) */ { + public: + inline PlayerCommendationInfo() : PlayerCommendationInfo(nullptr) {} + ~PlayerCommendationInfo() override; + explicit PROTOBUF_CONSTEXPR PlayerCommendationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerCommendationInfo(const PlayerCommendationInfo& from); + PlayerCommendationInfo(PlayerCommendationInfo&& from) noexcept + : PlayerCommendationInfo() { + *this = ::std::move(from); + } + + inline PlayerCommendationInfo& operator=(const PlayerCommendationInfo& from) { + CopyFrom(from); + return *this; + } + inline PlayerCommendationInfo& operator=(PlayerCommendationInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerCommendationInfo& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerCommendationInfo* internal_default_instance() { + return reinterpret_cast( + &_PlayerCommendationInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(PlayerCommendationInfo& a, PlayerCommendationInfo& b) { + a.Swap(&b); + } + inline void Swap(PlayerCommendationInfo* 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(PlayerCommendationInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerCommendationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerCommendationInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerCommendationInfo& from) { + PlayerCommendationInfo::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(PlayerCommendationInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerCommendationInfo"; + } + protected: + explicit PlayerCommendationInfo(::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 { + kCmdFriendlyFieldNumber = 1, + kCmdTeachingFieldNumber = 2, + kCmdLeaderFieldNumber = 4, + }; + // optional uint32 cmd_friendly = 1; + bool has_cmd_friendly() const; + private: + bool _internal_has_cmd_friendly() const; + public: + void clear_cmd_friendly(); + uint32_t cmd_friendly() const; + void set_cmd_friendly(uint32_t value); + private: + uint32_t _internal_cmd_friendly() const; + void _internal_set_cmd_friendly(uint32_t value); + public: + + // optional uint32 cmd_teaching = 2; + bool has_cmd_teaching() const; + private: + bool _internal_has_cmd_teaching() const; + public: + void clear_cmd_teaching(); + uint32_t cmd_teaching() const; + void set_cmd_teaching(uint32_t value); + private: + uint32_t _internal_cmd_teaching() const; + void _internal_set_cmd_teaching(uint32_t value); + public: + + // optional uint32 cmd_leader = 4; + bool has_cmd_leader() const; + private: + bool _internal_has_cmd_leader() const; + public: + void clear_cmd_leader(); + uint32_t cmd_leader() const; + void set_cmd_leader(uint32_t value); + private: + uint32_t _internal_cmd_leader() const; + void _internal_set_cmd_leader(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PlayerCommendationInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t cmd_friendly_; + uint32_t cmd_teaching_; + uint32_t cmd_leader_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerMedalsInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerMedalsInfo) */ { + public: + inline PlayerMedalsInfo() : PlayerMedalsInfo(nullptr) {} + ~PlayerMedalsInfo() override; + explicit PROTOBUF_CONSTEXPR PlayerMedalsInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerMedalsInfo(const PlayerMedalsInfo& from); + PlayerMedalsInfo(PlayerMedalsInfo&& from) noexcept + : PlayerMedalsInfo() { + *this = ::std::move(from); + } + + inline PlayerMedalsInfo& operator=(const PlayerMedalsInfo& from) { + CopyFrom(from); + return *this; + } + inline PlayerMedalsInfo& operator=(PlayerMedalsInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerMedalsInfo& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerMedalsInfo* internal_default_instance() { + return reinterpret_cast( + &_PlayerMedalsInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(PlayerMedalsInfo& a, PlayerMedalsInfo& b) { + a.Swap(&b); + } + inline void Swap(PlayerMedalsInfo* 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(PlayerMedalsInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerMedalsInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerMedalsInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerMedalsInfo& from) { + PlayerMedalsInfo::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(PlayerMedalsInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerMedalsInfo"; + } + protected: + explicit PlayerMedalsInfo(::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 { + kDisplayItemsDefidxFieldNumber = 7, + kFeaturedDisplayItemDefidxFieldNumber = 8, + }; + // repeated uint32 display_items_defidx = 7; + int display_items_defidx_size() const; + private: + int _internal_display_items_defidx_size() const; + public: + void clear_display_items_defidx(); + private: + uint32_t _internal_display_items_defidx(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_display_items_defidx() const; + void _internal_add_display_items_defidx(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_display_items_defidx(); + public: + uint32_t display_items_defidx(int index) const; + void set_display_items_defidx(int index, uint32_t value); + void add_display_items_defidx(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + display_items_defidx() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_display_items_defidx(); + + // optional uint32 featured_display_item_defidx = 8; + bool has_featured_display_item_defidx() const; + private: + bool _internal_has_featured_display_item_defidx() const; + public: + void clear_featured_display_item_defidx(); + uint32_t featured_display_item_defidx() const; + void set_featured_display_item_defidx(uint32_t value); + private: + uint32_t _internal_featured_display_item_defidx() const; + void _internal_set_featured_display_item_defidx(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PlayerMedalsInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > display_items_defidx_; + uint32_t featured_display_item_defidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class AccountActivity final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AccountActivity) */ { + public: + inline AccountActivity() : AccountActivity(nullptr) {} + ~AccountActivity() override; + explicit PROTOBUF_CONSTEXPR AccountActivity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + AccountActivity(const AccountActivity& from); + AccountActivity(AccountActivity&& from) noexcept + : AccountActivity() { + *this = ::std::move(from); + } + + inline AccountActivity& operator=(const AccountActivity& from) { + CopyFrom(from); + return *this; + } + inline AccountActivity& operator=(AccountActivity&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 AccountActivity& default_instance() { + return *internal_default_instance(); + } + static inline const AccountActivity* internal_default_instance() { + return reinterpret_cast( + &_AccountActivity_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(AccountActivity& a, AccountActivity& b) { + a.Swap(&b); + } + inline void Swap(AccountActivity* 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(AccountActivity* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AccountActivity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const AccountActivity& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const AccountActivity& from) { + AccountActivity::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(AccountActivity* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "AccountActivity"; + } + protected: + explicit AccountActivity(::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 { + kActivityFieldNumber = 1, + kModeFieldNumber = 2, + kMatchidFieldNumber = 4, + kMapFieldNumber = 3, + }; + // optional uint32 activity = 1; + bool has_activity() const; + private: + bool _internal_has_activity() const; + public: + void clear_activity(); + uint32_t activity() const; + void set_activity(uint32_t value); + private: + uint32_t _internal_activity() const; + void _internal_set_activity(uint32_t value); + public: + + // optional uint32 mode = 2; + bool has_mode() const; + private: + bool _internal_has_mode() const; + public: + void clear_mode(); + uint32_t mode() const; + void set_mode(uint32_t value); + private: + uint32_t _internal_mode() const; + void _internal_set_mode(uint32_t value); + public: + + // optional uint64 matchid = 4; + bool has_matchid() const; + private: + bool _internal_has_matchid() const; + public: + void clear_matchid(); + uint64_t matchid() const; + void set_matchid(uint64_t value); + private: + uint64_t _internal_matchid() const; + void _internal_set_matchid(uint64_t value); + public: + + // optional uint32 map = 3; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + void clear_map(); + uint32_t map() const; + void set_map(uint32_t value); + private: + uint32_t _internal_map() const; + void _internal_set_map(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:AccountActivity) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t activity_; + uint32_t mode_; + uint64_t matchid_; + uint32_t map_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class TournamentMatchSetup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentMatchSetup) */ { + public: + inline TournamentMatchSetup() : TournamentMatchSetup(nullptr) {} + ~TournamentMatchSetup() override; + explicit PROTOBUF_CONSTEXPR TournamentMatchSetup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + TournamentMatchSetup(const TournamentMatchSetup& from); + TournamentMatchSetup(TournamentMatchSetup&& from) noexcept + : TournamentMatchSetup() { + *this = ::std::move(from); + } + + inline TournamentMatchSetup& operator=(const TournamentMatchSetup& from) { + CopyFrom(from); + return *this; + } + inline TournamentMatchSetup& operator=(TournamentMatchSetup&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 TournamentMatchSetup& default_instance() { + return *internal_default_instance(); + } + static inline const TournamentMatchSetup* internal_default_instance() { + return reinterpret_cast( + &_TournamentMatchSetup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(TournamentMatchSetup& a, TournamentMatchSetup& b) { + a.Swap(&b); + } + inline void Swap(TournamentMatchSetup* 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(TournamentMatchSetup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TournamentMatchSetup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const TournamentMatchSetup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const TournamentMatchSetup& from) { + TournamentMatchSetup::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(TournamentMatchSetup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "TournamentMatchSetup"; + } + protected: + explicit TournamentMatchSetup(::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 { + kEventIdFieldNumber = 1, + kTeamIdCtFieldNumber = 2, + kTeamIdTFieldNumber = 3, + kEventStageIdFieldNumber = 4, + }; + // optional int32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + int32_t event_id() const; + void set_event_id(int32_t value); + private: + int32_t _internal_event_id() const; + void _internal_set_event_id(int32_t value); + public: + + // optional int32 team_id_ct = 2; + bool has_team_id_ct() const; + private: + bool _internal_has_team_id_ct() const; + public: + void clear_team_id_ct(); + int32_t team_id_ct() const; + void set_team_id_ct(int32_t value); + private: + int32_t _internal_team_id_ct() const; + void _internal_set_team_id_ct(int32_t value); + public: + + // optional int32 team_id_t = 3; + bool has_team_id_t() const; + private: + bool _internal_has_team_id_t() const; + public: + void clear_team_id_t(); + int32_t team_id_t() const; + void set_team_id_t(int32_t value); + private: + int32_t _internal_team_id_t() const; + void _internal_set_team_id_t(int32_t value); + public: + + // optional int32 event_stage_id = 4; + bool has_event_stage_id() const; + private: + bool _internal_has_event_stage_id() const; + public: + void clear_event_stage_id(); + int32_t event_stage_id() const; + void set_event_stage_id(int32_t value); + private: + int32_t _internal_event_stage_id() const; + void _internal_set_event_stage_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:TournamentMatchSetup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t event_id_; + int32_t team_id_ct_; + int32_t team_id_t_; + int32_t event_stage_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ServerHltvInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ServerHltvInfo) */ { + public: + inline ServerHltvInfo() : ServerHltvInfo(nullptr) {} + ~ServerHltvInfo() override; + explicit PROTOBUF_CONSTEXPR ServerHltvInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ServerHltvInfo(const ServerHltvInfo& from); + ServerHltvInfo(ServerHltvInfo&& from) noexcept + : ServerHltvInfo() { + *this = ::std::move(from); + } + + inline ServerHltvInfo& operator=(const ServerHltvInfo& from) { + CopyFrom(from); + return *this; + } + inline ServerHltvInfo& operator=(ServerHltvInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ServerHltvInfo& default_instance() { + return *internal_default_instance(); + } + static inline const ServerHltvInfo* internal_default_instance() { + return reinterpret_cast( + &_ServerHltvInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(ServerHltvInfo& a, ServerHltvInfo& b) { + a.Swap(&b); + } + inline void Swap(ServerHltvInfo* 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(ServerHltvInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ServerHltvInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ServerHltvInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ServerHltvInfo& from) { + ServerHltvInfo::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(ServerHltvInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ServerHltvInfo"; + } + protected: + explicit ServerHltvInfo(::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 { + kGameMapgroupFieldNumber = 9, + kGameMapFieldNumber = 10, + kTvWatchKeyFieldNumber = 2, + kTvUdpPortFieldNumber = 1, + kTvSlotsFieldNumber = 3, + kTvClientsFieldNumber = 4, + kTvProxiesFieldNumber = 5, + kTvTimeFieldNumber = 6, + kGameTypeFieldNumber = 8, + kTvMasterSteamidFieldNumber = 11, + kTvLocalSlotsFieldNumber = 12, + kTvLocalClientsFieldNumber = 13, + kTvLocalProxiesFieldNumber = 14, + kTvRelaySlotsFieldNumber = 15, + kTvRelayClientsFieldNumber = 16, + kTvRelayProxiesFieldNumber = 17, + kTvRelayAddressFieldNumber = 18, + kTvRelayPortFieldNumber = 19, + kTvRelaySteamidFieldNumber = 20, + kFlagsFieldNumber = 21, + }; + // optional string game_mapgroup = 9; + bool has_game_mapgroup() const; + private: + bool _internal_has_game_mapgroup() const; + public: + void clear_game_mapgroup(); + const std::string& game_mapgroup() const; + template + void set_game_mapgroup(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_mapgroup(); + PROTOBUF_NODISCARD std::string* release_game_mapgroup(); + void set_allocated_game_mapgroup(std::string* game_mapgroup); + private: + const std::string& _internal_game_mapgroup() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mapgroup(const std::string& value); + std::string* _internal_mutable_game_mapgroup(); + public: + + // optional string game_map = 10; + bool has_game_map() const; + private: + bool _internal_has_game_map() const; + public: + void clear_game_map(); + const std::string& game_map() const; + template + void set_game_map(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_map(); + PROTOBUF_NODISCARD std::string* release_game_map(); + void set_allocated_game_map(std::string* game_map); + private: + const std::string& _internal_game_map() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_map(const std::string& value); + std::string* _internal_mutable_game_map(); + public: + + // optional uint64 tv_watch_key = 2; + bool has_tv_watch_key() const; + private: + bool _internal_has_tv_watch_key() const; + public: + void clear_tv_watch_key(); + uint64_t tv_watch_key() const; + void set_tv_watch_key(uint64_t value); + private: + uint64_t _internal_tv_watch_key() const; + void _internal_set_tv_watch_key(uint64_t value); + public: + + // optional uint32 tv_udp_port = 1; + bool has_tv_udp_port() const; + private: + bool _internal_has_tv_udp_port() const; + public: + void clear_tv_udp_port(); + uint32_t tv_udp_port() const; + void set_tv_udp_port(uint32_t value); + private: + uint32_t _internal_tv_udp_port() const; + void _internal_set_tv_udp_port(uint32_t value); + public: + + // optional uint32 tv_slots = 3; + bool has_tv_slots() const; + private: + bool _internal_has_tv_slots() const; + public: + void clear_tv_slots(); + uint32_t tv_slots() const; + void set_tv_slots(uint32_t value); + private: + uint32_t _internal_tv_slots() const; + void _internal_set_tv_slots(uint32_t value); + public: + + // optional uint32 tv_clients = 4; + bool has_tv_clients() const; + private: + bool _internal_has_tv_clients() const; + public: + void clear_tv_clients(); + uint32_t tv_clients() const; + void set_tv_clients(uint32_t value); + private: + uint32_t _internal_tv_clients() const; + void _internal_set_tv_clients(uint32_t value); + public: + + // optional uint32 tv_proxies = 5; + bool has_tv_proxies() const; + private: + bool _internal_has_tv_proxies() const; + public: + void clear_tv_proxies(); + uint32_t tv_proxies() const; + void set_tv_proxies(uint32_t value); + private: + uint32_t _internal_tv_proxies() const; + void _internal_set_tv_proxies(uint32_t value); + public: + + // optional uint32 tv_time = 6; + bool has_tv_time() const; + private: + bool _internal_has_tv_time() const; + public: + void clear_tv_time(); + uint32_t tv_time() const; + void set_tv_time(uint32_t value); + private: + uint32_t _internal_tv_time() const; + void _internal_set_tv_time(uint32_t value); + public: + + // optional uint32 game_type = 8; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // optional uint64 tv_master_steamid = 11; + bool has_tv_master_steamid() const; + private: + bool _internal_has_tv_master_steamid() const; + public: + void clear_tv_master_steamid(); + uint64_t tv_master_steamid() const; + void set_tv_master_steamid(uint64_t value); + private: + uint64_t _internal_tv_master_steamid() const; + void _internal_set_tv_master_steamid(uint64_t value); + public: + + // optional uint32 tv_local_slots = 12; + bool has_tv_local_slots() const; + private: + bool _internal_has_tv_local_slots() const; + public: + void clear_tv_local_slots(); + uint32_t tv_local_slots() const; + void set_tv_local_slots(uint32_t value); + private: + uint32_t _internal_tv_local_slots() const; + void _internal_set_tv_local_slots(uint32_t value); + public: + + // optional uint32 tv_local_clients = 13; + bool has_tv_local_clients() const; + private: + bool _internal_has_tv_local_clients() const; + public: + void clear_tv_local_clients(); + uint32_t tv_local_clients() const; + void set_tv_local_clients(uint32_t value); + private: + uint32_t _internal_tv_local_clients() const; + void _internal_set_tv_local_clients(uint32_t value); + public: + + // optional uint32 tv_local_proxies = 14; + bool has_tv_local_proxies() const; + private: + bool _internal_has_tv_local_proxies() const; + public: + void clear_tv_local_proxies(); + uint32_t tv_local_proxies() const; + void set_tv_local_proxies(uint32_t value); + private: + uint32_t _internal_tv_local_proxies() const; + void _internal_set_tv_local_proxies(uint32_t value); + public: + + // optional uint32 tv_relay_slots = 15; + bool has_tv_relay_slots() const; + private: + bool _internal_has_tv_relay_slots() const; + public: + void clear_tv_relay_slots(); + uint32_t tv_relay_slots() const; + void set_tv_relay_slots(uint32_t value); + private: + uint32_t _internal_tv_relay_slots() const; + void _internal_set_tv_relay_slots(uint32_t value); + public: + + // optional uint32 tv_relay_clients = 16; + bool has_tv_relay_clients() const; + private: + bool _internal_has_tv_relay_clients() const; + public: + void clear_tv_relay_clients(); + uint32_t tv_relay_clients() const; + void set_tv_relay_clients(uint32_t value); + private: + uint32_t _internal_tv_relay_clients() const; + void _internal_set_tv_relay_clients(uint32_t value); + public: + + // optional uint32 tv_relay_proxies = 17; + bool has_tv_relay_proxies() const; + private: + bool _internal_has_tv_relay_proxies() const; + public: + void clear_tv_relay_proxies(); + uint32_t tv_relay_proxies() const; + void set_tv_relay_proxies(uint32_t value); + private: + uint32_t _internal_tv_relay_proxies() const; + void _internal_set_tv_relay_proxies(uint32_t value); + public: + + // optional uint32 tv_relay_address = 18; + bool has_tv_relay_address() const; + private: + bool _internal_has_tv_relay_address() const; + public: + void clear_tv_relay_address(); + uint32_t tv_relay_address() const; + void set_tv_relay_address(uint32_t value); + private: + uint32_t _internal_tv_relay_address() const; + void _internal_set_tv_relay_address(uint32_t value); + public: + + // optional uint32 tv_relay_port = 19; + bool has_tv_relay_port() const; + private: + bool _internal_has_tv_relay_port() const; + public: + void clear_tv_relay_port(); + uint32_t tv_relay_port() const; + void set_tv_relay_port(uint32_t value); + private: + uint32_t _internal_tv_relay_port() const; + void _internal_set_tv_relay_port(uint32_t value); + public: + + // optional uint64 tv_relay_steamid = 20; + bool has_tv_relay_steamid() const; + private: + bool _internal_has_tv_relay_steamid() const; + public: + void clear_tv_relay_steamid(); + uint64_t tv_relay_steamid() const; + void set_tv_relay_steamid(uint64_t value); + private: + uint64_t _internal_tv_relay_steamid() const; + void _internal_set_tv_relay_steamid(uint64_t value); + public: + + // optional uint32 flags = 21; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:ServerHltvInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mapgroup_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_map_; + uint64_t tv_watch_key_; + uint32_t tv_udp_port_; + uint32_t tv_slots_; + uint32_t tv_clients_; + uint32_t tv_proxies_; + uint32_t tv_time_; + uint32_t game_type_; + uint64_t tv_master_steamid_; + uint32_t tv_local_slots_; + uint32_t tv_local_clients_; + uint32_t tv_local_proxies_; + uint32_t tv_relay_slots_; + uint32_t tv_relay_clients_; + uint32_t tv_relay_proxies_; + uint32_t tv_relay_address_; + uint32_t tv_relay_port_; + uint64_t tv_relay_steamid_; + uint32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class IpAddressMask final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:IpAddressMask) */ { + public: + inline IpAddressMask() : IpAddressMask(nullptr) {} + ~IpAddressMask() override; + explicit PROTOBUF_CONSTEXPR IpAddressMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + IpAddressMask(const IpAddressMask& from); + IpAddressMask(IpAddressMask&& from) noexcept + : IpAddressMask() { + *this = ::std::move(from); + } + + inline IpAddressMask& operator=(const IpAddressMask& from) { + CopyFrom(from); + return *this; + } + inline IpAddressMask& operator=(IpAddressMask&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 IpAddressMask& default_instance() { + return *internal_default_instance(); + } + static inline const IpAddressMask* internal_default_instance() { + return reinterpret_cast( + &_IpAddressMask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(IpAddressMask& a, IpAddressMask& b) { + a.Swap(&b); + } + inline void Swap(IpAddressMask* 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(IpAddressMask* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + IpAddressMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const IpAddressMask& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const IpAddressMask& from) { + IpAddressMask::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(IpAddressMask* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "IpAddressMask"; + } + protected: + explicit IpAddressMask(::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 { + kAFieldNumber = 1, + kBFieldNumber = 2, + kCFieldNumber = 3, + kDFieldNumber = 4, + kBitsFieldNumber = 5, + kTokenFieldNumber = 6, + }; + // optional uint32 a = 1; + bool has_a() const; + private: + bool _internal_has_a() const; + public: + void clear_a(); + uint32_t a() const; + void set_a(uint32_t value); + private: + uint32_t _internal_a() const; + void _internal_set_a(uint32_t value); + public: + + // optional uint32 b = 2; + bool has_b() const; + private: + bool _internal_has_b() const; + public: + void clear_b(); + uint32_t b() const; + void set_b(uint32_t value); + private: + uint32_t _internal_b() const; + void _internal_set_b(uint32_t value); + public: + + // optional uint32 c = 3; + bool has_c() const; + private: + bool _internal_has_c() const; + public: + void clear_c(); + uint32_t c() const; + void set_c(uint32_t value); + private: + uint32_t _internal_c() const; + void _internal_set_c(uint32_t value); + public: + + // optional uint32 d = 4; + bool has_d() const; + private: + bool _internal_has_d() const; + public: + void clear_d(); + uint32_t d() const; + void set_d(uint32_t value); + private: + uint32_t _internal_d() const; + void _internal_set_d(uint32_t value); + public: + + // optional uint32 bits = 5; + bool has_bits() const; + private: + bool _internal_has_bits() const; + public: + void clear_bits(); + uint32_t bits() const; + void set_bits(uint32_t value); + private: + uint32_t _internal_bits() const; + void _internal_set_bits(uint32_t value); + public: + + // optional uint32 token = 6; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + uint32_t token() const; + void set_token(uint32_t value); + private: + uint32_t _internal_token() const; + void _internal_set_token(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:IpAddressMask) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t a_; + uint32_t b_; + uint32_t c_; + uint32_t d_; + uint32_t bits_; + uint32_t token_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgCsgoSteamUserStatChange final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCsgoSteamUserStatChange) */ { + public: + inline CMsgCsgoSteamUserStatChange() : CMsgCsgoSteamUserStatChange(nullptr) {} + ~CMsgCsgoSteamUserStatChange() override; + explicit PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgCsgoSteamUserStatChange(const CMsgCsgoSteamUserStatChange& from); + CMsgCsgoSteamUserStatChange(CMsgCsgoSteamUserStatChange&& from) noexcept + : CMsgCsgoSteamUserStatChange() { + *this = ::std::move(from); + } + + inline CMsgCsgoSteamUserStatChange& operator=(const CMsgCsgoSteamUserStatChange& from) { + CopyFrom(from); + return *this; + } + inline CMsgCsgoSteamUserStatChange& operator=(CMsgCsgoSteamUserStatChange&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgCsgoSteamUserStatChange& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgCsgoSteamUserStatChange* internal_default_instance() { + return reinterpret_cast( + &_CMsgCsgoSteamUserStatChange_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgCsgoSteamUserStatChange& a, CMsgCsgoSteamUserStatChange& b) { + a.Swap(&b); + } + inline void Swap(CMsgCsgoSteamUserStatChange* 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(CMsgCsgoSteamUserStatChange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgCsgoSteamUserStatChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgCsgoSteamUserStatChange& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgCsgoSteamUserStatChange& from) { + CMsgCsgoSteamUserStatChange::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(CMsgCsgoSteamUserStatChange* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgCsgoSteamUserStatChange"; + } + protected: + explicit CMsgCsgoSteamUserStatChange(::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 { + kEcsgosteamuserstatFieldNumber = 1, + kDeltaFieldNumber = 2, + kAbsoluteFieldNumber = 3, + }; + // optional int32 ecsgosteamuserstat = 1; + bool has_ecsgosteamuserstat() const; + private: + bool _internal_has_ecsgosteamuserstat() const; + public: + void clear_ecsgosteamuserstat(); + int32_t ecsgosteamuserstat() const; + void set_ecsgosteamuserstat(int32_t value); + private: + int32_t _internal_ecsgosteamuserstat() const; + void _internal_set_ecsgosteamuserstat(int32_t value); + public: + + // optional int32 delta = 2; + bool has_delta() const; + private: + bool _internal_has_delta() const; + public: + void clear_delta(); + int32_t delta() const; + void set_delta(int32_t value); + private: + int32_t _internal_delta() const; + void _internal_set_delta(int32_t value); + public: + + // optional bool absolute = 3; + bool has_absolute() const; + private: + bool _internal_has_absolute() const; + public: + void clear_absolute(); + bool absolute() const; + void set_absolute(bool value); + private: + bool _internal_absolute() const; + void _internal_set_absolute(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgCsgoSteamUserStatChange) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t ecsgosteamuserstat_; + int32_t delta_; + bool absolute_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class XpProgressData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:XpProgressData) */ { + public: + inline XpProgressData() : XpProgressData(nullptr) {} + ~XpProgressData() override; + explicit PROTOBUF_CONSTEXPR XpProgressData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + XpProgressData(const XpProgressData& from); + XpProgressData(XpProgressData&& from) noexcept + : XpProgressData() { + *this = ::std::move(from); + } + + inline XpProgressData& operator=(const XpProgressData& from) { + CopyFrom(from); + return *this; + } + inline XpProgressData& operator=(XpProgressData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 XpProgressData& default_instance() { + return *internal_default_instance(); + } + static inline const XpProgressData* internal_default_instance() { + return reinterpret_cast( + &_XpProgressData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(XpProgressData& a, XpProgressData& b) { + a.Swap(&b); + } + inline void Swap(XpProgressData* 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(XpProgressData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + XpProgressData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const XpProgressData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const XpProgressData& from) { + XpProgressData::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(XpProgressData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "XpProgressData"; + } + protected: + explicit XpProgressData(::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 { + kXpPointsFieldNumber = 1, + kXpCategoryFieldNumber = 2, + }; + // optional uint32 xp_points = 1; + bool has_xp_points() const; + private: + bool _internal_has_xp_points() const; + public: + void clear_xp_points(); + uint32_t xp_points() const; + void set_xp_points(uint32_t value); + private: + uint32_t _internal_xp_points() const; + void _internal_set_xp_points(uint32_t value); + public: + + // optional int32 xp_category = 2; + bool has_xp_category() const; + private: + bool _internal_has_xp_category() const; + public: + void clear_xp_category(); + int32_t xp_category() const; + void set_xp_category(int32_t value); + private: + int32_t _internal_xp_category() const; + void _internal_set_xp_category(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:XpProgressData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t xp_points_; + int32_t xp_category_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class MatchEndItemUpdates final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MatchEndItemUpdates) */ { + public: + inline MatchEndItemUpdates() : MatchEndItemUpdates(nullptr) {} + ~MatchEndItemUpdates() override; + explicit PROTOBUF_CONSTEXPR MatchEndItemUpdates(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MatchEndItemUpdates(const MatchEndItemUpdates& from); + MatchEndItemUpdates(MatchEndItemUpdates&& from) noexcept + : MatchEndItemUpdates() { + *this = ::std::move(from); + } + + inline MatchEndItemUpdates& operator=(const MatchEndItemUpdates& from) { + CopyFrom(from); + return *this; + } + inline MatchEndItemUpdates& operator=(MatchEndItemUpdates&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MatchEndItemUpdates& default_instance() { + return *internal_default_instance(); + } + static inline const MatchEndItemUpdates* internal_default_instance() { + return reinterpret_cast( + &_MatchEndItemUpdates_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(MatchEndItemUpdates& a, MatchEndItemUpdates& b) { + a.Swap(&b); + } + inline void Swap(MatchEndItemUpdates* 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(MatchEndItemUpdates* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchEndItemUpdates* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MatchEndItemUpdates& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MatchEndItemUpdates& from) { + MatchEndItemUpdates::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(MatchEndItemUpdates* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MatchEndItemUpdates"; + } + protected: + explicit MatchEndItemUpdates(::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 { + kItemIdFieldNumber = 1, + kItemAttrDefidxFieldNumber = 2, + kItemAttrDeltaValueFieldNumber = 3, + }; + // optional uint64 item_id = 1; + bool has_item_id() const; + private: + bool _internal_has_item_id() const; + public: + void clear_item_id(); + uint64_t item_id() const; + void set_item_id(uint64_t value); + private: + uint64_t _internal_item_id() const; + void _internal_set_item_id(uint64_t value); + public: + + // optional uint32 item_attr_defidx = 2; + bool has_item_attr_defidx() const; + private: + bool _internal_has_item_attr_defidx() const; + public: + void clear_item_attr_defidx(); + uint32_t item_attr_defidx() const; + void set_item_attr_defidx(uint32_t value); + private: + uint32_t _internal_item_attr_defidx() const; + void _internal_set_item_attr_defidx(uint32_t value); + public: + + // optional uint32 item_attr_delta_value = 3; + bool has_item_attr_delta_value() const; + private: + bool _internal_has_item_attr_delta_value() const; + public: + void clear_item_attr_delta_value(); + uint32_t item_attr_delta_value() const; + void set_item_attr_delta_value(uint32_t value); + private: + uint32_t _internal_item_attr_delta_value() const; + void _internal_set_item_attr_delta_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:MatchEndItemUpdates) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t item_id_; + uint32_t item_attr_defidx_; + uint32_t item_attr_delta_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ScoreLeaderboardData_Entry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData.Entry) */ { + public: + inline ScoreLeaderboardData_Entry() : ScoreLeaderboardData_Entry(nullptr) {} + ~ScoreLeaderboardData_Entry() override; + explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ScoreLeaderboardData_Entry(const ScoreLeaderboardData_Entry& from); + ScoreLeaderboardData_Entry(ScoreLeaderboardData_Entry&& from) noexcept + : ScoreLeaderboardData_Entry() { + *this = ::std::move(from); + } + + inline ScoreLeaderboardData_Entry& operator=(const ScoreLeaderboardData_Entry& from) { + CopyFrom(from); + return *this; + } + inline ScoreLeaderboardData_Entry& operator=(ScoreLeaderboardData_Entry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ScoreLeaderboardData_Entry& default_instance() { + return *internal_default_instance(); + } + static inline const ScoreLeaderboardData_Entry* internal_default_instance() { + return reinterpret_cast( + &_ScoreLeaderboardData_Entry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(ScoreLeaderboardData_Entry& a, ScoreLeaderboardData_Entry& b) { + a.Swap(&b); + } + inline void Swap(ScoreLeaderboardData_Entry* 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(ScoreLeaderboardData_Entry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreLeaderboardData_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ScoreLeaderboardData_Entry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ScoreLeaderboardData_Entry& from) { + ScoreLeaderboardData_Entry::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(ScoreLeaderboardData_Entry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ScoreLeaderboardData.Entry"; + } + protected: + explicit ScoreLeaderboardData_Entry(::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 { + kTagFieldNumber = 1, + kValFieldNumber = 2, + }; + // optional uint32 tag = 1; + bool has_tag() const; + private: + bool _internal_has_tag() const; + public: + void clear_tag(); + uint32_t tag() const; + void set_tag(uint32_t value); + private: + uint32_t _internal_tag() const; + void _internal_set_tag(uint32_t value); + public: + + // optional uint32 val = 2; + bool has_val() const; + private: + bool _internal_has_val() const; + public: + void clear_val(); + uint32_t val() const; + void set_val(uint32_t value); + private: + uint32_t _internal_val() const; + void _internal_set_val(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:ScoreLeaderboardData.Entry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t tag_; + uint32_t val_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ScoreLeaderboardData_AccountEntries final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData.AccountEntries) */ { + public: + inline ScoreLeaderboardData_AccountEntries() : ScoreLeaderboardData_AccountEntries(nullptr) {} + ~ScoreLeaderboardData_AccountEntries() override; + explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntries(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ScoreLeaderboardData_AccountEntries(const ScoreLeaderboardData_AccountEntries& from); + ScoreLeaderboardData_AccountEntries(ScoreLeaderboardData_AccountEntries&& from) noexcept + : ScoreLeaderboardData_AccountEntries() { + *this = ::std::move(from); + } + + inline ScoreLeaderboardData_AccountEntries& operator=(const ScoreLeaderboardData_AccountEntries& from) { + CopyFrom(from); + return *this; + } + inline ScoreLeaderboardData_AccountEntries& operator=(ScoreLeaderboardData_AccountEntries&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ScoreLeaderboardData_AccountEntries& default_instance() { + return *internal_default_instance(); + } + static inline const ScoreLeaderboardData_AccountEntries* internal_default_instance() { + return reinterpret_cast( + &_ScoreLeaderboardData_AccountEntries_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(ScoreLeaderboardData_AccountEntries& a, ScoreLeaderboardData_AccountEntries& b) { + a.Swap(&b); + } + inline void Swap(ScoreLeaderboardData_AccountEntries* 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(ScoreLeaderboardData_AccountEntries* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreLeaderboardData_AccountEntries* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ScoreLeaderboardData_AccountEntries& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ScoreLeaderboardData_AccountEntries& from) { + ScoreLeaderboardData_AccountEntries::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(ScoreLeaderboardData_AccountEntries* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ScoreLeaderboardData.AccountEntries"; + } + protected: + explicit ScoreLeaderboardData_AccountEntries(::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 { + kEntriesFieldNumber = 2, + kAccountidFieldNumber = 1, + }; + // repeated .ScoreLeaderboardData.Entry entries = 2; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + ::ScoreLeaderboardData_Entry* mutable_entries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* + mutable_entries(); + private: + const ::ScoreLeaderboardData_Entry& _internal_entries(int index) const; + ::ScoreLeaderboardData_Entry* _internal_add_entries(); + public: + const ::ScoreLeaderboardData_Entry& entries(int index) const; + ::ScoreLeaderboardData_Entry* add_entries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& + entries() const; + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:ScoreLeaderboardData.AccountEntries) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry > entries_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ScoreLeaderboardData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData) */ { + public: + inline ScoreLeaderboardData() : ScoreLeaderboardData(nullptr) {} + ~ScoreLeaderboardData() override; + explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ScoreLeaderboardData(const ScoreLeaderboardData& from); + ScoreLeaderboardData(ScoreLeaderboardData&& from) noexcept + : ScoreLeaderboardData() { + *this = ::std::move(from); + } + + inline ScoreLeaderboardData& operator=(const ScoreLeaderboardData& from) { + CopyFrom(from); + return *this; + } + inline ScoreLeaderboardData& operator=(ScoreLeaderboardData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ScoreLeaderboardData& default_instance() { + return *internal_default_instance(); + } + static inline const ScoreLeaderboardData* internal_default_instance() { + return reinterpret_cast( + &_ScoreLeaderboardData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(ScoreLeaderboardData& a, ScoreLeaderboardData& b) { + a.Swap(&b); + } + inline void Swap(ScoreLeaderboardData* 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(ScoreLeaderboardData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreLeaderboardData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ScoreLeaderboardData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ScoreLeaderboardData& from) { + ScoreLeaderboardData::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(ScoreLeaderboardData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ScoreLeaderboardData"; + } + protected: + explicit ScoreLeaderboardData(::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 ---------------------------------------------------- + + typedef ScoreLeaderboardData_Entry Entry; + typedef ScoreLeaderboardData_AccountEntries AccountEntries; + + // accessors ------------------------------------------------------- + + enum : int { + kAccountentriesFieldNumber = 3, + kMatchentriesFieldNumber = 5, + kLeaderboardNameFieldNumber = 6, + kQuestIdFieldNumber = 1, + kScoreFieldNumber = 2, + }; + // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; + int accountentries_size() const; + private: + int _internal_accountentries_size() const; + public: + void clear_accountentries(); + ::ScoreLeaderboardData_AccountEntries* mutable_accountentries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >* + mutable_accountentries(); + private: + const ::ScoreLeaderboardData_AccountEntries& _internal_accountentries(int index) const; + ::ScoreLeaderboardData_AccountEntries* _internal_add_accountentries(); + public: + const ::ScoreLeaderboardData_AccountEntries& accountentries(int index) const; + ::ScoreLeaderboardData_AccountEntries* add_accountentries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >& + accountentries() const; + + // repeated .ScoreLeaderboardData.Entry matchentries = 5; + int matchentries_size() const; + private: + int _internal_matchentries_size() const; + public: + void clear_matchentries(); + ::ScoreLeaderboardData_Entry* mutable_matchentries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* + mutable_matchentries(); + private: + const ::ScoreLeaderboardData_Entry& _internal_matchentries(int index) const; + ::ScoreLeaderboardData_Entry* _internal_add_matchentries(); + public: + const ::ScoreLeaderboardData_Entry& matchentries(int index) const; + ::ScoreLeaderboardData_Entry* add_matchentries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& + matchentries() const; + + // optional string leaderboard_name = 6; + bool has_leaderboard_name() const; + private: + bool _internal_has_leaderboard_name() const; + public: + void clear_leaderboard_name(); + const std::string& leaderboard_name() const; + template + void set_leaderboard_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_leaderboard_name(); + PROTOBUF_NODISCARD std::string* release_leaderboard_name(); + void set_allocated_leaderboard_name(std::string* leaderboard_name); + private: + const std::string& _internal_leaderboard_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_name(const std::string& value); + std::string* _internal_mutable_leaderboard_name(); + public: + + // optional uint64 quest_id = 1; + bool has_quest_id() const; + private: + bool _internal_has_quest_id() const; + public: + void clear_quest_id(); + uint64_t quest_id() const; + void set_quest_id(uint64_t value); + private: + uint64_t _internal_quest_id() const; + void _internal_set_quest_id(uint64_t value); + public: + + // optional uint32 score = 2; + bool has_score() const; + private: + bool _internal_has_score() const; + public: + void clear_score(); + uint32_t score() const; + void set_score(uint32_t value); + private: + uint32_t _internal_score() const; + void _internal_set_score(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:ScoreLeaderboardData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries > accountentries_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry > matchentries_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_name_; + uint64_t quest_id_; + uint32_t score_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerQuestData_QuestItemData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerQuestData.QuestItemData) */ { + public: + inline PlayerQuestData_QuestItemData() : PlayerQuestData_QuestItemData(nullptr) {} + ~PlayerQuestData_QuestItemData() override; + explicit PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerQuestData_QuestItemData(const PlayerQuestData_QuestItemData& from); + PlayerQuestData_QuestItemData(PlayerQuestData_QuestItemData&& from) noexcept + : PlayerQuestData_QuestItemData() { + *this = ::std::move(from); + } + + inline PlayerQuestData_QuestItemData& operator=(const PlayerQuestData_QuestItemData& from) { + CopyFrom(from); + return *this; + } + inline PlayerQuestData_QuestItemData& operator=(PlayerQuestData_QuestItemData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerQuestData_QuestItemData& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerQuestData_QuestItemData* internal_default_instance() { + return reinterpret_cast( + &_PlayerQuestData_QuestItemData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(PlayerQuestData_QuestItemData& a, PlayerQuestData_QuestItemData& b) { + a.Swap(&b); + } + inline void Swap(PlayerQuestData_QuestItemData* 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(PlayerQuestData_QuestItemData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerQuestData_QuestItemData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerQuestData_QuestItemData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerQuestData_QuestItemData& from) { + PlayerQuestData_QuestItemData::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(PlayerQuestData_QuestItemData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerQuestData.QuestItemData"; + } + protected: + explicit PlayerQuestData_QuestItemData(::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 { + kQuestNormalPointsRequiredFieldNumber = 4, + kQuestRewardXpFieldNumber = 5, + kQuestIdFieldNumber = 1, + kQuestNormalPointsEarnedFieldNumber = 2, + kQuestBonusPointsEarnedFieldNumber = 3, + kQuestPeriodFieldNumber = 6, + kQuestTypeFieldNumber = 7, + }; + // repeated int32 quest_normal_points_required = 4; + int quest_normal_points_required_size() const; + private: + int _internal_quest_normal_points_required_size() const; + public: + void clear_quest_normal_points_required(); + private: + int32_t _internal_quest_normal_points_required(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_quest_normal_points_required() const; + void _internal_add_quest_normal_points_required(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_quest_normal_points_required(); + public: + int32_t quest_normal_points_required(int index) const; + void set_quest_normal_points_required(int index, int32_t value); + void add_quest_normal_points_required(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + quest_normal_points_required() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_quest_normal_points_required(); + + // repeated int32 quest_reward_xp = 5; + int quest_reward_xp_size() const; + private: + int _internal_quest_reward_xp_size() const; + public: + void clear_quest_reward_xp(); + private: + int32_t _internal_quest_reward_xp(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_quest_reward_xp() const; + void _internal_add_quest_reward_xp(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_quest_reward_xp(); + public: + int32_t quest_reward_xp(int index) const; + void set_quest_reward_xp(int index, int32_t value); + void add_quest_reward_xp(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + quest_reward_xp() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_quest_reward_xp(); + + // optional uint64 quest_id = 1; + bool has_quest_id() const; + private: + bool _internal_has_quest_id() const; + public: + void clear_quest_id(); + uint64_t quest_id() const; + void set_quest_id(uint64_t value); + private: + uint64_t _internal_quest_id() const; + void _internal_set_quest_id(uint64_t value); + public: + + // optional int32 quest_normal_points_earned = 2; + bool has_quest_normal_points_earned() const; + private: + bool _internal_has_quest_normal_points_earned() const; + public: + void clear_quest_normal_points_earned(); + int32_t quest_normal_points_earned() const; + void set_quest_normal_points_earned(int32_t value); + private: + int32_t _internal_quest_normal_points_earned() const; + void _internal_set_quest_normal_points_earned(int32_t value); + public: + + // optional int32 quest_bonus_points_earned = 3; + bool has_quest_bonus_points_earned() const; + private: + bool _internal_has_quest_bonus_points_earned() const; + public: + void clear_quest_bonus_points_earned(); + int32_t quest_bonus_points_earned() const; + void set_quest_bonus_points_earned(int32_t value); + private: + int32_t _internal_quest_bonus_points_earned() const; + void _internal_set_quest_bonus_points_earned(int32_t value); + public: + + // optional int32 quest_period = 6; + bool has_quest_period() const; + private: + bool _internal_has_quest_period() const; + public: + void clear_quest_period(); + int32_t quest_period() const; + void set_quest_period(int32_t value); + private: + int32_t _internal_quest_period() const; + void _internal_set_quest_period(int32_t value); + public: + + // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; + bool has_quest_type() const; + private: + bool _internal_has_quest_type() const; + public: + void clear_quest_type(); + ::QuestType quest_type() const; + void set_quest_type(::QuestType value); + private: + ::QuestType _internal_quest_type() const; + void _internal_set_quest_type(::QuestType value); + public: + + // @@protoc_insertion_point(class_scope:PlayerQuestData.QuestItemData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > quest_normal_points_required_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > quest_reward_xp_; + uint64_t quest_id_; + int32_t quest_normal_points_earned_; + int32_t quest_bonus_points_earned_; + int32_t quest_period_; + int quest_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerQuestData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerQuestData) */ { + public: + inline PlayerQuestData() : PlayerQuestData(nullptr) {} + ~PlayerQuestData() override; + explicit PROTOBUF_CONSTEXPR PlayerQuestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerQuestData(const PlayerQuestData& from); + PlayerQuestData(PlayerQuestData&& from) noexcept + : PlayerQuestData() { + *this = ::std::move(from); + } + + inline PlayerQuestData& operator=(const PlayerQuestData& from) { + CopyFrom(from); + return *this; + } + inline PlayerQuestData& operator=(PlayerQuestData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerQuestData& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerQuestData* internal_default_instance() { + return reinterpret_cast( + &_PlayerQuestData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(PlayerQuestData& a, PlayerQuestData& b) { + a.Swap(&b); + } + inline void Swap(PlayerQuestData* 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(PlayerQuestData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerQuestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerQuestData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerQuestData& from) { + PlayerQuestData::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(PlayerQuestData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerQuestData"; + } + protected: + explicit PlayerQuestData(::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 ---------------------------------------------------- + + typedef PlayerQuestData_QuestItemData QuestItemData; + + // accessors ------------------------------------------------------- + + enum : int { + kQuestItemDataFieldNumber = 2, + kXpProgressDataFieldNumber = 3, + kItemUpdatesFieldNumber = 6, + kUserstatchangesFieldNumber = 8, + kQuesterAccountIdFieldNumber = 1, + kTimePlayedFieldNumber = 4, + kMmGameModeFieldNumber = 5, + kOperationPointsEligibleFieldNumber = 7, + }; + // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; + int quest_item_data_size() const; + private: + int _internal_quest_item_data_size() const; + public: + void clear_quest_item_data(); + ::PlayerQuestData_QuestItemData* mutable_quest_item_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >* + mutable_quest_item_data(); + private: + const ::PlayerQuestData_QuestItemData& _internal_quest_item_data(int index) const; + ::PlayerQuestData_QuestItemData* _internal_add_quest_item_data(); + public: + const ::PlayerQuestData_QuestItemData& quest_item_data(int index) const; + ::PlayerQuestData_QuestItemData* add_quest_item_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >& + quest_item_data() const; + + // repeated .XpProgressData xp_progress_data = 3; + int xp_progress_data_size() const; + private: + int _internal_xp_progress_data_size() const; + public: + void clear_xp_progress_data(); + ::XpProgressData* mutable_xp_progress_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* + mutable_xp_progress_data(); + private: + const ::XpProgressData& _internal_xp_progress_data(int index) const; + ::XpProgressData* _internal_add_xp_progress_data(); + public: + const ::XpProgressData& xp_progress_data(int index) const; + ::XpProgressData* add_xp_progress_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& + xp_progress_data() const; + + // repeated .MatchEndItemUpdates item_updates = 6; + int item_updates_size() const; + private: + int _internal_item_updates_size() const; + public: + void clear_item_updates(); + ::MatchEndItemUpdates* mutable_item_updates(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >* + mutable_item_updates(); + private: + const ::MatchEndItemUpdates& _internal_item_updates(int index) const; + ::MatchEndItemUpdates* _internal_add_item_updates(); + public: + const ::MatchEndItemUpdates& item_updates(int index) const; + ::MatchEndItemUpdates* add_item_updates(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >& + item_updates() const; + + // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; + int userstatchanges_size() const; + private: + int _internal_userstatchanges_size() const; + public: + void clear_userstatchanges(); + ::CMsgCsgoSteamUserStatChange* mutable_userstatchanges(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >* + mutable_userstatchanges(); + private: + const ::CMsgCsgoSteamUserStatChange& _internal_userstatchanges(int index) const; + ::CMsgCsgoSteamUserStatChange* _internal_add_userstatchanges(); + public: + const ::CMsgCsgoSteamUserStatChange& userstatchanges(int index) const; + ::CMsgCsgoSteamUserStatChange* add_userstatchanges(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >& + userstatchanges() const; + + // optional uint32 quester_account_id = 1; + bool has_quester_account_id() const; + private: + bool _internal_has_quester_account_id() const; + public: + void clear_quester_account_id(); + uint32_t quester_account_id() const; + void set_quester_account_id(uint32_t value); + private: + uint32_t _internal_quester_account_id() const; + void _internal_set_quester_account_id(uint32_t value); + public: + + // optional uint32 time_played = 4; + bool has_time_played() const; + private: + bool _internal_has_time_played() const; + public: + void clear_time_played(); + uint32_t time_played() const; + void set_time_played(uint32_t value); + private: + uint32_t _internal_time_played() const; + void _internal_set_time_played(uint32_t value); + public: + + // optional uint32 mm_game_mode = 5; + bool has_mm_game_mode() const; + private: + bool _internal_has_mm_game_mode() const; + public: + void clear_mm_game_mode(); + uint32_t mm_game_mode() const; + void set_mm_game_mode(uint32_t value); + private: + uint32_t _internal_mm_game_mode() const; + void _internal_set_mm_game_mode(uint32_t value); + public: + + // optional bool operation_points_eligible = 7; + bool has_operation_points_eligible() const; + private: + bool _internal_has_operation_points_eligible() const; + public: + void clear_operation_points_eligible(); + bool operation_points_eligible() const; + void set_operation_points_eligible(bool value); + private: + bool _internal_operation_points_eligible() const; + void _internal_set_operation_points_eligible(bool value); + public: + + // @@protoc_insertion_point(class_scope:PlayerQuestData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData > quest_item_data_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData > xp_progress_data_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates > item_updates_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange > userstatchanges_; + uint32_t quester_account_id_; + uint32_t time_played_; + uint32_t mm_game_mode_; + bool operation_points_eligible_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class DeepPlayerStatsEntry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DeepPlayerStatsEntry) */ { + public: + inline DeepPlayerStatsEntry() : DeepPlayerStatsEntry(nullptr) {} + ~DeepPlayerStatsEntry() override; + explicit PROTOBUF_CONSTEXPR DeepPlayerStatsEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeepPlayerStatsEntry(const DeepPlayerStatsEntry& from); + DeepPlayerStatsEntry(DeepPlayerStatsEntry&& from) noexcept + : DeepPlayerStatsEntry() { + *this = ::std::move(from); + } + + inline DeepPlayerStatsEntry& operator=(const DeepPlayerStatsEntry& from) { + CopyFrom(from); + return *this; + } + inline DeepPlayerStatsEntry& operator=(DeepPlayerStatsEntry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 DeepPlayerStatsEntry& default_instance() { + return *internal_default_instance(); + } + static inline const DeepPlayerStatsEntry* internal_default_instance() { + return reinterpret_cast( + &_DeepPlayerStatsEntry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(DeepPlayerStatsEntry& a, DeepPlayerStatsEntry& b) { + a.Swap(&b); + } + inline void Swap(DeepPlayerStatsEntry* 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(DeepPlayerStatsEntry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DeepPlayerStatsEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DeepPlayerStatsEntry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const DeepPlayerStatsEntry& from) { + DeepPlayerStatsEntry::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(DeepPlayerStatsEntry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "DeepPlayerStatsEntry"; + } + protected: + explicit DeepPlayerStatsEntry(::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 { + kMatesFieldNumber = 34, + kMatchIdFieldNumber = 2, + kAccountidFieldNumber = 1, + kMmGameModeFieldNumber = 3, + kMapidFieldNumber = 4, + kBStartingCtFieldNumber = 5, + kMatchOutcomeFieldNumber = 6, + kRoundsWonFieldNumber = 7, + kRoundsLostFieldNumber = 8, + kStatScoreFieldNumber = 9, + kStatDeathsFieldNumber = 12, + kStatMvpsFieldNumber = 13, + kEnemyKillsFieldNumber = 14, + kEnemyHeadshotsFieldNumber = 15, + kEnemy2KsFieldNumber = 16, + kEnemy3KsFieldNumber = 17, + kEnemy4KsFieldNumber = 18, + kTotalDamageFieldNumber = 19, + kEngagementsEntryCountFieldNumber = 23, + kEngagementsEntryWinsFieldNumber = 24, + kEngagements1V1CountFieldNumber = 25, + kEngagements1V1WinsFieldNumber = 26, + kEngagements1V2CountFieldNumber = 27, + kEngagements1V2WinsFieldNumber = 28, + kUtilityCountFieldNumber = 29, + kUtilitySuccessFieldNumber = 30, + kFlashCountFieldNumber = 32, + kFlashSuccessFieldNumber = 33, + }; + // repeated uint32 mates = 34; + int mates_size() const; + private: + int _internal_mates_size() const; + public: + void clear_mates(); + private: + uint32_t _internal_mates(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_mates() const; + void _internal_add_mates(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_mates(); + public: + uint32_t mates(int index) const; + void set_mates(int index, uint32_t value); + void add_mates(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + mates() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_mates(); + + // optional uint64 match_id = 2; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 mm_game_mode = 3; + bool has_mm_game_mode() const; + private: + bool _internal_has_mm_game_mode() const; + public: + void clear_mm_game_mode(); + uint32_t mm_game_mode() const; + void set_mm_game_mode(uint32_t value); + private: + uint32_t _internal_mm_game_mode() const; + void _internal_set_mm_game_mode(uint32_t value); + public: + + // optional uint32 mapid = 4; + bool has_mapid() const; + private: + bool _internal_has_mapid() const; + public: + void clear_mapid(); + uint32_t mapid() const; + void set_mapid(uint32_t value); + private: + uint32_t _internal_mapid() const; + void _internal_set_mapid(uint32_t value); + public: + + // optional bool b_starting_ct = 5; + bool has_b_starting_ct() const; + private: + bool _internal_has_b_starting_ct() const; + public: + void clear_b_starting_ct(); + bool b_starting_ct() const; + void set_b_starting_ct(bool value); + private: + bool _internal_b_starting_ct() const; + void _internal_set_b_starting_ct(bool value); + public: + + // optional uint32 match_outcome = 6; + bool has_match_outcome() const; + private: + bool _internal_has_match_outcome() const; + public: + void clear_match_outcome(); + uint32_t match_outcome() const; + void set_match_outcome(uint32_t value); + private: + uint32_t _internal_match_outcome() const; + void _internal_set_match_outcome(uint32_t value); + public: + + // optional uint32 rounds_won = 7; + bool has_rounds_won() const; + private: + bool _internal_has_rounds_won() const; + public: + void clear_rounds_won(); + uint32_t rounds_won() const; + void set_rounds_won(uint32_t value); + private: + uint32_t _internal_rounds_won() const; + void _internal_set_rounds_won(uint32_t value); + public: + + // optional uint32 rounds_lost = 8; + bool has_rounds_lost() const; + private: + bool _internal_has_rounds_lost() const; + public: + void clear_rounds_lost(); + uint32_t rounds_lost() const; + void set_rounds_lost(uint32_t value); + private: + uint32_t _internal_rounds_lost() const; + void _internal_set_rounds_lost(uint32_t value); + public: + + // optional uint32 stat_score = 9; + bool has_stat_score() const; + private: + bool _internal_has_stat_score() const; + public: + void clear_stat_score(); + uint32_t stat_score() const; + void set_stat_score(uint32_t value); + private: + uint32_t _internal_stat_score() const; + void _internal_set_stat_score(uint32_t value); + public: + + // optional uint32 stat_deaths = 12; + bool has_stat_deaths() const; + private: + bool _internal_has_stat_deaths() const; + public: + void clear_stat_deaths(); + uint32_t stat_deaths() const; + void set_stat_deaths(uint32_t value); + private: + uint32_t _internal_stat_deaths() const; + void _internal_set_stat_deaths(uint32_t value); + public: + + // optional uint32 stat_mvps = 13; + bool has_stat_mvps() const; + private: + bool _internal_has_stat_mvps() const; + public: + void clear_stat_mvps(); + uint32_t stat_mvps() const; + void set_stat_mvps(uint32_t value); + private: + uint32_t _internal_stat_mvps() const; + void _internal_set_stat_mvps(uint32_t value); + public: + + // optional uint32 enemy_kills = 14; + bool has_enemy_kills() const; + private: + bool _internal_has_enemy_kills() const; + public: + void clear_enemy_kills(); + uint32_t enemy_kills() const; + void set_enemy_kills(uint32_t value); + private: + uint32_t _internal_enemy_kills() const; + void _internal_set_enemy_kills(uint32_t value); + public: + + // optional uint32 enemy_headshots = 15; + bool has_enemy_headshots() const; + private: + bool _internal_has_enemy_headshots() const; + public: + void clear_enemy_headshots(); + uint32_t enemy_headshots() const; + void set_enemy_headshots(uint32_t value); + private: + uint32_t _internal_enemy_headshots() const; + void _internal_set_enemy_headshots(uint32_t value); + public: + + // optional uint32 enemy_2ks = 16; + bool has_enemy_2ks() const; + private: + bool _internal_has_enemy_2ks() const; + public: + void clear_enemy_2ks(); + uint32_t enemy_2ks() const; + void set_enemy_2ks(uint32_t value); + private: + uint32_t _internal_enemy_2ks() const; + void _internal_set_enemy_2ks(uint32_t value); + public: + + // optional uint32 enemy_3ks = 17; + bool has_enemy_3ks() const; + private: + bool _internal_has_enemy_3ks() const; + public: + void clear_enemy_3ks(); + uint32_t enemy_3ks() const; + void set_enemy_3ks(uint32_t value); + private: + uint32_t _internal_enemy_3ks() const; + void _internal_set_enemy_3ks(uint32_t value); + public: + + // optional uint32 enemy_4ks = 18; + bool has_enemy_4ks() const; + private: + bool _internal_has_enemy_4ks() const; + public: + void clear_enemy_4ks(); + uint32_t enemy_4ks() const; + void set_enemy_4ks(uint32_t value); + private: + uint32_t _internal_enemy_4ks() const; + void _internal_set_enemy_4ks(uint32_t value); + public: + + // optional uint32 total_damage = 19; + bool has_total_damage() const; + private: + bool _internal_has_total_damage() const; + public: + void clear_total_damage(); + uint32_t total_damage() const; + void set_total_damage(uint32_t value); + private: + uint32_t _internal_total_damage() const; + void _internal_set_total_damage(uint32_t value); + public: + + // optional uint32 engagements_entry_count = 23; + bool has_engagements_entry_count() const; + private: + bool _internal_has_engagements_entry_count() const; + public: + void clear_engagements_entry_count(); + uint32_t engagements_entry_count() const; + void set_engagements_entry_count(uint32_t value); + private: + uint32_t _internal_engagements_entry_count() const; + void _internal_set_engagements_entry_count(uint32_t value); + public: + + // optional uint32 engagements_entry_wins = 24; + bool has_engagements_entry_wins() const; + private: + bool _internal_has_engagements_entry_wins() const; + public: + void clear_engagements_entry_wins(); + uint32_t engagements_entry_wins() const; + void set_engagements_entry_wins(uint32_t value); + private: + uint32_t _internal_engagements_entry_wins() const; + void _internal_set_engagements_entry_wins(uint32_t value); + public: + + // optional uint32 engagements_1v1_count = 25; + bool has_engagements_1v1_count() const; + private: + bool _internal_has_engagements_1v1_count() const; + public: + void clear_engagements_1v1_count(); + uint32_t engagements_1v1_count() const; + void set_engagements_1v1_count(uint32_t value); + private: + uint32_t _internal_engagements_1v1_count() const; + void _internal_set_engagements_1v1_count(uint32_t value); + public: + + // optional uint32 engagements_1v1_wins = 26; + bool has_engagements_1v1_wins() const; + private: + bool _internal_has_engagements_1v1_wins() const; + public: + void clear_engagements_1v1_wins(); + uint32_t engagements_1v1_wins() const; + void set_engagements_1v1_wins(uint32_t value); + private: + uint32_t _internal_engagements_1v1_wins() const; + void _internal_set_engagements_1v1_wins(uint32_t value); + public: + + // optional uint32 engagements_1v2_count = 27; + bool has_engagements_1v2_count() const; + private: + bool _internal_has_engagements_1v2_count() const; + public: + void clear_engagements_1v2_count(); + uint32_t engagements_1v2_count() const; + void set_engagements_1v2_count(uint32_t value); + private: + uint32_t _internal_engagements_1v2_count() const; + void _internal_set_engagements_1v2_count(uint32_t value); + public: + + // optional uint32 engagements_1v2_wins = 28; + bool has_engagements_1v2_wins() const; + private: + bool _internal_has_engagements_1v2_wins() const; + public: + void clear_engagements_1v2_wins(); + uint32_t engagements_1v2_wins() const; + void set_engagements_1v2_wins(uint32_t value); + private: + uint32_t _internal_engagements_1v2_wins() const; + void _internal_set_engagements_1v2_wins(uint32_t value); + public: + + // optional uint32 utility_count = 29; + bool has_utility_count() const; + private: + bool _internal_has_utility_count() const; + public: + void clear_utility_count(); + uint32_t utility_count() const; + void set_utility_count(uint32_t value); + private: + uint32_t _internal_utility_count() const; + void _internal_set_utility_count(uint32_t value); + public: + + // optional uint32 utility_success = 30; + bool has_utility_success() const; + private: + bool _internal_has_utility_success() const; + public: + void clear_utility_success(); + uint32_t utility_success() const; + void set_utility_success(uint32_t value); + private: + uint32_t _internal_utility_success() const; + void _internal_set_utility_success(uint32_t value); + public: + + // optional uint32 flash_count = 32; + bool has_flash_count() const; + private: + bool _internal_has_flash_count() const; + public: + void clear_flash_count(); + uint32_t flash_count() const; + void set_flash_count(uint32_t value); + private: + uint32_t _internal_flash_count() const; + void _internal_set_flash_count(uint32_t value); + public: + + // optional uint32 flash_success = 33; + bool has_flash_success() const; + private: + bool _internal_has_flash_success() const; + public: + void clear_flash_success(); + uint32_t flash_success() const; + void set_flash_success(uint32_t value); + private: + uint32_t _internal_flash_success() const; + void _internal_set_flash_success(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:DeepPlayerStatsEntry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > mates_; + uint64_t match_id_; + uint32_t accountid_; + uint32_t mm_game_mode_; + uint32_t mapid_; + bool b_starting_ct_; + uint32_t match_outcome_; + uint32_t rounds_won_; + uint32_t rounds_lost_; + uint32_t stat_score_; + uint32_t stat_deaths_; + uint32_t stat_mvps_; + uint32_t enemy_kills_; + uint32_t enemy_headshots_; + uint32_t enemy_2ks_; + uint32_t enemy_3ks_; + uint32_t enemy_4ks_; + uint32_t total_damage_; + uint32_t engagements_entry_count_; + uint32_t engagements_entry_wins_; + uint32_t engagements_1v1_count_; + uint32_t engagements_1v1_wins_; + uint32_t engagements_1v2_count_; + uint32_t engagements_1v2_wins_; + uint32_t utility_count_; + uint32_t utility_success_; + uint32_t flash_count_; + uint32_t flash_success_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class DeepPlayerMatchEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DeepPlayerMatchEvent) */ { + public: + inline DeepPlayerMatchEvent() : DeepPlayerMatchEvent(nullptr) {} + ~DeepPlayerMatchEvent() override; + explicit PROTOBUF_CONSTEXPR DeepPlayerMatchEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeepPlayerMatchEvent(const DeepPlayerMatchEvent& from); + DeepPlayerMatchEvent(DeepPlayerMatchEvent&& from) noexcept + : DeepPlayerMatchEvent() { + *this = ::std::move(from); + } + + inline DeepPlayerMatchEvent& operator=(const DeepPlayerMatchEvent& from) { + CopyFrom(from); + return *this; + } + inline DeepPlayerMatchEvent& operator=(DeepPlayerMatchEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 DeepPlayerMatchEvent& default_instance() { + return *internal_default_instance(); + } + static inline const DeepPlayerMatchEvent* internal_default_instance() { + return reinterpret_cast( + &_DeepPlayerMatchEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(DeepPlayerMatchEvent& a, DeepPlayerMatchEvent& b) { + a.Swap(&b); + } + inline void Swap(DeepPlayerMatchEvent* 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(DeepPlayerMatchEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DeepPlayerMatchEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DeepPlayerMatchEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const DeepPlayerMatchEvent& from) { + DeepPlayerMatchEvent::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(DeepPlayerMatchEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "DeepPlayerMatchEvent"; + } + protected: + explicit DeepPlayerMatchEvent(::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 { + kMatchIdFieldNumber = 2, + kAccountidFieldNumber = 1, + kEventIdFieldNumber = 3, + kEventTypeFieldNumber = 4, + kBPlayingCtFieldNumber = 5, + kUserPosXFieldNumber = 6, + kUserPosYFieldNumber = 7, + kUserDefidxFieldNumber = 8, + kOtherPosXFieldNumber = 9, + kOtherPosYFieldNumber = 10, + kOtherDefidxFieldNumber = 11, + kUserPosZFieldNumber = 12, + kOtherPosZFieldNumber = 13, + kEventDataFieldNumber = 14, + }; + // optional uint64 match_id = 2; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 event_id = 3; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + uint32_t event_id() const; + void set_event_id(uint32_t value); + private: + uint32_t _internal_event_id() const; + void _internal_set_event_id(uint32_t value); + public: + + // optional uint32 event_type = 4; + bool has_event_type() const; + private: + bool _internal_has_event_type() const; + public: + void clear_event_type(); + uint32_t event_type() const; + void set_event_type(uint32_t value); + private: + uint32_t _internal_event_type() const; + void _internal_set_event_type(uint32_t value); + public: + + // optional bool b_playing_ct = 5; + bool has_b_playing_ct() const; + private: + bool _internal_has_b_playing_ct() const; + public: + void clear_b_playing_ct(); + bool b_playing_ct() const; + void set_b_playing_ct(bool value); + private: + bool _internal_b_playing_ct() const; + void _internal_set_b_playing_ct(bool value); + public: + + // optional int32 user_pos_x = 6; + bool has_user_pos_x() const; + private: + bool _internal_has_user_pos_x() const; + public: + void clear_user_pos_x(); + int32_t user_pos_x() const; + void set_user_pos_x(int32_t value); + private: + int32_t _internal_user_pos_x() const; + void _internal_set_user_pos_x(int32_t value); + public: + + // optional int32 user_pos_y = 7; + bool has_user_pos_y() const; + private: + bool _internal_has_user_pos_y() const; + public: + void clear_user_pos_y(); + int32_t user_pos_y() const; + void set_user_pos_y(int32_t value); + private: + int32_t _internal_user_pos_y() const; + void _internal_set_user_pos_y(int32_t value); + public: + + // optional uint32 user_defidx = 8; + bool has_user_defidx() const; + private: + bool _internal_has_user_defidx() const; + public: + void clear_user_defidx(); + uint32_t user_defidx() const; + void set_user_defidx(uint32_t value); + private: + uint32_t _internal_user_defidx() const; + void _internal_set_user_defidx(uint32_t value); + public: + + // optional int32 other_pos_x = 9; + bool has_other_pos_x() const; + private: + bool _internal_has_other_pos_x() const; + public: + void clear_other_pos_x(); + int32_t other_pos_x() const; + void set_other_pos_x(int32_t value); + private: + int32_t _internal_other_pos_x() const; + void _internal_set_other_pos_x(int32_t value); + public: + + // optional int32 other_pos_y = 10; + bool has_other_pos_y() const; + private: + bool _internal_has_other_pos_y() const; + public: + void clear_other_pos_y(); + int32_t other_pos_y() const; + void set_other_pos_y(int32_t value); + private: + int32_t _internal_other_pos_y() const; + void _internal_set_other_pos_y(int32_t value); + public: + + // optional uint32 other_defidx = 11; + bool has_other_defidx() const; + private: + bool _internal_has_other_defidx() const; + public: + void clear_other_defidx(); + uint32_t other_defidx() const; + void set_other_defidx(uint32_t value); + private: + uint32_t _internal_other_defidx() const; + void _internal_set_other_defidx(uint32_t value); + public: + + // optional int32 user_pos_z = 12; + bool has_user_pos_z() const; + private: + bool _internal_has_user_pos_z() const; + public: + void clear_user_pos_z(); + int32_t user_pos_z() const; + void set_user_pos_z(int32_t value); + private: + int32_t _internal_user_pos_z() const; + void _internal_set_user_pos_z(int32_t value); + public: + + // optional int32 other_pos_z = 13; + bool has_other_pos_z() const; + private: + bool _internal_has_other_pos_z() const; + public: + void clear_other_pos_z(); + int32_t other_pos_z() const; + void set_other_pos_z(int32_t value); + private: + int32_t _internal_other_pos_z() const; + void _internal_set_other_pos_z(int32_t value); + public: + + // optional int32 event_data = 14; + bool has_event_data() const; + private: + bool _internal_has_event_data() const; + public: + void clear_event_data(); + int32_t event_data() const; + void set_event_data(int32_t value); + private: + int32_t _internal_event_data() const; + void _internal_set_event_data(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:DeepPlayerMatchEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t match_id_; + uint32_t accountid_; + uint32_t event_id_; + uint32_t event_type_; + bool b_playing_ct_; + int32_t user_pos_x_; + int32_t user_pos_y_; + uint32_t user_defidx_; + int32_t other_pos_x_; + int32_t other_pos_y_; + uint32_t other_defidx_; + int32_t user_pos_z_; + int32_t other_pos_z_; + int32_t event_data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGC_ServerQuestUpdateData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_ServerQuestUpdateData) */ { + public: + inline CMsgGC_ServerQuestUpdateData() : CMsgGC_ServerQuestUpdateData(nullptr) {} + ~CMsgGC_ServerQuestUpdateData() override; + explicit PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGC_ServerQuestUpdateData(const CMsgGC_ServerQuestUpdateData& from); + CMsgGC_ServerQuestUpdateData(CMsgGC_ServerQuestUpdateData&& from) noexcept + : CMsgGC_ServerQuestUpdateData() { + *this = ::std::move(from); + } + + inline CMsgGC_ServerQuestUpdateData& operator=(const CMsgGC_ServerQuestUpdateData& from) { + CopyFrom(from); + return *this; + } + inline CMsgGC_ServerQuestUpdateData& operator=(CMsgGC_ServerQuestUpdateData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGC_ServerQuestUpdateData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGC_ServerQuestUpdateData* internal_default_instance() { + return reinterpret_cast( + &_CMsgGC_ServerQuestUpdateData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CMsgGC_ServerQuestUpdateData& a, CMsgGC_ServerQuestUpdateData& b) { + a.Swap(&b); + } + inline void Swap(CMsgGC_ServerQuestUpdateData* 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(CMsgGC_ServerQuestUpdateData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGC_ServerQuestUpdateData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGC_ServerQuestUpdateData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGC_ServerQuestUpdateData& from) { + CMsgGC_ServerQuestUpdateData::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(CMsgGC_ServerQuestUpdateData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGC_ServerQuestUpdateData"; + } + protected: + explicit CMsgGC_ServerQuestUpdateData(::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 { + kPlayerQuestDataFieldNumber = 1, + kBinaryDataFieldNumber = 2, + kMissionlbsdataFieldNumber = 4, + kMmGameModeFieldNumber = 3, + kFlagsFieldNumber = 5, + }; + // repeated .PlayerQuestData player_quest_data = 1; + int player_quest_data_size() const; + private: + int _internal_player_quest_data_size() const; + public: + void clear_player_quest_data(); + ::PlayerQuestData* mutable_player_quest_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >* + mutable_player_quest_data(); + private: + const ::PlayerQuestData& _internal_player_quest_data(int index) const; + ::PlayerQuestData* _internal_add_player_quest_data(); + public: + const ::PlayerQuestData& player_quest_data(int index) const; + ::PlayerQuestData* add_player_quest_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >& + player_quest_data() const; + + // optional bytes binary_data = 2; + bool has_binary_data() const; + private: + bool _internal_has_binary_data() const; + public: + void clear_binary_data(); + const std::string& binary_data() const; + template + void set_binary_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_binary_data(); + PROTOBUF_NODISCARD std::string* release_binary_data(); + void set_allocated_binary_data(std::string* binary_data); + private: + const std::string& _internal_binary_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_data(const std::string& value); + std::string* _internal_mutable_binary_data(); + public: + + // optional .ScoreLeaderboardData missionlbsdata = 4; + bool has_missionlbsdata() const; + private: + bool _internal_has_missionlbsdata() const; + public: + void clear_missionlbsdata(); + const ::ScoreLeaderboardData& missionlbsdata() const; + PROTOBUF_NODISCARD ::ScoreLeaderboardData* release_missionlbsdata(); + ::ScoreLeaderboardData* mutable_missionlbsdata(); + void set_allocated_missionlbsdata(::ScoreLeaderboardData* missionlbsdata); + private: + const ::ScoreLeaderboardData& _internal_missionlbsdata() const; + ::ScoreLeaderboardData* _internal_mutable_missionlbsdata(); + public: + void unsafe_arena_set_allocated_missionlbsdata( + ::ScoreLeaderboardData* missionlbsdata); + ::ScoreLeaderboardData* unsafe_arena_release_missionlbsdata(); + + // optional uint32 mm_game_mode = 3; + bool has_mm_game_mode() const; + private: + bool _internal_has_mm_game_mode() const; + public: + void clear_mm_game_mode(); + uint32_t mm_game_mode() const; + void set_mm_game_mode(uint32_t value); + private: + uint32_t _internal_mm_game_mode() const; + void _internal_set_mm_game_mode(uint32_t value); + public: + + // optional uint32 flags = 5; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGC_ServerQuestUpdateData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData > player_quest_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr binary_data_; + ::ScoreLeaderboardData* missionlbsdata_; + uint32_t mm_game_mode_; + uint32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() : CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from); + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& a, CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* 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(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::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(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::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 { + kTokenFieldNumber = 1, + kStampFieldNumber = 2, + kExchangeFieldNumber = 3, + kRetryFieldNumber = 4, + }; + // optional uint32 token = 1; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + uint32_t token() const; + void set_token(uint32_t value); + private: + uint32_t _internal_token() const; + void _internal_set_token(uint32_t value); + public: + + // optional uint32 stamp = 2; + bool has_stamp() const; + private: + bool _internal_has_stamp() const; + public: + void clear_stamp(); + uint32_t stamp() const; + void set_stamp(uint32_t value); + private: + uint32_t _internal_stamp() const; + void _internal_set_stamp(uint32_t value); + public: + + // optional uint64 exchange = 3; + bool has_exchange() const; + private: + bool _internal_has_exchange() const; + public: + void clear_exchange(); + uint64_t exchange() const; + void set_exchange(uint64_t value); + private: + uint64_t _internal_exchange() const; + void _internal_set_exchange(uint64_t value); + public: + + // optional uint32 retry = 4; + bool has_retry() const; + private: + bool _internal_has_retry() const; + public: + void clear_retry(); + uint32_t retry() const; + void set_retry(uint32_t value); + private: + uint32_t _internal_retry() const; + void _internal_set_retry(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t token_; + uint32_t stamp_; + uint64_t exchange_; + uint32_t retry_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ServerReservationUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) */ { + public: + inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate() : CMsgGCCStrike15_v2_GC2ServerReservationUpdate(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ServerReservationUpdate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ServerReservationUpdate(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from); + CMsgGCCStrike15_v2_GC2ServerReservationUpdate(CMsgGCCStrike15_v2_GC2ServerReservationUpdate&& from) noexcept + : CMsgGCCStrike15_v2_GC2ServerReservationUpdate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate& operator=(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate& operator=(CMsgGCCStrike15_v2_GC2ServerReservationUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ServerReservationUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ServerReservationUpdate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate& a, CMsgGCCStrike15_v2_GC2ServerReservationUpdate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* 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(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ServerReservationUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { + CMsgGCCStrike15_v2_GC2ServerReservationUpdate::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(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ServerReservationUpdate"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::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 { + kViewersExternalTotalFieldNumber = 1, + kViewersExternalSteamFieldNumber = 2, + }; + // optional uint32 viewers_external_total = 1; + bool has_viewers_external_total() const; + private: + bool _internal_has_viewers_external_total() const; + public: + void clear_viewers_external_total(); + uint32_t viewers_external_total() const; + void set_viewers_external_total(uint32_t value); + private: + uint32_t _internal_viewers_external_total() const; + void _internal_set_viewers_external_total(uint32_t value); + public: + + // optional uint32 viewers_external_steam = 2; + bool has_viewers_external_steam() const; + private: + bool _internal_has_viewers_external_steam() const; + public: + void clear_viewers_external_steam(); + uint32_t viewers_external_steam() const; + void set_viewers_external_steam(uint32_t value); + private: + uint32_t _internal_viewers_external_steam() const; + void _internal_set_viewers_external_steam(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t viewers_external_total_; + uint32_t viewers_external_steam_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingStart final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingStart) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingStart() : CMsgGCCStrike15_v2_MatchmakingStart(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingStart() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingStart(const CMsgGCCStrike15_v2_MatchmakingStart& from); + CMsgGCCStrike15_v2_MatchmakingStart(CMsgGCCStrike15_v2_MatchmakingStart&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingStart() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingStart& operator=(const CMsgGCCStrike15_v2_MatchmakingStart& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingStart& operator=(CMsgGCCStrike15_v2_MatchmakingStart&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingStart& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingStart* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingStart_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingStart& a, CMsgGCCStrike15_v2_MatchmakingStart& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingStart* 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(CMsgGCCStrike15_v2_MatchmakingStart* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStart& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingStart& from) { + CMsgGCCStrike15_v2_MatchmakingStart::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(CMsgGCCStrike15_v2_MatchmakingStart* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingStart"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingStart(::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 { + kAccountIdsFieldNumber = 1, + kTicketDataFieldNumber = 3, + kTournamentMatchFieldNumber = 5, + kGameTypeFieldNumber = 2, + kClientVersionFieldNumber = 4, + kPrimeOnlyFieldNumber = 6, + kTvControlFieldNumber = 7, + kLobbyIdFieldNumber = 8, + }; + // repeated uint32 account_ids = 1; + int account_ids_size() const; + private: + int _internal_account_ids_size() const; + public: + void clear_account_ids(); + private: + uint32_t _internal_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_account_ids() const; + void _internal_add_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_account_ids(); + public: + uint32_t account_ids(int index) const; + void set_account_ids(int index, uint32_t value); + void add_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_account_ids(); + + // optional string ticket_data = 3; + bool has_ticket_data() const; + private: + bool _internal_has_ticket_data() const; + public: + void clear_ticket_data(); + const std::string& ticket_data() const; + template + void set_ticket_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_ticket_data(); + PROTOBUF_NODISCARD std::string* release_ticket_data(); + void set_allocated_ticket_data(std::string* ticket_data); + private: + const std::string& _internal_ticket_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket_data(const std::string& value); + std::string* _internal_mutable_ticket_data(); + public: + + // optional .TournamentMatchSetup tournament_match = 5; + bool has_tournament_match() const; + private: + bool _internal_has_tournament_match() const; + public: + void clear_tournament_match(); + const ::TournamentMatchSetup& tournament_match() const; + PROTOBUF_NODISCARD ::TournamentMatchSetup* release_tournament_match(); + ::TournamentMatchSetup* mutable_tournament_match(); + void set_allocated_tournament_match(::TournamentMatchSetup* tournament_match); + private: + const ::TournamentMatchSetup& _internal_tournament_match() const; + ::TournamentMatchSetup* _internal_mutable_tournament_match(); + public: + void unsafe_arena_set_allocated_tournament_match( + ::TournamentMatchSetup* tournament_match); + ::TournamentMatchSetup* unsafe_arena_release_tournament_match(); + + // optional uint32 game_type = 2; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // optional uint32 client_version = 4; + bool has_client_version() const; + private: + bool _internal_has_client_version() const; + public: + void clear_client_version(); + uint32_t client_version() const; + void set_client_version(uint32_t value); + private: + uint32_t _internal_client_version() const; + void _internal_set_client_version(uint32_t value); + public: + + // optional bool prime_only = 6; + bool has_prime_only() const; + private: + bool _internal_has_prime_only() const; + public: + void clear_prime_only(); + bool prime_only() const; + void set_prime_only(bool value); + private: + bool _internal_prime_only() const; + void _internal_set_prime_only(bool value); + public: + + // optional uint32 tv_control = 7; + bool has_tv_control() const; + private: + bool _internal_has_tv_control() const; + public: + void clear_tv_control(); + uint32_t tv_control() const; + void set_tv_control(uint32_t value); + private: + uint32_t _internal_tv_control() const; + void _internal_set_tv_control(uint32_t value); + public: + + // optional uint64 lobby_id = 8; + bool has_lobby_id() const; + private: + bool _internal_has_lobby_id() const; + public: + void clear_lobby_id(); + uint64_t lobby_id() const; + void set_lobby_id(uint64_t value); + private: + uint64_t _internal_lobby_id() const; + void _internal_set_lobby_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingStart) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_data_; + ::TournamentMatchSetup* tournament_match_; + uint32_t game_type_; + uint32_t client_version_; + bool prime_only_; + uint32_t tv_control_; + uint64_t lobby_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingStop final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingStop) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingStop() : CMsgGCCStrike15_v2_MatchmakingStop(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingStop() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingStop(const CMsgGCCStrike15_v2_MatchmakingStop& from); + CMsgGCCStrike15_v2_MatchmakingStop(CMsgGCCStrike15_v2_MatchmakingStop&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingStop() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingStop& operator=(const CMsgGCCStrike15_v2_MatchmakingStop& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingStop& operator=(CMsgGCCStrike15_v2_MatchmakingStop&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingStop& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingStop* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingStop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingStop& a, CMsgGCCStrike15_v2_MatchmakingStop& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingStop* 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(CMsgGCCStrike15_v2_MatchmakingStop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStop& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingStop& from) { + CMsgGCCStrike15_v2_MatchmakingStop::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(CMsgGCCStrike15_v2_MatchmakingStop* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingStop"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingStop(::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 { + kAbandonFieldNumber = 1, + }; + // optional int32 abandon = 1; + bool has_abandon() const; + private: + bool _internal_has_abandon() const; + public: + void clear_abandon(); + int32_t abandon() const; + void set_abandon(int32_t value); + private: + int32_t _internal_abandon() const; + void _internal_set_abandon(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingStop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t abandon_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::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 { + kTypeFieldNumber = 1, + kRegionIdFieldNumber = 2, + kRegionRFieldNumber = 3, + kDistanceFieldNumber = 4, + }; + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int32 region_id = 2; + bool has_region_id() const; + private: + bool _internal_has_region_id() const; + public: + void clear_region_id(); + int32_t region_id() const; + void set_region_id(int32_t value); + private: + int32_t _internal_region_id() const; + void _internal_set_region_id(int32_t value); + public: + + // optional float region_r = 3; + bool has_region_r() const; + private: + bool _internal_has_region_r() const; + public: + void clear_region_r(); + float region_r() const; + void set_region_r(float value); + private: + float _internal_region_r() const; + void _internal_set_region_r(float value); + public: + + // optional float distance = 4; + bool has_distance() const; + private: + bool _internal_has_distance() const; + public: + void clear_distance(); + float distance() const; + void set_distance(float value); + private: + float _internal_distance() const; + void _internal_set_distance(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t type_; + int32_t region_id_; + float region_r_; + float distance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() : CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from); + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& operator=(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& operator=(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& a, CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* 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(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { + CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::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(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::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 { + kGameserverpingsFieldNumber = 1, + kDataCenterPingsFieldNumber = 4, + kNotesFieldNumber = 8, + kSearchKeyFieldNumber = 7, + kDebugMessageFieldNumber = 9, + kOffsetIndexFieldNumber = 2, + kFinalBatchFieldNumber = 3, + kMaxPingFieldNumber = 5, + kTestTokenFieldNumber = 6, + }; + // repeated .GameServerPing gameserverpings = 1; + int gameserverpings_size() const; + private: + int _internal_gameserverpings_size() const; + public: + void clear_gameserverpings(); + ::GameServerPing* mutable_gameserverpings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >* + mutable_gameserverpings(); + private: + const ::GameServerPing& _internal_gameserverpings(int index) const; + ::GameServerPing* _internal_add_gameserverpings(); + public: + const ::GameServerPing& gameserverpings(int index) const; + ::GameServerPing* add_gameserverpings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >& + gameserverpings() const; + + // repeated .DataCenterPing data_center_pings = 4; + int data_center_pings_size() const; + private: + int _internal_data_center_pings_size() const; + public: + void clear_data_center_pings(); + ::DataCenterPing* mutable_data_center_pings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* + mutable_data_center_pings(); + private: + const ::DataCenterPing& _internal_data_center_pings(int index) const; + ::DataCenterPing* _internal_add_data_center_pings(); + public: + const ::DataCenterPing& data_center_pings(int index) const; + ::DataCenterPing* add_data_center_pings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& + data_center_pings() const; + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; + int notes_size() const; + private: + int _internal_notes_size() const; + public: + void clear_notes(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* mutable_notes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* + mutable_notes(); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& _internal_notes(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _internal_add_notes(); + public: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& notes(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* add_notes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& + notes() const; + + // optional bytes search_key = 7; + bool has_search_key() const; + private: + bool _internal_has_search_key() const; + public: + void clear_search_key(); + const std::string& search_key() const; + template + void set_search_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_search_key(); + PROTOBUF_NODISCARD std::string* release_search_key(); + void set_allocated_search_key(std::string* search_key); + private: + const std::string& _internal_search_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_search_key(const std::string& value); + std::string* _internal_mutable_search_key(); + public: + + // optional string debug_message = 9; + bool has_debug_message() const; + private: + bool _internal_has_debug_message() const; + public: + void clear_debug_message(); + const std::string& debug_message() const; + template + void set_debug_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_debug_message(); + PROTOBUF_NODISCARD std::string* release_debug_message(); + void set_allocated_debug_message(std::string* debug_message); + private: + const std::string& _internal_debug_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug_message(const std::string& value); + std::string* _internal_mutable_debug_message(); + public: + + // optional int32 offset_index = 2; + bool has_offset_index() const; + private: + bool _internal_has_offset_index() const; + public: + void clear_offset_index(); + int32_t offset_index() const; + void set_offset_index(int32_t value); + private: + int32_t _internal_offset_index() const; + void _internal_set_offset_index(int32_t value); + public: + + // optional int32 final_batch = 3; + bool has_final_batch() const; + private: + bool _internal_has_final_batch() const; + public: + void clear_final_batch(); + int32_t final_batch() const; + void set_final_batch(int32_t value); + private: + int32_t _internal_final_batch() const; + void _internal_set_final_batch(int32_t value); + public: + + // optional uint32 max_ping = 5; + bool has_max_ping() const; + private: + bool _internal_has_max_ping() const; + public: + void clear_max_ping(); + uint32_t max_ping() const; + void set_max_ping(uint32_t value); + private: + uint32_t _internal_max_ping() const; + void _internal_set_max_ping(uint32_t value); + public: + + // optional fixed32 test_token = 6; + bool has_test_token() const; + private: + bool _internal_has_test_token() const; + public: + void clear_test_token(); + uint32_t test_token() const; + void set_test_token(uint32_t value); + private: + uint32_t _internal_test_token() const; + void _internal_set_test_token(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing > gameserverpings_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing > data_center_pings_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note > notes_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr search_key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_message_; + int32_t offset_index_; + int32_t final_batch_; + uint32_t max_ping_; + uint32_t test_token_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::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 { + kWaitingAccountIdSessionsFieldNumber = 2, + kOngoingmatchAccountIdSessionsFieldNumber = 6, + kFailpingAccountIdSessionsFieldNumber = 8, + kPenaltyAccountIdSessionsFieldNumber = 9, + kFailreadyAccountIdSessionsFieldNumber = 10, + kVacbannedAccountIdSessionsFieldNumber = 11, + kNotesFieldNumber = 13, + kPenaltyAccountIdSessionsGreenFieldNumber = 14, + kInsufficientlevelSessionsFieldNumber = 15, + kVsncheckAccountIdSessionsFieldNumber = 16, + kLauncherMismatchSessionsFieldNumber = 17, + kInsecureAccountIdSessionsFieldNumber = 18, + kErrorFieldNumber = 3, + kGlobalStatsFieldNumber = 7, + kServerIpaddressMaskFieldNumber = 12, + kMatchmakingFieldNumber = 1, + }; + // repeated uint32 waiting_account_id_sessions = 2; + int waiting_account_id_sessions_size() const; + private: + int _internal_waiting_account_id_sessions_size() const; + public: + void clear_waiting_account_id_sessions(); + private: + uint32_t _internal_waiting_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_waiting_account_id_sessions() const; + void _internal_add_waiting_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_waiting_account_id_sessions(); + public: + uint32_t waiting_account_id_sessions(int index) const; + void set_waiting_account_id_sessions(int index, uint32_t value); + void add_waiting_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + waiting_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_waiting_account_id_sessions(); + + // repeated uint32 ongoingmatch_account_id_sessions = 6; + int ongoingmatch_account_id_sessions_size() const; + private: + int _internal_ongoingmatch_account_id_sessions_size() const; + public: + void clear_ongoingmatch_account_id_sessions(); + private: + uint32_t _internal_ongoingmatch_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ongoingmatch_account_id_sessions() const; + void _internal_add_ongoingmatch_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ongoingmatch_account_id_sessions(); + public: + uint32_t ongoingmatch_account_id_sessions(int index) const; + void set_ongoingmatch_account_id_sessions(int index, uint32_t value); + void add_ongoingmatch_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ongoingmatch_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ongoingmatch_account_id_sessions(); + + // repeated uint32 failping_account_id_sessions = 8; + int failping_account_id_sessions_size() const; + private: + int _internal_failping_account_id_sessions_size() const; + public: + void clear_failping_account_id_sessions(); + private: + uint32_t _internal_failping_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_failping_account_id_sessions() const; + void _internal_add_failping_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_failping_account_id_sessions(); + public: + uint32_t failping_account_id_sessions(int index) const; + void set_failping_account_id_sessions(int index, uint32_t value); + void add_failping_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + failping_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_failping_account_id_sessions(); + + // repeated uint32 penalty_account_id_sessions = 9; + int penalty_account_id_sessions_size() const; + private: + int _internal_penalty_account_id_sessions_size() const; + public: + void clear_penalty_account_id_sessions(); + private: + uint32_t _internal_penalty_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_penalty_account_id_sessions() const; + void _internal_add_penalty_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_penalty_account_id_sessions(); + public: + uint32_t penalty_account_id_sessions(int index) const; + void set_penalty_account_id_sessions(int index, uint32_t value); + void add_penalty_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + penalty_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_penalty_account_id_sessions(); + + // repeated uint32 failready_account_id_sessions = 10; + int failready_account_id_sessions_size() const; + private: + int _internal_failready_account_id_sessions_size() const; + public: + void clear_failready_account_id_sessions(); + private: + uint32_t _internal_failready_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_failready_account_id_sessions() const; + void _internal_add_failready_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_failready_account_id_sessions(); + public: + uint32_t failready_account_id_sessions(int index) const; + void set_failready_account_id_sessions(int index, uint32_t value); + void add_failready_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + failready_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_failready_account_id_sessions(); + + // repeated uint32 vacbanned_account_id_sessions = 11; + int vacbanned_account_id_sessions_size() const; + private: + int _internal_vacbanned_account_id_sessions_size() const; + public: + void clear_vacbanned_account_id_sessions(); + private: + uint32_t _internal_vacbanned_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_vacbanned_account_id_sessions() const; + void _internal_add_vacbanned_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_vacbanned_account_id_sessions(); + public: + uint32_t vacbanned_account_id_sessions(int index) const; + void set_vacbanned_account_id_sessions(int index, uint32_t value); + void add_vacbanned_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + vacbanned_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_vacbanned_account_id_sessions(); + + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; + int notes_size() const; + private: + int _internal_notes_size() const; + public: + void clear_notes(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* mutable_notes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* + mutable_notes(); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& _internal_notes(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _internal_add_notes(); + public: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& notes(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* add_notes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& + notes() const; + + // repeated uint32 penalty_account_id_sessions_green = 14; + int penalty_account_id_sessions_green_size() const; + private: + int _internal_penalty_account_id_sessions_green_size() const; + public: + void clear_penalty_account_id_sessions_green(); + private: + uint32_t _internal_penalty_account_id_sessions_green(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_penalty_account_id_sessions_green() const; + void _internal_add_penalty_account_id_sessions_green(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_penalty_account_id_sessions_green(); + public: + uint32_t penalty_account_id_sessions_green(int index) const; + void set_penalty_account_id_sessions_green(int index, uint32_t value); + void add_penalty_account_id_sessions_green(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + penalty_account_id_sessions_green() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_penalty_account_id_sessions_green(); + + // repeated uint32 insufficientlevel_sessions = 15; + int insufficientlevel_sessions_size() const; + private: + int _internal_insufficientlevel_sessions_size() const; + public: + void clear_insufficientlevel_sessions(); + private: + uint32_t _internal_insufficientlevel_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_insufficientlevel_sessions() const; + void _internal_add_insufficientlevel_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_insufficientlevel_sessions(); + public: + uint32_t insufficientlevel_sessions(int index) const; + void set_insufficientlevel_sessions(int index, uint32_t value); + void add_insufficientlevel_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + insufficientlevel_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_insufficientlevel_sessions(); + + // repeated uint32 vsncheck_account_id_sessions = 16; + int vsncheck_account_id_sessions_size() const; + private: + int _internal_vsncheck_account_id_sessions_size() const; + public: + void clear_vsncheck_account_id_sessions(); + private: + uint32_t _internal_vsncheck_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_vsncheck_account_id_sessions() const; + void _internal_add_vsncheck_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_vsncheck_account_id_sessions(); + public: + uint32_t vsncheck_account_id_sessions(int index) const; + void set_vsncheck_account_id_sessions(int index, uint32_t value); + void add_vsncheck_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + vsncheck_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_vsncheck_account_id_sessions(); + + // repeated uint32 launcher_mismatch_sessions = 17; + int launcher_mismatch_sessions_size() const; + private: + int _internal_launcher_mismatch_sessions_size() const; + public: + void clear_launcher_mismatch_sessions(); + private: + uint32_t _internal_launcher_mismatch_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_launcher_mismatch_sessions() const; + void _internal_add_launcher_mismatch_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_launcher_mismatch_sessions(); + public: + uint32_t launcher_mismatch_sessions(int index) const; + void set_launcher_mismatch_sessions(int index, uint32_t value); + void add_launcher_mismatch_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + launcher_mismatch_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_launcher_mismatch_sessions(); + + // repeated uint32 insecure_account_id_sessions = 18; + int insecure_account_id_sessions_size() const; + private: + int _internal_insecure_account_id_sessions_size() const; + public: + void clear_insecure_account_id_sessions(); + private: + uint32_t _internal_insecure_account_id_sessions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_insecure_account_id_sessions() const; + void _internal_add_insecure_account_id_sessions(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_insecure_account_id_sessions(); + public: + uint32_t insecure_account_id_sessions(int index) const; + void set_insecure_account_id_sessions(int index, uint32_t value); + void add_insecure_account_id_sessions(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + insecure_account_id_sessions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_insecure_account_id_sessions(); + + // optional string error = 3; + bool has_error() const; + private: + bool _internal_has_error() const; + public: + void clear_error(); + const std::string& error() const; + template + void set_error(ArgT0&& arg0, ArgT... args); + std::string* mutable_error(); + PROTOBUF_NODISCARD std::string* release_error(); + void set_allocated_error(std::string* error); + private: + const std::string& _internal_error() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(const std::string& value); + std::string* _internal_mutable_error(); + public: + + // optional .GlobalStatistics global_stats = 7; + bool has_global_stats() const; + private: + bool _internal_has_global_stats() const; + public: + void clear_global_stats(); + const ::GlobalStatistics& global_stats() const; + PROTOBUF_NODISCARD ::GlobalStatistics* release_global_stats(); + ::GlobalStatistics* mutable_global_stats(); + void set_allocated_global_stats(::GlobalStatistics* global_stats); + private: + const ::GlobalStatistics& _internal_global_stats() const; + ::GlobalStatistics* _internal_mutable_global_stats(); + public: + void unsafe_arena_set_allocated_global_stats( + ::GlobalStatistics* global_stats); + ::GlobalStatistics* unsafe_arena_release_global_stats(); + + // optional .IpAddressMask server_ipaddress_mask = 12; + bool has_server_ipaddress_mask() const; + private: + bool _internal_has_server_ipaddress_mask() const; + public: + void clear_server_ipaddress_mask(); + const ::IpAddressMask& server_ipaddress_mask() const; + PROTOBUF_NODISCARD ::IpAddressMask* release_server_ipaddress_mask(); + ::IpAddressMask* mutable_server_ipaddress_mask(); + void set_allocated_server_ipaddress_mask(::IpAddressMask* server_ipaddress_mask); + private: + const ::IpAddressMask& _internal_server_ipaddress_mask() const; + ::IpAddressMask* _internal_mutable_server_ipaddress_mask(); + public: + void unsafe_arena_set_allocated_server_ipaddress_mask( + ::IpAddressMask* server_ipaddress_mask); + ::IpAddressMask* unsafe_arena_release_server_ipaddress_mask(); + + // optional int32 matchmaking = 1; + bool has_matchmaking() const; + private: + bool _internal_has_matchmaking() const; + public: + void clear_matchmaking(); + int32_t matchmaking() const; + void set_matchmaking(int32_t value); + private: + int32_t _internal_matchmaking() const; + void _internal_set_matchmaking(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > waiting_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ongoingmatch_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > failping_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > penalty_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > failready_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > vacbanned_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note > notes_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > penalty_account_id_sessions_green_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > insufficientlevel_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > vsncheck_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > launcher_mismatch_sessions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > insecure_account_id_sessions_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; + ::GlobalStatistics* global_stats_; + ::IpAddressMask* server_ipaddress_mask_; + int32_t matchmaking_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentMatchDraft_Entry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) */ { + public: + inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry() : CDataGCCStrike15_v2_TournamentMatchDraft_Entry(nullptr) {} + ~CDataGCCStrike15_v2_TournamentMatchDraft_Entry() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentMatchDraft_Entry(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from); + CDataGCCStrike15_v2_TournamentMatchDraft_Entry(CDataGCCStrike15_v2_TournamentMatchDraft_Entry&& from) noexcept + : CDataGCCStrike15_v2_TournamentMatchDraft_Entry() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry& operator=(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry& operator=(CDataGCCStrike15_v2_TournamentMatchDraft_Entry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentMatchDraft_Entry& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentMatchDraft_Entry* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry& a, CDataGCCStrike15_v2_TournamentMatchDraft_Entry& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* 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(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentMatchDraft_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { + CDataGCCStrike15_v2_TournamentMatchDraft_Entry::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(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentMatchDraft.Entry"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::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 { + kMapidFieldNumber = 1, + kTeamIdCtFieldNumber = 2, + }; + // optional int32 mapid = 1; + bool has_mapid() const; + private: + bool _internal_has_mapid() const; + public: + void clear_mapid(); + int32_t mapid() const; + void set_mapid(int32_t value); + private: + int32_t _internal_mapid() const; + void _internal_set_mapid(int32_t value); + public: + + // optional int32 team_id_ct = 2; + bool has_team_id_ct() const; + private: + bool _internal_has_team_id_ct() const; + public: + void clear_team_id_ct(); + int32_t team_id_ct() const; + void set_team_id_ct(int32_t value); + private: + int32_t _internal_team_id_ct() const; + void _internal_set_team_id_ct(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t mapid_; + int32_t team_id_ct_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentMatchDraft final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentMatchDraft) */ { + public: + inline CDataGCCStrike15_v2_TournamentMatchDraft() : CDataGCCStrike15_v2_TournamentMatchDraft(nullptr) {} + ~CDataGCCStrike15_v2_TournamentMatchDraft() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentMatchDraft(const CDataGCCStrike15_v2_TournamentMatchDraft& from); + CDataGCCStrike15_v2_TournamentMatchDraft(CDataGCCStrike15_v2_TournamentMatchDraft&& from) noexcept + : CDataGCCStrike15_v2_TournamentMatchDraft() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentMatchDraft& operator=(const CDataGCCStrike15_v2_TournamentMatchDraft& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentMatchDraft& operator=(CDataGCCStrike15_v2_TournamentMatchDraft&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentMatchDraft& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentMatchDraft* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CDataGCCStrike15_v2_TournamentMatchDraft& a, CDataGCCStrike15_v2_TournamentMatchDraft& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentMatchDraft* 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(CDataGCCStrike15_v2_TournamentMatchDraft* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentMatchDraft* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentMatchDraft& from) { + CDataGCCStrike15_v2_TournamentMatchDraft::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(CDataGCCStrike15_v2_TournamentMatchDraft* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentMatchDraft"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentMatchDraft(::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 ---------------------------------------------------- + + typedef CDataGCCStrike15_v2_TournamentMatchDraft_Entry Entry; + + // accessors ------------------------------------------------------- + + enum : int { + kDraftsFieldNumber = 10, + kVoteMapid0FieldNumber = 11, + kVoteMapid1FieldNumber = 12, + kVoteMapid2FieldNumber = 13, + kVoteMapid3FieldNumber = 14, + kVoteMapid4FieldNumber = 15, + kVoteMapid5FieldNumber = 16, + kVoteStartingSideFieldNumber = 17, + kEventIdFieldNumber = 1, + kEventStageIdFieldNumber = 2, + kTeamId0FieldNumber = 3, + kTeamId1FieldNumber = 4, + kMapsCountFieldNumber = 5, + kMapsCurrentFieldNumber = 6, + kTeamIdStartFieldNumber = 7, + kTeamIdVeto1FieldNumber = 8, + kTeamIdPicknFieldNumber = 9, + kVotePhaseFieldNumber = 18, + kVotePhaseStartFieldNumber = 19, + kVotePhaseLengthFieldNumber = 20, + }; + // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; + int drafts_size() const; + private: + int _internal_drafts_size() const; + public: + void clear_drafts(); + ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* mutable_drafts(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >* + mutable_drafts(); + private: + const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& _internal_drafts(int index) const; + ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* _internal_add_drafts(); + public: + const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& drafts(int index) const; + ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* add_drafts(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >& + drafts() const; + + // repeated int32 vote_mapid_0 = 11; + int vote_mapid_0_size() const; + private: + int _internal_vote_mapid_0_size() const; + public: + void clear_vote_mapid_0(); + private: + int32_t _internal_vote_mapid_0(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_0() const; + void _internal_add_vote_mapid_0(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_0(); + public: + int32_t vote_mapid_0(int index) const; + void set_vote_mapid_0(int index, int32_t value); + void add_vote_mapid_0(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_0() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_0(); + + // repeated int32 vote_mapid_1 = 12; + int vote_mapid_1_size() const; + private: + int _internal_vote_mapid_1_size() const; + public: + void clear_vote_mapid_1(); + private: + int32_t _internal_vote_mapid_1(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_1() const; + void _internal_add_vote_mapid_1(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_1(); + public: + int32_t vote_mapid_1(int index) const; + void set_vote_mapid_1(int index, int32_t value); + void add_vote_mapid_1(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_1() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_1(); + + // repeated int32 vote_mapid_2 = 13; + int vote_mapid_2_size() const; + private: + int _internal_vote_mapid_2_size() const; + public: + void clear_vote_mapid_2(); + private: + int32_t _internal_vote_mapid_2(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_2() const; + void _internal_add_vote_mapid_2(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_2(); + public: + int32_t vote_mapid_2(int index) const; + void set_vote_mapid_2(int index, int32_t value); + void add_vote_mapid_2(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_2() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_2(); + + // repeated int32 vote_mapid_3 = 14; + int vote_mapid_3_size() const; + private: + int _internal_vote_mapid_3_size() const; + public: + void clear_vote_mapid_3(); + private: + int32_t _internal_vote_mapid_3(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_3() const; + void _internal_add_vote_mapid_3(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_3(); + public: + int32_t vote_mapid_3(int index) const; + void set_vote_mapid_3(int index, int32_t value); + void add_vote_mapid_3(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_3() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_3(); + + // repeated int32 vote_mapid_4 = 15; + int vote_mapid_4_size() const; + private: + int _internal_vote_mapid_4_size() const; + public: + void clear_vote_mapid_4(); + private: + int32_t _internal_vote_mapid_4(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_4() const; + void _internal_add_vote_mapid_4(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_4(); + public: + int32_t vote_mapid_4(int index) const; + void set_vote_mapid_4(int index, int32_t value); + void add_vote_mapid_4(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_4() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_4(); + + // repeated int32 vote_mapid_5 = 16; + int vote_mapid_5_size() const; + private: + int _internal_vote_mapid_5_size() const; + public: + void clear_vote_mapid_5(); + private: + int32_t _internal_vote_mapid_5(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_mapid_5() const; + void _internal_add_vote_mapid_5(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_mapid_5(); + public: + int32_t vote_mapid_5(int index) const; + void set_vote_mapid_5(int index, int32_t value); + void add_vote_mapid_5(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_mapid_5() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_mapid_5(); + + // repeated int32 vote_starting_side = 17; + int vote_starting_side_size() const; + private: + int _internal_vote_starting_side_size() const; + public: + void clear_vote_starting_side(); + private: + int32_t _internal_vote_starting_side(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_vote_starting_side() const; + void _internal_add_vote_starting_side(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_vote_starting_side(); + public: + int32_t vote_starting_side(int index) const; + void set_vote_starting_side(int index, int32_t value); + void add_vote_starting_side(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + vote_starting_side() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_vote_starting_side(); + + // optional int32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + int32_t event_id() const; + void set_event_id(int32_t value); + private: + int32_t _internal_event_id() const; + void _internal_set_event_id(int32_t value); + public: + + // optional int32 event_stage_id = 2; + bool has_event_stage_id() const; + private: + bool _internal_has_event_stage_id() const; + public: + void clear_event_stage_id(); + int32_t event_stage_id() const; + void set_event_stage_id(int32_t value); + private: + int32_t _internal_event_stage_id() const; + void _internal_set_event_stage_id(int32_t value); + public: + + // optional int32 team_id_0 = 3; + bool has_team_id_0() const; + private: + bool _internal_has_team_id_0() const; + public: + void clear_team_id_0(); + int32_t team_id_0() const; + void set_team_id_0(int32_t value); + private: + int32_t _internal_team_id_0() const; + void _internal_set_team_id_0(int32_t value); + public: + + // optional int32 team_id_1 = 4; + bool has_team_id_1() const; + private: + bool _internal_has_team_id_1() const; + public: + void clear_team_id_1(); + int32_t team_id_1() const; + void set_team_id_1(int32_t value); + private: + int32_t _internal_team_id_1() const; + void _internal_set_team_id_1(int32_t value); + public: + + // optional int32 maps_count = 5; + bool has_maps_count() const; + private: + bool _internal_has_maps_count() const; + public: + void clear_maps_count(); + int32_t maps_count() const; + void set_maps_count(int32_t value); + private: + int32_t _internal_maps_count() const; + void _internal_set_maps_count(int32_t value); + public: + + // optional int32 maps_current = 6; + bool has_maps_current() const; + private: + bool _internal_has_maps_current() const; + public: + void clear_maps_current(); + int32_t maps_current() const; + void set_maps_current(int32_t value); + private: + int32_t _internal_maps_current() const; + void _internal_set_maps_current(int32_t value); + public: + + // optional int32 team_id_start = 7; + bool has_team_id_start() const; + private: + bool _internal_has_team_id_start() const; + public: + void clear_team_id_start(); + int32_t team_id_start() const; + void set_team_id_start(int32_t value); + private: + int32_t _internal_team_id_start() const; + void _internal_set_team_id_start(int32_t value); + public: + + // optional int32 team_id_veto1 = 8; + bool has_team_id_veto1() const; + private: + bool _internal_has_team_id_veto1() const; + public: + void clear_team_id_veto1(); + int32_t team_id_veto1() const; + void set_team_id_veto1(int32_t value); + private: + int32_t _internal_team_id_veto1() const; + void _internal_set_team_id_veto1(int32_t value); + public: + + // optional int32 team_id_pickn = 9; + bool has_team_id_pickn() const; + private: + bool _internal_has_team_id_pickn() const; + public: + void clear_team_id_pickn(); + int32_t team_id_pickn() const; + void set_team_id_pickn(int32_t value); + private: + int32_t _internal_team_id_pickn() const; + void _internal_set_team_id_pickn(int32_t value); + public: + + // optional int32 vote_phase = 18; + bool has_vote_phase() const; + private: + bool _internal_has_vote_phase() const; + public: + void clear_vote_phase(); + int32_t vote_phase() const; + void set_vote_phase(int32_t value); + private: + int32_t _internal_vote_phase() const; + void _internal_set_vote_phase(int32_t value); + public: + + // optional float vote_phase_start = 19; + bool has_vote_phase_start() const; + private: + bool _internal_has_vote_phase_start() const; + public: + void clear_vote_phase_start(); + float vote_phase_start() const; + void set_vote_phase_start(float value); + private: + float _internal_vote_phase_start() const; + void _internal_set_vote_phase_start(float value); + public: + + // optional float vote_phase_length = 20; + bool has_vote_phase_length() const; + private: + bool _internal_has_vote_phase_length() const; + public: + void clear_vote_phase_length(); + float vote_phase_length() const; + void set_vote_phase_length(float value); + private: + float _internal_vote_phase_length() const; + void _internal_set_vote_phase_length(float value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentMatchDraft) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry > drafts_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_0_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_1_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_2_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_3_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_4_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_5_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_starting_side_; + int32_t event_id_; + int32_t event_stage_id_; + int32_t team_id_0_; + int32_t team_id_1_; + int32_t maps_count_; + int32_t maps_current_; + int32_t team_id_start_; + int32_t team_id_veto1_; + int32_t team_id_pickn_; + int32_t vote_phase_; + float vote_phase_start_; + float vote_phase_length_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CPreMatchInfoData_TeamStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPreMatchInfoData.TeamStats) */ { + public: + inline CPreMatchInfoData_TeamStats() : CPreMatchInfoData_TeamStats(nullptr) {} + ~CPreMatchInfoData_TeamStats() override; + explicit PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPreMatchInfoData_TeamStats(const CPreMatchInfoData_TeamStats& from); + CPreMatchInfoData_TeamStats(CPreMatchInfoData_TeamStats&& from) noexcept + : CPreMatchInfoData_TeamStats() { + *this = ::std::move(from); + } + + inline CPreMatchInfoData_TeamStats& operator=(const CPreMatchInfoData_TeamStats& from) { + CopyFrom(from); + return *this; + } + inline CPreMatchInfoData_TeamStats& operator=(CPreMatchInfoData_TeamStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPreMatchInfoData_TeamStats& default_instance() { + return *internal_default_instance(); + } + static inline const CPreMatchInfoData_TeamStats* internal_default_instance() { + return reinterpret_cast( + &_CPreMatchInfoData_TeamStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CPreMatchInfoData_TeamStats& a, CPreMatchInfoData_TeamStats& b) { + a.Swap(&b); + } + inline void Swap(CPreMatchInfoData_TeamStats* 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(CPreMatchInfoData_TeamStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPreMatchInfoData_TeamStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPreMatchInfoData_TeamStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPreMatchInfoData_TeamStats& from) { + CPreMatchInfoData_TeamStats::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(CPreMatchInfoData_TeamStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPreMatchInfoData.TeamStats"; + } + protected: + explicit CPreMatchInfoData_TeamStats(::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 { + kMatchInfoTeamsFieldNumber = 3, + kMatchInfoTxtFieldNumber = 2, + kMatchInfoIdxtxtFieldNumber = 1, + }; + // repeated string match_info_teams = 3; + int match_info_teams_size() const; + private: + int _internal_match_info_teams_size() const; + public: + void clear_match_info_teams(); + const std::string& match_info_teams(int index) const; + std::string* mutable_match_info_teams(int index); + void set_match_info_teams(int index, const std::string& value); + void set_match_info_teams(int index, std::string&& value); + void set_match_info_teams(int index, const char* value); + void set_match_info_teams(int index, const char* value, size_t size); + std::string* add_match_info_teams(); + void add_match_info_teams(const std::string& value); + void add_match_info_teams(std::string&& value); + void add_match_info_teams(const char* value); + void add_match_info_teams(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& match_info_teams() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_match_info_teams(); + private: + const std::string& _internal_match_info_teams(int index) const; + std::string* _internal_add_match_info_teams(); + public: + + // optional string match_info_txt = 2; + bool has_match_info_txt() const; + private: + bool _internal_has_match_info_txt() const; + public: + void clear_match_info_txt(); + const std::string& match_info_txt() const; + template + void set_match_info_txt(ArgT0&& arg0, ArgT... args); + std::string* mutable_match_info_txt(); + PROTOBUF_NODISCARD std::string* release_match_info_txt(); + void set_allocated_match_info_txt(std::string* match_info_txt); + private: + const std::string& _internal_match_info_txt() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_match_info_txt(const std::string& value); + std::string* _internal_mutable_match_info_txt(); + public: + + // optional int32 match_info_idxtxt = 1; + bool has_match_info_idxtxt() const; + private: + bool _internal_has_match_info_idxtxt() const; + public: + void clear_match_info_idxtxt(); + int32_t match_info_idxtxt() const; + void set_match_info_idxtxt(int32_t value); + private: + int32_t _internal_match_info_idxtxt() const; + void _internal_set_match_info_idxtxt(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPreMatchInfoData.TeamStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField match_info_teams_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr match_info_txt_; + int32_t match_info_idxtxt_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CPreMatchInfoData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPreMatchInfoData) */ { + public: + inline CPreMatchInfoData() : CPreMatchInfoData(nullptr) {} + ~CPreMatchInfoData() override; + explicit PROTOBUF_CONSTEXPR CPreMatchInfoData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPreMatchInfoData(const CPreMatchInfoData& from); + CPreMatchInfoData(CPreMatchInfoData&& from) noexcept + : CPreMatchInfoData() { + *this = ::std::move(from); + } + + inline CPreMatchInfoData& operator=(const CPreMatchInfoData& from) { + CopyFrom(from); + return *this; + } + inline CPreMatchInfoData& operator=(CPreMatchInfoData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPreMatchInfoData& default_instance() { + return *internal_default_instance(); + } + static inline const CPreMatchInfoData* internal_default_instance() { + return reinterpret_cast( + &_CPreMatchInfoData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CPreMatchInfoData& a, CPreMatchInfoData& b) { + a.Swap(&b); + } + inline void Swap(CPreMatchInfoData* 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(CPreMatchInfoData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPreMatchInfoData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPreMatchInfoData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPreMatchInfoData& from) { + CPreMatchInfoData::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(CPreMatchInfoData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPreMatchInfoData"; + } + protected: + explicit CPreMatchInfoData(::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 ---------------------------------------------------- + + typedef CPreMatchInfoData_TeamStats TeamStats; + + // accessors ------------------------------------------------------- + + enum : int { + kStatsFieldNumber = 5, + kWinsFieldNumber = 6, + kDraftFieldNumber = 4, + kPredictionsPctFieldNumber = 1, + }; + // repeated .CPreMatchInfoData.TeamStats stats = 5; + int stats_size() const; + private: + int _internal_stats_size() const; + public: + void clear_stats(); + ::CPreMatchInfoData_TeamStats* mutable_stats(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >* + mutable_stats(); + private: + const ::CPreMatchInfoData_TeamStats& _internal_stats(int index) const; + ::CPreMatchInfoData_TeamStats* _internal_add_stats(); + public: + const ::CPreMatchInfoData_TeamStats& stats(int index) const; + ::CPreMatchInfoData_TeamStats* add_stats(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >& + stats() const; + + // repeated int32 wins = 6; + int wins_size() const; + private: + int _internal_wins_size() const; + public: + void clear_wins(); + private: + int32_t _internal_wins(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_wins() const; + void _internal_add_wins(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_wins(); + public: + int32_t wins(int index) const; + void set_wins(int index, int32_t value); + void add_wins(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + wins() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_wins(); + + // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; + bool has_draft() const; + private: + bool _internal_has_draft() const; + public: + void clear_draft(); + const ::CDataGCCStrike15_v2_TournamentMatchDraft& draft() const; + PROTOBUF_NODISCARD ::CDataGCCStrike15_v2_TournamentMatchDraft* release_draft(); + ::CDataGCCStrike15_v2_TournamentMatchDraft* mutable_draft(); + void set_allocated_draft(::CDataGCCStrike15_v2_TournamentMatchDraft* draft); + private: + const ::CDataGCCStrike15_v2_TournamentMatchDraft& _internal_draft() const; + ::CDataGCCStrike15_v2_TournamentMatchDraft* _internal_mutable_draft(); + public: + void unsafe_arena_set_allocated_draft( + ::CDataGCCStrike15_v2_TournamentMatchDraft* draft); + ::CDataGCCStrike15_v2_TournamentMatchDraft* unsafe_arena_release_draft(); + + // optional int32 predictions_pct = 1; + bool has_predictions_pct() const; + private: + bool _internal_has_predictions_pct() const; + public: + void clear_predictions_pct(); + int32_t predictions_pct() const; + void set_predictions_pct(int32_t value); + private: + int32_t _internal_predictions_pct() const; + void _internal_set_predictions_pct(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPreMatchInfoData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats > stats_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > wins_; + ::CDataGCCStrike15_v2_TournamentMatchDraft* draft_; + int32_t predictions_pct_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() : CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from); + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& a, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* 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(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::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(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::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 { + kAccountIdsFieldNumber = 1, + kRankingsFieldNumber = 5, + kPartyIdsFieldNumber = 8, + kWhitelistFieldNumber = 9, + kTournamentTeamsFieldNumber = 12, + kTournamentCastersAccountIdsFieldNumber = 13, + kOpVarValuesFieldNumber = 19, + kTeammateColorsFieldNumber = 21, + kTournamentEventFieldNumber = 11, + kPreMatchDataFieldNumber = 15, + kMatchIdFieldNumber = 3, + kGameTypeFieldNumber = 2, + kServerVersionFieldNumber = 4, + kEncryptionKeyFieldNumber = 6, + kEncryptionKeyPubFieldNumber = 7, + kTvMasterSteamidFieldNumber = 10, + kTvRelaySteamidFieldNumber = 14, + kTvControlFieldNumber = 17, + kFlagsFieldNumber = 18, + kSocacheControlFieldNumber = 20, + kMatchIdAdditionalFieldNumber = 22, + }; + // repeated uint32 account_ids = 1; + int account_ids_size() const; + private: + int _internal_account_ids_size() const; + public: + void clear_account_ids(); + private: + uint32_t _internal_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_account_ids() const; + void _internal_add_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_account_ids(); + public: + uint32_t account_ids(int index) const; + void set_account_ids(int index, uint32_t value); + void add_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_account_ids(); + + // repeated .PlayerRankingInfo rankings = 5; + int rankings_size() const; + private: + int _internal_rankings_size() const; + public: + void clear_rankings(); + ::PlayerRankingInfo* mutable_rankings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* + mutable_rankings(); + private: + const ::PlayerRankingInfo& _internal_rankings(int index) const; + ::PlayerRankingInfo* _internal_add_rankings(); + public: + const ::PlayerRankingInfo& rankings(int index) const; + ::PlayerRankingInfo* add_rankings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& + rankings() const; + + // repeated uint32 party_ids = 8; + int party_ids_size() const; + private: + int _internal_party_ids_size() const; + public: + void clear_party_ids(); + private: + uint32_t _internal_party_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_party_ids() const; + void _internal_add_party_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_party_ids(); + public: + uint32_t party_ids(int index) const; + void set_party_ids(int index, uint32_t value); + void add_party_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + party_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_party_ids(); + + // repeated .IpAddressMask whitelist = 9; + int whitelist_size() const; + private: + int _internal_whitelist_size() const; + public: + void clear_whitelist(); + ::IpAddressMask* mutable_whitelist(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >* + mutable_whitelist(); + private: + const ::IpAddressMask& _internal_whitelist(int index) const; + ::IpAddressMask* _internal_add_whitelist(); + public: + const ::IpAddressMask& whitelist(int index) const; + ::IpAddressMask* add_whitelist(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >& + whitelist() const; + + // repeated .TournamentTeam tournament_teams = 12; + int tournament_teams_size() const; + private: + int _internal_tournament_teams_size() const; + public: + void clear_tournament_teams(); + ::TournamentTeam* mutable_tournament_teams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* + mutable_tournament_teams(); + private: + const ::TournamentTeam& _internal_tournament_teams(int index) const; + ::TournamentTeam* _internal_add_tournament_teams(); + public: + const ::TournamentTeam& tournament_teams(int index) const; + ::TournamentTeam* add_tournament_teams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& + tournament_teams() const; + + // repeated uint32 tournament_casters_account_ids = 13; + int tournament_casters_account_ids_size() const; + private: + int _internal_tournament_casters_account_ids_size() const; + public: + void clear_tournament_casters_account_ids(); + private: + uint32_t _internal_tournament_casters_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_tournament_casters_account_ids() const; + void _internal_add_tournament_casters_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_tournament_casters_account_ids(); + public: + uint32_t tournament_casters_account_ids(int index) const; + void set_tournament_casters_account_ids(int index, uint32_t value); + void add_tournament_casters_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + tournament_casters_account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_tournament_casters_account_ids(); + + // repeated .OperationalVarValue op_var_values = 19; + int op_var_values_size() const; + private: + int _internal_op_var_values_size() const; + public: + void clear_op_var_values(); + ::OperationalVarValue* mutable_op_var_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >* + mutable_op_var_values(); + private: + const ::OperationalVarValue& _internal_op_var_values(int index) const; + ::OperationalVarValue* _internal_add_op_var_values(); + public: + const ::OperationalVarValue& op_var_values(int index) const; + ::OperationalVarValue* add_op_var_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >& + op_var_values() const; + + // repeated int32 teammate_colors = 21; + int teammate_colors_size() const; + private: + int _internal_teammate_colors_size() const; + public: + void clear_teammate_colors(); + private: + int32_t _internal_teammate_colors(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_teammate_colors() const; + void _internal_add_teammate_colors(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_teammate_colors(); + public: + int32_t teammate_colors(int index) const; + void set_teammate_colors(int index, int32_t value); + void add_teammate_colors(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + teammate_colors() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_teammate_colors(); + + // optional .TournamentEvent tournament_event = 11; + bool has_tournament_event() const; + private: + bool _internal_has_tournament_event() const; + public: + void clear_tournament_event(); + const ::TournamentEvent& tournament_event() const; + PROTOBUF_NODISCARD ::TournamentEvent* release_tournament_event(); + ::TournamentEvent* mutable_tournament_event(); + void set_allocated_tournament_event(::TournamentEvent* tournament_event); + private: + const ::TournamentEvent& _internal_tournament_event() const; + ::TournamentEvent* _internal_mutable_tournament_event(); + public: + void unsafe_arena_set_allocated_tournament_event( + ::TournamentEvent* tournament_event); + ::TournamentEvent* unsafe_arena_release_tournament_event(); + + // optional .CPreMatchInfoData pre_match_data = 15; + bool has_pre_match_data() const; + private: + bool _internal_has_pre_match_data() const; + public: + void clear_pre_match_data(); + const ::CPreMatchInfoData& pre_match_data() const; + PROTOBUF_NODISCARD ::CPreMatchInfoData* release_pre_match_data(); + ::CPreMatchInfoData* mutable_pre_match_data(); + void set_allocated_pre_match_data(::CPreMatchInfoData* pre_match_data); + private: + const ::CPreMatchInfoData& _internal_pre_match_data() const; + ::CPreMatchInfoData* _internal_mutable_pre_match_data(); + public: + void unsafe_arena_set_allocated_pre_match_data( + ::CPreMatchInfoData* pre_match_data); + ::CPreMatchInfoData* unsafe_arena_release_pre_match_data(); + + // optional uint64 match_id = 3; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 game_type = 2; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // optional uint32 server_version = 4; + bool has_server_version() const; + private: + bool _internal_has_server_version() const; + public: + void clear_server_version(); + uint32_t server_version() const; + void set_server_version(uint32_t value); + private: + uint32_t _internal_server_version() const; + void _internal_set_server_version(uint32_t value); + public: + + // optional uint64 encryption_key = 6; + bool has_encryption_key() const; + private: + bool _internal_has_encryption_key() const; + public: + void clear_encryption_key(); + uint64_t encryption_key() const; + void set_encryption_key(uint64_t value); + private: + uint64_t _internal_encryption_key() const; + void _internal_set_encryption_key(uint64_t value); + public: + + // optional uint64 encryption_key_pub = 7; + bool has_encryption_key_pub() const; + private: + bool _internal_has_encryption_key_pub() const; + public: + void clear_encryption_key_pub(); + uint64_t encryption_key_pub() const; + void set_encryption_key_pub(uint64_t value); + private: + uint64_t _internal_encryption_key_pub() const; + void _internal_set_encryption_key_pub(uint64_t value); + public: + + // optional uint64 tv_master_steamid = 10; + bool has_tv_master_steamid() const; + private: + bool _internal_has_tv_master_steamid() const; + public: + void clear_tv_master_steamid(); + uint64_t tv_master_steamid() const; + void set_tv_master_steamid(uint64_t value); + private: + uint64_t _internal_tv_master_steamid() const; + void _internal_set_tv_master_steamid(uint64_t value); + public: + + // optional uint64 tv_relay_steamid = 14; + bool has_tv_relay_steamid() const; + private: + bool _internal_has_tv_relay_steamid() const; + public: + void clear_tv_relay_steamid(); + uint64_t tv_relay_steamid() const; + void set_tv_relay_steamid(uint64_t value); + private: + uint64_t _internal_tv_relay_steamid() const; + void _internal_set_tv_relay_steamid(uint64_t value); + public: + + // optional uint32 tv_control = 17; + bool has_tv_control() const; + private: + bool _internal_has_tv_control() const; + public: + void clear_tv_control(); + uint32_t tv_control() const; + void set_tv_control(uint32_t value); + private: + uint32_t _internal_tv_control() const; + void _internal_set_tv_control(uint32_t value); + public: + + // optional uint32 flags = 18; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 socache_control = 20; + bool has_socache_control() const; + private: + bool _internal_has_socache_control() const; + public: + void clear_socache_control(); + uint32_t socache_control() const; + void set_socache_control(uint32_t value); + private: + uint32_t _internal_socache_control() const; + void _internal_set_socache_control(uint32_t value); + public: + + // optional uint32 match_id_additional = 22; + bool has_match_id_additional() const; + private: + bool _internal_has_match_id_additional() const; + public: + void clear_match_id_additional(); + uint32_t match_id_additional() const; + void set_match_id_additional(uint32_t value); + private: + uint32_t _internal_match_id_additional() const; + void _internal_set_match_id_additional(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > party_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask > whitelist_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > tournament_teams_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > tournament_casters_account_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue > op_var_values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > teammate_colors_; + ::TournamentEvent* tournament_event_; + ::CPreMatchInfoData* pre_match_data_; + uint64_t match_id_; + uint32_t game_type_; + uint32_t server_version_; + uint64_t encryption_key_; + uint64_t encryption_key_pub_; + uint64_t tv_master_steamid_; + uint64_t tv_relay_steamid_; + uint32_t tv_control_; + uint32_t flags_; + uint32_t socache_control_; + uint32_t match_id_additional_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() : CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from); + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& operator=(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& operator=(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& a, CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* 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(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { + CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::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(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::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 { + kRewardPlayerAccountsFieldNumber = 7, + kIdlePlayerAccountsFieldNumber = 8, + kMapFieldNumber = 3, + kTournamentTagFieldNumber = 13, + kReservationFieldNumber = 2, + kTvInfoFieldNumber = 6, + kReservationidFieldNumber = 1, + kGcReservationSentFieldNumber = 4, + kServerVersionFieldNumber = 5, + kRewardItemAttrDefIdxFieldNumber = 9, + kRewardItemAttrValueFieldNumber = 10, + kRewardItemAttrRewardIdxFieldNumber = 11, + kRewardDropListFieldNumber = 12, + kLegacySteamdatagramPortFieldNumber = 14, + kTestTokenFieldNumber = 15, + kFlagsFieldNumber = 16, + kSteamdatagramRoutingFieldNumber = 17, + kSystemLoadFieldNumber = 18, + kCpusOnlineFieldNumber = 19, + }; + // repeated uint32 reward_player_accounts = 7; + int reward_player_accounts_size() const; + private: + int _internal_reward_player_accounts_size() const; + public: + void clear_reward_player_accounts(); + private: + uint32_t _internal_reward_player_accounts(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_reward_player_accounts() const; + void _internal_add_reward_player_accounts(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_reward_player_accounts(); + public: + uint32_t reward_player_accounts(int index) const; + void set_reward_player_accounts(int index, uint32_t value); + void add_reward_player_accounts(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + reward_player_accounts() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_reward_player_accounts(); + + // repeated uint32 idle_player_accounts = 8; + int idle_player_accounts_size() const; + private: + int _internal_idle_player_accounts_size() const; + public: + void clear_idle_player_accounts(); + private: + uint32_t _internal_idle_player_accounts(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_idle_player_accounts() const; + void _internal_add_idle_player_accounts(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_idle_player_accounts(); + public: + uint32_t idle_player_accounts(int index) const; + void set_idle_player_accounts(int index, uint32_t value); + void add_idle_player_accounts(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + idle_player_accounts() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_idle_player_accounts(); + + // optional string map = 3; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + 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: + + // optional string tournament_tag = 13; + bool has_tournament_tag() const; + private: + bool _internal_has_tournament_tag() const; + public: + void clear_tournament_tag(); + const std::string& tournament_tag() const; + template + void set_tournament_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tournament_tag(); + PROTOBUF_NODISCARD std::string* release_tournament_tag(); + void set_allocated_tournament_tag(std::string* tournament_tag); + private: + const std::string& _internal_tournament_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tournament_tag(const std::string& value); + std::string* _internal_mutable_tournament_tag(); + public: + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + bool has_reservation() const; + private: + bool _internal_has_reservation() const; + public: + void clear_reservation(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); + void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); + public: + void unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); + + // optional .ServerHltvInfo tv_info = 6; + bool has_tv_info() const; + private: + bool _internal_has_tv_info() const; + public: + void clear_tv_info(); + const ::ServerHltvInfo& tv_info() const; + PROTOBUF_NODISCARD ::ServerHltvInfo* release_tv_info(); + ::ServerHltvInfo* mutable_tv_info(); + void set_allocated_tv_info(::ServerHltvInfo* tv_info); + private: + const ::ServerHltvInfo& _internal_tv_info() const; + ::ServerHltvInfo* _internal_mutable_tv_info(); + public: + void unsafe_arena_set_allocated_tv_info( + ::ServerHltvInfo* tv_info); + ::ServerHltvInfo* unsafe_arena_release_tv_info(); + + // optional uint64 reservationid = 1; + bool has_reservationid() const; + private: + bool _internal_has_reservationid() const; + public: + void clear_reservationid(); + uint64_t reservationid() const; + void set_reservationid(uint64_t value); + private: + uint64_t _internal_reservationid() const; + void _internal_set_reservationid(uint64_t value); + public: + + // optional uint64 gc_reservation_sent = 4; + bool has_gc_reservation_sent() const; + private: + bool _internal_has_gc_reservation_sent() const; + public: + void clear_gc_reservation_sent(); + uint64_t gc_reservation_sent() const; + void set_gc_reservation_sent(uint64_t value); + private: + uint64_t _internal_gc_reservation_sent() const; + void _internal_set_gc_reservation_sent(uint64_t value); + public: + + // optional uint32 server_version = 5; + bool has_server_version() const; + private: + bool _internal_has_server_version() const; + public: + void clear_server_version(); + uint32_t server_version() const; + void set_server_version(uint32_t value); + private: + uint32_t _internal_server_version() const; + void _internal_set_server_version(uint32_t value); + public: + + // optional uint32 reward_item_attr_def_idx = 9; + bool has_reward_item_attr_def_idx() const; + private: + bool _internal_has_reward_item_attr_def_idx() const; + public: + void clear_reward_item_attr_def_idx(); + uint32_t reward_item_attr_def_idx() const; + void set_reward_item_attr_def_idx(uint32_t value); + private: + uint32_t _internal_reward_item_attr_def_idx() const; + void _internal_set_reward_item_attr_def_idx(uint32_t value); + public: + + // optional uint32 reward_item_attr_value = 10; + bool has_reward_item_attr_value() const; + private: + bool _internal_has_reward_item_attr_value() const; + public: + void clear_reward_item_attr_value(); + uint32_t reward_item_attr_value() const; + void set_reward_item_attr_value(uint32_t value); + private: + uint32_t _internal_reward_item_attr_value() const; + void _internal_set_reward_item_attr_value(uint32_t value); + public: + + // optional uint32 reward_item_attr_reward_idx = 11; + bool has_reward_item_attr_reward_idx() const; + private: + bool _internal_has_reward_item_attr_reward_idx() const; + public: + void clear_reward_item_attr_reward_idx(); + uint32_t reward_item_attr_reward_idx() const; + void set_reward_item_attr_reward_idx(uint32_t value); + private: + uint32_t _internal_reward_item_attr_reward_idx() const; + void _internal_set_reward_item_attr_reward_idx(uint32_t value); + public: + + // optional uint32 reward_drop_list = 12; + bool has_reward_drop_list() const; + private: + bool _internal_has_reward_drop_list() const; + public: + void clear_reward_drop_list(); + uint32_t reward_drop_list() const; + void set_reward_drop_list(uint32_t value); + private: + uint32_t _internal_reward_drop_list() const; + void _internal_set_reward_drop_list(uint32_t value); + public: + + // optional uint32 legacy_steamdatagram_port = 14; + bool has_legacy_steamdatagram_port() const; + private: + bool _internal_has_legacy_steamdatagram_port() const; + public: + void clear_legacy_steamdatagram_port(); + uint32_t legacy_steamdatagram_port() const; + void set_legacy_steamdatagram_port(uint32_t value); + private: + uint32_t _internal_legacy_steamdatagram_port() const; + void _internal_set_legacy_steamdatagram_port(uint32_t value); + public: + + // optional fixed32 test_token = 15; + bool has_test_token() const; + private: + bool _internal_has_test_token() const; + public: + void clear_test_token(); + uint32_t test_token() const; + void set_test_token(uint32_t value); + private: + uint32_t _internal_test_token() const; + void _internal_set_test_token(uint32_t value); + public: + + // optional uint32 flags = 16; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 steamdatagram_routing = 17; + bool has_steamdatagram_routing() const; + private: + bool _internal_has_steamdatagram_routing() const; + public: + void clear_steamdatagram_routing(); + uint32_t steamdatagram_routing() const; + void set_steamdatagram_routing(uint32_t value); + private: + uint32_t _internal_steamdatagram_routing() const; + void _internal_set_steamdatagram_routing(uint32_t value); + public: + + // optional uint32 system_load = 18; + bool has_system_load() const; + private: + bool _internal_has_system_load() const; + public: + void clear_system_load(); + uint32_t system_load() const; + void set_system_load(uint32_t value); + private: + uint32_t _internal_system_load() const; + void _internal_set_system_load(uint32_t value); + public: + + // optional uint32 cpus_online = 19; + bool has_cpus_online() const; + private: + bool _internal_has_cpus_online() const; + public: + void clear_cpus_online(); + uint32_t cpus_online() const; + void set_cpus_online(uint32_t value); + private: + uint32_t _internal_cpus_online() const; + void _internal_set_cpus_online(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > reward_player_accounts_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > idle_player_accounts_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tournament_tag_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; + ::ServerHltvInfo* tv_info_; + uint64_t reservationid_; + uint64_t gc_reservation_sent_; + uint32_t server_version_; + uint32_t reward_item_attr_def_idx_; + uint32_t reward_item_attr_value_; + uint32_t reward_item_attr_reward_idx_; + uint32_t reward_drop_list_; + uint32_t legacy_steamdatagram_port_; + uint32_t test_token_; + uint32_t flags_; + uint32_t steamdatagram_routing_; + uint32_t system_load_; + uint32_t cpus_online_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() : CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::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 { + kMapFieldNumber = 6, + kServerAddressFieldNumber = 7, + kReservationFieldNumber = 5, + kGsPingFieldNumber = 8, + kServeridFieldNumber = 1, + kDirectUdpIpFieldNumber = 2, + kDirectUdpPortFieldNumber = 3, + kReservationidFieldNumber = 4, + kGsLocationIdFieldNumber = 9, + }; + // optional string map = 6; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + 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: + + // optional string server_address = 7; + bool has_server_address() const; + private: + bool _internal_has_server_address() const; + public: + void clear_server_address(); + const std::string& server_address() const; + template + void set_server_address(ArgT0&& arg0, ArgT... args); + std::string* mutable_server_address(); + PROTOBUF_NODISCARD std::string* release_server_address(); + void set_allocated_server_address(std::string* server_address); + private: + const std::string& _internal_server_address() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_address(const std::string& value); + std::string* _internal_mutable_server_address(); + public: + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; + bool has_reservation() const; + private: + bool _internal_has_reservation() const; + public: + void clear_reservation(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); + void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); + public: + void unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); + + // optional .DataCenterPing gs_ping = 8; + bool has_gs_ping() const; + private: + bool _internal_has_gs_ping() const; + public: + void clear_gs_ping(); + const ::DataCenterPing& gs_ping() const; + PROTOBUF_NODISCARD ::DataCenterPing* release_gs_ping(); + ::DataCenterPing* mutable_gs_ping(); + void set_allocated_gs_ping(::DataCenterPing* gs_ping); + private: + const ::DataCenterPing& _internal_gs_ping() const; + ::DataCenterPing* _internal_mutable_gs_ping(); + public: + void unsafe_arena_set_allocated_gs_ping( + ::DataCenterPing* gs_ping); + ::DataCenterPing* unsafe_arena_release_gs_ping(); + + // optional uint64 serverid = 1; + bool has_serverid() const; + private: + bool _internal_has_serverid() const; + public: + void clear_serverid(); + uint64_t serverid() const; + void set_serverid(uint64_t value); + private: + uint64_t _internal_serverid() const; + void _internal_set_serverid(uint64_t value); + public: + + // optional uint32 direct_udp_ip = 2; + bool has_direct_udp_ip() const; + private: + bool _internal_has_direct_udp_ip() const; + public: + void clear_direct_udp_ip(); + uint32_t direct_udp_ip() const; + void set_direct_udp_ip(uint32_t value); + private: + uint32_t _internal_direct_udp_ip() const; + void _internal_set_direct_udp_ip(uint32_t value); + public: + + // optional uint32 direct_udp_port = 3; + bool has_direct_udp_port() const; + private: + bool _internal_has_direct_udp_port() const; + public: + void clear_direct_udp_port(); + uint32_t direct_udp_port() const; + void set_direct_udp_port(uint32_t value); + private: + uint32_t _internal_direct_udp_port() const; + void _internal_set_direct_udp_port(uint32_t value); + public: + + // optional uint64 reservationid = 4; + bool has_reservationid() const; + private: + bool _internal_has_reservationid() const; + public: + void clear_reservationid(); + uint64_t reservationid() const; + void set_reservationid(uint64_t value); + private: + uint64_t _internal_reservationid() const; + void _internal_set_reservationid(uint64_t value); + public: + + // optional uint32 gs_location_id = 9; + bool has_gs_location_id() const; + private: + bool _internal_has_gs_location_id() const; + public: + void clear_gs_location_id(); + uint32_t gs_location_id() const; + void set_gs_location_id(uint32_t value); + private: + uint32_t _internal_gs_location_id() const; + void _internal_set_gs_location_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_address_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; + ::DataCenterPing* gs_ping_; + uint64_t serverid_; + uint32_t direct_udp_ip_; + uint32_t direct_udp_port_; + uint64_t reservationid_; + uint32_t gs_location_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() : CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from); + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& operator=(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& operator=(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& a, CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* 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(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::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(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::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 { + kAccountMvpFieldNumber = 1, + }; + // optional uint32 account_mvp = 1; + bool has_account_mvp() const; + private: + bool _internal_has_account_mvp() const; + public: + void clear_account_mvp(); + uint32_t account_mvp() const; + void set_account_mvp(uint32_t value); + private: + uint32_t _internal_account_mvp() const; + void _internal_set_account_mvp(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_mvp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingServerRoundStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats() : CMsgGCCStrike15_v2_MatchmakingServerRoundStats(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingServerRoundStats(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from); + CMsgGCCStrike15_v2_MatchmakingServerRoundStats(CMsgGCCStrike15_v2_MatchmakingServerRoundStats&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingServerRoundStats() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats& operator=(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats& operator=(CMsgGCCStrike15_v2_MatchmakingServerRoundStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingServerRoundStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats& a, CMsgGCCStrike15_v2_MatchmakingServerRoundStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* 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(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingServerRoundStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { + CMsgGCCStrike15_v2_MatchmakingServerRoundStats::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(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingServerRoundStats"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo DropInfo; + + // accessors ------------------------------------------------------- + + enum : int { + kKillsFieldNumber = 5, + kAssistsFieldNumber = 6, + kDeathsFieldNumber = 7, + kScoresFieldNumber = 8, + kPingsFieldNumber = 9, + kTeamScoresFieldNumber = 12, + kEnemyKillsFieldNumber = 16, + kEnemyHeadshotsFieldNumber = 17, + kEnemy3KsFieldNumber = 18, + kEnemy4KsFieldNumber = 19, + kEnemy5KsFieldNumber = 20, + kMvpsFieldNumber = 21, + kEnemyKillsAggFieldNumber = 25, + kEnemy2KsFieldNumber = 28, + kPlayerSpawnedFieldNumber = 29, + kTeamSpawnCountFieldNumber = 30, + kMapFieldNumber = 3, + kReservationFieldNumber = 2, + kConfirmFieldNumber = 13, + kDropInfoFieldNumber = 26, + kReservationidFieldNumber = 1, + kRoundFieldNumber = 4, + kRoundResultFieldNumber = 10, + kMatchResultFieldNumber = 11, + kReservationStageFieldNumber = 14, + kMatchDurationFieldNumber = 15, + kSpectatorsCountFieldNumber = 22, + kSpectatorsCountTvFieldNumber = 23, + kSpectatorsCountLnkFieldNumber = 24, + kBSwitchedTeamsFieldNumber = 27, + kMaxRoundsFieldNumber = 31, + kMapIdFieldNumber = 32, + }; + // repeated int32 kills = 5; + int kills_size() const; + private: + int _internal_kills_size() const; + public: + void clear_kills(); + private: + int32_t _internal_kills(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_kills() const; + void _internal_add_kills(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_kills(); + public: + int32_t kills(int index) const; + void set_kills(int index, int32_t value); + void add_kills(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + kills() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_kills(); + + // repeated int32 assists = 6; + int assists_size() const; + private: + int _internal_assists_size() const; + public: + void clear_assists(); + private: + int32_t _internal_assists(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_assists() const; + void _internal_add_assists(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_assists(); + public: + int32_t assists(int index) const; + void set_assists(int index, int32_t value); + void add_assists(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + assists() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_assists(); + + // repeated int32 deaths = 7; + int deaths_size() const; + private: + int _internal_deaths_size() const; + public: + void clear_deaths(); + private: + int32_t _internal_deaths(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_deaths() const; + void _internal_add_deaths(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_deaths(); + public: + int32_t deaths(int index) const; + void set_deaths(int index, int32_t value); + void add_deaths(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + deaths() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_deaths(); + + // repeated int32 scores = 8; + int scores_size() const; + private: + int _internal_scores_size() const; + public: + void clear_scores(); + private: + int32_t _internal_scores(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_scores() const; + void _internal_add_scores(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_scores(); + public: + int32_t scores(int index) const; + void set_scores(int index, int32_t value); + void add_scores(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + scores() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_scores(); + + // repeated int32 pings = 9; + int pings_size() const; + private: + int _internal_pings_size() const; + public: + void clear_pings(); + private: + int32_t _internal_pings(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_pings() const; + void _internal_add_pings(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_pings(); + public: + int32_t pings(int index) const; + void set_pings(int index, int32_t value); + void add_pings(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + pings() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_pings(); + + // repeated int32 team_scores = 12; + int team_scores_size() const; + private: + int _internal_team_scores_size() const; + public: + void clear_team_scores(); + private: + int32_t _internal_team_scores(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_team_scores() const; + void _internal_add_team_scores(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_team_scores(); + public: + int32_t team_scores(int index) const; + void set_team_scores(int index, int32_t value); + void add_team_scores(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + team_scores() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_team_scores(); + + // repeated int32 enemy_kills = 16; + int enemy_kills_size() const; + private: + int _internal_enemy_kills_size() const; + public: + void clear_enemy_kills(); + private: + int32_t _internal_enemy_kills(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_kills() const; + void _internal_add_enemy_kills(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_kills(); + public: + int32_t enemy_kills(int index) const; + void set_enemy_kills(int index, int32_t value); + void add_enemy_kills(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_kills() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_kills(); + + // repeated int32 enemy_headshots = 17; + int enemy_headshots_size() const; + private: + int _internal_enemy_headshots_size() const; + public: + void clear_enemy_headshots(); + private: + int32_t _internal_enemy_headshots(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_headshots() const; + void _internal_add_enemy_headshots(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_headshots(); + public: + int32_t enemy_headshots(int index) const; + void set_enemy_headshots(int index, int32_t value); + void add_enemy_headshots(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_headshots() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_headshots(); + + // repeated int32 enemy_3ks = 18; + int enemy_3ks_size() const; + private: + int _internal_enemy_3ks_size() const; + public: + void clear_enemy_3ks(); + private: + int32_t _internal_enemy_3ks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_3ks() const; + void _internal_add_enemy_3ks(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_3ks(); + public: + int32_t enemy_3ks(int index) const; + void set_enemy_3ks(int index, int32_t value); + void add_enemy_3ks(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_3ks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_3ks(); + + // repeated int32 enemy_4ks = 19; + int enemy_4ks_size() const; + private: + int _internal_enemy_4ks_size() const; + public: + void clear_enemy_4ks(); + private: + int32_t _internal_enemy_4ks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_4ks() const; + void _internal_add_enemy_4ks(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_4ks(); + public: + int32_t enemy_4ks(int index) const; + void set_enemy_4ks(int index, int32_t value); + void add_enemy_4ks(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_4ks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_4ks(); + + // repeated int32 enemy_5ks = 20; + int enemy_5ks_size() const; + private: + int _internal_enemy_5ks_size() const; + public: + void clear_enemy_5ks(); + private: + int32_t _internal_enemy_5ks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_5ks() const; + void _internal_add_enemy_5ks(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_5ks(); + public: + int32_t enemy_5ks(int index) const; + void set_enemy_5ks(int index, int32_t value); + void add_enemy_5ks(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_5ks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_5ks(); + + // repeated int32 mvps = 21; + int mvps_size() const; + private: + int _internal_mvps_size() const; + public: + void clear_mvps(); + private: + int32_t _internal_mvps(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_mvps() const; + void _internal_add_mvps(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_mvps(); + public: + int32_t mvps(int index) const; + void set_mvps(int index, int32_t value); + void add_mvps(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + mvps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_mvps(); + + // repeated int32 enemy_kills_agg = 25; + int enemy_kills_agg_size() const; + private: + int _internal_enemy_kills_agg_size() const; + public: + void clear_enemy_kills_agg(); + private: + int32_t _internal_enemy_kills_agg(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_kills_agg() const; + void _internal_add_enemy_kills_agg(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_kills_agg(); + public: + int32_t enemy_kills_agg(int index) const; + void set_enemy_kills_agg(int index, int32_t value); + void add_enemy_kills_agg(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_kills_agg() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_kills_agg(); + + // repeated int32 enemy_2ks = 28; + int enemy_2ks_size() const; + private: + int _internal_enemy_2ks_size() const; + public: + void clear_enemy_2ks(); + private: + int32_t _internal_enemy_2ks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_enemy_2ks() const; + void _internal_add_enemy_2ks(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_enemy_2ks(); + public: + int32_t enemy_2ks(int index) const; + void set_enemy_2ks(int index, int32_t value); + void add_enemy_2ks(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + enemy_2ks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_enemy_2ks(); + + // repeated int32 player_spawned = 29; + int player_spawned_size() const; + private: + int _internal_player_spawned_size() const; + public: + void clear_player_spawned(); + private: + int32_t _internal_player_spawned(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_player_spawned() const; + void _internal_add_player_spawned(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_player_spawned(); + public: + int32_t player_spawned(int index) const; + void set_player_spawned(int index, int32_t value); + void add_player_spawned(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + player_spawned() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_player_spawned(); + + // repeated int32 team_spawn_count = 30; + int team_spawn_count_size() const; + private: + int _internal_team_spawn_count_size() const; + public: + void clear_team_spawn_count(); + private: + int32_t _internal_team_spawn_count(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_team_spawn_count() const; + void _internal_add_team_spawn_count(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_team_spawn_count(); + public: + int32_t team_spawn_count(int index) const; + void set_team_spawn_count(int index, int32_t value); + void add_team_spawn_count(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + team_spawn_count() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_team_spawn_count(); + + // optional string map = 3; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + 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: + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + bool has_reservation() const; + private: + bool _internal_has_reservation() const; + public: + void clear_reservation(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); + void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); + public: + void unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; + bool has_confirm() const; + private: + bool _internal_has_confirm() const; + public: + void clear_confirm(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& confirm() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* release_confirm(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* mutable_confirm(); + void set_allocated_confirm(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& _internal_confirm() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* _internal_mutable_confirm(); + public: + void unsafe_arena_set_allocated_confirm( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* unsafe_arena_release_confirm(); + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; + bool has_drop_info() const; + private: + bool _internal_has_drop_info() const; + public: + void clear_drop_info(); + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& drop_info() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* release_drop_info(); + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* mutable_drop_info(); + void set_allocated_drop_info(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info); + private: + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& _internal_drop_info() const; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* _internal_mutable_drop_info(); + public: + void unsafe_arena_set_allocated_drop_info( + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info); + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* unsafe_arena_release_drop_info(); + + // optional uint64 reservationid = 1; + bool has_reservationid() const; + private: + bool _internal_has_reservationid() const; + public: + void clear_reservationid(); + uint64_t reservationid() const; + void set_reservationid(uint64_t value); + private: + uint64_t _internal_reservationid() const; + void _internal_set_reservationid(uint64_t value); + public: + + // optional int32 round = 4; + bool has_round() const; + private: + bool _internal_has_round() const; + public: + void clear_round(); + int32_t round() const; + void set_round(int32_t value); + private: + int32_t _internal_round() const; + void _internal_set_round(int32_t value); + public: + + // optional int32 round_result = 10; + bool has_round_result() const; + private: + bool _internal_has_round_result() const; + public: + void clear_round_result(); + int32_t round_result() const; + void set_round_result(int32_t value); + private: + int32_t _internal_round_result() const; + void _internal_set_round_result(int32_t value); + public: + + // optional int32 match_result = 11; + bool has_match_result() const; + private: + bool _internal_has_match_result() const; + public: + void clear_match_result(); + int32_t match_result() const; + void set_match_result(int32_t value); + private: + int32_t _internal_match_result() const; + void _internal_set_match_result(int32_t value); + public: + + // optional int32 reservation_stage = 14; + bool has_reservation_stage() const; + private: + bool _internal_has_reservation_stage() const; + public: + void clear_reservation_stage(); + int32_t reservation_stage() const; + void set_reservation_stage(int32_t value); + private: + int32_t _internal_reservation_stage() const; + void _internal_set_reservation_stage(int32_t value); + public: + + // optional int32 match_duration = 15; + bool has_match_duration() const; + private: + bool _internal_has_match_duration() const; + public: + void clear_match_duration(); + int32_t match_duration() const; + void set_match_duration(int32_t value); + private: + int32_t _internal_match_duration() const; + void _internal_set_match_duration(int32_t value); + public: + + // optional uint32 spectators_count = 22; + bool has_spectators_count() const; + private: + bool _internal_has_spectators_count() const; + public: + void clear_spectators_count(); + uint32_t spectators_count() const; + void set_spectators_count(uint32_t value); + private: + uint32_t _internal_spectators_count() const; + void _internal_set_spectators_count(uint32_t value); + public: + + // optional uint32 spectators_count_tv = 23; + bool has_spectators_count_tv() const; + private: + bool _internal_has_spectators_count_tv() const; + public: + void clear_spectators_count_tv(); + uint32_t spectators_count_tv() const; + void set_spectators_count_tv(uint32_t value); + private: + uint32_t _internal_spectators_count_tv() const; + void _internal_set_spectators_count_tv(uint32_t value); + public: + + // optional uint32 spectators_count_lnk = 24; + bool has_spectators_count_lnk() const; + private: + bool _internal_has_spectators_count_lnk() const; + public: + void clear_spectators_count_lnk(); + uint32_t spectators_count_lnk() const; + void set_spectators_count_lnk(uint32_t value); + private: + uint32_t _internal_spectators_count_lnk() const; + void _internal_set_spectators_count_lnk(uint32_t value); + public: + + // optional bool b_switched_teams = 27; + bool has_b_switched_teams() const; + private: + bool _internal_has_b_switched_teams() const; + public: + void clear_b_switched_teams(); + bool b_switched_teams() const; + void set_b_switched_teams(bool value); + private: + bool _internal_b_switched_teams() const; + void _internal_set_b_switched_teams(bool value); + public: + + // optional uint32 max_rounds = 31; + bool has_max_rounds() const; + private: + bool _internal_has_max_rounds() const; + public: + void clear_max_rounds(); + uint32_t max_rounds() const; + void set_max_rounds(uint32_t value); + private: + uint32_t _internal_max_rounds() const; + void _internal_set_max_rounds(uint32_t value); + public: + + // optional int32 map_id = 32; + bool has_map_id() const; + private: + bool _internal_has_map_id() const; + public: + void clear_map_id(); + int32_t map_id() const; + void set_map_id(int32_t value); + private: + int32_t _internal_map_id() const; + void _internal_set_map_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > kills_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > assists_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > deaths_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > scores_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > pings_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > team_scores_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_kills_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_headshots_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_3ks_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_4ks_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_5ks_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > mvps_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_kills_agg_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_2ks_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > player_spawned_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > team_spawn_count_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm_; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info_; + uint64_t reservationid_; + int32_t round_; + int32_t round_result_; + int32_t match_result_; + int32_t reservation_stage_; + int32_t match_duration_; + uint32_t spectators_count_; + uint32_t spectators_count_tv_; + uint32_t spectators_count_lnk_; + bool b_switched_teams_; + uint32_t max_rounds_; + int32_t map_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingClient2GCHello final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello() : CMsgGCCStrike15_v2_MatchmakingClient2GCHello(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingClient2GCHello(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from); + CMsgGCCStrike15_v2_MatchmakingClient2GCHello(CMsgGCCStrike15_v2_MatchmakingClient2GCHello&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingClient2GCHello() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello& operator=(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello& operator=(CMsgGCCStrike15_v2_MatchmakingClient2GCHello&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingClient2GCHello& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingClient2GCHello* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingClient2GCHello& a, CMsgGCCStrike15_v2_MatchmakingClient2GCHello& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingClient2GCHello* 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(CMsgGCCStrike15_v2_MatchmakingClient2GCHello* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingClient2GCHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& 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 "CMsgGCCStrike15_v2_MatchmakingClient2GCHello"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::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:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() : CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientHello"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::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 { + kMyCurrentEventTeamsFieldNumber = 11, + kMyCurrentEventStagesFieldNumber = 13, + kRankingsFieldNumber = 20, + kOngoingmatchFieldNumber = 2, + kGlobalStatsFieldNumber = 3, + kRankingFieldNumber = 7, + kCommendationFieldNumber = 8, + kMedalsFieldNumber = 9, + kMyCurrentEventFieldNumber = 10, + kMyCurrentTeamFieldNumber = 12, + kActivityFieldNumber = 15, + kAccountIdFieldNumber = 1, + kPenaltySecondsFieldNumber = 4, + kPenaltyReasonFieldNumber = 5, + kVacBannedFieldNumber = 6, + kSurveyVoteFieldNumber = 14, + kPlayerLevelFieldNumber = 17, + kPlayerCurXpFieldNumber = 18, + kPlayerXpBonusFlagsFieldNumber = 19, + kOwcaseidFieldNumber = 21, + }; + // repeated .TournamentTeam my_current_event_teams = 11; + int my_current_event_teams_size() const; + private: + int _internal_my_current_event_teams_size() const; + public: + void clear_my_current_event_teams(); + ::TournamentTeam* mutable_my_current_event_teams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* + mutable_my_current_event_teams(); + private: + const ::TournamentTeam& _internal_my_current_event_teams(int index) const; + ::TournamentTeam* _internal_add_my_current_event_teams(); + public: + const ::TournamentTeam& my_current_event_teams(int index) const; + ::TournamentTeam* add_my_current_event_teams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& + my_current_event_teams() const; + + // repeated .TournamentEvent my_current_event_stages = 13; + int my_current_event_stages_size() const; + private: + int _internal_my_current_event_stages_size() const; + public: + void clear_my_current_event_stages(); + ::TournamentEvent* mutable_my_current_event_stages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >* + mutable_my_current_event_stages(); + private: + const ::TournamentEvent& _internal_my_current_event_stages(int index) const; + ::TournamentEvent* _internal_add_my_current_event_stages(); + public: + const ::TournamentEvent& my_current_event_stages(int index) const; + ::TournamentEvent* add_my_current_event_stages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >& + my_current_event_stages() const; + + // repeated .PlayerRankingInfo rankings = 20; + int rankings_size() const; + private: + int _internal_rankings_size() const; + public: + void clear_rankings(); + ::PlayerRankingInfo* mutable_rankings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* + mutable_rankings(); + private: + const ::PlayerRankingInfo& _internal_rankings(int index) const; + ::PlayerRankingInfo* _internal_add_rankings(); + public: + const ::PlayerRankingInfo& rankings(int index) const; + ::PlayerRankingInfo* add_rankings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& + rankings() const; + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; + bool has_ongoingmatch() const; + private: + bool _internal_has_ongoingmatch() const; + public: + void clear_ongoingmatch(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& ongoingmatch() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_ongoingmatch(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_ongoingmatch(); + void set_allocated_ongoingmatch(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_ongoingmatch() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_ongoingmatch(); + public: + void unsafe_arena_set_allocated_ongoingmatch( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_ongoingmatch(); + + // optional .GlobalStatistics global_stats = 3; + bool has_global_stats() const; + private: + bool _internal_has_global_stats() const; + public: + void clear_global_stats(); + const ::GlobalStatistics& global_stats() const; + PROTOBUF_NODISCARD ::GlobalStatistics* release_global_stats(); + ::GlobalStatistics* mutable_global_stats(); + void set_allocated_global_stats(::GlobalStatistics* global_stats); + private: + const ::GlobalStatistics& _internal_global_stats() const; + ::GlobalStatistics* _internal_mutable_global_stats(); + public: + void unsafe_arena_set_allocated_global_stats( + ::GlobalStatistics* global_stats); + ::GlobalStatistics* unsafe_arena_release_global_stats(); + + // optional .PlayerRankingInfo ranking = 7; + bool has_ranking() const; + private: + bool _internal_has_ranking() const; + public: + void clear_ranking(); + const ::PlayerRankingInfo& ranking() const; + PROTOBUF_NODISCARD ::PlayerRankingInfo* release_ranking(); + ::PlayerRankingInfo* mutable_ranking(); + void set_allocated_ranking(::PlayerRankingInfo* ranking); + private: + const ::PlayerRankingInfo& _internal_ranking() const; + ::PlayerRankingInfo* _internal_mutable_ranking(); + public: + void unsafe_arena_set_allocated_ranking( + ::PlayerRankingInfo* ranking); + ::PlayerRankingInfo* unsafe_arena_release_ranking(); + + // optional .PlayerCommendationInfo commendation = 8; + bool has_commendation() const; + private: + bool _internal_has_commendation() const; + public: + void clear_commendation(); + const ::PlayerCommendationInfo& commendation() const; + PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); + ::PlayerCommendationInfo* mutable_commendation(); + void set_allocated_commendation(::PlayerCommendationInfo* commendation); + private: + const ::PlayerCommendationInfo& _internal_commendation() const; + ::PlayerCommendationInfo* _internal_mutable_commendation(); + public: + void unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation); + ::PlayerCommendationInfo* unsafe_arena_release_commendation(); + + // optional .PlayerMedalsInfo medals = 9; + bool has_medals() const; + private: + bool _internal_has_medals() const; + public: + void clear_medals(); + const ::PlayerMedalsInfo& medals() const; + PROTOBUF_NODISCARD ::PlayerMedalsInfo* release_medals(); + ::PlayerMedalsInfo* mutable_medals(); + void set_allocated_medals(::PlayerMedalsInfo* medals); + private: + const ::PlayerMedalsInfo& _internal_medals() const; + ::PlayerMedalsInfo* _internal_mutable_medals(); + public: + void unsafe_arena_set_allocated_medals( + ::PlayerMedalsInfo* medals); + ::PlayerMedalsInfo* unsafe_arena_release_medals(); + + // optional .TournamentEvent my_current_event = 10; + bool has_my_current_event() const; + private: + bool _internal_has_my_current_event() const; + public: + void clear_my_current_event(); + const ::TournamentEvent& my_current_event() const; + PROTOBUF_NODISCARD ::TournamentEvent* release_my_current_event(); + ::TournamentEvent* mutable_my_current_event(); + void set_allocated_my_current_event(::TournamentEvent* my_current_event); + private: + const ::TournamentEvent& _internal_my_current_event() const; + ::TournamentEvent* _internal_mutable_my_current_event(); + public: + void unsafe_arena_set_allocated_my_current_event( + ::TournamentEvent* my_current_event); + ::TournamentEvent* unsafe_arena_release_my_current_event(); + + // optional .TournamentTeam my_current_team = 12; + bool has_my_current_team() const; + private: + bool _internal_has_my_current_team() const; + public: + void clear_my_current_team(); + const ::TournamentTeam& my_current_team() const; + PROTOBUF_NODISCARD ::TournamentTeam* release_my_current_team(); + ::TournamentTeam* mutable_my_current_team(); + void set_allocated_my_current_team(::TournamentTeam* my_current_team); + private: + const ::TournamentTeam& _internal_my_current_team() const; + ::TournamentTeam* _internal_mutable_my_current_team(); + public: + void unsafe_arena_set_allocated_my_current_team( + ::TournamentTeam* my_current_team); + ::TournamentTeam* unsafe_arena_release_my_current_team(); + + // optional .AccountActivity activity = 15; + bool has_activity() const; + private: + bool _internal_has_activity() const; + public: + void clear_activity(); + const ::AccountActivity& activity() const; + PROTOBUF_NODISCARD ::AccountActivity* release_activity(); + ::AccountActivity* mutable_activity(); + void set_allocated_activity(::AccountActivity* activity); + private: + const ::AccountActivity& _internal_activity() const; + ::AccountActivity* _internal_mutable_activity(); + public: + void unsafe_arena_set_allocated_activity( + ::AccountActivity* activity); + ::AccountActivity* unsafe_arena_release_activity(); + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 penalty_seconds = 4; + bool has_penalty_seconds() const; + private: + bool _internal_has_penalty_seconds() const; + public: + void clear_penalty_seconds(); + uint32_t penalty_seconds() const; + void set_penalty_seconds(uint32_t value); + private: + uint32_t _internal_penalty_seconds() const; + void _internal_set_penalty_seconds(uint32_t value); + public: + + // optional uint32 penalty_reason = 5; + bool has_penalty_reason() const; + private: + bool _internal_has_penalty_reason() const; + public: + void clear_penalty_reason(); + uint32_t penalty_reason() const; + void set_penalty_reason(uint32_t value); + private: + uint32_t _internal_penalty_reason() const; + void _internal_set_penalty_reason(uint32_t value); + public: + + // optional int32 vac_banned = 6; + bool has_vac_banned() const; + private: + bool _internal_has_vac_banned() const; + public: + void clear_vac_banned(); + int32_t vac_banned() const; + void set_vac_banned(int32_t value); + private: + int32_t _internal_vac_banned() const; + void _internal_set_vac_banned(int32_t value); + public: + + // optional uint32 survey_vote = 14; + bool has_survey_vote() const; + private: + bool _internal_has_survey_vote() const; + public: + void clear_survey_vote(); + uint32_t survey_vote() const; + void set_survey_vote(uint32_t value); + private: + uint32_t _internal_survey_vote() const; + void _internal_set_survey_vote(uint32_t value); + public: + + // optional int32 player_level = 17; + bool has_player_level() const; + private: + bool _internal_has_player_level() const; + public: + void clear_player_level(); + int32_t player_level() const; + void set_player_level(int32_t value); + private: + int32_t _internal_player_level() const; + void _internal_set_player_level(int32_t value); + public: + + // optional int32 player_cur_xp = 18; + bool has_player_cur_xp() const; + private: + bool _internal_has_player_cur_xp() const; + public: + void clear_player_cur_xp(); + int32_t player_cur_xp() const; + void set_player_cur_xp(int32_t value); + private: + int32_t _internal_player_cur_xp() const; + void _internal_set_player_cur_xp(int32_t value); + public: + + // optional int32 player_xp_bonus_flags = 19; + bool has_player_xp_bonus_flags() const; + private: + bool _internal_has_player_xp_bonus_flags() const; + public: + void clear_player_xp_bonus_flags(); + int32_t player_xp_bonus_flags() const; + void set_player_xp_bonus_flags(int32_t value); + private: + int32_t _internal_player_xp_bonus_flags() const; + void _internal_set_player_xp_bonus_flags(int32_t value); + public: + + // optional uint64 owcaseid = 21; + bool has_owcaseid() const; + private: + bool _internal_has_owcaseid() const; + public: + void clear_owcaseid(); + uint64_t owcaseid() const; + void set_owcaseid(uint64_t value); + private: + uint64_t _internal_owcaseid() const; + void _internal_set_owcaseid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > my_current_event_teams_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent > my_current_event_stages_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch_; + ::GlobalStatistics* global_stats_; + ::PlayerRankingInfo* ranking_; + ::PlayerCommendationInfo* commendation_; + ::PlayerMedalsInfo* medals_; + ::TournamentEvent* my_current_event_; + ::TournamentTeam* my_current_team_; + ::AccountActivity* activity_; + uint32_t account_id_; + uint32_t penalty_seconds_; + uint32_t penalty_reason_; + int32_t vac_banned_; + uint32_t survey_vote_; + int32_t player_level_; + int32_t player_cur_xp_; + int32_t player_xp_bonus_flags_; + uint64_t owcaseid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) */ { + public: + inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() : CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(nullptr) {} + ~CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from); + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting&& from) noexcept + : CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& operator=(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& operator=(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& a, CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* 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(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { + CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::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(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_AccountPrivacySettings.Setting"; + } + protected: + explicit CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::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 { + kSettingTypeFieldNumber = 1, + kSettingValueFieldNumber = 2, + }; + // optional uint32 setting_type = 1; + bool has_setting_type() const; + private: + bool _internal_has_setting_type() const; + public: + void clear_setting_type(); + uint32_t setting_type() const; + void set_setting_type(uint32_t value); + private: + uint32_t _internal_setting_type() const; + void _internal_set_setting_type(uint32_t value); + public: + + // optional uint32 setting_value = 2; + bool has_setting_value() const; + private: + bool _internal_has_setting_value() const; + public: + void clear_setting_value(); + uint32_t setting_value() const; + void set_setting_value(uint32_t value); + private: + uint32_t _internal_setting_value() const; + void _internal_set_setting_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t setting_type_; + uint32_t setting_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_AccountPrivacySettings final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AccountPrivacySettings) */ { + public: + inline CMsgGCCStrike15_v2_AccountPrivacySettings() : CMsgGCCStrike15_v2_AccountPrivacySettings(nullptr) {} + ~CMsgGCCStrike15_v2_AccountPrivacySettings() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_AccountPrivacySettings(const CMsgGCCStrike15_v2_AccountPrivacySettings& from); + CMsgGCCStrike15_v2_AccountPrivacySettings(CMsgGCCStrike15_v2_AccountPrivacySettings&& from) noexcept + : CMsgGCCStrike15_v2_AccountPrivacySettings() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_AccountPrivacySettings& operator=(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_AccountPrivacySettings& operator=(CMsgGCCStrike15_v2_AccountPrivacySettings&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_AccountPrivacySettings& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_AccountPrivacySettings* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CMsgGCCStrike15_v2_AccountPrivacySettings& a, CMsgGCCStrike15_v2_AccountPrivacySettings& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_AccountPrivacySettings* 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(CMsgGCCStrike15_v2_AccountPrivacySettings* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_AccountPrivacySettings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { + CMsgGCCStrike15_v2_AccountPrivacySettings::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(CMsgGCCStrike15_v2_AccountPrivacySettings* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_AccountPrivacySettings"; + } + protected: + explicit CMsgGCCStrike15_v2_AccountPrivacySettings(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_AccountPrivacySettings_Setting Setting; + + // accessors ------------------------------------------------------- + + enum : int { + kSettingsFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; + int settings_size() const; + private: + int _internal_settings_size() const; + public: + void clear_settings(); + ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* mutable_settings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >* + mutable_settings(); + private: + const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& _internal_settings(int index) const; + ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* _internal_add_settings(); + public: + const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& settings(int index) const; + ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* add_settings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >& + settings() const; + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AccountPrivacySettings) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting > settings_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() : CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::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 { + kAbandonedMatchFieldNumber = 2, + kAccountIdFieldNumber = 1, + kPenaltySecondsFieldNumber = 3, + kPenaltyReasonFieldNumber = 4, + }; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; + bool has_abandoned_match() const; + private: + bool _internal_has_abandoned_match() const; + public: + void clear_abandoned_match(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& abandoned_match() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_abandoned_match(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_abandoned_match(); + void set_allocated_abandoned_match(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_abandoned_match() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_abandoned_match(); + public: + void unsafe_arena_set_allocated_abandoned_match( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_abandoned_match(); + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 penalty_seconds = 3; + bool has_penalty_seconds() const; + private: + bool _internal_has_penalty_seconds() const; + public: + void clear_penalty_seconds(); + uint32_t penalty_seconds() const; + void set_penalty_seconds(uint32_t value); + private: + uint32_t _internal_penalty_seconds() const; + void _internal_set_penalty_seconds(uint32_t value); + public: + + // optional uint32 penalty_reason = 4; + bool has_penalty_reason() const; + private: + bool _internal_has_penalty_reason() const; + public: + void clear_penalty_reason(); + uint32_t penalty_reason() const; + void set_penalty_reason(uint32_t value); + private: + uint32_t _internal_penalty_reason() const; + void _internal_set_penalty_reason(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match_; + uint32_t account_id_; + uint32_t penalty_seconds_; + uint32_t penalty_reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientGCRankUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientGCRankUpdate) */ { + public: + inline CMsgGCCStrike15_v2_ClientGCRankUpdate() : CMsgGCCStrike15_v2_ClientGCRankUpdate(nullptr) {} + ~CMsgGCCStrike15_v2_ClientGCRankUpdate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientGCRankUpdate(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from); + CMsgGCCStrike15_v2_ClientGCRankUpdate(CMsgGCCStrike15_v2_ClientGCRankUpdate&& from) noexcept + : CMsgGCCStrike15_v2_ClientGCRankUpdate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientGCRankUpdate& operator=(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientGCRankUpdate& operator=(CMsgGCCStrike15_v2_ClientGCRankUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientGCRankUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientGCRankUpdate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CMsgGCCStrike15_v2_ClientGCRankUpdate& a, CMsgGCCStrike15_v2_ClientGCRankUpdate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientGCRankUpdate* 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(CMsgGCCStrike15_v2_ClientGCRankUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientGCRankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { + CMsgGCCStrike15_v2_ClientGCRankUpdate::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(CMsgGCCStrike15_v2_ClientGCRankUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientGCRankUpdate"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientGCRankUpdate(::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 { + kRankingsFieldNumber = 1, + }; + // repeated .PlayerRankingInfo rankings = 1; + int rankings_size() const; + private: + int _internal_rankings_size() const; + public: + void clear_rankings(); + ::PlayerRankingInfo* mutable_rankings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* + mutable_rankings(); + private: + const ::PlayerRankingInfo& _internal_rankings(int index) const; + ::PlayerRankingInfo* _internal_add_rankings(); + public: + const ::PlayerRankingInfo& rankings(int index) const; + ::PlayerRankingInfo* add_rankings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& + rankings() const; + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientGCRankUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() : CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from); + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& operator=(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& operator=(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& a, CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* 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(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { + CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::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(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::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 { + kMainPostUrlFieldNumber = 1, + }; + // optional string main_post_url = 1; + bool has_main_post_url() const; + private: + bool _internal_has_main_post_url() const; + public: + void clear_main_post_url(); + const std::string& main_post_url() const; + template + void set_main_post_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_main_post_url(); + PROTOBUF_NODISCARD std::string* release_main_post_url(); + void set_allocated_main_post_url(std::string* main_post_url); + private: + const std::string& _internal_main_post_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_main_post_url(const std::string& value); + std::string* _internal_mutable_main_post_url(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_post_url_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) */ { + public: + inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() : CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(nullptr) {} + ~CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from); + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty&& from) noexcept + : CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& operator=(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& operator=(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& a, CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* 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(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { + CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::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(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ServerNotificationForUserPenalty"; + } + protected: + explicit CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::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 { + kAccountIdFieldNumber = 1, + kReasonFieldNumber = 2, + kSecondsFieldNumber = 3, + kCommunicationCooldownFieldNumber = 4, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 reason = 2; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + uint32_t reason() const; + void set_reason(uint32_t value); + private: + uint32_t _internal_reason() const; + void _internal_set_reason(uint32_t value); + public: + + // optional uint32 seconds = 3; + bool has_seconds() const; + private: + bool _internal_has_seconds() const; + public: + void clear_seconds(); + uint32_t seconds() const; + void set_seconds(uint32_t value); + private: + uint32_t _internal_seconds() const; + void _internal_set_seconds(uint32_t value); + public: + + // optional bool communication_cooldown = 4; + bool has_communication_cooldown() const; + private: + bool _internal_has_communication_cooldown() const; + public: + void clear_communication_cooldown(); + bool communication_cooldown() const; + void set_communication_cooldown(bool value); + private: + bool _internal_communication_cooldown() const; + void _internal_set_communication_cooldown(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t reason_; + uint32_t seconds_; + bool communication_cooldown_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientReportPlayer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportPlayer) */ { + public: + inline CMsgGCCStrike15_v2_ClientReportPlayer() : CMsgGCCStrike15_v2_ClientReportPlayer(nullptr) {} + ~CMsgGCCStrike15_v2_ClientReportPlayer() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientReportPlayer(const CMsgGCCStrike15_v2_ClientReportPlayer& from); + CMsgGCCStrike15_v2_ClientReportPlayer(CMsgGCCStrike15_v2_ClientReportPlayer&& from) noexcept + : CMsgGCCStrike15_v2_ClientReportPlayer() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientReportPlayer& operator=(const CMsgGCCStrike15_v2_ClientReportPlayer& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientReportPlayer& operator=(CMsgGCCStrike15_v2_ClientReportPlayer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientReportPlayer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientReportPlayer* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CMsgGCCStrike15_v2_ClientReportPlayer& a, CMsgGCCStrike15_v2_ClientReportPlayer& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientReportPlayer* 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(CMsgGCCStrike15_v2_ClientReportPlayer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientReportPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientReportPlayer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientReportPlayer& from) { + CMsgGCCStrike15_v2_ClientReportPlayer::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(CMsgGCCStrike15_v2_ClientReportPlayer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientReportPlayer"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientReportPlayer(::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 { + kAccountIdFieldNumber = 1, + kRptAimbotFieldNumber = 2, + kRptWallhackFieldNumber = 3, + kRptSpeedhackFieldNumber = 4, + kRptTeamharmFieldNumber = 5, + kRptTextabuseFieldNumber = 6, + kMatchIdFieldNumber = 8, + kRptVoiceabuseFieldNumber = 7, + kReportFromDemoFieldNumber = 9, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 rpt_aimbot = 2; + bool has_rpt_aimbot() const; + private: + bool _internal_has_rpt_aimbot() const; + public: + void clear_rpt_aimbot(); + uint32_t rpt_aimbot() const; + void set_rpt_aimbot(uint32_t value); + private: + uint32_t _internal_rpt_aimbot() const; + void _internal_set_rpt_aimbot(uint32_t value); + public: + + // optional uint32 rpt_wallhack = 3; + bool has_rpt_wallhack() const; + private: + bool _internal_has_rpt_wallhack() const; + public: + void clear_rpt_wallhack(); + uint32_t rpt_wallhack() const; + void set_rpt_wallhack(uint32_t value); + private: + uint32_t _internal_rpt_wallhack() const; + void _internal_set_rpt_wallhack(uint32_t value); + public: + + // optional uint32 rpt_speedhack = 4; + bool has_rpt_speedhack() const; + private: + bool _internal_has_rpt_speedhack() const; + public: + void clear_rpt_speedhack(); + uint32_t rpt_speedhack() const; + void set_rpt_speedhack(uint32_t value); + private: + uint32_t _internal_rpt_speedhack() const; + void _internal_set_rpt_speedhack(uint32_t value); + public: + + // optional uint32 rpt_teamharm = 5; + bool has_rpt_teamharm() const; + private: + bool _internal_has_rpt_teamharm() const; + public: + void clear_rpt_teamharm(); + uint32_t rpt_teamharm() const; + void set_rpt_teamharm(uint32_t value); + private: + uint32_t _internal_rpt_teamharm() const; + void _internal_set_rpt_teamharm(uint32_t value); + public: + + // optional uint32 rpt_textabuse = 6; + bool has_rpt_textabuse() const; + private: + bool _internal_has_rpt_textabuse() const; + public: + void clear_rpt_textabuse(); + uint32_t rpt_textabuse() const; + void set_rpt_textabuse(uint32_t value); + private: + uint32_t _internal_rpt_textabuse() const; + void _internal_set_rpt_textabuse(uint32_t value); + public: + + // optional uint64 match_id = 8; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 rpt_voiceabuse = 7; + bool has_rpt_voiceabuse() const; + private: + bool _internal_has_rpt_voiceabuse() const; + public: + void clear_rpt_voiceabuse(); + uint32_t rpt_voiceabuse() const; + void set_rpt_voiceabuse(uint32_t value); + private: + uint32_t _internal_rpt_voiceabuse() const; + void _internal_set_rpt_voiceabuse(uint32_t value); + public: + + // optional bool report_from_demo = 9; + bool has_report_from_demo() const; + private: + bool _internal_has_report_from_demo() const; + public: + void clear_report_from_demo(); + bool report_from_demo() const; + void set_report_from_demo(bool value); + private: + bool _internal_report_from_demo() const; + void _internal_set_report_from_demo(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportPlayer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t rpt_aimbot_; + uint32_t rpt_wallhack_; + uint32_t rpt_speedhack_; + uint32_t rpt_teamharm_; + uint32_t rpt_textabuse_; + uint64_t match_id_; + uint32_t rpt_voiceabuse_; + bool report_from_demo_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientCommendPlayer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientCommendPlayer) */ { + public: + inline CMsgGCCStrike15_v2_ClientCommendPlayer() : CMsgGCCStrike15_v2_ClientCommendPlayer(nullptr) {} + ~CMsgGCCStrike15_v2_ClientCommendPlayer() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientCommendPlayer(const CMsgGCCStrike15_v2_ClientCommendPlayer& from); + CMsgGCCStrike15_v2_ClientCommendPlayer(CMsgGCCStrike15_v2_ClientCommendPlayer&& from) noexcept + : CMsgGCCStrike15_v2_ClientCommendPlayer() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientCommendPlayer& operator=(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientCommendPlayer& operator=(CMsgGCCStrike15_v2_ClientCommendPlayer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientCommendPlayer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientCommendPlayer* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CMsgGCCStrike15_v2_ClientCommendPlayer& a, CMsgGCCStrike15_v2_ClientCommendPlayer& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientCommendPlayer* 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(CMsgGCCStrike15_v2_ClientCommendPlayer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientCommendPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientCommendPlayer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { + CMsgGCCStrike15_v2_ClientCommendPlayer::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(CMsgGCCStrike15_v2_ClientCommendPlayer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientCommendPlayer"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientCommendPlayer(::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 { + kCommendationFieldNumber = 9, + kAccountIdFieldNumber = 1, + kTokensFieldNumber = 10, + kMatchIdFieldNumber = 8, + }; + // optional .PlayerCommendationInfo commendation = 9; + bool has_commendation() const; + private: + bool _internal_has_commendation() const; + public: + void clear_commendation(); + const ::PlayerCommendationInfo& commendation() const; + PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); + ::PlayerCommendationInfo* mutable_commendation(); + void set_allocated_commendation(::PlayerCommendationInfo* commendation); + private: + const ::PlayerCommendationInfo& _internal_commendation() const; + ::PlayerCommendationInfo* _internal_mutable_commendation(); + public: + void unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation); + ::PlayerCommendationInfo* unsafe_arena_release_commendation(); + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 tokens = 10; + bool has_tokens() const; + private: + bool _internal_has_tokens() const; + public: + void clear_tokens(); + uint32_t tokens() const; + void set_tokens(uint32_t value); + private: + uint32_t _internal_tokens() const; + void _internal_set_tokens(uint32_t value); + public: + + // optional uint64 match_id = 8; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientCommendPlayer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PlayerCommendationInfo* commendation_; + uint32_t account_id_; + uint32_t tokens_; + uint64_t match_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientReportServer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportServer) */ { + public: + inline CMsgGCCStrike15_v2_ClientReportServer() : CMsgGCCStrike15_v2_ClientReportServer(nullptr) {} + ~CMsgGCCStrike15_v2_ClientReportServer() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientReportServer(const CMsgGCCStrike15_v2_ClientReportServer& from); + CMsgGCCStrike15_v2_ClientReportServer(CMsgGCCStrike15_v2_ClientReportServer&& from) noexcept + : CMsgGCCStrike15_v2_ClientReportServer() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientReportServer& operator=(const CMsgGCCStrike15_v2_ClientReportServer& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientReportServer& operator=(CMsgGCCStrike15_v2_ClientReportServer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientReportServer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientReportServer* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientReportServer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CMsgGCCStrike15_v2_ClientReportServer& a, CMsgGCCStrike15_v2_ClientReportServer& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientReportServer* 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(CMsgGCCStrike15_v2_ClientReportServer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientReportServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientReportServer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientReportServer& from) { + CMsgGCCStrike15_v2_ClientReportServer::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(CMsgGCCStrike15_v2_ClientReportServer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientReportServer"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientReportServer(::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 { + kRptPoorperfFieldNumber = 1, + kRptAbusivemodelsFieldNumber = 2, + kRptBadmotdFieldNumber = 3, + kRptListingabuseFieldNumber = 4, + kMatchIdFieldNumber = 8, + kRptInventoryabuseFieldNumber = 5, + }; + // optional uint32 rpt_poorperf = 1; + bool has_rpt_poorperf() const; + private: + bool _internal_has_rpt_poorperf() const; + public: + void clear_rpt_poorperf(); + uint32_t rpt_poorperf() const; + void set_rpt_poorperf(uint32_t value); + private: + uint32_t _internal_rpt_poorperf() const; + void _internal_set_rpt_poorperf(uint32_t value); + public: + + // optional uint32 rpt_abusivemodels = 2; + bool has_rpt_abusivemodels() const; + private: + bool _internal_has_rpt_abusivemodels() const; + public: + void clear_rpt_abusivemodels(); + uint32_t rpt_abusivemodels() const; + void set_rpt_abusivemodels(uint32_t value); + private: + uint32_t _internal_rpt_abusivemodels() const; + void _internal_set_rpt_abusivemodels(uint32_t value); + public: + + // optional uint32 rpt_badmotd = 3; + bool has_rpt_badmotd() const; + private: + bool _internal_has_rpt_badmotd() const; + public: + void clear_rpt_badmotd(); + uint32_t rpt_badmotd() const; + void set_rpt_badmotd(uint32_t value); + private: + uint32_t _internal_rpt_badmotd() const; + void _internal_set_rpt_badmotd(uint32_t value); + public: + + // optional uint32 rpt_listingabuse = 4; + bool has_rpt_listingabuse() const; + private: + bool _internal_has_rpt_listingabuse() const; + public: + void clear_rpt_listingabuse(); + uint32_t rpt_listingabuse() const; + void set_rpt_listingabuse(uint32_t value); + private: + uint32_t _internal_rpt_listingabuse() const; + void _internal_set_rpt_listingabuse(uint32_t value); + public: + + // optional uint64 match_id = 8; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 rpt_inventoryabuse = 5; + bool has_rpt_inventoryabuse() const; + private: + bool _internal_has_rpt_inventoryabuse() const; + public: + void clear_rpt_inventoryabuse(); + uint32_t rpt_inventoryabuse() const; + void set_rpt_inventoryabuse(uint32_t value); + private: + uint32_t _internal_rpt_inventoryabuse() const; + void _internal_set_rpt_inventoryabuse(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportServer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t rpt_poorperf_; + uint32_t rpt_abusivemodels_; + uint32_t rpt_badmotd_; + uint32_t rpt_listingabuse_; + uint64_t match_id_; + uint32_t rpt_inventoryabuse_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientReportResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportResponse) */ { + public: + inline CMsgGCCStrike15_v2_ClientReportResponse() : CMsgGCCStrike15_v2_ClientReportResponse(nullptr) {} + ~CMsgGCCStrike15_v2_ClientReportResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientReportResponse(const CMsgGCCStrike15_v2_ClientReportResponse& from); + CMsgGCCStrike15_v2_ClientReportResponse(CMsgGCCStrike15_v2_ClientReportResponse&& from) noexcept + : CMsgGCCStrike15_v2_ClientReportResponse() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientReportResponse& operator=(const CMsgGCCStrike15_v2_ClientReportResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientReportResponse& operator=(CMsgGCCStrike15_v2_ClientReportResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientReportResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientReportResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientReportResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CMsgGCCStrike15_v2_ClientReportResponse& a, CMsgGCCStrike15_v2_ClientReportResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientReportResponse* 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(CMsgGCCStrike15_v2_ClientReportResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientReportResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientReportResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientReportResponse& from) { + CMsgGCCStrike15_v2_ClientReportResponse::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(CMsgGCCStrike15_v2_ClientReportResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientReportResponse"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientReportResponse(::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 { + kConfirmationIdFieldNumber = 1, + kAccountIdFieldNumber = 2, + kServerIpFieldNumber = 3, + kResponseTypeFieldNumber = 4, + kResponseResultFieldNumber = 5, + kTokensFieldNumber = 6, + }; + // optional uint64 confirmation_id = 1; + bool has_confirmation_id() const; + private: + bool _internal_has_confirmation_id() const; + public: + void clear_confirmation_id(); + uint64_t confirmation_id() const; + void set_confirmation_id(uint64_t value); + private: + uint64_t _internal_confirmation_id() const; + void _internal_set_confirmation_id(uint64_t value); + public: + + // optional uint32 account_id = 2; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 server_ip = 3; + bool has_server_ip() const; + private: + bool _internal_has_server_ip() const; + public: + void clear_server_ip(); + uint32_t server_ip() const; + void set_server_ip(uint32_t value); + private: + uint32_t _internal_server_ip() const; + void _internal_set_server_ip(uint32_t value); + public: + + // optional uint32 response_type = 4; + bool has_response_type() const; + private: + bool _internal_has_response_type() const; + public: + void clear_response_type(); + uint32_t response_type() const; + void set_response_type(uint32_t value); + private: + uint32_t _internal_response_type() const; + void _internal_set_response_type(uint32_t value); + public: + + // optional uint32 response_result = 5; + bool has_response_result() const; + private: + bool _internal_has_response_result() const; + public: + void clear_response_result(); + uint32_t response_result() const; + void set_response_result(uint32_t value); + private: + uint32_t _internal_response_result() const; + void _internal_set_response_result(uint32_t value); + public: + + // optional uint32 tokens = 6; + bool has_tokens() const; + private: + bool _internal_has_tokens() const; + public: + void clear_tokens(); + uint32_t tokens() const; + void set_tokens(uint32_t value); + private: + uint32_t _internal_tokens() const; + void _internal_set_tokens(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t confirmation_id_; + uint32_t account_id_; + uint32_t server_ip_; + uint32_t response_type_; + uint32_t response_result_; + uint32_t tokens_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() : CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(nullptr) {} + ~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from); + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& operator=(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& operator=(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& a, CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* 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(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { + CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::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(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::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 { + kAccountIdsFieldNumber = 2, + kDataCenterPingsFieldNumber = 6, + kServeridFieldNumber = 3, + kRequestIdFieldNumber = 1, + kClientLauncherFieldNumber = 5, + kMatchidFieldNumber = 4, + }; + // repeated uint32 account_ids = 2; + int account_ids_size() const; + private: + int _internal_account_ids_size() const; + public: + void clear_account_ids(); + private: + uint32_t _internal_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_account_ids() const; + void _internal_add_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_account_ids(); + public: + uint32_t account_ids(int index) const; + void set_account_ids(int index, uint32_t value); + void add_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_account_ids(); + + // repeated .DataCenterPing data_center_pings = 6; + int data_center_pings_size() const; + private: + int _internal_data_center_pings_size() const; + public: + void clear_data_center_pings(); + ::DataCenterPing* mutable_data_center_pings(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* + mutable_data_center_pings(); + private: + const ::DataCenterPing& _internal_data_center_pings(int index) const; + ::DataCenterPing* _internal_add_data_center_pings(); + public: + const ::DataCenterPing& data_center_pings(int index) const; + ::DataCenterPing* add_data_center_pings(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& + data_center_pings() const; + + // optional uint64 serverid = 3; + bool has_serverid() const; + private: + bool _internal_has_serverid() const; + public: + void clear_serverid(); + uint64_t serverid() const; + void set_serverid(uint64_t value); + private: + uint64_t _internal_serverid() const; + void _internal_set_serverid(uint64_t value); + public: + + // optional uint32 request_id = 1; + bool has_request_id() const; + private: + bool _internal_has_request_id() const; + public: + void clear_request_id(); + uint32_t request_id() const; + void set_request_id(uint32_t value); + private: + uint32_t _internal_request_id() const; + void _internal_set_request_id(uint32_t value); + public: + + // optional uint32 client_launcher = 5; + bool has_client_launcher() const; + private: + bool _internal_has_client_launcher() const; + public: + void clear_client_launcher(); + uint32_t client_launcher() const; + void set_client_launcher(uint32_t value); + private: + uint32_t _internal_client_launcher() const; + void _internal_set_client_launcher(uint32_t value); + public: + + // optional uint64 matchid = 4; + bool has_matchid() const; + private: + bool _internal_has_matchid() const; + public: + void clear_matchid(); + uint64_t matchid() const; + void set_matchid(uint64_t value); + private: + uint64_t _internal_matchid() const; + void _internal_set_matchid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing > data_center_pings_; + uint64_t serverid_; + uint32_t request_id_; + uint32_t client_launcher_; + uint64_t matchid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class WatchableMatchInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:WatchableMatchInfo) */ { + public: + inline WatchableMatchInfo() : WatchableMatchInfo(nullptr) {} + ~WatchableMatchInfo() override; + explicit PROTOBUF_CONSTEXPR WatchableMatchInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + WatchableMatchInfo(const WatchableMatchInfo& from); + WatchableMatchInfo(WatchableMatchInfo&& from) noexcept + : WatchableMatchInfo() { + *this = ::std::move(from); + } + + inline WatchableMatchInfo& operator=(const WatchableMatchInfo& from) { + CopyFrom(from); + return *this; + } + inline WatchableMatchInfo& operator=(WatchableMatchInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 WatchableMatchInfo& default_instance() { + return *internal_default_instance(); + } + static inline const WatchableMatchInfo* internal_default_instance() { + return reinterpret_cast( + &_WatchableMatchInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(WatchableMatchInfo& a, WatchableMatchInfo& b) { + a.Swap(&b); + } + inline void Swap(WatchableMatchInfo* 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(WatchableMatchInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WatchableMatchInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const WatchableMatchInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const WatchableMatchInfo& from) { + WatchableMatchInfo::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(WatchableMatchInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "WatchableMatchInfo"; + } + protected: + explicit WatchableMatchInfo(::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 { + kTvWatchPasswordFieldNumber = 5, + kGameMapgroupFieldNumber = 9, + kGameMapFieldNumber = 10, + kServerIpFieldNumber = 1, + kTvPortFieldNumber = 2, + kTvSpectatorsFieldNumber = 3, + kTvTimeFieldNumber = 4, + kClDecryptdataKeyFieldNumber = 6, + kClDecryptdataKeyPubFieldNumber = 7, + kServerIdFieldNumber = 11, + kMatchIdFieldNumber = 12, + kReservationIdFieldNumber = 13, + kGameTypeFieldNumber = 8, + }; + // optional bytes tv_watch_password = 5; + bool has_tv_watch_password() const; + private: + bool _internal_has_tv_watch_password() const; + public: + void clear_tv_watch_password(); + const std::string& tv_watch_password() const; + template + void set_tv_watch_password(ArgT0&& arg0, ArgT... args); + std::string* mutable_tv_watch_password(); + PROTOBUF_NODISCARD std::string* release_tv_watch_password(); + void set_allocated_tv_watch_password(std::string* tv_watch_password); + private: + const std::string& _internal_tv_watch_password() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tv_watch_password(const std::string& value); + std::string* _internal_mutable_tv_watch_password(); + public: + + // optional string game_mapgroup = 9; + bool has_game_mapgroup() const; + private: + bool _internal_has_game_mapgroup() const; + public: + void clear_game_mapgroup(); + const std::string& game_mapgroup() const; + template + void set_game_mapgroup(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_mapgroup(); + PROTOBUF_NODISCARD std::string* release_game_mapgroup(); + void set_allocated_game_mapgroup(std::string* game_mapgroup); + private: + const std::string& _internal_game_mapgroup() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mapgroup(const std::string& value); + std::string* _internal_mutable_game_mapgroup(); + public: + + // optional string game_map = 10; + bool has_game_map() const; + private: + bool _internal_has_game_map() const; + public: + void clear_game_map(); + const std::string& game_map() const; + template + void set_game_map(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_map(); + PROTOBUF_NODISCARD std::string* release_game_map(); + void set_allocated_game_map(std::string* game_map); + private: + const std::string& _internal_game_map() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_map(const std::string& value); + std::string* _internal_mutable_game_map(); + public: + + // optional uint32 server_ip = 1; + bool has_server_ip() const; + private: + bool _internal_has_server_ip() const; + public: + void clear_server_ip(); + uint32_t server_ip() const; + void set_server_ip(uint32_t value); + private: + uint32_t _internal_server_ip() const; + void _internal_set_server_ip(uint32_t value); + public: + + // optional uint32 tv_port = 2; + bool has_tv_port() const; + private: + bool _internal_has_tv_port() const; + public: + void clear_tv_port(); + uint32_t tv_port() const; + void set_tv_port(uint32_t value); + private: + uint32_t _internal_tv_port() const; + void _internal_set_tv_port(uint32_t value); + public: + + // optional uint32 tv_spectators = 3; + bool has_tv_spectators() const; + private: + bool _internal_has_tv_spectators() const; + public: + void clear_tv_spectators(); + uint32_t tv_spectators() const; + void set_tv_spectators(uint32_t value); + private: + uint32_t _internal_tv_spectators() const; + void _internal_set_tv_spectators(uint32_t value); + public: + + // optional uint32 tv_time = 4; + bool has_tv_time() const; + private: + bool _internal_has_tv_time() const; + public: + void clear_tv_time(); + uint32_t tv_time() const; + void set_tv_time(uint32_t value); + private: + uint32_t _internal_tv_time() const; + void _internal_set_tv_time(uint32_t value); + public: + + // optional uint64 cl_decryptdata_key = 6; + bool has_cl_decryptdata_key() const; + private: + bool _internal_has_cl_decryptdata_key() const; + public: + void clear_cl_decryptdata_key(); + uint64_t cl_decryptdata_key() const; + void set_cl_decryptdata_key(uint64_t value); + private: + uint64_t _internal_cl_decryptdata_key() const; + void _internal_set_cl_decryptdata_key(uint64_t value); + public: + + // optional uint64 cl_decryptdata_key_pub = 7; + bool has_cl_decryptdata_key_pub() const; + private: + bool _internal_has_cl_decryptdata_key_pub() const; + public: + void clear_cl_decryptdata_key_pub(); + uint64_t cl_decryptdata_key_pub() const; + void set_cl_decryptdata_key_pub(uint64_t value); + private: + uint64_t _internal_cl_decryptdata_key_pub() const; + void _internal_set_cl_decryptdata_key_pub(uint64_t value); + public: + + // optional uint64 server_id = 11; + bool has_server_id() const; + private: + bool _internal_has_server_id() const; + public: + void clear_server_id(); + uint64_t server_id() const; + void set_server_id(uint64_t value); + private: + uint64_t _internal_server_id() const; + void _internal_set_server_id(uint64_t value); + public: + + // optional uint64 match_id = 12; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint64 reservation_id = 13; + bool has_reservation_id() const; + private: + bool _internal_has_reservation_id() const; + public: + void clear_reservation_id(); + uint64_t reservation_id() const; + void set_reservation_id(uint64_t value); + private: + uint64_t _internal_reservation_id() const; + void _internal_set_reservation_id(uint64_t value); + public: + + // optional uint32 game_type = 8; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:WatchableMatchInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tv_watch_password_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mapgroup_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_map_; + uint32_t server_ip_; + uint32_t tv_port_; + uint32_t tv_spectators_; + uint32_t tv_time_; + uint64_t cl_decryptdata_key_; + uint64_t cl_decryptdata_key_pub_; + uint64_t server_id_; + uint64_t match_id_; + uint64_t reservation_id_; + uint32_t game_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestJoinFriendData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData() : CMsgGCCStrike15_v2_ClientRequestJoinFriendData(nullptr) {} + ~CMsgGCCStrike15_v2_ClientRequestJoinFriendData() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestJoinFriendData(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from); + CMsgGCCStrike15_v2_ClientRequestJoinFriendData(CMsgGCCStrike15_v2_ClientRequestJoinFriendData&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestJoinFriendData() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData& operator=(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData& operator=(CMsgGCCStrike15_v2_ClientRequestJoinFriendData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestJoinFriendData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData& a, CMsgGCCStrike15_v2_ClientRequestJoinFriendData& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* 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(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestJoinFriendData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { + CMsgGCCStrike15_v2_ClientRequestJoinFriendData::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(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientRequestJoinFriendData"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::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 { + kErrormsgFieldNumber = 6, + kResFieldNumber = 5, + kVersionFieldNumber = 1, + kAccountIdFieldNumber = 2, + kJoinTokenFieldNumber = 3, + kJoinIppFieldNumber = 4, + }; + // optional string errormsg = 6; + bool has_errormsg() const; + private: + bool _internal_has_errormsg() const; + public: + void clear_errormsg(); + const std::string& errormsg() const; + template + void set_errormsg(ArgT0&& arg0, ArgT... args); + std::string* mutable_errormsg(); + PROTOBUF_NODISCARD std::string* release_errormsg(); + void set_allocated_errormsg(std::string* errormsg); + private: + const std::string& _internal_errormsg() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_errormsg(const std::string& value); + std::string* _internal_mutable_errormsg(); + public: + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; + bool has_res() const; + private: + bool _internal_has_res() const; + public: + void clear_res(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_res(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_res(); + void set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_res() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_res(); + public: + void unsafe_arena_set_allocated_res( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_res(); + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 account_id = 2; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 join_token = 3; + bool has_join_token() const; + private: + bool _internal_has_join_token() const; + public: + void clear_join_token(); + uint32_t join_token() const; + void set_join_token(uint32_t value); + private: + uint32_t _internal_join_token() const; + void _internal_set_join_token(uint32_t value); + public: + + // optional uint32 join_ipp = 4; + bool has_join_ipp() const; + private: + bool _internal_has_join_ipp() const; + public: + void clear_join_ipp(); + uint32_t join_ipp() const; + void set_join_ipp(uint32_t value); + private: + uint32_t _internal_join_ipp() const; + void _internal_set_join_ipp(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr errormsg_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res_; + uint32_t version_; + uint32_t account_id_; + uint32_t join_token_; + uint32_t join_ipp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestJoinServerData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestJoinServerData) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestJoinServerData() : CMsgGCCStrike15_v2_ClientRequestJoinServerData(nullptr) {} + ~CMsgGCCStrike15_v2_ClientRequestJoinServerData() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestJoinServerData(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from); + CMsgGCCStrike15_v2_ClientRequestJoinServerData(CMsgGCCStrike15_v2_ClientRequestJoinServerData&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestJoinServerData() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestJoinServerData& operator=(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestJoinServerData& operator=(CMsgGCCStrike15_v2_ClientRequestJoinServerData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestJoinServerData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestJoinServerData* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestJoinServerData& a, CMsgGCCStrike15_v2_ClientRequestJoinServerData& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* 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(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestJoinServerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { + CMsgGCCStrike15_v2_ClientRequestJoinServerData::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(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientRequestJoinServerData"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestJoinServerData(::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 { + kErrormsgFieldNumber = 7, + kResFieldNumber = 6, + kVersionFieldNumber = 1, + kAccountIdFieldNumber = 2, + kServeridFieldNumber = 3, + kServerIpFieldNumber = 4, + kServerPortFieldNumber = 5, + }; + // optional string errormsg = 7; + bool has_errormsg() const; + private: + bool _internal_has_errormsg() const; + public: + void clear_errormsg(); + const std::string& errormsg() const; + template + void set_errormsg(ArgT0&& arg0, ArgT... args); + std::string* mutable_errormsg(); + PROTOBUF_NODISCARD std::string* release_errormsg(); + void set_allocated_errormsg(std::string* errormsg); + private: + const std::string& _internal_errormsg() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_errormsg(const std::string& value); + std::string* _internal_mutable_errormsg(); + public: + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; + bool has_res() const; + private: + bool _internal_has_res() const; + public: + void clear_res(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_res(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_res(); + void set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_res() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_res(); + public: + void unsafe_arena_set_allocated_res( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_res(); + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 account_id = 2; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint64 serverid = 3; + bool has_serverid() const; + private: + bool _internal_has_serverid() const; + public: + void clear_serverid(); + uint64_t serverid() const; + void set_serverid(uint64_t value); + private: + uint64_t _internal_serverid() const; + void _internal_set_serverid(uint64_t value); + public: + + // optional uint32 server_ip = 4; + bool has_server_ip() const; + private: + bool _internal_has_server_ip() const; + public: + void clear_server_ip(); + uint32_t server_ip() const; + void set_server_ip(uint32_t value); + private: + uint32_t _internal_server_ip() const; + void _internal_set_server_ip(uint32_t value); + public: + + // optional uint32 server_port = 5; + bool has_server_port() const; + private: + bool _internal_has_server_port() const; + public: + void clear_server_port(); + uint32_t server_port() const; + void set_server_port(uint32_t value); + private: + uint32_t _internal_server_port() const; + void _internal_set_server_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestJoinServerData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr errormsg_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res_; + uint32_t version_; + uint32_t account_id_; + uint64_t serverid_; + uint32_t server_ip_; + uint32_t server_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCstrike15_v2_ClientRedeemMissionReward final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_ClientRedeemMissionReward) */ { + public: + inline CMsgGCCstrike15_v2_ClientRedeemMissionReward() : CMsgGCCstrike15_v2_ClientRedeemMissionReward(nullptr) {} + ~CMsgGCCstrike15_v2_ClientRedeemMissionReward() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionReward(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCstrike15_v2_ClientRedeemMissionReward(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from); + CMsgGCCstrike15_v2_ClientRedeemMissionReward(CMsgGCCstrike15_v2_ClientRedeemMissionReward&& from) noexcept + : CMsgGCCstrike15_v2_ClientRedeemMissionReward() { + *this = ::std::move(from); + } + + inline CMsgGCCstrike15_v2_ClientRedeemMissionReward& operator=(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCstrike15_v2_ClientRedeemMissionReward& operator=(CMsgGCCstrike15_v2_ClientRedeemMissionReward&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCstrike15_v2_ClientRedeemMissionReward& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCstrike15_v2_ClientRedeemMissionReward* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(CMsgGCCstrike15_v2_ClientRedeemMissionReward& a, CMsgGCCstrike15_v2_ClientRedeemMissionReward& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* 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(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCstrike15_v2_ClientRedeemMissionReward* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { + CMsgGCCstrike15_v2_ClientRedeemMissionReward::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(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCstrike15_v2_ClientRedeemMissionReward"; + } + protected: + explicit CMsgGCCstrike15_v2_ClientRedeemMissionReward(::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 { + kCampaignIdFieldNumber = 1, + kRedeemIdFieldNumber = 2, + kRedeemableBalanceFieldNumber = 3, + kExpectedCostFieldNumber = 4, + kBidControlFieldNumber = 5, + }; + // optional uint32 campaign_id = 1; + bool has_campaign_id() const; + private: + bool _internal_has_campaign_id() const; + public: + void clear_campaign_id(); + uint32_t campaign_id() const; + void set_campaign_id(uint32_t value); + private: + uint32_t _internal_campaign_id() const; + void _internal_set_campaign_id(uint32_t value); + public: + + // optional uint32 redeem_id = 2; + bool has_redeem_id() const; + private: + bool _internal_has_redeem_id() const; + public: + void clear_redeem_id(); + uint32_t redeem_id() const; + void set_redeem_id(uint32_t value); + private: + uint32_t _internal_redeem_id() const; + void _internal_set_redeem_id(uint32_t value); + public: + + // optional uint32 redeemable_balance = 3; + bool has_redeemable_balance() const; + private: + bool _internal_has_redeemable_balance() const; + public: + void clear_redeemable_balance(); + uint32_t redeemable_balance() const; + void set_redeemable_balance(uint32_t value); + private: + uint32_t _internal_redeemable_balance() const; + void _internal_set_redeemable_balance(uint32_t value); + public: + + // optional uint32 expected_cost = 4; + bool has_expected_cost() const; + private: + bool _internal_has_expected_cost() const; + public: + void clear_expected_cost(); + uint32_t expected_cost() const; + void set_expected_cost(uint32_t value); + private: + uint32_t _internal_expected_cost() const; + void _internal_set_expected_cost(uint32_t value); + public: + + // optional int32 bid_control = 5; + bool has_bid_control() const; + private: + bool _internal_has_bid_control() const; + public: + void clear_bid_control(); + int32_t bid_control() const; + void set_bid_control(int32_t value); + private: + int32_t _internal_bid_control() const; + void _internal_set_bid_control(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_ClientRedeemMissionReward) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t campaign_id_; + uint32_t redeem_id_; + uint32_t redeemable_balance_; + uint32_t expected_cost_; + int32_t bid_control_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCstrike15_v2_ClientRedeemFreeReward final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_ClientRedeemFreeReward) */ { + public: + inline CMsgGCCstrike15_v2_ClientRedeemFreeReward() : CMsgGCCstrike15_v2_ClientRedeemFreeReward(nullptr) {} + ~CMsgGCCstrike15_v2_ClientRedeemFreeReward() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeReward(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCstrike15_v2_ClientRedeemFreeReward(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from); + CMsgGCCstrike15_v2_ClientRedeemFreeReward(CMsgGCCstrike15_v2_ClientRedeemFreeReward&& from) noexcept + : CMsgGCCstrike15_v2_ClientRedeemFreeReward() { + *this = ::std::move(from); + } + + inline CMsgGCCstrike15_v2_ClientRedeemFreeReward& operator=(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCstrike15_v2_ClientRedeemFreeReward& operator=(CMsgGCCstrike15_v2_ClientRedeemFreeReward&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCstrike15_v2_ClientRedeemFreeReward& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCstrike15_v2_ClientRedeemFreeReward* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(CMsgGCCstrike15_v2_ClientRedeemFreeReward& a, CMsgGCCstrike15_v2_ClientRedeemFreeReward& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* 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(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCstrike15_v2_ClientRedeemFreeReward* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { + CMsgGCCstrike15_v2_ClientRedeemFreeReward::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(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCstrike15_v2_ClientRedeemFreeReward"; + } + protected: + explicit CMsgGCCstrike15_v2_ClientRedeemFreeReward(::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 { + kItemsFieldNumber = 3, + kGenerationTimeFieldNumber = 1, + kRedeemableBalanceFieldNumber = 2, + }; + // repeated uint64 items = 3; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + private: + uint64_t _internal_items(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_items() const; + void _internal_add_items(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_items(); + public: + uint64_t items(int index) const; + void set_items(int index, uint64_t value); + void add_items(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + items() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_items(); + + // optional uint32 generation_time = 1; + bool has_generation_time() const; + private: + bool _internal_has_generation_time() const; + public: + void clear_generation_time(); + uint32_t generation_time() const; + void set_generation_time(uint32_t value); + private: + uint32_t _internal_generation_time() const; + void _internal_set_generation_time(uint32_t value); + public: + + // optional uint32 redeemable_balance = 2; + bool has_redeemable_balance() const; + private: + bool _internal_has_redeemable_balance() const; + public: + void clear_redeemable_balance(); + uint32_t redeemable_balance() const; + void set_redeemable_balance(uint32_t value); + private: + uint32_t _internal_redeemable_balance() const; + void _internal_set_redeemable_balance(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_ClientRedeemFreeReward) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > items_; + uint32_t generation_time_; + uint32_t redeemable_balance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) */ { + public: + inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() : CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(nullptr) {} + ~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from); + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded&& from) noexcept + : CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() { + *this = ::std::move(from); + } + + inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& operator=(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& operator=(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_); + } + static constexpr int kIndexInFileMessages = + 64; + + friend void swap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& a, CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* 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(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { + CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::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(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded"; + } + protected: + explicit CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::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 { + kXpProgressDataFieldNumber = 1, + kAccountIdFieldNumber = 2, + kCurrentXpFieldNumber = 3, + kCurrentLevelFieldNumber = 4, + kUpgradedDefidxFieldNumber = 5, + kOperationPointsAwardedFieldNumber = 6, + kFreeRewardsFieldNumber = 7, + kXpTrailRemainingFieldNumber = 8, + kXpTrailXpNeededFieldNumber = 9, + kXpTrailLevelFieldNumber = 10, + }; + // repeated .XpProgressData xp_progress_data = 1; + int xp_progress_data_size() const; + private: + int _internal_xp_progress_data_size() const; + public: + void clear_xp_progress_data(); + ::XpProgressData* mutable_xp_progress_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* + mutable_xp_progress_data(); + private: + const ::XpProgressData& _internal_xp_progress_data(int index) const; + ::XpProgressData* _internal_add_xp_progress_data(); + public: + const ::XpProgressData& xp_progress_data(int index) const; + ::XpProgressData* add_xp_progress_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& + xp_progress_data() const; + + // optional uint32 account_id = 2; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 current_xp = 3; + bool has_current_xp() const; + private: + bool _internal_has_current_xp() const; + public: + void clear_current_xp(); + uint32_t current_xp() const; + void set_current_xp(uint32_t value); + private: + uint32_t _internal_current_xp() const; + void _internal_set_current_xp(uint32_t value); + public: + + // optional uint32 current_level = 4; + bool has_current_level() const; + private: + bool _internal_has_current_level() const; + public: + void clear_current_level(); + uint32_t current_level() const; + void set_current_level(uint32_t value); + private: + uint32_t _internal_current_level() const; + void _internal_set_current_level(uint32_t value); + public: + + // optional uint32 upgraded_defidx = 5; + bool has_upgraded_defidx() const; + private: + bool _internal_has_upgraded_defidx() const; + public: + void clear_upgraded_defidx(); + uint32_t upgraded_defidx() const; + void set_upgraded_defidx(uint32_t value); + private: + uint32_t _internal_upgraded_defidx() const; + void _internal_set_upgraded_defidx(uint32_t value); + public: + + // optional uint32 operation_points_awarded = 6; + bool has_operation_points_awarded() const; + private: + bool _internal_has_operation_points_awarded() const; + public: + void clear_operation_points_awarded(); + uint32_t operation_points_awarded() const; + void set_operation_points_awarded(uint32_t value); + private: + uint32_t _internal_operation_points_awarded() const; + void _internal_set_operation_points_awarded(uint32_t value); + public: + + // optional uint32 free_rewards = 7; + bool has_free_rewards() const; + private: + bool _internal_has_free_rewards() const; + public: + void clear_free_rewards(); + uint32_t free_rewards() const; + void set_free_rewards(uint32_t value); + private: + uint32_t _internal_free_rewards() const; + void _internal_set_free_rewards(uint32_t value); + public: + + // optional uint32 xp_trail_remaining = 8; + bool has_xp_trail_remaining() const; + private: + bool _internal_has_xp_trail_remaining() const; + public: + void clear_xp_trail_remaining(); + uint32_t xp_trail_remaining() const; + void set_xp_trail_remaining(uint32_t value); + private: + uint32_t _internal_xp_trail_remaining() const; + void _internal_set_xp_trail_remaining(uint32_t value); + public: + + // optional int32 xp_trail_xp_needed = 9; + bool has_xp_trail_xp_needed() const; + private: + bool _internal_has_xp_trail_xp_needed() const; + public: + void clear_xp_trail_xp_needed(); + int32_t xp_trail_xp_needed() const; + void set_xp_trail_xp_needed(int32_t value); + private: + int32_t _internal_xp_trail_xp_needed() const; + void _internal_set_xp_trail_xp_needed(int32_t value); + public: + + // optional uint32 xp_trail_level = 10; + bool has_xp_trail_level() const; + private: + bool _internal_has_xp_trail_level() const; + public: + void clear_xp_trail_level(); + uint32_t xp_trail_level() const; + void set_xp_trail_level(uint32_t value); + private: + uint32_t _internal_xp_trail_level() const; + void _internal_set_xp_trail_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData > xp_progress_data_; + uint32_t account_id_; + uint32_t current_xp_; + uint32_t current_level_; + uint32_t upgraded_defidx_; + uint32_t operation_points_awarded_; + uint32_t free_rewards_; + uint32_t xp_trail_remaining_; + int32_t xp_trail_xp_needed_; + uint32_t xp_trail_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientNetworkConfig final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientNetworkConfig) */ { + public: + inline CMsgGCCStrike15_v2_ClientNetworkConfig() : CMsgGCCStrike15_v2_ClientNetworkConfig(nullptr) {} + ~CMsgGCCStrike15_v2_ClientNetworkConfig() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientNetworkConfig(const CMsgGCCStrike15_v2_ClientNetworkConfig& from); + CMsgGCCStrike15_v2_ClientNetworkConfig(CMsgGCCStrike15_v2_ClientNetworkConfig&& from) noexcept + : CMsgGCCStrike15_v2_ClientNetworkConfig() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientNetworkConfig& operator=(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientNetworkConfig& operator=(CMsgGCCStrike15_v2_ClientNetworkConfig&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientNetworkConfig& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientNetworkConfig* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = + 65; + + friend void swap(CMsgGCCStrike15_v2_ClientNetworkConfig& a, CMsgGCCStrike15_v2_ClientNetworkConfig& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientNetworkConfig* 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(CMsgGCCStrike15_v2_ClientNetworkConfig* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientNetworkConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientNetworkConfig& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { + CMsgGCCStrike15_v2_ClientNetworkConfig::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(CMsgGCCStrike15_v2_ClientNetworkConfig* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientNetworkConfig"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientNetworkConfig(::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 { + kDataFieldNumber = 1, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientNetworkConfig) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) */ { + public: + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() : CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(nullptr) {} + ~CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from); + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange&& from) noexcept + : CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& operator=(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& operator=(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& a, CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* 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(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { + CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::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(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_ClientDeepStats.DeepStatsRange"; + } + protected: + explicit CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::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 { + kBeginFieldNumber = 1, + kEndFieldNumber = 2, + kFrozenFieldNumber = 3, + }; + // optional uint32 begin = 1; + bool has_begin() const; + private: + bool _internal_has_begin() const; + public: + void clear_begin(); + uint32_t begin() const; + void set_begin(uint32_t value); + private: + uint32_t _internal_begin() const; + void _internal_set_begin(uint32_t value); + public: + + // optional uint32 end = 2; + bool has_end() const; + private: + bool _internal_has_end() const; + public: + void clear_end(); + uint32_t end() const; + void set_end(uint32_t value); + private: + uint32_t _internal_end() const; + void _internal_set_end(uint32_t value); + public: + + // optional bool frozen = 3; + bool has_frozen() const; + private: + bool _internal_has_frozen() const; + public: + void clear_frozen(); + bool frozen() const; + void set_frozen(bool value); + private: + bool _internal_frozen() const; + void _internal_set_frozen(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t begin_; + uint32_t end_; + bool frozen_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) */ { + public: + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() : CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(nullptr) {} + ~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from); + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch&& from) noexcept + : CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& operator=(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& operator=(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_); + } + static constexpr int kIndexInFileMessages = + 67; + + friend void swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& a, CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* 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(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { + CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::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(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch"; + } + protected: + explicit CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::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 { + kEventsFieldNumber = 2, + kPlayerFieldNumber = 1, + }; + // repeated .DeepPlayerMatchEvent events = 2; + int events_size() const; + private: + int _internal_events_size() const; + public: + void clear_events(); + ::DeepPlayerMatchEvent* mutable_events(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >* + mutable_events(); + private: + const ::DeepPlayerMatchEvent& _internal_events(int index) const; + ::DeepPlayerMatchEvent* _internal_add_events(); + public: + const ::DeepPlayerMatchEvent& events(int index) const; + ::DeepPlayerMatchEvent* add_events(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >& + events() const; + + // optional .DeepPlayerStatsEntry player = 1; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::DeepPlayerStatsEntry& player() const; + PROTOBUF_NODISCARD ::DeepPlayerStatsEntry* release_player(); + ::DeepPlayerStatsEntry* mutable_player(); + void set_allocated_player(::DeepPlayerStatsEntry* player); + private: + const ::DeepPlayerStatsEntry& _internal_player() const; + ::DeepPlayerStatsEntry* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::DeepPlayerStatsEntry* player); + ::DeepPlayerStatsEntry* unsafe_arena_release_player(); + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent > events_; + ::DeepPlayerStatsEntry* player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_ClientDeepStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats) */ { + public: + inline CMsgGCCStrike15_ClientDeepStats() : CMsgGCCStrike15_ClientDeepStats(nullptr) {} + ~CMsgGCCStrike15_ClientDeepStats() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_ClientDeepStats(const CMsgGCCStrike15_ClientDeepStats& from); + CMsgGCCStrike15_ClientDeepStats(CMsgGCCStrike15_ClientDeepStats&& from) noexcept + : CMsgGCCStrike15_ClientDeepStats() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_ClientDeepStats& operator=(const CMsgGCCStrike15_ClientDeepStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_ClientDeepStats& operator=(CMsgGCCStrike15_ClientDeepStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_ClientDeepStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_ClientDeepStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_ClientDeepStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(CMsgGCCStrike15_ClientDeepStats& a, CMsgGCCStrike15_ClientDeepStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_ClientDeepStats* 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(CMsgGCCStrike15_ClientDeepStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_ClientDeepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_ClientDeepStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_ClientDeepStats& from) { + CMsgGCCStrike15_ClientDeepStats::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(CMsgGCCStrike15_ClientDeepStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_ClientDeepStats"; + } + protected: + explicit CMsgGCCStrike15_ClientDeepStats(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_ClientDeepStats_DeepStatsRange DeepStatsRange; + typedef CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch DeepStatsMatch; + + // accessors ------------------------------------------------------- + + enum : int { + kMatchesFieldNumber = 3, + kRangeFieldNumber = 2, + kAccountIdFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; + int matches_size() const; + private: + int _internal_matches_size() const; + public: + void clear_matches(); + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* mutable_matches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >* + mutable_matches(); + private: + const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& _internal_matches(int index) const; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* _internal_add_matches(); + public: + const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& matches(int index) const; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* add_matches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >& + matches() const; + + // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; + bool has_range() const; + private: + bool _internal_has_range() const; + public: + void clear_range(); + const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& range() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* release_range(); + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* mutable_range(); + void set_allocated_range(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range); + private: + const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& _internal_range() const; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* _internal_mutable_range(); + public: + void unsafe_arena_set_allocated_range( + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range); + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* unsafe_arena_release_range(); + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch > matches_; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range_; + uint32_t account_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_WatchInfoUsers final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_WatchInfoUsers) */ { + public: + inline CMsgGCCStrike15_v2_WatchInfoUsers() : CMsgGCCStrike15_v2_WatchInfoUsers(nullptr) {} + ~CMsgGCCStrike15_v2_WatchInfoUsers() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_WatchInfoUsers(const CMsgGCCStrike15_v2_WatchInfoUsers& from); + CMsgGCCStrike15_v2_WatchInfoUsers(CMsgGCCStrike15_v2_WatchInfoUsers&& from) noexcept + : CMsgGCCStrike15_v2_WatchInfoUsers() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_WatchInfoUsers& operator=(const CMsgGCCStrike15_v2_WatchInfoUsers& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_WatchInfoUsers& operator=(CMsgGCCStrike15_v2_WatchInfoUsers&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_WatchInfoUsers& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_WatchInfoUsers* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(CMsgGCCStrike15_v2_WatchInfoUsers& a, CMsgGCCStrike15_v2_WatchInfoUsers& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_WatchInfoUsers* 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(CMsgGCCStrike15_v2_WatchInfoUsers* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_WatchInfoUsers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_WatchInfoUsers& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_WatchInfoUsers& from) { + CMsgGCCStrike15_v2_WatchInfoUsers::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(CMsgGCCStrike15_v2_WatchInfoUsers* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_WatchInfoUsers"; + } + protected: + explicit CMsgGCCStrike15_v2_WatchInfoUsers(::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 { + kAccountIdsFieldNumber = 2, + kWatchableMatchInfosFieldNumber = 3, + kRequestIdFieldNumber = 1, + kExtendedTimeoutFieldNumber = 5, + }; + // repeated uint32 account_ids = 2; + int account_ids_size() const; + private: + int _internal_account_ids_size() const; + public: + void clear_account_ids(); + private: + uint32_t _internal_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_account_ids() const; + void _internal_add_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_account_ids(); + public: + uint32_t account_ids(int index) const; + void set_account_ids(int index, uint32_t value); + void add_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_account_ids(); + + // repeated .WatchableMatchInfo watchable_match_infos = 3; + int watchable_match_infos_size() const; + private: + int _internal_watchable_match_infos_size() const; + public: + void clear_watchable_match_infos(); + ::WatchableMatchInfo* mutable_watchable_match_infos(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >* + mutable_watchable_match_infos(); + private: + const ::WatchableMatchInfo& _internal_watchable_match_infos(int index) const; + ::WatchableMatchInfo* _internal_add_watchable_match_infos(); + public: + const ::WatchableMatchInfo& watchable_match_infos(int index) const; + ::WatchableMatchInfo* add_watchable_match_infos(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >& + watchable_match_infos() const; + + // optional uint32 request_id = 1; + bool has_request_id() const; + private: + bool _internal_has_request_id() const; + public: + void clear_request_id(); + uint32_t request_id() const; + void set_request_id(uint32_t value); + private: + uint32_t _internal_request_id() const; + void _internal_set_request_id(uint32_t value); + public: + + // optional uint32 extended_timeout = 5; + bool has_extended_timeout() const; + private: + bool _internal_has_extended_timeout() const; + public: + void clear_extended_timeout(); + uint32_t extended_timeout() const; + void set_extended_timeout(uint32_t value); + private: + uint32_t _internal_extended_timeout() const; + void _internal_set_extended_timeout(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_WatchInfoUsers) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo > watchable_match_infos_; + uint32_t request_id_; + uint32_t extended_timeout_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestPlayersProfile final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile() : CMsgGCCStrike15_v2_ClientRequestPlayersProfile(nullptr) {} + ~CMsgGCCStrike15_v2_ClientRequestPlayersProfile() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestPlayersProfile(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from); + CMsgGCCStrike15_v2_ClientRequestPlayersProfile(CMsgGCCStrike15_v2_ClientRequestPlayersProfile&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestPlayersProfile() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile& operator=(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile& operator=(CMsgGCCStrike15_v2_ClientRequestPlayersProfile&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestPlayersProfile& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestPlayersProfile* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile& a, CMsgGCCStrike15_v2_ClientRequestPlayersProfile& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* 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(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestPlayersProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { + CMsgGCCStrike15_v2_ClientRequestPlayersProfile::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(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientRequestPlayersProfile"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::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 { + kAccountIdsDeprecatedFieldNumber = 2, + kRequestIdDeprecatedFieldNumber = 1, + kAccountIdFieldNumber = 3, + kRequestLevelFieldNumber = 4, + }; + // repeated uint32 account_ids__deprecated = 2; + int account_ids__deprecated_size() const; + private: + int _internal_account_ids__deprecated_size() const; + public: + void clear_account_ids__deprecated(); + private: + uint32_t _internal_account_ids__deprecated(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_account_ids__deprecated() const; + void _internal_add_account_ids__deprecated(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_account_ids__deprecated(); + public: + uint32_t account_ids__deprecated(int index) const; + void set_account_ids__deprecated(int index, uint32_t value); + void add_account_ids__deprecated(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + account_ids__deprecated() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_account_ids__deprecated(); + + // optional uint32 request_id__deprecated = 1; + bool has_request_id__deprecated() const; + private: + bool _internal_has_request_id__deprecated() const; + public: + void clear_request_id__deprecated(); + uint32_t request_id__deprecated() const; + void set_request_id__deprecated(uint32_t value); + private: + uint32_t _internal_request_id__deprecated() const; + void _internal_set_request_id__deprecated(uint32_t value); + public: + + // optional uint32 account_id = 3; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 request_level = 4; + bool has_request_level() const; + private: + bool _internal_has_request_level() const; + public: + void clear_request_level(); + uint32_t request_level() const; + void set_request_level(uint32_t value); + private: + uint32_t _internal_request_level() const; + void _internal_set_request_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids__deprecated_; + uint32_t request_id__deprecated_; + uint32_t account_id_; + uint32_t request_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PlayersProfile final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayersProfile) */ { + public: + inline CMsgGCCStrike15_v2_PlayersProfile() : CMsgGCCStrike15_v2_PlayersProfile(nullptr) {} + ~CMsgGCCStrike15_v2_PlayersProfile() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PlayersProfile(const CMsgGCCStrike15_v2_PlayersProfile& from); + CMsgGCCStrike15_v2_PlayersProfile(CMsgGCCStrike15_v2_PlayersProfile&& from) noexcept + : CMsgGCCStrike15_v2_PlayersProfile() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PlayersProfile& operator=(const CMsgGCCStrike15_v2_PlayersProfile& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PlayersProfile& operator=(CMsgGCCStrike15_v2_PlayersProfile&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PlayersProfile& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PlayersProfile* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PlayersProfile_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(CMsgGCCStrike15_v2_PlayersProfile& a, CMsgGCCStrike15_v2_PlayersProfile& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PlayersProfile* 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(CMsgGCCStrike15_v2_PlayersProfile* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PlayersProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PlayersProfile& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PlayersProfile& from) { + CMsgGCCStrike15_v2_PlayersProfile::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(CMsgGCCStrike15_v2_PlayersProfile* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PlayersProfile"; + } + protected: + explicit CMsgGCCStrike15_v2_PlayersProfile(::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 { + kAccountProfilesFieldNumber = 2, + kRequestIdFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; + int account_profiles_size() const; + private: + int _internal_account_profiles_size() const; + public: + void clear_account_profiles(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* mutable_account_profiles(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >* + mutable_account_profiles(); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& _internal_account_profiles(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* _internal_add_account_profiles(); + public: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& account_profiles(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* add_account_profiles(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >& + account_profiles() const; + + // optional uint32 request_id = 1; + bool has_request_id() const; + private: + bool _internal_has_request_id() const; + public: + void clear_request_id(); + uint32_t request_id() const; + void set_request_id(uint32_t value); + private: + uint32_t _internal_request_id() const; + void _internal_set_request_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayersProfile) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello > account_profiles_; + uint32_t request_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) */ { + public: + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(nullptr) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from); + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek&& from) noexcept + : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& a, CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* 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(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::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(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek"; + } + protected: + explicit CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::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 { + kWeekIdFieldNumber = 1, + kRankIdFieldNumber = 2, + kMatchesPlayedFieldNumber = 3, + }; + // optional uint64 week_id = 1; + bool has_week_id() const; + private: + bool _internal_has_week_id() const; + public: + void clear_week_id(); + uint64_t week_id() const; + void set_week_id(uint64_t value); + private: + uint64_t _internal_week_id() const; + void _internal_set_week_id(uint64_t value); + public: + + // optional uint32 rank_id = 2; + bool has_rank_id() const; + private: + bool _internal_has_rank_id() const; + public: + void clear_rank_id(); + uint32_t rank_id() const; + void set_rank_id(uint32_t value); + private: + uint32_t _internal_rank_id() const; + void _internal_set_rank_id(uint32_t value); + public: + + // optional uint32 matches_played = 3; + bool has_matches_played() const; + private: + bool _internal_has_matches_played() const; + public: + void clear_matches_played(); + uint32_t matches_played() const; + void set_matches_played(uint32_t value); + private: + uint32_t _internal_matches_played() const; + void _internal_set_matches_played(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t week_id_; + uint32_t rank_id_; + uint32_t matches_played_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) */ { + public: + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(nullptr) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from); + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap&& from) noexcept + : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& a, CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* 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(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { + CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::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(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap"; + } + protected: + explicit CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::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 { + kMapIdFieldNumber = 1, + kWinsFieldNumber = 2, + kTiesFieldNumber = 3, + kLossesFieldNumber = 4, + kRoundsFieldNumber = 5, + kKillsFieldNumber = 6, + kHeadshotsFieldNumber = 7, + kAssistsFieldNumber = 8, + kDeathsFieldNumber = 9, + kMvpsFieldNumber = 10, + kRounds3KFieldNumber = 11, + kRounds4KFieldNumber = 12, + kRounds5KFieldNumber = 13, + }; + // optional uint32 map_id = 1; + bool has_map_id() const; + private: + bool _internal_has_map_id() const; + public: + void clear_map_id(); + uint32_t map_id() const; + void set_map_id(uint32_t value); + private: + uint32_t _internal_map_id() const; + void _internal_set_map_id(uint32_t value); + public: + + // optional uint32 wins = 2; + bool has_wins() const; + private: + bool _internal_has_wins() const; + public: + void clear_wins(); + uint32_t wins() const; + void set_wins(uint32_t value); + private: + uint32_t _internal_wins() const; + void _internal_set_wins(uint32_t value); + public: + + // optional uint32 ties = 3; + bool has_ties() const; + private: + bool _internal_has_ties() const; + public: + void clear_ties(); + uint32_t ties() const; + void set_ties(uint32_t value); + private: + uint32_t _internal_ties() const; + void _internal_set_ties(uint32_t value); + public: + + // optional uint32 losses = 4; + bool has_losses() const; + private: + bool _internal_has_losses() const; + public: + void clear_losses(); + uint32_t losses() const; + void set_losses(uint32_t value); + private: + uint32_t _internal_losses() const; + void _internal_set_losses(uint32_t value); + public: + + // optional uint32 rounds = 5; + bool has_rounds() const; + private: + bool _internal_has_rounds() const; + public: + void clear_rounds(); + uint32_t rounds() const; + void set_rounds(uint32_t value); + private: + uint32_t _internal_rounds() const; + void _internal_set_rounds(uint32_t value); + public: + + // optional uint32 kills = 6; + bool has_kills() const; + private: + bool _internal_has_kills() const; + public: + void clear_kills(); + uint32_t kills() const; + void set_kills(uint32_t value); + private: + uint32_t _internal_kills() const; + void _internal_set_kills(uint32_t value); + public: + + // optional uint32 headshots = 7; + bool has_headshots() const; + private: + bool _internal_has_headshots() const; + public: + void clear_headshots(); + uint32_t headshots() const; + void set_headshots(uint32_t value); + private: + uint32_t _internal_headshots() const; + void _internal_set_headshots(uint32_t value); + public: + + // optional uint32 assists = 8; + bool has_assists() const; + private: + bool _internal_has_assists() const; + public: + void clear_assists(); + uint32_t assists() const; + void set_assists(uint32_t value); + private: + uint32_t _internal_assists() const; + void _internal_set_assists(uint32_t value); + public: + + // optional uint32 deaths = 9; + bool has_deaths() const; + private: + bool _internal_has_deaths() const; + public: + void clear_deaths(); + uint32_t deaths() const; + void set_deaths(uint32_t value); + private: + uint32_t _internal_deaths() const; + void _internal_set_deaths(uint32_t value); + public: + + // optional uint32 mvps = 10; + bool has_mvps() const; + private: + bool _internal_has_mvps() const; + public: + void clear_mvps(); + uint32_t mvps() const; + void set_mvps(uint32_t value); + private: + uint32_t _internal_mvps() const; + void _internal_set_mvps(uint32_t value); + public: + + // optional uint32 rounds_3k = 11; + bool has_rounds_3k() const; + private: + bool _internal_has_rounds_3k() const; + public: + void clear_rounds_3k(); + uint32_t rounds_3k() const; + void set_rounds_3k(uint32_t value); + private: + uint32_t _internal_rounds_3k() const; + void _internal_set_rounds_3k(uint32_t value); + public: + + // optional uint32 rounds_4k = 12; + bool has_rounds_4k() const; + private: + bool _internal_has_rounds_4k() const; + public: + void clear_rounds_4k(); + uint32_t rounds_4k() const; + void set_rounds_4k(uint32_t value); + private: + uint32_t _internal_rounds_4k() const; + void _internal_set_rounds_4k(uint32_t value); + public: + + // optional uint32 rounds_5k = 13; + bool has_rounds_5k() const; + private: + bool _internal_has_rounds_5k() const; + public: + void clear_rounds_5k(); + uint32_t rounds_5k() const; + void set_rounds_5k(uint32_t value); + private: + uint32_t _internal_rounds_5k() const; + void _internal_set_rounds_5k(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t map_id_; + uint32_t wins_; + uint32_t ties_; + uint32_t losses_; + uint32_t rounds_; + uint32_t kills_; + uint32_t headshots_; + uint32_t assists_; + uint32_t deaths_; + uint32_t mvps_; + uint32_t rounds_3k_; + uint32_t rounds_4k_; + uint32_t rounds_5k_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PremierSeasonSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary) */ { + public: + inline CMsgGCCStrike15_v2_PremierSeasonSummary() : CMsgGCCStrike15_v2_PremierSeasonSummary(nullptr) {} + ~CMsgGCCStrike15_v2_PremierSeasonSummary() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PremierSeasonSummary(const CMsgGCCStrike15_v2_PremierSeasonSummary& from); + CMsgGCCStrike15_v2_PremierSeasonSummary(CMsgGCCStrike15_v2_PremierSeasonSummary&& from) noexcept + : CMsgGCCStrike15_v2_PremierSeasonSummary() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PremierSeasonSummary& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PremierSeasonSummary& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PremierSeasonSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PremierSeasonSummary* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary& a, CMsgGCCStrike15_v2_PremierSeasonSummary& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary* 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(CMsgGCCStrike15_v2_PremierSeasonSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PremierSeasonSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { + CMsgGCCStrike15_v2_PremierSeasonSummary::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(CMsgGCCStrike15_v2_PremierSeasonSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PremierSeasonSummary"; + } + protected: + explicit CMsgGCCStrike15_v2_PremierSeasonSummary(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek DataPerWeek; + typedef CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap DataPerMap; + + // accessors ------------------------------------------------------- + + enum : int { + kDataPerWeekFieldNumber = 3, + kDataPerMapFieldNumber = 4, + kAccountIdFieldNumber = 1, + kSeasonIdFieldNumber = 2, + }; + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; + int data_per_week_size() const; + private: + int _internal_data_per_week_size() const; + public: + void clear_data_per_week(); + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* mutable_data_per_week(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >* + mutable_data_per_week(); + private: + const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& _internal_data_per_week(int index) const; + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* _internal_add_data_per_week(); + public: + const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& data_per_week(int index) const; + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* add_data_per_week(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >& + data_per_week() const; + + // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; + int data_per_map_size() const; + private: + int _internal_data_per_map_size() const; + public: + void clear_data_per_map(); + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* mutable_data_per_map(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >* + mutable_data_per_map(); + private: + const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& _internal_data_per_map(int index) const; + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* _internal_add_data_per_map(); + public: + const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& data_per_map(int index) const; + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* add_data_per_map(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >& + data_per_map() const; + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 season_id = 2; + bool has_season_id() const; + private: + bool _internal_has_season_id() const; + public: + void clear_season_id(); + uint32_t season_id() const; + void set_season_id(uint32_t value); + private: + uint32_t _internal_season_id() const; + void _internal_set_season_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek > data_per_week_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap > data_per_map_; + uint32_t account_id_; + uint32_t season_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) */ { + public: + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() : CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(nullptr) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from); + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate&& from) noexcept + : CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 75; + + friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* 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(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { + CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::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(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate"; + } + protected: + explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::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 { + kCaseidFieldNumber = 1, + kSuspectidFieldNumber = 3, + kFractionidFieldNumber = 4, + kRptAimbotFieldNumber = 5, + kRptWallhackFieldNumber = 6, + kRptSpeedhackFieldNumber = 7, + kRptTeamharmFieldNumber = 8, + kReasonFieldNumber = 9, + }; + // optional uint64 caseid = 1; + bool has_caseid() const; + private: + bool _internal_has_caseid() const; + public: + void clear_caseid(); + uint64_t caseid() const; + void set_caseid(uint64_t value); + private: + uint64_t _internal_caseid() const; + void _internal_set_caseid(uint64_t value); + public: + + // optional uint32 suspectid = 3; + bool has_suspectid() const; + private: + bool _internal_has_suspectid() const; + public: + void clear_suspectid(); + uint32_t suspectid() const; + void set_suspectid(uint32_t value); + private: + uint32_t _internal_suspectid() const; + void _internal_set_suspectid(uint32_t value); + public: + + // optional uint32 fractionid = 4; + bool has_fractionid() const; + private: + bool _internal_has_fractionid() const; + public: + void clear_fractionid(); + uint32_t fractionid() const; + void set_fractionid(uint32_t value); + private: + uint32_t _internal_fractionid() const; + void _internal_set_fractionid(uint32_t value); + public: + + // optional uint32 rpt_aimbot = 5; + bool has_rpt_aimbot() const; + private: + bool _internal_has_rpt_aimbot() const; + public: + void clear_rpt_aimbot(); + uint32_t rpt_aimbot() const; + void set_rpt_aimbot(uint32_t value); + private: + uint32_t _internal_rpt_aimbot() const; + void _internal_set_rpt_aimbot(uint32_t value); + public: + + // optional uint32 rpt_wallhack = 6; + bool has_rpt_wallhack() const; + private: + bool _internal_has_rpt_wallhack() const; + public: + void clear_rpt_wallhack(); + uint32_t rpt_wallhack() const; + void set_rpt_wallhack(uint32_t value); + private: + uint32_t _internal_rpt_wallhack() const; + void _internal_set_rpt_wallhack(uint32_t value); + public: + + // optional uint32 rpt_speedhack = 7; + bool has_rpt_speedhack() const; + private: + bool _internal_has_rpt_speedhack() const; + public: + void clear_rpt_speedhack(); + uint32_t rpt_speedhack() const; + void set_rpt_speedhack(uint32_t value); + private: + uint32_t _internal_rpt_speedhack() const; + void _internal_set_rpt_speedhack(uint32_t value); + public: + + // optional uint32 rpt_teamharm = 8; + bool has_rpt_teamharm() const; + private: + bool _internal_has_rpt_teamharm() const; + public: + void clear_rpt_teamharm(); + uint32_t rpt_teamharm() const; + void set_rpt_teamharm(uint32_t value); + private: + uint32_t _internal_rpt_teamharm() const; + void _internal_set_rpt_teamharm(uint32_t value); + public: + + // optional uint32 reason = 9; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + uint32_t reason() const; + void set_reason(uint32_t value); + private: + uint32_t _internal_reason() const; + void _internal_set_reason(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t caseid_; + uint32_t suspectid_; + uint32_t fractionid_; + uint32_t rpt_aimbot_; + uint32_t rpt_wallhack_; + uint32_t rpt_speedhack_; + uint32_t rpt_teamharm_; + uint32_t reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) */ { + public: + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() : CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(nullptr) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from); + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment&& from) noexcept + : CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 76; + + friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* 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(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { + CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::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(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment"; + } + protected: + explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::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 { + kCaseurlFieldNumber = 2, + kCaseidFieldNumber = 1, + kVerdictFieldNumber = 3, + kTimestampFieldNumber = 4, + kThrottlesecondsFieldNumber = 5, + kSuspectidFieldNumber = 6, + kFractionidFieldNumber = 7, + kNumroundsFieldNumber = 8, + kFractionroundsFieldNumber = 9, + kStreakconvictionsFieldNumber = 10, + kReasonFieldNumber = 11, + }; + // optional string caseurl = 2; + bool has_caseurl() const; + private: + bool _internal_has_caseurl() const; + public: + void clear_caseurl(); + const std::string& caseurl() const; + template + void set_caseurl(ArgT0&& arg0, ArgT... args); + std::string* mutable_caseurl(); + PROTOBUF_NODISCARD std::string* release_caseurl(); + void set_allocated_caseurl(std::string* caseurl); + private: + const std::string& _internal_caseurl() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_caseurl(const std::string& value); + std::string* _internal_mutable_caseurl(); + public: + + // optional uint64 caseid = 1; + bool has_caseid() const; + private: + bool _internal_has_caseid() const; + public: + void clear_caseid(); + uint64_t caseid() const; + void set_caseid(uint64_t value); + private: + uint64_t _internal_caseid() const; + void _internal_set_caseid(uint64_t value); + public: + + // optional uint32 verdict = 3; + bool has_verdict() const; + private: + bool _internal_has_verdict() const; + public: + void clear_verdict(); + uint32_t verdict() const; + void set_verdict(uint32_t value); + private: + uint32_t _internal_verdict() const; + void _internal_set_verdict(uint32_t value); + public: + + // optional uint32 timestamp = 4; + bool has_timestamp() const; + private: + bool _internal_has_timestamp() const; + public: + void clear_timestamp(); + uint32_t timestamp() const; + void set_timestamp(uint32_t value); + private: + uint32_t _internal_timestamp() const; + void _internal_set_timestamp(uint32_t value); + public: + + // optional uint32 throttleseconds = 5; + bool has_throttleseconds() const; + private: + bool _internal_has_throttleseconds() const; + public: + void clear_throttleseconds(); + uint32_t throttleseconds() const; + void set_throttleseconds(uint32_t value); + private: + uint32_t _internal_throttleseconds() const; + void _internal_set_throttleseconds(uint32_t value); + public: + + // optional uint32 suspectid = 6; + bool has_suspectid() const; + private: + bool _internal_has_suspectid() const; + public: + void clear_suspectid(); + uint32_t suspectid() const; + void set_suspectid(uint32_t value); + private: + uint32_t _internal_suspectid() const; + void _internal_set_suspectid(uint32_t value); + public: + + // optional uint32 fractionid = 7; + bool has_fractionid() const; + private: + bool _internal_has_fractionid() const; + public: + void clear_fractionid(); + uint32_t fractionid() const; + void set_fractionid(uint32_t value); + private: + uint32_t _internal_fractionid() const; + void _internal_set_fractionid(uint32_t value); + public: + + // optional uint32 numrounds = 8; + bool has_numrounds() const; + private: + bool _internal_has_numrounds() const; + public: + void clear_numrounds(); + uint32_t numrounds() const; + void set_numrounds(uint32_t value); + private: + uint32_t _internal_numrounds() const; + void _internal_set_numrounds(uint32_t value); + public: + + // optional uint32 fractionrounds = 9; + bool has_fractionrounds() const; + private: + bool _internal_has_fractionrounds() const; + public: + void clear_fractionrounds(); + uint32_t fractionrounds() const; + void set_fractionrounds(uint32_t value); + private: + uint32_t _internal_fractionrounds() const; + void _internal_set_fractionrounds(uint32_t value); + public: + + // optional int32 streakconvictions = 10; + bool has_streakconvictions() const; + private: + bool _internal_has_streakconvictions() const; + public: + void clear_streakconvictions(); + int32_t streakconvictions() const; + void set_streakconvictions(int32_t value); + private: + int32_t _internal_streakconvictions() const; + void _internal_set_streakconvictions(int32_t value); + public: + + // optional uint32 reason = 11; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + uint32_t reason() const; + void set_reason(uint32_t value); + private: + uint32_t _internal_reason() const; + void _internal_set_reason(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caseurl_; + uint64_t caseid_; + uint32_t verdict_; + uint32_t timestamp_; + uint32_t throttleseconds_; + uint32_t suspectid_; + uint32_t fractionid_; + uint32_t numrounds_; + uint32_t fractionrounds_; + int32_t streakconvictions_; + uint32_t reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) */ { + public: + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() : CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(nullptr) {} + ~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from); + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus&& from) noexcept + : CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 77; + + friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* 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(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { + CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::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(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus"; + } + protected: + explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::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 { + kCaseidFieldNumber = 1, + kStatusidFieldNumber = 2, + }; + // optional uint64 caseid = 1; + bool has_caseid() const; + private: + bool _internal_has_caseid() const; + public: + void clear_caseid(); + uint64_t caseid() const; + void set_caseid(uint64_t value); + private: + uint64_t _internal_caseid() const; + void _internal_set_caseid(uint64_t value); + public: + + // optional uint32 statusid = 2; + bool has_statusid() const; + private: + bool _internal_has_statusid() const; + public: + void clear_statusid(); + uint32_t statusid() const; + void set_statusid(uint32_t value); + private: + uint32_t _internal_statusid() const; + void _internal_set_statusid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t caseid_; + uint32_t statusid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CClientHeaderOverwatchEvidence final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientHeaderOverwatchEvidence) */ { + public: + inline CClientHeaderOverwatchEvidence() : CClientHeaderOverwatchEvidence(nullptr) {} + ~CClientHeaderOverwatchEvidence() override; + explicit PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidence(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CClientHeaderOverwatchEvidence(const CClientHeaderOverwatchEvidence& from); + CClientHeaderOverwatchEvidence(CClientHeaderOverwatchEvidence&& from) noexcept + : CClientHeaderOverwatchEvidence() { + *this = ::std::move(from); + } + + inline CClientHeaderOverwatchEvidence& operator=(const CClientHeaderOverwatchEvidence& from) { + CopyFrom(from); + return *this; + } + inline CClientHeaderOverwatchEvidence& operator=(CClientHeaderOverwatchEvidence&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CClientHeaderOverwatchEvidence& default_instance() { + return *internal_default_instance(); + } + static inline const CClientHeaderOverwatchEvidence* internal_default_instance() { + return reinterpret_cast( + &_CClientHeaderOverwatchEvidence_default_instance_); + } + static constexpr int kIndexInFileMessages = + 78; + + friend void swap(CClientHeaderOverwatchEvidence& a, CClientHeaderOverwatchEvidence& b) { + a.Swap(&b); + } + inline void Swap(CClientHeaderOverwatchEvidence* 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(CClientHeaderOverwatchEvidence* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CClientHeaderOverwatchEvidence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CClientHeaderOverwatchEvidence& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CClientHeaderOverwatchEvidence& from) { + CClientHeaderOverwatchEvidence::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(CClientHeaderOverwatchEvidence* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CClientHeaderOverwatchEvidence"; + } + protected: + explicit CClientHeaderOverwatchEvidence(::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 { + kCaseidFieldNumber = 2, + kAccountidFieldNumber = 1, + }; + // optional uint64 caseid = 2; + bool has_caseid() const; + private: + bool _internal_has_caseid() const; + public: + void clear_caseid(); + uint64_t caseid() const; + void set_caseid(uint64_t value); + private: + uint64_t _internal_caseid() const; + void _internal_set_caseid(uint64_t value); + public: + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CClientHeaderOverwatchEvidence) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t caseid_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientTextMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientTextMsg) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientTextMsg() : CMsgGCCStrike15_v2_GC2ClientTextMsg(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientTextMsg() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientTextMsg(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from); + CMsgGCCStrike15_v2_GC2ClientTextMsg(CMsgGCCStrike15_v2_GC2ClientTextMsg&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientTextMsg() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientTextMsg& operator=(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientTextMsg& operator=(CMsgGCCStrike15_v2_GC2ClientTextMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientTextMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientTextMsg* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 79; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientTextMsg& a, CMsgGCCStrike15_v2_GC2ClientTextMsg& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientTextMsg* 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(CMsgGCCStrike15_v2_GC2ClientTextMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { + CMsgGCCStrike15_v2_GC2ClientTextMsg::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(CMsgGCCStrike15_v2_GC2ClientTextMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientTextMsg"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientTextMsg(::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 { + kPayloadFieldNumber = 3, + kIdFieldNumber = 1, + kTypeFieldNumber = 2, + }; + // optional bytes payload = 3; + bool has_payload() const; + private: + bool _internal_has_payload() const; + public: + void clear_payload(); + const std::string& payload() const; + template + void set_payload(ArgT0&& arg0, ArgT... args); + std::string* mutable_payload(); + PROTOBUF_NODISCARD std::string* release_payload(); + void set_allocated_payload(std::string* payload); + private: + const std::string& _internal_payload() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value); + std::string* _internal_mutable_payload(); + public: + + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 type = 2; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientTextMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_; + uint32_t id_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GCTextMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCTextMsg) */ { + public: + inline CMsgGCCStrike15_v2_Client2GCTextMsg() : CMsgGCCStrike15_v2_Client2GCTextMsg(nullptr) {} + ~CMsgGCCStrike15_v2_Client2GCTextMsg() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GCTextMsg(const CMsgGCCStrike15_v2_Client2GCTextMsg& from); + CMsgGCCStrike15_v2_Client2GCTextMsg(CMsgGCCStrike15_v2_Client2GCTextMsg&& from) noexcept + : CMsgGCCStrike15_v2_Client2GCTextMsg() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GCTextMsg& operator=(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GCTextMsg& operator=(CMsgGCCStrike15_v2_Client2GCTextMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GCTextMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GCTextMsg* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 80; + + friend void swap(CMsgGCCStrike15_v2_Client2GCTextMsg& a, CMsgGCCStrike15_v2_Client2GCTextMsg& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GCTextMsg* 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(CMsgGCCStrike15_v2_Client2GCTextMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GCTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Client2GCTextMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { + CMsgGCCStrike15_v2_Client2GCTextMsg::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(CMsgGCCStrike15_v2_Client2GCTextMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Client2GCTextMsg"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GCTextMsg(::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 { + kArgsFieldNumber = 2, + kIdFieldNumber = 1, + }; + // repeated bytes args = 2; + int args_size() const; + private: + int _internal_args_size() const; + public: + void clear_args(); + const std::string& args(int index) const; + std::string* mutable_args(int index); + void set_args(int index, const std::string& value); + void set_args(int index, std::string&& value); + void set_args(int index, const char* value); + void set_args(int index, const void* value, size_t size); + std::string* add_args(); + void add_args(const std::string& value); + void add_args(std::string&& value); + void add_args(const char* value); + void add_args(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& args() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_args(); + private: + const std::string& _internal_args(int index) const; + std::string* _internal_add_args(); + public: + + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCTextMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField args_; + uint32_t id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchEndRunRewardDrops final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) */ { + public: + inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops() : CMsgGCCStrike15_v2_MatchEndRunRewardDrops(nullptr) {} + ~CMsgGCCStrike15_v2_MatchEndRunRewardDrops() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchEndRunRewardDrops(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from); + CMsgGCCStrike15_v2_MatchEndRunRewardDrops(CMsgGCCStrike15_v2_MatchEndRunRewardDrops&& from) noexcept + : CMsgGCCStrike15_v2_MatchEndRunRewardDrops() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops& operator=(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops& operator=(CMsgGCCStrike15_v2_MatchEndRunRewardDrops&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchEndRunRewardDrops& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_); + } + static constexpr int kIndexInFileMessages = + 81; + + friend void swap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops& a, CMsgGCCStrike15_v2_MatchEndRunRewardDrops& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* 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(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchEndRunRewardDrops* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { + CMsgGCCStrike15_v2_MatchEndRunRewardDrops::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(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchEndRunRewardDrops"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::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 { + kServerinfoFieldNumber = 3, + kMatchEndQuestDataFieldNumber = 4, + }; + // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; + bool has_serverinfo() const; + private: + bool _internal_has_serverinfo() const; + public: + void clear_serverinfo(); + const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& serverinfo() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* release_serverinfo(); + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* mutable_serverinfo(); + void set_allocated_serverinfo(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo); + private: + const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& _internal_serverinfo() const; + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* _internal_mutable_serverinfo(); + public: + void unsafe_arena_set_allocated_serverinfo( + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo); + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* unsafe_arena_release_serverinfo(); + + // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; + bool has_match_end_quest_data() const; + private: + bool _internal_has_match_end_quest_data() const; + public: + void clear_match_end_quest_data(); + const ::CMsgGC_ServerQuestUpdateData& match_end_quest_data() const; + PROTOBUF_NODISCARD ::CMsgGC_ServerQuestUpdateData* release_match_end_quest_data(); + ::CMsgGC_ServerQuestUpdateData* mutable_match_end_quest_data(); + void set_allocated_match_end_quest_data(::CMsgGC_ServerQuestUpdateData* match_end_quest_data); + private: + const ::CMsgGC_ServerQuestUpdateData& _internal_match_end_quest_data() const; + ::CMsgGC_ServerQuestUpdateData* _internal_mutable_match_end_quest_data(); + public: + void unsafe_arena_set_allocated_match_end_quest_data( + ::CMsgGC_ServerQuestUpdateData* match_end_quest_data); + ::CMsgGC_ServerQuestUpdateData* unsafe_arena_release_match_end_quest_data(); + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo_; + ::CMsgGC_ServerQuestUpdateData* match_end_quest_data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEconItemPreviewDataBlock_Sticker final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEconItemPreviewDataBlock.Sticker) */ { + public: + inline CEconItemPreviewDataBlock_Sticker() : CEconItemPreviewDataBlock_Sticker(nullptr) {} + ~CEconItemPreviewDataBlock_Sticker() override; + explicit PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_Sticker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEconItemPreviewDataBlock_Sticker(const CEconItemPreviewDataBlock_Sticker& from); + CEconItemPreviewDataBlock_Sticker(CEconItemPreviewDataBlock_Sticker&& from) noexcept + : CEconItemPreviewDataBlock_Sticker() { + *this = ::std::move(from); + } + + inline CEconItemPreviewDataBlock_Sticker& operator=(const CEconItemPreviewDataBlock_Sticker& from) { + CopyFrom(from); + return *this; + } + inline CEconItemPreviewDataBlock_Sticker& operator=(CEconItemPreviewDataBlock_Sticker&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEconItemPreviewDataBlock_Sticker& default_instance() { + return *internal_default_instance(); + } + static inline const CEconItemPreviewDataBlock_Sticker* internal_default_instance() { + return reinterpret_cast( + &_CEconItemPreviewDataBlock_Sticker_default_instance_); + } + static constexpr int kIndexInFileMessages = + 82; + + friend void swap(CEconItemPreviewDataBlock_Sticker& a, CEconItemPreviewDataBlock_Sticker& b) { + a.Swap(&b); + } + inline void Swap(CEconItemPreviewDataBlock_Sticker* 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(CEconItemPreviewDataBlock_Sticker* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEconItemPreviewDataBlock_Sticker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEconItemPreviewDataBlock_Sticker& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEconItemPreviewDataBlock_Sticker& from) { + CEconItemPreviewDataBlock_Sticker::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(CEconItemPreviewDataBlock_Sticker* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEconItemPreviewDataBlock.Sticker"; + } + protected: + explicit CEconItemPreviewDataBlock_Sticker(::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 { + kSlotFieldNumber = 1, + kStickerIdFieldNumber = 2, + kWearFieldNumber = 3, + kScaleFieldNumber = 4, + kRotationFieldNumber = 5, + kTintIdFieldNumber = 6, + kOffsetXFieldNumber = 7, + kOffsetYFieldNumber = 8, + kOffsetZFieldNumber = 9, + kPatternFieldNumber = 10, + kHighlightReelFieldNumber = 11, + }; + // optional uint32 slot = 1; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + uint32_t slot() const; + void set_slot(uint32_t value); + private: + uint32_t _internal_slot() const; + void _internal_set_slot(uint32_t value); + public: + + // optional uint32 sticker_id = 2; + bool has_sticker_id() const; + private: + bool _internal_has_sticker_id() const; + public: + void clear_sticker_id(); + uint32_t sticker_id() const; + void set_sticker_id(uint32_t value); + private: + uint32_t _internal_sticker_id() const; + void _internal_set_sticker_id(uint32_t value); + public: + + // optional float wear = 3; + bool has_wear() const; + private: + bool _internal_has_wear() const; + public: + void clear_wear(); + float wear() const; + void set_wear(float value); + private: + float _internal_wear() const; + void _internal_set_wear(float value); + public: + + // optional float scale = 4; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // optional float rotation = 5; + bool has_rotation() const; + private: + bool _internal_has_rotation() const; + public: + void clear_rotation(); + float rotation() const; + void set_rotation(float value); + private: + float _internal_rotation() const; + void _internal_set_rotation(float value); + public: + + // optional uint32 tint_id = 6; + bool has_tint_id() const; + private: + bool _internal_has_tint_id() const; + public: + void clear_tint_id(); + uint32_t tint_id() const; + void set_tint_id(uint32_t value); + private: + uint32_t _internal_tint_id() const; + void _internal_set_tint_id(uint32_t value); + public: + + // optional float offset_x = 7; + bool has_offset_x() const; + private: + bool _internal_has_offset_x() const; + public: + void clear_offset_x(); + float offset_x() const; + void set_offset_x(float value); + private: + float _internal_offset_x() const; + void _internal_set_offset_x(float value); + public: + + // optional float offset_y = 8; + bool has_offset_y() const; + private: + bool _internal_has_offset_y() const; + public: + void clear_offset_y(); + float offset_y() const; + void set_offset_y(float value); + private: + float _internal_offset_y() const; + void _internal_set_offset_y(float value); + public: + + // optional float offset_z = 9; + bool has_offset_z() const; + private: + bool _internal_has_offset_z() const; + public: + void clear_offset_z(); + float offset_z() const; + void set_offset_z(float value); + private: + float _internal_offset_z() const; + void _internal_set_offset_z(float value); + public: + + // optional uint32 pattern = 10; + bool has_pattern() const; + private: + bool _internal_has_pattern() const; + public: + void clear_pattern(); + uint32_t pattern() const; + void set_pattern(uint32_t value); + private: + uint32_t _internal_pattern() const; + void _internal_set_pattern(uint32_t value); + public: + + // optional uint32 highlight_reel = 11; + bool has_highlight_reel() const; + private: + bool _internal_has_highlight_reel() const; + public: + void clear_highlight_reel(); + uint32_t highlight_reel() const; + void set_highlight_reel(uint32_t value); + private: + uint32_t _internal_highlight_reel() const; + void _internal_set_highlight_reel(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock.Sticker) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t slot_; + uint32_t sticker_id_; + float wear_; + float scale_; + float rotation_; + uint32_t tint_id_; + float offset_x_; + float offset_y_; + float offset_z_; + uint32_t pattern_; + uint32_t highlight_reel_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEconItemPreviewDataBlock final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEconItemPreviewDataBlock) */ { + public: + inline CEconItemPreviewDataBlock() : CEconItemPreviewDataBlock(nullptr) {} + ~CEconItemPreviewDataBlock() override; + explicit PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEconItemPreviewDataBlock(const CEconItemPreviewDataBlock& from); + CEconItemPreviewDataBlock(CEconItemPreviewDataBlock&& from) noexcept + : CEconItemPreviewDataBlock() { + *this = ::std::move(from); + } + + inline CEconItemPreviewDataBlock& operator=(const CEconItemPreviewDataBlock& from) { + CopyFrom(from); + return *this; + } + inline CEconItemPreviewDataBlock& operator=(CEconItemPreviewDataBlock&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEconItemPreviewDataBlock& default_instance() { + return *internal_default_instance(); + } + static inline const CEconItemPreviewDataBlock* internal_default_instance() { + return reinterpret_cast( + &_CEconItemPreviewDataBlock_default_instance_); + } + static constexpr int kIndexInFileMessages = + 83; + + friend void swap(CEconItemPreviewDataBlock& a, CEconItemPreviewDataBlock& b) { + a.Swap(&b); + } + inline void Swap(CEconItemPreviewDataBlock* 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(CEconItemPreviewDataBlock* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEconItemPreviewDataBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEconItemPreviewDataBlock& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEconItemPreviewDataBlock& from) { + CEconItemPreviewDataBlock::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(CEconItemPreviewDataBlock* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEconItemPreviewDataBlock"; + } + protected: + explicit CEconItemPreviewDataBlock(::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 ---------------------------------------------------- + + typedef CEconItemPreviewDataBlock_Sticker Sticker; + + // accessors ------------------------------------------------------- + + enum : int { + kStickersFieldNumber = 12, + kKeychainsFieldNumber = 20, + kVariationsFieldNumber = 22, + kCustomnameFieldNumber = 11, + kItemidFieldNumber = 2, + kAccountidFieldNumber = 1, + kDefindexFieldNumber = 3, + kPaintindexFieldNumber = 4, + kRarityFieldNumber = 5, + kQualityFieldNumber = 6, + kPaintwearFieldNumber = 7, + kPaintseedFieldNumber = 8, + kKilleaterscoretypeFieldNumber = 9, + kKilleatervalueFieldNumber = 10, + kInventoryFieldNumber = 13, + kOriginFieldNumber = 14, + kQuestidFieldNumber = 15, + kDropreasonFieldNumber = 16, + kMusicindexFieldNumber = 17, + kEntindexFieldNumber = 18, + kPetindexFieldNumber = 19, + kStyleFieldNumber = 21, + kUpgradeLevelFieldNumber = 23, + }; + // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; + int stickers_size() const; + private: + int _internal_stickers_size() const; + public: + void clear_stickers(); + ::CEconItemPreviewDataBlock_Sticker* mutable_stickers(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* + mutable_stickers(); + private: + const ::CEconItemPreviewDataBlock_Sticker& _internal_stickers(int index) const; + ::CEconItemPreviewDataBlock_Sticker* _internal_add_stickers(); + public: + const ::CEconItemPreviewDataBlock_Sticker& stickers(int index) const; + ::CEconItemPreviewDataBlock_Sticker* add_stickers(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& + stickers() const; + + // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; + int keychains_size() const; + private: + int _internal_keychains_size() const; + public: + void clear_keychains(); + ::CEconItemPreviewDataBlock_Sticker* mutable_keychains(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* + mutable_keychains(); + private: + const ::CEconItemPreviewDataBlock_Sticker& _internal_keychains(int index) const; + ::CEconItemPreviewDataBlock_Sticker* _internal_add_keychains(); + public: + const ::CEconItemPreviewDataBlock_Sticker& keychains(int index) const; + ::CEconItemPreviewDataBlock_Sticker* add_keychains(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& + keychains() const; + + // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; + int variations_size() const; + private: + int _internal_variations_size() const; + public: + void clear_variations(); + ::CEconItemPreviewDataBlock_Sticker* mutable_variations(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* + mutable_variations(); + private: + const ::CEconItemPreviewDataBlock_Sticker& _internal_variations(int index) const; + ::CEconItemPreviewDataBlock_Sticker* _internal_add_variations(); + public: + const ::CEconItemPreviewDataBlock_Sticker& variations(int index) const; + ::CEconItemPreviewDataBlock_Sticker* add_variations(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& + variations() const; + + // optional string customname = 11; + bool has_customname() const; + private: + bool _internal_has_customname() const; + public: + void clear_customname(); + const std::string& customname() const; + template + void set_customname(ArgT0&& arg0, ArgT... args); + std::string* mutable_customname(); + PROTOBUF_NODISCARD std::string* release_customname(); + void set_allocated_customname(std::string* customname); + private: + const std::string& _internal_customname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_customname(const std::string& value); + std::string* _internal_mutable_customname(); + public: + + // optional uint64 itemid = 2; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + uint64_t itemid() const; + void set_itemid(uint64_t value); + private: + uint64_t _internal_itemid() const; + void _internal_set_itemid(uint64_t value); + public: + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 defindex = 3; + bool has_defindex() const; + private: + bool _internal_has_defindex() const; + public: + void clear_defindex(); + uint32_t defindex() const; + void set_defindex(uint32_t value); + private: + uint32_t _internal_defindex() const; + void _internal_set_defindex(uint32_t value); + public: + + // optional uint32 paintindex = 4; + bool has_paintindex() const; + private: + bool _internal_has_paintindex() const; + public: + void clear_paintindex(); + uint32_t paintindex() const; + void set_paintindex(uint32_t value); + private: + uint32_t _internal_paintindex() const; + void _internal_set_paintindex(uint32_t value); + public: + + // optional uint32 rarity = 5; + bool has_rarity() const; + private: + bool _internal_has_rarity() const; + public: + void clear_rarity(); + uint32_t rarity() const; + void set_rarity(uint32_t value); + private: + uint32_t _internal_rarity() const; + void _internal_set_rarity(uint32_t value); + public: + + // optional uint32 quality = 6; + bool has_quality() const; + private: + bool _internal_has_quality() const; + public: + void clear_quality(); + uint32_t quality() const; + void set_quality(uint32_t value); + private: + uint32_t _internal_quality() const; + void _internal_set_quality(uint32_t value); + public: + + // optional uint32 paintwear = 7; + bool has_paintwear() const; + private: + bool _internal_has_paintwear() const; + public: + void clear_paintwear(); + uint32_t paintwear() const; + void set_paintwear(uint32_t value); + private: + uint32_t _internal_paintwear() const; + void _internal_set_paintwear(uint32_t value); + public: + + // optional uint32 paintseed = 8; + bool has_paintseed() const; + private: + bool _internal_has_paintseed() const; + public: + void clear_paintseed(); + uint32_t paintseed() const; + void set_paintseed(uint32_t value); + private: + uint32_t _internal_paintseed() const; + void _internal_set_paintseed(uint32_t value); + public: + + // optional uint32 killeaterscoretype = 9; + bool has_killeaterscoretype() const; + private: + bool _internal_has_killeaterscoretype() const; + public: + void clear_killeaterscoretype(); + uint32_t killeaterscoretype() const; + void set_killeaterscoretype(uint32_t value); + private: + uint32_t _internal_killeaterscoretype() const; + void _internal_set_killeaterscoretype(uint32_t value); + public: + + // optional uint32 killeatervalue = 10; + bool has_killeatervalue() const; + private: + bool _internal_has_killeatervalue() const; + public: + void clear_killeatervalue(); + uint32_t killeatervalue() const; + void set_killeatervalue(uint32_t value); + private: + uint32_t _internal_killeatervalue() const; + void _internal_set_killeatervalue(uint32_t value); + public: + + // optional uint32 inventory = 13; + bool has_inventory() const; + private: + bool _internal_has_inventory() const; + public: + void clear_inventory(); + uint32_t inventory() const; + void set_inventory(uint32_t value); + private: + uint32_t _internal_inventory() const; + void _internal_set_inventory(uint32_t value); + public: + + // optional uint32 origin = 14; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + uint32_t origin() const; + void set_origin(uint32_t value); + private: + uint32_t _internal_origin() const; + void _internal_set_origin(uint32_t value); + public: + + // optional uint32 questid = 15; + bool has_questid() const; + private: + bool _internal_has_questid() const; + public: + void clear_questid(); + uint32_t questid() const; + void set_questid(uint32_t value); + private: + uint32_t _internal_questid() const; + void _internal_set_questid(uint32_t value); + public: + + // optional uint32 dropreason = 16; + bool has_dropreason() const; + private: + bool _internal_has_dropreason() const; + public: + void clear_dropreason(); + uint32_t dropreason() const; + void set_dropreason(uint32_t value); + private: + uint32_t _internal_dropreason() const; + void _internal_set_dropreason(uint32_t value); + public: + + // optional uint32 musicindex = 17; + bool has_musicindex() const; + private: + bool _internal_has_musicindex() const; + public: + void clear_musicindex(); + uint32_t musicindex() const; + void set_musicindex(uint32_t value); + private: + uint32_t _internal_musicindex() const; + void _internal_set_musicindex(uint32_t value); + public: + + // optional int32 entindex = 18; + bool has_entindex() const; + private: + bool _internal_has_entindex() const; + public: + void clear_entindex(); + int32_t entindex() const; + void set_entindex(int32_t value); + private: + int32_t _internal_entindex() const; + void _internal_set_entindex(int32_t value); + public: + + // optional uint32 petindex = 19; + bool has_petindex() const; + private: + bool _internal_has_petindex() const; + public: + void clear_petindex(); + uint32_t petindex() const; + void set_petindex(uint32_t value); + private: + uint32_t _internal_petindex() const; + void _internal_set_petindex(uint32_t value); + public: + + // optional uint32 style = 21; + bool has_style() const; + private: + bool _internal_has_style() const; + public: + void clear_style(); + uint32_t style() const; + void set_style(uint32_t value); + private: + uint32_t _internal_style() const; + void _internal_set_style(uint32_t value); + public: + + // optional uint32 upgrade_level = 23; + bool has_upgrade_level() const; + private: + bool _internal_has_upgrade_level() const; + public: + void clear_upgrade_level(); + uint32_t upgrade_level() const; + void set_upgrade_level(uint32_t value); + private: + uint32_t _internal_upgrade_level() const; + void _internal_set_upgrade_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > stickers_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > keychains_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > variations_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr customname_; + uint64_t itemid_; + uint32_t accountid_; + uint32_t defindex_; + uint32_t paintindex_; + uint32_t rarity_; + uint32_t quality_; + uint32_t paintwear_; + uint32_t paintseed_; + uint32_t killeaterscoretype_; + uint32_t killeatervalue_; + uint32_t inventory_; + uint32_t origin_; + uint32_t questid_; + uint32_t dropreason_; + uint32_t musicindex_; + int32_t entindex_; + uint32_t petindex_; + uint32_t style_; + uint32_t upgrade_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) */ { + public: + inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() : CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(nullptr) {} + ~CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from); + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification&& from) noexcept + : CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& operator=(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& operator=(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 84; + + friend void swap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& a, CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* 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(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { + CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::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(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchEndRewardDropsNotification"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::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 { + kIteminfoFieldNumber = 6, + }; + // optional .CEconItemPreviewDataBlock iteminfo = 6; + bool has_iteminfo() const; + private: + bool _internal_has_iteminfo() const; + public: + void clear_iteminfo(); + const ::CEconItemPreviewDataBlock& iteminfo() const; + PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); + ::CEconItemPreviewDataBlock* mutable_iteminfo(); + void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); + private: + const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; + ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); + public: + void unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo); + ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEconItemPreviewDataBlock* iteminfo_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgItemAcknowledged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgItemAcknowledged) */ { + public: + inline CMsgItemAcknowledged() : CMsgItemAcknowledged(nullptr) {} + ~CMsgItemAcknowledged() override; + explicit PROTOBUF_CONSTEXPR CMsgItemAcknowledged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgItemAcknowledged(const CMsgItemAcknowledged& from); + CMsgItemAcknowledged(CMsgItemAcknowledged&& from) noexcept + : CMsgItemAcknowledged() { + *this = ::std::move(from); + } + + inline CMsgItemAcknowledged& operator=(const CMsgItemAcknowledged& from) { + CopyFrom(from); + return *this; + } + inline CMsgItemAcknowledged& operator=(CMsgItemAcknowledged&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgItemAcknowledged& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgItemAcknowledged* internal_default_instance() { + return reinterpret_cast( + &_CMsgItemAcknowledged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 85; + + friend void swap(CMsgItemAcknowledged& a, CMsgItemAcknowledged& b) { + a.Swap(&b); + } + inline void Swap(CMsgItemAcknowledged* 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(CMsgItemAcknowledged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgItemAcknowledged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgItemAcknowledged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgItemAcknowledged& from) { + CMsgItemAcknowledged::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(CMsgItemAcknowledged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgItemAcknowledged"; + } + protected: + explicit CMsgItemAcknowledged(::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 { + kIteminfoFieldNumber = 1, + }; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + bool has_iteminfo() const; + private: + bool _internal_has_iteminfo() const; + public: + void clear_iteminfo(); + const ::CEconItemPreviewDataBlock& iteminfo() const; + PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); + ::CEconItemPreviewDataBlock* mutable_iteminfo(); + void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); + private: + const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; + ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); + public: + void unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo); + ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); + + // @@protoc_insertion_point(class_scope:CMsgItemAcknowledged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEconItemPreviewDataBlock* iteminfo_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) */ { + public: + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(nullptr) {} + ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from); + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest&& from) noexcept + : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& operator=(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& operator=(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 86; + + friend void swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& a, CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* 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(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::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(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::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 { + kParamSFieldNumber = 1, + kParamAFieldNumber = 2, + kParamDFieldNumber = 3, + kParamMFieldNumber = 4, + }; + // optional uint64 param_s = 1; + bool has_param_s() const; + private: + bool _internal_has_param_s() const; + public: + void clear_param_s(); + uint64_t param_s() const; + void set_param_s(uint64_t value); + private: + uint64_t _internal_param_s() const; + void _internal_set_param_s(uint64_t value); + public: + + // optional uint64 param_a = 2; + bool has_param_a() const; + private: + bool _internal_has_param_a() const; + public: + void clear_param_a(); + uint64_t param_a() const; + void set_param_a(uint64_t value); + private: + uint64_t _internal_param_a() const; + void _internal_set_param_a(uint64_t value); + public: + + // optional uint64 param_d = 3; + bool has_param_d() const; + private: + bool _internal_has_param_d() const; + public: + void clear_param_d(); + uint64_t param_d() const; + void set_param_d(uint64_t value); + private: + uint64_t _internal_param_d() const; + void _internal_set_param_d(uint64_t value); + public: + + // optional uint64 param_m = 4; + bool has_param_m() const; + private: + bool _internal_has_param_m() const; + public: + void clear_param_m(); + uint64_t param_m() const; + void set_param_m(uint64_t value); + private: + uint64_t _internal_param_m() const; + void _internal_set_param_m(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t param_s_; + uint64_t param_a_; + uint64_t param_d_; + uint64_t param_m_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) */ { + public: + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(nullptr) {} + ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from); + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse&& from) noexcept + : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& operator=(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& operator=(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 87; + + friend void swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& a, CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* 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(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { + CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::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(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::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 { + kIteminfoFieldNumber = 1, + }; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + bool has_iteminfo() const; + private: + bool _internal_has_iteminfo() const; + public: + void clear_iteminfo(); + const ::CEconItemPreviewDataBlock& iteminfo() const; + PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); + ::CEconItemPreviewDataBlock* mutable_iteminfo(); + void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); + private: + const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; + ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); + public: + void unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo); + ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEconItemPreviewDataBlock* iteminfo_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) */ { + public: + inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames() : CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from); + CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames&& from) noexcept + : CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& operator=(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_); + } + static constexpr int kIndexInFileMessages = + 88; + + friend void swap(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& a, CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* 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(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& 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 "CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::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:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) */ { + public: + inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() : CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(nullptr) {} + ~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from); + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser&& from) noexcept + : CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& operator=(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& operator=(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_); + } + static constexpr int kIndexInFileMessages = + 89; + + friend void swap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& a, CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* 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(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { + CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::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(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::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 { + kAccountidFieldNumber = 1, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) */ { + public: + inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() : CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(nullptr) {} + ~CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from); + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames&& from) noexcept + : CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& operator=(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_); + } + static constexpr int kIndexInFileMessages = + 90; + + friend void swap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& a, CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* 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(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { + CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::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(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchListRequestRecentUserGames"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::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 { + kAccountidFieldNumber = 1, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListRequestTournamentGames final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) */ { + public: + inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames() : CMsgGCCStrike15_v2_MatchListRequestTournamentGames(nullptr) {} + ~CMsgGCCStrike15_v2_MatchListRequestTournamentGames() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListRequestTournamentGames(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from); + CMsgGCCStrike15_v2_MatchListRequestTournamentGames(CMsgGCCStrike15_v2_MatchListRequestTournamentGames&& from) noexcept + : CMsgGCCStrike15_v2_MatchListRequestTournamentGames() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames& operator=(CMsgGCCStrike15_v2_MatchListRequestTournamentGames&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListRequestTournamentGames& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListRequestTournamentGames* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_); + } + static constexpr int kIndexInFileMessages = + 91; + + friend void swap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames& a, CMsgGCCStrike15_v2_MatchListRequestTournamentGames& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* 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(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListRequestTournamentGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { + CMsgGCCStrike15_v2_MatchListRequestTournamentGames::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(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchListRequestTournamentGames"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::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 { + kEventidFieldNumber = 1, + }; + // optional int32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) */ { + public: + inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() : CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(nullptr) {} + ~CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from); + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo&& from) noexcept + : CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& operator=(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& operator=(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 92; + + friend void swap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& a, CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* 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(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { + CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::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(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchListRequestFullGameInfo"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::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 { + kMatchidFieldNumber = 1, + kOutcomeidFieldNumber = 2, + kTokenFieldNumber = 3, + }; + // optional uint64 matchid = 1; + bool has_matchid() const; + private: + bool _internal_has_matchid() const; + public: + void clear_matchid(); + uint64_t matchid() const; + void set_matchid(uint64_t value); + private: + uint64_t _internal_matchid() const; + void _internal_set_matchid(uint64_t value); + public: + + // optional uint64 outcomeid = 2; + bool has_outcomeid() const; + private: + bool _internal_has_outcomeid() const; + public: + void clear_outcomeid(); + uint64_t outcomeid() const; + void set_outcomeid(uint64_t value); + private: + uint64_t _internal_outcomeid() const; + void _internal_set_outcomeid(uint64_t value); + public: + + // optional uint32 token = 3; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + uint32_t token() const; + void set_token(uint32_t value); + private: + uint32_t _internal_token() const; + void _internal_set_token(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t matchid_; + uint64_t outcomeid_; + uint32_t token_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_MatchInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_MatchInfo) */ { + public: + inline CDataGCCStrike15_v2_MatchInfo() : CDataGCCStrike15_v2_MatchInfo(nullptr) {} + ~CDataGCCStrike15_v2_MatchInfo() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_MatchInfo(const CDataGCCStrike15_v2_MatchInfo& from); + CDataGCCStrike15_v2_MatchInfo(CDataGCCStrike15_v2_MatchInfo&& from) noexcept + : CDataGCCStrike15_v2_MatchInfo() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_MatchInfo& operator=(const CDataGCCStrike15_v2_MatchInfo& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_MatchInfo& operator=(CDataGCCStrike15_v2_MatchInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_MatchInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_MatchInfo* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_MatchInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 93; + + friend void swap(CDataGCCStrike15_v2_MatchInfo& a, CDataGCCStrike15_v2_MatchInfo& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_MatchInfo* 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(CDataGCCStrike15_v2_MatchInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_MatchInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_MatchInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_MatchInfo& from) { + CDataGCCStrike15_v2_MatchInfo::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(CDataGCCStrike15_v2_MatchInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_MatchInfo"; + } + protected: + explicit CDataGCCStrike15_v2_MatchInfo(::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 { + kRoundstatsallFieldNumber = 5, + kWatchablematchinfoFieldNumber = 3, + kRoundstatsLegacyFieldNumber = 4, + kMatchidFieldNumber = 1, + kMatchtimeFieldNumber = 2, + }; + // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; + int roundstatsall_size() const; + private: + int _internal_roundstatsall_size() const; + public: + void clear_roundstatsall(); + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* mutable_roundstatsall(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >* + mutable_roundstatsall(); + private: + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& _internal_roundstatsall(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _internal_add_roundstatsall(); + public: + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstatsall(int index) const; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* add_roundstatsall(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >& + roundstatsall() const; + + // optional .WatchableMatchInfo watchablematchinfo = 3; + bool has_watchablematchinfo() const; + private: + bool _internal_has_watchablematchinfo() const; + public: + void clear_watchablematchinfo(); + const ::WatchableMatchInfo& watchablematchinfo() const; + PROTOBUF_NODISCARD ::WatchableMatchInfo* release_watchablematchinfo(); + ::WatchableMatchInfo* mutable_watchablematchinfo(); + void set_allocated_watchablematchinfo(::WatchableMatchInfo* watchablematchinfo); + private: + const ::WatchableMatchInfo& _internal_watchablematchinfo() const; + ::WatchableMatchInfo* _internal_mutable_watchablematchinfo(); + public: + void unsafe_arena_set_allocated_watchablematchinfo( + ::WatchableMatchInfo* watchablematchinfo); + ::WatchableMatchInfo* unsafe_arena_release_watchablematchinfo(); + + // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; + bool has_roundstats_legacy() const; + private: + bool _internal_has_roundstats_legacy() const; + public: + void clear_roundstats_legacy(); + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstats_legacy() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* release_roundstats_legacy(); + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* mutable_roundstats_legacy(); + void set_allocated_roundstats_legacy(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy); + private: + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& _internal_roundstats_legacy() const; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _internal_mutable_roundstats_legacy(); + public: + void unsafe_arena_set_allocated_roundstats_legacy( + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy); + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* unsafe_arena_release_roundstats_legacy(); + + // optional uint64 matchid = 1; + bool has_matchid() const; + private: + bool _internal_has_matchid() const; + public: + void clear_matchid(); + uint64_t matchid() const; + void set_matchid(uint64_t value); + private: + uint64_t _internal_matchid() const; + void _internal_set_matchid(uint64_t value); + public: + + // optional uint32 matchtime = 2; + bool has_matchtime() const; + private: + bool _internal_has_matchtime() const; + public: + void clear_matchtime(); + uint32_t matchtime() const; + void set_matchtime(uint32_t value); + private: + uint32_t _internal_matchtime() const; + void _internal_set_matchtime(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_MatchInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats > roundstatsall_; + ::WatchableMatchInfo* watchablematchinfo_; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy_; + uint64_t matchid_; + uint32_t matchtime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentGroupTeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroupTeam) */ { + public: + inline CDataGCCStrike15_v2_TournamentGroupTeam() : CDataGCCStrike15_v2_TournamentGroupTeam(nullptr) {} + ~CDataGCCStrike15_v2_TournamentGroupTeam() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentGroupTeam(const CDataGCCStrike15_v2_TournamentGroupTeam& from); + CDataGCCStrike15_v2_TournamentGroupTeam(CDataGCCStrike15_v2_TournamentGroupTeam&& from) noexcept + : CDataGCCStrike15_v2_TournamentGroupTeam() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentGroupTeam& operator=(const CDataGCCStrike15_v2_TournamentGroupTeam& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentGroupTeam& operator=(CDataGCCStrike15_v2_TournamentGroupTeam&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentGroupTeam& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentGroupTeam* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 94; + + friend void swap(CDataGCCStrike15_v2_TournamentGroupTeam& a, CDataGCCStrike15_v2_TournamentGroupTeam& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentGroupTeam* 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(CDataGCCStrike15_v2_TournamentGroupTeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentGroupTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentGroupTeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentGroupTeam& from) { + CDataGCCStrike15_v2_TournamentGroupTeam::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(CDataGCCStrike15_v2_TournamentGroupTeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentGroupTeam"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentGroupTeam(::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 { + kTeamIdFieldNumber = 1, + kScoreFieldNumber = 2, + kCorrectpickFieldNumber = 3, + }; + // optional int32 team_id = 1; + bool has_team_id() const; + private: + bool _internal_has_team_id() const; + public: + void clear_team_id(); + int32_t team_id() const; + void set_team_id(int32_t value); + private: + int32_t _internal_team_id() const; + void _internal_set_team_id(int32_t value); + public: + + // optional int32 score = 2; + bool has_score() const; + private: + bool _internal_has_score() const; + public: + void clear_score(); + int32_t score() const; + void set_score(int32_t value); + private: + int32_t _internal_score() const; + void _internal_set_score(int32_t value); + public: + + // optional bool correctpick = 3; + bool has_correctpick() const; + private: + bool _internal_has_correctpick() const; + public: + void clear_correctpick(); + bool correctpick() const; + void set_correctpick(bool value); + private: + bool _internal_correctpick() const; + void _internal_set_correctpick(bool value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroupTeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t team_id_; + int32_t score_; + bool correctpick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentGroup_Picks final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroup.Picks) */ { + public: + inline CDataGCCStrike15_v2_TournamentGroup_Picks() : CDataGCCStrike15_v2_TournamentGroup_Picks(nullptr) {} + ~CDataGCCStrike15_v2_TournamentGroup_Picks() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_Picks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentGroup_Picks(const CDataGCCStrike15_v2_TournamentGroup_Picks& from); + CDataGCCStrike15_v2_TournamentGroup_Picks(CDataGCCStrike15_v2_TournamentGroup_Picks&& from) noexcept + : CDataGCCStrike15_v2_TournamentGroup_Picks() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentGroup_Picks& operator=(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentGroup_Picks& operator=(CDataGCCStrike15_v2_TournamentGroup_Picks&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentGroup_Picks& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentGroup_Picks* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_); + } + static constexpr int kIndexInFileMessages = + 95; + + friend void swap(CDataGCCStrike15_v2_TournamentGroup_Picks& a, CDataGCCStrike15_v2_TournamentGroup_Picks& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentGroup_Picks* 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(CDataGCCStrike15_v2_TournamentGroup_Picks* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentGroup_Picks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentGroup_Picks& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { + CDataGCCStrike15_v2_TournamentGroup_Picks::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(CDataGCCStrike15_v2_TournamentGroup_Picks* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentGroup.Picks"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentGroup_Picks(::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 { + kPickidsFieldNumber = 1, + }; + // repeated int32 pickids = 1; + int pickids_size() const; + private: + int _internal_pickids_size() const; + public: + void clear_pickids(); + private: + int32_t _internal_pickids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_pickids() const; + void _internal_add_pickids(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_pickids(); + public: + int32_t pickids(int index) const; + void set_pickids(int index, int32_t value); + void add_pickids(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + pickids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_pickids(); + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroup.Picks) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > pickids_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentGroup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroup) */ { + public: + inline CDataGCCStrike15_v2_TournamentGroup() : CDataGCCStrike15_v2_TournamentGroup(nullptr) {} + ~CDataGCCStrike15_v2_TournamentGroup() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentGroup(const CDataGCCStrike15_v2_TournamentGroup& from); + CDataGCCStrike15_v2_TournamentGroup(CDataGCCStrike15_v2_TournamentGroup&& from) noexcept + : CDataGCCStrike15_v2_TournamentGroup() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentGroup& operator=(const CDataGCCStrike15_v2_TournamentGroup& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentGroup& operator=(CDataGCCStrike15_v2_TournamentGroup&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentGroup& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentGroup* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentGroup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 96; + + friend void swap(CDataGCCStrike15_v2_TournamentGroup& a, CDataGCCStrike15_v2_TournamentGroup& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentGroup* 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(CDataGCCStrike15_v2_TournamentGroup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentGroup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentGroup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentGroup& from) { + CDataGCCStrike15_v2_TournamentGroup::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(CDataGCCStrike15_v2_TournamentGroup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentGroup"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentGroup(::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 ---------------------------------------------------- + + typedef CDataGCCStrike15_v2_TournamentGroup_Picks Picks; + + // accessors ------------------------------------------------------- + + enum : int { + kTeamsFieldNumber = 5, + kStageIdsFieldNumber = 6, + kPicksFieldNumber = 10, + kNameFieldNumber = 2, + kDescFieldNumber = 3, + kGroupidFieldNumber = 1, + kPicksDeprecatedFieldNumber = 4, + kPicklockuntiltimeFieldNumber = 7, + kPickableteamsFieldNumber = 8, + kPointsPerPickFieldNumber = 9, + }; + // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; + int teams_size() const; + private: + int _internal_teams_size() const; + public: + void clear_teams(); + ::CDataGCCStrike15_v2_TournamentGroupTeam* mutable_teams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >* + mutable_teams(); + private: + const ::CDataGCCStrike15_v2_TournamentGroupTeam& _internal_teams(int index) const; + ::CDataGCCStrike15_v2_TournamentGroupTeam* _internal_add_teams(); + public: + const ::CDataGCCStrike15_v2_TournamentGroupTeam& teams(int index) const; + ::CDataGCCStrike15_v2_TournamentGroupTeam* add_teams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >& + teams() const; + + // repeated int32 stage_ids = 6; + int stage_ids_size() const; + private: + int _internal_stage_ids_size() const; + public: + void clear_stage_ids(); + private: + int32_t _internal_stage_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_stage_ids() const; + void _internal_add_stage_ids(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_stage_ids(); + public: + int32_t stage_ids(int index) const; + void set_stage_ids(int index, int32_t value); + void add_stage_ids(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + stage_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_stage_ids(); + + // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; + int picks_size() const; + private: + int _internal_picks_size() const; + public: + void clear_picks(); + ::CDataGCCStrike15_v2_TournamentGroup_Picks* mutable_picks(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >* + mutable_picks(); + private: + const ::CDataGCCStrike15_v2_TournamentGroup_Picks& _internal_picks(int index) const; + ::CDataGCCStrike15_v2_TournamentGroup_Picks* _internal_add_picks(); + public: + const ::CDataGCCStrike15_v2_TournamentGroup_Picks& picks(int index) const; + ::CDataGCCStrike15_v2_TournamentGroup_Picks* add_picks(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >& + picks() const; + + // optional 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: + + // optional string desc = 3; + bool has_desc() const; + private: + bool _internal_has_desc() const; + public: + void clear_desc(); + const std::string& desc() const; + template + void set_desc(ArgT0&& arg0, ArgT... args); + std::string* mutable_desc(); + PROTOBUF_NODISCARD std::string* release_desc(); + void set_allocated_desc(std::string* desc); + private: + const std::string& _internal_desc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc(const std::string& value); + std::string* _internal_mutable_desc(); + public: + + // optional uint32 groupid = 1; + bool has_groupid() const; + private: + bool _internal_has_groupid() const; + public: + void clear_groupid(); + uint32_t groupid() const; + void set_groupid(uint32_t value); + private: + uint32_t _internal_groupid() const; + void _internal_set_groupid(uint32_t value); + public: + + // optional uint32 picks__deprecated = 4; + bool has_picks__deprecated() const; + private: + bool _internal_has_picks__deprecated() const; + public: + void clear_picks__deprecated(); + uint32_t picks__deprecated() const; + void set_picks__deprecated(uint32_t value); + private: + uint32_t _internal_picks__deprecated() const; + void _internal_set_picks__deprecated(uint32_t value); + public: + + // optional uint32 picklockuntiltime = 7; + bool has_picklockuntiltime() const; + private: + bool _internal_has_picklockuntiltime() const; + public: + void clear_picklockuntiltime(); + uint32_t picklockuntiltime() const; + void set_picklockuntiltime(uint32_t value); + private: + uint32_t _internal_picklockuntiltime() const; + void _internal_set_picklockuntiltime(uint32_t value); + public: + + // optional uint32 pickableteams = 8; + bool has_pickableteams() const; + private: + bool _internal_has_pickableteams() const; + public: + void clear_pickableteams(); + uint32_t pickableteams() const; + void set_pickableteams(uint32_t value); + private: + uint32_t _internal_pickableteams() const; + void _internal_set_pickableteams(uint32_t value); + public: + + // optional uint32 points_per_pick = 9; + bool has_points_per_pick() const; + private: + bool _internal_has_points_per_pick() const; + public: + void clear_points_per_pick(); + uint32_t points_per_pick() const; + void set_points_per_pick(uint32_t value); + private: + uint32_t _internal_points_per_pick() const; + void _internal_set_points_per_pick(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam > teams_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > stage_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks > picks_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_; + uint32_t groupid_; + uint32_t picks__deprecated_; + uint32_t picklockuntiltime_; + uint32_t pickableteams_; + uint32_t points_per_pick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentSection final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentSection) */ { + public: + inline CDataGCCStrike15_v2_TournamentSection() : CDataGCCStrike15_v2_TournamentSection(nullptr) {} + ~CDataGCCStrike15_v2_TournamentSection() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentSection(const CDataGCCStrike15_v2_TournamentSection& from); + CDataGCCStrike15_v2_TournamentSection(CDataGCCStrike15_v2_TournamentSection&& from) noexcept + : CDataGCCStrike15_v2_TournamentSection() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentSection& operator=(const CDataGCCStrike15_v2_TournamentSection& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentSection& operator=(CDataGCCStrike15_v2_TournamentSection&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentSection& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentSection* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentSection_default_instance_); + } + static constexpr int kIndexInFileMessages = + 97; + + friend void swap(CDataGCCStrike15_v2_TournamentSection& a, CDataGCCStrike15_v2_TournamentSection& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentSection* 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(CDataGCCStrike15_v2_TournamentSection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentSection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentSection& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentSection& from) { + CDataGCCStrike15_v2_TournamentSection::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(CDataGCCStrike15_v2_TournamentSection* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentSection"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentSection(::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 { + kGroupsFieldNumber = 4, + kNameFieldNumber = 2, + kDescFieldNumber = 3, + kSectionidFieldNumber = 1, + }; + // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; + int groups_size() const; + private: + int _internal_groups_size() const; + public: + void clear_groups(); + ::CDataGCCStrike15_v2_TournamentGroup* mutable_groups(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >* + mutable_groups(); + private: + const ::CDataGCCStrike15_v2_TournamentGroup& _internal_groups(int index) const; + ::CDataGCCStrike15_v2_TournamentGroup* _internal_add_groups(); + public: + const ::CDataGCCStrike15_v2_TournamentGroup& groups(int index) const; + ::CDataGCCStrike15_v2_TournamentGroup* add_groups(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >& + groups() const; + + // optional 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: + + // optional string desc = 3; + bool has_desc() const; + private: + bool _internal_has_desc() const; + public: + void clear_desc(); + const std::string& desc() const; + template + void set_desc(ArgT0&& arg0, ArgT... args); + std::string* mutable_desc(); + PROTOBUF_NODISCARD std::string* release_desc(); + void set_allocated_desc(std::string* desc); + private: + const std::string& _internal_desc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc(const std::string& value); + std::string* _internal_mutable_desc(); + public: + + // optional uint32 sectionid = 1; + bool has_sectionid() const; + private: + bool _internal_has_sectionid() const; + public: + void clear_sectionid(); + uint32_t sectionid() const; + void set_sectionid(uint32_t value); + private: + uint32_t _internal_sectionid() const; + void _internal_set_sectionid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentSection) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup > groups_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_; + uint32_t sectionid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CDataGCCStrike15_v2_TournamentInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentInfo) */ { + public: + inline CDataGCCStrike15_v2_TournamentInfo() : CDataGCCStrike15_v2_TournamentInfo(nullptr) {} + ~CDataGCCStrike15_v2_TournamentInfo() override; + explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDataGCCStrike15_v2_TournamentInfo(const CDataGCCStrike15_v2_TournamentInfo& from); + CDataGCCStrike15_v2_TournamentInfo(CDataGCCStrike15_v2_TournamentInfo&& from) noexcept + : CDataGCCStrike15_v2_TournamentInfo() { + *this = ::std::move(from); + } + + inline CDataGCCStrike15_v2_TournamentInfo& operator=(const CDataGCCStrike15_v2_TournamentInfo& from) { + CopyFrom(from); + return *this; + } + inline CDataGCCStrike15_v2_TournamentInfo& operator=(CDataGCCStrike15_v2_TournamentInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDataGCCStrike15_v2_TournamentInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CDataGCCStrike15_v2_TournamentInfo* internal_default_instance() { + return reinterpret_cast( + &_CDataGCCStrike15_v2_TournamentInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 98; + + friend void swap(CDataGCCStrike15_v2_TournamentInfo& a, CDataGCCStrike15_v2_TournamentInfo& b) { + a.Swap(&b); + } + inline void Swap(CDataGCCStrike15_v2_TournamentInfo* 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(CDataGCCStrike15_v2_TournamentInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDataGCCStrike15_v2_TournamentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDataGCCStrike15_v2_TournamentInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDataGCCStrike15_v2_TournamentInfo& from) { + CDataGCCStrike15_v2_TournamentInfo::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(CDataGCCStrike15_v2_TournamentInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDataGCCStrike15_v2_TournamentInfo"; + } + protected: + explicit CDataGCCStrike15_v2_TournamentInfo(::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 { + kSectionsFieldNumber = 1, + kTournamentTeamsFieldNumber = 3, + kTournamentEventFieldNumber = 2, + }; + // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; + int sections_size() const; + private: + int _internal_sections_size() const; + public: + void clear_sections(); + ::CDataGCCStrike15_v2_TournamentSection* mutable_sections(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >* + mutable_sections(); + private: + const ::CDataGCCStrike15_v2_TournamentSection& _internal_sections(int index) const; + ::CDataGCCStrike15_v2_TournamentSection* _internal_add_sections(); + public: + const ::CDataGCCStrike15_v2_TournamentSection& sections(int index) const; + ::CDataGCCStrike15_v2_TournamentSection* add_sections(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >& + sections() const; + + // repeated .TournamentTeam tournament_teams = 3; + int tournament_teams_size() const; + private: + int _internal_tournament_teams_size() const; + public: + void clear_tournament_teams(); + ::TournamentTeam* mutable_tournament_teams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* + mutable_tournament_teams(); + private: + const ::TournamentTeam& _internal_tournament_teams(int index) const; + ::TournamentTeam* _internal_add_tournament_teams(); + public: + const ::TournamentTeam& tournament_teams(int index) const; + ::TournamentTeam* add_tournament_teams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& + tournament_teams() const; + + // optional .TournamentEvent tournament_event = 2; + bool has_tournament_event() const; + private: + bool _internal_has_tournament_event() const; + public: + void clear_tournament_event(); + const ::TournamentEvent& tournament_event() const; + PROTOBUF_NODISCARD ::TournamentEvent* release_tournament_event(); + ::TournamentEvent* mutable_tournament_event(); + void set_allocated_tournament_event(::TournamentEvent* tournament_event); + private: + const ::TournamentEvent& _internal_tournament_event() const; + ::TournamentEvent* _internal_mutable_tournament_event(); + public: + void unsafe_arena_set_allocated_tournament_event( + ::TournamentEvent* tournament_event); + ::TournamentEvent* unsafe_arena_release_tournament_event(); + + // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection > sections_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > tournament_teams_; + ::TournamentEvent* tournament_event_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchList) */ { + public: + inline CMsgGCCStrike15_v2_MatchList() : CMsgGCCStrike15_v2_MatchList(nullptr) {} + ~CMsgGCCStrike15_v2_MatchList() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchList(const CMsgGCCStrike15_v2_MatchList& from); + CMsgGCCStrike15_v2_MatchList(CMsgGCCStrike15_v2_MatchList&& from) noexcept + : CMsgGCCStrike15_v2_MatchList() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchList& operator=(const CMsgGCCStrike15_v2_MatchList& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchList& operator=(CMsgGCCStrike15_v2_MatchList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchList& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchList* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 99; + + friend void swap(CMsgGCCStrike15_v2_MatchList& a, CMsgGCCStrike15_v2_MatchList& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchList* 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(CMsgGCCStrike15_v2_MatchList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchList& from) { + CMsgGCCStrike15_v2_MatchList::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(CMsgGCCStrike15_v2_MatchList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchList"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchList(::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 { + kMatchesFieldNumber = 4, + kStreamsFieldNumber = 5, + kTournamentinfoFieldNumber = 6, + kMsgrequestidFieldNumber = 1, + kAccountidFieldNumber = 2, + kServertimeFieldNumber = 3, + }; + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; + int matches_size() const; + private: + int _internal_matches_size() const; + public: + void clear_matches(); + ::CDataGCCStrike15_v2_MatchInfo* mutable_matches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* + mutable_matches(); + private: + const ::CDataGCCStrike15_v2_MatchInfo& _internal_matches(int index) const; + ::CDataGCCStrike15_v2_MatchInfo* _internal_add_matches(); + public: + const ::CDataGCCStrike15_v2_MatchInfo& matches(int index) const; + ::CDataGCCStrike15_v2_MatchInfo* add_matches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& + matches() const; + + // repeated .TournamentTeam streams = 5; + int streams_size() const; + private: + int _internal_streams_size() const; + public: + void clear_streams(); + ::TournamentTeam* mutable_streams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* + mutable_streams(); + private: + const ::TournamentTeam& _internal_streams(int index) const; + ::TournamentTeam* _internal_add_streams(); + public: + const ::TournamentTeam& streams(int index) const; + ::TournamentTeam* add_streams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& + streams() const; + + // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; + bool has_tournamentinfo() const; + private: + bool _internal_has_tournamentinfo() const; + public: + void clear_tournamentinfo(); + const ::CDataGCCStrike15_v2_TournamentInfo& tournamentinfo() const; + PROTOBUF_NODISCARD ::CDataGCCStrike15_v2_TournamentInfo* release_tournamentinfo(); + ::CDataGCCStrike15_v2_TournamentInfo* mutable_tournamentinfo(); + void set_allocated_tournamentinfo(::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo); + private: + const ::CDataGCCStrike15_v2_TournamentInfo& _internal_tournamentinfo() const; + ::CDataGCCStrike15_v2_TournamentInfo* _internal_mutable_tournamentinfo(); + public: + void unsafe_arena_set_allocated_tournamentinfo( + ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo); + ::CDataGCCStrike15_v2_TournamentInfo* unsafe_arena_release_tournamentinfo(); + + // optional uint32 msgrequestid = 1; + bool has_msgrequestid() const; + private: + bool _internal_has_msgrequestid() const; + public: + void clear_msgrequestid(); + uint32_t msgrequestid() const; + void set_msgrequestid(uint32_t value); + private: + uint32_t _internal_msgrequestid() const; + void _internal_set_msgrequestid(uint32_t value); + public: + + // optional uint32 accountid = 2; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 servertime = 3; + bool has_servertime() const; + private: + bool _internal_has_servertime() const; + public: + void clear_servertime(); + uint32_t servertime() const; + void set_servertime(uint32_t value); + private: + uint32_t _internal_servertime() const; + void _internal_set_servertime(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo > matches_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > streams_; + ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo_; + uint32_t msgrequestid_; + uint32_t accountid_; + uint32_t servertime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) */ { + public: + inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() : CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(nullptr) {} + ~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from); + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt&& from) noexcept + : CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& operator=(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& operator=(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_); + } + static constexpr int kIndexInFileMessages = + 100; + + friend void swap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& a, CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* 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(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { + CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::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(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::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 { + kMatchesFieldNumber = 2, + kEventidFieldNumber = 1, + kAccountidFieldNumber = 3, + }; + // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; + int matches_size() const; + private: + int _internal_matches_size() const; + public: + void clear_matches(); + ::CDataGCCStrike15_v2_MatchInfo* mutable_matches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* + mutable_matches(); + private: + const ::CDataGCCStrike15_v2_MatchInfo& _internal_matches(int index) const; + ::CDataGCCStrike15_v2_MatchInfo* _internal_add_matches(); + public: + const ::CDataGCCStrike15_v2_MatchInfo& matches(int index) const; + ::CDataGCCStrike15_v2_MatchInfo* add_matches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& + matches() const; + + // optional int32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // optional uint32 accountid = 3; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo > matches_; + int32_t eventid_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) */ { + public: + inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() : CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(nullptr) {} + ~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from); + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick&& from) noexcept + : CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& operator=(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& operator=(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 101; + + friend void swap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& a, CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* 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(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { + CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::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(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick"; + } + protected: + explicit CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::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 { + kSectionidFieldNumber = 1, + kGroupidFieldNumber = 2, + kIndexFieldNumber = 3, + kTeamidFieldNumber = 4, + kItemidFieldNumber = 5, + }; + // optional int32 sectionid = 1; + bool has_sectionid() const; + private: + bool _internal_has_sectionid() const; + public: + void clear_sectionid(); + int32_t sectionid() const; + void set_sectionid(int32_t value); + private: + int32_t _internal_sectionid() const; + void _internal_set_sectionid(int32_t value); + public: + + // optional int32 groupid = 2; + bool has_groupid() const; + private: + bool _internal_has_groupid() const; + public: + void clear_groupid(); + int32_t groupid() const; + void set_groupid(int32_t value); + private: + int32_t _internal_groupid() const; + void _internal_set_groupid(int32_t value); + public: + + // optional int32 index = 3; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 teamid = 4; + bool has_teamid() const; + private: + bool _internal_has_teamid() const; + public: + 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: + + // optional uint64 itemid = 5; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + uint64_t itemid() const; + void set_itemid(uint64_t value); + private: + uint64_t _internal_itemid() const; + void _internal_set_itemid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t sectionid_; + int32_t groupid_; + int32_t index_; + int32_t teamid_; + uint64_t itemid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Predictions final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Predictions) */ { + public: + inline CMsgGCCStrike15_v2_Predictions() : CMsgGCCStrike15_v2_Predictions(nullptr) {} + ~CMsgGCCStrike15_v2_Predictions() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Predictions(const CMsgGCCStrike15_v2_Predictions& from); + CMsgGCCStrike15_v2_Predictions(CMsgGCCStrike15_v2_Predictions&& from) noexcept + : CMsgGCCStrike15_v2_Predictions() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Predictions& operator=(const CMsgGCCStrike15_v2_Predictions& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Predictions& operator=(CMsgGCCStrike15_v2_Predictions&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Predictions& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Predictions* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Predictions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 102; + + friend void swap(CMsgGCCStrike15_v2_Predictions& a, CMsgGCCStrike15_v2_Predictions& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Predictions* 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(CMsgGCCStrike15_v2_Predictions* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Predictions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Predictions& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Predictions& from) { + CMsgGCCStrike15_v2_Predictions::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(CMsgGCCStrike15_v2_Predictions* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Predictions"; + } + protected: + explicit CMsgGCCStrike15_v2_Predictions(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick GroupMatchTeamPick; + + // accessors ------------------------------------------------------- + + enum : int { + kGroupMatchTeamPicksFieldNumber = 2, + kEventIdFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; + int group_match_team_picks_size() const; + private: + int _internal_group_match_team_picks_size() const; + public: + void clear_group_match_team_picks(); + ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* mutable_group_match_team_picks(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >* + mutable_group_match_team_picks(); + private: + const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& _internal_group_match_team_picks(int index) const; + ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* _internal_add_group_match_team_picks(); + public: + const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& group_match_team_picks(int index) const; + ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* add_group_match_team_picks(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >& + group_match_team_picks() const; + + // optional uint32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + uint32_t event_id() const; + void set_event_id(uint32_t value); + private: + uint32_t _internal_event_id() const; + void _internal_set_event_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Predictions) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick > group_match_team_picks_; + uint32_t event_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Fantasy_FantasySlot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy.FantasySlot) */ { + public: + inline CMsgGCCStrike15_v2_Fantasy_FantasySlot() : CMsgGCCStrike15_v2_Fantasy_FantasySlot(nullptr) {} + ~CMsgGCCStrike15_v2_Fantasy_FantasySlot() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Fantasy_FantasySlot(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from); + CMsgGCCStrike15_v2_Fantasy_FantasySlot(CMsgGCCStrike15_v2_Fantasy_FantasySlot&& from) noexcept + : CMsgGCCStrike15_v2_Fantasy_FantasySlot() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Fantasy_FantasySlot& operator=(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Fantasy_FantasySlot& operator=(CMsgGCCStrike15_v2_Fantasy_FantasySlot&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Fantasy_FantasySlot& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Fantasy_FantasySlot* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_); + } + static constexpr int kIndexInFileMessages = + 103; + + friend void swap(CMsgGCCStrike15_v2_Fantasy_FantasySlot& a, CMsgGCCStrike15_v2_Fantasy_FantasySlot& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* 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(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Fantasy_FantasySlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { + CMsgGCCStrike15_v2_Fantasy_FantasySlot::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(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Fantasy.FantasySlot"; + } + protected: + explicit CMsgGCCStrike15_v2_Fantasy_FantasySlot(::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 { + kTypeFieldNumber = 1, + kPickFieldNumber = 2, + kItemidFieldNumber = 3, + }; + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int32 pick = 2; + bool has_pick() const; + private: + bool _internal_has_pick() const; + public: + void clear_pick(); + int32_t pick() const; + void set_pick(int32_t value); + private: + int32_t _internal_pick() const; + void _internal_set_pick(int32_t value); + public: + + // optional uint64 itemid = 3; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + uint64_t itemid() const; + void set_itemid(uint64_t value); + private: + uint64_t _internal_itemid() const; + void _internal_set_itemid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy.FantasySlot) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t type_; + int32_t pick_; + uint64_t itemid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Fantasy_FantasyTeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) */ { + public: + inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam() : CMsgGCCStrike15_v2_Fantasy_FantasyTeam(nullptr) {} + ~CMsgGCCStrike15_v2_Fantasy_FantasyTeam() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Fantasy_FantasyTeam(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from); + CMsgGCCStrike15_v2_Fantasy_FantasyTeam(CMsgGCCStrike15_v2_Fantasy_FantasyTeam&& from) noexcept + : CMsgGCCStrike15_v2_Fantasy_FantasyTeam() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam& operator=(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam& operator=(CMsgGCCStrike15_v2_Fantasy_FantasyTeam&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Fantasy_FantasyTeam& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Fantasy_FantasyTeam* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 104; + + friend void swap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam& a, CMsgGCCStrike15_v2_Fantasy_FantasyTeam& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* 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(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Fantasy_FantasyTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { + CMsgGCCStrike15_v2_Fantasy_FantasyTeam::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(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Fantasy.FantasyTeam"; + } + protected: + explicit CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::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 { + kSlotsFieldNumber = 2, + kSectionidFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; + int slots_size() const; + private: + int _internal_slots_size() const; + public: + void clear_slots(); + ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* mutable_slots(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >* + mutable_slots(); + private: + const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& _internal_slots(int index) const; + ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* _internal_add_slots(); + public: + const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& slots(int index) const; + ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* add_slots(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >& + slots() const; + + // optional int32 sectionid = 1; + bool has_sectionid() const; + private: + bool _internal_has_sectionid() const; + public: + void clear_sectionid(); + int32_t sectionid() const; + void set_sectionid(int32_t value); + private: + int32_t _internal_sectionid() const; + void _internal_set_sectionid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot > slots_; + int32_t sectionid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Fantasy final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy) */ { + public: + inline CMsgGCCStrike15_v2_Fantasy() : CMsgGCCStrike15_v2_Fantasy(nullptr) {} + ~CMsgGCCStrike15_v2_Fantasy() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Fantasy(const CMsgGCCStrike15_v2_Fantasy& from); + CMsgGCCStrike15_v2_Fantasy(CMsgGCCStrike15_v2_Fantasy&& from) noexcept + : CMsgGCCStrike15_v2_Fantasy() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Fantasy& operator=(const CMsgGCCStrike15_v2_Fantasy& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Fantasy& operator=(CMsgGCCStrike15_v2_Fantasy&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Fantasy& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Fantasy* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Fantasy_default_instance_); + } + static constexpr int kIndexInFileMessages = + 105; + + friend void swap(CMsgGCCStrike15_v2_Fantasy& a, CMsgGCCStrike15_v2_Fantasy& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Fantasy* 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(CMsgGCCStrike15_v2_Fantasy* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Fantasy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Fantasy& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Fantasy& from) { + CMsgGCCStrike15_v2_Fantasy::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(CMsgGCCStrike15_v2_Fantasy* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Fantasy"; + } + protected: + explicit CMsgGCCStrike15_v2_Fantasy(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_Fantasy_FantasySlot FantasySlot; + typedef CMsgGCCStrike15_v2_Fantasy_FantasyTeam FantasyTeam; + + // accessors ------------------------------------------------------- + + enum : int { + kTeamsFieldNumber = 2, + kEventIdFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; + int teams_size() const; + private: + int _internal_teams_size() const; + public: + void clear_teams(); + ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* mutable_teams(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >* + mutable_teams(); + private: + const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& _internal_teams(int index) const; + ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* _internal_add_teams(); + public: + const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& teams(int index) const; + ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* add_teams(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >& + teams() const; + + // optional uint32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + uint32_t event_id() const; + void set_event_id(uint32_t value); + private: + uint32_t _internal_event_id() const; + void _internal_set_event_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam > teams_; + uint32_t event_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CAttribute_String final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CAttribute_String) */ { + public: + inline CAttribute_String() : CAttribute_String(nullptr) {} + ~CAttribute_String() override; + explicit PROTOBUF_CONSTEXPR CAttribute_String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CAttribute_String(const CAttribute_String& from); + CAttribute_String(CAttribute_String&& from) noexcept + : CAttribute_String() { + *this = ::std::move(from); + } + + inline CAttribute_String& operator=(const CAttribute_String& from) { + CopyFrom(from); + return *this; + } + inline CAttribute_String& operator=(CAttribute_String&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CAttribute_String& default_instance() { + return *internal_default_instance(); + } + static inline const CAttribute_String* internal_default_instance() { + return reinterpret_cast( + &_CAttribute_String_default_instance_); + } + static constexpr int kIndexInFileMessages = + 106; + + friend void swap(CAttribute_String& a, CAttribute_String& b) { + a.Swap(&b); + } + inline void Swap(CAttribute_String* 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(CAttribute_String* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CAttribute_String* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CAttribute_String& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CAttribute_String& from) { + CAttribute_String::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(CAttribute_String* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CAttribute_String"; + } + protected: + explicit CAttribute_String(::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 { + kValueFieldNumber = 1, + }; + // optional string value = 1; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:CAttribute_String) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgLegacySource1ClientWelcome_Location final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLegacySource1ClientWelcome.Location) */ { + public: + inline CMsgLegacySource1ClientWelcome_Location() : CMsgLegacySource1ClientWelcome_Location(nullptr) {} + ~CMsgLegacySource1ClientWelcome_Location() override; + explicit PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgLegacySource1ClientWelcome_Location(const CMsgLegacySource1ClientWelcome_Location& from); + CMsgLegacySource1ClientWelcome_Location(CMsgLegacySource1ClientWelcome_Location&& from) noexcept + : CMsgLegacySource1ClientWelcome_Location() { + *this = ::std::move(from); + } + + inline CMsgLegacySource1ClientWelcome_Location& operator=(const CMsgLegacySource1ClientWelcome_Location& from) { + CopyFrom(from); + return *this; + } + inline CMsgLegacySource1ClientWelcome_Location& operator=(CMsgLegacySource1ClientWelcome_Location&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgLegacySource1ClientWelcome_Location& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgLegacySource1ClientWelcome_Location* internal_default_instance() { + return reinterpret_cast( + &_CMsgLegacySource1ClientWelcome_Location_default_instance_); + } + static constexpr int kIndexInFileMessages = + 107; + + friend void swap(CMsgLegacySource1ClientWelcome_Location& a, CMsgLegacySource1ClientWelcome_Location& b) { + a.Swap(&b); + } + inline void Swap(CMsgLegacySource1ClientWelcome_Location* 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(CMsgLegacySource1ClientWelcome_Location* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgLegacySource1ClientWelcome_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgLegacySource1ClientWelcome_Location& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgLegacySource1ClientWelcome_Location& from) { + CMsgLegacySource1ClientWelcome_Location::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(CMsgLegacySource1ClientWelcome_Location* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgLegacySource1ClientWelcome.Location"; + } + protected: + explicit CMsgLegacySource1ClientWelcome_Location(::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 { + kCountryFieldNumber = 3, + kLatitudeFieldNumber = 1, + kLongitudeFieldNumber = 2, + }; + // optional string country = 3; + bool has_country() const; + private: + bool _internal_has_country() const; + public: + void clear_country(); + const std::string& country() const; + template + void set_country(ArgT0&& arg0, ArgT... args); + std::string* mutable_country(); + PROTOBUF_NODISCARD std::string* release_country(); + void set_allocated_country(std::string* country); + private: + const std::string& _internal_country() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); + std::string* _internal_mutable_country(); + public: + + // optional float latitude = 1; + bool has_latitude() const; + private: + bool _internal_has_latitude() const; + public: + void clear_latitude(); + float latitude() const; + void set_latitude(float value); + private: + float _internal_latitude() const; + void _internal_set_latitude(float value); + public: + + // optional float longitude = 2; + bool has_longitude() const; + private: + bool _internal_has_longitude() const; + public: + void clear_longitude(); + float longitude() const; + void set_longitude(float value); + private: + float _internal_longitude() const; + void _internal_set_longitude(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgLegacySource1ClientWelcome.Location) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; + float latitude_; + float longitude_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgLegacySource1ClientWelcome final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLegacySource1ClientWelcome) */ { + public: + inline CMsgLegacySource1ClientWelcome() : CMsgLegacySource1ClientWelcome(nullptr) {} + ~CMsgLegacySource1ClientWelcome() override; + explicit PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgLegacySource1ClientWelcome(const CMsgLegacySource1ClientWelcome& from); + CMsgLegacySource1ClientWelcome(CMsgLegacySource1ClientWelcome&& from) noexcept + : CMsgLegacySource1ClientWelcome() { + *this = ::std::move(from); + } + + inline CMsgLegacySource1ClientWelcome& operator=(const CMsgLegacySource1ClientWelcome& from) { + CopyFrom(from); + return *this; + } + inline CMsgLegacySource1ClientWelcome& operator=(CMsgLegacySource1ClientWelcome&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgLegacySource1ClientWelcome& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgLegacySource1ClientWelcome* internal_default_instance() { + return reinterpret_cast( + &_CMsgLegacySource1ClientWelcome_default_instance_); + } + static constexpr int kIndexInFileMessages = + 108; + + friend void swap(CMsgLegacySource1ClientWelcome& a, CMsgLegacySource1ClientWelcome& b) { + a.Swap(&b); + } + inline void Swap(CMsgLegacySource1ClientWelcome* 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(CMsgLegacySource1ClientWelcome* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgLegacySource1ClientWelcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgLegacySource1ClientWelcome& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgLegacySource1ClientWelcome& from) { + CMsgLegacySource1ClientWelcome::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(CMsgLegacySource1ClientWelcome* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgLegacySource1ClientWelcome"; + } + protected: + explicit CMsgLegacySource1ClientWelcome(::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 ---------------------------------------------------- + + typedef CMsgLegacySource1ClientWelcome_Location Location; + + // accessors ------------------------------------------------------- + + enum : int { + kOutofdateSubscribedCachesFieldNumber = 3, + kUptodateSubscribedCachesFieldNumber = 4, + kGameDataFieldNumber = 2, + kGameData2FieldNumber = 6, + kBalanceUrlFieldNumber = 10, + kTxnCountryCodeFieldNumber = 11, + kLocationFieldNumber = 5, + kVersionFieldNumber = 1, + kRtime32GcWelcomeTimestampFieldNumber = 7, + kCurrencyFieldNumber = 8, + kBalanceFieldNumber = 9, + }; + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + int outofdate_subscribed_caches_size() const; + private: + int _internal_outofdate_subscribed_caches_size() const; + public: + void clear_outofdate_subscribed_caches(); + ::CMsgSOCacheSubscribed* mutable_outofdate_subscribed_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* + mutable_outofdate_subscribed_caches(); + private: + const ::CMsgSOCacheSubscribed& _internal_outofdate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscribed* _internal_add_outofdate_subscribed_caches(); + public: + const ::CMsgSOCacheSubscribed& outofdate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscribed* add_outofdate_subscribed_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& + outofdate_subscribed_caches() const; + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + int uptodate_subscribed_caches_size() const; + private: + int _internal_uptodate_subscribed_caches_size() const; + public: + void clear_uptodate_subscribed_caches(); + ::CMsgSOCacheSubscriptionCheck* mutable_uptodate_subscribed_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* + mutable_uptodate_subscribed_caches(); + private: + const ::CMsgSOCacheSubscriptionCheck& _internal_uptodate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscriptionCheck* _internal_add_uptodate_subscribed_caches(); + public: + const ::CMsgSOCacheSubscriptionCheck& uptodate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscriptionCheck* add_uptodate_subscribed_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& + uptodate_subscribed_caches() const; + + // optional bytes game_data = 2; + bool has_game_data() const; + private: + bool _internal_has_game_data() const; + public: + void clear_game_data(); + const std::string& game_data() const; + template + void set_game_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_data(); + PROTOBUF_NODISCARD std::string* release_game_data(); + void set_allocated_game_data(std::string* game_data); + private: + const std::string& _internal_game_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data(const std::string& value); + std::string* _internal_mutable_game_data(); + public: + + // optional bytes game_data2 = 6; + bool has_game_data2() const; + private: + bool _internal_has_game_data2() const; + public: + void clear_game_data2(); + const std::string& game_data2() const; + template + void set_game_data2(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_data2(); + PROTOBUF_NODISCARD std::string* release_game_data2(); + void set_allocated_game_data2(std::string* game_data2); + private: + const std::string& _internal_game_data2() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data2(const std::string& value); + std::string* _internal_mutable_game_data2(); + public: + + // optional string balance_url = 10; + bool has_balance_url() const; + private: + bool _internal_has_balance_url() const; + public: + void clear_balance_url(); + const std::string& balance_url() const; + template + void set_balance_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_balance_url(); + PROTOBUF_NODISCARD std::string* release_balance_url(); + void set_allocated_balance_url(std::string* balance_url); + private: + const std::string& _internal_balance_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_balance_url(const std::string& value); + std::string* _internal_mutable_balance_url(); + public: + + // optional string txn_country_code = 11; + bool has_txn_country_code() const; + private: + bool _internal_has_txn_country_code() const; + public: + void clear_txn_country_code(); + const std::string& txn_country_code() const; + template + void set_txn_country_code(ArgT0&& arg0, ArgT... args); + std::string* mutable_txn_country_code(); + PROTOBUF_NODISCARD std::string* release_txn_country_code(); + void set_allocated_txn_country_code(std::string* txn_country_code); + private: + const std::string& _internal_txn_country_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_txn_country_code(const std::string& value); + std::string* _internal_mutable_txn_country_code(); + public: + + // optional .CMsgLegacySource1ClientWelcome.Location location = 5; + bool has_location() const; + private: + bool _internal_has_location() const; + public: + void clear_location(); + const ::CMsgLegacySource1ClientWelcome_Location& location() const; + PROTOBUF_NODISCARD ::CMsgLegacySource1ClientWelcome_Location* release_location(); + ::CMsgLegacySource1ClientWelcome_Location* mutable_location(); + void set_allocated_location(::CMsgLegacySource1ClientWelcome_Location* location); + private: + const ::CMsgLegacySource1ClientWelcome_Location& _internal_location() const; + ::CMsgLegacySource1ClientWelcome_Location* _internal_mutable_location(); + public: + void unsafe_arena_set_allocated_location( + ::CMsgLegacySource1ClientWelcome_Location* location); + ::CMsgLegacySource1ClientWelcome_Location* unsafe_arena_release_location(); + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + bool has_rtime32_gc_welcome_timestamp() const; + private: + bool _internal_has_rtime32_gc_welcome_timestamp() const; + public: + void clear_rtime32_gc_welcome_timestamp(); + uint32_t rtime32_gc_welcome_timestamp() const; + void set_rtime32_gc_welcome_timestamp(uint32_t value); + private: + uint32_t _internal_rtime32_gc_welcome_timestamp() const; + void _internal_set_rtime32_gc_welcome_timestamp(uint32_t value); + public: + + // optional uint32 currency = 8; + bool has_currency() const; + private: + bool _internal_has_currency() const; + public: + void clear_currency(); + uint32_t currency() const; + void set_currency(uint32_t value); + private: + uint32_t _internal_currency() const; + void _internal_set_currency(uint32_t value); + public: + + // optional uint32 balance = 9; + bool has_balance() const; + private: + bool _internal_has_balance() const; + public: + void clear_balance(); + uint32_t balance() const; + void set_balance(uint32_t value); + private: + uint32_t _internal_balance() const; + void _internal_set_balance(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgLegacySource1ClientWelcome) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed > outofdate_subscribed_caches_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck > uptodate_subscribed_caches_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data2_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr balance_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr txn_country_code_; + ::CMsgLegacySource1ClientWelcome_Location* location_; + uint32_t version_; + uint32_t rtime32_gc_welcome_timestamp_; + uint32_t currency_; + uint32_t balance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgCStrike15Welcome final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCStrike15Welcome) */ { + public: + inline CMsgCStrike15Welcome() : CMsgCStrike15Welcome(nullptr) {} + ~CMsgCStrike15Welcome() override; + explicit PROTOBUF_CONSTEXPR CMsgCStrike15Welcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgCStrike15Welcome(const CMsgCStrike15Welcome& from); + CMsgCStrike15Welcome(CMsgCStrike15Welcome&& from) noexcept + : CMsgCStrike15Welcome() { + *this = ::std::move(from); + } + + inline CMsgCStrike15Welcome& operator=(const CMsgCStrike15Welcome& from) { + CopyFrom(from); + return *this; + } + inline CMsgCStrike15Welcome& operator=(CMsgCStrike15Welcome&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgCStrike15Welcome& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgCStrike15Welcome* internal_default_instance() { + return reinterpret_cast( + &_CMsgCStrike15Welcome_default_instance_); + } + static constexpr int kIndexInFileMessages = + 109; + + friend void swap(CMsgCStrike15Welcome& a, CMsgCStrike15Welcome& b) { + a.Swap(&b); + } + inline void Swap(CMsgCStrike15Welcome* 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(CMsgCStrike15Welcome* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgCStrike15Welcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgCStrike15Welcome& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgCStrike15Welcome& from) { + CMsgCStrike15Welcome::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(CMsgCStrike15Welcome* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgCStrike15Welcome"; + } + protected: + explicit CMsgCStrike15Welcome(::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 { + kStoreItemHashFieldNumber = 5, + kTimeplayedconsecutivelyFieldNumber = 6, + kTimeFirstPlayedFieldNumber = 10, + kLastTimePlayedFieldNumber = 12, + kGscookieidFieldNumber = 18, + kUniqueidFieldNumber = 19, + kLastIpAddressFieldNumber = 13, + }; + // optional uint32 store_item_hash = 5; + bool has_store_item_hash() const; + private: + bool _internal_has_store_item_hash() const; + public: + void clear_store_item_hash(); + uint32_t store_item_hash() const; + void set_store_item_hash(uint32_t value); + private: + uint32_t _internal_store_item_hash() const; + void _internal_set_store_item_hash(uint32_t value); + public: + + // optional uint32 timeplayedconsecutively = 6; + bool has_timeplayedconsecutively() const; + private: + bool _internal_has_timeplayedconsecutively() const; + public: + void clear_timeplayedconsecutively(); + uint32_t timeplayedconsecutively() const; + void set_timeplayedconsecutively(uint32_t value); + private: + uint32_t _internal_timeplayedconsecutively() const; + void _internal_set_timeplayedconsecutively(uint32_t value); + public: + + // optional uint32 time_first_played = 10; + bool has_time_first_played() const; + private: + bool _internal_has_time_first_played() const; + public: + void clear_time_first_played(); + uint32_t time_first_played() const; + void set_time_first_played(uint32_t value); + private: + uint32_t _internal_time_first_played() const; + void _internal_set_time_first_played(uint32_t value); + public: + + // optional uint32 last_time_played = 12; + bool has_last_time_played() const; + private: + bool _internal_has_last_time_played() const; + public: + void clear_last_time_played(); + uint32_t last_time_played() const; + void set_last_time_played(uint32_t value); + private: + uint32_t _internal_last_time_played() const; + void _internal_set_last_time_played(uint32_t value); + public: + + // optional uint64 gscookieid = 18; + bool has_gscookieid() const; + private: + bool _internal_has_gscookieid() const; + public: + void clear_gscookieid(); + uint64_t gscookieid() const; + void set_gscookieid(uint64_t value); + private: + uint64_t _internal_gscookieid() const; + void _internal_set_gscookieid(uint64_t value); + public: + + // optional uint64 uniqueid = 19; + bool has_uniqueid() const; + private: + bool _internal_has_uniqueid() const; + public: + void clear_uniqueid(); + uint64_t uniqueid() const; + void set_uniqueid(uint64_t value); + private: + uint64_t _internal_uniqueid() const; + void _internal_set_uniqueid(uint64_t value); + public: + + // optional uint32 last_ip_address = 13; + bool has_last_ip_address() const; + private: + bool _internal_has_last_ip_address() const; + public: + void clear_last_ip_address(); + uint32_t last_ip_address() const; + void set_last_ip_address(uint32_t value); + private: + uint32_t _internal_last_ip_address() const; + void _internal_set_last_ip_address(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgCStrike15Welcome) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t store_item_hash_; + uint32_t timeplayedconsecutively_; + uint32_t time_first_played_; + uint32_t last_time_played_; + uint64_t gscookieid_; + uint64_t uniqueid_; + uint32_t last_ip_address_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) */ { + public: + inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() : CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(nullptr) {} + ~CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from); + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo&& from) noexcept + : CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& operator=(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& operator=(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 110; + + friend void swap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& a, CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* 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(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { + CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::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(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::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 { + kChokedBlocksFieldNumber = 5, + kValueNameFieldNumber = 1, + kValueIntFieldNumber = 2, + kServerAddrFieldNumber = 3, + kServerPortFieldNumber = 4, + }; + // repeated string choked_blocks = 5; + int choked_blocks_size() const; + private: + int _internal_choked_blocks_size() const; + public: + void clear_choked_blocks(); + const std::string& choked_blocks(int index) const; + std::string* mutable_choked_blocks(int index); + void set_choked_blocks(int index, const std::string& value); + void set_choked_blocks(int index, std::string&& value); + void set_choked_blocks(int index, const char* value); + void set_choked_blocks(int index, const char* value, size_t size); + std::string* add_choked_blocks(); + void add_choked_blocks(const std::string& value); + void add_choked_blocks(std::string&& value); + void add_choked_blocks(const char* value); + void add_choked_blocks(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& choked_blocks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_choked_blocks(); + private: + const std::string& _internal_choked_blocks(int index) const; + std::string* _internal_add_choked_blocks(); + public: + + // optional string value_name = 1; + bool has_value_name() const; + private: + bool _internal_has_value_name() const; + public: + void clear_value_name(); + const std::string& value_name() const; + template + void set_value_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_value_name(); + PROTOBUF_NODISCARD std::string* release_value_name(); + void set_allocated_value_name(std::string* value_name); + private: + const std::string& _internal_value_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_name(const std::string& value); + std::string* _internal_mutable_value_name(); + public: + + // optional int32 value_int = 2; + bool has_value_int() const; + private: + bool _internal_has_value_int() const; + public: + void clear_value_int(); + int32_t value_int() const; + void set_value_int(int32_t value); + private: + int32_t _internal_value_int() const; + void _internal_set_value_int(int32_t value); + public: + + // optional uint32 server_addr = 3; + bool has_server_addr() const; + private: + bool _internal_has_server_addr() const; + public: + void clear_server_addr(); + uint32_t server_addr() const; + void set_server_addr(uint32_t value); + private: + uint32_t _internal_server_addr() const; + void _internal_set_server_addr(uint32_t value); + public: + + // optional uint32 server_port = 4; + bool has_server_port() const; + private: + bool _internal_has_server_port() const; + public: + void clear_server_port(); + uint32_t server_port() const; + void set_server_port(uint32_t value); + private: + uint32_t _internal_server_port() const; + void _internal_set_server_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField choked_blocks_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_name_; + int32_t value_int_; + uint32_t server_addr_; + uint32_t server_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) */ { + public: + inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() : CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(nullptr) {} + ~CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from); + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo&& from) noexcept + : CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& operator=(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& operator=(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 111; + + friend void swap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& a, CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* 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(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { + CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::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(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ServerVarValueNotificationInfo"; + } + protected: + explicit CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::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 { + kViewanglesFieldNumber = 2, + kUserdataFieldNumber = 4, + kAccountidFieldNumber = 1, + kTypeFieldNumber = 3, + }; + // repeated uint32 viewangles = 2; + int viewangles_size() const; + private: + int _internal_viewangles_size() const; + public: + void clear_viewangles(); + private: + uint32_t _internal_viewangles(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_viewangles() const; + void _internal_add_viewangles(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_viewangles(); + public: + uint32_t viewangles(int index) const; + void set_viewangles(int index, uint32_t value); + void add_viewangles(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + viewangles() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_viewangles(); + + // repeated uint32 userdata = 4; + int userdata_size() const; + private: + int _internal_userdata_size() const; + public: + void clear_userdata(); + private: + uint32_t _internal_userdata(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_userdata() const; + void _internal_add_userdata(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_userdata(); + public: + uint32_t userdata(int index) const; + void set_userdata(int index, uint32_t value); + void add_userdata(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + userdata() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_userdata(); + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 type = 3; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > viewangles_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > userdata_; + uint32_t accountid_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GiftsLeaderboardRequest final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) */ { + public: + inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest() : CMsgGCCStrike15_v2_GiftsLeaderboardRequest(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GiftsLeaderboardRequest(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from); + CMsgGCCStrike15_v2_GiftsLeaderboardRequest(CMsgGCCStrike15_v2_GiftsLeaderboardRequest&& from) noexcept + : CMsgGCCStrike15_v2_GiftsLeaderboardRequest() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GiftsLeaderboardRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GiftsLeaderboardRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 112; + + friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardRequest& a, CMsgGCCStrike15_v2_GiftsLeaderboardRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardRequest* 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(CMsgGCCStrike15_v2_GiftsLeaderboardRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GiftsLeaderboardRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& 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 "CMsgGCCStrike15_v2_GiftsLeaderboardRequest"; + } + protected: + explicit CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::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:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) */ { + public: + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() : CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(nullptr) {} + ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from); + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry&& from) noexcept + : CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 113; + + friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& a, CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* 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(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::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(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry"; + } + protected: + explicit CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::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 { + kAccountidFieldNumber = 1, + kGiftsFieldNumber = 2, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 gifts = 2; + bool has_gifts() const; + private: + bool _internal_has_gifts() const; + public: + void clear_gifts(); + uint32_t gifts() const; + void set_gifts(uint32_t value); + private: + uint32_t _internal_gifts() const; + void _internal_set_gifts(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + uint32_t gifts_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GiftsLeaderboardResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) */ { + public: + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse() : CMsgGCCStrike15_v2_GiftsLeaderboardResponse(nullptr) {} + ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GiftsLeaderboardResponse(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from); + CMsgGCCStrike15_v2_GiftsLeaderboardResponse(CMsgGCCStrike15_v2_GiftsLeaderboardResponse&& from) noexcept + : CMsgGCCStrike15_v2_GiftsLeaderboardResponse() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GiftsLeaderboardResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GiftsLeaderboardResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 114; + + friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse& a, CMsgGCCStrike15_v2_GiftsLeaderboardResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* 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(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GiftsLeaderboardResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { + CMsgGCCStrike15_v2_GiftsLeaderboardResponse::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(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GiftsLeaderboardResponse"; + } + protected: + explicit CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry GiftLeaderboardEntry; + + // accessors ------------------------------------------------------- + + enum : int { + kEntriesFieldNumber = 5, + kServertimeFieldNumber = 1, + kTimePeriodSecondsFieldNumber = 2, + kTotalGiftsGivenFieldNumber = 3, + kTotalGiversFieldNumber = 4, + }; + // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* mutable_entries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >* + mutable_entries(); + private: + const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& _internal_entries(int index) const; + ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* _internal_add_entries(); + public: + const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& entries(int index) const; + ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* add_entries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >& + entries() const; + + // optional uint32 servertime = 1; + bool has_servertime() const; + private: + bool _internal_has_servertime() const; + public: + void clear_servertime(); + uint32_t servertime() const; + void set_servertime(uint32_t value); + private: + uint32_t _internal_servertime() const; + void _internal_set_servertime(uint32_t value); + public: + + // optional uint32 time_period_seconds = 2; + bool has_time_period_seconds() const; + private: + bool _internal_has_time_period_seconds() const; + public: + void clear_time_period_seconds(); + uint32_t time_period_seconds() const; + void set_time_period_seconds(uint32_t value); + private: + uint32_t _internal_time_period_seconds() const; + void _internal_set_time_period_seconds(uint32_t value); + public: + + // optional uint32 total_gifts_given = 3; + bool has_total_gifts_given() const; + private: + bool _internal_has_total_gifts_given() const; + public: + void clear_total_gifts_given(); + uint32_t total_gifts_given() const; + void set_total_gifts_given(uint32_t value); + private: + uint32_t _internal_total_gifts_given() const; + void _internal_set_total_gifts_given(uint32_t value); + public: + + // optional uint32 total_givers = 4; + bool has_total_givers() const; + private: + bool _internal_has_total_givers() const; + public: + void clear_total_givers(); + uint32_t total_givers() const; + void set_total_givers(uint32_t value); + private: + uint32_t _internal_total_givers() const; + void _internal_set_total_givers(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry > entries_; + uint32_t servertime_; + uint32_t time_period_seconds_; + uint32_t total_gifts_given_; + uint32_t total_givers_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientSubmitSurveyVote final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) */ { + public: + inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote() : CMsgGCCStrike15_v2_ClientSubmitSurveyVote(nullptr) {} + ~CMsgGCCStrike15_v2_ClientSubmitSurveyVote() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientSubmitSurveyVote(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from); + CMsgGCCStrike15_v2_ClientSubmitSurveyVote(CMsgGCCStrike15_v2_ClientSubmitSurveyVote&& from) noexcept + : CMsgGCCStrike15_v2_ClientSubmitSurveyVote() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote& operator=(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote& operator=(CMsgGCCStrike15_v2_ClientSubmitSurveyVote&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientSubmitSurveyVote& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientSubmitSurveyVote* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_); + } + static constexpr int kIndexInFileMessages = + 115; + + friend void swap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote& a, CMsgGCCStrike15_v2_ClientSubmitSurveyVote& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* 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(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientSubmitSurveyVote* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { + CMsgGCCStrike15_v2_ClientSubmitSurveyVote::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(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientSubmitSurveyVote"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::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 { + kSurveyIdFieldNumber = 1, + kVoteFieldNumber = 2, + }; + // optional uint32 survey_id = 1; + bool has_survey_id() const; + private: + bool _internal_has_survey_id() const; + public: + void clear_survey_id(); + uint32_t survey_id() const; + void set_survey_id(uint32_t value); + private: + uint32_t _internal_survey_id() const; + void _internal_set_survey_id(uint32_t value); + public: + + // optional uint32 vote = 2; + bool has_vote() const; + private: + bool _internal_has_vote() const; + public: + void clear_vote(); + uint32_t vote() const; + void set_vote(uint32_t value); + private: + uint32_t _internal_vote() const; + void _internal_set_vote(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t survey_id_; + uint32_t vote_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Server2GCClientValidate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Server2GCClientValidate) */ { + public: + inline CMsgGCCStrike15_v2_Server2GCClientValidate() : CMsgGCCStrike15_v2_Server2GCClientValidate(nullptr) {} + ~CMsgGCCStrike15_v2_Server2GCClientValidate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Server2GCClientValidate(const CMsgGCCStrike15_v2_Server2GCClientValidate& from); + CMsgGCCStrike15_v2_Server2GCClientValidate(CMsgGCCStrike15_v2_Server2GCClientValidate&& from) noexcept + : CMsgGCCStrike15_v2_Server2GCClientValidate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Server2GCClientValidate& operator=(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Server2GCClientValidate& operator=(CMsgGCCStrike15_v2_Server2GCClientValidate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Server2GCClientValidate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Server2GCClientValidate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 116; + + friend void swap(CMsgGCCStrike15_v2_Server2GCClientValidate& a, CMsgGCCStrike15_v2_Server2GCClientValidate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Server2GCClientValidate* 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(CMsgGCCStrike15_v2_Server2GCClientValidate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Server2GCClientValidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Server2GCClientValidate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { + CMsgGCCStrike15_v2_Server2GCClientValidate::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(CMsgGCCStrike15_v2_Server2GCClientValidate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Server2GCClientValidate"; + } + protected: + explicit CMsgGCCStrike15_v2_Server2GCClientValidate(::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 { + kAccountidFieldNumber = 1, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Server2GCClientValidate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientTournamentInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo() : CMsgGCCStrike15_v2_GC2ClientTournamentInfo(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientTournamentInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientTournamentInfo(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from); + CMsgGCCStrike15_v2_GC2ClientTournamentInfo(CMsgGCCStrike15_v2_GC2ClientTournamentInfo&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientTournamentInfo() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo& operator=(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo& operator=(CMsgGCCStrike15_v2_GC2ClientTournamentInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientTournamentInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientTournamentInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 117; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo& a, CMsgGCCStrike15_v2_GC2ClientTournamentInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* 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(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientTournamentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { + CMsgGCCStrike15_v2_GC2ClientTournamentInfo::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(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientTournamentInfo"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::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 { + kTeamidsFieldNumber = 4, + kEventidFieldNumber = 1, + kStageidFieldNumber = 2, + kGameTypeFieldNumber = 3, + }; + // repeated uint32 teamids = 4; + int teamids_size() const; + private: + int _internal_teamids_size() const; + public: + void clear_teamids(); + private: + uint32_t _internal_teamids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_teamids() const; + void _internal_add_teamids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_teamids(); + public: + uint32_t teamids(int index) const; + void set_teamids(int index, uint32_t value); + void add_teamids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + teamids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_teamids(); + + // optional uint32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + uint32_t eventid() const; + void set_eventid(uint32_t value); + private: + uint32_t _internal_eventid() const; + void _internal_set_eventid(uint32_t value); + public: + + // optional uint32 stageid = 2; + bool has_stageid() const; + private: + bool _internal_has_stageid() const; + public: + void clear_stageid(); + uint32_t stageid() const; + void set_stageid(uint32_t value); + private: + uint32_t _internal_stageid() const; + void _internal_set_stageid(uint32_t value); + public: + + // optional uint32 game_type = 3; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > teamids_; + uint32_t eventid_; + uint32_t stageid_; + uint32_t game_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOEconCoupon final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconCoupon) */ { + public: + inline CSOEconCoupon() : CSOEconCoupon(nullptr) {} + ~CSOEconCoupon() override; + explicit PROTOBUF_CONSTEXPR CSOEconCoupon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOEconCoupon(const CSOEconCoupon& from); + CSOEconCoupon(CSOEconCoupon&& from) noexcept + : CSOEconCoupon() { + *this = ::std::move(from); + } + + inline CSOEconCoupon& operator=(const CSOEconCoupon& from) { + CopyFrom(from); + return *this; + } + inline CSOEconCoupon& operator=(CSOEconCoupon&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOEconCoupon& default_instance() { + return *internal_default_instance(); + } + static inline const CSOEconCoupon* internal_default_instance() { + return reinterpret_cast( + &_CSOEconCoupon_default_instance_); + } + static constexpr int kIndexInFileMessages = + 118; + + friend void swap(CSOEconCoupon& a, CSOEconCoupon& b) { + a.Swap(&b); + } + inline void Swap(CSOEconCoupon* 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(CSOEconCoupon* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOEconCoupon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOEconCoupon& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOEconCoupon& from) { + CSOEconCoupon::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(CSOEconCoupon* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOEconCoupon"; + } + protected: + explicit CSOEconCoupon(::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 { + kEntryidFieldNumber = 1, + kDefidxFieldNumber = 2, + kExpirationDateFieldNumber = 3, + }; + // optional uint32 entryid = 1 [(.key_field) = true]; + bool has_entryid() const; + private: + bool _internal_has_entryid() const; + public: + void clear_entryid(); + uint32_t entryid() const; + void set_entryid(uint32_t value); + private: + uint32_t _internal_entryid() const; + void _internal_set_entryid(uint32_t value); + public: + + // optional uint32 defidx = 2; + bool has_defidx() const; + private: + bool _internal_has_defidx() const; + public: + void clear_defidx(); + uint32_t defidx() const; + void set_defidx(uint32_t value); + private: + uint32_t _internal_defidx() const; + void _internal_set_defidx(uint32_t value); + public: + + // optional fixed32 expiration_date = 3; + bool has_expiration_date() const; + private: + bool _internal_has_expiration_date() const; + public: + void clear_expiration_date(); + uint32_t expiration_date() const; + void set_expiration_date(uint32_t value); + private: + uint32_t _internal_expiration_date() const; + void _internal_set_expiration_date(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOEconCoupon) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t entryid_; + uint32_t defidx_; + uint32_t expiration_date_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountItemPersonalStore final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountItemPersonalStore) */ { + public: + inline CSOAccountItemPersonalStore() : CSOAccountItemPersonalStore(nullptr) {} + ~CSOAccountItemPersonalStore() override; + explicit PROTOBUF_CONSTEXPR CSOAccountItemPersonalStore(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountItemPersonalStore(const CSOAccountItemPersonalStore& from); + CSOAccountItemPersonalStore(CSOAccountItemPersonalStore&& from) noexcept + : CSOAccountItemPersonalStore() { + *this = ::std::move(from); + } + + inline CSOAccountItemPersonalStore& operator=(const CSOAccountItemPersonalStore& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountItemPersonalStore& operator=(CSOAccountItemPersonalStore&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountItemPersonalStore& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountItemPersonalStore* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountItemPersonalStore_default_instance_); + } + static constexpr int kIndexInFileMessages = + 119; + + friend void swap(CSOAccountItemPersonalStore& a, CSOAccountItemPersonalStore& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountItemPersonalStore* 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(CSOAccountItemPersonalStore* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountItemPersonalStore* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountItemPersonalStore& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountItemPersonalStore& from) { + CSOAccountItemPersonalStore::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(CSOAccountItemPersonalStore* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountItemPersonalStore"; + } + protected: + explicit CSOAccountItemPersonalStore(::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 { + kItemsFieldNumber = 3, + kGenerationTimeFieldNumber = 1, + kRedeemableBalanceFieldNumber = 2, + }; + // repeated uint64 items = 3; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + private: + uint64_t _internal_items(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_items() const; + void _internal_add_items(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_items(); + public: + uint64_t items(int index) const; + void set_items(int index, uint64_t value); + void add_items(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + items() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_items(); + + // optional uint32 generation_time = 1; + bool has_generation_time() const; + private: + bool _internal_has_generation_time() const; + public: + void clear_generation_time(); + uint32_t generation_time() const; + void set_generation_time(uint32_t value); + private: + uint32_t _internal_generation_time() const; + void _internal_set_generation_time(uint32_t value); + public: + + // optional uint32 redeemable_balance = 2; + bool has_redeemable_balance() const; + private: + bool _internal_has_redeemable_balance() const; + public: + void clear_redeemable_balance(); + uint32_t redeemable_balance() const; + void set_redeemable_balance(uint32_t value); + private: + uint32_t _internal_redeemable_balance() const; + void _internal_set_redeemable_balance(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountItemPersonalStore) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > items_; + uint32_t generation_time_; + uint32_t redeemable_balance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountXpShop final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountXpShop) */ { + public: + inline CSOAccountXpShop() : CSOAccountXpShop(nullptr) {} + ~CSOAccountXpShop() override; + explicit PROTOBUF_CONSTEXPR CSOAccountXpShop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountXpShop(const CSOAccountXpShop& from); + CSOAccountXpShop(CSOAccountXpShop&& from) noexcept + : CSOAccountXpShop() { + *this = ::std::move(from); + } + + inline CSOAccountXpShop& operator=(const CSOAccountXpShop& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountXpShop& operator=(CSOAccountXpShop&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountXpShop& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountXpShop* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountXpShop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 120; + + friend void swap(CSOAccountXpShop& a, CSOAccountXpShop& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountXpShop* 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(CSOAccountXpShop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountXpShop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountXpShop& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountXpShop& from) { + CSOAccountXpShop::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(CSOAccountXpShop* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountXpShop"; + } + protected: + explicit CSOAccountXpShop(::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 { + kXpTracksFieldNumber = 3, + kGenerationTimeFieldNumber = 1, + kRedeemableBalanceFieldNumber = 2, + }; + // repeated uint32 xp_tracks = 3; + int xp_tracks_size() const; + private: + int _internal_xp_tracks_size() const; + public: + void clear_xp_tracks(); + private: + uint32_t _internal_xp_tracks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_xp_tracks() const; + void _internal_add_xp_tracks(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_xp_tracks(); + public: + uint32_t xp_tracks(int index) const; + void set_xp_tracks(int index, uint32_t value); + void add_xp_tracks(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + xp_tracks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_xp_tracks(); + + // optional uint32 generation_time = 1; + bool has_generation_time() const; + private: + bool _internal_has_generation_time() const; + public: + void clear_generation_time(); + uint32_t generation_time() const; + void set_generation_time(uint32_t value); + private: + uint32_t _internal_generation_time() const; + void _internal_set_generation_time(uint32_t value); + public: + + // optional uint32 redeemable_balance = 2; + bool has_redeemable_balance() const; + private: + bool _internal_has_redeemable_balance() const; + public: + void clear_redeemable_balance(); + uint32_t redeemable_balance() const; + void set_redeemable_balance(uint32_t value); + private: + uint32_t _internal_redeemable_balance() const; + void _internal_set_redeemable_balance(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountXpShop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > xp_tracks_; + uint32_t generation_time_; + uint32_t redeemable_balance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountXpShopBids final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountXpShopBids) */ { + public: + inline CSOAccountXpShopBids() : CSOAccountXpShopBids(nullptr) {} + ~CSOAccountXpShopBids() override; + explicit PROTOBUF_CONSTEXPR CSOAccountXpShopBids(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountXpShopBids(const CSOAccountXpShopBids& from); + CSOAccountXpShopBids(CSOAccountXpShopBids&& from) noexcept + : CSOAccountXpShopBids() { + *this = ::std::move(from); + } + + inline CSOAccountXpShopBids& operator=(const CSOAccountXpShopBids& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountXpShopBids& operator=(CSOAccountXpShopBids&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountXpShopBids& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountXpShopBids* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountXpShopBids_default_instance_); + } + static constexpr int kIndexInFileMessages = + 121; + + friend void swap(CSOAccountXpShopBids& a, CSOAccountXpShopBids& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountXpShopBids* 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(CSOAccountXpShopBids* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountXpShopBids* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountXpShopBids& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountXpShopBids& from) { + CSOAccountXpShopBids::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(CSOAccountXpShopBids* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountXpShopBids"; + } + protected: + explicit CSOAccountXpShopBids(::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 { + kCampaignIdFieldNumber = 1, + kRedeemIdFieldNumber = 2, + kExpectedCostFieldNumber = 3, + kGenerationTimeFieldNumber = 4, + }; + // optional uint32 campaign_id = 1 [(.key_field) = true]; + bool has_campaign_id() const; + private: + bool _internal_has_campaign_id() const; + public: + void clear_campaign_id(); + uint32_t campaign_id() const; + void set_campaign_id(uint32_t value); + private: + uint32_t _internal_campaign_id() const; + void _internal_set_campaign_id(uint32_t value); + public: + + // optional uint32 redeem_id = 2 [(.key_field) = true]; + bool has_redeem_id() const; + private: + bool _internal_has_redeem_id() const; + public: + void clear_redeem_id(); + uint32_t redeem_id() const; + void set_redeem_id(uint32_t value); + private: + uint32_t _internal_redeem_id() const; + void _internal_set_redeem_id(uint32_t value); + public: + + // optional uint32 expected_cost = 3; + bool has_expected_cost() const; + private: + bool _internal_has_expected_cost() const; + public: + void clear_expected_cost(); + uint32_t expected_cost() const; + void set_expected_cost(uint32_t value); + private: + uint32_t _internal_expected_cost() const; + void _internal_set_expected_cost(uint32_t value); + public: + + // optional uint32 generation_time = 4; + bool has_generation_time() const; + private: + bool _internal_has_generation_time() const; + public: + void clear_generation_time(); + uint32_t generation_time() const; + void set_generation_time(uint32_t value); + private: + uint32_t _internal_generation_time() const; + void _internal_set_generation_time(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountXpShopBids) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t campaign_id_; + uint32_t redeem_id_; + uint32_t expected_cost_; + uint32_t generation_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOVolatileItemOffer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOVolatileItemOffer) */ { + public: + inline CSOVolatileItemOffer() : CSOVolatileItemOffer(nullptr) {} + ~CSOVolatileItemOffer() override; + explicit PROTOBUF_CONSTEXPR CSOVolatileItemOffer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOVolatileItemOffer(const CSOVolatileItemOffer& from); + CSOVolatileItemOffer(CSOVolatileItemOffer&& from) noexcept + : CSOVolatileItemOffer() { + *this = ::std::move(from); + } + + inline CSOVolatileItemOffer& operator=(const CSOVolatileItemOffer& from) { + CopyFrom(from); + return *this; + } + inline CSOVolatileItemOffer& operator=(CSOVolatileItemOffer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOVolatileItemOffer& default_instance() { + return *internal_default_instance(); + } + static inline const CSOVolatileItemOffer* internal_default_instance() { + return reinterpret_cast( + &_CSOVolatileItemOffer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 122; + + friend void swap(CSOVolatileItemOffer& a, CSOVolatileItemOffer& b) { + a.Swap(&b); + } + inline void Swap(CSOVolatileItemOffer* 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(CSOVolatileItemOffer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOVolatileItemOffer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOVolatileItemOffer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOVolatileItemOffer& from) { + CSOVolatileItemOffer::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(CSOVolatileItemOffer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOVolatileItemOffer"; + } + protected: + explicit CSOVolatileItemOffer(::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 { + kFauxItemidFieldNumber = 2, + kGenerationTimeFieldNumber = 3, + kDefidxFieldNumber = 1, + }; + // repeated uint64 faux_itemid = 2; + int faux_itemid_size() const; + private: + int _internal_faux_itemid_size() const; + public: + void clear_faux_itemid(); + private: + uint64_t _internal_faux_itemid(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_faux_itemid() const; + void _internal_add_faux_itemid(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_faux_itemid(); + public: + uint64_t faux_itemid(int index) const; + void set_faux_itemid(int index, uint64_t value); + void add_faux_itemid(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + faux_itemid() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_faux_itemid(); + + // repeated uint32 generation_time = 3; + int generation_time_size() const; + private: + int _internal_generation_time_size() const; + public: + void clear_generation_time(); + private: + uint32_t _internal_generation_time(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_generation_time() const; + void _internal_add_generation_time(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_generation_time(); + public: + uint32_t generation_time(int index) const; + void set_generation_time(int index, uint32_t value); + void add_generation_time(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + generation_time() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_generation_time(); + + // optional uint32 defidx = 1 [(.key_field) = true]; + bool has_defidx() const; + private: + bool _internal_has_defidx() const; + public: + void clear_defidx(); + uint32_t defidx() const; + void set_defidx(uint32_t value); + private: + uint32_t _internal_defidx() const; + void _internal_set_defidx(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOVolatileItemOffer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > faux_itemid_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > generation_time_; + uint32_t defidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOVolatileItemClaimedRewards final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOVolatileItemClaimedRewards) */ { + public: + inline CSOVolatileItemClaimedRewards() : CSOVolatileItemClaimedRewards(nullptr) {} + ~CSOVolatileItemClaimedRewards() override; + explicit PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewards(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOVolatileItemClaimedRewards(const CSOVolatileItemClaimedRewards& from); + CSOVolatileItemClaimedRewards(CSOVolatileItemClaimedRewards&& from) noexcept + : CSOVolatileItemClaimedRewards() { + *this = ::std::move(from); + } + + inline CSOVolatileItemClaimedRewards& operator=(const CSOVolatileItemClaimedRewards& from) { + CopyFrom(from); + return *this; + } + inline CSOVolatileItemClaimedRewards& operator=(CSOVolatileItemClaimedRewards&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOVolatileItemClaimedRewards& default_instance() { + return *internal_default_instance(); + } + static inline const CSOVolatileItemClaimedRewards* internal_default_instance() { + return reinterpret_cast( + &_CSOVolatileItemClaimedRewards_default_instance_); + } + static constexpr int kIndexInFileMessages = + 123; + + friend void swap(CSOVolatileItemClaimedRewards& a, CSOVolatileItemClaimedRewards& b) { + a.Swap(&b); + } + inline void Swap(CSOVolatileItemClaimedRewards* 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(CSOVolatileItemClaimedRewards* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOVolatileItemClaimedRewards* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOVolatileItemClaimedRewards& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOVolatileItemClaimedRewards& from) { + CSOVolatileItemClaimedRewards::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(CSOVolatileItemClaimedRewards* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOVolatileItemClaimedRewards"; + } + protected: + explicit CSOVolatileItemClaimedRewards(::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 { + kRewardFieldNumber = 2, + kGenerationTimeFieldNumber = 3, + kDefidxFieldNumber = 1, + }; + // repeated uint32 reward = 2; + int reward_size() const; + private: + int _internal_reward_size() const; + public: + void clear_reward(); + private: + uint32_t _internal_reward(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_reward() const; + void _internal_add_reward(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_reward(); + public: + uint32_t reward(int index) const; + void set_reward(int index, uint32_t value); + void add_reward(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + reward() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_reward(); + + // repeated uint32 generation_time = 3; + int generation_time_size() const; + private: + int _internal_generation_time_size() const; + public: + void clear_generation_time(); + private: + uint32_t _internal_generation_time(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_generation_time() const; + void _internal_add_generation_time(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_generation_time(); + public: + uint32_t generation_time(int index) const; + void set_generation_time(int index, uint32_t value); + void add_generation_time(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + generation_time() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_generation_time(); + + // optional uint32 defidx = 1 [(.key_field) = true]; + bool has_defidx() const; + private: + bool _internal_has_defidx() const; + public: + void clear_defidx(); + uint32_t defidx() const; + void set_defidx(uint32_t value); + private: + uint32_t _internal_defidx() const; + void _internal_set_defidx(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOVolatileItemClaimedRewards) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > reward_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > generation_time_; + uint32_t defidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountKeychainRemoveToolCharges final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountKeychainRemoveToolCharges) */ { + public: + inline CSOAccountKeychainRemoveToolCharges() : CSOAccountKeychainRemoveToolCharges(nullptr) {} + ~CSOAccountKeychainRemoveToolCharges() override; + explicit PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolCharges(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountKeychainRemoveToolCharges(const CSOAccountKeychainRemoveToolCharges& from); + CSOAccountKeychainRemoveToolCharges(CSOAccountKeychainRemoveToolCharges&& from) noexcept + : CSOAccountKeychainRemoveToolCharges() { + *this = ::std::move(from); + } + + inline CSOAccountKeychainRemoveToolCharges& operator=(const CSOAccountKeychainRemoveToolCharges& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountKeychainRemoveToolCharges& operator=(CSOAccountKeychainRemoveToolCharges&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountKeychainRemoveToolCharges& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountKeychainRemoveToolCharges* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountKeychainRemoveToolCharges_default_instance_); + } + static constexpr int kIndexInFileMessages = + 124; + + friend void swap(CSOAccountKeychainRemoveToolCharges& a, CSOAccountKeychainRemoveToolCharges& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountKeychainRemoveToolCharges* 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(CSOAccountKeychainRemoveToolCharges* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountKeychainRemoveToolCharges* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountKeychainRemoveToolCharges& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountKeychainRemoveToolCharges& from) { + CSOAccountKeychainRemoveToolCharges::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(CSOAccountKeychainRemoveToolCharges* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountKeychainRemoveToolCharges"; + } + protected: + explicit CSOAccountKeychainRemoveToolCharges(::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 { + kChargesFieldNumber = 1, + }; + // optional uint32 charges = 1; + bool has_charges() const; + private: + bool _internal_has_charges() const; + public: + void clear_charges(); + uint32_t charges() const; + void set_charges(uint32_t value); + private: + uint32_t _internal_charges() const; + void _internal_set_charges(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountKeychainRemoveToolCharges) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t charges_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOQuestProgress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOQuestProgress) */ { + public: + inline CSOQuestProgress() : CSOQuestProgress(nullptr) {} + ~CSOQuestProgress() override; + explicit PROTOBUF_CONSTEXPR CSOQuestProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOQuestProgress(const CSOQuestProgress& from); + CSOQuestProgress(CSOQuestProgress&& from) noexcept + : CSOQuestProgress() { + *this = ::std::move(from); + } + + inline CSOQuestProgress& operator=(const CSOQuestProgress& from) { + CopyFrom(from); + return *this; + } + inline CSOQuestProgress& operator=(CSOQuestProgress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOQuestProgress& default_instance() { + return *internal_default_instance(); + } + static inline const CSOQuestProgress* internal_default_instance() { + return reinterpret_cast( + &_CSOQuestProgress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 125; + + friend void swap(CSOQuestProgress& a, CSOQuestProgress& b) { + a.Swap(&b); + } + inline void Swap(CSOQuestProgress* 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(CSOQuestProgress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOQuestProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOQuestProgress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOQuestProgress& from) { + CSOQuestProgress::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(CSOQuestProgress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOQuestProgress"; + } + protected: + explicit CSOQuestProgress(::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 { + kQuestidFieldNumber = 1, + kPointsRemainingFieldNumber = 2, + kBonusPointsFieldNumber = 3, + }; + // optional uint32 questid = 1 [(.key_field) = true]; + bool has_questid() const; + private: + bool _internal_has_questid() const; + public: + void clear_questid(); + uint32_t questid() const; + void set_questid(uint32_t value); + private: + uint32_t _internal_questid() const; + void _internal_set_questid(uint32_t value); + public: + + // optional uint32 points_remaining = 2; + bool has_points_remaining() const; + private: + bool _internal_has_points_remaining() const; + public: + void clear_points_remaining(); + uint32_t points_remaining() const; + void set_points_remaining(uint32_t value); + private: + uint32_t _internal_points_remaining() const; + void _internal_set_points_remaining(uint32_t value); + public: + + // optional uint32 bonus_points = 3; + bool has_bonus_points() const; + private: + bool _internal_has_bonus_points() const; + public: + void clear_bonus_points(); + uint32_t bonus_points() const; + void set_bonus_points(uint32_t value); + private: + uint32_t _internal_bonus_points() const; + void _internal_set_bonus_points(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOQuestProgress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t questid_; + uint32_t points_remaining_; + uint32_t bonus_points_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountSeasonalOperation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountSeasonalOperation) */ { + public: + inline CSOAccountSeasonalOperation() : CSOAccountSeasonalOperation(nullptr) {} + ~CSOAccountSeasonalOperation() override; + explicit PROTOBUF_CONSTEXPR CSOAccountSeasonalOperation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountSeasonalOperation(const CSOAccountSeasonalOperation& from); + CSOAccountSeasonalOperation(CSOAccountSeasonalOperation&& from) noexcept + : CSOAccountSeasonalOperation() { + *this = ::std::move(from); + } + + inline CSOAccountSeasonalOperation& operator=(const CSOAccountSeasonalOperation& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountSeasonalOperation& operator=(CSOAccountSeasonalOperation&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountSeasonalOperation& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountSeasonalOperation* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountSeasonalOperation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 126; + + friend void swap(CSOAccountSeasonalOperation& a, CSOAccountSeasonalOperation& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountSeasonalOperation* 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(CSOAccountSeasonalOperation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountSeasonalOperation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountSeasonalOperation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountSeasonalOperation& from) { + CSOAccountSeasonalOperation::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(CSOAccountSeasonalOperation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountSeasonalOperation"; + } + protected: + explicit CSOAccountSeasonalOperation(::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 { + kSeasonValueFieldNumber = 1, + kTierUnlockedFieldNumber = 2, + kPremiumTiersFieldNumber = 3, + kMissionIdFieldNumber = 4, + kMissionsCompletedFieldNumber = 5, + kRedeemableBalanceFieldNumber = 6, + kSeasonPassTimeFieldNumber = 7, + }; + // optional uint32 season_value = 1 [(.key_field) = true]; + bool has_season_value() const; + private: + bool _internal_has_season_value() const; + public: + void clear_season_value(); + uint32_t season_value() const; + void set_season_value(uint32_t value); + private: + uint32_t _internal_season_value() const; + void _internal_set_season_value(uint32_t value); + public: + + // optional uint32 tier_unlocked = 2; + bool has_tier_unlocked() const; + private: + bool _internal_has_tier_unlocked() const; + public: + void clear_tier_unlocked(); + uint32_t tier_unlocked() const; + void set_tier_unlocked(uint32_t value); + private: + uint32_t _internal_tier_unlocked() const; + void _internal_set_tier_unlocked(uint32_t value); + public: + + // optional uint32 premium_tiers = 3; + bool has_premium_tiers() const; + private: + bool _internal_has_premium_tiers() const; + public: + void clear_premium_tiers(); + uint32_t premium_tiers() const; + void set_premium_tiers(uint32_t value); + private: + uint32_t _internal_premium_tiers() const; + void _internal_set_premium_tiers(uint32_t value); + public: + + // optional uint32 mission_id = 4; + bool has_mission_id() const; + private: + bool _internal_has_mission_id() const; + public: + void clear_mission_id(); + uint32_t mission_id() const; + void set_mission_id(uint32_t value); + private: + uint32_t _internal_mission_id() const; + void _internal_set_mission_id(uint32_t value); + public: + + // optional uint32 missions_completed = 5; + bool has_missions_completed() const; + private: + bool _internal_has_missions_completed() const; + public: + void clear_missions_completed(); + uint32_t missions_completed() const; + void set_missions_completed(uint32_t value); + private: + uint32_t _internal_missions_completed() const; + void _internal_set_missions_completed(uint32_t value); + public: + + // optional uint32 redeemable_balance = 6; + bool has_redeemable_balance() const; + private: + bool _internal_has_redeemable_balance() const; + public: + void clear_redeemable_balance(); + uint32_t redeemable_balance() const; + void set_redeemable_balance(uint32_t value); + private: + uint32_t _internal_redeemable_balance() const; + void _internal_set_redeemable_balance(uint32_t value); + public: + + // optional uint32 season_pass_time = 7; + bool has_season_pass_time() const; + private: + bool _internal_has_season_pass_time() const; + public: + void clear_season_pass_time(); + uint32_t season_pass_time() const; + void set_season_pass_time(uint32_t value); + private: + uint32_t _internal_season_pass_time() const; + void _internal_set_season_pass_time(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountSeasonalOperation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t season_value_; + uint32_t tier_unlocked_; + uint32_t premium_tiers_; + uint32_t mission_id_; + uint32_t missions_completed_; + uint32_t redeemable_balance_; + uint32_t season_pass_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountRecurringSubscription final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountRecurringSubscription) */ { + public: + inline CSOAccountRecurringSubscription() : CSOAccountRecurringSubscription(nullptr) {} + ~CSOAccountRecurringSubscription() override; + explicit PROTOBUF_CONSTEXPR CSOAccountRecurringSubscription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountRecurringSubscription(const CSOAccountRecurringSubscription& from); + CSOAccountRecurringSubscription(CSOAccountRecurringSubscription&& from) noexcept + : CSOAccountRecurringSubscription() { + *this = ::std::move(from); + } + + inline CSOAccountRecurringSubscription& operator=(const CSOAccountRecurringSubscription& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountRecurringSubscription& operator=(CSOAccountRecurringSubscription&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountRecurringSubscription& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountRecurringSubscription* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountRecurringSubscription_default_instance_); + } + static constexpr int kIndexInFileMessages = + 127; + + friend void swap(CSOAccountRecurringSubscription& a, CSOAccountRecurringSubscription& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountRecurringSubscription* 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(CSOAccountRecurringSubscription* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountRecurringSubscription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountRecurringSubscription& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountRecurringSubscription& from) { + CSOAccountRecurringSubscription::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(CSOAccountRecurringSubscription* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountRecurringSubscription"; + } + protected: + explicit CSOAccountRecurringSubscription(::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 { + kTimeNextCycleFieldNumber = 1, + kTimeInitiatedFieldNumber = 2, + }; + // optional uint32 time_next_cycle = 1; + bool has_time_next_cycle() const; + private: + bool _internal_has_time_next_cycle() const; + public: + void clear_time_next_cycle(); + uint32_t time_next_cycle() const; + void set_time_next_cycle(uint32_t value); + private: + uint32_t _internal_time_next_cycle() const; + void _internal_set_time_next_cycle(uint32_t value); + public: + + // optional uint32 time_initiated = 2; + bool has_time_initiated() const; + private: + bool _internal_has_time_initiated() const; + public: + void clear_time_initiated(); + uint32_t time_initiated() const; + void set_time_initiated(uint32_t value); + private: + uint32_t _internal_time_initiated() const; + void _internal_set_time_initiated(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountRecurringSubscription) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t time_next_cycle_; + uint32_t time_initiated_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOGameAccountSteamChina final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOGameAccountSteamChina) */ { + public: + inline CSOGameAccountSteamChina() : CSOGameAccountSteamChina(nullptr) {} + ~CSOGameAccountSteamChina() override; + explicit PROTOBUF_CONSTEXPR CSOGameAccountSteamChina(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOGameAccountSteamChina(const CSOGameAccountSteamChina& from); + CSOGameAccountSteamChina(CSOGameAccountSteamChina&& from) noexcept + : CSOGameAccountSteamChina() { + *this = ::std::move(from); + } + + inline CSOGameAccountSteamChina& operator=(const CSOGameAccountSteamChina& from) { + CopyFrom(from); + return *this; + } + inline CSOGameAccountSteamChina& operator=(CSOGameAccountSteamChina&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOGameAccountSteamChina& default_instance() { + return *internal_default_instance(); + } + static inline const CSOGameAccountSteamChina* internal_default_instance() { + return reinterpret_cast( + &_CSOGameAccountSteamChina_default_instance_); + } + static constexpr int kIndexInFileMessages = + 128; + + friend void swap(CSOGameAccountSteamChina& a, CSOGameAccountSteamChina& b) { + a.Swap(&b); + } + inline void Swap(CSOGameAccountSteamChina* 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(CSOGameAccountSteamChina* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOGameAccountSteamChina* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOGameAccountSteamChina& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOGameAccountSteamChina& from) { + CSOGameAccountSteamChina::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(CSOGameAccountSteamChina* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOGameAccountSteamChina"; + } + protected: + explicit CSOGameAccountSteamChina(::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 { + kTimeLastUpdateFieldNumber = 1, + kTimeCommsBanFieldNumber = 2, + kTimePlayBanFieldNumber = 3, + }; + // optional uint32 time_last_update = 1; + bool has_time_last_update() const; + private: + bool _internal_has_time_last_update() const; + public: + void clear_time_last_update(); + uint32_t time_last_update() const; + void set_time_last_update(uint32_t value); + private: + uint32_t _internal_time_last_update() const; + void _internal_set_time_last_update(uint32_t value); + public: + + // optional uint32 time_comms_ban = 2; + bool has_time_comms_ban() const; + private: + bool _internal_has_time_comms_ban() const; + public: + void clear_time_comms_ban(); + uint32_t time_comms_ban() const; + void set_time_comms_ban(uint32_t value); + private: + uint32_t _internal_time_comms_ban() const; + void _internal_set_time_comms_ban(uint32_t value); + public: + + // optional uint32 time_play_ban = 3; + bool has_time_play_ban() const; + private: + bool _internal_has_time_play_ban() const; + public: + void clear_time_play_ban(); + uint32_t time_play_ban() const; + void set_time_play_ban(uint32_t value); + private: + uint32_t _internal_time_play_ban() const; + void _internal_set_time_play_ban(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOGameAccountSteamChina) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t time_last_update_; + uint32_t time_comms_ban_; + uint32_t time_play_ban_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOPersonaDataPublic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOPersonaDataPublic) */ { + public: + inline CSOPersonaDataPublic() : CSOPersonaDataPublic(nullptr) {} + ~CSOPersonaDataPublic() override; + explicit PROTOBUF_CONSTEXPR CSOPersonaDataPublic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOPersonaDataPublic(const CSOPersonaDataPublic& from); + CSOPersonaDataPublic(CSOPersonaDataPublic&& from) noexcept + : CSOPersonaDataPublic() { + *this = ::std::move(from); + } + + inline CSOPersonaDataPublic& operator=(const CSOPersonaDataPublic& from) { + CopyFrom(from); + return *this; + } + inline CSOPersonaDataPublic& operator=(CSOPersonaDataPublic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOPersonaDataPublic& default_instance() { + return *internal_default_instance(); + } + static inline const CSOPersonaDataPublic* internal_default_instance() { + return reinterpret_cast( + &_CSOPersonaDataPublic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 129; + + friend void swap(CSOPersonaDataPublic& a, CSOPersonaDataPublic& b) { + a.Swap(&b); + } + inline void Swap(CSOPersonaDataPublic* 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(CSOPersonaDataPublic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOPersonaDataPublic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOPersonaDataPublic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOPersonaDataPublic& from) { + CSOPersonaDataPublic::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(CSOPersonaDataPublic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOPersonaDataPublic"; + } + protected: + explicit CSOPersonaDataPublic(::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 { + kCommendationFieldNumber = 2, + kPlayerLevelFieldNumber = 1, + kElevatedStateFieldNumber = 3, + kXpTrailTimestampRefreshFieldNumber = 4, + kXpTrailLevelFieldNumber = 5, + }; + // optional .PlayerCommendationInfo commendation = 2; + bool has_commendation() const; + private: + bool _internal_has_commendation() const; + public: + void clear_commendation(); + const ::PlayerCommendationInfo& commendation() const; + PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); + ::PlayerCommendationInfo* mutable_commendation(); + void set_allocated_commendation(::PlayerCommendationInfo* commendation); + private: + const ::PlayerCommendationInfo& _internal_commendation() const; + ::PlayerCommendationInfo* _internal_mutable_commendation(); + public: + void unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation); + ::PlayerCommendationInfo* unsafe_arena_release_commendation(); + + // optional int32 player_level = 1; + bool has_player_level() const; + private: + bool _internal_has_player_level() const; + public: + void clear_player_level(); + int32_t player_level() const; + void set_player_level(int32_t value); + private: + int32_t _internal_player_level() const; + void _internal_set_player_level(int32_t value); + public: + + // optional bool elevated_state = 3; + bool has_elevated_state() const; + private: + bool _internal_has_elevated_state() const; + public: + void clear_elevated_state(); + bool elevated_state() const; + void set_elevated_state(bool value); + private: + bool _internal_elevated_state() const; + void _internal_set_elevated_state(bool value); + public: + + // optional uint32 xp_trail_timestamp_refresh = 4; + bool has_xp_trail_timestamp_refresh() const; + private: + bool _internal_has_xp_trail_timestamp_refresh() const; + public: + void clear_xp_trail_timestamp_refresh(); + uint32_t xp_trail_timestamp_refresh() const; + void set_xp_trail_timestamp_refresh(uint32_t value); + private: + uint32_t _internal_xp_trail_timestamp_refresh() const; + void _internal_set_xp_trail_timestamp_refresh(uint32_t value); + public: + + // optional uint32 xp_trail_level = 5; + bool has_xp_trail_level() const; + private: + bool _internal_has_xp_trail_level() const; + public: + void clear_xp_trail_level(); + uint32_t xp_trail_level() const; + void set_xp_trail_level(uint32_t value); + private: + uint32_t _internal_xp_trail_level() const; + void _internal_set_xp_trail_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOPersonaDataPublic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PlayerCommendationInfo* commendation_; + int32_t player_level_; + bool elevated_state_; + uint32_t xp_trail_timestamp_refresh_; + uint32_t xp_trail_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSOAccountRecurringMission final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountRecurringMission) */ { + public: + inline CSOAccountRecurringMission() : CSOAccountRecurringMission(nullptr) {} + ~CSOAccountRecurringMission() override; + explicit PROTOBUF_CONSTEXPR CSOAccountRecurringMission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSOAccountRecurringMission(const CSOAccountRecurringMission& from); + CSOAccountRecurringMission(CSOAccountRecurringMission&& from) noexcept + : CSOAccountRecurringMission() { + *this = ::std::move(from); + } + + inline CSOAccountRecurringMission& operator=(const CSOAccountRecurringMission& from) { + CopyFrom(from); + return *this; + } + inline CSOAccountRecurringMission& operator=(CSOAccountRecurringMission&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSOAccountRecurringMission& default_instance() { + return *internal_default_instance(); + } + static inline const CSOAccountRecurringMission* internal_default_instance() { + return reinterpret_cast( + &_CSOAccountRecurringMission_default_instance_); + } + static constexpr int kIndexInFileMessages = + 130; + + friend void swap(CSOAccountRecurringMission& a, CSOAccountRecurringMission& b) { + a.Swap(&b); + } + inline void Swap(CSOAccountRecurringMission* 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(CSOAccountRecurringMission* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSOAccountRecurringMission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSOAccountRecurringMission& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSOAccountRecurringMission& from) { + CSOAccountRecurringMission::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(CSOAccountRecurringMission* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSOAccountRecurringMission"; + } + protected: + explicit CSOAccountRecurringMission(::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 { + kAccountIdFieldNumber = 1, + kMissionIdFieldNumber = 2, + kPeriodFieldNumber = 3, + kProgressFieldNumber = 4, + }; + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional uint32 mission_id = 2; + bool has_mission_id() const; + private: + bool _internal_has_mission_id() const; + public: + void clear_mission_id(); + uint32_t mission_id() const; + void set_mission_id(uint32_t value); + private: + uint32_t _internal_mission_id() const; + void _internal_set_mission_id(uint32_t value); + public: + + // optional uint32 period = 3; + bool has_period() const; + private: + bool _internal_has_period() const; + public: + void clear_period(); + uint32_t period() const; + void set_period(uint32_t value); + private: + uint32_t _internal_period() const; + void _internal_set_period(uint32_t value); + public: + + // optional uint32 progress = 4; + bool has_progress() const; + private: + bool _internal_has_progress() const; + public: + void clear_progress(); + uint32_t progress() const; + void set_progress(uint32_t value); + private: + uint32_t _internal_progress() const; + void _internal_set_progress(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSOAccountRecurringMission) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t account_id_; + uint32_t mission_id_; + uint32_t period_; + uint32_t progress_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() : CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from); + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& operator=(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& operator=(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 131; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& a, CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* 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(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { + CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::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(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientNotifyXPShop"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::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 { + kPrematchFieldNumber = 1, + kPostmatchFieldNumber = 2, + kCurrentXpFieldNumber = 3, + kCurrentLevelFieldNumber = 4, + }; + // optional .CSOAccountXpShop prematch = 1; + bool has_prematch() const; + private: + bool _internal_has_prematch() const; + public: + void clear_prematch(); + const ::CSOAccountXpShop& prematch() const; + PROTOBUF_NODISCARD ::CSOAccountXpShop* release_prematch(); + ::CSOAccountXpShop* mutable_prematch(); + void set_allocated_prematch(::CSOAccountXpShop* prematch); + private: + const ::CSOAccountXpShop& _internal_prematch() const; + ::CSOAccountXpShop* _internal_mutable_prematch(); + public: + void unsafe_arena_set_allocated_prematch( + ::CSOAccountXpShop* prematch); + ::CSOAccountXpShop* unsafe_arena_release_prematch(); + + // optional .CSOAccountXpShop postmatch = 2; + bool has_postmatch() const; + private: + bool _internal_has_postmatch() const; + public: + void clear_postmatch(); + const ::CSOAccountXpShop& postmatch() const; + PROTOBUF_NODISCARD ::CSOAccountXpShop* release_postmatch(); + ::CSOAccountXpShop* mutable_postmatch(); + void set_allocated_postmatch(::CSOAccountXpShop* postmatch); + private: + const ::CSOAccountXpShop& _internal_postmatch() const; + ::CSOAccountXpShop* _internal_mutable_postmatch(); + public: + void unsafe_arena_set_allocated_postmatch( + ::CSOAccountXpShop* postmatch); + ::CSOAccountXpShop* unsafe_arena_release_postmatch(); + + // optional uint32 current_xp = 3; + bool has_current_xp() const; + private: + bool _internal_has_current_xp() const; + public: + void clear_current_xp(); + uint32_t current_xp() const; + void set_current_xp(uint32_t value); + private: + uint32_t _internal_current_xp() const; + void _internal_set_current_xp(uint32_t value); + public: + + // optional uint32 current_level = 4; + bool has_current_level() const; + private: + bool _internal_has_current_level() const; + public: + void clear_current_level(); + uint32_t current_level() const; + void set_current_level(uint32_t value); + private: + uint32_t _internal_current_level() const; + void _internal_set_current_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CSOAccountXpShop* prematch_; + ::CSOAccountXpShop* postmatch_; + uint32_t current_xp_; + uint32_t current_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) */ { + public: + inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks() : CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from); + CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks&& from) noexcept + : CMsgGCCStrike15_v2_Client2GcAckXPShopTracks() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& operator=(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& operator=(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_); + } + static constexpr int kIndexInFileMessages = + 132; + + friend void swap(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& a, CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* 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(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& 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 "CMsgGCCStrike15_v2_Client2GcAckXPShopTracks"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::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:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) */ { + public: + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() : CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(nullptr) {} + ~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from); + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats&& from) noexcept + : CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 133; + + friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* 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(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { + CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::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(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats"; + } + protected: + explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::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 { + kGsLocationIdFieldNumber = 1, + kDataCenterIdFieldNumber = 2, + kNumLockedInFieldNumber = 3, + kNumFoundNearbyFieldNumber = 4, + kNoteLevelFieldNumber = 5, + }; + // optional uint32 gs_location_id = 1; + bool has_gs_location_id() const; + private: + bool _internal_has_gs_location_id() const; + public: + void clear_gs_location_id(); + uint32_t gs_location_id() const; + void set_gs_location_id(uint32_t value); + private: + uint32_t _internal_gs_location_id() const; + void _internal_set_gs_location_id(uint32_t value); + public: + + // optional uint32 data_center_id = 2; + bool has_data_center_id() const; + private: + bool _internal_has_data_center_id() const; + public: + void clear_data_center_id(); + uint32_t data_center_id() const; + void set_data_center_id(uint32_t value); + private: + uint32_t _internal_data_center_id() const; + void _internal_set_data_center_id(uint32_t value); + public: + + // optional uint32 num_locked_in = 3; + bool has_num_locked_in() const; + private: + bool _internal_has_num_locked_in() const; + public: + void clear_num_locked_in(); + uint32_t num_locked_in() const; + void set_num_locked_in(uint32_t value); + private: + uint32_t _internal_num_locked_in() const; + void _internal_set_num_locked_in(uint32_t value); + public: + + // optional uint32 num_found_nearby = 4; + bool has_num_found_nearby() const; + private: + bool _internal_has_num_found_nearby() const; + public: + void clear_num_found_nearby(); + uint32_t num_found_nearby() const; + void set_num_found_nearby(uint32_t value); + private: + uint32_t _internal_num_found_nearby() const; + void _internal_set_num_found_nearby(uint32_t value); + public: + + // optional uint32 note_level = 5; + bool has_note_level() const; + private: + bool _internal_has_note_level() const; + public: + void clear_note_level(); + uint32_t note_level() const; + void set_note_level(uint32_t value); + private: + uint32_t _internal_note_level() const; + void _internal_set_note_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t gs_location_id_; + uint32_t data_center_id_; + uint32_t num_locked_in_; + uint32_t num_found_nearby_; + uint32_t note_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGC_GlobalGame_Subscribe final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Subscribe) */ { + public: + inline CMsgGC_GlobalGame_Subscribe() : CMsgGC_GlobalGame_Subscribe(nullptr) {} + ~CMsgGC_GlobalGame_Subscribe() override; + explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Subscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGC_GlobalGame_Subscribe(const CMsgGC_GlobalGame_Subscribe& from); + CMsgGC_GlobalGame_Subscribe(CMsgGC_GlobalGame_Subscribe&& from) noexcept + : CMsgGC_GlobalGame_Subscribe() { + *this = ::std::move(from); + } + + inline CMsgGC_GlobalGame_Subscribe& operator=(const CMsgGC_GlobalGame_Subscribe& from) { + CopyFrom(from); + return *this; + } + inline CMsgGC_GlobalGame_Subscribe& operator=(CMsgGC_GlobalGame_Subscribe&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGC_GlobalGame_Subscribe& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGC_GlobalGame_Subscribe* internal_default_instance() { + return reinterpret_cast( + &_CMsgGC_GlobalGame_Subscribe_default_instance_); + } + static constexpr int kIndexInFileMessages = + 134; + + friend void swap(CMsgGC_GlobalGame_Subscribe& a, CMsgGC_GlobalGame_Subscribe& b) { + a.Swap(&b); + } + inline void Swap(CMsgGC_GlobalGame_Subscribe* 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(CMsgGC_GlobalGame_Subscribe* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGC_GlobalGame_Subscribe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGC_GlobalGame_Subscribe& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGC_GlobalGame_Subscribe& from) { + CMsgGC_GlobalGame_Subscribe::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(CMsgGC_GlobalGame_Subscribe* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGC_GlobalGame_Subscribe"; + } + protected: + explicit CMsgGC_GlobalGame_Subscribe(::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 { + kTicketFieldNumber = 1, + }; + // optional uint64 ticket = 1; + bool has_ticket() const; + private: + bool _internal_has_ticket() const; + public: + void clear_ticket(); + uint64_t ticket() const; + void set_ticket(uint64_t value); + private: + uint64_t _internal_ticket() const; + void _internal_set_ticket(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Subscribe) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t ticket_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGC_GlobalGame_Unsubscribe final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Unsubscribe) */ { + public: + inline CMsgGC_GlobalGame_Unsubscribe() : CMsgGC_GlobalGame_Unsubscribe(nullptr) {} + ~CMsgGC_GlobalGame_Unsubscribe() override; + explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Unsubscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGC_GlobalGame_Unsubscribe(const CMsgGC_GlobalGame_Unsubscribe& from); + CMsgGC_GlobalGame_Unsubscribe(CMsgGC_GlobalGame_Unsubscribe&& from) noexcept + : CMsgGC_GlobalGame_Unsubscribe() { + *this = ::std::move(from); + } + + inline CMsgGC_GlobalGame_Unsubscribe& operator=(const CMsgGC_GlobalGame_Unsubscribe& from) { + CopyFrom(from); + return *this; + } + inline CMsgGC_GlobalGame_Unsubscribe& operator=(CMsgGC_GlobalGame_Unsubscribe&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGC_GlobalGame_Unsubscribe& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGC_GlobalGame_Unsubscribe* internal_default_instance() { + return reinterpret_cast( + &_CMsgGC_GlobalGame_Unsubscribe_default_instance_); + } + static constexpr int kIndexInFileMessages = + 135; + + friend void swap(CMsgGC_GlobalGame_Unsubscribe& a, CMsgGC_GlobalGame_Unsubscribe& b) { + a.Swap(&b); + } + inline void Swap(CMsgGC_GlobalGame_Unsubscribe* 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(CMsgGC_GlobalGame_Unsubscribe* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGC_GlobalGame_Unsubscribe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGC_GlobalGame_Unsubscribe& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGC_GlobalGame_Unsubscribe& from) { + CMsgGC_GlobalGame_Unsubscribe::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(CMsgGC_GlobalGame_Unsubscribe* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGC_GlobalGame_Unsubscribe"; + } + protected: + explicit CMsgGC_GlobalGame_Unsubscribe(::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 { + kTimeleftFieldNumber = 1, + }; + // optional int32 timeleft = 1; + bool has_timeleft() const; + private: + bool _internal_has_timeleft() const; + public: + void clear_timeleft(); + int32_t timeleft() const; + void set_timeleft(int32_t value); + private: + int32_t _internal_timeleft() const; + void _internal_set_timeleft(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Unsubscribe) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t timeleft_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGC_GlobalGame_Play final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Play) */ { + public: + inline CMsgGC_GlobalGame_Play() : CMsgGC_GlobalGame_Play(nullptr) {} + ~CMsgGC_GlobalGame_Play() override; + explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Play(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGC_GlobalGame_Play(const CMsgGC_GlobalGame_Play& from); + CMsgGC_GlobalGame_Play(CMsgGC_GlobalGame_Play&& from) noexcept + : CMsgGC_GlobalGame_Play() { + *this = ::std::move(from); + } + + inline CMsgGC_GlobalGame_Play& operator=(const CMsgGC_GlobalGame_Play& from) { + CopyFrom(from); + return *this; + } + inline CMsgGC_GlobalGame_Play& operator=(CMsgGC_GlobalGame_Play&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGC_GlobalGame_Play& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGC_GlobalGame_Play* internal_default_instance() { + return reinterpret_cast( + &_CMsgGC_GlobalGame_Play_default_instance_); + } + static constexpr int kIndexInFileMessages = + 136; + + friend void swap(CMsgGC_GlobalGame_Play& a, CMsgGC_GlobalGame_Play& b) { + a.Swap(&b); + } + inline void Swap(CMsgGC_GlobalGame_Play* 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(CMsgGC_GlobalGame_Play* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGC_GlobalGame_Play* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGC_GlobalGame_Play& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGC_GlobalGame_Play& from) { + CMsgGC_GlobalGame_Play::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(CMsgGC_GlobalGame_Play* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGC_GlobalGame_Play"; + } + protected: + explicit CMsgGC_GlobalGame_Play(::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 { + kTicketFieldNumber = 1, + kGametimemsFieldNumber = 2, + kMsperpointFieldNumber = 3, + }; + // optional uint64 ticket = 1; + bool has_ticket() const; + private: + bool _internal_has_ticket() const; + public: + void clear_ticket(); + uint64_t ticket() const; + void set_ticket(uint64_t value); + private: + uint64_t _internal_ticket() const; + void _internal_set_ticket(uint64_t value); + public: + + // optional uint32 gametimems = 2; + bool has_gametimems() const; + private: + bool _internal_has_gametimems() const; + public: + void clear_gametimems(); + uint32_t gametimems() const; + void set_gametimems(uint32_t value); + private: + uint32_t _internal_gametimems() const; + void _internal_set_gametimems(uint32_t value); + public: + + // optional uint32 msperpoint = 3; + bool has_msperpoint() const; + private: + bool _internal_has_msperpoint() const; + public: + void clear_msperpoint(); + uint32_t msperpoint() const; + void set_msperpoint(uint32_t value); + private: + uint32_t _internal_msperpoint() const; + void _internal_set_msperpoint(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Play) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t ticket_; + uint32_t gametimems_; + uint32_t msperpoint_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_AcknowledgePenalty final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AcknowledgePenalty) */ { + public: + inline CMsgGCCStrike15_v2_AcknowledgePenalty() : CMsgGCCStrike15_v2_AcknowledgePenalty(nullptr) {} + ~CMsgGCCStrike15_v2_AcknowledgePenalty() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenalty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_AcknowledgePenalty(const CMsgGCCStrike15_v2_AcknowledgePenalty& from); + CMsgGCCStrike15_v2_AcknowledgePenalty(CMsgGCCStrike15_v2_AcknowledgePenalty&& from) noexcept + : CMsgGCCStrike15_v2_AcknowledgePenalty() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_AcknowledgePenalty& operator=(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_AcknowledgePenalty& operator=(CMsgGCCStrike15_v2_AcknowledgePenalty&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_AcknowledgePenalty& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_AcknowledgePenalty* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_); + } + static constexpr int kIndexInFileMessages = + 137; + + friend void swap(CMsgGCCStrike15_v2_AcknowledgePenalty& a, CMsgGCCStrike15_v2_AcknowledgePenalty& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_AcknowledgePenalty* 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(CMsgGCCStrike15_v2_AcknowledgePenalty* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_AcknowledgePenalty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_AcknowledgePenalty& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { + CMsgGCCStrike15_v2_AcknowledgePenalty::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(CMsgGCCStrike15_v2_AcknowledgePenalty* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_AcknowledgePenalty"; + } + protected: + explicit CMsgGCCStrike15_v2_AcknowledgePenalty(::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 { + kAcknowledgedFieldNumber = 1, + }; + // optional int32 acknowledged = 1; + bool has_acknowledged() const; + private: + bool _internal_has_acknowledged() const; + public: + void clear_acknowledged(); + int32_t acknowledged() const; + void set_acknowledged(int32_t value); + private: + int32_t _internal_acknowledged() const; + void _internal_set_acknowledged(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AcknowledgePenalty) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t acknowledged_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) */ { + public: + inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() : CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(nullptr) {} + ~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from); + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin&& from) noexcept + : CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& operator=(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& operator=(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 138; + + friend void swap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& a, CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* 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(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { + CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::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(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::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 { + kUpgradeidFieldNumber = 2, + kDefindexFieldNumber = 1, + kHoursFieldNumber = 3, + kPrestigetimeFieldNumber = 4, + }; + // optional uint64 upgradeid = 2; + bool has_upgradeid() const; + private: + bool _internal_has_upgradeid() const; + public: + void clear_upgradeid(); + uint64_t upgradeid() const; + void set_upgradeid(uint64_t value); + private: + uint64_t _internal_upgradeid() const; + void _internal_set_upgradeid(uint64_t value); + public: + + // optional uint32 defindex = 1; + bool has_defindex() const; + private: + bool _internal_has_defindex() const; + public: + void clear_defindex(); + uint32_t defindex() const; + void set_defindex(uint32_t value); + private: + uint32_t _internal_defindex() const; + void _internal_set_defindex(uint32_t value); + public: + + // optional uint32 hours = 3; + bool has_hours() const; + private: + bool _internal_has_hours() const; + public: + void clear_hours(); + uint32_t hours() const; + void set_hours(uint32_t value); + private: + uint32_t _internal_hours() const; + void _internal_set_hours(uint32_t value); + public: + + // optional uint32 prestigetime = 4; + bool has_prestigetime() const; + private: + bool _internal_has_prestigetime() const; + public: + void clear_prestigetime(); + uint32_t prestigetime() const; + void set_prestigetime(uint32_t value); + private: + uint32_t _internal_prestigetime() const; + void _internal_set_prestigetime(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t upgradeid_; + uint32_t defindex_; + uint32_t hours_; + uint32_t prestigetime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Client2GCStreamUnlock final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCStreamUnlock) */ { + public: + inline CMsgGCCStrike15_v2_Client2GCStreamUnlock() : CMsgGCCStrike15_v2_Client2GCStreamUnlock(nullptr) {} + ~CMsgGCCStrike15_v2_Client2GCStreamUnlock() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Client2GCStreamUnlock(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from); + CMsgGCCStrike15_v2_Client2GCStreamUnlock(CMsgGCCStrike15_v2_Client2GCStreamUnlock&& from) noexcept + : CMsgGCCStrike15_v2_Client2GCStreamUnlock() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Client2GCStreamUnlock& operator=(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Client2GCStreamUnlock& operator=(CMsgGCCStrike15_v2_Client2GCStreamUnlock&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Client2GCStreamUnlock& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Client2GCStreamUnlock* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_); + } + static constexpr int kIndexInFileMessages = + 139; + + friend void swap(CMsgGCCStrike15_v2_Client2GCStreamUnlock& a, CMsgGCCStrike15_v2_Client2GCStreamUnlock& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* 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(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Client2GCStreamUnlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { + CMsgGCCStrike15_v2_Client2GCStreamUnlock::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(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Client2GCStreamUnlock"; + } + protected: + explicit CMsgGCCStrike15_v2_Client2GCStreamUnlock(::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 { + kTicketFieldNumber = 1, + kOsFieldNumber = 2, + }; + // optional uint64 ticket = 1; + bool has_ticket() const; + private: + bool _internal_has_ticket() const; + public: + void clear_ticket(); + uint64_t ticket() const; + void set_ticket(uint64_t value); + private: + uint64_t _internal_ticket() const; + void _internal_set_ticket(uint64_t value); + public: + + // optional int32 os = 2; + bool has_os() const; + private: + bool _internal_has_os() const; + public: + void clear_os(); + int32_t os() const; + void set_os(int32_t value); + private: + int32_t _internal_os() const; + void _internal_set_os(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCStreamUnlock) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t ticket_; + int32_t os_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientToGCRequestElevate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCRequestElevate) */ { + public: + inline CMsgGCCStrike15_v2_ClientToGCRequestElevate() : CMsgGCCStrike15_v2_ClientToGCRequestElevate(nullptr) {} + ~CMsgGCCStrike15_v2_ClientToGCRequestElevate() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientToGCRequestElevate(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from); + CMsgGCCStrike15_v2_ClientToGCRequestElevate(CMsgGCCStrike15_v2_ClientToGCRequestElevate&& from) noexcept + : CMsgGCCStrike15_v2_ClientToGCRequestElevate() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientToGCRequestElevate& operator=(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientToGCRequestElevate& operator=(CMsgGCCStrike15_v2_ClientToGCRequestElevate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientToGCRequestElevate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientToGCRequestElevate* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 140; + + friend void swap(CMsgGCCStrike15_v2_ClientToGCRequestElevate& a, CMsgGCCStrike15_v2_ClientToGCRequestElevate& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* 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(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientToGCRequestElevate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { + CMsgGCCStrike15_v2_ClientToGCRequestElevate::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(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientToGCRequestElevate"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientToGCRequestElevate(::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 { + kStageFieldNumber = 1, + }; + // optional uint32 stage = 1; + bool has_stage() const; + private: + bool _internal_has_stage() const; + public: + 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: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCRequestElevate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t stage_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientToGCChat final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCChat) */ { + public: + inline CMsgGCCStrike15_v2_ClientToGCChat() : CMsgGCCStrike15_v2_ClientToGCChat(nullptr) {} + ~CMsgGCCStrike15_v2_ClientToGCChat() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientToGCChat(const CMsgGCCStrike15_v2_ClientToGCChat& from); + CMsgGCCStrike15_v2_ClientToGCChat(CMsgGCCStrike15_v2_ClientToGCChat&& from) noexcept + : CMsgGCCStrike15_v2_ClientToGCChat() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientToGCChat& operator=(const CMsgGCCStrike15_v2_ClientToGCChat& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientToGCChat& operator=(CMsgGCCStrike15_v2_ClientToGCChat&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientToGCChat& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientToGCChat* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientToGCChat_default_instance_); + } + static constexpr int kIndexInFileMessages = + 141; + + friend void swap(CMsgGCCStrike15_v2_ClientToGCChat& a, CMsgGCCStrike15_v2_ClientToGCChat& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientToGCChat* 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(CMsgGCCStrike15_v2_ClientToGCChat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientToGCChat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCChat& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCChat& from) { + CMsgGCCStrike15_v2_ClientToGCChat::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(CMsgGCCStrike15_v2_ClientToGCChat* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientToGCChat"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientToGCChat(::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 = 2, + kMatchIdFieldNumber = 1, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional uint64 match_id = 1; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCChat) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + uint64_t match_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GCToClientChat final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GCToClientChat) */ { + public: + inline CMsgGCCStrike15_v2_GCToClientChat() : CMsgGCCStrike15_v2_GCToClientChat(nullptr) {} + ~CMsgGCCStrike15_v2_GCToClientChat() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GCToClientChat(const CMsgGCCStrike15_v2_GCToClientChat& from); + CMsgGCCStrike15_v2_GCToClientChat(CMsgGCCStrike15_v2_GCToClientChat&& from) noexcept + : CMsgGCCStrike15_v2_GCToClientChat() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GCToClientChat& operator=(const CMsgGCCStrike15_v2_GCToClientChat& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GCToClientChat& operator=(CMsgGCCStrike15_v2_GCToClientChat&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GCToClientChat& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GCToClientChat* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GCToClientChat_default_instance_); + } + static constexpr int kIndexInFileMessages = + 142; + + friend void swap(CMsgGCCStrike15_v2_GCToClientChat& a, CMsgGCCStrike15_v2_GCToClientChat& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GCToClientChat* 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(CMsgGCCStrike15_v2_GCToClientChat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GCToClientChat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GCToClientChat& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GCToClientChat& from) { + CMsgGCCStrike15_v2_GCToClientChat::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(CMsgGCCStrike15_v2_GCToClientChat* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GCToClientChat"; + } + protected: + explicit CMsgGCCStrike15_v2_GCToClientChat(::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 = 2, + kAccountIdFieldNumber = 1, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GCToClientChat) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + uint32_t account_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientAuthKeyCode final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientAuthKeyCode) */ { + public: + inline CMsgGCCStrike15_v2_ClientAuthKeyCode() : CMsgGCCStrike15_v2_ClientAuthKeyCode(nullptr) {} + ~CMsgGCCStrike15_v2_ClientAuthKeyCode() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientAuthKeyCode(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from); + CMsgGCCStrike15_v2_ClientAuthKeyCode(CMsgGCCStrike15_v2_ClientAuthKeyCode&& from) noexcept + : CMsgGCCStrike15_v2_ClientAuthKeyCode() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientAuthKeyCode& operator=(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientAuthKeyCode& operator=(CMsgGCCStrike15_v2_ClientAuthKeyCode&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientAuthKeyCode& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientAuthKeyCode* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_); + } + static constexpr int kIndexInFileMessages = + 143; + + friend void swap(CMsgGCCStrike15_v2_ClientAuthKeyCode& a, CMsgGCCStrike15_v2_ClientAuthKeyCode& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientAuthKeyCode* 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(CMsgGCCStrike15_v2_ClientAuthKeyCode* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientAuthKeyCode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { + CMsgGCCStrike15_v2_ClientAuthKeyCode::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(CMsgGCCStrike15_v2_ClientAuthKeyCode* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientAuthKeyCode"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientAuthKeyCode(::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 { + kCodeFieldNumber = 2, + kEventidFieldNumber = 1, + }; + // optional string code = 2; + bool has_code() const; + private: + bool _internal_has_code() const; + public: + void clear_code(); + const std::string& code() const; + template + void set_code(ArgT0&& arg0, ArgT... args); + std::string* mutable_code(); + PROTOBUF_NODISCARD std::string* release_code(); + void set_allocated_code(std::string* code); + private: + const std::string& _internal_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(const std::string& value); + std::string* _internal_mutable_code(); + public: + + // optional uint32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + uint32_t eventid() const; + void set_eventid(uint32_t value); + private: + uint32_t _internal_eventid() const; + void _internal_set_eventid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientAuthKeyCode) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; + uint32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_GotvSyncPacket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_GotvSyncPacket) */ { + public: + inline CMsgGCCStrike15_GotvSyncPacket() : CMsgGCCStrike15_GotvSyncPacket(nullptr) {} + ~CMsgGCCStrike15_GotvSyncPacket() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_GotvSyncPacket(const CMsgGCCStrike15_GotvSyncPacket& from); + CMsgGCCStrike15_GotvSyncPacket(CMsgGCCStrike15_GotvSyncPacket&& from) noexcept + : CMsgGCCStrike15_GotvSyncPacket() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_GotvSyncPacket& operator=(const CMsgGCCStrike15_GotvSyncPacket& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_GotvSyncPacket& operator=(CMsgGCCStrike15_GotvSyncPacket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_GotvSyncPacket& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_GotvSyncPacket* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_GotvSyncPacket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 144; + + friend void swap(CMsgGCCStrike15_GotvSyncPacket& a, CMsgGCCStrike15_GotvSyncPacket& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_GotvSyncPacket* 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(CMsgGCCStrike15_GotvSyncPacket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_GotvSyncPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_GotvSyncPacket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_GotvSyncPacket& from) { + CMsgGCCStrike15_GotvSyncPacket::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(CMsgGCCStrike15_GotvSyncPacket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_GotvSyncPacket"; + } + protected: + explicit CMsgGCCStrike15_GotvSyncPacket(::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 { + kDataFieldNumber = 1, + }; + // optional .CEngineGotvSyncPacket data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const ::CEngineGotvSyncPacket& data() const; + PROTOBUF_NODISCARD ::CEngineGotvSyncPacket* release_data(); + ::CEngineGotvSyncPacket* mutable_data(); + void set_allocated_data(::CEngineGotvSyncPacket* data); + private: + const ::CEngineGotvSyncPacket& _internal_data() const; + ::CEngineGotvSyncPacket* _internal_mutable_data(); + public: + void unsafe_arena_set_allocated_data( + ::CEngineGotvSyncPacket* data); + ::CEngineGotvSyncPacket* unsafe_arena_release_data(); + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_GotvSyncPacket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEngineGotvSyncPacket* data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerDecalDigitalSignature final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerDecalDigitalSignature) */ { + public: + inline PlayerDecalDigitalSignature() : PlayerDecalDigitalSignature(nullptr) {} + ~PlayerDecalDigitalSignature() override; + explicit PROTOBUF_CONSTEXPR PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerDecalDigitalSignature(const PlayerDecalDigitalSignature& from); + PlayerDecalDigitalSignature(PlayerDecalDigitalSignature&& from) noexcept + : PlayerDecalDigitalSignature() { + *this = ::std::move(from); + } + + inline PlayerDecalDigitalSignature& operator=(const PlayerDecalDigitalSignature& from) { + CopyFrom(from); + return *this; + } + inline PlayerDecalDigitalSignature& operator=(PlayerDecalDigitalSignature&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PlayerDecalDigitalSignature& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerDecalDigitalSignature* internal_default_instance() { + return reinterpret_cast( + &_PlayerDecalDigitalSignature_default_instance_); + } + static constexpr int kIndexInFileMessages = + 145; + + friend void swap(PlayerDecalDigitalSignature& a, PlayerDecalDigitalSignature& b) { + a.Swap(&b); + } + inline void Swap(PlayerDecalDigitalSignature* 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(PlayerDecalDigitalSignature* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerDecalDigitalSignature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerDecalDigitalSignature& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerDecalDigitalSignature& from) { + PlayerDecalDigitalSignature::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(PlayerDecalDigitalSignature* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PlayerDecalDigitalSignature"; + } + protected: + explicit PlayerDecalDigitalSignature(::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 { + kEndposFieldNumber = 4, + kStartposFieldNumber = 5, + kLeftFieldNumber = 6, + kNormalFieldNumber = 13, + kSignatureFieldNumber = 1, + kAccountidFieldNumber = 2, + kRtimeFieldNumber = 3, + kTxDefidxFieldNumber = 7, + kEntindexFieldNumber = 8, + kHitboxFieldNumber = 9, + kCreationtimeFieldNumber = 10, + kEquipslotFieldNumber = 11, + kTraceIdFieldNumber = 12, + kTintIdFieldNumber = 14, + }; + // repeated float endpos = 4; + int endpos_size() const; + private: + int _internal_endpos_size() const; + public: + void clear_endpos(); + private: + float _internal_endpos(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_endpos() const; + void _internal_add_endpos(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_endpos(); + public: + float endpos(int index) const; + void set_endpos(int index, float value); + void add_endpos(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + endpos() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_endpos(); + + // repeated float startpos = 5; + int startpos_size() const; + private: + int _internal_startpos_size() const; + public: + void clear_startpos(); + private: + float _internal_startpos(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_startpos() const; + void _internal_add_startpos(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_startpos(); + public: + float startpos(int index) const; + void set_startpos(int index, float value); + void add_startpos(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + startpos() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_startpos(); + + // repeated float left = 6; + int left_size() const; + private: + int _internal_left_size() const; + public: + void clear_left(); + private: + float _internal_left(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_left() const; + void _internal_add_left(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_left(); + public: + float left(int index) const; + void set_left(int index, float value); + void add_left(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + left() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_left(); + + // repeated float normal = 13; + int normal_size() const; + private: + int _internal_normal_size() const; + public: + void clear_normal(); + private: + float _internal_normal(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_normal() const; + void _internal_add_normal(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_normal(); + public: + float normal(int index) const; + void set_normal(int index, float value); + void add_normal(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + normal() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_normal(); + + // optional bytes signature = 1; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional uint32 accountid = 2; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 rtime = 3; + bool has_rtime() const; + private: + bool _internal_has_rtime() const; + public: + void clear_rtime(); + uint32_t rtime() const; + void set_rtime(uint32_t value); + private: + uint32_t _internal_rtime() const; + void _internal_set_rtime(uint32_t value); + public: + + // optional uint32 tx_defidx = 7; + bool has_tx_defidx() const; + private: + bool _internal_has_tx_defidx() const; + public: + void clear_tx_defidx(); + uint32_t tx_defidx() const; + void set_tx_defidx(uint32_t value); + private: + uint32_t _internal_tx_defidx() const; + void _internal_set_tx_defidx(uint32_t value); + public: + + // optional int32 entindex = 8; + bool has_entindex() const; + private: + bool _internal_has_entindex() const; + public: + void clear_entindex(); + int32_t entindex() const; + void set_entindex(int32_t value); + private: + int32_t _internal_entindex() const; + void _internal_set_entindex(int32_t value); + public: + + // optional uint32 hitbox = 9; + bool has_hitbox() const; + private: + bool _internal_has_hitbox() const; + public: + void clear_hitbox(); + uint32_t hitbox() const; + void set_hitbox(uint32_t value); + private: + uint32_t _internal_hitbox() const; + void _internal_set_hitbox(uint32_t value); + public: + + // optional float creationtime = 10; + bool has_creationtime() const; + private: + bool _internal_has_creationtime() const; + public: + void clear_creationtime(); + float creationtime() const; + void set_creationtime(float value); + private: + float _internal_creationtime() const; + void _internal_set_creationtime(float value); + public: + + // optional uint32 equipslot = 11; + bool has_equipslot() const; + private: + bool _internal_has_equipslot() const; + public: + void clear_equipslot(); + uint32_t equipslot() const; + void set_equipslot(uint32_t value); + private: + uint32_t _internal_equipslot() const; + void _internal_set_equipslot(uint32_t value); + public: + + // optional uint32 trace_id = 12; + bool has_trace_id() const; + private: + bool _internal_has_trace_id() const; + public: + void clear_trace_id(); + uint32_t trace_id() const; + void set_trace_id(uint32_t value); + private: + uint32_t _internal_trace_id() const; + void _internal_set_trace_id(uint32_t value); + public: + + // optional uint32 tint_id = 14; + bool has_tint_id() const; + private: + bool _internal_has_tint_id() const; + public: + void clear_tint_id(); + uint32_t tint_id() const; + void set_tint_id(uint32_t value); + private: + uint32_t _internal_tint_id() const; + void _internal_set_tint_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PlayerDecalDigitalSignature) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > endpos_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > startpos_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > left_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > normal_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + uint32_t accountid_; + uint32_t rtime_; + uint32_t tx_defidx_; + int32_t entindex_; + uint32_t hitbox_; + float creationtime_; + uint32_t equipslot_; + uint32_t trace_id_; + uint32_t tint_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPlayerDecalSign final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPlayerDecalSign) */ { + public: + inline CMsgGCCStrike15_v2_ClientPlayerDecalSign() : CMsgGCCStrike15_v2_ClientPlayerDecalSign(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPlayerDecalSign() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPlayerDecalSign(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from); + CMsgGCCStrike15_v2_ClientPlayerDecalSign(CMsgGCCStrike15_v2_ClientPlayerDecalSign&& from) noexcept + : CMsgGCCStrike15_v2_ClientPlayerDecalSign() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPlayerDecalSign& operator=(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPlayerDecalSign& operator=(CMsgGCCStrike15_v2_ClientPlayerDecalSign&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPlayerDecalSign& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPlayerDecalSign* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_); + } + static constexpr int kIndexInFileMessages = + 146; + + friend void swap(CMsgGCCStrike15_v2_ClientPlayerDecalSign& a, CMsgGCCStrike15_v2_ClientPlayerDecalSign& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* 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(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPlayerDecalSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { + CMsgGCCStrike15_v2_ClientPlayerDecalSign::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(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPlayerDecalSign"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPlayerDecalSign(::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 { + kDataFieldNumber = 1, + kItemidFieldNumber = 2, + }; + // optional .PlayerDecalDigitalSignature data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const ::PlayerDecalDigitalSignature& data() const; + PROTOBUF_NODISCARD ::PlayerDecalDigitalSignature* release_data(); + ::PlayerDecalDigitalSignature* mutable_data(); + void set_allocated_data(::PlayerDecalDigitalSignature* data); + private: + const ::PlayerDecalDigitalSignature& _internal_data() const; + ::PlayerDecalDigitalSignature* _internal_mutable_data(); + public: + void unsafe_arena_set_allocated_data( + ::PlayerDecalDigitalSignature* data); + ::PlayerDecalDigitalSignature* unsafe_arena_release_data(); + + // optional uint64 itemid = 2; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + uint64_t itemid() const; + void set_itemid(uint64_t value); + private: + uint64_t _internal_itemid() const; + void _internal_set_itemid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPlayerDecalSign) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PlayerDecalDigitalSignature* data_; + uint64_t itemid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_BetaEnrollment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_BetaEnrollment) */ { + public: + inline CMsgGCCStrike15_v2_BetaEnrollment() : CMsgGCCStrike15_v2_BetaEnrollment(nullptr) {} + ~CMsgGCCStrike15_v2_BetaEnrollment() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_BetaEnrollment(const CMsgGCCStrike15_v2_BetaEnrollment& from); + CMsgGCCStrike15_v2_BetaEnrollment(CMsgGCCStrike15_v2_BetaEnrollment&& from) noexcept + : CMsgGCCStrike15_v2_BetaEnrollment() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_BetaEnrollment& operator=(const CMsgGCCStrike15_v2_BetaEnrollment& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_BetaEnrollment& operator=(CMsgGCCStrike15_v2_BetaEnrollment&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_BetaEnrollment& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_BetaEnrollment* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_BetaEnrollment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 147; + + friend void swap(CMsgGCCStrike15_v2_BetaEnrollment& a, CMsgGCCStrike15_v2_BetaEnrollment& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_BetaEnrollment* 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(CMsgGCCStrike15_v2_BetaEnrollment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_BetaEnrollment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_BetaEnrollment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_BetaEnrollment& from) { + CMsgGCCStrike15_v2_BetaEnrollment::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(CMsgGCCStrike15_v2_BetaEnrollment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_BetaEnrollment"; + } + protected: + explicit CMsgGCCStrike15_v2_BetaEnrollment(::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 { + kEresultFieldNumber = 1, + }; + // optional uint32 eresult = 1; + bool has_eresult() const; + private: + bool _internal_has_eresult() const; + public: + void clear_eresult(); + uint32_t eresult() const; + void set_eresult(uint32_t value); + private: + uint32_t _internal_eresult() const; + void _internal_set_eresult(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_BetaEnrollment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t eresult_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientLogonFatalError final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientLogonFatalError) */ { + public: + inline CMsgGCCStrike15_v2_ClientLogonFatalError() : CMsgGCCStrike15_v2_ClientLogonFatalError(nullptr) {} + ~CMsgGCCStrike15_v2_ClientLogonFatalError() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientLogonFatalError(const CMsgGCCStrike15_v2_ClientLogonFatalError& from); + CMsgGCCStrike15_v2_ClientLogonFatalError(CMsgGCCStrike15_v2_ClientLogonFatalError&& from) noexcept + : CMsgGCCStrike15_v2_ClientLogonFatalError() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientLogonFatalError& operator=(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientLogonFatalError& operator=(CMsgGCCStrike15_v2_ClientLogonFatalError&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientLogonFatalError& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientLogonFatalError* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 148; + + friend void swap(CMsgGCCStrike15_v2_ClientLogonFatalError& a, CMsgGCCStrike15_v2_ClientLogonFatalError& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientLogonFatalError* 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(CMsgGCCStrike15_v2_ClientLogonFatalError* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientLogonFatalError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientLogonFatalError& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { + CMsgGCCStrike15_v2_ClientLogonFatalError::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(CMsgGCCStrike15_v2_ClientLogonFatalError* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientLogonFatalError"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientLogonFatalError(::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 { + kMessageFieldNumber = 2, + kCountryFieldNumber = 3, + kErrorcodeFieldNumber = 1, + }; + // optional string message = 2; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // optional string country = 3; + bool has_country() const; + private: + bool _internal_has_country() const; + public: + void clear_country(); + const std::string& country() const; + template + void set_country(ArgT0&& arg0, ArgT... args); + std::string* mutable_country(); + PROTOBUF_NODISCARD std::string* release_country(); + void set_allocated_country(std::string* country); + private: + const std::string& _internal_country() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); + std::string* _internal_mutable_country(); + public: + + // optional uint32 errorcode = 1; + bool has_errorcode() const; + private: + bool _internal_has_errorcode() const; + public: + void clear_errorcode(); + uint32_t errorcode() const; + void set_errorcode(uint32_t value); + private: + uint32_t _internal_errorcode() const; + void _internal_set_errorcode(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientLogonFatalError) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; + uint32_t errorcode_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPollState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPollState) */ { + public: + inline CMsgGCCStrike15_v2_ClientPollState() : CMsgGCCStrike15_v2_ClientPollState(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPollState() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPollState(const CMsgGCCStrike15_v2_ClientPollState& from); + CMsgGCCStrike15_v2_ClientPollState(CMsgGCCStrike15_v2_ClientPollState&& from) noexcept + : CMsgGCCStrike15_v2_ClientPollState() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPollState& operator=(const CMsgGCCStrike15_v2_ClientPollState& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPollState& operator=(CMsgGCCStrike15_v2_ClientPollState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPollState& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPollState* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPollState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 149; + + friend void swap(CMsgGCCStrike15_v2_ClientPollState& a, CMsgGCCStrike15_v2_ClientPollState& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPollState* 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(CMsgGCCStrike15_v2_ClientPollState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPollState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPollState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPollState& from) { + CMsgGCCStrike15_v2_ClientPollState::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(CMsgGCCStrike15_v2_ClientPollState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPollState"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPollState(::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 { + kNamesFieldNumber = 2, + kValuesFieldNumber = 3, + kPollidFieldNumber = 1, + }; + // repeated string names = 2; + int names_size() const; + private: + int _internal_names_size() const; + public: + void clear_names(); + const std::string& names(int index) const; + std::string* mutable_names(int index); + void set_names(int index, const std::string& value); + void set_names(int index, std::string&& value); + void set_names(int index, const char* value); + void set_names(int index, const char* value, size_t size); + std::string* add_names(); + void add_names(const std::string& value); + void add_names(std::string&& value); + void add_names(const char* value); + void add_names(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_names(); + private: + const std::string& _internal_names(int index) const; + std::string* _internal_add_names(); + public: + + // repeated int32 values = 3; + int values_size() const; + private: + int _internal_values_size() const; + public: + void clear_values(); + private: + int32_t _internal_values(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_values() const; + void _internal_add_values(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_values(); + public: + int32_t values(int index) const; + void set_values(int index, int32_t value); + void add_values(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_values(); + + // optional uint32 pollid = 1; + bool has_pollid() const; + private: + bool _internal_has_pollid() const; + public: + void clear_pollid(); + uint32_t pollid() const; + void set_pollid(uint32_t value); + private: + uint32_t _internal_pollid() const; + void _internal_set_pollid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPollState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField names_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > values_; + uint32_t pollid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Party_Register final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Register) */ { + public: + inline CMsgGCCStrike15_v2_Party_Register() : CMsgGCCStrike15_v2_Party_Register(nullptr) {} + ~CMsgGCCStrike15_v2_Party_Register() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Register(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Party_Register(const CMsgGCCStrike15_v2_Party_Register& from); + CMsgGCCStrike15_v2_Party_Register(CMsgGCCStrike15_v2_Party_Register&& from) noexcept + : CMsgGCCStrike15_v2_Party_Register() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Party_Register& operator=(const CMsgGCCStrike15_v2_Party_Register& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Party_Register& operator=(CMsgGCCStrike15_v2_Party_Register&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Party_Register& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Party_Register* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Party_Register_default_instance_); + } + static constexpr int kIndexInFileMessages = + 150; + + friend void swap(CMsgGCCStrike15_v2_Party_Register& a, CMsgGCCStrike15_v2_Party_Register& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Party_Register* 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(CMsgGCCStrike15_v2_Party_Register* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Party_Register* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Party_Register& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Party_Register& from) { + CMsgGCCStrike15_v2_Party_Register::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(CMsgGCCStrike15_v2_Party_Register* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Party_Register"; + } + protected: + explicit CMsgGCCStrike15_v2_Party_Register(::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 { + kIdFieldNumber = 1, + kVerFieldNumber = 2, + kAprFieldNumber = 3, + kArkFieldNumber = 4, + kNbyFieldNumber = 5, + kGrpFieldNumber = 6, + kSlotsFieldNumber = 7, + kLauncherFieldNumber = 8, + kGameTypeFieldNumber = 9, + }; + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 ver = 2; + bool has_ver() const; + private: + bool _internal_has_ver() const; + public: + void clear_ver(); + uint32_t ver() const; + void set_ver(uint32_t value); + private: + uint32_t _internal_ver() const; + void _internal_set_ver(uint32_t value); + public: + + // optional uint32 apr = 3; + bool has_apr() const; + private: + bool _internal_has_apr() const; + public: + void clear_apr(); + uint32_t apr() const; + void set_apr(uint32_t value); + private: + uint32_t _internal_apr() const; + void _internal_set_apr(uint32_t value); + public: + + // optional uint32 ark = 4; + bool has_ark() const; + private: + bool _internal_has_ark() const; + public: + void clear_ark(); + uint32_t ark() const; + void set_ark(uint32_t value); + private: + uint32_t _internal_ark() const; + void _internal_set_ark(uint32_t value); + public: + + // optional uint32 nby = 5; + bool has_nby() const; + private: + bool _internal_has_nby() const; + public: + void clear_nby(); + uint32_t nby() const; + void set_nby(uint32_t value); + private: + uint32_t _internal_nby() const; + void _internal_set_nby(uint32_t value); + public: + + // optional uint32 grp = 6; + bool has_grp() const; + private: + bool _internal_has_grp() const; + public: + void clear_grp(); + uint32_t grp() const; + void set_grp(uint32_t value); + private: + uint32_t _internal_grp() const; + void _internal_set_grp(uint32_t value); + public: + + // optional uint32 slots = 7; + bool has_slots() const; + private: + bool _internal_has_slots() const; + public: + void clear_slots(); + uint32_t slots() const; + void set_slots(uint32_t value); + private: + uint32_t _internal_slots() const; + void _internal_set_slots(uint32_t value); + public: + + // optional uint32 launcher = 8; + bool has_launcher() const; + private: + bool _internal_has_launcher() const; + public: + void clear_launcher(); + uint32_t launcher() const; + void set_launcher(uint32_t value); + private: + uint32_t _internal_launcher() const; + void _internal_set_launcher(uint32_t value); + public: + + // optional uint32 game_type = 9; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Register) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t id_; + uint32_t ver_; + uint32_t apr_; + uint32_t ark_; + uint32_t nby_; + uint32_t grp_; + uint32_t slots_; + uint32_t launcher_; + uint32_t game_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Party_Search final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Search) */ { + public: + inline CMsgGCCStrike15_v2_Party_Search() : CMsgGCCStrike15_v2_Party_Search(nullptr) {} + ~CMsgGCCStrike15_v2_Party_Search() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Search(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Party_Search(const CMsgGCCStrike15_v2_Party_Search& from); + CMsgGCCStrike15_v2_Party_Search(CMsgGCCStrike15_v2_Party_Search&& from) noexcept + : CMsgGCCStrike15_v2_Party_Search() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Party_Search& operator=(const CMsgGCCStrike15_v2_Party_Search& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Party_Search& operator=(CMsgGCCStrike15_v2_Party_Search&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Party_Search& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Party_Search* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Party_Search_default_instance_); + } + static constexpr int kIndexInFileMessages = + 151; + + friend void swap(CMsgGCCStrike15_v2_Party_Search& a, CMsgGCCStrike15_v2_Party_Search& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Party_Search* 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(CMsgGCCStrike15_v2_Party_Search* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Party_Search* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Party_Search& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Party_Search& from) { + CMsgGCCStrike15_v2_Party_Search::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(CMsgGCCStrike15_v2_Party_Search* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Party_Search"; + } + protected: + explicit CMsgGCCStrike15_v2_Party_Search(::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 { + kGrpsFieldNumber = 4, + kVerFieldNumber = 1, + kAprFieldNumber = 2, + kArkFieldNumber = 3, + kLauncherFieldNumber = 5, + kGameTypeFieldNumber = 6, + }; + // repeated uint32 grps = 4; + int grps_size() const; + private: + int _internal_grps_size() const; + public: + void clear_grps(); + private: + uint32_t _internal_grps(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_grps() const; + void _internal_add_grps(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_grps(); + public: + uint32_t grps(int index) const; + void set_grps(int index, uint32_t value); + void add_grps(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + grps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_grps(); + + // optional uint32 ver = 1; + bool has_ver() const; + private: + bool _internal_has_ver() const; + public: + void clear_ver(); + uint32_t ver() const; + void set_ver(uint32_t value); + private: + uint32_t _internal_ver() const; + void _internal_set_ver(uint32_t value); + public: + + // optional uint32 apr = 2; + bool has_apr() const; + private: + bool _internal_has_apr() const; + public: + void clear_apr(); + uint32_t apr() const; + void set_apr(uint32_t value); + private: + uint32_t _internal_apr() const; + void _internal_set_apr(uint32_t value); + public: + + // optional uint32 ark = 3; + bool has_ark() const; + private: + bool _internal_has_ark() const; + public: + void clear_ark(); + uint32_t ark() const; + void set_ark(uint32_t value); + private: + uint32_t _internal_ark() const; + void _internal_set_ark(uint32_t value); + public: + + // optional uint32 launcher = 5; + bool has_launcher() const; + private: + bool _internal_has_launcher() const; + public: + void clear_launcher(); + uint32_t launcher() const; + void set_launcher(uint32_t value); + private: + uint32_t _internal_launcher() const; + void _internal_set_launcher(uint32_t value); + public: + + // optional uint32 game_type = 6; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Search) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > grps_; + uint32_t ver_; + uint32_t apr_; + uint32_t ark_; + uint32_t launcher_; + uint32_t game_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Party_SearchResults_Entry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_SearchResults.Entry) */ { + public: + inline CMsgGCCStrike15_v2_Party_SearchResults_Entry() : CMsgGCCStrike15_v2_Party_SearchResults_Entry(nullptr) {} + ~CMsgGCCStrike15_v2_Party_SearchResults_Entry() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Party_SearchResults_Entry(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from); + CMsgGCCStrike15_v2_Party_SearchResults_Entry(CMsgGCCStrike15_v2_Party_SearchResults_Entry&& from) noexcept + : CMsgGCCStrike15_v2_Party_SearchResults_Entry() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Party_SearchResults_Entry& operator=(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Party_SearchResults_Entry& operator=(CMsgGCCStrike15_v2_Party_SearchResults_Entry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Party_SearchResults_Entry& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Party_SearchResults_Entry* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 152; + + friend void swap(CMsgGCCStrike15_v2_Party_SearchResults_Entry& a, CMsgGCCStrike15_v2_Party_SearchResults_Entry& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* 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(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Party_SearchResults_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { + CMsgGCCStrike15_v2_Party_SearchResults_Entry::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(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Party_SearchResults.Entry"; + } + protected: + explicit CMsgGCCStrike15_v2_Party_SearchResults_Entry(::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 { + kIdFieldNumber = 1, + kGrpFieldNumber = 2, + kGameTypeFieldNumber = 3, + kAprFieldNumber = 4, + kArkFieldNumber = 5, + kLocFieldNumber = 6, + kAccountidFieldNumber = 7, + }; + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 grp = 2; + bool has_grp() const; + private: + bool _internal_has_grp() const; + public: + void clear_grp(); + uint32_t grp() const; + void set_grp(uint32_t value); + private: + uint32_t _internal_grp() const; + void _internal_set_grp(uint32_t value); + public: + + // optional uint32 game_type = 3; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + uint32_t game_type() const; + void set_game_type(uint32_t value); + private: + uint32_t _internal_game_type() const; + void _internal_set_game_type(uint32_t value); + public: + + // optional uint32 apr = 4; + bool has_apr() const; + private: + bool _internal_has_apr() const; + public: + void clear_apr(); + uint32_t apr() const; + void set_apr(uint32_t value); + private: + uint32_t _internal_apr() const; + void _internal_set_apr(uint32_t value); + public: + + // optional uint32 ark = 5; + bool has_ark() const; + private: + bool _internal_has_ark() const; + public: + void clear_ark(); + uint32_t ark() const; + void set_ark(uint32_t value); + private: + uint32_t _internal_ark() const; + void _internal_set_ark(uint32_t value); + public: + + // optional uint32 loc = 6; + bool has_loc() const; + private: + bool _internal_has_loc() const; + public: + void clear_loc(); + uint32_t loc() const; + void set_loc(uint32_t value); + private: + uint32_t _internal_loc() const; + void _internal_set_loc(uint32_t value); + public: + + // optional uint32 accountid = 7; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_SearchResults.Entry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t id_; + uint32_t grp_; + uint32_t game_type_; + uint32_t apr_; + uint32_t ark_; + uint32_t loc_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Party_SearchResults final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_SearchResults) */ { + public: + inline CMsgGCCStrike15_v2_Party_SearchResults() : CMsgGCCStrike15_v2_Party_SearchResults(nullptr) {} + ~CMsgGCCStrike15_v2_Party_SearchResults() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Party_SearchResults(const CMsgGCCStrike15_v2_Party_SearchResults& from); + CMsgGCCStrike15_v2_Party_SearchResults(CMsgGCCStrike15_v2_Party_SearchResults&& from) noexcept + : CMsgGCCStrike15_v2_Party_SearchResults() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Party_SearchResults& operator=(const CMsgGCCStrike15_v2_Party_SearchResults& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Party_SearchResults& operator=(CMsgGCCStrike15_v2_Party_SearchResults&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Party_SearchResults& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Party_SearchResults* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Party_SearchResults_default_instance_); + } + static constexpr int kIndexInFileMessages = + 153; + + friend void swap(CMsgGCCStrike15_v2_Party_SearchResults& a, CMsgGCCStrike15_v2_Party_SearchResults& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Party_SearchResults* 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(CMsgGCCStrike15_v2_Party_SearchResults* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Party_SearchResults* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Party_SearchResults& from) { + CMsgGCCStrike15_v2_Party_SearchResults::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(CMsgGCCStrike15_v2_Party_SearchResults* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Party_SearchResults"; + } + protected: + explicit CMsgGCCStrike15_v2_Party_SearchResults(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_Party_SearchResults_Entry Entry; + + // accessors ------------------------------------------------------- + + enum : int { + kEntriesFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* mutable_entries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >* + mutable_entries(); + private: + const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& _internal_entries(int index) const; + ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* _internal_add_entries(); + public: + const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& entries(int index) const; + ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* add_entries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >& + entries() const; + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_SearchResults) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry > entries_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Party_Invite final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Invite) */ { + public: + inline CMsgGCCStrike15_v2_Party_Invite() : CMsgGCCStrike15_v2_Party_Invite(nullptr) {} + ~CMsgGCCStrike15_v2_Party_Invite() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Invite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Party_Invite(const CMsgGCCStrike15_v2_Party_Invite& from); + CMsgGCCStrike15_v2_Party_Invite(CMsgGCCStrike15_v2_Party_Invite&& from) noexcept + : CMsgGCCStrike15_v2_Party_Invite() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Party_Invite& operator=(const CMsgGCCStrike15_v2_Party_Invite& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Party_Invite& operator=(CMsgGCCStrike15_v2_Party_Invite&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Party_Invite& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Party_Invite* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Party_Invite_default_instance_); + } + static constexpr int kIndexInFileMessages = + 154; + + friend void swap(CMsgGCCStrike15_v2_Party_Invite& a, CMsgGCCStrike15_v2_Party_Invite& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Party_Invite* 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(CMsgGCCStrike15_v2_Party_Invite* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Party_Invite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Party_Invite& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Party_Invite& from) { + CMsgGCCStrike15_v2_Party_Invite::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(CMsgGCCStrike15_v2_Party_Invite* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Party_Invite"; + } + protected: + explicit CMsgGCCStrike15_v2_Party_Invite(::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 { + kAccountidFieldNumber = 1, + kLobbyidFieldNumber = 2, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 lobbyid = 2; + bool has_lobbyid() const; + private: + bool _internal_has_lobbyid() const; + public: + void clear_lobbyid(); + uint32_t lobbyid() const; + void set_lobbyid(uint32_t value); + private: + uint32_t _internal_lobbyid() const; + void _internal_set_lobbyid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Invite) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + uint32_t lobbyid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) */ { + public: + inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() : CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(nullptr) {} + ~CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from); + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player&& from) noexcept + : CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& operator=(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& operator=(CMsgGCCStrike15_v2_Account_RequestCoPlays_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_); + } + static constexpr int kIndexInFileMessages = + 155; + + friend void swap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& a, CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Account_RequestCoPlays_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(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { + CMsgGCCStrike15_v2_Account_RequestCoPlays_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(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Account_RequestCoPlays.Player"; + } + protected: + explicit CMsgGCCStrike15_v2_Account_RequestCoPlays_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 { + kAccountidFieldNumber = 1, + kRtcoplayFieldNumber = 2, + kOnlineFieldNumber = 3, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 rtcoplay = 2; + bool has_rtcoplay() const; + private: + bool _internal_has_rtcoplay() const; + public: + void clear_rtcoplay(); + uint32_t rtcoplay() const; + void set_rtcoplay(uint32_t value); + private: + uint32_t _internal_rtcoplay() const; + void _internal_set_rtcoplay(uint32_t value); + public: + + // optional bool online = 3; + bool has_online() const; + private: + bool _internal_has_online() const; + public: + void clear_online(); + bool online() const; + void set_online(bool value); + private: + bool _internal_online() const; + void _internal_set_online(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + uint32_t rtcoplay_; + bool online_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_Account_RequestCoPlays final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Account_RequestCoPlays) */ { + public: + inline CMsgGCCStrike15_v2_Account_RequestCoPlays() : CMsgGCCStrike15_v2_Account_RequestCoPlays(nullptr) {} + ~CMsgGCCStrike15_v2_Account_RequestCoPlays() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_Account_RequestCoPlays(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from); + CMsgGCCStrike15_v2_Account_RequestCoPlays(CMsgGCCStrike15_v2_Account_RequestCoPlays&& from) noexcept + : CMsgGCCStrike15_v2_Account_RequestCoPlays() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_Account_RequestCoPlays& operator=(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_Account_RequestCoPlays& operator=(CMsgGCCStrike15_v2_Account_RequestCoPlays&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_Account_RequestCoPlays& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_Account_RequestCoPlays* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_); + } + static constexpr int kIndexInFileMessages = + 156; + + friend void swap(CMsgGCCStrike15_v2_Account_RequestCoPlays& a, CMsgGCCStrike15_v2_Account_RequestCoPlays& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_Account_RequestCoPlays* 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(CMsgGCCStrike15_v2_Account_RequestCoPlays* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_Account_RequestCoPlays* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { + CMsgGCCStrike15_v2_Account_RequestCoPlays::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(CMsgGCCStrike15_v2_Account_RequestCoPlays* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_Account_RequestCoPlays"; + } + protected: + explicit CMsgGCCStrike15_v2_Account_RequestCoPlays(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_Account_RequestCoPlays_Player Player; + + // accessors ------------------------------------------------------- + + enum : int { + kPlayersFieldNumber = 1, + kServertimeFieldNumber = 2, + }; + // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >* + mutable_players(); + private: + const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& _internal_players(int index) const; + ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* _internal_add_players(); + public: + const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& players(int index) const; + ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >& + players() const; + + // optional uint32 servertime = 2; + bool has_servertime() const; + private: + bool _internal_has_servertime() const; + public: + void clear_servertime(); + uint32_t servertime() const; + void set_servertime(uint32_t value); + private: + uint32_t _internal_servertime() const; + void _internal_set_servertime(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Account_RequestCoPlays) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player > players_; + uint32_t servertime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientToGCRequestTicket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCRequestTicket) */ { + public: + inline CMsgGCCStrike15_v2_ClientToGCRequestTicket() : CMsgGCCStrike15_v2_ClientToGCRequestTicket(nullptr) {} + ~CMsgGCCStrike15_v2_ClientToGCRequestTicket() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientToGCRequestTicket(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from); + CMsgGCCStrike15_v2_ClientToGCRequestTicket(CMsgGCCStrike15_v2_ClientToGCRequestTicket&& from) noexcept + : CMsgGCCStrike15_v2_ClientToGCRequestTicket() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientToGCRequestTicket& operator=(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientToGCRequestTicket& operator=(CMsgGCCStrike15_v2_ClientToGCRequestTicket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientToGCRequestTicket& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientToGCRequestTicket* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 157; + + friend void swap(CMsgGCCStrike15_v2_ClientToGCRequestTicket& a, CMsgGCCStrike15_v2_ClientToGCRequestTicket& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* 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(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientToGCRequestTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { + CMsgGCCStrike15_v2_ClientToGCRequestTicket::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(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientToGCRequestTicket"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientToGCRequestTicket(::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 { + kGameserverSdrRoutingFieldNumber = 5, + kAuthorizedSteamIdFieldNumber = 1, + kGameserverSteamIdFieldNumber = 3, + kAuthorizedPublicIpFieldNumber = 2, + }; + // optional string gameserver_sdr_routing = 5; + bool has_gameserver_sdr_routing() const; + private: + bool _internal_has_gameserver_sdr_routing() const; + public: + void clear_gameserver_sdr_routing(); + const std::string& gameserver_sdr_routing() const; + template + void set_gameserver_sdr_routing(ArgT0&& arg0, ArgT... args); + std::string* mutable_gameserver_sdr_routing(); + PROTOBUF_NODISCARD std::string* release_gameserver_sdr_routing(); + void set_allocated_gameserver_sdr_routing(std::string* gameserver_sdr_routing); + private: + const std::string& _internal_gameserver_sdr_routing() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_sdr_routing(const std::string& value); + std::string* _internal_mutable_gameserver_sdr_routing(); + public: + + // optional fixed64 authorized_steam_id = 1; + bool has_authorized_steam_id() const; + private: + bool _internal_has_authorized_steam_id() const; + public: + void clear_authorized_steam_id(); + uint64_t authorized_steam_id() const; + void set_authorized_steam_id(uint64_t value); + private: + uint64_t _internal_authorized_steam_id() const; + void _internal_set_authorized_steam_id(uint64_t value); + public: + + // optional fixed64 gameserver_steam_id = 3; + bool has_gameserver_steam_id() const; + private: + bool _internal_has_gameserver_steam_id() const; + public: + void clear_gameserver_steam_id(); + uint64_t gameserver_steam_id() const; + void set_gameserver_steam_id(uint64_t value); + private: + uint64_t _internal_gameserver_steam_id() const; + void _internal_set_gameserver_steam_id(uint64_t value); + public: + + // optional fixed32 authorized_public_ip = 2; + bool has_authorized_public_ip() const; + private: + bool _internal_has_authorized_public_ip() const; + public: + void clear_authorized_public_ip(); + uint32_t authorized_public_ip() const; + void set_authorized_public_ip(uint32_t value); + private: + uint32_t _internal_authorized_public_ip() const; + void _internal_set_authorized_public_ip(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCRequestTicket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_sdr_routing_; + uint64_t authorized_steam_id_; + uint64_t gameserver_steam_id_; + uint32_t authorized_public_ip_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCToClientSteamDatagramTicket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToClientSteamDatagramTicket) */ { + public: + inline CMsgGCToClientSteamDatagramTicket() : CMsgGCToClientSteamDatagramTicket(nullptr) {} + ~CMsgGCToClientSteamDatagramTicket() override; + explicit PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCToClientSteamDatagramTicket(const CMsgGCToClientSteamDatagramTicket& from); + CMsgGCToClientSteamDatagramTicket(CMsgGCToClientSteamDatagramTicket&& from) noexcept + : CMsgGCToClientSteamDatagramTicket() { + *this = ::std::move(from); + } + + inline CMsgGCToClientSteamDatagramTicket& operator=(const CMsgGCToClientSteamDatagramTicket& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCToClientSteamDatagramTicket& operator=(CMsgGCToClientSteamDatagramTicket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCToClientSteamDatagramTicket& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCToClientSteamDatagramTicket* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCToClientSteamDatagramTicket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 158; + + friend void swap(CMsgGCToClientSteamDatagramTicket& a, CMsgGCToClientSteamDatagramTicket& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCToClientSteamDatagramTicket* 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(CMsgGCToClientSteamDatagramTicket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCToClientSteamDatagramTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCToClientSteamDatagramTicket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCToClientSteamDatagramTicket& from) { + CMsgGCToClientSteamDatagramTicket::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(CMsgGCToClientSteamDatagramTicket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCToClientSteamDatagramTicket"; + } + protected: + explicit CMsgGCToClientSteamDatagramTicket(::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 { + kSerializedTicketFieldNumber = 16, + }; + // optional bytes serialized_ticket = 16; + bool has_serialized_ticket() const; + private: + bool _internal_has_serialized_ticket() const; + public: + void clear_serialized_ticket(); + const std::string& serialized_ticket() const; + template + void set_serialized_ticket(ArgT0&& arg0, ArgT... args); + std::string* mutable_serialized_ticket(); + PROTOBUF_NODISCARD std::string* release_serialized_ticket(); + void set_allocated_serialized_ticket(std::string* serialized_ticket); + private: + const std::string& _internal_serialized_ticket() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serialized_ticket(const std::string& value); + std::string* _internal_mutable_serialized_ticket(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCToClientSteamDatagramTicket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_ticket_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestOffers final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestOffers) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestOffers() : CMsgGCCStrike15_v2_ClientRequestOffers(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestOffers(const CMsgGCCStrike15_v2_ClientRequestOffers& from); + CMsgGCCStrike15_v2_ClientRequestOffers(CMsgGCCStrike15_v2_ClientRequestOffers&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestOffers() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestOffers& operator=(const CMsgGCCStrike15_v2_ClientRequestOffers& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestOffers& operator=(CMsgGCCStrike15_v2_ClientRequestOffers&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestOffers& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestOffers* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_); + } + static constexpr int kIndexInFileMessages = + 159; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestOffers& a, CMsgGCCStrike15_v2_ClientRequestOffers& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestOffers* 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(CMsgGCCStrike15_v2_ClientRequestOffers* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestOffers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestOffers& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgGCCStrike15_v2_ClientRequestOffers& 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 "CMsgGCCStrike15_v2_ClientRequestOffers"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestOffers(::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:CMsgGCCStrike15_v2_ClientRequestOffers) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientRequestSouvenir final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestSouvenir) */ { + public: + inline CMsgGCCStrike15_v2_ClientRequestSouvenir() : CMsgGCCStrike15_v2_ClientRequestSouvenir(nullptr) {} + ~CMsgGCCStrike15_v2_ClientRequestSouvenir() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenir(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientRequestSouvenir(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from); + CMsgGCCStrike15_v2_ClientRequestSouvenir(CMsgGCCStrike15_v2_ClientRequestSouvenir&& from) noexcept + : CMsgGCCStrike15_v2_ClientRequestSouvenir() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientRequestSouvenir& operator=(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientRequestSouvenir& operator=(CMsgGCCStrike15_v2_ClientRequestSouvenir&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientRequestSouvenir& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientRequestSouvenir* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_); + } + static constexpr int kIndexInFileMessages = + 160; + + friend void swap(CMsgGCCStrike15_v2_ClientRequestSouvenir& a, CMsgGCCStrike15_v2_ClientRequestSouvenir& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientRequestSouvenir* 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(CMsgGCCStrike15_v2_ClientRequestSouvenir* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientRequestSouvenir* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { + CMsgGCCStrike15_v2_ClientRequestSouvenir::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(CMsgGCCStrike15_v2_ClientRequestSouvenir* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientRequestSouvenir"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientRequestSouvenir(::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 { + kItemidFieldNumber = 1, + kMatchidFieldNumber = 2, + kEventidFieldNumber = 3, + }; + // optional uint64 itemid = 1; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + uint64_t itemid() const; + void set_itemid(uint64_t value); + private: + uint64_t _internal_itemid() const; + void _internal_set_itemid(uint64_t value); + public: + + // optional uint64 matchid = 2; + bool has_matchid() const; + private: + bool _internal_has_matchid() const; + public: + void clear_matchid(); + uint64_t matchid() const; + void set_matchid(uint64_t value); + private: + uint64_t _internal_matchid() const; + void _internal_set_matchid(uint64_t value); + public: + + // optional int32 eventid = 3; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestSouvenir) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t itemid_; + uint64_t matchid_; + int32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientAccountBalance final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientAccountBalance) */ { + public: + inline CMsgGCCStrike15_v2_ClientAccountBalance() : CMsgGCCStrike15_v2_ClientAccountBalance(nullptr) {} + ~CMsgGCCStrike15_v2_ClientAccountBalance() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientAccountBalance(const CMsgGCCStrike15_v2_ClientAccountBalance& from); + CMsgGCCStrike15_v2_ClientAccountBalance(CMsgGCCStrike15_v2_ClientAccountBalance&& from) noexcept + : CMsgGCCStrike15_v2_ClientAccountBalance() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientAccountBalance& operator=(const CMsgGCCStrike15_v2_ClientAccountBalance& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientAccountBalance& operator=(CMsgGCCStrike15_v2_ClientAccountBalance&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientAccountBalance& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientAccountBalance* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_); + } + static constexpr int kIndexInFileMessages = + 161; + + friend void swap(CMsgGCCStrike15_v2_ClientAccountBalance& a, CMsgGCCStrike15_v2_ClientAccountBalance& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientAccountBalance* 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(CMsgGCCStrike15_v2_ClientAccountBalance* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientAccountBalance* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientAccountBalance& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientAccountBalance& from) { + CMsgGCCStrike15_v2_ClientAccountBalance::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(CMsgGCCStrike15_v2_ClientAccountBalance* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientAccountBalance"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientAccountBalance(::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 { + kUrlFieldNumber = 2, + kAmountFieldNumber = 1, + }; + // optional string url = 2; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional uint64 amount = 1; + bool has_amount() const; + private: + bool _internal_has_amount() const; + public: + void clear_amount(); + uint64_t amount() const; + void set_amount(uint64_t value); + private: + uint64_t _internal_amount() const; + void _internal_set_amount(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientAccountBalance) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + uint64_t amount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPartyJoinRelay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyJoinRelay) */ { + public: + inline CMsgGCCStrike15_v2_ClientPartyJoinRelay() : CMsgGCCStrike15_v2_ClientPartyJoinRelay(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPartyJoinRelay() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPartyJoinRelay(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from); + CMsgGCCStrike15_v2_ClientPartyJoinRelay(CMsgGCCStrike15_v2_ClientPartyJoinRelay&& from) noexcept + : CMsgGCCStrike15_v2_ClientPartyJoinRelay() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPartyJoinRelay& operator=(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPartyJoinRelay& operator=(CMsgGCCStrike15_v2_ClientPartyJoinRelay&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPartyJoinRelay& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPartyJoinRelay* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 162; + + friend void swap(CMsgGCCStrike15_v2_ClientPartyJoinRelay& a, CMsgGCCStrike15_v2_ClientPartyJoinRelay& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* 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(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPartyJoinRelay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { + CMsgGCCStrike15_v2_ClientPartyJoinRelay::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(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPartyJoinRelay"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPartyJoinRelay(::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 { + kLobbyidFieldNumber = 2, + kAccountidFieldNumber = 1, + }; + // optional uint64 lobbyid = 2; + bool has_lobbyid() const; + private: + bool _internal_has_lobbyid() const; + public: + void clear_lobbyid(); + uint64_t lobbyid() const; + void set_lobbyid(uint64_t value); + private: + uint64_t _internal_lobbyid() const; + void _internal_set_lobbyid(uint64_t value); + public: + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyJoinRelay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t lobbyid_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPartyWarning_Entry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) */ { + public: + inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry() : CMsgGCCStrike15_v2_ClientPartyWarning_Entry(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPartyWarning_Entry() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPartyWarning_Entry(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from); + CMsgGCCStrike15_v2_ClientPartyWarning_Entry(CMsgGCCStrike15_v2_ClientPartyWarning_Entry&& from) noexcept + : CMsgGCCStrike15_v2_ClientPartyWarning_Entry() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry& operator=(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry& operator=(CMsgGCCStrike15_v2_ClientPartyWarning_Entry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPartyWarning_Entry& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPartyWarning_Entry* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 163; + + friend void swap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry& a, CMsgGCCStrike15_v2_ClientPartyWarning_Entry& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* 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(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPartyWarning_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { + CMsgGCCStrike15_v2_ClientPartyWarning_Entry::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(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPartyWarning.Entry"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::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 { + kAccountidFieldNumber = 1, + kWarntypeFieldNumber = 2, + }; + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 warntype = 2; + bool has_warntype() const; + private: + bool _internal_has_warntype() const; + public: + void clear_warntype(); + uint32_t warntype() const; + void set_warntype(uint32_t value); + private: + uint32_t _internal_warntype() const; + void _internal_set_warntype(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t accountid_; + uint32_t warntype_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPartyWarning final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyWarning) */ { + public: + inline CMsgGCCStrike15_v2_ClientPartyWarning() : CMsgGCCStrike15_v2_ClientPartyWarning(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPartyWarning() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPartyWarning(const CMsgGCCStrike15_v2_ClientPartyWarning& from); + CMsgGCCStrike15_v2_ClientPartyWarning(CMsgGCCStrike15_v2_ClientPartyWarning&& from) noexcept + : CMsgGCCStrike15_v2_ClientPartyWarning() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPartyWarning& operator=(const CMsgGCCStrike15_v2_ClientPartyWarning& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPartyWarning& operator=(CMsgGCCStrike15_v2_ClientPartyWarning&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPartyWarning& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPartyWarning* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_); + } + static constexpr int kIndexInFileMessages = + 164; + + friend void swap(CMsgGCCStrike15_v2_ClientPartyWarning& a, CMsgGCCStrike15_v2_ClientPartyWarning& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPartyWarning* 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(CMsgGCCStrike15_v2_ClientPartyWarning* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPartyWarning* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyWarning& from) { + CMsgGCCStrike15_v2_ClientPartyWarning::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(CMsgGCCStrike15_v2_ClientPartyWarning* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPartyWarning"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPartyWarning(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_ClientPartyWarning_Entry Entry; + + // accessors ------------------------------------------------------- + + enum : int { + kEntriesFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* mutable_entries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >* + mutable_entries(); + private: + const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& _internal_entries(int index) const; + ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* _internal_add_entries(); + public: + const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& entries(int index) const; + ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* add_entries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >& + entries() const; + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyWarning) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry > entries_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_SetEventFavorite final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_SetEventFavorite) */ { + public: + inline CMsgGCCStrike15_v2_SetEventFavorite() : CMsgGCCStrike15_v2_SetEventFavorite(nullptr) {} + ~CMsgGCCStrike15_v2_SetEventFavorite() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavorite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_SetEventFavorite(const CMsgGCCStrike15_v2_SetEventFavorite& from); + CMsgGCCStrike15_v2_SetEventFavorite(CMsgGCCStrike15_v2_SetEventFavorite&& from) noexcept + : CMsgGCCStrike15_v2_SetEventFavorite() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_SetEventFavorite& operator=(const CMsgGCCStrike15_v2_SetEventFavorite& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_SetEventFavorite& operator=(CMsgGCCStrike15_v2_SetEventFavorite&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_SetEventFavorite& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_SetEventFavorite* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_SetEventFavorite_default_instance_); + } + static constexpr int kIndexInFileMessages = + 165; + + friend void swap(CMsgGCCStrike15_v2_SetEventFavorite& a, CMsgGCCStrike15_v2_SetEventFavorite& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_SetEventFavorite* 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(CMsgGCCStrike15_v2_SetEventFavorite* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_SetEventFavorite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_SetEventFavorite& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_SetEventFavorite& from) { + CMsgGCCStrike15_v2_SetEventFavorite::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(CMsgGCCStrike15_v2_SetEventFavorite* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_SetEventFavorite"; + } + protected: + explicit CMsgGCCStrike15_v2_SetEventFavorite(::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 { + kEventidFieldNumber = 1, + kIsFavoriteFieldNumber = 2, + }; + // optional uint64 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + uint64_t eventid() const; + void set_eventid(uint64_t value); + private: + uint64_t _internal_eventid() const; + void _internal_set_eventid(uint64_t value); + public: + + // optional bool is_favorite = 2; + bool has_is_favorite() const; + private: + bool _internal_has_is_favorite() const; + public: + void clear_is_favorite(); + bool is_favorite() const; + void set_is_favorite(bool value); + private: + bool _internal_is_favorite() const; + void _internal_set_is_favorite(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_SetEventFavorite) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t eventid_; + bool is_favorite_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GetEventFavorites_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GetEventFavorites_Request) */ { + public: + inline CMsgGCCStrike15_v2_GetEventFavorites_Request() : CMsgGCCStrike15_v2_GetEventFavorites_Request(nullptr) {} + ~CMsgGCCStrike15_v2_GetEventFavorites_Request() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GetEventFavorites_Request(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from); + CMsgGCCStrike15_v2_GetEventFavorites_Request(CMsgGCCStrike15_v2_GetEventFavorites_Request&& from) noexcept + : CMsgGCCStrike15_v2_GetEventFavorites_Request() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GetEventFavorites_Request& operator=(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GetEventFavorites_Request& operator=(CMsgGCCStrike15_v2_GetEventFavorites_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GetEventFavorites_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GetEventFavorites_Request* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 166; + + friend void swap(CMsgGCCStrike15_v2_GetEventFavorites_Request& a, CMsgGCCStrike15_v2_GetEventFavorites_Request& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GetEventFavorites_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(CMsgGCCStrike15_v2_GetEventFavorites_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GetEventFavorites_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { + CMsgGCCStrike15_v2_GetEventFavorites_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(CMsgGCCStrike15_v2_GetEventFavorites_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GetEventFavorites_Request"; + } + protected: + explicit CMsgGCCStrike15_v2_GetEventFavorites_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 { + kAllEventsFieldNumber = 1, + }; + // optional bool all_events = 1; + bool has_all_events() const; + private: + bool _internal_has_all_events() const; + public: + void clear_all_events(); + bool all_events() const; + void set_all_events(bool value); + private: + bool _internal_all_events() const; + void _internal_set_all_events(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GetEventFavorites_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool all_events_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GetEventFavorites_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GetEventFavorites_Response) */ { + public: + inline CMsgGCCStrike15_v2_GetEventFavorites_Response() : CMsgGCCStrike15_v2_GetEventFavorites_Response(nullptr) {} + ~CMsgGCCStrike15_v2_GetEventFavorites_Response() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GetEventFavorites_Response(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from); + CMsgGCCStrike15_v2_GetEventFavorites_Response(CMsgGCCStrike15_v2_GetEventFavorites_Response&& from) noexcept + : CMsgGCCStrike15_v2_GetEventFavorites_Response() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GetEventFavorites_Response& operator=(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GetEventFavorites_Response& operator=(CMsgGCCStrike15_v2_GetEventFavorites_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GetEventFavorites_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GetEventFavorites_Response* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 167; + + friend void swap(CMsgGCCStrike15_v2_GetEventFavorites_Response& a, CMsgGCCStrike15_v2_GetEventFavorites_Response& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GetEventFavorites_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(CMsgGCCStrike15_v2_GetEventFavorites_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GetEventFavorites_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { + CMsgGCCStrike15_v2_GetEventFavorites_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(CMsgGCCStrike15_v2_GetEventFavorites_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GetEventFavorites_Response"; + } + protected: + explicit CMsgGCCStrike15_v2_GetEventFavorites_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 { + kJsonFavoritesFieldNumber = 2, + kJsonFeaturedFieldNumber = 3, + kAllEventsFieldNumber = 1, + }; + // optional string json_favorites = 2; + bool has_json_favorites() const; + private: + bool _internal_has_json_favorites() const; + public: + void clear_json_favorites(); + const std::string& json_favorites() const; + template + void set_json_favorites(ArgT0&& arg0, ArgT... args); + std::string* mutable_json_favorites(); + PROTOBUF_NODISCARD std::string* release_json_favorites(); + void set_allocated_json_favorites(std::string* json_favorites); + private: + const std::string& _internal_json_favorites() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_favorites(const std::string& value); + std::string* _internal_mutable_json_favorites(); + public: + + // optional string json_featured = 3; + bool has_json_featured() const; + private: + bool _internal_has_json_featured() const; + public: + void clear_json_featured(); + const std::string& json_featured() const; + template + void set_json_featured(ArgT0&& arg0, ArgT... args); + std::string* mutable_json_featured(); + PROTOBUF_NODISCARD std::string* release_json_featured(); + void set_allocated_json_featured(std::string* json_featured); + private: + const std::string& _internal_json_featured() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_featured(const std::string& value); + std::string* _internal_mutable_json_featured(); + public: + + // optional bool all_events = 1; + bool has_all_events() const; + private: + bool _internal_has_all_events() const; + public: + void clear_all_events(); + bool all_events() const; + void set_all_events(bool value); + private: + bool _internal_all_events() const; + void _internal_set_all_events(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GetEventFavorites_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_favorites_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_featured_; + bool all_events_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPerfReport_Entry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPerfReport.Entry) */ { + public: + inline CMsgGCCStrike15_v2_ClientPerfReport_Entry() : CMsgGCCStrike15_v2_ClientPerfReport_Entry(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPerfReport_Entry() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPerfReport_Entry(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from); + CMsgGCCStrike15_v2_ClientPerfReport_Entry(CMsgGCCStrike15_v2_ClientPerfReport_Entry&& from) noexcept + : CMsgGCCStrike15_v2_ClientPerfReport_Entry() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPerfReport_Entry& operator=(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPerfReport_Entry& operator=(CMsgGCCStrike15_v2_ClientPerfReport_Entry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPerfReport_Entry& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPerfReport_Entry* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 168; + + friend void swap(CMsgGCCStrike15_v2_ClientPerfReport_Entry& a, CMsgGCCStrike15_v2_ClientPerfReport_Entry& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* 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(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPerfReport_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { + CMsgGCCStrike15_v2_ClientPerfReport_Entry::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(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPerfReport.Entry"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPerfReport_Entry(::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 { + kReferenceFieldNumber = 3, + kActualFieldNumber = 4, + kPerfcounterFieldNumber = 1, + kLengthFieldNumber = 2, + kSourceidFieldNumber = 5, + kStatusFieldNumber = 6, + }; + // optional bytes reference = 3; + bool has_reference() const; + private: + bool _internal_has_reference() const; + public: + void clear_reference(); + const std::string& reference() const; + template + void set_reference(ArgT0&& arg0, ArgT... args); + std::string* mutable_reference(); + PROTOBUF_NODISCARD std::string* release_reference(); + void set_allocated_reference(std::string* reference); + private: + const std::string& _internal_reference() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_reference(const std::string& value); + std::string* _internal_mutable_reference(); + public: + + // optional bytes actual = 4; + bool has_actual() const; + private: + bool _internal_has_actual() const; + public: + void clear_actual(); + const std::string& actual() const; + template + void set_actual(ArgT0&& arg0, ArgT... args); + std::string* mutable_actual(); + PROTOBUF_NODISCARD std::string* release_actual(); + void set_allocated_actual(std::string* actual); + private: + const std::string& _internal_actual() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_actual(const std::string& value); + std::string* _internal_mutable_actual(); + public: + + // optional uint32 perfcounter = 1; + bool has_perfcounter() const; + private: + bool _internal_has_perfcounter() const; + public: + void clear_perfcounter(); + uint32_t perfcounter() const; + void set_perfcounter(uint32_t value); + private: + uint32_t _internal_perfcounter() const; + void _internal_set_perfcounter(uint32_t value); + public: + + // optional uint32 length = 2; + bool has_length() const; + private: + bool _internal_has_length() const; + public: + void clear_length(); + uint32_t length() const; + void set_length(uint32_t value); + private: + uint32_t _internal_length() const; + void _internal_set_length(uint32_t value); + public: + + // optional uint32 sourceid = 5; + bool has_sourceid() const; + private: + bool _internal_has_sourceid() const; + public: + void clear_sourceid(); + uint32_t sourceid() const; + void set_sourceid(uint32_t value); + private: + uint32_t _internal_sourceid() const; + void _internal_set_sourceid(uint32_t value); + public: + + // optional uint32 status = 6; + bool has_status() const; + private: + bool _internal_has_status() const; + public: + void clear_status(); + uint32_t status() const; + void set_status(uint32_t value); + private: + uint32_t _internal_status() const; + void _internal_set_status(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPerfReport.Entry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reference_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actual_; + uint32_t perfcounter_; + uint32_t length_; + uint32_t sourceid_; + uint32_t status_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientPerfReport final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPerfReport) */ { + public: + inline CMsgGCCStrike15_v2_ClientPerfReport() : CMsgGCCStrike15_v2_ClientPerfReport(nullptr) {} + ~CMsgGCCStrike15_v2_ClientPerfReport() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientPerfReport(const CMsgGCCStrike15_v2_ClientPerfReport& from); + CMsgGCCStrike15_v2_ClientPerfReport(CMsgGCCStrike15_v2_ClientPerfReport&& from) noexcept + : CMsgGCCStrike15_v2_ClientPerfReport() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientPerfReport& operator=(const CMsgGCCStrike15_v2_ClientPerfReport& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientPerfReport& operator=(CMsgGCCStrike15_v2_ClientPerfReport&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientPerfReport& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientPerfReport* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientPerfReport_default_instance_); + } + static constexpr int kIndexInFileMessages = + 169; + + friend void swap(CMsgGCCStrike15_v2_ClientPerfReport& a, CMsgGCCStrike15_v2_ClientPerfReport& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientPerfReport* 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(CMsgGCCStrike15_v2_ClientPerfReport* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientPerfReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientPerfReport& from) { + CMsgGCCStrike15_v2_ClientPerfReport::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(CMsgGCCStrike15_v2_ClientPerfReport* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientPerfReport"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientPerfReport(::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 ---------------------------------------------------- + + typedef CMsgGCCStrike15_v2_ClientPerfReport_Entry Entry; + + // accessors ------------------------------------------------------- + + enum : int { + kEntriesFieldNumber = 1, + }; + // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* mutable_entries(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >* + mutable_entries(); + private: + const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& _internal_entries(int index) const; + ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* _internal_add_entries(); + public: + const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& entries(int index) const; + ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* add_entries(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >& + entries() const; + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPerfReport) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry > entries_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CVDiagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CVDiagnostic) */ { + public: + inline CVDiagnostic() : CVDiagnostic(nullptr) {} + ~CVDiagnostic() override; + explicit PROTOBUF_CONSTEXPR CVDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CVDiagnostic(const CVDiagnostic& from); + CVDiagnostic(CVDiagnostic&& from) noexcept + : CVDiagnostic() { + *this = ::std::move(from); + } + + inline CVDiagnostic& operator=(const CVDiagnostic& from) { + CopyFrom(from); + return *this; + } + inline CVDiagnostic& operator=(CVDiagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CVDiagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CVDiagnostic* internal_default_instance() { + return reinterpret_cast( + &_CVDiagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 170; + + friend void swap(CVDiagnostic& a, CVDiagnostic& b) { + a.Swap(&b); + } + inline void Swap(CVDiagnostic* 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(CVDiagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CVDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CVDiagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CVDiagnostic& from) { + CVDiagnostic::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(CVDiagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CVDiagnostic"; + } + protected: + explicit CVDiagnostic(::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 { + kStringValueFieldNumber = 4, + kIdFieldNumber = 1, + kExtendedFieldNumber = 2, + kValueFieldNumber = 3, + }; + // optional string string_value = 4; + bool has_string_value() const; + private: + bool _internal_has_string_value() const; + public: + void clear_string_value(); + const std::string& string_value() const; + template + void set_string_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_value(); + PROTOBUF_NODISCARD std::string* release_string_value(); + void set_allocated_string_value(std::string* string_value); + private: + const std::string& _internal_string_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); + std::string* _internal_mutable_string_value(); + public: + + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 extended = 2; + bool has_extended() const; + private: + bool _internal_has_extended() const; + public: + void clear_extended(); + uint32_t extended() const; + void set_extended(uint32_t value); + private: + uint32_t _internal_extended() const; + void _internal_set_extended(uint32_t value); + public: + + // optional uint64 value = 3; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + uint64_t value() const; + void set_value(uint64_t value); + private: + uint64_t _internal_value() const; + void _internal_set_value(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CVDiagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; + uint32_t id_; + uint32_t extended_; + uint64_t value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_ClientReportValidation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportValidation) */ { + public: + inline CMsgGCCStrike15_v2_ClientReportValidation() : CMsgGCCStrike15_v2_ClientReportValidation(nullptr) {} + ~CMsgGCCStrike15_v2_ClientReportValidation() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_ClientReportValidation(const CMsgGCCStrike15_v2_ClientReportValidation& from); + CMsgGCCStrike15_v2_ClientReportValidation(CMsgGCCStrike15_v2_ClientReportValidation&& from) noexcept + : CMsgGCCStrike15_v2_ClientReportValidation() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_ClientReportValidation& operator=(const CMsgGCCStrike15_v2_ClientReportValidation& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_ClientReportValidation& operator=(CMsgGCCStrike15_v2_ClientReportValidation&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_ClientReportValidation& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_ClientReportValidation* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_ClientReportValidation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 171; + + friend void swap(CMsgGCCStrike15_v2_ClientReportValidation& a, CMsgGCCStrike15_v2_ClientReportValidation& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_ClientReportValidation* 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(CMsgGCCStrike15_v2_ClientReportValidation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_ClientReportValidation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_ClientReportValidation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_ClientReportValidation& from) { + CMsgGCCStrike15_v2_ClientReportValidation::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(CMsgGCCStrike15_v2_ClientReportValidation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_ClientReportValidation"; + } + protected: + explicit CMsgGCCStrike15_v2_ClientReportValidation(::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 { + kDiagnosticsFieldNumber = 20, + kFileReportFieldNumber = 1, + kCommandLineFieldNumber = 2, + kLastLaunchDataFieldNumber = 15, + kTotalFilesFieldNumber = 3, + kInternalErrorFieldNumber = 4, + kTrustTimeFieldNumber = 5, + kCountPendingFieldNumber = 6, + kCountCompletedFieldNumber = 7, + kProcessIdFieldNumber = 8, + kOsversionFieldNumber = 9, + kClientreportversionFieldNumber = 10, + kStatusIdFieldNumber = 11, + kDiagnostic1FieldNumber = 12, + kDiagnostic2FieldNumber = 13, + kDiagnostic3FieldNumber = 14, + kClientTimeFieldNumber = 17, + kDiagnostic4FieldNumber = 18, + kDiagnostic5FieldNumber = 19, + kReportCountFieldNumber = 16, + }; + // repeated .CVDiagnostic diagnostics = 20; + int diagnostics_size() const; + private: + int _internal_diagnostics_size() const; + public: + void clear_diagnostics(); + ::CVDiagnostic* mutable_diagnostics(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >* + mutable_diagnostics(); + private: + const ::CVDiagnostic& _internal_diagnostics(int index) const; + ::CVDiagnostic* _internal_add_diagnostics(); + public: + const ::CVDiagnostic& diagnostics(int index) const; + ::CVDiagnostic* add_diagnostics(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >& + diagnostics() const; + + // optional string file_report = 1; + bool has_file_report() const; + private: + bool _internal_has_file_report() const; + public: + void clear_file_report(); + const std::string& file_report() const; + template + void set_file_report(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_report(); + PROTOBUF_NODISCARD std::string* release_file_report(); + void set_allocated_file_report(std::string* file_report); + private: + const std::string& _internal_file_report() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); + std::string* _internal_mutable_file_report(); + public: + + // optional string command_line = 2; + bool has_command_line() const; + private: + bool _internal_has_command_line() const; + public: + void clear_command_line(); + const std::string& command_line() const; + template + void set_command_line(ArgT0&& arg0, ArgT... args); + std::string* mutable_command_line(); + PROTOBUF_NODISCARD std::string* release_command_line(); + void set_allocated_command_line(std::string* command_line); + private: + const std::string& _internal_command_line() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_command_line(const std::string& value); + std::string* _internal_mutable_command_line(); + public: + + // optional string last_launch_data = 15; + bool has_last_launch_data() const; + private: + bool _internal_has_last_launch_data() const; + public: + void clear_last_launch_data(); + const std::string& last_launch_data() const; + template + void set_last_launch_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_last_launch_data(); + PROTOBUF_NODISCARD std::string* release_last_launch_data(); + void set_allocated_last_launch_data(std::string* last_launch_data); + private: + const std::string& _internal_last_launch_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_last_launch_data(const std::string& value); + std::string* _internal_mutable_last_launch_data(); + public: + + // optional uint32 total_files = 3; + bool has_total_files() const; + private: + bool _internal_has_total_files() const; + public: + void clear_total_files(); + uint32_t total_files() const; + void set_total_files(uint32_t value); + private: + uint32_t _internal_total_files() const; + void _internal_set_total_files(uint32_t value); + public: + + // optional uint32 internal_error = 4; + bool has_internal_error() const; + private: + bool _internal_has_internal_error() const; + public: + void clear_internal_error(); + uint32_t internal_error() const; + void set_internal_error(uint32_t value); + private: + uint32_t _internal_internal_error() const; + void _internal_set_internal_error(uint32_t value); + public: + + // optional uint32 trust_time = 5; + bool has_trust_time() const; + private: + bool _internal_has_trust_time() const; + public: + void clear_trust_time(); + uint32_t trust_time() const; + void set_trust_time(uint32_t value); + private: + uint32_t _internal_trust_time() const; + void _internal_set_trust_time(uint32_t value); + public: + + // optional uint32 count_pending = 6; + bool has_count_pending() const; + private: + bool _internal_has_count_pending() const; + public: + void clear_count_pending(); + uint32_t count_pending() const; + void set_count_pending(uint32_t value); + private: + uint32_t _internal_count_pending() const; + void _internal_set_count_pending(uint32_t value); + public: + + // optional uint32 count_completed = 7; + bool has_count_completed() const; + private: + bool _internal_has_count_completed() const; + public: + void clear_count_completed(); + uint32_t count_completed() const; + void set_count_completed(uint32_t value); + private: + uint32_t _internal_count_completed() const; + void _internal_set_count_completed(uint32_t value); + public: + + // optional uint32 process_id = 8; + bool has_process_id() const; + private: + bool _internal_has_process_id() const; + public: + void clear_process_id(); + uint32_t process_id() const; + void set_process_id(uint32_t value); + private: + uint32_t _internal_process_id() const; + void _internal_set_process_id(uint32_t value); + public: + + // optional int32 osversion = 9; + bool has_osversion() const; + private: + bool _internal_has_osversion() const; + public: + void clear_osversion(); + int32_t osversion() const; + void set_osversion(int32_t value); + private: + int32_t _internal_osversion() const; + void _internal_set_osversion(int32_t value); + public: + + // optional uint32 clientreportversion = 10; + bool has_clientreportversion() const; + private: + bool _internal_has_clientreportversion() const; + public: + void clear_clientreportversion(); + uint32_t clientreportversion() const; + void set_clientreportversion(uint32_t value); + private: + uint32_t _internal_clientreportversion() const; + void _internal_set_clientreportversion(uint32_t value); + public: + + // optional uint32 status_id = 11; + bool has_status_id() const; + private: + bool _internal_has_status_id() const; + public: + void clear_status_id(); + uint32_t status_id() const; + void set_status_id(uint32_t value); + private: + uint32_t _internal_status_id() const; + void _internal_set_status_id(uint32_t value); + public: + + // optional uint32 diagnostic1 = 12; + bool has_diagnostic1() const; + private: + bool _internal_has_diagnostic1() const; + public: + void clear_diagnostic1(); + uint32_t diagnostic1() const; + void set_diagnostic1(uint32_t value); + private: + uint32_t _internal_diagnostic1() const; + void _internal_set_diagnostic1(uint32_t value); + public: + + // optional uint64 diagnostic2 = 13; + bool has_diagnostic2() const; + private: + bool _internal_has_diagnostic2() const; + public: + void clear_diagnostic2(); + uint64_t diagnostic2() const; + void set_diagnostic2(uint64_t value); + private: + uint64_t _internal_diagnostic2() const; + void _internal_set_diagnostic2(uint64_t value); + public: + + // optional uint64 diagnostic3 = 14; + bool has_diagnostic3() const; + private: + bool _internal_has_diagnostic3() const; + public: + void clear_diagnostic3(); + uint64_t diagnostic3() const; + void set_diagnostic3(uint64_t value); + private: + uint64_t _internal_diagnostic3() const; + void _internal_set_diagnostic3(uint64_t value); + public: + + // optional uint64 client_time = 17; + bool has_client_time() const; + private: + bool _internal_has_client_time() const; + public: + void clear_client_time(); + uint64_t client_time() const; + void set_client_time(uint64_t value); + private: + uint64_t _internal_client_time() const; + void _internal_set_client_time(uint64_t value); + public: + + // optional uint64 diagnostic4 = 18; + bool has_diagnostic4() const; + private: + bool _internal_has_diagnostic4() const; + public: + void clear_diagnostic4(); + uint64_t diagnostic4() const; + void set_diagnostic4(uint64_t value); + private: + uint64_t _internal_diagnostic4() const; + void _internal_set_diagnostic4(uint64_t value); + public: + + // optional uint64 diagnostic5 = 19; + bool has_diagnostic5() const; + private: + bool _internal_has_diagnostic5() const; + public: + void clear_diagnostic5(); + uint64_t diagnostic5() const; + void set_diagnostic5(uint64_t value); + private: + uint64_t _internal_diagnostic5() const; + void _internal_set_diagnostic5(uint64_t value); + public: + + // optional uint32 report_count = 16; + bool has_report_count() const; + private: + bool _internal_has_report_count() const; + public: + void clear_report_count(); + uint32_t report_count() const; + void set_report_count(uint32_t value); + private: + uint32_t _internal_report_count() const; + void _internal_set_report_count(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportValidation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic > diagnostics_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_line_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr last_launch_data_; + uint32_t total_files_; + uint32_t internal_error_; + uint32_t trust_time_; + uint32_t count_pending_; + uint32_t count_completed_; + uint32_t process_id_; + int32_t osversion_; + uint32_t clientreportversion_; + uint32_t status_id_; + uint32_t diagnostic1_; + uint64_t diagnostic2_; + uint64_t diagnostic3_; + uint64_t client_time_; + uint64_t diagnostic4_; + uint64_t diagnostic5_; + uint32_t report_count_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() : CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from); + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& operator=(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& operator=(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_); + } + static constexpr int kIndexInFileMessages = + 172; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& a, CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* 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(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { + CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::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(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::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 { + kFileReportFieldNumber = 1, + kFilesPreventedTrustedFieldNumber = 9, + kOfferInsecureModeFieldNumber = 2, + kOfferSecureModeFieldNumber = 3, + kShowUnsignedUiFieldNumber = 4, + kKickUserFieldNumber = 5, + kShowTrustedUiFieldNumber = 6, + kShowWarningNotTrustedFieldNumber = 7, + kShowWarningNotTrusted2FieldNumber = 8, + }; + // optional string file_report = 1; + bool has_file_report() const; + private: + bool _internal_has_file_report() const; + public: + void clear_file_report(); + const std::string& file_report() const; + template + void set_file_report(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_report(); + PROTOBUF_NODISCARD std::string* release_file_report(); + void set_allocated_file_report(std::string* file_report); + private: + const std::string& _internal_file_report() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); + std::string* _internal_mutable_file_report(); + public: + + // optional string files_prevented_trusted = 9; + bool has_files_prevented_trusted() const; + private: + bool _internal_has_files_prevented_trusted() const; + public: + void clear_files_prevented_trusted(); + const std::string& files_prevented_trusted() const; + template + void set_files_prevented_trusted(ArgT0&& arg0, ArgT... args); + std::string* mutable_files_prevented_trusted(); + PROTOBUF_NODISCARD std::string* release_files_prevented_trusted(); + void set_allocated_files_prevented_trusted(std::string* files_prevented_trusted); + private: + const std::string& _internal_files_prevented_trusted() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_files_prevented_trusted(const std::string& value); + std::string* _internal_mutable_files_prevented_trusted(); + public: + + // optional bool offer_insecure_mode = 2; + bool has_offer_insecure_mode() const; + private: + bool _internal_has_offer_insecure_mode() const; + public: + void clear_offer_insecure_mode(); + bool offer_insecure_mode() const; + void set_offer_insecure_mode(bool value); + private: + bool _internal_offer_insecure_mode() const; + void _internal_set_offer_insecure_mode(bool value); + public: + + // optional bool offer_secure_mode = 3; + bool has_offer_secure_mode() const; + private: + bool _internal_has_offer_secure_mode() const; + public: + void clear_offer_secure_mode(); + bool offer_secure_mode() const; + void set_offer_secure_mode(bool value); + private: + bool _internal_offer_secure_mode() const; + void _internal_set_offer_secure_mode(bool value); + public: + + // optional bool show_unsigned_ui = 4; + bool has_show_unsigned_ui() const; + private: + bool _internal_has_show_unsigned_ui() const; + public: + void clear_show_unsigned_ui(); + bool show_unsigned_ui() const; + void set_show_unsigned_ui(bool value); + private: + bool _internal_show_unsigned_ui() const; + void _internal_set_show_unsigned_ui(bool value); + public: + + // optional bool kick_user = 5; + bool has_kick_user() const; + private: + bool _internal_has_kick_user() const; + public: + void clear_kick_user(); + bool kick_user() const; + void set_kick_user(bool value); + private: + bool _internal_kick_user() const; + void _internal_set_kick_user(bool value); + public: + + // optional bool show_trusted_ui = 6; + bool has_show_trusted_ui() const; + private: + bool _internal_has_show_trusted_ui() const; + public: + void clear_show_trusted_ui(); + bool show_trusted_ui() const; + void set_show_trusted_ui(bool value); + private: + bool _internal_show_trusted_ui() const; + void _internal_set_show_trusted_ui(bool value); + public: + + // optional bool show_warning_not_trusted = 7; + bool has_show_warning_not_trusted() const; + private: + bool _internal_has_show_warning_not_trusted() const; + public: + void clear_show_warning_not_trusted(); + bool show_warning_not_trusted() const; + void set_show_warning_not_trusted(bool value); + private: + bool _internal_show_warning_not_trusted() const; + void _internal_set_show_warning_not_trusted(bool value); + public: + + // optional bool show_warning_not_trusted_2 = 8; + bool has_show_warning_not_trusted_2() const; + private: + bool _internal_has_show_warning_not_trusted_2() const; + public: + void clear_show_warning_not_trusted_2(); + bool show_warning_not_trusted_2() const; + void set_show_warning_not_trusted_2(bool value); + private: + bool _internal_show_warning_not_trusted_2() const; + void _internal_set_show_warning_not_trusted_2(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr files_prevented_trusted_; + bool offer_insecure_mode_; + bool offer_secure_mode_; + bool show_unsigned_ui_; + bool kick_user_; + bool show_trusted_ui_; + bool show_warning_not_trusted_; + bool show_warning_not_trusted_2_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientRequestValidation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientRequestValidation) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientRequestValidation() : CMsgGCCStrike15_v2_GC2ClientRequestValidation(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientRequestValidation() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientRequestValidation(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from); + CMsgGCCStrike15_v2_GC2ClientRequestValidation(CMsgGCCStrike15_v2_GC2ClientRequestValidation&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientRequestValidation() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientRequestValidation& operator=(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientRequestValidation& operator=(CMsgGCCStrike15_v2_GC2ClientRequestValidation&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientRequestValidation& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientRequestValidation* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 173; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientRequestValidation& a, CMsgGCCStrike15_v2_GC2ClientRequestValidation& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* 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(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientRequestValidation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { + CMsgGCCStrike15_v2_GC2ClientRequestValidation::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(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientRequestValidation"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientRequestValidation(::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 { + kModuleFieldNumber = 2, + kFullReportFieldNumber = 1, + }; + // optional string module = 2; + bool has_module() const; + private: + bool _internal_has_module() const; + public: + void clear_module(); + const std::string& module() const; + template + void set_module(ArgT0&& arg0, ArgT... args); + std::string* mutable_module(); + PROTOBUF_NODISCARD std::string* release_module(); + void set_allocated_module(std::string* module); + private: + const std::string& _internal_module() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_module(const std::string& value); + std::string* _internal_mutable_module(); + public: + + // optional bool full_report = 1; + bool has_full_report() const; + private: + bool _internal_has_full_report() const; + public: + void clear_full_report(); + bool full_report() const; + void set_full_report(bool value); + private: + bool _internal_full_report() const; + void _internal_set_full_report(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientRequestValidation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr module_; + bool full_report_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientInitSystem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientInitSystem) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientInitSystem() : CMsgGCCStrike15_v2_GC2ClientInitSystem(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientInitSystem() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientInitSystem(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from); + CMsgGCCStrike15_v2_GC2ClientInitSystem(CMsgGCCStrike15_v2_GC2ClientInitSystem&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientInitSystem() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientInitSystem& operator=(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientInitSystem& operator=(CMsgGCCStrike15_v2_GC2ClientInitSystem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientInitSystem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientInitSystem* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 174; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientInitSystem& a, CMsgGCCStrike15_v2_GC2ClientInitSystem& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientInitSystem* 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(CMsgGCCStrike15_v2_GC2ClientInitSystem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientInitSystem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { + CMsgGCCStrike15_v2_GC2ClientInitSystem::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(CMsgGCCStrike15_v2_GC2ClientInitSystem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientInitSystem"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientInitSystem(::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 = 2, + kOutputnameFieldNumber = 3, + kKeyDataFieldNumber = 4, + kShaHashFieldNumber = 5, + kManifestFieldNumber = 7, + kSystemPackageFieldNumber = 8, + kLoadFieldNumber = 1, + kLoadSystemFieldNumber = 9, + kCookieFieldNumber = 6, + }; + // optional 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: + + // optional string outputname = 3; + bool has_outputname() const; + private: + bool _internal_has_outputname() const; + public: + void clear_outputname(); + const std::string& outputname() const; + template + void set_outputname(ArgT0&& arg0, ArgT... args); + std::string* mutable_outputname(); + PROTOBUF_NODISCARD std::string* release_outputname(); + void set_allocated_outputname(std::string* outputname); + private: + const std::string& _internal_outputname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_outputname(const std::string& value); + std::string* _internal_mutable_outputname(); + public: + + // optional bytes key_data = 4; + bool has_key_data() const; + private: + bool _internal_has_key_data() const; + public: + void clear_key_data(); + const std::string& key_data() const; + template + void set_key_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_key_data(); + PROTOBUF_NODISCARD std::string* release_key_data(); + void set_allocated_key_data(std::string* key_data); + private: + const std::string& _internal_key_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); + std::string* _internal_mutable_key_data(); + public: + + // optional bytes sha_hash = 5; + bool has_sha_hash() const; + private: + bool _internal_has_sha_hash() const; + public: + void clear_sha_hash(); + const std::string& sha_hash() const; + template + void set_sha_hash(ArgT0&& arg0, ArgT... args); + std::string* mutable_sha_hash(); + PROTOBUF_NODISCARD std::string* release_sha_hash(); + void set_allocated_sha_hash(std::string* sha_hash); + private: + const std::string& _internal_sha_hash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sha_hash(const std::string& value); + std::string* _internal_mutable_sha_hash(); + public: + + // optional string manifest = 7; + bool has_manifest() const; + private: + bool _internal_has_manifest() const; + public: + void clear_manifest(); + const std::string& manifest() const; + template + void set_manifest(ArgT0&& arg0, ArgT... args); + std::string* mutable_manifest(); + PROTOBUF_NODISCARD std::string* release_manifest(); + void set_allocated_manifest(std::string* manifest); + private: + const std::string& _internal_manifest() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_manifest(const std::string& value); + std::string* _internal_mutable_manifest(); + public: + + // optional bytes system_package = 8; + bool has_system_package() const; + private: + bool _internal_has_system_package() const; + public: + void clear_system_package(); + const std::string& system_package() const; + template + void set_system_package(ArgT0&& arg0, ArgT... args); + std::string* mutable_system_package(); + PROTOBUF_NODISCARD std::string* release_system_package(); + void set_allocated_system_package(std::string* system_package); + private: + const std::string& _internal_system_package() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_system_package(const std::string& value); + std::string* _internal_mutable_system_package(); + public: + + // optional bool load = 1; + bool has_load() const; + private: + bool _internal_has_load() const; + public: + void clear_load(); + bool load() const; + void set_load(bool value); + private: + bool _internal_load() const; + void _internal_set_load(bool value); + public: + + // optional bool load_system = 9; + bool has_load_system() const; + private: + bool _internal_has_load_system() const; + public: + void clear_load_system(); + bool load_system() const; + void set_load_system(bool value); + private: + bool _internal_load_system() const; + void _internal_set_load_system(bool value); + public: + + // optional int32 cookie = 6; + bool has_cookie() const; + private: + bool _internal_has_cookie() const; + public: + void clear_cookie(); + int32_t cookie() const; + void set_cookie(int32_t value); + private: + int32_t _internal_cookie() const; + void _internal_set_cookie(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientInitSystem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr outputname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha_hash_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manifest_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr system_package_; + bool load_; + bool load_system_; + int32_t cookie_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) */ { + public: + inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() : CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(nullptr) {} + ~CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from); + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response&& from) noexcept + : CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& operator=(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& operator=(CMsgGCCStrike15_v2_GC2ClientInitSystem_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 175; + + friend void swap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& a, CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_GC2ClientInitSystem_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(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { + CMsgGCCStrike15_v2_GC2ClientInitSystem_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(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response"; + } + protected: + explicit CMsgGCCStrike15_v2_GC2ClientInitSystem_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 { + kDiagnosticFieldNumber = 2, + kShaHashFieldNumber = 3, + kSuccessFieldNumber = 1, + kResponseFieldNumber = 4, + kErrorCode1FieldNumber = 5, + kErrorCode2FieldNumber = 6, + kHandleFieldNumber = 7, + kEinitResultFieldNumber = 8, + kAuxSystem1FieldNumber = 9, + kAuxSystem2FieldNumber = 10, + }; + // optional string diagnostic = 2; + bool has_diagnostic() const; + private: + bool _internal_has_diagnostic() const; + public: + void clear_diagnostic(); + const std::string& diagnostic() const; + template + void set_diagnostic(ArgT0&& arg0, ArgT... args); + std::string* mutable_diagnostic(); + PROTOBUF_NODISCARD std::string* release_diagnostic(); + void set_allocated_diagnostic(std::string* diagnostic); + private: + const std::string& _internal_diagnostic() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_diagnostic(const std::string& value); + std::string* _internal_mutable_diagnostic(); + public: + + // optional bytes sha_hash = 3; + bool has_sha_hash() const; + private: + bool _internal_has_sha_hash() const; + public: + void clear_sha_hash(); + const std::string& sha_hash() const; + template + void set_sha_hash(ArgT0&& arg0, ArgT... args); + std::string* mutable_sha_hash(); + PROTOBUF_NODISCARD std::string* release_sha_hash(); + void set_allocated_sha_hash(std::string* sha_hash); + private: + const std::string& _internal_sha_hash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sha_hash(const std::string& value); + std::string* _internal_mutable_sha_hash(); + public: + + // optional bool success = 1; + bool has_success() const; + private: + bool _internal_has_success() const; + public: + void clear_success(); + bool success() const; + void set_success(bool value); + private: + bool _internal_success() const; + void _internal_set_success(bool value); + public: + + // optional int32 response = 4; + bool has_response() const; + private: + bool _internal_has_response() const; + public: + void clear_response(); + int32_t response() const; + void set_response(int32_t value); + private: + int32_t _internal_response() const; + void _internal_set_response(int32_t value); + public: + + // optional int32 error_code1 = 5; + bool has_error_code1() const; + private: + bool _internal_has_error_code1() const; + public: + void clear_error_code1(); + int32_t error_code1() const; + void set_error_code1(int32_t value); + private: + int32_t _internal_error_code1() const; + void _internal_set_error_code1(int32_t value); + public: + + // optional int32 error_code2 = 6; + bool has_error_code2() const; + private: + bool _internal_has_error_code2() const; + public: + void clear_error_code2(); + int32_t error_code2() const; + void set_error_code2(int32_t value); + private: + int32_t _internal_error_code2() const; + void _internal_set_error_code2(int32_t value); + public: + + // optional int64 handle = 7; + bool has_handle() const; + private: + bool _internal_has_handle() const; + public: + void clear_handle(); + int64_t handle() const; + void set_handle(int64_t value); + private: + int64_t _internal_handle() const; + void _internal_set_handle(int64_t value); + public: + + // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; + bool has_einit_result() const; + private: + bool _internal_has_einit_result() const; + public: + void clear_einit_result(); + ::EInitSystemResult einit_result() const; + void set_einit_result(::EInitSystemResult value); + private: + ::EInitSystemResult _internal_einit_result() const; + void _internal_set_einit_result(::EInitSystemResult value); + public: + + // optional int32 aux_system1 = 9; + bool has_aux_system1() const; + private: + bool _internal_has_aux_system1() const; + public: + void clear_aux_system1(); + int32_t aux_system1() const; + void set_aux_system1(int32_t value); + private: + int32_t _internal_aux_system1() const; + void _internal_set_aux_system1(int32_t value); + public: + + // optional int32 aux_system2 = 10; + bool has_aux_system2() const; + private: + bool _internal_has_aux_system2() const; + public: + void clear_aux_system2(); + int32_t aux_system2() const; + void set_aux_system2(int32_t value); + private: + int32_t _internal_aux_system2() const; + void _internal_set_aux_system2(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr diagnostic_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha_hash_; + bool success_; + int32_t response_; + int32_t error_code1_; + int32_t error_code2_; + int64_t handle_; + int einit_result_; + int32_t aux_system1_; + int32_t aux_system2_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) */ { + public: + inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() : CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(nullptr) {} + ~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() override; + explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from); + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName&& from) noexcept + : CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() { + *this = ::std::move(from); + } + + inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& operator=(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& operator=(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_); + } + static constexpr int kIndexInFileMessages = + 176; + + friend void swap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& a, CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* 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(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { + CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::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(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName"; + } + protected: + explicit CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::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 { + kLeaderboardSafeNameFieldNumber = 1, + }; + // optional string leaderboard_safe_name = 1; + bool has_leaderboard_safe_name() const; + private: + bool _internal_has_leaderboard_safe_name() const; + public: + void clear_leaderboard_safe_name(); + const std::string& leaderboard_safe_name() const; + template + void set_leaderboard_safe_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_leaderboard_safe_name(); + PROTOBUF_NODISCARD std::string* release_leaderboard_safe_name(); + void set_allocated_leaderboard_safe_name(std::string* leaderboard_safe_name); + private: + const std::string& _internal_leaderboard_safe_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_safe_name(const std::string& value); + std::string* _internal_mutable_leaderboard_safe_name(); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_safe_name_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgRequestRecurringMissionSchedule final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgRequestRecurringMissionSchedule) */ { + public: + inline CMsgRequestRecurringMissionSchedule() : CMsgRequestRecurringMissionSchedule(nullptr) {} + explicit PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionSchedule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgRequestRecurringMissionSchedule(const CMsgRequestRecurringMissionSchedule& from); + CMsgRequestRecurringMissionSchedule(CMsgRequestRecurringMissionSchedule&& from) noexcept + : CMsgRequestRecurringMissionSchedule() { + *this = ::std::move(from); + } + + inline CMsgRequestRecurringMissionSchedule& operator=(const CMsgRequestRecurringMissionSchedule& from) { + CopyFrom(from); + return *this; + } + inline CMsgRequestRecurringMissionSchedule& operator=(CMsgRequestRecurringMissionSchedule&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgRequestRecurringMissionSchedule& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgRequestRecurringMissionSchedule* internal_default_instance() { + return reinterpret_cast( + &_CMsgRequestRecurringMissionSchedule_default_instance_); + } + static constexpr int kIndexInFileMessages = + 177; + + friend void swap(CMsgRequestRecurringMissionSchedule& a, CMsgRequestRecurringMissionSchedule& b) { + a.Swap(&b); + } + inline void Swap(CMsgRequestRecurringMissionSchedule* 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(CMsgRequestRecurringMissionSchedule* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgRequestRecurringMissionSchedule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CMsgRequestRecurringMissionSchedule& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CMsgRequestRecurringMissionSchedule& 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 "CMsgRequestRecurringMissionSchedule"; + } + protected: + explicit CMsgRequestRecurringMissionSchedule(::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:CMsgRequestRecurringMissionSchedule) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgRecurringMissionSchema_MissionTemplateList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRecurringMissionSchema.MissionTemplateList) */ { + public: + inline CMsgRecurringMissionSchema_MissionTemplateList() : CMsgRecurringMissionSchema_MissionTemplateList(nullptr) {} + ~CMsgRecurringMissionSchema_MissionTemplateList() override; + explicit PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgRecurringMissionSchema_MissionTemplateList(const CMsgRecurringMissionSchema_MissionTemplateList& from); + CMsgRecurringMissionSchema_MissionTemplateList(CMsgRecurringMissionSchema_MissionTemplateList&& from) noexcept + : CMsgRecurringMissionSchema_MissionTemplateList() { + *this = ::std::move(from); + } + + inline CMsgRecurringMissionSchema_MissionTemplateList& operator=(const CMsgRecurringMissionSchema_MissionTemplateList& from) { + CopyFrom(from); + return *this; + } + inline CMsgRecurringMissionSchema_MissionTemplateList& operator=(CMsgRecurringMissionSchema_MissionTemplateList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgRecurringMissionSchema_MissionTemplateList& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgRecurringMissionSchema_MissionTemplateList* internal_default_instance() { + return reinterpret_cast( + &_CMsgRecurringMissionSchema_MissionTemplateList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 178; + + friend void swap(CMsgRecurringMissionSchema_MissionTemplateList& a, CMsgRecurringMissionSchema_MissionTemplateList& b) { + a.Swap(&b); + } + inline void Swap(CMsgRecurringMissionSchema_MissionTemplateList* 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(CMsgRecurringMissionSchema_MissionTemplateList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgRecurringMissionSchema_MissionTemplateList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgRecurringMissionSchema_MissionTemplateList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgRecurringMissionSchema_MissionTemplateList& from) { + CMsgRecurringMissionSchema_MissionTemplateList::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(CMsgRecurringMissionSchema_MissionTemplateList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgRecurringMissionSchema.MissionTemplateList"; + } + protected: + explicit CMsgRecurringMissionSchema_MissionTemplateList(::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 { + kMissionTemplatesFieldNumber = 2, + kPeriodFieldNumber = 1, + }; + // repeated bytes mission_templates = 2; + int mission_templates_size() const; + private: + int _internal_mission_templates_size() const; + public: + void clear_mission_templates(); + const std::string& mission_templates(int index) const; + std::string* mutable_mission_templates(int index); + void set_mission_templates(int index, const std::string& value); + void set_mission_templates(int index, std::string&& value); + void set_mission_templates(int index, const char* value); + void set_mission_templates(int index, const void* value, size_t size); + std::string* add_mission_templates(); + void add_mission_templates(const std::string& value); + void add_mission_templates(std::string&& value); + void add_mission_templates(const char* value); + void add_mission_templates(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& mission_templates() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_mission_templates(); + private: + const std::string& _internal_mission_templates(int index) const; + std::string* _internal_add_mission_templates(); + public: + + // optional uint32 period = 1; + bool has_period() const; + private: + bool _internal_has_period() const; + public: + void clear_period(); + uint32_t period() const; + void set_period(uint32_t value); + private: + uint32_t _internal_period() const; + void _internal_set_period(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgRecurringMissionSchema.MissionTemplateList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField mission_templates_; + uint32_t period_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgRecurringMissionSchema final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRecurringMissionSchema) */ { + public: + inline CMsgRecurringMissionSchema() : CMsgRecurringMissionSchema(nullptr) {} + ~CMsgRecurringMissionSchema() override; + explicit PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgRecurringMissionSchema(const CMsgRecurringMissionSchema& from); + CMsgRecurringMissionSchema(CMsgRecurringMissionSchema&& from) noexcept + : CMsgRecurringMissionSchema() { + *this = ::std::move(from); + } + + inline CMsgRecurringMissionSchema& operator=(const CMsgRecurringMissionSchema& from) { + CopyFrom(from); + return *this; + } + inline CMsgRecurringMissionSchema& operator=(CMsgRecurringMissionSchema&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgRecurringMissionSchema& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgRecurringMissionSchema* internal_default_instance() { + return reinterpret_cast( + &_CMsgRecurringMissionSchema_default_instance_); + } + static constexpr int kIndexInFileMessages = + 179; + + friend void swap(CMsgRecurringMissionSchema& a, CMsgRecurringMissionSchema& b) { + a.Swap(&b); + } + inline void Swap(CMsgRecurringMissionSchema* 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(CMsgRecurringMissionSchema* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgRecurringMissionSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgRecurringMissionSchema& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgRecurringMissionSchema& from) { + CMsgRecurringMissionSchema::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(CMsgRecurringMissionSchema* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgRecurringMissionSchema"; + } + protected: + explicit CMsgRecurringMissionSchema(::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 ---------------------------------------------------- + + typedef CMsgRecurringMissionSchema_MissionTemplateList MissionTemplateList; + + // accessors ------------------------------------------------------- + + enum : int { + kMissionsFieldNumber = 1, + }; + // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; + int missions_size() const; + private: + int _internal_missions_size() const; + public: + void clear_missions(); + ::CMsgRecurringMissionSchema_MissionTemplateList* mutable_missions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >* + mutable_missions(); + private: + const ::CMsgRecurringMissionSchema_MissionTemplateList& _internal_missions(int index) const; + ::CMsgRecurringMissionSchema_MissionTemplateList* _internal_add_missions(); + public: + const ::CMsgRecurringMissionSchema_MissionTemplateList& missions(int index) const; + ::CMsgRecurringMissionSchema_MissionTemplateList* add_missions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >& + missions() const; + + // @@protoc_insertion_point(class_scope:CMsgRecurringMissionSchema) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList > missions_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// GameServerPing + +// optional int32 ping = 2; +inline bool GameServerPing::_internal_has_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool GameServerPing::has_ping() const { + return _internal_has_ping(); +} +inline void GameServerPing::clear_ping() { + _impl_.ping_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t GameServerPing::_internal_ping() const { + return _impl_.ping_; +} +inline int32_t GameServerPing::ping() const { + // @@protoc_insertion_point(field_get:GameServerPing.ping) + return _internal_ping(); +} +inline void GameServerPing::_internal_set_ping(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ping_ = value; +} +inline void GameServerPing::set_ping(int32_t value) { + _internal_set_ping(value); + // @@protoc_insertion_point(field_set:GameServerPing.ping) +} + +// optional uint32 ip = 3; +inline bool GameServerPing::_internal_has_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool GameServerPing::has_ip() const { + return _internal_has_ip(); +} +inline void GameServerPing::clear_ip() { + _impl_.ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t GameServerPing::_internal_ip() const { + return _impl_.ip_; +} +inline uint32_t GameServerPing::ip() const { + // @@protoc_insertion_point(field_get:GameServerPing.ip) + return _internal_ip(); +} +inline void GameServerPing::_internal_set_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ip_ = value; +} +inline void GameServerPing::set_ip(uint32_t value) { + _internal_set_ip(value); + // @@protoc_insertion_point(field_set:GameServerPing.ip) +} + +// optional uint32 instances = 5; +inline bool GameServerPing::_internal_has_instances() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool GameServerPing::has_instances() const { + return _internal_has_instances(); +} +inline void GameServerPing::clear_instances() { + _impl_.instances_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t GameServerPing::_internal_instances() const { + return _impl_.instances_; +} +inline uint32_t GameServerPing::instances() const { + // @@protoc_insertion_point(field_get:GameServerPing.instances) + return _internal_instances(); +} +inline void GameServerPing::_internal_set_instances(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.instances_ = value; +} +inline void GameServerPing::set_instances(uint32_t value) { + _internal_set_instances(value); + // @@protoc_insertion_point(field_set:GameServerPing.instances) +} + +// ------------------------------------------------------------------- + +// DataCenterPing + +// optional fixed32 data_center_id = 1; +inline bool DataCenterPing::_internal_has_data_center_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool DataCenterPing::has_data_center_id() const { + return _internal_has_data_center_id(); +} +inline void DataCenterPing::clear_data_center_id() { + _impl_.data_center_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t DataCenterPing::_internal_data_center_id() const { + return _impl_.data_center_id_; +} +inline uint32_t DataCenterPing::data_center_id() const { + // @@protoc_insertion_point(field_get:DataCenterPing.data_center_id) + return _internal_data_center_id(); +} +inline void DataCenterPing::_internal_set_data_center_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_center_id_ = value; +} +inline void DataCenterPing::set_data_center_id(uint32_t value) { + _internal_set_data_center_id(value); + // @@protoc_insertion_point(field_set:DataCenterPing.data_center_id) +} + +// optional sint32 ping = 2; +inline bool DataCenterPing::_internal_has_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool DataCenterPing::has_ping() const { + return _internal_has_ping(); +} +inline void DataCenterPing::clear_ping() { + _impl_.ping_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t DataCenterPing::_internal_ping() const { + return _impl_.ping_; +} +inline int32_t DataCenterPing::ping() const { + // @@protoc_insertion_point(field_get:DataCenterPing.ping) + return _internal_ping(); +} +inline void DataCenterPing::_internal_set_ping(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ping_ = value; +} +inline void DataCenterPing::set_ping(int32_t value) { + _internal_set_ping(value); + // @@protoc_insertion_point(field_set:DataCenterPing.ping) +} + +// ------------------------------------------------------------------- + +// DetailedSearchStatistic + +// optional uint32 game_type = 1; +inline bool DetailedSearchStatistic::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool DetailedSearchStatistic::has_game_type() const { + return _internal_has_game_type(); +} +inline void DetailedSearchStatistic::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t DetailedSearchStatistic::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t DetailedSearchStatistic::game_type() const { + // @@protoc_insertion_point(field_get:DetailedSearchStatistic.game_type) + return _internal_game_type(); +} +inline void DetailedSearchStatistic::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_type_ = value; +} +inline void DetailedSearchStatistic::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:DetailedSearchStatistic.game_type) +} + +// optional uint32 search_time_avg = 2; +inline bool DetailedSearchStatistic::_internal_has_search_time_avg() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool DetailedSearchStatistic::has_search_time_avg() const { + return _internal_has_search_time_avg(); +} +inline void DetailedSearchStatistic::clear_search_time_avg() { + _impl_.search_time_avg_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t DetailedSearchStatistic::_internal_search_time_avg() const { + return _impl_.search_time_avg_; +} +inline uint32_t DetailedSearchStatistic::search_time_avg() const { + // @@protoc_insertion_point(field_get:DetailedSearchStatistic.search_time_avg) + return _internal_search_time_avg(); +} +inline void DetailedSearchStatistic::_internal_set_search_time_avg(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.search_time_avg_ = value; +} +inline void DetailedSearchStatistic::set_search_time_avg(uint32_t value) { + _internal_set_search_time_avg(value); + // @@protoc_insertion_point(field_set:DetailedSearchStatistic.search_time_avg) +} + +// optional uint32 players_searching = 4; +inline bool DetailedSearchStatistic::_internal_has_players_searching() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool DetailedSearchStatistic::has_players_searching() const { + return _internal_has_players_searching(); +} +inline void DetailedSearchStatistic::clear_players_searching() { + _impl_.players_searching_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t DetailedSearchStatistic::_internal_players_searching() const { + return _impl_.players_searching_; +} +inline uint32_t DetailedSearchStatistic::players_searching() const { + // @@protoc_insertion_point(field_get:DetailedSearchStatistic.players_searching) + return _internal_players_searching(); +} +inline void DetailedSearchStatistic::_internal_set_players_searching(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.players_searching_ = value; +} +inline void DetailedSearchStatistic::set_players_searching(uint32_t value) { + _internal_set_players_searching(value); + // @@protoc_insertion_point(field_set:DetailedSearchStatistic.players_searching) +} + +// ------------------------------------------------------------------- + +// TournamentPlayer + +// optional uint32 account_id = 1; +inline bool TournamentPlayer::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool TournamentPlayer::has_account_id() const { + return _internal_has_account_id(); +} +inline void TournamentPlayer::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t TournamentPlayer::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t TournamentPlayer::account_id() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.account_id) + return _internal_account_id(); +} +inline void TournamentPlayer::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.account_id_ = value; +} +inline void TournamentPlayer::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:TournamentPlayer.account_id) +} + +// optional string player_nick = 2; +inline bool TournamentPlayer::_internal_has_player_nick() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_nick() const { + return _internal_has_player_nick(); +} +inline void TournamentPlayer::clear_player_nick() { + _impl_.player_nick_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& TournamentPlayer::player_nick() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_nick) + return _internal_player_nick(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentPlayer::set_player_nick(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_nick_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_nick) +} +inline std::string* TournamentPlayer::mutable_player_nick() { + std::string* _s = _internal_mutable_player_nick(); + // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_nick) + return _s; +} +inline const std::string& TournamentPlayer::_internal_player_nick() const { + return _impl_.player_nick_.Get(); +} +inline void TournamentPlayer::_internal_set_player_nick(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_nick_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::_internal_mutable_player_nick() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.player_nick_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::release_player_nick() { + // @@protoc_insertion_point(field_release:TournamentPlayer.player_nick) + if (!_internal_has_player_nick()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.player_nick_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_nick_.IsDefault()) { + _impl_.player_nick_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentPlayer::set_allocated_player_nick(std::string* player_nick) { + if (player_nick != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.player_nick_.SetAllocated(player_nick, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_nick_.IsDefault()) { + _impl_.player_nick_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_nick) +} + +// optional string player_name = 3; +inline bool TournamentPlayer::_internal_has_player_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_name() const { + return _internal_has_player_name(); +} +inline void TournamentPlayer::clear_player_name() { + _impl_.player_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& TournamentPlayer::player_name() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_name) + return _internal_player_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentPlayer::set_player_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_name) +} +inline std::string* TournamentPlayer::mutable_player_name() { + std::string* _s = _internal_mutable_player_name(); + // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_name) + return _s; +} +inline const std::string& TournamentPlayer::_internal_player_name() const { + return _impl_.player_name_.Get(); +} +inline void TournamentPlayer::_internal_set_player_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::_internal_mutable_player_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.player_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::release_player_name() { + // @@protoc_insertion_point(field_release:TournamentPlayer.player_name) + if (!_internal_has_player_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.player_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_name_.IsDefault()) { + _impl_.player_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentPlayer::set_allocated_player_name(std::string* player_name) { + if (player_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.player_name_.SetAllocated(player_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_name_.IsDefault()) { + _impl_.player_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_name) +} + +// optional uint32 player_dob = 4; +inline bool TournamentPlayer::_internal_has_player_dob() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_dob() const { + return _internal_has_player_dob(); +} +inline void TournamentPlayer::clear_player_dob() { + _impl_.player_dob_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t TournamentPlayer::_internal_player_dob() const { + return _impl_.player_dob_; +} +inline uint32_t TournamentPlayer::player_dob() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_dob) + return _internal_player_dob(); +} +inline void TournamentPlayer::_internal_set_player_dob(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.player_dob_ = value; +} +inline void TournamentPlayer::set_player_dob(uint32_t value) { + _internal_set_player_dob(value); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_dob) +} + +// optional string player_flag = 5; +inline bool TournamentPlayer::_internal_has_player_flag() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_flag() const { + return _internal_has_player_flag(); +} +inline void TournamentPlayer::clear_player_flag() { + _impl_.player_flag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& TournamentPlayer::player_flag() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_flag) + return _internal_player_flag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentPlayer::set_player_flag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.player_flag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_flag) +} +inline std::string* TournamentPlayer::mutable_player_flag() { + std::string* _s = _internal_mutable_player_flag(); + // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_flag) + return _s; +} +inline const std::string& TournamentPlayer::_internal_player_flag() const { + return _impl_.player_flag_.Get(); +} +inline void TournamentPlayer::_internal_set_player_flag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.player_flag_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::_internal_mutable_player_flag() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.player_flag_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::release_player_flag() { + // @@protoc_insertion_point(field_release:TournamentPlayer.player_flag) + if (!_internal_has_player_flag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.player_flag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_flag_.IsDefault()) { + _impl_.player_flag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentPlayer::set_allocated_player_flag(std::string* player_flag) { + if (player_flag != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.player_flag_.SetAllocated(player_flag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_flag_.IsDefault()) { + _impl_.player_flag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_flag) +} + +// optional string player_location = 6; +inline bool TournamentPlayer::_internal_has_player_location() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_location() const { + return _internal_has_player_location(); +} +inline void TournamentPlayer::clear_player_location() { + _impl_.player_location_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& TournamentPlayer::player_location() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_location) + return _internal_player_location(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentPlayer::set_player_location(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.player_location_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_location) +} +inline std::string* TournamentPlayer::mutable_player_location() { + std::string* _s = _internal_mutable_player_location(); + // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_location) + return _s; +} +inline const std::string& TournamentPlayer::_internal_player_location() const { + return _impl_.player_location_.Get(); +} +inline void TournamentPlayer::_internal_set_player_location(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.player_location_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::_internal_mutable_player_location() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.player_location_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::release_player_location() { + // @@protoc_insertion_point(field_release:TournamentPlayer.player_location) + if (!_internal_has_player_location()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.player_location_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_location_.IsDefault()) { + _impl_.player_location_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentPlayer::set_allocated_player_location(std::string* player_location) { + if (player_location != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.player_location_.SetAllocated(player_location, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_location_.IsDefault()) { + _impl_.player_location_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_location) +} + +// optional string player_desc = 7; +inline bool TournamentPlayer::_internal_has_player_desc() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool TournamentPlayer::has_player_desc() const { + return _internal_has_player_desc(); +} +inline void TournamentPlayer::clear_player_desc() { + _impl_.player_desc_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& TournamentPlayer::player_desc() const { + // @@protoc_insertion_point(field_get:TournamentPlayer.player_desc) + return _internal_player_desc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentPlayer::set_player_desc(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.player_desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentPlayer.player_desc) +} +inline std::string* TournamentPlayer::mutable_player_desc() { + std::string* _s = _internal_mutable_player_desc(); + // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_desc) + return _s; +} +inline const std::string& TournamentPlayer::_internal_player_desc() const { + return _impl_.player_desc_.Get(); +} +inline void TournamentPlayer::_internal_set_player_desc(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.player_desc_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::_internal_mutable_player_desc() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.player_desc_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentPlayer::release_player_desc() { + // @@protoc_insertion_point(field_release:TournamentPlayer.player_desc) + if (!_internal_has_player_desc()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.player_desc_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_desc_.IsDefault()) { + _impl_.player_desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentPlayer::set_allocated_player_desc(std::string* player_desc) { + if (player_desc != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.player_desc_.SetAllocated(player_desc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_desc_.IsDefault()) { + _impl_.player_desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_desc) +} + +// ------------------------------------------------------------------- + +// TournamentTeam + +// optional int32 team_id = 1; +inline bool TournamentTeam::_internal_has_team_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool TournamentTeam::has_team_id() const { + return _internal_has_team_id(); +} +inline void TournamentTeam::clear_team_id() { + _impl_.team_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t TournamentTeam::_internal_team_id() const { + return _impl_.team_id_; +} +inline int32_t TournamentTeam::team_id() const { + // @@protoc_insertion_point(field_get:TournamentTeam.team_id) + return _internal_team_id(); +} +inline void TournamentTeam::_internal_set_team_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.team_id_ = value; +} +inline void TournamentTeam::set_team_id(int32_t value) { + _internal_set_team_id(value); + // @@protoc_insertion_point(field_set:TournamentTeam.team_id) +} + +// optional string team_tag = 2; +inline bool TournamentTeam::_internal_has_team_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool TournamentTeam::has_team_tag() const { + return _internal_has_team_tag(); +} +inline void TournamentTeam::clear_team_tag() { + _impl_.team_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& TournamentTeam::team_tag() const { + // @@protoc_insertion_point(field_get:TournamentTeam.team_tag) + return _internal_team_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentTeam::set_team_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentTeam.team_tag) +} +inline std::string* TournamentTeam::mutable_team_tag() { + std::string* _s = _internal_mutable_team_tag(); + // @@protoc_insertion_point(field_mutable:TournamentTeam.team_tag) + return _s; +} +inline const std::string& TournamentTeam::_internal_team_tag() const { + return _impl_.team_tag_.Get(); +} +inline void TournamentTeam::_internal_set_team_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.team_tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentTeam::_internal_mutable_team_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.team_tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentTeam::release_team_tag() { + // @@protoc_insertion_point(field_release:TournamentTeam.team_tag) + if (!_internal_has_team_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.team_tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_tag_.IsDefault()) { + _impl_.team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentTeam::set_allocated_team_tag(std::string* team_tag) { + if (team_tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.team_tag_.SetAllocated(team_tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_tag_.IsDefault()) { + _impl_.team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_tag) +} + +// optional string team_flag = 3; +inline bool TournamentTeam::_internal_has_team_flag() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool TournamentTeam::has_team_flag() const { + return _internal_has_team_flag(); +} +inline void TournamentTeam::clear_team_flag() { + _impl_.team_flag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& TournamentTeam::team_flag() const { + // @@protoc_insertion_point(field_get:TournamentTeam.team_flag) + return _internal_team_flag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentTeam::set_team_flag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_flag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentTeam.team_flag) +} +inline std::string* TournamentTeam::mutable_team_flag() { + std::string* _s = _internal_mutable_team_flag(); + // @@protoc_insertion_point(field_mutable:TournamentTeam.team_flag) + return _s; +} +inline const std::string& TournamentTeam::_internal_team_flag() const { + return _impl_.team_flag_.Get(); +} +inline void TournamentTeam::_internal_set_team_flag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_flag_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentTeam::_internal_mutable_team_flag() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.team_flag_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentTeam::release_team_flag() { + // @@protoc_insertion_point(field_release:TournamentTeam.team_flag) + if (!_internal_has_team_flag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.team_flag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_flag_.IsDefault()) { + _impl_.team_flag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentTeam::set_allocated_team_flag(std::string* team_flag) { + if (team_flag != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.team_flag_.SetAllocated(team_flag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_flag_.IsDefault()) { + _impl_.team_flag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_flag) +} + +// optional string team_name = 4; +inline bool TournamentTeam::_internal_has_team_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool TournamentTeam::has_team_name() const { + return _internal_has_team_name(); +} +inline void TournamentTeam::clear_team_name() { + _impl_.team_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& TournamentTeam::team_name() const { + // @@protoc_insertion_point(field_get:TournamentTeam.team_name) + return _internal_team_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentTeam::set_team_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentTeam.team_name) +} +inline std::string* TournamentTeam::mutable_team_name() { + std::string* _s = _internal_mutable_team_name(); + // @@protoc_insertion_point(field_mutable:TournamentTeam.team_name) + return _s; +} +inline const std::string& TournamentTeam::_internal_team_name() const { + return _impl_.team_name_.Get(); +} +inline void TournamentTeam::_internal_set_team_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentTeam::_internal_mutable_team_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.team_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentTeam::release_team_name() { + // @@protoc_insertion_point(field_release:TournamentTeam.team_name) + if (!_internal_has_team_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.team_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_name_.IsDefault()) { + _impl_.team_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentTeam::set_allocated_team_name(std::string* team_name) { + if (team_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.team_name_.SetAllocated(team_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.team_name_.IsDefault()) { + _impl_.team_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_name) +} + +// repeated .TournamentPlayer players = 5; +inline int TournamentTeam::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int TournamentTeam::players_size() const { + return _internal_players_size(); +} +inline void TournamentTeam::clear_players() { + _impl_.players_.Clear(); +} +inline ::TournamentPlayer* TournamentTeam::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:TournamentTeam.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >* +TournamentTeam::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:TournamentTeam.players) + return &_impl_.players_; +} +inline const ::TournamentPlayer& TournamentTeam::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::TournamentPlayer& TournamentTeam::players(int index) const { + // @@protoc_insertion_point(field_get:TournamentTeam.players) + return _internal_players(index); +} +inline ::TournamentPlayer* TournamentTeam::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::TournamentPlayer* TournamentTeam::add_players() { + ::TournamentPlayer* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:TournamentTeam.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >& +TournamentTeam::players() const { + // @@protoc_insertion_point(field_list:TournamentTeam.players) + return _impl_.players_; +} + +// ------------------------------------------------------------------- + +// TournamentEvent + +// optional int32 event_id = 1; +inline bool TournamentEvent::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool TournamentEvent::has_event_id() const { + return _internal_has_event_id(); +} +inline void TournamentEvent::clear_event_id() { + _impl_.event_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t TournamentEvent::_internal_event_id() const { + return _impl_.event_id_; +} +inline int32_t TournamentEvent::event_id() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_id) + return _internal_event_id(); +} +inline void TournamentEvent::_internal_set_event_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.event_id_ = value; +} +inline void TournamentEvent::set_event_id(int32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:TournamentEvent.event_id) +} + +// optional string event_tag = 2; +inline bool TournamentEvent::_internal_has_event_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool TournamentEvent::has_event_tag() const { + return _internal_has_event_tag(); +} +inline void TournamentEvent::clear_event_tag() { + _impl_.event_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& TournamentEvent::event_tag() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_tag) + return _internal_event_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentEvent::set_event_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentEvent.event_tag) +} +inline std::string* TournamentEvent::mutable_event_tag() { + std::string* _s = _internal_mutable_event_tag(); + // @@protoc_insertion_point(field_mutable:TournamentEvent.event_tag) + return _s; +} +inline const std::string& TournamentEvent::_internal_event_tag() const { + return _impl_.event_tag_.Get(); +} +inline void TournamentEvent::_internal_set_event_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentEvent::_internal_mutable_event_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentEvent::release_event_tag() { + // @@protoc_insertion_point(field_release:TournamentEvent.event_tag) + if (!_internal_has_event_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_tag_.IsDefault()) { + _impl_.event_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentEvent::set_allocated_event_tag(std::string* event_tag) { + if (event_tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_tag_.SetAllocated(event_tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_tag_.IsDefault()) { + _impl_.event_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_tag) +} + +// optional string event_name = 3; +inline bool TournamentEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool TournamentEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void TournamentEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& TournamentEvent::event_name() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentEvent.event_name) +} +inline std::string* TournamentEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:TournamentEvent.event_name) + return _s; +} +inline const std::string& TournamentEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void TournamentEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentEvent::release_event_name() { + // @@protoc_insertion_point(field_release:TournamentEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_name) +} + +// optional uint32 event_time_start = 4; +inline bool TournamentEvent::_internal_has_event_time_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool TournamentEvent::has_event_time_start() const { + return _internal_has_event_time_start(); +} +inline void TournamentEvent::clear_event_time_start() { + _impl_.event_time_start_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t TournamentEvent::_internal_event_time_start() const { + return _impl_.event_time_start_; +} +inline uint32_t TournamentEvent::event_time_start() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_time_start) + return _internal_event_time_start(); +} +inline void TournamentEvent::_internal_set_event_time_start(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.event_time_start_ = value; +} +inline void TournamentEvent::set_event_time_start(uint32_t value) { + _internal_set_event_time_start(value); + // @@protoc_insertion_point(field_set:TournamentEvent.event_time_start) +} + +// optional uint32 event_time_end = 5; +inline bool TournamentEvent::_internal_has_event_time_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool TournamentEvent::has_event_time_end() const { + return _internal_has_event_time_end(); +} +inline void TournamentEvent::clear_event_time_end() { + _impl_.event_time_end_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t TournamentEvent::_internal_event_time_end() const { + return _impl_.event_time_end_; +} +inline uint32_t TournamentEvent::event_time_end() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_time_end) + return _internal_event_time_end(); +} +inline void TournamentEvent::_internal_set_event_time_end(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.event_time_end_ = value; +} +inline void TournamentEvent::set_event_time_end(uint32_t value) { + _internal_set_event_time_end(value); + // @@protoc_insertion_point(field_set:TournamentEvent.event_time_end) +} + +// optional int32 event_public = 6; +inline bool TournamentEvent::_internal_has_event_public() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool TournamentEvent::has_event_public() const { + return _internal_has_event_public(); +} +inline void TournamentEvent::clear_event_public() { + _impl_.event_public_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t TournamentEvent::_internal_event_public() const { + return _impl_.event_public_; +} +inline int32_t TournamentEvent::event_public() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_public) + return _internal_event_public(); +} +inline void TournamentEvent::_internal_set_event_public(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.event_public_ = value; +} +inline void TournamentEvent::set_event_public(int32_t value) { + _internal_set_event_public(value); + // @@protoc_insertion_point(field_set:TournamentEvent.event_public) +} + +// optional int32 event_stage_id = 7; +inline bool TournamentEvent::_internal_has_event_stage_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool TournamentEvent::has_event_stage_id() const { + return _internal_has_event_stage_id(); +} +inline void TournamentEvent::clear_event_stage_id() { + _impl_.event_stage_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t TournamentEvent::_internal_event_stage_id() const { + return _impl_.event_stage_id_; +} +inline int32_t TournamentEvent::event_stage_id() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_stage_id) + return _internal_event_stage_id(); +} +inline void TournamentEvent::_internal_set_event_stage_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.event_stage_id_ = value; +} +inline void TournamentEvent::set_event_stage_id(int32_t value) { + _internal_set_event_stage_id(value); + // @@protoc_insertion_point(field_set:TournamentEvent.event_stage_id) +} + +// optional string event_stage_name = 8; +inline bool TournamentEvent::_internal_has_event_stage_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool TournamentEvent::has_event_stage_name() const { + return _internal_has_event_stage_name(); +} +inline void TournamentEvent::clear_event_stage_name() { + _impl_.event_stage_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& TournamentEvent::event_stage_name() const { + // @@protoc_insertion_point(field_get:TournamentEvent.event_stage_name) + return _internal_event_stage_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void TournamentEvent::set_event_stage_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.event_stage_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:TournamentEvent.event_stage_name) +} +inline std::string* TournamentEvent::mutable_event_stage_name() { + std::string* _s = _internal_mutable_event_stage_name(); + // @@protoc_insertion_point(field_mutable:TournamentEvent.event_stage_name) + return _s; +} +inline const std::string& TournamentEvent::_internal_event_stage_name() const { + return _impl_.event_stage_name_.Get(); +} +inline void TournamentEvent::_internal_set_event_stage_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.event_stage_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* TournamentEvent::_internal_mutable_event_stage_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.event_stage_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* TournamentEvent::release_event_stage_name() { + // @@protoc_insertion_point(field_release:TournamentEvent.event_stage_name) + if (!_internal_has_event_stage_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.event_stage_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_stage_name_.IsDefault()) { + _impl_.event_stage_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void TournamentEvent::set_allocated_event_stage_name(std::string* event_stage_name) { + if (event_stage_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.event_stage_name_.SetAllocated(event_stage_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_stage_name_.IsDefault()) { + _impl_.event_stage_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_stage_name) +} + +// optional uint32 active_section_id = 9; +inline bool TournamentEvent::_internal_has_active_section_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool TournamentEvent::has_active_section_id() const { + return _internal_has_active_section_id(); +} +inline void TournamentEvent::clear_active_section_id() { + _impl_.active_section_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t TournamentEvent::_internal_active_section_id() const { + return _impl_.active_section_id_; +} +inline uint32_t TournamentEvent::active_section_id() const { + // @@protoc_insertion_point(field_get:TournamentEvent.active_section_id) + return _internal_active_section_id(); +} +inline void TournamentEvent::_internal_set_active_section_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.active_section_id_ = value; +} +inline void TournamentEvent::set_active_section_id(uint32_t value) { + _internal_set_active_section_id(value); + // @@protoc_insertion_point(field_set:TournamentEvent.active_section_id) +} + +// ------------------------------------------------------------------- + +// GlobalStatistics + +// optional uint32 players_online = 1; +inline bool GlobalStatistics::_internal_has_players_online() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool GlobalStatistics::has_players_online() const { + return _internal_has_players_online(); +} +inline void GlobalStatistics::clear_players_online() { + _impl_.players_online_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t GlobalStatistics::_internal_players_online() const { + return _impl_.players_online_; +} +inline uint32_t GlobalStatistics::players_online() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.players_online) + return _internal_players_online(); +} +inline void GlobalStatistics::_internal_set_players_online(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.players_online_ = value; +} +inline void GlobalStatistics::set_players_online(uint32_t value) { + _internal_set_players_online(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.players_online) +} + +// optional uint32 servers_online = 2; +inline bool GlobalStatistics::_internal_has_servers_online() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool GlobalStatistics::has_servers_online() const { + return _internal_has_servers_online(); +} +inline void GlobalStatistics::clear_servers_online() { + _impl_.servers_online_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t GlobalStatistics::_internal_servers_online() const { + return _impl_.servers_online_; +} +inline uint32_t GlobalStatistics::servers_online() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.servers_online) + return _internal_servers_online(); +} +inline void GlobalStatistics::_internal_set_servers_online(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.servers_online_ = value; +} +inline void GlobalStatistics::set_servers_online(uint32_t value) { + _internal_set_servers_online(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.servers_online) +} + +// optional uint32 players_searching = 3; +inline bool GlobalStatistics::_internal_has_players_searching() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool GlobalStatistics::has_players_searching() const { + return _internal_has_players_searching(); +} +inline void GlobalStatistics::clear_players_searching() { + _impl_.players_searching_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t GlobalStatistics::_internal_players_searching() const { + return _impl_.players_searching_; +} +inline uint32_t GlobalStatistics::players_searching() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.players_searching) + return _internal_players_searching(); +} +inline void GlobalStatistics::_internal_set_players_searching(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.players_searching_ = value; +} +inline void GlobalStatistics::set_players_searching(uint32_t value) { + _internal_set_players_searching(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.players_searching) +} + +// optional uint32 servers_available = 4; +inline bool GlobalStatistics::_internal_has_servers_available() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool GlobalStatistics::has_servers_available() const { + return _internal_has_servers_available(); +} +inline void GlobalStatistics::clear_servers_available() { + _impl_.servers_available_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t GlobalStatistics::_internal_servers_available() const { + return _impl_.servers_available_; +} +inline uint32_t GlobalStatistics::servers_available() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.servers_available) + return _internal_servers_available(); +} +inline void GlobalStatistics::_internal_set_servers_available(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.servers_available_ = value; +} +inline void GlobalStatistics::set_servers_available(uint32_t value) { + _internal_set_servers_available(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.servers_available) +} + +// optional uint32 ongoing_matches = 5; +inline bool GlobalStatistics::_internal_has_ongoing_matches() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool GlobalStatistics::has_ongoing_matches() const { + return _internal_has_ongoing_matches(); +} +inline void GlobalStatistics::clear_ongoing_matches() { + _impl_.ongoing_matches_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t GlobalStatistics::_internal_ongoing_matches() const { + return _impl_.ongoing_matches_; +} +inline uint32_t GlobalStatistics::ongoing_matches() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.ongoing_matches) + return _internal_ongoing_matches(); +} +inline void GlobalStatistics::_internal_set_ongoing_matches(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.ongoing_matches_ = value; +} +inline void GlobalStatistics::set_ongoing_matches(uint32_t value) { + _internal_set_ongoing_matches(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.ongoing_matches) +} + +// optional uint32 search_time_avg = 6; +inline bool GlobalStatistics::_internal_has_search_time_avg() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool GlobalStatistics::has_search_time_avg() const { + return _internal_has_search_time_avg(); +} +inline void GlobalStatistics::clear_search_time_avg() { + _impl_.search_time_avg_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t GlobalStatistics::_internal_search_time_avg() const { + return _impl_.search_time_avg_; +} +inline uint32_t GlobalStatistics::search_time_avg() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.search_time_avg) + return _internal_search_time_avg(); +} +inline void GlobalStatistics::_internal_set_search_time_avg(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.search_time_avg_ = value; +} +inline void GlobalStatistics::set_search_time_avg(uint32_t value) { + _internal_set_search_time_avg(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.search_time_avg) +} + +// repeated .DetailedSearchStatistic search_statistics = 7; +inline int GlobalStatistics::_internal_search_statistics_size() const { + return _impl_.search_statistics_.size(); +} +inline int GlobalStatistics::search_statistics_size() const { + return _internal_search_statistics_size(); +} +inline void GlobalStatistics::clear_search_statistics() { + _impl_.search_statistics_.Clear(); +} +inline ::DetailedSearchStatistic* GlobalStatistics::mutable_search_statistics(int index) { + // @@protoc_insertion_point(field_mutable:GlobalStatistics.search_statistics) + return _impl_.search_statistics_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >* +GlobalStatistics::mutable_search_statistics() { + // @@protoc_insertion_point(field_mutable_list:GlobalStatistics.search_statistics) + return &_impl_.search_statistics_; +} +inline const ::DetailedSearchStatistic& GlobalStatistics::_internal_search_statistics(int index) const { + return _impl_.search_statistics_.Get(index); +} +inline const ::DetailedSearchStatistic& GlobalStatistics::search_statistics(int index) const { + // @@protoc_insertion_point(field_get:GlobalStatistics.search_statistics) + return _internal_search_statistics(index); +} +inline ::DetailedSearchStatistic* GlobalStatistics::_internal_add_search_statistics() { + return _impl_.search_statistics_.Add(); +} +inline ::DetailedSearchStatistic* GlobalStatistics::add_search_statistics() { + ::DetailedSearchStatistic* _add = _internal_add_search_statistics(); + // @@protoc_insertion_point(field_add:GlobalStatistics.search_statistics) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >& +GlobalStatistics::search_statistics() const { + // @@protoc_insertion_point(field_list:GlobalStatistics.search_statistics) + return _impl_.search_statistics_; +} + +// optional string main_post_url = 8; +inline bool GlobalStatistics::_internal_has_main_post_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool GlobalStatistics::has_main_post_url() const { + return _internal_has_main_post_url(); +} +inline void GlobalStatistics::clear_main_post_url() { + _impl_.main_post_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& GlobalStatistics::main_post_url() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.main_post_url) + return _internal_main_post_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GlobalStatistics::set_main_post_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.main_post_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:GlobalStatistics.main_post_url) +} +inline std::string* GlobalStatistics::mutable_main_post_url() { + std::string* _s = _internal_mutable_main_post_url(); + // @@protoc_insertion_point(field_mutable:GlobalStatistics.main_post_url) + return _s; +} +inline const std::string& GlobalStatistics::_internal_main_post_url() const { + return _impl_.main_post_url_.Get(); +} +inline void GlobalStatistics::_internal_set_main_post_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.main_post_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* GlobalStatistics::_internal_mutable_main_post_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.main_post_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* GlobalStatistics::release_main_post_url() { + // @@protoc_insertion_point(field_release:GlobalStatistics.main_post_url) + if (!_internal_has_main_post_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.main_post_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.main_post_url_.IsDefault()) { + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void GlobalStatistics::set_allocated_main_post_url(std::string* main_post_url) { + if (main_post_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.main_post_url_.SetAllocated(main_post_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.main_post_url_.IsDefault()) { + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:GlobalStatistics.main_post_url) +} + +// optional uint32 required_appid_version = 9; +inline bool GlobalStatistics::_internal_has_required_appid_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool GlobalStatistics::has_required_appid_version() const { + return _internal_has_required_appid_version(); +} +inline void GlobalStatistics::clear_required_appid_version() { + _impl_.required_appid_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t GlobalStatistics::_internal_required_appid_version() const { + return _impl_.required_appid_version_; +} +inline uint32_t GlobalStatistics::required_appid_version() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.required_appid_version) + return _internal_required_appid_version(); +} +inline void GlobalStatistics::_internal_set_required_appid_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.required_appid_version_ = value; +} +inline void GlobalStatistics::set_required_appid_version(uint32_t value) { + _internal_set_required_appid_version(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.required_appid_version) +} + +// optional uint32 pricesheet_version = 10; +inline bool GlobalStatistics::_internal_has_pricesheet_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool GlobalStatistics::has_pricesheet_version() const { + return _internal_has_pricesheet_version(); +} +inline void GlobalStatistics::clear_pricesheet_version() { + _impl_.pricesheet_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t GlobalStatistics::_internal_pricesheet_version() const { + return _impl_.pricesheet_version_; +} +inline uint32_t GlobalStatistics::pricesheet_version() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.pricesheet_version) + return _internal_pricesheet_version(); +} +inline void GlobalStatistics::_internal_set_pricesheet_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.pricesheet_version_ = value; +} +inline void GlobalStatistics::set_pricesheet_version(uint32_t value) { + _internal_set_pricesheet_version(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.pricesheet_version) +} + +// optional uint32 twitch_streams_version = 11; +inline bool GlobalStatistics::_internal_has_twitch_streams_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool GlobalStatistics::has_twitch_streams_version() const { + return _internal_has_twitch_streams_version(); +} +inline void GlobalStatistics::clear_twitch_streams_version() { + _impl_.twitch_streams_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t GlobalStatistics::_internal_twitch_streams_version() const { + return _impl_.twitch_streams_version_; +} +inline uint32_t GlobalStatistics::twitch_streams_version() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.twitch_streams_version) + return _internal_twitch_streams_version(); +} +inline void GlobalStatistics::_internal_set_twitch_streams_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.twitch_streams_version_ = value; +} +inline void GlobalStatistics::set_twitch_streams_version(uint32_t value) { + _internal_set_twitch_streams_version(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.twitch_streams_version) +} + +// optional uint32 active_tournament_eventid = 12; +inline bool GlobalStatistics::_internal_has_active_tournament_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool GlobalStatistics::has_active_tournament_eventid() const { + return _internal_has_active_tournament_eventid(); +} +inline void GlobalStatistics::clear_active_tournament_eventid() { + _impl_.active_tournament_eventid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t GlobalStatistics::_internal_active_tournament_eventid() const { + return _impl_.active_tournament_eventid_; +} +inline uint32_t GlobalStatistics::active_tournament_eventid() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.active_tournament_eventid) + return _internal_active_tournament_eventid(); +} +inline void GlobalStatistics::_internal_set_active_tournament_eventid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.active_tournament_eventid_ = value; +} +inline void GlobalStatistics::set_active_tournament_eventid(uint32_t value) { + _internal_set_active_tournament_eventid(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.active_tournament_eventid) +} + +// optional uint32 active_survey_id = 13; +inline bool GlobalStatistics::_internal_has_active_survey_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool GlobalStatistics::has_active_survey_id() const { + return _internal_has_active_survey_id(); +} +inline void GlobalStatistics::clear_active_survey_id() { + _impl_.active_survey_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t GlobalStatistics::_internal_active_survey_id() const { + return _impl_.active_survey_id_; +} +inline uint32_t GlobalStatistics::active_survey_id() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.active_survey_id) + return _internal_active_survey_id(); +} +inline void GlobalStatistics::_internal_set_active_survey_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.active_survey_id_ = value; +} +inline void GlobalStatistics::set_active_survey_id(uint32_t value) { + _internal_set_active_survey_id(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.active_survey_id) +} + +// optional uint32 rtime32_cur = 14; +inline bool GlobalStatistics::_internal_has_rtime32_cur() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool GlobalStatistics::has_rtime32_cur() const { + return _internal_has_rtime32_cur(); +} +inline void GlobalStatistics::clear_rtime32_cur() { + _impl_.rtime32_cur_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t GlobalStatistics::_internal_rtime32_cur() const { + return _impl_.rtime32_cur_; +} +inline uint32_t GlobalStatistics::rtime32_cur() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.rtime32_cur) + return _internal_rtime32_cur(); +} +inline void GlobalStatistics::_internal_set_rtime32_cur(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.rtime32_cur_ = value; +} +inline void GlobalStatistics::set_rtime32_cur(uint32_t value) { + _internal_set_rtime32_cur(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.rtime32_cur) +} + +// optional uint32 required_appid_version2 = 16; +inline bool GlobalStatistics::_internal_has_required_appid_version2() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool GlobalStatistics::has_required_appid_version2() const { + return _internal_has_required_appid_version2(); +} +inline void GlobalStatistics::clear_required_appid_version2() { + _impl_.required_appid_version2_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t GlobalStatistics::_internal_required_appid_version2() const { + return _impl_.required_appid_version2_; +} +inline uint32_t GlobalStatistics::required_appid_version2() const { + // @@protoc_insertion_point(field_get:GlobalStatistics.required_appid_version2) + return _internal_required_appid_version2(); +} +inline void GlobalStatistics::_internal_set_required_appid_version2(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.required_appid_version2_ = value; +} +inline void GlobalStatistics::set_required_appid_version2(uint32_t value) { + _internal_set_required_appid_version2(value); + // @@protoc_insertion_point(field_set:GlobalStatistics.required_appid_version2) +} + +// ------------------------------------------------------------------- + +// OperationalStatisticDescription + +// optional string name = 1; +inline bool OperationalStatisticDescription::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool OperationalStatisticDescription::has_name() const { + return _internal_has_name(); +} +inline void OperationalStatisticDescription::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& OperationalStatisticDescription::name() const { + // @@protoc_insertion_point(field_get:OperationalStatisticDescription.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void OperationalStatisticDescription::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:OperationalStatisticDescription.name) +} +inline std::string* OperationalStatisticDescription::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:OperationalStatisticDescription.name) + return _s; +} +inline const std::string& OperationalStatisticDescription::_internal_name() const { + return _impl_.name_.Get(); +} +inline void OperationalStatisticDescription::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* OperationalStatisticDescription::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* OperationalStatisticDescription::release_name() { + // @@protoc_insertion_point(field_release:OperationalStatisticDescription.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void OperationalStatisticDescription::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:OperationalStatisticDescription.name) +} + +// optional uint32 idkey = 2; +inline bool OperationalStatisticDescription::_internal_has_idkey() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool OperationalStatisticDescription::has_idkey() const { + return _internal_has_idkey(); +} +inline void OperationalStatisticDescription::clear_idkey() { + _impl_.idkey_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t OperationalStatisticDescription::_internal_idkey() const { + return _impl_.idkey_; +} +inline uint32_t OperationalStatisticDescription::idkey() const { + // @@protoc_insertion_point(field_get:OperationalStatisticDescription.idkey) + return _internal_idkey(); +} +inline void OperationalStatisticDescription::_internal_set_idkey(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.idkey_ = value; +} +inline void OperationalStatisticDescription::set_idkey(uint32_t value) { + _internal_set_idkey(value); + // @@protoc_insertion_point(field_set:OperationalStatisticDescription.idkey) +} + +// ------------------------------------------------------------------- + +// OperationalStatisticElement + +// optional uint32 idkey = 1; +inline bool OperationalStatisticElement::_internal_has_idkey() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool OperationalStatisticElement::has_idkey() const { + return _internal_has_idkey(); +} +inline void OperationalStatisticElement::clear_idkey() { + _impl_.idkey_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t OperationalStatisticElement::_internal_idkey() const { + return _impl_.idkey_; +} +inline uint32_t OperationalStatisticElement::idkey() const { + // @@protoc_insertion_point(field_get:OperationalStatisticElement.idkey) + return _internal_idkey(); +} +inline void OperationalStatisticElement::_internal_set_idkey(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.idkey_ = value; +} +inline void OperationalStatisticElement::set_idkey(uint32_t value) { + _internal_set_idkey(value); + // @@protoc_insertion_point(field_set:OperationalStatisticElement.idkey) +} + +// repeated int32 values = 2; +inline int OperationalStatisticElement::_internal_values_size() const { + return _impl_.values_.size(); +} +inline int OperationalStatisticElement::values_size() const { + return _internal_values_size(); +} +inline void OperationalStatisticElement::clear_values() { + _impl_.values_.Clear(); +} +inline int32_t OperationalStatisticElement::_internal_values(int index) const { + return _impl_.values_.Get(index); +} +inline int32_t OperationalStatisticElement::values(int index) const { + // @@protoc_insertion_point(field_get:OperationalStatisticElement.values) + return _internal_values(index); +} +inline void OperationalStatisticElement::set_values(int index, int32_t value) { + _impl_.values_.Set(index, value); + // @@protoc_insertion_point(field_set:OperationalStatisticElement.values) +} +inline void OperationalStatisticElement::_internal_add_values(int32_t value) { + _impl_.values_.Add(value); +} +inline void OperationalStatisticElement::add_values(int32_t value) { + _internal_add_values(value); + // @@protoc_insertion_point(field_add:OperationalStatisticElement.values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +OperationalStatisticElement::_internal_values() const { + return _impl_.values_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +OperationalStatisticElement::values() const { + // @@protoc_insertion_point(field_list:OperationalStatisticElement.values) + return _internal_values(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +OperationalStatisticElement::_internal_mutable_values() { + return &_impl_.values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +OperationalStatisticElement::mutable_values() { + // @@protoc_insertion_point(field_mutable_list:OperationalStatisticElement.values) + return _internal_mutable_values(); +} + +// ------------------------------------------------------------------- + +// OperationalStatisticsPacket + +// optional int32 packetid = 1; +inline bool OperationalStatisticsPacket::_internal_has_packetid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool OperationalStatisticsPacket::has_packetid() const { + return _internal_has_packetid(); +} +inline void OperationalStatisticsPacket::clear_packetid() { + _impl_.packetid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t OperationalStatisticsPacket::_internal_packetid() const { + return _impl_.packetid_; +} +inline int32_t OperationalStatisticsPacket::packetid() const { + // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.packetid) + return _internal_packetid(); +} +inline void OperationalStatisticsPacket::_internal_set_packetid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packetid_ = value; +} +inline void OperationalStatisticsPacket::set_packetid(int32_t value) { + _internal_set_packetid(value); + // @@protoc_insertion_point(field_set:OperationalStatisticsPacket.packetid) +} + +// optional int32 mstimestamp = 2; +inline bool OperationalStatisticsPacket::_internal_has_mstimestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool OperationalStatisticsPacket::has_mstimestamp() const { + return _internal_has_mstimestamp(); +} +inline void OperationalStatisticsPacket::clear_mstimestamp() { + _impl_.mstimestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t OperationalStatisticsPacket::_internal_mstimestamp() const { + return _impl_.mstimestamp_; +} +inline int32_t OperationalStatisticsPacket::mstimestamp() const { + // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.mstimestamp) + return _internal_mstimestamp(); +} +inline void OperationalStatisticsPacket::_internal_set_mstimestamp(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.mstimestamp_ = value; +} +inline void OperationalStatisticsPacket::set_mstimestamp(int32_t value) { + _internal_set_mstimestamp(value); + // @@protoc_insertion_point(field_set:OperationalStatisticsPacket.mstimestamp) +} + +// repeated .OperationalStatisticElement values = 3; +inline int OperationalStatisticsPacket::_internal_values_size() const { + return _impl_.values_.size(); +} +inline int OperationalStatisticsPacket::values_size() const { + return _internal_values_size(); +} +inline void OperationalStatisticsPacket::clear_values() { + _impl_.values_.Clear(); +} +inline ::OperationalStatisticElement* OperationalStatisticsPacket::mutable_values(int index) { + // @@protoc_insertion_point(field_mutable:OperationalStatisticsPacket.values) + return _impl_.values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >* +OperationalStatisticsPacket::mutable_values() { + // @@protoc_insertion_point(field_mutable_list:OperationalStatisticsPacket.values) + return &_impl_.values_; +} +inline const ::OperationalStatisticElement& OperationalStatisticsPacket::_internal_values(int index) const { + return _impl_.values_.Get(index); +} +inline const ::OperationalStatisticElement& OperationalStatisticsPacket::values(int index) const { + // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.values) + return _internal_values(index); +} +inline ::OperationalStatisticElement* OperationalStatisticsPacket::_internal_add_values() { + return _impl_.values_.Add(); +} +inline ::OperationalStatisticElement* OperationalStatisticsPacket::add_values() { + ::OperationalStatisticElement* _add = _internal_add_values(); + // @@protoc_insertion_point(field_add:OperationalStatisticsPacket.values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >& +OperationalStatisticsPacket::values() const { + // @@protoc_insertion_point(field_list:OperationalStatisticsPacket.values) + return _impl_.values_; +} + +// ------------------------------------------------------------------- + +// OperationalVarValue + +// optional string name = 1; +inline bool OperationalVarValue::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool OperationalVarValue::has_name() const { + return _internal_has_name(); +} +inline void OperationalVarValue::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& OperationalVarValue::name() const { + // @@protoc_insertion_point(field_get:OperationalVarValue.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void OperationalVarValue::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:OperationalVarValue.name) +} +inline std::string* OperationalVarValue::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:OperationalVarValue.name) + return _s; +} +inline const std::string& OperationalVarValue::_internal_name() const { + return _impl_.name_.Get(); +} +inline void OperationalVarValue::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* OperationalVarValue::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* OperationalVarValue::release_name() { + // @@protoc_insertion_point(field_release:OperationalVarValue.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void OperationalVarValue::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:OperationalVarValue.name) +} + +// optional int32 ivalue = 2; +inline bool OperationalVarValue::_internal_has_ivalue() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool OperationalVarValue::has_ivalue() const { + return _internal_has_ivalue(); +} +inline void OperationalVarValue::clear_ivalue() { + _impl_.ivalue_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t OperationalVarValue::_internal_ivalue() const { + return _impl_.ivalue_; +} +inline int32_t OperationalVarValue::ivalue() const { + // @@protoc_insertion_point(field_get:OperationalVarValue.ivalue) + return _internal_ivalue(); +} +inline void OperationalVarValue::_internal_set_ivalue(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ivalue_ = value; +} +inline void OperationalVarValue::set_ivalue(int32_t value) { + _internal_set_ivalue(value); + // @@protoc_insertion_point(field_set:OperationalVarValue.ivalue) +} + +// optional float fvalue = 3; +inline bool OperationalVarValue::_internal_has_fvalue() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool OperationalVarValue::has_fvalue() const { + return _internal_has_fvalue(); +} +inline void OperationalVarValue::clear_fvalue() { + _impl_.fvalue_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float OperationalVarValue::_internal_fvalue() const { + return _impl_.fvalue_; +} +inline float OperationalVarValue::fvalue() const { + // @@protoc_insertion_point(field_get:OperationalVarValue.fvalue) + return _internal_fvalue(); +} +inline void OperationalVarValue::_internal_set_fvalue(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.fvalue_ = value; +} +inline void OperationalVarValue::set_fvalue(float value) { + _internal_set_fvalue(value); + // @@protoc_insertion_point(field_set:OperationalVarValue.fvalue) +} + +// optional bytes svalue = 4; +inline bool OperationalVarValue::_internal_has_svalue() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool OperationalVarValue::has_svalue() const { + return _internal_has_svalue(); +} +inline void OperationalVarValue::clear_svalue() { + _impl_.svalue_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& OperationalVarValue::svalue() const { + // @@protoc_insertion_point(field_get:OperationalVarValue.svalue) + return _internal_svalue(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void OperationalVarValue::set_svalue(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.svalue_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:OperationalVarValue.svalue) +} +inline std::string* OperationalVarValue::mutable_svalue() { + std::string* _s = _internal_mutable_svalue(); + // @@protoc_insertion_point(field_mutable:OperationalVarValue.svalue) + return _s; +} +inline const std::string& OperationalVarValue::_internal_svalue() const { + return _impl_.svalue_.Get(); +} +inline void OperationalVarValue::_internal_set_svalue(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.svalue_.Set(value, GetArenaForAllocation()); +} +inline std::string* OperationalVarValue::_internal_mutable_svalue() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.svalue_.Mutable(GetArenaForAllocation()); +} +inline std::string* OperationalVarValue::release_svalue() { + // @@protoc_insertion_point(field_release:OperationalVarValue.svalue) + if (!_internal_has_svalue()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.svalue_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.svalue_.IsDefault()) { + _impl_.svalue_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void OperationalVarValue::set_allocated_svalue(std::string* svalue) { + if (svalue != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.svalue_.SetAllocated(svalue, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.svalue_.IsDefault()) { + _impl_.svalue_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:OperationalVarValue.svalue) +} + +// ------------------------------------------------------------------- + +// PlayerRankingInfo_PerMapRank + +// optional uint32 map_id = 1; +inline bool PlayerRankingInfo_PerMapRank::_internal_has_map_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerRankingInfo_PerMapRank::has_map_id() const { + return _internal_has_map_id(); +} +inline void PlayerRankingInfo_PerMapRank::clear_map_id() { + _impl_.map_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t PlayerRankingInfo_PerMapRank::_internal_map_id() const { + return _impl_.map_id_; +} +inline uint32_t PlayerRankingInfo_PerMapRank::map_id() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.map_id) + return _internal_map_id(); +} +inline void PlayerRankingInfo_PerMapRank::_internal_set_map_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_id_ = value; +} +inline void PlayerRankingInfo_PerMapRank::set_map_id(uint32_t value) { + _internal_set_map_id(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.map_id) +} + +// optional uint32 rank_id = 2; +inline bool PlayerRankingInfo_PerMapRank::_internal_has_rank_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerRankingInfo_PerMapRank::has_rank_id() const { + return _internal_has_rank_id(); +} +inline void PlayerRankingInfo_PerMapRank::clear_rank_id() { + _impl_.rank_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PlayerRankingInfo_PerMapRank::_internal_rank_id() const { + return _impl_.rank_id_; +} +inline uint32_t PlayerRankingInfo_PerMapRank::rank_id() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.rank_id) + return _internal_rank_id(); +} +inline void PlayerRankingInfo_PerMapRank::_internal_set_rank_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rank_id_ = value; +} +inline void PlayerRankingInfo_PerMapRank::set_rank_id(uint32_t value) { + _internal_set_rank_id(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.rank_id) +} + +// optional uint32 wins = 3; +inline bool PlayerRankingInfo_PerMapRank::_internal_has_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerRankingInfo_PerMapRank::has_wins() const { + return _internal_has_wins(); +} +inline void PlayerRankingInfo_PerMapRank::clear_wins() { + _impl_.wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PlayerRankingInfo_PerMapRank::_internal_wins() const { + return _impl_.wins_; +} +inline uint32_t PlayerRankingInfo_PerMapRank::wins() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.wins) + return _internal_wins(); +} +inline void PlayerRankingInfo_PerMapRank::_internal_set_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.wins_ = value; +} +inline void PlayerRankingInfo_PerMapRank::set_wins(uint32_t value) { + _internal_set_wins(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.wins) +} + +// ------------------------------------------------------------------- + +// PlayerRankingInfo + +// optional uint32 account_id = 1; +inline bool PlayerRankingInfo::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_account_id() const { + return _internal_has_account_id(); +} +inline void PlayerRankingInfo::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PlayerRankingInfo::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t PlayerRankingInfo::account_id() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.account_id) + return _internal_account_id(); +} +inline void PlayerRankingInfo::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void PlayerRankingInfo::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.account_id) +} + +// optional uint32 rank_id = 2; +inline bool PlayerRankingInfo::_internal_has_rank_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_id() const { + return _internal_has_rank_id(); +} +inline void PlayerRankingInfo::clear_rank_id() { + _impl_.rank_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_id() const { + return _impl_.rank_id_; +} +inline uint32_t PlayerRankingInfo::rank_id() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_id) + return _internal_rank_id(); +} +inline void PlayerRankingInfo::_internal_set_rank_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.rank_id_ = value; +} +inline void PlayerRankingInfo::set_rank_id(uint32_t value) { + _internal_set_rank_id(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_id) +} + +// optional uint32 wins = 3; +inline bool PlayerRankingInfo::_internal_has_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_wins() const { + return _internal_has_wins(); +} +inline void PlayerRankingInfo::clear_wins() { + _impl_.wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t PlayerRankingInfo::_internal_wins() const { + return _impl_.wins_; +} +inline uint32_t PlayerRankingInfo::wins() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.wins) + return _internal_wins(); +} +inline void PlayerRankingInfo::_internal_set_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.wins_ = value; +} +inline void PlayerRankingInfo::set_wins(uint32_t value) { + _internal_set_wins(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.wins) +} + +// optional float rank_change = 4; +inline bool PlayerRankingInfo::_internal_has_rank_change() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_change() const { + return _internal_has_rank_change(); +} +inline void PlayerRankingInfo::clear_rank_change() { + _impl_.rank_change_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float PlayerRankingInfo::_internal_rank_change() const { + return _impl_.rank_change_; +} +inline float PlayerRankingInfo::rank_change() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_change) + return _internal_rank_change(); +} +inline void PlayerRankingInfo::_internal_set_rank_change(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rank_change_ = value; +} +inline void PlayerRankingInfo::set_rank_change(float value) { + _internal_set_rank_change(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_change) +} + +// optional uint32 rank_type_id = 6; +inline bool PlayerRankingInfo::_internal_has_rank_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_type_id() const { + return _internal_has_rank_type_id(); +} +inline void PlayerRankingInfo::clear_rank_type_id() { + _impl_.rank_type_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_type_id() const { + return _impl_.rank_type_id_; +} +inline uint32_t PlayerRankingInfo::rank_type_id() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_type_id) + return _internal_rank_type_id(); +} +inline void PlayerRankingInfo::_internal_set_rank_type_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rank_type_id_ = value; +} +inline void PlayerRankingInfo::set_rank_type_id(uint32_t value) { + _internal_set_rank_type_id(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_type_id) +} + +// optional uint32 tv_control = 7; +inline bool PlayerRankingInfo::_internal_has_tv_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_tv_control() const { + return _internal_has_tv_control(); +} +inline void PlayerRankingInfo::clear_tv_control() { + _impl_.tv_control_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t PlayerRankingInfo::_internal_tv_control() const { + return _impl_.tv_control_; +} +inline uint32_t PlayerRankingInfo::tv_control() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.tv_control) + return _internal_tv_control(); +} +inline void PlayerRankingInfo::_internal_set_tv_control(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.tv_control_ = value; +} +inline void PlayerRankingInfo::set_tv_control(uint32_t value) { + _internal_set_tv_control(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.tv_control) +} + +// optional uint64 rank_window_stats = 8; +inline bool PlayerRankingInfo::_internal_has_rank_window_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_window_stats() const { + return _internal_has_rank_window_stats(); +} +inline void PlayerRankingInfo::clear_rank_window_stats() { + _impl_.rank_window_stats_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t PlayerRankingInfo::_internal_rank_window_stats() const { + return _impl_.rank_window_stats_; +} +inline uint64_t PlayerRankingInfo::rank_window_stats() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_window_stats) + return _internal_rank_window_stats(); +} +inline void PlayerRankingInfo::_internal_set_rank_window_stats(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.rank_window_stats_ = value; +} +inline void PlayerRankingInfo::set_rank_window_stats(uint64_t value) { + _internal_set_rank_window_stats(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_window_stats) +} + +// optional string leaderboard_name = 9; +inline bool PlayerRankingInfo::_internal_has_leaderboard_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_leaderboard_name() const { + return _internal_has_leaderboard_name(); +} +inline void PlayerRankingInfo::clear_leaderboard_name() { + _impl_.leaderboard_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PlayerRankingInfo::leaderboard_name() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.leaderboard_name) + return _internal_leaderboard_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerRankingInfo::set_leaderboard_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.leaderboard_name) +} +inline std::string* PlayerRankingInfo::mutable_leaderboard_name() { + std::string* _s = _internal_mutable_leaderboard_name(); + // @@protoc_insertion_point(field_mutable:PlayerRankingInfo.leaderboard_name) + return _s; +} +inline const std::string& PlayerRankingInfo::_internal_leaderboard_name() const { + return _impl_.leaderboard_name_.Get(); +} +inline void PlayerRankingInfo::_internal_set_leaderboard_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerRankingInfo::_internal_mutable_leaderboard_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.leaderboard_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerRankingInfo::release_leaderboard_name() { + // @@protoc_insertion_point(field_release:PlayerRankingInfo.leaderboard_name) + if (!_internal_has_leaderboard_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.leaderboard_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_name_.IsDefault()) { + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PlayerRankingInfo::set_allocated_leaderboard_name(std::string* leaderboard_name) { + if (leaderboard_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.leaderboard_name_.SetAllocated(leaderboard_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_name_.IsDefault()) { + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PlayerRankingInfo.leaderboard_name) +} + +// optional uint32 rank_if_win = 10; +inline bool PlayerRankingInfo::_internal_has_rank_if_win() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_if_win() const { + return _internal_has_rank_if_win(); +} +inline void PlayerRankingInfo::clear_rank_if_win() { + _impl_.rank_if_win_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_if_win() const { + return _impl_.rank_if_win_; +} +inline uint32_t PlayerRankingInfo::rank_if_win() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_win) + return _internal_rank_if_win(); +} +inline void PlayerRankingInfo::_internal_set_rank_if_win(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.rank_if_win_ = value; +} +inline void PlayerRankingInfo::set_rank_if_win(uint32_t value) { + _internal_set_rank_if_win(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_win) +} + +// optional uint32 rank_if_lose = 11; +inline bool PlayerRankingInfo::_internal_has_rank_if_lose() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_if_lose() const { + return _internal_has_rank_if_lose(); +} +inline void PlayerRankingInfo::clear_rank_if_lose() { + _impl_.rank_if_lose_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_if_lose() const { + return _impl_.rank_if_lose_; +} +inline uint32_t PlayerRankingInfo::rank_if_lose() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_lose) + return _internal_rank_if_lose(); +} +inline void PlayerRankingInfo::_internal_set_rank_if_lose(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.rank_if_lose_ = value; +} +inline void PlayerRankingInfo::set_rank_if_lose(uint32_t value) { + _internal_set_rank_if_lose(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_lose) +} + +// optional uint32 rank_if_tie = 12; +inline bool PlayerRankingInfo::_internal_has_rank_if_tie() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_if_tie() const { + return _internal_has_rank_if_tie(); +} +inline void PlayerRankingInfo::clear_rank_if_tie() { + _impl_.rank_if_tie_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_if_tie() const { + return _impl_.rank_if_tie_; +} +inline uint32_t PlayerRankingInfo::rank_if_tie() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_tie) + return _internal_rank_if_tie(); +} +inline void PlayerRankingInfo::_internal_set_rank_if_tie(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.rank_if_tie_ = value; +} +inline void PlayerRankingInfo::set_rank_if_tie(uint32_t value) { + _internal_set_rank_if_tie(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_tie) +} + +// repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; +inline int PlayerRankingInfo::_internal_per_map_rank_size() const { + return _impl_.per_map_rank_.size(); +} +inline int PlayerRankingInfo::per_map_rank_size() const { + return _internal_per_map_rank_size(); +} +inline void PlayerRankingInfo::clear_per_map_rank() { + _impl_.per_map_rank_.Clear(); +} +inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::mutable_per_map_rank(int index) { + // @@protoc_insertion_point(field_mutable:PlayerRankingInfo.per_map_rank) + return _impl_.per_map_rank_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >* +PlayerRankingInfo::mutable_per_map_rank() { + // @@protoc_insertion_point(field_mutable_list:PlayerRankingInfo.per_map_rank) + return &_impl_.per_map_rank_; +} +inline const ::PlayerRankingInfo_PerMapRank& PlayerRankingInfo::_internal_per_map_rank(int index) const { + return _impl_.per_map_rank_.Get(index); +} +inline const ::PlayerRankingInfo_PerMapRank& PlayerRankingInfo::per_map_rank(int index) const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.per_map_rank) + return _internal_per_map_rank(index); +} +inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::_internal_add_per_map_rank() { + return _impl_.per_map_rank_.Add(); +} +inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::add_per_map_rank() { + ::PlayerRankingInfo_PerMapRank* _add = _internal_add_per_map_rank(); + // @@protoc_insertion_point(field_add:PlayerRankingInfo.per_map_rank) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >& +PlayerRankingInfo::per_map_rank() const { + // @@protoc_insertion_point(field_list:PlayerRankingInfo.per_map_rank) + return _impl_.per_map_rank_; +} + +// optional uint32 leaderboard_name_status = 14; +inline bool PlayerRankingInfo::_internal_has_leaderboard_name_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_leaderboard_name_status() const { + return _internal_has_leaderboard_name_status(); +} +inline void PlayerRankingInfo::clear_leaderboard_name_status() { + _impl_.leaderboard_name_status_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t PlayerRankingInfo::_internal_leaderboard_name_status() const { + return _impl_.leaderboard_name_status_; +} +inline uint32_t PlayerRankingInfo::leaderboard_name_status() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.leaderboard_name_status) + return _internal_leaderboard_name_status(); +} +inline void PlayerRankingInfo::_internal_set_leaderboard_name_status(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.leaderboard_name_status_ = value; +} +inline void PlayerRankingInfo::set_leaderboard_name_status(uint32_t value) { + _internal_set_leaderboard_name_status(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.leaderboard_name_status) +} + +// optional uint32 highest_rank = 15; +inline bool PlayerRankingInfo::_internal_has_highest_rank() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_highest_rank() const { + return _internal_has_highest_rank(); +} +inline void PlayerRankingInfo::clear_highest_rank() { + _impl_.highest_rank_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t PlayerRankingInfo::_internal_highest_rank() const { + return _impl_.highest_rank_; +} +inline uint32_t PlayerRankingInfo::highest_rank() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.highest_rank) + return _internal_highest_rank(); +} +inline void PlayerRankingInfo::_internal_set_highest_rank(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.highest_rank_ = value; +} +inline void PlayerRankingInfo::set_highest_rank(uint32_t value) { + _internal_set_highest_rank(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.highest_rank) +} + +// optional uint32 rank_expiry = 16; +inline bool PlayerRankingInfo::_internal_has_rank_expiry() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool PlayerRankingInfo::has_rank_expiry() const { + return _internal_has_rank_expiry(); +} +inline void PlayerRankingInfo::clear_rank_expiry() { + _impl_.rank_expiry_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t PlayerRankingInfo::_internal_rank_expiry() const { + return _impl_.rank_expiry_; +} +inline uint32_t PlayerRankingInfo::rank_expiry() const { + // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_expiry) + return _internal_rank_expiry(); +} +inline void PlayerRankingInfo::_internal_set_rank_expiry(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.rank_expiry_ = value; +} +inline void PlayerRankingInfo::set_rank_expiry(uint32_t value) { + _internal_set_rank_expiry(value); + // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_expiry) +} + +// ------------------------------------------------------------------- + +// PlayerCommendationInfo + +// optional uint32 cmd_friendly = 1; +inline bool PlayerCommendationInfo::_internal_has_cmd_friendly() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerCommendationInfo::has_cmd_friendly() const { + return _internal_has_cmd_friendly(); +} +inline void PlayerCommendationInfo::clear_cmd_friendly() { + _impl_.cmd_friendly_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t PlayerCommendationInfo::_internal_cmd_friendly() const { + return _impl_.cmd_friendly_; +} +inline uint32_t PlayerCommendationInfo::cmd_friendly() const { + // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_friendly) + return _internal_cmd_friendly(); +} +inline void PlayerCommendationInfo::_internal_set_cmd_friendly(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cmd_friendly_ = value; +} +inline void PlayerCommendationInfo::set_cmd_friendly(uint32_t value) { + _internal_set_cmd_friendly(value); + // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_friendly) +} + +// optional uint32 cmd_teaching = 2; +inline bool PlayerCommendationInfo::_internal_has_cmd_teaching() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerCommendationInfo::has_cmd_teaching() const { + return _internal_has_cmd_teaching(); +} +inline void PlayerCommendationInfo::clear_cmd_teaching() { + _impl_.cmd_teaching_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PlayerCommendationInfo::_internal_cmd_teaching() const { + return _impl_.cmd_teaching_; +} +inline uint32_t PlayerCommendationInfo::cmd_teaching() const { + // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_teaching) + return _internal_cmd_teaching(); +} +inline void PlayerCommendationInfo::_internal_set_cmd_teaching(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cmd_teaching_ = value; +} +inline void PlayerCommendationInfo::set_cmd_teaching(uint32_t value) { + _internal_set_cmd_teaching(value); + // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_teaching) +} + +// optional uint32 cmd_leader = 4; +inline bool PlayerCommendationInfo::_internal_has_cmd_leader() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerCommendationInfo::has_cmd_leader() const { + return _internal_has_cmd_leader(); +} +inline void PlayerCommendationInfo::clear_cmd_leader() { + _impl_.cmd_leader_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PlayerCommendationInfo::_internal_cmd_leader() const { + return _impl_.cmd_leader_; +} +inline uint32_t PlayerCommendationInfo::cmd_leader() const { + // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_leader) + return _internal_cmd_leader(); +} +inline void PlayerCommendationInfo::_internal_set_cmd_leader(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.cmd_leader_ = value; +} +inline void PlayerCommendationInfo::set_cmd_leader(uint32_t value) { + _internal_set_cmd_leader(value); + // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_leader) +} + +// ------------------------------------------------------------------- + +// PlayerMedalsInfo + +// repeated uint32 display_items_defidx = 7; +inline int PlayerMedalsInfo::_internal_display_items_defidx_size() const { + return _impl_.display_items_defidx_.size(); +} +inline int PlayerMedalsInfo::display_items_defidx_size() const { + return _internal_display_items_defidx_size(); +} +inline void PlayerMedalsInfo::clear_display_items_defidx() { + _impl_.display_items_defidx_.Clear(); +} +inline uint32_t PlayerMedalsInfo::_internal_display_items_defidx(int index) const { + return _impl_.display_items_defidx_.Get(index); +} +inline uint32_t PlayerMedalsInfo::display_items_defidx(int index) const { + // @@protoc_insertion_point(field_get:PlayerMedalsInfo.display_items_defidx) + return _internal_display_items_defidx(index); +} +inline void PlayerMedalsInfo::set_display_items_defidx(int index, uint32_t value) { + _impl_.display_items_defidx_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerMedalsInfo.display_items_defidx) +} +inline void PlayerMedalsInfo::_internal_add_display_items_defidx(uint32_t value) { + _impl_.display_items_defidx_.Add(value); +} +inline void PlayerMedalsInfo::add_display_items_defidx(uint32_t value) { + _internal_add_display_items_defidx(value); + // @@protoc_insertion_point(field_add:PlayerMedalsInfo.display_items_defidx) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +PlayerMedalsInfo::_internal_display_items_defidx() const { + return _impl_.display_items_defidx_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +PlayerMedalsInfo::display_items_defidx() const { + // @@protoc_insertion_point(field_list:PlayerMedalsInfo.display_items_defidx) + return _internal_display_items_defidx(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +PlayerMedalsInfo::_internal_mutable_display_items_defidx() { + return &_impl_.display_items_defidx_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +PlayerMedalsInfo::mutable_display_items_defidx() { + // @@protoc_insertion_point(field_mutable_list:PlayerMedalsInfo.display_items_defidx) + return _internal_mutable_display_items_defidx(); +} + +// optional uint32 featured_display_item_defidx = 8; +inline bool PlayerMedalsInfo::_internal_has_featured_display_item_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerMedalsInfo::has_featured_display_item_defidx() const { + return _internal_has_featured_display_item_defidx(); +} +inline void PlayerMedalsInfo::clear_featured_display_item_defidx() { + _impl_.featured_display_item_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t PlayerMedalsInfo::_internal_featured_display_item_defidx() const { + return _impl_.featured_display_item_defidx_; +} +inline uint32_t PlayerMedalsInfo::featured_display_item_defidx() const { + // @@protoc_insertion_point(field_get:PlayerMedalsInfo.featured_display_item_defidx) + return _internal_featured_display_item_defidx(); +} +inline void PlayerMedalsInfo::_internal_set_featured_display_item_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.featured_display_item_defidx_ = value; +} +inline void PlayerMedalsInfo::set_featured_display_item_defidx(uint32_t value) { + _internal_set_featured_display_item_defidx(value); + // @@protoc_insertion_point(field_set:PlayerMedalsInfo.featured_display_item_defidx) +} + +// ------------------------------------------------------------------- + +// AccountActivity + +// optional uint32 activity = 1; +inline bool AccountActivity::_internal_has_activity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool AccountActivity::has_activity() const { + return _internal_has_activity(); +} +inline void AccountActivity::clear_activity() { + _impl_.activity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t AccountActivity::_internal_activity() const { + return _impl_.activity_; +} +inline uint32_t AccountActivity::activity() const { + // @@protoc_insertion_point(field_get:AccountActivity.activity) + return _internal_activity(); +} +inline void AccountActivity::_internal_set_activity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.activity_ = value; +} +inline void AccountActivity::set_activity(uint32_t value) { + _internal_set_activity(value); + // @@protoc_insertion_point(field_set:AccountActivity.activity) +} + +// optional uint32 mode = 2; +inline bool AccountActivity::_internal_has_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool AccountActivity::has_mode() const { + return _internal_has_mode(); +} +inline void AccountActivity::clear_mode() { + _impl_.mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t AccountActivity::_internal_mode() const { + return _impl_.mode_; +} +inline uint32_t AccountActivity::mode() const { + // @@protoc_insertion_point(field_get:AccountActivity.mode) + return _internal_mode(); +} +inline void AccountActivity::_internal_set_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.mode_ = value; +} +inline void AccountActivity::set_mode(uint32_t value) { + _internal_set_mode(value); + // @@protoc_insertion_point(field_set:AccountActivity.mode) +} + +// optional uint32 map = 3; +inline bool AccountActivity::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool AccountActivity::has_map() const { + return _internal_has_map(); +} +inline void AccountActivity::clear_map() { + _impl_.map_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t AccountActivity::_internal_map() const { + return _impl_.map_; +} +inline uint32_t AccountActivity::map() const { + // @@protoc_insertion_point(field_get:AccountActivity.map) + return _internal_map(); +} +inline void AccountActivity::_internal_set_map(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.map_ = value; +} +inline void AccountActivity::set_map(uint32_t value) { + _internal_set_map(value); + // @@protoc_insertion_point(field_set:AccountActivity.map) +} + +// optional uint64 matchid = 4; +inline bool AccountActivity::_internal_has_matchid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool AccountActivity::has_matchid() const { + return _internal_has_matchid(); +} +inline void AccountActivity::clear_matchid() { + _impl_.matchid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t AccountActivity::_internal_matchid() const { + return _impl_.matchid_; +} +inline uint64_t AccountActivity::matchid() const { + // @@protoc_insertion_point(field_get:AccountActivity.matchid) + return _internal_matchid(); +} +inline void AccountActivity::_internal_set_matchid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.matchid_ = value; +} +inline void AccountActivity::set_matchid(uint64_t value) { + _internal_set_matchid(value); + // @@protoc_insertion_point(field_set:AccountActivity.matchid) +} + +// ------------------------------------------------------------------- + +// TournamentMatchSetup + +// optional int32 event_id = 1; +inline bool TournamentMatchSetup::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool TournamentMatchSetup::has_event_id() const { + return _internal_has_event_id(); +} +inline void TournamentMatchSetup::clear_event_id() { + _impl_.event_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t TournamentMatchSetup::_internal_event_id() const { + return _impl_.event_id_; +} +inline int32_t TournamentMatchSetup::event_id() const { + // @@protoc_insertion_point(field_get:TournamentMatchSetup.event_id) + return _internal_event_id(); +} +inline void TournamentMatchSetup::_internal_set_event_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_id_ = value; +} +inline void TournamentMatchSetup::set_event_id(int32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:TournamentMatchSetup.event_id) +} + +// optional int32 team_id_ct = 2; +inline bool TournamentMatchSetup::_internal_has_team_id_ct() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool TournamentMatchSetup::has_team_id_ct() const { + return _internal_has_team_id_ct(); +} +inline void TournamentMatchSetup::clear_team_id_ct() { + _impl_.team_id_ct_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t TournamentMatchSetup::_internal_team_id_ct() const { + return _impl_.team_id_ct_; +} +inline int32_t TournamentMatchSetup::team_id_ct() const { + // @@protoc_insertion_point(field_get:TournamentMatchSetup.team_id_ct) + return _internal_team_id_ct(); +} +inline void TournamentMatchSetup::_internal_set_team_id_ct(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_id_ct_ = value; +} +inline void TournamentMatchSetup::set_team_id_ct(int32_t value) { + _internal_set_team_id_ct(value); + // @@protoc_insertion_point(field_set:TournamentMatchSetup.team_id_ct) +} + +// optional int32 team_id_t = 3; +inline bool TournamentMatchSetup::_internal_has_team_id_t() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool TournamentMatchSetup::has_team_id_t() const { + return _internal_has_team_id_t(); +} +inline void TournamentMatchSetup::clear_team_id_t() { + _impl_.team_id_t_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t TournamentMatchSetup::_internal_team_id_t() const { + return _impl_.team_id_t_; +} +inline int32_t TournamentMatchSetup::team_id_t() const { + // @@protoc_insertion_point(field_get:TournamentMatchSetup.team_id_t) + return _internal_team_id_t(); +} +inline void TournamentMatchSetup::_internal_set_team_id_t(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_id_t_ = value; +} +inline void TournamentMatchSetup::set_team_id_t(int32_t value) { + _internal_set_team_id_t(value); + // @@protoc_insertion_point(field_set:TournamentMatchSetup.team_id_t) +} + +// optional int32 event_stage_id = 4; +inline bool TournamentMatchSetup::_internal_has_event_stage_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool TournamentMatchSetup::has_event_stage_id() const { + return _internal_has_event_stage_id(); +} +inline void TournamentMatchSetup::clear_event_stage_id() { + _impl_.event_stage_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t TournamentMatchSetup::_internal_event_stage_id() const { + return _impl_.event_stage_id_; +} +inline int32_t TournamentMatchSetup::event_stage_id() const { + // @@protoc_insertion_point(field_get:TournamentMatchSetup.event_stage_id) + return _internal_event_stage_id(); +} +inline void TournamentMatchSetup::_internal_set_event_stage_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.event_stage_id_ = value; +} +inline void TournamentMatchSetup::set_event_stage_id(int32_t value) { + _internal_set_event_stage_id(value); + // @@protoc_insertion_point(field_set:TournamentMatchSetup.event_stage_id) +} + +// ------------------------------------------------------------------- + +// ServerHltvInfo + +// optional uint32 tv_udp_port = 1; +inline bool ServerHltvInfo::_internal_has_tv_udp_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_udp_port() const { + return _internal_has_tv_udp_port(); +} +inline void ServerHltvInfo::clear_tv_udp_port() { + _impl_.tv_udp_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t ServerHltvInfo::_internal_tv_udp_port() const { + return _impl_.tv_udp_port_; +} +inline uint32_t ServerHltvInfo::tv_udp_port() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_udp_port) + return _internal_tv_udp_port(); +} +inline void ServerHltvInfo::_internal_set_tv_udp_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.tv_udp_port_ = value; +} +inline void ServerHltvInfo::set_tv_udp_port(uint32_t value) { + _internal_set_tv_udp_port(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_udp_port) +} + +// optional uint64 tv_watch_key = 2; +inline bool ServerHltvInfo::_internal_has_tv_watch_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_watch_key() const { + return _internal_has_tv_watch_key(); +} +inline void ServerHltvInfo::clear_tv_watch_key() { + _impl_.tv_watch_key_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t ServerHltvInfo::_internal_tv_watch_key() const { + return _impl_.tv_watch_key_; +} +inline uint64_t ServerHltvInfo::tv_watch_key() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_watch_key) + return _internal_tv_watch_key(); +} +inline void ServerHltvInfo::_internal_set_tv_watch_key(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.tv_watch_key_ = value; +} +inline void ServerHltvInfo::set_tv_watch_key(uint64_t value) { + _internal_set_tv_watch_key(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_watch_key) +} + +// optional uint32 tv_slots = 3; +inline bool ServerHltvInfo::_internal_has_tv_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_slots() const { + return _internal_has_tv_slots(); +} +inline void ServerHltvInfo::clear_tv_slots() { + _impl_.tv_slots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t ServerHltvInfo::_internal_tv_slots() const { + return _impl_.tv_slots_; +} +inline uint32_t ServerHltvInfo::tv_slots() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_slots) + return _internal_tv_slots(); +} +inline void ServerHltvInfo::_internal_set_tv_slots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.tv_slots_ = value; +} +inline void ServerHltvInfo::set_tv_slots(uint32_t value) { + _internal_set_tv_slots(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_slots) +} + +// optional uint32 tv_clients = 4; +inline bool ServerHltvInfo::_internal_has_tv_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_clients() const { + return _internal_has_tv_clients(); +} +inline void ServerHltvInfo::clear_tv_clients() { + _impl_.tv_clients_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t ServerHltvInfo::_internal_tv_clients() const { + return _impl_.tv_clients_; +} +inline uint32_t ServerHltvInfo::tv_clients() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_clients) + return _internal_tv_clients(); +} +inline void ServerHltvInfo::_internal_set_tv_clients(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tv_clients_ = value; +} +inline void ServerHltvInfo::set_tv_clients(uint32_t value) { + _internal_set_tv_clients(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_clients) +} + +// optional uint32 tv_proxies = 5; +inline bool ServerHltvInfo::_internal_has_tv_proxies() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_proxies() const { + return _internal_has_tv_proxies(); +} +inline void ServerHltvInfo::clear_tv_proxies() { + _impl_.tv_proxies_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t ServerHltvInfo::_internal_tv_proxies() const { + return _impl_.tv_proxies_; +} +inline uint32_t ServerHltvInfo::tv_proxies() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_proxies) + return _internal_tv_proxies(); +} +inline void ServerHltvInfo::_internal_set_tv_proxies(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.tv_proxies_ = value; +} +inline void ServerHltvInfo::set_tv_proxies(uint32_t value) { + _internal_set_tv_proxies(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_proxies) +} + +// optional uint32 tv_time = 6; +inline bool ServerHltvInfo::_internal_has_tv_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_time() const { + return _internal_has_tv_time(); +} +inline void ServerHltvInfo::clear_tv_time() { + _impl_.tv_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t ServerHltvInfo::_internal_tv_time() const { + return _impl_.tv_time_; +} +inline uint32_t ServerHltvInfo::tv_time() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_time) + return _internal_tv_time(); +} +inline void ServerHltvInfo::_internal_set_tv_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.tv_time_ = value; +} +inline void ServerHltvInfo::set_tv_time(uint32_t value) { + _internal_set_tv_time(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_time) +} + +// optional uint32 game_type = 8; +inline bool ServerHltvInfo::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool ServerHltvInfo::has_game_type() const { + return _internal_has_game_type(); +} +inline void ServerHltvInfo::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t ServerHltvInfo::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t ServerHltvInfo::game_type() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.game_type) + return _internal_game_type(); +} +inline void ServerHltvInfo::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.game_type_ = value; +} +inline void ServerHltvInfo::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.game_type) +} + +// optional string game_mapgroup = 9; +inline bool ServerHltvInfo::_internal_has_game_mapgroup() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ServerHltvInfo::has_game_mapgroup() const { + return _internal_has_game_mapgroup(); +} +inline void ServerHltvInfo::clear_game_mapgroup() { + _impl_.game_mapgroup_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& ServerHltvInfo::game_mapgroup() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.game_mapgroup) + return _internal_game_mapgroup(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ServerHltvInfo::set_game_mapgroup(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mapgroup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:ServerHltvInfo.game_mapgroup) +} +inline std::string* ServerHltvInfo::mutable_game_mapgroup() { + std::string* _s = _internal_mutable_game_mapgroup(); + // @@protoc_insertion_point(field_mutable:ServerHltvInfo.game_mapgroup) + return _s; +} +inline const std::string& ServerHltvInfo::_internal_game_mapgroup() const { + return _impl_.game_mapgroup_.Get(); +} +inline void ServerHltvInfo::_internal_set_game_mapgroup(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mapgroup_.Set(value, GetArenaForAllocation()); +} +inline std::string* ServerHltvInfo::_internal_mutable_game_mapgroup() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_mapgroup_.Mutable(GetArenaForAllocation()); +} +inline std::string* ServerHltvInfo::release_game_mapgroup() { + // @@protoc_insertion_point(field_release:ServerHltvInfo.game_mapgroup) + if (!_internal_has_game_mapgroup()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_mapgroup_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mapgroup_.IsDefault()) { + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ServerHltvInfo::set_allocated_game_mapgroup(std::string* game_mapgroup) { + if (game_mapgroup != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_mapgroup_.SetAllocated(game_mapgroup, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mapgroup_.IsDefault()) { + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ServerHltvInfo.game_mapgroup) +} + +// optional string game_map = 10; +inline bool ServerHltvInfo::_internal_has_game_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ServerHltvInfo::has_game_map() const { + return _internal_has_game_map(); +} +inline void ServerHltvInfo::clear_game_map() { + _impl_.game_map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& ServerHltvInfo::game_map() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.game_map) + return _internal_game_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ServerHltvInfo::set_game_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:ServerHltvInfo.game_map) +} +inline std::string* ServerHltvInfo::mutable_game_map() { + std::string* _s = _internal_mutable_game_map(); + // @@protoc_insertion_point(field_mutable:ServerHltvInfo.game_map) + return _s; +} +inline const std::string& ServerHltvInfo::_internal_game_map() const { + return _impl_.game_map_.Get(); +} +inline void ServerHltvInfo::_internal_set_game_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_map_.Set(value, GetArenaForAllocation()); +} +inline std::string* ServerHltvInfo::_internal_mutable_game_map() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.game_map_.Mutable(GetArenaForAllocation()); +} +inline std::string* ServerHltvInfo::release_game_map() { + // @@protoc_insertion_point(field_release:ServerHltvInfo.game_map) + if (!_internal_has_game_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.game_map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_map_.IsDefault()) { + _impl_.game_map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ServerHltvInfo::set_allocated_game_map(std::string* game_map) { + if (game_map != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.game_map_.SetAllocated(game_map, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_map_.IsDefault()) { + _impl_.game_map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ServerHltvInfo.game_map) +} + +// optional uint64 tv_master_steamid = 11; +inline bool ServerHltvInfo::_internal_has_tv_master_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_master_steamid() const { + return _internal_has_tv_master_steamid(); +} +inline void ServerHltvInfo::clear_tv_master_steamid() { + _impl_.tv_master_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t ServerHltvInfo::_internal_tv_master_steamid() const { + return _impl_.tv_master_steamid_; +} +inline uint64_t ServerHltvInfo::tv_master_steamid() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_master_steamid) + return _internal_tv_master_steamid(); +} +inline void ServerHltvInfo::_internal_set_tv_master_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.tv_master_steamid_ = value; +} +inline void ServerHltvInfo::set_tv_master_steamid(uint64_t value) { + _internal_set_tv_master_steamid(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_master_steamid) +} + +// optional uint32 tv_local_slots = 12; +inline bool ServerHltvInfo::_internal_has_tv_local_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_local_slots() const { + return _internal_has_tv_local_slots(); +} +inline void ServerHltvInfo::clear_tv_local_slots() { + _impl_.tv_local_slots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t ServerHltvInfo::_internal_tv_local_slots() const { + return _impl_.tv_local_slots_; +} +inline uint32_t ServerHltvInfo::tv_local_slots() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_slots) + return _internal_tv_local_slots(); +} +inline void ServerHltvInfo::_internal_set_tv_local_slots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.tv_local_slots_ = value; +} +inline void ServerHltvInfo::set_tv_local_slots(uint32_t value) { + _internal_set_tv_local_slots(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_slots) +} + +// optional uint32 tv_local_clients = 13; +inline bool ServerHltvInfo::_internal_has_tv_local_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_local_clients() const { + return _internal_has_tv_local_clients(); +} +inline void ServerHltvInfo::clear_tv_local_clients() { + _impl_.tv_local_clients_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t ServerHltvInfo::_internal_tv_local_clients() const { + return _impl_.tv_local_clients_; +} +inline uint32_t ServerHltvInfo::tv_local_clients() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_clients) + return _internal_tv_local_clients(); +} +inline void ServerHltvInfo::_internal_set_tv_local_clients(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.tv_local_clients_ = value; +} +inline void ServerHltvInfo::set_tv_local_clients(uint32_t value) { + _internal_set_tv_local_clients(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_clients) +} + +// optional uint32 tv_local_proxies = 14; +inline bool ServerHltvInfo::_internal_has_tv_local_proxies() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_local_proxies() const { + return _internal_has_tv_local_proxies(); +} +inline void ServerHltvInfo::clear_tv_local_proxies() { + _impl_.tv_local_proxies_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_local_proxies() const { + return _impl_.tv_local_proxies_; +} +inline uint32_t ServerHltvInfo::tv_local_proxies() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_proxies) + return _internal_tv_local_proxies(); +} +inline void ServerHltvInfo::_internal_set_tv_local_proxies(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.tv_local_proxies_ = value; +} +inline void ServerHltvInfo::set_tv_local_proxies(uint32_t value) { + _internal_set_tv_local_proxies(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_proxies) +} + +// optional uint32 tv_relay_slots = 15; +inline bool ServerHltvInfo::_internal_has_tv_relay_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_slots() const { + return _internal_has_tv_relay_slots(); +} +inline void ServerHltvInfo::clear_tv_relay_slots() { + _impl_.tv_relay_slots_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_relay_slots() const { + return _impl_.tv_relay_slots_; +} +inline uint32_t ServerHltvInfo::tv_relay_slots() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_slots) + return _internal_tv_relay_slots(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_slots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.tv_relay_slots_ = value; +} +inline void ServerHltvInfo::set_tv_relay_slots(uint32_t value) { + _internal_set_tv_relay_slots(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_slots) +} + +// optional uint32 tv_relay_clients = 16; +inline bool ServerHltvInfo::_internal_has_tv_relay_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_clients() const { + return _internal_has_tv_relay_clients(); +} +inline void ServerHltvInfo::clear_tv_relay_clients() { + _impl_.tv_relay_clients_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_relay_clients() const { + return _impl_.tv_relay_clients_; +} +inline uint32_t ServerHltvInfo::tv_relay_clients() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_clients) + return _internal_tv_relay_clients(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_clients(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.tv_relay_clients_ = value; +} +inline void ServerHltvInfo::set_tv_relay_clients(uint32_t value) { + _internal_set_tv_relay_clients(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_clients) +} + +// optional uint32 tv_relay_proxies = 17; +inline bool ServerHltvInfo::_internal_has_tv_relay_proxies() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_proxies() const { + return _internal_has_tv_relay_proxies(); +} +inline void ServerHltvInfo::clear_tv_relay_proxies() { + _impl_.tv_relay_proxies_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_relay_proxies() const { + return _impl_.tv_relay_proxies_; +} +inline uint32_t ServerHltvInfo::tv_relay_proxies() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_proxies) + return _internal_tv_relay_proxies(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_proxies(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.tv_relay_proxies_ = value; +} +inline void ServerHltvInfo::set_tv_relay_proxies(uint32_t value) { + _internal_set_tv_relay_proxies(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_proxies) +} + +// optional uint32 tv_relay_address = 18; +inline bool ServerHltvInfo::_internal_has_tv_relay_address() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_address() const { + return _internal_has_tv_relay_address(); +} +inline void ServerHltvInfo::clear_tv_relay_address() { + _impl_.tv_relay_address_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_relay_address() const { + return _impl_.tv_relay_address_; +} +inline uint32_t ServerHltvInfo::tv_relay_address() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_address) + return _internal_tv_relay_address(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_address(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.tv_relay_address_ = value; +} +inline void ServerHltvInfo::set_tv_relay_address(uint32_t value) { + _internal_set_tv_relay_address(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_address) +} + +// optional uint32 tv_relay_port = 19; +inline bool ServerHltvInfo::_internal_has_tv_relay_port() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_port() const { + return _internal_has_tv_relay_port(); +} +inline void ServerHltvInfo::clear_tv_relay_port() { + _impl_.tv_relay_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t ServerHltvInfo::_internal_tv_relay_port() const { + return _impl_.tv_relay_port_; +} +inline uint32_t ServerHltvInfo::tv_relay_port() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_port) + return _internal_tv_relay_port(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.tv_relay_port_ = value; +} +inline void ServerHltvInfo::set_tv_relay_port(uint32_t value) { + _internal_set_tv_relay_port(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_port) +} + +// optional uint64 tv_relay_steamid = 20; +inline bool ServerHltvInfo::_internal_has_tv_relay_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_tv_relay_steamid() const { + return _internal_has_tv_relay_steamid(); +} +inline void ServerHltvInfo::clear_tv_relay_steamid() { + _impl_.tv_relay_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint64_t ServerHltvInfo::_internal_tv_relay_steamid() const { + return _impl_.tv_relay_steamid_; +} +inline uint64_t ServerHltvInfo::tv_relay_steamid() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_steamid) + return _internal_tv_relay_steamid(); +} +inline void ServerHltvInfo::_internal_set_tv_relay_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.tv_relay_steamid_ = value; +} +inline void ServerHltvInfo::set_tv_relay_steamid(uint64_t value) { + _internal_set_tv_relay_steamid(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_steamid) +} + +// optional uint32 flags = 21; +inline bool ServerHltvInfo::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool ServerHltvInfo::has_flags() const { + return _internal_has_flags(); +} +inline void ServerHltvInfo::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t ServerHltvInfo::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t ServerHltvInfo::flags() const { + // @@protoc_insertion_point(field_get:ServerHltvInfo.flags) + return _internal_flags(); +} +inline void ServerHltvInfo::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.flags_ = value; +} +inline void ServerHltvInfo::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:ServerHltvInfo.flags) +} + +// ------------------------------------------------------------------- + +// IpAddressMask + +// optional uint32 a = 1; +inline bool IpAddressMask::_internal_has_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool IpAddressMask::has_a() const { + return _internal_has_a(); +} +inline void IpAddressMask::clear_a() { + _impl_.a_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t IpAddressMask::_internal_a() const { + return _impl_.a_; +} +inline uint32_t IpAddressMask::a() const { + // @@protoc_insertion_point(field_get:IpAddressMask.a) + return _internal_a(); +} +inline void IpAddressMask::_internal_set_a(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.a_ = value; +} +inline void IpAddressMask::set_a(uint32_t value) { + _internal_set_a(value); + // @@protoc_insertion_point(field_set:IpAddressMask.a) +} + +// optional uint32 b = 2; +inline bool IpAddressMask::_internal_has_b() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool IpAddressMask::has_b() const { + return _internal_has_b(); +} +inline void IpAddressMask::clear_b() { + _impl_.b_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t IpAddressMask::_internal_b() const { + return _impl_.b_; +} +inline uint32_t IpAddressMask::b() const { + // @@protoc_insertion_point(field_get:IpAddressMask.b) + return _internal_b(); +} +inline void IpAddressMask::_internal_set_b(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.b_ = value; +} +inline void IpAddressMask::set_b(uint32_t value) { + _internal_set_b(value); + // @@protoc_insertion_point(field_set:IpAddressMask.b) +} + +// optional uint32 c = 3; +inline bool IpAddressMask::_internal_has_c() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool IpAddressMask::has_c() const { + return _internal_has_c(); +} +inline void IpAddressMask::clear_c() { + _impl_.c_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t IpAddressMask::_internal_c() const { + return _impl_.c_; +} +inline uint32_t IpAddressMask::c() const { + // @@protoc_insertion_point(field_get:IpAddressMask.c) + return _internal_c(); +} +inline void IpAddressMask::_internal_set_c(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.c_ = value; +} +inline void IpAddressMask::set_c(uint32_t value) { + _internal_set_c(value); + // @@protoc_insertion_point(field_set:IpAddressMask.c) +} + +// optional uint32 d = 4; +inline bool IpAddressMask::_internal_has_d() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool IpAddressMask::has_d() const { + return _internal_has_d(); +} +inline void IpAddressMask::clear_d() { + _impl_.d_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t IpAddressMask::_internal_d() const { + return _impl_.d_; +} +inline uint32_t IpAddressMask::d() const { + // @@protoc_insertion_point(field_get:IpAddressMask.d) + return _internal_d(); +} +inline void IpAddressMask::_internal_set_d(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.d_ = value; +} +inline void IpAddressMask::set_d(uint32_t value) { + _internal_set_d(value); + // @@protoc_insertion_point(field_set:IpAddressMask.d) +} + +// optional uint32 bits = 5; +inline bool IpAddressMask::_internal_has_bits() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool IpAddressMask::has_bits() const { + return _internal_has_bits(); +} +inline void IpAddressMask::clear_bits() { + _impl_.bits_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t IpAddressMask::_internal_bits() const { + return _impl_.bits_; +} +inline uint32_t IpAddressMask::bits() const { + // @@protoc_insertion_point(field_get:IpAddressMask.bits) + return _internal_bits(); +} +inline void IpAddressMask::_internal_set_bits(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.bits_ = value; +} +inline void IpAddressMask::set_bits(uint32_t value) { + _internal_set_bits(value); + // @@protoc_insertion_point(field_set:IpAddressMask.bits) +} + +// optional uint32 token = 6; +inline bool IpAddressMask::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool IpAddressMask::has_token() const { + return _internal_has_token(); +} +inline void IpAddressMask::clear_token() { + _impl_.token_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t IpAddressMask::_internal_token() const { + return _impl_.token_; +} +inline uint32_t IpAddressMask::token() const { + // @@protoc_insertion_point(field_get:IpAddressMask.token) + return _internal_token(); +} +inline void IpAddressMask::_internal_set_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.token_ = value; +} +inline void IpAddressMask::set_token(uint32_t value) { + _internal_set_token(value); + // @@protoc_insertion_point(field_set:IpAddressMask.token) +} + +// ------------------------------------------------------------------- + +// CMsgCsgoSteamUserStatChange + +// optional int32 ecsgosteamuserstat = 1; +inline bool CMsgCsgoSteamUserStatChange::_internal_has_ecsgosteamuserstat() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgCsgoSteamUserStatChange::has_ecsgosteamuserstat() const { + return _internal_has_ecsgosteamuserstat(); +} +inline void CMsgCsgoSteamUserStatChange::clear_ecsgosteamuserstat() { + _impl_.ecsgosteamuserstat_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgCsgoSteamUserStatChange::_internal_ecsgosteamuserstat() const { + return _impl_.ecsgosteamuserstat_; +} +inline int32_t CMsgCsgoSteamUserStatChange::ecsgosteamuserstat() const { + // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.ecsgosteamuserstat) + return _internal_ecsgosteamuserstat(); +} +inline void CMsgCsgoSteamUserStatChange::_internal_set_ecsgosteamuserstat(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ecsgosteamuserstat_ = value; +} +inline void CMsgCsgoSteamUserStatChange::set_ecsgosteamuserstat(int32_t value) { + _internal_set_ecsgosteamuserstat(value); + // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.ecsgosteamuserstat) +} + +// optional int32 delta = 2; +inline bool CMsgCsgoSteamUserStatChange::_internal_has_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgCsgoSteamUserStatChange::has_delta() const { + return _internal_has_delta(); +} +inline void CMsgCsgoSteamUserStatChange::clear_delta() { + _impl_.delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgCsgoSteamUserStatChange::_internal_delta() const { + return _impl_.delta_; +} +inline int32_t CMsgCsgoSteamUserStatChange::delta() const { + // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.delta) + return _internal_delta(); +} +inline void CMsgCsgoSteamUserStatChange::_internal_set_delta(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.delta_ = value; +} +inline void CMsgCsgoSteamUserStatChange::set_delta(int32_t value) { + _internal_set_delta(value); + // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.delta) +} + +// optional bool absolute = 3; +inline bool CMsgCsgoSteamUserStatChange::_internal_has_absolute() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgCsgoSteamUserStatChange::has_absolute() const { + return _internal_has_absolute(); +} +inline void CMsgCsgoSteamUserStatChange::clear_absolute() { + _impl_.absolute_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgCsgoSteamUserStatChange::_internal_absolute() const { + return _impl_.absolute_; +} +inline bool CMsgCsgoSteamUserStatChange::absolute() const { + // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.absolute) + return _internal_absolute(); +} +inline void CMsgCsgoSteamUserStatChange::_internal_set_absolute(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.absolute_ = value; +} +inline void CMsgCsgoSteamUserStatChange::set_absolute(bool value) { + _internal_set_absolute(value); + // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.absolute) +} + +// ------------------------------------------------------------------- + +// XpProgressData + +// optional uint32 xp_points = 1; +inline bool XpProgressData::_internal_has_xp_points() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool XpProgressData::has_xp_points() const { + return _internal_has_xp_points(); +} +inline void XpProgressData::clear_xp_points() { + _impl_.xp_points_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t XpProgressData::_internal_xp_points() const { + return _impl_.xp_points_; +} +inline uint32_t XpProgressData::xp_points() const { + // @@protoc_insertion_point(field_get:XpProgressData.xp_points) + return _internal_xp_points(); +} +inline void XpProgressData::_internal_set_xp_points(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.xp_points_ = value; +} +inline void XpProgressData::set_xp_points(uint32_t value) { + _internal_set_xp_points(value); + // @@protoc_insertion_point(field_set:XpProgressData.xp_points) +} + +// optional int32 xp_category = 2; +inline bool XpProgressData::_internal_has_xp_category() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool XpProgressData::has_xp_category() const { + return _internal_has_xp_category(); +} +inline void XpProgressData::clear_xp_category() { + _impl_.xp_category_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t XpProgressData::_internal_xp_category() const { + return _impl_.xp_category_; +} +inline int32_t XpProgressData::xp_category() const { + // @@protoc_insertion_point(field_get:XpProgressData.xp_category) + return _internal_xp_category(); +} +inline void XpProgressData::_internal_set_xp_category(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.xp_category_ = value; +} +inline void XpProgressData::set_xp_category(int32_t value) { + _internal_set_xp_category(value); + // @@protoc_insertion_point(field_set:XpProgressData.xp_category) +} + +// ------------------------------------------------------------------- + +// MatchEndItemUpdates + +// optional uint64 item_id = 1; +inline bool MatchEndItemUpdates::_internal_has_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MatchEndItemUpdates::has_item_id() const { + return _internal_has_item_id(); +} +inline void MatchEndItemUpdates::clear_item_id() { + _impl_.item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t MatchEndItemUpdates::_internal_item_id() const { + return _impl_.item_id_; +} +inline uint64_t MatchEndItemUpdates::item_id() const { + // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_id) + return _internal_item_id(); +} +inline void MatchEndItemUpdates::_internal_set_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_id_ = value; +} +inline void MatchEndItemUpdates::set_item_id(uint64_t value) { + _internal_set_item_id(value); + // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_id) +} + +// optional uint32 item_attr_defidx = 2; +inline bool MatchEndItemUpdates::_internal_has_item_attr_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MatchEndItemUpdates::has_item_attr_defidx() const { + return _internal_has_item_attr_defidx(); +} +inline void MatchEndItemUpdates::clear_item_attr_defidx() { + _impl_.item_attr_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t MatchEndItemUpdates::_internal_item_attr_defidx() const { + return _impl_.item_attr_defidx_; +} +inline uint32_t MatchEndItemUpdates::item_attr_defidx() const { + // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_attr_defidx) + return _internal_item_attr_defidx(); +} +inline void MatchEndItemUpdates::_internal_set_item_attr_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_attr_defidx_ = value; +} +inline void MatchEndItemUpdates::set_item_attr_defidx(uint32_t value) { + _internal_set_item_attr_defidx(value); + // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_attr_defidx) +} + +// optional uint32 item_attr_delta_value = 3; +inline bool MatchEndItemUpdates::_internal_has_item_attr_delta_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MatchEndItemUpdates::has_item_attr_delta_value() const { + return _internal_has_item_attr_delta_value(); +} +inline void MatchEndItemUpdates::clear_item_attr_delta_value() { + _impl_.item_attr_delta_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t MatchEndItemUpdates::_internal_item_attr_delta_value() const { + return _impl_.item_attr_delta_value_; +} +inline uint32_t MatchEndItemUpdates::item_attr_delta_value() const { + // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_attr_delta_value) + return _internal_item_attr_delta_value(); +} +inline void MatchEndItemUpdates::_internal_set_item_attr_delta_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_attr_delta_value_ = value; +} +inline void MatchEndItemUpdates::set_item_attr_delta_value(uint32_t value) { + _internal_set_item_attr_delta_value(value); + // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_attr_delta_value) +} + +// ------------------------------------------------------------------- + +// ScoreLeaderboardData_Entry + +// optional uint32 tag = 1; +inline bool ScoreLeaderboardData_Entry::_internal_has_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ScoreLeaderboardData_Entry::has_tag() const { + return _internal_has_tag(); +} +inline void ScoreLeaderboardData_Entry::clear_tag() { + _impl_.tag_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t ScoreLeaderboardData_Entry::_internal_tag() const { + return _impl_.tag_; +} +inline uint32_t ScoreLeaderboardData_Entry::tag() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.Entry.tag) + return _internal_tag(); +} +inline void ScoreLeaderboardData_Entry::_internal_set_tag(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_ = value; +} +inline void ScoreLeaderboardData_Entry::set_tag(uint32_t value) { + _internal_set_tag(value); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.Entry.tag) +} + +// optional uint32 val = 2; +inline bool ScoreLeaderboardData_Entry::_internal_has_val() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ScoreLeaderboardData_Entry::has_val() const { + return _internal_has_val(); +} +inline void ScoreLeaderboardData_Entry::clear_val() { + _impl_.val_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t ScoreLeaderboardData_Entry::_internal_val() const { + return _impl_.val_; +} +inline uint32_t ScoreLeaderboardData_Entry::val() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.Entry.val) + return _internal_val(); +} +inline void ScoreLeaderboardData_Entry::_internal_set_val(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.val_ = value; +} +inline void ScoreLeaderboardData_Entry::set_val(uint32_t value) { + _internal_set_val(value); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.Entry.val) +} + +// ------------------------------------------------------------------- + +// ScoreLeaderboardData_AccountEntries + +// optional uint32 accountid = 1; +inline bool ScoreLeaderboardData_AccountEntries::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ScoreLeaderboardData_AccountEntries::has_accountid() const { + return _internal_has_accountid(); +} +inline void ScoreLeaderboardData_AccountEntries::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t ScoreLeaderboardData_AccountEntries::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t ScoreLeaderboardData_AccountEntries::accountid() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.AccountEntries.accountid) + return _internal_accountid(); +} +inline void ScoreLeaderboardData_AccountEntries::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void ScoreLeaderboardData_AccountEntries::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.AccountEntries.accountid) +} + +// repeated .ScoreLeaderboardData.Entry entries = 2; +inline int ScoreLeaderboardData_AccountEntries::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int ScoreLeaderboardData_AccountEntries::entries_size() const { + return _internal_entries_size(); +} +inline void ScoreLeaderboardData_AccountEntries::clear_entries() { + _impl_.entries_.Clear(); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.AccountEntries.entries) + return _impl_.entries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* +ScoreLeaderboardData_AccountEntries::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.AccountEntries.entries) + return &_impl_.entries_; +} +inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData_AccountEntries::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData_AccountEntries::entries(int index) const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.AccountEntries.entries) + return _internal_entries(index); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::add_entries() { + ::ScoreLeaderboardData_Entry* _add = _internal_add_entries(); + // @@protoc_insertion_point(field_add:ScoreLeaderboardData.AccountEntries.entries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& +ScoreLeaderboardData_AccountEntries::entries() const { + // @@protoc_insertion_point(field_list:ScoreLeaderboardData.AccountEntries.entries) + return _impl_.entries_; +} + +// ------------------------------------------------------------------- + +// ScoreLeaderboardData + +// optional uint64 quest_id = 1; +inline bool ScoreLeaderboardData::_internal_has_quest_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ScoreLeaderboardData::has_quest_id() const { + return _internal_has_quest_id(); +} +inline void ScoreLeaderboardData::clear_quest_id() { + _impl_.quest_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t ScoreLeaderboardData::_internal_quest_id() const { + return _impl_.quest_id_; +} +inline uint64_t ScoreLeaderboardData::quest_id() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.quest_id) + return _internal_quest_id(); +} +inline void ScoreLeaderboardData::_internal_set_quest_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.quest_id_ = value; +} +inline void ScoreLeaderboardData::set_quest_id(uint64_t value) { + _internal_set_quest_id(value); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.quest_id) +} + +// optional uint32 score = 2; +inline bool ScoreLeaderboardData::_internal_has_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool ScoreLeaderboardData::has_score() const { + return _internal_has_score(); +} +inline void ScoreLeaderboardData::clear_score() { + _impl_.score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t ScoreLeaderboardData::_internal_score() const { + return _impl_.score_; +} +inline uint32_t ScoreLeaderboardData::score() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.score) + return _internal_score(); +} +inline void ScoreLeaderboardData::_internal_set_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.score_ = value; +} +inline void ScoreLeaderboardData::set_score(uint32_t value) { + _internal_set_score(value); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.score) +} + +// repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; +inline int ScoreLeaderboardData::_internal_accountentries_size() const { + return _impl_.accountentries_.size(); +} +inline int ScoreLeaderboardData::accountentries_size() const { + return _internal_accountentries_size(); +} +inline void ScoreLeaderboardData::clear_accountentries() { + _impl_.accountentries_.Clear(); +} +inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::mutable_accountentries(int index) { + // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.accountentries) + return _impl_.accountentries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >* +ScoreLeaderboardData::mutable_accountentries() { + // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.accountentries) + return &_impl_.accountentries_; +} +inline const ::ScoreLeaderboardData_AccountEntries& ScoreLeaderboardData::_internal_accountentries(int index) const { + return _impl_.accountentries_.Get(index); +} +inline const ::ScoreLeaderboardData_AccountEntries& ScoreLeaderboardData::accountentries(int index) const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.accountentries) + return _internal_accountentries(index); +} +inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::_internal_add_accountentries() { + return _impl_.accountentries_.Add(); +} +inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::add_accountentries() { + ::ScoreLeaderboardData_AccountEntries* _add = _internal_add_accountentries(); + // @@protoc_insertion_point(field_add:ScoreLeaderboardData.accountentries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >& +ScoreLeaderboardData::accountentries() const { + // @@protoc_insertion_point(field_list:ScoreLeaderboardData.accountentries) + return _impl_.accountentries_; +} + +// repeated .ScoreLeaderboardData.Entry matchentries = 5; +inline int ScoreLeaderboardData::_internal_matchentries_size() const { + return _impl_.matchentries_.size(); +} +inline int ScoreLeaderboardData::matchentries_size() const { + return _internal_matchentries_size(); +} +inline void ScoreLeaderboardData::clear_matchentries() { + _impl_.matchentries_.Clear(); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::mutable_matchentries(int index) { + // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.matchentries) + return _impl_.matchentries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* +ScoreLeaderboardData::mutable_matchentries() { + // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.matchentries) + return &_impl_.matchentries_; +} +inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData::_internal_matchentries(int index) const { + return _impl_.matchentries_.Get(index); +} +inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData::matchentries(int index) const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.matchentries) + return _internal_matchentries(index); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::_internal_add_matchentries() { + return _impl_.matchentries_.Add(); +} +inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::add_matchentries() { + ::ScoreLeaderboardData_Entry* _add = _internal_add_matchentries(); + // @@protoc_insertion_point(field_add:ScoreLeaderboardData.matchentries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& +ScoreLeaderboardData::matchentries() const { + // @@protoc_insertion_point(field_list:ScoreLeaderboardData.matchentries) + return _impl_.matchentries_; +} + +// optional string leaderboard_name = 6; +inline bool ScoreLeaderboardData::_internal_has_leaderboard_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ScoreLeaderboardData::has_leaderboard_name() const { + return _internal_has_leaderboard_name(); +} +inline void ScoreLeaderboardData::clear_leaderboard_name() { + _impl_.leaderboard_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& ScoreLeaderboardData::leaderboard_name() const { + // @@protoc_insertion_point(field_get:ScoreLeaderboardData.leaderboard_name) + return _internal_leaderboard_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ScoreLeaderboardData::set_leaderboard_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:ScoreLeaderboardData.leaderboard_name) +} +inline std::string* ScoreLeaderboardData::mutable_leaderboard_name() { + std::string* _s = _internal_mutable_leaderboard_name(); + // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.leaderboard_name) + return _s; +} +inline const std::string& ScoreLeaderboardData::_internal_leaderboard_name() const { + return _impl_.leaderboard_name_.Get(); +} +inline void ScoreLeaderboardData::_internal_set_leaderboard_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ScoreLeaderboardData::_internal_mutable_leaderboard_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.leaderboard_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* ScoreLeaderboardData::release_leaderboard_name() { + // @@protoc_insertion_point(field_release:ScoreLeaderboardData.leaderboard_name) + if (!_internal_has_leaderboard_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.leaderboard_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_name_.IsDefault()) { + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ScoreLeaderboardData::set_allocated_leaderboard_name(std::string* leaderboard_name) { + if (leaderboard_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.leaderboard_name_.SetAllocated(leaderboard_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_name_.IsDefault()) { + _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ScoreLeaderboardData.leaderboard_name) +} + +// ------------------------------------------------------------------- + +// PlayerQuestData_QuestItemData + +// optional uint64 quest_id = 1; +inline bool PlayerQuestData_QuestItemData::_internal_has_quest_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerQuestData_QuestItemData::has_quest_id() const { + return _internal_has_quest_id(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_id() { + _impl_.quest_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t PlayerQuestData_QuestItemData::_internal_quest_id() const { + return _impl_.quest_id_; +} +inline uint64_t PlayerQuestData_QuestItemData::quest_id() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_id) + return _internal_quest_id(); +} +inline void PlayerQuestData_QuestItemData::_internal_set_quest_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.quest_id_ = value; +} +inline void PlayerQuestData_QuestItemData::set_quest_id(uint64_t value) { + _internal_set_quest_id(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_id) +} + +// optional int32 quest_normal_points_earned = 2; +inline bool PlayerQuestData_QuestItemData::_internal_has_quest_normal_points_earned() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerQuestData_QuestItemData::has_quest_normal_points_earned() const { + return _internal_has_quest_normal_points_earned(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_normal_points_earned() { + _impl_.quest_normal_points_earned_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t PlayerQuestData_QuestItemData::_internal_quest_normal_points_earned() const { + return _impl_.quest_normal_points_earned_; +} +inline int32_t PlayerQuestData_QuestItemData::quest_normal_points_earned() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_normal_points_earned) + return _internal_quest_normal_points_earned(); +} +inline void PlayerQuestData_QuestItemData::_internal_set_quest_normal_points_earned(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.quest_normal_points_earned_ = value; +} +inline void PlayerQuestData_QuestItemData::set_quest_normal_points_earned(int32_t value) { + _internal_set_quest_normal_points_earned(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_normal_points_earned) +} + +// optional int32 quest_bonus_points_earned = 3; +inline bool PlayerQuestData_QuestItemData::_internal_has_quest_bonus_points_earned() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerQuestData_QuestItemData::has_quest_bonus_points_earned() const { + return _internal_has_quest_bonus_points_earned(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_bonus_points_earned() { + _impl_.quest_bonus_points_earned_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t PlayerQuestData_QuestItemData::_internal_quest_bonus_points_earned() const { + return _impl_.quest_bonus_points_earned_; +} +inline int32_t PlayerQuestData_QuestItemData::quest_bonus_points_earned() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_bonus_points_earned) + return _internal_quest_bonus_points_earned(); +} +inline void PlayerQuestData_QuestItemData::_internal_set_quest_bonus_points_earned(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.quest_bonus_points_earned_ = value; +} +inline void PlayerQuestData_QuestItemData::set_quest_bonus_points_earned(int32_t value) { + _internal_set_quest_bonus_points_earned(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_bonus_points_earned) +} + +// repeated int32 quest_normal_points_required = 4; +inline int PlayerQuestData_QuestItemData::_internal_quest_normal_points_required_size() const { + return _impl_.quest_normal_points_required_.size(); +} +inline int PlayerQuestData_QuestItemData::quest_normal_points_required_size() const { + return _internal_quest_normal_points_required_size(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_normal_points_required() { + _impl_.quest_normal_points_required_.Clear(); +} +inline int32_t PlayerQuestData_QuestItemData::_internal_quest_normal_points_required(int index) const { + return _impl_.quest_normal_points_required_.Get(index); +} +inline int32_t PlayerQuestData_QuestItemData::quest_normal_points_required(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_normal_points_required) + return _internal_quest_normal_points_required(index); +} +inline void PlayerQuestData_QuestItemData::set_quest_normal_points_required(int index, int32_t value) { + _impl_.quest_normal_points_required_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_normal_points_required) +} +inline void PlayerQuestData_QuestItemData::_internal_add_quest_normal_points_required(int32_t value) { + _impl_.quest_normal_points_required_.Add(value); +} +inline void PlayerQuestData_QuestItemData::add_quest_normal_points_required(int32_t value) { + _internal_add_quest_normal_points_required(value); + // @@protoc_insertion_point(field_add:PlayerQuestData.QuestItemData.quest_normal_points_required) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +PlayerQuestData_QuestItemData::_internal_quest_normal_points_required() const { + return _impl_.quest_normal_points_required_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +PlayerQuestData_QuestItemData::quest_normal_points_required() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.QuestItemData.quest_normal_points_required) + return _internal_quest_normal_points_required(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +PlayerQuestData_QuestItemData::_internal_mutable_quest_normal_points_required() { + return &_impl_.quest_normal_points_required_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +PlayerQuestData_QuestItemData::mutable_quest_normal_points_required() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.QuestItemData.quest_normal_points_required) + return _internal_mutable_quest_normal_points_required(); +} + +// repeated int32 quest_reward_xp = 5; +inline int PlayerQuestData_QuestItemData::_internal_quest_reward_xp_size() const { + return _impl_.quest_reward_xp_.size(); +} +inline int PlayerQuestData_QuestItemData::quest_reward_xp_size() const { + return _internal_quest_reward_xp_size(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_reward_xp() { + _impl_.quest_reward_xp_.Clear(); +} +inline int32_t PlayerQuestData_QuestItemData::_internal_quest_reward_xp(int index) const { + return _impl_.quest_reward_xp_.Get(index); +} +inline int32_t PlayerQuestData_QuestItemData::quest_reward_xp(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_reward_xp) + return _internal_quest_reward_xp(index); +} +inline void PlayerQuestData_QuestItemData::set_quest_reward_xp(int index, int32_t value) { + _impl_.quest_reward_xp_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_reward_xp) +} +inline void PlayerQuestData_QuestItemData::_internal_add_quest_reward_xp(int32_t value) { + _impl_.quest_reward_xp_.Add(value); +} +inline void PlayerQuestData_QuestItemData::add_quest_reward_xp(int32_t value) { + _internal_add_quest_reward_xp(value); + // @@protoc_insertion_point(field_add:PlayerQuestData.QuestItemData.quest_reward_xp) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +PlayerQuestData_QuestItemData::_internal_quest_reward_xp() const { + return _impl_.quest_reward_xp_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +PlayerQuestData_QuestItemData::quest_reward_xp() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.QuestItemData.quest_reward_xp) + return _internal_quest_reward_xp(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +PlayerQuestData_QuestItemData::_internal_mutable_quest_reward_xp() { + return &_impl_.quest_reward_xp_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +PlayerQuestData_QuestItemData::mutable_quest_reward_xp() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.QuestItemData.quest_reward_xp) + return _internal_mutable_quest_reward_xp(); +} + +// optional int32 quest_period = 6; +inline bool PlayerQuestData_QuestItemData::_internal_has_quest_period() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PlayerQuestData_QuestItemData::has_quest_period() const { + return _internal_has_quest_period(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_period() { + _impl_.quest_period_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t PlayerQuestData_QuestItemData::_internal_quest_period() const { + return _impl_.quest_period_; +} +inline int32_t PlayerQuestData_QuestItemData::quest_period() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_period) + return _internal_quest_period(); +} +inline void PlayerQuestData_QuestItemData::_internal_set_quest_period(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.quest_period_ = value; +} +inline void PlayerQuestData_QuestItemData::set_quest_period(int32_t value) { + _internal_set_quest_period(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_period) +} + +// optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; +inline bool PlayerQuestData_QuestItemData::_internal_has_quest_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PlayerQuestData_QuestItemData::has_quest_type() const { + return _internal_has_quest_type(); +} +inline void PlayerQuestData_QuestItemData::clear_quest_type() { + _impl_.quest_type_ = 1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline ::QuestType PlayerQuestData_QuestItemData::_internal_quest_type() const { + return static_cast< ::QuestType >(_impl_.quest_type_); +} +inline ::QuestType PlayerQuestData_QuestItemData::quest_type() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_type) + return _internal_quest_type(); +} +inline void PlayerQuestData_QuestItemData::_internal_set_quest_type(::QuestType value) { + assert(::QuestType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.quest_type_ = value; +} +inline void PlayerQuestData_QuestItemData::set_quest_type(::QuestType value) { + _internal_set_quest_type(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_type) +} + +// ------------------------------------------------------------------- + +// PlayerQuestData + +// optional uint32 quester_account_id = 1; +inline bool PlayerQuestData::_internal_has_quester_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerQuestData::has_quester_account_id() const { + return _internal_has_quester_account_id(); +} +inline void PlayerQuestData::clear_quester_account_id() { + _impl_.quester_account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t PlayerQuestData::_internal_quester_account_id() const { + return _impl_.quester_account_id_; +} +inline uint32_t PlayerQuestData::quester_account_id() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.quester_account_id) + return _internal_quester_account_id(); +} +inline void PlayerQuestData::_internal_set_quester_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.quester_account_id_ = value; +} +inline void PlayerQuestData::set_quester_account_id(uint32_t value) { + _internal_set_quester_account_id(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.quester_account_id) +} + +// repeated .PlayerQuestData.QuestItemData quest_item_data = 2; +inline int PlayerQuestData::_internal_quest_item_data_size() const { + return _impl_.quest_item_data_.size(); +} +inline int PlayerQuestData::quest_item_data_size() const { + return _internal_quest_item_data_size(); +} +inline void PlayerQuestData::clear_quest_item_data() { + _impl_.quest_item_data_.Clear(); +} +inline ::PlayerQuestData_QuestItemData* PlayerQuestData::mutable_quest_item_data(int index) { + // @@protoc_insertion_point(field_mutable:PlayerQuestData.quest_item_data) + return _impl_.quest_item_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >* +PlayerQuestData::mutable_quest_item_data() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.quest_item_data) + return &_impl_.quest_item_data_; +} +inline const ::PlayerQuestData_QuestItemData& PlayerQuestData::_internal_quest_item_data(int index) const { + return _impl_.quest_item_data_.Get(index); +} +inline const ::PlayerQuestData_QuestItemData& PlayerQuestData::quest_item_data(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.quest_item_data) + return _internal_quest_item_data(index); +} +inline ::PlayerQuestData_QuestItemData* PlayerQuestData::_internal_add_quest_item_data() { + return _impl_.quest_item_data_.Add(); +} +inline ::PlayerQuestData_QuestItemData* PlayerQuestData::add_quest_item_data() { + ::PlayerQuestData_QuestItemData* _add = _internal_add_quest_item_data(); + // @@protoc_insertion_point(field_add:PlayerQuestData.quest_item_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >& +PlayerQuestData::quest_item_data() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.quest_item_data) + return _impl_.quest_item_data_; +} + +// repeated .XpProgressData xp_progress_data = 3; +inline int PlayerQuestData::_internal_xp_progress_data_size() const { + return _impl_.xp_progress_data_.size(); +} +inline int PlayerQuestData::xp_progress_data_size() const { + return _internal_xp_progress_data_size(); +} +inline void PlayerQuestData::clear_xp_progress_data() { + _impl_.xp_progress_data_.Clear(); +} +inline ::XpProgressData* PlayerQuestData::mutable_xp_progress_data(int index) { + // @@protoc_insertion_point(field_mutable:PlayerQuestData.xp_progress_data) + return _impl_.xp_progress_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* +PlayerQuestData::mutable_xp_progress_data() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.xp_progress_data) + return &_impl_.xp_progress_data_; +} +inline const ::XpProgressData& PlayerQuestData::_internal_xp_progress_data(int index) const { + return _impl_.xp_progress_data_.Get(index); +} +inline const ::XpProgressData& PlayerQuestData::xp_progress_data(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.xp_progress_data) + return _internal_xp_progress_data(index); +} +inline ::XpProgressData* PlayerQuestData::_internal_add_xp_progress_data() { + return _impl_.xp_progress_data_.Add(); +} +inline ::XpProgressData* PlayerQuestData::add_xp_progress_data() { + ::XpProgressData* _add = _internal_add_xp_progress_data(); + // @@protoc_insertion_point(field_add:PlayerQuestData.xp_progress_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& +PlayerQuestData::xp_progress_data() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.xp_progress_data) + return _impl_.xp_progress_data_; +} + +// optional uint32 time_played = 4; +inline bool PlayerQuestData::_internal_has_time_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerQuestData::has_time_played() const { + return _internal_has_time_played(); +} +inline void PlayerQuestData::clear_time_played() { + _impl_.time_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PlayerQuestData::_internal_time_played() const { + return _impl_.time_played_; +} +inline uint32_t PlayerQuestData::time_played() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.time_played) + return _internal_time_played(); +} +inline void PlayerQuestData::_internal_set_time_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_played_ = value; +} +inline void PlayerQuestData::set_time_played(uint32_t value) { + _internal_set_time_played(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.time_played) +} + +// optional uint32 mm_game_mode = 5; +inline bool PlayerQuestData::_internal_has_mm_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerQuestData::has_mm_game_mode() const { + return _internal_has_mm_game_mode(); +} +inline void PlayerQuestData::clear_mm_game_mode() { + _impl_.mm_game_mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PlayerQuestData::_internal_mm_game_mode() const { + return _impl_.mm_game_mode_; +} +inline uint32_t PlayerQuestData::mm_game_mode() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.mm_game_mode) + return _internal_mm_game_mode(); +} +inline void PlayerQuestData::_internal_set_mm_game_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.mm_game_mode_ = value; +} +inline void PlayerQuestData::set_mm_game_mode(uint32_t value) { + _internal_set_mm_game_mode(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.mm_game_mode) +} + +// repeated .MatchEndItemUpdates item_updates = 6; +inline int PlayerQuestData::_internal_item_updates_size() const { + return _impl_.item_updates_.size(); +} +inline int PlayerQuestData::item_updates_size() const { + return _internal_item_updates_size(); +} +inline void PlayerQuestData::clear_item_updates() { + _impl_.item_updates_.Clear(); +} +inline ::MatchEndItemUpdates* PlayerQuestData::mutable_item_updates(int index) { + // @@protoc_insertion_point(field_mutable:PlayerQuestData.item_updates) + return _impl_.item_updates_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >* +PlayerQuestData::mutable_item_updates() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.item_updates) + return &_impl_.item_updates_; +} +inline const ::MatchEndItemUpdates& PlayerQuestData::_internal_item_updates(int index) const { + return _impl_.item_updates_.Get(index); +} +inline const ::MatchEndItemUpdates& PlayerQuestData::item_updates(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.item_updates) + return _internal_item_updates(index); +} +inline ::MatchEndItemUpdates* PlayerQuestData::_internal_add_item_updates() { + return _impl_.item_updates_.Add(); +} +inline ::MatchEndItemUpdates* PlayerQuestData::add_item_updates() { + ::MatchEndItemUpdates* _add = _internal_add_item_updates(); + // @@protoc_insertion_point(field_add:PlayerQuestData.item_updates) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >& +PlayerQuestData::item_updates() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.item_updates) + return _impl_.item_updates_; +} + +// optional bool operation_points_eligible = 7; +inline bool PlayerQuestData::_internal_has_operation_points_eligible() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PlayerQuestData::has_operation_points_eligible() const { + return _internal_has_operation_points_eligible(); +} +inline void PlayerQuestData::clear_operation_points_eligible() { + _impl_.operation_points_eligible_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool PlayerQuestData::_internal_operation_points_eligible() const { + return _impl_.operation_points_eligible_; +} +inline bool PlayerQuestData::operation_points_eligible() const { + // @@protoc_insertion_point(field_get:PlayerQuestData.operation_points_eligible) + return _internal_operation_points_eligible(); +} +inline void PlayerQuestData::_internal_set_operation_points_eligible(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.operation_points_eligible_ = value; +} +inline void PlayerQuestData::set_operation_points_eligible(bool value) { + _internal_set_operation_points_eligible(value); + // @@protoc_insertion_point(field_set:PlayerQuestData.operation_points_eligible) +} + +// repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; +inline int PlayerQuestData::_internal_userstatchanges_size() const { + return _impl_.userstatchanges_.size(); +} +inline int PlayerQuestData::userstatchanges_size() const { + return _internal_userstatchanges_size(); +} +inline void PlayerQuestData::clear_userstatchanges() { + _impl_.userstatchanges_.Clear(); +} +inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::mutable_userstatchanges(int index) { + // @@protoc_insertion_point(field_mutable:PlayerQuestData.userstatchanges) + return _impl_.userstatchanges_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >* +PlayerQuestData::mutable_userstatchanges() { + // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.userstatchanges) + return &_impl_.userstatchanges_; +} +inline const ::CMsgCsgoSteamUserStatChange& PlayerQuestData::_internal_userstatchanges(int index) const { + return _impl_.userstatchanges_.Get(index); +} +inline const ::CMsgCsgoSteamUserStatChange& PlayerQuestData::userstatchanges(int index) const { + // @@protoc_insertion_point(field_get:PlayerQuestData.userstatchanges) + return _internal_userstatchanges(index); +} +inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::_internal_add_userstatchanges() { + return _impl_.userstatchanges_.Add(); +} +inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::add_userstatchanges() { + ::CMsgCsgoSteamUserStatChange* _add = _internal_add_userstatchanges(); + // @@protoc_insertion_point(field_add:PlayerQuestData.userstatchanges) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >& +PlayerQuestData::userstatchanges() const { + // @@protoc_insertion_point(field_list:PlayerQuestData.userstatchanges) + return _impl_.userstatchanges_; +} + +// ------------------------------------------------------------------- + +// DeepPlayerStatsEntry + +// optional uint32 accountid = 1; +inline bool DeepPlayerStatsEntry::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_accountid() const { + return _internal_has_accountid(); +} +inline void DeepPlayerStatsEntry::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t DeepPlayerStatsEntry::accountid() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.accountid) + return _internal_accountid(); +} +inline void DeepPlayerStatsEntry::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void DeepPlayerStatsEntry::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.accountid) +} + +// optional uint64 match_id = 2; +inline bool DeepPlayerStatsEntry::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_match_id() const { + return _internal_has_match_id(); +} +inline void DeepPlayerStatsEntry::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t DeepPlayerStatsEntry::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t DeepPlayerStatsEntry::match_id() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.match_id) + return _internal_match_id(); +} +inline void DeepPlayerStatsEntry::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.match_id_ = value; +} +inline void DeepPlayerStatsEntry::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.match_id) +} + +// optional uint32 mm_game_mode = 3; +inline bool DeepPlayerStatsEntry::_internal_has_mm_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_mm_game_mode() const { + return _internal_has_mm_game_mode(); +} +inline void DeepPlayerStatsEntry::clear_mm_game_mode() { + _impl_.mm_game_mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_mm_game_mode() const { + return _impl_.mm_game_mode_; +} +inline uint32_t DeepPlayerStatsEntry::mm_game_mode() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mm_game_mode) + return _internal_mm_game_mode(); +} +inline void DeepPlayerStatsEntry::_internal_set_mm_game_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.mm_game_mode_ = value; +} +inline void DeepPlayerStatsEntry::set_mm_game_mode(uint32_t value) { + _internal_set_mm_game_mode(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mm_game_mode) +} + +// optional uint32 mapid = 4; +inline bool DeepPlayerStatsEntry::_internal_has_mapid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_mapid() const { + return _internal_has_mapid(); +} +inline void DeepPlayerStatsEntry::clear_mapid() { + _impl_.mapid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_mapid() const { + return _impl_.mapid_; +} +inline uint32_t DeepPlayerStatsEntry::mapid() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mapid) + return _internal_mapid(); +} +inline void DeepPlayerStatsEntry::_internal_set_mapid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.mapid_ = value; +} +inline void DeepPlayerStatsEntry::set_mapid(uint32_t value) { + _internal_set_mapid(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mapid) +} + +// optional bool b_starting_ct = 5; +inline bool DeepPlayerStatsEntry::_internal_has_b_starting_ct() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_b_starting_ct() const { + return _internal_has_b_starting_ct(); +} +inline void DeepPlayerStatsEntry::clear_b_starting_ct() { + _impl_.b_starting_ct_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool DeepPlayerStatsEntry::_internal_b_starting_ct() const { + return _impl_.b_starting_ct_; +} +inline bool DeepPlayerStatsEntry::b_starting_ct() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.b_starting_ct) + return _internal_b_starting_ct(); +} +inline void DeepPlayerStatsEntry::_internal_set_b_starting_ct(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.b_starting_ct_ = value; +} +inline void DeepPlayerStatsEntry::set_b_starting_ct(bool value) { + _internal_set_b_starting_ct(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.b_starting_ct) +} + +// optional uint32 match_outcome = 6; +inline bool DeepPlayerStatsEntry::_internal_has_match_outcome() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_match_outcome() const { + return _internal_has_match_outcome(); +} +inline void DeepPlayerStatsEntry::clear_match_outcome() { + _impl_.match_outcome_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_match_outcome() const { + return _impl_.match_outcome_; +} +inline uint32_t DeepPlayerStatsEntry::match_outcome() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.match_outcome) + return _internal_match_outcome(); +} +inline void DeepPlayerStatsEntry::_internal_set_match_outcome(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.match_outcome_ = value; +} +inline void DeepPlayerStatsEntry::set_match_outcome(uint32_t value) { + _internal_set_match_outcome(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.match_outcome) +} + +// optional uint32 rounds_won = 7; +inline bool DeepPlayerStatsEntry::_internal_has_rounds_won() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_rounds_won() const { + return _internal_has_rounds_won(); +} +inline void DeepPlayerStatsEntry::clear_rounds_won() { + _impl_.rounds_won_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_rounds_won() const { + return _impl_.rounds_won_; +} +inline uint32_t DeepPlayerStatsEntry::rounds_won() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.rounds_won) + return _internal_rounds_won(); +} +inline void DeepPlayerStatsEntry::_internal_set_rounds_won(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.rounds_won_ = value; +} +inline void DeepPlayerStatsEntry::set_rounds_won(uint32_t value) { + _internal_set_rounds_won(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.rounds_won) +} + +// optional uint32 rounds_lost = 8; +inline bool DeepPlayerStatsEntry::_internal_has_rounds_lost() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_rounds_lost() const { + return _internal_has_rounds_lost(); +} +inline void DeepPlayerStatsEntry::clear_rounds_lost() { + _impl_.rounds_lost_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_rounds_lost() const { + return _impl_.rounds_lost_; +} +inline uint32_t DeepPlayerStatsEntry::rounds_lost() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.rounds_lost) + return _internal_rounds_lost(); +} +inline void DeepPlayerStatsEntry::_internal_set_rounds_lost(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.rounds_lost_ = value; +} +inline void DeepPlayerStatsEntry::set_rounds_lost(uint32_t value) { + _internal_set_rounds_lost(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.rounds_lost) +} + +// optional uint32 stat_score = 9; +inline bool DeepPlayerStatsEntry::_internal_has_stat_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_stat_score() const { + return _internal_has_stat_score(); +} +inline void DeepPlayerStatsEntry::clear_stat_score() { + _impl_.stat_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_stat_score() const { + return _impl_.stat_score_; +} +inline uint32_t DeepPlayerStatsEntry::stat_score() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_score) + return _internal_stat_score(); +} +inline void DeepPlayerStatsEntry::_internal_set_stat_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.stat_score_ = value; +} +inline void DeepPlayerStatsEntry::set_stat_score(uint32_t value) { + _internal_set_stat_score(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_score) +} + +// optional uint32 stat_deaths = 12; +inline bool DeepPlayerStatsEntry::_internal_has_stat_deaths() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_stat_deaths() const { + return _internal_has_stat_deaths(); +} +inline void DeepPlayerStatsEntry::clear_stat_deaths() { + _impl_.stat_deaths_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_stat_deaths() const { + return _impl_.stat_deaths_; +} +inline uint32_t DeepPlayerStatsEntry::stat_deaths() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_deaths) + return _internal_stat_deaths(); +} +inline void DeepPlayerStatsEntry::_internal_set_stat_deaths(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.stat_deaths_ = value; +} +inline void DeepPlayerStatsEntry::set_stat_deaths(uint32_t value) { + _internal_set_stat_deaths(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_deaths) +} + +// optional uint32 stat_mvps = 13; +inline bool DeepPlayerStatsEntry::_internal_has_stat_mvps() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_stat_mvps() const { + return _internal_has_stat_mvps(); +} +inline void DeepPlayerStatsEntry::clear_stat_mvps() { + _impl_.stat_mvps_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_stat_mvps() const { + return _impl_.stat_mvps_; +} +inline uint32_t DeepPlayerStatsEntry::stat_mvps() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_mvps) + return _internal_stat_mvps(); +} +inline void DeepPlayerStatsEntry::_internal_set_stat_mvps(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.stat_mvps_ = value; +} +inline void DeepPlayerStatsEntry::set_stat_mvps(uint32_t value) { + _internal_set_stat_mvps(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_mvps) +} + +// optional uint32 enemy_kills = 14; +inline bool DeepPlayerStatsEntry::_internal_has_enemy_kills() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_enemy_kills() const { + return _internal_has_enemy_kills(); +} +inline void DeepPlayerStatsEntry::clear_enemy_kills() { + _impl_.enemy_kills_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_enemy_kills() const { + return _impl_.enemy_kills_; +} +inline uint32_t DeepPlayerStatsEntry::enemy_kills() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_kills) + return _internal_enemy_kills(); +} +inline void DeepPlayerStatsEntry::_internal_set_enemy_kills(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.enemy_kills_ = value; +} +inline void DeepPlayerStatsEntry::set_enemy_kills(uint32_t value) { + _internal_set_enemy_kills(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_kills) +} + +// optional uint32 enemy_headshots = 15; +inline bool DeepPlayerStatsEntry::_internal_has_enemy_headshots() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_enemy_headshots() const { + return _internal_has_enemy_headshots(); +} +inline void DeepPlayerStatsEntry::clear_enemy_headshots() { + _impl_.enemy_headshots_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_enemy_headshots() const { + return _impl_.enemy_headshots_; +} +inline uint32_t DeepPlayerStatsEntry::enemy_headshots() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_headshots) + return _internal_enemy_headshots(); +} +inline void DeepPlayerStatsEntry::_internal_set_enemy_headshots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.enemy_headshots_ = value; +} +inline void DeepPlayerStatsEntry::set_enemy_headshots(uint32_t value) { + _internal_set_enemy_headshots(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_headshots) +} + +// optional uint32 enemy_2ks = 16; +inline bool DeepPlayerStatsEntry::_internal_has_enemy_2ks() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_enemy_2ks() const { + return _internal_has_enemy_2ks(); +} +inline void DeepPlayerStatsEntry::clear_enemy_2ks() { + _impl_.enemy_2ks_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_enemy_2ks() const { + return _impl_.enemy_2ks_; +} +inline uint32_t DeepPlayerStatsEntry::enemy_2ks() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_2ks) + return _internal_enemy_2ks(); +} +inline void DeepPlayerStatsEntry::_internal_set_enemy_2ks(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.enemy_2ks_ = value; +} +inline void DeepPlayerStatsEntry::set_enemy_2ks(uint32_t value) { + _internal_set_enemy_2ks(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_2ks) +} + +// optional uint32 enemy_3ks = 17; +inline bool DeepPlayerStatsEntry::_internal_has_enemy_3ks() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_enemy_3ks() const { + return _internal_has_enemy_3ks(); +} +inline void DeepPlayerStatsEntry::clear_enemy_3ks() { + _impl_.enemy_3ks_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_enemy_3ks() const { + return _impl_.enemy_3ks_; +} +inline uint32_t DeepPlayerStatsEntry::enemy_3ks() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_3ks) + return _internal_enemy_3ks(); +} +inline void DeepPlayerStatsEntry::_internal_set_enemy_3ks(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.enemy_3ks_ = value; +} +inline void DeepPlayerStatsEntry::set_enemy_3ks(uint32_t value) { + _internal_set_enemy_3ks(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_3ks) +} + +// optional uint32 enemy_4ks = 18; +inline bool DeepPlayerStatsEntry::_internal_has_enemy_4ks() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_enemy_4ks() const { + return _internal_has_enemy_4ks(); +} +inline void DeepPlayerStatsEntry::clear_enemy_4ks() { + _impl_.enemy_4ks_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_enemy_4ks() const { + return _impl_.enemy_4ks_; +} +inline uint32_t DeepPlayerStatsEntry::enemy_4ks() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_4ks) + return _internal_enemy_4ks(); +} +inline void DeepPlayerStatsEntry::_internal_set_enemy_4ks(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.enemy_4ks_ = value; +} +inline void DeepPlayerStatsEntry::set_enemy_4ks(uint32_t value) { + _internal_set_enemy_4ks(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_4ks) +} + +// optional uint32 total_damage = 19; +inline bool DeepPlayerStatsEntry::_internal_has_total_damage() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_total_damage() const { + return _internal_has_total_damage(); +} +inline void DeepPlayerStatsEntry::clear_total_damage() { + _impl_.total_damage_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_total_damage() const { + return _impl_.total_damage_; +} +inline uint32_t DeepPlayerStatsEntry::total_damage() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.total_damage) + return _internal_total_damage(); +} +inline void DeepPlayerStatsEntry::_internal_set_total_damage(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.total_damage_ = value; +} +inline void DeepPlayerStatsEntry::set_total_damage(uint32_t value) { + _internal_set_total_damage(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.total_damage) +} + +// optional uint32 engagements_entry_count = 23; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_entry_count() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_entry_count() const { + return _internal_has_engagements_entry_count(); +} +inline void DeepPlayerStatsEntry::clear_engagements_entry_count() { + _impl_.engagements_entry_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_entry_count() const { + return _impl_.engagements_entry_count_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_entry_count() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_entry_count) + return _internal_engagements_entry_count(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_entry_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.engagements_entry_count_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_entry_count(uint32_t value) { + _internal_set_engagements_entry_count(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_entry_count) +} + +// optional uint32 engagements_entry_wins = 24; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_entry_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_entry_wins() const { + return _internal_has_engagements_entry_wins(); +} +inline void DeepPlayerStatsEntry::clear_engagements_entry_wins() { + _impl_.engagements_entry_wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_entry_wins() const { + return _impl_.engagements_entry_wins_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_entry_wins() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_entry_wins) + return _internal_engagements_entry_wins(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_entry_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.engagements_entry_wins_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_entry_wins(uint32_t value) { + _internal_set_engagements_entry_wins(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_entry_wins) +} + +// optional uint32 engagements_1v1_count = 25; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v1_count() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_1v1_count() const { + return _internal_has_engagements_1v1_count(); +} +inline void DeepPlayerStatsEntry::clear_engagements_1v1_count() { + _impl_.engagements_1v1_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v1_count() const { + return _impl_.engagements_1v1_count_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_1v1_count() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v1_count) + return _internal_engagements_1v1_count(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_1v1_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.engagements_1v1_count_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_1v1_count(uint32_t value) { + _internal_set_engagements_1v1_count(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v1_count) +} + +// optional uint32 engagements_1v1_wins = 26; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v1_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_1v1_wins() const { + return _internal_has_engagements_1v1_wins(); +} +inline void DeepPlayerStatsEntry::clear_engagements_1v1_wins() { + _impl_.engagements_1v1_wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v1_wins() const { + return _impl_.engagements_1v1_wins_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_1v1_wins() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v1_wins) + return _internal_engagements_1v1_wins(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_1v1_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.engagements_1v1_wins_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_1v1_wins(uint32_t value) { + _internal_set_engagements_1v1_wins(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v1_wins) +} + +// optional uint32 engagements_1v2_count = 27; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v2_count() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_1v2_count() const { + return _internal_has_engagements_1v2_count(); +} +inline void DeepPlayerStatsEntry::clear_engagements_1v2_count() { + _impl_.engagements_1v2_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v2_count() const { + return _impl_.engagements_1v2_count_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_1v2_count() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v2_count) + return _internal_engagements_1v2_count(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_1v2_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.engagements_1v2_count_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_1v2_count(uint32_t value) { + _internal_set_engagements_1v2_count(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v2_count) +} + +// optional uint32 engagements_1v2_wins = 28; +inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v2_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_engagements_1v2_wins() const { + return _internal_has_engagements_1v2_wins(); +} +inline void DeepPlayerStatsEntry::clear_engagements_1v2_wins() { + _impl_.engagements_1v2_wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v2_wins() const { + return _impl_.engagements_1v2_wins_; +} +inline uint32_t DeepPlayerStatsEntry::engagements_1v2_wins() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v2_wins) + return _internal_engagements_1v2_wins(); +} +inline void DeepPlayerStatsEntry::_internal_set_engagements_1v2_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.engagements_1v2_wins_ = value; +} +inline void DeepPlayerStatsEntry::set_engagements_1v2_wins(uint32_t value) { + _internal_set_engagements_1v2_wins(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v2_wins) +} + +// optional uint32 utility_count = 29; +inline bool DeepPlayerStatsEntry::_internal_has_utility_count() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_utility_count() const { + return _internal_has_utility_count(); +} +inline void DeepPlayerStatsEntry::clear_utility_count() { + _impl_.utility_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_utility_count() const { + return _impl_.utility_count_; +} +inline uint32_t DeepPlayerStatsEntry::utility_count() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.utility_count) + return _internal_utility_count(); +} +inline void DeepPlayerStatsEntry::_internal_set_utility_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.utility_count_ = value; +} +inline void DeepPlayerStatsEntry::set_utility_count(uint32_t value) { + _internal_set_utility_count(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.utility_count) +} + +// optional uint32 utility_success = 30; +inline bool DeepPlayerStatsEntry::_internal_has_utility_success() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_utility_success() const { + return _internal_has_utility_success(); +} +inline void DeepPlayerStatsEntry::clear_utility_success() { + _impl_.utility_success_ = 0u; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_utility_success() const { + return _impl_.utility_success_; +} +inline uint32_t DeepPlayerStatsEntry::utility_success() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.utility_success) + return _internal_utility_success(); +} +inline void DeepPlayerStatsEntry::_internal_set_utility_success(uint32_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.utility_success_ = value; +} +inline void DeepPlayerStatsEntry::set_utility_success(uint32_t value) { + _internal_set_utility_success(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.utility_success) +} + +// optional uint32 flash_count = 32; +inline bool DeepPlayerStatsEntry::_internal_has_flash_count() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_flash_count() const { + return _internal_has_flash_count(); +} +inline void DeepPlayerStatsEntry::clear_flash_count() { + _impl_.flash_count_ = 0u; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_flash_count() const { + return _impl_.flash_count_; +} +inline uint32_t DeepPlayerStatsEntry::flash_count() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.flash_count) + return _internal_flash_count(); +} +inline void DeepPlayerStatsEntry::_internal_set_flash_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.flash_count_ = value; +} +inline void DeepPlayerStatsEntry::set_flash_count(uint32_t value) { + _internal_set_flash_count(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.flash_count) +} + +// optional uint32 flash_success = 33; +inline bool DeepPlayerStatsEntry::_internal_has_flash_success() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool DeepPlayerStatsEntry::has_flash_success() const { + return _internal_has_flash_success(); +} +inline void DeepPlayerStatsEntry::clear_flash_success() { + _impl_.flash_success_ = 0u; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline uint32_t DeepPlayerStatsEntry::_internal_flash_success() const { + return _impl_.flash_success_; +} +inline uint32_t DeepPlayerStatsEntry::flash_success() const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.flash_success) + return _internal_flash_success(); +} +inline void DeepPlayerStatsEntry::_internal_set_flash_success(uint32_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.flash_success_ = value; +} +inline void DeepPlayerStatsEntry::set_flash_success(uint32_t value) { + _internal_set_flash_success(value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.flash_success) +} + +// repeated uint32 mates = 34; +inline int DeepPlayerStatsEntry::_internal_mates_size() const { + return _impl_.mates_.size(); +} +inline int DeepPlayerStatsEntry::mates_size() const { + return _internal_mates_size(); +} +inline void DeepPlayerStatsEntry::clear_mates() { + _impl_.mates_.Clear(); +} +inline uint32_t DeepPlayerStatsEntry::_internal_mates(int index) const { + return _impl_.mates_.Get(index); +} +inline uint32_t DeepPlayerStatsEntry::mates(int index) const { + // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mates) + return _internal_mates(index); +} +inline void DeepPlayerStatsEntry::set_mates(int index, uint32_t value) { + _impl_.mates_.Set(index, value); + // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mates) +} +inline void DeepPlayerStatsEntry::_internal_add_mates(uint32_t value) { + _impl_.mates_.Add(value); +} +inline void DeepPlayerStatsEntry::add_mates(uint32_t value) { + _internal_add_mates(value); + // @@protoc_insertion_point(field_add:DeepPlayerStatsEntry.mates) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +DeepPlayerStatsEntry::_internal_mates() const { + return _impl_.mates_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +DeepPlayerStatsEntry::mates() const { + // @@protoc_insertion_point(field_list:DeepPlayerStatsEntry.mates) + return _internal_mates(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +DeepPlayerStatsEntry::_internal_mutable_mates() { + return &_impl_.mates_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +DeepPlayerStatsEntry::mutable_mates() { + // @@protoc_insertion_point(field_mutable_list:DeepPlayerStatsEntry.mates) + return _internal_mutable_mates(); +} + +// ------------------------------------------------------------------- + +// DeepPlayerMatchEvent + +// optional uint32 accountid = 1; +inline bool DeepPlayerMatchEvent::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_accountid() const { + return _internal_has_accountid(); +} +inline void DeepPlayerMatchEvent::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t DeepPlayerMatchEvent::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t DeepPlayerMatchEvent::accountid() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.accountid) + return _internal_accountid(); +} +inline void DeepPlayerMatchEvent::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void DeepPlayerMatchEvent::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.accountid) +} + +// optional uint64 match_id = 2; +inline bool DeepPlayerMatchEvent::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_match_id() const { + return _internal_has_match_id(); +} +inline void DeepPlayerMatchEvent::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t DeepPlayerMatchEvent::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t DeepPlayerMatchEvent::match_id() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.match_id) + return _internal_match_id(); +} +inline void DeepPlayerMatchEvent::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.match_id_ = value; +} +inline void DeepPlayerMatchEvent::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.match_id) +} + +// optional uint32 event_id = 3; +inline bool DeepPlayerMatchEvent::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_event_id() const { + return _internal_has_event_id(); +} +inline void DeepPlayerMatchEvent::clear_event_id() { + _impl_.event_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t DeepPlayerMatchEvent::_internal_event_id() const { + return _impl_.event_id_; +} +inline uint32_t DeepPlayerMatchEvent::event_id() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_id) + return _internal_event_id(); +} +inline void DeepPlayerMatchEvent::_internal_set_event_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.event_id_ = value; +} +inline void DeepPlayerMatchEvent::set_event_id(uint32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_id) +} + +// optional uint32 event_type = 4; +inline bool DeepPlayerMatchEvent::_internal_has_event_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_event_type() const { + return _internal_has_event_type(); +} +inline void DeepPlayerMatchEvent::clear_event_type() { + _impl_.event_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t DeepPlayerMatchEvent::_internal_event_type() const { + return _impl_.event_type_; +} +inline uint32_t DeepPlayerMatchEvent::event_type() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_type) + return _internal_event_type(); +} +inline void DeepPlayerMatchEvent::_internal_set_event_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.event_type_ = value; +} +inline void DeepPlayerMatchEvent::set_event_type(uint32_t value) { + _internal_set_event_type(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_type) +} + +// optional bool b_playing_ct = 5; +inline bool DeepPlayerMatchEvent::_internal_has_b_playing_ct() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_b_playing_ct() const { + return _internal_has_b_playing_ct(); +} +inline void DeepPlayerMatchEvent::clear_b_playing_ct() { + _impl_.b_playing_ct_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool DeepPlayerMatchEvent::_internal_b_playing_ct() const { + return _impl_.b_playing_ct_; +} +inline bool DeepPlayerMatchEvent::b_playing_ct() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.b_playing_ct) + return _internal_b_playing_ct(); +} +inline void DeepPlayerMatchEvent::_internal_set_b_playing_ct(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.b_playing_ct_ = value; +} +inline void DeepPlayerMatchEvent::set_b_playing_ct(bool value) { + _internal_set_b_playing_ct(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.b_playing_ct) +} + +// optional int32 user_pos_x = 6; +inline bool DeepPlayerMatchEvent::_internal_has_user_pos_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_user_pos_x() const { + return _internal_has_user_pos_x(); +} +inline void DeepPlayerMatchEvent::clear_user_pos_x() { + _impl_.user_pos_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t DeepPlayerMatchEvent::_internal_user_pos_x() const { + return _impl_.user_pos_x_; +} +inline int32_t DeepPlayerMatchEvent::user_pos_x() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_x) + return _internal_user_pos_x(); +} +inline void DeepPlayerMatchEvent::_internal_set_user_pos_x(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.user_pos_x_ = value; +} +inline void DeepPlayerMatchEvent::set_user_pos_x(int32_t value) { + _internal_set_user_pos_x(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_x) +} + +// optional int32 user_pos_y = 7; +inline bool DeepPlayerMatchEvent::_internal_has_user_pos_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_user_pos_y() const { + return _internal_has_user_pos_y(); +} +inline void DeepPlayerMatchEvent::clear_user_pos_y() { + _impl_.user_pos_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t DeepPlayerMatchEvent::_internal_user_pos_y() const { + return _impl_.user_pos_y_; +} +inline int32_t DeepPlayerMatchEvent::user_pos_y() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_y) + return _internal_user_pos_y(); +} +inline void DeepPlayerMatchEvent::_internal_set_user_pos_y(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.user_pos_y_ = value; +} +inline void DeepPlayerMatchEvent::set_user_pos_y(int32_t value) { + _internal_set_user_pos_y(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_y) +} + +// optional int32 user_pos_z = 12; +inline bool DeepPlayerMatchEvent::_internal_has_user_pos_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_user_pos_z() const { + return _internal_has_user_pos_z(); +} +inline void DeepPlayerMatchEvent::clear_user_pos_z() { + _impl_.user_pos_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t DeepPlayerMatchEvent::_internal_user_pos_z() const { + return _impl_.user_pos_z_; +} +inline int32_t DeepPlayerMatchEvent::user_pos_z() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_z) + return _internal_user_pos_z(); +} +inline void DeepPlayerMatchEvent::_internal_set_user_pos_z(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.user_pos_z_ = value; +} +inline void DeepPlayerMatchEvent::set_user_pos_z(int32_t value) { + _internal_set_user_pos_z(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_z) +} + +// optional uint32 user_defidx = 8; +inline bool DeepPlayerMatchEvent::_internal_has_user_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_user_defidx() const { + return _internal_has_user_defidx(); +} +inline void DeepPlayerMatchEvent::clear_user_defidx() { + _impl_.user_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t DeepPlayerMatchEvent::_internal_user_defidx() const { + return _impl_.user_defidx_; +} +inline uint32_t DeepPlayerMatchEvent::user_defidx() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_defidx) + return _internal_user_defidx(); +} +inline void DeepPlayerMatchEvent::_internal_set_user_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.user_defidx_ = value; +} +inline void DeepPlayerMatchEvent::set_user_defidx(uint32_t value) { + _internal_set_user_defidx(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_defidx) +} + +// optional int32 other_pos_x = 9; +inline bool DeepPlayerMatchEvent::_internal_has_other_pos_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_other_pos_x() const { + return _internal_has_other_pos_x(); +} +inline void DeepPlayerMatchEvent::clear_other_pos_x() { + _impl_.other_pos_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t DeepPlayerMatchEvent::_internal_other_pos_x() const { + return _impl_.other_pos_x_; +} +inline int32_t DeepPlayerMatchEvent::other_pos_x() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_x) + return _internal_other_pos_x(); +} +inline void DeepPlayerMatchEvent::_internal_set_other_pos_x(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.other_pos_x_ = value; +} +inline void DeepPlayerMatchEvent::set_other_pos_x(int32_t value) { + _internal_set_other_pos_x(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_x) +} + +// optional int32 other_pos_y = 10; +inline bool DeepPlayerMatchEvent::_internal_has_other_pos_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_other_pos_y() const { + return _internal_has_other_pos_y(); +} +inline void DeepPlayerMatchEvent::clear_other_pos_y() { + _impl_.other_pos_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t DeepPlayerMatchEvent::_internal_other_pos_y() const { + return _impl_.other_pos_y_; +} +inline int32_t DeepPlayerMatchEvent::other_pos_y() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_y) + return _internal_other_pos_y(); +} +inline void DeepPlayerMatchEvent::_internal_set_other_pos_y(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.other_pos_y_ = value; +} +inline void DeepPlayerMatchEvent::set_other_pos_y(int32_t value) { + _internal_set_other_pos_y(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_y) +} + +// optional int32 other_pos_z = 13; +inline bool DeepPlayerMatchEvent::_internal_has_other_pos_z() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_other_pos_z() const { + return _internal_has_other_pos_z(); +} +inline void DeepPlayerMatchEvent::clear_other_pos_z() { + _impl_.other_pos_z_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t DeepPlayerMatchEvent::_internal_other_pos_z() const { + return _impl_.other_pos_z_; +} +inline int32_t DeepPlayerMatchEvent::other_pos_z() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_z) + return _internal_other_pos_z(); +} +inline void DeepPlayerMatchEvent::_internal_set_other_pos_z(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.other_pos_z_ = value; +} +inline void DeepPlayerMatchEvent::set_other_pos_z(int32_t value) { + _internal_set_other_pos_z(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_z) +} + +// optional uint32 other_defidx = 11; +inline bool DeepPlayerMatchEvent::_internal_has_other_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_other_defidx() const { + return _internal_has_other_defidx(); +} +inline void DeepPlayerMatchEvent::clear_other_defidx() { + _impl_.other_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t DeepPlayerMatchEvent::_internal_other_defidx() const { + return _impl_.other_defidx_; +} +inline uint32_t DeepPlayerMatchEvent::other_defidx() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_defidx) + return _internal_other_defidx(); +} +inline void DeepPlayerMatchEvent::_internal_set_other_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.other_defidx_ = value; +} +inline void DeepPlayerMatchEvent::set_other_defidx(uint32_t value) { + _internal_set_other_defidx(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_defidx) +} + +// optional int32 event_data = 14; +inline bool DeepPlayerMatchEvent::_internal_has_event_data() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool DeepPlayerMatchEvent::has_event_data() const { + return _internal_has_event_data(); +} +inline void DeepPlayerMatchEvent::clear_event_data() { + _impl_.event_data_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t DeepPlayerMatchEvent::_internal_event_data() const { + return _impl_.event_data_; +} +inline int32_t DeepPlayerMatchEvent::event_data() const { + // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_data) + return _internal_event_data(); +} +inline void DeepPlayerMatchEvent::_internal_set_event_data(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.event_data_ = value; +} +inline void DeepPlayerMatchEvent::set_event_data(int32_t value) { + _internal_set_event_data(value); + // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_data) +} + +// ------------------------------------------------------------------- + +// CMsgGC_ServerQuestUpdateData + +// repeated .PlayerQuestData player_quest_data = 1; +inline int CMsgGC_ServerQuestUpdateData::_internal_player_quest_data_size() const { + return _impl_.player_quest_data_.size(); +} +inline int CMsgGC_ServerQuestUpdateData::player_quest_data_size() const { + return _internal_player_quest_data_size(); +} +inline void CMsgGC_ServerQuestUpdateData::clear_player_quest_data() { + _impl_.player_quest_data_.Clear(); +} +inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::mutable_player_quest_data(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.player_quest_data) + return _impl_.player_quest_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >* +CMsgGC_ServerQuestUpdateData::mutable_player_quest_data() { + // @@protoc_insertion_point(field_mutable_list:CMsgGC_ServerQuestUpdateData.player_quest_data) + return &_impl_.player_quest_data_; +} +inline const ::PlayerQuestData& CMsgGC_ServerQuestUpdateData::_internal_player_quest_data(int index) const { + return _impl_.player_quest_data_.Get(index); +} +inline const ::PlayerQuestData& CMsgGC_ServerQuestUpdateData::player_quest_data(int index) const { + // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.player_quest_data) + return _internal_player_quest_data(index); +} +inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::_internal_add_player_quest_data() { + return _impl_.player_quest_data_.Add(); +} +inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::add_player_quest_data() { + ::PlayerQuestData* _add = _internal_add_player_quest_data(); + // @@protoc_insertion_point(field_add:CMsgGC_ServerQuestUpdateData.player_quest_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >& +CMsgGC_ServerQuestUpdateData::player_quest_data() const { + // @@protoc_insertion_point(field_list:CMsgGC_ServerQuestUpdateData.player_quest_data) + return _impl_.player_quest_data_; +} + +// optional bytes binary_data = 2; +inline bool CMsgGC_ServerQuestUpdateData::_internal_has_binary_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGC_ServerQuestUpdateData::has_binary_data() const { + return _internal_has_binary_data(); +} +inline void CMsgGC_ServerQuestUpdateData::clear_binary_data() { + _impl_.binary_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGC_ServerQuestUpdateData::binary_data() const { + // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.binary_data) + return _internal_binary_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGC_ServerQuestUpdateData::set_binary_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.binary_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.binary_data) +} +inline std::string* CMsgGC_ServerQuestUpdateData::mutable_binary_data() { + std::string* _s = _internal_mutable_binary_data(); + // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.binary_data) + return _s; +} +inline const std::string& CMsgGC_ServerQuestUpdateData::_internal_binary_data() const { + return _impl_.binary_data_.Get(); +} +inline void CMsgGC_ServerQuestUpdateData::_internal_set_binary_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.binary_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGC_ServerQuestUpdateData::_internal_mutable_binary_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.binary_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGC_ServerQuestUpdateData::release_binary_data() { + // @@protoc_insertion_point(field_release:CMsgGC_ServerQuestUpdateData.binary_data) + if (!_internal_has_binary_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.binary_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.binary_data_.IsDefault()) { + _impl_.binary_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGC_ServerQuestUpdateData::set_allocated_binary_data(std::string* binary_data) { + if (binary_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.binary_data_.SetAllocated(binary_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.binary_data_.IsDefault()) { + _impl_.binary_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGC_ServerQuestUpdateData.binary_data) +} + +// optional uint32 mm_game_mode = 3; +inline bool CMsgGC_ServerQuestUpdateData::_internal_has_mm_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGC_ServerQuestUpdateData::has_mm_game_mode() const { + return _internal_has_mm_game_mode(); +} +inline void CMsgGC_ServerQuestUpdateData::clear_mm_game_mode() { + _impl_.mm_game_mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGC_ServerQuestUpdateData::_internal_mm_game_mode() const { + return _impl_.mm_game_mode_; +} +inline uint32_t CMsgGC_ServerQuestUpdateData::mm_game_mode() const { + // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.mm_game_mode) + return _internal_mm_game_mode(); +} +inline void CMsgGC_ServerQuestUpdateData::_internal_set_mm_game_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.mm_game_mode_ = value; +} +inline void CMsgGC_ServerQuestUpdateData::set_mm_game_mode(uint32_t value) { + _internal_set_mm_game_mode(value); + // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.mm_game_mode) +} + +// optional .ScoreLeaderboardData missionlbsdata = 4; +inline bool CMsgGC_ServerQuestUpdateData::_internal_has_missionlbsdata() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.missionlbsdata_ != nullptr); + return value; +} +inline bool CMsgGC_ServerQuestUpdateData::has_missionlbsdata() const { + return _internal_has_missionlbsdata(); +} +inline void CMsgGC_ServerQuestUpdateData::clear_missionlbsdata() { + if (_impl_.missionlbsdata_ != nullptr) _impl_.missionlbsdata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::ScoreLeaderboardData& CMsgGC_ServerQuestUpdateData::_internal_missionlbsdata() const { + const ::ScoreLeaderboardData* p = _impl_.missionlbsdata_; + return p != nullptr ? *p : reinterpret_cast( + ::_ScoreLeaderboardData_default_instance_); +} +inline const ::ScoreLeaderboardData& CMsgGC_ServerQuestUpdateData::missionlbsdata() const { + // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.missionlbsdata) + return _internal_missionlbsdata(); +} +inline void CMsgGC_ServerQuestUpdateData::unsafe_arena_set_allocated_missionlbsdata( + ::ScoreLeaderboardData* missionlbsdata) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.missionlbsdata_); + } + _impl_.missionlbsdata_ = missionlbsdata; + if (missionlbsdata) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGC_ServerQuestUpdateData.missionlbsdata) +} +inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::release_missionlbsdata() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::ScoreLeaderboardData* temp = _impl_.missionlbsdata_; + _impl_.missionlbsdata_ = 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 ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::unsafe_arena_release_missionlbsdata() { + // @@protoc_insertion_point(field_release:CMsgGC_ServerQuestUpdateData.missionlbsdata) + _impl_._has_bits_[0] &= ~0x00000002u; + ::ScoreLeaderboardData* temp = _impl_.missionlbsdata_; + _impl_.missionlbsdata_ = nullptr; + return temp; +} +inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::_internal_mutable_missionlbsdata() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.missionlbsdata_ == nullptr) { + auto* p = CreateMaybeMessage<::ScoreLeaderboardData>(GetArenaForAllocation()); + _impl_.missionlbsdata_ = p; + } + return _impl_.missionlbsdata_; +} +inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::mutable_missionlbsdata() { + ::ScoreLeaderboardData* _msg = _internal_mutable_missionlbsdata(); + // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.missionlbsdata) + return _msg; +} +inline void CMsgGC_ServerQuestUpdateData::set_allocated_missionlbsdata(::ScoreLeaderboardData* missionlbsdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.missionlbsdata_; + } + if (missionlbsdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(missionlbsdata); + if (message_arena != submessage_arena) { + missionlbsdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, missionlbsdata, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.missionlbsdata_ = missionlbsdata; + // @@protoc_insertion_point(field_set_allocated:CMsgGC_ServerQuestUpdateData.missionlbsdata) +} + +// optional uint32 flags = 5; +inline bool CMsgGC_ServerQuestUpdateData::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGC_ServerQuestUpdateData::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgGC_ServerQuestUpdateData::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGC_ServerQuestUpdateData::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgGC_ServerQuestUpdateData::flags() const { + // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.flags) + return _internal_flags(); +} +inline void CMsgGC_ServerQuestUpdateData::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.flags_ = value; +} +inline void CMsgGC_ServerQuestUpdateData::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.flags) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm + +// optional uint32 token = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_token() const { + return _internal_has_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_token() { + _impl_.token_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_token() const { + return _impl_.token_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::token() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.token) + return _internal_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_token(uint32_t value) { + _internal_set_token(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.token) +} + +// optional uint32 stamp = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_stamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_stamp() const { + return _internal_has_stamp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_stamp() { + _impl_.stamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_stamp() const { + return _impl_.stamp_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::stamp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.stamp) + return _internal_stamp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_stamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.stamp_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_stamp(uint32_t value) { + _internal_set_stamp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.stamp) +} + +// optional uint64 exchange = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_exchange() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_exchange() const { + return _internal_has_exchange(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_exchange() { + _impl_.exchange_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_exchange() const { + return _impl_.exchange_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::exchange() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.exchange) + return _internal_exchange(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_exchange(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.exchange_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_exchange(uint64_t value) { + _internal_set_exchange(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.exchange) +} + +// optional uint32 retry = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_retry() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_retry() const { + return _internal_has_retry(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_retry() { + _impl_.retry_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_retry() const { + return _impl_.retry_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::retry() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.retry) + return _internal_retry(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_retry(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.retry_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_retry(uint32_t value) { + _internal_set_retry(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.retry) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ServerReservationUpdate + +// optional uint32 viewers_external_total = 1; +inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_has_viewers_external_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::has_viewers_external_total() const { + return _internal_has_viewers_external_total(); +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::clear_viewers_external_total() { + _impl_.viewers_external_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_viewers_external_total() const { + return _impl_.viewers_external_total_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::viewers_external_total() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_total) + return _internal_viewers_external_total(); +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_set_viewers_external_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.viewers_external_total_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::set_viewers_external_total(uint32_t value) { + _internal_set_viewers_external_total(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_total) +} + +// optional uint32 viewers_external_steam = 2; +inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_has_viewers_external_steam() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::has_viewers_external_steam() const { + return _internal_has_viewers_external_steam(); +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::clear_viewers_external_steam() { + _impl_.viewers_external_steam_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_viewers_external_steam() const { + return _impl_.viewers_external_steam_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::viewers_external_steam() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_steam) + return _internal_viewers_external_steam(); +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_set_viewers_external_steam(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.viewers_external_steam_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::set_viewers_external_steam(uint32_t value) { + _internal_set_viewers_external_steam(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_steam) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingStart + +// repeated uint32 account_ids = 1; +inline int CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids_size() const { + return _impl_.account_ids_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingStart::account_ids_size() const { + return _internal_account_ids_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_account_ids() { + _impl_.account_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids(int index) const { + return _impl_.account_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::account_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) + return _internal_account_ids(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_account_ids(int index, uint32_t value) { + _impl_.account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_add_account_ids(uint32_t value) { + _impl_.account_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::add_account_ids(uint32_t value) { + _internal_add_account_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids() const { + return _impl_.account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingStart::account_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) + return _internal_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_account_ids() { + return &_impl_.account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingStart::mutable_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) + return _internal_mutable_account_ids(); +} + +// optional uint32 game_type = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.game_type) +} + +// optional string ticket_data = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_ticket_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_ticket_data() const { + return _internal_has_ticket_data(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_ticket_data() { + _impl_.ticket_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingStart::ticket_data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) + return _internal_ticket_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingStart::set_ticket_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_data_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::mutable_ticket_data() { + std::string* _s = _internal_mutable_ticket_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingStart::_internal_ticket_data() const { + return _impl_.ticket_data_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_ticket_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_ticket_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.ticket_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::release_ticket_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) + if (!_internal_has_ticket_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.ticket_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_data_.IsDefault()) { + _impl_.ticket_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_allocated_ticket_data(std::string* ticket_data) { + if (ticket_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ticket_data_.SetAllocated(ticket_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_data_.IsDefault()) { + _impl_.ticket_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) +} + +// optional uint32 client_version = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_client_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_client_version() const { + return _internal_has_client_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_client_version() { + _impl_.client_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_client_version() const { + return _impl_.client_version_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::client_version() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.client_version) + return _internal_client_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_client_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_version_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_client_version(uint32_t value) { + _internal_set_client_version(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.client_version) +} + +// optional .TournamentMatchSetup tournament_match = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_tournament_match() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tournament_match_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_tournament_match() const { + return _internal_has_tournament_match(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_tournament_match() { + if (_impl_.tournament_match_ != nullptr) _impl_.tournament_match_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::TournamentMatchSetup& CMsgGCCStrike15_v2_MatchmakingStart::_internal_tournament_match() const { + const ::TournamentMatchSetup* p = _impl_.tournament_match_; + return p != nullptr ? *p : reinterpret_cast( + ::_TournamentMatchSetup_default_instance_); +} +inline const ::TournamentMatchSetup& CMsgGCCStrike15_v2_MatchmakingStart::tournament_match() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) + return _internal_tournament_match(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::unsafe_arena_set_allocated_tournament_match( + ::TournamentMatchSetup* tournament_match) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_match_); + } + _impl_.tournament_match_ = tournament_match; + if (tournament_match) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) +} +inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::release_tournament_match() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::TournamentMatchSetup* temp = _impl_.tournament_match_; + _impl_.tournament_match_ = 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 ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::unsafe_arena_release_tournament_match() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) + _impl_._has_bits_[0] &= ~0x00000002u; + ::TournamentMatchSetup* temp = _impl_.tournament_match_; + _impl_.tournament_match_ = nullptr; + return temp; +} +inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_tournament_match() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.tournament_match_ == nullptr) { + auto* p = CreateMaybeMessage<::TournamentMatchSetup>(GetArenaForAllocation()); + _impl_.tournament_match_ = p; + } + return _impl_.tournament_match_; +} +inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::mutable_tournament_match() { + ::TournamentMatchSetup* _msg = _internal_mutable_tournament_match(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_allocated_tournament_match(::TournamentMatchSetup* tournament_match) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tournament_match_; + } + if (tournament_match) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_match); + if (message_arena != submessage_arena) { + tournament_match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tournament_match, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.tournament_match_ = tournament_match; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) +} + +// optional bool prime_only = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_prime_only() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_prime_only() const { + return _internal_has_prime_only(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_prime_only() { + _impl_.prime_only_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_prime_only() const { + return _impl_.prime_only_; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::prime_only() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.prime_only) + return _internal_prime_only(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_prime_only(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.prime_only_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_prime_only(bool value) { + _internal_set_prime_only(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.prime_only) +} + +// optional uint32 tv_control = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_tv_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_tv_control() const { + return _internal_has_tv_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_tv_control() { + _impl_.tv_control_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_tv_control() const { + return _impl_.tv_control_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::tv_control() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.tv_control) + return _internal_tv_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_tv_control(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tv_control_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_tv_control(uint32_t value) { + _internal_set_tv_control(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.tv_control) +} + +// optional uint64 lobby_id = 8; +inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_lobby_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_lobby_id() const { + return _internal_has_lobby_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_lobby_id() { + _impl_.lobby_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_lobby_id() const { + return _impl_.lobby_id_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingStart::lobby_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.lobby_id) + return _internal_lobby_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_lobby_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.lobby_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStart::set_lobby_id(uint64_t value) { + _internal_set_lobby_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.lobby_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingStop + +// optional int32 abandon = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingStop::_internal_has_abandon() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingStop::has_abandon() const { + return _internal_has_abandon(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStop::clear_abandon() { + _impl_.abandon_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingStop::_internal_abandon() const { + return _impl_.abandon_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingStop::abandon() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStop.abandon) + return _internal_abandon(); +} +inline void CMsgGCCStrike15_v2_MatchmakingStop::_internal_set_abandon(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.abandon_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingStop::set_abandon(int32_t value) { + _internal_set_abandon(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStop.abandon) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note + +// optional int32 type = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_type() const { + return _internal_has_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_type() const { + return _impl_.type_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.type) + return _internal_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.type) +} + +// optional int32 region_id = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_region_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_region_id() const { + return _internal_has_region_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_region_id() { + _impl_.region_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_region_id() const { + return _impl_.region_id_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::region_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_id) + return _internal_region_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_region_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.region_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_region_id(int32_t value) { + _internal_set_region_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_id) +} + +// optional float region_r = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_region_r() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_region_r() const { + return _internal_has_region_r(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_region_r() { + _impl_.region_r_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_region_r() const { + return _impl_.region_r_; +} +inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::region_r() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_r) + return _internal_region_r(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_region_r(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.region_r_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_region_r(float value) { + _internal_set_region_r(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_r) +} + +// optional float distance = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_distance() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_distance() const { + return _internal_has_distance(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_distance() { + _impl_.distance_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_distance() const { + return _impl_.distance_; +} +inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::distance() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.distance) + return _internal_distance(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_distance(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.distance_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_distance(float value) { + _internal_set_distance(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.distance) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingClient2ServerPing + +// repeated .GameServerPing gameserverpings = 1; +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_gameserverpings_size() const { + return _impl_.gameserverpings_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings_size() const { + return _internal_gameserverpings_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_gameserverpings() { + _impl_.gameserverpings_.Clear(); +} +inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_gameserverpings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) + return _impl_.gameserverpings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >* +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_gameserverpings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) + return &_impl_.gameserverpings_; +} +inline const ::GameServerPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_gameserverpings(int index) const { + return _impl_.gameserverpings_.Get(index); +} +inline const ::GameServerPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) + return _internal_gameserverpings(index); +} +inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_gameserverpings() { + return _impl_.gameserverpings_.Add(); +} +inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_gameserverpings() { + ::GameServerPing* _add = _internal_add_gameserverpings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >& +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) + return _impl_.gameserverpings_; +} + +// optional int32 offset_index = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_offset_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_offset_index() const { + return _internal_has_offset_index(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_offset_index() { + _impl_.offset_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_offset_index() const { + return _impl_.offset_index_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::offset_index() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.offset_index) + return _internal_offset_index(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_offset_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.offset_index_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_offset_index(int32_t value) { + _internal_set_offset_index(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.offset_index) +} + +// optional int32 final_batch = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_final_batch() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_final_batch() const { + return _internal_has_final_batch(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_final_batch() { + _impl_.final_batch_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_final_batch() const { + return _impl_.final_batch_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::final_batch() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.final_batch) + return _internal_final_batch(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_final_batch(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.final_batch_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_final_batch(int32_t value) { + _internal_set_final_batch(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.final_batch) +} + +// repeated .DataCenterPing data_center_pings = 4; +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_data_center_pings_size() const { + return _impl_.data_center_pings_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings_size() const { + return _internal_data_center_pings_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_data_center_pings() { + _impl_.data_center_pings_.Clear(); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_data_center_pings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) + return _impl_.data_center_pings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_data_center_pings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) + return &_impl_.data_center_pings_; +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_data_center_pings(int index) const { + return _impl_.data_center_pings_.Get(index); +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) + return _internal_data_center_pings(index); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_data_center_pings() { + return _impl_.data_center_pings_.Add(); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_data_center_pings() { + ::DataCenterPing* _add = _internal_add_data_center_pings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) + return _impl_.data_center_pings_; +} + +// optional uint32 max_ping = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_max_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_max_ping() const { + return _internal_has_max_ping(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_max_ping() { + _impl_.max_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_max_ping() const { + return _impl_.max_ping_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::max_ping() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.max_ping) + return _internal_max_ping(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_max_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.max_ping_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_max_ping(uint32_t value) { + _internal_set_max_ping(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.max_ping) +} + +// optional fixed32 test_token = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_test_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_test_token() const { + return _internal_has_test_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_test_token() { + _impl_.test_token_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_test_token() const { + return _impl_.test_token_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::test_token() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.test_token) + return _internal_test_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_test_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.test_token_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_test_token(uint32_t value) { + _internal_set_test_token(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.test_token) +} + +// optional bytes search_key = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_search_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_search_key() const { + return _internal_has_search_key(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_search_key() { + _impl_.search_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::search_key() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) + return _internal_search_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_search_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.search_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_search_key() { + std::string* _s = _internal_mutable_search_key(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_search_key() const { + return _impl_.search_key_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_search_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.search_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_mutable_search_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.search_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::release_search_key() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) + if (!_internal_has_search_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.search_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.search_key_.IsDefault()) { + _impl_.search_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_allocated_search_key(std::string* search_key) { + if (search_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.search_key_.SetAllocated(search_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.search_key_.IsDefault()) { + _impl_.search_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) +} + +// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_notes_size() const { + return _impl_.notes_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes_size() const { + return _internal_notes_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_notes() { + _impl_.notes_.Clear(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_notes(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) + return _impl_.notes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_notes() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) + return &_impl_.notes_; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_notes(int index) const { + return _impl_.notes_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) + return _internal_notes(index); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_notes() { + return _impl_.notes_.Add(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_notes() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _add = _internal_add_notes(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& +CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) + return _impl_.notes_; +} + +// optional string debug_message = 9; +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_debug_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_debug_message() const { + return _internal_has_debug_message(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_debug_message() { + _impl_.debug_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::debug_message() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) + return _internal_debug_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_debug_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.debug_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_debug_message() { + std::string* _s = _internal_mutable_debug_message(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_debug_message() const { + return _impl_.debug_message_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_debug_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.debug_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_mutable_debug_message() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.debug_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::release_debug_message() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) + if (!_internal_has_debug_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.debug_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_message_.IsDefault()) { + _impl_.debug_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_allocated_debug_message(std::string* debug_message) { + if (debug_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.debug_message_.SetAllocated(debug_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_message_.IsDefault()) { + _impl_.debug_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate + +// optional int32 matchmaking = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_matchmaking() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_matchmaking() const { + return _internal_has_matchmaking(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_matchmaking() { + _impl_.matchmaking_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_matchmaking() const { + return _impl_.matchmaking_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::matchmaking() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.matchmaking) + return _internal_matchmaking(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_set_matchmaking(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.matchmaking_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_matchmaking(int32_t value) { + _internal_set_matchmaking(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.matchmaking) +} + +// repeated uint32 waiting_account_id_sessions = 2; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions_size() const { + return _impl_.waiting_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions_size() const { + return _internal_waiting_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_waiting_account_id_sessions() { + _impl_.waiting_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions(int index) const { + return _impl_.waiting_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) + return _internal_waiting_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_waiting_account_id_sessions(int index, uint32_t value) { + _impl_.waiting_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_waiting_account_id_sessions(uint32_t value) { + _impl_.waiting_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_waiting_account_id_sessions(uint32_t value) { + _internal_add_waiting_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions() const { + return _impl_.waiting_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) + return _internal_waiting_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_waiting_account_id_sessions() { + return &_impl_.waiting_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_waiting_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) + return _internal_mutable_waiting_account_id_sessions(); +} + +// optional string error = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_error() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_error() const { + return _internal_has_error(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_error() { + _impl_.error_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::error() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) + return _internal_error(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_error(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_error() { + std::string* _s = _internal_mutable_error(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_error() const { + return _impl_.error_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_set_error(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_error() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.error_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_error() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) + if (!_internal_has_error()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.error_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_.IsDefault()) { + _impl_.error_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_error(std::string* error) { + if (error != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.error_.SetAllocated(error, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_.IsDefault()) { + _impl_.error_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) +} + +// repeated uint32 ongoingmatch_account_id_sessions = 6; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions_size() const { + return _impl_.ongoingmatch_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions_size() const { + return _internal_ongoingmatch_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_ongoingmatch_account_id_sessions() { + _impl_.ongoingmatch_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions(int index) const { + return _impl_.ongoingmatch_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) + return _internal_ongoingmatch_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_ongoingmatch_account_id_sessions(int index, uint32_t value) { + _impl_.ongoingmatch_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_ongoingmatch_account_id_sessions(uint32_t value) { + _impl_.ongoingmatch_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_ongoingmatch_account_id_sessions(uint32_t value) { + _internal_add_ongoingmatch_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions() const { + return _impl_.ongoingmatch_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) + return _internal_ongoingmatch_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_ongoingmatch_account_id_sessions() { + return &_impl_.ongoingmatch_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_ongoingmatch_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) + return _internal_mutable_ongoingmatch_account_id_sessions(); +} + +// optional .GlobalStatistics global_stats = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_global_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.global_stats_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_global_stats() const { + return _internal_has_global_stats(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_global_stats() { + if (_impl_.global_stats_ != nullptr) _impl_.global_stats_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_global_stats() const { + const ::GlobalStatistics* p = _impl_.global_stats_; + return p != nullptr ? *p : reinterpret_cast( + ::_GlobalStatistics_default_instance_); +} +inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::global_stats() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) + return _internal_global_stats(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_set_allocated_global_stats( + ::GlobalStatistics* global_stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_stats_); + } + _impl_.global_stats_ = global_stats; + if (global_stats) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_global_stats() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::GlobalStatistics* temp = _impl_.global_stats_; + _impl_.global_stats_ = 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 ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_release_global_stats() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) + _impl_._has_bits_[0] &= ~0x00000002u; + ::GlobalStatistics* temp = _impl_.global_stats_; + _impl_.global_stats_ = nullptr; + return temp; +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_global_stats() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.global_stats_ == nullptr) { + auto* p = CreateMaybeMessage<::GlobalStatistics>(GetArenaForAllocation()); + _impl_.global_stats_ = p; + } + return _impl_.global_stats_; +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_global_stats() { + ::GlobalStatistics* _msg = _internal_mutable_global_stats(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_global_stats(::GlobalStatistics* global_stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.global_stats_; + } + if (global_stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(global_stats); + if (message_arena != submessage_arena) { + global_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, global_stats, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.global_stats_ = global_stats; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) +} + +// repeated uint32 failping_account_id_sessions = 8; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions_size() const { + return _impl_.failping_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions_size() const { + return _internal_failping_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_failping_account_id_sessions() { + _impl_.failping_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions(int index) const { + return _impl_.failping_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) + return _internal_failping_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_failping_account_id_sessions(int index, uint32_t value) { + _impl_.failping_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_failping_account_id_sessions(uint32_t value) { + _impl_.failping_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_failping_account_id_sessions(uint32_t value) { + _internal_add_failping_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions() const { + return _impl_.failping_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) + return _internal_failping_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_failping_account_id_sessions() { + return &_impl_.failping_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_failping_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) + return _internal_mutable_failping_account_id_sessions(); +} + +// repeated uint32 penalty_account_id_sessions = 9; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_size() const { + return _impl_.penalty_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_size() const { + return _internal_penalty_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_penalty_account_id_sessions() { + _impl_.penalty_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions(int index) const { + return _impl_.penalty_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) + return _internal_penalty_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_penalty_account_id_sessions(int index, uint32_t value) { + _impl_.penalty_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_penalty_account_id_sessions(uint32_t value) { + _impl_.penalty_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_penalty_account_id_sessions(uint32_t value) { + _internal_add_penalty_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions() const { + return _impl_.penalty_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) + return _internal_penalty_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_penalty_account_id_sessions() { + return &_impl_.penalty_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_penalty_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) + return _internal_mutable_penalty_account_id_sessions(); +} + +// repeated uint32 failready_account_id_sessions = 10; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions_size() const { + return _impl_.failready_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions_size() const { + return _internal_failready_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_failready_account_id_sessions() { + _impl_.failready_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions(int index) const { + return _impl_.failready_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) + return _internal_failready_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_failready_account_id_sessions(int index, uint32_t value) { + _impl_.failready_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_failready_account_id_sessions(uint32_t value) { + _impl_.failready_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_failready_account_id_sessions(uint32_t value) { + _internal_add_failready_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions() const { + return _impl_.failready_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) + return _internal_failready_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_failready_account_id_sessions() { + return &_impl_.failready_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_failready_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) + return _internal_mutable_failready_account_id_sessions(); +} + +// repeated uint32 vacbanned_account_id_sessions = 11; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions_size() const { + return _impl_.vacbanned_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions_size() const { + return _internal_vacbanned_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_vacbanned_account_id_sessions() { + _impl_.vacbanned_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions(int index) const { + return _impl_.vacbanned_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) + return _internal_vacbanned_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_vacbanned_account_id_sessions(int index, uint32_t value) { + _impl_.vacbanned_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_vacbanned_account_id_sessions(uint32_t value) { + _impl_.vacbanned_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_vacbanned_account_id_sessions(uint32_t value) { + _internal_add_vacbanned_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions() const { + return _impl_.vacbanned_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) + return _internal_vacbanned_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_vacbanned_account_id_sessions() { + return &_impl_.vacbanned_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_vacbanned_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) + return _internal_mutable_vacbanned_account_id_sessions(); +} + +// optional .IpAddressMask server_ipaddress_mask = 12; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_server_ipaddress_mask() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.server_ipaddress_mask_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_server_ipaddress_mask() const { + return _internal_has_server_ipaddress_mask(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_server_ipaddress_mask() { + if (_impl_.server_ipaddress_mask_ != nullptr) _impl_.server_ipaddress_mask_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_server_ipaddress_mask() const { + const ::IpAddressMask* p = _impl_.server_ipaddress_mask_; + return p != nullptr ? *p : reinterpret_cast( + ::_IpAddressMask_default_instance_); +} +inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::server_ipaddress_mask() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) + return _internal_server_ipaddress_mask(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_set_allocated_server_ipaddress_mask( + ::IpAddressMask* server_ipaddress_mask) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_ipaddress_mask_); + } + _impl_.server_ipaddress_mask_ = server_ipaddress_mask; + if (server_ipaddress_mask) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_server_ipaddress_mask() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::IpAddressMask* temp = _impl_.server_ipaddress_mask_; + _impl_.server_ipaddress_mask_ = 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 ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_release_server_ipaddress_mask() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) + _impl_._has_bits_[0] &= ~0x00000004u; + ::IpAddressMask* temp = _impl_.server_ipaddress_mask_; + _impl_.server_ipaddress_mask_ = nullptr; + return temp; +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_server_ipaddress_mask() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.server_ipaddress_mask_ == nullptr) { + auto* p = CreateMaybeMessage<::IpAddressMask>(GetArenaForAllocation()); + _impl_.server_ipaddress_mask_ = p; + } + return _impl_.server_ipaddress_mask_; +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_server_ipaddress_mask() { + ::IpAddressMask* _msg = _internal_mutable_server_ipaddress_mask(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_server_ipaddress_mask(::IpAddressMask* server_ipaddress_mask) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.server_ipaddress_mask_; + } + if (server_ipaddress_mask) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_ipaddress_mask); + if (message_arena != submessage_arena) { + server_ipaddress_mask = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, server_ipaddress_mask, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.server_ipaddress_mask_ = server_ipaddress_mask; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) +} + +// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_notes_size() const { + return _impl_.notes_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes_size() const { + return _internal_notes_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_notes() { + _impl_.notes_.Clear(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_notes(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) + return _impl_.notes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_notes() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) + return &_impl_.notes_; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_notes(int index) const { + return _impl_.notes_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) + return _internal_notes(index); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_notes() { + return _impl_.notes_.Add(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_notes() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _add = _internal_add_notes(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) + return _impl_.notes_; +} + +// repeated uint32 penalty_account_id_sessions_green = 14; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green_size() const { + return _impl_.penalty_account_id_sessions_green_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green_size() const { + return _internal_penalty_account_id_sessions_green_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_penalty_account_id_sessions_green() { + _impl_.penalty_account_id_sessions_green_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green(int index) const { + return _impl_.penalty_account_id_sessions_green_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) + return _internal_penalty_account_id_sessions_green(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_penalty_account_id_sessions_green(int index, uint32_t value) { + _impl_.penalty_account_id_sessions_green_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_penalty_account_id_sessions_green(uint32_t value) { + _impl_.penalty_account_id_sessions_green_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_penalty_account_id_sessions_green(uint32_t value) { + _internal_add_penalty_account_id_sessions_green(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green() const { + return _impl_.penalty_account_id_sessions_green_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) + return _internal_penalty_account_id_sessions_green(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_penalty_account_id_sessions_green() { + return &_impl_.penalty_account_id_sessions_green_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_penalty_account_id_sessions_green() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) + return _internal_mutable_penalty_account_id_sessions_green(); +} + +// repeated uint32 insufficientlevel_sessions = 15; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions_size() const { + return _impl_.insufficientlevel_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions_size() const { + return _internal_insufficientlevel_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_insufficientlevel_sessions() { + _impl_.insufficientlevel_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions(int index) const { + return _impl_.insufficientlevel_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) + return _internal_insufficientlevel_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_insufficientlevel_sessions(int index, uint32_t value) { + _impl_.insufficientlevel_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_insufficientlevel_sessions(uint32_t value) { + _impl_.insufficientlevel_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_insufficientlevel_sessions(uint32_t value) { + _internal_add_insufficientlevel_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions() const { + return _impl_.insufficientlevel_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) + return _internal_insufficientlevel_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_insufficientlevel_sessions() { + return &_impl_.insufficientlevel_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_insufficientlevel_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) + return _internal_mutable_insufficientlevel_sessions(); +} + +// repeated uint32 vsncheck_account_id_sessions = 16; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions_size() const { + return _impl_.vsncheck_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions_size() const { + return _internal_vsncheck_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_vsncheck_account_id_sessions() { + _impl_.vsncheck_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions(int index) const { + return _impl_.vsncheck_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) + return _internal_vsncheck_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_vsncheck_account_id_sessions(int index, uint32_t value) { + _impl_.vsncheck_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_vsncheck_account_id_sessions(uint32_t value) { + _impl_.vsncheck_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_vsncheck_account_id_sessions(uint32_t value) { + _internal_add_vsncheck_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions() const { + return _impl_.vsncheck_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) + return _internal_vsncheck_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_vsncheck_account_id_sessions() { + return &_impl_.vsncheck_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_vsncheck_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) + return _internal_mutable_vsncheck_account_id_sessions(); +} + +// repeated uint32 launcher_mismatch_sessions = 17; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions_size() const { + return _impl_.launcher_mismatch_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions_size() const { + return _internal_launcher_mismatch_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_launcher_mismatch_sessions() { + _impl_.launcher_mismatch_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions(int index) const { + return _impl_.launcher_mismatch_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) + return _internal_launcher_mismatch_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_launcher_mismatch_sessions(int index, uint32_t value) { + _impl_.launcher_mismatch_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_launcher_mismatch_sessions(uint32_t value) { + _impl_.launcher_mismatch_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_launcher_mismatch_sessions(uint32_t value) { + _internal_add_launcher_mismatch_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions() const { + return _impl_.launcher_mismatch_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) + return _internal_launcher_mismatch_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_launcher_mismatch_sessions() { + return &_impl_.launcher_mismatch_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_launcher_mismatch_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) + return _internal_mutable_launcher_mismatch_sessions(); +} + +// repeated uint32 insecure_account_id_sessions = 18; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions_size() const { + return _impl_.insecure_account_id_sessions_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions_size() const { + return _internal_insecure_account_id_sessions_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_insecure_account_id_sessions() { + _impl_.insecure_account_id_sessions_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions(int index) const { + return _impl_.insecure_account_id_sessions_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) + return _internal_insecure_account_id_sessions(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_insecure_account_id_sessions(int index, uint32_t value) { + _impl_.insecure_account_id_sessions_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_insecure_account_id_sessions(uint32_t value) { + _impl_.insecure_account_id_sessions_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_insecure_account_id_sessions(uint32_t value) { + _internal_add_insecure_account_id_sessions(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions() const { + return _impl_.insecure_account_id_sessions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) + return _internal_insecure_account_id_sessions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_insecure_account_id_sessions() { + return &_impl_.insecure_account_id_sessions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_insecure_account_id_sessions() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) + return _internal_mutable_insecure_account_id_sessions(); +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentMatchDraft_Entry + +// optional int32 mapid = 1; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_has_mapid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::has_mapid() const { + return _internal_has_mapid(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::clear_mapid() { + _impl_.mapid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_mapid() const { + return _impl_.mapid_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::mapid() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.mapid) + return _internal_mapid(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_set_mapid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mapid_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::set_mapid(int32_t value) { + _internal_set_mapid(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.mapid) +} + +// optional int32 team_id_ct = 2; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_has_team_id_ct() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::has_team_id_ct() const { + return _internal_has_team_id_ct(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::clear_team_id_ct() { + _impl_.team_id_ct_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_team_id_ct() const { + return _impl_.team_id_ct_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::team_id_ct() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.team_id_ct) + return _internal_team_id_ct(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_set_team_id_ct(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_id_ct_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::set_team_id_ct(int32_t value) { + _internal_set_team_id_ct(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.team_id_ct) +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentMatchDraft + +// optional int32 event_id = 1; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_event_id() const { + return _internal_has_event_id(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_event_id() { + _impl_.event_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_event_id() const { + return _impl_.event_id_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::event_id() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.event_id) + return _internal_event_id(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_event_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_id_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_event_id(int32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.event_id) +} + +// optional int32 event_stage_id = 2; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_event_stage_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_event_stage_id() const { + return _internal_has_event_stage_id(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_event_stage_id() { + _impl_.event_stage_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_event_stage_id() const { + return _impl_.event_stage_id_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::event_stage_id() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.event_stage_id) + return _internal_event_stage_id(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_event_stage_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.event_stage_id_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_event_stage_id(int32_t value) { + _internal_set_event_stage_id(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.event_stage_id) +} + +// optional int32 team_id_0 = 3; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_0() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_0() const { + return _internal_has_team_id_0(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_0() { + _impl_.team_id_0_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_0() const { + return _impl_.team_id_0_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_0() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_0) + return _internal_team_id_0(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_0(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_id_0_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_0(int32_t value) { + _internal_set_team_id_0(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_0) +} + +// optional int32 team_id_1 = 4; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_1() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_1() const { + return _internal_has_team_id_1(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_1() { + _impl_.team_id_1_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_1() const { + return _impl_.team_id_1_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_1() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_1) + return _internal_team_id_1(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_1(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.team_id_1_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_1(int32_t value) { + _internal_set_team_id_1(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_1) +} + +// optional int32 maps_count = 5; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_maps_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_maps_count() const { + return _internal_has_maps_count(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_maps_count() { + _impl_.maps_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_maps_count() const { + return _impl_.maps_count_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::maps_count() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.maps_count) + return _internal_maps_count(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_maps_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.maps_count_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_maps_count(int32_t value) { + _internal_set_maps_count(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.maps_count) +} + +// optional int32 maps_current = 6; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_maps_current() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_maps_current() const { + return _internal_has_maps_current(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_maps_current() { + _impl_.maps_current_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_maps_current() const { + return _impl_.maps_current_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::maps_current() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.maps_current) + return _internal_maps_current(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_maps_current(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.maps_current_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_maps_current(int32_t value) { + _internal_set_maps_current(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.maps_current) +} + +// optional int32 team_id_start = 7; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_start() const { + return _internal_has_team_id_start(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_start() { + _impl_.team_id_start_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_start() const { + return _impl_.team_id_start_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_start() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_start) + return _internal_team_id_start(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_start(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.team_id_start_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_start(int32_t value) { + _internal_set_team_id_start(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_start) +} + +// optional int32 team_id_veto1 = 8; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_veto1() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_veto1() const { + return _internal_has_team_id_veto1(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_veto1() { + _impl_.team_id_veto1_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_veto1() const { + return _impl_.team_id_veto1_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_veto1() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_veto1) + return _internal_team_id_veto1(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_veto1(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.team_id_veto1_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_veto1(int32_t value) { + _internal_set_team_id_veto1(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_veto1) +} + +// optional int32 team_id_pickn = 9; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_pickn() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_pickn() const { + return _internal_has_team_id_pickn(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_pickn() { + _impl_.team_id_pickn_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_pickn() const { + return _impl_.team_id_pickn_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_pickn() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_pickn) + return _internal_team_id_pickn(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_pickn(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.team_id_pickn_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_pickn(int32_t value) { + _internal_set_team_id_pickn(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_pickn) +} + +// repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_drafts_size() const { + return _impl_.drafts_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::drafts_size() const { + return _internal_drafts_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_drafts() { + _impl_.drafts_.Clear(); +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::mutable_drafts(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) + return _impl_.drafts_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_drafts() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) + return &_impl_.drafts_; +} +inline const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& CDataGCCStrike15_v2_TournamentMatchDraft::_internal_drafts(int index) const { + return _impl_.drafts_.Get(index); +} +inline const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& CDataGCCStrike15_v2_TournamentMatchDraft::drafts(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) + return _internal_drafts(index); +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_drafts() { + return _impl_.drafts_.Add(); +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::add_drafts() { + ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* _add = _internal_add_drafts(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >& +CDataGCCStrike15_v2_TournamentMatchDraft::drafts() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) + return _impl_.drafts_; +} + +// repeated int32 vote_mapid_0 = 11; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0_size() const { + return _impl_.vote_mapid_0_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0_size() const { + return _internal_vote_mapid_0_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_0() { + _impl_.vote_mapid_0_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0(int index) const { + return _impl_.vote_mapid_0_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) + return _internal_vote_mapid_0(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_0(int index, int32_t value) { + _impl_.vote_mapid_0_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_0(int32_t value) { + _impl_.vote_mapid_0_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_0(int32_t value) { + _internal_add_vote_mapid_0(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0() const { + return _impl_.vote_mapid_0_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) + return _internal_vote_mapid_0(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_0() { + return &_impl_.vote_mapid_0_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_0() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) + return _internal_mutable_vote_mapid_0(); +} + +// repeated int32 vote_mapid_1 = 12; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1_size() const { + return _impl_.vote_mapid_1_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1_size() const { + return _internal_vote_mapid_1_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_1() { + _impl_.vote_mapid_1_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1(int index) const { + return _impl_.vote_mapid_1_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) + return _internal_vote_mapid_1(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_1(int index, int32_t value) { + _impl_.vote_mapid_1_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_1(int32_t value) { + _impl_.vote_mapid_1_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_1(int32_t value) { + _internal_add_vote_mapid_1(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1() const { + return _impl_.vote_mapid_1_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) + return _internal_vote_mapid_1(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_1() { + return &_impl_.vote_mapid_1_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_1() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) + return _internal_mutable_vote_mapid_1(); +} + +// repeated int32 vote_mapid_2 = 13; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2_size() const { + return _impl_.vote_mapid_2_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2_size() const { + return _internal_vote_mapid_2_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_2() { + _impl_.vote_mapid_2_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2(int index) const { + return _impl_.vote_mapid_2_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) + return _internal_vote_mapid_2(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_2(int index, int32_t value) { + _impl_.vote_mapid_2_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_2(int32_t value) { + _impl_.vote_mapid_2_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_2(int32_t value) { + _internal_add_vote_mapid_2(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2() const { + return _impl_.vote_mapid_2_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) + return _internal_vote_mapid_2(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_2() { + return &_impl_.vote_mapid_2_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_2() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) + return _internal_mutable_vote_mapid_2(); +} + +// repeated int32 vote_mapid_3 = 14; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3_size() const { + return _impl_.vote_mapid_3_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3_size() const { + return _internal_vote_mapid_3_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_3() { + _impl_.vote_mapid_3_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3(int index) const { + return _impl_.vote_mapid_3_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) + return _internal_vote_mapid_3(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_3(int index, int32_t value) { + _impl_.vote_mapid_3_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_3(int32_t value) { + _impl_.vote_mapid_3_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_3(int32_t value) { + _internal_add_vote_mapid_3(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3() const { + return _impl_.vote_mapid_3_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) + return _internal_vote_mapid_3(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_3() { + return &_impl_.vote_mapid_3_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_3() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) + return _internal_mutable_vote_mapid_3(); +} + +// repeated int32 vote_mapid_4 = 15; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4_size() const { + return _impl_.vote_mapid_4_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4_size() const { + return _internal_vote_mapid_4_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_4() { + _impl_.vote_mapid_4_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4(int index) const { + return _impl_.vote_mapid_4_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) + return _internal_vote_mapid_4(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_4(int index, int32_t value) { + _impl_.vote_mapid_4_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_4(int32_t value) { + _impl_.vote_mapid_4_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_4(int32_t value) { + _internal_add_vote_mapid_4(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4() const { + return _impl_.vote_mapid_4_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) + return _internal_vote_mapid_4(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_4() { + return &_impl_.vote_mapid_4_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_4() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) + return _internal_mutable_vote_mapid_4(); +} + +// repeated int32 vote_mapid_5 = 16; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5_size() const { + return _impl_.vote_mapid_5_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5_size() const { + return _internal_vote_mapid_5_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_5() { + _impl_.vote_mapid_5_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5(int index) const { + return _impl_.vote_mapid_5_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) + return _internal_vote_mapid_5(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_5(int index, int32_t value) { + _impl_.vote_mapid_5_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_5(int32_t value) { + _impl_.vote_mapid_5_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_5(int32_t value) { + _internal_add_vote_mapid_5(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5() const { + return _impl_.vote_mapid_5_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) + return _internal_vote_mapid_5(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_5() { + return &_impl_.vote_mapid_5_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_5() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) + return _internal_mutable_vote_mapid_5(); +} + +// repeated int32 vote_starting_side = 17; +inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side_size() const { + return _impl_.vote_starting_side_.size(); +} +inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side_size() const { + return _internal_vote_starting_side_size(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_starting_side() { + _impl_.vote_starting_side_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side(int index) const { + return _impl_.vote_starting_side_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) + return _internal_vote_starting_side(index); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_starting_side(int index, int32_t value) { + _impl_.vote_starting_side_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_starting_side(int32_t value) { + _impl_.vote_starting_side_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_starting_side(int32_t value) { + _internal_add_vote_starting_side(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side() const { + return _impl_.vote_starting_side_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) + return _internal_vote_starting_side(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_starting_side() { + return &_impl_.vote_starting_side_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_starting_side() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) + return _internal_mutable_vote_starting_side(); +} + +// optional int32 vote_phase = 18; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase() const { + return _internal_has_vote_phase(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase() { + _impl_.vote_phase_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase() const { + return _impl_.vote_phase_; +} +inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase) + return _internal_vote_phase(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.vote_phase_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase(int32_t value) { + _internal_set_vote_phase(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase) +} + +// optional float vote_phase_start = 19; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase_start() const { + return _internal_has_vote_phase_start(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase_start() { + _impl_.vote_phase_start_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase_start() const { + return _impl_.vote_phase_start_; +} +inline float CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase_start() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_start) + return _internal_vote_phase_start(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase_start(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.vote_phase_start_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase_start(float value) { + _internal_set_vote_phase_start(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_start) +} + +// optional float vote_phase_length = 20; +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase_length() const { + return _internal_has_vote_phase_length(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase_length() { + _impl_.vote_phase_length_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline float CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase_length() const { + return _impl_.vote_phase_length_; +} +inline float CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase_length() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_length) + return _internal_vote_phase_length(); +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase_length(float value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.vote_phase_length_ = value; +} +inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase_length(float value) { + _internal_set_vote_phase_length(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_length) +} + +// ------------------------------------------------------------------- + +// CPreMatchInfoData_TeamStats + +// optional int32 match_info_idxtxt = 1; +inline bool CPreMatchInfoData_TeamStats::_internal_has_match_info_idxtxt() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPreMatchInfoData_TeamStats::has_match_info_idxtxt() const { + return _internal_has_match_info_idxtxt(); +} +inline void CPreMatchInfoData_TeamStats::clear_match_info_idxtxt() { + _impl_.match_info_idxtxt_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CPreMatchInfoData_TeamStats::_internal_match_info_idxtxt() const { + return _impl_.match_info_idxtxt_; +} +inline int32_t CPreMatchInfoData_TeamStats::match_info_idxtxt() const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_idxtxt) + return _internal_match_info_idxtxt(); +} +inline void CPreMatchInfoData_TeamStats::_internal_set_match_info_idxtxt(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.match_info_idxtxt_ = value; +} +inline void CPreMatchInfoData_TeamStats::set_match_info_idxtxt(int32_t value) { + _internal_set_match_info_idxtxt(value); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_idxtxt) +} + +// optional string match_info_txt = 2; +inline bool CPreMatchInfoData_TeamStats::_internal_has_match_info_txt() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPreMatchInfoData_TeamStats::has_match_info_txt() const { + return _internal_has_match_info_txt(); +} +inline void CPreMatchInfoData_TeamStats::clear_match_info_txt() { + _impl_.match_info_txt_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPreMatchInfoData_TeamStats::match_info_txt() const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_txt) + return _internal_match_info_txt(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPreMatchInfoData_TeamStats::set_match_info_txt(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.match_info_txt_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_txt) +} +inline std::string* CPreMatchInfoData_TeamStats::mutable_match_info_txt() { + std::string* _s = _internal_mutable_match_info_txt(); + // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.TeamStats.match_info_txt) + return _s; +} +inline const std::string& CPreMatchInfoData_TeamStats::_internal_match_info_txt() const { + return _impl_.match_info_txt_.Get(); +} +inline void CPreMatchInfoData_TeamStats::_internal_set_match_info_txt(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.match_info_txt_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPreMatchInfoData_TeamStats::_internal_mutable_match_info_txt() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.match_info_txt_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPreMatchInfoData_TeamStats::release_match_info_txt() { + // @@protoc_insertion_point(field_release:CPreMatchInfoData.TeamStats.match_info_txt) + if (!_internal_has_match_info_txt()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.match_info_txt_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.match_info_txt_.IsDefault()) { + _impl_.match_info_txt_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPreMatchInfoData_TeamStats::set_allocated_match_info_txt(std::string* match_info_txt) { + if (match_info_txt != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.match_info_txt_.SetAllocated(match_info_txt, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.match_info_txt_.IsDefault()) { + _impl_.match_info_txt_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPreMatchInfoData.TeamStats.match_info_txt) +} + +// repeated string match_info_teams = 3; +inline int CPreMatchInfoData_TeamStats::_internal_match_info_teams_size() const { + return _impl_.match_info_teams_.size(); +} +inline int CPreMatchInfoData_TeamStats::match_info_teams_size() const { + return _internal_match_info_teams_size(); +} +inline void CPreMatchInfoData_TeamStats::clear_match_info_teams() { + _impl_.match_info_teams_.Clear(); +} +inline std::string* CPreMatchInfoData_TeamStats::add_match_info_teams() { + std::string* _s = _internal_add_match_info_teams(); + // @@protoc_insertion_point(field_add_mutable:CPreMatchInfoData.TeamStats.match_info_teams) + return _s; +} +inline const std::string& CPreMatchInfoData_TeamStats::_internal_match_info_teams(int index) const { + return _impl_.match_info_teams_.Get(index); +} +inline const std::string& CPreMatchInfoData_TeamStats::match_info_teams(int index) const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_teams) + return _internal_match_info_teams(index); +} +inline std::string* CPreMatchInfoData_TeamStats::mutable_match_info_teams(int index) { + // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.TeamStats.match_info_teams) + return _impl_.match_info_teams_.Mutable(index); +} +inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const std::string& value) { + _impl_.match_info_teams_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, std::string&& value) { + _impl_.match_info_teams_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.match_info_teams_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const char* value, size_t size) { + _impl_.match_info_teams_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline std::string* CPreMatchInfoData_TeamStats::_internal_add_match_info_teams() { + return _impl_.match_info_teams_.Add(); +} +inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const std::string& value) { + _impl_.match_info_teams_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::add_match_info_teams(std::string&& value) { + _impl_.match_info_teams_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.match_info_teams_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const char* value, size_t size) { + _impl_.match_info_teams_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPreMatchInfoData.TeamStats.match_info_teams) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPreMatchInfoData_TeamStats::match_info_teams() const { + // @@protoc_insertion_point(field_list:CPreMatchInfoData.TeamStats.match_info_teams) + return _impl_.match_info_teams_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPreMatchInfoData_TeamStats::mutable_match_info_teams() { + // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.TeamStats.match_info_teams) + return &_impl_.match_info_teams_; +} + +// ------------------------------------------------------------------- + +// CPreMatchInfoData + +// optional int32 predictions_pct = 1; +inline bool CPreMatchInfoData::_internal_has_predictions_pct() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPreMatchInfoData::has_predictions_pct() const { + return _internal_has_predictions_pct(); +} +inline void CPreMatchInfoData::clear_predictions_pct() { + _impl_.predictions_pct_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CPreMatchInfoData::_internal_predictions_pct() const { + return _impl_.predictions_pct_; +} +inline int32_t CPreMatchInfoData::predictions_pct() const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.predictions_pct) + return _internal_predictions_pct(); +} +inline void CPreMatchInfoData::_internal_set_predictions_pct(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.predictions_pct_ = value; +} +inline void CPreMatchInfoData::set_predictions_pct(int32_t value) { + _internal_set_predictions_pct(value); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.predictions_pct) +} + +// optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; +inline bool CPreMatchInfoData::_internal_has_draft() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.draft_ != nullptr); + return value; +} +inline bool CPreMatchInfoData::has_draft() const { + return _internal_has_draft(); +} +inline void CPreMatchInfoData::clear_draft() { + if (_impl_.draft_ != nullptr) _impl_.draft_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CDataGCCStrike15_v2_TournamentMatchDraft& CPreMatchInfoData::_internal_draft() const { + const ::CDataGCCStrike15_v2_TournamentMatchDraft* p = _impl_.draft_; + return p != nullptr ? *p : reinterpret_cast( + ::_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_); +} +inline const ::CDataGCCStrike15_v2_TournamentMatchDraft& CPreMatchInfoData::draft() const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.draft) + return _internal_draft(); +} +inline void CPreMatchInfoData::unsafe_arena_set_allocated_draft( + ::CDataGCCStrike15_v2_TournamentMatchDraft* draft) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.draft_); + } + _impl_.draft_ = draft; + if (draft) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPreMatchInfoData.draft) +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::release_draft() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDataGCCStrike15_v2_TournamentMatchDraft* temp = _impl_.draft_; + _impl_.draft_ = 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 ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::unsafe_arena_release_draft() { + // @@protoc_insertion_point(field_release:CPreMatchInfoData.draft) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDataGCCStrike15_v2_TournamentMatchDraft* temp = _impl_.draft_; + _impl_.draft_ = nullptr; + return temp; +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::_internal_mutable_draft() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.draft_ == nullptr) { + auto* p = CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft>(GetArenaForAllocation()); + _impl_.draft_ = p; + } + return _impl_.draft_; +} +inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::mutable_draft() { + ::CDataGCCStrike15_v2_TournamentMatchDraft* _msg = _internal_mutable_draft(); + // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.draft) + return _msg; +} +inline void CPreMatchInfoData::set_allocated_draft(::CDataGCCStrike15_v2_TournamentMatchDraft* draft) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.draft_; + } + if (draft) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(draft); + if (message_arena != submessage_arena) { + draft = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, draft, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.draft_ = draft; + // @@protoc_insertion_point(field_set_allocated:CPreMatchInfoData.draft) +} + +// repeated .CPreMatchInfoData.TeamStats stats = 5; +inline int CPreMatchInfoData::_internal_stats_size() const { + return _impl_.stats_.size(); +} +inline int CPreMatchInfoData::stats_size() const { + return _internal_stats_size(); +} +inline void CPreMatchInfoData::clear_stats() { + _impl_.stats_.Clear(); +} +inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::mutable_stats(int index) { + // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.stats) + return _impl_.stats_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >* +CPreMatchInfoData::mutable_stats() { + // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.stats) + return &_impl_.stats_; +} +inline const ::CPreMatchInfoData_TeamStats& CPreMatchInfoData::_internal_stats(int index) const { + return _impl_.stats_.Get(index); +} +inline const ::CPreMatchInfoData_TeamStats& CPreMatchInfoData::stats(int index) const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.stats) + return _internal_stats(index); +} +inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::_internal_add_stats() { + return _impl_.stats_.Add(); +} +inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::add_stats() { + ::CPreMatchInfoData_TeamStats* _add = _internal_add_stats(); + // @@protoc_insertion_point(field_add:CPreMatchInfoData.stats) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >& +CPreMatchInfoData::stats() const { + // @@protoc_insertion_point(field_list:CPreMatchInfoData.stats) + return _impl_.stats_; +} + +// repeated int32 wins = 6; +inline int CPreMatchInfoData::_internal_wins_size() const { + return _impl_.wins_.size(); +} +inline int CPreMatchInfoData::wins_size() const { + return _internal_wins_size(); +} +inline void CPreMatchInfoData::clear_wins() { + _impl_.wins_.Clear(); +} +inline int32_t CPreMatchInfoData::_internal_wins(int index) const { + return _impl_.wins_.Get(index); +} +inline int32_t CPreMatchInfoData::wins(int index) const { + // @@protoc_insertion_point(field_get:CPreMatchInfoData.wins) + return _internal_wins(index); +} +inline void CPreMatchInfoData::set_wins(int index, int32_t value) { + _impl_.wins_.Set(index, value); + // @@protoc_insertion_point(field_set:CPreMatchInfoData.wins) +} +inline void CPreMatchInfoData::_internal_add_wins(int32_t value) { + _impl_.wins_.Add(value); +} +inline void CPreMatchInfoData::add_wins(int32_t value) { + _internal_add_wins(value); + // @@protoc_insertion_point(field_add:CPreMatchInfoData.wins) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CPreMatchInfoData::_internal_wins() const { + return _impl_.wins_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CPreMatchInfoData::wins() const { + // @@protoc_insertion_point(field_list:CPreMatchInfoData.wins) + return _internal_wins(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CPreMatchInfoData::_internal_mutable_wins() { + return &_impl_.wins_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CPreMatchInfoData::mutable_wins() { + // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.wins) + return _internal_mutable_wins(); +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve + +// repeated uint32 account_ids = 1; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids_size() const { + return _impl_.account_ids_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids_size() const { + return _internal_account_ids_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_account_ids() { + _impl_.account_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids(int index) const { + return _impl_.account_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) + return _internal_account_ids(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_account_ids(int index, uint32_t value) { + _impl_.account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_account_ids(uint32_t value) { + _impl_.account_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_account_ids(uint32_t value) { + _internal_add_account_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids() const { + return _impl_.account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) + return _internal_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_account_ids() { + return &_impl_.account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) + return _internal_mutable_account_ids(); +} + +// optional uint32 game_type = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.game_type) +} + +// optional uint64 match_id = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_match_id() const { + return _internal_has_match_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::match_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id) + return _internal_match_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.match_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id) +} + +// optional uint32 server_version = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_server_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_server_version() const { + return _internal_has_server_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_server_version() { + _impl_.server_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_server_version() const { + return _impl_.server_version_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::server_version() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.server_version) + return _internal_server_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_server_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_version_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_server_version(uint32_t value) { + _internal_set_server_version(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.server_version) +} + +// optional uint32 flags = 18; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::flags() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.flags) + return _internal_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.flags_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.flags) +} + +// repeated .PlayerRankingInfo rankings = 5; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_rankings_size() const { + return _impl_.rankings_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings_size() const { + return _internal_rankings_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_rankings() { + _impl_.rankings_.Clear(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_rankings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) + return _impl_.rankings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_rankings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) + return &_impl_.rankings_; +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_rankings(int index) const { + return _impl_.rankings_.Get(index); +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) + return _internal_rankings(index); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_rankings() { + return _impl_.rankings_.Add(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_rankings() { + ::PlayerRankingInfo* _add = _internal_add_rankings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) + return _impl_.rankings_; +} + +// optional uint64 encryption_key = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_encryption_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_encryption_key() const { + return _internal_has_encryption_key(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_encryption_key() { + _impl_.encryption_key_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_encryption_key() const { + return _impl_.encryption_key_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::encryption_key() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key) + return _internal_encryption_key(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_encryption_key(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.encryption_key_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_encryption_key(uint64_t value) { + _internal_set_encryption_key(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key) +} + +// optional uint64 encryption_key_pub = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_encryption_key_pub() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_encryption_key_pub() const { + return _internal_has_encryption_key_pub(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_encryption_key_pub() { + _impl_.encryption_key_pub_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_encryption_key_pub() const { + return _impl_.encryption_key_pub_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::encryption_key_pub() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key_pub) + return _internal_encryption_key_pub(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_encryption_key_pub(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.encryption_key_pub_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_encryption_key_pub(uint64_t value) { + _internal_set_encryption_key_pub(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key_pub) +} + +// repeated uint32 party_ids = 8; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids_size() const { + return _impl_.party_ids_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids_size() const { + return _internal_party_ids_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_party_ids() { + _impl_.party_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids(int index) const { + return _impl_.party_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) + return _internal_party_ids(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_party_ids(int index, uint32_t value) { + _impl_.party_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_party_ids(uint32_t value) { + _impl_.party_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_party_ids(uint32_t value) { + _internal_add_party_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids() const { + return _impl_.party_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) + return _internal_party_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_party_ids() { + return &_impl_.party_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_party_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) + return _internal_mutable_party_ids(); +} + +// repeated .IpAddressMask whitelist = 9; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_whitelist_size() const { + return _impl_.whitelist_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist_size() const { + return _internal_whitelist_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_whitelist() { + _impl_.whitelist_.Clear(); +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_whitelist(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) + return _impl_.whitelist_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_whitelist() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) + return &_impl_.whitelist_; +} +inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_whitelist(int index) const { + return _impl_.whitelist_.Get(index); +} +inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) + return _internal_whitelist(index); +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_whitelist() { + return _impl_.whitelist_.Add(); +} +inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_whitelist() { + ::IpAddressMask* _add = _internal_add_whitelist(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) + return _impl_.whitelist_; +} + +// optional uint64 tv_master_steamid = 10; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_master_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_master_steamid() const { + return _internal_has_tv_master_steamid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_master_steamid() { + _impl_.tv_master_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_master_steamid() const { + return _impl_.tv_master_steamid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_master_steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_master_steamid) + return _internal_tv_master_steamid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_master_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.tv_master_steamid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_master_steamid(uint64_t value) { + _internal_set_tv_master_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_master_steamid) +} + +// optional .TournamentEvent tournament_event = 11; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tournament_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tournament_event_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tournament_event() const { + return _internal_has_tournament_event(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_event() { + if (_impl_.tournament_event_ != nullptr) _impl_.tournament_event_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_event() const { + const ::TournamentEvent* p = _impl_.tournament_event_; + return p != nullptr ? *p : reinterpret_cast( + ::_TournamentEvent_default_instance_); +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_event() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) + return _internal_tournament_event(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_set_allocated_tournament_event( + ::TournamentEvent* tournament_event) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_event_); + } + _impl_.tournament_event_ = tournament_event; + if (tournament_event) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::release_tournament_event() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::TournamentEvent* temp = _impl_.tournament_event_; + _impl_.tournament_event_ = 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 ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_release_tournament_event() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) + _impl_._has_bits_[0] &= ~0x00000001u; + ::TournamentEvent* temp = _impl_.tournament_event_; + _impl_.tournament_event_ = nullptr; + return temp; +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_tournament_event() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.tournament_event_ == nullptr) { + auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); + _impl_.tournament_event_ = p; + } + return _impl_.tournament_event_; +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_event() { + ::TournamentEvent* _msg = _internal_mutable_tournament_event(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_allocated_tournament_event(::TournamentEvent* tournament_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tournament_event_; + } + if (tournament_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_event); + if (message_arena != submessage_arena) { + tournament_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tournament_event, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tournament_event_ = tournament_event; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) +} + +// repeated .TournamentTeam tournament_teams = 12; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_teams_size() const { + return _impl_.tournament_teams_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams_size() const { + return _internal_tournament_teams_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_teams() { + _impl_.tournament_teams_.Clear(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_teams(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) + return _impl_.tournament_teams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_teams() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) + return &_impl_.tournament_teams_; +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_teams(int index) const { + return _impl_.tournament_teams_.Get(index); +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) + return _internal_tournament_teams(index); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_tournament_teams() { + return _impl_.tournament_teams_.Add(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_tournament_teams() { + ::TournamentTeam* _add = _internal_add_tournament_teams(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) + return _impl_.tournament_teams_; +} + +// repeated uint32 tournament_casters_account_ids = 13; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids_size() const { + return _impl_.tournament_casters_account_ids_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids_size() const { + return _internal_tournament_casters_account_ids_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_casters_account_ids() { + _impl_.tournament_casters_account_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids(int index) const { + return _impl_.tournament_casters_account_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) + return _internal_tournament_casters_account_ids(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tournament_casters_account_ids(int index, uint32_t value) { + _impl_.tournament_casters_account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_tournament_casters_account_ids(uint32_t value) { + _impl_.tournament_casters_account_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_tournament_casters_account_ids(uint32_t value) { + _internal_add_tournament_casters_account_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids() const { + return _impl_.tournament_casters_account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) + return _internal_tournament_casters_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_tournament_casters_account_ids() { + return &_impl_.tournament_casters_account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_casters_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) + return _internal_mutable_tournament_casters_account_ids(); +} + +// optional uint64 tv_relay_steamid = 14; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_relay_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_relay_steamid() const { + return _internal_has_tv_relay_steamid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_relay_steamid() { + _impl_.tv_relay_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_relay_steamid() const { + return _impl_.tv_relay_steamid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_relay_steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_relay_steamid) + return _internal_tv_relay_steamid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_relay_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.tv_relay_steamid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_relay_steamid(uint64_t value) { + _internal_set_tv_relay_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_relay_steamid) +} + +// optional .CPreMatchInfoData pre_match_data = 15; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_pre_match_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pre_match_data_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_pre_match_data() const { + return _internal_has_pre_match_data(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_pre_match_data() { + if (_impl_.pre_match_data_ != nullptr) _impl_.pre_match_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CPreMatchInfoData& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_pre_match_data() const { + const ::CPreMatchInfoData* p = _impl_.pre_match_data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CPreMatchInfoData_default_instance_); +} +inline const ::CPreMatchInfoData& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::pre_match_data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) + return _internal_pre_match_data(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_set_allocated_pre_match_data( + ::CPreMatchInfoData* pre_match_data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pre_match_data_); + } + _impl_.pre_match_data_ = pre_match_data; + if (pre_match_data) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) +} +inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::release_pre_match_data() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CPreMatchInfoData* temp = _impl_.pre_match_data_; + _impl_.pre_match_data_ = 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 ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_release_pre_match_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CPreMatchInfoData* temp = _impl_.pre_match_data_; + _impl_.pre_match_data_ = nullptr; + return temp; +} +inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_pre_match_data() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.pre_match_data_ == nullptr) { + auto* p = CreateMaybeMessage<::CPreMatchInfoData>(GetArenaForAllocation()); + _impl_.pre_match_data_ = p; + } + return _impl_.pre_match_data_; +} +inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_pre_match_data() { + ::CPreMatchInfoData* _msg = _internal_mutable_pre_match_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_allocated_pre_match_data(::CPreMatchInfoData* pre_match_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.pre_match_data_; + } + if (pre_match_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pre_match_data); + if (message_arena != submessage_arena) { + pre_match_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pre_match_data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.pre_match_data_ = pre_match_data; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) +} + +// optional uint32 tv_control = 17; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_control() const { + return _internal_has_tv_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_control() { + _impl_.tv_control_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_control() const { + return _impl_.tv_control_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_control() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_control) + return _internal_tv_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_control(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.tv_control_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_control(uint32_t value) { + _internal_set_tv_control(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_control) +} + +// repeated .OperationalVarValue op_var_values = 19; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_op_var_values_size() const { + return _impl_.op_var_values_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values_size() const { + return _internal_op_var_values_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_op_var_values() { + _impl_.op_var_values_.Clear(); +} +inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_op_var_values(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) + return _impl_.op_var_values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_op_var_values() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) + return &_impl_.op_var_values_; +} +inline const ::OperationalVarValue& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_op_var_values(int index) const { + return _impl_.op_var_values_.Get(index); +} +inline const ::OperationalVarValue& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) + return _internal_op_var_values(index); +} +inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_op_var_values() { + return _impl_.op_var_values_.Add(); +} +inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_op_var_values() { + ::OperationalVarValue* _add = _internal_add_op_var_values(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) + return _impl_.op_var_values_; +} + +// optional uint32 socache_control = 20; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_socache_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_socache_control() const { + return _internal_has_socache_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_socache_control() { + _impl_.socache_control_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_socache_control() const { + return _impl_.socache_control_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::socache_control() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.socache_control) + return _internal_socache_control(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_socache_control(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.socache_control_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_socache_control(uint32_t value) { + _internal_set_socache_control(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.socache_control) +} + +// repeated int32 teammate_colors = 21; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors_size() const { + return _impl_.teammate_colors_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors_size() const { + return _internal_teammate_colors_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_teammate_colors() { + _impl_.teammate_colors_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors(int index) const { + return _impl_.teammate_colors_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) + return _internal_teammate_colors(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_teammate_colors(int index, int32_t value) { + _impl_.teammate_colors_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_teammate_colors(int32_t value) { + _impl_.teammate_colors_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_teammate_colors(int32_t value) { + _internal_add_teammate_colors(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors() const { + return _impl_.teammate_colors_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) + return _internal_teammate_colors(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_teammate_colors() { + return &_impl_.teammate_colors_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_teammate_colors() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) + return _internal_mutable_teammate_colors(); +} + +// optional uint32 match_id_additional = 22; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_match_id_additional() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_match_id_additional() const { + return _internal_has_match_id_additional(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_match_id_additional() { + _impl_.match_id_additional_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_match_id_additional() const { + return _impl_.match_id_additional_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::match_id_additional() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id_additional) + return _internal_match_id_additional(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_match_id_additional(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.match_id_additional_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_match_id_additional(uint32_t value) { + _internal_set_match_id_additional(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id_additional) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingServerReservationResponse + +// optional uint64 reservationid = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reservationid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reservationid() const { + return _internal_has_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reservationid() { + _impl_.reservationid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reservationid() const { + return _impl_.reservationid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reservationid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservationid) + return _internal_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reservationid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.reservationid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reservationid(uint64_t value) { + _internal_set_reservationid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservationid) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reservation() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reservation() const { + return _internal_has_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reservation() { + if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reservation() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reservation() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) + return _internal_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); + } + _impl_.reservation_ = reservation; + if (reservation) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_reservation() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_release_reservation() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_reservation() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.reservation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); + _impl_.reservation_ = p; + } + return _impl_.reservation_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_reservation() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.reservation_; + } + if (reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); + if (message_arena != submessage_arena) { + reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reservation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.reservation_ = reservation; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) +} + +// optional string map = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_map() const { + return _internal_has_map(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_map() { + _impl_.map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::map() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_map() const { + return _impl_.map_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_map() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_map() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) + if (!_internal_has_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_map(std::string* map) { + if (map != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) +} + +// optional uint64 gc_reservation_sent = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_gc_reservation_sent() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_gc_reservation_sent() const { + return _internal_has_gc_reservation_sent(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_gc_reservation_sent() { + _impl_.gc_reservation_sent_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_gc_reservation_sent() const { + return _impl_.gc_reservation_sent_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::gc_reservation_sent() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.gc_reservation_sent) + return _internal_gc_reservation_sent(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_gc_reservation_sent(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.gc_reservation_sent_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_gc_reservation_sent(uint64_t value) { + _internal_set_gc_reservation_sent(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.gc_reservation_sent) +} + +// optional uint32 server_version = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_server_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_server_version() const { + return _internal_has_server_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_server_version() { + _impl_.server_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_server_version() const { + return _impl_.server_version_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::server_version() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.server_version) + return _internal_server_version(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_server_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.server_version_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_server_version(uint32_t value) { + _internal_set_server_version(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.server_version) +} + +// optional .ServerHltvInfo tv_info = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_tv_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tv_info_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_tv_info() const { + return _internal_has_tv_info(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_tv_info() { + if (_impl_.tv_info_ != nullptr) _impl_.tv_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::ServerHltvInfo& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_tv_info() const { + const ::ServerHltvInfo* p = _impl_.tv_info_; + return p != nullptr ? *p : reinterpret_cast( + ::_ServerHltvInfo_default_instance_); +} +inline const ::ServerHltvInfo& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::tv_info() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) + return _internal_tv_info(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_set_allocated_tv_info( + ::ServerHltvInfo* tv_info) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tv_info_); + } + _impl_.tv_info_ = tv_info; + if (tv_info) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) +} +inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_tv_info() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::ServerHltvInfo* temp = _impl_.tv_info_; + _impl_.tv_info_ = 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 ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_release_tv_info() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) + _impl_._has_bits_[0] &= ~0x00000008u; + ::ServerHltvInfo* temp = _impl_.tv_info_; + _impl_.tv_info_ = nullptr; + return temp; +} +inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_tv_info() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.tv_info_ == nullptr) { + auto* p = CreateMaybeMessage<::ServerHltvInfo>(GetArenaForAllocation()); + _impl_.tv_info_ = p; + } + return _impl_.tv_info_; +} +inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_tv_info() { + ::ServerHltvInfo* _msg = _internal_mutable_tv_info(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_tv_info(::ServerHltvInfo* tv_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tv_info_; + } + if (tv_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tv_info); + if (message_arena != submessage_arena) { + tv_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tv_info, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.tv_info_ = tv_info; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) +} + +// repeated uint32 reward_player_accounts = 7; +inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts_size() const { + return _impl_.reward_player_accounts_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts_size() const { + return _internal_reward_player_accounts_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_player_accounts() { + _impl_.reward_player_accounts_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts(int index) const { + return _impl_.reward_player_accounts_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) + return _internal_reward_player_accounts(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_player_accounts(int index, uint32_t value) { + _impl_.reward_player_accounts_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_add_reward_player_accounts(uint32_t value) { + _impl_.reward_player_accounts_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::add_reward_player_accounts(uint32_t value) { + _internal_add_reward_player_accounts(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts() const { + return _impl_.reward_player_accounts_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) + return _internal_reward_player_accounts(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_reward_player_accounts() { + return &_impl_.reward_player_accounts_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_reward_player_accounts() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) + return _internal_mutable_reward_player_accounts(); +} + +// repeated uint32 idle_player_accounts = 8; +inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts_size() const { + return _impl_.idle_player_accounts_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts_size() const { + return _internal_idle_player_accounts_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_idle_player_accounts() { + _impl_.idle_player_accounts_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts(int index) const { + return _impl_.idle_player_accounts_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) + return _internal_idle_player_accounts(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_idle_player_accounts(int index, uint32_t value) { + _impl_.idle_player_accounts_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_add_idle_player_accounts(uint32_t value) { + _impl_.idle_player_accounts_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::add_idle_player_accounts(uint32_t value) { + _internal_add_idle_player_accounts(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts() const { + return _impl_.idle_player_accounts_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) + return _internal_idle_player_accounts(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_idle_player_accounts() { + return &_impl_.idle_player_accounts_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_idle_player_accounts() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) + return _internal_mutable_idle_player_accounts(); +} + +// optional uint32 reward_item_attr_def_idx = 9; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_def_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_def_idx() const { + return _internal_has_reward_item_attr_def_idx(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_def_idx() { + _impl_.reward_item_attr_def_idx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_def_idx() const { + return _impl_.reward_item_attr_def_idx_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_def_idx() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_def_idx) + return _internal_reward_item_attr_def_idx(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_def_idx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.reward_item_attr_def_idx_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_def_idx(uint32_t value) { + _internal_set_reward_item_attr_def_idx(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_def_idx) +} + +// optional uint32 reward_item_attr_value = 10; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_value() const { + return _internal_has_reward_item_attr_value(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_value() { + _impl_.reward_item_attr_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_value() const { + return _impl_.reward_item_attr_value_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_value() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_value) + return _internal_reward_item_attr_value(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.reward_item_attr_value_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_value(uint32_t value) { + _internal_set_reward_item_attr_value(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_value) +} + +// optional uint32 reward_item_attr_reward_idx = 11; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_reward_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_reward_idx() const { + return _internal_has_reward_item_attr_reward_idx(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_reward_idx() { + _impl_.reward_item_attr_reward_idx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_reward_idx() const { + return _impl_.reward_item_attr_reward_idx_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_reward_idx() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_reward_idx) + return _internal_reward_item_attr_reward_idx(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_reward_idx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.reward_item_attr_reward_idx_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_reward_idx(uint32_t value) { + _internal_set_reward_item_attr_reward_idx(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_reward_idx) +} + +// optional uint32 reward_drop_list = 12; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_drop_list() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_drop_list() const { + return _internal_has_reward_drop_list(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_drop_list() { + _impl_.reward_drop_list_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_drop_list() const { + return _impl_.reward_drop_list_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_drop_list() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_drop_list) + return _internal_reward_drop_list(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_drop_list(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.reward_drop_list_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_drop_list(uint32_t value) { + _internal_set_reward_drop_list(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_drop_list) +} + +// optional string tournament_tag = 13; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_tournament_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_tournament_tag() const { + return _internal_has_tournament_tag(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_tournament_tag() { + _impl_.tournament_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::tournament_tag() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) + return _internal_tournament_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_tournament_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tournament_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_tournament_tag() { + std::string* _s = _internal_mutable_tournament_tag(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_tournament_tag() const { + return _impl_.tournament_tag_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_tournament_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tournament_tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_tournament_tag() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.tournament_tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_tournament_tag() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) + if (!_internal_has_tournament_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.tournament_tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tournament_tag_.IsDefault()) { + _impl_.tournament_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_tournament_tag(std::string* tournament_tag) { + if (tournament_tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.tournament_tag_.SetAllocated(tournament_tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tournament_tag_.IsDefault()) { + _impl_.tournament_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) +} + +// optional uint32 legacy_steamdatagram_port = 14; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_legacy_steamdatagram_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_legacy_steamdatagram_port() const { + return _internal_has_legacy_steamdatagram_port(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_legacy_steamdatagram_port() { + _impl_.legacy_steamdatagram_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_legacy_steamdatagram_port() const { + return _impl_.legacy_steamdatagram_port_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::legacy_steamdatagram_port() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.legacy_steamdatagram_port) + return _internal_legacy_steamdatagram_port(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_legacy_steamdatagram_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.legacy_steamdatagram_port_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_legacy_steamdatagram_port(uint32_t value) { + _internal_set_legacy_steamdatagram_port(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.legacy_steamdatagram_port) +} + +// optional uint32 steamdatagram_routing = 17; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_steamdatagram_routing() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_steamdatagram_routing() const { + return _internal_has_steamdatagram_routing(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_steamdatagram_routing() { + _impl_.steamdatagram_routing_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_steamdatagram_routing() const { + return _impl_.steamdatagram_routing_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::steamdatagram_routing() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.steamdatagram_routing) + return _internal_steamdatagram_routing(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_steamdatagram_routing(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.steamdatagram_routing_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_steamdatagram_routing(uint32_t value) { + _internal_set_steamdatagram_routing(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.steamdatagram_routing) +} + +// optional fixed32 test_token = 15; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_test_token() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_test_token() const { + return _internal_has_test_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_test_token() { + _impl_.test_token_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_test_token() const { + return _impl_.test_token_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::test_token() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.test_token) + return _internal_test_token(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_test_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.test_token_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_test_token(uint32_t value) { + _internal_set_test_token(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.test_token) +} + +// optional uint32 flags = 16; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::flags() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.flags) + return _internal_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.flags_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.flags) +} + +// optional uint32 system_load = 18; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_system_load() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_system_load() const { + return _internal_has_system_load(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_system_load() { + _impl_.system_load_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_system_load() const { + return _impl_.system_load_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::system_load() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.system_load) + return _internal_system_load(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_system_load(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.system_load_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_system_load(uint32_t value) { + _internal_set_system_load(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.system_load) +} + +// optional uint32 cpus_online = 19; +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_cpus_online() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_cpus_online() const { + return _internal_has_cpus_online(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_cpus_online() { + _impl_.cpus_online_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_cpus_online() const { + return _impl_.cpus_online_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::cpus_online() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.cpus_online) + return _internal_cpus_online(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_cpus_online(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.cpus_online_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_cpus_online(uint32_t value) { + _internal_set_cpus_online(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.cpus_online) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve + +// optional uint64 serverid = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_serverid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_serverid() const { + return _internal_has_serverid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_serverid() { + _impl_.serverid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_serverid() const { + return _impl_.serverid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::serverid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.serverid) + return _internal_serverid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_serverid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.serverid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_serverid(uint64_t value) { + _internal_set_serverid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.serverid) +} + +// optional uint32 direct_udp_ip = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_direct_udp_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_direct_udp_ip() const { + return _internal_has_direct_udp_ip(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_direct_udp_ip() { + _impl_.direct_udp_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_direct_udp_ip() const { + return _impl_.direct_udp_ip_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::direct_udp_ip() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_ip) + return _internal_direct_udp_ip(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_direct_udp_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.direct_udp_ip_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_direct_udp_ip(uint32_t value) { + _internal_set_direct_udp_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_ip) +} + +// optional uint32 direct_udp_port = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_direct_udp_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_direct_udp_port() const { + return _internal_has_direct_udp_port(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_direct_udp_port() { + _impl_.direct_udp_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_direct_udp_port() const { + return _impl_.direct_udp_port_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::direct_udp_port() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_port) + return _internal_direct_udp_port(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_direct_udp_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.direct_udp_port_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_direct_udp_port(uint32_t value) { + _internal_set_direct_udp_port(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_port) +} + +// optional uint64 reservationid = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_reservationid() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_reservationid() const { + return _internal_has_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_reservationid() { + _impl_.reservationid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_reservationid() const { + return _impl_.reservationid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::reservationid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservationid) + return _internal_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_reservationid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.reservationid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_reservationid(uint64_t value) { + _internal_set_reservationid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservationid) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_reservation() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_reservation() const { + return _internal_has_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_reservation() { + if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_reservation() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::reservation() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) + return _internal_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); + } + _impl_.reservation_ = reservation; + if (reservation) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_reservation() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_release_reservation() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_reservation() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.reservation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); + _impl_.reservation_ = p; + } + return _impl_.reservation_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_reservation() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.reservation_; + } + if (reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); + if (message_arena != submessage_arena) { + reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reservation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.reservation_ = reservation; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) +} + +// optional string map = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_map() const { + return _internal_has_map(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_map() { + _impl_.map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::map() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_map() const { + return _impl_.map_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_map() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_map() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) + if (!_internal_has_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_map(std::string* map) { + if (map != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) +} + +// optional string server_address = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_server_address() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_server_address() const { + return _internal_has_server_address(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_server_address() { + _impl_.server_address_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::server_address() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) + return _internal_server_address(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_server_address(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_address_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_server_address() { + std::string* _s = _internal_mutable_server_address(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_server_address() const { + return _impl_.server_address_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_server_address(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_address_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_server_address() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.server_address_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_server_address() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) + if (!_internal_has_server_address()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.server_address_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_address_.IsDefault()) { + _impl_.server_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_server_address(std::string* server_address) { + if (server_address != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.server_address_.SetAllocated(server_address, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_address_.IsDefault()) { + _impl_.server_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) +} + +// optional .DataCenterPing gs_ping = 8; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_gs_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.gs_ping_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_gs_ping() const { + return _internal_has_gs_ping(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_gs_ping() { + if (_impl_.gs_ping_ != nullptr) _impl_.gs_ping_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_gs_ping() const { + const ::DataCenterPing* p = _impl_.gs_ping_; + return p != nullptr ? *p : reinterpret_cast( + ::_DataCenterPing_default_instance_); +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::gs_ping() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) + return _internal_gs_ping(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_set_allocated_gs_ping( + ::DataCenterPing* gs_ping) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gs_ping_); + } + _impl_.gs_ping_ = gs_ping; + if (gs_ping) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_gs_ping() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::DataCenterPing* temp = _impl_.gs_ping_; + _impl_.gs_ping_ = 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 ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_release_gs_ping() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) + _impl_._has_bits_[0] &= ~0x00000008u; + ::DataCenterPing* temp = _impl_.gs_ping_; + _impl_.gs_ping_ = nullptr; + return temp; +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_gs_ping() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.gs_ping_ == nullptr) { + auto* p = CreateMaybeMessage<::DataCenterPing>(GetArenaForAllocation()); + _impl_.gs_ping_ = p; + } + return _impl_.gs_ping_; +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_gs_ping() { + ::DataCenterPing* _msg = _internal_mutable_gs_ping(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_gs_ping(::DataCenterPing* gs_ping) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.gs_ping_; + } + if (gs_ping) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(gs_ping); + if (message_arena != submessage_arena) { + gs_ping = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, gs_ping, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.gs_ping_ = gs_ping; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) +} + +// optional uint32 gs_location_id = 9; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_gs_location_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_gs_location_id() const { + return _internal_has_gs_location_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_gs_location_id() { + _impl_.gs_location_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_gs_location_id() const { + return _impl_.gs_location_id_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::gs_location_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_location_id) + return _internal_gs_location_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_gs_location_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.gs_location_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_gs_location_id(uint32_t value) { + _internal_set_gs_location_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_location_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo + +// optional uint32 account_mvp = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_has_account_mvp() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::has_account_mvp() const { + return _internal_has_account_mvp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::clear_account_mvp() { + _impl_.account_mvp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_account_mvp() const { + return _impl_.account_mvp_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::account_mvp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo.account_mvp) + return _internal_account_mvp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_set_account_mvp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_mvp_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::set_account_mvp(uint32_t value) { + _internal_set_account_mvp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo.account_mvp) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingServerRoundStats + +// optional uint64 reservationid = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservationid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservationid() const { + return _internal_has_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservationid() { + _impl_.reservationid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservationid() const { + return _impl_.reservationid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservationid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservationid) + return _internal_reservationid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_reservationid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.reservationid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_reservationid(uint64_t value) { + _internal_set_reservationid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservationid) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservation() const { + return _internal_has_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservation() { + if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservation() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservation() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) + return _internal_reservation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); + } + _impl_.reservation_ = reservation; + if (reservation) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_reservation() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_reservation() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_reservation() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.reservation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); + _impl_.reservation_ = p; + } + return _impl_.reservation_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_reservation() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.reservation_; + } + if (reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); + if (message_arena != submessage_arena) { + reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reservation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.reservation_ = reservation; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) +} + +// optional string map = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_map() const { + return _internal_has_map(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_map() { + _impl_.map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::map() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_map() const { + return _impl_.map_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_map() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_map() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) + if (!_internal_has_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_map(std::string* map) { + if (map != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) +} + +// optional int32 round = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_round() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_round() const { + return _internal_has_round(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_round() { + _impl_.round_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_round() const { + return _impl_.round_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::round() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round) + return _internal_round(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_round(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.round_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_round(int32_t value) { + _internal_set_round(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round) +} + +// repeated int32 kills = 5; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills_size() const { + return _impl_.kills_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills_size() const { + return _internal_kills_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_kills() { + _impl_.kills_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills(int index) const { + return _impl_.kills_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) + return _internal_kills(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_kills(int index, int32_t value) { + _impl_.kills_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_kills(int32_t value) { + _impl_.kills_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_kills(int32_t value) { + _internal_add_kills(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills() const { + return _impl_.kills_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) + return _internal_kills(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_kills() { + return &_impl_.kills_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_kills() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) + return _internal_mutable_kills(); +} + +// repeated int32 assists = 6; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists_size() const { + return _impl_.assists_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists_size() const { + return _internal_assists_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_assists() { + _impl_.assists_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists(int index) const { + return _impl_.assists_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) + return _internal_assists(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_assists(int index, int32_t value) { + _impl_.assists_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_assists(int32_t value) { + _impl_.assists_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_assists(int32_t value) { + _internal_add_assists(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists() const { + return _impl_.assists_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) + return _internal_assists(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_assists() { + return &_impl_.assists_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_assists() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) + return _internal_mutable_assists(); +} + +// repeated int32 deaths = 7; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths_size() const { + return _impl_.deaths_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths_size() const { + return _internal_deaths_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_deaths() { + _impl_.deaths_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths(int index) const { + return _impl_.deaths_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) + return _internal_deaths(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_deaths(int index, int32_t value) { + _impl_.deaths_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_deaths(int32_t value) { + _impl_.deaths_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_deaths(int32_t value) { + _internal_add_deaths(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths() const { + return _impl_.deaths_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) + return _internal_deaths(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_deaths() { + return &_impl_.deaths_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_deaths() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) + return _internal_mutable_deaths(); +} + +// repeated int32 scores = 8; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores_size() const { + return _impl_.scores_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores_size() const { + return _internal_scores_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_scores() { + _impl_.scores_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores(int index) const { + return _impl_.scores_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) + return _internal_scores(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_scores(int index, int32_t value) { + _impl_.scores_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_scores(int32_t value) { + _impl_.scores_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_scores(int32_t value) { + _internal_add_scores(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores() const { + return _impl_.scores_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) + return _internal_scores(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_scores() { + return &_impl_.scores_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_scores() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) + return _internal_mutable_scores(); +} + +// repeated int32 pings = 9; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings_size() const { + return _impl_.pings_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings_size() const { + return _internal_pings_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_pings() { + _impl_.pings_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings(int index) const { + return _impl_.pings_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) + return _internal_pings(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_pings(int index, int32_t value) { + _impl_.pings_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_pings(int32_t value) { + _impl_.pings_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_pings(int32_t value) { + _internal_add_pings(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings() const { + return _impl_.pings_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) + return _internal_pings(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_pings() { + return &_impl_.pings_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_pings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) + return _internal_mutable_pings(); +} + +// optional int32 round_result = 10; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_round_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_round_result() const { + return _internal_has_round_result(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_round_result() { + _impl_.round_result_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_round_result() const { + return _impl_.round_result_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::round_result() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round_result) + return _internal_round_result(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_round_result(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.round_result_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_round_result(int32_t value) { + _internal_set_round_result(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round_result) +} + +// optional int32 match_result = 11; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_match_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_match_result() const { + return _internal_has_match_result(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_match_result() { + _impl_.match_result_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_match_result() const { + return _impl_.match_result_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::match_result() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_result) + return _internal_match_result(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_match_result(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.match_result_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_match_result(int32_t value) { + _internal_set_match_result(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_result) +} + +// repeated int32 team_scores = 12; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores_size() const { + return _impl_.team_scores_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores_size() const { + return _internal_team_scores_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_team_scores() { + _impl_.team_scores_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores(int index) const { + return _impl_.team_scores_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) + return _internal_team_scores(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_team_scores(int index, int32_t value) { + _impl_.team_scores_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_team_scores(int32_t value) { + _impl_.team_scores_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_team_scores(int32_t value) { + _internal_add_team_scores(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores() const { + return _impl_.team_scores_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) + return _internal_team_scores(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_team_scores() { + return &_impl_.team_scores_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_team_scores() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) + return _internal_mutable_team_scores(); +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_confirm() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.confirm_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_confirm() const { + return _internal_has_confirm(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_confirm() { + if (_impl_.confirm_ != nullptr) _impl_.confirm_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_confirm() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* p = _impl_.confirm_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::confirm() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) + return _internal_confirm(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_confirm( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.confirm_); + } + _impl_.confirm_ = confirm; + if (confirm) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_confirm() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* temp = _impl_.confirm_; + _impl_.confirm_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_confirm() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* temp = _impl_.confirm_; + _impl_.confirm_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_confirm() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.confirm_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm>(GetArenaForAllocation()); + _impl_.confirm_ = p; + } + return _impl_.confirm_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_confirm() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* _msg = _internal_mutable_confirm(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_confirm(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.confirm_; + } + if (confirm) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(confirm); + if (message_arena != submessage_arena) { + confirm = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, confirm, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.confirm_ = confirm; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) +} + +// optional int32 reservation_stage = 14; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservation_stage() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservation_stage() const { + return _internal_has_reservation_stage(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservation_stage() { + _impl_.reservation_stage_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservation_stage() const { + return _impl_.reservation_stage_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservation_stage() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation_stage) + return _internal_reservation_stage(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_reservation_stage(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.reservation_stage_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_reservation_stage(int32_t value) { + _internal_set_reservation_stage(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation_stage) +} + +// optional int32 match_duration = 15; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_match_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_match_duration() const { + return _internal_has_match_duration(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_match_duration() { + _impl_.match_duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_match_duration() const { + return _impl_.match_duration_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::match_duration() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_duration) + return _internal_match_duration(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_match_duration(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.match_duration_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_match_duration(int32_t value) { + _internal_set_match_duration(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_duration) +} + +// repeated int32 enemy_kills = 16; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_size() const { + return _impl_.enemy_kills_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_size() const { + return _internal_enemy_kills_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_kills() { + _impl_.enemy_kills_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills(int index) const { + return _impl_.enemy_kills_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) + return _internal_enemy_kills(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_kills(int index, int32_t value) { + _impl_.enemy_kills_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_kills(int32_t value) { + _impl_.enemy_kills_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_kills(int32_t value) { + _internal_add_enemy_kills(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills() const { + return _impl_.enemy_kills_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) + return _internal_enemy_kills(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_kills() { + return &_impl_.enemy_kills_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_kills() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) + return _internal_mutable_enemy_kills(); +} + +// repeated int32 enemy_headshots = 17; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots_size() const { + return _impl_.enemy_headshots_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots_size() const { + return _internal_enemy_headshots_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_headshots() { + _impl_.enemy_headshots_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots(int index) const { + return _impl_.enemy_headshots_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) + return _internal_enemy_headshots(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_headshots(int index, int32_t value) { + _impl_.enemy_headshots_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_headshots(int32_t value) { + _impl_.enemy_headshots_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_headshots(int32_t value) { + _internal_add_enemy_headshots(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots() const { + return _impl_.enemy_headshots_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) + return _internal_enemy_headshots(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_headshots() { + return &_impl_.enemy_headshots_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_headshots() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) + return _internal_mutable_enemy_headshots(); +} + +// repeated int32 enemy_3ks = 18; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks_size() const { + return _impl_.enemy_3ks_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks_size() const { + return _internal_enemy_3ks_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_3ks() { + _impl_.enemy_3ks_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks(int index) const { + return _impl_.enemy_3ks_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) + return _internal_enemy_3ks(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_3ks(int index, int32_t value) { + _impl_.enemy_3ks_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_3ks(int32_t value) { + _impl_.enemy_3ks_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_3ks(int32_t value) { + _internal_add_enemy_3ks(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks() const { + return _impl_.enemy_3ks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) + return _internal_enemy_3ks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_3ks() { + return &_impl_.enemy_3ks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_3ks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) + return _internal_mutable_enemy_3ks(); +} + +// repeated int32 enemy_4ks = 19; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks_size() const { + return _impl_.enemy_4ks_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks_size() const { + return _internal_enemy_4ks_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_4ks() { + _impl_.enemy_4ks_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks(int index) const { + return _impl_.enemy_4ks_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) + return _internal_enemy_4ks(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_4ks(int index, int32_t value) { + _impl_.enemy_4ks_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_4ks(int32_t value) { + _impl_.enemy_4ks_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_4ks(int32_t value) { + _internal_add_enemy_4ks(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks() const { + return _impl_.enemy_4ks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) + return _internal_enemy_4ks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_4ks() { + return &_impl_.enemy_4ks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_4ks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) + return _internal_mutable_enemy_4ks(); +} + +// repeated int32 enemy_5ks = 20; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks_size() const { + return _impl_.enemy_5ks_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks_size() const { + return _internal_enemy_5ks_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_5ks() { + _impl_.enemy_5ks_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks(int index) const { + return _impl_.enemy_5ks_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) + return _internal_enemy_5ks(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_5ks(int index, int32_t value) { + _impl_.enemy_5ks_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_5ks(int32_t value) { + _impl_.enemy_5ks_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_5ks(int32_t value) { + _internal_add_enemy_5ks(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks() const { + return _impl_.enemy_5ks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) + return _internal_enemy_5ks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_5ks() { + return &_impl_.enemy_5ks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_5ks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) + return _internal_mutable_enemy_5ks(); +} + +// repeated int32 mvps = 21; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps_size() const { + return _impl_.mvps_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps_size() const { + return _internal_mvps_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_mvps() { + _impl_.mvps_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps(int index) const { + return _impl_.mvps_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) + return _internal_mvps(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_mvps(int index, int32_t value) { + _impl_.mvps_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_mvps(int32_t value) { + _impl_.mvps_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_mvps(int32_t value) { + _internal_add_mvps(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps() const { + return _impl_.mvps_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) + return _internal_mvps(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_mvps() { + return &_impl_.mvps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_mvps() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) + return _internal_mutable_mvps(); +} + +// optional uint32 spectators_count = 22; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count() const { + return _internal_has_spectators_count(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count() { + _impl_.spectators_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count() const { + return _impl_.spectators_count_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count) + return _internal_spectators_count(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.spectators_count_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count(uint32_t value) { + _internal_set_spectators_count(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count) +} + +// optional uint32 spectators_count_tv = 23; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count_tv() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count_tv() const { + return _internal_has_spectators_count_tv(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count_tv() { + _impl_.spectators_count_tv_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count_tv() const { + return _impl_.spectators_count_tv_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count_tv() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_tv) + return _internal_spectators_count_tv(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count_tv(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.spectators_count_tv_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count_tv(uint32_t value) { + _internal_set_spectators_count_tv(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_tv) +} + +// optional uint32 spectators_count_lnk = 24; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count_lnk() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count_lnk() const { + return _internal_has_spectators_count_lnk(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count_lnk() { + _impl_.spectators_count_lnk_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count_lnk() const { + return _impl_.spectators_count_lnk_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count_lnk() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_lnk) + return _internal_spectators_count_lnk(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count_lnk(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.spectators_count_lnk_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count_lnk(uint32_t value) { + _internal_set_spectators_count_lnk(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_lnk) +} + +// repeated int32 enemy_kills_agg = 25; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg_size() const { + return _impl_.enemy_kills_agg_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg_size() const { + return _internal_enemy_kills_agg_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_kills_agg() { + _impl_.enemy_kills_agg_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg(int index) const { + return _impl_.enemy_kills_agg_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) + return _internal_enemy_kills_agg(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_kills_agg(int index, int32_t value) { + _impl_.enemy_kills_agg_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_kills_agg(int32_t value) { + _impl_.enemy_kills_agg_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_kills_agg(int32_t value) { + _internal_add_enemy_kills_agg(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg() const { + return _impl_.enemy_kills_agg_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) + return _internal_enemy_kills_agg(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_kills_agg() { + return &_impl_.enemy_kills_agg_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_kills_agg() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) + return _internal_mutable_enemy_kills_agg(); +} + +// optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_drop_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.drop_info_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_drop_info() const { + return _internal_has_drop_info(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_drop_info() { + if (_impl_.drop_info_ != nullptr) _impl_.drop_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_drop_info() const { + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* p = _impl_.drop_info_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::drop_info() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) + return _internal_drop_info(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_drop_info( + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_info_); + } + _impl_.drop_info_ = drop_info; + if (drop_info) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_drop_info() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* temp = _impl_.drop_info_; + _impl_.drop_info_ = 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 ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_drop_info() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* temp = _impl_.drop_info_; + _impl_.drop_info_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_drop_info() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.drop_info_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo>(GetArenaForAllocation()); + _impl_.drop_info_ = p; + } + return _impl_.drop_info_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_drop_info() { + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* _msg = _internal_mutable_drop_info(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_drop_info(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.drop_info_; + } + if (drop_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drop_info); + if (message_arena != submessage_arena) { + drop_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, drop_info, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.drop_info_ = drop_info; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) +} + +// optional bool b_switched_teams = 27; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_b_switched_teams() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_b_switched_teams() const { + return _internal_has_b_switched_teams(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_b_switched_teams() { + _impl_.b_switched_teams_ = false; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_b_switched_teams() const { + return _impl_.b_switched_teams_; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::b_switched_teams() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.b_switched_teams) + return _internal_b_switched_teams(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_b_switched_teams(bool value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.b_switched_teams_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_b_switched_teams(bool value) { + _internal_set_b_switched_teams(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.b_switched_teams) +} + +// repeated int32 enemy_2ks = 28; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks_size() const { + return _impl_.enemy_2ks_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks_size() const { + return _internal_enemy_2ks_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_2ks() { + _impl_.enemy_2ks_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks(int index) const { + return _impl_.enemy_2ks_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) + return _internal_enemy_2ks(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_2ks(int index, int32_t value) { + _impl_.enemy_2ks_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_2ks(int32_t value) { + _impl_.enemy_2ks_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_2ks(int32_t value) { + _internal_add_enemy_2ks(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks() const { + return _impl_.enemy_2ks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) + return _internal_enemy_2ks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_2ks() { + return &_impl_.enemy_2ks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_2ks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) + return _internal_mutable_enemy_2ks(); +} + +// repeated int32 player_spawned = 29; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned_size() const { + return _impl_.player_spawned_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned_size() const { + return _internal_player_spawned_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_player_spawned() { + _impl_.player_spawned_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned(int index) const { + return _impl_.player_spawned_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) + return _internal_player_spawned(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_player_spawned(int index, int32_t value) { + _impl_.player_spawned_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_player_spawned(int32_t value) { + _impl_.player_spawned_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_player_spawned(int32_t value) { + _internal_add_player_spawned(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned() const { + return _impl_.player_spawned_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) + return _internal_player_spawned(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_player_spawned() { + return &_impl_.player_spawned_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_player_spawned() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) + return _internal_mutable_player_spawned(); +} + +// repeated int32 team_spawn_count = 30; +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count_size() const { + return _impl_.team_spawn_count_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count_size() const { + return _internal_team_spawn_count_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_team_spawn_count() { + _impl_.team_spawn_count_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count(int index) const { + return _impl_.team_spawn_count_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) + return _internal_team_spawn_count(index); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_team_spawn_count(int index, int32_t value) { + _impl_.team_spawn_count_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_team_spawn_count(int32_t value) { + _impl_.team_spawn_count_.Add(value); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_team_spawn_count(int32_t value) { + _internal_add_team_spawn_count(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count() const { + return _impl_.team_spawn_count_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) + return _internal_team_spawn_count(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_team_spawn_count() { + return &_impl_.team_spawn_count_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_team_spawn_count() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) + return _internal_mutable_team_spawn_count(); +} + +// optional uint32 max_rounds = 31; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_max_rounds() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_max_rounds() const { + return _internal_has_max_rounds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_max_rounds() { + _impl_.max_rounds_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_max_rounds() const { + return _impl_.max_rounds_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::max_rounds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.max_rounds) + return _internal_max_rounds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_max_rounds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.max_rounds_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_max_rounds(uint32_t value) { + _internal_set_max_rounds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.max_rounds) +} + +// optional int32 map_id = 32; +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_map_id() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_map_id() const { + return _internal_has_map_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_map_id() { + _impl_.map_id_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_map_id() const { + return _impl_.map_id_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::map_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map_id) + return _internal_map_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_map_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.map_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_map_id(int32_t value) { + _internal_set_map_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingClient2GCHello + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientHello + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.account_id) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_ongoingmatch() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ongoingmatch_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_ongoingmatch() const { + return _internal_has_ongoingmatch(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_ongoingmatch() { + if (_impl_.ongoingmatch_ != nullptr) _impl_.ongoingmatch_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_ongoingmatch() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.ongoingmatch_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ongoingmatch() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) + return _internal_ongoingmatch(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_ongoingmatch( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ongoingmatch_); + } + _impl_.ongoingmatch_ = ongoingmatch; + if (ongoingmatch) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_ongoingmatch() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.ongoingmatch_; + _impl_.ongoingmatch_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_ongoingmatch() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.ongoingmatch_; + _impl_.ongoingmatch_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_ongoingmatch() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.ongoingmatch_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); + _impl_.ongoingmatch_ = p; + } + return _impl_.ongoingmatch_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_ongoingmatch() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_ongoingmatch(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_ongoingmatch(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ongoingmatch_; + } + if (ongoingmatch) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ongoingmatch); + if (message_arena != submessage_arena) { + ongoingmatch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ongoingmatch, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ongoingmatch_ = ongoingmatch; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) +} + +// optional .GlobalStatistics global_stats = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_global_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.global_stats_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_global_stats() const { + return _internal_has_global_stats(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_global_stats() { + if (_impl_.global_stats_ != nullptr) _impl_.global_stats_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_global_stats() const { + const ::GlobalStatistics* p = _impl_.global_stats_; + return p != nullptr ? *p : reinterpret_cast( + ::_GlobalStatistics_default_instance_); +} +inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::global_stats() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) + return _internal_global_stats(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_global_stats( + ::GlobalStatistics* global_stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_stats_); + } + _impl_.global_stats_ = global_stats; + if (global_stats) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_global_stats() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::GlobalStatistics* temp = _impl_.global_stats_; + _impl_.global_stats_ = 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 ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_global_stats() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) + _impl_._has_bits_[0] &= ~0x00000002u; + ::GlobalStatistics* temp = _impl_.global_stats_; + _impl_.global_stats_ = nullptr; + return temp; +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_global_stats() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.global_stats_ == nullptr) { + auto* p = CreateMaybeMessage<::GlobalStatistics>(GetArenaForAllocation()); + _impl_.global_stats_ = p; + } + return _impl_.global_stats_; +} +inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_global_stats() { + ::GlobalStatistics* _msg = _internal_mutable_global_stats(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_global_stats(::GlobalStatistics* global_stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.global_stats_; + } + if (global_stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(global_stats); + if (message_arena != submessage_arena) { + global_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, global_stats, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.global_stats_ = global_stats; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) +} + +// optional uint32 penalty_seconds = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_penalty_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_penalty_seconds() const { + return _internal_has_penalty_seconds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_penalty_seconds() { + _impl_.penalty_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_penalty_seconds() const { + return _impl_.penalty_seconds_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::penalty_seconds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_seconds) + return _internal_penalty_seconds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_penalty_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.penalty_seconds_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_penalty_seconds(uint32_t value) { + _internal_set_penalty_seconds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_seconds) +} + +// optional uint32 penalty_reason = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_penalty_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_penalty_reason() const { + return _internal_has_penalty_reason(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_penalty_reason() { + _impl_.penalty_reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_penalty_reason() const { + return _impl_.penalty_reason_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::penalty_reason() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_reason) + return _internal_penalty_reason(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_penalty_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.penalty_reason_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_penalty_reason(uint32_t value) { + _internal_set_penalty_reason(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_reason) +} + +// optional int32 vac_banned = 6; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_vac_banned() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_vac_banned() const { + return _internal_has_vac_banned(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_vac_banned() { + _impl_.vac_banned_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_vac_banned() const { + return _impl_.vac_banned_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::vac_banned() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.vac_banned) + return _internal_vac_banned(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_vac_banned(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.vac_banned_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_vac_banned(int32_t value) { + _internal_set_vac_banned(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.vac_banned) +} + +// optional .PlayerRankingInfo ranking = 7; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_ranking() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ranking_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_ranking() const { + return _internal_has_ranking(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_ranking() { + if (_impl_.ranking_ != nullptr) _impl_.ranking_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_ranking() const { + const ::PlayerRankingInfo* p = _impl_.ranking_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerRankingInfo_default_instance_); +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ranking() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) + return _internal_ranking(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_ranking( + ::PlayerRankingInfo* ranking) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ranking_); + } + _impl_.ranking_ = ranking; + if (ranking) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_ranking() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::PlayerRankingInfo* temp = _impl_.ranking_; + _impl_.ranking_ = 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 ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_ranking() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) + _impl_._has_bits_[0] &= ~0x00000004u; + ::PlayerRankingInfo* temp = _impl_.ranking_; + _impl_.ranking_ = nullptr; + return temp; +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_ranking() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.ranking_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerRankingInfo>(GetArenaForAllocation()); + _impl_.ranking_ = p; + } + return _impl_.ranking_; +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_ranking() { + ::PlayerRankingInfo* _msg = _internal_mutable_ranking(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_ranking(::PlayerRankingInfo* ranking) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ranking_; + } + if (ranking) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ranking); + if (message_arena != submessage_arena) { + ranking = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ranking, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.ranking_ = ranking; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) +} + +// optional .PlayerCommendationInfo commendation = 8; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_commendation() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_commendation() const { + return _internal_has_commendation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_commendation() { + if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_commendation() const { + const ::PlayerCommendationInfo* p = _impl_.commendation_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerCommendationInfo_default_instance_); +} +inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::commendation() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) + return _internal_commendation(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); + } + _impl_.commendation_ = commendation; + if (commendation) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_commendation() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = 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 ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_commendation() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) + _impl_._has_bits_[0] &= ~0x00000008u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = nullptr; + return temp; +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_commendation() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.commendation_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); + _impl_.commendation_ = p; + } + return _impl_.commendation_; +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_commendation() { + ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_commendation(::PlayerCommendationInfo* commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.commendation_; + } + if (commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); + if (message_arena != submessage_arena) { + commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, commendation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.commendation_ = commendation; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) +} + +// optional .PlayerMedalsInfo medals = 9; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_medals() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.medals_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_medals() const { + return _internal_has_medals(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_medals() { + if (_impl_.medals_ != nullptr) _impl_.medals_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::PlayerMedalsInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_medals() const { + const ::PlayerMedalsInfo* p = _impl_.medals_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerMedalsInfo_default_instance_); +} +inline const ::PlayerMedalsInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::medals() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) + return _internal_medals(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_medals( + ::PlayerMedalsInfo* medals) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.medals_); + } + _impl_.medals_ = medals; + if (medals) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) +} +inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_medals() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::PlayerMedalsInfo* temp = _impl_.medals_; + _impl_.medals_ = 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 ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_medals() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) + _impl_._has_bits_[0] &= ~0x00000010u; + ::PlayerMedalsInfo* temp = _impl_.medals_; + _impl_.medals_ = nullptr; + return temp; +} +inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_medals() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.medals_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerMedalsInfo>(GetArenaForAllocation()); + _impl_.medals_ = p; + } + return _impl_.medals_; +} +inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_medals() { + ::PlayerMedalsInfo* _msg = _internal_mutable_medals(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_medals(::PlayerMedalsInfo* medals) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.medals_; + } + if (medals) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(medals); + if (message_arena != submessage_arena) { + medals = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, medals, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.medals_ = medals; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) +} + +// optional .TournamentEvent my_current_event = 10; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_my_current_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.my_current_event_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_my_current_event() const { + return _internal_has_my_current_event(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event() { + if (_impl_.my_current_event_ != nullptr) _impl_.my_current_event_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event() const { + const ::TournamentEvent* p = _impl_.my_current_event_; + return p != nullptr ? *p : reinterpret_cast( + ::_TournamentEvent_default_instance_); +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) + return _internal_my_current_event(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_my_current_event( + ::TournamentEvent* my_current_event) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.my_current_event_); + } + _impl_.my_current_event_ = my_current_event; + if (my_current_event) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_my_current_event() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::TournamentEvent* temp = _impl_.my_current_event_; + _impl_.my_current_event_ = 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 ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_my_current_event() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) + _impl_._has_bits_[0] &= ~0x00000020u; + ::TournamentEvent* temp = _impl_.my_current_event_; + _impl_.my_current_event_ = nullptr; + return temp; +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_my_current_event() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.my_current_event_ == nullptr) { + auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); + _impl_.my_current_event_ = p; + } + return _impl_.my_current_event_; +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event() { + ::TournamentEvent* _msg = _internal_mutable_my_current_event(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_my_current_event(::TournamentEvent* my_current_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.my_current_event_; + } + if (my_current_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(my_current_event); + if (message_arena != submessage_arena) { + my_current_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, my_current_event, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.my_current_event_ = my_current_event; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) +} + +// repeated .TournamentTeam my_current_event_teams = 11; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_teams_size() const { + return _impl_.my_current_event_teams_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams_size() const { + return _internal_my_current_event_teams_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event_teams() { + _impl_.my_current_event_teams_.Clear(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_teams(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) + return _impl_.my_current_event_teams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_teams() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) + return &_impl_.my_current_event_teams_; +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_teams(int index) const { + return _impl_.my_current_event_teams_.Get(index); +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) + return _internal_my_current_event_teams(index); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_my_current_event_teams() { + return _impl_.my_current_event_teams_.Add(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_my_current_event_teams() { + ::TournamentTeam* _add = _internal_add_my_current_event_teams(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) + return _impl_.my_current_event_teams_; +} + +// optional .TournamentTeam my_current_team = 12; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_my_current_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.my_current_team_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_my_current_team() const { + return _internal_has_my_current_team(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_team() { + if (_impl_.my_current_team_ != nullptr) _impl_.my_current_team_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_team() const { + const ::TournamentTeam* p = _impl_.my_current_team_; + return p != nullptr ? *p : reinterpret_cast( + ::_TournamentTeam_default_instance_); +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_team() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) + return _internal_my_current_team(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_my_current_team( + ::TournamentTeam* my_current_team) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.my_current_team_); + } + _impl_.my_current_team_ = my_current_team; + if (my_current_team) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_my_current_team() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::TournamentTeam* temp = _impl_.my_current_team_; + _impl_.my_current_team_ = 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 ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_my_current_team() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) + _impl_._has_bits_[0] &= ~0x00000040u; + ::TournamentTeam* temp = _impl_.my_current_team_; + _impl_.my_current_team_ = nullptr; + return temp; +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_my_current_team() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.my_current_team_ == nullptr) { + auto* p = CreateMaybeMessage<::TournamentTeam>(GetArenaForAllocation()); + _impl_.my_current_team_ = p; + } + return _impl_.my_current_team_; +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_team() { + ::TournamentTeam* _msg = _internal_mutable_my_current_team(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_my_current_team(::TournamentTeam* my_current_team) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.my_current_team_; + } + if (my_current_team) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(my_current_team); + if (message_arena != submessage_arena) { + my_current_team = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, my_current_team, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.my_current_team_ = my_current_team; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) +} + +// repeated .TournamentEvent my_current_event_stages = 13; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_stages_size() const { + return _impl_.my_current_event_stages_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages_size() const { + return _internal_my_current_event_stages_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event_stages() { + _impl_.my_current_event_stages_.Clear(); +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_stages(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) + return _impl_.my_current_event_stages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_stages() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) + return &_impl_.my_current_event_stages_; +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_stages(int index) const { + return _impl_.my_current_event_stages_.Get(index); +} +inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) + return _internal_my_current_event_stages(index); +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_my_current_event_stages() { + return _impl_.my_current_event_stages_.Add(); +} +inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_my_current_event_stages() { + ::TournamentEvent* _add = _internal_add_my_current_event_stages(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) + return _impl_.my_current_event_stages_; +} + +// optional uint32 survey_vote = 14; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_survey_vote() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_survey_vote() const { + return _internal_has_survey_vote(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_survey_vote() { + _impl_.survey_vote_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_survey_vote() const { + return _impl_.survey_vote_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::survey_vote() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.survey_vote) + return _internal_survey_vote(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_survey_vote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.survey_vote_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_survey_vote(uint32_t value) { + _internal_set_survey_vote(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.survey_vote) +} + +// optional .AccountActivity activity = 15; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_activity() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + PROTOBUF_ASSUME(!value || _impl_.activity_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_activity() const { + return _internal_has_activity(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_activity() { + if (_impl_.activity_ != nullptr) _impl_.activity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const ::AccountActivity& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_activity() const { + const ::AccountActivity* p = _impl_.activity_; + return p != nullptr ? *p : reinterpret_cast( + ::_AccountActivity_default_instance_); +} +inline const ::AccountActivity& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::activity() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) + return _internal_activity(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_activity( + ::AccountActivity* activity) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.activity_); + } + _impl_.activity_ = activity; + if (activity) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) +} +inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_activity() { + _impl_._has_bits_[0] &= ~0x00000080u; + ::AccountActivity* temp = _impl_.activity_; + _impl_.activity_ = 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 ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_activity() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) + _impl_._has_bits_[0] &= ~0x00000080u; + ::AccountActivity* temp = _impl_.activity_; + _impl_.activity_ = nullptr; + return temp; +} +inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_activity() { + _impl_._has_bits_[0] |= 0x00000080u; + if (_impl_.activity_ == nullptr) { + auto* p = CreateMaybeMessage<::AccountActivity>(GetArenaForAllocation()); + _impl_.activity_ = p; + } + return _impl_.activity_; +} +inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_activity() { + ::AccountActivity* _msg = _internal_mutable_activity(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_activity(::AccountActivity* activity) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.activity_; + } + if (activity) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(activity); + if (message_arena != submessage_arena) { + activity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, activity, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.activity_ = activity; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) +} + +// optional int32 player_level = 17; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_level() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_level() const { + return _internal_has_player_level(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_level() { + _impl_.player_level_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_level() const { + return _impl_.player_level_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_level) + return _internal_player_level(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_level(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.player_level_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_level(int32_t value) { + _internal_set_player_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_level) +} + +// optional int32 player_cur_xp = 18; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_cur_xp() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_cur_xp() const { + return _internal_has_player_cur_xp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_cur_xp() { + _impl_.player_cur_xp_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_cur_xp() const { + return _impl_.player_cur_xp_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_cur_xp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_cur_xp) + return _internal_player_cur_xp(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_cur_xp(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.player_cur_xp_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_cur_xp(int32_t value) { + _internal_set_player_cur_xp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_cur_xp) +} + +// optional int32 player_xp_bonus_flags = 19; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_xp_bonus_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_xp_bonus_flags() const { + return _internal_has_player_xp_bonus_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_xp_bonus_flags() { + _impl_.player_xp_bonus_flags_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_xp_bonus_flags() const { + return _impl_.player_xp_bonus_flags_; +} +inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_xp_bonus_flags() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_xp_bonus_flags) + return _internal_player_xp_bonus_flags(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_xp_bonus_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.player_xp_bonus_flags_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_xp_bonus_flags(int32_t value) { + _internal_set_player_xp_bonus_flags(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_xp_bonus_flags) +} + +// repeated .PlayerRankingInfo rankings = 20; +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_rankings_size() const { + return _impl_.rankings_.size(); +} +inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings_size() const { + return _internal_rankings_size(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_rankings() { + _impl_.rankings_.Clear(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_rankings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) + return _impl_.rankings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_rankings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) + return &_impl_.rankings_; +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_rankings(int index) const { + return _impl_.rankings_.Get(index); +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) + return _internal_rankings(index); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_rankings() { + return _impl_.rankings_.Add(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_rankings() { + ::PlayerRankingInfo* _add = _internal_add_rankings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& +CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) + return _impl_.rankings_; +} + +// optional uint64 owcaseid = 21; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_owcaseid() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_owcaseid() const { + return _internal_has_owcaseid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_owcaseid() { + _impl_.owcaseid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_owcaseid() const { + return _impl_.owcaseid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::owcaseid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.owcaseid) + return _internal_owcaseid(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_owcaseid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.owcaseid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_owcaseid(uint64_t value) { + _internal_set_owcaseid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.owcaseid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_AccountPrivacySettings_Setting + +// optional uint32 setting_type = 1; +inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_has_setting_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::has_setting_type() const { + return _internal_has_setting_type(); +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::clear_setting_type() { + _impl_.setting_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_setting_type() const { + return _impl_.setting_type_; +} +inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::setting_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_type) + return _internal_setting_type(); +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_set_setting_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.setting_type_ = value; +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::set_setting_type(uint32_t value) { + _internal_set_setting_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_type) +} + +// optional uint32 setting_value = 2; +inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_has_setting_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::has_setting_value() const { + return _internal_has_setting_value(); +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::clear_setting_value() { + _impl_.setting_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_setting_value() const { + return _impl_.setting_value_; +} +inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::setting_value() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_value) + return _internal_setting_value(); +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_set_setting_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.setting_value_ = value; +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::set_setting_value(uint32_t value) { + _internal_set_setting_value(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_value) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_AccountPrivacySettings + +// repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; +inline int CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_settings_size() const { + return _impl_.settings_.size(); +} +inline int CMsgGCCStrike15_v2_AccountPrivacySettings::settings_size() const { + return _internal_settings_size(); +} +inline void CMsgGCCStrike15_v2_AccountPrivacySettings::clear_settings() { + _impl_.settings_.Clear(); +} +inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::mutable_settings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) + return _impl_.settings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >* +CMsgGCCStrike15_v2_AccountPrivacySettings::mutable_settings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) + return &_impl_.settings_; +} +inline const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_settings(int index) const { + return _impl_.settings_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& CMsgGCCStrike15_v2_AccountPrivacySettings::settings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) + return _internal_settings(index); +} +inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_add_settings() { + return _impl_.settings_.Add(); +} +inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::add_settings() { + ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* _add = _internal_add_settings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >& +CMsgGCCStrike15_v2_AccountPrivacySettings::settings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) + return _impl_.settings_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.account_id) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_abandoned_match() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.abandoned_match_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_abandoned_match() const { + return _internal_has_abandoned_match(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_abandoned_match() { + if (_impl_.abandoned_match_ != nullptr) _impl_.abandoned_match_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_abandoned_match() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.abandoned_match_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::abandoned_match() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) + return _internal_abandoned_match(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::unsafe_arena_set_allocated_abandoned_match( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abandoned_match_); + } + _impl_.abandoned_match_ = abandoned_match; + if (abandoned_match) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::release_abandoned_match() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.abandoned_match_; + _impl_.abandoned_match_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::unsafe_arena_release_abandoned_match() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.abandoned_match_; + _impl_.abandoned_match_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_mutable_abandoned_match() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.abandoned_match_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); + _impl_.abandoned_match_ = p; + } + return _impl_.abandoned_match_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::mutable_abandoned_match() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_abandoned_match(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_allocated_abandoned_match(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.abandoned_match_; + } + if (abandoned_match) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abandoned_match); + if (message_arena != submessage_arena) { + abandoned_match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, abandoned_match, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.abandoned_match_ = abandoned_match; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) +} + +// optional uint32 penalty_seconds = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_penalty_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_penalty_seconds() const { + return _internal_has_penalty_seconds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_penalty_seconds() { + _impl_.penalty_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_penalty_seconds() const { + return _impl_.penalty_seconds_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::penalty_seconds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_seconds) + return _internal_penalty_seconds(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_penalty_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.penalty_seconds_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_penalty_seconds(uint32_t value) { + _internal_set_penalty_seconds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_seconds) +} + +// optional uint32 penalty_reason = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_penalty_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_penalty_reason() const { + return _internal_has_penalty_reason(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_penalty_reason() { + _impl_.penalty_reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_penalty_reason() const { + return _impl_.penalty_reason_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::penalty_reason() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_reason) + return _internal_penalty_reason(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_penalty_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.penalty_reason_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_penalty_reason(uint32_t value) { + _internal_set_penalty_reason(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_reason) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientGCRankUpdate + +// repeated .PlayerRankingInfo rankings = 1; +inline int CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_rankings_size() const { + return _impl_.rankings_.size(); +} +inline int CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings_size() const { + return _internal_rankings_size(); +} +inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::clear_rankings() { + _impl_.rankings_.Clear(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::mutable_rankings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) + return _impl_.rankings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* +CMsgGCCStrike15_v2_ClientGCRankUpdate::mutable_rankings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) + return &_impl_.rankings_; +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_rankings(int index) const { + return _impl_.rankings_.Get(index); +} +inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) + return _internal_rankings(index); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_add_rankings() { + return _impl_.rankings_.Add(); +} +inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::add_rankings() { + ::PlayerRankingInfo* _add = _internal_add_rankings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& +CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) + return _impl_.rankings_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate + +// optional string main_post_url = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_has_main_post_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::has_main_post_url() const { + return _internal_has_main_post_url(); +} +inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::clear_main_post_url() { + _impl_.main_post_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::main_post_url() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) + return _internal_main_post_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::set_main_post_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.main_post_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::mutable_main_post_url() { + std::string* _s = _internal_mutable_main_post_url(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_main_post_url() const { + return _impl_.main_post_url_.Get(); +} +inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_set_main_post_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.main_post_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_mutable_main_post_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.main_post_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::release_main_post_url() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) + if (!_internal_has_main_post_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.main_post_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.main_post_url_.IsDefault()) { + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::set_allocated_main_post_url(std::string* main_post_url) { + if (main_post_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.main_post_url_.SetAllocated(main_post_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.main_post_url_.IsDefault()) { + _impl_.main_post_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ServerNotificationForUserPenalty + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.account_id) +} + +// optional uint32 reason = 2; +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_reason() const { + return _internal_has_reason(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_reason() { + _impl_.reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_reason() const { + return _impl_.reason_; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::reason() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.reason) + return _internal_reason(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_ = value; +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_reason(uint32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.reason) +} + +// optional uint32 seconds = 3; +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_seconds() const { + return _internal_has_seconds(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_seconds() { + _impl_.seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_seconds() const { + return _impl_.seconds_; +} +inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::seconds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.seconds) + return _internal_seconds(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.seconds_ = value; +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_seconds(uint32_t value) { + _internal_set_seconds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.seconds) +} + +// optional bool communication_cooldown = 4; +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_communication_cooldown() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_communication_cooldown() const { + return _internal_has_communication_cooldown(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_communication_cooldown() { + _impl_.communication_cooldown_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_communication_cooldown() const { + return _impl_.communication_cooldown_; +} +inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::communication_cooldown() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.communication_cooldown) + return _internal_communication_cooldown(); +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_communication_cooldown(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.communication_cooldown_ = value; +} +inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_communication_cooldown(bool value) { + _internal_set_communication_cooldown(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.communication_cooldown) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientReportPlayer + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.account_id) +} + +// optional uint32 rpt_aimbot = 2; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_aimbot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_aimbot() const { + return _internal_has_rpt_aimbot(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_aimbot() { + _impl_.rpt_aimbot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_aimbot() const { + return _impl_.rpt_aimbot_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_aimbot() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_aimbot) + return _internal_rpt_aimbot(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_aimbot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rpt_aimbot_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_aimbot(uint32_t value) { + _internal_set_rpt_aimbot(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_aimbot) +} + +// optional uint32 rpt_wallhack = 3; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_wallhack() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_wallhack() const { + return _internal_has_rpt_wallhack(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_wallhack() { + _impl_.rpt_wallhack_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_wallhack() const { + return _impl_.rpt_wallhack_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_wallhack() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_wallhack) + return _internal_rpt_wallhack(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_wallhack(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.rpt_wallhack_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_wallhack(uint32_t value) { + _internal_set_rpt_wallhack(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_wallhack) +} + +// optional uint32 rpt_speedhack = 4; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_speedhack() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_speedhack() const { + return _internal_has_rpt_speedhack(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_speedhack() { + _impl_.rpt_speedhack_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_speedhack() const { + return _impl_.rpt_speedhack_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_speedhack() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_speedhack) + return _internal_rpt_speedhack(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_speedhack(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.rpt_speedhack_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_speedhack(uint32_t value) { + _internal_set_rpt_speedhack(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_speedhack) +} + +// optional uint32 rpt_teamharm = 5; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_teamharm() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_teamharm() const { + return _internal_has_rpt_teamharm(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_teamharm() { + _impl_.rpt_teamharm_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_teamharm() const { + return _impl_.rpt_teamharm_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_teamharm() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_teamharm) + return _internal_rpt_teamharm(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_teamharm(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rpt_teamharm_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_teamharm(uint32_t value) { + _internal_set_rpt_teamharm(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_teamharm) +} + +// optional uint32 rpt_textabuse = 6; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_textabuse() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_textabuse() const { + return _internal_has_rpt_textabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_textabuse() { + _impl_.rpt_textabuse_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_textabuse() const { + return _impl_.rpt_textabuse_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_textabuse() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_textabuse) + return _internal_rpt_textabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_textabuse(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rpt_textabuse_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_textabuse(uint32_t value) { + _internal_set_rpt_textabuse(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_textabuse) +} + +// optional uint32 rpt_voiceabuse = 7; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_voiceabuse() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_voiceabuse() const { + return _internal_has_rpt_voiceabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_voiceabuse() { + _impl_.rpt_voiceabuse_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_voiceabuse() const { + return _impl_.rpt_voiceabuse_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_voiceabuse() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_voiceabuse) + return _internal_rpt_voiceabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_voiceabuse(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.rpt_voiceabuse_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_voiceabuse(uint32_t value) { + _internal_set_rpt_voiceabuse(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_voiceabuse) +} + +// optional uint64 match_id = 8; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_match_id() const { + return _internal_has_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportPlayer::match_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.match_id) + return _internal_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.match_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.match_id) +} + +// optional bool report_from_demo = 9; +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_report_from_demo() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_report_from_demo() const { + return _internal_has_report_from_demo(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_report_from_demo() { + _impl_.report_from_demo_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_report_from_demo() const { + return _impl_.report_from_demo_; +} +inline bool CMsgGCCStrike15_v2_ClientReportPlayer::report_from_demo() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.report_from_demo) + return _internal_report_from_demo(); +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_report_from_demo(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.report_from_demo_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_report_from_demo(bool value) { + _internal_set_report_from_demo(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.report_from_demo) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientCommendPlayer + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.account_id) +} + +// optional uint64 match_id = 8; +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_match_id() const { + return _internal_has_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientCommendPlayer::match_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.match_id) + return _internal_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.match_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.match_id) +} + +// optional .PlayerCommendationInfo commendation = 9; +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_commendation() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_commendation() const { + return _internal_has_commendation(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_commendation() { + if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_commendation() const { + const ::PlayerCommendationInfo* p = _impl_.commendation_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerCommendationInfo_default_instance_); +} +inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_ClientCommendPlayer::commendation() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) + return _internal_commendation(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); + } + _impl_.commendation_ = commendation; + if (commendation) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::release_commendation() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = 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 ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::unsafe_arena_release_commendation() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = nullptr; + return temp; +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_mutable_commendation() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.commendation_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); + _impl_.commendation_ = p; + } + return _impl_.commendation_; +} +inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::mutable_commendation() { + ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) + return _msg; +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_allocated_commendation(::PlayerCommendationInfo* commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.commendation_; + } + if (commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); + if (message_arena != submessage_arena) { + commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, commendation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.commendation_ = commendation; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) +} + +// optional uint32 tokens = 10; +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_tokens() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_tokens() const { + return _internal_has_tokens(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_tokens() { + _impl_.tokens_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_tokens() const { + return _impl_.tokens_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::tokens() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.tokens) + return _internal_tokens(); +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_tokens(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.tokens_ = value; +} +inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_tokens(uint32_t value) { + _internal_set_tokens(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.tokens) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientReportServer + +// optional uint32 rpt_poorperf = 1; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_poorperf() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_poorperf() const { + return _internal_has_rpt_poorperf(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_poorperf() { + _impl_.rpt_poorperf_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_poorperf() const { + return _impl_.rpt_poorperf_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_poorperf() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_poorperf) + return _internal_rpt_poorperf(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_poorperf(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rpt_poorperf_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_poorperf(uint32_t value) { + _internal_set_rpt_poorperf(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_poorperf) +} + +// optional uint32 rpt_abusivemodels = 2; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_abusivemodels() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_abusivemodels() const { + return _internal_has_rpt_abusivemodels(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_abusivemodels() { + _impl_.rpt_abusivemodels_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_abusivemodels() const { + return _impl_.rpt_abusivemodels_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_abusivemodels() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_abusivemodels) + return _internal_rpt_abusivemodels(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_abusivemodels(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rpt_abusivemodels_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_abusivemodels(uint32_t value) { + _internal_set_rpt_abusivemodels(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_abusivemodels) +} + +// optional uint32 rpt_badmotd = 3; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_badmotd() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_badmotd() const { + return _internal_has_rpt_badmotd(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_badmotd() { + _impl_.rpt_badmotd_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_badmotd() const { + return _impl_.rpt_badmotd_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_badmotd() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_badmotd) + return _internal_rpt_badmotd(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_badmotd(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.rpt_badmotd_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_badmotd(uint32_t value) { + _internal_set_rpt_badmotd(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_badmotd) +} + +// optional uint32 rpt_listingabuse = 4; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_listingabuse() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_listingabuse() const { + return _internal_has_rpt_listingabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_listingabuse() { + _impl_.rpt_listingabuse_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_listingabuse() const { + return _impl_.rpt_listingabuse_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_listingabuse() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_listingabuse) + return _internal_rpt_listingabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_listingabuse(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.rpt_listingabuse_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_listingabuse(uint32_t value) { + _internal_set_rpt_listingabuse(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_listingabuse) +} + +// optional uint32 rpt_inventoryabuse = 5; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_inventoryabuse() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_inventoryabuse() const { + return _internal_has_rpt_inventoryabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_inventoryabuse() { + _impl_.rpt_inventoryabuse_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_inventoryabuse() const { + return _impl_.rpt_inventoryabuse_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_inventoryabuse() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_inventoryabuse) + return _internal_rpt_inventoryabuse(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_inventoryabuse(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rpt_inventoryabuse_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_inventoryabuse(uint32_t value) { + _internal_set_rpt_inventoryabuse(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_inventoryabuse) +} + +// optional uint64 match_id = 8; +inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportServer::has_match_id() const { + return _internal_has_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportServer::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportServer::match_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.match_id) + return _internal_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.match_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportServer::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.match_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientReportResponse + +// optional uint64 confirmation_id = 1; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_confirmation_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_confirmation_id() const { + return _internal_has_confirmation_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_confirmation_id() { + _impl_.confirmation_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_confirmation_id() const { + return _impl_.confirmation_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportResponse::confirmation_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.confirmation_id) + return _internal_confirmation_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_confirmation_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.confirmation_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_confirmation_id(uint64_t value) { + _internal_set_confirmation_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.confirmation_id) +} + +// optional uint32 account_id = 2; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.account_id) +} + +// optional uint32 server_ip = 3; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_server_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_server_ip() const { + return _internal_has_server_ip(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_server_ip() { + _impl_.server_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_server_ip() const { + return _impl_.server_ip_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::server_ip() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.server_ip) + return _internal_server_ip(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_server_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_ip_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_server_ip(uint32_t value) { + _internal_set_server_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.server_ip) +} + +// optional uint32 response_type = 4; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_response_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_response_type() const { + return _internal_has_response_type(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_response_type() { + _impl_.response_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_response_type() const { + return _impl_.response_type_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::response_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.response_type) + return _internal_response_type(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_response_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.response_type_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_response_type(uint32_t value) { + _internal_set_response_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.response_type) +} + +// optional uint32 response_result = 5; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_response_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_response_result() const { + return _internal_has_response_result(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_response_result() { + _impl_.response_result_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_response_result() const { + return _impl_.response_result_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::response_result() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.response_result) + return _internal_response_result(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_response_result(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.response_result_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_response_result(uint32_t value) { + _internal_set_response_result(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.response_result) +} + +// optional uint32 tokens = 6; +inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_tokens() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_tokens() const { + return _internal_has_tokens(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_tokens() { + _impl_.tokens_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_tokens() const { + return _impl_.tokens_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::tokens() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.tokens) + return _internal_tokens(); +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_tokens(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tokens_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportResponse::set_tokens(uint32_t value) { + _internal_set_tokens(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.tokens) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends + +// optional uint32 request_id = 1; +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_request_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_request_id() const { + return _internal_has_request_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_request_id() { + _impl_.request_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_request_id() const { + return _impl_.request_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::request_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.request_id) + return _internal_request_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_request_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.request_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_request_id(uint32_t value) { + _internal_set_request_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.request_id) +} + +// repeated uint32 account_ids = 2; +inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids_size() const { + return _impl_.account_ids_.size(); +} +inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids_size() const { + return _internal_account_ids_size(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_account_ids() { + _impl_.account_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids(int index) const { + return _impl_.account_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) + return _internal_account_ids(index); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_account_ids(int index, uint32_t value) { + _impl_.account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_add_account_ids(uint32_t value) { + _impl_.account_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::add_account_ids(uint32_t value) { + _internal_add_account_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids() const { + return _impl_.account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) + return _internal_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_mutable_account_ids() { + return &_impl_.account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) + return _internal_mutable_account_ids(); +} + +// optional uint64 serverid = 3; +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_serverid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_serverid() const { + return _internal_has_serverid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_serverid() { + _impl_.serverid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_serverid() const { + return _impl_.serverid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::serverid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.serverid) + return _internal_serverid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_serverid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.serverid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_serverid(uint64_t value) { + _internal_set_serverid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.serverid) +} + +// optional uint64 matchid = 4; +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_matchid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_matchid() const { + return _internal_has_matchid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_matchid() { + _impl_.matchid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_matchid() const { + return _impl_.matchid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::matchid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.matchid) + return _internal_matchid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_matchid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.matchid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_matchid(uint64_t value) { + _internal_set_matchid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.matchid) +} + +// optional uint32 client_launcher = 5; +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_client_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_client_launcher() const { + return _internal_has_client_launcher(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_client_launcher() { + _impl_.client_launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_client_launcher() const { + return _impl_.client_launcher_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::client_launcher() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.client_launcher) + return _internal_client_launcher(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_client_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_launcher_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_client_launcher(uint32_t value) { + _internal_set_client_launcher(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.client_launcher) +} + +// repeated .DataCenterPing data_center_pings = 6; +inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_data_center_pings_size() const { + return _impl_.data_center_pings_.size(); +} +inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings_size() const { + return _internal_data_center_pings_size(); +} +inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_data_center_pings() { + _impl_.data_center_pings_.Clear(); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_data_center_pings(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) + return _impl_.data_center_pings_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_data_center_pings() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) + return &_impl_.data_center_pings_; +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_data_center_pings(int index) const { + return _impl_.data_center_pings_.Get(index); +} +inline const ::DataCenterPing& CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) + return _internal_data_center_pings(index); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_add_data_center_pings() { + return _impl_.data_center_pings_.Add(); +} +inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::add_data_center_pings() { + ::DataCenterPing* _add = _internal_add_data_center_pings(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& +CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) + return _impl_.data_center_pings_; +} + +// ------------------------------------------------------------------- + +// WatchableMatchInfo + +// optional uint32 server_ip = 1; +inline bool WatchableMatchInfo::_internal_has_server_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_server_ip() const { + return _internal_has_server_ip(); +} +inline void WatchableMatchInfo::clear_server_ip() { + _impl_.server_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t WatchableMatchInfo::_internal_server_ip() const { + return _impl_.server_ip_; +} +inline uint32_t WatchableMatchInfo::server_ip() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.server_ip) + return _internal_server_ip(); +} +inline void WatchableMatchInfo::_internal_set_server_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.server_ip_ = value; +} +inline void WatchableMatchInfo::set_server_ip(uint32_t value) { + _internal_set_server_ip(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.server_ip) +} + +// optional uint32 tv_port = 2; +inline bool WatchableMatchInfo::_internal_has_tv_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_tv_port() const { + return _internal_has_tv_port(); +} +inline void WatchableMatchInfo::clear_tv_port() { + _impl_.tv_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t WatchableMatchInfo::_internal_tv_port() const { + return _impl_.tv_port_; +} +inline uint32_t WatchableMatchInfo::tv_port() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_port) + return _internal_tv_port(); +} +inline void WatchableMatchInfo::_internal_set_tv_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.tv_port_ = value; +} +inline void WatchableMatchInfo::set_tv_port(uint32_t value) { + _internal_set_tv_port(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_port) +} + +// optional uint32 tv_spectators = 3; +inline bool WatchableMatchInfo::_internal_has_tv_spectators() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_tv_spectators() const { + return _internal_has_tv_spectators(); +} +inline void WatchableMatchInfo::clear_tv_spectators() { + _impl_.tv_spectators_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t WatchableMatchInfo::_internal_tv_spectators() const { + return _impl_.tv_spectators_; +} +inline uint32_t WatchableMatchInfo::tv_spectators() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_spectators) + return _internal_tv_spectators(); +} +inline void WatchableMatchInfo::_internal_set_tv_spectators(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tv_spectators_ = value; +} +inline void WatchableMatchInfo::set_tv_spectators(uint32_t value) { + _internal_set_tv_spectators(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_spectators) +} + +// optional uint32 tv_time = 4; +inline bool WatchableMatchInfo::_internal_has_tv_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_tv_time() const { + return _internal_has_tv_time(); +} +inline void WatchableMatchInfo::clear_tv_time() { + _impl_.tv_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t WatchableMatchInfo::_internal_tv_time() const { + return _impl_.tv_time_; +} +inline uint32_t WatchableMatchInfo::tv_time() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_time) + return _internal_tv_time(); +} +inline void WatchableMatchInfo::_internal_set_tv_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.tv_time_ = value; +} +inline void WatchableMatchInfo::set_tv_time(uint32_t value) { + _internal_set_tv_time(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_time) +} + +// optional bytes tv_watch_password = 5; +inline bool WatchableMatchInfo::_internal_has_tv_watch_password() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_tv_watch_password() const { + return _internal_has_tv_watch_password(); +} +inline void WatchableMatchInfo::clear_tv_watch_password() { + _impl_.tv_watch_password_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& WatchableMatchInfo::tv_watch_password() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_watch_password) + return _internal_tv_watch_password(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WatchableMatchInfo::set_tv_watch_password(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tv_watch_password_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_watch_password) +} +inline std::string* WatchableMatchInfo::mutable_tv_watch_password() { + std::string* _s = _internal_mutable_tv_watch_password(); + // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.tv_watch_password) + return _s; +} +inline const std::string& WatchableMatchInfo::_internal_tv_watch_password() const { + return _impl_.tv_watch_password_.Get(); +} +inline void WatchableMatchInfo::_internal_set_tv_watch_password(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tv_watch_password_.Set(value, GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::_internal_mutable_tv_watch_password() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.tv_watch_password_.Mutable(GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::release_tv_watch_password() { + // @@protoc_insertion_point(field_release:WatchableMatchInfo.tv_watch_password) + if (!_internal_has_tv_watch_password()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.tv_watch_password_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tv_watch_password_.IsDefault()) { + _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void WatchableMatchInfo::set_allocated_tv_watch_password(std::string* tv_watch_password) { + if (tv_watch_password != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tv_watch_password_.SetAllocated(tv_watch_password, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tv_watch_password_.IsDefault()) { + _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.tv_watch_password) +} + +// optional uint64 cl_decryptdata_key = 6; +inline bool WatchableMatchInfo::_internal_has_cl_decryptdata_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_cl_decryptdata_key() const { + return _internal_has_cl_decryptdata_key(); +} +inline void WatchableMatchInfo::clear_cl_decryptdata_key() { + _impl_.cl_decryptdata_key_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t WatchableMatchInfo::_internal_cl_decryptdata_key() const { + return _impl_.cl_decryptdata_key_; +} +inline uint64_t WatchableMatchInfo::cl_decryptdata_key() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.cl_decryptdata_key) + return _internal_cl_decryptdata_key(); +} +inline void WatchableMatchInfo::_internal_set_cl_decryptdata_key(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.cl_decryptdata_key_ = value; +} +inline void WatchableMatchInfo::set_cl_decryptdata_key(uint64_t value) { + _internal_set_cl_decryptdata_key(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.cl_decryptdata_key) +} + +// optional uint64 cl_decryptdata_key_pub = 7; +inline bool WatchableMatchInfo::_internal_has_cl_decryptdata_key_pub() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_cl_decryptdata_key_pub() const { + return _internal_has_cl_decryptdata_key_pub(); +} +inline void WatchableMatchInfo::clear_cl_decryptdata_key_pub() { + _impl_.cl_decryptdata_key_pub_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t WatchableMatchInfo::_internal_cl_decryptdata_key_pub() const { + return _impl_.cl_decryptdata_key_pub_; +} +inline uint64_t WatchableMatchInfo::cl_decryptdata_key_pub() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.cl_decryptdata_key_pub) + return _internal_cl_decryptdata_key_pub(); +} +inline void WatchableMatchInfo::_internal_set_cl_decryptdata_key_pub(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.cl_decryptdata_key_pub_ = value; +} +inline void WatchableMatchInfo::set_cl_decryptdata_key_pub(uint64_t value) { + _internal_set_cl_decryptdata_key_pub(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.cl_decryptdata_key_pub) +} + +// optional uint32 game_type = 8; +inline bool WatchableMatchInfo::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_game_type() const { + return _internal_has_game_type(); +} +inline void WatchableMatchInfo::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t WatchableMatchInfo::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t WatchableMatchInfo::game_type() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_type) + return _internal_game_type(); +} +inline void WatchableMatchInfo::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.game_type_ = value; +} +inline void WatchableMatchInfo::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_type) +} + +// optional string game_mapgroup = 9; +inline bool WatchableMatchInfo::_internal_has_game_mapgroup() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_game_mapgroup() const { + return _internal_has_game_mapgroup(); +} +inline void WatchableMatchInfo::clear_game_mapgroup() { + _impl_.game_mapgroup_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& WatchableMatchInfo::game_mapgroup() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_mapgroup) + return _internal_game_mapgroup(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WatchableMatchInfo::set_game_mapgroup(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_mapgroup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_mapgroup) +} +inline std::string* WatchableMatchInfo::mutable_game_mapgroup() { + std::string* _s = _internal_mutable_game_mapgroup(); + // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.game_mapgroup) + return _s; +} +inline const std::string& WatchableMatchInfo::_internal_game_mapgroup() const { + return _impl_.game_mapgroup_.Get(); +} +inline void WatchableMatchInfo::_internal_set_game_mapgroup(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_mapgroup_.Set(value, GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::_internal_mutable_game_mapgroup() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.game_mapgroup_.Mutable(GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::release_game_mapgroup() { + // @@protoc_insertion_point(field_release:WatchableMatchInfo.game_mapgroup) + if (!_internal_has_game_mapgroup()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.game_mapgroup_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mapgroup_.IsDefault()) { + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void WatchableMatchInfo::set_allocated_game_mapgroup(std::string* game_mapgroup) { + if (game_mapgroup != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.game_mapgroup_.SetAllocated(game_mapgroup, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mapgroup_.IsDefault()) { + _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.game_mapgroup) +} + +// optional string game_map = 10; +inline bool WatchableMatchInfo::_internal_has_game_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_game_map() const { + return _internal_has_game_map(); +} +inline void WatchableMatchInfo::clear_game_map() { + _impl_.game_map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& WatchableMatchInfo::game_map() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_map) + return _internal_game_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WatchableMatchInfo::set_game_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.game_map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_map) +} +inline std::string* WatchableMatchInfo::mutable_game_map() { + std::string* _s = _internal_mutable_game_map(); + // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.game_map) + return _s; +} +inline const std::string& WatchableMatchInfo::_internal_game_map() const { + return _impl_.game_map_.Get(); +} +inline void WatchableMatchInfo::_internal_set_game_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.game_map_.Set(value, GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::_internal_mutable_game_map() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.game_map_.Mutable(GetArenaForAllocation()); +} +inline std::string* WatchableMatchInfo::release_game_map() { + // @@protoc_insertion_point(field_release:WatchableMatchInfo.game_map) + if (!_internal_has_game_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.game_map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_map_.IsDefault()) { + _impl_.game_map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void WatchableMatchInfo::set_allocated_game_map(std::string* game_map) { + if (game_map != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.game_map_.SetAllocated(game_map, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_map_.IsDefault()) { + _impl_.game_map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.game_map) +} + +// optional uint64 server_id = 11; +inline bool WatchableMatchInfo::_internal_has_server_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_server_id() const { + return _internal_has_server_id(); +} +inline void WatchableMatchInfo::clear_server_id() { + _impl_.server_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t WatchableMatchInfo::_internal_server_id() const { + return _impl_.server_id_; +} +inline uint64_t WatchableMatchInfo::server_id() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.server_id) + return _internal_server_id(); +} +inline void WatchableMatchInfo::_internal_set_server_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.server_id_ = value; +} +inline void WatchableMatchInfo::set_server_id(uint64_t value) { + _internal_set_server_id(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.server_id) +} + +// optional uint64 match_id = 12; +inline bool WatchableMatchInfo::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_match_id() const { + return _internal_has_match_id(); +} +inline void WatchableMatchInfo::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint64_t WatchableMatchInfo::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t WatchableMatchInfo::match_id() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.match_id) + return _internal_match_id(); +} +inline void WatchableMatchInfo::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.match_id_ = value; +} +inline void WatchableMatchInfo::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.match_id) +} + +// optional uint64 reservation_id = 13; +inline bool WatchableMatchInfo::_internal_has_reservation_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool WatchableMatchInfo::has_reservation_id() const { + return _internal_has_reservation_id(); +} +inline void WatchableMatchInfo::clear_reservation_id() { + _impl_.reservation_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint64_t WatchableMatchInfo::_internal_reservation_id() const { + return _impl_.reservation_id_; +} +inline uint64_t WatchableMatchInfo::reservation_id() const { + // @@protoc_insertion_point(field_get:WatchableMatchInfo.reservation_id) + return _internal_reservation_id(); +} +inline void WatchableMatchInfo::_internal_set_reservation_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.reservation_id_ = value; +} +inline void WatchableMatchInfo::set_reservation_id(uint64_t value) { + _internal_set_reservation_id(value); + // @@protoc_insertion_point(field_set:WatchableMatchInfo.reservation_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestJoinFriendData + +// optional uint32 version = 1; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_version() const { + return _internal_has_version(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::version() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.version) + return _internal_version(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.version) +} + +// optional uint32 account_id = 2; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.account_id) +} + +// optional uint32 join_token = 3; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_join_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_join_token() const { + return _internal_has_join_token(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_join_token() { + _impl_.join_token_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_join_token() const { + return _impl_.join_token_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::join_token() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_token) + return _internal_join_token(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_join_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.join_token_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_join_token(uint32_t value) { + _internal_set_join_token(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_token) +} + +// optional uint32 join_ipp = 4; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_join_ipp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_join_ipp() const { + return _internal_has_join_ipp(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_join_ipp() { + _impl_.join_ipp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_join_ipp() const { + return _impl_.join_ipp_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::join_ipp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_ipp) + return _internal_join_ipp(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_join_ipp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.join_ipp_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_join_ipp(uint32_t value) { + _internal_set_join_ipp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_ipp) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_res() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.res_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_res() const { + return _internal_has_res(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_res() { + if (_impl_.res_ != nullptr) _impl_.res_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_res() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.res_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::res() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) + return _internal_res(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::unsafe_arena_set_allocated_res( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.res_); + } + _impl_.res_ = res; + if (res) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::release_res() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; + _impl_.res_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::unsafe_arena_release_res() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; + _impl_.res_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_mutable_res() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.res_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); + _impl_.res_ = p; + } + return _impl_.res_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::mutable_res() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_res(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) + return _msg; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.res_; + } + if (res) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(res); + if (message_arena != submessage_arena) { + res = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, res, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.res_ = res; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) +} + +// optional string errormsg = 6; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_errormsg() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_errormsg() const { + return _internal_has_errormsg(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_errormsg() { + _impl_.errormsg_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::errormsg() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) + return _internal_errormsg(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_errormsg(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errormsg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::mutable_errormsg() { + std::string* _s = _internal_mutable_errormsg(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_errormsg() const { + return _impl_.errormsg_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_errormsg(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errormsg_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_mutable_errormsg() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.errormsg_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::release_errormsg() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) + if (!_internal_has_errormsg()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.errormsg_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.errormsg_.IsDefault()) { + _impl_.errormsg_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_allocated_errormsg(std::string* errormsg) { + if (errormsg != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.errormsg_.SetAllocated(errormsg, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.errormsg_.IsDefault()) { + _impl_.errormsg_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestJoinServerData + +// optional uint32 version = 1; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_version() const { + return _internal_has_version(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::version() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.version) + return _internal_version(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.version) +} + +// optional uint32 account_id = 2; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.account_id) +} + +// optional uint64 serverid = 3; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_serverid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_serverid() const { + return _internal_has_serverid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_serverid() { + _impl_.serverid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_serverid() const { + return _impl_.serverid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::serverid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.serverid) + return _internal_serverid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_serverid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.serverid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_serverid(uint64_t value) { + _internal_set_serverid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.serverid) +} + +// optional uint32 server_ip = 4; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_server_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_server_ip() const { + return _internal_has_server_ip(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_server_ip() { + _impl_.server_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_server_ip() const { + return _impl_.server_ip_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::server_ip() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_ip) + return _internal_server_ip(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_server_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.server_ip_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_server_ip(uint32_t value) { + _internal_set_server_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_ip) +} + +// optional uint32 server_port = 5; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_server_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_server_port() const { + return _internal_has_server_port(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_server_port() { + _impl_.server_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_server_port() const { + return _impl_.server_port_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::server_port() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_port) + return _internal_server_port(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_server_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.server_port_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_server_port(uint32_t value) { + _internal_set_server_port(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_port) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_res() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.res_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_res() const { + return _internal_has_res(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_res() { + if (_impl_.res_ != nullptr) _impl_.res_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_res() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.res_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinServerData::res() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) + return _internal_res(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::unsafe_arena_set_allocated_res( + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.res_); + } + _impl_.res_ = res; + if (res) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::release_res() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; + _impl_.res_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::unsafe_arena_release_res() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; + _impl_.res_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_mutable_res() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.res_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); + _impl_.res_ = p; + } + return _impl_.res_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::mutable_res() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_res(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) + return _msg; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.res_; + } + if (res) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(res); + if (message_arena != submessage_arena) { + res = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, res, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.res_ = res; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) +} + +// optional string errormsg = 7; +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_errormsg() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_errormsg() const { + return _internal_has_errormsg(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_errormsg() { + _impl_.errormsg_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinServerData::errormsg() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) + return _internal_errormsg(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_errormsg(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errormsg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::mutable_errormsg() { + std::string* _s = _internal_mutable_errormsg(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_errormsg() const { + return _impl_.errormsg_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_errormsg(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errormsg_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_mutable_errormsg() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.errormsg_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::release_errormsg() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) + if (!_internal_has_errormsg()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.errormsg_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.errormsg_.IsDefault()) { + _impl_.errormsg_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_allocated_errormsg(std::string* errormsg) { + if (errormsg != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.errormsg_.SetAllocated(errormsg, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.errormsg_.IsDefault()) { + _impl_.errormsg_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) +} + +// ------------------------------------------------------------------- + +// CMsgGCCstrike15_v2_ClientRedeemMissionReward + +// optional uint32 campaign_id = 1; +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_campaign_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_campaign_id() const { + return _internal_has_campaign_id(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_campaign_id() { + _impl_.campaign_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_campaign_id() const { + return _impl_.campaign_id_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::campaign_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.campaign_id) + return _internal_campaign_id(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_campaign_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.campaign_id_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_campaign_id(uint32_t value) { + _internal_set_campaign_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.campaign_id) +} + +// optional uint32 redeem_id = 2; +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_redeem_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_redeem_id() const { + return _internal_has_redeem_id(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_redeem_id() { + _impl_.redeem_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_redeem_id() const { + return _impl_.redeem_id_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::redeem_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeem_id) + return _internal_redeem_id(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_redeem_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redeem_id_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_redeem_id(uint32_t value) { + _internal_set_redeem_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeem_id) +} + +// optional uint32 redeemable_balance = 3; +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_redeemable_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_redeemable_balance() const { + return _internal_has_redeemable_balance(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_redeemable_balance() { + _impl_.redeemable_balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_redeemable_balance() const { + return _impl_.redeemable_balance_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::redeemable_balance() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeemable_balance) + return _internal_redeemable_balance(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_redeemable_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.redeemable_balance_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_redeemable_balance(uint32_t value) { + _internal_set_redeemable_balance(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeemable_balance) +} + +// optional uint32 expected_cost = 4; +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_expected_cost() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_expected_cost() const { + return _internal_has_expected_cost(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_expected_cost() { + _impl_.expected_cost_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_expected_cost() const { + return _impl_.expected_cost_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::expected_cost() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.expected_cost) + return _internal_expected_cost(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_expected_cost(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.expected_cost_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_expected_cost(uint32_t value) { + _internal_set_expected_cost(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.expected_cost) +} + +// optional int32 bid_control = 5; +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_bid_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_bid_control() const { + return _internal_has_bid_control(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_bid_control() { + _impl_.bid_control_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_bid_control() const { + return _impl_.bid_control_; +} +inline int32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::bid_control() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.bid_control) + return _internal_bid_control(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_bid_control(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.bid_control_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_bid_control(int32_t value) { + _internal_set_bid_control(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.bid_control) +} + +// ------------------------------------------------------------------- + +// CMsgGCCstrike15_v2_ClientRedeemFreeReward + +// optional uint32 generation_time = 1; +inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_has_generation_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::has_generation_time() const { + return _internal_has_generation_time(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_generation_time() { + _impl_.generation_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::generation_time() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.generation_time) + return _internal_generation_time(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_set_generation_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.generation_time_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_generation_time(uint32_t value) { + _internal_set_generation_time(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.generation_time) +} + +// optional uint32 redeemable_balance = 2; +inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_has_redeemable_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::has_redeemable_balance() const { + return _internal_has_redeemable_balance(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_redeemable_balance() { + _impl_.redeemable_balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_redeemable_balance() const { + return _impl_.redeemable_balance_; +} +inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::redeemable_balance() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.redeemable_balance) + return _internal_redeemable_balance(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_set_redeemable_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redeemable_balance_ = value; +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_redeemable_balance(uint32_t value) { + _internal_set_redeemable_balance(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.redeemable_balance) +} + +// repeated uint64 items = 3; +inline int CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CMsgGCCstrike15_v2_ClientRedeemFreeReward::items_size() const { + return _internal_items_size(); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_items() { + _impl_.items_.Clear(); +} +inline uint64_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline uint64_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::items(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) + return _internal_items(index); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_items(int index, uint64_t value) { + _impl_.items_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_add_items(uint64_t value) { + _impl_.items_.Add(value); +} +inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::add_items(uint64_t value) { + _internal_add_items(value); + // @@protoc_insertion_point(field_add:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items() const { + return _impl_.items_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCCstrike15_v2_ClientRedeemFreeReward::items() const { + // @@protoc_insertion_point(field_list:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) + return _internal_items(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_mutable_items() { + return &_impl_.items_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCCstrike15_v2_ClientRedeemFreeReward::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) + return _internal_mutable_items(); +} + +// ------------------------------------------------------------------- + +// CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded + +// repeated .XpProgressData xp_progress_data = 1; +inline int CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_progress_data_size() const { + return _impl_.xp_progress_data_.size(); +} +inline int CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data_size() const { + return _internal_xp_progress_data_size(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_progress_data() { + _impl_.xp_progress_data_.Clear(); +} +inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::mutable_xp_progress_data(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) + return _impl_.xp_progress_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* +CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::mutable_xp_progress_data() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) + return &_impl_.xp_progress_data_; +} +inline const ::XpProgressData& CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_progress_data(int index) const { + return _impl_.xp_progress_data_.Get(index); +} +inline const ::XpProgressData& CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) + return _internal_xp_progress_data(index); +} +inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_add_xp_progress_data() { + return _impl_.xp_progress_data_.Add(); +} +inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::add_xp_progress_data() { + ::XpProgressData* _add = _internal_add_xp_progress_data(); + // @@protoc_insertion_point(field_add:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& +CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data() const { + // @@protoc_insertion_point(field_list:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) + return _impl_.xp_progress_data_; +} + +// optional uint32 account_id = 2; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.account_id) + return _internal_account_id(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.account_id) +} + +// optional uint32 current_xp = 3; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_current_xp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_current_xp() const { + return _internal_has_current_xp(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_current_xp() { + _impl_.current_xp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_current_xp() const { + return _impl_.current_xp_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::current_xp() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_xp) + return _internal_current_xp(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_current_xp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.current_xp_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_current_xp(uint32_t value) { + _internal_set_current_xp(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_xp) +} + +// optional uint32 current_level = 4; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_current_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_current_level() const { + return _internal_has_current_level(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_current_level() { + _impl_.current_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_current_level() const { + return _impl_.current_level_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::current_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_level) + return _internal_current_level(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_current_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.current_level_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_current_level(uint32_t value) { + _internal_set_current_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_level) +} + +// optional uint32 upgraded_defidx = 5; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_upgraded_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_upgraded_defidx() const { + return _internal_has_upgraded_defidx(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_upgraded_defidx() { + _impl_.upgraded_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_upgraded_defidx() const { + return _impl_.upgraded_defidx_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::upgraded_defidx() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.upgraded_defidx) + return _internal_upgraded_defidx(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_upgraded_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.upgraded_defidx_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_upgraded_defidx(uint32_t value) { + _internal_set_upgraded_defidx(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.upgraded_defidx) +} + +// optional uint32 operation_points_awarded = 6; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_operation_points_awarded() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_operation_points_awarded() const { + return _internal_has_operation_points_awarded(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_operation_points_awarded() { + _impl_.operation_points_awarded_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_operation_points_awarded() const { + return _impl_.operation_points_awarded_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::operation_points_awarded() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.operation_points_awarded) + return _internal_operation_points_awarded(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_operation_points_awarded(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.operation_points_awarded_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_operation_points_awarded(uint32_t value) { + _internal_set_operation_points_awarded(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.operation_points_awarded) +} + +// optional uint32 free_rewards = 7; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_free_rewards() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_free_rewards() const { + return _internal_has_free_rewards(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_free_rewards() { + _impl_.free_rewards_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_free_rewards() const { + return _impl_.free_rewards_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::free_rewards() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.free_rewards) + return _internal_free_rewards(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_free_rewards(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.free_rewards_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_free_rewards(uint32_t value) { + _internal_set_free_rewards(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.free_rewards) +} + +// optional uint32 xp_trail_remaining = 8; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_remaining() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_remaining() const { + return _internal_has_xp_trail_remaining(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_remaining() { + _impl_.xp_trail_remaining_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_remaining() const { + return _impl_.xp_trail_remaining_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_remaining() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_remaining) + return _internal_xp_trail_remaining(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_remaining(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.xp_trail_remaining_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_remaining(uint32_t value) { + _internal_set_xp_trail_remaining(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_remaining) +} + +// optional int32 xp_trail_xp_needed = 9; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_xp_needed() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_xp_needed() const { + return _internal_has_xp_trail_xp_needed(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_xp_needed() { + _impl_.xp_trail_xp_needed_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_xp_needed() const { + return _impl_.xp_trail_xp_needed_; +} +inline int32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_xp_needed() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_xp_needed) + return _internal_xp_trail_xp_needed(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_xp_needed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.xp_trail_xp_needed_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_xp_needed(int32_t value) { + _internal_set_xp_trail_xp_needed(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_xp_needed) +} + +// optional uint32 xp_trail_level = 10; +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_level() const { + return _internal_has_xp_trail_level(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_level() { + _impl_.xp_trail_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_level() const { + return _impl_.xp_trail_level_; +} +inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_level) + return _internal_xp_trail_level(); +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.xp_trail_level_ = value; +} +inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_level(uint32_t value) { + _internal_set_xp_trail_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_level) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientNetworkConfig + +// optional bytes data = 1; +inline bool CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientNetworkConfig::has_data() const { + return _internal_has_data(); +} +inline void CMsgGCCStrike15_v2_ClientNetworkConfig::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientNetworkConfig::data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientNetworkConfig.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientNetworkConfig::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientNetworkConfig.data) +} +inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientNetworkConfig.data) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::release_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientNetworkConfig.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientNetworkConfig::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientNetworkConfig.data) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_ClientDeepStats_DeepStatsRange + +// optional uint32 begin = 1; +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_begin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_begin() const { + return _internal_has_begin(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_begin() { + _impl_.begin_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_begin() const { + return _impl_.begin_; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::begin() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.begin) + return _internal_begin(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_begin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.begin_ = value; +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_begin(uint32_t value) { + _internal_set_begin(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.begin) +} + +// optional uint32 end = 2; +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_end() const { + return _internal_has_end(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_end() { + _impl_.end_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_end() const { + return _impl_.end_; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::end() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.end) + return _internal_end(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_end(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.end_ = value; +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_end(uint32_t value) { + _internal_set_end(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.end) +} + +// optional bool frozen = 3; +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_frozen() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_frozen() const { + return _internal_has_frozen(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_frozen() { + _impl_.frozen_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_frozen() const { + return _impl_.frozen_; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::frozen() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.frozen) + return _internal_frozen(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_frozen(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frozen_ = value; +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_frozen(bool value) { + _internal_set_frozen(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.frozen) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch + +// optional .DeepPlayerStatsEntry player = 1; +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_has_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.player_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::has_player() const { + return _internal_has_player(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::clear_player() { + if (_impl_.player_ != nullptr) _impl_.player_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::DeepPlayerStatsEntry& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_player() const { + const ::DeepPlayerStatsEntry* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::_DeepPlayerStatsEntry_default_instance_); +} +inline const ::DeepPlayerStatsEntry& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::player() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) + return _internal_player(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::unsafe_arena_set_allocated_player( + ::DeepPlayerStatsEntry* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) +} +inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::release_player() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::DeepPlayerStatsEntry* 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 ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) + _impl_._has_bits_[0] &= ~0x00000001u; + ::DeepPlayerStatsEntry* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_mutable_player() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::DeepPlayerStatsEntry>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_player() { + ::DeepPlayerStatsEntry* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) + return _msg; +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::set_allocated_player(::DeepPlayerStatsEntry* 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); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) +} + +// repeated .DeepPlayerMatchEvent events = 2; +inline int CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_events_size() const { + return _impl_.events_.size(); +} +inline int CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events_size() const { + return _internal_events_size(); +} +inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::clear_events() { + _impl_.events_.Clear(); +} +inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_events(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) + return _impl_.events_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >* +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_events() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) + return &_impl_.events_; +} +inline const ::DeepPlayerMatchEvent& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_events(int index) const { + return _impl_.events_.Get(index); +} +inline const ::DeepPlayerMatchEvent& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) + return _internal_events(index); +} +inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_add_events() { + return _impl_.events_.Add(); +} +inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::add_events() { + ::DeepPlayerMatchEvent* _add = _internal_add_events(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >& +CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) + return _impl_.events_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_ClientDeepStats + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_ClientDeepStats::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_ClientDeepStats::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_ClientDeepStats::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_ClientDeepStats::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_ClientDeepStats::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.account_id) +} + +// optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; +inline bool CMsgGCCStrike15_ClientDeepStats::_internal_has_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.range_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_ClientDeepStats::has_range() const { + return _internal_has_range(); +} +inline void CMsgGCCStrike15_ClientDeepStats::clear_range() { + if (_impl_.range_ != nullptr) _impl_.range_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& CMsgGCCStrike15_ClientDeepStats::_internal_range() const { + const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* p = _impl_.range_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_); +} +inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& CMsgGCCStrike15_ClientDeepStats::range() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.range) + return _internal_range(); +} +inline void CMsgGCCStrike15_ClientDeepStats::unsafe_arena_set_allocated_range( + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.range_); + } + _impl_.range_ = range; + if (range) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_ClientDeepStats.range) +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::release_range() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* temp = _impl_.range_; + _impl_.range_ = 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 ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::unsafe_arena_release_range() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_ClientDeepStats.range) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* temp = _impl_.range_; + _impl_.range_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::_internal_mutable_range() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.range_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange>(GetArenaForAllocation()); + _impl_.range_ = p; + } + return _impl_.range_; +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::mutable_range() { + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* _msg = _internal_mutable_range(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.range) + return _msg; +} +inline void CMsgGCCStrike15_ClientDeepStats::set_allocated_range(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.range_; + } + if (range) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(range); + if (message_arena != submessage_arena) { + range = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, range, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.range_ = range; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_ClientDeepStats.range) +} + +// repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; +inline int CMsgGCCStrike15_ClientDeepStats::_internal_matches_size() const { + return _impl_.matches_.size(); +} +inline int CMsgGCCStrike15_ClientDeepStats::matches_size() const { + return _internal_matches_size(); +} +inline void CMsgGCCStrike15_ClientDeepStats::clear_matches() { + _impl_.matches_.Clear(); +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::mutable_matches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.matches) + return _impl_.matches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >* +CMsgGCCStrike15_ClientDeepStats::mutable_matches() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_ClientDeepStats.matches) + return &_impl_.matches_; +} +inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& CMsgGCCStrike15_ClientDeepStats::_internal_matches(int index) const { + return _impl_.matches_.Get(index); +} +inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& CMsgGCCStrike15_ClientDeepStats::matches(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.matches) + return _internal_matches(index); +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::_internal_add_matches() { + return _impl_.matches_.Add(); +} +inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::add_matches() { + ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* _add = _internal_add_matches(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_ClientDeepStats.matches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >& +CMsgGCCStrike15_ClientDeepStats::matches() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_ClientDeepStats.matches) + return _impl_.matches_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_WatchInfoUsers + +// optional uint32 request_id = 1; +inline bool CMsgGCCStrike15_v2_WatchInfoUsers::_internal_has_request_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_WatchInfoUsers::has_request_id() const { + return _internal_has_request_id(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_request_id() { + _impl_.request_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_request_id() const { + return _impl_.request_id_; +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::request_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.request_id) + return _internal_request_id(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_set_request_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.request_id_ = value; +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_request_id(uint32_t value) { + _internal_set_request_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.request_id) +} + +// repeated uint32 account_ids = 2; +inline int CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids_size() const { + return _impl_.account_ids_.size(); +} +inline int CMsgGCCStrike15_v2_WatchInfoUsers::account_ids_size() const { + return _internal_account_ids_size(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_account_ids() { + _impl_.account_ids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids(int index) const { + return _impl_.account_ids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::account_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) + return _internal_account_ids(index); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_account_ids(int index, uint32_t value) { + _impl_.account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_add_account_ids(uint32_t value) { + _impl_.account_ids_.Add(value); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::add_account_ids(uint32_t value) { + _internal_add_account_ids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids() const { + return _impl_.account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_WatchInfoUsers::account_ids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) + return _internal_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_WatchInfoUsers::_internal_mutable_account_ids() { + return &_impl_.account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_WatchInfoUsers::mutable_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) + return _internal_mutable_account_ids(); +} + +// repeated .WatchableMatchInfo watchable_match_infos = 3; +inline int CMsgGCCStrike15_v2_WatchInfoUsers::_internal_watchable_match_infos_size() const { + return _impl_.watchable_match_infos_.size(); +} +inline int CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos_size() const { + return _internal_watchable_match_infos_size(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_watchable_match_infos() { + _impl_.watchable_match_infos_.Clear(); +} +inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::mutable_watchable_match_infos(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) + return _impl_.watchable_match_infos_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >* +CMsgGCCStrike15_v2_WatchInfoUsers::mutable_watchable_match_infos() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) + return &_impl_.watchable_match_infos_; +} +inline const ::WatchableMatchInfo& CMsgGCCStrike15_v2_WatchInfoUsers::_internal_watchable_match_infos(int index) const { + return _impl_.watchable_match_infos_.Get(index); +} +inline const ::WatchableMatchInfo& CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) + return _internal_watchable_match_infos(index); +} +inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::_internal_add_watchable_match_infos() { + return _impl_.watchable_match_infos_.Add(); +} +inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::add_watchable_match_infos() { + ::WatchableMatchInfo* _add = _internal_add_watchable_match_infos(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >& +CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) + return _impl_.watchable_match_infos_; +} + +// optional uint32 extended_timeout = 5; +inline bool CMsgGCCStrike15_v2_WatchInfoUsers::_internal_has_extended_timeout() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_WatchInfoUsers::has_extended_timeout() const { + return _internal_has_extended_timeout(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_extended_timeout() { + _impl_.extended_timeout_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_extended_timeout() const { + return _impl_.extended_timeout_; +} +inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::extended_timeout() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.extended_timeout) + return _internal_extended_timeout(); +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_set_extended_timeout(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.extended_timeout_ = value; +} +inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_extended_timeout(uint32_t value) { + _internal_set_extended_timeout(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.extended_timeout) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestPlayersProfile + +// optional uint32 request_id__deprecated = 1; +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_request_id__deprecated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_request_id__deprecated() const { + return _internal_has_request_id__deprecated(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_request_id__deprecated() { + _impl_.request_id__deprecated_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_request_id__deprecated() const { + return _impl_.request_id__deprecated_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::request_id__deprecated() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_id__deprecated) + return _internal_request_id__deprecated(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_request_id__deprecated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.request_id__deprecated_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_request_id__deprecated(uint32_t value) { + _internal_set_request_id__deprecated(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_id__deprecated) +} + +// repeated uint32 account_ids__deprecated = 2; +inline int CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated_size() const { + return _impl_.account_ids__deprecated_.size(); +} +inline int CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated_size() const { + return _internal_account_ids__deprecated_size(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_account_ids__deprecated() { + _impl_.account_ids__deprecated_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated(int index) const { + return _impl_.account_ids__deprecated_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) + return _internal_account_ids__deprecated(index); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_account_ids__deprecated(int index, uint32_t value) { + _impl_.account_ids__deprecated_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_add_account_ids__deprecated(uint32_t value) { + _impl_.account_ids__deprecated_.Add(value); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::add_account_ids__deprecated(uint32_t value) { + _internal_add_account_ids__deprecated(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated() const { + return _impl_.account_ids__deprecated_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) + return _internal_account_ids__deprecated(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_mutable_account_ids__deprecated() { + return &_impl_.account_ids__deprecated_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ClientRequestPlayersProfile::mutable_account_ids__deprecated() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) + return _internal_mutable_account_ids__deprecated(); +} + +// optional uint32 account_id = 3; +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_id) +} + +// optional uint32 request_level = 4; +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_request_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_request_level() const { + return _internal_has_request_level(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_request_level() { + _impl_.request_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_request_level() const { + return _impl_.request_level_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::request_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_level) + return _internal_request_level(); +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_request_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.request_level_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_request_level(uint32_t value) { + _internal_set_request_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_level) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PlayersProfile + +// optional uint32 request_id = 1; +inline bool CMsgGCCStrike15_v2_PlayersProfile::_internal_has_request_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayersProfile::has_request_id() const { + return _internal_has_request_id(); +} +inline void CMsgGCCStrike15_v2_PlayersProfile::clear_request_id() { + _impl_.request_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayersProfile::_internal_request_id() const { + return _impl_.request_id_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayersProfile::request_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayersProfile.request_id) + return _internal_request_id(); +} +inline void CMsgGCCStrike15_v2_PlayersProfile::_internal_set_request_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.request_id_ = value; +} +inline void CMsgGCCStrike15_v2_PlayersProfile::set_request_id(uint32_t value) { + _internal_set_request_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayersProfile.request_id) +} + +// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; +inline int CMsgGCCStrike15_v2_PlayersProfile::_internal_account_profiles_size() const { + return _impl_.account_profiles_.size(); +} +inline int CMsgGCCStrike15_v2_PlayersProfile::account_profiles_size() const { + return _internal_account_profiles_size(); +} +inline void CMsgGCCStrike15_v2_PlayersProfile::clear_account_profiles() { + _impl_.account_profiles_.Clear(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::mutable_account_profiles(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) + return _impl_.account_profiles_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >* +CMsgGCCStrike15_v2_PlayersProfile::mutable_account_profiles() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) + return &_impl_.account_profiles_; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& CMsgGCCStrike15_v2_PlayersProfile::_internal_account_profiles(int index) const { + return _impl_.account_profiles_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& CMsgGCCStrike15_v2_PlayersProfile::account_profiles(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) + return _internal_account_profiles(index); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::_internal_add_account_profiles() { + return _impl_.account_profiles_.Add(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::add_account_profiles() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* _add = _internal_add_account_profiles(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >& +CMsgGCCStrike15_v2_PlayersProfile::account_profiles() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) + return _impl_.account_profiles_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek + +// optional uint64 week_id = 1; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_week_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_week_id() const { + return _internal_has_week_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_week_id() { + _impl_.week_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_week_id() const { + return _impl_.week_id_; +} +inline uint64_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::week_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.week_id) + return _internal_week_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_week_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.week_id_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_week_id(uint64_t value) { + _internal_set_week_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.week_id) +} + +// optional uint32 rank_id = 2; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_rank_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_rank_id() const { + return _internal_has_rank_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_rank_id() { + _impl_.rank_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_rank_id() const { + return _impl_.rank_id_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::rank_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.rank_id) + return _internal_rank_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_rank_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rank_id_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_rank_id(uint32_t value) { + _internal_set_rank_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.rank_id) +} + +// optional uint32 matches_played = 3; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_matches_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_matches_played() const { + return _internal_has_matches_played(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_matches_played() { + _impl_.matches_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_matches_played() const { + return _impl_.matches_played_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::matches_played() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.matches_played) + return _internal_matches_played(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_matches_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.matches_played_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_matches_played(uint32_t value) { + _internal_set_matches_played(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.matches_played) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap + +// optional uint32 map_id = 1; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_map_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_map_id() const { + return _internal_has_map_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_map_id() { + _impl_.map_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_map_id() const { + return _impl_.map_id_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::map_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.map_id) + return _internal_map_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_map_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_id_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_map_id(uint32_t value) { + _internal_set_map_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.map_id) +} + +// optional uint32 wins = 2; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_wins() const { + return _internal_has_wins(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_wins() { + _impl_.wins_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_wins() const { + return _impl_.wins_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::wins() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.wins) + return _internal_wins(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_wins(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.wins_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_wins(uint32_t value) { + _internal_set_wins(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.wins) +} + +// optional uint32 ties = 3; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_ties() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_ties() const { + return _internal_has_ties(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_ties() { + _impl_.ties_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_ties() const { + return _impl_.ties_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::ties() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.ties) + return _internal_ties(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_ties(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ties_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_ties(uint32_t value) { + _internal_set_ties(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.ties) +} + +// optional uint32 losses = 4; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_losses() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_losses() const { + return _internal_has_losses(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_losses() { + _impl_.losses_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_losses() const { + return _impl_.losses_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::losses() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.losses) + return _internal_losses(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_losses(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.losses_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_losses(uint32_t value) { + _internal_set_losses(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.losses) +} + +// optional uint32 rounds = 5; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds() const { + return _internal_has_rounds(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds() { + _impl_.rounds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds() const { + return _impl_.rounds_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds) + return _internal_rounds(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rounds_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds(uint32_t value) { + _internal_set_rounds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds) +} + +// optional uint32 kills = 6; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_kills() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_kills() const { + return _internal_has_kills(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_kills() { + _impl_.kills_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_kills() const { + return _impl_.kills_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::kills() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.kills) + return _internal_kills(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_kills(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.kills_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_kills(uint32_t value) { + _internal_set_kills(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.kills) +} + +// optional uint32 headshots = 7; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_headshots() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_headshots() const { + return _internal_has_headshots(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_headshots() { + _impl_.headshots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_headshots() const { + return _impl_.headshots_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::headshots() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.headshots) + return _internal_headshots(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_headshots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.headshots_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_headshots(uint32_t value) { + _internal_set_headshots(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.headshots) +} + +// optional uint32 assists = 8; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_assists() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_assists() const { + return _internal_has_assists(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_assists() { + _impl_.assists_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_assists() const { + return _impl_.assists_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::assists() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.assists) + return _internal_assists(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_assists(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.assists_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_assists(uint32_t value) { + _internal_set_assists(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.assists) +} + +// optional uint32 deaths = 9; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_deaths() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_deaths() const { + return _internal_has_deaths(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_deaths() { + _impl_.deaths_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_deaths() const { + return _impl_.deaths_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::deaths() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.deaths) + return _internal_deaths(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_deaths(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.deaths_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_deaths(uint32_t value) { + _internal_set_deaths(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.deaths) +} + +// optional uint32 mvps = 10; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_mvps() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_mvps() const { + return _internal_has_mvps(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_mvps() { + _impl_.mvps_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_mvps() const { + return _impl_.mvps_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::mvps() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.mvps) + return _internal_mvps(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_mvps(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.mvps_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_mvps(uint32_t value) { + _internal_set_mvps(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.mvps) +} + +// optional uint32 rounds_3k = 11; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_3k() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_3k() const { + return _internal_has_rounds_3k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_3k() { + _impl_.rounds_3k_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_3k() const { + return _impl_.rounds_3k_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_3k() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_3k) + return _internal_rounds_3k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_3k(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.rounds_3k_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_3k(uint32_t value) { + _internal_set_rounds_3k(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_3k) +} + +// optional uint32 rounds_4k = 12; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_4k() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_4k() const { + return _internal_has_rounds_4k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_4k() { + _impl_.rounds_4k_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_4k() const { + return _impl_.rounds_4k_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_4k() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_4k) + return _internal_rounds_4k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_4k(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.rounds_4k_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_4k(uint32_t value) { + _internal_set_rounds_4k(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_4k) +} + +// optional uint32 rounds_5k = 13; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_5k() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_5k() const { + return _internal_has_rounds_5k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_5k() { + _impl_.rounds_5k_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_5k() const { + return _impl_.rounds_5k_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_5k() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_5k) + return _internal_rounds_5k(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_5k(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.rounds_5k_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_5k(uint32_t value) { + _internal_set_rounds_5k(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_5k) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PremierSeasonSummary + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.account_id) +} + +// optional uint32 season_id = 2; +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_has_season_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::has_season_id() const { + return _internal_has_season_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_season_id() { + _impl_.season_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_season_id() const { + return _impl_.season_id_; +} +inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::season_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.season_id) + return _internal_season_id(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_set_season_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.season_id_ = value; +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::set_season_id(uint32_t value) { + _internal_set_season_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.season_id) +} + +// repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; +inline int CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_week_size() const { + return _impl_.data_per_week_.size(); +} +inline int CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week_size() const { + return _internal_data_per_week_size(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_data_per_week() { + _impl_.data_per_week_.Clear(); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_week(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) + return _impl_.data_per_week_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >* +CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_week() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) + return &_impl_.data_per_week_; +} +inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_week(int index) const { + return _impl_.data_per_week_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) + return _internal_data_per_week(index); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_add_data_per_week() { + return _impl_.data_per_week_.Add(); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::add_data_per_week() { + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* _add = _internal_add_data_per_week(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >& +CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) + return _impl_.data_per_week_; +} + +// repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; +inline int CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_map_size() const { + return _impl_.data_per_map_.size(); +} +inline int CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map_size() const { + return _internal_data_per_map_size(); +} +inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_data_per_map() { + _impl_.data_per_map_.Clear(); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_map(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) + return _impl_.data_per_map_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >* +CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_map() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) + return &_impl_.data_per_map_; +} +inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_map(int index) const { + return _impl_.data_per_map_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) + return _internal_data_per_map(index); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_add_data_per_map() { + return _impl_.data_per_map_.Add(); +} +inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::add_data_per_map() { + ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* _add = _internal_add_data_per_map(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >& +CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) + return _impl_.data_per_map_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate + +// optional uint64 caseid = 1; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_caseid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_caseid() const { + return _internal_has_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_caseid() { + _impl_.caseid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_caseid() const { + return _impl_.caseid_; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::caseid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.caseid) + return _internal_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_caseid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.caseid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_caseid(uint64_t value) { + _internal_set_caseid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.caseid) +} + +// optional uint32 suspectid = 3; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_suspectid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_suspectid() const { + return _internal_has_suspectid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_suspectid() { + _impl_.suspectid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_suspectid() const { + return _impl_.suspectid_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::suspectid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.suspectid) + return _internal_suspectid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_suspectid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.suspectid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_suspectid(uint32_t value) { + _internal_set_suspectid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.suspectid) +} + +// optional uint32 fractionid = 4; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_fractionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_fractionid() const { + return _internal_has_fractionid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_fractionid() { + _impl_.fractionid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_fractionid() const { + return _impl_.fractionid_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::fractionid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.fractionid) + return _internal_fractionid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_fractionid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.fractionid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_fractionid(uint32_t value) { + _internal_set_fractionid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.fractionid) +} + +// optional uint32 rpt_aimbot = 5; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_aimbot() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_aimbot() const { + return _internal_has_rpt_aimbot(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_aimbot() { + _impl_.rpt_aimbot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_aimbot() const { + return _impl_.rpt_aimbot_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_aimbot() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_aimbot) + return _internal_rpt_aimbot(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_aimbot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.rpt_aimbot_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_aimbot(uint32_t value) { + _internal_set_rpt_aimbot(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_aimbot) +} + +// optional uint32 rpt_wallhack = 6; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_wallhack() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_wallhack() const { + return _internal_has_rpt_wallhack(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_wallhack() { + _impl_.rpt_wallhack_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_wallhack() const { + return _impl_.rpt_wallhack_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_wallhack() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_wallhack) + return _internal_rpt_wallhack(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_wallhack(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rpt_wallhack_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_wallhack(uint32_t value) { + _internal_set_rpt_wallhack(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_wallhack) +} + +// optional uint32 rpt_speedhack = 7; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_speedhack() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_speedhack() const { + return _internal_has_rpt_speedhack(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_speedhack() { + _impl_.rpt_speedhack_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_speedhack() const { + return _impl_.rpt_speedhack_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_speedhack() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_speedhack) + return _internal_rpt_speedhack(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_speedhack(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rpt_speedhack_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_speedhack(uint32_t value) { + _internal_set_rpt_speedhack(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_speedhack) +} + +// optional uint32 rpt_teamharm = 8; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_teamharm() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_teamharm() const { + return _internal_has_rpt_teamharm(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_teamharm() { + _impl_.rpt_teamharm_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_teamharm() const { + return _impl_.rpt_teamharm_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_teamharm() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_teamharm) + return _internal_rpt_teamharm(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_teamharm(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.rpt_teamharm_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_teamharm(uint32_t value) { + _internal_set_rpt_teamharm(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_teamharm) +} + +// optional uint32 reason = 9; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_reason() const { + return _internal_has_reason(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_reason() { + _impl_.reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_reason() const { + return _impl_.reason_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::reason() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.reason) + return _internal_reason(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.reason_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_reason(uint32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.reason) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment + +// optional uint64 caseid = 1; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_caseid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_caseid() const { + return _internal_has_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_caseid() { + _impl_.caseid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_caseid() const { + return _impl_.caseid_; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::caseid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseid) + return _internal_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_caseid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.caseid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_caseid(uint64_t value) { + _internal_set_caseid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseid) +} + +// optional string caseurl = 2; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_caseurl() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_caseurl() const { + return _internal_has_caseurl(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_caseurl() { + _impl_.caseurl_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::caseurl() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) + return _internal_caseurl(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_caseurl(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.caseurl_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) +} +inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::mutable_caseurl() { + std::string* _s = _internal_mutable_caseurl(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_caseurl() const { + return _impl_.caseurl_.Get(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_caseurl(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.caseurl_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_mutable_caseurl() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.caseurl_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::release_caseurl() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) + if (!_internal_has_caseurl()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.caseurl_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.caseurl_.IsDefault()) { + _impl_.caseurl_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_allocated_caseurl(std::string* caseurl) { + if (caseurl != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.caseurl_.SetAllocated(caseurl, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.caseurl_.IsDefault()) { + _impl_.caseurl_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) +} + +// optional uint32 verdict = 3; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_verdict() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_verdict() const { + return _internal_has_verdict(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_verdict() { + _impl_.verdict_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_verdict() const { + return _impl_.verdict_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::verdict() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.verdict) + return _internal_verdict(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_verdict(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.verdict_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_verdict(uint32_t value) { + _internal_set_verdict(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.verdict) +} + +// optional uint32 timestamp = 4; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_timestamp() const { + return _internal_has_timestamp(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_timestamp() { + _impl_.timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::timestamp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.timestamp) + return _internal_timestamp(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.timestamp_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_timestamp(uint32_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.timestamp) +} + +// optional uint32 throttleseconds = 5; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_throttleseconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_throttleseconds() const { + return _internal_has_throttleseconds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_throttleseconds() { + _impl_.throttleseconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_throttleseconds() const { + return _impl_.throttleseconds_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::throttleseconds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.throttleseconds) + return _internal_throttleseconds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_throttleseconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.throttleseconds_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_throttleseconds(uint32_t value) { + _internal_set_throttleseconds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.throttleseconds) +} + +// optional uint32 suspectid = 6; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_suspectid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_suspectid() const { + return _internal_has_suspectid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_suspectid() { + _impl_.suspectid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_suspectid() const { + return _impl_.suspectid_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::suspectid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.suspectid) + return _internal_suspectid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_suspectid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.suspectid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_suspectid(uint32_t value) { + _internal_set_suspectid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.suspectid) +} + +// optional uint32 fractionid = 7; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_fractionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_fractionid() const { + return _internal_has_fractionid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_fractionid() { + _impl_.fractionid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_fractionid() const { + return _impl_.fractionid_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::fractionid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionid) + return _internal_fractionid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_fractionid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.fractionid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_fractionid(uint32_t value) { + _internal_set_fractionid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionid) +} + +// optional uint32 numrounds = 8; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_numrounds() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_numrounds() const { + return _internal_has_numrounds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_numrounds() { + _impl_.numrounds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_numrounds() const { + return _impl_.numrounds_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::numrounds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.numrounds) + return _internal_numrounds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_numrounds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.numrounds_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_numrounds(uint32_t value) { + _internal_set_numrounds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.numrounds) +} + +// optional uint32 fractionrounds = 9; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_fractionrounds() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_fractionrounds() const { + return _internal_has_fractionrounds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_fractionrounds() { + _impl_.fractionrounds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_fractionrounds() const { + return _impl_.fractionrounds_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::fractionrounds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionrounds) + return _internal_fractionrounds(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_fractionrounds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.fractionrounds_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_fractionrounds(uint32_t value) { + _internal_set_fractionrounds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionrounds) +} + +// optional int32 streakconvictions = 10; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_streakconvictions() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_streakconvictions() const { + return _internal_has_streakconvictions(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_streakconvictions() { + _impl_.streakconvictions_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_streakconvictions() const { + return _impl_.streakconvictions_; +} +inline int32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::streakconvictions() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.streakconvictions) + return _internal_streakconvictions(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_streakconvictions(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.streakconvictions_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_streakconvictions(int32_t value) { + _internal_set_streakconvictions(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.streakconvictions) +} + +// optional uint32 reason = 11; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_reason() const { + return _internal_has_reason(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_reason() { + _impl_.reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_reason() const { + return _impl_.reason_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::reason() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.reason) + return _internal_reason(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.reason_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_reason(uint32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.reason) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus + +// optional uint64 caseid = 1; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_has_caseid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::has_caseid() const { + return _internal_has_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::clear_caseid() { + _impl_.caseid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_caseid() const { + return _impl_.caseid_; +} +inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::caseid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.caseid) + return _internal_caseid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_set_caseid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.caseid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::set_caseid(uint64_t value) { + _internal_set_caseid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.caseid) +} + +// optional uint32 statusid = 2; +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_has_statusid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::has_statusid() const { + return _internal_has_statusid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::clear_statusid() { + _impl_.statusid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_statusid() const { + return _impl_.statusid_; +} +inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::statusid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.statusid) + return _internal_statusid(); +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_set_statusid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.statusid_ = value; +} +inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::set_statusid(uint32_t value) { + _internal_set_statusid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.statusid) +} + +// ------------------------------------------------------------------- + +// CClientHeaderOverwatchEvidence + +// optional uint32 accountid = 1; +inline bool CClientHeaderOverwatchEvidence::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CClientHeaderOverwatchEvidence::has_accountid() const { + return _internal_has_accountid(); +} +inline void CClientHeaderOverwatchEvidence::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CClientHeaderOverwatchEvidence::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CClientHeaderOverwatchEvidence::accountid() const { + // @@protoc_insertion_point(field_get:CClientHeaderOverwatchEvidence.accountid) + return _internal_accountid(); +} +inline void CClientHeaderOverwatchEvidence::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void CClientHeaderOverwatchEvidence::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CClientHeaderOverwatchEvidence.accountid) +} + +// optional uint64 caseid = 2; +inline bool CClientHeaderOverwatchEvidence::_internal_has_caseid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CClientHeaderOverwatchEvidence::has_caseid() const { + return _internal_has_caseid(); +} +inline void CClientHeaderOverwatchEvidence::clear_caseid() { + _impl_.caseid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CClientHeaderOverwatchEvidence::_internal_caseid() const { + return _impl_.caseid_; +} +inline uint64_t CClientHeaderOverwatchEvidence::caseid() const { + // @@protoc_insertion_point(field_get:CClientHeaderOverwatchEvidence.caseid) + return _internal_caseid(); +} +inline void CClientHeaderOverwatchEvidence::_internal_set_caseid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.caseid_ = value; +} +inline void CClientHeaderOverwatchEvidence::set_caseid(uint64_t value) { + _internal_set_caseid(value); + // @@protoc_insertion_point(field_set:CClientHeaderOverwatchEvidence.caseid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientTextMsg + +// optional uint32 id = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_id() const { + return _internal_has_id(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.id) + return _internal_id(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.id_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.id) +} + +// optional uint32 type = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_type() const { + return _internal_has_type(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.type) + return _internal_type(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.type_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.type) +} + +// optional bytes payload = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_payload() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_payload() const { + return _internal_has_payload(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_payload() { + _impl_.payload_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientTextMsg::payload() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) + return _internal_payload(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_payload(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.payload_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::mutable_payload() { + std::string* _s = _internal_mutable_payload(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_payload() const { + return _impl_.payload_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_payload(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.payload_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_mutable_payload() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.payload_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::release_payload() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) + if (!_internal_has_payload()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.payload_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.payload_.IsDefault()) { + _impl_.payload_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_allocated_payload(std::string* payload) { + if (payload != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.payload_.SetAllocated(payload, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.payload_.IsDefault()) { + _impl_.payload_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GCTextMsg + +// optional uint32 id = 1; +inline bool CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCTextMsg::has_id() const { + return _internal_has_id(); +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCTextMsg::id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCTextMsg.id) + return _internal_id(); +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.id) +} + +// repeated bytes args = 2; +inline int CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_args_size() const { + return _impl_.args_.size(); +} +inline int CMsgGCCStrike15_v2_Client2GCTextMsg::args_size() const { + return _internal_args_size(); +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::clear_args() { + _impl_.args_.Clear(); +} +inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::add_args() { + std::string* _s = _internal_add_args(); + // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_Client2GCTextMsg.args) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_args(int index) const { + return _impl_.args_.Get(index); +} +inline const std::string& CMsgGCCStrike15_v2_Client2GCTextMsg::args(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCTextMsg.args) + return _internal_args(index); +} +inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::mutable_args(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Client2GCTextMsg.args) + return _impl_.args_.Mutable(index); +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const std::string& value) { + _impl_.args_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, std::string&& value) { + _impl_.args_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.args_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const void* value, size_t size) { + _impl_.args_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_add_args() { + return _impl_.args_.Add(); +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const std::string& value) { + _impl_.args_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(std::string&& value) { + _impl_.args_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.args_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const void* value, size_t size) { + _impl_.args_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_Client2GCTextMsg.args) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgGCCStrike15_v2_Client2GCTextMsg::args() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Client2GCTextMsg.args) + return _impl_.args_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgGCCStrike15_v2_Client2GCTextMsg::mutable_args() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Client2GCTextMsg.args) + return &_impl_.args_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchEndRunRewardDrops + +// optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; +inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_has_serverinfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.serverinfo_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::has_serverinfo() const { + return _internal_has_serverinfo(); +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::clear_serverinfo() { + if (_impl_.serverinfo_ != nullptr) _impl_.serverinfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_serverinfo() const { + const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* p = _impl_.serverinfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::serverinfo() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) + return _internal_serverinfo(); +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_set_allocated_serverinfo( + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.serverinfo_); + } + _impl_.serverinfo_ = serverinfo; + if (serverinfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::release_serverinfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* temp = _impl_.serverinfo_; + _impl_.serverinfo_ = 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 ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_release_serverinfo() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* temp = _impl_.serverinfo_; + _impl_.serverinfo_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_mutable_serverinfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.serverinfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse>(GetArenaForAllocation()); + _impl_.serverinfo_ = p; + } + return _impl_.serverinfo_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::mutable_serverinfo() { + ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* _msg = _internal_mutable_serverinfo(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::set_allocated_serverinfo(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.serverinfo_; + } + if (serverinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(serverinfo); + if (message_arena != submessage_arena) { + serverinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, serverinfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.serverinfo_ = serverinfo; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) +} + +// optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; +inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_has_match_end_quest_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.match_end_quest_data_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::has_match_end_quest_data() const { + return _internal_has_match_end_quest_data(); +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::clear_match_end_quest_data() { + if (_impl_.match_end_quest_data_ != nullptr) _impl_.match_end_quest_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgGC_ServerQuestUpdateData& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_match_end_quest_data() const { + const ::CMsgGC_ServerQuestUpdateData* p = _impl_.match_end_quest_data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGC_ServerQuestUpdateData_default_instance_); +} +inline const ::CMsgGC_ServerQuestUpdateData& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::match_end_quest_data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) + return _internal_match_end_quest_data(); +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_set_allocated_match_end_quest_data( + ::CMsgGC_ServerQuestUpdateData* match_end_quest_data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.match_end_quest_data_); + } + _impl_.match_end_quest_data_ = match_end_quest_data; + if (match_end_quest_data) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) +} +inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::release_match_end_quest_data() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGC_ServerQuestUpdateData* temp = _impl_.match_end_quest_data_; + _impl_.match_end_quest_data_ = 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 ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_release_match_end_quest_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGC_ServerQuestUpdateData* temp = _impl_.match_end_quest_data_; + _impl_.match_end_quest_data_ = nullptr; + return temp; +} +inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_mutable_match_end_quest_data() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.match_end_quest_data_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGC_ServerQuestUpdateData>(GetArenaForAllocation()); + _impl_.match_end_quest_data_ = p; + } + return _impl_.match_end_quest_data_; +} +inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::mutable_match_end_quest_data() { + ::CMsgGC_ServerQuestUpdateData* _msg = _internal_mutable_match_end_quest_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::set_allocated_match_end_quest_data(::CMsgGC_ServerQuestUpdateData* match_end_quest_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.match_end_quest_data_; + } + if (match_end_quest_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(match_end_quest_data); + if (message_arena != submessage_arena) { + match_end_quest_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, match_end_quest_data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.match_end_quest_data_ = match_end_quest_data; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) +} + +// ------------------------------------------------------------------- + +// CEconItemPreviewDataBlock_Sticker + +// optional uint32 slot = 1; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_slot() const { + return _internal_has_slot(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_slot() { + _impl_.slot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_slot() const { + return _impl_.slot_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::slot() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.slot) + return _internal_slot(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_slot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.slot_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_slot(uint32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.slot) +} + +// optional uint32 sticker_id = 2; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_sticker_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_sticker_id() const { + return _internal_has_sticker_id(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_sticker_id() { + _impl_.sticker_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_sticker_id() const { + return _impl_.sticker_id_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::sticker_id() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.sticker_id) + return _internal_sticker_id(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_sticker_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sticker_id_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_sticker_id(uint32_t value) { + _internal_set_sticker_id(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.sticker_id) +} + +// optional float wear = 3; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_wear() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_wear() const { + return _internal_has_wear(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_wear() { + _impl_.wear_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_wear() const { + return _impl_.wear_; +} +inline float CEconItemPreviewDataBlock_Sticker::wear() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.wear) + return _internal_wear(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_wear(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.wear_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_wear(float value) { + _internal_set_wear(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.wear) +} + +// optional float scale = 4; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_scale() const { + return _internal_has_scale(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_scale() const { + return _impl_.scale_; +} +inline float CEconItemPreviewDataBlock_Sticker::scale() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.scale) + return _internal_scale(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.scale_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.scale) +} + +// optional float rotation = 5; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_rotation() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_rotation() const { + return _internal_has_rotation(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_rotation() { + _impl_.rotation_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_rotation() const { + return _impl_.rotation_; +} +inline float CEconItemPreviewDataBlock_Sticker::rotation() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.rotation) + return _internal_rotation(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_rotation(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rotation_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_rotation(float value) { + _internal_set_rotation(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.rotation) +} + +// optional uint32 tint_id = 6; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_tint_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_tint_id() const { + return _internal_has_tint_id(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_tint_id() { + _impl_.tint_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_tint_id() const { + return _impl_.tint_id_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::tint_id() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.tint_id) + return _internal_tint_id(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_tint_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tint_id_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_tint_id(uint32_t value) { + _internal_set_tint_id(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.tint_id) +} + +// optional float offset_x = 7; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_offset_x() const { + return _internal_has_offset_x(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_offset_x() { + _impl_.offset_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_x() const { + return _impl_.offset_x_; +} +inline float CEconItemPreviewDataBlock_Sticker::offset_x() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_x) + return _internal_offset_x(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_x(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.offset_x_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_offset_x(float value) { + _internal_set_offset_x(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_x) +} + +// optional float offset_y = 8; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_offset_y() const { + return _internal_has_offset_y(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_offset_y() { + _impl_.offset_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_y() const { + return _impl_.offset_y_; +} +inline float CEconItemPreviewDataBlock_Sticker::offset_y() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_y) + return _internal_offset_y(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_y(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.offset_y_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_offset_y(float value) { + _internal_set_offset_y(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_y) +} + +// optional float offset_z = 9; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_offset_z() const { + return _internal_has_offset_z(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_offset_z() { + _impl_.offset_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_z() const { + return _impl_.offset_z_; +} +inline float CEconItemPreviewDataBlock_Sticker::offset_z() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_z) + return _internal_offset_z(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_z(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.offset_z_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_offset_z(float value) { + _internal_set_offset_z(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_z) +} + +// optional uint32 pattern = 10; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_pattern() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_pattern() const { + return _internal_has_pattern(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_pattern() { + _impl_.pattern_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_pattern() const { + return _impl_.pattern_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::pattern() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.pattern) + return _internal_pattern(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_pattern(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.pattern_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_pattern(uint32_t value) { + _internal_set_pattern(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.pattern) +} + +// optional uint32 highlight_reel = 11; +inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_highlight_reel() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock_Sticker::has_highlight_reel() const { + return _internal_has_highlight_reel(); +} +inline void CEconItemPreviewDataBlock_Sticker::clear_highlight_reel() { + _impl_.highlight_reel_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_highlight_reel() const { + return _impl_.highlight_reel_; +} +inline uint32_t CEconItemPreviewDataBlock_Sticker::highlight_reel() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.highlight_reel) + return _internal_highlight_reel(); +} +inline void CEconItemPreviewDataBlock_Sticker::_internal_set_highlight_reel(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.highlight_reel_ = value; +} +inline void CEconItemPreviewDataBlock_Sticker::set_highlight_reel(uint32_t value) { + _internal_set_highlight_reel(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.highlight_reel) +} + +// ------------------------------------------------------------------- + +// CEconItemPreviewDataBlock + +// optional uint32 accountid = 1; +inline bool CEconItemPreviewDataBlock::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_accountid() const { + return _internal_has_accountid(); +} +inline void CEconItemPreviewDataBlock::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CEconItemPreviewDataBlock::accountid() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.accountid) + return _internal_accountid(); +} +inline void CEconItemPreviewDataBlock::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.accountid_ = value; +} +inline void CEconItemPreviewDataBlock::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.accountid) +} + +// optional uint64 itemid = 2; +inline bool CEconItemPreviewDataBlock::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_itemid() const { + return _internal_has_itemid(); +} +inline void CEconItemPreviewDataBlock::clear_itemid() { + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CEconItemPreviewDataBlock::_internal_itemid() const { + return _impl_.itemid_; +} +inline uint64_t CEconItemPreviewDataBlock::itemid() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.itemid) + return _internal_itemid(); +} +inline void CEconItemPreviewDataBlock::_internal_set_itemid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.itemid_ = value; +} +inline void CEconItemPreviewDataBlock::set_itemid(uint64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.itemid) +} + +// optional uint32 defindex = 3; +inline bool CEconItemPreviewDataBlock::_internal_has_defindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_defindex() const { + return _internal_has_defindex(); +} +inline void CEconItemPreviewDataBlock::clear_defindex() { + _impl_.defindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_defindex() const { + return _impl_.defindex_; +} +inline uint32_t CEconItemPreviewDataBlock::defindex() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.defindex) + return _internal_defindex(); +} +inline void CEconItemPreviewDataBlock::_internal_set_defindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.defindex_ = value; +} +inline void CEconItemPreviewDataBlock::set_defindex(uint32_t value) { + _internal_set_defindex(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.defindex) +} + +// optional uint32 paintindex = 4; +inline bool CEconItemPreviewDataBlock::_internal_has_paintindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_paintindex() const { + return _internal_has_paintindex(); +} +inline void CEconItemPreviewDataBlock::clear_paintindex() { + _impl_.paintindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_paintindex() const { + return _impl_.paintindex_; +} +inline uint32_t CEconItemPreviewDataBlock::paintindex() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintindex) + return _internal_paintindex(); +} +inline void CEconItemPreviewDataBlock::_internal_set_paintindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.paintindex_ = value; +} +inline void CEconItemPreviewDataBlock::set_paintindex(uint32_t value) { + _internal_set_paintindex(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintindex) +} + +// optional uint32 rarity = 5; +inline bool CEconItemPreviewDataBlock::_internal_has_rarity() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_rarity() const { + return _internal_has_rarity(); +} +inline void CEconItemPreviewDataBlock::clear_rarity() { + _impl_.rarity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_rarity() const { + return _impl_.rarity_; +} +inline uint32_t CEconItemPreviewDataBlock::rarity() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.rarity) + return _internal_rarity(); +} +inline void CEconItemPreviewDataBlock::_internal_set_rarity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rarity_ = value; +} +inline void CEconItemPreviewDataBlock::set_rarity(uint32_t value) { + _internal_set_rarity(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.rarity) +} + +// optional uint32 quality = 6; +inline bool CEconItemPreviewDataBlock::_internal_has_quality() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_quality() const { + return _internal_has_quality(); +} +inline void CEconItemPreviewDataBlock::clear_quality() { + _impl_.quality_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_quality() const { + return _impl_.quality_; +} +inline uint32_t CEconItemPreviewDataBlock::quality() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.quality) + return _internal_quality(); +} +inline void CEconItemPreviewDataBlock::_internal_set_quality(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.quality_ = value; +} +inline void CEconItemPreviewDataBlock::set_quality(uint32_t value) { + _internal_set_quality(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.quality) +} + +// optional uint32 paintwear = 7; +inline bool CEconItemPreviewDataBlock::_internal_has_paintwear() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_paintwear() const { + return _internal_has_paintwear(); +} +inline void CEconItemPreviewDataBlock::clear_paintwear() { + _impl_.paintwear_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_paintwear() const { + return _impl_.paintwear_; +} +inline uint32_t CEconItemPreviewDataBlock::paintwear() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintwear) + return _internal_paintwear(); +} +inline void CEconItemPreviewDataBlock::_internal_set_paintwear(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.paintwear_ = value; +} +inline void CEconItemPreviewDataBlock::set_paintwear(uint32_t value) { + _internal_set_paintwear(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintwear) +} + +// optional uint32 paintseed = 8; +inline bool CEconItemPreviewDataBlock::_internal_has_paintseed() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_paintseed() const { + return _internal_has_paintseed(); +} +inline void CEconItemPreviewDataBlock::clear_paintseed() { + _impl_.paintseed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_paintseed() const { + return _impl_.paintseed_; +} +inline uint32_t CEconItemPreviewDataBlock::paintseed() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintseed) + return _internal_paintseed(); +} +inline void CEconItemPreviewDataBlock::_internal_set_paintseed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.paintseed_ = value; +} +inline void CEconItemPreviewDataBlock::set_paintseed(uint32_t value) { + _internal_set_paintseed(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintseed) +} + +// optional uint32 killeaterscoretype = 9; +inline bool CEconItemPreviewDataBlock::_internal_has_killeaterscoretype() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_killeaterscoretype() const { + return _internal_has_killeaterscoretype(); +} +inline void CEconItemPreviewDataBlock::clear_killeaterscoretype() { + _impl_.killeaterscoretype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_killeaterscoretype() const { + return _impl_.killeaterscoretype_; +} +inline uint32_t CEconItemPreviewDataBlock::killeaterscoretype() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.killeaterscoretype) + return _internal_killeaterscoretype(); +} +inline void CEconItemPreviewDataBlock::_internal_set_killeaterscoretype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.killeaterscoretype_ = value; +} +inline void CEconItemPreviewDataBlock::set_killeaterscoretype(uint32_t value) { + _internal_set_killeaterscoretype(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.killeaterscoretype) +} + +// optional uint32 killeatervalue = 10; +inline bool CEconItemPreviewDataBlock::_internal_has_killeatervalue() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_killeatervalue() const { + return _internal_has_killeatervalue(); +} +inline void CEconItemPreviewDataBlock::clear_killeatervalue() { + _impl_.killeatervalue_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_killeatervalue() const { + return _impl_.killeatervalue_; +} +inline uint32_t CEconItemPreviewDataBlock::killeatervalue() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.killeatervalue) + return _internal_killeatervalue(); +} +inline void CEconItemPreviewDataBlock::_internal_set_killeatervalue(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.killeatervalue_ = value; +} +inline void CEconItemPreviewDataBlock::set_killeatervalue(uint32_t value) { + _internal_set_killeatervalue(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.killeatervalue) +} + +// optional string customname = 11; +inline bool CEconItemPreviewDataBlock::_internal_has_customname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_customname() const { + return _internal_has_customname(); +} +inline void CEconItemPreviewDataBlock::clear_customname() { + _impl_.customname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CEconItemPreviewDataBlock::customname() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.customname) + return _internal_customname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CEconItemPreviewDataBlock::set_customname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.customname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.customname) +} +inline std::string* CEconItemPreviewDataBlock::mutable_customname() { + std::string* _s = _internal_mutable_customname(); + // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.customname) + return _s; +} +inline const std::string& CEconItemPreviewDataBlock::_internal_customname() const { + return _impl_.customname_.Get(); +} +inline void CEconItemPreviewDataBlock::_internal_set_customname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.customname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CEconItemPreviewDataBlock::_internal_mutable_customname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.customname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CEconItemPreviewDataBlock::release_customname() { + // @@protoc_insertion_point(field_release:CEconItemPreviewDataBlock.customname) + if (!_internal_has_customname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.customname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.customname_.IsDefault()) { + _impl_.customname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CEconItemPreviewDataBlock::set_allocated_customname(std::string* customname) { + if (customname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.customname_.SetAllocated(customname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.customname_.IsDefault()) { + _impl_.customname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CEconItemPreviewDataBlock.customname) +} + +// repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; +inline int CEconItemPreviewDataBlock::_internal_stickers_size() const { + return _impl_.stickers_.size(); +} +inline int CEconItemPreviewDataBlock::stickers_size() const { + return _internal_stickers_size(); +} +inline void CEconItemPreviewDataBlock::clear_stickers() { + _impl_.stickers_.Clear(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_stickers(int index) { + // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.stickers) + return _impl_.stickers_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* +CEconItemPreviewDataBlock::mutable_stickers() { + // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.stickers) + return &_impl_.stickers_; +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_stickers(int index) const { + return _impl_.stickers_.Get(index); +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::stickers(int index) const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.stickers) + return _internal_stickers(index); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_stickers() { + return _impl_.stickers_.Add(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_stickers() { + ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_stickers(); + // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.stickers) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& +CEconItemPreviewDataBlock::stickers() const { + // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.stickers) + return _impl_.stickers_; +} + +// optional uint32 inventory = 13; +inline bool CEconItemPreviewDataBlock::_internal_has_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_inventory() const { + return _internal_has_inventory(); +} +inline void CEconItemPreviewDataBlock::clear_inventory() { + _impl_.inventory_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_inventory() const { + return _impl_.inventory_; +} +inline uint32_t CEconItemPreviewDataBlock::inventory() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.inventory) + return _internal_inventory(); +} +inline void CEconItemPreviewDataBlock::_internal_set_inventory(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.inventory_ = value; +} +inline void CEconItemPreviewDataBlock::set_inventory(uint32_t value) { + _internal_set_inventory(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.inventory) +} + +// optional uint32 origin = 14; +inline bool CEconItemPreviewDataBlock::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_origin() const { + return _internal_has_origin(); +} +inline void CEconItemPreviewDataBlock::clear_origin() { + _impl_.origin_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_origin() const { + return _impl_.origin_; +} +inline uint32_t CEconItemPreviewDataBlock::origin() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.origin) + return _internal_origin(); +} +inline void CEconItemPreviewDataBlock::_internal_set_origin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.origin_ = value; +} +inline void CEconItemPreviewDataBlock::set_origin(uint32_t value) { + _internal_set_origin(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.origin) +} + +// optional uint32 questid = 15; +inline bool CEconItemPreviewDataBlock::_internal_has_questid() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_questid() const { + return _internal_has_questid(); +} +inline void CEconItemPreviewDataBlock::clear_questid() { + _impl_.questid_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_questid() const { + return _impl_.questid_; +} +inline uint32_t CEconItemPreviewDataBlock::questid() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.questid) + return _internal_questid(); +} +inline void CEconItemPreviewDataBlock::_internal_set_questid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.questid_ = value; +} +inline void CEconItemPreviewDataBlock::set_questid(uint32_t value) { + _internal_set_questid(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.questid) +} + +// optional uint32 dropreason = 16; +inline bool CEconItemPreviewDataBlock::_internal_has_dropreason() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_dropreason() const { + return _internal_has_dropreason(); +} +inline void CEconItemPreviewDataBlock::clear_dropreason() { + _impl_.dropreason_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_dropreason() const { + return _impl_.dropreason_; +} +inline uint32_t CEconItemPreviewDataBlock::dropreason() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.dropreason) + return _internal_dropreason(); +} +inline void CEconItemPreviewDataBlock::_internal_set_dropreason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.dropreason_ = value; +} +inline void CEconItemPreviewDataBlock::set_dropreason(uint32_t value) { + _internal_set_dropreason(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.dropreason) +} + +// optional uint32 musicindex = 17; +inline bool CEconItemPreviewDataBlock::_internal_has_musicindex() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_musicindex() const { + return _internal_has_musicindex(); +} +inline void CEconItemPreviewDataBlock::clear_musicindex() { + _impl_.musicindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_musicindex() const { + return _impl_.musicindex_; +} +inline uint32_t CEconItemPreviewDataBlock::musicindex() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.musicindex) + return _internal_musicindex(); +} +inline void CEconItemPreviewDataBlock::_internal_set_musicindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.musicindex_ = value; +} +inline void CEconItemPreviewDataBlock::set_musicindex(uint32_t value) { + _internal_set_musicindex(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.musicindex) +} + +// optional int32 entindex = 18; +inline bool CEconItemPreviewDataBlock::_internal_has_entindex() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_entindex() const { + return _internal_has_entindex(); +} +inline void CEconItemPreviewDataBlock::clear_entindex() { + _impl_.entindex_ = 0; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline int32_t CEconItemPreviewDataBlock::_internal_entindex() const { + return _impl_.entindex_; +} +inline int32_t CEconItemPreviewDataBlock::entindex() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.entindex) + return _internal_entindex(); +} +inline void CEconItemPreviewDataBlock::_internal_set_entindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.entindex_ = value; +} +inline void CEconItemPreviewDataBlock::set_entindex(int32_t value) { + _internal_set_entindex(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.entindex) +} + +// optional uint32 petindex = 19; +inline bool CEconItemPreviewDataBlock::_internal_has_petindex() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_petindex() const { + return _internal_has_petindex(); +} +inline void CEconItemPreviewDataBlock::clear_petindex() { + _impl_.petindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_petindex() const { + return _impl_.petindex_; +} +inline uint32_t CEconItemPreviewDataBlock::petindex() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.petindex) + return _internal_petindex(); +} +inline void CEconItemPreviewDataBlock::_internal_set_petindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.petindex_ = value; +} +inline void CEconItemPreviewDataBlock::set_petindex(uint32_t value) { + _internal_set_petindex(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.petindex) +} + +// repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; +inline int CEconItemPreviewDataBlock::_internal_keychains_size() const { + return _impl_.keychains_.size(); +} +inline int CEconItemPreviewDataBlock::keychains_size() const { + return _internal_keychains_size(); +} +inline void CEconItemPreviewDataBlock::clear_keychains() { + _impl_.keychains_.Clear(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_keychains(int index) { + // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.keychains) + return _impl_.keychains_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* +CEconItemPreviewDataBlock::mutable_keychains() { + // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.keychains) + return &_impl_.keychains_; +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_keychains(int index) const { + return _impl_.keychains_.Get(index); +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::keychains(int index) const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.keychains) + return _internal_keychains(index); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_keychains() { + return _impl_.keychains_.Add(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_keychains() { + ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_keychains(); + // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.keychains) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& +CEconItemPreviewDataBlock::keychains() const { + // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.keychains) + return _impl_.keychains_; +} + +// optional uint32 style = 21; +inline bool CEconItemPreviewDataBlock::_internal_has_style() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_style() const { + return _internal_has_style(); +} +inline void CEconItemPreviewDataBlock::clear_style() { + _impl_.style_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_style() const { + return _impl_.style_; +} +inline uint32_t CEconItemPreviewDataBlock::style() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.style) + return _internal_style(); +} +inline void CEconItemPreviewDataBlock::_internal_set_style(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.style_ = value; +} +inline void CEconItemPreviewDataBlock::set_style(uint32_t value) { + _internal_set_style(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.style) +} + +// repeated .CEconItemPreviewDataBlock.Sticker variations = 22; +inline int CEconItemPreviewDataBlock::_internal_variations_size() const { + return _impl_.variations_.size(); +} +inline int CEconItemPreviewDataBlock::variations_size() const { + return _internal_variations_size(); +} +inline void CEconItemPreviewDataBlock::clear_variations() { + _impl_.variations_.Clear(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_variations(int index) { + // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.variations) + return _impl_.variations_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* +CEconItemPreviewDataBlock::mutable_variations() { + // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.variations) + return &_impl_.variations_; +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_variations(int index) const { + return _impl_.variations_.Get(index); +} +inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::variations(int index) const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.variations) + return _internal_variations(index); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_variations() { + return _impl_.variations_.Add(); +} +inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_variations() { + ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_variations(); + // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.variations) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& +CEconItemPreviewDataBlock::variations() const { + // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.variations) + return _impl_.variations_; +} + +// optional uint32 upgrade_level = 23; +inline bool CEconItemPreviewDataBlock::_internal_has_upgrade_level() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CEconItemPreviewDataBlock::has_upgrade_level() const { + return _internal_has_upgrade_level(); +} +inline void CEconItemPreviewDataBlock::clear_upgrade_level() { + _impl_.upgrade_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CEconItemPreviewDataBlock::_internal_upgrade_level() const { + return _impl_.upgrade_level_; +} +inline uint32_t CEconItemPreviewDataBlock::upgrade_level() const { + // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.upgrade_level) + return _internal_upgrade_level(); +} +inline void CEconItemPreviewDataBlock::_internal_set_upgrade_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.upgrade_level_ = value; +} +inline void CEconItemPreviewDataBlock::set_upgrade_level(uint32_t value) { + _internal_set_upgrade_level(value); + // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.upgrade_level) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchEndRewardDropsNotification + +// optional .CEconItemPreviewDataBlock iteminfo = 6; +inline bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_has_iteminfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::has_iteminfo() const { + return _internal_has_iteminfo(); +} +inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::clear_iteminfo() { + if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_iteminfo() const { + const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEconItemPreviewDataBlock_default_instance_); +} +inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::iteminfo() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) + return _internal_iteminfo(); +} +inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); + } + _impl_.iteminfo_ = iteminfo; + if (iteminfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::release_iteminfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = 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 ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::unsafe_arena_release_iteminfo() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = nullptr; + return temp; +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_mutable_iteminfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.iteminfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); + _impl_.iteminfo_ = p; + } + return _impl_.iteminfo_; +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::mutable_iteminfo() { + ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.iteminfo_; + } + if (iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); + if (message_arena != submessage_arena) { + iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, iteminfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.iteminfo_ = iteminfo; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) +} + +// ------------------------------------------------------------------- + +// CMsgItemAcknowledged + +// optional .CEconItemPreviewDataBlock iteminfo = 1; +inline bool CMsgItemAcknowledged::_internal_has_iteminfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); + return value; +} +inline bool CMsgItemAcknowledged::has_iteminfo() const { + return _internal_has_iteminfo(); +} +inline void CMsgItemAcknowledged::clear_iteminfo() { + if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CEconItemPreviewDataBlock& CMsgItemAcknowledged::_internal_iteminfo() const { + const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEconItemPreviewDataBlock_default_instance_); +} +inline const ::CEconItemPreviewDataBlock& CMsgItemAcknowledged::iteminfo() const { + // @@protoc_insertion_point(field_get:CMsgItemAcknowledged.iteminfo) + return _internal_iteminfo(); +} +inline void CMsgItemAcknowledged::unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); + } + _impl_.iteminfo_ = iteminfo; + if (iteminfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgItemAcknowledged.iteminfo) +} +inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::release_iteminfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = 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 ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::unsafe_arena_release_iteminfo() { + // @@protoc_insertion_point(field_release:CMsgItemAcknowledged.iteminfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = nullptr; + return temp; +} +inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::_internal_mutable_iteminfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.iteminfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); + _impl_.iteminfo_ = p; + } + return _impl_.iteminfo_; +} +inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::mutable_iteminfo() { + ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); + // @@protoc_insertion_point(field_mutable:CMsgItemAcknowledged.iteminfo) + return _msg; +} +inline void CMsgItemAcknowledged::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.iteminfo_; + } + if (iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); + if (message_arena != submessage_arena) { + iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, iteminfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.iteminfo_ = iteminfo; + // @@protoc_insertion_point(field_set_allocated:CMsgItemAcknowledged.iteminfo) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest + +// optional uint64 param_s = 1; +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_s() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_s() const { + return _internal_has_param_s(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_s() { + _impl_.param_s_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_s() const { + return _impl_.param_s_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_s() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_s) + return _internal_param_s(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_s(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.param_s_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_s(uint64_t value) { + _internal_set_param_s(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_s) +} + +// optional uint64 param_a = 2; +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_a() const { + return _internal_has_param_a(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_a() { + _impl_.param_a_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_a() const { + return _impl_.param_a_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_a() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_a) + return _internal_param_a(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_a(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.param_a_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_a(uint64_t value) { + _internal_set_param_a(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_a) +} + +// optional uint64 param_d = 3; +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_d() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_d() const { + return _internal_has_param_d(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_d() { + _impl_.param_d_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_d() const { + return _impl_.param_d_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_d() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_d) + return _internal_param_d(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_d(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.param_d_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_d(uint64_t value) { + _internal_set_param_d(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_d) +} + +// optional uint64 param_m = 4; +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_m() const { + return _internal_has_param_m(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_m() { + _impl_.param_m_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_m() const { + return _impl_.param_m_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_m() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_m) + return _internal_param_m(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_m(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.param_m_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_m(uint64_t value) { + _internal_set_param_m(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_m) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse + +// optional .CEconItemPreviewDataBlock iteminfo = 1; +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_has_iteminfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::has_iteminfo() const { + return _internal_has_iteminfo(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::clear_iteminfo() { + if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_iteminfo() const { + const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEconItemPreviewDataBlock_default_instance_); +} +inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::iteminfo() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) + return _internal_iteminfo(); +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); + } + _impl_.iteminfo_ = iteminfo; + if (iteminfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::release_iteminfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = 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 ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::unsafe_arena_release_iteminfo() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = nullptr; + return temp; +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_mutable_iteminfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.iteminfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); + _impl_.iteminfo_ = p; + } + return _impl_.iteminfo_; +} +inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::mutable_iteminfo() { + ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) + return _msg; +} +inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.iteminfo_; + } + if (iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); + if (message_arena != submessage_arena) { + iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, iteminfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.iteminfo_ = iteminfo; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser.accountid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListRequestRecentUserGames + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames.accountid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListRequestTournamentGames + +// optional int32 eventid = 1; +inline bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestTournamentGames.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestTournamentGames.eventid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListRequestFullGameInfo + +// optional uint64 matchid = 1; +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_matchid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_matchid() const { + return _internal_has_matchid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_matchid() { + _impl_.matchid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_matchid() const { + return _impl_.matchid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::matchid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.matchid) + return _internal_matchid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_matchid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.matchid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_matchid(uint64_t value) { + _internal_set_matchid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.matchid) +} + +// optional uint64 outcomeid = 2; +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_outcomeid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_outcomeid() const { + return _internal_has_outcomeid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_outcomeid() { + _impl_.outcomeid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_outcomeid() const { + return _impl_.outcomeid_; +} +inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::outcomeid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.outcomeid) + return _internal_outcomeid(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_outcomeid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.outcomeid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_outcomeid(uint64_t value) { + _internal_set_outcomeid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.outcomeid) +} + +// optional uint32 token = 3; +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_token() const { + return _internal_has_token(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_token() { + _impl_.token_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_token() const { + return _impl_.token_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::token() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.token) + return _internal_token(); +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_token(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.token_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_token(uint32_t value) { + _internal_set_token(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.token) +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_MatchInfo + +// optional uint64 matchid = 1; +inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_matchid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_MatchInfo::has_matchid() const { + return _internal_has_matchid(); +} +inline void CDataGCCStrike15_v2_MatchInfo::clear_matchid() { + _impl_.matchid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CDataGCCStrike15_v2_MatchInfo::_internal_matchid() const { + return _impl_.matchid_; +} +inline uint64_t CDataGCCStrike15_v2_MatchInfo::matchid() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.matchid) + return _internal_matchid(); +} +inline void CDataGCCStrike15_v2_MatchInfo::_internal_set_matchid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.matchid_ = value; +} +inline void CDataGCCStrike15_v2_MatchInfo::set_matchid(uint64_t value) { + _internal_set_matchid(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_MatchInfo.matchid) +} + +// optional uint32 matchtime = 2; +inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_matchtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_MatchInfo::has_matchtime() const { + return _internal_has_matchtime(); +} +inline void CDataGCCStrike15_v2_MatchInfo::clear_matchtime() { + _impl_.matchtime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CDataGCCStrike15_v2_MatchInfo::_internal_matchtime() const { + return _impl_.matchtime_; +} +inline uint32_t CDataGCCStrike15_v2_MatchInfo::matchtime() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.matchtime) + return _internal_matchtime(); +} +inline void CDataGCCStrike15_v2_MatchInfo::_internal_set_matchtime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.matchtime_ = value; +} +inline void CDataGCCStrike15_v2_MatchInfo::set_matchtime(uint32_t value) { + _internal_set_matchtime(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_MatchInfo.matchtime) +} + +// optional .WatchableMatchInfo watchablematchinfo = 3; +inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_watchablematchinfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.watchablematchinfo_ != nullptr); + return value; +} +inline bool CDataGCCStrike15_v2_MatchInfo::has_watchablematchinfo() const { + return _internal_has_watchablematchinfo(); +} +inline void CDataGCCStrike15_v2_MatchInfo::clear_watchablematchinfo() { + if (_impl_.watchablematchinfo_ != nullptr) _impl_.watchablematchinfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::WatchableMatchInfo& CDataGCCStrike15_v2_MatchInfo::_internal_watchablematchinfo() const { + const ::WatchableMatchInfo* p = _impl_.watchablematchinfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_WatchableMatchInfo_default_instance_); +} +inline const ::WatchableMatchInfo& CDataGCCStrike15_v2_MatchInfo::watchablematchinfo() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) + return _internal_watchablematchinfo(); +} +inline void CDataGCCStrike15_v2_MatchInfo::unsafe_arena_set_allocated_watchablematchinfo( + ::WatchableMatchInfo* watchablematchinfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.watchablematchinfo_); + } + _impl_.watchablematchinfo_ = watchablematchinfo; + if (watchablematchinfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) +} +inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::release_watchablematchinfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::WatchableMatchInfo* temp = _impl_.watchablematchinfo_; + _impl_.watchablematchinfo_ = 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 ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::unsafe_arena_release_watchablematchinfo() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::WatchableMatchInfo* temp = _impl_.watchablematchinfo_; + _impl_.watchablematchinfo_ = nullptr; + return temp; +} +inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::_internal_mutable_watchablematchinfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.watchablematchinfo_ == nullptr) { + auto* p = CreateMaybeMessage<::WatchableMatchInfo>(GetArenaForAllocation()); + _impl_.watchablematchinfo_ = p; + } + return _impl_.watchablematchinfo_; +} +inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::mutable_watchablematchinfo() { + ::WatchableMatchInfo* _msg = _internal_mutable_watchablematchinfo(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) + return _msg; +} +inline void CDataGCCStrike15_v2_MatchInfo::set_allocated_watchablematchinfo(::WatchableMatchInfo* watchablematchinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.watchablematchinfo_; + } + if (watchablematchinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(watchablematchinfo); + if (message_arena != submessage_arena) { + watchablematchinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, watchablematchinfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.watchablematchinfo_ = watchablematchinfo; + // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; +inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_roundstats_legacy() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.roundstats_legacy_ != nullptr); + return value; +} +inline bool CDataGCCStrike15_v2_MatchInfo::has_roundstats_legacy() const { + return _internal_has_roundstats_legacy(); +} +inline void CDataGCCStrike15_v2_MatchInfo::clear_roundstats_legacy() { + if (_impl_.roundstats_legacy_ != nullptr) _impl_.roundstats_legacy_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::_internal_roundstats_legacy() const { + const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* p = _impl_.roundstats_legacy_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::roundstats_legacy() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) + return _internal_roundstats_legacy(); +} +inline void CDataGCCStrike15_v2_MatchInfo::unsafe_arena_set_allocated_roundstats_legacy( + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.roundstats_legacy_); + } + _impl_.roundstats_legacy_ = roundstats_legacy; + if (roundstats_legacy) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::release_roundstats_legacy() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* temp = _impl_.roundstats_legacy_; + _impl_.roundstats_legacy_ = 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 ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::unsafe_arena_release_roundstats_legacy() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* temp = _impl_.roundstats_legacy_; + _impl_.roundstats_legacy_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::_internal_mutable_roundstats_legacy() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.roundstats_legacy_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats>(GetArenaForAllocation()); + _impl_.roundstats_legacy_ = p; + } + return _impl_.roundstats_legacy_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::mutable_roundstats_legacy() { + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _msg = _internal_mutable_roundstats_legacy(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) + return _msg; +} +inline void CDataGCCStrike15_v2_MatchInfo::set_allocated_roundstats_legacy(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.roundstats_legacy_; + } + if (roundstats_legacy) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(roundstats_legacy); + if (message_arena != submessage_arena) { + roundstats_legacy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, roundstats_legacy, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.roundstats_legacy_ = roundstats_legacy; + // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) +} + +// repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; +inline int CDataGCCStrike15_v2_MatchInfo::_internal_roundstatsall_size() const { + return _impl_.roundstatsall_.size(); +} +inline int CDataGCCStrike15_v2_MatchInfo::roundstatsall_size() const { + return _internal_roundstatsall_size(); +} +inline void CDataGCCStrike15_v2_MatchInfo::clear_roundstatsall() { + _impl_.roundstatsall_.Clear(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::mutable_roundstatsall(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.roundstatsall) + return _impl_.roundstatsall_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >* +CDataGCCStrike15_v2_MatchInfo::mutable_roundstatsall() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_MatchInfo.roundstatsall) + return &_impl_.roundstatsall_; +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::_internal_roundstatsall(int index) const { + return _impl_.roundstatsall_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::roundstatsall(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.roundstatsall) + return _internal_roundstatsall(index); +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::_internal_add_roundstatsall() { + return _impl_.roundstatsall_.Add(); +} +inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::add_roundstatsall() { + ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _add = _internal_add_roundstatsall(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_MatchInfo.roundstatsall) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >& +CDataGCCStrike15_v2_MatchInfo::roundstatsall() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_MatchInfo.roundstatsall) + return _impl_.roundstatsall_; +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentGroupTeam + +// optional int32 team_id = 1; +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_team_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_team_id() const { + return _internal_has_team_id(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_team_id() { + _impl_.team_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::_internal_team_id() const { + return _impl_.team_id_; +} +inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::team_id() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.team_id) + return _internal_team_id(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_team_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.team_id_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_team_id(int32_t value) { + _internal_set_team_id(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.team_id) +} + +// optional int32 score = 2; +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_score() const { + return _internal_has_score(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_score() { + _impl_.score_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::_internal_score() const { + return _impl_.score_; +} +inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::score() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.score) + return _internal_score(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_score(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.score_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_score(int32_t value) { + _internal_set_score(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.score) +} + +// optional bool correctpick = 3; +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_correctpick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_correctpick() const { + return _internal_has_correctpick(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_correctpick() { + _impl_.correctpick_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_correctpick() const { + return _impl_.correctpick_; +} +inline bool CDataGCCStrike15_v2_TournamentGroupTeam::correctpick() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.correctpick) + return _internal_correctpick(); +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_correctpick(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.correctpick_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_correctpick(bool value) { + _internal_set_correctpick(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.correctpick) +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentGroup_Picks + +// repeated int32 pickids = 1; +inline int CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids_size() const { + return _impl_.pickids_.size(); +} +inline int CDataGCCStrike15_v2_TournamentGroup_Picks::pickids_size() const { + return _internal_pickids_size(); +} +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::clear_pickids() { + _impl_.pickids_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids(int index) const { + return _impl_.pickids_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentGroup_Picks::pickids(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) + return _internal_pickids(index); +} +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::set_pickids(int index, int32_t value) { + _impl_.pickids_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) +} +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_add_pickids(int32_t value) { + _impl_.pickids_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentGroup_Picks::add_pickids(int32_t value) { + _internal_add_pickids(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids() const { + return _impl_.pickids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentGroup_Picks::pickids() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) + return _internal_pickids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_mutable_pickids() { + return &_impl_.pickids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentGroup_Picks::mutable_pickids() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) + return _internal_mutable_pickids(); +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentGroup + +// optional uint32 groupid = 1; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_groupid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_groupid() const { + return _internal_has_groupid(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_groupid() { + _impl_.groupid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_groupid() const { + return _impl_.groupid_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::groupid() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.groupid) + return _internal_groupid(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_groupid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.groupid_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_groupid(uint32_t value) { + _internal_set_groupid(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.groupid) +} + +// optional string name = 2; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_name() const { + return _internal_has_name(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDataGCCStrike15_v2_TournamentGroup::name() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDataGCCStrike15_v2_TournamentGroup::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.name) +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.name) + return _s; +} +inline const std::string& CDataGCCStrike15_v2_TournamentGroup::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::release_name() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentGroup.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CDataGCCStrike15_v2_TournamentGroup.name) +} + +// optional string desc = 3; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_desc() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_desc() const { + return _internal_has_desc(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_desc() { + _impl_.desc_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CDataGCCStrike15_v2_TournamentGroup::desc() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.desc) + return _internal_desc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDataGCCStrike15_v2_TournamentGroup::set_desc(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.desc) +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::mutable_desc() { + std::string* _s = _internal_mutable_desc(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.desc) + return _s; +} +inline const std::string& CDataGCCStrike15_v2_TournamentGroup::_internal_desc() const { + return _impl_.desc_.Get(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_desc(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.desc_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_desc() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.desc_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentGroup::release_desc() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentGroup.desc) + if (!_internal_has_desc()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.desc_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_.IsDefault()) { + _impl_.desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_allocated_desc(std::string* desc) { + if (desc != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.desc_.SetAllocated(desc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_.IsDefault()) { + _impl_.desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentGroup.desc) +} + +// optional uint32 picks__deprecated = 4; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_picks__deprecated() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_picks__deprecated() const { + return _internal_has_picks__deprecated(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_picks__deprecated() { + _impl_.picks__deprecated_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_picks__deprecated() const { + return _impl_.picks__deprecated_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::picks__deprecated() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picks__deprecated) + return _internal_picks__deprecated(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_picks__deprecated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.picks__deprecated_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_picks__deprecated(uint32_t value) { + _internal_set_picks__deprecated(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.picks__deprecated) +} + +// repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; +inline int CDataGCCStrike15_v2_TournamentGroup::_internal_teams_size() const { + return _impl_.teams_.size(); +} +inline int CDataGCCStrike15_v2_TournamentGroup::teams_size() const { + return _internal_teams_size(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_teams() { + _impl_.teams_.Clear(); +} +inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::mutable_teams(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.teams) + return _impl_.teams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >* +CDataGCCStrike15_v2_TournamentGroup::mutable_teams() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.teams) + return &_impl_.teams_; +} +inline const ::CDataGCCStrike15_v2_TournamentGroupTeam& CDataGCCStrike15_v2_TournamentGroup::_internal_teams(int index) const { + return _impl_.teams_.Get(index); +} +inline const ::CDataGCCStrike15_v2_TournamentGroupTeam& CDataGCCStrike15_v2_TournamentGroup::teams(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.teams) + return _internal_teams(index); +} +inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::_internal_add_teams() { + return _impl_.teams_.Add(); +} +inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::add_teams() { + ::CDataGCCStrike15_v2_TournamentGroupTeam* _add = _internal_add_teams(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.teams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >& +CDataGCCStrike15_v2_TournamentGroup::teams() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.teams) + return _impl_.teams_; +} + +// repeated int32 stage_ids = 6; +inline int CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids_size() const { + return _impl_.stage_ids_.size(); +} +inline int CDataGCCStrike15_v2_TournamentGroup::stage_ids_size() const { + return _internal_stage_ids_size(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_stage_ids() { + _impl_.stage_ids_.Clear(); +} +inline int32_t CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids(int index) const { + return _impl_.stage_ids_.Get(index); +} +inline int32_t CDataGCCStrike15_v2_TournamentGroup::stage_ids(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.stage_ids) + return _internal_stage_ids(index); +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_stage_ids(int index, int32_t value) { + _impl_.stage_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.stage_ids) +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_add_stage_ids(int32_t value) { + _impl_.stage_ids_.Add(value); +} +inline void CDataGCCStrike15_v2_TournamentGroup::add_stage_ids(int32_t value) { + _internal_add_stage_ids(value); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.stage_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids() const { + return _impl_.stage_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CDataGCCStrike15_v2_TournamentGroup::stage_ids() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.stage_ids) + return _internal_stage_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_stage_ids() { + return &_impl_.stage_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CDataGCCStrike15_v2_TournamentGroup::mutable_stage_ids() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.stage_ids) + return _internal_mutable_stage_ids(); +} + +// optional uint32 picklockuntiltime = 7; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_picklockuntiltime() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_picklockuntiltime() const { + return _internal_has_picklockuntiltime(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_picklockuntiltime() { + _impl_.picklockuntiltime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_picklockuntiltime() const { + return _impl_.picklockuntiltime_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::picklockuntiltime() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picklockuntiltime) + return _internal_picklockuntiltime(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_picklockuntiltime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.picklockuntiltime_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_picklockuntiltime(uint32_t value) { + _internal_set_picklockuntiltime(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.picklockuntiltime) +} + +// optional uint32 pickableteams = 8; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_pickableteams() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_pickableteams() const { + return _internal_has_pickableteams(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_pickableteams() { + _impl_.pickableteams_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_pickableteams() const { + return _impl_.pickableteams_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::pickableteams() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.pickableteams) + return _internal_pickableteams(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_pickableteams(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.pickableteams_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_pickableteams(uint32_t value) { + _internal_set_pickableteams(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.pickableteams) +} + +// optional uint32 points_per_pick = 9; +inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_points_per_pick() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentGroup::has_points_per_pick() const { + return _internal_has_points_per_pick(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_points_per_pick() { + _impl_.points_per_pick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_points_per_pick() const { + return _impl_.points_per_pick_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentGroup::points_per_pick() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.points_per_pick) + return _internal_points_per_pick(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_points_per_pick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.points_per_pick_ = value; +} +inline void CDataGCCStrike15_v2_TournamentGroup::set_points_per_pick(uint32_t value) { + _internal_set_points_per_pick(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.points_per_pick) +} + +// repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; +inline int CDataGCCStrike15_v2_TournamentGroup::_internal_picks_size() const { + return _impl_.picks_.size(); +} +inline int CDataGCCStrike15_v2_TournamentGroup::picks_size() const { + return _internal_picks_size(); +} +inline void CDataGCCStrike15_v2_TournamentGroup::clear_picks() { + _impl_.picks_.Clear(); +} +inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::mutable_picks(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.picks) + return _impl_.picks_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >* +CDataGCCStrike15_v2_TournamentGroup::mutable_picks() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.picks) + return &_impl_.picks_; +} +inline const ::CDataGCCStrike15_v2_TournamentGroup_Picks& CDataGCCStrike15_v2_TournamentGroup::_internal_picks(int index) const { + return _impl_.picks_.Get(index); +} +inline const ::CDataGCCStrike15_v2_TournamentGroup_Picks& CDataGCCStrike15_v2_TournamentGroup::picks(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picks) + return _internal_picks(index); +} +inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::_internal_add_picks() { + return _impl_.picks_.Add(); +} +inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::add_picks() { + ::CDataGCCStrike15_v2_TournamentGroup_Picks* _add = _internal_add_picks(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.picks) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >& +CDataGCCStrike15_v2_TournamentGroup::picks() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.picks) + return _impl_.picks_; +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentSection + +// optional uint32 sectionid = 1; +inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_sectionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentSection::has_sectionid() const { + return _internal_has_sectionid(); +} +inline void CDataGCCStrike15_v2_TournamentSection::clear_sectionid() { + _impl_.sectionid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CDataGCCStrike15_v2_TournamentSection::_internal_sectionid() const { + return _impl_.sectionid_; +} +inline uint32_t CDataGCCStrike15_v2_TournamentSection::sectionid() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.sectionid) + return _internal_sectionid(); +} +inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_sectionid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sectionid_ = value; +} +inline void CDataGCCStrike15_v2_TournamentSection::set_sectionid(uint32_t value) { + _internal_set_sectionid(value); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.sectionid) +} + +// optional string name = 2; +inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentSection::has_name() const { + return _internal_has_name(); +} +inline void CDataGCCStrike15_v2_TournamentSection::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDataGCCStrike15_v2_TournamentSection::name() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDataGCCStrike15_v2_TournamentSection::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.name) +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.name) + return _s; +} +inline const std::string& CDataGCCStrike15_v2_TournamentSection::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::release_name() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentSection.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDataGCCStrike15_v2_TournamentSection::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CDataGCCStrike15_v2_TournamentSection.name) +} + +// optional string desc = 3; +inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_desc() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDataGCCStrike15_v2_TournamentSection::has_desc() const { + return _internal_has_desc(); +} +inline void CDataGCCStrike15_v2_TournamentSection::clear_desc() { + _impl_.desc_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CDataGCCStrike15_v2_TournamentSection::desc() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.desc) + return _internal_desc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDataGCCStrike15_v2_TournamentSection::set_desc(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.desc) +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::mutable_desc() { + std::string* _s = _internal_mutable_desc(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.desc) + return _s; +} +inline const std::string& CDataGCCStrike15_v2_TournamentSection::_internal_desc() const { + return _impl_.desc_.Get(); +} +inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_desc(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.desc_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::_internal_mutable_desc() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.desc_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDataGCCStrike15_v2_TournamentSection::release_desc() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentSection.desc) + if (!_internal_has_desc()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.desc_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_.IsDefault()) { + _impl_.desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDataGCCStrike15_v2_TournamentSection::set_allocated_desc(std::string* desc) { + if (desc != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.desc_.SetAllocated(desc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.desc_.IsDefault()) { + _impl_.desc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentSection.desc) +} + +// repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; +inline int CDataGCCStrike15_v2_TournamentSection::_internal_groups_size() const { + return _impl_.groups_.size(); +} +inline int CDataGCCStrike15_v2_TournamentSection::groups_size() const { + return _internal_groups_size(); +} +inline void CDataGCCStrike15_v2_TournamentSection::clear_groups() { + _impl_.groups_.Clear(); +} +inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::mutable_groups(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.groups) + return _impl_.groups_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >* +CDataGCCStrike15_v2_TournamentSection::mutable_groups() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentSection.groups) + return &_impl_.groups_; +} +inline const ::CDataGCCStrike15_v2_TournamentGroup& CDataGCCStrike15_v2_TournamentSection::_internal_groups(int index) const { + return _impl_.groups_.Get(index); +} +inline const ::CDataGCCStrike15_v2_TournamentGroup& CDataGCCStrike15_v2_TournamentSection::groups(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.groups) + return _internal_groups(index); +} +inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::_internal_add_groups() { + return _impl_.groups_.Add(); +} +inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::add_groups() { + ::CDataGCCStrike15_v2_TournamentGroup* _add = _internal_add_groups(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentSection.groups) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >& +CDataGCCStrike15_v2_TournamentSection::groups() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentSection.groups) + return _impl_.groups_; +} + +// ------------------------------------------------------------------- + +// CDataGCCStrike15_v2_TournamentInfo + +// repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; +inline int CDataGCCStrike15_v2_TournamentInfo::_internal_sections_size() const { + return _impl_.sections_.size(); +} +inline int CDataGCCStrike15_v2_TournamentInfo::sections_size() const { + return _internal_sections_size(); +} +inline void CDataGCCStrike15_v2_TournamentInfo::clear_sections() { + _impl_.sections_.Clear(); +} +inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::mutable_sections(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.sections) + return _impl_.sections_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >* +CDataGCCStrike15_v2_TournamentInfo::mutable_sections() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentInfo.sections) + return &_impl_.sections_; +} +inline const ::CDataGCCStrike15_v2_TournamentSection& CDataGCCStrike15_v2_TournamentInfo::_internal_sections(int index) const { + return _impl_.sections_.Get(index); +} +inline const ::CDataGCCStrike15_v2_TournamentSection& CDataGCCStrike15_v2_TournamentInfo::sections(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.sections) + return _internal_sections(index); +} +inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::_internal_add_sections() { + return _impl_.sections_.Add(); +} +inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::add_sections() { + ::CDataGCCStrike15_v2_TournamentSection* _add = _internal_add_sections(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentInfo.sections) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >& +CDataGCCStrike15_v2_TournamentInfo::sections() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentInfo.sections) + return _impl_.sections_; +} + +// optional .TournamentEvent tournament_event = 2; +inline bool CDataGCCStrike15_v2_TournamentInfo::_internal_has_tournament_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tournament_event_ != nullptr); + return value; +} +inline bool CDataGCCStrike15_v2_TournamentInfo::has_tournament_event() const { + return _internal_has_tournament_event(); +} +inline void CDataGCCStrike15_v2_TournamentInfo::clear_tournament_event() { + if (_impl_.tournament_event_ != nullptr) _impl_.tournament_event_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::TournamentEvent& CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_event() const { + const ::TournamentEvent* p = _impl_.tournament_event_; + return p != nullptr ? *p : reinterpret_cast( + ::_TournamentEvent_default_instance_); +} +inline const ::TournamentEvent& CDataGCCStrike15_v2_TournamentInfo::tournament_event() const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.tournament_event) + return _internal_tournament_event(); +} +inline void CDataGCCStrike15_v2_TournamentInfo::unsafe_arena_set_allocated_tournament_event( + ::TournamentEvent* tournament_event) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_event_); + } + _impl_.tournament_event_ = tournament_event; + if (tournament_event) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_TournamentInfo.tournament_event) +} +inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::release_tournament_event() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::TournamentEvent* temp = _impl_.tournament_event_; + _impl_.tournament_event_ = 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 ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::unsafe_arena_release_tournament_event() { + // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentInfo.tournament_event) + _impl_._has_bits_[0] &= ~0x00000001u; + ::TournamentEvent* temp = _impl_.tournament_event_; + _impl_.tournament_event_ = nullptr; + return temp; +} +inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::_internal_mutable_tournament_event() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.tournament_event_ == nullptr) { + auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); + _impl_.tournament_event_ = p; + } + return _impl_.tournament_event_; +} +inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_event() { + ::TournamentEvent* _msg = _internal_mutable_tournament_event(); + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.tournament_event) + return _msg; +} +inline void CDataGCCStrike15_v2_TournamentInfo::set_allocated_tournament_event(::TournamentEvent* tournament_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tournament_event_; + } + if (tournament_event) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_event); + if (message_arena != submessage_arena) { + tournament_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tournament_event, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tournament_event_ = tournament_event; + // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentInfo.tournament_event) +} + +// repeated .TournamentTeam tournament_teams = 3; +inline int CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_teams_size() const { + return _impl_.tournament_teams_.size(); +} +inline int CDataGCCStrike15_v2_TournamentInfo::tournament_teams_size() const { + return _internal_tournament_teams_size(); +} +inline void CDataGCCStrike15_v2_TournamentInfo::clear_tournament_teams() { + _impl_.tournament_teams_.Clear(); +} +inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_teams(int index) { + // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) + return _impl_.tournament_teams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* +CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_teams() { + // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) + return &_impl_.tournament_teams_; +} +inline const ::TournamentTeam& CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_teams(int index) const { + return _impl_.tournament_teams_.Get(index); +} +inline const ::TournamentTeam& CDataGCCStrike15_v2_TournamentInfo::tournament_teams(int index) const { + // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) + return _internal_tournament_teams(index); +} +inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::_internal_add_tournament_teams() { + return _impl_.tournament_teams_.Add(); +} +inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::add_tournament_teams() { + ::TournamentTeam* _add = _internal_add_tournament_teams(); + // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& +CDataGCCStrike15_v2_TournamentInfo::tournament_teams() const { + // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) + return _impl_.tournament_teams_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchList + +// optional uint32 msgrequestid = 1; +inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_msgrequestid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchList::has_msgrequestid() const { + return _internal_has_msgrequestid(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_msgrequestid() { + _impl_.msgrequestid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_msgrequestid() const { + return _impl_.msgrequestid_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::msgrequestid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.msgrequestid) + return _internal_msgrequestid(); +} +inline void CMsgGCCStrike15_v2_MatchList::_internal_set_msgrequestid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msgrequestid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchList::set_msgrequestid(uint32_t value) { + _internal_set_msgrequestid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.msgrequestid) +} + +// optional uint32 accountid = 2; +inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchList::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchList::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchList::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.accountid) +} + +// optional uint32 servertime = 3; +inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_servertime() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchList::has_servertime() const { + return _internal_has_servertime(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_servertime() { + _impl_.servertime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_servertime() const { + return _impl_.servertime_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchList::servertime() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.servertime) + return _internal_servertime(); +} +inline void CMsgGCCStrike15_v2_MatchList::_internal_set_servertime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.servertime_ = value; +} +inline void CMsgGCCStrike15_v2_MatchList::set_servertime(uint32_t value) { + _internal_set_servertime(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.servertime) +} + +// repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; +inline int CMsgGCCStrike15_v2_MatchList::_internal_matches_size() const { + return _impl_.matches_.size(); +} +inline int CMsgGCCStrike15_v2_MatchList::matches_size() const { + return _internal_matches_size(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_matches() { + _impl_.matches_.Clear(); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::mutable_matches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.matches) + return _impl_.matches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* +CMsgGCCStrike15_v2_MatchList::mutable_matches() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchList.matches) + return &_impl_.matches_; +} +inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchList::_internal_matches(int index) const { + return _impl_.matches_.Get(index); +} +inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchList::matches(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.matches) + return _internal_matches(index); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::_internal_add_matches() { + return _impl_.matches_.Add(); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::add_matches() { + ::CDataGCCStrike15_v2_MatchInfo* _add = _internal_add_matches(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchList.matches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& +CMsgGCCStrike15_v2_MatchList::matches() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchList.matches) + return _impl_.matches_; +} + +// repeated .TournamentTeam streams = 5; +inline int CMsgGCCStrike15_v2_MatchList::_internal_streams_size() const { + return _impl_.streams_.size(); +} +inline int CMsgGCCStrike15_v2_MatchList::streams_size() const { + return _internal_streams_size(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_streams() { + _impl_.streams_.Clear(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::mutable_streams(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.streams) + return _impl_.streams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* +CMsgGCCStrike15_v2_MatchList::mutable_streams() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchList.streams) + return &_impl_.streams_; +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchList::_internal_streams(int index) const { + return _impl_.streams_.Get(index); +} +inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchList::streams(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.streams) + return _internal_streams(index); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::_internal_add_streams() { + return _impl_.streams_.Add(); +} +inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::add_streams() { + ::TournamentTeam* _add = _internal_add_streams(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchList.streams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& +CMsgGCCStrike15_v2_MatchList::streams() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchList.streams) + return _impl_.streams_; +} + +// optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; +inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_tournamentinfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tournamentinfo_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_MatchList::has_tournamentinfo() const { + return _internal_has_tournamentinfo(); +} +inline void CMsgGCCStrike15_v2_MatchList::clear_tournamentinfo() { + if (_impl_.tournamentinfo_ != nullptr) _impl_.tournamentinfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CDataGCCStrike15_v2_TournamentInfo& CMsgGCCStrike15_v2_MatchList::_internal_tournamentinfo() const { + const ::CDataGCCStrike15_v2_TournamentInfo* p = _impl_.tournamentinfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CDataGCCStrike15_v2_TournamentInfo_default_instance_); +} +inline const ::CDataGCCStrike15_v2_TournamentInfo& CMsgGCCStrike15_v2_MatchList::tournamentinfo() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.tournamentinfo) + return _internal_tournamentinfo(); +} +inline void CMsgGCCStrike15_v2_MatchList::unsafe_arena_set_allocated_tournamentinfo( + ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournamentinfo_); + } + _impl_.tournamentinfo_ = tournamentinfo; + if (tournamentinfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchList.tournamentinfo) +} +inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::release_tournamentinfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDataGCCStrike15_v2_TournamentInfo* temp = _impl_.tournamentinfo_; + _impl_.tournamentinfo_ = 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 ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::unsafe_arena_release_tournamentinfo() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchList.tournamentinfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDataGCCStrike15_v2_TournamentInfo* temp = _impl_.tournamentinfo_; + _impl_.tournamentinfo_ = nullptr; + return temp; +} +inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::_internal_mutable_tournamentinfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.tournamentinfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentInfo>(GetArenaForAllocation()); + _impl_.tournamentinfo_ = p; + } + return _impl_.tournamentinfo_; +} +inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::mutable_tournamentinfo() { + ::CDataGCCStrike15_v2_TournamentInfo* _msg = _internal_mutable_tournamentinfo(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.tournamentinfo) + return _msg; +} +inline void CMsgGCCStrike15_v2_MatchList::set_allocated_tournamentinfo(::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tournamentinfo_; + } + if (tournamentinfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournamentinfo); + if (message_arena != submessage_arena) { + tournamentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tournamentinfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tournamentinfo_ = tournamentinfo; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchList.tournamentinfo) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt + +// optional int32 eventid = 1; +inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.eventid) +} + +// repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; +inline int CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_matches_size() const { + return _impl_.matches_.size(); +} +inline int CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches_size() const { + return _internal_matches_size(); +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_matches() { + _impl_.matches_.Clear(); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::mutable_matches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) + return _impl_.matches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* +CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::mutable_matches() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) + return &_impl_.matches_; +} +inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_matches(int index) const { + return _impl_.matches_.Get(index); +} +inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) + return _internal_matches(index); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_add_matches() { + return _impl_.matches_.Add(); +} +inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::add_matches() { + ::CDataGCCStrike15_v2_MatchInfo* _add = _internal_add_matches(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& +CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) + return _impl_.matches_; +} + +// optional uint32 accountid = 3; +inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.accountid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick + +// optional int32 sectionid = 1; +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_sectionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_sectionid() const { + return _internal_has_sectionid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_sectionid() { + _impl_.sectionid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_sectionid() const { + return _impl_.sectionid_; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::sectionid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.sectionid) + return _internal_sectionid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_sectionid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sectionid_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_sectionid(int32_t value) { + _internal_set_sectionid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.sectionid) +} + +// optional int32 groupid = 2; +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_groupid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_groupid() const { + return _internal_has_groupid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_groupid() { + _impl_.groupid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_groupid() const { + return _impl_.groupid_; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::groupid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.groupid) + return _internal_groupid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_groupid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.groupid_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_groupid(int32_t value) { + _internal_set_groupid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.groupid) +} + +// optional int32 index = 3; +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_index() const { + return _internal_has_index(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_index() const { + return _impl_.index_; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::index() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.index) + return _internal_index(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.index_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.index) +} + +// optional int32 teamid = 4; +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_teamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_teamid() const { + return _internal_has_teamid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_teamid() { + _impl_.teamid_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_teamid() const { + return _impl_.teamid_; +} +inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::teamid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.teamid) + return _internal_teamid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_teamid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.teamid_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_teamid(int32_t value) { + _internal_set_teamid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.teamid) +} + +// optional uint64 itemid = 5; +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_itemid() const { + return _internal_has_itemid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_itemid() { + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_itemid() const { + return _impl_.itemid_; +} +inline uint64_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::itemid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.itemid) + return _internal_itemid(); +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_itemid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.itemid_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_itemid(uint64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.itemid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Predictions + +// optional uint32 event_id = 1; +inline bool CMsgGCCStrike15_v2_Predictions::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Predictions::has_event_id() const { + return _internal_has_event_id(); +} +inline void CMsgGCCStrike15_v2_Predictions::clear_event_id() { + _impl_.event_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Predictions::_internal_event_id() const { + return _impl_.event_id_; +} +inline uint32_t CMsgGCCStrike15_v2_Predictions::event_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.event_id) + return _internal_event_id(); +} +inline void CMsgGCCStrike15_v2_Predictions::_internal_set_event_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_id_ = value; +} +inline void CMsgGCCStrike15_v2_Predictions::set_event_id(uint32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.event_id) +} + +// repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; +inline int CMsgGCCStrike15_v2_Predictions::_internal_group_match_team_picks_size() const { + return _impl_.group_match_team_picks_.size(); +} +inline int CMsgGCCStrike15_v2_Predictions::group_match_team_picks_size() const { + return _internal_group_match_team_picks_size(); +} +inline void CMsgGCCStrike15_v2_Predictions::clear_group_match_team_picks() { + _impl_.group_match_team_picks_.Clear(); +} +inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::mutable_group_match_team_picks(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) + return _impl_.group_match_team_picks_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >* +CMsgGCCStrike15_v2_Predictions::mutable_group_match_team_picks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) + return &_impl_.group_match_team_picks_; +} +inline const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& CMsgGCCStrike15_v2_Predictions::_internal_group_match_team_picks(int index) const { + return _impl_.group_match_team_picks_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& CMsgGCCStrike15_v2_Predictions::group_match_team_picks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) + return _internal_group_match_team_picks(index); +} +inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::_internal_add_group_match_team_picks() { + return _impl_.group_match_team_picks_.Add(); +} +inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::add_group_match_team_picks() { + ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* _add = _internal_add_group_match_team_picks(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >& +CMsgGCCStrike15_v2_Predictions::group_match_team_picks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) + return _impl_.group_match_team_picks_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Fantasy_FantasySlot + +// optional int32 type = 1; +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_type() const { + return _internal_has_type(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_type() const { + return _impl_.type_; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.type) + return _internal_type(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.type) +} + +// optional int32 pick = 2; +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_pick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_pick() const { + return _internal_has_pick(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_pick() { + _impl_.pick_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_pick() const { + return _impl_.pick_; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::pick() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.pick) + return _internal_pick(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_pick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pick_ = value; +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_pick(int32_t value) { + _internal_set_pick(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.pick) +} + +// optional uint64 itemid = 3; +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_itemid() const { + return _internal_has_itemid(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_itemid() { + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_itemid() const { + return _impl_.itemid_; +} +inline uint64_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::itemid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.itemid) + return _internal_itemid(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_itemid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.itemid_ = value; +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_itemid(uint64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.itemid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Fantasy_FantasyTeam + +// optional int32 sectionid = 1; +inline bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_has_sectionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::has_sectionid() const { + return _internal_has_sectionid(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::clear_sectionid() { + _impl_.sectionid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_sectionid() const { + return _impl_.sectionid_; +} +inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::sectionid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.sectionid) + return _internal_sectionid(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_set_sectionid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sectionid_ = value; +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::set_sectionid(int32_t value) { + _internal_set_sectionid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.sectionid) +} + +// repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; +inline int CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_slots_size() const { + return _impl_.slots_.size(); +} +inline int CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots_size() const { + return _internal_slots_size(); +} +inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::clear_slots() { + _impl_.slots_.Clear(); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::mutable_slots(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) + return _impl_.slots_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >* +CMsgGCCStrike15_v2_Fantasy_FantasyTeam::mutable_slots() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) + return &_impl_.slots_; +} +inline const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_slots(int index) const { + return _impl_.slots_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) + return _internal_slots(index); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_add_slots() { + return _impl_.slots_.Add(); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::add_slots() { + ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* _add = _internal_add_slots(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >& +CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) + return _impl_.slots_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Fantasy + +// optional uint32 event_id = 1; +inline bool CMsgGCCStrike15_v2_Fantasy::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Fantasy::has_event_id() const { + return _internal_has_event_id(); +} +inline void CMsgGCCStrike15_v2_Fantasy::clear_event_id() { + _impl_.event_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Fantasy::_internal_event_id() const { + return _impl_.event_id_; +} +inline uint32_t CMsgGCCStrike15_v2_Fantasy::event_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.event_id) + return _internal_event_id(); +} +inline void CMsgGCCStrike15_v2_Fantasy::_internal_set_event_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_id_ = value; +} +inline void CMsgGCCStrike15_v2_Fantasy::set_event_id(uint32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.event_id) +} + +// repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; +inline int CMsgGCCStrike15_v2_Fantasy::_internal_teams_size() const { + return _impl_.teams_.size(); +} +inline int CMsgGCCStrike15_v2_Fantasy::teams_size() const { + return _internal_teams_size(); +} +inline void CMsgGCCStrike15_v2_Fantasy::clear_teams() { + _impl_.teams_.Clear(); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::mutable_teams(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Fantasy.teams) + return _impl_.teams_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >* +CMsgGCCStrike15_v2_Fantasy::mutable_teams() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Fantasy.teams) + return &_impl_.teams_; +} +inline const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& CMsgGCCStrike15_v2_Fantasy::_internal_teams(int index) const { + return _impl_.teams_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& CMsgGCCStrike15_v2_Fantasy::teams(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.teams) + return _internal_teams(index); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::_internal_add_teams() { + return _impl_.teams_.Add(); +} +inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::add_teams() { + ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* _add = _internal_add_teams(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Fantasy.teams) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >& +CMsgGCCStrike15_v2_Fantasy::teams() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Fantasy.teams) + return _impl_.teams_; +} + +// ------------------------------------------------------------------- + +// CAttribute_String + +// optional string value = 1; +inline bool CAttribute_String::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CAttribute_String::has_value() const { + return _internal_has_value(); +} +inline void CAttribute_String::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CAttribute_String::value() const { + // @@protoc_insertion_point(field_get:CAttribute_String.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CAttribute_String::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CAttribute_String.value) +} +inline std::string* CAttribute_String::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CAttribute_String.value) + return _s; +} +inline const std::string& CAttribute_String::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CAttribute_String::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CAttribute_String::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CAttribute_String::release_value() { + // @@protoc_insertion_point(field_release:CAttribute_String.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CAttribute_String::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CAttribute_String.value) +} + +// ------------------------------------------------------------------- + +// CMsgLegacySource1ClientWelcome_Location + +// optional float latitude = 1; +inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_latitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome_Location::has_latitude() const { + return _internal_has_latitude(); +} +inline void CMsgLegacySource1ClientWelcome_Location::clear_latitude() { + _impl_.latitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgLegacySource1ClientWelcome_Location::_internal_latitude() const { + return _impl_.latitude_; +} +inline float CMsgLegacySource1ClientWelcome_Location::latitude() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.latitude) + return _internal_latitude(); +} +inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_latitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.latitude_ = value; +} +inline void CMsgLegacySource1ClientWelcome_Location::set_latitude(float value) { + _internal_set_latitude(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.latitude) +} + +// optional float longitude = 2; +inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_longitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome_Location::has_longitude() const { + return _internal_has_longitude(); +} +inline void CMsgLegacySource1ClientWelcome_Location::clear_longitude() { + _impl_.longitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgLegacySource1ClientWelcome_Location::_internal_longitude() const { + return _impl_.longitude_; +} +inline float CMsgLegacySource1ClientWelcome_Location::longitude() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.longitude) + return _internal_longitude(); +} +inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_longitude(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.longitude_ = value; +} +inline void CMsgLegacySource1ClientWelcome_Location::set_longitude(float value) { + _internal_set_longitude(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.longitude) +} + +// optional string country = 3; +inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_country() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome_Location::has_country() const { + return _internal_has_country(); +} +inline void CMsgLegacySource1ClientWelcome_Location::clear_country() { + _impl_.country_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgLegacySource1ClientWelcome_Location::country() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.country) + return _internal_country(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgLegacySource1ClientWelcome_Location::set_country(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.country) +} +inline std::string* CMsgLegacySource1ClientWelcome_Location::mutable_country() { + std::string* _s = _internal_mutable_country(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.Location.country) + return _s; +} +inline const std::string& CMsgLegacySource1ClientWelcome_Location::_internal_country() const { + return _impl_.country_.Get(); +} +inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_country(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome_Location::_internal_mutable_country() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.country_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome_Location::release_country() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.Location.country) + if (!_internal_has_country()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.country_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgLegacySource1ClientWelcome_Location::set_allocated_country(std::string* country) { + if (country != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.country_.SetAllocated(country, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.Location.country) +} + +// ------------------------------------------------------------------- + +// CMsgLegacySource1ClientWelcome + +// optional uint32 version = 1; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_version() const { + return _internal_has_version(); +} +inline void CMsgLegacySource1ClientWelcome::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgLegacySource1ClientWelcome::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgLegacySource1ClientWelcome::version() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.version) + return _internal_version(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.version_ = value; +} +inline void CMsgLegacySource1ClientWelcome::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.version) +} + +// optional bytes game_data = 2; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_game_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_game_data() const { + return _internal_has_game_data(); +} +inline void CMsgLegacySource1ClientWelcome::clear_game_data() { + _impl_.game_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgLegacySource1ClientWelcome::game_data() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.game_data) + return _internal_game_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgLegacySource1ClientWelcome::set_game_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.game_data) +} +inline std::string* CMsgLegacySource1ClientWelcome::mutable_game_data() { + std::string* _s = _internal_mutable_game_data(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.game_data) + return _s; +} +inline const std::string& CMsgLegacySource1ClientWelcome::_internal_game_data() const { + return _impl_.game_data_.Get(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_game_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_game_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::release_game_data() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.game_data) + if (!_internal_has_game_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data_.IsDefault()) { + _impl_.game_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgLegacySource1ClientWelcome::set_allocated_game_data(std::string* game_data) { + if (game_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_data_.SetAllocated(game_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data_.IsDefault()) { + _impl_.game_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.game_data) +} + +// repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; +inline int CMsgLegacySource1ClientWelcome::_internal_outofdate_subscribed_caches_size() const { + return _impl_.outofdate_subscribed_caches_.size(); +} +inline int CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches_size() const { + return _internal_outofdate_subscribed_caches_size(); +} +inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::mutable_outofdate_subscribed_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) + return _impl_.outofdate_subscribed_caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* +CMsgLegacySource1ClientWelcome::mutable_outofdate_subscribed_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) + return &_impl_.outofdate_subscribed_caches_; +} +inline const ::CMsgSOCacheSubscribed& CMsgLegacySource1ClientWelcome::_internal_outofdate_subscribed_caches(int index) const { + return _impl_.outofdate_subscribed_caches_.Get(index); +} +inline const ::CMsgSOCacheSubscribed& CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) + return _internal_outofdate_subscribed_caches(index); +} +inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::_internal_add_outofdate_subscribed_caches() { + return _impl_.outofdate_subscribed_caches_.Add(); +} +inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::add_outofdate_subscribed_caches() { + ::CMsgSOCacheSubscribed* _add = _internal_add_outofdate_subscribed_caches(); + // @@protoc_insertion_point(field_add:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& +CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches() const { + // @@protoc_insertion_point(field_list:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) + return _impl_.outofdate_subscribed_caches_; +} + +// repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; +inline int CMsgLegacySource1ClientWelcome::_internal_uptodate_subscribed_caches_size() const { + return _impl_.uptodate_subscribed_caches_.size(); +} +inline int CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches_size() const { + return _internal_uptodate_subscribed_caches_size(); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::mutable_uptodate_subscribed_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) + return _impl_.uptodate_subscribed_caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* +CMsgLegacySource1ClientWelcome::mutable_uptodate_subscribed_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) + return &_impl_.uptodate_subscribed_caches_; +} +inline const ::CMsgSOCacheSubscriptionCheck& CMsgLegacySource1ClientWelcome::_internal_uptodate_subscribed_caches(int index) const { + return _impl_.uptodate_subscribed_caches_.Get(index); +} +inline const ::CMsgSOCacheSubscriptionCheck& CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) + return _internal_uptodate_subscribed_caches(index); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::_internal_add_uptodate_subscribed_caches() { + return _impl_.uptodate_subscribed_caches_.Add(); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::add_uptodate_subscribed_caches() { + ::CMsgSOCacheSubscriptionCheck* _add = _internal_add_uptodate_subscribed_caches(); + // @@protoc_insertion_point(field_add:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& +CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches() const { + // @@protoc_insertion_point(field_list:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) + return _impl_.uptodate_subscribed_caches_; +} + +// optional .CMsgLegacySource1ClientWelcome.Location location = 5; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_location() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_location() const { + return _internal_has_location(); +} +inline void CMsgLegacySource1ClientWelcome::clear_location() { + if (_impl_.location_ != nullptr) _impl_.location_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CMsgLegacySource1ClientWelcome_Location& CMsgLegacySource1ClientWelcome::_internal_location() const { + const ::CMsgLegacySource1ClientWelcome_Location* p = _impl_.location_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgLegacySource1ClientWelcome_Location_default_instance_); +} +inline const ::CMsgLegacySource1ClientWelcome_Location& CMsgLegacySource1ClientWelcome::location() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.location) + return _internal_location(); +} +inline void CMsgLegacySource1ClientWelcome::unsafe_arena_set_allocated_location( + ::CMsgLegacySource1ClientWelcome_Location* location) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_); + } + _impl_.location_ = location; + if (location) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgLegacySource1ClientWelcome.location) +} +inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::release_location() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgLegacySource1ClientWelcome_Location* temp = _impl_.location_; + _impl_.location_ = 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 ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::unsafe_arena_release_location() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.location) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgLegacySource1ClientWelcome_Location* temp = _impl_.location_; + _impl_.location_ = nullptr; + return temp; +} +inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::_internal_mutable_location() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.location_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgLegacySource1ClientWelcome_Location>(GetArenaForAllocation()); + _impl_.location_ = p; + } + return _impl_.location_; +} +inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::mutable_location() { + ::CMsgLegacySource1ClientWelcome_Location* _msg = _internal_mutable_location(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.location) + return _msg; +} +inline void CMsgLegacySource1ClientWelcome::set_allocated_location(::CMsgLegacySource1ClientWelcome_Location* location) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.location_; + } + if (location) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location); + if (message_arena != submessage_arena) { + location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, location, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.location_ = location; + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.location) +} + +// optional bytes game_data2 = 6; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_game_data2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_game_data2() const { + return _internal_has_game_data2(); +} +inline void CMsgLegacySource1ClientWelcome::clear_game_data2() { + _impl_.game_data2_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgLegacySource1ClientWelcome::game_data2() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.game_data2) + return _internal_game_data2(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgLegacySource1ClientWelcome::set_game_data2(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_data2_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.game_data2) +} +inline std::string* CMsgLegacySource1ClientWelcome::mutable_game_data2() { + std::string* _s = _internal_mutable_game_data2(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.game_data2) + return _s; +} +inline const std::string& CMsgLegacySource1ClientWelcome::_internal_game_data2() const { + return _impl_.game_data2_.Get(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_game_data2(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_data2_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_game_data2() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.game_data2_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::release_game_data2() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.game_data2) + if (!_internal_has_game_data2()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.game_data2_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data2_.IsDefault()) { + _impl_.game_data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgLegacySource1ClientWelcome::set_allocated_game_data2(std::string* game_data2) { + if (game_data2 != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.game_data2_.SetAllocated(game_data2, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data2_.IsDefault()) { + _impl_.game_data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.game_data2) +} + +// optional uint32 rtime32_gc_welcome_timestamp = 7; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_rtime32_gc_welcome_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_rtime32_gc_welcome_timestamp() const { + return _internal_has_rtime32_gc_welcome_timestamp(); +} +inline void CMsgLegacySource1ClientWelcome::clear_rtime32_gc_welcome_timestamp() { + _impl_.rtime32_gc_welcome_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgLegacySource1ClientWelcome::_internal_rtime32_gc_welcome_timestamp() const { + return _impl_.rtime32_gc_welcome_timestamp_; +} +inline uint32_t CMsgLegacySource1ClientWelcome::rtime32_gc_welcome_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.rtime32_gc_welcome_timestamp) + return _internal_rtime32_gc_welcome_timestamp(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_rtime32_gc_welcome_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.rtime32_gc_welcome_timestamp_ = value; +} +inline void CMsgLegacySource1ClientWelcome::set_rtime32_gc_welcome_timestamp(uint32_t value) { + _internal_set_rtime32_gc_welcome_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.rtime32_gc_welcome_timestamp) +} + +// optional uint32 currency = 8; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_currency() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_currency() const { + return _internal_has_currency(); +} +inline void CMsgLegacySource1ClientWelcome::clear_currency() { + _impl_.currency_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgLegacySource1ClientWelcome::_internal_currency() const { + return _impl_.currency_; +} +inline uint32_t CMsgLegacySource1ClientWelcome::currency() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.currency) + return _internal_currency(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_currency(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.currency_ = value; +} +inline void CMsgLegacySource1ClientWelcome::set_currency(uint32_t value) { + _internal_set_currency(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.currency) +} + +// optional uint32 balance = 9; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_balance() const { + return _internal_has_balance(); +} +inline void CMsgLegacySource1ClientWelcome::clear_balance() { + _impl_.balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgLegacySource1ClientWelcome::_internal_balance() const { + return _impl_.balance_; +} +inline uint32_t CMsgLegacySource1ClientWelcome::balance() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.balance) + return _internal_balance(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.balance_ = value; +} +inline void CMsgLegacySource1ClientWelcome::set_balance(uint32_t value) { + _internal_set_balance(value); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.balance) +} + +// optional string balance_url = 10; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_balance_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_balance_url() const { + return _internal_has_balance_url(); +} +inline void CMsgLegacySource1ClientWelcome::clear_balance_url() { + _impl_.balance_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgLegacySource1ClientWelcome::balance_url() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.balance_url) + return _internal_balance_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgLegacySource1ClientWelcome::set_balance_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.balance_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.balance_url) +} +inline std::string* CMsgLegacySource1ClientWelcome::mutable_balance_url() { + std::string* _s = _internal_mutable_balance_url(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.balance_url) + return _s; +} +inline const std::string& CMsgLegacySource1ClientWelcome::_internal_balance_url() const { + return _impl_.balance_url_.Get(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_balance_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.balance_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_balance_url() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.balance_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::release_balance_url() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.balance_url) + if (!_internal_has_balance_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.balance_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.balance_url_.IsDefault()) { + _impl_.balance_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgLegacySource1ClientWelcome::set_allocated_balance_url(std::string* balance_url) { + if (balance_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.balance_url_.SetAllocated(balance_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.balance_url_.IsDefault()) { + _impl_.balance_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.balance_url) +} + +// optional string txn_country_code = 11; +inline bool CMsgLegacySource1ClientWelcome::_internal_has_txn_country_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgLegacySource1ClientWelcome::has_txn_country_code() const { + return _internal_has_txn_country_code(); +} +inline void CMsgLegacySource1ClientWelcome::clear_txn_country_code() { + _impl_.txn_country_code_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgLegacySource1ClientWelcome::txn_country_code() const { + // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.txn_country_code) + return _internal_txn_country_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgLegacySource1ClientWelcome::set_txn_country_code(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.txn_country_code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.txn_country_code) +} +inline std::string* CMsgLegacySource1ClientWelcome::mutable_txn_country_code() { + std::string* _s = _internal_mutable_txn_country_code(); + // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.txn_country_code) + return _s; +} +inline const std::string& CMsgLegacySource1ClientWelcome::_internal_txn_country_code() const { + return _impl_.txn_country_code_.Get(); +} +inline void CMsgLegacySource1ClientWelcome::_internal_set_txn_country_code(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.txn_country_code_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_txn_country_code() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.txn_country_code_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgLegacySource1ClientWelcome::release_txn_country_code() { + // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.txn_country_code) + if (!_internal_has_txn_country_code()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.txn_country_code_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.txn_country_code_.IsDefault()) { + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgLegacySource1ClientWelcome::set_allocated_txn_country_code(std::string* txn_country_code) { + if (txn_country_code != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.txn_country_code_.SetAllocated(txn_country_code, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.txn_country_code_.IsDefault()) { + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.txn_country_code) +} + +// ------------------------------------------------------------------- + +// CMsgCStrike15Welcome + +// optional uint32 store_item_hash = 5; +inline bool CMsgCStrike15Welcome::_internal_has_store_item_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_store_item_hash() const { + return _internal_has_store_item_hash(); +} +inline void CMsgCStrike15Welcome::clear_store_item_hash() { + _impl_.store_item_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgCStrike15Welcome::_internal_store_item_hash() const { + return _impl_.store_item_hash_; +} +inline uint32_t CMsgCStrike15Welcome::store_item_hash() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.store_item_hash) + return _internal_store_item_hash(); +} +inline void CMsgCStrike15Welcome::_internal_set_store_item_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.store_item_hash_ = value; +} +inline void CMsgCStrike15Welcome::set_store_item_hash(uint32_t value) { + _internal_set_store_item_hash(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.store_item_hash) +} + +// optional uint32 timeplayedconsecutively = 6; +inline bool CMsgCStrike15Welcome::_internal_has_timeplayedconsecutively() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_timeplayedconsecutively() const { + return _internal_has_timeplayedconsecutively(); +} +inline void CMsgCStrike15Welcome::clear_timeplayedconsecutively() { + _impl_.timeplayedconsecutively_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgCStrike15Welcome::_internal_timeplayedconsecutively() const { + return _impl_.timeplayedconsecutively_; +} +inline uint32_t CMsgCStrike15Welcome::timeplayedconsecutively() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.timeplayedconsecutively) + return _internal_timeplayedconsecutively(); +} +inline void CMsgCStrike15Welcome::_internal_set_timeplayedconsecutively(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.timeplayedconsecutively_ = value; +} +inline void CMsgCStrike15Welcome::set_timeplayedconsecutively(uint32_t value) { + _internal_set_timeplayedconsecutively(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.timeplayedconsecutively) +} + +// optional uint32 time_first_played = 10; +inline bool CMsgCStrike15Welcome::_internal_has_time_first_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_time_first_played() const { + return _internal_has_time_first_played(); +} +inline void CMsgCStrike15Welcome::clear_time_first_played() { + _impl_.time_first_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgCStrike15Welcome::_internal_time_first_played() const { + return _impl_.time_first_played_; +} +inline uint32_t CMsgCStrike15Welcome::time_first_played() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.time_first_played) + return _internal_time_first_played(); +} +inline void CMsgCStrike15Welcome::_internal_set_time_first_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.time_first_played_ = value; +} +inline void CMsgCStrike15Welcome::set_time_first_played(uint32_t value) { + _internal_set_time_first_played(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.time_first_played) +} + +// optional uint32 last_time_played = 12; +inline bool CMsgCStrike15Welcome::_internal_has_last_time_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_last_time_played() const { + return _internal_has_last_time_played(); +} +inline void CMsgCStrike15Welcome::clear_last_time_played() { + _impl_.last_time_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgCStrike15Welcome::_internal_last_time_played() const { + return _impl_.last_time_played_; +} +inline uint32_t CMsgCStrike15Welcome::last_time_played() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.last_time_played) + return _internal_last_time_played(); +} +inline void CMsgCStrike15Welcome::_internal_set_last_time_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.last_time_played_ = value; +} +inline void CMsgCStrike15Welcome::set_last_time_played(uint32_t value) { + _internal_set_last_time_played(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.last_time_played) +} + +// optional uint32 last_ip_address = 13; +inline bool CMsgCStrike15Welcome::_internal_has_last_ip_address() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_last_ip_address() const { + return _internal_has_last_ip_address(); +} +inline void CMsgCStrike15Welcome::clear_last_ip_address() { + _impl_.last_ip_address_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgCStrike15Welcome::_internal_last_ip_address() const { + return _impl_.last_ip_address_; +} +inline uint32_t CMsgCStrike15Welcome::last_ip_address() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.last_ip_address) + return _internal_last_ip_address(); +} +inline void CMsgCStrike15Welcome::_internal_set_last_ip_address(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.last_ip_address_ = value; +} +inline void CMsgCStrike15Welcome::set_last_ip_address(uint32_t value) { + _internal_set_last_ip_address(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.last_ip_address) +} + +// optional uint64 gscookieid = 18; +inline bool CMsgCStrike15Welcome::_internal_has_gscookieid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_gscookieid() const { + return _internal_has_gscookieid(); +} +inline void CMsgCStrike15Welcome::clear_gscookieid() { + _impl_.gscookieid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgCStrike15Welcome::_internal_gscookieid() const { + return _impl_.gscookieid_; +} +inline uint64_t CMsgCStrike15Welcome::gscookieid() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.gscookieid) + return _internal_gscookieid(); +} +inline void CMsgCStrike15Welcome::_internal_set_gscookieid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.gscookieid_ = value; +} +inline void CMsgCStrike15Welcome::set_gscookieid(uint64_t value) { + _internal_set_gscookieid(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.gscookieid) +} + +// optional uint64 uniqueid = 19; +inline bool CMsgCStrike15Welcome::_internal_has_uniqueid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgCStrike15Welcome::has_uniqueid() const { + return _internal_has_uniqueid(); +} +inline void CMsgCStrike15Welcome::clear_uniqueid() { + _impl_.uniqueid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgCStrike15Welcome::_internal_uniqueid() const { + return _impl_.uniqueid_; +} +inline uint64_t CMsgCStrike15Welcome::uniqueid() const { + // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.uniqueid) + return _internal_uniqueid(); +} +inline void CMsgCStrike15Welcome::_internal_set_uniqueid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.uniqueid_ = value; +} +inline void CMsgCStrike15Welcome::set_uniqueid(uint64_t value) { + _internal_set_uniqueid(value); + // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.uniqueid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientVarValueNotificationInfo + +// optional string value_name = 1; +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_value_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_value_name() const { + return _internal_has_value_name(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_value_name() { + _impl_.value_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::value_name() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) + return _internal_value_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_value_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_value_name() { + std::string* _s = _internal_mutable_value_name(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_value_name() const { + return _impl_.value_name_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_value_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_mutable_value_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.value_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::release_value_name() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) + if (!_internal_has_value_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.value_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_name_.IsDefault()) { + _impl_.value_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_allocated_value_name(std::string* value_name) { + if (value_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.value_name_.SetAllocated(value_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_name_.IsDefault()) { + _impl_.value_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) +} + +// optional int32 value_int = 2; +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_value_int() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_value_int() const { + return _internal_has_value_int(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_value_int() { + _impl_.value_int_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_value_int() const { + return _impl_.value_int_; +} +inline int32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::value_int() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_int) + return _internal_value_int(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_value_int(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_int_ = value; +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_value_int(int32_t value) { + _internal_set_value_int(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_int) +} + +// optional uint32 server_addr = 3; +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_server_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_server_addr() const { + return _internal_has_server_addr(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_server_addr() { + _impl_.server_addr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_server_addr() const { + return _impl_.server_addr_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::server_addr() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_addr) + return _internal_server_addr(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_server_addr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_addr_ = value; +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_server_addr(uint32_t value) { + _internal_set_server_addr(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_addr) +} + +// optional uint32 server_port = 4; +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_server_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_server_port() const { + return _internal_has_server_port(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_server_port() { + _impl_.server_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_server_port() const { + return _impl_.server_port_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::server_port() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_port) + return _internal_server_port(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_server_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.server_port_ = value; +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_server_port(uint32_t value) { + _internal_set_server_port(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_port) +} + +// repeated string choked_blocks = 5; +inline int CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_choked_blocks_size() const { + return _impl_.choked_blocks_.size(); +} +inline int CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks_size() const { + return _internal_choked_blocks_size(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_choked_blocks() { + _impl_.choked_blocks_.Clear(); +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks() { + std::string* _s = _internal_add_choked_blocks(); + // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_choked_blocks(int index) const { + return _impl_.choked_blocks_.Get(index); +} +inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) + return _internal_choked_blocks(index); +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_choked_blocks(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) + return _impl_.choked_blocks_.Mutable(index); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const std::string& value) { + _impl_.choked_blocks_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, std::string&& value) { + _impl_.choked_blocks_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.choked_blocks_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const char* value, size_t size) { + _impl_.choked_blocks_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_add_choked_blocks() { + return _impl_.choked_blocks_.Add(); +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const std::string& value) { + _impl_.choked_blocks_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(std::string&& value) { + _impl_.choked_blocks_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.choked_blocks_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const char* value, size_t size) { + _impl_.choked_blocks_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) + return _impl_.choked_blocks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_choked_blocks() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) + return &_impl_.choked_blocks_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ServerVarValueNotificationInfo + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.accountid) +} + +// repeated uint32 viewangles = 2; +inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles_size() const { + return _impl_.viewangles_.size(); +} +inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles_size() const { + return _internal_viewangles_size(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_viewangles() { + _impl_.viewangles_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles(int index) const { + return _impl_.viewangles_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) + return _internal_viewangles(index); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_viewangles(int index, uint32_t value) { + _impl_.viewangles_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_add_viewangles(uint32_t value) { + _impl_.viewangles_.Add(value); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::add_viewangles(uint32_t value) { + _internal_add_viewangles(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles() const { + return _impl_.viewangles_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) + return _internal_viewangles(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_mutable_viewangles() { + return &_impl_.viewangles_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::mutable_viewangles() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) + return _internal_mutable_viewangles(); +} + +// optional uint32 type = 3; +inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::has_type() const { + return _internal_has_type(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.type) + return _internal_type(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.type) +} + +// repeated uint32 userdata = 4; +inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata_size() const { + return _impl_.userdata_.size(); +} +inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata_size() const { + return _internal_userdata_size(); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_userdata() { + _impl_.userdata_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata(int index) const { + return _impl_.userdata_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) + return _internal_userdata(index); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_userdata(int index, uint32_t value) { + _impl_.userdata_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_add_userdata(uint32_t value) { + _impl_.userdata_.Add(value); +} +inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::add_userdata(uint32_t value) { + _internal_add_userdata(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata() const { + return _impl_.userdata_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) + return _internal_userdata(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_mutable_userdata() { + return &_impl_.userdata_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::mutable_userdata() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) + return _internal_mutable_userdata(); +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GiftsLeaderboardRequest + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.accountid) +} + +// optional uint32 gifts = 2; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_has_gifts() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::has_gifts() const { + return _internal_has_gifts(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::clear_gifts() { + _impl_.gifts_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_gifts() const { + return _impl_.gifts_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::gifts() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.gifts) + return _internal_gifts(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_set_gifts(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gifts_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::set_gifts(uint32_t value) { + _internal_set_gifts(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.gifts) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GiftsLeaderboardResponse + +// optional uint32 servertime = 1; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_servertime() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_servertime() const { + return _internal_has_servertime(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_servertime() { + _impl_.servertime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_servertime() const { + return _impl_.servertime_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::servertime() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.servertime) + return _internal_servertime(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_servertime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.servertime_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_servertime(uint32_t value) { + _internal_set_servertime(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.servertime) +} + +// optional uint32 time_period_seconds = 2; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_time_period_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_time_period_seconds() const { + return _internal_has_time_period_seconds(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_time_period_seconds() { + _impl_.time_period_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_time_period_seconds() const { + return _impl_.time_period_seconds_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::time_period_seconds() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.time_period_seconds) + return _internal_time_period_seconds(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_time_period_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_period_seconds_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_time_period_seconds(uint32_t value) { + _internal_set_time_period_seconds(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.time_period_seconds) +} + +// optional uint32 total_gifts_given = 3; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_total_gifts_given() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_total_gifts_given() const { + return _internal_has_total_gifts_given(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_total_gifts_given() { + _impl_.total_gifts_given_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_total_gifts_given() const { + return _impl_.total_gifts_given_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::total_gifts_given() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_gifts_given) + return _internal_total_gifts_given(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_total_gifts_given(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.total_gifts_given_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_total_gifts_given(uint32_t value) { + _internal_set_total_gifts_given(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_gifts_given) +} + +// optional uint32 total_givers = 4; +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_total_givers() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_total_givers() const { + return _internal_has_total_givers(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_total_givers() { + _impl_.total_givers_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_total_givers() const { + return _impl_.total_givers_; +} +inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::total_givers() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_givers) + return _internal_total_givers(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_total_givers(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.total_givers_ = value; +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_total_givers(uint32_t value) { + _internal_set_total_givers(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_givers) +} + +// repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; +inline int CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries_size() const { + return _internal_entries_size(); +} +inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_entries() { + _impl_.entries_.Clear(); +} +inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) + return _impl_.entries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >* +CMsgGCCStrike15_v2_GiftsLeaderboardResponse::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) + return &_impl_.entries_; +} +inline const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) + return _internal_entries(index); +} +inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::add_entries() { + ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* _add = _internal_add_entries(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >& +CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) + return _impl_.entries_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientSubmitSurveyVote + +// optional uint32 survey_id = 1; +inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_has_survey_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::has_survey_id() const { + return _internal_has_survey_id(); +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::clear_survey_id() { + _impl_.survey_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_survey_id() const { + return _impl_.survey_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::survey_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.survey_id) + return _internal_survey_id(); +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_set_survey_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.survey_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::set_survey_id(uint32_t value) { + _internal_set_survey_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.survey_id) +} + +// optional uint32 vote = 2; +inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_has_vote() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::has_vote() const { + return _internal_has_vote(); +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::clear_vote() { + _impl_.vote_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_vote() const { + return _impl_.vote_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::vote() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.vote) + return _internal_vote(); +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_set_vote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.vote_ = value; +} +inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::set_vote(uint32_t value) { + _internal_set_vote(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.vote) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Server2GCClientValidate + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Server2GCClientValidate::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_Server2GCClientValidate::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_Server2GCClientValidate::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Server2GCClientValidate.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_Server2GCClientValidate::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Server2GCClientValidate.accountid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientTournamentInfo + +// optional uint32 eventid = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_eventid() { + _impl_.eventid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_eventid() const { + return _impl_.eventid_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_eventid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_eventid(uint32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.eventid) +} + +// optional uint32 stageid = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_stageid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_stageid() const { + return _internal_has_stageid(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_stageid() { + _impl_.stageid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_stageid() const { + return _impl_.stageid_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::stageid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.stageid) + return _internal_stageid(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_stageid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.stageid_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_stageid(uint32_t value) { + _internal_set_stageid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.stageid) +} + +// optional uint32 game_type = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.game_type) +} + +// repeated uint32 teamids = 4; +inline int CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids_size() const { + return _impl_.teamids_.size(); +} +inline int CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids_size() const { + return _internal_teamids_size(); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_teamids() { + _impl_.teamids_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids(int index) const { + return _impl_.teamids_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) + return _internal_teamids(index); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_teamids(int index, uint32_t value) { + _impl_.teamids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_add_teamids(uint32_t value) { + _impl_.teamids_.Add(value); +} +inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::add_teamids(uint32_t value) { + _internal_add_teamids(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids() const { + return _impl_.teamids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) + return _internal_teamids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_mutable_teamids() { + return &_impl_.teamids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_GC2ClientTournamentInfo::mutable_teamids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) + return _internal_mutable_teamids(); +} + +// ------------------------------------------------------------------- + +// CSOEconCoupon + +// optional uint32 entryid = 1 [(.key_field) = true]; +inline bool CSOEconCoupon::_internal_has_entryid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOEconCoupon::has_entryid() const { + return _internal_has_entryid(); +} +inline void CSOEconCoupon::clear_entryid() { + _impl_.entryid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOEconCoupon::_internal_entryid() const { + return _impl_.entryid_; +} +inline uint32_t CSOEconCoupon::entryid() const { + // @@protoc_insertion_point(field_get:CSOEconCoupon.entryid) + return _internal_entryid(); +} +inline void CSOEconCoupon::_internal_set_entryid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entryid_ = value; +} +inline void CSOEconCoupon::set_entryid(uint32_t value) { + _internal_set_entryid(value); + // @@protoc_insertion_point(field_set:CSOEconCoupon.entryid) +} + +// optional uint32 defidx = 2; +inline bool CSOEconCoupon::_internal_has_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOEconCoupon::has_defidx() const { + return _internal_has_defidx(); +} +inline void CSOEconCoupon::clear_defidx() { + _impl_.defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOEconCoupon::_internal_defidx() const { + return _impl_.defidx_; +} +inline uint32_t CSOEconCoupon::defidx() const { + // @@protoc_insertion_point(field_get:CSOEconCoupon.defidx) + return _internal_defidx(); +} +inline void CSOEconCoupon::_internal_set_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.defidx_ = value; +} +inline void CSOEconCoupon::set_defidx(uint32_t value) { + _internal_set_defidx(value); + // @@protoc_insertion_point(field_set:CSOEconCoupon.defidx) +} + +// optional fixed32 expiration_date = 3; +inline bool CSOEconCoupon::_internal_has_expiration_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOEconCoupon::has_expiration_date() const { + return _internal_has_expiration_date(); +} +inline void CSOEconCoupon::clear_expiration_date() { + _impl_.expiration_date_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOEconCoupon::_internal_expiration_date() const { + return _impl_.expiration_date_; +} +inline uint32_t CSOEconCoupon::expiration_date() const { + // @@protoc_insertion_point(field_get:CSOEconCoupon.expiration_date) + return _internal_expiration_date(); +} +inline void CSOEconCoupon::_internal_set_expiration_date(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.expiration_date_ = value; +} +inline void CSOEconCoupon::set_expiration_date(uint32_t value) { + _internal_set_expiration_date(value); + // @@protoc_insertion_point(field_set:CSOEconCoupon.expiration_date) +} + +// ------------------------------------------------------------------- + +// CSOAccountItemPersonalStore + +// optional uint32 generation_time = 1; +inline bool CSOAccountItemPersonalStore::_internal_has_generation_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountItemPersonalStore::has_generation_time() const { + return _internal_has_generation_time(); +} +inline void CSOAccountItemPersonalStore::clear_generation_time() { + _impl_.generation_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountItemPersonalStore::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline uint32_t CSOAccountItemPersonalStore::generation_time() const { + // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.generation_time) + return _internal_generation_time(); +} +inline void CSOAccountItemPersonalStore::_internal_set_generation_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.generation_time_ = value; +} +inline void CSOAccountItemPersonalStore::set_generation_time(uint32_t value) { + _internal_set_generation_time(value); + // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.generation_time) +} + +// optional uint32 redeemable_balance = 2; +inline bool CSOAccountItemPersonalStore::_internal_has_redeemable_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountItemPersonalStore::has_redeemable_balance() const { + return _internal_has_redeemable_balance(); +} +inline void CSOAccountItemPersonalStore::clear_redeemable_balance() { + _impl_.redeemable_balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountItemPersonalStore::_internal_redeemable_balance() const { + return _impl_.redeemable_balance_; +} +inline uint32_t CSOAccountItemPersonalStore::redeemable_balance() const { + // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.redeemable_balance) + return _internal_redeemable_balance(); +} +inline void CSOAccountItemPersonalStore::_internal_set_redeemable_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redeemable_balance_ = value; +} +inline void CSOAccountItemPersonalStore::set_redeemable_balance(uint32_t value) { + _internal_set_redeemable_balance(value); + // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.redeemable_balance) +} + +// repeated uint64 items = 3; +inline int CSOAccountItemPersonalStore::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CSOAccountItemPersonalStore::items_size() const { + return _internal_items_size(); +} +inline void CSOAccountItemPersonalStore::clear_items() { + _impl_.items_.Clear(); +} +inline uint64_t CSOAccountItemPersonalStore::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline uint64_t CSOAccountItemPersonalStore::items(int index) const { + // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.items) + return _internal_items(index); +} +inline void CSOAccountItemPersonalStore::set_items(int index, uint64_t value) { + _impl_.items_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.items) +} +inline void CSOAccountItemPersonalStore::_internal_add_items(uint64_t value) { + _impl_.items_.Add(value); +} +inline void CSOAccountItemPersonalStore::add_items(uint64_t value) { + _internal_add_items(value); + // @@protoc_insertion_point(field_add:CSOAccountItemPersonalStore.items) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CSOAccountItemPersonalStore::_internal_items() const { + return _impl_.items_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CSOAccountItemPersonalStore::items() const { + // @@protoc_insertion_point(field_list:CSOAccountItemPersonalStore.items) + return _internal_items(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CSOAccountItemPersonalStore::_internal_mutable_items() { + return &_impl_.items_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CSOAccountItemPersonalStore::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CSOAccountItemPersonalStore.items) + return _internal_mutable_items(); +} + +// ------------------------------------------------------------------- + +// CSOAccountXpShop + +// optional uint32 generation_time = 1; +inline bool CSOAccountXpShop::_internal_has_generation_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountXpShop::has_generation_time() const { + return _internal_has_generation_time(); +} +inline void CSOAccountXpShop::clear_generation_time() { + _impl_.generation_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountXpShop::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline uint32_t CSOAccountXpShop::generation_time() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShop.generation_time) + return _internal_generation_time(); +} +inline void CSOAccountXpShop::_internal_set_generation_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.generation_time_ = value; +} +inline void CSOAccountXpShop::set_generation_time(uint32_t value) { + _internal_set_generation_time(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShop.generation_time) +} + +// optional uint32 redeemable_balance = 2; +inline bool CSOAccountXpShop::_internal_has_redeemable_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountXpShop::has_redeemable_balance() const { + return _internal_has_redeemable_balance(); +} +inline void CSOAccountXpShop::clear_redeemable_balance() { + _impl_.redeemable_balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountXpShop::_internal_redeemable_balance() const { + return _impl_.redeemable_balance_; +} +inline uint32_t CSOAccountXpShop::redeemable_balance() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShop.redeemable_balance) + return _internal_redeemable_balance(); +} +inline void CSOAccountXpShop::_internal_set_redeemable_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redeemable_balance_ = value; +} +inline void CSOAccountXpShop::set_redeemable_balance(uint32_t value) { + _internal_set_redeemable_balance(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShop.redeemable_balance) +} + +// repeated uint32 xp_tracks = 3; +inline int CSOAccountXpShop::_internal_xp_tracks_size() const { + return _impl_.xp_tracks_.size(); +} +inline int CSOAccountXpShop::xp_tracks_size() const { + return _internal_xp_tracks_size(); +} +inline void CSOAccountXpShop::clear_xp_tracks() { + _impl_.xp_tracks_.Clear(); +} +inline uint32_t CSOAccountXpShop::_internal_xp_tracks(int index) const { + return _impl_.xp_tracks_.Get(index); +} +inline uint32_t CSOAccountXpShop::xp_tracks(int index) const { + // @@protoc_insertion_point(field_get:CSOAccountXpShop.xp_tracks) + return _internal_xp_tracks(index); +} +inline void CSOAccountXpShop::set_xp_tracks(int index, uint32_t value) { + _impl_.xp_tracks_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOAccountXpShop.xp_tracks) +} +inline void CSOAccountXpShop::_internal_add_xp_tracks(uint32_t value) { + _impl_.xp_tracks_.Add(value); +} +inline void CSOAccountXpShop::add_xp_tracks(uint32_t value) { + _internal_add_xp_tracks(value); + // @@protoc_insertion_point(field_add:CSOAccountXpShop.xp_tracks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOAccountXpShop::_internal_xp_tracks() const { + return _impl_.xp_tracks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOAccountXpShop::xp_tracks() const { + // @@protoc_insertion_point(field_list:CSOAccountXpShop.xp_tracks) + return _internal_xp_tracks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOAccountXpShop::_internal_mutable_xp_tracks() { + return &_impl_.xp_tracks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOAccountXpShop::mutable_xp_tracks() { + // @@protoc_insertion_point(field_mutable_list:CSOAccountXpShop.xp_tracks) + return _internal_mutable_xp_tracks(); +} + +// ------------------------------------------------------------------- + +// CSOAccountXpShopBids + +// optional uint32 campaign_id = 1 [(.key_field) = true]; +inline bool CSOAccountXpShopBids::_internal_has_campaign_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountXpShopBids::has_campaign_id() const { + return _internal_has_campaign_id(); +} +inline void CSOAccountXpShopBids::clear_campaign_id() { + _impl_.campaign_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountXpShopBids::_internal_campaign_id() const { + return _impl_.campaign_id_; +} +inline uint32_t CSOAccountXpShopBids::campaign_id() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.campaign_id) + return _internal_campaign_id(); +} +inline void CSOAccountXpShopBids::_internal_set_campaign_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.campaign_id_ = value; +} +inline void CSOAccountXpShopBids::set_campaign_id(uint32_t value) { + _internal_set_campaign_id(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.campaign_id) +} + +// optional uint32 redeem_id = 2 [(.key_field) = true]; +inline bool CSOAccountXpShopBids::_internal_has_redeem_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountXpShopBids::has_redeem_id() const { + return _internal_has_redeem_id(); +} +inline void CSOAccountXpShopBids::clear_redeem_id() { + _impl_.redeem_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountXpShopBids::_internal_redeem_id() const { + return _impl_.redeem_id_; +} +inline uint32_t CSOAccountXpShopBids::redeem_id() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.redeem_id) + return _internal_redeem_id(); +} +inline void CSOAccountXpShopBids::_internal_set_redeem_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redeem_id_ = value; +} +inline void CSOAccountXpShopBids::set_redeem_id(uint32_t value) { + _internal_set_redeem_id(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.redeem_id) +} + +// optional uint32 expected_cost = 3; +inline bool CSOAccountXpShopBids::_internal_has_expected_cost() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOAccountXpShopBids::has_expected_cost() const { + return _internal_has_expected_cost(); +} +inline void CSOAccountXpShopBids::clear_expected_cost() { + _impl_.expected_cost_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOAccountXpShopBids::_internal_expected_cost() const { + return _impl_.expected_cost_; +} +inline uint32_t CSOAccountXpShopBids::expected_cost() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.expected_cost) + return _internal_expected_cost(); +} +inline void CSOAccountXpShopBids::_internal_set_expected_cost(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.expected_cost_ = value; +} +inline void CSOAccountXpShopBids::set_expected_cost(uint32_t value) { + _internal_set_expected_cost(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.expected_cost) +} + +// optional uint32 generation_time = 4; +inline bool CSOAccountXpShopBids::_internal_has_generation_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOAccountXpShopBids::has_generation_time() const { + return _internal_has_generation_time(); +} +inline void CSOAccountXpShopBids::clear_generation_time() { + _impl_.generation_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOAccountXpShopBids::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline uint32_t CSOAccountXpShopBids::generation_time() const { + // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.generation_time) + return _internal_generation_time(); +} +inline void CSOAccountXpShopBids::_internal_set_generation_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.generation_time_ = value; +} +inline void CSOAccountXpShopBids::set_generation_time(uint32_t value) { + _internal_set_generation_time(value); + // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.generation_time) +} + +// ------------------------------------------------------------------- + +// CSOVolatileItemOffer + +// optional uint32 defidx = 1 [(.key_field) = true]; +inline bool CSOVolatileItemOffer::_internal_has_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOVolatileItemOffer::has_defidx() const { + return _internal_has_defidx(); +} +inline void CSOVolatileItemOffer::clear_defidx() { + _impl_.defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOVolatileItemOffer::_internal_defidx() const { + return _impl_.defidx_; +} +inline uint32_t CSOVolatileItemOffer::defidx() const { + // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.defidx) + return _internal_defidx(); +} +inline void CSOVolatileItemOffer::_internal_set_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.defidx_ = value; +} +inline void CSOVolatileItemOffer::set_defidx(uint32_t value) { + _internal_set_defidx(value); + // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.defidx) +} + +// repeated uint64 faux_itemid = 2; +inline int CSOVolatileItemOffer::_internal_faux_itemid_size() const { + return _impl_.faux_itemid_.size(); +} +inline int CSOVolatileItemOffer::faux_itemid_size() const { + return _internal_faux_itemid_size(); +} +inline void CSOVolatileItemOffer::clear_faux_itemid() { + _impl_.faux_itemid_.Clear(); +} +inline uint64_t CSOVolatileItemOffer::_internal_faux_itemid(int index) const { + return _impl_.faux_itemid_.Get(index); +} +inline uint64_t CSOVolatileItemOffer::faux_itemid(int index) const { + // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.faux_itemid) + return _internal_faux_itemid(index); +} +inline void CSOVolatileItemOffer::set_faux_itemid(int index, uint64_t value) { + _impl_.faux_itemid_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.faux_itemid) +} +inline void CSOVolatileItemOffer::_internal_add_faux_itemid(uint64_t value) { + _impl_.faux_itemid_.Add(value); +} +inline void CSOVolatileItemOffer::add_faux_itemid(uint64_t value) { + _internal_add_faux_itemid(value); + // @@protoc_insertion_point(field_add:CSOVolatileItemOffer.faux_itemid) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CSOVolatileItemOffer::_internal_faux_itemid() const { + return _impl_.faux_itemid_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CSOVolatileItemOffer::faux_itemid() const { + // @@protoc_insertion_point(field_list:CSOVolatileItemOffer.faux_itemid) + return _internal_faux_itemid(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CSOVolatileItemOffer::_internal_mutable_faux_itemid() { + return &_impl_.faux_itemid_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CSOVolatileItemOffer::mutable_faux_itemid() { + // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemOffer.faux_itemid) + return _internal_mutable_faux_itemid(); +} + +// repeated uint32 generation_time = 3; +inline int CSOVolatileItemOffer::_internal_generation_time_size() const { + return _impl_.generation_time_.size(); +} +inline int CSOVolatileItemOffer::generation_time_size() const { + return _internal_generation_time_size(); +} +inline void CSOVolatileItemOffer::clear_generation_time() { + _impl_.generation_time_.Clear(); +} +inline uint32_t CSOVolatileItemOffer::_internal_generation_time(int index) const { + return _impl_.generation_time_.Get(index); +} +inline uint32_t CSOVolatileItemOffer::generation_time(int index) const { + // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.generation_time) + return _internal_generation_time(index); +} +inline void CSOVolatileItemOffer::set_generation_time(int index, uint32_t value) { + _impl_.generation_time_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.generation_time) +} +inline void CSOVolatileItemOffer::_internal_add_generation_time(uint32_t value) { + _impl_.generation_time_.Add(value); +} +inline void CSOVolatileItemOffer::add_generation_time(uint32_t value) { + _internal_add_generation_time(value); + // @@protoc_insertion_point(field_add:CSOVolatileItemOffer.generation_time) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemOffer::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemOffer::generation_time() const { + // @@protoc_insertion_point(field_list:CSOVolatileItemOffer.generation_time) + return _internal_generation_time(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemOffer::_internal_mutable_generation_time() { + return &_impl_.generation_time_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemOffer::mutable_generation_time() { + // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemOffer.generation_time) + return _internal_mutable_generation_time(); +} + +// ------------------------------------------------------------------- + +// CSOVolatileItemClaimedRewards + +// optional uint32 defidx = 1 [(.key_field) = true]; +inline bool CSOVolatileItemClaimedRewards::_internal_has_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOVolatileItemClaimedRewards::has_defidx() const { + return _internal_has_defidx(); +} +inline void CSOVolatileItemClaimedRewards::clear_defidx() { + _impl_.defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOVolatileItemClaimedRewards::_internal_defidx() const { + return _impl_.defidx_; +} +inline uint32_t CSOVolatileItemClaimedRewards::defidx() const { + // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.defidx) + return _internal_defidx(); +} +inline void CSOVolatileItemClaimedRewards::_internal_set_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.defidx_ = value; +} +inline void CSOVolatileItemClaimedRewards::set_defidx(uint32_t value) { + _internal_set_defidx(value); + // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.defidx) +} + +// repeated uint32 reward = 2; +inline int CSOVolatileItemClaimedRewards::_internal_reward_size() const { + return _impl_.reward_.size(); +} +inline int CSOVolatileItemClaimedRewards::reward_size() const { + return _internal_reward_size(); +} +inline void CSOVolatileItemClaimedRewards::clear_reward() { + _impl_.reward_.Clear(); +} +inline uint32_t CSOVolatileItemClaimedRewards::_internal_reward(int index) const { + return _impl_.reward_.Get(index); +} +inline uint32_t CSOVolatileItemClaimedRewards::reward(int index) const { + // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.reward) + return _internal_reward(index); +} +inline void CSOVolatileItemClaimedRewards::set_reward(int index, uint32_t value) { + _impl_.reward_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.reward) +} +inline void CSOVolatileItemClaimedRewards::_internal_add_reward(uint32_t value) { + _impl_.reward_.Add(value); +} +inline void CSOVolatileItemClaimedRewards::add_reward(uint32_t value) { + _internal_add_reward(value); + // @@protoc_insertion_point(field_add:CSOVolatileItemClaimedRewards.reward) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemClaimedRewards::_internal_reward() const { + return _impl_.reward_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemClaimedRewards::reward() const { + // @@protoc_insertion_point(field_list:CSOVolatileItemClaimedRewards.reward) + return _internal_reward(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemClaimedRewards::_internal_mutable_reward() { + return &_impl_.reward_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemClaimedRewards::mutable_reward() { + // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemClaimedRewards.reward) + return _internal_mutable_reward(); +} + +// repeated uint32 generation_time = 3; +inline int CSOVolatileItemClaimedRewards::_internal_generation_time_size() const { + return _impl_.generation_time_.size(); +} +inline int CSOVolatileItemClaimedRewards::generation_time_size() const { + return _internal_generation_time_size(); +} +inline void CSOVolatileItemClaimedRewards::clear_generation_time() { + _impl_.generation_time_.Clear(); +} +inline uint32_t CSOVolatileItemClaimedRewards::_internal_generation_time(int index) const { + return _impl_.generation_time_.Get(index); +} +inline uint32_t CSOVolatileItemClaimedRewards::generation_time(int index) const { + // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.generation_time) + return _internal_generation_time(index); +} +inline void CSOVolatileItemClaimedRewards::set_generation_time(int index, uint32_t value) { + _impl_.generation_time_.Set(index, value); + // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.generation_time) +} +inline void CSOVolatileItemClaimedRewards::_internal_add_generation_time(uint32_t value) { + _impl_.generation_time_.Add(value); +} +inline void CSOVolatileItemClaimedRewards::add_generation_time(uint32_t value) { + _internal_add_generation_time(value); + // @@protoc_insertion_point(field_add:CSOVolatileItemClaimedRewards.generation_time) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemClaimedRewards::_internal_generation_time() const { + return _impl_.generation_time_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CSOVolatileItemClaimedRewards::generation_time() const { + // @@protoc_insertion_point(field_list:CSOVolatileItemClaimedRewards.generation_time) + return _internal_generation_time(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemClaimedRewards::_internal_mutable_generation_time() { + return &_impl_.generation_time_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CSOVolatileItemClaimedRewards::mutable_generation_time() { + // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemClaimedRewards.generation_time) + return _internal_mutable_generation_time(); +} + +// ------------------------------------------------------------------- + +// CSOAccountKeychainRemoveToolCharges + +// optional uint32 charges = 1; +inline bool CSOAccountKeychainRemoveToolCharges::_internal_has_charges() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountKeychainRemoveToolCharges::has_charges() const { + return _internal_has_charges(); +} +inline void CSOAccountKeychainRemoveToolCharges::clear_charges() { + _impl_.charges_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountKeychainRemoveToolCharges::_internal_charges() const { + return _impl_.charges_; +} +inline uint32_t CSOAccountKeychainRemoveToolCharges::charges() const { + // @@protoc_insertion_point(field_get:CSOAccountKeychainRemoveToolCharges.charges) + return _internal_charges(); +} +inline void CSOAccountKeychainRemoveToolCharges::_internal_set_charges(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.charges_ = value; +} +inline void CSOAccountKeychainRemoveToolCharges::set_charges(uint32_t value) { + _internal_set_charges(value); + // @@protoc_insertion_point(field_set:CSOAccountKeychainRemoveToolCharges.charges) +} + +// ------------------------------------------------------------------- + +// CSOQuestProgress + +// optional uint32 questid = 1 [(.key_field) = true]; +inline bool CSOQuestProgress::_internal_has_questid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOQuestProgress::has_questid() const { + return _internal_has_questid(); +} +inline void CSOQuestProgress::clear_questid() { + _impl_.questid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOQuestProgress::_internal_questid() const { + return _impl_.questid_; +} +inline uint32_t CSOQuestProgress::questid() const { + // @@protoc_insertion_point(field_get:CSOQuestProgress.questid) + return _internal_questid(); +} +inline void CSOQuestProgress::_internal_set_questid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.questid_ = value; +} +inline void CSOQuestProgress::set_questid(uint32_t value) { + _internal_set_questid(value); + // @@protoc_insertion_point(field_set:CSOQuestProgress.questid) +} + +// optional uint32 points_remaining = 2; +inline bool CSOQuestProgress::_internal_has_points_remaining() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOQuestProgress::has_points_remaining() const { + return _internal_has_points_remaining(); +} +inline void CSOQuestProgress::clear_points_remaining() { + _impl_.points_remaining_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOQuestProgress::_internal_points_remaining() const { + return _impl_.points_remaining_; +} +inline uint32_t CSOQuestProgress::points_remaining() const { + // @@protoc_insertion_point(field_get:CSOQuestProgress.points_remaining) + return _internal_points_remaining(); +} +inline void CSOQuestProgress::_internal_set_points_remaining(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.points_remaining_ = value; +} +inline void CSOQuestProgress::set_points_remaining(uint32_t value) { + _internal_set_points_remaining(value); + // @@protoc_insertion_point(field_set:CSOQuestProgress.points_remaining) +} + +// optional uint32 bonus_points = 3; +inline bool CSOQuestProgress::_internal_has_bonus_points() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOQuestProgress::has_bonus_points() const { + return _internal_has_bonus_points(); +} +inline void CSOQuestProgress::clear_bonus_points() { + _impl_.bonus_points_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOQuestProgress::_internal_bonus_points() const { + return _impl_.bonus_points_; +} +inline uint32_t CSOQuestProgress::bonus_points() const { + // @@protoc_insertion_point(field_get:CSOQuestProgress.bonus_points) + return _internal_bonus_points(); +} +inline void CSOQuestProgress::_internal_set_bonus_points(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bonus_points_ = value; +} +inline void CSOQuestProgress::set_bonus_points(uint32_t value) { + _internal_set_bonus_points(value); + // @@protoc_insertion_point(field_set:CSOQuestProgress.bonus_points) +} + +// ------------------------------------------------------------------- + +// CSOAccountSeasonalOperation + +// optional uint32 season_value = 1 [(.key_field) = true]; +inline bool CSOAccountSeasonalOperation::_internal_has_season_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_season_value() const { + return _internal_has_season_value(); +} +inline void CSOAccountSeasonalOperation::clear_season_value() { + _impl_.season_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_season_value() const { + return _impl_.season_value_; +} +inline uint32_t CSOAccountSeasonalOperation::season_value() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.season_value) + return _internal_season_value(); +} +inline void CSOAccountSeasonalOperation::_internal_set_season_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.season_value_ = value; +} +inline void CSOAccountSeasonalOperation::set_season_value(uint32_t value) { + _internal_set_season_value(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.season_value) +} + +// optional uint32 tier_unlocked = 2; +inline bool CSOAccountSeasonalOperation::_internal_has_tier_unlocked() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_tier_unlocked() const { + return _internal_has_tier_unlocked(); +} +inline void CSOAccountSeasonalOperation::clear_tier_unlocked() { + _impl_.tier_unlocked_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_tier_unlocked() const { + return _impl_.tier_unlocked_; +} +inline uint32_t CSOAccountSeasonalOperation::tier_unlocked() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.tier_unlocked) + return _internal_tier_unlocked(); +} +inline void CSOAccountSeasonalOperation::_internal_set_tier_unlocked(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tier_unlocked_ = value; +} +inline void CSOAccountSeasonalOperation::set_tier_unlocked(uint32_t value) { + _internal_set_tier_unlocked(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.tier_unlocked) +} + +// optional uint32 premium_tiers = 3; +inline bool CSOAccountSeasonalOperation::_internal_has_premium_tiers() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_premium_tiers() const { + return _internal_has_premium_tiers(); +} +inline void CSOAccountSeasonalOperation::clear_premium_tiers() { + _impl_.premium_tiers_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_premium_tiers() const { + return _impl_.premium_tiers_; +} +inline uint32_t CSOAccountSeasonalOperation::premium_tiers() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.premium_tiers) + return _internal_premium_tiers(); +} +inline void CSOAccountSeasonalOperation::_internal_set_premium_tiers(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.premium_tiers_ = value; +} +inline void CSOAccountSeasonalOperation::set_premium_tiers(uint32_t value) { + _internal_set_premium_tiers(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.premium_tiers) +} + +// optional uint32 mission_id = 4; +inline bool CSOAccountSeasonalOperation::_internal_has_mission_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_mission_id() const { + return _internal_has_mission_id(); +} +inline void CSOAccountSeasonalOperation::clear_mission_id() { + _impl_.mission_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_mission_id() const { + return _impl_.mission_id_; +} +inline uint32_t CSOAccountSeasonalOperation::mission_id() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.mission_id) + return _internal_mission_id(); +} +inline void CSOAccountSeasonalOperation::_internal_set_mission_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.mission_id_ = value; +} +inline void CSOAccountSeasonalOperation::set_mission_id(uint32_t value) { + _internal_set_mission_id(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.mission_id) +} + +// optional uint32 missions_completed = 5; +inline bool CSOAccountSeasonalOperation::_internal_has_missions_completed() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_missions_completed() const { + return _internal_has_missions_completed(); +} +inline void CSOAccountSeasonalOperation::clear_missions_completed() { + _impl_.missions_completed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_missions_completed() const { + return _impl_.missions_completed_; +} +inline uint32_t CSOAccountSeasonalOperation::missions_completed() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.missions_completed) + return _internal_missions_completed(); +} +inline void CSOAccountSeasonalOperation::_internal_set_missions_completed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.missions_completed_ = value; +} +inline void CSOAccountSeasonalOperation::set_missions_completed(uint32_t value) { + _internal_set_missions_completed(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.missions_completed) +} + +// optional uint32 redeemable_balance = 6; +inline bool CSOAccountSeasonalOperation::_internal_has_redeemable_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_redeemable_balance() const { + return _internal_has_redeemable_balance(); +} +inline void CSOAccountSeasonalOperation::clear_redeemable_balance() { + _impl_.redeemable_balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_redeemable_balance() const { + return _impl_.redeemable_balance_; +} +inline uint32_t CSOAccountSeasonalOperation::redeemable_balance() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.redeemable_balance) + return _internal_redeemable_balance(); +} +inline void CSOAccountSeasonalOperation::_internal_set_redeemable_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.redeemable_balance_ = value; +} +inline void CSOAccountSeasonalOperation::set_redeemable_balance(uint32_t value) { + _internal_set_redeemable_balance(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.redeemable_balance) +} + +// optional uint32 season_pass_time = 7; +inline bool CSOAccountSeasonalOperation::_internal_has_season_pass_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSOAccountSeasonalOperation::has_season_pass_time() const { + return _internal_has_season_pass_time(); +} +inline void CSOAccountSeasonalOperation::clear_season_pass_time() { + _impl_.season_pass_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CSOAccountSeasonalOperation::_internal_season_pass_time() const { + return _impl_.season_pass_time_; +} +inline uint32_t CSOAccountSeasonalOperation::season_pass_time() const { + // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.season_pass_time) + return _internal_season_pass_time(); +} +inline void CSOAccountSeasonalOperation::_internal_set_season_pass_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.season_pass_time_ = value; +} +inline void CSOAccountSeasonalOperation::set_season_pass_time(uint32_t value) { + _internal_set_season_pass_time(value); + // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.season_pass_time) +} + +// ------------------------------------------------------------------- + +// CSOAccountRecurringSubscription + +// optional uint32 time_next_cycle = 1; +inline bool CSOAccountRecurringSubscription::_internal_has_time_next_cycle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountRecurringSubscription::has_time_next_cycle() const { + return _internal_has_time_next_cycle(); +} +inline void CSOAccountRecurringSubscription::clear_time_next_cycle() { + _impl_.time_next_cycle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountRecurringSubscription::_internal_time_next_cycle() const { + return _impl_.time_next_cycle_; +} +inline uint32_t CSOAccountRecurringSubscription::time_next_cycle() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringSubscription.time_next_cycle) + return _internal_time_next_cycle(); +} +inline void CSOAccountRecurringSubscription::_internal_set_time_next_cycle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.time_next_cycle_ = value; +} +inline void CSOAccountRecurringSubscription::set_time_next_cycle(uint32_t value) { + _internal_set_time_next_cycle(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringSubscription.time_next_cycle) +} + +// optional uint32 time_initiated = 2; +inline bool CSOAccountRecurringSubscription::_internal_has_time_initiated() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountRecurringSubscription::has_time_initiated() const { + return _internal_has_time_initiated(); +} +inline void CSOAccountRecurringSubscription::clear_time_initiated() { + _impl_.time_initiated_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountRecurringSubscription::_internal_time_initiated() const { + return _impl_.time_initiated_; +} +inline uint32_t CSOAccountRecurringSubscription::time_initiated() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringSubscription.time_initiated) + return _internal_time_initiated(); +} +inline void CSOAccountRecurringSubscription::_internal_set_time_initiated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_initiated_ = value; +} +inline void CSOAccountRecurringSubscription::set_time_initiated(uint32_t value) { + _internal_set_time_initiated(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringSubscription.time_initiated) +} + +// ------------------------------------------------------------------- + +// CSOGameAccountSteamChina + +// optional uint32 time_last_update = 1; +inline bool CSOGameAccountSteamChina::_internal_has_time_last_update() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOGameAccountSteamChina::has_time_last_update() const { + return _internal_has_time_last_update(); +} +inline void CSOGameAccountSteamChina::clear_time_last_update() { + _impl_.time_last_update_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOGameAccountSteamChina::_internal_time_last_update() const { + return _impl_.time_last_update_; +} +inline uint32_t CSOGameAccountSteamChina::time_last_update() const { + // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_last_update) + return _internal_time_last_update(); +} +inline void CSOGameAccountSteamChina::_internal_set_time_last_update(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.time_last_update_ = value; +} +inline void CSOGameAccountSteamChina::set_time_last_update(uint32_t value) { + _internal_set_time_last_update(value); + // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_last_update) +} + +// optional uint32 time_comms_ban = 2; +inline bool CSOGameAccountSteamChina::_internal_has_time_comms_ban() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOGameAccountSteamChina::has_time_comms_ban() const { + return _internal_has_time_comms_ban(); +} +inline void CSOGameAccountSteamChina::clear_time_comms_ban() { + _impl_.time_comms_ban_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOGameAccountSteamChina::_internal_time_comms_ban() const { + return _impl_.time_comms_ban_; +} +inline uint32_t CSOGameAccountSteamChina::time_comms_ban() const { + // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_comms_ban) + return _internal_time_comms_ban(); +} +inline void CSOGameAccountSteamChina::_internal_set_time_comms_ban(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_comms_ban_ = value; +} +inline void CSOGameAccountSteamChina::set_time_comms_ban(uint32_t value) { + _internal_set_time_comms_ban(value); + // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_comms_ban) +} + +// optional uint32 time_play_ban = 3; +inline bool CSOGameAccountSteamChina::_internal_has_time_play_ban() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOGameAccountSteamChina::has_time_play_ban() const { + return _internal_has_time_play_ban(); +} +inline void CSOGameAccountSteamChina::clear_time_play_ban() { + _impl_.time_play_ban_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOGameAccountSteamChina::_internal_time_play_ban() const { + return _impl_.time_play_ban_; +} +inline uint32_t CSOGameAccountSteamChina::time_play_ban() const { + // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_play_ban) + return _internal_time_play_ban(); +} +inline void CSOGameAccountSteamChina::_internal_set_time_play_ban(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.time_play_ban_ = value; +} +inline void CSOGameAccountSteamChina::set_time_play_ban(uint32_t value) { + _internal_set_time_play_ban(value); + // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_play_ban) +} + +// ------------------------------------------------------------------- + +// CSOPersonaDataPublic + +// optional int32 player_level = 1; +inline bool CSOPersonaDataPublic::_internal_has_player_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOPersonaDataPublic::has_player_level() const { + return _internal_has_player_level(); +} +inline void CSOPersonaDataPublic::clear_player_level() { + _impl_.player_level_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSOPersonaDataPublic::_internal_player_level() const { + return _impl_.player_level_; +} +inline int32_t CSOPersonaDataPublic::player_level() const { + // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.player_level) + return _internal_player_level(); +} +inline void CSOPersonaDataPublic::_internal_set_player_level(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_level_ = value; +} +inline void CSOPersonaDataPublic::set_player_level(int32_t value) { + _internal_set_player_level(value); + // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.player_level) +} + +// optional .PlayerCommendationInfo commendation = 2; +inline bool CSOPersonaDataPublic::_internal_has_commendation() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); + return value; +} +inline bool CSOPersonaDataPublic::has_commendation() const { + return _internal_has_commendation(); +} +inline void CSOPersonaDataPublic::clear_commendation() { + if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::PlayerCommendationInfo& CSOPersonaDataPublic::_internal_commendation() const { + const ::PlayerCommendationInfo* p = _impl_.commendation_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerCommendationInfo_default_instance_); +} +inline const ::PlayerCommendationInfo& CSOPersonaDataPublic::commendation() const { + // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.commendation) + return _internal_commendation(); +} +inline void CSOPersonaDataPublic::unsafe_arena_set_allocated_commendation( + ::PlayerCommendationInfo* commendation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); + } + _impl_.commendation_ = commendation; + if (commendation) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSOPersonaDataPublic.commendation) +} +inline ::PlayerCommendationInfo* CSOPersonaDataPublic::release_commendation() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = 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 ::PlayerCommendationInfo* CSOPersonaDataPublic::unsafe_arena_release_commendation() { + // @@protoc_insertion_point(field_release:CSOPersonaDataPublic.commendation) + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerCommendationInfo* temp = _impl_.commendation_; + _impl_.commendation_ = nullptr; + return temp; +} +inline ::PlayerCommendationInfo* CSOPersonaDataPublic::_internal_mutable_commendation() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.commendation_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); + _impl_.commendation_ = p; + } + return _impl_.commendation_; +} +inline ::PlayerCommendationInfo* CSOPersonaDataPublic::mutable_commendation() { + ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); + // @@protoc_insertion_point(field_mutable:CSOPersonaDataPublic.commendation) + return _msg; +} +inline void CSOPersonaDataPublic::set_allocated_commendation(::PlayerCommendationInfo* commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.commendation_; + } + if (commendation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); + if (message_arena != submessage_arena) { + commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, commendation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.commendation_ = commendation; + // @@protoc_insertion_point(field_set_allocated:CSOPersonaDataPublic.commendation) +} + +// optional bool elevated_state = 3; +inline bool CSOPersonaDataPublic::_internal_has_elevated_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOPersonaDataPublic::has_elevated_state() const { + return _internal_has_elevated_state(); +} +inline void CSOPersonaDataPublic::clear_elevated_state() { + _impl_.elevated_state_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CSOPersonaDataPublic::_internal_elevated_state() const { + return _impl_.elevated_state_; +} +inline bool CSOPersonaDataPublic::elevated_state() const { + // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.elevated_state) + return _internal_elevated_state(); +} +inline void CSOPersonaDataPublic::_internal_set_elevated_state(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.elevated_state_ = value; +} +inline void CSOPersonaDataPublic::set_elevated_state(bool value) { + _internal_set_elevated_state(value); + // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.elevated_state) +} + +// optional uint32 xp_trail_timestamp_refresh = 4; +inline bool CSOPersonaDataPublic::_internal_has_xp_trail_timestamp_refresh() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOPersonaDataPublic::has_xp_trail_timestamp_refresh() const { + return _internal_has_xp_trail_timestamp_refresh(); +} +inline void CSOPersonaDataPublic::clear_xp_trail_timestamp_refresh() { + _impl_.xp_trail_timestamp_refresh_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOPersonaDataPublic::_internal_xp_trail_timestamp_refresh() const { + return _impl_.xp_trail_timestamp_refresh_; +} +inline uint32_t CSOPersonaDataPublic::xp_trail_timestamp_refresh() const { + // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.xp_trail_timestamp_refresh) + return _internal_xp_trail_timestamp_refresh(); +} +inline void CSOPersonaDataPublic::_internal_set_xp_trail_timestamp_refresh(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.xp_trail_timestamp_refresh_ = value; +} +inline void CSOPersonaDataPublic::set_xp_trail_timestamp_refresh(uint32_t value) { + _internal_set_xp_trail_timestamp_refresh(value); + // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.xp_trail_timestamp_refresh) +} + +// optional uint32 xp_trail_level = 5; +inline bool CSOPersonaDataPublic::_internal_has_xp_trail_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSOPersonaDataPublic::has_xp_trail_level() const { + return _internal_has_xp_trail_level(); +} +inline void CSOPersonaDataPublic::clear_xp_trail_level() { + _impl_.xp_trail_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSOPersonaDataPublic::_internal_xp_trail_level() const { + return _impl_.xp_trail_level_; +} +inline uint32_t CSOPersonaDataPublic::xp_trail_level() const { + // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.xp_trail_level) + return _internal_xp_trail_level(); +} +inline void CSOPersonaDataPublic::_internal_set_xp_trail_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.xp_trail_level_ = value; +} +inline void CSOPersonaDataPublic::set_xp_trail_level(uint32_t value) { + _internal_set_xp_trail_level(value); + // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.xp_trail_level) +} + +// ------------------------------------------------------------------- + +// CSOAccountRecurringMission + +// optional uint32 account_id = 1; +inline bool CSOAccountRecurringMission::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSOAccountRecurringMission::has_account_id() const { + return _internal_has_account_id(); +} +inline void CSOAccountRecurringMission::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSOAccountRecurringMission::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CSOAccountRecurringMission::account_id() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.account_id) + return _internal_account_id(); +} +inline void CSOAccountRecurringMission::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CSOAccountRecurringMission::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.account_id) +} + +// optional uint32 mission_id = 2; +inline bool CSOAccountRecurringMission::_internal_has_mission_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSOAccountRecurringMission::has_mission_id() const { + return _internal_has_mission_id(); +} +inline void CSOAccountRecurringMission::clear_mission_id() { + _impl_.mission_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSOAccountRecurringMission::_internal_mission_id() const { + return _impl_.mission_id_; +} +inline uint32_t CSOAccountRecurringMission::mission_id() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.mission_id) + return _internal_mission_id(); +} +inline void CSOAccountRecurringMission::_internal_set_mission_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.mission_id_ = value; +} +inline void CSOAccountRecurringMission::set_mission_id(uint32_t value) { + _internal_set_mission_id(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.mission_id) +} + +// optional uint32 period = 3; +inline bool CSOAccountRecurringMission::_internal_has_period() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSOAccountRecurringMission::has_period() const { + return _internal_has_period(); +} +inline void CSOAccountRecurringMission::clear_period() { + _impl_.period_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CSOAccountRecurringMission::_internal_period() const { + return _impl_.period_; +} +inline uint32_t CSOAccountRecurringMission::period() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.period) + return _internal_period(); +} +inline void CSOAccountRecurringMission::_internal_set_period(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.period_ = value; +} +inline void CSOAccountRecurringMission::set_period(uint32_t value) { + _internal_set_period(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.period) +} + +// optional uint32 progress = 4; +inline bool CSOAccountRecurringMission::_internal_has_progress() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSOAccountRecurringMission::has_progress() const { + return _internal_has_progress(); +} +inline void CSOAccountRecurringMission::clear_progress() { + _impl_.progress_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSOAccountRecurringMission::_internal_progress() const { + return _impl_.progress_; +} +inline uint32_t CSOAccountRecurringMission::progress() const { + // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.progress) + return _internal_progress(); +} +inline void CSOAccountRecurringMission::_internal_set_progress(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.progress_ = value; +} +inline void CSOAccountRecurringMission::set_progress(uint32_t value) { + _internal_set_progress(value); + // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.progress) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientNotifyXPShop + +// optional .CSOAccountXpShop prematch = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_prematch() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.prematch_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_prematch() const { + return _internal_has_prematch(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_prematch() { + if (_impl_.prematch_ != nullptr) _impl_.prematch_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_prematch() const { + const ::CSOAccountXpShop* p = _impl_.prematch_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSOAccountXpShop_default_instance_); +} +inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::prematch() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) + return _internal_prematch(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_set_allocated_prematch( + ::CSOAccountXpShop* prematch) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.prematch_); + } + _impl_.prematch_ = prematch; + if (prematch) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::release_prematch() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSOAccountXpShop* temp = _impl_.prematch_; + _impl_.prematch_ = 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 ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_release_prematch() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSOAccountXpShop* temp = _impl_.prematch_; + _impl_.prematch_ = nullptr; + return temp; +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_mutable_prematch() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.prematch_ == nullptr) { + auto* p = CreateMaybeMessage<::CSOAccountXpShop>(GetArenaForAllocation()); + _impl_.prematch_ = p; + } + return _impl_.prematch_; +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::mutable_prematch() { + ::CSOAccountXpShop* _msg = _internal_mutable_prematch(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) + return _msg; +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_allocated_prematch(::CSOAccountXpShop* prematch) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.prematch_; + } + if (prematch) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(prematch); + if (message_arena != submessage_arena) { + prematch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, prematch, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.prematch_ = prematch; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) +} + +// optional .CSOAccountXpShop postmatch = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_postmatch() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.postmatch_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_postmatch() const { + return _internal_has_postmatch(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_postmatch() { + if (_impl_.postmatch_ != nullptr) _impl_.postmatch_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_postmatch() const { + const ::CSOAccountXpShop* p = _impl_.postmatch_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSOAccountXpShop_default_instance_); +} +inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::postmatch() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) + return _internal_postmatch(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_set_allocated_postmatch( + ::CSOAccountXpShop* postmatch) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.postmatch_); + } + _impl_.postmatch_ = postmatch; + if (postmatch) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::release_postmatch() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CSOAccountXpShop* temp = _impl_.postmatch_; + _impl_.postmatch_ = 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 ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_release_postmatch() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CSOAccountXpShop* temp = _impl_.postmatch_; + _impl_.postmatch_ = nullptr; + return temp; +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_mutable_postmatch() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.postmatch_ == nullptr) { + auto* p = CreateMaybeMessage<::CSOAccountXpShop>(GetArenaForAllocation()); + _impl_.postmatch_ = p; + } + return _impl_.postmatch_; +} +inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::mutable_postmatch() { + ::CSOAccountXpShop* _msg = _internal_mutable_postmatch(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) + return _msg; +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_allocated_postmatch(::CSOAccountXpShop* postmatch) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.postmatch_; + } + if (postmatch) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(postmatch); + if (message_arena != submessage_arena) { + postmatch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, postmatch, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.postmatch_ = postmatch; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) +} + +// optional uint32 current_xp = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_current_xp() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_current_xp() const { + return _internal_has_current_xp(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_current_xp() { + _impl_.current_xp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_current_xp() const { + return _impl_.current_xp_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::current_xp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_xp) + return _internal_current_xp(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_set_current_xp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.current_xp_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_current_xp(uint32_t value) { + _internal_set_current_xp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_xp) +} + +// optional uint32 current_level = 4; +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_current_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_current_level() const { + return _internal_has_current_level(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_current_level() { + _impl_.current_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_current_level() const { + return _impl_.current_level_; +} +inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::current_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_level) + return _internal_current_level(); +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_set_current_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.current_level_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_current_level(uint32_t value) { + _internal_set_current_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_level) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GcAckXPShopTracks + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats + +// optional uint32 gs_location_id = 1; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_gs_location_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_gs_location_id() const { + return _internal_has_gs_location_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_gs_location_id() { + _impl_.gs_location_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_gs_location_id() const { + return _impl_.gs_location_id_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::gs_location_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.gs_location_id) + return _internal_gs_location_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_gs_location_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gs_location_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_gs_location_id(uint32_t value) { + _internal_set_gs_location_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.gs_location_id) +} + +// optional uint32 data_center_id = 2; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_data_center_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_data_center_id() const { + return _internal_has_data_center_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_data_center_id() { + _impl_.data_center_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_data_center_id() const { + return _impl_.data_center_id_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::data_center_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.data_center_id) + return _internal_data_center_id(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_data_center_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_center_id_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_data_center_id(uint32_t value) { + _internal_set_data_center_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.data_center_id) +} + +// optional uint32 num_locked_in = 3; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_num_locked_in() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_num_locked_in() const { + return _internal_has_num_locked_in(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_num_locked_in() { + _impl_.num_locked_in_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_num_locked_in() const { + return _impl_.num_locked_in_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::num_locked_in() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_locked_in) + return _internal_num_locked_in(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_num_locked_in(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_locked_in_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_num_locked_in(uint32_t value) { + _internal_set_num_locked_in(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_locked_in) +} + +// optional uint32 num_found_nearby = 4; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_num_found_nearby() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_num_found_nearby() const { + return _internal_has_num_found_nearby(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_num_found_nearby() { + _impl_.num_found_nearby_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_num_found_nearby() const { + return _impl_.num_found_nearby_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::num_found_nearby() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_found_nearby) + return _internal_num_found_nearby(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_num_found_nearby(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.num_found_nearby_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_num_found_nearby(uint32_t value) { + _internal_set_num_found_nearby(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_found_nearby) +} + +// optional uint32 note_level = 5; +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_note_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_note_level() const { + return _internal_has_note_level(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_note_level() { + _impl_.note_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_note_level() const { + return _impl_.note_level_; +} +inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::note_level() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.note_level) + return _internal_note_level(); +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_note_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.note_level_ = value; +} +inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_note_level(uint32_t value) { + _internal_set_note_level(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.note_level) +} + +// ------------------------------------------------------------------- + +// CMsgGC_GlobalGame_Subscribe + +// optional uint64 ticket = 1; +inline bool CMsgGC_GlobalGame_Subscribe::_internal_has_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGC_GlobalGame_Subscribe::has_ticket() const { + return _internal_has_ticket(); +} +inline void CMsgGC_GlobalGame_Subscribe::clear_ticket() { + _impl_.ticket_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGC_GlobalGame_Subscribe::_internal_ticket() const { + return _impl_.ticket_; +} +inline uint64_t CMsgGC_GlobalGame_Subscribe::ticket() const { + // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Subscribe.ticket) + return _internal_ticket(); +} +inline void CMsgGC_GlobalGame_Subscribe::_internal_set_ticket(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_ = value; +} +inline void CMsgGC_GlobalGame_Subscribe::set_ticket(uint64_t value) { + _internal_set_ticket(value); + // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Subscribe.ticket) +} + +// ------------------------------------------------------------------- + +// CMsgGC_GlobalGame_Unsubscribe + +// optional int32 timeleft = 1; +inline bool CMsgGC_GlobalGame_Unsubscribe::_internal_has_timeleft() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGC_GlobalGame_Unsubscribe::has_timeleft() const { + return _internal_has_timeleft(); +} +inline void CMsgGC_GlobalGame_Unsubscribe::clear_timeleft() { + _impl_.timeleft_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGC_GlobalGame_Unsubscribe::_internal_timeleft() const { + return _impl_.timeleft_; +} +inline int32_t CMsgGC_GlobalGame_Unsubscribe::timeleft() const { + // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Unsubscribe.timeleft) + return _internal_timeleft(); +} +inline void CMsgGC_GlobalGame_Unsubscribe::_internal_set_timeleft(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.timeleft_ = value; +} +inline void CMsgGC_GlobalGame_Unsubscribe::set_timeleft(int32_t value) { + _internal_set_timeleft(value); + // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Unsubscribe.timeleft) +} + +// ------------------------------------------------------------------- + +// CMsgGC_GlobalGame_Play + +// optional uint64 ticket = 1; +inline bool CMsgGC_GlobalGame_Play::_internal_has_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGC_GlobalGame_Play::has_ticket() const { + return _internal_has_ticket(); +} +inline void CMsgGC_GlobalGame_Play::clear_ticket() { + _impl_.ticket_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGC_GlobalGame_Play::_internal_ticket() const { + return _impl_.ticket_; +} +inline uint64_t CMsgGC_GlobalGame_Play::ticket() const { + // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.ticket) + return _internal_ticket(); +} +inline void CMsgGC_GlobalGame_Play::_internal_set_ticket(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_ = value; +} +inline void CMsgGC_GlobalGame_Play::set_ticket(uint64_t value) { + _internal_set_ticket(value); + // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.ticket) +} + +// optional uint32 gametimems = 2; +inline bool CMsgGC_GlobalGame_Play::_internal_has_gametimems() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGC_GlobalGame_Play::has_gametimems() const { + return _internal_has_gametimems(); +} +inline void CMsgGC_GlobalGame_Play::clear_gametimems() { + _impl_.gametimems_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGC_GlobalGame_Play::_internal_gametimems() const { + return _impl_.gametimems_; +} +inline uint32_t CMsgGC_GlobalGame_Play::gametimems() const { + // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.gametimems) + return _internal_gametimems(); +} +inline void CMsgGC_GlobalGame_Play::_internal_set_gametimems(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gametimems_ = value; +} +inline void CMsgGC_GlobalGame_Play::set_gametimems(uint32_t value) { + _internal_set_gametimems(value); + // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.gametimems) +} + +// optional uint32 msperpoint = 3; +inline bool CMsgGC_GlobalGame_Play::_internal_has_msperpoint() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGC_GlobalGame_Play::has_msperpoint() const { + return _internal_has_msperpoint(); +} +inline void CMsgGC_GlobalGame_Play::clear_msperpoint() { + _impl_.msperpoint_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGC_GlobalGame_Play::_internal_msperpoint() const { + return _impl_.msperpoint_; +} +inline uint32_t CMsgGC_GlobalGame_Play::msperpoint() const { + // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.msperpoint) + return _internal_msperpoint(); +} +inline void CMsgGC_GlobalGame_Play::_internal_set_msperpoint(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.msperpoint_ = value; +} +inline void CMsgGC_GlobalGame_Play::set_msperpoint(uint32_t value) { + _internal_set_msperpoint(value); + // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.msperpoint) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_AcknowledgePenalty + +// optional int32 acknowledged = 1; +inline bool CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_has_acknowledged() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_AcknowledgePenalty::has_acknowledged() const { + return _internal_has_acknowledged(); +} +inline void CMsgGCCStrike15_v2_AcknowledgePenalty::clear_acknowledged() { + _impl_.acknowledged_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_acknowledged() const { + return _impl_.acknowledged_; +} +inline int32_t CMsgGCCStrike15_v2_AcknowledgePenalty::acknowledged() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AcknowledgePenalty.acknowledged) + return _internal_acknowledged(); +} +inline void CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_set_acknowledged(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.acknowledged_ = value; +} +inline void CMsgGCCStrike15_v2_AcknowledgePenalty::set_acknowledged(int32_t value) { + _internal_set_acknowledged(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AcknowledgePenalty.acknowledged) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin + +// optional uint32 defindex = 1; +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_defindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_defindex() const { + return _internal_has_defindex(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_defindex() { + _impl_.defindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_defindex() const { + return _impl_.defindex_; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::defindex() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.defindex) + return _internal_defindex(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_defindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.defindex_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_defindex(uint32_t value) { + _internal_set_defindex(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.defindex) +} + +// optional uint64 upgradeid = 2; +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_upgradeid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_upgradeid() const { + return _internal_has_upgradeid(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_upgradeid() { + _impl_.upgradeid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_upgradeid() const { + return _impl_.upgradeid_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::upgradeid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.upgradeid) + return _internal_upgradeid(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_upgradeid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.upgradeid_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_upgradeid(uint64_t value) { + _internal_set_upgradeid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.upgradeid) +} + +// optional uint32 hours = 3; +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_hours() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_hours() const { + return _internal_has_hours(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_hours() { + _impl_.hours_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_hours() const { + return _impl_.hours_; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::hours() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.hours) + return _internal_hours(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_hours(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hours_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_hours(uint32_t value) { + _internal_set_hours(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.hours) +} + +// optional uint32 prestigetime = 4; +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_prestigetime() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_prestigetime() const { + return _internal_has_prestigetime(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_prestigetime() { + _impl_.prestigetime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_prestigetime() const { + return _impl_.prestigetime_; +} +inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::prestigetime() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.prestigetime) + return _internal_prestigetime(); +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_prestigetime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.prestigetime_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_prestigetime(uint32_t value) { + _internal_set_prestigetime(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.prestigetime) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Client2GCStreamUnlock + +// optional uint64 ticket = 1; +inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_has_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::has_ticket() const { + return _internal_has_ticket(); +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::clear_ticket() { + _impl_.ticket_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_ticket() const { + return _impl_.ticket_; +} +inline uint64_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::ticket() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCStreamUnlock.ticket) + return _internal_ticket(); +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_set_ticket(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::set_ticket(uint64_t value) { + _internal_set_ticket(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCStreamUnlock.ticket) +} + +// optional int32 os = 2; +inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_has_os() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::has_os() const { + return _internal_has_os(); +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::clear_os() { + _impl_.os_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_os() const { + return _impl_.os_; +} +inline int32_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::os() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCStreamUnlock.os) + return _internal_os(); +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_set_os(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.os_ = value; +} +inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::set_os(int32_t value) { + _internal_set_os(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCStreamUnlock.os) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientToGCRequestElevate + +// optional uint32 stage = 1; +inline bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_has_stage() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::has_stage() const { + return _internal_has_stage(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::clear_stage() { + _impl_.stage_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_stage() const { + return _impl_.stage_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::stage() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestElevate.stage) + return _internal_stage(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_set_stage(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.stage_ = value; +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::set_stage(uint32_t value) { + _internal_set_stage(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestElevate.stage) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientToGCChat + +// optional uint64 match_id = 1; +inline bool CMsgGCCStrike15_v2_ClientToGCChat::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCChat::has_match_id() const { + return _internal_has_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCChat::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCChat::match_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCChat.match_id) + return _internal_match_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.match_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCChat.match_id) +} + +// optional string text = 2; +inline bool CMsgGCCStrike15_v2_ClientToGCChat::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCChat::has_text() const { + return _internal_has_text(); +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientToGCChat::text() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCChat.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientToGCChat::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCChat.text) +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientToGCChat.text) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientToGCChat::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::release_text() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientToGCChat.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientToGCChat::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_ClientToGCChat.text) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GCToClientChat + +// optional uint32 account_id = 1; +inline bool CMsgGCCStrike15_v2_GCToClientChat::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GCToClientChat::has_account_id() const { + return _internal_has_account_id(); +} +inline void CMsgGCCStrike15_v2_GCToClientChat::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_GCToClientChat::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CMsgGCCStrike15_v2_GCToClientChat::account_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GCToClientChat.account_id) + return _internal_account_id(); +} +inline void CMsgGCCStrike15_v2_GCToClientChat::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CMsgGCCStrike15_v2_GCToClientChat::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GCToClientChat.account_id) +} + +// optional string text = 2; +inline bool CMsgGCCStrike15_v2_GCToClientChat::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GCToClientChat::has_text() const { + return _internal_has_text(); +} +inline void CMsgGCCStrike15_v2_GCToClientChat::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GCToClientChat::text() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GCToClientChat.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GCToClientChat::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GCToClientChat.text) +} +inline std::string* CMsgGCCStrike15_v2_GCToClientChat::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GCToClientChat.text) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GCToClientChat::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CMsgGCCStrike15_v2_GCToClientChat::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GCToClientChat::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GCToClientChat::release_text() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GCToClientChat.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GCToClientChat::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_GCToClientChat.text) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientAuthKeyCode + +// optional uint32 eventid = 1; +inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::clear_eventid() { + _impl_.eventid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_eventid() const { + return _impl_.eventid_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientAuthKeyCode::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAuthKeyCode.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_set_eventid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_eventid(uint32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAuthKeyCode.eventid) +} + +// optional string code = 2; +inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_has_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::has_code() const { + return _internal_has_code(); +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::clear_code() { + _impl_.code_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientAuthKeyCode::code() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) + return _internal_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_code(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) +} +inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::mutable_code() { + std::string* _s = _internal_mutable_code(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_code() const { + return _impl_.code_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_set_code(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.code_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_mutable_code() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.code_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::release_code() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) + if (!_internal_has_code()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.code_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.code_.IsDefault()) { + _impl_.code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_allocated_code(std::string* code) { + if (code != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.code_.SetAllocated(code, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.code_.IsDefault()) { + _impl_.code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_GotvSyncPacket + +// optional .CEngineGotvSyncPacket data = 1; +inline bool CMsgGCCStrike15_GotvSyncPacket::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_GotvSyncPacket::has_data() const { + return _internal_has_data(); +} +inline const ::CEngineGotvSyncPacket& CMsgGCCStrike15_GotvSyncPacket::_internal_data() const { + const ::CEngineGotvSyncPacket* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEngineGotvSyncPacket_default_instance_); +} +inline const ::CEngineGotvSyncPacket& CMsgGCCStrike15_GotvSyncPacket::data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_GotvSyncPacket.data) + return _internal_data(); +} +inline void CMsgGCCStrike15_GotvSyncPacket::unsafe_arena_set_allocated_data( + ::CEngineGotvSyncPacket* data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + _impl_.data_ = data; + if (data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_GotvSyncPacket.data) +} +inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::release_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEngineGotvSyncPacket* temp = _impl_.data_; + _impl_.data_ = 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 ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::unsafe_arena_release_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_GotvSyncPacket.data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEngineGotvSyncPacket* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.data_ == nullptr) { + auto* p = CreateMaybeMessage<::CEngineGotvSyncPacket>(GetArenaForAllocation()); + _impl_.data_ = p; + } + return _impl_.data_; +} +inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::mutable_data() { + ::CEngineGotvSyncPacket* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_GotvSyncPacket.data) + return _msg; +} +inline void CMsgGCCStrike15_GotvSyncPacket::set_allocated_data(::CEngineGotvSyncPacket* data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + if (data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); + if (message_arena != submessage_arena) { + data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_ = data; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_GotvSyncPacket.data) +} + +// ------------------------------------------------------------------- + +// PlayerDecalDigitalSignature + +// optional bytes signature = 1; +inline bool PlayerDecalDigitalSignature::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_signature() const { + return _internal_has_signature(); +} +inline void PlayerDecalDigitalSignature::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PlayerDecalDigitalSignature::signature() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDecalDigitalSignature::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.signature) +} +inline std::string* PlayerDecalDigitalSignature::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:PlayerDecalDigitalSignature.signature) + return _s; +} +inline const std::string& PlayerDecalDigitalSignature::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void PlayerDecalDigitalSignature::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDecalDigitalSignature::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDecalDigitalSignature::release_signature() { + // @@protoc_insertion_point(field_release:PlayerDecalDigitalSignature.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PlayerDecalDigitalSignature::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PlayerDecalDigitalSignature.signature) +} + +// optional uint32 accountid = 2; +inline bool PlayerDecalDigitalSignature::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_accountid() const { + return _internal_has_accountid(); +} +inline void PlayerDecalDigitalSignature::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t PlayerDecalDigitalSignature::accountid() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.accountid) + return _internal_accountid(); +} +inline void PlayerDecalDigitalSignature::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void PlayerDecalDigitalSignature::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.accountid) +} + +// optional uint32 rtime = 3; +inline bool PlayerDecalDigitalSignature::_internal_has_rtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_rtime() const { + return _internal_has_rtime(); +} +inline void PlayerDecalDigitalSignature::clear_rtime() { + _impl_.rtime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_rtime() const { + return _impl_.rtime_; +} +inline uint32_t PlayerDecalDigitalSignature::rtime() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.rtime) + return _internal_rtime(); +} +inline void PlayerDecalDigitalSignature::_internal_set_rtime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.rtime_ = value; +} +inline void PlayerDecalDigitalSignature::set_rtime(uint32_t value) { + _internal_set_rtime(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.rtime) +} + +// repeated float endpos = 4; +inline int PlayerDecalDigitalSignature::_internal_endpos_size() const { + return _impl_.endpos_.size(); +} +inline int PlayerDecalDigitalSignature::endpos_size() const { + return _internal_endpos_size(); +} +inline void PlayerDecalDigitalSignature::clear_endpos() { + _impl_.endpos_.Clear(); +} +inline float PlayerDecalDigitalSignature::_internal_endpos(int index) const { + return _impl_.endpos_.Get(index); +} +inline float PlayerDecalDigitalSignature::endpos(int index) const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.endpos) + return _internal_endpos(index); +} +inline void PlayerDecalDigitalSignature::set_endpos(int index, float value) { + _impl_.endpos_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.endpos) +} +inline void PlayerDecalDigitalSignature::_internal_add_endpos(float value) { + _impl_.endpos_.Add(value); +} +inline void PlayerDecalDigitalSignature::add_endpos(float value) { + _internal_add_endpos(value); + // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.endpos) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::_internal_endpos() const { + return _impl_.endpos_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::endpos() const { + // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.endpos) + return _internal_endpos(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::_internal_mutable_endpos() { + return &_impl_.endpos_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::mutable_endpos() { + // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.endpos) + return _internal_mutable_endpos(); +} + +// repeated float startpos = 5; +inline int PlayerDecalDigitalSignature::_internal_startpos_size() const { + return _impl_.startpos_.size(); +} +inline int PlayerDecalDigitalSignature::startpos_size() const { + return _internal_startpos_size(); +} +inline void PlayerDecalDigitalSignature::clear_startpos() { + _impl_.startpos_.Clear(); +} +inline float PlayerDecalDigitalSignature::_internal_startpos(int index) const { + return _impl_.startpos_.Get(index); +} +inline float PlayerDecalDigitalSignature::startpos(int index) const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.startpos) + return _internal_startpos(index); +} +inline void PlayerDecalDigitalSignature::set_startpos(int index, float value) { + _impl_.startpos_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.startpos) +} +inline void PlayerDecalDigitalSignature::_internal_add_startpos(float value) { + _impl_.startpos_.Add(value); +} +inline void PlayerDecalDigitalSignature::add_startpos(float value) { + _internal_add_startpos(value); + // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.startpos) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::_internal_startpos() const { + return _impl_.startpos_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::startpos() const { + // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.startpos) + return _internal_startpos(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::_internal_mutable_startpos() { + return &_impl_.startpos_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::mutable_startpos() { + // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.startpos) + return _internal_mutable_startpos(); +} + +// repeated float left = 6; +inline int PlayerDecalDigitalSignature::_internal_left_size() const { + return _impl_.left_.size(); +} +inline int PlayerDecalDigitalSignature::left_size() const { + return _internal_left_size(); +} +inline void PlayerDecalDigitalSignature::clear_left() { + _impl_.left_.Clear(); +} +inline float PlayerDecalDigitalSignature::_internal_left(int index) const { + return _impl_.left_.Get(index); +} +inline float PlayerDecalDigitalSignature::left(int index) const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.left) + return _internal_left(index); +} +inline void PlayerDecalDigitalSignature::set_left(int index, float value) { + _impl_.left_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.left) +} +inline void PlayerDecalDigitalSignature::_internal_add_left(float value) { + _impl_.left_.Add(value); +} +inline void PlayerDecalDigitalSignature::add_left(float value) { + _internal_add_left(value); + // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.left) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::_internal_left() const { + return _impl_.left_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::left() const { + // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.left) + return _internal_left(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::_internal_mutable_left() { + return &_impl_.left_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::mutable_left() { + // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.left) + return _internal_mutable_left(); +} + +// optional uint32 tx_defidx = 7; +inline bool PlayerDecalDigitalSignature::_internal_has_tx_defidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_tx_defidx() const { + return _internal_has_tx_defidx(); +} +inline void PlayerDecalDigitalSignature::clear_tx_defidx() { + _impl_.tx_defidx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_tx_defidx() const { + return _impl_.tx_defidx_; +} +inline uint32_t PlayerDecalDigitalSignature::tx_defidx() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.tx_defidx) + return _internal_tx_defidx(); +} +inline void PlayerDecalDigitalSignature::_internal_set_tx_defidx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.tx_defidx_ = value; +} +inline void PlayerDecalDigitalSignature::set_tx_defidx(uint32_t value) { + _internal_set_tx_defidx(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.tx_defidx) +} + +// optional int32 entindex = 8; +inline bool PlayerDecalDigitalSignature::_internal_has_entindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_entindex() const { + return _internal_has_entindex(); +} +inline void PlayerDecalDigitalSignature::clear_entindex() { + _impl_.entindex_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t PlayerDecalDigitalSignature::_internal_entindex() const { + return _impl_.entindex_; +} +inline int32_t PlayerDecalDigitalSignature::entindex() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.entindex) + return _internal_entindex(); +} +inline void PlayerDecalDigitalSignature::_internal_set_entindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.entindex_ = value; +} +inline void PlayerDecalDigitalSignature::set_entindex(int32_t value) { + _internal_set_entindex(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.entindex) +} + +// optional uint32 hitbox = 9; +inline bool PlayerDecalDigitalSignature::_internal_has_hitbox() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_hitbox() const { + return _internal_has_hitbox(); +} +inline void PlayerDecalDigitalSignature::clear_hitbox() { + _impl_.hitbox_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_hitbox() const { + return _impl_.hitbox_; +} +inline uint32_t PlayerDecalDigitalSignature::hitbox() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.hitbox) + return _internal_hitbox(); +} +inline void PlayerDecalDigitalSignature::_internal_set_hitbox(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.hitbox_ = value; +} +inline void PlayerDecalDigitalSignature::set_hitbox(uint32_t value) { + _internal_set_hitbox(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.hitbox) +} + +// optional float creationtime = 10; +inline bool PlayerDecalDigitalSignature::_internal_has_creationtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_creationtime() const { + return _internal_has_creationtime(); +} +inline void PlayerDecalDigitalSignature::clear_creationtime() { + _impl_.creationtime_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float PlayerDecalDigitalSignature::_internal_creationtime() const { + return _impl_.creationtime_; +} +inline float PlayerDecalDigitalSignature::creationtime() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.creationtime) + return _internal_creationtime(); +} +inline void PlayerDecalDigitalSignature::_internal_set_creationtime(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.creationtime_ = value; +} +inline void PlayerDecalDigitalSignature::set_creationtime(float value) { + _internal_set_creationtime(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.creationtime) +} + +// optional uint32 equipslot = 11; +inline bool PlayerDecalDigitalSignature::_internal_has_equipslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_equipslot() const { + return _internal_has_equipslot(); +} +inline void PlayerDecalDigitalSignature::clear_equipslot() { + _impl_.equipslot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_equipslot() const { + return _impl_.equipslot_; +} +inline uint32_t PlayerDecalDigitalSignature::equipslot() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.equipslot) + return _internal_equipslot(); +} +inline void PlayerDecalDigitalSignature::_internal_set_equipslot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.equipslot_ = value; +} +inline void PlayerDecalDigitalSignature::set_equipslot(uint32_t value) { + _internal_set_equipslot(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.equipslot) +} + +// optional uint32 trace_id = 12; +inline bool PlayerDecalDigitalSignature::_internal_has_trace_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_trace_id() const { + return _internal_has_trace_id(); +} +inline void PlayerDecalDigitalSignature::clear_trace_id() { + _impl_.trace_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_trace_id() const { + return _impl_.trace_id_; +} +inline uint32_t PlayerDecalDigitalSignature::trace_id() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.trace_id) + return _internal_trace_id(); +} +inline void PlayerDecalDigitalSignature::_internal_set_trace_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.trace_id_ = value; +} +inline void PlayerDecalDigitalSignature::set_trace_id(uint32_t value) { + _internal_set_trace_id(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.trace_id) +} + +// repeated float normal = 13; +inline int PlayerDecalDigitalSignature::_internal_normal_size() const { + return _impl_.normal_.size(); +} +inline int PlayerDecalDigitalSignature::normal_size() const { + return _internal_normal_size(); +} +inline void PlayerDecalDigitalSignature::clear_normal() { + _impl_.normal_.Clear(); +} +inline float PlayerDecalDigitalSignature::_internal_normal(int index) const { + return _impl_.normal_.Get(index); +} +inline float PlayerDecalDigitalSignature::normal(int index) const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.normal) + return _internal_normal(index); +} +inline void PlayerDecalDigitalSignature::set_normal(int index, float value) { + _impl_.normal_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.normal) +} +inline void PlayerDecalDigitalSignature::_internal_add_normal(float value) { + _impl_.normal_.Add(value); +} +inline void PlayerDecalDigitalSignature::add_normal(float value) { + _internal_add_normal(value); + // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.normal) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::_internal_normal() const { + return _impl_.normal_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +PlayerDecalDigitalSignature::normal() const { + // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.normal) + return _internal_normal(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::_internal_mutable_normal() { + return &_impl_.normal_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +PlayerDecalDigitalSignature::mutable_normal() { + // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.normal) + return _internal_mutable_normal(); +} + +// optional uint32 tint_id = 14; +inline bool PlayerDecalDigitalSignature::_internal_has_tint_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool PlayerDecalDigitalSignature::has_tint_id() const { + return _internal_has_tint_id(); +} +inline void PlayerDecalDigitalSignature::clear_tint_id() { + _impl_.tint_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t PlayerDecalDigitalSignature::_internal_tint_id() const { + return _impl_.tint_id_; +} +inline uint32_t PlayerDecalDigitalSignature::tint_id() const { + // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.tint_id) + return _internal_tint_id(); +} +inline void PlayerDecalDigitalSignature::_internal_set_tint_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.tint_id_ = value; +} +inline void PlayerDecalDigitalSignature::set_tint_id(uint32_t value) { + _internal_set_tint_id(value); + // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.tint_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPlayerDecalSign + +// optional .PlayerDecalDigitalSignature data = 1; +inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::has_data() const { + return _internal_has_data(); +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::clear_data() { + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::PlayerDecalDigitalSignature& CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_data() const { + const ::PlayerDecalDigitalSignature* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerDecalDigitalSignature_default_instance_); +} +inline const ::PlayerDecalDigitalSignature& CMsgGCCStrike15_v2_ClientPlayerDecalSign::data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) + return _internal_data(); +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::unsafe_arena_set_allocated_data( + ::PlayerDecalDigitalSignature* data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + _impl_.data_ = data; + if (data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) +} +inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::release_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerDecalDigitalSignature* temp = _impl_.data_; + _impl_.data_ = 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 ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::unsafe_arena_release_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerDecalDigitalSignature* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.data_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerDecalDigitalSignature>(GetArenaForAllocation()); + _impl_.data_ = p; + } + return _impl_.data_; +} +inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::mutable_data() { + ::PlayerDecalDigitalSignature* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) + return _msg; +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::set_allocated_data(::PlayerDecalDigitalSignature* data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.data_; + } + if (data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data); + if (message_arena != submessage_arena) { + data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_ = data; + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) +} + +// optional uint64 itemid = 2; +inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::has_itemid() const { + return _internal_has_itemid(); +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::clear_itemid() { + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_itemid() const { + return _impl_.itemid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::itemid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPlayerDecalSign.itemid) + return _internal_itemid(); +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_set_itemid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.itemid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::set_itemid(uint64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPlayerDecalSign.itemid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_BetaEnrollment + +// optional uint32 eresult = 1; +inline bool CMsgGCCStrike15_v2_BetaEnrollment::_internal_has_eresult() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_BetaEnrollment::has_eresult() const { + return _internal_has_eresult(); +} +inline void CMsgGCCStrike15_v2_BetaEnrollment::clear_eresult() { + _impl_.eresult_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_BetaEnrollment::_internal_eresult() const { + return _impl_.eresult_; +} +inline uint32_t CMsgGCCStrike15_v2_BetaEnrollment::eresult() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_BetaEnrollment.eresult) + return _internal_eresult(); +} +inline void CMsgGCCStrike15_v2_BetaEnrollment::_internal_set_eresult(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eresult_ = value; +} +inline void CMsgGCCStrike15_v2_BetaEnrollment::set_eresult(uint32_t value) { + _internal_set_eresult(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_BetaEnrollment.eresult) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientLogonFatalError + +// optional uint32 errorcode = 1; +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_errorcode() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_errorcode() const { + return _internal_has_errorcode(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_errorcode() { + _impl_.errorcode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_errorcode() const { + return _impl_.errorcode_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientLogonFatalError::errorcode() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.errorcode) + return _internal_errorcode(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_errorcode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.errorcode_ = value; +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_errorcode(uint32_t value) { + _internal_set_errorcode(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.errorcode) +} + +// optional string message = 2; +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_message() const { + return _internal_has_message(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::message() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientLogonFatalError::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.message) +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientLogonFatalError.message) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::release_message() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientLogonFatalError.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientLogonFatalError.message) +} + +// optional string country = 3; +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_country() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_country() const { + return _internal_has_country(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_country() { + _impl_.country_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::country() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.country) + return _internal_country(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientLogonFatalError::set_country(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.country) +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::mutable_country() { + std::string* _s = _internal_mutable_country(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientLogonFatalError.country) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_country() const { + return _impl_.country_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_country(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.country_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_mutable_country() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.country_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::release_country() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientLogonFatalError.country) + if (!_internal_has_country()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.country_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_allocated_country(std::string* country) { + if (country != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.country_.SetAllocated(country, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientLogonFatalError.country) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPollState + +// optional uint32 pollid = 1; +inline bool CMsgGCCStrike15_v2_ClientPollState::_internal_has_pollid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPollState::has_pollid() const { + return _internal_has_pollid(); +} +inline void CMsgGCCStrike15_v2_ClientPollState::clear_pollid() { + _impl_.pollid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPollState::_internal_pollid() const { + return _impl_.pollid_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPollState::pollid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.pollid) + return _internal_pollid(); +} +inline void CMsgGCCStrike15_v2_ClientPollState::_internal_set_pollid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pollid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_pollid(uint32_t value) { + _internal_set_pollid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.pollid) +} + +// repeated string names = 2; +inline int CMsgGCCStrike15_v2_ClientPollState::_internal_names_size() const { + return _impl_.names_.size(); +} +inline int CMsgGCCStrike15_v2_ClientPollState::names_size() const { + return _internal_names_size(); +} +inline void CMsgGCCStrike15_v2_ClientPollState::clear_names() { + _impl_.names_.Clear(); +} +inline std::string* CMsgGCCStrike15_v2_ClientPollState::add_names() { + std::string* _s = _internal_add_names(); + // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_ClientPollState.names) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientPollState::_internal_names(int index) const { + return _impl_.names_.Get(index); +} +inline const std::string& CMsgGCCStrike15_v2_ClientPollState::names(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.names) + return _internal_names(index); +} +inline std::string* CMsgGCCStrike15_v2_ClientPollState::mutable_names(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPollState.names) + return _impl_.names_.Mutable(index); +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const std::string& value) { + _impl_.names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, std::string&& value) { + _impl_.names_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const char* value, size_t size) { + _impl_.names_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline std::string* CMsgGCCStrike15_v2_ClientPollState::_internal_add_names() { + return _impl_.names_.Add(); +} +inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const std::string& value) { + _impl_.names_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::add_names(std::string&& value) { + _impl_.names_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.names_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const char* value, size_t size) { + _impl_.names_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_ClientPollState.names) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgGCCStrike15_v2_ClientPollState::names() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPollState.names) + return _impl_.names_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgGCCStrike15_v2_ClientPollState::mutable_names() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPollState.names) + return &_impl_.names_; +} + +// repeated int32 values = 3; +inline int CMsgGCCStrike15_v2_ClientPollState::_internal_values_size() const { + return _impl_.values_.size(); +} +inline int CMsgGCCStrike15_v2_ClientPollState::values_size() const { + return _internal_values_size(); +} +inline void CMsgGCCStrike15_v2_ClientPollState::clear_values() { + _impl_.values_.Clear(); +} +inline int32_t CMsgGCCStrike15_v2_ClientPollState::_internal_values(int index) const { + return _impl_.values_.Get(index); +} +inline int32_t CMsgGCCStrike15_v2_ClientPollState::values(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.values) + return _internal_values(index); +} +inline void CMsgGCCStrike15_v2_ClientPollState::set_values(int index, int32_t value) { + _impl_.values_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.values) +} +inline void CMsgGCCStrike15_v2_ClientPollState::_internal_add_values(int32_t value) { + _impl_.values_.Add(value); +} +inline void CMsgGCCStrike15_v2_ClientPollState::add_values(int32_t value) { + _internal_add_values(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_ClientPollState::_internal_values() const { + return _impl_.values_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CMsgGCCStrike15_v2_ClientPollState::values() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPollState.values) + return _internal_values(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_ClientPollState::_internal_mutable_values() { + return &_impl_.values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CMsgGCCStrike15_v2_ClientPollState::mutable_values() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPollState.values) + return _internal_mutable_values(); +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Party_Register + +// optional uint32 id = 1; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_id() const { + return _internal_has_id(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.id) + return _internal_id(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.id) +} + +// optional uint32 ver = 2; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_ver() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_ver() const { + return _internal_has_ver(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_ver() { + _impl_.ver_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_ver() const { + return _impl_.ver_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::ver() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.ver) + return _internal_ver(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_ver(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ver_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_ver(uint32_t value) { + _internal_set_ver(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.ver) +} + +// optional uint32 apr = 3; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_apr() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_apr() const { + return _internal_has_apr(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_apr() { + _impl_.apr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_apr() const { + return _impl_.apr_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::apr() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.apr) + return _internal_apr(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_apr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.apr_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_apr(uint32_t value) { + _internal_set_apr(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.apr) +} + +// optional uint32 ark = 4; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_ark() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_ark() const { + return _internal_has_ark(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_ark() { + _impl_.ark_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_ark() const { + return _impl_.ark_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::ark() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.ark) + return _internal_ark(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_ark(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ark_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_ark(uint32_t value) { + _internal_set_ark(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.ark) +} + +// optional uint32 nby = 5; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_nby() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_nby() const { + return _internal_has_nby(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_nby() { + _impl_.nby_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_nby() const { + return _impl_.nby_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::nby() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.nby) + return _internal_nby(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_nby(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.nby_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_nby(uint32_t value) { + _internal_set_nby(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.nby) +} + +// optional uint32 grp = 6; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_grp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_grp() const { + return _internal_has_grp(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_grp() { + _impl_.grp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_grp() const { + return _impl_.grp_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::grp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.grp) + return _internal_grp(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_grp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.grp_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_grp(uint32_t value) { + _internal_set_grp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.grp) +} + +// optional uint32 slots = 7; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_slots() const { + return _internal_has_slots(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_slots() { + _impl_.slots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_slots() const { + return _impl_.slots_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::slots() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.slots) + return _internal_slots(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_slots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.slots_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_slots(uint32_t value) { + _internal_set_slots(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.slots) +} + +// optional uint32 launcher = 8; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_launcher() const { + return _internal_has_launcher(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_launcher() { + _impl_.launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_launcher() const { + return _impl_.launcher_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::launcher() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.launcher) + return _internal_launcher(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.launcher_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_launcher(uint32_t value) { + _internal_set_launcher(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.launcher) +} + +// optional uint32 game_type = 9; +inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Register::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_Register::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Register::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Register::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.game_type) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Party_Search + +// optional uint32 ver = 1; +inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_ver() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Search::has_ver() const { + return _internal_has_ver(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_ver() { + _impl_.ver_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_ver() const { + return _impl_.ver_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::ver() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.ver) + return _internal_ver(); +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_ver(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ver_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Search::set_ver(uint32_t value) { + _internal_set_ver(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.ver) +} + +// optional uint32 apr = 2; +inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_apr() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Search::has_apr() const { + return _internal_has_apr(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_apr() { + _impl_.apr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_apr() const { + return _impl_.apr_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::apr() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.apr) + return _internal_apr(); +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_apr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.apr_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Search::set_apr(uint32_t value) { + _internal_set_apr(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.apr) +} + +// optional uint32 ark = 3; +inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_ark() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Search::has_ark() const { + return _internal_has_ark(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_ark() { + _impl_.ark_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_ark() const { + return _impl_.ark_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::ark() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.ark) + return _internal_ark(); +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_ark(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ark_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Search::set_ark(uint32_t value) { + _internal_set_ark(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.ark) +} + +// repeated uint32 grps = 4; +inline int CMsgGCCStrike15_v2_Party_Search::_internal_grps_size() const { + return _impl_.grps_.size(); +} +inline int CMsgGCCStrike15_v2_Party_Search::grps_size() const { + return _internal_grps_size(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_grps() { + _impl_.grps_.Clear(); +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_grps(int index) const { + return _impl_.grps_.Get(index); +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::grps(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.grps) + return _internal_grps(index); +} +inline void CMsgGCCStrike15_v2_Party_Search::set_grps(int index, uint32_t value) { + _impl_.grps_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.grps) +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_add_grps(uint32_t value) { + _impl_.grps_.Add(value); +} +inline void CMsgGCCStrike15_v2_Party_Search::add_grps(uint32_t value) { + _internal_add_grps(value); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Party_Search.grps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_Party_Search::_internal_grps() const { + return _impl_.grps_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCCStrike15_v2_Party_Search::grps() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Party_Search.grps) + return _internal_grps(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_Party_Search::_internal_mutable_grps() { + return &_impl_.grps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCCStrike15_v2_Party_Search::mutable_grps() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Party_Search.grps) + return _internal_mutable_grps(); +} + +// optional uint32 launcher = 5; +inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Search::has_launcher() const { + return _internal_has_launcher(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_launcher() { + _impl_.launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_launcher() const { + return _impl_.launcher_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::launcher() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.launcher) + return _internal_launcher(); +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.launcher_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Search::set_launcher(uint32_t value) { + _internal_set_launcher(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.launcher) +} + +// optional uint32 game_type = 6; +inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Search::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_Search::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Search::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Search::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.game_type) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Party_SearchResults_Entry + +// optional uint32 id = 1; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_id() const { + return _internal_has_id(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.id) + return _internal_id(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.id) +} + +// optional uint32 grp = 2; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_grp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_grp() const { + return _internal_has_grp(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_grp() { + _impl_.grp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_grp() const { + return _impl_.grp_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::grp() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.grp) + return _internal_grp(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_grp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.grp_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_grp(uint32_t value) { + _internal_set_grp(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.grp) +} + +// optional uint32 game_type = 3; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_game_type() const { + return _internal_has_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_game_type() { + _impl_.game_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_game_type() const { + return _impl_.game_type_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::game_type() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.game_type) + return _internal_game_type(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_game_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.game_type_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_game_type(uint32_t value) { + _internal_set_game_type(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.game_type) +} + +// optional uint32 apr = 4; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_apr() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_apr() const { + return _internal_has_apr(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_apr() { + _impl_.apr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_apr() const { + return _impl_.apr_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::apr() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.apr) + return _internal_apr(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_apr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.apr_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_apr(uint32_t value) { + _internal_set_apr(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.apr) +} + +// optional uint32 ark = 5; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_ark() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_ark() const { + return _internal_has_ark(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_ark() { + _impl_.ark_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_ark() const { + return _impl_.ark_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::ark() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.ark) + return _internal_ark(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_ark(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ark_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_ark(uint32_t value) { + _internal_set_ark(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.ark) +} + +// optional uint32 loc = 6; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_loc() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_loc() const { + return _internal_has_loc(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_loc() { + _impl_.loc_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_loc() const { + return _impl_.loc_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::loc() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.loc) + return _internal_loc(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_loc(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.loc_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_loc(uint32_t value) { + _internal_set_loc(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.loc) +} + +// optional uint32 accountid = 7; +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.accountid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Party_SearchResults + +// repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; +inline int CMsgGCCStrike15_v2_Party_SearchResults::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int CMsgGCCStrike15_v2_Party_SearchResults::entries_size() const { + return _internal_entries_size(); +} +inline void CMsgGCCStrike15_v2_Party_SearchResults::clear_entries() { + _impl_.entries_.Clear(); +} +inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Party_SearchResults.entries) + return _impl_.entries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >* +CMsgGCCStrike15_v2_Party_SearchResults::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Party_SearchResults.entries) + return &_impl_.entries_; +} +inline const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& CMsgGCCStrike15_v2_Party_SearchResults::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& CMsgGCCStrike15_v2_Party_SearchResults::entries(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.entries) + return _internal_entries(index); +} +inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::add_entries() { + ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* _add = _internal_add_entries(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Party_SearchResults.entries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >& +CMsgGCCStrike15_v2_Party_SearchResults::entries() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Party_SearchResults.entries) + return _impl_.entries_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Party_Invite + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_Party_Invite::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Invite::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_Party_Invite::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Invite::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Invite::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Invite.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_Party_Invite::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Invite::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Invite.accountid) +} + +// optional uint32 lobbyid = 2; +inline bool CMsgGCCStrike15_v2_Party_Invite::_internal_has_lobbyid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Party_Invite::has_lobbyid() const { + return _internal_has_lobbyid(); +} +inline void CMsgGCCStrike15_v2_Party_Invite::clear_lobbyid() { + _impl_.lobbyid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Invite::_internal_lobbyid() const { + return _impl_.lobbyid_; +} +inline uint32_t CMsgGCCStrike15_v2_Party_Invite::lobbyid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Invite.lobbyid) + return _internal_lobbyid(); +} +inline void CMsgGCCStrike15_v2_Party_Invite::_internal_set_lobbyid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.lobbyid_ = value; +} +inline void CMsgGCCStrike15_v2_Party_Invite::set_lobbyid(uint32_t value) { + _internal_set_lobbyid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Invite.lobbyid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Account_RequestCoPlays_Player + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.accountid) +} + +// optional uint32 rtcoplay = 2; +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_rtcoplay() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_rtcoplay() const { + return _internal_has_rtcoplay(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_rtcoplay() { + _impl_.rtcoplay_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_rtcoplay() const { + return _impl_.rtcoplay_; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::rtcoplay() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.rtcoplay) + return _internal_rtcoplay(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_rtcoplay(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rtcoplay_ = value; +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_rtcoplay(uint32_t value) { + _internal_set_rtcoplay(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.rtcoplay) +} + +// optional bool online = 3; +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_online() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_online() const { + return _internal_has_online(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_online() { + _impl_.online_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_online() const { + return _impl_.online_; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::online() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.online) + return _internal_online(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_online(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.online_ = value; +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_online(bool value) { + _internal_set_online(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.online) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_Account_RequestCoPlays + +// repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; +inline int CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int CMsgGCCStrike15_v2_Account_RequestCoPlays::players_size() const { + return _internal_players_size(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::clear_players() { + _impl_.players_.Clear(); +} +inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >* +CMsgGCCStrike15_v2_Account_RequestCoPlays::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) + return &_impl_.players_; +} +inline const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& CMsgGCCStrike15_v2_Account_RequestCoPlays::players(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) + return _internal_players(index); +} +inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::add_players() { + ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >& +CMsgGCCStrike15_v2_Account_RequestCoPlays::players() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) + return _impl_.players_; +} + +// optional uint32 servertime = 2; +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_has_servertime() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays::has_servertime() const { + return _internal_has_servertime(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::clear_servertime() { + _impl_.servertime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_servertime() const { + return _impl_.servertime_; +} +inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays::servertime() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.servertime) + return _internal_servertime(); +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_set_servertime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.servertime_ = value; +} +inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::set_servertime(uint32_t value) { + _internal_set_servertime(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.servertime) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientToGCRequestTicket + +// optional fixed64 authorized_steam_id = 1; +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_authorized_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_authorized_steam_id() const { + return _internal_has_authorized_steam_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_authorized_steam_id() { + _impl_.authorized_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_authorized_steam_id() const { + return _impl_.authorized_steam_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::authorized_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_steam_id) + return _internal_authorized_steam_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_authorized_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.authorized_steam_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_authorized_steam_id(uint64_t value) { + _internal_set_authorized_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_steam_id) +} + +// optional fixed32 authorized_public_ip = 2; +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_authorized_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_authorized_public_ip() const { + return _internal_has_authorized_public_ip(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_authorized_public_ip() { + _impl_.authorized_public_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_authorized_public_ip() const { + return _impl_.authorized_public_ip_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::authorized_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_public_ip) + return _internal_authorized_public_ip(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_authorized_public_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.authorized_public_ip_ = value; +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_authorized_public_ip(uint32_t value) { + _internal_set_authorized_public_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_public_ip) +} + +// optional fixed64 gameserver_steam_id = 3; +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_gameserver_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_gameserver_steam_id() const { + return _internal_has_gameserver_steam_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_gameserver_steam_id() { + _impl_.gameserver_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_gameserver_steam_id() const { + return _impl_.gameserver_steam_id_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::gameserver_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_steam_id) + return _internal_gameserver_steam_id(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_gameserver_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gameserver_steam_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_gameserver_steam_id(uint64_t value) { + _internal_set_gameserver_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_steam_id) +} + +// optional string gameserver_sdr_routing = 5; +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_gameserver_sdr_routing() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_gameserver_sdr_routing() const { + return _internal_has_gameserver_sdr_routing(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_gameserver_sdr_routing() { + _impl_.gameserver_sdr_routing_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientToGCRequestTicket::gameserver_sdr_routing() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) + return _internal_gameserver_sdr_routing(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_gameserver_sdr_routing(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_sdr_routing_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::mutable_gameserver_sdr_routing() { + std::string* _s = _internal_mutable_gameserver_sdr_routing(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_gameserver_sdr_routing() const { + return _impl_.gameserver_sdr_routing_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_gameserver_sdr_routing(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_sdr_routing_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_mutable_gameserver_sdr_routing() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.gameserver_sdr_routing_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::release_gameserver_sdr_routing() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) + if (!_internal_has_gameserver_sdr_routing()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.gameserver_sdr_routing_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_sdr_routing_.IsDefault()) { + _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_allocated_gameserver_sdr_routing(std::string* gameserver_sdr_routing) { + if (gameserver_sdr_routing != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.gameserver_sdr_routing_.SetAllocated(gameserver_sdr_routing, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_sdr_routing_.IsDefault()) { + _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) +} + +// ------------------------------------------------------------------- + +// CMsgGCToClientSteamDatagramTicket + +// optional bytes serialized_ticket = 16; +inline bool CMsgGCToClientSteamDatagramTicket::_internal_has_serialized_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCToClientSteamDatagramTicket::has_serialized_ticket() const { + return _internal_has_serialized_ticket(); +} +inline void CMsgGCToClientSteamDatagramTicket::clear_serialized_ticket() { + _impl_.serialized_ticket_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCToClientSteamDatagramTicket::serialized_ticket() const { + // @@protoc_insertion_point(field_get:CMsgGCToClientSteamDatagramTicket.serialized_ticket) + return _internal_serialized_ticket(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCToClientSteamDatagramTicket::set_serialized_ticket(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.serialized_ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCToClientSteamDatagramTicket.serialized_ticket) +} +inline std::string* CMsgGCToClientSteamDatagramTicket::mutable_serialized_ticket() { + std::string* _s = _internal_mutable_serialized_ticket(); + // @@protoc_insertion_point(field_mutable:CMsgGCToClientSteamDatagramTicket.serialized_ticket) + return _s; +} +inline const std::string& CMsgGCToClientSteamDatagramTicket::_internal_serialized_ticket() const { + return _impl_.serialized_ticket_.Get(); +} +inline void CMsgGCToClientSteamDatagramTicket::_internal_set_serialized_ticket(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.serialized_ticket_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCToClientSteamDatagramTicket::_internal_mutable_serialized_ticket() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.serialized_ticket_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCToClientSteamDatagramTicket::release_serialized_ticket() { + // @@protoc_insertion_point(field_release:CMsgGCToClientSteamDatagramTicket.serialized_ticket) + if (!_internal_has_serialized_ticket()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.serialized_ticket_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.serialized_ticket_.IsDefault()) { + _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCToClientSteamDatagramTicket::set_allocated_serialized_ticket(std::string* serialized_ticket) { + if (serialized_ticket != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.serialized_ticket_.SetAllocated(serialized_ticket, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.serialized_ticket_.IsDefault()) { + _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCToClientSteamDatagramTicket.serialized_ticket) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestOffers + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientRequestSouvenir + +// optional uint64 itemid = 1; +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_itemid() const { + return _internal_has_itemid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_itemid() { + _impl_.itemid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_itemid() const { + return _impl_.itemid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::itemid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.itemid) + return _internal_itemid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_itemid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.itemid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_itemid(uint64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.itemid) +} + +// optional uint64 matchid = 2; +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_matchid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_matchid() const { + return _internal_has_matchid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_matchid() { + _impl_.matchid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_matchid() const { + return _impl_.matchid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::matchid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.matchid) + return _internal_matchid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_matchid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.matchid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_matchid(uint64_t value) { + _internal_set_matchid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.matchid) +} + +// optional int32 eventid = 3; +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CMsgGCCStrike15_v2_ClientRequestSouvenir::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.eventid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientAccountBalance + +// optional uint64 amount = 1; +inline bool CMsgGCCStrike15_v2_ClientAccountBalance::_internal_has_amount() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientAccountBalance::has_amount() const { + return _internal_has_amount(); +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::clear_amount() { + _impl_.amount_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientAccountBalance::_internal_amount() const { + return _impl_.amount_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientAccountBalance::amount() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAccountBalance.amount) + return _internal_amount(); +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::_internal_set_amount(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.amount_ = value; +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::set_amount(uint64_t value) { + _internal_set_amount(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAccountBalance.amount) +} + +// optional string url = 2; +inline bool CMsgGCCStrike15_v2_ClientAccountBalance::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientAccountBalance::has_url() const { + return _internal_has_url(); +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientAccountBalance::url() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAccountBalance.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientAccountBalance::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAccountBalance.url) +} +inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientAccountBalance.url) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientAccountBalance::_internal_url() const { + return _impl_.url_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::release_url() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientAccountBalance.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientAccountBalance::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientAccountBalance.url) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPartyJoinRelay + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyJoinRelay.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyJoinRelay.accountid) +} + +// optional uint64 lobbyid = 2; +inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_has_lobbyid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::has_lobbyid() const { + return _internal_has_lobbyid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::clear_lobbyid() { + _impl_.lobbyid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_lobbyid() const { + return _impl_.lobbyid_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::lobbyid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyJoinRelay.lobbyid) + return _internal_lobbyid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_set_lobbyid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.lobbyid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::set_lobbyid(uint64_t value) { + _internal_set_lobbyid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyJoinRelay.lobbyid) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPartyWarning_Entry + +// optional uint32 accountid = 1; +inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.accountid) + return _internal_accountid(); +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.accountid) +} + +// optional uint32 warntype = 2; +inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_has_warntype() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::has_warntype() const { + return _internal_has_warntype(); +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::clear_warntype() { + _impl_.warntype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_warntype() const { + return _impl_.warntype_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::warntype() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.warntype) + return _internal_warntype(); +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_set_warntype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.warntype_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::set_warntype(uint32_t value) { + _internal_set_warntype(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.warntype) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPartyWarning + +// repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; +inline int CMsgGCCStrike15_v2_ClientPartyWarning::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int CMsgGCCStrike15_v2_ClientPartyWarning::entries_size() const { + return _internal_entries_size(); +} +inline void CMsgGCCStrike15_v2_ClientPartyWarning::clear_entries() { + _impl_.entries_.Clear(); +} +inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPartyWarning.entries) + return _impl_.entries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >* +CMsgGCCStrike15_v2_ClientPartyWarning::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPartyWarning.entries) + return &_impl_.entries_; +} +inline const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& CMsgGCCStrike15_v2_ClientPartyWarning::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& CMsgGCCStrike15_v2_ClientPartyWarning::entries(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.entries) + return _internal_entries(index); +} +inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::add_entries() { + ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* _add = _internal_add_entries(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPartyWarning.entries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >& +CMsgGCCStrike15_v2_ClientPartyWarning::entries() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPartyWarning.entries) + return _impl_.entries_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_SetEventFavorite + +// optional uint64 eventid = 1; +inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_SetEventFavorite::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::clear_eventid() { + _impl_.eventid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCCStrike15_v2_SetEventFavorite::_internal_eventid() const { + return _impl_.eventid_; +} +inline uint64_t CMsgGCCStrike15_v2_SetEventFavorite::eventid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetEventFavorite.eventid) + return _internal_eventid(); +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::_internal_set_eventid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eventid_ = value; +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::set_eventid(uint64_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetEventFavorite.eventid) +} + +// optional bool is_favorite = 2; +inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_has_is_favorite() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_SetEventFavorite::has_is_favorite() const { + return _internal_has_is_favorite(); +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::clear_is_favorite() { + _impl_.is_favorite_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_is_favorite() const { + return _impl_.is_favorite_; +} +inline bool CMsgGCCStrike15_v2_SetEventFavorite::is_favorite() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetEventFavorite.is_favorite) + return _internal_is_favorite(); +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::_internal_set_is_favorite(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.is_favorite_ = value; +} +inline void CMsgGCCStrike15_v2_SetEventFavorite::set_is_favorite(bool value) { + _internal_set_is_favorite(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetEventFavorite.is_favorite) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GetEventFavorites_Request + +// optional bool all_events = 1; +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_has_all_events() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::has_all_events() const { + return _internal_has_all_events(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::clear_all_events() { + _impl_.all_events_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_all_events() const { + return _impl_.all_events_; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::all_events() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Request.all_events) + return _internal_all_events(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_set_all_events(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.all_events_ = value; +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::set_all_events(bool value) { + _internal_set_all_events(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Request.all_events) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GetEventFavorites_Response + +// optional bool all_events = 1; +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_all_events() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_all_events() const { + return _internal_has_all_events(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_all_events() { + _impl_.all_events_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_all_events() const { + return _impl_.all_events_; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::all_events() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.all_events) + return _internal_all_events(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_all_events(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.all_events_ = value; +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_all_events(bool value) { + _internal_set_all_events(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.all_events) +} + +// optional string json_favorites = 2; +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_json_favorites() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_json_favorites() const { + return _internal_has_json_favorites(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_json_favorites() { + _impl_.json_favorites_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::json_favorites() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) + return _internal_json_favorites(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_json_favorites(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.json_favorites_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::mutable_json_favorites() { + std::string* _s = _internal_mutable_json_favorites(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_json_favorites() const { + return _impl_.json_favorites_.Get(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_json_favorites(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.json_favorites_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_mutable_json_favorites() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.json_favorites_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::release_json_favorites() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) + if (!_internal_has_json_favorites()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.json_favorites_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.json_favorites_.IsDefault()) { + _impl_.json_favorites_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_allocated_json_favorites(std::string* json_favorites) { + if (json_favorites != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.json_favorites_.SetAllocated(json_favorites, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.json_favorites_.IsDefault()) { + _impl_.json_favorites_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) +} + +// optional string json_featured = 3; +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_json_featured() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_json_featured() const { + return _internal_has_json_featured(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_json_featured() { + _impl_.json_featured_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::json_featured() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) + return _internal_json_featured(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_json_featured(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.json_featured_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::mutable_json_featured() { + std::string* _s = _internal_mutable_json_featured(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_json_featured() const { + return _impl_.json_featured_.Get(); +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_json_featured(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.json_featured_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_mutable_json_featured() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.json_featured_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::release_json_featured() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) + if (!_internal_has_json_featured()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.json_featured_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.json_featured_.IsDefault()) { + _impl_.json_featured_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_allocated_json_featured(std::string* json_featured) { + if (json_featured != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.json_featured_.SetAllocated(json_featured, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.json_featured_.IsDefault()) { + _impl_.json_featured_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPerfReport_Entry + +// optional uint32 perfcounter = 1; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_perfcounter() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_perfcounter() const { + return _internal_has_perfcounter(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_perfcounter() { + _impl_.perfcounter_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_perfcounter() const { + return _impl_.perfcounter_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::perfcounter() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.perfcounter) + return _internal_perfcounter(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_perfcounter(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.perfcounter_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_perfcounter(uint32_t value) { + _internal_set_perfcounter(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.perfcounter) +} + +// optional uint32 length = 2; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_length() const { + return _internal_has_length(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_length() { + _impl_.length_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_length() const { + return _impl_.length_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::length() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.length) + return _internal_length(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_length(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.length_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_length(uint32_t value) { + _internal_set_length(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.length) +} + +// optional bytes reference = 3; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_reference() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_reference() const { + return _internal_has_reference(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_reference() { + _impl_.reference_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::reference() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) + return _internal_reference(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_reference(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.reference_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::mutable_reference() { + std::string* _s = _internal_mutable_reference(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_reference() const { + return _impl_.reference_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_reference(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.reference_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_mutable_reference() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.reference_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::release_reference() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) + if (!_internal_has_reference()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.reference_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.reference_.IsDefault()) { + _impl_.reference_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_allocated_reference(std::string* reference) { + if (reference != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.reference_.SetAllocated(reference, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.reference_.IsDefault()) { + _impl_.reference_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) +} + +// optional bytes actual = 4; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_actual() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_actual() const { + return _internal_has_actual(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_actual() { + _impl_.actual_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::actual() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) + return _internal_actual(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_actual(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.actual_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::mutable_actual() { + std::string* _s = _internal_mutable_actual(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_actual() const { + return _impl_.actual_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_actual(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.actual_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_mutable_actual() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.actual_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::release_actual() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) + if (!_internal_has_actual()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.actual_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.actual_.IsDefault()) { + _impl_.actual_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_allocated_actual(std::string* actual) { + if (actual != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.actual_.SetAllocated(actual, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.actual_.IsDefault()) { + _impl_.actual_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) +} + +// optional uint32 sourceid = 5; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_sourceid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_sourceid() const { + return _internal_has_sourceid(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_sourceid() { + _impl_.sourceid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_sourceid() const { + return _impl_.sourceid_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::sourceid() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.sourceid) + return _internal_sourceid(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_sourceid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.sourceid_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_sourceid(uint32_t value) { + _internal_set_sourceid(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.sourceid) +} + +// optional uint32 status = 6; +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_status() const { + return _internal_has_status(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_status() { + _impl_.status_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_status() const { + return _impl_.status_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::status() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.status) + return _internal_status(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_status(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.status_ = value; +} +inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_status(uint32_t value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.status) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientPerfReport + +// repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; +inline int CMsgGCCStrike15_v2_ClientPerfReport::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int CMsgGCCStrike15_v2_ClientPerfReport::entries_size() const { + return _internal_entries_size(); +} +inline void CMsgGCCStrike15_v2_ClientPerfReport::clear_entries() { + _impl_.entries_.Clear(); +} +inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.entries) + return _impl_.entries_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >* +CMsgGCCStrike15_v2_ClientPerfReport::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPerfReport.entries) + return &_impl_.entries_; +} +inline const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& CMsgGCCStrike15_v2_ClientPerfReport::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& CMsgGCCStrike15_v2_ClientPerfReport::entries(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.entries) + return _internal_entries(index); +} +inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::add_entries() { + ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* _add = _internal_add_entries(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPerfReport.entries) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >& +CMsgGCCStrike15_v2_ClientPerfReport::entries() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPerfReport.entries) + return _impl_.entries_; +} + +// ------------------------------------------------------------------- + +// CVDiagnostic + +// optional uint32 id = 1; +inline bool CVDiagnostic::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CVDiagnostic::has_id() const { + return _internal_has_id(); +} +inline void CVDiagnostic::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CVDiagnostic::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CVDiagnostic::id() const { + // @@protoc_insertion_point(field_get:CVDiagnostic.id) + return _internal_id(); +} +inline void CVDiagnostic::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.id_ = value; +} +inline void CVDiagnostic::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CVDiagnostic.id) +} + +// optional uint32 extended = 2; +inline bool CVDiagnostic::_internal_has_extended() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CVDiagnostic::has_extended() const { + return _internal_has_extended(); +} +inline void CVDiagnostic::clear_extended() { + _impl_.extended_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CVDiagnostic::_internal_extended() const { + return _impl_.extended_; +} +inline uint32_t CVDiagnostic::extended() const { + // @@protoc_insertion_point(field_get:CVDiagnostic.extended) + return _internal_extended(); +} +inline void CVDiagnostic::_internal_set_extended(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.extended_ = value; +} +inline void CVDiagnostic::set_extended(uint32_t value) { + _internal_set_extended(value); + // @@protoc_insertion_point(field_set:CVDiagnostic.extended) +} + +// optional uint64 value = 3; +inline bool CVDiagnostic::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CVDiagnostic::has_value() const { + return _internal_has_value(); +} +inline void CVDiagnostic::clear_value() { + _impl_.value_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CVDiagnostic::_internal_value() const { + return _impl_.value_; +} +inline uint64_t CVDiagnostic::value() const { + // @@protoc_insertion_point(field_get:CVDiagnostic.value) + return _internal_value(); +} +inline void CVDiagnostic::_internal_set_value(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.value_ = value; +} +inline void CVDiagnostic::set_value(uint64_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CVDiagnostic.value) +} + +// optional string string_value = 4; +inline bool CVDiagnostic::_internal_has_string_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CVDiagnostic::has_string_value() const { + return _internal_has_string_value(); +} +inline void CVDiagnostic::clear_string_value() { + _impl_.string_value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CVDiagnostic::string_value() const { + // @@protoc_insertion_point(field_get:CVDiagnostic.string_value) + return _internal_string_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CVDiagnostic::set_string_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CVDiagnostic.string_value) +} +inline std::string* CVDiagnostic::mutable_string_value() { + std::string* _s = _internal_mutable_string_value(); + // @@protoc_insertion_point(field_mutable:CVDiagnostic.string_value) + return _s; +} +inline const std::string& CVDiagnostic::_internal_string_value() const { + return _impl_.string_value_.Get(); +} +inline void CVDiagnostic::_internal_set_string_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CVDiagnostic::_internal_mutable_string_value() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.string_value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CVDiagnostic::release_string_value() { + // @@protoc_insertion_point(field_release:CVDiagnostic.string_value) + if (!_internal_has_string_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.string_value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CVDiagnostic::set_allocated_string_value(std::string* string_value) { + if (string_value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CVDiagnostic.string_value) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_ClientReportValidation + +// optional string file_report = 1; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_file_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_file_report() const { + return _internal_has_file_report(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_file_report() { + _impl_.file_report_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::file_report() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.file_report) + return _internal_file_report(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientReportValidation::set_file_report(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.file_report) +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_file_report() { + std::string* _s = _internal_mutable_file_report(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.file_report) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_file_report() const { + return _impl_.file_report_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_file_report(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_file_report() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.file_report_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_file_report() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.file_report) + if (!_internal_has_file_report()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.file_report_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_file_report(std::string* file_report) { + if (file_report != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.file_report) +} + +// optional string command_line = 2; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_command_line() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_command_line() const { + return _internal_has_command_line(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_command_line() { + _impl_.command_line_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::command_line() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.command_line) + return _internal_command_line(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientReportValidation::set_command_line(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.command_line_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.command_line) +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_command_line() { + std::string* _s = _internal_mutable_command_line(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.command_line) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_command_line() const { + return _impl_.command_line_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_command_line(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.command_line_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_command_line() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.command_line_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_command_line() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.command_line) + if (!_internal_has_command_line()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.command_line_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_line_.IsDefault()) { + _impl_.command_line_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_command_line(std::string* command_line) { + if (command_line != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.command_line_.SetAllocated(command_line, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_line_.IsDefault()) { + _impl_.command_line_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.command_line) +} + +// optional uint32 total_files = 3; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_total_files() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_total_files() const { + return _internal_has_total_files(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_total_files() { + _impl_.total_files_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_total_files() const { + return _impl_.total_files_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::total_files() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.total_files) + return _internal_total_files(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_total_files(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.total_files_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_total_files(uint32_t value) { + _internal_set_total_files(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.total_files) +} + +// optional uint32 internal_error = 4; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_internal_error() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_internal_error() const { + return _internal_has_internal_error(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_internal_error() { + _impl_.internal_error_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_internal_error() const { + return _impl_.internal_error_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::internal_error() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.internal_error) + return _internal_internal_error(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_internal_error(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.internal_error_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_internal_error(uint32_t value) { + _internal_set_internal_error(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.internal_error) +} + +// optional uint32 trust_time = 5; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_trust_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_trust_time() const { + return _internal_has_trust_time(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_trust_time() { + _impl_.trust_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_trust_time() const { + return _impl_.trust_time_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::trust_time() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.trust_time) + return _internal_trust_time(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_trust_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.trust_time_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_trust_time(uint32_t value) { + _internal_set_trust_time(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.trust_time) +} + +// optional uint32 count_pending = 6; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_count_pending() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_count_pending() const { + return _internal_has_count_pending(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_count_pending() { + _impl_.count_pending_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_count_pending() const { + return _impl_.count_pending_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::count_pending() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.count_pending) + return _internal_count_pending(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_count_pending(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.count_pending_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_count_pending(uint32_t value) { + _internal_set_count_pending(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.count_pending) +} + +// optional uint32 count_completed = 7; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_count_completed() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_count_completed() const { + return _internal_has_count_completed(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_count_completed() { + _impl_.count_completed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_count_completed() const { + return _impl_.count_completed_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::count_completed() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.count_completed) + return _internal_count_completed(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_count_completed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.count_completed_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_count_completed(uint32_t value) { + _internal_set_count_completed(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.count_completed) +} + +// optional uint32 process_id = 8; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_process_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_process_id() const { + return _internal_has_process_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_process_id() { + _impl_.process_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_process_id() const { + return _impl_.process_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::process_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.process_id) + return _internal_process_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_process_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.process_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_process_id(uint32_t value) { + _internal_set_process_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.process_id) +} + +// optional int32 osversion = 9; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_osversion() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_osversion() const { + return _internal_has_osversion(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_osversion() { + _impl_.osversion_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_osversion() const { + return _impl_.osversion_; +} +inline int32_t CMsgGCCStrike15_v2_ClientReportValidation::osversion() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.osversion) + return _internal_osversion(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_osversion(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.osversion_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_osversion(int32_t value) { + _internal_set_osversion(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.osversion) +} + +// optional uint32 clientreportversion = 10; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_clientreportversion() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_clientreportversion() const { + return _internal_has_clientreportversion(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_clientreportversion() { + _impl_.clientreportversion_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_clientreportversion() const { + return _impl_.clientreportversion_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::clientreportversion() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.clientreportversion) + return _internal_clientreportversion(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_clientreportversion(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.clientreportversion_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_clientreportversion(uint32_t value) { + _internal_set_clientreportversion(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.clientreportversion) +} + +// optional uint32 status_id = 11; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_status_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_status_id() const { + return _internal_has_status_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_status_id() { + _impl_.status_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_status_id() const { + return _impl_.status_id_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::status_id() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.status_id) + return _internal_status_id(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_status_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.status_id_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_status_id(uint32_t value) { + _internal_set_status_id(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.status_id) +} + +// optional uint32 diagnostic1 = 12; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic1() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic1() const { + return _internal_has_diagnostic1(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic1() { + _impl_.diagnostic1_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic1() const { + return _impl_.diagnostic1_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic1() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic1) + return _internal_diagnostic1(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic1(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.diagnostic1_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic1(uint32_t value) { + _internal_set_diagnostic1(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic1) +} + +// optional uint64 diagnostic2 = 13; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic2() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic2() const { + return _internal_has_diagnostic2(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic2() { + _impl_.diagnostic2_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic2() const { + return _impl_.diagnostic2_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic2() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic2) + return _internal_diagnostic2(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic2(uint64_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.diagnostic2_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic2(uint64_t value) { + _internal_set_diagnostic2(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic2) +} + +// optional uint64 diagnostic3 = 14; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic3() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic3() const { + return _internal_has_diagnostic3(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic3() { + _impl_.diagnostic3_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic3() const { + return _impl_.diagnostic3_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic3() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic3) + return _internal_diagnostic3(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic3(uint64_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.diagnostic3_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic3(uint64_t value) { + _internal_set_diagnostic3(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic3) +} + +// optional string last_launch_data = 15; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_last_launch_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_last_launch_data() const { + return _internal_has_last_launch_data(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_last_launch_data() { + _impl_.last_launch_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::last_launch_data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) + return _internal_last_launch_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_ClientReportValidation::set_last_launch_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.last_launch_data_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_last_launch_data() { + std::string* _s = _internal_mutable_last_launch_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_last_launch_data() const { + return _impl_.last_launch_data_.Get(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_last_launch_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.last_launch_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_last_launch_data() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.last_launch_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_last_launch_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) + if (!_internal_has_last_launch_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.last_launch_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.last_launch_data_.IsDefault()) { + _impl_.last_launch_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_last_launch_data(std::string* last_launch_data) { + if (last_launch_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.last_launch_data_.SetAllocated(last_launch_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.last_launch_data_.IsDefault()) { + _impl_.last_launch_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) +} + +// optional uint32 report_count = 16; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_report_count() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_report_count() const { + return _internal_has_report_count(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_report_count() { + _impl_.report_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_report_count() const { + return _impl_.report_count_; +} +inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::report_count() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.report_count) + return _internal_report_count(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_report_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.report_count_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_report_count(uint32_t value) { + _internal_set_report_count(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.report_count) +} + +// optional uint64 client_time = 17; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_client_time() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_client_time() const { + return _internal_has_client_time(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_client_time() { + _impl_.client_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_client_time() const { + return _impl_.client_time_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::client_time() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.client_time) + return _internal_client_time(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_client_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.client_time_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_client_time(uint64_t value) { + _internal_set_client_time(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.client_time) +} + +// optional uint64 diagnostic4 = 18; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic4() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic4() const { + return _internal_has_diagnostic4(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic4() { + _impl_.diagnostic4_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic4() const { + return _impl_.diagnostic4_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic4() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic4) + return _internal_diagnostic4(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic4(uint64_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.diagnostic4_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic4(uint64_t value) { + _internal_set_diagnostic4(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic4) +} + +// optional uint64 diagnostic5 = 19; +inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic5() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic5() const { + return _internal_has_diagnostic5(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic5() { + _impl_.diagnostic5_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic5() const { + return _impl_.diagnostic5_; +} +inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic5() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic5) + return _internal_diagnostic5(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic5(uint64_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.diagnostic5_ = value; +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic5(uint64_t value) { + _internal_set_diagnostic5(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic5) +} + +// repeated .CVDiagnostic diagnostics = 20; +inline int CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostics_size() const { + return _impl_.diagnostics_.size(); +} +inline int CMsgGCCStrike15_v2_ClientReportValidation::diagnostics_size() const { + return _internal_diagnostics_size(); +} +inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostics() { + _impl_.diagnostics_.Clear(); +} +inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::mutable_diagnostics(int index) { + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) + return _impl_.diagnostics_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >* +CMsgGCCStrike15_v2_ClientReportValidation::mutable_diagnostics() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) + return &_impl_.diagnostics_; +} +inline const ::CVDiagnostic& CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostics(int index) const { + return _impl_.diagnostics_.Get(index); +} +inline const ::CVDiagnostic& CMsgGCCStrike15_v2_ClientReportValidation::diagnostics(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) + return _internal_diagnostics(index); +} +inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::_internal_add_diagnostics() { + return _impl_.diagnostics_.Add(); +} +inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::add_diagnostics() { + ::CVDiagnostic* _add = _internal_add_diagnostics(); + // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >& +CMsgGCCStrike15_v2_ClientReportValidation::diagnostics() const { + // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) + return _impl_.diagnostics_; +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode + +// optional string file_report = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_file_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_file_report() const { + return _internal_has_file_report(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_file_report() { + _impl_.file_report_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::file_report() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) + return _internal_file_report(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_file_report(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::mutable_file_report() { + std::string* _s = _internal_mutable_file_report(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_file_report() const { + return _impl_.file_report_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_file_report(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_mutable_file_report() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.file_report_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::release_file_report() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) + if (!_internal_has_file_report()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.file_report_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_allocated_file_report(std::string* file_report) { + if (file_report != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) +} + +// optional bool offer_insecure_mode = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_offer_insecure_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_offer_insecure_mode() const { + return _internal_has_offer_insecure_mode(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_offer_insecure_mode() { + _impl_.offer_insecure_mode_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_offer_insecure_mode() const { + return _impl_.offer_insecure_mode_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::offer_insecure_mode() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_insecure_mode) + return _internal_offer_insecure_mode(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_offer_insecure_mode(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.offer_insecure_mode_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_offer_insecure_mode(bool value) { + _internal_set_offer_insecure_mode(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_insecure_mode) +} + +// optional bool offer_secure_mode = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_offer_secure_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_offer_secure_mode() const { + return _internal_has_offer_secure_mode(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_offer_secure_mode() { + _impl_.offer_secure_mode_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_offer_secure_mode() const { + return _impl_.offer_secure_mode_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::offer_secure_mode() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_secure_mode) + return _internal_offer_secure_mode(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_offer_secure_mode(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.offer_secure_mode_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_offer_secure_mode(bool value) { + _internal_set_offer_secure_mode(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_secure_mode) +} + +// optional bool show_unsigned_ui = 4; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_unsigned_ui() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_unsigned_ui() const { + return _internal_has_show_unsigned_ui(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_unsigned_ui() { + _impl_.show_unsigned_ui_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_unsigned_ui() const { + return _impl_.show_unsigned_ui_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_unsigned_ui() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_unsigned_ui) + return _internal_show_unsigned_ui(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_unsigned_ui(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.show_unsigned_ui_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_unsigned_ui(bool value) { + _internal_set_show_unsigned_ui(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_unsigned_ui) +} + +// optional bool kick_user = 5; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_kick_user() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_kick_user() const { + return _internal_has_kick_user(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_kick_user() { + _impl_.kick_user_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_kick_user() const { + return _impl_.kick_user_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::kick_user() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.kick_user) + return _internal_kick_user(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_kick_user(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.kick_user_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_kick_user(bool value) { + _internal_set_kick_user(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.kick_user) +} + +// optional bool show_trusted_ui = 6; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_trusted_ui() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_trusted_ui() const { + return _internal_has_show_trusted_ui(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_trusted_ui() { + _impl_.show_trusted_ui_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_trusted_ui() const { + return _impl_.show_trusted_ui_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_trusted_ui() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_trusted_ui) + return _internal_show_trusted_ui(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_trusted_ui(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.show_trusted_ui_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_trusted_ui(bool value) { + _internal_set_show_trusted_ui(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_trusted_ui) +} + +// optional bool show_warning_not_trusted = 7; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_warning_not_trusted() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_warning_not_trusted() const { + return _internal_has_show_warning_not_trusted(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_warning_not_trusted() { + _impl_.show_warning_not_trusted_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_warning_not_trusted() const { + return _impl_.show_warning_not_trusted_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_warning_not_trusted() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted) + return _internal_show_warning_not_trusted(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_warning_not_trusted(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.show_warning_not_trusted_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_warning_not_trusted(bool value) { + _internal_set_show_warning_not_trusted(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted) +} + +// optional bool show_warning_not_trusted_2 = 8; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_warning_not_trusted_2() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_warning_not_trusted_2() const { + return _internal_has_show_warning_not_trusted_2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_warning_not_trusted_2() { + _impl_.show_warning_not_trusted_2_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_warning_not_trusted_2() const { + return _impl_.show_warning_not_trusted_2_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_warning_not_trusted_2() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted_2) + return _internal_show_warning_not_trusted_2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_warning_not_trusted_2(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.show_warning_not_trusted_2_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_warning_not_trusted_2(bool value) { + _internal_set_show_warning_not_trusted_2(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted_2) +} + +// optional string files_prevented_trusted = 9; +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_files_prevented_trusted() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_files_prevented_trusted() const { + return _internal_has_files_prevented_trusted(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_files_prevented_trusted() { + _impl_.files_prevented_trusted_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::files_prevented_trusted() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) + return _internal_files_prevented_trusted(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_files_prevented_trusted(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.files_prevented_trusted_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::mutable_files_prevented_trusted() { + std::string* _s = _internal_mutable_files_prevented_trusted(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_files_prevented_trusted() const { + return _impl_.files_prevented_trusted_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_files_prevented_trusted(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.files_prevented_trusted_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_mutable_files_prevented_trusted() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.files_prevented_trusted_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::release_files_prevented_trusted() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) + if (!_internal_has_files_prevented_trusted()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.files_prevented_trusted_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.files_prevented_trusted_.IsDefault()) { + _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_allocated_files_prevented_trusted(std::string* files_prevented_trusted) { + if (files_prevented_trusted != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.files_prevented_trusted_.SetAllocated(files_prevented_trusted, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.files_prevented_trusted_.IsDefault()) { + _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientRequestValidation + +// optional bool full_report = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_has_full_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::has_full_report() const { + return _internal_has_full_report(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::clear_full_report() { + _impl_.full_report_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_full_report() const { + return _impl_.full_report_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::full_report() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRequestValidation.full_report) + return _internal_full_report(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_set_full_report(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.full_report_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_full_report(bool value) { + _internal_set_full_report(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRequestValidation.full_report) +} + +// optional string module = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_has_module() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::has_module() const { + return _internal_has_module(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::clear_module() { + _impl_.module_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRequestValidation::module() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) + return _internal_module(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_module(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.module_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::mutable_module() { + std::string* _s = _internal_mutable_module(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_module() const { + return _impl_.module_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_set_module(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.module_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_mutable_module() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.module_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::release_module() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) + if (!_internal_has_module()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.module_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.module_.IsDefault()) { + _impl_.module_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_allocated_module(std::string* module) { + if (module != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.module_.SetAllocated(module, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.module_.IsDefault()) { + _impl_.module_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientInitSystem + +// optional bool load = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_load() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_load() const { + return _internal_has_load(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_load() { + _impl_.load_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_load() const { + return _impl_.load_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::load() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.load) + return _internal_load(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_load(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.load_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_load(bool value) { + _internal_set_load(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.load) +} + +// optional string name = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_name() const { + return _internal_has_name(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::name() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_name() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) +} + +// optional string outputname = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_outputname() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_outputname() const { + return _internal_has_outputname(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_outputname() { + _impl_.outputname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::outputname() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) + return _internal_outputname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_outputname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.outputname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_outputname() { + std::string* _s = _internal_mutable_outputname(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_outputname() const { + return _impl_.outputname_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_outputname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.outputname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_outputname() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.outputname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_outputname() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) + if (!_internal_has_outputname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.outputname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.outputname_.IsDefault()) { + _impl_.outputname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_outputname(std::string* outputname) { + if (outputname != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.outputname_.SetAllocated(outputname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.outputname_.IsDefault()) { + _impl_.outputname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) +} + +// optional bytes key_data = 4; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_key_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_key_data() const { + return _internal_has_key_data(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_key_data() { + _impl_.key_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::key_data() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) + return _internal_key_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_key_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_key_data() { + std::string* _s = _internal_mutable_key_data(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_key_data() const { + return _impl_.key_data_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_key_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.key_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_key_data() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.key_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_key_data() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) + if (!_internal_has_key_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.key_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_key_data(std::string* key_data) { + if (key_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) +} + +// optional bytes sha_hash = 5; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_sha_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_sha_hash() const { + return _internal_has_sha_hash(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_sha_hash() { + _impl_.sha_hash_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::sha_hash() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) + return _internal_sha_hash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_sha_hash(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.sha_hash_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_sha_hash() { + std::string* _s = _internal_mutable_sha_hash(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_sha_hash() const { + return _impl_.sha_hash_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_sha_hash(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.sha_hash_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_sha_hash() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.sha_hash_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_sha_hash() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) + if (!_internal_has_sha_hash()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.sha_hash_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sha_hash_.IsDefault()) { + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_sha_hash(std::string* sha_hash) { + if (sha_hash != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.sha_hash_.SetAllocated(sha_hash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sha_hash_.IsDefault()) { + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) +} + +// optional int32 cookie = 6; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_cookie() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_cookie() const { + return _internal_has_cookie(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_cookie() { + _impl_.cookie_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_cookie() const { + return _impl_.cookie_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem::cookie() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.cookie) + return _internal_cookie(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_cookie(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.cookie_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_cookie(int32_t value) { + _internal_set_cookie(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.cookie) +} + +// optional string manifest = 7; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_manifest() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_manifest() const { + return _internal_has_manifest(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_manifest() { + _impl_.manifest_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::manifest() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) + return _internal_manifest(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_manifest(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.manifest_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_manifest() { + std::string* _s = _internal_mutable_manifest(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_manifest() const { + return _impl_.manifest_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_manifest(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.manifest_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_manifest() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.manifest_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_manifest() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) + if (!_internal_has_manifest()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.manifest_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.manifest_.IsDefault()) { + _impl_.manifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_manifest(std::string* manifest) { + if (manifest != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.manifest_.SetAllocated(manifest, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.manifest_.IsDefault()) { + _impl_.manifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) +} + +// optional bytes system_package = 8; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_system_package() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_system_package() const { + return _internal_has_system_package(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_system_package() { + _impl_.system_package_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::system_package() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) + return _internal_system_package(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_system_package(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.system_package_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_system_package() { + std::string* _s = _internal_mutable_system_package(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_system_package() const { + return _impl_.system_package_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_system_package(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.system_package_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_system_package() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.system_package_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_system_package() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) + if (!_internal_has_system_package()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.system_package_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.system_package_.IsDefault()) { + _impl_.system_package_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_system_package(std::string* system_package) { + if (system_package != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.system_package_.SetAllocated(system_package, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.system_package_.IsDefault()) { + _impl_.system_package_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) +} + +// optional bool load_system = 9; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_load_system() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_load_system() const { + return _internal_has_load_system(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_load_system() { + _impl_.load_system_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_load_system() const { + return _impl_.load_system_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::load_system() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.load_system) + return _internal_load_system(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_load_system(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.load_system_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_load_system(bool value) { + _internal_set_load_system(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.load_system) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_GC2ClientInitSystem_Response + +// optional bool success = 1; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_success() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_success() const { + return _internal_has_success(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_success() { + _impl_.success_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_success() const { + return _impl_.success_; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::success() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.success) + return _internal_success(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_success(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.success_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_success(bool value) { + _internal_set_success(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.success) +} + +// optional string diagnostic = 2; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_diagnostic() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_diagnostic() const { + return _internal_has_diagnostic(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_diagnostic() { + _impl_.diagnostic_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::diagnostic() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) + return _internal_diagnostic(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_diagnostic(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.diagnostic_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::mutable_diagnostic() { + std::string* _s = _internal_mutable_diagnostic(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_diagnostic() const { + return _impl_.diagnostic_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_diagnostic(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.diagnostic_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_mutable_diagnostic() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.diagnostic_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::release_diagnostic() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) + if (!_internal_has_diagnostic()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.diagnostic_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.diagnostic_.IsDefault()) { + _impl_.diagnostic_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_allocated_diagnostic(std::string* diagnostic) { + if (diagnostic != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.diagnostic_.SetAllocated(diagnostic, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.diagnostic_.IsDefault()) { + _impl_.diagnostic_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) +} + +// optional bytes sha_hash = 3; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_sha_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_sha_hash() const { + return _internal_has_sha_hash(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_sha_hash() { + _impl_.sha_hash_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::sha_hash() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) + return _internal_sha_hash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_sha_hash(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sha_hash_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::mutable_sha_hash() { + std::string* _s = _internal_mutable_sha_hash(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_sha_hash() const { + return _impl_.sha_hash_.Get(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_sha_hash(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sha_hash_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_mutable_sha_hash() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.sha_hash_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::release_sha_hash() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) + if (!_internal_has_sha_hash()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.sha_hash_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sha_hash_.IsDefault()) { + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_allocated_sha_hash(std::string* sha_hash) { + if (sha_hash != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.sha_hash_.SetAllocated(sha_hash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sha_hash_.IsDefault()) { + _impl_.sha_hash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) +} + +// optional int32 response = 4; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_response() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_response() const { + return _internal_has_response(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_response() { + _impl_.response_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_response() const { + return _impl_.response_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::response() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.response) + return _internal_response(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_response(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.response_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_response(int32_t value) { + _internal_set_response(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.response) +} + +// optional int32 error_code1 = 5; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_error_code1() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_error_code1() const { + return _internal_has_error_code1(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_error_code1() { + _impl_.error_code1_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_error_code1() const { + return _impl_.error_code1_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::error_code1() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code1) + return _internal_error_code1(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_error_code1(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.error_code1_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_error_code1(int32_t value) { + _internal_set_error_code1(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code1) +} + +// optional int32 error_code2 = 6; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_error_code2() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_error_code2() const { + return _internal_has_error_code2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_error_code2() { + _impl_.error_code2_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_error_code2() const { + return _impl_.error_code2_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::error_code2() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code2) + return _internal_error_code2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_error_code2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.error_code2_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_error_code2(int32_t value) { + _internal_set_error_code2(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code2) +} + +// optional int64 handle = 7; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_handle() const { + return _internal_has_handle(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_handle() { + _impl_.handle_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int64_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_handle() const { + return _impl_.handle_; +} +inline int64_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::handle() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.handle) + return _internal_handle(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_handle(int64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.handle_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_handle(int64_t value) { + _internal_set_handle(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.handle) +} + +// optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_einit_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_einit_result() const { + return _internal_has_einit_result(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_einit_result() { + _impl_.einit_result_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline ::EInitSystemResult CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_einit_result() const { + return static_cast< ::EInitSystemResult >(_impl_.einit_result_); +} +inline ::EInitSystemResult CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::einit_result() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.einit_result) + return _internal_einit_result(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_einit_result(::EInitSystemResult value) { + assert(::EInitSystemResult_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.einit_result_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_einit_result(::EInitSystemResult value) { + _internal_set_einit_result(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.einit_result) +} + +// optional int32 aux_system1 = 9; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_aux_system1() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_aux_system1() const { + return _internal_has_aux_system1(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_aux_system1() { + _impl_.aux_system1_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_aux_system1() const { + return _impl_.aux_system1_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::aux_system1() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system1) + return _internal_aux_system1(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_aux_system1(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.aux_system1_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_aux_system1(int32_t value) { + _internal_set_aux_system1(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system1) +} + +// optional int32 aux_system2 = 10; +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_aux_system2() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_aux_system2() const { + return _internal_has_aux_system2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_aux_system2() { + _impl_.aux_system2_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_aux_system2() const { + return _impl_.aux_system2_; +} +inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::aux_system2() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system2) + return _internal_aux_system2(); +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_aux_system2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.aux_system2_ = value; +} +inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_aux_system2(int32_t value) { + _internal_set_aux_system2(value); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system2) +} + +// ------------------------------------------------------------------- + +// CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName + +// optional string leaderboard_safe_name = 1; +inline bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_has_leaderboard_safe_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::has_leaderboard_safe_name() const { + return _internal_has_leaderboard_safe_name(); +} +inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::clear_leaderboard_safe_name() { + _impl_.leaderboard_safe_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::leaderboard_safe_name() const { + // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) + return _internal_leaderboard_safe_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::set_leaderboard_safe_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_safe_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) +} +inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::mutable_leaderboard_safe_name() { + std::string* _s = _internal_mutable_leaderboard_safe_name(); + // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) + return _s; +} +inline const std::string& CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_leaderboard_safe_name() const { + return _impl_.leaderboard_safe_name_.Get(); +} +inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_set_leaderboard_safe_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.leaderboard_safe_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_mutable_leaderboard_safe_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.leaderboard_safe_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::release_leaderboard_safe_name() { + // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) + if (!_internal_has_leaderboard_safe_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.leaderboard_safe_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_safe_name_.IsDefault()) { + _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::set_allocated_leaderboard_safe_name(std::string* leaderboard_safe_name) { + if (leaderboard_safe_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.leaderboard_safe_name_.SetAllocated(leaderboard_safe_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.leaderboard_safe_name_.IsDefault()) { + _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) +} + +// ------------------------------------------------------------------- + +// CMsgRequestRecurringMissionSchedule + +// ------------------------------------------------------------------- + +// CMsgRecurringMissionSchema_MissionTemplateList + +// optional uint32 period = 1; +inline bool CMsgRecurringMissionSchema_MissionTemplateList::_internal_has_period() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgRecurringMissionSchema_MissionTemplateList::has_period() const { + return _internal_has_period(); +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::clear_period() { + _impl_.period_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgRecurringMissionSchema_MissionTemplateList::_internal_period() const { + return _impl_.period_; +} +inline uint32_t CMsgRecurringMissionSchema_MissionTemplateList::period() const { + // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.MissionTemplateList.period) + return _internal_period(); +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::_internal_set_period(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.period_ = value; +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::set_period(uint32_t value) { + _internal_set_period(value); + // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.period) +} + +// repeated bytes mission_templates = 2; +inline int CMsgRecurringMissionSchema_MissionTemplateList::_internal_mission_templates_size() const { + return _impl_.mission_templates_.size(); +} +inline int CMsgRecurringMissionSchema_MissionTemplateList::mission_templates_size() const { + return _internal_mission_templates_size(); +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::clear_mission_templates() { + _impl_.mission_templates_.Clear(); +} +inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates() { + std::string* _s = _internal_add_mission_templates(); + // @@protoc_insertion_point(field_add_mutable:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) + return _s; +} +inline const std::string& CMsgRecurringMissionSchema_MissionTemplateList::_internal_mission_templates(int index) const { + return _impl_.mission_templates_.Get(index); +} +inline const std::string& CMsgRecurringMissionSchema_MissionTemplateList::mission_templates(int index) const { + // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) + return _internal_mission_templates(index); +} +inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::mutable_mission_templates(int index) { + // @@protoc_insertion_point(field_mutable:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) + return _impl_.mission_templates_.Mutable(index); +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const std::string& value) { + _impl_.mission_templates_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, std::string&& value) { + _impl_.mission_templates_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.mission_templates_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const void* value, size_t size) { + _impl_.mission_templates_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::_internal_add_mission_templates() { + return _impl_.mission_templates_.Add(); +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const std::string& value) { + _impl_.mission_templates_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(std::string&& value) { + _impl_.mission_templates_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.mission_templates_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const void* value, size_t size) { + _impl_.mission_templates_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgRecurringMissionSchema_MissionTemplateList::mission_templates() const { + // @@protoc_insertion_point(field_list:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) + return _impl_.mission_templates_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgRecurringMissionSchema_MissionTemplateList::mutable_mission_templates() { + // @@protoc_insertion_point(field_mutable_list:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) + return &_impl_.mission_templates_; +} + +// ------------------------------------------------------------------- + +// CMsgRecurringMissionSchema + +// repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; +inline int CMsgRecurringMissionSchema::_internal_missions_size() const { + return _impl_.missions_.size(); +} +inline int CMsgRecurringMissionSchema::missions_size() const { + return _internal_missions_size(); +} +inline void CMsgRecurringMissionSchema::clear_missions() { + _impl_.missions_.Clear(); +} +inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::mutable_missions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgRecurringMissionSchema.missions) + return _impl_.missions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >* +CMsgRecurringMissionSchema::mutable_missions() { + // @@protoc_insertion_point(field_mutable_list:CMsgRecurringMissionSchema.missions) + return &_impl_.missions_; +} +inline const ::CMsgRecurringMissionSchema_MissionTemplateList& CMsgRecurringMissionSchema::_internal_missions(int index) const { + return _impl_.missions_.Get(index); +} +inline const ::CMsgRecurringMissionSchema_MissionTemplateList& CMsgRecurringMissionSchema::missions(int index) const { + // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.missions) + return _internal_missions(index); +} +inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::_internal_add_missions() { + return _impl_.missions_.Add(); +} +inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::add_missions() { + ::CMsgRecurringMissionSchema_MissionTemplateList* _add = _internal_add_missions(); + // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.missions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >& +CMsgRecurringMissionSchema::missions() const { + // @@protoc_insertion_point(field_list:CMsgRecurringMissionSchema.missions) + return _impl_.missions_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ECsgoGCMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoGCMsg>() { + return ::ECsgoGCMsg_descriptor(); +} +template <> struct is_proto_enum< ::ECsgoSteamUserStat> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoSteamUserStat>() { + return ::ECsgoSteamUserStat_descriptor(); +} +template <> struct is_proto_enum< ::QuestType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::QuestType>() { + return ::QuestType_descriptor(); +} +template <> struct is_proto_enum< ::EClientReportingVersion> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EClientReportingVersion>() { + return ::EClientReportingVersion_descriptor(); +} +template <> struct is_proto_enum< ::EInitSystemResult> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EInitSystemResult>() { + return ::EInitSystemResult_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.cc new file mode 100644 index 0000000..d8c7f5d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.cc @@ -0,0 +1,27684 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cstrike15_usermessages.proto + +#include "cstrike15_usermessages.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; + +PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal() {} + union { + CCSUsrMsg_VGUIMenu_Keys _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal _CCSUsrMsg_VGUIMenu_Keys_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.keys_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.show_)*/false} {} +struct CCSUsrMsg_VGUIMenuDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenuDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VGUIMenuDefaultTypeInternal() {} + union { + CCSUsrMsg_VGUIMenu _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VGUIMenuDefaultTypeInternal _CCSUsrMsg_VGUIMenu_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Geiger::CCSUsrMsg_Geiger( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.range_)*/0} {} +struct CCSUsrMsg_GeigerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_GeigerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_GeigerDefaultTypeInternal() {} + union { + CCSUsrMsg_Geiger _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_GeigerDefaultTypeInternal _CCSUsrMsg_Geiger_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Train::CCSUsrMsg_Train( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.train_)*/0} {} +struct CCSUsrMsg_TrainDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_TrainDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_TrainDefaultTypeInternal() {} + union { + CCSUsrMsg_Train _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_TrainDefaultTypeInternal _CCSUsrMsg_Train_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_HudText::CCSUsrMsg_HudText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_HudTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_HudTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_HudTextDefaultTypeInternal() {} + union { + CCSUsrMsg_HudText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HudTextDefaultTypeInternal _CCSUsrMsg_HudText_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.clr1_)*/nullptr + , /*decltype(_impl_.clr2_)*/nullptr + , /*decltype(_impl_.channel_)*/0 + , /*decltype(_impl_.effect_)*/0 + , /*decltype(_impl_.fade_in_time_)*/0 + , /*decltype(_impl_.fade_out_time_)*/0 + , /*decltype(_impl_.hold_time_)*/0 + , /*decltype(_impl_.fx_time_)*/0} {} +struct CCSUsrMsg_HudMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_HudMsgDefaultTypeInternal() {} + union { + CCSUsrMsg_HudMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HudMsgDefaultTypeInternal _CCSUsrMsg_HudMsg_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Shake::CCSUsrMsg_Shake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.command_)*/0 + , /*decltype(_impl_.local_amplitude_)*/0 + , /*decltype(_impl_.frequency_)*/0 + , /*decltype(_impl_.duration_)*/0} {} +struct CCSUsrMsg_ShakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ShakeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ShakeDefaultTypeInternal() {} + union { + CCSUsrMsg_Shake _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShakeDefaultTypeInternal _CCSUsrMsg_Shake_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Fade::CCSUsrMsg_Fade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.clr_)*/nullptr + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.hold_time_)*/0 + , /*decltype(_impl_.flags_)*/0} {} +struct CCSUsrMsg_FadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_FadeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_FadeDefaultTypeInternal() {} + union { + CCSUsrMsg_Fade _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_FadeDefaultTypeInternal _CCSUsrMsg_Fade_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Rumble::CCSUsrMsg_Rumble( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.data_)*/0 + , /*decltype(_impl_.flags_)*/0} {} +struct CCSUsrMsg_RumbleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RumbleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RumbleDefaultTypeInternal() {} + union { + CCSUsrMsg_Rumble _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RumbleDefaultTypeInternal _CCSUsrMsg_Rumble_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cctoken_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.hash_)*/0u + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.from_player_)*/false} {} +struct CCSUsrMsg_CloseCaptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CloseCaptionDefaultTypeInternal() {} + union { + CCSUsrMsg_CloseCaption _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CloseCaptionDefaultTypeInternal _CCSUsrMsg_CloseCaption_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hash_)*/0u + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.from_player_)*/false} {} +struct CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal() {} + union { + CCSUsrMsg_CloseCaptionDirect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal _CCSUsrMsg_CloseCaptionDirect_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.radio_sound_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_SendAudioDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudioDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendAudioDefaultTypeInternal() {} + union { + CCSUsrMsg_SendAudio _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendAudioDefaultTypeInternal _CCSUsrMsg_SendAudio_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.voice_filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.pitch_)*/0 + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.entidx_)*/-1} {} +struct CCSUsrMsg_RawAudioDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudioDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RawAudioDefaultTypeInternal() {} + union { + CCSUsrMsg_RawAudio _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RawAudioDefaultTypeInternal _CCSUsrMsg_RawAudio_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_rules_mask_)*/0 + , /*decltype(_impl_.ban_masks_)*/0} {} +struct CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal() {} + union { + CCSUsrMsg_VoiceMask_PlayerMask _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_PlayerMask_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_masks_)*/{} + , /*decltype(_impl_.player_mod_enable_)*/false} {} +struct CCSUsrMsg_VoiceMaskDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMaskDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VoiceMaskDefaultTypeInternal() {} + union { + CCSUsrMsg_VoiceMask _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoiceMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_Damage::CCSUsrMsg_Damage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.inflictor_world_pos_)*/nullptr + , /*decltype(_impl_.amount_)*/0 + , /*decltype(_impl_.victim_entindex_)*/-1} {} +struct CCSUsrMsg_DamageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_DamageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_DamageDefaultTypeInternal() {} + union { + CCSUsrMsg_Damage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DamageDefaultTypeInternal _CCSUsrMsg_Damage_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RadioText::CCSUsrMsg_RadioText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.params_)*/{} + , /*decltype(_impl_.msg_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.msg_dst_)*/0 + , /*decltype(_impl_.client_)*/-1} {} +struct CCSUsrMsg_RadioTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RadioTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RadioTextDefaultTypeInternal() {} + union { + CCSUsrMsg_RadioText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RadioTextDefaultTypeInternal _CCSUsrMsg_RadioText_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_HintText::CCSUsrMsg_HintText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_HintTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_HintTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_HintTextDefaultTypeInternal() {} + union { + CCSUsrMsg_HintText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HintTextDefaultTypeInternal _CCSUsrMsg_HintText_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.messages_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CCSUsrMsg_KeyHintTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_KeyHintTextDefaultTypeInternal() {} + union { + CCSUsrMsg_KeyHintText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_KeyHintTextDefaultTypeInternal _CCSUsrMsg_KeyHintText_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.class_id_)*/0 + , /*decltype(_impl_.origin_x_)*/0 + , /*decltype(_impl_.origin_y_)*/0 + , /*decltype(_impl_.origin_z_)*/0 + , /*decltype(_impl_.angle_y_)*/0 + , /*decltype(_impl_.defuser_)*/false + , /*decltype(_impl_.player_has_defuser_)*/false + , /*decltype(_impl_.player_has_c4_)*/false + , /*decltype(_impl_.entity_idx_)*/-1} {} +struct CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_updates_)*/{} + , /*decltype(_impl_.new_update_)*/false} {} +struct CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_ProcessSpottedEntityUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.entity_updates_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal() {} + union { + CCSUsrMsg_SendPlayerItemDrops _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal _CCSUsrMsg_SendPlayerItemDrops_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.iteminfo_)*/nullptr + , /*decltype(_impl_.playerslot_)*/-1} {} +struct CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal() {} + union { + CCSUsrMsg_SendPlayerItemFound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal _CCSUsrMsg_SendPlayerItemFound_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.actanim_)*/0 + , /*decltype(_impl_.origin_x_)*/0 + , /*decltype(_impl_.origin_y_)*/0 + , /*decltype(_impl_.origin_z_)*/0 + , /*decltype(_impl_.entidx_)*/-1} {} +struct CCSUsrMsg_ReloadEffectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ReloadEffectDefaultTypeInternal() {} + union { + CCSUsrMsg_ReloadEffect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ReloadEffectDefaultTypeInternal _CCSUsrMsg_ReloadEffect_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sound_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.origin_x_)*/0 + , /*decltype(_impl_.origin_y_)*/0 + , /*decltype(_impl_.origin_z_)*/0 + , /*decltype(_impl_.game_timestamp_)*/0 + , /*decltype(_impl_.source_soundscapeid_)*/0u + , /*decltype(_impl_.entidx_)*/-1} {} +struct CCSUsrMsg_WeaponSoundDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSoundDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_WeaponSoundDefaultTypeInternal() {} + union { + CCSUsrMsg_WeaponSound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_WeaponSoundDefaultTypeInternal _CCSUsrMsg_WeaponSound_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.healthratio_old_)*/0 + , /*decltype(_impl_.healthratio_new_)*/0 + , /*decltype(_impl_.style_)*/0 + , /*decltype(_impl_.entidx_)*/-1} {} +struct CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal() {} + union { + CCSUsrMsg_UpdateScreenHealthBar _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal _CCSUsrMsg_UpdateScreenHealthBar_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.removehighlight_)*/false + , /*decltype(_impl_.entidx_)*/-1} {} +struct CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal() {} + union { + CCSUsrMsg_EntityOutlineHighlight _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal _CCSUsrMsg_EntityOutlineHighlight_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.amount_)*/0} {} +struct CCSUsrMsg_AdjustMoneyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoneyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_AdjustMoneyDefaultTypeInternal() {} + union { + CCSUsrMsg_AdjustMoney _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AdjustMoneyDefaultTypeInternal _CCSUsrMsg_AdjustMoney_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pos_x_)*/0 + , /*decltype(_impl_.pos_y_)*/0 + , /*decltype(_impl_.pos_z_)*/0 + , /*decltype(_impl_.timestamp_)*/0} {} +struct CCSUsrMsg_ReportHitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ReportHitDefaultTypeInternal() {} + union { + CCSUsrMsg_ReportHit _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ReportHitDefaultTypeInternal _CCSUsrMsg_ReportHit_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_KillCam::CCSUsrMsg_KillCam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.obs_mode_)*/0 + , /*decltype(_impl_.first_target_)*/-1 + , /*decltype(_impl_.second_target_)*/-1} {} +struct CCSUsrMsg_KillCamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_KillCamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_KillCamDefaultTypeInternal() {} + union { + CCSUsrMsg_KillCam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_KillCamDefaultTypeInternal _CCSUsrMsg_KillCam_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.desired_timescale_)*/0 + , /*decltype(_impl_.duration_realtime_sec_)*/0 + , /*decltype(_impl_.interpolator_type_)*/0 + , /*decltype(_impl_.start_blend_time_)*/0} {} +struct CCSUsrMsg_DesiredTimescaleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescaleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_DesiredTimescaleDefaultTypeInternal() {} + union { + CCSUsrMsg_DesiredTimescale _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DesiredTimescaleDefaultTypeInternal _CCSUsrMsg_DesiredTimescale_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cur_timescale_)*/0} {} +struct CCSUsrMsg_CurrentTimescaleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescaleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CurrentTimescaleDefaultTypeInternal() {} + union { + CCSUsrMsg_CurrentTimescale _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CurrentTimescaleDefaultTypeInternal _CCSUsrMsg_CurrentTimescale_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.achievement_)*/0 + , /*decltype(_impl_.count_)*/0 + , /*decltype(_impl_.user_id_)*/0} {} +struct CCSUsrMsg_AchievementEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_AchievementEventDefaultTypeInternal() {} + union { + CCSUsrMsg_AchievementEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AchievementEventDefaultTypeInternal _CCSUsrMsg_AchievementEvent_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fraglimit_)*/0 + , /*decltype(_impl_.mp_maxrounds_)*/0 + , /*decltype(_impl_.mp_winlimit_)*/0 + , /*decltype(_impl_.mp_timelimit_)*/0} {} +struct CCSUsrMsg_MatchEndConditionsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditionsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_MatchEndConditionsDefaultTypeInternal() {} + union { + CCSUsrMsg_MatchEndConditions _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MatchEndConditionsDefaultTypeInternal _CCSUsrMsg_MatchEndConditions_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.idx_)*/0 + , /*decltype(_impl_.delta_)*/0} {} +struct CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal() {} + union { + CCSUsrMsg_PlayerStatsUpdate_Stat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stats_)*/{} + , /*decltype(_impl_.version_)*/0 + , /*decltype(_impl_.ehandle_)*/0u + , /*decltype(_impl_.crc_)*/0} {} +struct CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_PlayerStatsUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.quest_id_)*/0u + , /*decltype(_impl_.normal_points_)*/0u + , /*decltype(_impl_.bonus_points_)*/0u + , /*decltype(_impl_.is_event_quest_)*/false} {} +struct CCSUsrMsg_QuestProgressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_QuestProgressDefaultTypeInternal() {} + union { + CCSUsrMsg_QuestProgress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_QuestProgressDefaultTypeInternal _CCSUsrMsg_QuestProgress_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/nullptr} {} +struct CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal() {} + union { + CCSUsrMsg_ScoreLeaderboardData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal _CCSUsrMsg_ScoreLeaderboardData_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/nullptr} {} +struct CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal() {} + union { + CCSUsrMsg_PlayerDecalDigitalSignature _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal _CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mode_idx_)*/0 + , /*decltype(_impl_.controller_)*/0} {} +struct CCSUsrMsg_XRankGetDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGetDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_XRankGetDefaultTypeInternal() {} + union { + CCSUsrMsg_XRankGet _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XRankGetDefaultTypeInternal _CCSUsrMsg_XRankGet_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mode_idx_)*/0 + , /*decltype(_impl_.controller_)*/0 + , /*decltype(_impl_.ranking_)*/0} {} +struct CCSUsrMsg_XRankUpdDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpdDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_XRankUpdDefaultTypeInternal() {} + union { + CCSUsrMsg_XRankUpd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XRankUpdDefaultTypeInternal _CCSUsrMsg_XRankUpd_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reason_)*/0 + , /*decltype(_impl_.time_)*/0} {} +struct CCSUsrMsg_CallVoteFailedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CallVoteFailedDefaultTypeInternal() {} + union { + CCSUsrMsg_CallVoteFailed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CallVoteFailedDefaultTypeInternal _CCSUsrMsg_CallVoteFailed_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.disp_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.details_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.other_team_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.team_)*/0 + , /*decltype(_impl_.vote_type_)*/0 + , /*decltype(_impl_.is_yes_no_vote_)*/false + , /*decltype(_impl_.player_slot_)*/-1 + , /*decltype(_impl_.player_slot_target_)*/-1} {} +struct CCSUsrMsg_VoteStartDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStartDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VoteStartDefaultTypeInternal() {} + union { + CCSUsrMsg_VoteStart _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteStartDefaultTypeInternal _CCSUsrMsg_VoteStart_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VotePass::CCSUsrMsg_VotePass( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.disp_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.details_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.team_)*/0 + , /*decltype(_impl_.vote_type_)*/0} {} +struct CCSUsrMsg_VotePassDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VotePassDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VotePassDefaultTypeInternal() {} + union { + CCSUsrMsg_VotePass _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VotePassDefaultTypeInternal _CCSUsrMsg_VotePass_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.team_)*/0 + , /*decltype(_impl_.reason_)*/0} {} +struct CCSUsrMsg_VoteFailedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VoteFailedDefaultTypeInternal() {} + union { + CCSUsrMsg_VoteFailed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteFailedDefaultTypeInternal _CCSUsrMsg_VoteFailed_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.potential_issues_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CCSUsrMsg_VoteSetupDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_VoteSetupDefaultTypeInternal() {} + union { + CCSUsrMsg_VoteSetup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteSetupDefaultTypeInternal _CCSUsrMsg_VoteSetup_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.num_hits_given_)*/0 + , /*decltype(_impl_.damage_given_)*/0 + , /*decltype(_impl_.num_hits_taken_)*/0 + , /*decltype(_impl_.damage_taken_)*/0 + , /*decltype(_impl_.actual_damage_given_)*/0 + , /*decltype(_impl_.actual_damage_taken_)*/0} {} +struct CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal() {} + union { + CCSUsrMsg_SendLastKillerDamageToClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal _CCSUsrMsg_SendLastKillerDamageToClient_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_id_)*/0 + , /*decltype(_impl_.rank_old_)*/0 + , /*decltype(_impl_.rank_new_)*/0 + , /*decltype(_impl_.num_wins_)*/0 + , /*decltype(_impl_.rank_change_)*/0 + , /*decltype(_impl_.rank_type_id_)*/0} {} +struct CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_ServerRankUpdate_RankUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.rank_update_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CCSUsrMsg_ServerRankUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ServerRankUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_ServerRankUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/nullptr} {} +struct CCSUsrMsg_XpUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_XpUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_XpUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XpUpdateDefaultTypeInternal _CCSUsrMsg_XpUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_ItemPickupDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ItemPickupDefaultTypeInternal() {} + union { + CCSUsrMsg_ItemPickup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ItemPickupDefaultTypeInternal _CCSUsrMsg_ItemPickup_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.menu_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.bits_valid_slots_)*/0 + , /*decltype(_impl_.display_time_)*/0} {} +struct CCSUsrMsg_ShowMenuDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenuDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ShowMenuDefaultTypeInternal() {} + union { + CCSUsrMsg_ShowMenu _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShowMenuDefaultTypeInternal _CCSUsrMsg_ShowMenu_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_BarTime::CCSUsrMsg_BarTime( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.time_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_BarTimeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_BarTimeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_BarTimeDefaultTypeInternal() {} + union { + CCSUsrMsg_BarTime _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_BarTimeDefaultTypeInternal _CCSUsrMsg_BarTime_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ammoidx_)*/0} {} +struct CCSUsrMsg_AmmoDeniedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDeniedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_AmmoDeniedDefaultTypeInternal() {} + union { + CCSUsrMsg_AmmoDenied _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AmmoDeniedDefaultTypeInternal _CCSUsrMsg_AmmoDenied_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.achievement_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_MarkAchievementDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievementDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_MarkAchievementDefaultTypeInternal() {} + union { + CCSUsrMsg_MarkAchievement _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MarkAchievementDefaultTypeInternal _CCSUsrMsg_MarkAchievement_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.update_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal() {} + union { + CCSUsrMsg_MatchStatsUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal _CCSUsrMsg_MatchStatsUpdate_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.itemid_)*/int64_t{0} + , /*decltype(_impl_.death_)*/false} {} +struct CCSUsrMsg_ItemDropDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDropDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ItemDropDefaultTypeInternal() {} + union { + CCSUsrMsg_ItemDrop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ItemDropDefaultTypeInternal _CCSUsrMsg_ItemDrop_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nicename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.count_)*/0 + , /*decltype(_impl_.index_)*/0} {} +struct CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundBackupFilenames _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal _CCSUsrMsg_RoundBackupFilenames_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SSUI::CCSUsrMsg_SSUI( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.show_)*/false + , /*decltype(_impl_.start_time_)*/0 + , /*decltype(_impl_.end_time_)*/0} {} +struct CCSUsrMsg_SSUIDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SSUIDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SSUIDefaultTypeInternal() {} + union { + CCSUsrMsg_SSUI _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SSUIDefaultTypeInternal _CCSUsrMsg_SSUI_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.display_)*/0 + , /*decltype(_impl_.value_)*/0 + , /*decltype(_impl_.interestingness_)*/0} {} +struct CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal() {} + union { + CCSUsrMsg_SurvivalStats_Fact _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Fact_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.teamnumber_)*/0 + , /*decltype(_impl_.placement_)*/0} {} +struct CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal() {} + union { + CCSUsrMsg_SurvivalStats_Placement _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Placement_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.to_)*/0 + , /*decltype(_impl_.to_hits_)*/0 + , /*decltype(_impl_.from_)*/0 + , /*decltype(_impl_.from_hits_)*/0} {} +struct CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal() {} + union { + CCSUsrMsg_SurvivalStats_Damage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Damage_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.facts_)*/{} + , /*decltype(_impl_.users_)*/{} + , /*decltype(_impl_.damages_)*/{} + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.ticknumber_)*/0} {} +struct CCSUsrMsg_SurvivalStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SurvivalStatsDefaultTypeInternal() {} + union { + CCSUsrMsg_SurvivalStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStatsDefaultTypeInternal _CCSUsrMsg_SurvivalStats_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eaccolade_)*/0 + , /*decltype(_impl_.value_)*/0 + , /*decltype(_impl_.position_)*/0} {} +struct CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal() {} + union { + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nomination_)*/nullptr + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.teamnumber_)*/0 + , /*decltype(_impl_.playercolor_)*/0 + , /*decltype(_impl_.isbot_)*/false + , /*decltype(_impl_.slot_)*/-1} {} +struct CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal() {} + union { + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.allplayerdata_)*/{} + , /*decltype(_impl_.scene_)*/0} {} +struct CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal() {} + union { + CCSUsrMsg_EndOfMatchAllPlayersData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.team_number_)*/0 + , /*decltype(_impl_.color_)*/0 + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.is_bot_)*/false + , /*decltype(_impl_.is_dead_)*/false + , /*decltype(_impl_.playerslot_)*/-1} {} +struct CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData_RerEvent_Victim _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/0} {} +struct CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData_RerEvent_Objective _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.other_xuid_)*/uint64_t{0u} + , /*decltype(_impl_.health_removed_)*/0 + , /*decltype(_impl_.num_hits_)*/0 + , /*decltype(_impl_.return_health_removed_)*/0 + , /*decltype(_impl_.return_num_hits_)*/0 + , /*decltype(_impl_.other_playerslot_)*/-1} {} +struct CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData_RerEvent_Damage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.all_damage_data_)*/{} + , /*decltype(_impl_.victim_data_)*/nullptr + , /*decltype(_impl_.objective_data_)*/nullptr + , /*decltype(_impl_.timestamp_)*/0 + , /*decltype(_impl_.terrorist_odds_)*/0 + , /*decltype(_impl_.ct_alive_)*/0 + , /*decltype(_impl_.t_alive_)*/0} {} +struct CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData_RerEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ct_equip_value_)*/0 + , /*decltype(_impl_.t_equip_value_)*/0 + , /*decltype(_impl_.terrorist_odds_)*/0} {} +struct CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData_InitialConditions _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.all_rer_event_data_)*/{} + , /*decltype(_impl_.init_conditions_)*/nullptr} {} +struct CCSUsrMsg_RoundEndReportDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RoundEndReportDataDefaultTypeInternal() {} + union { + CCSUsrMsg_RoundEndReportData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportDataDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.other_xuid_)*/uint64_t{0u} + , /*decltype(_impl_.given_kill_type_)*/0 + , /*decltype(_impl_.given_health_removed_)*/0 + , /*decltype(_impl_.given_num_hits_)*/0 + , /*decltype(_impl_.taken_kill_type_)*/0 + , /*decltype(_impl_.taken_health_removed_)*/0 + , /*decltype(_impl_.taken_num_hits_)*/0} {} +struct CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal() {} + union { + CCSUsrMsg_PostRoundDamageReport _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal _CCSUsrMsg_PostRoundDamageReport_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.odds_)*/0} {} +struct CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal() {} + union { + CCSUsrMsg_CurrentRoundOdds _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal _CCSUsrMsg_CurrentRoundOdds_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stats_)*/nullptr} {} +struct CCSUsrMsg_DeepStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_DeepStatsDefaultTypeInternal() {} + union { + CCSUsrMsg_DeepStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DeepStatsDefaultTypeInternal _CCSUsrMsg_DeepStats_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hitbox_transforms_)*/{} + , /*decltype(_impl_.shoot_pos_)*/nullptr + , /*decltype(_impl_.shoot_dir_)*/nullptr + , /*decltype(_impl_.frame_number_)*/0} {} +struct CCSUsrMsg_ShootInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ShootInfoDefaultTypeInternal() {} + union { + CCSUsrMsg_ShootInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShootInfoDefaultTypeInternal _CCSUsrMsg_ShootInfo_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reset_)*/false} {} +struct CCSUsrMsg_ResetHudDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHudDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ResetHudDefaultTypeInternal() {} + union { + CCSUsrMsg_ResetHud _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ResetHudDefaultTypeInternal _CCSUsrMsg_ResetHud_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dummy_)*/0} {} +struct CCSUsrMsg_GameTitleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_GameTitleDefaultTypeInternal() {} + union { + CCSUsrMsg_GameTitle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_GameTitleDefaultTypeInternal _CCSUsrMsg_GameTitle_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RequestState::CCSUsrMsg_RequestState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dummy_)*/0} {} +struct CCSUsrMsg_RequestStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RequestStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RequestStateDefaultTypeInternal() {} + union { + CCSUsrMsg_RequestState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RequestStateDefaultTypeInternal _CCSUsrMsg_RequestState_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dummy_)*/0} {} +struct CCSUsrMsg_StopSpectatorModeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorModeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_StopSpectatorModeDefaultTypeInternal() {} + union { + CCSUsrMsg_StopSpectatorMode _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_StopSpectatorModeDefaultTypeInternal _CCSUsrMsg_StopSpectatorMode_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dummy_)*/0} {} +struct CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal() {} + union { + CCSUsrMsg_DisconnectToLobby _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal _CCSUsrMsg_DisconnectToLobby_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dummy_)*/0} {} +struct CCSUsrMsg_ClientInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ClientInfoDefaultTypeInternal() {} + union { + CCSUsrMsg_ClientInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ClientInfoDefaultTypeInternal _CCSUsrMsg_ClientInfo_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reservation_)*/nullptr + , /*decltype(_impl_.seconds_till_shutdown_)*/0} {} +struct CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal() {} + union { + CCSUsrMsg_ServerRankRevealAll _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal _CCSUsrMsg_ServerRankRevealAll_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.all_chat_)*/false} {} +struct CCSUsrMsgPreMatchSayTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsgPreMatchSayTextDefaultTypeInternal() {} + union { + CCSUsrMsgPreMatchSayText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsgPreMatchSayTextDefaultTypeInternal _CCSUsrMsgPreMatchSayText_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.press_to_release_ns_)*/0 + , /*decltype(_impl_.total_keys_down_)*/0} {} +struct CCSUsrMsg_CounterStrafeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_CounterStrafeDefaultTypeInternal() {} + union { + CCSUsrMsg_CounterStrafe _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CounterStrafeDefaultTypeInternal _CCSUsrMsg_CounterStrafe_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.shoot_pos_)*/nullptr + , /*decltype(_impl_.shoot_dir_)*/nullptr + , /*decltype(_impl_.aim_punch_)*/nullptr + , /*decltype(_impl_.command_num_)*/0 + , /*decltype(_impl_.pellet_idx_)*/0 + , /*decltype(_impl_.victim_slot_)*/0 + , /*decltype(_impl_.victim_starting_health_)*/0 + , /*decltype(_impl_.victim_damage_)*/0} {} +struct CCSUsrMsg_DamagePredictionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePredictionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_DamagePredictionDefaultTypeInternal() {} + union { + CCSUsrMsg_DamagePrediction _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DamagePredictionDefaultTypeInternal _CCSUsrMsg_DamagePrediction_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mission_schema_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.period_)*/0u} {} +struct CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal() {} + union { + CCSUsrMsg_RecurringMissionSchema _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal _CCSUsrMsg_RecurringMissionSchema_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.econ_item_)*/nullptr + , /*decltype(_impl_.team_)*/0 + , /*decltype(_impl_.slot_)*/0} {} +struct CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal() {} + union { + CCSUsrMsg_SendPlayerLoadout_LoadoutItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_; +PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.loadout_)*/{} + , /*decltype(_impl_.playerslot_)*/-1} {} +struct CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal() {} + union { + CCSUsrMsg_SendPlayerLoadout _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_default_instance_; +static ::_pb::Metadata file_level_metadata_cstrike15_5fusermessages_2eproto[89]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cstrike15_5fusermessages_2eproto = nullptr; + +const uint32_t TableStruct_cstrike15_5fusermessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_.value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.show_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.keys_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _impl_.range_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _impl_.train_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _impl_.text_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.channel_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.clr1_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.clr2_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.effect_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fade_in_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fade_out_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.hold_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fx_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.text_), + 4, + 1, + 2, + 3, + 5, + 6, + 7, + 8, + 9, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.command_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.local_amplitude_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.frequency_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.duration_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.hold_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.clr_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.flags_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.hash_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.from_player_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.cctoken_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.hash_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.from_player_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _impl_.radio_sound_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.pitch_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.entidx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.voice_filename_), + 1, + 3, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_.game_rules_mask_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_.ban_masks_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_.player_masks_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_.player_mod_enable_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.amount_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.inflictor_world_pos_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.victim_entindex_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.msg_dst_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.client_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.msg_name_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.params_), + 1, + 2, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _impl_.message_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KeyHintText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KeyHintText, _impl_.messages_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.entity_idx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.class_id_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_x_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_y_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_z_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.angle_y_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.defuser_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_defuser_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_c4_), + 8, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_.new_update_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_.entity_updates_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemDrops, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemDrops, _impl_.entity_updates_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_.iteminfo_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_.playerslot_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.entidx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.actanim_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_x_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_y_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_z_), + 4, + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.entidx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_x_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_y_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_z_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.sound_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.game_timestamp_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.source_soundscapeid_), + 6, + 1, + 2, + 3, + 0, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.entidx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_old_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_new_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.style_), + 3, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_.entidx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_.removehighlight_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _impl_.amount_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_x_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_y_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_z_), + 0, + 1, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.obs_mode_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.first_target_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.second_target_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.desired_timescale_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.duration_realtime_sec_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.interpolator_type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.start_blend_time_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _impl_.cur_timescale_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.achievement_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.user_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.fraglimit_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_maxrounds_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_winlimit_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_timelimit_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.idx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.delta_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.stats_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.ehandle_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.crc_), + 0, + ~0u, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.quest_id_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.normal_points_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.bonus_points_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.is_event_quest_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_.mode_idx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_.controller_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.mode_idx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.controller_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.ranking_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_.time_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.player_slot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.vote_type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.disp_str_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.details_str_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.other_team_str_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.is_yes_no_vote_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.player_slot_target_), + 3, + 6, + 4, + 0, + 1, + 2, + 5, + 7, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.vote_type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.disp_str_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.details_str_), + 2, + 3, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_.reason_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteSetup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteSetup, _impl_.potential_issues_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_given_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.damage_given_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_taken_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.damage_taken_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_given_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_taken_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_old_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_new_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.num_wins_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_change_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_type_id_), + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate, _impl_.rank_update_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _impl_.item_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.bits_valid_slots_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.display_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.menu_string_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _impl_.time_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _impl_.ammoidx_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _impl_.achievement_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _impl_.update_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_.itemid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_.death_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.nicename_), + 2, + 3, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.show_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.start_time_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.end_time_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.display_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.interestingness_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.teamnumber_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.placement_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.to_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.to_hits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.from_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.from_hits_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.facts_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.users_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.damages_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.ticknumber_), + 0, + ~0u, + ~0u, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.eaccolade_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.position_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.slot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.teamnumber_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.nomination_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.items_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.playercolor_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.isbot_), + 6, + 2, + 0, + 3, + 1, + ~0u, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_.allplayerdata_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_.scene_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.team_number_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.playerslot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_bot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_dead_), + 0, + 5, + 2, + 1, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _impl_.type_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_playerslot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.health_removed_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.num_hits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_health_removed_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_num_hits_), + 5, + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.terrorist_odds_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.ct_alive_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.t_alive_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.victim_data_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.objective_data_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.all_damage_data_), + 2, + 3, + 4, + 5, + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.ct_equip_value_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.t_equip_value_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.terrorist_odds_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_.init_conditions_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_.all_rer_event_data_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.other_xuid_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_kill_type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_health_removed_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_num_hits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_kill_type_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_health_removed_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_num_hits_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _impl_.odds_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _impl_.stats_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.frame_number_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.hitbox_transforms_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.shoot_pos_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.shoot_dir_), + 2, + ~0u, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _impl_.reset_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _impl_.dummy_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _impl_.dummy_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _impl_.dummy_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _impl_.dummy_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _impl_.dummy_), + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_.seconds_till_shutdown_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_.reservation_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.text_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.all_chat_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_.press_to_release_ns_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_.total_keys_down_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.command_num_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.pellet_idx_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_slot_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_starting_health_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_damage_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.shoot_pos_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.shoot_dir_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.aim_punch_), + 3, + 4, + 5, + 6, + 7, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_.period_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_.mission_schema_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.econ_item_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.slot_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_.loadout_), + PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_.playerslot_), + ~0u, + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CCSUsrMsg_VGUIMenu_Keys)}, + { 10, 19, -1, sizeof(::CCSUsrMsg_VGUIMenu)}, + { 22, 29, -1, sizeof(::CCSUsrMsg_Geiger)}, + { 30, 37, -1, sizeof(::CCSUsrMsg_Train)}, + { 38, 45, -1, sizeof(::CCSUsrMsg_HudText)}, + { 46, 62, -1, sizeof(::CCSUsrMsg_HudMsg)}, + { 72, 82, -1, sizeof(::CCSUsrMsg_Shake)}, + { 86, 96, -1, sizeof(::CCSUsrMsg_Fade)}, + { 100, 109, -1, sizeof(::CCSUsrMsg_Rumble)}, + { 112, 122, -1, sizeof(::CCSUsrMsg_CloseCaption)}, + { 126, 135, -1, sizeof(::CCSUsrMsg_CloseCaptionDirect)}, + { 138, 145, -1, sizeof(::CCSUsrMsg_SendAudio)}, + { 146, 156, -1, sizeof(::CCSUsrMsg_RawAudio)}, + { 160, 168, -1, sizeof(::CCSUsrMsg_VoiceMask_PlayerMask)}, + { 170, 178, -1, sizeof(::CCSUsrMsg_VoiceMask)}, + { 180, 189, -1, sizeof(::CCSUsrMsg_Damage)}, + { 192, 202, -1, sizeof(::CCSUsrMsg_RadioText)}, + { 206, 213, -1, sizeof(::CCSUsrMsg_HintText)}, + { 214, -1, -1, sizeof(::CCSUsrMsg_KeyHintText)}, + { 221, 236, -1, sizeof(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate)}, + { 245, 253, -1, sizeof(::CCSUsrMsg_ProcessSpottedEntityUpdate)}, + { 255, -1, -1, sizeof(::CCSUsrMsg_SendPlayerItemDrops)}, + { 262, 270, -1, sizeof(::CCSUsrMsg_SendPlayerItemFound)}, + { 272, 283, -1, sizeof(::CCSUsrMsg_ReloadEffect)}, + { 288, 301, -1, sizeof(::CCSUsrMsg_WeaponSound)}, + { 308, 318, -1, sizeof(::CCSUsrMsg_UpdateScreenHealthBar)}, + { 322, 330, -1, sizeof(::CCSUsrMsg_EntityOutlineHighlight)}, + { 332, 339, -1, sizeof(::CCSUsrMsg_AdjustMoney)}, + { 340, 350, -1, sizeof(::CCSUsrMsg_ReportHit)}, + { 354, 363, -1, sizeof(::CCSUsrMsg_KillCam)}, + { 366, 376, -1, sizeof(::CCSUsrMsg_DesiredTimescale)}, + { 380, 387, -1, sizeof(::CCSUsrMsg_CurrentTimescale)}, + { 388, 397, -1, sizeof(::CCSUsrMsg_AchievementEvent)}, + { 400, 410, -1, sizeof(::CCSUsrMsg_MatchEndConditions)}, + { 414, 422, -1, sizeof(::CCSUsrMsg_PlayerStatsUpdate_Stat)}, + { 424, 434, -1, sizeof(::CCSUsrMsg_PlayerStatsUpdate)}, + { 438, 448, -1, sizeof(::CCSUsrMsg_QuestProgress)}, + { 452, 459, -1, sizeof(::CCSUsrMsg_ScoreLeaderboardData)}, + { 460, 467, -1, sizeof(::CCSUsrMsg_PlayerDecalDigitalSignature)}, + { 468, 476, -1, sizeof(::CCSUsrMsg_XRankGet)}, + { 478, 487, -1, sizeof(::CCSUsrMsg_XRankUpd)}, + { 490, 498, -1, sizeof(::CCSUsrMsg_CallVoteFailed)}, + { 500, 514, -1, sizeof(::CCSUsrMsg_VoteStart)}, + { 522, 532, -1, sizeof(::CCSUsrMsg_VotePass)}, + { 536, 544, -1, sizeof(::CCSUsrMsg_VoteFailed)}, + { 546, -1, -1, sizeof(::CCSUsrMsg_VoteSetup)}, + { 553, 565, -1, sizeof(::CCSUsrMsg_SendLastKillerDamageToClient)}, + { 571, 583, -1, sizeof(::CCSUsrMsg_ServerRankUpdate_RankUpdate)}, + { 589, -1, -1, sizeof(::CCSUsrMsg_ServerRankUpdate)}, + { 596, 603, -1, sizeof(::CCSUsrMsg_XpUpdate)}, + { 604, 611, -1, sizeof(::CCSUsrMsg_ItemPickup)}, + { 612, 621, -1, sizeof(::CCSUsrMsg_ShowMenu)}, + { 624, 631, -1, sizeof(::CCSUsrMsg_BarTime)}, + { 632, 639, -1, sizeof(::CCSUsrMsg_AmmoDenied)}, + { 640, 647, -1, sizeof(::CCSUsrMsg_MarkAchievement)}, + { 648, 655, -1, sizeof(::CCSUsrMsg_MatchStatsUpdate)}, + { 656, 664, -1, sizeof(::CCSUsrMsg_ItemDrop)}, + { 666, 676, -1, sizeof(::CCSUsrMsg_RoundBackupFilenames)}, + { 680, 689, -1, sizeof(::CCSUsrMsg_SSUI)}, + { 692, 702, -1, sizeof(::CCSUsrMsg_SurvivalStats_Fact)}, + { 706, 715, -1, sizeof(::CCSUsrMsg_SurvivalStats_Placement)}, + { 718, 729, -1, sizeof(::CCSUsrMsg_SurvivalStats_Damage)}, + { 734, 745, -1, sizeof(::CCSUsrMsg_SurvivalStats)}, + { 750, 759, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade)}, + { 762, 776, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData)}, + { 784, 792, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData)}, + { 794, 806, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim)}, + { 812, 819, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective)}, + { 820, 832, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage)}, + { 838, 851, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent)}, + { 858, 867, -1, sizeof(::CCSUsrMsg_RoundEndReportData_InitialConditions)}, + { 870, 878, -1, sizeof(::CCSUsrMsg_RoundEndReportData)}, + { 880, 893, -1, sizeof(::CCSUsrMsg_PostRoundDamageReport)}, + { 900, 907, -1, sizeof(::CCSUsrMsg_CurrentRoundOdds)}, + { 908, 915, -1, sizeof(::CCSUsrMsg_DeepStats)}, + { 916, 926, -1, sizeof(::CCSUsrMsg_ShootInfo)}, + { 930, 937, -1, sizeof(::CCSUsrMsg_ResetHud)}, + { 938, 945, -1, sizeof(::CCSUsrMsg_GameTitle)}, + { 946, 953, -1, sizeof(::CCSUsrMsg_RequestState)}, + { 954, 961, -1, sizeof(::CCSUsrMsg_StopSpectatorMode)}, + { 962, 969, -1, sizeof(::CCSUsrMsg_DisconnectToLobby)}, + { 970, 977, -1, sizeof(::CCSUsrMsg_ClientInfo)}, + { 978, 986, -1, sizeof(::CCSUsrMsg_ServerRankRevealAll)}, + { 988, 997, -1, sizeof(::CCSUsrMsgPreMatchSayText)}, + { 1000, 1008, -1, sizeof(::CCSUsrMsg_CounterStrafe)}, + { 1010, 1024, -1, sizeof(::CCSUsrMsg_DamagePrediction)}, + { 1032, 1040, -1, sizeof(::CCSUsrMsg_RecurringMissionSchema)}, + { 1042, 1051, -1, sizeof(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem)}, + { 1054, 1062, -1, sizeof(::CCSUsrMsg_SendPlayerLoadout)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CCSUsrMsg_VGUIMenu_Keys_default_instance_._instance, + &::_CCSUsrMsg_VGUIMenu_default_instance_._instance, + &::_CCSUsrMsg_Geiger_default_instance_._instance, + &::_CCSUsrMsg_Train_default_instance_._instance, + &::_CCSUsrMsg_HudText_default_instance_._instance, + &::_CCSUsrMsg_HudMsg_default_instance_._instance, + &::_CCSUsrMsg_Shake_default_instance_._instance, + &::_CCSUsrMsg_Fade_default_instance_._instance, + &::_CCSUsrMsg_Rumble_default_instance_._instance, + &::_CCSUsrMsg_CloseCaption_default_instance_._instance, + &::_CCSUsrMsg_CloseCaptionDirect_default_instance_._instance, + &::_CCSUsrMsg_SendAudio_default_instance_._instance, + &::_CCSUsrMsg_RawAudio_default_instance_._instance, + &::_CCSUsrMsg_VoiceMask_PlayerMask_default_instance_._instance, + &::_CCSUsrMsg_VoiceMask_default_instance_._instance, + &::_CCSUsrMsg_Damage_default_instance_._instance, + &::_CCSUsrMsg_RadioText_default_instance_._instance, + &::_CCSUsrMsg_HintText_default_instance_._instance, + &::_CCSUsrMsg_KeyHintText_default_instance_._instance, + &::_CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_._instance, + &::_CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_._instance, + &::_CCSUsrMsg_SendPlayerItemDrops_default_instance_._instance, + &::_CCSUsrMsg_SendPlayerItemFound_default_instance_._instance, + &::_CCSUsrMsg_ReloadEffect_default_instance_._instance, + &::_CCSUsrMsg_WeaponSound_default_instance_._instance, + &::_CCSUsrMsg_UpdateScreenHealthBar_default_instance_._instance, + &::_CCSUsrMsg_EntityOutlineHighlight_default_instance_._instance, + &::_CCSUsrMsg_AdjustMoney_default_instance_._instance, + &::_CCSUsrMsg_ReportHit_default_instance_._instance, + &::_CCSUsrMsg_KillCam_default_instance_._instance, + &::_CCSUsrMsg_DesiredTimescale_default_instance_._instance, + &::_CCSUsrMsg_CurrentTimescale_default_instance_._instance, + &::_CCSUsrMsg_AchievementEvent_default_instance_._instance, + &::_CCSUsrMsg_MatchEndConditions_default_instance_._instance, + &::_CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_._instance, + &::_CCSUsrMsg_PlayerStatsUpdate_default_instance_._instance, + &::_CCSUsrMsg_QuestProgress_default_instance_._instance, + &::_CCSUsrMsg_ScoreLeaderboardData_default_instance_._instance, + &::_CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_._instance, + &::_CCSUsrMsg_XRankGet_default_instance_._instance, + &::_CCSUsrMsg_XRankUpd_default_instance_._instance, + &::_CCSUsrMsg_CallVoteFailed_default_instance_._instance, + &::_CCSUsrMsg_VoteStart_default_instance_._instance, + &::_CCSUsrMsg_VotePass_default_instance_._instance, + &::_CCSUsrMsg_VoteFailed_default_instance_._instance, + &::_CCSUsrMsg_VoteSetup_default_instance_._instance, + &::_CCSUsrMsg_SendLastKillerDamageToClient_default_instance_._instance, + &::_CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_._instance, + &::_CCSUsrMsg_ServerRankUpdate_default_instance_._instance, + &::_CCSUsrMsg_XpUpdate_default_instance_._instance, + &::_CCSUsrMsg_ItemPickup_default_instance_._instance, + &::_CCSUsrMsg_ShowMenu_default_instance_._instance, + &::_CCSUsrMsg_BarTime_default_instance_._instance, + &::_CCSUsrMsg_AmmoDenied_default_instance_._instance, + &::_CCSUsrMsg_MarkAchievement_default_instance_._instance, + &::_CCSUsrMsg_MatchStatsUpdate_default_instance_._instance, + &::_CCSUsrMsg_ItemDrop_default_instance_._instance, + &::_CCSUsrMsg_RoundBackupFilenames_default_instance_._instance, + &::_CCSUsrMsg_SSUI_default_instance_._instance, + &::_CCSUsrMsg_SurvivalStats_Fact_default_instance_._instance, + &::_CCSUsrMsg_SurvivalStats_Placement_default_instance_._instance, + &::_CCSUsrMsg_SurvivalStats_Damage_default_instance_._instance, + &::_CCSUsrMsg_SurvivalStats_default_instance_._instance, + &::_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_._instance, + &::_CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_._instance, + &::_CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_._instance, + &::_CCSUsrMsg_RoundEndReportData_default_instance_._instance, + &::_CCSUsrMsg_PostRoundDamageReport_default_instance_._instance, + &::_CCSUsrMsg_CurrentRoundOdds_default_instance_._instance, + &::_CCSUsrMsg_DeepStats_default_instance_._instance, + &::_CCSUsrMsg_ShootInfo_default_instance_._instance, + &::_CCSUsrMsg_ResetHud_default_instance_._instance, + &::_CCSUsrMsg_GameTitle_default_instance_._instance, + &::_CCSUsrMsg_RequestState_default_instance_._instance, + &::_CCSUsrMsg_StopSpectatorMode_default_instance_._instance, + &::_CCSUsrMsg_DisconnectToLobby_default_instance_._instance, + &::_CCSUsrMsg_ClientInfo_default_instance_._instance, + &::_CCSUsrMsg_ServerRankRevealAll_default_instance_._instance, + &::_CCSUsrMsgPreMatchSayText_default_instance_._instance, + &::_CCSUsrMsg_CounterStrafe_default_instance_._instance, + &::_CCSUsrMsg_DamagePrediction_default_instance_._instance, + &::_CCSUsrMsg_RecurringMissionSchema_default_instance_._instance, + &::_CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_._instance, + &::_CCSUsrMsg_SendPlayerLoadout_default_instance_._instance, +}; + +const char descriptor_table_protodef_cstrike15_5fusermessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\034cstrike15_usermessages.proto\032\026networkb" + "asetypes.proto\032\032cstrike15_gcmessages.pro" + "to\"}\n\022CCSUsrMsg_VGUIMenu\022\014\n\004name\030\001 \001(\t\022\014" + "\n\004show\030\002 \001(\010\022&\n\004keys\030\003 \003(\0132\030.CCSUsrMsg_V" + "GUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t\"!\n\020CCSUsrMsg_Geiger\022\r\n\005range\030\001" + " \001(\005\" \n\017CCSUsrMsg_Train\022\r\n\005train\030\001 \001(\005\"!" + "\n\021CCSUsrMsg_HudText\022\014\n\004text\030\001 \001(\t\"\340\001\n\020CC" + "SUsrMsg_HudMsg\022\017\n\007channel\030\001 \001(\005\022\032\n\003pos\030\002" + " \001(\0132\r.CMsgVector2D\022\027\n\004clr1\030\003 \001(\0132\t.CMsg" + "RGBA\022\027\n\004clr2\030\004 \001(\0132\t.CMsgRGBA\022\016\n\006effect\030" + "\005 \001(\005\022\024\n\014fade_in_time\030\006 \001(\002\022\025\n\rfade_out_" + "time\030\007 \001(\002\022\021\n\thold_time\030\t \001(\002\022\017\n\007fx_time" + "\030\n \001(\002\022\014\n\004text\030\013 \001(\t\"`\n\017CCSUsrMsg_Shake\022" + "\017\n\007command\030\001 \001(\005\022\027\n\017local_amplitude\030\002 \001(" + "\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010duration\030\004 \001(\002\"\\" + "\n\016CCSUsrMsg_Fade\022\020\n\010duration\030\001 \001(\005\022\021\n\tho" + "ld_time\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\022\026\n\003clr\030\004 \001(" + "\0132\t.CMsgRGBA\">\n\020CCSUsrMsg_Rumble\022\r\n\005inde" + "x\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"^\n\026" + "CCSUsrMsg_CloseCaption\022\014\n\004hash\030\001 \001(\r\022\020\n\010" + "duration\030\002 \001(\005\022\023\n\013from_player\030\003 \001(\010\022\017\n\007c" + "ctoken\030\004 \001(\t\"S\n\034CCSUsrMsg_CloseCaptionDi" + "rect\022\014\n\004hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013" + "from_player\030\003 \001(\010\"*\n\023CCSUsrMsg_SendAudio" + "\022\023\n\013radio_sound\030\001 \001(\t\"a\n\022CCSUsrMsg_RawAu" + "dio\022\r\n\005pitch\030\001 \001(\005\022\022\n\006entidx\030\002 \001(\005:\002-1\022\020" + "\n\010duration\030\003 \001(\002\022\026\n\016voice_filename\030\004 \001(\t" + "\"\241\001\n\023CCSUsrMsg_VoiceMask\0225\n\014player_masks" + "\030\001 \003(\0132\037.CCSUsrMsg_VoiceMask.PlayerMask\022" + "\031\n\021player_mod_enable\030\002 \001(\010\0328\n\nPlayerMask" + "\022\027\n\017game_rules_mask\030\001 \001(\005\022\021\n\tban_masks\030\002" + " \001(\005\"i\n\020CCSUsrMsg_Damage\022\016\n\006amount\030\001 \001(\005" + "\022(\n\023inflictor_world_pos\030\002 \001(\0132\013.CMsgVect" + "or\022\033\n\017victim_entindex\030\003 \001(\005:\002-1\"\\\n\023CCSUs" + "rMsg_RadioText\022\017\n\007msg_dst\030\001 \001(\005\022\022\n\006clien" + "t\030\002 \001(\005:\002-1\022\020\n\010msg_name\030\003 \001(\t\022\016\n\006params\030" + "\004 \003(\t\"%\n\022CCSUsrMsg_HintText\022\017\n\007message\030\001" + " \001(\t\")\n\025CCSUsrMsg_KeyHintText\022\020\n\010message" + "s\030\001 \003(\t\"\332\002\n$CCSUsrMsg_ProcessSpottedEnti" + "tyUpdate\022\022\n\nnew_update\030\001 \001(\010\022Q\n\016entity_u" + "pdates\030\002 \003(\01329.CCSUsrMsg_ProcessSpottedE" + "ntityUpdate.SpottedEntityUpdate\032\312\001\n\023Spot" + "tedEntityUpdate\022\026\n\nentity_idx\030\001 \001(\005:\002-1\022" + "\020\n\010class_id\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\005\022\020\n\010o" + "rigin_y\030\004 \001(\005\022\020\n\010origin_z\030\005 \001(\005\022\017\n\007angle" + "_y\030\006 \001(\005\022\017\n\007defuser\030\007 \001(\010\022\032\n\022player_has_" + "defuser\030\010 \001(\010\022\025\n\rplayer_has_c4\030\t \001(\010\"S\n\035" + "CCSUsrMsg_SendPlayerItemDrops\0222\n\016entity_" + "updates\030\001 \003(\0132\032.CEconItemPreviewDataBloc" + "k\"e\n\035CCSUsrMsg_SendPlayerItemFound\022,\n\010it" + "eminfo\030\001 \001(\0132\032.CEconItemPreviewDataBlock" + "\022\026\n\nplayerslot\030\002 \001(\005:\002-1\"s\n\026CCSUsrMsg_Re" + "loadEffect\022\022\n\006entidx\030\001 \001(\005:\002-1\022\017\n\007actani" + "m\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\002\022\020\n\010origin_y\030\004 " + "\001(\002\022\020\n\010origin_z\030\005 \001(\002\"\245\001\n\025CCSUsrMsg_Weap" + "onSound\022\022\n\006entidx\030\001 \001(\005:\002-1\022\020\n\010origin_x\030" + "\002 \001(\002\022\020\n\010origin_y\030\003 \001(\002\022\020\n\010origin_z\030\004 \001(" + "\002\022\r\n\005sound\030\005 \001(\t\022\026\n\016game_timestamp\030\006 \001(\002" + "\022\033\n\023source_soundscapeid\030\007 \001(\007\"v\n\037CCSUsrM" + "sg_UpdateScreenHealthBar\022\022\n\006entidx\030\001 \001(\005" + ":\002-1\022\027\n\017healthratio_old\030\002 \001(\002\022\027\n\017healthr" + "atio_new\030\003 \001(\002\022\r\n\005style\030\004 \001(\005\"O\n CCSUsrM" + "sg_EntityOutlineHighlight\022\022\n\006entidx\030\001 \001(" + "\005:\002-1\022\027\n\017removehighlight\030\002 \001(\010\"\'\n\025CCSUsr" + "Msg_AdjustMoney\022\016\n\006amount\030\001 \001(\005\"U\n\023CCSUs" + "rMsg_ReportHit\022\r\n\005pos_x\030\001 \001(\002\022\r\n\005pos_y\030\002" + " \001(\002\022\021\n\ttimestamp\030\004 \001(\002\022\r\n\005pos_z\030\003 \001(\002\"Z" + "\n\021CCSUsrMsg_KillCam\022\020\n\010obs_mode\030\001 \001(\005\022\030\n" + "\014first_target\030\002 \001(\005:\002-1\022\031\n\rsecond_target" + "\030\003 \001(\005:\002-1\"\213\001\n\032CCSUsrMsg_DesiredTimescal" + "e\022\031\n\021desired_timescale\030\001 \001(\002\022\035\n\025duration" + "_realtime_sec\030\002 \001(\002\022\031\n\021interpolator_type" + "\030\003 \001(\005\022\030\n\020start_blend_time\030\004 \001(\002\"3\n\032CCSU" + "srMsg_CurrentTimescale\022\025\n\rcur_timescale\030" + "\001 \001(\002\"Q\n\032CCSUsrMsg_AchievementEvent\022\023\n\013a" + "chievement\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\022\017\n\007user_" + "id\030\003 \001(\005\"r\n\034CCSUsrMsg_MatchEndConditions" + "\022\021\n\tfraglimit\030\001 \001(\005\022\024\n\014mp_maxrounds\030\002 \001(" + "\005\022\023\n\013mp_winlimit\030\003 \001(\005\022\024\n\014mp_timelimit\030\004" + " \001(\002\"\242\001\n\033CCSUsrMsg_PlayerStatsUpdate\022\017\n\007" + "version\030\001 \001(\005\0220\n\005stats\030\004 \003(\0132!.CCSUsrMsg" + "_PlayerStatsUpdate.Stat\022\017\n\007ehandle\030\005 \001(\r" + "\022\013\n\003crc\030\006 \001(\005\032\"\n\004Stat\022\013\n\003idx\030\001 \001(\005\022\r\n\005de" + "lta\030\002 \001(\005\"p\n\027CCSUsrMsg_QuestProgress\022\020\n\010" + "quest_id\030\001 \001(\r\022\025\n\rnormal_points\030\002 \001(\r\022\024\n" + "\014bonus_points\030\003 \001(\r\022\026\n\016is_event_quest\030\004 " + "\001(\010\"E\n\036CCSUsrMsg_ScoreLeaderboardData\022#\n" + "\004data\030\001 \001(\0132\025.ScoreLeaderboardData\"S\n%CC" + "SUsrMsg_PlayerDecalDigitalSignature\022*\n\004d" + "ata\030\001 \001(\0132\034.PlayerDecalDigitalSignature\"" + ":\n\022CCSUsrMsg_XRankGet\022\020\n\010mode_idx\030\001 \001(\005\022" + "\022\n\ncontroller\030\002 \001(\005\"K\n\022CCSUsrMsg_XRankUp" + "d\022\020\n\010mode_idx\030\001 \001(\005\022\022\n\ncontroller\030\002 \001(\005\022" + "\017\n\007ranking\030\003 \001(\005\"8\n\030CCSUsrMsg_CallVoteFa" + "iled\022\016\n\006reason\030\001 \001(\005\022\014\n\004time\030\002 \001(\005\"\306\001\n\023C" + "CSUsrMsg_VoteStart\022\014\n\004team\030\001 \001(\005\022\027\n\013play" + "er_slot\030\002 \001(\005:\002-1\022\021\n\tvote_type\030\003 \001(\005\022\020\n\010" + "disp_str\030\004 \001(\t\022\023\n\013details_str\030\005 \001(\t\022\026\n\016o" + "ther_team_str\030\006 \001(\t\022\026\n\016is_yes_no_vote\030\007 " + "\001(\010\022\036\n\022player_slot_target\030\010 \001(\005:\002-1\"\\\n\022C" + "CSUsrMsg_VotePass\022\014\n\004team\030\001 \001(\005\022\021\n\tvote_" + "type\030\002 \001(\005\022\020\n\010disp_str\030\003 \001(\t\022\023\n\013details_" + "str\030\004 \001(\t\"4\n\024CCSUsrMsg_VoteFailed\022\014\n\004tea" + "m\030\001 \001(\005\022\016\n\006reason\030\002 \001(\005\"/\n\023CCSUsrMsg_Vot" + "eSetup\022\030\n\020potential_issues\030\001 \003(\t\"\276\001\n&CCS" + "UsrMsg_SendLastKillerDamageToClient\022\026\n\016n" + "um_hits_given\030\001 \001(\005\022\024\n\014damage_given\030\002 \001(" + "\005\022\026\n\016num_hits_taken\030\003 \001(\005\022\024\n\014damage_take" + "n\030\004 \001(\005\022\033\n\023actual_damage_given\030\005 \001(\005\022\033\n\023" + "actual_damage_taken\030\006 \001(\005\"\335\001\n\032CCSUsrMsg_" + "ServerRankUpdate\022;\n\013rank_update\030\001 \003(\0132&." + "CCSUsrMsg_ServerRankUpdate.RankUpdate\032\201\001" + "\n\nRankUpdate\022\022\n\naccount_id\030\001 \001(\005\022\020\n\010rank" + "_old\030\002 \001(\005\022\020\n\010rank_new\030\003 \001(\005\022\020\n\010num_wins" + "\030\004 \001(\005\022\023\n\013rank_change\030\005 \001(\002\022\024\n\014rank_type" + "_id\030\006 \001(\005\"Q\n\022CCSUsrMsg_XpUpdate\022;\n\004data\030" + "\001 \001(\0132-.CMsgGCCstrike15_v2_GC2ServerNoti" + "fyXPRewarded\"$\n\024CCSUsrMsg_ItemPickup\022\014\n\004" + "item\030\001 \001(\t\"Y\n\022CCSUsrMsg_ShowMenu\022\030\n\020bits" + "_valid_slots\030\001 \001(\005\022\024\n\014display_time\030\002 \001(\005" + "\022\023\n\013menu_string\030\003 \001(\t\"!\n\021CCSUsrMsg_BarTi" + "me\022\014\n\004time\030\001 \001(\t\"\'\n\024CCSUsrMsg_AmmoDenied" + "\022\017\n\007ammoidx\030\001 \001(\005\"0\n\031CCSUsrMsg_MarkAchie" + "vement\022\023\n\013achievement\030\001 \001(\t\",\n\032CCSUsrMsg" + "_MatchStatsUpdate\022\016\n\006update\030\001 \001(\t\"3\n\022CCS" + "UsrMsg_ItemDrop\022\016\n\006itemid\030\001 \001(\003\022\r\n\005death" + "\030\002 \001(\010\"b\n\036CCSUsrMsg_RoundBackupFilenames" + "\022\r\n\005count\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022\020\n\010filena" + "me\030\003 \001(\t\022\020\n\010nicename\030\004 \001(\t\"D\n\016CCSUsrMsg_" + "SSUI\022\014\n\004show\030\001 \001(\010\022\022\n\nstart_time\030\002 \001(\002\022\020" + "\n\010end_time\030\003 \001(\002\"\265\003\n\027CCSUsrMsg_SurvivalS" + "tats\022\014\n\004xuid\030\001 \001(\004\022,\n\005facts\030\002 \003(\0132\035.CCSU" + "srMsg_SurvivalStats.Fact\0221\n\005users\030\003 \003(\0132" + "\".CCSUsrMsg_SurvivalStats.Placement\0220\n\007d" + "amages\030\005 \003(\0132\037.CCSUsrMsg_SurvivalStats.D" + "amage\022\022\n\nticknumber\030\004 \001(\005\032M\n\004Fact\022\014\n\004typ" + "e\030\001 \001(\005\022\017\n\007display\030\002 \001(\005\022\r\n\005value\030\003 \001(\005\022" + "\027\n\017interestingness\030\004 \001(\002\032@\n\tPlacement\022\014\n" + "\004xuid\030\001 \001(\004\022\022\n\nteamnumber\030\002 \001(\005\022\021\n\tplace" + "ment\030\003 \001(\005\032T\n\006Damage\022\014\n\004xuid\030\001 \001(\004\022\n\n\002to" + "\030\002 \001(\005\022\017\n\007to_hits\030\003 \001(\005\022\014\n\004from\030\004 \001(\005\022\021\n" + "\tfrom_hits\030\005 \001(\005\"\234\003\n\"CCSUsrMsg_EndOfMatc" + "hAllPlayersData\022E\n\rallplayerdata\030\001 \003(\0132." + ".CCSUsrMsg_EndOfMatchAllPlayersData.Play" + "erData\022\r\n\005scene\030\002 \001(\005\032>\n\010Accolade\022\021\n\teac" + "colade\030\001 \001(\005\022\r\n\005value\030\002 \001(\002\022\020\n\010position\030" + "\003 \001(\005\032\337\001\n\nPlayerData\022\020\n\004slot\030\001 \001(\005:\002-1\022\014" + "\n\004xuid\030\002 \001(\004\022\014\n\004name\030\003 \001(\t\022\022\n\nteamnumber" + "\030\004 \001(\005\022@\n\nnomination\030\005 \001(\0132,.CCSUsrMsg_E" + "ndOfMatchAllPlayersData.Accolade\022)\n\005item" + "s\030\006 \003(\0132\032.CEconItemPreviewDataBlock\022\023\n\013p" + "layercolor\030\007 \001(\005\022\r\n\005isbot\030\010 \001(\010\"\350\006\n\034CCSU" + "srMsg_RoundEndReportData\022H\n\017init_conditi" + "ons\030\001 \001(\0132/.CCSUsrMsg_RoundEndReportData" + ".InitialConditions\022B\n\022all_rer_event_data" + "\030\002 \003(\0132&.CCSUsrMsg_RoundEndReportData.Re" + "rEvent\032\335\004\n\010RerEvent\022\021\n\ttimestamp\030\001 \001(\002\022\026" + "\n\016terrorist_odds\030\002 \001(\005\022\020\n\010ct_alive\030\003 \001(\005" + "\022\017\n\007t_alive\030\004 \001(\005\022B\n\013victim_data\030\005 \001(\0132-" + ".CCSUsrMsg_RoundEndReportData.RerEvent.V" + "ictim\022H\n\016objective_data\030\006 \001(\01320.CCSUsrMs" + "g_RoundEndReportData.RerEvent.Objective\022" + "F\n\017all_damage_data\030\007 \003(\0132-.CCSUsrMsg_Rou" + "ndEndReportData.RerEvent.Damage\032s\n\006Victi" + "m\022\023\n\013team_number\030\001 \001(\005\022\026\n\nplayerslot\030\002 \001" + "(\005:\002-1\022\014\n\004xuid\030\003 \001(\004\022\r\n\005color\030\004 \001(\005\022\016\n\006i" + "s_bot\030\005 \001(\010\022\017\n\007is_dead\030\006 \001(\010\032\031\n\tObjectiv" + "e\022\014\n\004type\030\001 \001(\005\032\234\001\n\006Damage\022\034\n\020other_play" + "erslot\030\001 \001(\005:\002-1\022\022\n\nother_xuid\030\002 \001(\004\022\026\n\016" + "health_removed\030\003 \001(\005\022\020\n\010num_hits\030\004 \001(\005\022\035" + "\n\025return_health_removed\030\005 \001(\005\022\027\n\017return_" + "num_hits\030\006 \001(\005\032Z\n\021InitialConditions\022\026\n\016c" + "t_equip_value\030\001 \001(\005\022\025\n\rt_equip_value\030\002 \001" + "(\005\022\026\n\016terrorist_odds\030\003 \001(\005\"\323\001\n\037CCSUsrMsg" + "_PostRoundDamageReport\022\022\n\nother_xuid\030\001 \001" + "(\004\022\027\n\017given_kill_type\030\002 \001(\005\022\034\n\024given_hea" + "lth_removed\030\003 \001(\005\022\026\n\016given_num_hits\030\004 \001(" + "\005\022\027\n\017taken_kill_type\030\005 \001(\005\022\034\n\024taken_heal" + "th_removed\030\006 \001(\005\022\026\n\016taken_num_hits\030\007 \001(\005" + "\"*\n\032CCSUsrMsg_CurrentRoundOdds\022\014\n\004odds\030\001" + " \001(\005\"F\n\023CCSUsrMsg_DeepStats\022/\n\005stats\030\001 \001" + "(\0132 .CMsgGCCStrike15_ClientDeepStats\"\226\001\n" + "\023CCSUsrMsg_ShootInfo\022\024\n\014frame_number\030\001 \001" + "(\005\022)\n\021hitbox_transforms\030\002 \003(\0132\016.CMsgTran" + "sform\022\036\n\tshoot_pos\030\003 \001(\0132\013.CMsgVector\022\036\n" + "\tshoot_dir\030\004 \001(\0132\013.CMsgQAngle\"#\n\022CCSUsrM" + "sg_ResetHud\022\r\n\005reset\030\001 \001(\010\"$\n\023CCSUsrMsg_" + "GameTitle\022\r\n\005dummy\030\001 \001(\005\"\'\n\026CCSUsrMsg_Re" + "questState\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_S" + "topSpectatorMode\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUs" + "rMsg_DisconnectToLobby\022\r\n\005dummy\030\001 \001(\005\"%\n" + "\024CCSUsrMsg_ClientInfo\022\r\n\005dummy\030\001 \001(\005\"\204\001\n" + "\035CCSUsrMsg_ServerRankRevealAll\022\035\n\025second" + "s_till_shutdown\030\001 \001(\005\022D\n\013reservation\030\002 \001" + "(\0132/.CMsgGCCStrike15_v2_MatchmakingGC2Se" + "rverReserve\"N\n\030CCSUsrMsgPreMatchSayText\022" + "\022\n\naccount_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\020\n\010all" + "_chat\030\003 \001(\010\"O\n\027CCSUsrMsg_CounterStrafe\022\033" + "\n\023press_to_release_ns\030\001 \001(\005\022\027\n\017total_key" + "s_down\030\002 \001(\005\"\361\001\n\032CCSUsrMsg_DamagePredict" + "ion\022\023\n\013command_num\030\001 \001(\005\022\022\n\npellet_idx\030\002" + " \001(\005\022\023\n\013victim_slot\030\003 \001(\005\022\036\n\026victim_star" + "ting_health\030\004 \001(\005\022\025\n\rvictim_damage\030\005 \001(\005" + "\022\036\n\tshoot_pos\030\006 \001(\0132\013.CMsgVector\022\036\n\tshoo" + "t_dir\030\007 \001(\0132\013.CMsgQAngle\022\036\n\taim_punch\030\010 " + "\001(\0132\013.CMsgQAngle\"J\n CCSUsrMsg_RecurringM" + "issionSchema\022\016\n\006period\030\001 \001(\r\022\026\n\016mission_" + "schema\030\002 \001(\014\"\312\001\n\033CCSUsrMsg_SendPlayerLoa" + "dout\0229\n\007loadout\030\001 \003(\0132(.CCSUsrMsg_SendPl" + "ayerLoadout.LoadoutItem\022\026\n\nplayerslot\030\002 " + "\001(\005:\002-1\032X\n\013LoadoutItem\022-\n\tecon_item\030\001 \001(" + "\0132\032.CEconItemPreviewDataBlock\022\014\n\004team\030\002 " + "\001(\005\022\014\n\004slot\030\003 \001(\005*\323\017\n\026ECstrike15UserMess" + "ages\022\023\n\016CS_UM_VGUIMenu\020\255\002\022\021\n\014CS_UM_Geige" + "r\020\256\002\022\020\n\013CS_UM_Train\020\257\002\022\022\n\rCS_UM_HudText\020" + "\260\002\022\022\n\rCS_UM_SayText\020\261\002\022\023\n\016CS_UM_SayText2" + "\020\262\002\022\022\n\rCS_UM_TextMsg\020\263\002\022\021\n\014CS_UM_HudMsg\020" + "\264\002\022\023\n\016CS_UM_ResetHud\020\265\002\022\024\n\017CS_UM_GameTit" + "le\020\266\002\022\020\n\013CS_UM_Shake\020\270\002\022\017\n\nCS_UM_Fade\020\271\002" + "\022\021\n\014CS_UM_Rumble\020\272\002\022\027\n\022CS_UM_CloseCaptio" + "n\020\273\002\022\035\n\030CS_UM_CloseCaptionDirect\020\274\002\022\024\n\017C" + "S_UM_SendAudio\020\275\002\022\023\n\016CS_UM_RawAudio\020\276\002\022\024" + "\n\017CS_UM_VoiceMask\020\277\002\022\027\n\022CS_UM_RequestSta" + "te\020\300\002\022\021\n\014CS_UM_Damage\020\301\002\022\024\n\017CS_UM_RadioT" + "ext\020\302\002\022\023\n\016CS_UM_HintText\020\303\002\022\026\n\021CS_UM_Key" + "HintText\020\304\002\022%\n CS_UM_ProcessSpottedEntit" + "yUpdate\020\305\002\022\027\n\022CS_UM_ReloadEffect\020\306\002\022\026\n\021C" + "S_UM_AdjustMoney\020\307\002\022\032\n\025CS_UM_UpdateTeamM" + "oney\020\310\002\022\034\n\027CS_UM_StopSpectatorMode\020\311\002\022\022\n" + "\rCS_UM_KillCam\020\312\002\022\033\n\026CS_UM_DesiredTimesc" + "ale\020\313\002\022\033\n\026CS_UM_CurrentTimescale\020\314\002\022\033\n\026C" + "S_UM_AchievementEvent\020\315\002\022\035\n\030CS_UM_MatchE" + "ndConditions\020\316\002\022\034\n\027CS_UM_DisconnectToLob" + "by\020\317\002\022\034\n\027CS_UM_PlayerStatsUpdate\020\320\002\022\025\n\020C" + "S_UM_ClientInfo\020\323\002\022\023\n\016CS_UM_XRankGet\020\324\002\022" + "\023\n\016CS_UM_XRankUpd\020\325\002\022\031\n\024CS_UM_CallVoteFa" + "iled\020\331\002\022\024\n\017CS_UM_VoteStart\020\332\002\022\023\n\016CS_UM_V" + "otePass\020\333\002\022\025\n\020CS_UM_VoteFailed\020\334\002\022\024\n\017CS_" + "UM_VoteSetup\020\335\002\022\036\n\031CS_UM_ServerRankRevea" + "lAll\020\336\002\022\'\n\"CS_UM_SendLastKillerDamageToC" + "lient\020\337\002\022\033\n\026CS_UM_ServerRankUpdate\020\340\002\022\025\n" + "\020CS_UM_ItemPickup\020\341\002\022\023\n\016CS_UM_ShowMenu\020\342" + "\002\022\022\n\rCS_UM_BarTime\020\343\002\022\025\n\020CS_UM_AmmoDenie" + "d\020\344\002\022\032\n\025CS_UM_MarkAchievement\020\345\002\022\033\n\026CS_U" + "M_MatchStatsUpdate\020\346\002\022\023\n\016CS_UM_ItemDrop\020" + "\347\002\022\036\n\031CS_UM_SendPlayerItemDrops\020\351\002\022\037\n\032CS" + "_UM_RoundBackupFilenames\020\352\002\022\036\n\031CS_UM_Sen" + "dPlayerItemFound\020\353\002\022\024\n\017CS_UM_ReportHit\020\354" + "\002\022\023\n\016CS_UM_XpUpdate\020\355\002\022\030\n\023CS_UM_QuestPro" + "gress\020\356\002\022\037\n\032CS_UM_ScoreLeaderboardData\020\357" + "\002\022&\n!CS_UM_PlayerDecalDigitalSignature\020\360" + "\002\022\026\n\021CS_UM_WeaponSound\020\361\002\022 \n\033CS_UM_Updat" + "eScreenHealthBar\020\362\002\022!\n\034CS_UM_EntityOutli" + "neHighlight\020\363\002\022\017\n\nCS_UM_SSUI\020\364\002\022\030\n\023CS_UM" + "_SurvivalStats\020\365\002\022\035\n\030CS_UM_DisconnectToL" + "obby2\020\366\002\022#\n\036CS_UM_EndOfMatchAllPlayersDa" + "ta\020\367\002\022 \n\033CS_UM_PostRoundDamageReport\020\370\002\022" + "\035\n\030CS_UM_RoundEndReportData\020\373\002\022\033\n\026CS_UM_" + "CurrentRoundOdds\020\374\002\022\024\n\017CS_UM_DeepStats\020\375" + "\002\022\024\n\017CS_UM_ShootInfo\020\377\002\022\030\n\023CS_UM_Counter" + "Strafe\020\201\003\022\033\n\026CS_UM_DamagePrediction\020\202\003\022!" + "\n\034CS_UM_RecurringMissionSchema\020\203\003\022\034\n\027CS_" + "UM_SendPlayerLoadout\020\204\003*\210\001\n\"ECSUsrMsg_Di" + "sconnectToLobby_Action\0220\n,k_ECSUsrMsg_Di" + "sconnectToLobby_Action_Default\020\000\0220\n,k_EC" + "SUsrMsg_DisconnectToLobby_Action_GoQueue" + "\020\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fusermessages_2eproto_deps[2] = { + &::descriptor_table_cstrike15_5fgcmessages_2eproto, + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_cstrike15_5fusermessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_cstrike15_5fusermessages_2eproto = { + false, false, 10682, descriptor_table_protodef_cstrike15_5fusermessages_2eproto, + "cstrike15_usermessages.proto", + &descriptor_table_cstrike15_5fusermessages_2eproto_once, descriptor_table_cstrike15_5fusermessages_2eproto_deps, 2, 89, + schemas, file_default_instances, TableStruct_cstrike15_5fusermessages_2eproto::offsets, + file_level_metadata_cstrike15_5fusermessages_2eproto, file_level_enum_descriptors_cstrike15_5fusermessages_2eproto, + file_level_service_descriptors_cstrike15_5fusermessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cstrike15_5fusermessages_2eproto_getter() { + return &descriptor_table_cstrike15_5fusermessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cstrike15_5fusermessages_2eproto(&descriptor_table_cstrike15_5fusermessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECstrike15UserMessages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fusermessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[0]; +} +bool ECstrike15UserMessages_IsValid(int value) { + switch (value) { + case 301: + case 302: + case 303: + case 304: + case 305: + case 306: + case 307: + case 308: + case 309: + case 310: + case 312: + case 313: + case 314: + case 315: + case 316: + case 317: + case 318: + case 319: + case 320: + case 321: + case 322: + case 323: + case 324: + case 325: + case 326: + case 327: + case 328: + case 329: + case 330: + case 331: + case 332: + case 333: + case 334: + case 335: + case 336: + case 339: + case 340: + case 341: + case 345: + case 346: + case 347: + case 348: + case 349: + case 350: + case 351: + case 352: + case 353: + case 354: + case 355: + case 356: + case 357: + case 358: + case 359: + case 361: + case 362: + case 363: + case 364: + case 365: + case 366: + case 367: + case 368: + case 369: + case 370: + case 371: + case 372: + case 373: + case 374: + case 375: + case 376: + case 379: + case 380: + case 381: + case 383: + case 385: + case 386: + case 387: + case 388: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSUsrMsg_DisconnectToLobby_Action_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fusermessages_2eproto); + return file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[1]; +} +bool ECSUsrMsg_DisconnectToLobby_Action_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CCSUsrMsg_VGUIMenu_Keys::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys(::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:CCSUsrMsg_VGUIMenu.Keys) +} +CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys(const CCSUsrMsg_VGUIMenu_Keys& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VGUIMenu_Keys* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VGUIMenu.Keys) +} + +inline void CCSUsrMsg_VGUIMenu_Keys::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_VGUIMenu_Keys::~CCSUsrMsg_VGUIMenu_Keys() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VGUIMenu.Keys) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VGUIMenu_Keys::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.value_.Destroy(); +} + +void CCSUsrMsg_VGUIMenu_Keys::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VGUIMenu_Keys::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VGUIMenu.Keys) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VGUIMenu_Keys::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.Keys.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.Keys.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VGUIMenu_Keys::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VGUIMenu.Keys) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VGUIMenu.Keys.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VGUIMenu.Keys.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:CCSUsrMsg_VGUIMenu.Keys) + return target; +} + +size_t CCSUsrMsg_VGUIMenu_Keys::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VGUIMenu.Keys) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VGUIMenu_Keys::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VGUIMenu_Keys::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VGUIMenu_Keys::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VGUIMenu_Keys::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:CCSUsrMsg_VGUIMenu.Keys) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VGUIMenu_Keys::CopyFrom(const CCSUsrMsg_VGUIMenu_Keys& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VGUIMenu.Keys) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VGUIMenu_Keys::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VGUIMenu_Keys::InternalSwap(CCSUsrMsg_VGUIMenu_Keys* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VGUIMenu_Keys::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[0]); +} + +// =================================================================== + +class CCSUsrMsg_VGUIMenu::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_show(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu(::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:CCSUsrMsg_VGUIMenu) +} +CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu(const CCSUsrMsg_VGUIMenu& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VGUIMenu* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){from._impl_.keys_} + , decltype(_impl_.name_){} + , decltype(_impl_.show_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.show_ = from._impl_.show_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VGUIMenu) +} + +inline void CCSUsrMsg_VGUIMenu::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.show_){false} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_VGUIMenu::~CCSUsrMsg_VGUIMenu() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VGUIMenu) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VGUIMenu::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.keys_.~RepeatedPtrField(); + _impl_.name_.Destroy(); +} + +void CCSUsrMsg_VGUIMenu::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VGUIMenu::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VGUIMenu) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.keys_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.show_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VGUIMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool show = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_show(&has_bits); + _impl_.show_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_keys(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VGUIMenu::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VGUIMenu) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VGUIMenu.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional bool show = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_show(), target); + } + + // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_keys(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:CCSUsrMsg_VGUIMenu) + return target; +} + +size_t CCSUsrMsg_VGUIMenu::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VGUIMenu) + 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 .CCSUsrMsg_VGUIMenu.Keys keys = 3; + total_size += 1UL * this->_internal_keys_size(); + for (const auto& msg : this->_impl_.keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional bool show = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VGUIMenu::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VGUIMenu::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VGUIMenu::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VGUIMenu::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:CCSUsrMsg_VGUIMenu) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.keys_.MergeFrom(from._impl_.keys_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.show_ = from._impl_.show_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VGUIMenu::CopyFrom(const CCSUsrMsg_VGUIMenu& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VGUIMenu) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VGUIMenu::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VGUIMenu::InternalSwap(CCSUsrMsg_VGUIMenu* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.keys_.InternalSwap(&other->_impl_.keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.show_, other->_impl_.show_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VGUIMenu::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[1]); +} + +// =================================================================== + +class CCSUsrMsg_Geiger::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_range(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_Geiger::CCSUsrMsg_Geiger(::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:CCSUsrMsg_Geiger) +} +CCSUsrMsg_Geiger::CCSUsrMsg_Geiger(const CCSUsrMsg_Geiger& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Geiger* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.range_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.range_ = from._impl_.range_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Geiger) +} + +inline void CCSUsrMsg_Geiger::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.range_){0} + }; +} + +CCSUsrMsg_Geiger::~CCSUsrMsg_Geiger() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Geiger) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Geiger::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_Geiger::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Geiger::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Geiger) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.range_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Geiger::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 range = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_range(&has_bits); + _impl_.range_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Geiger::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Geiger) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 range = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_range(), 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:CCSUsrMsg_Geiger) + return target; +} + +size_t CCSUsrMsg_Geiger::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Geiger) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 range = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_range()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Geiger::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Geiger::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Geiger::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Geiger::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:CCSUsrMsg_Geiger) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_range()) { + _this->_internal_set_range(from._internal_range()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Geiger::CopyFrom(const CCSUsrMsg_Geiger& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Geiger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Geiger::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Geiger::InternalSwap(CCSUsrMsg_Geiger* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.range_, other->_impl_.range_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Geiger::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[2]); +} + +// =================================================================== + +class CCSUsrMsg_Train::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_train(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_Train::CCSUsrMsg_Train(::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:CCSUsrMsg_Train) +} +CCSUsrMsg_Train::CCSUsrMsg_Train(const CCSUsrMsg_Train& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Train* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.train_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.train_ = from._impl_.train_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Train) +} + +inline void CCSUsrMsg_Train::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.train_){0} + }; +} + +CCSUsrMsg_Train::~CCSUsrMsg_Train() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Train) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Train::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_Train::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Train::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Train) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.train_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Train::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 train = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_train(&has_bits); + _impl_.train_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Train::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Train) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 train = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_train(), 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:CCSUsrMsg_Train) + return target; +} + +size_t CCSUsrMsg_Train::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Train) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 train = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_train()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Train::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Train::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Train::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Train::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:CCSUsrMsg_Train) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_train()) { + _this->_internal_set_train(from._internal_train()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Train::CopyFrom(const CCSUsrMsg_Train& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Train) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Train::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Train::InternalSwap(CCSUsrMsg_Train* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.train_, other->_impl_.train_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Train::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[3]); +} + +// =================================================================== + +class CCSUsrMsg_HudText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_HudText::CCSUsrMsg_HudText(::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:CCSUsrMsg_HudText) +} +CCSUsrMsg_HudText::CCSUsrMsg_HudText(const CCSUsrMsg_HudText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_HudText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HudText) +} + +inline void CCSUsrMsg_HudText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_HudText::~CCSUsrMsg_HudText() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_HudText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_HudText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CCSUsrMsg_HudText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_HudText::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HudText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_HudText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HudText.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_HudText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HudText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string text = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_HudText.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:CCSUsrMsg_HudText) + return target; +} + +size_t CCSUsrMsg_HudText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HudText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string text = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + 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 CCSUsrMsg_HudText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_HudText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HudText::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_HudText::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:CCSUsrMsg_HudText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_text()) { + _this->_internal_set_text(from._internal_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_HudText::CopyFrom(const CCSUsrMsg_HudText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HudText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_HudText::IsInitialized() const { + return true; +} + +void CCSUsrMsg_HudText::InternalSwap(CCSUsrMsg_HudText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HudText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[4]); +} + +// =================================================================== + +class CCSUsrMsg_HudMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_channel(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgVector2D& pos(const CCSUsrMsg_HudMsg* msg); + static void set_has_pos(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgRGBA& clr1(const CCSUsrMsg_HudMsg* msg); + static void set_has_clr1(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgRGBA& clr2(const CCSUsrMsg_HudMsg* msg); + static void set_has_clr2(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_effect(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_fade_in_time(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_fade_out_time(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_hold_time(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_fx_time(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector2D& +CCSUsrMsg_HudMsg::_Internal::pos(const CCSUsrMsg_HudMsg* msg) { + return *msg->_impl_.pos_; +} +const ::CMsgRGBA& +CCSUsrMsg_HudMsg::_Internal::clr1(const CCSUsrMsg_HudMsg* msg) { + return *msg->_impl_.clr1_; +} +const ::CMsgRGBA& +CCSUsrMsg_HudMsg::_Internal::clr2(const CCSUsrMsg_HudMsg* msg) { + return *msg->_impl_.clr2_; +} +void CCSUsrMsg_HudMsg::clear_pos() { + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CCSUsrMsg_HudMsg::clear_clr1() { + if (_impl_.clr1_ != nullptr) _impl_.clr1_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CCSUsrMsg_HudMsg::clear_clr2() { + if (_impl_.clr2_ != nullptr) _impl_.clr2_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg(::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:CCSUsrMsg_HudMsg) +} +CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg(const CCSUsrMsg_HudMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_HudMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.clr1_){nullptr} + , decltype(_impl_.clr2_){nullptr} + , decltype(_impl_.channel_){} + , decltype(_impl_.effect_){} + , decltype(_impl_.fade_in_time_){} + , decltype(_impl_.fade_out_time_){} + , decltype(_impl_.hold_time_){} + , decltype(_impl_.fx_time_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::CMsgVector2D(*from._impl_.pos_); + } + if (from._internal_has_clr1()) { + _this->_impl_.clr1_ = new ::CMsgRGBA(*from._impl_.clr1_); + } + if (from._internal_has_clr2()) { + _this->_impl_.clr2_ = new ::CMsgRGBA(*from._impl_.clr2_); + } + ::memcpy(&_impl_.channel_, &from._impl_.channel_, + static_cast(reinterpret_cast(&_impl_.fx_time_) - + reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.fx_time_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HudMsg) +} + +inline void CCSUsrMsg_HudMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.clr1_){nullptr} + , decltype(_impl_.clr2_){nullptr} + , decltype(_impl_.channel_){0} + , decltype(_impl_.effect_){0} + , decltype(_impl_.fade_in_time_){0} + , decltype(_impl_.fade_out_time_){0} + , decltype(_impl_.hold_time_){0} + , decltype(_impl_.fx_time_){0} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_HudMsg::~CCSUsrMsg_HudMsg() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_HudMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_HudMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); + if (this != internal_default_instance()) delete _impl_.pos_; + if (this != internal_default_instance()) delete _impl_.clr1_; + if (this != internal_default_instance()) delete _impl_.clr2_; +} + +void CCSUsrMsg_HudMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_HudMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HudMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.clr1_ != nullptr); + _impl_.clr1_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.clr2_ != nullptr); + _impl_.clr2_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.channel_, 0, static_cast( + reinterpret_cast(&_impl_.fade_out_time_) - + reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.fade_out_time_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.hold_time_, 0, static_cast( + reinterpret_cast(&_impl_.fx_time_) - + reinterpret_cast(&_impl_.hold_time_)) + sizeof(_impl_.fx_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_HudMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 channel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_channel(&has_bits); + _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector2D pos = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgRGBA clr1 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_clr1(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgRGBA clr2 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_clr2(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 effect = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_effect(&has_bits); + _impl_.effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float fade_in_time = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_fade_in_time(&has_bits); + _impl_.fade_in_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float fade_out_time = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_fade_out_time(&has_bits); + _impl_.fade_out_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float hold_time = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_hold_time(&has_bits); + _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float fx_time = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_fx_time(&has_bits); + _impl_.fx_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string text = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HudMsg.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_HudMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HudMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 channel = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_channel(), target); + } + + // optional .CMsgVector2D pos = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgRGBA clr1 = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::clr1(this), + _Internal::clr1(this).GetCachedSize(), target, stream); + } + + // optional .CMsgRGBA clr2 = 4; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::clr2(this), + _Internal::clr2(this).GetCachedSize(), target, stream); + } + + // optional int32 effect = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_effect(), target); + } + + // optional float fade_in_time = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_fade_in_time(), target); + } + + // optional float fade_out_time = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_fade_out_time(), target); + } + + // optional float hold_time = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_hold_time(), target); + } + + // optional float fx_time = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_fx_time(), target); + } + + // optional string text = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_HudMsg.text"); + target = stream->WriteStringMaybeAliased( + 11, 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:CCSUsrMsg_HudMsg) + return target; +} + +size_t CCSUsrMsg_HudMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HudMsg) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string text = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional .CMsgVector2D pos = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // optional .CMsgRGBA clr1 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.clr1_); + } + + // optional .CMsgRGBA clr2 = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.clr2_); + } + + // optional int32 channel = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); + } + + // optional int32 effect = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_effect()); + } + + // optional float fade_in_time = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float fade_out_time = 7; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000300u) { + // optional float hold_time = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional float fx_time = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_HudMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_HudMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HudMsg::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_HudMsg::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:CCSUsrMsg_HudMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_pos()->::CMsgVector2D::MergeFrom( + from._internal_pos()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_clr1()->::CMsgRGBA::MergeFrom( + from._internal_clr1()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_clr2()->::CMsgRGBA::MergeFrom( + from._internal_clr2()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.channel_ = from._impl_.channel_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.effect_ = from._impl_.effect_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.fade_in_time_ = from._impl_.fade_in_time_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.fade_out_time_ = from._impl_.fade_out_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.hold_time_ = from._impl_.hold_time_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.fx_time_ = from._impl_.fx_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_HudMsg::CopyFrom(const CCSUsrMsg_HudMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HudMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_HudMsg::IsInitialized() const { + return true; +} + +void CCSUsrMsg_HudMsg::InternalSwap(CCSUsrMsg_HudMsg* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_HudMsg, _impl_.fx_time_) + + sizeof(CCSUsrMsg_HudMsg::_impl_.fx_time_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_HudMsg, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HudMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[5]); +} + +// =================================================================== + +class CCSUsrMsg_Shake::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_local_amplitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frequency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_Shake::CCSUsrMsg_Shake(::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:CCSUsrMsg_Shake) +} +CCSUsrMsg_Shake::CCSUsrMsg_Shake(const CCSUsrMsg_Shake& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Shake* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + , decltype(_impl_.local_amplitude_){} + , decltype(_impl_.frequency_){} + , decltype(_impl_.duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.command_, &from._impl_.command_, + static_cast(reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Shake) +} + +inline void CCSUsrMsg_Shake::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){0} + , decltype(_impl_.local_amplitude_){0} + , decltype(_impl_.frequency_){0} + , decltype(_impl_.duration_){0} + }; +} + +CCSUsrMsg_Shake::~CCSUsrMsg_Shake() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Shake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Shake::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_Shake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Shake::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Shake) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.command_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Shake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_command(&has_bits); + _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float local_amplitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_local_amplitude(&has_bits); + _impl_.local_amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frequency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frequency(&has_bits); + _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float duration = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Shake::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Shake) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 command = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_command(), target); + } + + // optional float local_amplitude = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_local_amplitude(), target); + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), 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:CCSUsrMsg_Shake) + return target; +} + +size_t CCSUsrMsg_Shake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Shake) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 command = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_command()); + } + + // optional float local_amplitude = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Shake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Shake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Shake::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Shake::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:CCSUsrMsg_Shake) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.command_ = from._impl_.command_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.local_amplitude_ = from._impl_.local_amplitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frequency_ = from._impl_.frequency_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Shake::CopyFrom(const CCSUsrMsg_Shake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Shake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Shake::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Shake::InternalSwap(CCSUsrMsg_Shake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Shake, _impl_.duration_) + + sizeof(CCSUsrMsg_Shake::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Shake, _impl_.command_)>( + reinterpret_cast(&_impl_.command_), + reinterpret_cast(&other->_impl_.command_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Shake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[6]); +} + +// =================================================================== + +class CCSUsrMsg_Fade::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_hold_time(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgRGBA& clr(const CCSUsrMsg_Fade* msg); + static void set_has_clr(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgRGBA& +CCSUsrMsg_Fade::_Internal::clr(const CCSUsrMsg_Fade* msg) { + return *msg->_impl_.clr_; +} +void CCSUsrMsg_Fade::clear_clr() { + if (_impl_.clr_ != nullptr) _impl_.clr_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_Fade::CCSUsrMsg_Fade(::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:CCSUsrMsg_Fade) +} +CCSUsrMsg_Fade::CCSUsrMsg_Fade(const CCSUsrMsg_Fade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Fade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clr_){nullptr} + , decltype(_impl_.duration_){} + , decltype(_impl_.hold_time_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_clr()) { + _this->_impl_.clr_ = new ::CMsgRGBA(*from._impl_.clr_); + } + ::memcpy(&_impl_.duration_, &from._impl_.duration_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Fade) +} + +inline void CCSUsrMsg_Fade::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clr_){nullptr} + , decltype(_impl_.duration_){0} + , decltype(_impl_.hold_time_){0} + , decltype(_impl_.flags_){0} + }; +} + +CCSUsrMsg_Fade::~CCSUsrMsg_Fade() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Fade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Fade::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.clr_; +} + +void CCSUsrMsg_Fade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Fade::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Fade) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.clr_ != nullptr); + _impl_.clr_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.duration_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Fade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 duration = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 hold_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_hold_time(&has_bits); + _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgRGBA clr = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_clr(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Fade::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Fade) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 duration = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_duration(), target); + } + + // optional int32 hold_time = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hold_time(), target); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); + } + + // optional .CMsgRGBA clr = 4; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::clr(this), + _Internal::clr(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:CCSUsrMsg_Fade) + return target; +} + +size_t CCSUsrMsg_Fade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Fade) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgRGBA clr = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.clr_); + } + + // optional int32 duration = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); + } + + // optional int32 hold_time = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hold_time()); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Fade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Fade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Fade::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Fade::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:CCSUsrMsg_Fade) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_clr()->::CMsgRGBA::MergeFrom( + from._internal_clr()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hold_time_ = from._impl_.hold_time_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Fade::CopyFrom(const CCSUsrMsg_Fade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Fade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Fade::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Fade::InternalSwap(CCSUsrMsg_Fade* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Fade, _impl_.flags_) + + sizeof(CCSUsrMsg_Fade::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Fade, _impl_.clr_)>( + reinterpret_cast(&_impl_.clr_), + reinterpret_cast(&other->_impl_.clr_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Fade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[7]); +} + +// =================================================================== + +class CCSUsrMsg_Rumble::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_Rumble::CCSUsrMsg_Rumble(::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:CCSUsrMsg_Rumble) +} +CCSUsrMsg_Rumble::CCSUsrMsg_Rumble(const CCSUsrMsg_Rumble& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Rumble* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.index_){} + , decltype(_impl_.data_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.index_, &from._impl_.index_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Rumble) +} + +inline void CCSUsrMsg_Rumble::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.index_){0} + , decltype(_impl_.data_){0} + , decltype(_impl_.flags_){0} + }; +} + +CCSUsrMsg_Rumble::~CCSUsrMsg_Rumble() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Rumble) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Rumble::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_Rumble::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Rumble::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Rumble) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.index_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Rumble::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_data(&has_bits); + _impl_.data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Rumble::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Rumble) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int32 data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_data(), target); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), 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:CCSUsrMsg_Rumble) + return target; +} + +size_t CCSUsrMsg_Rumble::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Rumble) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Rumble::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Rumble::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Rumble::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Rumble::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:CCSUsrMsg_Rumble) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.data_ = from._impl_.data_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Rumble::CopyFrom(const CCSUsrMsg_Rumble& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Rumble) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Rumble::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Rumble::InternalSwap(CCSUsrMsg_Rumble* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Rumble, _impl_.flags_) + + sizeof(CCSUsrMsg_Rumble::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Rumble, _impl_.index_)>( + reinterpret_cast(&_impl_.index_), + reinterpret_cast(&other->_impl_.index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Rumble::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[8]); +} + +// =================================================================== + +class CCSUsrMsg_CloseCaption::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hash(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_from_player(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_cctoken(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption(::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:CCSUsrMsg_CloseCaption) +} +CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption(const CCSUsrMsg_CloseCaption& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CloseCaption* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cctoken_){} + , decltype(_impl_.hash_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.from_player_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cctoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cctoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cctoken()) { + _this->_impl_.cctoken_.Set(from._internal_cctoken(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.hash_, &from._impl_.hash_, + static_cast(reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CloseCaption) +} + +inline void CCSUsrMsg_CloseCaption::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cctoken_){} + , decltype(_impl_.hash_){0u} + , decltype(_impl_.duration_){0} + , decltype(_impl_.from_player_){false} + }; + _impl_.cctoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cctoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_CloseCaption::~CCSUsrMsg_CloseCaption() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CloseCaption) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CloseCaption::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cctoken_.Destroy(); +} + +void CCSUsrMsg_CloseCaption::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CloseCaption::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CloseCaption) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.cctoken_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.hash_, 0, static_cast( + reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CloseCaption::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_hash(&has_bits); + _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool from_player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_player(&has_bits); + _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string cctoken = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_cctoken(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_CloseCaption.cctoken"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CloseCaption::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CloseCaption) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 hash = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_hash(), target); + } + + // optional int32 duration = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_duration(), target); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); + } + + // optional string cctoken = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cctoken().data(), static_cast(this->_internal_cctoken().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_CloseCaption.cctoken"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_cctoken(), 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:CCSUsrMsg_CloseCaption) + return target; +} + +size_t CCSUsrMsg_CloseCaption::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CloseCaption) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string cctoken = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cctoken()); + } + + // optional uint32 hash = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hash()); + } + + // optional int32 duration = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CloseCaption::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CloseCaption::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CloseCaption::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CloseCaption::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:CCSUsrMsg_CloseCaption) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_cctoken(from._internal_cctoken()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.hash_ = from._impl_.hash_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.from_player_ = from._impl_.from_player_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CloseCaption::CopyFrom(const CCSUsrMsg_CloseCaption& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CloseCaption) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CloseCaption::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CloseCaption::InternalSwap(CCSUsrMsg_CloseCaption* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cctoken_, lhs_arena, + &other->_impl_.cctoken_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _impl_.from_player_) + + sizeof(CCSUsrMsg_CloseCaption::_impl_.from_player_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _impl_.hash_)>( + reinterpret_cast(&_impl_.hash_), + reinterpret_cast(&other->_impl_.hash_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CloseCaption::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[9]); +} + +// =================================================================== + +class CCSUsrMsg_CloseCaptionDirect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_player(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect(::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:CCSUsrMsg_CloseCaptionDirect) +} +CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect(const CCSUsrMsg_CloseCaptionDirect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CloseCaptionDirect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.from_player_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hash_, &from._impl_.hash_, + static_cast(reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CloseCaptionDirect) +} + +inline void CCSUsrMsg_CloseCaptionDirect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){0u} + , decltype(_impl_.duration_){0} + , decltype(_impl_.from_player_){false} + }; +} + +CCSUsrMsg_CloseCaptionDirect::~CCSUsrMsg_CloseCaptionDirect() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CloseCaptionDirect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CloseCaptionDirect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_CloseCaptionDirect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CloseCaptionDirect::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CloseCaptionDirect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.hash_, 0, static_cast( + reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CloseCaptionDirect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_hash(&has_bits); + _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool from_player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_player(&has_bits); + _impl_.from_player_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CloseCaptionDirect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CloseCaptionDirect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_hash(), target); + } + + // optional int32 duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_duration(), target); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), 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:CCSUsrMsg_CloseCaptionDirect) + return target; +} + +size_t CCSUsrMsg_CloseCaptionDirect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CloseCaptionDirect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hash()); + } + + // optional int32 duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CloseCaptionDirect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CloseCaptionDirect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CloseCaptionDirect::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CloseCaptionDirect::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:CCSUsrMsg_CloseCaptionDirect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hash_ = from._impl_.hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.from_player_ = from._impl_.from_player_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CloseCaptionDirect::CopyFrom(const CCSUsrMsg_CloseCaptionDirect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CloseCaptionDirect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CloseCaptionDirect::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CloseCaptionDirect::InternalSwap(CCSUsrMsg_CloseCaptionDirect* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _impl_.from_player_) + + sizeof(CCSUsrMsg_CloseCaptionDirect::_impl_.from_player_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _impl_.hash_)>( + reinterpret_cast(&_impl_.hash_), + reinterpret_cast(&other->_impl_.hash_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CloseCaptionDirect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[10]); +} + +// =================================================================== + +class CCSUsrMsg_SendAudio::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_radio_sound(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio(::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:CCSUsrMsg_SendAudio) +} +CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio(const CCSUsrMsg_SendAudio& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendAudio* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.radio_sound_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.radio_sound_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.radio_sound_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_radio_sound()) { + _this->_impl_.radio_sound_.Set(from._internal_radio_sound(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendAudio) +} + +inline void CCSUsrMsg_SendAudio::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.radio_sound_){} + }; + _impl_.radio_sound_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.radio_sound_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_SendAudio::~CCSUsrMsg_SendAudio() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendAudio) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendAudio::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.radio_sound_.Destroy(); +} + +void CCSUsrMsg_SendAudio::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendAudio::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendAudio) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.radio_sound_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string radio_sound = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_radio_sound(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_SendAudio.radio_sound"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SendAudio::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendAudio) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string radio_sound = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_radio_sound().data(), static_cast(this->_internal_radio_sound().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_SendAudio.radio_sound"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_radio_sound(), 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:CCSUsrMsg_SendAudio) + return target; +} + +size_t CCSUsrMsg_SendAudio::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendAudio) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string radio_sound = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_radio_sound()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendAudio::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendAudio::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendAudio::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendAudio::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:CCSUsrMsg_SendAudio) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_radio_sound()) { + _this->_internal_set_radio_sound(from._internal_radio_sound()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendAudio::CopyFrom(const CCSUsrMsg_SendAudio& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendAudio) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendAudio::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendAudio::InternalSwap(CCSUsrMsg_SendAudio* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.radio_sound_, lhs_arena, + &other->_impl_.radio_sound_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendAudio::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[11]); +} + +// =================================================================== + +class CCSUsrMsg_RawAudio::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pitch(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entidx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_voice_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio(::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:CCSUsrMsg_RawAudio) +} +CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio(const CCSUsrMsg_RawAudio& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RawAudio* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.voice_filename_){} + , decltype(_impl_.pitch_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.entidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.voice_filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_voice_filename()) { + _this->_impl_.voice_filename_.Set(from._internal_voice_filename(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.pitch_, &from._impl_.pitch_, + static_cast(reinterpret_cast(&_impl_.entidx_) - + reinterpret_cast(&_impl_.pitch_)) + sizeof(_impl_.entidx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RawAudio) +} + +inline void CCSUsrMsg_RawAudio::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.voice_filename_){} + , decltype(_impl_.pitch_){0} + , decltype(_impl_.duration_){0} + , decltype(_impl_.entidx_){-1} + }; + _impl_.voice_filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_RawAudio::~CCSUsrMsg_RawAudio() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RawAudio) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RawAudio::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.voice_filename_.Destroy(); +} + +void CCSUsrMsg_RawAudio::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RawAudio::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RawAudio) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.voice_filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.pitch_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.pitch_)) + sizeof(_impl_.duration_)); + _impl_.entidx_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RawAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 pitch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_pitch(&has_bits); + _impl_.pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entidx = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_entidx(&has_bits); + _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float duration = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string voice_filename = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_voice_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RawAudio.voice_filename"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RawAudio::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RawAudio) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 pitch = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_pitch(), target); + } + + // optional int32 entidx = 2 [default = -1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_entidx(), target); + } + + // optional float duration = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_duration(), target); + } + + // optional string voice_filename = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_voice_filename().data(), static_cast(this->_internal_voice_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_RawAudio.voice_filename"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_voice_filename(), 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:CCSUsrMsg_RawAudio) + return target; +} + +size_t CCSUsrMsg_RawAudio::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RawAudio) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string voice_filename = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_voice_filename()); + } + + // optional int32 pitch = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pitch()); + } + + // optional float duration = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 entidx = 2 [default = -1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RawAudio::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RawAudio::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RawAudio::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RawAudio::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:CCSUsrMsg_RawAudio) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_voice_filename(from._internal_voice_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pitch_ = from._impl_.pitch_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.entidx_ = from._impl_.entidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RawAudio::CopyFrom(const CCSUsrMsg_RawAudio& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RawAudio) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RawAudio::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RawAudio::InternalSwap(CCSUsrMsg_RawAudio* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.voice_filename_, lhs_arena, + &other->_impl_.voice_filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RawAudio, _impl_.duration_) + + sizeof(CCSUsrMsg_RawAudio::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RawAudio, _impl_.pitch_)>( + reinterpret_cast(&_impl_.pitch_), + reinterpret_cast(&other->_impl_.pitch_)); + swap(_impl_.entidx_, other->_impl_.entidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RawAudio::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[12]); +} + +// =================================================================== + +class CCSUsrMsg_VoiceMask_PlayerMask::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_game_rules_mask(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ban_masks(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask(::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:CCSUsrMsg_VoiceMask.PlayerMask) +} +CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask(const CCSUsrMsg_VoiceMask_PlayerMask& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VoiceMask_PlayerMask* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_rules_mask_){} + , decltype(_impl_.ban_masks_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.game_rules_mask_, &from._impl_.game_rules_mask_, + static_cast(reinterpret_cast(&_impl_.ban_masks_) - + reinterpret_cast(&_impl_.game_rules_mask_)) + sizeof(_impl_.ban_masks_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoiceMask.PlayerMask) +} + +inline void CCSUsrMsg_VoiceMask_PlayerMask::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_rules_mask_){0} + , decltype(_impl_.ban_masks_){0} + }; +} + +CCSUsrMsg_VoiceMask_PlayerMask::~CCSUsrMsg_VoiceMask_PlayerMask() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VoiceMask.PlayerMask) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VoiceMask_PlayerMask::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_VoiceMask_PlayerMask::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VoiceMask_PlayerMask::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoiceMask.PlayerMask) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.game_rules_mask_, 0, static_cast( + reinterpret_cast(&_impl_.ban_masks_) - + reinterpret_cast(&_impl_.game_rules_mask_)) + sizeof(_impl_.ban_masks_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VoiceMask_PlayerMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 game_rules_mask = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_game_rules_mask(&has_bits); + _impl_.game_rules_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ban_masks = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ban_masks(&has_bits); + _impl_.ban_masks_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VoiceMask_PlayerMask::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoiceMask.PlayerMask) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 game_rules_mask = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_game_rules_mask(), target); + } + + // optional int32 ban_masks = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ban_masks(), 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:CCSUsrMsg_VoiceMask.PlayerMask) + return target; +} + +size_t CCSUsrMsg_VoiceMask_PlayerMask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoiceMask.PlayerMask) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 game_rules_mask = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_rules_mask()); + } + + // optional int32 ban_masks = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ban_masks()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoiceMask_PlayerMask::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VoiceMask_PlayerMask::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoiceMask_PlayerMask::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VoiceMask_PlayerMask::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:CCSUsrMsg_VoiceMask.PlayerMask) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.game_rules_mask_ = from._impl_.game_rules_mask_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ban_masks_ = from._impl_.ban_masks_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VoiceMask_PlayerMask::CopyFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoiceMask.PlayerMask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VoiceMask_PlayerMask::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VoiceMask_PlayerMask::InternalSwap(CCSUsrMsg_VoiceMask_PlayerMask* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _impl_.ban_masks_) + + sizeof(CCSUsrMsg_VoiceMask_PlayerMask::_impl_.ban_masks_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _impl_.game_rules_mask_)>( + reinterpret_cast(&_impl_.game_rules_mask_), + reinterpret_cast(&other->_impl_.game_rules_mask_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoiceMask_PlayerMask::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[13]); +} + +// =================================================================== + +class CCSUsrMsg_VoiceMask::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_mod_enable(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask(::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:CCSUsrMsg_VoiceMask) +} +CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask(const CCSUsrMsg_VoiceMask& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VoiceMask* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_masks_){from._impl_.player_masks_} + , decltype(_impl_.player_mod_enable_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.player_mod_enable_ = from._impl_.player_mod_enable_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoiceMask) +} + +inline void CCSUsrMsg_VoiceMask::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_masks_){arena} + , decltype(_impl_.player_mod_enable_){false} + }; +} + +CCSUsrMsg_VoiceMask::~CCSUsrMsg_VoiceMask() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VoiceMask) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VoiceMask::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.player_masks_.~RepeatedPtrField(); +} + +void CCSUsrMsg_VoiceMask::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VoiceMask::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoiceMask) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_masks_.Clear(); + _impl_.player_mod_enable_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VoiceMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_player_masks(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional bool player_mod_enable = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_player_mod_enable(&has_bits); + _impl_.player_mod_enable_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VoiceMask::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoiceMask) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_player_masks_size()); i < n; i++) { + const auto& repfield = this->_internal_player_masks(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool player_mod_enable = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_player_mod_enable(), 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:CCSUsrMsg_VoiceMask) + return target; +} + +size_t CCSUsrMsg_VoiceMask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoiceMask) + 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 .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; + total_size += 1UL * this->_internal_player_masks_size(); + for (const auto& msg : this->_impl_.player_masks_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional bool player_mod_enable = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoiceMask::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VoiceMask::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoiceMask::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VoiceMask::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:CCSUsrMsg_VoiceMask) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.player_masks_.MergeFrom(from._impl_.player_masks_); + if (from._internal_has_player_mod_enable()) { + _this->_internal_set_player_mod_enable(from._internal_player_mod_enable()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VoiceMask::CopyFrom(const CCSUsrMsg_VoiceMask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoiceMask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VoiceMask::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VoiceMask::InternalSwap(CCSUsrMsg_VoiceMask* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.player_masks_.InternalSwap(&other->_impl_.player_masks_); + swap(_impl_.player_mod_enable_, other->_impl_.player_mod_enable_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoiceMask::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[14]); +} + +// =================================================================== + +class CCSUsrMsg_Damage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_amount(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& inflictor_world_pos(const CCSUsrMsg_Damage* msg); + static void set_has_inflictor_world_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_victim_entindex(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CCSUsrMsg_Damage::_Internal::inflictor_world_pos(const CCSUsrMsg_Damage* msg) { + return *msg->_impl_.inflictor_world_pos_; +} +void CCSUsrMsg_Damage::clear_inflictor_world_pos() { + if (_impl_.inflictor_world_pos_ != nullptr) _impl_.inflictor_world_pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_Damage::CCSUsrMsg_Damage(::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:CCSUsrMsg_Damage) +} +CCSUsrMsg_Damage::CCSUsrMsg_Damage(const CCSUsrMsg_Damage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_Damage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inflictor_world_pos_){nullptr} + , decltype(_impl_.amount_){} + , decltype(_impl_.victim_entindex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_inflictor_world_pos()) { + _this->_impl_.inflictor_world_pos_ = new ::CMsgVector(*from._impl_.inflictor_world_pos_); + } + ::memcpy(&_impl_.amount_, &from._impl_.amount_, + static_cast(reinterpret_cast(&_impl_.victim_entindex_) - + reinterpret_cast(&_impl_.amount_)) + sizeof(_impl_.victim_entindex_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Damage) +} + +inline void CCSUsrMsg_Damage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inflictor_world_pos_){nullptr} + , decltype(_impl_.amount_){0} + , decltype(_impl_.victim_entindex_){-1} + }; +} + +CCSUsrMsg_Damage::~CCSUsrMsg_Damage() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_Damage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_Damage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.inflictor_world_pos_; +} + +void CCSUsrMsg_Damage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_Damage::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Damage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.inflictor_world_pos_ != nullptr); + _impl_.inflictor_world_pos_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + _impl_.amount_ = 0; + _impl_.victim_entindex_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 amount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_amount(&has_bits); + _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector inflictor_world_pos = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_inflictor_world_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 victim_entindex = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_victim_entindex(&has_bits); + _impl_.victim_entindex_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_Damage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Damage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 amount = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_amount(), target); + } + + // optional .CMsgVector inflictor_world_pos = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::inflictor_world_pos(this), + _Internal::inflictor_world_pos(this).GetCachedSize(), target, stream); + } + + // optional int32 victim_entindex = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_victim_entindex(), 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:CCSUsrMsg_Damage) + return target; +} + +size_t CCSUsrMsg_Damage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Damage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector inflictor_world_pos = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.inflictor_world_pos_); + } + + // optional int32 amount = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_amount()); + } + + // optional int32 victim_entindex = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_entindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Damage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_Damage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Damage::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_Damage::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:CCSUsrMsg_Damage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_inflictor_world_pos()->::CMsgVector::MergeFrom( + from._internal_inflictor_world_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.amount_ = from._impl_.amount_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.victim_entindex_ = from._impl_.victim_entindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_Damage::CopyFrom(const CCSUsrMsg_Damage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Damage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_Damage::IsInitialized() const { + return true; +} + +void CCSUsrMsg_Damage::InternalSwap(CCSUsrMsg_Damage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Damage, _impl_.amount_) + + sizeof(CCSUsrMsg_Damage::_impl_.amount_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Damage, _impl_.inflictor_world_pos_)>( + reinterpret_cast(&_impl_.inflictor_world_pos_), + reinterpret_cast(&other->_impl_.inflictor_world_pos_)); + swap(_impl_.victim_entindex_, other->_impl_.victim_entindex_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Damage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[15]); +} + +// =================================================================== + +class CCSUsrMsg_RadioText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msg_dst(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_client(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_msg_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_RadioText::CCSUsrMsg_RadioText(::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:CCSUsrMsg_RadioText) +} +CCSUsrMsg_RadioText::CCSUsrMsg_RadioText(const CCSUsrMsg_RadioText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RadioText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.params_){from._impl_.params_} + , decltype(_impl_.msg_name_){} + , decltype(_impl_.msg_dst_){} + , decltype(_impl_.client_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.msg_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.msg_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_msg_name()) { + _this->_impl_.msg_name_.Set(from._internal_msg_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.msg_dst_, &from._impl_.msg_dst_, + static_cast(reinterpret_cast(&_impl_.client_) - + reinterpret_cast(&_impl_.msg_dst_)) + sizeof(_impl_.client_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RadioText) +} + +inline void CCSUsrMsg_RadioText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.params_){arena} + , decltype(_impl_.msg_name_){} + , decltype(_impl_.msg_dst_){0} + , decltype(_impl_.client_){-1} + }; + _impl_.msg_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.msg_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_RadioText::~CCSUsrMsg_RadioText() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RadioText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RadioText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.params_.~RepeatedPtrField(); + _impl_.msg_name_.Destroy(); +} + +void CCSUsrMsg_RadioText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RadioText::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RadioText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.params_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.msg_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + _impl_.msg_dst_ = 0; + _impl_.client_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RadioText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 msg_dst = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msg_dst(&has_bits); + _impl_.msg_dst_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client(&has_bits); + _impl_.client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string msg_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_msg_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RadioText.msg_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string params = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_params(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RadioText.params"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RadioText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RadioText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 msg_dst = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_msg_dst(), target); + } + + // optional int32 client = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client(), target); + } + + // optional string msg_name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_msg_name().data(), static_cast(this->_internal_msg_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_RadioText.msg_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_msg_name(), target); + } + + // repeated string params = 4; + for (int i = 0, n = this->_internal_params_size(); i < n; i++) { + const auto& s = this->_internal_params(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_RadioText.params"); + target = stream->WriteString(4, 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:CCSUsrMsg_RadioText) + return target; +} + +size_t CCSUsrMsg_RadioText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RadioText) + 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 params = 4; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.params_.size()); + for (int i = 0, n = _impl_.params_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.params_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string msg_name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_msg_name()); + } + + // optional int32 msg_dst = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_msg_dst()); + } + + // optional int32 client = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RadioText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RadioText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RadioText::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RadioText::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:CCSUsrMsg_RadioText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.params_.MergeFrom(from._impl_.params_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_msg_name(from._internal_msg_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msg_dst_ = from._impl_.msg_dst_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_ = from._impl_.client_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RadioText::CopyFrom(const CCSUsrMsg_RadioText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RadioText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RadioText::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RadioText::InternalSwap(CCSUsrMsg_RadioText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.params_.InternalSwap(&other->_impl_.params_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.msg_name_, lhs_arena, + &other->_impl_.msg_name_, rhs_arena + ); + swap(_impl_.msg_dst_, other->_impl_.msg_dst_); + swap(_impl_.client_, other->_impl_.client_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RadioText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[16]); +} + +// =================================================================== + +class CCSUsrMsg_HintText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_HintText::CCSUsrMsg_HintText(::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:CCSUsrMsg_HintText) +} +CCSUsrMsg_HintText::CCSUsrMsg_HintText(const CCSUsrMsg_HintText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_HintText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HintText) +} + +inline void CCSUsrMsg_HintText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_HintText::~CCSUsrMsg_HintText() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_HintText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_HintText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void CCSUsrMsg_HintText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_HintText::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HintText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_HintText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string message = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HintText.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_HintText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HintText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string message = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_HintText.message"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_message(), 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:CCSUsrMsg_HintText) + return target; +} + +size_t CCSUsrMsg_HintText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HintText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string message = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_HintText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_HintText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HintText::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_HintText::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:CCSUsrMsg_HintText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_message()) { + _this->_internal_set_message(from._internal_message()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_HintText::CopyFrom(const CCSUsrMsg_HintText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HintText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_HintText::IsInitialized() const { + return true; +} + +void CCSUsrMsg_HintText::InternalSwap(CCSUsrMsg_HintText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HintText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[17]); +} + +// =================================================================== + +class CCSUsrMsg_KeyHintText::_Internal { + public: +}; + +CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText(::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:CCSUsrMsg_KeyHintText) +} +CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText(const CCSUsrMsg_KeyHintText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_KeyHintText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.messages_){from._impl_.messages_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_KeyHintText) +} + +inline void CCSUsrMsg_KeyHintText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.messages_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CCSUsrMsg_KeyHintText::~CCSUsrMsg_KeyHintText() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_KeyHintText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_KeyHintText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.messages_.~RepeatedPtrField(); +} + +void CCSUsrMsg_KeyHintText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_KeyHintText::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_KeyHintText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.messages_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_KeyHintText::_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 string messages = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_messages(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_KeyHintText.messages"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CCSUsrMsg_KeyHintText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_KeyHintText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string messages = 1; + for (int i = 0, n = this->_internal_messages_size(); i < n; i++) { + const auto& s = this->_internal_messages(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_KeyHintText.messages"); + target = stream->WriteString(1, 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:CCSUsrMsg_KeyHintText) + return target; +} + +size_t CCSUsrMsg_KeyHintText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_KeyHintText) + 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 messages = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.messages_.size()); + for (int i = 0, n = _impl_.messages_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.messages_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_KeyHintText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_KeyHintText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_KeyHintText::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_KeyHintText::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:CCSUsrMsg_KeyHintText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.messages_.MergeFrom(from._impl_.messages_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_KeyHintText::CopyFrom(const CCSUsrMsg_KeyHintText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_KeyHintText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_KeyHintText::IsInitialized() const { + return true; +} + +void CCSUsrMsg_KeyHintText::InternalSwap(CCSUsrMsg_KeyHintText* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.messages_.InternalSwap(&other->_impl_.messages_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_KeyHintText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[18]); +} + +// =================================================================== + +class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_idx(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_class_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_origin_x(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_origin_y(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_origin_z(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_angle_y(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_defuser(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_player_has_defuser(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_player_has_c4(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::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:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) +} +CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_id_){} + , decltype(_impl_.origin_x_){} + , decltype(_impl_.origin_y_){} + , decltype(_impl_.origin_z_){} + , decltype(_impl_.angle_y_){} + , decltype(_impl_.defuser_){} + , decltype(_impl_.player_has_defuser_){} + , decltype(_impl_.player_has_c4_){} + , decltype(_impl_.entity_idx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.class_id_, &from._impl_.class_id_, + static_cast(reinterpret_cast(&_impl_.entity_idx_) - + reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.entity_idx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) +} + +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_id_){0} + , decltype(_impl_.origin_x_){0} + , decltype(_impl_.origin_y_){0} + , decltype(_impl_.origin_z_){0} + , decltype(_impl_.angle_y_){0} + , decltype(_impl_.defuser_){false} + , decltype(_impl_.player_has_defuser_){false} + , decltype(_impl_.player_has_c4_){false} + , decltype(_impl_.entity_idx_){-1} + }; +} + +CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.class_id_, 0, static_cast( + reinterpret_cast(&_impl_.player_has_c4_) - + reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.player_has_c4_)); + } + _impl_.entity_idx_ = -1; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entity_idx = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_idx(&has_bits); + _impl_.entity_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 class_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_class_id(&has_bits); + _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 origin_x = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_origin_x(&has_bits); + _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 origin_y = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_origin_y(&has_bits); + _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 origin_z = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_origin_z(&has_bits); + _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 angle_y = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_angle_y(&has_bits); + _impl_.angle_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool defuser = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_defuser(&has_bits); + _impl_.defuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool player_has_defuser = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_player_has_defuser(&has_bits); + _impl_.player_has_defuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool player_has_c4 = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_player_has_c4(&has_bits); + _impl_.player_has_c4_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entity_idx = 1 [default = -1]; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_idx(), target); + } + + // optional int32 class_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_class_id(), target); + } + + // optional int32 origin_x = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_origin_x(), target); + } + + // optional int32 origin_y = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_origin_y(), target); + } + + // optional int32 origin_z = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_origin_z(), target); + } + + // optional int32 angle_y = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_angle_y(), target); + } + + // optional bool defuser = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_defuser(), target); + } + + // optional bool player_has_defuser = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_player_has_defuser(), target); + } + + // optional bool player_has_c4 = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_player_has_c4(), 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:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + return target; +} + +size_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional int32 class_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); + } + + // optional int32 origin_x = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_x()); + } + + // optional int32 origin_y = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_y()); + } + + // optional int32 origin_z = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_z()); + } + + // optional int32 angle_y = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_angle_y()); + } + + // optional bool defuser = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional bool player_has_defuser = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool player_has_c4 = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + // optional int32 entity_idx = 1 [default = -1]; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_idx()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::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:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.class_id_ = from._impl_.class_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.origin_x_ = from._impl_.origin_x_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.origin_y_ = from._impl_.origin_y_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.origin_z_ = from._impl_.origin_z_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.angle_y_ = from._impl_.angle_y_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.defuser_ = from._impl_.defuser_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.player_has_defuser_ = from._impl_.player_has_defuser_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.player_has_c4_ = from._impl_.player_has_c4_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_entity_idx(from._internal_entity_idx()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_c4_) + + sizeof(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_impl_.player_has_c4_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.class_id_)>( + reinterpret_cast(&_impl_.class_id_), + reinterpret_cast(&other->_impl_.class_id_)); + swap(_impl_.entity_idx_, other->_impl_.entity_idx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[19]); +} + +// =================================================================== + +class CCSUsrMsg_ProcessSpottedEntityUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_new_update(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate(::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:CCSUsrMsg_ProcessSpottedEntityUpdate) +} +CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ProcessSpottedEntityUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_updates_){from._impl_.entity_updates_} + , decltype(_impl_.new_update_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.new_update_ = from._impl_.new_update_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate) +} + +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_updates_){arena} + , decltype(_impl_.new_update_){false} + }; +} + +CCSUsrMsg_ProcessSpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ProcessSpottedEntityUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entity_updates_.~RepeatedPtrField(); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ProcessSpottedEntityUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entity_updates_.Clear(); + _impl_.new_update_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ProcessSpottedEntityUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool new_update = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_new_update(&has_bits); + _impl_.new_update_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entity_updates(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ProcessSpottedEntityUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ProcessSpottedEntityUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool new_update = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_new_update(), target); + } + + // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_entity_updates_size()); i < n; i++) { + const auto& repfield = this->_internal_entity_updates(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:CCSUsrMsg_ProcessSpottedEntityUpdate) + return target; +} + +size_t CCSUsrMsg_ProcessSpottedEntityUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ProcessSpottedEntityUpdate) + 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 .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; + total_size += 1UL * this->_internal_entity_updates_size(); + for (const auto& msg : this->_impl_.entity_updates_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional bool new_update = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ProcessSpottedEntityUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ProcessSpottedEntityUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ProcessSpottedEntityUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ProcessSpottedEntityUpdate::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:CCSUsrMsg_ProcessSpottedEntityUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entity_updates_.MergeFrom(from._impl_.entity_updates_); + if (from._internal_has_new_update()) { + _this->_internal_set_new_update(from._internal_new_update()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ProcessSpottedEntityUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ProcessSpottedEntityUpdate::InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.entity_updates_.InternalSwap(&other->_impl_.entity_updates_); + swap(_impl_.new_update_, other->_impl_.new_update_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[20]); +} + +// =================================================================== + +class CCSUsrMsg_SendPlayerItemDrops::_Internal { + public: +}; + +void CCSUsrMsg_SendPlayerItemDrops::clear_entity_updates() { + _impl_.entity_updates_.Clear(); +} +CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops(::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:CCSUsrMsg_SendPlayerItemDrops) +} +CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops(const CCSUsrMsg_SendPlayerItemDrops& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendPlayerItemDrops* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.entity_updates_){from._impl_.entity_updates_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerItemDrops) +} + +inline void CCSUsrMsg_SendPlayerItemDrops::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.entity_updates_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CCSUsrMsg_SendPlayerItemDrops::~CCSUsrMsg_SendPlayerItemDrops() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerItemDrops) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendPlayerItemDrops::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entity_updates_.~RepeatedPtrField(); +} + +void CCSUsrMsg_SendPlayerItemDrops::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendPlayerItemDrops::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerItemDrops) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entity_updates_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendPlayerItemDrops::_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 .CEconItemPreviewDataBlock entity_updates = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_entity_updates(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CCSUsrMsg_SendPlayerItemDrops::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerItemDrops) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CEconItemPreviewDataBlock entity_updates = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_entity_updates_size()); i < n; i++) { + const auto& repfield = this->_internal_entity_updates(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CCSUsrMsg_SendPlayerItemDrops) + return target; +} + +size_t CCSUsrMsg_SendPlayerItemDrops::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerItemDrops) + 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 .CEconItemPreviewDataBlock entity_updates = 1; + total_size += 1UL * this->_internal_entity_updates_size(); + for (const auto& msg : this->_impl_.entity_updates_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerItemDrops::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendPlayerItemDrops::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerItemDrops::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendPlayerItemDrops::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:CCSUsrMsg_SendPlayerItemDrops) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entity_updates_.MergeFrom(from._impl_.entity_updates_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendPlayerItemDrops::CopyFrom(const CCSUsrMsg_SendPlayerItemDrops& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerItemDrops) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendPlayerItemDrops::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendPlayerItemDrops::InternalSwap(CCSUsrMsg_SendPlayerItemDrops* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.entity_updates_.InternalSwap(&other->_impl_.entity_updates_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerItemDrops::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[21]); +} + +// =================================================================== + +class CCSUsrMsg_SendPlayerItemFound::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEconItemPreviewDataBlock& iteminfo(const CCSUsrMsg_SendPlayerItemFound* msg); + static void set_has_iteminfo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_playerslot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CEconItemPreviewDataBlock& +CCSUsrMsg_SendPlayerItemFound::_Internal::iteminfo(const CCSUsrMsg_SendPlayerItemFound* msg) { + return *msg->_impl_.iteminfo_; +} +void CCSUsrMsg_SendPlayerItemFound::clear_iteminfo() { + if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound(::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:CCSUsrMsg_SendPlayerItemFound) +} +CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound(const CCSUsrMsg_SendPlayerItemFound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendPlayerItemFound* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr} + , decltype(_impl_.playerslot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_iteminfo()) { + _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); + } + _this->_impl_.playerslot_ = from._impl_.playerslot_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerItemFound) +} + +inline void CCSUsrMsg_SendPlayerItemFound::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.iteminfo_){nullptr} + , decltype(_impl_.playerslot_){-1} + }; +} + +CCSUsrMsg_SendPlayerItemFound::~CCSUsrMsg_SendPlayerItemFound() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerItemFound) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendPlayerItemFound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.iteminfo_; +} + +void CCSUsrMsg_SendPlayerItemFound::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendPlayerItemFound::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerItemFound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); + _impl_.iteminfo_->Clear(); + } + _impl_.playerslot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendPlayerItemFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEconItemPreviewDataBlock iteminfo = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 playerslot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_playerslot(&has_bits); + _impl_.playerslot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SendPlayerItemFound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerItemFound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::iteminfo(this), + _Internal::iteminfo(this).GetCachedSize(), target, stream); + } + + // optional int32 playerslot = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), 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:CCSUsrMsg_SendPlayerItemFound) + return target; +} + +size_t CCSUsrMsg_SendPlayerItemFound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerItemFound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CEconItemPreviewDataBlock iteminfo = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.iteminfo_); + } + + // optional int32 playerslot = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerItemFound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendPlayerItemFound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerItemFound::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendPlayerItemFound::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:CCSUsrMsg_SendPlayerItemFound) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( + from._internal_iteminfo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.playerslot_ = from._impl_.playerslot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendPlayerItemFound::CopyFrom(const CCSUsrMsg_SendPlayerItemFound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerItemFound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendPlayerItemFound::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendPlayerItemFound::InternalSwap(CCSUsrMsg_SendPlayerItemFound* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.iteminfo_, other->_impl_.iteminfo_); + swap(_impl_.playerslot_, other->_impl_.playerslot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerItemFound::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[22]); +} + +// =================================================================== + +class CCSUsrMsg_ReloadEffect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entidx(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_actanim(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_origin_x(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_origin_y(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_origin_z(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect(::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:CCSUsrMsg_ReloadEffect) +} +CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect(const CCSUsrMsg_ReloadEffect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ReloadEffect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.actanim_){} + , decltype(_impl_.origin_x_){} + , decltype(_impl_.origin_y_){} + , decltype(_impl_.origin_z_){} + , decltype(_impl_.entidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.actanim_, &from._impl_.actanim_, + static_cast(reinterpret_cast(&_impl_.entidx_) - + reinterpret_cast(&_impl_.actanim_)) + sizeof(_impl_.entidx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ReloadEffect) +} + +inline void CCSUsrMsg_ReloadEffect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.actanim_){0} + , decltype(_impl_.origin_x_){0} + , decltype(_impl_.origin_y_){0} + , decltype(_impl_.origin_z_){0} + , decltype(_impl_.entidx_){-1} + }; +} + +CCSUsrMsg_ReloadEffect::~CCSUsrMsg_ReloadEffect() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ReloadEffect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ReloadEffect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ReloadEffect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ReloadEffect::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ReloadEffect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.actanim_, 0, static_cast( + reinterpret_cast(&_impl_.origin_z_) - + reinterpret_cast(&_impl_.actanim_)) + sizeof(_impl_.origin_z_)); + _impl_.entidx_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ReloadEffect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entidx = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entidx(&has_bits); + _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 actanim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_actanim(&has_bits); + _impl_.actanim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float origin_x = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_origin_x(&has_bits); + _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float origin_y = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_origin_y(&has_bits); + _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float origin_z = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_origin_z(&has_bits); + _impl_.origin_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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ReloadEffect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ReloadEffect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); + } + + // optional int32 actanim = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_actanim(), target); + } + + // optional float origin_x = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_origin_x(), target); + } + + // optional float origin_y = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_origin_y(), target); + } + + // optional float origin_z = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_origin_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:CCSUsrMsg_ReloadEffect) + return target; +} + +size_t CCSUsrMsg_ReloadEffect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ReloadEffect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 actanim = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actanim()); + } + + // optional float origin_x = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float origin_y = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float origin_z = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ReloadEffect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ReloadEffect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ReloadEffect::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ReloadEffect::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:CCSUsrMsg_ReloadEffect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.actanim_ = from._impl_.actanim_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.origin_x_ = from._impl_.origin_x_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.origin_y_ = from._impl_.origin_y_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.origin_z_ = from._impl_.origin_z_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.entidx_ = from._impl_.entidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ReloadEffect::CopyFrom(const CCSUsrMsg_ReloadEffect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ReloadEffect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ReloadEffect::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ReloadEffect::InternalSwap(CCSUsrMsg_ReloadEffect* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _impl_.origin_z_) + + sizeof(CCSUsrMsg_ReloadEffect::_impl_.origin_z_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _impl_.actanim_)>( + reinterpret_cast(&_impl_.actanim_), + reinterpret_cast(&other->_impl_.actanim_)); + swap(_impl_.entidx_, other->_impl_.entidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ReloadEffect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[23]); +} + +// =================================================================== + +class CCSUsrMsg_WeaponSound::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entidx(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_origin_x(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_origin_y(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_origin_z(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_sound(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_game_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_source_soundscapeid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound(::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:CCSUsrMsg_WeaponSound) +} +CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound(const CCSUsrMsg_WeaponSound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_WeaponSound* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_){} + , decltype(_impl_.origin_x_){} + , decltype(_impl_.origin_y_){} + , decltype(_impl_.origin_z_){} + , decltype(_impl_.game_timestamp_){} + , decltype(_impl_.source_soundscapeid_){} + , decltype(_impl_.entidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sound_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sound_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sound()) { + _this->_impl_.sound_.Set(from._internal_sound(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.origin_x_, &from._impl_.origin_x_, + static_cast(reinterpret_cast(&_impl_.entidx_) - + reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.entidx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_WeaponSound) +} + +inline void CCSUsrMsg_WeaponSound::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_){} + , decltype(_impl_.origin_x_){0} + , decltype(_impl_.origin_y_){0} + , decltype(_impl_.origin_z_){0} + , decltype(_impl_.game_timestamp_){0} + , decltype(_impl_.source_soundscapeid_){0u} + , decltype(_impl_.entidx_){-1} + }; + _impl_.sound_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sound_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_WeaponSound::~CCSUsrMsg_WeaponSound() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_WeaponSound) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_WeaponSound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sound_.Destroy(); +} + +void CCSUsrMsg_WeaponSound::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_WeaponSound::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_WeaponSound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.sound_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.origin_x_, 0, static_cast( + reinterpret_cast(&_impl_.source_soundscapeid_) - + reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.source_soundscapeid_)); + _impl_.entidx_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_WeaponSound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entidx = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entidx(&has_bits); + _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float origin_x = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_origin_x(&has_bits); + _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float origin_y = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_origin_y(&has_bits); + _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float origin_z = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_origin_z(&has_bits); + _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string sound = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_sound(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_WeaponSound.sound"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float game_timestamp = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_game_timestamp(&has_bits); + _impl_.game_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed32 source_soundscapeid = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_source_soundscapeid(&has_bits); + _impl_.source_soundscapeid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_WeaponSound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_WeaponSound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); + } + + // optional float origin_x = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_origin_x(), target); + } + + // optional float origin_y = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_origin_y(), target); + } + + // optional float origin_z = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_origin_z(), target); + } + + // optional string sound = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sound().data(), static_cast(this->_internal_sound().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_WeaponSound.sound"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_sound(), target); + } + + // optional float game_timestamp = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_game_timestamp(), target); + } + + // optional fixed32 source_soundscapeid = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_source_soundscapeid(), 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:CCSUsrMsg_WeaponSound) + return target; +} + +size_t CCSUsrMsg_WeaponSound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_WeaponSound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string sound = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sound()); + } + + // optional float origin_x = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float origin_y = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float origin_z = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional float game_timestamp = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 source_soundscapeid = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_WeaponSound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_WeaponSound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_WeaponSound::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_WeaponSound::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:CCSUsrMsg_WeaponSound) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sound(from._internal_sound()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.origin_x_ = from._impl_.origin_x_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.origin_y_ = from._impl_.origin_y_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.origin_z_ = from._impl_.origin_z_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.game_timestamp_ = from._impl_.game_timestamp_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.source_soundscapeid_ = from._impl_.source_soundscapeid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.entidx_ = from._impl_.entidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_WeaponSound::CopyFrom(const CCSUsrMsg_WeaponSound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_WeaponSound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_WeaponSound::IsInitialized() const { + return true; +} + +void CCSUsrMsg_WeaponSound::InternalSwap(CCSUsrMsg_WeaponSound* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sound_, lhs_arena, + &other->_impl_.sound_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_WeaponSound, _impl_.source_soundscapeid_) + + sizeof(CCSUsrMsg_WeaponSound::_impl_.source_soundscapeid_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_WeaponSound, _impl_.origin_x_)>( + reinterpret_cast(&_impl_.origin_x_), + reinterpret_cast(&other->_impl_.origin_x_)); + swap(_impl_.entidx_, other->_impl_.entidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_WeaponSound::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[24]); +} + +// =================================================================== + +class CCSUsrMsg_UpdateScreenHealthBar::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entidx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_healthratio_old(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_healthratio_new(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_style(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar(::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:CCSUsrMsg_UpdateScreenHealthBar) +} +CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar(const CCSUsrMsg_UpdateScreenHealthBar& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_UpdateScreenHealthBar* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.healthratio_old_){} + , decltype(_impl_.healthratio_new_){} + , decltype(_impl_.style_){} + , decltype(_impl_.entidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.healthratio_old_, &from._impl_.healthratio_old_, + static_cast(reinterpret_cast(&_impl_.entidx_) - + reinterpret_cast(&_impl_.healthratio_old_)) + sizeof(_impl_.entidx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_UpdateScreenHealthBar) +} + +inline void CCSUsrMsg_UpdateScreenHealthBar::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.healthratio_old_){0} + , decltype(_impl_.healthratio_new_){0} + , decltype(_impl_.style_){0} + , decltype(_impl_.entidx_){-1} + }; +} + +CCSUsrMsg_UpdateScreenHealthBar::~CCSUsrMsg_UpdateScreenHealthBar() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_UpdateScreenHealthBar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_UpdateScreenHealthBar::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_UpdateScreenHealthBar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_UpdateScreenHealthBar::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_UpdateScreenHealthBar) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.healthratio_old_, 0, static_cast( + reinterpret_cast(&_impl_.style_) - + reinterpret_cast(&_impl_.healthratio_old_)) + sizeof(_impl_.style_)); + _impl_.entidx_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_UpdateScreenHealthBar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entidx = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entidx(&has_bits); + _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float healthratio_old = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_healthratio_old(&has_bits); + _impl_.healthratio_old_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float healthratio_new = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_healthratio_new(&has_bits); + _impl_.healthratio_new_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 style = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_style(&has_bits); + _impl_.style_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_UpdateScreenHealthBar::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_UpdateScreenHealthBar) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); + } + + // optional float healthratio_old = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_healthratio_old(), target); + } + + // optional float healthratio_new = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_healthratio_new(), target); + } + + // optional int32 style = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_style(), 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:CCSUsrMsg_UpdateScreenHealthBar) + return target; +} + +size_t CCSUsrMsg_UpdateScreenHealthBar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_UpdateScreenHealthBar) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float healthratio_old = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float healthratio_new = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional int32 style = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_style()); + } + + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_UpdateScreenHealthBar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_UpdateScreenHealthBar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_UpdateScreenHealthBar::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_UpdateScreenHealthBar::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:CCSUsrMsg_UpdateScreenHealthBar) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.healthratio_old_ = from._impl_.healthratio_old_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.healthratio_new_ = from._impl_.healthratio_new_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.style_ = from._impl_.style_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.entidx_ = from._impl_.entidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_UpdateScreenHealthBar::CopyFrom(const CCSUsrMsg_UpdateScreenHealthBar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_UpdateScreenHealthBar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_UpdateScreenHealthBar::IsInitialized() const { + return true; +} + +void CCSUsrMsg_UpdateScreenHealthBar::InternalSwap(CCSUsrMsg_UpdateScreenHealthBar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_UpdateScreenHealthBar, _impl_.style_) + + sizeof(CCSUsrMsg_UpdateScreenHealthBar::_impl_.style_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_old_)>( + reinterpret_cast(&_impl_.healthratio_old_), + reinterpret_cast(&other->_impl_.healthratio_old_)); + swap(_impl_.entidx_, other->_impl_.entidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_UpdateScreenHealthBar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[25]); +} + +// =================================================================== + +class CCSUsrMsg_EntityOutlineHighlight::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entidx(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_removehighlight(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight(::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:CCSUsrMsg_EntityOutlineHighlight) +} +CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight(const CCSUsrMsg_EntityOutlineHighlight& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_EntityOutlineHighlight* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.removehighlight_){} + , decltype(_impl_.entidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.removehighlight_, &from._impl_.removehighlight_, + static_cast(reinterpret_cast(&_impl_.entidx_) - + reinterpret_cast(&_impl_.removehighlight_)) + sizeof(_impl_.entidx_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EntityOutlineHighlight) +} + +inline void CCSUsrMsg_EntityOutlineHighlight::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.removehighlight_){false} + , decltype(_impl_.entidx_){-1} + }; +} + +CCSUsrMsg_EntityOutlineHighlight::~CCSUsrMsg_EntityOutlineHighlight() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_EntityOutlineHighlight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_EntityOutlineHighlight::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_EntityOutlineHighlight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_EntityOutlineHighlight::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EntityOutlineHighlight) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.removehighlight_ = false; + _impl_.entidx_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_EntityOutlineHighlight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entidx = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entidx(&has_bits); + _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool removehighlight = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_removehighlight(&has_bits); + _impl_.removehighlight_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_EntityOutlineHighlight::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EntityOutlineHighlight) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); + } + + // optional bool removehighlight = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_removehighlight(), 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:CCSUsrMsg_EntityOutlineHighlight) + return target; +} + +size_t CCSUsrMsg_EntityOutlineHighlight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EntityOutlineHighlight) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bool removehighlight = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional int32 entidx = 1 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EntityOutlineHighlight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_EntityOutlineHighlight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EntityOutlineHighlight::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_EntityOutlineHighlight::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:CCSUsrMsg_EntityOutlineHighlight) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.removehighlight_ = from._impl_.removehighlight_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entidx_ = from._impl_.entidx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_EntityOutlineHighlight::CopyFrom(const CCSUsrMsg_EntityOutlineHighlight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EntityOutlineHighlight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_EntityOutlineHighlight::IsInitialized() const { + return true; +} + +void CCSUsrMsg_EntityOutlineHighlight::InternalSwap(CCSUsrMsg_EntityOutlineHighlight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.removehighlight_, other->_impl_.removehighlight_); + swap(_impl_.entidx_, other->_impl_.entidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EntityOutlineHighlight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[26]); +} + +// =================================================================== + +class CCSUsrMsg_AdjustMoney::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_amount(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney(::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:CCSUsrMsg_AdjustMoney) +} +CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney(const CCSUsrMsg_AdjustMoney& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_AdjustMoney* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.amount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.amount_ = from._impl_.amount_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AdjustMoney) +} + +inline void CCSUsrMsg_AdjustMoney::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.amount_){0} + }; +} + +CCSUsrMsg_AdjustMoney::~CCSUsrMsg_AdjustMoney() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_AdjustMoney) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_AdjustMoney::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_AdjustMoney::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_AdjustMoney::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AdjustMoney) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.amount_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_AdjustMoney::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 amount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_amount(&has_bits); + _impl_.amount_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_AdjustMoney::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AdjustMoney) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 amount = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_amount(), 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:CCSUsrMsg_AdjustMoney) + return target; +} + +size_t CCSUsrMsg_AdjustMoney::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AdjustMoney) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 amount = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_amount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AdjustMoney::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_AdjustMoney::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AdjustMoney::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_AdjustMoney::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:CCSUsrMsg_AdjustMoney) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_amount()) { + _this->_internal_set_amount(from._internal_amount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_AdjustMoney::CopyFrom(const CCSUsrMsg_AdjustMoney& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AdjustMoney) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_AdjustMoney::IsInitialized() const { + return true; +} + +void CCSUsrMsg_AdjustMoney::InternalSwap(CCSUsrMsg_AdjustMoney* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.amount_, other->_impl_.amount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AdjustMoney::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[27]); +} + +// =================================================================== + +class CCSUsrMsg_ReportHit::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pos_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pos_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_pos_z(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit(::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:CCSUsrMsg_ReportHit) +} +CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit(const CCSUsrMsg_ReportHit& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ReportHit* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_x_){} + , decltype(_impl_.pos_y_){} + , decltype(_impl_.pos_z_){} + , decltype(_impl_.timestamp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.pos_x_, &from._impl_.pos_x_, + static_cast(reinterpret_cast(&_impl_.timestamp_) - + reinterpret_cast(&_impl_.pos_x_)) + sizeof(_impl_.timestamp_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ReportHit) +} + +inline void CCSUsrMsg_ReportHit::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_x_){0} + , decltype(_impl_.pos_y_){0} + , decltype(_impl_.pos_z_){0} + , decltype(_impl_.timestamp_){0} + }; +} + +CCSUsrMsg_ReportHit::~CCSUsrMsg_ReportHit() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ReportHit) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ReportHit::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ReportHit::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ReportHit::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ReportHit) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.pos_x_, 0, static_cast( + reinterpret_cast(&_impl_.timestamp_) - + reinterpret_cast(&_impl_.pos_x_)) + sizeof(_impl_.timestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ReportHit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float pos_x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_pos_x(&has_bits); + _impl_.pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float pos_y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_pos_y(&has_bits); + _impl_.pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float pos_z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_pos_z(&has_bits); + _impl_.pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_timestamp(&has_bits); + _impl_.timestamp_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ReportHit::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ReportHit) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float pos_x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_pos_x(), target); + } + + // optional float pos_y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_pos_y(), target); + } + + // optional float pos_z = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_pos_z(), target); + } + + // optional float timestamp = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_timestamp(), 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:CCSUsrMsg_ReportHit) + return target; +} + +size_t CCSUsrMsg_ReportHit::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ReportHit) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float pos_x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float pos_y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float pos_z = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float timestamp = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ReportHit::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ReportHit::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ReportHit::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ReportHit::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:CCSUsrMsg_ReportHit) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.pos_x_ = from._impl_.pos_x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pos_y_ = from._impl_.pos_y_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.pos_z_ = from._impl_.pos_z_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ReportHit::CopyFrom(const CCSUsrMsg_ReportHit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ReportHit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ReportHit::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ReportHit::InternalSwap(CCSUsrMsg_ReportHit* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReportHit, _impl_.timestamp_) + + sizeof(CCSUsrMsg_ReportHit::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReportHit, _impl_.pos_x_)>( + reinterpret_cast(&_impl_.pos_x_), + reinterpret_cast(&other->_impl_.pos_x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ReportHit::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[28]); +} + +// =================================================================== + +class CCSUsrMsg_KillCam::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_obs_mode(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_first_target(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_second_target(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_KillCam::CCSUsrMsg_KillCam(::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:CCSUsrMsg_KillCam) +} +CCSUsrMsg_KillCam::CCSUsrMsg_KillCam(const CCSUsrMsg_KillCam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_KillCam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.obs_mode_){} + , decltype(_impl_.first_target_){} + , decltype(_impl_.second_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.obs_mode_, &from._impl_.obs_mode_, + static_cast(reinterpret_cast(&_impl_.second_target_) - + reinterpret_cast(&_impl_.obs_mode_)) + sizeof(_impl_.second_target_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_KillCam) +} + +inline void CCSUsrMsg_KillCam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.obs_mode_){0} + , decltype(_impl_.first_target_){-1} + , decltype(_impl_.second_target_){-1} + }; +} + +CCSUsrMsg_KillCam::~CCSUsrMsg_KillCam() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_KillCam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_KillCam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_KillCam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_KillCam::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_KillCam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + _impl_.obs_mode_ = 0; + _impl_.first_target_ = -1; + _impl_.second_target_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_KillCam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 obs_mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_obs_mode(&has_bits); + _impl_.obs_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 first_target = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_first_target(&has_bits); + _impl_.first_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 second_target = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_second_target(&has_bits); + _impl_.second_target_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_KillCam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_KillCam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 obs_mode = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_obs_mode(), target); + } + + // optional int32 first_target = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_first_target(), target); + } + + // optional int32 second_target = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_second_target(), 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:CCSUsrMsg_KillCam) + return target; +} + +size_t CCSUsrMsg_KillCam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_KillCam) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 obs_mode = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_obs_mode()); + } + + // optional int32 first_target = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_first_target()); + } + + // optional int32 second_target = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_second_target()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_KillCam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_KillCam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_KillCam::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_KillCam::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:CCSUsrMsg_KillCam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.obs_mode_ = from._impl_.obs_mode_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.first_target_ = from._impl_.first_target_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.second_target_ = from._impl_.second_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_KillCam::CopyFrom(const CCSUsrMsg_KillCam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_KillCam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_KillCam::IsInitialized() const { + return true; +} + +void CCSUsrMsg_KillCam::InternalSwap(CCSUsrMsg_KillCam* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.obs_mode_, other->_impl_.obs_mode_); + swap(_impl_.first_target_, other->_impl_.first_target_); + swap(_impl_.second_target_, other->_impl_.second_target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_KillCam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[29]); +} + +// =================================================================== + +class CCSUsrMsg_DesiredTimescale::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_desired_timescale(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration_realtime_sec(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_interpolator_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_start_blend_time(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale(::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:CCSUsrMsg_DesiredTimescale) +} +CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale(const CCSUsrMsg_DesiredTimescale& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_DesiredTimescale* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.desired_timescale_){} + , decltype(_impl_.duration_realtime_sec_){} + , decltype(_impl_.interpolator_type_){} + , decltype(_impl_.start_blend_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.desired_timescale_, &from._impl_.desired_timescale_, + static_cast(reinterpret_cast(&_impl_.start_blend_time_) - + reinterpret_cast(&_impl_.desired_timescale_)) + sizeof(_impl_.start_blend_time_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DesiredTimescale) +} + +inline void CCSUsrMsg_DesiredTimescale::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.desired_timescale_){0} + , decltype(_impl_.duration_realtime_sec_){0} + , decltype(_impl_.interpolator_type_){0} + , decltype(_impl_.start_blend_time_){0} + }; +} + +CCSUsrMsg_DesiredTimescale::~CCSUsrMsg_DesiredTimescale() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_DesiredTimescale) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_DesiredTimescale::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_DesiredTimescale::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_DesiredTimescale::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DesiredTimescale) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.desired_timescale_, 0, static_cast( + reinterpret_cast(&_impl_.start_blend_time_) - + reinterpret_cast(&_impl_.desired_timescale_)) + sizeof(_impl_.start_blend_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_DesiredTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float desired_timescale = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_desired_timescale(&has_bits); + _impl_.desired_timescale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float duration_realtime_sec = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_duration_realtime_sec(&has_bits); + _impl_.duration_realtime_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 interpolator_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_interpolator_type(&has_bits); + _impl_.interpolator_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float start_blend_time = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_start_blend_time(&has_bits); + _impl_.start_blend_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_DesiredTimescale::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DesiredTimescale) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float desired_timescale = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_desired_timescale(), target); + } + + // optional float duration_realtime_sec = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration_realtime_sec(), target); + } + + // optional int32 interpolator_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_interpolator_type(), target); + } + + // optional float start_blend_time = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_start_blend_time(), 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:CCSUsrMsg_DesiredTimescale) + return target; +} + +size_t CCSUsrMsg_DesiredTimescale::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DesiredTimescale) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float desired_timescale = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float duration_realtime_sec = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional int32 interpolator_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_interpolator_type()); + } + + // optional float start_blend_time = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DesiredTimescale::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_DesiredTimescale::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DesiredTimescale::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_DesiredTimescale::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:CCSUsrMsg_DesiredTimescale) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.desired_timescale_ = from._impl_.desired_timescale_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_realtime_sec_ = from._impl_.duration_realtime_sec_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.interpolator_type_ = from._impl_.interpolator_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.start_blend_time_ = from._impl_.start_blend_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_DesiredTimescale::CopyFrom(const CCSUsrMsg_DesiredTimescale& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DesiredTimescale) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_DesiredTimescale::IsInitialized() const { + return true; +} + +void CCSUsrMsg_DesiredTimescale::InternalSwap(CCSUsrMsg_DesiredTimescale* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _impl_.start_blend_time_) + + sizeof(CCSUsrMsg_DesiredTimescale::_impl_.start_blend_time_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _impl_.desired_timescale_)>( + reinterpret_cast(&_impl_.desired_timescale_), + reinterpret_cast(&other->_impl_.desired_timescale_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DesiredTimescale::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[30]); +} + +// =================================================================== + +class CCSUsrMsg_CurrentTimescale::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cur_timescale(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale(::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:CCSUsrMsg_CurrentTimescale) +} +CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale(const CCSUsrMsg_CurrentTimescale& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CurrentTimescale* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cur_timescale_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.cur_timescale_ = from._impl_.cur_timescale_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CurrentTimescale) +} + +inline void CCSUsrMsg_CurrentTimescale::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cur_timescale_){0} + }; +} + +CCSUsrMsg_CurrentTimescale::~CCSUsrMsg_CurrentTimescale() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CurrentTimescale) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CurrentTimescale::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_CurrentTimescale::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CurrentTimescale::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CurrentTimescale) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.cur_timescale_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CurrentTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float cur_timescale = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_cur_timescale(&has_bits); + _impl_.cur_timescale_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CurrentTimescale::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CurrentTimescale) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float cur_timescale = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_cur_timescale(), 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:CCSUsrMsg_CurrentTimescale) + return target; +} + +size_t CCSUsrMsg_CurrentTimescale::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CurrentTimescale) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float cur_timescale = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CurrentTimescale::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CurrentTimescale::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CurrentTimescale::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CurrentTimescale::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:CCSUsrMsg_CurrentTimescale) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_cur_timescale()) { + _this->_internal_set_cur_timescale(from._internal_cur_timescale()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CurrentTimescale::CopyFrom(const CCSUsrMsg_CurrentTimescale& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CurrentTimescale) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CurrentTimescale::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CurrentTimescale::InternalSwap(CCSUsrMsg_CurrentTimescale* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.cur_timescale_, other->_impl_.cur_timescale_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CurrentTimescale::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[31]); +} + +// =================================================================== + +class CCSUsrMsg_AchievementEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_achievement(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_user_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent(::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:CCSUsrMsg_AchievementEvent) +} +CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent(const CCSUsrMsg_AchievementEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_AchievementEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){} + , decltype(_impl_.count_){} + , decltype(_impl_.user_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.achievement_, &from._impl_.achievement_, + static_cast(reinterpret_cast(&_impl_.user_id_) - + reinterpret_cast(&_impl_.achievement_)) + sizeof(_impl_.user_id_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AchievementEvent) +} + +inline void CCSUsrMsg_AchievementEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){0} + , decltype(_impl_.count_){0} + , decltype(_impl_.user_id_){0} + }; +} + +CCSUsrMsg_AchievementEvent::~CCSUsrMsg_AchievementEvent() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_AchievementEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_AchievementEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_AchievementEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_AchievementEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AchievementEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.achievement_, 0, static_cast( + reinterpret_cast(&_impl_.user_id_) - + reinterpret_cast(&_impl_.achievement_)) + sizeof(_impl_.user_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_AchievementEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 achievement = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_achievement(&has_bits); + _impl_.achievement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_user_id(&has_bits); + _impl_.user_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_AchievementEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AchievementEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 achievement = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_achievement(), target); + } + + // optional int32 count = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_count(), target); + } + + // optional int32 user_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_user_id(), 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:CCSUsrMsg_AchievementEvent) + return target; +} + +size_t CCSUsrMsg_AchievementEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AchievementEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 achievement = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_achievement()); + } + + // optional int32 count = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); + } + + // optional int32 user_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AchievementEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_AchievementEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AchievementEvent::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_AchievementEvent::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:CCSUsrMsg_AchievementEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.achievement_ = from._impl_.achievement_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.count_ = from._impl_.count_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.user_id_ = from._impl_.user_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_AchievementEvent::CopyFrom(const CCSUsrMsg_AchievementEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AchievementEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_AchievementEvent::IsInitialized() const { + return true; +} + +void CCSUsrMsg_AchievementEvent::InternalSwap(CCSUsrMsg_AchievementEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _impl_.user_id_) + + sizeof(CCSUsrMsg_AchievementEvent::_impl_.user_id_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _impl_.achievement_)>( + reinterpret_cast(&_impl_.achievement_), + reinterpret_cast(&other->_impl_.achievement_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AchievementEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[32]); +} + +// =================================================================== + +class CCSUsrMsg_MatchEndConditions::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_fraglimit(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_mp_maxrounds(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_mp_winlimit(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_mp_timelimit(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions(::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:CCSUsrMsg_MatchEndConditions) +} +CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions(const CCSUsrMsg_MatchEndConditions& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_MatchEndConditions* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fraglimit_){} + , decltype(_impl_.mp_maxrounds_){} + , decltype(_impl_.mp_winlimit_){} + , decltype(_impl_.mp_timelimit_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.fraglimit_, &from._impl_.fraglimit_, + static_cast(reinterpret_cast(&_impl_.mp_timelimit_) - + reinterpret_cast(&_impl_.fraglimit_)) + sizeof(_impl_.mp_timelimit_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MatchEndConditions) +} + +inline void CCSUsrMsg_MatchEndConditions::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fraglimit_){0} + , decltype(_impl_.mp_maxrounds_){0} + , decltype(_impl_.mp_winlimit_){0} + , decltype(_impl_.mp_timelimit_){0} + }; +} + +CCSUsrMsg_MatchEndConditions::~CCSUsrMsg_MatchEndConditions() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_MatchEndConditions) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_MatchEndConditions::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_MatchEndConditions::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_MatchEndConditions::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MatchEndConditions) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.fraglimit_, 0, static_cast( + reinterpret_cast(&_impl_.mp_timelimit_) - + reinterpret_cast(&_impl_.fraglimit_)) + sizeof(_impl_.mp_timelimit_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_MatchEndConditions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 fraglimit = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_fraglimit(&has_bits); + _impl_.fraglimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 mp_maxrounds = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_mp_maxrounds(&has_bits); + _impl_.mp_maxrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 mp_winlimit = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_mp_winlimit(&has_bits); + _impl_.mp_winlimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float mp_timelimit = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_mp_timelimit(&has_bits); + _impl_.mp_timelimit_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_MatchEndConditions::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MatchEndConditions) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 fraglimit = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_fraglimit(), target); + } + + // optional int32 mp_maxrounds = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_mp_maxrounds(), target); + } + + // optional int32 mp_winlimit = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_mp_winlimit(), target); + } + + // optional float mp_timelimit = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_mp_timelimit(), 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:CCSUsrMsg_MatchEndConditions) + return target; +} + +size_t CCSUsrMsg_MatchEndConditions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MatchEndConditions) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 fraglimit = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fraglimit()); + } + + // optional int32 mp_maxrounds = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mp_maxrounds()); + } + + // optional int32 mp_winlimit = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mp_winlimit()); + } + + // optional float mp_timelimit = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MatchEndConditions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_MatchEndConditions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MatchEndConditions::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_MatchEndConditions::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:CCSUsrMsg_MatchEndConditions) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.fraglimit_ = from._impl_.fraglimit_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.mp_maxrounds_ = from._impl_.mp_maxrounds_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.mp_winlimit_ = from._impl_.mp_winlimit_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.mp_timelimit_ = from._impl_.mp_timelimit_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_MatchEndConditions::CopyFrom(const CCSUsrMsg_MatchEndConditions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MatchEndConditions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_MatchEndConditions::IsInitialized() const { + return true; +} + +void CCSUsrMsg_MatchEndConditions::InternalSwap(CCSUsrMsg_MatchEndConditions* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _impl_.mp_timelimit_) + + sizeof(CCSUsrMsg_MatchEndConditions::_impl_.mp_timelimit_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _impl_.fraglimit_)>( + reinterpret_cast(&_impl_.fraglimit_), + reinterpret_cast(&other->_impl_.fraglimit_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MatchEndConditions::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[33]); +} + +// =================================================================== + +class CCSUsrMsg_PlayerStatsUpdate_Stat::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_idx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_delta(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat(::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:CCSUsrMsg_PlayerStatsUpdate.Stat) +} +CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_PlayerStatsUpdate_Stat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.idx_){} + , decltype(_impl_.delta_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.idx_, &from._impl_.idx_, + static_cast(reinterpret_cast(&_impl_.delta_) - + reinterpret_cast(&_impl_.idx_)) + sizeof(_impl_.delta_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerStatsUpdate.Stat) +} + +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.idx_){0} + , decltype(_impl_.delta_){0} + }; +} + +CCSUsrMsg_PlayerStatsUpdate_Stat::~CCSUsrMsg_PlayerStatsUpdate_Stat() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerStatsUpdate.Stat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_PlayerStatsUpdate_Stat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_PlayerStatsUpdate_Stat::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerStatsUpdate.Stat) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.idx_, 0, static_cast( + reinterpret_cast(&_impl_.delta_) - + reinterpret_cast(&_impl_.idx_)) + sizeof(_impl_.delta_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_PlayerStatsUpdate_Stat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 idx = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_idx(&has_bits); + _impl_.idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 delta = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_delta(&has_bits); + _impl_.delta_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_PlayerStatsUpdate_Stat::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerStatsUpdate.Stat) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 idx = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_idx(), target); + } + + // optional int32 delta = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_delta(), 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:CCSUsrMsg_PlayerStatsUpdate.Stat) + return target; +} + +size_t CCSUsrMsg_PlayerStatsUpdate_Stat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerStatsUpdate.Stat) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 idx = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_idx()); + } + + // optional int32 delta = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerStatsUpdate_Stat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_PlayerStatsUpdate_Stat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerStatsUpdate_Stat::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_PlayerStatsUpdate_Stat::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:CCSUsrMsg_PlayerStatsUpdate.Stat) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.idx_ = from._impl_.idx_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.delta_ = from._impl_.delta_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_PlayerStatsUpdate_Stat::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerStatsUpdate.Stat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_PlayerStatsUpdate_Stat::IsInitialized() const { + return true; +} + +void CCSUsrMsg_PlayerStatsUpdate_Stat::InternalSwap(CCSUsrMsg_PlayerStatsUpdate_Stat* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.delta_) + + sizeof(CCSUsrMsg_PlayerStatsUpdate_Stat::_impl_.delta_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.idx_)>( + reinterpret_cast(&_impl_.idx_), + reinterpret_cast(&other->_impl_.idx_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerStatsUpdate_Stat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[34]); +} + +// =================================================================== + +class CCSUsrMsg_PlayerStatsUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ehandle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_crc(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate(::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:CCSUsrMsg_PlayerStatsUpdate) +} +CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate(const CCSUsrMsg_PlayerStatsUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_PlayerStatsUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){from._impl_.stats_} + , decltype(_impl_.version_){} + , decltype(_impl_.ehandle_){} + , decltype(_impl_.crc_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.crc_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.crc_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerStatsUpdate) +} + +inline void CCSUsrMsg_PlayerStatsUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){arena} + , decltype(_impl_.version_){0} + , decltype(_impl_.ehandle_){0u} + , decltype(_impl_.crc_){0} + }; +} + +CCSUsrMsg_PlayerStatsUpdate::~CCSUsrMsg_PlayerStatsUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerStatsUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_PlayerStatsUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.stats_.~RepeatedPtrField(); +} + +void CCSUsrMsg_PlayerStatsUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_PlayerStatsUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerStatsUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stats_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.crc_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.crc_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_PlayerStatsUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_stats(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 ehandle = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ehandle(&has_bits); + _impl_.ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 crc = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_crc(&has_bits); + _impl_.crc_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_PlayerStatsUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerStatsUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_version(), target); + } + + // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_stats_size()); i < n; i++) { + const auto& repfield = this->_internal_stats(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 ehandle = 5; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ehandle(), target); + } + + // optional int32 crc = 6; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_crc(), 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:CCSUsrMsg_PlayerStatsUpdate) + return target; +} + +size_t CCSUsrMsg_PlayerStatsUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerStatsUpdate) + 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 .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; + total_size += 1UL * this->_internal_stats_size(); + for (const auto& msg : this->_impl_.stats_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 version = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); + } + + // optional uint32 ehandle = 5; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ehandle()); + } + + // optional int32 crc = 6; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_crc()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerStatsUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_PlayerStatsUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerStatsUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_PlayerStatsUpdate::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:CCSUsrMsg_PlayerStatsUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.stats_.MergeFrom(from._impl_.stats_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ehandle_ = from._impl_.ehandle_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.crc_ = from._impl_.crc_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_PlayerStatsUpdate::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerStatsUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_PlayerStatsUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_PlayerStatsUpdate::InternalSwap(CCSUsrMsg_PlayerStatsUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.stats_.InternalSwap(&other->_impl_.stats_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _impl_.crc_) + + sizeof(CCSUsrMsg_PlayerStatsUpdate::_impl_.crc_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _impl_.version_)>( + reinterpret_cast(&_impl_.version_), + reinterpret_cast(&other->_impl_.version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerStatsUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[35]); +} + +// =================================================================== + +class CCSUsrMsg_QuestProgress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_quest_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_normal_points(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bonus_points(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_is_event_quest(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress(::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:CCSUsrMsg_QuestProgress) +} +CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress(const CCSUsrMsg_QuestProgress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_QuestProgress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_id_){} + , decltype(_impl_.normal_points_){} + , decltype(_impl_.bonus_points_){} + , decltype(_impl_.is_event_quest_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, + static_cast(reinterpret_cast(&_impl_.is_event_quest_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.is_event_quest_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_QuestProgress) +} + +inline void CCSUsrMsg_QuestProgress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.quest_id_){0u} + , decltype(_impl_.normal_points_){0u} + , decltype(_impl_.bonus_points_){0u} + , decltype(_impl_.is_event_quest_){false} + }; +} + +CCSUsrMsg_QuestProgress::~CCSUsrMsg_QuestProgress() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_QuestProgress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_QuestProgress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_QuestProgress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_QuestProgress::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_QuestProgress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.quest_id_, 0, static_cast( + reinterpret_cast(&_impl_.is_event_quest_) - + reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.is_event_quest_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_QuestProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 quest_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quest_id(&has_bits); + _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 normal_points = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_normal_points(&has_bits); + _impl_.normal_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bonus_points = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_bonus_points(&has_bits); + _impl_.bonus_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_event_quest = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_is_event_quest(&has_bits); + _impl_.is_event_quest_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_QuestProgress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_QuestProgress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 quest_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_quest_id(), target); + } + + // optional uint32 normal_points = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_normal_points(), target); + } + + // optional uint32 bonus_points = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_bonus_points(), target); + } + + // optional bool is_event_quest = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_event_quest(), 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:CCSUsrMsg_QuestProgress) + return target; +} + +size_t CCSUsrMsg_QuestProgress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_QuestProgress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 quest_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quest_id()); + } + + // optional uint32 normal_points = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_normal_points()); + } + + // optional uint32 bonus_points = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_points()); + } + + // optional bool is_event_quest = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_QuestProgress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_QuestProgress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_QuestProgress::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_QuestProgress::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:CCSUsrMsg_QuestProgress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.quest_id_ = from._impl_.quest_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.normal_points_ = from._impl_.normal_points_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bonus_points_ = from._impl_.bonus_points_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_event_quest_ = from._impl_.is_event_quest_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_QuestProgress::CopyFrom(const CCSUsrMsg_QuestProgress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_QuestProgress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_QuestProgress::IsInitialized() const { + return true; +} + +void CCSUsrMsg_QuestProgress::InternalSwap(CCSUsrMsg_QuestProgress* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _impl_.is_event_quest_) + + sizeof(CCSUsrMsg_QuestProgress::_impl_.is_event_quest_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _impl_.quest_id_)>( + reinterpret_cast(&_impl_.quest_id_), + reinterpret_cast(&other->_impl_.quest_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_QuestProgress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[36]); +} + +// =================================================================== + +class CCSUsrMsg_ScoreLeaderboardData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::ScoreLeaderboardData& data(const CCSUsrMsg_ScoreLeaderboardData* msg); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::ScoreLeaderboardData& +CCSUsrMsg_ScoreLeaderboardData::_Internal::data(const CCSUsrMsg_ScoreLeaderboardData* msg) { + return *msg->_impl_.data_; +} +void CCSUsrMsg_ScoreLeaderboardData::clear_data() { + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData(::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:CCSUsrMsg_ScoreLeaderboardData) +} +CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData(const CCSUsrMsg_ScoreLeaderboardData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ScoreLeaderboardData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_data()) { + _this->_impl_.data_ = new ::ScoreLeaderboardData(*from._impl_.data_); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ScoreLeaderboardData) +} + +inline void CCSUsrMsg_ScoreLeaderboardData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + }; +} + +CCSUsrMsg_ScoreLeaderboardData::~CCSUsrMsg_ScoreLeaderboardData() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ScoreLeaderboardData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ScoreLeaderboardData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.data_; +} + +void CCSUsrMsg_ScoreLeaderboardData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ScoreLeaderboardData::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ScoreLeaderboardData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ScoreLeaderboardData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .ScoreLeaderboardData data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ScoreLeaderboardData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ScoreLeaderboardData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .ScoreLeaderboardData data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::data(this), + _Internal::data(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:CCSUsrMsg_ScoreLeaderboardData) + return target; +} + +size_t CCSUsrMsg_ScoreLeaderboardData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ScoreLeaderboardData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .ScoreLeaderboardData data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.data_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ScoreLeaderboardData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ScoreLeaderboardData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ScoreLeaderboardData::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ScoreLeaderboardData::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:CCSUsrMsg_ScoreLeaderboardData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_mutable_data()->::ScoreLeaderboardData::MergeFrom( + from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ScoreLeaderboardData::CopyFrom(const CCSUsrMsg_ScoreLeaderboardData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ScoreLeaderboardData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ScoreLeaderboardData::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ScoreLeaderboardData::InternalSwap(CCSUsrMsg_ScoreLeaderboardData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.data_, other->_impl_.data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ScoreLeaderboardData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[37]); +} + +// =================================================================== + +class CCSUsrMsg_PlayerDecalDigitalSignature::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::PlayerDecalDigitalSignature& data(const CCSUsrMsg_PlayerDecalDigitalSignature* msg); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::PlayerDecalDigitalSignature& +CCSUsrMsg_PlayerDecalDigitalSignature::_Internal::data(const CCSUsrMsg_PlayerDecalDigitalSignature* msg) { + return *msg->_impl_.data_; +} +void CCSUsrMsg_PlayerDecalDigitalSignature::clear_data() { + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature(::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:CCSUsrMsg_PlayerDecalDigitalSignature) +} +CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature(const CCSUsrMsg_PlayerDecalDigitalSignature& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_PlayerDecalDigitalSignature* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_data()) { + _this->_impl_.data_ = new ::PlayerDecalDigitalSignature(*from._impl_.data_); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerDecalDigitalSignature) +} + +inline void CCSUsrMsg_PlayerDecalDigitalSignature::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + }; +} + +CCSUsrMsg_PlayerDecalDigitalSignature::~CCSUsrMsg_PlayerDecalDigitalSignature() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerDecalDigitalSignature) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_PlayerDecalDigitalSignature::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.data_; +} + +void CCSUsrMsg_PlayerDecalDigitalSignature::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_PlayerDecalDigitalSignature::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerDecalDigitalSignature) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_PlayerDecalDigitalSignature::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .PlayerDecalDigitalSignature data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_PlayerDecalDigitalSignature::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerDecalDigitalSignature) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .PlayerDecalDigitalSignature data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::data(this), + _Internal::data(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:CCSUsrMsg_PlayerDecalDigitalSignature) + return target; +} + +size_t CCSUsrMsg_PlayerDecalDigitalSignature::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerDecalDigitalSignature) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .PlayerDecalDigitalSignature data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.data_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerDecalDigitalSignature::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_PlayerDecalDigitalSignature::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerDecalDigitalSignature::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_PlayerDecalDigitalSignature::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:CCSUsrMsg_PlayerDecalDigitalSignature) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_mutable_data()->::PlayerDecalDigitalSignature::MergeFrom( + from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_PlayerDecalDigitalSignature::CopyFrom(const CCSUsrMsg_PlayerDecalDigitalSignature& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerDecalDigitalSignature) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_PlayerDecalDigitalSignature::IsInitialized() const { + return true; +} + +void CCSUsrMsg_PlayerDecalDigitalSignature::InternalSwap(CCSUsrMsg_PlayerDecalDigitalSignature* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.data_, other->_impl_.data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerDecalDigitalSignature::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[38]); +} + +// =================================================================== + +class CCSUsrMsg_XRankGet::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mode_idx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_controller(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet(::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:CCSUsrMsg_XRankGet) +} +CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet(const CCSUsrMsg_XRankGet& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_XRankGet* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mode_idx_){} + , decltype(_impl_.controller_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.mode_idx_, &from._impl_.mode_idx_, + static_cast(reinterpret_cast(&_impl_.controller_) - + reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.controller_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XRankGet) +} + +inline void CCSUsrMsg_XRankGet::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mode_idx_){0} + , decltype(_impl_.controller_){0} + }; +} + +CCSUsrMsg_XRankGet::~CCSUsrMsg_XRankGet() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_XRankGet) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_XRankGet::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_XRankGet::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_XRankGet::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XRankGet) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.mode_idx_, 0, static_cast( + reinterpret_cast(&_impl_.controller_) - + reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.controller_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_XRankGet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 mode_idx = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_mode_idx(&has_bits); + _impl_.mode_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 controller = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_controller(&has_bits); + _impl_.controller_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_XRankGet::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XRankGet) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 mode_idx = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mode_idx(), target); + } + + // optional int32 controller = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_controller(), 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:CCSUsrMsg_XRankGet) + return target; +} + +size_t CCSUsrMsg_XRankGet::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XRankGet) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 mode_idx = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode_idx()); + } + + // optional int32 controller = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_controller()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XRankGet::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_XRankGet::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XRankGet::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_XRankGet::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:CCSUsrMsg_XRankGet) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.mode_idx_ = from._impl_.mode_idx_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.controller_ = from._impl_.controller_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_XRankGet::CopyFrom(const CCSUsrMsg_XRankGet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XRankGet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_XRankGet::IsInitialized() const { + return true; +} + +void CCSUsrMsg_XRankGet::InternalSwap(CCSUsrMsg_XRankGet* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankGet, _impl_.controller_) + + sizeof(CCSUsrMsg_XRankGet::_impl_.controller_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankGet, _impl_.mode_idx_)>( + reinterpret_cast(&_impl_.mode_idx_), + reinterpret_cast(&other->_impl_.mode_idx_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XRankGet::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[39]); +} + +// =================================================================== + +class CCSUsrMsg_XRankUpd::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mode_idx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_controller(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ranking(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd(::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:CCSUsrMsg_XRankUpd) +} +CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd(const CCSUsrMsg_XRankUpd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_XRankUpd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mode_idx_){} + , decltype(_impl_.controller_){} + , decltype(_impl_.ranking_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.mode_idx_, &from._impl_.mode_idx_, + static_cast(reinterpret_cast(&_impl_.ranking_) - + reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.ranking_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XRankUpd) +} + +inline void CCSUsrMsg_XRankUpd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mode_idx_){0} + , decltype(_impl_.controller_){0} + , decltype(_impl_.ranking_){0} + }; +} + +CCSUsrMsg_XRankUpd::~CCSUsrMsg_XRankUpd() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_XRankUpd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_XRankUpd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_XRankUpd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_XRankUpd::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XRankUpd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.mode_idx_, 0, static_cast( + reinterpret_cast(&_impl_.ranking_) - + reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.ranking_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_XRankUpd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 mode_idx = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_mode_idx(&has_bits); + _impl_.mode_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 controller = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_controller(&has_bits); + _impl_.controller_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ranking = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ranking(&has_bits); + _impl_.ranking_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_XRankUpd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XRankUpd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 mode_idx = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mode_idx(), target); + } + + // optional int32 controller = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_controller(), target); + } + + // optional int32 ranking = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ranking(), 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:CCSUsrMsg_XRankUpd) + return target; +} + +size_t CCSUsrMsg_XRankUpd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XRankUpd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 mode_idx = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode_idx()); + } + + // optional int32 controller = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_controller()); + } + + // optional int32 ranking = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ranking()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XRankUpd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_XRankUpd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XRankUpd::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_XRankUpd::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:CCSUsrMsg_XRankUpd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.mode_idx_ = from._impl_.mode_idx_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.controller_ = from._impl_.controller_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ranking_ = from._impl_.ranking_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_XRankUpd::CopyFrom(const CCSUsrMsg_XRankUpd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XRankUpd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_XRankUpd::IsInitialized() const { + return true; +} + +void CCSUsrMsg_XRankUpd::InternalSwap(CCSUsrMsg_XRankUpd* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _impl_.ranking_) + + sizeof(CCSUsrMsg_XRankUpd::_impl_.ranking_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _impl_.mode_idx_)>( + reinterpret_cast(&_impl_.mode_idx_), + reinterpret_cast(&other->_impl_.mode_idx_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XRankUpd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[40]); +} + +// =================================================================== + +class CCSUsrMsg_CallVoteFailed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed(::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:CCSUsrMsg_CallVoteFailed) +} +CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed(const CCSUsrMsg_CallVoteFailed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CallVoteFailed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reason_){} + , decltype(_impl_.time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.reason_, &from._impl_.reason_, + static_cast(reinterpret_cast(&_impl_.time_) - + reinterpret_cast(&_impl_.reason_)) + sizeof(_impl_.time_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CallVoteFailed) +} + +inline void CCSUsrMsg_CallVoteFailed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reason_){0} + , decltype(_impl_.time_){0} + }; +} + +CCSUsrMsg_CallVoteFailed::~CCSUsrMsg_CallVoteFailed() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CallVoteFailed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CallVoteFailed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_CallVoteFailed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CallVoteFailed::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CallVoteFailed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.reason_, 0, static_cast( + reinterpret_cast(&_impl_.time_) - + reinterpret_cast(&_impl_.reason_)) + sizeof(_impl_.time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CallVoteFailed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 reason = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_time(&has_bits); + _impl_.time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CallVoteFailed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CallVoteFailed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 reason = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_reason(), target); + } + + // optional int32 time = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_time(), 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:CCSUsrMsg_CallVoteFailed) + return target; +} + +size_t CCSUsrMsg_CallVoteFailed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CallVoteFailed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 reason = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); + } + + // optional int32 time = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CallVoteFailed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CallVoteFailed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CallVoteFailed::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CallVoteFailed::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:CCSUsrMsg_CallVoteFailed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_ = from._impl_.time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CallVoteFailed::CopyFrom(const CCSUsrMsg_CallVoteFailed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CallVoteFailed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CallVoteFailed::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CallVoteFailed::InternalSwap(CCSUsrMsg_CallVoteFailed* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _impl_.time_) + + sizeof(CCSUsrMsg_CallVoteFailed::_impl_.time_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _impl_.reason_)>( + reinterpret_cast(&_impl_.reason_), + reinterpret_cast(&other->_impl_.reason_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CallVoteFailed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[41]); +} + +// =================================================================== + +class CCSUsrMsg_VoteStart::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_vote_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_disp_str(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_details_str(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_other_team_str(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_is_yes_no_vote(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_player_slot_target(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart(::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:CCSUsrMsg_VoteStart) +} +CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart(const CCSUsrMsg_VoteStart& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VoteStart* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.disp_str_){} + , decltype(_impl_.details_str_){} + , decltype(_impl_.other_team_str_){} + , decltype(_impl_.team_){} + , decltype(_impl_.vote_type_){} + , decltype(_impl_.is_yes_no_vote_){} + , decltype(_impl_.player_slot_){} + , decltype(_impl_.player_slot_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.disp_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.disp_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_disp_str()) { + _this->_impl_.disp_str_.Set(from._internal_disp_str(), + _this->GetArenaForAllocation()); + } + _impl_.details_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_details_str()) { + _this->_impl_.details_str_.Set(from._internal_details_str(), + _this->GetArenaForAllocation()); + } + _impl_.other_team_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.other_team_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_other_team_str()) { + _this->_impl_.other_team_str_.Set(from._internal_other_team_str(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.team_, &from._impl_.team_, + static_cast(reinterpret_cast(&_impl_.player_slot_target_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.player_slot_target_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteStart) +} + +inline void CCSUsrMsg_VoteStart::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.disp_str_){} + , decltype(_impl_.details_str_){} + , decltype(_impl_.other_team_str_){} + , decltype(_impl_.team_){0} + , decltype(_impl_.vote_type_){0} + , decltype(_impl_.is_yes_no_vote_){false} + , decltype(_impl_.player_slot_){-1} + , decltype(_impl_.player_slot_target_){-1} + }; + _impl_.disp_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.disp_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.other_team_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.other_team_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_VoteStart::~CCSUsrMsg_VoteStart() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteStart) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VoteStart::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.disp_str_.Destroy(); + _impl_.details_str_.Destroy(); + _impl_.other_team_str_.Destroy(); +} + +void CCSUsrMsg_VoteStart::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VoteStart::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteStart) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.disp_str_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.details_str_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.other_team_str_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.team_, 0, static_cast( + reinterpret_cast(&_impl_.is_yes_no_vote_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.is_yes_no_vote_)); + _impl_.player_slot_ = -1; + _impl_.player_slot_target_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VoteStart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team(&has_bits); + _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 vote_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_vote_type(&has_bits); + _impl_.vote_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string disp_str = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_disp_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.disp_str"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string details_str = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_details_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.details_str"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string other_team_str = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_other_team_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.other_team_str"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool is_yes_no_vote = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_is_yes_no_vote(&has_bits); + _impl_.is_yes_no_vote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot_target = 8 [default = -1]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_player_slot_target(&has_bits); + _impl_.player_slot_target_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VoteStart::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteStart) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); + } + + // optional int32 player_slot = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slot(), target); + } + + // optional int32 vote_type = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_vote_type(), target); + } + + // optional string disp_str = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_disp_str().data(), static_cast(this->_internal_disp_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VoteStart.disp_str"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_disp_str(), target); + } + + // optional string details_str = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_details_str().data(), static_cast(this->_internal_details_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VoteStart.details_str"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_details_str(), target); + } + + // optional string other_team_str = 6; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_other_team_str().data(), static_cast(this->_internal_other_team_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VoteStart.other_team_str"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_other_team_str(), target); + } + + // optional bool is_yes_no_vote = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_is_yes_no_vote(), target); + } + + // optional int32 player_slot_target = 8 [default = -1]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_player_slot_target(), 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:CCSUsrMsg_VoteStart) + return target; +} + +size_t CCSUsrMsg_VoteStart::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteStart) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string disp_str = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_disp_str()); + } + + // optional string details_str = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_details_str()); + } + + // optional string other_team_str = 6; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_other_team_str()); + } + + // optional int32 team = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); + } + + // optional int32 vote_type = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vote_type()); + } + + // optional bool is_yes_no_vote = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional int32 player_slot = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + // optional int32 player_slot_target = 8 [default = -1]; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot_target()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteStart::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VoteStart::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteStart::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VoteStart::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:CCSUsrMsg_VoteStart) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_disp_str(from._internal_disp_str()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_details_str(from._internal_details_str()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_other_team_str(from._internal_other_team_str()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.team_ = from._impl_.team_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.vote_type_ = from._impl_.vote_type_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.is_yes_no_vote_ = from._impl_.is_yes_no_vote_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.player_slot_target_ = from._impl_.player_slot_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VoteStart::CopyFrom(const CCSUsrMsg_VoteStart& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteStart) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VoteStart::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VoteStart::InternalSwap(CCSUsrMsg_VoteStart* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.disp_str_, lhs_arena, + &other->_impl_.disp_str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.details_str_, lhs_arena, + &other->_impl_.details_str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.other_team_str_, lhs_arena, + &other->_impl_.other_team_str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteStart, _impl_.is_yes_no_vote_) + + sizeof(CCSUsrMsg_VoteStart::_impl_.is_yes_no_vote_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteStart, _impl_.team_)>( + reinterpret_cast(&_impl_.team_), + reinterpret_cast(&other->_impl_.team_)); + swap(_impl_.player_slot_, other->_impl_.player_slot_); + swap(_impl_.player_slot_target_, other->_impl_.player_slot_target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteStart::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[42]); +} + +// =================================================================== + +class CCSUsrMsg_VotePass::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_vote_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_disp_str(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_details_str(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_VotePass::CCSUsrMsg_VotePass(::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:CCSUsrMsg_VotePass) +} +CCSUsrMsg_VotePass::CCSUsrMsg_VotePass(const CCSUsrMsg_VotePass& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VotePass* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.disp_str_){} + , decltype(_impl_.details_str_){} + , decltype(_impl_.team_){} + , decltype(_impl_.vote_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.disp_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.disp_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_disp_str()) { + _this->_impl_.disp_str_.Set(from._internal_disp_str(), + _this->GetArenaForAllocation()); + } + _impl_.details_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_details_str()) { + _this->_impl_.details_str_.Set(from._internal_details_str(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.team_, &from._impl_.team_, + static_cast(reinterpret_cast(&_impl_.vote_type_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.vote_type_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VotePass) +} + +inline void CCSUsrMsg_VotePass::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.disp_str_){} + , decltype(_impl_.details_str_){} + , decltype(_impl_.team_){0} + , decltype(_impl_.vote_type_){0} + }; + _impl_.disp_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.disp_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_VotePass::~CCSUsrMsg_VotePass() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VotePass) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VotePass::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.disp_str_.Destroy(); + _impl_.details_str_.Destroy(); +} + +void CCSUsrMsg_VotePass::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VotePass::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VotePass) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.disp_str_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.details_str_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.team_, 0, static_cast( + reinterpret_cast(&_impl_.vote_type_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.vote_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VotePass::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team(&has_bits); + _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 vote_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_vote_type(&has_bits); + _impl_.vote_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string disp_str = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_disp_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VotePass.disp_str"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string details_str = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_details_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VotePass.details_str"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VotePass::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VotePass) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); + } + + // optional int32 vote_type = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_vote_type(), target); + } + + // optional string disp_str = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_disp_str().data(), static_cast(this->_internal_disp_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VotePass.disp_str"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_disp_str(), target); + } + + // optional string details_str = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_details_str().data(), static_cast(this->_internal_details_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VotePass.details_str"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_details_str(), 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:CCSUsrMsg_VotePass) + return target; +} + +size_t CCSUsrMsg_VotePass::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VotePass) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string disp_str = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_disp_str()); + } + + // optional string details_str = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_details_str()); + } + + // optional int32 team = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); + } + + // optional int32 vote_type = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vote_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VotePass::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VotePass::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VotePass::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VotePass::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:CCSUsrMsg_VotePass) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_disp_str(from._internal_disp_str()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_details_str(from._internal_details_str()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.team_ = from._impl_.team_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.vote_type_ = from._impl_.vote_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VotePass::CopyFrom(const CCSUsrMsg_VotePass& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VotePass) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VotePass::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VotePass::InternalSwap(CCSUsrMsg_VotePass* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.disp_str_, lhs_arena, + &other->_impl_.disp_str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.details_str_, lhs_arena, + &other->_impl_.details_str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VotePass, _impl_.vote_type_) + + sizeof(CCSUsrMsg_VotePass::_impl_.vote_type_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VotePass, _impl_.team_)>( + reinterpret_cast(&_impl_.team_), + reinterpret_cast(&other->_impl_.team_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VotePass::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[43]); +} + +// =================================================================== + +class CCSUsrMsg_VoteFailed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed(::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:CCSUsrMsg_VoteFailed) +} +CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed(const CCSUsrMsg_VoteFailed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VoteFailed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_){} + , decltype(_impl_.reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.team_, &from._impl_.team_, + static_cast(reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.reason_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteFailed) +} + +inline void CCSUsrMsg_VoteFailed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_){0} + , decltype(_impl_.reason_){0} + }; +} + +CCSUsrMsg_VoteFailed::~CCSUsrMsg_VoteFailed() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteFailed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VoteFailed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_VoteFailed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VoteFailed::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteFailed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.team_, 0, static_cast( + reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.reason_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VoteFailed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team(&has_bits); + _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 reason = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_VoteFailed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteFailed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); + } + + // optional int32 reason = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_reason(), 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:CCSUsrMsg_VoteFailed) + return target; +} + +size_t CCSUsrMsg_VoteFailed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteFailed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 team = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); + } + + // optional int32 reason = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteFailed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VoteFailed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteFailed::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VoteFailed::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:CCSUsrMsg_VoteFailed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.team_ = from._impl_.team_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VoteFailed::CopyFrom(const CCSUsrMsg_VoteFailed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteFailed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VoteFailed::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VoteFailed::InternalSwap(CCSUsrMsg_VoteFailed* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _impl_.reason_) + + sizeof(CCSUsrMsg_VoteFailed::_impl_.reason_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _impl_.team_)>( + reinterpret_cast(&_impl_.team_), + reinterpret_cast(&other->_impl_.team_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteFailed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[44]); +} + +// =================================================================== + +class CCSUsrMsg_VoteSetup::_Internal { + public: +}; + +CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup(::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:CCSUsrMsg_VoteSetup) +} +CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup(const CCSUsrMsg_VoteSetup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_VoteSetup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.potential_issues_){from._impl_.potential_issues_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteSetup) +} + +inline void CCSUsrMsg_VoteSetup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.potential_issues_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CCSUsrMsg_VoteSetup::~CCSUsrMsg_VoteSetup() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteSetup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_VoteSetup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.potential_issues_.~RepeatedPtrField(); +} + +void CCSUsrMsg_VoteSetup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_VoteSetup::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteSetup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.potential_issues_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_VoteSetup::_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 string potential_issues = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_potential_issues(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteSetup.potential_issues"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CCSUsrMsg_VoteSetup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteSetup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string potential_issues = 1; + for (int i = 0, n = this->_internal_potential_issues_size(); i < n; i++) { + const auto& s = this->_internal_potential_issues(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_VoteSetup.potential_issues"); + target = stream->WriteString(1, 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:CCSUsrMsg_VoteSetup) + return target; +} + +size_t CCSUsrMsg_VoteSetup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteSetup) + 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 potential_issues = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.potential_issues_.size()); + for (int i = 0, n = _impl_.potential_issues_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.potential_issues_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteSetup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_VoteSetup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteSetup::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_VoteSetup::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:CCSUsrMsg_VoteSetup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.potential_issues_.MergeFrom(from._impl_.potential_issues_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_VoteSetup::CopyFrom(const CCSUsrMsg_VoteSetup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteSetup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_VoteSetup::IsInitialized() const { + return true; +} + +void CCSUsrMsg_VoteSetup::InternalSwap(CCSUsrMsg_VoteSetup* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.potential_issues_.InternalSwap(&other->_impl_.potential_issues_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteSetup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[45]); +} + +// =================================================================== + +class CCSUsrMsg_SendLastKillerDamageToClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_num_hits_given(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_damage_given(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_hits_taken(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_damage_taken(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_actual_damage_given(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_actual_damage_taken(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient(::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:CCSUsrMsg_SendLastKillerDamageToClient) +} +CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient(const CCSUsrMsg_SendLastKillerDamageToClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendLastKillerDamageToClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.num_hits_given_){} + , decltype(_impl_.damage_given_){} + , decltype(_impl_.num_hits_taken_){} + , decltype(_impl_.damage_taken_){} + , decltype(_impl_.actual_damage_given_){} + , decltype(_impl_.actual_damage_taken_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.num_hits_given_, &from._impl_.num_hits_given_, + static_cast(reinterpret_cast(&_impl_.actual_damage_taken_) - + reinterpret_cast(&_impl_.num_hits_given_)) + sizeof(_impl_.actual_damage_taken_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendLastKillerDamageToClient) +} + +inline void CCSUsrMsg_SendLastKillerDamageToClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.num_hits_given_){0} + , decltype(_impl_.damage_given_){0} + , decltype(_impl_.num_hits_taken_){0} + , decltype(_impl_.damage_taken_){0} + , decltype(_impl_.actual_damage_given_){0} + , decltype(_impl_.actual_damage_taken_){0} + }; +} + +CCSUsrMsg_SendLastKillerDamageToClient::~CCSUsrMsg_SendLastKillerDamageToClient() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendLastKillerDamageToClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendLastKillerDamageToClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_SendLastKillerDamageToClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendLastKillerDamageToClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendLastKillerDamageToClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.num_hits_given_, 0, static_cast( + reinterpret_cast(&_impl_.actual_damage_taken_) - + reinterpret_cast(&_impl_.num_hits_given_)) + sizeof(_impl_.actual_damage_taken_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendLastKillerDamageToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 num_hits_given = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_num_hits_given(&has_bits); + _impl_.num_hits_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 damage_given = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_damage_given(&has_bits); + _impl_.damage_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_hits_taken = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_num_hits_taken(&has_bits); + _impl_.num_hits_taken_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 damage_taken = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_damage_taken(&has_bits); + _impl_.damage_taken_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 actual_damage_given = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_actual_damage_given(&has_bits); + _impl_.actual_damage_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 actual_damage_taken = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_actual_damage_taken(&has_bits); + _impl_.actual_damage_taken_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SendLastKillerDamageToClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendLastKillerDamageToClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 num_hits_given = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_num_hits_given(), target); + } + + // optional int32 damage_given = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_damage_given(), target); + } + + // optional int32 num_hits_taken = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_num_hits_taken(), target); + } + + // optional int32 damage_taken = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_damage_taken(), target); + } + + // optional int32 actual_damage_given = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_actual_damage_given(), target); + } + + // optional int32 actual_damage_taken = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_actual_damage_taken(), 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:CCSUsrMsg_SendLastKillerDamageToClient) + return target; +} + +size_t CCSUsrMsg_SendLastKillerDamageToClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendLastKillerDamageToClient) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional int32 num_hits_given = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits_given()); + } + + // optional int32 damage_given = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_damage_given()); + } + + // optional int32 num_hits_taken = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits_taken()); + } + + // optional int32 damage_taken = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_damage_taken()); + } + + // optional int32 actual_damage_given = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actual_damage_given()); + } + + // optional int32 actual_damage_taken = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actual_damage_taken()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendLastKillerDamageToClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendLastKillerDamageToClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendLastKillerDamageToClient::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendLastKillerDamageToClient::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:CCSUsrMsg_SendLastKillerDamageToClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.num_hits_given_ = from._impl_.num_hits_given_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.damage_given_ = from._impl_.damage_given_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_hits_taken_ = from._impl_.num_hits_taken_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.damage_taken_ = from._impl_.damage_taken_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.actual_damage_given_ = from._impl_.actual_damage_given_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.actual_damage_taken_ = from._impl_.actual_damage_taken_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendLastKillerDamageToClient::CopyFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendLastKillerDamageToClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendLastKillerDamageToClient::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendLastKillerDamageToClient::InternalSwap(CCSUsrMsg_SendLastKillerDamageToClient* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_taken_) + + sizeof(CCSUsrMsg_SendLastKillerDamageToClient::_impl_.actual_damage_taken_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_given_)>( + reinterpret_cast(&_impl_.num_hits_given_), + reinterpret_cast(&other->_impl_.num_hits_given_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendLastKillerDamageToClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[46]); +} + +// =================================================================== + +class CCSUsrMsg_ServerRankUpdate_RankUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rank_old(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rank_new(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_num_wins(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_rank_change(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rank_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate(::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:CCSUsrMsg_ServerRankUpdate.RankUpdate) +} +CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ServerRankUpdate_RankUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){} + , decltype(_impl_.rank_old_){} + , decltype(_impl_.rank_new_){} + , decltype(_impl_.num_wins_){} + , decltype(_impl_.rank_change_){} + , decltype(_impl_.rank_type_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.rank_type_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_type_id_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankUpdate.RankUpdate) +} + +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_id_){0} + , decltype(_impl_.rank_old_){0} + , decltype(_impl_.rank_new_){0} + , decltype(_impl_.num_wins_){0} + , decltype(_impl_.rank_change_){0} + , decltype(_impl_.rank_type_id_){0} + }; +} + +CCSUsrMsg_ServerRankUpdate_RankUpdate::~CCSUsrMsg_ServerRankUpdate_RankUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankUpdate.RankUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ServerRankUpdate_RankUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ServerRankUpdate_RankUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.rank_type_id_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_type_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ServerRankUpdate_RankUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 rank_old = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_rank_old(&has_bits); + _impl_.rank_old_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 rank_new = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_rank_new(&has_bits); + _impl_.rank_new_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_wins = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_num_wins(&has_bits); + _impl_.num_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float rank_change = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_rank_change(&has_bits); + _impl_.rank_change_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 rank_type_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_rank_type_id(&has_bits); + _impl_.rank_type_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ServerRankUpdate_RankUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional int32 rank_old = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_rank_old(), target); + } + + // optional int32 rank_new = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_rank_new(), target); + } + + // optional int32 num_wins = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_num_wins(), target); + } + + // optional float rank_change = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_rank_change(), target); + } + + // optional int32 rank_type_id = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_rank_type_id(), 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:CCSUsrMsg_ServerRankUpdate.RankUpdate) + return target; +} + +size_t CCSUsrMsg_ServerRankUpdate_RankUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional int32 account_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_account_id()); + } + + // optional int32 rank_old = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_old()); + } + + // optional int32 rank_new = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_new()); + } + + // optional int32 num_wins = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_wins()); + } + + // optional float rank_change = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional int32 rank_type_id = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_type_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankUpdate_RankUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankUpdate_RankUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ServerRankUpdate_RankUpdate::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:CCSUsrMsg_ServerRankUpdate.RankUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rank_old_ = from._impl_.rank_old_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.rank_new_ = from._impl_.rank_new_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.num_wins_ = from._impl_.num_wins_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.rank_change_ = from._impl_.rank_change_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.rank_type_id_ = from._impl_.rank_type_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ServerRankUpdate_RankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ServerRankUpdate_RankUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ServerRankUpdate_RankUpdate::InternalSwap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_type_id_) + + sizeof(CCSUsrMsg_ServerRankUpdate_RankUpdate::_impl_.rank_type_id_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankUpdate_RankUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[47]); +} + +// =================================================================== + +class CCSUsrMsg_ServerRankUpdate::_Internal { + public: +}; + +CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate(::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:CCSUsrMsg_ServerRankUpdate) +} +CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate(const CCSUsrMsg_ServerRankUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ServerRankUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.rank_update_){from._impl_.rank_update_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankUpdate) +} + +inline void CCSUsrMsg_ServerRankUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.rank_update_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CCSUsrMsg_ServerRankUpdate::~CCSUsrMsg_ServerRankUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ServerRankUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.rank_update_.~RepeatedPtrField(); +} + +void CCSUsrMsg_ServerRankUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ServerRankUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.rank_update_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ServerRankUpdate::_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 .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_rank_update(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CCSUsrMsg_ServerRankUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_rank_update_size()); i < n; i++) { + const auto& repfield = this->_internal_rank_update(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CCSUsrMsg_ServerRankUpdate) + return target; +} + +size_t CCSUsrMsg_ServerRankUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankUpdate) + 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 .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; + total_size += 1UL * this->_internal_rank_update_size(); + for (const auto& msg : this->_impl_.rank_update_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ServerRankUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ServerRankUpdate::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:CCSUsrMsg_ServerRankUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.rank_update_.MergeFrom(from._impl_.rank_update_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ServerRankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ServerRankUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ServerRankUpdate::InternalSwap(CCSUsrMsg_ServerRankUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.rank_update_.InternalSwap(&other->_impl_.rank_update_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[48]); +} + +// =================================================================== + +class CCSUsrMsg_XpUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& data(const CCSUsrMsg_XpUpdate* msg); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& +CCSUsrMsg_XpUpdate::_Internal::data(const CCSUsrMsg_XpUpdate* msg) { + return *msg->_impl_.data_; +} +void CCSUsrMsg_XpUpdate::clear_data() { + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate(::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:CCSUsrMsg_XpUpdate) +} +CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate(const CCSUsrMsg_XpUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_XpUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_data()) { + _this->_impl_.data_ = new ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(*from._impl_.data_); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XpUpdate) +} + +inline void CCSUsrMsg_XpUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){nullptr} + }; +} + +CCSUsrMsg_XpUpdate::~CCSUsrMsg_XpUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_XpUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_XpUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.data_; +} + +void CCSUsrMsg_XpUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_XpUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XpUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_XpUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_XpUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XpUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::data(this), + _Internal::data(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:CCSUsrMsg_XpUpdate) + return target; +} + +size_t CCSUsrMsg_XpUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XpUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.data_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XpUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_XpUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XpUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_XpUpdate::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:CCSUsrMsg_XpUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_mutable_data()->::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeFrom( + from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_XpUpdate::CopyFrom(const CCSUsrMsg_XpUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XpUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_XpUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_XpUpdate::InternalSwap(CCSUsrMsg_XpUpdate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.data_, other->_impl_.data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XpUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[49]); +} + +// =================================================================== + +class CCSUsrMsg_ItemPickup::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup(::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:CCSUsrMsg_ItemPickup) +} +CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup(const CCSUsrMsg_ItemPickup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ItemPickup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_){}}; + + _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_has_item()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ItemPickup) +} + +inline void CCSUsrMsg_ItemPickup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_){} + }; + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_ItemPickup::~CCSUsrMsg_ItemPickup() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ItemPickup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ItemPickup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_.Destroy(); +} + +void CCSUsrMsg_ItemPickup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ItemPickup::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ItemPickup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.item_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ItemPickup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string item = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_ItemPickup.item"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ItemPickup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ItemPickup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string item = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_ItemPickup.item"); + target = stream->WriteStringMaybeAliased( + 1, 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:CCSUsrMsg_ItemPickup) + return target; +} + +size_t CCSUsrMsg_ItemPickup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ItemPickup) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string item = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ItemPickup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ItemPickup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ItemPickup::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ItemPickup::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:CCSUsrMsg_ItemPickup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_item()) { + _this->_internal_set_item(from._internal_item()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ItemPickup::CopyFrom(const CCSUsrMsg_ItemPickup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ItemPickup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ItemPickup::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ItemPickup::InternalSwap(CCSUsrMsg_ItemPickup* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ItemPickup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[50]); +} + +// =================================================================== + +class CCSUsrMsg_ShowMenu::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_bits_valid_slots(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_display_time(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_menu_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu(::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:CCSUsrMsg_ShowMenu) +} +CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu(const CCSUsrMsg_ShowMenu& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ShowMenu* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menu_string_){} + , decltype(_impl_.bits_valid_slots_){} + , decltype(_impl_.display_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.menu_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menu_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_menu_string()) { + _this->_impl_.menu_string_.Set(from._internal_menu_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.bits_valid_slots_, &from._impl_.bits_valid_slots_, + static_cast(reinterpret_cast(&_impl_.display_time_) - + reinterpret_cast(&_impl_.bits_valid_slots_)) + sizeof(_impl_.display_time_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ShowMenu) +} + +inline void CCSUsrMsg_ShowMenu::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menu_string_){} + , decltype(_impl_.bits_valid_slots_){0} + , decltype(_impl_.display_time_){0} + }; + _impl_.menu_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menu_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_ShowMenu::~CCSUsrMsg_ShowMenu() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ShowMenu) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ShowMenu::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.menu_string_.Destroy(); +} + +void CCSUsrMsg_ShowMenu::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ShowMenu::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ShowMenu) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.menu_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.bits_valid_slots_, 0, static_cast( + reinterpret_cast(&_impl_.display_time_) - + reinterpret_cast(&_impl_.bits_valid_slots_)) + sizeof(_impl_.display_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ShowMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 bits_valid_slots = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_bits_valid_slots(&has_bits); + _impl_.bits_valid_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 display_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_display_time(&has_bits); + _impl_.display_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string menu_string = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_menu_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_ShowMenu.menu_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ShowMenu::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ShowMenu) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 bits_valid_slots = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_bits_valid_slots(), target); + } + + // optional int32 display_time = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_display_time(), target); + } + + // optional string menu_string = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_menu_string().data(), static_cast(this->_internal_menu_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_ShowMenu.menu_string"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_menu_string(), 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:CCSUsrMsg_ShowMenu) + return target; +} + +size_t CCSUsrMsg_ShowMenu::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ShowMenu) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string menu_string = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_menu_string()); + } + + // optional int32 bits_valid_slots = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bits_valid_slots()); + } + + // optional int32 display_time = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_display_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ShowMenu::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ShowMenu::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ShowMenu::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ShowMenu::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:CCSUsrMsg_ShowMenu) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_menu_string(from._internal_menu_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.bits_valid_slots_ = from._impl_.bits_valid_slots_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.display_time_ = from._impl_.display_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ShowMenu::CopyFrom(const CCSUsrMsg_ShowMenu& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ShowMenu) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ShowMenu::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ShowMenu::InternalSwap(CCSUsrMsg_ShowMenu* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.menu_string_, lhs_arena, + &other->_impl_.menu_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _impl_.display_time_) + + sizeof(CCSUsrMsg_ShowMenu::_impl_.display_time_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _impl_.bits_valid_slots_)>( + reinterpret_cast(&_impl_.bits_valid_slots_), + reinterpret_cast(&other->_impl_.bits_valid_slots_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ShowMenu::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[51]); +} + +// =================================================================== + +class CCSUsrMsg_BarTime::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_BarTime::CCSUsrMsg_BarTime(::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:CCSUsrMsg_BarTime) +} +CCSUsrMsg_BarTime::CCSUsrMsg_BarTime(const CCSUsrMsg_BarTime& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_BarTime* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.time_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.time_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_time()) { + _this->_impl_.time_.Set(from._internal_time(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_BarTime) +} + +inline void CCSUsrMsg_BarTime::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.time_){} + }; + _impl_.time_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.time_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_BarTime::~CCSUsrMsg_BarTime() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_BarTime) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_BarTime::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.time_.Destroy(); +} + +void CCSUsrMsg_BarTime::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_BarTime::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_BarTime) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.time_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_BarTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_time(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_BarTime.time"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_BarTime::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_BarTime) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string time = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_time().data(), static_cast(this->_internal_time().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_BarTime.time"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_time(), 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:CCSUsrMsg_BarTime) + return target; +} + +size_t CCSUsrMsg_BarTime::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_BarTime) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string time = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_time()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_BarTime::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_BarTime::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_BarTime::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_BarTime::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:CCSUsrMsg_BarTime) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_time()) { + _this->_internal_set_time(from._internal_time()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_BarTime::CopyFrom(const CCSUsrMsg_BarTime& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_BarTime) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_BarTime::IsInitialized() const { + return true; +} + +void CCSUsrMsg_BarTime::InternalSwap(CCSUsrMsg_BarTime* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.time_, lhs_arena, + &other->_impl_.time_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_BarTime::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[52]); +} + +// =================================================================== + +class CCSUsrMsg_AmmoDenied::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ammoidx(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied(::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:CCSUsrMsg_AmmoDenied) +} +CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied(const CCSUsrMsg_AmmoDenied& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_AmmoDenied* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ammoidx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ammoidx_ = from._impl_.ammoidx_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AmmoDenied) +} + +inline void CCSUsrMsg_AmmoDenied::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ammoidx_){0} + }; +} + +CCSUsrMsg_AmmoDenied::~CCSUsrMsg_AmmoDenied() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_AmmoDenied) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_AmmoDenied::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_AmmoDenied::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_AmmoDenied::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AmmoDenied) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ammoidx_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_AmmoDenied::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ammoidx = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ammoidx(&has_bits); + _impl_.ammoidx_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_AmmoDenied::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AmmoDenied) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ammoidx = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ammoidx(), 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:CCSUsrMsg_AmmoDenied) + return target; +} + +size_t CCSUsrMsg_AmmoDenied::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AmmoDenied) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 ammoidx = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammoidx()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AmmoDenied::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_AmmoDenied::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AmmoDenied::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_AmmoDenied::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:CCSUsrMsg_AmmoDenied) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ammoidx()) { + _this->_internal_set_ammoidx(from._internal_ammoidx()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_AmmoDenied::CopyFrom(const CCSUsrMsg_AmmoDenied& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AmmoDenied) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_AmmoDenied::IsInitialized() const { + return true; +} + +void CCSUsrMsg_AmmoDenied::InternalSwap(CCSUsrMsg_AmmoDenied* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.ammoidx_, other->_impl_.ammoidx_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AmmoDenied::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[53]); +} + +// =================================================================== + +class CCSUsrMsg_MarkAchievement::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_achievement(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement(::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:CCSUsrMsg_MarkAchievement) +} +CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement(const CCSUsrMsg_MarkAchievement& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_MarkAchievement* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.achievement_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.achievement_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_achievement()) { + _this->_impl_.achievement_.Set(from._internal_achievement(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MarkAchievement) +} + +inline void CCSUsrMsg_MarkAchievement::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){} + }; + _impl_.achievement_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.achievement_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_MarkAchievement::~CCSUsrMsg_MarkAchievement() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_MarkAchievement) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_MarkAchievement::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.achievement_.Destroy(); +} + +void CCSUsrMsg_MarkAchievement::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_MarkAchievement::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MarkAchievement) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.achievement_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_MarkAchievement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string achievement = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_achievement(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_MarkAchievement.achievement"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_MarkAchievement::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MarkAchievement) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string achievement = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_achievement().data(), static_cast(this->_internal_achievement().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_MarkAchievement.achievement"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_achievement(), 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:CCSUsrMsg_MarkAchievement) + return target; +} + +size_t CCSUsrMsg_MarkAchievement::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MarkAchievement) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string achievement = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_achievement()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MarkAchievement::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_MarkAchievement::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MarkAchievement::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_MarkAchievement::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:CCSUsrMsg_MarkAchievement) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_achievement()) { + _this->_internal_set_achievement(from._internal_achievement()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_MarkAchievement::CopyFrom(const CCSUsrMsg_MarkAchievement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MarkAchievement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_MarkAchievement::IsInitialized() const { + return true; +} + +void CCSUsrMsg_MarkAchievement::InternalSwap(CCSUsrMsg_MarkAchievement* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.achievement_, lhs_arena, + &other->_impl_.achievement_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MarkAchievement::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[54]); +} + +// =================================================================== + +class CCSUsrMsg_MatchStatsUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_update(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate(::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:CCSUsrMsg_MatchStatsUpdate) +} +CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate(const CCSUsrMsg_MatchStatsUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_MatchStatsUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.update_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.update_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.update_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_update()) { + _this->_impl_.update_.Set(from._internal_update(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MatchStatsUpdate) +} + +inline void CCSUsrMsg_MatchStatsUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.update_){} + }; + _impl_.update_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.update_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_MatchStatsUpdate::~CCSUsrMsg_MatchStatsUpdate() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_MatchStatsUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_MatchStatsUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.update_.Destroy(); +} + +void CCSUsrMsg_MatchStatsUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_MatchStatsUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MatchStatsUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.update_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_MatchStatsUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string update = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_update(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_MatchStatsUpdate.update"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_MatchStatsUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MatchStatsUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string update = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_update().data(), static_cast(this->_internal_update().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_MatchStatsUpdate.update"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_update(), 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:CCSUsrMsg_MatchStatsUpdate) + return target; +} + +size_t CCSUsrMsg_MatchStatsUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MatchStatsUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string update = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_update()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MatchStatsUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_MatchStatsUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MatchStatsUpdate::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_MatchStatsUpdate::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:CCSUsrMsg_MatchStatsUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_update()) { + _this->_internal_set_update(from._internal_update()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_MatchStatsUpdate::CopyFrom(const CCSUsrMsg_MatchStatsUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MatchStatsUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_MatchStatsUpdate::IsInitialized() const { + return true; +} + +void CCSUsrMsg_MatchStatsUpdate::InternalSwap(CCSUsrMsg_MatchStatsUpdate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.update_, lhs_arena, + &other->_impl_.update_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MatchStatsUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[55]); +} + +// =================================================================== + +class CCSUsrMsg_ItemDrop::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_itemid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_death(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop(::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:CCSUsrMsg_ItemDrop) +} +CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop(const CCSUsrMsg_ItemDrop& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ItemDrop* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemid_){} + , decltype(_impl_.death_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, + static_cast(reinterpret_cast(&_impl_.death_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.death_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ItemDrop) +} + +inline void CCSUsrMsg_ItemDrop::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemid_){int64_t{0}} + , decltype(_impl_.death_){false} + }; +} + +CCSUsrMsg_ItemDrop::~CCSUsrMsg_ItemDrop() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ItemDrop) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ItemDrop::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ItemDrop::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ItemDrop::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ItemDrop) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.itemid_, 0, static_cast( + reinterpret_cast(&_impl_.death_) - + reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.death_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ItemDrop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int64 itemid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_itemid(&has_bits); + _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool death = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_death(&has_bits); + _impl_.death_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ItemDrop::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ItemDrop) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int64 itemid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_itemid(), target); + } + + // optional bool death = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_death(), 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:CCSUsrMsg_ItemDrop) + return target; +} + +size_t CCSUsrMsg_ItemDrop::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ItemDrop) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int64 itemid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_itemid()); + } + + // optional bool death = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ItemDrop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ItemDrop::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ItemDrop::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ItemDrop::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:CCSUsrMsg_ItemDrop) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.itemid_ = from._impl_.itemid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.death_ = from._impl_.death_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ItemDrop::CopyFrom(const CCSUsrMsg_ItemDrop& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ItemDrop) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ItemDrop::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ItemDrop::InternalSwap(CCSUsrMsg_ItemDrop* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _impl_.death_) + + sizeof(CCSUsrMsg_ItemDrop::_impl_.death_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _impl_.itemid_)>( + reinterpret_cast(&_impl_.itemid_), + reinterpret_cast(&other->_impl_.itemid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ItemDrop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[56]); +} + +// =================================================================== + +class CCSUsrMsg_RoundBackupFilenames::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_nicename(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames(::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:CCSUsrMsg_RoundBackupFilenames) +} +CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames(const CCSUsrMsg_RoundBackupFilenames& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundBackupFilenames* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.nicename_){} + , decltype(_impl_.count_){} + , decltype(_impl_.index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _impl_.nicename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nicename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_nicename()) { + _this->_impl_.nicename_.Set(from._internal_nicename(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.count_, &from._impl_.count_, + static_cast(reinterpret_cast(&_impl_.index_) - + reinterpret_cast(&_impl_.count_)) + sizeof(_impl_.index_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundBackupFilenames) +} + +inline void CCSUsrMsg_RoundBackupFilenames::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.nicename_){} + , decltype(_impl_.count_){0} + , decltype(_impl_.index_){0} + }; + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nicename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nicename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_RoundBackupFilenames::~CCSUsrMsg_RoundBackupFilenames() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundBackupFilenames) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundBackupFilenames::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.filename_.Destroy(); + _impl_.nicename_.Destroy(); +} + +void CCSUsrMsg_RoundBackupFilenames::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundBackupFilenames::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundBackupFilenames) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.nicename_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.count_, 0, static_cast( + reinterpret_cast(&_impl_.index_) - + reinterpret_cast(&_impl_.count_)) + sizeof(_impl_.index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundBackupFilenames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 count = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string filename = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RoundBackupFilenames.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string nicename = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_nicename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RoundBackupFilenames.nicename"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundBackupFilenames::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundBackupFilenames) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 count = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_count(), target); + } + + // optional int32 index = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_index(), target); + } + + // optional string filename = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_RoundBackupFilenames.filename"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_filename(), target); + } + + // optional string nicename = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_nicename().data(), static_cast(this->_internal_nicename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_RoundBackupFilenames.nicename"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_nicename(), 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:CCSUsrMsg_RoundBackupFilenames) + return target; +} + +size_t CCSUsrMsg_RoundBackupFilenames::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundBackupFilenames) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string filename = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional string nicename = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nicename()); + } + + // optional int32 count = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); + } + + // optional int32 index = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundBackupFilenames::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundBackupFilenames::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundBackupFilenames::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundBackupFilenames::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:CCSUsrMsg_RoundBackupFilenames) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_nicename(from._internal_nicename()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.count_ = from._impl_.count_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.index_ = from._impl_.index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundBackupFilenames::CopyFrom(const CCSUsrMsg_RoundBackupFilenames& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundBackupFilenames) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundBackupFilenames::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundBackupFilenames::InternalSwap(CCSUsrMsg_RoundBackupFilenames* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nicename_, lhs_arena, + &other->_impl_.nicename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _impl_.index_) + + sizeof(CCSUsrMsg_RoundBackupFilenames::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _impl_.count_)>( + reinterpret_cast(&_impl_.count_), + reinterpret_cast(&other->_impl_.count_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundBackupFilenames::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[57]); +} + +// =================================================================== + +class CCSUsrMsg_SSUI::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_show(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_start_time(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_end_time(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_SSUI::CCSUsrMsg_SSUI(::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:CCSUsrMsg_SSUI) +} +CCSUsrMsg_SSUI::CCSUsrMsg_SSUI(const CCSUsrMsg_SSUI& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SSUI* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.show_){} + , decltype(_impl_.start_time_){} + , decltype(_impl_.end_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.show_, &from._impl_.show_, + static_cast(reinterpret_cast(&_impl_.end_time_) - + reinterpret_cast(&_impl_.show_)) + sizeof(_impl_.end_time_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SSUI) +} + +inline void CCSUsrMsg_SSUI::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.show_){false} + , decltype(_impl_.start_time_){0} + , decltype(_impl_.end_time_){0} + }; +} + +CCSUsrMsg_SSUI::~CCSUsrMsg_SSUI() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SSUI) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SSUI::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_SSUI::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SSUI::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SSUI) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.show_, 0, static_cast( + reinterpret_cast(&_impl_.end_time_) - + reinterpret_cast(&_impl_.show_)) + sizeof(_impl_.end_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SSUI::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool show = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_show(&has_bits); + _impl_.show_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float start_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_start_time(&has_bits); + _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float end_time = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_end_time(&has_bits); + _impl_.end_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SSUI::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SSUI) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool show = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_show(), target); + } + + // optional float start_time = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_start_time(), target); + } + + // optional float end_time = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_end_time(), 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:CCSUsrMsg_SSUI) + return target; +} + +size_t CCSUsrMsg_SSUI::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SSUI) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bool show = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional float start_time = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float end_time = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SSUI::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SSUI::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SSUI::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SSUI::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:CCSUsrMsg_SSUI) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.show_ = from._impl_.show_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.start_time_ = from._impl_.start_time_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.end_time_ = from._impl_.end_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SSUI::CopyFrom(const CCSUsrMsg_SSUI& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SSUI) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SSUI::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SSUI::InternalSwap(CCSUsrMsg_SSUI* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SSUI, _impl_.end_time_) + + sizeof(CCSUsrMsg_SSUI::_impl_.end_time_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SSUI, _impl_.show_)>( + reinterpret_cast(&_impl_.show_), + reinterpret_cast(&other->_impl_.show_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SSUI::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[58]); +} + +// =================================================================== + +class CCSUsrMsg_SurvivalStats_Fact::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_display(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_interestingness(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact(::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:CCSUsrMsg_SurvivalStats.Fact) +} +CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact(const CCSUsrMsg_SurvivalStats_Fact& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SurvivalStats_Fact* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.display_){} + , decltype(_impl_.value_){} + , decltype(_impl_.interestingness_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.interestingness_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.interestingness_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Fact) +} + +inline void CCSUsrMsg_SurvivalStats_Fact::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){0} + , decltype(_impl_.display_){0} + , decltype(_impl_.value_){0} + , decltype(_impl_.interestingness_){0} + }; +} + +CCSUsrMsg_SurvivalStats_Fact::~CCSUsrMsg_SurvivalStats_Fact() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Fact) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SurvivalStats_Fact::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_SurvivalStats_Fact::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SurvivalStats_Fact::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Fact) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.interestingness_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.interestingness_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SurvivalStats_Fact::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 display = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_display(&has_bits); + _impl_.display_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float interestingness = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_interestingness(&has_bits); + _impl_.interestingness_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SurvivalStats_Fact::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Fact) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional int32 display = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_display(), target); + } + + // optional int32 value = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_value(), target); + } + + // optional float interestingness = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_interestingness(), 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:CCSUsrMsg_SurvivalStats.Fact) + return target; +} + +size_t CCSUsrMsg_SurvivalStats_Fact::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Fact) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional int32 display = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_display()); + } + + // optional int32 value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_value()); + } + + // optional float interestingness = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Fact::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SurvivalStats_Fact::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Fact::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SurvivalStats_Fact::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:CCSUsrMsg_SurvivalStats.Fact) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.display_ = from._impl_.display_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.value_ = from._impl_.value_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.interestingness_ = from._impl_.interestingness_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SurvivalStats_Fact::CopyFrom(const CCSUsrMsg_SurvivalStats_Fact& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Fact) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SurvivalStats_Fact::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SurvivalStats_Fact::InternalSwap(CCSUsrMsg_SurvivalStats_Fact* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Fact, _impl_.interestingness_) + + sizeof(CCSUsrMsg_SurvivalStats_Fact::_impl_.interestingness_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Fact, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Fact::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[59]); +} + +// =================================================================== + +class CCSUsrMsg_SurvivalStats_Placement::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_teamnumber(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_placement(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement(::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:CCSUsrMsg_SurvivalStats.Placement) +} +CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement(const CCSUsrMsg_SurvivalStats_Placement& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SurvivalStats_Placement* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xuid_){} + , decltype(_impl_.teamnumber_){} + , decltype(_impl_.placement_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.placement_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.placement_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Placement) +} + +inline void CCSUsrMsg_SurvivalStats_Placement::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.teamnumber_){0} + , decltype(_impl_.placement_){0} + }; +} + +CCSUsrMsg_SurvivalStats_Placement::~CCSUsrMsg_SurvivalStats_Placement() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Placement) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SurvivalStats_Placement::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_SurvivalStats_Placement::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SurvivalStats_Placement::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Placement) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.placement_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.placement_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SurvivalStats_Placement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 xuid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 teamnumber = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_teamnumber(&has_bits); + _impl_.teamnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 placement = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_placement(&has_bits); + _impl_.placement_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SurvivalStats_Placement::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Placement) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); + } + + // optional int32 teamnumber = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_teamnumber(), target); + } + + // optional int32 placement = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_placement(), 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:CCSUsrMsg_SurvivalStats.Placement) + return target; +} + +size_t CCSUsrMsg_SurvivalStats_Placement::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Placement) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); + } + + // optional int32 teamnumber = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamnumber()); + } + + // optional int32 placement = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_placement()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Placement::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SurvivalStats_Placement::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Placement::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SurvivalStats_Placement::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:CCSUsrMsg_SurvivalStats.Placement) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.teamnumber_ = from._impl_.teamnumber_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.placement_ = from._impl_.placement_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SurvivalStats_Placement::CopyFrom(const CCSUsrMsg_SurvivalStats_Placement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Placement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SurvivalStats_Placement::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SurvivalStats_Placement::InternalSwap(CCSUsrMsg_SurvivalStats_Placement* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Placement, _impl_.placement_) + + sizeof(CCSUsrMsg_SurvivalStats_Placement::_impl_.placement_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Placement, _impl_.xuid_)>( + reinterpret_cast(&_impl_.xuid_), + reinterpret_cast(&other->_impl_.xuid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Placement::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[60]); +} + +// =================================================================== + +class CCSUsrMsg_SurvivalStats_Damage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_to(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_to_hits(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_from(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_from_hits(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage(::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:CCSUsrMsg_SurvivalStats.Damage) +} +CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage(const CCSUsrMsg_SurvivalStats_Damage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SurvivalStats_Damage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xuid_){} + , decltype(_impl_.to_){} + , decltype(_impl_.to_hits_){} + , decltype(_impl_.from_){} + , decltype(_impl_.from_hits_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.from_hits_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.from_hits_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Damage) +} + +inline void CCSUsrMsg_SurvivalStats_Damage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.to_){0} + , decltype(_impl_.to_hits_){0} + , decltype(_impl_.from_){0} + , decltype(_impl_.from_hits_){0} + }; +} + +CCSUsrMsg_SurvivalStats_Damage::~CCSUsrMsg_SurvivalStats_Damage() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Damage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SurvivalStats_Damage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_SurvivalStats_Damage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SurvivalStats_Damage::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Damage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.from_hits_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.from_hits_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SurvivalStats_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 xuid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 to = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_to(&has_bits); + _impl_.to_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 to_hits = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_to_hits(&has_bits); + _impl_.to_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 from = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_from(&has_bits); + _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 from_hits = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_from_hits(&has_bits); + _impl_.from_hits_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SurvivalStats_Damage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Damage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); + } + + // optional int32 to = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_to(), target); + } + + // optional int32 to_hits = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_to_hits(), target); + } + + // optional int32 from = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_from(), target); + } + + // optional int32 from_hits = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_from_hits(), 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:CCSUsrMsg_SurvivalStats.Damage) + return target; +} + +size_t CCSUsrMsg_SurvivalStats_Damage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Damage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); + } + + // optional int32 to = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_to()); + } + + // optional int32 to_hits = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_to_hits()); + } + + // optional int32 from = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_from()); + } + + // optional int32 from_hits = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_from_hits()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Damage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SurvivalStats_Damage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Damage::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SurvivalStats_Damage::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:CCSUsrMsg_SurvivalStats.Damage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.to_ = from._impl_.to_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.to_hits_ = from._impl_.to_hits_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.from_ = from._impl_.from_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.from_hits_ = from._impl_.from_hits_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SurvivalStats_Damage::CopyFrom(const CCSUsrMsg_SurvivalStats_Damage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Damage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SurvivalStats_Damage::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SurvivalStats_Damage::InternalSwap(CCSUsrMsg_SurvivalStats_Damage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Damage, _impl_.from_hits_) + + sizeof(CCSUsrMsg_SurvivalStats_Damage::_impl_.from_hits_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Damage, _impl_.xuid_)>( + reinterpret_cast(&_impl_.xuid_), + reinterpret_cast(&other->_impl_.xuid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Damage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[61]); +} + +// =================================================================== + +class CCSUsrMsg_SurvivalStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ticknumber(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats(::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:CCSUsrMsg_SurvivalStats) +} +CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats(const CCSUsrMsg_SurvivalStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SurvivalStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.facts_){from._impl_.facts_} + , decltype(_impl_.users_){from._impl_.users_} + , decltype(_impl_.damages_){from._impl_.damages_} + , decltype(_impl_.xuid_){} + , decltype(_impl_.ticknumber_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.ticknumber_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ticknumber_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats) +} + +inline void CCSUsrMsg_SurvivalStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.facts_){arena} + , decltype(_impl_.users_){arena} + , decltype(_impl_.damages_){arena} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.ticknumber_){0} + }; +} + +CCSUsrMsg_SurvivalStats::~CCSUsrMsg_SurvivalStats() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SurvivalStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.facts_.~RepeatedPtrField(); + _impl_.users_.~RepeatedPtrField(); + _impl_.damages_.~RepeatedPtrField(); +} + +void CCSUsrMsg_SurvivalStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SurvivalStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.facts_.Clear(); + _impl_.users_.Clear(); + _impl_.damages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.ticknumber_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ticknumber_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SurvivalStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 xuid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_facts(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_users(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 ticknumber = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ticknumber(&has_bits); + _impl_.ticknumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_damages(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SurvivalStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); + } + + // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_facts_size()); i < n; i++) { + const auto& repfield = this->_internal_facts(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_users_size()); i < n; i++) { + const auto& repfield = this->_internal_users(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 ticknumber = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ticknumber(), target); + } + + // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_damages_size()); i < n; i++) { + const auto& repfield = this->_internal_damages(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:CCSUsrMsg_SurvivalStats) + return target; +} + +size_t CCSUsrMsg_SurvivalStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats) + 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 .CCSUsrMsg_SurvivalStats.Fact facts = 2; + total_size += 1UL * this->_internal_facts_size(); + for (const auto& msg : this->_impl_.facts_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; + total_size += 1UL * this->_internal_users_size(); + for (const auto& msg : this->_impl_.users_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; + total_size += 1UL * this->_internal_damages_size(); + for (const auto& msg : this->_impl_.damages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 xuid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); + } + + // optional int32 ticknumber = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ticknumber()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SurvivalStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SurvivalStats::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:CCSUsrMsg_SurvivalStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.facts_.MergeFrom(from._impl_.facts_); + _this->_impl_.users_.MergeFrom(from._impl_.users_); + _this->_impl_.damages_.MergeFrom(from._impl_.damages_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ticknumber_ = from._impl_.ticknumber_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SurvivalStats::CopyFrom(const CCSUsrMsg_SurvivalStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SurvivalStats::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SurvivalStats::InternalSwap(CCSUsrMsg_SurvivalStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.facts_.InternalSwap(&other->_impl_.facts_); + _impl_.users_.InternalSwap(&other->_impl_.users_); + _impl_.damages_.InternalSwap(&other->_impl_.damages_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats, _impl_.ticknumber_) + + sizeof(CCSUsrMsg_SurvivalStats::_impl_.ticknumber_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats, _impl_.xuid_)>( + reinterpret_cast(&_impl_.xuid_), + reinterpret_cast(&other->_impl_.xuid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[62]); +} + +// =================================================================== + +class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eaccolade(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::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:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) +} +CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eaccolade_){} + , decltype(_impl_.value_){} + , decltype(_impl_.position_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.eaccolade_, &from._impl_.eaccolade_, + static_cast(reinterpret_cast(&_impl_.position_) - + reinterpret_cast(&_impl_.eaccolade_)) + sizeof(_impl_.position_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eaccolade_){0} + , decltype(_impl_.value_){0} + , decltype(_impl_.position_){0} + }; +} + +CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::~CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.eaccolade_, 0, static_cast( + reinterpret_cast(&_impl_.position_) - + reinterpret_cast(&_impl_.eaccolade_)) + sizeof(_impl_.position_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eaccolade = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eaccolade(&has_bits); + _impl_.eaccolade_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 position = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_position(&has_bits); + _impl_.position_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eaccolade = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eaccolade(), target); + } + + // optional float value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_value(), target); + } + + // optional int32 position = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_position(), 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:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + return target; +} + +size_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 eaccolade = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eaccolade()); + } + + // optional float value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional int32 position = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_position()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::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:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.eaccolade_ = from._impl_.eaccolade_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.value_ = from._impl_.value_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.position_ = from._impl_.position_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::IsInitialized() const { + return true; +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.position_) + + sizeof(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_impl_.position_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.eaccolade_)>( + reinterpret_cast(&_impl_.eaccolade_), + reinterpret_cast(&other->_impl_.eaccolade_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[63]); +} + +// =================================================================== + +class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_teamnumber(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& nomination(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* msg); + static void set_has_nomination(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_playercolor(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_isbot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_Internal::nomination(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* msg) { + return *msg->_impl_.nomination_; +} +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_items() { + _impl_.items_.Clear(); +} +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::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:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) +} +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.name_){} + , decltype(_impl_.nomination_){nullptr} + , decltype(_impl_.xuid_){} + , decltype(_impl_.teamnumber_){} + , decltype(_impl_.playercolor_){} + , decltype(_impl_.isbot_){} + , decltype(_impl_.slot_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_nomination()) { + _this->_impl_.nomination_ = new ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(*from._impl_.nomination_); + } + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.slot_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.slot_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.nomination_){nullptr} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.teamnumber_){0} + , decltype(_impl_.playercolor_){0} + , decltype(_impl_.isbot_){false} + , decltype(_impl_.slot_){-1} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedPtrField(); + _impl_.name_.Destroy(); + if (this != internal_default_instance()) delete _impl_.nomination_; +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.nomination_ != nullptr); + _impl_.nomination_->Clear(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.isbot_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.isbot_)); + _impl_.slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 slot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 xuid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 teamnumber = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_teamnumber(&has_bits); + _impl_.teamnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_nomination(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CEconItemPreviewDataBlock items = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_items(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 playercolor = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_playercolor(&has_bits); + _impl_.playercolor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool isbot = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_isbot(&has_bits); + _impl_.isbot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 slot = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), target); + } + + // optional uint64 xuid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_xuid(), target); + } + + // optional string name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_name(), target); + } + + // optional int32 teamnumber = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_teamnumber(), target); + } + + // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::nomination(this), + _Internal::nomination(this).GetCachedSize(), target, stream); + } + + // repeated .CEconItemPreviewDataBlock items = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_items_size()); i < n; i++) { + const auto& repfield = this->_internal_items(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 playercolor = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_playercolor(), target); + } + + // optional bool isbot = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_isbot(), 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:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + return target; +} + +size_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + 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 .CEconItemPreviewDataBlock items = 6; + total_size += 1UL * this->_internal_items_size(); + for (const auto& msg : this->_impl_.items_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.nomination_); + } + + // optional uint64 xuid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); + } + + // optional int32 teamnumber = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamnumber()); + } + + // optional int32 playercolor = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playercolor()); + } + + // optional bool isbot = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional int32 slot = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::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:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_nomination()->::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeFrom( + from._internal_nomination()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.teamnumber_ = from._impl_.teamnumber_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.playercolor_ = from._impl_.playercolor_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.isbot_ = from._impl_.isbot_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.slot_ = from._impl_.slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::IsInitialized() const { + return true; +} + +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.isbot_) + + sizeof(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_impl_.isbot_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.nomination_)>( + reinterpret_cast(&_impl_.nomination_), + reinterpret_cast(&other->_impl_.nomination_)); + swap(_impl_.slot_, other->_impl_.slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[64]); +} + +// =================================================================== + +class CCSUsrMsg_EndOfMatchAllPlayersData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_scene(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData(::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:CCSUsrMsg_EndOfMatchAllPlayersData) +} +CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData(const CCSUsrMsg_EndOfMatchAllPlayersData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_EndOfMatchAllPlayersData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.allplayerdata_){from._impl_.allplayerdata_} + , decltype(_impl_.scene_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.scene_ = from._impl_.scene_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData) +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.allplayerdata_){arena} + , decltype(_impl_.scene_){0} + }; +} + +CCSUsrMsg_EndOfMatchAllPlayersData::~CCSUsrMsg_EndOfMatchAllPlayersData() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_EndOfMatchAllPlayersData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.allplayerdata_.~RepeatedPtrField(); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.allplayerdata_.Clear(); + _impl_.scene_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_EndOfMatchAllPlayersData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_allplayerdata(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 scene = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_scene(&has_bits); + _impl_.scene_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_allplayerdata_size()); i < n; i++) { + const auto& repfield = this->_internal_allplayerdata(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 scene = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_scene(), 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:CCSUsrMsg_EndOfMatchAllPlayersData) + return target; +} + +size_t CCSUsrMsg_EndOfMatchAllPlayersData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData) + 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 .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; + total_size += 1UL * this->_internal_allplayerdata_size(); + for (const auto& msg : this->_impl_.allplayerdata_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional int32 scene = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_scene()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_EndOfMatchAllPlayersData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_EndOfMatchAllPlayersData::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:CCSUsrMsg_EndOfMatchAllPlayersData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.allplayerdata_.MergeFrom(from._impl_.allplayerdata_); + if (from._internal_has_scene()) { + _this->_internal_set_scene(from._internal_scene()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_EndOfMatchAllPlayersData::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_EndOfMatchAllPlayersData::IsInitialized() const { + return true; +} + +void CCSUsrMsg_EndOfMatchAllPlayersData::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.allplayerdata_.InternalSwap(&other->_impl_.allplayerdata_); + swap(_impl_.scene_, other->_impl_.scene_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[65]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_team_number(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_playerslot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_is_bot(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_dead(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::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:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) +} +CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData_RerEvent_Victim* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_number_){} + , decltype(_impl_.color_){} + , decltype(_impl_.xuid_){} + , decltype(_impl_.is_bot_){} + , decltype(_impl_.is_dead_){} + , decltype(_impl_.playerslot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.team_number_, &from._impl_.team_number_, + static_cast(reinterpret_cast(&_impl_.playerslot_) - + reinterpret_cast(&_impl_.team_number_)) + sizeof(_impl_.playerslot_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.team_number_){0} + , decltype(_impl_.color_){0} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.is_bot_){false} + , decltype(_impl_.is_dead_){false} + , decltype(_impl_.playerslot_){-1} + }; +} + +CCSUsrMsg_RoundEndReportData_RerEvent_Victim::~CCSUsrMsg_RoundEndReportData_RerEvent_Victim() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.team_number_, 0, static_cast( + reinterpret_cast(&_impl_.is_dead_) - + reinterpret_cast(&_impl_.team_number_)) + sizeof(_impl_.is_dead_)); + _impl_.playerslot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 team_number = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_team_number(&has_bits); + _impl_.team_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 playerslot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_playerslot(&has_bits); + _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 xuid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 color = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_bot = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_is_bot(&has_bits); + _impl_.is_bot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_dead = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_is_dead(&has_bits); + _impl_.is_dead_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 team_number = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_number(), target); + } + + // optional int32 playerslot = 2 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), target); + } + + // optional uint64 xuid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_xuid(), target); + } + + // optional int32 color = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_color(), target); + } + + // optional bool is_bot = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_bot(), target); + } + + // optional bool is_dead = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_dead(), 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:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional int32 team_number = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_number()); + } + + // optional int32 color = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_color()); + } + + // optional uint64 xuid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); + } + + // optional bool is_bot = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool is_dead = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional int32 playerslot = 2 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Victim::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::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:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.team_number_ = from._impl_.team_number_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_bot_ = from._impl_.is_bot_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_dead_ = from._impl_.is_dead_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.playerslot_ = from._impl_.playerslot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_dead_) + + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_impl_.is_dead_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.team_number_)>( + reinterpret_cast(&_impl_.team_number_), + reinterpret_cast(&other->_impl_.team_number_)); + swap(_impl_.playerslot_, other->_impl_.playerslot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Victim::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[66]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::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:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) +} +CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData_RerEvent_Objective* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.type_ = from._impl_.type_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){0} + }; +} + +CCSUsrMsg_RoundEndReportData_RerEvent_Objective::~CCSUsrMsg_RoundEndReportData_RerEvent_Objective() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), 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:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 type = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Objective::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::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:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_type()) { + _this->_internal_set_type(from._internal_type()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.type_, other->_impl_.type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Objective::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[67]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_other_playerslot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_other_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_health_removed(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_hits(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_return_health_removed(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_return_num_hits(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::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:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) +} +CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData_RerEvent_Damage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.other_xuid_){} + , decltype(_impl_.health_removed_){} + , decltype(_impl_.num_hits_){} + , decltype(_impl_.return_health_removed_){} + , decltype(_impl_.return_num_hits_){} + , decltype(_impl_.other_playerslot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.other_xuid_, &from._impl_.other_xuid_, + static_cast(reinterpret_cast(&_impl_.other_playerslot_) - + reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.other_playerslot_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.other_xuid_){uint64_t{0u}} + , decltype(_impl_.health_removed_){0} + , decltype(_impl_.num_hits_){0} + , decltype(_impl_.return_health_removed_){0} + , decltype(_impl_.return_num_hits_){0} + , decltype(_impl_.other_playerslot_){-1} + }; +} + +CCSUsrMsg_RoundEndReportData_RerEvent_Damage::~CCSUsrMsg_RoundEndReportData_RerEvent_Damage() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.other_xuid_, 0, static_cast( + reinterpret_cast(&_impl_.return_num_hits_) - + reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.return_num_hits_)); + _impl_.other_playerslot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 other_playerslot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_other_playerslot(&has_bits); + _impl_.other_playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 other_xuid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_other_xuid(&has_bits); + _impl_.other_xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 health_removed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_health_removed(&has_bits); + _impl_.health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_hits = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_num_hits(&has_bits); + _impl_.num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 return_health_removed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_return_health_removed(&has_bits); + _impl_.return_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 return_num_hits = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_return_num_hits(&has_bits); + _impl_.return_num_hits_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 other_playerslot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_other_playerslot(), target); + } + + // optional uint64 other_xuid = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_other_xuid(), target); + } + + // optional int32 health_removed = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_health_removed(), target); + } + + // optional int32 num_hits = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_num_hits(), target); + } + + // optional int32 return_health_removed = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_return_health_removed(), target); + } + + // optional int32 return_num_hits = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_return_num_hits(), 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:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint64 other_xuid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_other_xuid()); + } + + // optional int32 health_removed = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_health_removed()); + } + + // optional int32 num_hits = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits()); + } + + // optional int32 return_health_removed = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_return_health_removed()); + } + + // optional int32 return_num_hits = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_return_num_hits()); + } + + // optional int32 other_playerslot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_playerslot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData_RerEvent_Damage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Damage::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::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:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.other_xuid_ = from._impl_.other_xuid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.health_removed_ = from._impl_.health_removed_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_hits_ = from._impl_.num_hits_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.return_health_removed_ = from._impl_.return_health_removed_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.return_num_hits_ = from._impl_.return_num_hits_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.other_playerslot_ = from._impl_.other_playerslot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_num_hits_) + + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_impl_.return_num_hits_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_xuid_)>( + reinterpret_cast(&_impl_.other_xuid_), + reinterpret_cast(&other->_impl_.other_xuid_)); + swap(_impl_.other_playerslot_, other->_impl_.other_playerslot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Damage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[68]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData_RerEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_terrorist_odds(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ct_alive(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_t_alive(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& victim_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg); + static void set_has_victim_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& objective_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg); + static void set_has_objective_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& +CCSUsrMsg_RoundEndReportData_RerEvent::_Internal::victim_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg) { + return *msg->_impl_.victim_data_; +} +const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& +CCSUsrMsg_RoundEndReportData_RerEvent::_Internal::objective_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg) { + return *msg->_impl_.objective_data_; +} +CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent(::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:CCSUsrMsg_RoundEndReportData.RerEvent) +} +CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent(const CCSUsrMsg_RoundEndReportData_RerEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData_RerEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_damage_data_){from._impl_.all_damage_data_} + , decltype(_impl_.victim_data_){nullptr} + , decltype(_impl_.objective_data_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.terrorist_odds_){} + , decltype(_impl_.ct_alive_){} + , decltype(_impl_.t_alive_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_victim_data()) { + _this->_impl_.victim_data_ = new ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(*from._impl_.victim_data_); + } + if (from._internal_has_objective_data()) { + _this->_impl_.objective_data_ = new ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(*from._impl_.objective_data_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.t_alive_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.t_alive_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent) +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_damage_data_){arena} + , decltype(_impl_.victim_data_){nullptr} + , decltype(_impl_.objective_data_){nullptr} + , decltype(_impl_.timestamp_){0} + , decltype(_impl_.terrorist_odds_){0} + , decltype(_impl_.ct_alive_){0} + , decltype(_impl_.t_alive_){0} + }; +} + +CCSUsrMsg_RoundEndReportData_RerEvent::~CCSUsrMsg_RoundEndReportData_RerEvent() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData_RerEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.all_damage_data_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.victim_data_; + if (this != internal_default_instance()) delete _impl_.objective_data_; +} + +void CCSUsrMsg_RoundEndReportData_RerEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.all_damage_data_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.victim_data_ != nullptr); + _impl_.victim_data_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.objective_data_ != nullptr); + _impl_.objective_data_->Clear(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.t_alive_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.t_alive_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData_RerEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_timestamp(&has_bits); + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 terrorist_odds = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_terrorist_odds(&has_bits); + _impl_.terrorist_odds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ct_alive = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ct_alive(&has_bits); + _impl_.ct_alive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 t_alive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_t_alive(&has_bits); + _impl_.t_alive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_victim_data(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_objective_data(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_all_damage_data(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float timestamp = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_timestamp(), target); + } + + // optional int32 terrorist_odds = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_terrorist_odds(), target); + } + + // optional int32 ct_alive = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ct_alive(), target); + } + + // optional int32 t_alive = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_t_alive(), target); + } + + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::victim_data(this), + _Internal::victim_data(this).GetCachedSize(), target, stream); + } + + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::objective_data(this), + _Internal::objective_data(this).GetCachedSize(), target, stream); + } + + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; + for (unsigned i = 0, + n = static_cast(this->_internal_all_damage_data_size()); i < n; i++) { + const auto& repfield = this->_internal_all_damage_data(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, 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:CCSUsrMsg_RoundEndReportData.RerEvent) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData_RerEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent) + 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 .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; + total_size += 1UL * this->_internal_all_damage_data_size(); + for (const auto& msg : this->_impl_.all_damage_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_data_); + } + + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.objective_data_); + } + + // optional float timestamp = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 terrorist_odds = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_terrorist_odds()); + } + + // optional int32 ct_alive = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ct_alive()); + } + + // optional int32 t_alive = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_t_alive()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData_RerEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData_RerEvent::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:CCSUsrMsg_RoundEndReportData.RerEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.all_damage_data_.MergeFrom(from._impl_.all_damage_data_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_victim_data()->::CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeFrom( + from._internal_victim_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_objective_data()->::CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeFrom( + from._internal_objective_data()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.terrorist_odds_ = from._impl_.terrorist_odds_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ct_alive_ = from._impl_.ct_alive_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.t_alive_ = from._impl_.t_alive_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData_RerEvent::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData_RerEvent::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData_RerEvent::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.all_damage_data_.InternalSwap(&other->_impl_.all_damage_data_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.t_alive_) + + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent::_impl_.t_alive_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.victim_data_)>( + reinterpret_cast(&_impl_.victim_data_), + reinterpret_cast(&other->_impl_.victim_data_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[69]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData_InitialConditions::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ct_equip_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_t_equip_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_terrorist_odds(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions(::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:CCSUsrMsg_RoundEndReportData.InitialConditions) +} +CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData_InitialConditions* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ct_equip_value_){} + , decltype(_impl_.t_equip_value_){} + , decltype(_impl_.terrorist_odds_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ct_equip_value_, &from._impl_.ct_equip_value_, + static_cast(reinterpret_cast(&_impl_.terrorist_odds_) - + reinterpret_cast(&_impl_.ct_equip_value_)) + sizeof(_impl_.terrorist_odds_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.InitialConditions) +} + +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ct_equip_value_){0} + , decltype(_impl_.t_equip_value_){0} + , decltype(_impl_.terrorist_odds_){0} + }; +} + +CCSUsrMsg_RoundEndReportData_InitialConditions::~CCSUsrMsg_RoundEndReportData_InitialConditions() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.InitialConditions) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_RoundEndReportData_InitialConditions::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData_InitialConditions::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.InitialConditions) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.ct_equip_value_, 0, static_cast( + reinterpret_cast(&_impl_.terrorist_odds_) - + reinterpret_cast(&_impl_.ct_equip_value_)) + sizeof(_impl_.terrorist_odds_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData_InitialConditions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ct_equip_value = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ct_equip_value(&has_bits); + _impl_.ct_equip_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 t_equip_value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_t_equip_value(&has_bits); + _impl_.t_equip_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 terrorist_odds = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_terrorist_odds(&has_bits); + _impl_.terrorist_odds_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData_InitialConditions::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.InitialConditions) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ct_equip_value = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ct_equip_value(), target); + } + + // optional int32 t_equip_value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_t_equip_value(), target); + } + + // optional int32 terrorist_odds = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_terrorist_odds(), 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:CCSUsrMsg_RoundEndReportData.InitialConditions) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData_InitialConditions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.InitialConditions) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 ct_equip_value = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ct_equip_value()); + } + + // optional int32 t_equip_value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_t_equip_value()); + } + + // optional int32 terrorist_odds = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_terrorist_odds()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_InitialConditions::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData_InitialConditions::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_InitialConditions::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData_InitialConditions::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:CCSUsrMsg_RoundEndReportData.InitialConditions) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ct_equip_value_ = from._impl_.ct_equip_value_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.t_equip_value_ = from._impl_.t_equip_value_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.terrorist_odds_ = from._impl_.terrorist_odds_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData_InitialConditions::CopyFrom(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.InitialConditions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData_InitialConditions::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData_InitialConditions::InternalSwap(CCSUsrMsg_RoundEndReportData_InitialConditions* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.terrorist_odds_) + + sizeof(CCSUsrMsg_RoundEndReportData_InitialConditions::_impl_.terrorist_odds_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.ct_equip_value_)>( + reinterpret_cast(&_impl_.ct_equip_value_), + reinterpret_cast(&other->_impl_.ct_equip_value_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_InitialConditions::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[70]); +} + +// =================================================================== + +class CCSUsrMsg_RoundEndReportData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CCSUsrMsg_RoundEndReportData_InitialConditions& init_conditions(const CCSUsrMsg_RoundEndReportData* msg); + static void set_has_init_conditions(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CCSUsrMsg_RoundEndReportData_InitialConditions& +CCSUsrMsg_RoundEndReportData::_Internal::init_conditions(const CCSUsrMsg_RoundEndReportData* msg) { + return *msg->_impl_.init_conditions_; +} +CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData(::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:CCSUsrMsg_RoundEndReportData) +} +CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData(const CCSUsrMsg_RoundEndReportData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RoundEndReportData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_rer_event_data_){from._impl_.all_rer_event_data_} + , decltype(_impl_.init_conditions_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_init_conditions()) { + _this->_impl_.init_conditions_ = new ::CCSUsrMsg_RoundEndReportData_InitialConditions(*from._impl_.init_conditions_); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData) +} + +inline void CCSUsrMsg_RoundEndReportData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.all_rer_event_data_){arena} + , decltype(_impl_.init_conditions_){nullptr} + }; +} + +CCSUsrMsg_RoundEndReportData::~CCSUsrMsg_RoundEndReportData() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RoundEndReportData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.all_rer_event_data_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.init_conditions_; +} + +void CCSUsrMsg_RoundEndReportData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RoundEndReportData::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.all_rer_event_data_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.init_conditions_ != nullptr); + _impl_.init_conditions_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RoundEndReportData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_init_conditions(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_all_rer_event_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RoundEndReportData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::init_conditions(this), + _Internal::init_conditions(this).GetCachedSize(), target, stream); + } + + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_all_rer_event_data_size()); i < n; i++) { + const auto& repfield = this->_internal_all_rer_event_data(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:CCSUsrMsg_RoundEndReportData) + return target; +} + +size_t CCSUsrMsg_RoundEndReportData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData) + 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 .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; + total_size += 1UL * this->_internal_all_rer_event_data_size(); + for (const auto& msg : this->_impl_.all_rer_event_data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.init_conditions_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RoundEndReportData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RoundEndReportData::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:CCSUsrMsg_RoundEndReportData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.all_rer_event_data_.MergeFrom(from._impl_.all_rer_event_data_); + if (from._internal_has_init_conditions()) { + _this->_internal_mutable_init_conditions()->::CCSUsrMsg_RoundEndReportData_InitialConditions::MergeFrom( + from._internal_init_conditions()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RoundEndReportData::CopyFrom(const CCSUsrMsg_RoundEndReportData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RoundEndReportData::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RoundEndReportData::InternalSwap(CCSUsrMsg_RoundEndReportData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.all_rer_event_data_.InternalSwap(&other->_impl_.all_rer_event_data_); + swap(_impl_.init_conditions_, other->_impl_.init_conditions_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[71]); +} + +// =================================================================== + +class CCSUsrMsg_PostRoundDamageReport::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_other_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_given_kill_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_given_health_removed(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_given_num_hits(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_taken_kill_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_taken_health_removed(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_taken_num_hits(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport(::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:CCSUsrMsg_PostRoundDamageReport) +} +CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport(const CCSUsrMsg_PostRoundDamageReport& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_PostRoundDamageReport* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.other_xuid_){} + , decltype(_impl_.given_kill_type_){} + , decltype(_impl_.given_health_removed_){} + , decltype(_impl_.given_num_hits_){} + , decltype(_impl_.taken_kill_type_){} + , decltype(_impl_.taken_health_removed_){} + , decltype(_impl_.taken_num_hits_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.other_xuid_, &from._impl_.other_xuid_, + static_cast(reinterpret_cast(&_impl_.taken_num_hits_) - + reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.taken_num_hits_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PostRoundDamageReport) +} + +inline void CCSUsrMsg_PostRoundDamageReport::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.other_xuid_){uint64_t{0u}} + , decltype(_impl_.given_kill_type_){0} + , decltype(_impl_.given_health_removed_){0} + , decltype(_impl_.given_num_hits_){0} + , decltype(_impl_.taken_kill_type_){0} + , decltype(_impl_.taken_health_removed_){0} + , decltype(_impl_.taken_num_hits_){0} + }; +} + +CCSUsrMsg_PostRoundDamageReport::~CCSUsrMsg_PostRoundDamageReport() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_PostRoundDamageReport) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_PostRoundDamageReport::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_PostRoundDamageReport::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_PostRoundDamageReport::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PostRoundDamageReport) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.other_xuid_, 0, static_cast( + reinterpret_cast(&_impl_.taken_num_hits_) - + reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.taken_num_hits_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_PostRoundDamageReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 other_xuid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_other_xuid(&has_bits); + _impl_.other_xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 given_kill_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_given_kill_type(&has_bits); + _impl_.given_kill_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 given_health_removed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_given_health_removed(&has_bits); + _impl_.given_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 given_num_hits = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_given_num_hits(&has_bits); + _impl_.given_num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 taken_kill_type = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_taken_kill_type(&has_bits); + _impl_.taken_kill_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 taken_health_removed = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_taken_health_removed(&has_bits); + _impl_.taken_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 taken_num_hits = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_taken_num_hits(&has_bits); + _impl_.taken_num_hits_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_PostRoundDamageReport::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PostRoundDamageReport) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 other_xuid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_other_xuid(), target); + } + + // optional int32 given_kill_type = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_given_kill_type(), target); + } + + // optional int32 given_health_removed = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_given_health_removed(), target); + } + + // optional int32 given_num_hits = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_given_num_hits(), target); + } + + // optional int32 taken_kill_type = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_taken_kill_type(), target); + } + + // optional int32 taken_health_removed = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_taken_health_removed(), target); + } + + // optional int32 taken_num_hits = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_taken_num_hits(), 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:CCSUsrMsg_PostRoundDamageReport) + return target; +} + +size_t CCSUsrMsg_PostRoundDamageReport::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PostRoundDamageReport) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint64 other_xuid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_other_xuid()); + } + + // optional int32 given_kill_type = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_kill_type()); + } + + // optional int32 given_health_removed = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_health_removed()); + } + + // optional int32 given_num_hits = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_num_hits()); + } + + // optional int32 taken_kill_type = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_kill_type()); + } + + // optional int32 taken_health_removed = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_health_removed()); + } + + // optional int32 taken_num_hits = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_num_hits()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PostRoundDamageReport::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_PostRoundDamageReport::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PostRoundDamageReport::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_PostRoundDamageReport::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:CCSUsrMsg_PostRoundDamageReport) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.other_xuid_ = from._impl_.other_xuid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.given_kill_type_ = from._impl_.given_kill_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.given_health_removed_ = from._impl_.given_health_removed_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.given_num_hits_ = from._impl_.given_num_hits_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.taken_kill_type_ = from._impl_.taken_kill_type_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.taken_health_removed_ = from._impl_.taken_health_removed_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.taken_num_hits_ = from._impl_.taken_num_hits_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_PostRoundDamageReport::CopyFrom(const CCSUsrMsg_PostRoundDamageReport& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PostRoundDamageReport) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_PostRoundDamageReport::IsInitialized() const { + return true; +} + +void CCSUsrMsg_PostRoundDamageReport::InternalSwap(CCSUsrMsg_PostRoundDamageReport* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PostRoundDamageReport, _impl_.taken_num_hits_) + + sizeof(CCSUsrMsg_PostRoundDamageReport::_impl_.taken_num_hits_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PostRoundDamageReport, _impl_.other_xuid_)>( + reinterpret_cast(&_impl_.other_xuid_), + reinterpret_cast(&other->_impl_.other_xuid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PostRoundDamageReport::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[72]); +} + +// =================================================================== + +class CCSUsrMsg_CurrentRoundOdds::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_odds(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds(::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:CCSUsrMsg_CurrentRoundOdds) +} +CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds(const CCSUsrMsg_CurrentRoundOdds& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CurrentRoundOdds* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.odds_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.odds_ = from._impl_.odds_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CurrentRoundOdds) +} + +inline void CCSUsrMsg_CurrentRoundOdds::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.odds_){0} + }; +} + +CCSUsrMsg_CurrentRoundOdds::~CCSUsrMsg_CurrentRoundOdds() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CurrentRoundOdds) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CurrentRoundOdds::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_CurrentRoundOdds::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CurrentRoundOdds::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CurrentRoundOdds) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.odds_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CurrentRoundOdds::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 odds = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_odds(&has_bits); + _impl_.odds_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CurrentRoundOdds::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CurrentRoundOdds) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 odds = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_odds(), 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:CCSUsrMsg_CurrentRoundOdds) + return target; +} + +size_t CCSUsrMsg_CurrentRoundOdds::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CurrentRoundOdds) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 odds = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_odds()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CurrentRoundOdds::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CurrentRoundOdds::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CurrentRoundOdds::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CurrentRoundOdds::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:CCSUsrMsg_CurrentRoundOdds) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_odds()) { + _this->_internal_set_odds(from._internal_odds()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CurrentRoundOdds::CopyFrom(const CCSUsrMsg_CurrentRoundOdds& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CurrentRoundOdds) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CurrentRoundOdds::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CurrentRoundOdds::InternalSwap(CCSUsrMsg_CurrentRoundOdds* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.odds_, other->_impl_.odds_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CurrentRoundOdds::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[73]); +} + +// =================================================================== + +class CCSUsrMsg_DeepStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgGCCStrike15_ClientDeepStats& stats(const CCSUsrMsg_DeepStats* msg); + static void set_has_stats(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCStrike15_ClientDeepStats& +CCSUsrMsg_DeepStats::_Internal::stats(const CCSUsrMsg_DeepStats* msg) { + return *msg->_impl_.stats_; +} +void CCSUsrMsg_DeepStats::clear_stats() { + if (_impl_.stats_ != nullptr) _impl_.stats_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats(::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:CCSUsrMsg_DeepStats) +} +CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats(const CCSUsrMsg_DeepStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_DeepStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_stats()) { + _this->_impl_.stats_ = new ::CMsgGCCStrike15_ClientDeepStats(*from._impl_.stats_); + } + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DeepStats) +} + +inline void CCSUsrMsg_DeepStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){nullptr} + }; +} + +CCSUsrMsg_DeepStats::~CCSUsrMsg_DeepStats() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_DeepStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_DeepStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.stats_; +} + +void CCSUsrMsg_DeepStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_DeepStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DeepStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.stats_ != nullptr); + _impl_.stats_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_DeepStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_stats(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_DeepStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DeepStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::stats(this), + _Internal::stats(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:CCSUsrMsg_DeepStats) + return target; +} + +size_t CCSUsrMsg_DeepStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DeepStats) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.stats_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DeepStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_DeepStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DeepStats::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_DeepStats::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:CCSUsrMsg_DeepStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_stats()) { + _this->_internal_mutable_stats()->::CMsgGCCStrike15_ClientDeepStats::MergeFrom( + from._internal_stats()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_DeepStats::CopyFrom(const CCSUsrMsg_DeepStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DeepStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_DeepStats::IsInitialized() const { + return true; +} + +void CCSUsrMsg_DeepStats::InternalSwap(CCSUsrMsg_DeepStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.stats_, other->_impl_.stats_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DeepStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[74]); +} + +// =================================================================== + +class CCSUsrMsg_ShootInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_frame_number(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& shoot_pos(const CCSUsrMsg_ShootInfo* msg); + static void set_has_shoot_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& shoot_dir(const CCSUsrMsg_ShootInfo* msg); + static void set_has_shoot_dir(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CCSUsrMsg_ShootInfo::_Internal::shoot_pos(const CCSUsrMsg_ShootInfo* msg) { + return *msg->_impl_.shoot_pos_; +} +const ::CMsgQAngle& +CCSUsrMsg_ShootInfo::_Internal::shoot_dir(const CCSUsrMsg_ShootInfo* msg) { + return *msg->_impl_.shoot_dir_; +} +void CCSUsrMsg_ShootInfo::clear_hitbox_transforms() { + _impl_.hitbox_transforms_.Clear(); +} +void CCSUsrMsg_ShootInfo::clear_shoot_pos() { + if (_impl_.shoot_pos_ != nullptr) _impl_.shoot_pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CCSUsrMsg_ShootInfo::clear_shoot_dir() { + if (_impl_.shoot_dir_ != nullptr) _impl_.shoot_dir_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo(::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:CCSUsrMsg_ShootInfo) +} +CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo(const CCSUsrMsg_ShootInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ShootInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hitbox_transforms_){from._impl_.hitbox_transforms_} + , decltype(_impl_.shoot_pos_){nullptr} + , decltype(_impl_.shoot_dir_){nullptr} + , decltype(_impl_.frame_number_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_shoot_pos()) { + _this->_impl_.shoot_pos_ = new ::CMsgVector(*from._impl_.shoot_pos_); + } + if (from._internal_has_shoot_dir()) { + _this->_impl_.shoot_dir_ = new ::CMsgQAngle(*from._impl_.shoot_dir_); + } + _this->_impl_.frame_number_ = from._impl_.frame_number_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ShootInfo) +} + +inline void CCSUsrMsg_ShootInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hitbox_transforms_){arena} + , decltype(_impl_.shoot_pos_){nullptr} + , decltype(_impl_.shoot_dir_){nullptr} + , decltype(_impl_.frame_number_){0} + }; +} + +CCSUsrMsg_ShootInfo::~CCSUsrMsg_ShootInfo() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ShootInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ShootInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.hitbox_transforms_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.shoot_pos_; + if (this != internal_default_instance()) delete _impl_.shoot_dir_; +} + +void CCSUsrMsg_ShootInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ShootInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ShootInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.hitbox_transforms_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.shoot_pos_ != nullptr); + _impl_.shoot_pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.shoot_dir_ != nullptr); + _impl_.shoot_dir_->Clear(); + } + } + _impl_.frame_number_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ShootInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 frame_number = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_frame_number(&has_bits); + _impl_.frame_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgTransform hitbox_transforms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_hitbox_transforms(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional .CMsgVector shoot_pos = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_shoot_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle shoot_dir = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_shoot_dir(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ShootInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ShootInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 frame_number = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_frame_number(), target); + } + + // repeated .CMsgTransform hitbox_transforms = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_hitbox_transforms_size()); i < n; i++) { + const auto& repfield = this->_internal_hitbox_transforms(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .CMsgVector shoot_pos = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::shoot_pos(this), + _Internal::shoot_pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle shoot_dir = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::shoot_dir(this), + _Internal::shoot_dir(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:CCSUsrMsg_ShootInfo) + return target; +} + +size_t CCSUsrMsg_ShootInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ShootInfo) + 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 .CMsgTransform hitbox_transforms = 2; + total_size += 1UL * this->_internal_hitbox_transforms_size(); + for (const auto& msg : this->_impl_.hitbox_transforms_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector shoot_pos = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shoot_pos_); + } + + // optional .CMsgQAngle shoot_dir = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shoot_dir_); + } + + // optional int32 frame_number = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_number()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ShootInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ShootInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ShootInfo::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ShootInfo::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:CCSUsrMsg_ShootInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.hitbox_transforms_.MergeFrom(from._impl_.hitbox_transforms_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_shoot_pos()->::CMsgVector::MergeFrom( + from._internal_shoot_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_shoot_dir()->::CMsgQAngle::MergeFrom( + from._internal_shoot_dir()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frame_number_ = from._impl_.frame_number_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ShootInfo::CopyFrom(const CCSUsrMsg_ShootInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ShootInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ShootInfo::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ShootInfo::InternalSwap(CCSUsrMsg_ShootInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.hitbox_transforms_.InternalSwap(&other->_impl_.hitbox_transforms_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShootInfo, _impl_.frame_number_) + + sizeof(CCSUsrMsg_ShootInfo::_impl_.frame_number_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShootInfo, _impl_.shoot_pos_)>( + reinterpret_cast(&_impl_.shoot_pos_), + reinterpret_cast(&other->_impl_.shoot_pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ShootInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[75]); +} + +// =================================================================== + +class CCSUsrMsg_ResetHud::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reset(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud(::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:CCSUsrMsg_ResetHud) +} +CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud(const CCSUsrMsg_ResetHud& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ResetHud* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reset_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.reset_ = from._impl_.reset_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ResetHud) +} + +inline void CCSUsrMsg_ResetHud::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reset_){false} + }; +} + +CCSUsrMsg_ResetHud::~CCSUsrMsg_ResetHud() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ResetHud) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ResetHud::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ResetHud::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ResetHud::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ResetHud) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.reset_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ResetHud::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool reset = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reset(&has_bits); + _impl_.reset_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ResetHud::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ResetHud) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool reset = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reset(), 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:CCSUsrMsg_ResetHud) + return target; +} + +size_t CCSUsrMsg_ResetHud::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ResetHud) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool reset = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ResetHud::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ResetHud::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ResetHud::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ResetHud::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:CCSUsrMsg_ResetHud) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_reset()) { + _this->_internal_set_reset(from._internal_reset()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ResetHud::CopyFrom(const CCSUsrMsg_ResetHud& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ResetHud) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ResetHud::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ResetHud::InternalSwap(CCSUsrMsg_ResetHud* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.reset_, other->_impl_.reset_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ResetHud::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[76]); +} + +// =================================================================== + +class CCSUsrMsg_GameTitle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dummy(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle(::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:CCSUsrMsg_GameTitle) +} +CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle(const CCSUsrMsg_GameTitle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_GameTitle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dummy_ = from._impl_.dummy_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_GameTitle) +} + +inline void CCSUsrMsg_GameTitle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){0} + }; +} + +CCSUsrMsg_GameTitle::~CCSUsrMsg_GameTitle() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_GameTitle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_GameTitle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_GameTitle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_GameTitle::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_GameTitle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dummy_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_GameTitle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dummy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dummy(&has_bits); + _impl_.dummy_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_GameTitle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_GameTitle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dummy = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), 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:CCSUsrMsg_GameTitle) + return target; +} + +size_t CCSUsrMsg_GameTitle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_GameTitle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 dummy = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_GameTitle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_GameTitle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_GameTitle::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_GameTitle::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:CCSUsrMsg_GameTitle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_dummy()) { + _this->_internal_set_dummy(from._internal_dummy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_GameTitle::CopyFrom(const CCSUsrMsg_GameTitle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_GameTitle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_GameTitle::IsInitialized() const { + return true; +} + +void CCSUsrMsg_GameTitle::InternalSwap(CCSUsrMsg_GameTitle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.dummy_, other->_impl_.dummy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_GameTitle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[77]); +} + +// =================================================================== + +class CCSUsrMsg_RequestState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dummy(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_RequestState::CCSUsrMsg_RequestState(::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:CCSUsrMsg_RequestState) +} +CCSUsrMsg_RequestState::CCSUsrMsg_RequestState(const CCSUsrMsg_RequestState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RequestState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dummy_ = from._impl_.dummy_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RequestState) +} + +inline void CCSUsrMsg_RequestState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){0} + }; +} + +CCSUsrMsg_RequestState::~CCSUsrMsg_RequestState() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RequestState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RequestState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_RequestState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RequestState::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RequestState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dummy_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RequestState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dummy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dummy(&has_bits); + _impl_.dummy_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RequestState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RequestState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dummy = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), 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:CCSUsrMsg_RequestState) + return target; +} + +size_t CCSUsrMsg_RequestState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RequestState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 dummy = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RequestState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RequestState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RequestState::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RequestState::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:CCSUsrMsg_RequestState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_dummy()) { + _this->_internal_set_dummy(from._internal_dummy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RequestState::CopyFrom(const CCSUsrMsg_RequestState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RequestState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RequestState::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RequestState::InternalSwap(CCSUsrMsg_RequestState* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.dummy_, other->_impl_.dummy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RequestState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[78]); +} + +// =================================================================== + +class CCSUsrMsg_StopSpectatorMode::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dummy(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode(::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:CCSUsrMsg_StopSpectatorMode) +} +CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode(const CCSUsrMsg_StopSpectatorMode& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_StopSpectatorMode* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dummy_ = from._impl_.dummy_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_StopSpectatorMode) +} + +inline void CCSUsrMsg_StopSpectatorMode::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){0} + }; +} + +CCSUsrMsg_StopSpectatorMode::~CCSUsrMsg_StopSpectatorMode() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_StopSpectatorMode) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_StopSpectatorMode::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_StopSpectatorMode::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_StopSpectatorMode::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_StopSpectatorMode) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dummy_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_StopSpectatorMode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dummy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dummy(&has_bits); + _impl_.dummy_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_StopSpectatorMode::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_StopSpectatorMode) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dummy = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), 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:CCSUsrMsg_StopSpectatorMode) + return target; +} + +size_t CCSUsrMsg_StopSpectatorMode::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_StopSpectatorMode) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 dummy = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_StopSpectatorMode::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_StopSpectatorMode::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_StopSpectatorMode::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_StopSpectatorMode::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:CCSUsrMsg_StopSpectatorMode) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_dummy()) { + _this->_internal_set_dummy(from._internal_dummy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_StopSpectatorMode::CopyFrom(const CCSUsrMsg_StopSpectatorMode& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_StopSpectatorMode) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_StopSpectatorMode::IsInitialized() const { + return true; +} + +void CCSUsrMsg_StopSpectatorMode::InternalSwap(CCSUsrMsg_StopSpectatorMode* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.dummy_, other->_impl_.dummy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_StopSpectatorMode::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[79]); +} + +// =================================================================== + +class CCSUsrMsg_DisconnectToLobby::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dummy(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby(::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:CCSUsrMsg_DisconnectToLobby) +} +CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby(const CCSUsrMsg_DisconnectToLobby& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_DisconnectToLobby* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dummy_ = from._impl_.dummy_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DisconnectToLobby) +} + +inline void CCSUsrMsg_DisconnectToLobby::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){0} + }; +} + +CCSUsrMsg_DisconnectToLobby::~CCSUsrMsg_DisconnectToLobby() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_DisconnectToLobby) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_DisconnectToLobby::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_DisconnectToLobby::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_DisconnectToLobby::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DisconnectToLobby) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dummy_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_DisconnectToLobby::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dummy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dummy(&has_bits); + _impl_.dummy_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_DisconnectToLobby::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DisconnectToLobby) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dummy = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), 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:CCSUsrMsg_DisconnectToLobby) + return target; +} + +size_t CCSUsrMsg_DisconnectToLobby::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DisconnectToLobby) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 dummy = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DisconnectToLobby::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_DisconnectToLobby::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DisconnectToLobby::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_DisconnectToLobby::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:CCSUsrMsg_DisconnectToLobby) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_dummy()) { + _this->_internal_set_dummy(from._internal_dummy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_DisconnectToLobby::CopyFrom(const CCSUsrMsg_DisconnectToLobby& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DisconnectToLobby) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_DisconnectToLobby::IsInitialized() const { + return true; +} + +void CCSUsrMsg_DisconnectToLobby::InternalSwap(CCSUsrMsg_DisconnectToLobby* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.dummy_, other->_impl_.dummy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DisconnectToLobby::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[80]); +} + +// =================================================================== + +class CCSUsrMsg_ClientInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dummy(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo(::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:CCSUsrMsg_ClientInfo) +} +CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo(const CCSUsrMsg_ClientInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ClientInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dummy_ = from._impl_.dummy_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ClientInfo) +} + +inline void CCSUsrMsg_ClientInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dummy_){0} + }; +} + +CCSUsrMsg_ClientInfo::~CCSUsrMsg_ClientInfo() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ClientInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ClientInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_ClientInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ClientInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ClientInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dummy_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ClientInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dummy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dummy(&has_bits); + _impl_.dummy_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ClientInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ClientInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dummy = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), 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:CCSUsrMsg_ClientInfo) + return target; +} + +size_t CCSUsrMsg_ClientInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ClientInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 dummy = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ClientInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ClientInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ClientInfo::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ClientInfo::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:CCSUsrMsg_ClientInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_dummy()) { + _this->_internal_set_dummy(from._internal_dummy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ClientInfo::CopyFrom(const CCSUsrMsg_ClientInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ClientInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ClientInfo::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ClientInfo::InternalSwap(CCSUsrMsg_ClientInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.dummy_, other->_impl_.dummy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ClientInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[81]); +} + +// =================================================================== + +class CCSUsrMsg_ServerRankRevealAll::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_seconds_till_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CCSUsrMsg_ServerRankRevealAll* msg); + static void set_has_reservation(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& +CCSUsrMsg_ServerRankRevealAll::_Internal::reservation(const CCSUsrMsg_ServerRankRevealAll* msg) { + return *msg->_impl_.reservation_; +} +void CCSUsrMsg_ServerRankRevealAll::clear_reservation() { + if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll(::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:CCSUsrMsg_ServerRankRevealAll) +} +CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll(const CCSUsrMsg_ServerRankRevealAll& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_ServerRankRevealAll* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.seconds_till_shutdown_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_reservation()) { + _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); + } + _this->_impl_.seconds_till_shutdown_ = from._impl_.seconds_till_shutdown_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankRevealAll) +} + +inline void CCSUsrMsg_ServerRankRevealAll::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reservation_){nullptr} + , decltype(_impl_.seconds_till_shutdown_){0} + }; +} + +CCSUsrMsg_ServerRankRevealAll::~CCSUsrMsg_ServerRankRevealAll() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankRevealAll) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_ServerRankRevealAll::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.reservation_; +} + +void CCSUsrMsg_ServerRankRevealAll::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_ServerRankRevealAll::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankRevealAll) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.reservation_ != nullptr); + _impl_.reservation_->Clear(); + } + _impl_.seconds_till_shutdown_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_ServerRankRevealAll::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 seconds_till_shutdown = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_seconds_till_shutdown(&has_bits); + _impl_.seconds_till_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_reservation(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_ServerRankRevealAll::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankRevealAll) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 seconds_till_shutdown = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_seconds_till_shutdown(), target); + } + + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::reservation(this), + _Internal::reservation(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:CCSUsrMsg_ServerRankRevealAll) + return target; +} + +size_t CCSUsrMsg_ServerRankRevealAll::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankRevealAll) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.reservation_); + } + + // optional int32 seconds_till_shutdown = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_seconds_till_shutdown()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankRevealAll::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_ServerRankRevealAll::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankRevealAll::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_ServerRankRevealAll::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:CCSUsrMsg_ServerRankRevealAll) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( + from._internal_reservation()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.seconds_till_shutdown_ = from._impl_.seconds_till_shutdown_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_ServerRankRevealAll::CopyFrom(const CCSUsrMsg_ServerRankRevealAll& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankRevealAll) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_ServerRankRevealAll::IsInitialized() const { + return true; +} + +void CCSUsrMsg_ServerRankRevealAll::InternalSwap(CCSUsrMsg_ServerRankRevealAll* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _impl_.seconds_till_shutdown_) + + sizeof(CCSUsrMsg_ServerRankRevealAll::_impl_.seconds_till_shutdown_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _impl_.reservation_)>( + reinterpret_cast(&_impl_.reservation_), + reinterpret_cast(&other->_impl_.reservation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankRevealAll::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[82]); +} + +// =================================================================== + +class CCSUsrMsgPreMatchSayText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_all_chat(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText(::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:CCSUsrMsgPreMatchSayText) +} +CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText(const CCSUsrMsgPreMatchSayText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsgPreMatchSayText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.all_chat_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.all_chat_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.all_chat_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsgPreMatchSayText) +} + +inline void CCSUsrMsgPreMatchSayText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.all_chat_){false} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsgPreMatchSayText::~CCSUsrMsgPreMatchSayText() { + // @@protoc_insertion_point(destructor:CCSUsrMsgPreMatchSayText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsgPreMatchSayText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CCSUsrMsgPreMatchSayText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsgPreMatchSayText::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsgPreMatchSayText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.all_chat_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.all_chat_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsgPreMatchSayText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCSUsrMsgPreMatchSayText.text"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool all_chat = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_all_chat(&has_bits); + _impl_.all_chat_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsgPreMatchSayText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsgPreMatchSayText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCSUsrMsgPreMatchSayText.text"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_text(), target); + } + + // optional bool all_chat = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_all_chat(), 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:CCSUsrMsgPreMatchSayText) + return target; +} + +size_t CCSUsrMsgPreMatchSayText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsgPreMatchSayText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional bool all_chat = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsgPreMatchSayText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsgPreMatchSayText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsgPreMatchSayText::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsgPreMatchSayText::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:CCSUsrMsgPreMatchSayText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.all_chat_ = from._impl_.all_chat_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsgPreMatchSayText::CopyFrom(const CCSUsrMsgPreMatchSayText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsgPreMatchSayText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsgPreMatchSayText::IsInitialized() const { + return true; +} + +void CCSUsrMsgPreMatchSayText::InternalSwap(CCSUsrMsgPreMatchSayText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsgPreMatchSayText, _impl_.all_chat_) + + sizeof(CCSUsrMsgPreMatchSayText::_impl_.all_chat_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsgPreMatchSayText, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsgPreMatchSayText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[83]); +} + +// =================================================================== + +class CCSUsrMsg_CounterStrafe::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_press_to_release_ns(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_total_keys_down(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe(::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:CCSUsrMsg_CounterStrafe) +} +CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe(const CCSUsrMsg_CounterStrafe& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_CounterStrafe* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.press_to_release_ns_){} + , decltype(_impl_.total_keys_down_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.press_to_release_ns_, &from._impl_.press_to_release_ns_, + static_cast(reinterpret_cast(&_impl_.total_keys_down_) - + reinterpret_cast(&_impl_.press_to_release_ns_)) + sizeof(_impl_.total_keys_down_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CounterStrafe) +} + +inline void CCSUsrMsg_CounterStrafe::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.press_to_release_ns_){0} + , decltype(_impl_.total_keys_down_){0} + }; +} + +CCSUsrMsg_CounterStrafe::~CCSUsrMsg_CounterStrafe() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_CounterStrafe) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_CounterStrafe::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCSUsrMsg_CounterStrafe::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_CounterStrafe::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CounterStrafe) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.press_to_release_ns_, 0, static_cast( + reinterpret_cast(&_impl_.total_keys_down_) - + reinterpret_cast(&_impl_.press_to_release_ns_)) + sizeof(_impl_.total_keys_down_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_CounterStrafe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 press_to_release_ns = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_press_to_release_ns(&has_bits); + _impl_.press_to_release_ns_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 total_keys_down = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_total_keys_down(&has_bits); + _impl_.total_keys_down_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_CounterStrafe::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CounterStrafe) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 press_to_release_ns = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_press_to_release_ns(), target); + } + + // optional int32 total_keys_down = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_total_keys_down(), 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:CCSUsrMsg_CounterStrafe) + return target; +} + +size_t CCSUsrMsg_CounterStrafe::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CounterStrafe) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 press_to_release_ns = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_press_to_release_ns()); + } + + // optional int32 total_keys_down = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_keys_down()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CounterStrafe::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_CounterStrafe::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CounterStrafe::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_CounterStrafe::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:CCSUsrMsg_CounterStrafe) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.press_to_release_ns_ = from._impl_.press_to_release_ns_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.total_keys_down_ = from._impl_.total_keys_down_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_CounterStrafe::CopyFrom(const CCSUsrMsg_CounterStrafe& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CounterStrafe) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_CounterStrafe::IsInitialized() const { + return true; +} + +void CCSUsrMsg_CounterStrafe::InternalSwap(CCSUsrMsg_CounterStrafe* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CounterStrafe, _impl_.total_keys_down_) + + sizeof(CCSUsrMsg_CounterStrafe::_impl_.total_keys_down_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CounterStrafe, _impl_.press_to_release_ns_)>( + reinterpret_cast(&_impl_.press_to_release_ns_), + reinterpret_cast(&other->_impl_.press_to_release_ns_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CounterStrafe::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[84]); +} + +// =================================================================== + +class CCSUsrMsg_DamagePrediction::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command_num(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_pellet_idx(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_victim_slot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_victim_starting_health(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_victim_damage(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgVector& shoot_pos(const CCSUsrMsg_DamagePrediction* msg); + static void set_has_shoot_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& shoot_dir(const CCSUsrMsg_DamagePrediction* msg); + static void set_has_shoot_dir(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& aim_punch(const CCSUsrMsg_DamagePrediction* msg); + static void set_has_aim_punch(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CCSUsrMsg_DamagePrediction::_Internal::shoot_pos(const CCSUsrMsg_DamagePrediction* msg) { + return *msg->_impl_.shoot_pos_; +} +const ::CMsgQAngle& +CCSUsrMsg_DamagePrediction::_Internal::shoot_dir(const CCSUsrMsg_DamagePrediction* msg) { + return *msg->_impl_.shoot_dir_; +} +const ::CMsgQAngle& +CCSUsrMsg_DamagePrediction::_Internal::aim_punch(const CCSUsrMsg_DamagePrediction* msg) { + return *msg->_impl_.aim_punch_; +} +void CCSUsrMsg_DamagePrediction::clear_shoot_pos() { + if (_impl_.shoot_pos_ != nullptr) _impl_.shoot_pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CCSUsrMsg_DamagePrediction::clear_shoot_dir() { + if (_impl_.shoot_dir_ != nullptr) _impl_.shoot_dir_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CCSUsrMsg_DamagePrediction::clear_aim_punch() { + if (_impl_.aim_punch_ != nullptr) _impl_.aim_punch_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction(::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:CCSUsrMsg_DamagePrediction) +} +CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction(const CCSUsrMsg_DamagePrediction& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_DamagePrediction* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.shoot_pos_){nullptr} + , decltype(_impl_.shoot_dir_){nullptr} + , decltype(_impl_.aim_punch_){nullptr} + , decltype(_impl_.command_num_){} + , decltype(_impl_.pellet_idx_){} + , decltype(_impl_.victim_slot_){} + , decltype(_impl_.victim_starting_health_){} + , decltype(_impl_.victim_damage_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_shoot_pos()) { + _this->_impl_.shoot_pos_ = new ::CMsgVector(*from._impl_.shoot_pos_); + } + if (from._internal_has_shoot_dir()) { + _this->_impl_.shoot_dir_ = new ::CMsgQAngle(*from._impl_.shoot_dir_); + } + if (from._internal_has_aim_punch()) { + _this->_impl_.aim_punch_ = new ::CMsgQAngle(*from._impl_.aim_punch_); + } + ::memcpy(&_impl_.command_num_, &from._impl_.command_num_, + static_cast(reinterpret_cast(&_impl_.victim_damage_) - + reinterpret_cast(&_impl_.command_num_)) + sizeof(_impl_.victim_damage_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DamagePrediction) +} + +inline void CCSUsrMsg_DamagePrediction::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.shoot_pos_){nullptr} + , decltype(_impl_.shoot_dir_){nullptr} + , decltype(_impl_.aim_punch_){nullptr} + , decltype(_impl_.command_num_){0} + , decltype(_impl_.pellet_idx_){0} + , decltype(_impl_.victim_slot_){0} + , decltype(_impl_.victim_starting_health_){0} + , decltype(_impl_.victim_damage_){0} + }; +} + +CCSUsrMsg_DamagePrediction::~CCSUsrMsg_DamagePrediction() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_DamagePrediction) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_DamagePrediction::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.shoot_pos_; + if (this != internal_default_instance()) delete _impl_.shoot_dir_; + if (this != internal_default_instance()) delete _impl_.aim_punch_; +} + +void CCSUsrMsg_DamagePrediction::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_DamagePrediction::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DamagePrediction) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.shoot_pos_ != nullptr); + _impl_.shoot_pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.shoot_dir_ != nullptr); + _impl_.shoot_dir_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.aim_punch_ != nullptr); + _impl_.aim_punch_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.command_num_, 0, static_cast( + reinterpret_cast(&_impl_.victim_damage_) - + reinterpret_cast(&_impl_.command_num_)) + sizeof(_impl_.victim_damage_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_DamagePrediction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 command_num = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_command_num(&has_bits); + _impl_.command_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 pellet_idx = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_pellet_idx(&has_bits); + _impl_.pellet_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 victim_slot = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_victim_slot(&has_bits); + _impl_.victim_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 victim_starting_health = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_victim_starting_health(&has_bits); + _impl_.victim_starting_health_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 victim_damage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_victim_damage(&has_bits); + _impl_.victim_damage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector shoot_pos = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_shoot_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle shoot_dir = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_shoot_dir(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle aim_punch = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_aim_punch(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_DamagePrediction::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DamagePrediction) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 command_num = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_command_num(), target); + } + + // optional int32 pellet_idx = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pellet_idx(), target); + } + + // optional int32 victim_slot = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_victim_slot(), target); + } + + // optional int32 victim_starting_health = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_victim_starting_health(), target); + } + + // optional int32 victim_damage = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_victim_damage(), target); + } + + // optional .CMsgVector shoot_pos = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::shoot_pos(this), + _Internal::shoot_pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle shoot_dir = 7; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::shoot_dir(this), + _Internal::shoot_dir(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle aim_punch = 8; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::aim_punch(this), + _Internal::aim_punch(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:CCSUsrMsg_DamagePrediction) + return target; +} + +size_t CCSUsrMsg_DamagePrediction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DamagePrediction) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector shoot_pos = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shoot_pos_); + } + + // optional .CMsgQAngle shoot_dir = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shoot_dir_); + } + + // optional .CMsgQAngle aim_punch = 8; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.aim_punch_); + } + + // optional int32 command_num = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_command_num()); + } + + // optional int32 pellet_idx = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pellet_idx()); + } + + // optional int32 victim_slot = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_slot()); + } + + // optional int32 victim_starting_health = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_starting_health()); + } + + // optional int32 victim_damage = 5; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_damage()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DamagePrediction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_DamagePrediction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DamagePrediction::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_DamagePrediction::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:CCSUsrMsg_DamagePrediction) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_shoot_pos()->::CMsgVector::MergeFrom( + from._internal_shoot_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_shoot_dir()->::CMsgQAngle::MergeFrom( + from._internal_shoot_dir()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_aim_punch()->::CMsgQAngle::MergeFrom( + from._internal_aim_punch()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.command_num_ = from._impl_.command_num_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.pellet_idx_ = from._impl_.pellet_idx_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.victim_slot_ = from._impl_.victim_slot_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.victim_starting_health_ = from._impl_.victim_starting_health_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.victim_damage_ = from._impl_.victim_damage_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_DamagePrediction::CopyFrom(const CCSUsrMsg_DamagePrediction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DamagePrediction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_DamagePrediction::IsInitialized() const { + return true; +} + +void CCSUsrMsg_DamagePrediction::InternalSwap(CCSUsrMsg_DamagePrediction* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DamagePrediction, _impl_.victim_damage_) + + sizeof(CCSUsrMsg_DamagePrediction::_impl_.victim_damage_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DamagePrediction, _impl_.shoot_pos_)>( + reinterpret_cast(&_impl_.shoot_pos_), + reinterpret_cast(&other->_impl_.shoot_pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DamagePrediction::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[85]); +} + +// =================================================================== + +class CCSUsrMsg_RecurringMissionSchema::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_period(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_mission_schema(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema(::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:CCSUsrMsg_RecurringMissionSchema) +} +CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema(const CCSUsrMsg_RecurringMissionSchema& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_RecurringMissionSchema* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mission_schema_){} + , decltype(_impl_.period_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mission_schema_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mission_schema_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_mission_schema()) { + _this->_impl_.mission_schema_.Set(from._internal_mission_schema(), + _this->GetArenaForAllocation()); + } + _this->_impl_.period_ = from._impl_.period_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RecurringMissionSchema) +} + +inline void CCSUsrMsg_RecurringMissionSchema::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mission_schema_){} + , decltype(_impl_.period_){0u} + }; + _impl_.mission_schema_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mission_schema_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCSUsrMsg_RecurringMissionSchema::~CCSUsrMsg_RecurringMissionSchema() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_RecurringMissionSchema) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_RecurringMissionSchema::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mission_schema_.Destroy(); +} + +void CCSUsrMsg_RecurringMissionSchema::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_RecurringMissionSchema::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RecurringMissionSchema) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.mission_schema_.ClearNonDefaultToEmpty(); + } + _impl_.period_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_RecurringMissionSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 period = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_period(&has_bits); + _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes mission_schema = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_mission_schema(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_RecurringMissionSchema::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RecurringMissionSchema) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 period = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_period(), target); + } + + // optional bytes mission_schema = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_mission_schema(), 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:CCSUsrMsg_RecurringMissionSchema) + return target; +} + +size_t CCSUsrMsg_RecurringMissionSchema::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RecurringMissionSchema) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes mission_schema = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_mission_schema()); + } + + // optional uint32 period = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RecurringMissionSchema::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_RecurringMissionSchema::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RecurringMissionSchema::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_RecurringMissionSchema::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:CCSUsrMsg_RecurringMissionSchema) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_mission_schema(from._internal_mission_schema()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.period_ = from._impl_.period_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_RecurringMissionSchema::CopyFrom(const CCSUsrMsg_RecurringMissionSchema& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RecurringMissionSchema) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_RecurringMissionSchema::IsInitialized() const { + return true; +} + +void CCSUsrMsg_RecurringMissionSchema::InternalSwap(CCSUsrMsg_RecurringMissionSchema* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.mission_schema_, lhs_arena, + &other->_impl_.mission_schema_, rhs_arena + ); + swap(_impl_.period_, other->_impl_.period_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RecurringMissionSchema::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[86]); +} + +// =================================================================== + +class CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEconItemPreviewDataBlock& econ_item(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* msg); + static void set_has_econ_item(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CEconItemPreviewDataBlock& +CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_Internal::econ_item(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* msg) { + return *msg->_impl_.econ_item_; +} +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_econ_item() { + if (_impl_.econ_item_ != nullptr) _impl_.econ_item_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::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:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) +} +CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendPlayerLoadout_LoadoutItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.econ_item_){nullptr} + , decltype(_impl_.team_){} + , decltype(_impl_.slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_econ_item()) { + _this->_impl_.econ_item_ = new ::CEconItemPreviewDataBlock(*from._impl_.econ_item_); + } + ::memcpy(&_impl_.team_, &from._impl_.team_, + static_cast(reinterpret_cast(&_impl_.slot_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.slot_)); + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) +} + +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.econ_item_){nullptr} + , decltype(_impl_.team_){0} + , decltype(_impl_.slot_){0} + }; +} + +CCSUsrMsg_SendPlayerLoadout_LoadoutItem::~CCSUsrMsg_SendPlayerLoadout_LoadoutItem() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.econ_item_; +} + +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.econ_item_ != nullptr); + _impl_.econ_item_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.team_, 0, static_cast( + reinterpret_cast(&_impl_.slot_) - + reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.slot_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEconItemPreviewDataBlock econ_item = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_econ_item(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_team(&has_bits); + _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 slot = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEconItemPreviewDataBlock econ_item = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::econ_item(this), + _Internal::econ_item(this).GetCachedSize(), target, stream); + } + + // optional int32 team = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team(), target); + } + + // optional int32 slot = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_slot(), 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:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + return target; +} + +size_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CEconItemPreviewDataBlock econ_item = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.econ_item_); + } + + // optional int32 team = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); + } + + // optional int32 slot = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendPlayerLoadout_LoadoutItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerLoadout_LoadoutItem::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::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:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_econ_item()->::CEconItemPreviewDataBlock::MergeFrom( + from._internal_econ_item()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.team_ = from._impl_.team_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.slot_ = from._impl_.slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CopyFrom(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::InternalSwap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.slot_) + + sizeof(CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_impl_.slot_) + - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.econ_item_)>( + reinterpret_cast(&_impl_.econ_item_), + reinterpret_cast(&other->_impl_.econ_item_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerLoadout_LoadoutItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[87]); +} + +// =================================================================== + +class CCSUsrMsg_SendPlayerLoadout::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_playerslot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout(::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:CCSUsrMsg_SendPlayerLoadout) +} +CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout(const CCSUsrMsg_SendPlayerLoadout& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCSUsrMsg_SendPlayerLoadout* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.loadout_){from._impl_.loadout_} + , decltype(_impl_.playerslot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.playerslot_ = from._impl_.playerslot_; + // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerLoadout) +} + +inline void CCSUsrMsg_SendPlayerLoadout::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.loadout_){arena} + , decltype(_impl_.playerslot_){-1} + }; +} + +CCSUsrMsg_SendPlayerLoadout::~CCSUsrMsg_SendPlayerLoadout() { + // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerLoadout) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCSUsrMsg_SendPlayerLoadout::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.loadout_.~RepeatedPtrField(); +} + +void CCSUsrMsg_SendPlayerLoadout::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCSUsrMsg_SendPlayerLoadout::Clear() { +// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerLoadout) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.loadout_.Clear(); + _impl_.playerslot_ = -1; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCSUsrMsg_SendPlayerLoadout::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_loadout(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 playerslot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_playerslot(&has_bits); + _impl_.playerslot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCSUsrMsg_SendPlayerLoadout::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerLoadout) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_loadout_size()); i < n; i++) { + const auto& repfield = this->_internal_loadout(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 playerslot = 2 [default = -1]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), 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:CCSUsrMsg_SendPlayerLoadout) + return target; +} + +size_t CCSUsrMsg_SendPlayerLoadout::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerLoadout) + 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 .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; + total_size += 1UL * this->_internal_loadout_size(); + for (const auto& msg : this->_impl_.loadout_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional int32 playerslot = 2 [default = -1]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerLoadout::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCSUsrMsg_SendPlayerLoadout::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerLoadout::GetClassData() const { return &_class_data_; } + + +void CCSUsrMsg_SendPlayerLoadout::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:CCSUsrMsg_SendPlayerLoadout) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.loadout_.MergeFrom(from._impl_.loadout_); + if (from._internal_has_playerslot()) { + _this->_internal_set_playerslot(from._internal_playerslot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCSUsrMsg_SendPlayerLoadout::CopyFrom(const CCSUsrMsg_SendPlayerLoadout& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerLoadout) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCSUsrMsg_SendPlayerLoadout::IsInitialized() const { + return true; +} + +void CCSUsrMsg_SendPlayerLoadout::InternalSwap(CCSUsrMsg_SendPlayerLoadout* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.loadout_.InternalSwap(&other->_impl_.loadout_); + swap(_impl_.playerslot_, other->_impl_.playerslot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerLoadout::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, + file_level_metadata_cstrike15_5fusermessages_2eproto[88]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VGUIMenu_Keys* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VGUIMenu_Keys >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VGUIMenu_Keys >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VGUIMenu* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VGUIMenu >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VGUIMenu >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Geiger* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Geiger >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Geiger >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Train* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Train >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Train >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HudText* +Arena::CreateMaybeMessage< ::CCSUsrMsg_HudText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_HudText >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HudMsg* +Arena::CreateMaybeMessage< ::CCSUsrMsg_HudMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_HudMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Shake* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Shake >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Shake >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Fade* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Fade >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Fade >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Rumble* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Rumble >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Rumble >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CloseCaption* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CloseCaption >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CloseCaption >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CloseCaptionDirect* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CloseCaptionDirect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CloseCaptionDirect >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendAudio* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendAudio >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendAudio >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RawAudio* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RawAudio >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RawAudio >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoiceMask_PlayerMask* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VoiceMask_PlayerMask >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VoiceMask_PlayerMask >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoiceMask* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VoiceMask >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VoiceMask >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Damage* +Arena::CreateMaybeMessage< ::CCSUsrMsg_Damage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_Damage >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RadioText* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RadioText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RadioText >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HintText* +Arena::CreateMaybeMessage< ::CCSUsrMsg_HintText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_HintText >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_KeyHintText* +Arena::CreateMaybeMessage< ::CCSUsrMsg_KeyHintText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_KeyHintText >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ProcessSpottedEntityUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ProcessSpottedEntityUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ProcessSpottedEntityUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerItemDrops* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerItemDrops >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerItemDrops >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerItemFound* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerItemFound >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerItemFound >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ReloadEffect* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ReloadEffect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ReloadEffect >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_WeaponSound* +Arena::CreateMaybeMessage< ::CCSUsrMsg_WeaponSound >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_WeaponSound >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_UpdateScreenHealthBar* +Arena::CreateMaybeMessage< ::CCSUsrMsg_UpdateScreenHealthBar >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_UpdateScreenHealthBar >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EntityOutlineHighlight* +Arena::CreateMaybeMessage< ::CCSUsrMsg_EntityOutlineHighlight >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_EntityOutlineHighlight >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AdjustMoney* +Arena::CreateMaybeMessage< ::CCSUsrMsg_AdjustMoney >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_AdjustMoney >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ReportHit* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ReportHit >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ReportHit >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_KillCam* +Arena::CreateMaybeMessage< ::CCSUsrMsg_KillCam >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_KillCam >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DesiredTimescale* +Arena::CreateMaybeMessage< ::CCSUsrMsg_DesiredTimescale >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_DesiredTimescale >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CurrentTimescale* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CurrentTimescale >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CurrentTimescale >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AchievementEvent* +Arena::CreateMaybeMessage< ::CCSUsrMsg_AchievementEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_AchievementEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MatchEndConditions* +Arena::CreateMaybeMessage< ::CCSUsrMsg_MatchEndConditions >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_MatchEndConditions >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerStatsUpdate_Stat* +Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerStatsUpdate_Stat >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerStatsUpdate_Stat >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerStatsUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerStatsUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerStatsUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_QuestProgress* +Arena::CreateMaybeMessage< ::CCSUsrMsg_QuestProgress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_QuestProgress >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ScoreLeaderboardData* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ScoreLeaderboardData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ScoreLeaderboardData >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerDecalDigitalSignature* +Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerDecalDigitalSignature >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerDecalDigitalSignature >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XRankGet* +Arena::CreateMaybeMessage< ::CCSUsrMsg_XRankGet >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_XRankGet >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XRankUpd* +Arena::CreateMaybeMessage< ::CCSUsrMsg_XRankUpd >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_XRankUpd >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CallVoteFailed* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CallVoteFailed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CallVoteFailed >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteStart* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteStart >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteStart >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VotePass* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VotePass >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VotePass >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteFailed* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteFailed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteFailed >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteSetup* +Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteSetup >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteSetup >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendLastKillerDamageToClient* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendLastKillerDamageToClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendLastKillerDamageToClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankUpdate_RankUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XpUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_XpUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_XpUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ItemPickup* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ItemPickup >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ItemPickup >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ShowMenu* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ShowMenu >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ShowMenu >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_BarTime* +Arena::CreateMaybeMessage< ::CCSUsrMsg_BarTime >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_BarTime >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AmmoDenied* +Arena::CreateMaybeMessage< ::CCSUsrMsg_AmmoDenied >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_AmmoDenied >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MarkAchievement* +Arena::CreateMaybeMessage< ::CCSUsrMsg_MarkAchievement >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_MarkAchievement >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MatchStatsUpdate* +Arena::CreateMaybeMessage< ::CCSUsrMsg_MatchStatsUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_MatchStatsUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ItemDrop* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ItemDrop >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ItemDrop >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundBackupFilenames* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundBackupFilenames >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundBackupFilenames >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SSUI* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SSUI >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SSUI >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Fact* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Fact >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Fact >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Placement* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Placement >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Placement >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Damage* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Damage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Damage >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* +Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* +Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData* +Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_InitialConditions* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_InitialConditions >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_InitialConditions >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PostRoundDamageReport* +Arena::CreateMaybeMessage< ::CCSUsrMsg_PostRoundDamageReport >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_PostRoundDamageReport >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CurrentRoundOdds* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CurrentRoundOdds >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CurrentRoundOdds >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DeepStats* +Arena::CreateMaybeMessage< ::CCSUsrMsg_DeepStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_DeepStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ShootInfo* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ShootInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ShootInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ResetHud* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ResetHud >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ResetHud >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_GameTitle* +Arena::CreateMaybeMessage< ::CCSUsrMsg_GameTitle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_GameTitle >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RequestState* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RequestState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RequestState >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_StopSpectatorMode* +Arena::CreateMaybeMessage< ::CCSUsrMsg_StopSpectatorMode >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_StopSpectatorMode >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DisconnectToLobby* +Arena::CreateMaybeMessage< ::CCSUsrMsg_DisconnectToLobby >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_DisconnectToLobby >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ClientInfo* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ClientInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ClientInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankRevealAll* +Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankRevealAll >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankRevealAll >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsgPreMatchSayText* +Arena::CreateMaybeMessage< ::CCSUsrMsgPreMatchSayText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsgPreMatchSayText >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CounterStrafe* +Arena::CreateMaybeMessage< ::CCSUsrMsg_CounterStrafe >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_CounterStrafe >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DamagePrediction* +Arena::CreateMaybeMessage< ::CCSUsrMsg_DamagePrediction >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_DamagePrediction >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RecurringMissionSchema* +Arena::CreateMaybeMessage< ::CCSUsrMsg_RecurringMissionSchema >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_RecurringMissionSchema >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerLoadout* +Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerLoadout >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerLoadout >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.h new file mode 100644 index 0000000..f2149d7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/cstrike15_usermessages.pb.h @@ -0,0 +1,28448 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cstrike15_usermessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +#include "cstrike15_gcmessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_cstrike15_5fusermessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_cstrike15_5fusermessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cstrike15_5fusermessages_2eproto; +class CCSUsrMsgPreMatchSayText; +struct CCSUsrMsgPreMatchSayTextDefaultTypeInternal; +extern CCSUsrMsgPreMatchSayTextDefaultTypeInternal _CCSUsrMsgPreMatchSayText_default_instance_; +class CCSUsrMsg_AchievementEvent; +struct CCSUsrMsg_AchievementEventDefaultTypeInternal; +extern CCSUsrMsg_AchievementEventDefaultTypeInternal _CCSUsrMsg_AchievementEvent_default_instance_; +class CCSUsrMsg_AdjustMoney; +struct CCSUsrMsg_AdjustMoneyDefaultTypeInternal; +extern CCSUsrMsg_AdjustMoneyDefaultTypeInternal _CCSUsrMsg_AdjustMoney_default_instance_; +class CCSUsrMsg_AmmoDenied; +struct CCSUsrMsg_AmmoDeniedDefaultTypeInternal; +extern CCSUsrMsg_AmmoDeniedDefaultTypeInternal _CCSUsrMsg_AmmoDenied_default_instance_; +class CCSUsrMsg_BarTime; +struct CCSUsrMsg_BarTimeDefaultTypeInternal; +extern CCSUsrMsg_BarTimeDefaultTypeInternal _CCSUsrMsg_BarTime_default_instance_; +class CCSUsrMsg_CallVoteFailed; +struct CCSUsrMsg_CallVoteFailedDefaultTypeInternal; +extern CCSUsrMsg_CallVoteFailedDefaultTypeInternal _CCSUsrMsg_CallVoteFailed_default_instance_; +class CCSUsrMsg_ClientInfo; +struct CCSUsrMsg_ClientInfoDefaultTypeInternal; +extern CCSUsrMsg_ClientInfoDefaultTypeInternal _CCSUsrMsg_ClientInfo_default_instance_; +class CCSUsrMsg_CloseCaption; +struct CCSUsrMsg_CloseCaptionDefaultTypeInternal; +extern CCSUsrMsg_CloseCaptionDefaultTypeInternal _CCSUsrMsg_CloseCaption_default_instance_; +class CCSUsrMsg_CloseCaptionDirect; +struct CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal; +extern CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal _CCSUsrMsg_CloseCaptionDirect_default_instance_; +class CCSUsrMsg_CounterStrafe; +struct CCSUsrMsg_CounterStrafeDefaultTypeInternal; +extern CCSUsrMsg_CounterStrafeDefaultTypeInternal _CCSUsrMsg_CounterStrafe_default_instance_; +class CCSUsrMsg_CurrentRoundOdds; +struct CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal; +extern CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal _CCSUsrMsg_CurrentRoundOdds_default_instance_; +class CCSUsrMsg_CurrentTimescale; +struct CCSUsrMsg_CurrentTimescaleDefaultTypeInternal; +extern CCSUsrMsg_CurrentTimescaleDefaultTypeInternal _CCSUsrMsg_CurrentTimescale_default_instance_; +class CCSUsrMsg_Damage; +struct CCSUsrMsg_DamageDefaultTypeInternal; +extern CCSUsrMsg_DamageDefaultTypeInternal _CCSUsrMsg_Damage_default_instance_; +class CCSUsrMsg_DamagePrediction; +struct CCSUsrMsg_DamagePredictionDefaultTypeInternal; +extern CCSUsrMsg_DamagePredictionDefaultTypeInternal _CCSUsrMsg_DamagePrediction_default_instance_; +class CCSUsrMsg_DeepStats; +struct CCSUsrMsg_DeepStatsDefaultTypeInternal; +extern CCSUsrMsg_DeepStatsDefaultTypeInternal _CCSUsrMsg_DeepStats_default_instance_; +class CCSUsrMsg_DesiredTimescale; +struct CCSUsrMsg_DesiredTimescaleDefaultTypeInternal; +extern CCSUsrMsg_DesiredTimescaleDefaultTypeInternal _CCSUsrMsg_DesiredTimescale_default_instance_; +class CCSUsrMsg_DisconnectToLobby; +struct CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal; +extern CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal _CCSUsrMsg_DisconnectToLobby_default_instance_; +class CCSUsrMsg_EndOfMatchAllPlayersData; +struct CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal; +extern CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_; +class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade; +struct CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal; +extern CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_; +class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData; +struct CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal; +extern CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_; +class CCSUsrMsg_EntityOutlineHighlight; +struct CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal; +extern CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal _CCSUsrMsg_EntityOutlineHighlight_default_instance_; +class CCSUsrMsg_Fade; +struct CCSUsrMsg_FadeDefaultTypeInternal; +extern CCSUsrMsg_FadeDefaultTypeInternal _CCSUsrMsg_Fade_default_instance_; +class CCSUsrMsg_GameTitle; +struct CCSUsrMsg_GameTitleDefaultTypeInternal; +extern CCSUsrMsg_GameTitleDefaultTypeInternal _CCSUsrMsg_GameTitle_default_instance_; +class CCSUsrMsg_Geiger; +struct CCSUsrMsg_GeigerDefaultTypeInternal; +extern CCSUsrMsg_GeigerDefaultTypeInternal _CCSUsrMsg_Geiger_default_instance_; +class CCSUsrMsg_HintText; +struct CCSUsrMsg_HintTextDefaultTypeInternal; +extern CCSUsrMsg_HintTextDefaultTypeInternal _CCSUsrMsg_HintText_default_instance_; +class CCSUsrMsg_HudMsg; +struct CCSUsrMsg_HudMsgDefaultTypeInternal; +extern CCSUsrMsg_HudMsgDefaultTypeInternal _CCSUsrMsg_HudMsg_default_instance_; +class CCSUsrMsg_HudText; +struct CCSUsrMsg_HudTextDefaultTypeInternal; +extern CCSUsrMsg_HudTextDefaultTypeInternal _CCSUsrMsg_HudText_default_instance_; +class CCSUsrMsg_ItemDrop; +struct CCSUsrMsg_ItemDropDefaultTypeInternal; +extern CCSUsrMsg_ItemDropDefaultTypeInternal _CCSUsrMsg_ItemDrop_default_instance_; +class CCSUsrMsg_ItemPickup; +struct CCSUsrMsg_ItemPickupDefaultTypeInternal; +extern CCSUsrMsg_ItemPickupDefaultTypeInternal _CCSUsrMsg_ItemPickup_default_instance_; +class CCSUsrMsg_KeyHintText; +struct CCSUsrMsg_KeyHintTextDefaultTypeInternal; +extern CCSUsrMsg_KeyHintTextDefaultTypeInternal _CCSUsrMsg_KeyHintText_default_instance_; +class CCSUsrMsg_KillCam; +struct CCSUsrMsg_KillCamDefaultTypeInternal; +extern CCSUsrMsg_KillCamDefaultTypeInternal _CCSUsrMsg_KillCam_default_instance_; +class CCSUsrMsg_MarkAchievement; +struct CCSUsrMsg_MarkAchievementDefaultTypeInternal; +extern CCSUsrMsg_MarkAchievementDefaultTypeInternal _CCSUsrMsg_MarkAchievement_default_instance_; +class CCSUsrMsg_MatchEndConditions; +struct CCSUsrMsg_MatchEndConditionsDefaultTypeInternal; +extern CCSUsrMsg_MatchEndConditionsDefaultTypeInternal _CCSUsrMsg_MatchEndConditions_default_instance_; +class CCSUsrMsg_MatchStatsUpdate; +struct CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal; +extern CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal _CCSUsrMsg_MatchStatsUpdate_default_instance_; +class CCSUsrMsg_PlayerDecalDigitalSignature; +struct CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal; +extern CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal _CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_; +class CCSUsrMsg_PlayerStatsUpdate; +struct CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal; +extern CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_default_instance_; +class CCSUsrMsg_PlayerStatsUpdate_Stat; +struct CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal; +extern CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_; +class CCSUsrMsg_PostRoundDamageReport; +struct CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal; +extern CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal _CCSUsrMsg_PostRoundDamageReport_default_instance_; +class CCSUsrMsg_ProcessSpottedEntityUpdate; +struct CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal; +extern CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_; +class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate; +struct CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal; +extern CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_; +class CCSUsrMsg_QuestProgress; +struct CCSUsrMsg_QuestProgressDefaultTypeInternal; +extern CCSUsrMsg_QuestProgressDefaultTypeInternal _CCSUsrMsg_QuestProgress_default_instance_; +class CCSUsrMsg_RadioText; +struct CCSUsrMsg_RadioTextDefaultTypeInternal; +extern CCSUsrMsg_RadioTextDefaultTypeInternal _CCSUsrMsg_RadioText_default_instance_; +class CCSUsrMsg_RawAudio; +struct CCSUsrMsg_RawAudioDefaultTypeInternal; +extern CCSUsrMsg_RawAudioDefaultTypeInternal _CCSUsrMsg_RawAudio_default_instance_; +class CCSUsrMsg_RecurringMissionSchema; +struct CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal; +extern CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal _CCSUsrMsg_RecurringMissionSchema_default_instance_; +class CCSUsrMsg_ReloadEffect; +struct CCSUsrMsg_ReloadEffectDefaultTypeInternal; +extern CCSUsrMsg_ReloadEffectDefaultTypeInternal _CCSUsrMsg_ReloadEffect_default_instance_; +class CCSUsrMsg_ReportHit; +struct CCSUsrMsg_ReportHitDefaultTypeInternal; +extern CCSUsrMsg_ReportHitDefaultTypeInternal _CCSUsrMsg_ReportHit_default_instance_; +class CCSUsrMsg_RequestState; +struct CCSUsrMsg_RequestStateDefaultTypeInternal; +extern CCSUsrMsg_RequestStateDefaultTypeInternal _CCSUsrMsg_RequestState_default_instance_; +class CCSUsrMsg_ResetHud; +struct CCSUsrMsg_ResetHudDefaultTypeInternal; +extern CCSUsrMsg_ResetHudDefaultTypeInternal _CCSUsrMsg_ResetHud_default_instance_; +class CCSUsrMsg_RoundBackupFilenames; +struct CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal; +extern CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal _CCSUsrMsg_RoundBackupFilenames_default_instance_; +class CCSUsrMsg_RoundEndReportData; +struct CCSUsrMsg_RoundEndReportDataDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportDataDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_default_instance_; +class CCSUsrMsg_RoundEndReportData_InitialConditions; +struct CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_; +class CCSUsrMsg_RoundEndReportData_RerEvent; +struct CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_; +class CCSUsrMsg_RoundEndReportData_RerEvent_Damage; +struct CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_; +class CCSUsrMsg_RoundEndReportData_RerEvent_Objective; +struct CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_; +class CCSUsrMsg_RoundEndReportData_RerEvent_Victim; +struct CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal; +extern CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_; +class CCSUsrMsg_Rumble; +struct CCSUsrMsg_RumbleDefaultTypeInternal; +extern CCSUsrMsg_RumbleDefaultTypeInternal _CCSUsrMsg_Rumble_default_instance_; +class CCSUsrMsg_SSUI; +struct CCSUsrMsg_SSUIDefaultTypeInternal; +extern CCSUsrMsg_SSUIDefaultTypeInternal _CCSUsrMsg_SSUI_default_instance_; +class CCSUsrMsg_ScoreLeaderboardData; +struct CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal; +extern CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal _CCSUsrMsg_ScoreLeaderboardData_default_instance_; +class CCSUsrMsg_SendAudio; +struct CCSUsrMsg_SendAudioDefaultTypeInternal; +extern CCSUsrMsg_SendAudioDefaultTypeInternal _CCSUsrMsg_SendAudio_default_instance_; +class CCSUsrMsg_SendLastKillerDamageToClient; +struct CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal; +extern CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal _CCSUsrMsg_SendLastKillerDamageToClient_default_instance_; +class CCSUsrMsg_SendPlayerItemDrops; +struct CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal; +extern CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal _CCSUsrMsg_SendPlayerItemDrops_default_instance_; +class CCSUsrMsg_SendPlayerItemFound; +struct CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal; +extern CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal _CCSUsrMsg_SendPlayerItemFound_default_instance_; +class CCSUsrMsg_SendPlayerLoadout; +struct CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal; +extern CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_default_instance_; +class CCSUsrMsg_SendPlayerLoadout_LoadoutItem; +struct CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal; +extern CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_; +class CCSUsrMsg_ServerRankRevealAll; +struct CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal; +extern CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal _CCSUsrMsg_ServerRankRevealAll_default_instance_; +class CCSUsrMsg_ServerRankUpdate; +struct CCSUsrMsg_ServerRankUpdateDefaultTypeInternal; +extern CCSUsrMsg_ServerRankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_default_instance_; +class CCSUsrMsg_ServerRankUpdate_RankUpdate; +struct CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal; +extern CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_; +class CCSUsrMsg_Shake; +struct CCSUsrMsg_ShakeDefaultTypeInternal; +extern CCSUsrMsg_ShakeDefaultTypeInternal _CCSUsrMsg_Shake_default_instance_; +class CCSUsrMsg_ShootInfo; +struct CCSUsrMsg_ShootInfoDefaultTypeInternal; +extern CCSUsrMsg_ShootInfoDefaultTypeInternal _CCSUsrMsg_ShootInfo_default_instance_; +class CCSUsrMsg_ShowMenu; +struct CCSUsrMsg_ShowMenuDefaultTypeInternal; +extern CCSUsrMsg_ShowMenuDefaultTypeInternal _CCSUsrMsg_ShowMenu_default_instance_; +class CCSUsrMsg_StopSpectatorMode; +struct CCSUsrMsg_StopSpectatorModeDefaultTypeInternal; +extern CCSUsrMsg_StopSpectatorModeDefaultTypeInternal _CCSUsrMsg_StopSpectatorMode_default_instance_; +class CCSUsrMsg_SurvivalStats; +struct CCSUsrMsg_SurvivalStatsDefaultTypeInternal; +extern CCSUsrMsg_SurvivalStatsDefaultTypeInternal _CCSUsrMsg_SurvivalStats_default_instance_; +class CCSUsrMsg_SurvivalStats_Damage; +struct CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal; +extern CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Damage_default_instance_; +class CCSUsrMsg_SurvivalStats_Fact; +struct CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal; +extern CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Fact_default_instance_; +class CCSUsrMsg_SurvivalStats_Placement; +struct CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal; +extern CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Placement_default_instance_; +class CCSUsrMsg_Train; +struct CCSUsrMsg_TrainDefaultTypeInternal; +extern CCSUsrMsg_TrainDefaultTypeInternal _CCSUsrMsg_Train_default_instance_; +class CCSUsrMsg_UpdateScreenHealthBar; +struct CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal; +extern CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal _CCSUsrMsg_UpdateScreenHealthBar_default_instance_; +class CCSUsrMsg_VGUIMenu; +struct CCSUsrMsg_VGUIMenuDefaultTypeInternal; +extern CCSUsrMsg_VGUIMenuDefaultTypeInternal _CCSUsrMsg_VGUIMenu_default_instance_; +class CCSUsrMsg_VGUIMenu_Keys; +struct CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal; +extern CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal _CCSUsrMsg_VGUIMenu_Keys_default_instance_; +class CCSUsrMsg_VoiceMask; +struct CCSUsrMsg_VoiceMaskDefaultTypeInternal; +extern CCSUsrMsg_VoiceMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_default_instance_; +class CCSUsrMsg_VoiceMask_PlayerMask; +struct CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal; +extern CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_PlayerMask_default_instance_; +class CCSUsrMsg_VoteFailed; +struct CCSUsrMsg_VoteFailedDefaultTypeInternal; +extern CCSUsrMsg_VoteFailedDefaultTypeInternal _CCSUsrMsg_VoteFailed_default_instance_; +class CCSUsrMsg_VotePass; +struct CCSUsrMsg_VotePassDefaultTypeInternal; +extern CCSUsrMsg_VotePassDefaultTypeInternal _CCSUsrMsg_VotePass_default_instance_; +class CCSUsrMsg_VoteSetup; +struct CCSUsrMsg_VoteSetupDefaultTypeInternal; +extern CCSUsrMsg_VoteSetupDefaultTypeInternal _CCSUsrMsg_VoteSetup_default_instance_; +class CCSUsrMsg_VoteStart; +struct CCSUsrMsg_VoteStartDefaultTypeInternal; +extern CCSUsrMsg_VoteStartDefaultTypeInternal _CCSUsrMsg_VoteStart_default_instance_; +class CCSUsrMsg_WeaponSound; +struct CCSUsrMsg_WeaponSoundDefaultTypeInternal; +extern CCSUsrMsg_WeaponSoundDefaultTypeInternal _CCSUsrMsg_WeaponSound_default_instance_; +class CCSUsrMsg_XRankGet; +struct CCSUsrMsg_XRankGetDefaultTypeInternal; +extern CCSUsrMsg_XRankGetDefaultTypeInternal _CCSUsrMsg_XRankGet_default_instance_; +class CCSUsrMsg_XRankUpd; +struct CCSUsrMsg_XRankUpdDefaultTypeInternal; +extern CCSUsrMsg_XRankUpdDefaultTypeInternal _CCSUsrMsg_XRankUpd_default_instance_; +class CCSUsrMsg_XpUpdate; +struct CCSUsrMsg_XpUpdateDefaultTypeInternal; +extern CCSUsrMsg_XpUpdateDefaultTypeInternal _CCSUsrMsg_XpUpdate_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CCSUsrMsgPreMatchSayText* Arena::CreateMaybeMessage<::CCSUsrMsgPreMatchSayText>(Arena*); +template<> ::CCSUsrMsg_AchievementEvent* Arena::CreateMaybeMessage<::CCSUsrMsg_AchievementEvent>(Arena*); +template<> ::CCSUsrMsg_AdjustMoney* Arena::CreateMaybeMessage<::CCSUsrMsg_AdjustMoney>(Arena*); +template<> ::CCSUsrMsg_AmmoDenied* Arena::CreateMaybeMessage<::CCSUsrMsg_AmmoDenied>(Arena*); +template<> ::CCSUsrMsg_BarTime* Arena::CreateMaybeMessage<::CCSUsrMsg_BarTime>(Arena*); +template<> ::CCSUsrMsg_CallVoteFailed* Arena::CreateMaybeMessage<::CCSUsrMsg_CallVoteFailed>(Arena*); +template<> ::CCSUsrMsg_ClientInfo* Arena::CreateMaybeMessage<::CCSUsrMsg_ClientInfo>(Arena*); +template<> ::CCSUsrMsg_CloseCaption* Arena::CreateMaybeMessage<::CCSUsrMsg_CloseCaption>(Arena*); +template<> ::CCSUsrMsg_CloseCaptionDirect* Arena::CreateMaybeMessage<::CCSUsrMsg_CloseCaptionDirect>(Arena*); +template<> ::CCSUsrMsg_CounterStrafe* Arena::CreateMaybeMessage<::CCSUsrMsg_CounterStrafe>(Arena*); +template<> ::CCSUsrMsg_CurrentRoundOdds* Arena::CreateMaybeMessage<::CCSUsrMsg_CurrentRoundOdds>(Arena*); +template<> ::CCSUsrMsg_CurrentTimescale* Arena::CreateMaybeMessage<::CCSUsrMsg_CurrentTimescale>(Arena*); +template<> ::CCSUsrMsg_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_Damage>(Arena*); +template<> ::CCSUsrMsg_DamagePrediction* Arena::CreateMaybeMessage<::CCSUsrMsg_DamagePrediction>(Arena*); +template<> ::CCSUsrMsg_DeepStats* Arena::CreateMaybeMessage<::CCSUsrMsg_DeepStats>(Arena*); +template<> ::CCSUsrMsg_DesiredTimescale* Arena::CreateMaybeMessage<::CCSUsrMsg_DesiredTimescale>(Arena*); +template<> ::CCSUsrMsg_DisconnectToLobby* Arena::CreateMaybeMessage<::CCSUsrMsg_DisconnectToLobby>(Arena*); +template<> ::CCSUsrMsg_EndOfMatchAllPlayersData* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData>(Arena*); +template<> ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade>(Arena*); +template<> ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData>(Arena*); +template<> ::CCSUsrMsg_EntityOutlineHighlight* Arena::CreateMaybeMessage<::CCSUsrMsg_EntityOutlineHighlight>(Arena*); +template<> ::CCSUsrMsg_Fade* Arena::CreateMaybeMessage<::CCSUsrMsg_Fade>(Arena*); +template<> ::CCSUsrMsg_GameTitle* Arena::CreateMaybeMessage<::CCSUsrMsg_GameTitle>(Arena*); +template<> ::CCSUsrMsg_Geiger* Arena::CreateMaybeMessage<::CCSUsrMsg_Geiger>(Arena*); +template<> ::CCSUsrMsg_HintText* Arena::CreateMaybeMessage<::CCSUsrMsg_HintText>(Arena*); +template<> ::CCSUsrMsg_HudMsg* Arena::CreateMaybeMessage<::CCSUsrMsg_HudMsg>(Arena*); +template<> ::CCSUsrMsg_HudText* Arena::CreateMaybeMessage<::CCSUsrMsg_HudText>(Arena*); +template<> ::CCSUsrMsg_ItemDrop* Arena::CreateMaybeMessage<::CCSUsrMsg_ItemDrop>(Arena*); +template<> ::CCSUsrMsg_ItemPickup* Arena::CreateMaybeMessage<::CCSUsrMsg_ItemPickup>(Arena*); +template<> ::CCSUsrMsg_KeyHintText* Arena::CreateMaybeMessage<::CCSUsrMsg_KeyHintText>(Arena*); +template<> ::CCSUsrMsg_KillCam* Arena::CreateMaybeMessage<::CCSUsrMsg_KillCam>(Arena*); +template<> ::CCSUsrMsg_MarkAchievement* Arena::CreateMaybeMessage<::CCSUsrMsg_MarkAchievement>(Arena*); +template<> ::CCSUsrMsg_MatchEndConditions* Arena::CreateMaybeMessage<::CCSUsrMsg_MatchEndConditions>(Arena*); +template<> ::CCSUsrMsg_MatchStatsUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_MatchStatsUpdate>(Arena*); +template<> ::CCSUsrMsg_PlayerDecalDigitalSignature* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerDecalDigitalSignature>(Arena*); +template<> ::CCSUsrMsg_PlayerStatsUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerStatsUpdate>(Arena*); +template<> ::CCSUsrMsg_PlayerStatsUpdate_Stat* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerStatsUpdate_Stat>(Arena*); +template<> ::CCSUsrMsg_PostRoundDamageReport* Arena::CreateMaybeMessage<::CCSUsrMsg_PostRoundDamageReport>(Arena*); +template<> ::CCSUsrMsg_ProcessSpottedEntityUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ProcessSpottedEntityUpdate>(Arena*); +template<> ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate>(Arena*); +template<> ::CCSUsrMsg_QuestProgress* Arena::CreateMaybeMessage<::CCSUsrMsg_QuestProgress>(Arena*); +template<> ::CCSUsrMsg_RadioText* Arena::CreateMaybeMessage<::CCSUsrMsg_RadioText>(Arena*); +template<> ::CCSUsrMsg_RawAudio* Arena::CreateMaybeMessage<::CCSUsrMsg_RawAudio>(Arena*); +template<> ::CCSUsrMsg_RecurringMissionSchema* Arena::CreateMaybeMessage<::CCSUsrMsg_RecurringMissionSchema>(Arena*); +template<> ::CCSUsrMsg_ReloadEffect* Arena::CreateMaybeMessage<::CCSUsrMsg_ReloadEffect>(Arena*); +template<> ::CCSUsrMsg_ReportHit* Arena::CreateMaybeMessage<::CCSUsrMsg_ReportHit>(Arena*); +template<> ::CCSUsrMsg_RequestState* Arena::CreateMaybeMessage<::CCSUsrMsg_RequestState>(Arena*); +template<> ::CCSUsrMsg_ResetHud* Arena::CreateMaybeMessage<::CCSUsrMsg_ResetHud>(Arena*); +template<> ::CCSUsrMsg_RoundBackupFilenames* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundBackupFilenames>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData_InitialConditions* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_InitialConditions>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData_RerEvent* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Damage>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Objective>(Arena*); +template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Victim>(Arena*); +template<> ::CCSUsrMsg_Rumble* Arena::CreateMaybeMessage<::CCSUsrMsg_Rumble>(Arena*); +template<> ::CCSUsrMsg_SSUI* Arena::CreateMaybeMessage<::CCSUsrMsg_SSUI>(Arena*); +template<> ::CCSUsrMsg_ScoreLeaderboardData* Arena::CreateMaybeMessage<::CCSUsrMsg_ScoreLeaderboardData>(Arena*); +template<> ::CCSUsrMsg_SendAudio* Arena::CreateMaybeMessage<::CCSUsrMsg_SendAudio>(Arena*); +template<> ::CCSUsrMsg_SendLastKillerDamageToClient* Arena::CreateMaybeMessage<::CCSUsrMsg_SendLastKillerDamageToClient>(Arena*); +template<> ::CCSUsrMsg_SendPlayerItemDrops* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerItemDrops>(Arena*); +template<> ::CCSUsrMsg_SendPlayerItemFound* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerItemFound>(Arena*); +template<> ::CCSUsrMsg_SendPlayerLoadout* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerLoadout>(Arena*); +template<> ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerLoadout_LoadoutItem>(Arena*); +template<> ::CCSUsrMsg_ServerRankRevealAll* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankRevealAll>(Arena*); +template<> ::CCSUsrMsg_ServerRankUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankUpdate>(Arena*); +template<> ::CCSUsrMsg_ServerRankUpdate_RankUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankUpdate_RankUpdate>(Arena*); +template<> ::CCSUsrMsg_Shake* Arena::CreateMaybeMessage<::CCSUsrMsg_Shake>(Arena*); +template<> ::CCSUsrMsg_ShootInfo* Arena::CreateMaybeMessage<::CCSUsrMsg_ShootInfo>(Arena*); +template<> ::CCSUsrMsg_ShowMenu* Arena::CreateMaybeMessage<::CCSUsrMsg_ShowMenu>(Arena*); +template<> ::CCSUsrMsg_StopSpectatorMode* Arena::CreateMaybeMessage<::CCSUsrMsg_StopSpectatorMode>(Arena*); +template<> ::CCSUsrMsg_SurvivalStats* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats>(Arena*); +template<> ::CCSUsrMsg_SurvivalStats_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Damage>(Arena*); +template<> ::CCSUsrMsg_SurvivalStats_Fact* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Fact>(Arena*); +template<> ::CCSUsrMsg_SurvivalStats_Placement* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Placement>(Arena*); +template<> ::CCSUsrMsg_Train* Arena::CreateMaybeMessage<::CCSUsrMsg_Train>(Arena*); +template<> ::CCSUsrMsg_UpdateScreenHealthBar* Arena::CreateMaybeMessage<::CCSUsrMsg_UpdateScreenHealthBar>(Arena*); +template<> ::CCSUsrMsg_VGUIMenu* Arena::CreateMaybeMessage<::CCSUsrMsg_VGUIMenu>(Arena*); +template<> ::CCSUsrMsg_VGUIMenu_Keys* Arena::CreateMaybeMessage<::CCSUsrMsg_VGUIMenu_Keys>(Arena*); +template<> ::CCSUsrMsg_VoiceMask* Arena::CreateMaybeMessage<::CCSUsrMsg_VoiceMask>(Arena*); +template<> ::CCSUsrMsg_VoiceMask_PlayerMask* Arena::CreateMaybeMessage<::CCSUsrMsg_VoiceMask_PlayerMask>(Arena*); +template<> ::CCSUsrMsg_VoteFailed* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteFailed>(Arena*); +template<> ::CCSUsrMsg_VotePass* Arena::CreateMaybeMessage<::CCSUsrMsg_VotePass>(Arena*); +template<> ::CCSUsrMsg_VoteSetup* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteSetup>(Arena*); +template<> ::CCSUsrMsg_VoteStart* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteStart>(Arena*); +template<> ::CCSUsrMsg_WeaponSound* Arena::CreateMaybeMessage<::CCSUsrMsg_WeaponSound>(Arena*); +template<> ::CCSUsrMsg_XRankGet* Arena::CreateMaybeMessage<::CCSUsrMsg_XRankGet>(Arena*); +template<> ::CCSUsrMsg_XRankUpd* Arena::CreateMaybeMessage<::CCSUsrMsg_XRankUpd>(Arena*); +template<> ::CCSUsrMsg_XpUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_XpUpdate>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ECstrike15UserMessages : int { + CS_UM_VGUIMenu = 301, + CS_UM_Geiger = 302, + CS_UM_Train = 303, + CS_UM_HudText = 304, + CS_UM_SayText = 305, + CS_UM_SayText2 = 306, + CS_UM_TextMsg = 307, + CS_UM_HudMsg = 308, + CS_UM_ResetHud = 309, + CS_UM_GameTitle = 310, + CS_UM_Shake = 312, + CS_UM_Fade = 313, + CS_UM_Rumble = 314, + CS_UM_CloseCaption = 315, + CS_UM_CloseCaptionDirect = 316, + CS_UM_SendAudio = 317, + CS_UM_RawAudio = 318, + CS_UM_VoiceMask = 319, + CS_UM_RequestState = 320, + CS_UM_Damage = 321, + CS_UM_RadioText = 322, + CS_UM_HintText = 323, + CS_UM_KeyHintText = 324, + CS_UM_ProcessSpottedEntityUpdate = 325, + CS_UM_ReloadEffect = 326, + CS_UM_AdjustMoney = 327, + CS_UM_UpdateTeamMoney = 328, + CS_UM_StopSpectatorMode = 329, + CS_UM_KillCam = 330, + CS_UM_DesiredTimescale = 331, + CS_UM_CurrentTimescale = 332, + CS_UM_AchievementEvent = 333, + CS_UM_MatchEndConditions = 334, + CS_UM_DisconnectToLobby = 335, + CS_UM_PlayerStatsUpdate = 336, + CS_UM_ClientInfo = 339, + CS_UM_XRankGet = 340, + CS_UM_XRankUpd = 341, + CS_UM_CallVoteFailed = 345, + CS_UM_VoteStart = 346, + CS_UM_VotePass = 347, + CS_UM_VoteFailed = 348, + CS_UM_VoteSetup = 349, + CS_UM_ServerRankRevealAll = 350, + CS_UM_SendLastKillerDamageToClient = 351, + CS_UM_ServerRankUpdate = 352, + CS_UM_ItemPickup = 353, + CS_UM_ShowMenu = 354, + CS_UM_BarTime = 355, + CS_UM_AmmoDenied = 356, + CS_UM_MarkAchievement = 357, + CS_UM_MatchStatsUpdate = 358, + CS_UM_ItemDrop = 359, + CS_UM_SendPlayerItemDrops = 361, + CS_UM_RoundBackupFilenames = 362, + CS_UM_SendPlayerItemFound = 363, + CS_UM_ReportHit = 364, + CS_UM_XpUpdate = 365, + CS_UM_QuestProgress = 366, + CS_UM_ScoreLeaderboardData = 367, + CS_UM_PlayerDecalDigitalSignature = 368, + CS_UM_WeaponSound = 369, + CS_UM_UpdateScreenHealthBar = 370, + CS_UM_EntityOutlineHighlight = 371, + CS_UM_SSUI = 372, + CS_UM_SurvivalStats = 373, + CS_UM_DisconnectToLobby2 = 374, + CS_UM_EndOfMatchAllPlayersData = 375, + CS_UM_PostRoundDamageReport = 376, + CS_UM_RoundEndReportData = 379, + CS_UM_CurrentRoundOdds = 380, + CS_UM_DeepStats = 381, + CS_UM_ShootInfo = 383, + CS_UM_CounterStrafe = 385, + CS_UM_DamagePrediction = 386, + CS_UM_RecurringMissionSchema = 387, + CS_UM_SendPlayerLoadout = 388 +}; +bool ECstrike15UserMessages_IsValid(int value); +constexpr ECstrike15UserMessages ECstrike15UserMessages_MIN = CS_UM_VGUIMenu; +constexpr ECstrike15UserMessages ECstrike15UserMessages_MAX = CS_UM_SendPlayerLoadout; +constexpr int ECstrike15UserMessages_ARRAYSIZE = ECstrike15UserMessages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECstrike15UserMessages_descriptor(); +template +inline const std::string& ECstrike15UserMessages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECstrike15UserMessages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECstrike15UserMessages_descriptor(), enum_t_value); +} +inline bool ECstrike15UserMessages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECstrike15UserMessages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECstrike15UserMessages_descriptor(), name, value); +} +enum ECSUsrMsg_DisconnectToLobby_Action : int { + k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0, + k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1 +}; +bool ECSUsrMsg_DisconnectToLobby_Action_IsValid(int value); +constexpr ECSUsrMsg_DisconnectToLobby_Action ECSUsrMsg_DisconnectToLobby_Action_MIN = k_ECSUsrMsg_DisconnectToLobby_Action_Default; +constexpr ECSUsrMsg_DisconnectToLobby_Action ECSUsrMsg_DisconnectToLobby_Action_MAX = k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue; +constexpr int ECSUsrMsg_DisconnectToLobby_Action_ARRAYSIZE = ECSUsrMsg_DisconnectToLobby_Action_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSUsrMsg_DisconnectToLobby_Action_descriptor(); +template +inline const std::string& ECSUsrMsg_DisconnectToLobby_Action_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECSUsrMsg_DisconnectToLobby_Action_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECSUsrMsg_DisconnectToLobby_Action_descriptor(), enum_t_value); +} +inline bool ECSUsrMsg_DisconnectToLobby_Action_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECSUsrMsg_DisconnectToLobby_Action* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECSUsrMsg_DisconnectToLobby_Action_descriptor(), name, value); +} +// =================================================================== + +class CCSUsrMsg_VGUIMenu_Keys final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VGUIMenu.Keys) */ { + public: + inline CCSUsrMsg_VGUIMenu_Keys() : CCSUsrMsg_VGUIMenu_Keys(nullptr) {} + ~CCSUsrMsg_VGUIMenu_Keys() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_Keys(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VGUIMenu_Keys(const CCSUsrMsg_VGUIMenu_Keys& from); + CCSUsrMsg_VGUIMenu_Keys(CCSUsrMsg_VGUIMenu_Keys&& from) noexcept + : CCSUsrMsg_VGUIMenu_Keys() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VGUIMenu_Keys& operator=(const CCSUsrMsg_VGUIMenu_Keys& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VGUIMenu_Keys& operator=(CCSUsrMsg_VGUIMenu_Keys&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VGUIMenu_Keys& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VGUIMenu_Keys* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VGUIMenu_Keys_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CCSUsrMsg_VGUIMenu_Keys& a, CCSUsrMsg_VGUIMenu_Keys& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VGUIMenu_Keys* 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(CCSUsrMsg_VGUIMenu_Keys* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VGUIMenu_Keys* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VGUIMenu_Keys& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VGUIMenu_Keys& from) { + CCSUsrMsg_VGUIMenu_Keys::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(CCSUsrMsg_VGUIMenu_Keys* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VGUIMenu.Keys"; + } + protected: + explicit CCSUsrMsg_VGUIMenu_Keys(::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, + kValueFieldNumber = 2, + }; + // optional string name = 1; + 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: + + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VGUIMenu.Keys) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VGUIMenu final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VGUIMenu) */ { + public: + inline CCSUsrMsg_VGUIMenu() : CCSUsrMsg_VGUIMenu(nullptr) {} + ~CCSUsrMsg_VGUIMenu() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VGUIMenu(const CCSUsrMsg_VGUIMenu& from); + CCSUsrMsg_VGUIMenu(CCSUsrMsg_VGUIMenu&& from) noexcept + : CCSUsrMsg_VGUIMenu() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VGUIMenu& operator=(const CCSUsrMsg_VGUIMenu& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VGUIMenu& operator=(CCSUsrMsg_VGUIMenu&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VGUIMenu& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VGUIMenu* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VGUIMenu_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CCSUsrMsg_VGUIMenu& a, CCSUsrMsg_VGUIMenu& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VGUIMenu* 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(CCSUsrMsg_VGUIMenu* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VGUIMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VGUIMenu& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VGUIMenu& from) { + CCSUsrMsg_VGUIMenu::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(CCSUsrMsg_VGUIMenu* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VGUIMenu"; + } + protected: + explicit CCSUsrMsg_VGUIMenu(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_VGUIMenu_Keys Keys; + + // accessors ------------------------------------------------------- + + enum : int { + kKeysFieldNumber = 3, + kNameFieldNumber = 1, + kShowFieldNumber = 2, + }; + // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; + int keys_size() const; + private: + int _internal_keys_size() const; + public: + void clear_keys(); + ::CCSUsrMsg_VGUIMenu_Keys* mutable_keys(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >* + mutable_keys(); + private: + const ::CCSUsrMsg_VGUIMenu_Keys& _internal_keys(int index) const; + ::CCSUsrMsg_VGUIMenu_Keys* _internal_add_keys(); + public: + const ::CCSUsrMsg_VGUIMenu_Keys& keys(int index) const; + ::CCSUsrMsg_VGUIMenu_Keys* add_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >& + keys() const; + + // optional string name = 1; + 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: + + // optional bool show = 2; + bool has_show() const; + private: + bool _internal_has_show() const; + public: + void clear_show(); + bool show() const; + void set_show(bool value); + private: + bool _internal_show() const; + void _internal_set_show(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VGUIMenu) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys > keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + bool show_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Geiger final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Geiger) */ { + public: + inline CCSUsrMsg_Geiger() : CCSUsrMsg_Geiger(nullptr) {} + ~CCSUsrMsg_Geiger() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Geiger(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Geiger(const CCSUsrMsg_Geiger& from); + CCSUsrMsg_Geiger(CCSUsrMsg_Geiger&& from) noexcept + : CCSUsrMsg_Geiger() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Geiger& operator=(const CCSUsrMsg_Geiger& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Geiger& operator=(CCSUsrMsg_Geiger&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Geiger& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Geiger* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Geiger_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CCSUsrMsg_Geiger& a, CCSUsrMsg_Geiger& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Geiger* 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(CCSUsrMsg_Geiger* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Geiger* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Geiger& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Geiger& from) { + CCSUsrMsg_Geiger::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(CCSUsrMsg_Geiger* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Geiger"; + } + protected: + explicit CCSUsrMsg_Geiger(::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 { + kRangeFieldNumber = 1, + }; + // optional int32 range = 1; + bool has_range() const; + private: + bool _internal_has_range() const; + public: + void clear_range(); + int32_t range() const; + void set_range(int32_t value); + private: + int32_t _internal_range() const; + void _internal_set_range(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Geiger) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t range_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Train final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Train) */ { + public: + inline CCSUsrMsg_Train() : CCSUsrMsg_Train(nullptr) {} + ~CCSUsrMsg_Train() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Train(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Train(const CCSUsrMsg_Train& from); + CCSUsrMsg_Train(CCSUsrMsg_Train&& from) noexcept + : CCSUsrMsg_Train() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Train& operator=(const CCSUsrMsg_Train& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Train& operator=(CCSUsrMsg_Train&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Train& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Train* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Train_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CCSUsrMsg_Train& a, CCSUsrMsg_Train& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Train* 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(CCSUsrMsg_Train* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Train* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Train& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Train& from) { + CCSUsrMsg_Train::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(CCSUsrMsg_Train* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Train"; + } + protected: + explicit CCSUsrMsg_Train(::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 { + kTrainFieldNumber = 1, + }; + // optional int32 train = 1; + bool has_train() const; + private: + bool _internal_has_train() const; + public: + void clear_train(); + int32_t train() const; + void set_train(int32_t value); + private: + int32_t _internal_train() const; + void _internal_set_train(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Train) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t train_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_HudText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HudText) */ { + public: + inline CCSUsrMsg_HudText() : CCSUsrMsg_HudText(nullptr) {} + ~CCSUsrMsg_HudText() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HudText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_HudText(const CCSUsrMsg_HudText& from); + CCSUsrMsg_HudText(CCSUsrMsg_HudText&& from) noexcept + : CCSUsrMsg_HudText() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_HudText& operator=(const CCSUsrMsg_HudText& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_HudText& operator=(CCSUsrMsg_HudText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_HudText& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_HudText* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_HudText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CCSUsrMsg_HudText& a, CCSUsrMsg_HudText& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_HudText* 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(CCSUsrMsg_HudText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_HudText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_HudText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_HudText& from) { + CCSUsrMsg_HudText::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(CCSUsrMsg_HudText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_HudText"; + } + protected: + explicit CCSUsrMsg_HudText(::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, + }; + // optional string text = 1; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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:CCSUsrMsg_HudText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_HudMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HudMsg) */ { + public: + inline CCSUsrMsg_HudMsg() : CCSUsrMsg_HudMsg(nullptr) {} + ~CCSUsrMsg_HudMsg() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_HudMsg(const CCSUsrMsg_HudMsg& from); + CCSUsrMsg_HudMsg(CCSUsrMsg_HudMsg&& from) noexcept + : CCSUsrMsg_HudMsg() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_HudMsg& operator=(const CCSUsrMsg_HudMsg& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_HudMsg& operator=(CCSUsrMsg_HudMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_HudMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_HudMsg* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_HudMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CCSUsrMsg_HudMsg& a, CCSUsrMsg_HudMsg& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_HudMsg* 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(CCSUsrMsg_HudMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_HudMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_HudMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_HudMsg& from) { + CCSUsrMsg_HudMsg::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(CCSUsrMsg_HudMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_HudMsg"; + } + protected: + explicit CCSUsrMsg_HudMsg(::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 = 11, + kPosFieldNumber = 2, + kClr1FieldNumber = 3, + kClr2FieldNumber = 4, + kChannelFieldNumber = 1, + kEffectFieldNumber = 5, + kFadeInTimeFieldNumber = 6, + kFadeOutTimeFieldNumber = 7, + kHoldTimeFieldNumber = 9, + kFxTimeFieldNumber = 10, + }; + // optional string text = 11; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional .CMsgVector2D pos = 2; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::CMsgVector2D& pos() const; + PROTOBUF_NODISCARD ::CMsgVector2D* release_pos(); + ::CMsgVector2D* mutable_pos(); + void set_allocated_pos(::CMsgVector2D* pos); + private: + const ::CMsgVector2D& _internal_pos() const; + ::CMsgVector2D* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::CMsgVector2D* pos); + ::CMsgVector2D* unsafe_arena_release_pos(); + + // optional .CMsgRGBA clr1 = 3; + bool has_clr1() const; + private: + bool _internal_has_clr1() const; + public: + void clear_clr1(); + const ::CMsgRGBA& clr1() const; + PROTOBUF_NODISCARD ::CMsgRGBA* release_clr1(); + ::CMsgRGBA* mutable_clr1(); + void set_allocated_clr1(::CMsgRGBA* clr1); + private: + const ::CMsgRGBA& _internal_clr1() const; + ::CMsgRGBA* _internal_mutable_clr1(); + public: + void unsafe_arena_set_allocated_clr1( + ::CMsgRGBA* clr1); + ::CMsgRGBA* unsafe_arena_release_clr1(); + + // optional .CMsgRGBA clr2 = 4; + bool has_clr2() const; + private: + bool _internal_has_clr2() const; + public: + void clear_clr2(); + const ::CMsgRGBA& clr2() const; + PROTOBUF_NODISCARD ::CMsgRGBA* release_clr2(); + ::CMsgRGBA* mutable_clr2(); + void set_allocated_clr2(::CMsgRGBA* clr2); + private: + const ::CMsgRGBA& _internal_clr2() const; + ::CMsgRGBA* _internal_mutable_clr2(); + public: + void unsafe_arena_set_allocated_clr2( + ::CMsgRGBA* clr2); + ::CMsgRGBA* unsafe_arena_release_clr2(); + + // optional int32 channel = 1; + bool has_channel() const; + private: + bool _internal_has_channel() const; + public: + void clear_channel(); + int32_t channel() const; + void set_channel(int32_t value); + private: + int32_t _internal_channel() const; + void _internal_set_channel(int32_t value); + public: + + // optional int32 effect = 5; + bool has_effect() const; + private: + bool _internal_has_effect() const; + public: + void clear_effect(); + int32_t effect() const; + void set_effect(int32_t value); + private: + int32_t _internal_effect() const; + void _internal_set_effect(int32_t value); + public: + + // optional float fade_in_time = 6; + bool has_fade_in_time() const; + private: + bool _internal_has_fade_in_time() const; + public: + void clear_fade_in_time(); + float fade_in_time() const; + void set_fade_in_time(float value); + private: + float _internal_fade_in_time() const; + void _internal_set_fade_in_time(float value); + public: + + // optional float fade_out_time = 7; + bool has_fade_out_time() const; + private: + bool _internal_has_fade_out_time() const; + public: + void clear_fade_out_time(); + float fade_out_time() const; + void set_fade_out_time(float value); + private: + float _internal_fade_out_time() const; + void _internal_set_fade_out_time(float value); + public: + + // optional float hold_time = 9; + bool has_hold_time() const; + private: + bool _internal_has_hold_time() const; + public: + void clear_hold_time(); + float hold_time() const; + void set_hold_time(float value); + private: + float _internal_hold_time() const; + void _internal_set_hold_time(float value); + public: + + // optional float fx_time = 10; + bool has_fx_time() const; + private: + bool _internal_has_fx_time() const; + public: + void clear_fx_time(); + float fx_time() const; + void set_fx_time(float value); + private: + float _internal_fx_time() const; + void _internal_set_fx_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_HudMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + ::CMsgVector2D* pos_; + ::CMsgRGBA* clr1_; + ::CMsgRGBA* clr2_; + int32_t channel_; + int32_t effect_; + float fade_in_time_; + float fade_out_time_; + float hold_time_; + float fx_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Shake final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Shake) */ { + public: + inline CCSUsrMsg_Shake() : CCSUsrMsg_Shake(nullptr) {} + ~CCSUsrMsg_Shake() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Shake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Shake(const CCSUsrMsg_Shake& from); + CCSUsrMsg_Shake(CCSUsrMsg_Shake&& from) noexcept + : CCSUsrMsg_Shake() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Shake& operator=(const CCSUsrMsg_Shake& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Shake& operator=(CCSUsrMsg_Shake&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Shake& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Shake* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Shake_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CCSUsrMsg_Shake& a, CCSUsrMsg_Shake& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Shake* 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(CCSUsrMsg_Shake* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Shake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Shake& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Shake& from) { + CCSUsrMsg_Shake::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(CCSUsrMsg_Shake* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Shake"; + } + protected: + explicit CCSUsrMsg_Shake(::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 { + kCommandFieldNumber = 1, + kLocalAmplitudeFieldNumber = 2, + kFrequencyFieldNumber = 3, + kDurationFieldNumber = 4, + }; + // optional int32 command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + int32_t command() const; + void set_command(int32_t value); + private: + int32_t _internal_command() const; + void _internal_set_command(int32_t value); + public: + + // optional float local_amplitude = 2; + bool has_local_amplitude() const; + private: + bool _internal_has_local_amplitude() const; + public: + void clear_local_amplitude(); + float local_amplitude() const; + void set_local_amplitude(float value); + private: + float _internal_local_amplitude() const; + void _internal_set_local_amplitude(float value); + public: + + // optional float frequency = 3; + bool has_frequency() const; + private: + bool _internal_has_frequency() const; + public: + void clear_frequency(); + float frequency() const; + void set_frequency(float value); + private: + float _internal_frequency() const; + void _internal_set_frequency(float value); + public: + + // optional float duration = 4; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Shake) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t command_; + float local_amplitude_; + float frequency_; + float duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Fade final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Fade) */ { + public: + inline CCSUsrMsg_Fade() : CCSUsrMsg_Fade(nullptr) {} + ~CCSUsrMsg_Fade() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Fade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Fade(const CCSUsrMsg_Fade& from); + CCSUsrMsg_Fade(CCSUsrMsg_Fade&& from) noexcept + : CCSUsrMsg_Fade() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Fade& operator=(const CCSUsrMsg_Fade& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Fade& operator=(CCSUsrMsg_Fade&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Fade& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Fade* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Fade_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CCSUsrMsg_Fade& a, CCSUsrMsg_Fade& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Fade* 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(CCSUsrMsg_Fade* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Fade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Fade& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Fade& from) { + CCSUsrMsg_Fade::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(CCSUsrMsg_Fade* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Fade"; + } + protected: + explicit CCSUsrMsg_Fade(::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 { + kClrFieldNumber = 4, + kDurationFieldNumber = 1, + kHoldTimeFieldNumber = 2, + kFlagsFieldNumber = 3, + }; + // optional .CMsgRGBA clr = 4; + bool has_clr() const; + private: + bool _internal_has_clr() const; + public: + void clear_clr(); + const ::CMsgRGBA& clr() const; + PROTOBUF_NODISCARD ::CMsgRGBA* release_clr(); + ::CMsgRGBA* mutable_clr(); + void set_allocated_clr(::CMsgRGBA* clr); + private: + const ::CMsgRGBA& _internal_clr() const; + ::CMsgRGBA* _internal_mutable_clr(); + public: + void unsafe_arena_set_allocated_clr( + ::CMsgRGBA* clr); + ::CMsgRGBA* unsafe_arena_release_clr(); + + // optional int32 duration = 1; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + int32_t duration() const; + void set_duration(int32_t value); + private: + int32_t _internal_duration() const; + void _internal_set_duration(int32_t value); + public: + + // optional int32 hold_time = 2; + bool has_hold_time() const; + private: + bool _internal_has_hold_time() const; + public: + void clear_hold_time(); + int32_t hold_time() const; + void set_hold_time(int32_t value); + private: + int32_t _internal_hold_time() const; + void _internal_set_hold_time(int32_t value); + public: + + // optional int32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Fade) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgRGBA* clr_; + int32_t duration_; + int32_t hold_time_; + int32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Rumble final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Rumble) */ { + public: + inline CCSUsrMsg_Rumble() : CCSUsrMsg_Rumble(nullptr) {} + ~CCSUsrMsg_Rumble() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Rumble(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Rumble(const CCSUsrMsg_Rumble& from); + CCSUsrMsg_Rumble(CCSUsrMsg_Rumble&& from) noexcept + : CCSUsrMsg_Rumble() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Rumble& operator=(const CCSUsrMsg_Rumble& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Rumble& operator=(CCSUsrMsg_Rumble&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Rumble& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Rumble* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Rumble_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CCSUsrMsg_Rumble& a, CCSUsrMsg_Rumble& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Rumble* 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(CCSUsrMsg_Rumble* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Rumble* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Rumble& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Rumble& from) { + CCSUsrMsg_Rumble::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(CCSUsrMsg_Rumble* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Rumble"; + } + protected: + explicit CCSUsrMsg_Rumble(::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 { + kIndexFieldNumber = 1, + kDataFieldNumber = 2, + kFlagsFieldNumber = 3, + }; + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + int32_t data() const; + void set_data(int32_t value); + private: + int32_t _internal_data() const; + void _internal_set_data(int32_t value); + public: + + // optional int32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Rumble) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t index_; + int32_t data_; + int32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CloseCaption final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CloseCaption) */ { + public: + inline CCSUsrMsg_CloseCaption() : CCSUsrMsg_CloseCaption(nullptr) {} + ~CCSUsrMsg_CloseCaption() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CloseCaption(const CCSUsrMsg_CloseCaption& from); + CCSUsrMsg_CloseCaption(CCSUsrMsg_CloseCaption&& from) noexcept + : CCSUsrMsg_CloseCaption() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CloseCaption& operator=(const CCSUsrMsg_CloseCaption& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CloseCaption& operator=(CCSUsrMsg_CloseCaption&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CloseCaption& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CloseCaption* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CloseCaption_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CCSUsrMsg_CloseCaption& a, CCSUsrMsg_CloseCaption& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CloseCaption* 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(CCSUsrMsg_CloseCaption* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CloseCaption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CloseCaption& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CloseCaption& from) { + CCSUsrMsg_CloseCaption::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(CCSUsrMsg_CloseCaption* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CloseCaption"; + } + protected: + explicit CCSUsrMsg_CloseCaption(::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 { + kCctokenFieldNumber = 4, + kHashFieldNumber = 1, + kDurationFieldNumber = 2, + kFromPlayerFieldNumber = 3, + }; + // optional string cctoken = 4; + bool has_cctoken() const; + private: + bool _internal_has_cctoken() const; + public: + void clear_cctoken(); + const std::string& cctoken() const; + template + void set_cctoken(ArgT0&& arg0, ArgT... args); + std::string* mutable_cctoken(); + PROTOBUF_NODISCARD std::string* release_cctoken(); + void set_allocated_cctoken(std::string* cctoken); + private: + const std::string& _internal_cctoken() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cctoken(const std::string& value); + std::string* _internal_mutable_cctoken(); + public: + + // optional uint32 hash = 1; + bool has_hash() const; + private: + bool _internal_has_hash() const; + public: + void clear_hash(); + uint32_t hash() const; + void set_hash(uint32_t value); + private: + uint32_t _internal_hash() const; + void _internal_set_hash(uint32_t value); + public: + + // optional int32 duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + int32_t duration() const; + void set_duration(int32_t value); + private: + int32_t _internal_duration() const; + void _internal_set_duration(int32_t value); + public: + + // optional bool from_player = 3; + bool has_from_player() const; + private: + bool _internal_has_from_player() const; + public: + void clear_from_player(); + bool from_player() const; + void set_from_player(bool value); + private: + bool _internal_from_player() const; + void _internal_set_from_player(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CloseCaption) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cctoken_; + uint32_t hash_; + int32_t duration_; + bool from_player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CloseCaptionDirect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CloseCaptionDirect) */ { + public: + inline CCSUsrMsg_CloseCaptionDirect() : CCSUsrMsg_CloseCaptionDirect(nullptr) {} + ~CCSUsrMsg_CloseCaptionDirect() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CloseCaptionDirect(const CCSUsrMsg_CloseCaptionDirect& from); + CCSUsrMsg_CloseCaptionDirect(CCSUsrMsg_CloseCaptionDirect&& from) noexcept + : CCSUsrMsg_CloseCaptionDirect() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CloseCaptionDirect& operator=(const CCSUsrMsg_CloseCaptionDirect& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CloseCaptionDirect& operator=(CCSUsrMsg_CloseCaptionDirect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CloseCaptionDirect& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CloseCaptionDirect* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CloseCaptionDirect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CCSUsrMsg_CloseCaptionDirect& a, CCSUsrMsg_CloseCaptionDirect& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CloseCaptionDirect* 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(CCSUsrMsg_CloseCaptionDirect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CloseCaptionDirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CloseCaptionDirect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CloseCaptionDirect& from) { + CCSUsrMsg_CloseCaptionDirect::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(CCSUsrMsg_CloseCaptionDirect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CloseCaptionDirect"; + } + protected: + explicit CCSUsrMsg_CloseCaptionDirect(::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 { + kHashFieldNumber = 1, + kDurationFieldNumber = 2, + kFromPlayerFieldNumber = 3, + }; + // optional uint32 hash = 1; + bool has_hash() const; + private: + bool _internal_has_hash() const; + public: + void clear_hash(); + uint32_t hash() const; + void set_hash(uint32_t value); + private: + uint32_t _internal_hash() const; + void _internal_set_hash(uint32_t value); + public: + + // optional int32 duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + int32_t duration() const; + void set_duration(int32_t value); + private: + int32_t _internal_duration() const; + void _internal_set_duration(int32_t value); + public: + + // optional bool from_player = 3; + bool has_from_player() const; + private: + bool _internal_has_from_player() const; + public: + void clear_from_player(); + bool from_player() const; + void set_from_player(bool value); + private: + bool _internal_from_player() const; + void _internal_set_from_player(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CloseCaptionDirect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t hash_; + int32_t duration_; + bool from_player_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendAudio final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendAudio) */ { + public: + inline CCSUsrMsg_SendAudio() : CCSUsrMsg_SendAudio(nullptr) {} + ~CCSUsrMsg_SendAudio() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendAudio(const CCSUsrMsg_SendAudio& from); + CCSUsrMsg_SendAudio(CCSUsrMsg_SendAudio&& from) noexcept + : CCSUsrMsg_SendAudio() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendAudio& operator=(const CCSUsrMsg_SendAudio& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendAudio& operator=(CCSUsrMsg_SendAudio&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendAudio& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendAudio* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendAudio_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CCSUsrMsg_SendAudio& a, CCSUsrMsg_SendAudio& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendAudio* 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(CCSUsrMsg_SendAudio* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendAudio& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendAudio& from) { + CCSUsrMsg_SendAudio::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(CCSUsrMsg_SendAudio* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendAudio"; + } + protected: + explicit CCSUsrMsg_SendAudio(::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 { + kRadioSoundFieldNumber = 1, + }; + // optional string radio_sound = 1; + bool has_radio_sound() const; + private: + bool _internal_has_radio_sound() const; + public: + void clear_radio_sound(); + const std::string& radio_sound() const; + template + void set_radio_sound(ArgT0&& arg0, ArgT... args); + std::string* mutable_radio_sound(); + PROTOBUF_NODISCARD std::string* release_radio_sound(); + void set_allocated_radio_sound(std::string* radio_sound); + private: + const std::string& _internal_radio_sound() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_radio_sound(const std::string& value); + std::string* _internal_mutable_radio_sound(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendAudio) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr radio_sound_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RawAudio final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RawAudio) */ { + public: + inline CCSUsrMsg_RawAudio() : CCSUsrMsg_RawAudio(nullptr) {} + ~CCSUsrMsg_RawAudio() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RawAudio(const CCSUsrMsg_RawAudio& from); + CCSUsrMsg_RawAudio(CCSUsrMsg_RawAudio&& from) noexcept + : CCSUsrMsg_RawAudio() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RawAudio& operator=(const CCSUsrMsg_RawAudio& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RawAudio& operator=(CCSUsrMsg_RawAudio&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RawAudio& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RawAudio* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RawAudio_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CCSUsrMsg_RawAudio& a, CCSUsrMsg_RawAudio& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RawAudio* 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(CCSUsrMsg_RawAudio* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RawAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RawAudio& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RawAudio& from) { + CCSUsrMsg_RawAudio::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(CCSUsrMsg_RawAudio* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RawAudio"; + } + protected: + explicit CCSUsrMsg_RawAudio(::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 { + kVoiceFilenameFieldNumber = 4, + kPitchFieldNumber = 1, + kDurationFieldNumber = 3, + kEntidxFieldNumber = 2, + }; + // optional string voice_filename = 4; + bool has_voice_filename() const; + private: + bool _internal_has_voice_filename() const; + public: + void clear_voice_filename(); + const std::string& voice_filename() const; + template + void set_voice_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_voice_filename(); + PROTOBUF_NODISCARD std::string* release_voice_filename(); + void set_allocated_voice_filename(std::string* voice_filename); + private: + const std::string& _internal_voice_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_filename(const std::string& value); + std::string* _internal_mutable_voice_filename(); + public: + + // optional int32 pitch = 1; + bool has_pitch() const; + private: + bool _internal_has_pitch() const; + public: + void clear_pitch(); + int32_t pitch() const; + void set_pitch(int32_t value); + private: + int32_t _internal_pitch() const; + void _internal_set_pitch(int32_t value); + public: + + // optional float duration = 3; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional int32 entidx = 2 [default = -1]; + bool has_entidx() const; + private: + bool _internal_has_entidx() const; + public: + void clear_entidx(); + int32_t entidx() const; + void set_entidx(int32_t value); + private: + int32_t _internal_entidx() const; + void _internal_set_entidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RawAudio) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_filename_; + int32_t pitch_; + float duration_; + int32_t entidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VoiceMask_PlayerMask final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoiceMask.PlayerMask) */ { + public: + inline CCSUsrMsg_VoiceMask_PlayerMask() : CCSUsrMsg_VoiceMask_PlayerMask(nullptr) {} + ~CCSUsrMsg_VoiceMask_PlayerMask() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VoiceMask_PlayerMask(const CCSUsrMsg_VoiceMask_PlayerMask& from); + CCSUsrMsg_VoiceMask_PlayerMask(CCSUsrMsg_VoiceMask_PlayerMask&& from) noexcept + : CCSUsrMsg_VoiceMask_PlayerMask() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VoiceMask_PlayerMask& operator=(const CCSUsrMsg_VoiceMask_PlayerMask& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VoiceMask_PlayerMask& operator=(CCSUsrMsg_VoiceMask_PlayerMask&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VoiceMask_PlayerMask& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VoiceMask_PlayerMask* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VoiceMask_PlayerMask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CCSUsrMsg_VoiceMask_PlayerMask& a, CCSUsrMsg_VoiceMask_PlayerMask& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VoiceMask_PlayerMask* 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(CCSUsrMsg_VoiceMask_PlayerMask* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VoiceMask_PlayerMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VoiceMask_PlayerMask& from) { + CCSUsrMsg_VoiceMask_PlayerMask::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(CCSUsrMsg_VoiceMask_PlayerMask* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VoiceMask.PlayerMask"; + } + protected: + explicit CCSUsrMsg_VoiceMask_PlayerMask(::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 { + kGameRulesMaskFieldNumber = 1, + kBanMasksFieldNumber = 2, + }; + // optional int32 game_rules_mask = 1; + bool has_game_rules_mask() const; + private: + bool _internal_has_game_rules_mask() const; + public: + void clear_game_rules_mask(); + int32_t game_rules_mask() const; + void set_game_rules_mask(int32_t value); + private: + int32_t _internal_game_rules_mask() const; + void _internal_set_game_rules_mask(int32_t value); + public: + + // optional int32 ban_masks = 2; + bool has_ban_masks() const; + private: + bool _internal_has_ban_masks() const; + public: + void clear_ban_masks(); + int32_t ban_masks() const; + void set_ban_masks(int32_t value); + private: + int32_t _internal_ban_masks() const; + void _internal_set_ban_masks(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoiceMask.PlayerMask) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t game_rules_mask_; + int32_t ban_masks_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VoiceMask final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoiceMask) */ { + public: + inline CCSUsrMsg_VoiceMask() : CCSUsrMsg_VoiceMask(nullptr) {} + ~CCSUsrMsg_VoiceMask() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VoiceMask(const CCSUsrMsg_VoiceMask& from); + CCSUsrMsg_VoiceMask(CCSUsrMsg_VoiceMask&& from) noexcept + : CCSUsrMsg_VoiceMask() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VoiceMask& operator=(const CCSUsrMsg_VoiceMask& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VoiceMask& operator=(CCSUsrMsg_VoiceMask&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VoiceMask& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VoiceMask* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VoiceMask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CCSUsrMsg_VoiceMask& a, CCSUsrMsg_VoiceMask& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VoiceMask* 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(CCSUsrMsg_VoiceMask* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VoiceMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VoiceMask& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VoiceMask& from) { + CCSUsrMsg_VoiceMask::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(CCSUsrMsg_VoiceMask* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VoiceMask"; + } + protected: + explicit CCSUsrMsg_VoiceMask(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_VoiceMask_PlayerMask PlayerMask; + + // accessors ------------------------------------------------------- + + enum : int { + kPlayerMasksFieldNumber = 1, + kPlayerModEnableFieldNumber = 2, + }; + // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; + int player_masks_size() const; + private: + int _internal_player_masks_size() const; + public: + void clear_player_masks(); + ::CCSUsrMsg_VoiceMask_PlayerMask* mutable_player_masks(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >* + mutable_player_masks(); + private: + const ::CCSUsrMsg_VoiceMask_PlayerMask& _internal_player_masks(int index) const; + ::CCSUsrMsg_VoiceMask_PlayerMask* _internal_add_player_masks(); + public: + const ::CCSUsrMsg_VoiceMask_PlayerMask& player_masks(int index) const; + ::CCSUsrMsg_VoiceMask_PlayerMask* add_player_masks(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >& + player_masks() const; + + // optional bool player_mod_enable = 2; + bool has_player_mod_enable() const; + private: + bool _internal_has_player_mod_enable() const; + public: + void clear_player_mod_enable(); + bool player_mod_enable() const; + void set_player_mod_enable(bool value); + private: + bool _internal_player_mod_enable() const; + void _internal_set_player_mod_enable(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoiceMask) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask > player_masks_; + bool player_mod_enable_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_Damage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Damage) */ { + public: + inline CCSUsrMsg_Damage() : CCSUsrMsg_Damage(nullptr) {} + ~CCSUsrMsg_Damage() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_Damage(const CCSUsrMsg_Damage& from); + CCSUsrMsg_Damage(CCSUsrMsg_Damage&& from) noexcept + : CCSUsrMsg_Damage() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_Damage& operator=(const CCSUsrMsg_Damage& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_Damage& operator=(CCSUsrMsg_Damage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_Damage& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_Damage* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_Damage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CCSUsrMsg_Damage& a, CCSUsrMsg_Damage& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_Damage* 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(CCSUsrMsg_Damage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_Damage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_Damage& from) { + CCSUsrMsg_Damage::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(CCSUsrMsg_Damage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_Damage"; + } + protected: + explicit CCSUsrMsg_Damage(::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 { + kInflictorWorldPosFieldNumber = 2, + kAmountFieldNumber = 1, + kVictimEntindexFieldNumber = 3, + }; + // optional .CMsgVector inflictor_world_pos = 2; + bool has_inflictor_world_pos() const; + private: + bool _internal_has_inflictor_world_pos() const; + public: + void clear_inflictor_world_pos(); + const ::CMsgVector& inflictor_world_pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_inflictor_world_pos(); + ::CMsgVector* mutable_inflictor_world_pos(); + void set_allocated_inflictor_world_pos(::CMsgVector* inflictor_world_pos); + private: + const ::CMsgVector& _internal_inflictor_world_pos() const; + ::CMsgVector* _internal_mutable_inflictor_world_pos(); + public: + void unsafe_arena_set_allocated_inflictor_world_pos( + ::CMsgVector* inflictor_world_pos); + ::CMsgVector* unsafe_arena_release_inflictor_world_pos(); + + // optional int32 amount = 1; + bool has_amount() const; + private: + bool _internal_has_amount() const; + public: + void clear_amount(); + int32_t amount() const; + void set_amount(int32_t value); + private: + int32_t _internal_amount() const; + void _internal_set_amount(int32_t value); + public: + + // optional int32 victim_entindex = 3 [default = -1]; + bool has_victim_entindex() const; + private: + bool _internal_has_victim_entindex() const; + public: + void clear_victim_entindex(); + int32_t victim_entindex() const; + void set_victim_entindex(int32_t value); + private: + int32_t _internal_victim_entindex() const; + void _internal_set_victim_entindex(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_Damage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* inflictor_world_pos_; + int32_t amount_; + int32_t victim_entindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RadioText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RadioText) */ { + public: + inline CCSUsrMsg_RadioText() : CCSUsrMsg_RadioText(nullptr) {} + ~CCSUsrMsg_RadioText() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RadioText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RadioText(const CCSUsrMsg_RadioText& from); + CCSUsrMsg_RadioText(CCSUsrMsg_RadioText&& from) noexcept + : CCSUsrMsg_RadioText() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RadioText& operator=(const CCSUsrMsg_RadioText& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RadioText& operator=(CCSUsrMsg_RadioText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RadioText& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RadioText* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RadioText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CCSUsrMsg_RadioText& a, CCSUsrMsg_RadioText& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RadioText* 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(CCSUsrMsg_RadioText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RadioText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RadioText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RadioText& from) { + CCSUsrMsg_RadioText::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(CCSUsrMsg_RadioText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RadioText"; + } + protected: + explicit CCSUsrMsg_RadioText(::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 { + kParamsFieldNumber = 4, + kMsgNameFieldNumber = 3, + kMsgDstFieldNumber = 1, + kClientFieldNumber = 2, + }; + // repeated string params = 4; + int params_size() const; + private: + int _internal_params_size() const; + public: + void clear_params(); + const std::string& params(int index) const; + std::string* mutable_params(int index); + void set_params(int index, const std::string& value); + void set_params(int index, std::string&& value); + void set_params(int index, const char* value); + void set_params(int index, const char* value, size_t size); + std::string* add_params(); + void add_params(const std::string& value); + void add_params(std::string&& value); + void add_params(const char* value); + void add_params(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& params() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_params(); + private: + const std::string& _internal_params(int index) const; + std::string* _internal_add_params(); + public: + + // optional string msg_name = 3; + bool has_msg_name() const; + private: + bool _internal_has_msg_name() const; + public: + void clear_msg_name(); + const std::string& msg_name() const; + template + void set_msg_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_msg_name(); + PROTOBUF_NODISCARD std::string* release_msg_name(); + void set_allocated_msg_name(std::string* msg_name); + private: + const std::string& _internal_msg_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_name(const std::string& value); + std::string* _internal_mutable_msg_name(); + public: + + // optional int32 msg_dst = 1; + bool has_msg_dst() const; + private: + bool _internal_has_msg_dst() const; + public: + void clear_msg_dst(); + int32_t msg_dst() const; + void set_msg_dst(int32_t value); + private: + int32_t _internal_msg_dst() const; + void _internal_set_msg_dst(int32_t value); + public: + + // optional int32 client = 2 [default = -1]; + bool has_client() const; + private: + bool _internal_has_client() const; + public: + void clear_client(); + int32_t client() const; + void set_client(int32_t value); + private: + int32_t _internal_client() const; + void _internal_set_client(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RadioText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField params_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_name_; + int32_t msg_dst_; + int32_t client_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_HintText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HintText) */ { + public: + inline CCSUsrMsg_HintText() : CCSUsrMsg_HintText(nullptr) {} + ~CCSUsrMsg_HintText() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HintText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_HintText(const CCSUsrMsg_HintText& from); + CCSUsrMsg_HintText(CCSUsrMsg_HintText&& from) noexcept + : CCSUsrMsg_HintText() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_HintText& operator=(const CCSUsrMsg_HintText& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_HintText& operator=(CCSUsrMsg_HintText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_HintText& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_HintText* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_HintText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CCSUsrMsg_HintText& a, CCSUsrMsg_HintText& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_HintText* 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(CCSUsrMsg_HintText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_HintText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_HintText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_HintText& from) { + CCSUsrMsg_HintText::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(CCSUsrMsg_HintText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_HintText"; + } + protected: + explicit CCSUsrMsg_HintText(::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 { + kMessageFieldNumber = 1, + }; + // optional string message = 1; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_HintText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_KeyHintText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_KeyHintText) */ { + public: + inline CCSUsrMsg_KeyHintText() : CCSUsrMsg_KeyHintText(nullptr) {} + ~CCSUsrMsg_KeyHintText() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_KeyHintText(const CCSUsrMsg_KeyHintText& from); + CCSUsrMsg_KeyHintText(CCSUsrMsg_KeyHintText&& from) noexcept + : CCSUsrMsg_KeyHintText() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_KeyHintText& operator=(const CCSUsrMsg_KeyHintText& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_KeyHintText& operator=(CCSUsrMsg_KeyHintText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_KeyHintText& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_KeyHintText* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_KeyHintText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CCSUsrMsg_KeyHintText& a, CCSUsrMsg_KeyHintText& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_KeyHintText* 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(CCSUsrMsg_KeyHintText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_KeyHintText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_KeyHintText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_KeyHintText& from) { + CCSUsrMsg_KeyHintText::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(CCSUsrMsg_KeyHintText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_KeyHintText"; + } + protected: + explicit CCSUsrMsg_KeyHintText(::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 { + kMessagesFieldNumber = 1, + }; + // repeated string messages = 1; + int messages_size() const; + private: + int _internal_messages_size() const; + public: + void clear_messages(); + const std::string& messages(int index) const; + std::string* mutable_messages(int index); + void set_messages(int index, const std::string& value); + void set_messages(int index, std::string&& value); + void set_messages(int index, const char* value); + void set_messages(int index, const char* value, size_t size); + std::string* add_messages(); + void add_messages(const std::string& value); + void add_messages(std::string&& value); + void add_messages(const char* value); + void add_messages(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& messages() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_messages(); + private: + const std::string& _internal_messages(int index) const; + std::string* _internal_add_messages(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_KeyHintText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField messages_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) */ { + public: + inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() : CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(nullptr) {} + ~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from); + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate&& from) noexcept + : CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& operator=(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& operator=(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& a, CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* 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(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { + CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::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(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate"; + } + protected: + explicit CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::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 { + kClassIdFieldNumber = 2, + kOriginXFieldNumber = 3, + kOriginYFieldNumber = 4, + kOriginZFieldNumber = 5, + kAngleYFieldNumber = 6, + kDefuserFieldNumber = 7, + kPlayerHasDefuserFieldNumber = 8, + kPlayerHasC4FieldNumber = 9, + kEntityIdxFieldNumber = 1, + }; + // optional int32 class_id = 2; + bool has_class_id() const; + private: + bool _internal_has_class_id() const; + public: + void clear_class_id(); + int32_t class_id() const; + void set_class_id(int32_t value); + private: + int32_t _internal_class_id() const; + void _internal_set_class_id(int32_t value); + public: + + // optional int32 origin_x = 3; + bool has_origin_x() const; + private: + bool _internal_has_origin_x() const; + public: + void clear_origin_x(); + int32_t origin_x() const; + void set_origin_x(int32_t value); + private: + int32_t _internal_origin_x() const; + void _internal_set_origin_x(int32_t value); + public: + + // optional int32 origin_y = 4; + bool has_origin_y() const; + private: + bool _internal_has_origin_y() const; + public: + void clear_origin_y(); + int32_t origin_y() const; + void set_origin_y(int32_t value); + private: + int32_t _internal_origin_y() const; + void _internal_set_origin_y(int32_t value); + public: + + // optional int32 origin_z = 5; + bool has_origin_z() const; + private: + bool _internal_has_origin_z() const; + public: + void clear_origin_z(); + int32_t origin_z() const; + void set_origin_z(int32_t value); + private: + int32_t _internal_origin_z() const; + void _internal_set_origin_z(int32_t value); + public: + + // optional int32 angle_y = 6; + bool has_angle_y() const; + private: + bool _internal_has_angle_y() const; + public: + void clear_angle_y(); + int32_t angle_y() const; + void set_angle_y(int32_t value); + private: + int32_t _internal_angle_y() const; + void _internal_set_angle_y(int32_t value); + public: + + // optional bool defuser = 7; + bool has_defuser() const; + private: + bool _internal_has_defuser() const; + public: + void clear_defuser(); + bool defuser() const; + void set_defuser(bool value); + private: + bool _internal_defuser() const; + void _internal_set_defuser(bool value); + public: + + // optional bool player_has_defuser = 8; + bool has_player_has_defuser() const; + private: + bool _internal_has_player_has_defuser() const; + public: + void clear_player_has_defuser(); + bool player_has_defuser() const; + void set_player_has_defuser(bool value); + private: + bool _internal_player_has_defuser() const; + void _internal_set_player_has_defuser(bool value); + public: + + // optional bool player_has_c4 = 9; + bool has_player_has_c4() const; + private: + bool _internal_has_player_has_c4() const; + public: + void clear_player_has_c4(); + bool player_has_c4() const; + void set_player_has_c4(bool value); + private: + bool _internal_player_has_c4() const; + void _internal_set_player_has_c4(bool value); + public: + + // optional int32 entity_idx = 1 [default = -1]; + bool has_entity_idx() const; + private: + bool _internal_has_entity_idx() const; + public: + void clear_entity_idx(); + int32_t entity_idx() const; + void set_entity_idx(int32_t value); + private: + int32_t _internal_entity_idx() const; + void _internal_set_entity_idx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t class_id_; + int32_t origin_x_; + int32_t origin_y_; + int32_t origin_z_; + int32_t angle_y_; + bool defuser_; + bool player_has_defuser_; + bool player_has_c4_; + int32_t entity_idx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ProcessSpottedEntityUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ProcessSpottedEntityUpdate) */ { + public: + inline CCSUsrMsg_ProcessSpottedEntityUpdate() : CCSUsrMsg_ProcessSpottedEntityUpdate(nullptr) {} + ~CCSUsrMsg_ProcessSpottedEntityUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ProcessSpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate& from); + CCSUsrMsg_ProcessSpottedEntityUpdate(CCSUsrMsg_ProcessSpottedEntityUpdate&& from) noexcept + : CCSUsrMsg_ProcessSpottedEntityUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ProcessSpottedEntityUpdate& operator=(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ProcessSpottedEntityUpdate& operator=(CCSUsrMsg_ProcessSpottedEntityUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ProcessSpottedEntityUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ProcessSpottedEntityUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CCSUsrMsg_ProcessSpottedEntityUpdate& a, CCSUsrMsg_ProcessSpottedEntityUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ProcessSpottedEntityUpdate* 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(CCSUsrMsg_ProcessSpottedEntityUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ProcessSpottedEntityUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { + CCSUsrMsg_ProcessSpottedEntityUpdate::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(CCSUsrMsg_ProcessSpottedEntityUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ProcessSpottedEntityUpdate"; + } + protected: + explicit CCSUsrMsg_ProcessSpottedEntityUpdate(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate SpottedEntityUpdate; + + // accessors ------------------------------------------------------- + + enum : int { + kEntityUpdatesFieldNumber = 2, + kNewUpdateFieldNumber = 1, + }; + // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; + int entity_updates_size() const; + private: + int _internal_entity_updates_size() const; + public: + void clear_entity_updates(); + ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* mutable_entity_updates(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >* + mutable_entity_updates(); + private: + const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& _internal_entity_updates(int index) const; + ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* _internal_add_entity_updates(); + public: + const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& entity_updates(int index) const; + ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* add_entity_updates(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >& + entity_updates() const; + + // optional bool new_update = 1; + bool has_new_update() const; + private: + bool _internal_has_new_update() const; + public: + void clear_new_update(); + bool new_update() const; + void set_new_update(bool value); + private: + bool _internal_new_update() const; + void _internal_set_new_update(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ProcessSpottedEntityUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate > entity_updates_; + bool new_update_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendPlayerItemDrops final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerItemDrops) */ { + public: + inline CCSUsrMsg_SendPlayerItemDrops() : CCSUsrMsg_SendPlayerItemDrops(nullptr) {} + ~CCSUsrMsg_SendPlayerItemDrops() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDrops(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendPlayerItemDrops(const CCSUsrMsg_SendPlayerItemDrops& from); + CCSUsrMsg_SendPlayerItemDrops(CCSUsrMsg_SendPlayerItemDrops&& from) noexcept + : CCSUsrMsg_SendPlayerItemDrops() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendPlayerItemDrops& operator=(const CCSUsrMsg_SendPlayerItemDrops& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendPlayerItemDrops& operator=(CCSUsrMsg_SendPlayerItemDrops&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendPlayerItemDrops& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendPlayerItemDrops* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendPlayerItemDrops_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CCSUsrMsg_SendPlayerItemDrops& a, CCSUsrMsg_SendPlayerItemDrops& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendPlayerItemDrops* 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(CCSUsrMsg_SendPlayerItemDrops* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendPlayerItemDrops* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendPlayerItemDrops& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendPlayerItemDrops& from) { + CCSUsrMsg_SendPlayerItemDrops::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(CCSUsrMsg_SendPlayerItemDrops* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendPlayerItemDrops"; + } + protected: + explicit CCSUsrMsg_SendPlayerItemDrops(::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 { + kEntityUpdatesFieldNumber = 1, + }; + // repeated .CEconItemPreviewDataBlock entity_updates = 1; + int entity_updates_size() const; + private: + int _internal_entity_updates_size() const; + public: + void clear_entity_updates(); + ::CEconItemPreviewDataBlock* mutable_entity_updates(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* + mutable_entity_updates(); + private: + const ::CEconItemPreviewDataBlock& _internal_entity_updates(int index) const; + ::CEconItemPreviewDataBlock* _internal_add_entity_updates(); + public: + const ::CEconItemPreviewDataBlock& entity_updates(int index) const; + ::CEconItemPreviewDataBlock* add_entity_updates(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& + entity_updates() const; + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerItemDrops) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock > entity_updates_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendPlayerItemFound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerItemFound) */ { + public: + inline CCSUsrMsg_SendPlayerItemFound() : CCSUsrMsg_SendPlayerItemFound(nullptr) {} + ~CCSUsrMsg_SendPlayerItemFound() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendPlayerItemFound(const CCSUsrMsg_SendPlayerItemFound& from); + CCSUsrMsg_SendPlayerItemFound(CCSUsrMsg_SendPlayerItemFound&& from) noexcept + : CCSUsrMsg_SendPlayerItemFound() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendPlayerItemFound& operator=(const CCSUsrMsg_SendPlayerItemFound& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendPlayerItemFound& operator=(CCSUsrMsg_SendPlayerItemFound&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendPlayerItemFound& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendPlayerItemFound* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendPlayerItemFound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CCSUsrMsg_SendPlayerItemFound& a, CCSUsrMsg_SendPlayerItemFound& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendPlayerItemFound* 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(CCSUsrMsg_SendPlayerItemFound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendPlayerItemFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendPlayerItemFound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendPlayerItemFound& from) { + CCSUsrMsg_SendPlayerItemFound::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(CCSUsrMsg_SendPlayerItemFound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendPlayerItemFound"; + } + protected: + explicit CCSUsrMsg_SendPlayerItemFound(::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 { + kIteminfoFieldNumber = 1, + kPlayerslotFieldNumber = 2, + }; + // optional .CEconItemPreviewDataBlock iteminfo = 1; + bool has_iteminfo() const; + private: + bool _internal_has_iteminfo() const; + public: + void clear_iteminfo(); + const ::CEconItemPreviewDataBlock& iteminfo() const; + PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); + ::CEconItemPreviewDataBlock* mutable_iteminfo(); + void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); + private: + const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; + ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); + public: + void unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo); + ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); + + // optional int32 playerslot = 2 [default = -1]; + bool has_playerslot() const; + private: + bool _internal_has_playerslot() const; + public: + void clear_playerslot(); + int32_t playerslot() const; + void set_playerslot(int32_t value); + private: + int32_t _internal_playerslot() const; + void _internal_set_playerslot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerItemFound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEconItemPreviewDataBlock* iteminfo_; + int32_t playerslot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ReloadEffect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ReloadEffect) */ { + public: + inline CCSUsrMsg_ReloadEffect() : CCSUsrMsg_ReloadEffect(nullptr) {} + ~CCSUsrMsg_ReloadEffect() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ReloadEffect(const CCSUsrMsg_ReloadEffect& from); + CCSUsrMsg_ReloadEffect(CCSUsrMsg_ReloadEffect&& from) noexcept + : CCSUsrMsg_ReloadEffect() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ReloadEffect& operator=(const CCSUsrMsg_ReloadEffect& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ReloadEffect& operator=(CCSUsrMsg_ReloadEffect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ReloadEffect& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ReloadEffect* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ReloadEffect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CCSUsrMsg_ReloadEffect& a, CCSUsrMsg_ReloadEffect& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ReloadEffect* 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(CCSUsrMsg_ReloadEffect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ReloadEffect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ReloadEffect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ReloadEffect& from) { + CCSUsrMsg_ReloadEffect::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(CCSUsrMsg_ReloadEffect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ReloadEffect"; + } + protected: + explicit CCSUsrMsg_ReloadEffect(::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 { + kActanimFieldNumber = 2, + kOriginXFieldNumber = 3, + kOriginYFieldNumber = 4, + kOriginZFieldNumber = 5, + kEntidxFieldNumber = 1, + }; + // optional int32 actanim = 2; + bool has_actanim() const; + private: + bool _internal_has_actanim() const; + public: + void clear_actanim(); + int32_t actanim() const; + void set_actanim(int32_t value); + private: + int32_t _internal_actanim() const; + void _internal_set_actanim(int32_t value); + public: + + // optional float origin_x = 3; + bool has_origin_x() const; + private: + bool _internal_has_origin_x() const; + public: + void clear_origin_x(); + float origin_x() const; + void set_origin_x(float value); + private: + float _internal_origin_x() const; + void _internal_set_origin_x(float value); + public: + + // optional float origin_y = 4; + bool has_origin_y() const; + private: + bool _internal_has_origin_y() const; + public: + void clear_origin_y(); + float origin_y() const; + void set_origin_y(float value); + private: + float _internal_origin_y() const; + void _internal_set_origin_y(float value); + public: + + // optional float origin_z = 5; + bool has_origin_z() const; + private: + bool _internal_has_origin_z() const; + public: + void clear_origin_z(); + float origin_z() const; + void set_origin_z(float value); + private: + float _internal_origin_z() const; + void _internal_set_origin_z(float value); + public: + + // optional int32 entidx = 1 [default = -1]; + bool has_entidx() const; + private: + bool _internal_has_entidx() const; + public: + void clear_entidx(); + int32_t entidx() const; + void set_entidx(int32_t value); + private: + int32_t _internal_entidx() const; + void _internal_set_entidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ReloadEffect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t actanim_; + float origin_x_; + float origin_y_; + float origin_z_; + int32_t entidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_WeaponSound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_WeaponSound) */ { + public: + inline CCSUsrMsg_WeaponSound() : CCSUsrMsg_WeaponSound(nullptr) {} + ~CCSUsrMsg_WeaponSound() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_WeaponSound(const CCSUsrMsg_WeaponSound& from); + CCSUsrMsg_WeaponSound(CCSUsrMsg_WeaponSound&& from) noexcept + : CCSUsrMsg_WeaponSound() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_WeaponSound& operator=(const CCSUsrMsg_WeaponSound& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_WeaponSound& operator=(CCSUsrMsg_WeaponSound&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_WeaponSound& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_WeaponSound* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_WeaponSound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CCSUsrMsg_WeaponSound& a, CCSUsrMsg_WeaponSound& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_WeaponSound* 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(CCSUsrMsg_WeaponSound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_WeaponSound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_WeaponSound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_WeaponSound& from) { + CCSUsrMsg_WeaponSound::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(CCSUsrMsg_WeaponSound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_WeaponSound"; + } + protected: + explicit CCSUsrMsg_WeaponSound(::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 { + kSoundFieldNumber = 5, + kOriginXFieldNumber = 2, + kOriginYFieldNumber = 3, + kOriginZFieldNumber = 4, + kGameTimestampFieldNumber = 6, + kSourceSoundscapeidFieldNumber = 7, + kEntidxFieldNumber = 1, + }; + // optional string sound = 5; + bool has_sound() const; + private: + bool _internal_has_sound() const; + public: + void clear_sound(); + const std::string& sound() const; + template + void set_sound(ArgT0&& arg0, ArgT... args); + std::string* mutable_sound(); + PROTOBUF_NODISCARD std::string* release_sound(); + void set_allocated_sound(std::string* sound); + private: + const std::string& _internal_sound() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sound(const std::string& value); + std::string* _internal_mutable_sound(); + public: + + // optional float origin_x = 2; + bool has_origin_x() const; + private: + bool _internal_has_origin_x() const; + public: + void clear_origin_x(); + float origin_x() const; + void set_origin_x(float value); + private: + float _internal_origin_x() const; + void _internal_set_origin_x(float value); + public: + + // optional float origin_y = 3; + bool has_origin_y() const; + private: + bool _internal_has_origin_y() const; + public: + void clear_origin_y(); + float origin_y() const; + void set_origin_y(float value); + private: + float _internal_origin_y() const; + void _internal_set_origin_y(float value); + public: + + // optional float origin_z = 4; + bool has_origin_z() const; + private: + bool _internal_has_origin_z() const; + public: + void clear_origin_z(); + float origin_z() const; + void set_origin_z(float value); + private: + float _internal_origin_z() const; + void _internal_set_origin_z(float value); + public: + + // optional float game_timestamp = 6; + bool has_game_timestamp() const; + private: + bool _internal_has_game_timestamp() const; + public: + void clear_game_timestamp(); + float game_timestamp() const; + void set_game_timestamp(float value); + private: + float _internal_game_timestamp() const; + void _internal_set_game_timestamp(float value); + public: + + // optional fixed32 source_soundscapeid = 7; + bool has_source_soundscapeid() const; + private: + bool _internal_has_source_soundscapeid() const; + public: + void clear_source_soundscapeid(); + uint32_t source_soundscapeid() const; + void set_source_soundscapeid(uint32_t value); + private: + uint32_t _internal_source_soundscapeid() const; + void _internal_set_source_soundscapeid(uint32_t value); + public: + + // optional int32 entidx = 1 [default = -1]; + bool has_entidx() const; + private: + bool _internal_has_entidx() const; + public: + void clear_entidx(); + int32_t entidx() const; + void set_entidx(int32_t value); + private: + int32_t _internal_entidx() const; + void _internal_set_entidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_WeaponSound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sound_; + float origin_x_; + float origin_y_; + float origin_z_; + float game_timestamp_; + uint32_t source_soundscapeid_; + int32_t entidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_UpdateScreenHealthBar final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_UpdateScreenHealthBar) */ { + public: + inline CCSUsrMsg_UpdateScreenHealthBar() : CCSUsrMsg_UpdateScreenHealthBar(nullptr) {} + ~CCSUsrMsg_UpdateScreenHealthBar() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_UpdateScreenHealthBar(const CCSUsrMsg_UpdateScreenHealthBar& from); + CCSUsrMsg_UpdateScreenHealthBar(CCSUsrMsg_UpdateScreenHealthBar&& from) noexcept + : CCSUsrMsg_UpdateScreenHealthBar() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_UpdateScreenHealthBar& operator=(const CCSUsrMsg_UpdateScreenHealthBar& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_UpdateScreenHealthBar& operator=(CCSUsrMsg_UpdateScreenHealthBar&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_UpdateScreenHealthBar& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_UpdateScreenHealthBar* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_UpdateScreenHealthBar_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CCSUsrMsg_UpdateScreenHealthBar& a, CCSUsrMsg_UpdateScreenHealthBar& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_UpdateScreenHealthBar* 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(CCSUsrMsg_UpdateScreenHealthBar* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_UpdateScreenHealthBar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_UpdateScreenHealthBar& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_UpdateScreenHealthBar& from) { + CCSUsrMsg_UpdateScreenHealthBar::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(CCSUsrMsg_UpdateScreenHealthBar* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_UpdateScreenHealthBar"; + } + protected: + explicit CCSUsrMsg_UpdateScreenHealthBar(::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 { + kHealthratioOldFieldNumber = 2, + kHealthratioNewFieldNumber = 3, + kStyleFieldNumber = 4, + kEntidxFieldNumber = 1, + }; + // optional float healthratio_old = 2; + bool has_healthratio_old() const; + private: + bool _internal_has_healthratio_old() const; + public: + void clear_healthratio_old(); + float healthratio_old() const; + void set_healthratio_old(float value); + private: + float _internal_healthratio_old() const; + void _internal_set_healthratio_old(float value); + public: + + // optional float healthratio_new = 3; + bool has_healthratio_new() const; + private: + bool _internal_has_healthratio_new() const; + public: + void clear_healthratio_new(); + float healthratio_new() const; + void set_healthratio_new(float value); + private: + float _internal_healthratio_new() const; + void _internal_set_healthratio_new(float value); + public: + + // optional int32 style = 4; + bool has_style() const; + private: + bool _internal_has_style() const; + public: + void clear_style(); + int32_t style() const; + void set_style(int32_t value); + private: + int32_t _internal_style() const; + void _internal_set_style(int32_t value); + public: + + // optional int32 entidx = 1 [default = -1]; + bool has_entidx() const; + private: + bool _internal_has_entidx() const; + public: + void clear_entidx(); + int32_t entidx() const; + void set_entidx(int32_t value); + private: + int32_t _internal_entidx() const; + void _internal_set_entidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_UpdateScreenHealthBar) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float healthratio_old_; + float healthratio_new_; + int32_t style_; + int32_t entidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_EntityOutlineHighlight final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EntityOutlineHighlight) */ { + public: + inline CCSUsrMsg_EntityOutlineHighlight() : CCSUsrMsg_EntityOutlineHighlight(nullptr) {} + ~CCSUsrMsg_EntityOutlineHighlight() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_EntityOutlineHighlight(const CCSUsrMsg_EntityOutlineHighlight& from); + CCSUsrMsg_EntityOutlineHighlight(CCSUsrMsg_EntityOutlineHighlight&& from) noexcept + : CCSUsrMsg_EntityOutlineHighlight() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_EntityOutlineHighlight& operator=(const CCSUsrMsg_EntityOutlineHighlight& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_EntityOutlineHighlight& operator=(CCSUsrMsg_EntityOutlineHighlight&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_EntityOutlineHighlight& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_EntityOutlineHighlight* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_EntityOutlineHighlight_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CCSUsrMsg_EntityOutlineHighlight& a, CCSUsrMsg_EntityOutlineHighlight& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_EntityOutlineHighlight* 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(CCSUsrMsg_EntityOutlineHighlight* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_EntityOutlineHighlight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_EntityOutlineHighlight& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_EntityOutlineHighlight& from) { + CCSUsrMsg_EntityOutlineHighlight::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(CCSUsrMsg_EntityOutlineHighlight* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_EntityOutlineHighlight"; + } + protected: + explicit CCSUsrMsg_EntityOutlineHighlight(::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 { + kRemovehighlightFieldNumber = 2, + kEntidxFieldNumber = 1, + }; + // optional bool removehighlight = 2; + bool has_removehighlight() const; + private: + bool _internal_has_removehighlight() const; + public: + void clear_removehighlight(); + bool removehighlight() const; + void set_removehighlight(bool value); + private: + bool _internal_removehighlight() const; + void _internal_set_removehighlight(bool value); + public: + + // optional int32 entidx = 1 [default = -1]; + bool has_entidx() const; + private: + bool _internal_has_entidx() const; + public: + void clear_entidx(); + int32_t entidx() const; + void set_entidx(int32_t value); + private: + int32_t _internal_entidx() const; + void _internal_set_entidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_EntityOutlineHighlight) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool removehighlight_; + int32_t entidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_AdjustMoney final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AdjustMoney) */ { + public: + inline CCSUsrMsg_AdjustMoney() : CCSUsrMsg_AdjustMoney(nullptr) {} + ~CCSUsrMsg_AdjustMoney() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_AdjustMoney(const CCSUsrMsg_AdjustMoney& from); + CCSUsrMsg_AdjustMoney(CCSUsrMsg_AdjustMoney&& from) noexcept + : CCSUsrMsg_AdjustMoney() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_AdjustMoney& operator=(const CCSUsrMsg_AdjustMoney& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_AdjustMoney& operator=(CCSUsrMsg_AdjustMoney&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_AdjustMoney& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_AdjustMoney* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_AdjustMoney_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CCSUsrMsg_AdjustMoney& a, CCSUsrMsg_AdjustMoney& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_AdjustMoney* 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(CCSUsrMsg_AdjustMoney* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_AdjustMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_AdjustMoney& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_AdjustMoney& from) { + CCSUsrMsg_AdjustMoney::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(CCSUsrMsg_AdjustMoney* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_AdjustMoney"; + } + protected: + explicit CCSUsrMsg_AdjustMoney(::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 { + kAmountFieldNumber = 1, + }; + // optional int32 amount = 1; + bool has_amount() const; + private: + bool _internal_has_amount() const; + public: + void clear_amount(); + int32_t amount() const; + void set_amount(int32_t value); + private: + int32_t _internal_amount() const; + void _internal_set_amount(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_AdjustMoney) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t amount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ReportHit final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ReportHit) */ { + public: + inline CCSUsrMsg_ReportHit() : CCSUsrMsg_ReportHit(nullptr) {} + ~CCSUsrMsg_ReportHit() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ReportHit(const CCSUsrMsg_ReportHit& from); + CCSUsrMsg_ReportHit(CCSUsrMsg_ReportHit&& from) noexcept + : CCSUsrMsg_ReportHit() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ReportHit& operator=(const CCSUsrMsg_ReportHit& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ReportHit& operator=(CCSUsrMsg_ReportHit&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ReportHit& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ReportHit* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ReportHit_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CCSUsrMsg_ReportHit& a, CCSUsrMsg_ReportHit& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ReportHit* 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(CCSUsrMsg_ReportHit* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ReportHit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ReportHit& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ReportHit& from) { + CCSUsrMsg_ReportHit::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(CCSUsrMsg_ReportHit* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ReportHit"; + } + protected: + explicit CCSUsrMsg_ReportHit(::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 { + kPosXFieldNumber = 1, + kPosYFieldNumber = 2, + kPosZFieldNumber = 3, + kTimestampFieldNumber = 4, + }; + // optional float pos_x = 1; + bool has_pos_x() const; + private: + bool _internal_has_pos_x() const; + public: + void clear_pos_x(); + float pos_x() const; + void set_pos_x(float value); + private: + float _internal_pos_x() const; + void _internal_set_pos_x(float value); + public: + + // optional float pos_y = 2; + bool has_pos_y() const; + private: + bool _internal_has_pos_y() const; + public: + void clear_pos_y(); + float pos_y() const; + void set_pos_y(float value); + private: + float _internal_pos_y() const; + void _internal_set_pos_y(float value); + public: + + // optional float pos_z = 3; + bool has_pos_z() const; + private: + bool _internal_has_pos_z() const; + public: + void clear_pos_z(); + float pos_z() const; + void set_pos_z(float value); + private: + float _internal_pos_z() const; + void _internal_set_pos_z(float value); + public: + + // optional float timestamp = 4; + bool has_timestamp() const; + private: + bool _internal_has_timestamp() const; + public: + void clear_timestamp(); + float timestamp() const; + void set_timestamp(float value); + private: + float _internal_timestamp() const; + void _internal_set_timestamp(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ReportHit) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float pos_x_; + float pos_y_; + float pos_z_; + float timestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_KillCam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_KillCam) */ { + public: + inline CCSUsrMsg_KillCam() : CCSUsrMsg_KillCam(nullptr) {} + ~CCSUsrMsg_KillCam() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_KillCam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_KillCam(const CCSUsrMsg_KillCam& from); + CCSUsrMsg_KillCam(CCSUsrMsg_KillCam&& from) noexcept + : CCSUsrMsg_KillCam() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_KillCam& operator=(const CCSUsrMsg_KillCam& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_KillCam& operator=(CCSUsrMsg_KillCam&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_KillCam& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_KillCam* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_KillCam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CCSUsrMsg_KillCam& a, CCSUsrMsg_KillCam& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_KillCam* 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(CCSUsrMsg_KillCam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_KillCam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_KillCam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_KillCam& from) { + CCSUsrMsg_KillCam::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(CCSUsrMsg_KillCam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_KillCam"; + } + protected: + explicit CCSUsrMsg_KillCam(::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 { + kObsModeFieldNumber = 1, + kFirstTargetFieldNumber = 2, + kSecondTargetFieldNumber = 3, + }; + // optional int32 obs_mode = 1; + bool has_obs_mode() const; + private: + bool _internal_has_obs_mode() const; + public: + void clear_obs_mode(); + int32_t obs_mode() const; + void set_obs_mode(int32_t value); + private: + int32_t _internal_obs_mode() const; + void _internal_set_obs_mode(int32_t value); + public: + + // optional int32 first_target = 2 [default = -1]; + bool has_first_target() const; + private: + bool _internal_has_first_target() const; + public: + void clear_first_target(); + int32_t first_target() const; + void set_first_target(int32_t value); + private: + int32_t _internal_first_target() const; + void _internal_set_first_target(int32_t value); + public: + + // optional int32 second_target = 3 [default = -1]; + bool has_second_target() const; + private: + bool _internal_has_second_target() const; + public: + void clear_second_target(); + int32_t second_target() const; + void set_second_target(int32_t value); + private: + int32_t _internal_second_target() const; + void _internal_set_second_target(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_KillCam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t obs_mode_; + int32_t first_target_; + int32_t second_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_DesiredTimescale final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DesiredTimescale) */ { + public: + inline CCSUsrMsg_DesiredTimescale() : CCSUsrMsg_DesiredTimescale(nullptr) {} + ~CCSUsrMsg_DesiredTimescale() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_DesiredTimescale(const CCSUsrMsg_DesiredTimescale& from); + CCSUsrMsg_DesiredTimescale(CCSUsrMsg_DesiredTimescale&& from) noexcept + : CCSUsrMsg_DesiredTimescale() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_DesiredTimescale& operator=(const CCSUsrMsg_DesiredTimescale& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_DesiredTimescale& operator=(CCSUsrMsg_DesiredTimescale&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_DesiredTimescale& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_DesiredTimescale* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_DesiredTimescale_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CCSUsrMsg_DesiredTimescale& a, CCSUsrMsg_DesiredTimescale& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_DesiredTimescale* 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(CCSUsrMsg_DesiredTimescale* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_DesiredTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_DesiredTimescale& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_DesiredTimescale& from) { + CCSUsrMsg_DesiredTimescale::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(CCSUsrMsg_DesiredTimescale* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_DesiredTimescale"; + } + protected: + explicit CCSUsrMsg_DesiredTimescale(::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 { + kDesiredTimescaleFieldNumber = 1, + kDurationRealtimeSecFieldNumber = 2, + kInterpolatorTypeFieldNumber = 3, + kStartBlendTimeFieldNumber = 4, + }; + // optional float desired_timescale = 1; + bool has_desired_timescale() const; + private: + bool _internal_has_desired_timescale() const; + public: + void clear_desired_timescale(); + float desired_timescale() const; + void set_desired_timescale(float value); + private: + float _internal_desired_timescale() const; + void _internal_set_desired_timescale(float value); + public: + + // optional float duration_realtime_sec = 2; + bool has_duration_realtime_sec() const; + private: + bool _internal_has_duration_realtime_sec() const; + public: + void clear_duration_realtime_sec(); + float duration_realtime_sec() const; + void set_duration_realtime_sec(float value); + private: + float _internal_duration_realtime_sec() const; + void _internal_set_duration_realtime_sec(float value); + public: + + // optional int32 interpolator_type = 3; + bool has_interpolator_type() const; + private: + bool _internal_has_interpolator_type() const; + public: + void clear_interpolator_type(); + int32_t interpolator_type() const; + void set_interpolator_type(int32_t value); + private: + int32_t _internal_interpolator_type() const; + void _internal_set_interpolator_type(int32_t value); + public: + + // optional float start_blend_time = 4; + bool has_start_blend_time() const; + private: + bool _internal_has_start_blend_time() const; + public: + void clear_start_blend_time(); + float start_blend_time() const; + void set_start_blend_time(float value); + private: + float _internal_start_blend_time() const; + void _internal_set_start_blend_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_DesiredTimescale) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float desired_timescale_; + float duration_realtime_sec_; + int32_t interpolator_type_; + float start_blend_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CurrentTimescale final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CurrentTimescale) */ { + public: + inline CCSUsrMsg_CurrentTimescale() : CCSUsrMsg_CurrentTimescale(nullptr) {} + ~CCSUsrMsg_CurrentTimescale() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CurrentTimescale(const CCSUsrMsg_CurrentTimescale& from); + CCSUsrMsg_CurrentTimescale(CCSUsrMsg_CurrentTimescale&& from) noexcept + : CCSUsrMsg_CurrentTimescale() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CurrentTimescale& operator=(const CCSUsrMsg_CurrentTimescale& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CurrentTimescale& operator=(CCSUsrMsg_CurrentTimescale&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CurrentTimescale& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CurrentTimescale* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CurrentTimescale_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CCSUsrMsg_CurrentTimescale& a, CCSUsrMsg_CurrentTimescale& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CurrentTimescale* 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(CCSUsrMsg_CurrentTimescale* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CurrentTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CurrentTimescale& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CurrentTimescale& from) { + CCSUsrMsg_CurrentTimescale::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(CCSUsrMsg_CurrentTimescale* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CurrentTimescale"; + } + protected: + explicit CCSUsrMsg_CurrentTimescale(::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 { + kCurTimescaleFieldNumber = 1, + }; + // optional float cur_timescale = 1; + bool has_cur_timescale() const; + private: + bool _internal_has_cur_timescale() const; + public: + void clear_cur_timescale(); + float cur_timescale() const; + void set_cur_timescale(float value); + private: + float _internal_cur_timescale() const; + void _internal_set_cur_timescale(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CurrentTimescale) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float cur_timescale_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_AchievementEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AchievementEvent) */ { + public: + inline CCSUsrMsg_AchievementEvent() : CCSUsrMsg_AchievementEvent(nullptr) {} + ~CCSUsrMsg_AchievementEvent() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_AchievementEvent(const CCSUsrMsg_AchievementEvent& from); + CCSUsrMsg_AchievementEvent(CCSUsrMsg_AchievementEvent&& from) noexcept + : CCSUsrMsg_AchievementEvent() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_AchievementEvent& operator=(const CCSUsrMsg_AchievementEvent& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_AchievementEvent& operator=(CCSUsrMsg_AchievementEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_AchievementEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_AchievementEvent* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_AchievementEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CCSUsrMsg_AchievementEvent& a, CCSUsrMsg_AchievementEvent& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_AchievementEvent* 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(CCSUsrMsg_AchievementEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_AchievementEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_AchievementEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_AchievementEvent& from) { + CCSUsrMsg_AchievementEvent::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(CCSUsrMsg_AchievementEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_AchievementEvent"; + } + protected: + explicit CCSUsrMsg_AchievementEvent(::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 { + kAchievementFieldNumber = 1, + kCountFieldNumber = 2, + kUserIdFieldNumber = 3, + }; + // optional int32 achievement = 1; + bool has_achievement() const; + private: + bool _internal_has_achievement() const; + public: + void clear_achievement(); + int32_t achievement() const; + void set_achievement(int32_t value); + private: + int32_t _internal_achievement() const; + void _internal_set_achievement(int32_t value); + public: + + // optional int32 count = 2; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + int32_t count() const; + void set_count(int32_t value); + private: + int32_t _internal_count() const; + void _internal_set_count(int32_t value); + public: + + // optional int32 user_id = 3; + bool has_user_id() const; + private: + bool _internal_has_user_id() const; + public: + void clear_user_id(); + int32_t user_id() const; + void set_user_id(int32_t value); + private: + int32_t _internal_user_id() const; + void _internal_set_user_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_AchievementEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t achievement_; + int32_t count_; + int32_t user_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_MatchEndConditions final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MatchEndConditions) */ { + public: + inline CCSUsrMsg_MatchEndConditions() : CCSUsrMsg_MatchEndConditions(nullptr) {} + ~CCSUsrMsg_MatchEndConditions() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_MatchEndConditions(const CCSUsrMsg_MatchEndConditions& from); + CCSUsrMsg_MatchEndConditions(CCSUsrMsg_MatchEndConditions&& from) noexcept + : CCSUsrMsg_MatchEndConditions() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_MatchEndConditions& operator=(const CCSUsrMsg_MatchEndConditions& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_MatchEndConditions& operator=(CCSUsrMsg_MatchEndConditions&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_MatchEndConditions& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_MatchEndConditions* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_MatchEndConditions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CCSUsrMsg_MatchEndConditions& a, CCSUsrMsg_MatchEndConditions& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_MatchEndConditions* 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(CCSUsrMsg_MatchEndConditions* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_MatchEndConditions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_MatchEndConditions& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_MatchEndConditions& from) { + CCSUsrMsg_MatchEndConditions::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(CCSUsrMsg_MatchEndConditions* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_MatchEndConditions"; + } + protected: + explicit CCSUsrMsg_MatchEndConditions(::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 { + kFraglimitFieldNumber = 1, + kMpMaxroundsFieldNumber = 2, + kMpWinlimitFieldNumber = 3, + kMpTimelimitFieldNumber = 4, + }; + // optional int32 fraglimit = 1; + bool has_fraglimit() const; + private: + bool _internal_has_fraglimit() const; + public: + void clear_fraglimit(); + int32_t fraglimit() const; + void set_fraglimit(int32_t value); + private: + int32_t _internal_fraglimit() const; + void _internal_set_fraglimit(int32_t value); + public: + + // optional int32 mp_maxrounds = 2; + bool has_mp_maxrounds() const; + private: + bool _internal_has_mp_maxrounds() const; + public: + void clear_mp_maxrounds(); + int32_t mp_maxrounds() const; + void set_mp_maxrounds(int32_t value); + private: + int32_t _internal_mp_maxrounds() const; + void _internal_set_mp_maxrounds(int32_t value); + public: + + // optional int32 mp_winlimit = 3; + bool has_mp_winlimit() const; + private: + bool _internal_has_mp_winlimit() const; + public: + void clear_mp_winlimit(); + int32_t mp_winlimit() const; + void set_mp_winlimit(int32_t value); + private: + int32_t _internal_mp_winlimit() const; + void _internal_set_mp_winlimit(int32_t value); + public: + + // optional float mp_timelimit = 4; + bool has_mp_timelimit() const; + private: + bool _internal_has_mp_timelimit() const; + public: + void clear_mp_timelimit(); + float mp_timelimit() const; + void set_mp_timelimit(float value); + private: + float _internal_mp_timelimit() const; + void _internal_set_mp_timelimit(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_MatchEndConditions) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t fraglimit_; + int32_t mp_maxrounds_; + int32_t mp_winlimit_; + float mp_timelimit_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_PlayerStatsUpdate_Stat final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerStatsUpdate.Stat) */ { + public: + inline CCSUsrMsg_PlayerStatsUpdate_Stat() : CCSUsrMsg_PlayerStatsUpdate_Stat(nullptr) {} + ~CCSUsrMsg_PlayerStatsUpdate_Stat() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_Stat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_PlayerStatsUpdate_Stat(const CCSUsrMsg_PlayerStatsUpdate_Stat& from); + CCSUsrMsg_PlayerStatsUpdate_Stat(CCSUsrMsg_PlayerStatsUpdate_Stat&& from) noexcept + : CCSUsrMsg_PlayerStatsUpdate_Stat() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_PlayerStatsUpdate_Stat& operator=(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_PlayerStatsUpdate_Stat& operator=(CCSUsrMsg_PlayerStatsUpdate_Stat&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_PlayerStatsUpdate_Stat& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_PlayerStatsUpdate_Stat* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CCSUsrMsg_PlayerStatsUpdate_Stat& a, CCSUsrMsg_PlayerStatsUpdate_Stat& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_PlayerStatsUpdate_Stat* 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(CCSUsrMsg_PlayerStatsUpdate_Stat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_PlayerStatsUpdate_Stat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { + CCSUsrMsg_PlayerStatsUpdate_Stat::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(CCSUsrMsg_PlayerStatsUpdate_Stat* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_PlayerStatsUpdate.Stat"; + } + protected: + explicit CCSUsrMsg_PlayerStatsUpdate_Stat(::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 { + kIdxFieldNumber = 1, + kDeltaFieldNumber = 2, + }; + // optional int32 idx = 1; + bool has_idx() const; + private: + bool _internal_has_idx() const; + public: + void clear_idx(); + int32_t idx() const; + void set_idx(int32_t value); + private: + int32_t _internal_idx() const; + void _internal_set_idx(int32_t value); + public: + + // optional int32 delta = 2; + bool has_delta() const; + private: + bool _internal_has_delta() const; + public: + void clear_delta(); + int32_t delta() const; + void set_delta(int32_t value); + private: + int32_t _internal_delta() const; + void _internal_set_delta(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerStatsUpdate.Stat) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t idx_; + int32_t delta_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_PlayerStatsUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerStatsUpdate) */ { + public: + inline CCSUsrMsg_PlayerStatsUpdate() : CCSUsrMsg_PlayerStatsUpdate(nullptr) {} + ~CCSUsrMsg_PlayerStatsUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_PlayerStatsUpdate(const CCSUsrMsg_PlayerStatsUpdate& from); + CCSUsrMsg_PlayerStatsUpdate(CCSUsrMsg_PlayerStatsUpdate&& from) noexcept + : CCSUsrMsg_PlayerStatsUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_PlayerStatsUpdate& operator=(const CCSUsrMsg_PlayerStatsUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_PlayerStatsUpdate& operator=(CCSUsrMsg_PlayerStatsUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_PlayerStatsUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_PlayerStatsUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_PlayerStatsUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CCSUsrMsg_PlayerStatsUpdate& a, CCSUsrMsg_PlayerStatsUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_PlayerStatsUpdate* 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(CCSUsrMsg_PlayerStatsUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_PlayerStatsUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_PlayerStatsUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_PlayerStatsUpdate& from) { + CCSUsrMsg_PlayerStatsUpdate::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(CCSUsrMsg_PlayerStatsUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_PlayerStatsUpdate"; + } + protected: + explicit CCSUsrMsg_PlayerStatsUpdate(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_PlayerStatsUpdate_Stat Stat; + + // accessors ------------------------------------------------------- + + enum : int { + kStatsFieldNumber = 4, + kVersionFieldNumber = 1, + kEhandleFieldNumber = 5, + kCrcFieldNumber = 6, + }; + // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; + int stats_size() const; + private: + int _internal_stats_size() const; + public: + void clear_stats(); + ::CCSUsrMsg_PlayerStatsUpdate_Stat* mutable_stats(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >* + mutable_stats(); + private: + const ::CCSUsrMsg_PlayerStatsUpdate_Stat& _internal_stats(int index) const; + ::CCSUsrMsg_PlayerStatsUpdate_Stat* _internal_add_stats(); + public: + const ::CCSUsrMsg_PlayerStatsUpdate_Stat& stats(int index) const; + ::CCSUsrMsg_PlayerStatsUpdate_Stat* add_stats(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >& + stats() const; + + // optional int32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + int32_t version() const; + void set_version(int32_t value); + private: + int32_t _internal_version() const; + void _internal_set_version(int32_t value); + public: + + // optional uint32 ehandle = 5; + bool has_ehandle() const; + private: + bool _internal_has_ehandle() const; + public: + void clear_ehandle(); + uint32_t ehandle() const; + void set_ehandle(uint32_t value); + private: + uint32_t _internal_ehandle() const; + void _internal_set_ehandle(uint32_t value); + public: + + // optional int32 crc = 6; + bool has_crc() const; + private: + bool _internal_has_crc() const; + public: + void clear_crc(); + int32_t crc() const; + void set_crc(int32_t value); + private: + int32_t _internal_crc() const; + void _internal_set_crc(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerStatsUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat > stats_; + int32_t version_; + uint32_t ehandle_; + int32_t crc_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_QuestProgress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_QuestProgress) */ { + public: + inline CCSUsrMsg_QuestProgress() : CCSUsrMsg_QuestProgress(nullptr) {} + ~CCSUsrMsg_QuestProgress() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_QuestProgress(const CCSUsrMsg_QuestProgress& from); + CCSUsrMsg_QuestProgress(CCSUsrMsg_QuestProgress&& from) noexcept + : CCSUsrMsg_QuestProgress() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_QuestProgress& operator=(const CCSUsrMsg_QuestProgress& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_QuestProgress& operator=(CCSUsrMsg_QuestProgress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_QuestProgress& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_QuestProgress* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_QuestProgress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CCSUsrMsg_QuestProgress& a, CCSUsrMsg_QuestProgress& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_QuestProgress* 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(CCSUsrMsg_QuestProgress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_QuestProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_QuestProgress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_QuestProgress& from) { + CCSUsrMsg_QuestProgress::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(CCSUsrMsg_QuestProgress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_QuestProgress"; + } + protected: + explicit CCSUsrMsg_QuestProgress(::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 { + kQuestIdFieldNumber = 1, + kNormalPointsFieldNumber = 2, + kBonusPointsFieldNumber = 3, + kIsEventQuestFieldNumber = 4, + }; + // optional uint32 quest_id = 1; + bool has_quest_id() const; + private: + bool _internal_has_quest_id() const; + public: + void clear_quest_id(); + uint32_t quest_id() const; + void set_quest_id(uint32_t value); + private: + uint32_t _internal_quest_id() const; + void _internal_set_quest_id(uint32_t value); + public: + + // optional uint32 normal_points = 2; + bool has_normal_points() const; + private: + bool _internal_has_normal_points() const; + public: + void clear_normal_points(); + uint32_t normal_points() const; + void set_normal_points(uint32_t value); + private: + uint32_t _internal_normal_points() const; + void _internal_set_normal_points(uint32_t value); + public: + + // optional uint32 bonus_points = 3; + bool has_bonus_points() const; + private: + bool _internal_has_bonus_points() const; + public: + void clear_bonus_points(); + uint32_t bonus_points() const; + void set_bonus_points(uint32_t value); + private: + uint32_t _internal_bonus_points() const; + void _internal_set_bonus_points(uint32_t value); + public: + + // optional bool is_event_quest = 4; + bool has_is_event_quest() const; + private: + bool _internal_has_is_event_quest() const; + public: + void clear_is_event_quest(); + bool is_event_quest() const; + void set_is_event_quest(bool value); + private: + bool _internal_is_event_quest() const; + void _internal_set_is_event_quest(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_QuestProgress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t quest_id_; + uint32_t normal_points_; + uint32_t bonus_points_; + bool is_event_quest_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ScoreLeaderboardData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ScoreLeaderboardData) */ { + public: + inline CCSUsrMsg_ScoreLeaderboardData() : CCSUsrMsg_ScoreLeaderboardData(nullptr) {} + ~CCSUsrMsg_ScoreLeaderboardData() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ScoreLeaderboardData(const CCSUsrMsg_ScoreLeaderboardData& from); + CCSUsrMsg_ScoreLeaderboardData(CCSUsrMsg_ScoreLeaderboardData&& from) noexcept + : CCSUsrMsg_ScoreLeaderboardData() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ScoreLeaderboardData& operator=(const CCSUsrMsg_ScoreLeaderboardData& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ScoreLeaderboardData& operator=(CCSUsrMsg_ScoreLeaderboardData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ScoreLeaderboardData& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ScoreLeaderboardData* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ScoreLeaderboardData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CCSUsrMsg_ScoreLeaderboardData& a, CCSUsrMsg_ScoreLeaderboardData& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ScoreLeaderboardData* 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(CCSUsrMsg_ScoreLeaderboardData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ScoreLeaderboardData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ScoreLeaderboardData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ScoreLeaderboardData& from) { + CCSUsrMsg_ScoreLeaderboardData::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(CCSUsrMsg_ScoreLeaderboardData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ScoreLeaderboardData"; + } + protected: + explicit CCSUsrMsg_ScoreLeaderboardData(::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 { + kDataFieldNumber = 1, + }; + // optional .ScoreLeaderboardData data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const ::ScoreLeaderboardData& data() const; + PROTOBUF_NODISCARD ::ScoreLeaderboardData* release_data(); + ::ScoreLeaderboardData* mutable_data(); + void set_allocated_data(::ScoreLeaderboardData* data); + private: + const ::ScoreLeaderboardData& _internal_data() const; + ::ScoreLeaderboardData* _internal_mutable_data(); + public: + void unsafe_arena_set_allocated_data( + ::ScoreLeaderboardData* data); + ::ScoreLeaderboardData* unsafe_arena_release_data(); + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ScoreLeaderboardData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::ScoreLeaderboardData* data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_PlayerDecalDigitalSignature final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerDecalDigitalSignature) */ { + public: + inline CCSUsrMsg_PlayerDecalDigitalSignature() : CCSUsrMsg_PlayerDecalDigitalSignature(nullptr) {} + ~CCSUsrMsg_PlayerDecalDigitalSignature() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_PlayerDecalDigitalSignature(const CCSUsrMsg_PlayerDecalDigitalSignature& from); + CCSUsrMsg_PlayerDecalDigitalSignature(CCSUsrMsg_PlayerDecalDigitalSignature&& from) noexcept + : CCSUsrMsg_PlayerDecalDigitalSignature() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_PlayerDecalDigitalSignature& operator=(const CCSUsrMsg_PlayerDecalDigitalSignature& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_PlayerDecalDigitalSignature& operator=(CCSUsrMsg_PlayerDecalDigitalSignature&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_PlayerDecalDigitalSignature& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_PlayerDecalDigitalSignature* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CCSUsrMsg_PlayerDecalDigitalSignature& a, CCSUsrMsg_PlayerDecalDigitalSignature& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_PlayerDecalDigitalSignature* 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(CCSUsrMsg_PlayerDecalDigitalSignature* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_PlayerDecalDigitalSignature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_PlayerDecalDigitalSignature& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_PlayerDecalDigitalSignature& from) { + CCSUsrMsg_PlayerDecalDigitalSignature::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(CCSUsrMsg_PlayerDecalDigitalSignature* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_PlayerDecalDigitalSignature"; + } + protected: + explicit CCSUsrMsg_PlayerDecalDigitalSignature(::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 { + kDataFieldNumber = 1, + }; + // optional .PlayerDecalDigitalSignature data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const ::PlayerDecalDigitalSignature& data() const; + PROTOBUF_NODISCARD ::PlayerDecalDigitalSignature* release_data(); + ::PlayerDecalDigitalSignature* mutable_data(); + void set_allocated_data(::PlayerDecalDigitalSignature* data); + private: + const ::PlayerDecalDigitalSignature& _internal_data() const; + ::PlayerDecalDigitalSignature* _internal_mutable_data(); + public: + void unsafe_arena_set_allocated_data( + ::PlayerDecalDigitalSignature* data); + ::PlayerDecalDigitalSignature* unsafe_arena_release_data(); + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerDecalDigitalSignature) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PlayerDecalDigitalSignature* data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_XRankGet final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XRankGet) */ { + public: + inline CCSUsrMsg_XRankGet() : CCSUsrMsg_XRankGet(nullptr) {} + ~CCSUsrMsg_XRankGet() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_XRankGet(const CCSUsrMsg_XRankGet& from); + CCSUsrMsg_XRankGet(CCSUsrMsg_XRankGet&& from) noexcept + : CCSUsrMsg_XRankGet() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_XRankGet& operator=(const CCSUsrMsg_XRankGet& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_XRankGet& operator=(CCSUsrMsg_XRankGet&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_XRankGet& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_XRankGet* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_XRankGet_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CCSUsrMsg_XRankGet& a, CCSUsrMsg_XRankGet& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_XRankGet* 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(CCSUsrMsg_XRankGet* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_XRankGet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_XRankGet& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_XRankGet& from) { + CCSUsrMsg_XRankGet::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(CCSUsrMsg_XRankGet* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_XRankGet"; + } + protected: + explicit CCSUsrMsg_XRankGet(::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 { + kModeIdxFieldNumber = 1, + kControllerFieldNumber = 2, + }; + // optional int32 mode_idx = 1; + bool has_mode_idx() const; + private: + bool _internal_has_mode_idx() const; + public: + void clear_mode_idx(); + int32_t mode_idx() const; + void set_mode_idx(int32_t value); + private: + int32_t _internal_mode_idx() const; + void _internal_set_mode_idx(int32_t value); + public: + + // optional int32 controller = 2; + bool has_controller() const; + private: + bool _internal_has_controller() const; + public: + void clear_controller(); + int32_t controller() const; + void set_controller(int32_t value); + private: + int32_t _internal_controller() const; + void _internal_set_controller(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_XRankGet) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t mode_idx_; + int32_t controller_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_XRankUpd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XRankUpd) */ { + public: + inline CCSUsrMsg_XRankUpd() : CCSUsrMsg_XRankUpd(nullptr) {} + ~CCSUsrMsg_XRankUpd() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_XRankUpd(const CCSUsrMsg_XRankUpd& from); + CCSUsrMsg_XRankUpd(CCSUsrMsg_XRankUpd&& from) noexcept + : CCSUsrMsg_XRankUpd() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_XRankUpd& operator=(const CCSUsrMsg_XRankUpd& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_XRankUpd& operator=(CCSUsrMsg_XRankUpd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_XRankUpd& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_XRankUpd* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_XRankUpd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CCSUsrMsg_XRankUpd& a, CCSUsrMsg_XRankUpd& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_XRankUpd* 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(CCSUsrMsg_XRankUpd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_XRankUpd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_XRankUpd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_XRankUpd& from) { + CCSUsrMsg_XRankUpd::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(CCSUsrMsg_XRankUpd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_XRankUpd"; + } + protected: + explicit CCSUsrMsg_XRankUpd(::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 { + kModeIdxFieldNumber = 1, + kControllerFieldNumber = 2, + kRankingFieldNumber = 3, + }; + // optional int32 mode_idx = 1; + bool has_mode_idx() const; + private: + bool _internal_has_mode_idx() const; + public: + void clear_mode_idx(); + int32_t mode_idx() const; + void set_mode_idx(int32_t value); + private: + int32_t _internal_mode_idx() const; + void _internal_set_mode_idx(int32_t value); + public: + + // optional int32 controller = 2; + bool has_controller() const; + private: + bool _internal_has_controller() const; + public: + void clear_controller(); + int32_t controller() const; + void set_controller(int32_t value); + private: + int32_t _internal_controller() const; + void _internal_set_controller(int32_t value); + public: + + // optional int32 ranking = 3; + bool has_ranking() const; + private: + bool _internal_has_ranking() const; + public: + void clear_ranking(); + int32_t ranking() const; + void set_ranking(int32_t value); + private: + int32_t _internal_ranking() const; + void _internal_set_ranking(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_XRankUpd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t mode_idx_; + int32_t controller_; + int32_t ranking_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CallVoteFailed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CallVoteFailed) */ { + public: + inline CCSUsrMsg_CallVoteFailed() : CCSUsrMsg_CallVoteFailed(nullptr) {} + ~CCSUsrMsg_CallVoteFailed() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CallVoteFailed(const CCSUsrMsg_CallVoteFailed& from); + CCSUsrMsg_CallVoteFailed(CCSUsrMsg_CallVoteFailed&& from) noexcept + : CCSUsrMsg_CallVoteFailed() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CallVoteFailed& operator=(const CCSUsrMsg_CallVoteFailed& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CallVoteFailed& operator=(CCSUsrMsg_CallVoteFailed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CallVoteFailed& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CallVoteFailed* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CallVoteFailed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CCSUsrMsg_CallVoteFailed& a, CCSUsrMsg_CallVoteFailed& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CallVoteFailed* 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(CCSUsrMsg_CallVoteFailed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CallVoteFailed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CallVoteFailed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CallVoteFailed& from) { + CCSUsrMsg_CallVoteFailed::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(CCSUsrMsg_CallVoteFailed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CallVoteFailed"; + } + protected: + explicit CCSUsrMsg_CallVoteFailed(::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 { + kReasonFieldNumber = 1, + kTimeFieldNumber = 2, + }; + // optional int32 reason = 1; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + int32_t reason() const; + void set_reason(int32_t value); + private: + int32_t _internal_reason() const; + void _internal_set_reason(int32_t value); + public: + + // optional int32 time = 2; + bool has_time() const; + private: + bool _internal_has_time() const; + public: + void clear_time(); + int32_t time() const; + void set_time(int32_t value); + private: + int32_t _internal_time() const; + void _internal_set_time(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CallVoteFailed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t reason_; + int32_t time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VoteStart final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteStart) */ { + public: + inline CCSUsrMsg_VoteStart() : CCSUsrMsg_VoteStart(nullptr) {} + ~CCSUsrMsg_VoteStart() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VoteStart(const CCSUsrMsg_VoteStart& from); + CCSUsrMsg_VoteStart(CCSUsrMsg_VoteStart&& from) noexcept + : CCSUsrMsg_VoteStart() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VoteStart& operator=(const CCSUsrMsg_VoteStart& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VoteStart& operator=(CCSUsrMsg_VoteStart&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VoteStart& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VoteStart* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VoteStart_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CCSUsrMsg_VoteStart& a, CCSUsrMsg_VoteStart& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VoteStart* 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(CCSUsrMsg_VoteStart* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VoteStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VoteStart& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VoteStart& from) { + CCSUsrMsg_VoteStart::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(CCSUsrMsg_VoteStart* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VoteStart"; + } + protected: + explicit CCSUsrMsg_VoteStart(::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 { + kDispStrFieldNumber = 4, + kDetailsStrFieldNumber = 5, + kOtherTeamStrFieldNumber = 6, + kTeamFieldNumber = 1, + kVoteTypeFieldNumber = 3, + kIsYesNoVoteFieldNumber = 7, + kPlayerSlotFieldNumber = 2, + kPlayerSlotTargetFieldNumber = 8, + }; + // optional string disp_str = 4; + bool has_disp_str() const; + private: + bool _internal_has_disp_str() const; + public: + void clear_disp_str(); + const std::string& disp_str() const; + template + void set_disp_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_disp_str(); + PROTOBUF_NODISCARD std::string* release_disp_str(); + void set_allocated_disp_str(std::string* disp_str); + private: + const std::string& _internal_disp_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_disp_str(const std::string& value); + std::string* _internal_mutable_disp_str(); + public: + + // optional string details_str = 5; + bool has_details_str() const; + private: + bool _internal_has_details_str() const; + public: + void clear_details_str(); + const std::string& details_str() const; + template + void set_details_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_details_str(); + PROTOBUF_NODISCARD std::string* release_details_str(); + void set_allocated_details_str(std::string* details_str); + private: + const std::string& _internal_details_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_details_str(const std::string& value); + std::string* _internal_mutable_details_str(); + public: + + // optional string other_team_str = 6; + bool has_other_team_str() const; + private: + bool _internal_has_other_team_str() const; + public: + void clear_other_team_str(); + const std::string& other_team_str() const; + template + void set_other_team_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_other_team_str(); + PROTOBUF_NODISCARD std::string* release_other_team_str(); + void set_allocated_other_team_str(std::string* other_team_str); + private: + const std::string& _internal_other_team_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_other_team_str(const std::string& value); + std::string* _internal_mutable_other_team_str(); + public: + + // optional int32 team = 1; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + int32_t team() const; + void set_team(int32_t value); + private: + int32_t _internal_team() const; + void _internal_set_team(int32_t value); + public: + + // optional int32 vote_type = 3; + bool has_vote_type() const; + private: + bool _internal_has_vote_type() const; + public: + void clear_vote_type(); + int32_t vote_type() const; + void set_vote_type(int32_t value); + private: + int32_t _internal_vote_type() const; + void _internal_set_vote_type(int32_t value); + public: + + // optional bool is_yes_no_vote = 7; + bool has_is_yes_no_vote() const; + private: + bool _internal_has_is_yes_no_vote() const; + public: + void clear_is_yes_no_vote(); + bool is_yes_no_vote() const; + void set_is_yes_no_vote(bool value); + private: + bool _internal_is_yes_no_vote() const; + void _internal_set_is_yes_no_vote(bool value); + public: + + // optional int32 player_slot = 2 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // optional int32 player_slot_target = 8 [default = -1]; + bool has_player_slot_target() const; + private: + bool _internal_has_player_slot_target() const; + public: + void clear_player_slot_target(); + int32_t player_slot_target() const; + void set_player_slot_target(int32_t value); + private: + int32_t _internal_player_slot_target() const; + void _internal_set_player_slot_target(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteStart) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr disp_str_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_str_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr other_team_str_; + int32_t team_; + int32_t vote_type_; + bool is_yes_no_vote_; + int32_t player_slot_; + int32_t player_slot_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VotePass final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VotePass) */ { + public: + inline CCSUsrMsg_VotePass() : CCSUsrMsg_VotePass(nullptr) {} + ~CCSUsrMsg_VotePass() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VotePass(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VotePass(const CCSUsrMsg_VotePass& from); + CCSUsrMsg_VotePass(CCSUsrMsg_VotePass&& from) noexcept + : CCSUsrMsg_VotePass() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VotePass& operator=(const CCSUsrMsg_VotePass& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VotePass& operator=(CCSUsrMsg_VotePass&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VotePass& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VotePass* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VotePass_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CCSUsrMsg_VotePass& a, CCSUsrMsg_VotePass& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VotePass* 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(CCSUsrMsg_VotePass* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VotePass* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VotePass& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VotePass& from) { + CCSUsrMsg_VotePass::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(CCSUsrMsg_VotePass* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VotePass"; + } + protected: + explicit CCSUsrMsg_VotePass(::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 { + kDispStrFieldNumber = 3, + kDetailsStrFieldNumber = 4, + kTeamFieldNumber = 1, + kVoteTypeFieldNumber = 2, + }; + // optional string disp_str = 3; + bool has_disp_str() const; + private: + bool _internal_has_disp_str() const; + public: + void clear_disp_str(); + const std::string& disp_str() const; + template + void set_disp_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_disp_str(); + PROTOBUF_NODISCARD std::string* release_disp_str(); + void set_allocated_disp_str(std::string* disp_str); + private: + const std::string& _internal_disp_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_disp_str(const std::string& value); + std::string* _internal_mutable_disp_str(); + public: + + // optional string details_str = 4; + bool has_details_str() const; + private: + bool _internal_has_details_str() const; + public: + void clear_details_str(); + const std::string& details_str() const; + template + void set_details_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_details_str(); + PROTOBUF_NODISCARD std::string* release_details_str(); + void set_allocated_details_str(std::string* details_str); + private: + const std::string& _internal_details_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_details_str(const std::string& value); + std::string* _internal_mutable_details_str(); + public: + + // optional int32 team = 1; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + int32_t team() const; + void set_team(int32_t value); + private: + int32_t _internal_team() const; + void _internal_set_team(int32_t value); + public: + + // optional int32 vote_type = 2; + bool has_vote_type() const; + private: + bool _internal_has_vote_type() const; + public: + void clear_vote_type(); + int32_t vote_type() const; + void set_vote_type(int32_t value); + private: + int32_t _internal_vote_type() const; + void _internal_set_vote_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VotePass) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr disp_str_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_str_; + int32_t team_; + int32_t vote_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VoteFailed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteFailed) */ { + public: + inline CCSUsrMsg_VoteFailed() : CCSUsrMsg_VoteFailed(nullptr) {} + ~CCSUsrMsg_VoteFailed() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VoteFailed(const CCSUsrMsg_VoteFailed& from); + CCSUsrMsg_VoteFailed(CCSUsrMsg_VoteFailed&& from) noexcept + : CCSUsrMsg_VoteFailed() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VoteFailed& operator=(const CCSUsrMsg_VoteFailed& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VoteFailed& operator=(CCSUsrMsg_VoteFailed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VoteFailed& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VoteFailed* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VoteFailed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CCSUsrMsg_VoteFailed& a, CCSUsrMsg_VoteFailed& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VoteFailed* 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(CCSUsrMsg_VoteFailed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VoteFailed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VoteFailed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VoteFailed& from) { + CCSUsrMsg_VoteFailed::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(CCSUsrMsg_VoteFailed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VoteFailed"; + } + protected: + explicit CCSUsrMsg_VoteFailed(::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 { + kTeamFieldNumber = 1, + kReasonFieldNumber = 2, + }; + // optional int32 team = 1; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + int32_t team() const; + void set_team(int32_t value); + private: + int32_t _internal_team() const; + void _internal_set_team(int32_t value); + public: + + // optional int32 reason = 2; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + int32_t reason() const; + void set_reason(int32_t value); + private: + int32_t _internal_reason() const; + void _internal_set_reason(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteFailed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t team_; + int32_t reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_VoteSetup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteSetup) */ { + public: + inline CCSUsrMsg_VoteSetup() : CCSUsrMsg_VoteSetup(nullptr) {} + ~CCSUsrMsg_VoteSetup() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_VoteSetup(const CCSUsrMsg_VoteSetup& from); + CCSUsrMsg_VoteSetup(CCSUsrMsg_VoteSetup&& from) noexcept + : CCSUsrMsg_VoteSetup() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_VoteSetup& operator=(const CCSUsrMsg_VoteSetup& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_VoteSetup& operator=(CCSUsrMsg_VoteSetup&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_VoteSetup& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_VoteSetup* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_VoteSetup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CCSUsrMsg_VoteSetup& a, CCSUsrMsg_VoteSetup& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_VoteSetup* 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(CCSUsrMsg_VoteSetup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_VoteSetup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_VoteSetup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_VoteSetup& from) { + CCSUsrMsg_VoteSetup::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(CCSUsrMsg_VoteSetup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_VoteSetup"; + } + protected: + explicit CCSUsrMsg_VoteSetup(::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 { + kPotentialIssuesFieldNumber = 1, + }; + // repeated string potential_issues = 1; + int potential_issues_size() const; + private: + int _internal_potential_issues_size() const; + public: + void clear_potential_issues(); + const std::string& potential_issues(int index) const; + std::string* mutable_potential_issues(int index); + void set_potential_issues(int index, const std::string& value); + void set_potential_issues(int index, std::string&& value); + void set_potential_issues(int index, const char* value); + void set_potential_issues(int index, const char* value, size_t size); + std::string* add_potential_issues(); + void add_potential_issues(const std::string& value); + void add_potential_issues(std::string&& value); + void add_potential_issues(const char* value); + void add_potential_issues(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& potential_issues() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_potential_issues(); + private: + const std::string& _internal_potential_issues(int index) const; + std::string* _internal_add_potential_issues(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteSetup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField potential_issues_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendLastKillerDamageToClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendLastKillerDamageToClient) */ { + public: + inline CCSUsrMsg_SendLastKillerDamageToClient() : CCSUsrMsg_SendLastKillerDamageToClient(nullptr) {} + ~CCSUsrMsg_SendLastKillerDamageToClient() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendLastKillerDamageToClient(const CCSUsrMsg_SendLastKillerDamageToClient& from); + CCSUsrMsg_SendLastKillerDamageToClient(CCSUsrMsg_SendLastKillerDamageToClient&& from) noexcept + : CCSUsrMsg_SendLastKillerDamageToClient() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendLastKillerDamageToClient& operator=(const CCSUsrMsg_SendLastKillerDamageToClient& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendLastKillerDamageToClient& operator=(CCSUsrMsg_SendLastKillerDamageToClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendLastKillerDamageToClient& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendLastKillerDamageToClient* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendLastKillerDamageToClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CCSUsrMsg_SendLastKillerDamageToClient& a, CCSUsrMsg_SendLastKillerDamageToClient& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendLastKillerDamageToClient* 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(CCSUsrMsg_SendLastKillerDamageToClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendLastKillerDamageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendLastKillerDamageToClient& from) { + CCSUsrMsg_SendLastKillerDamageToClient::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(CCSUsrMsg_SendLastKillerDamageToClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendLastKillerDamageToClient"; + } + protected: + explicit CCSUsrMsg_SendLastKillerDamageToClient(::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 { + kNumHitsGivenFieldNumber = 1, + kDamageGivenFieldNumber = 2, + kNumHitsTakenFieldNumber = 3, + kDamageTakenFieldNumber = 4, + kActualDamageGivenFieldNumber = 5, + kActualDamageTakenFieldNumber = 6, + }; + // optional int32 num_hits_given = 1; + bool has_num_hits_given() const; + private: + bool _internal_has_num_hits_given() const; + public: + void clear_num_hits_given(); + int32_t num_hits_given() const; + void set_num_hits_given(int32_t value); + private: + int32_t _internal_num_hits_given() const; + void _internal_set_num_hits_given(int32_t value); + public: + + // optional int32 damage_given = 2; + bool has_damage_given() const; + private: + bool _internal_has_damage_given() const; + public: + void clear_damage_given(); + int32_t damage_given() const; + void set_damage_given(int32_t value); + private: + int32_t _internal_damage_given() const; + void _internal_set_damage_given(int32_t value); + public: + + // optional int32 num_hits_taken = 3; + bool has_num_hits_taken() const; + private: + bool _internal_has_num_hits_taken() const; + public: + void clear_num_hits_taken(); + int32_t num_hits_taken() const; + void set_num_hits_taken(int32_t value); + private: + int32_t _internal_num_hits_taken() const; + void _internal_set_num_hits_taken(int32_t value); + public: + + // optional int32 damage_taken = 4; + bool has_damage_taken() const; + private: + bool _internal_has_damage_taken() const; + public: + void clear_damage_taken(); + int32_t damage_taken() const; + void set_damage_taken(int32_t value); + private: + int32_t _internal_damage_taken() const; + void _internal_set_damage_taken(int32_t value); + public: + + // optional int32 actual_damage_given = 5; + bool has_actual_damage_given() const; + private: + bool _internal_has_actual_damage_given() const; + public: + void clear_actual_damage_given(); + int32_t actual_damage_given() const; + void set_actual_damage_given(int32_t value); + private: + int32_t _internal_actual_damage_given() const; + void _internal_set_actual_damage_given(int32_t value); + public: + + // optional int32 actual_damage_taken = 6; + bool has_actual_damage_taken() const; + private: + bool _internal_has_actual_damage_taken() const; + public: + void clear_actual_damage_taken(); + int32_t actual_damage_taken() const; + void set_actual_damage_taken(int32_t value); + private: + int32_t _internal_actual_damage_taken() const; + void _internal_set_actual_damage_taken(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendLastKillerDamageToClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t num_hits_given_; + int32_t damage_given_; + int32_t num_hits_taken_; + int32_t damage_taken_; + int32_t actual_damage_given_; + int32_t actual_damage_taken_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ServerRankUpdate_RankUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankUpdate.RankUpdate) */ { + public: + inline CCSUsrMsg_ServerRankUpdate_RankUpdate() : CCSUsrMsg_ServerRankUpdate_RankUpdate(nullptr) {} + ~CCSUsrMsg_ServerRankUpdate_RankUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ServerRankUpdate_RankUpdate(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from); + CCSUsrMsg_ServerRankUpdate_RankUpdate(CCSUsrMsg_ServerRankUpdate_RankUpdate&& from) noexcept + : CCSUsrMsg_ServerRankUpdate_RankUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ServerRankUpdate_RankUpdate& operator=(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ServerRankUpdate_RankUpdate& operator=(CCSUsrMsg_ServerRankUpdate_RankUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ServerRankUpdate_RankUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ServerRankUpdate_RankUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CCSUsrMsg_ServerRankUpdate_RankUpdate& a, CCSUsrMsg_ServerRankUpdate_RankUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ServerRankUpdate_RankUpdate* 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(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ServerRankUpdate_RankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { + CCSUsrMsg_ServerRankUpdate_RankUpdate::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(CCSUsrMsg_ServerRankUpdate_RankUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ServerRankUpdate.RankUpdate"; + } + protected: + explicit CCSUsrMsg_ServerRankUpdate_RankUpdate(::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 { + kAccountIdFieldNumber = 1, + kRankOldFieldNumber = 2, + kRankNewFieldNumber = 3, + kNumWinsFieldNumber = 4, + kRankChangeFieldNumber = 5, + kRankTypeIdFieldNumber = 6, + }; + // optional int32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + int32_t account_id() const; + void set_account_id(int32_t value); + private: + int32_t _internal_account_id() const; + void _internal_set_account_id(int32_t value); + public: + + // optional int32 rank_old = 2; + bool has_rank_old() const; + private: + bool _internal_has_rank_old() const; + public: + void clear_rank_old(); + int32_t rank_old() const; + void set_rank_old(int32_t value); + private: + int32_t _internal_rank_old() const; + void _internal_set_rank_old(int32_t value); + public: + + // optional int32 rank_new = 3; + bool has_rank_new() const; + private: + bool _internal_has_rank_new() const; + public: + void clear_rank_new(); + int32_t rank_new() const; + void set_rank_new(int32_t value); + private: + int32_t _internal_rank_new() const; + void _internal_set_rank_new(int32_t value); + public: + + // optional int32 num_wins = 4; + bool has_num_wins() const; + private: + bool _internal_has_num_wins() const; + public: + void clear_num_wins(); + int32_t num_wins() const; + void set_num_wins(int32_t value); + private: + int32_t _internal_num_wins() const; + void _internal_set_num_wins(int32_t value); + public: + + // optional float rank_change = 5; + bool has_rank_change() const; + private: + bool _internal_has_rank_change() const; + public: + void clear_rank_change(); + float rank_change() const; + void set_rank_change(float value); + private: + float _internal_rank_change() const; + void _internal_set_rank_change(float value); + public: + + // optional int32 rank_type_id = 6; + bool has_rank_type_id() const; + private: + bool _internal_has_rank_type_id() const; + public: + void clear_rank_type_id(); + int32_t rank_type_id() const; + void set_rank_type_id(int32_t value); + private: + int32_t _internal_rank_type_id() const; + void _internal_set_rank_type_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankUpdate.RankUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t account_id_; + int32_t rank_old_; + int32_t rank_new_; + int32_t num_wins_; + float rank_change_; + int32_t rank_type_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ServerRankUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankUpdate) */ { + public: + inline CCSUsrMsg_ServerRankUpdate() : CCSUsrMsg_ServerRankUpdate(nullptr) {} + ~CCSUsrMsg_ServerRankUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ServerRankUpdate(const CCSUsrMsg_ServerRankUpdate& from); + CCSUsrMsg_ServerRankUpdate(CCSUsrMsg_ServerRankUpdate&& from) noexcept + : CCSUsrMsg_ServerRankUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ServerRankUpdate& operator=(const CCSUsrMsg_ServerRankUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ServerRankUpdate& operator=(CCSUsrMsg_ServerRankUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ServerRankUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ServerRankUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ServerRankUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CCSUsrMsg_ServerRankUpdate& a, CCSUsrMsg_ServerRankUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ServerRankUpdate* 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(CCSUsrMsg_ServerRankUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ServerRankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ServerRankUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ServerRankUpdate& from) { + CCSUsrMsg_ServerRankUpdate::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(CCSUsrMsg_ServerRankUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ServerRankUpdate"; + } + protected: + explicit CCSUsrMsg_ServerRankUpdate(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_ServerRankUpdate_RankUpdate RankUpdate; + + // accessors ------------------------------------------------------- + + enum : int { + kRankUpdateFieldNumber = 1, + }; + // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; + int rank_update_size() const; + private: + int _internal_rank_update_size() const; + public: + void clear_rank_update(); + ::CCSUsrMsg_ServerRankUpdate_RankUpdate* mutable_rank_update(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >* + mutable_rank_update(); + private: + const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& _internal_rank_update(int index) const; + ::CCSUsrMsg_ServerRankUpdate_RankUpdate* _internal_add_rank_update(); + public: + const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& rank_update(int index) const; + ::CCSUsrMsg_ServerRankUpdate_RankUpdate* add_rank_update(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >& + rank_update() const; + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate > rank_update_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_XpUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XpUpdate) */ { + public: + inline CCSUsrMsg_XpUpdate() : CCSUsrMsg_XpUpdate(nullptr) {} + ~CCSUsrMsg_XpUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_XpUpdate(const CCSUsrMsg_XpUpdate& from); + CCSUsrMsg_XpUpdate(CCSUsrMsg_XpUpdate&& from) noexcept + : CCSUsrMsg_XpUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_XpUpdate& operator=(const CCSUsrMsg_XpUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_XpUpdate& operator=(CCSUsrMsg_XpUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_XpUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_XpUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_XpUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CCSUsrMsg_XpUpdate& a, CCSUsrMsg_XpUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_XpUpdate* 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(CCSUsrMsg_XpUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_XpUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_XpUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_XpUpdate& from) { + CCSUsrMsg_XpUpdate::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(CCSUsrMsg_XpUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_XpUpdate"; + } + protected: + explicit CCSUsrMsg_XpUpdate(::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 { + kDataFieldNumber = 1, + }; + // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& data() const; + PROTOBUF_NODISCARD ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* release_data(); + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* mutable_data(); + void set_allocated_data(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data); + private: + const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& _internal_data() const; + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* _internal_mutable_data(); + public: + void unsafe_arena_set_allocated_data( + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data); + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* unsafe_arena_release_data(); + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_XpUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ItemPickup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ItemPickup) */ { + public: + inline CCSUsrMsg_ItemPickup() : CCSUsrMsg_ItemPickup(nullptr) {} + ~CCSUsrMsg_ItemPickup() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ItemPickup(const CCSUsrMsg_ItemPickup& from); + CCSUsrMsg_ItemPickup(CCSUsrMsg_ItemPickup&& from) noexcept + : CCSUsrMsg_ItemPickup() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ItemPickup& operator=(const CCSUsrMsg_ItemPickup& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ItemPickup& operator=(CCSUsrMsg_ItemPickup&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ItemPickup& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ItemPickup* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ItemPickup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CCSUsrMsg_ItemPickup& a, CCSUsrMsg_ItemPickup& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ItemPickup* 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(CCSUsrMsg_ItemPickup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ItemPickup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ItemPickup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ItemPickup& from) { + CCSUsrMsg_ItemPickup::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(CCSUsrMsg_ItemPickup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ItemPickup"; + } + protected: + explicit CCSUsrMsg_ItemPickup(::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 = 1, + }; + // optional string item = 1; + bool has_item() const; + private: + bool _internal_has_item() const; + public: + 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: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ItemPickup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ShowMenu final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ShowMenu) */ { + public: + inline CCSUsrMsg_ShowMenu() : CCSUsrMsg_ShowMenu(nullptr) {} + ~CCSUsrMsg_ShowMenu() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ShowMenu(const CCSUsrMsg_ShowMenu& from); + CCSUsrMsg_ShowMenu(CCSUsrMsg_ShowMenu&& from) noexcept + : CCSUsrMsg_ShowMenu() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ShowMenu& operator=(const CCSUsrMsg_ShowMenu& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ShowMenu& operator=(CCSUsrMsg_ShowMenu&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ShowMenu& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ShowMenu* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ShowMenu_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CCSUsrMsg_ShowMenu& a, CCSUsrMsg_ShowMenu& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ShowMenu* 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(CCSUsrMsg_ShowMenu* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ShowMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ShowMenu& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ShowMenu& from) { + CCSUsrMsg_ShowMenu::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(CCSUsrMsg_ShowMenu* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ShowMenu"; + } + protected: + explicit CCSUsrMsg_ShowMenu(::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 { + kMenuStringFieldNumber = 3, + kBitsValidSlotsFieldNumber = 1, + kDisplayTimeFieldNumber = 2, + }; + // optional string menu_string = 3; + bool has_menu_string() const; + private: + bool _internal_has_menu_string() const; + public: + void clear_menu_string(); + const std::string& menu_string() const; + template + void set_menu_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_menu_string(); + PROTOBUF_NODISCARD std::string* release_menu_string(); + void set_allocated_menu_string(std::string* menu_string); + private: + const std::string& _internal_menu_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_menu_string(const std::string& value); + std::string* _internal_mutable_menu_string(); + public: + + // optional int32 bits_valid_slots = 1; + bool has_bits_valid_slots() const; + private: + bool _internal_has_bits_valid_slots() const; + public: + void clear_bits_valid_slots(); + int32_t bits_valid_slots() const; + void set_bits_valid_slots(int32_t value); + private: + int32_t _internal_bits_valid_slots() const; + void _internal_set_bits_valid_slots(int32_t value); + public: + + // optional int32 display_time = 2; + bool has_display_time() const; + private: + bool _internal_has_display_time() const; + public: + void clear_display_time(); + int32_t display_time() const; + void set_display_time(int32_t value); + private: + int32_t _internal_display_time() const; + void _internal_set_display_time(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ShowMenu) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menu_string_; + int32_t bits_valid_slots_; + int32_t display_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_BarTime final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_BarTime) */ { + public: + inline CCSUsrMsg_BarTime() : CCSUsrMsg_BarTime(nullptr) {} + ~CCSUsrMsg_BarTime() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_BarTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_BarTime(const CCSUsrMsg_BarTime& from); + CCSUsrMsg_BarTime(CCSUsrMsg_BarTime&& from) noexcept + : CCSUsrMsg_BarTime() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_BarTime& operator=(const CCSUsrMsg_BarTime& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_BarTime& operator=(CCSUsrMsg_BarTime&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_BarTime& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_BarTime* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_BarTime_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CCSUsrMsg_BarTime& a, CCSUsrMsg_BarTime& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_BarTime* 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(CCSUsrMsg_BarTime* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_BarTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_BarTime& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_BarTime& from) { + CCSUsrMsg_BarTime::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(CCSUsrMsg_BarTime* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_BarTime"; + } + protected: + explicit CCSUsrMsg_BarTime(::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 { + kTimeFieldNumber = 1, + }; + // optional string time = 1; + bool has_time() const; + private: + bool _internal_has_time() const; + public: + void clear_time(); + const std::string& time() const; + template + void set_time(ArgT0&& arg0, ArgT... args); + std::string* mutable_time(); + PROTOBUF_NODISCARD std::string* release_time(); + void set_allocated_time(std::string* time); + private: + const std::string& _internal_time() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_time(const std::string& value); + std::string* _internal_mutable_time(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_BarTime) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_AmmoDenied final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AmmoDenied) */ { + public: + inline CCSUsrMsg_AmmoDenied() : CCSUsrMsg_AmmoDenied(nullptr) {} + ~CCSUsrMsg_AmmoDenied() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDenied(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_AmmoDenied(const CCSUsrMsg_AmmoDenied& from); + CCSUsrMsg_AmmoDenied(CCSUsrMsg_AmmoDenied&& from) noexcept + : CCSUsrMsg_AmmoDenied() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_AmmoDenied& operator=(const CCSUsrMsg_AmmoDenied& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_AmmoDenied& operator=(CCSUsrMsg_AmmoDenied&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_AmmoDenied& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_AmmoDenied* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_AmmoDenied_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CCSUsrMsg_AmmoDenied& a, CCSUsrMsg_AmmoDenied& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_AmmoDenied* 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(CCSUsrMsg_AmmoDenied* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_AmmoDenied* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_AmmoDenied& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_AmmoDenied& from) { + CCSUsrMsg_AmmoDenied::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(CCSUsrMsg_AmmoDenied* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_AmmoDenied"; + } + protected: + explicit CCSUsrMsg_AmmoDenied(::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 { + kAmmoidxFieldNumber = 1, + }; + // optional int32 ammoidx = 1; + bool has_ammoidx() const; + private: + bool _internal_has_ammoidx() const; + public: + void clear_ammoidx(); + int32_t ammoidx() const; + void set_ammoidx(int32_t value); + private: + int32_t _internal_ammoidx() const; + void _internal_set_ammoidx(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_AmmoDenied) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t ammoidx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_MarkAchievement final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MarkAchievement) */ { + public: + inline CCSUsrMsg_MarkAchievement() : CCSUsrMsg_MarkAchievement(nullptr) {} + ~CCSUsrMsg_MarkAchievement() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_MarkAchievement(const CCSUsrMsg_MarkAchievement& from); + CCSUsrMsg_MarkAchievement(CCSUsrMsg_MarkAchievement&& from) noexcept + : CCSUsrMsg_MarkAchievement() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_MarkAchievement& operator=(const CCSUsrMsg_MarkAchievement& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_MarkAchievement& operator=(CCSUsrMsg_MarkAchievement&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_MarkAchievement& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_MarkAchievement* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_MarkAchievement_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CCSUsrMsg_MarkAchievement& a, CCSUsrMsg_MarkAchievement& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_MarkAchievement* 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(CCSUsrMsg_MarkAchievement* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_MarkAchievement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_MarkAchievement& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_MarkAchievement& from) { + CCSUsrMsg_MarkAchievement::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(CCSUsrMsg_MarkAchievement* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_MarkAchievement"; + } + protected: + explicit CCSUsrMsg_MarkAchievement(::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 { + kAchievementFieldNumber = 1, + }; + // optional string achievement = 1; + bool has_achievement() const; + private: + bool _internal_has_achievement() const; + public: + void clear_achievement(); + const std::string& achievement() const; + template + void set_achievement(ArgT0&& arg0, ArgT... args); + std::string* mutable_achievement(); + PROTOBUF_NODISCARD std::string* release_achievement(); + void set_allocated_achievement(std::string* achievement); + private: + const std::string& _internal_achievement() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_achievement(const std::string& value); + std::string* _internal_mutable_achievement(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_MarkAchievement) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr achievement_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_MatchStatsUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MatchStatsUpdate) */ { + public: + inline CCSUsrMsg_MatchStatsUpdate() : CCSUsrMsg_MatchStatsUpdate(nullptr) {} + ~CCSUsrMsg_MatchStatsUpdate() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_MatchStatsUpdate(const CCSUsrMsg_MatchStatsUpdate& from); + CCSUsrMsg_MatchStatsUpdate(CCSUsrMsg_MatchStatsUpdate&& from) noexcept + : CCSUsrMsg_MatchStatsUpdate() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_MatchStatsUpdate& operator=(const CCSUsrMsg_MatchStatsUpdate& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_MatchStatsUpdate& operator=(CCSUsrMsg_MatchStatsUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_MatchStatsUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_MatchStatsUpdate* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_MatchStatsUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CCSUsrMsg_MatchStatsUpdate& a, CCSUsrMsg_MatchStatsUpdate& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_MatchStatsUpdate* 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(CCSUsrMsg_MatchStatsUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_MatchStatsUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_MatchStatsUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_MatchStatsUpdate& from) { + CCSUsrMsg_MatchStatsUpdate::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(CCSUsrMsg_MatchStatsUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_MatchStatsUpdate"; + } + protected: + explicit CCSUsrMsg_MatchStatsUpdate(::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 { + kUpdateFieldNumber = 1, + }; + // optional string update = 1; + bool has_update() const; + private: + bool _internal_has_update() const; + public: + void clear_update(); + const std::string& update() const; + template + void set_update(ArgT0&& arg0, ArgT... args); + std::string* mutable_update(); + PROTOBUF_NODISCARD std::string* release_update(); + void set_allocated_update(std::string* update); + private: + const std::string& _internal_update() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_update(const std::string& value); + std::string* _internal_mutable_update(); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_MatchStatsUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr update_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ItemDrop final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ItemDrop) */ { + public: + inline CCSUsrMsg_ItemDrop() : CCSUsrMsg_ItemDrop(nullptr) {} + ~CCSUsrMsg_ItemDrop() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDrop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ItemDrop(const CCSUsrMsg_ItemDrop& from); + CCSUsrMsg_ItemDrop(CCSUsrMsg_ItemDrop&& from) noexcept + : CCSUsrMsg_ItemDrop() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ItemDrop& operator=(const CCSUsrMsg_ItemDrop& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ItemDrop& operator=(CCSUsrMsg_ItemDrop&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ItemDrop& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ItemDrop* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ItemDrop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CCSUsrMsg_ItemDrop& a, CCSUsrMsg_ItemDrop& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ItemDrop* 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(CCSUsrMsg_ItemDrop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ItemDrop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ItemDrop& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ItemDrop& from) { + CCSUsrMsg_ItemDrop::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(CCSUsrMsg_ItemDrop* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ItemDrop"; + } + protected: + explicit CCSUsrMsg_ItemDrop(::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 { + kItemidFieldNumber = 1, + kDeathFieldNumber = 2, + }; + // optional int64 itemid = 1; + bool has_itemid() const; + private: + bool _internal_has_itemid() const; + public: + void clear_itemid(); + int64_t itemid() const; + void set_itemid(int64_t value); + private: + int64_t _internal_itemid() const; + void _internal_set_itemid(int64_t value); + public: + + // optional bool death = 2; + bool has_death() const; + private: + bool _internal_has_death() const; + public: + void clear_death(); + bool death() const; + void set_death(bool value); + private: + bool _internal_death() const; + void _internal_set_death(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ItemDrop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int64_t itemid_; + bool death_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundBackupFilenames final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundBackupFilenames) */ { + public: + inline CCSUsrMsg_RoundBackupFilenames() : CCSUsrMsg_RoundBackupFilenames(nullptr) {} + ~CCSUsrMsg_RoundBackupFilenames() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundBackupFilenames(const CCSUsrMsg_RoundBackupFilenames& from); + CCSUsrMsg_RoundBackupFilenames(CCSUsrMsg_RoundBackupFilenames&& from) noexcept + : CCSUsrMsg_RoundBackupFilenames() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundBackupFilenames& operator=(const CCSUsrMsg_RoundBackupFilenames& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundBackupFilenames& operator=(CCSUsrMsg_RoundBackupFilenames&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundBackupFilenames& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundBackupFilenames* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundBackupFilenames_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CCSUsrMsg_RoundBackupFilenames& a, CCSUsrMsg_RoundBackupFilenames& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundBackupFilenames* 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(CCSUsrMsg_RoundBackupFilenames* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundBackupFilenames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundBackupFilenames& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundBackupFilenames& from) { + CCSUsrMsg_RoundBackupFilenames::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(CCSUsrMsg_RoundBackupFilenames* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundBackupFilenames"; + } + protected: + explicit CCSUsrMsg_RoundBackupFilenames(::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 { + kFilenameFieldNumber = 3, + kNicenameFieldNumber = 4, + kCountFieldNumber = 1, + kIndexFieldNumber = 2, + }; + // optional string filename = 3; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional string nicename = 4; + bool has_nicename() const; + private: + bool _internal_has_nicename() const; + public: + void clear_nicename(); + const std::string& nicename() const; + template + void set_nicename(ArgT0&& arg0, ArgT... args); + std::string* mutable_nicename(); + PROTOBUF_NODISCARD std::string* release_nicename(); + void set_allocated_nicename(std::string* nicename); + private: + const std::string& _internal_nicename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nicename(const std::string& value); + std::string* _internal_mutable_nicename(); + public: + + // optional int32 count = 1; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + int32_t count() const; + void set_count(int32_t value); + private: + int32_t _internal_count() const; + void _internal_set_count(int32_t value); + public: + + // optional int32 index = 2; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundBackupFilenames) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nicename_; + int32_t count_; + int32_t index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SSUI final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SSUI) */ { + public: + inline CCSUsrMsg_SSUI() : CCSUsrMsg_SSUI(nullptr) {} + ~CCSUsrMsg_SSUI() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SSUI(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SSUI(const CCSUsrMsg_SSUI& from); + CCSUsrMsg_SSUI(CCSUsrMsg_SSUI&& from) noexcept + : CCSUsrMsg_SSUI() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SSUI& operator=(const CCSUsrMsg_SSUI& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SSUI& operator=(CCSUsrMsg_SSUI&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SSUI& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SSUI* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SSUI_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CCSUsrMsg_SSUI& a, CCSUsrMsg_SSUI& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SSUI* 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(CCSUsrMsg_SSUI* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SSUI* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SSUI& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SSUI& from) { + CCSUsrMsg_SSUI::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(CCSUsrMsg_SSUI* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SSUI"; + } + protected: + explicit CCSUsrMsg_SSUI(::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 { + kShowFieldNumber = 1, + kStartTimeFieldNumber = 2, + kEndTimeFieldNumber = 3, + }; + // optional bool show = 1; + bool has_show() const; + private: + bool _internal_has_show() const; + public: + void clear_show(); + bool show() const; + void set_show(bool value); + private: + bool _internal_show() const; + void _internal_set_show(bool value); + public: + + // optional float start_time = 2; + bool has_start_time() const; + private: + bool _internal_has_start_time() const; + public: + void clear_start_time(); + float start_time() const; + void set_start_time(float value); + private: + float _internal_start_time() const; + void _internal_set_start_time(float value); + public: + + // optional float end_time = 3; + bool has_end_time() const; + private: + bool _internal_has_end_time() const; + public: + void clear_end_time(); + float end_time() const; + void set_end_time(float value); + private: + float _internal_end_time() const; + void _internal_set_end_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SSUI) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool show_; + float start_time_; + float end_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SurvivalStats_Fact final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Fact) */ { + public: + inline CCSUsrMsg_SurvivalStats_Fact() : CCSUsrMsg_SurvivalStats_Fact(nullptr) {} + ~CCSUsrMsg_SurvivalStats_Fact() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Fact(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SurvivalStats_Fact(const CCSUsrMsg_SurvivalStats_Fact& from); + CCSUsrMsg_SurvivalStats_Fact(CCSUsrMsg_SurvivalStats_Fact&& from) noexcept + : CCSUsrMsg_SurvivalStats_Fact() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SurvivalStats_Fact& operator=(const CCSUsrMsg_SurvivalStats_Fact& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SurvivalStats_Fact& operator=(CCSUsrMsg_SurvivalStats_Fact&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SurvivalStats_Fact& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SurvivalStats_Fact* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SurvivalStats_Fact_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(CCSUsrMsg_SurvivalStats_Fact& a, CCSUsrMsg_SurvivalStats_Fact& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SurvivalStats_Fact* 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(CCSUsrMsg_SurvivalStats_Fact* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SurvivalStats_Fact* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SurvivalStats_Fact& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SurvivalStats_Fact& from) { + CCSUsrMsg_SurvivalStats_Fact::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(CCSUsrMsg_SurvivalStats_Fact* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SurvivalStats.Fact"; + } + protected: + explicit CCSUsrMsg_SurvivalStats_Fact(::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 { + kTypeFieldNumber = 1, + kDisplayFieldNumber = 2, + kValueFieldNumber = 3, + kInterestingnessFieldNumber = 4, + }; + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int32 display = 2; + bool has_display() const; + private: + bool _internal_has_display() const; + public: + void clear_display(); + int32_t display() const; + void set_display(int32_t value); + private: + int32_t _internal_display() const; + void _internal_set_display(int32_t value); + public: + + // optional int32 value = 3; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + int32_t value() const; + void set_value(int32_t value); + private: + int32_t _internal_value() const; + void _internal_set_value(int32_t value); + public: + + // optional float interestingness = 4; + bool has_interestingness() const; + private: + bool _internal_has_interestingness() const; + public: + void clear_interestingness(); + float interestingness() const; + void set_interestingness(float value); + private: + float _internal_interestingness() const; + void _internal_set_interestingness(float value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Fact) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t type_; + int32_t display_; + int32_t value_; + float interestingness_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SurvivalStats_Placement final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Placement) */ { + public: + inline CCSUsrMsg_SurvivalStats_Placement() : CCSUsrMsg_SurvivalStats_Placement(nullptr) {} + ~CCSUsrMsg_SurvivalStats_Placement() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Placement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SurvivalStats_Placement(const CCSUsrMsg_SurvivalStats_Placement& from); + CCSUsrMsg_SurvivalStats_Placement(CCSUsrMsg_SurvivalStats_Placement&& from) noexcept + : CCSUsrMsg_SurvivalStats_Placement() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SurvivalStats_Placement& operator=(const CCSUsrMsg_SurvivalStats_Placement& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SurvivalStats_Placement& operator=(CCSUsrMsg_SurvivalStats_Placement&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SurvivalStats_Placement& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SurvivalStats_Placement* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SurvivalStats_Placement_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(CCSUsrMsg_SurvivalStats_Placement& a, CCSUsrMsg_SurvivalStats_Placement& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SurvivalStats_Placement* 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(CCSUsrMsg_SurvivalStats_Placement* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SurvivalStats_Placement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SurvivalStats_Placement& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SurvivalStats_Placement& from) { + CCSUsrMsg_SurvivalStats_Placement::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(CCSUsrMsg_SurvivalStats_Placement* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SurvivalStats.Placement"; + } + protected: + explicit CCSUsrMsg_SurvivalStats_Placement(::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 { + kXuidFieldNumber = 1, + kTeamnumberFieldNumber = 2, + kPlacementFieldNumber = 3, + }; + // optional uint64 xuid = 1; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional int32 teamnumber = 2; + bool has_teamnumber() const; + private: + bool _internal_has_teamnumber() const; + public: + void clear_teamnumber(); + int32_t teamnumber() const; + void set_teamnumber(int32_t value); + private: + int32_t _internal_teamnumber() const; + void _internal_set_teamnumber(int32_t value); + public: + + // optional int32 placement = 3; + bool has_placement() const; + private: + bool _internal_has_placement() const; + public: + void clear_placement(); + int32_t placement() const; + void set_placement(int32_t value); + private: + int32_t _internal_placement() const; + void _internal_set_placement(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Placement) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t xuid_; + int32_t teamnumber_; + int32_t placement_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SurvivalStats_Damage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Damage) */ { + public: + inline CCSUsrMsg_SurvivalStats_Damage() : CCSUsrMsg_SurvivalStats_Damage(nullptr) {} + ~CCSUsrMsg_SurvivalStats_Damage() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SurvivalStats_Damage(const CCSUsrMsg_SurvivalStats_Damage& from); + CCSUsrMsg_SurvivalStats_Damage(CCSUsrMsg_SurvivalStats_Damage&& from) noexcept + : CCSUsrMsg_SurvivalStats_Damage() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SurvivalStats_Damage& operator=(const CCSUsrMsg_SurvivalStats_Damage& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SurvivalStats_Damage& operator=(CCSUsrMsg_SurvivalStats_Damage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SurvivalStats_Damage& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SurvivalStats_Damage* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SurvivalStats_Damage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(CCSUsrMsg_SurvivalStats_Damage& a, CCSUsrMsg_SurvivalStats_Damage& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SurvivalStats_Damage* 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(CCSUsrMsg_SurvivalStats_Damage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SurvivalStats_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SurvivalStats_Damage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SurvivalStats_Damage& from) { + CCSUsrMsg_SurvivalStats_Damage::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(CCSUsrMsg_SurvivalStats_Damage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SurvivalStats.Damage"; + } + protected: + explicit CCSUsrMsg_SurvivalStats_Damage(::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 { + kXuidFieldNumber = 1, + kToFieldNumber = 2, + kToHitsFieldNumber = 3, + kFromFieldNumber = 4, + kFromHitsFieldNumber = 5, + }; + // optional uint64 xuid = 1; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional int32 to = 2; + bool has_to() const; + private: + bool _internal_has_to() const; + public: + void clear_to(); + int32_t to() const; + void set_to(int32_t value); + private: + int32_t _internal_to() const; + void _internal_set_to(int32_t value); + public: + + // optional int32 to_hits = 3; + bool has_to_hits() const; + private: + bool _internal_has_to_hits() const; + public: + void clear_to_hits(); + int32_t to_hits() const; + void set_to_hits(int32_t value); + private: + int32_t _internal_to_hits() const; + void _internal_set_to_hits(int32_t value); + public: + + // optional int32 from = 4; + bool has_from() const; + private: + bool _internal_has_from() const; + public: + void clear_from(); + int32_t from() const; + void set_from(int32_t value); + private: + int32_t _internal_from() const; + void _internal_set_from(int32_t value); + public: + + // optional int32 from_hits = 5; + bool has_from_hits() const; + private: + bool _internal_has_from_hits() const; + public: + void clear_from_hits(); + int32_t from_hits() const; + void set_from_hits(int32_t value); + private: + int32_t _internal_from_hits() const; + void _internal_set_from_hits(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Damage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t xuid_; + int32_t to_; + int32_t to_hits_; + int32_t from_; + int32_t from_hits_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SurvivalStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats) */ { + public: + inline CCSUsrMsg_SurvivalStats() : CCSUsrMsg_SurvivalStats(nullptr) {} + ~CCSUsrMsg_SurvivalStats() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SurvivalStats(const CCSUsrMsg_SurvivalStats& from); + CCSUsrMsg_SurvivalStats(CCSUsrMsg_SurvivalStats&& from) noexcept + : CCSUsrMsg_SurvivalStats() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SurvivalStats& operator=(const CCSUsrMsg_SurvivalStats& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SurvivalStats& operator=(CCSUsrMsg_SurvivalStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SurvivalStats& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SurvivalStats* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SurvivalStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(CCSUsrMsg_SurvivalStats& a, CCSUsrMsg_SurvivalStats& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SurvivalStats* 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(CCSUsrMsg_SurvivalStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SurvivalStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SurvivalStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SurvivalStats& from) { + CCSUsrMsg_SurvivalStats::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(CCSUsrMsg_SurvivalStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SurvivalStats"; + } + protected: + explicit CCSUsrMsg_SurvivalStats(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_SurvivalStats_Fact Fact; + typedef CCSUsrMsg_SurvivalStats_Placement Placement; + typedef CCSUsrMsg_SurvivalStats_Damage Damage; + + // accessors ------------------------------------------------------- + + enum : int { + kFactsFieldNumber = 2, + kUsersFieldNumber = 3, + kDamagesFieldNumber = 5, + kXuidFieldNumber = 1, + kTicknumberFieldNumber = 4, + }; + // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; + int facts_size() const; + private: + int _internal_facts_size() const; + public: + void clear_facts(); + ::CCSUsrMsg_SurvivalStats_Fact* mutable_facts(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >* + mutable_facts(); + private: + const ::CCSUsrMsg_SurvivalStats_Fact& _internal_facts(int index) const; + ::CCSUsrMsg_SurvivalStats_Fact* _internal_add_facts(); + public: + const ::CCSUsrMsg_SurvivalStats_Fact& facts(int index) const; + ::CCSUsrMsg_SurvivalStats_Fact* add_facts(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >& + facts() const; + + // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; + int users_size() const; + private: + int _internal_users_size() const; + public: + void clear_users(); + ::CCSUsrMsg_SurvivalStats_Placement* mutable_users(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >* + mutable_users(); + private: + const ::CCSUsrMsg_SurvivalStats_Placement& _internal_users(int index) const; + ::CCSUsrMsg_SurvivalStats_Placement* _internal_add_users(); + public: + const ::CCSUsrMsg_SurvivalStats_Placement& users(int index) const; + ::CCSUsrMsg_SurvivalStats_Placement* add_users(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >& + users() const; + + // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; + int damages_size() const; + private: + int _internal_damages_size() const; + public: + void clear_damages(); + ::CCSUsrMsg_SurvivalStats_Damage* mutable_damages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >* + mutable_damages(); + private: + const ::CCSUsrMsg_SurvivalStats_Damage& _internal_damages(int index) const; + ::CCSUsrMsg_SurvivalStats_Damage* _internal_add_damages(); + public: + const ::CCSUsrMsg_SurvivalStats_Damage& damages(int index) const; + ::CCSUsrMsg_SurvivalStats_Damage* add_damages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >& + damages() const; + + // optional uint64 xuid = 1; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional int32 ticknumber = 4; + bool has_ticknumber() const; + private: + bool _internal_has_ticknumber() const; + public: + void clear_ticknumber(); + int32_t ticknumber() const; + void set_ticknumber(int32_t value); + private: + int32_t _internal_ticknumber() const; + void _internal_set_ticknumber(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact > facts_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement > users_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage > damages_; + uint64_t xuid_; + int32_t ticknumber_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) */ { + public: + inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() : CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(nullptr) {} + ~CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from); + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade&& from) noexcept + : CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& operator=(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& a, CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* 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(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { + CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::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(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_EndOfMatchAllPlayersData.Accolade"; + } + protected: + explicit CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::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 { + kEaccoladeFieldNumber = 1, + kValueFieldNumber = 2, + kPositionFieldNumber = 3, + }; + // optional int32 eaccolade = 1; + bool has_eaccolade() const; + private: + bool _internal_has_eaccolade() const; + public: + void clear_eaccolade(); + int32_t eaccolade() const; + void set_eaccolade(int32_t value); + private: + int32_t _internal_eaccolade() const; + void _internal_set_eaccolade(int32_t value); + public: + + // optional float value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + float value() const; + void set_value(float value); + private: + float _internal_value() const; + void _internal_set_value(float value); + public: + + // optional int32 position = 3; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + int32_t position() const; + void set_position(int32_t value); + private: + int32_t _internal_position() const; + void _internal_set_position(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t eaccolade_; + float value_; + int32_t position_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) */ { + public: + inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() : CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(nullptr) {} + ~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from); + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData&& from) noexcept + : CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& operator=(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 64; + + friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& a, CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* 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(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { + CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::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(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData"; + } + protected: + explicit CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::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 { + kItemsFieldNumber = 6, + kNameFieldNumber = 3, + kNominationFieldNumber = 5, + kXuidFieldNumber = 2, + kTeamnumberFieldNumber = 4, + kPlayercolorFieldNumber = 7, + kIsbotFieldNumber = 8, + kSlotFieldNumber = 1, + }; + // repeated .CEconItemPreviewDataBlock items = 6; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + ::CEconItemPreviewDataBlock* mutable_items(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* + mutable_items(); + private: + const ::CEconItemPreviewDataBlock& _internal_items(int index) const; + ::CEconItemPreviewDataBlock* _internal_add_items(); + public: + const ::CEconItemPreviewDataBlock& items(int index) const; + ::CEconItemPreviewDataBlock* add_items(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& + items() const; + + // optional string name = 3; + 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: + + // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; + bool has_nomination() const; + private: + bool _internal_has_nomination() const; + public: + void clear_nomination(); + const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& nomination() const; + PROTOBUF_NODISCARD ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* release_nomination(); + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* mutable_nomination(); + void set_allocated_nomination(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination); + private: + const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& _internal_nomination() const; + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* _internal_mutable_nomination(); + public: + void unsafe_arena_set_allocated_nomination( + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination); + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* unsafe_arena_release_nomination(); + + // optional uint64 xuid = 2; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional int32 teamnumber = 4; + bool has_teamnumber() const; + private: + bool _internal_has_teamnumber() const; + public: + void clear_teamnumber(); + int32_t teamnumber() const; + void set_teamnumber(int32_t value); + private: + int32_t _internal_teamnumber() const; + void _internal_set_teamnumber(int32_t value); + public: + + // optional int32 playercolor = 7; + bool has_playercolor() const; + private: + bool _internal_has_playercolor() const; + public: + void clear_playercolor(); + int32_t playercolor() const; + void set_playercolor(int32_t value); + private: + int32_t _internal_playercolor() const; + void _internal_set_playercolor(int32_t value); + public: + + // optional bool isbot = 8; + bool has_isbot() const; + private: + bool _internal_has_isbot() const; + public: + void clear_isbot(); + bool isbot() const; + void set_isbot(bool value); + private: + bool _internal_isbot() const; + void _internal_set_isbot(bool value); + public: + + // optional int32 slot = 1 [default = -1]; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock > items_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination_; + uint64_t xuid_; + int32_t teamnumber_; + int32_t playercolor_; + bool isbot_; + int32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_EndOfMatchAllPlayersData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData) */ { + public: + inline CCSUsrMsg_EndOfMatchAllPlayersData() : CCSUsrMsg_EndOfMatchAllPlayersData(nullptr) {} + ~CCSUsrMsg_EndOfMatchAllPlayersData() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_EndOfMatchAllPlayersData(const CCSUsrMsg_EndOfMatchAllPlayersData& from); + CCSUsrMsg_EndOfMatchAllPlayersData(CCSUsrMsg_EndOfMatchAllPlayersData&& from) noexcept + : CCSUsrMsg_EndOfMatchAllPlayersData() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_EndOfMatchAllPlayersData& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_EndOfMatchAllPlayersData& operator=(CCSUsrMsg_EndOfMatchAllPlayersData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_EndOfMatchAllPlayersData& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_EndOfMatchAllPlayersData* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 65; + + friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData& a, CCSUsrMsg_EndOfMatchAllPlayersData& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData* 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(CCSUsrMsg_EndOfMatchAllPlayersData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_EndOfMatchAllPlayersData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData& from) { + CCSUsrMsg_EndOfMatchAllPlayersData::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(CCSUsrMsg_EndOfMatchAllPlayersData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_EndOfMatchAllPlayersData"; + } + protected: + explicit CCSUsrMsg_EndOfMatchAllPlayersData(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_EndOfMatchAllPlayersData_Accolade Accolade; + typedef CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData PlayerData; + + // accessors ------------------------------------------------------- + + enum : int { + kAllplayerdataFieldNumber = 1, + kSceneFieldNumber = 2, + }; + // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; + int allplayerdata_size() const; + private: + int _internal_allplayerdata_size() const; + public: + void clear_allplayerdata(); + ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* mutable_allplayerdata(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >* + mutable_allplayerdata(); + private: + const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& _internal_allplayerdata(int index) const; + ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* _internal_add_allplayerdata(); + public: + const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& allplayerdata(int index) const; + ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* add_allplayerdata(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >& + allplayerdata() const; + + // optional int32 scene = 2; + bool has_scene() const; + private: + bool _internal_has_scene() const; + public: + void clear_scene(); + int32_t scene() const; + void set_scene(int32_t value); + private: + int32_t _internal_scene() const; + void _internal_set_scene(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData > allplayerdata_; + int32_t scene_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData_RerEvent_Victim final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) */ { + public: + inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim() : CCSUsrMsg_RoundEndReportData_RerEvent_Victim(nullptr) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_Victim() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData_RerEvent_Victim(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from); + CCSUsrMsg_RoundEndReportData_RerEvent_Victim(CCSUsrMsg_RoundEndReportData_RerEvent_Victim&& from) noexcept + : CCSUsrMsg_RoundEndReportData_RerEvent_Victim() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Victim&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData_RerEvent_Victim& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Victim* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim& a, CCSUsrMsg_RoundEndReportData_RerEvent_Victim& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* 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(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData_RerEvent_Victim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { + CCSUsrMsg_RoundEndReportData_RerEvent_Victim::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(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData.RerEvent.Victim"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::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 { + kTeamNumberFieldNumber = 1, + kColorFieldNumber = 4, + kXuidFieldNumber = 3, + kIsBotFieldNumber = 5, + kIsDeadFieldNumber = 6, + kPlayerslotFieldNumber = 2, + }; + // optional int32 team_number = 1; + bool has_team_number() const; + private: + bool _internal_has_team_number() const; + public: + void clear_team_number(); + int32_t team_number() const; + void set_team_number(int32_t value); + private: + int32_t _internal_team_number() const; + void _internal_set_team_number(int32_t value); + public: + + // optional int32 color = 4; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + int32_t color() const; + void set_color(int32_t value); + private: + int32_t _internal_color() const; + void _internal_set_color(int32_t value); + public: + + // optional uint64 xuid = 3; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional bool is_bot = 5; + bool has_is_bot() const; + private: + bool _internal_has_is_bot() const; + public: + void clear_is_bot(); + bool is_bot() const; + void set_is_bot(bool value); + private: + bool _internal_is_bot() const; + void _internal_set_is_bot(bool value); + public: + + // optional bool is_dead = 6; + bool has_is_dead() const; + private: + bool _internal_has_is_dead() const; + public: + void clear_is_dead(); + bool is_dead() const; + void set_is_dead(bool value); + private: + bool _internal_is_dead() const; + void _internal_set_is_dead(bool value); + public: + + // optional int32 playerslot = 2 [default = -1]; + bool has_playerslot() const; + private: + bool _internal_has_playerslot() const; + public: + void clear_playerslot(); + int32_t playerslot() const; + void set_playerslot(int32_t value); + private: + int32_t _internal_playerslot() const; + void _internal_set_playerslot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t team_number_; + int32_t color_; + uint64_t xuid_; + bool is_bot_; + bool is_dead_; + int32_t playerslot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData_RerEvent_Objective final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) */ { + public: + inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective() : CCSUsrMsg_RoundEndReportData_RerEvent_Objective(nullptr) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_Objective() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData_RerEvent_Objective(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from); + CCSUsrMsg_RoundEndReportData_RerEvent_Objective(CCSUsrMsg_RoundEndReportData_RerEvent_Objective&& from) noexcept + : CCSUsrMsg_RoundEndReportData_RerEvent_Objective() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Objective&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData_RerEvent_Objective& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Objective* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_); + } + static constexpr int kIndexInFileMessages = + 67; + + friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective& a, CCSUsrMsg_RoundEndReportData_RerEvent_Objective& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* 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(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData_RerEvent_Objective* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { + CCSUsrMsg_RoundEndReportData_RerEvent_Objective::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(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData.RerEvent.Objective"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::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 { + kTypeFieldNumber = 1, + }; + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData_RerEvent_Damage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) */ { + public: + inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage() : CCSUsrMsg_RoundEndReportData_RerEvent_Damage(nullptr) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent_Damage() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData_RerEvent_Damage(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from); + CCSUsrMsg_RoundEndReportData_RerEvent_Damage(CCSUsrMsg_RoundEndReportData_RerEvent_Damage&& from) noexcept + : CCSUsrMsg_RoundEndReportData_RerEvent_Damage() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Damage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData_RerEvent_Damage& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Damage* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage& a, CCSUsrMsg_RoundEndReportData_RerEvent_Damage& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* 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(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData_RerEvent_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { + CCSUsrMsg_RoundEndReportData_RerEvent_Damage::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(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData.RerEvent.Damage"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::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 { + kOtherXuidFieldNumber = 2, + kHealthRemovedFieldNumber = 3, + kNumHitsFieldNumber = 4, + kReturnHealthRemovedFieldNumber = 5, + kReturnNumHitsFieldNumber = 6, + kOtherPlayerslotFieldNumber = 1, + }; + // optional uint64 other_xuid = 2; + bool has_other_xuid() const; + private: + bool _internal_has_other_xuid() const; + public: + void clear_other_xuid(); + uint64_t other_xuid() const; + void set_other_xuid(uint64_t value); + private: + uint64_t _internal_other_xuid() const; + void _internal_set_other_xuid(uint64_t value); + public: + + // optional int32 health_removed = 3; + bool has_health_removed() const; + private: + bool _internal_has_health_removed() const; + public: + void clear_health_removed(); + int32_t health_removed() const; + void set_health_removed(int32_t value); + private: + int32_t _internal_health_removed() const; + void _internal_set_health_removed(int32_t value); + public: + + // optional int32 num_hits = 4; + bool has_num_hits() const; + private: + bool _internal_has_num_hits() const; + public: + void clear_num_hits(); + int32_t num_hits() const; + void set_num_hits(int32_t value); + private: + int32_t _internal_num_hits() const; + void _internal_set_num_hits(int32_t value); + public: + + // optional int32 return_health_removed = 5; + bool has_return_health_removed() const; + private: + bool _internal_has_return_health_removed() const; + public: + void clear_return_health_removed(); + int32_t return_health_removed() const; + void set_return_health_removed(int32_t value); + private: + int32_t _internal_return_health_removed() const; + void _internal_set_return_health_removed(int32_t value); + public: + + // optional int32 return_num_hits = 6; + bool has_return_num_hits() const; + private: + bool _internal_has_return_num_hits() const; + public: + void clear_return_num_hits(); + int32_t return_num_hits() const; + void set_return_num_hits(int32_t value); + private: + int32_t _internal_return_num_hits() const; + void _internal_set_return_num_hits(int32_t value); + public: + + // optional int32 other_playerslot = 1 [default = -1]; + bool has_other_playerslot() const; + private: + bool _internal_has_other_playerslot() const; + public: + void clear_other_playerslot(); + int32_t other_playerslot() const; + void set_other_playerslot(int32_t value); + private: + int32_t _internal_other_playerslot() const; + void _internal_set_other_playerslot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t other_xuid_; + int32_t health_removed_; + int32_t num_hits_; + int32_t return_health_removed_; + int32_t return_num_hits_; + int32_t other_playerslot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData_RerEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent) */ { + public: + inline CCSUsrMsg_RoundEndReportData_RerEvent() : CCSUsrMsg_RoundEndReportData_RerEvent(nullptr) {} + ~CCSUsrMsg_RoundEndReportData_RerEvent() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData_RerEvent(const CCSUsrMsg_RoundEndReportData_RerEvent& from); + CCSUsrMsg_RoundEndReportData_RerEvent(CCSUsrMsg_RoundEndReportData_RerEvent&& from) noexcept + : CCSUsrMsg_RoundEndReportData_RerEvent() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData_RerEvent& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData_RerEvent& operator=(CCSUsrMsg_RoundEndReportData_RerEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData_RerEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData_RerEvent* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent& a, CCSUsrMsg_RoundEndReportData_RerEvent& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent* 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(CCSUsrMsg_RoundEndReportData_RerEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData_RerEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent& from) { + CCSUsrMsg_RoundEndReportData_RerEvent::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(CCSUsrMsg_RoundEndReportData_RerEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData.RerEvent"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData_RerEvent(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_RoundEndReportData_RerEvent_Victim Victim; + typedef CCSUsrMsg_RoundEndReportData_RerEvent_Objective Objective; + typedef CCSUsrMsg_RoundEndReportData_RerEvent_Damage Damage; + + // accessors ------------------------------------------------------- + + enum : int { + kAllDamageDataFieldNumber = 7, + kVictimDataFieldNumber = 5, + kObjectiveDataFieldNumber = 6, + kTimestampFieldNumber = 1, + kTerroristOddsFieldNumber = 2, + kCtAliveFieldNumber = 3, + kTAliveFieldNumber = 4, + }; + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; + int all_damage_data_size() const; + private: + int _internal_all_damage_data_size() const; + public: + void clear_all_damage_data(); + ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* mutable_all_damage_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >* + mutable_all_damage_data(); + private: + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& _internal_all_damage_data(int index) const; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* _internal_add_all_damage_data(); + public: + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& all_damage_data(int index) const; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* add_all_damage_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >& + all_damage_data() const; + + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; + bool has_victim_data() const; + private: + bool _internal_has_victim_data() const; + public: + void clear_victim_data(); + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& victim_data() const; + PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* release_victim_data(); + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* mutable_victim_data(); + void set_allocated_victim_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data); + private: + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& _internal_victim_data() const; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* _internal_mutable_victim_data(); + public: + void unsafe_arena_set_allocated_victim_data( + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data); + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* unsafe_arena_release_victim_data(); + + // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; + bool has_objective_data() const; + private: + bool _internal_has_objective_data() const; + public: + void clear_objective_data(); + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& objective_data() const; + PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* release_objective_data(); + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* mutable_objective_data(); + void set_allocated_objective_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data); + private: + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& _internal_objective_data() const; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* _internal_mutable_objective_data(); + public: + void unsafe_arena_set_allocated_objective_data( + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data); + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* unsafe_arena_release_objective_data(); + + // optional float timestamp = 1; + bool has_timestamp() const; + private: + bool _internal_has_timestamp() const; + public: + void clear_timestamp(); + float timestamp() const; + void set_timestamp(float value); + private: + float _internal_timestamp() const; + void _internal_set_timestamp(float value); + public: + + // optional int32 terrorist_odds = 2; + bool has_terrorist_odds() const; + private: + bool _internal_has_terrorist_odds() const; + public: + void clear_terrorist_odds(); + int32_t terrorist_odds() const; + void set_terrorist_odds(int32_t value); + private: + int32_t _internal_terrorist_odds() const; + void _internal_set_terrorist_odds(int32_t value); + public: + + // optional int32 ct_alive = 3; + bool has_ct_alive() const; + private: + bool _internal_has_ct_alive() const; + public: + void clear_ct_alive(); + int32_t ct_alive() const; + void set_ct_alive(int32_t value); + private: + int32_t _internal_ct_alive() const; + void _internal_set_ct_alive(int32_t value); + public: + + // optional int32 t_alive = 4; + bool has_t_alive() const; + private: + bool _internal_has_t_alive() const; + public: + void clear_t_alive(); + int32_t t_alive() const; + void set_t_alive(int32_t value); + private: + int32_t _internal_t_alive() const; + void _internal_set_t_alive(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage > all_damage_data_; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data_; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data_; + float timestamp_; + int32_t terrorist_odds_; + int32_t ct_alive_; + int32_t t_alive_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData_InitialConditions final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.InitialConditions) */ { + public: + inline CCSUsrMsg_RoundEndReportData_InitialConditions() : CCSUsrMsg_RoundEndReportData_InitialConditions(nullptr) {} + ~CCSUsrMsg_RoundEndReportData_InitialConditions() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData_InitialConditions(const CCSUsrMsg_RoundEndReportData_InitialConditions& from); + CCSUsrMsg_RoundEndReportData_InitialConditions(CCSUsrMsg_RoundEndReportData_InitialConditions&& from) noexcept + : CCSUsrMsg_RoundEndReportData_InitialConditions() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData_InitialConditions& operator=(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData_InitialConditions& operator=(CCSUsrMsg_RoundEndReportData_InitialConditions&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData_InitialConditions& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData_InitialConditions* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(CCSUsrMsg_RoundEndReportData_InitialConditions& a, CCSUsrMsg_RoundEndReportData_InitialConditions& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData_InitialConditions* 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(CCSUsrMsg_RoundEndReportData_InitialConditions* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData_InitialConditions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData_InitialConditions& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { + CCSUsrMsg_RoundEndReportData_InitialConditions::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(CCSUsrMsg_RoundEndReportData_InitialConditions* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData.InitialConditions"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData_InitialConditions(::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 { + kCtEquipValueFieldNumber = 1, + kTEquipValueFieldNumber = 2, + kTerroristOddsFieldNumber = 3, + }; + // optional int32 ct_equip_value = 1; + bool has_ct_equip_value() const; + private: + bool _internal_has_ct_equip_value() const; + public: + void clear_ct_equip_value(); + int32_t ct_equip_value() const; + void set_ct_equip_value(int32_t value); + private: + int32_t _internal_ct_equip_value() const; + void _internal_set_ct_equip_value(int32_t value); + public: + + // optional int32 t_equip_value = 2; + bool has_t_equip_value() const; + private: + bool _internal_has_t_equip_value() const; + public: + void clear_t_equip_value(); + int32_t t_equip_value() const; + void set_t_equip_value(int32_t value); + private: + int32_t _internal_t_equip_value() const; + void _internal_set_t_equip_value(int32_t value); + public: + + // optional int32 terrorist_odds = 3; + bool has_terrorist_odds() const; + private: + bool _internal_has_terrorist_odds() const; + public: + void clear_terrorist_odds(); + int32_t terrorist_odds() const; + void set_terrorist_odds(int32_t value); + private: + int32_t _internal_terrorist_odds() const; + void _internal_set_terrorist_odds(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.InitialConditions) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t ct_equip_value_; + int32_t t_equip_value_; + int32_t terrorist_odds_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RoundEndReportData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData) */ { + public: + inline CCSUsrMsg_RoundEndReportData() : CCSUsrMsg_RoundEndReportData(nullptr) {} + ~CCSUsrMsg_RoundEndReportData() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RoundEndReportData(const CCSUsrMsg_RoundEndReportData& from); + CCSUsrMsg_RoundEndReportData(CCSUsrMsg_RoundEndReportData&& from) noexcept + : CCSUsrMsg_RoundEndReportData() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RoundEndReportData& operator=(const CCSUsrMsg_RoundEndReportData& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RoundEndReportData& operator=(CCSUsrMsg_RoundEndReportData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RoundEndReportData& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RoundEndReportData* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RoundEndReportData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(CCSUsrMsg_RoundEndReportData& a, CCSUsrMsg_RoundEndReportData& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RoundEndReportData* 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(CCSUsrMsg_RoundEndReportData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RoundEndReportData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RoundEndReportData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RoundEndReportData& from) { + CCSUsrMsg_RoundEndReportData::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(CCSUsrMsg_RoundEndReportData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RoundEndReportData"; + } + protected: + explicit CCSUsrMsg_RoundEndReportData(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_RoundEndReportData_RerEvent RerEvent; + typedef CCSUsrMsg_RoundEndReportData_InitialConditions InitialConditions; + + // accessors ------------------------------------------------------- + + enum : int { + kAllRerEventDataFieldNumber = 2, + kInitConditionsFieldNumber = 1, + }; + // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; + int all_rer_event_data_size() const; + private: + int _internal_all_rer_event_data_size() const; + public: + void clear_all_rer_event_data(); + ::CCSUsrMsg_RoundEndReportData_RerEvent* mutable_all_rer_event_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >* + mutable_all_rer_event_data(); + private: + const ::CCSUsrMsg_RoundEndReportData_RerEvent& _internal_all_rer_event_data(int index) const; + ::CCSUsrMsg_RoundEndReportData_RerEvent* _internal_add_all_rer_event_data(); + public: + const ::CCSUsrMsg_RoundEndReportData_RerEvent& all_rer_event_data(int index) const; + ::CCSUsrMsg_RoundEndReportData_RerEvent* add_all_rer_event_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >& + all_rer_event_data() const; + + // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; + bool has_init_conditions() const; + private: + bool _internal_has_init_conditions() const; + public: + void clear_init_conditions(); + const ::CCSUsrMsg_RoundEndReportData_InitialConditions& init_conditions() const; + PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_InitialConditions* release_init_conditions(); + ::CCSUsrMsg_RoundEndReportData_InitialConditions* mutable_init_conditions(); + void set_allocated_init_conditions(::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions); + private: + const ::CCSUsrMsg_RoundEndReportData_InitialConditions& _internal_init_conditions() const; + ::CCSUsrMsg_RoundEndReportData_InitialConditions* _internal_mutable_init_conditions(); + public: + void unsafe_arena_set_allocated_init_conditions( + ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions); + ::CCSUsrMsg_RoundEndReportData_InitialConditions* unsafe_arena_release_init_conditions(); + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent > all_rer_event_data_; + ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_PostRoundDamageReport final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PostRoundDamageReport) */ { + public: + inline CCSUsrMsg_PostRoundDamageReport() : CCSUsrMsg_PostRoundDamageReport(nullptr) {} + ~CCSUsrMsg_PostRoundDamageReport() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_PostRoundDamageReport(const CCSUsrMsg_PostRoundDamageReport& from); + CCSUsrMsg_PostRoundDamageReport(CCSUsrMsg_PostRoundDamageReport&& from) noexcept + : CCSUsrMsg_PostRoundDamageReport() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_PostRoundDamageReport& operator=(const CCSUsrMsg_PostRoundDamageReport& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_PostRoundDamageReport& operator=(CCSUsrMsg_PostRoundDamageReport&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_PostRoundDamageReport& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_PostRoundDamageReport* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_PostRoundDamageReport_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(CCSUsrMsg_PostRoundDamageReport& a, CCSUsrMsg_PostRoundDamageReport& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_PostRoundDamageReport* 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(CCSUsrMsg_PostRoundDamageReport* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_PostRoundDamageReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_PostRoundDamageReport& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_PostRoundDamageReport& from) { + CCSUsrMsg_PostRoundDamageReport::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(CCSUsrMsg_PostRoundDamageReport* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_PostRoundDamageReport"; + } + protected: + explicit CCSUsrMsg_PostRoundDamageReport(::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 { + kOtherXuidFieldNumber = 1, + kGivenKillTypeFieldNumber = 2, + kGivenHealthRemovedFieldNumber = 3, + kGivenNumHitsFieldNumber = 4, + kTakenKillTypeFieldNumber = 5, + kTakenHealthRemovedFieldNumber = 6, + kTakenNumHitsFieldNumber = 7, + }; + // optional uint64 other_xuid = 1; + bool has_other_xuid() const; + private: + bool _internal_has_other_xuid() const; + public: + void clear_other_xuid(); + uint64_t other_xuid() const; + void set_other_xuid(uint64_t value); + private: + uint64_t _internal_other_xuid() const; + void _internal_set_other_xuid(uint64_t value); + public: + + // optional int32 given_kill_type = 2; + bool has_given_kill_type() const; + private: + bool _internal_has_given_kill_type() const; + public: + void clear_given_kill_type(); + int32_t given_kill_type() const; + void set_given_kill_type(int32_t value); + private: + int32_t _internal_given_kill_type() const; + void _internal_set_given_kill_type(int32_t value); + public: + + // optional int32 given_health_removed = 3; + bool has_given_health_removed() const; + private: + bool _internal_has_given_health_removed() const; + public: + void clear_given_health_removed(); + int32_t given_health_removed() const; + void set_given_health_removed(int32_t value); + private: + int32_t _internal_given_health_removed() const; + void _internal_set_given_health_removed(int32_t value); + public: + + // optional int32 given_num_hits = 4; + bool has_given_num_hits() const; + private: + bool _internal_has_given_num_hits() const; + public: + void clear_given_num_hits(); + int32_t given_num_hits() const; + void set_given_num_hits(int32_t value); + private: + int32_t _internal_given_num_hits() const; + void _internal_set_given_num_hits(int32_t value); + public: + + // optional int32 taken_kill_type = 5; + bool has_taken_kill_type() const; + private: + bool _internal_has_taken_kill_type() const; + public: + void clear_taken_kill_type(); + int32_t taken_kill_type() const; + void set_taken_kill_type(int32_t value); + private: + int32_t _internal_taken_kill_type() const; + void _internal_set_taken_kill_type(int32_t value); + public: + + // optional int32 taken_health_removed = 6; + bool has_taken_health_removed() const; + private: + bool _internal_has_taken_health_removed() const; + public: + void clear_taken_health_removed(); + int32_t taken_health_removed() const; + void set_taken_health_removed(int32_t value); + private: + int32_t _internal_taken_health_removed() const; + void _internal_set_taken_health_removed(int32_t value); + public: + + // optional int32 taken_num_hits = 7; + bool has_taken_num_hits() const; + private: + bool _internal_has_taken_num_hits() const; + public: + void clear_taken_num_hits(); + int32_t taken_num_hits() const; + void set_taken_num_hits(int32_t value); + private: + int32_t _internal_taken_num_hits() const; + void _internal_set_taken_num_hits(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_PostRoundDamageReport) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t other_xuid_; + int32_t given_kill_type_; + int32_t given_health_removed_; + int32_t given_num_hits_; + int32_t taken_kill_type_; + int32_t taken_health_removed_; + int32_t taken_num_hits_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CurrentRoundOdds final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CurrentRoundOdds) */ { + public: + inline CCSUsrMsg_CurrentRoundOdds() : CCSUsrMsg_CurrentRoundOdds(nullptr) {} + ~CCSUsrMsg_CurrentRoundOdds() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOdds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CurrentRoundOdds(const CCSUsrMsg_CurrentRoundOdds& from); + CCSUsrMsg_CurrentRoundOdds(CCSUsrMsg_CurrentRoundOdds&& from) noexcept + : CCSUsrMsg_CurrentRoundOdds() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CurrentRoundOdds& operator=(const CCSUsrMsg_CurrentRoundOdds& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CurrentRoundOdds& operator=(CCSUsrMsg_CurrentRoundOdds&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CurrentRoundOdds& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CurrentRoundOdds* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CurrentRoundOdds_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CCSUsrMsg_CurrentRoundOdds& a, CCSUsrMsg_CurrentRoundOdds& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CurrentRoundOdds* 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(CCSUsrMsg_CurrentRoundOdds* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CurrentRoundOdds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CurrentRoundOdds& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CurrentRoundOdds& from) { + CCSUsrMsg_CurrentRoundOdds::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(CCSUsrMsg_CurrentRoundOdds* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CurrentRoundOdds"; + } + protected: + explicit CCSUsrMsg_CurrentRoundOdds(::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 { + kOddsFieldNumber = 1, + }; + // optional int32 odds = 1; + bool has_odds() const; + private: + bool _internal_has_odds() const; + public: + void clear_odds(); + int32_t odds() const; + void set_odds(int32_t value); + private: + int32_t _internal_odds() const; + void _internal_set_odds(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CurrentRoundOdds) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t odds_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_DeepStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DeepStats) */ { + public: + inline CCSUsrMsg_DeepStats() : CCSUsrMsg_DeepStats(nullptr) {} + ~CCSUsrMsg_DeepStats() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_DeepStats(const CCSUsrMsg_DeepStats& from); + CCSUsrMsg_DeepStats(CCSUsrMsg_DeepStats&& from) noexcept + : CCSUsrMsg_DeepStats() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_DeepStats& operator=(const CCSUsrMsg_DeepStats& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_DeepStats& operator=(CCSUsrMsg_DeepStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_DeepStats& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_DeepStats* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_DeepStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CCSUsrMsg_DeepStats& a, CCSUsrMsg_DeepStats& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_DeepStats* 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(CCSUsrMsg_DeepStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_DeepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_DeepStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_DeepStats& from) { + CCSUsrMsg_DeepStats::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(CCSUsrMsg_DeepStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_DeepStats"; + } + protected: + explicit CCSUsrMsg_DeepStats(::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 { + kStatsFieldNumber = 1, + }; + // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::CMsgGCCStrike15_ClientDeepStats& stats() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_ClientDeepStats* release_stats(); + ::CMsgGCCStrike15_ClientDeepStats* mutable_stats(); + void set_allocated_stats(::CMsgGCCStrike15_ClientDeepStats* stats); + private: + const ::CMsgGCCStrike15_ClientDeepStats& _internal_stats() const; + ::CMsgGCCStrike15_ClientDeepStats* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::CMsgGCCStrike15_ClientDeepStats* stats); + ::CMsgGCCStrike15_ClientDeepStats* unsafe_arena_release_stats(); + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_DeepStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCCStrike15_ClientDeepStats* stats_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ShootInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ShootInfo) */ { + public: + inline CCSUsrMsg_ShootInfo() : CCSUsrMsg_ShootInfo(nullptr) {} + ~CCSUsrMsg_ShootInfo() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ShootInfo(const CCSUsrMsg_ShootInfo& from); + CCSUsrMsg_ShootInfo(CCSUsrMsg_ShootInfo&& from) noexcept + : CCSUsrMsg_ShootInfo() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ShootInfo& operator=(const CCSUsrMsg_ShootInfo& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ShootInfo& operator=(CCSUsrMsg_ShootInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ShootInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ShootInfo* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ShootInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 75; + + friend void swap(CCSUsrMsg_ShootInfo& a, CCSUsrMsg_ShootInfo& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ShootInfo* 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(CCSUsrMsg_ShootInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ShootInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ShootInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ShootInfo& from) { + CCSUsrMsg_ShootInfo::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(CCSUsrMsg_ShootInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ShootInfo"; + } + protected: + explicit CCSUsrMsg_ShootInfo(::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 { + kHitboxTransformsFieldNumber = 2, + kShootPosFieldNumber = 3, + kShootDirFieldNumber = 4, + kFrameNumberFieldNumber = 1, + }; + // repeated .CMsgTransform hitbox_transforms = 2; + int hitbox_transforms_size() const; + private: + int _internal_hitbox_transforms_size() const; + public: + void clear_hitbox_transforms(); + ::CMsgTransform* mutable_hitbox_transforms(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >* + mutable_hitbox_transforms(); + private: + const ::CMsgTransform& _internal_hitbox_transforms(int index) const; + ::CMsgTransform* _internal_add_hitbox_transforms(); + public: + const ::CMsgTransform& hitbox_transforms(int index) const; + ::CMsgTransform* add_hitbox_transforms(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >& + hitbox_transforms() const; + + // optional .CMsgVector shoot_pos = 3; + bool has_shoot_pos() const; + private: + bool _internal_has_shoot_pos() const; + public: + void clear_shoot_pos(); + const ::CMsgVector& shoot_pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_shoot_pos(); + ::CMsgVector* mutable_shoot_pos(); + void set_allocated_shoot_pos(::CMsgVector* shoot_pos); + private: + const ::CMsgVector& _internal_shoot_pos() const; + ::CMsgVector* _internal_mutable_shoot_pos(); + public: + void unsafe_arena_set_allocated_shoot_pos( + ::CMsgVector* shoot_pos); + ::CMsgVector* unsafe_arena_release_shoot_pos(); + + // optional .CMsgQAngle shoot_dir = 4; + bool has_shoot_dir() const; + private: + bool _internal_has_shoot_dir() const; + public: + void clear_shoot_dir(); + const ::CMsgQAngle& shoot_dir() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_shoot_dir(); + ::CMsgQAngle* mutable_shoot_dir(); + void set_allocated_shoot_dir(::CMsgQAngle* shoot_dir); + private: + const ::CMsgQAngle& _internal_shoot_dir() const; + ::CMsgQAngle* _internal_mutable_shoot_dir(); + public: + void unsafe_arena_set_allocated_shoot_dir( + ::CMsgQAngle* shoot_dir); + ::CMsgQAngle* unsafe_arena_release_shoot_dir(); + + // optional int32 frame_number = 1; + bool has_frame_number() const; + private: + bool _internal_has_frame_number() const; + public: + void clear_frame_number(); + int32_t frame_number() const; + void set_frame_number(int32_t value); + private: + int32_t _internal_frame_number() const; + void _internal_set_frame_number(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ShootInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform > hitbox_transforms_; + ::CMsgVector* shoot_pos_; + ::CMsgQAngle* shoot_dir_; + int32_t frame_number_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ResetHud final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ResetHud) */ { + public: + inline CCSUsrMsg_ResetHud() : CCSUsrMsg_ResetHud(nullptr) {} + ~CCSUsrMsg_ResetHud() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHud(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ResetHud(const CCSUsrMsg_ResetHud& from); + CCSUsrMsg_ResetHud(CCSUsrMsg_ResetHud&& from) noexcept + : CCSUsrMsg_ResetHud() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ResetHud& operator=(const CCSUsrMsg_ResetHud& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ResetHud& operator=(CCSUsrMsg_ResetHud&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ResetHud& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ResetHud* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ResetHud_default_instance_); + } + static constexpr int kIndexInFileMessages = + 76; + + friend void swap(CCSUsrMsg_ResetHud& a, CCSUsrMsg_ResetHud& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ResetHud* 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(CCSUsrMsg_ResetHud* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ResetHud* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ResetHud& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ResetHud& from) { + CCSUsrMsg_ResetHud::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(CCSUsrMsg_ResetHud* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ResetHud"; + } + protected: + explicit CCSUsrMsg_ResetHud(::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 { + kResetFieldNumber = 1, + }; + // optional bool reset = 1; + bool has_reset() const; + private: + bool _internal_has_reset() const; + public: + void clear_reset(); + bool reset() const; + void set_reset(bool value); + private: + bool _internal_reset() const; + void _internal_set_reset(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ResetHud) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool reset_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_GameTitle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_GameTitle) */ { + public: + inline CCSUsrMsg_GameTitle() : CCSUsrMsg_GameTitle(nullptr) {} + ~CCSUsrMsg_GameTitle() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_GameTitle(const CCSUsrMsg_GameTitle& from); + CCSUsrMsg_GameTitle(CCSUsrMsg_GameTitle&& from) noexcept + : CCSUsrMsg_GameTitle() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_GameTitle& operator=(const CCSUsrMsg_GameTitle& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_GameTitle& operator=(CCSUsrMsg_GameTitle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_GameTitle& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_GameTitle* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_GameTitle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 77; + + friend void swap(CCSUsrMsg_GameTitle& a, CCSUsrMsg_GameTitle& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_GameTitle* 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(CCSUsrMsg_GameTitle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_GameTitle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_GameTitle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_GameTitle& from) { + CCSUsrMsg_GameTitle::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(CCSUsrMsg_GameTitle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_GameTitle"; + } + protected: + explicit CCSUsrMsg_GameTitle(::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 { + kDummyFieldNumber = 1, + }; + // optional int32 dummy = 1; + bool has_dummy() const; + private: + bool _internal_has_dummy() const; + public: + void clear_dummy(); + int32_t dummy() const; + void set_dummy(int32_t value); + private: + int32_t _internal_dummy() const; + void _internal_set_dummy(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_GameTitle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t dummy_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RequestState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RequestState) */ { + public: + inline CCSUsrMsg_RequestState() : CCSUsrMsg_RequestState(nullptr) {} + ~CCSUsrMsg_RequestState() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RequestState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RequestState(const CCSUsrMsg_RequestState& from); + CCSUsrMsg_RequestState(CCSUsrMsg_RequestState&& from) noexcept + : CCSUsrMsg_RequestState() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RequestState& operator=(const CCSUsrMsg_RequestState& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RequestState& operator=(CCSUsrMsg_RequestState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RequestState& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RequestState* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RequestState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 78; + + friend void swap(CCSUsrMsg_RequestState& a, CCSUsrMsg_RequestState& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RequestState* 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(CCSUsrMsg_RequestState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RequestState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RequestState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RequestState& from) { + CCSUsrMsg_RequestState::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(CCSUsrMsg_RequestState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RequestState"; + } + protected: + explicit CCSUsrMsg_RequestState(::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 { + kDummyFieldNumber = 1, + }; + // optional int32 dummy = 1; + bool has_dummy() const; + private: + bool _internal_has_dummy() const; + public: + void clear_dummy(); + int32_t dummy() const; + void set_dummy(int32_t value); + private: + int32_t _internal_dummy() const; + void _internal_set_dummy(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RequestState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t dummy_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_StopSpectatorMode final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_StopSpectatorMode) */ { + public: + inline CCSUsrMsg_StopSpectatorMode() : CCSUsrMsg_StopSpectatorMode(nullptr) {} + ~CCSUsrMsg_StopSpectatorMode() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorMode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_StopSpectatorMode(const CCSUsrMsg_StopSpectatorMode& from); + CCSUsrMsg_StopSpectatorMode(CCSUsrMsg_StopSpectatorMode&& from) noexcept + : CCSUsrMsg_StopSpectatorMode() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_StopSpectatorMode& operator=(const CCSUsrMsg_StopSpectatorMode& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_StopSpectatorMode& operator=(CCSUsrMsg_StopSpectatorMode&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_StopSpectatorMode& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_StopSpectatorMode* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_StopSpectatorMode_default_instance_); + } + static constexpr int kIndexInFileMessages = + 79; + + friend void swap(CCSUsrMsg_StopSpectatorMode& a, CCSUsrMsg_StopSpectatorMode& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_StopSpectatorMode* 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(CCSUsrMsg_StopSpectatorMode* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_StopSpectatorMode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_StopSpectatorMode& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_StopSpectatorMode& from) { + CCSUsrMsg_StopSpectatorMode::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(CCSUsrMsg_StopSpectatorMode* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_StopSpectatorMode"; + } + protected: + explicit CCSUsrMsg_StopSpectatorMode(::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 { + kDummyFieldNumber = 1, + }; + // optional int32 dummy = 1; + bool has_dummy() const; + private: + bool _internal_has_dummy() const; + public: + void clear_dummy(); + int32_t dummy() const; + void set_dummy(int32_t value); + private: + int32_t _internal_dummy() const; + void _internal_set_dummy(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_StopSpectatorMode) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t dummy_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_DisconnectToLobby final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DisconnectToLobby) */ { + public: + inline CCSUsrMsg_DisconnectToLobby() : CCSUsrMsg_DisconnectToLobby(nullptr) {} + ~CCSUsrMsg_DisconnectToLobby() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_DisconnectToLobby(const CCSUsrMsg_DisconnectToLobby& from); + CCSUsrMsg_DisconnectToLobby(CCSUsrMsg_DisconnectToLobby&& from) noexcept + : CCSUsrMsg_DisconnectToLobby() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_DisconnectToLobby& operator=(const CCSUsrMsg_DisconnectToLobby& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_DisconnectToLobby& operator=(CCSUsrMsg_DisconnectToLobby&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_DisconnectToLobby& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_DisconnectToLobby* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_DisconnectToLobby_default_instance_); + } + static constexpr int kIndexInFileMessages = + 80; + + friend void swap(CCSUsrMsg_DisconnectToLobby& a, CCSUsrMsg_DisconnectToLobby& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_DisconnectToLobby* 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(CCSUsrMsg_DisconnectToLobby* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_DisconnectToLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_DisconnectToLobby& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_DisconnectToLobby& from) { + CCSUsrMsg_DisconnectToLobby::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(CCSUsrMsg_DisconnectToLobby* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_DisconnectToLobby"; + } + protected: + explicit CCSUsrMsg_DisconnectToLobby(::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 { + kDummyFieldNumber = 1, + }; + // optional int32 dummy = 1; + bool has_dummy() const; + private: + bool _internal_has_dummy() const; + public: + void clear_dummy(); + int32_t dummy() const; + void set_dummy(int32_t value); + private: + int32_t _internal_dummy() const; + void _internal_set_dummy(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_DisconnectToLobby) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t dummy_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ClientInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ClientInfo) */ { + public: + inline CCSUsrMsg_ClientInfo() : CCSUsrMsg_ClientInfo(nullptr) {} + ~CCSUsrMsg_ClientInfo() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ClientInfo(const CCSUsrMsg_ClientInfo& from); + CCSUsrMsg_ClientInfo(CCSUsrMsg_ClientInfo&& from) noexcept + : CCSUsrMsg_ClientInfo() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ClientInfo& operator=(const CCSUsrMsg_ClientInfo& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ClientInfo& operator=(CCSUsrMsg_ClientInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ClientInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ClientInfo* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ClientInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 81; + + friend void swap(CCSUsrMsg_ClientInfo& a, CCSUsrMsg_ClientInfo& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ClientInfo* 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(CCSUsrMsg_ClientInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ClientInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ClientInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ClientInfo& from) { + CCSUsrMsg_ClientInfo::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(CCSUsrMsg_ClientInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ClientInfo"; + } + protected: + explicit CCSUsrMsg_ClientInfo(::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 { + kDummyFieldNumber = 1, + }; + // optional int32 dummy = 1; + bool has_dummy() const; + private: + bool _internal_has_dummy() const; + public: + void clear_dummy(); + int32_t dummy() const; + void set_dummy(int32_t value); + private: + int32_t _internal_dummy() const; + void _internal_set_dummy(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ClientInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t dummy_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_ServerRankRevealAll final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankRevealAll) */ { + public: + inline CCSUsrMsg_ServerRankRevealAll() : CCSUsrMsg_ServerRankRevealAll(nullptr) {} + ~CCSUsrMsg_ServerRankRevealAll() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAll(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_ServerRankRevealAll(const CCSUsrMsg_ServerRankRevealAll& from); + CCSUsrMsg_ServerRankRevealAll(CCSUsrMsg_ServerRankRevealAll&& from) noexcept + : CCSUsrMsg_ServerRankRevealAll() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_ServerRankRevealAll& operator=(const CCSUsrMsg_ServerRankRevealAll& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_ServerRankRevealAll& operator=(CCSUsrMsg_ServerRankRevealAll&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_ServerRankRevealAll& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_ServerRankRevealAll* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_ServerRankRevealAll_default_instance_); + } + static constexpr int kIndexInFileMessages = + 82; + + friend void swap(CCSUsrMsg_ServerRankRevealAll& a, CCSUsrMsg_ServerRankRevealAll& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_ServerRankRevealAll* 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(CCSUsrMsg_ServerRankRevealAll* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_ServerRankRevealAll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_ServerRankRevealAll& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_ServerRankRevealAll& from) { + CCSUsrMsg_ServerRankRevealAll::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(CCSUsrMsg_ServerRankRevealAll* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_ServerRankRevealAll"; + } + protected: + explicit CCSUsrMsg_ServerRankRevealAll(::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 { + kReservationFieldNumber = 2, + kSecondsTillShutdownFieldNumber = 1, + }; + // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; + bool has_reservation() const; + private: + bool _internal_has_reservation() const; + public: + void clear_reservation(); + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; + PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); + void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + private: + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); + public: + void unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); + + // optional int32 seconds_till_shutdown = 1; + bool has_seconds_till_shutdown() const; + private: + bool _internal_has_seconds_till_shutdown() const; + public: + void clear_seconds_till_shutdown(); + int32_t seconds_till_shutdown() const; + void set_seconds_till_shutdown(int32_t value); + private: + int32_t _internal_seconds_till_shutdown() const; + void _internal_set_seconds_till_shutdown(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankRevealAll) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; + int32_t seconds_till_shutdown_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsgPreMatchSayText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsgPreMatchSayText) */ { + public: + inline CCSUsrMsgPreMatchSayText() : CCSUsrMsgPreMatchSayText(nullptr) {} + ~CCSUsrMsgPreMatchSayText() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsgPreMatchSayText(const CCSUsrMsgPreMatchSayText& from); + CCSUsrMsgPreMatchSayText(CCSUsrMsgPreMatchSayText&& from) noexcept + : CCSUsrMsgPreMatchSayText() { + *this = ::std::move(from); + } + + inline CCSUsrMsgPreMatchSayText& operator=(const CCSUsrMsgPreMatchSayText& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsgPreMatchSayText& operator=(CCSUsrMsgPreMatchSayText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsgPreMatchSayText& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsgPreMatchSayText* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsgPreMatchSayText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 83; + + friend void swap(CCSUsrMsgPreMatchSayText& a, CCSUsrMsgPreMatchSayText& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsgPreMatchSayText* 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(CCSUsrMsgPreMatchSayText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsgPreMatchSayText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsgPreMatchSayText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsgPreMatchSayText& from) { + CCSUsrMsgPreMatchSayText::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(CCSUsrMsgPreMatchSayText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsgPreMatchSayText"; + } + protected: + explicit CCSUsrMsgPreMatchSayText(::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 = 2, + kAccountIdFieldNumber = 1, + kAllChatFieldNumber = 3, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional bool all_chat = 3; + bool has_all_chat() const; + private: + bool _internal_has_all_chat() const; + public: + void clear_all_chat(); + bool all_chat() const; + void set_all_chat(bool value); + private: + bool _internal_all_chat() const; + void _internal_set_all_chat(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsgPreMatchSayText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + uint32_t account_id_; + bool all_chat_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_CounterStrafe final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CounterStrafe) */ { + public: + inline CCSUsrMsg_CounterStrafe() : CCSUsrMsg_CounterStrafe(nullptr) {} + ~CCSUsrMsg_CounterStrafe() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_CounterStrafe(const CCSUsrMsg_CounterStrafe& from); + CCSUsrMsg_CounterStrafe(CCSUsrMsg_CounterStrafe&& from) noexcept + : CCSUsrMsg_CounterStrafe() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_CounterStrafe& operator=(const CCSUsrMsg_CounterStrafe& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_CounterStrafe& operator=(CCSUsrMsg_CounterStrafe&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_CounterStrafe& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_CounterStrafe* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_CounterStrafe_default_instance_); + } + static constexpr int kIndexInFileMessages = + 84; + + friend void swap(CCSUsrMsg_CounterStrafe& a, CCSUsrMsg_CounterStrafe& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_CounterStrafe* 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(CCSUsrMsg_CounterStrafe* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_CounterStrafe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_CounterStrafe& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_CounterStrafe& from) { + CCSUsrMsg_CounterStrafe::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(CCSUsrMsg_CounterStrafe* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_CounterStrafe"; + } + protected: + explicit CCSUsrMsg_CounterStrafe(::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 { + kPressToReleaseNsFieldNumber = 1, + kTotalKeysDownFieldNumber = 2, + }; + // optional int32 press_to_release_ns = 1; + bool has_press_to_release_ns() const; + private: + bool _internal_has_press_to_release_ns() const; + public: + void clear_press_to_release_ns(); + int32_t press_to_release_ns() const; + void set_press_to_release_ns(int32_t value); + private: + int32_t _internal_press_to_release_ns() const; + void _internal_set_press_to_release_ns(int32_t value); + public: + + // optional int32 total_keys_down = 2; + bool has_total_keys_down() const; + private: + bool _internal_has_total_keys_down() const; + public: + void clear_total_keys_down(); + int32_t total_keys_down() const; + void set_total_keys_down(int32_t value); + private: + int32_t _internal_total_keys_down() const; + void _internal_set_total_keys_down(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_CounterStrafe) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t press_to_release_ns_; + int32_t total_keys_down_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_DamagePrediction final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DamagePrediction) */ { + public: + inline CCSUsrMsg_DamagePrediction() : CCSUsrMsg_DamagePrediction(nullptr) {} + ~CCSUsrMsg_DamagePrediction() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePrediction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_DamagePrediction(const CCSUsrMsg_DamagePrediction& from); + CCSUsrMsg_DamagePrediction(CCSUsrMsg_DamagePrediction&& from) noexcept + : CCSUsrMsg_DamagePrediction() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_DamagePrediction& operator=(const CCSUsrMsg_DamagePrediction& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_DamagePrediction& operator=(CCSUsrMsg_DamagePrediction&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_DamagePrediction& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_DamagePrediction* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_DamagePrediction_default_instance_); + } + static constexpr int kIndexInFileMessages = + 85; + + friend void swap(CCSUsrMsg_DamagePrediction& a, CCSUsrMsg_DamagePrediction& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_DamagePrediction* 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(CCSUsrMsg_DamagePrediction* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_DamagePrediction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_DamagePrediction& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_DamagePrediction& from) { + CCSUsrMsg_DamagePrediction::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(CCSUsrMsg_DamagePrediction* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_DamagePrediction"; + } + protected: + explicit CCSUsrMsg_DamagePrediction(::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 { + kShootPosFieldNumber = 6, + kShootDirFieldNumber = 7, + kAimPunchFieldNumber = 8, + kCommandNumFieldNumber = 1, + kPelletIdxFieldNumber = 2, + kVictimSlotFieldNumber = 3, + kVictimStartingHealthFieldNumber = 4, + kVictimDamageFieldNumber = 5, + }; + // optional .CMsgVector shoot_pos = 6; + bool has_shoot_pos() const; + private: + bool _internal_has_shoot_pos() const; + public: + void clear_shoot_pos(); + const ::CMsgVector& shoot_pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_shoot_pos(); + ::CMsgVector* mutable_shoot_pos(); + void set_allocated_shoot_pos(::CMsgVector* shoot_pos); + private: + const ::CMsgVector& _internal_shoot_pos() const; + ::CMsgVector* _internal_mutable_shoot_pos(); + public: + void unsafe_arena_set_allocated_shoot_pos( + ::CMsgVector* shoot_pos); + ::CMsgVector* unsafe_arena_release_shoot_pos(); + + // optional .CMsgQAngle shoot_dir = 7; + bool has_shoot_dir() const; + private: + bool _internal_has_shoot_dir() const; + public: + void clear_shoot_dir(); + const ::CMsgQAngle& shoot_dir() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_shoot_dir(); + ::CMsgQAngle* mutable_shoot_dir(); + void set_allocated_shoot_dir(::CMsgQAngle* shoot_dir); + private: + const ::CMsgQAngle& _internal_shoot_dir() const; + ::CMsgQAngle* _internal_mutable_shoot_dir(); + public: + void unsafe_arena_set_allocated_shoot_dir( + ::CMsgQAngle* shoot_dir); + ::CMsgQAngle* unsafe_arena_release_shoot_dir(); + + // optional .CMsgQAngle aim_punch = 8; + bool has_aim_punch() const; + private: + bool _internal_has_aim_punch() const; + public: + void clear_aim_punch(); + const ::CMsgQAngle& aim_punch() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_aim_punch(); + ::CMsgQAngle* mutable_aim_punch(); + void set_allocated_aim_punch(::CMsgQAngle* aim_punch); + private: + const ::CMsgQAngle& _internal_aim_punch() const; + ::CMsgQAngle* _internal_mutable_aim_punch(); + public: + void unsafe_arena_set_allocated_aim_punch( + ::CMsgQAngle* aim_punch); + ::CMsgQAngle* unsafe_arena_release_aim_punch(); + + // optional int32 command_num = 1; + bool has_command_num() const; + private: + bool _internal_has_command_num() const; + public: + void clear_command_num(); + int32_t command_num() const; + void set_command_num(int32_t value); + private: + int32_t _internal_command_num() const; + void _internal_set_command_num(int32_t value); + public: + + // optional int32 pellet_idx = 2; + bool has_pellet_idx() const; + private: + bool _internal_has_pellet_idx() const; + public: + void clear_pellet_idx(); + int32_t pellet_idx() const; + void set_pellet_idx(int32_t value); + private: + int32_t _internal_pellet_idx() const; + void _internal_set_pellet_idx(int32_t value); + public: + + // optional int32 victim_slot = 3; + bool has_victim_slot() const; + private: + bool _internal_has_victim_slot() const; + public: + void clear_victim_slot(); + int32_t victim_slot() const; + void set_victim_slot(int32_t value); + private: + int32_t _internal_victim_slot() const; + void _internal_set_victim_slot(int32_t value); + public: + + // optional int32 victim_starting_health = 4; + bool has_victim_starting_health() const; + private: + bool _internal_has_victim_starting_health() const; + public: + void clear_victim_starting_health(); + int32_t victim_starting_health() const; + void set_victim_starting_health(int32_t value); + private: + int32_t _internal_victim_starting_health() const; + void _internal_set_victim_starting_health(int32_t value); + public: + + // optional int32 victim_damage = 5; + bool has_victim_damage() const; + private: + bool _internal_has_victim_damage() const; + public: + void clear_victim_damage(); + int32_t victim_damage() const; + void set_victim_damage(int32_t value); + private: + int32_t _internal_victim_damage() const; + void _internal_set_victim_damage(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_DamagePrediction) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* shoot_pos_; + ::CMsgQAngle* shoot_dir_; + ::CMsgQAngle* aim_punch_; + int32_t command_num_; + int32_t pellet_idx_; + int32_t victim_slot_; + int32_t victim_starting_health_; + int32_t victim_damage_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_RecurringMissionSchema final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RecurringMissionSchema) */ { + public: + inline CCSUsrMsg_RecurringMissionSchema() : CCSUsrMsg_RecurringMissionSchema(nullptr) {} + ~CCSUsrMsg_RecurringMissionSchema() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_RecurringMissionSchema(const CCSUsrMsg_RecurringMissionSchema& from); + CCSUsrMsg_RecurringMissionSchema(CCSUsrMsg_RecurringMissionSchema&& from) noexcept + : CCSUsrMsg_RecurringMissionSchema() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_RecurringMissionSchema& operator=(const CCSUsrMsg_RecurringMissionSchema& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_RecurringMissionSchema& operator=(CCSUsrMsg_RecurringMissionSchema&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_RecurringMissionSchema& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_RecurringMissionSchema* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_RecurringMissionSchema_default_instance_); + } + static constexpr int kIndexInFileMessages = + 86; + + friend void swap(CCSUsrMsg_RecurringMissionSchema& a, CCSUsrMsg_RecurringMissionSchema& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_RecurringMissionSchema* 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(CCSUsrMsg_RecurringMissionSchema* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_RecurringMissionSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_RecurringMissionSchema& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_RecurringMissionSchema& from) { + CCSUsrMsg_RecurringMissionSchema::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(CCSUsrMsg_RecurringMissionSchema* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_RecurringMissionSchema"; + } + protected: + explicit CCSUsrMsg_RecurringMissionSchema(::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 { + kMissionSchemaFieldNumber = 2, + kPeriodFieldNumber = 1, + }; + // optional bytes mission_schema = 2; + bool has_mission_schema() const; + private: + bool _internal_has_mission_schema() const; + public: + void clear_mission_schema(); + const std::string& mission_schema() const; + template + void set_mission_schema(ArgT0&& arg0, ArgT... args); + std::string* mutable_mission_schema(); + PROTOBUF_NODISCARD std::string* release_mission_schema(); + void set_allocated_mission_schema(std::string* mission_schema); + private: + const std::string& _internal_mission_schema() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_schema(const std::string& value); + std::string* _internal_mutable_mission_schema(); + public: + + // optional uint32 period = 1; + bool has_period() const; + private: + bool _internal_has_period() const; + public: + void clear_period(); + uint32_t period() const; + void set_period(uint32_t value); + private: + uint32_t _internal_period() const; + void _internal_set_period(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_RecurringMissionSchema) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_schema_; + uint32_t period_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendPlayerLoadout_LoadoutItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) */ { + public: + inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem() : CCSUsrMsg_SendPlayerLoadout_LoadoutItem(nullptr) {} + ~CCSUsrMsg_SendPlayerLoadout_LoadoutItem() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendPlayerLoadout_LoadoutItem(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from); + CCSUsrMsg_SendPlayerLoadout_LoadoutItem(CCSUsrMsg_SendPlayerLoadout_LoadoutItem&& from) noexcept + : CCSUsrMsg_SendPlayerLoadout_LoadoutItem() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem& operator=(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem& operator=(CCSUsrMsg_SendPlayerLoadout_LoadoutItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendPlayerLoadout_LoadoutItem& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 87; + + friend void swap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem& a, CCSUsrMsg_SendPlayerLoadout_LoadoutItem& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* 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(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendPlayerLoadout_LoadoutItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { + CCSUsrMsg_SendPlayerLoadout_LoadoutItem::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(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendPlayerLoadout.LoadoutItem"; + } + protected: + explicit CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::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 { + kEconItemFieldNumber = 1, + kTeamFieldNumber = 2, + kSlotFieldNumber = 3, + }; + // optional .CEconItemPreviewDataBlock econ_item = 1; + bool has_econ_item() const; + private: + bool _internal_has_econ_item() const; + public: + void clear_econ_item(); + const ::CEconItemPreviewDataBlock& econ_item() const; + PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_econ_item(); + ::CEconItemPreviewDataBlock* mutable_econ_item(); + void set_allocated_econ_item(::CEconItemPreviewDataBlock* econ_item); + private: + const ::CEconItemPreviewDataBlock& _internal_econ_item() const; + ::CEconItemPreviewDataBlock* _internal_mutable_econ_item(); + public: + void unsafe_arena_set_allocated_econ_item( + ::CEconItemPreviewDataBlock* econ_item); + ::CEconItemPreviewDataBlock* unsafe_arena_release_econ_item(); + + // optional int32 team = 2; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + int32_t team() const; + void set_team(int32_t value); + private: + int32_t _internal_team() const; + void _internal_set_team(int32_t value); + public: + + // optional int32 slot = 3; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEconItemPreviewDataBlock* econ_item_; + int32_t team_; + int32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCSUsrMsg_SendPlayerLoadout final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerLoadout) */ { + public: + inline CCSUsrMsg_SendPlayerLoadout() : CCSUsrMsg_SendPlayerLoadout(nullptr) {} + ~CCSUsrMsg_SendPlayerLoadout() override; + explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCSUsrMsg_SendPlayerLoadout(const CCSUsrMsg_SendPlayerLoadout& from); + CCSUsrMsg_SendPlayerLoadout(CCSUsrMsg_SendPlayerLoadout&& from) noexcept + : CCSUsrMsg_SendPlayerLoadout() { + *this = ::std::move(from); + } + + inline CCSUsrMsg_SendPlayerLoadout& operator=(const CCSUsrMsg_SendPlayerLoadout& from) { + CopyFrom(from); + return *this; + } + inline CCSUsrMsg_SendPlayerLoadout& operator=(CCSUsrMsg_SendPlayerLoadout&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCSUsrMsg_SendPlayerLoadout& default_instance() { + return *internal_default_instance(); + } + static inline const CCSUsrMsg_SendPlayerLoadout* internal_default_instance() { + return reinterpret_cast( + &_CCSUsrMsg_SendPlayerLoadout_default_instance_); + } + static constexpr int kIndexInFileMessages = + 88; + + friend void swap(CCSUsrMsg_SendPlayerLoadout& a, CCSUsrMsg_SendPlayerLoadout& b) { + a.Swap(&b); + } + inline void Swap(CCSUsrMsg_SendPlayerLoadout* 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(CCSUsrMsg_SendPlayerLoadout* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCSUsrMsg_SendPlayerLoadout* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCSUsrMsg_SendPlayerLoadout& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCSUsrMsg_SendPlayerLoadout& from) { + CCSUsrMsg_SendPlayerLoadout::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(CCSUsrMsg_SendPlayerLoadout* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCSUsrMsg_SendPlayerLoadout"; + } + protected: + explicit CCSUsrMsg_SendPlayerLoadout(::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 ---------------------------------------------------- + + typedef CCSUsrMsg_SendPlayerLoadout_LoadoutItem LoadoutItem; + + // accessors ------------------------------------------------------- + + enum : int { + kLoadoutFieldNumber = 1, + kPlayerslotFieldNumber = 2, + }; + // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; + int loadout_size() const; + private: + int _internal_loadout_size() const; + public: + void clear_loadout(); + ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* mutable_loadout(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >* + mutable_loadout(); + private: + const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& _internal_loadout(int index) const; + ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* _internal_add_loadout(); + public: + const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& loadout(int index) const; + ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* add_loadout(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >& + loadout() const; + + // optional int32 playerslot = 2 [default = -1]; + bool has_playerslot() const; + private: + bool _internal_has_playerslot() const; + public: + void clear_playerslot(); + int32_t playerslot() const; + void set_playerslot(int32_t value); + private: + int32_t _internal_playerslot() const; + void _internal_set_playerslot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerLoadout) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem > loadout_; + int32_t playerslot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CCSUsrMsg_VGUIMenu_Keys + +// optional string name = 1; +inline bool CCSUsrMsg_VGUIMenu_Keys::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VGUIMenu_Keys::has_name() const { + return _internal_has_name(); +} +inline void CCSUsrMsg_VGUIMenu_Keys::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_VGUIMenu_Keys::name() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.Keys.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VGUIMenu_Keys::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.Keys.name) +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.Keys.name) + return _s; +} +inline const std::string& CCSUsrMsg_VGUIMenu_Keys::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CCSUsrMsg_VGUIMenu_Keys::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::release_name() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.Keys.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VGUIMenu_Keys::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_VGUIMenu.Keys.name) +} + +// optional string value = 2; +inline bool CCSUsrMsg_VGUIMenu_Keys::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VGUIMenu_Keys::has_value() const { + return _internal_has_value(); +} +inline void CCSUsrMsg_VGUIMenu_Keys::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCSUsrMsg_VGUIMenu_Keys::value() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.Keys.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VGUIMenu_Keys::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.Keys.value) +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.Keys.value) + return _s; +} +inline const std::string& CCSUsrMsg_VGUIMenu_Keys::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CCSUsrMsg_VGUIMenu_Keys::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu_Keys::release_value() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.Keys.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VGUIMenu_Keys::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VGUIMenu.Keys.value) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VGUIMenu + +// optional string name = 1; +inline bool CCSUsrMsg_VGUIMenu::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VGUIMenu::has_name() const { + return _internal_has_name(); +} +inline void CCSUsrMsg_VGUIMenu::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_VGUIMenu::name() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VGUIMenu::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.name) +} +inline std::string* CCSUsrMsg_VGUIMenu::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.name) + return _s; +} +inline const std::string& CCSUsrMsg_VGUIMenu::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CCSUsrMsg_VGUIMenu::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VGUIMenu::release_name() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VGUIMenu::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_VGUIMenu.name) +} + +// optional bool show = 2; +inline bool CCSUsrMsg_VGUIMenu::_internal_has_show() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VGUIMenu::has_show() const { + return _internal_has_show(); +} +inline void CCSUsrMsg_VGUIMenu::clear_show() { + _impl_.show_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CCSUsrMsg_VGUIMenu::_internal_show() const { + return _impl_.show_; +} +inline bool CCSUsrMsg_VGUIMenu::show() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.show) + return _internal_show(); +} +inline void CCSUsrMsg_VGUIMenu::_internal_set_show(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.show_ = value; +} +inline void CCSUsrMsg_VGUIMenu::set_show(bool value) { + _internal_set_show(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.show) +} + +// repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; +inline int CCSUsrMsg_VGUIMenu::_internal_keys_size() const { + return _impl_.keys_.size(); +} +inline int CCSUsrMsg_VGUIMenu::keys_size() const { + return _internal_keys_size(); +} +inline void CCSUsrMsg_VGUIMenu::clear_keys() { + _impl_.keys_.Clear(); +} +inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::mutable_keys(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.keys) + return _impl_.keys_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >* +CCSUsrMsg_VGUIMenu::mutable_keys() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VGUIMenu.keys) + return &_impl_.keys_; +} +inline const ::CCSUsrMsg_VGUIMenu_Keys& CCSUsrMsg_VGUIMenu::_internal_keys(int index) const { + return _impl_.keys_.Get(index); +} +inline const ::CCSUsrMsg_VGUIMenu_Keys& CCSUsrMsg_VGUIMenu::keys(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.keys) + return _internal_keys(index); +} +inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::_internal_add_keys() { + return _impl_.keys_.Add(); +} +inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::add_keys() { + ::CCSUsrMsg_VGUIMenu_Keys* _add = _internal_add_keys(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_VGUIMenu.keys) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >& +CCSUsrMsg_VGUIMenu::keys() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_VGUIMenu.keys) + return _impl_.keys_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Geiger + +// optional int32 range = 1; +inline bool CCSUsrMsg_Geiger::_internal_has_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_Geiger::has_range() const { + return _internal_has_range(); +} +inline void CCSUsrMsg_Geiger::clear_range() { + _impl_.range_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_Geiger::_internal_range() const { + return _impl_.range_; +} +inline int32_t CCSUsrMsg_Geiger::range() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Geiger.range) + return _internal_range(); +} +inline void CCSUsrMsg_Geiger::_internal_set_range(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.range_ = value; +} +inline void CCSUsrMsg_Geiger::set_range(int32_t value) { + _internal_set_range(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Geiger.range) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Train + +// optional int32 train = 1; +inline bool CCSUsrMsg_Train::_internal_has_train() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_Train::has_train() const { + return _internal_has_train(); +} +inline void CCSUsrMsg_Train::clear_train() { + _impl_.train_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_Train::_internal_train() const { + return _impl_.train_; +} +inline int32_t CCSUsrMsg_Train::train() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Train.train) + return _internal_train(); +} +inline void CCSUsrMsg_Train::_internal_set_train(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.train_ = value; +} +inline void CCSUsrMsg_Train::set_train(int32_t value) { + _internal_set_train(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Train.train) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_HudText + +// optional string text = 1; +inline bool CCSUsrMsg_HudText::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_HudText::has_text() const { + return _internal_has_text(); +} +inline void CCSUsrMsg_HudText::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_HudText::text() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudText.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_HudText::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudText.text) +} +inline std::string* CCSUsrMsg_HudText::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudText.text) + return _s; +} +inline const std::string& CCSUsrMsg_HudText::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CCSUsrMsg_HudText::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HudText::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HudText::release_text() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HudText.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_HudText::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_HudText.text) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_HudMsg + +// optional int32 channel = 1; +inline bool CCSUsrMsg_HudMsg::_internal_has_channel() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_channel() const { + return _internal_has_channel(); +} +inline void CCSUsrMsg_HudMsg::clear_channel() { + _impl_.channel_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_HudMsg::_internal_channel() const { + return _impl_.channel_; +} +inline int32_t CCSUsrMsg_HudMsg::channel() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.channel) + return _internal_channel(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_channel(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.channel_ = value; +} +inline void CCSUsrMsg_HudMsg::set_channel(int32_t value) { + _internal_set_channel(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.channel) +} + +// optional .CMsgVector2D pos = 2; +inline bool CCSUsrMsg_HudMsg::_internal_has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline bool CCSUsrMsg_HudMsg::has_pos() const { + return _internal_has_pos(); +} +inline const ::CMsgVector2D& CCSUsrMsg_HudMsg::_internal_pos() const { + const ::CMsgVector2D* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector2D_default_instance_); +} +inline const ::CMsgVector2D& CCSUsrMsg_HudMsg::pos() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.pos) + return _internal_pos(); +} +inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_pos( + ::CMsgVector2D* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.pos) +} +inline ::CMsgVector2D* CCSUsrMsg_HudMsg::release_pos() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector2D* 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 ::CMsgVector2D* CCSUsrMsg_HudMsg::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.pos) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector2D* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::CMsgVector2D* CCSUsrMsg_HudMsg::_internal_mutable_pos() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector2D>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::CMsgVector2D* CCSUsrMsg_HudMsg::mutable_pos() { + ::CMsgVector2D* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.pos) + return _msg; +} +inline void CCSUsrMsg_HudMsg::set_allocated_pos(::CMsgVector2D* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.pos) +} + +// optional .CMsgRGBA clr1 = 3; +inline bool CCSUsrMsg_HudMsg::_internal_has_clr1() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.clr1_ != nullptr); + return value; +} +inline bool CCSUsrMsg_HudMsg::has_clr1() const { + return _internal_has_clr1(); +} +inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::_internal_clr1() const { + const ::CMsgRGBA* p = _impl_.clr1_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgRGBA_default_instance_); +} +inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::clr1() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.clr1) + return _internal_clr1(); +} +inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_clr1( + ::CMsgRGBA* clr1) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr1_); + } + _impl_.clr1_ = clr1; + if (clr1) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.clr1) +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::release_clr1() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgRGBA* temp = _impl_.clr1_; + _impl_.clr1_ = 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 ::CMsgRGBA* CCSUsrMsg_HudMsg::unsafe_arena_release_clr1() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.clr1) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgRGBA* temp = _impl_.clr1_; + _impl_.clr1_ = nullptr; + return temp; +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::_internal_mutable_clr1() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.clr1_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); + _impl_.clr1_ = p; + } + return _impl_.clr1_; +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::mutable_clr1() { + ::CMsgRGBA* _msg = _internal_mutable_clr1(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.clr1) + return _msg; +} +inline void CCSUsrMsg_HudMsg::set_allocated_clr1(::CMsgRGBA* clr1) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr1_); + } + if (clr1) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr1)); + if (message_arena != submessage_arena) { + clr1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, clr1, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.clr1_ = clr1; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.clr1) +} + +// optional .CMsgRGBA clr2 = 4; +inline bool CCSUsrMsg_HudMsg::_internal_has_clr2() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.clr2_ != nullptr); + return value; +} +inline bool CCSUsrMsg_HudMsg::has_clr2() const { + return _internal_has_clr2(); +} +inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::_internal_clr2() const { + const ::CMsgRGBA* p = _impl_.clr2_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgRGBA_default_instance_); +} +inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::clr2() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.clr2) + return _internal_clr2(); +} +inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_clr2( + ::CMsgRGBA* clr2) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr2_); + } + _impl_.clr2_ = clr2; + if (clr2) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.clr2) +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::release_clr2() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgRGBA* temp = _impl_.clr2_; + _impl_.clr2_ = 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 ::CMsgRGBA* CCSUsrMsg_HudMsg::unsafe_arena_release_clr2() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.clr2) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgRGBA* temp = _impl_.clr2_; + _impl_.clr2_ = nullptr; + return temp; +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::_internal_mutable_clr2() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.clr2_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); + _impl_.clr2_ = p; + } + return _impl_.clr2_; +} +inline ::CMsgRGBA* CCSUsrMsg_HudMsg::mutable_clr2() { + ::CMsgRGBA* _msg = _internal_mutable_clr2(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.clr2) + return _msg; +} +inline void CCSUsrMsg_HudMsg::set_allocated_clr2(::CMsgRGBA* clr2) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr2_); + } + if (clr2) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr2)); + if (message_arena != submessage_arena) { + clr2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, clr2, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.clr2_ = clr2; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.clr2) +} + +// optional int32 effect = 5; +inline bool CCSUsrMsg_HudMsg::_internal_has_effect() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_effect() const { + return _internal_has_effect(); +} +inline void CCSUsrMsg_HudMsg::clear_effect() { + _impl_.effect_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_HudMsg::_internal_effect() const { + return _impl_.effect_; +} +inline int32_t CCSUsrMsg_HudMsg::effect() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.effect) + return _internal_effect(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_effect(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.effect_ = value; +} +inline void CCSUsrMsg_HudMsg::set_effect(int32_t value) { + _internal_set_effect(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.effect) +} + +// optional float fade_in_time = 6; +inline bool CCSUsrMsg_HudMsg::_internal_has_fade_in_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_fade_in_time() const { + return _internal_has_fade_in_time(); +} +inline void CCSUsrMsg_HudMsg::clear_fade_in_time() { + _impl_.fade_in_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CCSUsrMsg_HudMsg::_internal_fade_in_time() const { + return _impl_.fade_in_time_; +} +inline float CCSUsrMsg_HudMsg::fade_in_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fade_in_time) + return _internal_fade_in_time(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_fade_in_time(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.fade_in_time_ = value; +} +inline void CCSUsrMsg_HudMsg::set_fade_in_time(float value) { + _internal_set_fade_in_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fade_in_time) +} + +// optional float fade_out_time = 7; +inline bool CCSUsrMsg_HudMsg::_internal_has_fade_out_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_fade_out_time() const { + return _internal_has_fade_out_time(); +} +inline void CCSUsrMsg_HudMsg::clear_fade_out_time() { + _impl_.fade_out_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CCSUsrMsg_HudMsg::_internal_fade_out_time() const { + return _impl_.fade_out_time_; +} +inline float CCSUsrMsg_HudMsg::fade_out_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fade_out_time) + return _internal_fade_out_time(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_fade_out_time(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.fade_out_time_ = value; +} +inline void CCSUsrMsg_HudMsg::set_fade_out_time(float value) { + _internal_set_fade_out_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fade_out_time) +} + +// optional float hold_time = 9; +inline bool CCSUsrMsg_HudMsg::_internal_has_hold_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_hold_time() const { + return _internal_has_hold_time(); +} +inline void CCSUsrMsg_HudMsg::clear_hold_time() { + _impl_.hold_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CCSUsrMsg_HudMsg::_internal_hold_time() const { + return _impl_.hold_time_; +} +inline float CCSUsrMsg_HudMsg::hold_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.hold_time) + return _internal_hold_time(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_hold_time(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.hold_time_ = value; +} +inline void CCSUsrMsg_HudMsg::set_hold_time(float value) { + _internal_set_hold_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.hold_time) +} + +// optional float fx_time = 10; +inline bool CCSUsrMsg_HudMsg::_internal_has_fx_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_fx_time() const { + return _internal_has_fx_time(); +} +inline void CCSUsrMsg_HudMsg::clear_fx_time() { + _impl_.fx_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline float CCSUsrMsg_HudMsg::_internal_fx_time() const { + return _impl_.fx_time_; +} +inline float CCSUsrMsg_HudMsg::fx_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fx_time) + return _internal_fx_time(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_fx_time(float value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.fx_time_ = value; +} +inline void CCSUsrMsg_HudMsg::set_fx_time(float value) { + _internal_set_fx_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fx_time) +} + +// optional string text = 11; +inline bool CCSUsrMsg_HudMsg::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_HudMsg::has_text() const { + return _internal_has_text(); +} +inline void CCSUsrMsg_HudMsg::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_HudMsg::text() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_HudMsg::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.text) +} +inline std::string* CCSUsrMsg_HudMsg::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.text) + return _s; +} +inline const std::string& CCSUsrMsg_HudMsg::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CCSUsrMsg_HudMsg::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HudMsg::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HudMsg::release_text() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_HudMsg::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_HudMsg.text) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Shake + +// optional int32 command = 1; +inline bool CCSUsrMsg_Shake::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_Shake::has_command() const { + return _internal_has_command(); +} +inline void CCSUsrMsg_Shake::clear_command() { + _impl_.command_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_Shake::_internal_command() const { + return _impl_.command_; +} +inline int32_t CCSUsrMsg_Shake::command() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.command) + return _internal_command(); +} +inline void CCSUsrMsg_Shake::_internal_set_command(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_ = value; +} +inline void CCSUsrMsg_Shake::set_command(int32_t value) { + _internal_set_command(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.command) +} + +// optional float local_amplitude = 2; +inline bool CCSUsrMsg_Shake::_internal_has_local_amplitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_Shake::has_local_amplitude() const { + return _internal_has_local_amplitude(); +} +inline void CCSUsrMsg_Shake::clear_local_amplitude() { + _impl_.local_amplitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_Shake::_internal_local_amplitude() const { + return _impl_.local_amplitude_; +} +inline float CCSUsrMsg_Shake::local_amplitude() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.local_amplitude) + return _internal_local_amplitude(); +} +inline void CCSUsrMsg_Shake::_internal_set_local_amplitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.local_amplitude_ = value; +} +inline void CCSUsrMsg_Shake::set_local_amplitude(float value) { + _internal_set_local_amplitude(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.local_amplitude) +} + +// optional float frequency = 3; +inline bool CCSUsrMsg_Shake::_internal_has_frequency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_Shake::has_frequency() const { + return _internal_has_frequency(); +} +inline void CCSUsrMsg_Shake::clear_frequency() { + _impl_.frequency_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_Shake::_internal_frequency() const { + return _impl_.frequency_; +} +inline float CCSUsrMsg_Shake::frequency() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.frequency) + return _internal_frequency(); +} +inline void CCSUsrMsg_Shake::_internal_set_frequency(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frequency_ = value; +} +inline void CCSUsrMsg_Shake::set_frequency(float value) { + _internal_set_frequency(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.frequency) +} + +// optional float duration = 4; +inline bool CCSUsrMsg_Shake::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_Shake::has_duration() const { + return _internal_has_duration(); +} +inline void CCSUsrMsg_Shake::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_Shake::_internal_duration() const { + return _impl_.duration_; +} +inline float CCSUsrMsg_Shake::duration() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.duration) + return _internal_duration(); +} +inline void CCSUsrMsg_Shake::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.duration_ = value; +} +inline void CCSUsrMsg_Shake::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.duration) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Fade + +// optional int32 duration = 1; +inline bool CCSUsrMsg_Fade::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_Fade::has_duration() const { + return _internal_has_duration(); +} +inline void CCSUsrMsg_Fade::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_Fade::_internal_duration() const { + return _impl_.duration_; +} +inline int32_t CCSUsrMsg_Fade::duration() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.duration) + return _internal_duration(); +} +inline void CCSUsrMsg_Fade::_internal_set_duration(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CCSUsrMsg_Fade::set_duration(int32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.duration) +} + +// optional int32 hold_time = 2; +inline bool CCSUsrMsg_Fade::_internal_has_hold_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_Fade::has_hold_time() const { + return _internal_has_hold_time(); +} +inline void CCSUsrMsg_Fade::clear_hold_time() { + _impl_.hold_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_Fade::_internal_hold_time() const { + return _impl_.hold_time_; +} +inline int32_t CCSUsrMsg_Fade::hold_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.hold_time) + return _internal_hold_time(); +} +inline void CCSUsrMsg_Fade::_internal_set_hold_time(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hold_time_ = value; +} +inline void CCSUsrMsg_Fade::set_hold_time(int32_t value) { + _internal_set_hold_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.hold_time) +} + +// optional int32 flags = 3; +inline bool CCSUsrMsg_Fade::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_Fade::has_flags() const { + return _internal_has_flags(); +} +inline void CCSUsrMsg_Fade::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_Fade::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CCSUsrMsg_Fade::flags() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.flags) + return _internal_flags(); +} +inline void CCSUsrMsg_Fade::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.flags_ = value; +} +inline void CCSUsrMsg_Fade::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.flags) +} + +// optional .CMsgRGBA clr = 4; +inline bool CCSUsrMsg_Fade::_internal_has_clr() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.clr_ != nullptr); + return value; +} +inline bool CCSUsrMsg_Fade::has_clr() const { + return _internal_has_clr(); +} +inline const ::CMsgRGBA& CCSUsrMsg_Fade::_internal_clr() const { + const ::CMsgRGBA* p = _impl_.clr_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgRGBA_default_instance_); +} +inline const ::CMsgRGBA& CCSUsrMsg_Fade::clr() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.clr) + return _internal_clr(); +} +inline void CCSUsrMsg_Fade::unsafe_arena_set_allocated_clr( + ::CMsgRGBA* clr) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr_); + } + _impl_.clr_ = clr; + if (clr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_Fade.clr) +} +inline ::CMsgRGBA* CCSUsrMsg_Fade::release_clr() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgRGBA* temp = _impl_.clr_; + _impl_.clr_ = 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 ::CMsgRGBA* CCSUsrMsg_Fade::unsafe_arena_release_clr() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_Fade.clr) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgRGBA* temp = _impl_.clr_; + _impl_.clr_ = nullptr; + return temp; +} +inline ::CMsgRGBA* CCSUsrMsg_Fade::_internal_mutable_clr() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.clr_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); + _impl_.clr_ = p; + } + return _impl_.clr_; +} +inline ::CMsgRGBA* CCSUsrMsg_Fade::mutable_clr() { + ::CMsgRGBA* _msg = _internal_mutable_clr(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_Fade.clr) + return _msg; +} +inline void CCSUsrMsg_Fade::set_allocated_clr(::CMsgRGBA* clr) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr_); + } + if (clr) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr)); + if (message_arena != submessage_arena) { + clr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, clr, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.clr_ = clr; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_Fade.clr) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Rumble + +// optional int32 index = 1; +inline bool CCSUsrMsg_Rumble::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_Rumble::has_index() const { + return _internal_has_index(); +} +inline void CCSUsrMsg_Rumble::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_Rumble::_internal_index() const { + return _impl_.index_; +} +inline int32_t CCSUsrMsg_Rumble::index() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.index) + return _internal_index(); +} +inline void CCSUsrMsg_Rumble::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.index_ = value; +} +inline void CCSUsrMsg_Rumble::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.index) +} + +// optional int32 data = 2; +inline bool CCSUsrMsg_Rumble::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_Rumble::has_data() const { + return _internal_has_data(); +} +inline void CCSUsrMsg_Rumble::clear_data() { + _impl_.data_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_Rumble::_internal_data() const { + return _impl_.data_; +} +inline int32_t CCSUsrMsg_Rumble::data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.data) + return _internal_data(); +} +inline void CCSUsrMsg_Rumble::_internal_set_data(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_ = value; +} +inline void CCSUsrMsg_Rumble::set_data(int32_t value) { + _internal_set_data(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.data) +} + +// optional int32 flags = 3; +inline bool CCSUsrMsg_Rumble::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_Rumble::has_flags() const { + return _internal_has_flags(); +} +inline void CCSUsrMsg_Rumble::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_Rumble::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CCSUsrMsg_Rumble::flags() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.flags) + return _internal_flags(); +} +inline void CCSUsrMsg_Rumble::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.flags_ = value; +} +inline void CCSUsrMsg_Rumble::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.flags) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CloseCaption + +// optional uint32 hash = 1; +inline bool CCSUsrMsg_CloseCaption::_internal_has_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaption::has_hash() const { + return _internal_has_hash(); +} +inline void CCSUsrMsg_CloseCaption::clear_hash() { + _impl_.hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSUsrMsg_CloseCaption::_internal_hash() const { + return _impl_.hash_; +} +inline uint32_t CCSUsrMsg_CloseCaption::hash() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.hash) + return _internal_hash(); +} +inline void CCSUsrMsg_CloseCaption::_internal_set_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.hash_ = value; +} +inline void CCSUsrMsg_CloseCaption::set_hash(uint32_t value) { + _internal_set_hash(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.hash) +} + +// optional int32 duration = 2; +inline bool CCSUsrMsg_CloseCaption::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaption::has_duration() const { + return _internal_has_duration(); +} +inline void CCSUsrMsg_CloseCaption::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_CloseCaption::_internal_duration() const { + return _impl_.duration_; +} +inline int32_t CCSUsrMsg_CloseCaption::duration() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.duration) + return _internal_duration(); +} +inline void CCSUsrMsg_CloseCaption::_internal_set_duration(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.duration_ = value; +} +inline void CCSUsrMsg_CloseCaption::set_duration(int32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.duration) +} + +// optional bool from_player = 3; +inline bool CCSUsrMsg_CloseCaption::_internal_has_from_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaption::has_from_player() const { + return _internal_has_from_player(); +} +inline void CCSUsrMsg_CloseCaption::clear_from_player() { + _impl_.from_player_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CCSUsrMsg_CloseCaption::_internal_from_player() const { + return _impl_.from_player_; +} +inline bool CCSUsrMsg_CloseCaption::from_player() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.from_player) + return _internal_from_player(); +} +inline void CCSUsrMsg_CloseCaption::_internal_set_from_player(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.from_player_ = value; +} +inline void CCSUsrMsg_CloseCaption::set_from_player(bool value) { + _internal_set_from_player(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.from_player) +} + +// optional string cctoken = 4; +inline bool CCSUsrMsg_CloseCaption::_internal_has_cctoken() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaption::has_cctoken() const { + return _internal_has_cctoken(); +} +inline void CCSUsrMsg_CloseCaption::clear_cctoken() { + _impl_.cctoken_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_CloseCaption::cctoken() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.cctoken) + return _internal_cctoken(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_CloseCaption::set_cctoken(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cctoken_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.cctoken) +} +inline std::string* CCSUsrMsg_CloseCaption::mutable_cctoken() { + std::string* _s = _internal_mutable_cctoken(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_CloseCaption.cctoken) + return _s; +} +inline const std::string& CCSUsrMsg_CloseCaption::_internal_cctoken() const { + return _impl_.cctoken_.Get(); +} +inline void CCSUsrMsg_CloseCaption::_internal_set_cctoken(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cctoken_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_CloseCaption::_internal_mutable_cctoken() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cctoken_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_CloseCaption::release_cctoken() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_CloseCaption.cctoken) + if (!_internal_has_cctoken()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cctoken_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cctoken_.IsDefault()) { + _impl_.cctoken_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_CloseCaption::set_allocated_cctoken(std::string* cctoken) { + if (cctoken != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cctoken_.SetAllocated(cctoken, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cctoken_.IsDefault()) { + _impl_.cctoken_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_CloseCaption.cctoken) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CloseCaptionDirect + +// optional uint32 hash = 1; +inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaptionDirect::has_hash() const { + return _internal_has_hash(); +} +inline void CCSUsrMsg_CloseCaptionDirect::clear_hash() { + _impl_.hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCSUsrMsg_CloseCaptionDirect::_internal_hash() const { + return _impl_.hash_; +} +inline uint32_t CCSUsrMsg_CloseCaptionDirect::hash() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.hash) + return _internal_hash(); +} +inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hash_ = value; +} +inline void CCSUsrMsg_CloseCaptionDirect::set_hash(uint32_t value) { + _internal_set_hash(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.hash) +} + +// optional int32 duration = 2; +inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaptionDirect::has_duration() const { + return _internal_has_duration(); +} +inline void CCSUsrMsg_CloseCaptionDirect::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_CloseCaptionDirect::_internal_duration() const { + return _impl_.duration_; +} +inline int32_t CCSUsrMsg_CloseCaptionDirect::duration() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.duration) + return _internal_duration(); +} +inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_duration(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CCSUsrMsg_CloseCaptionDirect::set_duration(int32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.duration) +} + +// optional bool from_player = 3; +inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_from_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_CloseCaptionDirect::has_from_player() const { + return _internal_has_from_player(); +} +inline void CCSUsrMsg_CloseCaptionDirect::clear_from_player() { + _impl_.from_player_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CCSUsrMsg_CloseCaptionDirect::_internal_from_player() const { + return _impl_.from_player_; +} +inline bool CCSUsrMsg_CloseCaptionDirect::from_player() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.from_player) + return _internal_from_player(); +} +inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_from_player(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_player_ = value; +} +inline void CCSUsrMsg_CloseCaptionDirect::set_from_player(bool value) { + _internal_set_from_player(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.from_player) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendAudio + +// optional string radio_sound = 1; +inline bool CCSUsrMsg_SendAudio::_internal_has_radio_sound() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SendAudio::has_radio_sound() const { + return _internal_has_radio_sound(); +} +inline void CCSUsrMsg_SendAudio::clear_radio_sound() { + _impl_.radio_sound_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_SendAudio::radio_sound() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendAudio.radio_sound) + return _internal_radio_sound(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_SendAudio::set_radio_sound(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.radio_sound_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendAudio.radio_sound) +} +inline std::string* CCSUsrMsg_SendAudio::mutable_radio_sound() { + std::string* _s = _internal_mutable_radio_sound(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendAudio.radio_sound) + return _s; +} +inline const std::string& CCSUsrMsg_SendAudio::_internal_radio_sound() const { + return _impl_.radio_sound_.Get(); +} +inline void CCSUsrMsg_SendAudio::_internal_set_radio_sound(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.radio_sound_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_SendAudio::_internal_mutable_radio_sound() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.radio_sound_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_SendAudio::release_radio_sound() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_SendAudio.radio_sound) + if (!_internal_has_radio_sound()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.radio_sound_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.radio_sound_.IsDefault()) { + _impl_.radio_sound_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_SendAudio::set_allocated_radio_sound(std::string* radio_sound) { + if (radio_sound != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.radio_sound_.SetAllocated(radio_sound, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.radio_sound_.IsDefault()) { + _impl_.radio_sound_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendAudio.radio_sound) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RawAudio + +// optional int32 pitch = 1; +inline bool CCSUsrMsg_RawAudio::_internal_has_pitch() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RawAudio::has_pitch() const { + return _internal_has_pitch(); +} +inline void CCSUsrMsg_RawAudio::clear_pitch() { + _impl_.pitch_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_RawAudio::_internal_pitch() const { + return _impl_.pitch_; +} +inline int32_t CCSUsrMsg_RawAudio::pitch() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.pitch) + return _internal_pitch(); +} +inline void CCSUsrMsg_RawAudio::_internal_set_pitch(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pitch_ = value; +} +inline void CCSUsrMsg_RawAudio::set_pitch(int32_t value) { + _internal_set_pitch(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.pitch) +} + +// optional int32 entidx = 2 [default = -1]; +inline bool CCSUsrMsg_RawAudio::_internal_has_entidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_RawAudio::has_entidx() const { + return _internal_has_entidx(); +} +inline void CCSUsrMsg_RawAudio::clear_entidx() { + _impl_.entidx_ = -1; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_RawAudio::_internal_entidx() const { + return _impl_.entidx_; +} +inline int32_t CCSUsrMsg_RawAudio::entidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.entidx) + return _internal_entidx(); +} +inline void CCSUsrMsg_RawAudio::_internal_set_entidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.entidx_ = value; +} +inline void CCSUsrMsg_RawAudio::set_entidx(int32_t value) { + _internal_set_entidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.entidx) +} + +// optional float duration = 3; +inline bool CCSUsrMsg_RawAudio::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RawAudio::has_duration() const { + return _internal_has_duration(); +} +inline void CCSUsrMsg_RawAudio::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_RawAudio::_internal_duration() const { + return _impl_.duration_; +} +inline float CCSUsrMsg_RawAudio::duration() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.duration) + return _internal_duration(); +} +inline void CCSUsrMsg_RawAudio::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.duration_ = value; +} +inline void CCSUsrMsg_RawAudio::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.duration) +} + +// optional string voice_filename = 4; +inline bool CCSUsrMsg_RawAudio::_internal_has_voice_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RawAudio::has_voice_filename() const { + return _internal_has_voice_filename(); +} +inline void CCSUsrMsg_RawAudio::clear_voice_filename() { + _impl_.voice_filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_RawAudio::voice_filename() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.voice_filename) + return _internal_voice_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_RawAudio::set_voice_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.voice_filename) +} +inline std::string* CCSUsrMsg_RawAudio::mutable_voice_filename() { + std::string* _s = _internal_mutable_voice_filename(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RawAudio.voice_filename) + return _s; +} +inline const std::string& CCSUsrMsg_RawAudio::_internal_voice_filename() const { + return _impl_.voice_filename_.Get(); +} +inline void CCSUsrMsg_RawAudio::_internal_set_voice_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RawAudio::_internal_mutable_voice_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.voice_filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RawAudio::release_voice_filename() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RawAudio.voice_filename) + if (!_internal_has_voice_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.voice_filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_filename_.IsDefault()) { + _impl_.voice_filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_RawAudio::set_allocated_voice_filename(std::string* voice_filename) { + if (voice_filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.voice_filename_.SetAllocated(voice_filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_filename_.IsDefault()) { + _impl_.voice_filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RawAudio.voice_filename) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VoiceMask_PlayerMask + +// optional int32 game_rules_mask = 1; +inline bool CCSUsrMsg_VoiceMask_PlayerMask::_internal_has_game_rules_mask() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VoiceMask_PlayerMask::has_game_rules_mask() const { + return _internal_has_game_rules_mask(); +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::clear_game_rules_mask() { + _impl_.game_rules_mask_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::_internal_game_rules_mask() const { + return _impl_.game_rules_mask_; +} +inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::game_rules_mask() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.PlayerMask.game_rules_mask) + return _internal_game_rules_mask(); +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::_internal_set_game_rules_mask(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_rules_mask_ = value; +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::set_game_rules_mask(int32_t value) { + _internal_set_game_rules_mask(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.PlayerMask.game_rules_mask) +} + +// optional int32 ban_masks = 2; +inline bool CCSUsrMsg_VoiceMask_PlayerMask::_internal_has_ban_masks() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VoiceMask_PlayerMask::has_ban_masks() const { + return _internal_has_ban_masks(); +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::clear_ban_masks() { + _impl_.ban_masks_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::_internal_ban_masks() const { + return _impl_.ban_masks_; +} +inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::ban_masks() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.PlayerMask.ban_masks) + return _internal_ban_masks(); +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::_internal_set_ban_masks(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ban_masks_ = value; +} +inline void CCSUsrMsg_VoiceMask_PlayerMask::set_ban_masks(int32_t value) { + _internal_set_ban_masks(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.PlayerMask.ban_masks) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VoiceMask + +// repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; +inline int CCSUsrMsg_VoiceMask::_internal_player_masks_size() const { + return _impl_.player_masks_.size(); +} +inline int CCSUsrMsg_VoiceMask::player_masks_size() const { + return _internal_player_masks_size(); +} +inline void CCSUsrMsg_VoiceMask::clear_player_masks() { + _impl_.player_masks_.Clear(); +} +inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::mutable_player_masks(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoiceMask.player_masks) + return _impl_.player_masks_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >* +CCSUsrMsg_VoiceMask::mutable_player_masks() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VoiceMask.player_masks) + return &_impl_.player_masks_; +} +inline const ::CCSUsrMsg_VoiceMask_PlayerMask& CCSUsrMsg_VoiceMask::_internal_player_masks(int index) const { + return _impl_.player_masks_.Get(index); +} +inline const ::CCSUsrMsg_VoiceMask_PlayerMask& CCSUsrMsg_VoiceMask::player_masks(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.player_masks) + return _internal_player_masks(index); +} +inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::_internal_add_player_masks() { + return _impl_.player_masks_.Add(); +} +inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::add_player_masks() { + ::CCSUsrMsg_VoiceMask_PlayerMask* _add = _internal_add_player_masks(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_VoiceMask.player_masks) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >& +CCSUsrMsg_VoiceMask::player_masks() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_VoiceMask.player_masks) + return _impl_.player_masks_; +} + +// optional bool player_mod_enable = 2; +inline bool CCSUsrMsg_VoiceMask::_internal_has_player_mod_enable() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VoiceMask::has_player_mod_enable() const { + return _internal_has_player_mod_enable(); +} +inline void CCSUsrMsg_VoiceMask::clear_player_mod_enable() { + _impl_.player_mod_enable_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCSUsrMsg_VoiceMask::_internal_player_mod_enable() const { + return _impl_.player_mod_enable_; +} +inline bool CCSUsrMsg_VoiceMask::player_mod_enable() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.player_mod_enable) + return _internal_player_mod_enable(); +} +inline void CCSUsrMsg_VoiceMask::_internal_set_player_mod_enable(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_mod_enable_ = value; +} +inline void CCSUsrMsg_VoiceMask::set_player_mod_enable(bool value) { + _internal_set_player_mod_enable(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.player_mod_enable) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_Damage + +// optional int32 amount = 1; +inline bool CCSUsrMsg_Damage::_internal_has_amount() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_Damage::has_amount() const { + return _internal_has_amount(); +} +inline void CCSUsrMsg_Damage::clear_amount() { + _impl_.amount_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_Damage::_internal_amount() const { + return _impl_.amount_; +} +inline int32_t CCSUsrMsg_Damage::amount() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.amount) + return _internal_amount(); +} +inline void CCSUsrMsg_Damage::_internal_set_amount(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.amount_ = value; +} +inline void CCSUsrMsg_Damage::set_amount(int32_t value) { + _internal_set_amount(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Damage.amount) +} + +// optional .CMsgVector inflictor_world_pos = 2; +inline bool CCSUsrMsg_Damage::_internal_has_inflictor_world_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.inflictor_world_pos_ != nullptr); + return value; +} +inline bool CCSUsrMsg_Damage::has_inflictor_world_pos() const { + return _internal_has_inflictor_world_pos(); +} +inline const ::CMsgVector& CCSUsrMsg_Damage::_internal_inflictor_world_pos() const { + const ::CMsgVector* p = _impl_.inflictor_world_pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CCSUsrMsg_Damage::inflictor_world_pos() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.inflictor_world_pos) + return _internal_inflictor_world_pos(); +} +inline void CCSUsrMsg_Damage::unsafe_arena_set_allocated_inflictor_world_pos( + ::CMsgVector* inflictor_world_pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inflictor_world_pos_); + } + _impl_.inflictor_world_pos_ = inflictor_world_pos; + if (inflictor_world_pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_Damage.inflictor_world_pos) +} +inline ::CMsgVector* CCSUsrMsg_Damage::release_inflictor_world_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.inflictor_world_pos_; + _impl_.inflictor_world_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 ::CMsgVector* CCSUsrMsg_Damage::unsafe_arena_release_inflictor_world_pos() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_Damage.inflictor_world_pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.inflictor_world_pos_; + _impl_.inflictor_world_pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CCSUsrMsg_Damage::_internal_mutable_inflictor_world_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.inflictor_world_pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.inflictor_world_pos_ = p; + } + return _impl_.inflictor_world_pos_; +} +inline ::CMsgVector* CCSUsrMsg_Damage::mutable_inflictor_world_pos() { + ::CMsgVector* _msg = _internal_mutable_inflictor_world_pos(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_Damage.inflictor_world_pos) + return _msg; +} +inline void CCSUsrMsg_Damage::set_allocated_inflictor_world_pos(::CMsgVector* inflictor_world_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inflictor_world_pos_); + } + if (inflictor_world_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(inflictor_world_pos)); + if (message_arena != submessage_arena) { + inflictor_world_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, inflictor_world_pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.inflictor_world_pos_ = inflictor_world_pos; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_Damage.inflictor_world_pos) +} + +// optional int32 victim_entindex = 3 [default = -1]; +inline bool CCSUsrMsg_Damage::_internal_has_victim_entindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_Damage::has_victim_entindex() const { + return _internal_has_victim_entindex(); +} +inline void CCSUsrMsg_Damage::clear_victim_entindex() { + _impl_.victim_entindex_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_Damage::_internal_victim_entindex() const { + return _impl_.victim_entindex_; +} +inline int32_t CCSUsrMsg_Damage::victim_entindex() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.victim_entindex) + return _internal_victim_entindex(); +} +inline void CCSUsrMsg_Damage::_internal_set_victim_entindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.victim_entindex_ = value; +} +inline void CCSUsrMsg_Damage::set_victim_entindex(int32_t value) { + _internal_set_victim_entindex(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_Damage.victim_entindex) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RadioText + +// optional int32 msg_dst = 1; +inline bool CCSUsrMsg_RadioText::_internal_has_msg_dst() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RadioText::has_msg_dst() const { + return _internal_has_msg_dst(); +} +inline void CCSUsrMsg_RadioText::clear_msg_dst() { + _impl_.msg_dst_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_RadioText::_internal_msg_dst() const { + return _impl_.msg_dst_; +} +inline int32_t CCSUsrMsg_RadioText::msg_dst() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.msg_dst) + return _internal_msg_dst(); +} +inline void CCSUsrMsg_RadioText::_internal_set_msg_dst(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msg_dst_ = value; +} +inline void CCSUsrMsg_RadioText::set_msg_dst(int32_t value) { + _internal_set_msg_dst(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.msg_dst) +} + +// optional int32 client = 2 [default = -1]; +inline bool CCSUsrMsg_RadioText::_internal_has_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RadioText::has_client() const { + return _internal_has_client(); +} +inline void CCSUsrMsg_RadioText::clear_client() { + _impl_.client_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_RadioText::_internal_client() const { + return _impl_.client_; +} +inline int32_t CCSUsrMsg_RadioText::client() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.client) + return _internal_client(); +} +inline void CCSUsrMsg_RadioText::_internal_set_client(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_ = value; +} +inline void CCSUsrMsg_RadioText::set_client(int32_t value) { + _internal_set_client(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.client) +} + +// optional string msg_name = 3; +inline bool CCSUsrMsg_RadioText::_internal_has_msg_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RadioText::has_msg_name() const { + return _internal_has_msg_name(); +} +inline void CCSUsrMsg_RadioText::clear_msg_name() { + _impl_.msg_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_RadioText::msg_name() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.msg_name) + return _internal_msg_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_RadioText::set_msg_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.msg_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.msg_name) +} +inline std::string* CCSUsrMsg_RadioText::mutable_msg_name() { + std::string* _s = _internal_mutable_msg_name(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RadioText.msg_name) + return _s; +} +inline const std::string& CCSUsrMsg_RadioText::_internal_msg_name() const { + return _impl_.msg_name_.Get(); +} +inline void CCSUsrMsg_RadioText::_internal_set_msg_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.msg_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RadioText::_internal_mutable_msg_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.msg_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RadioText::release_msg_name() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RadioText.msg_name) + if (!_internal_has_msg_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.msg_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.msg_name_.IsDefault()) { + _impl_.msg_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_RadioText::set_allocated_msg_name(std::string* msg_name) { + if (msg_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.msg_name_.SetAllocated(msg_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.msg_name_.IsDefault()) { + _impl_.msg_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RadioText.msg_name) +} + +// repeated string params = 4; +inline int CCSUsrMsg_RadioText::_internal_params_size() const { + return _impl_.params_.size(); +} +inline int CCSUsrMsg_RadioText::params_size() const { + return _internal_params_size(); +} +inline void CCSUsrMsg_RadioText::clear_params() { + _impl_.params_.Clear(); +} +inline std::string* CCSUsrMsg_RadioText::add_params() { + std::string* _s = _internal_add_params(); + // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_RadioText.params) + return _s; +} +inline const std::string& CCSUsrMsg_RadioText::_internal_params(int index) const { + return _impl_.params_.Get(index); +} +inline const std::string& CCSUsrMsg_RadioText::params(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.params) + return _internal_params(index); +} +inline std::string* CCSUsrMsg_RadioText::mutable_params(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RadioText.params) + return _impl_.params_.Mutable(index); +} +inline void CCSUsrMsg_RadioText::set_params(int index, const std::string& value) { + _impl_.params_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::set_params(int index, std::string&& value) { + _impl_.params_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::set_params(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.params_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::set_params(int index, const char* value, size_t size) { + _impl_.params_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_RadioText.params) +} +inline std::string* CCSUsrMsg_RadioText::_internal_add_params() { + return _impl_.params_.Add(); +} +inline void CCSUsrMsg_RadioText::add_params(const std::string& value) { + _impl_.params_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::add_params(std::string&& value) { + _impl_.params_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::add_params(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.params_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CCSUsrMsg_RadioText.params) +} +inline void CCSUsrMsg_RadioText::add_params(const char* value, size_t size) { + _impl_.params_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_RadioText.params) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CCSUsrMsg_RadioText::params() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_RadioText.params) + return _impl_.params_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CCSUsrMsg_RadioText::mutable_params() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RadioText.params) + return &_impl_.params_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_HintText + +// optional string message = 1; +inline bool CCSUsrMsg_HintText::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_HintText::has_message() const { + return _internal_has_message(); +} +inline void CCSUsrMsg_HintText::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_HintText::message() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_HintText.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_HintText::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_HintText.message) +} +inline std::string* CCSUsrMsg_HintText::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HintText.message) + return _s; +} +inline const std::string& CCSUsrMsg_HintText::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CCSUsrMsg_HintText::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HintText::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_HintText::release_message() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_HintText.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_HintText::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HintText.message) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_KeyHintText + +// repeated string messages = 1; +inline int CCSUsrMsg_KeyHintText::_internal_messages_size() const { + return _impl_.messages_.size(); +} +inline int CCSUsrMsg_KeyHintText::messages_size() const { + return _internal_messages_size(); +} +inline void CCSUsrMsg_KeyHintText::clear_messages() { + _impl_.messages_.Clear(); +} +inline std::string* CCSUsrMsg_KeyHintText::add_messages() { + std::string* _s = _internal_add_messages(); + // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_KeyHintText.messages) + return _s; +} +inline const std::string& CCSUsrMsg_KeyHintText::_internal_messages(int index) const { + return _impl_.messages_.Get(index); +} +inline const std::string& CCSUsrMsg_KeyHintText::messages(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_KeyHintText.messages) + return _internal_messages(index); +} +inline std::string* CCSUsrMsg_KeyHintText::mutable_messages(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_KeyHintText.messages) + return _impl_.messages_.Mutable(index); +} +inline void CCSUsrMsg_KeyHintText::set_messages(int index, const std::string& value) { + _impl_.messages_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::set_messages(int index, std::string&& value) { + _impl_.messages_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::set_messages(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.messages_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::set_messages(int index, const char* value, size_t size) { + _impl_.messages_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_KeyHintText.messages) +} +inline std::string* CCSUsrMsg_KeyHintText::_internal_add_messages() { + return _impl_.messages_.Add(); +} +inline void CCSUsrMsg_KeyHintText::add_messages(const std::string& value) { + _impl_.messages_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::add_messages(std::string&& value) { + _impl_.messages_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::add_messages(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.messages_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CCSUsrMsg_KeyHintText.messages) +} +inline void CCSUsrMsg_KeyHintText::add_messages(const char* value, size_t size) { + _impl_.messages_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_KeyHintText.messages) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CCSUsrMsg_KeyHintText::messages() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_KeyHintText.messages) + return _impl_.messages_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CCSUsrMsg_KeyHintText::mutable_messages() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_KeyHintText.messages) + return &_impl_.messages_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate + +// optional int32 entity_idx = 1 [default = -1]; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_entity_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_entity_idx() const { + return _internal_has_entity_idx(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_entity_idx() { + _impl_.entity_idx_ = -1; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_entity_idx() const { + return _impl_.entity_idx_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::entity_idx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.entity_idx) + return _internal_entity_idx(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_entity_idx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.entity_idx_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_entity_idx(int32_t value) { + _internal_set_entity_idx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.entity_idx) +} + +// optional int32 class_id = 2; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_class_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_class_id() const { + return _internal_has_class_id(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_class_id() { + _impl_.class_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_class_id() const { + return _impl_.class_id_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::class_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.class_id) + return _internal_class_id(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_class_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.class_id_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_class_id(int32_t value) { + _internal_set_class_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.class_id) +} + +// optional int32 origin_x = 3; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_x() const { + return _internal_has_origin_x(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_x() { + _impl_.origin_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_x() const { + return _impl_.origin_x_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_x() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_x) + return _internal_origin_x(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_x(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.origin_x_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_x(int32_t value) { + _internal_set_origin_x(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_x) +} + +// optional int32 origin_y = 4; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_y() const { + return _internal_has_origin_y(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_y() { + _impl_.origin_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_y() const { + return _impl_.origin_y_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_y() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_y) + return _internal_origin_y(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_y(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.origin_y_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_y(int32_t value) { + _internal_set_origin_y(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_y) +} + +// optional int32 origin_z = 5; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_z() const { + return _internal_has_origin_z(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_z() { + _impl_.origin_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_z() const { + return _impl_.origin_z_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_z() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_z) + return _internal_origin_z(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_z(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.origin_z_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_z(int32_t value) { + _internal_set_origin_z(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_z) +} + +// optional int32 angle_y = 6; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_angle_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_angle_y() const { + return _internal_has_angle_y(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_angle_y() { + _impl_.angle_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_angle_y() const { + return _impl_.angle_y_; +} +inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::angle_y() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.angle_y) + return _internal_angle_y(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_angle_y(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.angle_y_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_angle_y(int32_t value) { + _internal_set_angle_y(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.angle_y) +} + +// optional bool defuser = 7; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_defuser() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_defuser() const { + return _internal_has_defuser(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_defuser() { + _impl_.defuser_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_defuser() const { + return _impl_.defuser_; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::defuser() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.defuser) + return _internal_defuser(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_defuser(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.defuser_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_defuser(bool value) { + _internal_set_defuser(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.defuser) +} + +// optional bool player_has_defuser = 8; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_player_has_defuser() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_player_has_defuser() const { + return _internal_has_player_has_defuser(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_player_has_defuser() { + _impl_.player_has_defuser_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_player_has_defuser() const { + return _impl_.player_has_defuser_; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::player_has_defuser() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_defuser) + return _internal_player_has_defuser(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_player_has_defuser(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.player_has_defuser_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_player_has_defuser(bool value) { + _internal_set_player_has_defuser(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_defuser) +} + +// optional bool player_has_c4 = 9; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_player_has_c4() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_player_has_c4() const { + return _internal_has_player_has_c4(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_player_has_c4() { + _impl_.player_has_c4_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_player_has_c4() const { + return _impl_.player_has_c4_; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::player_has_c4() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_c4) + return _internal_player_has_c4(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_player_has_c4(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.player_has_c4_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_player_has_c4(bool value) { + _internal_set_player_has_c4(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_c4) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ProcessSpottedEntityUpdate + +// optional bool new_update = 1; +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_has_new_update() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::has_new_update() const { + return _internal_has_new_update(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::clear_new_update() { + _impl_.new_update_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_new_update() const { + return _impl_.new_update_; +} +inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::new_update() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.new_update) + return _internal_new_update(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_set_new_update(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.new_update_ = value; +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::set_new_update(bool value) { + _internal_set_new_update(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.new_update) +} + +// repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; +inline int CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_entity_updates_size() const { + return _impl_.entity_updates_.size(); +} +inline int CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates_size() const { + return _internal_entity_updates_size(); +} +inline void CCSUsrMsg_ProcessSpottedEntityUpdate::clear_entity_updates() { + _impl_.entity_updates_.Clear(); +} +inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::mutable_entity_updates(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) + return _impl_.entity_updates_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >* +CCSUsrMsg_ProcessSpottedEntityUpdate::mutable_entity_updates() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) + return &_impl_.entity_updates_; +} +inline const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_entity_updates(int index) const { + return _impl_.entity_updates_.Get(index); +} +inline const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) + return _internal_entity_updates(index); +} +inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_add_entity_updates() { + return _impl_.entity_updates_.Add(); +} +inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::add_entity_updates() { + ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* _add = _internal_add_entity_updates(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >& +CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) + return _impl_.entity_updates_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendPlayerItemDrops + +// repeated .CEconItemPreviewDataBlock entity_updates = 1; +inline int CCSUsrMsg_SendPlayerItemDrops::_internal_entity_updates_size() const { + return _impl_.entity_updates_.size(); +} +inline int CCSUsrMsg_SendPlayerItemDrops::entity_updates_size() const { + return _internal_entity_updates_size(); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::mutable_entity_updates(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerItemDrops.entity_updates) + return _impl_.entity_updates_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* +CCSUsrMsg_SendPlayerItemDrops::mutable_entity_updates() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SendPlayerItemDrops.entity_updates) + return &_impl_.entity_updates_; +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemDrops::_internal_entity_updates(int index) const { + return _impl_.entity_updates_.Get(index); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemDrops::entity_updates(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemDrops.entity_updates) + return _internal_entity_updates(index); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::_internal_add_entity_updates() { + return _impl_.entity_updates_.Add(); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::add_entity_updates() { + ::CEconItemPreviewDataBlock* _add = _internal_add_entity_updates(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_SendPlayerItemDrops.entity_updates) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& +CCSUsrMsg_SendPlayerItemDrops::entity_updates() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_SendPlayerItemDrops.entity_updates) + return _impl_.entity_updates_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendPlayerItemFound + +// optional .CEconItemPreviewDataBlock iteminfo = 1; +inline bool CCSUsrMsg_SendPlayerItemFound::_internal_has_iteminfo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); + return value; +} +inline bool CCSUsrMsg_SendPlayerItemFound::has_iteminfo() const { + return _internal_has_iteminfo(); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemFound::_internal_iteminfo() const { + const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEconItemPreviewDataBlock_default_instance_); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemFound::iteminfo() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemFound.iteminfo) + return _internal_iteminfo(); +} +inline void CCSUsrMsg_SendPlayerItemFound::unsafe_arena_set_allocated_iteminfo( + ::CEconItemPreviewDataBlock* iteminfo) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); + } + _impl_.iteminfo_ = iteminfo; + if (iteminfo) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_SendPlayerItemFound.iteminfo) +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::release_iteminfo() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = 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 ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::unsafe_arena_release_iteminfo() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_SendPlayerItemFound.iteminfo) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; + _impl_.iteminfo_ = nullptr; + return temp; +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::_internal_mutable_iteminfo() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.iteminfo_ == nullptr) { + auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); + _impl_.iteminfo_ = p; + } + return _impl_.iteminfo_; +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::mutable_iteminfo() { + ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerItemFound.iteminfo) + return _msg; +} +inline void CCSUsrMsg_SendPlayerItemFound::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); + } + if (iteminfo) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(iteminfo)); + if (message_arena != submessage_arena) { + iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, iteminfo, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.iteminfo_ = iteminfo; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendPlayerItemFound.iteminfo) +} + +// optional int32 playerslot = 2 [default = -1]; +inline bool CCSUsrMsg_SendPlayerItemFound::_internal_has_playerslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SendPlayerItemFound::has_playerslot() const { + return _internal_has_playerslot(); +} +inline void CCSUsrMsg_SendPlayerItemFound::clear_playerslot() { + _impl_.playerslot_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SendPlayerItemFound::_internal_playerslot() const { + return _impl_.playerslot_; +} +inline int32_t CCSUsrMsg_SendPlayerItemFound::playerslot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemFound.playerslot) + return _internal_playerslot(); +} +inline void CCSUsrMsg_SendPlayerItemFound::_internal_set_playerslot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.playerslot_ = value; +} +inline void CCSUsrMsg_SendPlayerItemFound::set_playerslot(int32_t value) { + _internal_set_playerslot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerItemFound.playerslot) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ReloadEffect + +// optional int32 entidx = 1 [default = -1]; +inline bool CCSUsrMsg_ReloadEffect::_internal_has_entidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_ReloadEffect::has_entidx() const { + return _internal_has_entidx(); +} +inline void CCSUsrMsg_ReloadEffect::clear_entidx() { + _impl_.entidx_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_ReloadEffect::_internal_entidx() const { + return _impl_.entidx_; +} +inline int32_t CCSUsrMsg_ReloadEffect::entidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.entidx) + return _internal_entidx(); +} +inline void CCSUsrMsg_ReloadEffect::_internal_set_entidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.entidx_ = value; +} +inline void CCSUsrMsg_ReloadEffect::set_entidx(int32_t value) { + _internal_set_entidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.entidx) +} + +// optional int32 actanim = 2; +inline bool CCSUsrMsg_ReloadEffect::_internal_has_actanim() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ReloadEffect::has_actanim() const { + return _internal_has_actanim(); +} +inline void CCSUsrMsg_ReloadEffect::clear_actanim() { + _impl_.actanim_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_ReloadEffect::_internal_actanim() const { + return _impl_.actanim_; +} +inline int32_t CCSUsrMsg_ReloadEffect::actanim() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.actanim) + return _internal_actanim(); +} +inline void CCSUsrMsg_ReloadEffect::_internal_set_actanim(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.actanim_ = value; +} +inline void CCSUsrMsg_ReloadEffect::set_actanim(int32_t value) { + _internal_set_actanim(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.actanim) +} + +// optional float origin_x = 3; +inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ReloadEffect::has_origin_x() const { + return _internal_has_origin_x(); +} +inline void CCSUsrMsg_ReloadEffect::clear_origin_x() { + _impl_.origin_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_ReloadEffect::_internal_origin_x() const { + return _impl_.origin_x_; +} +inline float CCSUsrMsg_ReloadEffect::origin_x() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_x) + return _internal_origin_x(); +} +inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_x(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.origin_x_ = value; +} +inline void CCSUsrMsg_ReloadEffect::set_origin_x(float value) { + _internal_set_origin_x(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_x) +} + +// optional float origin_y = 4; +inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ReloadEffect::has_origin_y() const { + return _internal_has_origin_y(); +} +inline void CCSUsrMsg_ReloadEffect::clear_origin_y() { + _impl_.origin_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_ReloadEffect::_internal_origin_y() const { + return _impl_.origin_y_; +} +inline float CCSUsrMsg_ReloadEffect::origin_y() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_y) + return _internal_origin_y(); +} +inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_y(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.origin_y_ = value; +} +inline void CCSUsrMsg_ReloadEffect::set_origin_y(float value) { + _internal_set_origin_y(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_y) +} + +// optional float origin_z = 5; +inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_ReloadEffect::has_origin_z() const { + return _internal_has_origin_z(); +} +inline void CCSUsrMsg_ReloadEffect::clear_origin_z() { + _impl_.origin_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_ReloadEffect::_internal_origin_z() const { + return _impl_.origin_z_; +} +inline float CCSUsrMsg_ReloadEffect::origin_z() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_z) + return _internal_origin_z(); +} +inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_z(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.origin_z_ = value; +} +inline void CCSUsrMsg_ReloadEffect::set_origin_z(float value) { + _internal_set_origin_z(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_z) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_WeaponSound + +// optional int32 entidx = 1 [default = -1]; +inline bool CCSUsrMsg_WeaponSound::_internal_has_entidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_entidx() const { + return _internal_has_entidx(); +} +inline void CCSUsrMsg_WeaponSound::clear_entidx() { + _impl_.entidx_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CCSUsrMsg_WeaponSound::_internal_entidx() const { + return _impl_.entidx_; +} +inline int32_t CCSUsrMsg_WeaponSound::entidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.entidx) + return _internal_entidx(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_entidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.entidx_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_entidx(int32_t value) { + _internal_set_entidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.entidx) +} + +// optional float origin_x = 2; +inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_origin_x() const { + return _internal_has_origin_x(); +} +inline void CCSUsrMsg_WeaponSound::clear_origin_x() { + _impl_.origin_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_WeaponSound::_internal_origin_x() const { + return _impl_.origin_x_; +} +inline float CCSUsrMsg_WeaponSound::origin_x() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_x) + return _internal_origin_x(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_origin_x(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.origin_x_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_origin_x(float value) { + _internal_set_origin_x(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_x) +} + +// optional float origin_y = 3; +inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_origin_y() const { + return _internal_has_origin_y(); +} +inline void CCSUsrMsg_WeaponSound::clear_origin_y() { + _impl_.origin_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_WeaponSound::_internal_origin_y() const { + return _impl_.origin_y_; +} +inline float CCSUsrMsg_WeaponSound::origin_y() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_y) + return _internal_origin_y(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_origin_y(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.origin_y_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_origin_y(float value) { + _internal_set_origin_y(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_y) +} + +// optional float origin_z = 4; +inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_origin_z() const { + return _internal_has_origin_z(); +} +inline void CCSUsrMsg_WeaponSound::clear_origin_z() { + _impl_.origin_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_WeaponSound::_internal_origin_z() const { + return _impl_.origin_z_; +} +inline float CCSUsrMsg_WeaponSound::origin_z() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_z) + return _internal_origin_z(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_origin_z(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.origin_z_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_origin_z(float value) { + _internal_set_origin_z(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_z) +} + +// optional string sound = 5; +inline bool CCSUsrMsg_WeaponSound::_internal_has_sound() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_sound() const { + return _internal_has_sound(); +} +inline void CCSUsrMsg_WeaponSound::clear_sound() { + _impl_.sound_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_WeaponSound::sound() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.sound) + return _internal_sound(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_WeaponSound::set_sound(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sound_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.sound) +} +inline std::string* CCSUsrMsg_WeaponSound::mutable_sound() { + std::string* _s = _internal_mutable_sound(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_WeaponSound.sound) + return _s; +} +inline const std::string& CCSUsrMsg_WeaponSound::_internal_sound() const { + return _impl_.sound_.Get(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_sound(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sound_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_WeaponSound::_internal_mutable_sound() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sound_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_WeaponSound::release_sound() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_WeaponSound.sound) + if (!_internal_has_sound()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sound_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sound_.IsDefault()) { + _impl_.sound_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_WeaponSound::set_allocated_sound(std::string* sound) { + if (sound != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sound_.SetAllocated(sound, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sound_.IsDefault()) { + _impl_.sound_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_WeaponSound.sound) +} + +// optional float game_timestamp = 6; +inline bool CCSUsrMsg_WeaponSound::_internal_has_game_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_game_timestamp() const { + return _internal_has_game_timestamp(); +} +inline void CCSUsrMsg_WeaponSound::clear_game_timestamp() { + _impl_.game_timestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CCSUsrMsg_WeaponSound::_internal_game_timestamp() const { + return _impl_.game_timestamp_; +} +inline float CCSUsrMsg_WeaponSound::game_timestamp() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.game_timestamp) + return _internal_game_timestamp(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_game_timestamp(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_timestamp_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_game_timestamp(float value) { + _internal_set_game_timestamp(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.game_timestamp) +} + +// optional fixed32 source_soundscapeid = 7; +inline bool CCSUsrMsg_WeaponSound::_internal_has_source_soundscapeid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_WeaponSound::has_source_soundscapeid() const { + return _internal_has_source_soundscapeid(); +} +inline void CCSUsrMsg_WeaponSound::clear_source_soundscapeid() { + _impl_.source_soundscapeid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CCSUsrMsg_WeaponSound::_internal_source_soundscapeid() const { + return _impl_.source_soundscapeid_; +} +inline uint32_t CCSUsrMsg_WeaponSound::source_soundscapeid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.source_soundscapeid) + return _internal_source_soundscapeid(); +} +inline void CCSUsrMsg_WeaponSound::_internal_set_source_soundscapeid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.source_soundscapeid_ = value; +} +inline void CCSUsrMsg_WeaponSound::set_source_soundscapeid(uint32_t value) { + _internal_set_source_soundscapeid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.source_soundscapeid) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_UpdateScreenHealthBar + +// optional int32 entidx = 1 [default = -1]; +inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_entidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_UpdateScreenHealthBar::has_entidx() const { + return _internal_has_entidx(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::clear_entidx() { + _impl_.entidx_ = -1; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_UpdateScreenHealthBar::_internal_entidx() const { + return _impl_.entidx_; +} +inline int32_t CCSUsrMsg_UpdateScreenHealthBar::entidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.entidx) + return _internal_entidx(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_entidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.entidx_ = value; +} +inline void CCSUsrMsg_UpdateScreenHealthBar::set_entidx(int32_t value) { + _internal_set_entidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.entidx) +} + +// optional float healthratio_old = 2; +inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_healthratio_old() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_UpdateScreenHealthBar::has_healthratio_old() const { + return _internal_has_healthratio_old(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::clear_healthratio_old() { + _impl_.healthratio_old_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CCSUsrMsg_UpdateScreenHealthBar::_internal_healthratio_old() const { + return _impl_.healthratio_old_; +} +inline float CCSUsrMsg_UpdateScreenHealthBar::healthratio_old() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.healthratio_old) + return _internal_healthratio_old(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_healthratio_old(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.healthratio_old_ = value; +} +inline void CCSUsrMsg_UpdateScreenHealthBar::set_healthratio_old(float value) { + _internal_set_healthratio_old(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.healthratio_old) +} + +// optional float healthratio_new = 3; +inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_healthratio_new() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_UpdateScreenHealthBar::has_healthratio_new() const { + return _internal_has_healthratio_new(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::clear_healthratio_new() { + _impl_.healthratio_new_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_UpdateScreenHealthBar::_internal_healthratio_new() const { + return _impl_.healthratio_new_; +} +inline float CCSUsrMsg_UpdateScreenHealthBar::healthratio_new() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.healthratio_new) + return _internal_healthratio_new(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_healthratio_new(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.healthratio_new_ = value; +} +inline void CCSUsrMsg_UpdateScreenHealthBar::set_healthratio_new(float value) { + _internal_set_healthratio_new(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.healthratio_new) +} + +// optional int32 style = 4; +inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_style() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_UpdateScreenHealthBar::has_style() const { + return _internal_has_style(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::clear_style() { + _impl_.style_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_UpdateScreenHealthBar::_internal_style() const { + return _impl_.style_; +} +inline int32_t CCSUsrMsg_UpdateScreenHealthBar::style() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.style) + return _internal_style(); +} +inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_style(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.style_ = value; +} +inline void CCSUsrMsg_UpdateScreenHealthBar::set_style(int32_t value) { + _internal_set_style(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.style) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_EntityOutlineHighlight + +// optional int32 entidx = 1 [default = -1]; +inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_has_entidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_EntityOutlineHighlight::has_entidx() const { + return _internal_has_entidx(); +} +inline void CCSUsrMsg_EntityOutlineHighlight::clear_entidx() { + _impl_.entidx_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_EntityOutlineHighlight::_internal_entidx() const { + return _impl_.entidx_; +} +inline int32_t CCSUsrMsg_EntityOutlineHighlight::entidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EntityOutlineHighlight.entidx) + return _internal_entidx(); +} +inline void CCSUsrMsg_EntityOutlineHighlight::_internal_set_entidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entidx_ = value; +} +inline void CCSUsrMsg_EntityOutlineHighlight::set_entidx(int32_t value) { + _internal_set_entidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EntityOutlineHighlight.entidx) +} + +// optional bool removehighlight = 2; +inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_has_removehighlight() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_EntityOutlineHighlight::has_removehighlight() const { + return _internal_has_removehighlight(); +} +inline void CCSUsrMsg_EntityOutlineHighlight::clear_removehighlight() { + _impl_.removehighlight_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_removehighlight() const { + return _impl_.removehighlight_; +} +inline bool CCSUsrMsg_EntityOutlineHighlight::removehighlight() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EntityOutlineHighlight.removehighlight) + return _internal_removehighlight(); +} +inline void CCSUsrMsg_EntityOutlineHighlight::_internal_set_removehighlight(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.removehighlight_ = value; +} +inline void CCSUsrMsg_EntityOutlineHighlight::set_removehighlight(bool value) { + _internal_set_removehighlight(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EntityOutlineHighlight.removehighlight) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_AdjustMoney + +// optional int32 amount = 1; +inline bool CCSUsrMsg_AdjustMoney::_internal_has_amount() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_AdjustMoney::has_amount() const { + return _internal_has_amount(); +} +inline void CCSUsrMsg_AdjustMoney::clear_amount() { + _impl_.amount_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_AdjustMoney::_internal_amount() const { + return _impl_.amount_; +} +inline int32_t CCSUsrMsg_AdjustMoney::amount() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_AdjustMoney.amount) + return _internal_amount(); +} +inline void CCSUsrMsg_AdjustMoney::_internal_set_amount(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.amount_ = value; +} +inline void CCSUsrMsg_AdjustMoney::set_amount(int32_t value) { + _internal_set_amount(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_AdjustMoney.amount) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ReportHit + +// optional float pos_x = 1; +inline bool CCSUsrMsg_ReportHit::_internal_has_pos_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ReportHit::has_pos_x() const { + return _internal_has_pos_x(); +} +inline void CCSUsrMsg_ReportHit::clear_pos_x() { + _impl_.pos_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CCSUsrMsg_ReportHit::_internal_pos_x() const { + return _impl_.pos_x_; +} +inline float CCSUsrMsg_ReportHit::pos_x() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_x) + return _internal_pos_x(); +} +inline void CCSUsrMsg_ReportHit::_internal_set_pos_x(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pos_x_ = value; +} +inline void CCSUsrMsg_ReportHit::set_pos_x(float value) { + _internal_set_pos_x(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_x) +} + +// optional float pos_y = 2; +inline bool CCSUsrMsg_ReportHit::_internal_has_pos_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ReportHit::has_pos_y() const { + return _internal_has_pos_y(); +} +inline void CCSUsrMsg_ReportHit::clear_pos_y() { + _impl_.pos_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_ReportHit::_internal_pos_y() const { + return _impl_.pos_y_; +} +inline float CCSUsrMsg_ReportHit::pos_y() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_y) + return _internal_pos_y(); +} +inline void CCSUsrMsg_ReportHit::_internal_set_pos_y(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pos_y_ = value; +} +inline void CCSUsrMsg_ReportHit::set_pos_y(float value) { + _internal_set_pos_y(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_y) +} + +// optional float timestamp = 4; +inline bool CCSUsrMsg_ReportHit::_internal_has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_ReportHit::has_timestamp() const { + return _internal_has_timestamp(); +} +inline void CCSUsrMsg_ReportHit::clear_timestamp() { + _impl_.timestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_ReportHit::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline float CCSUsrMsg_ReportHit::timestamp() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.timestamp) + return _internal_timestamp(); +} +inline void CCSUsrMsg_ReportHit::_internal_set_timestamp(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.timestamp_ = value; +} +inline void CCSUsrMsg_ReportHit::set_timestamp(float value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.timestamp) +} + +// optional float pos_z = 3; +inline bool CCSUsrMsg_ReportHit::_internal_has_pos_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ReportHit::has_pos_z() const { + return _internal_has_pos_z(); +} +inline void CCSUsrMsg_ReportHit::clear_pos_z() { + _impl_.pos_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_ReportHit::_internal_pos_z() const { + return _impl_.pos_z_; +} +inline float CCSUsrMsg_ReportHit::pos_z() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_z) + return _internal_pos_z(); +} +inline void CCSUsrMsg_ReportHit::_internal_set_pos_z(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.pos_z_ = value; +} +inline void CCSUsrMsg_ReportHit::set_pos_z(float value) { + _internal_set_pos_z(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_z) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_KillCam + +// optional int32 obs_mode = 1; +inline bool CCSUsrMsg_KillCam::_internal_has_obs_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_KillCam::has_obs_mode() const { + return _internal_has_obs_mode(); +} +inline void CCSUsrMsg_KillCam::clear_obs_mode() { + _impl_.obs_mode_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_KillCam::_internal_obs_mode() const { + return _impl_.obs_mode_; +} +inline int32_t CCSUsrMsg_KillCam::obs_mode() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.obs_mode) + return _internal_obs_mode(); +} +inline void CCSUsrMsg_KillCam::_internal_set_obs_mode(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.obs_mode_ = value; +} +inline void CCSUsrMsg_KillCam::set_obs_mode(int32_t value) { + _internal_set_obs_mode(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.obs_mode) +} + +// optional int32 first_target = 2 [default = -1]; +inline bool CCSUsrMsg_KillCam::_internal_has_first_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_KillCam::has_first_target() const { + return _internal_has_first_target(); +} +inline void CCSUsrMsg_KillCam::clear_first_target() { + _impl_.first_target_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_KillCam::_internal_first_target() const { + return _impl_.first_target_; +} +inline int32_t CCSUsrMsg_KillCam::first_target() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.first_target) + return _internal_first_target(); +} +inline void CCSUsrMsg_KillCam::_internal_set_first_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.first_target_ = value; +} +inline void CCSUsrMsg_KillCam::set_first_target(int32_t value) { + _internal_set_first_target(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.first_target) +} + +// optional int32 second_target = 3 [default = -1]; +inline bool CCSUsrMsg_KillCam::_internal_has_second_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_KillCam::has_second_target() const { + return _internal_has_second_target(); +} +inline void CCSUsrMsg_KillCam::clear_second_target() { + _impl_.second_target_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_KillCam::_internal_second_target() const { + return _impl_.second_target_; +} +inline int32_t CCSUsrMsg_KillCam::second_target() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.second_target) + return _internal_second_target(); +} +inline void CCSUsrMsg_KillCam::_internal_set_second_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.second_target_ = value; +} +inline void CCSUsrMsg_KillCam::set_second_target(int32_t value) { + _internal_set_second_target(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.second_target) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_DesiredTimescale + +// optional float desired_timescale = 1; +inline bool CCSUsrMsg_DesiredTimescale::_internal_has_desired_timescale() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_DesiredTimescale::has_desired_timescale() const { + return _internal_has_desired_timescale(); +} +inline void CCSUsrMsg_DesiredTimescale::clear_desired_timescale() { + _impl_.desired_timescale_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CCSUsrMsg_DesiredTimescale::_internal_desired_timescale() const { + return _impl_.desired_timescale_; +} +inline float CCSUsrMsg_DesiredTimescale::desired_timescale() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.desired_timescale) + return _internal_desired_timescale(); +} +inline void CCSUsrMsg_DesiredTimescale::_internal_set_desired_timescale(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.desired_timescale_ = value; +} +inline void CCSUsrMsg_DesiredTimescale::set_desired_timescale(float value) { + _internal_set_desired_timescale(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.desired_timescale) +} + +// optional float duration_realtime_sec = 2; +inline bool CCSUsrMsg_DesiredTimescale::_internal_has_duration_realtime_sec() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_DesiredTimescale::has_duration_realtime_sec() const { + return _internal_has_duration_realtime_sec(); +} +inline void CCSUsrMsg_DesiredTimescale::clear_duration_realtime_sec() { + _impl_.duration_realtime_sec_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_DesiredTimescale::_internal_duration_realtime_sec() const { + return _impl_.duration_realtime_sec_; +} +inline float CCSUsrMsg_DesiredTimescale::duration_realtime_sec() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.duration_realtime_sec) + return _internal_duration_realtime_sec(); +} +inline void CCSUsrMsg_DesiredTimescale::_internal_set_duration_realtime_sec(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_realtime_sec_ = value; +} +inline void CCSUsrMsg_DesiredTimescale::set_duration_realtime_sec(float value) { + _internal_set_duration_realtime_sec(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.duration_realtime_sec) +} + +// optional int32 interpolator_type = 3; +inline bool CCSUsrMsg_DesiredTimescale::_internal_has_interpolator_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_DesiredTimescale::has_interpolator_type() const { + return _internal_has_interpolator_type(); +} +inline void CCSUsrMsg_DesiredTimescale::clear_interpolator_type() { + _impl_.interpolator_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_DesiredTimescale::_internal_interpolator_type() const { + return _impl_.interpolator_type_; +} +inline int32_t CCSUsrMsg_DesiredTimescale::interpolator_type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.interpolator_type) + return _internal_interpolator_type(); +} +inline void CCSUsrMsg_DesiredTimescale::_internal_set_interpolator_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.interpolator_type_ = value; +} +inline void CCSUsrMsg_DesiredTimescale::set_interpolator_type(int32_t value) { + _internal_set_interpolator_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.interpolator_type) +} + +// optional float start_blend_time = 4; +inline bool CCSUsrMsg_DesiredTimescale::_internal_has_start_blend_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_DesiredTimescale::has_start_blend_time() const { + return _internal_has_start_blend_time(); +} +inline void CCSUsrMsg_DesiredTimescale::clear_start_blend_time() { + _impl_.start_blend_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_DesiredTimescale::_internal_start_blend_time() const { + return _impl_.start_blend_time_; +} +inline float CCSUsrMsg_DesiredTimescale::start_blend_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.start_blend_time) + return _internal_start_blend_time(); +} +inline void CCSUsrMsg_DesiredTimescale::_internal_set_start_blend_time(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.start_blend_time_ = value; +} +inline void CCSUsrMsg_DesiredTimescale::set_start_blend_time(float value) { + _internal_set_start_blend_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.start_blend_time) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CurrentTimescale + +// optional float cur_timescale = 1; +inline bool CCSUsrMsg_CurrentTimescale::_internal_has_cur_timescale() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CurrentTimescale::has_cur_timescale() const { + return _internal_has_cur_timescale(); +} +inline void CCSUsrMsg_CurrentTimescale::clear_cur_timescale() { + _impl_.cur_timescale_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CCSUsrMsg_CurrentTimescale::_internal_cur_timescale() const { + return _impl_.cur_timescale_; +} +inline float CCSUsrMsg_CurrentTimescale::cur_timescale() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CurrentTimescale.cur_timescale) + return _internal_cur_timescale(); +} +inline void CCSUsrMsg_CurrentTimescale::_internal_set_cur_timescale(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cur_timescale_ = value; +} +inline void CCSUsrMsg_CurrentTimescale::set_cur_timescale(float value) { + _internal_set_cur_timescale(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CurrentTimescale.cur_timescale) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_AchievementEvent + +// optional int32 achievement = 1; +inline bool CCSUsrMsg_AchievementEvent::_internal_has_achievement() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_AchievementEvent::has_achievement() const { + return _internal_has_achievement(); +} +inline void CCSUsrMsg_AchievementEvent::clear_achievement() { + _impl_.achievement_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_AchievementEvent::_internal_achievement() const { + return _impl_.achievement_; +} +inline int32_t CCSUsrMsg_AchievementEvent::achievement() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.achievement) + return _internal_achievement(); +} +inline void CCSUsrMsg_AchievementEvent::_internal_set_achievement(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.achievement_ = value; +} +inline void CCSUsrMsg_AchievementEvent::set_achievement(int32_t value) { + _internal_set_achievement(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.achievement) +} + +// optional int32 count = 2; +inline bool CCSUsrMsg_AchievementEvent::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_AchievementEvent::has_count() const { + return _internal_has_count(); +} +inline void CCSUsrMsg_AchievementEvent::clear_count() { + _impl_.count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_AchievementEvent::_internal_count() const { + return _impl_.count_; +} +inline int32_t CCSUsrMsg_AchievementEvent::count() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.count) + return _internal_count(); +} +inline void CCSUsrMsg_AchievementEvent::_internal_set_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.count_ = value; +} +inline void CCSUsrMsg_AchievementEvent::set_count(int32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.count) +} + +// optional int32 user_id = 3; +inline bool CCSUsrMsg_AchievementEvent::_internal_has_user_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_AchievementEvent::has_user_id() const { + return _internal_has_user_id(); +} +inline void CCSUsrMsg_AchievementEvent::clear_user_id() { + _impl_.user_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_AchievementEvent::_internal_user_id() const { + return _impl_.user_id_; +} +inline int32_t CCSUsrMsg_AchievementEvent::user_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.user_id) + return _internal_user_id(); +} +inline void CCSUsrMsg_AchievementEvent::_internal_set_user_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.user_id_ = value; +} +inline void CCSUsrMsg_AchievementEvent::set_user_id(int32_t value) { + _internal_set_user_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.user_id) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_MatchEndConditions + +// optional int32 fraglimit = 1; +inline bool CCSUsrMsg_MatchEndConditions::_internal_has_fraglimit() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_MatchEndConditions::has_fraglimit() const { + return _internal_has_fraglimit(); +} +inline void CCSUsrMsg_MatchEndConditions::clear_fraglimit() { + _impl_.fraglimit_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_MatchEndConditions::_internal_fraglimit() const { + return _impl_.fraglimit_; +} +inline int32_t CCSUsrMsg_MatchEndConditions::fraglimit() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.fraglimit) + return _internal_fraglimit(); +} +inline void CCSUsrMsg_MatchEndConditions::_internal_set_fraglimit(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.fraglimit_ = value; +} +inline void CCSUsrMsg_MatchEndConditions::set_fraglimit(int32_t value) { + _internal_set_fraglimit(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.fraglimit) +} + +// optional int32 mp_maxrounds = 2; +inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_maxrounds() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_MatchEndConditions::has_mp_maxrounds() const { + return _internal_has_mp_maxrounds(); +} +inline void CCSUsrMsg_MatchEndConditions::clear_mp_maxrounds() { + _impl_.mp_maxrounds_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_MatchEndConditions::_internal_mp_maxrounds() const { + return _impl_.mp_maxrounds_; +} +inline int32_t CCSUsrMsg_MatchEndConditions::mp_maxrounds() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_maxrounds) + return _internal_mp_maxrounds(); +} +inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_maxrounds(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.mp_maxrounds_ = value; +} +inline void CCSUsrMsg_MatchEndConditions::set_mp_maxrounds(int32_t value) { + _internal_set_mp_maxrounds(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_maxrounds) +} + +// optional int32 mp_winlimit = 3; +inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_winlimit() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_MatchEndConditions::has_mp_winlimit() const { + return _internal_has_mp_winlimit(); +} +inline void CCSUsrMsg_MatchEndConditions::clear_mp_winlimit() { + _impl_.mp_winlimit_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_MatchEndConditions::_internal_mp_winlimit() const { + return _impl_.mp_winlimit_; +} +inline int32_t CCSUsrMsg_MatchEndConditions::mp_winlimit() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_winlimit) + return _internal_mp_winlimit(); +} +inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_winlimit(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.mp_winlimit_ = value; +} +inline void CCSUsrMsg_MatchEndConditions::set_mp_winlimit(int32_t value) { + _internal_set_mp_winlimit(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_winlimit) +} + +// optional float mp_timelimit = 4; +inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_timelimit() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_MatchEndConditions::has_mp_timelimit() const { + return _internal_has_mp_timelimit(); +} +inline void CCSUsrMsg_MatchEndConditions::clear_mp_timelimit() { + _impl_.mp_timelimit_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_MatchEndConditions::_internal_mp_timelimit() const { + return _impl_.mp_timelimit_; +} +inline float CCSUsrMsg_MatchEndConditions::mp_timelimit() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_timelimit) + return _internal_mp_timelimit(); +} +inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_timelimit(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.mp_timelimit_ = value; +} +inline void CCSUsrMsg_MatchEndConditions::set_mp_timelimit(float value) { + _internal_set_mp_timelimit(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_timelimit) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_PlayerStatsUpdate_Stat + +// optional int32 idx = 1; +inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_has_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::has_idx() const { + return _internal_has_idx(); +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::clear_idx() { + _impl_.idx_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_idx() const { + return _impl_.idx_; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::idx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.Stat.idx) + return _internal_idx(); +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_set_idx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.idx_ = value; +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::set_idx(int32_t value) { + _internal_set_idx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.Stat.idx) +} + +// optional int32 delta = 2; +inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_has_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::has_delta() const { + return _internal_has_delta(); +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::clear_delta() { + _impl_.delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_delta() const { + return _impl_.delta_; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::delta() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.Stat.delta) + return _internal_delta(); +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_set_delta(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.delta_ = value; +} +inline void CCSUsrMsg_PlayerStatsUpdate_Stat::set_delta(int32_t value) { + _internal_set_delta(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.Stat.delta) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_PlayerStatsUpdate + +// optional int32 version = 1; +inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_PlayerStatsUpdate::has_version() const { + return _internal_has_version(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::clear_version() { + _impl_.version_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate::_internal_version() const { + return _impl_.version_; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate::version() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.version) + return _internal_version(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.version_ = value; +} +inline void CCSUsrMsg_PlayerStatsUpdate::set_version(int32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.version) +} + +// repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; +inline int CCSUsrMsg_PlayerStatsUpdate::_internal_stats_size() const { + return _impl_.stats_.size(); +} +inline int CCSUsrMsg_PlayerStatsUpdate::stats_size() const { + return _internal_stats_size(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::clear_stats() { + _impl_.stats_.Clear(); +} +inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::mutable_stats(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_PlayerStatsUpdate.stats) + return _impl_.stats_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >* +CCSUsrMsg_PlayerStatsUpdate::mutable_stats() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_PlayerStatsUpdate.stats) + return &_impl_.stats_; +} +inline const ::CCSUsrMsg_PlayerStatsUpdate_Stat& CCSUsrMsg_PlayerStatsUpdate::_internal_stats(int index) const { + return _impl_.stats_.Get(index); +} +inline const ::CCSUsrMsg_PlayerStatsUpdate_Stat& CCSUsrMsg_PlayerStatsUpdate::stats(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.stats) + return _internal_stats(index); +} +inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::_internal_add_stats() { + return _impl_.stats_.Add(); +} +inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::add_stats() { + ::CCSUsrMsg_PlayerStatsUpdate_Stat* _add = _internal_add_stats(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_PlayerStatsUpdate.stats) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >& +CCSUsrMsg_PlayerStatsUpdate::stats() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_PlayerStatsUpdate.stats) + return _impl_.stats_; +} + +// optional uint32 ehandle = 5; +inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_ehandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_PlayerStatsUpdate::has_ehandle() const { + return _internal_has_ehandle(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::clear_ehandle() { + _impl_.ehandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSUsrMsg_PlayerStatsUpdate::_internal_ehandle() const { + return _impl_.ehandle_; +} +inline uint32_t CCSUsrMsg_PlayerStatsUpdate::ehandle() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.ehandle) + return _internal_ehandle(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_ehandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ehandle_ = value; +} +inline void CCSUsrMsg_PlayerStatsUpdate::set_ehandle(uint32_t value) { + _internal_set_ehandle(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.ehandle) +} + +// optional int32 crc = 6; +inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_PlayerStatsUpdate::has_crc() const { + return _internal_has_crc(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::clear_crc() { + _impl_.crc_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate::_internal_crc() const { + return _impl_.crc_; +} +inline int32_t CCSUsrMsg_PlayerStatsUpdate::crc() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.crc) + return _internal_crc(); +} +inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_crc(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.crc_ = value; +} +inline void CCSUsrMsg_PlayerStatsUpdate::set_crc(int32_t value) { + _internal_set_crc(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.crc) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_QuestProgress + +// optional uint32 quest_id = 1; +inline bool CCSUsrMsg_QuestProgress::_internal_has_quest_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_QuestProgress::has_quest_id() const { + return _internal_has_quest_id(); +} +inline void CCSUsrMsg_QuestProgress::clear_quest_id() { + _impl_.quest_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCSUsrMsg_QuestProgress::_internal_quest_id() const { + return _impl_.quest_id_; +} +inline uint32_t CCSUsrMsg_QuestProgress::quest_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.quest_id) + return _internal_quest_id(); +} +inline void CCSUsrMsg_QuestProgress::_internal_set_quest_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.quest_id_ = value; +} +inline void CCSUsrMsg_QuestProgress::set_quest_id(uint32_t value) { + _internal_set_quest_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.quest_id) +} + +// optional uint32 normal_points = 2; +inline bool CCSUsrMsg_QuestProgress::_internal_has_normal_points() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_QuestProgress::has_normal_points() const { + return _internal_has_normal_points(); +} +inline void CCSUsrMsg_QuestProgress::clear_normal_points() { + _impl_.normal_points_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSUsrMsg_QuestProgress::_internal_normal_points() const { + return _impl_.normal_points_; +} +inline uint32_t CCSUsrMsg_QuestProgress::normal_points() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.normal_points) + return _internal_normal_points(); +} +inline void CCSUsrMsg_QuestProgress::_internal_set_normal_points(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.normal_points_ = value; +} +inline void CCSUsrMsg_QuestProgress::set_normal_points(uint32_t value) { + _internal_set_normal_points(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.normal_points) +} + +// optional uint32 bonus_points = 3; +inline bool CCSUsrMsg_QuestProgress::_internal_has_bonus_points() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_QuestProgress::has_bonus_points() const { + return _internal_has_bonus_points(); +} +inline void CCSUsrMsg_QuestProgress::clear_bonus_points() { + _impl_.bonus_points_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CCSUsrMsg_QuestProgress::_internal_bonus_points() const { + return _impl_.bonus_points_; +} +inline uint32_t CCSUsrMsg_QuestProgress::bonus_points() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.bonus_points) + return _internal_bonus_points(); +} +inline void CCSUsrMsg_QuestProgress::_internal_set_bonus_points(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bonus_points_ = value; +} +inline void CCSUsrMsg_QuestProgress::set_bonus_points(uint32_t value) { + _internal_set_bonus_points(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.bonus_points) +} + +// optional bool is_event_quest = 4; +inline bool CCSUsrMsg_QuestProgress::_internal_has_is_event_quest() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_QuestProgress::has_is_event_quest() const { + return _internal_has_is_event_quest(); +} +inline void CCSUsrMsg_QuestProgress::clear_is_event_quest() { + _impl_.is_event_quest_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CCSUsrMsg_QuestProgress::_internal_is_event_quest() const { + return _impl_.is_event_quest_; +} +inline bool CCSUsrMsg_QuestProgress::is_event_quest() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.is_event_quest) + return _internal_is_event_quest(); +} +inline void CCSUsrMsg_QuestProgress::_internal_set_is_event_quest(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_event_quest_ = value; +} +inline void CCSUsrMsg_QuestProgress::set_is_event_quest(bool value) { + _internal_set_is_event_quest(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.is_event_quest) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ScoreLeaderboardData + +// optional .ScoreLeaderboardData data = 1; +inline bool CCSUsrMsg_ScoreLeaderboardData::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline bool CCSUsrMsg_ScoreLeaderboardData::has_data() const { + return _internal_has_data(); +} +inline const ::ScoreLeaderboardData& CCSUsrMsg_ScoreLeaderboardData::_internal_data() const { + const ::ScoreLeaderboardData* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast( + ::_ScoreLeaderboardData_default_instance_); +} +inline const ::ScoreLeaderboardData& CCSUsrMsg_ScoreLeaderboardData::data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ScoreLeaderboardData.data) + return _internal_data(); +} +inline void CCSUsrMsg_ScoreLeaderboardData::unsafe_arena_set_allocated_data( + ::ScoreLeaderboardData* data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + _impl_.data_ = data; + if (data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ScoreLeaderboardData.data) +} +inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::release_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::ScoreLeaderboardData* temp = _impl_.data_; + _impl_.data_ = 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 ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::unsafe_arena_release_data() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ScoreLeaderboardData.data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::ScoreLeaderboardData* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.data_ == nullptr) { + auto* p = CreateMaybeMessage<::ScoreLeaderboardData>(GetArenaForAllocation()); + _impl_.data_ = p; + } + return _impl_.data_; +} +inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::mutable_data() { + ::ScoreLeaderboardData* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ScoreLeaderboardData.data) + return _msg; +} +inline void CCSUsrMsg_ScoreLeaderboardData::set_allocated_data(::ScoreLeaderboardData* data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + if (data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); + if (message_arena != submessage_arena) { + data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_ = data; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ScoreLeaderboardData.data) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_PlayerDecalDigitalSignature + +// optional .PlayerDecalDigitalSignature data = 1; +inline bool CCSUsrMsg_PlayerDecalDigitalSignature::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline bool CCSUsrMsg_PlayerDecalDigitalSignature::has_data() const { + return _internal_has_data(); +} +inline const ::PlayerDecalDigitalSignature& CCSUsrMsg_PlayerDecalDigitalSignature::_internal_data() const { + const ::PlayerDecalDigitalSignature* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerDecalDigitalSignature_default_instance_); +} +inline const ::PlayerDecalDigitalSignature& CCSUsrMsg_PlayerDecalDigitalSignature::data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerDecalDigitalSignature.data) + return _internal_data(); +} +inline void CCSUsrMsg_PlayerDecalDigitalSignature::unsafe_arena_set_allocated_data( + ::PlayerDecalDigitalSignature* data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + _impl_.data_ = data; + if (data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_PlayerDecalDigitalSignature.data) +} +inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::release_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerDecalDigitalSignature* temp = _impl_.data_; + _impl_.data_ = 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 ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::unsafe_arena_release_data() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_PlayerDecalDigitalSignature.data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::PlayerDecalDigitalSignature* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.data_ == nullptr) { + auto* p = CreateMaybeMessage<::PlayerDecalDigitalSignature>(GetArenaForAllocation()); + _impl_.data_ = p; + } + return _impl_.data_; +} +inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::mutable_data() { + ::PlayerDecalDigitalSignature* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_PlayerDecalDigitalSignature.data) + return _msg; +} +inline void CCSUsrMsg_PlayerDecalDigitalSignature::set_allocated_data(::PlayerDecalDigitalSignature* data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + if (data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); + if (message_arena != submessage_arena) { + data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_ = data; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_PlayerDecalDigitalSignature.data) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_XRankGet + +// optional int32 mode_idx = 1; +inline bool CCSUsrMsg_XRankGet::_internal_has_mode_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_XRankGet::has_mode_idx() const { + return _internal_has_mode_idx(); +} +inline void CCSUsrMsg_XRankGet::clear_mode_idx() { + _impl_.mode_idx_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_XRankGet::_internal_mode_idx() const { + return _impl_.mode_idx_; +} +inline int32_t CCSUsrMsg_XRankGet::mode_idx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankGet.mode_idx) + return _internal_mode_idx(); +} +inline void CCSUsrMsg_XRankGet::_internal_set_mode_idx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mode_idx_ = value; +} +inline void CCSUsrMsg_XRankGet::set_mode_idx(int32_t value) { + _internal_set_mode_idx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankGet.mode_idx) +} + +// optional int32 controller = 2; +inline bool CCSUsrMsg_XRankGet::_internal_has_controller() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_XRankGet::has_controller() const { + return _internal_has_controller(); +} +inline void CCSUsrMsg_XRankGet::clear_controller() { + _impl_.controller_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_XRankGet::_internal_controller() const { + return _impl_.controller_; +} +inline int32_t CCSUsrMsg_XRankGet::controller() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankGet.controller) + return _internal_controller(); +} +inline void CCSUsrMsg_XRankGet::_internal_set_controller(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.controller_ = value; +} +inline void CCSUsrMsg_XRankGet::set_controller(int32_t value) { + _internal_set_controller(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankGet.controller) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_XRankUpd + +// optional int32 mode_idx = 1; +inline bool CCSUsrMsg_XRankUpd::_internal_has_mode_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_XRankUpd::has_mode_idx() const { + return _internal_has_mode_idx(); +} +inline void CCSUsrMsg_XRankUpd::clear_mode_idx() { + _impl_.mode_idx_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_XRankUpd::_internal_mode_idx() const { + return _impl_.mode_idx_; +} +inline int32_t CCSUsrMsg_XRankUpd::mode_idx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.mode_idx) + return _internal_mode_idx(); +} +inline void CCSUsrMsg_XRankUpd::_internal_set_mode_idx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mode_idx_ = value; +} +inline void CCSUsrMsg_XRankUpd::set_mode_idx(int32_t value) { + _internal_set_mode_idx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.mode_idx) +} + +// optional int32 controller = 2; +inline bool CCSUsrMsg_XRankUpd::_internal_has_controller() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_XRankUpd::has_controller() const { + return _internal_has_controller(); +} +inline void CCSUsrMsg_XRankUpd::clear_controller() { + _impl_.controller_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_XRankUpd::_internal_controller() const { + return _impl_.controller_; +} +inline int32_t CCSUsrMsg_XRankUpd::controller() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.controller) + return _internal_controller(); +} +inline void CCSUsrMsg_XRankUpd::_internal_set_controller(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.controller_ = value; +} +inline void CCSUsrMsg_XRankUpd::set_controller(int32_t value) { + _internal_set_controller(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.controller) +} + +// optional int32 ranking = 3; +inline bool CCSUsrMsg_XRankUpd::_internal_has_ranking() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_XRankUpd::has_ranking() const { + return _internal_has_ranking(); +} +inline void CCSUsrMsg_XRankUpd::clear_ranking() { + _impl_.ranking_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_XRankUpd::_internal_ranking() const { + return _impl_.ranking_; +} +inline int32_t CCSUsrMsg_XRankUpd::ranking() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.ranking) + return _internal_ranking(); +} +inline void CCSUsrMsg_XRankUpd::_internal_set_ranking(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ranking_ = value; +} +inline void CCSUsrMsg_XRankUpd::set_ranking(int32_t value) { + _internal_set_ranking(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.ranking) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CallVoteFailed + +// optional int32 reason = 1; +inline bool CCSUsrMsg_CallVoteFailed::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CallVoteFailed::has_reason() const { + return _internal_has_reason(); +} +inline void CCSUsrMsg_CallVoteFailed::clear_reason() { + _impl_.reason_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_CallVoteFailed::_internal_reason() const { + return _impl_.reason_; +} +inline int32_t CCSUsrMsg_CallVoteFailed::reason() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CallVoteFailed.reason) + return _internal_reason(); +} +inline void CCSUsrMsg_CallVoteFailed::_internal_set_reason(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.reason_ = value; +} +inline void CCSUsrMsg_CallVoteFailed::set_reason(int32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CallVoteFailed.reason) +} + +// optional int32 time = 2; +inline bool CCSUsrMsg_CallVoteFailed::_internal_has_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_CallVoteFailed::has_time() const { + return _internal_has_time(); +} +inline void CCSUsrMsg_CallVoteFailed::clear_time() { + _impl_.time_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_CallVoteFailed::_internal_time() const { + return _impl_.time_; +} +inline int32_t CCSUsrMsg_CallVoteFailed::time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CallVoteFailed.time) + return _internal_time(); +} +inline void CCSUsrMsg_CallVoteFailed::_internal_set_time(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_ = value; +} +inline void CCSUsrMsg_CallVoteFailed::set_time(int32_t value) { + _internal_set_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CallVoteFailed.time) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VoteStart + +// optional int32 team = 1; +inline bool CCSUsrMsg_VoteStart::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_team() const { + return _internal_has_team(); +} +inline void CCSUsrMsg_VoteStart::clear_team() { + _impl_.team_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_VoteStart::_internal_team() const { + return _impl_.team_; +} +inline int32_t CCSUsrMsg_VoteStart::team() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.team) + return _internal_team(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_team(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.team_ = value; +} +inline void CCSUsrMsg_VoteStart::set_team(int32_t value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.team) +} + +// optional int32 player_slot = 2 [default = -1]; +inline bool CCSUsrMsg_VoteStart::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CCSUsrMsg_VoteStart::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CCSUsrMsg_VoteStart::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CCSUsrMsg_VoteStart::player_slot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.player_slot) + return _internal_player_slot(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.player_slot_ = value; +} +inline void CCSUsrMsg_VoteStart::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.player_slot) +} + +// optional int32 vote_type = 3; +inline bool CCSUsrMsg_VoteStart::_internal_has_vote_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_vote_type() const { + return _internal_has_vote_type(); +} +inline void CCSUsrMsg_VoteStart::clear_vote_type() { + _impl_.vote_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_VoteStart::_internal_vote_type() const { + return _impl_.vote_type_; +} +inline int32_t CCSUsrMsg_VoteStart::vote_type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.vote_type) + return _internal_vote_type(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_vote_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.vote_type_ = value; +} +inline void CCSUsrMsg_VoteStart::set_vote_type(int32_t value) { + _internal_set_vote_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.vote_type) +} + +// optional string disp_str = 4; +inline bool CCSUsrMsg_VoteStart::_internal_has_disp_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_disp_str() const { + return _internal_has_disp_str(); +} +inline void CCSUsrMsg_VoteStart::clear_disp_str() { + _impl_.disp_str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_VoteStart::disp_str() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.disp_str) + return _internal_disp_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VoteStart::set_disp_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.disp_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.disp_str) +} +inline std::string* CCSUsrMsg_VoteStart::mutable_disp_str() { + std::string* _s = _internal_mutable_disp_str(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.disp_str) + return _s; +} +inline const std::string& CCSUsrMsg_VoteStart::_internal_disp_str() const { + return _impl_.disp_str_.Get(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_disp_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.disp_str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_disp_str() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.disp_str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::release_disp_str() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.disp_str) + if (!_internal_has_disp_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.disp_str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.disp_str_.IsDefault()) { + _impl_.disp_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VoteStart::set_allocated_disp_str(std::string* disp_str) { + if (disp_str != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.disp_str_.SetAllocated(disp_str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.disp_str_.IsDefault()) { + _impl_.disp_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.disp_str) +} + +// optional string details_str = 5; +inline bool CCSUsrMsg_VoteStart::_internal_has_details_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_details_str() const { + return _internal_has_details_str(); +} +inline void CCSUsrMsg_VoteStart::clear_details_str() { + _impl_.details_str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCSUsrMsg_VoteStart::details_str() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.details_str) + return _internal_details_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VoteStart::set_details_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.details_str) +} +inline std::string* CCSUsrMsg_VoteStart::mutable_details_str() { + std::string* _s = _internal_mutable_details_str(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.details_str) + return _s; +} +inline const std::string& CCSUsrMsg_VoteStart::_internal_details_str() const { + return _impl_.details_str_.Get(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_details_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_details_str() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.details_str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::release_details_str() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.details_str) + if (!_internal_has_details_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.details_str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_str_.IsDefault()) { + _impl_.details_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VoteStart::set_allocated_details_str(std::string* details_str) { + if (details_str != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.details_str_.SetAllocated(details_str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_str_.IsDefault()) { + _impl_.details_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.details_str) +} + +// optional string other_team_str = 6; +inline bool CCSUsrMsg_VoteStart::_internal_has_other_team_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_other_team_str() const { + return _internal_has_other_team_str(); +} +inline void CCSUsrMsg_VoteStart::clear_other_team_str() { + _impl_.other_team_str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CCSUsrMsg_VoteStart::other_team_str() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.other_team_str) + return _internal_other_team_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VoteStart::set_other_team_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.other_team_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.other_team_str) +} +inline std::string* CCSUsrMsg_VoteStart::mutable_other_team_str() { + std::string* _s = _internal_mutable_other_team_str(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.other_team_str) + return _s; +} +inline const std::string& CCSUsrMsg_VoteStart::_internal_other_team_str() const { + return _impl_.other_team_str_.Get(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_other_team_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.other_team_str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_other_team_str() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.other_team_str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VoteStart::release_other_team_str() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.other_team_str) + if (!_internal_has_other_team_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.other_team_str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.other_team_str_.IsDefault()) { + _impl_.other_team_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VoteStart::set_allocated_other_team_str(std::string* other_team_str) { + if (other_team_str != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.other_team_str_.SetAllocated(other_team_str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.other_team_str_.IsDefault()) { + _impl_.other_team_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.other_team_str) +} + +// optional bool is_yes_no_vote = 7; +inline bool CCSUsrMsg_VoteStart::_internal_has_is_yes_no_vote() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_is_yes_no_vote() const { + return _internal_has_is_yes_no_vote(); +} +inline void CCSUsrMsg_VoteStart::clear_is_yes_no_vote() { + _impl_.is_yes_no_vote_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CCSUsrMsg_VoteStart::_internal_is_yes_no_vote() const { + return _impl_.is_yes_no_vote_; +} +inline bool CCSUsrMsg_VoteStart::is_yes_no_vote() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.is_yes_no_vote) + return _internal_is_yes_no_vote(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_is_yes_no_vote(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.is_yes_no_vote_ = value; +} +inline void CCSUsrMsg_VoteStart::set_is_yes_no_vote(bool value) { + _internal_set_is_yes_no_vote(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.is_yes_no_vote) +} + +// optional int32 player_slot_target = 8 [default = -1]; +inline bool CCSUsrMsg_VoteStart::_internal_has_player_slot_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteStart::has_player_slot_target() const { + return _internal_has_player_slot_target(); +} +inline void CCSUsrMsg_VoteStart::clear_player_slot_target() { + _impl_.player_slot_target_ = -1; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CCSUsrMsg_VoteStart::_internal_player_slot_target() const { + return _impl_.player_slot_target_; +} +inline int32_t CCSUsrMsg_VoteStart::player_slot_target() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.player_slot_target) + return _internal_player_slot_target(); +} +inline void CCSUsrMsg_VoteStart::_internal_set_player_slot_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.player_slot_target_ = value; +} +inline void CCSUsrMsg_VoteStart::set_player_slot_target(int32_t value) { + _internal_set_player_slot_target(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.player_slot_target) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VotePass + +// optional int32 team = 1; +inline bool CCSUsrMsg_VotePass::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_VotePass::has_team() const { + return _internal_has_team(); +} +inline void CCSUsrMsg_VotePass::clear_team() { + _impl_.team_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_VotePass::_internal_team() const { + return _impl_.team_; +} +inline int32_t CCSUsrMsg_VotePass::team() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.team) + return _internal_team(); +} +inline void CCSUsrMsg_VotePass::_internal_set_team(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.team_ = value; +} +inline void CCSUsrMsg_VotePass::set_team(int32_t value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.team) +} + +// optional int32 vote_type = 2; +inline bool CCSUsrMsg_VotePass::_internal_has_vote_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_VotePass::has_vote_type() const { + return _internal_has_vote_type(); +} +inline void CCSUsrMsg_VotePass::clear_vote_type() { + _impl_.vote_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_VotePass::_internal_vote_type() const { + return _impl_.vote_type_; +} +inline int32_t CCSUsrMsg_VotePass::vote_type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.vote_type) + return _internal_vote_type(); +} +inline void CCSUsrMsg_VotePass::_internal_set_vote_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.vote_type_ = value; +} +inline void CCSUsrMsg_VotePass::set_vote_type(int32_t value) { + _internal_set_vote_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.vote_type) +} + +// optional string disp_str = 3; +inline bool CCSUsrMsg_VotePass::_internal_has_disp_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VotePass::has_disp_str() const { + return _internal_has_disp_str(); +} +inline void CCSUsrMsg_VotePass::clear_disp_str() { + _impl_.disp_str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_VotePass::disp_str() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.disp_str) + return _internal_disp_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VotePass::set_disp_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.disp_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.disp_str) +} +inline std::string* CCSUsrMsg_VotePass::mutable_disp_str() { + std::string* _s = _internal_mutable_disp_str(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VotePass.disp_str) + return _s; +} +inline const std::string& CCSUsrMsg_VotePass::_internal_disp_str() const { + return _impl_.disp_str_.Get(); +} +inline void CCSUsrMsg_VotePass::_internal_set_disp_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.disp_str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VotePass::_internal_mutable_disp_str() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.disp_str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VotePass::release_disp_str() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VotePass.disp_str) + if (!_internal_has_disp_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.disp_str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.disp_str_.IsDefault()) { + _impl_.disp_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VotePass::set_allocated_disp_str(std::string* disp_str) { + if (disp_str != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.disp_str_.SetAllocated(disp_str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.disp_str_.IsDefault()) { + _impl_.disp_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VotePass.disp_str) +} + +// optional string details_str = 4; +inline bool CCSUsrMsg_VotePass::_internal_has_details_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VotePass::has_details_str() const { + return _internal_has_details_str(); +} +inline void CCSUsrMsg_VotePass::clear_details_str() { + _impl_.details_str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCSUsrMsg_VotePass::details_str() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.details_str) + return _internal_details_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_VotePass::set_details_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.details_str) +} +inline std::string* CCSUsrMsg_VotePass::mutable_details_str() { + std::string* _s = _internal_mutable_details_str(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VotePass.details_str) + return _s; +} +inline const std::string& CCSUsrMsg_VotePass::_internal_details_str() const { + return _impl_.details_str_.Get(); +} +inline void CCSUsrMsg_VotePass::_internal_set_details_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VotePass::_internal_mutable_details_str() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.details_str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_VotePass::release_details_str() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_VotePass.details_str) + if (!_internal_has_details_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.details_str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_str_.IsDefault()) { + _impl_.details_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_VotePass::set_allocated_details_str(std::string* details_str) { + if (details_str != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.details_str_.SetAllocated(details_str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_str_.IsDefault()) { + _impl_.details_str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VotePass.details_str) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VoteFailed + +// optional int32 team = 1; +inline bool CCSUsrMsg_VoteFailed::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteFailed::has_team() const { + return _internal_has_team(); +} +inline void CCSUsrMsg_VoteFailed::clear_team() { + _impl_.team_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_VoteFailed::_internal_team() const { + return _impl_.team_; +} +inline int32_t CCSUsrMsg_VoteFailed::team() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteFailed.team) + return _internal_team(); +} +inline void CCSUsrMsg_VoteFailed::_internal_set_team(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.team_ = value; +} +inline void CCSUsrMsg_VoteFailed::set_team(int32_t value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteFailed.team) +} + +// optional int32 reason = 2; +inline bool CCSUsrMsg_VoteFailed::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_VoteFailed::has_reason() const { + return _internal_has_reason(); +} +inline void CCSUsrMsg_VoteFailed::clear_reason() { + _impl_.reason_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_VoteFailed::_internal_reason() const { + return _impl_.reason_; +} +inline int32_t CCSUsrMsg_VoteFailed::reason() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteFailed.reason) + return _internal_reason(); +} +inline void CCSUsrMsg_VoteFailed::_internal_set_reason(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_ = value; +} +inline void CCSUsrMsg_VoteFailed::set_reason(int32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteFailed.reason) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_VoteSetup + +// repeated string potential_issues = 1; +inline int CCSUsrMsg_VoteSetup::_internal_potential_issues_size() const { + return _impl_.potential_issues_.size(); +} +inline int CCSUsrMsg_VoteSetup::potential_issues_size() const { + return _internal_potential_issues_size(); +} +inline void CCSUsrMsg_VoteSetup::clear_potential_issues() { + _impl_.potential_issues_.Clear(); +} +inline std::string* CCSUsrMsg_VoteSetup::add_potential_issues() { + std::string* _s = _internal_add_potential_issues(); + // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_VoteSetup.potential_issues) + return _s; +} +inline const std::string& CCSUsrMsg_VoteSetup::_internal_potential_issues(int index) const { + return _impl_.potential_issues_.Get(index); +} +inline const std::string& CCSUsrMsg_VoteSetup::potential_issues(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteSetup.potential_issues) + return _internal_potential_issues(index); +} +inline std::string* CCSUsrMsg_VoteSetup::mutable_potential_issues(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteSetup.potential_issues) + return _impl_.potential_issues_.Mutable(index); +} +inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const std::string& value) { + _impl_.potential_issues_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, std::string&& value) { + _impl_.potential_issues_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.potential_issues_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const char* value, size_t size) { + _impl_.potential_issues_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_VoteSetup.potential_issues) +} +inline std::string* CCSUsrMsg_VoteSetup::_internal_add_potential_issues() { + return _impl_.potential_issues_.Add(); +} +inline void CCSUsrMsg_VoteSetup::add_potential_issues(const std::string& value) { + _impl_.potential_issues_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::add_potential_issues(std::string&& value) { + _impl_.potential_issues_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::add_potential_issues(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.potential_issues_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CCSUsrMsg_VoteSetup.potential_issues) +} +inline void CCSUsrMsg_VoteSetup::add_potential_issues(const char* value, size_t size) { + _impl_.potential_issues_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_VoteSetup.potential_issues) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CCSUsrMsg_VoteSetup::potential_issues() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_VoteSetup.potential_issues) + return _impl_.potential_issues_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CCSUsrMsg_VoteSetup::mutable_potential_issues() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VoteSetup.potential_issues) + return &_impl_.potential_issues_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendLastKillerDamageToClient + +// optional int32 num_hits_given = 1; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_num_hits_given() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_num_hits_given() const { + return _internal_has_num_hits_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_num_hits_given() { + _impl_.num_hits_given_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_num_hits_given() const { + return _impl_.num_hits_given_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::num_hits_given() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_given) + return _internal_num_hits_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_num_hits_given(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.num_hits_given_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_num_hits_given(int32_t value) { + _internal_set_num_hits_given(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_given) +} + +// optional int32 damage_given = 2; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_damage_given() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_damage_given() const { + return _internal_has_damage_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_damage_given() { + _impl_.damage_given_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_damage_given() const { + return _impl_.damage_given_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::damage_given() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.damage_given) + return _internal_damage_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_damage_given(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.damage_given_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_damage_given(int32_t value) { + _internal_set_damage_given(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.damage_given) +} + +// optional int32 num_hits_taken = 3; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_num_hits_taken() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_num_hits_taken() const { + return _internal_has_num_hits_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_num_hits_taken() { + _impl_.num_hits_taken_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_num_hits_taken() const { + return _impl_.num_hits_taken_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::num_hits_taken() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_taken) + return _internal_num_hits_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_num_hits_taken(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_hits_taken_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_num_hits_taken(int32_t value) { + _internal_set_num_hits_taken(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_taken) +} + +// optional int32 damage_taken = 4; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_damage_taken() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_damage_taken() const { + return _internal_has_damage_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_damage_taken() { + _impl_.damage_taken_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_damage_taken() const { + return _impl_.damage_taken_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::damage_taken() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.damage_taken) + return _internal_damage_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_damage_taken(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.damage_taken_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_damage_taken(int32_t value) { + _internal_set_damage_taken(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.damage_taken) +} + +// optional int32 actual_damage_given = 5; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_actual_damage_given() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_actual_damage_given() const { + return _internal_has_actual_damage_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_actual_damage_given() { + _impl_.actual_damage_given_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_actual_damage_given() const { + return _impl_.actual_damage_given_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::actual_damage_given() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_given) + return _internal_actual_damage_given(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_actual_damage_given(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.actual_damage_given_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_actual_damage_given(int32_t value) { + _internal_set_actual_damage_given(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_given) +} + +// optional int32 actual_damage_taken = 6; +inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_actual_damage_taken() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_actual_damage_taken() const { + return _internal_has_actual_damage_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_actual_damage_taken() { + _impl_.actual_damage_taken_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_actual_damage_taken() const { + return _impl_.actual_damage_taken_; +} +inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::actual_damage_taken() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_taken) + return _internal_actual_damage_taken(); +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_actual_damage_taken(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.actual_damage_taken_ = value; +} +inline void CCSUsrMsg_SendLastKillerDamageToClient::set_actual_damage_taken(int32_t value) { + _internal_set_actual_damage_taken(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_taken) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ServerRankUpdate_RankUpdate + +// optional int32 account_id = 1; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_account_id() const { + return _internal_has_account_id(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_account_id() { + _impl_.account_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_account_id() const { + return _impl_.account_id_; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::account_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.account_id) + return _internal_account_id(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_account_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_id_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_account_id(int32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.account_id) +} + +// optional int32 rank_old = 2; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_old() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_old() const { + return _internal_has_rank_old(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_old() { + _impl_.rank_old_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_old() const { + return _impl_.rank_old_; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_old() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_old) + return _internal_rank_old(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_old(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rank_old_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_old(int32_t value) { + _internal_set_rank_old(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_old) +} + +// optional int32 rank_new = 3; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_new() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_new() const { + return _internal_has_rank_new(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_new() { + _impl_.rank_new_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_new() const { + return _impl_.rank_new_; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_new() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_new) + return _internal_rank_new(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_new(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.rank_new_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_new(int32_t value) { + _internal_set_rank_new(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_new) +} + +// optional int32 num_wins = 4; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_num_wins() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_num_wins() const { + return _internal_has_num_wins(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_num_wins() { + _impl_.num_wins_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_num_wins() const { + return _impl_.num_wins_; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::num_wins() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.num_wins) + return _internal_num_wins(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_num_wins(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.num_wins_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_num_wins(int32_t value) { + _internal_set_num_wins(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.num_wins) +} + +// optional float rank_change = 5; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_change() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_change() const { + return _internal_has_rank_change(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_change() { + _impl_.rank_change_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_change() const { + return _impl_.rank_change_; +} +inline float CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_change() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_change) + return _internal_rank_change(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_change(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.rank_change_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_change(float value) { + _internal_set_rank_change(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_change) +} + +// optional int32 rank_type_id = 6; +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_type_id() const { + return _internal_has_rank_type_id(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_type_id() { + _impl_.rank_type_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_type_id() const { + return _impl_.rank_type_id_; +} +inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_type_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_type_id) + return _internal_rank_type_id(); +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_type_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.rank_type_id_ = value; +} +inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_type_id(int32_t value) { + _internal_set_rank_type_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_type_id) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ServerRankUpdate + +// repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; +inline int CCSUsrMsg_ServerRankUpdate::_internal_rank_update_size() const { + return _impl_.rank_update_.size(); +} +inline int CCSUsrMsg_ServerRankUpdate::rank_update_size() const { + return _internal_rank_update_size(); +} +inline void CCSUsrMsg_ServerRankUpdate::clear_rank_update() { + _impl_.rank_update_.Clear(); +} +inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::mutable_rank_update(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ServerRankUpdate.rank_update) + return _impl_.rank_update_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >* +CCSUsrMsg_ServerRankUpdate::mutable_rank_update() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ServerRankUpdate.rank_update) + return &_impl_.rank_update_; +} +inline const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& CCSUsrMsg_ServerRankUpdate::_internal_rank_update(int index) const { + return _impl_.rank_update_.Get(index); +} +inline const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& CCSUsrMsg_ServerRankUpdate::rank_update(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.rank_update) + return _internal_rank_update(index); +} +inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::_internal_add_rank_update() { + return _impl_.rank_update_.Add(); +} +inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::add_rank_update() { + ::CCSUsrMsg_ServerRankUpdate_RankUpdate* _add = _internal_add_rank_update(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_ServerRankUpdate.rank_update) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >& +CCSUsrMsg_ServerRankUpdate::rank_update() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_ServerRankUpdate.rank_update) + return _impl_.rank_update_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_XpUpdate + +// optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; +inline bool CCSUsrMsg_XpUpdate::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline bool CCSUsrMsg_XpUpdate::has_data() const { + return _internal_has_data(); +} +inline const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& CCSUsrMsg_XpUpdate::_internal_data() const { + const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_); +} +inline const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& CCSUsrMsg_XpUpdate::data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_XpUpdate.data) + return _internal_data(); +} +inline void CCSUsrMsg_XpUpdate::unsafe_arena_set_allocated_data( + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + _impl_.data_ = data; + if (data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_XpUpdate.data) +} +inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::release_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* temp = _impl_.data_; + _impl_.data_ = 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 ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::unsafe_arena_release_data() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_XpUpdate.data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.data_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded>(GetArenaForAllocation()); + _impl_.data_ = p; + } + return _impl_.data_; +} +inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::mutable_data() { + ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_XpUpdate.data) + return _msg; +} +inline void CCSUsrMsg_XpUpdate::set_allocated_data(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); + } + if (data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); + if (message_arena != submessage_arena) { + data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_ = data; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_XpUpdate.data) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ItemPickup + +// optional string item = 1; +inline bool CCSUsrMsg_ItemPickup::_internal_has_item() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ItemPickup::has_item() const { + return _internal_has_item(); +} +inline void CCSUsrMsg_ItemPickup::clear_item() { + _impl_.item_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_ItemPickup::item() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemPickup.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_ItemPickup::set_item(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemPickup.item) +} +inline std::string* CCSUsrMsg_ItemPickup::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ItemPickup.item) + return _s; +} +inline const std::string& CCSUsrMsg_ItemPickup::_internal_item() const { + return _impl_.item_.Get(); +} +inline void CCSUsrMsg_ItemPickup::_internal_set_item(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_ItemPickup::_internal_mutable_item() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_ItemPickup::release_item() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ItemPickup.item) + if (!_internal_has_item()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.item_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_ItemPickup::set_allocated_item(std::string* item) { + if (item != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_ItemPickup.item) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ShowMenu + +// optional int32 bits_valid_slots = 1; +inline bool CCSUsrMsg_ShowMenu::_internal_has_bits_valid_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ShowMenu::has_bits_valid_slots() const { + return _internal_has_bits_valid_slots(); +} +inline void CCSUsrMsg_ShowMenu::clear_bits_valid_slots() { + _impl_.bits_valid_slots_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_ShowMenu::_internal_bits_valid_slots() const { + return _impl_.bits_valid_slots_; +} +inline int32_t CCSUsrMsg_ShowMenu::bits_valid_slots() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.bits_valid_slots) + return _internal_bits_valid_slots(); +} +inline void CCSUsrMsg_ShowMenu::_internal_set_bits_valid_slots(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.bits_valid_slots_ = value; +} +inline void CCSUsrMsg_ShowMenu::set_bits_valid_slots(int32_t value) { + _internal_set_bits_valid_slots(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.bits_valid_slots) +} + +// optional int32 display_time = 2; +inline bool CCSUsrMsg_ShowMenu::_internal_has_display_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ShowMenu::has_display_time() const { + return _internal_has_display_time(); +} +inline void CCSUsrMsg_ShowMenu::clear_display_time() { + _impl_.display_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_ShowMenu::_internal_display_time() const { + return _impl_.display_time_; +} +inline int32_t CCSUsrMsg_ShowMenu::display_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.display_time) + return _internal_display_time(); +} +inline void CCSUsrMsg_ShowMenu::_internal_set_display_time(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.display_time_ = value; +} +inline void CCSUsrMsg_ShowMenu::set_display_time(int32_t value) { + _internal_set_display_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.display_time) +} + +// optional string menu_string = 3; +inline bool CCSUsrMsg_ShowMenu::_internal_has_menu_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ShowMenu::has_menu_string() const { + return _internal_has_menu_string(); +} +inline void CCSUsrMsg_ShowMenu::clear_menu_string() { + _impl_.menu_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_ShowMenu::menu_string() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.menu_string) + return _internal_menu_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_ShowMenu::set_menu_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menu_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.menu_string) +} +inline std::string* CCSUsrMsg_ShowMenu::mutable_menu_string() { + std::string* _s = _internal_mutable_menu_string(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShowMenu.menu_string) + return _s; +} +inline const std::string& CCSUsrMsg_ShowMenu::_internal_menu_string() const { + return _impl_.menu_string_.Get(); +} +inline void CCSUsrMsg_ShowMenu::_internal_set_menu_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menu_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_ShowMenu::_internal_mutable_menu_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.menu_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_ShowMenu::release_menu_string() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ShowMenu.menu_string) + if (!_internal_has_menu_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.menu_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menu_string_.IsDefault()) { + _impl_.menu_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_ShowMenu::set_allocated_menu_string(std::string* menu_string) { + if (menu_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.menu_string_.SetAllocated(menu_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menu_string_.IsDefault()) { + _impl_.menu_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShowMenu.menu_string) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_BarTime + +// optional string time = 1; +inline bool CCSUsrMsg_BarTime::_internal_has_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_BarTime::has_time() const { + return _internal_has_time(); +} +inline void CCSUsrMsg_BarTime::clear_time() { + _impl_.time_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_BarTime::time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_BarTime.time) + return _internal_time(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_BarTime::set_time(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.time_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_BarTime.time) +} +inline std::string* CCSUsrMsg_BarTime::mutable_time() { + std::string* _s = _internal_mutable_time(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_BarTime.time) + return _s; +} +inline const std::string& CCSUsrMsg_BarTime::_internal_time() const { + return _impl_.time_.Get(); +} +inline void CCSUsrMsg_BarTime::_internal_set_time(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.time_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_BarTime::_internal_mutable_time() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.time_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_BarTime::release_time() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_BarTime.time) + if (!_internal_has_time()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.time_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.time_.IsDefault()) { + _impl_.time_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_BarTime::set_allocated_time(std::string* time) { + if (time != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.time_.SetAllocated(time, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.time_.IsDefault()) { + _impl_.time_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_BarTime.time) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_AmmoDenied + +// optional int32 ammoidx = 1; +inline bool CCSUsrMsg_AmmoDenied::_internal_has_ammoidx() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_AmmoDenied::has_ammoidx() const { + return _internal_has_ammoidx(); +} +inline void CCSUsrMsg_AmmoDenied::clear_ammoidx() { + _impl_.ammoidx_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_AmmoDenied::_internal_ammoidx() const { + return _impl_.ammoidx_; +} +inline int32_t CCSUsrMsg_AmmoDenied::ammoidx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_AmmoDenied.ammoidx) + return _internal_ammoidx(); +} +inline void CCSUsrMsg_AmmoDenied::_internal_set_ammoidx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ammoidx_ = value; +} +inline void CCSUsrMsg_AmmoDenied::set_ammoidx(int32_t value) { + _internal_set_ammoidx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_AmmoDenied.ammoidx) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_MarkAchievement + +// optional string achievement = 1; +inline bool CCSUsrMsg_MarkAchievement::_internal_has_achievement() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_MarkAchievement::has_achievement() const { + return _internal_has_achievement(); +} +inline void CCSUsrMsg_MarkAchievement::clear_achievement() { + _impl_.achievement_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_MarkAchievement::achievement() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MarkAchievement.achievement) + return _internal_achievement(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_MarkAchievement::set_achievement(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.achievement_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MarkAchievement.achievement) +} +inline std::string* CCSUsrMsg_MarkAchievement::mutable_achievement() { + std::string* _s = _internal_mutable_achievement(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_MarkAchievement.achievement) + return _s; +} +inline const std::string& CCSUsrMsg_MarkAchievement::_internal_achievement() const { + return _impl_.achievement_.Get(); +} +inline void CCSUsrMsg_MarkAchievement::_internal_set_achievement(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.achievement_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_MarkAchievement::_internal_mutable_achievement() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.achievement_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_MarkAchievement::release_achievement() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_MarkAchievement.achievement) + if (!_internal_has_achievement()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.achievement_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.achievement_.IsDefault()) { + _impl_.achievement_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_MarkAchievement::set_allocated_achievement(std::string* achievement) { + if (achievement != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.achievement_.SetAllocated(achievement, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.achievement_.IsDefault()) { + _impl_.achievement_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_MarkAchievement.achievement) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_MatchStatsUpdate + +// optional string update = 1; +inline bool CCSUsrMsg_MatchStatsUpdate::_internal_has_update() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_MatchStatsUpdate::has_update() const { + return _internal_has_update(); +} +inline void CCSUsrMsg_MatchStatsUpdate::clear_update() { + _impl_.update_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_MatchStatsUpdate::update() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchStatsUpdate.update) + return _internal_update(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_MatchStatsUpdate::set_update(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.update_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchStatsUpdate.update) +} +inline std::string* CCSUsrMsg_MatchStatsUpdate::mutable_update() { + std::string* _s = _internal_mutable_update(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_MatchStatsUpdate.update) + return _s; +} +inline const std::string& CCSUsrMsg_MatchStatsUpdate::_internal_update() const { + return _impl_.update_.Get(); +} +inline void CCSUsrMsg_MatchStatsUpdate::_internal_set_update(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.update_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_MatchStatsUpdate::_internal_mutable_update() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.update_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_MatchStatsUpdate::release_update() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_MatchStatsUpdate.update) + if (!_internal_has_update()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.update_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.update_.IsDefault()) { + _impl_.update_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_MatchStatsUpdate::set_allocated_update(std::string* update) { + if (update != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.update_.SetAllocated(update, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.update_.IsDefault()) { + _impl_.update_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_MatchStatsUpdate.update) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ItemDrop + +// optional int64 itemid = 1; +inline bool CCSUsrMsg_ItemDrop::_internal_has_itemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ItemDrop::has_itemid() const { + return _internal_has_itemid(); +} +inline void CCSUsrMsg_ItemDrop::clear_itemid() { + _impl_.itemid_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int64_t CCSUsrMsg_ItemDrop::_internal_itemid() const { + return _impl_.itemid_; +} +inline int64_t CCSUsrMsg_ItemDrop::itemid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemDrop.itemid) + return _internal_itemid(); +} +inline void CCSUsrMsg_ItemDrop::_internal_set_itemid(int64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.itemid_ = value; +} +inline void CCSUsrMsg_ItemDrop::set_itemid(int64_t value) { + _internal_set_itemid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemDrop.itemid) +} + +// optional bool death = 2; +inline bool CCSUsrMsg_ItemDrop::_internal_has_death() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ItemDrop::has_death() const { + return _internal_has_death(); +} +inline void CCSUsrMsg_ItemDrop::clear_death() { + _impl_.death_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CCSUsrMsg_ItemDrop::_internal_death() const { + return _impl_.death_; +} +inline bool CCSUsrMsg_ItemDrop::death() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemDrop.death) + return _internal_death(); +} +inline void CCSUsrMsg_ItemDrop::_internal_set_death(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.death_ = value; +} +inline void CCSUsrMsg_ItemDrop::set_death(bool value) { + _internal_set_death(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemDrop.death) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundBackupFilenames + +// optional int32 count = 1; +inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundBackupFilenames::has_count() const { + return _internal_has_count(); +} +inline void CCSUsrMsg_RoundBackupFilenames::clear_count() { + _impl_.count_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_RoundBackupFilenames::_internal_count() const { + return _impl_.count_; +} +inline int32_t CCSUsrMsg_RoundBackupFilenames::count() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.count) + return _internal_count(); +} +inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.count_ = value; +} +inline void CCSUsrMsg_RoundBackupFilenames::set_count(int32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.count) +} + +// optional int32 index = 2; +inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundBackupFilenames::has_index() const { + return _internal_has_index(); +} +inline void CCSUsrMsg_RoundBackupFilenames::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_RoundBackupFilenames::_internal_index() const { + return _impl_.index_; +} +inline int32_t CCSUsrMsg_RoundBackupFilenames::index() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.index) + return _internal_index(); +} +inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.index_ = value; +} +inline void CCSUsrMsg_RoundBackupFilenames::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.index) +} + +// optional string filename = 3; +inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundBackupFilenames::has_filename() const { + return _internal_has_filename(); +} +inline void CCSUsrMsg_RoundBackupFilenames::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_RoundBackupFilenames::filename() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_RoundBackupFilenames::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.filename) +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundBackupFilenames.filename) + return _s; +} +inline const std::string& CCSUsrMsg_RoundBackupFilenames::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::release_filename() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundBackupFilenames.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_RoundBackupFilenames::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundBackupFilenames.filename) +} + +// optional string nicename = 4; +inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_nicename() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundBackupFilenames::has_nicename() const { + return _internal_has_nicename(); +} +inline void CCSUsrMsg_RoundBackupFilenames::clear_nicename() { + _impl_.nicename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCSUsrMsg_RoundBackupFilenames::nicename() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.nicename) + return _internal_nicename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_RoundBackupFilenames::set_nicename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.nicename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.nicename) +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::mutable_nicename() { + std::string* _s = _internal_mutable_nicename(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundBackupFilenames.nicename) + return _s; +} +inline const std::string& CCSUsrMsg_RoundBackupFilenames::_internal_nicename() const { + return _impl_.nicename_.Get(); +} +inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_nicename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.nicename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::_internal_mutable_nicename() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.nicename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RoundBackupFilenames::release_nicename() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundBackupFilenames.nicename) + if (!_internal_has_nicename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.nicename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nicename_.IsDefault()) { + _impl_.nicename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_RoundBackupFilenames::set_allocated_nicename(std::string* nicename) { + if (nicename != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.nicename_.SetAllocated(nicename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nicename_.IsDefault()) { + _impl_.nicename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundBackupFilenames.nicename) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SSUI + +// optional bool show = 1; +inline bool CCSUsrMsg_SSUI::_internal_has_show() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SSUI::has_show() const { + return _internal_has_show(); +} +inline void CCSUsrMsg_SSUI::clear_show() { + _impl_.show_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCSUsrMsg_SSUI::_internal_show() const { + return _impl_.show_; +} +inline bool CCSUsrMsg_SSUI::show() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.show) + return _internal_show(); +} +inline void CCSUsrMsg_SSUI::_internal_set_show(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.show_ = value; +} +inline void CCSUsrMsg_SSUI::set_show(bool value) { + _internal_set_show(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.show) +} + +// optional float start_time = 2; +inline bool CCSUsrMsg_SSUI::_internal_has_start_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SSUI::has_start_time() const { + return _internal_has_start_time(); +} +inline void CCSUsrMsg_SSUI::clear_start_time() { + _impl_.start_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_SSUI::_internal_start_time() const { + return _impl_.start_time_; +} +inline float CCSUsrMsg_SSUI::start_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.start_time) + return _internal_start_time(); +} +inline void CCSUsrMsg_SSUI::_internal_set_start_time(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.start_time_ = value; +} +inline void CCSUsrMsg_SSUI::set_start_time(float value) { + _internal_set_start_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.start_time) +} + +// optional float end_time = 3; +inline bool CCSUsrMsg_SSUI::_internal_has_end_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SSUI::has_end_time() const { + return _internal_has_end_time(); +} +inline void CCSUsrMsg_SSUI::clear_end_time() { + _impl_.end_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_SSUI::_internal_end_time() const { + return _impl_.end_time_; +} +inline float CCSUsrMsg_SSUI::end_time() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.end_time) + return _internal_end_time(); +} +inline void CCSUsrMsg_SSUI::_internal_set_end_time(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.end_time_ = value; +} +inline void CCSUsrMsg_SSUI::set_end_time(float value) { + _internal_set_end_time(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.end_time) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SurvivalStats_Fact + +// optional int32 type = 1; +inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Fact::has_type() const { + return _internal_has_type(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_type() const { + return _impl_.type_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.type) + return _internal_type(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Fact::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.type) +} + +// optional int32 display = 2; +inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_display() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Fact::has_display() const { + return _internal_has_display(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::clear_display() { + _impl_.display_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_display() const { + return _impl_.display_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::display() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.display) + return _internal_display(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_display(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.display_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Fact::set_display(int32_t value) { + _internal_set_display(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.display) +} + +// optional int32 value = 3; +inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Fact::has_value() const { + return _internal_has_value(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::clear_value() { + _impl_.value_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_value() const { + return _impl_.value_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Fact::value() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.value) + return _internal_value(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_value(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.value_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Fact::set_value(int32_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.value) +} + +// optional float interestingness = 4; +inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_interestingness() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Fact::has_interestingness() const { + return _internal_has_interestingness(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::clear_interestingness() { + _impl_.interestingness_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCSUsrMsg_SurvivalStats_Fact::_internal_interestingness() const { + return _impl_.interestingness_; +} +inline float CCSUsrMsg_SurvivalStats_Fact::interestingness() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.interestingness) + return _internal_interestingness(); +} +inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_interestingness(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.interestingness_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Fact::set_interestingness(float value) { + _internal_set_interestingness(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.interestingness) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SurvivalStats_Placement + +// optional uint64 xuid = 1; +inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Placement::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCSUsrMsg_SurvivalStats_Placement::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCSUsrMsg_SurvivalStats_Placement::xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.xuid) + return _internal_xuid(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.xuid_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Placement::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.xuid) +} + +// optional int32 teamnumber = 2; +inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_teamnumber() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Placement::has_teamnumber() const { + return _internal_has_teamnumber(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::clear_teamnumber() { + _impl_.teamnumber_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Placement::_internal_teamnumber() const { + return _impl_.teamnumber_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Placement::teamnumber() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.teamnumber) + return _internal_teamnumber(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_teamnumber(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.teamnumber_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Placement::set_teamnumber(int32_t value) { + _internal_set_teamnumber(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.teamnumber) +} + +// optional int32 placement = 3; +inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_placement() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Placement::has_placement() const { + return _internal_has_placement(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::clear_placement() { + _impl_.placement_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Placement::_internal_placement() const { + return _impl_.placement_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Placement::placement() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.placement) + return _internal_placement(); +} +inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_placement(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.placement_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Placement::set_placement(int32_t value) { + _internal_set_placement(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.placement) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SurvivalStats_Damage + +// optional uint64 xuid = 1; +inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Damage::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCSUsrMsg_SurvivalStats_Damage::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCSUsrMsg_SurvivalStats_Damage::xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.xuid) + return _internal_xuid(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.xuid_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Damage::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.xuid) +} + +// optional int32 to = 2; +inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_to() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Damage::has_to() const { + return _internal_has_to(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::clear_to() { + _impl_.to_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_to() const { + return _impl_.to_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::to() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.to) + return _internal_to(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_to(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.to_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Damage::set_to(int32_t value) { + _internal_set_to(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.to) +} + +// optional int32 to_hits = 3; +inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_to_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Damage::has_to_hits() const { + return _internal_has_to_hits(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::clear_to_hits() { + _impl_.to_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_to_hits() const { + return _impl_.to_hits_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::to_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.to_hits) + return _internal_to_hits(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_to_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.to_hits_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Damage::set_to_hits(int32_t value) { + _internal_set_to_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.to_hits) +} + +// optional int32 from = 4; +inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_from() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Damage::has_from() const { + return _internal_has_from(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::clear_from() { + _impl_.from_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_from() const { + return _impl_.from_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::from() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.from) + return _internal_from(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_from(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.from_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Damage::set_from(int32_t value) { + _internal_set_from(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.from) +} + +// optional int32 from_hits = 5; +inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_from_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats_Damage::has_from_hits() const { + return _internal_has_from_hits(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::clear_from_hits() { + _impl_.from_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_from_hits() const { + return _impl_.from_hits_; +} +inline int32_t CCSUsrMsg_SurvivalStats_Damage::from_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.from_hits) + return _internal_from_hits(); +} +inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_from_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.from_hits_ = value; +} +inline void CCSUsrMsg_SurvivalStats_Damage::set_from_hits(int32_t value) { + _internal_set_from_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.from_hits) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SurvivalStats + +// optional uint64 xuid = 1; +inline bool CCSUsrMsg_SurvivalStats::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCSUsrMsg_SurvivalStats::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCSUsrMsg_SurvivalStats::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCSUsrMsg_SurvivalStats::xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.xuid) + return _internal_xuid(); +} +inline void CCSUsrMsg_SurvivalStats::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.xuid_ = value; +} +inline void CCSUsrMsg_SurvivalStats::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.xuid) +} + +// repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; +inline int CCSUsrMsg_SurvivalStats::_internal_facts_size() const { + return _impl_.facts_.size(); +} +inline int CCSUsrMsg_SurvivalStats::facts_size() const { + return _internal_facts_size(); +} +inline void CCSUsrMsg_SurvivalStats::clear_facts() { + _impl_.facts_.Clear(); +} +inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::mutable_facts(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.facts) + return _impl_.facts_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >* +CCSUsrMsg_SurvivalStats::mutable_facts() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.facts) + return &_impl_.facts_; +} +inline const ::CCSUsrMsg_SurvivalStats_Fact& CCSUsrMsg_SurvivalStats::_internal_facts(int index) const { + return _impl_.facts_.Get(index); +} +inline const ::CCSUsrMsg_SurvivalStats_Fact& CCSUsrMsg_SurvivalStats::facts(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.facts) + return _internal_facts(index); +} +inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::_internal_add_facts() { + return _impl_.facts_.Add(); +} +inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::add_facts() { + ::CCSUsrMsg_SurvivalStats_Fact* _add = _internal_add_facts(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.facts) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >& +CCSUsrMsg_SurvivalStats::facts() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.facts) + return _impl_.facts_; +} + +// repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; +inline int CCSUsrMsg_SurvivalStats::_internal_users_size() const { + return _impl_.users_.size(); +} +inline int CCSUsrMsg_SurvivalStats::users_size() const { + return _internal_users_size(); +} +inline void CCSUsrMsg_SurvivalStats::clear_users() { + _impl_.users_.Clear(); +} +inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::mutable_users(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.users) + return _impl_.users_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >* +CCSUsrMsg_SurvivalStats::mutable_users() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.users) + return &_impl_.users_; +} +inline const ::CCSUsrMsg_SurvivalStats_Placement& CCSUsrMsg_SurvivalStats::_internal_users(int index) const { + return _impl_.users_.Get(index); +} +inline const ::CCSUsrMsg_SurvivalStats_Placement& CCSUsrMsg_SurvivalStats::users(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.users) + return _internal_users(index); +} +inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::_internal_add_users() { + return _impl_.users_.Add(); +} +inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::add_users() { + ::CCSUsrMsg_SurvivalStats_Placement* _add = _internal_add_users(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.users) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >& +CCSUsrMsg_SurvivalStats::users() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.users) + return _impl_.users_; +} + +// repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; +inline int CCSUsrMsg_SurvivalStats::_internal_damages_size() const { + return _impl_.damages_.size(); +} +inline int CCSUsrMsg_SurvivalStats::damages_size() const { + return _internal_damages_size(); +} +inline void CCSUsrMsg_SurvivalStats::clear_damages() { + _impl_.damages_.Clear(); +} +inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::mutable_damages(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.damages) + return _impl_.damages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >* +CCSUsrMsg_SurvivalStats::mutable_damages() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.damages) + return &_impl_.damages_; +} +inline const ::CCSUsrMsg_SurvivalStats_Damage& CCSUsrMsg_SurvivalStats::_internal_damages(int index) const { + return _impl_.damages_.Get(index); +} +inline const ::CCSUsrMsg_SurvivalStats_Damage& CCSUsrMsg_SurvivalStats::damages(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.damages) + return _internal_damages(index); +} +inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::_internal_add_damages() { + return _impl_.damages_.Add(); +} +inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::add_damages() { + ::CCSUsrMsg_SurvivalStats_Damage* _add = _internal_add_damages(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.damages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >& +CCSUsrMsg_SurvivalStats::damages() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.damages) + return _impl_.damages_; +} + +// optional int32 ticknumber = 4; +inline bool CCSUsrMsg_SurvivalStats::_internal_has_ticknumber() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SurvivalStats::has_ticknumber() const { + return _internal_has_ticknumber(); +} +inline void CCSUsrMsg_SurvivalStats::clear_ticknumber() { + _impl_.ticknumber_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SurvivalStats::_internal_ticknumber() const { + return _impl_.ticknumber_; +} +inline int32_t CCSUsrMsg_SurvivalStats::ticknumber() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.ticknumber) + return _internal_ticknumber(); +} +inline void CCSUsrMsg_SurvivalStats::_internal_set_ticknumber(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ticknumber_ = value; +} +inline void CCSUsrMsg_SurvivalStats::set_ticknumber(int32_t value) { + _internal_set_ticknumber(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.ticknumber) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_EndOfMatchAllPlayersData_Accolade + +// optional int32 eaccolade = 1; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_eaccolade() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_eaccolade() const { + return _internal_has_eaccolade(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_eaccolade() { + _impl_.eaccolade_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_eaccolade() const { + return _impl_.eaccolade_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::eaccolade() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.eaccolade) + return _internal_eaccolade(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_eaccolade(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eaccolade_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_eaccolade(int32_t value) { + _internal_set_eaccolade(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.eaccolade) +} + +// optional float value = 2; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_value() const { + return _internal_has_value(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_value() { + _impl_.value_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_value() const { + return _impl_.value_; +} +inline float CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::value() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.value) + return _internal_value(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_value(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_value(float value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.value) +} + +// optional int32 position = 3; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_position() const { + return _internal_has_position(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_position() { + _impl_.position_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_position() const { + return _impl_.position_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::position() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.position) + return _internal_position(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_position(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.position_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_position(int32_t value) { + _internal_set_position(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.position) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData + +// optional int32 slot = 1 [default = -1]; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_slot() const { + return _internal_has_slot(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_slot() { + _impl_.slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::slot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.slot) + return _internal_slot(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.slot_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.slot) +} + +// optional uint64 xuid = 2; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.xuid) + return _internal_xuid(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.xuid_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.xuid) +} + +// optional string name = 3; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_name() const { + return _internal_has_name(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::name() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) +} +inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) + return _s; +} +inline const std::string& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::release_name() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) +} + +// optional int32 teamnumber = 4; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_teamnumber() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_teamnumber() const { + return _internal_has_teamnumber(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_teamnumber() { + _impl_.teamnumber_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_teamnumber() const { + return _impl_.teamnumber_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::teamnumber() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.teamnumber) + return _internal_teamnumber(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_teamnumber(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.teamnumber_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_teamnumber(int32_t value) { + _internal_set_teamnumber(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.teamnumber) +} + +// optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_nomination() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.nomination_ != nullptr); + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_nomination() const { + return _internal_has_nomination(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_nomination() { + if (_impl_.nomination_ != nullptr) _impl_.nomination_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_nomination() const { + const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* p = _impl_.nomination_; + return p != nullptr ? *p : reinterpret_cast( + ::_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_); +} +inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::nomination() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) + return _internal_nomination(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::unsafe_arena_set_allocated_nomination( + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.nomination_); + } + _impl_.nomination_ = nomination; + if (nomination) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::release_nomination() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* temp = _impl_.nomination_; + _impl_.nomination_ = 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 ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::unsafe_arena_release_nomination() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* temp = _impl_.nomination_; + _impl_.nomination_ = nullptr; + return temp; +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_mutable_nomination() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.nomination_ == nullptr) { + auto* p = CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade>(GetArenaForAllocation()); + _impl_.nomination_ = p; + } + return _impl_.nomination_; +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_nomination() { + ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* _msg = _internal_mutable_nomination(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) + return _msg; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_allocated_nomination(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.nomination_; + } + if (nomination) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nomination); + if (message_arena != submessage_arena) { + nomination = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, nomination, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.nomination_ = nomination; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) +} + +// repeated .CEconItemPreviewDataBlock items = 6; +inline int CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items_size() const { + return _internal_items_size(); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_items(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) + return _impl_.items_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) + return &_impl_.items_; +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) + return _internal_items(index); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_add_items() { + return _impl_.items_.Add(); +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::add_items() { + ::CEconItemPreviewDataBlock* _add = _internal_add_items(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& +CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) + return _impl_.items_; +} + +// optional int32 playercolor = 7; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_playercolor() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_playercolor() const { + return _internal_has_playercolor(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_playercolor() { + _impl_.playercolor_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_playercolor() const { + return _impl_.playercolor_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::playercolor() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.playercolor) + return _internal_playercolor(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_playercolor(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.playercolor_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_playercolor(int32_t value) { + _internal_set_playercolor(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.playercolor) +} + +// optional bool isbot = 8; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_isbot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_isbot() const { + return _internal_has_isbot(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_isbot() { + _impl_.isbot_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_isbot() const { + return _impl_.isbot_; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::isbot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.isbot) + return _internal_isbot(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_isbot(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.isbot_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_isbot(bool value) { + _internal_set_isbot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.isbot) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_EndOfMatchAllPlayersData + +// repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; +inline int CCSUsrMsg_EndOfMatchAllPlayersData::_internal_allplayerdata_size() const { + return _impl_.allplayerdata_.size(); +} +inline int CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata_size() const { + return _internal_allplayerdata_size(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData::clear_allplayerdata() { + _impl_.allplayerdata_.Clear(); +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::mutable_allplayerdata(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) + return _impl_.allplayerdata_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >* +CCSUsrMsg_EndOfMatchAllPlayersData::mutable_allplayerdata() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) + return &_impl_.allplayerdata_; +} +inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& CCSUsrMsg_EndOfMatchAllPlayersData::_internal_allplayerdata(int index) const { + return _impl_.allplayerdata_.Get(index); +} +inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) + return _internal_allplayerdata(index); +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::_internal_add_allplayerdata() { + return _impl_.allplayerdata_.Add(); +} +inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::add_allplayerdata() { + ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* _add = _internal_add_allplayerdata(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >& +CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) + return _impl_.allplayerdata_; +} + +// optional int32 scene = 2; +inline bool CCSUsrMsg_EndOfMatchAllPlayersData::_internal_has_scene() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_EndOfMatchAllPlayersData::has_scene() const { + return _internal_has_scene(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData::clear_scene() { + _impl_.scene_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData::_internal_scene() const { + return _impl_.scene_; +} +inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData::scene() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.scene) + return _internal_scene(); +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData::_internal_set_scene(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.scene_ = value; +} +inline void CCSUsrMsg_EndOfMatchAllPlayersData::set_scene(int32_t value) { + _internal_set_scene(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.scene) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData_RerEvent_Victim + +// optional int32 team_number = 1; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_team_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_team_number() const { + return _internal_has_team_number(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_team_number() { + _impl_.team_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_team_number() const { + return _impl_.team_number_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::team_number() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.team_number) + return _internal_team_number(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_team_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.team_number_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_team_number(int32_t value) { + _internal_set_team_number(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.team_number) +} + +// optional int32 playerslot = 2 [default = -1]; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_playerslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_playerslot() const { + return _internal_has_playerslot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_playerslot() { + _impl_.playerslot_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_playerslot() const { + return _impl_.playerslot_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::playerslot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.playerslot) + return _internal_playerslot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_playerslot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.playerslot_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_playerslot(int32_t value) { + _internal_set_playerslot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.playerslot) +} + +// optional uint64 xuid = 3; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.xuid) + return _internal_xuid(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.xuid_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.xuid) +} + +// optional int32 color = 4; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_color() const { + return _internal_has_color(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_color() { + _impl_.color_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_color() const { + return _impl_.color_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::color() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.color) + return _internal_color(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_color(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.color_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_color(int32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.color) +} + +// optional bool is_bot = 5; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_is_bot() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_is_bot() const { + return _internal_has_is_bot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_is_bot() { + _impl_.is_bot_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_is_bot() const { + return _impl_.is_bot_; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::is_bot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_bot) + return _internal_is_bot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_is_bot(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_bot_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_is_bot(bool value) { + _internal_set_is_bot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_bot) +} + +// optional bool is_dead = 6; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_is_dead() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_is_dead() const { + return _internal_has_is_dead(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_is_dead() { + _impl_.is_dead_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_is_dead() const { + return _impl_.is_dead_; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::is_dead() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_dead) + return _internal_is_dead(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_is_dead(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_dead_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_is_dead(bool value) { + _internal_set_is_dead(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_dead) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData_RerEvent_Objective + +// optional int32 type = 1; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::has_type() const { + return _internal_has_type(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_type() const { + return _impl_.type_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Objective.type) + return _internal_type(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Objective.type) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData_RerEvent_Damage + +// optional int32 other_playerslot = 1 [default = -1]; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_other_playerslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_other_playerslot() const { + return _internal_has_other_playerslot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_other_playerslot() { + _impl_.other_playerslot_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_other_playerslot() const { + return _impl_.other_playerslot_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::other_playerslot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_playerslot) + return _internal_other_playerslot(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_other_playerslot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.other_playerslot_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_other_playerslot(int32_t value) { + _internal_set_other_playerslot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_playerslot) +} + +// optional uint64 other_xuid = 2; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_other_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_other_xuid() const { + return _internal_has_other_xuid(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_other_xuid() { + _impl_.other_xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_other_xuid() const { + return _impl_.other_xuid_; +} +inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::other_xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_xuid) + return _internal_other_xuid(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_other_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.other_xuid_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_other_xuid(uint64_t value) { + _internal_set_other_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_xuid) +} + +// optional int32 health_removed = 3; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_health_removed() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_health_removed() const { + return _internal_has_health_removed(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_health_removed() { + _impl_.health_removed_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_health_removed() const { + return _impl_.health_removed_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::health_removed() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.health_removed) + return _internal_health_removed(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_health_removed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.health_removed_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_health_removed(int32_t value) { + _internal_set_health_removed(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.health_removed) +} + +// optional int32 num_hits = 4; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_num_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_num_hits() const { + return _internal_has_num_hits(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_num_hits() { + _impl_.num_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_num_hits() const { + return _impl_.num_hits_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::num_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.num_hits) + return _internal_num_hits(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_num_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_hits_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_num_hits(int32_t value) { + _internal_set_num_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.num_hits) +} + +// optional int32 return_health_removed = 5; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_return_health_removed() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_return_health_removed() const { + return _internal_has_return_health_removed(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_return_health_removed() { + _impl_.return_health_removed_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_return_health_removed() const { + return _impl_.return_health_removed_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::return_health_removed() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_health_removed) + return _internal_return_health_removed(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_return_health_removed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.return_health_removed_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_return_health_removed(int32_t value) { + _internal_set_return_health_removed(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_health_removed) +} + +// optional int32 return_num_hits = 6; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_return_num_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_return_num_hits() const { + return _internal_has_return_num_hits(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_return_num_hits() { + _impl_.return_num_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_return_num_hits() const { + return _impl_.return_num_hits_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::return_num_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_num_hits) + return _internal_return_num_hits(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_return_num_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.return_num_hits_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_return_num_hits(int32_t value) { + _internal_set_return_num_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_num_hits) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData_RerEvent + +// optional float timestamp = 1; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_timestamp() const { + return _internal_has_timestamp(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_timestamp() { + _impl_.timestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCSUsrMsg_RoundEndReportData_RerEvent::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline float CCSUsrMsg_RoundEndReportData_RerEvent::timestamp() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.timestamp) + return _internal_timestamp(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_timestamp(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.timestamp_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_timestamp(float value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.timestamp) +} + +// optional int32 terrorist_odds = 2; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_terrorist_odds() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_terrorist_odds() const { + return _internal_has_terrorist_odds(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_terrorist_odds() { + _impl_.terrorist_odds_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_terrorist_odds() const { + return _impl_.terrorist_odds_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::terrorist_odds() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.terrorist_odds) + return _internal_terrorist_odds(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_terrorist_odds(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.terrorist_odds_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_terrorist_odds(int32_t value) { + _internal_set_terrorist_odds(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.terrorist_odds) +} + +// optional int32 ct_alive = 3; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_ct_alive() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_ct_alive() const { + return _internal_has_ct_alive(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_ct_alive() { + _impl_.ct_alive_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_ct_alive() const { + return _impl_.ct_alive_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::ct_alive() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.ct_alive) + return _internal_ct_alive(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_ct_alive(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ct_alive_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_ct_alive(int32_t value) { + _internal_set_ct_alive(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.ct_alive) +} + +// optional int32 t_alive = 4; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_t_alive() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_t_alive() const { + return _internal_has_t_alive(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_t_alive() { + _impl_.t_alive_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_t_alive() const { + return _impl_.t_alive_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::t_alive() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.t_alive) + return _internal_t_alive(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_t_alive(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.t_alive_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_t_alive(int32_t value) { + _internal_set_t_alive(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.t_alive) +} + +// optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_victim_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.victim_data_ != nullptr); + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_victim_data() const { + return _internal_has_victim_data(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_victim_data() { + if (_impl_.victim_data_ != nullptr) _impl_.victim_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_victim_data() const { + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* p = _impl_.victim_data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_); +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& CCSUsrMsg_RoundEndReportData_RerEvent::victim_data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) + return _internal_victim_data(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_set_allocated_victim_data( + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_data_); + } + _impl_.victim_data_ = victim_data; + if (victim_data) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::release_victim_data() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* temp = _impl_.victim_data_; + _impl_.victim_data_ = 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 ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_release_victim_data() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* temp = _impl_.victim_data_; + _impl_.victim_data_ = nullptr; + return temp; +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_mutable_victim_data() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.victim_data_ == nullptr) { + auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Victim>(GetArenaForAllocation()); + _impl_.victim_data_ = p; + } + return _impl_.victim_data_; +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_victim_data() { + ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* _msg = _internal_mutable_victim_data(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) + return _msg; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_allocated_victim_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_data_; + } + if (victim_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim_data); + if (message_arena != submessage_arena) { + victim_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim_data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.victim_data_ = victim_data; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) +} + +// optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_objective_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.objective_data_ != nullptr); + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_objective_data() const { + return _internal_has_objective_data(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_objective_data() { + if (_impl_.objective_data_ != nullptr) _impl_.objective_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_objective_data() const { + const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* p = _impl_.objective_data_; + return p != nullptr ? *p : reinterpret_cast( + ::_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_); +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& CCSUsrMsg_RoundEndReportData_RerEvent::objective_data() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) + return _internal_objective_data(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_set_allocated_objective_data( + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.objective_data_); + } + _impl_.objective_data_ = objective_data; + if (objective_data) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::release_objective_data() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* temp = _impl_.objective_data_; + _impl_.objective_data_ = 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 ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_release_objective_data() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* temp = _impl_.objective_data_; + _impl_.objective_data_ = nullptr; + return temp; +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_mutable_objective_data() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.objective_data_ == nullptr) { + auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Objective>(GetArenaForAllocation()); + _impl_.objective_data_ = p; + } + return _impl_.objective_data_; +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_objective_data() { + ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* _msg = _internal_mutable_objective_data(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) + return _msg; +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_allocated_objective_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.objective_data_; + } + if (objective_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(objective_data); + if (message_arena != submessage_arena) { + objective_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, objective_data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.objective_data_ = objective_data; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) +} + +// repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; +inline int CCSUsrMsg_RoundEndReportData_RerEvent::_internal_all_damage_data_size() const { + return _impl_.all_damage_data_.size(); +} +inline int CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data_size() const { + return _internal_all_damage_data_size(); +} +inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_all_damage_data() { + _impl_.all_damage_data_.Clear(); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_all_damage_data(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) + return _impl_.all_damage_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >* +CCSUsrMsg_RoundEndReportData_RerEvent::mutable_all_damage_data() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) + return &_impl_.all_damage_data_; +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_all_damage_data(int index) const { + return _impl_.all_damage_data_.Get(index); +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) + return _internal_all_damage_data(index); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_add_all_damage_data() { + return _impl_.all_damage_data_.Add(); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::add_all_damage_data() { + ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* _add = _internal_add_all_damage_data(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >& +CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) + return _impl_.all_damage_data_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData_InitialConditions + +// optional int32 ct_equip_value = 1; +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_ct_equip_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_ct_equip_value() const { + return _internal_has_ct_equip_value(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_ct_equip_value() { + _impl_.ct_equip_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_ct_equip_value() const { + return _impl_.ct_equip_value_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::ct_equip_value() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.ct_equip_value) + return _internal_ct_equip_value(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_ct_equip_value(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ct_equip_value_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_ct_equip_value(int32_t value) { + _internal_set_ct_equip_value(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.ct_equip_value) +} + +// optional int32 t_equip_value = 2; +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_t_equip_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_t_equip_value() const { + return _internal_has_t_equip_value(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_t_equip_value() { + _impl_.t_equip_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_t_equip_value() const { + return _impl_.t_equip_value_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::t_equip_value() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.t_equip_value) + return _internal_t_equip_value(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_t_equip_value(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.t_equip_value_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_t_equip_value(int32_t value) { + _internal_set_t_equip_value(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.t_equip_value) +} + +// optional int32 terrorist_odds = 3; +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_terrorist_odds() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_terrorist_odds() const { + return _internal_has_terrorist_odds(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_terrorist_odds() { + _impl_.terrorist_odds_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_terrorist_odds() const { + return _impl_.terrorist_odds_; +} +inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::terrorist_odds() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.terrorist_odds) + return _internal_terrorist_odds(); +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_terrorist_odds(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.terrorist_odds_ = value; +} +inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_terrorist_odds(int32_t value) { + _internal_set_terrorist_odds(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.terrorist_odds) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RoundEndReportData + +// optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; +inline bool CCSUsrMsg_RoundEndReportData::_internal_has_init_conditions() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.init_conditions_ != nullptr); + return value; +} +inline bool CCSUsrMsg_RoundEndReportData::has_init_conditions() const { + return _internal_has_init_conditions(); +} +inline void CCSUsrMsg_RoundEndReportData::clear_init_conditions() { + if (_impl_.init_conditions_ != nullptr) _impl_.init_conditions_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CCSUsrMsg_RoundEndReportData_InitialConditions& CCSUsrMsg_RoundEndReportData::_internal_init_conditions() const { + const ::CCSUsrMsg_RoundEndReportData_InitialConditions* p = _impl_.init_conditions_; + return p != nullptr ? *p : reinterpret_cast( + ::_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_); +} +inline const ::CCSUsrMsg_RoundEndReportData_InitialConditions& CCSUsrMsg_RoundEndReportData::init_conditions() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.init_conditions) + return _internal_init_conditions(); +} +inline void CCSUsrMsg_RoundEndReportData::unsafe_arena_set_allocated_init_conditions( + ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_conditions_); + } + _impl_.init_conditions_ = init_conditions; + if (init_conditions) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.init_conditions) +} +inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::release_init_conditions() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCSUsrMsg_RoundEndReportData_InitialConditions* temp = _impl_.init_conditions_; + _impl_.init_conditions_ = 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 ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::unsafe_arena_release_init_conditions() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.init_conditions) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCSUsrMsg_RoundEndReportData_InitialConditions* temp = _impl_.init_conditions_; + _impl_.init_conditions_ = nullptr; + return temp; +} +inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::_internal_mutable_init_conditions() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.init_conditions_ == nullptr) { + auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_InitialConditions>(GetArenaForAllocation()); + _impl_.init_conditions_ = p; + } + return _impl_.init_conditions_; +} +inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::mutable_init_conditions() { + ::CCSUsrMsg_RoundEndReportData_InitialConditions* _msg = _internal_mutable_init_conditions(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.init_conditions) + return _msg; +} +inline void CCSUsrMsg_RoundEndReportData::set_allocated_init_conditions(::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.init_conditions_; + } + if (init_conditions) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(init_conditions); + if (message_arena != submessage_arena) { + init_conditions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, init_conditions, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.init_conditions_ = init_conditions; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.init_conditions) +} + +// repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; +inline int CCSUsrMsg_RoundEndReportData::_internal_all_rer_event_data_size() const { + return _impl_.all_rer_event_data_.size(); +} +inline int CCSUsrMsg_RoundEndReportData::all_rer_event_data_size() const { + return _internal_all_rer_event_data_size(); +} +inline void CCSUsrMsg_RoundEndReportData::clear_all_rer_event_data() { + _impl_.all_rer_event_data_.Clear(); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::mutable_all_rer_event_data(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.all_rer_event_data) + return _impl_.all_rer_event_data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >* +CCSUsrMsg_RoundEndReportData::mutable_all_rer_event_data() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RoundEndReportData.all_rer_event_data) + return &_impl_.all_rer_event_data_; +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent& CCSUsrMsg_RoundEndReportData::_internal_all_rer_event_data(int index) const { + return _impl_.all_rer_event_data_.Get(index); +} +inline const ::CCSUsrMsg_RoundEndReportData_RerEvent& CCSUsrMsg_RoundEndReportData::all_rer_event_data(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.all_rer_event_data) + return _internal_all_rer_event_data(index); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::_internal_add_all_rer_event_data() { + return _impl_.all_rer_event_data_.Add(); +} +inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::add_all_rer_event_data() { + ::CCSUsrMsg_RoundEndReportData_RerEvent* _add = _internal_add_all_rer_event_data(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_RoundEndReportData.all_rer_event_data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >& +CCSUsrMsg_RoundEndReportData::all_rer_event_data() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_RoundEndReportData.all_rer_event_data) + return _impl_.all_rer_event_data_; +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_PostRoundDamageReport + +// optional uint64 other_xuid = 1; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_other_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_other_xuid() const { + return _internal_has_other_xuid(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_other_xuid() { + _impl_.other_xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCSUsrMsg_PostRoundDamageReport::_internal_other_xuid() const { + return _impl_.other_xuid_; +} +inline uint64_t CCSUsrMsg_PostRoundDamageReport::other_xuid() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.other_xuid) + return _internal_other_xuid(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_other_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.other_xuid_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_other_xuid(uint64_t value) { + _internal_set_other_xuid(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.other_xuid) +} + +// optional int32 given_kill_type = 2; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_kill_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_given_kill_type() const { + return _internal_has_given_kill_type(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_given_kill_type() { + _impl_.given_kill_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_kill_type() const { + return _impl_.given_kill_type_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::given_kill_type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_kill_type) + return _internal_given_kill_type(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_kill_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.given_kill_type_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_given_kill_type(int32_t value) { + _internal_set_given_kill_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_kill_type) +} + +// optional int32 given_health_removed = 3; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_health_removed() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_given_health_removed() const { + return _internal_has_given_health_removed(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_given_health_removed() { + _impl_.given_health_removed_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_health_removed() const { + return _impl_.given_health_removed_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::given_health_removed() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_health_removed) + return _internal_given_health_removed(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_health_removed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.given_health_removed_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_given_health_removed(int32_t value) { + _internal_set_given_health_removed(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_health_removed) +} + +// optional int32 given_num_hits = 4; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_num_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_given_num_hits() const { + return _internal_has_given_num_hits(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_given_num_hits() { + _impl_.given_num_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_num_hits() const { + return _impl_.given_num_hits_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::given_num_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_num_hits) + return _internal_given_num_hits(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_num_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.given_num_hits_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_given_num_hits(int32_t value) { + _internal_set_given_num_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_num_hits) +} + +// optional int32 taken_kill_type = 5; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_kill_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_kill_type() const { + return _internal_has_taken_kill_type(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_kill_type() { + _impl_.taken_kill_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_kill_type() const { + return _impl_.taken_kill_type_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_kill_type() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_kill_type) + return _internal_taken_kill_type(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_kill_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.taken_kill_type_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_taken_kill_type(int32_t value) { + _internal_set_taken_kill_type(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_kill_type) +} + +// optional int32 taken_health_removed = 6; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_health_removed() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_health_removed() const { + return _internal_has_taken_health_removed(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_health_removed() { + _impl_.taken_health_removed_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_health_removed() const { + return _impl_.taken_health_removed_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_health_removed() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_health_removed) + return _internal_taken_health_removed(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_health_removed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.taken_health_removed_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_taken_health_removed(int32_t value) { + _internal_set_taken_health_removed(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_health_removed) +} + +// optional int32 taken_num_hits = 7; +inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_num_hits() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_num_hits() const { + return _internal_has_taken_num_hits(); +} +inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_num_hits() { + _impl_.taken_num_hits_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_num_hits() const { + return _impl_.taken_num_hits_; +} +inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_num_hits() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_num_hits) + return _internal_taken_num_hits(); +} +inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_num_hits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.taken_num_hits_ = value; +} +inline void CCSUsrMsg_PostRoundDamageReport::set_taken_num_hits(int32_t value) { + _internal_set_taken_num_hits(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_num_hits) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CurrentRoundOdds + +// optional int32 odds = 1; +inline bool CCSUsrMsg_CurrentRoundOdds::_internal_has_odds() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CurrentRoundOdds::has_odds() const { + return _internal_has_odds(); +} +inline void CCSUsrMsg_CurrentRoundOdds::clear_odds() { + _impl_.odds_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_CurrentRoundOdds::_internal_odds() const { + return _impl_.odds_; +} +inline int32_t CCSUsrMsg_CurrentRoundOdds::odds() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CurrentRoundOdds.odds) + return _internal_odds(); +} +inline void CCSUsrMsg_CurrentRoundOdds::_internal_set_odds(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.odds_ = value; +} +inline void CCSUsrMsg_CurrentRoundOdds::set_odds(int32_t value) { + _internal_set_odds(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CurrentRoundOdds.odds) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_DeepStats + +// optional .CMsgGCCStrike15_ClientDeepStats stats = 1; +inline bool CCSUsrMsg_DeepStats::_internal_has_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.stats_ != nullptr); + return value; +} +inline bool CCSUsrMsg_DeepStats::has_stats() const { + return _internal_has_stats(); +} +inline const ::CMsgGCCStrike15_ClientDeepStats& CCSUsrMsg_DeepStats::_internal_stats() const { + const ::CMsgGCCStrike15_ClientDeepStats* p = _impl_.stats_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_ClientDeepStats_default_instance_); +} +inline const ::CMsgGCCStrike15_ClientDeepStats& CCSUsrMsg_DeepStats::stats() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DeepStats.stats) + return _internal_stats(); +} +inline void CCSUsrMsg_DeepStats::unsafe_arena_set_allocated_stats( + ::CMsgGCCStrike15_ClientDeepStats* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); + } + _impl_.stats_ = stats; + if (stats) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DeepStats.stats) +} +inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::release_stats() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_ClientDeepStats* temp = _impl_.stats_; + _impl_.stats_ = 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 ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_DeepStats.stats) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_ClientDeepStats* temp = _impl_.stats_; + _impl_.stats_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::_internal_mutable_stats() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.stats_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats>(GetArenaForAllocation()); + _impl_.stats_ = p; + } + return _impl_.stats_; +} +inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::mutable_stats() { + ::CMsgGCCStrike15_ClientDeepStats* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DeepStats.stats) + return _msg; +} +inline void CCSUsrMsg_DeepStats::set_allocated_stats(::CMsgGCCStrike15_ClientDeepStats* stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.stats_ = stats; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DeepStats.stats) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ShootInfo + +// optional int32 frame_number = 1; +inline bool CCSUsrMsg_ShootInfo::_internal_has_frame_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_ShootInfo::has_frame_number() const { + return _internal_has_frame_number(); +} +inline void CCSUsrMsg_ShootInfo::clear_frame_number() { + _impl_.frame_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_ShootInfo::_internal_frame_number() const { + return _impl_.frame_number_; +} +inline int32_t CCSUsrMsg_ShootInfo::frame_number() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.frame_number) + return _internal_frame_number(); +} +inline void CCSUsrMsg_ShootInfo::_internal_set_frame_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frame_number_ = value; +} +inline void CCSUsrMsg_ShootInfo::set_frame_number(int32_t value) { + _internal_set_frame_number(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ShootInfo.frame_number) +} + +// repeated .CMsgTransform hitbox_transforms = 2; +inline int CCSUsrMsg_ShootInfo::_internal_hitbox_transforms_size() const { + return _impl_.hitbox_transforms_.size(); +} +inline int CCSUsrMsg_ShootInfo::hitbox_transforms_size() const { + return _internal_hitbox_transforms_size(); +} +inline ::CMsgTransform* CCSUsrMsg_ShootInfo::mutable_hitbox_transforms(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.hitbox_transforms) + return _impl_.hitbox_transforms_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >* +CCSUsrMsg_ShootInfo::mutable_hitbox_transforms() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ShootInfo.hitbox_transforms) + return &_impl_.hitbox_transforms_; +} +inline const ::CMsgTransform& CCSUsrMsg_ShootInfo::_internal_hitbox_transforms(int index) const { + return _impl_.hitbox_transforms_.Get(index); +} +inline const ::CMsgTransform& CCSUsrMsg_ShootInfo::hitbox_transforms(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.hitbox_transforms) + return _internal_hitbox_transforms(index); +} +inline ::CMsgTransform* CCSUsrMsg_ShootInfo::_internal_add_hitbox_transforms() { + return _impl_.hitbox_transforms_.Add(); +} +inline ::CMsgTransform* CCSUsrMsg_ShootInfo::add_hitbox_transforms() { + ::CMsgTransform* _add = _internal_add_hitbox_transforms(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_ShootInfo.hitbox_transforms) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >& +CCSUsrMsg_ShootInfo::hitbox_transforms() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_ShootInfo.hitbox_transforms) + return _impl_.hitbox_transforms_; +} + +// optional .CMsgVector shoot_pos = 3; +inline bool CCSUsrMsg_ShootInfo::_internal_has_shoot_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shoot_pos_ != nullptr); + return value; +} +inline bool CCSUsrMsg_ShootInfo::has_shoot_pos() const { + return _internal_has_shoot_pos(); +} +inline const ::CMsgVector& CCSUsrMsg_ShootInfo::_internal_shoot_pos() const { + const ::CMsgVector* p = _impl_.shoot_pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CCSUsrMsg_ShootInfo::shoot_pos() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.shoot_pos) + return _internal_shoot_pos(); +} +inline void CCSUsrMsg_ShootInfo::unsafe_arena_set_allocated_shoot_pos( + ::CMsgVector* shoot_pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); + } + _impl_.shoot_pos_ = shoot_pos; + if (shoot_pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ShootInfo.shoot_pos) +} +inline ::CMsgVector* CCSUsrMsg_ShootInfo::release_shoot_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.shoot_pos_; + _impl_.shoot_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 ::CMsgVector* CCSUsrMsg_ShootInfo::unsafe_arena_release_shoot_pos() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ShootInfo.shoot_pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.shoot_pos_; + _impl_.shoot_pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CCSUsrMsg_ShootInfo::_internal_mutable_shoot_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.shoot_pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.shoot_pos_ = p; + } + return _impl_.shoot_pos_; +} +inline ::CMsgVector* CCSUsrMsg_ShootInfo::mutable_shoot_pos() { + ::CMsgVector* _msg = _internal_mutable_shoot_pos(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.shoot_pos) + return _msg; +} +inline void CCSUsrMsg_ShootInfo::set_allocated_shoot_pos(::CMsgVector* shoot_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); + } + if (shoot_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_pos)); + if (message_arena != submessage_arena) { + shoot_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shoot_pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.shoot_pos_ = shoot_pos; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShootInfo.shoot_pos) +} + +// optional .CMsgQAngle shoot_dir = 4; +inline bool CCSUsrMsg_ShootInfo::_internal_has_shoot_dir() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shoot_dir_ != nullptr); + return value; +} +inline bool CCSUsrMsg_ShootInfo::has_shoot_dir() const { + return _internal_has_shoot_dir(); +} +inline const ::CMsgQAngle& CCSUsrMsg_ShootInfo::_internal_shoot_dir() const { + const ::CMsgQAngle* p = _impl_.shoot_dir_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CCSUsrMsg_ShootInfo::shoot_dir() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.shoot_dir) + return _internal_shoot_dir(); +} +inline void CCSUsrMsg_ShootInfo::unsafe_arena_set_allocated_shoot_dir( + ::CMsgQAngle* shoot_dir) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); + } + _impl_.shoot_dir_ = shoot_dir; + if (shoot_dir) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ShootInfo.shoot_dir) +} +inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::release_shoot_dir() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.shoot_dir_; + _impl_.shoot_dir_ = 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 ::CMsgQAngle* CCSUsrMsg_ShootInfo::unsafe_arena_release_shoot_dir() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ShootInfo.shoot_dir) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.shoot_dir_; + _impl_.shoot_dir_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::_internal_mutable_shoot_dir() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.shoot_dir_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.shoot_dir_ = p; + } + return _impl_.shoot_dir_; +} +inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::mutable_shoot_dir() { + ::CMsgQAngle* _msg = _internal_mutable_shoot_dir(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.shoot_dir) + return _msg; +} +inline void CCSUsrMsg_ShootInfo::set_allocated_shoot_dir(::CMsgQAngle* shoot_dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); + } + if (shoot_dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_dir)); + if (message_arena != submessage_arena) { + shoot_dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shoot_dir, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.shoot_dir_ = shoot_dir; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShootInfo.shoot_dir) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ResetHud + +// optional bool reset = 1; +inline bool CCSUsrMsg_ResetHud::_internal_has_reset() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ResetHud::has_reset() const { + return _internal_has_reset(); +} +inline void CCSUsrMsg_ResetHud::clear_reset() { + _impl_.reset_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCSUsrMsg_ResetHud::_internal_reset() const { + return _impl_.reset_; +} +inline bool CCSUsrMsg_ResetHud::reset() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ResetHud.reset) + return _internal_reset(); +} +inline void CCSUsrMsg_ResetHud::_internal_set_reset(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.reset_ = value; +} +inline void CCSUsrMsg_ResetHud::set_reset(bool value) { + _internal_set_reset(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ResetHud.reset) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_GameTitle + +// optional int32 dummy = 1; +inline bool CCSUsrMsg_GameTitle::_internal_has_dummy() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_GameTitle::has_dummy() const { + return _internal_has_dummy(); +} +inline void CCSUsrMsg_GameTitle::clear_dummy() { + _impl_.dummy_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_GameTitle::_internal_dummy() const { + return _impl_.dummy_; +} +inline int32_t CCSUsrMsg_GameTitle::dummy() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_GameTitle.dummy) + return _internal_dummy(); +} +inline void CCSUsrMsg_GameTitle::_internal_set_dummy(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_ = value; +} +inline void CCSUsrMsg_GameTitle::set_dummy(int32_t value) { + _internal_set_dummy(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_GameTitle.dummy) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RequestState + +// optional int32 dummy = 1; +inline bool CCSUsrMsg_RequestState::_internal_has_dummy() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RequestState::has_dummy() const { + return _internal_has_dummy(); +} +inline void CCSUsrMsg_RequestState::clear_dummy() { + _impl_.dummy_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_RequestState::_internal_dummy() const { + return _impl_.dummy_; +} +inline int32_t CCSUsrMsg_RequestState::dummy() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RequestState.dummy) + return _internal_dummy(); +} +inline void CCSUsrMsg_RequestState::_internal_set_dummy(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_ = value; +} +inline void CCSUsrMsg_RequestState::set_dummy(int32_t value) { + _internal_set_dummy(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RequestState.dummy) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_StopSpectatorMode + +// optional int32 dummy = 1; +inline bool CCSUsrMsg_StopSpectatorMode::_internal_has_dummy() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_StopSpectatorMode::has_dummy() const { + return _internal_has_dummy(); +} +inline void CCSUsrMsg_StopSpectatorMode::clear_dummy() { + _impl_.dummy_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_StopSpectatorMode::_internal_dummy() const { + return _impl_.dummy_; +} +inline int32_t CCSUsrMsg_StopSpectatorMode::dummy() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_StopSpectatorMode.dummy) + return _internal_dummy(); +} +inline void CCSUsrMsg_StopSpectatorMode::_internal_set_dummy(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_ = value; +} +inline void CCSUsrMsg_StopSpectatorMode::set_dummy(int32_t value) { + _internal_set_dummy(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_StopSpectatorMode.dummy) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_DisconnectToLobby + +// optional int32 dummy = 1; +inline bool CCSUsrMsg_DisconnectToLobby::_internal_has_dummy() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_DisconnectToLobby::has_dummy() const { + return _internal_has_dummy(); +} +inline void CCSUsrMsg_DisconnectToLobby::clear_dummy() { + _impl_.dummy_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_DisconnectToLobby::_internal_dummy() const { + return _impl_.dummy_; +} +inline int32_t CCSUsrMsg_DisconnectToLobby::dummy() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DisconnectToLobby.dummy) + return _internal_dummy(); +} +inline void CCSUsrMsg_DisconnectToLobby::_internal_set_dummy(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_ = value; +} +inline void CCSUsrMsg_DisconnectToLobby::set_dummy(int32_t value) { + _internal_set_dummy(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DisconnectToLobby.dummy) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ClientInfo + +// optional int32 dummy = 1; +inline bool CCSUsrMsg_ClientInfo::_internal_has_dummy() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_ClientInfo::has_dummy() const { + return _internal_has_dummy(); +} +inline void CCSUsrMsg_ClientInfo::clear_dummy() { + _impl_.dummy_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_ClientInfo::_internal_dummy() const { + return _impl_.dummy_; +} +inline int32_t CCSUsrMsg_ClientInfo::dummy() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ClientInfo.dummy) + return _internal_dummy(); +} +inline void CCSUsrMsg_ClientInfo::_internal_set_dummy(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_ = value; +} +inline void CCSUsrMsg_ClientInfo::set_dummy(int32_t value) { + _internal_set_dummy(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ClientInfo.dummy) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_ServerRankRevealAll + +// optional int32 seconds_till_shutdown = 1; +inline bool CCSUsrMsg_ServerRankRevealAll::_internal_has_seconds_till_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_ServerRankRevealAll::has_seconds_till_shutdown() const { + return _internal_has_seconds_till_shutdown(); +} +inline void CCSUsrMsg_ServerRankRevealAll::clear_seconds_till_shutdown() { + _impl_.seconds_till_shutdown_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_ServerRankRevealAll::_internal_seconds_till_shutdown() const { + return _impl_.seconds_till_shutdown_; +} +inline int32_t CCSUsrMsg_ServerRankRevealAll::seconds_till_shutdown() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankRevealAll.seconds_till_shutdown) + return _internal_seconds_till_shutdown(); +} +inline void CCSUsrMsg_ServerRankRevealAll::_internal_set_seconds_till_shutdown(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.seconds_till_shutdown_ = value; +} +inline void CCSUsrMsg_ServerRankRevealAll::set_seconds_till_shutdown(int32_t value) { + _internal_set_seconds_till_shutdown(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankRevealAll.seconds_till_shutdown) +} + +// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; +inline bool CCSUsrMsg_ServerRankRevealAll::_internal_has_reservation() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); + return value; +} +inline bool CCSUsrMsg_ServerRankRevealAll::has_reservation() const { + return _internal_has_reservation(); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CCSUsrMsg_ServerRankRevealAll::_internal_reservation() const { + const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); +} +inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CCSUsrMsg_ServerRankRevealAll::reservation() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankRevealAll.reservation) + return _internal_reservation(); +} +inline void CCSUsrMsg_ServerRankRevealAll::unsafe_arena_set_allocated_reservation( + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); + } + _impl_.reservation_ = reservation; + if (reservation) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ServerRankRevealAll.reservation) +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::release_reservation() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = 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 ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::unsafe_arena_release_reservation() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_ServerRankRevealAll.reservation) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; + _impl_.reservation_ = nullptr; + return temp; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::_internal_mutable_reservation() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.reservation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); + _impl_.reservation_ = p; + } + return _impl_.reservation_; +} +inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::mutable_reservation() { + ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ServerRankRevealAll.reservation) + return _msg; +} +inline void CCSUsrMsg_ServerRankRevealAll::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); + } + if (reservation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reservation)); + if (message_arena != submessage_arena) { + reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, reservation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.reservation_ = reservation; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ServerRankRevealAll.reservation) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsgPreMatchSayText + +// optional uint32 account_id = 1; +inline bool CCSUsrMsgPreMatchSayText::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsgPreMatchSayText::has_account_id() const { + return _internal_has_account_id(); +} +inline void CCSUsrMsgPreMatchSayText::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSUsrMsgPreMatchSayText::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CCSUsrMsgPreMatchSayText::account_id() const { + // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.account_id) + return _internal_account_id(); +} +inline void CCSUsrMsgPreMatchSayText::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CCSUsrMsgPreMatchSayText::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.account_id) +} + +// optional string text = 2; +inline bool CCSUsrMsgPreMatchSayText::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsgPreMatchSayText::has_text() const { + return _internal_has_text(); +} +inline void CCSUsrMsgPreMatchSayText::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsgPreMatchSayText::text() const { + // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsgPreMatchSayText::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.text) +} +inline std::string* CCSUsrMsgPreMatchSayText::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsgPreMatchSayText.text) + return _s; +} +inline const std::string& CCSUsrMsgPreMatchSayText::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CCSUsrMsgPreMatchSayText::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsgPreMatchSayText::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsgPreMatchSayText::release_text() { + // @@protoc_insertion_point(field_release:CCSUsrMsgPreMatchSayText.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsgPreMatchSayText::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCSUsrMsgPreMatchSayText.text) +} + +// optional bool all_chat = 3; +inline bool CCSUsrMsgPreMatchSayText::_internal_has_all_chat() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsgPreMatchSayText::has_all_chat() const { + return _internal_has_all_chat(); +} +inline void CCSUsrMsgPreMatchSayText::clear_all_chat() { + _impl_.all_chat_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CCSUsrMsgPreMatchSayText::_internal_all_chat() const { + return _impl_.all_chat_; +} +inline bool CCSUsrMsgPreMatchSayText::all_chat() const { + // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.all_chat) + return _internal_all_chat(); +} +inline void CCSUsrMsgPreMatchSayText::_internal_set_all_chat(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.all_chat_ = value; +} +inline void CCSUsrMsgPreMatchSayText::set_all_chat(bool value) { + _internal_set_all_chat(value); + // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.all_chat) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_CounterStrafe + +// optional int32 press_to_release_ns = 1; +inline bool CCSUsrMsg_CounterStrafe::_internal_has_press_to_release_ns() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_CounterStrafe::has_press_to_release_ns() const { + return _internal_has_press_to_release_ns(); +} +inline void CCSUsrMsg_CounterStrafe::clear_press_to_release_ns() { + _impl_.press_to_release_ns_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_CounterStrafe::_internal_press_to_release_ns() const { + return _impl_.press_to_release_ns_; +} +inline int32_t CCSUsrMsg_CounterStrafe::press_to_release_ns() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CounterStrafe.press_to_release_ns) + return _internal_press_to_release_ns(); +} +inline void CCSUsrMsg_CounterStrafe::_internal_set_press_to_release_ns(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.press_to_release_ns_ = value; +} +inline void CCSUsrMsg_CounterStrafe::set_press_to_release_ns(int32_t value) { + _internal_set_press_to_release_ns(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CounterStrafe.press_to_release_ns) +} + +// optional int32 total_keys_down = 2; +inline bool CCSUsrMsg_CounterStrafe::_internal_has_total_keys_down() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_CounterStrafe::has_total_keys_down() const { + return _internal_has_total_keys_down(); +} +inline void CCSUsrMsg_CounterStrafe::clear_total_keys_down() { + _impl_.total_keys_down_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_CounterStrafe::_internal_total_keys_down() const { + return _impl_.total_keys_down_; +} +inline int32_t CCSUsrMsg_CounterStrafe::total_keys_down() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_CounterStrafe.total_keys_down) + return _internal_total_keys_down(); +} +inline void CCSUsrMsg_CounterStrafe::_internal_set_total_keys_down(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.total_keys_down_ = value; +} +inline void CCSUsrMsg_CounterStrafe::set_total_keys_down(int32_t value) { + _internal_set_total_keys_down(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_CounterStrafe.total_keys_down) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_DamagePrediction + +// optional int32 command_num = 1; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_command_num() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_command_num() const { + return _internal_has_command_num(); +} +inline void CCSUsrMsg_DamagePrediction::clear_command_num() { + _impl_.command_num_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCSUsrMsg_DamagePrediction::_internal_command_num() const { + return _impl_.command_num_; +} +inline int32_t CCSUsrMsg_DamagePrediction::command_num() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.command_num) + return _internal_command_num(); +} +inline void CCSUsrMsg_DamagePrediction::_internal_set_command_num(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.command_num_ = value; +} +inline void CCSUsrMsg_DamagePrediction::set_command_num(int32_t value) { + _internal_set_command_num(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.command_num) +} + +// optional int32 pellet_idx = 2; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_pellet_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_pellet_idx() const { + return _internal_has_pellet_idx(); +} +inline void CCSUsrMsg_DamagePrediction::clear_pellet_idx() { + _impl_.pellet_idx_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCSUsrMsg_DamagePrediction::_internal_pellet_idx() const { + return _impl_.pellet_idx_; +} +inline int32_t CCSUsrMsg_DamagePrediction::pellet_idx() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.pellet_idx) + return _internal_pellet_idx(); +} +inline void CCSUsrMsg_DamagePrediction::_internal_set_pellet_idx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.pellet_idx_ = value; +} +inline void CCSUsrMsg_DamagePrediction::set_pellet_idx(int32_t value) { + _internal_set_pellet_idx(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.pellet_idx) +} + +// optional int32 victim_slot = 3; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_victim_slot() const { + return _internal_has_victim_slot(); +} +inline void CCSUsrMsg_DamagePrediction::clear_victim_slot() { + _impl_.victim_slot_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_slot() const { + return _impl_.victim_slot_; +} +inline int32_t CCSUsrMsg_DamagePrediction::victim_slot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_slot) + return _internal_victim_slot(); +} +inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.victim_slot_ = value; +} +inline void CCSUsrMsg_DamagePrediction::set_victim_slot(int32_t value) { + _internal_set_victim_slot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_slot) +} + +// optional int32 victim_starting_health = 4; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_starting_health() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_victim_starting_health() const { + return _internal_has_victim_starting_health(); +} +inline void CCSUsrMsg_DamagePrediction::clear_victim_starting_health() { + _impl_.victim_starting_health_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_starting_health() const { + return _impl_.victim_starting_health_; +} +inline int32_t CCSUsrMsg_DamagePrediction::victim_starting_health() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_starting_health) + return _internal_victim_starting_health(); +} +inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_starting_health(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.victim_starting_health_ = value; +} +inline void CCSUsrMsg_DamagePrediction::set_victim_starting_health(int32_t value) { + _internal_set_victim_starting_health(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_starting_health) +} + +// optional int32 victim_damage = 5; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_damage() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_victim_damage() const { + return _internal_has_victim_damage(); +} +inline void CCSUsrMsg_DamagePrediction::clear_victim_damage() { + _impl_.victim_damage_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_damage() const { + return _impl_.victim_damage_; +} +inline int32_t CCSUsrMsg_DamagePrediction::victim_damage() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_damage) + return _internal_victim_damage(); +} +inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_damage(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.victim_damage_ = value; +} +inline void CCSUsrMsg_DamagePrediction::set_victim_damage(int32_t value) { + _internal_set_victim_damage(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_damage) +} + +// optional .CMsgVector shoot_pos = 6; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_shoot_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shoot_pos_ != nullptr); + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_shoot_pos() const { + return _internal_has_shoot_pos(); +} +inline const ::CMsgVector& CCSUsrMsg_DamagePrediction::_internal_shoot_pos() const { + const ::CMsgVector* p = _impl_.shoot_pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CCSUsrMsg_DamagePrediction::shoot_pos() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.shoot_pos) + return _internal_shoot_pos(); +} +inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_shoot_pos( + ::CMsgVector* shoot_pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); + } + _impl_.shoot_pos_ = shoot_pos; + if (shoot_pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.shoot_pos) +} +inline ::CMsgVector* CCSUsrMsg_DamagePrediction::release_shoot_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.shoot_pos_; + _impl_.shoot_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 ::CMsgVector* CCSUsrMsg_DamagePrediction::unsafe_arena_release_shoot_pos() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.shoot_pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.shoot_pos_; + _impl_.shoot_pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CCSUsrMsg_DamagePrediction::_internal_mutable_shoot_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.shoot_pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.shoot_pos_ = p; + } + return _impl_.shoot_pos_; +} +inline ::CMsgVector* CCSUsrMsg_DamagePrediction::mutable_shoot_pos() { + ::CMsgVector* _msg = _internal_mutable_shoot_pos(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.shoot_pos) + return _msg; +} +inline void CCSUsrMsg_DamagePrediction::set_allocated_shoot_pos(::CMsgVector* shoot_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); + } + if (shoot_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_pos)); + if (message_arena != submessage_arena) { + shoot_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shoot_pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.shoot_pos_ = shoot_pos; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.shoot_pos) +} + +// optional .CMsgQAngle shoot_dir = 7; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_shoot_dir() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shoot_dir_ != nullptr); + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_shoot_dir() const { + return _internal_has_shoot_dir(); +} +inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::_internal_shoot_dir() const { + const ::CMsgQAngle* p = _impl_.shoot_dir_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::shoot_dir() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.shoot_dir) + return _internal_shoot_dir(); +} +inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_shoot_dir( + ::CMsgQAngle* shoot_dir) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); + } + _impl_.shoot_dir_ = shoot_dir; + if (shoot_dir) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.shoot_dir) +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::release_shoot_dir() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.shoot_dir_; + _impl_.shoot_dir_ = 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 ::CMsgQAngle* CCSUsrMsg_DamagePrediction::unsafe_arena_release_shoot_dir() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.shoot_dir) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.shoot_dir_; + _impl_.shoot_dir_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::_internal_mutable_shoot_dir() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.shoot_dir_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.shoot_dir_ = p; + } + return _impl_.shoot_dir_; +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::mutable_shoot_dir() { + ::CMsgQAngle* _msg = _internal_mutable_shoot_dir(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.shoot_dir) + return _msg; +} +inline void CCSUsrMsg_DamagePrediction::set_allocated_shoot_dir(::CMsgQAngle* shoot_dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); + } + if (shoot_dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_dir)); + if (message_arena != submessage_arena) { + shoot_dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shoot_dir, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.shoot_dir_ = shoot_dir; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.shoot_dir) +} + +// optional .CMsgQAngle aim_punch = 8; +inline bool CCSUsrMsg_DamagePrediction::_internal_has_aim_punch() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.aim_punch_ != nullptr); + return value; +} +inline bool CCSUsrMsg_DamagePrediction::has_aim_punch() const { + return _internal_has_aim_punch(); +} +inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::_internal_aim_punch() const { + const ::CMsgQAngle* p = _impl_.aim_punch_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::aim_punch() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.aim_punch) + return _internal_aim_punch(); +} +inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_aim_punch( + ::CMsgQAngle* aim_punch) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); + } + _impl_.aim_punch_ = aim_punch; + if (aim_punch) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.aim_punch) +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::release_aim_punch() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.aim_punch_; + _impl_.aim_punch_ = 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 ::CMsgQAngle* CCSUsrMsg_DamagePrediction::unsafe_arena_release_aim_punch() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.aim_punch) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.aim_punch_; + _impl_.aim_punch_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::_internal_mutable_aim_punch() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.aim_punch_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.aim_punch_ = p; + } + return _impl_.aim_punch_; +} +inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::mutable_aim_punch() { + ::CMsgQAngle* _msg = _internal_mutable_aim_punch(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.aim_punch) + return _msg; +} +inline void CCSUsrMsg_DamagePrediction::set_allocated_aim_punch(::CMsgQAngle* aim_punch) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); + } + if (aim_punch) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aim_punch)); + if (message_arena != submessage_arena) { + aim_punch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, aim_punch, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.aim_punch_ = aim_punch; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.aim_punch) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_RecurringMissionSchema + +// optional uint32 period = 1; +inline bool CCSUsrMsg_RecurringMissionSchema::_internal_has_period() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_RecurringMissionSchema::has_period() const { + return _internal_has_period(); +} +inline void CCSUsrMsg_RecurringMissionSchema::clear_period() { + _impl_.period_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCSUsrMsg_RecurringMissionSchema::_internal_period() const { + return _impl_.period_; +} +inline uint32_t CCSUsrMsg_RecurringMissionSchema::period() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RecurringMissionSchema.period) + return _internal_period(); +} +inline void CCSUsrMsg_RecurringMissionSchema::_internal_set_period(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.period_ = value; +} +inline void CCSUsrMsg_RecurringMissionSchema::set_period(uint32_t value) { + _internal_set_period(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RecurringMissionSchema.period) +} + +// optional bytes mission_schema = 2; +inline bool CCSUsrMsg_RecurringMissionSchema::_internal_has_mission_schema() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_RecurringMissionSchema::has_mission_schema() const { + return _internal_has_mission_schema(); +} +inline void CCSUsrMsg_RecurringMissionSchema::clear_mission_schema() { + _impl_.mission_schema_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCSUsrMsg_RecurringMissionSchema::mission_schema() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_RecurringMissionSchema.mission_schema) + return _internal_mission_schema(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCSUsrMsg_RecurringMissionSchema::set_mission_schema(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mission_schema_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCSUsrMsg_RecurringMissionSchema.mission_schema) +} +inline std::string* CCSUsrMsg_RecurringMissionSchema::mutable_mission_schema() { + std::string* _s = _internal_mutable_mission_schema(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RecurringMissionSchema.mission_schema) + return _s; +} +inline const std::string& CCSUsrMsg_RecurringMissionSchema::_internal_mission_schema() const { + return _impl_.mission_schema_.Get(); +} +inline void CCSUsrMsg_RecurringMissionSchema::_internal_set_mission_schema(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mission_schema_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RecurringMissionSchema::_internal_mutable_mission_schema() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.mission_schema_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCSUsrMsg_RecurringMissionSchema::release_mission_schema() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_RecurringMissionSchema.mission_schema) + if (!_internal_has_mission_schema()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.mission_schema_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.mission_schema_.IsDefault()) { + _impl_.mission_schema_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCSUsrMsg_RecurringMissionSchema::set_allocated_mission_schema(std::string* mission_schema) { + if (mission_schema != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.mission_schema_.SetAllocated(mission_schema, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.mission_schema_.IsDefault()) { + _impl_.mission_schema_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RecurringMissionSchema.mission_schema) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendPlayerLoadout_LoadoutItem + +// optional .CEconItemPreviewDataBlock econ_item = 1; +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_econ_item() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.econ_item_ != nullptr); + return value; +} +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_econ_item() const { + return _internal_has_econ_item(); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_econ_item() const { + const ::CEconItemPreviewDataBlock* p = _impl_.econ_item_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEconItemPreviewDataBlock_default_instance_); +} +inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerLoadout_LoadoutItem::econ_item() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) + return _internal_econ_item(); +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::unsafe_arena_set_allocated_econ_item( + ::CEconItemPreviewDataBlock* econ_item) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.econ_item_); + } + _impl_.econ_item_ = econ_item; + if (econ_item) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::release_econ_item() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.econ_item_; + _impl_.econ_item_ = 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 ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::unsafe_arena_release_econ_item() { + // @@protoc_insertion_point(field_release:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEconItemPreviewDataBlock* temp = _impl_.econ_item_; + _impl_.econ_item_ = nullptr; + return temp; +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_mutable_econ_item() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.econ_item_ == nullptr) { + auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); + _impl_.econ_item_ = p; + } + return _impl_.econ_item_; +} +inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::mutable_econ_item() { + ::CEconItemPreviewDataBlock* _msg = _internal_mutable_econ_item(); + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) + return _msg; +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_allocated_econ_item(::CEconItemPreviewDataBlock* econ_item) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.econ_item_); + } + if (econ_item) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(econ_item)); + if (message_arena != submessage_arena) { + econ_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, econ_item, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.econ_item_ = econ_item; + // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) +} + +// optional int32 team = 2; +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_team() const { + return _internal_has_team(); +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_team() { + _impl_.team_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_team() const { + return _impl_.team_; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::team() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.team) + return _internal_team(); +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_set_team(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_ = value; +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_team(int32_t value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.team) +} + +// optional int32 slot = 3; +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_slot() const { + return _internal_has_slot(); +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_slot() { + _impl_.slot_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::slot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.slot) + return _internal_slot(); +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.slot_ = value; +} +inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.slot) +} + +// ------------------------------------------------------------------- + +// CCSUsrMsg_SendPlayerLoadout + +// repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; +inline int CCSUsrMsg_SendPlayerLoadout::_internal_loadout_size() const { + return _impl_.loadout_.size(); +} +inline int CCSUsrMsg_SendPlayerLoadout::loadout_size() const { + return _internal_loadout_size(); +} +inline void CCSUsrMsg_SendPlayerLoadout::clear_loadout() { + _impl_.loadout_.Clear(); +} +inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::mutable_loadout(int index) { + // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerLoadout.loadout) + return _impl_.loadout_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >* +CCSUsrMsg_SendPlayerLoadout::mutable_loadout() { + // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SendPlayerLoadout.loadout) + return &_impl_.loadout_; +} +inline const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& CCSUsrMsg_SendPlayerLoadout::_internal_loadout(int index) const { + return _impl_.loadout_.Get(index); +} +inline const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& CCSUsrMsg_SendPlayerLoadout::loadout(int index) const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.loadout) + return _internal_loadout(index); +} +inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::_internal_add_loadout() { + return _impl_.loadout_.Add(); +} +inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::add_loadout() { + ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* _add = _internal_add_loadout(); + // @@protoc_insertion_point(field_add:CCSUsrMsg_SendPlayerLoadout.loadout) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >& +CCSUsrMsg_SendPlayerLoadout::loadout() const { + // @@protoc_insertion_point(field_list:CCSUsrMsg_SendPlayerLoadout.loadout) + return _impl_.loadout_; +} + +// optional int32 playerslot = 2 [default = -1]; +inline bool CCSUsrMsg_SendPlayerLoadout::_internal_has_playerslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCSUsrMsg_SendPlayerLoadout::has_playerslot() const { + return _internal_has_playerslot(); +} +inline void CCSUsrMsg_SendPlayerLoadout::clear_playerslot() { + _impl_.playerslot_ = -1; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout::_internal_playerslot() const { + return _impl_.playerslot_; +} +inline int32_t CCSUsrMsg_SendPlayerLoadout::playerslot() const { + // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.playerslot) + return _internal_playerslot(); +} +inline void CCSUsrMsg_SendPlayerLoadout::_internal_set_playerslot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.playerslot_ = value; +} +inline void CCSUsrMsg_SendPlayerLoadout::set_playerslot(int32_t value) { + _internal_set_playerslot(value); + // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.playerslot) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ECstrike15UserMessages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECstrike15UserMessages>() { + return ::ECstrike15UserMessages_descriptor(); +} +template <> struct is_proto_enum< ::ECSUsrMsg_DisconnectToLobby_Action> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECSUsrMsg_DisconnectToLobby_Action>() { + return ::ECSUsrMsg_DisconnectToLobby_Action_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc new file mode 100644 index 0000000..24eef8f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.cc @@ -0,0 +1,8512 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: demo.proto + +#include "demo.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; + +PROTOBUF_CONSTEXPR CDemoFileHeader::CDemoFileHeader( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.demo_file_stamp_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.client_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_directory_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.addons_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.demo_version_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.demo_version_guid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.network_protocol_)*/0 + , /*decltype(_impl_.fullpackets_version_)*/0 + , /*decltype(_impl_.allow_clientside_entities_)*/false + , /*decltype(_impl_.allow_clientside_particles_)*/false + , /*decltype(_impl_.build_num_)*/0 + , /*decltype(_impl_.server_start_tick_)*/0} {} +struct CDemoFileHeaderDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoFileHeaderDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoFileHeaderDefaultTypeInternal() {} + union { + CDemoFileHeader _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFileHeaderDefaultTypeInternal _CDemoFileHeader_default_instance_; +PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hero_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.is_fake_client_)*/false + , /*decltype(_impl_.game_team_)*/0} {} +struct CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal() {} + union { + CGameInfo_CDotaGameInfo_CPlayerInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_; +PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.is_pick_)*/false + , /*decltype(_impl_.team_)*/0u + , /*decltype(_impl_.hero_id_)*/0} {} +struct CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal() {} + union { + CGameInfo_CDotaGameInfo_CHeroSelectEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal _CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_; +PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_info_)*/{} + , /*decltype(_impl_.picks_bans_)*/{} + , /*decltype(_impl_.radiant_team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dire_team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.game_mode_)*/0 + , /*decltype(_impl_.game_winner_)*/0 + , /*decltype(_impl_.leagueid_)*/0u + , /*decltype(_impl_.radiant_team_id_)*/0u + , /*decltype(_impl_.dire_team_id_)*/0u + , /*decltype(_impl_.end_time_)*/0u} {} +struct CGameInfo_CDotaGameInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameInfo_CDotaGameInfoDefaultTypeInternal() {} + union { + CGameInfo_CDotaGameInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_default_instance_; +PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.round_start_ticks_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CGameInfo_CCSGameInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameInfo_CCSGameInfoDefaultTypeInternal() {} + union { + CGameInfo_CCSGameInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CCSGameInfoDefaultTypeInternal _CGameInfo_CCSGameInfo_default_instance_; +PROTOBUF_CONSTEXPR CGameInfo::CGameInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dota_)*/nullptr + , /*decltype(_impl_.cs_)*/nullptr} {} +struct CGameInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameInfoDefaultTypeInternal() {} + union { + CGameInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfoDefaultTypeInternal _CGameInfo_default_instance_; +PROTOBUF_CONSTEXPR CDemoFileInfo::CDemoFileInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_info_)*/nullptr + , /*decltype(_impl_.playback_time_)*/0 + , /*decltype(_impl_.playback_ticks_)*/0 + , /*decltype(_impl_.playback_frames_)*/0} {} +struct CDemoFileInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoFileInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoFileInfoDefaultTypeInternal() {} + union { + CDemoFileInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFileInfoDefaultTypeInternal _CDemoFileInfo_default_instance_; +PROTOBUF_CONSTEXPR CDemoPacket::CDemoPacket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CDemoPacketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoPacketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoPacketDefaultTypeInternal() {} + union { + CDemoPacket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoPacketDefaultTypeInternal _CDemoPacket_default_instance_; +PROTOBUF_CONSTEXPR CDemoFullPacket::CDemoFullPacket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.string_table_)*/nullptr + , /*decltype(_impl_.packet_)*/nullptr} {} +struct CDemoFullPacketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoFullPacketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoFullPacketDefaultTypeInternal() {} + union { + CDemoFullPacket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFullPacketDefaultTypeInternal _CDemoFullPacket_default_instance_; +PROTOBUF_CONSTEXPR CDemoSaveGame::CDemoSaveGame( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.signature_)*/uint64_t{0u} + , /*decltype(_impl_.version_)*/0} {} +struct CDemoSaveGameDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoSaveGameDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoSaveGameDefaultTypeInternal() {} + union { + CDemoSaveGame _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSaveGameDefaultTypeInternal _CDemoSaveGame_default_instance_; +PROTOBUF_CONSTEXPR CDemoSyncTick::CDemoSyncTick( + ::_pbi::ConstantInitialized) {} +struct CDemoSyncTickDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoSyncTickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoSyncTickDefaultTypeInternal() {} + union { + CDemoSyncTick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSyncTickDefaultTypeInternal _CDemoSyncTick_default_instance_; +PROTOBUF_CONSTEXPR CDemoConsoleCmd::CDemoConsoleCmd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cmdstring_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CDemoConsoleCmdDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoConsoleCmdDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoConsoleCmdDefaultTypeInternal() {} + union { + CDemoConsoleCmd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoConsoleCmdDefaultTypeInternal _CDemoConsoleCmd_default_instance_; +PROTOBUF_CONSTEXPR CDemoSendTables::CDemoSendTables( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CDemoSendTablesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoSendTablesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoSendTablesDefaultTypeInternal() {} + union { + CDemoSendTables _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSendTablesDefaultTypeInternal _CDemoSendTables_default_instance_; +PROTOBUF_CONSTEXPR CDemoClassInfo_class_t::CDemoClassInfo_class_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.network_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.class_id_)*/0} {} +struct CDemoClassInfo_class_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoClassInfo_class_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoClassInfo_class_tDefaultTypeInternal() {} + union { + CDemoClassInfo_class_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoClassInfo_class_tDefaultTypeInternal _CDemoClassInfo_class_t_default_instance_; +PROTOBUF_CONSTEXPR CDemoClassInfo::CDemoClassInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.classes_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CDemoClassInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoClassInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoClassInfoDefaultTypeInternal() {} + union { + CDemoClassInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoClassInfoDefaultTypeInternal _CDemoClassInfo_default_instance_; +PROTOBUF_CONSTEXPR CDemoCustomData::CDemoCustomData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.callback_index_)*/0} {} +struct CDemoCustomDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoCustomDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoCustomDataDefaultTypeInternal() {} + union { + CDemoCustomData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoCustomDataDefaultTypeInternal _CDemoCustomData_default_instance_; +PROTOBUF_CONSTEXPR CDemoCustomDataCallbacks::CDemoCustomDataCallbacks( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.save_id_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CDemoCustomDataCallbacksDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoCustomDataCallbacksDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoCustomDataCallbacksDefaultTypeInternal() {} + union { + CDemoCustomDataCallbacks _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoCustomDataCallbacksDefaultTypeInternal _CDemoCustomDataCallbacks_default_instance_; +PROTOBUF_CONSTEXPR CDemoAnimationHeader::CDemoAnimationHeader( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.entity_id_)*/0 + , /*decltype(_impl_.tick_)*/0} {} +struct CDemoAnimationHeaderDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoAnimationHeaderDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoAnimationHeaderDefaultTypeInternal() {} + union { + CDemoAnimationHeader _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoAnimationHeaderDefaultTypeInternal _CDemoAnimationHeader_default_instance_; +PROTOBUF_CONSTEXPR CDemoAnimationData::CDemoAnimationData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.entity_id_)*/0 + , /*decltype(_impl_.start_tick_)*/0 + , /*decltype(_impl_.data_checksum_)*/int64_t{0} + , /*decltype(_impl_.end_tick_)*/0} {} +struct CDemoAnimationDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoAnimationDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoAnimationDataDefaultTypeInternal() {} + union { + CDemoAnimationData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoAnimationDataDefaultTypeInternal _CDemoAnimationData_default_instance_; +PROTOBUF_CONSTEXPR CDemoStringTables_items_t::CDemoStringTables_items_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CDemoStringTables_items_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoStringTables_items_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoStringTables_items_tDefaultTypeInternal() {} + union { + CDemoStringTables_items_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTables_items_tDefaultTypeInternal _CDemoStringTables_items_t_default_instance_; +PROTOBUF_CONSTEXPR CDemoStringTables_table_t::CDemoStringTables_table_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.items_clientside_)*/{} + , /*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.table_flags_)*/0} {} +struct CDemoStringTables_table_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoStringTables_table_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoStringTables_table_tDefaultTypeInternal() {} + union { + CDemoStringTables_table_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTables_table_tDefaultTypeInternal _CDemoStringTables_table_t_default_instance_; +PROTOBUF_CONSTEXPR CDemoStringTables::CDemoStringTables( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.tables_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CDemoStringTablesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoStringTablesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoStringTablesDefaultTypeInternal() {} + union { + CDemoStringTables _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTablesDefaultTypeInternal _CDemoStringTables_default_instance_; +PROTOBUF_CONSTEXPR CDemoStop::CDemoStop( + ::_pbi::ConstantInitialized) {} +struct CDemoStopDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoStopDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoStopDefaultTypeInternal() {} + union { + CDemoStop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStopDefaultTypeInternal _CDemoStop_default_instance_; +PROTOBUF_CONSTEXPR CDemoUserCmd::CDemoUserCmd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cmd_number_)*/0} {} +struct CDemoUserCmdDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoUserCmdDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoUserCmdDefaultTypeInternal() {} + union { + CDemoUserCmd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoUserCmdDefaultTypeInternal _CDemoUserCmd_default_instance_; +PROTOBUF_CONSTEXPR CDemoSpawnGroups::CDemoSpawnGroups( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.msgs_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CDemoSpawnGroupsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoSpawnGroupsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoSpawnGroupsDefaultTypeInternal() {} + union { + CDemoSpawnGroups _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; +PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawngrouphandle_)*/0u + , /*decltype(_impl_.was_created_)*/false} {} +struct CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal() {} + union { + CDemoRecovery_DemoInitialSpawnGroupEntry _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal _CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_; +PROTOBUF_CONSTEXPR CDemoRecovery::CDemoRecovery( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawn_group_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.initial_spawn_group_)*/nullptr} {} +struct CDemoRecoveryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CDemoRecoveryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CDemoRecoveryDefaultTypeInternal() {} + union { + CDemoRecovery _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoRecoveryDefaultTypeInternal _CDemoRecovery_default_instance_; +static ::_pb::Metadata file_level_metadata_demo_2eproto[27]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_demo_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_demo_2eproto = nullptr; + +const uint32_t TableStruct_demo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_file_stamp_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.network_protocol_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.server_name_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.client_name_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.map_name_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.game_directory_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.fullpackets_version_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.allow_clientside_entities_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.allow_clientside_particles_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.addons_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_version_name_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_version_guid_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.build_num_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.game_), + PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.server_start_tick_), + 0, + 9, + 1, + 2, + 3, + 4, + 10, + 11, + 12, + 5, + 6, + 7, + 13, + 8, + 14, + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.hero_name_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.player_name_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.is_fake_client_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.game_team_), + 0, + 1, + 3, + 2, + 4, + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.is_pick_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.hero_id_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.game_mode_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.game_winner_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.player_info_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.leagueid_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.picks_bans_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.radiant_team_id_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.dire_team_id_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.radiant_team_tag_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.dire_team_tag_), + PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.end_time_), + 2, + 3, + 4, + ~0u, + 5, + ~0u, + 6, + 7, + 0, + 1, + 8, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CGameInfo_CCSGameInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameInfo_CCSGameInfo, _impl_.round_start_ticks_), + PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_.dota_), + PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_.cs_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_time_), + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_ticks_), + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_frames_), + PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.game_info_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CDemoPacket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoPacket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoPacket, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_.string_table_), + PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_.packet_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.steam_id_), + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.version_), + 0, + 1, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoSyncTick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _impl_.cmdstring_), + 0, + PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.class_id_), + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.network_name_), + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.table_name_), + 2, + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoClassInfo, _impl_.classes_), + PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_.callback_index_), + PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_.data_), + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoCustomDataCallbacks, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoCustomDataCallbacks, _impl_.save_id_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.data_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.entity_id_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.start_tick_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.end_tick_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.data_checksum_), + 1, + 2, + 4, + 0, + 3, + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_.str_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_.data_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.table_name_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.items_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.items_clientside_), + PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.table_flags_), + 0, + ~0u, + ~0u, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoStringTables, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoStringTables, _impl_.tables_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoStop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_.cmd_number_), + PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_.data_), + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroups, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroups, _impl_.msgs_), + PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.spawngrouphandle_), + PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.was_created_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_.initial_spawn_group_), + PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_.spawn_group_message_), + 1, + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 21, -1, sizeof(::CDemoFileHeader)}, + { 36, 47, -1, sizeof(::CGameInfo_CDotaGameInfo_CPlayerInfo)}, + { 52, 61, -1, sizeof(::CGameInfo_CDotaGameInfo_CHeroSelectEvent)}, + { 64, 81, -1, sizeof(::CGameInfo_CDotaGameInfo)}, + { 92, -1, -1, sizeof(::CGameInfo_CCSGameInfo)}, + { 99, 107, -1, sizeof(::CGameInfo)}, + { 109, 119, -1, sizeof(::CDemoFileInfo)}, + { 123, 130, -1, sizeof(::CDemoPacket)}, + { 131, 139, -1, sizeof(::CDemoFullPacket)}, + { 141, 151, -1, sizeof(::CDemoSaveGame)}, + { 155, -1, -1, sizeof(::CDemoSyncTick)}, + { 161, 168, -1, sizeof(::CDemoConsoleCmd)}, + { 169, 176, -1, sizeof(::CDemoSendTables)}, + { 177, 186, -1, sizeof(::CDemoClassInfo_class_t)}, + { 189, -1, -1, sizeof(::CDemoClassInfo)}, + { 196, 204, -1, sizeof(::CDemoCustomData)}, + { 206, -1, -1, sizeof(::CDemoCustomDataCallbacks)}, + { 213, 222, -1, sizeof(::CDemoAnimationHeader)}, + { 225, 236, -1, sizeof(::CDemoAnimationData)}, + { 241, 249, -1, sizeof(::CDemoStringTables_items_t)}, + { 251, 261, -1, sizeof(::CDemoStringTables_table_t)}, + { 265, -1, -1, sizeof(::CDemoStringTables)}, + { 272, -1, -1, sizeof(::CDemoStop)}, + { 278, 286, -1, sizeof(::CDemoUserCmd)}, + { 288, -1, -1, sizeof(::CDemoSpawnGroups)}, + { 295, 303, -1, sizeof(::CDemoRecovery_DemoInitialSpawnGroupEntry)}, + { 305, 313, -1, sizeof(::CDemoRecovery)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CDemoFileHeader_default_instance_._instance, + &::_CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_._instance, + &::_CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_._instance, + &::_CGameInfo_CDotaGameInfo_default_instance_._instance, + &::_CGameInfo_CCSGameInfo_default_instance_._instance, + &::_CGameInfo_default_instance_._instance, + &::_CDemoFileInfo_default_instance_._instance, + &::_CDemoPacket_default_instance_._instance, + &::_CDemoFullPacket_default_instance_._instance, + &::_CDemoSaveGame_default_instance_._instance, + &::_CDemoSyncTick_default_instance_._instance, + &::_CDemoConsoleCmd_default_instance_._instance, + &::_CDemoSendTables_default_instance_._instance, + &::_CDemoClassInfo_class_t_default_instance_._instance, + &::_CDemoClassInfo_default_instance_._instance, + &::_CDemoCustomData_default_instance_._instance, + &::_CDemoCustomDataCallbacks_default_instance_._instance, + &::_CDemoAnimationHeader_default_instance_._instance, + &::_CDemoAnimationData_default_instance_._instance, + &::_CDemoStringTables_items_t_default_instance_._instance, + &::_CDemoStringTables_table_t_default_instance_._instance, + &::_CDemoStringTables_default_instance_._instance, + &::_CDemoStop_default_instance_._instance, + &::_CDemoUserCmd_default_instance_._instance, + &::_CDemoSpawnGroups_default_instance_._instance, + &::_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_._instance, + &::_CDemoRecovery_default_instance_._instance, +}; + +const char descriptor_table_protodef_demo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\ndemo.proto\"\376\002\n\017CDemoFileHeader\022\027\n\017demo" + "_file_stamp\030\001 \002(\t\022\030\n\020network_protocol\030\002 " + "\001(\005\022\023\n\013server_name\030\003 \001(\t\022\023\n\013client_name\030" + "\004 \001(\t\022\020\n\010map_name\030\005 \001(\t\022\026\n\016game_director" + "y\030\006 \001(\t\022\033\n\023fullpackets_version\030\007 \001(\005\022!\n\031" + "allow_clientside_entities\030\010 \001(\010\022\"\n\032allow" + "_clientside_particles\030\t \001(\010\022\016\n\006addons\030\n " + "\001(\t\022\031\n\021demo_version_name\030\013 \001(\t\022\031\n\021demo_v" + "ersion_guid\030\014 \001(\t\022\021\n\tbuild_num\030\r \001(\005\022\014\n\004" + "game\030\016 \001(\t\022\031\n\021server_start_tick\030\017 \001(\005\"\202\005" + "\n\tCGameInfo\022&\n\004dota\030\004 \001(\0132\030.CGameInfo.CD" + "otaGameInfo\022\"\n\002cs\030\005 \001(\0132\026.CGameInfo.CCSG" + "ameInfo\032\376\003\n\rCDotaGameInfo\022\020\n\010match_id\030\001 " + "\001(\004\022\021\n\tgame_mode\030\002 \001(\005\022\023\n\013game_winner\030\003 " + "\001(\005\0229\n\013player_info\030\004 \003(\0132$.CGameInfo.CDo" + "taGameInfo.CPlayerInfo\022\020\n\010leagueid\030\005 \001(\r" + "\022=\n\npicks_bans\030\006 \003(\0132).CGameInfo.CDotaGa" + "meInfo.CHeroSelectEvent\022\027\n\017radiant_team_" + "id\030\007 \001(\r\022\024\n\014dire_team_id\030\010 \001(\r\022\030\n\020radian" + "t_team_tag\030\t \001(\t\022\025\n\rdire_team_tag\030\n \001(\t\022" + "\020\n\010end_time\030\013 \001(\r\032q\n\013CPlayerInfo\022\021\n\thero" + "_name\030\001 \001(\t\022\023\n\013player_name\030\002 \001(\t\022\026\n\016is_f" + "ake_client\030\003 \001(\010\022\017\n\007steamid\030\004 \001(\004\022\021\n\tgam" + "e_team\030\005 \001(\005\032B\n\020CHeroSelectEvent\022\017\n\007is_p" + "ick\030\001 \001(\010\022\014\n\004team\030\002 \001(\r\022\017\n\007hero_id\030\003 \001(\005" + "\032(\n\013CCSGameInfo\022\031\n\021round_start_ticks\030\001 \003" + "(\005\"v\n\rCDemoFileInfo\022\025\n\rplayback_time\030\001 \001" + "(\002\022\026\n\016playback_ticks\030\002 \001(\005\022\027\n\017playback_f" + "rames\030\003 \001(\005\022\035\n\tgame_info\030\004 \001(\0132\n.CGameIn" + "fo\"\033\n\013CDemoPacket\022\014\n\004data\030\003 \001(\014\"Y\n\017CDemo" + "FullPacket\022(\n\014string_table\030\001 \001(\0132\022.CDemo" + "StringTables\022\034\n\006packet\030\002 \001(\0132\014.CDemoPack" + "et\"S\n\rCDemoSaveGame\022\014\n\004data\030\001 \001(\014\022\020\n\010ste" + "am_id\030\002 \001(\006\022\021\n\tsignature\030\003 \001(\006\022\017\n\007versio" + "n\030\004 \001(\005\"\017\n\rCDemoSyncTick\"$\n\017CDemoConsole" + "Cmd\022\021\n\tcmdstring\030\001 \001(\t\"\037\n\017CDemoSendTable" + "s\022\014\n\004data\030\001 \001(\014\"\201\001\n\016CDemoClassInfo\022(\n\007cl" + "asses\030\001 \003(\0132\027.CDemoClassInfo.class_t\032E\n\007" + "class_t\022\020\n\010class_id\030\001 \001(\005\022\024\n\014network_nam" + "e\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\"7\n\017CDemoCust" + "omData\022\026\n\016callback_index\030\001 \001(\005\022\014\n\004data\030\002" + " \001(\014\"+\n\030CDemoCustomDataCallbacks\022\017\n\007save" + "_id\030\001 \003(\t\"E\n\024CDemoAnimationHeader\022\021\n\tent" + "ity_id\030\001 \001(\021\022\014\n\004tick\030\002 \001(\005\022\014\n\004data\030\003 \001(\014" + "\"r\n\022CDemoAnimationData\022\021\n\tentity_id\030\001 \001(" + "\021\022\022\n\nstart_tick\030\002 \001(\005\022\020\n\010end_tick\030\003 \001(\005\022" + "\014\n\004data\030\004 \001(\014\022\025\n\rdata_checksum\030\005 \001(\003\"\373\001\n" + "\021CDemoStringTables\022*\n\006tables\030\001 \003(\0132\032.CDe" + "moStringTables.table_t\032$\n\007items_t\022\013\n\003str" + "\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\032\223\001\n\007table_t\022\022\n\ntabl" + "e_name\030\001 \001(\t\022)\n\005items\030\002 \003(\0132\032.CDemoStrin" + "gTables.items_t\0224\n\020items_clientside\030\003 \003(" + "\0132\032.CDemoStringTables.items_t\022\023\n\013table_f" + "lags\030\004 \001(\005\"\013\n\tCDemoStop\"0\n\014CDemoUserCmd\022" + "\022\n\ncmd_number\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\" \n\020CDe" + "moSpawnGroups\022\014\n\004msgs\030\003 \003(\014\"\301\001\n\rCDemoRec" + "overy\022F\n\023initial_spawn_group\030\001 \001(\0132).CDe" + "moRecovery.DemoInitialSpawnGroupEntry\022\033\n" + "\023spawn_group_message\030\002 \001(\014\032K\n\032DemoInitia" + "lSpawnGroupEntry\022\030\n\020spawngrouphandle\030\001 \001" + "(\r\022\023\n\013was_created\030\002 \001(\010*\306\003\n\rEDemoCommand" + "s\022\026\n\tDEM_Error\020\377\377\377\377\377\377\377\377\377\001\022\014\n\010DEM_Stop\020\000\022" + "\022\n\016DEM_FileHeader\020\001\022\020\n\014DEM_FileInfo\020\002\022\020\n" + "\014DEM_SyncTick\020\003\022\022\n\016DEM_SendTables\020\004\022\021\n\rD" + "EM_ClassInfo\020\005\022\024\n\020DEM_StringTables\020\006\022\016\n\n" + "DEM_Packet\020\007\022\024\n\020DEM_SignonPacket\020\010\022\022\n\016DE" + "M_ConsoleCmd\020\t\022\022\n\016DEM_CustomData\020\n\022\033\n\027DE" + "M_CustomDataCallbacks\020\013\022\017\n\013DEM_UserCmd\020\014" + "\022\022\n\016DEM_FullPacket\020\r\022\020\n\014DEM_SaveGame\020\016\022\023" + "\n\017DEM_SpawnGroups\020\017\022\025\n\021DEM_AnimationData" + "\020\020\022\027\n\023DEM_AnimationHeader\020\021\022\020\n\014DEM_Recov" + "ery\020\022\022\013\n\007DEM_Max\020\023\022\024\n\020DEM_IsCompressed\020@" + ; +static ::_pbi::once_flag descriptor_table_demo_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_demo_2eproto = { + false, false, 2880, descriptor_table_protodef_demo_2eproto, + "demo.proto", + &descriptor_table_demo_2eproto_once, nullptr, 0, 27, + schemas, file_default_instances, TableStruct_demo_2eproto::offsets, + file_level_metadata_demo_2eproto, file_level_enum_descriptors_demo_2eproto, + file_level_service_descriptors_demo_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_demo_2eproto_getter() { + return &descriptor_table_demo_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_demo_2eproto(&descriptor_table_demo_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EDemoCommands_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_demo_2eproto); + return file_level_enum_descriptors_demo_2eproto[0]; +} +bool EDemoCommands_IsValid(int value) { + switch (value) { + case -1: + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 64: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CDemoFileHeader::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_demo_file_stamp(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_network_protocol(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_server_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_client_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_map_name(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_game_directory(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_fullpackets_version(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_allow_clientside_entities(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_allow_clientside_particles(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_addons(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_demo_version_name(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_demo_version_guid(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_build_num(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_game(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_server_start_tick(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; + } +}; + +CDemoFileHeader::CDemoFileHeader(::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:CDemoFileHeader) +} +CDemoFileHeader::CDemoFileHeader(const CDemoFileHeader& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoFileHeader* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.demo_file_stamp_){} + , decltype(_impl_.server_name_){} + , decltype(_impl_.client_name_){} + , decltype(_impl_.map_name_){} + , decltype(_impl_.game_directory_){} + , decltype(_impl_.addons_){} + , decltype(_impl_.demo_version_name_){} + , decltype(_impl_.demo_version_guid_){} + , decltype(_impl_.game_){} + , decltype(_impl_.network_protocol_){} + , decltype(_impl_.fullpackets_version_){} + , decltype(_impl_.allow_clientside_entities_){} + , decltype(_impl_.allow_clientside_particles_){} + , decltype(_impl_.build_num_){} + , decltype(_impl_.server_start_tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.demo_file_stamp_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_demo_file_stamp()) { + _this->_impl_.demo_file_stamp_.Set(from._internal_demo_file_stamp(), + _this->GetArenaForAllocation()); + } + _impl_.server_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_server_name()) { + _this->_impl_.server_name_.Set(from._internal_server_name(), + _this->GetArenaForAllocation()); + } + _impl_.client_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_client_name()) { + _this->_impl_.client_name_.Set(from._internal_client_name(), + _this->GetArenaForAllocation()); + } + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map_name()) { + _this->_impl_.map_name_.Set(from._internal_map_name(), + _this->GetArenaForAllocation()); + } + _impl_.game_directory_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_directory_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_directory()) { + _this->_impl_.game_directory_.Set(from._internal_game_directory(), + _this->GetArenaForAllocation()); + } + _impl_.addons_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_addons()) { + _this->_impl_.addons_.Set(from._internal_addons(), + _this->GetArenaForAllocation()); + } + _impl_.demo_version_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_demo_version_name()) { + _this->_impl_.demo_version_name_.Set(from._internal_demo_version_name(), + _this->GetArenaForAllocation()); + } + _impl_.demo_version_guid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_demo_version_guid()) { + _this->_impl_.demo_version_guid_.Set(from._internal_demo_version_guid(), + _this->GetArenaForAllocation()); + } + _impl_.game_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game()) { + _this->_impl_.game_.Set(from._internal_game(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.network_protocol_, &from._impl_.network_protocol_, + static_cast(reinterpret_cast(&_impl_.server_start_tick_) - + reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); + // @@protoc_insertion_point(copy_constructor:CDemoFileHeader) +} + +inline void CDemoFileHeader::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.demo_file_stamp_){} + , decltype(_impl_.server_name_){} + , decltype(_impl_.client_name_){} + , decltype(_impl_.map_name_){} + , decltype(_impl_.game_directory_){} + , decltype(_impl_.addons_){} + , decltype(_impl_.demo_version_name_){} + , decltype(_impl_.demo_version_guid_){} + , decltype(_impl_.game_){} + , decltype(_impl_.network_protocol_){0} + , decltype(_impl_.fullpackets_version_){0} + , decltype(_impl_.allow_clientside_entities_){false} + , decltype(_impl_.allow_clientside_particles_){false} + , decltype(_impl_.build_num_){0} + , decltype(_impl_.server_start_tick_){0} + }; + _impl_.demo_file_stamp_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_directory_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_directory_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_guid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoFileHeader::~CDemoFileHeader() { + // @@protoc_insertion_point(destructor:CDemoFileHeader) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoFileHeader::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.demo_file_stamp_.Destroy(); + _impl_.server_name_.Destroy(); + _impl_.client_name_.Destroy(); + _impl_.map_name_.Destroy(); + _impl_.game_directory_.Destroy(); + _impl_.addons_.Destroy(); + _impl_.demo_version_name_.Destroy(); + _impl_.demo_version_guid_.Destroy(); + _impl_.game_.Destroy(); +} + +void CDemoFileHeader::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoFileHeader::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoFileHeader) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.demo_file_stamp_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.server_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.client_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.map_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.game_directory_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.addons_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.demo_version_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.demo_version_guid_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000100u) { + _impl_.game_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00007e00u) { + ::memset(&_impl_.network_protocol_, 0, static_cast( + reinterpret_cast(&_impl_.server_start_tick_) - + reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoFileHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required string demo_file_stamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_demo_file_stamp(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_file_stamp"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 network_protocol = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_network_protocol(&has_bits); + _impl_.network_protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string server_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_server_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.server_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string client_name = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_client_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.client_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string map_name = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_map_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.map_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string game_directory = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_game_directory(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.game_directory"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 fullpackets_version = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_fullpackets_version(&has_bits); + _impl_.fullpackets_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool allow_clientside_entities = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_allow_clientside_entities(&has_bits); + _impl_.allow_clientside_entities_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool allow_clientside_particles = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_allow_clientside_particles(&has_bits); + _impl_.allow_clientside_particles_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string addons = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_addons(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.addons"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string demo_version_name = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_demo_version_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_version_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string demo_version_guid = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_demo_version_guid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_version_guid"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 build_num = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_build_num(&has_bits); + _impl_.build_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string game = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_game(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoFileHeader.game"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 server_start_tick = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_server_start_tick(&has_bits); + _impl_.server_start_tick_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoFileHeader::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoFileHeader) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // required string demo_file_stamp = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_demo_file_stamp().data(), static_cast(this->_internal_demo_file_stamp().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.demo_file_stamp"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_demo_file_stamp(), target); + } + + // optional int32 network_protocol = 2; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_network_protocol(), target); + } + + // optional string server_name = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_server_name().data(), static_cast(this->_internal_server_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.server_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_server_name(), target); + } + + // optional string client_name = 4; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_client_name().data(), static_cast(this->_internal_client_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.client_name"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_client_name(), target); + } + + // optional string map_name = 5; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.map_name"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_map_name(), target); + } + + // optional string game_directory = 6; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_directory().data(), static_cast(this->_internal_game_directory().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.game_directory"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_game_directory(), target); + } + + // optional int32 fullpackets_version = 7; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_fullpackets_version(), target); + } + + // optional bool allow_clientside_entities = 8; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_allow_clientside_entities(), target); + } + + // optional bool allow_clientside_particles = 9; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_allow_clientside_particles(), target); + } + + // optional string addons = 10; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_addons().data(), static_cast(this->_internal_addons().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.addons"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_addons(), target); + } + + // optional string demo_version_name = 11; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_demo_version_name().data(), static_cast(this->_internal_demo_version_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.demo_version_name"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_demo_version_name(), target); + } + + // optional string demo_version_guid = 12; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_demo_version_guid().data(), static_cast(this->_internal_demo_version_guid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.demo_version_guid"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_demo_version_guid(), target); + } + + // optional int32 build_num = 13; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_build_num(), target); + } + + // optional string game = 14; + if (cached_has_bits & 0x00000100u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game().data(), static_cast(this->_internal_game().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoFileHeader.game"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_game(), target); + } + + // optional int32 server_start_tick = 15; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_server_start_tick(), 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:CDemoFileHeader) + return target; +} + +size_t CDemoFileHeader::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoFileHeader) + size_t total_size = 0; + + // required string demo_file_stamp = 1; + if (_internal_has_demo_file_stamp()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_demo_file_stamp()); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000feu) { + // optional string server_name = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_server_name()); + } + + // optional string client_name = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_client_name()); + } + + // optional string map_name = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map_name()); + } + + // optional string game_directory = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_directory()); + } + + // optional string addons = 10; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_addons()); + } + + // optional string demo_version_name = 11; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_demo_version_name()); + } + + // optional string demo_version_guid = 12; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_demo_version_guid()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional string game = 14; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game()); + } + + // optional int32 network_protocol = 2; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_network_protocol()); + } + + // optional int32 fullpackets_version = 7; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fullpackets_version()); + } + + // optional bool allow_clientside_entities = 8; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 1; + } + + // optional bool allow_clientside_particles = 9; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 1; + } + + // optional int32 build_num = 13; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_num()); + } + + // optional int32 server_start_tick = 15; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_start_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFileHeader::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoFileHeader::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFileHeader::GetClassData() const { return &_class_data_; } + + +void CDemoFileHeader::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:CDemoFileHeader) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_demo_file_stamp(from._internal_demo_file_stamp()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_server_name(from._internal_server_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_client_name(from._internal_client_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_map_name(from._internal_map_name()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_game_directory(from._internal_game_directory()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_addons(from._internal_addons()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_demo_version_name(from._internal_demo_version_name()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_demo_version_guid(from._internal_demo_version_guid()); + } + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_game(from._internal_game()); + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.network_protocol_ = from._impl_.network_protocol_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.fullpackets_version_ = from._impl_.fullpackets_version_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.allow_clientside_entities_ = from._impl_.allow_clientside_entities_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.allow_clientside_particles_ = from._impl_.allow_clientside_particles_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.build_num_ = from._impl_.build_num_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.server_start_tick_ = from._impl_.server_start_tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoFileHeader::CopyFrom(const CDemoFileHeader& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFileHeader) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoFileHeader::IsInitialized() const { + if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; + return true; +} + +void CDemoFileHeader::InternalSwap(CDemoFileHeader* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.demo_file_stamp_, lhs_arena, + &other->_impl_.demo_file_stamp_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.server_name_, lhs_arena, + &other->_impl_.server_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.client_name_, lhs_arena, + &other->_impl_.client_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_name_, lhs_arena, + &other->_impl_.map_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_directory_, lhs_arena, + &other->_impl_.game_directory_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.addons_, lhs_arena, + &other->_impl_.addons_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.demo_version_name_, lhs_arena, + &other->_impl_.demo_version_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.demo_version_guid_, lhs_arena, + &other->_impl_.demo_version_guid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_, lhs_arena, + &other->_impl_.game_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.server_start_tick_) + + sizeof(CDemoFileHeader::_impl_.server_start_tick_) + - PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.network_protocol_)>( + reinterpret_cast(&_impl_.network_protocol_), + reinterpret_cast(&other->_impl_.network_protocol_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoFileHeader::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[0]); +} + +// =================================================================== + +class CGameInfo_CDotaGameInfo_CPlayerInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hero_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_player_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_is_fake_client(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_game_team(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo(::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:CGameInfo.CDotaGameInfo.CPlayerInfo) +} +CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameInfo_CDotaGameInfo_CPlayerInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hero_name_){} + , decltype(_impl_.player_name_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.is_fake_client_){} + , decltype(_impl_.game_team_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.hero_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hero_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_hero_name()) { + _this->_impl_.hero_name_.Set(from._internal_hero_name(), + _this->GetArenaForAllocation()); + } + _impl_.player_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_player_name()) { + _this->_impl_.player_name_.Set(from._internal_player_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.game_team_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.game_team_)); + // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo.CPlayerInfo) +} + +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hero_name_){} + , decltype(_impl_.player_name_){} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.is_fake_client_){false} + , decltype(_impl_.game_team_){0} + }; + _impl_.hero_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hero_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.player_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGameInfo_CDotaGameInfo_CPlayerInfo::~CGameInfo_CDotaGameInfo_CPlayerInfo() { + // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo.CPlayerInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.hero_name_.Destroy(); + _impl_.player_name_.Destroy(); +} + +void CGameInfo_CDotaGameInfo_CPlayerInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameInfo_CDotaGameInfo_CPlayerInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo.CPlayerInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.hero_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.player_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.game_team_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.game_team_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameInfo_CDotaGameInfo_CPlayerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string hero_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_hero_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string player_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_player_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.CPlayerInfo.player_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool is_fake_client = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_fake_client(&has_bits); + _impl_.is_fake_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 steamid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 game_team = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_game_team(&has_bits); + _impl_.game_team_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameInfo_CDotaGameInfo_CPlayerInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo.CPlayerInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string hero_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_hero_name().data(), static_cast(this->_internal_hero_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_hero_name(), target); + } + + // optional string player_name = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_player_name().data(), static_cast(this->_internal_player_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameInfo.CDotaGameInfo.CPlayerInfo.player_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_player_name(), target); + } + + // optional bool is_fake_client = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_fake_client(), target); + } + + // optional uint64 steamid = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_steamid(), target); + } + + // optional int32 game_team = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_game_team(), 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:CGameInfo.CDotaGameInfo.CPlayerInfo) + return target; +} + +size_t CGameInfo_CDotaGameInfo_CPlayerInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo.CPlayerInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string hero_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hero_name()); + } + + // optional string player_name = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_player_name()); + } + + // optional uint64 steamid = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional bool is_fake_client = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional int32 game_team = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_team()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo_CPlayerInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameInfo_CDotaGameInfo_CPlayerInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo_CPlayerInfo::GetClassData() const { return &_class_data_; } + + +void CGameInfo_CDotaGameInfo_CPlayerInfo::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:CGameInfo.CDotaGameInfo.CPlayerInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_hero_name(from._internal_hero_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_player_name(from._internal_player_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_fake_client_ = from._impl_.is_fake_client_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.game_team_ = from._impl_.game_team_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameInfo_CDotaGameInfo_CPlayerInfo::CopyFrom(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo.CPlayerInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameInfo_CDotaGameInfo_CPlayerInfo::IsInitialized() const { + return true; +} + +void CGameInfo_CDotaGameInfo_CPlayerInfo::InternalSwap(CGameInfo_CDotaGameInfo_CPlayerInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.hero_name_, lhs_arena, + &other->_impl_.hero_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.player_name_, lhs_arena, + &other->_impl_.player_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.game_team_) + + sizeof(CGameInfo_CDotaGameInfo_CPlayerInfo::_impl_.game_team_) + - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo_CPlayerInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[1]); +} + +// =================================================================== + +class CGameInfo_CDotaGameInfo_CHeroSelectEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_is_pick(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_hero_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent(::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:CGameInfo.CDotaGameInfo.CHeroSelectEvent) +} +CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameInfo_CDotaGameInfo_CHeroSelectEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.is_pick_){} + , decltype(_impl_.team_){} + , decltype(_impl_.hero_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.is_pick_, &from._impl_.is_pick_, + static_cast(reinterpret_cast(&_impl_.hero_id_) - + reinterpret_cast(&_impl_.is_pick_)) + sizeof(_impl_.hero_id_)); + // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo.CHeroSelectEvent) +} + +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.is_pick_){false} + , decltype(_impl_.team_){0u} + , decltype(_impl_.hero_id_){0} + }; +} + +CGameInfo_CDotaGameInfo_CHeroSelectEvent::~CGameInfo_CDotaGameInfo_CHeroSelectEvent() { + // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameInfo_CDotaGameInfo_CHeroSelectEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.is_pick_, 0, static_cast( + reinterpret_cast(&_impl_.hero_id_) - + reinterpret_cast(&_impl_.is_pick_)) + sizeof(_impl_.hero_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameInfo_CDotaGameInfo_CHeroSelectEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool is_pick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_is_pick(&has_bits); + _impl_.is_pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 team = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_team(&has_bits); + _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 hero_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_hero_id(&has_bits); + _impl_.hero_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameInfo_CDotaGameInfo_CHeroSelectEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool is_pick = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_pick(), target); + } + + // optional uint32 team = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_team(), target); + } + + // optional int32 hero_id = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_hero_id(), 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:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + return target; +} + +size_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bool is_pick = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional uint32 team = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team()); + } + + // optional int32 hero_id = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hero_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo_CHeroSelectEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameInfo_CDotaGameInfo_CHeroSelectEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo_CHeroSelectEvent::GetClassData() const { return &_class_data_; } + + +void CGameInfo_CDotaGameInfo_CHeroSelectEvent::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:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.is_pick_ = from._impl_.is_pick_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.team_ = from._impl_.team_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hero_id_ = from._impl_.hero_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameInfo_CDotaGameInfo_CHeroSelectEvent::CopyFrom(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::IsInitialized() const { + return true; +} + +void CGameInfo_CDotaGameInfo_CHeroSelectEvent::InternalSwap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.hero_id_) + + sizeof(CGameInfo_CDotaGameInfo_CHeroSelectEvent::_impl_.hero_id_) + - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.is_pick_)>( + reinterpret_cast(&_impl_.is_pick_), + reinterpret_cast(&other->_impl_.is_pick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo_CHeroSelectEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[2]); +} + +// =================================================================== + +class CGameInfo_CDotaGameInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_game_winner(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_leagueid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_radiant_team_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_dire_team_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_radiant_team_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_dire_team_tag(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_end_time(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo(::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:CGameInfo.CDotaGameInfo) +} +CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo(const CGameInfo_CDotaGameInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameInfo_CDotaGameInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_info_){from._impl_.player_info_} + , decltype(_impl_.picks_bans_){from._impl_.picks_bans_} + , decltype(_impl_.radiant_team_tag_){} + , decltype(_impl_.dire_team_tag_){} + , decltype(_impl_.match_id_){} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.game_winner_){} + , decltype(_impl_.leagueid_){} + , decltype(_impl_.radiant_team_id_){} + , decltype(_impl_.dire_team_id_){} + , decltype(_impl_.end_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.radiant_team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_radiant_team_tag()) { + _this->_impl_.radiant_team_tag_.Set(from._internal_radiant_team_tag(), + _this->GetArenaForAllocation()); + } + _impl_.dire_team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dire_team_tag()) { + _this->_impl_.dire_team_tag_.Set(from._internal_dire_team_tag(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, + static_cast(reinterpret_cast(&_impl_.end_time_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.end_time_)); + // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo) +} + +inline void CGameInfo_CDotaGameInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_info_){arena} + , decltype(_impl_.picks_bans_){arena} + , decltype(_impl_.radiant_team_tag_){} + , decltype(_impl_.dire_team_tag_){} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.game_mode_){0} + , decltype(_impl_.game_winner_){0} + , decltype(_impl_.leagueid_){0u} + , decltype(_impl_.radiant_team_id_){0u} + , decltype(_impl_.dire_team_id_){0u} + , decltype(_impl_.end_time_){0u} + }; + _impl_.radiant_team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dire_team_tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGameInfo_CDotaGameInfo::~CGameInfo_CDotaGameInfo() { + // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameInfo_CDotaGameInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.player_info_.~RepeatedPtrField(); + _impl_.picks_bans_.~RepeatedPtrField(); + _impl_.radiant_team_tag_.Destroy(); + _impl_.dire_team_tag_.Destroy(); +} + +void CGameInfo_CDotaGameInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameInfo_CDotaGameInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_info_.Clear(); + _impl_.picks_bans_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.radiant_team_tag_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.dire_team_tag_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.match_id_, 0, static_cast( + reinterpret_cast(&_impl_.dire_team_id_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.dire_team_id_)); + } + _impl_.end_time_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameInfo_CDotaGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 match_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 game_mode = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_game_mode(&has_bits); + _impl_.game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 game_winner = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_game_winner(&has_bits); + _impl_.game_winner_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_player_info(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 leagueid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_leagueid(&has_bits); + _impl_.leagueid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_picks_bans(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 radiant_team_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_radiant_team_id(&has_bits); + _impl_.radiant_team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 dire_team_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_dire_team_id(&has_bits); + _impl_.dire_team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string radiant_team_tag = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_radiant_team_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.radiant_team_tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string dire_team_tag = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_dire_team_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.dire_team_tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 end_time = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_end_time(&has_bits); + _impl_.end_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameInfo_CDotaGameInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); + } + + // optional int32 game_mode = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_game_mode(), target); + } + + // optional int32 game_winner = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_game_winner(), target); + } + + // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_player_info_size()); i < n; i++) { + const auto& repfield = this->_internal_player_info(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 leagueid = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_leagueid(), target); + } + + // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_picks_bans_size()); i < n; i++) { + const auto& repfield = this->_internal_picks_bans(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 radiant_team_id = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_radiant_team_id(), target); + } + + // optional uint32 dire_team_id = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_dire_team_id(), target); + } + + // optional string radiant_team_tag = 9; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_radiant_team_tag().data(), static_cast(this->_internal_radiant_team_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameInfo.CDotaGameInfo.radiant_team_tag"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_radiant_team_tag(), target); + } + + // optional string dire_team_tag = 10; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_dire_team_tag().data(), static_cast(this->_internal_dire_team_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameInfo.CDotaGameInfo.dire_team_tag"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_dire_team_tag(), target); + } + + // optional uint32 end_time = 11; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_end_time(), 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:CGameInfo.CDotaGameInfo) + return target; +} + +size_t CGameInfo_CDotaGameInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo) + 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 .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; + total_size += 1UL * this->_internal_player_info_size(); + for (const auto& msg : this->_impl_.player_info_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; + total_size += 1UL * this->_internal_picks_bans_size(); + for (const auto& msg : this->_impl_.picks_bans_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string radiant_team_tag = 9; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_radiant_team_tag()); + } + + // optional string dire_team_tag = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dire_team_tag()); + } + + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional int32 game_mode = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_mode()); + } + + // optional int32 game_winner = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_winner()); + } + + // optional uint32 leagueid = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_leagueid()); + } + + // optional uint32 radiant_team_id = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_radiant_team_id()); + } + + // optional uint32 dire_team_id = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dire_team_id()); + } + + } + // optional uint32 end_time = 11; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end_time()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameInfo_CDotaGameInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo::GetClassData() const { return &_class_data_; } + + +void CGameInfo_CDotaGameInfo::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:CGameInfo.CDotaGameInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.player_info_.MergeFrom(from._impl_.player_info_); + _this->_impl_.picks_bans_.MergeFrom(from._impl_.picks_bans_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_radiant_team_tag(from._internal_radiant_team_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_dire_team_tag(from._internal_dire_team_tag()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.game_mode_ = from._impl_.game_mode_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.game_winner_ = from._impl_.game_winner_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.leagueid_ = from._impl_.leagueid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.radiant_team_id_ = from._impl_.radiant_team_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.dire_team_id_ = from._impl_.dire_team_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_end_time(from._internal_end_time()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameInfo_CDotaGameInfo::CopyFrom(const CGameInfo_CDotaGameInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameInfo_CDotaGameInfo::IsInitialized() const { + return true; +} + +void CGameInfo_CDotaGameInfo::InternalSwap(CGameInfo_CDotaGameInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.player_info_.InternalSwap(&other->_impl_.player_info_); + _impl_.picks_bans_.InternalSwap(&other->_impl_.picks_bans_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.radiant_team_tag_, lhs_arena, + &other->_impl_.radiant_team_tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dire_team_tag_, lhs_arena, + &other->_impl_.dire_team_tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo, _impl_.end_time_) + + sizeof(CGameInfo_CDotaGameInfo::_impl_.end_time_) + - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo, _impl_.match_id_)>( + reinterpret_cast(&_impl_.match_id_), + reinterpret_cast(&other->_impl_.match_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[3]); +} + +// =================================================================== + +class CGameInfo_CCSGameInfo::_Internal { + public: +}; + +CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo(::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:CGameInfo.CCSGameInfo) +} +CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo(const CGameInfo_CCSGameInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameInfo_CCSGameInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.round_start_ticks_){from._impl_.round_start_ticks_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CGameInfo.CCSGameInfo) +} + +inline void CGameInfo_CCSGameInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.round_start_ticks_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CGameInfo_CCSGameInfo::~CGameInfo_CCSGameInfo() { + // @@protoc_insertion_point(destructor:CGameInfo.CCSGameInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameInfo_CCSGameInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.round_start_ticks_.~RepeatedField(); +} + +void CGameInfo_CCSGameInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameInfo_CCSGameInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameInfo.CCSGameInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.round_start_ticks_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameInfo_CCSGameInfo::_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 int32 round_start_ticks = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_round_start_ticks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_round_start_ticks(), ptr, ctx); + 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* CGameInfo_CCSGameInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CCSGameInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int32 round_start_ticks = 1; + for (int i = 0, n = this->_internal_round_start_ticks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_round_start_ticks(i), 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:CGameInfo.CCSGameInfo) + return target; +} + +size_t CGameInfo_CCSGameInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CCSGameInfo) + 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 int32 round_start_ticks = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.round_start_ticks_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_round_start_ticks_size()); + total_size += data_size; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CCSGameInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameInfo_CCSGameInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CCSGameInfo::GetClassData() const { return &_class_data_; } + + +void CGameInfo_CCSGameInfo::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:CGameInfo.CCSGameInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.round_start_ticks_.MergeFrom(from._impl_.round_start_ticks_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameInfo_CCSGameInfo::CopyFrom(const CGameInfo_CCSGameInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CCSGameInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameInfo_CCSGameInfo::IsInitialized() const { + return true; +} + +void CGameInfo_CCSGameInfo::InternalSwap(CGameInfo_CCSGameInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.round_start_ticks_.InternalSwap(&other->_impl_.round_start_ticks_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CCSGameInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[4]); +} + +// =================================================================== + +class CGameInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CGameInfo_CDotaGameInfo& dota(const CGameInfo* msg); + static void set_has_dota(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CGameInfo_CCSGameInfo& cs(const CGameInfo* msg); + static void set_has_cs(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CGameInfo_CDotaGameInfo& +CGameInfo::_Internal::dota(const CGameInfo* msg) { + return *msg->_impl_.dota_; +} +const ::CGameInfo_CCSGameInfo& +CGameInfo::_Internal::cs(const CGameInfo* msg) { + return *msg->_impl_.cs_; +} +CGameInfo::CGameInfo(::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:CGameInfo) +} +CGameInfo::CGameInfo(const CGameInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dota_){nullptr} + , decltype(_impl_.cs_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_dota()) { + _this->_impl_.dota_ = new ::CGameInfo_CDotaGameInfo(*from._impl_.dota_); + } + if (from._internal_has_cs()) { + _this->_impl_.cs_ = new ::CGameInfo_CCSGameInfo(*from._impl_.cs_); + } + // @@protoc_insertion_point(copy_constructor:CGameInfo) +} + +inline void CGameInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dota_){nullptr} + , decltype(_impl_.cs_){nullptr} + }; +} + +CGameInfo::~CGameInfo() { + // @@protoc_insertion_point(destructor:CGameInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.dota_; + if (this != internal_default_instance()) delete _impl_.cs_; +} + +void CGameInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.dota_ != nullptr); + _impl_.dota_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cs_ != nullptr); + _impl_.cs_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CGameInfo.CDotaGameInfo dota = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_dota(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CGameInfo.CCSGameInfo cs = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_cs(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CGameInfo.CDotaGameInfo dota = 4; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::dota(this), + _Internal::dota(this).GetCachedSize(), target, stream); + } + + // optional .CGameInfo.CCSGameInfo cs = 5; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::cs(this), + _Internal::cs(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:CGameInfo) + return target; +} + +size_t CGameInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CGameInfo.CDotaGameInfo dota = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dota_); + } + + // optional .CGameInfo.CCSGameInfo cs = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cs_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo::GetClassData() const { return &_class_data_; } + + +void CGameInfo::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:CGameInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_dota()->::CGameInfo_CDotaGameInfo::MergeFrom( + from._internal_dota()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cs()->::CGameInfo_CCSGameInfo::MergeFrom( + from._internal_cs()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameInfo::CopyFrom(const CGameInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameInfo::IsInitialized() const { + return true; +} + +void CGameInfo::InternalSwap(CGameInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameInfo, _impl_.cs_) + + sizeof(CGameInfo::_impl_.cs_) + - PROTOBUF_FIELD_OFFSET(CGameInfo, _impl_.dota_)>( + reinterpret_cast(&_impl_.dota_), + reinterpret_cast(&other->_impl_.dota_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[5]); +} + +// =================================================================== + +class CDemoFileInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_playback_time(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_playback_ticks(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_playback_frames(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CGameInfo& game_info(const CDemoFileInfo* msg); + static void set_has_game_info(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CGameInfo& +CDemoFileInfo::_Internal::game_info(const CDemoFileInfo* msg) { + return *msg->_impl_.game_info_; +} +CDemoFileInfo::CDemoFileInfo(::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:CDemoFileInfo) +} +CDemoFileInfo::CDemoFileInfo(const CDemoFileInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoFileInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_info_){nullptr} + , decltype(_impl_.playback_time_){} + , decltype(_impl_.playback_ticks_){} + , decltype(_impl_.playback_frames_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_game_info()) { + _this->_impl_.game_info_ = new ::CGameInfo(*from._impl_.game_info_); + } + ::memcpy(&_impl_.playback_time_, &from._impl_.playback_time_, + static_cast(reinterpret_cast(&_impl_.playback_frames_) - + reinterpret_cast(&_impl_.playback_time_)) + sizeof(_impl_.playback_frames_)); + // @@protoc_insertion_point(copy_constructor:CDemoFileInfo) +} + +inline void CDemoFileInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_info_){nullptr} + , decltype(_impl_.playback_time_){0} + , decltype(_impl_.playback_ticks_){0} + , decltype(_impl_.playback_frames_){0} + }; +} + +CDemoFileInfo::~CDemoFileInfo() { + // @@protoc_insertion_point(destructor:CDemoFileInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoFileInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.game_info_; +} + +void CDemoFileInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoFileInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoFileInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.game_info_ != nullptr); + _impl_.game_info_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.playback_time_, 0, static_cast( + reinterpret_cast(&_impl_.playback_frames_) - + reinterpret_cast(&_impl_.playback_time_)) + sizeof(_impl_.playback_frames_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoFileInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float playback_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_playback_time(&has_bits); + _impl_.playback_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 playback_ticks = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_playback_ticks(&has_bits); + _impl_.playback_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 playback_frames = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_playback_frames(&has_bits); + _impl_.playback_frames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CGameInfo game_info = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_game_info(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoFileInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoFileInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float playback_time = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_playback_time(), target); + } + + // optional int32 playback_ticks = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playback_ticks(), target); + } + + // optional int32 playback_frames = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_playback_frames(), target); + } + + // optional .CGameInfo game_info = 4; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::game_info(this), + _Internal::game_info(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:CDemoFileInfo) + return target; +} + +size_t CDemoFileInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoFileInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CGameInfo game_info = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.game_info_); + } + + // optional float playback_time = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional int32 playback_ticks = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playback_ticks()); + } + + // optional int32 playback_frames = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playback_frames()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFileInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoFileInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFileInfo::GetClassData() const { return &_class_data_; } + + +void CDemoFileInfo::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:CDemoFileInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_game_info()->::CGameInfo::MergeFrom( + from._internal_game_info()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.playback_time_ = from._impl_.playback_time_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.playback_ticks_ = from._impl_.playback_ticks_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.playback_frames_ = from._impl_.playback_frames_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoFileInfo::CopyFrom(const CDemoFileInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFileInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoFileInfo::IsInitialized() const { + return true; +} + +void CDemoFileInfo::InternalSwap(CDemoFileInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoFileInfo, _impl_.playback_frames_) + + sizeof(CDemoFileInfo::_impl_.playback_frames_) + - PROTOBUF_FIELD_OFFSET(CDemoFileInfo, _impl_.game_info_)>( + reinterpret_cast(&_impl_.game_info_), + reinterpret_cast(&other->_impl_.game_info_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoFileInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[6]); +} + +// =================================================================== + +class CDemoPacket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoPacket::CDemoPacket(::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:CDemoPacket) +} +CDemoPacket::CDemoPacket(const CDemoPacket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoPacket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CDemoPacket) +} + +inline void CDemoPacket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoPacket::~CDemoPacket() { + // @@protoc_insertion_point(destructor:CDemoPacket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoPacket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoPacket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoPacket::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoPacket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoPacket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoPacket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_data(), 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:CDemoPacket) + return target; +} + +size_t CDemoPacket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoPacket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 3; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoPacket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoPacket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoPacket::GetClassData() const { return &_class_data_; } + + +void CDemoPacket::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:CDemoPacket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoPacket::CopyFrom(const CDemoPacket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoPacket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoPacket::IsInitialized() const { + return true; +} + +void CDemoPacket::InternalSwap(CDemoPacket* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoPacket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[7]); +} + +// =================================================================== + +class CDemoFullPacket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CDemoStringTables& string_table(const CDemoFullPacket* msg); + static void set_has_string_table(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CDemoPacket& packet(const CDemoFullPacket* msg); + static void set_has_packet(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CDemoStringTables& +CDemoFullPacket::_Internal::string_table(const CDemoFullPacket* msg) { + return *msg->_impl_.string_table_; +} +const ::CDemoPacket& +CDemoFullPacket::_Internal::packet(const CDemoFullPacket* msg) { + return *msg->_impl_.packet_; +} +CDemoFullPacket::CDemoFullPacket(::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:CDemoFullPacket) +} +CDemoFullPacket::CDemoFullPacket(const CDemoFullPacket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoFullPacket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_table_){nullptr} + , decltype(_impl_.packet_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_string_table()) { + _this->_impl_.string_table_ = new ::CDemoStringTables(*from._impl_.string_table_); + } + if (from._internal_has_packet()) { + _this->_impl_.packet_ = new ::CDemoPacket(*from._impl_.packet_); + } + // @@protoc_insertion_point(copy_constructor:CDemoFullPacket) +} + +inline void CDemoFullPacket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_table_){nullptr} + , decltype(_impl_.packet_){nullptr} + }; +} + +CDemoFullPacket::~CDemoFullPacket() { + // @@protoc_insertion_point(destructor:CDemoFullPacket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoFullPacket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.string_table_; + if (this != internal_default_instance()) delete _impl_.packet_; +} + +void CDemoFullPacket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoFullPacket::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoFullPacket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.string_table_ != nullptr); + _impl_.string_table_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.packet_ != nullptr); + _impl_.packet_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoFullPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CDemoStringTables string_table = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_string_table(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CDemoPacket packet = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_packet(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoFullPacket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoFullPacket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CDemoStringTables string_table = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::string_table(this), + _Internal::string_table(this).GetCachedSize(), target, stream); + } + + // optional .CDemoPacket packet = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::packet(this), + _Internal::packet(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:CDemoFullPacket) + return target; +} + +size_t CDemoFullPacket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoFullPacket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CDemoStringTables string_table = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.string_table_); + } + + // optional .CDemoPacket packet = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.packet_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFullPacket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoFullPacket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFullPacket::GetClassData() const { return &_class_data_; } + + +void CDemoFullPacket::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:CDemoFullPacket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_string_table()->::CDemoStringTables::MergeFrom( + from._internal_string_table()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_packet()->::CDemoPacket::MergeFrom( + from._internal_packet()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoFullPacket::CopyFrom(const CDemoFullPacket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFullPacket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoFullPacket::IsInitialized() const { + return true; +} + +void CDemoFullPacket::InternalSwap(CDemoFullPacket* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoFullPacket, _impl_.packet_) + + sizeof(CDemoFullPacket::_impl_.packet_) + - PROTOBUF_FIELD_OFFSET(CDemoFullPacket, _impl_.string_table_)>( + reinterpret_cast(&_impl_.string_table_), + reinterpret_cast(&other->_impl_.string_table_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoFullPacket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[8]); +} + +// =================================================================== + +class CDemoSaveGame::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CDemoSaveGame::CDemoSaveGame(::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:CDemoSaveGame) +} +CDemoSaveGame::CDemoSaveGame(const CDemoSaveGame& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoSaveGame* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.steam_id_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, + static_cast(reinterpret_cast(&_impl_.version_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.version_)); + // @@protoc_insertion_point(copy_constructor:CDemoSaveGame) +} + +inline void CDemoSaveGame::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.steam_id_){uint64_t{0u}} + , decltype(_impl_.signature_){uint64_t{0u}} + , decltype(_impl_.version_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoSaveGame::~CDemoSaveGame() { + // @@protoc_insertion_point(destructor:CDemoSaveGame) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoSaveGame::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoSaveGame::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoSaveGame::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoSaveGame) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.version_) - + reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoSaveGame::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steam_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 signature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_signature(&has_bits); + _impl_.signature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoSaveGame::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoSaveGame) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), target); + } + + // optional fixed64 steam_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steam_id(), target); + } + + // optional fixed64 signature = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_signature(), target); + } + + // optional int32 version = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_version(), 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:CDemoSaveGame) + return target; +} + +size_t CDemoSaveGame::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoSaveGame) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional fixed64 steam_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional fixed64 signature = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional int32 version = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSaveGame::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoSaveGame::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSaveGame::GetClassData() const { return &_class_data_; } + + +void CDemoSaveGame::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:CDemoSaveGame) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steam_id_ = from._impl_.steam_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.signature_ = from._impl_.signature_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoSaveGame::CopyFrom(const CDemoSaveGame& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSaveGame) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoSaveGame::IsInitialized() const { + return true; +} + +void CDemoSaveGame::InternalSwap(CDemoSaveGame* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoSaveGame, _impl_.version_) + + sizeof(CDemoSaveGame::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CDemoSaveGame, _impl_.steam_id_)>( + reinterpret_cast(&_impl_.steam_id_), + reinterpret_cast(&other->_impl_.steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoSaveGame::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[9]); +} + +// =================================================================== + +class CDemoSyncTick::_Internal { + public: +}; + +CDemoSyncTick::CDemoSyncTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CDemoSyncTick) +} +CDemoSyncTick::CDemoSyncTick(const CDemoSyncTick& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CDemoSyncTick* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoSyncTick) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSyncTick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSyncTick::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoSyncTick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[10]); +} + +// =================================================================== + +class CDemoConsoleCmd::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cmdstring(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoConsoleCmd::CDemoConsoleCmd(::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:CDemoConsoleCmd) +} +CDemoConsoleCmd::CDemoConsoleCmd(const CDemoConsoleCmd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoConsoleCmd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmdstring_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cmdstring_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cmdstring_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cmdstring()) { + _this->_impl_.cmdstring_.Set(from._internal_cmdstring(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CDemoConsoleCmd) +} + +inline void CDemoConsoleCmd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmdstring_){} + }; + _impl_.cmdstring_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cmdstring_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoConsoleCmd::~CDemoConsoleCmd() { + // @@protoc_insertion_point(destructor:CDemoConsoleCmd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoConsoleCmd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cmdstring_.Destroy(); +} + +void CDemoConsoleCmd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoConsoleCmd::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoConsoleCmd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.cmdstring_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoConsoleCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string cmdstring = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_cmdstring(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoConsoleCmd.cmdstring"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoConsoleCmd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoConsoleCmd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string cmdstring = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cmdstring().data(), static_cast(this->_internal_cmdstring().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoConsoleCmd.cmdstring"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_cmdstring(), 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:CDemoConsoleCmd) + return target; +} + +size_t CDemoConsoleCmd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoConsoleCmd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string cmdstring = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cmdstring()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoConsoleCmd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoConsoleCmd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoConsoleCmd::GetClassData() const { return &_class_data_; } + + +void CDemoConsoleCmd::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:CDemoConsoleCmd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_cmdstring()) { + _this->_internal_set_cmdstring(from._internal_cmdstring()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoConsoleCmd::CopyFrom(const CDemoConsoleCmd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoConsoleCmd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoConsoleCmd::IsInitialized() const { + return true; +} + +void CDemoConsoleCmd::InternalSwap(CDemoConsoleCmd* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cmdstring_, lhs_arena, + &other->_impl_.cmdstring_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoConsoleCmd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[11]); +} + +// =================================================================== + +class CDemoSendTables::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoSendTables::CDemoSendTables(::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:CDemoSendTables) +} +CDemoSendTables::CDemoSendTables(const CDemoSendTables& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoSendTables* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CDemoSendTables) +} + +inline void CDemoSendTables::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoSendTables::~CDemoSendTables() { + // @@protoc_insertion_point(destructor:CDemoSendTables) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoSendTables::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoSendTables::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoSendTables::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoSendTables) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoSendTables::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoSendTables::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoSendTables) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), 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:CDemoSendTables) + return target; +} + +size_t CDemoSendTables::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoSendTables) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSendTables::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoSendTables::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSendTables::GetClassData() const { return &_class_data_; } + + +void CDemoSendTables::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:CDemoSendTables) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoSendTables::CopyFrom(const CDemoSendTables& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSendTables) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoSendTables::IsInitialized() const { + return true; +} + +void CDemoSendTables::InternalSwap(CDemoSendTables* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoSendTables::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[12]); +} + +// =================================================================== + +class CDemoClassInfo_class_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_class_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_network_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_table_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDemoClassInfo_class_t::CDemoClassInfo_class_t(::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:CDemoClassInfo.class_t) +} +CDemoClassInfo_class_t::CDemoClassInfo_class_t(const CDemoClassInfo_class_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoClassInfo_class_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.network_name_){} + , decltype(_impl_.table_name_){} + , decltype(_impl_.class_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.network_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.network_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_network_name()) { + _this->_impl_.network_name_.Set(from._internal_network_name(), + _this->GetArenaForAllocation()); + } + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_table_name()) { + _this->_impl_.table_name_.Set(from._internal_table_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.class_id_ = from._impl_.class_id_; + // @@protoc_insertion_point(copy_constructor:CDemoClassInfo.class_t) +} + +inline void CDemoClassInfo_class_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.network_name_){} + , decltype(_impl_.table_name_){} + , decltype(_impl_.class_id_){0} + }; + _impl_.network_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.network_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoClassInfo_class_t::~CDemoClassInfo_class_t() { + // @@protoc_insertion_point(destructor:CDemoClassInfo.class_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoClassInfo_class_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.network_name_.Destroy(); + _impl_.table_name_.Destroy(); +} + +void CDemoClassInfo_class_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoClassInfo_class_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoClassInfo.class_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.network_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.table_name_.ClearNonDefaultToEmpty(); + } + } + _impl_.class_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoClassInfo_class_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 class_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_class_id(&has_bits); + _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string network_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_network_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoClassInfo.class_t.network_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string table_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_table_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoClassInfo.class_t.table_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoClassInfo_class_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoClassInfo.class_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 class_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_class_id(), target); + } + + // optional string network_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_network_name().data(), static_cast(this->_internal_network_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoClassInfo.class_t.network_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_network_name(), target); + } + + // optional string table_name = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_table_name().data(), static_cast(this->_internal_table_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoClassInfo.class_t.table_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_table_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:CDemoClassInfo.class_t) + return target; +} + +size_t CDemoClassInfo_class_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoClassInfo.class_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string network_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_network_name()); + } + + // optional string table_name = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_table_name()); + } + + // optional int32 class_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoClassInfo_class_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoClassInfo_class_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoClassInfo_class_t::GetClassData() const { return &_class_data_; } + + +void CDemoClassInfo_class_t::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:CDemoClassInfo.class_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_network_name(from._internal_network_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_table_name(from._internal_table_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.class_id_ = from._impl_.class_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoClassInfo_class_t::CopyFrom(const CDemoClassInfo_class_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoClassInfo.class_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoClassInfo_class_t::IsInitialized() const { + return true; +} + +void CDemoClassInfo_class_t::InternalSwap(CDemoClassInfo_class_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.network_name_, lhs_arena, + &other->_impl_.network_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.table_name_, lhs_arena, + &other->_impl_.table_name_, rhs_arena + ); + swap(_impl_.class_id_, other->_impl_.class_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoClassInfo_class_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[13]); +} + +// =================================================================== + +class CDemoClassInfo::_Internal { + public: +}; + +CDemoClassInfo::CDemoClassInfo(::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:CDemoClassInfo) +} +CDemoClassInfo::CDemoClassInfo(const CDemoClassInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoClassInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.classes_){from._impl_.classes_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoClassInfo) +} + +inline void CDemoClassInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.classes_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CDemoClassInfo::~CDemoClassInfo() { + // @@protoc_insertion_point(destructor:CDemoClassInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoClassInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.classes_.~RepeatedPtrField(); +} + +void CDemoClassInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoClassInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoClassInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.classes_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoClassInfo::_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 .CDemoClassInfo.class_t classes = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_classes(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CDemoClassInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoClassInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CDemoClassInfo.class_t classes = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_classes_size()); i < n; i++) { + const auto& repfield = this->_internal_classes(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CDemoClassInfo) + return target; +} + +size_t CDemoClassInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoClassInfo) + 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 .CDemoClassInfo.class_t classes = 1; + total_size += 1UL * this->_internal_classes_size(); + for (const auto& msg : this->_impl_.classes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoClassInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoClassInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoClassInfo::GetClassData() const { return &_class_data_; } + + +void CDemoClassInfo::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:CDemoClassInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.classes_.MergeFrom(from._impl_.classes_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoClassInfo::CopyFrom(const CDemoClassInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoClassInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoClassInfo::IsInitialized() const { + return true; +} + +void CDemoClassInfo::InternalSwap(CDemoClassInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.classes_.InternalSwap(&other->_impl_.classes_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoClassInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[14]); +} + +// =================================================================== + +class CDemoCustomData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_callback_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoCustomData::CDemoCustomData(::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:CDemoCustomData) +} +CDemoCustomData::CDemoCustomData(const CDemoCustomData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoCustomData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.callback_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.callback_index_ = from._impl_.callback_index_; + // @@protoc_insertion_point(copy_constructor:CDemoCustomData) +} + +inline void CDemoCustomData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.callback_index_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoCustomData::~CDemoCustomData() { + // @@protoc_insertion_point(destructor:CDemoCustomData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoCustomData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoCustomData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoCustomData::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoCustomData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.callback_index_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoCustomData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 callback_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_callback_index(&has_bits); + _impl_.callback_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoCustomData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoCustomData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 callback_index = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_callback_index(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CDemoCustomData) + return target; +} + +size_t CDemoCustomData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoCustomData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 callback_index = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_callback_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoCustomData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoCustomData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoCustomData::GetClassData() const { return &_class_data_; } + + +void CDemoCustomData::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:CDemoCustomData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.callback_index_ = from._impl_.callback_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoCustomData::CopyFrom(const CDemoCustomData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoCustomData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoCustomData::IsInitialized() const { + return true; +} + +void CDemoCustomData::InternalSwap(CDemoCustomData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.callback_index_, other->_impl_.callback_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoCustomData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[15]); +} + +// =================================================================== + +class CDemoCustomDataCallbacks::_Internal { + public: +}; + +CDemoCustomDataCallbacks::CDemoCustomDataCallbacks(::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:CDemoCustomDataCallbacks) +} +CDemoCustomDataCallbacks::CDemoCustomDataCallbacks(const CDemoCustomDataCallbacks& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoCustomDataCallbacks* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.save_id_){from._impl_.save_id_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoCustomDataCallbacks) +} + +inline void CDemoCustomDataCallbacks::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.save_id_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CDemoCustomDataCallbacks::~CDemoCustomDataCallbacks() { + // @@protoc_insertion_point(destructor:CDemoCustomDataCallbacks) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoCustomDataCallbacks::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.save_id_.~RepeatedPtrField(); +} + +void CDemoCustomDataCallbacks::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoCustomDataCallbacks::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoCustomDataCallbacks) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.save_id_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoCustomDataCallbacks::_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 string save_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_save_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoCustomDataCallbacks.save_id"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CDemoCustomDataCallbacks::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoCustomDataCallbacks) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string save_id = 1; + for (int i = 0, n = this->_internal_save_id_size(); i < n; i++) { + const auto& s = this->_internal_save_id(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoCustomDataCallbacks.save_id"); + target = stream->WriteString(1, 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:CDemoCustomDataCallbacks) + return target; +} + +size_t CDemoCustomDataCallbacks::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoCustomDataCallbacks) + 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 save_id = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.save_id_.size()); + for (int i = 0, n = _impl_.save_id_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.save_id_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoCustomDataCallbacks::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoCustomDataCallbacks::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoCustomDataCallbacks::GetClassData() const { return &_class_data_; } + + +void CDemoCustomDataCallbacks::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:CDemoCustomDataCallbacks) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.save_id_.MergeFrom(from._impl_.save_id_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoCustomDataCallbacks::CopyFrom(const CDemoCustomDataCallbacks& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoCustomDataCallbacks) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoCustomDataCallbacks::IsInitialized() const { + return true; +} + +void CDemoCustomDataCallbacks::InternalSwap(CDemoCustomDataCallbacks* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.save_id_.InternalSwap(&other->_impl_.save_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoCustomDataCallbacks::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[16]); +} + +// =================================================================== + +class CDemoAnimationHeader::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoAnimationHeader::CDemoAnimationHeader(::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:CDemoAnimationHeader) +} +CDemoAnimationHeader::CDemoAnimationHeader(const CDemoAnimationHeader& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoAnimationHeader* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_id_){} + , decltype(_impl_.tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.entity_id_, &from._impl_.entity_id_, + static_cast(reinterpret_cast(&_impl_.tick_) - + reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.tick_)); + // @@protoc_insertion_point(copy_constructor:CDemoAnimationHeader) +} + +inline void CDemoAnimationHeader::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_id_){0} + , decltype(_impl_.tick_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoAnimationHeader::~CDemoAnimationHeader() { + // @@protoc_insertion_point(destructor:CDemoAnimationHeader) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoAnimationHeader::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoAnimationHeader::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoAnimationHeader::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoAnimationHeader) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.entity_id_, 0, static_cast( + reinterpret_cast(&_impl_.tick_) - + reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.tick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoAnimationHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional sint32 entity_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_id(&has_bits); + _impl_.entity_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 tick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoAnimationHeader::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoAnimationHeader) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional sint32 entity_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_entity_id(), target); + } + + // optional int32 tick = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tick(), target); + } + + // optional bytes data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_data(), 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:CDemoAnimationHeader) + return target; +} + +size_t CDemoAnimationHeader::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoAnimationHeader) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional sint32 entity_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_entity_id()); + } + + // optional int32 tick = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoAnimationHeader::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoAnimationHeader::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoAnimationHeader::GetClassData() const { return &_class_data_; } + + +void CDemoAnimationHeader::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:CDemoAnimationHeader) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entity_id_ = from._impl_.entity_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoAnimationHeader::CopyFrom(const CDemoAnimationHeader& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoAnimationHeader) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoAnimationHeader::IsInitialized() const { + return true; +} + +void CDemoAnimationHeader::InternalSwap(CDemoAnimationHeader* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoAnimationHeader, _impl_.tick_) + + sizeof(CDemoAnimationHeader::_impl_.tick_) + - PROTOBUF_FIELD_OFFSET(CDemoAnimationHeader, _impl_.entity_id_)>( + reinterpret_cast(&_impl_.entity_id_), + reinterpret_cast(&other->_impl_.entity_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoAnimationHeader::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[17]); +} + +// =================================================================== + +class CDemoAnimationData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_start_tick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_end_tick(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data_checksum(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CDemoAnimationData::CDemoAnimationData(::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:CDemoAnimationData) +} +CDemoAnimationData::CDemoAnimationData(const CDemoAnimationData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoAnimationData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_id_){} + , decltype(_impl_.start_tick_){} + , decltype(_impl_.data_checksum_){} + , decltype(_impl_.end_tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.entity_id_, &from._impl_.entity_id_, + static_cast(reinterpret_cast(&_impl_.end_tick_) - + reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.end_tick_)); + // @@protoc_insertion_point(copy_constructor:CDemoAnimationData) +} + +inline void CDemoAnimationData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_id_){0} + , decltype(_impl_.start_tick_){0} + , decltype(_impl_.data_checksum_){int64_t{0}} + , decltype(_impl_.end_tick_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoAnimationData::~CDemoAnimationData() { + // @@protoc_insertion_point(destructor:CDemoAnimationData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoAnimationData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoAnimationData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoAnimationData::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoAnimationData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.entity_id_, 0, static_cast( + reinterpret_cast(&_impl_.end_tick_) - + reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.end_tick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoAnimationData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional sint32 entity_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_id(&has_bits); + _impl_.entity_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 start_tick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_start_tick(&has_bits); + _impl_.start_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 end_tick = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_end_tick(&has_bits); + _impl_.end_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 data_checksum = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_data_checksum(&has_bits); + _impl_.data_checksum_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoAnimationData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoAnimationData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional sint32 entity_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_entity_id(), target); + } + + // optional int32 start_tick = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_start_tick(), target); + } + + // optional int32 end_tick = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_end_tick(), target); + } + + // optional bytes data = 4; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_data(), target); + } + + // optional int64 data_checksum = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_data_checksum(), 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:CDemoAnimationData) + return target; +} + +size_t CDemoAnimationData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoAnimationData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional bytes data = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional sint32 entity_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_entity_id()); + } + + // optional int32 start_tick = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start_tick()); + } + + // optional int64 data_checksum = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_data_checksum()); + } + + // optional int32 end_tick = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoAnimationData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoAnimationData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoAnimationData::GetClassData() const { return &_class_data_; } + + +void CDemoAnimationData::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:CDemoAnimationData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entity_id_ = from._impl_.entity_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.start_tick_ = from._impl_.start_tick_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.data_checksum_ = from._impl_.data_checksum_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.end_tick_ = from._impl_.end_tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoAnimationData::CopyFrom(const CDemoAnimationData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoAnimationData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoAnimationData::IsInitialized() const { + return true; +} + +void CDemoAnimationData::InternalSwap(CDemoAnimationData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoAnimationData, _impl_.end_tick_) + + sizeof(CDemoAnimationData::_impl_.end_tick_) + - PROTOBUF_FIELD_OFFSET(CDemoAnimationData, _impl_.entity_id_)>( + reinterpret_cast(&_impl_.entity_id_), + reinterpret_cast(&other->_impl_.entity_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoAnimationData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[18]); +} + +// =================================================================== + +class CDemoStringTables_items_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_str(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDemoStringTables_items_t::CDemoStringTables_items_t(::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:CDemoStringTables.items_t) +} +CDemoStringTables_items_t::CDemoStringTables_items_t(const CDemoStringTables_items_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoStringTables_items_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.str_){} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_str()) { + _this->_impl_.str_.Set(from._internal_str(), + _this->GetArenaForAllocation()); + } + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CDemoStringTables.items_t) +} + +inline void CDemoStringTables_items_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.str_){} + , decltype(_impl_.data_){} + }; + _impl_.str_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.str_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoStringTables_items_t::~CDemoStringTables_items_t() { + // @@protoc_insertion_point(destructor:CDemoStringTables.items_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoStringTables_items_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.str_.Destroy(); + _impl_.data_.Destroy(); +} + +void CDemoStringTables_items_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoStringTables_items_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoStringTables.items_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.str_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoStringTables_items_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string str = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_str(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoStringTables.items_t.str"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoStringTables_items_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables.items_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string str = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_str().data(), static_cast(this->_internal_str().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoStringTables.items_t.str"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_str(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CDemoStringTables.items_t) + return target; +} + +size_t CDemoStringTables_items_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables.items_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string str = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_str()); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables_items_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoStringTables_items_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables_items_t::GetClassData() const { return &_class_data_; } + + +void CDemoStringTables_items_t::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:CDemoStringTables.items_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_str(from._internal_str()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_data(from._internal_data()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoStringTables_items_t::CopyFrom(const CDemoStringTables_items_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables.items_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoStringTables_items_t::IsInitialized() const { + return true; +} + +void CDemoStringTables_items_t::InternalSwap(CDemoStringTables_items_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.str_, lhs_arena, + &other->_impl_.str_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables_items_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[19]); +} + +// =================================================================== + +class CDemoStringTables_table_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_table_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_table_flags(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDemoStringTables_table_t::CDemoStringTables_table_t(::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:CDemoStringTables.table_t) +} +CDemoStringTables_table_t::CDemoStringTables_table_t(const CDemoStringTables_table_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoStringTables_table_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.items_clientside_){from._impl_.items_clientside_} + , decltype(_impl_.table_name_){} + , decltype(_impl_.table_flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_table_name()) { + _this->_impl_.table_name_.Set(from._internal_table_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.table_flags_ = from._impl_.table_flags_; + // @@protoc_insertion_point(copy_constructor:CDemoStringTables.table_t) +} + +inline void CDemoStringTables_table_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.items_clientside_){arena} + , decltype(_impl_.table_name_){} + , decltype(_impl_.table_flags_){0} + }; + _impl_.table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoStringTables_table_t::~CDemoStringTables_table_t() { + // @@protoc_insertion_point(destructor:CDemoStringTables.table_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoStringTables_table_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedPtrField(); + _impl_.items_clientside_.~RepeatedPtrField(); + _impl_.table_name_.Destroy(); +} + +void CDemoStringTables_table_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoStringTables_table_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoStringTables.table_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + _impl_.items_clientside_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.table_name_.ClearNonDefaultToEmpty(); + } + _impl_.table_flags_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoStringTables_table_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string table_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_table_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CDemoStringTables.table_t.table_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CDemoStringTables.items_t items = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_items(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CDemoStringTables.items_t items_clientside = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_items_clientside(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 table_flags = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_table_flags(&has_bits); + _impl_.table_flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoStringTables_table_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables.table_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string table_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_table_name().data(), static_cast(this->_internal_table_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CDemoStringTables.table_t.table_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_table_name(), target); + } + + // repeated .CDemoStringTables.items_t items = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_items_size()); i < n; i++) { + const auto& repfield = this->_internal_items(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CDemoStringTables.items_t items_clientside = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_items_clientside_size()); i < n; i++) { + const auto& repfield = this->_internal_items_clientside(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 table_flags = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_table_flags(), 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:CDemoStringTables.table_t) + return target; +} + +size_t CDemoStringTables_table_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables.table_t) + 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 .CDemoStringTables.items_t items = 2; + total_size += 1UL * this->_internal_items_size(); + for (const auto& msg : this->_impl_.items_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CDemoStringTables.items_t items_clientside = 3; + total_size += 1UL * this->_internal_items_clientside_size(); + for (const auto& msg : this->_impl_.items_clientside_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string table_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_table_name()); + } + + // optional int32 table_flags = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_table_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables_table_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoStringTables_table_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables_table_t::GetClassData() const { return &_class_data_; } + + +void CDemoStringTables_table_t::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:CDemoStringTables.table_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + _this->_impl_.items_clientside_.MergeFrom(from._impl_.items_clientside_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_table_name(from._internal_table_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.table_flags_ = from._impl_.table_flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoStringTables_table_t::CopyFrom(const CDemoStringTables_table_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables.table_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoStringTables_table_t::IsInitialized() const { + return true; +} + +void CDemoStringTables_table_t::InternalSwap(CDemoStringTables_table_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + _impl_.items_clientside_.InternalSwap(&other->_impl_.items_clientside_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.table_name_, lhs_arena, + &other->_impl_.table_name_, rhs_arena + ); + swap(_impl_.table_flags_, other->_impl_.table_flags_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables_table_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[20]); +} + +// =================================================================== + +class CDemoStringTables::_Internal { + public: +}; + +CDemoStringTables::CDemoStringTables(::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:CDemoStringTables) +} +CDemoStringTables::CDemoStringTables(const CDemoStringTables& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoStringTables* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.tables_){from._impl_.tables_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoStringTables) +} + +inline void CDemoStringTables::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.tables_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CDemoStringTables::~CDemoStringTables() { + // @@protoc_insertion_point(destructor:CDemoStringTables) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoStringTables::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tables_.~RepeatedPtrField(); +} + +void CDemoStringTables::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoStringTables::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoStringTables) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tables_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoStringTables::_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 .CDemoStringTables.table_t tables = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tables(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CDemoStringTables::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CDemoStringTables.table_t tables = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_tables_size()); i < n; i++) { + const auto& repfield = this->_internal_tables(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CDemoStringTables) + return target; +} + +size_t CDemoStringTables::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables) + 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 .CDemoStringTables.table_t tables = 1; + total_size += 1UL * this->_internal_tables_size(); + for (const auto& msg : this->_impl_.tables_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoStringTables::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables::GetClassData() const { return &_class_data_; } + + +void CDemoStringTables::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:CDemoStringTables) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tables_.MergeFrom(from._impl_.tables_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoStringTables::CopyFrom(const CDemoStringTables& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoStringTables::IsInitialized() const { + return true; +} + +void CDemoStringTables::InternalSwap(CDemoStringTables* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.tables_.InternalSwap(&other->_impl_.tables_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[21]); +} + +// =================================================================== + +class CDemoStop::_Internal { + public: +}; + +CDemoStop::CDemoStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CDemoStop) +} +CDemoStop::CDemoStop(const CDemoStop& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CDemoStop* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoStop) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStop::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoStop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[22]); +} + +// =================================================================== + +class CDemoUserCmd::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cmd_number(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CDemoUserCmd::CDemoUserCmd(::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:CDemoUserCmd) +} +CDemoUserCmd::CDemoUserCmd(const CDemoUserCmd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoUserCmd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.cmd_number_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.cmd_number_ = from._impl_.cmd_number_; + // @@protoc_insertion_point(copy_constructor:CDemoUserCmd) +} + +inline void CDemoUserCmd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.cmd_number_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoUserCmd::~CDemoUserCmd() { + // @@protoc_insertion_point(destructor:CDemoUserCmd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoUserCmd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CDemoUserCmd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoUserCmd::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoUserCmd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.cmd_number_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoUserCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 cmd_number = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_cmd_number(&has_bits); + _impl_.cmd_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoUserCmd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoUserCmd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 cmd_number = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cmd_number(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CDemoUserCmd) + return target; +} + +size_t CDemoUserCmd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoUserCmd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 cmd_number = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cmd_number()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoUserCmd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoUserCmd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoUserCmd::GetClassData() const { return &_class_data_; } + + +void CDemoUserCmd::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:CDemoUserCmd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.cmd_number_ = from._impl_.cmd_number_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoUserCmd::CopyFrom(const CDemoUserCmd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoUserCmd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoUserCmd::IsInitialized() const { + return true; +} + +void CDemoUserCmd::InternalSwap(CDemoUserCmd* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.cmd_number_, other->_impl_.cmd_number_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoUserCmd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[23]); +} + +// =================================================================== + +class CDemoSpawnGroups::_Internal { + public: +}; + +CDemoSpawnGroups::CDemoSpawnGroups(::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:CDemoSpawnGroups) +} +CDemoSpawnGroups::CDemoSpawnGroups(const CDemoSpawnGroups& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoSpawnGroups* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.msgs_){from._impl_.msgs_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CDemoSpawnGroups) +} + +inline void CDemoSpawnGroups::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.msgs_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CDemoSpawnGroups::~CDemoSpawnGroups() { + // @@protoc_insertion_point(destructor:CDemoSpawnGroups) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoSpawnGroups::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.msgs_.~RepeatedPtrField(); +} + +void CDemoSpawnGroups::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoSpawnGroups::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoSpawnGroups) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.msgs_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoSpawnGroups::_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 bytes msgs = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_msgs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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* CDemoSpawnGroups::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoSpawnGroups) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated bytes msgs = 3; + for (int i = 0, n = this->_internal_msgs_size(); i < n; i++) { + const auto& s = this->_internal_msgs(i); + target = stream->WriteBytes(3, 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:CDemoSpawnGroups) + return target; +} + +size_t CDemoSpawnGroups::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoSpawnGroups) + 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 bytes msgs = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.msgs_.size()); + for (int i = 0, n = _impl_.msgs_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.msgs_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSpawnGroups::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoSpawnGroups::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSpawnGroups::GetClassData() const { return &_class_data_; } + + +void CDemoSpawnGroups::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:CDemoSpawnGroups) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.msgs_.MergeFrom(from._impl_.msgs_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoSpawnGroups::CopyFrom(const CDemoSpawnGroups& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSpawnGroups) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoSpawnGroups::IsInitialized() const { + return true; +} + +void CDemoSpawnGroups::InternalSwap(CDemoSpawnGroups* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.msgs_.InternalSwap(&other->_impl_.msgs_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoSpawnGroups::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[24]); +} + +// =================================================================== + +class CDemoRecovery_DemoInitialSpawnGroupEntry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_was_created(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry(::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:CDemoRecovery.DemoInitialSpawnGroupEntry) +} +CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoRecovery_DemoInitialSpawnGroupEntry* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){} + , decltype(_impl_.was_created_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, + static_cast(reinterpret_cast(&_impl_.was_created_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.was_created_)); + // @@protoc_insertion_point(copy_constructor:CDemoRecovery.DemoInitialSpawnGroupEntry) +} + +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){0u} + , decltype(_impl_.was_created_){false} + }; +} + +CDemoRecovery_DemoInitialSpawnGroupEntry::~CDemoRecovery_DemoInitialSpawnGroupEntry() { + // @@protoc_insertion_point(destructor:CDemoRecovery.DemoInitialSpawnGroupEntry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CDemoRecovery_DemoInitialSpawnGroupEntry::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoRecovery_DemoInitialSpawnGroupEntry::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoRecovery.DemoInitialSpawnGroupEntry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.spawngrouphandle_, 0, static_cast( + reinterpret_cast(&_impl_.was_created_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.was_created_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoRecovery_DemoInitialSpawnGroupEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 spawngrouphandle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool was_created = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_was_created(&has_bits); + _impl_.was_created_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoRecovery_DemoInitialSpawnGroupEntry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoRecovery.DemoInitialSpawnGroupEntry) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); + } + + // optional bool was_created = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_was_created(), 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:CDemoRecovery.DemoInitialSpawnGroupEntry) + return target; +} + +size_t CDemoRecovery_DemoInitialSpawnGroupEntry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoRecovery.DemoInitialSpawnGroupEntry) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + // optional bool was_created = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoRecovery_DemoInitialSpawnGroupEntry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoRecovery_DemoInitialSpawnGroupEntry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoRecovery_DemoInitialSpawnGroupEntry::GetClassData() const { return &_class_data_; } + + +void CDemoRecovery_DemoInitialSpawnGroupEntry::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:CDemoRecovery.DemoInitialSpawnGroupEntry) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.was_created_ = from._impl_.was_created_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoRecovery_DemoInitialSpawnGroupEntry::CopyFrom(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoRecovery.DemoInitialSpawnGroupEntry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoRecovery_DemoInitialSpawnGroupEntry::IsInitialized() const { + return true; +} + +void CDemoRecovery_DemoInitialSpawnGroupEntry::InternalSwap(CDemoRecovery_DemoInitialSpawnGroupEntry* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.was_created_) + + sizeof(CDemoRecovery_DemoInitialSpawnGroupEntry::_impl_.was_created_) + - PROTOBUF_FIELD_OFFSET(CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.spawngrouphandle_)>( + reinterpret_cast(&_impl_.spawngrouphandle_), + reinterpret_cast(&other->_impl_.spawngrouphandle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery_DemoInitialSpawnGroupEntry::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[25]); +} + +// =================================================================== + +class CDemoRecovery::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CDemoRecovery_DemoInitialSpawnGroupEntry& initial_spawn_group(const CDemoRecovery* msg); + static void set_has_initial_spawn_group(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_spawn_group_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CDemoRecovery_DemoInitialSpawnGroupEntry& +CDemoRecovery::_Internal::initial_spawn_group(const CDemoRecovery* msg) { + return *msg->_impl_.initial_spawn_group_; +} +CDemoRecovery::CDemoRecovery(::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:CDemoRecovery) +} +CDemoRecovery::CDemoRecovery(const CDemoRecovery& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CDemoRecovery* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawn_group_message_){} + , decltype(_impl_.initial_spawn_group_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.spawn_group_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_spawn_group_message()) { + _this->_impl_.spawn_group_message_.Set(from._internal_spawn_group_message(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_initial_spawn_group()) { + _this->_impl_.initial_spawn_group_ = new ::CDemoRecovery_DemoInitialSpawnGroupEntry(*from._impl_.initial_spawn_group_); + } + // @@protoc_insertion_point(copy_constructor:CDemoRecovery) +} + +inline void CDemoRecovery::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawn_group_message_){} + , decltype(_impl_.initial_spawn_group_){nullptr} + }; + _impl_.spawn_group_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CDemoRecovery::~CDemoRecovery() { + // @@protoc_insertion_point(destructor:CDemoRecovery) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CDemoRecovery::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.spawn_group_message_.Destroy(); + if (this != internal_default_instance()) delete _impl_.initial_spawn_group_; +} + +void CDemoRecovery::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CDemoRecovery::Clear() { +// @@protoc_insertion_point(message_clear_start:CDemoRecovery) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.spawn_group_message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.initial_spawn_group_ != nullptr); + _impl_.initial_spawn_group_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CDemoRecovery::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_initial_spawn_group(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes spawn_group_message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_spawn_group_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CDemoRecovery::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CDemoRecovery) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::initial_spawn_group(this), + _Internal::initial_spawn_group(this).GetCachedSize(), target, stream); + } + + // optional bytes spawn_group_message = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_spawn_group_message(), 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:CDemoRecovery) + return target; +} + +size_t CDemoRecovery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CDemoRecovery) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes spawn_group_message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_spawn_group_message()); + } + + // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.initial_spawn_group_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoRecovery::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CDemoRecovery::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoRecovery::GetClassData() const { return &_class_data_; } + + +void CDemoRecovery::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:CDemoRecovery) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_spawn_group_message(from._internal_spawn_group_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_initial_spawn_group()->::CDemoRecovery_DemoInitialSpawnGroupEntry::MergeFrom( + from._internal_initial_spawn_group()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CDemoRecovery::CopyFrom(const CDemoRecovery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CDemoRecovery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDemoRecovery::IsInitialized() const { + return true; +} + +void CDemoRecovery::InternalSwap(CDemoRecovery* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.spawn_group_message_, lhs_arena, + &other->_impl_.spawn_group_message_, rhs_arena + ); + swap(_impl_.initial_spawn_group_, other->_impl_.initial_spawn_group_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, + file_level_metadata_demo_2eproto[26]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CDemoFileHeader* +Arena::CreateMaybeMessage< ::CDemoFileHeader >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoFileHeader >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo_CPlayerInfo* +Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo_CPlayerInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo_CPlayerInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* +Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo* +Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameInfo_CCSGameInfo* +Arena::CreateMaybeMessage< ::CGameInfo_CCSGameInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameInfo_CCSGameInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameInfo* +Arena::CreateMaybeMessage< ::CGameInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoFileInfo* +Arena::CreateMaybeMessage< ::CDemoFileInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoFileInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoPacket* +Arena::CreateMaybeMessage< ::CDemoPacket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoPacket >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoFullPacket* +Arena::CreateMaybeMessage< ::CDemoFullPacket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoFullPacket >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoSaveGame* +Arena::CreateMaybeMessage< ::CDemoSaveGame >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoSaveGame >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoSyncTick* +Arena::CreateMaybeMessage< ::CDemoSyncTick >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoSyncTick >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoConsoleCmd* +Arena::CreateMaybeMessage< ::CDemoConsoleCmd >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoConsoleCmd >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoSendTables* +Arena::CreateMaybeMessage< ::CDemoSendTables >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoSendTables >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoClassInfo_class_t* +Arena::CreateMaybeMessage< ::CDemoClassInfo_class_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoClassInfo_class_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoClassInfo* +Arena::CreateMaybeMessage< ::CDemoClassInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoClassInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoCustomData* +Arena::CreateMaybeMessage< ::CDemoCustomData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoCustomData >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoCustomDataCallbacks* +Arena::CreateMaybeMessage< ::CDemoCustomDataCallbacks >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoCustomDataCallbacks >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoAnimationHeader* +Arena::CreateMaybeMessage< ::CDemoAnimationHeader >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoAnimationHeader >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoAnimationData* +Arena::CreateMaybeMessage< ::CDemoAnimationData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoAnimationData >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoStringTables_items_t* +Arena::CreateMaybeMessage< ::CDemoStringTables_items_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoStringTables_items_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoStringTables_table_t* +Arena::CreateMaybeMessage< ::CDemoStringTables_table_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoStringTables_table_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoStringTables* +Arena::CreateMaybeMessage< ::CDemoStringTables >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoStringTables >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoStop* +Arena::CreateMaybeMessage< ::CDemoStop >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoStop >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoUserCmd* +Arena::CreateMaybeMessage< ::CDemoUserCmd >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoUserCmd >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoSpawnGroups* +Arena::CreateMaybeMessage< ::CDemoSpawnGroups >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoSpawnGroups >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoRecovery_DemoInitialSpawnGroupEntry* +Arena::CreateMaybeMessage< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(arena); +} +template<> PROTOBUF_NOINLINE ::CDemoRecovery* +Arena::CreateMaybeMessage< ::CDemoRecovery >(Arena* arena) { + return Arena::CreateMessageInternal< ::CDemoRecovery >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h new file mode 100644 index 0000000..b65cce7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/demo.pb.h @@ -0,0 +1,9533 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: demo.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_demo_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_demo_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 3021008 < 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 +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_demo_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_demo_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_demo_2eproto; +class CDemoAnimationData; +struct CDemoAnimationDataDefaultTypeInternal; +extern CDemoAnimationDataDefaultTypeInternal _CDemoAnimationData_default_instance_; +class CDemoAnimationHeader; +struct CDemoAnimationHeaderDefaultTypeInternal; +extern CDemoAnimationHeaderDefaultTypeInternal _CDemoAnimationHeader_default_instance_; +class CDemoClassInfo; +struct CDemoClassInfoDefaultTypeInternal; +extern CDemoClassInfoDefaultTypeInternal _CDemoClassInfo_default_instance_; +class CDemoClassInfo_class_t; +struct CDemoClassInfo_class_tDefaultTypeInternal; +extern CDemoClassInfo_class_tDefaultTypeInternal _CDemoClassInfo_class_t_default_instance_; +class CDemoConsoleCmd; +struct CDemoConsoleCmdDefaultTypeInternal; +extern CDemoConsoleCmdDefaultTypeInternal _CDemoConsoleCmd_default_instance_; +class CDemoCustomData; +struct CDemoCustomDataDefaultTypeInternal; +extern CDemoCustomDataDefaultTypeInternal _CDemoCustomData_default_instance_; +class CDemoCustomDataCallbacks; +struct CDemoCustomDataCallbacksDefaultTypeInternal; +extern CDemoCustomDataCallbacksDefaultTypeInternal _CDemoCustomDataCallbacks_default_instance_; +class CDemoFileHeader; +struct CDemoFileHeaderDefaultTypeInternal; +extern CDemoFileHeaderDefaultTypeInternal _CDemoFileHeader_default_instance_; +class CDemoFileInfo; +struct CDemoFileInfoDefaultTypeInternal; +extern CDemoFileInfoDefaultTypeInternal _CDemoFileInfo_default_instance_; +class CDemoFullPacket; +struct CDemoFullPacketDefaultTypeInternal; +extern CDemoFullPacketDefaultTypeInternal _CDemoFullPacket_default_instance_; +class CDemoPacket; +struct CDemoPacketDefaultTypeInternal; +extern CDemoPacketDefaultTypeInternal _CDemoPacket_default_instance_; +class CDemoRecovery; +struct CDemoRecoveryDefaultTypeInternal; +extern CDemoRecoveryDefaultTypeInternal _CDemoRecovery_default_instance_; +class CDemoRecovery_DemoInitialSpawnGroupEntry; +struct CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal; +extern CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal _CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_; +class CDemoSaveGame; +struct CDemoSaveGameDefaultTypeInternal; +extern CDemoSaveGameDefaultTypeInternal _CDemoSaveGame_default_instance_; +class CDemoSendTables; +struct CDemoSendTablesDefaultTypeInternal; +extern CDemoSendTablesDefaultTypeInternal _CDemoSendTables_default_instance_; +class CDemoSpawnGroups; +struct CDemoSpawnGroupsDefaultTypeInternal; +extern CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; +class CDemoStop; +struct CDemoStopDefaultTypeInternal; +extern CDemoStopDefaultTypeInternal _CDemoStop_default_instance_; +class CDemoStringTables; +struct CDemoStringTablesDefaultTypeInternal; +extern CDemoStringTablesDefaultTypeInternal _CDemoStringTables_default_instance_; +class CDemoStringTables_items_t; +struct CDemoStringTables_items_tDefaultTypeInternal; +extern CDemoStringTables_items_tDefaultTypeInternal _CDemoStringTables_items_t_default_instance_; +class CDemoStringTables_table_t; +struct CDemoStringTables_table_tDefaultTypeInternal; +extern CDemoStringTables_table_tDefaultTypeInternal _CDemoStringTables_table_t_default_instance_; +class CDemoSyncTick; +struct CDemoSyncTickDefaultTypeInternal; +extern CDemoSyncTickDefaultTypeInternal _CDemoSyncTick_default_instance_; +class CDemoUserCmd; +struct CDemoUserCmdDefaultTypeInternal; +extern CDemoUserCmdDefaultTypeInternal _CDemoUserCmd_default_instance_; +class CGameInfo; +struct CGameInfoDefaultTypeInternal; +extern CGameInfoDefaultTypeInternal _CGameInfo_default_instance_; +class CGameInfo_CCSGameInfo; +struct CGameInfo_CCSGameInfoDefaultTypeInternal; +extern CGameInfo_CCSGameInfoDefaultTypeInternal _CGameInfo_CCSGameInfo_default_instance_; +class CGameInfo_CDotaGameInfo; +struct CGameInfo_CDotaGameInfoDefaultTypeInternal; +extern CGameInfo_CDotaGameInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_default_instance_; +class CGameInfo_CDotaGameInfo_CHeroSelectEvent; +struct CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal; +extern CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal _CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_; +class CGameInfo_CDotaGameInfo_CPlayerInfo; +struct CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal; +extern CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CDemoAnimationData* Arena::CreateMaybeMessage<::CDemoAnimationData>(Arena*); +template<> ::CDemoAnimationHeader* Arena::CreateMaybeMessage<::CDemoAnimationHeader>(Arena*); +template<> ::CDemoClassInfo* Arena::CreateMaybeMessage<::CDemoClassInfo>(Arena*); +template<> ::CDemoClassInfo_class_t* Arena::CreateMaybeMessage<::CDemoClassInfo_class_t>(Arena*); +template<> ::CDemoConsoleCmd* Arena::CreateMaybeMessage<::CDemoConsoleCmd>(Arena*); +template<> ::CDemoCustomData* Arena::CreateMaybeMessage<::CDemoCustomData>(Arena*); +template<> ::CDemoCustomDataCallbacks* Arena::CreateMaybeMessage<::CDemoCustomDataCallbacks>(Arena*); +template<> ::CDemoFileHeader* Arena::CreateMaybeMessage<::CDemoFileHeader>(Arena*); +template<> ::CDemoFileInfo* Arena::CreateMaybeMessage<::CDemoFileInfo>(Arena*); +template<> ::CDemoFullPacket* Arena::CreateMaybeMessage<::CDemoFullPacket>(Arena*); +template<> ::CDemoPacket* Arena::CreateMaybeMessage<::CDemoPacket>(Arena*); +template<> ::CDemoRecovery* Arena::CreateMaybeMessage<::CDemoRecovery>(Arena*); +template<> ::CDemoRecovery_DemoInitialSpawnGroupEntry* Arena::CreateMaybeMessage<::CDemoRecovery_DemoInitialSpawnGroupEntry>(Arena*); +template<> ::CDemoSaveGame* Arena::CreateMaybeMessage<::CDemoSaveGame>(Arena*); +template<> ::CDemoSendTables* Arena::CreateMaybeMessage<::CDemoSendTables>(Arena*); +template<> ::CDemoSpawnGroups* Arena::CreateMaybeMessage<::CDemoSpawnGroups>(Arena*); +template<> ::CDemoStop* Arena::CreateMaybeMessage<::CDemoStop>(Arena*); +template<> ::CDemoStringTables* Arena::CreateMaybeMessage<::CDemoStringTables>(Arena*); +template<> ::CDemoStringTables_items_t* Arena::CreateMaybeMessage<::CDemoStringTables_items_t>(Arena*); +template<> ::CDemoStringTables_table_t* Arena::CreateMaybeMessage<::CDemoStringTables_table_t>(Arena*); +template<> ::CDemoSyncTick* Arena::CreateMaybeMessage<::CDemoSyncTick>(Arena*); +template<> ::CDemoUserCmd* Arena::CreateMaybeMessage<::CDemoUserCmd>(Arena*); +template<> ::CGameInfo* Arena::CreateMaybeMessage<::CGameInfo>(Arena*); +template<> ::CGameInfo_CCSGameInfo* Arena::CreateMaybeMessage<::CGameInfo_CCSGameInfo>(Arena*); +template<> ::CGameInfo_CDotaGameInfo* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo>(Arena*); +template<> ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo_CHeroSelectEvent>(Arena*); +template<> ::CGameInfo_CDotaGameInfo_CPlayerInfo* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo_CPlayerInfo>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EDemoCommands : int { + DEM_Error = -1, + DEM_Stop = 0, + DEM_FileHeader = 1, + DEM_FileInfo = 2, + DEM_SyncTick = 3, + DEM_SendTables = 4, + DEM_ClassInfo = 5, + DEM_StringTables = 6, + DEM_Packet = 7, + DEM_SignonPacket = 8, + DEM_ConsoleCmd = 9, + DEM_CustomData = 10, + DEM_CustomDataCallbacks = 11, + DEM_UserCmd = 12, + DEM_FullPacket = 13, + DEM_SaveGame = 14, + DEM_SpawnGroups = 15, + DEM_AnimationData = 16, + DEM_AnimationHeader = 17, + DEM_Recovery = 18, + DEM_Max = 19, + DEM_IsCompressed = 64 +}; +bool EDemoCommands_IsValid(int value); +constexpr EDemoCommands EDemoCommands_MIN = DEM_Error; +constexpr EDemoCommands EDemoCommands_MAX = DEM_IsCompressed; +constexpr int EDemoCommands_ARRAYSIZE = EDemoCommands_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EDemoCommands_descriptor(); +template +inline const std::string& EDemoCommands_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EDemoCommands_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EDemoCommands_descriptor(), enum_t_value); +} +inline bool EDemoCommands_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EDemoCommands* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EDemoCommands_descriptor(), name, value); +} +// =================================================================== + +class CDemoFileHeader final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFileHeader) */ { + public: + inline CDemoFileHeader() : CDemoFileHeader(nullptr) {} + ~CDemoFileHeader() override; + explicit PROTOBUF_CONSTEXPR CDemoFileHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoFileHeader(const CDemoFileHeader& from); + CDemoFileHeader(CDemoFileHeader&& from) noexcept + : CDemoFileHeader() { + *this = ::std::move(from); + } + + inline CDemoFileHeader& operator=(const CDemoFileHeader& from) { + CopyFrom(from); + return *this; + } + inline CDemoFileHeader& operator=(CDemoFileHeader&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoFileHeader& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoFileHeader* internal_default_instance() { + return reinterpret_cast( + &_CDemoFileHeader_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CDemoFileHeader& a, CDemoFileHeader& b) { + a.Swap(&b); + } + inline void Swap(CDemoFileHeader* 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(CDemoFileHeader* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoFileHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoFileHeader& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoFileHeader& from) { + CDemoFileHeader::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(CDemoFileHeader* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoFileHeader"; + } + protected: + explicit CDemoFileHeader(::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 { + kDemoFileStampFieldNumber = 1, + kServerNameFieldNumber = 3, + kClientNameFieldNumber = 4, + kMapNameFieldNumber = 5, + kGameDirectoryFieldNumber = 6, + kAddonsFieldNumber = 10, + kDemoVersionNameFieldNumber = 11, + kDemoVersionGuidFieldNumber = 12, + kGameFieldNumber = 14, + kNetworkProtocolFieldNumber = 2, + kFullpacketsVersionFieldNumber = 7, + kAllowClientsideEntitiesFieldNumber = 8, + kAllowClientsideParticlesFieldNumber = 9, + kBuildNumFieldNumber = 13, + kServerStartTickFieldNumber = 15, + }; + // required string demo_file_stamp = 1; + bool has_demo_file_stamp() const; + private: + bool _internal_has_demo_file_stamp() const; + public: + void clear_demo_file_stamp(); + const std::string& demo_file_stamp() const; + template + void set_demo_file_stamp(ArgT0&& arg0, ArgT... args); + std::string* mutable_demo_file_stamp(); + PROTOBUF_NODISCARD std::string* release_demo_file_stamp(); + void set_allocated_demo_file_stamp(std::string* demo_file_stamp); + private: + const std::string& _internal_demo_file_stamp() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_file_stamp(const std::string& value); + std::string* _internal_mutable_demo_file_stamp(); + public: + + // optional string server_name = 3; + bool has_server_name() const; + private: + bool _internal_has_server_name() const; + public: + void clear_server_name(); + const std::string& server_name() const; + template + void set_server_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_server_name(); + PROTOBUF_NODISCARD std::string* release_server_name(); + void set_allocated_server_name(std::string* server_name); + private: + const std::string& _internal_server_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_name(const std::string& value); + std::string* _internal_mutable_server_name(); + public: + + // optional string client_name = 4; + bool has_client_name() const; + private: + bool _internal_has_client_name() const; + public: + void clear_client_name(); + const std::string& client_name() const; + template + void set_client_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_client_name(); + PROTOBUF_NODISCARD std::string* release_client_name(); + void set_allocated_client_name(std::string* client_name); + private: + const std::string& _internal_client_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_name(const std::string& value); + std::string* _internal_mutable_client_name(); + public: + + // optional string map_name = 5; + bool has_map_name() const; + private: + bool _internal_has_map_name() const; + public: + void clear_map_name(); + const std::string& map_name() const; + template + void set_map_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_map_name(); + PROTOBUF_NODISCARD std::string* release_map_name(); + void set_allocated_map_name(std::string* map_name); + private: + const std::string& _internal_map_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); + std::string* _internal_mutable_map_name(); + public: + + // optional string game_directory = 6; + bool has_game_directory() const; + private: + bool _internal_has_game_directory() const; + public: + void clear_game_directory(); + const std::string& game_directory() const; + template + void set_game_directory(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_directory(); + PROTOBUF_NODISCARD std::string* release_game_directory(); + void set_allocated_game_directory(std::string* game_directory); + private: + const std::string& _internal_game_directory() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_directory(const std::string& value); + std::string* _internal_mutable_game_directory(); + public: + + // optional string addons = 10; + bool has_addons() const; + private: + bool _internal_has_addons() const; + public: + void clear_addons(); + const std::string& addons() const; + template + void set_addons(ArgT0&& arg0, ArgT... args); + std::string* mutable_addons(); + PROTOBUF_NODISCARD std::string* release_addons(); + void set_allocated_addons(std::string* addons); + private: + const std::string& _internal_addons() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_addons(const std::string& value); + std::string* _internal_mutable_addons(); + public: + + // optional string demo_version_name = 11; + bool has_demo_version_name() const; + private: + bool _internal_has_demo_version_name() const; + public: + void clear_demo_version_name(); + const std::string& demo_version_name() const; + template + void set_demo_version_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_demo_version_name(); + PROTOBUF_NODISCARD std::string* release_demo_version_name(); + void set_allocated_demo_version_name(std::string* demo_version_name); + private: + const std::string& _internal_demo_version_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_version_name(const std::string& value); + std::string* _internal_mutable_demo_version_name(); + public: + + // optional string demo_version_guid = 12; + bool has_demo_version_guid() const; + private: + bool _internal_has_demo_version_guid() const; + public: + void clear_demo_version_guid(); + const std::string& demo_version_guid() const; + template + void set_demo_version_guid(ArgT0&& arg0, ArgT... args); + std::string* mutable_demo_version_guid(); + PROTOBUF_NODISCARD std::string* release_demo_version_guid(); + void set_allocated_demo_version_guid(std::string* demo_version_guid); + private: + const std::string& _internal_demo_version_guid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_version_guid(const std::string& value); + std::string* _internal_mutable_demo_version_guid(); + public: + + // optional string game = 14; + bool has_game() const; + private: + bool _internal_has_game() const; + public: + void clear_game(); + const std::string& game() const; + template + void set_game(ArgT0&& arg0, ArgT... args); + std::string* mutable_game(); + PROTOBUF_NODISCARD std::string* release_game(); + void set_allocated_game(std::string* game); + private: + const std::string& _internal_game() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game(const std::string& value); + std::string* _internal_mutable_game(); + public: + + // optional int32 network_protocol = 2; + bool has_network_protocol() const; + private: + bool _internal_has_network_protocol() const; + public: + void clear_network_protocol(); + int32_t network_protocol() const; + void set_network_protocol(int32_t value); + private: + int32_t _internal_network_protocol() const; + void _internal_set_network_protocol(int32_t value); + public: + + // optional int32 fullpackets_version = 7; + bool has_fullpackets_version() const; + private: + bool _internal_has_fullpackets_version() const; + public: + void clear_fullpackets_version(); + int32_t fullpackets_version() const; + void set_fullpackets_version(int32_t value); + private: + int32_t _internal_fullpackets_version() const; + void _internal_set_fullpackets_version(int32_t value); + public: + + // optional bool allow_clientside_entities = 8; + bool has_allow_clientside_entities() const; + private: + bool _internal_has_allow_clientside_entities() const; + public: + void clear_allow_clientside_entities(); + bool allow_clientside_entities() const; + void set_allow_clientside_entities(bool value); + private: + bool _internal_allow_clientside_entities() const; + void _internal_set_allow_clientside_entities(bool value); + public: + + // optional bool allow_clientside_particles = 9; + bool has_allow_clientside_particles() const; + private: + bool _internal_has_allow_clientside_particles() const; + public: + void clear_allow_clientside_particles(); + bool allow_clientside_particles() const; + void set_allow_clientside_particles(bool value); + private: + bool _internal_allow_clientside_particles() const; + void _internal_set_allow_clientside_particles(bool value); + public: + + // optional int32 build_num = 13; + bool has_build_num() const; + private: + bool _internal_has_build_num() const; + public: + void clear_build_num(); + int32_t build_num() const; + void set_build_num(int32_t value); + private: + int32_t _internal_build_num() const; + void _internal_set_build_num(int32_t value); + public: + + // optional int32 server_start_tick = 15; + bool has_server_start_tick() const; + private: + bool _internal_has_server_start_tick() const; + public: + void clear_server_start_tick(); + int32_t server_start_tick() const; + void set_server_start_tick(int32_t value); + private: + int32_t _internal_server_start_tick() const; + void _internal_set_server_start_tick(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoFileHeader) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_file_stamp_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_directory_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addons_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_guid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_; + int32_t network_protocol_; + int32_t fullpackets_version_; + bool allow_clientside_entities_; + bool allow_clientside_particles_; + int32_t build_num_; + int32_t server_start_tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameInfo_CDotaGameInfo_CPlayerInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo.CPlayerInfo) */ { + public: + inline CGameInfo_CDotaGameInfo_CPlayerInfo() : CGameInfo_CDotaGameInfo_CPlayerInfo(nullptr) {} + ~CGameInfo_CDotaGameInfo_CPlayerInfo() override; + explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameInfo_CDotaGameInfo_CPlayerInfo(const CGameInfo_CDotaGameInfo_CPlayerInfo& from); + CGameInfo_CDotaGameInfo_CPlayerInfo(CGameInfo_CDotaGameInfo_CPlayerInfo&& from) noexcept + : CGameInfo_CDotaGameInfo_CPlayerInfo() { + *this = ::std::move(from); + } + + inline CGameInfo_CDotaGameInfo_CPlayerInfo& operator=(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { + CopyFrom(from); + return *this; + } + inline CGameInfo_CDotaGameInfo_CPlayerInfo& operator=(CGameInfo_CDotaGameInfo_CPlayerInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameInfo_CDotaGameInfo_CPlayerInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CGameInfo_CDotaGameInfo_CPlayerInfo* internal_default_instance() { + return reinterpret_cast( + &_CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CGameInfo_CDotaGameInfo_CPlayerInfo& a, CGameInfo_CDotaGameInfo_CPlayerInfo& b) { + a.Swap(&b); + } + inline void Swap(CGameInfo_CDotaGameInfo_CPlayerInfo* 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(CGameInfo_CDotaGameInfo_CPlayerInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameInfo_CDotaGameInfo_CPlayerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameInfo_CDotaGameInfo_CPlayerInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { + CGameInfo_CDotaGameInfo_CPlayerInfo::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(CGameInfo_CDotaGameInfo_CPlayerInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameInfo.CDotaGameInfo.CPlayerInfo"; + } + protected: + explicit CGameInfo_CDotaGameInfo_CPlayerInfo(::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 { + kHeroNameFieldNumber = 1, + kPlayerNameFieldNumber = 2, + kSteamidFieldNumber = 4, + kIsFakeClientFieldNumber = 3, + kGameTeamFieldNumber = 5, + }; + // optional string hero_name = 1; + bool has_hero_name() const; + private: + bool _internal_has_hero_name() const; + public: + void clear_hero_name(); + const std::string& hero_name() const; + template + void set_hero_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_hero_name(); + PROTOBUF_NODISCARD std::string* release_hero_name(); + void set_allocated_hero_name(std::string* hero_name); + private: + const std::string& _internal_hero_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_hero_name(const std::string& value); + std::string* _internal_mutable_hero_name(); + public: + + // optional string player_name = 2; + bool has_player_name() const; + private: + bool _internal_has_player_name() const; + public: + void clear_player_name(); + const std::string& player_name() const; + template + void set_player_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_player_name(); + PROTOBUF_NODISCARD std::string* release_player_name(); + void set_allocated_player_name(std::string* player_name); + private: + const std::string& _internal_player_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_name(const std::string& value); + std::string* _internal_mutable_player_name(); + public: + + // optional uint64 steamid = 4; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional bool is_fake_client = 3; + bool has_is_fake_client() const; + private: + bool _internal_has_is_fake_client() const; + public: + void clear_is_fake_client(); + bool is_fake_client() const; + void set_is_fake_client(bool value); + private: + bool _internal_is_fake_client() const; + void _internal_set_is_fake_client(bool value); + public: + + // optional int32 game_team = 5; + bool has_game_team() const; + private: + bool _internal_has_game_team() const; + public: + void clear_game_team(); + int32_t game_team() const; + void set_game_team(int32_t value); + private: + int32_t _internal_game_team() const; + void _internal_set_game_team(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CPlayerInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hero_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_name_; + uint64_t steamid_; + bool is_fake_client_; + int32_t game_team_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameInfo_CDotaGameInfo_CHeroSelectEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo.CHeroSelectEvent) */ { + public: + inline CGameInfo_CDotaGameInfo_CHeroSelectEvent() : CGameInfo_CDotaGameInfo_CHeroSelectEvent(nullptr) {} + ~CGameInfo_CDotaGameInfo_CHeroSelectEvent() override; + explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameInfo_CDotaGameInfo_CHeroSelectEvent(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from); + CGameInfo_CDotaGameInfo_CHeroSelectEvent(CGameInfo_CDotaGameInfo_CHeroSelectEvent&& from) noexcept + : CGameInfo_CDotaGameInfo_CHeroSelectEvent() { + *this = ::std::move(from); + } + + inline CGameInfo_CDotaGameInfo_CHeroSelectEvent& operator=(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { + CopyFrom(from); + return *this; + } + inline CGameInfo_CDotaGameInfo_CHeroSelectEvent& operator=(CGameInfo_CDotaGameInfo_CHeroSelectEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameInfo_CDotaGameInfo_CHeroSelectEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CGameInfo_CDotaGameInfo_CHeroSelectEvent* internal_default_instance() { + return reinterpret_cast( + &_CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CGameInfo_CDotaGameInfo_CHeroSelectEvent& a, CGameInfo_CDotaGameInfo_CHeroSelectEvent& b) { + a.Swap(&b); + } + inline void Swap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* 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(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameInfo_CDotaGameInfo_CHeroSelectEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { + CGameInfo_CDotaGameInfo_CHeroSelectEvent::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(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameInfo.CDotaGameInfo.CHeroSelectEvent"; + } + protected: + explicit CGameInfo_CDotaGameInfo_CHeroSelectEvent(::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 { + kIsPickFieldNumber = 1, + kTeamFieldNumber = 2, + kHeroIdFieldNumber = 3, + }; + // optional bool is_pick = 1; + bool has_is_pick() const; + private: + bool _internal_has_is_pick() const; + public: + void clear_is_pick(); + bool is_pick() const; + void set_is_pick(bool value); + private: + bool _internal_is_pick() const; + void _internal_set_is_pick(bool value); + public: + + // optional uint32 team = 2; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + uint32_t team() const; + void set_team(uint32_t value); + private: + uint32_t _internal_team() const; + void _internal_set_team(uint32_t value); + public: + + // optional int32 hero_id = 3; + bool has_hero_id() const; + private: + bool _internal_has_hero_id() const; + public: + void clear_hero_id(); + int32_t hero_id() const; + void set_hero_id(int32_t value); + private: + int32_t _internal_hero_id() const; + void _internal_set_hero_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CHeroSelectEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool is_pick_; + uint32_t team_; + int32_t hero_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameInfo_CDotaGameInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo) */ { + public: + inline CGameInfo_CDotaGameInfo() : CGameInfo_CDotaGameInfo(nullptr) {} + ~CGameInfo_CDotaGameInfo() override; + explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameInfo_CDotaGameInfo(const CGameInfo_CDotaGameInfo& from); + CGameInfo_CDotaGameInfo(CGameInfo_CDotaGameInfo&& from) noexcept + : CGameInfo_CDotaGameInfo() { + *this = ::std::move(from); + } + + inline CGameInfo_CDotaGameInfo& operator=(const CGameInfo_CDotaGameInfo& from) { + CopyFrom(from); + return *this; + } + inline CGameInfo_CDotaGameInfo& operator=(CGameInfo_CDotaGameInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameInfo_CDotaGameInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CGameInfo_CDotaGameInfo* internal_default_instance() { + return reinterpret_cast( + &_CGameInfo_CDotaGameInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CGameInfo_CDotaGameInfo& a, CGameInfo_CDotaGameInfo& b) { + a.Swap(&b); + } + inline void Swap(CGameInfo_CDotaGameInfo* 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(CGameInfo_CDotaGameInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameInfo_CDotaGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameInfo_CDotaGameInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameInfo_CDotaGameInfo& from) { + CGameInfo_CDotaGameInfo::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(CGameInfo_CDotaGameInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameInfo.CDotaGameInfo"; + } + protected: + explicit CGameInfo_CDotaGameInfo(::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 ---------------------------------------------------- + + typedef CGameInfo_CDotaGameInfo_CPlayerInfo CPlayerInfo; + typedef CGameInfo_CDotaGameInfo_CHeroSelectEvent CHeroSelectEvent; + + // accessors ------------------------------------------------------- + + enum : int { + kPlayerInfoFieldNumber = 4, + kPicksBansFieldNumber = 6, + kRadiantTeamTagFieldNumber = 9, + kDireTeamTagFieldNumber = 10, + kMatchIdFieldNumber = 1, + kGameModeFieldNumber = 2, + kGameWinnerFieldNumber = 3, + kLeagueidFieldNumber = 5, + kRadiantTeamIdFieldNumber = 7, + kDireTeamIdFieldNumber = 8, + kEndTimeFieldNumber = 11, + }; + // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; + int player_info_size() const; + private: + int _internal_player_info_size() const; + public: + void clear_player_info(); + ::CGameInfo_CDotaGameInfo_CPlayerInfo* mutable_player_info(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >* + mutable_player_info(); + private: + const ::CGameInfo_CDotaGameInfo_CPlayerInfo& _internal_player_info(int index) const; + ::CGameInfo_CDotaGameInfo_CPlayerInfo* _internal_add_player_info(); + public: + const ::CGameInfo_CDotaGameInfo_CPlayerInfo& player_info(int index) const; + ::CGameInfo_CDotaGameInfo_CPlayerInfo* add_player_info(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >& + player_info() const; + + // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; + int picks_bans_size() const; + private: + int _internal_picks_bans_size() const; + public: + void clear_picks_bans(); + ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* mutable_picks_bans(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >* + mutable_picks_bans(); + private: + const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& _internal_picks_bans(int index) const; + ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* _internal_add_picks_bans(); + public: + const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& picks_bans(int index) const; + ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* add_picks_bans(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >& + picks_bans() const; + + // optional string radiant_team_tag = 9; + bool has_radiant_team_tag() const; + private: + bool _internal_has_radiant_team_tag() const; + public: + void clear_radiant_team_tag(); + const std::string& radiant_team_tag() const; + template + void set_radiant_team_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_radiant_team_tag(); + PROTOBUF_NODISCARD std::string* release_radiant_team_tag(); + void set_allocated_radiant_team_tag(std::string* radiant_team_tag); + private: + const std::string& _internal_radiant_team_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_radiant_team_tag(const std::string& value); + std::string* _internal_mutable_radiant_team_tag(); + public: + + // optional string dire_team_tag = 10; + bool has_dire_team_tag() const; + private: + bool _internal_has_dire_team_tag() const; + public: + void clear_dire_team_tag(); + const std::string& dire_team_tag() const; + template + void set_dire_team_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_dire_team_tag(); + PROTOBUF_NODISCARD std::string* release_dire_team_tag(); + void set_allocated_dire_team_tag(std::string* dire_team_tag); + private: + const std::string& _internal_dire_team_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dire_team_tag(const std::string& value); + std::string* _internal_mutable_dire_team_tag(); + public: + + // optional uint64 match_id = 1; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional int32 game_mode = 2; + bool has_game_mode() const; + private: + bool _internal_has_game_mode() const; + public: + void clear_game_mode(); + int32_t game_mode() const; + void set_game_mode(int32_t value); + private: + int32_t _internal_game_mode() const; + void _internal_set_game_mode(int32_t value); + public: + + // optional int32 game_winner = 3; + bool has_game_winner() const; + private: + bool _internal_has_game_winner() const; + public: + void clear_game_winner(); + int32_t game_winner() const; + void set_game_winner(int32_t value); + private: + int32_t _internal_game_winner() const; + void _internal_set_game_winner(int32_t value); + public: + + // optional uint32 leagueid = 5; + bool has_leagueid() const; + private: + bool _internal_has_leagueid() const; + public: + void clear_leagueid(); + uint32_t leagueid() const; + void set_leagueid(uint32_t value); + private: + uint32_t _internal_leagueid() const; + void _internal_set_leagueid(uint32_t value); + public: + + // optional uint32 radiant_team_id = 7; + bool has_radiant_team_id() const; + private: + bool _internal_has_radiant_team_id() const; + public: + void clear_radiant_team_id(); + uint32_t radiant_team_id() const; + void set_radiant_team_id(uint32_t value); + private: + uint32_t _internal_radiant_team_id() const; + void _internal_set_radiant_team_id(uint32_t value); + public: + + // optional uint32 dire_team_id = 8; + bool has_dire_team_id() const; + private: + bool _internal_has_dire_team_id() const; + public: + void clear_dire_team_id(); + uint32_t dire_team_id() const; + void set_dire_team_id(uint32_t value); + private: + uint32_t _internal_dire_team_id() const; + void _internal_set_dire_team_id(uint32_t value); + public: + + // optional uint32 end_time = 11; + bool has_end_time() const; + private: + bool _internal_has_end_time() const; + public: + void clear_end_time(); + uint32_t end_time() const; + void set_end_time(uint32_t value); + private: + uint32_t _internal_end_time() const; + void _internal_set_end_time(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo > player_info_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent > picks_bans_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr radiant_team_tag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dire_team_tag_; + uint64_t match_id_; + int32_t game_mode_; + int32_t game_winner_; + uint32_t leagueid_; + uint32_t radiant_team_id_; + uint32_t dire_team_id_; + uint32_t end_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameInfo_CCSGameInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CCSGameInfo) */ { + public: + inline CGameInfo_CCSGameInfo() : CGameInfo_CCSGameInfo(nullptr) {} + ~CGameInfo_CCSGameInfo() override; + explicit PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameInfo_CCSGameInfo(const CGameInfo_CCSGameInfo& from); + CGameInfo_CCSGameInfo(CGameInfo_CCSGameInfo&& from) noexcept + : CGameInfo_CCSGameInfo() { + *this = ::std::move(from); + } + + inline CGameInfo_CCSGameInfo& operator=(const CGameInfo_CCSGameInfo& from) { + CopyFrom(from); + return *this; + } + inline CGameInfo_CCSGameInfo& operator=(CGameInfo_CCSGameInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameInfo_CCSGameInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CGameInfo_CCSGameInfo* internal_default_instance() { + return reinterpret_cast( + &_CGameInfo_CCSGameInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CGameInfo_CCSGameInfo& a, CGameInfo_CCSGameInfo& b) { + a.Swap(&b); + } + inline void Swap(CGameInfo_CCSGameInfo* 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(CGameInfo_CCSGameInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameInfo_CCSGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameInfo_CCSGameInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameInfo_CCSGameInfo& from) { + CGameInfo_CCSGameInfo::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(CGameInfo_CCSGameInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameInfo.CCSGameInfo"; + } + protected: + explicit CGameInfo_CCSGameInfo(::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 { + kRoundStartTicksFieldNumber = 1, + }; + // repeated int32 round_start_ticks = 1; + int round_start_ticks_size() const; + private: + int _internal_round_start_ticks_size() const; + public: + void clear_round_start_ticks(); + private: + int32_t _internal_round_start_ticks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_round_start_ticks() const; + void _internal_add_round_start_ticks(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_round_start_ticks(); + public: + int32_t round_start_ticks(int index) const; + void set_round_start_ticks(int index, int32_t value); + void add_round_start_ticks(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + round_start_ticks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_round_start_ticks(); + + // @@protoc_insertion_point(class_scope:CGameInfo.CCSGameInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > round_start_ticks_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo) */ { + public: + inline CGameInfo() : CGameInfo(nullptr) {} + ~CGameInfo() override; + explicit PROTOBUF_CONSTEXPR CGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameInfo(const CGameInfo& from); + CGameInfo(CGameInfo&& from) noexcept + : CGameInfo() { + *this = ::std::move(from); + } + + inline CGameInfo& operator=(const CGameInfo& from) { + CopyFrom(from); + return *this; + } + inline CGameInfo& operator=(CGameInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CGameInfo* internal_default_instance() { + return reinterpret_cast( + &_CGameInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CGameInfo& a, CGameInfo& b) { + a.Swap(&b); + } + inline void Swap(CGameInfo* 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(CGameInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameInfo& from) { + CGameInfo::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(CGameInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameInfo"; + } + protected: + explicit CGameInfo(::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 ---------------------------------------------------- + + typedef CGameInfo_CDotaGameInfo CDotaGameInfo; + typedef CGameInfo_CCSGameInfo CCSGameInfo; + + // accessors ------------------------------------------------------- + + enum : int { + kDotaFieldNumber = 4, + kCsFieldNumber = 5, + }; + // optional .CGameInfo.CDotaGameInfo dota = 4; + bool has_dota() const; + private: + bool _internal_has_dota() const; + public: + void clear_dota(); + const ::CGameInfo_CDotaGameInfo& dota() const; + PROTOBUF_NODISCARD ::CGameInfo_CDotaGameInfo* release_dota(); + ::CGameInfo_CDotaGameInfo* mutable_dota(); + void set_allocated_dota(::CGameInfo_CDotaGameInfo* dota); + private: + const ::CGameInfo_CDotaGameInfo& _internal_dota() const; + ::CGameInfo_CDotaGameInfo* _internal_mutable_dota(); + public: + void unsafe_arena_set_allocated_dota( + ::CGameInfo_CDotaGameInfo* dota); + ::CGameInfo_CDotaGameInfo* unsafe_arena_release_dota(); + + // optional .CGameInfo.CCSGameInfo cs = 5; + bool has_cs() const; + private: + bool _internal_has_cs() const; + public: + void clear_cs(); + const ::CGameInfo_CCSGameInfo& cs() const; + PROTOBUF_NODISCARD ::CGameInfo_CCSGameInfo* release_cs(); + ::CGameInfo_CCSGameInfo* mutable_cs(); + void set_allocated_cs(::CGameInfo_CCSGameInfo* cs); + private: + const ::CGameInfo_CCSGameInfo& _internal_cs() const; + ::CGameInfo_CCSGameInfo* _internal_mutable_cs(); + public: + void unsafe_arena_set_allocated_cs( + ::CGameInfo_CCSGameInfo* cs); + ::CGameInfo_CCSGameInfo* unsafe_arena_release_cs(); + + // @@protoc_insertion_point(class_scope:CGameInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CGameInfo_CDotaGameInfo* dota_; + ::CGameInfo_CCSGameInfo* cs_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoFileInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFileInfo) */ { + public: + inline CDemoFileInfo() : CDemoFileInfo(nullptr) {} + ~CDemoFileInfo() override; + explicit PROTOBUF_CONSTEXPR CDemoFileInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoFileInfo(const CDemoFileInfo& from); + CDemoFileInfo(CDemoFileInfo&& from) noexcept + : CDemoFileInfo() { + *this = ::std::move(from); + } + + inline CDemoFileInfo& operator=(const CDemoFileInfo& from) { + CopyFrom(from); + return *this; + } + inline CDemoFileInfo& operator=(CDemoFileInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoFileInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoFileInfo* internal_default_instance() { + return reinterpret_cast( + &_CDemoFileInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CDemoFileInfo& a, CDemoFileInfo& b) { + a.Swap(&b); + } + inline void Swap(CDemoFileInfo* 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(CDemoFileInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoFileInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoFileInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoFileInfo& from) { + CDemoFileInfo::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(CDemoFileInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoFileInfo"; + } + protected: + explicit CDemoFileInfo(::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 { + kGameInfoFieldNumber = 4, + kPlaybackTimeFieldNumber = 1, + kPlaybackTicksFieldNumber = 2, + kPlaybackFramesFieldNumber = 3, + }; + // optional .CGameInfo game_info = 4; + bool has_game_info() const; + private: + bool _internal_has_game_info() const; + public: + void clear_game_info(); + const ::CGameInfo& game_info() const; + PROTOBUF_NODISCARD ::CGameInfo* release_game_info(); + ::CGameInfo* mutable_game_info(); + void set_allocated_game_info(::CGameInfo* game_info); + private: + const ::CGameInfo& _internal_game_info() const; + ::CGameInfo* _internal_mutable_game_info(); + public: + void unsafe_arena_set_allocated_game_info( + ::CGameInfo* game_info); + ::CGameInfo* unsafe_arena_release_game_info(); + + // optional float playback_time = 1; + bool has_playback_time() const; + private: + bool _internal_has_playback_time() const; + public: + void clear_playback_time(); + float playback_time() const; + void set_playback_time(float value); + private: + float _internal_playback_time() const; + void _internal_set_playback_time(float value); + public: + + // optional int32 playback_ticks = 2; + bool has_playback_ticks() const; + private: + bool _internal_has_playback_ticks() const; + public: + void clear_playback_ticks(); + int32_t playback_ticks() const; + void set_playback_ticks(int32_t value); + private: + int32_t _internal_playback_ticks() const; + void _internal_set_playback_ticks(int32_t value); + public: + + // optional int32 playback_frames = 3; + bool has_playback_frames() const; + private: + bool _internal_has_playback_frames() const; + public: + void clear_playback_frames(); + int32_t playback_frames() const; + void set_playback_frames(int32_t value); + private: + int32_t _internal_playback_frames() const; + void _internal_set_playback_frames(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoFileInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CGameInfo* game_info_; + float playback_time_; + int32_t playback_ticks_; + int32_t playback_frames_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoPacket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoPacket) */ { + public: + inline CDemoPacket() : CDemoPacket(nullptr) {} + ~CDemoPacket() override; + explicit PROTOBUF_CONSTEXPR CDemoPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoPacket(const CDemoPacket& from); + CDemoPacket(CDemoPacket&& from) noexcept + : CDemoPacket() { + *this = ::std::move(from); + } + + inline CDemoPacket& operator=(const CDemoPacket& from) { + CopyFrom(from); + return *this; + } + inline CDemoPacket& operator=(CDemoPacket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoPacket& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoPacket* internal_default_instance() { + return reinterpret_cast( + &_CDemoPacket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CDemoPacket& a, CDemoPacket& b) { + a.Swap(&b); + } + inline void Swap(CDemoPacket* 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(CDemoPacket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoPacket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoPacket& from) { + CDemoPacket::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(CDemoPacket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoPacket"; + } + protected: + explicit CDemoPacket(::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 { + kDataFieldNumber = 3, + }; + // optional bytes data = 3; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CDemoPacket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoFullPacket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFullPacket) */ { + public: + inline CDemoFullPacket() : CDemoFullPacket(nullptr) {} + ~CDemoFullPacket() override; + explicit PROTOBUF_CONSTEXPR CDemoFullPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoFullPacket(const CDemoFullPacket& from); + CDemoFullPacket(CDemoFullPacket&& from) noexcept + : CDemoFullPacket() { + *this = ::std::move(from); + } + + inline CDemoFullPacket& operator=(const CDemoFullPacket& from) { + CopyFrom(from); + return *this; + } + inline CDemoFullPacket& operator=(CDemoFullPacket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoFullPacket& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoFullPacket* internal_default_instance() { + return reinterpret_cast( + &_CDemoFullPacket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CDemoFullPacket& a, CDemoFullPacket& b) { + a.Swap(&b); + } + inline void Swap(CDemoFullPacket* 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(CDemoFullPacket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoFullPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoFullPacket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoFullPacket& from) { + CDemoFullPacket::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(CDemoFullPacket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoFullPacket"; + } + protected: + explicit CDemoFullPacket(::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 { + kStringTableFieldNumber = 1, + kPacketFieldNumber = 2, + }; + // optional .CDemoStringTables string_table = 1; + bool has_string_table() const; + private: + bool _internal_has_string_table() const; + public: + void clear_string_table(); + const ::CDemoStringTables& string_table() const; + PROTOBUF_NODISCARD ::CDemoStringTables* release_string_table(); + ::CDemoStringTables* mutable_string_table(); + void set_allocated_string_table(::CDemoStringTables* string_table); + private: + const ::CDemoStringTables& _internal_string_table() const; + ::CDemoStringTables* _internal_mutable_string_table(); + public: + void unsafe_arena_set_allocated_string_table( + ::CDemoStringTables* string_table); + ::CDemoStringTables* unsafe_arena_release_string_table(); + + // optional .CDemoPacket packet = 2; + bool has_packet() const; + private: + bool _internal_has_packet() const; + public: + void clear_packet(); + const ::CDemoPacket& packet() const; + PROTOBUF_NODISCARD ::CDemoPacket* release_packet(); + ::CDemoPacket* mutable_packet(); + void set_allocated_packet(::CDemoPacket* packet); + private: + const ::CDemoPacket& _internal_packet() const; + ::CDemoPacket* _internal_mutable_packet(); + public: + void unsafe_arena_set_allocated_packet( + ::CDemoPacket* packet); + ::CDemoPacket* unsafe_arena_release_packet(); + + // @@protoc_insertion_point(class_scope:CDemoFullPacket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CDemoStringTables* string_table_; + ::CDemoPacket* packet_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoSaveGame final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSaveGame) */ { + public: + inline CDemoSaveGame() : CDemoSaveGame(nullptr) {} + ~CDemoSaveGame() override; + explicit PROTOBUF_CONSTEXPR CDemoSaveGame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoSaveGame(const CDemoSaveGame& from); + CDemoSaveGame(CDemoSaveGame&& from) noexcept + : CDemoSaveGame() { + *this = ::std::move(from); + } + + inline CDemoSaveGame& operator=(const CDemoSaveGame& from) { + CopyFrom(from); + return *this; + } + inline CDemoSaveGame& operator=(CDemoSaveGame&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoSaveGame& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoSaveGame* internal_default_instance() { + return reinterpret_cast( + &_CDemoSaveGame_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CDemoSaveGame& a, CDemoSaveGame& b) { + a.Swap(&b); + } + inline void Swap(CDemoSaveGame* 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(CDemoSaveGame* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoSaveGame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoSaveGame& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoSaveGame& from) { + CDemoSaveGame::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(CDemoSaveGame* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoSaveGame"; + } + protected: + explicit CDemoSaveGame(::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 { + kDataFieldNumber = 1, + kSteamIdFieldNumber = 2, + kSignatureFieldNumber = 3, + kVersionFieldNumber = 4, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional fixed64 steam_id = 2; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // optional fixed64 signature = 3; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + uint64_t signature() const; + void set_signature(uint64_t value); + private: + uint64_t _internal_signature() const; + void _internal_set_signature(uint64_t value); + public: + + // optional int32 version = 4; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + int32_t version() const; + void set_version(int32_t value); + private: + int32_t _internal_version() const; + void _internal_set_version(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoSaveGame) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + uint64_t steam_id_; + uint64_t signature_; + int32_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoSyncTick final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CDemoSyncTick) */ { + public: + inline CDemoSyncTick() : CDemoSyncTick(nullptr) {} + explicit PROTOBUF_CONSTEXPR CDemoSyncTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoSyncTick(const CDemoSyncTick& from); + CDemoSyncTick(CDemoSyncTick&& from) noexcept + : CDemoSyncTick() { + *this = ::std::move(from); + } + + inline CDemoSyncTick& operator=(const CDemoSyncTick& from) { + CopyFrom(from); + return *this; + } + inline CDemoSyncTick& operator=(CDemoSyncTick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoSyncTick& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoSyncTick* internal_default_instance() { + return reinterpret_cast( + &_CDemoSyncTick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CDemoSyncTick& a, CDemoSyncTick& b) { + a.Swap(&b); + } + inline void Swap(CDemoSyncTick* 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(CDemoSyncTick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoSyncTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CDemoSyncTick& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CDemoSyncTick& 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 "CDemoSyncTick"; + } + protected: + explicit CDemoSyncTick(::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:CDemoSyncTick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoConsoleCmd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoConsoleCmd) */ { + public: + inline CDemoConsoleCmd() : CDemoConsoleCmd(nullptr) {} + ~CDemoConsoleCmd() override; + explicit PROTOBUF_CONSTEXPR CDemoConsoleCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoConsoleCmd(const CDemoConsoleCmd& from); + CDemoConsoleCmd(CDemoConsoleCmd&& from) noexcept + : CDemoConsoleCmd() { + *this = ::std::move(from); + } + + inline CDemoConsoleCmd& operator=(const CDemoConsoleCmd& from) { + CopyFrom(from); + return *this; + } + inline CDemoConsoleCmd& operator=(CDemoConsoleCmd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoConsoleCmd& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoConsoleCmd* internal_default_instance() { + return reinterpret_cast( + &_CDemoConsoleCmd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CDemoConsoleCmd& a, CDemoConsoleCmd& b) { + a.Swap(&b); + } + inline void Swap(CDemoConsoleCmd* 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(CDemoConsoleCmd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoConsoleCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoConsoleCmd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoConsoleCmd& from) { + CDemoConsoleCmd::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(CDemoConsoleCmd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoConsoleCmd"; + } + protected: + explicit CDemoConsoleCmd(::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 { + kCmdstringFieldNumber = 1, + }; + // optional string cmdstring = 1; + bool has_cmdstring() const; + private: + bool _internal_has_cmdstring() const; + public: + void clear_cmdstring(); + const std::string& cmdstring() const; + template + void set_cmdstring(ArgT0&& arg0, ArgT... args); + std::string* mutable_cmdstring(); + PROTOBUF_NODISCARD std::string* release_cmdstring(); + void set_allocated_cmdstring(std::string* cmdstring); + private: + const std::string& _internal_cmdstring() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cmdstring(const std::string& value); + std::string* _internal_mutable_cmdstring(); + public: + + // @@protoc_insertion_point(class_scope:CDemoConsoleCmd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cmdstring_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoSendTables final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSendTables) */ { + public: + inline CDemoSendTables() : CDemoSendTables(nullptr) {} + ~CDemoSendTables() override; + explicit PROTOBUF_CONSTEXPR CDemoSendTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoSendTables(const CDemoSendTables& from); + CDemoSendTables(CDemoSendTables&& from) noexcept + : CDemoSendTables() { + *this = ::std::move(from); + } + + inline CDemoSendTables& operator=(const CDemoSendTables& from) { + CopyFrom(from); + return *this; + } + inline CDemoSendTables& operator=(CDemoSendTables&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoSendTables& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoSendTables* internal_default_instance() { + return reinterpret_cast( + &_CDemoSendTables_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CDemoSendTables& a, CDemoSendTables& b) { + a.Swap(&b); + } + inline void Swap(CDemoSendTables* 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(CDemoSendTables* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoSendTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoSendTables& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoSendTables& from) { + CDemoSendTables::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(CDemoSendTables* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoSendTables"; + } + protected: + explicit CDemoSendTables(::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 { + kDataFieldNumber = 1, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CDemoSendTables) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoClassInfo_class_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoClassInfo.class_t) */ { + public: + inline CDemoClassInfo_class_t() : CDemoClassInfo_class_t(nullptr) {} + ~CDemoClassInfo_class_t() override; + explicit PROTOBUF_CONSTEXPR CDemoClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoClassInfo_class_t(const CDemoClassInfo_class_t& from); + CDemoClassInfo_class_t(CDemoClassInfo_class_t&& from) noexcept + : CDemoClassInfo_class_t() { + *this = ::std::move(from); + } + + inline CDemoClassInfo_class_t& operator=(const CDemoClassInfo_class_t& from) { + CopyFrom(from); + return *this; + } + inline CDemoClassInfo_class_t& operator=(CDemoClassInfo_class_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoClassInfo_class_t& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoClassInfo_class_t* internal_default_instance() { + return reinterpret_cast( + &_CDemoClassInfo_class_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CDemoClassInfo_class_t& a, CDemoClassInfo_class_t& b) { + a.Swap(&b); + } + inline void Swap(CDemoClassInfo_class_t* 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(CDemoClassInfo_class_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoClassInfo_class_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoClassInfo_class_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoClassInfo_class_t& from) { + CDemoClassInfo_class_t::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(CDemoClassInfo_class_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoClassInfo.class_t"; + } + protected: + explicit CDemoClassInfo_class_t(::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 { + kNetworkNameFieldNumber = 2, + kTableNameFieldNumber = 3, + kClassIdFieldNumber = 1, + }; + // optional string network_name = 2; + bool has_network_name() const; + private: + bool _internal_has_network_name() const; + public: + void clear_network_name(); + const std::string& network_name() const; + template + void set_network_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_network_name(); + PROTOBUF_NODISCARD std::string* release_network_name(); + void set_allocated_network_name(std::string* network_name); + private: + const std::string& _internal_network_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_network_name(const std::string& value); + std::string* _internal_mutable_network_name(); + public: + + // optional string table_name = 3; + bool has_table_name() const; + private: + bool _internal_has_table_name() const; + public: + void clear_table_name(); + const std::string& table_name() const; + template + void set_table_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_table_name(); + PROTOBUF_NODISCARD std::string* release_table_name(); + void set_allocated_table_name(std::string* table_name); + private: + const std::string& _internal_table_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_table_name(const std::string& value); + std::string* _internal_mutable_table_name(); + public: + + // optional int32 class_id = 1; + bool has_class_id() const; + private: + bool _internal_has_class_id() const; + public: + void clear_class_id(); + int32_t class_id() const; + void set_class_id(int32_t value); + private: + int32_t _internal_class_id() const; + void _internal_set_class_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoClassInfo.class_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr network_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; + int32_t class_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoClassInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoClassInfo) */ { + public: + inline CDemoClassInfo() : CDemoClassInfo(nullptr) {} + ~CDemoClassInfo() override; + explicit PROTOBUF_CONSTEXPR CDemoClassInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoClassInfo(const CDemoClassInfo& from); + CDemoClassInfo(CDemoClassInfo&& from) noexcept + : CDemoClassInfo() { + *this = ::std::move(from); + } + + inline CDemoClassInfo& operator=(const CDemoClassInfo& from) { + CopyFrom(from); + return *this; + } + inline CDemoClassInfo& operator=(CDemoClassInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoClassInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoClassInfo* internal_default_instance() { + return reinterpret_cast( + &_CDemoClassInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CDemoClassInfo& a, CDemoClassInfo& b) { + a.Swap(&b); + } + inline void Swap(CDemoClassInfo* 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(CDemoClassInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoClassInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoClassInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoClassInfo& from) { + CDemoClassInfo::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(CDemoClassInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoClassInfo"; + } + protected: + explicit CDemoClassInfo(::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 ---------------------------------------------------- + + typedef CDemoClassInfo_class_t class_t; + + // accessors ------------------------------------------------------- + + enum : int { + kClassesFieldNumber = 1, + }; + // repeated .CDemoClassInfo.class_t classes = 1; + int classes_size() const; + private: + int _internal_classes_size() const; + public: + void clear_classes(); + ::CDemoClassInfo_class_t* mutable_classes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >* + mutable_classes(); + private: + const ::CDemoClassInfo_class_t& _internal_classes(int index) const; + ::CDemoClassInfo_class_t* _internal_add_classes(); + public: + const ::CDemoClassInfo_class_t& classes(int index) const; + ::CDemoClassInfo_class_t* add_classes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >& + classes() const; + + // @@protoc_insertion_point(class_scope:CDemoClassInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t > classes_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoCustomData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoCustomData) */ { + public: + inline CDemoCustomData() : CDemoCustomData(nullptr) {} + ~CDemoCustomData() override; + explicit PROTOBUF_CONSTEXPR CDemoCustomData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoCustomData(const CDemoCustomData& from); + CDemoCustomData(CDemoCustomData&& from) noexcept + : CDemoCustomData() { + *this = ::std::move(from); + } + + inline CDemoCustomData& operator=(const CDemoCustomData& from) { + CopyFrom(from); + return *this; + } + inline CDemoCustomData& operator=(CDemoCustomData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoCustomData& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoCustomData* internal_default_instance() { + return reinterpret_cast( + &_CDemoCustomData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CDemoCustomData& a, CDemoCustomData& b) { + a.Swap(&b); + } + inline void Swap(CDemoCustomData* 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(CDemoCustomData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoCustomData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoCustomData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoCustomData& from) { + CDemoCustomData::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(CDemoCustomData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoCustomData"; + } + protected: + explicit CDemoCustomData(::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 { + kDataFieldNumber = 2, + kCallbackIndexFieldNumber = 1, + }; + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 callback_index = 1; + bool has_callback_index() const; + private: + bool _internal_has_callback_index() const; + public: + void clear_callback_index(); + int32_t callback_index() const; + void set_callback_index(int32_t value); + private: + int32_t _internal_callback_index() const; + void _internal_set_callback_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoCustomData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t callback_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoCustomDataCallbacks final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoCustomDataCallbacks) */ { + public: + inline CDemoCustomDataCallbacks() : CDemoCustomDataCallbacks(nullptr) {} + ~CDemoCustomDataCallbacks() override; + explicit PROTOBUF_CONSTEXPR CDemoCustomDataCallbacks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoCustomDataCallbacks(const CDemoCustomDataCallbacks& from); + CDemoCustomDataCallbacks(CDemoCustomDataCallbacks&& from) noexcept + : CDemoCustomDataCallbacks() { + *this = ::std::move(from); + } + + inline CDemoCustomDataCallbacks& operator=(const CDemoCustomDataCallbacks& from) { + CopyFrom(from); + return *this; + } + inline CDemoCustomDataCallbacks& operator=(CDemoCustomDataCallbacks&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoCustomDataCallbacks& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoCustomDataCallbacks* internal_default_instance() { + return reinterpret_cast( + &_CDemoCustomDataCallbacks_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CDemoCustomDataCallbacks& a, CDemoCustomDataCallbacks& b) { + a.Swap(&b); + } + inline void Swap(CDemoCustomDataCallbacks* 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(CDemoCustomDataCallbacks* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoCustomDataCallbacks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoCustomDataCallbacks& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoCustomDataCallbacks& from) { + CDemoCustomDataCallbacks::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(CDemoCustomDataCallbacks* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoCustomDataCallbacks"; + } + protected: + explicit CDemoCustomDataCallbacks(::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 { + kSaveIdFieldNumber = 1, + }; + // repeated string save_id = 1; + int save_id_size() const; + private: + int _internal_save_id_size() const; + public: + void clear_save_id(); + const std::string& save_id(int index) const; + std::string* mutable_save_id(int index); + void set_save_id(int index, const std::string& value); + void set_save_id(int index, std::string&& value); + void set_save_id(int index, const char* value); + void set_save_id(int index, const char* value, size_t size); + std::string* add_save_id(); + void add_save_id(const std::string& value); + void add_save_id(std::string&& value); + void add_save_id(const char* value); + void add_save_id(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& save_id() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_save_id(); + private: + const std::string& _internal_save_id(int index) const; + std::string* _internal_add_save_id(); + public: + + // @@protoc_insertion_point(class_scope:CDemoCustomDataCallbacks) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField save_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoAnimationHeader final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoAnimationHeader) */ { + public: + inline CDemoAnimationHeader() : CDemoAnimationHeader(nullptr) {} + ~CDemoAnimationHeader() override; + explicit PROTOBUF_CONSTEXPR CDemoAnimationHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoAnimationHeader(const CDemoAnimationHeader& from); + CDemoAnimationHeader(CDemoAnimationHeader&& from) noexcept + : CDemoAnimationHeader() { + *this = ::std::move(from); + } + + inline CDemoAnimationHeader& operator=(const CDemoAnimationHeader& from) { + CopyFrom(from); + return *this; + } + inline CDemoAnimationHeader& operator=(CDemoAnimationHeader&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoAnimationHeader& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoAnimationHeader* internal_default_instance() { + return reinterpret_cast( + &_CDemoAnimationHeader_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CDemoAnimationHeader& a, CDemoAnimationHeader& b) { + a.Swap(&b); + } + inline void Swap(CDemoAnimationHeader* 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(CDemoAnimationHeader* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoAnimationHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoAnimationHeader& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoAnimationHeader& from) { + CDemoAnimationHeader::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(CDemoAnimationHeader* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoAnimationHeader"; + } + protected: + explicit CDemoAnimationHeader(::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 { + kDataFieldNumber = 3, + kEntityIdFieldNumber = 1, + kTickFieldNumber = 2, + }; + // optional bytes data = 3; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional sint32 entity_id = 1; + bool has_entity_id() const; + private: + bool _internal_has_entity_id() const; + public: + void clear_entity_id(); + int32_t entity_id() const; + void set_entity_id(int32_t value); + private: + int32_t _internal_entity_id() const; + void _internal_set_entity_id(int32_t value); + public: + + // optional int32 tick = 2; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoAnimationHeader) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t entity_id_; + int32_t tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoAnimationData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoAnimationData) */ { + public: + inline CDemoAnimationData() : CDemoAnimationData(nullptr) {} + ~CDemoAnimationData() override; + explicit PROTOBUF_CONSTEXPR CDemoAnimationData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoAnimationData(const CDemoAnimationData& from); + CDemoAnimationData(CDemoAnimationData&& from) noexcept + : CDemoAnimationData() { + *this = ::std::move(from); + } + + inline CDemoAnimationData& operator=(const CDemoAnimationData& from) { + CopyFrom(from); + return *this; + } + inline CDemoAnimationData& operator=(CDemoAnimationData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoAnimationData& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoAnimationData* internal_default_instance() { + return reinterpret_cast( + &_CDemoAnimationData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CDemoAnimationData& a, CDemoAnimationData& b) { + a.Swap(&b); + } + inline void Swap(CDemoAnimationData* 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(CDemoAnimationData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoAnimationData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoAnimationData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoAnimationData& from) { + CDemoAnimationData::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(CDemoAnimationData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoAnimationData"; + } + protected: + explicit CDemoAnimationData(::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 { + kDataFieldNumber = 4, + kEntityIdFieldNumber = 1, + kStartTickFieldNumber = 2, + kDataChecksumFieldNumber = 5, + kEndTickFieldNumber = 3, + }; + // optional bytes data = 4; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional sint32 entity_id = 1; + bool has_entity_id() const; + private: + bool _internal_has_entity_id() const; + public: + void clear_entity_id(); + int32_t entity_id() const; + void set_entity_id(int32_t value); + private: + int32_t _internal_entity_id() const; + void _internal_set_entity_id(int32_t value); + public: + + // optional int32 start_tick = 2; + bool has_start_tick() const; + private: + bool _internal_has_start_tick() const; + public: + void clear_start_tick(); + int32_t start_tick() const; + void set_start_tick(int32_t value); + private: + int32_t _internal_start_tick() const; + void _internal_set_start_tick(int32_t value); + public: + + // optional int64 data_checksum = 5; + bool has_data_checksum() const; + private: + bool _internal_has_data_checksum() const; + public: + void clear_data_checksum(); + int64_t data_checksum() const; + void set_data_checksum(int64_t value); + private: + int64_t _internal_data_checksum() const; + void _internal_set_data_checksum(int64_t value); + public: + + // optional int32 end_tick = 3; + bool has_end_tick() const; + private: + bool _internal_has_end_tick() const; + public: + void clear_end_tick(); + int32_t end_tick() const; + void set_end_tick(int32_t value); + private: + int32_t _internal_end_tick() const; + void _internal_set_end_tick(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoAnimationData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t entity_id_; + int32_t start_tick_; + int64_t data_checksum_; + int32_t end_tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoStringTables_items_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables.items_t) */ { + public: + inline CDemoStringTables_items_t() : CDemoStringTables_items_t(nullptr) {} + ~CDemoStringTables_items_t() override; + explicit PROTOBUF_CONSTEXPR CDemoStringTables_items_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoStringTables_items_t(const CDemoStringTables_items_t& from); + CDemoStringTables_items_t(CDemoStringTables_items_t&& from) noexcept + : CDemoStringTables_items_t() { + *this = ::std::move(from); + } + + inline CDemoStringTables_items_t& operator=(const CDemoStringTables_items_t& from) { + CopyFrom(from); + return *this; + } + inline CDemoStringTables_items_t& operator=(CDemoStringTables_items_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoStringTables_items_t& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoStringTables_items_t* internal_default_instance() { + return reinterpret_cast( + &_CDemoStringTables_items_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CDemoStringTables_items_t& a, CDemoStringTables_items_t& b) { + a.Swap(&b); + } + inline void Swap(CDemoStringTables_items_t* 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(CDemoStringTables_items_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoStringTables_items_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoStringTables_items_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoStringTables_items_t& from) { + CDemoStringTables_items_t::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(CDemoStringTables_items_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoStringTables.items_t"; + } + protected: + explicit CDemoStringTables_items_t(::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 { + kStrFieldNumber = 1, + kDataFieldNumber = 2, + }; + // optional string str = 1; + bool has_str() const; + private: + bool _internal_has_str() const; + public: + void clear_str(); + const std::string& str() const; + template + void set_str(ArgT0&& arg0, ArgT... args); + std::string* mutable_str(); + PROTOBUF_NODISCARD std::string* release_str(); + void set_allocated_str(std::string* str); + private: + const std::string& _internal_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_str(const std::string& value); + std::string* _internal_mutable_str(); + public: + + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CDemoStringTables.items_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoStringTables_table_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables.table_t) */ { + public: + inline CDemoStringTables_table_t() : CDemoStringTables_table_t(nullptr) {} + ~CDemoStringTables_table_t() override; + explicit PROTOBUF_CONSTEXPR CDemoStringTables_table_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoStringTables_table_t(const CDemoStringTables_table_t& from); + CDemoStringTables_table_t(CDemoStringTables_table_t&& from) noexcept + : CDemoStringTables_table_t() { + *this = ::std::move(from); + } + + inline CDemoStringTables_table_t& operator=(const CDemoStringTables_table_t& from) { + CopyFrom(from); + return *this; + } + inline CDemoStringTables_table_t& operator=(CDemoStringTables_table_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoStringTables_table_t& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoStringTables_table_t* internal_default_instance() { + return reinterpret_cast( + &_CDemoStringTables_table_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CDemoStringTables_table_t& a, CDemoStringTables_table_t& b) { + a.Swap(&b); + } + inline void Swap(CDemoStringTables_table_t* 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(CDemoStringTables_table_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoStringTables_table_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoStringTables_table_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoStringTables_table_t& from) { + CDemoStringTables_table_t::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(CDemoStringTables_table_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoStringTables.table_t"; + } + protected: + explicit CDemoStringTables_table_t(::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 { + kItemsFieldNumber = 2, + kItemsClientsideFieldNumber = 3, + kTableNameFieldNumber = 1, + kTableFlagsFieldNumber = 4, + }; + // repeated .CDemoStringTables.items_t items = 2; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + ::CDemoStringTables_items_t* mutable_items(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* + mutable_items(); + private: + const ::CDemoStringTables_items_t& _internal_items(int index) const; + ::CDemoStringTables_items_t* _internal_add_items(); + public: + const ::CDemoStringTables_items_t& items(int index) const; + ::CDemoStringTables_items_t* add_items(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& + items() const; + + // repeated .CDemoStringTables.items_t items_clientside = 3; + int items_clientside_size() const; + private: + int _internal_items_clientside_size() const; + public: + void clear_items_clientside(); + ::CDemoStringTables_items_t* mutable_items_clientside(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* + mutable_items_clientside(); + private: + const ::CDemoStringTables_items_t& _internal_items_clientside(int index) const; + ::CDemoStringTables_items_t* _internal_add_items_clientside(); + public: + const ::CDemoStringTables_items_t& items_clientside(int index) const; + ::CDemoStringTables_items_t* add_items_clientside(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& + items_clientside() const; + + // optional string table_name = 1; + bool has_table_name() const; + private: + bool _internal_has_table_name() const; + public: + void clear_table_name(); + const std::string& table_name() const; + template + void set_table_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_table_name(); + PROTOBUF_NODISCARD std::string* release_table_name(); + void set_allocated_table_name(std::string* table_name); + private: + const std::string& _internal_table_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_table_name(const std::string& value); + std::string* _internal_mutable_table_name(); + public: + + // optional int32 table_flags = 4; + bool has_table_flags() const; + private: + bool _internal_has_table_flags() const; + public: + void clear_table_flags(); + int32_t table_flags() const; + void set_table_flags(int32_t value); + private: + int32_t _internal_table_flags() const; + void _internal_set_table_flags(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoStringTables.table_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t > items_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t > items_clientside_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; + int32_t table_flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoStringTables final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables) */ { + public: + inline CDemoStringTables() : CDemoStringTables(nullptr) {} + ~CDemoStringTables() override; + explicit PROTOBUF_CONSTEXPR CDemoStringTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoStringTables(const CDemoStringTables& from); + CDemoStringTables(CDemoStringTables&& from) noexcept + : CDemoStringTables() { + *this = ::std::move(from); + } + + inline CDemoStringTables& operator=(const CDemoStringTables& from) { + CopyFrom(from); + return *this; + } + inline CDemoStringTables& operator=(CDemoStringTables&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoStringTables& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoStringTables* internal_default_instance() { + return reinterpret_cast( + &_CDemoStringTables_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CDemoStringTables& a, CDemoStringTables& b) { + a.Swap(&b); + } + inline void Swap(CDemoStringTables* 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(CDemoStringTables* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoStringTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoStringTables& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoStringTables& from) { + CDemoStringTables::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(CDemoStringTables* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoStringTables"; + } + protected: + explicit CDemoStringTables(::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 ---------------------------------------------------- + + typedef CDemoStringTables_items_t items_t; + typedef CDemoStringTables_table_t table_t; + + // accessors ------------------------------------------------------- + + enum : int { + kTablesFieldNumber = 1, + }; + // repeated .CDemoStringTables.table_t tables = 1; + int tables_size() const; + private: + int _internal_tables_size() const; + public: + void clear_tables(); + ::CDemoStringTables_table_t* mutable_tables(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >* + mutable_tables(); + private: + const ::CDemoStringTables_table_t& _internal_tables(int index) const; + ::CDemoStringTables_table_t* _internal_add_tables(); + public: + const ::CDemoStringTables_table_t& tables(int index) const; + ::CDemoStringTables_table_t* add_tables(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >& + tables() const; + + // @@protoc_insertion_point(class_scope:CDemoStringTables) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t > tables_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoStop final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CDemoStop) */ { + public: + inline CDemoStop() : CDemoStop(nullptr) {} + explicit PROTOBUF_CONSTEXPR CDemoStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoStop(const CDemoStop& from); + CDemoStop(CDemoStop&& from) noexcept + : CDemoStop() { + *this = ::std::move(from); + } + + inline CDemoStop& operator=(const CDemoStop& from) { + CopyFrom(from); + return *this; + } + inline CDemoStop& operator=(CDemoStop&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoStop& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoStop* internal_default_instance() { + return reinterpret_cast( + &_CDemoStop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CDemoStop& a, CDemoStop& b) { + a.Swap(&b); + } + inline void Swap(CDemoStop* 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(CDemoStop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CDemoStop& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CDemoStop& 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 "CDemoStop"; + } + protected: + explicit CDemoStop(::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:CDemoStop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoUserCmd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoUserCmd) */ { + public: + inline CDemoUserCmd() : CDemoUserCmd(nullptr) {} + ~CDemoUserCmd() override; + explicit PROTOBUF_CONSTEXPR CDemoUserCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoUserCmd(const CDemoUserCmd& from); + CDemoUserCmd(CDemoUserCmd&& from) noexcept + : CDemoUserCmd() { + *this = ::std::move(from); + } + + inline CDemoUserCmd& operator=(const CDemoUserCmd& from) { + CopyFrom(from); + return *this; + } + inline CDemoUserCmd& operator=(CDemoUserCmd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoUserCmd& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoUserCmd* internal_default_instance() { + return reinterpret_cast( + &_CDemoUserCmd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CDemoUserCmd& a, CDemoUserCmd& b) { + a.Swap(&b); + } + inline void Swap(CDemoUserCmd* 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(CDemoUserCmd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoUserCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoUserCmd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoUserCmd& from) { + CDemoUserCmd::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(CDemoUserCmd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoUserCmd"; + } + protected: + explicit CDemoUserCmd(::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 { + kDataFieldNumber = 2, + kCmdNumberFieldNumber = 1, + }; + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 cmd_number = 1; + bool has_cmd_number() const; + private: + bool _internal_has_cmd_number() const; + public: + void clear_cmd_number(); + int32_t cmd_number() const; + void set_cmd_number(int32_t value); + private: + int32_t _internal_cmd_number() const; + void _internal_set_cmd_number(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CDemoUserCmd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t cmd_number_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoSpawnGroups final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSpawnGroups) */ { + public: + inline CDemoSpawnGroups() : CDemoSpawnGroups(nullptr) {} + ~CDemoSpawnGroups() override; + explicit PROTOBUF_CONSTEXPR CDemoSpawnGroups(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoSpawnGroups(const CDemoSpawnGroups& from); + CDemoSpawnGroups(CDemoSpawnGroups&& from) noexcept + : CDemoSpawnGroups() { + *this = ::std::move(from); + } + + inline CDemoSpawnGroups& operator=(const CDemoSpawnGroups& from) { + CopyFrom(from); + return *this; + } + inline CDemoSpawnGroups& operator=(CDemoSpawnGroups&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoSpawnGroups& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoSpawnGroups* internal_default_instance() { + return reinterpret_cast( + &_CDemoSpawnGroups_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CDemoSpawnGroups& a, CDemoSpawnGroups& b) { + a.Swap(&b); + } + inline void Swap(CDemoSpawnGroups* 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(CDemoSpawnGroups* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoSpawnGroups* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoSpawnGroups& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoSpawnGroups& from) { + CDemoSpawnGroups::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(CDemoSpawnGroups* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoSpawnGroups"; + } + protected: + explicit CDemoSpawnGroups(::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 { + kMsgsFieldNumber = 3, + }; + // repeated bytes msgs = 3; + int msgs_size() const; + private: + int _internal_msgs_size() const; + public: + void clear_msgs(); + const std::string& msgs(int index) const; + std::string* mutable_msgs(int index); + void set_msgs(int index, const std::string& value); + void set_msgs(int index, std::string&& value); + void set_msgs(int index, const char* value); + void set_msgs(int index, const void* value, size_t size); + std::string* add_msgs(); + void add_msgs(const std::string& value); + void add_msgs(std::string&& value); + void add_msgs(const char* value); + void add_msgs(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& msgs() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_msgs(); + private: + const std::string& _internal_msgs(int index) const; + std::string* _internal_add_msgs(); + public: + + // @@protoc_insertion_point(class_scope:CDemoSpawnGroups) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField msgs_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoRecovery_DemoInitialSpawnGroupEntry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoRecovery.DemoInitialSpawnGroupEntry) */ { + public: + inline CDemoRecovery_DemoInitialSpawnGroupEntry() : CDemoRecovery_DemoInitialSpawnGroupEntry(nullptr) {} + ~CDemoRecovery_DemoInitialSpawnGroupEntry() override; + explicit PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoRecovery_DemoInitialSpawnGroupEntry(const CDemoRecovery_DemoInitialSpawnGroupEntry& from); + CDemoRecovery_DemoInitialSpawnGroupEntry(CDemoRecovery_DemoInitialSpawnGroupEntry&& from) noexcept + : CDemoRecovery_DemoInitialSpawnGroupEntry() { + *this = ::std::move(from); + } + + inline CDemoRecovery_DemoInitialSpawnGroupEntry& operator=(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { + CopyFrom(from); + return *this; + } + inline CDemoRecovery_DemoInitialSpawnGroupEntry& operator=(CDemoRecovery_DemoInitialSpawnGroupEntry&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoRecovery_DemoInitialSpawnGroupEntry& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoRecovery_DemoInitialSpawnGroupEntry* internal_default_instance() { + return reinterpret_cast( + &_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CDemoRecovery_DemoInitialSpawnGroupEntry& a, CDemoRecovery_DemoInitialSpawnGroupEntry& b) { + a.Swap(&b); + } + inline void Swap(CDemoRecovery_DemoInitialSpawnGroupEntry* 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(CDemoRecovery_DemoInitialSpawnGroupEntry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoRecovery_DemoInitialSpawnGroupEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoRecovery_DemoInitialSpawnGroupEntry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { + CDemoRecovery_DemoInitialSpawnGroupEntry::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(CDemoRecovery_DemoInitialSpawnGroupEntry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoRecovery.DemoInitialSpawnGroupEntry"; + } + protected: + explicit CDemoRecovery_DemoInitialSpawnGroupEntry(::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 { + kSpawngrouphandleFieldNumber = 1, + kWasCreatedFieldNumber = 2, + }; + // optional uint32 spawngrouphandle = 1; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // optional bool was_created = 2; + bool has_was_created() const; + private: + bool _internal_has_was_created() const; + public: + void clear_was_created(); + bool was_created() const; + void set_was_created(bool value); + private: + bool _internal_was_created() const; + void _internal_set_was_created(bool value); + public: + + // @@protoc_insertion_point(class_scope:CDemoRecovery.DemoInitialSpawnGroupEntry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t spawngrouphandle_; + bool was_created_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// ------------------------------------------------------------------- + +class CDemoRecovery final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoRecovery) */ { + public: + inline CDemoRecovery() : CDemoRecovery(nullptr) {} + ~CDemoRecovery() override; + explicit PROTOBUF_CONSTEXPR CDemoRecovery(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CDemoRecovery(const CDemoRecovery& from); + CDemoRecovery(CDemoRecovery&& from) noexcept + : CDemoRecovery() { + *this = ::std::move(from); + } + + inline CDemoRecovery& operator=(const CDemoRecovery& from) { + CopyFrom(from); + return *this; + } + inline CDemoRecovery& operator=(CDemoRecovery&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CDemoRecovery& default_instance() { + return *internal_default_instance(); + } + static inline const CDemoRecovery* internal_default_instance() { + return reinterpret_cast( + &_CDemoRecovery_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CDemoRecovery& a, CDemoRecovery& b) { + a.Swap(&b); + } + inline void Swap(CDemoRecovery* 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(CDemoRecovery* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CDemoRecovery* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CDemoRecovery& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CDemoRecovery& from) { + CDemoRecovery::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(CDemoRecovery* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CDemoRecovery"; + } + protected: + explicit CDemoRecovery(::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 ---------------------------------------------------- + + typedef CDemoRecovery_DemoInitialSpawnGroupEntry DemoInitialSpawnGroupEntry; + + // accessors ------------------------------------------------------- + + enum : int { + kSpawnGroupMessageFieldNumber = 2, + kInitialSpawnGroupFieldNumber = 1, + }; + // optional bytes spawn_group_message = 2; + bool has_spawn_group_message() const; + private: + bool _internal_has_spawn_group_message() const; + public: + void clear_spawn_group_message(); + const std::string& spawn_group_message() const; + template + void set_spawn_group_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_spawn_group_message(); + PROTOBUF_NODISCARD std::string* release_spawn_group_message(); + void set_allocated_spawn_group_message(std::string* spawn_group_message); + private: + const std::string& _internal_spawn_group_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawn_group_message(const std::string& value); + std::string* _internal_mutable_spawn_group_message(); + public: + + // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; + bool has_initial_spawn_group() const; + private: + bool _internal_has_initial_spawn_group() const; + public: + void clear_initial_spawn_group(); + const ::CDemoRecovery_DemoInitialSpawnGroupEntry& initial_spawn_group() const; + PROTOBUF_NODISCARD ::CDemoRecovery_DemoInitialSpawnGroupEntry* release_initial_spawn_group(); + ::CDemoRecovery_DemoInitialSpawnGroupEntry* mutable_initial_spawn_group(); + void set_allocated_initial_spawn_group(::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group); + private: + const ::CDemoRecovery_DemoInitialSpawnGroupEntry& _internal_initial_spawn_group() const; + ::CDemoRecovery_DemoInitialSpawnGroupEntry* _internal_mutable_initial_spawn_group(); + public: + void unsafe_arena_set_allocated_initial_spawn_group( + ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group); + ::CDemoRecovery_DemoInitialSpawnGroupEntry* unsafe_arena_release_initial_spawn_group(); + + // @@protoc_insertion_point(class_scope:CDemoRecovery) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawn_group_message_; + ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_demo_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CDemoFileHeader + +// required string demo_file_stamp = 1; +inline bool CDemoFileHeader::_internal_has_demo_file_stamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoFileHeader::has_demo_file_stamp() const { + return _internal_has_demo_file_stamp(); +} +inline void CDemoFileHeader::clear_demo_file_stamp() { + _impl_.demo_file_stamp_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoFileHeader::demo_file_stamp() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_file_stamp) + return _internal_demo_file_stamp(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_demo_file_stamp(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.demo_file_stamp_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_file_stamp) +} +inline std::string* CDemoFileHeader::mutable_demo_file_stamp() { + std::string* _s = _internal_mutable_demo_file_stamp(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_file_stamp) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_demo_file_stamp() const { + return _impl_.demo_file_stamp_.Get(); +} +inline void CDemoFileHeader::_internal_set_demo_file_stamp(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.demo_file_stamp_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_demo_file_stamp() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.demo_file_stamp_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_demo_file_stamp() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_file_stamp) + if (!_internal_has_demo_file_stamp()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.demo_file_stamp_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_file_stamp_.IsDefault()) { + _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_demo_file_stamp(std::string* demo_file_stamp) { + if (demo_file_stamp != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.demo_file_stamp_.SetAllocated(demo_file_stamp, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_file_stamp_.IsDefault()) { + _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_file_stamp) +} + +// optional int32 network_protocol = 2; +inline bool CDemoFileHeader::_internal_has_network_protocol() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CDemoFileHeader::has_network_protocol() const { + return _internal_has_network_protocol(); +} +inline void CDemoFileHeader::clear_network_protocol() { + _impl_.network_protocol_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CDemoFileHeader::_internal_network_protocol() const { + return _impl_.network_protocol_; +} +inline int32_t CDemoFileHeader::network_protocol() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.network_protocol) + return _internal_network_protocol(); +} +inline void CDemoFileHeader::_internal_set_network_protocol(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.network_protocol_ = value; +} +inline void CDemoFileHeader::set_network_protocol(int32_t value) { + _internal_set_network_protocol(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.network_protocol) +} + +// optional string server_name = 3; +inline bool CDemoFileHeader::_internal_has_server_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoFileHeader::has_server_name() const { + return _internal_has_server_name(); +} +inline void CDemoFileHeader::clear_server_name() { + _impl_.server_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CDemoFileHeader::server_name() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.server_name) + return _internal_server_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_server_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.server_name) +} +inline std::string* CDemoFileHeader::mutable_server_name() { + std::string* _s = _internal_mutable_server_name(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.server_name) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_server_name() const { + return _impl_.server_name_.Get(); +} +inline void CDemoFileHeader::_internal_set_server_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_server_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.server_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_server_name() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.server_name) + if (!_internal_has_server_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.server_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_name_.IsDefault()) { + _impl_.server_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_server_name(std::string* server_name) { + if (server_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.server_name_.SetAllocated(server_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_name_.IsDefault()) { + _impl_.server_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.server_name) +} + +// optional string client_name = 4; +inline bool CDemoFileHeader::_internal_has_client_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoFileHeader::has_client_name() const { + return _internal_has_client_name(); +} +inline void CDemoFileHeader::clear_client_name() { + _impl_.client_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CDemoFileHeader::client_name() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.client_name) + return _internal_client_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_client_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.client_name) +} +inline std::string* CDemoFileHeader::mutable_client_name() { + std::string* _s = _internal_mutable_client_name(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.client_name) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_client_name() const { + return _impl_.client_name_.Get(); +} +inline void CDemoFileHeader::_internal_set_client_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_client_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.client_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_client_name() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.client_name) + if (!_internal_has_client_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.client_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_name_.IsDefault()) { + _impl_.client_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_client_name(std::string* client_name) { + if (client_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_name_.IsDefault()) { + _impl_.client_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.client_name) +} + +// optional string map_name = 5; +inline bool CDemoFileHeader::_internal_has_map_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDemoFileHeader::has_map_name() const { + return _internal_has_map_name(); +} +inline void CDemoFileHeader::clear_map_name() { + _impl_.map_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CDemoFileHeader::map_name() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.map_name) + return _internal_map_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_map_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.map_name) +} +inline std::string* CDemoFileHeader::mutable_map_name() { + std::string* _s = _internal_mutable_map_name(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.map_name) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_map_name() const { + return _impl_.map_name_.Get(); +} +inline void CDemoFileHeader::_internal_set_map_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.map_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_map_name() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.map_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_map_name() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.map_name) + if (!_internal_has_map_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.map_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_map_name(std::string* map_name) { + if (map_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.map_name) +} + +// optional string game_directory = 6; +inline bool CDemoFileHeader::_internal_has_game_directory() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CDemoFileHeader::has_game_directory() const { + return _internal_has_game_directory(); +} +inline void CDemoFileHeader::clear_game_directory() { + _impl_.game_directory_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CDemoFileHeader::game_directory() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.game_directory) + return _internal_game_directory(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_game_directory(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_directory_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.game_directory) +} +inline std::string* CDemoFileHeader::mutable_game_directory() { + std::string* _s = _internal_mutable_game_directory(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.game_directory) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_game_directory() const { + return _impl_.game_directory_.Get(); +} +inline void CDemoFileHeader::_internal_set_game_directory(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_directory_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_game_directory() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.game_directory_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_game_directory() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.game_directory) + if (!_internal_has_game_directory()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.game_directory_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_directory_.IsDefault()) { + _impl_.game_directory_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_game_directory(std::string* game_directory) { + if (game_directory != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.game_directory_.SetAllocated(game_directory, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_directory_.IsDefault()) { + _impl_.game_directory_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.game_directory) +} + +// optional int32 fullpackets_version = 7; +inline bool CDemoFileHeader::_internal_has_fullpackets_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CDemoFileHeader::has_fullpackets_version() const { + return _internal_has_fullpackets_version(); +} +inline void CDemoFileHeader::clear_fullpackets_version() { + _impl_.fullpackets_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline int32_t CDemoFileHeader::_internal_fullpackets_version() const { + return _impl_.fullpackets_version_; +} +inline int32_t CDemoFileHeader::fullpackets_version() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.fullpackets_version) + return _internal_fullpackets_version(); +} +inline void CDemoFileHeader::_internal_set_fullpackets_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.fullpackets_version_ = value; +} +inline void CDemoFileHeader::set_fullpackets_version(int32_t value) { + _internal_set_fullpackets_version(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.fullpackets_version) +} + +// optional bool allow_clientside_entities = 8; +inline bool CDemoFileHeader::_internal_has_allow_clientside_entities() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CDemoFileHeader::has_allow_clientside_entities() const { + return _internal_has_allow_clientside_entities(); +} +inline void CDemoFileHeader::clear_allow_clientside_entities() { + _impl_.allow_clientside_entities_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline bool CDemoFileHeader::_internal_allow_clientside_entities() const { + return _impl_.allow_clientside_entities_; +} +inline bool CDemoFileHeader::allow_clientside_entities() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.allow_clientside_entities) + return _internal_allow_clientside_entities(); +} +inline void CDemoFileHeader::_internal_set_allow_clientside_entities(bool value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.allow_clientside_entities_ = value; +} +inline void CDemoFileHeader::set_allow_clientside_entities(bool value) { + _internal_set_allow_clientside_entities(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.allow_clientside_entities) +} + +// optional bool allow_clientside_particles = 9; +inline bool CDemoFileHeader::_internal_has_allow_clientside_particles() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CDemoFileHeader::has_allow_clientside_particles() const { + return _internal_has_allow_clientside_particles(); +} +inline void CDemoFileHeader::clear_allow_clientside_particles() { + _impl_.allow_clientside_particles_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline bool CDemoFileHeader::_internal_allow_clientside_particles() const { + return _impl_.allow_clientside_particles_; +} +inline bool CDemoFileHeader::allow_clientside_particles() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.allow_clientside_particles) + return _internal_allow_clientside_particles(); +} +inline void CDemoFileHeader::_internal_set_allow_clientside_particles(bool value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.allow_clientside_particles_ = value; +} +inline void CDemoFileHeader::set_allow_clientside_particles(bool value) { + _internal_set_allow_clientside_particles(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.allow_clientside_particles) +} + +// optional string addons = 10; +inline bool CDemoFileHeader::_internal_has_addons() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CDemoFileHeader::has_addons() const { + return _internal_has_addons(); +} +inline void CDemoFileHeader::clear_addons() { + _impl_.addons_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CDemoFileHeader::addons() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.addons) + return _internal_addons(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_addons(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.addons_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.addons) +} +inline std::string* CDemoFileHeader::mutable_addons() { + std::string* _s = _internal_mutable_addons(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.addons) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_addons() const { + return _impl_.addons_.Get(); +} +inline void CDemoFileHeader::_internal_set_addons(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.addons_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_addons() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.addons_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_addons() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.addons) + if (!_internal_has_addons()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.addons_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addons_.IsDefault()) { + _impl_.addons_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_addons(std::string* addons) { + if (addons != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.addons_.SetAllocated(addons, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addons_.IsDefault()) { + _impl_.addons_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.addons) +} + +// optional string demo_version_name = 11; +inline bool CDemoFileHeader::_internal_has_demo_version_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CDemoFileHeader::has_demo_version_name() const { + return _internal_has_demo_version_name(); +} +inline void CDemoFileHeader::clear_demo_version_name() { + _impl_.demo_version_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CDemoFileHeader::demo_version_name() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_version_name) + return _internal_demo_version_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_demo_version_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.demo_version_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_version_name) +} +inline std::string* CDemoFileHeader::mutable_demo_version_name() { + std::string* _s = _internal_mutable_demo_version_name(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_version_name) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_demo_version_name() const { + return _impl_.demo_version_name_.Get(); +} +inline void CDemoFileHeader::_internal_set_demo_version_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.demo_version_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_demo_version_name() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.demo_version_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_demo_version_name() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_version_name) + if (!_internal_has_demo_version_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.demo_version_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_version_name_.IsDefault()) { + _impl_.demo_version_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_demo_version_name(std::string* demo_version_name) { + if (demo_version_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.demo_version_name_.SetAllocated(demo_version_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_version_name_.IsDefault()) { + _impl_.demo_version_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_version_name) +} + +// optional string demo_version_guid = 12; +inline bool CDemoFileHeader::_internal_has_demo_version_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CDemoFileHeader::has_demo_version_guid() const { + return _internal_has_demo_version_guid(); +} +inline void CDemoFileHeader::clear_demo_version_guid() { + _impl_.demo_version_guid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CDemoFileHeader::demo_version_guid() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_version_guid) + return _internal_demo_version_guid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_demo_version_guid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.demo_version_guid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_version_guid) +} +inline std::string* CDemoFileHeader::mutable_demo_version_guid() { + std::string* _s = _internal_mutable_demo_version_guid(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_version_guid) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_demo_version_guid() const { + return _impl_.demo_version_guid_.Get(); +} +inline void CDemoFileHeader::_internal_set_demo_version_guid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.demo_version_guid_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_demo_version_guid() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.demo_version_guid_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_demo_version_guid() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_version_guid) + if (!_internal_has_demo_version_guid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.demo_version_guid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_version_guid_.IsDefault()) { + _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_demo_version_guid(std::string* demo_version_guid) { + if (demo_version_guid != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.demo_version_guid_.SetAllocated(demo_version_guid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.demo_version_guid_.IsDefault()) { + _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_version_guid) +} + +// optional int32 build_num = 13; +inline bool CDemoFileHeader::_internal_has_build_num() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CDemoFileHeader::has_build_num() const { + return _internal_has_build_num(); +} +inline void CDemoFileHeader::clear_build_num() { + _impl_.build_num_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CDemoFileHeader::_internal_build_num() const { + return _impl_.build_num_; +} +inline int32_t CDemoFileHeader::build_num() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.build_num) + return _internal_build_num(); +} +inline void CDemoFileHeader::_internal_set_build_num(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.build_num_ = value; +} +inline void CDemoFileHeader::set_build_num(int32_t value) { + _internal_set_build_num(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.build_num) +} + +// optional string game = 14; +inline bool CDemoFileHeader::_internal_has_game() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CDemoFileHeader::has_game() const { + return _internal_has_game(); +} +inline void CDemoFileHeader::clear_game() { + _impl_.game_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const std::string& CDemoFileHeader::game() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.game) + return _internal_game(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoFileHeader::set_game(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.game_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoFileHeader.game) +} +inline std::string* CDemoFileHeader::mutable_game() { + std::string* _s = _internal_mutable_game(); + // @@protoc_insertion_point(field_mutable:CDemoFileHeader.game) + return _s; +} +inline const std::string& CDemoFileHeader::_internal_game() const { + return _impl_.game_.Get(); +} +inline void CDemoFileHeader::_internal_set_game(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.game_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::_internal_mutable_game() { + _impl_._has_bits_[0] |= 0x00000100u; + return _impl_.game_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoFileHeader::release_game() { + // @@protoc_insertion_point(field_release:CDemoFileHeader.game) + if (!_internal_has_game()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000100u; + auto* p = _impl_.game_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_.IsDefault()) { + _impl_.game_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoFileHeader::set_allocated_game(std::string* game) { + if (game != nullptr) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.game_.SetAllocated(game, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_.IsDefault()) { + _impl_.game_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.game) +} + +// optional int32 server_start_tick = 15; +inline bool CDemoFileHeader::_internal_has_server_start_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CDemoFileHeader::has_server_start_tick() const { + return _internal_has_server_start_tick(); +} +inline void CDemoFileHeader::clear_server_start_tick() { + _impl_.server_start_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CDemoFileHeader::_internal_server_start_tick() const { + return _impl_.server_start_tick_; +} +inline int32_t CDemoFileHeader::server_start_tick() const { + // @@protoc_insertion_point(field_get:CDemoFileHeader.server_start_tick) + return _internal_server_start_tick(); +} +inline void CDemoFileHeader::_internal_set_server_start_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.server_start_tick_ = value; +} +inline void CDemoFileHeader::set_server_start_tick(int32_t value) { + _internal_set_server_start_tick(value); + // @@protoc_insertion_point(field_set:CDemoFileHeader.server_start_tick) +} + +// ------------------------------------------------------------------- + +// CGameInfo_CDotaGameInfo_CPlayerInfo + +// optional string hero_name = 1; +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_hero_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_hero_name() const { + return _internal_has_hero_name(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_hero_name() { + _impl_.hero_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::hero_name() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) + return _internal_hero_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameInfo_CDotaGameInfo_CPlayerInfo::set_hero_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hero_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::mutable_hero_name() { + std::string* _s = _internal_mutable_hero_name(); + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) + return _s; +} +inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_hero_name() const { + return _impl_.hero_name_.Get(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_hero_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hero_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_mutable_hero_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.hero_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::release_hero_name() { + // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) + if (!_internal_has_hero_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.hero_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hero_name_.IsDefault()) { + _impl_.hero_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_allocated_hero_name(std::string* hero_name) { + if (hero_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.hero_name_.SetAllocated(hero_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hero_name_.IsDefault()) { + _impl_.hero_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) +} + +// optional string player_name = 2; +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_player_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_player_name() const { + return _internal_has_player_name(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_player_name() { + _impl_.player_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::player_name() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) + return _internal_player_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameInfo_CDotaGameInfo_CPlayerInfo::set_player_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::mutable_player_name() { + std::string* _s = _internal_mutable_player_name(); + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) + return _s; +} +inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_player_name() const { + return _impl_.player_name_.Get(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_player_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_mutable_player_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.player_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::release_player_name() { + // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) + if (!_internal_has_player_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.player_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_name_.IsDefault()) { + _impl_.player_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_allocated_player_name(std::string* player_name) { + if (player_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.player_name_.SetAllocated(player_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.player_name_.IsDefault()) { + _impl_.player_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) +} + +// optional bool is_fake_client = 3; +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_is_fake_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_is_fake_client() const { + return _internal_has_is_fake_client(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_is_fake_client() { + _impl_.is_fake_client_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_is_fake_client() const { + return _impl_.is_fake_client_; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::is_fake_client() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.is_fake_client) + return _internal_is_fake_client(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_is_fake_client(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_fake_client_ = value; +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_is_fake_client(bool value) { + _internal_set_is_fake_client(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.is_fake_client) +} + +// optional uint64 steamid = 4; +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_steamid() const { + return _internal_has_steamid(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CGameInfo_CDotaGameInfo_CPlayerInfo::steamid() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.steamid) + return _internal_steamid(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.steamid_ = value; +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.steamid) +} + +// optional int32 game_team = 5; +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_game_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_game_team() const { + return _internal_has_game_team(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_game_team() { + _impl_.game_team_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_game_team() const { + return _impl_.game_team_; +} +inline int32_t CGameInfo_CDotaGameInfo_CPlayerInfo::game_team() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.game_team) + return _internal_game_team(); +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_game_team(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_team_ = value; +} +inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_game_team(int32_t value) { + _internal_set_game_team(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.game_team) +} + +// ------------------------------------------------------------------- + +// CGameInfo_CDotaGameInfo_CHeroSelectEvent + +// optional bool is_pick = 1; +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_is_pick() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_is_pick() const { + return _internal_has_is_pick(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_is_pick() { + _impl_.is_pick_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_is_pick() const { + return _impl_.is_pick_; +} +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::is_pick() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.is_pick) + return _internal_is_pick(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_is_pick(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.is_pick_ = value; +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_is_pick(bool value) { + _internal_set_is_pick(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.is_pick) +} + +// optional uint32 team = 2; +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_team() const { + return _internal_has_team(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_team() { + _impl_.team_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_team() const { + return _impl_.team_; +} +inline uint32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::team() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.team) + return _internal_team(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_team(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.team_ = value; +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_team(uint32_t value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.team) +} + +// optional int32 hero_id = 3; +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_hero_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_hero_id() const { + return _internal_has_hero_id(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_hero_id() { + _impl_.hero_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_hero_id() const { + return _impl_.hero_id_; +} +inline int32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::hero_id() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.hero_id) + return _internal_hero_id(); +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_hero_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hero_id_ = value; +} +inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_hero_id(int32_t value) { + _internal_set_hero_id(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.hero_id) +} + +// ------------------------------------------------------------------- + +// CGameInfo_CDotaGameInfo + +// optional uint64 match_id = 1; +inline bool CGameInfo_CDotaGameInfo::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_match_id() const { + return _internal_has_match_id(); +} +inline void CGameInfo_CDotaGameInfo::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CGameInfo_CDotaGameInfo::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CGameInfo_CDotaGameInfo::match_id() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.match_id) + return _internal_match_id(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.match_id_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.match_id) +} + +// optional int32 game_mode = 2; +inline bool CGameInfo_CDotaGameInfo::_internal_has_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_game_mode() const { + return _internal_has_game_mode(); +} +inline void CGameInfo_CDotaGameInfo::clear_game_mode() { + _impl_.game_mode_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CGameInfo_CDotaGameInfo::_internal_game_mode() const { + return _impl_.game_mode_; +} +inline int32_t CGameInfo_CDotaGameInfo::game_mode() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.game_mode) + return _internal_game_mode(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_game_mode(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.game_mode_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_game_mode(int32_t value) { + _internal_set_game_mode(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.game_mode) +} + +// optional int32 game_winner = 3; +inline bool CGameInfo_CDotaGameInfo::_internal_has_game_winner() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_game_winner() const { + return _internal_has_game_winner(); +} +inline void CGameInfo_CDotaGameInfo::clear_game_winner() { + _impl_.game_winner_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CGameInfo_CDotaGameInfo::_internal_game_winner() const { + return _impl_.game_winner_; +} +inline int32_t CGameInfo_CDotaGameInfo::game_winner() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.game_winner) + return _internal_game_winner(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_game_winner(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.game_winner_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_game_winner(int32_t value) { + _internal_set_game_winner(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.game_winner) +} + +// repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; +inline int CGameInfo_CDotaGameInfo::_internal_player_info_size() const { + return _impl_.player_info_.size(); +} +inline int CGameInfo_CDotaGameInfo::player_info_size() const { + return _internal_player_info_size(); +} +inline void CGameInfo_CDotaGameInfo::clear_player_info() { + _impl_.player_info_.Clear(); +} +inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::mutable_player_info(int index) { + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.player_info) + return _impl_.player_info_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >* +CGameInfo_CDotaGameInfo::mutable_player_info() { + // @@protoc_insertion_point(field_mutable_list:CGameInfo.CDotaGameInfo.player_info) + return &_impl_.player_info_; +} +inline const ::CGameInfo_CDotaGameInfo_CPlayerInfo& CGameInfo_CDotaGameInfo::_internal_player_info(int index) const { + return _impl_.player_info_.Get(index); +} +inline const ::CGameInfo_CDotaGameInfo_CPlayerInfo& CGameInfo_CDotaGameInfo::player_info(int index) const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.player_info) + return _internal_player_info(index); +} +inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::_internal_add_player_info() { + return _impl_.player_info_.Add(); +} +inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::add_player_info() { + ::CGameInfo_CDotaGameInfo_CPlayerInfo* _add = _internal_add_player_info(); + // @@protoc_insertion_point(field_add:CGameInfo.CDotaGameInfo.player_info) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >& +CGameInfo_CDotaGameInfo::player_info() const { + // @@protoc_insertion_point(field_list:CGameInfo.CDotaGameInfo.player_info) + return _impl_.player_info_; +} + +// optional uint32 leagueid = 5; +inline bool CGameInfo_CDotaGameInfo::_internal_has_leagueid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_leagueid() const { + return _internal_has_leagueid(); +} +inline void CGameInfo_CDotaGameInfo::clear_leagueid() { + _impl_.leagueid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CGameInfo_CDotaGameInfo::_internal_leagueid() const { + return _impl_.leagueid_; +} +inline uint32_t CGameInfo_CDotaGameInfo::leagueid() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.leagueid) + return _internal_leagueid(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_leagueid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.leagueid_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_leagueid(uint32_t value) { + _internal_set_leagueid(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.leagueid) +} + +// repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; +inline int CGameInfo_CDotaGameInfo::_internal_picks_bans_size() const { + return _impl_.picks_bans_.size(); +} +inline int CGameInfo_CDotaGameInfo::picks_bans_size() const { + return _internal_picks_bans_size(); +} +inline void CGameInfo_CDotaGameInfo::clear_picks_bans() { + _impl_.picks_bans_.Clear(); +} +inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::mutable_picks_bans(int index) { + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.picks_bans) + return _impl_.picks_bans_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >* +CGameInfo_CDotaGameInfo::mutable_picks_bans() { + // @@protoc_insertion_point(field_mutable_list:CGameInfo.CDotaGameInfo.picks_bans) + return &_impl_.picks_bans_; +} +inline const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& CGameInfo_CDotaGameInfo::_internal_picks_bans(int index) const { + return _impl_.picks_bans_.Get(index); +} +inline const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& CGameInfo_CDotaGameInfo::picks_bans(int index) const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.picks_bans) + return _internal_picks_bans(index); +} +inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::_internal_add_picks_bans() { + return _impl_.picks_bans_.Add(); +} +inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::add_picks_bans() { + ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* _add = _internal_add_picks_bans(); + // @@protoc_insertion_point(field_add:CGameInfo.CDotaGameInfo.picks_bans) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >& +CGameInfo_CDotaGameInfo::picks_bans() const { + // @@protoc_insertion_point(field_list:CGameInfo.CDotaGameInfo.picks_bans) + return _impl_.picks_bans_; +} + +// optional uint32 radiant_team_id = 7; +inline bool CGameInfo_CDotaGameInfo::_internal_has_radiant_team_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_radiant_team_id() const { + return _internal_has_radiant_team_id(); +} +inline void CGameInfo_CDotaGameInfo::clear_radiant_team_id() { + _impl_.radiant_team_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CGameInfo_CDotaGameInfo::_internal_radiant_team_id() const { + return _impl_.radiant_team_id_; +} +inline uint32_t CGameInfo_CDotaGameInfo::radiant_team_id() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.radiant_team_id) + return _internal_radiant_team_id(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_radiant_team_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.radiant_team_id_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_radiant_team_id(uint32_t value) { + _internal_set_radiant_team_id(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.radiant_team_id) +} + +// optional uint32 dire_team_id = 8; +inline bool CGameInfo_CDotaGameInfo::_internal_has_dire_team_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_dire_team_id() const { + return _internal_has_dire_team_id(); +} +inline void CGameInfo_CDotaGameInfo::clear_dire_team_id() { + _impl_.dire_team_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CGameInfo_CDotaGameInfo::_internal_dire_team_id() const { + return _impl_.dire_team_id_; +} +inline uint32_t CGameInfo_CDotaGameInfo::dire_team_id() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.dire_team_id) + return _internal_dire_team_id(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_dire_team_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.dire_team_id_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_dire_team_id(uint32_t value) { + _internal_set_dire_team_id(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.dire_team_id) +} + +// optional string radiant_team_tag = 9; +inline bool CGameInfo_CDotaGameInfo::_internal_has_radiant_team_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_radiant_team_tag() const { + return _internal_has_radiant_team_tag(); +} +inline void CGameInfo_CDotaGameInfo::clear_radiant_team_tag() { + _impl_.radiant_team_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGameInfo_CDotaGameInfo::radiant_team_tag() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.radiant_team_tag) + return _internal_radiant_team_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameInfo_CDotaGameInfo::set_radiant_team_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.radiant_team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.radiant_team_tag) +} +inline std::string* CGameInfo_CDotaGameInfo::mutable_radiant_team_tag() { + std::string* _s = _internal_mutable_radiant_team_tag(); + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.radiant_team_tag) + return _s; +} +inline const std::string& CGameInfo_CDotaGameInfo::_internal_radiant_team_tag() const { + return _impl_.radiant_team_tag_.Get(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_radiant_team_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.radiant_team_tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo::_internal_mutable_radiant_team_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.radiant_team_tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo::release_radiant_team_tag() { + // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.radiant_team_tag) + if (!_internal_has_radiant_team_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.radiant_team_tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.radiant_team_tag_.IsDefault()) { + _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameInfo_CDotaGameInfo::set_allocated_radiant_team_tag(std::string* radiant_team_tag) { + if (radiant_team_tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.radiant_team_tag_.SetAllocated(radiant_team_tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.radiant_team_tag_.IsDefault()) { + _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.radiant_team_tag) +} + +// optional string dire_team_tag = 10; +inline bool CGameInfo_CDotaGameInfo::_internal_has_dire_team_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_dire_team_tag() const { + return _internal_has_dire_team_tag(); +} +inline void CGameInfo_CDotaGameInfo::clear_dire_team_tag() { + _impl_.dire_team_tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CGameInfo_CDotaGameInfo::dire_team_tag() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.dire_team_tag) + return _internal_dire_team_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameInfo_CDotaGameInfo::set_dire_team_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dire_team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.dire_team_tag) +} +inline std::string* CGameInfo_CDotaGameInfo::mutable_dire_team_tag() { + std::string* _s = _internal_mutable_dire_team_tag(); + // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.dire_team_tag) + return _s; +} +inline const std::string& CGameInfo_CDotaGameInfo::_internal_dire_team_tag() const { + return _impl_.dire_team_tag_.Get(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_dire_team_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dire_team_tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo::_internal_mutable_dire_team_tag() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.dire_team_tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameInfo_CDotaGameInfo::release_dire_team_tag() { + // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.dire_team_tag) + if (!_internal_has_dire_team_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.dire_team_tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dire_team_tag_.IsDefault()) { + _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameInfo_CDotaGameInfo::set_allocated_dire_team_tag(std::string* dire_team_tag) { + if (dire_team_tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.dire_team_tag_.SetAllocated(dire_team_tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dire_team_tag_.IsDefault()) { + _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.dire_team_tag) +} + +// optional uint32 end_time = 11; +inline bool CGameInfo_CDotaGameInfo::_internal_has_end_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CGameInfo_CDotaGameInfo::has_end_time() const { + return _internal_has_end_time(); +} +inline void CGameInfo_CDotaGameInfo::clear_end_time() { + _impl_.end_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CGameInfo_CDotaGameInfo::_internal_end_time() const { + return _impl_.end_time_; +} +inline uint32_t CGameInfo_CDotaGameInfo::end_time() const { + // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.end_time) + return _internal_end_time(); +} +inline void CGameInfo_CDotaGameInfo::_internal_set_end_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.end_time_ = value; +} +inline void CGameInfo_CDotaGameInfo::set_end_time(uint32_t value) { + _internal_set_end_time(value); + // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.end_time) +} + +// ------------------------------------------------------------------- + +// CGameInfo_CCSGameInfo + +// repeated int32 round_start_ticks = 1; +inline int CGameInfo_CCSGameInfo::_internal_round_start_ticks_size() const { + return _impl_.round_start_ticks_.size(); +} +inline int CGameInfo_CCSGameInfo::round_start_ticks_size() const { + return _internal_round_start_ticks_size(); +} +inline void CGameInfo_CCSGameInfo::clear_round_start_ticks() { + _impl_.round_start_ticks_.Clear(); +} +inline int32_t CGameInfo_CCSGameInfo::_internal_round_start_ticks(int index) const { + return _impl_.round_start_ticks_.Get(index); +} +inline int32_t CGameInfo_CCSGameInfo::round_start_ticks(int index) const { + // @@protoc_insertion_point(field_get:CGameInfo.CCSGameInfo.round_start_ticks) + return _internal_round_start_ticks(index); +} +inline void CGameInfo_CCSGameInfo::set_round_start_ticks(int index, int32_t value) { + _impl_.round_start_ticks_.Set(index, value); + // @@protoc_insertion_point(field_set:CGameInfo.CCSGameInfo.round_start_ticks) +} +inline void CGameInfo_CCSGameInfo::_internal_add_round_start_ticks(int32_t value) { + _impl_.round_start_ticks_.Add(value); +} +inline void CGameInfo_CCSGameInfo::add_round_start_ticks(int32_t value) { + _internal_add_round_start_ticks(value); + // @@protoc_insertion_point(field_add:CGameInfo.CCSGameInfo.round_start_ticks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CGameInfo_CCSGameInfo::_internal_round_start_ticks() const { + return _impl_.round_start_ticks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CGameInfo_CCSGameInfo::round_start_ticks() const { + // @@protoc_insertion_point(field_list:CGameInfo.CCSGameInfo.round_start_ticks) + return _internal_round_start_ticks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CGameInfo_CCSGameInfo::_internal_mutable_round_start_ticks() { + return &_impl_.round_start_ticks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CGameInfo_CCSGameInfo::mutable_round_start_ticks() { + // @@protoc_insertion_point(field_mutable_list:CGameInfo.CCSGameInfo.round_start_ticks) + return _internal_mutable_round_start_ticks(); +} + +// ------------------------------------------------------------------- + +// CGameInfo + +// optional .CGameInfo.CDotaGameInfo dota = 4; +inline bool CGameInfo::_internal_has_dota() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dota_ != nullptr); + return value; +} +inline bool CGameInfo::has_dota() const { + return _internal_has_dota(); +} +inline void CGameInfo::clear_dota() { + if (_impl_.dota_ != nullptr) _impl_.dota_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CGameInfo_CDotaGameInfo& CGameInfo::_internal_dota() const { + const ::CGameInfo_CDotaGameInfo* p = _impl_.dota_; + return p != nullptr ? *p : reinterpret_cast( + ::_CGameInfo_CDotaGameInfo_default_instance_); +} +inline const ::CGameInfo_CDotaGameInfo& CGameInfo::dota() const { + // @@protoc_insertion_point(field_get:CGameInfo.dota) + return _internal_dota(); +} +inline void CGameInfo::unsafe_arena_set_allocated_dota( + ::CGameInfo_CDotaGameInfo* dota) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dota_); + } + _impl_.dota_ = dota; + if (dota) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameInfo.dota) +} +inline ::CGameInfo_CDotaGameInfo* CGameInfo::release_dota() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameInfo_CDotaGameInfo* temp = _impl_.dota_; + _impl_.dota_ = 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 ::CGameInfo_CDotaGameInfo* CGameInfo::unsafe_arena_release_dota() { + // @@protoc_insertion_point(field_release:CGameInfo.dota) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameInfo_CDotaGameInfo* temp = _impl_.dota_; + _impl_.dota_ = nullptr; + return temp; +} +inline ::CGameInfo_CDotaGameInfo* CGameInfo::_internal_mutable_dota() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.dota_ == nullptr) { + auto* p = CreateMaybeMessage<::CGameInfo_CDotaGameInfo>(GetArenaForAllocation()); + _impl_.dota_ = p; + } + return _impl_.dota_; +} +inline ::CGameInfo_CDotaGameInfo* CGameInfo::mutable_dota() { + ::CGameInfo_CDotaGameInfo* _msg = _internal_mutable_dota(); + // @@protoc_insertion_point(field_mutable:CGameInfo.dota) + return _msg; +} +inline void CGameInfo::set_allocated_dota(::CGameInfo_CDotaGameInfo* dota) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.dota_; + } + if (dota) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dota); + if (message_arena != submessage_arena) { + dota = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dota, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.dota_ = dota; + // @@protoc_insertion_point(field_set_allocated:CGameInfo.dota) +} + +// optional .CGameInfo.CCSGameInfo cs = 5; +inline bool CGameInfo::_internal_has_cs() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cs_ != nullptr); + return value; +} +inline bool CGameInfo::has_cs() const { + return _internal_has_cs(); +} +inline void CGameInfo::clear_cs() { + if (_impl_.cs_ != nullptr) _impl_.cs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CGameInfo_CCSGameInfo& CGameInfo::_internal_cs() const { + const ::CGameInfo_CCSGameInfo* p = _impl_.cs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CGameInfo_CCSGameInfo_default_instance_); +} +inline const ::CGameInfo_CCSGameInfo& CGameInfo::cs() const { + // @@protoc_insertion_point(field_get:CGameInfo.cs) + return _internal_cs(); +} +inline void CGameInfo::unsafe_arena_set_allocated_cs( + ::CGameInfo_CCSGameInfo* cs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cs_); + } + _impl_.cs_ = cs; + if (cs) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameInfo.cs) +} +inline ::CGameInfo_CCSGameInfo* CGameInfo::release_cs() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CGameInfo_CCSGameInfo* temp = _impl_.cs_; + _impl_.cs_ = 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 ::CGameInfo_CCSGameInfo* CGameInfo::unsafe_arena_release_cs() { + // @@protoc_insertion_point(field_release:CGameInfo.cs) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CGameInfo_CCSGameInfo* temp = _impl_.cs_; + _impl_.cs_ = nullptr; + return temp; +} +inline ::CGameInfo_CCSGameInfo* CGameInfo::_internal_mutable_cs() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cs_ == nullptr) { + auto* p = CreateMaybeMessage<::CGameInfo_CCSGameInfo>(GetArenaForAllocation()); + _impl_.cs_ = p; + } + return _impl_.cs_; +} +inline ::CGameInfo_CCSGameInfo* CGameInfo::mutable_cs() { + ::CGameInfo_CCSGameInfo* _msg = _internal_mutable_cs(); + // @@protoc_insertion_point(field_mutable:CGameInfo.cs) + return _msg; +} +inline void CGameInfo::set_allocated_cs(::CGameInfo_CCSGameInfo* cs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.cs_; + } + if (cs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cs); + if (message_arena != submessage_arena) { + cs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cs_ = cs; + // @@protoc_insertion_point(field_set_allocated:CGameInfo.cs) +} + +// ------------------------------------------------------------------- + +// CDemoFileInfo + +// optional float playback_time = 1; +inline bool CDemoFileInfo::_internal_has_playback_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoFileInfo::has_playback_time() const { + return _internal_has_playback_time(); +} +inline void CDemoFileInfo::clear_playback_time() { + _impl_.playback_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CDemoFileInfo::_internal_playback_time() const { + return _impl_.playback_time_; +} +inline float CDemoFileInfo::playback_time() const { + // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_time) + return _internal_playback_time(); +} +inline void CDemoFileInfo::_internal_set_playback_time(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.playback_time_ = value; +} +inline void CDemoFileInfo::set_playback_time(float value) { + _internal_set_playback_time(value); + // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_time) +} + +// optional int32 playback_ticks = 2; +inline bool CDemoFileInfo::_internal_has_playback_ticks() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoFileInfo::has_playback_ticks() const { + return _internal_has_playback_ticks(); +} +inline void CDemoFileInfo::clear_playback_ticks() { + _impl_.playback_ticks_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CDemoFileInfo::_internal_playback_ticks() const { + return _impl_.playback_ticks_; +} +inline int32_t CDemoFileInfo::playback_ticks() const { + // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_ticks) + return _internal_playback_ticks(); +} +inline void CDemoFileInfo::_internal_set_playback_ticks(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.playback_ticks_ = value; +} +inline void CDemoFileInfo::set_playback_ticks(int32_t value) { + _internal_set_playback_ticks(value); + // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_ticks) +} + +// optional int32 playback_frames = 3; +inline bool CDemoFileInfo::_internal_has_playback_frames() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDemoFileInfo::has_playback_frames() const { + return _internal_has_playback_frames(); +} +inline void CDemoFileInfo::clear_playback_frames() { + _impl_.playback_frames_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CDemoFileInfo::_internal_playback_frames() const { + return _impl_.playback_frames_; +} +inline int32_t CDemoFileInfo::playback_frames() const { + // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_frames) + return _internal_playback_frames(); +} +inline void CDemoFileInfo::_internal_set_playback_frames(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.playback_frames_ = value; +} +inline void CDemoFileInfo::set_playback_frames(int32_t value) { + _internal_set_playback_frames(value); + // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_frames) +} + +// optional .CGameInfo game_info = 4; +inline bool CDemoFileInfo::_internal_has_game_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.game_info_ != nullptr); + return value; +} +inline bool CDemoFileInfo::has_game_info() const { + return _internal_has_game_info(); +} +inline void CDemoFileInfo::clear_game_info() { + if (_impl_.game_info_ != nullptr) _impl_.game_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CGameInfo& CDemoFileInfo::_internal_game_info() const { + const ::CGameInfo* p = _impl_.game_info_; + return p != nullptr ? *p : reinterpret_cast( + ::_CGameInfo_default_instance_); +} +inline const ::CGameInfo& CDemoFileInfo::game_info() const { + // @@protoc_insertion_point(field_get:CDemoFileInfo.game_info) + return _internal_game_info(); +} +inline void CDemoFileInfo::unsafe_arena_set_allocated_game_info( + ::CGameInfo* game_info) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_info_); + } + _impl_.game_info_ = game_info; + if (game_info) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFileInfo.game_info) +} +inline ::CGameInfo* CDemoFileInfo::release_game_info() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameInfo* temp = _impl_.game_info_; + _impl_.game_info_ = 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 ::CGameInfo* CDemoFileInfo::unsafe_arena_release_game_info() { + // @@protoc_insertion_point(field_release:CDemoFileInfo.game_info) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameInfo* temp = _impl_.game_info_; + _impl_.game_info_ = nullptr; + return temp; +} +inline ::CGameInfo* CDemoFileInfo::_internal_mutable_game_info() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.game_info_ == nullptr) { + auto* p = CreateMaybeMessage<::CGameInfo>(GetArenaForAllocation()); + _impl_.game_info_ = p; + } + return _impl_.game_info_; +} +inline ::CGameInfo* CDemoFileInfo::mutable_game_info() { + ::CGameInfo* _msg = _internal_mutable_game_info(); + // @@protoc_insertion_point(field_mutable:CDemoFileInfo.game_info) + return _msg; +} +inline void CDemoFileInfo::set_allocated_game_info(::CGameInfo* game_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.game_info_; + } + if (game_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(game_info); + if (message_arena != submessage_arena) { + game_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, game_info, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_info_ = game_info; + // @@protoc_insertion_point(field_set_allocated:CDemoFileInfo.game_info) +} + +// ------------------------------------------------------------------- + +// CDemoPacket + +// optional bytes data = 3; +inline bool CDemoPacket::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoPacket::has_data() const { + return _internal_has_data(); +} +inline void CDemoPacket::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoPacket::data() const { + // @@protoc_insertion_point(field_get:CDemoPacket.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoPacket::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoPacket.data) +} +inline std::string* CDemoPacket::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoPacket.data) + return _s; +} +inline const std::string& CDemoPacket::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoPacket::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoPacket::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoPacket::release_data() { + // @@protoc_insertion_point(field_release:CDemoPacket.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoPacket::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoPacket.data) +} + +// ------------------------------------------------------------------- + +// CDemoFullPacket + +// optional .CDemoStringTables string_table = 1; +inline bool CDemoFullPacket::_internal_has_string_table() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.string_table_ != nullptr); + return value; +} +inline bool CDemoFullPacket::has_string_table() const { + return _internal_has_string_table(); +} +inline void CDemoFullPacket::clear_string_table() { + if (_impl_.string_table_ != nullptr) _impl_.string_table_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CDemoStringTables& CDemoFullPacket::_internal_string_table() const { + const ::CDemoStringTables* p = _impl_.string_table_; + return p != nullptr ? *p : reinterpret_cast( + ::_CDemoStringTables_default_instance_); +} +inline const ::CDemoStringTables& CDemoFullPacket::string_table() const { + // @@protoc_insertion_point(field_get:CDemoFullPacket.string_table) + return _internal_string_table(); +} +inline void CDemoFullPacket::unsafe_arena_set_allocated_string_table( + ::CDemoStringTables* string_table) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.string_table_); + } + _impl_.string_table_ = string_table; + if (string_table) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFullPacket.string_table) +} +inline ::CDemoStringTables* CDemoFullPacket::release_string_table() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDemoStringTables* temp = _impl_.string_table_; + _impl_.string_table_ = 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 ::CDemoStringTables* CDemoFullPacket::unsafe_arena_release_string_table() { + // @@protoc_insertion_point(field_release:CDemoFullPacket.string_table) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CDemoStringTables* temp = _impl_.string_table_; + _impl_.string_table_ = nullptr; + return temp; +} +inline ::CDemoStringTables* CDemoFullPacket::_internal_mutable_string_table() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.string_table_ == nullptr) { + auto* p = CreateMaybeMessage<::CDemoStringTables>(GetArenaForAllocation()); + _impl_.string_table_ = p; + } + return _impl_.string_table_; +} +inline ::CDemoStringTables* CDemoFullPacket::mutable_string_table() { + ::CDemoStringTables* _msg = _internal_mutable_string_table(); + // @@protoc_insertion_point(field_mutable:CDemoFullPacket.string_table) + return _msg; +} +inline void CDemoFullPacket::set_allocated_string_table(::CDemoStringTables* string_table) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.string_table_; + } + if (string_table) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(string_table); + if (message_arena != submessage_arena) { + string_table = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, string_table, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.string_table_ = string_table; + // @@protoc_insertion_point(field_set_allocated:CDemoFullPacket.string_table) +} + +// optional .CDemoPacket packet = 2; +inline bool CDemoFullPacket::_internal_has_packet() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.packet_ != nullptr); + return value; +} +inline bool CDemoFullPacket::has_packet() const { + return _internal_has_packet(); +} +inline void CDemoFullPacket::clear_packet() { + if (_impl_.packet_ != nullptr) _impl_.packet_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CDemoPacket& CDemoFullPacket::_internal_packet() const { + const ::CDemoPacket* p = _impl_.packet_; + return p != nullptr ? *p : reinterpret_cast( + ::_CDemoPacket_default_instance_); +} +inline const ::CDemoPacket& CDemoFullPacket::packet() const { + // @@protoc_insertion_point(field_get:CDemoFullPacket.packet) + return _internal_packet(); +} +inline void CDemoFullPacket::unsafe_arena_set_allocated_packet( + ::CDemoPacket* packet) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.packet_); + } + _impl_.packet_ = packet; + if (packet) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFullPacket.packet) +} +inline ::CDemoPacket* CDemoFullPacket::release_packet() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CDemoPacket* temp = _impl_.packet_; + _impl_.packet_ = 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 ::CDemoPacket* CDemoFullPacket::unsafe_arena_release_packet() { + // @@protoc_insertion_point(field_release:CDemoFullPacket.packet) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CDemoPacket* temp = _impl_.packet_; + _impl_.packet_ = nullptr; + return temp; +} +inline ::CDemoPacket* CDemoFullPacket::_internal_mutable_packet() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.packet_ == nullptr) { + auto* p = CreateMaybeMessage<::CDemoPacket>(GetArenaForAllocation()); + _impl_.packet_ = p; + } + return _impl_.packet_; +} +inline ::CDemoPacket* CDemoFullPacket::mutable_packet() { + ::CDemoPacket* _msg = _internal_mutable_packet(); + // @@protoc_insertion_point(field_mutable:CDemoFullPacket.packet) + return _msg; +} +inline void CDemoFullPacket::set_allocated_packet(::CDemoPacket* packet) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.packet_; + } + if (packet) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(packet); + if (message_arena != submessage_arena) { + packet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, packet, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.packet_ = packet; + // @@protoc_insertion_point(field_set_allocated:CDemoFullPacket.packet) +} + +// ------------------------------------------------------------------- + +// CDemoSaveGame + +// optional bytes data = 1; +inline bool CDemoSaveGame::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoSaveGame::has_data() const { + return _internal_has_data(); +} +inline void CDemoSaveGame::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoSaveGame::data() const { + // @@protoc_insertion_point(field_get:CDemoSaveGame.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoSaveGame::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoSaveGame.data) +} +inline std::string* CDemoSaveGame::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoSaveGame.data) + return _s; +} +inline const std::string& CDemoSaveGame::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoSaveGame::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoSaveGame::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoSaveGame::release_data() { + // @@protoc_insertion_point(field_release:CDemoSaveGame.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoSaveGame::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoSaveGame.data) +} + +// optional fixed64 steam_id = 2; +inline bool CDemoSaveGame::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoSaveGame::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CDemoSaveGame::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CDemoSaveGame::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CDemoSaveGame::steam_id() const { + // @@protoc_insertion_point(field_get:CDemoSaveGame.steam_id) + return _internal_steam_id(); +} +inline void CDemoSaveGame::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steam_id_ = value; +} +inline void CDemoSaveGame::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CDemoSaveGame.steam_id) +} + +// optional fixed64 signature = 3; +inline bool CDemoSaveGame::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoSaveGame::has_signature() const { + return _internal_has_signature(); +} +inline void CDemoSaveGame::clear_signature() { + _impl_.signature_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CDemoSaveGame::_internal_signature() const { + return _impl_.signature_; +} +inline uint64_t CDemoSaveGame::signature() const { + // @@protoc_insertion_point(field_get:CDemoSaveGame.signature) + return _internal_signature(); +} +inline void CDemoSaveGame::_internal_set_signature(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.signature_ = value; +} +inline void CDemoSaveGame::set_signature(uint64_t value) { + _internal_set_signature(value); + // @@protoc_insertion_point(field_set:CDemoSaveGame.signature) +} + +// optional int32 version = 4; +inline bool CDemoSaveGame::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDemoSaveGame::has_version() const { + return _internal_has_version(); +} +inline void CDemoSaveGame::clear_version() { + _impl_.version_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CDemoSaveGame::_internal_version() const { + return _impl_.version_; +} +inline int32_t CDemoSaveGame::version() const { + // @@protoc_insertion_point(field_get:CDemoSaveGame.version) + return _internal_version(); +} +inline void CDemoSaveGame::_internal_set_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.version_ = value; +} +inline void CDemoSaveGame::set_version(int32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CDemoSaveGame.version) +} + +// ------------------------------------------------------------------- + +// CDemoSyncTick + +// ------------------------------------------------------------------- + +// CDemoConsoleCmd + +// optional string cmdstring = 1; +inline bool CDemoConsoleCmd::_internal_has_cmdstring() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoConsoleCmd::has_cmdstring() const { + return _internal_has_cmdstring(); +} +inline void CDemoConsoleCmd::clear_cmdstring() { + _impl_.cmdstring_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoConsoleCmd::cmdstring() const { + // @@protoc_insertion_point(field_get:CDemoConsoleCmd.cmdstring) + return _internal_cmdstring(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoConsoleCmd::set_cmdstring(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cmdstring_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoConsoleCmd.cmdstring) +} +inline std::string* CDemoConsoleCmd::mutable_cmdstring() { + std::string* _s = _internal_mutable_cmdstring(); + // @@protoc_insertion_point(field_mutable:CDemoConsoleCmd.cmdstring) + return _s; +} +inline const std::string& CDemoConsoleCmd::_internal_cmdstring() const { + return _impl_.cmdstring_.Get(); +} +inline void CDemoConsoleCmd::_internal_set_cmdstring(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cmdstring_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoConsoleCmd::_internal_mutable_cmdstring() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cmdstring_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoConsoleCmd::release_cmdstring() { + // @@protoc_insertion_point(field_release:CDemoConsoleCmd.cmdstring) + if (!_internal_has_cmdstring()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cmdstring_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cmdstring_.IsDefault()) { + _impl_.cmdstring_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoConsoleCmd::set_allocated_cmdstring(std::string* cmdstring) { + if (cmdstring != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cmdstring_.SetAllocated(cmdstring, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cmdstring_.IsDefault()) { + _impl_.cmdstring_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoConsoleCmd.cmdstring) +} + +// ------------------------------------------------------------------- + +// CDemoSendTables + +// optional bytes data = 1; +inline bool CDemoSendTables::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoSendTables::has_data() const { + return _internal_has_data(); +} +inline void CDemoSendTables::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoSendTables::data() const { + // @@protoc_insertion_point(field_get:CDemoSendTables.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoSendTables::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoSendTables.data) +} +inline std::string* CDemoSendTables::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoSendTables.data) + return _s; +} +inline const std::string& CDemoSendTables::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoSendTables::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoSendTables::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoSendTables::release_data() { + // @@protoc_insertion_point(field_release:CDemoSendTables.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoSendTables::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoSendTables.data) +} + +// ------------------------------------------------------------------- + +// CDemoClassInfo_class_t + +// optional int32 class_id = 1; +inline bool CDemoClassInfo_class_t::_internal_has_class_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoClassInfo_class_t::has_class_id() const { + return _internal_has_class_id(); +} +inline void CDemoClassInfo_class_t::clear_class_id() { + _impl_.class_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CDemoClassInfo_class_t::_internal_class_id() const { + return _impl_.class_id_; +} +inline int32_t CDemoClassInfo_class_t::class_id() const { + // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.class_id) + return _internal_class_id(); +} +inline void CDemoClassInfo_class_t::_internal_set_class_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.class_id_ = value; +} +inline void CDemoClassInfo_class_t::set_class_id(int32_t value) { + _internal_set_class_id(value); + // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.class_id) +} + +// optional string network_name = 2; +inline bool CDemoClassInfo_class_t::_internal_has_network_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoClassInfo_class_t::has_network_name() const { + return _internal_has_network_name(); +} +inline void CDemoClassInfo_class_t::clear_network_name() { + _impl_.network_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoClassInfo_class_t::network_name() const { + // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.network_name) + return _internal_network_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoClassInfo_class_t::set_network_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.network_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.network_name) +} +inline std::string* CDemoClassInfo_class_t::mutable_network_name() { + std::string* _s = _internal_mutable_network_name(); + // @@protoc_insertion_point(field_mutable:CDemoClassInfo.class_t.network_name) + return _s; +} +inline const std::string& CDemoClassInfo_class_t::_internal_network_name() const { + return _impl_.network_name_.Get(); +} +inline void CDemoClassInfo_class_t::_internal_set_network_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.network_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoClassInfo_class_t::_internal_mutable_network_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.network_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoClassInfo_class_t::release_network_name() { + // @@protoc_insertion_point(field_release:CDemoClassInfo.class_t.network_name) + if (!_internal_has_network_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.network_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.network_name_.IsDefault()) { + _impl_.network_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoClassInfo_class_t::set_allocated_network_name(std::string* network_name) { + if (network_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.network_name_.SetAllocated(network_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.network_name_.IsDefault()) { + _impl_.network_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoClassInfo.class_t.network_name) +} + +// optional string table_name = 3; +inline bool CDemoClassInfo_class_t::_internal_has_table_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoClassInfo_class_t::has_table_name() const { + return _internal_has_table_name(); +} +inline void CDemoClassInfo_class_t::clear_table_name() { + _impl_.table_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CDemoClassInfo_class_t::table_name() const { + // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.table_name) + return _internal_table_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoClassInfo_class_t::set_table_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.table_name) +} +inline std::string* CDemoClassInfo_class_t::mutable_table_name() { + std::string* _s = _internal_mutable_table_name(); + // @@protoc_insertion_point(field_mutable:CDemoClassInfo.class_t.table_name) + return _s; +} +inline const std::string& CDemoClassInfo_class_t::_internal_table_name() const { + return _impl_.table_name_.Get(); +} +inline void CDemoClassInfo_class_t::_internal_set_table_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.table_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoClassInfo_class_t::_internal_mutable_table_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.table_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoClassInfo_class_t::release_table_name() { + // @@protoc_insertion_point(field_release:CDemoClassInfo.class_t.table_name) + if (!_internal_has_table_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.table_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.table_name_.IsDefault()) { + _impl_.table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoClassInfo_class_t::set_allocated_table_name(std::string* table_name) { + if (table_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.table_name_.SetAllocated(table_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.table_name_.IsDefault()) { + _impl_.table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoClassInfo.class_t.table_name) +} + +// ------------------------------------------------------------------- + +// CDemoClassInfo + +// repeated .CDemoClassInfo.class_t classes = 1; +inline int CDemoClassInfo::_internal_classes_size() const { + return _impl_.classes_.size(); +} +inline int CDemoClassInfo::classes_size() const { + return _internal_classes_size(); +} +inline void CDemoClassInfo::clear_classes() { + _impl_.classes_.Clear(); +} +inline ::CDemoClassInfo_class_t* CDemoClassInfo::mutable_classes(int index) { + // @@protoc_insertion_point(field_mutable:CDemoClassInfo.classes) + return _impl_.classes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >* +CDemoClassInfo::mutable_classes() { + // @@protoc_insertion_point(field_mutable_list:CDemoClassInfo.classes) + return &_impl_.classes_; +} +inline const ::CDemoClassInfo_class_t& CDemoClassInfo::_internal_classes(int index) const { + return _impl_.classes_.Get(index); +} +inline const ::CDemoClassInfo_class_t& CDemoClassInfo::classes(int index) const { + // @@protoc_insertion_point(field_get:CDemoClassInfo.classes) + return _internal_classes(index); +} +inline ::CDemoClassInfo_class_t* CDemoClassInfo::_internal_add_classes() { + return _impl_.classes_.Add(); +} +inline ::CDemoClassInfo_class_t* CDemoClassInfo::add_classes() { + ::CDemoClassInfo_class_t* _add = _internal_add_classes(); + // @@protoc_insertion_point(field_add:CDemoClassInfo.classes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >& +CDemoClassInfo::classes() const { + // @@protoc_insertion_point(field_list:CDemoClassInfo.classes) + return _impl_.classes_; +} + +// ------------------------------------------------------------------- + +// CDemoCustomData + +// optional int32 callback_index = 1; +inline bool CDemoCustomData::_internal_has_callback_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoCustomData::has_callback_index() const { + return _internal_has_callback_index(); +} +inline void CDemoCustomData::clear_callback_index() { + _impl_.callback_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDemoCustomData::_internal_callback_index() const { + return _impl_.callback_index_; +} +inline int32_t CDemoCustomData::callback_index() const { + // @@protoc_insertion_point(field_get:CDemoCustomData.callback_index) + return _internal_callback_index(); +} +inline void CDemoCustomData::_internal_set_callback_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.callback_index_ = value; +} +inline void CDemoCustomData::set_callback_index(int32_t value) { + _internal_set_callback_index(value); + // @@protoc_insertion_point(field_set:CDemoCustomData.callback_index) +} + +// optional bytes data = 2; +inline bool CDemoCustomData::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoCustomData::has_data() const { + return _internal_has_data(); +} +inline void CDemoCustomData::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoCustomData::data() const { + // @@protoc_insertion_point(field_get:CDemoCustomData.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoCustomData::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoCustomData.data) +} +inline std::string* CDemoCustomData::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoCustomData.data) + return _s; +} +inline const std::string& CDemoCustomData::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoCustomData::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoCustomData::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoCustomData::release_data() { + // @@protoc_insertion_point(field_release:CDemoCustomData.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoCustomData::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoCustomData.data) +} + +// ------------------------------------------------------------------- + +// CDemoCustomDataCallbacks + +// repeated string save_id = 1; +inline int CDemoCustomDataCallbacks::_internal_save_id_size() const { + return _impl_.save_id_.size(); +} +inline int CDemoCustomDataCallbacks::save_id_size() const { + return _internal_save_id_size(); +} +inline void CDemoCustomDataCallbacks::clear_save_id() { + _impl_.save_id_.Clear(); +} +inline std::string* CDemoCustomDataCallbacks::add_save_id() { + std::string* _s = _internal_add_save_id(); + // @@protoc_insertion_point(field_add_mutable:CDemoCustomDataCallbacks.save_id) + return _s; +} +inline const std::string& CDemoCustomDataCallbacks::_internal_save_id(int index) const { + return _impl_.save_id_.Get(index); +} +inline const std::string& CDemoCustomDataCallbacks::save_id(int index) const { + // @@protoc_insertion_point(field_get:CDemoCustomDataCallbacks.save_id) + return _internal_save_id(index); +} +inline std::string* CDemoCustomDataCallbacks::mutable_save_id(int index) { + // @@protoc_insertion_point(field_mutable:CDemoCustomDataCallbacks.save_id) + return _impl_.save_id_.Mutable(index); +} +inline void CDemoCustomDataCallbacks::set_save_id(int index, const std::string& value) { + _impl_.save_id_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::set_save_id(int index, std::string&& value) { + _impl_.save_id_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::set_save_id(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.save_id_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::set_save_id(int index, const char* value, size_t size) { + _impl_.save_id_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CDemoCustomDataCallbacks.save_id) +} +inline std::string* CDemoCustomDataCallbacks::_internal_add_save_id() { + return _impl_.save_id_.Add(); +} +inline void CDemoCustomDataCallbacks::add_save_id(const std::string& value) { + _impl_.save_id_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::add_save_id(std::string&& value) { + _impl_.save_id_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::add_save_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.save_id_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CDemoCustomDataCallbacks.save_id) +} +inline void CDemoCustomDataCallbacks::add_save_id(const char* value, size_t size) { + _impl_.save_id_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CDemoCustomDataCallbacks.save_id) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CDemoCustomDataCallbacks::save_id() const { + // @@protoc_insertion_point(field_list:CDemoCustomDataCallbacks.save_id) + return _impl_.save_id_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CDemoCustomDataCallbacks::mutable_save_id() { + // @@protoc_insertion_point(field_mutable_list:CDemoCustomDataCallbacks.save_id) + return &_impl_.save_id_; +} + +// ------------------------------------------------------------------- + +// CDemoAnimationHeader + +// optional sint32 entity_id = 1; +inline bool CDemoAnimationHeader::_internal_has_entity_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoAnimationHeader::has_entity_id() const { + return _internal_has_entity_id(); +} +inline void CDemoAnimationHeader::clear_entity_id() { + _impl_.entity_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDemoAnimationHeader::_internal_entity_id() const { + return _impl_.entity_id_; +} +inline int32_t CDemoAnimationHeader::entity_id() const { + // @@protoc_insertion_point(field_get:CDemoAnimationHeader.entity_id) + return _internal_entity_id(); +} +inline void CDemoAnimationHeader::_internal_set_entity_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entity_id_ = value; +} +inline void CDemoAnimationHeader::set_entity_id(int32_t value) { + _internal_set_entity_id(value); + // @@protoc_insertion_point(field_set:CDemoAnimationHeader.entity_id) +} + +// optional int32 tick = 2; +inline bool CDemoAnimationHeader::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoAnimationHeader::has_tick() const { + return _internal_has_tick(); +} +inline void CDemoAnimationHeader::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CDemoAnimationHeader::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CDemoAnimationHeader::tick() const { + // @@protoc_insertion_point(field_get:CDemoAnimationHeader.tick) + return _internal_tick(); +} +inline void CDemoAnimationHeader::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.tick_ = value; +} +inline void CDemoAnimationHeader::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CDemoAnimationHeader.tick) +} + +// optional bytes data = 3; +inline bool CDemoAnimationHeader::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoAnimationHeader::has_data() const { + return _internal_has_data(); +} +inline void CDemoAnimationHeader::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoAnimationHeader::data() const { + // @@protoc_insertion_point(field_get:CDemoAnimationHeader.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoAnimationHeader::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoAnimationHeader.data) +} +inline std::string* CDemoAnimationHeader::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoAnimationHeader.data) + return _s; +} +inline const std::string& CDemoAnimationHeader::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoAnimationHeader::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoAnimationHeader::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoAnimationHeader::release_data() { + // @@protoc_insertion_point(field_release:CDemoAnimationHeader.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoAnimationHeader::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoAnimationHeader.data) +} + +// ------------------------------------------------------------------- + +// CDemoAnimationData + +// optional sint32 entity_id = 1; +inline bool CDemoAnimationData::_internal_has_entity_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoAnimationData::has_entity_id() const { + return _internal_has_entity_id(); +} +inline void CDemoAnimationData::clear_entity_id() { + _impl_.entity_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDemoAnimationData::_internal_entity_id() const { + return _impl_.entity_id_; +} +inline int32_t CDemoAnimationData::entity_id() const { + // @@protoc_insertion_point(field_get:CDemoAnimationData.entity_id) + return _internal_entity_id(); +} +inline void CDemoAnimationData::_internal_set_entity_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entity_id_ = value; +} +inline void CDemoAnimationData::set_entity_id(int32_t value) { + _internal_set_entity_id(value); + // @@protoc_insertion_point(field_set:CDemoAnimationData.entity_id) +} + +// optional int32 start_tick = 2; +inline bool CDemoAnimationData::_internal_has_start_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CDemoAnimationData::has_start_tick() const { + return _internal_has_start_tick(); +} +inline void CDemoAnimationData::clear_start_tick() { + _impl_.start_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CDemoAnimationData::_internal_start_tick() const { + return _impl_.start_tick_; +} +inline int32_t CDemoAnimationData::start_tick() const { + // @@protoc_insertion_point(field_get:CDemoAnimationData.start_tick) + return _internal_start_tick(); +} +inline void CDemoAnimationData::_internal_set_start_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.start_tick_ = value; +} +inline void CDemoAnimationData::set_start_tick(int32_t value) { + _internal_set_start_tick(value); + // @@protoc_insertion_point(field_set:CDemoAnimationData.start_tick) +} + +// optional int32 end_tick = 3; +inline bool CDemoAnimationData::_internal_has_end_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CDemoAnimationData::has_end_tick() const { + return _internal_has_end_tick(); +} +inline void CDemoAnimationData::clear_end_tick() { + _impl_.end_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CDemoAnimationData::_internal_end_tick() const { + return _impl_.end_tick_; +} +inline int32_t CDemoAnimationData::end_tick() const { + // @@protoc_insertion_point(field_get:CDemoAnimationData.end_tick) + return _internal_end_tick(); +} +inline void CDemoAnimationData::_internal_set_end_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.end_tick_ = value; +} +inline void CDemoAnimationData::set_end_tick(int32_t value) { + _internal_set_end_tick(value); + // @@protoc_insertion_point(field_set:CDemoAnimationData.end_tick) +} + +// optional bytes data = 4; +inline bool CDemoAnimationData::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoAnimationData::has_data() const { + return _internal_has_data(); +} +inline void CDemoAnimationData::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoAnimationData::data() const { + // @@protoc_insertion_point(field_get:CDemoAnimationData.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoAnimationData::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoAnimationData.data) +} +inline std::string* CDemoAnimationData::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoAnimationData.data) + return _s; +} +inline const std::string& CDemoAnimationData::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoAnimationData::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoAnimationData::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoAnimationData::release_data() { + // @@protoc_insertion_point(field_release:CDemoAnimationData.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoAnimationData::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoAnimationData.data) +} + +// optional int64 data_checksum = 5; +inline bool CDemoAnimationData::_internal_has_data_checksum() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CDemoAnimationData::has_data_checksum() const { + return _internal_has_data_checksum(); +} +inline void CDemoAnimationData::clear_data_checksum() { + _impl_.data_checksum_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int64_t CDemoAnimationData::_internal_data_checksum() const { + return _impl_.data_checksum_; +} +inline int64_t CDemoAnimationData::data_checksum() const { + // @@protoc_insertion_point(field_get:CDemoAnimationData.data_checksum) + return _internal_data_checksum(); +} +inline void CDemoAnimationData::_internal_set_data_checksum(int64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.data_checksum_ = value; +} +inline void CDemoAnimationData::set_data_checksum(int64_t value) { + _internal_set_data_checksum(value); + // @@protoc_insertion_point(field_set:CDemoAnimationData.data_checksum) +} + +// ------------------------------------------------------------------- + +// CDemoStringTables_items_t + +// optional string str = 1; +inline bool CDemoStringTables_items_t::_internal_has_str() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoStringTables_items_t::has_str() const { + return _internal_has_str(); +} +inline void CDemoStringTables_items_t::clear_str() { + _impl_.str_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoStringTables_items_t::str() const { + // @@protoc_insertion_point(field_get:CDemoStringTables.items_t.str) + return _internal_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoStringTables_items_t::set_str(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoStringTables.items_t.str) +} +inline std::string* CDemoStringTables_items_t::mutable_str() { + std::string* _s = _internal_mutable_str(); + // @@protoc_insertion_point(field_mutable:CDemoStringTables.items_t.str) + return _s; +} +inline const std::string& CDemoStringTables_items_t::_internal_str() const { + return _impl_.str_.Get(); +} +inline void CDemoStringTables_items_t::_internal_set_str(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.str_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_items_t::_internal_mutable_str() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.str_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_items_t::release_str() { + // @@protoc_insertion_point(field_release:CDemoStringTables.items_t.str) + if (!_internal_has_str()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.str_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.str_.IsDefault()) { + _impl_.str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoStringTables_items_t::set_allocated_str(std::string* str) { + if (str != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.str_.SetAllocated(str, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.str_.IsDefault()) { + _impl_.str_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.items_t.str) +} + +// optional bytes data = 2; +inline bool CDemoStringTables_items_t::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoStringTables_items_t::has_data() const { + return _internal_has_data(); +} +inline void CDemoStringTables_items_t::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CDemoStringTables_items_t::data() const { + // @@protoc_insertion_point(field_get:CDemoStringTables.items_t.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoStringTables_items_t::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoStringTables.items_t.data) +} +inline std::string* CDemoStringTables_items_t::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoStringTables.items_t.data) + return _s; +} +inline const std::string& CDemoStringTables_items_t::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoStringTables_items_t::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_items_t::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_items_t::release_data() { + // @@protoc_insertion_point(field_release:CDemoStringTables.items_t.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoStringTables_items_t::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.items_t.data) +} + +// ------------------------------------------------------------------- + +// CDemoStringTables_table_t + +// optional string table_name = 1; +inline bool CDemoStringTables_table_t::_internal_has_table_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoStringTables_table_t::has_table_name() const { + return _internal_has_table_name(); +} +inline void CDemoStringTables_table_t::clear_table_name() { + _impl_.table_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoStringTables_table_t::table_name() const { + // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.table_name) + return _internal_table_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoStringTables_table_t::set_table_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoStringTables.table_t.table_name) +} +inline std::string* CDemoStringTables_table_t::mutable_table_name() { + std::string* _s = _internal_mutable_table_name(); + // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.table_name) + return _s; +} +inline const std::string& CDemoStringTables_table_t::_internal_table_name() const { + return _impl_.table_name_.Get(); +} +inline void CDemoStringTables_table_t::_internal_set_table_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.table_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_table_t::_internal_mutable_table_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.table_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoStringTables_table_t::release_table_name() { + // @@protoc_insertion_point(field_release:CDemoStringTables.table_t.table_name) + if (!_internal_has_table_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.table_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.table_name_.IsDefault()) { + _impl_.table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoStringTables_table_t::set_allocated_table_name(std::string* table_name) { + if (table_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.table_name_.SetAllocated(table_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.table_name_.IsDefault()) { + _impl_.table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.table_t.table_name) +} + +// repeated .CDemoStringTables.items_t items = 2; +inline int CDemoStringTables_table_t::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CDemoStringTables_table_t::items_size() const { + return _internal_items_size(); +} +inline void CDemoStringTables_table_t::clear_items() { + _impl_.items_.Clear(); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::mutable_items(int index) { + // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.items) + return _impl_.items_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* +CDemoStringTables_table_t::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.table_t.items) + return &_impl_.items_; +} +inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::items(int index) const { + // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.items) + return _internal_items(index); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::_internal_add_items() { + return _impl_.items_.Add(); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::add_items() { + ::CDemoStringTables_items_t* _add = _internal_add_items(); + // @@protoc_insertion_point(field_add:CDemoStringTables.table_t.items) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& +CDemoStringTables_table_t::items() const { + // @@protoc_insertion_point(field_list:CDemoStringTables.table_t.items) + return _impl_.items_; +} + +// repeated .CDemoStringTables.items_t items_clientside = 3; +inline int CDemoStringTables_table_t::_internal_items_clientside_size() const { + return _impl_.items_clientside_.size(); +} +inline int CDemoStringTables_table_t::items_clientside_size() const { + return _internal_items_clientside_size(); +} +inline void CDemoStringTables_table_t::clear_items_clientside() { + _impl_.items_clientside_.Clear(); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::mutable_items_clientside(int index) { + // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.items_clientside) + return _impl_.items_clientside_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* +CDemoStringTables_table_t::mutable_items_clientside() { + // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.table_t.items_clientside) + return &_impl_.items_clientside_; +} +inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::_internal_items_clientside(int index) const { + return _impl_.items_clientside_.Get(index); +} +inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::items_clientside(int index) const { + // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.items_clientside) + return _internal_items_clientside(index); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::_internal_add_items_clientside() { + return _impl_.items_clientside_.Add(); +} +inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::add_items_clientside() { + ::CDemoStringTables_items_t* _add = _internal_add_items_clientside(); + // @@protoc_insertion_point(field_add:CDemoStringTables.table_t.items_clientside) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& +CDemoStringTables_table_t::items_clientside() const { + // @@protoc_insertion_point(field_list:CDemoStringTables.table_t.items_clientside) + return _impl_.items_clientside_; +} + +// optional int32 table_flags = 4; +inline bool CDemoStringTables_table_t::_internal_has_table_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoStringTables_table_t::has_table_flags() const { + return _internal_has_table_flags(); +} +inline void CDemoStringTables_table_t::clear_table_flags() { + _impl_.table_flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDemoStringTables_table_t::_internal_table_flags() const { + return _impl_.table_flags_; +} +inline int32_t CDemoStringTables_table_t::table_flags() const { + // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.table_flags) + return _internal_table_flags(); +} +inline void CDemoStringTables_table_t::_internal_set_table_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.table_flags_ = value; +} +inline void CDemoStringTables_table_t::set_table_flags(int32_t value) { + _internal_set_table_flags(value); + // @@protoc_insertion_point(field_set:CDemoStringTables.table_t.table_flags) +} + +// ------------------------------------------------------------------- + +// CDemoStringTables + +// repeated .CDemoStringTables.table_t tables = 1; +inline int CDemoStringTables::_internal_tables_size() const { + return _impl_.tables_.size(); +} +inline int CDemoStringTables::tables_size() const { + return _internal_tables_size(); +} +inline void CDemoStringTables::clear_tables() { + _impl_.tables_.Clear(); +} +inline ::CDemoStringTables_table_t* CDemoStringTables::mutable_tables(int index) { + // @@protoc_insertion_point(field_mutable:CDemoStringTables.tables) + return _impl_.tables_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >* +CDemoStringTables::mutable_tables() { + // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.tables) + return &_impl_.tables_; +} +inline const ::CDemoStringTables_table_t& CDemoStringTables::_internal_tables(int index) const { + return _impl_.tables_.Get(index); +} +inline const ::CDemoStringTables_table_t& CDemoStringTables::tables(int index) const { + // @@protoc_insertion_point(field_get:CDemoStringTables.tables) + return _internal_tables(index); +} +inline ::CDemoStringTables_table_t* CDemoStringTables::_internal_add_tables() { + return _impl_.tables_.Add(); +} +inline ::CDemoStringTables_table_t* CDemoStringTables::add_tables() { + ::CDemoStringTables_table_t* _add = _internal_add_tables(); + // @@protoc_insertion_point(field_add:CDemoStringTables.tables) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >& +CDemoStringTables::tables() const { + // @@protoc_insertion_point(field_list:CDemoStringTables.tables) + return _impl_.tables_; +} + +// ------------------------------------------------------------------- + +// CDemoStop + +// ------------------------------------------------------------------- + +// CDemoUserCmd + +// optional int32 cmd_number = 1; +inline bool CDemoUserCmd::_internal_has_cmd_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoUserCmd::has_cmd_number() const { + return _internal_has_cmd_number(); +} +inline void CDemoUserCmd::clear_cmd_number() { + _impl_.cmd_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CDemoUserCmd::_internal_cmd_number() const { + return _impl_.cmd_number_; +} +inline int32_t CDemoUserCmd::cmd_number() const { + // @@protoc_insertion_point(field_get:CDemoUserCmd.cmd_number) + return _internal_cmd_number(); +} +inline void CDemoUserCmd::_internal_set_cmd_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cmd_number_ = value; +} +inline void CDemoUserCmd::set_cmd_number(int32_t value) { + _internal_set_cmd_number(value); + // @@protoc_insertion_point(field_set:CDemoUserCmd.cmd_number) +} + +// optional bytes data = 2; +inline bool CDemoUserCmd::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoUserCmd::has_data() const { + return _internal_has_data(); +} +inline void CDemoUserCmd::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoUserCmd::data() const { + // @@protoc_insertion_point(field_get:CDemoUserCmd.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoUserCmd::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoUserCmd.data) +} +inline std::string* CDemoUserCmd::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CDemoUserCmd.data) + return _s; +} +inline const std::string& CDemoUserCmd::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CDemoUserCmd::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoUserCmd::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoUserCmd::release_data() { + // @@protoc_insertion_point(field_release:CDemoUserCmd.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoUserCmd::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoUserCmd.data) +} + +// ------------------------------------------------------------------- + +// CDemoSpawnGroups + +// repeated bytes msgs = 3; +inline int CDemoSpawnGroups::_internal_msgs_size() const { + return _impl_.msgs_.size(); +} +inline int CDemoSpawnGroups::msgs_size() const { + return _internal_msgs_size(); +} +inline void CDemoSpawnGroups::clear_msgs() { + _impl_.msgs_.Clear(); +} +inline std::string* CDemoSpawnGroups::add_msgs() { + std::string* _s = _internal_add_msgs(); + // @@protoc_insertion_point(field_add_mutable:CDemoSpawnGroups.msgs) + return _s; +} +inline const std::string& CDemoSpawnGroups::_internal_msgs(int index) const { + return _impl_.msgs_.Get(index); +} +inline const std::string& CDemoSpawnGroups::msgs(int index) const { + // @@protoc_insertion_point(field_get:CDemoSpawnGroups.msgs) + return _internal_msgs(index); +} +inline std::string* CDemoSpawnGroups::mutable_msgs(int index) { + // @@protoc_insertion_point(field_mutable:CDemoSpawnGroups.msgs) + return _impl_.msgs_.Mutable(index); +} +inline void CDemoSpawnGroups::set_msgs(int index, const std::string& value) { + _impl_.msgs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::set_msgs(int index, std::string&& value) { + _impl_.msgs_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::set_msgs(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.msgs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::set_msgs(int index, const void* value, size_t size) { + _impl_.msgs_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CDemoSpawnGroups.msgs) +} +inline std::string* CDemoSpawnGroups::_internal_add_msgs() { + return _impl_.msgs_.Add(); +} +inline void CDemoSpawnGroups::add_msgs(const std::string& value) { + _impl_.msgs_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::add_msgs(std::string&& value) { + _impl_.msgs_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::add_msgs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.msgs_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CDemoSpawnGroups.msgs) +} +inline void CDemoSpawnGroups::add_msgs(const void* value, size_t size) { + _impl_.msgs_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CDemoSpawnGroups.msgs) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CDemoSpawnGroups::msgs() const { + // @@protoc_insertion_point(field_list:CDemoSpawnGroups.msgs) + return _impl_.msgs_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CDemoSpawnGroups::mutable_msgs() { + // @@protoc_insertion_point(field_mutable_list:CDemoSpawnGroups.msgs) + return &_impl_.msgs_; +} + +// ------------------------------------------------------------------- + +// CDemoRecovery_DemoInitialSpawnGroupEntry + +// optional uint32 spawngrouphandle = 1; +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CDemoRecovery_DemoInitialSpawnGroupEntry::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CDemoRecovery.DemoInitialSpawnGroupEntry.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngrouphandle_ = value; +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CDemoRecovery.DemoInitialSpawnGroupEntry.spawngrouphandle) +} + +// optional bool was_created = 2; +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_has_was_created() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::has_was_created() const { + return _internal_has_was_created(); +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::clear_was_created() { + _impl_.was_created_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_was_created() const { + return _impl_.was_created_; +} +inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::was_created() const { + // @@protoc_insertion_point(field_get:CDemoRecovery.DemoInitialSpawnGroupEntry.was_created) + return _internal_was_created(); +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_set_was_created(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.was_created_ = value; +} +inline void CDemoRecovery_DemoInitialSpawnGroupEntry::set_was_created(bool value) { + _internal_set_was_created(value); + // @@protoc_insertion_point(field_set:CDemoRecovery.DemoInitialSpawnGroupEntry.was_created) +} + +// ------------------------------------------------------------------- + +// CDemoRecovery + +// optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; +inline bool CDemoRecovery::_internal_has_initial_spawn_group() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.initial_spawn_group_ != nullptr); + return value; +} +inline bool CDemoRecovery::has_initial_spawn_group() const { + return _internal_has_initial_spawn_group(); +} +inline void CDemoRecovery::clear_initial_spawn_group() { + if (_impl_.initial_spawn_group_ != nullptr) _impl_.initial_spawn_group_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CDemoRecovery_DemoInitialSpawnGroupEntry& CDemoRecovery::_internal_initial_spawn_group() const { + const ::CDemoRecovery_DemoInitialSpawnGroupEntry* p = _impl_.initial_spawn_group_; + return p != nullptr ? *p : reinterpret_cast( + ::_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_); +} +inline const ::CDemoRecovery_DemoInitialSpawnGroupEntry& CDemoRecovery::initial_spawn_group() const { + // @@protoc_insertion_point(field_get:CDemoRecovery.initial_spawn_group) + return _internal_initial_spawn_group(); +} +inline void CDemoRecovery::unsafe_arena_set_allocated_initial_spawn_group( + ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.initial_spawn_group_); + } + _impl_.initial_spawn_group_ = initial_spawn_group; + if (initial_spawn_group) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoRecovery.initial_spawn_group) +} +inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::release_initial_spawn_group() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CDemoRecovery_DemoInitialSpawnGroupEntry* temp = _impl_.initial_spawn_group_; + _impl_.initial_spawn_group_ = 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 ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::unsafe_arena_release_initial_spawn_group() { + // @@protoc_insertion_point(field_release:CDemoRecovery.initial_spawn_group) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CDemoRecovery_DemoInitialSpawnGroupEntry* temp = _impl_.initial_spawn_group_; + _impl_.initial_spawn_group_ = nullptr; + return temp; +} +inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::_internal_mutable_initial_spawn_group() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.initial_spawn_group_ == nullptr) { + auto* p = CreateMaybeMessage<::CDemoRecovery_DemoInitialSpawnGroupEntry>(GetArenaForAllocation()); + _impl_.initial_spawn_group_ = p; + } + return _impl_.initial_spawn_group_; +} +inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::mutable_initial_spawn_group() { + ::CDemoRecovery_DemoInitialSpawnGroupEntry* _msg = _internal_mutable_initial_spawn_group(); + // @@protoc_insertion_point(field_mutable:CDemoRecovery.initial_spawn_group) + return _msg; +} +inline void CDemoRecovery::set_allocated_initial_spawn_group(::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.initial_spawn_group_; + } + if (initial_spawn_group) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(initial_spawn_group); + if (message_arena != submessage_arena) { + initial_spawn_group = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, initial_spawn_group, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.initial_spawn_group_ = initial_spawn_group; + // @@protoc_insertion_point(field_set_allocated:CDemoRecovery.initial_spawn_group) +} + +// optional bytes spawn_group_message = 2; +inline bool CDemoRecovery::_internal_has_spawn_group_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CDemoRecovery::has_spawn_group_message() const { + return _internal_has_spawn_group_message(); +} +inline void CDemoRecovery::clear_spawn_group_message() { + _impl_.spawn_group_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CDemoRecovery::spawn_group_message() const { + // @@protoc_insertion_point(field_get:CDemoRecovery.spawn_group_message) + return _internal_spawn_group_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CDemoRecovery::set_spawn_group_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawn_group_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CDemoRecovery.spawn_group_message) +} +inline std::string* CDemoRecovery::mutable_spawn_group_message() { + std::string* _s = _internal_mutable_spawn_group_message(); + // @@protoc_insertion_point(field_mutable:CDemoRecovery.spawn_group_message) + return _s; +} +inline const std::string& CDemoRecovery::_internal_spawn_group_message() const { + return _impl_.spawn_group_message_.Get(); +} +inline void CDemoRecovery::_internal_set_spawn_group_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawn_group_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CDemoRecovery::_internal_mutable_spawn_group_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.spawn_group_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CDemoRecovery::release_spawn_group_message() { + // @@protoc_insertion_point(field_release:CDemoRecovery.spawn_group_message) + if (!_internal_has_spawn_group_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.spawn_group_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawn_group_message_.IsDefault()) { + _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CDemoRecovery::set_allocated_spawn_group_message(std::string* spawn_group_message) { + if (spawn_group_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.spawn_group_message_.SetAllocated(spawn_group_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawn_group_message_.IsDefault()) { + _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CDemoRecovery.spawn_group_message) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EDemoCommands> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EDemoCommands>() { + return ::EDemoCommands_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_demo_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc new file mode 100644 index 0000000..8fb41e6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.cc @@ -0,0 +1,2044 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: econ_gcmessages.proto + +#include "econ_gcmessages.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; + +PROTOBUF_CONSTEXPR CMsgGCGiftedItems::CMsgGCGiftedItems( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.recipients_accountids_)*/{} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.giftdefindex_)*/0u + , /*decltype(_impl_.max_gifts_possible_)*/0u + , /*decltype(_impl_.num_eligible_recipients_)*/0u} {} +struct CMsgGCGiftedItemsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCGiftedItemsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCGiftedItemsDefaultTypeInternal() {} + union { + CMsgGCGiftedItems _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCGiftedItemsDefaultTypeInternal _CMsgGCGiftedItems_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.schema_typename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.instance_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.context_)*/uint64_t{0u} + , /*decltype(_impl_.id_)*/uint64_t{0u}} {} +struct CMsgGCDev_SchemaReservationRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCDev_SchemaReservationRequestDefaultTypeInternal() {} + union { + CMsgGCDev_SchemaReservationRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCDev_SchemaReservationRequestDefaultTypeInternal _CMsgGCDev_SchemaReservationRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgCasketItem::CMsgCasketItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.casket_item_id_)*/uint64_t{0u} + , /*decltype(_impl_.item_item_id_)*/uint64_t{0u}} {} +struct CMsgCasketItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgCasketItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgCasketItemDefaultTypeInternal() {} + union { + CMsgCasketItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCasketItemDefaultTypeInternal _CMsgCasketItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.state_)*/0u} {} +struct CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal() {} + union { + CMsgGCUserTrackTimePlayedConsecutively _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal _CMsgGCUserTrackTimePlayedConsecutively_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_id_)*/{} + , /*decltype(_impl_.extra_data_)*/{} + , /*decltype(_impl_.request_)*/0u} {} +struct CMsgGCItemCustomizationNotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCItemCustomizationNotificationDefaultTypeInternal() {} + union { + CMsgGCItemCustomizationNotification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCItemCustomizationNotificationDefaultTypeInternal _CMsgGCItemCustomizationNotification_default_instance_; +static ::_pb::Metadata file_level_metadata_econ_5fgcmessages_2eproto[5]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_econ_5fgcmessages_2eproto[4]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_econ_5fgcmessages_2eproto = nullptr; + +const uint32_t TableStruct_econ_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.giftdefindex_), + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.max_gifts_possible_), + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.num_eligible_recipients_), + PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.recipients_accountids_), + 0, + 1, + 2, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.schema_typename_), + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.instance_name_), + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.context_), + PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.id_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_.casket_item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_.item_item_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _impl_.state_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.item_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.request_), + PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.extra_data_), + ~0u, + 0, + ~0u, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 11, -1, sizeof(::CMsgGCGiftedItems)}, + { 16, 26, -1, sizeof(::CMsgGCDev_SchemaReservationRequest)}, + { 30, 38, -1, sizeof(::CMsgCasketItem)}, + { 40, 47, -1, sizeof(::CMsgGCUserTrackTimePlayedConsecutively)}, + { 48, 57, -1, sizeof(::CMsgGCItemCustomizationNotification)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgGCGiftedItems_default_instance_._instance, + &::_CMsgGCDev_SchemaReservationRequest_default_instance_._instance, + &::_CMsgCasketItem_default_instance_._instance, + &::_CMsgGCUserTrackTimePlayedConsecutively_default_instance_._instance, + &::_CMsgGCItemCustomizationNotification_default_instance_._instance, +}; + +const char descriptor_table_protodef_econ_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\025econ_gcmessages.proto\032\023steammessages.p" + "roto\"\230\001\n\021CMsgGCGiftedItems\022\021\n\taccountid\030" + "\001 \001(\r\022\024\n\014giftdefindex\030\002 \001(\r\022\032\n\022max_gifts" + "_possible\030\003 \001(\r\022\037\n\027num_eligible_recipien" + "ts\030\004 \001(\r\022\035\n\025recipients_accountids\030\005 \003(\r\"" + "q\n\"CMsgGCDev_SchemaReservationRequest\022\027\n" + "\017schema_typename\030\001 \001(\t\022\025\n\rinstance_name\030" + "\002 \001(\t\022\017\n\007context\030\003 \001(\004\022\n\n\002id\030\004 \001(\004\">\n\016CM" + "sgCasketItem\022\026\n\016casket_item_id\030\001 \001(\004\022\024\n\014" + "item_item_id\030\002 \001(\004\"7\n&CMsgGCUserTrackTim" + "ePlayedConsecutively\022\r\n\005state\030\001 \001(\r\"[\n#C" + "MsgGCItemCustomizationNotification\022\017\n\007it" + "em_id\030\001 \003(\004\022\017\n\007request\030\002 \001(\r\022\022\n\nextra_da" + "ta\030\003 \003(\004*\203)\n\nEGCItemMsg\022\021\n\014k_EMsgGCBase\020" + "\350\007\022\034\n\027k_EMsgGCSetItemPosition\020\351\007\022\022\n\rk_EM" + "sgGCCraft\020\352\007\022\032\n\025k_EMsgGCCraftResponse\020\353\007" + "\022\023\n\016k_EMsgGCDelete\020\354\007\022$\n\037k_EMsgGCVerifyC" + "acheSubscription\020\355\007\022\025\n\020k_EMsgGCNameItem\020" + "\356\007\022#\n\036k_EMsgGCUnlockCrate_DEPRECATED\020\357\007\022" + " \n\033k_EMsgGCUnlockCrateResponse\020\360\007\022\026\n\021k_E" + "MsgGCPaintItem\020\361\007\022\036\n\031k_EMsgGCPaintItemRe" + "sponse\020\362\007\022\"\n\035k_EMsgGCGoldenWrenchBroadca" + "st\020\363\007\022\030\n\023k_EMsgGCMOTDRequest\020\364\007\022 \n\033k_EMs" + "gGCMOTDRequestResponse\020\365\007\022\'\n\"k_EMsgGCAdd" + "ItemToSocket_DEPRECATED\020\366\007\022/\n*k_EMsgGCAd" + "dItemToSocketResponse_DEPRECATED\020\367\007\022+\n&k" + "_EMsgGCAddSocketToBaseItem_DEPRECATED\020\370\007" + "\022\'\n\"k_EMsgGCAddSocketToItem_DEPRECATED\020\371" + "\007\022/\n*k_EMsgGCAddSocketToItemResponse_DEP" + "RECATED\020\372\007\022\031\n\024k_EMsgGCNameBaseItem\020\373\007\022!\n" + "\034k_EMsgGCNameBaseItemResponse\020\374\007\022(\n#k_EM" + "sgGCRemoveSocketItem_DEPRECATED\020\375\007\0220\n+k_" + "EMsgGCRemoveSocketItemResponse_DEPRECATE" + "D\020\376\007\022!\n\034k_EMsgGCCustomizeItemTexture\020\377\007\022" + ")\n$k_EMsgGCCustomizeItemTextureResponse\020" + "\200\010\022\033\n\026k_EMsgGCUseItemRequest\020\201\010\022\034\n\027k_EMs" + "gGCUseItemResponse\020\202\010\022#\n\036k_EMsgGCGiftedI" + "tems_DEPRECATED\020\203\010\022\033\n\026k_EMsgGCRemoveItem" + "Name\020\206\010\022\034\n\027k_EMsgGCRemoveItemPaint\020\207\010\022\031\n" + "\024k_EMsgGCGiftWrapItem\020\210\010\022!\n\034k_EMsgGCGift" + "WrapItemResponse\020\211\010\022\030\n\023k_EMsgGCDeliverGi" + "ft\020\212\010\022%\n k_EMsgGCDeliverGiftResponseGive" + "r\020\213\010\022(\n#k_EMsgGCDeliverGiftResponseRecei" + "ver\020\214\010\022\036\n\031k_EMsgGCUnwrapGiftRequest\020\215\010\022\037" + "\n\032k_EMsgGCUnwrapGiftResponse\020\216\010\022\031\n\024k_EMs" + "gGCSetItemStyle\020\217\010\022\036\n\031k_EMsgGCUsedClaimC" + "odeItem\020\220\010\022\026\n\021k_EMsgGCSortItems\020\221\010\022*\n%k_" + "EMsgGC_RevolvingLootList_DEPRECATED\020\222\010\022\032" + "\n\025k_EMsgGCLookupAccount\020\223\010\022\"\n\035k_EMsgGCLo" + "okupAccountResponse\020\224\010\022\036\n\031k_EMsgGCLookup" + "AccountName\020\225\010\022&\n!k_EMsgGCLookupAccountN" + "ameResponse\020\226\010\022\035\n\030k_EMsgGCUpdateItemSche" + "ma\020\231\010\022 \n\033k_EMsgGCRemoveCustomTexture\020\233\010\022" + "(\n#k_EMsgGCRemoveCustomTextureResponse\020\234" + "\010\022\035\n\030k_EMsgGCRemoveMakersMark\020\235\010\022%\n k_EM" + "sgGCRemoveMakersMarkResponse\020\236\010\022#\n\036k_EMs" + "gGCRemoveUniqueCraftIndex\020\237\010\022+\n&k_EMsgGC" + "RemoveUniqueCraftIndexResponse\020\240\010\022\033\n\026k_E" + "MsgGCSaxxyBroadcast\020\241\010\022!\n\034k_EMsgGCBackpa" + "ckSortFinished\020\242\010\022\030\n\023k_EMsgGCCollectItem" + "\020\245\010\022)\n$k_EMsgGCItemAcknowledged__DEPRECA" + "TED\020\246\010\022\031\n\024k_EMsgGC_ReportAbuse\020\251\010\022!\n\034k_E" + "MsgGC_ReportAbuseResponse\020\252\010\022!\n\034k_EMsgGC" + "NameItemNotification\020\254\010\022#\n\036k_EMsgGCApply" + "ConsumableEffects\020\255\010\022 \n\033k_EMsgGCConsumab" + "leExhausted\020\256\010\022\036\n\031k_EMsgGCShowItemsPicke" + "dUp\020\257\010\022&\n!k_EMsgGCClientDisplayNotificat" + "ion\020\260\010\022\035\n\030k_EMsgGCApplyStrangePart\020\261\010\022)\n" + "$k_EMsgGC_IncrementKillCountAttribute\020\262\010" + "\022(\n#k_EMsgGC_IncrementKillCountResponse\020" + "\263\010\022 \n\033k_EMsgGCApplyPennantUpgrade\020\264\010\022\035\n\030" + "k_EMsgGCSetItemPositions\020\265\010\022\034\n\027k_EMsgGCA" + "pplyEggEssence\020\266\010\022#\n\036k_EMsgGCNameEggEsse" + "nceResponse\020\267\010\022\031\n\024k_EMsgGCPaintKitItem\020\270" + "\010\022\035\n\030k_EMsgGCPaintKitBaseItem\020\271\010\022!\n\034k_EM" + "sgGCPaintKitItemResponse\020\272\010\022\030\n\023k_EMsgGCG" + "iftedItems\020\273\010\022\034\n\027k_EMsgGCUnlockItemStyle" + "\020\274\010\022$\n\037k_EMsgGCUnlockItemStyleResponse\020\275" + "\010\022\031\n\024k_EMsgGCApplySticker\020\276\010\022\035\n\030k_EMsgGC" + "ItemAcknowledged\020\277\010\022\031\n\024k_EMsgGCStatTrakS" + "wap\020\300\010\022-\n(k_EMsgGCUserTrackTimePlayedCon" + "secutively\020\301\010\022*\n%k_EMsgGCItemCustomizati" + "onNotification\020\302\010\022 \n\033k_EMsgGCModifyItemA" + "ttribute\020\303\010\022\032\n\025k_EMsgGCCasketItemAdd\020\304\010\022" + "\036\n\031k_EMsgGCCasketItemExtract\020\305\010\022#\n\036k_EMs" + "gGCCasketItemLoadContents\020\306\010\022\030\n\023k_EMsgGC" + "TradingBase\020\334\013\022)\n$k_EMsgGCTrading_Initia" + "teTradeRequest\020\335\013\022*\n%k_EMsgGCTrading_Ini" + "tiateTradeResponse\020\336\013\022!\n\034k_EMsgGCTrading" + "_StartSession\020\337\013\022\034\n\027k_EMsgGCTrading_SetI" + "tem\020\340\013\022\037\n\032k_EMsgGCTrading_RemoveItem\020\341\013\022" + "$\n\037k_EMsgGCTrading_UpdateTradeInfo\020\342\013\022!\n" + "\034k_EMsgGCTrading_SetReadiness\020\343\013\022&\n!k_EM" + "sgGCTrading_ReadinessResponse\020\344\013\022\"\n\035k_EM" + "sgGCTrading_SessionClosed\020\345\013\022\"\n\035k_EMsgGC" + "Trading_CancelSession\020\346\013\022!\n\034k_EMsgGCTrad" + "ing_TradeChatMsg\020\347\013\022!\n\034k_EMsgGCTrading_C" + "onfirmOffer\020\350\013\022\'\n\"k_EMsgGCTrading_TradeT" + "ypingChatMsg\020\351\013\022)\n$k_EMsgGCServerBrowser" + "_FavoriteServer\020\301\014\022*\n%k_EMsgGCServerBrow" + "ser_BlacklistServer\020\302\014\022\036\n\031k_EMsgGCServer" + "RentalsBase\020\244\r\022#\n\036k_EMsgGCItemPreviewChe" + "ckStatus\020\245\r\022&\n!k_EMsgGCItemPreviewStatus" + "Response\020\246\r\022\037\n\032k_EMsgGCItemPreviewReques" + "t\020\247\r\022\'\n\"k_EMsgGCItemPreviewRequestRespon" + "se\020\250\r\022\036\n\031k_EMsgGCItemPreviewExpire\020\251\r\022*\n" + "%k_EMsgGCItemPreviewExpireNotification\020\252" + "\r\022.\n)k_EMsgGCItemPreviewItemBoughtNotifi" + "cation\020\253\r\022\037\n\032k_EMsgGCDev_NewItemRequest\020" + "\321\017\022\'\n\"k_EMsgGCDev_NewItemRequestResponse" + "\020\322\017\022!\n\034k_EMsgGCDev_PaintKitDropItem\020\323\017\022)" + "\n$k_EMsgGCDev_SchemaReservationRequest\020\324" + "\017\022\035\n\030k_EMsgGCStoreGetUserData\020\304\023\022%\n k_EM" + "sgGCStoreGetUserDataResponse\020\305\023\022)\n$k_EMs" + "gGCStorePurchaseInit_DEPRECATED\020\306\023\0221\n,k_" + "EMsgGCStorePurchaseInitResponse_DEPRECAT" + "ED\020\307\023\022\"\n\035k_EMsgGCStorePurchaseFinalize\020\310" + "\023\022*\n%k_EMsgGCStorePurchaseFinalizeRespon" + "se\020\311\023\022 \n\033k_EMsgGCStorePurchaseCancel\020\312\023\022" + "(\n#k_EMsgGCStorePurchaseCancelResponse\020\313" + "\023\022\"\n\035k_EMsgGCStorePurchaseQueryTxn\020\314\023\022*\n" + "%k_EMsgGCStorePurchaseQueryTxnResponse\020\315" + "\023\022\036\n\031k_EMsgGCStorePurchaseInit\020\316\023\022&\n!k_E" + "MsgGCStorePurchaseInitResponse\020\317\023\022\"\n\035k_E" + "MsgGCBannedWordListRequest\020\320\023\022#\n\036k_EMsgG" + "CBannedWordListResponse\020\321\023\022(\n#k_EMsgGCTo" + "GCBannedWordListBroadcast\020\322\023\022&\n!k_EMsgGC" + "ToGCBannedWordListUpdated\020\323\023\022\036\n\031k_EMsgGC" + "ToGCDirtySDOCache\020\324\023\022&\n!k_EMsgGCToGCDirt" + "yMultipleSDOCache\020\325\023\022\"\n\035k_EMsgGCToGCUpda" + "teSQLKeyValue\020\326\023\022 \n\033k_EMsgGCToGCIsTruste" + "dServer\020\327\023\022(\n#k_EMsgGCToGCIsTrustedServe" + "rResponse\020\330\023\022(\n#k_EMsgGCToGCBroadcastCon" + "soleCommand\020\331\023\022!\n\034k_EMsgGCServerVersionU" + "pdated\020\332\023\022%\n k_EMsgGCToGCWebAPIAccountCh" + "anged\020\334\023\022!\n\034k_EMsgGCRequestAnnouncements" + "\020\335\023\022)\n$k_EMsgGCRequestAnnouncementsRespo" + "nse\020\336\023\022%\n k_EMsgGCRequestPassportItemGra" + "nt\020\337\023\022!\n\034k_EMsgGCClientVersionUpdated\020\340\023" + "\022(\n#k_EMsgGCRecurringSubscriptionStatus\020" + "\342\023\022#\n\036k_EMsgGCAdjustEquipSlotsManual\020\343\023\022" + "$\n\037k_EMsgGCAdjustEquipSlotsShuffle\020\344\023\022\026\n" + "\021k_EMsgGCOpenCrate\020\346\023\022(\n#k_EMsgGCAcknowl" + "edgeRentalExpiration\020\347\023\022%\n k_EMsgGCVolat" + "ileItemLoadContents\020\350\023*\325\002\n\016EGCMsgRespons" + "e\022\026\n\022k_EGCMsgResponseOK\020\000\022\032\n\026k_EGCMsgRes" + "ponseDenied\020\001\022\037\n\033k_EGCMsgResponseServerE" + "rror\020\002\022\033\n\027k_EGCMsgResponseTimeout\020\003\022\033\n\027k" + "_EGCMsgResponseInvalid\020\004\022\033\n\027k_EGCMsgResp" + "onseNoMatch\020\005\022 \n\034k_EGCMsgResponseUnknown" + "Error\020\006\022\037\n\033k_EGCMsgResponseNotLoggedOn\020\007" + "\022\032\n\026k_EGCMsgFailedToCreate\020\010\022\031\n\025k_EGCMsg" + "LimitExceeded\020\t\022\035\n\031k_EGCMsgCommitUnfinal" + "ized\020\n*\351\001\n\014EUnlockStyle\022\033\n\027k_UnlockStyle" + "_Succeeded\020\000\022\037\n\033k_UnlockStyle_Failed_Pre" + "Req\020\001\022#\n\037k_UnlockStyle_Failed_CantAfford" + "\020\002\022#\n\037k_UnlockStyle_Failed_CantCommit\020\003\022" + "&\n\"k_UnlockStyle_Failed_CantLockCache\020\004\022" + ")\n%k_UnlockStyle_Failed_CantAffordAttrib" + "\020\005*\323\013\n EGCItemCustomizationNotification\022" + "0\n+k_EGCItemCustomizationNotification_Na" + "meItem\020\356\007\0223\n.k_EGCItemCustomizationNotif" + "ication_UnlockCrate\020\357\007\0226\n1k_EGCItemCusto" + "mizationNotification_XRayItemReveal\020\360\007\0225" + "\n0k_EGCItemCustomizationNotification_XRa" + "yItemClaim\020\361\007\0225\n0k_EGCItemCustomizationN" + "otification_CasketTooFull\020\363\007\0226\n1k_EGCIte" + "mCustomizationNotification_CasketContent" + "s\020\364\007\0223\n.k_EGCItemCustomizationNotificati" + "on_CasketAdded\020\365\007\0225\n0k_EGCItemCustomizat" + "ionNotification_CasketRemoved\020\366\007\0225\n0k_EG" + "CItemCustomizationNotification_CasketInv" + "Full\020\367\007\0224\n/k_EGCItemCustomizationNotific" + "ation_NameBaseItem\020\373\007\0226\n1k_EGCItemCustom" + "izationNotification_RemoveItemName\020\206\010\0225\n" + "0k_EGCItemCustomizationNotification_Remo" + "veSticker\020\235\010\0224\n/k_EGCItemCustomizationNo" + "tification_ApplySticker\020\276\010\0224\n/k_EGCItemC" + "ustomizationNotification_StatTrakSwap\020\300\010" + "\0223\n.k_EGCItemCustomizationNotification_R" + "emovePatch\020\301\010\0222\n-k_EGCItemCustomizationN" + "otification_ApplyPatch\020\302\010\0225\n0k_EGCItemCu" + "stomizationNotification_ApplyKeychain\020\303\010" + "\0226\n1k_EGCItemCustomizationNotification_R" + "emoveKeychain\020\304\010\0228\n3k_EGCItemCustomizati" + "onNotification_ActivateFanToken\020\332G\022=\n8k_" + "EGCItemCustomizationNotification_Activat" + "eOperationCoin\020\333G\0226\n1k_EGCItemCustomizat" + "ionNotification_GraffitiUnseal\020\341G\0228\n3k_E" + "GCItemCustomizationNotification_Generate" + "Souvenir\020\364G\022A\n" + "\n9k_EGCItemCustomizationNotification_Cli" + "entRedeemFreeReward\020\203H\0227\n2k_EGCItemCusto" + "mizationNotification_XpShopUseTicket\020\205H\022" + "7\n2k_EGCItemCustomizationNotification_Xp" + "ShopAckTracks\020\206H" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_econ_5fgcmessages_2eproto_deps[1] = { + &::descriptor_table_steammessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_econ_5fgcmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_econ_5fgcmessages_2eproto = { + false, false, 7856, descriptor_table_protodef_econ_5fgcmessages_2eproto, + "econ_gcmessages.proto", + &descriptor_table_econ_5fgcmessages_2eproto_once, descriptor_table_econ_5fgcmessages_2eproto_deps, 1, 5, + schemas, file_default_instances, TableStruct_econ_5fgcmessages_2eproto::offsets, + file_level_metadata_econ_5fgcmessages_2eproto, file_level_enum_descriptors_econ_5fgcmessages_2eproto, + file_level_service_descriptors_econ_5fgcmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_econ_5fgcmessages_2eproto_getter() { + return &descriptor_table_econ_5fgcmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_econ_5fgcmessages_2eproto(&descriptor_table_econ_5fgcmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); + return file_level_enum_descriptors_econ_5fgcmessages_2eproto[0]; +} +bool EGCItemMsg_IsValid(int value) { + switch (value) { + case 1000: + case 1001: + case 1002: + case 1003: + case 1004: + case 1005: + case 1006: + case 1007: + case 1008: + case 1009: + case 1010: + case 1011: + case 1012: + case 1013: + case 1014: + case 1015: + case 1016: + case 1017: + case 1018: + case 1019: + case 1020: + case 1021: + case 1022: + case 1023: + case 1024: + case 1025: + case 1026: + case 1027: + case 1030: + case 1031: + case 1032: + case 1033: + case 1034: + case 1035: + case 1036: + case 1037: + case 1038: + case 1039: + case 1040: + case 1041: + case 1042: + case 1043: + case 1044: + case 1045: + case 1046: + case 1049: + case 1051: + case 1052: + case 1053: + case 1054: + case 1055: + case 1056: + case 1057: + case 1058: + case 1061: + case 1062: + case 1065: + case 1066: + case 1068: + case 1069: + case 1070: + case 1071: + case 1072: + case 1073: + case 1074: + case 1075: + case 1076: + case 1077: + case 1078: + case 1079: + case 1080: + case 1081: + case 1082: + case 1083: + case 1084: + case 1085: + case 1086: + case 1087: + case 1088: + case 1089: + case 1090: + case 1091: + case 1092: + case 1093: + case 1094: + case 1500: + case 1501: + case 1502: + case 1503: + case 1504: + case 1505: + case 1506: + case 1507: + case 1508: + case 1509: + case 1510: + case 1511: + case 1512: + case 1513: + case 1601: + case 1602: + case 1700: + case 1701: + case 1702: + case 1703: + case 1704: + case 1705: + case 1706: + case 1707: + case 2001: + case 2002: + case 2003: + case 2004: + case 2500: + case 2501: + case 2502: + case 2503: + case 2504: + case 2505: + case 2506: + case 2507: + case 2508: + case 2509: + case 2510: + case 2511: + case 2512: + case 2513: + case 2514: + case 2515: + case 2516: + case 2517: + case 2518: + case 2519: + case 2520: + case 2521: + case 2522: + case 2524: + case 2525: + case 2526: + case 2527: + case 2528: + case 2530: + case 2531: + case 2532: + case 2534: + case 2535: + case 2536: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCMsgResponse_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); + return file_level_enum_descriptors_econ_5fgcmessages_2eproto[1]; +} +bool EGCMsgResponse_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EUnlockStyle_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); + return file_level_enum_descriptors_econ_5fgcmessages_2eproto[2]; +} +bool EUnlockStyle_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemCustomizationNotification_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); + return file_level_enum_descriptors_econ_5fgcmessages_2eproto[3]; +} +bool EGCItemCustomizationNotification_IsValid(int value) { + switch (value) { + case 1006: + case 1007: + case 1008: + case 1009: + case 1011: + case 1012: + case 1013: + case 1014: + case 1015: + case 1019: + case 1030: + case 1053: + case 1086: + case 1088: + case 1089: + case 1090: + case 1091: + case 1092: + case 9178: + case 9179: + case 9185: + case 9204: + case 9209: + case 9219: + case 9221: + case 9222: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgGCGiftedItems::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_giftdefindex(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_max_gifts_possible(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_num_eligible_recipients(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCGiftedItems::CMsgGCGiftedItems(::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:CMsgGCGiftedItems) +} +CMsgGCGiftedItems::CMsgGCGiftedItems(const CMsgGCGiftedItems& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCGiftedItems* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.recipients_accountids_){from._impl_.recipients_accountids_} + , decltype(_impl_.accountid_){} + , decltype(_impl_.giftdefindex_){} + , decltype(_impl_.max_gifts_possible_){} + , decltype(_impl_.num_eligible_recipients_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.num_eligible_recipients_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.num_eligible_recipients_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCGiftedItems) +} + +inline void CMsgGCGiftedItems::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.recipients_accountids_){arena} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.giftdefindex_){0u} + , decltype(_impl_.max_gifts_possible_){0u} + , decltype(_impl_.num_eligible_recipients_){0u} + }; +} + +CMsgGCGiftedItems::~CMsgGCGiftedItems() { + // @@protoc_insertion_point(destructor:CMsgGCGiftedItems) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCGiftedItems::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.recipients_accountids_.~RepeatedField(); +} + +void CMsgGCGiftedItems::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCGiftedItems::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCGiftedItems) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.recipients_accountids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.num_eligible_recipients_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.num_eligible_recipients_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCGiftedItems::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 giftdefindex = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_giftdefindex(&has_bits); + _impl_.giftdefindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_gifts_possible = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_max_gifts_possible(&has_bits); + _impl_.max_gifts_possible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_eligible_recipients = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_num_eligible_recipients(&has_bits); + _impl_.num_eligible_recipients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 recipients_accountids = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_recipients_accountids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_recipients_accountids(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCGiftedItems::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCGiftedItems) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); + } + + // optional uint32 giftdefindex = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_giftdefindex(), target); + } + + // optional uint32 max_gifts_possible = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_max_gifts_possible(), target); + } + + // optional uint32 num_eligible_recipients = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_num_eligible_recipients(), target); + } + + // repeated uint32 recipients_accountids = 5; + for (int i = 0, n = this->_internal_recipients_accountids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_recipients_accountids(i), 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:CMsgGCGiftedItems) + return target; +} + +size_t CMsgGCGiftedItems::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCGiftedItems) + 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 uint32 recipients_accountids = 5; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.recipients_accountids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_recipients_accountids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 accountid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); + } + + // optional uint32 giftdefindex = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_giftdefindex()); + } + + // optional uint32 max_gifts_possible = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_gifts_possible()); + } + + // optional uint32 num_eligible_recipients = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_eligible_recipients()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCGiftedItems::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCGiftedItems::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCGiftedItems::GetClassData() const { return &_class_data_; } + + +void CMsgGCGiftedItems::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:CMsgGCGiftedItems) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.recipients_accountids_.MergeFrom(from._impl_.recipients_accountids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.giftdefindex_ = from._impl_.giftdefindex_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.max_gifts_possible_ = from._impl_.max_gifts_possible_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.num_eligible_recipients_ = from._impl_.num_eligible_recipients_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCGiftedItems::CopyFrom(const CMsgGCGiftedItems& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCGiftedItems) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCGiftedItems::IsInitialized() const { + return true; +} + +void CMsgGCGiftedItems::InternalSwap(CMsgGCGiftedItems* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.recipients_accountids_.InternalSwap(&other->_impl_.recipients_accountids_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCGiftedItems, _impl_.num_eligible_recipients_) + + sizeof(CMsgGCGiftedItems::_impl_.num_eligible_recipients_) + - PROTOBUF_FIELD_OFFSET(CMsgGCGiftedItems, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCGiftedItems::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, + file_level_metadata_econ_5fgcmessages_2eproto[0]); +} + +// =================================================================== + +class CMsgGCDev_SchemaReservationRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_schema_typename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_instance_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_context(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest(::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:CMsgGCDev_SchemaReservationRequest) +} +CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest(const CMsgGCDev_SchemaReservationRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCDev_SchemaReservationRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.schema_typename_){} + , decltype(_impl_.instance_name_){} + , decltype(_impl_.context_){} + , decltype(_impl_.id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.schema_typename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_typename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_schema_typename()) { + _this->_impl_.schema_typename_.Set(from._internal_schema_typename(), + _this->GetArenaForAllocation()); + } + _impl_.instance_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.instance_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_instance_name()) { + _this->_impl_.instance_name_.Set(from._internal_instance_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.context_, &from._impl_.context_, + static_cast(reinterpret_cast(&_impl_.id_) - + reinterpret_cast(&_impl_.context_)) + sizeof(_impl_.id_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCDev_SchemaReservationRequest) +} + +inline void CMsgGCDev_SchemaReservationRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.schema_typename_){} + , decltype(_impl_.instance_name_){} + , decltype(_impl_.context_){uint64_t{0u}} + , decltype(_impl_.id_){uint64_t{0u}} + }; + _impl_.schema_typename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_typename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.instance_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.instance_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCDev_SchemaReservationRequest::~CMsgGCDev_SchemaReservationRequest() { + // @@protoc_insertion_point(destructor:CMsgGCDev_SchemaReservationRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCDev_SchemaReservationRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.schema_typename_.Destroy(); + _impl_.instance_name_.Destroy(); +} + +void CMsgGCDev_SchemaReservationRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCDev_SchemaReservationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCDev_SchemaReservationRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.schema_typename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.instance_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.context_, 0, static_cast( + reinterpret_cast(&_impl_.id_) - + reinterpret_cast(&_impl_.context_)) + sizeof(_impl_.id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCDev_SchemaReservationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string schema_typename = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_schema_typename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCDev_SchemaReservationRequest.schema_typename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string instance_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_instance_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgGCDev_SchemaReservationRequest.instance_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 context = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_context(&has_bits); + _impl_.context_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCDev_SchemaReservationRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCDev_SchemaReservationRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string schema_typename = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_schema_typename().data(), static_cast(this->_internal_schema_typename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCDev_SchemaReservationRequest.schema_typename"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_schema_typename(), target); + } + + // optional string instance_name = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_instance_name().data(), static_cast(this->_internal_instance_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgGCDev_SchemaReservationRequest.instance_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_instance_name(), target); + } + + // optional uint64 context = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_context(), target); + } + + // optional uint64 id = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_id(), 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:CMsgGCDev_SchemaReservationRequest) + return target; +} + +size_t CMsgGCDev_SchemaReservationRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCDev_SchemaReservationRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string schema_typename = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_schema_typename()); + } + + // optional string instance_name = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_instance_name()); + } + + // optional uint64 context = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_context()); + } + + // optional uint64 id = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCDev_SchemaReservationRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCDev_SchemaReservationRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCDev_SchemaReservationRequest::GetClassData() const { return &_class_data_; } + + +void CMsgGCDev_SchemaReservationRequest::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:CMsgGCDev_SchemaReservationRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_schema_typename(from._internal_schema_typename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_instance_name(from._internal_instance_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.context_ = from._impl_.context_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.id_ = from._impl_.id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCDev_SchemaReservationRequest::CopyFrom(const CMsgGCDev_SchemaReservationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCDev_SchemaReservationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCDev_SchemaReservationRequest::IsInitialized() const { + return true; +} + +void CMsgGCDev_SchemaReservationRequest::InternalSwap(CMsgGCDev_SchemaReservationRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.schema_typename_, lhs_arena, + &other->_impl_.schema_typename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.instance_name_, lhs_arena, + &other->_impl_.instance_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCDev_SchemaReservationRequest, _impl_.id_) + + sizeof(CMsgGCDev_SchemaReservationRequest::_impl_.id_) + - PROTOBUF_FIELD_OFFSET(CMsgGCDev_SchemaReservationRequest, _impl_.context_)>( + reinterpret_cast(&_impl_.context_), + reinterpret_cast(&other->_impl_.context_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCDev_SchemaReservationRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, + file_level_metadata_econ_5fgcmessages_2eproto[1]); +} + +// =================================================================== + +class CMsgCasketItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_casket_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_item_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgCasketItem::CMsgCasketItem(::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:CMsgCasketItem) +} +CMsgCasketItem::CMsgCasketItem(const CMsgCasketItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgCasketItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.casket_item_id_){} + , decltype(_impl_.item_item_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.casket_item_id_, &from._impl_.casket_item_id_, + static_cast(reinterpret_cast(&_impl_.item_item_id_) - + reinterpret_cast(&_impl_.casket_item_id_)) + sizeof(_impl_.item_item_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgCasketItem) +} + +inline void CMsgCasketItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.casket_item_id_){uint64_t{0u}} + , decltype(_impl_.item_item_id_){uint64_t{0u}} + }; +} + +CMsgCasketItem::~CMsgCasketItem() { + // @@protoc_insertion_point(destructor:CMsgCasketItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgCasketItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgCasketItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgCasketItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgCasketItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.casket_item_id_, 0, static_cast( + reinterpret_cast(&_impl_.item_item_id_) - + reinterpret_cast(&_impl_.casket_item_id_)) + sizeof(_impl_.item_item_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgCasketItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 casket_item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_casket_item_id(&has_bits); + _impl_.casket_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 item_item_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_item_id(&has_bits); + _impl_.item_item_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgCasketItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgCasketItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 casket_item_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_casket_item_id(), target); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), 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:CMsgCasketItem) + return target; +} + +size_t CMsgCasketItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgCasketItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 casket_item_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_casket_item_id()); + } + + // optional uint64 item_item_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCasketItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgCasketItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCasketItem::GetClassData() const { return &_class_data_; } + + +void CMsgCasketItem::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:CMsgCasketItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.casket_item_id_ = from._impl_.casket_item_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_item_id_ = from._impl_.item_item_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgCasketItem::CopyFrom(const CMsgCasketItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCasketItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgCasketItem::IsInitialized() const { + return true; +} + +void CMsgCasketItem::InternalSwap(CMsgCasketItem* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgCasketItem, _impl_.item_item_id_) + + sizeof(CMsgCasketItem::_impl_.item_item_id_) + - PROTOBUF_FIELD_OFFSET(CMsgCasketItem, _impl_.casket_item_id_)>( + reinterpret_cast(&_impl_.casket_item_id_), + reinterpret_cast(&other->_impl_.casket_item_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgCasketItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, + file_level_metadata_econ_5fgcmessages_2eproto[2]); +} + +// =================================================================== + +class CMsgGCUserTrackTimePlayedConsecutively::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively(::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:CMsgGCUserTrackTimePlayedConsecutively) +} +CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively(const CMsgGCUserTrackTimePlayedConsecutively& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCUserTrackTimePlayedConsecutively* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.state_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.state_ = from._impl_.state_; + // @@protoc_insertion_point(copy_constructor:CMsgGCUserTrackTimePlayedConsecutively) +} + +inline void CMsgGCUserTrackTimePlayedConsecutively::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.state_){0u} + }; +} + +CMsgGCUserTrackTimePlayedConsecutively::~CMsgGCUserTrackTimePlayedConsecutively() { + // @@protoc_insertion_point(destructor:CMsgGCUserTrackTimePlayedConsecutively) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCUserTrackTimePlayedConsecutively::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCUserTrackTimePlayedConsecutively::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCUserTrackTimePlayedConsecutively::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCUserTrackTimePlayedConsecutively) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.state_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCUserTrackTimePlayedConsecutively::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 state = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_state(&has_bits); + _impl_.state_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCUserTrackTimePlayedConsecutively::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCUserTrackTimePlayedConsecutively) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 state = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, 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:CMsgGCUserTrackTimePlayedConsecutively) + return target; +} + +size_t CMsgGCUserTrackTimePlayedConsecutively::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCUserTrackTimePlayedConsecutively) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 state = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_state()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCUserTrackTimePlayedConsecutively::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCUserTrackTimePlayedConsecutively::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCUserTrackTimePlayedConsecutively::GetClassData() const { return &_class_data_; } + + +void CMsgGCUserTrackTimePlayedConsecutively::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:CMsgGCUserTrackTimePlayedConsecutively) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_state()) { + _this->_internal_set_state(from._internal_state()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCUserTrackTimePlayedConsecutively::CopyFrom(const CMsgGCUserTrackTimePlayedConsecutively& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCUserTrackTimePlayedConsecutively) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCUserTrackTimePlayedConsecutively::IsInitialized() const { + return true; +} + +void CMsgGCUserTrackTimePlayedConsecutively::InternalSwap(CMsgGCUserTrackTimePlayedConsecutively* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.state_, other->_impl_.state_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCUserTrackTimePlayedConsecutively::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, + file_level_metadata_econ_5fgcmessages_2eproto[3]); +} + +// =================================================================== + +class CMsgGCItemCustomizationNotification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification(::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:CMsgGCItemCustomizationNotification) +} +CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification(const CMsgGCItemCustomizationNotification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCItemCustomizationNotification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){from._impl_.item_id_} + , decltype(_impl_.extra_data_){from._impl_.extra_data_} + , decltype(_impl_.request_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.request_ = from._impl_.request_; + // @@protoc_insertion_point(copy_constructor:CMsgGCItemCustomizationNotification) +} + +inline void CMsgGCItemCustomizationNotification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_id_){arena} + , decltype(_impl_.extra_data_){arena} + , decltype(_impl_.request_){0u} + }; +} + +CMsgGCItemCustomizationNotification::~CMsgGCItemCustomizationNotification() { + // @@protoc_insertion_point(destructor:CMsgGCItemCustomizationNotification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCItemCustomizationNotification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_id_.~RepeatedField(); + _impl_.extra_data_.~RepeatedField(); +} + +void CMsgGCItemCustomizationNotification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCItemCustomizationNotification::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCItemCustomizationNotification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_id_.Clear(); + _impl_.extra_data_.Clear(); + _impl_.request_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCItemCustomizationNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated uint64 item_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_item_id(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_id(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 request = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_request(&has_bits); + _impl_.request_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 extra_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_extra_data(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_extra_data(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCItemCustomizationNotification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCItemCustomizationNotification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated uint64 item_id = 1; + for (int i = 0, n = this->_internal_item_id_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 request = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_request(), target); + } + + // repeated uint64 extra_data = 3; + for (int i = 0, n = this->_internal_extra_data_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_extra_data(i), 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:CMsgGCItemCustomizationNotification) + return target; +} + +size_t CMsgGCItemCustomizationNotification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCItemCustomizationNotification) + 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 uint64 item_id = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.item_id_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_item_id_size()); + total_size += data_size; + } + + // repeated uint64 extra_data = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.extra_data_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_extra_data_size()); + total_size += data_size; + } + + // optional uint32 request = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCItemCustomizationNotification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCItemCustomizationNotification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCItemCustomizationNotification::GetClassData() const { return &_class_data_; } + + +void CMsgGCItemCustomizationNotification::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:CMsgGCItemCustomizationNotification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.item_id_.MergeFrom(from._impl_.item_id_); + _this->_impl_.extra_data_.MergeFrom(from._impl_.extra_data_); + if (from._internal_has_request()) { + _this->_internal_set_request(from._internal_request()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCItemCustomizationNotification::CopyFrom(const CMsgGCItemCustomizationNotification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCItemCustomizationNotification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCItemCustomizationNotification::IsInitialized() const { + return true; +} + +void CMsgGCItemCustomizationNotification::InternalSwap(CMsgGCItemCustomizationNotification* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.item_id_.InternalSwap(&other->_impl_.item_id_); + _impl_.extra_data_.InternalSwap(&other->_impl_.extra_data_); + swap(_impl_.request_, other->_impl_.request_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCItemCustomizationNotification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, + file_level_metadata_econ_5fgcmessages_2eproto[4]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgGCGiftedItems* +Arena::CreateMaybeMessage< ::CMsgGCGiftedItems >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCGiftedItems >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCDev_SchemaReservationRequest* +Arena::CreateMaybeMessage< ::CMsgGCDev_SchemaReservationRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCDev_SchemaReservationRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgCasketItem* +Arena::CreateMaybeMessage< ::CMsgCasketItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgCasketItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCUserTrackTimePlayedConsecutively* +Arena::CreateMaybeMessage< ::CMsgGCUserTrackTimePlayedConsecutively >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCUserTrackTimePlayedConsecutively >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCItemCustomizationNotification* +Arena::CreateMaybeMessage< ::CMsgGCItemCustomizationNotification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCItemCustomizationNotification >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h new file mode 100644 index 0000000..3e3f539 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/econ_gcmessages.pb.h @@ -0,0 +1,1960 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: econ_gcmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "steammessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_econ_5fgcmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_econ_5fgcmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_econ_5fgcmessages_2eproto; +class CMsgCasketItem; +struct CMsgCasketItemDefaultTypeInternal; +extern CMsgCasketItemDefaultTypeInternal _CMsgCasketItem_default_instance_; +class CMsgGCDev_SchemaReservationRequest; +struct CMsgGCDev_SchemaReservationRequestDefaultTypeInternal; +extern CMsgGCDev_SchemaReservationRequestDefaultTypeInternal _CMsgGCDev_SchemaReservationRequest_default_instance_; +class CMsgGCGiftedItems; +struct CMsgGCGiftedItemsDefaultTypeInternal; +extern CMsgGCGiftedItemsDefaultTypeInternal _CMsgGCGiftedItems_default_instance_; +class CMsgGCItemCustomizationNotification; +struct CMsgGCItemCustomizationNotificationDefaultTypeInternal; +extern CMsgGCItemCustomizationNotificationDefaultTypeInternal _CMsgGCItemCustomizationNotification_default_instance_; +class CMsgGCUserTrackTimePlayedConsecutively; +struct CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal; +extern CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal _CMsgGCUserTrackTimePlayedConsecutively_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgCasketItem* Arena::CreateMaybeMessage<::CMsgCasketItem>(Arena*); +template<> ::CMsgGCDev_SchemaReservationRequest* Arena::CreateMaybeMessage<::CMsgGCDev_SchemaReservationRequest>(Arena*); +template<> ::CMsgGCGiftedItems* Arena::CreateMaybeMessage<::CMsgGCGiftedItems>(Arena*); +template<> ::CMsgGCItemCustomizationNotification* Arena::CreateMaybeMessage<::CMsgGCItemCustomizationNotification>(Arena*); +template<> ::CMsgGCUserTrackTimePlayedConsecutively* Arena::CreateMaybeMessage<::CMsgGCUserTrackTimePlayedConsecutively>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EGCItemMsg : int { + k_EMsgGCBase = 1000, + k_EMsgGCSetItemPosition = 1001, + k_EMsgGCCraft = 1002, + k_EMsgGCCraftResponse = 1003, + k_EMsgGCDelete = 1004, + k_EMsgGCVerifyCacheSubscription = 1005, + k_EMsgGCNameItem = 1006, + k_EMsgGCUnlockCrate_DEPRECATED = 1007, + k_EMsgGCUnlockCrateResponse = 1008, + k_EMsgGCPaintItem = 1009, + k_EMsgGCPaintItemResponse = 1010, + k_EMsgGCGoldenWrenchBroadcast = 1011, + k_EMsgGCMOTDRequest = 1012, + k_EMsgGCMOTDRequestResponse = 1013, + k_EMsgGCAddItemToSocket_DEPRECATED = 1014, + k_EMsgGCAddItemToSocketResponse_DEPRECATED = 1015, + k_EMsgGCAddSocketToBaseItem_DEPRECATED = 1016, + k_EMsgGCAddSocketToItem_DEPRECATED = 1017, + k_EMsgGCAddSocketToItemResponse_DEPRECATED = 1018, + k_EMsgGCNameBaseItem = 1019, + k_EMsgGCNameBaseItemResponse = 1020, + k_EMsgGCRemoveSocketItem_DEPRECATED = 1021, + k_EMsgGCRemoveSocketItemResponse_DEPRECATED = 1022, + k_EMsgGCCustomizeItemTexture = 1023, + k_EMsgGCCustomizeItemTextureResponse = 1024, + k_EMsgGCUseItemRequest = 1025, + k_EMsgGCUseItemResponse = 1026, + k_EMsgGCGiftedItems_DEPRECATED = 1027, + k_EMsgGCRemoveItemName = 1030, + k_EMsgGCRemoveItemPaint = 1031, + k_EMsgGCGiftWrapItem = 1032, + k_EMsgGCGiftWrapItemResponse = 1033, + k_EMsgGCDeliverGift = 1034, + k_EMsgGCDeliverGiftResponseGiver = 1035, + k_EMsgGCDeliverGiftResponseReceiver = 1036, + k_EMsgGCUnwrapGiftRequest = 1037, + k_EMsgGCUnwrapGiftResponse = 1038, + k_EMsgGCSetItemStyle = 1039, + k_EMsgGCUsedClaimCodeItem = 1040, + k_EMsgGCSortItems = 1041, + k_EMsgGC_RevolvingLootList_DEPRECATED = 1042, + k_EMsgGCLookupAccount = 1043, + k_EMsgGCLookupAccountResponse = 1044, + k_EMsgGCLookupAccountName = 1045, + k_EMsgGCLookupAccountNameResponse = 1046, + k_EMsgGCUpdateItemSchema = 1049, + k_EMsgGCRemoveCustomTexture = 1051, + k_EMsgGCRemoveCustomTextureResponse = 1052, + k_EMsgGCRemoveMakersMark = 1053, + k_EMsgGCRemoveMakersMarkResponse = 1054, + k_EMsgGCRemoveUniqueCraftIndex = 1055, + k_EMsgGCRemoveUniqueCraftIndexResponse = 1056, + k_EMsgGCSaxxyBroadcast = 1057, + k_EMsgGCBackpackSortFinished = 1058, + k_EMsgGCCollectItem = 1061, + k_EMsgGCItemAcknowledged__DEPRECATED = 1062, + k_EMsgGC_ReportAbuse = 1065, + k_EMsgGC_ReportAbuseResponse = 1066, + k_EMsgGCNameItemNotification = 1068, + k_EMsgGCApplyConsumableEffects = 1069, + k_EMsgGCConsumableExhausted = 1070, + k_EMsgGCShowItemsPickedUp = 1071, + k_EMsgGCClientDisplayNotification = 1072, + k_EMsgGCApplyStrangePart = 1073, + k_EMsgGC_IncrementKillCountAttribute = 1074, + k_EMsgGC_IncrementKillCountResponse = 1075, + k_EMsgGCApplyPennantUpgrade = 1076, + k_EMsgGCSetItemPositions = 1077, + k_EMsgGCApplyEggEssence = 1078, + k_EMsgGCNameEggEssenceResponse = 1079, + k_EMsgGCPaintKitItem = 1080, + k_EMsgGCPaintKitBaseItem = 1081, + k_EMsgGCPaintKitItemResponse = 1082, + k_EMsgGCGiftedItems = 1083, + k_EMsgGCUnlockItemStyle = 1084, + k_EMsgGCUnlockItemStyleResponse = 1085, + k_EMsgGCApplySticker = 1086, + k_EMsgGCItemAcknowledged = 1087, + k_EMsgGCStatTrakSwap = 1088, + k_EMsgGCUserTrackTimePlayedConsecutively = 1089, + k_EMsgGCItemCustomizationNotification = 1090, + k_EMsgGCModifyItemAttribute = 1091, + k_EMsgGCCasketItemAdd = 1092, + k_EMsgGCCasketItemExtract = 1093, + k_EMsgGCCasketItemLoadContents = 1094, + k_EMsgGCTradingBase = 1500, + k_EMsgGCTrading_InitiateTradeRequest = 1501, + k_EMsgGCTrading_InitiateTradeResponse = 1502, + k_EMsgGCTrading_StartSession = 1503, + k_EMsgGCTrading_SetItem = 1504, + k_EMsgGCTrading_RemoveItem = 1505, + k_EMsgGCTrading_UpdateTradeInfo = 1506, + k_EMsgGCTrading_SetReadiness = 1507, + k_EMsgGCTrading_ReadinessResponse = 1508, + k_EMsgGCTrading_SessionClosed = 1509, + k_EMsgGCTrading_CancelSession = 1510, + k_EMsgGCTrading_TradeChatMsg = 1511, + k_EMsgGCTrading_ConfirmOffer = 1512, + k_EMsgGCTrading_TradeTypingChatMsg = 1513, + k_EMsgGCServerBrowser_FavoriteServer = 1601, + k_EMsgGCServerBrowser_BlacklistServer = 1602, + k_EMsgGCServerRentalsBase = 1700, + k_EMsgGCItemPreviewCheckStatus = 1701, + k_EMsgGCItemPreviewStatusResponse = 1702, + k_EMsgGCItemPreviewRequest = 1703, + k_EMsgGCItemPreviewRequestResponse = 1704, + k_EMsgGCItemPreviewExpire = 1705, + k_EMsgGCItemPreviewExpireNotification = 1706, + k_EMsgGCItemPreviewItemBoughtNotification = 1707, + k_EMsgGCDev_NewItemRequest = 2001, + k_EMsgGCDev_NewItemRequestResponse = 2002, + k_EMsgGCDev_PaintKitDropItem = 2003, + k_EMsgGCDev_SchemaReservationRequest = 2004, + k_EMsgGCStoreGetUserData = 2500, + k_EMsgGCStoreGetUserDataResponse = 2501, + k_EMsgGCStorePurchaseInit_DEPRECATED = 2502, + k_EMsgGCStorePurchaseInitResponse_DEPRECATED = 2503, + k_EMsgGCStorePurchaseFinalize = 2504, + k_EMsgGCStorePurchaseFinalizeResponse = 2505, + k_EMsgGCStorePurchaseCancel = 2506, + k_EMsgGCStorePurchaseCancelResponse = 2507, + k_EMsgGCStorePurchaseQueryTxn = 2508, + k_EMsgGCStorePurchaseQueryTxnResponse = 2509, + k_EMsgGCStorePurchaseInit = 2510, + k_EMsgGCStorePurchaseInitResponse = 2511, + k_EMsgGCBannedWordListRequest = 2512, + k_EMsgGCBannedWordListResponse = 2513, + k_EMsgGCToGCBannedWordListBroadcast = 2514, + k_EMsgGCToGCBannedWordListUpdated = 2515, + k_EMsgGCToGCDirtySDOCache = 2516, + k_EMsgGCToGCDirtyMultipleSDOCache = 2517, + k_EMsgGCToGCUpdateSQLKeyValue = 2518, + k_EMsgGCToGCIsTrustedServer = 2519, + k_EMsgGCToGCIsTrustedServerResponse = 2520, + k_EMsgGCToGCBroadcastConsoleCommand = 2521, + k_EMsgGCServerVersionUpdated = 2522, + k_EMsgGCToGCWebAPIAccountChanged = 2524, + k_EMsgGCRequestAnnouncements = 2525, + k_EMsgGCRequestAnnouncementsResponse = 2526, + k_EMsgGCRequestPassportItemGrant = 2527, + k_EMsgGCClientVersionUpdated = 2528, + k_EMsgGCRecurringSubscriptionStatus = 2530, + k_EMsgGCAdjustEquipSlotsManual = 2531, + k_EMsgGCAdjustEquipSlotsShuffle = 2532, + k_EMsgGCOpenCrate = 2534, + k_EMsgGCAcknowledgeRentalExpiration = 2535, + k_EMsgGCVolatileItemLoadContents = 2536 +}; +bool EGCItemMsg_IsValid(int value); +constexpr EGCItemMsg EGCItemMsg_MIN = k_EMsgGCBase; +constexpr EGCItemMsg EGCItemMsg_MAX = k_EMsgGCVolatileItemLoadContents; +constexpr int EGCItemMsg_ARRAYSIZE = EGCItemMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemMsg_descriptor(); +template +inline const std::string& EGCItemMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCItemMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCItemMsg_descriptor(), enum_t_value); +} +inline bool EGCItemMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCItemMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCItemMsg_descriptor(), name, value); +} +enum EGCMsgResponse : int { + k_EGCMsgResponseOK = 0, + k_EGCMsgResponseDenied = 1, + k_EGCMsgResponseServerError = 2, + k_EGCMsgResponseTimeout = 3, + k_EGCMsgResponseInvalid = 4, + k_EGCMsgResponseNoMatch = 5, + k_EGCMsgResponseUnknownError = 6, + k_EGCMsgResponseNotLoggedOn = 7, + k_EGCMsgFailedToCreate = 8, + k_EGCMsgLimitExceeded = 9, + k_EGCMsgCommitUnfinalized = 10 +}; +bool EGCMsgResponse_IsValid(int value); +constexpr EGCMsgResponse EGCMsgResponse_MIN = k_EGCMsgResponseOK; +constexpr EGCMsgResponse EGCMsgResponse_MAX = k_EGCMsgCommitUnfinalized; +constexpr int EGCMsgResponse_ARRAYSIZE = EGCMsgResponse_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCMsgResponse_descriptor(); +template +inline const std::string& EGCMsgResponse_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCMsgResponse_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCMsgResponse_descriptor(), enum_t_value); +} +inline bool EGCMsgResponse_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCMsgResponse* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCMsgResponse_descriptor(), name, value); +} +enum EUnlockStyle : int { + k_UnlockStyle_Succeeded = 0, + k_UnlockStyle_Failed_PreReq = 1, + k_UnlockStyle_Failed_CantAfford = 2, + k_UnlockStyle_Failed_CantCommit = 3, + k_UnlockStyle_Failed_CantLockCache = 4, + k_UnlockStyle_Failed_CantAffordAttrib = 5 +}; +bool EUnlockStyle_IsValid(int value); +constexpr EUnlockStyle EUnlockStyle_MIN = k_UnlockStyle_Succeeded; +constexpr EUnlockStyle EUnlockStyle_MAX = k_UnlockStyle_Failed_CantAffordAttrib; +constexpr int EUnlockStyle_ARRAYSIZE = EUnlockStyle_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EUnlockStyle_descriptor(); +template +inline const std::string& EUnlockStyle_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EUnlockStyle_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EUnlockStyle_descriptor(), enum_t_value); +} +inline bool EUnlockStyle_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EUnlockStyle* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EUnlockStyle_descriptor(), name, value); +} +enum EGCItemCustomizationNotification : int { + k_EGCItemCustomizationNotification_NameItem = 1006, + k_EGCItemCustomizationNotification_UnlockCrate = 1007, + k_EGCItemCustomizationNotification_XRayItemReveal = 1008, + k_EGCItemCustomizationNotification_XRayItemClaim = 1009, + k_EGCItemCustomizationNotification_CasketTooFull = 1011, + k_EGCItemCustomizationNotification_CasketContents = 1012, + k_EGCItemCustomizationNotification_CasketAdded = 1013, + k_EGCItemCustomizationNotification_CasketRemoved = 1014, + k_EGCItemCustomizationNotification_CasketInvFull = 1015, + k_EGCItemCustomizationNotification_NameBaseItem = 1019, + k_EGCItemCustomizationNotification_RemoveItemName = 1030, + k_EGCItemCustomizationNotification_RemoveSticker = 1053, + k_EGCItemCustomizationNotification_ApplySticker = 1086, + k_EGCItemCustomizationNotification_StatTrakSwap = 1088, + k_EGCItemCustomizationNotification_RemovePatch = 1089, + k_EGCItemCustomizationNotification_ApplyPatch = 1090, + k_EGCItemCustomizationNotification_ApplyKeychain = 1091, + k_EGCItemCustomizationNotification_RemoveKeychain = 1092, + k_EGCItemCustomizationNotification_ActivateFanToken = 9178, + k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179, + k_EGCItemCustomizationNotification_GraffitiUnseal = 9185, + k_EGCItemCustomizationNotification_GenerateSouvenir = 9204, + k_EGCItemCustomizationNotification_ClientRedeemMissionReward = 9209, + k_EGCItemCustomizationNotification_ClientRedeemFreeReward = 9219, + k_EGCItemCustomizationNotification_XpShopUseTicket = 9221, + k_EGCItemCustomizationNotification_XpShopAckTracks = 9222 +}; +bool EGCItemCustomizationNotification_IsValid(int value); +constexpr EGCItemCustomizationNotification EGCItemCustomizationNotification_MIN = k_EGCItemCustomizationNotification_NameItem; +constexpr EGCItemCustomizationNotification EGCItemCustomizationNotification_MAX = k_EGCItemCustomizationNotification_XpShopAckTracks; +constexpr int EGCItemCustomizationNotification_ARRAYSIZE = EGCItemCustomizationNotification_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemCustomizationNotification_descriptor(); +template +inline const std::string& EGCItemCustomizationNotification_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCItemCustomizationNotification_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCItemCustomizationNotification_descriptor(), enum_t_value); +} +inline bool EGCItemCustomizationNotification_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCItemCustomizationNotification* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCItemCustomizationNotification_descriptor(), name, value); +} +// =================================================================== + +class CMsgGCGiftedItems final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCGiftedItems) */ { + public: + inline CMsgGCGiftedItems() : CMsgGCGiftedItems(nullptr) {} + ~CMsgGCGiftedItems() override; + explicit PROTOBUF_CONSTEXPR CMsgGCGiftedItems(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCGiftedItems(const CMsgGCGiftedItems& from); + CMsgGCGiftedItems(CMsgGCGiftedItems&& from) noexcept + : CMsgGCGiftedItems() { + *this = ::std::move(from); + } + + inline CMsgGCGiftedItems& operator=(const CMsgGCGiftedItems& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCGiftedItems& operator=(CMsgGCGiftedItems&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCGiftedItems& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCGiftedItems* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCGiftedItems_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgGCGiftedItems& a, CMsgGCGiftedItems& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCGiftedItems* 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(CMsgGCGiftedItems* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCGiftedItems* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCGiftedItems& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCGiftedItems& from) { + CMsgGCGiftedItems::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(CMsgGCGiftedItems* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCGiftedItems"; + } + protected: + explicit CMsgGCGiftedItems(::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 { + kRecipientsAccountidsFieldNumber = 5, + kAccountidFieldNumber = 1, + kGiftdefindexFieldNumber = 2, + kMaxGiftsPossibleFieldNumber = 3, + kNumEligibleRecipientsFieldNumber = 4, + }; + // repeated uint32 recipients_accountids = 5; + int recipients_accountids_size() const; + private: + int _internal_recipients_accountids_size() const; + public: + void clear_recipients_accountids(); + private: + uint32_t _internal_recipients_accountids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_recipients_accountids() const; + void _internal_add_recipients_accountids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_recipients_accountids(); + public: + uint32_t recipients_accountids(int index) const; + void set_recipients_accountids(int index, uint32_t value); + void add_recipients_accountids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + recipients_accountids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_recipients_accountids(); + + // optional uint32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional uint32 giftdefindex = 2; + bool has_giftdefindex() const; + private: + bool _internal_has_giftdefindex() const; + public: + void clear_giftdefindex(); + uint32_t giftdefindex() const; + void set_giftdefindex(uint32_t value); + private: + uint32_t _internal_giftdefindex() const; + void _internal_set_giftdefindex(uint32_t value); + public: + + // optional uint32 max_gifts_possible = 3; + bool has_max_gifts_possible() const; + private: + bool _internal_has_max_gifts_possible() const; + public: + void clear_max_gifts_possible(); + uint32_t max_gifts_possible() const; + void set_max_gifts_possible(uint32_t value); + private: + uint32_t _internal_max_gifts_possible() const; + void _internal_set_max_gifts_possible(uint32_t value); + public: + + // optional uint32 num_eligible_recipients = 4; + bool has_num_eligible_recipients() const; + private: + bool _internal_has_num_eligible_recipients() const; + public: + void clear_num_eligible_recipients(); + uint32_t num_eligible_recipients() const; + void set_num_eligible_recipients(uint32_t value); + private: + uint32_t _internal_num_eligible_recipients() const; + void _internal_set_num_eligible_recipients(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCGiftedItems) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > recipients_accountids_; + uint32_t accountid_; + uint32_t giftdefindex_; + uint32_t max_gifts_possible_; + uint32_t num_eligible_recipients_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_econ_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCDev_SchemaReservationRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCDev_SchemaReservationRequest) */ { + public: + inline CMsgGCDev_SchemaReservationRequest() : CMsgGCDev_SchemaReservationRequest(nullptr) {} + ~CMsgGCDev_SchemaReservationRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCDev_SchemaReservationRequest(const CMsgGCDev_SchemaReservationRequest& from); + CMsgGCDev_SchemaReservationRequest(CMsgGCDev_SchemaReservationRequest&& from) noexcept + : CMsgGCDev_SchemaReservationRequest() { + *this = ::std::move(from); + } + + inline CMsgGCDev_SchemaReservationRequest& operator=(const CMsgGCDev_SchemaReservationRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCDev_SchemaReservationRequest& operator=(CMsgGCDev_SchemaReservationRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCDev_SchemaReservationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCDev_SchemaReservationRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCDev_SchemaReservationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgGCDev_SchemaReservationRequest& a, CMsgGCDev_SchemaReservationRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCDev_SchemaReservationRequest* 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(CMsgGCDev_SchemaReservationRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCDev_SchemaReservationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCDev_SchemaReservationRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCDev_SchemaReservationRequest& from) { + CMsgGCDev_SchemaReservationRequest::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(CMsgGCDev_SchemaReservationRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCDev_SchemaReservationRequest"; + } + protected: + explicit CMsgGCDev_SchemaReservationRequest(::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 { + kSchemaTypenameFieldNumber = 1, + kInstanceNameFieldNumber = 2, + kContextFieldNumber = 3, + kIdFieldNumber = 4, + }; + // optional string schema_typename = 1; + bool has_schema_typename() const; + private: + bool _internal_has_schema_typename() const; + public: + void clear_schema_typename(); + const std::string& schema_typename() const; + template + void set_schema_typename(ArgT0&& arg0, ArgT... args); + std::string* mutable_schema_typename(); + PROTOBUF_NODISCARD std::string* release_schema_typename(); + void set_allocated_schema_typename(std::string* schema_typename); + private: + const std::string& _internal_schema_typename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_schema_typename(const std::string& value); + std::string* _internal_mutable_schema_typename(); + public: + + // optional string instance_name = 2; + bool has_instance_name() const; + private: + bool _internal_has_instance_name() const; + public: + void clear_instance_name(); + const std::string& instance_name() const; + template + void set_instance_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_instance_name(); + PROTOBUF_NODISCARD std::string* release_instance_name(); + void set_allocated_instance_name(std::string* instance_name); + private: + const std::string& _internal_instance_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_instance_name(const std::string& value); + std::string* _internal_mutable_instance_name(); + public: + + // optional uint64 context = 3; + bool has_context() const; + private: + bool _internal_has_context() const; + public: + void clear_context(); + uint64_t context() const; + void set_context(uint64_t value); + private: + uint64_t _internal_context() const; + void _internal_set_context(uint64_t value); + public: + + // optional uint64 id = 4; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint64_t id() const; + void set_id(uint64_t value); + private: + uint64_t _internal_id() const; + void _internal_set_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCDev_SchemaReservationRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_typename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr instance_name_; + uint64_t context_; + uint64_t id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_econ_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgCasketItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCasketItem) */ { + public: + inline CMsgCasketItem() : CMsgCasketItem(nullptr) {} + ~CMsgCasketItem() override; + explicit PROTOBUF_CONSTEXPR CMsgCasketItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgCasketItem(const CMsgCasketItem& from); + CMsgCasketItem(CMsgCasketItem&& from) noexcept + : CMsgCasketItem() { + *this = ::std::move(from); + } + + inline CMsgCasketItem& operator=(const CMsgCasketItem& from) { + CopyFrom(from); + return *this; + } + inline CMsgCasketItem& operator=(CMsgCasketItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgCasketItem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgCasketItem* internal_default_instance() { + return reinterpret_cast( + &_CMsgCasketItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgCasketItem& a, CMsgCasketItem& b) { + a.Swap(&b); + } + inline void Swap(CMsgCasketItem* 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(CMsgCasketItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgCasketItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgCasketItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgCasketItem& from) { + CMsgCasketItem::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(CMsgCasketItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgCasketItem"; + } + protected: + explicit CMsgCasketItem(::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 { + kCasketItemIdFieldNumber = 1, + kItemItemIdFieldNumber = 2, + }; + // optional uint64 casket_item_id = 1; + bool has_casket_item_id() const; + private: + bool _internal_has_casket_item_id() const; + public: + void clear_casket_item_id(); + uint64_t casket_item_id() const; + void set_casket_item_id(uint64_t value); + private: + uint64_t _internal_casket_item_id() const; + void _internal_set_casket_item_id(uint64_t value); + public: + + // optional uint64 item_item_id = 2; + bool has_item_item_id() const; + private: + bool _internal_has_item_item_id() const; + public: + void clear_item_item_id(); + uint64_t item_item_id() const; + void set_item_item_id(uint64_t value); + private: + uint64_t _internal_item_item_id() const; + void _internal_set_item_item_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgCasketItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t casket_item_id_; + uint64_t item_item_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_econ_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCUserTrackTimePlayedConsecutively final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCUserTrackTimePlayedConsecutively) */ { + public: + inline CMsgGCUserTrackTimePlayedConsecutively() : CMsgGCUserTrackTimePlayedConsecutively(nullptr) {} + ~CMsgGCUserTrackTimePlayedConsecutively() override; + explicit PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutively(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCUserTrackTimePlayedConsecutively(const CMsgGCUserTrackTimePlayedConsecutively& from); + CMsgGCUserTrackTimePlayedConsecutively(CMsgGCUserTrackTimePlayedConsecutively&& from) noexcept + : CMsgGCUserTrackTimePlayedConsecutively() { + *this = ::std::move(from); + } + + inline CMsgGCUserTrackTimePlayedConsecutively& operator=(const CMsgGCUserTrackTimePlayedConsecutively& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCUserTrackTimePlayedConsecutively& operator=(CMsgGCUserTrackTimePlayedConsecutively&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCUserTrackTimePlayedConsecutively& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCUserTrackTimePlayedConsecutively* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCUserTrackTimePlayedConsecutively_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgGCUserTrackTimePlayedConsecutively& a, CMsgGCUserTrackTimePlayedConsecutively& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCUserTrackTimePlayedConsecutively* 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(CMsgGCUserTrackTimePlayedConsecutively* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCUserTrackTimePlayedConsecutively* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCUserTrackTimePlayedConsecutively& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCUserTrackTimePlayedConsecutively& from) { + CMsgGCUserTrackTimePlayedConsecutively::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(CMsgGCUserTrackTimePlayedConsecutively* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCUserTrackTimePlayedConsecutively"; + } + protected: + explicit CMsgGCUserTrackTimePlayedConsecutively(::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 { + kStateFieldNumber = 1, + }; + // optional uint32 state = 1; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + uint32_t state() const; + void set_state(uint32_t value); + private: + uint32_t _internal_state() const; + void _internal_set_state(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCUserTrackTimePlayedConsecutively) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t state_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_econ_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCItemCustomizationNotification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCItemCustomizationNotification) */ { + public: + inline CMsgGCItemCustomizationNotification() : CMsgGCItemCustomizationNotification(nullptr) {} + ~CMsgGCItemCustomizationNotification() override; + explicit PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCItemCustomizationNotification(const CMsgGCItemCustomizationNotification& from); + CMsgGCItemCustomizationNotification(CMsgGCItemCustomizationNotification&& from) noexcept + : CMsgGCItemCustomizationNotification() { + *this = ::std::move(from); + } + + inline CMsgGCItemCustomizationNotification& operator=(const CMsgGCItemCustomizationNotification& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCItemCustomizationNotification& operator=(CMsgGCItemCustomizationNotification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCItemCustomizationNotification& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCItemCustomizationNotification* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCItemCustomizationNotification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgGCItemCustomizationNotification& a, CMsgGCItemCustomizationNotification& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCItemCustomizationNotification* 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(CMsgGCItemCustomizationNotification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCItemCustomizationNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCItemCustomizationNotification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCItemCustomizationNotification& from) { + CMsgGCItemCustomizationNotification::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(CMsgGCItemCustomizationNotification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCItemCustomizationNotification"; + } + protected: + explicit CMsgGCItemCustomizationNotification(::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 { + kItemIdFieldNumber = 1, + kExtraDataFieldNumber = 3, + kRequestFieldNumber = 2, + }; + // repeated uint64 item_id = 1; + int item_id_size() const; + private: + int _internal_item_id_size() const; + public: + void clear_item_id(); + private: + uint64_t _internal_item_id(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_item_id() const; + void _internal_add_item_id(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_item_id(); + public: + uint64_t item_id(int index) const; + void set_item_id(int index, uint64_t value); + void add_item_id(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + item_id() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_item_id(); + + // repeated uint64 extra_data = 3; + int extra_data_size() const; + private: + int _internal_extra_data_size() const; + public: + void clear_extra_data(); + private: + uint64_t _internal_extra_data(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_extra_data() const; + void _internal_add_extra_data(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_extra_data(); + public: + uint64_t extra_data(int index) const; + void set_extra_data(int index, uint64_t value); + void add_extra_data(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + extra_data() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_extra_data(); + + // optional uint32 request = 2; + bool has_request() const; + private: + bool _internal_has_request() const; + public: + void clear_request(); + uint32_t request() const; + void set_request(uint32_t value); + private: + uint32_t _internal_request() const; + void _internal_set_request(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCItemCustomizationNotification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > extra_data_; + uint32_t request_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_econ_5fgcmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgGCGiftedItems + +// optional uint32 accountid = 1; +inline bool CMsgGCGiftedItems::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCGiftedItems::has_accountid() const { + return _internal_has_accountid(); +} +inline void CMsgGCGiftedItems::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCGiftedItems::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CMsgGCGiftedItems::accountid() const { + // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.accountid) + return _internal_accountid(); +} +inline void CMsgGCGiftedItems::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.accountid_ = value; +} +inline void CMsgGCGiftedItems::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.accountid) +} + +// optional uint32 giftdefindex = 2; +inline bool CMsgGCGiftedItems::_internal_has_giftdefindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCGiftedItems::has_giftdefindex() const { + return _internal_has_giftdefindex(); +} +inline void CMsgGCGiftedItems::clear_giftdefindex() { + _impl_.giftdefindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCGiftedItems::_internal_giftdefindex() const { + return _impl_.giftdefindex_; +} +inline uint32_t CMsgGCGiftedItems::giftdefindex() const { + // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.giftdefindex) + return _internal_giftdefindex(); +} +inline void CMsgGCGiftedItems::_internal_set_giftdefindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.giftdefindex_ = value; +} +inline void CMsgGCGiftedItems::set_giftdefindex(uint32_t value) { + _internal_set_giftdefindex(value); + // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.giftdefindex) +} + +// optional uint32 max_gifts_possible = 3; +inline bool CMsgGCGiftedItems::_internal_has_max_gifts_possible() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCGiftedItems::has_max_gifts_possible() const { + return _internal_has_max_gifts_possible(); +} +inline void CMsgGCGiftedItems::clear_max_gifts_possible() { + _impl_.max_gifts_possible_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCGiftedItems::_internal_max_gifts_possible() const { + return _impl_.max_gifts_possible_; +} +inline uint32_t CMsgGCGiftedItems::max_gifts_possible() const { + // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.max_gifts_possible) + return _internal_max_gifts_possible(); +} +inline void CMsgGCGiftedItems::_internal_set_max_gifts_possible(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.max_gifts_possible_ = value; +} +inline void CMsgGCGiftedItems::set_max_gifts_possible(uint32_t value) { + _internal_set_max_gifts_possible(value); + // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.max_gifts_possible) +} + +// optional uint32 num_eligible_recipients = 4; +inline bool CMsgGCGiftedItems::_internal_has_num_eligible_recipients() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCGiftedItems::has_num_eligible_recipients() const { + return _internal_has_num_eligible_recipients(); +} +inline void CMsgGCGiftedItems::clear_num_eligible_recipients() { + _impl_.num_eligible_recipients_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCGiftedItems::_internal_num_eligible_recipients() const { + return _impl_.num_eligible_recipients_; +} +inline uint32_t CMsgGCGiftedItems::num_eligible_recipients() const { + // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.num_eligible_recipients) + return _internal_num_eligible_recipients(); +} +inline void CMsgGCGiftedItems::_internal_set_num_eligible_recipients(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.num_eligible_recipients_ = value; +} +inline void CMsgGCGiftedItems::set_num_eligible_recipients(uint32_t value) { + _internal_set_num_eligible_recipients(value); + // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.num_eligible_recipients) +} + +// repeated uint32 recipients_accountids = 5; +inline int CMsgGCGiftedItems::_internal_recipients_accountids_size() const { + return _impl_.recipients_accountids_.size(); +} +inline int CMsgGCGiftedItems::recipients_accountids_size() const { + return _internal_recipients_accountids_size(); +} +inline void CMsgGCGiftedItems::clear_recipients_accountids() { + _impl_.recipients_accountids_.Clear(); +} +inline uint32_t CMsgGCGiftedItems::_internal_recipients_accountids(int index) const { + return _impl_.recipients_accountids_.Get(index); +} +inline uint32_t CMsgGCGiftedItems::recipients_accountids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.recipients_accountids) + return _internal_recipients_accountids(index); +} +inline void CMsgGCGiftedItems::set_recipients_accountids(int index, uint32_t value) { + _impl_.recipients_accountids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.recipients_accountids) +} +inline void CMsgGCGiftedItems::_internal_add_recipients_accountids(uint32_t value) { + _impl_.recipients_accountids_.Add(value); +} +inline void CMsgGCGiftedItems::add_recipients_accountids(uint32_t value) { + _internal_add_recipients_accountids(value); + // @@protoc_insertion_point(field_add:CMsgGCGiftedItems.recipients_accountids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCGiftedItems::_internal_recipients_accountids() const { + return _impl_.recipients_accountids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgGCGiftedItems::recipients_accountids() const { + // @@protoc_insertion_point(field_list:CMsgGCGiftedItems.recipients_accountids) + return _internal_recipients_accountids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCGiftedItems::_internal_mutable_recipients_accountids() { + return &_impl_.recipients_accountids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgGCGiftedItems::mutable_recipients_accountids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCGiftedItems.recipients_accountids) + return _internal_mutable_recipients_accountids(); +} + +// ------------------------------------------------------------------- + +// CMsgGCDev_SchemaReservationRequest + +// optional string schema_typename = 1; +inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_schema_typename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCDev_SchemaReservationRequest::has_schema_typename() const { + return _internal_has_schema_typename(); +} +inline void CMsgGCDev_SchemaReservationRequest::clear_schema_typename() { + _impl_.schema_typename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCDev_SchemaReservationRequest::schema_typename() const { + // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.schema_typename) + return _internal_schema_typename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCDev_SchemaReservationRequest::set_schema_typename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.schema_typename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.schema_typename) +} +inline std::string* CMsgGCDev_SchemaReservationRequest::mutable_schema_typename() { + std::string* _s = _internal_mutable_schema_typename(); + // @@protoc_insertion_point(field_mutable:CMsgGCDev_SchemaReservationRequest.schema_typename) + return _s; +} +inline const std::string& CMsgGCDev_SchemaReservationRequest::_internal_schema_typename() const { + return _impl_.schema_typename_.Get(); +} +inline void CMsgGCDev_SchemaReservationRequest::_internal_set_schema_typename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.schema_typename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCDev_SchemaReservationRequest::_internal_mutable_schema_typename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.schema_typename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCDev_SchemaReservationRequest::release_schema_typename() { + // @@protoc_insertion_point(field_release:CMsgGCDev_SchemaReservationRequest.schema_typename) + if (!_internal_has_schema_typename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.schema_typename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.schema_typename_.IsDefault()) { + _impl_.schema_typename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCDev_SchemaReservationRequest::set_allocated_schema_typename(std::string* schema_typename) { + if (schema_typename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.schema_typename_.SetAllocated(schema_typename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.schema_typename_.IsDefault()) { + _impl_.schema_typename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCDev_SchemaReservationRequest.schema_typename) +} + +// optional string instance_name = 2; +inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_instance_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCDev_SchemaReservationRequest::has_instance_name() const { + return _internal_has_instance_name(); +} +inline void CMsgGCDev_SchemaReservationRequest::clear_instance_name() { + _impl_.instance_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgGCDev_SchemaReservationRequest::instance_name() const { + // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.instance_name) + return _internal_instance_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCDev_SchemaReservationRequest::set_instance_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.instance_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.instance_name) +} +inline std::string* CMsgGCDev_SchemaReservationRequest::mutable_instance_name() { + std::string* _s = _internal_mutable_instance_name(); + // @@protoc_insertion_point(field_mutable:CMsgGCDev_SchemaReservationRequest.instance_name) + return _s; +} +inline const std::string& CMsgGCDev_SchemaReservationRequest::_internal_instance_name() const { + return _impl_.instance_name_.Get(); +} +inline void CMsgGCDev_SchemaReservationRequest::_internal_set_instance_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.instance_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCDev_SchemaReservationRequest::_internal_mutable_instance_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.instance_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCDev_SchemaReservationRequest::release_instance_name() { + // @@protoc_insertion_point(field_release:CMsgGCDev_SchemaReservationRequest.instance_name) + if (!_internal_has_instance_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.instance_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.instance_name_.IsDefault()) { + _impl_.instance_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCDev_SchemaReservationRequest::set_allocated_instance_name(std::string* instance_name) { + if (instance_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.instance_name_.SetAllocated(instance_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.instance_name_.IsDefault()) { + _impl_.instance_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCDev_SchemaReservationRequest.instance_name) +} + +// optional uint64 context = 3; +inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_context() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCDev_SchemaReservationRequest::has_context() const { + return _internal_has_context(); +} +inline void CMsgGCDev_SchemaReservationRequest::clear_context() { + _impl_.context_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCDev_SchemaReservationRequest::_internal_context() const { + return _impl_.context_; +} +inline uint64_t CMsgGCDev_SchemaReservationRequest::context() const { + // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.context) + return _internal_context(); +} +inline void CMsgGCDev_SchemaReservationRequest::_internal_set_context(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.context_ = value; +} +inline void CMsgGCDev_SchemaReservationRequest::set_context(uint64_t value) { + _internal_set_context(value); + // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.context) +} + +// optional uint64 id = 4; +inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCDev_SchemaReservationRequest::has_id() const { + return _internal_has_id(); +} +inline void CMsgGCDev_SchemaReservationRequest::clear_id() { + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgGCDev_SchemaReservationRequest::_internal_id() const { + return _impl_.id_; +} +inline uint64_t CMsgGCDev_SchemaReservationRequest::id() const { + // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.id) + return _internal_id(); +} +inline void CMsgGCDev_SchemaReservationRequest::_internal_set_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.id_ = value; +} +inline void CMsgGCDev_SchemaReservationRequest::set_id(uint64_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.id) +} + +// ------------------------------------------------------------------- + +// CMsgCasketItem + +// optional uint64 casket_item_id = 1; +inline bool CMsgCasketItem::_internal_has_casket_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgCasketItem::has_casket_item_id() const { + return _internal_has_casket_item_id(); +} +inline void CMsgCasketItem::clear_casket_item_id() { + _impl_.casket_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgCasketItem::_internal_casket_item_id() const { + return _impl_.casket_item_id_; +} +inline uint64_t CMsgCasketItem::casket_item_id() const { + // @@protoc_insertion_point(field_get:CMsgCasketItem.casket_item_id) + return _internal_casket_item_id(); +} +inline void CMsgCasketItem::_internal_set_casket_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.casket_item_id_ = value; +} +inline void CMsgCasketItem::set_casket_item_id(uint64_t value) { + _internal_set_casket_item_id(value); + // @@protoc_insertion_point(field_set:CMsgCasketItem.casket_item_id) +} + +// optional uint64 item_item_id = 2; +inline bool CMsgCasketItem::_internal_has_item_item_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgCasketItem::has_item_item_id() const { + return _internal_has_item_item_id(); +} +inline void CMsgCasketItem::clear_item_item_id() { + _impl_.item_item_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgCasketItem::_internal_item_item_id() const { + return _impl_.item_item_id_; +} +inline uint64_t CMsgCasketItem::item_item_id() const { + // @@protoc_insertion_point(field_get:CMsgCasketItem.item_item_id) + return _internal_item_item_id(); +} +inline void CMsgCasketItem::_internal_set_item_item_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_item_id_ = value; +} +inline void CMsgCasketItem::set_item_item_id(uint64_t value) { + _internal_set_item_item_id(value); + // @@protoc_insertion_point(field_set:CMsgCasketItem.item_item_id) +} + +// ------------------------------------------------------------------- + +// CMsgGCUserTrackTimePlayedConsecutively + +// optional uint32 state = 1; +inline bool CMsgGCUserTrackTimePlayedConsecutively::_internal_has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCUserTrackTimePlayedConsecutively::has_state() const { + return _internal_has_state(); +} +inline void CMsgGCUserTrackTimePlayedConsecutively::clear_state() { + _impl_.state_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCUserTrackTimePlayedConsecutively::_internal_state() const { + return _impl_.state_; +} +inline uint32_t CMsgGCUserTrackTimePlayedConsecutively::state() const { + // @@protoc_insertion_point(field_get:CMsgGCUserTrackTimePlayedConsecutively.state) + return _internal_state(); +} +inline void CMsgGCUserTrackTimePlayedConsecutively::_internal_set_state(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.state_ = value; +} +inline void CMsgGCUserTrackTimePlayedConsecutively::set_state(uint32_t value) { + _internal_set_state(value); + // @@protoc_insertion_point(field_set:CMsgGCUserTrackTimePlayedConsecutively.state) +} + +// ------------------------------------------------------------------- + +// CMsgGCItemCustomizationNotification + +// repeated uint64 item_id = 1; +inline int CMsgGCItemCustomizationNotification::_internal_item_id_size() const { + return _impl_.item_id_.size(); +} +inline int CMsgGCItemCustomizationNotification::item_id_size() const { + return _internal_item_id_size(); +} +inline void CMsgGCItemCustomizationNotification::clear_item_id() { + _impl_.item_id_.Clear(); +} +inline uint64_t CMsgGCItemCustomizationNotification::_internal_item_id(int index) const { + return _impl_.item_id_.Get(index); +} +inline uint64_t CMsgGCItemCustomizationNotification::item_id(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.item_id) + return _internal_item_id(index); +} +inline void CMsgGCItemCustomizationNotification::set_item_id(int index, uint64_t value) { + _impl_.item_id_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.item_id) +} +inline void CMsgGCItemCustomizationNotification::_internal_add_item_id(uint64_t value) { + _impl_.item_id_.Add(value); +} +inline void CMsgGCItemCustomizationNotification::add_item_id(uint64_t value) { + _internal_add_item_id(value); + // @@protoc_insertion_point(field_add:CMsgGCItemCustomizationNotification.item_id) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCItemCustomizationNotification::_internal_item_id() const { + return _impl_.item_id_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCItemCustomizationNotification::item_id() const { + // @@protoc_insertion_point(field_list:CMsgGCItemCustomizationNotification.item_id) + return _internal_item_id(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCItemCustomizationNotification::_internal_mutable_item_id() { + return &_impl_.item_id_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCItemCustomizationNotification::mutable_item_id() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCItemCustomizationNotification.item_id) + return _internal_mutable_item_id(); +} + +// optional uint32 request = 2; +inline bool CMsgGCItemCustomizationNotification::_internal_has_request() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCItemCustomizationNotification::has_request() const { + return _internal_has_request(); +} +inline void CMsgGCItemCustomizationNotification::clear_request() { + _impl_.request_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCItemCustomizationNotification::_internal_request() const { + return _impl_.request_; +} +inline uint32_t CMsgGCItemCustomizationNotification::request() const { + // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.request) + return _internal_request(); +} +inline void CMsgGCItemCustomizationNotification::_internal_set_request(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.request_ = value; +} +inline void CMsgGCItemCustomizationNotification::set_request(uint32_t value) { + _internal_set_request(value); + // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.request) +} + +// repeated uint64 extra_data = 3; +inline int CMsgGCItemCustomizationNotification::_internal_extra_data_size() const { + return _impl_.extra_data_.size(); +} +inline int CMsgGCItemCustomizationNotification::extra_data_size() const { + return _internal_extra_data_size(); +} +inline void CMsgGCItemCustomizationNotification::clear_extra_data() { + _impl_.extra_data_.Clear(); +} +inline uint64_t CMsgGCItemCustomizationNotification::_internal_extra_data(int index) const { + return _impl_.extra_data_.Get(index); +} +inline uint64_t CMsgGCItemCustomizationNotification::extra_data(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.extra_data) + return _internal_extra_data(index); +} +inline void CMsgGCItemCustomizationNotification::set_extra_data(int index, uint64_t value) { + _impl_.extra_data_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.extra_data) +} +inline void CMsgGCItemCustomizationNotification::_internal_add_extra_data(uint64_t value) { + _impl_.extra_data_.Add(value); +} +inline void CMsgGCItemCustomizationNotification::add_extra_data(uint64_t value) { + _internal_add_extra_data(value); + // @@protoc_insertion_point(field_add:CMsgGCItemCustomizationNotification.extra_data) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCItemCustomizationNotification::_internal_extra_data() const { + return _impl_.extra_data_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCItemCustomizationNotification::extra_data() const { + // @@protoc_insertion_point(field_list:CMsgGCItemCustomizationNotification.extra_data) + return _internal_extra_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCItemCustomizationNotification::_internal_mutable_extra_data() { + return &_impl_.extra_data_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCItemCustomizationNotification::mutable_extra_data() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCItemCustomizationNotification.extra_data) + return _internal_mutable_extra_data(); +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EGCItemMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCItemMsg>() { + return ::EGCItemMsg_descriptor(); +} +template <> struct is_proto_enum< ::EGCMsgResponse> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCMsgResponse>() { + return ::EGCMsgResponse_descriptor(); +} +template <> struct is_proto_enum< ::EUnlockStyle> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EUnlockStyle>() { + return ::EUnlockStyle_descriptor(); +} +template <> struct is_proto_enum< ::EGCItemCustomizationNotification> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCItemCustomizationNotification>() { + return ::EGCItemCustomizationNotification_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.cc new file mode 100644 index 0000000..368e321 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.cc @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: engine_gcmessages.proto + +#include "engine_gcmessages.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; + +PROTOBUF_CONSTEXPR CEngineGotvSyncPacket::CEngineGotvSyncPacket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.match_id_)*/uint64_t{0u} + , /*decltype(_impl_.instance_id_)*/0u + , /*decltype(_impl_.signupfragment_)*/0u + , /*decltype(_impl_.currentfragment_)*/0u + , /*decltype(_impl_.tickrate_)*/0 + , /*decltype(_impl_.tick_)*/0u + , /*decltype(_impl_.rtdelay_)*/0 + , /*decltype(_impl_.rcvage_)*/0 + , /*decltype(_impl_.keyframe_interval_)*/0 + , /*decltype(_impl_.cdndelay_)*/0u} {} +struct CEngineGotvSyncPacketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEngineGotvSyncPacketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEngineGotvSyncPacketDefaultTypeInternal() {} + union { + CEngineGotvSyncPacket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEngineGotvSyncPacketDefaultTypeInternal _CEngineGotvSyncPacket_default_instance_; +static ::_pb::Metadata file_level_metadata_engine_5fgcmessages_2eproto[1]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_engine_5fgcmessages_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_engine_5fgcmessages_2eproto = nullptr; + +const uint32_t TableStruct_engine_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.match_id_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.instance_id_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.signupfragment_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.currentfragment_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.tickrate_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.rtdelay_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.rcvage_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.keyframe_interval_), + PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.cdndelay_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 16, -1, sizeof(::CEngineGotvSyncPacket)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CEngineGotvSyncPacket_default_instance_._instance, +}; + +const char descriptor_table_protodef_engine_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\027engine_gcmessages.proto\032 google/protob" + "uf/descriptor.proto\"\335\001\n\025CEngineGotvSyncP" + "acket\022\020\n\010match_id\030\001 \001(\004\022\023\n\013instance_id\030\002" + " \001(\r\022\026\n\016signupfragment\030\003 \001(\r\022\027\n\017currentf" + "ragment\030\004 \001(\r\022\020\n\010tickrate\030\005 \001(\002\022\014\n\004tick\030" + "\006 \001(\r\022\017\n\007rtdelay\030\010 \001(\002\022\016\n\006rcvage\030\t \001(\002\022\031" + "\n\021keyframe_interval\030\n \001(\002\022\020\n\010cdndelay\030\013 " + "\001(\r" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_engine_5fgcmessages_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::_pbi::once_flag descriptor_table_engine_5fgcmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_engine_5fgcmessages_2eproto = { + false, false, 283, descriptor_table_protodef_engine_5fgcmessages_2eproto, + "engine_gcmessages.proto", + &descriptor_table_engine_5fgcmessages_2eproto_once, descriptor_table_engine_5fgcmessages_2eproto_deps, 1, 1, + schemas, file_default_instances, TableStruct_engine_5fgcmessages_2eproto::offsets, + file_level_metadata_engine_5fgcmessages_2eproto, file_level_enum_descriptors_engine_5fgcmessages_2eproto, + file_level_service_descriptors_engine_5fgcmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_engine_5fgcmessages_2eproto_getter() { + return &descriptor_table_engine_5fgcmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_engine_5fgcmessages_2eproto(&descriptor_table_engine_5fgcmessages_2eproto); + +// =================================================================== + +class CEngineGotvSyncPacket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_match_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_instance_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_signupfragment(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_currentfragment(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_tickrate(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_rtdelay(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_rcvage(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_keyframe_interval(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_cdndelay(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +CEngineGotvSyncPacket::CEngineGotvSyncPacket(::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:CEngineGotvSyncPacket) +} +CEngineGotvSyncPacket::CEngineGotvSyncPacket(const CEngineGotvSyncPacket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEngineGotvSyncPacket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_id_){} + , decltype(_impl_.instance_id_){} + , decltype(_impl_.signupfragment_){} + , decltype(_impl_.currentfragment_){} + , decltype(_impl_.tickrate_){} + , decltype(_impl_.tick_){} + , decltype(_impl_.rtdelay_){} + , decltype(_impl_.rcvage_){} + , decltype(_impl_.keyframe_interval_){} + , decltype(_impl_.cdndelay_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, + static_cast(reinterpret_cast(&_impl_.cdndelay_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.cdndelay_)); + // @@protoc_insertion_point(copy_constructor:CEngineGotvSyncPacket) +} + +inline void CEngineGotvSyncPacket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.match_id_){uint64_t{0u}} + , decltype(_impl_.instance_id_){0u} + , decltype(_impl_.signupfragment_){0u} + , decltype(_impl_.currentfragment_){0u} + , decltype(_impl_.tickrate_){0} + , decltype(_impl_.tick_){0u} + , decltype(_impl_.rtdelay_){0} + , decltype(_impl_.rcvage_){0} + , decltype(_impl_.keyframe_interval_){0} + , decltype(_impl_.cdndelay_){0u} + }; +} + +CEngineGotvSyncPacket::~CEngineGotvSyncPacket() { + // @@protoc_insertion_point(destructor:CEngineGotvSyncPacket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEngineGotvSyncPacket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CEngineGotvSyncPacket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEngineGotvSyncPacket::Clear() { +// @@protoc_insertion_point(message_clear_start:CEngineGotvSyncPacket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.match_id_, 0, static_cast( + reinterpret_cast(&_impl_.rcvage_) - + reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.rcvage_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.keyframe_interval_, 0, static_cast( + reinterpret_cast(&_impl_.cdndelay_) - + reinterpret_cast(&_impl_.keyframe_interval_)) + sizeof(_impl_.cdndelay_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEngineGotvSyncPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 match_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_match_id(&has_bits); + _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 instance_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_instance_id(&has_bits); + _impl_.instance_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 signupfragment = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_signupfragment(&has_bits); + _impl_.signupfragment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 currentfragment = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_currentfragment(&has_bits); + _impl_.currentfragment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float tickrate = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_tickrate(&has_bits); + _impl_.tickrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 tick = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float rtdelay = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_rtdelay(&has_bits); + _impl_.rtdelay_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float rcvage = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_rcvage(&has_bits); + _impl_.rcvage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float keyframe_interval = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_keyframe_interval(&has_bits); + _impl_.keyframe_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 cdndelay = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_cdndelay(&has_bits); + _impl_.cdndelay_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEngineGotvSyncPacket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEngineGotvSyncPacket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); + } + + // optional uint32 instance_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_instance_id(), target); + } + + // optional uint32 signupfragment = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_signupfragment(), target); + } + + // optional uint32 currentfragment = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_currentfragment(), target); + } + + // optional float tickrate = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_tickrate(), target); + } + + // optional uint32 tick = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tick(), target); + } + + // optional float rtdelay = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_rtdelay(), target); + } + + // optional float rcvage = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_rcvage(), target); + } + + // optional float keyframe_interval = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_keyframe_interval(), target); + } + + // optional uint32 cdndelay = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cdndelay(), 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:CEngineGotvSyncPacket) + return target; +} + +size_t CEngineGotvSyncPacket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEngineGotvSyncPacket) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 match_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); + } + + // optional uint32 instance_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_instance_id()); + } + + // optional uint32 signupfragment = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_signupfragment()); + } + + // optional uint32 currentfragment = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currentfragment()); + } + + // optional float tickrate = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 tick = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); + } + + // optional float rtdelay = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float rcvage = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000300u) { + // optional float keyframe_interval = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 cdndelay = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cdndelay()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEngineGotvSyncPacket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEngineGotvSyncPacket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEngineGotvSyncPacket::GetClassData() const { return &_class_data_; } + + +void CEngineGotvSyncPacket::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:CEngineGotvSyncPacket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.match_id_ = from._impl_.match_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.instance_id_ = from._impl_.instance_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.signupfragment_ = from._impl_.signupfragment_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.currentfragment_ = from._impl_.currentfragment_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.tickrate_ = from._impl_.tickrate_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.rtdelay_ = from._impl_.rtdelay_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.rcvage_ = from._impl_.rcvage_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.keyframe_interval_ = from._impl_.keyframe_interval_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.cdndelay_ = from._impl_.cdndelay_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEngineGotvSyncPacket::CopyFrom(const CEngineGotvSyncPacket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEngineGotvSyncPacket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEngineGotvSyncPacket::IsInitialized() const { + return true; +} + +void CEngineGotvSyncPacket::InternalSwap(CEngineGotvSyncPacket* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEngineGotvSyncPacket, _impl_.cdndelay_) + + sizeof(CEngineGotvSyncPacket::_impl_.cdndelay_) + - PROTOBUF_FIELD_OFFSET(CEngineGotvSyncPacket, _impl_.match_id_)>( + reinterpret_cast(&_impl_.match_id_), + reinterpret_cast(&other->_impl_.match_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEngineGotvSyncPacket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_engine_5fgcmessages_2eproto_getter, &descriptor_table_engine_5fgcmessages_2eproto_once, + file_level_metadata_engine_5fgcmessages_2eproto[0]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CEngineGotvSyncPacket* +Arena::CreateMaybeMessage< ::CEngineGotvSyncPacket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEngineGotvSyncPacket >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.h new file mode 100644 index 0000000..201a70b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/engine_gcmessages.pb.h @@ -0,0 +1,651 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: engine_gcmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_engine_5fgcmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_engine_5fgcmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_engine_5fgcmessages_2eproto; +class CEngineGotvSyncPacket; +struct CEngineGotvSyncPacketDefaultTypeInternal; +extern CEngineGotvSyncPacketDefaultTypeInternal _CEngineGotvSyncPacket_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CEngineGotvSyncPacket* Arena::CreateMaybeMessage<::CEngineGotvSyncPacket>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CEngineGotvSyncPacket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEngineGotvSyncPacket) */ { + public: + inline CEngineGotvSyncPacket() : CEngineGotvSyncPacket(nullptr) {} + ~CEngineGotvSyncPacket() override; + explicit PROTOBUF_CONSTEXPR CEngineGotvSyncPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEngineGotvSyncPacket(const CEngineGotvSyncPacket& from); + CEngineGotvSyncPacket(CEngineGotvSyncPacket&& from) noexcept + : CEngineGotvSyncPacket() { + *this = ::std::move(from); + } + + inline CEngineGotvSyncPacket& operator=(const CEngineGotvSyncPacket& from) { + CopyFrom(from); + return *this; + } + inline CEngineGotvSyncPacket& operator=(CEngineGotvSyncPacket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEngineGotvSyncPacket& default_instance() { + return *internal_default_instance(); + } + static inline const CEngineGotvSyncPacket* internal_default_instance() { + return reinterpret_cast( + &_CEngineGotvSyncPacket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CEngineGotvSyncPacket& a, CEngineGotvSyncPacket& b) { + a.Swap(&b); + } + inline void Swap(CEngineGotvSyncPacket* 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(CEngineGotvSyncPacket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEngineGotvSyncPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEngineGotvSyncPacket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEngineGotvSyncPacket& from) { + CEngineGotvSyncPacket::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(CEngineGotvSyncPacket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEngineGotvSyncPacket"; + } + protected: + explicit CEngineGotvSyncPacket(::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 { + kMatchIdFieldNumber = 1, + kInstanceIdFieldNumber = 2, + kSignupfragmentFieldNumber = 3, + kCurrentfragmentFieldNumber = 4, + kTickrateFieldNumber = 5, + kTickFieldNumber = 6, + kRtdelayFieldNumber = 8, + kRcvageFieldNumber = 9, + kKeyframeIntervalFieldNumber = 10, + kCdndelayFieldNumber = 11, + }; + // optional uint64 match_id = 1; + bool has_match_id() const; + private: + bool _internal_has_match_id() const; + public: + void clear_match_id(); + uint64_t match_id() const; + void set_match_id(uint64_t value); + private: + uint64_t _internal_match_id() const; + void _internal_set_match_id(uint64_t value); + public: + + // optional uint32 instance_id = 2; + bool has_instance_id() const; + private: + bool _internal_has_instance_id() const; + public: + void clear_instance_id(); + uint32_t instance_id() const; + void set_instance_id(uint32_t value); + private: + uint32_t _internal_instance_id() const; + void _internal_set_instance_id(uint32_t value); + public: + + // optional uint32 signupfragment = 3; + bool has_signupfragment() const; + private: + bool _internal_has_signupfragment() const; + public: + void clear_signupfragment(); + uint32_t signupfragment() const; + void set_signupfragment(uint32_t value); + private: + uint32_t _internal_signupfragment() const; + void _internal_set_signupfragment(uint32_t value); + public: + + // optional uint32 currentfragment = 4; + bool has_currentfragment() const; + private: + bool _internal_has_currentfragment() const; + public: + void clear_currentfragment(); + uint32_t currentfragment() const; + void set_currentfragment(uint32_t value); + private: + uint32_t _internal_currentfragment() const; + void _internal_set_currentfragment(uint32_t value); + public: + + // optional float tickrate = 5; + bool has_tickrate() const; + private: + bool _internal_has_tickrate() const; + public: + void clear_tickrate(); + float tickrate() const; + void set_tickrate(float value); + private: + float _internal_tickrate() const; + void _internal_set_tickrate(float value); + public: + + // optional uint32 tick = 6; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + uint32_t tick() const; + void set_tick(uint32_t value); + private: + uint32_t _internal_tick() const; + void _internal_set_tick(uint32_t value); + public: + + // optional float rtdelay = 8; + bool has_rtdelay() const; + private: + bool _internal_has_rtdelay() const; + public: + void clear_rtdelay(); + float rtdelay() const; + void set_rtdelay(float value); + private: + float _internal_rtdelay() const; + void _internal_set_rtdelay(float value); + public: + + // optional float rcvage = 9; + bool has_rcvage() const; + private: + bool _internal_has_rcvage() const; + public: + void clear_rcvage(); + float rcvage() const; + void set_rcvage(float value); + private: + float _internal_rcvage() const; + void _internal_set_rcvage(float value); + public: + + // optional float keyframe_interval = 10; + bool has_keyframe_interval() const; + private: + bool _internal_has_keyframe_interval() const; + public: + void clear_keyframe_interval(); + float keyframe_interval() const; + void set_keyframe_interval(float value); + private: + float _internal_keyframe_interval() const; + void _internal_set_keyframe_interval(float value); + public: + + // optional uint32 cdndelay = 11; + bool has_cdndelay() const; + private: + bool _internal_has_cdndelay() const; + public: + void clear_cdndelay(); + uint32_t cdndelay() const; + void set_cdndelay(uint32_t value); + private: + uint32_t _internal_cdndelay() const; + void _internal_set_cdndelay(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CEngineGotvSyncPacket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t match_id_; + uint32_t instance_id_; + uint32_t signupfragment_; + uint32_t currentfragment_; + float tickrate_; + uint32_t tick_; + float rtdelay_; + float rcvage_; + float keyframe_interval_; + uint32_t cdndelay_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_engine_5fgcmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CEngineGotvSyncPacket + +// optional uint64 match_id = 1; +inline bool CEngineGotvSyncPacket::_internal_has_match_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_match_id() const { + return _internal_has_match_id(); +} +inline void CEngineGotvSyncPacket::clear_match_id() { + _impl_.match_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CEngineGotvSyncPacket::_internal_match_id() const { + return _impl_.match_id_; +} +inline uint64_t CEngineGotvSyncPacket::match_id() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.match_id) + return _internal_match_id(); +} +inline void CEngineGotvSyncPacket::_internal_set_match_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.match_id_ = value; +} +inline void CEngineGotvSyncPacket::set_match_id(uint64_t value) { + _internal_set_match_id(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.match_id) +} + +// optional uint32 instance_id = 2; +inline bool CEngineGotvSyncPacket::_internal_has_instance_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_instance_id() const { + return _internal_has_instance_id(); +} +inline void CEngineGotvSyncPacket::clear_instance_id() { + _impl_.instance_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CEngineGotvSyncPacket::_internal_instance_id() const { + return _impl_.instance_id_; +} +inline uint32_t CEngineGotvSyncPacket::instance_id() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.instance_id) + return _internal_instance_id(); +} +inline void CEngineGotvSyncPacket::_internal_set_instance_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.instance_id_ = value; +} +inline void CEngineGotvSyncPacket::set_instance_id(uint32_t value) { + _internal_set_instance_id(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.instance_id) +} + +// optional uint32 signupfragment = 3; +inline bool CEngineGotvSyncPacket::_internal_has_signupfragment() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_signupfragment() const { + return _internal_has_signupfragment(); +} +inline void CEngineGotvSyncPacket::clear_signupfragment() { + _impl_.signupfragment_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CEngineGotvSyncPacket::_internal_signupfragment() const { + return _impl_.signupfragment_; +} +inline uint32_t CEngineGotvSyncPacket::signupfragment() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.signupfragment) + return _internal_signupfragment(); +} +inline void CEngineGotvSyncPacket::_internal_set_signupfragment(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.signupfragment_ = value; +} +inline void CEngineGotvSyncPacket::set_signupfragment(uint32_t value) { + _internal_set_signupfragment(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.signupfragment) +} + +// optional uint32 currentfragment = 4; +inline bool CEngineGotvSyncPacket::_internal_has_currentfragment() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_currentfragment() const { + return _internal_has_currentfragment(); +} +inline void CEngineGotvSyncPacket::clear_currentfragment() { + _impl_.currentfragment_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CEngineGotvSyncPacket::_internal_currentfragment() const { + return _impl_.currentfragment_; +} +inline uint32_t CEngineGotvSyncPacket::currentfragment() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.currentfragment) + return _internal_currentfragment(); +} +inline void CEngineGotvSyncPacket::_internal_set_currentfragment(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.currentfragment_ = value; +} +inline void CEngineGotvSyncPacket::set_currentfragment(uint32_t value) { + _internal_set_currentfragment(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.currentfragment) +} + +// optional float tickrate = 5; +inline bool CEngineGotvSyncPacket::_internal_has_tickrate() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_tickrate() const { + return _internal_has_tickrate(); +} +inline void CEngineGotvSyncPacket::clear_tickrate() { + _impl_.tickrate_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CEngineGotvSyncPacket::_internal_tickrate() const { + return _impl_.tickrate_; +} +inline float CEngineGotvSyncPacket::tickrate() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.tickrate) + return _internal_tickrate(); +} +inline void CEngineGotvSyncPacket::_internal_set_tickrate(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.tickrate_ = value; +} +inline void CEngineGotvSyncPacket::set_tickrate(float value) { + _internal_set_tickrate(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.tickrate) +} + +// optional uint32 tick = 6; +inline bool CEngineGotvSyncPacket::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_tick() const { + return _internal_has_tick(); +} +inline void CEngineGotvSyncPacket::clear_tick() { + _impl_.tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CEngineGotvSyncPacket::_internal_tick() const { + return _impl_.tick_; +} +inline uint32_t CEngineGotvSyncPacket::tick() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.tick) + return _internal_tick(); +} +inline void CEngineGotvSyncPacket::_internal_set_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.tick_ = value; +} +inline void CEngineGotvSyncPacket::set_tick(uint32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.tick) +} + +// optional float rtdelay = 8; +inline bool CEngineGotvSyncPacket::_internal_has_rtdelay() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_rtdelay() const { + return _internal_has_rtdelay(); +} +inline void CEngineGotvSyncPacket::clear_rtdelay() { + _impl_.rtdelay_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CEngineGotvSyncPacket::_internal_rtdelay() const { + return _impl_.rtdelay_; +} +inline float CEngineGotvSyncPacket::rtdelay() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.rtdelay) + return _internal_rtdelay(); +} +inline void CEngineGotvSyncPacket::_internal_set_rtdelay(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.rtdelay_ = value; +} +inline void CEngineGotvSyncPacket::set_rtdelay(float value) { + _internal_set_rtdelay(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.rtdelay) +} + +// optional float rcvage = 9; +inline bool CEngineGotvSyncPacket::_internal_has_rcvage() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_rcvage() const { + return _internal_has_rcvage(); +} +inline void CEngineGotvSyncPacket::clear_rcvage() { + _impl_.rcvage_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CEngineGotvSyncPacket::_internal_rcvage() const { + return _impl_.rcvage_; +} +inline float CEngineGotvSyncPacket::rcvage() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.rcvage) + return _internal_rcvage(); +} +inline void CEngineGotvSyncPacket::_internal_set_rcvage(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.rcvage_ = value; +} +inline void CEngineGotvSyncPacket::set_rcvage(float value) { + _internal_set_rcvage(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.rcvage) +} + +// optional float keyframe_interval = 10; +inline bool CEngineGotvSyncPacket::_internal_has_keyframe_interval() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_keyframe_interval() const { + return _internal_has_keyframe_interval(); +} +inline void CEngineGotvSyncPacket::clear_keyframe_interval() { + _impl_.keyframe_interval_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CEngineGotvSyncPacket::_internal_keyframe_interval() const { + return _impl_.keyframe_interval_; +} +inline float CEngineGotvSyncPacket::keyframe_interval() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.keyframe_interval) + return _internal_keyframe_interval(); +} +inline void CEngineGotvSyncPacket::_internal_set_keyframe_interval(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.keyframe_interval_ = value; +} +inline void CEngineGotvSyncPacket::set_keyframe_interval(float value) { + _internal_set_keyframe_interval(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.keyframe_interval) +} + +// optional uint32 cdndelay = 11; +inline bool CEngineGotvSyncPacket::_internal_has_cdndelay() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CEngineGotvSyncPacket::has_cdndelay() const { + return _internal_has_cdndelay(); +} +inline void CEngineGotvSyncPacket::clear_cdndelay() { + _impl_.cdndelay_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CEngineGotvSyncPacket::_internal_cdndelay() const { + return _impl_.cdndelay_; +} +inline uint32_t CEngineGotvSyncPacket::cdndelay() const { + // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.cdndelay) + return _internal_cdndelay(); +} +inline void CEngineGotvSyncPacket::_internal_set_cdndelay(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.cdndelay_ = value; +} +inline void CEngineGotvSyncPacket::set_cdndelay(uint32_t value) { + _internal_set_cdndelay(value); + // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.cdndelay) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.cc new file mode 100644 index 0000000..24ef4c5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.cc @@ -0,0 +1,2940 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: enums_clientserver.proto + +#include "enums_clientserver.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; + +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_enums_5fclientserver_2eproto[4]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_enums_5fclientserver_2eproto = nullptr; +const uint32_t TableStruct_enums_5fclientserver_2eproto::offsets[1] = {}; +static constexpr ::_pbi::MigrationSchema* schemas = nullptr; +static constexpr ::_pb::Message* const* file_default_instances = nullptr; + +const char descriptor_table_protodef_enums_5fclientserver_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\030enums_clientserver.proto*\366\235\003\n\004EMsg\022\021\n\r" + "k_EMsgInvalid\020\000\022\017\n\013k_EMsgMulti\020\001\022\031\n\025k_EM" + "sgProtobufWrapped\020\002\022\025\n\021k_EMsgBaseGeneral" + "\020d\022\026\n\022k_EMsgGenericReply\020d\022\027\n\023k_EMsgDest" + "JobFailed\020q\022\017\n\013k_EMsgAlert\020s\022\025\n\021k_EMsgSC" + "IDRequest\020x\022\026\n\022k_EMsgSCIDResponse\020y\022\026\n\022k" + "_EMsgJobHeartbeat\020{\022\024\n\020k_EMsgHubConnect\020" + "|\022\023\n\017k_EMsgSubscribe\020~\022\024\n\020k_EMRouteMessa" + "ge\020\177\022\024\n\017k_EMsgWGRequest\020\202\001\022\025\n\020k_EMsgWGRe" + "sponse\020\203\001\022\024\n\017k_EMsgKeepAlive\020\204\001\022\033\n\026k_EMs" + "gWebAPIJobRequest\020\205\001\022\034\n\027k_EMsgWebAPIJobR" + "esponse\020\206\001\022\035\n\030k_EMsgClientSessionStart\020\207" + "\001\022\033\n\026k_EMsgClientSessionEnd\020\210\001\022\036\n\031k_EMsg" + "ClientSessionUpdate\020\211\001\022\032\n\025k_EMsgStatsDep" + "recated\020\212\001\022\017\n\nk_EMsgPing\020\213\001\022\027\n\022k_EMsgPin" + "gResponse\020\214\001\022\020\n\013k_EMsgStats\020\215\001\022 \n\033k_EMsg" + "RequestFullStatsBlock\020\216\001\022\033\n\026k_EMsgLoadDB" + "OCacheItem\020\217\001\022#\n\036k_EMsgLoadDBOCacheItemR" + "esponse\020\220\001\022\"\n\035k_EMsgInvalidateDBOCacheIt" + "ems\020\221\001\022\030\n\023k_EMsgServiceMethod\020\222\001\022 \n\033k_EM" + "sgServiceMethodResponse\020\223\001\022 \n\033k_EMsgClie" + "ntPackageVersions\020\224\001\022\033\n\026k_EMsgTimestampR" + "equest\020\225\001\022\034\n\027k_EMsgTimestampResponse\020\226\001\022" + "&\n!k_EMsgServiceMethodCallFromClient\020\227\001\022" + "$\n\037k_EMsgServiceMethodSendToClient\020\230\001\022\024\n" + "\017k_EMsgBaseShell\020\310\001\022\026\n\021k_EMsgAssignSysID" + "\020\310\001\022\017\n\nk_EMsgExit\020\311\001\022\025\n\020k_EMsgDirRequest" + "\020\312\001\022\026\n\021k_EMsgDirResponse\020\313\001\022\025\n\020k_EMsgZip" + "Request\020\314\001\022\026\n\021k_EMsgZipResponse\020\315\001\022\037\n\032k_" + "EMsgUpdateRecordResponse\020\327\001\022\"\n\035k_EMsgUpd" + "ateCreditCardRequest\020\335\001\022 \n\033k_EMsgUpdateU" + "serBanResponse\020\341\001\022\030\n\023k_EMsgPrepareToExit" + "\020\342\001\022#\n\036k_EMsgContentDescriptionUpdate\020\343\001" + "\022\032\n\025k_EMsgTestResetServer\020\344\001\022\032\n\025k_EMsgUn" + "iverseChanged\020\345\001\022 \n\033k_EMsgShellConfigInf" + "oUpdate\020\346\001\022(\n#k_EMsgRequestWindowsEventL" + "ogEntries\020\351\001\022(\n#k_EMsgProvideWindowsEven" + "tLogEntries\020\352\001\022\032\n\025k_EMsgShellSearchLogs\020" + "\353\001\022\"\n\035k_EMsgShellSearchLogsResponse\020\354\001\022#" + "\n\036k_EMsgShellCheckWindowsUpdates\020\355\001\022+\n&k" + "_EMsgShellCheckWindowsUpdatesResponse\020\356\001" + "\022\036\n\031k_EMsgTestFlushDelayedSQL\020\360\001\022&\n!k_EM" + "sgTestFlushDelayedSQLResponse\020\361\001\022*\n%k_EM" + "sgEnsureExecuteScheduledTask_TEST\020\362\001\0222\n-" + "k_EMsgEnsureExecuteScheduledTaskResponse" + "_TEST\020\363\001\022.\n)k_EMsgUpdateScheduledTaskEna" + "bleState_TEST\020\364\001\0226\n1k_EMsgUpdateSchedule" + "dTaskEnableStateResponse_TEST\020\365\001\022(\n#k_EM" + "sgContentDescriptionDeltaUpdate\020\366\001\022)\n$k_" + "EMsgGMShellAndServerAddressUpdates\020\367\001\022\021\n" + "\014k_EMsgBaseGM\020\254\002\022\024\n\017k_EMsgHeartbeat\020\254\002\022\026" + "\n\021k_EMsgShellFailed\020\255\002\022\025\n\020k_EMsgExitShel" + "ls\020\263\002\022\024\n\017k_EMsgExitShell\020\264\002\022\034\n\027k_EMsgGra" + "cefulExitShell\020\265\002\022$\n\037k_EMsgLicenseProces" + "singComplete\020\274\002\022\026\n\021k_EMsgSetTestFlag\020\275\002\022" + "\037\n\032k_EMsgQueuedEmailsComplete\020\276\002\022\033\n\026k_EM" + "sgGMReportPHPError\020\277\002\022\024\n\017k_EMsgGMDRMSync" + "\020\300\002\022\037\n\032k_EMsgPhysicalBoxInventory\020\301\002\022\033\n\026" + "k_EMsgUpdateConfigFile\020\302\002\022\025\n\020k_EMsgTestI" + "nitDB\020\303\002\022\035\n\030k_EMsgGMWriteConfigToSQL\020\304\002\022" + " \n\033k_EMsgGMLoadActivationCodes\020\305\002\022\030\n\023k_E" + "MsgGMQueueForFBS\020\306\002\022$\n\037k_EMsgGMSchemaCon" + "versionResults\020\307\002\022#\n\036k_EMsgGMWriteShellF" + "ailureToSQL\020\311\002\022\034\n\027k_EMsgGMWriteStatsToSO" + "S\020\312\002\022$\n\037k_EMsgGMGetServiceMethodRouting\020" + "\313\002\022,\n\'k_EMsgGMGetServiceMethodRoutingRes" + "ponse\020\314\002\022*\n%k_EMsgGMTestNextBuildSchemaC" + "onversion\020\316\002\0222\n-k_EMsgGMTestNextBuildSch" + "emaConversionResponse\020\317\002\022\035\n\030k_EMsgExpect" + "ShellRestart\020\320\002\022\031\n\024k_EMsgHotFixProgress\020" + "\321\002\022+\n&k_EMsgGMStatsForwardToAdminConnect" + "ions\020\322\002\022\022\n\rk_EMsgBaseAIS\020\220\003\022\'\n\"k_EMsgAIS" + "RequestContentDescription\020\222\003\022\033\n\026k_EMsgAI" + "SUpdateAppInfo\020\223\003\022$\n\037k_EMsgAISGetPackage" + "ChangeNumber\020\225\003\022,\n\'k_EMsgAISGetPackageCh" + "angeNumberResponse\020\226\003\022\032\n\025k_EMsgAIGetAppG" + "CFlags\020\247\003\022\"\n\035k_EMsgAIGetAppGCFlagsRespon" + "se\020\250\003\022\027\n\022k_EMsgAIGetAppList\020\251\003\022\037\n\032k_EMsg" + "AIGetAppListResponse\020\252\003\022!\n\034k_EMsgAISGetC" + "ouponDefinition\020\255\003\022)\n$k_EMsgAISGetCoupon" + "DefinitionResponse\020\256\003\0221\n,k_EMsgAISUpdate" + "SubordinateContentDescription\020\257\003\0229\n4k_EM" + "sgAISUpdateSubordinateContentDescription" + "Response\020\260\003\022\032\n\025k_EMsgAISTestEnableGC\020\261\003\022" + "\021\n\014k_EMsgBaseAM\020\364\003\022!\n\034k_EMsgAMUpdateUser" + "BanRequest\020\370\003\022\027\n\022k_EMsgAMAddLicense\020\371\003\022\037" + "\n\032k_EMsgAMSendSystemIMToUser\020\374\003\022\032\n\025k_EMs" + "gAMExtendLicense\020\375\003\022 \n\033k_EMsgAMAddMinute" + "sToLicense\020\376\003\022\032\n\025k_EMsgAMCancelLicense\020\377" + "\003\022\031\n\024k_EMsgAMInitPurchase\020\200\004\022\035\n\030k_EMsgAM" + "PurchaseResponse\020\201\004\022\032\n\025k_EMsgAMGetFinalP" + "rice\020\202\004\022\"\n\035k_EMsgAMGetFinalPriceResponse" + "\020\203\004\022\035\n\030k_EMsgAMGetLegacyGameKey\020\204\004\022%\n k_" + "EMsgAMGetLegacyGameKeyResponse\020\205\004\022!\n\034k_E" + "MsgAMFindHungTransactions\020\206\004\022%\n k_EMsgAM" + "SetAccountTrustedRequest\020\207\004\022\033\n\026k_EMsgAMC" + "ancelPurchase\020\212\004\022\031\n\024k_EMsgAMNewChallenge" + "\020\213\004\022\033\n\026k_EMsgAMLoadOEMTickets\020\214\004\022\037\n\032k_EM" + "sgAMFixPendingPurchase\020\215\004\022\'\n\"k_EMsgAMFix" + "PendingPurchaseResponse\020\216\004\022\031\n\024k_EMsgAMIs" + "UserBanned\020\217\004\022\030\n\023k_EMsgAMRegisterKey\020\220\004\022" + " \n\033k_EMsgAMLoadActivationCodes\020\221\004\022(\n#k_E" + "MsgAMLoadActivationCodesResponse\020\222\004\022\036\n\031k" + "_EMsgAMLookupKeyResponse\020\223\004\022\026\n\021k_EMsgAML" + "ookupKey\020\224\004\022\030\n\023k_EMsgAMChatCleanup\020\225\004\022\030\n" + "\023k_EMsgAMClanCleanup\020\226\004\022\035\n\030k_EMsgAMFixPe" + "ndingRefund\020\227\004\022\036\n\031k_EMsgAMReverseChargeb" + "ack\020\230\004\022&\n!k_EMsgAMReverseChargebackRespo" + "nse\020\231\004\022\034\n\027k_EMsgAMClanCleanupList\020\232\004\022\030\n\023" + "k_EMsgAMGetLicenses\020\233\004\022 \n\033k_EMsgAMGetLic" + "ensesResponse\020\234\004\022\037\n\032k_EMsgAMSendCartRepu" + "rchase\020\235\004\022\'\n\"k_EMsgAMSendCartRepurchaseR" + "esponse\020\236\004\022\037\n\032k_EMsgAllowUserToPlayQuery" + "\020\246\004\022\"\n\035k_EMsgAllowUserToPlayResponse\020\247\004\022" + "\027\n\022k_EMsgAMVerfiyUser\020\250\004\022\035\n\030k_EMsgAMClie" + "ntNotPlaying\020\251\004\022$\n\037k_EMsgAMClientRequest" + "Friendship\020\252\004\022\037\n\032k_EMsgAMRelayPublishSta" + "tus\020\253\004\022!\n\034k_EMsgAMInitPurchaseResponse\020\260" + "\004\022#\n\036k_EMsgAMRevokePurchaseResponse\020\261\004\022\037" + "\n\032k_EMsgAMRefreshGuestPasses\020\263\004\022\035\n\030k_EMs" + "gAMGrantGuestPasses\020\266\004\022\034\n\027k_EMsgAMClanDa" + "taUpdated\020\267\004\022\032\n\025k_EMsgAMReloadAccount\020\270\004" + "\022\037\n\032k_EMsgAMClientChatMsgRelay\020\271\004\022\026\n\021k_E" + "MsgAMChatMulti\020\272\004\022\"\n\035k_EMsgAMClientChatI" + "nviteRelay\020\273\004\022\027\n\022k_EMsgAMChatInvite\020\274\004\022 " + "\n\033k_EMsgAMClientJoinChatRelay\020\275\004\022&\n!k_EM" + "sgAMClientChatMemberInfoRelay\020\276\004\022\"\n\035k_EM" + "sgAMPublishChatMemberInfo\020\277\004\022%\n k_EMsgAM" + "ClientAcceptFriendInvite\020\300\004\022\026\n\021k_EMsgAMC" + "hatEnter\020\301\004\022+\n&k_EMsgAMClientPublishRemo" + "valFromSource\020\302\004\022\035\n\030k_EMsgAMChatActionRe" + "sult\020\303\004\022\031\n\024k_EMsgAMFindAccounts\020\304\004\022!\n\034k_" + "EMsgAMFindAccountsResponse\020\305\004\022\037\n\032k_EMsgA" + "MIsAccountNameInUse\020\306\004\022\'\n\"k_EMsgAMIsAcco" + "untNameInUseResponse\020\307\004\022\034\n\027k_EMsgAMSetAc" + "countFlags\020\310\004\022\027\n\022k_EMsgAMCreateClan\020\312\004\022\037" + "\n\032k_EMsgAMCreateClanResponse\020\313\004\022\033\n\026k_EMs" + "gAMGetClanDetails\020\314\004\022#\n\036k_EMsgAMGetClanD" + "etailsResponse\020\315\004\022\033\n\026k_EMsgAMSetPersonaN" + "ame\020\316\004\022\026\n\021k_EMsgAMSetAvatar\020\317\004\022\035\n\030k_EMsg" + "AMAuthenticateUser\020\320\004\022%\n k_EMsgAMAuthent" + "icateUserResponse\020\321\004\022!\n\034k_EMsgAMP2PIntro" + "ducerMessage\020\324\004\022\033\n\026k_EMsgClientChatActio" + "n\020\325\004\022\"\n\035k_EMsgAMClientChatActionRelay\020\326\004" + "\022\021\n\014k_EMsgBaseVS\020\330\004\022\027\n\022k_EMsgReqChalleng" + "e\020\330\004\022\026\n\021k_EMsgVACResponse\020\331\004\022\033\n\026k_EMsgRe" + "qChallengeTest\020\332\004\022\026\n\021k_EMsgVSMarkCheat\020\334" + "\004\022\025\n\020k_EMsgVSAddCheat\020\335\004\022\033\n\026k_EMsgVSPurg" + "eCodeModDB\020\336\004\022 \n\033k_EMsgVSGetChallengeRes" + "ults\020\337\004\022 \n\033k_EMsgVSChallengeResultText\020\340" + "\004\022\033\n\026k_EMsgVSReportLingerer\020\341\004\022$\n\037k_EMsg" + "VSRequestManagedChallenge\020\342\004\022\033\n\026k_EMsgVS" + "LoadDBFinished\020\343\004\022\023\n\016k_EMsgBaseDRMS\020\361\004\022\036" + "\n\031k_EMsgDRMBuildBlobRequest\020\364\004\022\037\n\032k_EMsg" + "DRMBuildBlobResponse\020\365\004\022 \n\033k_EMsgDRMReso" + "lveGuidRequest\020\366\004\022!\n\034k_EMsgDRMResolveGui" + "dResponse\020\367\004\022\037\n\032k_EMsgDRMVariabilityRepo" + "rt\020\371\004\022\'\n\"k_EMsgDRMVariabilityReportRespo" + "nse\020\372\004\022\035\n\030k_EMsgDRMStabilityReport\020\373\004\022%\n" + " k_EMsgDRMStabilityReportResponse\020\374\004\022\"\n\035" + "k_EMsgDRMDetailsReportRequest\020\375\004\022#\n\036k_EM" + "sgDRMDetailsReportResponse\020\376\004\022\031\n\024k_EMsgD" + "RMProcessFile\020\377\004\022\031\n\024k_EMsgDRMAdminUpdate" + "\020\200\005\022!\n\034k_EMsgDRMAdminUpdateResponse\020\201\005\022\022" + "\n\rk_EMsgDRMSync\020\202\005\022\032\n\025k_EMsgDRMSyncRespo" + "nse\020\203\005\022!\n\034k_EMsgDRMProcessFileResponse\020\204" + "\005\022\034\n\027k_EMsgDRMEmptyGuidCache\020\205\005\022$\n\037k_EMs" + "gDRMEmptyGuidCacheResponse\020\206\005\022\021\n\014k_EMsgB" + "aseCS\020\212\005\022\025\n\020k_EMsgBaseClient\020\274\005\022!\n\034k_EMs" + "gClientLogOn_Deprecated\020\275\005\022%\n k_EMsgClie" + "ntAnonLogOn_Deprecated\020\276\005\022\032\n\025k_EMsgClien" + "tHeartBeat\020\277\005\022\034\n\027k_EMsgClientVACResponse" + "\020\300\005\022%\n k_EMsgClientGamesPlayed_obsolete\020" + "\301\005\022\027\n\022k_EMsgClientLogOff\020\302\005\022\"\n\035k_EMsgCli" + "entNoUDPConnectivity\020\303\005\022 \n\033k_EMsgClientC" + "onnectionStats\020\306\005\022\035\n\030k_EMsgClientPingRes" + "ponse\020\310\005\022\035\n\030k_EMsgClientRemoveFriend\020\312\005\022" + "&\n!k_EMsgClientGamesPlayedNoDataBlob\020\313\005\022" + "\035\n\030k_EMsgClientChangeStatus\020\314\005\022\"\n\035k_EMsg" + "ClientVacStatusResponse\020\315\005\022\032\n\025k_EMsgClie" + "ntFriendMsg\020\316\005\022%\n k_EMsgClientGameConnec" + "t_obsolete\020\317\005\022&\n!k_EMsgClientGamesPlayed" + "2_obsolete\020\320\005\022#\n\036k_EMsgClientGameEnded_o" + "bsolete\020\321\005\022\031\n\024k_EMsgClientSystemIM\020\326\005\022\034\n" + "\027k_EMsgClientSystemIMAck\020\327\005\022\034\n\027k_EMsgCli" + "entGetLicenses\020\330\005\022!\n\034k_EMsgClientGetLega" + "cyGameKey\020\332\005\022.\n)k_EMsgClientContentServe" + "rLogOn_Deprecated\020\333\005\022\033\n\026k_EMsgClientAckV" + "ACBan2\020\334\005\022$\n\037k_EMsgClientGetPurchaseRece" + "ipts\020\340\005\022&\n!k_EMsgClientGamesPlayed3_obso" + "lete\020\342\005\022\035\n\030k_EMsgClientAckGuestPass\020\344\005\022 " + "\n\033k_EMsgClientRedeemGuestPass\020\345\005\022\034\n\027k_EM" + "sgClientGamesPlayed\020\346\005\022\034\n\027k_EMsgClientRe" + "gisterKey\020\347\005\022!\n\034k_EMsgClientInviteUserTo" + "Clan\020\350\005\022&\n!k_EMsgClientAcknowledgeClanIn" + "vite\020\351\005\022&\n!k_EMsgClientPurchaseWithMachi" + "neID\020\352\005\022\036\n\031k_EMsgClientAppUsageEvent\020\353\005\022" + "\036\n\031k_EMsgClientLogOnResponse\020\357\005\022!\n\034k_EMs" + "gClientSetHeartbeatRate\020\363\005\022&\n!k_EMsgClie" + "ntNotLoggedOnDeprecated\020\364\005\022\032\n\025k_EMsgClie" + "ntLoggedOff\020\365\005\022\024\n\017k_EMsgGSApprove\020\366\005\022\021\n\014" + "k_EMsgGSDeny\020\367\005\022\021\n\014k_EMsgGSKick\020\370\005\022!\n\034k_" + "EMsgClientPurchaseResponse\020\373\005\022\025\n\020k_EMsgC" + "lientPing\020\374\005\022\024\n\017k_EMsgClientNOP\020\375\005\022\035\n\030k_" + "EMsgClientPersonaState\020\376\005\022\034\n\027k_EMsgClien" + "tFriendsList\020\377\005\022\034\n\027k_EMsgClientAccountIn" + "fo\020\200\006\022\033\n\026k_EMsgClientNewsUpdate\020\203\006\022 \n\033k_" + "EMsgClientGameConnectDeny\020\205\006\022\030\n\023k_EMsgGS" + "StatusReply\020\206\006\022\"\n\035k_EMsgClientGameConnec" + "tTokens\020\213\006\022\034\n\027k_EMsgClientLicenseList\020\214\006" + "\022\035\n\030k_EMsgClientVACBanStatus\020\216\006\022\027\n\022k_EMs" + "gClientCMList\020\217\006\022\033\n\026k_EMsgClientEncryptP" + "ct\020\220\006\022)\n$k_EMsgClientGetLegacyGameKeyRes" + "ponse\020\221\006\022\032\n\025k_EMsgClientAddFriend\020\227\006\022\"\n\035" + "k_EMsgClientAddFriendResponse\020\230\006\022%\n k_EM" + "sgClientAckGuestPassResponse\020\234\006\022(\n#k_EMs" + "gClientRedeemGuestPassResponse\020\235\006\022&\n!k_E" + "MsgClientUpdateGuestPassesList\020\236\006\022\030\n\023k_E" + "MsgClientChatMsg\020\237\006\022\033\n\026k_EMsgClientChatI" + "nvite\020\240\006\022\031\n\024k_EMsgClientJoinChat\020\241\006\022\037\n\032k" + "_EMsgClientChatMemberInfo\020\242\006\0220\n+k_EMsgCl" + "ientLogOnWithCredentials_Deprecated\020\243\006\022\'" + "\n\"k_EMsgClientPasswordChangeResponse\020\245\006\022" + "\032\n\025k_EMsgClientChatEnter\020\247\006\022(\n#k_EMsgCli" + "entFriendRemovedFromSource\020\250\006\022\033\n\026k_EMsgC" + "lientCreateChat\020\251\006\022#\n\036k_EMsgClientCreate" + "ChatResponse\020\252\006\022%\n k_EMsgClientP2PIntrod" + "ucerMessage\020\255\006\022!\n\034k_EMsgClientChatAction" + "Result\020\256\006\022\"\n\035k_EMsgClientRequestFriendDa" + "ta\020\257\006\022\035\n\030k_EMsgClientGetUserStats\020\262\006\022%\n " + "k_EMsgClientGetUserStatsResponse\020\263\006\022\037\n\032k" + "_EMsgClientStoreUserStats\020\264\006\022\'\n\"k_EMsgCl" + "ientStoreUserStatsResponse\020\265\006\022\032\n\025k_EMsgC" + "lientClanState\020\266\006\022\036\n\031k_EMsgClientService" + "Module\020\276\006\022\034\n\027k_EMsgClientServiceCall\020\277\006\022" + "$\n\037k_EMsgClientServiceCallResponse\020\300\006\022&\n" + "!k_EMsgClientNatTraversalStatEvent\020\307\006\022 \n" + "\033k_EMsgClientSteamUsageEvent\020\312\006\022\036\n\031k_EMs" + "gClientCheckPassword\020\315\006\022\036\n\031k_EMsgClientR" + "esetPassword\020\316\006\022&\n!k_EMsgClientCheckPass" + "wordResponse\020\320\006\022&\n!k_EMsgClientResetPass" + "wordResponse\020\321\006\022\035\n\030k_EMsgClientSessionTo" + "ken\020\322\006\022!\n\034k_EMsgClientDRMProblemReport\020\323" + "\006\022 \n\033k_EMsgClientSetIgnoreFriend\020\327\006\022(\n#k" + "_EMsgClientSetIgnoreFriendResponse\020\330\006\022&\n" + "!k_EMsgClientGetAppOwnershipTicket\020\331\006\022.\n" + ")k_EMsgClientGetAppOwnershipTicketRespon" + "se\020\332\006\022%\n k_EMsgClientGetLobbyListRespons" + "e\020\334\006\022\033\n\026k_EMsgClientServerList\020\360\006\022\037\n\032k_E" + "MsgClientDRMBlobRequest\020\200\007\022 \n\033k_EMsgClie" + "ntDRMBlobResponse\020\201\007\022\031\n\024k_EMsgBaseGameSe" + "rver\020\204\007\022\035\n\030k_EMsgGSDisconnectNotice\020\205\007\022\023" + "\n\016k_EMsgGSStatus\020\207\007\022\030\n\023k_EMsgGSUserPlayi" + "ng\020\211\007\022\024\n\017k_EMsgGSStatus2\020\212\007\022 \n\033k_EMsgGSS" + "tatusUpdate_Unused\020\213\007\022\027\n\022k_EMsgGSServerT" + "ype\020\214\007\022\027\n\022k_EMsgGSPlayerList\020\215\007\022%\n k_EMs" + "gGSGetUserAchievementStatus\020\216\007\022-\n(k_EMsg" + "GSGetUserAchievementStatusResponse\020\217\007\022\031\n" + "\024k_EMsgGSGetPlayStats\020\226\007\022!\n\034k_EMsgGSGetP" + "layStatsResponse\020\227\007\022\037\n\032k_EMsgGSGetUserGr" + "oupStatus\020\230\007\022\037\n\032k_EMsgAMGetUserGroupStat" + "us\020\231\007\022\'\n\"k_EMsgAMGetUserGroupStatusRespo" + "nse\020\232\007\022\'\n\"k_EMsgGSGetUserGroupStatusResp" + "onse\020\233\007\022\032\n\025k_EMsgGSGetReputation\020\250\007\022\"\n\035k" + "_EMsgGSGetReputationResponse\020\251\007\022\036\n\031k_EMs" + "gGSAssociateWithClan\020\252\007\022&\n!k_EMsgGSAssoc" + "iateWithClanResponse\020\253\007\022*\n%k_EMsgGSCompu" + "teNewPlayerCompatibility\020\254\007\0222\n-k_EMsgGSC" + "omputeNewPlayerCompatibilityResponse\020\255\007\022" + "\024\n\017k_EMsgBaseAdmin\020\350\007\022\023\n\016k_EMsgAdminCmd\020" + "\350\007\022\033\n\026k_EMsgAdminCmdResponse\020\354\007\022 \n\033k_EMs" + "gAdminLogListenRequest\020\355\007\022\030\n\023k_EMsgAdmin" + "LogEvent\020\356\007\022\027\n\022k_EMsgUniverseData\020\362\007\022\024\n\017" + "k_EMsgAdminSpew\020\373\007\022\034\n\027k_EMsgAdminConsole" + "Title\020\374\007\022\026\n\021k_EMsgAdminGCSpew\020\377\007\022\031\n\024k_EM" + "sgAdminGCCommand\020\200\010\022 \n\033k_EMsgAdminGCGetC" + "ommandList\020\201\010\022(\n#k_EMsgAdminGCGetCommand" + "ListResponse\020\202\010\022\034\n\027k_EMsgFBSConnectionDa" + "ta\020\203\010\022\027\n\022k_EMsgAdminMsgSpew\020\204\010\022\022\n\rk_EMsg" + "BaseFBS\020\314\010\022\030\n\023k_EMsgFBSReqVersion\020\314\010\022\031\n\024" + "k_EMsgFBSVersionInfo\020\315\010\022\032\n\025k_EMsgFBSForc" + "eRefresh\020\316\010\022\031\n\024k_EMsgFBSForceBounce\020\317\010\022\033" + "\n\026k_EMsgFBSDeployPackage\020\320\010\022\034\n\027k_EMsgFBS" + "DeployResponse\020\321\010\022 \n\033k_EMsgFBSUpdateBoot" + "strapper\020\322\010\022\026\n\021k_EMsgFBSSetState\020\323\010\022\034\n\027k" + "_EMsgFBSApplyOSUpdates\020\324\010\022\032\n\025k_EMsgFBSRu" + "nCMDScript\020\325\010\022\027\n\022k_EMsgFBSRebootBox\020\326\010\022\037" + "\n\032k_EMsgFBSSetBigBrotherMode\020\327\010\022\034\n\027k_EMs" + "gFBSMinidumpServer\020\330\010\022!\n\034k_EMsgFBSDeploy" + "HotFixPackage\020\332\010\022\"\n\035k_EMsgFBSDeployHotFi" + "xResponse\020\333\010\022\034\n\027k_EMsgFBSDownloadHotFix\020" + "\334\010\022$\n\037k_EMsgFBSDownloadHotFixResponse\020\335\010" + "\022$\n\037k_EMsgFBSUpdateTargetConfigFile\020\336\010\022\036" + "\n\031k_EMsgFBSApplyAccountCred\020\337\010\022&\n!k_EMsg" + "FBSApplyAccountCredResponse\020\340\010\022\033\n\026k_EMsg" + "FBSSetShellCount\020\341\010\022\034\n\027k_EMsgFBSTerminat" + "eShell\020\342\010\022\037\n\032k_EMsgFBSQueryGMForRequest\020" + "\343\010\022\035\n\030k_EMsgFBSQueryGMResponse\020\344\010\022\036\n\031k_E" + "MsgFBSTerminateZombies\020\345\010\022\"\n\035k_EMsgFBSIn" + "foFromBootstrapper\020\346\010\022\037\n\032k_EMsgFBSReboot" + "BoxResponse\020\347\010\022(\n#k_EMsgFBSBootstrapperP" + "ackageRequest\020\350\010\022)\n$k_EMsgFBSBootstrappe" + "rPackageResponse\020\351\010\022)\n$k_EMsgFBSBootstra" + "pperGetPackageChunk\020\352\010\0221\n,k_EMsgFBSBoots" + "trapperGetPackageChunkResponse\020\353\010\0221\n,k_E" + "MsgFBSBootstrapperPackageTransferProgres" + "s\020\354\010\022!\n\034k_EMsgFBSRestartBootstrapper\020\355\010\022" + "\036\n\031k_EMsgFBSPauseFrozenDumps\020\356\010\022\027\n\022k_EMs" + "gBaseFileXfer\020\260\t\022\032\n\025k_EMsgFileXferReques" + "t\020\260\t\022\033\n\026k_EMsgFileXferResponse\020\261\t\022\027\n\022k_E" + "MsgFileXferData\020\262\t\022\026\n\021k_EMsgFileXferEnd\020" + "\263\t\022\032\n\025k_EMsgFileXferDataAck\020\264\t\022\032\n\025k_EMsg" + "BaseChannelAuth\020\224\n\022\037\n\032k_EMsgChannelAuthC" + "hallenge\020\224\n\022\036\n\031k_EMsgChannelAuthResponse" + "\020\225\n\022\034\n\027k_EMsgChannelAuthResult\020\226\n\022 \n\033k_E" + "MsgChannelEncryptRequest\020\227\n\022!\n\034k_EMsgCha" + "nnelEncryptResponse\020\230\n\022\037\n\032k_EMsgChannelE" + "ncryptResult\020\231\n\022\021\n\014k_EMsgBaseBS\020\370\n\022\032\n\025k_" + "EMsgBSPurchaseStart\020\371\n\022\035\n\030k_EMsgBSPurcha" + "seResponse\020\372\n\022 \n\033k_EMsgBSAuthenticateCCT" + "rans\020\373\n\022(\n#k_EMsgBSAuthenticateCCTransRe" + "sponse\020\374\n\022\033\n\026k_EMsgBSSettleComplete\020\376\n\022\032" + "\n\025k_EMsgBSInitPayPalTxn\020\200\013\022\"\n\035k_EMsgBSIn" + "itPayPalTxnResponse\020\201\013\022\036\n\031k_EMsgBSGetPay" + "PalUserInfo\020\202\013\022&\n!k_EMsgBSGetPayPalUserI" + "nfoResponse\020\203\013\022\034\n\027k_EMsgBSPaymentInstrBa" + "n\020\211\013\022$\n\037k_EMsgBSPaymentInstrBanResponse\020" + "\212\013\022\036\n\031k_EMsgBSInitGCBankXferTxn\020\215\013\022&\n!k_" + "EMsgBSInitGCBankXferTxnResponse\020\216\013\022\030\n\023k_" + "EMsgBSCommitGCTxn\020\221\013\022#\n\036k_EMsgBSQueryTra" + "nsactionStatus\020\222\013\022+\n&k_EMsgBSQueryTransa" + "ctionStatusResponse\020\223\013\022!\n\034k_EMsgBSQueryT" + "xnExtendedInfo\020\231\013\022)\n$k_EMsgBSQueryTxnExt" + "endedInfoResponse\020\232\013\022\"\n\035k_EMsgBSUpdateCo" + "nversionRates\020\233\013\022#\n\036k_EMsgBSPurchaseRunF" + "raudChecks\020\235\013\022+\n&k_EMsgBSPurchaseRunFrau" + "dChecksResponse\020\236\013\022!\n\034k_EMsgBSQueryBankI" + "nformation\020\240\013\022)\n$k_EMsgBSQueryBankInform" + "ationResponse\020\241\013\022$\n\037k_EMsgBSValidateXsol" + "laSignature\020\245\013\022,\n\'k_EMsgBSValidateXsolla" + "SignatureResponse\020\246\013\022\036\n\031k_EMsgBSQiwiWall" + "etInvoice\020\250\013\022&\n!k_EMsgBSQiwiWalletInvoic" + "eResponse\020\251\013\022\'\n\"k_EMsgBSUpdateInventoryF" + "romProPack\020\252\013\022/\n*k_EMsgBSUpdateInventory" + "FromProPackResponse\020\253\013\022 \n\033k_EMsgBSSendSh" + "ippingRequest\020\254\013\022(\n#k_EMsgBSSendShipping" + "RequestResponse\020\255\013\022\"\n\035k_EMsgBSGetProPack" + "OrderStatus\020\256\013\022*\n%k_EMsgBSGetProPackOrde" + "rStatusResponse\020\257\013\022\034\n\027k_EMsgBSCheckJobRu" + "nning\020\260\013\022$\n\037k_EMsgBSCheckJobRunningRespo" + "nse\020\261\013\022*\n%k_EMsgBSResetPackagePurchaseRa" + "teLimit\020\262\013\0222\n-k_EMsgBSResetPackagePurcha" + "seRateLimitResponse\020\263\013\022\036\n\031k_EMsgBSUpdate" + "PaymentData\020\264\013\022&\n!k_EMsgBSUpdatePaymentD" + "ataResponse\020\265\013\022\036\n\031k_EMsgBSGetBillingAddr" + "ess\020\266\013\022&\n!k_EMsgBSGetBillingAddressRespo" + "nse\020\267\013\022\036\n\031k_EMsgBSGetCreditCardInfo\020\270\013\022&" + "\n!k_EMsgBSGetCreditCardInfoResponse\020\271\013\022%" + "\n k_EMsgBSRemoveExpiredPaymentData\020\274\013\022-\n" + "(k_EMsgBSRemoveExpiredPaymentDataRespons" + "e\020\275\013\022!\n\034k_EMsgBSConvertToCurrentKeys\020\276\013\022" + ")\n$k_EMsgBSConvertToCurrentKeysResponse\020" + "\277\013\022\031\n\024k_EMsgBSInitPurchase\020\300\013\022!\n\034k_EMsgB" + "SInitPurchaseResponse\020\301\013\022\035\n\030k_EMsgBSComp" + "letePurchase\020\302\013\022%\n k_EMsgBSCompletePurch" + "aseResponse\020\303\013\022 \n\033k_EMsgBSPruneCardUsage" + "Stats\020\304\013\022(\n#k_EMsgBSPruneCardUsageStatsR" + "esponse\020\305\013\022!\n\034k_EMsgBSStoreBankInformati" + "on\020\306\013\022)\n$k_EMsgBSStoreBankInformationRes" + "ponse\020\307\013\022\032\n\025k_EMsgBSVerifyPOSAKey\020\310\013\022\"\n\035" + "k_EMsgBSVerifyPOSAKeyResponse\020\311\013\022!\n\034k_EM" + "sgBSReverseRedeemPOSAKey\020\312\013\022)\n$k_EMsgBSR" + "everseRedeemPOSAKeyResponse\020\313\013\022 \n\033k_EMsg" + "BSQueryFindCreditCard\020\314\013\022(\n#k_EMsgBSQuer" + "yFindCreditCardResponse\020\315\013\022!\n\034k_EMsgBSSt" + "atusInquiryPOSAKey\020\316\013\022)\n$k_EMsgBSStatusI" + "nquiryPOSAKeyResponse\020\317\013\022,\n\'k_EMsgBSBoaC" + "ompraConfirmProductDelivery\020\326\013\0224\n/k_EMsg" + "BSBoaCompraConfirmProductDeliveryRespons" + "e\020\327\013\022!\n\034k_EMsgBSGenerateBoaCompraMD5\020\330\013\022" + ")\n$k_EMsgBSGenerateBoaCompraMD5Response\020" + "\331\013\022\030\n\023k_EMsgBSCommitWPTxn\020\332\013\022\033\n\026k_EMsgBS" + "CommitAdyenTxn\020\333\013\022\022\n\rk_EMsgBaseATS\020\334\013\022\035\n" + "\030k_EMsgATSStartStressTest\020\335\013\022\034\n\027k_EMsgAT" + "SStopStressTest\020\336\013\022\037\n\032k_EMsgATSRunFailSe" + "rverTest\020\337\013\022\035\n\030k_EMsgATSUFSPerfTestTask\020" + "\340\013\022!\n\034k_EMsgATSUFSPerfTestResponse\020\341\013\022\026\n" + "\021k_EMsgATSCycleTCM\020\342\013\022 \n\033k_EMsgATSInitDR" + "MSStressTest\020\343\013\022\026\n\021k_EMsgATSCallTest\020\344\013\022" + "\033\n\026k_EMsgATSCallTestReply\020\345\013\022!\n\034k_EMsgAT" + "SStartExternalStress\020\346\013\022$\n\037k_EMsgATSExte" + "rnalStressJobStart\020\347\013\022%\n k_EMsgATSExtern" + "alStressJobQueued\020\350\013\022&\n!k_EMsgATSExterna" + "lStressJobRunning\020\351\013\022&\n!k_EMsgATSExterna" + "lStressJobStopped\020\352\013\022&\n!k_EMsgATSExterna" + "lStressJobStopAll\020\353\013\022(\n#k_EMsgATSExterna" + "lStressActionResult\020\354\013\022\025\n\020k_EMsgATSStart" + "ed\020\355\013\022\034\n\027k_EMsgATSCSPerfTestTask\020\356\013\022 \n\033k" + "_EMsgATSCSPerfTestResponse\020\357\013\022\021\n\014k_EMsgB" + "aseDP\020\300\014\022\037\n\032k_EMsgDPSetPublishingState\020\301" + "\014\022\036\n\031k_EMsgDPUniquePlayersStat\020\303\014\022\'\n\"k_E" + "MsgDPStreamingUniquePlayersStat\020\304\014\022\032\n\025k_" + "EMsgDPBlockingStats\020\307\014\022\036\n\031k_EMsgDPNatTra" + "versalStats\020\310\014\022\027\n\022k_EMsgDPCloudStats\020\314\014\022" + "\033\n\026k_EMsgDPGetPlayerCount\020\317\014\022#\n\036k_EMsgDP" + "GetPlayerCountResponse\020\320\014\022$\n\037k_EMsgDPGam" + "eServersPlayersStats\020\321\014\022%\n k_EMsgClientD" + "PCheckSpecialSurvey\020\324\014\022-\n(k_EMsgClientDP" + "CheckSpecialSurveyResponse\020\325\014\022,\n\'k_EMsgC" + "lientDPSendSpecialSurveyResponse\020\326\014\0221\n,k" + "_EMsgClientDPSendSpecialSurveyResponseRe" + "ply\020\327\014\022 \n\033k_EMsgDPStoreSaleStatistics\020\330\014" + "\022%\n k_EMsgClientDPUpdateAppJobReport\020\331\014\022" + "(\n#k_EMsgClientDPUnsignedInstallScript\020\333" + "\014\022\035\n\030k_EMsgDPPartnerMicroTxns\020\334\014\022%\n k_EM" + "sgDPPartnerMicroTxnsResponse\020\335\014\022%\n k_EMs" + "gClientDPContentStatsReport\020\336\014\022 \n\033k_EMsg" + "DPVRUniquePlayersStat\020\337\014\022\021\n\014k_EMsgBaseCM" + "\020\244\r\022\032\n\025k_EMsgCMSetAllowState\020\245\r\022\033\n\026k_EMs" + "gCMSpewAllowState\020\246\r\022\034\n\027k_EMsgCMSessionR" + "ejected\020\247\r\022\027\n\022k_EMsgCMSetSecrets\020\250\r\022\027\n\022k" + "_EMsgCMGetSecrets\020\251\r\022\021\n\014k_EMsgBaseGC\020\230\021\022" + "\026\n\021k_EMsgGCCmdRevive\020\233\021\022\024\n\017k_EMsgGCCmdDo" + "wn\020\236\021\022\026\n\021k_EMsgGCCmdDeploy\020\237\021\022\036\n\031k_EMsgG" + "CCmdDeployResponse\020\240\021\022\026\n\021k_EMsgGCCmdSwit" + "ch\020\241\021\022\034\n\027k_EMsgAMRefreshSessions\020\242\021\022\037\n\032k" + "_EMsgGCAchievementAwarded\020\244\021\022\032\n\025k_EMsgGC" + "SystemMessage\020\245\021\022\026\n\021k_EMsgGCCmdStatus\020\250\021" + "\022-\n(k_EMsgGCRegisterWebInterfaces_Deprec" + "ated\020\251\021\022)\n$k_EMsgGCGetAccountDetails_DEP" + "RECATED\020\252\021\022\034\n\027k_EMsgGCInterAppMessage\020\253\021" + "\022\035\n\030k_EMsgGCGetEmailTemplate\020\254\021\022%\n k_EMs" + "gGCGetEmailTemplateResponse\020\255\021\022\023\n\016k_EMsg" + "GCHRelay\020\256\021\022\033\n\026k_EMsgGCHRelayToClient\020\257\021" + "\022\033\n\026k_EMsgGCHUpdateSession\020\260\021\022\"\n\035k_EMsgG" + "CHRequestUpdateSession\020\261\021\022\033\n\026k_EMsgGCHRe" + "questStatus\020\262\021\022#\n\036k_EMsgGCHRequestStatus" + "Response\020\263\021\022$\n\037k_EMsgGCHAccountVacStatus" + "Change\020\264\021\022\025\n\020k_EMsgGCHSpawnGC\020\265\021\022\035\n\030k_EM" + "sgGCHSpawnGCResponse\020\266\021\022\024\n\017k_EMsgGCHKill" + "GC\020\267\021\022\034\n\027k_EMsgGCHKillGCResponse\020\270\021\022)\n$k" + "_EMsgGCHAccountTradeBanStatusChange\020\271\021\022%" + "\n k_EMsgGCHAccountLockStatusChange\020\272\021\022#\n" + "\036k_EMsgGCHVacVerificationChange\020\273\021\022&\n!k_" + "EMsgGCHAccountPhoneNumberChange\020\274\021\022$\n\037k_" + "EMsgGCHAccountTwoFactorChange\020\275\021\022\037\n\032k_EM" + "sgGCHInviteUserToLobby\020\276\021\022$\n\037k_EMsgGCHUp" + "dateMultipleSessions\020\277\021\022*\n%k_EMsgGCHMark" + "AppSessionsAuthoritative\020\300\021\022/\n*k_EMsgGCH" + "RecurringSubscriptionStatusChange\020\301\021\022\037\n\032" + "k_EMsgGCHAppCheersReceived\020\302\021\022&\n!k_EMsgG" + "CHAppCheersGetAllowedTypes\020\303\021\022.\n)k_EMsgG" + "CHAppCheersGetAllowedTypesResponse\020\304\021\022\022\n" + "\rk_EMsgBaseP2P\020\304\023\022\037\n\032k_EMsgP2PIntroducer" + "Message\020\306\023\022\021\n\014k_EMsgBaseSM\020\324\026\022\034\n\027k_EMsgS" + "MExpensiveReport\020\326\026\022\031\n\024k_EMsgSMHourlyRep" + "ort\020\327\026\022\035\n\030k_EMsgSMPartitionRenames\020\331\026\022\031\n" + "\024k_EMsgSMMonitorSpace\020\332\026\022*\n%k_EMsgSMTest" + "NextBuildSchemaConversion\020\333\026\0222\n-k_EMsgSM" + "TestNextBuildSchemaConversionResponse\020\334\026" + "\022\023\n\016k_EMsgBaseTest\020\270\027\022\025\n\020k_EMsgFailServe" + "r\020\270\027\022\033\n\026k_EMsgJobHeartbeatTest\020\271\027\022#\n\036k_E" + "MsgJobHeartbeatTestResponse\020\272\027\022\027\n\022k_EMsg" + "BaseFTSRange\020\234\030\022\027\n\022k_EMsgBaseCCSRange\020\316\030" + "\022\'\n\"k_EMsgCCSDeleteAllCommentsByAuthor\020\331" + "\030\022/\n*k_EMsgCCSDeleteAllCommentsByAuthorR" + "esponse\020\332\030\022\027\n\022k_EMsgBaseLBSRange\020\200\031\022\026\n\021k" + "_EMsgLBSSetScore\020\201\031\022\036\n\031k_EMsgLBSSetScore" + "Response\020\202\031\022\034\n\027k_EMsgLBSFindOrCreateLB\020\203" + "\031\022$\n\037k_EMsgLBSFindOrCreateLBResponse\020\204\031\022" + "\032\n\025k_EMsgLBSGetLBEntries\020\205\031\022\"\n\035k_EMsgLBS" + "GetLBEntriesResponse\020\206\031\022\027\n\022k_EMsgLBSGetL" + "BList\020\207\031\022\037\n\032k_EMsgLBSGetLBListResponse\020\210" + "\031\022\032\n\025k_EMsgLBSSetLBDetails\020\211\031\022\026\n\021k_EMsgL" + "BSDeleteLB\020\212\031\022\033\n\026k_EMsgLBSDeleteLBEntry\020" + "\213\031\022\025\n\020k_EMsgLBSResetLB\020\214\031\022\035\n\030k_EMsgLBSRe" + "setLBResponse\020\215\031\022\036\n\031k_EMsgLBSDeleteLBRes" + "ponse\020\216\031\022\022\n\rk_EMsgBaseOGS\020\310\032\022\032\n\025k_EMsgOG" + "SBeginSession\020\311\032\022\"\n\035k_EMsgOGSBeginSessio" + "nResponse\020\312\032\022\030\n\023k_EMsgOGSEndSession\020\313\032\022 " + "\n\033k_EMsgOGSEndSessionResponse\020\314\032\022 \n\033k_EM" + "sgOGSWriteAppSessionRow\020\316\032\022\022\n\rk_EMsgBase" + "BRP\020\220\034\022 \n\033k_EMsgBRPPostTransactionTax\020\255\034" + "\022(\n#k_EMsgBRPPostTransactionTaxResponse\020" + "\256\034\022\027\n\022k_EMsgBaseAMRange2\020\240\037\022\027\n\022k_EMsgAMC" + "reateChat\020\241\037\022\037\n\032k_EMsgAMCreateChatRespon" + "se\020\242\037\022\032\n\025k_EMsgAMSetProfileURL\020\245\037\022#\n\036k_E" + "MsgAMGetAccountEmailAddress\020\246\037\022+\n&k_EMsg" + "AMGetAccountEmailAddressResponse\020\247\037\022\034\n\027k" + "_EMsgAMRequestClanData\020\250\037\022\033\n\026k_EMsgAMRou" + "teToClients\020\251\037\022\026\n\021k_EMsgAMLeaveClan\020\252\037\022\034" + "\n\027k_EMsgAMClanPermissions\020\253\037\022$\n\037k_EMsgAM" + "ClanPermissionsResponse\020\254\037\0220\n+k_EMsgAMCr" + "eateClanEventDummyForRateLimiting\020\255\037\0220\n+" + "k_EMsgAMUpdateClanEventDummyForRateLimit" + "ing\020\257\037\022&\n!k_EMsgAMSetClanPermissionSetti" + "ngs\020\265\037\022.\n)k_EMsgAMSetClanPermissionSetti" + "ngsResponse\020\266\037\022&\n!k_EMsgAMGetClanPermiss" + "ionSettings\020\267\037\022.\n)k_EMsgAMGetClanPermiss" + "ionSettingsResponse\020\270\037\022 \n\033k_EMsgAMPublis" + "hChatRoomInfo\020\271\037\022\035\n\030k_EMsgClientChatRoom" + "Info\020\272\037\022\033\n\026k_EMsgAMGetClanHistory\020\307\037\022#\n\036" + "k_EMsgAMGetClanHistoryResponse\020\310\037\022\"\n\035k_E" + "MsgAMGetClanPermissionBits\020\311\037\022*\n%k_EMsgA" + "MGetClanPermissionBitsResponse\020\312\037\022\"\n\035k_E" + "MsgAMSetClanPermissionBits\020\313\037\022*\n%k_EMsgA" + "MSetClanPermissionBitsResponse\020\314\037\022\037\n\032k_E" + "MsgAMSessionInfoRequest\020\315\037\022 \n\033k_EMsgAMSe" + "ssionInfoResponse\020\316\037\022\034\n\027k_EMsgAMValidate" + "WGToken\020\317\037\022\030\n\023k_EMsgAMGetClanRank\020\322\037\022 \n\033" + "k_EMsgAMGetClanRankResponse\020\323\037\022\030\n\023k_EMsg" + "AMSetClanRank\020\324\037\022 \n\033k_EMsgAMSetClanRankR" + "esponse\020\325\037\022\030\n\023k_EMsgAMGetClanPOTW\020\326\037\022 \n\033" + "k_EMsgAMGetClanPOTWResponse\020\327\037\022\030\n\023k_EMsg" + "AMSetClanPOTW\020\330\037\022 \n\033k_EMsgAMSetClanPOTWR" + "esponse\020\331\037\022\025\n\020k_EMsgAMDumpUser\020\333\037\022\035\n\030k_E" + "MsgAMKickUserFromClan\020\334\037\022\035\n\030k_EMsgAMAddF" + "ounderToClan\020\335\037\022$\n\037k_EMsgAMValidateWGTok" + "enResponse\020\336\037\022\036\n\031k_EMsgAMSetAccountDetai" + "ls\020\340\037\022\033\n\026k_EMsgAMGetChatBanList\020\341\037\022#\n\036k_" + "EMsgAMGetChatBanListResponse\020\342\037\022\032\n\025k_EMs" + "gAMUnBanFromChat\020\343\037\022\033\n\026k_EMsgAMSetClanDe" + "tails\020\344\037\022\036\n\031k_EMsgUGSGetUserGameStats\020\351\037" + "\022&\n!k_EMsgUGSGetUserGameStatsResponse\020\352\037" + "\022 \n\033k_EMsgAMCheckClanMembership\020\353\037\022\033\n\026k_" + "EMsgAMGetClanMembers\020\354\037\022#\n\036k_EMsgAMGetCl" + "anMembersResponse\020\355\037\022#\n\036k_EMsgAMNotifyCh" + "atOfClanChange\020\357\037\022\035\n\030k_EMsgAMResubmitPur" + "chase\020\360\037\022\026\n\021k_EMsgAMAddFriend\020\361\037\022\036\n\031k_EM" + "sgAMAddFriendResponse\020\362\037\022\031\n\024k_EMsgAMRemo" + "veFriend\020\363\037\022\025\n\020k_EMsgAMDumpClan\020\364\037\022\034\n\027k_" + "EMsgAMChangeClanOwner\020\365\037\022\036\n\031k_EMsgAMCanc" + "elEasyCollect\020\366\037\022&\n!k_EMsgAMCancelEasyCo" + "llectResponse\020\367\037\022\032\n\025k_EMsgAMClansInCommo" + "n\020\372\037\022\"\n\035k_EMsgAMClansInCommonResponse\020\373\037" + "\022\035\n\030k_EMsgAMIsValidAccountID\020\374\037\022\034\n\027k_EMs" + "gAMWipeFriendsList\020\377\037\022\027\n\022k_EMsgAMSetIgno" + "red\020\200 \022\'\n\"k_EMsgAMClansInCommonCountResp" + "onse\020\201 \022\030\n\023k_EMsgAMFriendsList\020\202 \022 \n\033k_E" + "MsgAMFriendsListResponse\020\203 \022\034\n\027k_EMsgAMF" + "riendsInCommon\020\204 \022$\n\037k_EMsgAMFriendsInCo" + "mmonResponse\020\205 \022)\n$k_EMsgAMFriendsInComm" + "onCountResponse\020\206 \022\037\n\032k_EMsgAMClansInCom" + "monCount\020\207 \022\035\n\030k_EMsgAMChallengeVerdict\020" + "\210 \022\"\n\035k_EMsgAMChallengeNotification\020\211 \022\027" + "\n\022k_EMsgAMFindGSByIP\020\212 \022\030\n\023k_EMsgAMFound" + "GSByIP\020\213 \022\030\n\023k_EMsgAMGiftRevoked\020\214 \022\031\n\024k" + "_EMsgAMUserClanList\020\216 \022!\n\034k_EMsgAMUserCl" + "anListResponse\020\217 \022\037\n\032k_EMsgAMGetAccountD" + "etails2\020\220 \022\'\n\"k_EMsgAMGetAccountDetailsR" + "esponse2\020\221 \022(\n#k_EMsgAMSetCommunityProfi" + "leSettings\020\222 \0220\n+k_EMsgAMSetCommunityPro" + "fileSettingsResponse\020\223 \022%\n k_EMsgAMGetCo" + "mmunityPrivacyState\020\224 \022-\n(k_EMsgAMGetCom" + "munityPrivacyStateResponse\020\225 \022(\n#k_EMsgA" + "MCheckClanInviteRateLimiting\020\226 \022&\n!k_EMs" + "gUGSGetUserAchievementStatus\020\227 \022\027\n\022k_EMs" + "gAMGetIgnored\020\230 \022\037\n\032k_EMsgAMGetIgnoredRe" + "sponse\020\231 \022\037\n\032k_EMsgAMSetIgnoredResponse\020" + "\232 \022&\n!k_EMsgAMSetFriendRelationshipNone\020" + "\233 \022\"\n\035k_EMsgAMGetFriendRelationship\020\234 \022*" + "\n%k_EMsgAMGetFriendRelationshipResponse\020" + "\235 \022 \n\033k_EMsgAMServiceModulesCache\020\236 \022\037\n\032" + "k_EMsgAMServiceModulesCall\020\237 \022\'\n\"k_EMsgA" + "MServiceModulesCallResponse\020\240 \022!\n\034k_EMsg" + "CommunityAddFriendNews\020\254 \022\031\n\024k_EMsgAMFin" + "dClanUser\020\257 \022!\n\034k_EMsgAMFindClanUserResp" + "onse\020\260 \022\030\n\023k_EMsgAMBanFromChat\020\261 \022%\n k_E" + "MsgAMGetUserNewsSubscriptions\020\263 \022-\n(k_EM" + "sgAMGetUserNewsSubscriptionsResponse\020\264 \022" + "%\n k_EMsgAMSetUserNewsSubscriptions\020\265 \022\035" + "\n\030k_EMsgAMSendQueuedEmails\020\270 \022\034\n\027k_EMsgA" + "MSetLicenseFlags\020\271 \022\"\n\035k_EMsgCommunityDe" + "leteUserNews\020\273 \022\"\n\035k_EMsgAMAllowUserFile" + "sRequest\020\274 \022#\n\036k_EMsgAMAllowUserFilesRes" + "ponse\020\275 \022\035\n\030k_EMsgAMGetAccountStatus\020\276 \022" + "%\n k_EMsgAMGetAccountStatusResponse\020\277 \022\032" + "\n\025k_EMsgAMEditBanReason\020\300 \022(\n#k_EMsgAMCh" + "eckClanMembershipResponse\020\301 \022$\n\037k_EMsgAM" + "ProbeClanMembershipList\020\302 \022,\n\'k_EMsgAMPr" + "obeClanMembershipListResponse\020\303 \022.\n)k_EM" + "sgUGSGetUserAchievementStatusResponse\020\304 " + "\022\036\n\031k_EMsgAMGetFriendsLobbies\020\305 \022&\n!k_EM" + "sgAMGetFriendsLobbiesResponse\020\306 \022&\n!k_EM" + "sgAMGetUserFriendNewsResponse\020\314 \022%\n k_EM" + "sgCommunityGetUserFriendNews\020\315 \022%\n k_EMs" + "gAMGetUserClansNewsResponse\020\316 \022\035\n\030k_EMsg" + "AMGetUserClansNews\020\317 \022!\n\034k_EMsgAMGetPrev" + "iousCBAccount\020\330 \022)\n$k_EMsgAMGetPreviousC" + "BAccountResponse\020\331 \022\"\n\035k_EMsgAMGetUserLi" + "censeHistory\020\336 \022*\n%k_EMsgAMGetUserLicens" + "eHistoryResponse\020\337 \022\"\n\035k_EMsgAMSupportCh" + "angePassword\020\342 \022\037\n\032k_EMsgAMSupportChange" + "Email\020\343 \022(\n#k_EMsgAMResetUserVerificatio" + "nGSByIP\020\345 \022\036\n\031k_EMsgAMUpdateGSPlayStats\020" + "\346 \022#\n\036k_EMsgAMSupportEnableOrDisable\020\347 \022" + "\036\n\031k_EMsgAMGetPurchaseStatus\020\356 \022$\n\037k_EMs" + "gAMSupportIsAccountEnabled\020\361 \022,\n\'k_EMsgA" + "MSupportIsAccountEnabledResponse\020\362 \022\032\n\025k" + "_EMsgUGSGetUserStats\020\363 \022\025\n\020k_EMsgAMGSSea" + "rch\020\365 \022!\n\034k_EMsgMarketingMessageUpdate\020\370" + " \022#\n\036k_EMsgChatServerRouteFriendMsg\020\373 \022(" + "\n#k_EMsgAMTicketAuthRequestOrResponse\020\374 " + "\022\033\n\026k_EMsgAMAddFreeLicense\020\200!\022\036\n\031k_EMsgA" + "MValidateEmailLink\020\207!\022&\n!k_EMsgAMValidat" + "eEmailLinkResponse\020\210!\022\034\n\027k_EMsgUGSStoreU" + "serStats\020\214!\022\035\n\030k_EMsgAMDeleteStoredCard\020" + "\221!\022!\n\034k_EMsgAMRevokeLegacyGameKeys\020\222!\022\035\n" + "\030k_EMsgAMGetWalletDetails\020\224!\022%\n k_EMsgAM" + "GetWalletDetailsResponse\020\225!\022$\n\037k_EMsgAMD" + "eleteStoredPaymentInfo\020\226!\022$\n\037k_EMsgAMGet" + "StoredPaymentSummary\020\227!\022,\n\'k_EMsgAMGetSt" + "oredPaymentSummaryResponse\020\230!\022$\n\037k_EMsgA" + "MGetWalletConversionRate\020\231!\022,\n\'k_EMsgAMG" + "etWalletConversionRateResponse\020\232!\022\032\n\025k_E" + "MsgAMConvertWallet\020\233!\022\"\n\035k_EMsgAMConvert" + "WalletResponse\020\234!\022\033\n\026k_EMsgAMSetPreAppro" + "val\020\237!\022#\n\036k_EMsgAMSetPreApprovalResponse" + "\020\240!\022\031\n\024k_EMsgAMCreateRefund\020\242!\022\035\n\030k_EMsg" + "AMCreateChargeback\020\244!\022\032\n\025k_EMsgAMCreateD" + "ispute\020\246!\022\031\n\024k_EMsgAMClearDispute\020\250!\022&\n!" + "k_EMsgAMCreateFinancialAdjustment\020\251!\022\037\n\032" + "k_EMsgAMPlayerNicknameList\020\252!\022\'\n\"k_EMsgA" + "MPlayerNicknameListResponse\020\253!\022\035\n\030k_EMsg" + "AMSetDRMTestConfig\020\254!\022#\n\036k_EMsgAMGetUser" + "CurrentGameInfo\020\255!\022+\n&k_EMsgAMGetUserCur" + "rentGameInfoResponse\020\256!\022\034\n\027k_EMsgAMGetGS" + "PlayerList\020\257!\022$\n\037k_EMsgAMGetGSPlayerList" + "Response\020\260!\022\"\n\035k_EMsgAMGetSteamIDForMicr" + "oTxn\020\266!\022*\n%k_EMsgAMGetSteamIDForMicroTxn" + "Response\020\267!\022\035\n\030k_EMsgAMSetPartnerMember\020" + "\270!\022 \n\033k_EMsgAMRemovePublisherUser\020\271!\022\037\n\032" + "k_EMsgAMGetUserLicenseList\020\272!\022\'\n\"k_EMsgA" + "MGetUserLicenseListResponse\020\273!\022\"\n\035k_EMsg" + "AMReloadGameGroupPolicy\020\274!\022#\n\036k_EMsgAMAd" + "dFreeLicenseResponse\020\275!\022\034\n\027k_EMsgAMVACSt" + "atusUpdate\020\276!\022\036\n\031k_EMsgAMGetAccountDetai" + "ls\020\277!\022&\n!k_EMsgAMGetAccountDetailsRespon" + "se\020\300!\022!\n\034k_EMsgAMGetPlayerLinkDetails\020\301!" + "\022)\n$k_EMsgAMGetPlayerLinkDetailsResponse" + "\020\302!\022)\n$k_EMsgAMGetAccountFlagsForWGSpoof" + "ing\020\306!\0221\n,k_EMsgAMGetAccountFlagsForWGSp" + "oofingResponse\020\307!\022\034\n\027k_EMsgAMGetClanOffi" + "cers\020\312!\022$\n\037k_EMsgAMGetClanOfficersRespon" + "se\020\313!\022\027\n\022k_EMsgAMNameChange\020\314!\022\033\n\026k_EMsg" + "AMGetNameHistory\020\315!\022#\n\036k_EMsgAMGetNameHi" + "storyResponse\020\316!\022!\n\034k_EMsgAMUpdateProvid" + "erStatus\020\321!\022)\n$k_EMsgAMSupportRemoveAcco" + "untSecurity\020\323!\022*\n%k_EMsgAMIsAccountInCap" + "tchaGracePeriod\020\324!\0222\n-k_EMsgAMIsAccountI" + "nCaptchaGracePeriodResponse\020\325!\022\035\n\030k_EMsg" + "AMAccountPS3Unlink\020\326!\022%\n k_EMsgAMAccount" + "PS3UnlinkResponse\020\327!\022$\n\037k_EMsgUGSStoreUs" + "erStatsResponse\020\330!\022\036\n\031k_EMsgAMGetAccount" + "PSNInfo\020\331!\022&\n!k_EMsgAMGetAccountPSNInfoR" + "esponse\020\332!\022$\n\037k_EMsgAMAuthenticatedPlaye" + "rList\020\333!\022\031\n\024k_EMsgAMGetUserGifts\020\334!\022!\n\034k" + "_EMsgAMGetUserGiftsResponse\020\335!\022 \n\033k_EMsg" + "AMTransferLockedGifts\020\340!\022(\n#k_EMsgAMTran" + "sferLockedGiftsResponse\020\341!\022%\n k_EMsgAMPl" + "ayerHostedOnGameServer\020\342!\022\036\n\031k_EMsgAMGet" + "AccountBanInfo\020\343!\022&\n!k_EMsgAMGetAccountB" + "anInfoResponse\020\344!\022!\n\034k_EMsgAMRecordBanEn" + "forcement\020\345!\022!\n\034k_EMsgAMRollbackGiftTran" + "sfer\020\346!\022)\n$k_EMsgAMRollbackGiftTransferR" + "esponse\020\347!\022%\n k_EMsgAMHandlePendingTrans" + "action\020\350!\022\037\n\032k_EMsgAMRequestClanDetails\020" + "\351!\022(\n#k_EMsgAMDeleteStoredPaypalAgreemen" + "t\020\352!\022\035\n\030k_EMsgAMGameServerUpdate\020\353!\022\035\n\030k" + "_EMsgAMGameServerRemove\020\354!\022 \n\033k_EMsgAMGe" + "tPaypalAgreements\020\355!\022(\n#k_EMsgAMGetPaypa" + "lAgreementsResponse\020\356!\022/\n*k_EMsgAMGameSe" + "rverPlayerCompatibilityCheck\020\357!\0227\n2k_EMs" + "gAMGameServerPlayerCompatibilityCheckRes" + "ponse\020\360!\022\031\n\024k_EMsgAMRenewLicense\020\361!\022\'\n\"k" + "_EMsgAMGetAccountCommunityBanInfo\020\362!\022/\n*" + "k_EMsgAMGetAccountCommunityBanInfoRespon" + "se\020\363!\022,\n\'k_EMsgAMGameServerAccountChange" + "Password\020\364!\022+\n&k_EMsgAMGameServerAccount" + "DeleteAccount\020\365!\022\033\n\026k_EMsgAMRenewAgreeme" + "nt\020\366!\022\032\n\025k_EMsgAMXsollaPayment\020\370!\022\"\n\035k_E" + "MsgAMXsollaPaymentResponse\020\371!\022\"\n\035k_EMsgA" + "MAcctAllowedToPurchase\020\372!\022*\n%k_EMsgAMAcc" + "tAllowedToPurchaseResponse\020\373!\022\035\n\030k_EMsgA" + "MSwapKioskDeposit\020\374!\022%\n k_EMsgAMSwapKios" + "kDepositResponse\020\375!\022\037\n\032k_EMsgAMSetUserGi" + "ftUnowned\020\376!\022\'\n\"k_EMsgAMSetUserGiftUnown" + "edResponse\020\377!\022!\n\034k_EMsgAMClaimUnownedUse" + "rGift\020\200\"\022)\n$k_EMsgAMClaimUnownedUserGift" + "Response\020\201\"\022\030\n\023k_EMsgAMSetClanName\020\202\"\022 \n" + "\033k_EMsgAMSetClanNameResponse\020\203\"\022\030\n\023k_EMs" + "gAMGrantCoupon\020\204\"\022 \n\033k_EMsgAMGrantCoupon" + "Response\020\205\"\022-\n(k_EMsgAMIsPackageRestrict" + "edInUserCountry\020\206\"\0225\n0k_EMsgAMIsPackageR" + "estrictedInUserCountryResponse\020\207\"\022-\n(k_E" + "MsgAMHandlePendingTransactionResponse\020\210\"" + "\022\036\n\031k_EMsgAMGrantGuestPasses2\020\211\"\022&\n!k_EM" + "sgAMGrantGuestPasses2Response\020\212\"\022 \n\033k_EM" + "sgAMGetPlayerBanDetails\020\215\"\022(\n#k_EMsgAMGe" + "tPlayerBanDetailsResponse\020\216\"\022\035\n\030k_EMsgAM" + "FinalizePurchase\020\217\"\022%\n k_EMsgAMFinalizeP" + "urchaseResponse\020\220\"\022\"\n\035k_EMsgAMPersonaCha" + "ngeResponse\020\224\"\022+\n&k_EMsgAMGetClanDetails" + "ForForumCreation\020\225\"\0223\n.k_EMsgAMGetClanDe" + "tailsForForumCreationResponse\020\226\"\022(\n#k_EM" + "sgAMGetPendingNotificationCount\020\227\"\0220\n+k_" + "EMsgAMGetPendingNotificationCountRespons" + "e\020\230\"\022 \n\033k_EMsgAMPasswordHashUpgrade\020\231\"\022\035" + "\n\030k_EMsgAMBoaCompraPayment\020\234\"\022%\n k_EMsgA" + "MBoaCompraPaymentResponse\020\235\"\022%\n k_EMsgAM" + "CompleteExternalPurchase\020\237\"\022-\n(k_EMsgAMC" + "ompleteExternalPurchaseResponse\020\240\"\022)\n$k_" + "EMsgAMResolveNegativeWalletCredits\020\241\"\0221\n" + ",k_EMsgAMResolveNegativeWalletCreditsRes" + "ponse\020\242\"\022&\n!k_EMsgAMPlayerGetClanBasicDe" + "tails\020\245\"\022.\n)k_EMsgAMPlayerGetClanBasicDe" + "tailsResponse\020\246\"\022\027\n\022k_EMsgAMMOLPayment\020\247" + "\"\022\037\n\032k_EMsgAMMOLPaymentResponse\020\250\"\022\033\n\026k_" + "EMsgGetUserIPCountry\020\251\"\022#\n\036k_EMsgGetUser" + "IPCountryResponse\020\252\"\022+\n&k_EMsgNotificati" + "onOfSuspiciousActivity\020\253\"\022\032\n\025k_EMsgAMDeg" + "icaPayment\020\254\"\022\"\n\035k_EMsgAMDegicaPaymentRe" + "sponse\020\255\"\022\031\n\024k_EMsgAMEClubPayment\020\256\"\022!\n\034" + "k_EMsgAMEClubPaymentResponse\020\257\"\022%\n k_EMs" + "gAMPayPalPaymentsHubPayment\020\260\"\022-\n(k_EMsg" + "AMPayPalPaymentsHubPaymentResponse\020\261\"\0221\n" + ",k_EMsgAMTwoFactorRecoverAuthenticatorRe" + "quest\020\262\"\0222\n-k_EMsgAMTwoFactorRecoverAuth" + "enticatorResponse\020\263\"\022\035\n\030k_EMsgAMSmart2Pa" + "yPayment\020\264\"\022%\n k_EMsgAMSmart2PayPaymentR" + "esponse\020\265\"\0227\n2k_EMsgAMValidatePasswordRe" + "setCodeAndSendSmsRequest\020\266\"\0228\n3k_EMsgAMV" + "alidatePasswordResetCodeAndSendSmsRespon" + "se\020\267\"\022*\n%k_EMsgAMGetAccountResetDetailsR" + "equest\020\270\"\022+\n&k_EMsgAMGetAccountResetDeta" + "ilsResponse\020\271\"\022\032\n\025k_EMsgAMBitPayPayment\020" + "\272\"\022\"\n\035k_EMsgAMBitPayPaymentResponse\020\273\"\022\"" + "\n\035k_EMsgAMSendAccountInfoUpdate\020\274\"\022\036\n\031k_" + "EMsgAMSendScheduledGift\020\275\"\022\032\n\025k_EMsgAMNo" + "dwinPayment\020\276\"\022\"\n\035k_EMsgAMNodwinPaymentR" + "esponse\020\277\"\022 \n\033k_EMsgAMResolveWalletRevok" + "e\020\300\"\022\'\n\"k_EMsgAMResolveWalletReverseRevo" + "ke\020\301\"\022\032\n\025k_EMsgAMFundedPayment\020\302\"\022\"\n\035k_E" + "MsgAMFundedPaymentResponse\020\303\"\022.\n)k_EMsgA" + "MRequestPersonaUpdateForChatServer\020\304\"\022 \n" + "\033k_EMsgAMPerfectWorldPayment\020\305\"\022(\n#k_EMs" + "gAMPerfectWorldPaymentResponse\020\306\"\022\034\n\027k_E" + "MsgAMECommPayPayment\020\307\"\022$\n\037k_EMsgAMEComm" + "PayPaymentResponse\020\310\"\022\026\n\021k_EMsgBasePSRan" + "ge\020\210\'\022\037\n\032k_EMsgPSCreateShoppingCart\020\211\'\022\'" + "\n\"k_EMsgPSCreateShoppingCartResponse\020\212\'\022" + " \n\033k_EMsgPSIsValidShoppingCart\020\213\'\022(\n#k_E" + "MsgPSIsValidShoppingCartResponse\020\214\'\022+\n&k" + "_EMsgPSRemoveLineItemFromShoppingCart\020\217\'" + "\0223\n.k_EMsgPSRemoveLineItemFromShoppingCa" + "rtResponse\020\220\'\022$\n\037k_EMsgPSGetShoppingCart" + "Contents\020\221\'\022,\n\'k_EMsgPSGetShoppingCartCo" + "ntentsResponse\020\222\'\022*\n%k_EMsgPSAddWalletCr" + "editToShoppingCart\020\223\'\0222\n-k_EMsgPSAddWall" + "etCreditToShoppingCartResponse\020\224\'\022\027\n\022k_E" + "MsgBaseUFSRange\020\320(\022%\n k_EMsgClientUFSUpl" + "oadFileRequest\020\322(\022&\n!k_EMsgClientUFSUplo" + "adFileResponse\020\323(\022#\n\036k_EMsgClientUFSUplo" + "adFileChunk\020\324(\022&\n!k_EMsgClientUFSUploadF" + "ileFinished\020\325(\022%\n k_EMsgClientUFSGetFile" + "ListForApp\020\326(\022-\n(k_EMsgClientUFSGetFileL" + "istForAppResponse\020\327(\022#\n\036k_EMsgClientUFSD" + "ownloadRequest\020\332(\022$\n\037k_EMsgClientUFSDown" + "loadResponse\020\333(\022!\n\034k_EMsgClientUFSDownlo" + "adChunk\020\334(\022 \n\033k_EMsgClientUFSLoginReques" + "t\020\335(\022!\n\034k_EMsgClientUFSLoginResponse\020\336(\022" + "!\n\034k_EMsgUFSReloadPartitionInfo\020\337(\022%\n k_" + "EMsgClientUFSTransferHeartbeat\020\340(\022\035\n\030k_E" + "MsgUFSSynchronizeFile\020\341(\022%\n k_EMsgUFSSyn" + "chronizeFileResponse\020\342(\022%\n k_EMsgClientU" + "FSDeleteFileRequest\020\343(\022&\n!k_EMsgClientUF" + "SDeleteFileResponse\020\344(\022!\n\034k_EMsgClientUF" + "SGetUGCDetails\020\352(\022)\n$k_EMsgClientUFSGetU" + "GCDetailsResponse\020\353(\022\035\n\030k_EMsgUFSUpdateF" + "ileFlags\020\354(\022%\n k_EMsgUFSUpdateFileFlagsR" + "esponse\020\355(\022%\n k_EMsgClientUFSGetSingleFi" + "leInfo\020\356(\022-\n(k_EMsgClientUFSGetSingleFil" + "eInfoResponse\020\357(\022\035\n\030k_EMsgClientUFSShare" + "File\020\360(\022%\n k_EMsgClientUFSShareFileRespo" + "nse\020\361(\022\033\n\026k_EMsgUFSReloadAccount\020\362(\022#\n\036k" + "_EMsgUFSReloadAccountResponse\020\363(\022!\n\034k_EM" + "sgUFSUpdateRecordBatched\020\364(\022)\n$k_EMsgUFS" + "UpdateRecordBatchedResponse\020\365(\022\031\n\024k_EMsg" + "UFSMigrateFile\020\366(\022!\n\034k_EMsgUFSMigrateFil" + "eResponse\020\367(\022\030\n\023k_EMsgUFSGetUGCURLs\020\370(\022 " + "\n\033k_EMsgUFSGetUGCURLsResponse\020\371(\022)\n$k_EM" + "sgUFSHttpUploadFileFinishRequest\020\372(\022*\n%k" + "_EMsgUFSHttpUploadFileFinishResponse\020\373(\022" + "\"\n\035k_EMsgUFSDownloadStartRequest\020\374(\022#\n\036k" + "_EMsgUFSDownloadStartResponse\020\375(\022\"\n\035k_EM" + "sgUFSDownloadChunkRequest\020\376(\022#\n\036k_EMsgUF" + "SDownloadChunkResponse\020\377(\022#\n\036k_EMsgUFSDo" + "wnloadFinishRequest\020\200)\022$\n\037k_EMsgUFSDownl" + "oadFinishResponse\020\201)\022\033\n\026k_EMsgUFSFlushUR" + "LCache\020\202)\022 \n\033k_EMsgClientUFSUploadCommit" + "\020\203)\022(\n#k_EMsgClientUFSUploadCommitRespon" + "se\020\204)\022\036\n\031k_EMsgUFSMigrateFileAppID\020\205)\022&\n" + "!k_EMsgUFSMigrateFileAppIDResponse\020\206)\022\026\n" + "\021k_EMsgBaseClient2\020\230*\022.\n)k_EMsgClientReq" + "uestForgottenPasswordEmail\020\231*\0226\n1k_EMsgC" + "lientRequestForgottenPasswordEmailRespon" + "se\020\232*\022&\n!k_EMsgClientCreateAccountRespon" + "se\020\233*\022\'\n\"k_EMsgClientResetForgottenPassw" + "ord\020\234*\022/\n*k_EMsgClientResetForgottenPass" + "wordResponse\020\235*\022/\n*k_EMsgClientInformOfR" + "esetForgottenPassword\020\237*\0227\n2k_EMsgClient" + "InformOfResetForgottenPasswordResponse\020\240" + "*\022)\n$k_EMsgClientAnonUserLogOn_Deprecate" + "d\020\241*\022(\n#k_EMsgClientGamesPlayedWithDataB" + "lob\020\242*\022#\n\036k_EMsgClientUpdateUserGameInfo" + "\020\243*\022\037\n\032k_EMsgClientFileToDownload\020\244*\022\'\n\"" + "k_EMsgClientFileToDownloadResponse\020\245*\022\034\n" + "\027k_EMsgClientLBSSetScore\020\246*\022$\n\037k_EMsgCli" + "entLBSSetScoreResponse\020\247*\022\"\n\035k_EMsgClien" + "tLBSFindOrCreateLB\020\250*\022*\n%k_EMsgClientLBS" + "FindOrCreateLBResponse\020\251*\022 \n\033k_EMsgClien" + "tLBSGetLBEntries\020\252*\022(\n#k_EMsgClientLBSGe" + "tLBEntriesResponse\020\253*\022\035\n\030k_EMsgClientCha" + "tDeclined\020\262*\022\"\n\035k_EMsgClientFriendMsgInc" + "oming\020\263*\022$\n\037k_EMsgClientAuthList_Depreca" + "ted\020\264*\022#\n\036k_EMsgClientTicketAuthComplete" + "\020\265*\022!\n\034k_EMsgClientIsLimitedAccount\020\266*\022 " + "\n\033k_EMsgClientRequestAuthList\020\267*\022\031\n\024k_EM" + "sgClientAuthList\020\270*\022\025\n\020k_EMsgClientStat\020" + "\271*\022\"\n\035k_EMsgClientP2PConnectionInfo\020\272*\022&" + "\n!k_EMsgClientP2PConnectionFailInfo\020\273*\022&" + "\n!k_EMsgClientGetDepotDecryptionKey\020\276*\022." + "\n)k_EMsgClientGetDepotDecryptionKeyRespo" + "nse\020\277*\022\"\n\035k_EMsgGSPerformHardwareSurvey\020" + "\300*\022\"\n\035k_EMsgClientEnableTestLicense\020\303*\022*" + "\n%k_EMsgClientEnableTestLicenseResponse\020" + "\304*\022#\n\036k_EMsgClientDisableTestLicense\020\305*\022" + "+\n&k_EMsgClientDisableTestLicenseRespons" + "e\020\306*\022&\n!k_EMsgClientRequestValidationMai" + "l\020\310*\022.\n)k_EMsgClientRequestValidationMai" + "lResponse\020\311*\022%\n k_EMsgClientCheckAppBeta" + "Password\020\312*\022-\n(k_EMsgClientCheckAppBetaP" + "asswordResponse\020\313*\022\025\n\020k_EMsgClientToGC\020\314" + "*\022\027\n\022k_EMsgClientFromGC\020\315*\022\036\n\031k_EMsgClie" + "ntEmailAddrInfo\020\320*\022 \n\033k_EMsgClientPasswo" + "rdChange3\020\321*\022\035\n\030k_EMsgClientEmailChange3" + "\020\322*\022\"\n\035k_EMsgClientPersonalQAChange3\020\323*\022" + "(\n#k_EMsgClientResetForgottenPassword3\020\324" + "*\022/\n*k_EMsgClientRequestForgottenPasswor" + "dEmail3\020\325*\022\034\n\027k_EMsgClientNewLoginKey\020\327*" + "\022$\n\037k_EMsgClientNewLoginKeyAccepted\020\330*\022)" + "\n$k_EMsgClientLogOnWithHash_Deprecated\020\331" + "*\022 \n\033k_EMsgClientStoreUserStats2\020\332*\022\035\n\030k" + "_EMsgClientStatsUpdated\020\333*\022#\n\036k_EMsgClie" + "ntActivateOEMLicense\020\334*\022#\n\036k_EMsgClientR" + "egisterOEMMachine\020\335*\022+\n&k_EMsgClientRegi" + "sterOEMMachineResponse\020\336*\022%\n k_EMsgClien" + "tRequestedClientStats\020\350*\022\033\n\026k_EMsgClient" + "Stat2Int32\020\351*\022\026\n\021k_EMsgClientStat2\020\352*\022\037\n" + "\032k_EMsgClientVerifyPassword\020\353*\022\'\n\"k_EMsg" + "ClientVerifyPasswordResponse\020\354*\022#\n\036k_EMs" + "gClientDRMDownloadRequest\020\355*\022$\n\037k_EMsgCl" + "ientDRMDownloadResponse\020\356*\022\037\n\032k_EMsgClie" + "ntDRMFinalResult\020\357*\022&\n!k_EMsgClientGetFr" + "iendsWhoPlayGame\020\360*\022.\n)k_EMsgClientGetFr" + "iendsWhoPlayGameResponse\020\361*\022 \n\033k_EMsgCli" + "entOGSBeginSession\020\362*\022(\n#k_EMsgClientOGS" + "BeginSessionResponse\020\363*\022\036\n\031k_EMsgClientO" + "GSEndSession\020\364*\022&\n!k_EMsgClientOGSEndSes" + "sionResponse\020\365*\022\034\n\027k_EMsgClientOGSWriteR" + "ow\020\366*\022\030\n\023k_EMsgClientDRMTest\020\367*\022\036\n\031k_EMs" + "gClientDRMTestResult\020\370*\022\"\n\035k_EMsgClientS" + "erverUnavailable\020\374*\022!\n\034k_EMsgClientServe" + "rsAvailable\020\375*\022)\n$k_EMsgClientRegisterAu" + "thTicketWithCM\020\376*\022\034\n\027k_EMsgClientGCMsgFa" + "iled\020\377*\022$\n\037k_EMsgClientMicroTxnAuthReque" + "st\020\200+\022\"\n\035k_EMsgClientMicroTxnAuthorize\020\201" + "+\022*\n%k_EMsgClientMicroTxnAuthorizeRespon" + "se\020\202+\022 \n\033k_EMsgClientGetMicroTxnInfo\020\204+\022" + "(\n#k_EMsgClientGetMicroTxnInfoResponse\020\205" + "+\022(\n#k_EMsgClientMarketingMessageUpdate2" + "\020\206+\022%\n k_EMsgClientDeregisterWithServer\020" + "\207+\022\'\n\"k_EMsgClientSubscribeToPersonaFeed" + "\020\210+\022\026\n\021k_EMsgClientLogon\020\212+\022!\n\034k_EMsgCli" + "entGetClientDetails\020\213+\022)\n$k_EMsgClientGe" + "tClientDetailsResponse\020\214+\022+\n&k_EMsgClien" + "tReportOverlayDetourFailure\020\215+\022!\n\034k_EMsg" + "ClientGetClientAppList\020\216+\022)\n$k_EMsgClien" + "tGetClientAppListResponse\020\217+\022!\n\034k_EMsgCl" + "ientInstallClientApp\020\220+\022)\n$k_EMsgClientI" + "nstallClientAppResponse\020\221+\022#\n\036k_EMsgClie" + "ntUninstallClientApp\020\222+\022+\n&k_EMsgClientU" + "ninstallClientAppResponse\020\223+\022(\n#k_EMsgCl" + "ientSetClientAppUpdateState\020\224+\0220\n+k_EMsg" + "ClientSetClientAppUpdateStateResponse\020\225+" + "\022*\n%k_EMsgClientRequestEncryptedAppTicke" + "t\020\226+\0222\n-k_EMsgClientRequestEncryptedAppT" + "icketResponse\020\227+\022!\n\034k_EMsgClientWalletIn" + "foUpdate\020\230+\022\032\n\025k_EMsgClientLBSSetUGC\020\231+\022" + "\"\n\035k_EMsgClientLBSSetUGCResponse\020\232+\022\"\n\035k" + "_EMsgClientAMGetClanOfficers\020\233+\022*\n%k_EMs" + "gClientAMGetClanOfficersResponse\020\234+\022\"\n\035k" + "_EMsgClientFriendProfileInfo\020\237+\022*\n%k_EMs" + "gClientFriendProfileInfoResponse\020\240+\022\"\n\035k" + "_EMsgClientUpdateMachineAuth\020\241+\022*\n%k_EMs" + "gClientUpdateMachineAuthResponse\020\242+\022 \n\033k" + "_EMsgClientReadMachineAuth\020\243+\022(\n#k_EMsgC" + "lientReadMachineAuthResponse\020\244+\022#\n\036k_EMs" + "gClientRequestMachineAuth\020\245+\022+\n&k_EMsgCl" + "ientRequestMachineAuthResponse\020\246+\022#\n\036k_E" + "MsgClientScreenshotsChanged\020\247+\022 \n\033k_EMsg" + "ClientGetCDNAuthToken\020\252+\022(\n#k_EMsgClient" + "GetCDNAuthTokenResponse\020\253+\022\'\n\"k_EMsgClie" + "ntDownloadRateStatistics\020\254+\022#\n\036k_EMsgCli" + "entRequestAccountData\020\255+\022+\n&k_EMsgClient" + "RequestAccountDataResponse\020\256+\022(\n#k_EMsgC" + "lientResetForgottenPassword4\020\257+\022\033\n\026k_EMs" + "gClientHideFriend\020\260+\022\"\n\035k_EMsgClientFrie" + "ndsGroupsList\020\261+\022&\n!k_EMsgClientGetClanA" + "ctivityCounts\020\262+\022.\n)k_EMsgClientGetClanA" + "ctivityCountsResponse\020\263+\022 \n\033k_EMsgClient" + "OGSReportString\020\264+\022\035\n\030k_EMsgClientOGSRep" + "ortBug\020\265+\022\031\n\024k_EMsgClientSentLogs\020\266+\022 \n\033" + "k_EMsgClientLogonGameServer\020\267+\022%\n k_EMsg" + "AMClientCreateFriendsGroup\020\270+\022-\n(k_EMsgA" + "MClientCreateFriendsGroupResponse\020\271+\022%\n " + "k_EMsgAMClientDeleteFriendsGroup\020\272+\022-\n(k" + "_EMsgAMClientDeleteFriendsGroupResponse\020" + "\273+\022%\n k_EMsgAMClientManageFriendsGroup\020\274" + "+\022-\n(k_EMsgAMClientManageFriendsGroupRes" + "ponse\020\275+\022#\n\036k_EMsgAMClientAddFriendToGro" + "up\020\276+\022+\n&k_EMsgAMClientAddFriendToGroupR" + "esponse\020\277+\022(\n#k_EMsgAMClientRemoveFriend" + "FromGroup\020\300+\0220\n+k_EMsgAMClientRemoveFrie" + "ndFromGroupResponse\020\301+\022(\n#k_EMsgClientAM" + "GetPersonaNameHistory\020\302+\0220\n+k_EMsgClient" + "AMGetPersonaNameHistoryResponse\020\303+\022#\n\036k_" + "EMsgClientRequestFreeLicense\020\304+\022+\n&k_EMs" + "gClientRequestFreeLicenseResponse\020\305+\0220\n+" + "k_EMsgClientDRMDownloadRequestWithCrashD" + "ata\020\306+\022\034\n\027k_EMsgClientAuthListAck\020\307+\022\"\n\035" + "k_EMsgClientItemAnnouncements\020\310+\022)\n$k_EM" + "sgClientRequestItemAnnouncements\020\311+\022&\n!k" + "_EMsgClientFriendMsgEchoToSender\020\312+\022%\n k" + "_EMsgClientCommentNotifications\020\316+\022,\n\'k_" + "EMsgClientRequestCommentNotifications\020\317+" + "\022&\n!k_EMsgClientPersonaChangeResponse\020\320+" + "\0223\n.k_EMsgClientRequestWebAPIAuthenticat" + "eUserNonce\020\321+\022;\n6k_EMsgClientRequestWebA" + "PIAuthenticateUserNonceResponse\020\322+\022#\n\036k_" + "EMsgClientPlayerNicknameList\020\323+\022$\n\037k_EMs" + "gAMClientSetPlayerNickname\020\324+\022,\n\'k_EMsgA" + "MClientSetPlayerNicknameResponse\020\325+\022,\n\'k" + "_EMsgClientGetNumberOfCurrentPlayersDP\020\330" + "+\0224\n/k_EMsgClientGetNumberOfCurrentPlaye" + "rsDPResponse\020\331+\022$\n\037k_EMsgClientServiceMe" + "thodLegacy\020\332+\022,\n\'k_EMsgClientServiceMeth" + "odLegacyResponse\020\333+\022*\n%k_EMsgClientFrien" + "dUserStatusPublished\020\334+\022\036\n\031k_EMsgClientC" + "urrentUIMode\020\335+\022-\n(k_EMsgClientVanityURL" + "ChangedNotification\020\336+\022\"\n\035k_EMsgClientUs" + "erNotifications\020\337+\022\022\n\rk_EMsgBaseDFS\020\340+\022\025" + "\n\020k_EMsgDFSGetFile\020\341+\022\036\n\031k_EMsgDFSInstal" + "lLocalFile\020\342+\022\030\n\023k_EMsgDFSConnection\020\343+\022" + "\035\n\030k_EMsgDFSConnectionReply\020\344+\022\'\n\"k_EMsg" + "ClientDFSAuthenticateRequest\020\345+\022(\n#k_EMs" + "gClientDFSAuthenticateResponse\020\346+\022\036\n\031k_E" + "MsgClientDFSEndSession\020\347+\022\027\n\022k_EMsgDFSPu" + "rgeFile\020\350+\022\027\n\022k_EMsgDFSRouteFile\020\351+\022\037\n\032k" + "_EMsgDFSGetFileFromServer\020\352+\022\036\n\031k_EMsgDF" + "SAcceptedResponse\020\353+\022\035\n\030k_EMsgDFSRequest" + "Pingback\020\354+\022\036\n\031k_EMsgDFSRecvTransmitFile" + "\020\355+\022\036\n\031k_EMsgDFSSendTransmitFile\020\356+\022\036\n\031k" + "_EMsgDFSRequestPingback2\020\357+\022\037\n\032k_EMsgDFS" + "ResponsePingback2\020\360+\022\"\n\035k_EMsgClientDFSD" + "ownloadStatus\020\361+\022\033\n\026k_EMsgDFSStartTransf" + "er\020\362+\022\036\n\031k_EMsgDFSTransferComplete\020\363+\022\037\n" + "\032k_EMsgDFSRouteFileResponse\020\364+\022&\n!k_EMsg" + "ClientNetworkingCertRequest\020\365+\022.\n)k_EMsg" + "ClientNetworkingCertRequestResponse\020\366+\022!" + "\n\034k_EMsgClientChallengeRequest\020\367+\022\"\n\035k_E" + "MsgClientChallengeResponse\020\370+\022#\n\036k_EMsgB" + "adgeCraftedNotification\020\371+\022,\n\'k_EMsgClie" + "ntNetworkingMobileCertRequest\020\372+\0224\n/k_EM" + "sgClientNetworkingMobileCertRequestRespo" + "nse\020\373+\022\022\n\rk_EMsgBaseMDS\020\250-\022#\n\036k_EMsgMDSG" + "etDepotDecryptionKey\020\264-\022+\n&k_EMsgMDSGetD" + "epotDecryptionKeyResponse\020\265-\022(\n#k_EMsgMD" + "SContentServerConfigRequest\020\303-\022!\n\034k_EMsg" + "MDSContentServerConfig\020\304-\022\036\n\031k_EMsgMDSGe" + "tDepotManifest\020\305-\022&\n!k_EMsgMDSGetDepotMa" + "nifestResponse\020\306-\022#\n\036k_EMsgMDSGetDepotMa" + "nifestChunk\020\307-\022\033\n\026k_EMsgMDSGetDepotChunk" + "\020\310-\022#\n\036k_EMsgMDSGetDepotChunkResponse\020\311-" + "\022 \n\033k_EMsgMDSGetDepotChunkChunk\020\312-\022\034\n\027k_" + "EMsgMDSToCSFlushChunk\020\324-\022\032\n\025k_EMsgMDSMig" + "rateChunk\020\327-\022\"\n\035k_EMsgMDSMigrateChunkRes" + "ponse\020\330-\022\037\n\032k_EMsgMDSToCSFlushManifest\020\331" + "-\022\021\n\014k_EMsgCSBase\020\2700\022\021\n\014k_EMsgCSPing\020\2710\022" + "\031\n\024k_EMsgCSPingResponse\020\2720\022\022\n\rk_EMsgGMSB" + "ase\020\2002\022!\n\034k_EMsgGMSGameServerReplicate\020\201" + "2\022\037\n\032k_EMsgClientGMSServerQuery\020\2032\022\'\n\"k_" + "EMsgGMSClientServerQueryResponse\020\2042\022 \n\033k" + "_EMsgAMGMSGameServerUpdate\020\2052\022 \n\033k_EMsgA" + "MGMSGameServerRemove\020\2062\022\036\n\031k_EMsgGameSer" + "verOutOfDate\020\2072\022\"\n\035k_EMsgDeviceAuthoriza" + "tionBase\020\3442\022,\n\'k_EMsgClientAuthorizeLoca" + "lDeviceRequest\020\3452\022-\n(k_EMsgClientAuthori" + "zeLocalDeviceResponse\020\3462\022)\n$k_EMsgClient" + "DeauthorizeDeviceRequest\020\3472\022\"\n\035k_EMsgCli" + "entDeauthorizeDevice\020\3502\022-\n(k_EMsgClientU" + "seLocalDeviceAuthorizations\020\3512\022%\n k_EMsg" + "ClientGetAuthorizedDevices\020\3522\022-\n(k_EMsgC" + "lientGetAuthorizedDevicesResponse\020\3532\022*\n%" + "k_EMsgAMNotifySessionDeviceAuthorized\020\3542" + "\0221\n,k_EMsgClientAuthorizeLocalDeviceNoti" + "fication\020\3552\022\022\n\rk_EMsgMMSBase\020\3103\022\037\n\032k_EMs" + "gClientMMSCreateLobby\020\3113\022\'\n\"k_EMsgClient" + "MMSCreateLobbyResponse\020\3123\022\035\n\030k_EMsgClien" + "tMMSJoinLobby\020\3133\022%\n k_EMsgClientMMSJoinL" + "obbyResponse\020\3143\022\036\n\031k_EMsgClientMMSLeaveL" + "obby\020\3153\022&\n!k_EMsgClientMMSLeaveLobbyResp" + "onse\020\3163\022 \n\033k_EMsgClientMMSGetLobbyList\020\317" + "3\022(\n#k_EMsgClientMMSGetLobbyListResponse" + "\020\3203\022 \n\033k_EMsgClientMMSSetLobbyData\020\3213\022(\n" + "#k_EMsgClientMMSSetLobbyDataResponse\020\3223\022" + " \n\033k_EMsgClientMMSGetLobbyData\020\3233\022\035\n\030k_E" + "MsgClientMMSLobbyData\020\3243\022$\n\037k_EMsgClient" + "MMSSendLobbyChatMsg\020\3253\022 \n\033k_EMsgClientMM" + "SLobbyChatMsg\020\3263\022!\n\034k_EMsgClientMMSSetLo" + "bbyOwner\020\3273\022)\n$k_EMsgClientMMSSetLobbyOw" + "nerResponse\020\3303\022&\n!k_EMsgClientMMSSetLobb" + "yGameServer\020\3313\022&\n!k_EMsgClientMMSLobbyGa" + "meServerSet\020\3323\022#\n\036k_EMsgClientMMSUserJoi" + "nedLobby\020\3333\022!\n\034k_EMsgClientMMSUserLeftLo" + "bby\020\3343\022!\n\034k_EMsgClientMMSInviteToLobby\020\335" + "3\022)\n$k_EMsgClientMMSFlushFrenemyListCach" + "e\020\3363\0221\n,k_EMsgClientMMSFlushFrenemyListC" + "acheResponse\020\3373\022\"\n\035k_EMsgClientMMSSetLob" + "byLinked\020\3403\022.\n)k_EMsgClientMMSSetRatelim" + "itPolicyOnClient\020\3413\022\"\n\035k_EMsgClientMMSGe" + "tLobbyStatus\020\3423\022*\n%k_EMsgClientMMSGetLob" + "byStatusResponse\020\3433\022\032\n\025k_EMsgMMSGetLobby" + "List\020\3443\022\"\n\035k_EMsgMMSGetLobbyListResponse" + "\020\3453\022\030\n\023k_EMsgNonStdMsgBase\020\2205\022\035\n\030k_EMsgN" + "onStdMsgMemcached\020\2215\022\036\n\031k_EMsgNonStdMsgH" + "TTPServer\020\2225\022\036\n\031k_EMsgNonStdMsgHTTPClien" + "t\020\2235\022\036\n\031k_EMsgNonStdMsgWGResponse\020\2245\022 \n\033" + "k_EMsgNonStdMsgPHPSimulator\020\2255\022\031\n\024k_EMsg" + "NonStdMsgChase\020\2265\022\037\n\032k_EMsgNonStdMsgDFST" + "ransfer\020\2275\022\031\n\024k_EMsgNonStdMsgTests\020\2305\022\037\n" + "\032k_EMsgNonStdMsgUMQpipeAAPL\020\2315\022\032\n\025k_EMSg" + "NonStdMsgSyslog\020\2325\022\033\n\026k_EMsgNonStdMsgLog" + "sink\020\2335\022\"\n\035k_EMsgNonStdMsgSteam2Emulator" + "\020\2345\022\036\n\031k_EMsgNonStdMsgRTMPServer\020\2355\022\035\n\030k" + "_EMsgNonStdMsgWebSocket\020\2365\022\031\n\024k_EMsgNonS" + "tdMsgRedis\020\2375\022\022\n\rk_EMsgUDSBase\020\3306\022%\n k_E" + "MsgClientUDSP2PSessionStarted\020\3316\022#\n\036k_EM" + "sgClientUDSP2PSessionEnded\020\3326\022\034\n\027k_EMsgU" + "DSRenderUserAuth\020\3336\022$\n\037k_EMsgUDSRenderUs" + "erAuthResponse\020\3346\022\035\n\030k_EMsgClientInviteT" + "oGame\020\3356\022\030\n\023k_EMsgUDSHasSession\020\3366\022 \n\033k_" + "EMsgUDSHasSessionResponse\020\3376\022\023\n\016k_EMsgMP" + "ASBase\020\2747\022\032\n\025k_EMsgMPASVacBanReset\020\2757\022\022\n" + "\rk_EMsgKGSBase\020\2408\022\022\n\rk_EMsgUCMBase\020\2049\022!\n" + "\034k_EMsgClientUCMAddScreenshot\020\2059\022)\n$k_EM" + "sgClientUCMAddScreenshotResponse\020\2069\022#\n\036k" + "_EMsgUCMResetCommunityContent\020\2139\022+\n&k_EM" + "sgUCMResetCommunityContentResponse\020\2149\022$\n" + "\037k_EMsgClientUCMDeleteScreenshot\020\2159\022,\n\'k" + "_EMsgClientUCMDeleteScreenshotResponse\020\216" + "9\022\037\n\032k_EMsgClientUCMPublishFile\020\2179\022\'\n\"k_" + "EMsgClientUCMPublishFileResponse\020\2209\022\'\n\"k" + "_EMsgClientUCMDeletePublishedFile\020\2239\022/\n*" + "k_EMsgClientUCMDeletePublishedFileRespon" + "se\020\2249\022\'\n\"k_EMsgClientUCMUpdatePublishedF" + "ile\020\2359\022/\n*k_EMsgClientUCMUpdatePublished" + "FileResponse\020\2369\022!\n\034k_EMsgUCMUpdatePublis" + "hedFile\020\2379\022)\n$k_EMsgUCMUpdatePublishedFi" + "leResponse\020\2409\022!\n\034k_EMsgUCMDeletePublishe" + "dFile\020\2419\022)\n$k_EMsgUCMDeletePublishedFile" + "Response\020\2429\022%\n k_EMsgUCMUpdatePublishedF" + "ileStat\020\2439\022!\n\034k_EMsgUCMReloadPublishedFi" + "le\020\2519\022&\n!k_EMsgUCMReloadUserFileListCach" + "es\020\2529\022#\n\036k_EMsgUCMPublishedFileReported\020" + "\2539\022%\n k_EMsgUCMPublishedFilePreviewAdd\020\255" + "9\022-\n(k_EMsgUCMPublishedFilePreviewAddRes" + "ponse\020\2569\022(\n#k_EMsgUCMPublishedFilePrevie" + "wRemove\020\2579\0220\n+k_EMsgUCMPublishedFilePrev" + "iewRemoveResponse\020\2609\022%\n k_EMsgUCMPublish" + "edFileSubscribed\020\2659\022\'\n\"k_EMsgUCMPublishe" + "dFileUnsubscribed\020\2669\022\031\n\024k_EMsgUCMPublish" + "File\020\2679\022!\n\034k_EMsgUCMPublishFileResponse\020" + "\2709\022#\n\036k_EMsgUCMPublishedFileChildAdd\020\2719\022" + "+\n&k_EMsgUCMPublishedFileChildAddRespons" + "e\020\2729\022&\n!k_EMsgUCMPublishedFileChildRemov" + "e\020\2739\022.\n)k_EMsgUCMPublishedFileChildRemov" + "eResponse\020\2749\022(\n#k_EMsgUCMPublishedFilePa" + "rentChanged\020\2779\022.\n)k_EMsgClientUCMSetUser" + "PublishedFileAction\020\3049\0226\n1k_EMsgClientUC" + "MSetUserPublishedFileActionResponse\020\3059\0227" + "\n2k_EMsgClientUCMEnumeratePublishedFiles" + "ByUserAction\020\3069\022\?\n:k_EMsgClientUCMEnumer" + "atePublishedFilesByUserActionResponse\020\3079" + "\022$\n\037k_EMsgUCMGetUserSubscribedFiles\020\3119\022," + "\n\'k_EMsgUCMGetUserSubscribedFilesRespons" + "e\020\3129\022#\n\036k_EMsgUCMFixStatsPublishedFile\020\313" + "9\022;\n6k_EMsgClientUCMEnumerateUserSubscri" + "bedFilesWithUpdates\020\3229\022C\n>k_EMsgClientUC" + "MEnumerateUserSubscribedFilesWithUpdates" + "Response\020\3239\022)\n$k_EMsgUCMPublishedFileCon" + "tentUpdated\020\3249\022(\n#k_EMsgClientUCMPublish" + "edFileUpdated\020\3259\022+\n&k_EMsgClientWorkshop" + "ItemChangesRequest\020\3269\022,\n\'k_EMsgClientWor" + "kshopItemChangesResponse\020\3279\022\021\n\014k_EMsgFSB" + "ase\020\314:\022#\n\036k_EMsgClientRichPresenceUpload" + "\020\315:\022$\n\037k_EMsgClientRichPresenceRequest\020\316" + ":\022!\n\034k_EMsgClientRichPresenceInfo\020\317:\022 \n\033" + "k_EMsgFSRichPresenceRequest\020\320:\022!\n\034k_EMsg" + "FSRichPresenceResponse\020\321:\022\037\n\032k_EMsgFSCom" + "puteFrenematrix\020\322:\022\'\n\"k_EMsgFSComputeFre" + "nematrixResponse\020\323:\022#\n\036k_EMsgFSPlayStatu" + "sNotification\020\324:\022 \n\033k_EMsgFSAddOrRemoveF" + "ollower\020\326:\022(\n#k_EMsgFSAddOrRemoveFollowe" + "rResponse\020\327:\022 \n\033k_EMsgFSUpdateFollowingL" + "ist\020\330:\022 \n\033k_EMsgFSCommentNotification\020\331:" + "\022&\n!k_EMsgFSCommentNotificationViewed\020\332:" + "\022#\n\036k_EMsgClientFSGetFollowerCount\020\333:\022+\n" + "&k_EMsgClientFSGetFollowerCountResponse\020" + "\334:\022!\n\034k_EMsgClientFSGetIsFollowing\020\335:\022)\n" + "$k_EMsgClientFSGetIsFollowingResponse\020\336:" + "\022)\n$k_EMsgClientFSEnumerateFollowingList" + "\020\337:\0221\n,k_EMsgClientFSEnumerateFollowingL" + "istResponse\020\340:\022(\n#k_EMsgFSGetPendingNoti" + "ficationCount\020\341:\0220\n+k_EMsgFSGetPendingNo" + "tificationCountResponse\020\342:\022/\n*k_EMsgClie" + "ntChatOfflineMessageNotification\020\343:\022/\n*k" + "_EMsgClientChatRequestOfflineMessageCoun" + "t\020\344:\022,\n\'k_EMsgClientChatGetFriendMessage" + "History\020\345:\0224\n/k_EMsgClientChatGetFriendM" + "essageHistoryResponse\020\346:\022>\n9k_EMsgClient" + "ChatGetFriendMessageHistoryForOfflineMes" + "sages\020\347:\022(\n#k_EMsgClientFSGetFriendsStea" + "mLevels\020\350:\0220\n+k_EMsgClientFSGetFriendsSt" + "eamLevelsResponse\020\351:\022\036\n\031k_EMsgAMRequestF" + "riendData\020\352:\022\024\n\017k_EMsgDRMRange2\020\260;\022,\n\'k_" + "EMsgCEGVersionSetEnableDisableRequest\020\260;" + "\022-\n(k_EMsgCEGVersionSetEnableDisableResp" + "onse\020\261;\022#\n\036k_EMsgCEGPropStatusDRMSReques" + "t\020\262;\022$\n\037k_EMsgCEGPropStatusDRMSResponse\020" + "\263;\022\'\n\"k_EMsgCEGWhackFailureReportRequest" + "\020\264;\022(\n#k_EMsgCEGWhackFailureReportRespon" + "se\020\265;\022\036\n\031k_EMsgDRMSFetchVersionSet\020\266;\022&\n" + "!k_EMsgDRMSFetchVersionSetResponse\020\267;\022\023\n" + "\016k_EMsgEconBase\020\224<\022+\n&k_EMsgEconTrading_" + "InitiateTradeRequest\020\225<\022,\n\'k_EMsgEconTra" + "ding_InitiateTradeProposed\020\226<\022,\n\'k_EMsgE" + "conTrading_InitiateTradeResponse\020\227<\022*\n%k" + "_EMsgEconTrading_InitiateTradeResult\020\230<\022" + "#\n\036k_EMsgEconTrading_StartSession\020\231<\022)\n$" + "k_EMsgEconTrading_CancelTradeRequest\020\232<\022" + "\"\n\035k_EMsgEconFlushInventoryCache\020\233<\022*\n%k" + "_EMsgEconFlushInventoryCacheResponse\020\234<\022" + "&\n!k_EMsgEconCDKeyProcessTransaction\020\237<\022" + ".\n)k_EMsgEconCDKeyProcessTransactionResp" + "onse\020\240<\022\033\n\026k_EMsgEconGetErrorLogs\020\241<\022#\n\036" + "k_EMsgEconGetErrorLogsResponse\020\242<\022\022\n\rk_E" + "MsgRMRange\020\370<\022\034\n\027k_EMsgRMTestVerisignOTP" + "\020\370<\022$\n\037k_EMsgRMTestVerisignOTPResponse\020\371" + "<\022 \n\033k_EMsgRMDeleteMemcachedKeys\020\373<\022\031\n\024k" + "_EMsgRMRemoteInvoke\020\374<\022\031\n\024k_EMsgBadLogin" + "IPList\020\375<\022\037\n\032k_EMsgRMMsgTraceAddTrigger\020" + "\376<\022\"\n\035k_EMsgRMMsgTraceRemoveTrigger\020\377<\022\032" + "\n\025k_EMsgRMMsgTraceEvent\020\200=\022\022\n\rk_EMsgUGSB" + "ase\020\334=\022\037\n\032k_EMsgUGSUpdateGlobalStats\020\334=\022" + "\"\n\035k_EMsgClientUGSGetGlobalStats\020\335=\022*\n%k" + "_EMsgClientUGSGetGlobalStatsResponse\020\336=\022" + "\024\n\017k_EMsgStoreBase\020\300>\022\022\n\rk_EMsgUMQBase\020\244" + "\?\022\032\n\025k_EMsgUMQLogonRequest\020\244\?\022\033\n\026k_EMsgU" + "MQLogonResponse\020\245\?\022\033\n\026k_EMsgUMQLogoffReq" + "uest\020\246\?\022\034\n\027k_EMsgUMQLogoffResponse\020\247\?\022\035\n" + "\030k_EMsgUMQSendChatMessage\020\250\?\022!\n\034k_EMsgUM" + "QIncomingChatMessage\020\251\?\022\022\n\rk_EMsgUMQPoll" + "\020\252\?\022\031\n\024k_EMsgUMQPollResults\020\253\?\022 \n\033k_EMsg" + "UMQ2AM_ClientMsgBatch\020\254\?\022\027\n\022k_EMsgWorksh" + "opBase\020\210@\022\025\n\020k_EMsgWebAPIBase\020\354@\022$\n\037k_EM" + "sgWebAPIValidateOAuth2Token\020\354@\022,\n\'k_EMsg" + "WebAPIValidateOAuth2TokenResponse\020\355@\022%\n " + "k_EMsgWebAPIRegisterGCInterfaces\020\357@\022+\n&k" + "_EMsgWebAPIInvalidateOAuthClientCache\020\360@" + "\022*\n%k_EMsgWebAPIInvalidateOAuthTokenCach" + "e\020\361@\022\033\n\026k_EMsgWebAPISetSecrets\020\362@\022\027\n\022k_E" + "MsgBackpackBase\020\320A\022 \n\033k_EMsgBackpackAddT" + "oCurrency\020\321A\022(\n#k_EMsgBackpackAddToCurre" + "ncyResponse\020\322A\022\022\n\rk_EMsgCREBase\020\264B\022\035\n\030k_" + "EMsgCREItemVoteSummary\020\267B\022%\n k_EMsgCREIt" + "emVoteSummaryResponse\020\270B\022)\n$k_EMsgCREUpd" + "ateUserPublishedItemVote\020\273B\0221\n,k_EMsgCRE" + "UpdateUserPublishedItemVoteResponse\020\274B\022-" + "\n(k_EMsgCREGetUserPublishedItemVoteDetai" + "ls\020\275B\0225\n0k_EMsgCREGetUserPublishedItemVo" + "teDetailsResponse\020\276B\022\026\n\021k_EMsgSecretsBas" + "e\020\230C\022\'\n\"k_EMsgSecretsRequestCredentialPa" + "ir\020\230C\022(\n#k_EMsgSecretsCredentialPairResp" + "onse\020\231C\022\031\n\024k_EMsgBoxMonitorBase\020\374C\022\"\n\035k_" + "EMsgBoxMonitorReportRequest\020\374C\022#\n\036k_EMsg" + "BoxMonitorReportResponse\020\375C\022\026\n\021k_EMsgLog" + "sinkBase\020\340D\022\035\n\030k_EMsgLogsinkWriteReport\020" + "\340D\022\023\n\016k_EMsgPICSBase\020\304E\022(\n#k_EMsgClientP" + "ICSChangesSinceRequest\020\305E\022)\n$k_EMsgClien" + "tPICSChangesSinceResponse\020\306E\022\'\n\"k_EMsgCl" + "ientPICSProductInfoRequest\020\307E\022(\n#k_EMsgC" + "lientPICSProductInfoResponse\020\310E\022\'\n\"k_EMs" + "gClientPICSAccessTokenRequest\020\311E\022(\n#k_EM" + "sgClientPICSAccessTokenResponse\020\312E\022\030\n\023k_" + "EMsgWorkerProcess\020\250F\022#\n\036k_EMsgWorkerProc" + "essPingRequest\020\250F\022$\n\037k_EMsgWorkerProcess" + "PingResponse\020\251F\022 \n\033k_EMsgWorkerProcessSh" + "utdown\020\252F\022\033\n\026k_EMsgDRMWorkerProcess\020\214G\022%" + "\n k_EMsgDRMWorkerProcessDRMAndSign\020\214G\022-\n" + "(k_EMsgDRMWorkerProcessDRMAndSignRespons" + "e\020\215G\0220\n+k_EMsgDRMWorkerProcessSteamworks" + "InfoRequest\020\216G\0221\n,k_EMsgDRMWorkerProcess" + "SteamworksInfoResponse\020\217G\022/\n*k_EMsgDRMWo" + "rkerProcessInstallDRMDLLRequest\020\220G\0220\n+k_" + "EMsgDRMWorkerProcessInstallDRMDLLRespons" + "e\020\221G\0220\n+k_EMsgDRMWorkerProcessSecretIdSt" + "ringRequest\020\222G\0221\n,k_EMsgDRMWorkerProcess" + "SecretIdStringResponse\020\223G\0227\n2k_EMsgDRMWo" + "rkerProcessInstallProcessedFilesRequest\020" + "\226G\0228\n3k_EMsgDRMWorkerProcessInstallProce" + "ssedFilesResponse\020\227G\022-\n(k_EMsgDRMWorkerP" + "rocessExamineBlobRequest\020\230G\022.\n)k_EMsgDRM" + "WorkerProcessExamineBlobResponse\020\231G\0220\n+k" + "_EMsgDRMWorkerProcessDescribeSecretReque" + "st\020\232G\0221\n,k_EMsgDRMWorkerProcessDescribeS" + "ecretResponse\020\233G\0222\n-k_EMsgDRMWorkerProce" + "ssBackfillOriginalRequest\020\234G\0223\n.k_EMsgDR" + "MWorkerProcessBackfillOriginalResponse\020\235" + "G\0220\n+k_EMsgDRMWorkerProcessValidateDRMDL" + "LRequest\020\236G\0221\n,k_EMsgDRMWorkerProcessVal" + "idateDRMDLLResponse\020\237G\022.\n)k_EMsgDRMWorke" + "rProcessValidateFileRequest\020\240G\022/\n*k_EMsg" + "DRMWorkerProcessValidateFileResponse\020\241G\022" + "1\n,k_EMsgDRMWorkerProcessSplitAndInstall" + "Request\020\242G\0222\n-k_EMsgDRMWorkerProcessSpli" + "tAndInstallResponse\020\243G\022)\n$k_EMsgDRMWorke" + "rProcessGetBlobRequest\020\244G\022*\n%k_EMsgDRMWo" + "rkerProcessGetBlobResponse\020\245G\022/\n*k_EMsgD" + "RMWorkerProcessEvaluateCrashRequest\020\246G\0220" + "\n+k_EMsgDRMWorkerProcessEvaluateCrashRes" + "ponse\020\247G\022-\n(k_EMsgDRMWorkerProcessAnalyz" + "eFileRequest\020\250G\022.\n)k_EMsgDRMWorkerProces" + "sAnalyzeFileResponse\020\251G\022,\n\'k_EMsgDRMWork" + "erProcessUnpackBlobRequest\020\252G\022-\n(k_EMsgD" + "RMWorkerProcessUnpackBlobResponse\020\253G\022,\n\'" + "k_EMsgDRMWorkerProcessInstallAllRequest\020" + "\254G\022-\n(k_EMsgDRMWorkerProcessInstallAllRe" + "sponse\020\255G\022\034\n\027k_EMsgTestWorkerProcess\020\360G\022" + "3\n.k_EMsgTestWorkerProcessLoadUnloadModu" + "leRequest\020\360G\0224\n/k_EMsgTestWorkerProcessL" + "oadUnloadModuleResponse\020\361G\0224\n/k_EMsgTest" + "WorkerProcessServiceModuleCallRequest\020\362G" + "\0225\n0k_EMsgTestWorkerProcessServiceModule" + "CallResponse\020\363G\022\032\n\025k_EMsgQuestServerBase" + "\020\324H\022 \n\033k_EMsgClientGetEmoticonList\020\362H\022\035\n" + "\030k_EMsgClientEmoticonList\020\363H\022\022\n\rk_EMsgSL" + "CBase\020\270I\022\037\n\032k_EMsgSLCUserSessionStatus\020\270" + "I\022&\n!k_EMsgSLCRequestUserSessionStatus\020\271" + "I\022&\n!k_EMsgSLCSharedLicensesLockStatus\020\272" + "I\022(\n#k_EMsgClientSharedLibraryLockStatus" + "\020\275I\022)\n$k_EMsgClientSharedLibraryStopPlay" + "ing\020\276I\022!\n\034k_EMsgSLCOwnerLibraryChanged\020\277" + "I\022\"\n\035k_EMsgSLCSharedLibraryChanged\020\300I\022\033\n" + "\026k_EMsgRemoteClientBase\020\234J\022$\n\037k_EMsgRemo" + "teClientAuth_OBSOLETE\020\234J\022,\n\'k_EMsgRemote" + "ClientAuthResponse_OBSOLETE\020\235J\022 \n\033k_EMsg" + "RemoteClientAppStatus\020\236J\022\"\n\035k_EMsgRemote" + "ClientStartStream\020\237J\022*\n%k_EMsgRemoteClie" + "ntStartStreamResponse\020\240J\022\033\n\026k_EMsgRemote" + "ClientPing\020\241J\022#\n\036k_EMsgRemoteClientPingR" + "esponse\020\242J\022 \n\033k_EMsgClientUnlockStreamin" + "g\020\243J\022(\n#k_EMsgClientUnlockStreamingRespo" + "nse\020\244J\022!\n\034k_EMsgRemoteClientAcceptEULA\020\245" + "J\022*\n%k_EMsgRemoteClientGetControllerConf" + "ig\020\246J\0222\n-k_EMsgRemoteClientGetController" + "ConfigResponse\020\247J\022\'\n\"k_EMsgRemoteClientS" + "treamingEnabled\020\250J\022\033\n\026k_EMsgClientUnlock" + "HEVC\020\251J\022#\n\036k_EMsgClientUnlockHEVCRespons" + "e\020\252J\022$\n\037k_EMsgRemoteClientStatusRequest\020" + "\253J\022%\n k_EMsgRemoteClientStatusResponse\020\254" + "J\022\'\n\"k_EMsgClientConcurrentSessionsBase\020" + "\200K\022$\n\037k_EMsgClientPlayingSessionState\020\200K" + "\022#\n\036k_EMsgClientKickPlayingSession\020\201K\022\036\n" + "\031k_EMsgClientBroadcastBase\020\344K\022\036\n\031k_EMsgC" + "lientBroadcastInit\020\344K\022 \n\033k_EMsgClientBro" + "adcastFrames\020\345K\022$\n\037k_EMsgClientBroadcast" + "Disconnect\020\346K\022$\n\037k_EMsgClientBroadcastSc" + "reenshot\020\347K\022&\n!k_EMsgClientBroadcastUplo" + "adConfig\020\350K\022\026\n\021k_EMsgBaseClient3\020\310L\022&\n!k" + "_EMsgClientVoiceCallPreAuthorize\020\310L\022.\n)k" + "_EMsgClientVoiceCallPreAuthorizeResponse" + "\020\311L\022\'\n\"k_EMsgClientServerTimestampReques" + "t\020\312L\022(\n#k_EMsgClientServerTimestampRespo" + "nse\020\313L\022/\n*k_EMsgServiceMethodCallFromCli" + "entNonAuthed\020\314L\022\026\n\021k_EMsgClientHello\020\315L\022" + "\033\n\026k_EMsgClientLANP2PBase\020\254M\022#\n\036k_EMsgCl" + "ientLANP2PRequestChunk\020\254M\022+\n&k_EMsgClien" + "tLANP2PRequestChunkResponse\020\255M\022\032\n\025k_EMsg" + "ClientLANP2PMax\020\217N\022\035\n\030k_EMsgBaseWatchdog" + "Server\020\220N\022\031\n\024k_EMsgNotifyWatchdog\020\220N\022 \n\033" + "k_EMsgClientSiteLicenseBase\020\364N\0220\n+k_EMsg" + "ClientSiteLicenseSiteInfoNotification\020\364N" + "\022$\n\037k_EMsgClientSiteLicenseCheckout\020\365N\022," + "\n\'k_EMsgClientSiteLicenseCheckoutRespons" + "e\020\366N\022-\n(k_EMsgClientSiteLicenseGetAvaila" + "bleSeats\020\367N\0225\n0k_EMsgClientSiteLicenseGe" + "tAvailableSeatsResponse\020\370N\022/\n*k_EMsgClie" + "ntSiteLicenseGetContentCacheInfo\020\371N\0227\n2k" + "_EMsgClientSiteLicenseGetContentCacheInf" + "oResponse\020\372N\022\031\n\024k_EMsgBaseChatServer\020\340]\022" + "0\n+k_EMsgChatServerGetPendingNotificatio" + "nCount\020\340]\0228\n3k_EMsgChatServerGetPendingN" + "otificationCountResponse\020\341]\022\033\n\026k_EMsgBas" + "eSecretServer\020\304^\022\036\n\031k_EMsgServerSecretCh" + "anged\020\304^\032\002\020\001*\317\004\n\027EClientPersonaStateFlag" + "\022#\n\037k_EClientPersonaStateFlagStatus\020\001\022\'\n" + "#k_EClientPersonaStateFlagPlayerName\020\002\022&" + "\n\"k_EClientPersonaStateFlagQueryPort\020\004\022%" + "\n!k_EClientPersonaStateFlagSourceID\020\010\022%\n" + "!k_EClientPersonaStateFlagPresence\020\020\022%\n!" + "k_EClientPersonaStateFlagLastSeen\020@\022*\n%k" + "_EClientPersonaStateFlagUserClanRank\020\200\001\022" + "\'\n\"k_EClientPersonaStateGameExtraInfo\020\200\002" + "\022&\n!k_EClientPersonaStateGameDataBlob\020\200\004" + "\022&\n!k_EClientPersonaStateFlagClanData\020\200\010" + "\022&\n!k_EClientPersonaStateFlagFacebook\020\200\020" + "\022*\n%k_EClientPersonaStateFlagRichPresenc" + "e\020\200 \022\'\n\"k_EClientPersonaStateFlagBroadca" + "st\020\200@\022\'\n!k_EClientPersonaStateFlagWatchi" + "ng\020\200\200\001*\271\001\n\024EMsgClanAccountFlags\022\037\n\033k_EMs" + "gClanAccountFlagPublic\020\001\022\036\n\032k_EMsgClanAc" + "countFlagLarge\020\002\022\037\n\033k_EMsgClanAccountFla" + "gLocked\020\004\022!\n\035k_EMsgClanAccountFlagDisabl" + "ed\020\010\022\034\n\030k_EMsgClanAccountFlagOGG\020\020*\220\003\n\021E" + "SteamReviewScore\022.\n*k_ESteamReviewScore_" + "OverwhelminglyPositive\020\t\022$\n k_ESteamRevi" + "ewScore_VeryPositive\020\010\022 \n\034k_ESteamReview" + "Score_Positive\020\007\022&\n\"k_ESteamReviewScore_" + "MostlyPositive\020\006\022\035\n\031k_ESteamReviewScore_" + "Mixed\020\005\022&\n\"k_ESteamReviewScore_MostlyNeg" + "ative\020\004\022 \n\034k_ESteamReviewScore_Negative\020" + "\003\022$\n k_ESteamReviewScore_VeryNegative\020\002\022" + ".\n*k_ESteamReviewScore_OverwhelminglyNeg" + "ative\020\001\022\034\n\030k_ESteamReviewScore_None\020\000B\005H" + "\001\200\001\000" + ; +static ::_pbi::once_flag descriptor_table_enums_5fclientserver_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_enums_5fclientserver_2eproto = { + false, false, 54204, descriptor_table_protodef_enums_5fclientserver_2eproto, + "enums_clientserver.proto", + &descriptor_table_enums_5fclientserver_2eproto_once, nullptr, 0, 0, + schemas, file_default_instances, TableStruct_enums_5fclientserver_2eproto::offsets, + nullptr, file_level_enum_descriptors_enums_5fclientserver_2eproto, + file_level_service_descriptors_enums_5fclientserver_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_enums_5fclientserver_2eproto_getter() { + return &descriptor_table_enums_5fclientserver_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_enums_5fclientserver_2eproto(&descriptor_table_enums_5fclientserver_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_enums_5fclientserver_2eproto); + return file_level_enum_descriptors_enums_5fclientserver_2eproto[0]; +} +bool EMsg_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 100: + case 113: + case 115: + case 120: + case 121: + case 123: + case 124: + case 126: + case 127: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + case 136: + case 137: + case 138: + case 139: + case 140: + case 141: + case 142: + case 143: + case 144: + case 145: + case 146: + case 147: + case 148: + case 149: + case 150: + case 151: + case 152: + case 200: + case 201: + case 202: + case 203: + case 204: + case 205: + case 215: + case 221: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + case 240: + case 241: + case 242: + case 243: + case 244: + case 245: + case 246: + case 247: + case 300: + case 301: + case 307: + case 308: + case 309: + case 316: + case 317: + case 318: + case 319: + case 320: + case 321: + case 322: + case 323: + case 324: + case 325: + case 326: + case 327: + case 329: + case 330: + case 331: + case 332: + case 334: + case 335: + case 336: + case 337: + case 338: + case 400: + case 402: + case 403: + case 405: + case 406: + case 423: + case 424: + case 425: + case 426: + case 429: + case 430: + case 431: + case 432: + case 433: + case 500: + case 504: + case 505: + case 508: + case 509: + case 510: + case 511: + case 512: + case 513: + case 514: + case 515: + case 516: + case 517: + case 518: + case 519: + case 522: + case 523: + case 524: + case 525: + case 526: + case 527: + case 528: + case 529: + case 530: + case 531: + case 532: + case 533: + case 534: + case 535: + case 536: + case 537: + case 538: + case 539: + case 540: + case 541: + case 542: + case 550: + case 551: + case 552: + case 553: + case 554: + case 555: + case 560: + case 561: + case 563: + case 566: + case 567: + case 568: + case 569: + case 570: + case 571: + case 572: + case 573: + case 574: + case 575: + case 576: + case 577: + case 578: + case 579: + case 580: + case 581: + case 582: + case 583: + case 584: + case 586: + case 587: + case 588: + case 589: + case 590: + case 591: + case 592: + case 593: + case 596: + case 597: + case 598: + case 600: + case 601: + case 602: + case 604: + case 605: + case 606: + case 607: + case 608: + case 609: + case 610: + case 611: + case 625: + case 628: + case 629: + case 630: + case 631: + case 633: + case 634: + case 635: + case 636: + case 637: + case 638: + case 639: + case 640: + case 641: + case 642: + case 643: + case 644: + case 645: + case 646: + case 650: + case 700: + case 701: + case 702: + case 703: + case 704: + case 705: + case 706: + case 707: + case 710: + case 712: + case 714: + case 715: + case 716: + case 717: + case 718: + case 719: + case 720: + case 721: + case 726: + case 727: + case 728: + case 730: + case 731: + case 732: + case 736: + case 738: + case 740: + case 741: + case 742: + case 743: + case 744: + case 745: + case 746: + case 747: + case 751: + case 755: + case 756: + case 757: + case 758: + case 759: + case 760: + case 763: + case 764: + case 765: + case 766: + case 767: + case 768: + case 771: + case 773: + case 774: + case 779: + case 780: + case 782: + case 783: + case 784: + case 785: + case 791: + case 792: + case 796: + case 797: + case 798: + case 799: + case 800: + case 801: + case 802: + case 803: + case 805: + case 807: + case 808: + case 809: + case 810: + case 813: + case 814: + case 815: + case 818: + case 819: + case 820: + case 821: + case 822: + case 830: + case 831: + case 832: + case 839: + case 842: + case 845: + case 846: + case 848: + case 849: + case 850: + case 851: + case 855: + case 856: + case 857: + case 858: + case 860: + case 880: + case 896: + case 897: + case 900: + case 901: + case 903: + case 905: + case 906: + case 907: + case 908: + case 909: + case 910: + case 911: + case 918: + case 919: + case 920: + case 921: + case 922: + case 923: + case 936: + case 937: + case 938: + case 939: + case 940: + case 941: + case 1000: + case 1004: + case 1005: + case 1006: + case 1010: + case 1019: + case 1020: + case 1023: + case 1024: + case 1025: + case 1026: + case 1027: + case 1028: + case 1100: + case 1101: + case 1102: + case 1103: + case 1104: + case 1105: + case 1106: + case 1107: + case 1108: + case 1109: + case 1110: + case 1111: + case 1112: + case 1114: + case 1115: + case 1116: + case 1117: + case 1118: + case 1119: + case 1120: + case 1121: + case 1122: + case 1123: + case 1124: + case 1125: + case 1126: + case 1127: + case 1128: + case 1129: + case 1130: + case 1131: + case 1132: + case 1133: + case 1134: + case 1200: + case 1201: + case 1202: + case 1203: + case 1204: + case 1300: + case 1301: + case 1302: + case 1303: + case 1304: + case 1305: + case 1400: + case 1401: + case 1402: + case 1403: + case 1404: + case 1406: + case 1408: + case 1409: + case 1410: + case 1411: + case 1417: + case 1418: + case 1421: + case 1422: + case 1425: + case 1426: + case 1427: + case 1433: + case 1434: + case 1435: + case 1437: + case 1438: + case 1440: + case 1441: + case 1445: + case 1446: + case 1448: + case 1449: + case 1450: + case 1451: + case 1452: + case 1453: + case 1454: + case 1455: + case 1456: + case 1457: + case 1458: + case 1459: + case 1460: + case 1461: + case 1462: + case 1463: + case 1464: + case 1465: + case 1468: + case 1469: + case 1470: + case 1471: + case 1472: + case 1473: + case 1474: + case 1475: + case 1476: + case 1477: + case 1478: + case 1479: + case 1480: + case 1481: + case 1482: + case 1483: + case 1484: + case 1485: + case 1486: + case 1487: + case 1494: + case 1495: + case 1496: + case 1497: + case 1498: + case 1499: + case 1500: + case 1501: + case 1502: + case 1503: + case 1504: + case 1505: + case 1506: + case 1507: + case 1508: + case 1509: + case 1510: + case 1511: + case 1512: + case 1513: + case 1514: + case 1515: + case 1516: + case 1517: + case 1518: + case 1519: + case 1600: + case 1601: + case 1603: + case 1604: + case 1607: + case 1608: + case 1612: + case 1615: + case 1616: + case 1617: + case 1620: + case 1621: + case 1622: + case 1623: + case 1624: + case 1625: + case 1627: + case 1628: + case 1629: + case 1630: + case 1631: + case 1700: + case 1701: + case 1702: + case 1703: + case 1704: + case 1705: + case 2200: + case 2203: + case 2206: + case 2207: + case 2208: + case 2209: + case 2210: + case 2212: + case 2213: + case 2216: + case 2217: + case 2218: + case 2219: + case 2220: + case 2221: + case 2222: + case 2223: + case 2224: + case 2225: + case 2226: + case 2227: + case 2228: + case 2229: + case 2230: + case 2231: + case 2232: + case 2233: + case 2234: + case 2235: + case 2236: + case 2237: + case 2238: + case 2239: + case 2240: + case 2241: + case 2242: + case 2243: + case 2244: + case 2500: + case 2502: + case 2900: + case 2902: + case 2903: + case 2905: + case 2906: + case 2907: + case 2908: + case 3000: + case 3001: + case 3002: + case 3100: + case 3150: + case 3161: + case 3162: + case 3200: + case 3201: + case 3202: + case 3203: + case 3204: + case 3205: + case 3206: + case 3207: + case 3208: + case 3209: + case 3210: + case 3211: + case 3212: + case 3213: + case 3214: + case 3400: + case 3401: + case 3402: + case 3403: + case 3404: + case 3406: + case 3600: + case 3629: + case 3630: + case 4000: + case 4001: + case 4002: + case 4005: + case 4006: + case 4007: + case 4008: + case 4009: + case 4010: + case 4011: + case 4012: + case 4013: + case 4015: + case 4021: + case 4022: + case 4023: + case 4024: + case 4025: + case 4026: + case 4039: + case 4040: + case 4041: + case 4042: + case 4043: + case 4044: + case 4045: + case 4046: + case 4047: + case 4050: + case 4051: + case 4052: + case 4053: + case 4054: + case 4055: + case 4056: + case 4057: + case 4059: + case 4060: + case 4061: + case 4062: + case 4064: + case 4065: + case 4066: + case 4067: + case 4068: + case 4073: + case 4074: + case 4075: + case 4076: + case 4077: + case 4079: + case 4080: + case 4081: + case 4082: + case 4083: + case 4084: + case 4085: + case 4086: + case 4087: + case 4090: + case 4091: + case 4092: + case 4095: + case 4096: + case 4097: + case 4098: + case 4099: + case 4100: + case 4101: + case 4102: + case 4103: + case 4104: + case 4105: + case 4106: + case 4107: + case 4108: + case 4110: + case 4111: + case 4112: + case 4113: + case 4114: + case 4115: + case 4116: + case 4117: + case 4118: + case 4119: + case 4120: + case 4121: + case 4122: + case 4123: + case 4124: + case 4125: + case 4126: + case 4127: + case 4128: + case 4140: + case 4143: + case 4144: + case 4145: + case 4147: + case 4148: + case 4149: + case 4152: + case 4153: + case 4155: + case 4156: + case 4157: + case 4158: + case 4159: + case 4160: + case 4161: + case 4162: + case 4163: + case 4164: + case 4165: + case 4166: + case 4172: + case 4173: + case 4174: + case 4175: + case 4184: + case 4185: + case 4190: + case 4191: + case 4194: + case 4195: + case 4197: + case 4198: + case 4199: + case 4206: + case 4209: + case 4210: + case 4211: + case 4213: + case 4216: + case 4219: + case 4220: + case 4224: + case 4231: + case 4232: + case 4236: + case 4241: + case 4242: + case 4244: + case 4245: + case 4246: + case 4247: + case 4248: + case 4249: + case 4250: + case 4251: + case 4252: + case 4255: + case 4256: + case 4258: + case 4260: + case 4262: + case 4264: + case 4265: + case 4266: + case 4267: + case 4268: + case 4269: + case 4270: + case 4271: + case 4272: + case 4278: + case 4279: + case 4280: + case 4281: + case 4282: + case 4283: + case 4284: + case 4285: + case 4286: + case 4287: + case 4288: + case 4289: + case 4290: + case 4294: + case 4295: + case 4298: + case 4299: + case 4300: + case 4301: + case 4302: + case 4305: + case 4307: + case 4308: + case 4309: + case 4310: + case 4311: + case 4312: + case 4313: + case 4314: + case 4315: + case 4316: + case 4317: + case 4320: + case 4321: + case 4322: + case 4323: + case 4324: + case 4325: + case 4326: + case 4327: + case 4328: + case 4329: + case 4330: + case 4331: + case 4332: + case 4333: + case 4334: + case 4335: + case 4336: + case 4337: + case 4338: + case 4339: + case 4340: + case 4341: + case 4342: + case 4344: + case 4345: + case 4346: + case 4347: + case 4348: + case 4349: + case 4350: + case 4351: + case 4352: + case 4353: + case 4354: + case 4355: + case 4356: + case 4357: + case 4358: + case 4359: + case 4360: + case 4361: + case 4362: + case 4365: + case 4366: + case 4367: + case 4368: + case 4372: + case 4373: + case 4374: + case 4375: + case 4376: + case 4377: + case 4380: + case 4381: + case 4383: + case 4384: + case 4385: + case 4386: + case 4389: + case 4390: + case 4391: + case 4392: + case 4393: + case 4394: + case 4395: + case 4396: + case 4397: + case 4398: + case 4399: + case 4400: + case 4401: + case 4402: + case 4403: + case 4404: + case 4405: + case 4406: + case 4407: + case 4408: + case 4409: + case 4410: + case 4411: + case 4412: + case 4413: + case 4414: + case 4415: + case 4416: + case 4417: + case 4418: + case 4419: + case 4420: + case 4421: + case 4422: + case 4423: + case 4424: + case 5000: + case 5001: + case 5002: + case 5003: + case 5004: + case 5007: + case 5008: + case 5009: + case 5010: + case 5011: + case 5012: + case 5200: + case 5202: + case 5203: + case 5204: + case 5205: + case 5206: + case 5207: + case 5210: + case 5211: + case 5212: + case 5213: + case 5214: + case 5215: + case 5216: + case 5217: + case 5218: + case 5219: + case 5220: + case 5226: + case 5227: + case 5228: + case 5229: + case 5230: + case 5231: + case 5232: + case 5233: + case 5234: + case 5235: + case 5236: + case 5237: + case 5238: + case 5239: + case 5240: + case 5241: + case 5242: + case 5243: + case 5244: + case 5245: + case 5246: + case 5247: + case 5248: + case 5249: + case 5250: + case 5251: + case 5252: + case 5253: + case 5254: + case 5400: + case 5401: + case 5402: + case 5403: + case 5404: + case 5405: + case 5407: + case 5408: + case 5409: + case 5410: + case 5411: + case 5412: + case 5413: + case 5414: + case 5415: + case 5416: + case 5417: + case 5418: + case 5419: + case 5426: + case 5427: + case 5428: + case 5429: + case 5430: + case 5431: + case 5432: + case 5433: + case 5434: + case 5435: + case 5438: + case 5439: + case 5440: + case 5443: + case 5444: + case 5445: + case 5446: + case 5448: + case 5449: + case 5450: + case 5451: + case 5452: + case 5453: + case 5456: + case 5457: + case 5458: + case 5459: + case 5460: + case 5461: + case 5463: + case 5464: + case 5465: + case 5466: + case 5467: + case 5468: + case 5469: + case 5470: + case 5480: + case 5481: + case 5482: + case 5483: + case 5484: + case 5485: + case 5486: + case 5487: + case 5488: + case 5489: + case 5490: + case 5491: + case 5492: + case 5493: + case 5494: + case 5495: + case 5496: + case 5500: + case 5501: + case 5502: + case 5503: + case 5504: + case 5505: + case 5506: + case 5508: + case 5509: + case 5510: + case 5511: + case 5512: + case 5514: + case 5515: + case 5516: + case 5517: + case 5518: + case 5519: + case 5520: + case 5521: + case 5522: + case 5523: + case 5524: + case 5525: + case 5526: + case 5527: + case 5528: + case 5529: + case 5530: + case 5531: + case 5532: + case 5535: + case 5536: + case 5537: + case 5538: + case 5539: + case 5540: + case 5541: + case 5542: + case 5543: + case 5546: + case 5547: + case 5548: + case 5549: + case 5550: + case 5551: + case 5552: + case 5553: + case 5554: + case 5555: + case 5556: + case 5557: + case 5558: + case 5559: + case 5560: + case 5561: + case 5562: + case 5563: + case 5564: + case 5565: + case 5566: + case 5567: + case 5568: + case 5569: + case 5570: + case 5571: + case 5572: + case 5573: + case 5574: + case 5575: + case 5576: + case 5577: + case 5578: + case 5582: + case 5583: + case 5584: + case 5585: + case 5586: + case 5587: + case 5588: + case 5589: + case 5592: + case 5593: + case 5594: + case 5595: + case 5596: + case 5597: + case 5598: + case 5599: + case 5600: + case 5601: + case 5602: + case 5603: + case 5604: + case 5605: + case 5606: + case 5607: + case 5608: + case 5609: + case 5610: + case 5611: + case 5612: + case 5613: + case 5614: + case 5615: + case 5616: + case 5617: + case 5618: + case 5619: + case 5620: + case 5621: + case 5622: + case 5623: + case 5624: + case 5625: + case 5626: + case 5627: + case 5800: + case 5812: + case 5813: + case 5827: + case 5828: + case 5829: + case 5830: + case 5831: + case 5832: + case 5833: + case 5834: + case 5844: + case 5847: + case 5848: + case 5849: + case 6200: + case 6201: + case 6202: + case 6400: + case 6401: + case 6403: + case 6404: + case 6405: + case 6406: + case 6407: + case 6500: + case 6501: + case 6502: + case 6503: + case 6504: + case 6505: + case 6506: + case 6507: + case 6508: + case 6509: + case 6600: + case 6601: + case 6602: + case 6603: + case 6604: + case 6605: + case 6606: + case 6607: + case 6608: + case 6609: + case 6610: + case 6611: + case 6612: + case 6613: + case 6614: + case 6615: + case 6616: + case 6617: + case 6618: + case 6619: + case 6620: + case 6621: + case 6622: + case 6623: + case 6624: + case 6625: + case 6626: + case 6627: + case 6628: + case 6629: + case 6800: + case 6801: + case 6802: + case 6803: + case 6804: + case 6805: + case 6806: + case 6807: + case 6808: + case 6809: + case 6810: + case 6811: + case 6812: + case 6813: + case 6814: + case 6815: + case 7000: + case 7001: + case 7002: + case 7003: + case 7004: + case 7005: + case 7006: + case 7007: + case 7100: + case 7101: + case 7200: + case 7300: + case 7301: + case 7302: + case 7307: + case 7308: + case 7309: + case 7310: + case 7311: + case 7312: + case 7315: + case 7316: + case 7325: + case 7326: + case 7327: + case 7328: + case 7329: + case 7330: + case 7331: + case 7337: + case 7338: + case 7339: + case 7341: + case 7342: + case 7343: + case 7344: + case 7349: + case 7350: + case 7351: + case 7352: + case 7353: + case 7354: + case 7355: + case 7356: + case 7359: + case 7364: + case 7365: + case 7366: + case 7367: + case 7369: + case 7370: + case 7371: + case 7378: + case 7379: + case 7380: + case 7381: + case 7382: + case 7383: + case 7500: + case 7501: + case 7502: + case 7503: + case 7504: + case 7505: + case 7506: + case 7507: + case 7508: + case 7510: + case 7511: + case 7512: + case 7513: + case 7514: + case 7515: + case 7516: + case 7517: + case 7518: + case 7519: + case 7520: + case 7521: + case 7522: + case 7523: + case 7524: + case 7525: + case 7526: + case 7527: + case 7528: + case 7529: + case 7530: + case 7600: + case 7601: + case 7602: + case 7603: + case 7604: + case 7605: + case 7606: + case 7607: + case 7700: + case 7701: + case 7702: + case 7703: + case 7704: + case 7705: + case 7706: + case 7707: + case 7708: + case 7711: + case 7712: + case 7713: + case 7714: + case 7800: + case 7801: + case 7803: + case 7804: + case 7805: + case 7806: + case 7807: + case 7808: + case 7900: + case 7901: + case 7902: + case 8000: + case 8100: + case 8101: + case 8102: + case 8103: + case 8104: + case 8105: + case 8106: + case 8107: + case 8108: + case 8200: + case 8300: + case 8301: + case 8303: + case 8304: + case 8305: + case 8306: + case 8400: + case 8401: + case 8402: + case 8500: + case 8503: + case 8504: + case 8507: + case 8508: + case 8509: + case 8510: + case 8600: + case 8601: + case 8700: + case 8701: + case 8800: + case 8900: + case 8901: + case 8902: + case 8903: + case 8904: + case 8905: + case 8906: + case 9000: + case 9001: + case 9002: + case 9100: + case 9101: + case 9102: + case 9103: + case 9104: + case 9105: + case 9106: + case 9107: + case 9110: + case 9111: + case 9112: + case 9113: + case 9114: + case 9115: + case 9116: + case 9117: + case 9118: + case 9119: + case 9120: + case 9121: + case 9122: + case 9123: + case 9124: + case 9125: + case 9126: + case 9127: + case 9128: + case 9129: + case 9130: + case 9131: + case 9132: + case 9133: + case 9200: + case 9201: + case 9202: + case 9203: + case 9300: + case 9330: + case 9331: + case 9400: + case 9401: + case 9402: + case 9405: + case 9406: + case 9407: + case 9408: + case 9500: + case 9501: + case 9502: + case 9503: + case 9504: + case 9505: + case 9506: + case 9507: + case 9508: + case 9509: + case 9510: + case 9511: + case 9512: + case 9513: + case 9514: + case 9515: + case 9516: + case 9600: + case 9601: + case 9700: + case 9701: + case 9702: + case 9703: + case 9704: + case 9800: + case 9801: + case 9802: + case 9803: + case 9804: + case 9805: + case 9900: + case 9901: + case 9999: + case 10000: + case 10100: + case 10101: + case 10102: + case 10103: + case 10104: + case 10105: + case 10106: + case 12000: + case 12001: + case 12100: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientPersonaStateFlag_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_enums_5fclientserver_2eproto); + return file_level_enum_descriptors_enums_5fclientserver_2eproto[1]; +} +bool EClientPersonaStateFlag_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 8: + case 16: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EMsgClanAccountFlags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_enums_5fclientserver_2eproto); + return file_level_enum_descriptors_enums_5fclientserver_2eproto[2]; +} +bool EMsgClanAccountFlags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 8: + case 16: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamReviewScore_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_enums_5fclientserver_2eproto); + return file_level_enum_descriptors_enums_5fclientserver_2eproto[3]; +} +bool ESteamReviewScore_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + return true; + default: + return false; + } +} + + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.h new file mode 100644 index 0000000..a68cf3f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/enums_clientserver.pb.h @@ -0,0 +1,1694 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: enums_clientserver.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_enums_5fclientserver_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_enums_5fclientserver_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_enums_5fclientserver_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_enums_5fclientserver_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_enums_5fclientserver_2eproto; +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +enum EMsg : int { + k_EMsgInvalid = 0, + k_EMsgMulti = 1, + k_EMsgProtobufWrapped = 2, + k_EMsgBaseGeneral = 100, + k_EMsgGenericReply = 100, + k_EMsgDestJobFailed = 113, + k_EMsgAlert = 115, + k_EMsgSCIDRequest = 120, + k_EMsgSCIDResponse = 121, + k_EMsgJobHeartbeat = 123, + k_EMsgHubConnect = 124, + k_EMsgSubscribe = 126, + k_EMRouteMessage = 127, + k_EMsgWGRequest = 130, + k_EMsgWGResponse = 131, + k_EMsgKeepAlive = 132, + k_EMsgWebAPIJobRequest = 133, + k_EMsgWebAPIJobResponse = 134, + k_EMsgClientSessionStart = 135, + k_EMsgClientSessionEnd = 136, + k_EMsgClientSessionUpdate = 137, + k_EMsgStatsDeprecated = 138, + k_EMsgPing = 139, + k_EMsgPingResponse = 140, + k_EMsgStats = 141, + k_EMsgRequestFullStatsBlock = 142, + k_EMsgLoadDBOCacheItem = 143, + k_EMsgLoadDBOCacheItemResponse = 144, + k_EMsgInvalidateDBOCacheItems = 145, + k_EMsgServiceMethod = 146, + k_EMsgServiceMethodResponse = 147, + k_EMsgClientPackageVersions = 148, + k_EMsgTimestampRequest = 149, + k_EMsgTimestampResponse = 150, + k_EMsgServiceMethodCallFromClient = 151, + k_EMsgServiceMethodSendToClient = 152, + k_EMsgBaseShell = 200, + k_EMsgAssignSysID = 200, + k_EMsgExit = 201, + k_EMsgDirRequest = 202, + k_EMsgDirResponse = 203, + k_EMsgZipRequest = 204, + k_EMsgZipResponse = 205, + k_EMsgUpdateRecordResponse = 215, + k_EMsgUpdateCreditCardRequest = 221, + k_EMsgUpdateUserBanResponse = 225, + k_EMsgPrepareToExit = 226, + k_EMsgContentDescriptionUpdate = 227, + k_EMsgTestResetServer = 228, + k_EMsgUniverseChanged = 229, + k_EMsgShellConfigInfoUpdate = 230, + k_EMsgRequestWindowsEventLogEntries = 233, + k_EMsgProvideWindowsEventLogEntries = 234, + k_EMsgShellSearchLogs = 235, + k_EMsgShellSearchLogsResponse = 236, + k_EMsgShellCheckWindowsUpdates = 237, + k_EMsgShellCheckWindowsUpdatesResponse = 238, + k_EMsgTestFlushDelayedSQL = 240, + k_EMsgTestFlushDelayedSQLResponse = 241, + k_EMsgEnsureExecuteScheduledTask_TEST = 242, + k_EMsgEnsureExecuteScheduledTaskResponse_TEST = 243, + k_EMsgUpdateScheduledTaskEnableState_TEST = 244, + k_EMsgUpdateScheduledTaskEnableStateResponse_TEST = 245, + k_EMsgContentDescriptionDeltaUpdate = 246, + k_EMsgGMShellAndServerAddressUpdates = 247, + k_EMsgBaseGM = 300, + k_EMsgHeartbeat = 300, + k_EMsgShellFailed = 301, + k_EMsgExitShells = 307, + k_EMsgExitShell = 308, + k_EMsgGracefulExitShell = 309, + k_EMsgLicenseProcessingComplete = 316, + k_EMsgSetTestFlag = 317, + k_EMsgQueuedEmailsComplete = 318, + k_EMsgGMReportPHPError = 319, + k_EMsgGMDRMSync = 320, + k_EMsgPhysicalBoxInventory = 321, + k_EMsgUpdateConfigFile = 322, + k_EMsgTestInitDB = 323, + k_EMsgGMWriteConfigToSQL = 324, + k_EMsgGMLoadActivationCodes = 325, + k_EMsgGMQueueForFBS = 326, + k_EMsgGMSchemaConversionResults = 327, + k_EMsgGMWriteShellFailureToSQL = 329, + k_EMsgGMWriteStatsToSOS = 330, + k_EMsgGMGetServiceMethodRouting = 331, + k_EMsgGMGetServiceMethodRoutingResponse = 332, + k_EMsgGMTestNextBuildSchemaConversion = 334, + k_EMsgGMTestNextBuildSchemaConversionResponse = 335, + k_EMsgExpectShellRestart = 336, + k_EMsgHotFixProgress = 337, + k_EMsgGMStatsForwardToAdminConnections = 338, + k_EMsgBaseAIS = 400, + k_EMsgAISRequestContentDescription = 402, + k_EMsgAISUpdateAppInfo = 403, + k_EMsgAISGetPackageChangeNumber = 405, + k_EMsgAISGetPackageChangeNumberResponse = 406, + k_EMsgAIGetAppGCFlags = 423, + k_EMsgAIGetAppGCFlagsResponse = 424, + k_EMsgAIGetAppList = 425, + k_EMsgAIGetAppListResponse = 426, + k_EMsgAISGetCouponDefinition = 429, + k_EMsgAISGetCouponDefinitionResponse = 430, + k_EMsgAISUpdateSubordinateContentDescription = 431, + k_EMsgAISUpdateSubordinateContentDescriptionResponse = 432, + k_EMsgAISTestEnableGC = 433, + k_EMsgBaseAM = 500, + k_EMsgAMUpdateUserBanRequest = 504, + k_EMsgAMAddLicense = 505, + k_EMsgAMSendSystemIMToUser = 508, + k_EMsgAMExtendLicense = 509, + k_EMsgAMAddMinutesToLicense = 510, + k_EMsgAMCancelLicense = 511, + k_EMsgAMInitPurchase = 512, + k_EMsgAMPurchaseResponse = 513, + k_EMsgAMGetFinalPrice = 514, + k_EMsgAMGetFinalPriceResponse = 515, + k_EMsgAMGetLegacyGameKey = 516, + k_EMsgAMGetLegacyGameKeyResponse = 517, + k_EMsgAMFindHungTransactions = 518, + k_EMsgAMSetAccountTrustedRequest = 519, + k_EMsgAMCancelPurchase = 522, + k_EMsgAMNewChallenge = 523, + k_EMsgAMLoadOEMTickets = 524, + k_EMsgAMFixPendingPurchase = 525, + k_EMsgAMFixPendingPurchaseResponse = 526, + k_EMsgAMIsUserBanned = 527, + k_EMsgAMRegisterKey = 528, + k_EMsgAMLoadActivationCodes = 529, + k_EMsgAMLoadActivationCodesResponse = 530, + k_EMsgAMLookupKeyResponse = 531, + k_EMsgAMLookupKey = 532, + k_EMsgAMChatCleanup = 533, + k_EMsgAMClanCleanup = 534, + k_EMsgAMFixPendingRefund = 535, + k_EMsgAMReverseChargeback = 536, + k_EMsgAMReverseChargebackResponse = 537, + k_EMsgAMClanCleanupList = 538, + k_EMsgAMGetLicenses = 539, + k_EMsgAMGetLicensesResponse = 540, + k_EMsgAMSendCartRepurchase = 541, + k_EMsgAMSendCartRepurchaseResponse = 542, + k_EMsgAllowUserToPlayQuery = 550, + k_EMsgAllowUserToPlayResponse = 551, + k_EMsgAMVerfiyUser = 552, + k_EMsgAMClientNotPlaying = 553, + k_EMsgAMClientRequestFriendship = 554, + k_EMsgAMRelayPublishStatus = 555, + k_EMsgAMInitPurchaseResponse = 560, + k_EMsgAMRevokePurchaseResponse = 561, + k_EMsgAMRefreshGuestPasses = 563, + k_EMsgAMGrantGuestPasses = 566, + k_EMsgAMClanDataUpdated = 567, + k_EMsgAMReloadAccount = 568, + k_EMsgAMClientChatMsgRelay = 569, + k_EMsgAMChatMulti = 570, + k_EMsgAMClientChatInviteRelay = 571, + k_EMsgAMChatInvite = 572, + k_EMsgAMClientJoinChatRelay = 573, + k_EMsgAMClientChatMemberInfoRelay = 574, + k_EMsgAMPublishChatMemberInfo = 575, + k_EMsgAMClientAcceptFriendInvite = 576, + k_EMsgAMChatEnter = 577, + k_EMsgAMClientPublishRemovalFromSource = 578, + k_EMsgAMChatActionResult = 579, + k_EMsgAMFindAccounts = 580, + k_EMsgAMFindAccountsResponse = 581, + k_EMsgAMIsAccountNameInUse = 582, + k_EMsgAMIsAccountNameInUseResponse = 583, + k_EMsgAMSetAccountFlags = 584, + k_EMsgAMCreateClan = 586, + k_EMsgAMCreateClanResponse = 587, + k_EMsgAMGetClanDetails = 588, + k_EMsgAMGetClanDetailsResponse = 589, + k_EMsgAMSetPersonaName = 590, + k_EMsgAMSetAvatar = 591, + k_EMsgAMAuthenticateUser = 592, + k_EMsgAMAuthenticateUserResponse = 593, + k_EMsgAMP2PIntroducerMessage = 596, + k_EMsgClientChatAction = 597, + k_EMsgAMClientChatActionRelay = 598, + k_EMsgBaseVS = 600, + k_EMsgReqChallenge = 600, + k_EMsgVACResponse = 601, + k_EMsgReqChallengeTest = 602, + k_EMsgVSMarkCheat = 604, + k_EMsgVSAddCheat = 605, + k_EMsgVSPurgeCodeModDB = 606, + k_EMsgVSGetChallengeResults = 607, + k_EMsgVSChallengeResultText = 608, + k_EMsgVSReportLingerer = 609, + k_EMsgVSRequestManagedChallenge = 610, + k_EMsgVSLoadDBFinished = 611, + k_EMsgBaseDRMS = 625, + k_EMsgDRMBuildBlobRequest = 628, + k_EMsgDRMBuildBlobResponse = 629, + k_EMsgDRMResolveGuidRequest = 630, + k_EMsgDRMResolveGuidResponse = 631, + k_EMsgDRMVariabilityReport = 633, + k_EMsgDRMVariabilityReportResponse = 634, + k_EMsgDRMStabilityReport = 635, + k_EMsgDRMStabilityReportResponse = 636, + k_EMsgDRMDetailsReportRequest = 637, + k_EMsgDRMDetailsReportResponse = 638, + k_EMsgDRMProcessFile = 639, + k_EMsgDRMAdminUpdate = 640, + k_EMsgDRMAdminUpdateResponse = 641, + k_EMsgDRMSync = 642, + k_EMsgDRMSyncResponse = 643, + k_EMsgDRMProcessFileResponse = 644, + k_EMsgDRMEmptyGuidCache = 645, + k_EMsgDRMEmptyGuidCacheResponse = 646, + k_EMsgBaseCS = 650, + k_EMsgBaseClient = 700, + k_EMsgClientLogOn_Deprecated = 701, + k_EMsgClientAnonLogOn_Deprecated = 702, + k_EMsgClientHeartBeat = 703, + k_EMsgClientVACResponse = 704, + k_EMsgClientGamesPlayed_obsolete = 705, + k_EMsgClientLogOff = 706, + k_EMsgClientNoUDPConnectivity = 707, + k_EMsgClientConnectionStats = 710, + k_EMsgClientPingResponse = 712, + k_EMsgClientRemoveFriend = 714, + k_EMsgClientGamesPlayedNoDataBlob = 715, + k_EMsgClientChangeStatus = 716, + k_EMsgClientVacStatusResponse = 717, + k_EMsgClientFriendMsg = 718, + k_EMsgClientGameConnect_obsolete = 719, + k_EMsgClientGamesPlayed2_obsolete = 720, + k_EMsgClientGameEnded_obsolete = 721, + k_EMsgClientSystemIM = 726, + k_EMsgClientSystemIMAck = 727, + k_EMsgClientGetLicenses = 728, + k_EMsgClientGetLegacyGameKey = 730, + k_EMsgClientContentServerLogOn_Deprecated = 731, + k_EMsgClientAckVACBan2 = 732, + k_EMsgClientGetPurchaseReceipts = 736, + k_EMsgClientGamesPlayed3_obsolete = 738, + k_EMsgClientAckGuestPass = 740, + k_EMsgClientRedeemGuestPass = 741, + k_EMsgClientGamesPlayed = 742, + k_EMsgClientRegisterKey = 743, + k_EMsgClientInviteUserToClan = 744, + k_EMsgClientAcknowledgeClanInvite = 745, + k_EMsgClientPurchaseWithMachineID = 746, + k_EMsgClientAppUsageEvent = 747, + k_EMsgClientLogOnResponse = 751, + k_EMsgClientSetHeartbeatRate = 755, + k_EMsgClientNotLoggedOnDeprecated = 756, + k_EMsgClientLoggedOff = 757, + k_EMsgGSApprove = 758, + k_EMsgGSDeny = 759, + k_EMsgGSKick = 760, + k_EMsgClientPurchaseResponse = 763, + k_EMsgClientPing = 764, + k_EMsgClientNOP = 765, + k_EMsgClientPersonaState = 766, + k_EMsgClientFriendsList = 767, + k_EMsgClientAccountInfo = 768, + k_EMsgClientNewsUpdate = 771, + k_EMsgClientGameConnectDeny = 773, + k_EMsgGSStatusReply = 774, + k_EMsgClientGameConnectTokens = 779, + k_EMsgClientLicenseList = 780, + k_EMsgClientVACBanStatus = 782, + k_EMsgClientCMList = 783, + k_EMsgClientEncryptPct = 784, + k_EMsgClientGetLegacyGameKeyResponse = 785, + k_EMsgClientAddFriend = 791, + k_EMsgClientAddFriendResponse = 792, + k_EMsgClientAckGuestPassResponse = 796, + k_EMsgClientRedeemGuestPassResponse = 797, + k_EMsgClientUpdateGuestPassesList = 798, + k_EMsgClientChatMsg = 799, + k_EMsgClientChatInvite = 800, + k_EMsgClientJoinChat = 801, + k_EMsgClientChatMemberInfo = 802, + k_EMsgClientLogOnWithCredentials_Deprecated = 803, + k_EMsgClientPasswordChangeResponse = 805, + k_EMsgClientChatEnter = 807, + k_EMsgClientFriendRemovedFromSource = 808, + k_EMsgClientCreateChat = 809, + k_EMsgClientCreateChatResponse = 810, + k_EMsgClientP2PIntroducerMessage = 813, + k_EMsgClientChatActionResult = 814, + k_EMsgClientRequestFriendData = 815, + k_EMsgClientGetUserStats = 818, + k_EMsgClientGetUserStatsResponse = 819, + k_EMsgClientStoreUserStats = 820, + k_EMsgClientStoreUserStatsResponse = 821, + k_EMsgClientClanState = 822, + k_EMsgClientServiceModule = 830, + k_EMsgClientServiceCall = 831, + k_EMsgClientServiceCallResponse = 832, + k_EMsgClientNatTraversalStatEvent = 839, + k_EMsgClientSteamUsageEvent = 842, + k_EMsgClientCheckPassword = 845, + k_EMsgClientResetPassword = 846, + k_EMsgClientCheckPasswordResponse = 848, + k_EMsgClientResetPasswordResponse = 849, + k_EMsgClientSessionToken = 850, + k_EMsgClientDRMProblemReport = 851, + k_EMsgClientSetIgnoreFriend = 855, + k_EMsgClientSetIgnoreFriendResponse = 856, + k_EMsgClientGetAppOwnershipTicket = 857, + k_EMsgClientGetAppOwnershipTicketResponse = 858, + k_EMsgClientGetLobbyListResponse = 860, + k_EMsgClientServerList = 880, + k_EMsgClientDRMBlobRequest = 896, + k_EMsgClientDRMBlobResponse = 897, + k_EMsgBaseGameServer = 900, + k_EMsgGSDisconnectNotice = 901, + k_EMsgGSStatus = 903, + k_EMsgGSUserPlaying = 905, + k_EMsgGSStatus2 = 906, + k_EMsgGSStatusUpdate_Unused = 907, + k_EMsgGSServerType = 908, + k_EMsgGSPlayerList = 909, + k_EMsgGSGetUserAchievementStatus = 910, + k_EMsgGSGetUserAchievementStatusResponse = 911, + k_EMsgGSGetPlayStats = 918, + k_EMsgGSGetPlayStatsResponse = 919, + k_EMsgGSGetUserGroupStatus = 920, + k_EMsgAMGetUserGroupStatus = 921, + k_EMsgAMGetUserGroupStatusResponse = 922, + k_EMsgGSGetUserGroupStatusResponse = 923, + k_EMsgGSGetReputation = 936, + k_EMsgGSGetReputationResponse = 937, + k_EMsgGSAssociateWithClan = 938, + k_EMsgGSAssociateWithClanResponse = 939, + k_EMsgGSComputeNewPlayerCompatibility = 940, + k_EMsgGSComputeNewPlayerCompatibilityResponse = 941, + k_EMsgBaseAdmin = 1000, + k_EMsgAdminCmd = 1000, + k_EMsgAdminCmdResponse = 1004, + k_EMsgAdminLogListenRequest = 1005, + k_EMsgAdminLogEvent = 1006, + k_EMsgUniverseData = 1010, + k_EMsgAdminSpew = 1019, + k_EMsgAdminConsoleTitle = 1020, + k_EMsgAdminGCSpew = 1023, + k_EMsgAdminGCCommand = 1024, + k_EMsgAdminGCGetCommandList = 1025, + k_EMsgAdminGCGetCommandListResponse = 1026, + k_EMsgFBSConnectionData = 1027, + k_EMsgAdminMsgSpew = 1028, + k_EMsgBaseFBS = 1100, + k_EMsgFBSReqVersion = 1100, + k_EMsgFBSVersionInfo = 1101, + k_EMsgFBSForceRefresh = 1102, + k_EMsgFBSForceBounce = 1103, + k_EMsgFBSDeployPackage = 1104, + k_EMsgFBSDeployResponse = 1105, + k_EMsgFBSUpdateBootstrapper = 1106, + k_EMsgFBSSetState = 1107, + k_EMsgFBSApplyOSUpdates = 1108, + k_EMsgFBSRunCMDScript = 1109, + k_EMsgFBSRebootBox = 1110, + k_EMsgFBSSetBigBrotherMode = 1111, + k_EMsgFBSMinidumpServer = 1112, + k_EMsgFBSDeployHotFixPackage = 1114, + k_EMsgFBSDeployHotFixResponse = 1115, + k_EMsgFBSDownloadHotFix = 1116, + k_EMsgFBSDownloadHotFixResponse = 1117, + k_EMsgFBSUpdateTargetConfigFile = 1118, + k_EMsgFBSApplyAccountCred = 1119, + k_EMsgFBSApplyAccountCredResponse = 1120, + k_EMsgFBSSetShellCount = 1121, + k_EMsgFBSTerminateShell = 1122, + k_EMsgFBSQueryGMForRequest = 1123, + k_EMsgFBSQueryGMResponse = 1124, + k_EMsgFBSTerminateZombies = 1125, + k_EMsgFBSInfoFromBootstrapper = 1126, + k_EMsgFBSRebootBoxResponse = 1127, + k_EMsgFBSBootstrapperPackageRequest = 1128, + k_EMsgFBSBootstrapperPackageResponse = 1129, + k_EMsgFBSBootstrapperGetPackageChunk = 1130, + k_EMsgFBSBootstrapperGetPackageChunkResponse = 1131, + k_EMsgFBSBootstrapperPackageTransferProgress = 1132, + k_EMsgFBSRestartBootstrapper = 1133, + k_EMsgFBSPauseFrozenDumps = 1134, + k_EMsgBaseFileXfer = 1200, + k_EMsgFileXferRequest = 1200, + k_EMsgFileXferResponse = 1201, + k_EMsgFileXferData = 1202, + k_EMsgFileXferEnd = 1203, + k_EMsgFileXferDataAck = 1204, + k_EMsgBaseChannelAuth = 1300, + k_EMsgChannelAuthChallenge = 1300, + k_EMsgChannelAuthResponse = 1301, + k_EMsgChannelAuthResult = 1302, + k_EMsgChannelEncryptRequest = 1303, + k_EMsgChannelEncryptResponse = 1304, + k_EMsgChannelEncryptResult = 1305, + k_EMsgBaseBS = 1400, + k_EMsgBSPurchaseStart = 1401, + k_EMsgBSPurchaseResponse = 1402, + k_EMsgBSAuthenticateCCTrans = 1403, + k_EMsgBSAuthenticateCCTransResponse = 1404, + k_EMsgBSSettleComplete = 1406, + k_EMsgBSInitPayPalTxn = 1408, + k_EMsgBSInitPayPalTxnResponse = 1409, + k_EMsgBSGetPayPalUserInfo = 1410, + k_EMsgBSGetPayPalUserInfoResponse = 1411, + k_EMsgBSPaymentInstrBan = 1417, + k_EMsgBSPaymentInstrBanResponse = 1418, + k_EMsgBSInitGCBankXferTxn = 1421, + k_EMsgBSInitGCBankXferTxnResponse = 1422, + k_EMsgBSCommitGCTxn = 1425, + k_EMsgBSQueryTransactionStatus = 1426, + k_EMsgBSQueryTransactionStatusResponse = 1427, + k_EMsgBSQueryTxnExtendedInfo = 1433, + k_EMsgBSQueryTxnExtendedInfoResponse = 1434, + k_EMsgBSUpdateConversionRates = 1435, + k_EMsgBSPurchaseRunFraudChecks = 1437, + k_EMsgBSPurchaseRunFraudChecksResponse = 1438, + k_EMsgBSQueryBankInformation = 1440, + k_EMsgBSQueryBankInformationResponse = 1441, + k_EMsgBSValidateXsollaSignature = 1445, + k_EMsgBSValidateXsollaSignatureResponse = 1446, + k_EMsgBSQiwiWalletInvoice = 1448, + k_EMsgBSQiwiWalletInvoiceResponse = 1449, + k_EMsgBSUpdateInventoryFromProPack = 1450, + k_EMsgBSUpdateInventoryFromProPackResponse = 1451, + k_EMsgBSSendShippingRequest = 1452, + k_EMsgBSSendShippingRequestResponse = 1453, + k_EMsgBSGetProPackOrderStatus = 1454, + k_EMsgBSGetProPackOrderStatusResponse = 1455, + k_EMsgBSCheckJobRunning = 1456, + k_EMsgBSCheckJobRunningResponse = 1457, + k_EMsgBSResetPackagePurchaseRateLimit = 1458, + k_EMsgBSResetPackagePurchaseRateLimitResponse = 1459, + k_EMsgBSUpdatePaymentData = 1460, + k_EMsgBSUpdatePaymentDataResponse = 1461, + k_EMsgBSGetBillingAddress = 1462, + k_EMsgBSGetBillingAddressResponse = 1463, + k_EMsgBSGetCreditCardInfo = 1464, + k_EMsgBSGetCreditCardInfoResponse = 1465, + k_EMsgBSRemoveExpiredPaymentData = 1468, + k_EMsgBSRemoveExpiredPaymentDataResponse = 1469, + k_EMsgBSConvertToCurrentKeys = 1470, + k_EMsgBSConvertToCurrentKeysResponse = 1471, + k_EMsgBSInitPurchase = 1472, + k_EMsgBSInitPurchaseResponse = 1473, + k_EMsgBSCompletePurchase = 1474, + k_EMsgBSCompletePurchaseResponse = 1475, + k_EMsgBSPruneCardUsageStats = 1476, + k_EMsgBSPruneCardUsageStatsResponse = 1477, + k_EMsgBSStoreBankInformation = 1478, + k_EMsgBSStoreBankInformationResponse = 1479, + k_EMsgBSVerifyPOSAKey = 1480, + k_EMsgBSVerifyPOSAKeyResponse = 1481, + k_EMsgBSReverseRedeemPOSAKey = 1482, + k_EMsgBSReverseRedeemPOSAKeyResponse = 1483, + k_EMsgBSQueryFindCreditCard = 1484, + k_EMsgBSQueryFindCreditCardResponse = 1485, + k_EMsgBSStatusInquiryPOSAKey = 1486, + k_EMsgBSStatusInquiryPOSAKeyResponse = 1487, + k_EMsgBSBoaCompraConfirmProductDelivery = 1494, + k_EMsgBSBoaCompraConfirmProductDeliveryResponse = 1495, + k_EMsgBSGenerateBoaCompraMD5 = 1496, + k_EMsgBSGenerateBoaCompraMD5Response = 1497, + k_EMsgBSCommitWPTxn = 1498, + k_EMsgBSCommitAdyenTxn = 1499, + k_EMsgBaseATS = 1500, + k_EMsgATSStartStressTest = 1501, + k_EMsgATSStopStressTest = 1502, + k_EMsgATSRunFailServerTest = 1503, + k_EMsgATSUFSPerfTestTask = 1504, + k_EMsgATSUFSPerfTestResponse = 1505, + k_EMsgATSCycleTCM = 1506, + k_EMsgATSInitDRMSStressTest = 1507, + k_EMsgATSCallTest = 1508, + k_EMsgATSCallTestReply = 1509, + k_EMsgATSStartExternalStress = 1510, + k_EMsgATSExternalStressJobStart = 1511, + k_EMsgATSExternalStressJobQueued = 1512, + k_EMsgATSExternalStressJobRunning = 1513, + k_EMsgATSExternalStressJobStopped = 1514, + k_EMsgATSExternalStressJobStopAll = 1515, + k_EMsgATSExternalStressActionResult = 1516, + k_EMsgATSStarted = 1517, + k_EMsgATSCSPerfTestTask = 1518, + k_EMsgATSCSPerfTestResponse = 1519, + k_EMsgBaseDP = 1600, + k_EMsgDPSetPublishingState = 1601, + k_EMsgDPUniquePlayersStat = 1603, + k_EMsgDPStreamingUniquePlayersStat = 1604, + k_EMsgDPBlockingStats = 1607, + k_EMsgDPNatTraversalStats = 1608, + k_EMsgDPCloudStats = 1612, + k_EMsgDPGetPlayerCount = 1615, + k_EMsgDPGetPlayerCountResponse = 1616, + k_EMsgDPGameServersPlayersStats = 1617, + k_EMsgClientDPCheckSpecialSurvey = 1620, + k_EMsgClientDPCheckSpecialSurveyResponse = 1621, + k_EMsgClientDPSendSpecialSurveyResponse = 1622, + k_EMsgClientDPSendSpecialSurveyResponseReply = 1623, + k_EMsgDPStoreSaleStatistics = 1624, + k_EMsgClientDPUpdateAppJobReport = 1625, + k_EMsgClientDPUnsignedInstallScript = 1627, + k_EMsgDPPartnerMicroTxns = 1628, + k_EMsgDPPartnerMicroTxnsResponse = 1629, + k_EMsgClientDPContentStatsReport = 1630, + k_EMsgDPVRUniquePlayersStat = 1631, + k_EMsgBaseCM = 1700, + k_EMsgCMSetAllowState = 1701, + k_EMsgCMSpewAllowState = 1702, + k_EMsgCMSessionRejected = 1703, + k_EMsgCMSetSecrets = 1704, + k_EMsgCMGetSecrets = 1705, + k_EMsgBaseGC = 2200, + k_EMsgGCCmdRevive = 2203, + k_EMsgGCCmdDown = 2206, + k_EMsgGCCmdDeploy = 2207, + k_EMsgGCCmdDeployResponse = 2208, + k_EMsgGCCmdSwitch = 2209, + k_EMsgAMRefreshSessions = 2210, + k_EMsgGCAchievementAwarded = 2212, + k_EMsgGCSystemMessage = 2213, + k_EMsgGCCmdStatus = 2216, + k_EMsgGCRegisterWebInterfaces_Deprecated = 2217, + k_EMsgGCGetAccountDetails_DEPRECATED = 2218, + k_EMsgGCInterAppMessage = 2219, + k_EMsgGCGetEmailTemplate = 2220, + k_EMsgGCGetEmailTemplateResponse = 2221, + k_EMsgGCHRelay = 2222, + k_EMsgGCHRelayToClient = 2223, + k_EMsgGCHUpdateSession = 2224, + k_EMsgGCHRequestUpdateSession = 2225, + k_EMsgGCHRequestStatus = 2226, + k_EMsgGCHRequestStatusResponse = 2227, + k_EMsgGCHAccountVacStatusChange = 2228, + k_EMsgGCHSpawnGC = 2229, + k_EMsgGCHSpawnGCResponse = 2230, + k_EMsgGCHKillGC = 2231, + k_EMsgGCHKillGCResponse = 2232, + k_EMsgGCHAccountTradeBanStatusChange = 2233, + k_EMsgGCHAccountLockStatusChange = 2234, + k_EMsgGCHVacVerificationChange = 2235, + k_EMsgGCHAccountPhoneNumberChange = 2236, + k_EMsgGCHAccountTwoFactorChange = 2237, + k_EMsgGCHInviteUserToLobby = 2238, + k_EMsgGCHUpdateMultipleSessions = 2239, + k_EMsgGCHMarkAppSessionsAuthoritative = 2240, + k_EMsgGCHRecurringSubscriptionStatusChange = 2241, + k_EMsgGCHAppCheersReceived = 2242, + k_EMsgGCHAppCheersGetAllowedTypes = 2243, + k_EMsgGCHAppCheersGetAllowedTypesResponse = 2244, + k_EMsgBaseP2P = 2500, + k_EMsgP2PIntroducerMessage = 2502, + k_EMsgBaseSM = 2900, + k_EMsgSMExpensiveReport = 2902, + k_EMsgSMHourlyReport = 2903, + k_EMsgSMPartitionRenames = 2905, + k_EMsgSMMonitorSpace = 2906, + k_EMsgSMTestNextBuildSchemaConversion = 2907, + k_EMsgSMTestNextBuildSchemaConversionResponse = 2908, + k_EMsgBaseTest = 3000, + k_EMsgFailServer = 3000, + k_EMsgJobHeartbeatTest = 3001, + k_EMsgJobHeartbeatTestResponse = 3002, + k_EMsgBaseFTSRange = 3100, + k_EMsgBaseCCSRange = 3150, + k_EMsgCCSDeleteAllCommentsByAuthor = 3161, + k_EMsgCCSDeleteAllCommentsByAuthorResponse = 3162, + k_EMsgBaseLBSRange = 3200, + k_EMsgLBSSetScore = 3201, + k_EMsgLBSSetScoreResponse = 3202, + k_EMsgLBSFindOrCreateLB = 3203, + k_EMsgLBSFindOrCreateLBResponse = 3204, + k_EMsgLBSGetLBEntries = 3205, + k_EMsgLBSGetLBEntriesResponse = 3206, + k_EMsgLBSGetLBList = 3207, + k_EMsgLBSGetLBListResponse = 3208, + k_EMsgLBSSetLBDetails = 3209, + k_EMsgLBSDeleteLB = 3210, + k_EMsgLBSDeleteLBEntry = 3211, + k_EMsgLBSResetLB = 3212, + k_EMsgLBSResetLBResponse = 3213, + k_EMsgLBSDeleteLBResponse = 3214, + k_EMsgBaseOGS = 3400, + k_EMsgOGSBeginSession = 3401, + k_EMsgOGSBeginSessionResponse = 3402, + k_EMsgOGSEndSession = 3403, + k_EMsgOGSEndSessionResponse = 3404, + k_EMsgOGSWriteAppSessionRow = 3406, + k_EMsgBaseBRP = 3600, + k_EMsgBRPPostTransactionTax = 3629, + k_EMsgBRPPostTransactionTaxResponse = 3630, + k_EMsgBaseAMRange2 = 4000, + k_EMsgAMCreateChat = 4001, + k_EMsgAMCreateChatResponse = 4002, + k_EMsgAMSetProfileURL = 4005, + k_EMsgAMGetAccountEmailAddress = 4006, + k_EMsgAMGetAccountEmailAddressResponse = 4007, + k_EMsgAMRequestClanData = 4008, + k_EMsgAMRouteToClients = 4009, + k_EMsgAMLeaveClan = 4010, + k_EMsgAMClanPermissions = 4011, + k_EMsgAMClanPermissionsResponse = 4012, + k_EMsgAMCreateClanEventDummyForRateLimiting = 4013, + k_EMsgAMUpdateClanEventDummyForRateLimiting = 4015, + k_EMsgAMSetClanPermissionSettings = 4021, + k_EMsgAMSetClanPermissionSettingsResponse = 4022, + k_EMsgAMGetClanPermissionSettings = 4023, + k_EMsgAMGetClanPermissionSettingsResponse = 4024, + k_EMsgAMPublishChatRoomInfo = 4025, + k_EMsgClientChatRoomInfo = 4026, + k_EMsgAMGetClanHistory = 4039, + k_EMsgAMGetClanHistoryResponse = 4040, + k_EMsgAMGetClanPermissionBits = 4041, + k_EMsgAMGetClanPermissionBitsResponse = 4042, + k_EMsgAMSetClanPermissionBits = 4043, + k_EMsgAMSetClanPermissionBitsResponse = 4044, + k_EMsgAMSessionInfoRequest = 4045, + k_EMsgAMSessionInfoResponse = 4046, + k_EMsgAMValidateWGToken = 4047, + k_EMsgAMGetClanRank = 4050, + k_EMsgAMGetClanRankResponse = 4051, + k_EMsgAMSetClanRank = 4052, + k_EMsgAMSetClanRankResponse = 4053, + k_EMsgAMGetClanPOTW = 4054, + k_EMsgAMGetClanPOTWResponse = 4055, + k_EMsgAMSetClanPOTW = 4056, + k_EMsgAMSetClanPOTWResponse = 4057, + k_EMsgAMDumpUser = 4059, + k_EMsgAMKickUserFromClan = 4060, + k_EMsgAMAddFounderToClan = 4061, + k_EMsgAMValidateWGTokenResponse = 4062, + k_EMsgAMSetAccountDetails = 4064, + k_EMsgAMGetChatBanList = 4065, + k_EMsgAMGetChatBanListResponse = 4066, + k_EMsgAMUnBanFromChat = 4067, + k_EMsgAMSetClanDetails = 4068, + k_EMsgUGSGetUserGameStats = 4073, + k_EMsgUGSGetUserGameStatsResponse = 4074, + k_EMsgAMCheckClanMembership = 4075, + k_EMsgAMGetClanMembers = 4076, + k_EMsgAMGetClanMembersResponse = 4077, + k_EMsgAMNotifyChatOfClanChange = 4079, + k_EMsgAMResubmitPurchase = 4080, + k_EMsgAMAddFriend = 4081, + k_EMsgAMAddFriendResponse = 4082, + k_EMsgAMRemoveFriend = 4083, + k_EMsgAMDumpClan = 4084, + k_EMsgAMChangeClanOwner = 4085, + k_EMsgAMCancelEasyCollect = 4086, + k_EMsgAMCancelEasyCollectResponse = 4087, + k_EMsgAMClansInCommon = 4090, + k_EMsgAMClansInCommonResponse = 4091, + k_EMsgAMIsValidAccountID = 4092, + k_EMsgAMWipeFriendsList = 4095, + k_EMsgAMSetIgnored = 4096, + k_EMsgAMClansInCommonCountResponse = 4097, + k_EMsgAMFriendsList = 4098, + k_EMsgAMFriendsListResponse = 4099, + k_EMsgAMFriendsInCommon = 4100, + k_EMsgAMFriendsInCommonResponse = 4101, + k_EMsgAMFriendsInCommonCountResponse = 4102, + k_EMsgAMClansInCommonCount = 4103, + k_EMsgAMChallengeVerdict = 4104, + k_EMsgAMChallengeNotification = 4105, + k_EMsgAMFindGSByIP = 4106, + k_EMsgAMFoundGSByIP = 4107, + k_EMsgAMGiftRevoked = 4108, + k_EMsgAMUserClanList = 4110, + k_EMsgAMUserClanListResponse = 4111, + k_EMsgAMGetAccountDetails2 = 4112, + k_EMsgAMGetAccountDetailsResponse2 = 4113, + k_EMsgAMSetCommunityProfileSettings = 4114, + k_EMsgAMSetCommunityProfileSettingsResponse = 4115, + k_EMsgAMGetCommunityPrivacyState = 4116, + k_EMsgAMGetCommunityPrivacyStateResponse = 4117, + k_EMsgAMCheckClanInviteRateLimiting = 4118, + k_EMsgUGSGetUserAchievementStatus = 4119, + k_EMsgAMGetIgnored = 4120, + k_EMsgAMGetIgnoredResponse = 4121, + k_EMsgAMSetIgnoredResponse = 4122, + k_EMsgAMSetFriendRelationshipNone = 4123, + k_EMsgAMGetFriendRelationship = 4124, + k_EMsgAMGetFriendRelationshipResponse = 4125, + k_EMsgAMServiceModulesCache = 4126, + k_EMsgAMServiceModulesCall = 4127, + k_EMsgAMServiceModulesCallResponse = 4128, + k_EMsgCommunityAddFriendNews = 4140, + k_EMsgAMFindClanUser = 4143, + k_EMsgAMFindClanUserResponse = 4144, + k_EMsgAMBanFromChat = 4145, + k_EMsgAMGetUserNewsSubscriptions = 4147, + k_EMsgAMGetUserNewsSubscriptionsResponse = 4148, + k_EMsgAMSetUserNewsSubscriptions = 4149, + k_EMsgAMSendQueuedEmails = 4152, + k_EMsgAMSetLicenseFlags = 4153, + k_EMsgCommunityDeleteUserNews = 4155, + k_EMsgAMAllowUserFilesRequest = 4156, + k_EMsgAMAllowUserFilesResponse = 4157, + k_EMsgAMGetAccountStatus = 4158, + k_EMsgAMGetAccountStatusResponse = 4159, + k_EMsgAMEditBanReason = 4160, + k_EMsgAMCheckClanMembershipResponse = 4161, + k_EMsgAMProbeClanMembershipList = 4162, + k_EMsgAMProbeClanMembershipListResponse = 4163, + k_EMsgUGSGetUserAchievementStatusResponse = 4164, + k_EMsgAMGetFriendsLobbies = 4165, + k_EMsgAMGetFriendsLobbiesResponse = 4166, + k_EMsgAMGetUserFriendNewsResponse = 4172, + k_EMsgCommunityGetUserFriendNews = 4173, + k_EMsgAMGetUserClansNewsResponse = 4174, + k_EMsgAMGetUserClansNews = 4175, + k_EMsgAMGetPreviousCBAccount = 4184, + k_EMsgAMGetPreviousCBAccountResponse = 4185, + k_EMsgAMGetUserLicenseHistory = 4190, + k_EMsgAMGetUserLicenseHistoryResponse = 4191, + k_EMsgAMSupportChangePassword = 4194, + k_EMsgAMSupportChangeEmail = 4195, + k_EMsgAMResetUserVerificationGSByIP = 4197, + k_EMsgAMUpdateGSPlayStats = 4198, + k_EMsgAMSupportEnableOrDisable = 4199, + k_EMsgAMGetPurchaseStatus = 4206, + k_EMsgAMSupportIsAccountEnabled = 4209, + k_EMsgAMSupportIsAccountEnabledResponse = 4210, + k_EMsgUGSGetUserStats = 4211, + k_EMsgAMGSSearch = 4213, + k_EMsgMarketingMessageUpdate = 4216, + k_EMsgChatServerRouteFriendMsg = 4219, + k_EMsgAMTicketAuthRequestOrResponse = 4220, + k_EMsgAMAddFreeLicense = 4224, + k_EMsgAMValidateEmailLink = 4231, + k_EMsgAMValidateEmailLinkResponse = 4232, + k_EMsgUGSStoreUserStats = 4236, + k_EMsgAMDeleteStoredCard = 4241, + k_EMsgAMRevokeLegacyGameKeys = 4242, + k_EMsgAMGetWalletDetails = 4244, + k_EMsgAMGetWalletDetailsResponse = 4245, + k_EMsgAMDeleteStoredPaymentInfo = 4246, + k_EMsgAMGetStoredPaymentSummary = 4247, + k_EMsgAMGetStoredPaymentSummaryResponse = 4248, + k_EMsgAMGetWalletConversionRate = 4249, + k_EMsgAMGetWalletConversionRateResponse = 4250, + k_EMsgAMConvertWallet = 4251, + k_EMsgAMConvertWalletResponse = 4252, + k_EMsgAMSetPreApproval = 4255, + k_EMsgAMSetPreApprovalResponse = 4256, + k_EMsgAMCreateRefund = 4258, + k_EMsgAMCreateChargeback = 4260, + k_EMsgAMCreateDispute = 4262, + k_EMsgAMClearDispute = 4264, + k_EMsgAMCreateFinancialAdjustment = 4265, + k_EMsgAMPlayerNicknameList = 4266, + k_EMsgAMPlayerNicknameListResponse = 4267, + k_EMsgAMSetDRMTestConfig = 4268, + k_EMsgAMGetUserCurrentGameInfo = 4269, + k_EMsgAMGetUserCurrentGameInfoResponse = 4270, + k_EMsgAMGetGSPlayerList = 4271, + k_EMsgAMGetGSPlayerListResponse = 4272, + k_EMsgAMGetSteamIDForMicroTxn = 4278, + k_EMsgAMGetSteamIDForMicroTxnResponse = 4279, + k_EMsgAMSetPartnerMember = 4280, + k_EMsgAMRemovePublisherUser = 4281, + k_EMsgAMGetUserLicenseList = 4282, + k_EMsgAMGetUserLicenseListResponse = 4283, + k_EMsgAMReloadGameGroupPolicy = 4284, + k_EMsgAMAddFreeLicenseResponse = 4285, + k_EMsgAMVACStatusUpdate = 4286, + k_EMsgAMGetAccountDetails = 4287, + k_EMsgAMGetAccountDetailsResponse = 4288, + k_EMsgAMGetPlayerLinkDetails = 4289, + k_EMsgAMGetPlayerLinkDetailsResponse = 4290, + k_EMsgAMGetAccountFlagsForWGSpoofing = 4294, + k_EMsgAMGetAccountFlagsForWGSpoofingResponse = 4295, + k_EMsgAMGetClanOfficers = 4298, + k_EMsgAMGetClanOfficersResponse = 4299, + k_EMsgAMNameChange = 4300, + k_EMsgAMGetNameHistory = 4301, + k_EMsgAMGetNameHistoryResponse = 4302, + k_EMsgAMUpdateProviderStatus = 4305, + k_EMsgAMSupportRemoveAccountSecurity = 4307, + k_EMsgAMIsAccountInCaptchaGracePeriod = 4308, + k_EMsgAMIsAccountInCaptchaGracePeriodResponse = 4309, + k_EMsgAMAccountPS3Unlink = 4310, + k_EMsgAMAccountPS3UnlinkResponse = 4311, + k_EMsgUGSStoreUserStatsResponse = 4312, + k_EMsgAMGetAccountPSNInfo = 4313, + k_EMsgAMGetAccountPSNInfoResponse = 4314, + k_EMsgAMAuthenticatedPlayerList = 4315, + k_EMsgAMGetUserGifts = 4316, + k_EMsgAMGetUserGiftsResponse = 4317, + k_EMsgAMTransferLockedGifts = 4320, + k_EMsgAMTransferLockedGiftsResponse = 4321, + k_EMsgAMPlayerHostedOnGameServer = 4322, + k_EMsgAMGetAccountBanInfo = 4323, + k_EMsgAMGetAccountBanInfoResponse = 4324, + k_EMsgAMRecordBanEnforcement = 4325, + k_EMsgAMRollbackGiftTransfer = 4326, + k_EMsgAMRollbackGiftTransferResponse = 4327, + k_EMsgAMHandlePendingTransaction = 4328, + k_EMsgAMRequestClanDetails = 4329, + k_EMsgAMDeleteStoredPaypalAgreement = 4330, + k_EMsgAMGameServerUpdate = 4331, + k_EMsgAMGameServerRemove = 4332, + k_EMsgAMGetPaypalAgreements = 4333, + k_EMsgAMGetPaypalAgreementsResponse = 4334, + k_EMsgAMGameServerPlayerCompatibilityCheck = 4335, + k_EMsgAMGameServerPlayerCompatibilityCheckResponse = 4336, + k_EMsgAMRenewLicense = 4337, + k_EMsgAMGetAccountCommunityBanInfo = 4338, + k_EMsgAMGetAccountCommunityBanInfoResponse = 4339, + k_EMsgAMGameServerAccountChangePassword = 4340, + k_EMsgAMGameServerAccountDeleteAccount = 4341, + k_EMsgAMRenewAgreement = 4342, + k_EMsgAMXsollaPayment = 4344, + k_EMsgAMXsollaPaymentResponse = 4345, + k_EMsgAMAcctAllowedToPurchase = 4346, + k_EMsgAMAcctAllowedToPurchaseResponse = 4347, + k_EMsgAMSwapKioskDeposit = 4348, + k_EMsgAMSwapKioskDepositResponse = 4349, + k_EMsgAMSetUserGiftUnowned = 4350, + k_EMsgAMSetUserGiftUnownedResponse = 4351, + k_EMsgAMClaimUnownedUserGift = 4352, + k_EMsgAMClaimUnownedUserGiftResponse = 4353, + k_EMsgAMSetClanName = 4354, + k_EMsgAMSetClanNameResponse = 4355, + k_EMsgAMGrantCoupon = 4356, + k_EMsgAMGrantCouponResponse = 4357, + k_EMsgAMIsPackageRestrictedInUserCountry = 4358, + k_EMsgAMIsPackageRestrictedInUserCountryResponse = 4359, + k_EMsgAMHandlePendingTransactionResponse = 4360, + k_EMsgAMGrantGuestPasses2 = 4361, + k_EMsgAMGrantGuestPasses2Response = 4362, + k_EMsgAMGetPlayerBanDetails = 4365, + k_EMsgAMGetPlayerBanDetailsResponse = 4366, + k_EMsgAMFinalizePurchase = 4367, + k_EMsgAMFinalizePurchaseResponse = 4368, + k_EMsgAMPersonaChangeResponse = 4372, + k_EMsgAMGetClanDetailsForForumCreation = 4373, + k_EMsgAMGetClanDetailsForForumCreationResponse = 4374, + k_EMsgAMGetPendingNotificationCount = 4375, + k_EMsgAMGetPendingNotificationCountResponse = 4376, + k_EMsgAMPasswordHashUpgrade = 4377, + k_EMsgAMBoaCompraPayment = 4380, + k_EMsgAMBoaCompraPaymentResponse = 4381, + k_EMsgAMCompleteExternalPurchase = 4383, + k_EMsgAMCompleteExternalPurchaseResponse = 4384, + k_EMsgAMResolveNegativeWalletCredits = 4385, + k_EMsgAMResolveNegativeWalletCreditsResponse = 4386, + k_EMsgAMPlayerGetClanBasicDetails = 4389, + k_EMsgAMPlayerGetClanBasicDetailsResponse = 4390, + k_EMsgAMMOLPayment = 4391, + k_EMsgAMMOLPaymentResponse = 4392, + k_EMsgGetUserIPCountry = 4393, + k_EMsgGetUserIPCountryResponse = 4394, + k_EMsgNotificationOfSuspiciousActivity = 4395, + k_EMsgAMDegicaPayment = 4396, + k_EMsgAMDegicaPaymentResponse = 4397, + k_EMsgAMEClubPayment = 4398, + k_EMsgAMEClubPaymentResponse = 4399, + k_EMsgAMPayPalPaymentsHubPayment = 4400, + k_EMsgAMPayPalPaymentsHubPaymentResponse = 4401, + k_EMsgAMTwoFactorRecoverAuthenticatorRequest = 4402, + k_EMsgAMTwoFactorRecoverAuthenticatorResponse = 4403, + k_EMsgAMSmart2PayPayment = 4404, + k_EMsgAMSmart2PayPaymentResponse = 4405, + k_EMsgAMValidatePasswordResetCodeAndSendSmsRequest = 4406, + k_EMsgAMValidatePasswordResetCodeAndSendSmsResponse = 4407, + k_EMsgAMGetAccountResetDetailsRequest = 4408, + k_EMsgAMGetAccountResetDetailsResponse = 4409, + k_EMsgAMBitPayPayment = 4410, + k_EMsgAMBitPayPaymentResponse = 4411, + k_EMsgAMSendAccountInfoUpdate = 4412, + k_EMsgAMSendScheduledGift = 4413, + k_EMsgAMNodwinPayment = 4414, + k_EMsgAMNodwinPaymentResponse = 4415, + k_EMsgAMResolveWalletRevoke = 4416, + k_EMsgAMResolveWalletReverseRevoke = 4417, + k_EMsgAMFundedPayment = 4418, + k_EMsgAMFundedPaymentResponse = 4419, + k_EMsgAMRequestPersonaUpdateForChatServer = 4420, + k_EMsgAMPerfectWorldPayment = 4421, + k_EMsgAMPerfectWorldPaymentResponse = 4422, + k_EMsgAMECommPayPayment = 4423, + k_EMsgAMECommPayPaymentResponse = 4424, + k_EMsgBasePSRange = 5000, + k_EMsgPSCreateShoppingCart = 5001, + k_EMsgPSCreateShoppingCartResponse = 5002, + k_EMsgPSIsValidShoppingCart = 5003, + k_EMsgPSIsValidShoppingCartResponse = 5004, + k_EMsgPSRemoveLineItemFromShoppingCart = 5007, + k_EMsgPSRemoveLineItemFromShoppingCartResponse = 5008, + k_EMsgPSGetShoppingCartContents = 5009, + k_EMsgPSGetShoppingCartContentsResponse = 5010, + k_EMsgPSAddWalletCreditToShoppingCart = 5011, + k_EMsgPSAddWalletCreditToShoppingCartResponse = 5012, + k_EMsgBaseUFSRange = 5200, + k_EMsgClientUFSUploadFileRequest = 5202, + k_EMsgClientUFSUploadFileResponse = 5203, + k_EMsgClientUFSUploadFileChunk = 5204, + k_EMsgClientUFSUploadFileFinished = 5205, + k_EMsgClientUFSGetFileListForApp = 5206, + k_EMsgClientUFSGetFileListForAppResponse = 5207, + k_EMsgClientUFSDownloadRequest = 5210, + k_EMsgClientUFSDownloadResponse = 5211, + k_EMsgClientUFSDownloadChunk = 5212, + k_EMsgClientUFSLoginRequest = 5213, + k_EMsgClientUFSLoginResponse = 5214, + k_EMsgUFSReloadPartitionInfo = 5215, + k_EMsgClientUFSTransferHeartbeat = 5216, + k_EMsgUFSSynchronizeFile = 5217, + k_EMsgUFSSynchronizeFileResponse = 5218, + k_EMsgClientUFSDeleteFileRequest = 5219, + k_EMsgClientUFSDeleteFileResponse = 5220, + k_EMsgClientUFSGetUGCDetails = 5226, + k_EMsgClientUFSGetUGCDetailsResponse = 5227, + k_EMsgUFSUpdateFileFlags = 5228, + k_EMsgUFSUpdateFileFlagsResponse = 5229, + k_EMsgClientUFSGetSingleFileInfo = 5230, + k_EMsgClientUFSGetSingleFileInfoResponse = 5231, + k_EMsgClientUFSShareFile = 5232, + k_EMsgClientUFSShareFileResponse = 5233, + k_EMsgUFSReloadAccount = 5234, + k_EMsgUFSReloadAccountResponse = 5235, + k_EMsgUFSUpdateRecordBatched = 5236, + k_EMsgUFSUpdateRecordBatchedResponse = 5237, + k_EMsgUFSMigrateFile = 5238, + k_EMsgUFSMigrateFileResponse = 5239, + k_EMsgUFSGetUGCURLs = 5240, + k_EMsgUFSGetUGCURLsResponse = 5241, + k_EMsgUFSHttpUploadFileFinishRequest = 5242, + k_EMsgUFSHttpUploadFileFinishResponse = 5243, + k_EMsgUFSDownloadStartRequest = 5244, + k_EMsgUFSDownloadStartResponse = 5245, + k_EMsgUFSDownloadChunkRequest = 5246, + k_EMsgUFSDownloadChunkResponse = 5247, + k_EMsgUFSDownloadFinishRequest = 5248, + k_EMsgUFSDownloadFinishResponse = 5249, + k_EMsgUFSFlushURLCache = 5250, + k_EMsgClientUFSUploadCommit = 5251, + k_EMsgClientUFSUploadCommitResponse = 5252, + k_EMsgUFSMigrateFileAppID = 5253, + k_EMsgUFSMigrateFileAppIDResponse = 5254, + k_EMsgBaseClient2 = 5400, + k_EMsgClientRequestForgottenPasswordEmail = 5401, + k_EMsgClientRequestForgottenPasswordEmailResponse = 5402, + k_EMsgClientCreateAccountResponse = 5403, + k_EMsgClientResetForgottenPassword = 5404, + k_EMsgClientResetForgottenPasswordResponse = 5405, + k_EMsgClientInformOfResetForgottenPassword = 5407, + k_EMsgClientInformOfResetForgottenPasswordResponse = 5408, + k_EMsgClientAnonUserLogOn_Deprecated = 5409, + k_EMsgClientGamesPlayedWithDataBlob = 5410, + k_EMsgClientUpdateUserGameInfo = 5411, + k_EMsgClientFileToDownload = 5412, + k_EMsgClientFileToDownloadResponse = 5413, + k_EMsgClientLBSSetScore = 5414, + k_EMsgClientLBSSetScoreResponse = 5415, + k_EMsgClientLBSFindOrCreateLB = 5416, + k_EMsgClientLBSFindOrCreateLBResponse = 5417, + k_EMsgClientLBSGetLBEntries = 5418, + k_EMsgClientLBSGetLBEntriesResponse = 5419, + k_EMsgClientChatDeclined = 5426, + k_EMsgClientFriendMsgIncoming = 5427, + k_EMsgClientAuthList_Deprecated = 5428, + k_EMsgClientTicketAuthComplete = 5429, + k_EMsgClientIsLimitedAccount = 5430, + k_EMsgClientRequestAuthList = 5431, + k_EMsgClientAuthList = 5432, + k_EMsgClientStat = 5433, + k_EMsgClientP2PConnectionInfo = 5434, + k_EMsgClientP2PConnectionFailInfo = 5435, + k_EMsgClientGetDepotDecryptionKey = 5438, + k_EMsgClientGetDepotDecryptionKeyResponse = 5439, + k_EMsgGSPerformHardwareSurvey = 5440, + k_EMsgClientEnableTestLicense = 5443, + k_EMsgClientEnableTestLicenseResponse = 5444, + k_EMsgClientDisableTestLicense = 5445, + k_EMsgClientDisableTestLicenseResponse = 5446, + k_EMsgClientRequestValidationMail = 5448, + k_EMsgClientRequestValidationMailResponse = 5449, + k_EMsgClientCheckAppBetaPassword = 5450, + k_EMsgClientCheckAppBetaPasswordResponse = 5451, + k_EMsgClientToGC = 5452, + k_EMsgClientFromGC = 5453, + k_EMsgClientEmailAddrInfo = 5456, + k_EMsgClientPasswordChange3 = 5457, + k_EMsgClientEmailChange3 = 5458, + k_EMsgClientPersonalQAChange3 = 5459, + k_EMsgClientResetForgottenPassword3 = 5460, + k_EMsgClientRequestForgottenPasswordEmail3 = 5461, + k_EMsgClientNewLoginKey = 5463, + k_EMsgClientNewLoginKeyAccepted = 5464, + k_EMsgClientLogOnWithHash_Deprecated = 5465, + k_EMsgClientStoreUserStats2 = 5466, + k_EMsgClientStatsUpdated = 5467, + k_EMsgClientActivateOEMLicense = 5468, + k_EMsgClientRegisterOEMMachine = 5469, + k_EMsgClientRegisterOEMMachineResponse = 5470, + k_EMsgClientRequestedClientStats = 5480, + k_EMsgClientStat2Int32 = 5481, + k_EMsgClientStat2 = 5482, + k_EMsgClientVerifyPassword = 5483, + k_EMsgClientVerifyPasswordResponse = 5484, + k_EMsgClientDRMDownloadRequest = 5485, + k_EMsgClientDRMDownloadResponse = 5486, + k_EMsgClientDRMFinalResult = 5487, + k_EMsgClientGetFriendsWhoPlayGame = 5488, + k_EMsgClientGetFriendsWhoPlayGameResponse = 5489, + k_EMsgClientOGSBeginSession = 5490, + k_EMsgClientOGSBeginSessionResponse = 5491, + k_EMsgClientOGSEndSession = 5492, + k_EMsgClientOGSEndSessionResponse = 5493, + k_EMsgClientOGSWriteRow = 5494, + k_EMsgClientDRMTest = 5495, + k_EMsgClientDRMTestResult = 5496, + k_EMsgClientServerUnavailable = 5500, + k_EMsgClientServersAvailable = 5501, + k_EMsgClientRegisterAuthTicketWithCM = 5502, + k_EMsgClientGCMsgFailed = 5503, + k_EMsgClientMicroTxnAuthRequest = 5504, + k_EMsgClientMicroTxnAuthorize = 5505, + k_EMsgClientMicroTxnAuthorizeResponse = 5506, + k_EMsgClientGetMicroTxnInfo = 5508, + k_EMsgClientGetMicroTxnInfoResponse = 5509, + k_EMsgClientMarketingMessageUpdate2 = 5510, + k_EMsgClientDeregisterWithServer = 5511, + k_EMsgClientSubscribeToPersonaFeed = 5512, + k_EMsgClientLogon = 5514, + k_EMsgClientGetClientDetails = 5515, + k_EMsgClientGetClientDetailsResponse = 5516, + k_EMsgClientReportOverlayDetourFailure = 5517, + k_EMsgClientGetClientAppList = 5518, + k_EMsgClientGetClientAppListResponse = 5519, + k_EMsgClientInstallClientApp = 5520, + k_EMsgClientInstallClientAppResponse = 5521, + k_EMsgClientUninstallClientApp = 5522, + k_EMsgClientUninstallClientAppResponse = 5523, + k_EMsgClientSetClientAppUpdateState = 5524, + k_EMsgClientSetClientAppUpdateStateResponse = 5525, + k_EMsgClientRequestEncryptedAppTicket = 5526, + k_EMsgClientRequestEncryptedAppTicketResponse = 5527, + k_EMsgClientWalletInfoUpdate = 5528, + k_EMsgClientLBSSetUGC = 5529, + k_EMsgClientLBSSetUGCResponse = 5530, + k_EMsgClientAMGetClanOfficers = 5531, + k_EMsgClientAMGetClanOfficersResponse = 5532, + k_EMsgClientFriendProfileInfo = 5535, + k_EMsgClientFriendProfileInfoResponse = 5536, + k_EMsgClientUpdateMachineAuth = 5537, + k_EMsgClientUpdateMachineAuthResponse = 5538, + k_EMsgClientReadMachineAuth = 5539, + k_EMsgClientReadMachineAuthResponse = 5540, + k_EMsgClientRequestMachineAuth = 5541, + k_EMsgClientRequestMachineAuthResponse = 5542, + k_EMsgClientScreenshotsChanged = 5543, + k_EMsgClientGetCDNAuthToken = 5546, + k_EMsgClientGetCDNAuthTokenResponse = 5547, + k_EMsgClientDownloadRateStatistics = 5548, + k_EMsgClientRequestAccountData = 5549, + k_EMsgClientRequestAccountDataResponse = 5550, + k_EMsgClientResetForgottenPassword4 = 5551, + k_EMsgClientHideFriend = 5552, + k_EMsgClientFriendsGroupsList = 5553, + k_EMsgClientGetClanActivityCounts = 5554, + k_EMsgClientGetClanActivityCountsResponse = 5555, + k_EMsgClientOGSReportString = 5556, + k_EMsgClientOGSReportBug = 5557, + k_EMsgClientSentLogs = 5558, + k_EMsgClientLogonGameServer = 5559, + k_EMsgAMClientCreateFriendsGroup = 5560, + k_EMsgAMClientCreateFriendsGroupResponse = 5561, + k_EMsgAMClientDeleteFriendsGroup = 5562, + k_EMsgAMClientDeleteFriendsGroupResponse = 5563, + k_EMsgAMClientManageFriendsGroup = 5564, + k_EMsgAMClientManageFriendsGroupResponse = 5565, + k_EMsgAMClientAddFriendToGroup = 5566, + k_EMsgAMClientAddFriendToGroupResponse = 5567, + k_EMsgAMClientRemoveFriendFromGroup = 5568, + k_EMsgAMClientRemoveFriendFromGroupResponse = 5569, + k_EMsgClientAMGetPersonaNameHistory = 5570, + k_EMsgClientAMGetPersonaNameHistoryResponse = 5571, + k_EMsgClientRequestFreeLicense = 5572, + k_EMsgClientRequestFreeLicenseResponse = 5573, + k_EMsgClientDRMDownloadRequestWithCrashData = 5574, + k_EMsgClientAuthListAck = 5575, + k_EMsgClientItemAnnouncements = 5576, + k_EMsgClientRequestItemAnnouncements = 5577, + k_EMsgClientFriendMsgEchoToSender = 5578, + k_EMsgClientCommentNotifications = 5582, + k_EMsgClientRequestCommentNotifications = 5583, + k_EMsgClientPersonaChangeResponse = 5584, + k_EMsgClientRequestWebAPIAuthenticateUserNonce = 5585, + k_EMsgClientRequestWebAPIAuthenticateUserNonceResponse = 5586, + k_EMsgClientPlayerNicknameList = 5587, + k_EMsgAMClientSetPlayerNickname = 5588, + k_EMsgAMClientSetPlayerNicknameResponse = 5589, + k_EMsgClientGetNumberOfCurrentPlayersDP = 5592, + k_EMsgClientGetNumberOfCurrentPlayersDPResponse = 5593, + k_EMsgClientServiceMethodLegacy = 5594, + k_EMsgClientServiceMethodLegacyResponse = 5595, + k_EMsgClientFriendUserStatusPublished = 5596, + k_EMsgClientCurrentUIMode = 5597, + k_EMsgClientVanityURLChangedNotification = 5598, + k_EMsgClientUserNotifications = 5599, + k_EMsgBaseDFS = 5600, + k_EMsgDFSGetFile = 5601, + k_EMsgDFSInstallLocalFile = 5602, + k_EMsgDFSConnection = 5603, + k_EMsgDFSConnectionReply = 5604, + k_EMsgClientDFSAuthenticateRequest = 5605, + k_EMsgClientDFSAuthenticateResponse = 5606, + k_EMsgClientDFSEndSession = 5607, + k_EMsgDFSPurgeFile = 5608, + k_EMsgDFSRouteFile = 5609, + k_EMsgDFSGetFileFromServer = 5610, + k_EMsgDFSAcceptedResponse = 5611, + k_EMsgDFSRequestPingback = 5612, + k_EMsgDFSRecvTransmitFile = 5613, + k_EMsgDFSSendTransmitFile = 5614, + k_EMsgDFSRequestPingback2 = 5615, + k_EMsgDFSResponsePingback2 = 5616, + k_EMsgClientDFSDownloadStatus = 5617, + k_EMsgDFSStartTransfer = 5618, + k_EMsgDFSTransferComplete = 5619, + k_EMsgDFSRouteFileResponse = 5620, + k_EMsgClientNetworkingCertRequest = 5621, + k_EMsgClientNetworkingCertRequestResponse = 5622, + k_EMsgClientChallengeRequest = 5623, + k_EMsgClientChallengeResponse = 5624, + k_EMsgBadgeCraftedNotification = 5625, + k_EMsgClientNetworkingMobileCertRequest = 5626, + k_EMsgClientNetworkingMobileCertRequestResponse = 5627, + k_EMsgBaseMDS = 5800, + k_EMsgMDSGetDepotDecryptionKey = 5812, + k_EMsgMDSGetDepotDecryptionKeyResponse = 5813, + k_EMsgMDSContentServerConfigRequest = 5827, + k_EMsgMDSContentServerConfig = 5828, + k_EMsgMDSGetDepotManifest = 5829, + k_EMsgMDSGetDepotManifestResponse = 5830, + k_EMsgMDSGetDepotManifestChunk = 5831, + k_EMsgMDSGetDepotChunk = 5832, + k_EMsgMDSGetDepotChunkResponse = 5833, + k_EMsgMDSGetDepotChunkChunk = 5834, + k_EMsgMDSToCSFlushChunk = 5844, + k_EMsgMDSMigrateChunk = 5847, + k_EMsgMDSMigrateChunkResponse = 5848, + k_EMsgMDSToCSFlushManifest = 5849, + k_EMsgCSBase = 6200, + k_EMsgCSPing = 6201, + k_EMsgCSPingResponse = 6202, + k_EMsgGMSBase = 6400, + k_EMsgGMSGameServerReplicate = 6401, + k_EMsgClientGMSServerQuery = 6403, + k_EMsgGMSClientServerQueryResponse = 6404, + k_EMsgAMGMSGameServerUpdate = 6405, + k_EMsgAMGMSGameServerRemove = 6406, + k_EMsgGameServerOutOfDate = 6407, + k_EMsgDeviceAuthorizationBase = 6500, + k_EMsgClientAuthorizeLocalDeviceRequest = 6501, + k_EMsgClientAuthorizeLocalDeviceResponse = 6502, + k_EMsgClientDeauthorizeDeviceRequest = 6503, + k_EMsgClientDeauthorizeDevice = 6504, + k_EMsgClientUseLocalDeviceAuthorizations = 6505, + k_EMsgClientGetAuthorizedDevices = 6506, + k_EMsgClientGetAuthorizedDevicesResponse = 6507, + k_EMsgAMNotifySessionDeviceAuthorized = 6508, + k_EMsgClientAuthorizeLocalDeviceNotification = 6509, + k_EMsgMMSBase = 6600, + k_EMsgClientMMSCreateLobby = 6601, + k_EMsgClientMMSCreateLobbyResponse = 6602, + k_EMsgClientMMSJoinLobby = 6603, + k_EMsgClientMMSJoinLobbyResponse = 6604, + k_EMsgClientMMSLeaveLobby = 6605, + k_EMsgClientMMSLeaveLobbyResponse = 6606, + k_EMsgClientMMSGetLobbyList = 6607, + k_EMsgClientMMSGetLobbyListResponse = 6608, + k_EMsgClientMMSSetLobbyData = 6609, + k_EMsgClientMMSSetLobbyDataResponse = 6610, + k_EMsgClientMMSGetLobbyData = 6611, + k_EMsgClientMMSLobbyData = 6612, + k_EMsgClientMMSSendLobbyChatMsg = 6613, + k_EMsgClientMMSLobbyChatMsg = 6614, + k_EMsgClientMMSSetLobbyOwner = 6615, + k_EMsgClientMMSSetLobbyOwnerResponse = 6616, + k_EMsgClientMMSSetLobbyGameServer = 6617, + k_EMsgClientMMSLobbyGameServerSet = 6618, + k_EMsgClientMMSUserJoinedLobby = 6619, + k_EMsgClientMMSUserLeftLobby = 6620, + k_EMsgClientMMSInviteToLobby = 6621, + k_EMsgClientMMSFlushFrenemyListCache = 6622, + k_EMsgClientMMSFlushFrenemyListCacheResponse = 6623, + k_EMsgClientMMSSetLobbyLinked = 6624, + k_EMsgClientMMSSetRatelimitPolicyOnClient = 6625, + k_EMsgClientMMSGetLobbyStatus = 6626, + k_EMsgClientMMSGetLobbyStatusResponse = 6627, + k_EMsgMMSGetLobbyList = 6628, + k_EMsgMMSGetLobbyListResponse = 6629, + k_EMsgNonStdMsgBase = 6800, + k_EMsgNonStdMsgMemcached = 6801, + k_EMsgNonStdMsgHTTPServer = 6802, + k_EMsgNonStdMsgHTTPClient = 6803, + k_EMsgNonStdMsgWGResponse = 6804, + k_EMsgNonStdMsgPHPSimulator = 6805, + k_EMsgNonStdMsgChase = 6806, + k_EMsgNonStdMsgDFSTransfer = 6807, + k_EMsgNonStdMsgTests = 6808, + k_EMsgNonStdMsgUMQpipeAAPL = 6809, + k_EMSgNonStdMsgSyslog = 6810, + k_EMsgNonStdMsgLogsink = 6811, + k_EMsgNonStdMsgSteam2Emulator = 6812, + k_EMsgNonStdMsgRTMPServer = 6813, + k_EMsgNonStdMsgWebSocket = 6814, + k_EMsgNonStdMsgRedis = 6815, + k_EMsgUDSBase = 7000, + k_EMsgClientUDSP2PSessionStarted = 7001, + k_EMsgClientUDSP2PSessionEnded = 7002, + k_EMsgUDSRenderUserAuth = 7003, + k_EMsgUDSRenderUserAuthResponse = 7004, + k_EMsgClientInviteToGame = 7005, + k_EMsgUDSHasSession = 7006, + k_EMsgUDSHasSessionResponse = 7007, + k_EMsgMPASBase = 7100, + k_EMsgMPASVacBanReset = 7101, + k_EMsgKGSBase = 7200, + k_EMsgUCMBase = 7300, + k_EMsgClientUCMAddScreenshot = 7301, + k_EMsgClientUCMAddScreenshotResponse = 7302, + k_EMsgUCMResetCommunityContent = 7307, + k_EMsgUCMResetCommunityContentResponse = 7308, + k_EMsgClientUCMDeleteScreenshot = 7309, + k_EMsgClientUCMDeleteScreenshotResponse = 7310, + k_EMsgClientUCMPublishFile = 7311, + k_EMsgClientUCMPublishFileResponse = 7312, + k_EMsgClientUCMDeletePublishedFile = 7315, + k_EMsgClientUCMDeletePublishedFileResponse = 7316, + k_EMsgClientUCMUpdatePublishedFile = 7325, + k_EMsgClientUCMUpdatePublishedFileResponse = 7326, + k_EMsgUCMUpdatePublishedFile = 7327, + k_EMsgUCMUpdatePublishedFileResponse = 7328, + k_EMsgUCMDeletePublishedFile = 7329, + k_EMsgUCMDeletePublishedFileResponse = 7330, + k_EMsgUCMUpdatePublishedFileStat = 7331, + k_EMsgUCMReloadPublishedFile = 7337, + k_EMsgUCMReloadUserFileListCaches = 7338, + k_EMsgUCMPublishedFileReported = 7339, + k_EMsgUCMPublishedFilePreviewAdd = 7341, + k_EMsgUCMPublishedFilePreviewAddResponse = 7342, + k_EMsgUCMPublishedFilePreviewRemove = 7343, + k_EMsgUCMPublishedFilePreviewRemoveResponse = 7344, + k_EMsgUCMPublishedFileSubscribed = 7349, + k_EMsgUCMPublishedFileUnsubscribed = 7350, + k_EMsgUCMPublishFile = 7351, + k_EMsgUCMPublishFileResponse = 7352, + k_EMsgUCMPublishedFileChildAdd = 7353, + k_EMsgUCMPublishedFileChildAddResponse = 7354, + k_EMsgUCMPublishedFileChildRemove = 7355, + k_EMsgUCMPublishedFileChildRemoveResponse = 7356, + k_EMsgUCMPublishedFileParentChanged = 7359, + k_EMsgClientUCMSetUserPublishedFileAction = 7364, + k_EMsgClientUCMSetUserPublishedFileActionResponse = 7365, + k_EMsgClientUCMEnumeratePublishedFilesByUserAction = 7366, + k_EMsgClientUCMEnumeratePublishedFilesByUserActionResponse = 7367, + k_EMsgUCMGetUserSubscribedFiles = 7369, + k_EMsgUCMGetUserSubscribedFilesResponse = 7370, + k_EMsgUCMFixStatsPublishedFile = 7371, + k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdates = 7378, + k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse = 7379, + k_EMsgUCMPublishedFileContentUpdated = 7380, + k_EMsgClientUCMPublishedFileUpdated = 7381, + k_EMsgClientWorkshopItemChangesRequest = 7382, + k_EMsgClientWorkshopItemChangesResponse = 7383, + k_EMsgFSBase = 7500, + k_EMsgClientRichPresenceUpload = 7501, + k_EMsgClientRichPresenceRequest = 7502, + k_EMsgClientRichPresenceInfo = 7503, + k_EMsgFSRichPresenceRequest = 7504, + k_EMsgFSRichPresenceResponse = 7505, + k_EMsgFSComputeFrenematrix = 7506, + k_EMsgFSComputeFrenematrixResponse = 7507, + k_EMsgFSPlayStatusNotification = 7508, + k_EMsgFSAddOrRemoveFollower = 7510, + k_EMsgFSAddOrRemoveFollowerResponse = 7511, + k_EMsgFSUpdateFollowingList = 7512, + k_EMsgFSCommentNotification = 7513, + k_EMsgFSCommentNotificationViewed = 7514, + k_EMsgClientFSGetFollowerCount = 7515, + k_EMsgClientFSGetFollowerCountResponse = 7516, + k_EMsgClientFSGetIsFollowing = 7517, + k_EMsgClientFSGetIsFollowingResponse = 7518, + k_EMsgClientFSEnumerateFollowingList = 7519, + k_EMsgClientFSEnumerateFollowingListResponse = 7520, + k_EMsgFSGetPendingNotificationCount = 7521, + k_EMsgFSGetPendingNotificationCountResponse = 7522, + k_EMsgClientChatOfflineMessageNotification = 7523, + k_EMsgClientChatRequestOfflineMessageCount = 7524, + k_EMsgClientChatGetFriendMessageHistory = 7525, + k_EMsgClientChatGetFriendMessageHistoryResponse = 7526, + k_EMsgClientChatGetFriendMessageHistoryForOfflineMessages = 7527, + k_EMsgClientFSGetFriendsSteamLevels = 7528, + k_EMsgClientFSGetFriendsSteamLevelsResponse = 7529, + k_EMsgAMRequestFriendData = 7530, + k_EMsgDRMRange2 = 7600, + k_EMsgCEGVersionSetEnableDisableRequest = 7600, + k_EMsgCEGVersionSetEnableDisableResponse = 7601, + k_EMsgCEGPropStatusDRMSRequest = 7602, + k_EMsgCEGPropStatusDRMSResponse = 7603, + k_EMsgCEGWhackFailureReportRequest = 7604, + k_EMsgCEGWhackFailureReportResponse = 7605, + k_EMsgDRMSFetchVersionSet = 7606, + k_EMsgDRMSFetchVersionSetResponse = 7607, + k_EMsgEconBase = 7700, + k_EMsgEconTrading_InitiateTradeRequest = 7701, + k_EMsgEconTrading_InitiateTradeProposed = 7702, + k_EMsgEconTrading_InitiateTradeResponse = 7703, + k_EMsgEconTrading_InitiateTradeResult = 7704, + k_EMsgEconTrading_StartSession = 7705, + k_EMsgEconTrading_CancelTradeRequest = 7706, + k_EMsgEconFlushInventoryCache = 7707, + k_EMsgEconFlushInventoryCacheResponse = 7708, + k_EMsgEconCDKeyProcessTransaction = 7711, + k_EMsgEconCDKeyProcessTransactionResponse = 7712, + k_EMsgEconGetErrorLogs = 7713, + k_EMsgEconGetErrorLogsResponse = 7714, + k_EMsgRMRange = 7800, + k_EMsgRMTestVerisignOTP = 7800, + k_EMsgRMTestVerisignOTPResponse = 7801, + k_EMsgRMDeleteMemcachedKeys = 7803, + k_EMsgRMRemoteInvoke = 7804, + k_EMsgBadLoginIPList = 7805, + k_EMsgRMMsgTraceAddTrigger = 7806, + k_EMsgRMMsgTraceRemoveTrigger = 7807, + k_EMsgRMMsgTraceEvent = 7808, + k_EMsgUGSBase = 7900, + k_EMsgUGSUpdateGlobalStats = 7900, + k_EMsgClientUGSGetGlobalStats = 7901, + k_EMsgClientUGSGetGlobalStatsResponse = 7902, + k_EMsgStoreBase = 8000, + k_EMsgUMQBase = 8100, + k_EMsgUMQLogonRequest = 8100, + k_EMsgUMQLogonResponse = 8101, + k_EMsgUMQLogoffRequest = 8102, + k_EMsgUMQLogoffResponse = 8103, + k_EMsgUMQSendChatMessage = 8104, + k_EMsgUMQIncomingChatMessage = 8105, + k_EMsgUMQPoll = 8106, + k_EMsgUMQPollResults = 8107, + k_EMsgUMQ2AM_ClientMsgBatch = 8108, + k_EMsgWorkshopBase = 8200, + k_EMsgWebAPIBase = 8300, + k_EMsgWebAPIValidateOAuth2Token = 8300, + k_EMsgWebAPIValidateOAuth2TokenResponse = 8301, + k_EMsgWebAPIRegisterGCInterfaces = 8303, + k_EMsgWebAPIInvalidateOAuthClientCache = 8304, + k_EMsgWebAPIInvalidateOAuthTokenCache = 8305, + k_EMsgWebAPISetSecrets = 8306, + k_EMsgBackpackBase = 8400, + k_EMsgBackpackAddToCurrency = 8401, + k_EMsgBackpackAddToCurrencyResponse = 8402, + k_EMsgCREBase = 8500, + k_EMsgCREItemVoteSummary = 8503, + k_EMsgCREItemVoteSummaryResponse = 8504, + k_EMsgCREUpdateUserPublishedItemVote = 8507, + k_EMsgCREUpdateUserPublishedItemVoteResponse = 8508, + k_EMsgCREGetUserPublishedItemVoteDetails = 8509, + k_EMsgCREGetUserPublishedItemVoteDetailsResponse = 8510, + k_EMsgSecretsBase = 8600, + k_EMsgSecretsRequestCredentialPair = 8600, + k_EMsgSecretsCredentialPairResponse = 8601, + k_EMsgBoxMonitorBase = 8700, + k_EMsgBoxMonitorReportRequest = 8700, + k_EMsgBoxMonitorReportResponse = 8701, + k_EMsgLogsinkBase = 8800, + k_EMsgLogsinkWriteReport = 8800, + k_EMsgPICSBase = 8900, + k_EMsgClientPICSChangesSinceRequest = 8901, + k_EMsgClientPICSChangesSinceResponse = 8902, + k_EMsgClientPICSProductInfoRequest = 8903, + k_EMsgClientPICSProductInfoResponse = 8904, + k_EMsgClientPICSAccessTokenRequest = 8905, + k_EMsgClientPICSAccessTokenResponse = 8906, + k_EMsgWorkerProcess = 9000, + k_EMsgWorkerProcessPingRequest = 9000, + k_EMsgWorkerProcessPingResponse = 9001, + k_EMsgWorkerProcessShutdown = 9002, + k_EMsgDRMWorkerProcess = 9100, + k_EMsgDRMWorkerProcessDRMAndSign = 9100, + k_EMsgDRMWorkerProcessDRMAndSignResponse = 9101, + k_EMsgDRMWorkerProcessSteamworksInfoRequest = 9102, + k_EMsgDRMWorkerProcessSteamworksInfoResponse = 9103, + k_EMsgDRMWorkerProcessInstallDRMDLLRequest = 9104, + k_EMsgDRMWorkerProcessInstallDRMDLLResponse = 9105, + k_EMsgDRMWorkerProcessSecretIdStringRequest = 9106, + k_EMsgDRMWorkerProcessSecretIdStringResponse = 9107, + k_EMsgDRMWorkerProcessInstallProcessedFilesRequest = 9110, + k_EMsgDRMWorkerProcessInstallProcessedFilesResponse = 9111, + k_EMsgDRMWorkerProcessExamineBlobRequest = 9112, + k_EMsgDRMWorkerProcessExamineBlobResponse = 9113, + k_EMsgDRMWorkerProcessDescribeSecretRequest = 9114, + k_EMsgDRMWorkerProcessDescribeSecretResponse = 9115, + k_EMsgDRMWorkerProcessBackfillOriginalRequest = 9116, + k_EMsgDRMWorkerProcessBackfillOriginalResponse = 9117, + k_EMsgDRMWorkerProcessValidateDRMDLLRequest = 9118, + k_EMsgDRMWorkerProcessValidateDRMDLLResponse = 9119, + k_EMsgDRMWorkerProcessValidateFileRequest = 9120, + k_EMsgDRMWorkerProcessValidateFileResponse = 9121, + k_EMsgDRMWorkerProcessSplitAndInstallRequest = 9122, + k_EMsgDRMWorkerProcessSplitAndInstallResponse = 9123, + k_EMsgDRMWorkerProcessGetBlobRequest = 9124, + k_EMsgDRMWorkerProcessGetBlobResponse = 9125, + k_EMsgDRMWorkerProcessEvaluateCrashRequest = 9126, + k_EMsgDRMWorkerProcessEvaluateCrashResponse = 9127, + k_EMsgDRMWorkerProcessAnalyzeFileRequest = 9128, + k_EMsgDRMWorkerProcessAnalyzeFileResponse = 9129, + k_EMsgDRMWorkerProcessUnpackBlobRequest = 9130, + k_EMsgDRMWorkerProcessUnpackBlobResponse = 9131, + k_EMsgDRMWorkerProcessInstallAllRequest = 9132, + k_EMsgDRMWorkerProcessInstallAllResponse = 9133, + k_EMsgTestWorkerProcess = 9200, + k_EMsgTestWorkerProcessLoadUnloadModuleRequest = 9200, + k_EMsgTestWorkerProcessLoadUnloadModuleResponse = 9201, + k_EMsgTestWorkerProcessServiceModuleCallRequest = 9202, + k_EMsgTestWorkerProcessServiceModuleCallResponse = 9203, + k_EMsgQuestServerBase = 9300, + k_EMsgClientGetEmoticonList = 9330, + k_EMsgClientEmoticonList = 9331, + k_EMsgSLCBase = 9400, + k_EMsgSLCUserSessionStatus = 9400, + k_EMsgSLCRequestUserSessionStatus = 9401, + k_EMsgSLCSharedLicensesLockStatus = 9402, + k_EMsgClientSharedLibraryLockStatus = 9405, + k_EMsgClientSharedLibraryStopPlaying = 9406, + k_EMsgSLCOwnerLibraryChanged = 9407, + k_EMsgSLCSharedLibraryChanged = 9408, + k_EMsgRemoteClientBase = 9500, + k_EMsgRemoteClientAuth_OBSOLETE = 9500, + k_EMsgRemoteClientAuthResponse_OBSOLETE = 9501, + k_EMsgRemoteClientAppStatus = 9502, + k_EMsgRemoteClientStartStream = 9503, + k_EMsgRemoteClientStartStreamResponse = 9504, + k_EMsgRemoteClientPing = 9505, + k_EMsgRemoteClientPingResponse = 9506, + k_EMsgClientUnlockStreaming = 9507, + k_EMsgClientUnlockStreamingResponse = 9508, + k_EMsgRemoteClientAcceptEULA = 9509, + k_EMsgRemoteClientGetControllerConfig = 9510, + k_EMsgRemoteClientGetControllerConfigResponse = 9511, + k_EMsgRemoteClientStreamingEnabled = 9512, + k_EMsgClientUnlockHEVC = 9513, + k_EMsgClientUnlockHEVCResponse = 9514, + k_EMsgRemoteClientStatusRequest = 9515, + k_EMsgRemoteClientStatusResponse = 9516, + k_EMsgClientConcurrentSessionsBase = 9600, + k_EMsgClientPlayingSessionState = 9600, + k_EMsgClientKickPlayingSession = 9601, + k_EMsgClientBroadcastBase = 9700, + k_EMsgClientBroadcastInit = 9700, + k_EMsgClientBroadcastFrames = 9701, + k_EMsgClientBroadcastDisconnect = 9702, + k_EMsgClientBroadcastScreenshot = 9703, + k_EMsgClientBroadcastUploadConfig = 9704, + k_EMsgBaseClient3 = 9800, + k_EMsgClientVoiceCallPreAuthorize = 9800, + k_EMsgClientVoiceCallPreAuthorizeResponse = 9801, + k_EMsgClientServerTimestampRequest = 9802, + k_EMsgClientServerTimestampResponse = 9803, + k_EMsgServiceMethodCallFromClientNonAuthed = 9804, + k_EMsgClientHello = 9805, + k_EMsgClientLANP2PBase = 9900, + k_EMsgClientLANP2PRequestChunk = 9900, + k_EMsgClientLANP2PRequestChunkResponse = 9901, + k_EMsgClientLANP2PMax = 9999, + k_EMsgBaseWatchdogServer = 10000, + k_EMsgNotifyWatchdog = 10000, + k_EMsgClientSiteLicenseBase = 10100, + k_EMsgClientSiteLicenseSiteInfoNotification = 10100, + k_EMsgClientSiteLicenseCheckout = 10101, + k_EMsgClientSiteLicenseCheckoutResponse = 10102, + k_EMsgClientSiteLicenseGetAvailableSeats = 10103, + k_EMsgClientSiteLicenseGetAvailableSeatsResponse = 10104, + k_EMsgClientSiteLicenseGetContentCacheInfo = 10105, + k_EMsgClientSiteLicenseGetContentCacheInfoResponse = 10106, + k_EMsgBaseChatServer = 12000, + k_EMsgChatServerGetPendingNotificationCount = 12000, + k_EMsgChatServerGetPendingNotificationCountResponse = 12001, + k_EMsgBaseSecretServer = 12100, + k_EMsgServerSecretChanged = 12100 +}; +bool EMsg_IsValid(int value); +constexpr EMsg EMsg_MIN = k_EMsgInvalid; +constexpr EMsg EMsg_MAX = k_EMsgBaseSecretServer; +constexpr int EMsg_ARRAYSIZE = EMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EMsg_descriptor(); +template +inline const std::string& EMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EMsg_descriptor(), enum_t_value); +} +inline bool EMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EMsg_descriptor(), name, value); +} +enum EClientPersonaStateFlag : int { + k_EClientPersonaStateFlagStatus = 1, + k_EClientPersonaStateFlagPlayerName = 2, + k_EClientPersonaStateFlagQueryPort = 4, + k_EClientPersonaStateFlagSourceID = 8, + k_EClientPersonaStateFlagPresence = 16, + k_EClientPersonaStateFlagLastSeen = 64, + k_EClientPersonaStateFlagUserClanRank = 128, + k_EClientPersonaStateGameExtraInfo = 256, + k_EClientPersonaStateGameDataBlob = 512, + k_EClientPersonaStateFlagClanData = 1024, + k_EClientPersonaStateFlagFacebook = 2048, + k_EClientPersonaStateFlagRichPresence = 4096, + k_EClientPersonaStateFlagBroadcast = 8192, + k_EClientPersonaStateFlagWatching = 16384 +}; +bool EClientPersonaStateFlag_IsValid(int value); +constexpr EClientPersonaStateFlag EClientPersonaStateFlag_MIN = k_EClientPersonaStateFlagStatus; +constexpr EClientPersonaStateFlag EClientPersonaStateFlag_MAX = k_EClientPersonaStateFlagWatching; +constexpr int EClientPersonaStateFlag_ARRAYSIZE = EClientPersonaStateFlag_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientPersonaStateFlag_descriptor(); +template +inline const std::string& EClientPersonaStateFlag_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EClientPersonaStateFlag_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EClientPersonaStateFlag_descriptor(), enum_t_value); +} +inline bool EClientPersonaStateFlag_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EClientPersonaStateFlag* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EClientPersonaStateFlag_descriptor(), name, value); +} +enum EMsgClanAccountFlags : int { + k_EMsgClanAccountFlagPublic = 1, + k_EMsgClanAccountFlagLarge = 2, + k_EMsgClanAccountFlagLocked = 4, + k_EMsgClanAccountFlagDisabled = 8, + k_EMsgClanAccountFlagOGG = 16 +}; +bool EMsgClanAccountFlags_IsValid(int value); +constexpr EMsgClanAccountFlags EMsgClanAccountFlags_MIN = k_EMsgClanAccountFlagPublic; +constexpr EMsgClanAccountFlags EMsgClanAccountFlags_MAX = k_EMsgClanAccountFlagOGG; +constexpr int EMsgClanAccountFlags_ARRAYSIZE = EMsgClanAccountFlags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EMsgClanAccountFlags_descriptor(); +template +inline const std::string& EMsgClanAccountFlags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EMsgClanAccountFlags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EMsgClanAccountFlags_descriptor(), enum_t_value); +} +inline bool EMsgClanAccountFlags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EMsgClanAccountFlags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EMsgClanAccountFlags_descriptor(), name, value); +} +enum ESteamReviewScore : int { + k_ESteamReviewScore_OverwhelminglyPositive = 9, + k_ESteamReviewScore_VeryPositive = 8, + k_ESteamReviewScore_Positive = 7, + k_ESteamReviewScore_MostlyPositive = 6, + k_ESteamReviewScore_Mixed = 5, + k_ESteamReviewScore_MostlyNegative = 4, + k_ESteamReviewScore_Negative = 3, + k_ESteamReviewScore_VeryNegative = 2, + k_ESteamReviewScore_OverwhelminglyNegative = 1, + k_ESteamReviewScore_None = 0 +}; +bool ESteamReviewScore_IsValid(int value); +constexpr ESteamReviewScore ESteamReviewScore_MIN = k_ESteamReviewScore_None; +constexpr ESteamReviewScore ESteamReviewScore_MAX = k_ESteamReviewScore_OverwhelminglyPositive; +constexpr int ESteamReviewScore_ARRAYSIZE = ESteamReviewScore_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamReviewScore_descriptor(); +template +inline const std::string& ESteamReviewScore_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESteamReviewScore_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESteamReviewScore_descriptor(), enum_t_value); +} +inline bool ESteamReviewScore_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamReviewScore* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESteamReviewScore_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EMsg>() { + return ::EMsg_descriptor(); +} +template <> struct is_proto_enum< ::EClientPersonaStateFlag> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EClientPersonaStateFlag>() { + return ::EClientPersonaStateFlag_descriptor(); +} +template <> struct is_proto_enum< ::EMsgClanAccountFlags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EMsgClanAccountFlags>() { + return ::EMsgClanAccountFlags_descriptor(); +} +template <> struct is_proto_enum< ::ESteamReviewScore> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESteamReviewScore>() { + return ::ESteamReviewScore_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_enums_5fclientserver_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.cc new file mode 100644 index 0000000..90649df --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.cc @@ -0,0 +1,4581 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: fatdemo.proto + +#include "fatdemo.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; + +PROTOBUF_CONSTEXPR MLDict::MLDict( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.val_int_)*/0 + , /*decltype(_impl_.val_float_)*/0} {} +struct MLDictDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLDictDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLDictDefaultTypeInternal() {} + union { + MLDict _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLDictDefaultTypeInternal _MLDict_default_instance_; +PROTOBUF_CONSTEXPR MLEvent::MLEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct MLEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLEventDefaultTypeInternal() {} + union { + MLEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLEventDefaultTypeInternal _MLEvent_default_instance_; +PROTOBUF_CONSTEXPR MLMatchState::MLMatchState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.phase_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.round_)*/0 + , /*decltype(_impl_.score_ct_)*/0 + , /*decltype(_impl_.score_t_)*/0} {} +struct MLMatchStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLMatchStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLMatchStateDefaultTypeInternal() {} + union { + MLMatchState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLMatchStateDefaultTypeInternal _MLMatchState_default_instance_; +PROTOBUF_CONSTEXPR MLRoundState::MLRoundState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.phase_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.bomb_state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.win_team_)*/0} {} +struct MLRoundStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLRoundStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLRoundStateDefaultTypeInternal() {} + union { + MLRoundState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLRoundStateDefaultTypeInternal _MLRoundState_default_instance_; +PROTOBUF_CONSTEXPR MLWeaponState::MLWeaponState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.ammo_clip_)*/0 + , /*decltype(_impl_.ammo_clip_max_)*/0 + , /*decltype(_impl_.ammo_reserve_)*/0 + , /*decltype(_impl_.recoil_index_)*/0} {} +struct MLWeaponStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLWeaponStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLWeaponStateDefaultTypeInternal() {} + union { + MLWeaponState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLWeaponStateDefaultTypeInternal _MLWeaponState_default_instance_; +PROTOBUF_CONSTEXPR MLPlayerState::MLPlayerState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.weapons_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.clan_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.abspos_)*/nullptr + , /*decltype(_impl_.eyeangle_)*/nullptr + , /*decltype(_impl_.eyeangle_fwd_)*/nullptr + , /*decltype(_impl_.account_id_)*/0 + , /*decltype(_impl_.entindex_)*/0 + , /*decltype(_impl_.team_)*/0 + , /*decltype(_impl_.health_)*/0 + , /*decltype(_impl_.armor_)*/0 + , /*decltype(_impl_.flashed_)*/0 + , /*decltype(_impl_.smoked_)*/0 + , /*decltype(_impl_.money_)*/0 + , /*decltype(_impl_.round_kills_)*/0 + , /*decltype(_impl_.round_killhs_)*/0 + , /*decltype(_impl_.burning_)*/0 + , /*decltype(_impl_.helmet_)*/false + , /*decltype(_impl_.defuse_kit_)*/false + , /*decltype(_impl_.player_slot_)*/-1} {} +struct MLPlayerStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLPlayerStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLPlayerStateDefaultTypeInternal() {} + union { + MLPlayerState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLPlayerStateDefaultTypeInternal _MLPlayerState_default_instance_; +PROTOBUF_CONSTEXPR MLGameState::MLGameState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.match_)*/nullptr + , /*decltype(_impl_.round_)*/nullptr} {} +struct MLGameStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLGameStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLGameStateDefaultTypeInternal() {} + union { + MLGameState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLGameStateDefaultTypeInternal _MLGameState_default_instance_; +PROTOBUF_CONSTEXPR MLDemoHeader::MLDemoHeader( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tick_rate_)*/0 + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.steam_universe_)*/0u} {} +struct MLDemoHeaderDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLDemoHeaderDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLDemoHeaderDefaultTypeInternal() {} + union { + MLDemoHeader _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLDemoHeaderDefaultTypeInternal _MLDemoHeader_default_instance_; +PROTOBUF_CONSTEXPR MLTick::MLTick( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.events_)*/{} + , /*decltype(_impl_.state_)*/nullptr + , /*decltype(_impl_.tick_count_)*/0} {} +struct MLTickDefaultTypeInternal { + PROTOBUF_CONSTEXPR MLTickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MLTickDefaultTypeInternal() {} + union { + MLTick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLTickDefaultTypeInternal _MLTick_default_instance_; +PROTOBUF_CONSTEXPR VacNetShot::VacNetShot( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.delta_yaw_window_)*/{} + , /*decltype(_impl_.delta_pitch_window_)*/{} + , /*decltype(_impl_.steamid_player_)*/uint64_t{0u} + , /*decltype(_impl_.round_number_)*/0 + , /*decltype(_impl_.hit_type_)*/0 + , /*decltype(_impl_.weapon_type_)*/0 + , /*decltype(_impl_.distance_to_hurt_target_)*/0} {} +struct VacNetShotDefaultTypeInternal { + PROTOBUF_CONSTEXPR VacNetShotDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~VacNetShotDefaultTypeInternal() {} + union { + VacNetShot _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VacNetShotDefaultTypeInternal _VacNetShot_default_instance_; +static ::_pb::Metadata file_level_metadata_fatdemo_2eproto[10]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_fatdemo_2eproto[3]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_fatdemo_2eproto = nullptr; + +const uint32_t TableStruct_fatdemo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::MLDict, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLDict, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_string_), + PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_int_), + PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_float_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_.data_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLMatchState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.game_mode_), + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.phase_), + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.round_), + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.score_ct_), + PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.score_t_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLRoundState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.phase_), + PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.win_team_), + PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.bomb_state_), + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_clip_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_clip_max_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_reserve_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.recoil_index_), + 2, + 0, + 3, + 4, + 5, + 6, + 1, + 7, + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.player_slot_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.entindex_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.clan_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.team_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.abspos_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.eyeangle_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.eyeangle_fwd_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.health_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.armor_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.flashed_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.smoked_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.money_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.round_kills_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.round_killhs_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.burning_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.helmet_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.defuse_kit_), + PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.weapons_), + 5, + 18, + 6, + 0, + 1, + 7, + 2, + 3, + 4, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + ~0u, + PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLGameState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.match_), + PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.round_), + PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.players_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.map_name_), + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.tick_rate_), + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.steam_universe_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::MLTick, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::MLTick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.tick_count_), + PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.events_), + 1, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.steamid_player_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.round_number_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.hit_type_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.weapon_type_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.distance_to_hurt_target_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.delta_yaw_window_), + PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.delta_pitch_window_), + 0, + 1, + 2, + 3, + 4, + ~0u, + ~0u, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::MLDict)}, + { 14, 22, -1, sizeof(::MLEvent)}, + { 24, 35, -1, sizeof(::MLMatchState)}, + { 40, 49, -1, sizeof(::MLRoundState)}, + { 52, 66, -1, sizeof(::MLWeaponState)}, + { 74, 100, -1, sizeof(::MLPlayerState)}, + { 120, 129, -1, sizeof(::MLGameState)}, + { 132, 142, -1, sizeof(::MLDemoHeader)}, + { 146, 155, -1, sizeof(::MLTick)}, + { 158, 171, -1, sizeof(::VacNetShot)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_MLDict_default_instance_._instance, + &::_MLEvent_default_instance_._instance, + &::_MLMatchState_default_instance_._instance, + &::_MLRoundState_default_instance_._instance, + &::_MLWeaponState_default_instance_._instance, + &::_MLPlayerState_default_instance_._instance, + &::_MLGameState_default_instance_._instance, + &::_MLDemoHeader_default_instance_._instance, + &::_MLTick_default_instance_._instance, + &::_VacNetShot_default_instance_._instance, +}; + +const char descriptor_table_protodef_fatdemo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\rfatdemo.proto\032\026networkbasetypes.proto\"" + "M\n\006MLDict\022\013\n\003key\030\001 \001(\t\022\022\n\nval_string\030\002 \001" + "(\t\022\017\n\007val_int\030\003 \001(\005\022\021\n\tval_float\030\004 \001(\002\"4" + "\n\007MLEvent\022\022\n\nevent_name\030\001 \001(\t\022\025\n\004data\030\002 " + "\003(\0132\007.MLDict\"b\n\014MLMatchState\022\021\n\tgame_mod" + "e\030\001 \001(\t\022\r\n\005phase\030\002 \001(\t\022\r\n\005round\030\003 \001(\005\022\020\n" + "\010score_ct\030\004 \001(\005\022\017\n\007score_t\030\005 \001(\005\"W\n\014MLRo" + "undState\022\r\n\005phase\030\001 \001(\t\022$\n\010win_team\030\002 \001(" + "\0162\006.ETeam:\nET_Unknown\022\022\n\nbomb_state\030\003 \001(" + "\t\"\270\001\n\rMLWeaponState\022\r\n\005index\030\001 \001(\005\022\014\n\004na" + "me\030\002 \001(\t\022%\n\004type\030\003 \001(\0162\014.EWeaponType:\tEW" + "T_Knife\022\021\n\tammo_clip\030\004 \001(\005\022\025\n\rammo_clip_" + "max\030\005 \001(\005\022\024\n\014ammo_reserve\030\006 \001(\005\022\r\n\005state" + "\030\007 \001(\t\022\024\n\014recoil_index\030\010 \001(\002\"\273\003\n\rMLPlaye" + "rState\022\022\n\naccount_id\030\001 \001(\005\022\027\n\013player_slo" + "t\030\002 \001(\005:\002-1\022\020\n\010entindex\030\003 \001(\005\022\014\n\004name\030\004 " + "\001(\t\022\014\n\004clan\030\005 \001(\t\022 \n\004team\030\006 \001(\0162\006.ETeam:" + "\nET_Unknown\022\033\n\006abspos\030\007 \001(\0132\013.CMsgVector" + "\022\035\n\010eyeangle\030\010 \001(\0132\013.CMsgQAngle\022!\n\014eyean" + "gle_fwd\030\t \001(\0132\013.CMsgVector\022\016\n\006health\030\n \001" + "(\005\022\r\n\005armor\030\013 \001(\005\022\017\n\007flashed\030\014 \001(\002\022\016\n\006sm" + "oked\030\r \001(\002\022\r\n\005money\030\016 \001(\005\022\023\n\013round_kills" + "\030\017 \001(\005\022\024\n\014round_killhs\030\020 \001(\005\022\017\n\007burning\030" + "\021 \001(\002\022\016\n\006helmet\030\022 \001(\010\022\022\n\ndefuse_kit\030\023 \001(" + "\010\022\037\n\007weapons\030\024 \003(\0132\016.MLWeaponState\"j\n\013ML" + "GameState\022\034\n\005match\030\001 \001(\0132\r.MLMatchState\022" + "\034\n\005round\030\002 \001(\0132\r.MLRoundState\022\037\n\007players" + "\030\003 \003(\0132\016.MLPlayerState\"\\\n\014MLDemoHeader\022\020" + "\n\010map_name\030\001 \001(\t\022\021\n\ttick_rate\030\002 \001(\005\022\017\n\007v" + "ersion\030\003 \001(\r\022\026\n\016steam_universe\030\004 \001(\r\"S\n\006" + "MLTick\022\022\n\ntick_count\030\001 \001(\005\022\033\n\005state\030\002 \001(" + "\0132\014.MLGameState\022\030\n\006events\030\003 \003(\0132\010.MLEven" + "t\"\270\001\n\nVacNetShot\022\026\n\016steamid_player\030\001 \001(\006" + "\022\024\n\014round_number\030\002 \001(\005\022\020\n\010hit_type\030\003 \001(\005" + "\022\023\n\013weapon_type\030\004 \001(\005\022\037\n\027distance_to_hur" + "t_target\030\005 \001(\002\022\030\n\020delta_yaw_window\030\006 \003(\002" + "\022\032\n\022delta_pitch_window\030\007 \003(\002*\254\001\n\tEHitGro" + "up\022\017\n\013EHG_Generic\020\000\022\014\n\010EHG_Head\020\001\022\r\n\tEHG" + "_Chest\020\002\022\017\n\013EHG_Stomach\020\003\022\017\n\013EHG_LeftArm" + "\020\004\022\020\n\014EHG_RightArm\020\005\022\017\n\013EHG_LeftLeg\020\006\022\020\n" + "\014EHG_RightLeg\020\007\022\014\n\010EHG_Gear\020\010\022\014\n\010EHG_Mis" + "s\020\t*F\n\005ETeam\022\016\n\nET_Unknown\020\000\022\020\n\014ET_Spect" + "ator\020\001\022\020\n\014ET_Terrorist\020\002\022\t\n\005ET_CT\020\003*\344\001\n\013" + "EWeaponType\022\r\n\tEWT_Knife\020\000\022\016\n\nEWT_Pistol" + "\020\001\022\025\n\021EWT_SubMachineGun\020\002\022\r\n\tEWT_Rifle\020\003" + "\022\017\n\013EWT_Shotgun\020\004\022\023\n\017EWT_SniperRifle\020\005\022\022" + "\n\016EWT_MachineGun\020\006\022\n\n\006EWT_C4\020\007\022\017\n\013EWT_Gr" + "enade\020\010\022\021\n\rEWT_Equipment\020\t\022\025\n\021EWT_Stacka" + "bleItem\020\n\022\017\n\013EWT_Unknown\020\013" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_fatdemo_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_fatdemo_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_fatdemo_2eproto = { + false, false, 1946, descriptor_table_protodef_fatdemo_2eproto, + "fatdemo.proto", + &descriptor_table_fatdemo_2eproto_once, descriptor_table_fatdemo_2eproto_deps, 1, 10, + schemas, file_default_instances, TableStruct_fatdemo_2eproto::offsets, + file_level_metadata_fatdemo_2eproto, file_level_enum_descriptors_fatdemo_2eproto, + file_level_service_descriptors_fatdemo_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_fatdemo_2eproto_getter() { + return &descriptor_table_fatdemo_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_fatdemo_2eproto(&descriptor_table_fatdemo_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHitGroup_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); + return file_level_enum_descriptors_fatdemo_2eproto[0]; +} +bool EHitGroup_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETeam_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); + return file_level_enum_descriptors_fatdemo_2eproto[1]; +} +bool ETeam_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EWeaponType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); + return file_level_enum_descriptors_fatdemo_2eproto[2]; +} +bool EWeaponType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + return true; + default: + return false; + } +} + + +// =================================================================== + +class MLDict::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_val_string(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_val_int(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_val_float(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +MLDict::MLDict(::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:MLDict) +} +MLDict::MLDict(const MLDict& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLDict* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_){} + , decltype(_impl_.val_string_){} + , decltype(_impl_.val_int_){} + , decltype(_impl_.val_float_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key()) { + _this->_impl_.key_.Set(from._internal_key(), + _this->GetArenaForAllocation()); + } + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_val_string()) { + _this->_impl_.val_string_.Set(from._internal_val_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.val_int_, &from._impl_.val_int_, + static_cast(reinterpret_cast(&_impl_.val_float_) - + reinterpret_cast(&_impl_.val_int_)) + sizeof(_impl_.val_float_)); + // @@protoc_insertion_point(copy_constructor:MLDict) +} + +inline void MLDict::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_){} + , decltype(_impl_.val_string_){} + , decltype(_impl_.val_int_){0} + , decltype(_impl_.val_float_){0} + }; + _impl_.key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLDict::~MLDict() { + // @@protoc_insertion_point(destructor:MLDict) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLDict::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.key_.Destroy(); + _impl_.val_string_.Destroy(); +} + +void MLDict::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLDict::Clear() { +// @@protoc_insertion_point(message_clear_start:MLDict) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.val_string_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.val_int_, 0, static_cast( + reinterpret_cast(&_impl_.val_float_) - + reinterpret_cast(&_impl_.val_int_)) + sizeof(_impl_.val_float_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLDict::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string key = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLDict.key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string val_string = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_val_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLDict.val_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 val_int = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_val_int(&has_bits); + _impl_.val_int_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float val_float = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_val_float(&has_bits); + _impl_.val_float_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLDict::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLDict) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string key = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_key().data(), static_cast(this->_internal_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLDict.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); + } + + // optional string val_string = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLDict.val_string"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_val_string(), target); + } + + // optional int32 val_int = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_val_int(), target); + } + + // optional float val_float = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_val_float(), 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:MLDict) + return target; +} + +size_t MLDict::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLDict) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string key = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); + } + + // optional string val_string = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_val_string()); + } + + // optional int32 val_int = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_int()); + } + + // optional float val_float = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLDict::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLDict::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLDict::GetClassData() const { return &_class_data_; } + + +void MLDict::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:MLDict) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_key(from._internal_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_val_string(from._internal_val_string()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.val_int_ = from._impl_.val_int_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.val_float_ = from._impl_.val_float_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLDict::CopyFrom(const MLDict& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLDict) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLDict::IsInitialized() const { + return true; +} + +void MLDict::InternalSwap(MLDict* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_, lhs_arena, + &other->_impl_.key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.val_string_, lhs_arena, + &other->_impl_.val_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLDict, _impl_.val_float_) + + sizeof(MLDict::_impl_.val_float_) + - PROTOBUF_FIELD_OFFSET(MLDict, _impl_.val_int_)>( + reinterpret_cast(&_impl_.val_int_), + reinterpret_cast(&other->_impl_.val_int_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLDict::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[0]); +} + +// =================================================================== + +class MLEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +MLEvent::MLEvent(::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:MLEvent) +} +MLEvent::MLEvent(const MLEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){from._impl_.data_} + , decltype(_impl_.event_name_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:MLEvent) +} + +inline void MLEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){arena} + , decltype(_impl_.event_name_){} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLEvent::~MLEvent() { + // @@protoc_insertion_point(destructor:MLEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.~RepeatedPtrField(); + _impl_.event_name_.Destroy(); +} + +void MLEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:MLEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.data_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .MLDict data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_data(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // repeated .MLDict data = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_data_size()); i < n; i++) { + const auto& repfield = this->_internal_data(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:MLEvent) + return target; +} + +size_t MLEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLEvent) + 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 .MLDict data = 2; + total_size += 1UL * this->_internal_data_size(); + for (const auto& msg : this->_impl_.data_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional string event_name = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLEvent::GetClassData() const { return &_class_data_; } + + +void MLEvent::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:MLEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.data_.MergeFrom(from._impl_.data_); + if (from._internal_has_event_name()) { + _this->_internal_set_event_name(from._internal_event_name()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLEvent::CopyFrom(const MLEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLEvent::IsInitialized() const { + return true; +} + +void MLEvent::InternalSwap(MLEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.data_.InternalSwap(&other->_impl_.data_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[1]); +} + +// =================================================================== + +class MLMatchState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_phase(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_round(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_score_ct(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_score_t(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +MLMatchState::MLMatchState(::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:MLMatchState) +} +MLMatchState::MLMatchState(const MLMatchState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLMatchState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.phase_){} + , decltype(_impl_.round_){} + , decltype(_impl_.score_ct_){} + , decltype(_impl_.score_t_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_mode()) { + _this->_impl_.game_mode_.Set(from._internal_game_mode(), + _this->GetArenaForAllocation()); + } + _impl_.phase_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.phase_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_phase()) { + _this->_impl_.phase_.Set(from._internal_phase(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.round_, &from._impl_.round_, + static_cast(reinterpret_cast(&_impl_.score_t_) - + reinterpret_cast(&_impl_.round_)) + sizeof(_impl_.score_t_)); + // @@protoc_insertion_point(copy_constructor:MLMatchState) +} + +inline void MLMatchState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.phase_){} + , decltype(_impl_.round_){0} + , decltype(_impl_.score_ct_){0} + , decltype(_impl_.score_t_){0} + }; + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.phase_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.phase_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLMatchState::~MLMatchState() { + // @@protoc_insertion_point(destructor:MLMatchState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLMatchState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.game_mode_.Destroy(); + _impl_.phase_.Destroy(); +} + +void MLMatchState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLMatchState::Clear() { +// @@protoc_insertion_point(message_clear_start:MLMatchState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_mode_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.phase_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.round_, 0, static_cast( + reinterpret_cast(&_impl_.score_t_) - + reinterpret_cast(&_impl_.round_)) + sizeof(_impl_.score_t_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLMatchState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string game_mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_game_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLMatchState.game_mode"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string phase = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_phase(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLMatchState.phase"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 round = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_round(&has_bits); + _impl_.round_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 score_ct = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_score_ct(&has_bits); + _impl_.score_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 score_t = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_score_t(&has_bits); + _impl_.score_t_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLMatchState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLMatchState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string game_mode = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLMatchState.game_mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_game_mode(), target); + } + + // optional string phase = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_phase().data(), static_cast(this->_internal_phase().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLMatchState.phase"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_phase(), target); + } + + // optional int32 round = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_round(), target); + } + + // optional int32 score_ct = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_score_ct(), target); + } + + // optional int32 score_t = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_score_t(), 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:MLMatchState) + return target; +} + +size_t MLMatchState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLMatchState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string game_mode = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_mode()); + } + + // optional string phase = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_phase()); + } + + // optional int32 round = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round()); + } + + // optional int32 score_ct = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score_ct()); + } + + // optional int32 score_t = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score_t()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLMatchState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLMatchState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLMatchState::GetClassData() const { return &_class_data_; } + + +void MLMatchState::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:MLMatchState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_mode(from._internal_game_mode()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_phase(from._internal_phase()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.round_ = from._impl_.round_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.score_ct_ = from._impl_.score_ct_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.score_t_ = from._impl_.score_t_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLMatchState::CopyFrom(const MLMatchState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLMatchState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLMatchState::IsInitialized() const { + return true; +} + +void MLMatchState::InternalSwap(MLMatchState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_mode_, lhs_arena, + &other->_impl_.game_mode_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.phase_, lhs_arena, + &other->_impl_.phase_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLMatchState, _impl_.score_t_) + + sizeof(MLMatchState::_impl_.score_t_) + - PROTOBUF_FIELD_OFFSET(MLMatchState, _impl_.round_)>( + reinterpret_cast(&_impl_.round_), + reinterpret_cast(&other->_impl_.round_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLMatchState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[2]); +} + +// =================================================================== + +class MLRoundState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_phase(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_win_team(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_bomb_state(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +MLRoundState::MLRoundState(::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:MLRoundState) +} +MLRoundState::MLRoundState(const MLRoundState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLRoundState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.phase_){} + , decltype(_impl_.bomb_state_){} + , decltype(_impl_.win_team_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.phase_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.phase_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_phase()) { + _this->_impl_.phase_.Set(from._internal_phase(), + _this->GetArenaForAllocation()); + } + _impl_.bomb_state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bomb_state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_bomb_state()) { + _this->_impl_.bomb_state_.Set(from._internal_bomb_state(), + _this->GetArenaForAllocation()); + } + _this->_impl_.win_team_ = from._impl_.win_team_; + // @@protoc_insertion_point(copy_constructor:MLRoundState) +} + +inline void MLRoundState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.phase_){} + , decltype(_impl_.bomb_state_){} + , decltype(_impl_.win_team_){0} + }; + _impl_.phase_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.phase_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bomb_state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bomb_state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLRoundState::~MLRoundState() { + // @@protoc_insertion_point(destructor:MLRoundState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLRoundState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.phase_.Destroy(); + _impl_.bomb_state_.Destroy(); +} + +void MLRoundState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLRoundState::Clear() { +// @@protoc_insertion_point(message_clear_start:MLRoundState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.phase_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.bomb_state_.ClearNonDefaultToEmpty(); + } + } + _impl_.win_team_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLRoundState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string phase = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_phase(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLRoundState.phase"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .ETeam win_team = 2 [default = ET_Unknown]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ETeam_IsValid(val))) { + _internal_set_win_team(static_cast<::ETeam>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional string bomb_state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_bomb_state(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLRoundState.bomb_state"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLRoundState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLRoundState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string phase = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_phase().data(), static_cast(this->_internal_phase().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLRoundState.phase"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_phase(), target); + } + + // optional .ETeam win_team = 2 [default = ET_Unknown]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this->_internal_win_team(), target); + } + + // optional string bomb_state = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_bomb_state().data(), static_cast(this->_internal_bomb_state().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLRoundState.bomb_state"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_bomb_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:MLRoundState) + return target; +} + +size_t MLRoundState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLRoundState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string phase = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_phase()); + } + + // optional string bomb_state = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_bomb_state()); + } + + // optional .ETeam win_team = 2 [default = ET_Unknown]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_win_team()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLRoundState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLRoundState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLRoundState::GetClassData() const { return &_class_data_; } + + +void MLRoundState::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:MLRoundState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_phase(from._internal_phase()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_bomb_state(from._internal_bomb_state()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.win_team_ = from._impl_.win_team_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLRoundState::CopyFrom(const MLRoundState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLRoundState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLRoundState::IsInitialized() const { + return true; +} + +void MLRoundState::InternalSwap(MLRoundState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.phase_, lhs_arena, + &other->_impl_.phase_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.bomb_state_, lhs_arena, + &other->_impl_.bomb_state_, rhs_arena + ); + swap(_impl_.win_team_, other->_impl_.win_team_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLRoundState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[3]); +} + +// =================================================================== + +class MLWeaponState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ammo_clip(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_ammo_clip_max(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_ammo_reserve(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_recoil_index(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +MLWeaponState::MLWeaponState(::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:MLWeaponState) +} +MLWeaponState::MLWeaponState(const MLWeaponState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLWeaponState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.state_){} + , decltype(_impl_.index_){} + , decltype(_impl_.type_){} + , decltype(_impl_.ammo_clip_){} + , decltype(_impl_.ammo_clip_max_){} + , decltype(_impl_.ammo_reserve_){} + , decltype(_impl_.recoil_index_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_state()) { + _this->_impl_.state_.Set(from._internal_state(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.index_, &from._impl_.index_, + static_cast(reinterpret_cast(&_impl_.recoil_index_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.recoil_index_)); + // @@protoc_insertion_point(copy_constructor:MLWeaponState) +} + +inline void MLWeaponState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.state_){} + , decltype(_impl_.index_){0} + , decltype(_impl_.type_){0} + , decltype(_impl_.ammo_clip_){0} + , decltype(_impl_.ammo_clip_max_){0} + , decltype(_impl_.ammo_reserve_){0} + , decltype(_impl_.recoil_index_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.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 +} + +MLWeaponState::~MLWeaponState() { + // @@protoc_insertion_point(destructor:MLWeaponState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLWeaponState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.state_.Destroy(); +} + +void MLWeaponState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLWeaponState::Clear() { +// @@protoc_insertion_point(message_clear_start:MLWeaponState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.state_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.index_, 0, static_cast( + reinterpret_cast(&_impl_.recoil_index_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.recoil_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLWeaponState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLWeaponState.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .EWeaponType type = 3 [default = EWT_Knife]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::EWeaponType_IsValid(val))) { + _internal_set_type(static_cast<::EWeaponType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional int32 ammo_clip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ammo_clip(&has_bits); + _impl_.ammo_clip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ammo_clip_max = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ammo_clip_max(&has_bits); + _impl_.ammo_clip_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ammo_reserve = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_ammo_reserve(&has_bits); + _impl_.ammo_reserve_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string state = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_state(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLWeaponState.state"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float recoil_index = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_recoil_index(&has_bits); + _impl_.recoil_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLWeaponState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLWeaponState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLWeaponState.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional .EWeaponType type = 3 [default = EWT_Knife]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this->_internal_type(), target); + } + + // optional int32 ammo_clip = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ammo_clip(), target); + } + + // optional int32 ammo_clip_max = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_ammo_clip_max(), target); + } + + // optional int32 ammo_reserve = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ammo_reserve(), target); + } + + // optional string state = 7; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_state().data(), static_cast(this->_internal_state().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLWeaponState.state"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_state(), target); + } + + // optional float recoil_index = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_recoil_index(), 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:MLWeaponState) + return target; +} + +size_t MLWeaponState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLWeaponState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string state = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_state()); + } + + // optional int32 index = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional .EWeaponType type = 3 [default = EWT_Knife]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); + } + + // optional int32 ammo_clip = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_clip()); + } + + // optional int32 ammo_clip_max = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_clip_max()); + } + + // optional int32 ammo_reserve = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_reserve()); + } + + // optional float recoil_index = 8; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLWeaponState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLWeaponState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLWeaponState::GetClassData() const { return &_class_data_; } + + +void MLWeaponState::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:MLWeaponState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_state(from._internal_state()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ammo_clip_ = from._impl_.ammo_clip_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ammo_clip_max_ = from._impl_.ammo_clip_max_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ammo_reserve_ = from._impl_.ammo_reserve_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.recoil_index_ = from._impl_.recoil_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLWeaponState::CopyFrom(const MLWeaponState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLWeaponState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLWeaponState::IsInitialized() const { + return true; +} + +void MLWeaponState::InternalSwap(MLWeaponState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.state_, lhs_arena, + &other->_impl_.state_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLWeaponState, _impl_.recoil_index_) + + sizeof(MLWeaponState::_impl_.recoil_index_) + - PROTOBUF_FIELD_OFFSET(MLWeaponState, _impl_.index_)>( + reinterpret_cast(&_impl_.index_), + reinterpret_cast(&other->_impl_.index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLWeaponState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[4]); +} + +// =================================================================== + +class MLPlayerState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_entindex(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_clan(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_team(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgVector& abspos(const MLPlayerState* msg); + static void set_has_abspos(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgQAngle& eyeangle(const MLPlayerState* msg); + static void set_has_eyeangle(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& eyeangle_fwd(const MLPlayerState* msg); + static void set_has_eyeangle_fwd(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_health(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_armor(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_flashed(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_smoked(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_money(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_round_kills(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_round_killhs(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_burning(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_helmet(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_defuse_kit(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +const ::CMsgVector& +MLPlayerState::_Internal::abspos(const MLPlayerState* msg) { + return *msg->_impl_.abspos_; +} +const ::CMsgQAngle& +MLPlayerState::_Internal::eyeangle(const MLPlayerState* msg) { + return *msg->_impl_.eyeangle_; +} +const ::CMsgVector& +MLPlayerState::_Internal::eyeangle_fwd(const MLPlayerState* msg) { + return *msg->_impl_.eyeangle_fwd_; +} +void MLPlayerState::clear_abspos() { + if (_impl_.abspos_ != nullptr) _impl_.abspos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void MLPlayerState::clear_eyeangle() { + if (_impl_.eyeangle_ != nullptr) _impl_.eyeangle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void MLPlayerState::clear_eyeangle_fwd() { + if (_impl_.eyeangle_fwd_ != nullptr) _impl_.eyeangle_fwd_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +MLPlayerState::MLPlayerState(::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:MLPlayerState) +} +MLPlayerState::MLPlayerState(const MLPlayerState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLPlayerState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.weapons_){from._impl_.weapons_} + , decltype(_impl_.name_){} + , decltype(_impl_.clan_){} + , decltype(_impl_.abspos_){nullptr} + , decltype(_impl_.eyeangle_){nullptr} + , decltype(_impl_.eyeangle_fwd_){nullptr} + , decltype(_impl_.account_id_){} + , decltype(_impl_.entindex_){} + , decltype(_impl_.team_){} + , decltype(_impl_.health_){} + , decltype(_impl_.armor_){} + , decltype(_impl_.flashed_){} + , decltype(_impl_.smoked_){} + , decltype(_impl_.money_){} + , decltype(_impl_.round_kills_){} + , decltype(_impl_.round_killhs_){} + , decltype(_impl_.burning_){} + , decltype(_impl_.helmet_){} + , decltype(_impl_.defuse_kit_){} + , decltype(_impl_.player_slot_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.clan_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.clan_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_clan()) { + _this->_impl_.clan_.Set(from._internal_clan(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_abspos()) { + _this->_impl_.abspos_ = new ::CMsgVector(*from._impl_.abspos_); + } + if (from._internal_has_eyeangle()) { + _this->_impl_.eyeangle_ = new ::CMsgQAngle(*from._impl_.eyeangle_); + } + if (from._internal_has_eyeangle_fwd()) { + _this->_impl_.eyeangle_fwd_ = new ::CMsgVector(*from._impl_.eyeangle_fwd_); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.player_slot_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_slot_)); + // @@protoc_insertion_point(copy_constructor:MLPlayerState) +} + +inline void MLPlayerState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.weapons_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.clan_){} + , decltype(_impl_.abspos_){nullptr} + , decltype(_impl_.eyeangle_){nullptr} + , decltype(_impl_.eyeangle_fwd_){nullptr} + , decltype(_impl_.account_id_){0} + , decltype(_impl_.entindex_){0} + , decltype(_impl_.team_){0} + , decltype(_impl_.health_){0} + , decltype(_impl_.armor_){0} + , decltype(_impl_.flashed_){0} + , decltype(_impl_.smoked_){0} + , decltype(_impl_.money_){0} + , decltype(_impl_.round_kills_){0} + , decltype(_impl_.round_killhs_){0} + , decltype(_impl_.burning_){0} + , decltype(_impl_.helmet_){false} + , decltype(_impl_.defuse_kit_){false} + , decltype(_impl_.player_slot_){-1} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.clan_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.clan_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLPlayerState::~MLPlayerState() { + // @@protoc_insertion_point(destructor:MLPlayerState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLPlayerState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.weapons_.~RepeatedPtrField(); + _impl_.name_.Destroy(); + _impl_.clan_.Destroy(); + if (this != internal_default_instance()) delete _impl_.abspos_; + if (this != internal_default_instance()) delete _impl_.eyeangle_; + if (this != internal_default_instance()) delete _impl_.eyeangle_fwd_; +} + +void MLPlayerState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLPlayerState::Clear() { +// @@protoc_insertion_point(message_clear_start:MLPlayerState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.weapons_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.clan_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.abspos_ != nullptr); + _impl_.abspos_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.eyeangle_ != nullptr); + _impl_.eyeangle_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.eyeangle_fwd_ != nullptr); + _impl_.eyeangle_fwd_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.team_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.team_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.health_, 0, static_cast( + reinterpret_cast(&_impl_.burning_) - + reinterpret_cast(&_impl_.health_)) + sizeof(_impl_.burning_)); + } + if (cached_has_bits & 0x00070000u) { + ::memset(&_impl_.helmet_, 0, static_cast( + reinterpret_cast(&_impl_.defuse_kit_) - + reinterpret_cast(&_impl_.helmet_)) + sizeof(_impl_.defuse_kit_)); + _impl_.player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLPlayerState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entindex = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entindex(&has_bits); + _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string name = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLPlayerState.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string clan = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_clan(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLPlayerState.clan"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .ETeam team = 6 [default = ET_Unknown]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ETeam_IsValid(val))) { + _internal_set_team(static_cast<::ETeam>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .CMsgVector abspos = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_abspos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle eyeangle = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_eyeangle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector eyeangle_fwd = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_eyeangle_fwd(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 health = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_health(&has_bits); + _impl_.health_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 armor = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_armor(&has_bits); + _impl_.armor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float flashed = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_flashed(&has_bits); + _impl_.flashed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float smoked = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + _Internal::set_has_smoked(&has_bits); + _impl_.smoked_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 money = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_money(&has_bits); + _impl_.money_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 round_kills = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_round_kills(&has_bits); + _impl_.round_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 round_killhs = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_round_killhs(&has_bits); + _impl_.round_killhs_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float burning = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 141)) { + _Internal::set_has_burning(&has_bits); + _impl_.burning_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bool helmet = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_helmet(&has_bits); + _impl_.helmet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool defuse_kit = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_defuse_kit(&has_bits); + _impl_.defuse_kit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .MLWeaponState weapons = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_weapons(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLPlayerState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLPlayerState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 account_id = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional int32 player_slot = 2 [default = -1]; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slot(), target); + } + + // optional int32 entindex = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entindex(), target); + } + + // optional string name = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLPlayerState.name"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_name(), target); + } + + // optional string clan = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_clan().data(), static_cast(this->_internal_clan().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLPlayerState.clan"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_clan(), target); + } + + // optional .ETeam team = 6 [default = ET_Unknown]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 6, this->_internal_team(), target); + } + + // optional .CMsgVector abspos = 7; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::abspos(this), + _Internal::abspos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle eyeangle = 8; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::eyeangle(this), + _Internal::eyeangle(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector eyeangle_fwd = 9; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::eyeangle_fwd(this), + _Internal::eyeangle_fwd(this).GetCachedSize(), target, stream); + } + + // optional int32 health = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_health(), target); + } + + // optional int32 armor = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_armor(), target); + } + + // optional float flashed = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_flashed(), target); + } + + // optional float smoked = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_smoked(), target); + } + + // optional int32 money = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_money(), target); + } + + // optional int32 round_kills = 15; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_round_kills(), target); + } + + // optional int32 round_killhs = 16; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_round_killhs(), target); + } + + // optional float burning = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(17, this->_internal_burning(), target); + } + + // optional bool helmet = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_helmet(), target); + } + + // optional bool defuse_kit = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_defuse_kit(), target); + } + + // repeated .MLWeaponState weapons = 20; + 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(20, 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:MLPlayerState) + return target; +} + +size_t MLPlayerState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLPlayerState) + 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 .MLWeaponState weapons = 20; + total_size += 2UL * this->_internal_weapons_size(); + for (const auto& msg : this->_impl_.weapons_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string clan = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_clan()); + } + + // optional .CMsgVector abspos = 7; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.abspos_); + } + + // optional .CMsgQAngle eyeangle = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.eyeangle_); + } + + // optional .CMsgVector eyeangle_fwd = 9; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.eyeangle_fwd_); + } + + // optional int32 account_id = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_account_id()); + } + + // optional int32 entindex = 3; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entindex()); + } + + // optional .ETeam team = 6 [default = ET_Unknown]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_team()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 health = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_health()); + } + + // optional int32 armor = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_armor()); + } + + // optional float flashed = 12; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional float smoked = 13; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 4; + } + + // optional int32 money = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_money()); + } + + // optional int32 round_kills = 15; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_kills()); + } + + // optional int32 round_killhs = 16; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_round_killhs()); + } + + // optional float burning = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 4; + } + + } + if (cached_has_bits & 0x00070000u) { + // optional bool helmet = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + 1; + } + + // optional bool defuse_kit = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 1; + } + + // optional int32 player_slot = 2 [default = -1]; + if (cached_has_bits & 0x00040000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLPlayerState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLPlayerState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLPlayerState::GetClassData() const { return &_class_data_; } + + +void MLPlayerState::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:MLPlayerState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.weapons_.MergeFrom(from._impl_.weapons_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_clan(from._internal_clan()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_abspos()->::CMsgVector::MergeFrom( + from._internal_abspos()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_eyeangle()->::CMsgQAngle::MergeFrom( + from._internal_eyeangle()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_eyeangle_fwd()->::CMsgVector::MergeFrom( + from._internal_eyeangle_fwd()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.entindex_ = from._impl_.entindex_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.team_ = from._impl_.team_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.health_ = from._impl_.health_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.armor_ = from._impl_.armor_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.flashed_ = from._impl_.flashed_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.smoked_ = from._impl_.smoked_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.money_ = from._impl_.money_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.round_kills_ = from._impl_.round_kills_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.round_killhs_ = from._impl_.round_killhs_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.burning_ = from._impl_.burning_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.helmet_ = from._impl_.helmet_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.defuse_kit_ = from._impl_.defuse_kit_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLPlayerState::CopyFrom(const MLPlayerState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLPlayerState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLPlayerState::IsInitialized() const { + return true; +} + +void MLPlayerState::InternalSwap(MLPlayerState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.weapons_.InternalSwap(&other->_impl_.weapons_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.clan_, lhs_arena, + &other->_impl_.clan_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLPlayerState, _impl_.defuse_kit_) + + sizeof(MLPlayerState::_impl_.defuse_kit_) + - PROTOBUF_FIELD_OFFSET(MLPlayerState, _impl_.abspos_)>( + reinterpret_cast(&_impl_.abspos_), + reinterpret_cast(&other->_impl_.abspos_)); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLPlayerState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[5]); +} + +// =================================================================== + +class MLGameState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::MLMatchState& match(const MLGameState* msg); + static void set_has_match(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::MLRoundState& round(const MLGameState* msg); + static void set_has_round(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::MLMatchState& +MLGameState::_Internal::match(const MLGameState* msg) { + return *msg->_impl_.match_; +} +const ::MLRoundState& +MLGameState::_Internal::round(const MLGameState* msg) { + return *msg->_impl_.round_; +} +MLGameState::MLGameState(::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:MLGameState) +} +MLGameState::MLGameState(const MLGameState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLGameState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.match_){nullptr} + , decltype(_impl_.round_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_match()) { + _this->_impl_.match_ = new ::MLMatchState(*from._impl_.match_); + } + if (from._internal_has_round()) { + _this->_impl_.round_ = new ::MLRoundState(*from._impl_.round_); + } + // @@protoc_insertion_point(copy_constructor:MLGameState) +} + +inline void MLGameState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_){arena} + , decltype(_impl_.match_){nullptr} + , decltype(_impl_.round_){nullptr} + }; +} + +MLGameState::~MLGameState() { + // @@protoc_insertion_point(destructor:MLGameState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLGameState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.match_; + if (this != internal_default_instance()) delete _impl_.round_; +} + +void MLGameState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLGameState::Clear() { +// @@protoc_insertion_point(message_clear_start:MLGameState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.match_ != nullptr); + _impl_.match_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.round_ != nullptr); + _impl_.round_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLGameState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .MLMatchState match = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_match(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .MLRoundState round = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_round(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .MLPlayerState 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLGameState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLGameState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .MLMatchState match = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::match(this), + _Internal::match(this).GetCachedSize(), target, stream); + } + + // optional .MLRoundState round = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::round(this), + _Internal::round(this).GetCachedSize(), target, stream); + } + + // repeated .MLPlayerState 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:MLGameState) + return target; +} + +size_t MLGameState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLGameState) + 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 .MLPlayerState 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); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .MLMatchState match = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.match_); + } + + // optional .MLRoundState round = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.round_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLGameState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLGameState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLGameState::GetClassData() const { return &_class_data_; } + + +void MLGameState::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:MLGameState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.players_.MergeFrom(from._impl_.players_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_match()->::MLMatchState::MergeFrom( + from._internal_match()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_round()->::MLRoundState::MergeFrom( + from._internal_round()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLGameState::CopyFrom(const MLGameState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLGameState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLGameState::IsInitialized() const { + return true; +} + +void MLGameState::InternalSwap(MLGameState* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.players_.InternalSwap(&other->_impl_.players_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLGameState, _impl_.round_) + + sizeof(MLGameState::_impl_.round_) + - PROTOBUF_FIELD_OFFSET(MLGameState, _impl_.match_)>( + reinterpret_cast(&_impl_.match_), + reinterpret_cast(&other->_impl_.match_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLGameState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[6]); +} + +// =================================================================== + +class MLDemoHeader::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_map_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_tick_rate(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_steam_universe(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +MLDemoHeader::MLDemoHeader(::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:MLDemoHeader) +} +MLDemoHeader::MLDemoHeader(const MLDemoHeader& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLDemoHeader* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_name_){} + , decltype(_impl_.tick_rate_){} + , decltype(_impl_.version_){} + , decltype(_impl_.steam_universe_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map_name()) { + _this->_impl_.map_name_.Set(from._internal_map_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.tick_rate_, &from._impl_.tick_rate_, + static_cast(reinterpret_cast(&_impl_.steam_universe_) - + reinterpret_cast(&_impl_.tick_rate_)) + sizeof(_impl_.steam_universe_)); + // @@protoc_insertion_point(copy_constructor:MLDemoHeader) +} + +inline void MLDemoHeader::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.map_name_){} + , decltype(_impl_.tick_rate_){0} + , decltype(_impl_.version_){0u} + , decltype(_impl_.steam_universe_){0u} + }; + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MLDemoHeader::~MLDemoHeader() { + // @@protoc_insertion_point(destructor:MLDemoHeader) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLDemoHeader::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.map_name_.Destroy(); +} + +void MLDemoHeader::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLDemoHeader::Clear() { +// @@protoc_insertion_point(message_clear_start:MLDemoHeader) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.map_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.tick_rate_, 0, static_cast( + reinterpret_cast(&_impl_.steam_universe_) - + reinterpret_cast(&_impl_.tick_rate_)) + sizeof(_impl_.steam_universe_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLDemoHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string map_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_map_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "MLDemoHeader.map_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 tick_rate = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tick_rate(&has_bits); + _impl_.tick_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 steam_universe = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_steam_universe(&has_bits); + _impl_.steam_universe_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLDemoHeader::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLDemoHeader) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string map_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "MLDemoHeader.map_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_map_name(), target); + } + + // optional int32 tick_rate = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tick_rate(), target); + } + + // optional uint32 version = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_version(), target); + } + + // optional uint32 steam_universe = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_steam_universe(), 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:MLDemoHeader) + return target; +} + +size_t MLDemoHeader::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLDemoHeader) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string map_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map_name()); + } + + // optional int32 tick_rate = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick_rate()); + } + + // optional uint32 version = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 steam_universe = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_steam_universe()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLDemoHeader::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLDemoHeader::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLDemoHeader::GetClassData() const { return &_class_data_; } + + +void MLDemoHeader::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:MLDemoHeader) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_map_name(from._internal_map_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tick_rate_ = from._impl_.tick_rate_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.steam_universe_ = from._impl_.steam_universe_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLDemoHeader::CopyFrom(const MLDemoHeader& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLDemoHeader) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLDemoHeader::IsInitialized() const { + return true; +} + +void MLDemoHeader::InternalSwap(MLDemoHeader* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_name_, lhs_arena, + &other->_impl_.map_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLDemoHeader, _impl_.steam_universe_) + + sizeof(MLDemoHeader::_impl_.steam_universe_) + - PROTOBUF_FIELD_OFFSET(MLDemoHeader, _impl_.tick_rate_)>( + reinterpret_cast(&_impl_.tick_rate_), + reinterpret_cast(&other->_impl_.tick_rate_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLDemoHeader::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[7]); +} + +// =================================================================== + +class MLTick::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::MLGameState& state(const MLTick* msg); + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::MLGameState& +MLTick::_Internal::state(const MLTick* msg) { + return *msg->_impl_.state_; +} +MLTick::MLTick(::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:MLTick) +} +MLTick::MLTick(const MLTick& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MLTick* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.events_){from._impl_.events_} + , decltype(_impl_.state_){nullptr} + , decltype(_impl_.tick_count_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_state()) { + _this->_impl_.state_ = new ::MLGameState(*from._impl_.state_); + } + _this->_impl_.tick_count_ = from._impl_.tick_count_; + // @@protoc_insertion_point(copy_constructor:MLTick) +} + +inline void MLTick::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.events_){arena} + , decltype(_impl_.state_){nullptr} + , decltype(_impl_.tick_count_){0} + }; +} + +MLTick::~MLTick() { + // @@protoc_insertion_point(destructor:MLTick) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MLTick::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.events_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.state_; +} + +void MLTick::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MLTick::Clear() { +// @@protoc_insertion_point(message_clear_start:MLTick) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.events_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.state_ != nullptr); + _impl_.state_->Clear(); + } + _impl_.tick_count_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MLTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 tick_count = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick_count(&has_bits); + _impl_.tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .MLGameState state = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_state(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .MLEvent events = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_events(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MLTick::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MLTick) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 tick_count = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick_count(), target); + } + + // optional .MLGameState state = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::state(this), + _Internal::state(this).GetCachedSize(), target, stream); + } + + // repeated .MLEvent events = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_events_size()); i < n; i++) { + const auto& repfield = this->_internal_events(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:MLTick) + return target; +} + +size_t MLTick::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MLTick) + 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 .MLEvent events = 3; + total_size += 1UL * this->_internal_events_size(); + for (const auto& msg : this->_impl_.events_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .MLGameState state = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.state_); + } + + // optional int32 tick_count = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick_count()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLTick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MLTick::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLTick::GetClassData() const { return &_class_data_; } + + +void MLTick::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:MLTick) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.events_.MergeFrom(from._impl_.events_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_state()->::MLGameState::MergeFrom( + from._internal_state()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tick_count_ = from._impl_.tick_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MLTick::CopyFrom(const MLTick& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MLTick) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MLTick::IsInitialized() const { + return true; +} + +void MLTick::InternalSwap(MLTick* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.events_.InternalSwap(&other->_impl_.events_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MLTick, _impl_.tick_count_) + + sizeof(MLTick::_impl_.tick_count_) + - PROTOBUF_FIELD_OFFSET(MLTick, _impl_.state_)>( + reinterpret_cast(&_impl_.state_), + reinterpret_cast(&other->_impl_.state_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MLTick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[8]); +} + +// =================================================================== + +class VacNetShot::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid_player(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_round_number(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_hit_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_weapon_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_distance_to_hurt_target(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +VacNetShot::VacNetShot(::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:VacNetShot) +} +VacNetShot::VacNetShot(const VacNetShot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VacNetShot* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.delta_yaw_window_){from._impl_.delta_yaw_window_} + , decltype(_impl_.delta_pitch_window_){from._impl_.delta_pitch_window_} + , decltype(_impl_.steamid_player_){} + , decltype(_impl_.round_number_){} + , decltype(_impl_.hit_type_){} + , decltype(_impl_.weapon_type_){} + , decltype(_impl_.distance_to_hurt_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_player_, &from._impl_.steamid_player_, + static_cast(reinterpret_cast(&_impl_.distance_to_hurt_target_) - + reinterpret_cast(&_impl_.steamid_player_)) + sizeof(_impl_.distance_to_hurt_target_)); + // @@protoc_insertion_point(copy_constructor:VacNetShot) +} + +inline void VacNetShot::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.delta_yaw_window_){arena} + , decltype(_impl_.delta_pitch_window_){arena} + , decltype(_impl_.steamid_player_){uint64_t{0u}} + , decltype(_impl_.round_number_){0} + , decltype(_impl_.hit_type_){0} + , decltype(_impl_.weapon_type_){0} + , decltype(_impl_.distance_to_hurt_target_){0} + }; +} + +VacNetShot::~VacNetShot() { + // @@protoc_insertion_point(destructor:VacNetShot) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VacNetShot::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.delta_yaw_window_.~RepeatedField(); + _impl_.delta_pitch_window_.~RepeatedField(); +} + +void VacNetShot::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VacNetShot::Clear() { +// @@protoc_insertion_point(message_clear_start:VacNetShot) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.delta_yaw_window_.Clear(); + _impl_.delta_pitch_window_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.steamid_player_, 0, static_cast( + reinterpret_cast(&_impl_.distance_to_hurt_target_) - + reinterpret_cast(&_impl_.steamid_player_)) + sizeof(_impl_.distance_to_hurt_target_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VacNetShot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid_player = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid_player(&has_bits); + _impl_.steamid_player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 round_number = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_round_number(&has_bits); + _impl_.round_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 hit_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_hit_type(&has_bits); + _impl_.hit_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 weapon_type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_weapon_type(&has_bits); + _impl_.weapon_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float distance_to_hurt_target = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_distance_to_hurt_target(&has_bits); + _impl_.distance_to_hurt_target_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // repeated float delta_yaw_window = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_delta_yaw_window(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<53>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_delta_yaw_window(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float delta_pitch_window = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_delta_pitch_window(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<61>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_delta_pitch_window(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* VacNetShot::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:VacNetShot) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid_player = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid_player(), target); + } + + // optional int32 round_number = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_round_number(), target); + } + + // optional int32 hit_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_hit_type(), target); + } + + // optional int32 weapon_type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_weapon_type(), target); + } + + // optional float distance_to_hurt_target = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_distance_to_hurt_target(), target); + } + + // repeated float delta_yaw_window = 6; + for (int i = 0, n = this->_internal_delta_yaw_window_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_delta_yaw_window(i), target); + } + + // repeated float delta_pitch_window = 7; + for (int i = 0, n = this->_internal_delta_pitch_window_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_delta_pitch_window(i), 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:VacNetShot) + return target; +} + +size_t VacNetShot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:VacNetShot) + 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 float delta_yaw_window = 6; + { + unsigned int count = static_cast(this->_internal_delta_yaw_window_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_delta_yaw_window_size()); + total_size += data_size; + } + + // repeated float delta_pitch_window = 7; + { + unsigned int count = static_cast(this->_internal_delta_pitch_window_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_delta_pitch_window_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional fixed64 steamid_player = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional int32 round_number = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_number()); + } + + // optional int32 hit_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hit_type()); + } + + // optional int32 weapon_type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weapon_type()); + } + + // optional float distance_to_hurt_target = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VacNetShot::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VacNetShot::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VacNetShot::GetClassData() const { return &_class_data_; } + + +void VacNetShot::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:VacNetShot) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.delta_yaw_window_.MergeFrom(from._impl_.delta_yaw_window_); + _this->_impl_.delta_pitch_window_.MergeFrom(from._impl_.delta_pitch_window_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_player_ = from._impl_.steamid_player_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.round_number_ = from._impl_.round_number_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hit_type_ = from._impl_.hit_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.weapon_type_ = from._impl_.weapon_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.distance_to_hurt_target_ = from._impl_.distance_to_hurt_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VacNetShot::CopyFrom(const VacNetShot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:VacNetShot) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VacNetShot::IsInitialized() const { + return true; +} + +void VacNetShot::InternalSwap(VacNetShot* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.delta_yaw_window_.InternalSwap(&other->_impl_.delta_yaw_window_); + _impl_.delta_pitch_window_.InternalSwap(&other->_impl_.delta_pitch_window_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VacNetShot, _impl_.distance_to_hurt_target_) + + sizeof(VacNetShot::_impl_.distance_to_hurt_target_) + - PROTOBUF_FIELD_OFFSET(VacNetShot, _impl_.steamid_player_)>( + reinterpret_cast(&_impl_.steamid_player_), + reinterpret_cast(&other->_impl_.steamid_player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VacNetShot::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, + file_level_metadata_fatdemo_2eproto[9]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::MLDict* +Arena::CreateMaybeMessage< ::MLDict >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLDict >(arena); +} +template<> PROTOBUF_NOINLINE ::MLEvent* +Arena::CreateMaybeMessage< ::MLEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::MLMatchState* +Arena::CreateMaybeMessage< ::MLMatchState >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLMatchState >(arena); +} +template<> PROTOBUF_NOINLINE ::MLRoundState* +Arena::CreateMaybeMessage< ::MLRoundState >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLRoundState >(arena); +} +template<> PROTOBUF_NOINLINE ::MLWeaponState* +Arena::CreateMaybeMessage< ::MLWeaponState >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLWeaponState >(arena); +} +template<> PROTOBUF_NOINLINE ::MLPlayerState* +Arena::CreateMaybeMessage< ::MLPlayerState >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLPlayerState >(arena); +} +template<> PROTOBUF_NOINLINE ::MLGameState* +Arena::CreateMaybeMessage< ::MLGameState >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLGameState >(arena); +} +template<> PROTOBUF_NOINLINE ::MLDemoHeader* +Arena::CreateMaybeMessage< ::MLDemoHeader >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLDemoHeader >(arena); +} +template<> PROTOBUF_NOINLINE ::MLTick* +Arena::CreateMaybeMessage< ::MLTick >(Arena* arena) { + return Arena::CreateMessageInternal< ::MLTick >(arena); +} +template<> PROTOBUF_NOINLINE ::VacNetShot* +Arena::CreateMaybeMessage< ::VacNetShot >(Arena* arena) { + return Arena::CreateMessageInternal< ::VacNetShot >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.h new file mode 100644 index 0000000..4960a0f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/fatdemo.pb.h @@ -0,0 +1,5323 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: fatdemo.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_fatdemo_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_fatdemo_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_fatdemo_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_fatdemo_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_fatdemo_2eproto; +class MLDemoHeader; +struct MLDemoHeaderDefaultTypeInternal; +extern MLDemoHeaderDefaultTypeInternal _MLDemoHeader_default_instance_; +class MLDict; +struct MLDictDefaultTypeInternal; +extern MLDictDefaultTypeInternal _MLDict_default_instance_; +class MLEvent; +struct MLEventDefaultTypeInternal; +extern MLEventDefaultTypeInternal _MLEvent_default_instance_; +class MLGameState; +struct MLGameStateDefaultTypeInternal; +extern MLGameStateDefaultTypeInternal _MLGameState_default_instance_; +class MLMatchState; +struct MLMatchStateDefaultTypeInternal; +extern MLMatchStateDefaultTypeInternal _MLMatchState_default_instance_; +class MLPlayerState; +struct MLPlayerStateDefaultTypeInternal; +extern MLPlayerStateDefaultTypeInternal _MLPlayerState_default_instance_; +class MLRoundState; +struct MLRoundStateDefaultTypeInternal; +extern MLRoundStateDefaultTypeInternal _MLRoundState_default_instance_; +class MLTick; +struct MLTickDefaultTypeInternal; +extern MLTickDefaultTypeInternal _MLTick_default_instance_; +class MLWeaponState; +struct MLWeaponStateDefaultTypeInternal; +extern MLWeaponStateDefaultTypeInternal _MLWeaponState_default_instance_; +class VacNetShot; +struct VacNetShotDefaultTypeInternal; +extern VacNetShotDefaultTypeInternal _VacNetShot_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::MLDemoHeader* Arena::CreateMaybeMessage<::MLDemoHeader>(Arena*); +template<> ::MLDict* Arena::CreateMaybeMessage<::MLDict>(Arena*); +template<> ::MLEvent* Arena::CreateMaybeMessage<::MLEvent>(Arena*); +template<> ::MLGameState* Arena::CreateMaybeMessage<::MLGameState>(Arena*); +template<> ::MLMatchState* Arena::CreateMaybeMessage<::MLMatchState>(Arena*); +template<> ::MLPlayerState* Arena::CreateMaybeMessage<::MLPlayerState>(Arena*); +template<> ::MLRoundState* Arena::CreateMaybeMessage<::MLRoundState>(Arena*); +template<> ::MLTick* Arena::CreateMaybeMessage<::MLTick>(Arena*); +template<> ::MLWeaponState* Arena::CreateMaybeMessage<::MLWeaponState>(Arena*); +template<> ::VacNetShot* Arena::CreateMaybeMessage<::VacNetShot>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EHitGroup : int { + EHG_Generic = 0, + EHG_Head = 1, + EHG_Chest = 2, + EHG_Stomach = 3, + EHG_LeftArm = 4, + EHG_RightArm = 5, + EHG_LeftLeg = 6, + EHG_RightLeg = 7, + EHG_Gear = 8, + EHG_Miss = 9 +}; +bool EHitGroup_IsValid(int value); +constexpr EHitGroup EHitGroup_MIN = EHG_Generic; +constexpr EHitGroup EHitGroup_MAX = EHG_Miss; +constexpr int EHitGroup_ARRAYSIZE = EHitGroup_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHitGroup_descriptor(); +template +inline const std::string& EHitGroup_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EHitGroup_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EHitGroup_descriptor(), enum_t_value); +} +inline bool EHitGroup_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EHitGroup* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EHitGroup_descriptor(), name, value); +} +enum ETeam : int { + ET_Unknown = 0, + ET_Spectator = 1, + ET_Terrorist = 2, + ET_CT = 3 +}; +bool ETeam_IsValid(int value); +constexpr ETeam ETeam_MIN = ET_Unknown; +constexpr ETeam ETeam_MAX = ET_CT; +constexpr int ETeam_ARRAYSIZE = ETeam_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETeam_descriptor(); +template +inline const std::string& ETeam_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ETeam_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ETeam_descriptor(), enum_t_value); +} +inline bool ETeam_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ETeam* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ETeam_descriptor(), name, value); +} +enum EWeaponType : int { + EWT_Knife = 0, + EWT_Pistol = 1, + EWT_SubMachineGun = 2, + EWT_Rifle = 3, + EWT_Shotgun = 4, + EWT_SniperRifle = 5, + EWT_MachineGun = 6, + EWT_C4 = 7, + EWT_Grenade = 8, + EWT_Equipment = 9, + EWT_StackableItem = 10, + EWT_Unknown = 11 +}; +bool EWeaponType_IsValid(int value); +constexpr EWeaponType EWeaponType_MIN = EWT_Knife; +constexpr EWeaponType EWeaponType_MAX = EWT_Unknown; +constexpr int EWeaponType_ARRAYSIZE = EWeaponType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EWeaponType_descriptor(); +template +inline const std::string& EWeaponType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EWeaponType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EWeaponType_descriptor(), enum_t_value); +} +inline bool EWeaponType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EWeaponType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EWeaponType_descriptor(), name, value); +} +// =================================================================== + +class MLDict final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLDict) */ { + public: + inline MLDict() : MLDict(nullptr) {} + ~MLDict() override; + explicit PROTOBUF_CONSTEXPR MLDict(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLDict(const MLDict& from); + MLDict(MLDict&& from) noexcept + : MLDict() { + *this = ::std::move(from); + } + + inline MLDict& operator=(const MLDict& from) { + CopyFrom(from); + return *this; + } + inline MLDict& operator=(MLDict&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLDict& default_instance() { + return *internal_default_instance(); + } + static inline const MLDict* internal_default_instance() { + return reinterpret_cast( + &_MLDict_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(MLDict& a, MLDict& b) { + a.Swap(&b); + } + inline void Swap(MLDict* 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(MLDict* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLDict* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLDict& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLDict& from) { + MLDict::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(MLDict* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLDict"; + } + protected: + explicit MLDict(::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 { + kKeyFieldNumber = 1, + kValStringFieldNumber = 2, + kValIntFieldNumber = 3, + kValFloatFieldNumber = 4, + }; + // optional string key = 1; + bool has_key() const; + private: + bool _internal_has_key() const; + public: + void clear_key(); + const std::string& key() const; + template + void set_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_key(); + PROTOBUF_NODISCARD std::string* release_key(); + void set_allocated_key(std::string* key); + private: + const std::string& _internal_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); + std::string* _internal_mutable_key(); + public: + + // optional string val_string = 2; + bool has_val_string() const; + private: + bool _internal_has_val_string() const; + public: + void clear_val_string(); + const std::string& val_string() const; + template + void set_val_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_val_string(); + PROTOBUF_NODISCARD std::string* release_val_string(); + void set_allocated_val_string(std::string* val_string); + private: + const std::string& _internal_val_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); + std::string* _internal_mutable_val_string(); + public: + + // optional int32 val_int = 3; + bool has_val_int() const; + private: + bool _internal_has_val_int() const; + public: + void clear_val_int(); + int32_t val_int() const; + void set_val_int(int32_t value); + private: + int32_t _internal_val_int() const; + void _internal_set_val_int(int32_t value); + public: + + // optional float val_float = 4; + bool has_val_float() const; + private: + bool _internal_has_val_float() const; + public: + void clear_val_float(); + float val_float() const; + void set_val_float(float value); + private: + float _internal_val_float() const; + void _internal_set_val_float(float value); + public: + + // @@protoc_insertion_point(class_scope:MLDict) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; + int32_t val_int_; + float val_float_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLEvent) */ { + public: + inline MLEvent() : MLEvent(nullptr) {} + ~MLEvent() override; + explicit PROTOBUF_CONSTEXPR MLEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLEvent(const MLEvent& from); + MLEvent(MLEvent&& from) noexcept + : MLEvent() { + *this = ::std::move(from); + } + + inline MLEvent& operator=(const MLEvent& from) { + CopyFrom(from); + return *this; + } + inline MLEvent& operator=(MLEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLEvent& default_instance() { + return *internal_default_instance(); + } + static inline const MLEvent* internal_default_instance() { + return reinterpret_cast( + &_MLEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(MLEvent& a, MLEvent& b) { + a.Swap(&b); + } + inline void Swap(MLEvent* 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(MLEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLEvent& from) { + MLEvent::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(MLEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLEvent"; + } + protected: + explicit MLEvent(::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 { + kDataFieldNumber = 2, + kEventNameFieldNumber = 1, + }; + // repeated .MLDict data = 2; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + ::MLDict* mutable_data(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >* + mutable_data(); + private: + const ::MLDict& _internal_data(int index) const; + ::MLDict* _internal_add_data(); + public: + const ::MLDict& data(int index) const; + ::MLDict* add_data(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >& + data() const; + + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // @@protoc_insertion_point(class_scope:MLEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict > data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLMatchState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLMatchState) */ { + public: + inline MLMatchState() : MLMatchState(nullptr) {} + ~MLMatchState() override; + explicit PROTOBUF_CONSTEXPR MLMatchState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLMatchState(const MLMatchState& from); + MLMatchState(MLMatchState&& from) noexcept + : MLMatchState() { + *this = ::std::move(from); + } + + inline MLMatchState& operator=(const MLMatchState& from) { + CopyFrom(from); + return *this; + } + inline MLMatchState& operator=(MLMatchState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLMatchState& default_instance() { + return *internal_default_instance(); + } + static inline const MLMatchState* internal_default_instance() { + return reinterpret_cast( + &_MLMatchState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(MLMatchState& a, MLMatchState& b) { + a.Swap(&b); + } + inline void Swap(MLMatchState* 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(MLMatchState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLMatchState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLMatchState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLMatchState& from) { + MLMatchState::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(MLMatchState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLMatchState"; + } + protected: + explicit MLMatchState(::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 { + kGameModeFieldNumber = 1, + kPhaseFieldNumber = 2, + kRoundFieldNumber = 3, + kScoreCtFieldNumber = 4, + kScoreTFieldNumber = 5, + }; + // optional string game_mode = 1; + bool has_game_mode() const; + private: + bool _internal_has_game_mode() const; + public: + void clear_game_mode(); + const std::string& game_mode() const; + template + void set_game_mode(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_mode(); + PROTOBUF_NODISCARD std::string* release_game_mode(); + void set_allocated_game_mode(std::string* game_mode); + private: + const std::string& _internal_game_mode() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); + std::string* _internal_mutable_game_mode(); + public: + + // optional string phase = 2; + bool has_phase() const; + private: + bool _internal_has_phase() const; + public: + void clear_phase(); + const std::string& phase() const; + template + void set_phase(ArgT0&& arg0, ArgT... args); + std::string* mutable_phase(); + PROTOBUF_NODISCARD std::string* release_phase(); + void set_allocated_phase(std::string* phase); + private: + const std::string& _internal_phase() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_phase(const std::string& value); + std::string* _internal_mutable_phase(); + public: + + // optional int32 round = 3; + bool has_round() const; + private: + bool _internal_has_round() const; + public: + void clear_round(); + int32_t round() const; + void set_round(int32_t value); + private: + int32_t _internal_round() const; + void _internal_set_round(int32_t value); + public: + + // optional int32 score_ct = 4; + bool has_score_ct() const; + private: + bool _internal_has_score_ct() const; + public: + void clear_score_ct(); + int32_t score_ct() const; + void set_score_ct(int32_t value); + private: + int32_t _internal_score_ct() const; + void _internal_set_score_ct(int32_t value); + public: + + // optional int32 score_t = 5; + bool has_score_t() const; + private: + bool _internal_has_score_t() const; + public: + void clear_score_t(); + int32_t score_t() const; + void set_score_t(int32_t value); + private: + int32_t _internal_score_t() const; + void _internal_set_score_t(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:MLMatchState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phase_; + int32_t round_; + int32_t score_ct_; + int32_t score_t_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLRoundState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLRoundState) */ { + public: + inline MLRoundState() : MLRoundState(nullptr) {} + ~MLRoundState() override; + explicit PROTOBUF_CONSTEXPR MLRoundState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLRoundState(const MLRoundState& from); + MLRoundState(MLRoundState&& from) noexcept + : MLRoundState() { + *this = ::std::move(from); + } + + inline MLRoundState& operator=(const MLRoundState& from) { + CopyFrom(from); + return *this; + } + inline MLRoundState& operator=(MLRoundState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLRoundState& default_instance() { + return *internal_default_instance(); + } + static inline const MLRoundState* internal_default_instance() { + return reinterpret_cast( + &_MLRoundState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(MLRoundState& a, MLRoundState& b) { + a.Swap(&b); + } + inline void Swap(MLRoundState* 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(MLRoundState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLRoundState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLRoundState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLRoundState& from) { + MLRoundState::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(MLRoundState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLRoundState"; + } + protected: + explicit MLRoundState(::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 { + kPhaseFieldNumber = 1, + kBombStateFieldNumber = 3, + kWinTeamFieldNumber = 2, + }; + // optional string phase = 1; + bool has_phase() const; + private: + bool _internal_has_phase() const; + public: + void clear_phase(); + const std::string& phase() const; + template + void set_phase(ArgT0&& arg0, ArgT... args); + std::string* mutable_phase(); + PROTOBUF_NODISCARD std::string* release_phase(); + void set_allocated_phase(std::string* phase); + private: + const std::string& _internal_phase() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_phase(const std::string& value); + std::string* _internal_mutable_phase(); + public: + + // optional string bomb_state = 3; + bool has_bomb_state() const; + private: + bool _internal_has_bomb_state() const; + public: + void clear_bomb_state(); + const std::string& bomb_state() const; + template + void set_bomb_state(ArgT0&& arg0, ArgT... args); + std::string* mutable_bomb_state(); + PROTOBUF_NODISCARD std::string* release_bomb_state(); + void set_allocated_bomb_state(std::string* bomb_state); + private: + const std::string& _internal_bomb_state() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_bomb_state(const std::string& value); + std::string* _internal_mutable_bomb_state(); + public: + + // optional .ETeam win_team = 2 [default = ET_Unknown]; + bool has_win_team() const; + private: + bool _internal_has_win_team() const; + public: + void clear_win_team(); + ::ETeam win_team() const; + void set_win_team(::ETeam value); + private: + ::ETeam _internal_win_team() const; + void _internal_set_win_team(::ETeam value); + public: + + // @@protoc_insertion_point(class_scope:MLRoundState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phase_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bomb_state_; + int win_team_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLWeaponState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLWeaponState) */ { + public: + inline MLWeaponState() : MLWeaponState(nullptr) {} + ~MLWeaponState() override; + explicit PROTOBUF_CONSTEXPR MLWeaponState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLWeaponState(const MLWeaponState& from); + MLWeaponState(MLWeaponState&& from) noexcept + : MLWeaponState() { + *this = ::std::move(from); + } + + inline MLWeaponState& operator=(const MLWeaponState& from) { + CopyFrom(from); + return *this; + } + inline MLWeaponState& operator=(MLWeaponState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLWeaponState& default_instance() { + return *internal_default_instance(); + } + static inline const MLWeaponState* internal_default_instance() { + return reinterpret_cast( + &_MLWeaponState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(MLWeaponState& a, MLWeaponState& b) { + a.Swap(&b); + } + inline void Swap(MLWeaponState* 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(MLWeaponState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLWeaponState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLWeaponState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLWeaponState& from) { + MLWeaponState::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(MLWeaponState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLWeaponState"; + } + protected: + explicit MLWeaponState(::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 = 2, + kStateFieldNumber = 7, + kIndexFieldNumber = 1, + kTypeFieldNumber = 3, + kAmmoClipFieldNumber = 4, + kAmmoClipMaxFieldNumber = 5, + kAmmoReserveFieldNumber = 6, + kRecoilIndexFieldNumber = 8, + }; + // optional 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: + + // optional string state = 7; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + 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: + + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional .EWeaponType type = 3 [default = EWT_Knife]; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + ::EWeaponType type() const; + void set_type(::EWeaponType value); + private: + ::EWeaponType _internal_type() const; + void _internal_set_type(::EWeaponType value); + public: + + // optional int32 ammo_clip = 4; + bool has_ammo_clip() const; + private: + bool _internal_has_ammo_clip() const; + public: + void clear_ammo_clip(); + int32_t ammo_clip() const; + void set_ammo_clip(int32_t value); + private: + int32_t _internal_ammo_clip() const; + void _internal_set_ammo_clip(int32_t value); + public: + + // optional int32 ammo_clip_max = 5; + bool has_ammo_clip_max() const; + private: + bool _internal_has_ammo_clip_max() const; + public: + void clear_ammo_clip_max(); + int32_t ammo_clip_max() const; + void set_ammo_clip_max(int32_t value); + private: + int32_t _internal_ammo_clip_max() const; + void _internal_set_ammo_clip_max(int32_t value); + public: + + // optional int32 ammo_reserve = 6; + bool has_ammo_reserve() const; + private: + bool _internal_has_ammo_reserve() const; + public: + void clear_ammo_reserve(); + int32_t ammo_reserve() const; + void set_ammo_reserve(int32_t value); + private: + int32_t _internal_ammo_reserve() const; + void _internal_set_ammo_reserve(int32_t value); + public: + + // optional float recoil_index = 8; + bool has_recoil_index() const; + private: + bool _internal_has_recoil_index() const; + public: + void clear_recoil_index(); + float recoil_index() const; + void set_recoil_index(float value); + private: + float _internal_recoil_index() const; + void _internal_set_recoil_index(float value); + public: + + // @@protoc_insertion_point(class_scope:MLWeaponState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr state_; + int32_t index_; + int type_; + int32_t ammo_clip_; + int32_t ammo_clip_max_; + int32_t ammo_reserve_; + float recoil_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLPlayerState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLPlayerState) */ { + public: + inline MLPlayerState() : MLPlayerState(nullptr) {} + ~MLPlayerState() override; + explicit PROTOBUF_CONSTEXPR MLPlayerState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLPlayerState(const MLPlayerState& from); + MLPlayerState(MLPlayerState&& from) noexcept + : MLPlayerState() { + *this = ::std::move(from); + } + + inline MLPlayerState& operator=(const MLPlayerState& from) { + CopyFrom(from); + return *this; + } + inline MLPlayerState& operator=(MLPlayerState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLPlayerState& default_instance() { + return *internal_default_instance(); + } + static inline const MLPlayerState* internal_default_instance() { + return reinterpret_cast( + &_MLPlayerState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(MLPlayerState& a, MLPlayerState& b) { + a.Swap(&b); + } + inline void Swap(MLPlayerState* 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(MLPlayerState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLPlayerState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLPlayerState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLPlayerState& from) { + MLPlayerState::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(MLPlayerState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLPlayerState"; + } + protected: + explicit MLPlayerState(::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 = 20, + kNameFieldNumber = 4, + kClanFieldNumber = 5, + kAbsposFieldNumber = 7, + kEyeangleFieldNumber = 8, + kEyeangleFwdFieldNumber = 9, + kAccountIdFieldNumber = 1, + kEntindexFieldNumber = 3, + kTeamFieldNumber = 6, + kHealthFieldNumber = 10, + kArmorFieldNumber = 11, + kFlashedFieldNumber = 12, + kSmokedFieldNumber = 13, + kMoneyFieldNumber = 14, + kRoundKillsFieldNumber = 15, + kRoundKillhsFieldNumber = 16, + kBurningFieldNumber = 17, + kHelmetFieldNumber = 18, + kDefuseKitFieldNumber = 19, + kPlayerSlotFieldNumber = 2, + }; + // repeated .MLWeaponState weapons = 20; + int weapons_size() const; + private: + int _internal_weapons_size() const; + public: + void clear_weapons(); + ::MLWeaponState* mutable_weapons(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >* + mutable_weapons(); + private: + const ::MLWeaponState& _internal_weapons(int index) const; + ::MLWeaponState* _internal_add_weapons(); + public: + const ::MLWeaponState& weapons(int index) const; + ::MLWeaponState* add_weapons(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >& + weapons() const; + + // optional string name = 4; + 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: + + // optional string clan = 5; + bool has_clan() const; + private: + bool _internal_has_clan() const; + public: + void clear_clan(); + const std::string& clan() const; + template + void set_clan(ArgT0&& arg0, ArgT... args); + std::string* mutable_clan(); + PROTOBUF_NODISCARD std::string* release_clan(); + void set_allocated_clan(std::string* clan); + private: + const std::string& _internal_clan() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_clan(const std::string& value); + std::string* _internal_mutable_clan(); + public: + + // optional .CMsgVector abspos = 7; + bool has_abspos() const; + private: + bool _internal_has_abspos() const; + public: + void clear_abspos(); + const ::CMsgVector& abspos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_abspos(); + ::CMsgVector* mutable_abspos(); + void set_allocated_abspos(::CMsgVector* abspos); + private: + const ::CMsgVector& _internal_abspos() const; + ::CMsgVector* _internal_mutable_abspos(); + public: + void unsafe_arena_set_allocated_abspos( + ::CMsgVector* abspos); + ::CMsgVector* unsafe_arena_release_abspos(); + + // optional .CMsgQAngle eyeangle = 8; + bool has_eyeangle() const; + private: + bool _internal_has_eyeangle() const; + public: + void clear_eyeangle(); + const ::CMsgQAngle& eyeangle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_eyeangle(); + ::CMsgQAngle* mutable_eyeangle(); + void set_allocated_eyeangle(::CMsgQAngle* eyeangle); + private: + const ::CMsgQAngle& _internal_eyeangle() const; + ::CMsgQAngle* _internal_mutable_eyeangle(); + public: + void unsafe_arena_set_allocated_eyeangle( + ::CMsgQAngle* eyeangle); + ::CMsgQAngle* unsafe_arena_release_eyeangle(); + + // optional .CMsgVector eyeangle_fwd = 9; + bool has_eyeangle_fwd() const; + private: + bool _internal_has_eyeangle_fwd() const; + public: + void clear_eyeangle_fwd(); + const ::CMsgVector& eyeangle_fwd() const; + PROTOBUF_NODISCARD ::CMsgVector* release_eyeangle_fwd(); + ::CMsgVector* mutable_eyeangle_fwd(); + void set_allocated_eyeangle_fwd(::CMsgVector* eyeangle_fwd); + private: + const ::CMsgVector& _internal_eyeangle_fwd() const; + ::CMsgVector* _internal_mutable_eyeangle_fwd(); + public: + void unsafe_arena_set_allocated_eyeangle_fwd( + ::CMsgVector* eyeangle_fwd); + ::CMsgVector* unsafe_arena_release_eyeangle_fwd(); + + // optional int32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + int32_t account_id() const; + void set_account_id(int32_t value); + private: + int32_t _internal_account_id() const; + void _internal_set_account_id(int32_t value); + public: + + // optional int32 entindex = 3; + bool has_entindex() const; + private: + bool _internal_has_entindex() const; + public: + void clear_entindex(); + int32_t entindex() const; + void set_entindex(int32_t value); + private: + int32_t _internal_entindex() const; + void _internal_set_entindex(int32_t value); + public: + + // optional .ETeam team = 6 [default = ET_Unknown]; + bool has_team() const; + private: + bool _internal_has_team() const; + public: + void clear_team(); + ::ETeam team() const; + void set_team(::ETeam value); + private: + ::ETeam _internal_team() const; + void _internal_set_team(::ETeam value); + public: + + // optional int32 health = 10; + bool has_health() const; + private: + bool _internal_has_health() const; + public: + void clear_health(); + int32_t health() const; + void set_health(int32_t value); + private: + int32_t _internal_health() const; + void _internal_set_health(int32_t value); + public: + + // optional int32 armor = 11; + bool has_armor() const; + private: + bool _internal_has_armor() const; + public: + void clear_armor(); + int32_t armor() const; + void set_armor(int32_t value); + private: + int32_t _internal_armor() const; + void _internal_set_armor(int32_t value); + public: + + // optional float flashed = 12; + bool has_flashed() const; + private: + bool _internal_has_flashed() const; + public: + void clear_flashed(); + float flashed() const; + void set_flashed(float value); + private: + float _internal_flashed() const; + void _internal_set_flashed(float value); + public: + + // optional float smoked = 13; + bool has_smoked() const; + private: + bool _internal_has_smoked() const; + public: + void clear_smoked(); + float smoked() const; + void set_smoked(float value); + private: + float _internal_smoked() const; + void _internal_set_smoked(float value); + public: + + // optional int32 money = 14; + bool has_money() const; + private: + bool _internal_has_money() const; + public: + void clear_money(); + int32_t money() const; + void set_money(int32_t value); + private: + int32_t _internal_money() const; + void _internal_set_money(int32_t value); + public: + + // optional int32 round_kills = 15; + bool has_round_kills() const; + private: + bool _internal_has_round_kills() const; + public: + void clear_round_kills(); + int32_t round_kills() const; + void set_round_kills(int32_t value); + private: + int32_t _internal_round_kills() const; + void _internal_set_round_kills(int32_t value); + public: + + // optional int32 round_killhs = 16; + bool has_round_killhs() const; + private: + bool _internal_has_round_killhs() const; + public: + void clear_round_killhs(); + int32_t round_killhs() const; + void set_round_killhs(int32_t value); + private: + int32_t _internal_round_killhs() const; + void _internal_set_round_killhs(int32_t value); + public: + + // optional float burning = 17; + bool has_burning() const; + private: + bool _internal_has_burning() const; + public: + void clear_burning(); + float burning() const; + void set_burning(float value); + private: + float _internal_burning() const; + void _internal_set_burning(float value); + public: + + // optional bool helmet = 18; + bool has_helmet() const; + private: + bool _internal_has_helmet() const; + public: + void clear_helmet(); + bool helmet() const; + void set_helmet(bool value); + private: + bool _internal_helmet() const; + void _internal_set_helmet(bool value); + public: + + // optional bool defuse_kit = 19; + bool has_defuse_kit() const; + private: + bool _internal_has_defuse_kit() const; + public: + void clear_defuse_kit(); + bool defuse_kit() const; + void set_defuse_kit(bool value); + private: + bool _internal_defuse_kit() const; + void _internal_set_defuse_kit(bool value); + public: + + // optional int32 player_slot = 2 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:MLPlayerState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState > weapons_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clan_; + ::CMsgVector* abspos_; + ::CMsgQAngle* eyeangle_; + ::CMsgVector* eyeangle_fwd_; + int32_t account_id_; + int32_t entindex_; + int team_; + int32_t health_; + int32_t armor_; + float flashed_; + float smoked_; + int32_t money_; + int32_t round_kills_; + int32_t round_killhs_; + float burning_; + bool helmet_; + bool defuse_kit_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLGameState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLGameState) */ { + public: + inline MLGameState() : MLGameState(nullptr) {} + ~MLGameState() override; + explicit PROTOBUF_CONSTEXPR MLGameState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLGameState(const MLGameState& from); + MLGameState(MLGameState&& from) noexcept + : MLGameState() { + *this = ::std::move(from); + } + + inline MLGameState& operator=(const MLGameState& from) { + CopyFrom(from); + return *this; + } + inline MLGameState& operator=(MLGameState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLGameState& default_instance() { + return *internal_default_instance(); + } + static inline const MLGameState* internal_default_instance() { + return reinterpret_cast( + &_MLGameState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(MLGameState& a, MLGameState& b) { + a.Swap(&b); + } + inline void Swap(MLGameState* 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(MLGameState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLGameState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLGameState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLGameState& from) { + MLGameState::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(MLGameState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLGameState"; + } + protected: + explicit MLGameState(::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, + kMatchFieldNumber = 1, + kRoundFieldNumber = 2, + }; + // repeated .MLPlayerState players = 3; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::MLPlayerState* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >* + mutable_players(); + private: + const ::MLPlayerState& _internal_players(int index) const; + ::MLPlayerState* _internal_add_players(); + public: + const ::MLPlayerState& players(int index) const; + ::MLPlayerState* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >& + players() const; + + // optional .MLMatchState match = 1; + bool has_match() const; + private: + bool _internal_has_match() const; + public: + void clear_match(); + const ::MLMatchState& match() const; + PROTOBUF_NODISCARD ::MLMatchState* release_match(); + ::MLMatchState* mutable_match(); + void set_allocated_match(::MLMatchState* match); + private: + const ::MLMatchState& _internal_match() const; + ::MLMatchState* _internal_mutable_match(); + public: + void unsafe_arena_set_allocated_match( + ::MLMatchState* match); + ::MLMatchState* unsafe_arena_release_match(); + + // optional .MLRoundState round = 2; + bool has_round() const; + private: + bool _internal_has_round() const; + public: + void clear_round(); + const ::MLRoundState& round() const; + PROTOBUF_NODISCARD ::MLRoundState* release_round(); + ::MLRoundState* mutable_round(); + void set_allocated_round(::MLRoundState* round); + private: + const ::MLRoundState& _internal_round() const; + ::MLRoundState* _internal_mutable_round(); + public: + void unsafe_arena_set_allocated_round( + ::MLRoundState* round); + ::MLRoundState* unsafe_arena_release_round(); + + // @@protoc_insertion_point(class_scope:MLGameState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState > players_; + ::MLMatchState* match_; + ::MLRoundState* round_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLDemoHeader final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLDemoHeader) */ { + public: + inline MLDemoHeader() : MLDemoHeader(nullptr) {} + ~MLDemoHeader() override; + explicit PROTOBUF_CONSTEXPR MLDemoHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLDemoHeader(const MLDemoHeader& from); + MLDemoHeader(MLDemoHeader&& from) noexcept + : MLDemoHeader() { + *this = ::std::move(from); + } + + inline MLDemoHeader& operator=(const MLDemoHeader& from) { + CopyFrom(from); + return *this; + } + inline MLDemoHeader& operator=(MLDemoHeader&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLDemoHeader& default_instance() { + return *internal_default_instance(); + } + static inline const MLDemoHeader* internal_default_instance() { + return reinterpret_cast( + &_MLDemoHeader_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(MLDemoHeader& a, MLDemoHeader& b) { + a.Swap(&b); + } + inline void Swap(MLDemoHeader* 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(MLDemoHeader* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLDemoHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLDemoHeader& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLDemoHeader& from) { + MLDemoHeader::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(MLDemoHeader* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLDemoHeader"; + } + protected: + explicit MLDemoHeader(::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 { + kMapNameFieldNumber = 1, + kTickRateFieldNumber = 2, + kVersionFieldNumber = 3, + kSteamUniverseFieldNumber = 4, + }; + // optional string map_name = 1; + bool has_map_name() const; + private: + bool _internal_has_map_name() const; + public: + void clear_map_name(); + const std::string& map_name() const; + template + void set_map_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_map_name(); + PROTOBUF_NODISCARD std::string* release_map_name(); + void set_allocated_map_name(std::string* map_name); + private: + const std::string& _internal_map_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); + std::string* _internal_mutable_map_name(); + public: + + // optional int32 tick_rate = 2; + bool has_tick_rate() const; + private: + bool _internal_has_tick_rate() const; + public: + void clear_tick_rate(); + int32_t tick_rate() const; + void set_tick_rate(int32_t value); + private: + int32_t _internal_tick_rate() const; + void _internal_set_tick_rate(int32_t value); + public: + + // optional uint32 version = 3; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 steam_universe = 4; + bool has_steam_universe() const; + private: + bool _internal_has_steam_universe() const; + public: + void clear_steam_universe(); + uint32_t steam_universe() const; + void set_steam_universe(uint32_t value); + private: + uint32_t _internal_steam_universe() const; + void _internal_set_steam_universe(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:MLDemoHeader) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; + int32_t tick_rate_; + uint32_t version_; + uint32_t steam_universe_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class MLTick final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLTick) */ { + public: + inline MLTick() : MLTick(nullptr) {} + ~MLTick() override; + explicit PROTOBUF_CONSTEXPR MLTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLTick(const MLTick& from); + MLTick(MLTick&& from) noexcept + : MLTick() { + *this = ::std::move(from); + } + + inline MLTick& operator=(const MLTick& from) { + CopyFrom(from); + return *this; + } + inline MLTick& operator=(MLTick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 MLTick& default_instance() { + return *internal_default_instance(); + } + static inline const MLTick* internal_default_instance() { + return reinterpret_cast( + &_MLTick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(MLTick& a, MLTick& b) { + a.Swap(&b); + } + inline void Swap(MLTick* 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(MLTick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MLTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MLTick& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MLTick& from) { + MLTick::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(MLTick* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MLTick"; + } + protected: + explicit MLTick(::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 { + kEventsFieldNumber = 3, + kStateFieldNumber = 2, + kTickCountFieldNumber = 1, + }; + // repeated .MLEvent events = 3; + int events_size() const; + private: + int _internal_events_size() const; + public: + void clear_events(); + ::MLEvent* mutable_events(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >* + mutable_events(); + private: + const ::MLEvent& _internal_events(int index) const; + ::MLEvent* _internal_add_events(); + public: + const ::MLEvent& events(int index) const; + ::MLEvent* add_events(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >& + events() const; + + // optional .MLGameState state = 2; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + const ::MLGameState& state() const; + PROTOBUF_NODISCARD ::MLGameState* release_state(); + ::MLGameState* mutable_state(); + void set_allocated_state(::MLGameState* state); + private: + const ::MLGameState& _internal_state() const; + ::MLGameState* _internal_mutable_state(); + public: + void unsafe_arena_set_allocated_state( + ::MLGameState* state); + ::MLGameState* unsafe_arena_release_state(); + + // optional int32 tick_count = 1; + bool has_tick_count() const; + private: + bool _internal_has_tick_count() const; + public: + void clear_tick_count(); + int32_t tick_count() const; + void set_tick_count(int32_t value); + private: + int32_t _internal_tick_count() const; + void _internal_set_tick_count(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:MLTick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent > events_; + ::MLGameState* state_; + int32_t tick_count_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// ------------------------------------------------------------------- + +class VacNetShot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:VacNetShot) */ { + public: + inline VacNetShot() : VacNetShot(nullptr) {} + ~VacNetShot() override; + explicit PROTOBUF_CONSTEXPR VacNetShot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + VacNetShot(const VacNetShot& from); + VacNetShot(VacNetShot&& from) noexcept + : VacNetShot() { + *this = ::std::move(from); + } + + inline VacNetShot& operator=(const VacNetShot& from) { + CopyFrom(from); + return *this; + } + inline VacNetShot& operator=(VacNetShot&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 VacNetShot& default_instance() { + return *internal_default_instance(); + } + static inline const VacNetShot* internal_default_instance() { + return reinterpret_cast( + &_VacNetShot_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(VacNetShot& a, VacNetShot& b) { + a.Swap(&b); + } + inline void Swap(VacNetShot* 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(VacNetShot* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + VacNetShot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const VacNetShot& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const VacNetShot& from) { + VacNetShot::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(VacNetShot* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "VacNetShot"; + } + protected: + explicit VacNetShot(::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 { + kDeltaYawWindowFieldNumber = 6, + kDeltaPitchWindowFieldNumber = 7, + kSteamidPlayerFieldNumber = 1, + kRoundNumberFieldNumber = 2, + kHitTypeFieldNumber = 3, + kWeaponTypeFieldNumber = 4, + kDistanceToHurtTargetFieldNumber = 5, + }; + // repeated float delta_yaw_window = 6; + int delta_yaw_window_size() const; + private: + int _internal_delta_yaw_window_size() const; + public: + void clear_delta_yaw_window(); + private: + float _internal_delta_yaw_window(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_delta_yaw_window() const; + void _internal_add_delta_yaw_window(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_delta_yaw_window(); + public: + float delta_yaw_window(int index) const; + void set_delta_yaw_window(int index, float value); + void add_delta_yaw_window(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + delta_yaw_window() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_delta_yaw_window(); + + // repeated float delta_pitch_window = 7; + int delta_pitch_window_size() const; + private: + int _internal_delta_pitch_window_size() const; + public: + void clear_delta_pitch_window(); + private: + float _internal_delta_pitch_window(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_delta_pitch_window() const; + void _internal_add_delta_pitch_window(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_delta_pitch_window(); + public: + float delta_pitch_window(int index) const; + void set_delta_pitch_window(int index, float value); + void add_delta_pitch_window(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + delta_pitch_window() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_delta_pitch_window(); + + // optional fixed64 steamid_player = 1; + bool has_steamid_player() const; + private: + bool _internal_has_steamid_player() const; + public: + void clear_steamid_player(); + uint64_t steamid_player() const; + void set_steamid_player(uint64_t value); + private: + uint64_t _internal_steamid_player() const; + void _internal_set_steamid_player(uint64_t value); + public: + + // optional int32 round_number = 2; + bool has_round_number() const; + private: + bool _internal_has_round_number() const; + public: + void clear_round_number(); + int32_t round_number() const; + void set_round_number(int32_t value); + private: + int32_t _internal_round_number() const; + void _internal_set_round_number(int32_t value); + public: + + // optional int32 hit_type = 3; + bool has_hit_type() const; + private: + bool _internal_has_hit_type() const; + public: + void clear_hit_type(); + int32_t hit_type() const; + void set_hit_type(int32_t value); + private: + int32_t _internal_hit_type() const; + void _internal_set_hit_type(int32_t value); + public: + + // optional int32 weapon_type = 4; + bool has_weapon_type() const; + private: + bool _internal_has_weapon_type() const; + public: + void clear_weapon_type(); + int32_t weapon_type() const; + void set_weapon_type(int32_t value); + private: + int32_t _internal_weapon_type() const; + void _internal_set_weapon_type(int32_t value); + public: + + // optional float distance_to_hurt_target = 5; + bool has_distance_to_hurt_target() const; + private: + bool _internal_has_distance_to_hurt_target() const; + public: + void clear_distance_to_hurt_target(); + float distance_to_hurt_target() const; + void set_distance_to_hurt_target(float value); + private: + float _internal_distance_to_hurt_target() const; + void _internal_set_distance_to_hurt_target(float value); + public: + + // @@protoc_insertion_point(class_scope:VacNetShot) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > delta_yaw_window_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > delta_pitch_window_; + uint64_t steamid_player_; + int32_t round_number_; + int32_t hit_type_; + int32_t weapon_type_; + float distance_to_hurt_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_fatdemo_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// MLDict + +// optional string key = 1; +inline bool MLDict::_internal_has_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLDict::has_key() const { + return _internal_has_key(); +} +inline void MLDict::clear_key() { + _impl_.key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLDict::key() const { + // @@protoc_insertion_point(field_get:MLDict.key) + return _internal_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLDict::set_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLDict.key) +} +inline std::string* MLDict::mutable_key() { + std::string* _s = _internal_mutable_key(); + // @@protoc_insertion_point(field_mutable:MLDict.key) + return _s; +} +inline const std::string& MLDict::_internal_key() const { + return _impl_.key_.Get(); +} +inline void MLDict::_internal_set_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLDict::_internal_mutable_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.key_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLDict::release_key() { + // @@protoc_insertion_point(field_release:MLDict.key) + if (!_internal_has_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_.IsDefault()) { + _impl_.key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLDict::set_allocated_key(std::string* key) { + if (key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.key_.SetAllocated(key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_.IsDefault()) { + _impl_.key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLDict.key) +} + +// optional string val_string = 2; +inline bool MLDict::_internal_has_val_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLDict::has_val_string() const { + return _internal_has_val_string(); +} +inline void MLDict::clear_val_string() { + _impl_.val_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& MLDict::val_string() const { + // @@protoc_insertion_point(field_get:MLDict.val_string) + return _internal_val_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLDict::set_val_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLDict.val_string) +} +inline std::string* MLDict::mutable_val_string() { + std::string* _s = _internal_mutable_val_string(); + // @@protoc_insertion_point(field_mutable:MLDict.val_string) + return _s; +} +inline const std::string& MLDict::_internal_val_string() const { + return _impl_.val_string_.Get(); +} +inline void MLDict::_internal_set_val_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.val_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLDict::_internal_mutable_val_string() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.val_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLDict::release_val_string() { + // @@protoc_insertion_point(field_release:MLDict.val_string) + if (!_internal_has_val_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.val_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLDict::set_allocated_val_string(std::string* val_string) { + if (val_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLDict.val_string) +} + +// optional int32 val_int = 3; +inline bool MLDict::_internal_has_val_int() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MLDict::has_val_int() const { + return _internal_has_val_int(); +} +inline void MLDict::clear_val_int() { + _impl_.val_int_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t MLDict::_internal_val_int() const { + return _impl_.val_int_; +} +inline int32_t MLDict::val_int() const { + // @@protoc_insertion_point(field_get:MLDict.val_int) + return _internal_val_int(); +} +inline void MLDict::_internal_set_val_int(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.val_int_ = value; +} +inline void MLDict::set_val_int(int32_t value) { + _internal_set_val_int(value); + // @@protoc_insertion_point(field_set:MLDict.val_int) +} + +// optional float val_float = 4; +inline bool MLDict::_internal_has_val_float() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool MLDict::has_val_float() const { + return _internal_has_val_float(); +} +inline void MLDict::clear_val_float() { + _impl_.val_float_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float MLDict::_internal_val_float() const { + return _impl_.val_float_; +} +inline float MLDict::val_float() const { + // @@protoc_insertion_point(field_get:MLDict.val_float) + return _internal_val_float(); +} +inline void MLDict::_internal_set_val_float(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.val_float_ = value; +} +inline void MLDict::set_val_float(float value) { + _internal_set_val_float(value); + // @@protoc_insertion_point(field_set:MLDict.val_float) +} + +// ------------------------------------------------------------------- + +// MLEvent + +// optional string event_name = 1; +inline bool MLEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void MLEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLEvent::event_name() const { + // @@protoc_insertion_point(field_get:MLEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLEvent.event_name) +} +inline std::string* MLEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:MLEvent.event_name) + return _s; +} +inline const std::string& MLEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void MLEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLEvent::release_event_name() { + // @@protoc_insertion_point(field_release:MLEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLEvent.event_name) +} + +// repeated .MLDict data = 2; +inline int MLEvent::_internal_data_size() const { + return _impl_.data_.size(); +} +inline int MLEvent::data_size() const { + return _internal_data_size(); +} +inline void MLEvent::clear_data() { + _impl_.data_.Clear(); +} +inline ::MLDict* MLEvent::mutable_data(int index) { + // @@protoc_insertion_point(field_mutable:MLEvent.data) + return _impl_.data_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >* +MLEvent::mutable_data() { + // @@protoc_insertion_point(field_mutable_list:MLEvent.data) + return &_impl_.data_; +} +inline const ::MLDict& MLEvent::_internal_data(int index) const { + return _impl_.data_.Get(index); +} +inline const ::MLDict& MLEvent::data(int index) const { + // @@protoc_insertion_point(field_get:MLEvent.data) + return _internal_data(index); +} +inline ::MLDict* MLEvent::_internal_add_data() { + return _impl_.data_.Add(); +} +inline ::MLDict* MLEvent::add_data() { + ::MLDict* _add = _internal_add_data(); + // @@protoc_insertion_point(field_add:MLEvent.data) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >& +MLEvent::data() const { + // @@protoc_insertion_point(field_list:MLEvent.data) + return _impl_.data_; +} + +// ------------------------------------------------------------------- + +// MLMatchState + +// optional string game_mode = 1; +inline bool MLMatchState::_internal_has_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLMatchState::has_game_mode() const { + return _internal_has_game_mode(); +} +inline void MLMatchState::clear_game_mode() { + _impl_.game_mode_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLMatchState::game_mode() const { + // @@protoc_insertion_point(field_get:MLMatchState.game_mode) + return _internal_game_mode(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLMatchState::set_game_mode(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLMatchState.game_mode) +} +inline std::string* MLMatchState::mutable_game_mode() { + std::string* _s = _internal_mutable_game_mode(); + // @@protoc_insertion_point(field_mutable:MLMatchState.game_mode) + return _s; +} +inline const std::string& MLMatchState::_internal_game_mode() const { + return _impl_.game_mode_.Get(); +} +inline void MLMatchState::_internal_set_game_mode(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLMatchState::_internal_mutable_game_mode() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_mode_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLMatchState::release_game_mode() { + // @@protoc_insertion_point(field_release:MLMatchState.game_mode) + if (!_internal_has_game_mode()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_mode_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLMatchState::set_allocated_game_mode(std::string* game_mode) { + if (game_mode != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLMatchState.game_mode) +} + +// optional string phase = 2; +inline bool MLMatchState::_internal_has_phase() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLMatchState::has_phase() const { + return _internal_has_phase(); +} +inline void MLMatchState::clear_phase() { + _impl_.phase_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& MLMatchState::phase() const { + // @@protoc_insertion_point(field_get:MLMatchState.phase) + return _internal_phase(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLMatchState::set_phase(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.phase_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLMatchState.phase) +} +inline std::string* MLMatchState::mutable_phase() { + std::string* _s = _internal_mutable_phase(); + // @@protoc_insertion_point(field_mutable:MLMatchState.phase) + return _s; +} +inline const std::string& MLMatchState::_internal_phase() const { + return _impl_.phase_.Get(); +} +inline void MLMatchState::_internal_set_phase(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.phase_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLMatchState::_internal_mutable_phase() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.phase_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLMatchState::release_phase() { + // @@protoc_insertion_point(field_release:MLMatchState.phase) + if (!_internal_has_phase()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.phase_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.phase_.IsDefault()) { + _impl_.phase_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLMatchState::set_allocated_phase(std::string* phase) { + if (phase != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.phase_.SetAllocated(phase, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.phase_.IsDefault()) { + _impl_.phase_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLMatchState.phase) +} + +// optional int32 round = 3; +inline bool MLMatchState::_internal_has_round() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MLMatchState::has_round() const { + return _internal_has_round(); +} +inline void MLMatchState::clear_round() { + _impl_.round_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t MLMatchState::_internal_round() const { + return _impl_.round_; +} +inline int32_t MLMatchState::round() const { + // @@protoc_insertion_point(field_get:MLMatchState.round) + return _internal_round(); +} +inline void MLMatchState::_internal_set_round(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.round_ = value; +} +inline void MLMatchState::set_round(int32_t value) { + _internal_set_round(value); + // @@protoc_insertion_point(field_set:MLMatchState.round) +} + +// optional int32 score_ct = 4; +inline bool MLMatchState::_internal_has_score_ct() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool MLMatchState::has_score_ct() const { + return _internal_has_score_ct(); +} +inline void MLMatchState::clear_score_ct() { + _impl_.score_ct_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t MLMatchState::_internal_score_ct() const { + return _impl_.score_ct_; +} +inline int32_t MLMatchState::score_ct() const { + // @@protoc_insertion_point(field_get:MLMatchState.score_ct) + return _internal_score_ct(); +} +inline void MLMatchState::_internal_set_score_ct(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.score_ct_ = value; +} +inline void MLMatchState::set_score_ct(int32_t value) { + _internal_set_score_ct(value); + // @@protoc_insertion_point(field_set:MLMatchState.score_ct) +} + +// optional int32 score_t = 5; +inline bool MLMatchState::_internal_has_score_t() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool MLMatchState::has_score_t() const { + return _internal_has_score_t(); +} +inline void MLMatchState::clear_score_t() { + _impl_.score_t_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t MLMatchState::_internal_score_t() const { + return _impl_.score_t_; +} +inline int32_t MLMatchState::score_t() const { + // @@protoc_insertion_point(field_get:MLMatchState.score_t) + return _internal_score_t(); +} +inline void MLMatchState::_internal_set_score_t(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.score_t_ = value; +} +inline void MLMatchState::set_score_t(int32_t value) { + _internal_set_score_t(value); + // @@protoc_insertion_point(field_set:MLMatchState.score_t) +} + +// ------------------------------------------------------------------- + +// MLRoundState + +// optional string phase = 1; +inline bool MLRoundState::_internal_has_phase() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLRoundState::has_phase() const { + return _internal_has_phase(); +} +inline void MLRoundState::clear_phase() { + _impl_.phase_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLRoundState::phase() const { + // @@protoc_insertion_point(field_get:MLRoundState.phase) + return _internal_phase(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLRoundState::set_phase(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.phase_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLRoundState.phase) +} +inline std::string* MLRoundState::mutable_phase() { + std::string* _s = _internal_mutable_phase(); + // @@protoc_insertion_point(field_mutable:MLRoundState.phase) + return _s; +} +inline const std::string& MLRoundState::_internal_phase() const { + return _impl_.phase_.Get(); +} +inline void MLRoundState::_internal_set_phase(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.phase_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLRoundState::_internal_mutable_phase() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.phase_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLRoundState::release_phase() { + // @@protoc_insertion_point(field_release:MLRoundState.phase) + if (!_internal_has_phase()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.phase_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.phase_.IsDefault()) { + _impl_.phase_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLRoundState::set_allocated_phase(std::string* phase) { + if (phase != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.phase_.SetAllocated(phase, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.phase_.IsDefault()) { + _impl_.phase_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLRoundState.phase) +} + +// optional .ETeam win_team = 2 [default = ET_Unknown]; +inline bool MLRoundState::_internal_has_win_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MLRoundState::has_win_team() const { + return _internal_has_win_team(); +} +inline void MLRoundState::clear_win_team() { + _impl_.win_team_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline ::ETeam MLRoundState::_internal_win_team() const { + return static_cast< ::ETeam >(_impl_.win_team_); +} +inline ::ETeam MLRoundState::win_team() const { + // @@protoc_insertion_point(field_get:MLRoundState.win_team) + return _internal_win_team(); +} +inline void MLRoundState::_internal_set_win_team(::ETeam value) { + assert(::ETeam_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.win_team_ = value; +} +inline void MLRoundState::set_win_team(::ETeam value) { + _internal_set_win_team(value); + // @@protoc_insertion_point(field_set:MLRoundState.win_team) +} + +// optional string bomb_state = 3; +inline bool MLRoundState::_internal_has_bomb_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLRoundState::has_bomb_state() const { + return _internal_has_bomb_state(); +} +inline void MLRoundState::clear_bomb_state() { + _impl_.bomb_state_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& MLRoundState::bomb_state() const { + // @@protoc_insertion_point(field_get:MLRoundState.bomb_state) + return _internal_bomb_state(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLRoundState::set_bomb_state(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.bomb_state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLRoundState.bomb_state) +} +inline std::string* MLRoundState::mutable_bomb_state() { + std::string* _s = _internal_mutable_bomb_state(); + // @@protoc_insertion_point(field_mutable:MLRoundState.bomb_state) + return _s; +} +inline const std::string& MLRoundState::_internal_bomb_state() const { + return _impl_.bomb_state_.Get(); +} +inline void MLRoundState::_internal_set_bomb_state(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.bomb_state_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLRoundState::_internal_mutable_bomb_state() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.bomb_state_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLRoundState::release_bomb_state() { + // @@protoc_insertion_point(field_release:MLRoundState.bomb_state) + if (!_internal_has_bomb_state()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.bomb_state_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.bomb_state_.IsDefault()) { + _impl_.bomb_state_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLRoundState::set_allocated_bomb_state(std::string* bomb_state) { + if (bomb_state != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.bomb_state_.SetAllocated(bomb_state, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.bomb_state_.IsDefault()) { + _impl_.bomb_state_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLRoundState.bomb_state) +} + +// ------------------------------------------------------------------- + +// MLWeaponState + +// optional int32 index = 1; +inline bool MLWeaponState::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MLWeaponState::has_index() const { + return _internal_has_index(); +} +inline void MLWeaponState::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t MLWeaponState::_internal_index() const { + return _impl_.index_; +} +inline int32_t MLWeaponState::index() const { + // @@protoc_insertion_point(field_get:MLWeaponState.index) + return _internal_index(); +} +inline void MLWeaponState::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.index_ = value; +} +inline void MLWeaponState::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:MLWeaponState.index) +} + +// optional string name = 2; +inline bool MLWeaponState::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLWeaponState::has_name() const { + return _internal_has_name(); +} +inline void MLWeaponState::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLWeaponState::name() const { + // @@protoc_insertion_point(field_get:MLWeaponState.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLWeaponState::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLWeaponState.name) +} +inline std::string* MLWeaponState::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:MLWeaponState.name) + return _s; +} +inline const std::string& MLWeaponState::_internal_name() const { + return _impl_.name_.Get(); +} +inline void MLWeaponState::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLWeaponState::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLWeaponState::release_name() { + // @@protoc_insertion_point(field_release:MLWeaponState.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLWeaponState::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:MLWeaponState.name) +} + +// optional .EWeaponType type = 3 [default = EWT_Knife]; +inline bool MLWeaponState::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool MLWeaponState::has_type() const { + return _internal_has_type(); +} +inline void MLWeaponState::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline ::EWeaponType MLWeaponState::_internal_type() const { + return static_cast< ::EWeaponType >(_impl_.type_); +} +inline ::EWeaponType MLWeaponState::type() const { + // @@protoc_insertion_point(field_get:MLWeaponState.type) + return _internal_type(); +} +inline void MLWeaponState::_internal_set_type(::EWeaponType value) { + assert(::EWeaponType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.type_ = value; +} +inline void MLWeaponState::set_type(::EWeaponType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:MLWeaponState.type) +} + +// optional int32 ammo_clip = 4; +inline bool MLWeaponState::_internal_has_ammo_clip() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool MLWeaponState::has_ammo_clip() const { + return _internal_has_ammo_clip(); +} +inline void MLWeaponState::clear_ammo_clip() { + _impl_.ammo_clip_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t MLWeaponState::_internal_ammo_clip() const { + return _impl_.ammo_clip_; +} +inline int32_t MLWeaponState::ammo_clip() const { + // @@protoc_insertion_point(field_get:MLWeaponState.ammo_clip) + return _internal_ammo_clip(); +} +inline void MLWeaponState::_internal_set_ammo_clip(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ammo_clip_ = value; +} +inline void MLWeaponState::set_ammo_clip(int32_t value) { + _internal_set_ammo_clip(value); + // @@protoc_insertion_point(field_set:MLWeaponState.ammo_clip) +} + +// optional int32 ammo_clip_max = 5; +inline bool MLWeaponState::_internal_has_ammo_clip_max() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool MLWeaponState::has_ammo_clip_max() const { + return _internal_has_ammo_clip_max(); +} +inline void MLWeaponState::clear_ammo_clip_max() { + _impl_.ammo_clip_max_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t MLWeaponState::_internal_ammo_clip_max() const { + return _impl_.ammo_clip_max_; +} +inline int32_t MLWeaponState::ammo_clip_max() const { + // @@protoc_insertion_point(field_get:MLWeaponState.ammo_clip_max) + return _internal_ammo_clip_max(); +} +inline void MLWeaponState::_internal_set_ammo_clip_max(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.ammo_clip_max_ = value; +} +inline void MLWeaponState::set_ammo_clip_max(int32_t value) { + _internal_set_ammo_clip_max(value); + // @@protoc_insertion_point(field_set:MLWeaponState.ammo_clip_max) +} + +// optional int32 ammo_reserve = 6; +inline bool MLWeaponState::_internal_has_ammo_reserve() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool MLWeaponState::has_ammo_reserve() const { + return _internal_has_ammo_reserve(); +} +inline void MLWeaponState::clear_ammo_reserve() { + _impl_.ammo_reserve_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t MLWeaponState::_internal_ammo_reserve() const { + return _impl_.ammo_reserve_; +} +inline int32_t MLWeaponState::ammo_reserve() const { + // @@protoc_insertion_point(field_get:MLWeaponState.ammo_reserve) + return _internal_ammo_reserve(); +} +inline void MLWeaponState::_internal_set_ammo_reserve(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ammo_reserve_ = value; +} +inline void MLWeaponState::set_ammo_reserve(int32_t value) { + _internal_set_ammo_reserve(value); + // @@protoc_insertion_point(field_set:MLWeaponState.ammo_reserve) +} + +// optional string state = 7; +inline bool MLWeaponState::_internal_has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLWeaponState::has_state() const { + return _internal_has_state(); +} +inline void MLWeaponState::clear_state() { + _impl_.state_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& MLWeaponState::state() const { + // @@protoc_insertion_point(field_get:MLWeaponState.state) + return _internal_state(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLWeaponState::set_state(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLWeaponState.state) +} +inline std::string* MLWeaponState::mutable_state() { + std::string* _s = _internal_mutable_state(); + // @@protoc_insertion_point(field_mutable:MLWeaponState.state) + return _s; +} +inline const std::string& MLWeaponState::_internal_state() const { + return _impl_.state_.Get(); +} +inline void MLWeaponState::_internal_set_state(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.state_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLWeaponState::_internal_mutable_state() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.state_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLWeaponState::release_state() { + // @@protoc_insertion_point(field_release:MLWeaponState.state) + if (!_internal_has_state()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.state_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.state_.IsDefault()) { + _impl_.state_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLWeaponState::set_allocated_state(std::string* state) { + if (state != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _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:MLWeaponState.state) +} + +// optional float recoil_index = 8; +inline bool MLWeaponState::_internal_has_recoil_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool MLWeaponState::has_recoil_index() const { + return _internal_has_recoil_index(); +} +inline void MLWeaponState::clear_recoil_index() { + _impl_.recoil_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float MLWeaponState::_internal_recoil_index() const { + return _impl_.recoil_index_; +} +inline float MLWeaponState::recoil_index() const { + // @@protoc_insertion_point(field_get:MLWeaponState.recoil_index) + return _internal_recoil_index(); +} +inline void MLWeaponState::_internal_set_recoil_index(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.recoil_index_ = value; +} +inline void MLWeaponState::set_recoil_index(float value) { + _internal_set_recoil_index(value); + // @@protoc_insertion_point(field_set:MLWeaponState.recoil_index) +} + +// ------------------------------------------------------------------- + +// MLPlayerState + +// optional int32 account_id = 1; +inline bool MLPlayerState::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool MLPlayerState::has_account_id() const { + return _internal_has_account_id(); +} +inline void MLPlayerState::clear_account_id() { + _impl_.account_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t MLPlayerState::_internal_account_id() const { + return _impl_.account_id_; +} +inline int32_t MLPlayerState::account_id() const { + // @@protoc_insertion_point(field_get:MLPlayerState.account_id) + return _internal_account_id(); +} +inline void MLPlayerState::_internal_set_account_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.account_id_ = value; +} +inline void MLPlayerState::set_account_id(int32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:MLPlayerState.account_id) +} + +// optional int32 player_slot = 2 [default = -1]; +inline bool MLPlayerState::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool MLPlayerState::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void MLPlayerState::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline int32_t MLPlayerState::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t MLPlayerState::player_slot() const { + // @@protoc_insertion_point(field_get:MLPlayerState.player_slot) + return _internal_player_slot(); +} +inline void MLPlayerState::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.player_slot_ = value; +} +inline void MLPlayerState::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:MLPlayerState.player_slot) +} + +// optional int32 entindex = 3; +inline bool MLPlayerState::_internal_has_entindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool MLPlayerState::has_entindex() const { + return _internal_has_entindex(); +} +inline void MLPlayerState::clear_entindex() { + _impl_.entindex_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t MLPlayerState::_internal_entindex() const { + return _impl_.entindex_; +} +inline int32_t MLPlayerState::entindex() const { + // @@protoc_insertion_point(field_get:MLPlayerState.entindex) + return _internal_entindex(); +} +inline void MLPlayerState::_internal_set_entindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.entindex_ = value; +} +inline void MLPlayerState::set_entindex(int32_t value) { + _internal_set_entindex(value); + // @@protoc_insertion_point(field_set:MLPlayerState.entindex) +} + +// optional string name = 4; +inline bool MLPlayerState::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLPlayerState::has_name() const { + return _internal_has_name(); +} +inline void MLPlayerState::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLPlayerState::name() const { + // @@protoc_insertion_point(field_get:MLPlayerState.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLPlayerState::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLPlayerState.name) +} +inline std::string* MLPlayerState::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:MLPlayerState.name) + return _s; +} +inline const std::string& MLPlayerState::_internal_name() const { + return _impl_.name_.Get(); +} +inline void MLPlayerState::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLPlayerState::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLPlayerState::release_name() { + // @@protoc_insertion_point(field_release:MLPlayerState.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLPlayerState::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:MLPlayerState.name) +} + +// optional string clan = 5; +inline bool MLPlayerState::_internal_has_clan() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLPlayerState::has_clan() const { + return _internal_has_clan(); +} +inline void MLPlayerState::clear_clan() { + _impl_.clan_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& MLPlayerState::clan() const { + // @@protoc_insertion_point(field_get:MLPlayerState.clan) + return _internal_clan(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLPlayerState::set_clan(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.clan_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLPlayerState.clan) +} +inline std::string* MLPlayerState::mutable_clan() { + std::string* _s = _internal_mutable_clan(); + // @@protoc_insertion_point(field_mutable:MLPlayerState.clan) + return _s; +} +inline const std::string& MLPlayerState::_internal_clan() const { + return _impl_.clan_.Get(); +} +inline void MLPlayerState::_internal_set_clan(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.clan_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLPlayerState::_internal_mutable_clan() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.clan_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLPlayerState::release_clan() { + // @@protoc_insertion_point(field_release:MLPlayerState.clan) + if (!_internal_has_clan()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.clan_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.clan_.IsDefault()) { + _impl_.clan_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLPlayerState::set_allocated_clan(std::string* clan) { + if (clan != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.clan_.SetAllocated(clan, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.clan_.IsDefault()) { + _impl_.clan_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLPlayerState.clan) +} + +// optional .ETeam team = 6 [default = ET_Unknown]; +inline bool MLPlayerState::_internal_has_team() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool MLPlayerState::has_team() const { + return _internal_has_team(); +} +inline void MLPlayerState::clear_team() { + _impl_.team_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline ::ETeam MLPlayerState::_internal_team() const { + return static_cast< ::ETeam >(_impl_.team_); +} +inline ::ETeam MLPlayerState::team() const { + // @@protoc_insertion_point(field_get:MLPlayerState.team) + return _internal_team(); +} +inline void MLPlayerState::_internal_set_team(::ETeam value) { + assert(::ETeam_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.team_ = value; +} +inline void MLPlayerState::set_team(::ETeam value) { + _internal_set_team(value); + // @@protoc_insertion_point(field_set:MLPlayerState.team) +} + +// optional .CMsgVector abspos = 7; +inline bool MLPlayerState::_internal_has_abspos() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.abspos_ != nullptr); + return value; +} +inline bool MLPlayerState::has_abspos() const { + return _internal_has_abspos(); +} +inline const ::CMsgVector& MLPlayerState::_internal_abspos() const { + const ::CMsgVector* p = _impl_.abspos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& MLPlayerState::abspos() const { + // @@protoc_insertion_point(field_get:MLPlayerState.abspos) + return _internal_abspos(); +} +inline void MLPlayerState::unsafe_arena_set_allocated_abspos( + ::CMsgVector* abspos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abspos_); + } + _impl_.abspos_ = abspos; + if (abspos) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.abspos) +} +inline ::CMsgVector* MLPlayerState::release_abspos() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.abspos_; + _impl_.abspos_ = 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 ::CMsgVector* MLPlayerState::unsafe_arena_release_abspos() { + // @@protoc_insertion_point(field_release:MLPlayerState.abspos) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.abspos_; + _impl_.abspos_ = nullptr; + return temp; +} +inline ::CMsgVector* MLPlayerState::_internal_mutable_abspos() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.abspos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.abspos_ = p; + } + return _impl_.abspos_; +} +inline ::CMsgVector* MLPlayerState::mutable_abspos() { + ::CMsgVector* _msg = _internal_mutable_abspos(); + // @@protoc_insertion_point(field_mutable:MLPlayerState.abspos) + return _msg; +} +inline void MLPlayerState::set_allocated_abspos(::CMsgVector* abspos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abspos_); + } + if (abspos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(abspos)); + if (message_arena != submessage_arena) { + abspos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, abspos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.abspos_ = abspos; + // @@protoc_insertion_point(field_set_allocated:MLPlayerState.abspos) +} + +// optional .CMsgQAngle eyeangle = 8; +inline bool MLPlayerState::_internal_has_eyeangle() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.eyeangle_ != nullptr); + return value; +} +inline bool MLPlayerState::has_eyeangle() const { + return _internal_has_eyeangle(); +} +inline const ::CMsgQAngle& MLPlayerState::_internal_eyeangle() const { + const ::CMsgQAngle* p = _impl_.eyeangle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& MLPlayerState::eyeangle() const { + // @@protoc_insertion_point(field_get:MLPlayerState.eyeangle) + return _internal_eyeangle(); +} +inline void MLPlayerState::unsafe_arena_set_allocated_eyeangle( + ::CMsgQAngle* eyeangle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_); + } + _impl_.eyeangle_ = eyeangle; + if (eyeangle) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.eyeangle) +} +inline ::CMsgQAngle* MLPlayerState::release_eyeangle() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgQAngle* temp = _impl_.eyeangle_; + _impl_.eyeangle_ = 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 ::CMsgQAngle* MLPlayerState::unsafe_arena_release_eyeangle() { + // @@protoc_insertion_point(field_release:MLPlayerState.eyeangle) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgQAngle* temp = _impl_.eyeangle_; + _impl_.eyeangle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* MLPlayerState::_internal_mutable_eyeangle() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.eyeangle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.eyeangle_ = p; + } + return _impl_.eyeangle_; +} +inline ::CMsgQAngle* MLPlayerState::mutable_eyeangle() { + ::CMsgQAngle* _msg = _internal_mutable_eyeangle(); + // @@protoc_insertion_point(field_mutable:MLPlayerState.eyeangle) + return _msg; +} +inline void MLPlayerState::set_allocated_eyeangle(::CMsgQAngle* eyeangle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_); + } + if (eyeangle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eyeangle)); + if (message_arena != submessage_arena) { + eyeangle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, eyeangle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.eyeangle_ = eyeangle; + // @@protoc_insertion_point(field_set_allocated:MLPlayerState.eyeangle) +} + +// optional .CMsgVector eyeangle_fwd = 9; +inline bool MLPlayerState::_internal_has_eyeangle_fwd() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.eyeangle_fwd_ != nullptr); + return value; +} +inline bool MLPlayerState::has_eyeangle_fwd() const { + return _internal_has_eyeangle_fwd(); +} +inline const ::CMsgVector& MLPlayerState::_internal_eyeangle_fwd() const { + const ::CMsgVector* p = _impl_.eyeangle_fwd_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& MLPlayerState::eyeangle_fwd() const { + // @@protoc_insertion_point(field_get:MLPlayerState.eyeangle_fwd) + return _internal_eyeangle_fwd(); +} +inline void MLPlayerState::unsafe_arena_set_allocated_eyeangle_fwd( + ::CMsgVector* eyeangle_fwd) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_fwd_); + } + _impl_.eyeangle_fwd_ = eyeangle_fwd; + if (eyeangle_fwd) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.eyeangle_fwd) +} +inline ::CMsgVector* MLPlayerState::release_eyeangle_fwd() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.eyeangle_fwd_; + _impl_.eyeangle_fwd_ = 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 ::CMsgVector* MLPlayerState::unsafe_arena_release_eyeangle_fwd() { + // @@protoc_insertion_point(field_release:MLPlayerState.eyeangle_fwd) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.eyeangle_fwd_; + _impl_.eyeangle_fwd_ = nullptr; + return temp; +} +inline ::CMsgVector* MLPlayerState::_internal_mutable_eyeangle_fwd() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.eyeangle_fwd_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.eyeangle_fwd_ = p; + } + return _impl_.eyeangle_fwd_; +} +inline ::CMsgVector* MLPlayerState::mutable_eyeangle_fwd() { + ::CMsgVector* _msg = _internal_mutable_eyeangle_fwd(); + // @@protoc_insertion_point(field_mutable:MLPlayerState.eyeangle_fwd) + return _msg; +} +inline void MLPlayerState::set_allocated_eyeangle_fwd(::CMsgVector* eyeangle_fwd) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_fwd_); + } + if (eyeangle_fwd) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eyeangle_fwd)); + if (message_arena != submessage_arena) { + eyeangle_fwd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, eyeangle_fwd, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.eyeangle_fwd_ = eyeangle_fwd; + // @@protoc_insertion_point(field_set_allocated:MLPlayerState.eyeangle_fwd) +} + +// optional int32 health = 10; +inline bool MLPlayerState::_internal_has_health() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool MLPlayerState::has_health() const { + return _internal_has_health(); +} +inline void MLPlayerState::clear_health() { + _impl_.health_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t MLPlayerState::_internal_health() const { + return _impl_.health_; +} +inline int32_t MLPlayerState::health() const { + // @@protoc_insertion_point(field_get:MLPlayerState.health) + return _internal_health(); +} +inline void MLPlayerState::_internal_set_health(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.health_ = value; +} +inline void MLPlayerState::set_health(int32_t value) { + _internal_set_health(value); + // @@protoc_insertion_point(field_set:MLPlayerState.health) +} + +// optional int32 armor = 11; +inline bool MLPlayerState::_internal_has_armor() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool MLPlayerState::has_armor() const { + return _internal_has_armor(); +} +inline void MLPlayerState::clear_armor() { + _impl_.armor_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t MLPlayerState::_internal_armor() const { + return _impl_.armor_; +} +inline int32_t MLPlayerState::armor() const { + // @@protoc_insertion_point(field_get:MLPlayerState.armor) + return _internal_armor(); +} +inline void MLPlayerState::_internal_set_armor(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.armor_ = value; +} +inline void MLPlayerState::set_armor(int32_t value) { + _internal_set_armor(value); + // @@protoc_insertion_point(field_set:MLPlayerState.armor) +} + +// optional float flashed = 12; +inline bool MLPlayerState::_internal_has_flashed() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool MLPlayerState::has_flashed() const { + return _internal_has_flashed(); +} +inline void MLPlayerState::clear_flashed() { + _impl_.flashed_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float MLPlayerState::_internal_flashed() const { + return _impl_.flashed_; +} +inline float MLPlayerState::flashed() const { + // @@protoc_insertion_point(field_get:MLPlayerState.flashed) + return _internal_flashed(); +} +inline void MLPlayerState::_internal_set_flashed(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.flashed_ = value; +} +inline void MLPlayerState::set_flashed(float value) { + _internal_set_flashed(value); + // @@protoc_insertion_point(field_set:MLPlayerState.flashed) +} + +// optional float smoked = 13; +inline bool MLPlayerState::_internal_has_smoked() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool MLPlayerState::has_smoked() const { + return _internal_has_smoked(); +} +inline void MLPlayerState::clear_smoked() { + _impl_.smoked_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline float MLPlayerState::_internal_smoked() const { + return _impl_.smoked_; +} +inline float MLPlayerState::smoked() const { + // @@protoc_insertion_point(field_get:MLPlayerState.smoked) + return _internal_smoked(); +} +inline void MLPlayerState::_internal_set_smoked(float value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.smoked_ = value; +} +inline void MLPlayerState::set_smoked(float value) { + _internal_set_smoked(value); + // @@protoc_insertion_point(field_set:MLPlayerState.smoked) +} + +// optional int32 money = 14; +inline bool MLPlayerState::_internal_has_money() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool MLPlayerState::has_money() const { + return _internal_has_money(); +} +inline void MLPlayerState::clear_money() { + _impl_.money_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t MLPlayerState::_internal_money() const { + return _impl_.money_; +} +inline int32_t MLPlayerState::money() const { + // @@protoc_insertion_point(field_get:MLPlayerState.money) + return _internal_money(); +} +inline void MLPlayerState::_internal_set_money(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.money_ = value; +} +inline void MLPlayerState::set_money(int32_t value) { + _internal_set_money(value); + // @@protoc_insertion_point(field_set:MLPlayerState.money) +} + +// optional int32 round_kills = 15; +inline bool MLPlayerState::_internal_has_round_kills() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool MLPlayerState::has_round_kills() const { + return _internal_has_round_kills(); +} +inline void MLPlayerState::clear_round_kills() { + _impl_.round_kills_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t MLPlayerState::_internal_round_kills() const { + return _impl_.round_kills_; +} +inline int32_t MLPlayerState::round_kills() const { + // @@protoc_insertion_point(field_get:MLPlayerState.round_kills) + return _internal_round_kills(); +} +inline void MLPlayerState::_internal_set_round_kills(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.round_kills_ = value; +} +inline void MLPlayerState::set_round_kills(int32_t value) { + _internal_set_round_kills(value); + // @@protoc_insertion_point(field_set:MLPlayerState.round_kills) +} + +// optional int32 round_killhs = 16; +inline bool MLPlayerState::_internal_has_round_killhs() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool MLPlayerState::has_round_killhs() const { + return _internal_has_round_killhs(); +} +inline void MLPlayerState::clear_round_killhs() { + _impl_.round_killhs_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t MLPlayerState::_internal_round_killhs() const { + return _impl_.round_killhs_; +} +inline int32_t MLPlayerState::round_killhs() const { + // @@protoc_insertion_point(field_get:MLPlayerState.round_killhs) + return _internal_round_killhs(); +} +inline void MLPlayerState::_internal_set_round_killhs(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.round_killhs_ = value; +} +inline void MLPlayerState::set_round_killhs(int32_t value) { + _internal_set_round_killhs(value); + // @@protoc_insertion_point(field_set:MLPlayerState.round_killhs) +} + +// optional float burning = 17; +inline bool MLPlayerState::_internal_has_burning() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool MLPlayerState::has_burning() const { + return _internal_has_burning(); +} +inline void MLPlayerState::clear_burning() { + _impl_.burning_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline float MLPlayerState::_internal_burning() const { + return _impl_.burning_; +} +inline float MLPlayerState::burning() const { + // @@protoc_insertion_point(field_get:MLPlayerState.burning) + return _internal_burning(); +} +inline void MLPlayerState::_internal_set_burning(float value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.burning_ = value; +} +inline void MLPlayerState::set_burning(float value) { + _internal_set_burning(value); + // @@protoc_insertion_point(field_set:MLPlayerState.burning) +} + +// optional bool helmet = 18; +inline bool MLPlayerState::_internal_has_helmet() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool MLPlayerState::has_helmet() const { + return _internal_has_helmet(); +} +inline void MLPlayerState::clear_helmet() { + _impl_.helmet_ = false; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline bool MLPlayerState::_internal_helmet() const { + return _impl_.helmet_; +} +inline bool MLPlayerState::helmet() const { + // @@protoc_insertion_point(field_get:MLPlayerState.helmet) + return _internal_helmet(); +} +inline void MLPlayerState::_internal_set_helmet(bool value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.helmet_ = value; +} +inline void MLPlayerState::set_helmet(bool value) { + _internal_set_helmet(value); + // @@protoc_insertion_point(field_set:MLPlayerState.helmet) +} + +// optional bool defuse_kit = 19; +inline bool MLPlayerState::_internal_has_defuse_kit() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool MLPlayerState::has_defuse_kit() const { + return _internal_has_defuse_kit(); +} +inline void MLPlayerState::clear_defuse_kit() { + _impl_.defuse_kit_ = false; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline bool MLPlayerState::_internal_defuse_kit() const { + return _impl_.defuse_kit_; +} +inline bool MLPlayerState::defuse_kit() const { + // @@protoc_insertion_point(field_get:MLPlayerState.defuse_kit) + return _internal_defuse_kit(); +} +inline void MLPlayerState::_internal_set_defuse_kit(bool value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.defuse_kit_ = value; +} +inline void MLPlayerState::set_defuse_kit(bool value) { + _internal_set_defuse_kit(value); + // @@protoc_insertion_point(field_set:MLPlayerState.defuse_kit) +} + +// repeated .MLWeaponState weapons = 20; +inline int MLPlayerState::_internal_weapons_size() const { + return _impl_.weapons_.size(); +} +inline int MLPlayerState::weapons_size() const { + return _internal_weapons_size(); +} +inline void MLPlayerState::clear_weapons() { + _impl_.weapons_.Clear(); +} +inline ::MLWeaponState* MLPlayerState::mutable_weapons(int index) { + // @@protoc_insertion_point(field_mutable:MLPlayerState.weapons) + return _impl_.weapons_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >* +MLPlayerState::mutable_weapons() { + // @@protoc_insertion_point(field_mutable_list:MLPlayerState.weapons) + return &_impl_.weapons_; +} +inline const ::MLWeaponState& MLPlayerState::_internal_weapons(int index) const { + return _impl_.weapons_.Get(index); +} +inline const ::MLWeaponState& MLPlayerState::weapons(int index) const { + // @@protoc_insertion_point(field_get:MLPlayerState.weapons) + return _internal_weapons(index); +} +inline ::MLWeaponState* MLPlayerState::_internal_add_weapons() { + return _impl_.weapons_.Add(); +} +inline ::MLWeaponState* MLPlayerState::add_weapons() { + ::MLWeaponState* _add = _internal_add_weapons(); + // @@protoc_insertion_point(field_add:MLPlayerState.weapons) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >& +MLPlayerState::weapons() const { + // @@protoc_insertion_point(field_list:MLPlayerState.weapons) + return _impl_.weapons_; +} + +// ------------------------------------------------------------------- + +// MLGameState + +// optional .MLMatchState match = 1; +inline bool MLGameState::_internal_has_match() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.match_ != nullptr); + return value; +} +inline bool MLGameState::has_match() const { + return _internal_has_match(); +} +inline void MLGameState::clear_match() { + if (_impl_.match_ != nullptr) _impl_.match_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::MLMatchState& MLGameState::_internal_match() const { + const ::MLMatchState* p = _impl_.match_; + return p != nullptr ? *p : reinterpret_cast( + ::_MLMatchState_default_instance_); +} +inline const ::MLMatchState& MLGameState::match() const { + // @@protoc_insertion_point(field_get:MLGameState.match) + return _internal_match(); +} +inline void MLGameState::unsafe_arena_set_allocated_match( + ::MLMatchState* match) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.match_); + } + _impl_.match_ = match; + if (match) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLGameState.match) +} +inline ::MLMatchState* MLGameState::release_match() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::MLMatchState* temp = _impl_.match_; + _impl_.match_ = 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 ::MLMatchState* MLGameState::unsafe_arena_release_match() { + // @@protoc_insertion_point(field_release:MLGameState.match) + _impl_._has_bits_[0] &= ~0x00000001u; + ::MLMatchState* temp = _impl_.match_; + _impl_.match_ = nullptr; + return temp; +} +inline ::MLMatchState* MLGameState::_internal_mutable_match() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.match_ == nullptr) { + auto* p = CreateMaybeMessage<::MLMatchState>(GetArenaForAllocation()); + _impl_.match_ = p; + } + return _impl_.match_; +} +inline ::MLMatchState* MLGameState::mutable_match() { + ::MLMatchState* _msg = _internal_mutable_match(); + // @@protoc_insertion_point(field_mutable:MLGameState.match) + return _msg; +} +inline void MLGameState::set_allocated_match(::MLMatchState* match) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.match_; + } + if (match) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(match); + if (message_arena != submessage_arena) { + match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, match, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.match_ = match; + // @@protoc_insertion_point(field_set_allocated:MLGameState.match) +} + +// optional .MLRoundState round = 2; +inline bool MLGameState::_internal_has_round() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.round_ != nullptr); + return value; +} +inline bool MLGameState::has_round() const { + return _internal_has_round(); +} +inline void MLGameState::clear_round() { + if (_impl_.round_ != nullptr) _impl_.round_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::MLRoundState& MLGameState::_internal_round() const { + const ::MLRoundState* p = _impl_.round_; + return p != nullptr ? *p : reinterpret_cast( + ::_MLRoundState_default_instance_); +} +inline const ::MLRoundState& MLGameState::round() const { + // @@protoc_insertion_point(field_get:MLGameState.round) + return _internal_round(); +} +inline void MLGameState::unsafe_arena_set_allocated_round( + ::MLRoundState* round) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.round_); + } + _impl_.round_ = round; + if (round) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLGameState.round) +} +inline ::MLRoundState* MLGameState::release_round() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::MLRoundState* temp = _impl_.round_; + _impl_.round_ = 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 ::MLRoundState* MLGameState::unsafe_arena_release_round() { + // @@protoc_insertion_point(field_release:MLGameState.round) + _impl_._has_bits_[0] &= ~0x00000002u; + ::MLRoundState* temp = _impl_.round_; + _impl_.round_ = nullptr; + return temp; +} +inline ::MLRoundState* MLGameState::_internal_mutable_round() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.round_ == nullptr) { + auto* p = CreateMaybeMessage<::MLRoundState>(GetArenaForAllocation()); + _impl_.round_ = p; + } + return _impl_.round_; +} +inline ::MLRoundState* MLGameState::mutable_round() { + ::MLRoundState* _msg = _internal_mutable_round(); + // @@protoc_insertion_point(field_mutable:MLGameState.round) + return _msg; +} +inline void MLGameState::set_allocated_round(::MLRoundState* round) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.round_; + } + if (round) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(round); + if (message_arena != submessage_arena) { + round = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, round, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.round_ = round; + // @@protoc_insertion_point(field_set_allocated:MLGameState.round) +} + +// repeated .MLPlayerState players = 3; +inline int MLGameState::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int MLGameState::players_size() const { + return _internal_players_size(); +} +inline void MLGameState::clear_players() { + _impl_.players_.Clear(); +} +inline ::MLPlayerState* MLGameState::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:MLGameState.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >* +MLGameState::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:MLGameState.players) + return &_impl_.players_; +} +inline const ::MLPlayerState& MLGameState::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::MLPlayerState& MLGameState::players(int index) const { + // @@protoc_insertion_point(field_get:MLGameState.players) + return _internal_players(index); +} +inline ::MLPlayerState* MLGameState::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::MLPlayerState* MLGameState::add_players() { + ::MLPlayerState* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:MLGameState.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >& +MLGameState::players() const { + // @@protoc_insertion_point(field_list:MLGameState.players) + return _impl_.players_; +} + +// ------------------------------------------------------------------- + +// MLDemoHeader + +// optional string map_name = 1; +inline bool MLDemoHeader::_internal_has_map_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool MLDemoHeader::has_map_name() const { + return _internal_has_map_name(); +} +inline void MLDemoHeader::clear_map_name() { + _impl_.map_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& MLDemoHeader::map_name() const { + // @@protoc_insertion_point(field_get:MLDemoHeader.map_name) + return _internal_map_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MLDemoHeader::set_map_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:MLDemoHeader.map_name) +} +inline std::string* MLDemoHeader::mutable_map_name() { + std::string* _s = _internal_mutable_map_name(); + // @@protoc_insertion_point(field_mutable:MLDemoHeader.map_name) + return _s; +} +inline const std::string& MLDemoHeader::_internal_map_name() const { + return _impl_.map_name_.Get(); +} +inline void MLDemoHeader::_internal_set_map_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* MLDemoHeader::_internal_mutable_map_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.map_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* MLDemoHeader::release_map_name() { + // @@protoc_insertion_point(field_release:MLDemoHeader.map_name) + if (!_internal_has_map_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.map_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void MLDemoHeader::set_allocated_map_name(std::string* map_name) { + if (map_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:MLDemoHeader.map_name) +} + +// optional int32 tick_rate = 2; +inline bool MLDemoHeader::_internal_has_tick_rate() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLDemoHeader::has_tick_rate() const { + return _internal_has_tick_rate(); +} +inline void MLDemoHeader::clear_tick_rate() { + _impl_.tick_rate_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t MLDemoHeader::_internal_tick_rate() const { + return _impl_.tick_rate_; +} +inline int32_t MLDemoHeader::tick_rate() const { + // @@protoc_insertion_point(field_get:MLDemoHeader.tick_rate) + return _internal_tick_rate(); +} +inline void MLDemoHeader::_internal_set_tick_rate(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tick_rate_ = value; +} +inline void MLDemoHeader::set_tick_rate(int32_t value) { + _internal_set_tick_rate(value); + // @@protoc_insertion_point(field_set:MLDemoHeader.tick_rate) +} + +// optional uint32 version = 3; +inline bool MLDemoHeader::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool MLDemoHeader::has_version() const { + return _internal_has_version(); +} +inline void MLDemoHeader::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t MLDemoHeader::_internal_version() const { + return _impl_.version_; +} +inline uint32_t MLDemoHeader::version() const { + // @@protoc_insertion_point(field_get:MLDemoHeader.version) + return _internal_version(); +} +inline void MLDemoHeader::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void MLDemoHeader::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:MLDemoHeader.version) +} + +// optional uint32 steam_universe = 4; +inline bool MLDemoHeader::_internal_has_steam_universe() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool MLDemoHeader::has_steam_universe() const { + return _internal_has_steam_universe(); +} +inline void MLDemoHeader::clear_steam_universe() { + _impl_.steam_universe_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t MLDemoHeader::_internal_steam_universe() const { + return _impl_.steam_universe_; +} +inline uint32_t MLDemoHeader::steam_universe() const { + // @@protoc_insertion_point(field_get:MLDemoHeader.steam_universe) + return _internal_steam_universe(); +} +inline void MLDemoHeader::_internal_set_steam_universe(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.steam_universe_ = value; +} +inline void MLDemoHeader::set_steam_universe(uint32_t value) { + _internal_set_steam_universe(value); + // @@protoc_insertion_point(field_set:MLDemoHeader.steam_universe) +} + +// ------------------------------------------------------------------- + +// MLTick + +// optional int32 tick_count = 1; +inline bool MLTick::_internal_has_tick_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool MLTick::has_tick_count() const { + return _internal_has_tick_count(); +} +inline void MLTick::clear_tick_count() { + _impl_.tick_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t MLTick::_internal_tick_count() const { + return _impl_.tick_count_; +} +inline int32_t MLTick::tick_count() const { + // @@protoc_insertion_point(field_get:MLTick.tick_count) + return _internal_tick_count(); +} +inline void MLTick::_internal_set_tick_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tick_count_ = value; +} +inline void MLTick::set_tick_count(int32_t value) { + _internal_set_tick_count(value); + // @@protoc_insertion_point(field_set:MLTick.tick_count) +} + +// optional .MLGameState state = 2; +inline bool MLTick::_internal_has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.state_ != nullptr); + return value; +} +inline bool MLTick::has_state() const { + return _internal_has_state(); +} +inline void MLTick::clear_state() { + if (_impl_.state_ != nullptr) _impl_.state_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::MLGameState& MLTick::_internal_state() const { + const ::MLGameState* p = _impl_.state_; + return p != nullptr ? *p : reinterpret_cast( + ::_MLGameState_default_instance_); +} +inline const ::MLGameState& MLTick::state() const { + // @@protoc_insertion_point(field_get:MLTick.state) + return _internal_state(); +} +inline void MLTick::unsafe_arena_set_allocated_state( + ::MLGameState* state) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.state_); + } + _impl_.state_ = state; + if (state) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLTick.state) +} +inline ::MLGameState* MLTick::release_state() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::MLGameState* temp = _impl_.state_; + _impl_.state_ = 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 ::MLGameState* MLTick::unsafe_arena_release_state() { + // @@protoc_insertion_point(field_release:MLTick.state) + _impl_._has_bits_[0] &= ~0x00000001u; + ::MLGameState* temp = _impl_.state_; + _impl_.state_ = nullptr; + return temp; +} +inline ::MLGameState* MLTick::_internal_mutable_state() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.state_ == nullptr) { + auto* p = CreateMaybeMessage<::MLGameState>(GetArenaForAllocation()); + _impl_.state_ = p; + } + return _impl_.state_; +} +inline ::MLGameState* MLTick::mutable_state() { + ::MLGameState* _msg = _internal_mutable_state(); + // @@protoc_insertion_point(field_mutable:MLTick.state) + return _msg; +} +inline void MLTick::set_allocated_state(::MLGameState* state) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.state_; + } + if (state) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(state); + if (message_arena != submessage_arena) { + state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, state, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.state_ = state; + // @@protoc_insertion_point(field_set_allocated:MLTick.state) +} + +// repeated .MLEvent events = 3; +inline int MLTick::_internal_events_size() const { + return _impl_.events_.size(); +} +inline int MLTick::events_size() const { + return _internal_events_size(); +} +inline void MLTick::clear_events() { + _impl_.events_.Clear(); +} +inline ::MLEvent* MLTick::mutable_events(int index) { + // @@protoc_insertion_point(field_mutable:MLTick.events) + return _impl_.events_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >* +MLTick::mutable_events() { + // @@protoc_insertion_point(field_mutable_list:MLTick.events) + return &_impl_.events_; +} +inline const ::MLEvent& MLTick::_internal_events(int index) const { + return _impl_.events_.Get(index); +} +inline const ::MLEvent& MLTick::events(int index) const { + // @@protoc_insertion_point(field_get:MLTick.events) + return _internal_events(index); +} +inline ::MLEvent* MLTick::_internal_add_events() { + return _impl_.events_.Add(); +} +inline ::MLEvent* MLTick::add_events() { + ::MLEvent* _add = _internal_add_events(); + // @@protoc_insertion_point(field_add:MLTick.events) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >& +MLTick::events() const { + // @@protoc_insertion_point(field_list:MLTick.events) + return _impl_.events_; +} + +// ------------------------------------------------------------------- + +// VacNetShot + +// optional fixed64 steamid_player = 1; +inline bool VacNetShot::_internal_has_steamid_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool VacNetShot::has_steamid_player() const { + return _internal_has_steamid_player(); +} +inline void VacNetShot::clear_steamid_player() { + _impl_.steamid_player_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t VacNetShot::_internal_steamid_player() const { + return _impl_.steamid_player_; +} +inline uint64_t VacNetShot::steamid_player() const { + // @@protoc_insertion_point(field_get:VacNetShot.steamid_player) + return _internal_steamid_player(); +} +inline void VacNetShot::_internal_set_steamid_player(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_player_ = value; +} +inline void VacNetShot::set_steamid_player(uint64_t value) { + _internal_set_steamid_player(value); + // @@protoc_insertion_point(field_set:VacNetShot.steamid_player) +} + +// optional int32 round_number = 2; +inline bool VacNetShot::_internal_has_round_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool VacNetShot::has_round_number() const { + return _internal_has_round_number(); +} +inline void VacNetShot::clear_round_number() { + _impl_.round_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t VacNetShot::_internal_round_number() const { + return _impl_.round_number_; +} +inline int32_t VacNetShot::round_number() const { + // @@protoc_insertion_point(field_get:VacNetShot.round_number) + return _internal_round_number(); +} +inline void VacNetShot::_internal_set_round_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.round_number_ = value; +} +inline void VacNetShot::set_round_number(int32_t value) { + _internal_set_round_number(value); + // @@protoc_insertion_point(field_set:VacNetShot.round_number) +} + +// optional int32 hit_type = 3; +inline bool VacNetShot::_internal_has_hit_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool VacNetShot::has_hit_type() const { + return _internal_has_hit_type(); +} +inline void VacNetShot::clear_hit_type() { + _impl_.hit_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t VacNetShot::_internal_hit_type() const { + return _impl_.hit_type_; +} +inline int32_t VacNetShot::hit_type() const { + // @@protoc_insertion_point(field_get:VacNetShot.hit_type) + return _internal_hit_type(); +} +inline void VacNetShot::_internal_set_hit_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hit_type_ = value; +} +inline void VacNetShot::set_hit_type(int32_t value) { + _internal_set_hit_type(value); + // @@protoc_insertion_point(field_set:VacNetShot.hit_type) +} + +// optional int32 weapon_type = 4; +inline bool VacNetShot::_internal_has_weapon_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool VacNetShot::has_weapon_type() const { + return _internal_has_weapon_type(); +} +inline void VacNetShot::clear_weapon_type() { + _impl_.weapon_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t VacNetShot::_internal_weapon_type() const { + return _impl_.weapon_type_; +} +inline int32_t VacNetShot::weapon_type() const { + // @@protoc_insertion_point(field_get:VacNetShot.weapon_type) + return _internal_weapon_type(); +} +inline void VacNetShot::_internal_set_weapon_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.weapon_type_ = value; +} +inline void VacNetShot::set_weapon_type(int32_t value) { + _internal_set_weapon_type(value); + // @@protoc_insertion_point(field_set:VacNetShot.weapon_type) +} + +// optional float distance_to_hurt_target = 5; +inline bool VacNetShot::_internal_has_distance_to_hurt_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool VacNetShot::has_distance_to_hurt_target() const { + return _internal_has_distance_to_hurt_target(); +} +inline void VacNetShot::clear_distance_to_hurt_target() { + _impl_.distance_to_hurt_target_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float VacNetShot::_internal_distance_to_hurt_target() const { + return _impl_.distance_to_hurt_target_; +} +inline float VacNetShot::distance_to_hurt_target() const { + // @@protoc_insertion_point(field_get:VacNetShot.distance_to_hurt_target) + return _internal_distance_to_hurt_target(); +} +inline void VacNetShot::_internal_set_distance_to_hurt_target(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.distance_to_hurt_target_ = value; +} +inline void VacNetShot::set_distance_to_hurt_target(float value) { + _internal_set_distance_to_hurt_target(value); + // @@protoc_insertion_point(field_set:VacNetShot.distance_to_hurt_target) +} + +// repeated float delta_yaw_window = 6; +inline int VacNetShot::_internal_delta_yaw_window_size() const { + return _impl_.delta_yaw_window_.size(); +} +inline int VacNetShot::delta_yaw_window_size() const { + return _internal_delta_yaw_window_size(); +} +inline void VacNetShot::clear_delta_yaw_window() { + _impl_.delta_yaw_window_.Clear(); +} +inline float VacNetShot::_internal_delta_yaw_window(int index) const { + return _impl_.delta_yaw_window_.Get(index); +} +inline float VacNetShot::delta_yaw_window(int index) const { + // @@protoc_insertion_point(field_get:VacNetShot.delta_yaw_window) + return _internal_delta_yaw_window(index); +} +inline void VacNetShot::set_delta_yaw_window(int index, float value) { + _impl_.delta_yaw_window_.Set(index, value); + // @@protoc_insertion_point(field_set:VacNetShot.delta_yaw_window) +} +inline void VacNetShot::_internal_add_delta_yaw_window(float value) { + _impl_.delta_yaw_window_.Add(value); +} +inline void VacNetShot::add_delta_yaw_window(float value) { + _internal_add_delta_yaw_window(value); + // @@protoc_insertion_point(field_add:VacNetShot.delta_yaw_window) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +VacNetShot::_internal_delta_yaw_window() const { + return _impl_.delta_yaw_window_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +VacNetShot::delta_yaw_window() const { + // @@protoc_insertion_point(field_list:VacNetShot.delta_yaw_window) + return _internal_delta_yaw_window(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +VacNetShot::_internal_mutable_delta_yaw_window() { + return &_impl_.delta_yaw_window_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +VacNetShot::mutable_delta_yaw_window() { + // @@protoc_insertion_point(field_mutable_list:VacNetShot.delta_yaw_window) + return _internal_mutable_delta_yaw_window(); +} + +// repeated float delta_pitch_window = 7; +inline int VacNetShot::_internal_delta_pitch_window_size() const { + return _impl_.delta_pitch_window_.size(); +} +inline int VacNetShot::delta_pitch_window_size() const { + return _internal_delta_pitch_window_size(); +} +inline void VacNetShot::clear_delta_pitch_window() { + _impl_.delta_pitch_window_.Clear(); +} +inline float VacNetShot::_internal_delta_pitch_window(int index) const { + return _impl_.delta_pitch_window_.Get(index); +} +inline float VacNetShot::delta_pitch_window(int index) const { + // @@protoc_insertion_point(field_get:VacNetShot.delta_pitch_window) + return _internal_delta_pitch_window(index); +} +inline void VacNetShot::set_delta_pitch_window(int index, float value) { + _impl_.delta_pitch_window_.Set(index, value); + // @@protoc_insertion_point(field_set:VacNetShot.delta_pitch_window) +} +inline void VacNetShot::_internal_add_delta_pitch_window(float value) { + _impl_.delta_pitch_window_.Add(value); +} +inline void VacNetShot::add_delta_pitch_window(float value) { + _internal_add_delta_pitch_window(value); + // @@protoc_insertion_point(field_add:VacNetShot.delta_pitch_window) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +VacNetShot::_internal_delta_pitch_window() const { + return _impl_.delta_pitch_window_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +VacNetShot::delta_pitch_window() const { + // @@protoc_insertion_point(field_list:VacNetShot.delta_pitch_window) + return _internal_delta_pitch_window(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +VacNetShot::_internal_mutable_delta_pitch_window() { + return &_impl_.delta_pitch_window_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +VacNetShot::mutable_delta_pitch_window() { + // @@protoc_insertion_point(field_mutable_list:VacNetShot.delta_pitch_window) + return _internal_mutable_delta_pitch_window(); +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EHitGroup> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EHitGroup>() { + return ::EHitGroup_descriptor(); +} +template <> struct is_proto_enum< ::ETeam> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ETeam>() { + return ::ETeam_descriptor(); +} +template <> struct is_proto_enum< ::EWeaponType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EWeaponType>() { + return ::EWeaponType_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fatdemo_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.cc new file mode 100644 index 0000000..d55f4d0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.cc @@ -0,0 +1,5209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gameevents.proto + +#include "gameevents.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; + +PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gamesessionid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.clientid_)*/0} {} +struct CMsgVDebugGameSessionIDEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgVDebugGameSessionIDEventDefaultTypeInternal() {} + union { + CMsgVDebugGameSessionIDEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVDebugGameSessionIDEventDefaultTypeInternal _CMsgVDebugGameSessionIDEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgPlaceDecalEvent::CMsgPlaceDecalEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.normal_)*/nullptr + , /*decltype(_impl_.saxis_)*/nullptr + , /*decltype(_impl_.boneindex_)*/0 + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.random_seed_)*/0 + , /*decltype(_impl_.decal_group_name_)*/0u + , /*decltype(_impl_.size_override_)*/0 + , /*decltype(_impl_.material_id_)*/uint64_t{0u} + , /*decltype(_impl_.sequence_name_)*/0u + , /*decltype(_impl_.entityhandle_)*/16777215u} {} +struct CMsgPlaceDecalEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgPlaceDecalEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgPlaceDecalEventDefaultTypeInternal() {} + union { + CMsgPlaceDecalEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPlaceDecalEventDefaultTypeInternal _CMsgPlaceDecalEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.flagstoclear_)*/0u} {} +struct CMsgClearWorldDecalsEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClearWorldDecalsEventDefaultTypeInternal() {} + union { + CMsgClearWorldDecalsEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearWorldDecalsEventDefaultTypeInternal _CMsgClearWorldDecalsEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.flagstoclear_)*/0u} {} +struct CMsgClearEntityDecalsEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClearEntityDecalsEventDefaultTypeInternal() {} + union { + CMsgClearEntityDecalsEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearEntityDecalsEventDefaultTypeInternal _CMsgClearEntityDecalsEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.flagstoclear_)*/0u + , /*decltype(_impl_.entityhandle_)*/16777215u} {} +struct CMsgClearDecalsForEntityEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClearDecalsForEntityEventDefaultTypeInternal() {} + union { + CMsgClearDecalsForEntityEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearDecalsForEntityEventDefaultTypeInternal _CMsgClearDecalsForEntityEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_)*/0} {} +struct CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal() {} + union { + CMsgSource1LegacyGameEventList_key_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_key_t_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.keys_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.eventid_)*/0} {} +struct CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal() {} + union { + CMsgSource1LegacyGameEventList_descriptor_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_descriptor_t_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.descriptors_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsgSource1LegacyGameEventListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyGameEventListDefaultTypeInternal() {} + union { + CMsgSource1LegacyGameEventList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventListDefaultTypeInternal _CMsgSource1LegacyGameEventList_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eventarraybits_)*/{} + , /*decltype(_impl_.playerslot_)*/0} {} +struct CMsgSource1LegacyListenEventsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEventsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyListenEventsDefaultTypeInternal() {} + union { + CMsgSource1LegacyListenEvents _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyListenEventsDefaultTypeInternal _CMsgSource1LegacyListenEvents_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.val_float_)*/0 + , /*decltype(_impl_.val_long_)*/0 + , /*decltype(_impl_.val_short_)*/0 + , /*decltype(_impl_.val_byte_)*/0 + , /*decltype(_impl_.val_bool_)*/false + , /*decltype(_impl_.val_uint64_)*/uint64_t{0u}} {} +struct CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal() {} + union { + CMsgSource1LegacyGameEvent_key_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal _CMsgSource1LegacyGameEvent_key_t_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.keys_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.eventid_)*/0 + , /*decltype(_impl_.server_tick_)*/0 + , /*decltype(_impl_.passthrough_)*/0} {} +struct CMsgSource1LegacyGameEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource1LegacyGameEventDefaultTypeInternal() {} + union { + CMsgSource1LegacyGameEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventDefaultTypeInternal _CMsgSource1LegacyGameEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgSosStartSoundEvent::CMsgSosStartSoundEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.packed_params_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.soundevent_guid_)*/0 + , /*decltype(_impl_.soundevent_hash_)*/0u + , /*decltype(_impl_.seed_)*/0 + , /*decltype(_impl_.start_time_)*/0 + , /*decltype(_impl_.source_entity_index_)*/-1} {} +struct CMsgSosStartSoundEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSosStartSoundEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSosStartSoundEventDefaultTypeInternal() {} + union { + CMsgSosStartSoundEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStartSoundEventDefaultTypeInternal _CMsgSosStartSoundEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgSosStopSoundEvent::CMsgSosStopSoundEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.soundevent_guid_)*/0} {} +struct CMsgSosStopSoundEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSosStopSoundEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSosStopSoundEventDefaultTypeInternal() {} + union { + CMsgSosStopSoundEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStopSoundEventDefaultTypeInternal _CMsgSosStopSoundEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.soundevent_hash_)*/0u + , /*decltype(_impl_.source_entity_index_)*/-1} {} +struct CMsgSosStopSoundEventHashDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHashDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSosStopSoundEventHashDefaultTypeInternal() {} + union { + CMsgSosStopSoundEventHash _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStopSoundEventHashDefaultTypeInternal _CMsgSosStopSoundEventHash_default_instance_; +PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.packed_params_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.soundevent_guid_)*/0} {} +struct CMsgSosSetSoundEventParamsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParamsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSosSetSoundEventParamsDefaultTypeInternal() {} + union { + CMsgSosSetSoundEventParams _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosSetSoundEventParamsDefaultTypeInternal _CMsgSosSetSoundEventParams_default_instance_; +PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.packed_fields_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.stack_hash_)*/0u} {} +struct CMsgSosSetLibraryStackFieldsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFieldsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSosSetLibraryStackFieldsDefaultTypeInternal() {} + union { + CMsgSosSetLibraryStackFields _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosSetLibraryStackFieldsDefaultTypeInternal _CMsgSosSetLibraryStackFields_default_instance_; +static ::_pb::Metadata file_level_metadata_gameevents_2eproto[16]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gameevents_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gameevents_2eproto = nullptr; + +const uint32_t TableStruct_gameevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_.clientid_), + PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_.gamesessionid_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.saxis_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.boneindex_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.random_seed_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.decal_group_name_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.size_override_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.entityhandle_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.material_id_), + PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.sequence_name_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 11, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _impl_.flagstoclear_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _impl_.flagstoclear_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_.flagstoclear_), + PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_.entityhandle_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_.name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.keys_), + 1, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList, _impl_.descriptors_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_.playerslot_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_.eventarraybits_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_float_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_long_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_short_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_byte_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_bool_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_uint64_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.keys_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.server_tick_), + PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.passthrough_), + 0, + 1, + ~0u, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.soundevent_guid_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.soundevent_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.source_entity_index_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.seed_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.packed_params_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.start_time_), + 1, + 2, + 5, + 3, + 0, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _impl_.soundevent_guid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_.soundevent_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_.source_entity_index_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_.soundevent_guid_), + PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_.packed_params_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_.stack_hash_), + PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_.packed_fields_), + 1, + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CMsgVDebugGameSessionIDEvent)}, + { 10, 28, -1, sizeof(::CMsgPlaceDecalEvent)}, + { 40, 47, -1, sizeof(::CMsgClearWorldDecalsEvent)}, + { 48, 55, -1, sizeof(::CMsgClearEntityDecalsEvent)}, + { 56, 64, -1, sizeof(::CMsgClearDecalsForEntityEvent)}, + { 66, 74, -1, sizeof(::CMsgSource1LegacyGameEventList_key_t)}, + { 76, 85, -1, sizeof(::CMsgSource1LegacyGameEventList_descriptor_t)}, + { 88, -1, -1, sizeof(::CMsgSource1LegacyGameEventList)}, + { 95, 103, -1, sizeof(::CMsgSource1LegacyListenEvents)}, + { 105, 119, -1, sizeof(::CMsgSource1LegacyGameEvent_key_t)}, + { 127, 138, -1, sizeof(::CMsgSource1LegacyGameEvent)}, + { 143, 155, -1, sizeof(::CMsgSosStartSoundEvent)}, + { 161, 168, -1, sizeof(::CMsgSosStopSoundEvent)}, + { 169, 177, -1, sizeof(::CMsgSosStopSoundEventHash)}, + { 179, 187, -1, sizeof(::CMsgSosSetSoundEventParams)}, + { 189, 197, -1, sizeof(::CMsgSosSetLibraryStackFields)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgVDebugGameSessionIDEvent_default_instance_._instance, + &::_CMsgPlaceDecalEvent_default_instance_._instance, + &::_CMsgClearWorldDecalsEvent_default_instance_._instance, + &::_CMsgClearEntityDecalsEvent_default_instance_._instance, + &::_CMsgClearDecalsForEntityEvent_default_instance_._instance, + &::_CMsgSource1LegacyGameEventList_key_t_default_instance_._instance, + &::_CMsgSource1LegacyGameEventList_descriptor_t_default_instance_._instance, + &::_CMsgSource1LegacyGameEventList_default_instance_._instance, + &::_CMsgSource1LegacyListenEvents_default_instance_._instance, + &::_CMsgSource1LegacyGameEvent_key_t_default_instance_._instance, + &::_CMsgSource1LegacyGameEvent_default_instance_._instance, + &::_CMsgSosStartSoundEvent_default_instance_._instance, + &::_CMsgSosStopSoundEvent_default_instance_._instance, + &::_CMsgSosStopSoundEventHash_default_instance_._instance, + &::_CMsgSosSetSoundEventParams_default_instance_._instance, + &::_CMsgSosSetLibraryStackFields_default_instance_._instance, +}; + +const char descriptor_table_protodef_gameevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\020gameevents.proto\032\026networkbasetypes.pro" + "to\"G\n\034CMsgVDebugGameSessionIDEvent\022\020\n\010cl" + "ientid\030\001 \001(\005\022\025\n\rgamesessionid\030\002 \001(\t\"\260\002\n\023" + "CMsgPlaceDecalEvent\022\035\n\010position\030\001 \001(\0132\013." + "CMsgVector\022\033\n\006normal\030\002 \001(\0132\013.CMsgVector\022" + "\032\n\005saxis\030\003 \001(\0132\013.CMsgVector\022\021\n\tboneindex" + "\030\004 \001(\005\022\r\n\005flags\030\005 \001(\r\022\r\n\005color\030\006 \001(\007\022\023\n\013" + "random_seed\030\007 \001(\005\022\030\n\020decal_group_name\030\010 " + "\001(\r\022\025\n\rsize_override\030\t \001(\002\022\036\n\014entityhand" + "le\030\n \001(\r:\01016777215\022\023\n\013material_id\030\013 \001(\004\022" + "\025\n\rsequence_name\030\014 \001(\r\"1\n\031CMsgClearWorld" + "DecalsEvent\022\024\n\014flagstoclear\030\001 \001(\r\"2\n\032CMs" + "gClearEntityDecalsEvent\022\024\n\014flagstoclear\030" + "\001 \001(\r\"U\n\035CMsgClearDecalsForEntityEvent\022\024" + "\n\014flagstoclear\030\001 \001(\r\022\036\n\014entityhandle\030\002 \001" + "(\r:\01016777215\"\354\001\n\036CMsgSource1LegacyGameEv" + "entList\022A\n\013descriptors\030\001 \003(\0132,.CMsgSourc" + "e1LegacyGameEventList.descriptor_t\032#\n\005ke" + "y_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032b\n\014descr" + "iptor_t\022\017\n\007eventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\0223" + "\n\004keys\030\003 \003(\0132%.CMsgSource1LegacyGameEven" + "tList.key_t\"K\n\035CMsgSource1LegacyListenEv" + "ents\022\022\n\nplayerslot\030\001 \001(\005\022\026\n\016eventarraybi" + "ts\030\002 \003(\r\"\270\002\n\032CMsgSource1LegacyGameEvent\022" + "\022\n\nevent_name\030\001 \001(\t\022\017\n\007eventid\030\002 \001(\005\022/\n\004" + "keys\030\003 \003(\0132!.CMsgSource1LegacyGameEvent." + "key_t\022\023\n\013server_tick\030\004 \001(\005\022\023\n\013passthroug" + "h\030\005 \001(\005\032\231\001\n\005key_t\022\014\n\004type\030\001 \001(\005\022\022\n\nval_s" + "tring\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022\020\n\010val_lo" + "ng\030\004 \001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010val_byte\030" + "\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_uint64\030\010 " + "\001(\004\"\244\001\n\026CMsgSosStartSoundEvent\022\027\n\017sounde" + "vent_guid\030\001 \001(\005\022\027\n\017soundevent_hash\030\002 \001(\007" + "\022\037\n\023source_entity_index\030\003 \001(\005:\002-1\022\014\n\004see" + "d\030\004 \001(\005\022\025\n\rpacked_params\030\005 \001(\014\022\022\n\nstart_" + "time\030\006 \001(\002\"0\n\025CMsgSosStopSoundEvent\022\027\n\017s" + "oundevent_guid\030\001 \001(\005\"U\n\031CMsgSosStopSound" + "EventHash\022\027\n\017soundevent_hash\030\001 \001(\007\022\037\n\023so" + "urce_entity_index\030\002 \001(\005:\002-1\"L\n\032CMsgSosSe" + "tSoundEventParams\022\027\n\017soundevent_guid\030\001 \001" + "(\005\022\025\n\rpacked_params\030\005 \001(\014\"I\n\034CMsgSosSetL" + "ibraryStackFields\022\022\n\nstack_hash\030\001 \001(\007\022\025\n" + "\rpacked_fields\030\005 \001(\014*\255\003\n\017EBaseGameEvents" + "\022 \n\033GE_VDebugGameSessionIDEvent\020\310\001\022\027\n\022GE" + "_PlaceDecalEvent\020\311\001\022\035\n\030GE_ClearWorldDeca" + "lsEvent\020\312\001\022\036\n\031GE_ClearEntityDecalsEvent\020" + "\313\001\022!\n\034GE_ClearDecalsForEntityEvent\020\314\001\022\"\n" + "\035GE_Source1LegacyGameEventList\020\315\001\022!\n\034GE_" + "Source1LegacyListenEvents\020\316\001\022\036\n\031GE_Sourc" + "e1LegacyGameEvent\020\317\001\022\032\n\025GE_SosStartSound" + "Event\020\320\001\022\031\n\024GE_SosStopSoundEvent\020\321\001\022\036\n\031G" + "E_SosSetSoundEventParams\020\322\001\022 \n\033GE_SosSet" + "LibraryStackFields\020\323\001\022\035\n\030GE_SosStopSound" + "EventHash\020\324\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_gameevents_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_gameevents_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_gameevents_2eproto = { + false, false, 2132, descriptor_table_protodef_gameevents_2eproto, + "gameevents.proto", + &descriptor_table_gameevents_2eproto_once, descriptor_table_gameevents_2eproto_deps, 1, 16, + schemas, file_default_instances, TableStruct_gameevents_2eproto::offsets, + file_level_metadata_gameevents_2eproto, file_level_enum_descriptors_gameevents_2eproto, + file_level_service_descriptors_gameevents_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gameevents_2eproto_getter() { + return &descriptor_table_gameevents_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gameevents_2eproto(&descriptor_table_gameevents_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseGameEvents_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gameevents_2eproto); + return file_level_enum_descriptors_gameevents_2eproto[0]; +} +bool EBaseGameEvents_IsValid(int value) { + switch (value) { + case 200: + case 201: + case 202: + case 203: + case 204: + case 205: + case 206: + case 207: + case 208: + case 209: + case 210: + case 211: + case 212: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgVDebugGameSessionIDEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_clientid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_gamesessionid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent(::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:CMsgVDebugGameSessionIDEvent) +} +CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent(const CMsgVDebugGameSessionIDEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgVDebugGameSessionIDEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gamesessionid_){} + , decltype(_impl_.clientid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.gamesessionid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gamesessionid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gamesessionid()) { + _this->_impl_.gamesessionid_.Set(from._internal_gamesessionid(), + _this->GetArenaForAllocation()); + } + _this->_impl_.clientid_ = from._impl_.clientid_; + // @@protoc_insertion_point(copy_constructor:CMsgVDebugGameSessionIDEvent) +} + +inline void CMsgVDebugGameSessionIDEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gamesessionid_){} + , decltype(_impl_.clientid_){0} + }; + _impl_.gamesessionid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gamesessionid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgVDebugGameSessionIDEvent::~CMsgVDebugGameSessionIDEvent() { + // @@protoc_insertion_point(destructor:CMsgVDebugGameSessionIDEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgVDebugGameSessionIDEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gamesessionid_.Destroy(); +} + +void CMsgVDebugGameSessionIDEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgVDebugGameSessionIDEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgVDebugGameSessionIDEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.gamesessionid_.ClearNonDefaultToEmpty(); + } + _impl_.clientid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgVDebugGameSessionIDEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 clientid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_clientid(&has_bits); + _impl_.clientid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string gamesessionid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_gamesessionid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgVDebugGameSessionIDEvent.gamesessionid"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgVDebugGameSessionIDEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgVDebugGameSessionIDEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 clientid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_clientid(), target); + } + + // optional string gamesessionid = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gamesessionid().data(), static_cast(this->_internal_gamesessionid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgVDebugGameSessionIDEvent.gamesessionid"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_gamesessionid(), 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:CMsgVDebugGameSessionIDEvent) + return target; +} + +size_t CMsgVDebugGameSessionIDEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgVDebugGameSessionIDEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string gamesessionid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gamesessionid()); + } + + // optional int32 clientid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_clientid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVDebugGameSessionIDEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgVDebugGameSessionIDEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVDebugGameSessionIDEvent::GetClassData() const { return &_class_data_; } + + +void CMsgVDebugGameSessionIDEvent::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:CMsgVDebugGameSessionIDEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_gamesessionid(from._internal_gamesessionid()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.clientid_ = from._impl_.clientid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgVDebugGameSessionIDEvent::CopyFrom(const CMsgVDebugGameSessionIDEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVDebugGameSessionIDEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVDebugGameSessionIDEvent::IsInitialized() const { + return true; +} + +void CMsgVDebugGameSessionIDEvent::InternalSwap(CMsgVDebugGameSessionIDEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gamesessionid_, lhs_arena, + &other->_impl_.gamesessionid_, rhs_arena + ); + swap(_impl_.clientid_, other->_impl_.clientid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgVDebugGameSessionIDEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[0]); +} + +// =================================================================== + +class CMsgPlaceDecalEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& position(const CMsgPlaceDecalEvent* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& normal(const CMsgPlaceDecalEvent* msg); + static void set_has_normal(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& saxis(const CMsgPlaceDecalEvent* msg); + static void set_has_saxis(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_boneindex(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_random_seed(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_decal_group_name(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_size_override(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_entityhandle(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_material_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_sequence_name(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +const ::CMsgVector& +CMsgPlaceDecalEvent::_Internal::position(const CMsgPlaceDecalEvent* msg) { + return *msg->_impl_.position_; +} +const ::CMsgVector& +CMsgPlaceDecalEvent::_Internal::normal(const CMsgPlaceDecalEvent* msg) { + return *msg->_impl_.normal_; +} +const ::CMsgVector& +CMsgPlaceDecalEvent::_Internal::saxis(const CMsgPlaceDecalEvent* msg) { + return *msg->_impl_.saxis_; +} +void CMsgPlaceDecalEvent::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgPlaceDecalEvent::clear_normal() { + if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgPlaceDecalEvent::clear_saxis() { + if (_impl_.saxis_ != nullptr) _impl_.saxis_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgPlaceDecalEvent::CMsgPlaceDecalEvent(::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:CMsgPlaceDecalEvent) +} +CMsgPlaceDecalEvent::CMsgPlaceDecalEvent(const CMsgPlaceDecalEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgPlaceDecalEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.saxis_){nullptr} + , decltype(_impl_.boneindex_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.color_){} + , decltype(_impl_.random_seed_){} + , decltype(_impl_.decal_group_name_){} + , decltype(_impl_.size_override_){} + , decltype(_impl_.material_id_){} + , decltype(_impl_.sequence_name_){} + , decltype(_impl_.entityhandle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + if (from._internal_has_normal()) { + _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); + } + if (from._internal_has_saxis()) { + _this->_impl_.saxis_ = new ::CMsgVector(*from._impl_.saxis_); + } + ::memcpy(&_impl_.boneindex_, &from._impl_.boneindex_, + static_cast(reinterpret_cast(&_impl_.entityhandle_) - + reinterpret_cast(&_impl_.boneindex_)) + sizeof(_impl_.entityhandle_)); + // @@protoc_insertion_point(copy_constructor:CMsgPlaceDecalEvent) +} + +inline void CMsgPlaceDecalEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.saxis_){nullptr} + , decltype(_impl_.boneindex_){0} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.color_){0u} + , decltype(_impl_.random_seed_){0} + , decltype(_impl_.decal_group_name_){0u} + , decltype(_impl_.size_override_){0} + , decltype(_impl_.material_id_){uint64_t{0u}} + , decltype(_impl_.sequence_name_){0u} + , decltype(_impl_.entityhandle_){16777215u} + }; +} + +CMsgPlaceDecalEvent::~CMsgPlaceDecalEvent() { + // @@protoc_insertion_point(destructor:CMsgPlaceDecalEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgPlaceDecalEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; + if (this != internal_default_instance()) delete _impl_.normal_; + if (this != internal_default_instance()) delete _impl_.saxis_; +} + +void CMsgPlaceDecalEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgPlaceDecalEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgPlaceDecalEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.normal_ != nullptr); + _impl_.normal_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.saxis_ != nullptr); + _impl_.saxis_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.boneindex_, 0, static_cast( + reinterpret_cast(&_impl_.decal_group_name_) - + reinterpret_cast(&_impl_.boneindex_)) + sizeof(_impl_.decal_group_name_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.size_override_, 0, static_cast( + reinterpret_cast(&_impl_.sequence_name_) - + reinterpret_cast(&_impl_.size_override_)) + sizeof(_impl_.sequence_name_)); + _impl_.entityhandle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgPlaceDecalEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector position = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector normal = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector saxis = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_saxis(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 boneindex = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_boneindex(&has_bits); + _impl_.boneindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 random_seed = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_random_seed(&has_bits); + _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 decal_group_name = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_decal_group_name(&has_bits); + _impl_.decal_group_name_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float size_override = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_size_override(&has_bits); + _impl_.size_override_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 entityhandle = 10 [default = 16777215]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_entityhandle(&has_bits); + _impl_.entityhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 material_id = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_material_id(&has_bits); + _impl_.material_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sequence_name = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_sequence_name(&has_bits); + _impl_.sequence_name_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgPlaceDecalEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgPlaceDecalEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector position = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::position(this), + _Internal::position(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::normal(this), + _Internal::normal(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector saxis = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::saxis(this), + _Internal::saxis(this).GetCachedSize(), target, stream); + } + + // optional int32 boneindex = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_boneindex(), target); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); + } + + // optional fixed32 color = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_color(), target); + } + + // optional int32 random_seed = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_random_seed(), target); + } + + // optional uint32 decal_group_name = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_decal_group_name(), target); + } + + // optional float size_override = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_size_override(), target); + } + + // optional uint32 entityhandle = 10 [default = 16777215]; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_entityhandle(), target); + } + + // optional uint64 material_id = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_material_id(), target); + } + + // optional uint32 sequence_name = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_sequence_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:CMsgPlaceDecalEvent) + return target; +} + +size_t CMsgPlaceDecalEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgPlaceDecalEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector position = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.normal_); + } + + // optional .CMsgVector saxis = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.saxis_); + } + + // optional int32 boneindex = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_boneindex()); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional fixed32 color = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional int32 random_seed = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); + } + + // optional uint32 decal_group_name = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_decal_group_name()); + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional float size_override = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint64 material_id = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_material_id()); + } + + // optional uint32 sequence_name = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sequence_name()); + } + + // optional uint32 entityhandle = 10 [default = 16777215]; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entityhandle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPlaceDecalEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgPlaceDecalEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPlaceDecalEvent::GetClassData() const { return &_class_data_; } + + +void CMsgPlaceDecalEvent::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:CMsgPlaceDecalEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( + from._internal_normal()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_saxis()->::CMsgVector::MergeFrom( + from._internal_saxis()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.boneindex_ = from._impl_.boneindex_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.random_seed_ = from._impl_.random_seed_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.decal_group_name_ = from._impl_.decal_group_name_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.size_override_ = from._impl_.size_override_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.material_id_ = from._impl_.material_id_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.sequence_name_ = from._impl_.sequence_name_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.entityhandle_ = from._impl_.entityhandle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgPlaceDecalEvent::CopyFrom(const CMsgPlaceDecalEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPlaceDecalEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgPlaceDecalEvent::IsInitialized() const { + return true; +} + +void CMsgPlaceDecalEvent::InternalSwap(CMsgPlaceDecalEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgPlaceDecalEvent, _impl_.sequence_name_) + + sizeof(CMsgPlaceDecalEvent::_impl_.sequence_name_) + - PROTOBUF_FIELD_OFFSET(CMsgPlaceDecalEvent, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); + swap(_impl_.entityhandle_, other->_impl_.entityhandle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgPlaceDecalEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[1]); +} + +// =================================================================== + +class CMsgClearWorldDecalsEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_flagstoclear(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent(::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:CMsgClearWorldDecalsEvent) +} +CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent(const CMsgClearWorldDecalsEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClearWorldDecalsEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; + // @@protoc_insertion_point(copy_constructor:CMsgClearWorldDecalsEvent) +} + +inline void CMsgClearWorldDecalsEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){0u} + }; +} + +CMsgClearWorldDecalsEvent::~CMsgClearWorldDecalsEvent() { + // @@protoc_insertion_point(destructor:CMsgClearWorldDecalsEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClearWorldDecalsEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgClearWorldDecalsEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClearWorldDecalsEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClearWorldDecalsEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.flagstoclear_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClearWorldDecalsEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 flagstoclear = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_flagstoclear(&has_bits); + _impl_.flagstoclear_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClearWorldDecalsEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClearWorldDecalsEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 flagstoclear = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), 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:CMsgClearWorldDecalsEvent) + return target; +} + +size_t CMsgClearWorldDecalsEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClearWorldDecalsEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 flagstoclear = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearWorldDecalsEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClearWorldDecalsEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearWorldDecalsEvent::GetClassData() const { return &_class_data_; } + + +void CMsgClearWorldDecalsEvent::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:CMsgClearWorldDecalsEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_flagstoclear()) { + _this->_internal_set_flagstoclear(from._internal_flagstoclear()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClearWorldDecalsEvent::CopyFrom(const CMsgClearWorldDecalsEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearWorldDecalsEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClearWorldDecalsEvent::IsInitialized() const { + return true; +} + +void CMsgClearWorldDecalsEvent::InternalSwap(CMsgClearWorldDecalsEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearWorldDecalsEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[2]); +} + +// =================================================================== + +class CMsgClearEntityDecalsEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_flagstoclear(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent(::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:CMsgClearEntityDecalsEvent) +} +CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent(const CMsgClearEntityDecalsEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClearEntityDecalsEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; + // @@protoc_insertion_point(copy_constructor:CMsgClearEntityDecalsEvent) +} + +inline void CMsgClearEntityDecalsEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){0u} + }; +} + +CMsgClearEntityDecalsEvent::~CMsgClearEntityDecalsEvent() { + // @@protoc_insertion_point(destructor:CMsgClearEntityDecalsEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClearEntityDecalsEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgClearEntityDecalsEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClearEntityDecalsEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClearEntityDecalsEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.flagstoclear_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClearEntityDecalsEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 flagstoclear = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_flagstoclear(&has_bits); + _impl_.flagstoclear_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClearEntityDecalsEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClearEntityDecalsEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 flagstoclear = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), 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:CMsgClearEntityDecalsEvent) + return target; +} + +size_t CMsgClearEntityDecalsEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClearEntityDecalsEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 flagstoclear = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearEntityDecalsEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClearEntityDecalsEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearEntityDecalsEvent::GetClassData() const { return &_class_data_; } + + +void CMsgClearEntityDecalsEvent::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:CMsgClearEntityDecalsEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_flagstoclear()) { + _this->_internal_set_flagstoclear(from._internal_flagstoclear()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClearEntityDecalsEvent::CopyFrom(const CMsgClearEntityDecalsEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearEntityDecalsEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClearEntityDecalsEvent::IsInitialized() const { + return true; +} + +void CMsgClearEntityDecalsEvent::InternalSwap(CMsgClearEntityDecalsEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearEntityDecalsEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[3]); +} + +// =================================================================== + +class CMsgClearDecalsForEntityEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_flagstoclear(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_entityhandle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent(::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:CMsgClearDecalsForEntityEvent) +} +CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent(const CMsgClearDecalsForEntityEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClearDecalsForEntityEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){} + , decltype(_impl_.entityhandle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.flagstoclear_, &from._impl_.flagstoclear_, + static_cast(reinterpret_cast(&_impl_.entityhandle_) - + reinterpret_cast(&_impl_.flagstoclear_)) + sizeof(_impl_.entityhandle_)); + // @@protoc_insertion_point(copy_constructor:CMsgClearDecalsForEntityEvent) +} + +inline void CMsgClearDecalsForEntityEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flagstoclear_){0u} + , decltype(_impl_.entityhandle_){16777215u} + }; +} + +CMsgClearDecalsForEntityEvent::~CMsgClearDecalsForEntityEvent() { + // @@protoc_insertion_point(destructor:CMsgClearDecalsForEntityEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClearDecalsForEntityEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgClearDecalsForEntityEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClearDecalsForEntityEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClearDecalsForEntityEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.flagstoclear_ = 0u; + _impl_.entityhandle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClearDecalsForEntityEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 flagstoclear = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_flagstoclear(&has_bits); + _impl_.flagstoclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entityhandle = 2 [default = 16777215]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_entityhandle(&has_bits); + _impl_.entityhandle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClearDecalsForEntityEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClearDecalsForEntityEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 flagstoclear = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), target); + } + + // optional uint32 entityhandle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entityhandle(), 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:CMsgClearDecalsForEntityEvent) + return target; +} + +size_t CMsgClearDecalsForEntityEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClearDecalsForEntityEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 flagstoclear = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); + } + + // optional uint32 entityhandle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entityhandle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearDecalsForEntityEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClearDecalsForEntityEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearDecalsForEntityEvent::GetClassData() const { return &_class_data_; } + + +void CMsgClearDecalsForEntityEvent::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:CMsgClearDecalsForEntityEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entityhandle_ = from._impl_.entityhandle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClearDecalsForEntityEvent::CopyFrom(const CMsgClearDecalsForEntityEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearDecalsForEntityEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClearDecalsForEntityEvent::IsInitialized() const { + return true; +} + +void CMsgClearDecalsForEntityEvent::InternalSwap(CMsgClearDecalsForEntityEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); + swap(_impl_.entityhandle_, other->_impl_.entityhandle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearDecalsForEntityEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[4]); +} + +// =================================================================== + +class CMsgSource1LegacyGameEventList_key_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t(::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:CMsgSource1LegacyGameEventList.key_t) +} +CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t(const CMsgSource1LegacyGameEventList_key_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyGameEventList_key_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.type_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.type_ = from._impl_.type_; + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList.key_t) +} + +inline void CMsgSource1LegacyGameEventList_key_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.type_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource1LegacyGameEventList_key_t::~CMsgSource1LegacyGameEventList_key_t() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList.key_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyGameEventList_key_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CMsgSource1LegacyGameEventList_key_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyGameEventList_key_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList.key_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyGameEventList_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEventList.key_t.name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource1LegacyGameEventList_key_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList.key_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource1LegacyGameEventList.key_t.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:CMsgSource1LegacyGameEventList.key_t) + return target; +} + +size_t CMsgSource1LegacyGameEventList_key_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList.key_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList_key_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyGameEventList_key_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList_key_t::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyGameEventList_key_t::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:CMsgSource1LegacyGameEventList.key_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyGameEventList_key_t::CopyFrom(const CMsgSource1LegacyGameEventList_key_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList.key_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyGameEventList_key_t::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyGameEventList_key_t::InternalSwap(CMsgSource1LegacyGameEventList_key_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.type_, other->_impl_.type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList_key_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[5]); +} + +// =================================================================== + +class CMsgSource1LegacyGameEventList_descriptor_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t(::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:CMsgSource1LegacyGameEventList.descriptor_t) +} +CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t(const CMsgSource1LegacyGameEventList_descriptor_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyGameEventList_descriptor_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){from._impl_.keys_} + , decltype(_impl_.name_){} + , decltype(_impl_.eventid_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.eventid_ = from._impl_.eventid_; + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList.descriptor_t) +} + +inline void CMsgSource1LegacyGameEventList_descriptor_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.eventid_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource1LegacyGameEventList_descriptor_t::~CMsgSource1LegacyGameEventList_descriptor_t() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList.descriptor_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyGameEventList_descriptor_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.keys_.~RepeatedPtrField(); + _impl_.name_.Destroy(); +} + +void CMsgSource1LegacyGameEventList_descriptor_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyGameEventList_descriptor_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList.descriptor_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.keys_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.eventid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyGameEventList_descriptor_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEventList.descriptor_t.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_keys(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource1LegacyGameEventList_descriptor_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList.descriptor_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource1LegacyGameEventList.descriptor_t.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_keys(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:CMsgSource1LegacyGameEventList.descriptor_t) + return target; +} + +size_t CMsgSource1LegacyGameEventList_descriptor_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList.descriptor_t) + 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 .CMsgSource1LegacyGameEventList.key_t keys = 3; + total_size += 1UL * this->_internal_keys_size(); + for (const auto& msg : this->_impl_.keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList_descriptor_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyGameEventList_descriptor_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList_descriptor_t::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyGameEventList_descriptor_t::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:CMsgSource1LegacyGameEventList.descriptor_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.keys_.MergeFrom(from._impl_.keys_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyGameEventList_descriptor_t::CopyFrom(const CMsgSource1LegacyGameEventList_descriptor_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList.descriptor_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyGameEventList_descriptor_t::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyGameEventList_descriptor_t::InternalSwap(CMsgSource1LegacyGameEventList_descriptor_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.keys_.InternalSwap(&other->_impl_.keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.eventid_, other->_impl_.eventid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList_descriptor_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[6]); +} + +// =================================================================== + +class CMsgSource1LegacyGameEventList::_Internal { + public: +}; + +CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList(::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:CMsgSource1LegacyGameEventList) +} +CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList(const CMsgSource1LegacyGameEventList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyGameEventList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.descriptors_){from._impl_.descriptors_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList) +} + +inline void CMsgSource1LegacyGameEventList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.descriptors_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsgSource1LegacyGameEventList::~CMsgSource1LegacyGameEventList() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyGameEventList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.descriptors_.~RepeatedPtrField(); +} + +void CMsgSource1LegacyGameEventList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyGameEventList::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.descriptors_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyGameEventList::_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 .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_descriptors(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsgSource1LegacyGameEventList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_descriptors_size()); i < n; i++) { + const auto& repfield = this->_internal_descriptors(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsgSource1LegacyGameEventList) + return target; +} + +size_t CMsgSource1LegacyGameEventList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList) + 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 .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; + total_size += 1UL * this->_internal_descriptors_size(); + for (const auto& msg : this->_impl_.descriptors_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyGameEventList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyGameEventList::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:CMsgSource1LegacyGameEventList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.descriptors_.MergeFrom(from._impl_.descriptors_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyGameEventList::CopyFrom(const CMsgSource1LegacyGameEventList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyGameEventList::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyGameEventList::InternalSwap(CMsgSource1LegacyGameEventList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.descriptors_.InternalSwap(&other->_impl_.descriptors_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[7]); +} + +// =================================================================== + +class CMsgSource1LegacyListenEvents::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_playerslot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents(::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:CMsgSource1LegacyListenEvents) +} +CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents(const CMsgSource1LegacyListenEvents& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyListenEvents* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventarraybits_){from._impl_.eventarraybits_} + , decltype(_impl_.playerslot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.playerslot_ = from._impl_.playerslot_; + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyListenEvents) +} + +inline void CMsgSource1LegacyListenEvents::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventarraybits_){arena} + , decltype(_impl_.playerslot_){0} + }; +} + +CMsgSource1LegacyListenEvents::~CMsgSource1LegacyListenEvents() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyListenEvents) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyListenEvents::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.eventarraybits_.~RepeatedField(); +} + +void CMsgSource1LegacyListenEvents::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyListenEvents::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyListenEvents) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.eventarraybits_.Clear(); + _impl_.playerslot_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyListenEvents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 playerslot = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_playerslot(&has_bits); + _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 eventarraybits = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_eventarraybits(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_eventarraybits(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource1LegacyListenEvents::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyListenEvents) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 playerslot = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_playerslot(), target); + } + + // repeated uint32 eventarraybits = 2; + for (int i = 0, n = this->_internal_eventarraybits_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_eventarraybits(i), 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:CMsgSource1LegacyListenEvents) + return target; +} + +size_t CMsgSource1LegacyListenEvents::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyListenEvents) + 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 uint32 eventarraybits = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.eventarraybits_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_eventarraybits_size()); + total_size += data_size; + } + + // optional int32 playerslot = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyListenEvents::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyListenEvents::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyListenEvents::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyListenEvents::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:CMsgSource1LegacyListenEvents) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.eventarraybits_.MergeFrom(from._impl_.eventarraybits_); + if (from._internal_has_playerslot()) { + _this->_internal_set_playerslot(from._internal_playerslot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyListenEvents::CopyFrom(const CMsgSource1LegacyListenEvents& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyListenEvents) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyListenEvents::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyListenEvents::InternalSwap(CMsgSource1LegacyListenEvents* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.eventarraybits_.InternalSwap(&other->_impl_.eventarraybits_); + swap(_impl_.playerslot_, other->_impl_.playerslot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyListenEvents::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[8]); +} + +// =================================================================== + +class CMsgSource1LegacyGameEvent_key_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_val_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_val_float(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_val_long(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_val_short(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_val_byte(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_val_bool(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_val_uint64(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t(::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:CMsgSource1LegacyGameEvent.key_t) +} +CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t(const CMsgSource1LegacyGameEvent_key_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyGameEvent_key_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.val_string_){} + , decltype(_impl_.type_){} + , decltype(_impl_.val_float_){} + , decltype(_impl_.val_long_){} + , decltype(_impl_.val_short_){} + , decltype(_impl_.val_byte_){} + , decltype(_impl_.val_bool_){} + , decltype(_impl_.val_uint64_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_val_string()) { + _this->_impl_.val_string_.Set(from._internal_val_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.val_uint64_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEvent.key_t) +} + +inline void CMsgSource1LegacyGameEvent_key_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.val_string_){} + , decltype(_impl_.type_){0} + , decltype(_impl_.val_float_){0} + , decltype(_impl_.val_long_){0} + , decltype(_impl_.val_short_){0} + , decltype(_impl_.val_byte_){0} + , decltype(_impl_.val_bool_){false} + , decltype(_impl_.val_uint64_){uint64_t{0u}} + }; + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource1LegacyGameEvent_key_t::~CMsgSource1LegacyGameEvent_key_t() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEvent.key_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyGameEvent_key_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.val_string_.Destroy(); +} + +void CMsgSource1LegacyGameEvent_key_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyGameEvent_key_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEvent.key_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.val_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.val_uint64_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyGameEvent_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string val_string = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_val_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEvent.key_t.val_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float val_float = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_val_float(&has_bits); + _impl_.val_float_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 val_long = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_val_long(&has_bits); + _impl_.val_long_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 val_short = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_val_short(&has_bits); + _impl_.val_short_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 val_byte = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_val_byte(&has_bits); + _impl_.val_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool val_bool = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_val_bool(&has_bits); + _impl_.val_bool_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 val_uint64 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_val_uint64(&has_bits); + _impl_.val_uint64_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource1LegacyGameEvent_key_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEvent.key_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional string val_string = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource1LegacyGameEvent.key_t.val_string"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_val_string(), target); + } + + // optional float val_float = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_val_float(), target); + } + + // optional int32 val_long = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_val_long(), target); + } + + // optional int32 val_short = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_val_short(), target); + } + + // optional int32 val_byte = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_val_byte(), target); + } + + // optional bool val_bool = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_val_bool(), target); + } + + // optional uint64 val_uint64 = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_val_uint64(), 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:CMsgSource1LegacyGameEvent.key_t) + return target; +} + +size_t CMsgSource1LegacyGameEvent_key_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEvent.key_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string val_string = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_val_string()); + } + + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional float val_float = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 val_long = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_long()); + } + + // optional int32 val_short = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_short()); + } + + // optional int32 val_byte = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_byte()); + } + + // optional bool val_bool = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional uint64 val_uint64 = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val_uint64()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEvent_key_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyGameEvent_key_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEvent_key_t::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyGameEvent_key_t::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:CMsgSource1LegacyGameEvent.key_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_val_string(from._internal_val_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.val_float_ = from._impl_.val_float_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.val_long_ = from._impl_.val_long_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.val_short_ = from._impl_.val_short_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.val_byte_ = from._impl_.val_byte_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.val_bool_ = from._impl_.val_bool_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.val_uint64_ = from._impl_.val_uint64_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyGameEvent_key_t::CopyFrom(const CMsgSource1LegacyGameEvent_key_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEvent.key_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyGameEvent_key_t::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyGameEvent_key_t::InternalSwap(CMsgSource1LegacyGameEvent_key_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.val_string_, lhs_arena, + &other->_impl_.val_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent_key_t, _impl_.val_uint64_) + + sizeof(CMsgSource1LegacyGameEvent_key_t::_impl_.val_uint64_) + - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent_key_t, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEvent_key_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[9]); +} + +// =================================================================== + +class CMsgSource1LegacyGameEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_server_tick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_passthrough(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent(::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:CMsgSource1LegacyGameEvent) +} +CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent(const CMsgSource1LegacyGameEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource1LegacyGameEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){from._impl_.keys_} + , decltype(_impl_.event_name_){} + , decltype(_impl_.eventid_){} + , decltype(_impl_.server_tick_){} + , decltype(_impl_.passthrough_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, + static_cast(reinterpret_cast(&_impl_.passthrough_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.passthrough_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEvent) +} + +inline void CMsgSource1LegacyGameEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){arena} + , decltype(_impl_.event_name_){} + , decltype(_impl_.eventid_){0} + , decltype(_impl_.server_tick_){0} + , decltype(_impl_.passthrough_){0} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource1LegacyGameEvent::~CMsgSource1LegacyGameEvent() { + // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource1LegacyGameEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.keys_.~RepeatedPtrField(); + _impl_.event_name_.Destroy(); +} + +void CMsgSource1LegacyGameEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource1LegacyGameEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.keys_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.eventid_, 0, static_cast( + reinterpret_cast(&_impl_.passthrough_) - + reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.passthrough_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource1LegacyGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 eventid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_keys(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 server_tick = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_tick(&has_bits); + _impl_.server_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 passthrough = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_passthrough(&has_bits); + _impl_.passthrough_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource1LegacyGameEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource1LegacyGameEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // optional int32 eventid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_eventid(), target); + } + + // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_keys(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 server_tick = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_server_tick(), target); + } + + // optional int32 passthrough = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_passthrough(), 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:CMsgSource1LegacyGameEvent) + return target; +} + +size_t CMsgSource1LegacyGameEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEvent) + 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 .CMsgSource1LegacyGameEvent.key_t keys = 3; + total_size += 1UL * this->_internal_keys_size(); + for (const auto& msg : this->_impl_.keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional int32 eventid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + // optional int32 server_tick = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_tick()); + } + + // optional int32 passthrough = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource1LegacyGameEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEvent::GetClassData() const { return &_class_data_; } + + +void CMsgSource1LegacyGameEvent::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:CMsgSource1LegacyGameEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.keys_.MergeFrom(from._impl_.keys_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_tick_ = from._impl_.server_tick_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.passthrough_ = from._impl_.passthrough_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource1LegacyGameEvent::CopyFrom(const CMsgSource1LegacyGameEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource1LegacyGameEvent::IsInitialized() const { + return true; +} + +void CMsgSource1LegacyGameEvent::InternalSwap(CMsgSource1LegacyGameEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.keys_.InternalSwap(&other->_impl_.keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent, _impl_.passthrough_) + + sizeof(CMsgSource1LegacyGameEvent::_impl_.passthrough_) + - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent, _impl_.eventid_)>( + reinterpret_cast(&_impl_.eventid_), + reinterpret_cast(&other->_impl_.eventid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[10]); +} + +// =================================================================== + +class CMsgSosStartSoundEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_soundevent_guid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_soundevent_hash(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_source_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_seed(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_packed_params(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_start_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgSosStartSoundEvent::CMsgSosStartSoundEvent(::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:CMsgSosStartSoundEvent) +} +CMsgSosStartSoundEvent::CMsgSosStartSoundEvent(const CMsgSosStartSoundEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSosStartSoundEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_params_){} + , decltype(_impl_.soundevent_guid_){} + , decltype(_impl_.soundevent_hash_){} + , decltype(_impl_.seed_){} + , decltype(_impl_.start_time_){} + , decltype(_impl_.source_entity_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.packed_params_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_params_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_packed_params()) { + _this->_impl_.packed_params_.Set(from._internal_packed_params(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.soundevent_guid_, &from._impl_.soundevent_guid_, + static_cast(reinterpret_cast(&_impl_.source_entity_index_) - + reinterpret_cast(&_impl_.soundevent_guid_)) + sizeof(_impl_.source_entity_index_)); + // @@protoc_insertion_point(copy_constructor:CMsgSosStartSoundEvent) +} + +inline void CMsgSosStartSoundEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_params_){} + , decltype(_impl_.soundevent_guid_){0} + , decltype(_impl_.soundevent_hash_){0u} + , decltype(_impl_.seed_){0} + , decltype(_impl_.start_time_){0} + , decltype(_impl_.source_entity_index_){-1} + }; + _impl_.packed_params_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_params_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSosStartSoundEvent::~CMsgSosStartSoundEvent() { + // @@protoc_insertion_point(destructor:CMsgSosStartSoundEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSosStartSoundEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.packed_params_.Destroy(); +} + +void CMsgSosStartSoundEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSosStartSoundEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSosStartSoundEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.packed_params_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000003eu) { + ::memset(&_impl_.soundevent_guid_, 0, static_cast( + reinterpret_cast(&_impl_.start_time_) - + reinterpret_cast(&_impl_.soundevent_guid_)) + sizeof(_impl_.start_time_)); + _impl_.source_entity_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSosStartSoundEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 soundevent_guid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_soundevent_guid(&has_bits); + _impl_.soundevent_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 soundevent_hash = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_soundevent_hash(&has_bits); + _impl_.soundevent_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 source_entity_index = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_source_entity_index(&has_bits); + _impl_.source_entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 seed = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_seed(&has_bits); + _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes packed_params = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_packed_params(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float start_time = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_start_time(&has_bits); + _impl_.start_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSosStartSoundEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStartSoundEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 soundevent_guid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), target); + } + + // optional fixed32 soundevent_hash = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_soundevent_hash(), target); + } + + // optional int32 source_entity_index = 3 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_source_entity_index(), target); + } + + // optional int32 seed = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_seed(), target); + } + + // optional bytes packed_params = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_packed_params(), target); + } + + // optional float start_time = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_start_time(), 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:CMsgSosStartSoundEvent) + return target; +} + +size_t CMsgSosStartSoundEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSosStartSoundEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional bytes packed_params = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_packed_params()); + } + + // optional int32 soundevent_guid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); + } + + // optional fixed32 soundevent_hash = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 seed = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_seed()); + } + + // optional float start_time = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional int32 source_entity_index = 3 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_source_entity_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStartSoundEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSosStartSoundEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStartSoundEvent::GetClassData() const { return &_class_data_; } + + +void CMsgSosStartSoundEvent::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:CMsgSosStartSoundEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_packed_params(from._internal_packed_params()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.soundevent_hash_ = from._impl_.soundevent_hash_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seed_ = from._impl_.seed_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.start_time_ = from._impl_.start_time_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.source_entity_index_ = from._impl_.source_entity_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSosStartSoundEvent::CopyFrom(const CMsgSosStartSoundEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStartSoundEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSosStartSoundEvent::IsInitialized() const { + return true; +} + +void CMsgSosStartSoundEvent::InternalSwap(CMsgSosStartSoundEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.packed_params_, lhs_arena, + &other->_impl_.packed_params_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSosStartSoundEvent, _impl_.start_time_) + + sizeof(CMsgSosStartSoundEvent::_impl_.start_time_) + - PROTOBUF_FIELD_OFFSET(CMsgSosStartSoundEvent, _impl_.soundevent_guid_)>( + reinterpret_cast(&_impl_.soundevent_guid_), + reinterpret_cast(&other->_impl_.soundevent_guid_)); + swap(_impl_.source_entity_index_, other->_impl_.source_entity_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStartSoundEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[11]); +} + +// =================================================================== + +class CMsgSosStopSoundEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_soundevent_guid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSosStopSoundEvent::CMsgSosStopSoundEvent(::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:CMsgSosStopSoundEvent) +} +CMsgSosStopSoundEvent::CMsgSosStopSoundEvent(const CMsgSosStopSoundEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSosStopSoundEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundevent_guid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; + // @@protoc_insertion_point(copy_constructor:CMsgSosStopSoundEvent) +} + +inline void CMsgSosStopSoundEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundevent_guid_){0} + }; +} + +CMsgSosStopSoundEvent::~CMsgSosStopSoundEvent() { + // @@protoc_insertion_point(destructor:CMsgSosStopSoundEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSosStopSoundEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSosStopSoundEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSosStopSoundEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSosStopSoundEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.soundevent_guid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSosStopSoundEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 soundevent_guid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_soundevent_guid(&has_bits); + _impl_.soundevent_guid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSosStopSoundEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStopSoundEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 soundevent_guid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), 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:CMsgSosStopSoundEvent) + return target; +} + +size_t CMsgSosStopSoundEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSosStopSoundEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 soundevent_guid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStopSoundEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSosStopSoundEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStopSoundEvent::GetClassData() const { return &_class_data_; } + + +void CMsgSosStopSoundEvent::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:CMsgSosStopSoundEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_soundevent_guid()) { + _this->_internal_set_soundevent_guid(from._internal_soundevent_guid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSosStopSoundEvent::CopyFrom(const CMsgSosStopSoundEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStopSoundEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSosStopSoundEvent::IsInitialized() const { + return true; +} + +void CMsgSosStopSoundEvent::InternalSwap(CMsgSosStopSoundEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.soundevent_guid_, other->_impl_.soundevent_guid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStopSoundEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[12]); +} + +// =================================================================== + +class CMsgSosStopSoundEventHash::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_soundevent_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_source_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash(::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:CMsgSosStopSoundEventHash) +} +CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash(const CMsgSosStopSoundEventHash& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSosStopSoundEventHash* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundevent_hash_){} + , decltype(_impl_.source_entity_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.soundevent_hash_, &from._impl_.soundevent_hash_, + static_cast(reinterpret_cast(&_impl_.source_entity_index_) - + reinterpret_cast(&_impl_.soundevent_hash_)) + sizeof(_impl_.source_entity_index_)); + // @@protoc_insertion_point(copy_constructor:CMsgSosStopSoundEventHash) +} + +inline void CMsgSosStopSoundEventHash::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundevent_hash_){0u} + , decltype(_impl_.source_entity_index_){-1} + }; +} + +CMsgSosStopSoundEventHash::~CMsgSosStopSoundEventHash() { + // @@protoc_insertion_point(destructor:CMsgSosStopSoundEventHash) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSosStopSoundEventHash::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSosStopSoundEventHash::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSosStopSoundEventHash::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSosStopSoundEventHash) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.soundevent_hash_ = 0u; + _impl_.source_entity_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSosStopSoundEventHash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 soundevent_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_soundevent_hash(&has_bits); + _impl_.soundevent_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 source_entity_index = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_source_entity_index(&has_bits); + _impl_.source_entity_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSosStopSoundEventHash::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStopSoundEventHash) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 soundevent_hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_soundevent_hash(), target); + } + + // optional int32 source_entity_index = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_source_entity_index(), 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:CMsgSosStopSoundEventHash) + return target; +} + +size_t CMsgSosStopSoundEventHash::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSosStopSoundEventHash) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed32 soundevent_hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional int32 source_entity_index = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_source_entity_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStopSoundEventHash::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSosStopSoundEventHash::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStopSoundEventHash::GetClassData() const { return &_class_data_; } + + +void CMsgSosStopSoundEventHash::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:CMsgSosStopSoundEventHash) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.soundevent_hash_ = from._impl_.soundevent_hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.source_entity_index_ = from._impl_.source_entity_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSosStopSoundEventHash::CopyFrom(const CMsgSosStopSoundEventHash& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStopSoundEventHash) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSosStopSoundEventHash::IsInitialized() const { + return true; +} + +void CMsgSosStopSoundEventHash::InternalSwap(CMsgSosStopSoundEventHash* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.soundevent_hash_, other->_impl_.soundevent_hash_); + swap(_impl_.source_entity_index_, other->_impl_.source_entity_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStopSoundEventHash::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[13]); +} + +// =================================================================== + +class CMsgSosSetSoundEventParams::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_soundevent_guid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_packed_params(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams(::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:CMsgSosSetSoundEventParams) +} +CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams(const CMsgSosSetSoundEventParams& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSosSetSoundEventParams* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_params_){} + , decltype(_impl_.soundevent_guid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.packed_params_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_params_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_packed_params()) { + _this->_impl_.packed_params_.Set(from._internal_packed_params(), + _this->GetArenaForAllocation()); + } + _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; + // @@protoc_insertion_point(copy_constructor:CMsgSosSetSoundEventParams) +} + +inline void CMsgSosSetSoundEventParams::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_params_){} + , decltype(_impl_.soundevent_guid_){0} + }; + _impl_.packed_params_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_params_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSosSetSoundEventParams::~CMsgSosSetSoundEventParams() { + // @@protoc_insertion_point(destructor:CMsgSosSetSoundEventParams) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSosSetSoundEventParams::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.packed_params_.Destroy(); +} + +void CMsgSosSetSoundEventParams::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSosSetSoundEventParams::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSosSetSoundEventParams) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.packed_params_.ClearNonDefaultToEmpty(); + } + _impl_.soundevent_guid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSosSetSoundEventParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 soundevent_guid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_soundevent_guid(&has_bits); + _impl_.soundevent_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes packed_params = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_packed_params(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSosSetSoundEventParams::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSosSetSoundEventParams) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 soundevent_guid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), target); + } + + // optional bytes packed_params = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_packed_params(), 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:CMsgSosSetSoundEventParams) + return target; +} + +size_t CMsgSosSetSoundEventParams::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSosSetSoundEventParams) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes packed_params = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_packed_params()); + } + + // optional int32 soundevent_guid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosSetSoundEventParams::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSosSetSoundEventParams::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosSetSoundEventParams::GetClassData() const { return &_class_data_; } + + +void CMsgSosSetSoundEventParams::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:CMsgSosSetSoundEventParams) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_packed_params(from._internal_packed_params()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSosSetSoundEventParams::CopyFrom(const CMsgSosSetSoundEventParams& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosSetSoundEventParams) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSosSetSoundEventParams::IsInitialized() const { + return true; +} + +void CMsgSosSetSoundEventParams::InternalSwap(CMsgSosSetSoundEventParams* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.packed_params_, lhs_arena, + &other->_impl_.packed_params_, rhs_arena + ); + swap(_impl_.soundevent_guid_, other->_impl_.soundevent_guid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosSetSoundEventParams::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[14]); +} + +// =================================================================== + +class CMsgSosSetLibraryStackFields::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_stack_hash(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_packed_fields(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields(::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:CMsgSosSetLibraryStackFields) +} +CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields(const CMsgSosSetLibraryStackFields& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSosSetLibraryStackFields* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_fields_){} + , decltype(_impl_.stack_hash_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.packed_fields_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_fields_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_packed_fields()) { + _this->_impl_.packed_fields_.Set(from._internal_packed_fields(), + _this->GetArenaForAllocation()); + } + _this->_impl_.stack_hash_ = from._impl_.stack_hash_; + // @@protoc_insertion_point(copy_constructor:CMsgSosSetLibraryStackFields) +} + +inline void CMsgSosSetLibraryStackFields::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packed_fields_){} + , decltype(_impl_.stack_hash_){0u} + }; + _impl_.packed_fields_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.packed_fields_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSosSetLibraryStackFields::~CMsgSosSetLibraryStackFields() { + // @@protoc_insertion_point(destructor:CMsgSosSetLibraryStackFields) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSosSetLibraryStackFields::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.packed_fields_.Destroy(); +} + +void CMsgSosSetLibraryStackFields::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSosSetLibraryStackFields::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSosSetLibraryStackFields) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.packed_fields_.ClearNonDefaultToEmpty(); + } + _impl_.stack_hash_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSosSetLibraryStackFields::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 stack_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_stack_hash(&has_bits); + _impl_.stack_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes packed_fields = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_packed_fields(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSosSetLibraryStackFields::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSosSetLibraryStackFields) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 stack_hash = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_stack_hash(), target); + } + + // optional bytes packed_fields = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_packed_fields(), 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:CMsgSosSetLibraryStackFields) + return target; +} + +size_t CMsgSosSetLibraryStackFields::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSosSetLibraryStackFields) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes packed_fields = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_packed_fields()); + } + + // optional fixed32 stack_hash = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosSetLibraryStackFields::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSosSetLibraryStackFields::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosSetLibraryStackFields::GetClassData() const { return &_class_data_; } + + +void CMsgSosSetLibraryStackFields::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:CMsgSosSetLibraryStackFields) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_packed_fields(from._internal_packed_fields()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.stack_hash_ = from._impl_.stack_hash_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSosSetLibraryStackFields::CopyFrom(const CMsgSosSetLibraryStackFields& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosSetLibraryStackFields) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSosSetLibraryStackFields::IsInitialized() const { + return true; +} + +void CMsgSosSetLibraryStackFields::InternalSwap(CMsgSosSetLibraryStackFields* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.packed_fields_, lhs_arena, + &other->_impl_.packed_fields_, rhs_arena + ); + swap(_impl_.stack_hash_, other->_impl_.stack_hash_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosSetLibraryStackFields::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, + file_level_metadata_gameevents_2eproto[15]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgVDebugGameSessionIDEvent* +Arena::CreateMaybeMessage< ::CMsgVDebugGameSessionIDEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgVDebugGameSessionIDEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgPlaceDecalEvent* +Arena::CreateMaybeMessage< ::CMsgPlaceDecalEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgPlaceDecalEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClearWorldDecalsEvent* +Arena::CreateMaybeMessage< ::CMsgClearWorldDecalsEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClearWorldDecalsEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClearEntityDecalsEvent* +Arena::CreateMaybeMessage< ::CMsgClearEntityDecalsEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClearEntityDecalsEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClearDecalsForEntityEvent* +Arena::CreateMaybeMessage< ::CMsgClearDecalsForEntityEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClearDecalsForEntityEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList_key_t* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList_key_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList_key_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList_descriptor_t* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList_descriptor_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList_descriptor_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyListenEvents* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyListenEvents >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyListenEvents >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEvent_key_t* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEvent_key_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEvent_key_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEvent* +Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSosStartSoundEvent* +Arena::CreateMaybeMessage< ::CMsgSosStartSoundEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSosStartSoundEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSosStopSoundEvent* +Arena::CreateMaybeMessage< ::CMsgSosStopSoundEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSosStopSoundEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSosStopSoundEventHash* +Arena::CreateMaybeMessage< ::CMsgSosStopSoundEventHash >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSosStopSoundEventHash >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSosSetSoundEventParams* +Arena::CreateMaybeMessage< ::CMsgSosSetSoundEventParams >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSosSetSoundEventParams >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSosSetLibraryStackFields* +Arena::CreateMaybeMessage< ::CMsgSosSetLibraryStackFields >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSosSetLibraryStackFields >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.h new file mode 100644 index 0000000..df0ade0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gameevents.pb.h @@ -0,0 +1,5462 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gameevents.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_gameevents_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_gameevents_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_gameevents_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_gameevents_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gameevents_2eproto; +class CMsgClearDecalsForEntityEvent; +struct CMsgClearDecalsForEntityEventDefaultTypeInternal; +extern CMsgClearDecalsForEntityEventDefaultTypeInternal _CMsgClearDecalsForEntityEvent_default_instance_; +class CMsgClearEntityDecalsEvent; +struct CMsgClearEntityDecalsEventDefaultTypeInternal; +extern CMsgClearEntityDecalsEventDefaultTypeInternal _CMsgClearEntityDecalsEvent_default_instance_; +class CMsgClearWorldDecalsEvent; +struct CMsgClearWorldDecalsEventDefaultTypeInternal; +extern CMsgClearWorldDecalsEventDefaultTypeInternal _CMsgClearWorldDecalsEvent_default_instance_; +class CMsgPlaceDecalEvent; +struct CMsgPlaceDecalEventDefaultTypeInternal; +extern CMsgPlaceDecalEventDefaultTypeInternal _CMsgPlaceDecalEvent_default_instance_; +class CMsgSosSetLibraryStackFields; +struct CMsgSosSetLibraryStackFieldsDefaultTypeInternal; +extern CMsgSosSetLibraryStackFieldsDefaultTypeInternal _CMsgSosSetLibraryStackFields_default_instance_; +class CMsgSosSetSoundEventParams; +struct CMsgSosSetSoundEventParamsDefaultTypeInternal; +extern CMsgSosSetSoundEventParamsDefaultTypeInternal _CMsgSosSetSoundEventParams_default_instance_; +class CMsgSosStartSoundEvent; +struct CMsgSosStartSoundEventDefaultTypeInternal; +extern CMsgSosStartSoundEventDefaultTypeInternal _CMsgSosStartSoundEvent_default_instance_; +class CMsgSosStopSoundEvent; +struct CMsgSosStopSoundEventDefaultTypeInternal; +extern CMsgSosStopSoundEventDefaultTypeInternal _CMsgSosStopSoundEvent_default_instance_; +class CMsgSosStopSoundEventHash; +struct CMsgSosStopSoundEventHashDefaultTypeInternal; +extern CMsgSosStopSoundEventHashDefaultTypeInternal _CMsgSosStopSoundEventHash_default_instance_; +class CMsgSource1LegacyGameEvent; +struct CMsgSource1LegacyGameEventDefaultTypeInternal; +extern CMsgSource1LegacyGameEventDefaultTypeInternal _CMsgSource1LegacyGameEvent_default_instance_; +class CMsgSource1LegacyGameEventList; +struct CMsgSource1LegacyGameEventListDefaultTypeInternal; +extern CMsgSource1LegacyGameEventListDefaultTypeInternal _CMsgSource1LegacyGameEventList_default_instance_; +class CMsgSource1LegacyGameEventList_descriptor_t; +struct CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal; +extern CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_descriptor_t_default_instance_; +class CMsgSource1LegacyGameEventList_key_t; +struct CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal; +extern CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_key_t_default_instance_; +class CMsgSource1LegacyGameEvent_key_t; +struct CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal; +extern CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal _CMsgSource1LegacyGameEvent_key_t_default_instance_; +class CMsgSource1LegacyListenEvents; +struct CMsgSource1LegacyListenEventsDefaultTypeInternal; +extern CMsgSource1LegacyListenEventsDefaultTypeInternal _CMsgSource1LegacyListenEvents_default_instance_; +class CMsgVDebugGameSessionIDEvent; +struct CMsgVDebugGameSessionIDEventDefaultTypeInternal; +extern CMsgVDebugGameSessionIDEventDefaultTypeInternal _CMsgVDebugGameSessionIDEvent_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgClearDecalsForEntityEvent* Arena::CreateMaybeMessage<::CMsgClearDecalsForEntityEvent>(Arena*); +template<> ::CMsgClearEntityDecalsEvent* Arena::CreateMaybeMessage<::CMsgClearEntityDecalsEvent>(Arena*); +template<> ::CMsgClearWorldDecalsEvent* Arena::CreateMaybeMessage<::CMsgClearWorldDecalsEvent>(Arena*); +template<> ::CMsgPlaceDecalEvent* Arena::CreateMaybeMessage<::CMsgPlaceDecalEvent>(Arena*); +template<> ::CMsgSosSetLibraryStackFields* Arena::CreateMaybeMessage<::CMsgSosSetLibraryStackFields>(Arena*); +template<> ::CMsgSosSetSoundEventParams* Arena::CreateMaybeMessage<::CMsgSosSetSoundEventParams>(Arena*); +template<> ::CMsgSosStartSoundEvent* Arena::CreateMaybeMessage<::CMsgSosStartSoundEvent>(Arena*); +template<> ::CMsgSosStopSoundEvent* Arena::CreateMaybeMessage<::CMsgSosStopSoundEvent>(Arena*); +template<> ::CMsgSosStopSoundEventHash* Arena::CreateMaybeMessage<::CMsgSosStopSoundEventHash>(Arena*); +template<> ::CMsgSource1LegacyGameEvent* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEvent>(Arena*); +template<> ::CMsgSource1LegacyGameEventList* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList>(Arena*); +template<> ::CMsgSource1LegacyGameEventList_descriptor_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList_descriptor_t>(Arena*); +template<> ::CMsgSource1LegacyGameEventList_key_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList_key_t>(Arena*); +template<> ::CMsgSource1LegacyGameEvent_key_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEvent_key_t>(Arena*); +template<> ::CMsgSource1LegacyListenEvents* Arena::CreateMaybeMessage<::CMsgSource1LegacyListenEvents>(Arena*); +template<> ::CMsgVDebugGameSessionIDEvent* Arena::CreateMaybeMessage<::CMsgVDebugGameSessionIDEvent>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EBaseGameEvents : int { + GE_VDebugGameSessionIDEvent = 200, + GE_PlaceDecalEvent = 201, + GE_ClearWorldDecalsEvent = 202, + GE_ClearEntityDecalsEvent = 203, + GE_ClearDecalsForEntityEvent = 204, + GE_Source1LegacyGameEventList = 205, + GE_Source1LegacyListenEvents = 206, + GE_Source1LegacyGameEvent = 207, + GE_SosStartSoundEvent = 208, + GE_SosStopSoundEvent = 209, + GE_SosSetSoundEventParams = 210, + GE_SosSetLibraryStackFields = 211, + GE_SosStopSoundEventHash = 212 +}; +bool EBaseGameEvents_IsValid(int value); +constexpr EBaseGameEvents EBaseGameEvents_MIN = GE_VDebugGameSessionIDEvent; +constexpr EBaseGameEvents EBaseGameEvents_MAX = GE_SosStopSoundEventHash; +constexpr int EBaseGameEvents_ARRAYSIZE = EBaseGameEvents_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseGameEvents_descriptor(); +template +inline const std::string& EBaseGameEvents_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EBaseGameEvents_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EBaseGameEvents_descriptor(), enum_t_value); +} +inline bool EBaseGameEvents_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseGameEvents* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EBaseGameEvents_descriptor(), name, value); +} +// =================================================================== + +class CMsgVDebugGameSessionIDEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVDebugGameSessionIDEvent) */ { + public: + inline CMsgVDebugGameSessionIDEvent() : CMsgVDebugGameSessionIDEvent(nullptr) {} + ~CMsgVDebugGameSessionIDEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgVDebugGameSessionIDEvent(const CMsgVDebugGameSessionIDEvent& from); + CMsgVDebugGameSessionIDEvent(CMsgVDebugGameSessionIDEvent&& from) noexcept + : CMsgVDebugGameSessionIDEvent() { + *this = ::std::move(from); + } + + inline CMsgVDebugGameSessionIDEvent& operator=(const CMsgVDebugGameSessionIDEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgVDebugGameSessionIDEvent& operator=(CMsgVDebugGameSessionIDEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgVDebugGameSessionIDEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgVDebugGameSessionIDEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgVDebugGameSessionIDEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgVDebugGameSessionIDEvent& a, CMsgVDebugGameSessionIDEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgVDebugGameSessionIDEvent* 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(CMsgVDebugGameSessionIDEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgVDebugGameSessionIDEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgVDebugGameSessionIDEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgVDebugGameSessionIDEvent& from) { + CMsgVDebugGameSessionIDEvent::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(CMsgVDebugGameSessionIDEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgVDebugGameSessionIDEvent"; + } + protected: + explicit CMsgVDebugGameSessionIDEvent(::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 { + kGamesessionidFieldNumber = 2, + kClientidFieldNumber = 1, + }; + // optional string gamesessionid = 2; + bool has_gamesessionid() const; + private: + bool _internal_has_gamesessionid() const; + public: + void clear_gamesessionid(); + const std::string& gamesessionid() const; + template + void set_gamesessionid(ArgT0&& arg0, ArgT... args); + std::string* mutable_gamesessionid(); + PROTOBUF_NODISCARD std::string* release_gamesessionid(); + void set_allocated_gamesessionid(std::string* gamesessionid); + private: + const std::string& _internal_gamesessionid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gamesessionid(const std::string& value); + std::string* _internal_mutable_gamesessionid(); + public: + + // optional int32 clientid = 1; + bool has_clientid() const; + private: + bool _internal_has_clientid() const; + public: + void clear_clientid(); + int32_t clientid() const; + void set_clientid(int32_t value); + private: + int32_t _internal_clientid() const; + void _internal_set_clientid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgVDebugGameSessionIDEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gamesessionid_; + int32_t clientid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgPlaceDecalEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPlaceDecalEvent) */ { + public: + inline CMsgPlaceDecalEvent() : CMsgPlaceDecalEvent(nullptr) {} + ~CMsgPlaceDecalEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgPlaceDecalEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgPlaceDecalEvent(const CMsgPlaceDecalEvent& from); + CMsgPlaceDecalEvent(CMsgPlaceDecalEvent&& from) noexcept + : CMsgPlaceDecalEvent() { + *this = ::std::move(from); + } + + inline CMsgPlaceDecalEvent& operator=(const CMsgPlaceDecalEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgPlaceDecalEvent& operator=(CMsgPlaceDecalEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgPlaceDecalEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgPlaceDecalEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgPlaceDecalEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgPlaceDecalEvent& a, CMsgPlaceDecalEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgPlaceDecalEvent* 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(CMsgPlaceDecalEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgPlaceDecalEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgPlaceDecalEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgPlaceDecalEvent& from) { + CMsgPlaceDecalEvent::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(CMsgPlaceDecalEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgPlaceDecalEvent"; + } + protected: + explicit CMsgPlaceDecalEvent(::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 { + kPositionFieldNumber = 1, + kNormalFieldNumber = 2, + kSaxisFieldNumber = 3, + kBoneindexFieldNumber = 4, + kFlagsFieldNumber = 5, + kColorFieldNumber = 6, + kRandomSeedFieldNumber = 7, + kDecalGroupNameFieldNumber = 8, + kSizeOverrideFieldNumber = 9, + kMaterialIdFieldNumber = 11, + kSequenceNameFieldNumber = 12, + kEntityhandleFieldNumber = 10, + }; + // optional .CMsgVector position = 1; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional .CMsgVector normal = 2; + bool has_normal() const; + private: + bool _internal_has_normal() const; + public: + void clear_normal(); + const ::CMsgVector& normal() const; + PROTOBUF_NODISCARD ::CMsgVector* release_normal(); + ::CMsgVector* mutable_normal(); + void set_allocated_normal(::CMsgVector* normal); + private: + const ::CMsgVector& _internal_normal() const; + ::CMsgVector* _internal_mutable_normal(); + public: + void unsafe_arena_set_allocated_normal( + ::CMsgVector* normal); + ::CMsgVector* unsafe_arena_release_normal(); + + // optional .CMsgVector saxis = 3; + bool has_saxis() const; + private: + bool _internal_has_saxis() const; + public: + void clear_saxis(); + const ::CMsgVector& saxis() const; + PROTOBUF_NODISCARD ::CMsgVector* release_saxis(); + ::CMsgVector* mutable_saxis(); + void set_allocated_saxis(::CMsgVector* saxis); + private: + const ::CMsgVector& _internal_saxis() const; + ::CMsgVector* _internal_mutable_saxis(); + public: + void unsafe_arena_set_allocated_saxis( + ::CMsgVector* saxis); + ::CMsgVector* unsafe_arena_release_saxis(); + + // optional int32 boneindex = 4; + bool has_boneindex() const; + private: + bool _internal_has_boneindex() const; + public: + void clear_boneindex(); + int32_t boneindex() const; + void set_boneindex(int32_t value); + private: + int32_t _internal_boneindex() const; + void _internal_set_boneindex(int32_t value); + public: + + // optional uint32 flags = 5; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional fixed32 color = 6; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional int32 random_seed = 7; + bool has_random_seed() const; + private: + bool _internal_has_random_seed() const; + public: + void clear_random_seed(); + int32_t random_seed() const; + void set_random_seed(int32_t value); + private: + int32_t _internal_random_seed() const; + void _internal_set_random_seed(int32_t value); + public: + + // optional uint32 decal_group_name = 8; + bool has_decal_group_name() const; + private: + bool _internal_has_decal_group_name() const; + public: + void clear_decal_group_name(); + uint32_t decal_group_name() const; + void set_decal_group_name(uint32_t value); + private: + uint32_t _internal_decal_group_name() const; + void _internal_set_decal_group_name(uint32_t value); + public: + + // optional float size_override = 9; + bool has_size_override() const; + private: + bool _internal_has_size_override() const; + public: + void clear_size_override(); + float size_override() const; + void set_size_override(float value); + private: + float _internal_size_override() const; + void _internal_set_size_override(float value); + public: + + // optional uint64 material_id = 11; + bool has_material_id() const; + private: + bool _internal_has_material_id() const; + public: + void clear_material_id(); + uint64_t material_id() const; + void set_material_id(uint64_t value); + private: + uint64_t _internal_material_id() const; + void _internal_set_material_id(uint64_t value); + public: + + // optional uint32 sequence_name = 12; + bool has_sequence_name() const; + private: + bool _internal_has_sequence_name() const; + public: + void clear_sequence_name(); + uint32_t sequence_name() const; + void set_sequence_name(uint32_t value); + private: + uint32_t _internal_sequence_name() const; + void _internal_set_sequence_name(uint32_t value); + public: + + // optional uint32 entityhandle = 10 [default = 16777215]; + bool has_entityhandle() const; + private: + bool _internal_has_entityhandle() const; + public: + void clear_entityhandle(); + uint32_t entityhandle() const; + void set_entityhandle(uint32_t value); + private: + uint32_t _internal_entityhandle() const; + void _internal_set_entityhandle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgPlaceDecalEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + ::CMsgVector* normal_; + ::CMsgVector* saxis_; + int32_t boneindex_; + uint32_t flags_; + uint32_t color_; + int32_t random_seed_; + uint32_t decal_group_name_; + float size_override_; + uint64_t material_id_; + uint32_t sequence_name_; + uint32_t entityhandle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClearWorldDecalsEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearWorldDecalsEvent) */ { + public: + inline CMsgClearWorldDecalsEvent() : CMsgClearWorldDecalsEvent(nullptr) {} + ~CMsgClearWorldDecalsEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClearWorldDecalsEvent(const CMsgClearWorldDecalsEvent& from); + CMsgClearWorldDecalsEvent(CMsgClearWorldDecalsEvent&& from) noexcept + : CMsgClearWorldDecalsEvent() { + *this = ::std::move(from); + } + + inline CMsgClearWorldDecalsEvent& operator=(const CMsgClearWorldDecalsEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgClearWorldDecalsEvent& operator=(CMsgClearWorldDecalsEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClearWorldDecalsEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClearWorldDecalsEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgClearWorldDecalsEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgClearWorldDecalsEvent& a, CMsgClearWorldDecalsEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgClearWorldDecalsEvent* 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(CMsgClearWorldDecalsEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClearWorldDecalsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClearWorldDecalsEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClearWorldDecalsEvent& from) { + CMsgClearWorldDecalsEvent::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(CMsgClearWorldDecalsEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClearWorldDecalsEvent"; + } + protected: + explicit CMsgClearWorldDecalsEvent(::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 { + kFlagstoclearFieldNumber = 1, + }; + // optional uint32 flagstoclear = 1; + bool has_flagstoclear() const; + private: + bool _internal_has_flagstoclear() const; + public: + void clear_flagstoclear(); + uint32_t flagstoclear() const; + void set_flagstoclear(uint32_t value); + private: + uint32_t _internal_flagstoclear() const; + void _internal_set_flagstoclear(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClearWorldDecalsEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t flagstoclear_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClearEntityDecalsEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearEntityDecalsEvent) */ { + public: + inline CMsgClearEntityDecalsEvent() : CMsgClearEntityDecalsEvent(nullptr) {} + ~CMsgClearEntityDecalsEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClearEntityDecalsEvent(const CMsgClearEntityDecalsEvent& from); + CMsgClearEntityDecalsEvent(CMsgClearEntityDecalsEvent&& from) noexcept + : CMsgClearEntityDecalsEvent() { + *this = ::std::move(from); + } + + inline CMsgClearEntityDecalsEvent& operator=(const CMsgClearEntityDecalsEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgClearEntityDecalsEvent& operator=(CMsgClearEntityDecalsEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClearEntityDecalsEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClearEntityDecalsEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgClearEntityDecalsEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgClearEntityDecalsEvent& a, CMsgClearEntityDecalsEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgClearEntityDecalsEvent* 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(CMsgClearEntityDecalsEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClearEntityDecalsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClearEntityDecalsEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClearEntityDecalsEvent& from) { + CMsgClearEntityDecalsEvent::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(CMsgClearEntityDecalsEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClearEntityDecalsEvent"; + } + protected: + explicit CMsgClearEntityDecalsEvent(::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 { + kFlagstoclearFieldNumber = 1, + }; + // optional uint32 flagstoclear = 1; + bool has_flagstoclear() const; + private: + bool _internal_has_flagstoclear() const; + public: + void clear_flagstoclear(); + uint32_t flagstoclear() const; + void set_flagstoclear(uint32_t value); + private: + uint32_t _internal_flagstoclear() const; + void _internal_set_flagstoclear(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClearEntityDecalsEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t flagstoclear_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClearDecalsForEntityEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearDecalsForEntityEvent) */ { + public: + inline CMsgClearDecalsForEntityEvent() : CMsgClearDecalsForEntityEvent(nullptr) {} + ~CMsgClearDecalsForEntityEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClearDecalsForEntityEvent(const CMsgClearDecalsForEntityEvent& from); + CMsgClearDecalsForEntityEvent(CMsgClearDecalsForEntityEvent&& from) noexcept + : CMsgClearDecalsForEntityEvent() { + *this = ::std::move(from); + } + + inline CMsgClearDecalsForEntityEvent& operator=(const CMsgClearDecalsForEntityEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgClearDecalsForEntityEvent& operator=(CMsgClearDecalsForEntityEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClearDecalsForEntityEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClearDecalsForEntityEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgClearDecalsForEntityEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgClearDecalsForEntityEvent& a, CMsgClearDecalsForEntityEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgClearDecalsForEntityEvent* 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(CMsgClearDecalsForEntityEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClearDecalsForEntityEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClearDecalsForEntityEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClearDecalsForEntityEvent& from) { + CMsgClearDecalsForEntityEvent::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(CMsgClearDecalsForEntityEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClearDecalsForEntityEvent"; + } + protected: + explicit CMsgClearDecalsForEntityEvent(::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 { + kFlagstoclearFieldNumber = 1, + kEntityhandleFieldNumber = 2, + }; + // optional uint32 flagstoclear = 1; + bool has_flagstoclear() const; + private: + bool _internal_has_flagstoclear() const; + public: + void clear_flagstoclear(); + uint32_t flagstoclear() const; + void set_flagstoclear(uint32_t value); + private: + uint32_t _internal_flagstoclear() const; + void _internal_set_flagstoclear(uint32_t value); + public: + + // optional uint32 entityhandle = 2 [default = 16777215]; + bool has_entityhandle() const; + private: + bool _internal_has_entityhandle() const; + public: + void clear_entityhandle(); + uint32_t entityhandle() const; + void set_entityhandle(uint32_t value); + private: + uint32_t _internal_entityhandle() const; + void _internal_set_entityhandle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClearDecalsForEntityEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t flagstoclear_; + uint32_t entityhandle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyGameEventList_key_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList.key_t) */ { + public: + inline CMsgSource1LegacyGameEventList_key_t() : CMsgSource1LegacyGameEventList_key_t(nullptr) {} + ~CMsgSource1LegacyGameEventList_key_t() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyGameEventList_key_t(const CMsgSource1LegacyGameEventList_key_t& from); + CMsgSource1LegacyGameEventList_key_t(CMsgSource1LegacyGameEventList_key_t&& from) noexcept + : CMsgSource1LegacyGameEventList_key_t() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyGameEventList_key_t& operator=(const CMsgSource1LegacyGameEventList_key_t& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyGameEventList_key_t& operator=(CMsgSource1LegacyGameEventList_key_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyGameEventList_key_t& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyGameEventList_key_t* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyGameEventList_key_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSource1LegacyGameEventList_key_t& a, CMsgSource1LegacyGameEventList_key_t& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyGameEventList_key_t* 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(CMsgSource1LegacyGameEventList_key_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyGameEventList_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyGameEventList_key_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyGameEventList_key_t& from) { + CMsgSource1LegacyGameEventList_key_t::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(CMsgSource1LegacyGameEventList_key_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyGameEventList.key_t"; + } + protected: + explicit CMsgSource1LegacyGameEventList_key_t(::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 = 2, + kTypeFieldNumber = 1, + }; + // optional 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: + + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList.key_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyGameEventList_descriptor_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList.descriptor_t) */ { + public: + inline CMsgSource1LegacyGameEventList_descriptor_t() : CMsgSource1LegacyGameEventList_descriptor_t(nullptr) {} + ~CMsgSource1LegacyGameEventList_descriptor_t() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyGameEventList_descriptor_t(const CMsgSource1LegacyGameEventList_descriptor_t& from); + CMsgSource1LegacyGameEventList_descriptor_t(CMsgSource1LegacyGameEventList_descriptor_t&& from) noexcept + : CMsgSource1LegacyGameEventList_descriptor_t() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyGameEventList_descriptor_t& operator=(const CMsgSource1LegacyGameEventList_descriptor_t& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyGameEventList_descriptor_t& operator=(CMsgSource1LegacyGameEventList_descriptor_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyGameEventList_descriptor_t& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyGameEventList_descriptor_t* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyGameEventList_descriptor_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgSource1LegacyGameEventList_descriptor_t& a, CMsgSource1LegacyGameEventList_descriptor_t& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyGameEventList_descriptor_t* 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(CMsgSource1LegacyGameEventList_descriptor_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyGameEventList_descriptor_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyGameEventList_descriptor_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyGameEventList_descriptor_t& from) { + CMsgSource1LegacyGameEventList_descriptor_t::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(CMsgSource1LegacyGameEventList_descriptor_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyGameEventList.descriptor_t"; + } + protected: + explicit CMsgSource1LegacyGameEventList_descriptor_t(::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 { + kKeysFieldNumber = 3, + kNameFieldNumber = 2, + kEventidFieldNumber = 1, + }; + // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; + int keys_size() const; + private: + int _internal_keys_size() const; + public: + void clear_keys(); + ::CMsgSource1LegacyGameEventList_key_t* mutable_keys(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >* + mutable_keys(); + private: + const ::CMsgSource1LegacyGameEventList_key_t& _internal_keys(int index) const; + ::CMsgSource1LegacyGameEventList_key_t* _internal_add_keys(); + public: + const ::CMsgSource1LegacyGameEventList_key_t& keys(int index) const; + ::CMsgSource1LegacyGameEventList_key_t* add_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >& + keys() const; + + // optional 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: + + // optional int32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList.descriptor_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t > keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyGameEventList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList) */ { + public: + inline CMsgSource1LegacyGameEventList() : CMsgSource1LegacyGameEventList(nullptr) {} + ~CMsgSource1LegacyGameEventList() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyGameEventList(const CMsgSource1LegacyGameEventList& from); + CMsgSource1LegacyGameEventList(CMsgSource1LegacyGameEventList&& from) noexcept + : CMsgSource1LegacyGameEventList() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyGameEventList& operator=(const CMsgSource1LegacyGameEventList& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyGameEventList& operator=(CMsgSource1LegacyGameEventList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyGameEventList& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyGameEventList* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyGameEventList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgSource1LegacyGameEventList& a, CMsgSource1LegacyGameEventList& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyGameEventList* 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(CMsgSource1LegacyGameEventList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyGameEventList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyGameEventList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyGameEventList& from) { + CMsgSource1LegacyGameEventList::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(CMsgSource1LegacyGameEventList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyGameEventList"; + } + protected: + explicit CMsgSource1LegacyGameEventList(::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 ---------------------------------------------------- + + typedef CMsgSource1LegacyGameEventList_key_t key_t; + typedef CMsgSource1LegacyGameEventList_descriptor_t descriptor_t; + + // accessors ------------------------------------------------------- + + enum : int { + kDescriptorsFieldNumber = 1, + }; + // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; + int descriptors_size() const; + private: + int _internal_descriptors_size() const; + public: + void clear_descriptors(); + ::CMsgSource1LegacyGameEventList_descriptor_t* mutable_descriptors(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >* + mutable_descriptors(); + private: + const ::CMsgSource1LegacyGameEventList_descriptor_t& _internal_descriptors(int index) const; + ::CMsgSource1LegacyGameEventList_descriptor_t* _internal_add_descriptors(); + public: + const ::CMsgSource1LegacyGameEventList_descriptor_t& descriptors(int index) const; + ::CMsgSource1LegacyGameEventList_descriptor_t* add_descriptors(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >& + descriptors() const; + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t > descriptors_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyListenEvents final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyListenEvents) */ { + public: + inline CMsgSource1LegacyListenEvents() : CMsgSource1LegacyListenEvents(nullptr) {} + ~CMsgSource1LegacyListenEvents() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyListenEvents(const CMsgSource1LegacyListenEvents& from); + CMsgSource1LegacyListenEvents(CMsgSource1LegacyListenEvents&& from) noexcept + : CMsgSource1LegacyListenEvents() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyListenEvents& operator=(const CMsgSource1LegacyListenEvents& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyListenEvents& operator=(CMsgSource1LegacyListenEvents&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyListenEvents& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyListenEvents* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyListenEvents_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgSource1LegacyListenEvents& a, CMsgSource1LegacyListenEvents& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyListenEvents* 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(CMsgSource1LegacyListenEvents* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyListenEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyListenEvents& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyListenEvents& from) { + CMsgSource1LegacyListenEvents::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(CMsgSource1LegacyListenEvents* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyListenEvents"; + } + protected: + explicit CMsgSource1LegacyListenEvents(::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 { + kEventarraybitsFieldNumber = 2, + kPlayerslotFieldNumber = 1, + }; + // repeated uint32 eventarraybits = 2; + int eventarraybits_size() const; + private: + int _internal_eventarraybits_size() const; + public: + void clear_eventarraybits(); + private: + uint32_t _internal_eventarraybits(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_eventarraybits() const; + void _internal_add_eventarraybits(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_eventarraybits(); + public: + uint32_t eventarraybits(int index) const; + void set_eventarraybits(int index, uint32_t value); + void add_eventarraybits(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + eventarraybits() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_eventarraybits(); + + // optional int32 playerslot = 1; + bool has_playerslot() const; + private: + bool _internal_has_playerslot() const; + public: + void clear_playerslot(); + int32_t playerslot() const; + void set_playerslot(int32_t value); + private: + int32_t _internal_playerslot() const; + void _internal_set_playerslot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyListenEvents) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > eventarraybits_; + int32_t playerslot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyGameEvent_key_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEvent.key_t) */ { + public: + inline CMsgSource1LegacyGameEvent_key_t() : CMsgSource1LegacyGameEvent_key_t(nullptr) {} + ~CMsgSource1LegacyGameEvent_key_t() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyGameEvent_key_t(const CMsgSource1LegacyGameEvent_key_t& from); + CMsgSource1LegacyGameEvent_key_t(CMsgSource1LegacyGameEvent_key_t&& from) noexcept + : CMsgSource1LegacyGameEvent_key_t() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyGameEvent_key_t& operator=(const CMsgSource1LegacyGameEvent_key_t& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyGameEvent_key_t& operator=(CMsgSource1LegacyGameEvent_key_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyGameEvent_key_t& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyGameEvent_key_t* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyGameEvent_key_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgSource1LegacyGameEvent_key_t& a, CMsgSource1LegacyGameEvent_key_t& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyGameEvent_key_t* 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(CMsgSource1LegacyGameEvent_key_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyGameEvent_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyGameEvent_key_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyGameEvent_key_t& from) { + CMsgSource1LegacyGameEvent_key_t::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(CMsgSource1LegacyGameEvent_key_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyGameEvent.key_t"; + } + protected: + explicit CMsgSource1LegacyGameEvent_key_t(::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 { + kValStringFieldNumber = 2, + kTypeFieldNumber = 1, + kValFloatFieldNumber = 3, + kValLongFieldNumber = 4, + kValShortFieldNumber = 5, + kValByteFieldNumber = 6, + kValBoolFieldNumber = 7, + kValUint64FieldNumber = 8, + }; + // optional string val_string = 2; + bool has_val_string() const; + private: + bool _internal_has_val_string() const; + public: + void clear_val_string(); + const std::string& val_string() const; + template + void set_val_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_val_string(); + PROTOBUF_NODISCARD std::string* release_val_string(); + void set_allocated_val_string(std::string* val_string); + private: + const std::string& _internal_val_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); + std::string* _internal_mutable_val_string(); + public: + + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional float val_float = 3; + bool has_val_float() const; + private: + bool _internal_has_val_float() const; + public: + void clear_val_float(); + float val_float() const; + void set_val_float(float value); + private: + float _internal_val_float() const; + void _internal_set_val_float(float value); + public: + + // optional int32 val_long = 4; + bool has_val_long() const; + private: + bool _internal_has_val_long() const; + public: + void clear_val_long(); + int32_t val_long() const; + void set_val_long(int32_t value); + private: + int32_t _internal_val_long() const; + void _internal_set_val_long(int32_t value); + public: + + // optional int32 val_short = 5; + bool has_val_short() const; + private: + bool _internal_has_val_short() const; + public: + void clear_val_short(); + int32_t val_short() const; + void set_val_short(int32_t value); + private: + int32_t _internal_val_short() const; + void _internal_set_val_short(int32_t value); + public: + + // optional int32 val_byte = 6; + bool has_val_byte() const; + private: + bool _internal_has_val_byte() const; + public: + void clear_val_byte(); + int32_t val_byte() const; + void set_val_byte(int32_t value); + private: + int32_t _internal_val_byte() const; + void _internal_set_val_byte(int32_t value); + public: + + // optional bool val_bool = 7; + bool has_val_bool() const; + private: + bool _internal_has_val_bool() const; + public: + void clear_val_bool(); + bool val_bool() const; + void set_val_bool(bool value); + private: + bool _internal_val_bool() const; + void _internal_set_val_bool(bool value); + public: + + // optional uint64 val_uint64 = 8; + bool has_val_uint64() const; + private: + bool _internal_has_val_uint64() const; + public: + void clear_val_uint64(); + uint64_t val_uint64() const; + void set_val_uint64(uint64_t value); + private: + uint64_t _internal_val_uint64() const; + void _internal_set_val_uint64(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEvent.key_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; + int32_t type_; + float val_float_; + int32_t val_long_; + int32_t val_short_; + int32_t val_byte_; + bool val_bool_; + uint64_t val_uint64_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource1LegacyGameEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEvent) */ { + public: + inline CMsgSource1LegacyGameEvent() : CMsgSource1LegacyGameEvent(nullptr) {} + ~CMsgSource1LegacyGameEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource1LegacyGameEvent(const CMsgSource1LegacyGameEvent& from); + CMsgSource1LegacyGameEvent(CMsgSource1LegacyGameEvent&& from) noexcept + : CMsgSource1LegacyGameEvent() { + *this = ::std::move(from); + } + + inline CMsgSource1LegacyGameEvent& operator=(const CMsgSource1LegacyGameEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource1LegacyGameEvent& operator=(CMsgSource1LegacyGameEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource1LegacyGameEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource1LegacyGameEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource1LegacyGameEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgSource1LegacyGameEvent& a, CMsgSource1LegacyGameEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource1LegacyGameEvent* 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(CMsgSource1LegacyGameEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource1LegacyGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource1LegacyGameEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource1LegacyGameEvent& from) { + CMsgSource1LegacyGameEvent::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(CMsgSource1LegacyGameEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource1LegacyGameEvent"; + } + protected: + explicit CMsgSource1LegacyGameEvent(::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 ---------------------------------------------------- + + typedef CMsgSource1LegacyGameEvent_key_t key_t; + + // accessors ------------------------------------------------------- + + enum : int { + kKeysFieldNumber = 3, + kEventNameFieldNumber = 1, + kEventidFieldNumber = 2, + kServerTickFieldNumber = 4, + kPassthroughFieldNumber = 5, + }; + // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; + int keys_size() const; + private: + int _internal_keys_size() const; + public: + void clear_keys(); + ::CMsgSource1LegacyGameEvent_key_t* mutable_keys(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >* + mutable_keys(); + private: + const ::CMsgSource1LegacyGameEvent_key_t& _internal_keys(int index) const; + ::CMsgSource1LegacyGameEvent_key_t* _internal_add_keys(); + public: + const ::CMsgSource1LegacyGameEvent_key_t& keys(int index) const; + ::CMsgSource1LegacyGameEvent_key_t* add_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >& + keys() const; + + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional int32 eventid = 2; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // optional int32 server_tick = 4; + bool has_server_tick() const; + private: + bool _internal_has_server_tick() const; + public: + void clear_server_tick(); + int32_t server_tick() const; + void set_server_tick(int32_t value); + private: + int32_t _internal_server_tick() const; + void _internal_set_server_tick(int32_t value); + public: + + // optional int32 passthrough = 5; + bool has_passthrough() const; + private: + bool _internal_has_passthrough() const; + public: + void clear_passthrough(); + int32_t passthrough() const; + void set_passthrough(int32_t value); + private: + int32_t _internal_passthrough() const; + void _internal_set_passthrough(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t > keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + int32_t eventid_; + int32_t server_tick_; + int32_t passthrough_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSosStartSoundEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStartSoundEvent) */ { + public: + inline CMsgSosStartSoundEvent() : CMsgSosStartSoundEvent(nullptr) {} + ~CMsgSosStartSoundEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgSosStartSoundEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSosStartSoundEvent(const CMsgSosStartSoundEvent& from); + CMsgSosStartSoundEvent(CMsgSosStartSoundEvent&& from) noexcept + : CMsgSosStartSoundEvent() { + *this = ::std::move(from); + } + + inline CMsgSosStartSoundEvent& operator=(const CMsgSosStartSoundEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgSosStartSoundEvent& operator=(CMsgSosStartSoundEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSosStartSoundEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSosStartSoundEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgSosStartSoundEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgSosStartSoundEvent& a, CMsgSosStartSoundEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgSosStartSoundEvent* 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(CMsgSosStartSoundEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSosStartSoundEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSosStartSoundEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSosStartSoundEvent& from) { + CMsgSosStartSoundEvent::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(CMsgSosStartSoundEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSosStartSoundEvent"; + } + protected: + explicit CMsgSosStartSoundEvent(::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 { + kPackedParamsFieldNumber = 5, + kSoundeventGuidFieldNumber = 1, + kSoundeventHashFieldNumber = 2, + kSeedFieldNumber = 4, + kStartTimeFieldNumber = 6, + kSourceEntityIndexFieldNumber = 3, + }; + // optional bytes packed_params = 5; + bool has_packed_params() const; + private: + bool _internal_has_packed_params() const; + public: + void clear_packed_params(); + const std::string& packed_params() const; + template + void set_packed_params(ArgT0&& arg0, ArgT... args); + std::string* mutable_packed_params(); + PROTOBUF_NODISCARD std::string* release_packed_params(); + void set_allocated_packed_params(std::string* packed_params); + private: + const std::string& _internal_packed_params() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_params(const std::string& value); + std::string* _internal_mutable_packed_params(); + public: + + // optional int32 soundevent_guid = 1; + bool has_soundevent_guid() const; + private: + bool _internal_has_soundevent_guid() const; + public: + void clear_soundevent_guid(); + int32_t soundevent_guid() const; + void set_soundevent_guid(int32_t value); + private: + int32_t _internal_soundevent_guid() const; + void _internal_set_soundevent_guid(int32_t value); + public: + + // optional fixed32 soundevent_hash = 2; + bool has_soundevent_hash() const; + private: + bool _internal_has_soundevent_hash() const; + public: + void clear_soundevent_hash(); + uint32_t soundevent_hash() const; + void set_soundevent_hash(uint32_t value); + private: + uint32_t _internal_soundevent_hash() const; + void _internal_set_soundevent_hash(uint32_t value); + public: + + // optional int32 seed = 4; + bool has_seed() const; + private: + bool _internal_has_seed() const; + public: + void clear_seed(); + int32_t seed() const; + void set_seed(int32_t value); + private: + int32_t _internal_seed() const; + void _internal_set_seed(int32_t value); + public: + + // optional float start_time = 6; + bool has_start_time() const; + private: + bool _internal_has_start_time() const; + public: + void clear_start_time(); + float start_time() const; + void set_start_time(float value); + private: + float _internal_start_time() const; + void _internal_set_start_time(float value); + public: + + // optional int32 source_entity_index = 3 [default = -1]; + bool has_source_entity_index() const; + private: + bool _internal_has_source_entity_index() const; + public: + void clear_source_entity_index(); + int32_t source_entity_index() const; + void set_source_entity_index(int32_t value); + private: + int32_t _internal_source_entity_index() const; + void _internal_set_source_entity_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSosStartSoundEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_params_; + int32_t soundevent_guid_; + uint32_t soundevent_hash_; + int32_t seed_; + float start_time_; + int32_t source_entity_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSosStopSoundEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStopSoundEvent) */ { + public: + inline CMsgSosStopSoundEvent() : CMsgSosStopSoundEvent(nullptr) {} + ~CMsgSosStopSoundEvent() override; + explicit PROTOBUF_CONSTEXPR CMsgSosStopSoundEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSosStopSoundEvent(const CMsgSosStopSoundEvent& from); + CMsgSosStopSoundEvent(CMsgSosStopSoundEvent&& from) noexcept + : CMsgSosStopSoundEvent() { + *this = ::std::move(from); + } + + inline CMsgSosStopSoundEvent& operator=(const CMsgSosStopSoundEvent& from) { + CopyFrom(from); + return *this; + } + inline CMsgSosStopSoundEvent& operator=(CMsgSosStopSoundEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSosStopSoundEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSosStopSoundEvent* internal_default_instance() { + return reinterpret_cast( + &_CMsgSosStopSoundEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgSosStopSoundEvent& a, CMsgSosStopSoundEvent& b) { + a.Swap(&b); + } + inline void Swap(CMsgSosStopSoundEvent* 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(CMsgSosStopSoundEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSosStopSoundEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSosStopSoundEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSosStopSoundEvent& from) { + CMsgSosStopSoundEvent::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(CMsgSosStopSoundEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSosStopSoundEvent"; + } + protected: + explicit CMsgSosStopSoundEvent(::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 { + kSoundeventGuidFieldNumber = 1, + }; + // optional int32 soundevent_guid = 1; + bool has_soundevent_guid() const; + private: + bool _internal_has_soundevent_guid() const; + public: + void clear_soundevent_guid(); + int32_t soundevent_guid() const; + void set_soundevent_guid(int32_t value); + private: + int32_t _internal_soundevent_guid() const; + void _internal_set_soundevent_guid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSosStopSoundEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t soundevent_guid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSosStopSoundEventHash final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStopSoundEventHash) */ { + public: + inline CMsgSosStopSoundEventHash() : CMsgSosStopSoundEventHash(nullptr) {} + ~CMsgSosStopSoundEventHash() override; + explicit PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSosStopSoundEventHash(const CMsgSosStopSoundEventHash& from); + CMsgSosStopSoundEventHash(CMsgSosStopSoundEventHash&& from) noexcept + : CMsgSosStopSoundEventHash() { + *this = ::std::move(from); + } + + inline CMsgSosStopSoundEventHash& operator=(const CMsgSosStopSoundEventHash& from) { + CopyFrom(from); + return *this; + } + inline CMsgSosStopSoundEventHash& operator=(CMsgSosStopSoundEventHash&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSosStopSoundEventHash& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSosStopSoundEventHash* internal_default_instance() { + return reinterpret_cast( + &_CMsgSosStopSoundEventHash_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CMsgSosStopSoundEventHash& a, CMsgSosStopSoundEventHash& b) { + a.Swap(&b); + } + inline void Swap(CMsgSosStopSoundEventHash* 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(CMsgSosStopSoundEventHash* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSosStopSoundEventHash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSosStopSoundEventHash& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSosStopSoundEventHash& from) { + CMsgSosStopSoundEventHash::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(CMsgSosStopSoundEventHash* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSosStopSoundEventHash"; + } + protected: + explicit CMsgSosStopSoundEventHash(::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 { + kSoundeventHashFieldNumber = 1, + kSourceEntityIndexFieldNumber = 2, + }; + // optional fixed32 soundevent_hash = 1; + bool has_soundevent_hash() const; + private: + bool _internal_has_soundevent_hash() const; + public: + void clear_soundevent_hash(); + uint32_t soundevent_hash() const; + void set_soundevent_hash(uint32_t value); + private: + uint32_t _internal_soundevent_hash() const; + void _internal_set_soundevent_hash(uint32_t value); + public: + + // optional int32 source_entity_index = 2 [default = -1]; + bool has_source_entity_index() const; + private: + bool _internal_has_source_entity_index() const; + public: + void clear_source_entity_index(); + int32_t source_entity_index() const; + void set_source_entity_index(int32_t value); + private: + int32_t _internal_source_entity_index() const; + void _internal_set_source_entity_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSosStopSoundEventHash) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t soundevent_hash_; + int32_t source_entity_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSosSetSoundEventParams final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosSetSoundEventParams) */ { + public: + inline CMsgSosSetSoundEventParams() : CMsgSosSetSoundEventParams(nullptr) {} + ~CMsgSosSetSoundEventParams() override; + explicit PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParams(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSosSetSoundEventParams(const CMsgSosSetSoundEventParams& from); + CMsgSosSetSoundEventParams(CMsgSosSetSoundEventParams&& from) noexcept + : CMsgSosSetSoundEventParams() { + *this = ::std::move(from); + } + + inline CMsgSosSetSoundEventParams& operator=(const CMsgSosSetSoundEventParams& from) { + CopyFrom(from); + return *this; + } + inline CMsgSosSetSoundEventParams& operator=(CMsgSosSetSoundEventParams&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSosSetSoundEventParams& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSosSetSoundEventParams* internal_default_instance() { + return reinterpret_cast( + &_CMsgSosSetSoundEventParams_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CMsgSosSetSoundEventParams& a, CMsgSosSetSoundEventParams& b) { + a.Swap(&b); + } + inline void Swap(CMsgSosSetSoundEventParams* 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(CMsgSosSetSoundEventParams* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSosSetSoundEventParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSosSetSoundEventParams& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSosSetSoundEventParams& from) { + CMsgSosSetSoundEventParams::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(CMsgSosSetSoundEventParams* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSosSetSoundEventParams"; + } + protected: + explicit CMsgSosSetSoundEventParams(::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 { + kPackedParamsFieldNumber = 5, + kSoundeventGuidFieldNumber = 1, + }; + // optional bytes packed_params = 5; + bool has_packed_params() const; + private: + bool _internal_has_packed_params() const; + public: + void clear_packed_params(); + const std::string& packed_params() const; + template + void set_packed_params(ArgT0&& arg0, ArgT... args); + std::string* mutable_packed_params(); + PROTOBUF_NODISCARD std::string* release_packed_params(); + void set_allocated_packed_params(std::string* packed_params); + private: + const std::string& _internal_packed_params() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_params(const std::string& value); + std::string* _internal_mutable_packed_params(); + public: + + // optional int32 soundevent_guid = 1; + bool has_soundevent_guid() const; + private: + bool _internal_has_soundevent_guid() const; + public: + void clear_soundevent_guid(); + int32_t soundevent_guid() const; + void set_soundevent_guid(int32_t value); + private: + int32_t _internal_soundevent_guid() const; + void _internal_set_soundevent_guid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSosSetSoundEventParams) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_params_; + int32_t soundevent_guid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSosSetLibraryStackFields final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosSetLibraryStackFields) */ { + public: + inline CMsgSosSetLibraryStackFields() : CMsgSosSetLibraryStackFields(nullptr) {} + ~CMsgSosSetLibraryStackFields() override; + explicit PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFields(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSosSetLibraryStackFields(const CMsgSosSetLibraryStackFields& from); + CMsgSosSetLibraryStackFields(CMsgSosSetLibraryStackFields&& from) noexcept + : CMsgSosSetLibraryStackFields() { + *this = ::std::move(from); + } + + inline CMsgSosSetLibraryStackFields& operator=(const CMsgSosSetLibraryStackFields& from) { + CopyFrom(from); + return *this; + } + inline CMsgSosSetLibraryStackFields& operator=(CMsgSosSetLibraryStackFields&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSosSetLibraryStackFields& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSosSetLibraryStackFields* internal_default_instance() { + return reinterpret_cast( + &_CMsgSosSetLibraryStackFields_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CMsgSosSetLibraryStackFields& a, CMsgSosSetLibraryStackFields& b) { + a.Swap(&b); + } + inline void Swap(CMsgSosSetLibraryStackFields* 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(CMsgSosSetLibraryStackFields* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSosSetLibraryStackFields* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSosSetLibraryStackFields& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSosSetLibraryStackFields& from) { + CMsgSosSetLibraryStackFields::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(CMsgSosSetLibraryStackFields* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSosSetLibraryStackFields"; + } + protected: + explicit CMsgSosSetLibraryStackFields(::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 { + kPackedFieldsFieldNumber = 5, + kStackHashFieldNumber = 1, + }; + // optional bytes packed_fields = 5; + bool has_packed_fields() const; + private: + bool _internal_has_packed_fields() const; + public: + void clear_packed_fields(); + const std::string& packed_fields() const; + template + void set_packed_fields(ArgT0&& arg0, ArgT... args); + std::string* mutable_packed_fields(); + PROTOBUF_NODISCARD std::string* release_packed_fields(); + void set_allocated_packed_fields(std::string* packed_fields); + private: + const std::string& _internal_packed_fields() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_fields(const std::string& value); + std::string* _internal_mutable_packed_fields(); + public: + + // optional fixed32 stack_hash = 1; + bool has_stack_hash() const; + private: + bool _internal_has_stack_hash() const; + public: + void clear_stack_hash(); + uint32_t stack_hash() const; + void set_stack_hash(uint32_t value); + private: + uint32_t _internal_stack_hash() const; + void _internal_set_stack_hash(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSosSetLibraryStackFields) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_fields_; + uint32_t stack_hash_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gameevents_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgVDebugGameSessionIDEvent + +// optional int32 clientid = 1; +inline bool CMsgVDebugGameSessionIDEvent::_internal_has_clientid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgVDebugGameSessionIDEvent::has_clientid() const { + return _internal_has_clientid(); +} +inline void CMsgVDebugGameSessionIDEvent::clear_clientid() { + _impl_.clientid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgVDebugGameSessionIDEvent::_internal_clientid() const { + return _impl_.clientid_; +} +inline int32_t CMsgVDebugGameSessionIDEvent::clientid() const { + // @@protoc_insertion_point(field_get:CMsgVDebugGameSessionIDEvent.clientid) + return _internal_clientid(); +} +inline void CMsgVDebugGameSessionIDEvent::_internal_set_clientid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.clientid_ = value; +} +inline void CMsgVDebugGameSessionIDEvent::set_clientid(int32_t value) { + _internal_set_clientid(value); + // @@protoc_insertion_point(field_set:CMsgVDebugGameSessionIDEvent.clientid) +} + +// optional string gamesessionid = 2; +inline bool CMsgVDebugGameSessionIDEvent::_internal_has_gamesessionid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgVDebugGameSessionIDEvent::has_gamesessionid() const { + return _internal_has_gamesessionid(); +} +inline void CMsgVDebugGameSessionIDEvent::clear_gamesessionid() { + _impl_.gamesessionid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgVDebugGameSessionIDEvent::gamesessionid() const { + // @@protoc_insertion_point(field_get:CMsgVDebugGameSessionIDEvent.gamesessionid) + return _internal_gamesessionid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgVDebugGameSessionIDEvent::set_gamesessionid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gamesessionid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgVDebugGameSessionIDEvent.gamesessionid) +} +inline std::string* CMsgVDebugGameSessionIDEvent::mutable_gamesessionid() { + std::string* _s = _internal_mutable_gamesessionid(); + // @@protoc_insertion_point(field_mutable:CMsgVDebugGameSessionIDEvent.gamesessionid) + return _s; +} +inline const std::string& CMsgVDebugGameSessionIDEvent::_internal_gamesessionid() const { + return _impl_.gamesessionid_.Get(); +} +inline void CMsgVDebugGameSessionIDEvent::_internal_set_gamesessionid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gamesessionid_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgVDebugGameSessionIDEvent::_internal_mutable_gamesessionid() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.gamesessionid_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgVDebugGameSessionIDEvent::release_gamesessionid() { + // @@protoc_insertion_point(field_release:CMsgVDebugGameSessionIDEvent.gamesessionid) + if (!_internal_has_gamesessionid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.gamesessionid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gamesessionid_.IsDefault()) { + _impl_.gamesessionid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgVDebugGameSessionIDEvent::set_allocated_gamesessionid(std::string* gamesessionid) { + if (gamesessionid != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.gamesessionid_.SetAllocated(gamesessionid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gamesessionid_.IsDefault()) { + _impl_.gamesessionid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgVDebugGameSessionIDEvent.gamesessionid) +} + +// ------------------------------------------------------------------- + +// CMsgPlaceDecalEvent + +// optional .CMsgVector position = 1; +inline bool CMsgPlaceDecalEvent::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CMsgPlaceDecalEvent::has_position() const { + return _internal_has_position(); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::position() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.position) + return _internal_position(); +} +inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.position) +} +inline ::CMsgVector* CMsgPlaceDecalEvent::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.position) + return _msg; +} +inline void CMsgPlaceDecalEvent::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.position) +} + +// optional .CMsgVector normal = 2; +inline bool CMsgPlaceDecalEvent::_internal_has_normal() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); + return value; +} +inline bool CMsgPlaceDecalEvent::has_normal() const { + return _internal_has_normal(); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_normal() const { + const ::CMsgVector* p = _impl_.normal_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::normal() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.normal) + return _internal_normal(); +} +inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_normal( + ::CMsgVector* normal) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + _impl_.normal_ = normal; + if (normal) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.normal) +} +inline ::CMsgVector* CMsgPlaceDecalEvent::release_normal() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = 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 ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_normal() { + // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.normal) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_normal() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.normal_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.normal_ = p; + } + return _impl_.normal_; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_normal() { + ::CMsgVector* _msg = _internal_mutable_normal(); + // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.normal) + return _msg; +} +inline void CMsgPlaceDecalEvent::set_allocated_normal(::CMsgVector* normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + if (normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); + if (message_arena != submessage_arena) { + normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, normal, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.normal_ = normal; + // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.normal) +} + +// optional .CMsgVector saxis = 3; +inline bool CMsgPlaceDecalEvent::_internal_has_saxis() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.saxis_ != nullptr); + return value; +} +inline bool CMsgPlaceDecalEvent::has_saxis() const { + return _internal_has_saxis(); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_saxis() const { + const ::CMsgVector* p = _impl_.saxis_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgPlaceDecalEvent::saxis() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.saxis) + return _internal_saxis(); +} +inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_saxis( + ::CMsgVector* saxis) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saxis_); + } + _impl_.saxis_ = saxis; + if (saxis) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.saxis) +} +inline ::CMsgVector* CMsgPlaceDecalEvent::release_saxis() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.saxis_; + _impl_.saxis_ = 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 ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_saxis() { + // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.saxis) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.saxis_; + _impl_.saxis_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_saxis() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.saxis_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.saxis_ = p; + } + return _impl_.saxis_; +} +inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_saxis() { + ::CMsgVector* _msg = _internal_mutable_saxis(); + // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.saxis) + return _msg; +} +inline void CMsgPlaceDecalEvent::set_allocated_saxis(::CMsgVector* saxis) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saxis_); + } + if (saxis) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(saxis)); + if (message_arena != submessage_arena) { + saxis = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, saxis, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.saxis_ = saxis; + // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.saxis) +} + +// optional int32 boneindex = 4; +inline bool CMsgPlaceDecalEvent::_internal_has_boneindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_boneindex() const { + return _internal_has_boneindex(); +} +inline void CMsgPlaceDecalEvent::clear_boneindex() { + _impl_.boneindex_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgPlaceDecalEvent::_internal_boneindex() const { + return _impl_.boneindex_; +} +inline int32_t CMsgPlaceDecalEvent::boneindex() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.boneindex) + return _internal_boneindex(); +} +inline void CMsgPlaceDecalEvent::_internal_set_boneindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.boneindex_ = value; +} +inline void CMsgPlaceDecalEvent::set_boneindex(int32_t value) { + _internal_set_boneindex(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.boneindex) +} + +// optional uint32 flags = 5; +inline bool CMsgPlaceDecalEvent::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgPlaceDecalEvent::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgPlaceDecalEvent::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgPlaceDecalEvent::flags() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.flags) + return _internal_flags(); +} +inline void CMsgPlaceDecalEvent::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.flags_ = value; +} +inline void CMsgPlaceDecalEvent::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.flags) +} + +// optional fixed32 color = 6; +inline bool CMsgPlaceDecalEvent::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_color() const { + return _internal_has_color(); +} +inline void CMsgPlaceDecalEvent::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgPlaceDecalEvent::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CMsgPlaceDecalEvent::color() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.color) + return _internal_color(); +} +inline void CMsgPlaceDecalEvent::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.color_ = value; +} +inline void CMsgPlaceDecalEvent::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.color) +} + +// optional int32 random_seed = 7; +inline bool CMsgPlaceDecalEvent::_internal_has_random_seed() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_random_seed() const { + return _internal_has_random_seed(); +} +inline void CMsgPlaceDecalEvent::clear_random_seed() { + _impl_.random_seed_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CMsgPlaceDecalEvent::_internal_random_seed() const { + return _impl_.random_seed_; +} +inline int32_t CMsgPlaceDecalEvent::random_seed() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.random_seed) + return _internal_random_seed(); +} +inline void CMsgPlaceDecalEvent::_internal_set_random_seed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.random_seed_ = value; +} +inline void CMsgPlaceDecalEvent::set_random_seed(int32_t value) { + _internal_set_random_seed(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.random_seed) +} + +// optional uint32 decal_group_name = 8; +inline bool CMsgPlaceDecalEvent::_internal_has_decal_group_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_decal_group_name() const { + return _internal_has_decal_group_name(); +} +inline void CMsgPlaceDecalEvent::clear_decal_group_name() { + _impl_.decal_group_name_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgPlaceDecalEvent::_internal_decal_group_name() const { + return _impl_.decal_group_name_; +} +inline uint32_t CMsgPlaceDecalEvent::decal_group_name() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.decal_group_name) + return _internal_decal_group_name(); +} +inline void CMsgPlaceDecalEvent::_internal_set_decal_group_name(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.decal_group_name_ = value; +} +inline void CMsgPlaceDecalEvent::set_decal_group_name(uint32_t value) { + _internal_set_decal_group_name(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.decal_group_name) +} + +// optional float size_override = 9; +inline bool CMsgPlaceDecalEvent::_internal_has_size_override() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_size_override() const { + return _internal_has_size_override(); +} +inline void CMsgPlaceDecalEvent::clear_size_override() { + _impl_.size_override_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CMsgPlaceDecalEvent::_internal_size_override() const { + return _impl_.size_override_; +} +inline float CMsgPlaceDecalEvent::size_override() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.size_override) + return _internal_size_override(); +} +inline void CMsgPlaceDecalEvent::_internal_set_size_override(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.size_override_ = value; +} +inline void CMsgPlaceDecalEvent::set_size_override(float value) { + _internal_set_size_override(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.size_override) +} + +// optional uint32 entityhandle = 10 [default = 16777215]; +inline bool CMsgPlaceDecalEvent::_internal_has_entityhandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_entityhandle() const { + return _internal_has_entityhandle(); +} +inline void CMsgPlaceDecalEvent::clear_entityhandle() { + _impl_.entityhandle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgPlaceDecalEvent::_internal_entityhandle() const { + return _impl_.entityhandle_; +} +inline uint32_t CMsgPlaceDecalEvent::entityhandle() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.entityhandle) + return _internal_entityhandle(); +} +inline void CMsgPlaceDecalEvent::_internal_set_entityhandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.entityhandle_ = value; +} +inline void CMsgPlaceDecalEvent::set_entityhandle(uint32_t value) { + _internal_set_entityhandle(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.entityhandle) +} + +// optional uint64 material_id = 11; +inline bool CMsgPlaceDecalEvent::_internal_has_material_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_material_id() const { + return _internal_has_material_id(); +} +inline void CMsgPlaceDecalEvent::clear_material_id() { + _impl_.material_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t CMsgPlaceDecalEvent::_internal_material_id() const { + return _impl_.material_id_; +} +inline uint64_t CMsgPlaceDecalEvent::material_id() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.material_id) + return _internal_material_id(); +} +inline void CMsgPlaceDecalEvent::_internal_set_material_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.material_id_ = value; +} +inline void CMsgPlaceDecalEvent::set_material_id(uint64_t value) { + _internal_set_material_id(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.material_id) +} + +// optional uint32 sequence_name = 12; +inline bool CMsgPlaceDecalEvent::_internal_has_sequence_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgPlaceDecalEvent::has_sequence_name() const { + return _internal_has_sequence_name(); +} +inline void CMsgPlaceDecalEvent::clear_sequence_name() { + _impl_.sequence_name_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgPlaceDecalEvent::_internal_sequence_name() const { + return _impl_.sequence_name_; +} +inline uint32_t CMsgPlaceDecalEvent::sequence_name() const { + // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.sequence_name) + return _internal_sequence_name(); +} +inline void CMsgPlaceDecalEvent::_internal_set_sequence_name(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.sequence_name_ = value; +} +inline void CMsgPlaceDecalEvent::set_sequence_name(uint32_t value) { + _internal_set_sequence_name(value); + // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.sequence_name) +} + +// ------------------------------------------------------------------- + +// CMsgClearWorldDecalsEvent + +// optional uint32 flagstoclear = 1; +inline bool CMsgClearWorldDecalsEvent::_internal_has_flagstoclear() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClearWorldDecalsEvent::has_flagstoclear() const { + return _internal_has_flagstoclear(); +} +inline void CMsgClearWorldDecalsEvent::clear_flagstoclear() { + _impl_.flagstoclear_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgClearWorldDecalsEvent::_internal_flagstoclear() const { + return _impl_.flagstoclear_; +} +inline uint32_t CMsgClearWorldDecalsEvent::flagstoclear() const { + // @@protoc_insertion_point(field_get:CMsgClearWorldDecalsEvent.flagstoclear) + return _internal_flagstoclear(); +} +inline void CMsgClearWorldDecalsEvent::_internal_set_flagstoclear(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.flagstoclear_ = value; +} +inline void CMsgClearWorldDecalsEvent::set_flagstoclear(uint32_t value) { + _internal_set_flagstoclear(value); + // @@protoc_insertion_point(field_set:CMsgClearWorldDecalsEvent.flagstoclear) +} + +// ------------------------------------------------------------------- + +// CMsgClearEntityDecalsEvent + +// optional uint32 flagstoclear = 1; +inline bool CMsgClearEntityDecalsEvent::_internal_has_flagstoclear() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClearEntityDecalsEvent::has_flagstoclear() const { + return _internal_has_flagstoclear(); +} +inline void CMsgClearEntityDecalsEvent::clear_flagstoclear() { + _impl_.flagstoclear_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgClearEntityDecalsEvent::_internal_flagstoclear() const { + return _impl_.flagstoclear_; +} +inline uint32_t CMsgClearEntityDecalsEvent::flagstoclear() const { + // @@protoc_insertion_point(field_get:CMsgClearEntityDecalsEvent.flagstoclear) + return _internal_flagstoclear(); +} +inline void CMsgClearEntityDecalsEvent::_internal_set_flagstoclear(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.flagstoclear_ = value; +} +inline void CMsgClearEntityDecalsEvent::set_flagstoclear(uint32_t value) { + _internal_set_flagstoclear(value); + // @@protoc_insertion_point(field_set:CMsgClearEntityDecalsEvent.flagstoclear) +} + +// ------------------------------------------------------------------- + +// CMsgClearDecalsForEntityEvent + +// optional uint32 flagstoclear = 1; +inline bool CMsgClearDecalsForEntityEvent::_internal_has_flagstoclear() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClearDecalsForEntityEvent::has_flagstoclear() const { + return _internal_has_flagstoclear(); +} +inline void CMsgClearDecalsForEntityEvent::clear_flagstoclear() { + _impl_.flagstoclear_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgClearDecalsForEntityEvent::_internal_flagstoclear() const { + return _impl_.flagstoclear_; +} +inline uint32_t CMsgClearDecalsForEntityEvent::flagstoclear() const { + // @@protoc_insertion_point(field_get:CMsgClearDecalsForEntityEvent.flagstoclear) + return _internal_flagstoclear(); +} +inline void CMsgClearDecalsForEntityEvent::_internal_set_flagstoclear(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.flagstoclear_ = value; +} +inline void CMsgClearDecalsForEntityEvent::set_flagstoclear(uint32_t value) { + _internal_set_flagstoclear(value); + // @@protoc_insertion_point(field_set:CMsgClearDecalsForEntityEvent.flagstoclear) +} + +// optional uint32 entityhandle = 2 [default = 16777215]; +inline bool CMsgClearDecalsForEntityEvent::_internal_has_entityhandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgClearDecalsForEntityEvent::has_entityhandle() const { + return _internal_has_entityhandle(); +} +inline void CMsgClearDecalsForEntityEvent::clear_entityhandle() { + _impl_.entityhandle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgClearDecalsForEntityEvent::_internal_entityhandle() const { + return _impl_.entityhandle_; +} +inline uint32_t CMsgClearDecalsForEntityEvent::entityhandle() const { + // @@protoc_insertion_point(field_get:CMsgClearDecalsForEntityEvent.entityhandle) + return _internal_entityhandle(); +} +inline void CMsgClearDecalsForEntityEvent::_internal_set_entityhandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entityhandle_ = value; +} +inline void CMsgClearDecalsForEntityEvent::set_entityhandle(uint32_t value) { + _internal_set_entityhandle(value); + // @@protoc_insertion_point(field_set:CMsgClearDecalsForEntityEvent.entityhandle) +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyGameEventList_key_t + +// optional int32 type = 1; +inline bool CMsgSource1LegacyGameEventList_key_t::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEventList_key_t::has_type() const { + return _internal_has_type(); +} +inline void CMsgSource1LegacyGameEventList_key_t::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSource1LegacyGameEventList_key_t::_internal_type() const { + return _impl_.type_; +} +inline int32_t CMsgSource1LegacyGameEventList_key_t::type() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.key_t.type) + return _internal_type(); +} +inline void CMsgSource1LegacyGameEventList_key_t::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CMsgSource1LegacyGameEventList_key_t::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.key_t.type) +} + +// optional string name = 2; +inline bool CMsgSource1LegacyGameEventList_key_t::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEventList_key_t::has_name() const { + return _internal_has_name(); +} +inline void CMsgSource1LegacyGameEventList_key_t::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource1LegacyGameEventList_key_t::name() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.key_t.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource1LegacyGameEventList_key_t::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.key_t.name) +} +inline std::string* CMsgSource1LegacyGameEventList_key_t::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.key_t.name) + return _s; +} +inline const std::string& CMsgSource1LegacyGameEventList_key_t::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgSource1LegacyGameEventList_key_t::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEventList_key_t::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEventList_key_t::release_name() { + // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEventList.key_t.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource1LegacyGameEventList_key_t::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgSource1LegacyGameEventList.key_t.name) +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyGameEventList_descriptor_t + +// optional int32 eventid = 1; +inline bool CMsgSource1LegacyGameEventList_descriptor_t::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEventList_descriptor_t::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSource1LegacyGameEventList_descriptor_t::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CMsgSource1LegacyGameEventList_descriptor_t::eventid() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.eventid) + return _internal_eventid(); +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.eventid_ = value; +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.descriptor_t.eventid) +} + +// optional string name = 2; +inline bool CMsgSource1LegacyGameEventList_descriptor_t::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEventList_descriptor_t::has_name() const { + return _internal_has_name(); +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource1LegacyGameEventList_descriptor_t::name() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource1LegacyGameEventList_descriptor_t::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.descriptor_t.name) +} +inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptor_t.name) + return _s; +} +inline const std::string& CMsgSource1LegacyGameEventList_descriptor_t::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::release_name() { + // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEventList.descriptor_t.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgSource1LegacyGameEventList.descriptor_t.name) +} + +// repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; +inline int CMsgSource1LegacyGameEventList_descriptor_t::_internal_keys_size() const { + return _impl_.keys_.size(); +} +inline int CMsgSource1LegacyGameEventList_descriptor_t::keys_size() const { + return _internal_keys_size(); +} +inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_keys() { + _impl_.keys_.Clear(); +} +inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::mutable_keys(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptor_t.keys) + return _impl_.keys_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >* +CMsgSource1LegacyGameEventList_descriptor_t::mutable_keys() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEventList.descriptor_t.keys) + return &_impl_.keys_; +} +inline const ::CMsgSource1LegacyGameEventList_key_t& CMsgSource1LegacyGameEventList_descriptor_t::_internal_keys(int index) const { + return _impl_.keys_.Get(index); +} +inline const ::CMsgSource1LegacyGameEventList_key_t& CMsgSource1LegacyGameEventList_descriptor_t::keys(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.keys) + return _internal_keys(index); +} +inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::_internal_add_keys() { + return _impl_.keys_.Add(); +} +inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::add_keys() { + ::CMsgSource1LegacyGameEventList_key_t* _add = _internal_add_keys(); + // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEventList.descriptor_t.keys) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >& +CMsgSource1LegacyGameEventList_descriptor_t::keys() const { + // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEventList.descriptor_t.keys) + return _impl_.keys_; +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyGameEventList + +// repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; +inline int CMsgSource1LegacyGameEventList::_internal_descriptors_size() const { + return _impl_.descriptors_.size(); +} +inline int CMsgSource1LegacyGameEventList::descriptors_size() const { + return _internal_descriptors_size(); +} +inline void CMsgSource1LegacyGameEventList::clear_descriptors() { + _impl_.descriptors_.Clear(); +} +inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::mutable_descriptors(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptors) + return _impl_.descriptors_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >* +CMsgSource1LegacyGameEventList::mutable_descriptors() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEventList.descriptors) + return &_impl_.descriptors_; +} +inline const ::CMsgSource1LegacyGameEventList_descriptor_t& CMsgSource1LegacyGameEventList::_internal_descriptors(int index) const { + return _impl_.descriptors_.Get(index); +} +inline const ::CMsgSource1LegacyGameEventList_descriptor_t& CMsgSource1LegacyGameEventList::descriptors(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptors) + return _internal_descriptors(index); +} +inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::_internal_add_descriptors() { + return _impl_.descriptors_.Add(); +} +inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::add_descriptors() { + ::CMsgSource1LegacyGameEventList_descriptor_t* _add = _internal_add_descriptors(); + // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEventList.descriptors) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >& +CMsgSource1LegacyGameEventList::descriptors() const { + // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEventList.descriptors) + return _impl_.descriptors_; +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyListenEvents + +// optional int32 playerslot = 1; +inline bool CMsgSource1LegacyListenEvents::_internal_has_playerslot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource1LegacyListenEvents::has_playerslot() const { + return _internal_has_playerslot(); +} +inline void CMsgSource1LegacyListenEvents::clear_playerslot() { + _impl_.playerslot_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgSource1LegacyListenEvents::_internal_playerslot() const { + return _impl_.playerslot_; +} +inline int32_t CMsgSource1LegacyListenEvents::playerslot() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyListenEvents.playerslot) + return _internal_playerslot(); +} +inline void CMsgSource1LegacyListenEvents::_internal_set_playerslot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.playerslot_ = value; +} +inline void CMsgSource1LegacyListenEvents::set_playerslot(int32_t value) { + _internal_set_playerslot(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyListenEvents.playerslot) +} + +// repeated uint32 eventarraybits = 2; +inline int CMsgSource1LegacyListenEvents::_internal_eventarraybits_size() const { + return _impl_.eventarraybits_.size(); +} +inline int CMsgSource1LegacyListenEvents::eventarraybits_size() const { + return _internal_eventarraybits_size(); +} +inline void CMsgSource1LegacyListenEvents::clear_eventarraybits() { + _impl_.eventarraybits_.Clear(); +} +inline uint32_t CMsgSource1LegacyListenEvents::_internal_eventarraybits(int index) const { + return _impl_.eventarraybits_.Get(index); +} +inline uint32_t CMsgSource1LegacyListenEvents::eventarraybits(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyListenEvents.eventarraybits) + return _internal_eventarraybits(index); +} +inline void CMsgSource1LegacyListenEvents::set_eventarraybits(int index, uint32_t value) { + _impl_.eventarraybits_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyListenEvents.eventarraybits) +} +inline void CMsgSource1LegacyListenEvents::_internal_add_eventarraybits(uint32_t value) { + _impl_.eventarraybits_.Add(value); +} +inline void CMsgSource1LegacyListenEvents::add_eventarraybits(uint32_t value) { + _internal_add_eventarraybits(value); + // @@protoc_insertion_point(field_add:CMsgSource1LegacyListenEvents.eventarraybits) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSource1LegacyListenEvents::_internal_eventarraybits() const { + return _impl_.eventarraybits_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSource1LegacyListenEvents::eventarraybits() const { + // @@protoc_insertion_point(field_list:CMsgSource1LegacyListenEvents.eventarraybits) + return _internal_eventarraybits(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSource1LegacyListenEvents::_internal_mutable_eventarraybits() { + return &_impl_.eventarraybits_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSource1LegacyListenEvents::mutable_eventarraybits() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyListenEvents.eventarraybits) + return _internal_mutable_eventarraybits(); +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyGameEvent_key_t + +// optional int32 type = 1; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_type() const { + return _internal_has_type(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_type() const { + return _impl_.type_; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::type() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.type) + return _internal_type(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.type) +} + +// optional string val_string = 2; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_string() const { + return _internal_has_val_string(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_string() { + _impl_.val_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource1LegacyGameEvent_key_t::val_string() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_string) + return _internal_val_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource1LegacyGameEvent_key_t::set_val_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_string) +} +inline std::string* CMsgSource1LegacyGameEvent_key_t::mutable_val_string() { + std::string* _s = _internal_mutable_val_string(); + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.key_t.val_string) + return _s; +} +inline const std::string& CMsgSource1LegacyGameEvent_key_t::_internal_val_string() const { + return _impl_.val_string_.Get(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.val_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEvent_key_t::_internal_mutable_val_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.val_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEvent_key_t::release_val_string() { + // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEvent.key_t.val_string) + if (!_internal_has_val_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.val_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_allocated_val_string(std::string* val_string) { + if (val_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEvent.key_t.val_string) +} + +// optional float val_float = 3; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_float() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_float() const { + return _internal_has_val_float(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_float() { + _impl_.val_float_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgSource1LegacyGameEvent_key_t::_internal_val_float() const { + return _impl_.val_float_; +} +inline float CMsgSource1LegacyGameEvent_key_t::val_float() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_float) + return _internal_val_float(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_float(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.val_float_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_float(float value) { + _internal_set_val_float(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_float) +} + +// optional int32 val_long = 4; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_long() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_long() const { + return _internal_has_val_long(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_long() { + _impl_.val_long_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_long() const { + return _impl_.val_long_; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::val_long() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_long) + return _internal_val_long(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_long(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.val_long_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_long(int32_t value) { + _internal_set_val_long(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_long) +} + +// optional int32 val_short = 5; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_short() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_short() const { + return _internal_has_val_short(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_short() { + _impl_.val_short_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_short() const { + return _impl_.val_short_; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::val_short() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_short) + return _internal_val_short(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_short(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.val_short_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_short(int32_t value) { + _internal_set_val_short(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_short) +} + +// optional int32 val_byte = 6; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_byte() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_byte() const { + return _internal_has_val_byte(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_byte() { + _impl_.val_byte_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_byte() const { + return _impl_.val_byte_; +} +inline int32_t CMsgSource1LegacyGameEvent_key_t::val_byte() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_byte) + return _internal_val_byte(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_byte(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.val_byte_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_byte(int32_t value) { + _internal_set_val_byte(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_byte) +} + +// optional bool val_bool = 7; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_bool() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_bool() const { + return _internal_has_val_bool(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_bool() { + _impl_.val_bool_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_val_bool() const { + return _impl_.val_bool_; +} +inline bool CMsgSource1LegacyGameEvent_key_t::val_bool() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_bool) + return _internal_val_bool(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_bool(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.val_bool_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_bool(bool value) { + _internal_set_val_bool(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_bool) +} + +// optional uint64 val_uint64 = 8; +inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_uint64() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent_key_t::has_val_uint64() const { + return _internal_has_val_uint64(); +} +inline void CMsgSource1LegacyGameEvent_key_t::clear_val_uint64() { + _impl_.val_uint64_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CMsgSource1LegacyGameEvent_key_t::_internal_val_uint64() const { + return _impl_.val_uint64_; +} +inline uint64_t CMsgSource1LegacyGameEvent_key_t::val_uint64() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_uint64) + return _internal_val_uint64(); +} +inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_uint64(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.val_uint64_ = value; +} +inline void CMsgSource1LegacyGameEvent_key_t::set_val_uint64(uint64_t value) { + _internal_set_val_uint64(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_uint64) +} + +// ------------------------------------------------------------------- + +// CMsgSource1LegacyGameEvent + +// optional string event_name = 1; +inline bool CMsgSource1LegacyGameEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void CMsgSource1LegacyGameEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource1LegacyGameEvent::event_name() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource1LegacyGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.event_name) +} +inline std::string* CMsgSource1LegacyGameEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.event_name) + return _s; +} +inline const std::string& CMsgSource1LegacyGameEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void CMsgSource1LegacyGameEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource1LegacyGameEvent::release_event_name() { + // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource1LegacyGameEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEvent.event_name) +} + +// optional int32 eventid = 2; +inline bool CMsgSource1LegacyGameEvent::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent::has_eventid() const { + return _internal_has_eventid(); +} +inline void CMsgSource1LegacyGameEvent::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSource1LegacyGameEvent::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CMsgSource1LegacyGameEvent::eventid() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.eventid) + return _internal_eventid(); +} +inline void CMsgSource1LegacyGameEvent::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.eventid_ = value; +} +inline void CMsgSource1LegacyGameEvent::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.eventid) +} + +// repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; +inline int CMsgSource1LegacyGameEvent::_internal_keys_size() const { + return _impl_.keys_.size(); +} +inline int CMsgSource1LegacyGameEvent::keys_size() const { + return _internal_keys_size(); +} +inline void CMsgSource1LegacyGameEvent::clear_keys() { + _impl_.keys_.Clear(); +} +inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::mutable_keys(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.keys) + return _impl_.keys_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >* +CMsgSource1LegacyGameEvent::mutable_keys() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEvent.keys) + return &_impl_.keys_; +} +inline const ::CMsgSource1LegacyGameEvent_key_t& CMsgSource1LegacyGameEvent::_internal_keys(int index) const { + return _impl_.keys_.Get(index); +} +inline const ::CMsgSource1LegacyGameEvent_key_t& CMsgSource1LegacyGameEvent::keys(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.keys) + return _internal_keys(index); +} +inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::_internal_add_keys() { + return _impl_.keys_.Add(); +} +inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::add_keys() { + ::CMsgSource1LegacyGameEvent_key_t* _add = _internal_add_keys(); + // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEvent.keys) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >& +CMsgSource1LegacyGameEvent::keys() const { + // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEvent.keys) + return _impl_.keys_; +} + +// optional int32 server_tick = 4; +inline bool CMsgSource1LegacyGameEvent::_internal_has_server_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent::has_server_tick() const { + return _internal_has_server_tick(); +} +inline void CMsgSource1LegacyGameEvent::clear_server_tick() { + _impl_.server_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgSource1LegacyGameEvent::_internal_server_tick() const { + return _impl_.server_tick_; +} +inline int32_t CMsgSource1LegacyGameEvent::server_tick() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.server_tick) + return _internal_server_tick(); +} +inline void CMsgSource1LegacyGameEvent::_internal_set_server_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_tick_ = value; +} +inline void CMsgSource1LegacyGameEvent::set_server_tick(int32_t value) { + _internal_set_server_tick(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.server_tick) +} + +// optional int32 passthrough = 5; +inline bool CMsgSource1LegacyGameEvent::_internal_has_passthrough() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource1LegacyGameEvent::has_passthrough() const { + return _internal_has_passthrough(); +} +inline void CMsgSource1LegacyGameEvent::clear_passthrough() { + _impl_.passthrough_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSource1LegacyGameEvent::_internal_passthrough() const { + return _impl_.passthrough_; +} +inline int32_t CMsgSource1LegacyGameEvent::passthrough() const { + // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.passthrough) + return _internal_passthrough(); +} +inline void CMsgSource1LegacyGameEvent::_internal_set_passthrough(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.passthrough_ = value; +} +inline void CMsgSource1LegacyGameEvent::set_passthrough(int32_t value) { + _internal_set_passthrough(value); + // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.passthrough) +} + +// ------------------------------------------------------------------- + +// CMsgSosStartSoundEvent + +// optional int32 soundevent_guid = 1; +inline bool CMsgSosStartSoundEvent::_internal_has_soundevent_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_soundevent_guid() const { + return _internal_has_soundevent_guid(); +} +inline void CMsgSosStartSoundEvent::clear_soundevent_guid() { + _impl_.soundevent_guid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSosStartSoundEvent::_internal_soundevent_guid() const { + return _impl_.soundevent_guid_; +} +inline int32_t CMsgSosStartSoundEvent::soundevent_guid() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.soundevent_guid) + return _internal_soundevent_guid(); +} +inline void CMsgSosStartSoundEvent::_internal_set_soundevent_guid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.soundevent_guid_ = value; +} +inline void CMsgSosStartSoundEvent::set_soundevent_guid(int32_t value) { + _internal_set_soundevent_guid(value); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.soundevent_guid) +} + +// optional fixed32 soundevent_hash = 2; +inline bool CMsgSosStartSoundEvent::_internal_has_soundevent_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_soundevent_hash() const { + return _internal_has_soundevent_hash(); +} +inline void CMsgSosStartSoundEvent::clear_soundevent_hash() { + _impl_.soundevent_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSosStartSoundEvent::_internal_soundevent_hash() const { + return _impl_.soundevent_hash_; +} +inline uint32_t CMsgSosStartSoundEvent::soundevent_hash() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.soundevent_hash) + return _internal_soundevent_hash(); +} +inline void CMsgSosStartSoundEvent::_internal_set_soundevent_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.soundevent_hash_ = value; +} +inline void CMsgSosStartSoundEvent::set_soundevent_hash(uint32_t value) { + _internal_set_soundevent_hash(value); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.soundevent_hash) +} + +// optional int32 source_entity_index = 3 [default = -1]; +inline bool CMsgSosStartSoundEvent::_internal_has_source_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_source_entity_index() const { + return _internal_has_source_entity_index(); +} +inline void CMsgSosStartSoundEvent::clear_source_entity_index() { + _impl_.source_entity_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgSosStartSoundEvent::_internal_source_entity_index() const { + return _impl_.source_entity_index_; +} +inline int32_t CMsgSosStartSoundEvent::source_entity_index() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.source_entity_index) + return _internal_source_entity_index(); +} +inline void CMsgSosStartSoundEvent::_internal_set_source_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.source_entity_index_ = value; +} +inline void CMsgSosStartSoundEvent::set_source_entity_index(int32_t value) { + _internal_set_source_entity_index(value); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.source_entity_index) +} + +// optional int32 seed = 4; +inline bool CMsgSosStartSoundEvent::_internal_has_seed() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_seed() const { + return _internal_has_seed(); +} +inline void CMsgSosStartSoundEvent::clear_seed() { + _impl_.seed_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSosStartSoundEvent::_internal_seed() const { + return _impl_.seed_; +} +inline int32_t CMsgSosStartSoundEvent::seed() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.seed) + return _internal_seed(); +} +inline void CMsgSosStartSoundEvent::_internal_set_seed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seed_ = value; +} +inline void CMsgSosStartSoundEvent::set_seed(int32_t value) { + _internal_set_seed(value); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.seed) +} + +// optional bytes packed_params = 5; +inline bool CMsgSosStartSoundEvent::_internal_has_packed_params() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_packed_params() const { + return _internal_has_packed_params(); +} +inline void CMsgSosStartSoundEvent::clear_packed_params() { + _impl_.packed_params_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSosStartSoundEvent::packed_params() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.packed_params) + return _internal_packed_params(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSosStartSoundEvent::set_packed_params(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_params_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.packed_params) +} +inline std::string* CMsgSosStartSoundEvent::mutable_packed_params() { + std::string* _s = _internal_mutable_packed_params(); + // @@protoc_insertion_point(field_mutable:CMsgSosStartSoundEvent.packed_params) + return _s; +} +inline const std::string& CMsgSosStartSoundEvent::_internal_packed_params() const { + return _impl_.packed_params_.Get(); +} +inline void CMsgSosStartSoundEvent::_internal_set_packed_params(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_params_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSosStartSoundEvent::_internal_mutable_packed_params() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.packed_params_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSosStartSoundEvent::release_packed_params() { + // @@protoc_insertion_point(field_release:CMsgSosStartSoundEvent.packed_params) + if (!_internal_has_packed_params()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.packed_params_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_params_.IsDefault()) { + _impl_.packed_params_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSosStartSoundEvent::set_allocated_packed_params(std::string* packed_params) { + if (packed_params != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.packed_params_.SetAllocated(packed_params, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_params_.IsDefault()) { + _impl_.packed_params_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSosStartSoundEvent.packed_params) +} + +// optional float start_time = 6; +inline bool CMsgSosStartSoundEvent::_internal_has_start_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSosStartSoundEvent::has_start_time() const { + return _internal_has_start_time(); +} +inline void CMsgSosStartSoundEvent::clear_start_time() { + _impl_.start_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgSosStartSoundEvent::_internal_start_time() const { + return _impl_.start_time_; +} +inline float CMsgSosStartSoundEvent::start_time() const { + // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.start_time) + return _internal_start_time(); +} +inline void CMsgSosStartSoundEvent::_internal_set_start_time(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.start_time_ = value; +} +inline void CMsgSosStartSoundEvent::set_start_time(float value) { + _internal_set_start_time(value); + // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.start_time) +} + +// ------------------------------------------------------------------- + +// CMsgSosStopSoundEvent + +// optional int32 soundevent_guid = 1; +inline bool CMsgSosStopSoundEvent::_internal_has_soundevent_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSosStopSoundEvent::has_soundevent_guid() const { + return _internal_has_soundevent_guid(); +} +inline void CMsgSosStopSoundEvent::clear_soundevent_guid() { + _impl_.soundevent_guid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgSosStopSoundEvent::_internal_soundevent_guid() const { + return _impl_.soundevent_guid_; +} +inline int32_t CMsgSosStopSoundEvent::soundevent_guid() const { + // @@protoc_insertion_point(field_get:CMsgSosStopSoundEvent.soundevent_guid) + return _internal_soundevent_guid(); +} +inline void CMsgSosStopSoundEvent::_internal_set_soundevent_guid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.soundevent_guid_ = value; +} +inline void CMsgSosStopSoundEvent::set_soundevent_guid(int32_t value) { + _internal_set_soundevent_guid(value); + // @@protoc_insertion_point(field_set:CMsgSosStopSoundEvent.soundevent_guid) +} + +// ------------------------------------------------------------------- + +// CMsgSosStopSoundEventHash + +// optional fixed32 soundevent_hash = 1; +inline bool CMsgSosStopSoundEventHash::_internal_has_soundevent_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSosStopSoundEventHash::has_soundevent_hash() const { + return _internal_has_soundevent_hash(); +} +inline void CMsgSosStopSoundEventHash::clear_soundevent_hash() { + _impl_.soundevent_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSosStopSoundEventHash::_internal_soundevent_hash() const { + return _impl_.soundevent_hash_; +} +inline uint32_t CMsgSosStopSoundEventHash::soundevent_hash() const { + // @@protoc_insertion_point(field_get:CMsgSosStopSoundEventHash.soundevent_hash) + return _internal_soundevent_hash(); +} +inline void CMsgSosStopSoundEventHash::_internal_set_soundevent_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.soundevent_hash_ = value; +} +inline void CMsgSosStopSoundEventHash::set_soundevent_hash(uint32_t value) { + _internal_set_soundevent_hash(value); + // @@protoc_insertion_point(field_set:CMsgSosStopSoundEventHash.soundevent_hash) +} + +// optional int32 source_entity_index = 2 [default = -1]; +inline bool CMsgSosStopSoundEventHash::_internal_has_source_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSosStopSoundEventHash::has_source_entity_index() const { + return _internal_has_source_entity_index(); +} +inline void CMsgSosStopSoundEventHash::clear_source_entity_index() { + _impl_.source_entity_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSosStopSoundEventHash::_internal_source_entity_index() const { + return _impl_.source_entity_index_; +} +inline int32_t CMsgSosStopSoundEventHash::source_entity_index() const { + // @@protoc_insertion_point(field_get:CMsgSosStopSoundEventHash.source_entity_index) + return _internal_source_entity_index(); +} +inline void CMsgSosStopSoundEventHash::_internal_set_source_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.source_entity_index_ = value; +} +inline void CMsgSosStopSoundEventHash::set_source_entity_index(int32_t value) { + _internal_set_source_entity_index(value); + // @@protoc_insertion_point(field_set:CMsgSosStopSoundEventHash.source_entity_index) +} + +// ------------------------------------------------------------------- + +// CMsgSosSetSoundEventParams + +// optional int32 soundevent_guid = 1; +inline bool CMsgSosSetSoundEventParams::_internal_has_soundevent_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSosSetSoundEventParams::has_soundevent_guid() const { + return _internal_has_soundevent_guid(); +} +inline void CMsgSosSetSoundEventParams::clear_soundevent_guid() { + _impl_.soundevent_guid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSosSetSoundEventParams::_internal_soundevent_guid() const { + return _impl_.soundevent_guid_; +} +inline int32_t CMsgSosSetSoundEventParams::soundevent_guid() const { + // @@protoc_insertion_point(field_get:CMsgSosSetSoundEventParams.soundevent_guid) + return _internal_soundevent_guid(); +} +inline void CMsgSosSetSoundEventParams::_internal_set_soundevent_guid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.soundevent_guid_ = value; +} +inline void CMsgSosSetSoundEventParams::set_soundevent_guid(int32_t value) { + _internal_set_soundevent_guid(value); + // @@protoc_insertion_point(field_set:CMsgSosSetSoundEventParams.soundevent_guid) +} + +// optional bytes packed_params = 5; +inline bool CMsgSosSetSoundEventParams::_internal_has_packed_params() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSosSetSoundEventParams::has_packed_params() const { + return _internal_has_packed_params(); +} +inline void CMsgSosSetSoundEventParams::clear_packed_params() { + _impl_.packed_params_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSosSetSoundEventParams::packed_params() const { + // @@protoc_insertion_point(field_get:CMsgSosSetSoundEventParams.packed_params) + return _internal_packed_params(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSosSetSoundEventParams::set_packed_params(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_params_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSosSetSoundEventParams.packed_params) +} +inline std::string* CMsgSosSetSoundEventParams::mutable_packed_params() { + std::string* _s = _internal_mutable_packed_params(); + // @@protoc_insertion_point(field_mutable:CMsgSosSetSoundEventParams.packed_params) + return _s; +} +inline const std::string& CMsgSosSetSoundEventParams::_internal_packed_params() const { + return _impl_.packed_params_.Get(); +} +inline void CMsgSosSetSoundEventParams::_internal_set_packed_params(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_params_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSosSetSoundEventParams::_internal_mutable_packed_params() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.packed_params_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSosSetSoundEventParams::release_packed_params() { + // @@protoc_insertion_point(field_release:CMsgSosSetSoundEventParams.packed_params) + if (!_internal_has_packed_params()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.packed_params_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_params_.IsDefault()) { + _impl_.packed_params_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSosSetSoundEventParams::set_allocated_packed_params(std::string* packed_params) { + if (packed_params != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.packed_params_.SetAllocated(packed_params, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_params_.IsDefault()) { + _impl_.packed_params_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSosSetSoundEventParams.packed_params) +} + +// ------------------------------------------------------------------- + +// CMsgSosSetLibraryStackFields + +// optional fixed32 stack_hash = 1; +inline bool CMsgSosSetLibraryStackFields::_internal_has_stack_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSosSetLibraryStackFields::has_stack_hash() const { + return _internal_has_stack_hash(); +} +inline void CMsgSosSetLibraryStackFields::clear_stack_hash() { + _impl_.stack_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSosSetLibraryStackFields::_internal_stack_hash() const { + return _impl_.stack_hash_; +} +inline uint32_t CMsgSosSetLibraryStackFields::stack_hash() const { + // @@protoc_insertion_point(field_get:CMsgSosSetLibraryStackFields.stack_hash) + return _internal_stack_hash(); +} +inline void CMsgSosSetLibraryStackFields::_internal_set_stack_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.stack_hash_ = value; +} +inline void CMsgSosSetLibraryStackFields::set_stack_hash(uint32_t value) { + _internal_set_stack_hash(value); + // @@protoc_insertion_point(field_set:CMsgSosSetLibraryStackFields.stack_hash) +} + +// optional bytes packed_fields = 5; +inline bool CMsgSosSetLibraryStackFields::_internal_has_packed_fields() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSosSetLibraryStackFields::has_packed_fields() const { + return _internal_has_packed_fields(); +} +inline void CMsgSosSetLibraryStackFields::clear_packed_fields() { + _impl_.packed_fields_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSosSetLibraryStackFields::packed_fields() const { + // @@protoc_insertion_point(field_get:CMsgSosSetLibraryStackFields.packed_fields) + return _internal_packed_fields(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSosSetLibraryStackFields::set_packed_fields(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_fields_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSosSetLibraryStackFields.packed_fields) +} +inline std::string* CMsgSosSetLibraryStackFields::mutable_packed_fields() { + std::string* _s = _internal_mutable_packed_fields(); + // @@protoc_insertion_point(field_mutable:CMsgSosSetLibraryStackFields.packed_fields) + return _s; +} +inline const std::string& CMsgSosSetLibraryStackFields::_internal_packed_fields() const { + return _impl_.packed_fields_.Get(); +} +inline void CMsgSosSetLibraryStackFields::_internal_set_packed_fields(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packed_fields_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSosSetLibraryStackFields::_internal_mutable_packed_fields() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.packed_fields_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSosSetLibraryStackFields::release_packed_fields() { + // @@protoc_insertion_point(field_release:CMsgSosSetLibraryStackFields.packed_fields) + if (!_internal_has_packed_fields()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.packed_fields_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_fields_.IsDefault()) { + _impl_.packed_fields_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSosSetLibraryStackFields::set_allocated_packed_fields(std::string* packed_fields) { + if (packed_fields != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.packed_fields_.SetAllocated(packed_fields, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.packed_fields_.IsDefault()) { + _impl_.packed_fields_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSosSetLibraryStackFields.packed_fields) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EBaseGameEvents> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EBaseGameEvents>() { + return ::EBaseGameEvents_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gameevents_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.cc new file mode 100644 index 0000000..679565f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.cc @@ -0,0 +1,15426 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gcsdk_gcmessages.proto + +#include "gcsdk_gcmessages.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; + +PROTOBUF_CONSTEXPR CMsgSOIDOwner::CMsgSOIDOwner( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/uint64_t{0u} + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgSOIDOwnerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOIDOwnerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOIDOwnerDefaultTypeInternal() {} + union { + CMsgSOIDOwner _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOIDOwnerDefaultTypeInternal _CMsgSOIDOwner_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOSingleObject::CMsgSOSingleObject( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.object_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.owner_soid_)*/nullptr + , /*decltype(_impl_.version_)*/uint64_t{0u} + , /*decltype(_impl_.type_id_)*/0} {} +struct CMsgSOSingleObjectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOSingleObjectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOSingleObjectDefaultTypeInternal() {} + union { + CMsgSOSingleObject _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOSingleObjectDefaultTypeInternal _CMsgSOSingleObject_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.object_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_id_)*/0} {} +struct CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal() {} + union { + CMsgSOMultipleObjects_SingleObject _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal _CMsgSOMultipleObjects_SingleObject_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOMultipleObjects::CMsgSOMultipleObjects( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.objects_modified_)*/{} + , /*decltype(_impl_.owner_soid_)*/nullptr + , /*decltype(_impl_.version_)*/uint64_t{0u}} {} +struct CMsgSOMultipleObjectsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOMultipleObjectsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOMultipleObjectsDefaultTypeInternal() {} + union { + CMsgSOMultipleObjects _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOMultipleObjectsDefaultTypeInternal _CMsgSOMultipleObjects_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.object_data_)*/{} + , /*decltype(_impl_.type_id_)*/0} {} +struct CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal() {} + union { + CMsgSOCacheSubscribed_SubscribedType _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal _CMsgSOCacheSubscribed_SubscribedType_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed::CMsgSOCacheSubscribed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.objects_)*/{} + , /*decltype(_impl_.owner_soid_)*/nullptr + , /*decltype(_impl_.version_)*/uint64_t{0u}} {} +struct CMsgSOCacheSubscribedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheSubscribedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheSubscribedDefaultTypeInternal() {} + union { + CMsgSOCacheSubscribed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscribedDefaultTypeInternal _CMsgSOCacheSubscribed_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.owner_soid_)*/nullptr} {} +struct CMsgSOCacheUnsubscribedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheUnsubscribedDefaultTypeInternal() {} + union { + CMsgSOCacheUnsubscribed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheUnsubscribedDefaultTypeInternal _CMsgSOCacheUnsubscribed_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.owner_soid_)*/nullptr + , /*decltype(_impl_.version_)*/uint64_t{0u}} {} +struct CMsgSOCacheSubscriptionCheckDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheckDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheSubscriptionCheckDefaultTypeInternal() {} + union { + CMsgSOCacheSubscriptionCheck _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscriptionCheckDefaultTypeInternal _CMsgSOCacheSubscriptionCheck_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.owner_soid_)*/nullptr} {} +struct CMsgSOCacheSubscriptionRefreshDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefreshDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheSubscriptionRefreshDefaultTypeInternal() {} + union { + CMsgSOCacheSubscriptionRefresh _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscriptionRefreshDefaultTypeInternal _CMsgSOCacheSubscriptionRefresh_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheVersion::CMsgSOCacheVersion( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.version_)*/uint64_t{0u}} {} +struct CMsgSOCacheVersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheVersionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheVersionDefaultTypeInternal() {} + union { + CMsgSOCacheVersion _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheVersionDefaultTypeInternal _CMsgSOCacheVersion_default_instance_; +PROTOBUF_CONSTEXPR CMsgAccountDetails::CMsgAccountDetails( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.account_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.valid_)*/false + , /*decltype(_impl_.public_profile_)*/false + , /*decltype(_impl_.public_inventory_)*/false + , /*decltype(_impl_.vac_banned_)*/false + , /*decltype(_impl_.cyber_cafe_)*/false + , /*decltype(_impl_.school_account_)*/false + , /*decltype(_impl_.free_trial_account_)*/false + , /*decltype(_impl_.subscribed_)*/false + , /*decltype(_impl_.low_violence_)*/false + , /*decltype(_impl_.limited_)*/false + , /*decltype(_impl_.trusted_)*/false + , /*decltype(_impl_.account_locked_)*/false + , /*decltype(_impl_.package_)*/0u + , /*decltype(_impl_.time_cached_)*/0u + , /*decltype(_impl_.community_banned_)*/false + , /*decltype(_impl_.trade_banned_)*/false + , /*decltype(_impl_.eligible_for_community_market_)*/false} {} +struct CMsgAccountDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgAccountDetailsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgAccountDetailsDefaultTypeInternal() {} + union { + CMsgAccountDetails _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAccountDetailsDefaultTypeInternal _CMsgAccountDetails_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage::CMsgGCMultiplexMessage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamids_)*/{} + , /*decltype(_impl_.payload_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.msgtype_)*/0u + , /*decltype(_impl_.replytogc_)*/false} {} +struct CMsgGCMultiplexMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCMultiplexMessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCMultiplexMessageDefaultTypeInternal() {} + union { + CMsgGCMultiplexMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCMultiplexMessageDefaultTypeInternal _CMsgGCMultiplexMessage_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.msgtype_)*/0u} {} +struct CMsgGCMultiplexMessage_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCMultiplexMessage_ResponseDefaultTypeInternal() {} + union { + CMsgGCMultiplexMessage_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCMultiplexMessage_ResponseDefaultTypeInternal _CMsgGCMultiplexMessage_Response_default_instance_; +PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck::CGCToGCMsgMasterAck( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dir_index_)*/0u + , /*decltype(_impl_.gc_type_)*/0u} {} +struct CGCToGCMsgMasterAckDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCToGCMsgMasterAckDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCToGCMsgMasterAckDefaultTypeInternal() {} + union { + CGCToGCMsgMasterAck _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterAckDefaultTypeInternal _CGCToGCMsgMasterAck_default_instance_; +PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eresult_)*/2} {} +struct CGCToGCMsgMasterAck_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCToGCMsgMasterAck_ResponseDefaultTypeInternal() {} + union { + CGCToGCMsgMasterAck_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterAck_ResponseDefaultTypeInternal _CGCToGCMsgMasterAck_Response_default_instance_; +PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete( + ::_pbi::ConstantInitialized) {} +struct CGCToGCMsgMasterStartupCompleteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupCompleteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCToGCMsgMasterStartupCompleteDefaultTypeInternal() {} + union { + CGCToGCMsgMasterStartupComplete _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterStartupCompleteDefaultTypeInternal _CGCToGCMsgMasterStartupComplete_default_instance_; +PROTOBUF_CONSTEXPR CGCToGCMsgRouted::CGCToGCMsgRouted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.net_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sender_id_)*/uint64_t{0u} + , /*decltype(_impl_.msg_type_)*/0u + , /*decltype(_impl_.ip_)*/0u} {} +struct CGCToGCMsgRoutedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCToGCMsgRoutedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCToGCMsgRoutedDefaultTypeInternal() {} + union { + CGCToGCMsgRouted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgRoutedDefaultTypeInternal _CGCToGCMsgRouted_default_instance_; +PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.net_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.msg_type_)*/0u} {} +struct CGCToGCMsgRoutedReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReplyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGCToGCMsgRoutedReplyDefaultTypeInternal() {} + union { + CGCToGCMsgRoutedReply _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgRoutedReplyDefaultTypeInternal _CGCToGCMsgRoutedReply_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.ip_)*/0u} {} +struct CMsgGCUpdateSessionIPDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIPDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCUpdateSessionIPDefaultTypeInternal() {} + union { + CMsgGCUpdateSessionIP _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCUpdateSessionIPDefaultTypeInternal _CMsgGCUpdateSessionIP_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCRequestSessionIP::CMsgGCRequestSessionIP( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} +struct CMsgGCRequestSessionIPDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCRequestSessionIPDefaultTypeInternal() {} + union { + CMsgGCRequestSessionIP _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestSessionIPDefaultTypeInternal _CMsgGCRequestSessionIP_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ip_)*/0u} {} +struct CMsgGCRequestSessionIPResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCRequestSessionIPResponseDefaultTypeInternal() {} + union { + CMsgGCRequestSessionIPResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestSessionIPResponseDefaultTypeInternal _CMsgGCRequestSessionIPResponse_default_instance_; +PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.soid_)*/nullptr + , /*decltype(_impl_.version_)*/uint64_t{0u}} {} +struct CMsgSOCacheHaveVersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSOCacheHaveVersionDefaultTypeInternal() {} + union { + CMsgSOCacheHaveVersion _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheHaveVersionDefaultTypeInternal _CMsgSOCacheHaveVersion_default_instance_; +PROTOBUF_CONSTEXPR CMsgClientHello::CMsgClientHello( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.socache_have_versions_)*/{} + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.client_session_need_)*/0u + , /*decltype(_impl_.client_launcher_)*/0u + , /*decltype(_impl_.partner_srcid_)*/0u + , /*decltype(_impl_.partner_accountid_)*/0u + , /*decltype(_impl_.partner_accountflags_)*/0u + , /*decltype(_impl_.partner_accountbalance_)*/0u + , /*decltype(_impl_.steam_launcher_)*/0u} {} +struct CMsgClientHelloDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClientHelloDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClientHelloDefaultTypeInternal() {} + union { + CMsgClientHello _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientHelloDefaultTypeInternal _CMsgClientHello_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerHello::CMsgServerHello( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.socache_have_versions_)*/{} + , /*decltype(_impl_.legacy_steamdatagram_routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamdatagram_login_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.legacy_client_session_need_)*/0u + , /*decltype(_impl_.client_launcher_)*/0u + , /*decltype(_impl_.required_internal_addr_)*/0u + , /*decltype(_impl_.socache_control_)*/0u} {} +struct CMsgServerHelloDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerHelloDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerHelloDefaultTypeInternal() {} + union { + CMsgServerHello _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerHelloDefaultTypeInternal _CMsgServerHello_default_instance_; +PROTOBUF_CONSTEXPR CMsgClientWelcome_Location::CMsgClientWelcome_Location( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.latitude_)*/0 + , /*decltype(_impl_.longitude_)*/0} {} +struct CMsgClientWelcome_LocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClientWelcome_LocationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClientWelcome_LocationDefaultTypeInternal() {} + union { + CMsgClientWelcome_Location _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientWelcome_LocationDefaultTypeInternal _CMsgClientWelcome_Location_default_instance_; +PROTOBUF_CONSTEXPR CMsgClientWelcome::CMsgClientWelcome( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.outofdate_subscribed_caches_)*/{} + , /*decltype(_impl_.uptodate_subscribed_caches_)*/{} + , /*decltype(_impl_.game_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.balance_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.txn_country_code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.location_)*/nullptr + , /*decltype(_impl_.version_)*/0u + , /*decltype(_impl_.rtime32_gc_welcome_timestamp_)*/0u + , /*decltype(_impl_.currency_)*/0u + , /*decltype(_impl_.balance_)*/0u} {} +struct CMsgClientWelcomeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgClientWelcomeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgClientWelcomeDefaultTypeInternal() {} + union { + CMsgClientWelcome _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientWelcomeDefaultTypeInternal _CMsgClientWelcome_default_instance_; +PROTOBUF_CONSTEXPR CMsgConnectionStatus::CMsgConnectionStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.status_)*/0 + , /*decltype(_impl_.client_session_need_)*/0u + , /*decltype(_impl_.queue_position_)*/0 + , /*decltype(_impl_.queue_size_)*/0 + , /*decltype(_impl_.wait_seconds_)*/0 + , /*decltype(_impl_.estimated_wait_seconds_remaining_)*/0} {} +struct CMsgConnectionStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgConnectionStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgConnectionStatusDefaultTypeInternal() {} + union { + CMsgConnectionStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConnectionStatusDefaultTypeInternal _CMsgConnectionStatus_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.item_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gameitemid_)*/0u + , /*decltype(_impl_.one_per_account_)*/false} {} +struct CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal() {} + union { + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.descriptions_)*/{} + , /*decltype(_impl_.language_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal() {} + union { + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.languages_)*/{} + , /*decltype(_impl_.appid_)*/0u} {} +struct CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal() {} + union { + CWorkshop_PopulateItemDescriptions_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Request::CWorkshop_GetContributors_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.gameitemid_)*/0u} {} +struct CWorkshop_GetContributors_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_GetContributors_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_GetContributors_RequestDefaultTypeInternal() {} + union { + CWorkshop_GetContributors_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_GetContributors_RequestDefaultTypeInternal _CWorkshop_GetContributors_Request_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Response::CWorkshop_GetContributors_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.contributors_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CWorkshop_GetContributors_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_GetContributors_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_GetContributors_ResponseDefaultTypeInternal() {} + union { + CWorkshop_GetContributors_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_GetContributors_ResponseDefaultTypeInternal _CWorkshop_GetContributors_Response_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.workshop_file_id_)*/uint64_t{0u} + , /*decltype(_impl_.revenue_percentage_)*/0 + , /*decltype(_impl_.rule_type_)*/1u} {} +struct CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal() {} + union { + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.workshop_file_id_)*/uint64_t{0u}} {} +struct CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal() {} + union { + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.account_id_)*/0u + , /*decltype(_impl_.revenue_percentage_)*/0} {} +struct CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal() {} + union { + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.associated_workshop_files_)*/{} + , /*decltype(_impl_.partner_accounts_)*/{} + , /*decltype(_impl_.associated_workshop_file_for_direct_payments_)*/nullptr + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.gameitemid_)*/0u + , /*decltype(_impl_.validate_only_)*/false + , /*decltype(_impl_.make_workshop_files_subscribable_)*/false} {} +struct CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal() {} + union { + CWorkshop_SetItemPaymentRules_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response( + ::_pbi::ConstantInitialized) {} +struct CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal() {} + union { + CWorkshop_SetItemPaymentRules_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Response_default_instance_; +PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.group_fields_)*/{} + , /*decltype(_impl_.filter_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CGameServers_AggregationQuery_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameServers_AggregationQuery_RequestDefaultTypeInternal() {} + union { + CGameServers_AggregationQuery_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_RequestDefaultTypeInternal _CGameServers_AggregationQuery_Request_default_instance_; +PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.group_values_)*/{} + , /*decltype(_impl_.servers_empty_)*/0u + , /*decltype(_impl_.servers_full_)*/0u + , /*decltype(_impl_.servers_total_)*/0u + , /*decltype(_impl_.players_humans_)*/0u + , /*decltype(_impl_.players_bots_)*/0u + , /*decltype(_impl_.player_capacity_)*/0u} {} +struct CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal() {} + union { + CGameServers_AggregationQuery_Response_Group _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal _CGameServers_AggregationQuery_Response_Group_default_instance_; +PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.groups_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CGameServers_AggregationQuery_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameServers_AggregationQuery_ResponseDefaultTypeInternal() {} + union { + CGameServers_AggregationQuery_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_ResponseDefaultTypeInternal _CGameServers_AggregationQuery_Response_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.date_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.gameitemid_)*/0u + , /*decltype(_impl_.payment_us_usd_)*/uint64_t{0u} + , /*decltype(_impl_.payment_row_usd_)*/uint64_t{0u}} {} +struct CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal() {} + union { + CWorkshop_AddSpecialPayment_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal _CWorkshop_AddSpecialPayment_Request_default_instance_; +PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response( + ::_pbi::ConstantInitialized) {} +struct CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal() {} + union { + CWorkshop_AddSpecialPayment_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal _CWorkshop_AddSpecialPayment_Response_default_instance_; +PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal { + PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal() {} + union { + CProductInfo_SetRichPresenceLocalization_Request_Token _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_; +PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tokens_)*/{} + , /*decltype(_impl_.language_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal() {} + union { + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_; +PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.languages_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal() {} + union { + CProductInfo_SetRichPresenceLocalization_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_default_instance_; +PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response( + ::_pbi::ConstantInitialized) {} +struct CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal() {} + union { + CProductInfo_SetRichPresenceLocalization_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Response_default_instance_; +PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.objects_)*/{} + , /*decltype(_impl_.type_)*/0u + , /*decltype(_impl_.service_id_)*/0u} {} +struct CMsgSerializedSOCache_TypeCacheDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCacheDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSerializedSOCache_TypeCacheDefaultTypeInternal() {} + union { + CMsgSerializedSOCache_TypeCache _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_TypeCacheDefaultTypeInternal _CMsgSerializedSOCache_TypeCache_default_instance_; +PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_Version( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.version_)*/uint64_t{0u} + , /*decltype(_impl_.service_)*/0u} {} +struct CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal() {} + union { + CMsgSerializedSOCache_Cache_Version _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal _CMsgSerializedSOCache_Cache_Version_default_instance_; +PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.versions_)*/{} + , /*decltype(_impl_.type_caches_)*/{} + , /*decltype(_impl_.id_)*/uint64_t{0u} + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgSerializedSOCache_CacheDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSerializedSOCache_CacheDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSerializedSOCache_CacheDefaultTypeInternal() {} + union { + CMsgSerializedSOCache_Cache _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_CacheDefaultTypeInternal _CMsgSerializedSOCache_Cache_default_instance_; +PROTOBUF_CONSTEXPR CMsgSerializedSOCache::CMsgSerializedSOCache( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.caches_)*/{} + , /*decltype(_impl_.file_version_)*/0u + , /*decltype(_impl_.gc_socache_file_version_)*/0u} {} +struct CMsgSerializedSOCacheDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSerializedSOCacheDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSerializedSOCacheDefaultTypeInternal() {} + union { + CMsgSerializedSOCache _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCacheDefaultTypeInternal _CMsgSerializedSOCache_default_instance_; +static ::_pb::Metadata file_level_metadata_gcsdk_5fgcmessages_2eproto[50]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gcsdk_5fgcmessages_2eproto = nullptr; + +const uint32_t TableStruct_gcsdk_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_.id_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.type_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.object_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.owner_soid_), + 3, + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_.type_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_.object_data_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.objects_modified_), + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.owner_soid_), + ~0u, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_.type_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_.object_data_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.objects_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.owner_soid_), + ~0u, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _impl_.owner_soid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_.owner_soid_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _impl_.owner_soid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _impl_.version_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.valid_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.account_name_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.public_profile_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.public_inventory_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.vac_banned_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.cyber_cafe_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.school_account_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.free_trial_account_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.subscribed_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.low_violence_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.limited_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.trusted_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.package_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.time_cached_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.account_locked_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.community_banned_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.trade_banned_), + PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.eligible_for_community_market_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 13, + 14, + 12, + 15, + 16, + 17, + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.msgtype_), + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.payload_), + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.steamids_), + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.replytogc_), + 1, + 0, + ~0u, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _impl_.msgtype_), + 0, + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_.dir_index_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_.gc_type_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _impl_.eresult_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterStartupComplete, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.msg_type_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.sender_id_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.net_message_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.ip_), + 2, + 1, + 0, + 3, + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_.msg_type_), + PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_.net_message_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_.ip_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _impl_.steamid_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _impl_.ip_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_.soid_), + PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_.version_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.socache_have_versions_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.client_session_need_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.client_launcher_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_srcid_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountid_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountflags_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountbalance_), + PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.steam_launcher_), + 0, + ~0u, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.socache_have_versions_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.legacy_client_session_need_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.client_launcher_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.legacy_steamdatagram_routing_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.required_internal_addr_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.steamdatagram_login_), + PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.socache_control_), + 2, + ~0u, + 3, + 4, + 0, + 5, + 1, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.latitude_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.longitude_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.country_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.version_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.game_data_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.outofdate_subscribed_caches_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.uptodate_subscribed_caches_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.location_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.game_data2_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.rtime32_gc_welcome_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.currency_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.balance_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.balance_url_), + PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.txn_country_code_), + 5, + 0, + ~0u, + ~0u, + 4, + 1, + 6, + 7, + 8, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.client_session_need_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.queue_position_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.queue_size_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.wait_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.estimated_wait_seconds_remaining_), + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.gameitemid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.item_description_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.one_per_account_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_.language_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_.descriptions_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_.languages_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_.gameitemid_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Response, _impl_.contributors_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.workshop_file_id_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.revenue_percentage_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.rule_description_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.rule_type_), + 1, + 2, + 0, + 3, + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_.workshop_file_id_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_.rule_description_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.account_id_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.revenue_percentage_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.rule_description_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.gameitemid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_files_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.partner_accounts_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.validate_only_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.make_workshop_files_subscribable_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_file_for_direct_payments_), + 1, + 2, + ~0u, + ~0u, + 3, + 4, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_.filter_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_.group_fields_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.group_values_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_empty_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_full_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_total_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.players_humans_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.players_bots_), + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.player_capacity_), + ~0u, + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response, _impl_.groups_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.gameitemid_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.date_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.payment_us_usd_), + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.payment_row_usd_), + 1, + 2, + 0, + 3, + 4, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_.token_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_.value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_.language_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_.tokens_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.languages_), + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.steamid_), + 1, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.objects_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.service_id_), + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_.service_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_.version_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.versions_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.type_caches_), + 1, + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.file_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.caches_), + PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.gc_socache_file_version_), + 0, + ~0u, + 1, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CMsgSOIDOwner)}, + { 10, 20, -1, sizeof(::CMsgSOSingleObject)}, + { 24, 32, -1, sizeof(::CMsgSOMultipleObjects_SingleObject)}, + { 34, 43, -1, sizeof(::CMsgSOMultipleObjects)}, + { 46, 54, -1, sizeof(::CMsgSOCacheSubscribed_SubscribedType)}, + { 56, 65, -1, sizeof(::CMsgSOCacheSubscribed)}, + { 68, 75, -1, sizeof(::CMsgSOCacheUnsubscribed)}, + { 76, 84, -1, sizeof(::CMsgSOCacheSubscriptionCheck)}, + { 86, 93, -1, sizeof(::CMsgSOCacheSubscriptionRefresh)}, + { 94, 101, -1, sizeof(::CMsgSOCacheVersion)}, + { 102, 126, -1, sizeof(::CMsgAccountDetails)}, + { 144, 154, -1, sizeof(::CMsgGCMultiplexMessage)}, + { 158, 165, -1, sizeof(::CMsgGCMultiplexMessage_Response)}, + { 166, 174, -1, sizeof(::CGCToGCMsgMasterAck)}, + { 176, 183, -1, sizeof(::CGCToGCMsgMasterAck_Response)}, + { 184, -1, -1, sizeof(::CGCToGCMsgMasterStartupComplete)}, + { 190, 200, -1, sizeof(::CGCToGCMsgRouted)}, + { 204, 212, -1, sizeof(::CGCToGCMsgRoutedReply)}, + { 214, 222, -1, sizeof(::CMsgGCUpdateSessionIP)}, + { 224, 231, -1, sizeof(::CMsgGCRequestSessionIP)}, + { 232, 239, -1, sizeof(::CMsgGCRequestSessionIPResponse)}, + { 240, 248, -1, sizeof(::CMsgSOCacheHaveVersion)}, + { 250, 265, -1, sizeof(::CMsgClientHello)}, + { 274, 288, -1, sizeof(::CMsgServerHello)}, + { 296, 305, -1, sizeof(::CMsgClientWelcome_Location)}, + { 308, 325, -1, sizeof(::CMsgClientWelcome)}, + { 336, 348, -1, sizeof(::CMsgConnectionStatus)}, + { 354, 363, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription)}, + { 366, 374, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock)}, + { 376, 384, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request)}, + { 386, 394, -1, sizeof(::CWorkshop_GetContributors_Request)}, + { 396, -1, -1, sizeof(::CWorkshop_GetContributors_Response)}, + { 403, 413, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule)}, + { 417, 425, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule)}, + { 427, 436, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule)}, + { 439, 452, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request)}, + { 459, -1, -1, sizeof(::CWorkshop_SetItemPaymentRules_Response)}, + { 465, 473, -1, sizeof(::CGameServers_AggregationQuery_Request)}, + { 475, 488, -1, sizeof(::CGameServers_AggregationQuery_Response_Group)}, + { 495, -1, -1, sizeof(::CGameServers_AggregationQuery_Response)}, + { 502, 513, -1, sizeof(::CWorkshop_AddSpecialPayment_Request)}, + { 518, -1, -1, sizeof(::CWorkshop_AddSpecialPayment_Response)}, + { 524, 532, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request_Token)}, + { 534, 542, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection)}, + { 544, 553, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request)}, + { 556, -1, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Response)}, + { 562, 571, -1, sizeof(::CMsgSerializedSOCache_TypeCache)}, + { 574, 582, -1, sizeof(::CMsgSerializedSOCache_Cache_Version)}, + { 584, 594, -1, sizeof(::CMsgSerializedSOCache_Cache)}, + { 598, 607, -1, sizeof(::CMsgSerializedSOCache)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSOIDOwner_default_instance_._instance, + &::_CMsgSOSingleObject_default_instance_._instance, + &::_CMsgSOMultipleObjects_SingleObject_default_instance_._instance, + &::_CMsgSOMultipleObjects_default_instance_._instance, + &::_CMsgSOCacheSubscribed_SubscribedType_default_instance_._instance, + &::_CMsgSOCacheSubscribed_default_instance_._instance, + &::_CMsgSOCacheUnsubscribed_default_instance_._instance, + &::_CMsgSOCacheSubscriptionCheck_default_instance_._instance, + &::_CMsgSOCacheSubscriptionRefresh_default_instance_._instance, + &::_CMsgSOCacheVersion_default_instance_._instance, + &::_CMsgAccountDetails_default_instance_._instance, + &::_CMsgGCMultiplexMessage_default_instance_._instance, + &::_CMsgGCMultiplexMessage_Response_default_instance_._instance, + &::_CGCToGCMsgMasterAck_default_instance_._instance, + &::_CGCToGCMsgMasterAck_Response_default_instance_._instance, + &::_CGCToGCMsgMasterStartupComplete_default_instance_._instance, + &::_CGCToGCMsgRouted_default_instance_._instance, + &::_CGCToGCMsgRoutedReply_default_instance_._instance, + &::_CMsgGCUpdateSessionIP_default_instance_._instance, + &::_CMsgGCRequestSessionIP_default_instance_._instance, + &::_CMsgGCRequestSessionIPResponse_default_instance_._instance, + &::_CMsgSOCacheHaveVersion_default_instance_._instance, + &::_CMsgClientHello_default_instance_._instance, + &::_CMsgServerHello_default_instance_._instance, + &::_CMsgClientWelcome_Location_default_instance_._instance, + &::_CMsgClientWelcome_default_instance_._instance, + &::_CMsgConnectionStatus_default_instance_._instance, + &::_CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_._instance, + &::_CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_._instance, + &::_CWorkshop_PopulateItemDescriptions_Request_default_instance_._instance, + &::_CWorkshop_GetContributors_Request_default_instance_._instance, + &::_CWorkshop_GetContributors_Response_default_instance_._instance, + &::_CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_._instance, + &::_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_._instance, + &::_CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_._instance, + &::_CWorkshop_SetItemPaymentRules_Request_default_instance_._instance, + &::_CWorkshop_SetItemPaymentRules_Response_default_instance_._instance, + &::_CGameServers_AggregationQuery_Request_default_instance_._instance, + &::_CGameServers_AggregationQuery_Response_Group_default_instance_._instance, + &::_CGameServers_AggregationQuery_Response_default_instance_._instance, + &::_CWorkshop_AddSpecialPayment_Request_default_instance_._instance, + &::_CWorkshop_AddSpecialPayment_Response_default_instance_._instance, + &::_CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_._instance, + &::_CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_._instance, + &::_CProductInfo_SetRichPresenceLocalization_Request_default_instance_._instance, + &::_CProductInfo_SetRichPresenceLocalization_Response_default_instance_._instance, + &::_CMsgSerializedSOCache_TypeCache_default_instance_._instance, + &::_CMsgSerializedSOCache_Cache_Version_default_instance_._instance, + &::_CMsgSerializedSOCache_Cache_default_instance_._instance, + &::_CMsgSerializedSOCache_default_instance_._instance, +}; + +const char descriptor_table_protodef_gcsdk_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\026gcsdk_gcmessages.proto\032\023steammessages." + "proto\")\n\rCMsgSOIDOwner\022\014\n\004type\030\001 \001(\r\022\n\n\002" + "id\030\002 \001(\004\"o\n\022CMsgSOSingleObject\022\017\n\007type_i" + "d\030\002 \001(\005\022\023\n\013object_data\030\003 \001(\014\022\017\n\007version\030" + "\004 \001(\006\022\"\n\nowner_soid\030\005 \001(\0132\016.CMsgSOIDOwne" + "r\"\315\001\n\025CMsgSOMultipleObjects\022=\n\020objects_m" + "odified\030\002 \003(\0132#.CMsgSOMultipleObjects.Si" + "ngleObject\022\017\n\007version\030\003 \001(\006\022\"\n\nowner_soi" + "d\030\006 \001(\0132\016.CMsgSOIDOwner\032@\n\014SingleObject\022" + "\017\n\007type_id\030\001 \001(\005\022\023\n\013object_data\030\002 \001(\014:\n\200" + "\246\035\200\002\210\246\035\200\010\"\274\001\n\025CMsgSOCacheSubscribed\0226\n\007o" + "bjects\030\002 \003(\0132%.CMsgSOCacheSubscribed.Sub" + "scribedType\022\017\n\007version\030\003 \001(\006\022\"\n\nowner_so" + "id\030\004 \001(\0132\016.CMsgSOIDOwner\0326\n\016SubscribedTy" + "pe\022\017\n\007type_id\030\001 \001(\005\022\023\n\013object_data\030\002 \003(\014" + "\"=\n\027CMsgSOCacheUnsubscribed\022\"\n\nowner_soi" + "d\030\002 \001(\0132\016.CMsgSOIDOwner\"S\n\034CMsgSOCacheSu" + "bscriptionCheck\022\017\n\007version\030\002 \001(\006\022\"\n\nowne" + "r_soid\030\003 \001(\0132\016.CMsgSOIDOwner\"D\n\036CMsgSOCa" + "cheSubscriptionRefresh\022\"\n\nowner_soid\030\002 \001" + "(\0132\016.CMsgSOIDOwner\"%\n\022CMsgSOCacheVersion" + "\022\017\n\007version\030\001 \001(\006\"\250\003\n\022CMsgAccountDetails" + "\022\r\n\005valid\030\001 \001(\010\022\024\n\014account_name\030\002 \001(\t\022\026\n" + "\016public_profile\030\004 \001(\010\022\030\n\020public_inventor" + "y\030\005 \001(\010\022\022\n\nvac_banned\030\006 \001(\010\022\022\n\ncyber_caf" + "e\030\007 \001(\010\022\026\n\016school_account\030\010 \001(\010\022\032\n\022free_" + "trial_account\030\t \001(\010\022\022\n\nsubscribed\030\n \001(\010\022" + "\024\n\014low_violence\030\013 \001(\010\022\017\n\007limited\030\014 \001(\010\022\017" + "\n\007trusted\030\r \001(\010\022\017\n\007package\030\016 \001(\r\022\023\n\013time" + "_cached\030\017 \001(\007\022\026\n\016account_locked\030\020 \001(\010\022\030\n" + "\020community_banned\030\021 \001(\010\022\024\n\014trade_banned\030" + "\022 \001(\010\022%\n\035eligible_for_community_market\030\023" + " \001(\010\"_\n\026CMsgGCMultiplexMessage\022\017\n\007msgtyp" + "e\030\001 \001(\r\022\017\n\007payload\030\002 \001(\014\022\020\n\010steamids\030\003 \003" + "(\006\022\021\n\treplytogc\030\004 \001(\010\"2\n\037CMsgGCMultiplex" + "Message_Response\022\017\n\007msgtype\030\001 \001(\r\"9\n\023CGC" + "ToGCMsgMasterAck\022\021\n\tdir_index\030\001 \001(\r\022\017\n\007g" + "c_type\030\002 \001(\r\"2\n\034CGCToGCMsgMasterAck_Resp" + "onse\022\022\n\007eresult\030\001 \001(\005:\0012\"!\n\037CGCToGCMsgMa" + "sterStartupComplete\"X\n\020CGCToGCMsgRouted\022" + "\020\n\010msg_type\030\001 \001(\r\022\021\n\tsender_id\030\002 \001(\006\022\023\n\013" + "net_message\030\003 \001(\014\022\n\n\002ip\030\004 \001(\r\">\n\025CGCToGC" + "MsgRoutedReply\022\020\n\010msg_type\030\001 \001(\r\022\023\n\013net_" + "message\030\002 \001(\014\"4\n\025CMsgGCUpdateSessionIP\022\017" + "\n\007steamid\030\001 \001(\006\022\n\n\002ip\030\002 \001(\007\")\n\026CMsgGCReq" + "uestSessionIP\022\017\n\007steamid\030\001 \001(\006\",\n\036CMsgGC" + "RequestSessionIPResponse\022\n\n\002ip\030\001 \001(\007\"G\n\026" + "CMsgSOCacheHaveVersion\022\034\n\004soid\030\001 \001(\0132\016.C" + "MsgSOIDOwner\022\017\n\007version\030\002 \001(\006\"\230\002\n\017CMsgCl" + "ientHello\022\017\n\007version\030\001 \001(\r\0226\n\025socache_ha" + "ve_versions\030\002 \003(\0132\027.CMsgSOCacheHaveVersi" + "on\022\033\n\023client_session_need\030\003 \001(\r\022\027\n\017clien" + "t_launcher\030\004 \001(\r\022\025\n\rpartner_srcid\030\005 \001(\r\022" + "\031\n\021partner_accountid\030\006 \001(\r\022\034\n\024partner_ac" + "countflags\030\007 \001(\r\022\036\n\026partner_accountbalan" + "ce\030\010 \001(\r\022\026\n\016steam_launcher\030\t \001(\r\"\223\002\n\017CMs" + "gServerHello\022\017\n\007version\030\001 \001(\r\0226\n\025socache" + "_have_versions\030\002 \003(\0132\027.CMsgSOCacheHaveVe" + "rsion\022\"\n\032legacy_client_session_need\030\003 \001(" + "\r\022\027\n\017client_launcher\030\004 \001(\r\022$\n\034legacy_ste" + "amdatagram_routing\030\006 \001(\014\022\036\n\026required_int" + "ernal_addr\030\007 \001(\r\022\033\n\023steamdatagram_login\030" + "\010 \001(\014\022\027\n\017socache_control\030\t \001(\r\"\264\003\n\021CMsgC" + "lientWelcome\022\017\n\007version\030\001 \001(\r\022\021\n\tgame_da" + "ta\030\002 \001(\014\022;\n\033outofdate_subscribed_caches\030" + "\003 \003(\0132\026.CMsgSOCacheSubscribed\022A\n\032uptodat" + "e_subscribed_caches\030\004 \003(\0132\035.CMsgSOCacheS" + "ubscriptionCheck\022-\n\010location\030\005 \001(\0132\033.CMs" + "gClientWelcome.Location\022\022\n\ngame_data2\030\006 " + "\001(\014\022$\n\034rtime32_gc_welcome_timestamp\030\007 \001(" + "\r\022\020\n\010currency\030\010 \001(\r\022\017\n\007balance\030\t \001(\r\022\023\n\013" + "balance_url\030\n \001(\t\022\030\n\020txn_country_code\030\013 " + "\001(\t\032@\n\010Location\022\020\n\010latitude\030\001 \001(\002\022\021\n\tlon" + "gitude\030\002 \001(\002\022\017\n\007country\030\003 \001(\t\"\345\001\n\024CMsgCo" + "nnectionStatus\022D\n\006status\030\001 \001(\0162\023.GCConne" + "ctionStatus:\037GCConnectionStatus_HAVE_SES" + "SION\022\033\n\023client_session_need\030\002 \001(\r\022\026\n\016que" + "ue_position\030\003 \001(\005\022\022\n\nqueue_size\030\004 \001(\005\022\024\n" + "\014wait_seconds\030\005 \001(\005\022(\n estimated_wait_se" + "conds_remaining\030\006 \001(\005\"\206\003\n*CWorkshop_Popu" + "lateItemDescriptions_Request\022\r\n\005appid\030\001 " + "\001(\r\022\\\n\tlanguages\030\002 \003(\0132I.CWorkshop_Popul" + "ateItemDescriptions_Request.ItemDescript" + "ionsLanguageBlock\032^\n\025SingleItemDescripti" + "on\022\022\n\ngameitemid\030\001 \001(\r\022\030\n\020item_descripti" + "on\030\002 \001(\t\022\027\n\017one_per_account\030\003 \001(\010\032\212\001\n\035It" + "emDescriptionsLanguageBlock\022\020\n\010language\030" + "\001 \001(\t\022W\n\014descriptions\030\002 \003(\0132A.CWorkshop_" + "PopulateItemDescriptions_Request.SingleI" + "temDescription\"F\n!CWorkshop_GetContribut" + "ors_Request\022\r\n\005appid\030\001 \001(\r\022\022\n\ngameitemid" + "\030\002 \001(\r\":\n\"CWorkshop_GetContributors_Resp" + "onse\022\024\n\014contributors\030\001 \003(\006\"\365\005\n%CWorkshop" + "_SetItemPaymentRules_Request\022\r\n\005appid\030\001 " + "\001(\r\022\022\n\ngameitemid\030\002 \001(\r\022a\n\031associated_wo" + "rkshop_files\030\003 \003(\0132>.CWorkshop_SetItemPa" + "ymentRules_Request.WorkshopItemPaymentRu" + "le\022W\n\020partner_accounts\030\004 \003(\0132=.CWorkshop" + "_SetItemPaymentRules_Request.PartnerItem" + "PaymentRule\022\025\n\rvalidate_only\030\005 \001(\010\022(\n ma" + "ke_workshop_files_subscribable\030\006 \001(\010\022v\n," + "associated_workshop_file_for_direct_paym" + "ents\030\007 \001(\0132@.CWorkshop_SetItemPaymentRul" + "es_Request.WorkshopDirectPaymentRule\032\177\n\027" + "WorkshopItemPaymentRule\022\030\n\020workshop_file" + "_id\030\001 \001(\004\022\032\n\022revenue_percentage\030\002 \001(\002\022\030\n" + "\020rule_description\030\003 \001(\t\022\024\n\trule_type\030\004 \001" + "(\r:\0011\032O\n\031WorkshopDirectPaymentRule\022\030\n\020wo" + "rkshop_file_id\030\001 \001(\004\022\030\n\020rule_description" + "\030\002 \001(\t\032b\n\026PartnerItemPaymentRule\022\022\n\nacco" + "unt_id\030\001 \001(\r\022\032\n\022revenue_percentage\030\002 \001(\002" + "\022\030\n\020rule_description\030\003 \001(\t\"(\n&CWorkshop_" + "SetItemPaymentRules_Response\"M\n%CGameSer" + "vers_AggregationQuery_Request\022\016\n\006filter\030" + "\001 \001(\t\022\024\n\014group_fields\030\003 \003(\t\"\222\002\n&CGameSer" + "vers_AggregationQuery_Response\022=\n\006groups" + "\030\001 \003(\0132-.CGameServers_AggregationQuery_R" + "esponse.Group\032\250\001\n\005Group\022\024\n\014group_values\030" + "\001 \003(\t\022\025\n\rservers_empty\030\002 \001(\r\022\024\n\014servers_" + "full\030\003 \001(\r\022\025\n\rservers_total\030\004 \001(\r\022\026\n\016pla" + "yers_humans\030\005 \001(\r\022\024\n\014players_bots\030\006 \001(\r\022" + "\027\n\017player_capacity\030\007 \001(\r\"\207\001\n#CWorkshop_A" + "ddSpecialPayment_Request\022\r\n\005appid\030\001 \001(\r\022" + "\022\n\ngameitemid\030\002 \001(\r\022\014\n\004date\030\003 \001(\t\022\026\n\016pay" + "ment_us_usd\030\004 \001(\004\022\027\n\017payment_row_usd\030\005 \001" + "(\004\"&\n$CWorkshop_AddSpecialPayment_Respon" + "se\"\275\002\n0CProductInfo_SetRichPresenceLocal" + "ization_Request\022\r\n\005appid\030\001 \001(\r\022T\n\tlangua" + "ges\030\002 \003(\0132A.CProductInfo_SetRichPresence" + "Localization_Request.LanguageSection\022\017\n\007" + "steamid\030\003 \001(\004\032%\n\005Token\022\r\n\005token\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t\032l\n\017LanguageSection\022\020\n\010langu" + "age\030\001 \001(\t\022G\n\006tokens\030\002 \003(\01327.CProductInfo" + "_SetRichPresenceLocalization_Request.Tok" + "en\"3\n1CProductInfo_SetRichPresenceLocali" + "zation_Response\"\374\002\n\025CMsgSerializedSOCach" + "e\022\024\n\014file_version\030\001 \001(\r\022,\n\006caches\030\002 \003(\0132" + "\034.CMsgSerializedSOCache.Cache\022\037\n\027gc_soca" + "che_file_version\030\003 \001(\r\032>\n\tTypeCache\022\014\n\004t" + "ype\030\001 \001(\r\022\017\n\007objects\030\002 \003(\014\022\022\n\nservice_id" + "\030\003 \001(\r\032\275\001\n\005Cache\022\014\n\004type\030\001 \001(\r\022\n\n\002id\030\002 \001" + "(\004\0226\n\010versions\030\003 \003(\0132$.CMsgSerializedSOC" + "ache.Cache.Version\0225\n\013type_caches\030\004 \003(\0132" + " .CMsgSerializedSOCache.TypeCache\032+\n\007Ver" + "sion\022\017\n\007service\030\001 \001(\r\022\017\n\007version\030\002 \001(\004*\246" + "\001\n\024GCClientLauncherType\022 \n\034GCClientLaunc" + "herType_DEFAULT\020\000\022%\n!GCClientLauncherTyp" + "e_PERFECTWORLD\020\001\022#\n\037GCClientLauncherType" + "_STEAMCHINA\020\002\022 \n\034GCClientLauncherType_SO" + "URCE2\020\003*\325\001\n\022GCConnectionStatus\022#\n\037GCConn" + "ectionStatus_HAVE_SESSION\020\000\022$\n GCConnect" + "ionStatus_GC_GOING_DOWN\020\001\022!\n\035GCConnectio" + "nStatus_NO_SESSION\020\002\0220\n,GCConnectionStat" + "us_NO_SESSION_IN_LOGON_QUEUE\020\003\022\037\n\033GCConn" + "ectionStatus_NO_STEAM\020\004" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_gcsdk_5fgcmessages_2eproto_deps[1] = { + &::descriptor_table_steammessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_gcsdk_5fgcmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_gcsdk_5fgcmessages_2eproto = { + false, false, 6183, descriptor_table_protodef_gcsdk_5fgcmessages_2eproto, + "gcsdk_gcmessages.proto", + &descriptor_table_gcsdk_5fgcmessages_2eproto_once, descriptor_table_gcsdk_5fgcmessages_2eproto_deps, 1, 50, + schemas, file_default_instances, TableStruct_gcsdk_5fgcmessages_2eproto::offsets, + file_level_metadata_gcsdk_5fgcmessages_2eproto, file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto, + file_level_service_descriptors_gcsdk_5fgcmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gcsdk_5fgcmessages_2eproto_getter() { + return &descriptor_table_gcsdk_5fgcmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gcsdk_5fgcmessages_2eproto(&descriptor_table_gcsdk_5fgcmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCClientLauncherType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsdk_5fgcmessages_2eproto); + return file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[0]; +} +bool GCClientLauncherType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCConnectionStatus_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsdk_5fgcmessages_2eproto); + return file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[1]; +} +bool GCConnectionStatus_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgSOIDOwner::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSOIDOwner::CMsgSOIDOwner(::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:CMsgSOIDOwner) +} +CMsgSOIDOwner::CMsgSOIDOwner(const CMsgSOIDOwner& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOIDOwner* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgSOIDOwner) +} + +inline void CMsgSOIDOwner::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){uint64_t{0u}} + , decltype(_impl_.type_){0u} + }; +} + +CMsgSOIDOwner::~CMsgSOIDOwner() { + // @@protoc_insertion_point(destructor:CMsgSOIDOwner) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOIDOwner::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSOIDOwner::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOIDOwner::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOIDOwner) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOIDOwner::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOIDOwner::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOIDOwner) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); + } + + // optional uint64 id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_id(), 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:CMsgSOIDOwner) + return target; +} + +size_t CMsgSOIDOwner::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOIDOwner) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); + } + + // optional uint32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOIDOwner::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOIDOwner::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOIDOwner::GetClassData() const { return &_class_data_; } + + +void CMsgSOIDOwner::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:CMsgSOIDOwner) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOIDOwner::CopyFrom(const CMsgSOIDOwner& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOIDOwner) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOIDOwner::IsInitialized() const { + return true; +} + +void CMsgSOIDOwner::InternalSwap(CMsgSOIDOwner* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOIDOwner, _impl_.type_) + + sizeof(CMsgSOIDOwner::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgSOIDOwner, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOIDOwner::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[0]); +} + +// =================================================================== + +class CMsgSOSingleObject::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_object_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOSingleObject* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOSingleObject::_Internal::owner_soid(const CMsgSOSingleObject* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOSingleObject::CMsgSOSingleObject(::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:CMsgSOSingleObject) +} +CMsgSOSingleObject::CMsgSOSingleObject(const CMsgSOSingleObject& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOSingleObject* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){} + , decltype(_impl_.type_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.object_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_object_data()) { + _this->_impl_.object_data_.Set(from._internal_object_data(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.type_id_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.type_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSOSingleObject) +} + +inline void CMsgSOSingleObject::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){uint64_t{0u}} + , decltype(_impl_.type_id_){0} + }; + _impl_.object_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSOSingleObject::~CMsgSOSingleObject() { + // @@protoc_insertion_point(destructor:CMsgSOSingleObject) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOSingleObject::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.object_data_.Destroy(); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOSingleObject::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOSingleObject::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOSingleObject) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.object_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.type_id_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.type_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOSingleObject::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_type_id(&has_bits); + _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes object_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_object_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSOIDOwner owner_soid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOSingleObject::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOSingleObject) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_type_id(), target); + } + + // optional bytes object_data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_object_data(), target); + } + + // optional fixed64 version = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_version(), target); + } + + // optional .CMsgSOIDOwner owner_soid = 5; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOSingleObject) + return target; +} + +size_t CMsgSOSingleObject::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOSingleObject) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes object_data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_object_data()); + } + + // optional .CMsgSOIDOwner owner_soid = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + // optional fixed64 version = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional int32 type_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOSingleObject::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOSingleObject::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOSingleObject::GetClassData() const { return &_class_data_; } + + +void CMsgSOSingleObject::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:CMsgSOSingleObject) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_object_data(from._internal_object_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.type_id_ = from._impl_.type_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOSingleObject::CopyFrom(const CMsgSOSingleObject& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOSingleObject) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOSingleObject::IsInitialized() const { + return true; +} + +void CMsgSOSingleObject::InternalSwap(CMsgSOSingleObject* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.object_data_, lhs_arena, + &other->_impl_.object_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOSingleObject, _impl_.type_id_) + + sizeof(CMsgSOSingleObject::_impl_.type_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSOSingleObject, _impl_.owner_soid_)>( + reinterpret_cast(&_impl_.owner_soid_), + reinterpret_cast(&other->_impl_.owner_soid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOSingleObject::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[1]); +} + +// =================================================================== + +class CMsgSOMultipleObjects_SingleObject::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_object_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject(::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:CMsgSOMultipleObjects.SingleObject) +} +CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject(const CMsgSOMultipleObjects_SingleObject& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOMultipleObjects_SingleObject* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){} + , decltype(_impl_.type_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.object_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_object_data()) { + _this->_impl_.object_data_.Set(from._internal_object_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.type_id_ = from._impl_.type_id_; + // @@protoc_insertion_point(copy_constructor:CMsgSOMultipleObjects.SingleObject) +} + +inline void CMsgSOMultipleObjects_SingleObject::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){} + , decltype(_impl_.type_id_){0} + }; + _impl_.object_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSOMultipleObjects_SingleObject::~CMsgSOMultipleObjects_SingleObject() { + // @@protoc_insertion_point(destructor:CMsgSOMultipleObjects.SingleObject) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOMultipleObjects_SingleObject::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.object_data_.Destroy(); +} + +void CMsgSOMultipleObjects_SingleObject::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOMultipleObjects_SingleObject::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOMultipleObjects.SingleObject) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.object_data_.ClearNonDefaultToEmpty(); + } + _impl_.type_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOMultipleObjects_SingleObject::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type_id(&has_bits); + _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes object_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_object_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOMultipleObjects_SingleObject::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOMultipleObjects.SingleObject) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type_id(), target); + } + + // optional bytes object_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_object_data(), 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:CMsgSOMultipleObjects.SingleObject) + return target; +} + +size_t CMsgSOMultipleObjects_SingleObject::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOMultipleObjects.SingleObject) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes object_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_object_data()); + } + + // optional int32 type_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOMultipleObjects_SingleObject::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOMultipleObjects_SingleObject::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOMultipleObjects_SingleObject::GetClassData() const { return &_class_data_; } + + +void CMsgSOMultipleObjects_SingleObject::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:CMsgSOMultipleObjects.SingleObject) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_object_data(from._internal_object_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_id_ = from._impl_.type_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOMultipleObjects_SingleObject::CopyFrom(const CMsgSOMultipleObjects_SingleObject& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOMultipleObjects.SingleObject) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOMultipleObjects_SingleObject::IsInitialized() const { + return true; +} + +void CMsgSOMultipleObjects_SingleObject::InternalSwap(CMsgSOMultipleObjects_SingleObject* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.object_data_, lhs_arena, + &other->_impl_.object_data_, rhs_arena + ); + swap(_impl_.type_id_, other->_impl_.type_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOMultipleObjects_SingleObject::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[2]); +} + +// =================================================================== + +class CMsgSOMultipleObjects::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOMultipleObjects* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOMultipleObjects::_Internal::owner_soid(const CMsgSOMultipleObjects* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOMultipleObjects::CMsgSOMultipleObjects(::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:CMsgSOMultipleObjects) +} +CMsgSOMultipleObjects::CMsgSOMultipleObjects(const CMsgSOMultipleObjects& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOMultipleObjects* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_modified_){from._impl_.objects_modified_} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + _this->_impl_.version_ = from._impl_.version_; + // @@protoc_insertion_point(copy_constructor:CMsgSOMultipleObjects) +} + +inline void CMsgSOMultipleObjects::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_modified_){arena} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){uint64_t{0u}} + }; +} + +CMsgSOMultipleObjects::~CMsgSOMultipleObjects() { + // @@protoc_insertion_point(destructor:CMsgSOMultipleObjects) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOMultipleObjects::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.objects_modified_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOMultipleObjects::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOMultipleObjects::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOMultipleObjects) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.objects_modified_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOMultipleObjects::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_objects_modified(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional fixed64 version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSOIDOwner owner_soid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOMultipleObjects::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOMultipleObjects) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_objects_modified_size()); i < n; i++) { + const auto& repfield = this->_internal_objects_modified(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 version = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_version(), target); + } + + // optional .CMsgSOIDOwner owner_soid = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOMultipleObjects) + return target; +} + +size_t CMsgSOMultipleObjects::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOMultipleObjects) + 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 .CMsgSOMultipleObjects.SingleObject objects_modified = 2; + total_size += 1UL * this->_internal_objects_modified_size(); + for (const auto& msg : this->_impl_.objects_modified_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSOIDOwner owner_soid = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + // optional fixed64 version = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOMultipleObjects::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOMultipleObjects::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOMultipleObjects::GetClassData() const { return &_class_data_; } + + +void CMsgSOMultipleObjects::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:CMsgSOMultipleObjects) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.objects_modified_.MergeFrom(from._impl_.objects_modified_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOMultipleObjects::CopyFrom(const CMsgSOMultipleObjects& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOMultipleObjects) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOMultipleObjects::IsInitialized() const { + return true; +} + +void CMsgSOMultipleObjects::InternalSwap(CMsgSOMultipleObjects* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.objects_modified_.InternalSwap(&other->_impl_.objects_modified_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOMultipleObjects, _impl_.version_) + + sizeof(CMsgSOMultipleObjects::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CMsgSOMultipleObjects, _impl_.owner_soid_)>( + reinterpret_cast(&_impl_.owner_soid_), + reinterpret_cast(&other->_impl_.owner_soid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOMultipleObjects::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[3]); +} + +// =================================================================== + +class CMsgSOCacheSubscribed_SubscribedType::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType(::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:CMsgSOCacheSubscribed.SubscribedType) +} +CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType(const CMsgSOCacheSubscribed_SubscribedType& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheSubscribed_SubscribedType* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){from._impl_.object_data_} + , decltype(_impl_.type_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.type_id_ = from._impl_.type_id_; + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscribed.SubscribedType) +} + +inline void CMsgSOCacheSubscribed_SubscribedType::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.object_data_){arena} + , decltype(_impl_.type_id_){0} + }; +} + +CMsgSOCacheSubscribed_SubscribedType::~CMsgSOCacheSubscribed_SubscribedType() { + // @@protoc_insertion_point(destructor:CMsgSOCacheSubscribed.SubscribedType) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheSubscribed_SubscribedType::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.object_data_.~RepeatedPtrField(); +} + +void CMsgSOCacheSubscribed_SubscribedType::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheSubscribed_SubscribedType::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscribed.SubscribedType) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.object_data_.Clear(); + _impl_.type_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheSubscribed_SubscribedType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type_id(&has_bits); + _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes object_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_object_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheSubscribed_SubscribedType::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscribed.SubscribedType) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type_id(), target); + } + + // repeated bytes object_data = 2; + for (int i = 0, n = this->_internal_object_data_size(); i < n; i++) { + const auto& s = this->_internal_object_data(i); + target = stream->WriteBytes(2, 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:CMsgSOCacheSubscribed.SubscribedType) + return target; +} + +size_t CMsgSOCacheSubscribed_SubscribedType::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscribed.SubscribedType) + 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 bytes object_data = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.object_data_.size()); + for (int i = 0, n = _impl_.object_data_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.object_data_.Get(i)); + } + + // optional int32 type_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscribed_SubscribedType::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheSubscribed_SubscribedType::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscribed_SubscribedType::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheSubscribed_SubscribedType::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:CMsgSOCacheSubscribed.SubscribedType) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.object_data_.MergeFrom(from._impl_.object_data_); + if (from._internal_has_type_id()) { + _this->_internal_set_type_id(from._internal_type_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheSubscribed_SubscribedType::CopyFrom(const CMsgSOCacheSubscribed_SubscribedType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscribed.SubscribedType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheSubscribed_SubscribedType::IsInitialized() const { + return true; +} + +void CMsgSOCacheSubscribed_SubscribedType::InternalSwap(CMsgSOCacheSubscribed_SubscribedType* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.object_data_.InternalSwap(&other->_impl_.object_data_); + swap(_impl_.type_id_, other->_impl_.type_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscribed_SubscribedType::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[4]); +} + +// =================================================================== + +class CMsgSOCacheSubscribed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscribed* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOCacheSubscribed::_Internal::owner_soid(const CMsgSOCacheSubscribed* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOCacheSubscribed::CMsgSOCacheSubscribed(::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:CMsgSOCacheSubscribed) +} +CMsgSOCacheSubscribed::CMsgSOCacheSubscribed(const CMsgSOCacheSubscribed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheSubscribed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_){from._impl_.objects_} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + _this->_impl_.version_ = from._impl_.version_; + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscribed) +} + +inline void CMsgSOCacheSubscribed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_){arena} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){uint64_t{0u}} + }; +} + +CMsgSOCacheSubscribed::~CMsgSOCacheSubscribed() { + // @@protoc_insertion_point(destructor:CMsgSOCacheSubscribed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheSubscribed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.objects_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOCacheSubscribed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheSubscribed::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscribed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.objects_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheSubscribed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_objects(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional fixed64 version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSOIDOwner owner_soid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheSubscribed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscribed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_objects_size()); i < n; i++) { + const auto& repfield = this->_internal_objects(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 version = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_version(), target); + } + + // optional .CMsgSOIDOwner owner_soid = 4; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOCacheSubscribed) + return target; +} + +size_t CMsgSOCacheSubscribed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscribed) + 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 .CMsgSOCacheSubscribed.SubscribedType objects = 2; + total_size += 1UL * this->_internal_objects_size(); + for (const auto& msg : this->_impl_.objects_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSOIDOwner owner_soid = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + // optional fixed64 version = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscribed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheSubscribed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscribed::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheSubscribed::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:CMsgSOCacheSubscribed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.objects_.MergeFrom(from._impl_.objects_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheSubscribed::CopyFrom(const CMsgSOCacheSubscribed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscribed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheSubscribed::IsInitialized() const { + return true; +} + +void CMsgSOCacheSubscribed::InternalSwap(CMsgSOCacheSubscribed* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.objects_.InternalSwap(&other->_impl_.objects_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscribed, _impl_.version_) + + sizeof(CMsgSOCacheSubscribed::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscribed, _impl_.owner_soid_)>( + reinterpret_cast(&_impl_.owner_soid_), + reinterpret_cast(&other->_impl_.owner_soid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscribed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[5]); +} + +// =================================================================== + +class CMsgSOCacheUnsubscribed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheUnsubscribed* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOCacheUnsubscribed::_Internal::owner_soid(const CMsgSOCacheUnsubscribed* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed(::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:CMsgSOCacheUnsubscribed) +} +CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed(const CMsgSOCacheUnsubscribed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheUnsubscribed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheUnsubscribed) +} + +inline void CMsgSOCacheUnsubscribed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr} + }; +} + +CMsgSOCacheUnsubscribed::~CMsgSOCacheUnsubscribed() { + // @@protoc_insertion_point(destructor:CMsgSOCacheUnsubscribed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheUnsubscribed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOCacheUnsubscribed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheUnsubscribed::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheUnsubscribed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheUnsubscribed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSOIDOwner owner_soid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheUnsubscribed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheUnsubscribed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSOIDOwner owner_soid = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOCacheUnsubscribed) + return target; +} + +size_t CMsgSOCacheUnsubscribed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheUnsubscribed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgSOIDOwner owner_soid = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheUnsubscribed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheUnsubscribed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheUnsubscribed::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheUnsubscribed::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:CMsgSOCacheUnsubscribed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_owner_soid()) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheUnsubscribed::CopyFrom(const CMsgSOCacheUnsubscribed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheUnsubscribed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheUnsubscribed::IsInitialized() const { + return true; +} + +void CMsgSOCacheUnsubscribed::InternalSwap(CMsgSOCacheUnsubscribed* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.owner_soid_, other->_impl_.owner_soid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheUnsubscribed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[6]); +} + +// =================================================================== + +class CMsgSOCacheSubscriptionCheck::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscriptionCheck* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOCacheSubscriptionCheck::_Internal::owner_soid(const CMsgSOCacheSubscriptionCheck* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck(::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:CMsgSOCacheSubscriptionCheck) +} +CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck(const CMsgSOCacheSubscriptionCheck& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheSubscriptionCheck* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + _this->_impl_.version_ = from._impl_.version_; + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscriptionCheck) +} + +inline void CMsgSOCacheSubscriptionCheck::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr} + , decltype(_impl_.version_){uint64_t{0u}} + }; +} + +CMsgSOCacheSubscriptionCheck::~CMsgSOCacheSubscriptionCheck() { + // @@protoc_insertion_point(destructor:CMsgSOCacheSubscriptionCheck) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheSubscriptionCheck::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOCacheSubscriptionCheck::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheSubscriptionCheck::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscriptionCheck) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheSubscriptionCheck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSOIDOwner owner_soid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheSubscriptionCheck::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscriptionCheck) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 version = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_version(), target); + } + + // optional .CMsgSOIDOwner owner_soid = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOCacheSubscriptionCheck) + return target; +} + +size_t CMsgSOCacheSubscriptionCheck::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscriptionCheck) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSOIDOwner owner_soid = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + // optional fixed64 version = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscriptionCheck::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheSubscriptionCheck::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscriptionCheck::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheSubscriptionCheck::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:CMsgSOCacheSubscriptionCheck) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheSubscriptionCheck::CopyFrom(const CMsgSOCacheSubscriptionCheck& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscriptionCheck) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheSubscriptionCheck::IsInitialized() const { + return true; +} + +void CMsgSOCacheSubscriptionCheck::InternalSwap(CMsgSOCacheSubscriptionCheck* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscriptionCheck, _impl_.version_) + + sizeof(CMsgSOCacheSubscriptionCheck::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscriptionCheck, _impl_.owner_soid_)>( + reinterpret_cast(&_impl_.owner_soid_), + reinterpret_cast(&other->_impl_.owner_soid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscriptionCheck::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[7]); +} + +// =================================================================== + +class CMsgSOCacheSubscriptionRefresh::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscriptionRefresh* msg); + static void set_has_owner_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOCacheSubscriptionRefresh::_Internal::owner_soid(const CMsgSOCacheSubscriptionRefresh* msg) { + return *msg->_impl_.owner_soid_; +} +CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh(::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:CMsgSOCacheSubscriptionRefresh) +} +CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh(const CMsgSOCacheSubscriptionRefresh& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheSubscriptionRefresh* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_owner_soid()) { + _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscriptionRefresh) +} + +inline void CMsgSOCacheSubscriptionRefresh::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.owner_soid_){nullptr} + }; +} + +CMsgSOCacheSubscriptionRefresh::~CMsgSOCacheSubscriptionRefresh() { + // @@protoc_insertion_point(destructor:CMsgSOCacheSubscriptionRefresh) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheSubscriptionRefresh::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.owner_soid_; +} + +void CMsgSOCacheSubscriptionRefresh::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheSubscriptionRefresh::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscriptionRefresh) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); + _impl_.owner_soid_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheSubscriptionRefresh::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSOIDOwner owner_soid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheSubscriptionRefresh::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscriptionRefresh) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSOIDOwner owner_soid = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::owner_soid(this), + _Internal::owner_soid(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:CMsgSOCacheSubscriptionRefresh) + return target; +} + +size_t CMsgSOCacheSubscriptionRefresh::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscriptionRefresh) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgSOIDOwner owner_soid = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.owner_soid_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscriptionRefresh::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheSubscriptionRefresh::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscriptionRefresh::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheSubscriptionRefresh::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:CMsgSOCacheSubscriptionRefresh) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_owner_soid()) { + _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_owner_soid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheSubscriptionRefresh::CopyFrom(const CMsgSOCacheSubscriptionRefresh& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscriptionRefresh) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheSubscriptionRefresh::IsInitialized() const { + return true; +} + +void CMsgSOCacheSubscriptionRefresh::InternalSwap(CMsgSOCacheSubscriptionRefresh* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.owner_soid_, other->_impl_.owner_soid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscriptionRefresh::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[8]); +} + +// =================================================================== + +class CMsgSOCacheVersion::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSOCacheVersion::CMsgSOCacheVersion(::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:CMsgSOCacheVersion) +} +CMsgSOCacheVersion::CMsgSOCacheVersion(const CMsgSOCacheVersion& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheVersion* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.version_ = from._impl_.version_; + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheVersion) +} + +inline void CMsgSOCacheVersion::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.version_){uint64_t{0u}} + }; +} + +CMsgSOCacheVersion::~CMsgSOCacheVersion() { + // @@protoc_insertion_point(destructor:CMsgSOCacheVersion) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheVersion::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSOCacheVersion::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheVersion::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheVersion) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheVersion::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheVersion) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_version(), 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:CMsgSOCacheVersion) + return target; +} + +size_t CMsgSOCacheVersion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheVersion) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 version = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheVersion::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheVersion::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheVersion::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheVersion::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:CMsgSOCacheVersion) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_version()) { + _this->_internal_set_version(from._internal_version()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheVersion::CopyFrom(const CMsgSOCacheVersion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheVersion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheVersion::IsInitialized() const { + return true; +} + +void CMsgSOCacheVersion::InternalSwap(CMsgSOCacheVersion* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.version_, other->_impl_.version_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheVersion::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[9]); +} + +// =================================================================== + +class CMsgAccountDetails::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_valid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_account_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_public_profile(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_public_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_vac_banned(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_cyber_cafe(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_school_account(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_free_trial_account(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_subscribed(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_low_violence(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_limited(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_trusted(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_package(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_time_cached(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_account_locked(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_community_banned(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_trade_banned(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_eligible_for_community_market(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CMsgAccountDetails::CMsgAccountDetails(::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:CMsgAccountDetails) +} +CMsgAccountDetails::CMsgAccountDetails(const CMsgAccountDetails& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgAccountDetails* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_name_){} + , decltype(_impl_.valid_){} + , decltype(_impl_.public_profile_){} + , decltype(_impl_.public_inventory_){} + , decltype(_impl_.vac_banned_){} + , decltype(_impl_.cyber_cafe_){} + , decltype(_impl_.school_account_){} + , decltype(_impl_.free_trial_account_){} + , decltype(_impl_.subscribed_){} + , decltype(_impl_.low_violence_){} + , decltype(_impl_.limited_){} + , decltype(_impl_.trusted_){} + , decltype(_impl_.account_locked_){} + , decltype(_impl_.package_){} + , decltype(_impl_.time_cached_){} + , decltype(_impl_.community_banned_){} + , decltype(_impl_.trade_banned_){} + , decltype(_impl_.eligible_for_community_market_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.account_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.account_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_account_name()) { + _this->_impl_.account_name_.Set(from._internal_account_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.valid_, &from._impl_.valid_, + static_cast(reinterpret_cast(&_impl_.eligible_for_community_market_) - + reinterpret_cast(&_impl_.valid_)) + sizeof(_impl_.eligible_for_community_market_)); + // @@protoc_insertion_point(copy_constructor:CMsgAccountDetails) +} + +inline void CMsgAccountDetails::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.account_name_){} + , decltype(_impl_.valid_){false} + , decltype(_impl_.public_profile_){false} + , decltype(_impl_.public_inventory_){false} + , decltype(_impl_.vac_banned_){false} + , decltype(_impl_.cyber_cafe_){false} + , decltype(_impl_.school_account_){false} + , decltype(_impl_.free_trial_account_){false} + , decltype(_impl_.subscribed_){false} + , decltype(_impl_.low_violence_){false} + , decltype(_impl_.limited_){false} + , decltype(_impl_.trusted_){false} + , decltype(_impl_.account_locked_){false} + , decltype(_impl_.package_){0u} + , decltype(_impl_.time_cached_){0u} + , decltype(_impl_.community_banned_){false} + , decltype(_impl_.trade_banned_){false} + , decltype(_impl_.eligible_for_community_market_){false} + }; + _impl_.account_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.account_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgAccountDetails::~CMsgAccountDetails() { + // @@protoc_insertion_point(destructor:CMsgAccountDetails) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgAccountDetails::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.account_name_.Destroy(); +} + +void CMsgAccountDetails::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgAccountDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgAccountDetails) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.account_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.valid_, 0, static_cast( + reinterpret_cast(&_impl_.free_trial_account_) - + reinterpret_cast(&_impl_.valid_)) + sizeof(_impl_.free_trial_account_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.subscribed_, 0, static_cast( + reinterpret_cast(&_impl_.community_banned_) - + reinterpret_cast(&_impl_.subscribed_)) + sizeof(_impl_.community_banned_)); + } + if (cached_has_bits & 0x00030000u) { + ::memset(&_impl_.trade_banned_, 0, static_cast( + reinterpret_cast(&_impl_.eligible_for_community_market_) - + reinterpret_cast(&_impl_.trade_banned_)) + sizeof(_impl_.eligible_for_community_market_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgAccountDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool valid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_valid(&has_bits); + _impl_.valid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string account_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_account_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgAccountDetails.account_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool public_profile = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_public_profile(&has_bits); + _impl_.public_profile_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool public_inventory = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_public_inventory(&has_bits); + _impl_.public_inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool vac_banned = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_vac_banned(&has_bits); + _impl_.vac_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool cyber_cafe = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_cyber_cafe(&has_bits); + _impl_.cyber_cafe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool school_account = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_school_account(&has_bits); + _impl_.school_account_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool free_trial_account = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_free_trial_account(&has_bits); + _impl_.free_trial_account_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool subscribed = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_subscribed(&has_bits); + _impl_.subscribed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool low_violence = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_low_violence(&has_bits); + _impl_.low_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool limited = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_limited(&has_bits); + _impl_.limited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool trusted = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_trusted(&has_bits); + _impl_.trusted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 package = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_package(&has_bits); + _impl_.package_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 time_cached = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { + _Internal::set_has_time_cached(&has_bits); + _impl_.time_cached_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bool account_locked = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_account_locked(&has_bits); + _impl_.account_locked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool community_banned = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_community_banned(&has_bits); + _impl_.community_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool trade_banned = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_trade_banned(&has_bits); + _impl_.trade_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool eligible_for_community_market = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_eligible_for_community_market(&has_bits); + _impl_.eligible_for_community_market_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgAccountDetails::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgAccountDetails) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool valid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_valid(), target); + } + + // optional string account_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_account_name().data(), static_cast(this->_internal_account_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgAccountDetails.account_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_account_name(), target); + } + + // optional bool public_profile = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_public_profile(), target); + } + + // optional bool public_inventory = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_public_inventory(), target); + } + + // optional bool vac_banned = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_vac_banned(), target); + } + + // optional bool cyber_cafe = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_cyber_cafe(), target); + } + + // optional bool school_account = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_school_account(), target); + } + + // optional bool free_trial_account = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_free_trial_account(), target); + } + + // optional bool subscribed = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_subscribed(), target); + } + + // optional bool low_violence = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_low_violence(), target); + } + + // optional bool limited = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_limited(), target); + } + + // optional bool trusted = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_trusted(), target); + } + + // optional uint32 package = 14; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_package(), target); + } + + // optional fixed32 time_cached = 15; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_time_cached(), target); + } + + // optional bool account_locked = 16; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_account_locked(), target); + } + + // optional bool community_banned = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_community_banned(), target); + } + + // optional bool trade_banned = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_trade_banned(), target); + } + + // optional bool eligible_for_community_market = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_eligible_for_community_market(), 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:CMsgAccountDetails) + return target; +} + +size_t CMsgAccountDetails::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgAccountDetails) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string account_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_account_name()); + } + + // optional bool valid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool public_profile = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool public_inventory = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool vac_banned = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional bool cyber_cafe = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional bool school_account = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool free_trial_account = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional bool subscribed = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional bool low_violence = 11; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional bool limited = 12; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 1; + } + + // optional bool trusted = 13; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 1; + } + + // optional bool account_locked = 16; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + 1; + } + + // optional uint32 package = 14; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package()); + } + + // optional fixed32 time_cached = 15; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + // optional bool community_banned = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 1; + } + + } + if (cached_has_bits & 0x00030000u) { + // optional bool trade_banned = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + 1; + } + + // optional bool eligible_for_community_market = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAccountDetails::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgAccountDetails::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAccountDetails::GetClassData() const { return &_class_data_; } + + +void CMsgAccountDetails::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:CMsgAccountDetails) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_account_name(from._internal_account_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.valid_ = from._impl_.valid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.public_profile_ = from._impl_.public_profile_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.public_inventory_ = from._impl_.public_inventory_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.vac_banned_ = from._impl_.vac_banned_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.cyber_cafe_ = from._impl_.cyber_cafe_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.school_account_ = from._impl_.school_account_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.free_trial_account_ = from._impl_.free_trial_account_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.subscribed_ = from._impl_.subscribed_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.low_violence_ = from._impl_.low_violence_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.limited_ = from._impl_.limited_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.trusted_ = from._impl_.trusted_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.account_locked_ = from._impl_.account_locked_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.package_ = from._impl_.package_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.time_cached_ = from._impl_.time_cached_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.community_banned_ = from._impl_.community_banned_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.trade_banned_ = from._impl_.trade_banned_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.eligible_for_community_market_ = from._impl_.eligible_for_community_market_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgAccountDetails::CopyFrom(const CMsgAccountDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAccountDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgAccountDetails::IsInitialized() const { + return true; +} + +void CMsgAccountDetails::InternalSwap(CMsgAccountDetails* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.account_name_, lhs_arena, + &other->_impl_.account_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgAccountDetails, _impl_.eligible_for_community_market_) + + sizeof(CMsgAccountDetails::_impl_.eligible_for_community_market_) + - PROTOBUF_FIELD_OFFSET(CMsgAccountDetails, _impl_.valid_)>( + reinterpret_cast(&_impl_.valid_), + reinterpret_cast(&other->_impl_.valid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgAccountDetails::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[10]); +} + +// =================================================================== + +class CMsgGCMultiplexMessage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msgtype(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_payload(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_replytogc(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCMultiplexMessage::CMsgGCMultiplexMessage(::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:CMsgGCMultiplexMessage) +} +CMsgGCMultiplexMessage::CMsgGCMultiplexMessage(const CMsgGCMultiplexMessage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCMultiplexMessage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamids_){from._impl_.steamids_} + , decltype(_impl_.payload_){} + , decltype(_impl_.msgtype_){} + , decltype(_impl_.replytogc_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.payload_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.payload_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_payload()) { + _this->_impl_.payload_.Set(from._internal_payload(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.msgtype_, &from._impl_.msgtype_, + static_cast(reinterpret_cast(&_impl_.replytogc_) - + reinterpret_cast(&_impl_.msgtype_)) + sizeof(_impl_.replytogc_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCMultiplexMessage) +} + +inline void CMsgGCMultiplexMessage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamids_){arena} + , decltype(_impl_.payload_){} + , decltype(_impl_.msgtype_){0u} + , decltype(_impl_.replytogc_){false} + }; + _impl_.payload_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.payload_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgGCMultiplexMessage::~CMsgGCMultiplexMessage() { + // @@protoc_insertion_point(destructor:CMsgGCMultiplexMessage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCMultiplexMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.steamids_.~RepeatedField(); + _impl_.payload_.Destroy(); +} + +void CMsgGCMultiplexMessage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCMultiplexMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCMultiplexMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steamids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.payload_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.msgtype_, 0, static_cast( + reinterpret_cast(&_impl_.replytogc_) - + reinterpret_cast(&_impl_.msgtype_)) + sizeof(_impl_.replytogc_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCMultiplexMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 msgtype = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msgtype(&has_bits); + _impl_.msgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes payload = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_payload(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed64 steamids = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_steamids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint64_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<25>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_steamids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool replytogc = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_replytogc(&has_bits); + _impl_.replytogc_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCMultiplexMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCMultiplexMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 msgtype = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgtype(), target); + } + + // optional bytes payload = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_payload(), target); + } + + // repeated fixed64 steamids = 3; + for (int i = 0, n = this->_internal_steamids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_steamids(i), target); + } + + // optional bool replytogc = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_replytogc(), 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:CMsgGCMultiplexMessage) + return target; +} + +size_t CMsgGCMultiplexMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCMultiplexMessage) + 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 fixed64 steamids = 3; + { + unsigned int count = static_cast(this->_internal_steamids_size()); + size_t data_size = 8UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_steamids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes payload = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_payload()); + } + + // optional uint32 msgtype = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgtype()); + } + + // optional bool replytogc = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCMultiplexMessage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCMultiplexMessage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCMultiplexMessage::GetClassData() const { return &_class_data_; } + + +void CMsgGCMultiplexMessage::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:CMsgGCMultiplexMessage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.steamids_.MergeFrom(from._impl_.steamids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_payload(from._internal_payload()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msgtype_ = from._impl_.msgtype_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.replytogc_ = from._impl_.replytogc_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCMultiplexMessage::CopyFrom(const CMsgGCMultiplexMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCMultiplexMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCMultiplexMessage::IsInitialized() const { + return true; +} + +void CMsgGCMultiplexMessage::InternalSwap(CMsgGCMultiplexMessage* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.steamids_.InternalSwap(&other->_impl_.steamids_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.payload_, lhs_arena, + &other->_impl_.payload_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCMultiplexMessage, _impl_.replytogc_) + + sizeof(CMsgGCMultiplexMessage::_impl_.replytogc_) + - PROTOBUF_FIELD_OFFSET(CMsgGCMultiplexMessage, _impl_.msgtype_)>( + reinterpret_cast(&_impl_.msgtype_), + reinterpret_cast(&other->_impl_.msgtype_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCMultiplexMessage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[11]); +} + +// =================================================================== + +class CMsgGCMultiplexMessage_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msgtype(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_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:CMsgGCMultiplexMessage_Response) +} +CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_Response(const CMsgGCMultiplexMessage_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCMultiplexMessage_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.msgtype_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.msgtype_ = from._impl_.msgtype_; + // @@protoc_insertion_point(copy_constructor:CMsgGCMultiplexMessage_Response) +} + +inline void CMsgGCMultiplexMessage_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.msgtype_){0u} + }; +} + +CMsgGCMultiplexMessage_Response::~CMsgGCMultiplexMessage_Response() { + // @@protoc_insertion_point(destructor:CMsgGCMultiplexMessage_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCMultiplexMessage_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCMultiplexMessage_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCMultiplexMessage_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCMultiplexMessage_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.msgtype_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCMultiplexMessage_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 msgtype = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msgtype(&has_bits); + _impl_.msgtype_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCMultiplexMessage_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCMultiplexMessage_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 msgtype = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgtype(), 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:CMsgGCMultiplexMessage_Response) + return target; +} + +size_t CMsgGCMultiplexMessage_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCMultiplexMessage_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; + + // optional uint32 msgtype = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgtype()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCMultiplexMessage_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCMultiplexMessage_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCMultiplexMessage_Response::GetClassData() const { return &_class_data_; } + + +void CMsgGCMultiplexMessage_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:CMsgGCMultiplexMessage_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_msgtype()) { + _this->_internal_set_msgtype(from._internal_msgtype()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCMultiplexMessage_Response::CopyFrom(const CMsgGCMultiplexMessage_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCMultiplexMessage_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCMultiplexMessage_Response::IsInitialized() const { + return true; +} + +void CMsgGCMultiplexMessage_Response::InternalSwap(CMsgGCMultiplexMessage_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.msgtype_, other->_impl_.msgtype_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCMultiplexMessage_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[12]); +} + +// =================================================================== + +class CGCToGCMsgMasterAck::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dir_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gc_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CGCToGCMsgMasterAck::CGCToGCMsgMasterAck(::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:CGCToGCMsgMasterAck) +} +CGCToGCMsgMasterAck::CGCToGCMsgMasterAck(const CGCToGCMsgMasterAck& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGCToGCMsgMasterAck* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dir_index_){} + , decltype(_impl_.gc_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.dir_index_, &from._impl_.dir_index_, + static_cast(reinterpret_cast(&_impl_.gc_type_) - + reinterpret_cast(&_impl_.dir_index_)) + sizeof(_impl_.gc_type_)); + // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterAck) +} + +inline void CGCToGCMsgMasterAck::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dir_index_){0u} + , decltype(_impl_.gc_type_){0u} + }; +} + +CGCToGCMsgMasterAck::~CGCToGCMsgMasterAck() { + // @@protoc_insertion_point(destructor:CGCToGCMsgMasterAck) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGCToGCMsgMasterAck::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CGCToGCMsgMasterAck::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGCToGCMsgMasterAck::Clear() { +// @@protoc_insertion_point(message_clear_start:CGCToGCMsgMasterAck) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.dir_index_, 0, static_cast( + reinterpret_cast(&_impl_.gc_type_) - + reinterpret_cast(&_impl_.dir_index_)) + sizeof(_impl_.gc_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGCToGCMsgMasterAck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 dir_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dir_index(&has_bits); + _impl_.dir_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gc_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gc_type(&has_bits); + _impl_.gc_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGCToGCMsgMasterAck::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgMasterAck) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 dir_index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dir_index(), target); + } + + // optional uint32 gc_type = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gc_type(), 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:CGCToGCMsgMasterAck) + return target; +} + +size_t CGCToGCMsgMasterAck::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgMasterAck) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 dir_index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dir_index()); + } + + // optional uint32 gc_type = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gc_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterAck::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGCToGCMsgMasterAck::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterAck::GetClassData() const { return &_class_data_; } + + +void CGCToGCMsgMasterAck::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:CGCToGCMsgMasterAck) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.dir_index_ = from._impl_.dir_index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gc_type_ = from._impl_.gc_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGCToGCMsgMasterAck::CopyFrom(const CGCToGCMsgMasterAck& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgMasterAck) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGCToGCMsgMasterAck::IsInitialized() const { + return true; +} + +void CGCToGCMsgMasterAck::InternalSwap(CGCToGCMsgMasterAck* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGCToGCMsgMasterAck, _impl_.gc_type_) + + sizeof(CGCToGCMsgMasterAck::_impl_.gc_type_) + - PROTOBUF_FIELD_OFFSET(CGCToGCMsgMasterAck, _impl_.dir_index_)>( + reinterpret_cast(&_impl_.dir_index_), + reinterpret_cast(&other->_impl_.dir_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterAck::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[13]); +} + +// =================================================================== + +class CGCToGCMsgMasterAck_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eresult(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_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:CGCToGCMsgMasterAck_Response) +} +CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_Response(const CGCToGCMsgMasterAck_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGCToGCMsgMasterAck_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eresult_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.eresult_ = from._impl_.eresult_; + // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterAck_Response) +} + +inline void CGCToGCMsgMasterAck_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eresult_){2} + }; +} + +CGCToGCMsgMasterAck_Response::~CGCToGCMsgMasterAck_Response() { + // @@protoc_insertion_point(destructor:CGCToGCMsgMasterAck_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGCToGCMsgMasterAck_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CGCToGCMsgMasterAck_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGCToGCMsgMasterAck_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CGCToGCMsgMasterAck_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.eresult_ = 2; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGCToGCMsgMasterAck_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eresult = 1 [default = 2]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eresult(&has_bits); + _impl_.eresult_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGCToGCMsgMasterAck_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgMasterAck_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eresult = 1 [default = 2]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eresult(), 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:CGCToGCMsgMasterAck_Response) + return target; +} + +size_t CGCToGCMsgMasterAck_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgMasterAck_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; + + // optional int32 eresult = 1 [default = 2]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eresult()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterAck_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGCToGCMsgMasterAck_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterAck_Response::GetClassData() const { return &_class_data_; } + + +void CGCToGCMsgMasterAck_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:CGCToGCMsgMasterAck_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_eresult()) { + _this->_internal_set_eresult(from._internal_eresult()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGCToGCMsgMasterAck_Response::CopyFrom(const CGCToGCMsgMasterAck_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgMasterAck_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGCToGCMsgMasterAck_Response::IsInitialized() const { + return true; +} + +void CGCToGCMsgMasterAck_Response::InternalSwap(CGCToGCMsgMasterAck_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.eresult_, other->_impl_.eresult_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterAck_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[14]); +} + +// =================================================================== + +class CGCToGCMsgMasterStartupComplete::_Internal { + public: +}; + +CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CGCToGCMsgMasterStartupComplete) +} +CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete(const CGCToGCMsgMasterStartupComplete& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CGCToGCMsgMasterStartupComplete* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterStartupComplete) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterStartupComplete::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterStartupComplete::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterStartupComplete::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[15]); +} + +// =================================================================== + +class CGCToGCMsgRouted::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msg_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_sender_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_net_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ip(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CGCToGCMsgRouted::CGCToGCMsgRouted(::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:CGCToGCMsgRouted) +} +CGCToGCMsgRouted::CGCToGCMsgRouted(const CGCToGCMsgRouted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGCToGCMsgRouted* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.net_message_){} + , decltype(_impl_.sender_id_){} + , decltype(_impl_.msg_type_){} + , decltype(_impl_.ip_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.net_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_net_message()) { + _this->_impl_.net_message_.Set(from._internal_net_message(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.sender_id_, &from._impl_.sender_id_, + static_cast(reinterpret_cast(&_impl_.ip_) - + reinterpret_cast(&_impl_.sender_id_)) + sizeof(_impl_.ip_)); + // @@protoc_insertion_point(copy_constructor:CGCToGCMsgRouted) +} + +inline void CGCToGCMsgRouted::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.net_message_){} + , decltype(_impl_.sender_id_){uint64_t{0u}} + , decltype(_impl_.msg_type_){0u} + , decltype(_impl_.ip_){0u} + }; + _impl_.net_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGCToGCMsgRouted::~CGCToGCMsgRouted() { + // @@protoc_insertion_point(destructor:CGCToGCMsgRouted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGCToGCMsgRouted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.net_message_.Destroy(); +} + +void CGCToGCMsgRouted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGCToGCMsgRouted::Clear() { +// @@protoc_insertion_point(message_clear_start:CGCToGCMsgRouted) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.net_message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.sender_id_, 0, static_cast( + reinterpret_cast(&_impl_.ip_) - + reinterpret_cast(&_impl_.sender_id_)) + sizeof(_impl_.ip_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGCToGCMsgRouted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 msg_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msg_type(&has_bits); + _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 sender_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_sender_id(&has_bits); + _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bytes net_message = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_net_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ip(&has_bits); + _impl_.ip_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGCToGCMsgRouted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgRouted) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 msg_type = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msg_type(), target); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); + } + + // optional bytes net_message = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_net_message(), target); + } + + // optional uint32 ip = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ip(), 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:CGCToGCMsgRouted) + return target; +} + +size_t CGCToGCMsgRouted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgRouted) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes net_message = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_net_message()); + } + + // optional fixed64 sender_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 msg_type = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msg_type()); + } + + // optional uint32 ip = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgRouted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGCToGCMsgRouted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgRouted::GetClassData() const { return &_class_data_; } + + +void CGCToGCMsgRouted::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:CGCToGCMsgRouted) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_net_message(from._internal_net_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.sender_id_ = from._impl_.sender_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.msg_type_ = from._impl_.msg_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ip_ = from._impl_.ip_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGCToGCMsgRouted::CopyFrom(const CGCToGCMsgRouted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgRouted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGCToGCMsgRouted::IsInitialized() const { + return true; +} + +void CGCToGCMsgRouted::InternalSwap(CGCToGCMsgRouted* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.net_message_, lhs_arena, + &other->_impl_.net_message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGCToGCMsgRouted, _impl_.ip_) + + sizeof(CGCToGCMsgRouted::_impl_.ip_) + - PROTOBUF_FIELD_OFFSET(CGCToGCMsgRouted, _impl_.sender_id_)>( + reinterpret_cast(&_impl_.sender_id_), + reinterpret_cast(&other->_impl_.sender_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgRouted::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[16]); +} + +// =================================================================== + +class CGCToGCMsgRoutedReply::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msg_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_net_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply(::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:CGCToGCMsgRoutedReply) +} +CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply(const CGCToGCMsgRoutedReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGCToGCMsgRoutedReply* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.net_message_){} + , decltype(_impl_.msg_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.net_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_net_message()) { + _this->_impl_.net_message_.Set(from._internal_net_message(), + _this->GetArenaForAllocation()); + } + _this->_impl_.msg_type_ = from._impl_.msg_type_; + // @@protoc_insertion_point(copy_constructor:CGCToGCMsgRoutedReply) +} + +inline void CGCToGCMsgRoutedReply::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.net_message_){} + , decltype(_impl_.msg_type_){0u} + }; + _impl_.net_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGCToGCMsgRoutedReply::~CGCToGCMsgRoutedReply() { + // @@protoc_insertion_point(destructor:CGCToGCMsgRoutedReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGCToGCMsgRoutedReply::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.net_message_.Destroy(); +} + +void CGCToGCMsgRoutedReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGCToGCMsgRoutedReply::Clear() { +// @@protoc_insertion_point(message_clear_start:CGCToGCMsgRoutedReply) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.net_message_.ClearNonDefaultToEmpty(); + } + _impl_.msg_type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGCToGCMsgRoutedReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 msg_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msg_type(&has_bits); + _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes net_message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_net_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGCToGCMsgRoutedReply::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgRoutedReply) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 msg_type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msg_type(), target); + } + + // optional bytes net_message = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_net_message(), 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:CGCToGCMsgRoutedReply) + return target; +} + +size_t CGCToGCMsgRoutedReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgRoutedReply) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes net_message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_net_message()); + } + + // optional uint32 msg_type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msg_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgRoutedReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGCToGCMsgRoutedReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgRoutedReply::GetClassData() const { return &_class_data_; } + + +void CGCToGCMsgRoutedReply::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:CGCToGCMsgRoutedReply) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_net_message(from._internal_net_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msg_type_ = from._impl_.msg_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGCToGCMsgRoutedReply::CopyFrom(const CGCToGCMsgRoutedReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgRoutedReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGCToGCMsgRoutedReply::IsInitialized() const { + return true; +} + +void CGCToGCMsgRoutedReply::InternalSwap(CGCToGCMsgRoutedReply* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.net_message_, lhs_arena, + &other->_impl_.net_message_, rhs_arena + ); + swap(_impl_.msg_type_, other->_impl_.msg_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgRoutedReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[17]); +} + +// =================================================================== + +class CMsgGCUpdateSessionIP::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ip(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP(::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:CMsgGCUpdateSessionIP) +} +CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP(const CMsgGCUpdateSessionIP& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCUpdateSessionIP* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.ip_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.ip_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.ip_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCUpdateSessionIP) +} + +inline void CMsgGCUpdateSessionIP::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.ip_){0u} + }; +} + +CMsgGCUpdateSessionIP::~CMsgGCUpdateSessionIP() { + // @@protoc_insertion_point(destructor:CMsgGCUpdateSessionIP) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCUpdateSessionIP::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCUpdateSessionIP::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCUpdateSessionIP::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCUpdateSessionIP) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.ip_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.ip_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCUpdateSessionIP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_ip(&has_bits); + _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCUpdateSessionIP::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCUpdateSessionIP) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional fixed32 ip = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_ip(), 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:CMsgGCUpdateSessionIP) + return target; +} + +size_t CMsgGCUpdateSessionIP::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCUpdateSessionIP) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional fixed32 ip = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCUpdateSessionIP::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCUpdateSessionIP::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCUpdateSessionIP::GetClassData() const { return &_class_data_; } + + +void CMsgGCUpdateSessionIP::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:CMsgGCUpdateSessionIP) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ip_ = from._impl_.ip_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCUpdateSessionIP::CopyFrom(const CMsgGCUpdateSessionIP& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCUpdateSessionIP) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCUpdateSessionIP::IsInitialized() const { + return true; +} + +void CMsgGCUpdateSessionIP::InternalSwap(CMsgGCUpdateSessionIP* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCUpdateSessionIP, _impl_.ip_) + + sizeof(CMsgGCUpdateSessionIP::_impl_.ip_) + - PROTOBUF_FIELD_OFFSET(CMsgGCUpdateSessionIP, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCUpdateSessionIP::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[18]); +} + +// =================================================================== + +class CMsgGCRequestSessionIP::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCRequestSessionIP::CMsgGCRequestSessionIP(::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:CMsgGCRequestSessionIP) +} +CMsgGCRequestSessionIP::CMsgGCRequestSessionIP(const CMsgGCRequestSessionIP& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCRequestSessionIP* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steamid_ = from._impl_.steamid_; + // @@protoc_insertion_point(copy_constructor:CMsgGCRequestSessionIP) +} + +inline void CMsgGCRequestSessionIP::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + }; +} + +CMsgGCRequestSessionIP::~CMsgGCRequestSessionIP() { + // @@protoc_insertion_point(destructor:CMsgGCRequestSessionIP) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCRequestSessionIP::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCRequestSessionIP::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCRequestSessionIP::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCRequestSessionIP) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCRequestSessionIP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCRequestSessionIP::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestSessionIP) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), 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:CMsgGCRequestSessionIP) + return target; +} + +size_t CMsgGCRequestSessionIP::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestSessionIP) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed64 steamid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestSessionIP::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCRequestSessionIP::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestSessionIP::GetClassData() const { return &_class_data_; } + + +void CMsgGCRequestSessionIP::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:CMsgGCRequestSessionIP) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steamid()) { + _this->_internal_set_steamid(from._internal_steamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCRequestSessionIP::CopyFrom(const CMsgGCRequestSessionIP& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestSessionIP) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCRequestSessionIP::IsInitialized() const { + return true; +} + +void CMsgGCRequestSessionIP::InternalSwap(CMsgGCRequestSessionIP* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steamid_, other->_impl_.steamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestSessionIP::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[19]); +} + +// =================================================================== + +class CMsgGCRequestSessionIPResponse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ip(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse(::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:CMsgGCRequestSessionIPResponse) +} +CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse(const CMsgGCRequestSessionIPResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCRequestSessionIPResponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ip_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ip_ = from._impl_.ip_; + // @@protoc_insertion_point(copy_constructor:CMsgGCRequestSessionIPResponse) +} + +inline void CMsgGCRequestSessionIPResponse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ip_){0u} + }; +} + +CMsgGCRequestSessionIPResponse::~CMsgGCRequestSessionIPResponse() { + // @@protoc_insertion_point(destructor:CMsgGCRequestSessionIPResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCRequestSessionIPResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCRequestSessionIPResponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCRequestSessionIPResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCRequestSessionIPResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ip_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCRequestSessionIPResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 ip = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_ip(&has_bits); + _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCRequestSessionIPResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestSessionIPResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 ip = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ip(), 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:CMsgGCRequestSessionIPResponse) + return target; +} + +size_t CMsgGCRequestSessionIPResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestSessionIPResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed32 ip = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestSessionIPResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCRequestSessionIPResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestSessionIPResponse::GetClassData() const { return &_class_data_; } + + +void CMsgGCRequestSessionIPResponse::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:CMsgGCRequestSessionIPResponse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ip()) { + _this->_internal_set_ip(from._internal_ip()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCRequestSessionIPResponse::CopyFrom(const CMsgGCRequestSessionIPResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestSessionIPResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCRequestSessionIPResponse::IsInitialized() const { + return true; +} + +void CMsgGCRequestSessionIPResponse::InternalSwap(CMsgGCRequestSessionIPResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.ip_, other->_impl_.ip_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestSessionIPResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[20]); +} + +// =================================================================== + +class CMsgSOCacheHaveVersion::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSOIDOwner& soid(const CMsgSOCacheHaveVersion* msg); + static void set_has_soid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSOIDOwner& +CMsgSOCacheHaveVersion::_Internal::soid(const CMsgSOCacheHaveVersion* msg) { + return *msg->_impl_.soid_; +} +CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion(::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:CMsgSOCacheHaveVersion) +} +CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion(const CMsgSOCacheHaveVersion& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSOCacheHaveVersion* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soid_){nullptr} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_soid()) { + _this->_impl_.soid_ = new ::CMsgSOIDOwner(*from._impl_.soid_); + } + _this->_impl_.version_ = from._impl_.version_; + // @@protoc_insertion_point(copy_constructor:CMsgSOCacheHaveVersion) +} + +inline void CMsgSOCacheHaveVersion::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soid_){nullptr} + , decltype(_impl_.version_){uint64_t{0u}} + }; +} + +CMsgSOCacheHaveVersion::~CMsgSOCacheHaveVersion() { + // @@protoc_insertion_point(destructor:CMsgSOCacheHaveVersion) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSOCacheHaveVersion::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.soid_; +} + +void CMsgSOCacheHaveVersion::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSOCacheHaveVersion::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSOCacheHaveVersion) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.soid_ != nullptr); + _impl_.soid_->Clear(); + } + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSOCacheHaveVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSOIDOwner soid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_soid(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSOCacheHaveVersion::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheHaveVersion) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSOIDOwner soid = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::soid(this), + _Internal::soid(this).GetCachedSize(), target, stream); + } + + // optional fixed64 version = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_version(), 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:CMsgSOCacheHaveVersion) + return target; +} + +size_t CMsgSOCacheHaveVersion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheHaveVersion) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSOIDOwner soid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.soid_); + } + + // optional fixed64 version = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheHaveVersion::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSOCacheHaveVersion::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheHaveVersion::GetClassData() const { return &_class_data_; } + + +void CMsgSOCacheHaveVersion::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:CMsgSOCacheHaveVersion) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_soid()->::CMsgSOIDOwner::MergeFrom( + from._internal_soid()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSOCacheHaveVersion::CopyFrom(const CMsgSOCacheHaveVersion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheHaveVersion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSOCacheHaveVersion::IsInitialized() const { + return true; +} + +void CMsgSOCacheHaveVersion::InternalSwap(CMsgSOCacheHaveVersion* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSOCacheHaveVersion, _impl_.version_) + + sizeof(CMsgSOCacheHaveVersion::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CMsgSOCacheHaveVersion, _impl_.soid_)>( + reinterpret_cast(&_impl_.soid_), + reinterpret_cast(&other->_impl_.soid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheHaveVersion::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[21]); +} + +// =================================================================== + +class CMsgClientHello::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client_session_need(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_client_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_partner_srcid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_partner_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_partner_accountflags(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_partner_accountbalance(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_steam_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgClientHello::CMsgClientHello(::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:CMsgClientHello) +} +CMsgClientHello::CMsgClientHello(const CMsgClientHello& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClientHello* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.socache_have_versions_){from._impl_.socache_have_versions_} + , decltype(_impl_.version_){} + , decltype(_impl_.client_session_need_){} + , decltype(_impl_.client_launcher_){} + , decltype(_impl_.partner_srcid_){} + , decltype(_impl_.partner_accountid_){} + , decltype(_impl_.partner_accountflags_){} + , decltype(_impl_.partner_accountbalance_){} + , decltype(_impl_.steam_launcher_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.steam_launcher_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.steam_launcher_)); + // @@protoc_insertion_point(copy_constructor:CMsgClientHello) +} + +inline void CMsgClientHello::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.socache_have_versions_){arena} + , decltype(_impl_.version_){0u} + , decltype(_impl_.client_session_need_){0u} + , decltype(_impl_.client_launcher_){0u} + , decltype(_impl_.partner_srcid_){0u} + , decltype(_impl_.partner_accountid_){0u} + , decltype(_impl_.partner_accountflags_){0u} + , decltype(_impl_.partner_accountbalance_){0u} + , decltype(_impl_.steam_launcher_){0u} + }; +} + +CMsgClientHello::~CMsgClientHello() { + // @@protoc_insertion_point(destructor:CMsgClientHello) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClientHello::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.socache_have_versions_.~RepeatedPtrField(); +} + +void CMsgClientHello::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClientHello::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClientHello) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.socache_have_versions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.steam_launcher_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.steam_launcher_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClientHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_socache_have_versions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 client_session_need = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_client_session_need(&has_bits); + _impl_.client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_launcher = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_client_launcher(&has_bits); + _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 partner_srcid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_partner_srcid(&has_bits); + _impl_.partner_srcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 partner_accountid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_partner_accountid(&has_bits); + _impl_.partner_accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 partner_accountflags = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_partner_accountflags(&has_bits); + _impl_.partner_accountflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 partner_accountbalance = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_partner_accountbalance(&has_bits); + _impl_.partner_accountbalance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 steam_launcher = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_steam_launcher(&has_bits); + _impl_.steam_launcher_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClientHello::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClientHello) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_socache_have_versions_size()); i < n; i++) { + const auto& repfield = this->_internal_socache_have_versions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 client_session_need = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_session_need(), target); + } + + // optional uint32 client_launcher = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_launcher(), target); + } + + // optional uint32 partner_srcid = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_partner_srcid(), target); + } + + // optional uint32 partner_accountid = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_partner_accountid(), target); + } + + // optional uint32 partner_accountflags = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_partner_accountflags(), target); + } + + // optional uint32 partner_accountbalance = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_partner_accountbalance(), target); + } + + // optional uint32 steam_launcher = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_steam_launcher(), 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:CMsgClientHello) + return target; +} + +size_t CMsgClientHello::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClientHello) + 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 .CMsgSOCacheHaveVersion socache_have_versions = 2; + total_size += 1UL * this->_internal_socache_have_versions_size(); + for (const auto& msg : this->_impl_.socache_have_versions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 version = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 client_session_need = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_session_need()); + } + + // optional uint32 client_launcher = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); + } + + // optional uint32 partner_srcid = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_srcid()); + } + + // optional uint32 partner_accountid = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountid()); + } + + // optional uint32 partner_accountflags = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountflags()); + } + + // optional uint32 partner_accountbalance = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountbalance()); + } + + // optional uint32 steam_launcher = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_steam_launcher()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientHello::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClientHello::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientHello::GetClassData() const { return &_class_data_; } + + +void CMsgClientHello::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:CMsgClientHello) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.socache_have_versions_.MergeFrom(from._impl_.socache_have_versions_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.client_session_need_ = from._impl_.client_session_need_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_launcher_ = from._impl_.client_launcher_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.partner_srcid_ = from._impl_.partner_srcid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.partner_accountid_ = from._impl_.partner_accountid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.partner_accountflags_ = from._impl_.partner_accountflags_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.partner_accountbalance_ = from._impl_.partner_accountbalance_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.steam_launcher_ = from._impl_.steam_launcher_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClientHello::CopyFrom(const CMsgClientHello& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientHello) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClientHello::IsInitialized() const { + return true; +} + +void CMsgClientHello::InternalSwap(CMsgClientHello* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.socache_have_versions_.InternalSwap(&other->_impl_.socache_have_versions_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgClientHello, _impl_.steam_launcher_) + + sizeof(CMsgClientHello::_impl_.steam_launcher_) + - PROTOBUF_FIELD_OFFSET(CMsgClientHello, _impl_.version_)>( + reinterpret_cast(&_impl_.version_), + reinterpret_cast(&other->_impl_.version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientHello::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[22]); +} + +// =================================================================== + +class CMsgServerHello::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_legacy_client_session_need(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_launcher(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_legacy_steamdatagram_routing(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_required_internal_addr(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_steamdatagram_login(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_socache_control(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CMsgServerHello::CMsgServerHello(::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:CMsgServerHello) +} +CMsgServerHello::CMsgServerHello(const CMsgServerHello& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerHello* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.socache_have_versions_){from._impl_.socache_have_versions_} + , decltype(_impl_.legacy_steamdatagram_routing_){} + , decltype(_impl_.steamdatagram_login_){} + , decltype(_impl_.version_){} + , decltype(_impl_.legacy_client_session_need_){} + , decltype(_impl_.client_launcher_){} + , decltype(_impl_.required_internal_addr_){} + , decltype(_impl_.socache_control_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.legacy_steamdatagram_routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_legacy_steamdatagram_routing()) { + _this->_impl_.legacy_steamdatagram_routing_.Set(from._internal_legacy_steamdatagram_routing(), + _this->GetArenaForAllocation()); + } + _impl_.steamdatagram_login_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_steamdatagram_login()) { + _this->_impl_.steamdatagram_login_.Set(from._internal_steamdatagram_login(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.socache_control_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.socache_control_)); + // @@protoc_insertion_point(copy_constructor:CMsgServerHello) +} + +inline void CMsgServerHello::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.socache_have_versions_){arena} + , decltype(_impl_.legacy_steamdatagram_routing_){} + , decltype(_impl_.steamdatagram_login_){} + , decltype(_impl_.version_){0u} + , decltype(_impl_.legacy_client_session_need_){0u} + , decltype(_impl_.client_launcher_){0u} + , decltype(_impl_.required_internal_addr_){0u} + , decltype(_impl_.socache_control_){0u} + }; + _impl_.legacy_steamdatagram_routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.steamdatagram_login_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgServerHello::~CMsgServerHello() { + // @@protoc_insertion_point(destructor:CMsgServerHello) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerHello::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.socache_have_versions_.~RepeatedPtrField(); + _impl_.legacy_steamdatagram_routing_.Destroy(); + _impl_.steamdatagram_login_.Destroy(); +} + +void CMsgServerHello::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerHello::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerHello) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.socache_have_versions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.legacy_steamdatagram_routing_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.steamdatagram_login_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.socache_control_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.socache_control_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_socache_have_versions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 legacy_client_session_need = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_legacy_client_session_need(&has_bits); + _impl_.legacy_client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 client_launcher = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_client_launcher(&has_bits); + _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes legacy_steamdatagram_routing = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_legacy_steamdatagram_routing(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 required_internal_addr = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_required_internal_addr(&has_bits); + _impl_.required_internal_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes steamdatagram_login = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_steamdatagram_login(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 socache_control = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_socache_control(&has_bits); + _impl_.socache_control_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerHello::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerHello) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_socache_have_versions_size()); i < n; i++) { + const auto& repfield = this->_internal_socache_have_versions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 legacy_client_session_need = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_legacy_client_session_need(), target); + } + + // optional uint32 client_launcher = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_launcher(), target); + } + + // optional bytes legacy_steamdatagram_routing = 6; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_legacy_steamdatagram_routing(), target); + } + + // optional uint32 required_internal_addr = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_required_internal_addr(), target); + } + + // optional bytes steamdatagram_login = 8; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_steamdatagram_login(), target); + } + + // optional uint32 socache_control = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_socache_control(), 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:CMsgServerHello) + return target; +} + +size_t CMsgServerHello::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerHello) + 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 .CMsgSOCacheHaveVersion socache_have_versions = 2; + total_size += 1UL * this->_internal_socache_have_versions_size(); + for (const auto& msg : this->_impl_.socache_have_versions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional bytes legacy_steamdatagram_routing = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_legacy_steamdatagram_routing()); + } + + // optional bytes steamdatagram_login = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_steamdatagram_login()); + } + + // optional uint32 version = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 legacy_client_session_need = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_client_session_need()); + } + + // optional uint32 client_launcher = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); + } + + // optional uint32 required_internal_addr = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_required_internal_addr()); + } + + // optional uint32 socache_control = 9; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_socache_control()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerHello::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerHello::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerHello::GetClassData() const { return &_class_data_; } + + +void CMsgServerHello::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:CMsgServerHello) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.socache_have_versions_.MergeFrom(from._impl_.socache_have_versions_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_legacy_steamdatagram_routing(from._internal_legacy_steamdatagram_routing()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_steamdatagram_login(from._internal_steamdatagram_login()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.legacy_client_session_need_ = from._impl_.legacy_client_session_need_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_launcher_ = from._impl_.client_launcher_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.required_internal_addr_ = from._impl_.required_internal_addr_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.socache_control_ = from._impl_.socache_control_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerHello::CopyFrom(const CMsgServerHello& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerHello) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerHello::IsInitialized() const { + return true; +} + +void CMsgServerHello::InternalSwap(CMsgServerHello* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.socache_have_versions_.InternalSwap(&other->_impl_.socache_have_versions_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.legacy_steamdatagram_routing_, lhs_arena, + &other->_impl_.legacy_steamdatagram_routing_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.steamdatagram_login_, lhs_arena, + &other->_impl_.steamdatagram_login_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgServerHello, _impl_.socache_control_) + + sizeof(CMsgServerHello::_impl_.socache_control_) + - PROTOBUF_FIELD_OFFSET(CMsgServerHello, _impl_.version_)>( + reinterpret_cast(&_impl_.version_), + reinterpret_cast(&other->_impl_.version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerHello::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[23]); +} + +// =================================================================== + +class CMsgClientWelcome_Location::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_latitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_longitude(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_country(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgClientWelcome_Location::CMsgClientWelcome_Location(::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:CMsgClientWelcome.Location) +} +CMsgClientWelcome_Location::CMsgClientWelcome_Location(const CMsgClientWelcome_Location& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClientWelcome_Location* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_){} + , decltype(_impl_.latitude_){} + , decltype(_impl_.longitude_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_country()) { + _this->_impl_.country_.Set(from._internal_country(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.latitude_, &from._impl_.latitude_, + static_cast(reinterpret_cast(&_impl_.longitude_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); + // @@protoc_insertion_point(copy_constructor:CMsgClientWelcome.Location) +} + +inline void CMsgClientWelcome_Location::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.country_){} + , decltype(_impl_.latitude_){0} + , decltype(_impl_.longitude_){0} + }; + _impl_.country_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.country_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgClientWelcome_Location::~CMsgClientWelcome_Location() { + // @@protoc_insertion_point(destructor:CMsgClientWelcome.Location) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClientWelcome_Location::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.country_.Destroy(); +} + +void CMsgClientWelcome_Location::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClientWelcome_Location::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClientWelcome.Location) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.country_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.latitude_, 0, static_cast( + reinterpret_cast(&_impl_.longitude_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClientWelcome_Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float latitude = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_latitude(&has_bits); + _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float longitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_longitude(&has_bits); + _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string country = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_country(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.Location.country"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClientWelcome_Location::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClientWelcome.Location) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float latitude = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_latitude(), target); + } + + // optional float longitude = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_longitude(), target); + } + + // optional string country = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_country().data(), static_cast(this->_internal_country().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgClientWelcome.Location.country"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_country(), 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:CMsgClientWelcome.Location) + return target; +} + +size_t CMsgClientWelcome_Location::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClientWelcome.Location) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string country = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_country()); + } + + // optional float latitude = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float longitude = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientWelcome_Location::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClientWelcome_Location::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientWelcome_Location::GetClassData() const { return &_class_data_; } + + +void CMsgClientWelcome_Location::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:CMsgClientWelcome.Location) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_country(from._internal_country()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.latitude_ = from._impl_.latitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.longitude_ = from._impl_.longitude_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClientWelcome_Location::CopyFrom(const CMsgClientWelcome_Location& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientWelcome.Location) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClientWelcome_Location::IsInitialized() const { + return true; +} + +void CMsgClientWelcome_Location::InternalSwap(CMsgClientWelcome_Location* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.country_, lhs_arena, + &other->_impl_.country_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgClientWelcome_Location, _impl_.longitude_) + + sizeof(CMsgClientWelcome_Location::_impl_.longitude_) + - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome_Location, _impl_.latitude_)>( + reinterpret_cast(&_impl_.latitude_), + reinterpret_cast(&other->_impl_.latitude_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientWelcome_Location::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[24]); +} + +// =================================================================== + +class CMsgClientWelcome::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_game_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgClientWelcome_Location& location(const CMsgClientWelcome* msg); + static void set_has_location(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_game_data2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rtime32_gc_welcome_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_currency(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_balance(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_balance_url(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_txn_country_code(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgClientWelcome_Location& +CMsgClientWelcome::_Internal::location(const CMsgClientWelcome* msg) { + return *msg->_impl_.location_; +} +CMsgClientWelcome::CMsgClientWelcome(::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:CMsgClientWelcome) +} +CMsgClientWelcome::CMsgClientWelcome(const CMsgClientWelcome& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgClientWelcome* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.outofdate_subscribed_caches_){from._impl_.outofdate_subscribed_caches_} + , decltype(_impl_.uptodate_subscribed_caches_){from._impl_.uptodate_subscribed_caches_} + , decltype(_impl_.game_data_){} + , decltype(_impl_.game_data2_){} + , decltype(_impl_.balance_url_){} + , decltype(_impl_.txn_country_code_){} + , decltype(_impl_.location_){nullptr} + , decltype(_impl_.version_){} + , decltype(_impl_.rtime32_gc_welcome_timestamp_){} + , decltype(_impl_.currency_){} + , decltype(_impl_.balance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_data()) { + _this->_impl_.game_data_.Set(from._internal_game_data(), + _this->GetArenaForAllocation()); + } + _impl_.game_data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_data2()) { + _this->_impl_.game_data2_.Set(from._internal_game_data2(), + _this->GetArenaForAllocation()); + } + _impl_.balance_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_balance_url()) { + _this->_impl_.balance_url_.Set(from._internal_balance_url(), + _this->GetArenaForAllocation()); + } + _impl_.txn_country_code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_txn_country_code()) { + _this->_impl_.txn_country_code_.Set(from._internal_txn_country_code(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_location()) { + _this->_impl_.location_ = new ::CMsgClientWelcome_Location(*from._impl_.location_); + } + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.balance_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.balance_)); + // @@protoc_insertion_point(copy_constructor:CMsgClientWelcome) +} + +inline void CMsgClientWelcome::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.outofdate_subscribed_caches_){arena} + , decltype(_impl_.uptodate_subscribed_caches_){arena} + , decltype(_impl_.game_data_){} + , decltype(_impl_.game_data2_){} + , decltype(_impl_.balance_url_){} + , decltype(_impl_.txn_country_code_){} + , decltype(_impl_.location_){nullptr} + , decltype(_impl_.version_){0u} + , decltype(_impl_.rtime32_gc_welcome_timestamp_){0u} + , decltype(_impl_.currency_){0u} + , decltype(_impl_.balance_){0u} + }; + _impl_.game_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_data2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.balance_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgClientWelcome::~CMsgClientWelcome() { + // @@protoc_insertion_point(destructor:CMsgClientWelcome) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgClientWelcome::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.outofdate_subscribed_caches_.~RepeatedPtrField(); + _impl_.uptodate_subscribed_caches_.~RepeatedPtrField(); + _impl_.game_data_.Destroy(); + _impl_.game_data2_.Destroy(); + _impl_.balance_url_.Destroy(); + _impl_.txn_country_code_.Destroy(); + if (this != internal_default_instance()) delete _impl_.location_; +} + +void CMsgClientWelcome::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgClientWelcome::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgClientWelcome) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.outofdate_subscribed_caches_.Clear(); + _impl_.uptodate_subscribed_caches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.game_data2_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.balance_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.txn_country_code_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.location_ != nullptr); + _impl_.location_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.currency_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.currency_)); + } + _impl_.balance_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgClientWelcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes game_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_game_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_outofdate_subscribed_caches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_uptodate_subscribed_caches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional .CMsgClientWelcome.Location location = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_location(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes game_data2 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_game_data2(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 rtime32_gc_welcome_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_rtime32_gc_welcome_timestamp(&has_bits); + _impl_.rtime32_gc_welcome_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 currency = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_currency(&has_bits); + _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 balance = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_balance(&has_bits); + _impl_.balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string balance_url = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_balance_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.balance_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string txn_country_code = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_txn_country_code(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.txn_country_code"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgClientWelcome::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgClientWelcome) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 version = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); + } + + // optional bytes game_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_game_data(), target); + } + + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_outofdate_subscribed_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_outofdate_subscribed_caches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_uptodate_subscribed_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_uptodate_subscribed_caches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional .CMsgClientWelcome.Location location = 5; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::location(this), + _Internal::location(this).GetCachedSize(), target, stream); + } + + // optional bytes game_data2 = 6; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_game_data2(), target); + } + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rtime32_gc_welcome_timestamp(), target); + } + + // optional uint32 currency = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_currency(), target); + } + + // optional uint32 balance = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_balance(), target); + } + + // optional string balance_url = 10; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_balance_url().data(), static_cast(this->_internal_balance_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgClientWelcome.balance_url"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_balance_url(), target); + } + + // optional string txn_country_code = 11; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_txn_country_code().data(), static_cast(this->_internal_txn_country_code().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgClientWelcome.txn_country_code"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_txn_country_code(), 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:CMsgClientWelcome) + return target; +} + +size_t CMsgClientWelcome::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgClientWelcome) + 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 .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + total_size += 1UL * this->_internal_outofdate_subscribed_caches_size(); + for (const auto& msg : this->_impl_.outofdate_subscribed_caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + total_size += 1UL * this->_internal_uptodate_subscribed_caches_size(); + for (const auto& msg : this->_impl_.uptodate_subscribed_caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes game_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_game_data()); + } + + // optional bytes game_data2 = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_game_data2()); + } + + // optional string balance_url = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_balance_url()); + } + + // optional string txn_country_code = 11; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_txn_country_code()); + } + + // optional .CMsgClientWelcome.Location location = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.location_); + } + + // optional uint32 version = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); + } + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_gc_welcome_timestamp()); + } + + // optional uint32 currency = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currency()); + } + + } + // optional uint32 balance = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_balance()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientWelcome::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgClientWelcome::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientWelcome::GetClassData() const { return &_class_data_; } + + +void CMsgClientWelcome::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:CMsgClientWelcome) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.outofdate_subscribed_caches_.MergeFrom(from._impl_.outofdate_subscribed_caches_); + _this->_impl_.uptodate_subscribed_caches_.MergeFrom(from._impl_.uptodate_subscribed_caches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_data(from._internal_game_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_game_data2(from._internal_game_data2()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_balance_url(from._internal_balance_url()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_txn_country_code(from._internal_txn_country_code()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_location()->::CMsgClientWelcome_Location::MergeFrom( + from._internal_location()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.rtime32_gc_welcome_timestamp_ = from._impl_.rtime32_gc_welcome_timestamp_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.currency_ = from._impl_.currency_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_balance(from._internal_balance()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgClientWelcome::CopyFrom(const CMsgClientWelcome& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientWelcome) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgClientWelcome::IsInitialized() const { + return true; +} + +void CMsgClientWelcome::InternalSwap(CMsgClientWelcome* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.outofdate_subscribed_caches_.InternalSwap(&other->_impl_.outofdate_subscribed_caches_); + _impl_.uptodate_subscribed_caches_.InternalSwap(&other->_impl_.uptodate_subscribed_caches_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_data_, lhs_arena, + &other->_impl_.game_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_data2_, lhs_arena, + &other->_impl_.game_data2_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.balance_url_, lhs_arena, + &other->_impl_.balance_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.txn_country_code_, lhs_arena, + &other->_impl_.txn_country_code_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgClientWelcome, _impl_.balance_) + + sizeof(CMsgClientWelcome::_impl_.balance_) + - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome, _impl_.location_)>( + reinterpret_cast(&_impl_.location_), + reinterpret_cast(&other->_impl_.location_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientWelcome::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[25]); +} + +// =================================================================== + +class CMsgConnectionStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_status(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client_session_need(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_queue_position(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_queue_size(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_wait_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_estimated_wait_seconds_remaining(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CMsgConnectionStatus::CMsgConnectionStatus(::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:CMsgConnectionStatus) +} +CMsgConnectionStatus::CMsgConnectionStatus(const CMsgConnectionStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgConnectionStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.status_){} + , decltype(_impl_.client_session_need_){} + , decltype(_impl_.queue_position_){} + , decltype(_impl_.queue_size_){} + , decltype(_impl_.wait_seconds_){} + , decltype(_impl_.estimated_wait_seconds_remaining_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.status_, &from._impl_.status_, + static_cast(reinterpret_cast(&_impl_.estimated_wait_seconds_remaining_) - + reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.estimated_wait_seconds_remaining_)); + // @@protoc_insertion_point(copy_constructor:CMsgConnectionStatus) +} + +inline void CMsgConnectionStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.status_){0} + , decltype(_impl_.client_session_need_){0u} + , decltype(_impl_.queue_position_){0} + , decltype(_impl_.queue_size_){0} + , decltype(_impl_.wait_seconds_){0} + , decltype(_impl_.estimated_wait_seconds_remaining_){0} + }; +} + +CMsgConnectionStatus::~CMsgConnectionStatus() { + // @@protoc_insertion_point(destructor:CMsgConnectionStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgConnectionStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgConnectionStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgConnectionStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgConnectionStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.status_, 0, static_cast( + reinterpret_cast(&_impl_.estimated_wait_seconds_remaining_) - + reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.estimated_wait_seconds_remaining_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgConnectionStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::GCConnectionStatus_IsValid(val))) { + _internal_set_status(static_cast<::GCConnectionStatus>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional uint32 client_session_need = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client_session_need(&has_bits); + _impl_.client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 queue_position = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_queue_position(&has_bits); + _impl_.queue_position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 queue_size = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_queue_size(&has_bits); + _impl_.queue_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 wait_seconds = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_wait_seconds(&has_bits); + _impl_.wait_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 estimated_wait_seconds_remaining = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_estimated_wait_seconds_remaining(&has_bits); + _impl_.estimated_wait_seconds_remaining_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgConnectionStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgConnectionStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_status(), target); + } + + // optional uint32 client_session_need = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_session_need(), target); + } + + // optional int32 queue_position = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_queue_position(), target); + } + + // optional int32 queue_size = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_queue_size(), target); + } + + // optional int32 wait_seconds = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_wait_seconds(), target); + } + + // optional int32 estimated_wait_seconds_remaining = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_estimated_wait_seconds_remaining(), 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:CMsgConnectionStatus) + return target; +} + +size_t CMsgConnectionStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgConnectionStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_status()); + } + + // optional uint32 client_session_need = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_session_need()); + } + + // optional int32 queue_position = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_queue_position()); + } + + // optional int32 queue_size = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_queue_size()); + } + + // optional int32 wait_seconds = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_wait_seconds()); + } + + // optional int32 estimated_wait_seconds_remaining = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_estimated_wait_seconds_remaining()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConnectionStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgConnectionStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConnectionStatus::GetClassData() const { return &_class_data_; } + + +void CMsgConnectionStatus::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:CMsgConnectionStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.status_ = from._impl_.status_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.client_session_need_ = from._impl_.client_session_need_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.queue_position_ = from._impl_.queue_position_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.queue_size_ = from._impl_.queue_size_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.wait_seconds_ = from._impl_.wait_seconds_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.estimated_wait_seconds_remaining_ = from._impl_.estimated_wait_seconds_remaining_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgConnectionStatus::CopyFrom(const CMsgConnectionStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConnectionStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgConnectionStatus::IsInitialized() const { + return true; +} + +void CMsgConnectionStatus::InternalSwap(CMsgConnectionStatus* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgConnectionStatus, _impl_.estimated_wait_seconds_remaining_) + + sizeof(CMsgConnectionStatus::_impl_.estimated_wait_seconds_remaining_) + - PROTOBUF_FIELD_OFFSET(CMsgConnectionStatus, _impl_.status_)>( + reinterpret_cast(&_impl_.status_), + reinterpret_cast(&other->_impl_.status_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgConnectionStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[26]); +} + +// =================================================================== + +class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_gameitemid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_item_description(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_one_per_account(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::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:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) +} +CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_description_){} + , decltype(_impl_.gameitemid_){} + , decltype(_impl_.one_per_account_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.item_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_item_description()) { + _this->_impl_.item_description_.Set(from._internal_item_description(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.gameitemid_, &from._impl_.gameitemid_, + static_cast(reinterpret_cast(&_impl_.one_per_account_) - + reinterpret_cast(&_impl_.gameitemid_)) + sizeof(_impl_.one_per_account_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) +} + +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.item_description_){} + , decltype(_impl_.gameitemid_){0u} + , decltype(_impl_.one_per_account_){false} + }; + _impl_.item_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() { + // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_description_.Destroy(); +} + +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.item_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.gameitemid_, 0, static_cast( + reinterpret_cast(&_impl_.one_per_account_) - + reinterpret_cast(&_impl_.gameitemid_)) + sizeof(_impl_.one_per_account_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 gameitemid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_gameitemid(&has_bits); + _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string item_description = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_item_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool one_per_account = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_one_per_account(&has_bits); + _impl_.one_per_account_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 gameitemid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gameitemid(), target); + } + + // optional string item_description = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_item_description().data(), static_cast(this->_internal_item_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_item_description(), target); + } + + // optional bool one_per_account = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_one_per_account(), 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:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + return target; +} + +size_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string item_description = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item_description()); + } + + // optional uint32 gameitemid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); + } + + // optional bool one_per_account = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::GetClassData() const { return &_class_data_; } + + +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::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:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_item_description(from._internal_item_description()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gameitemid_ = from._impl_.gameitemid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.one_per_account_ = from._impl_.one_per_account_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::IsInitialized() const { + return true; +} + +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::InternalSwap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_description_, lhs_arena, + &other->_impl_.item_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.one_per_account_) + + sizeof(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_impl_.one_per_account_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.gameitemid_)>( + reinterpret_cast(&_impl_.gameitemid_), + reinterpret_cast(&other->_impl_.gameitemid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[27]); +} + +// =================================================================== + +class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_language(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::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:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) +} +CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.descriptions_){from._impl_.descriptions_} + , decltype(_impl_.language_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.language_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.language_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_language()) { + _this->_impl_.language_.Set(from._internal_language(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) +} + +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.descriptions_){arena} + , decltype(_impl_.language_){} + }; + _impl_.language_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.language_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() { + // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.descriptions_.~RepeatedPtrField(); + _impl_.language_.Destroy(); +} + +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.descriptions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.language_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string language = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_language(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_descriptions(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string language = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_language().data(), static_cast(this->_internal_language().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_language(), target); + } + + // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_descriptions_size()); i < n; i++) { + const auto& repfield = this->_internal_descriptions(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:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + return target; +} + +size_t CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + 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 .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; + total_size += 1UL * this->_internal_descriptions_size(); + for (const auto& msg : this->_impl_.descriptions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional string language = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_language()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::GetClassData() const { return &_class_data_; } + + +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::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:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.descriptions_.MergeFrom(from._impl_.descriptions_); + if (from._internal_has_language()) { + _this->_internal_set_language(from._internal_language()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::IsInitialized() const { + return true; +} + +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::InternalSwap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.descriptions_.InternalSwap(&other->_impl_.descriptions_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.language_, lhs_arena, + &other->_impl_.language_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[28]); +} + +// =================================================================== + +class CWorkshop_PopulateItemDescriptions_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_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:CWorkshop_PopulateItemDescriptions_Request) +} +CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_Request(const CWorkshop_PopulateItemDescriptions_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_PopulateItemDescriptions_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.languages_){from._impl_.languages_} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request) +} + +inline void CWorkshop_PopulateItemDescriptions_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.languages_){arena} + , decltype(_impl_.appid_){0u} + }; +} + +CWorkshop_PopulateItemDescriptions_Request::~CWorkshop_PopulateItemDescriptions_Request() { + // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_PopulateItemDescriptions_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.languages_.~RepeatedPtrField(); +} + +void CWorkshop_PopulateItemDescriptions_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_PopulateItemDescriptions_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.languages_.Clear(); + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_PopulateItemDescriptions_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_languages(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_PopulateItemDescriptions_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_languages_size()); i < n; i++) { + const auto& repfield = this->_internal_languages(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:CWorkshop_PopulateItemDescriptions_Request) + return target; +} + +size_t CWorkshop_PopulateItemDescriptions_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_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; + + // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; + total_size += 1UL * this->_internal_languages_size(); + for (const auto& msg : this->_impl_.languages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 appid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_PopulateItemDescriptions_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request::GetClassData() const { return &_class_data_; } + + +void CWorkshop_PopulateItemDescriptions_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:CWorkshop_PopulateItemDescriptions_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.languages_.MergeFrom(from._impl_.languages_); + if (from._internal_has_appid()) { + _this->_internal_set_appid(from._internal_appid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_PopulateItemDescriptions_Request::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_PopulateItemDescriptions_Request::IsInitialized() const { + return true; +} + +void CWorkshop_PopulateItemDescriptions_Request::InternalSwap(CWorkshop_PopulateItemDescriptions_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.languages_.InternalSwap(&other->_impl_.languages_); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[29]); +} + +// =================================================================== + +class CWorkshop_GetContributors_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gameitemid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CWorkshop_GetContributors_Request::CWorkshop_GetContributors_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:CWorkshop_GetContributors_Request) +} +CWorkshop_GetContributors_Request::CWorkshop_GetContributors_Request(const CWorkshop_GetContributors_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_GetContributors_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){} + , decltype(_impl_.gameitemid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.gameitemid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.gameitemid_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_GetContributors_Request) +} + +inline void CWorkshop_GetContributors_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.gameitemid_){0u} + }; +} + +CWorkshop_GetContributors_Request::~CWorkshop_GetContributors_Request() { + // @@protoc_insertion_point(destructor:CWorkshop_GetContributors_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_GetContributors_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CWorkshop_GetContributors_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_GetContributors_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_GetContributors_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.gameitemid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.gameitemid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_GetContributors_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gameitemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gameitemid(&has_bits); + _impl_.gameitemid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_GetContributors_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_GetContributors_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), 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:CWorkshop_GetContributors_Request) + return target; +} + +size_t CWorkshop_GetContributors_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_GetContributors_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_GetContributors_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_GetContributors_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_GetContributors_Request::GetClassData() const { return &_class_data_; } + + +void CWorkshop_GetContributors_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:CWorkshop_GetContributors_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gameitemid_ = from._impl_.gameitemid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_GetContributors_Request::CopyFrom(const CWorkshop_GetContributors_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_GetContributors_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_GetContributors_Request::IsInitialized() const { + return true; +} + +void CWorkshop_GetContributors_Request::InternalSwap(CWorkshop_GetContributors_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_GetContributors_Request, _impl_.gameitemid_) + + sizeof(CWorkshop_GetContributors_Request::_impl_.gameitemid_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_GetContributors_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_GetContributors_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[30]); +} + +// =================================================================== + +class CWorkshop_GetContributors_Response::_Internal { + public: +}; + +CWorkshop_GetContributors_Response::CWorkshop_GetContributors_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:CWorkshop_GetContributors_Response) +} +CWorkshop_GetContributors_Response::CWorkshop_GetContributors_Response(const CWorkshop_GetContributors_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_GetContributors_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.contributors_){from._impl_.contributors_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CWorkshop_GetContributors_Response) +} + +inline void CWorkshop_GetContributors_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.contributors_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CWorkshop_GetContributors_Response::~CWorkshop_GetContributors_Response() { + // @@protoc_insertion_point(destructor:CWorkshop_GetContributors_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_GetContributors_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.contributors_.~RepeatedField(); +} + +void CWorkshop_GetContributors_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_GetContributors_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_GetContributors_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.contributors_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_GetContributors_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) { + // repeated fixed64 contributors = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_contributors(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint64_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<9>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_contributors(), ptr, ctx); + 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* CWorkshop_GetContributors_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_GetContributors_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated fixed64 contributors = 1; + for (int i = 0, n = this->_internal_contributors_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_contributors(i), 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:CWorkshop_GetContributors_Response) + return target; +} + +size_t CWorkshop_GetContributors_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_GetContributors_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; + + // repeated fixed64 contributors = 1; + { + unsigned int count = static_cast(this->_internal_contributors_size()); + size_t data_size = 8UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_contributors_size()); + total_size += data_size; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_GetContributors_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_GetContributors_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_GetContributors_Response::GetClassData() const { return &_class_data_; } + + +void CWorkshop_GetContributors_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:CWorkshop_GetContributors_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.contributors_.MergeFrom(from._impl_.contributors_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_GetContributors_Response::CopyFrom(const CWorkshop_GetContributors_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_GetContributors_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_GetContributors_Response::IsInitialized() const { + return true; +} + +void CWorkshop_GetContributors_Response::InternalSwap(CWorkshop_GetContributors_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.contributors_.InternalSwap(&other->_impl_.contributors_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_GetContributors_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[31]); +} + +// =================================================================== + +class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_workshop_file_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_revenue_percentage(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_rule_description(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_rule_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::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:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) +} +CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.workshop_file_id_){} + , decltype(_impl_.revenue_percentage_){} + , decltype(_impl_.rule_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_rule_description()) { + _this->_impl_.rule_description_.Set(from._internal_rule_description(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.workshop_file_id_, &from._impl_.workshop_file_id_, + static_cast(reinterpret_cast(&_impl_.rule_type_) - + reinterpret_cast(&_impl_.workshop_file_id_)) + sizeof(_impl_.rule_type_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) +} + +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.workshop_file_id_){uint64_t{0u}} + , decltype(_impl_.revenue_percentage_){0} + , decltype(_impl_.rule_type_){1u} + }; + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() { + // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.rule_description_.Destroy(); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.rule_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.workshop_file_id_, 0, static_cast( + reinterpret_cast(&_impl_.revenue_percentage_) - + reinterpret_cast(&_impl_.workshop_file_id_)) + sizeof(_impl_.revenue_percentage_)); + _impl_.rule_type_ = 1u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 workshop_file_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_workshop_file_id(&has_bits); + _impl_.workshop_file_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float revenue_percentage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_revenue_percentage(&has_bits); + _impl_.revenue_percentage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string rule_description = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_rule_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 rule_type = 4 [default = 1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_rule_type(&has_bits); + _impl_.rule_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 workshop_file_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_workshop_file_id(), target); + } + + // optional float revenue_percentage = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_revenue_percentage(), target); + } + + // optional string rule_description = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_rule_description(), target); + } + + // optional uint32 rule_type = 4 [default = 1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rule_type(), 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:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + return target; +} + +size_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string rule_description = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_rule_description()); + } + + // optional uint64 workshop_file_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_workshop_file_id()); + } + + // optional float revenue_percentage = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 rule_type = 4 [default = 1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rule_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::GetClassData() const { return &_class_data_; } + + +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::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:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_rule_description(from._internal_rule_description()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.revenue_percentage_ = from._impl_.revenue_percentage_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.rule_type_ = from._impl_.rule_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::IsInitialized() const { + return true; +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.rule_description_, lhs_arena, + &other->_impl_.rule_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.revenue_percentage_) + + sizeof(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_impl_.revenue_percentage_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.workshop_file_id_)>( + reinterpret_cast(&_impl_.workshop_file_id_), + reinterpret_cast(&other->_impl_.workshop_file_id_)); + swap(_impl_.rule_type_, other->_impl_.rule_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[32]); +} + +// =================================================================== + +class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_workshop_file_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_rule_description(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::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:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) +} +CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.workshop_file_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_rule_description()) { + _this->_impl_.rule_description_.Set(from._internal_rule_description(), + _this->GetArenaForAllocation()); + } + _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; + // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) +} + +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.workshop_file_id_){uint64_t{0u}} + }; + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() { + // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.rule_description_.Destroy(); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.rule_description_.ClearNonDefaultToEmpty(); + } + _impl_.workshop_file_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 workshop_file_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_workshop_file_id(&has_bits); + _impl_.workshop_file_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string rule_description = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_rule_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 workshop_file_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_workshop_file_id(), target); + } + + // optional string rule_description = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_rule_description(), 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:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + return target; +} + +size_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string rule_description = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_rule_description()); + } + + // optional uint64 workshop_file_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_workshop_file_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::GetClassData() const { return &_class_data_; } + + +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::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:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_rule_description(from._internal_rule_description()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::IsInitialized() const { + return true; +} + +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.rule_description_, lhs_arena, + &other->_impl_.rule_description_, rhs_arena + ); + swap(_impl_.workshop_file_id_, other->_impl_.workshop_file_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[33]); +} + +// =================================================================== + +class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_account_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_revenue_percentage(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_rule_description(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::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:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) +} +CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.account_id_){} + , decltype(_impl_.revenue_percentage_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_rule_description()) { + _this->_impl_.rule_description_.Set(from._internal_rule_description(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, + static_cast(reinterpret_cast(&_impl_.revenue_percentage_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.revenue_percentage_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) +} + +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.rule_description_){} + , decltype(_impl_.account_id_){0u} + , decltype(_impl_.revenue_percentage_){0} + }; + _impl_.rule_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() { + // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.rule_description_.Destroy(); +} + +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.rule_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.account_id_, 0, static_cast( + reinterpret_cast(&_impl_.revenue_percentage_) - + reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.revenue_percentage_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 account_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_account_id(&has_bits); + _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float revenue_percentage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_revenue_percentage(&has_bits); + _impl_.revenue_percentage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string rule_description = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_rule_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); + } + + // optional float revenue_percentage = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_revenue_percentage(), target); + } + + // optional string rule_description = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_rule_description(), 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:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + return target; +} + +size_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string rule_description = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_rule_description()); + } + + // optional uint32 account_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); + } + + // optional float revenue_percentage = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::GetClassData() const { return &_class_data_; } + + +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::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:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_rule_description(from._internal_rule_description()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.account_id_ = from._impl_.account_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.revenue_percentage_ = from._impl_.revenue_percentage_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::IsInitialized() const { + return true; +} + +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.rule_description_, lhs_arena, + &other->_impl_.rule_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.revenue_percentage_) + + sizeof(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_impl_.revenue_percentage_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.account_id_)>( + reinterpret_cast(&_impl_.account_id_), + reinterpret_cast(&other->_impl_.account_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[34]); +} + +// =================================================================== + +class CWorkshop_SetItemPaymentRules_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_gameitemid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_validate_only(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_make_workshop_files_subscribable(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& associated_workshop_file_for_direct_payments(const CWorkshop_SetItemPaymentRules_Request* msg); + static void set_has_associated_workshop_file_for_direct_payments(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& +CWorkshop_SetItemPaymentRules_Request::_Internal::associated_workshop_file_for_direct_payments(const CWorkshop_SetItemPaymentRules_Request* msg) { + return *msg->_impl_.associated_workshop_file_for_direct_payments_; +} +CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_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:CWorkshop_SetItemPaymentRules_Request) +} +CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_Request(const CWorkshop_SetItemPaymentRules_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_SetItemPaymentRules_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.associated_workshop_files_){from._impl_.associated_workshop_files_} + , decltype(_impl_.partner_accounts_){from._impl_.partner_accounts_} + , decltype(_impl_.associated_workshop_file_for_direct_payments_){nullptr} + , decltype(_impl_.appid_){} + , decltype(_impl_.gameitemid_){} + , decltype(_impl_.validate_only_){} + , decltype(_impl_.make_workshop_files_subscribable_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_associated_workshop_file_for_direct_payments()) { + _this->_impl_.associated_workshop_file_for_direct_payments_ = new ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(*from._impl_.associated_workshop_file_for_direct_payments_); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.make_workshop_files_subscribable_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.make_workshop_files_subscribable_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request) +} + +inline void CWorkshop_SetItemPaymentRules_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.associated_workshop_files_){arena} + , decltype(_impl_.partner_accounts_){arena} + , decltype(_impl_.associated_workshop_file_for_direct_payments_){nullptr} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.gameitemid_){0u} + , decltype(_impl_.validate_only_){false} + , decltype(_impl_.make_workshop_files_subscribable_){false} + }; +} + +CWorkshop_SetItemPaymentRules_Request::~CWorkshop_SetItemPaymentRules_Request() { + // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_SetItemPaymentRules_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.associated_workshop_files_.~RepeatedPtrField(); + _impl_.partner_accounts_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.associated_workshop_file_for_direct_payments_; +} + +void CWorkshop_SetItemPaymentRules_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_SetItemPaymentRules_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.associated_workshop_files_.Clear(); + _impl_.partner_accounts_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.associated_workshop_file_for_direct_payments_ != nullptr); + _impl_.associated_workshop_file_for_direct_payments_->Clear(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.make_workshop_files_subscribable_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.make_workshop_files_subscribable_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_SetItemPaymentRules_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gameitemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gameitemid(&has_bits); + _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_associated_workshop_files(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_partner_accounts(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional bool validate_only = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_validate_only(&has_bits); + _impl_.validate_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool make_workshop_files_subscribable = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_make_workshop_files_subscribable(&has_bits); + _impl_.make_workshop_files_subscribable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_associated_workshop_file_for_direct_payments(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_SetItemPaymentRules_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), target); + } + + // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_associated_workshop_files_size()); i < n; i++) { + const auto& repfield = this->_internal_associated_workshop_files(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_partner_accounts_size()); i < n; i++) { + const auto& repfield = this->_internal_partner_accounts(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bool validate_only = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_validate_only(), target); + } + + // optional bool make_workshop_files_subscribable = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_make_workshop_files_subscribable(), target); + } + + // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::associated_workshop_file_for_direct_payments(this), + _Internal::associated_workshop_file_for_direct_payments(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:CWorkshop_SetItemPaymentRules_Request) + return target; +} + +size_t CWorkshop_SetItemPaymentRules_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_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; + + // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; + total_size += 1UL * this->_internal_associated_workshop_files_size(); + for (const auto& msg : this->_impl_.associated_workshop_files_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + total_size += 1UL * this->_internal_partner_accounts_size(); + for (const auto& msg : this->_impl_.partner_accounts_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.associated_workshop_file_for_direct_payments_); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); + } + + // optional bool validate_only = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool make_workshop_files_subscribable = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_SetItemPaymentRules_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request::GetClassData() const { return &_class_data_; } + + +void CWorkshop_SetItemPaymentRules_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:CWorkshop_SetItemPaymentRules_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.associated_workshop_files_.MergeFrom(from._impl_.associated_workshop_files_); + _this->_impl_.partner_accounts_.MergeFrom(from._impl_.partner_accounts_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_associated_workshop_file_for_direct_payments()->::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeFrom( + from._internal_associated_workshop_file_for_direct_payments()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.gameitemid_ = from._impl_.gameitemid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.validate_only_ = from._impl_.validate_only_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.make_workshop_files_subscribable_ = from._impl_.make_workshop_files_subscribable_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_SetItemPaymentRules_Request::CopyFrom(const CWorkshop_SetItemPaymentRules_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_SetItemPaymentRules_Request::IsInitialized() const { + return true; +} + +void CWorkshop_SetItemPaymentRules_Request::InternalSwap(CWorkshop_SetItemPaymentRules_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.associated_workshop_files_.InternalSwap(&other->_impl_.associated_workshop_files_); + _impl_.partner_accounts_.InternalSwap(&other->_impl_.partner_accounts_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request, _impl_.make_workshop_files_subscribable_) + + sizeof(CWorkshop_SetItemPaymentRules_Request::_impl_.make_workshop_files_subscribable_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_file_for_direct_payments_)>( + reinterpret_cast(&_impl_.associated_workshop_file_for_direct_payments_), + reinterpret_cast(&other->_impl_.associated_workshop_file_for_direct_payments_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[35]); +} + +// =================================================================== + +class CWorkshop_SetItemPaymentRules_Response::_Internal { + public: +}; + +CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Response) +} +CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response(const CWorkshop_SetItemPaymentRules_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CWorkshop_SetItemPaymentRules_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[36]); +} + +// =================================================================== + +class CGameServers_AggregationQuery_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_filter(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_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:CGameServers_AggregationQuery_Request) +} +CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_Request(const CGameServers_AggregationQuery_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameServers_AggregationQuery_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_fields_){from._impl_.group_fields_} + , decltype(_impl_.filter_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filter_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filter_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filter()) { + _this->_impl_.filter_.Set(from._internal_filter(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Request) +} + +inline void CGameServers_AggregationQuery_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_fields_){arena} + , decltype(_impl_.filter_){} + }; + _impl_.filter_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filter_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGameServers_AggregationQuery_Request::~CGameServers_AggregationQuery_Request() { + // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameServers_AggregationQuery_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.group_fields_.~RepeatedPtrField(); + _impl_.filter_.Destroy(); +} + +void CGameServers_AggregationQuery_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameServers_AggregationQuery_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.group_fields_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.filter_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameServers_AggregationQuery_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string filter = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_filter(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Request.filter"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string group_fields = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_group_fields(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Request.group_fields"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameServers_AggregationQuery_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string filter = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filter().data(), static_cast(this->_internal_filter().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameServers_AggregationQuery_Request.filter"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_filter(), target); + } + + // repeated string group_fields = 3; + for (int i = 0, n = this->_internal_group_fields_size(); i < n; i++) { + const auto& s = this->_internal_group_fields(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameServers_AggregationQuery_Request.group_fields"); + target = stream->WriteString(3, 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:CGameServers_AggregationQuery_Request) + return target; +} + +size_t CGameServers_AggregationQuery_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_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; + + // repeated string group_fields = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.group_fields_.size()); + for (int i = 0, n = _impl_.group_fields_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.group_fields_.Get(i)); + } + + // optional string filter = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filter()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameServers_AggregationQuery_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Request::GetClassData() const { return &_class_data_; } + + +void CGameServers_AggregationQuery_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:CGameServers_AggregationQuery_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.group_fields_.MergeFrom(from._impl_.group_fields_); + if (from._internal_has_filter()) { + _this->_internal_set_filter(from._internal_filter()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameServers_AggregationQuery_Request::CopyFrom(const CGameServers_AggregationQuery_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameServers_AggregationQuery_Request::IsInitialized() const { + return true; +} + +void CGameServers_AggregationQuery_Request::InternalSwap(CGameServers_AggregationQuery_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.group_fields_.InternalSwap(&other->_impl_.group_fields_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filter_, lhs_arena, + &other->_impl_.filter_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[37]); +} + +// =================================================================== + +class CGameServers_AggregationQuery_Response_Group::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_servers_empty(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_servers_full(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_servers_total(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_players_humans(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_players_bots(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_player_capacity(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group(::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:CGameServers_AggregationQuery_Response.Group) +} +CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group(const CGameServers_AggregationQuery_Response_Group& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameServers_AggregationQuery_Response_Group* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_values_){from._impl_.group_values_} + , decltype(_impl_.servers_empty_){} + , decltype(_impl_.servers_full_){} + , decltype(_impl_.servers_total_){} + , decltype(_impl_.players_humans_){} + , decltype(_impl_.players_bots_){} + , decltype(_impl_.player_capacity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.servers_empty_, &from._impl_.servers_empty_, + static_cast(reinterpret_cast(&_impl_.player_capacity_) - + reinterpret_cast(&_impl_.servers_empty_)) + sizeof(_impl_.player_capacity_)); + // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Response.Group) +} + +inline void CGameServers_AggregationQuery_Response_Group::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.group_values_){arena} + , decltype(_impl_.servers_empty_){0u} + , decltype(_impl_.servers_full_){0u} + , decltype(_impl_.servers_total_){0u} + , decltype(_impl_.players_humans_){0u} + , decltype(_impl_.players_bots_){0u} + , decltype(_impl_.player_capacity_){0u} + }; +} + +CGameServers_AggregationQuery_Response_Group::~CGameServers_AggregationQuery_Response_Group() { + // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Response.Group) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameServers_AggregationQuery_Response_Group::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.group_values_.~RepeatedPtrField(); +} + +void CGameServers_AggregationQuery_Response_Group::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameServers_AggregationQuery_Response_Group::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Response.Group) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.group_values_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.servers_empty_, 0, static_cast( + reinterpret_cast(&_impl_.player_capacity_) - + reinterpret_cast(&_impl_.servers_empty_)) + sizeof(_impl_.player_capacity_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameServers_AggregationQuery_Response_Group::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated string group_values = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_group_values(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Response.Group.group_values"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 servers_empty = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_servers_empty(&has_bits); + _impl_.servers_empty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 servers_full = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_servers_full(&has_bits); + _impl_.servers_full_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 servers_total = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_servers_total(&has_bits); + _impl_.servers_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 players_humans = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_players_humans(&has_bits); + _impl_.players_humans_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 players_bots = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_players_bots(&has_bits); + _impl_.players_bots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 player_capacity = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_player_capacity(&has_bits); + _impl_.player_capacity_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameServers_AggregationQuery_Response_Group::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Response.Group) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string group_values = 1; + for (int i = 0, n = this->_internal_group_values_size(); i < n; i++) { + const auto& s = this->_internal_group_values(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameServers_AggregationQuery_Response.Group.group_values"); + target = stream->WriteString(1, s, target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 servers_empty = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servers_empty(), target); + } + + // optional uint32 servers_full = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_servers_full(), target); + } + + // optional uint32 servers_total = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_servers_total(), target); + } + + // optional uint32 players_humans = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_players_humans(), target); + } + + // optional uint32 players_bots = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_players_bots(), target); + } + + // optional uint32 player_capacity = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_player_capacity(), 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:CGameServers_AggregationQuery_Response.Group) + return target; +} + +size_t CGameServers_AggregationQuery_Response_Group::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_Response.Group) + 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 group_values = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.group_values_.size()); + for (int i = 0, n = _impl_.group_values_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.group_values_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional uint32 servers_empty = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_empty()); + } + + // optional uint32 servers_full = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_full()); + } + + // optional uint32 servers_total = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_total()); + } + + // optional uint32 players_humans = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_humans()); + } + + // optional uint32 players_bots = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_bots()); + } + + // optional uint32 player_capacity = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_capacity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Response_Group::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameServers_AggregationQuery_Response_Group::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Response_Group::GetClassData() const { return &_class_data_; } + + +void CGameServers_AggregationQuery_Response_Group::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:CGameServers_AggregationQuery_Response.Group) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.group_values_.MergeFrom(from._impl_.group_values_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.servers_empty_ = from._impl_.servers_empty_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.servers_full_ = from._impl_.servers_full_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.servers_total_ = from._impl_.servers_total_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.players_humans_ = from._impl_.players_humans_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.players_bots_ = from._impl_.players_bots_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.player_capacity_ = from._impl_.player_capacity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameServers_AggregationQuery_Response_Group::CopyFrom(const CGameServers_AggregationQuery_Response_Group& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Response.Group) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameServers_AggregationQuery_Response_Group::IsInitialized() const { + return true; +} + +void CGameServers_AggregationQuery_Response_Group::InternalSwap(CGameServers_AggregationQuery_Response_Group* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.group_values_.InternalSwap(&other->_impl_.group_values_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameServers_AggregationQuery_Response_Group, _impl_.player_capacity_) + + sizeof(CGameServers_AggregationQuery_Response_Group::_impl_.player_capacity_) + - PROTOBUF_FIELD_OFFSET(CGameServers_AggregationQuery_Response_Group, _impl_.servers_empty_)>( + reinterpret_cast(&_impl_.servers_empty_), + reinterpret_cast(&other->_impl_.servers_empty_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Response_Group::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[38]); +} + +// =================================================================== + +class CGameServers_AggregationQuery_Response::_Internal { + public: +}; + +CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_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:CGameServers_AggregationQuery_Response) +} +CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_Response(const CGameServers_AggregationQuery_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameServers_AggregationQuery_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.groups_){from._impl_.groups_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Response) +} + +inline void CGameServers_AggregationQuery_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.groups_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CGameServers_AggregationQuery_Response::~CGameServers_AggregationQuery_Response() { + // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameServers_AggregationQuery_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.groups_.~RepeatedPtrField(); +} + +void CGameServers_AggregationQuery_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameServers_AggregationQuery_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.groups_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameServers_AggregationQuery_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) { + // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_groups(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CGameServers_AggregationQuery_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_groups_size()); i < n; i++) { + const auto& repfield = this->_internal_groups(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CGameServers_AggregationQuery_Response) + return target; +} + +size_t CGameServers_AggregationQuery_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_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; + + // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; + total_size += 1UL * this->_internal_groups_size(); + for (const auto& msg : this->_impl_.groups_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameServers_AggregationQuery_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Response::GetClassData() const { return &_class_data_; } + + +void CGameServers_AggregationQuery_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:CGameServers_AggregationQuery_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.groups_.MergeFrom(from._impl_.groups_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameServers_AggregationQuery_Response::CopyFrom(const CGameServers_AggregationQuery_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameServers_AggregationQuery_Response::IsInitialized() const { + return true; +} + +void CGameServers_AggregationQuery_Response::InternalSwap(CGameServers_AggregationQuery_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.groups_.InternalSwap(&other->_impl_.groups_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[39]); +} + +// =================================================================== + +class CWorkshop_AddSpecialPayment_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_gameitemid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_date(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_payment_us_usd(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_payment_row_usd(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_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:CWorkshop_AddSpecialPayment_Request) +} +CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_Request(const CWorkshop_AddSpecialPayment_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CWorkshop_AddSpecialPayment_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.date_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.gameitemid_){} + , decltype(_impl_.payment_us_usd_){} + , decltype(_impl_.payment_row_usd_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.date_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.date_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_date()) { + _this->_impl_.date_.Set(from._internal_date(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.payment_row_usd_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.payment_row_usd_)); + // @@protoc_insertion_point(copy_constructor:CWorkshop_AddSpecialPayment_Request) +} + +inline void CWorkshop_AddSpecialPayment_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.date_){} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.gameitemid_){0u} + , decltype(_impl_.payment_us_usd_){uint64_t{0u}} + , decltype(_impl_.payment_row_usd_){uint64_t{0u}} + }; + _impl_.date_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.date_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CWorkshop_AddSpecialPayment_Request::~CWorkshop_AddSpecialPayment_Request() { + // @@protoc_insertion_point(destructor:CWorkshop_AddSpecialPayment_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CWorkshop_AddSpecialPayment_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.date_.Destroy(); +} + +void CWorkshop_AddSpecialPayment_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CWorkshop_AddSpecialPayment_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CWorkshop_AddSpecialPayment_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.date_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.payment_row_usd_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.payment_row_usd_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CWorkshop_AddSpecialPayment_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gameitemid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gameitemid(&has_bits); + _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string date = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_date(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CWorkshop_AddSpecialPayment_Request.date"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 payment_us_usd = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_payment_us_usd(&has_bits); + _impl_.payment_us_usd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 payment_row_usd = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_payment_row_usd(&has_bits); + _impl_.payment_row_usd_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CWorkshop_AddSpecialPayment_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_AddSpecialPayment_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), target); + } + + // optional string date = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_date().data(), static_cast(this->_internal_date().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CWorkshop_AddSpecialPayment_Request.date"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_date(), target); + } + + // optional uint64 payment_us_usd = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_payment_us_usd(), target); + } + + // optional uint64 payment_row_usd = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_payment_row_usd(), 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:CWorkshop_AddSpecialPayment_Request) + return target; +} + +size_t CWorkshop_AddSpecialPayment_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CWorkshop_AddSpecialPayment_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string date = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_date()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 gameitemid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); + } + + // optional uint64 payment_us_usd = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_payment_us_usd()); + } + + // optional uint64 payment_row_usd = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_payment_row_usd()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_AddSpecialPayment_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CWorkshop_AddSpecialPayment_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_AddSpecialPayment_Request::GetClassData() const { return &_class_data_; } + + +void CWorkshop_AddSpecialPayment_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:CWorkshop_AddSpecialPayment_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_date(from._internal_date()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.gameitemid_ = from._impl_.gameitemid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.payment_us_usd_ = from._impl_.payment_us_usd_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.payment_row_usd_ = from._impl_.payment_row_usd_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CWorkshop_AddSpecialPayment_Request::CopyFrom(const CWorkshop_AddSpecialPayment_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_AddSpecialPayment_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CWorkshop_AddSpecialPayment_Request::IsInitialized() const { + return true; +} + +void CWorkshop_AddSpecialPayment_Request::InternalSwap(CWorkshop_AddSpecialPayment_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.date_, lhs_arena, + &other->_impl_.date_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CWorkshop_AddSpecialPayment_Request, _impl_.payment_row_usd_) + + sizeof(CWorkshop_AddSpecialPayment_Request::_impl_.payment_row_usd_) + - PROTOBUF_FIELD_OFFSET(CWorkshop_AddSpecialPayment_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_AddSpecialPayment_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[40]); +} + +// =================================================================== + +class CWorkshop_AddSpecialPayment_Response::_Internal { + public: +}; + +CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CWorkshop_AddSpecialPayment_Response) +} +CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response(const CWorkshop_AddSpecialPayment_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CWorkshop_AddSpecialPayment_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CWorkshop_AddSpecialPayment_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_AddSpecialPayment_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_AddSpecialPayment_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_AddSpecialPayment_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[41]); +} + +// =================================================================== + +class CProductInfo_SetRichPresenceLocalization_Request_Token::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token(::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:CProductInfo_SetRichPresenceLocalization_Request.Token) +} +CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CProductInfo_SetRichPresenceLocalization_Request_Token* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_token()) { + _this->_impl_.token_.Set(from._internal_token(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request.Token) +} + +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + , decltype(_impl_.value_){} + }; + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CProductInfo_SetRichPresenceLocalization_Request_Token::~CProductInfo_SetRichPresenceLocalization_Request_Token() { + // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request.Token) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.token_.Destroy(); + _impl_.value_.Destroy(); +} + +void CProductInfo_SetRichPresenceLocalization_Request_Token::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CProductInfo_SetRichPresenceLocalization_Request_Token::Clear() { +// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request.Token) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CProductInfo_SetRichPresenceLocalization_Request_Token::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string token = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.Token.token"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.Token.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CProductInfo_SetRichPresenceLocalization_Request_Token::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request.Token) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string token = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_token().data(), static_cast(this->_internal_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CProductInfo_SetRichPresenceLocalization_Request.Token.token"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_token(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CProductInfo_SetRichPresenceLocalization_Request.Token.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:CProductInfo_SetRichPresenceLocalization_Request.Token) + return target; +} + +size_t CProductInfo_SetRichPresenceLocalization_Request_Token::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_Request.Token) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string token = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_token()); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request_Token::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CProductInfo_SetRichPresenceLocalization_Request_Token::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request_Token::GetClassData() const { return &_class_data_; } + + +void CProductInfo_SetRichPresenceLocalization_Request_Token::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:CProductInfo_SetRichPresenceLocalization_Request.Token) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_token(from._internal_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CProductInfo_SetRichPresenceLocalization_Request_Token::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request.Token) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CProductInfo_SetRichPresenceLocalization_Request_Token::IsInitialized() const { + return true; +} + +void CProductInfo_SetRichPresenceLocalization_Request_Token::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_Token* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.token_, lhs_arena, + &other->_impl_.token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request_Token::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[42]); +} + +// =================================================================== + +class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_language(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::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:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) +} +CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tokens_){from._impl_.tokens_} + , decltype(_impl_.language_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.language_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.language_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_language()) { + _this->_impl_.language_.Set(from._internal_language(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) +} + +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tokens_){arena} + , decltype(_impl_.language_){} + }; + _impl_.language_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.language_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::~CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() { + // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tokens_.~RepeatedPtrField(); + _impl_.language_.Destroy(); +} + +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::Clear() { +// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tokens_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.language_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string language = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_language(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tokens(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string language = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_language().data(), static_cast(this->_internal_language().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_language(), target); + } + + // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_tokens_size()); i < n; i++) { + const auto& repfield = this->_internal_tokens(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:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + return target; +} + +size_t CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + 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 .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; + total_size += 1UL * this->_internal_tokens_size(); + for (const auto& msg : this->_impl_.tokens_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional string language = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_language()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::GetClassData() const { return &_class_data_; } + + +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::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:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tokens_.MergeFrom(from._impl_.tokens_); + if (from._internal_has_language()) { + _this->_internal_set_language(from._internal_language()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::IsInitialized() const { + return true; +} + +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tokens_.InternalSwap(&other->_impl_.tokens_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.language_, lhs_arena, + &other->_impl_.language_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[43]); +} + +// =================================================================== + +class CProductInfo_SetRichPresenceLocalization_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_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:CProductInfo_SetRichPresenceLocalization_Request) +} +CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_Request(const CProductInfo_SetRichPresenceLocalization_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CProductInfo_SetRichPresenceLocalization_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.languages_){from._impl_.languages_} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request) +} + +inline void CProductInfo_SetRichPresenceLocalization_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.languages_){arena} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; +} + +CProductInfo_SetRichPresenceLocalization_Request::~CProductInfo_SetRichPresenceLocalization_Request() { + // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CProductInfo_SetRichPresenceLocalization_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.languages_.~RepeatedPtrField(); +} + +void CProductInfo_SetRichPresenceLocalization_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CProductInfo_SetRichPresenceLocalization_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.languages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CProductInfo_SetRichPresenceLocalization_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_languages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint64 steamid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CProductInfo_SetRichPresenceLocalization_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_languages_size()); i < n; i++) { + const auto& repfield = this->_internal_languages(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint64 steamid = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_steamid(), 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:CProductInfo_SetRichPresenceLocalization_Request) + return target; +} + +size_t CProductInfo_SetRichPresenceLocalization_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_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; + + // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; + total_size += 1UL * this->_internal_languages_size(); + for (const auto& msg : this->_impl_.languages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 steamid = 3; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CProductInfo_SetRichPresenceLocalization_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request::GetClassData() const { return &_class_data_; } + + +void CProductInfo_SetRichPresenceLocalization_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:CProductInfo_SetRichPresenceLocalization_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.languages_.MergeFrom(from._impl_.languages_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CProductInfo_SetRichPresenceLocalization_Request::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CProductInfo_SetRichPresenceLocalization_Request::IsInitialized() const { + return true; +} + +void CProductInfo_SetRichPresenceLocalization_Request::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.languages_.InternalSwap(&other->_impl_.languages_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CProductInfo_SetRichPresenceLocalization_Request, _impl_.appid_) + + sizeof(CProductInfo_SetRichPresenceLocalization_Request::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CProductInfo_SetRichPresenceLocalization_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[44]); +} + +// =================================================================== + +class CProductInfo_SetRichPresenceLocalization_Response::_Internal { + public: +}; + +CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CProductInfo_SetRichPresenceLocalization_Response) +} +CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response(const CProductInfo_SetRichPresenceLocalization_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CProductInfo_SetRichPresenceLocalization_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[45]); +} + +// =================================================================== + +class CMsgSerializedSOCache_TypeCache::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_service_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache(::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:CMsgSerializedSOCache.TypeCache) +} +CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache(const CMsgSerializedSOCache_TypeCache& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSerializedSOCache_TypeCache* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_){from._impl_.objects_} + , decltype(_impl_.type_){} + , decltype(_impl_.service_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.service_id_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.service_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.TypeCache) +} + +inline void CMsgSerializedSOCache_TypeCache::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.objects_){arena} + , decltype(_impl_.type_){0u} + , decltype(_impl_.service_id_){0u} + }; +} + +CMsgSerializedSOCache_TypeCache::~CMsgSerializedSOCache_TypeCache() { + // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.TypeCache) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSerializedSOCache_TypeCache::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.objects_.~RepeatedPtrField(); +} + +void CMsgSerializedSOCache_TypeCache::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSerializedSOCache_TypeCache::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.TypeCache) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.objects_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.service_id_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.service_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSerializedSOCache_TypeCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes objects = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_objects(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 service_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_service_id(&has_bits); + _impl_.service_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSerializedSOCache_TypeCache::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.TypeCache) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); + } + + // repeated bytes objects = 2; + for (int i = 0, n = this->_internal_objects_size(); i < n; i++) { + const auto& s = this->_internal_objects(i); + target = stream->WriteBytes(2, s, target); + } + + // optional uint32 service_id = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_service_id(), 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:CMsgSerializedSOCache.TypeCache) + return target; +} + +size_t CMsgSerializedSOCache_TypeCache::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.TypeCache) + 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 bytes objects = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.objects_.size()); + for (int i = 0, n = _impl_.objects_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.objects_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + // optional uint32 service_id = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_service_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_TypeCache::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSerializedSOCache_TypeCache::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_TypeCache::GetClassData() const { return &_class_data_; } + + +void CMsgSerializedSOCache_TypeCache::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:CMsgSerializedSOCache.TypeCache) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.objects_.MergeFrom(from._impl_.objects_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.service_id_ = from._impl_.service_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSerializedSOCache_TypeCache::CopyFrom(const CMsgSerializedSOCache_TypeCache& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.TypeCache) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSerializedSOCache_TypeCache::IsInitialized() const { + return true; +} + +void CMsgSerializedSOCache_TypeCache::InternalSwap(CMsgSerializedSOCache_TypeCache* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.objects_.InternalSwap(&other->_impl_.objects_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_TypeCache, _impl_.service_id_) + + sizeof(CMsgSerializedSOCache_TypeCache::_impl_.service_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_TypeCache, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_TypeCache::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[46]); +} + +// =================================================================== + +class CMsgSerializedSOCache_Cache_Version::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_service(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_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:CMsgSerializedSOCache.Cache.Version) +} +CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_Version(const CMsgSerializedSOCache_Cache_Version& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSerializedSOCache_Cache_Version* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.version_){} + , decltype(_impl_.service_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.version_, &from._impl_.version_, + static_cast(reinterpret_cast(&_impl_.service_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.service_)); + // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.Cache.Version) +} + +inline void CMsgSerializedSOCache_Cache_Version::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.version_){uint64_t{0u}} + , decltype(_impl_.service_){0u} + }; +} + +CMsgSerializedSOCache_Cache_Version::~CMsgSerializedSOCache_Cache_Version() { + // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.Cache.Version) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSerializedSOCache_Cache_Version::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSerializedSOCache_Cache_Version::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSerializedSOCache_Cache_Version::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.Cache.Version) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.version_, 0, static_cast( + reinterpret_cast(&_impl_.service_) - + reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.service_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSerializedSOCache_Cache_Version::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 service = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_service(&has_bits); + _impl_.service_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSerializedSOCache_Cache_Version::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.Cache.Version) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 service = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_service(), target); + } + + // optional uint64 version = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_version(), 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:CMsgSerializedSOCache.Cache.Version) + return target; +} + +size_t CMsgSerializedSOCache_Cache_Version::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.Cache.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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 version = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_version()); + } + + // optional uint32 service = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_service()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_Cache_Version::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSerializedSOCache_Cache_Version::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_Cache_Version::GetClassData() const { return &_class_data_; } + + +void CMsgSerializedSOCache_Cache_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:CMsgSerializedSOCache.Cache.Version) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.version_ = from._impl_.version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.service_ = from._impl_.service_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSerializedSOCache_Cache_Version::CopyFrom(const CMsgSerializedSOCache_Cache_Version& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.Cache.Version) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSerializedSOCache_Cache_Version::IsInitialized() const { + return true; +} + +void CMsgSerializedSOCache_Cache_Version::InternalSwap(CMsgSerializedSOCache_Cache_Version* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache_Version, _impl_.service_) + + sizeof(CMsgSerializedSOCache_Cache_Version::_impl_.service_) + - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache_Version, _impl_.version_)>( + reinterpret_cast(&_impl_.version_), + reinterpret_cast(&other->_impl_.version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_Cache_Version::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[47]); +} + +// =================================================================== + +class CMsgSerializedSOCache_Cache::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache(::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:CMsgSerializedSOCache.Cache) +} +CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache(const CMsgSerializedSOCache_Cache& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSerializedSOCache_Cache* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.versions_){from._impl_.versions_} + , decltype(_impl_.type_caches_){from._impl_.type_caches_} + , decltype(_impl_.id_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.Cache) +} + +inline void CMsgSerializedSOCache_Cache::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.versions_){arena} + , decltype(_impl_.type_caches_){arena} + , decltype(_impl_.id_){uint64_t{0u}} + , decltype(_impl_.type_){0u} + }; +} + +CMsgSerializedSOCache_Cache::~CMsgSerializedSOCache_Cache() { + // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.Cache) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSerializedSOCache_Cache::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.versions_.~RepeatedPtrField(); + _impl_.type_caches_.~RepeatedPtrField(); +} + +void CMsgSerializedSOCache_Cache::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSerializedSOCache_Cache::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.Cache) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.versions_.Clear(); + _impl_.type_caches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSerializedSOCache_Cache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_versions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_type_caches(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSerializedSOCache_Cache::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.Cache) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); + } + + // optional uint64 id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_id(), target); + } + + // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_versions_size()); i < n; i++) { + const auto& repfield = this->_internal_versions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_type_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_type_caches(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:CMsgSerializedSOCache.Cache) + return target; +} + +size_t CMsgSerializedSOCache_Cache::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.Cache) + 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 .CMsgSerializedSOCache.Cache.Version versions = 3; + total_size += 1UL * this->_internal_versions_size(); + for (const auto& msg : this->_impl_.versions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; + total_size += 1UL * this->_internal_type_caches_size(); + for (const auto& msg : this->_impl_.type_caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); + } + + // optional uint32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_Cache::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSerializedSOCache_Cache::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_Cache::GetClassData() const { return &_class_data_; } + + +void CMsgSerializedSOCache_Cache::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:CMsgSerializedSOCache.Cache) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.versions_.MergeFrom(from._impl_.versions_); + _this->_impl_.type_caches_.MergeFrom(from._impl_.type_caches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSerializedSOCache_Cache::CopyFrom(const CMsgSerializedSOCache_Cache& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.Cache) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSerializedSOCache_Cache::IsInitialized() const { + return true; +} + +void CMsgSerializedSOCache_Cache::InternalSwap(CMsgSerializedSOCache_Cache* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.versions_.InternalSwap(&other->_impl_.versions_); + _impl_.type_caches_.InternalSwap(&other->_impl_.type_caches_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache, _impl_.type_) + + sizeof(CMsgSerializedSOCache_Cache::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_Cache::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[48]); +} + +// =================================================================== + +class CMsgSerializedSOCache::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_file_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gc_socache_file_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSerializedSOCache::CMsgSerializedSOCache(::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:CMsgSerializedSOCache) +} +CMsgSerializedSOCache::CMsgSerializedSOCache(const CMsgSerializedSOCache& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSerializedSOCache* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caches_){from._impl_.caches_} + , decltype(_impl_.file_version_){} + , decltype(_impl_.gc_socache_file_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.file_version_, &from._impl_.file_version_, + static_cast(reinterpret_cast(&_impl_.gc_socache_file_version_) - + reinterpret_cast(&_impl_.file_version_)) + sizeof(_impl_.gc_socache_file_version_)); + // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache) +} + +inline void CMsgSerializedSOCache::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.caches_){arena} + , decltype(_impl_.file_version_){0u} + , decltype(_impl_.gc_socache_file_version_){0u} + }; +} + +CMsgSerializedSOCache::~CMsgSerializedSOCache() { + // @@protoc_insertion_point(destructor:CMsgSerializedSOCache) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSerializedSOCache::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.caches_.~RepeatedPtrField(); +} + +void CMsgSerializedSOCache::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSerializedSOCache::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.caches_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.file_version_, 0, static_cast( + reinterpret_cast(&_impl_.gc_socache_file_version_) - + reinterpret_cast(&_impl_.file_version_)) + sizeof(_impl_.gc_socache_file_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSerializedSOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 file_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_file_version(&has_bits); + _impl_.file_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSerializedSOCache.Cache caches = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_caches(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 gc_socache_file_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_gc_socache_file_version(&has_bits); + _impl_.gc_socache_file_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSerializedSOCache::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 file_version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_file_version(), target); + } + + // repeated .CMsgSerializedSOCache.Cache caches = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_caches_size()); i < n; i++) { + const auto& repfield = this->_internal_caches(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 gc_socache_file_version = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_gc_socache_file_version(), 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:CMsgSerializedSOCache) + return target; +} + +size_t CMsgSerializedSOCache::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache) + 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 .CMsgSerializedSOCache.Cache caches = 2; + total_size += 1UL * this->_internal_caches_size(); + for (const auto& msg : this->_impl_.caches_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 file_version = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_version()); + } + + // optional uint32 gc_socache_file_version = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gc_socache_file_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSerializedSOCache::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache::GetClassData() const { return &_class_data_; } + + +void CMsgSerializedSOCache::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:CMsgSerializedSOCache) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.caches_.MergeFrom(from._impl_.caches_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.file_version_ = from._impl_.file_version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.gc_socache_file_version_ = from._impl_.gc_socache_file_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSerializedSOCache::CopyFrom(const CMsgSerializedSOCache& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSerializedSOCache::IsInitialized() const { + return true; +} + +void CMsgSerializedSOCache::InternalSwap(CMsgSerializedSOCache* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.caches_.InternalSwap(&other->_impl_.caches_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache, _impl_.gc_socache_file_version_) + + sizeof(CMsgSerializedSOCache::_impl_.gc_socache_file_version_) + - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache, _impl_.file_version_)>( + reinterpret_cast(&_impl_.file_version_), + reinterpret_cast(&other->_impl_.file_version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, + file_level_metadata_gcsdk_5fgcmessages_2eproto[49]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSOIDOwner* +Arena::CreateMaybeMessage< ::CMsgSOIDOwner >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOIDOwner >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOSingleObject* +Arena::CreateMaybeMessage< ::CMsgSOSingleObject >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOSingleObject >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOMultipleObjects_SingleObject* +Arena::CreateMaybeMessage< ::CMsgSOMultipleObjects_SingleObject >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOMultipleObjects_SingleObject >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOMultipleObjects* +Arena::CreateMaybeMessage< ::CMsgSOMultipleObjects >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOMultipleObjects >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscribed_SubscribedType* +Arena::CreateMaybeMessage< ::CMsgSOCacheSubscribed_SubscribedType >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheSubscribed_SubscribedType >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscribed* +Arena::CreateMaybeMessage< ::CMsgSOCacheSubscribed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheSubscribed >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheUnsubscribed* +Arena::CreateMaybeMessage< ::CMsgSOCacheUnsubscribed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheUnsubscribed >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscriptionCheck* +Arena::CreateMaybeMessage< ::CMsgSOCacheSubscriptionCheck >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheSubscriptionCheck >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscriptionRefresh* +Arena::CreateMaybeMessage< ::CMsgSOCacheSubscriptionRefresh >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheSubscriptionRefresh >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheVersion* +Arena::CreateMaybeMessage< ::CMsgSOCacheVersion >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheVersion >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgAccountDetails* +Arena::CreateMaybeMessage< ::CMsgAccountDetails >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgAccountDetails >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCMultiplexMessage* +Arena::CreateMaybeMessage< ::CMsgGCMultiplexMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCMultiplexMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCMultiplexMessage_Response* +Arena::CreateMaybeMessage< ::CMsgGCMultiplexMessage_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCMultiplexMessage_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterAck* +Arena::CreateMaybeMessage< ::CGCToGCMsgMasterAck >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCToGCMsgMasterAck >(arena); +} +template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterAck_Response* +Arena::CreateMaybeMessage< ::CGCToGCMsgMasterAck_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCToGCMsgMasterAck_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterStartupComplete* +Arena::CreateMaybeMessage< ::CGCToGCMsgMasterStartupComplete >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCToGCMsgMasterStartupComplete >(arena); +} +template<> PROTOBUF_NOINLINE ::CGCToGCMsgRouted* +Arena::CreateMaybeMessage< ::CGCToGCMsgRouted >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCToGCMsgRouted >(arena); +} +template<> PROTOBUF_NOINLINE ::CGCToGCMsgRoutedReply* +Arena::CreateMaybeMessage< ::CGCToGCMsgRoutedReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGCToGCMsgRoutedReply >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCUpdateSessionIP* +Arena::CreateMaybeMessage< ::CMsgGCUpdateSessionIP >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCUpdateSessionIP >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCRequestSessionIP* +Arena::CreateMaybeMessage< ::CMsgGCRequestSessionIP >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCRequestSessionIP >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCRequestSessionIPResponse* +Arena::CreateMaybeMessage< ::CMsgGCRequestSessionIPResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCRequestSessionIPResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSOCacheHaveVersion* +Arena::CreateMaybeMessage< ::CMsgSOCacheHaveVersion >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSOCacheHaveVersion >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClientHello* +Arena::CreateMaybeMessage< ::CMsgClientHello >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClientHello >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerHello* +Arena::CreateMaybeMessage< ::CMsgServerHello >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerHello >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClientWelcome_Location* +Arena::CreateMaybeMessage< ::CMsgClientWelcome_Location >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClientWelcome_Location >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgClientWelcome* +Arena::CreateMaybeMessage< ::CMsgClientWelcome >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgClientWelcome >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgConnectionStatus* +Arena::CreateMaybeMessage< ::CMsgConnectionStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgConnectionStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* +Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* +Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request* +Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_GetContributors_Request* +Arena::CreateMaybeMessage< ::CWorkshop_GetContributors_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_GetContributors_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_GetContributors_Response* +Arena::CreateMaybeMessage< ::CWorkshop_GetContributors_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_GetContributors_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* +Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* +Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* +Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request* +Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Response* +Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Request* +Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Response_Group* +Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Response_Group >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Response_Group >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Response* +Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_AddSpecialPayment_Request* +Arena::CreateMaybeMessage< ::CWorkshop_AddSpecialPayment_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_AddSpecialPayment_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CWorkshop_AddSpecialPayment_Response* +Arena::CreateMaybeMessage< ::CWorkshop_AddSpecialPayment_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CWorkshop_AddSpecialPayment_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request_Token* +Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request_Token >(Arena* arena) { + return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request_Token >(arena); +} +template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* +Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >(Arena* arena) { + return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >(arena); +} +template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request* +Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Response* +Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_TypeCache* +Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_TypeCache >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_TypeCache >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_Cache_Version* +Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_Cache_Version >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_Cache_Version >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_Cache* +Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_Cache >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_Cache >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache* +Arena::CreateMaybeMessage< ::CMsgSerializedSOCache >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSerializedSOCache >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.h new file mode 100644 index 0000000..5a851fa --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsdk_gcmessages.pb.h @@ -0,0 +1,16732 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gcsdk_gcmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_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 3021008 < 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 "steammessages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_gcsdk_5fgcmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_gcsdk_5fgcmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gcsdk_5fgcmessages_2eproto; +class CGCToGCMsgMasterAck; +struct CGCToGCMsgMasterAckDefaultTypeInternal; +extern CGCToGCMsgMasterAckDefaultTypeInternal _CGCToGCMsgMasterAck_default_instance_; +class CGCToGCMsgMasterAck_Response; +struct CGCToGCMsgMasterAck_ResponseDefaultTypeInternal; +extern CGCToGCMsgMasterAck_ResponseDefaultTypeInternal _CGCToGCMsgMasterAck_Response_default_instance_; +class CGCToGCMsgMasterStartupComplete; +struct CGCToGCMsgMasterStartupCompleteDefaultTypeInternal; +extern CGCToGCMsgMasterStartupCompleteDefaultTypeInternal _CGCToGCMsgMasterStartupComplete_default_instance_; +class CGCToGCMsgRouted; +struct CGCToGCMsgRoutedDefaultTypeInternal; +extern CGCToGCMsgRoutedDefaultTypeInternal _CGCToGCMsgRouted_default_instance_; +class CGCToGCMsgRoutedReply; +struct CGCToGCMsgRoutedReplyDefaultTypeInternal; +extern CGCToGCMsgRoutedReplyDefaultTypeInternal _CGCToGCMsgRoutedReply_default_instance_; +class CGameServers_AggregationQuery_Request; +struct CGameServers_AggregationQuery_RequestDefaultTypeInternal; +extern CGameServers_AggregationQuery_RequestDefaultTypeInternal _CGameServers_AggregationQuery_Request_default_instance_; +class CGameServers_AggregationQuery_Response; +struct CGameServers_AggregationQuery_ResponseDefaultTypeInternal; +extern CGameServers_AggregationQuery_ResponseDefaultTypeInternal _CGameServers_AggregationQuery_Response_default_instance_; +class CGameServers_AggregationQuery_Response_Group; +struct CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal; +extern CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal _CGameServers_AggregationQuery_Response_Group_default_instance_; +class CMsgAccountDetails; +struct CMsgAccountDetailsDefaultTypeInternal; +extern CMsgAccountDetailsDefaultTypeInternal _CMsgAccountDetails_default_instance_; +class CMsgClientHello; +struct CMsgClientHelloDefaultTypeInternal; +extern CMsgClientHelloDefaultTypeInternal _CMsgClientHello_default_instance_; +class CMsgClientWelcome; +struct CMsgClientWelcomeDefaultTypeInternal; +extern CMsgClientWelcomeDefaultTypeInternal _CMsgClientWelcome_default_instance_; +class CMsgClientWelcome_Location; +struct CMsgClientWelcome_LocationDefaultTypeInternal; +extern CMsgClientWelcome_LocationDefaultTypeInternal _CMsgClientWelcome_Location_default_instance_; +class CMsgConnectionStatus; +struct CMsgConnectionStatusDefaultTypeInternal; +extern CMsgConnectionStatusDefaultTypeInternal _CMsgConnectionStatus_default_instance_; +class CMsgGCMultiplexMessage; +struct CMsgGCMultiplexMessageDefaultTypeInternal; +extern CMsgGCMultiplexMessageDefaultTypeInternal _CMsgGCMultiplexMessage_default_instance_; +class CMsgGCMultiplexMessage_Response; +struct CMsgGCMultiplexMessage_ResponseDefaultTypeInternal; +extern CMsgGCMultiplexMessage_ResponseDefaultTypeInternal _CMsgGCMultiplexMessage_Response_default_instance_; +class CMsgGCRequestSessionIP; +struct CMsgGCRequestSessionIPDefaultTypeInternal; +extern CMsgGCRequestSessionIPDefaultTypeInternal _CMsgGCRequestSessionIP_default_instance_; +class CMsgGCRequestSessionIPResponse; +struct CMsgGCRequestSessionIPResponseDefaultTypeInternal; +extern CMsgGCRequestSessionIPResponseDefaultTypeInternal _CMsgGCRequestSessionIPResponse_default_instance_; +class CMsgGCUpdateSessionIP; +struct CMsgGCUpdateSessionIPDefaultTypeInternal; +extern CMsgGCUpdateSessionIPDefaultTypeInternal _CMsgGCUpdateSessionIP_default_instance_; +class CMsgSOCacheHaveVersion; +struct CMsgSOCacheHaveVersionDefaultTypeInternal; +extern CMsgSOCacheHaveVersionDefaultTypeInternal _CMsgSOCacheHaveVersion_default_instance_; +class CMsgSOCacheSubscribed; +struct CMsgSOCacheSubscribedDefaultTypeInternal; +extern CMsgSOCacheSubscribedDefaultTypeInternal _CMsgSOCacheSubscribed_default_instance_; +class CMsgSOCacheSubscribed_SubscribedType; +struct CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal; +extern CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal _CMsgSOCacheSubscribed_SubscribedType_default_instance_; +class CMsgSOCacheSubscriptionCheck; +struct CMsgSOCacheSubscriptionCheckDefaultTypeInternal; +extern CMsgSOCacheSubscriptionCheckDefaultTypeInternal _CMsgSOCacheSubscriptionCheck_default_instance_; +class CMsgSOCacheSubscriptionRefresh; +struct CMsgSOCacheSubscriptionRefreshDefaultTypeInternal; +extern CMsgSOCacheSubscriptionRefreshDefaultTypeInternal _CMsgSOCacheSubscriptionRefresh_default_instance_; +class CMsgSOCacheUnsubscribed; +struct CMsgSOCacheUnsubscribedDefaultTypeInternal; +extern CMsgSOCacheUnsubscribedDefaultTypeInternal _CMsgSOCacheUnsubscribed_default_instance_; +class CMsgSOCacheVersion; +struct CMsgSOCacheVersionDefaultTypeInternal; +extern CMsgSOCacheVersionDefaultTypeInternal _CMsgSOCacheVersion_default_instance_; +class CMsgSOIDOwner; +struct CMsgSOIDOwnerDefaultTypeInternal; +extern CMsgSOIDOwnerDefaultTypeInternal _CMsgSOIDOwner_default_instance_; +class CMsgSOMultipleObjects; +struct CMsgSOMultipleObjectsDefaultTypeInternal; +extern CMsgSOMultipleObjectsDefaultTypeInternal _CMsgSOMultipleObjects_default_instance_; +class CMsgSOMultipleObjects_SingleObject; +struct CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal; +extern CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal _CMsgSOMultipleObjects_SingleObject_default_instance_; +class CMsgSOSingleObject; +struct CMsgSOSingleObjectDefaultTypeInternal; +extern CMsgSOSingleObjectDefaultTypeInternal _CMsgSOSingleObject_default_instance_; +class CMsgSerializedSOCache; +struct CMsgSerializedSOCacheDefaultTypeInternal; +extern CMsgSerializedSOCacheDefaultTypeInternal _CMsgSerializedSOCache_default_instance_; +class CMsgSerializedSOCache_Cache; +struct CMsgSerializedSOCache_CacheDefaultTypeInternal; +extern CMsgSerializedSOCache_CacheDefaultTypeInternal _CMsgSerializedSOCache_Cache_default_instance_; +class CMsgSerializedSOCache_Cache_Version; +struct CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal; +extern CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal _CMsgSerializedSOCache_Cache_Version_default_instance_; +class CMsgSerializedSOCache_TypeCache; +struct CMsgSerializedSOCache_TypeCacheDefaultTypeInternal; +extern CMsgSerializedSOCache_TypeCacheDefaultTypeInternal _CMsgSerializedSOCache_TypeCache_default_instance_; +class CMsgServerHello; +struct CMsgServerHelloDefaultTypeInternal; +extern CMsgServerHelloDefaultTypeInternal _CMsgServerHello_default_instance_; +class CProductInfo_SetRichPresenceLocalization_Request; +struct CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal; +extern CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_default_instance_; +class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection; +struct CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal; +extern CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_; +class CProductInfo_SetRichPresenceLocalization_Request_Token; +struct CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal; +extern CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_; +class CProductInfo_SetRichPresenceLocalization_Response; +struct CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal; +extern CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Response_default_instance_; +class CWorkshop_AddSpecialPayment_Request; +struct CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal; +extern CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal _CWorkshop_AddSpecialPayment_Request_default_instance_; +class CWorkshop_AddSpecialPayment_Response; +struct CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal; +extern CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal _CWorkshop_AddSpecialPayment_Response_default_instance_; +class CWorkshop_GetContributors_Request; +struct CWorkshop_GetContributors_RequestDefaultTypeInternal; +extern CWorkshop_GetContributors_RequestDefaultTypeInternal _CWorkshop_GetContributors_Request_default_instance_; +class CWorkshop_GetContributors_Response; +struct CWorkshop_GetContributors_ResponseDefaultTypeInternal; +extern CWorkshop_GetContributors_ResponseDefaultTypeInternal _CWorkshop_GetContributors_Response_default_instance_; +class CWorkshop_PopulateItemDescriptions_Request; +struct CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal; +extern CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_default_instance_; +class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock; +struct CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal; +extern CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_; +class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription; +struct CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal; +extern CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_; +class CWorkshop_SetItemPaymentRules_Request; +struct CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal; +extern CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_default_instance_; +class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule; +struct CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal; +extern CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_; +class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule; +struct CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal; +extern CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_; +class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule; +struct CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal; +extern CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_; +class CWorkshop_SetItemPaymentRules_Response; +struct CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal; +extern CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Response_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CGCToGCMsgMasterAck* Arena::CreateMaybeMessage<::CGCToGCMsgMasterAck>(Arena*); +template<> ::CGCToGCMsgMasterAck_Response* Arena::CreateMaybeMessage<::CGCToGCMsgMasterAck_Response>(Arena*); +template<> ::CGCToGCMsgMasterStartupComplete* Arena::CreateMaybeMessage<::CGCToGCMsgMasterStartupComplete>(Arena*); +template<> ::CGCToGCMsgRouted* Arena::CreateMaybeMessage<::CGCToGCMsgRouted>(Arena*); +template<> ::CGCToGCMsgRoutedReply* Arena::CreateMaybeMessage<::CGCToGCMsgRoutedReply>(Arena*); +template<> ::CGameServers_AggregationQuery_Request* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Request>(Arena*); +template<> ::CGameServers_AggregationQuery_Response* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Response>(Arena*); +template<> ::CGameServers_AggregationQuery_Response_Group* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Response_Group>(Arena*); +template<> ::CMsgAccountDetails* Arena::CreateMaybeMessage<::CMsgAccountDetails>(Arena*); +template<> ::CMsgClientHello* Arena::CreateMaybeMessage<::CMsgClientHello>(Arena*); +template<> ::CMsgClientWelcome* Arena::CreateMaybeMessage<::CMsgClientWelcome>(Arena*); +template<> ::CMsgClientWelcome_Location* Arena::CreateMaybeMessage<::CMsgClientWelcome_Location>(Arena*); +template<> ::CMsgConnectionStatus* Arena::CreateMaybeMessage<::CMsgConnectionStatus>(Arena*); +template<> ::CMsgGCMultiplexMessage* Arena::CreateMaybeMessage<::CMsgGCMultiplexMessage>(Arena*); +template<> ::CMsgGCMultiplexMessage_Response* Arena::CreateMaybeMessage<::CMsgGCMultiplexMessage_Response>(Arena*); +template<> ::CMsgGCRequestSessionIP* Arena::CreateMaybeMessage<::CMsgGCRequestSessionIP>(Arena*); +template<> ::CMsgGCRequestSessionIPResponse* Arena::CreateMaybeMessage<::CMsgGCRequestSessionIPResponse>(Arena*); +template<> ::CMsgGCUpdateSessionIP* Arena::CreateMaybeMessage<::CMsgGCUpdateSessionIP>(Arena*); +template<> ::CMsgSOCacheHaveVersion* Arena::CreateMaybeMessage<::CMsgSOCacheHaveVersion>(Arena*); +template<> ::CMsgSOCacheSubscribed* Arena::CreateMaybeMessage<::CMsgSOCacheSubscribed>(Arena*); +template<> ::CMsgSOCacheSubscribed_SubscribedType* Arena::CreateMaybeMessage<::CMsgSOCacheSubscribed_SubscribedType>(Arena*); +template<> ::CMsgSOCacheSubscriptionCheck* Arena::CreateMaybeMessage<::CMsgSOCacheSubscriptionCheck>(Arena*); +template<> ::CMsgSOCacheSubscriptionRefresh* Arena::CreateMaybeMessage<::CMsgSOCacheSubscriptionRefresh>(Arena*); +template<> ::CMsgSOCacheUnsubscribed* Arena::CreateMaybeMessage<::CMsgSOCacheUnsubscribed>(Arena*); +template<> ::CMsgSOCacheVersion* Arena::CreateMaybeMessage<::CMsgSOCacheVersion>(Arena*); +template<> ::CMsgSOIDOwner* Arena::CreateMaybeMessage<::CMsgSOIDOwner>(Arena*); +template<> ::CMsgSOMultipleObjects* Arena::CreateMaybeMessage<::CMsgSOMultipleObjects>(Arena*); +template<> ::CMsgSOMultipleObjects_SingleObject* Arena::CreateMaybeMessage<::CMsgSOMultipleObjects_SingleObject>(Arena*); +template<> ::CMsgSOSingleObject* Arena::CreateMaybeMessage<::CMsgSOSingleObject>(Arena*); +template<> ::CMsgSerializedSOCache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache>(Arena*); +template<> ::CMsgSerializedSOCache_Cache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_Cache>(Arena*); +template<> ::CMsgSerializedSOCache_Cache_Version* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_Cache_Version>(Arena*); +template<> ::CMsgSerializedSOCache_TypeCache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_TypeCache>(Arena*); +template<> ::CMsgServerHello* Arena::CreateMaybeMessage<::CMsgServerHello>(Arena*); +template<> ::CProductInfo_SetRichPresenceLocalization_Request* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request>(Arena*); +template<> ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection>(Arena*); +template<> ::CProductInfo_SetRichPresenceLocalization_Request_Token* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request_Token>(Arena*); +template<> ::CProductInfo_SetRichPresenceLocalization_Response* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Response>(Arena*); +template<> ::CWorkshop_AddSpecialPayment_Request* Arena::CreateMaybeMessage<::CWorkshop_AddSpecialPayment_Request>(Arena*); +template<> ::CWorkshop_AddSpecialPayment_Response* Arena::CreateMaybeMessage<::CWorkshop_AddSpecialPayment_Response>(Arena*); +template<> ::CWorkshop_GetContributors_Request* Arena::CreateMaybeMessage<::CWorkshop_GetContributors_Request>(Arena*); +template<> ::CWorkshop_GetContributors_Response* Arena::CreateMaybeMessage<::CWorkshop_GetContributors_Response>(Arena*); +template<> ::CWorkshop_PopulateItemDescriptions_Request* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request>(Arena*); +template<> ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock>(Arena*); +template<> ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription>(Arena*); +template<> ::CWorkshop_SetItemPaymentRules_Request* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request>(Arena*); +template<> ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule>(Arena*); +template<> ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule>(Arena*); +template<> ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule>(Arena*); +template<> ::CWorkshop_SetItemPaymentRules_Response* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Response>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum GCClientLauncherType : int { + GCClientLauncherType_DEFAULT = 0, + GCClientLauncherType_PERFECTWORLD = 1, + GCClientLauncherType_STEAMCHINA = 2, + GCClientLauncherType_SOURCE2 = 3 +}; +bool GCClientLauncherType_IsValid(int value); +constexpr GCClientLauncherType GCClientLauncherType_MIN = GCClientLauncherType_DEFAULT; +constexpr GCClientLauncherType GCClientLauncherType_MAX = GCClientLauncherType_SOURCE2; +constexpr int GCClientLauncherType_ARRAYSIZE = GCClientLauncherType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCClientLauncherType_descriptor(); +template +inline const std::string& GCClientLauncherType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function GCClientLauncherType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + GCClientLauncherType_descriptor(), enum_t_value); +} +inline bool GCClientLauncherType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCClientLauncherType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + GCClientLauncherType_descriptor(), name, value); +} +enum GCConnectionStatus : int { + GCConnectionStatus_HAVE_SESSION = 0, + GCConnectionStatus_GC_GOING_DOWN = 1, + GCConnectionStatus_NO_SESSION = 2, + GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3, + GCConnectionStatus_NO_STEAM = 4 +}; +bool GCConnectionStatus_IsValid(int value); +constexpr GCConnectionStatus GCConnectionStatus_MIN = GCConnectionStatus_HAVE_SESSION; +constexpr GCConnectionStatus GCConnectionStatus_MAX = GCConnectionStatus_NO_STEAM; +constexpr int GCConnectionStatus_ARRAYSIZE = GCConnectionStatus_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCConnectionStatus_descriptor(); +template +inline const std::string& GCConnectionStatus_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function GCConnectionStatus_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + GCConnectionStatus_descriptor(), enum_t_value); +} +inline bool GCConnectionStatus_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCConnectionStatus* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + GCConnectionStatus_descriptor(), name, value); +} +// =================================================================== + +class CMsgSOIDOwner final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOIDOwner) */ { + public: + inline CMsgSOIDOwner() : CMsgSOIDOwner(nullptr) {} + ~CMsgSOIDOwner() override; + explicit PROTOBUF_CONSTEXPR CMsgSOIDOwner(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOIDOwner(const CMsgSOIDOwner& from); + CMsgSOIDOwner(CMsgSOIDOwner&& from) noexcept + : CMsgSOIDOwner() { + *this = ::std::move(from); + } + + inline CMsgSOIDOwner& operator=(const CMsgSOIDOwner& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOIDOwner& operator=(CMsgSOIDOwner&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOIDOwner& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOIDOwner* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOIDOwner_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSOIDOwner& a, CMsgSOIDOwner& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOIDOwner* 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(CMsgSOIDOwner* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOIDOwner* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOIDOwner& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOIDOwner& from) { + CMsgSOIDOwner::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(CMsgSOIDOwner* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOIDOwner"; + } + protected: + explicit CMsgSOIDOwner(::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 { + kIdFieldNumber = 2, + kTypeFieldNumber = 1, + }; + // optional uint64 id = 2; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint64_t id() const; + void set_id(uint64_t value); + private: + uint64_t _internal_id() const; + void _internal_set_id(uint64_t value); + public: + + // optional uint32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOIDOwner) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t id_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOSingleObject final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOSingleObject) */ { + public: + inline CMsgSOSingleObject() : CMsgSOSingleObject(nullptr) {} + ~CMsgSOSingleObject() override; + explicit PROTOBUF_CONSTEXPR CMsgSOSingleObject(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOSingleObject(const CMsgSOSingleObject& from); + CMsgSOSingleObject(CMsgSOSingleObject&& from) noexcept + : CMsgSOSingleObject() { + *this = ::std::move(from); + } + + inline CMsgSOSingleObject& operator=(const CMsgSOSingleObject& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOSingleObject& operator=(CMsgSOSingleObject&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOSingleObject& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOSingleObject* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOSingleObject_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSOSingleObject& a, CMsgSOSingleObject& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOSingleObject* 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(CMsgSOSingleObject* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOSingleObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOSingleObject& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOSingleObject& from) { + CMsgSOSingleObject::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(CMsgSOSingleObject* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOSingleObject"; + } + protected: + explicit CMsgSOSingleObject(::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 { + kObjectDataFieldNumber = 3, + kOwnerSoidFieldNumber = 5, + kVersionFieldNumber = 4, + kTypeIdFieldNumber = 2, + }; + // optional bytes object_data = 3; + bool has_object_data() const; + private: + bool _internal_has_object_data() const; + public: + void clear_object_data(); + const std::string& object_data() const; + template + void set_object_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_object_data(); + PROTOBUF_NODISCARD std::string* release_object_data(); + void set_allocated_object_data(std::string* object_data); + private: + const std::string& _internal_object_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_data(const std::string& value); + std::string* _internal_mutable_object_data(); + public: + + // optional .CMsgSOIDOwner owner_soid = 5; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // optional fixed64 version = 4; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // optional int32 type_id = 2; + bool has_type_id() const; + private: + bool _internal_has_type_id() const; + public: + void clear_type_id(); + int32_t type_id() const; + void set_type_id(int32_t value); + private: + int32_t _internal_type_id() const; + void _internal_set_type_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOSingleObject) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_data_; + ::CMsgSOIDOwner* owner_soid_; + uint64_t version_; + int32_t type_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOMultipleObjects_SingleObject final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOMultipleObjects.SingleObject) */ { + public: + inline CMsgSOMultipleObjects_SingleObject() : CMsgSOMultipleObjects_SingleObject(nullptr) {} + ~CMsgSOMultipleObjects_SingleObject() override; + explicit PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObject(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOMultipleObjects_SingleObject(const CMsgSOMultipleObjects_SingleObject& from); + CMsgSOMultipleObjects_SingleObject(CMsgSOMultipleObjects_SingleObject&& from) noexcept + : CMsgSOMultipleObjects_SingleObject() { + *this = ::std::move(from); + } + + inline CMsgSOMultipleObjects_SingleObject& operator=(const CMsgSOMultipleObjects_SingleObject& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOMultipleObjects_SingleObject& operator=(CMsgSOMultipleObjects_SingleObject&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOMultipleObjects_SingleObject& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOMultipleObjects_SingleObject* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOMultipleObjects_SingleObject_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSOMultipleObjects_SingleObject& a, CMsgSOMultipleObjects_SingleObject& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOMultipleObjects_SingleObject* 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(CMsgSOMultipleObjects_SingleObject* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOMultipleObjects_SingleObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOMultipleObjects_SingleObject& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOMultipleObjects_SingleObject& from) { + CMsgSOMultipleObjects_SingleObject::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(CMsgSOMultipleObjects_SingleObject* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOMultipleObjects.SingleObject"; + } + protected: + explicit CMsgSOMultipleObjects_SingleObject(::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 { + kObjectDataFieldNumber = 2, + kTypeIdFieldNumber = 1, + }; + // optional bytes object_data = 2; + bool has_object_data() const; + private: + bool _internal_has_object_data() const; + public: + void clear_object_data(); + const std::string& object_data() const; + template + void set_object_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_object_data(); + PROTOBUF_NODISCARD std::string* release_object_data(); + void set_allocated_object_data(std::string* object_data); + private: + const std::string& _internal_object_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_data(const std::string& value); + std::string* _internal_mutable_object_data(); + public: + + // optional int32 type_id = 1; + bool has_type_id() const; + private: + bool _internal_has_type_id() const; + public: + void clear_type_id(); + int32_t type_id() const; + void set_type_id(int32_t value); + private: + int32_t _internal_type_id() const; + void _internal_set_type_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOMultipleObjects.SingleObject) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_data_; + int32_t type_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOMultipleObjects final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOMultipleObjects) */ { + public: + inline CMsgSOMultipleObjects() : CMsgSOMultipleObjects(nullptr) {} + ~CMsgSOMultipleObjects() override; + explicit PROTOBUF_CONSTEXPR CMsgSOMultipleObjects(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOMultipleObjects(const CMsgSOMultipleObjects& from); + CMsgSOMultipleObjects(CMsgSOMultipleObjects&& from) noexcept + : CMsgSOMultipleObjects() { + *this = ::std::move(from); + } + + inline CMsgSOMultipleObjects& operator=(const CMsgSOMultipleObjects& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOMultipleObjects& operator=(CMsgSOMultipleObjects&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOMultipleObjects& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOMultipleObjects* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOMultipleObjects_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSOMultipleObjects& a, CMsgSOMultipleObjects& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOMultipleObjects* 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(CMsgSOMultipleObjects* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOMultipleObjects* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOMultipleObjects& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOMultipleObjects& from) { + CMsgSOMultipleObjects::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(CMsgSOMultipleObjects* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOMultipleObjects"; + } + protected: + explicit CMsgSOMultipleObjects(::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 ---------------------------------------------------- + + typedef CMsgSOMultipleObjects_SingleObject SingleObject; + + // accessors ------------------------------------------------------- + + enum : int { + kObjectsModifiedFieldNumber = 2, + kOwnerSoidFieldNumber = 6, + kVersionFieldNumber = 3, + }; + // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; + int objects_modified_size() const; + private: + int _internal_objects_modified_size() const; + public: + void clear_objects_modified(); + ::CMsgSOMultipleObjects_SingleObject* mutable_objects_modified(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >* + mutable_objects_modified(); + private: + const ::CMsgSOMultipleObjects_SingleObject& _internal_objects_modified(int index) const; + ::CMsgSOMultipleObjects_SingleObject* _internal_add_objects_modified(); + public: + const ::CMsgSOMultipleObjects_SingleObject& objects_modified(int index) const; + ::CMsgSOMultipleObjects_SingleObject* add_objects_modified(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >& + objects_modified() const; + + // optional .CMsgSOIDOwner owner_soid = 6; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // optional fixed64 version = 3; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOMultipleObjects) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject > objects_modified_; + ::CMsgSOIDOwner* owner_soid_; + uint64_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheSubscribed_SubscribedType final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscribed.SubscribedType) */ { + public: + inline CMsgSOCacheSubscribed_SubscribedType() : CMsgSOCacheSubscribed_SubscribedType(nullptr) {} + ~CMsgSOCacheSubscribed_SubscribedType() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheSubscribed_SubscribedType(const CMsgSOCacheSubscribed_SubscribedType& from); + CMsgSOCacheSubscribed_SubscribedType(CMsgSOCacheSubscribed_SubscribedType&& from) noexcept + : CMsgSOCacheSubscribed_SubscribedType() { + *this = ::std::move(from); + } + + inline CMsgSOCacheSubscribed_SubscribedType& operator=(const CMsgSOCacheSubscribed_SubscribedType& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheSubscribed_SubscribedType& operator=(CMsgSOCacheSubscribed_SubscribedType&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheSubscribed_SubscribedType& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheSubscribed_SubscribedType* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheSubscribed_SubscribedType_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSOCacheSubscribed_SubscribedType& a, CMsgSOCacheSubscribed_SubscribedType& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheSubscribed_SubscribedType* 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(CMsgSOCacheSubscribed_SubscribedType* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheSubscribed_SubscribedType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheSubscribed_SubscribedType& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheSubscribed_SubscribedType& from) { + CMsgSOCacheSubscribed_SubscribedType::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(CMsgSOCacheSubscribed_SubscribedType* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheSubscribed.SubscribedType"; + } + protected: + explicit CMsgSOCacheSubscribed_SubscribedType(::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 { + kObjectDataFieldNumber = 2, + kTypeIdFieldNumber = 1, + }; + // repeated bytes object_data = 2; + int object_data_size() const; + private: + int _internal_object_data_size() const; + public: + void clear_object_data(); + const std::string& object_data(int index) const; + std::string* mutable_object_data(int index); + void set_object_data(int index, const std::string& value); + void set_object_data(int index, std::string&& value); + void set_object_data(int index, const char* value); + void set_object_data(int index, const void* value, size_t size); + std::string* add_object_data(); + void add_object_data(const std::string& value); + void add_object_data(std::string&& value); + void add_object_data(const char* value); + void add_object_data(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& object_data() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_object_data(); + private: + const std::string& _internal_object_data(int index) const; + std::string* _internal_add_object_data(); + public: + + // optional int32 type_id = 1; + bool has_type_id() const; + private: + bool _internal_has_type_id() const; + public: + void clear_type_id(); + int32_t type_id() const; + void set_type_id(int32_t value); + private: + int32_t _internal_type_id() const; + void _internal_set_type_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscribed.SubscribedType) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField object_data_; + int32_t type_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheSubscribed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscribed) */ { + public: + inline CMsgSOCacheSubscribed() : CMsgSOCacheSubscribed(nullptr) {} + ~CMsgSOCacheSubscribed() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheSubscribed(const CMsgSOCacheSubscribed& from); + CMsgSOCacheSubscribed(CMsgSOCacheSubscribed&& from) noexcept + : CMsgSOCacheSubscribed() { + *this = ::std::move(from); + } + + inline CMsgSOCacheSubscribed& operator=(const CMsgSOCacheSubscribed& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheSubscribed& operator=(CMsgSOCacheSubscribed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheSubscribed& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheSubscribed* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheSubscribed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSOCacheSubscribed& a, CMsgSOCacheSubscribed& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheSubscribed* 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(CMsgSOCacheSubscribed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheSubscribed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheSubscribed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheSubscribed& from) { + CMsgSOCacheSubscribed::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(CMsgSOCacheSubscribed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheSubscribed"; + } + protected: + explicit CMsgSOCacheSubscribed(::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 ---------------------------------------------------- + + typedef CMsgSOCacheSubscribed_SubscribedType SubscribedType; + + // accessors ------------------------------------------------------- + + enum : int { + kObjectsFieldNumber = 2, + kOwnerSoidFieldNumber = 4, + kVersionFieldNumber = 3, + }; + // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; + int objects_size() const; + private: + int _internal_objects_size() const; + public: + void clear_objects(); + ::CMsgSOCacheSubscribed_SubscribedType* mutable_objects(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >* + mutable_objects(); + private: + const ::CMsgSOCacheSubscribed_SubscribedType& _internal_objects(int index) const; + ::CMsgSOCacheSubscribed_SubscribedType* _internal_add_objects(); + public: + const ::CMsgSOCacheSubscribed_SubscribedType& objects(int index) const; + ::CMsgSOCacheSubscribed_SubscribedType* add_objects(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >& + objects() const; + + // optional .CMsgSOIDOwner owner_soid = 4; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // optional fixed64 version = 3; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscribed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType > objects_; + ::CMsgSOIDOwner* owner_soid_; + uint64_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheUnsubscribed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheUnsubscribed) */ { + public: + inline CMsgSOCacheUnsubscribed() : CMsgSOCacheUnsubscribed(nullptr) {} + ~CMsgSOCacheUnsubscribed() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheUnsubscribed(const CMsgSOCacheUnsubscribed& from); + CMsgSOCacheUnsubscribed(CMsgSOCacheUnsubscribed&& from) noexcept + : CMsgSOCacheUnsubscribed() { + *this = ::std::move(from); + } + + inline CMsgSOCacheUnsubscribed& operator=(const CMsgSOCacheUnsubscribed& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheUnsubscribed& operator=(CMsgSOCacheUnsubscribed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheUnsubscribed& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheUnsubscribed* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheUnsubscribed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgSOCacheUnsubscribed& a, CMsgSOCacheUnsubscribed& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheUnsubscribed* 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(CMsgSOCacheUnsubscribed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheUnsubscribed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheUnsubscribed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheUnsubscribed& from) { + CMsgSOCacheUnsubscribed::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(CMsgSOCacheUnsubscribed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheUnsubscribed"; + } + protected: + explicit CMsgSOCacheUnsubscribed(::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 { + kOwnerSoidFieldNumber = 2, + }; + // optional .CMsgSOIDOwner owner_soid = 2; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // @@protoc_insertion_point(class_scope:CMsgSOCacheUnsubscribed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSOIDOwner* owner_soid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheSubscriptionCheck final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscriptionCheck) */ { + public: + inline CMsgSOCacheSubscriptionCheck() : CMsgSOCacheSubscriptionCheck(nullptr) {} + ~CMsgSOCacheSubscriptionCheck() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheSubscriptionCheck(const CMsgSOCacheSubscriptionCheck& from); + CMsgSOCacheSubscriptionCheck(CMsgSOCacheSubscriptionCheck&& from) noexcept + : CMsgSOCacheSubscriptionCheck() { + *this = ::std::move(from); + } + + inline CMsgSOCacheSubscriptionCheck& operator=(const CMsgSOCacheSubscriptionCheck& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheSubscriptionCheck& operator=(CMsgSOCacheSubscriptionCheck&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheSubscriptionCheck& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheSubscriptionCheck* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheSubscriptionCheck_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgSOCacheSubscriptionCheck& a, CMsgSOCacheSubscriptionCheck& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheSubscriptionCheck* 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(CMsgSOCacheSubscriptionCheck* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheSubscriptionCheck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheSubscriptionCheck& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheSubscriptionCheck& from) { + CMsgSOCacheSubscriptionCheck::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(CMsgSOCacheSubscriptionCheck* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheSubscriptionCheck"; + } + protected: + explicit CMsgSOCacheSubscriptionCheck(::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 { + kOwnerSoidFieldNumber = 3, + kVersionFieldNumber = 2, + }; + // optional .CMsgSOIDOwner owner_soid = 3; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // optional fixed64 version = 2; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscriptionCheck) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSOIDOwner* owner_soid_; + uint64_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheSubscriptionRefresh final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscriptionRefresh) */ { + public: + inline CMsgSOCacheSubscriptionRefresh() : CMsgSOCacheSubscriptionRefresh(nullptr) {} + ~CMsgSOCacheSubscriptionRefresh() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefresh(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheSubscriptionRefresh(const CMsgSOCacheSubscriptionRefresh& from); + CMsgSOCacheSubscriptionRefresh(CMsgSOCacheSubscriptionRefresh&& from) noexcept + : CMsgSOCacheSubscriptionRefresh() { + *this = ::std::move(from); + } + + inline CMsgSOCacheSubscriptionRefresh& operator=(const CMsgSOCacheSubscriptionRefresh& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheSubscriptionRefresh& operator=(CMsgSOCacheSubscriptionRefresh&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheSubscriptionRefresh& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheSubscriptionRefresh* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheSubscriptionRefresh_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgSOCacheSubscriptionRefresh& a, CMsgSOCacheSubscriptionRefresh& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheSubscriptionRefresh* 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(CMsgSOCacheSubscriptionRefresh* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheSubscriptionRefresh* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheSubscriptionRefresh& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheSubscriptionRefresh& from) { + CMsgSOCacheSubscriptionRefresh::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(CMsgSOCacheSubscriptionRefresh* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheSubscriptionRefresh"; + } + protected: + explicit CMsgSOCacheSubscriptionRefresh(::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 { + kOwnerSoidFieldNumber = 2, + }; + // optional .CMsgSOIDOwner owner_soid = 2; + bool has_owner_soid() const; + private: + bool _internal_has_owner_soid() const; + public: + void clear_owner_soid(); + const ::CMsgSOIDOwner& owner_soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); + ::CMsgSOIDOwner* mutable_owner_soid(); + void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); + private: + const ::CMsgSOIDOwner& _internal_owner_soid() const; + ::CMsgSOIDOwner* _internal_mutable_owner_soid(); + public: + void unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid); + ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); + + // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscriptionRefresh) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSOIDOwner* owner_soid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheVersion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheVersion) */ { + public: + inline CMsgSOCacheVersion() : CMsgSOCacheVersion(nullptr) {} + ~CMsgSOCacheVersion() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheVersion(const CMsgSOCacheVersion& from); + CMsgSOCacheVersion(CMsgSOCacheVersion&& from) noexcept + : CMsgSOCacheVersion() { + *this = ::std::move(from); + } + + inline CMsgSOCacheVersion& operator=(const CMsgSOCacheVersion& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheVersion& operator=(CMsgSOCacheVersion&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheVersion& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheVersion* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheVersion_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgSOCacheVersion& a, CMsgSOCacheVersion& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheVersion* 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(CMsgSOCacheVersion* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheVersion& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheVersion& from) { + CMsgSOCacheVersion::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(CMsgSOCacheVersion* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheVersion"; + } + protected: + explicit CMsgSOCacheVersion(::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 { + kVersionFieldNumber = 1, + }; + // optional fixed64 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOCacheVersion) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgAccountDetails final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAccountDetails) */ { + public: + inline CMsgAccountDetails() : CMsgAccountDetails(nullptr) {} + ~CMsgAccountDetails() override; + explicit PROTOBUF_CONSTEXPR CMsgAccountDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgAccountDetails(const CMsgAccountDetails& from); + CMsgAccountDetails(CMsgAccountDetails&& from) noexcept + : CMsgAccountDetails() { + *this = ::std::move(from); + } + + inline CMsgAccountDetails& operator=(const CMsgAccountDetails& from) { + CopyFrom(from); + return *this; + } + inline CMsgAccountDetails& operator=(CMsgAccountDetails&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgAccountDetails& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgAccountDetails* internal_default_instance() { + return reinterpret_cast( + &_CMsgAccountDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgAccountDetails& a, CMsgAccountDetails& b) { + a.Swap(&b); + } + inline void Swap(CMsgAccountDetails* 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(CMsgAccountDetails* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgAccountDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgAccountDetails& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgAccountDetails& from) { + CMsgAccountDetails::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(CMsgAccountDetails* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgAccountDetails"; + } + protected: + explicit CMsgAccountDetails(::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 { + kAccountNameFieldNumber = 2, + kValidFieldNumber = 1, + kPublicProfileFieldNumber = 4, + kPublicInventoryFieldNumber = 5, + kVacBannedFieldNumber = 6, + kCyberCafeFieldNumber = 7, + kSchoolAccountFieldNumber = 8, + kFreeTrialAccountFieldNumber = 9, + kSubscribedFieldNumber = 10, + kLowViolenceFieldNumber = 11, + kLimitedFieldNumber = 12, + kTrustedFieldNumber = 13, + kAccountLockedFieldNumber = 16, + kPackageFieldNumber = 14, + kTimeCachedFieldNumber = 15, + kCommunityBannedFieldNumber = 17, + kTradeBannedFieldNumber = 18, + kEligibleForCommunityMarketFieldNumber = 19, + }; + // optional string account_name = 2; + bool has_account_name() const; + private: + bool _internal_has_account_name() const; + public: + void clear_account_name(); + const std::string& account_name() const; + template + void set_account_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_account_name(); + PROTOBUF_NODISCARD std::string* release_account_name(); + void set_allocated_account_name(std::string* account_name); + private: + const std::string& _internal_account_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_account_name(const std::string& value); + std::string* _internal_mutable_account_name(); + public: + + // optional bool valid = 1; + bool has_valid() const; + private: + bool _internal_has_valid() const; + public: + void clear_valid(); + bool valid() const; + void set_valid(bool value); + private: + bool _internal_valid() const; + void _internal_set_valid(bool value); + public: + + // optional bool public_profile = 4; + bool has_public_profile() const; + private: + bool _internal_has_public_profile() const; + public: + void clear_public_profile(); + bool public_profile() const; + void set_public_profile(bool value); + private: + bool _internal_public_profile() const; + void _internal_set_public_profile(bool value); + public: + + // optional bool public_inventory = 5; + bool has_public_inventory() const; + private: + bool _internal_has_public_inventory() const; + public: + void clear_public_inventory(); + bool public_inventory() const; + void set_public_inventory(bool value); + private: + bool _internal_public_inventory() const; + void _internal_set_public_inventory(bool value); + public: + + // optional bool vac_banned = 6; + bool has_vac_banned() const; + private: + bool _internal_has_vac_banned() const; + public: + void clear_vac_banned(); + bool vac_banned() const; + void set_vac_banned(bool value); + private: + bool _internal_vac_banned() const; + void _internal_set_vac_banned(bool value); + public: + + // optional bool cyber_cafe = 7; + bool has_cyber_cafe() const; + private: + bool _internal_has_cyber_cafe() const; + public: + void clear_cyber_cafe(); + bool cyber_cafe() const; + void set_cyber_cafe(bool value); + private: + bool _internal_cyber_cafe() const; + void _internal_set_cyber_cafe(bool value); + public: + + // optional bool school_account = 8; + bool has_school_account() const; + private: + bool _internal_has_school_account() const; + public: + void clear_school_account(); + bool school_account() const; + void set_school_account(bool value); + private: + bool _internal_school_account() const; + void _internal_set_school_account(bool value); + public: + + // optional bool free_trial_account = 9; + bool has_free_trial_account() const; + private: + bool _internal_has_free_trial_account() const; + public: + void clear_free_trial_account(); + bool free_trial_account() const; + void set_free_trial_account(bool value); + private: + bool _internal_free_trial_account() const; + void _internal_set_free_trial_account(bool value); + public: + + // optional bool subscribed = 10; + bool has_subscribed() const; + private: + bool _internal_has_subscribed() const; + public: + void clear_subscribed(); + bool subscribed() const; + void set_subscribed(bool value); + private: + bool _internal_subscribed() const; + void _internal_set_subscribed(bool value); + public: + + // optional bool low_violence = 11; + bool has_low_violence() const; + private: + bool _internal_has_low_violence() const; + public: + void clear_low_violence(); + bool low_violence() const; + void set_low_violence(bool value); + private: + bool _internal_low_violence() const; + void _internal_set_low_violence(bool value); + public: + + // optional bool limited = 12; + bool has_limited() const; + private: + bool _internal_has_limited() const; + public: + void clear_limited(); + bool limited() const; + void set_limited(bool value); + private: + bool _internal_limited() const; + void _internal_set_limited(bool value); + public: + + // optional bool trusted = 13; + bool has_trusted() const; + private: + bool _internal_has_trusted() const; + public: + void clear_trusted(); + bool trusted() const; + void set_trusted(bool value); + private: + bool _internal_trusted() const; + void _internal_set_trusted(bool value); + public: + + // optional bool account_locked = 16; + bool has_account_locked() const; + private: + bool _internal_has_account_locked() const; + public: + void clear_account_locked(); + bool account_locked() const; + void set_account_locked(bool value); + private: + bool _internal_account_locked() const; + void _internal_set_account_locked(bool value); + public: + + // optional uint32 package = 14; + bool has_package() const; + private: + bool _internal_has_package() const; + public: + void clear_package(); + uint32_t package() const; + void set_package(uint32_t value); + private: + uint32_t _internal_package() const; + void _internal_set_package(uint32_t value); + public: + + // optional fixed32 time_cached = 15; + bool has_time_cached() const; + private: + bool _internal_has_time_cached() const; + public: + void clear_time_cached(); + uint32_t time_cached() const; + void set_time_cached(uint32_t value); + private: + uint32_t _internal_time_cached() const; + void _internal_set_time_cached(uint32_t value); + public: + + // optional bool community_banned = 17; + bool has_community_banned() const; + private: + bool _internal_has_community_banned() const; + public: + void clear_community_banned(); + bool community_banned() const; + void set_community_banned(bool value); + private: + bool _internal_community_banned() const; + void _internal_set_community_banned(bool value); + public: + + // optional bool trade_banned = 18; + bool has_trade_banned() const; + private: + bool _internal_has_trade_banned() const; + public: + void clear_trade_banned(); + bool trade_banned() const; + void set_trade_banned(bool value); + private: + bool _internal_trade_banned() const; + void _internal_set_trade_banned(bool value); + public: + + // optional bool eligible_for_community_market = 19; + bool has_eligible_for_community_market() const; + private: + bool _internal_has_eligible_for_community_market() const; + public: + void clear_eligible_for_community_market(); + bool eligible_for_community_market() const; + void set_eligible_for_community_market(bool value); + private: + bool _internal_eligible_for_community_market() const; + void _internal_set_eligible_for_community_market(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgAccountDetails) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_name_; + bool valid_; + bool public_profile_; + bool public_inventory_; + bool vac_banned_; + bool cyber_cafe_; + bool school_account_; + bool free_trial_account_; + bool subscribed_; + bool low_violence_; + bool limited_; + bool trusted_; + bool account_locked_; + uint32_t package_; + uint32_t time_cached_; + bool community_banned_; + bool trade_banned_; + bool eligible_for_community_market_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCMultiplexMessage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCMultiplexMessage) */ { + public: + inline CMsgGCMultiplexMessage() : CMsgGCMultiplexMessage(nullptr) {} + ~CMsgGCMultiplexMessage() override; + explicit PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCMultiplexMessage(const CMsgGCMultiplexMessage& from); + CMsgGCMultiplexMessage(CMsgGCMultiplexMessage&& from) noexcept + : CMsgGCMultiplexMessage() { + *this = ::std::move(from); + } + + inline CMsgGCMultiplexMessage& operator=(const CMsgGCMultiplexMessage& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCMultiplexMessage& operator=(CMsgGCMultiplexMessage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCMultiplexMessage& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCMultiplexMessage* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCMultiplexMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgGCMultiplexMessage& a, CMsgGCMultiplexMessage& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCMultiplexMessage* 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(CMsgGCMultiplexMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCMultiplexMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCMultiplexMessage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCMultiplexMessage& from) { + CMsgGCMultiplexMessage::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(CMsgGCMultiplexMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCMultiplexMessage"; + } + protected: + explicit CMsgGCMultiplexMessage(::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 { + kSteamidsFieldNumber = 3, + kPayloadFieldNumber = 2, + kMsgtypeFieldNumber = 1, + kReplytogcFieldNumber = 4, + }; + // repeated fixed64 steamids = 3; + int steamids_size() const; + private: + int _internal_steamids_size() const; + public: + void clear_steamids(); + private: + uint64_t _internal_steamids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_steamids() const; + void _internal_add_steamids(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_steamids(); + public: + uint64_t steamids(int index) const; + void set_steamids(int index, uint64_t value); + void add_steamids(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + steamids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_steamids(); + + // optional bytes payload = 2; + bool has_payload() const; + private: + bool _internal_has_payload() const; + public: + void clear_payload(); + const std::string& payload() const; + template + void set_payload(ArgT0&& arg0, ArgT... args); + std::string* mutable_payload(); + PROTOBUF_NODISCARD std::string* release_payload(); + void set_allocated_payload(std::string* payload); + private: + const std::string& _internal_payload() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value); + std::string* _internal_mutable_payload(); + public: + + // optional uint32 msgtype = 1; + bool has_msgtype() const; + private: + bool _internal_has_msgtype() const; + public: + void clear_msgtype(); + uint32_t msgtype() const; + void set_msgtype(uint32_t value); + private: + uint32_t _internal_msgtype() const; + void _internal_set_msgtype(uint32_t value); + public: + + // optional bool replytogc = 4; + bool has_replytogc() const; + private: + bool _internal_has_replytogc() const; + public: + void clear_replytogc(); + bool replytogc() const; + void set_replytogc(bool value); + private: + bool _internal_replytogc() const; + void _internal_set_replytogc(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCMultiplexMessage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > steamids_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_; + uint32_t msgtype_; + bool replytogc_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCMultiplexMessage_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCMultiplexMessage_Response) */ { + public: + inline CMsgGCMultiplexMessage_Response() : CMsgGCMultiplexMessage_Response(nullptr) {} + ~CMsgGCMultiplexMessage_Response() override; + explicit PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCMultiplexMessage_Response(const CMsgGCMultiplexMessage_Response& from); + CMsgGCMultiplexMessage_Response(CMsgGCMultiplexMessage_Response&& from) noexcept + : CMsgGCMultiplexMessage_Response() { + *this = ::std::move(from); + } + + inline CMsgGCMultiplexMessage_Response& operator=(const CMsgGCMultiplexMessage_Response& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCMultiplexMessage_Response& operator=(CMsgGCMultiplexMessage_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCMultiplexMessage_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCMultiplexMessage_Response* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCMultiplexMessage_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgGCMultiplexMessage_Response& a, CMsgGCMultiplexMessage_Response& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCMultiplexMessage_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(CMsgGCMultiplexMessage_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCMultiplexMessage_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCMultiplexMessage_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCMultiplexMessage_Response& from) { + CMsgGCMultiplexMessage_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(CMsgGCMultiplexMessage_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCMultiplexMessage_Response"; + } + protected: + explicit CMsgGCMultiplexMessage_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 { + kMsgtypeFieldNumber = 1, + }; + // optional uint32 msgtype = 1; + bool has_msgtype() const; + private: + bool _internal_has_msgtype() const; + public: + void clear_msgtype(); + uint32_t msgtype() const; + void set_msgtype(uint32_t value); + private: + uint32_t _internal_msgtype() const; + void _internal_set_msgtype(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCMultiplexMessage_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t msgtype_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGCToGCMsgMasterAck final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterAck) */ { + public: + inline CGCToGCMsgMasterAck() : CGCToGCMsgMasterAck(nullptr) {} + ~CGCToGCMsgMasterAck() override; + explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCToGCMsgMasterAck(const CGCToGCMsgMasterAck& from); + CGCToGCMsgMasterAck(CGCToGCMsgMasterAck&& from) noexcept + : CGCToGCMsgMasterAck() { + *this = ::std::move(from); + } + + inline CGCToGCMsgMasterAck& operator=(const CGCToGCMsgMasterAck& from) { + CopyFrom(from); + return *this; + } + inline CGCToGCMsgMasterAck& operator=(CGCToGCMsgMasterAck&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCToGCMsgMasterAck& default_instance() { + return *internal_default_instance(); + } + static inline const CGCToGCMsgMasterAck* internal_default_instance() { + return reinterpret_cast( + &_CGCToGCMsgMasterAck_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CGCToGCMsgMasterAck& a, CGCToGCMsgMasterAck& b) { + a.Swap(&b); + } + inline void Swap(CGCToGCMsgMasterAck* 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(CGCToGCMsgMasterAck* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCToGCMsgMasterAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGCToGCMsgMasterAck& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGCToGCMsgMasterAck& from) { + CGCToGCMsgMasterAck::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(CGCToGCMsgMasterAck* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGCToGCMsgMasterAck"; + } + protected: + explicit CGCToGCMsgMasterAck(::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 { + kDirIndexFieldNumber = 1, + kGcTypeFieldNumber = 2, + }; + // optional uint32 dir_index = 1; + bool has_dir_index() const; + private: + bool _internal_has_dir_index() const; + public: + void clear_dir_index(); + uint32_t dir_index() const; + void set_dir_index(uint32_t value); + private: + uint32_t _internal_dir_index() const; + void _internal_set_dir_index(uint32_t value); + public: + + // optional uint32 gc_type = 2; + bool has_gc_type() const; + private: + bool _internal_has_gc_type() const; + public: + void clear_gc_type(); + uint32_t gc_type() const; + void set_gc_type(uint32_t value); + private: + uint32_t _internal_gc_type() const; + void _internal_set_gc_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGCToGCMsgMasterAck) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t dir_index_; + uint32_t gc_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGCToGCMsgMasterAck_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterAck_Response) */ { + public: + inline CGCToGCMsgMasterAck_Response() : CGCToGCMsgMasterAck_Response(nullptr) {} + ~CGCToGCMsgMasterAck_Response() override; + explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCToGCMsgMasterAck_Response(const CGCToGCMsgMasterAck_Response& from); + CGCToGCMsgMasterAck_Response(CGCToGCMsgMasterAck_Response&& from) noexcept + : CGCToGCMsgMasterAck_Response() { + *this = ::std::move(from); + } + + inline CGCToGCMsgMasterAck_Response& operator=(const CGCToGCMsgMasterAck_Response& from) { + CopyFrom(from); + return *this; + } + inline CGCToGCMsgMasterAck_Response& operator=(CGCToGCMsgMasterAck_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCToGCMsgMasterAck_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CGCToGCMsgMasterAck_Response* internal_default_instance() { + return reinterpret_cast( + &_CGCToGCMsgMasterAck_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CGCToGCMsgMasterAck_Response& a, CGCToGCMsgMasterAck_Response& b) { + a.Swap(&b); + } + inline void Swap(CGCToGCMsgMasterAck_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(CGCToGCMsgMasterAck_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCToGCMsgMasterAck_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGCToGCMsgMasterAck_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGCToGCMsgMasterAck_Response& from) { + CGCToGCMsgMasterAck_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(CGCToGCMsgMasterAck_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGCToGCMsgMasterAck_Response"; + } + protected: + explicit CGCToGCMsgMasterAck_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 { + kEresultFieldNumber = 1, + }; + // optional int32 eresult = 1 [default = 2]; + bool has_eresult() const; + private: + bool _internal_has_eresult() const; + public: + void clear_eresult(); + int32_t eresult() const; + void set_eresult(int32_t value); + private: + int32_t _internal_eresult() const; + void _internal_set_eresult(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGCToGCMsgMasterAck_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t eresult_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGCToGCMsgMasterStartupComplete final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterStartupComplete) */ { + public: + inline CGCToGCMsgMasterStartupComplete() : CGCToGCMsgMasterStartupComplete(nullptr) {} + explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupComplete(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCToGCMsgMasterStartupComplete(const CGCToGCMsgMasterStartupComplete& from); + CGCToGCMsgMasterStartupComplete(CGCToGCMsgMasterStartupComplete&& from) noexcept + : CGCToGCMsgMasterStartupComplete() { + *this = ::std::move(from); + } + + inline CGCToGCMsgMasterStartupComplete& operator=(const CGCToGCMsgMasterStartupComplete& from) { + CopyFrom(from); + return *this; + } + inline CGCToGCMsgMasterStartupComplete& operator=(CGCToGCMsgMasterStartupComplete&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCToGCMsgMasterStartupComplete& default_instance() { + return *internal_default_instance(); + } + static inline const CGCToGCMsgMasterStartupComplete* internal_default_instance() { + return reinterpret_cast( + &_CGCToGCMsgMasterStartupComplete_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CGCToGCMsgMasterStartupComplete& a, CGCToGCMsgMasterStartupComplete& b) { + a.Swap(&b); + } + inline void Swap(CGCToGCMsgMasterStartupComplete* 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(CGCToGCMsgMasterStartupComplete* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCToGCMsgMasterStartupComplete* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CGCToGCMsgMasterStartupComplete& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CGCToGCMsgMasterStartupComplete& 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 "CGCToGCMsgMasterStartupComplete"; + } + protected: + explicit CGCToGCMsgMasterStartupComplete(::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:CGCToGCMsgMasterStartupComplete) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGCToGCMsgRouted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgRouted) */ { + public: + inline CGCToGCMsgRouted() : CGCToGCMsgRouted(nullptr) {} + ~CGCToGCMsgRouted() override; + explicit PROTOBUF_CONSTEXPR CGCToGCMsgRouted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCToGCMsgRouted(const CGCToGCMsgRouted& from); + CGCToGCMsgRouted(CGCToGCMsgRouted&& from) noexcept + : CGCToGCMsgRouted() { + *this = ::std::move(from); + } + + inline CGCToGCMsgRouted& operator=(const CGCToGCMsgRouted& from) { + CopyFrom(from); + return *this; + } + inline CGCToGCMsgRouted& operator=(CGCToGCMsgRouted&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCToGCMsgRouted& default_instance() { + return *internal_default_instance(); + } + static inline const CGCToGCMsgRouted* internal_default_instance() { + return reinterpret_cast( + &_CGCToGCMsgRouted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CGCToGCMsgRouted& a, CGCToGCMsgRouted& b) { + a.Swap(&b); + } + inline void Swap(CGCToGCMsgRouted* 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(CGCToGCMsgRouted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCToGCMsgRouted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGCToGCMsgRouted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGCToGCMsgRouted& from) { + CGCToGCMsgRouted::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(CGCToGCMsgRouted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGCToGCMsgRouted"; + } + protected: + explicit CGCToGCMsgRouted(::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 { + kNetMessageFieldNumber = 3, + kSenderIdFieldNumber = 2, + kMsgTypeFieldNumber = 1, + kIpFieldNumber = 4, + }; + // optional bytes net_message = 3; + bool has_net_message() const; + private: + bool _internal_has_net_message() const; + public: + void clear_net_message(); + const std::string& net_message() const; + template + void set_net_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_net_message(); + PROTOBUF_NODISCARD std::string* release_net_message(); + void set_allocated_net_message(std::string* net_message); + private: + const std::string& _internal_net_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_message(const std::string& value); + std::string* _internal_mutable_net_message(); + public: + + // optional fixed64 sender_id = 2; + bool has_sender_id() const; + private: + bool _internal_has_sender_id() const; + public: + void clear_sender_id(); + uint64_t sender_id() const; + void set_sender_id(uint64_t value); + private: + uint64_t _internal_sender_id() const; + void _internal_set_sender_id(uint64_t value); + public: + + // optional uint32 msg_type = 1; + bool has_msg_type() const; + private: + bool _internal_has_msg_type() const; + public: + void clear_msg_type(); + uint32_t msg_type() const; + void set_msg_type(uint32_t value); + private: + uint32_t _internal_msg_type() const; + void _internal_set_msg_type(uint32_t value); + public: + + // optional uint32 ip = 4; + bool has_ip() const; + private: + bool _internal_has_ip() const; + public: + void clear_ip(); + uint32_t ip() const; + void set_ip(uint32_t value); + private: + uint32_t _internal_ip() const; + void _internal_set_ip(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGCToGCMsgRouted) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_message_; + uint64_t sender_id_; + uint32_t msg_type_; + uint32_t ip_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGCToGCMsgRoutedReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgRoutedReply) */ { + public: + inline CGCToGCMsgRoutedReply() : CGCToGCMsgRoutedReply(nullptr) {} + ~CGCToGCMsgRoutedReply() override; + explicit PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGCToGCMsgRoutedReply(const CGCToGCMsgRoutedReply& from); + CGCToGCMsgRoutedReply(CGCToGCMsgRoutedReply&& from) noexcept + : CGCToGCMsgRoutedReply() { + *this = ::std::move(from); + } + + inline CGCToGCMsgRoutedReply& operator=(const CGCToGCMsgRoutedReply& from) { + CopyFrom(from); + return *this; + } + inline CGCToGCMsgRoutedReply& operator=(CGCToGCMsgRoutedReply&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGCToGCMsgRoutedReply& default_instance() { + return *internal_default_instance(); + } + static inline const CGCToGCMsgRoutedReply* internal_default_instance() { + return reinterpret_cast( + &_CGCToGCMsgRoutedReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CGCToGCMsgRoutedReply& a, CGCToGCMsgRoutedReply& b) { + a.Swap(&b); + } + inline void Swap(CGCToGCMsgRoutedReply* 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(CGCToGCMsgRoutedReply* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGCToGCMsgRoutedReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGCToGCMsgRoutedReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGCToGCMsgRoutedReply& from) { + CGCToGCMsgRoutedReply::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(CGCToGCMsgRoutedReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGCToGCMsgRoutedReply"; + } + protected: + explicit CGCToGCMsgRoutedReply(::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 { + kNetMessageFieldNumber = 2, + kMsgTypeFieldNumber = 1, + }; + // optional bytes net_message = 2; + bool has_net_message() const; + private: + bool _internal_has_net_message() const; + public: + void clear_net_message(); + const std::string& net_message() const; + template + void set_net_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_net_message(); + PROTOBUF_NODISCARD std::string* release_net_message(); + void set_allocated_net_message(std::string* net_message); + private: + const std::string& _internal_net_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_message(const std::string& value); + std::string* _internal_mutable_net_message(); + public: + + // optional uint32 msg_type = 1; + bool has_msg_type() const; + private: + bool _internal_has_msg_type() const; + public: + void clear_msg_type(); + uint32_t msg_type() const; + void set_msg_type(uint32_t value); + private: + uint32_t _internal_msg_type() const; + void _internal_set_msg_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGCToGCMsgRoutedReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_message_; + uint32_t msg_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCUpdateSessionIP final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCUpdateSessionIP) */ { + public: + inline CMsgGCUpdateSessionIP() : CMsgGCUpdateSessionIP(nullptr) {} + ~CMsgGCUpdateSessionIP() override; + explicit PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCUpdateSessionIP(const CMsgGCUpdateSessionIP& from); + CMsgGCUpdateSessionIP(CMsgGCUpdateSessionIP&& from) noexcept + : CMsgGCUpdateSessionIP() { + *this = ::std::move(from); + } + + inline CMsgGCUpdateSessionIP& operator=(const CMsgGCUpdateSessionIP& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCUpdateSessionIP& operator=(CMsgGCUpdateSessionIP&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCUpdateSessionIP& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCUpdateSessionIP* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCUpdateSessionIP_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CMsgGCUpdateSessionIP& a, CMsgGCUpdateSessionIP& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCUpdateSessionIP* 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(CMsgGCUpdateSessionIP* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCUpdateSessionIP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCUpdateSessionIP& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCUpdateSessionIP& from) { + CMsgGCUpdateSessionIP::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(CMsgGCUpdateSessionIP* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCUpdateSessionIP"; + } + protected: + explicit CMsgGCUpdateSessionIP(::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 { + kSteamidFieldNumber = 1, + kIpFieldNumber = 2, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional fixed32 ip = 2; + bool has_ip() const; + private: + bool _internal_has_ip() const; + public: + void clear_ip(); + uint32_t ip() const; + void set_ip(uint32_t value); + private: + uint32_t _internal_ip() const; + void _internal_set_ip(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCUpdateSessionIP) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint32_t ip_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCRequestSessionIP final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestSessionIP) */ { + public: + inline CMsgGCRequestSessionIP() : CMsgGCRequestSessionIP(nullptr) {} + ~CMsgGCRequestSessionIP() override; + explicit PROTOBUF_CONSTEXPR CMsgGCRequestSessionIP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCRequestSessionIP(const CMsgGCRequestSessionIP& from); + CMsgGCRequestSessionIP(CMsgGCRequestSessionIP&& from) noexcept + : CMsgGCRequestSessionIP() { + *this = ::std::move(from); + } + + inline CMsgGCRequestSessionIP& operator=(const CMsgGCRequestSessionIP& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCRequestSessionIP& operator=(CMsgGCRequestSessionIP&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCRequestSessionIP& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCRequestSessionIP* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCRequestSessionIP_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgGCRequestSessionIP& a, CMsgGCRequestSessionIP& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCRequestSessionIP* 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(CMsgGCRequestSessionIP* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCRequestSessionIP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCRequestSessionIP& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCRequestSessionIP& from) { + CMsgGCRequestSessionIP::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(CMsgGCRequestSessionIP* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCRequestSessionIP"; + } + protected: + explicit CMsgGCRequestSessionIP(::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 { + kSteamidFieldNumber = 1, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCRequestSessionIP) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCRequestSessionIPResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestSessionIPResponse) */ { + public: + inline CMsgGCRequestSessionIPResponse() : CMsgGCRequestSessionIPResponse(nullptr) {} + ~CMsgGCRequestSessionIPResponse() override; + explicit PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCRequestSessionIPResponse(const CMsgGCRequestSessionIPResponse& from); + CMsgGCRequestSessionIPResponse(CMsgGCRequestSessionIPResponse&& from) noexcept + : CMsgGCRequestSessionIPResponse() { + *this = ::std::move(from); + } + + inline CMsgGCRequestSessionIPResponse& operator=(const CMsgGCRequestSessionIPResponse& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCRequestSessionIPResponse& operator=(CMsgGCRequestSessionIPResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCRequestSessionIPResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCRequestSessionIPResponse* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCRequestSessionIPResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CMsgGCRequestSessionIPResponse& a, CMsgGCRequestSessionIPResponse& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCRequestSessionIPResponse* 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(CMsgGCRequestSessionIPResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCRequestSessionIPResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCRequestSessionIPResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCRequestSessionIPResponse& from) { + CMsgGCRequestSessionIPResponse::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(CMsgGCRequestSessionIPResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCRequestSessionIPResponse"; + } + protected: + explicit CMsgGCRequestSessionIPResponse(::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 { + kIpFieldNumber = 1, + }; + // optional fixed32 ip = 1; + bool has_ip() const; + private: + bool _internal_has_ip() const; + public: + void clear_ip(); + uint32_t ip() const; + void set_ip(uint32_t value); + private: + uint32_t _internal_ip() const; + void _internal_set_ip(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCRequestSessionIPResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t ip_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSOCacheHaveVersion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheHaveVersion) */ { + public: + inline CMsgSOCacheHaveVersion() : CMsgSOCacheHaveVersion(nullptr) {} + ~CMsgSOCacheHaveVersion() override; + explicit PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSOCacheHaveVersion(const CMsgSOCacheHaveVersion& from); + CMsgSOCacheHaveVersion(CMsgSOCacheHaveVersion&& from) noexcept + : CMsgSOCacheHaveVersion() { + *this = ::std::move(from); + } + + inline CMsgSOCacheHaveVersion& operator=(const CMsgSOCacheHaveVersion& from) { + CopyFrom(from); + return *this; + } + inline CMsgSOCacheHaveVersion& operator=(CMsgSOCacheHaveVersion&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSOCacheHaveVersion& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSOCacheHaveVersion* internal_default_instance() { + return reinterpret_cast( + &_CMsgSOCacheHaveVersion_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CMsgSOCacheHaveVersion& a, CMsgSOCacheHaveVersion& b) { + a.Swap(&b); + } + inline void Swap(CMsgSOCacheHaveVersion* 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(CMsgSOCacheHaveVersion* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSOCacheHaveVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSOCacheHaveVersion& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSOCacheHaveVersion& from) { + CMsgSOCacheHaveVersion::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(CMsgSOCacheHaveVersion* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSOCacheHaveVersion"; + } + protected: + explicit CMsgSOCacheHaveVersion(::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 { + kSoidFieldNumber = 1, + kVersionFieldNumber = 2, + }; + // optional .CMsgSOIDOwner soid = 1; + bool has_soid() const; + private: + bool _internal_has_soid() const; + public: + void clear_soid(); + const ::CMsgSOIDOwner& soid() const; + PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_soid(); + ::CMsgSOIDOwner* mutable_soid(); + void set_allocated_soid(::CMsgSOIDOwner* soid); + private: + const ::CMsgSOIDOwner& _internal_soid() const; + ::CMsgSOIDOwner* _internal_mutable_soid(); + public: + void unsafe_arena_set_allocated_soid( + ::CMsgSOIDOwner* soid); + ::CMsgSOIDOwner* unsafe_arena_release_soid(); + + // optional fixed64 version = 2; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSOCacheHaveVersion) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSOIDOwner* soid_; + uint64_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClientHello final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientHello) */ { + public: + inline CMsgClientHello() : CMsgClientHello(nullptr) {} + ~CMsgClientHello() override; + explicit PROTOBUF_CONSTEXPR CMsgClientHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClientHello(const CMsgClientHello& from); + CMsgClientHello(CMsgClientHello&& from) noexcept + : CMsgClientHello() { + *this = ::std::move(from); + } + + inline CMsgClientHello& operator=(const CMsgClientHello& from) { + CopyFrom(from); + return *this; + } + inline CMsgClientHello& operator=(CMsgClientHello&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClientHello& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClientHello* internal_default_instance() { + return reinterpret_cast( + &_CMsgClientHello_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CMsgClientHello& a, CMsgClientHello& b) { + a.Swap(&b); + } + inline void Swap(CMsgClientHello* 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(CMsgClientHello* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClientHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClientHello& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClientHello& from) { + CMsgClientHello::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(CMsgClientHello* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClientHello"; + } + protected: + explicit CMsgClientHello(::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 { + kSocacheHaveVersionsFieldNumber = 2, + kVersionFieldNumber = 1, + kClientSessionNeedFieldNumber = 3, + kClientLauncherFieldNumber = 4, + kPartnerSrcidFieldNumber = 5, + kPartnerAccountidFieldNumber = 6, + kPartnerAccountflagsFieldNumber = 7, + kPartnerAccountbalanceFieldNumber = 8, + kSteamLauncherFieldNumber = 9, + }; + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + int socache_have_versions_size() const; + private: + int _internal_socache_have_versions_size() const; + public: + void clear_socache_have_versions(); + ::CMsgSOCacheHaveVersion* mutable_socache_have_versions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* + mutable_socache_have_versions(); + private: + const ::CMsgSOCacheHaveVersion& _internal_socache_have_versions(int index) const; + ::CMsgSOCacheHaveVersion* _internal_add_socache_have_versions(); + public: + const ::CMsgSOCacheHaveVersion& socache_have_versions(int index) const; + ::CMsgSOCacheHaveVersion* add_socache_have_versions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& + socache_have_versions() const; + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 client_session_need = 3; + bool has_client_session_need() const; + private: + bool _internal_has_client_session_need() const; + public: + void clear_client_session_need(); + uint32_t client_session_need() const; + void set_client_session_need(uint32_t value); + private: + uint32_t _internal_client_session_need() const; + void _internal_set_client_session_need(uint32_t value); + public: + + // optional uint32 client_launcher = 4; + bool has_client_launcher() const; + private: + bool _internal_has_client_launcher() const; + public: + void clear_client_launcher(); + uint32_t client_launcher() const; + void set_client_launcher(uint32_t value); + private: + uint32_t _internal_client_launcher() const; + void _internal_set_client_launcher(uint32_t value); + public: + + // optional uint32 partner_srcid = 5; + bool has_partner_srcid() const; + private: + bool _internal_has_partner_srcid() const; + public: + void clear_partner_srcid(); + uint32_t partner_srcid() const; + void set_partner_srcid(uint32_t value); + private: + uint32_t _internal_partner_srcid() const; + void _internal_set_partner_srcid(uint32_t value); + public: + + // optional uint32 partner_accountid = 6; + bool has_partner_accountid() const; + private: + bool _internal_has_partner_accountid() const; + public: + void clear_partner_accountid(); + uint32_t partner_accountid() const; + void set_partner_accountid(uint32_t value); + private: + uint32_t _internal_partner_accountid() const; + void _internal_set_partner_accountid(uint32_t value); + public: + + // optional uint32 partner_accountflags = 7; + bool has_partner_accountflags() const; + private: + bool _internal_has_partner_accountflags() const; + public: + void clear_partner_accountflags(); + uint32_t partner_accountflags() const; + void set_partner_accountflags(uint32_t value); + private: + uint32_t _internal_partner_accountflags() const; + void _internal_set_partner_accountflags(uint32_t value); + public: + + // optional uint32 partner_accountbalance = 8; + bool has_partner_accountbalance() const; + private: + bool _internal_has_partner_accountbalance() const; + public: + void clear_partner_accountbalance(); + uint32_t partner_accountbalance() const; + void set_partner_accountbalance(uint32_t value); + private: + uint32_t _internal_partner_accountbalance() const; + void _internal_set_partner_accountbalance(uint32_t value); + public: + + // optional uint32 steam_launcher = 9; + bool has_steam_launcher() const; + private: + bool _internal_has_steam_launcher() const; + public: + void clear_steam_launcher(); + uint32_t steam_launcher() const; + void set_steam_launcher(uint32_t value); + private: + uint32_t _internal_steam_launcher() const; + void _internal_set_steam_launcher(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClientHello) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion > socache_have_versions_; + uint32_t version_; + uint32_t client_session_need_; + uint32_t client_launcher_; + uint32_t partner_srcid_; + uint32_t partner_accountid_; + uint32_t partner_accountflags_; + uint32_t partner_accountbalance_; + uint32_t steam_launcher_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerHello final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerHello) */ { + public: + inline CMsgServerHello() : CMsgServerHello(nullptr) {} + ~CMsgServerHello() override; + explicit PROTOBUF_CONSTEXPR CMsgServerHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerHello(const CMsgServerHello& from); + CMsgServerHello(CMsgServerHello&& from) noexcept + : CMsgServerHello() { + *this = ::std::move(from); + } + + inline CMsgServerHello& operator=(const CMsgServerHello& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerHello& operator=(CMsgServerHello&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerHello& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerHello* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerHello_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CMsgServerHello& a, CMsgServerHello& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerHello* 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(CMsgServerHello* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerHello& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerHello& from) { + CMsgServerHello::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(CMsgServerHello* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerHello"; + } + protected: + explicit CMsgServerHello(::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 { + kSocacheHaveVersionsFieldNumber = 2, + kLegacySteamdatagramRoutingFieldNumber = 6, + kSteamdatagramLoginFieldNumber = 8, + kVersionFieldNumber = 1, + kLegacyClientSessionNeedFieldNumber = 3, + kClientLauncherFieldNumber = 4, + kRequiredInternalAddrFieldNumber = 7, + kSocacheControlFieldNumber = 9, + }; + // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + int socache_have_versions_size() const; + private: + int _internal_socache_have_versions_size() const; + public: + void clear_socache_have_versions(); + ::CMsgSOCacheHaveVersion* mutable_socache_have_versions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* + mutable_socache_have_versions(); + private: + const ::CMsgSOCacheHaveVersion& _internal_socache_have_versions(int index) const; + ::CMsgSOCacheHaveVersion* _internal_add_socache_have_versions(); + public: + const ::CMsgSOCacheHaveVersion& socache_have_versions(int index) const; + ::CMsgSOCacheHaveVersion* add_socache_have_versions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& + socache_have_versions() const; + + // optional bytes legacy_steamdatagram_routing = 6; + bool has_legacy_steamdatagram_routing() const; + private: + bool _internal_has_legacy_steamdatagram_routing() const; + public: + void clear_legacy_steamdatagram_routing(); + const std::string& legacy_steamdatagram_routing() const; + template + void set_legacy_steamdatagram_routing(ArgT0&& arg0, ArgT... args); + std::string* mutable_legacy_steamdatagram_routing(); + PROTOBUF_NODISCARD std::string* release_legacy_steamdatagram_routing(); + void set_allocated_legacy_steamdatagram_routing(std::string* legacy_steamdatagram_routing); + private: + const std::string& _internal_legacy_steamdatagram_routing() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_steamdatagram_routing(const std::string& value); + std::string* _internal_mutable_legacy_steamdatagram_routing(); + public: + + // optional bytes steamdatagram_login = 8; + bool has_steamdatagram_login() const; + private: + bool _internal_has_steamdatagram_login() const; + public: + void clear_steamdatagram_login(); + const std::string& steamdatagram_login() const; + template + void set_steamdatagram_login(ArgT0&& arg0, ArgT... args); + std::string* mutable_steamdatagram_login(); + PROTOBUF_NODISCARD std::string* release_steamdatagram_login(); + void set_allocated_steamdatagram_login(std::string* steamdatagram_login); + private: + const std::string& _internal_steamdatagram_login() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_steamdatagram_login(const std::string& value); + std::string* _internal_mutable_steamdatagram_login(); + public: + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 legacy_client_session_need = 3; + bool has_legacy_client_session_need() const; + private: + bool _internal_has_legacy_client_session_need() const; + public: + void clear_legacy_client_session_need(); + uint32_t legacy_client_session_need() const; + void set_legacy_client_session_need(uint32_t value); + private: + uint32_t _internal_legacy_client_session_need() const; + void _internal_set_legacy_client_session_need(uint32_t value); + public: + + // optional uint32 client_launcher = 4; + bool has_client_launcher() const; + private: + bool _internal_has_client_launcher() const; + public: + void clear_client_launcher(); + uint32_t client_launcher() const; + void set_client_launcher(uint32_t value); + private: + uint32_t _internal_client_launcher() const; + void _internal_set_client_launcher(uint32_t value); + public: + + // optional uint32 required_internal_addr = 7; + bool has_required_internal_addr() const; + private: + bool _internal_has_required_internal_addr() const; + public: + void clear_required_internal_addr(); + uint32_t required_internal_addr() const; + void set_required_internal_addr(uint32_t value); + private: + uint32_t _internal_required_internal_addr() const; + void _internal_set_required_internal_addr(uint32_t value); + public: + + // optional uint32 socache_control = 9; + bool has_socache_control() const; + private: + bool _internal_has_socache_control() const; + public: + void clear_socache_control(); + uint32_t socache_control() const; + void set_socache_control(uint32_t value); + private: + uint32_t _internal_socache_control() const; + void _internal_set_socache_control(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerHello) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion > socache_have_versions_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_steamdatagram_routing_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr steamdatagram_login_; + uint32_t version_; + uint32_t legacy_client_session_need_; + uint32_t client_launcher_; + uint32_t required_internal_addr_; + uint32_t socache_control_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClientWelcome_Location final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientWelcome.Location) */ { + public: + inline CMsgClientWelcome_Location() : CMsgClientWelcome_Location(nullptr) {} + ~CMsgClientWelcome_Location() override; + explicit PROTOBUF_CONSTEXPR CMsgClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClientWelcome_Location(const CMsgClientWelcome_Location& from); + CMsgClientWelcome_Location(CMsgClientWelcome_Location&& from) noexcept + : CMsgClientWelcome_Location() { + *this = ::std::move(from); + } + + inline CMsgClientWelcome_Location& operator=(const CMsgClientWelcome_Location& from) { + CopyFrom(from); + return *this; + } + inline CMsgClientWelcome_Location& operator=(CMsgClientWelcome_Location&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClientWelcome_Location& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClientWelcome_Location* internal_default_instance() { + return reinterpret_cast( + &_CMsgClientWelcome_Location_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CMsgClientWelcome_Location& a, CMsgClientWelcome_Location& b) { + a.Swap(&b); + } + inline void Swap(CMsgClientWelcome_Location* 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(CMsgClientWelcome_Location* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClientWelcome_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClientWelcome_Location& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClientWelcome_Location& from) { + CMsgClientWelcome_Location::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(CMsgClientWelcome_Location* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClientWelcome.Location"; + } + protected: + explicit CMsgClientWelcome_Location(::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 { + kCountryFieldNumber = 3, + kLatitudeFieldNumber = 1, + kLongitudeFieldNumber = 2, + }; + // optional string country = 3; + bool has_country() const; + private: + bool _internal_has_country() const; + public: + void clear_country(); + const std::string& country() const; + template + void set_country(ArgT0&& arg0, ArgT... args); + std::string* mutable_country(); + PROTOBUF_NODISCARD std::string* release_country(); + void set_allocated_country(std::string* country); + private: + const std::string& _internal_country() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); + std::string* _internal_mutable_country(); + public: + + // optional float latitude = 1; + bool has_latitude() const; + private: + bool _internal_has_latitude() const; + public: + void clear_latitude(); + float latitude() const; + void set_latitude(float value); + private: + float _internal_latitude() const; + void _internal_set_latitude(float value); + public: + + // optional float longitude = 2; + bool has_longitude() const; + private: + bool _internal_has_longitude() const; + public: + void clear_longitude(); + float longitude() const; + void set_longitude(float value); + private: + float _internal_longitude() const; + void _internal_set_longitude(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClientWelcome.Location) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; + float latitude_; + float longitude_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgClientWelcome final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientWelcome) */ { + public: + inline CMsgClientWelcome() : CMsgClientWelcome(nullptr) {} + ~CMsgClientWelcome() override; + explicit PROTOBUF_CONSTEXPR CMsgClientWelcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgClientWelcome(const CMsgClientWelcome& from); + CMsgClientWelcome(CMsgClientWelcome&& from) noexcept + : CMsgClientWelcome() { + *this = ::std::move(from); + } + + inline CMsgClientWelcome& operator=(const CMsgClientWelcome& from) { + CopyFrom(from); + return *this; + } + inline CMsgClientWelcome& operator=(CMsgClientWelcome&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgClientWelcome& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgClientWelcome* internal_default_instance() { + return reinterpret_cast( + &_CMsgClientWelcome_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CMsgClientWelcome& a, CMsgClientWelcome& b) { + a.Swap(&b); + } + inline void Swap(CMsgClientWelcome* 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(CMsgClientWelcome* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgClientWelcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgClientWelcome& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgClientWelcome& from) { + CMsgClientWelcome::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(CMsgClientWelcome* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgClientWelcome"; + } + protected: + explicit CMsgClientWelcome(::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 ---------------------------------------------------- + + typedef CMsgClientWelcome_Location Location; + + // accessors ------------------------------------------------------- + + enum : int { + kOutofdateSubscribedCachesFieldNumber = 3, + kUptodateSubscribedCachesFieldNumber = 4, + kGameDataFieldNumber = 2, + kGameData2FieldNumber = 6, + kBalanceUrlFieldNumber = 10, + kTxnCountryCodeFieldNumber = 11, + kLocationFieldNumber = 5, + kVersionFieldNumber = 1, + kRtime32GcWelcomeTimestampFieldNumber = 7, + kCurrencyFieldNumber = 8, + kBalanceFieldNumber = 9, + }; + // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + int outofdate_subscribed_caches_size() const; + private: + int _internal_outofdate_subscribed_caches_size() const; + public: + void clear_outofdate_subscribed_caches(); + ::CMsgSOCacheSubscribed* mutable_outofdate_subscribed_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* + mutable_outofdate_subscribed_caches(); + private: + const ::CMsgSOCacheSubscribed& _internal_outofdate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscribed* _internal_add_outofdate_subscribed_caches(); + public: + const ::CMsgSOCacheSubscribed& outofdate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscribed* add_outofdate_subscribed_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& + outofdate_subscribed_caches() const; + + // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + int uptodate_subscribed_caches_size() const; + private: + int _internal_uptodate_subscribed_caches_size() const; + public: + void clear_uptodate_subscribed_caches(); + ::CMsgSOCacheSubscriptionCheck* mutable_uptodate_subscribed_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* + mutable_uptodate_subscribed_caches(); + private: + const ::CMsgSOCacheSubscriptionCheck& _internal_uptodate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscriptionCheck* _internal_add_uptodate_subscribed_caches(); + public: + const ::CMsgSOCacheSubscriptionCheck& uptodate_subscribed_caches(int index) const; + ::CMsgSOCacheSubscriptionCheck* add_uptodate_subscribed_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& + uptodate_subscribed_caches() const; + + // optional bytes game_data = 2; + bool has_game_data() const; + private: + bool _internal_has_game_data() const; + public: + void clear_game_data(); + const std::string& game_data() const; + template + void set_game_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_data(); + PROTOBUF_NODISCARD std::string* release_game_data(); + void set_allocated_game_data(std::string* game_data); + private: + const std::string& _internal_game_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data(const std::string& value); + std::string* _internal_mutable_game_data(); + public: + + // optional bytes game_data2 = 6; + bool has_game_data2() const; + private: + bool _internal_has_game_data2() const; + public: + void clear_game_data2(); + const std::string& game_data2() const; + template + void set_game_data2(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_data2(); + PROTOBUF_NODISCARD std::string* release_game_data2(); + void set_allocated_game_data2(std::string* game_data2); + private: + const std::string& _internal_game_data2() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data2(const std::string& value); + std::string* _internal_mutable_game_data2(); + public: + + // optional string balance_url = 10; + bool has_balance_url() const; + private: + bool _internal_has_balance_url() const; + public: + void clear_balance_url(); + const std::string& balance_url() const; + template + void set_balance_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_balance_url(); + PROTOBUF_NODISCARD std::string* release_balance_url(); + void set_allocated_balance_url(std::string* balance_url); + private: + const std::string& _internal_balance_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_balance_url(const std::string& value); + std::string* _internal_mutable_balance_url(); + public: + + // optional string txn_country_code = 11; + bool has_txn_country_code() const; + private: + bool _internal_has_txn_country_code() const; + public: + void clear_txn_country_code(); + const std::string& txn_country_code() const; + template + void set_txn_country_code(ArgT0&& arg0, ArgT... args); + std::string* mutable_txn_country_code(); + PROTOBUF_NODISCARD std::string* release_txn_country_code(); + void set_allocated_txn_country_code(std::string* txn_country_code); + private: + const std::string& _internal_txn_country_code() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_txn_country_code(const std::string& value); + std::string* _internal_mutable_txn_country_code(); + public: + + // optional .CMsgClientWelcome.Location location = 5; + bool has_location() const; + private: + bool _internal_has_location() const; + public: + void clear_location(); + const ::CMsgClientWelcome_Location& location() const; + PROTOBUF_NODISCARD ::CMsgClientWelcome_Location* release_location(); + ::CMsgClientWelcome_Location* mutable_location(); + void set_allocated_location(::CMsgClientWelcome_Location* location); + private: + const ::CMsgClientWelcome_Location& _internal_location() const; + ::CMsgClientWelcome_Location* _internal_mutable_location(); + public: + void unsafe_arena_set_allocated_location( + ::CMsgClientWelcome_Location* location); + ::CMsgClientWelcome_Location* unsafe_arena_release_location(); + + // optional uint32 version = 1; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint32_t version() const; + void set_version(uint32_t value); + private: + uint32_t _internal_version() const; + void _internal_set_version(uint32_t value); + public: + + // optional uint32 rtime32_gc_welcome_timestamp = 7; + bool has_rtime32_gc_welcome_timestamp() const; + private: + bool _internal_has_rtime32_gc_welcome_timestamp() const; + public: + void clear_rtime32_gc_welcome_timestamp(); + uint32_t rtime32_gc_welcome_timestamp() const; + void set_rtime32_gc_welcome_timestamp(uint32_t value); + private: + uint32_t _internal_rtime32_gc_welcome_timestamp() const; + void _internal_set_rtime32_gc_welcome_timestamp(uint32_t value); + public: + + // optional uint32 currency = 8; + bool has_currency() const; + private: + bool _internal_has_currency() const; + public: + void clear_currency(); + uint32_t currency() const; + void set_currency(uint32_t value); + private: + uint32_t _internal_currency() const; + void _internal_set_currency(uint32_t value); + public: + + // optional uint32 balance = 9; + bool has_balance() const; + private: + bool _internal_has_balance() const; + public: + void clear_balance(); + uint32_t balance() const; + void set_balance(uint32_t value); + private: + uint32_t _internal_balance() const; + void _internal_set_balance(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgClientWelcome) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed > outofdate_subscribed_caches_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck > uptodate_subscribed_caches_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data2_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr balance_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr txn_country_code_; + ::CMsgClientWelcome_Location* location_; + uint32_t version_; + uint32_t rtime32_gc_welcome_timestamp_; + uint32_t currency_; + uint32_t balance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgConnectionStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConnectionStatus) */ { + public: + inline CMsgConnectionStatus() : CMsgConnectionStatus(nullptr) {} + ~CMsgConnectionStatus() override; + explicit PROTOBUF_CONSTEXPR CMsgConnectionStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgConnectionStatus(const CMsgConnectionStatus& from); + CMsgConnectionStatus(CMsgConnectionStatus&& from) noexcept + : CMsgConnectionStatus() { + *this = ::std::move(from); + } + + inline CMsgConnectionStatus& operator=(const CMsgConnectionStatus& from) { + CopyFrom(from); + return *this; + } + inline CMsgConnectionStatus& operator=(CMsgConnectionStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgConnectionStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgConnectionStatus* internal_default_instance() { + return reinterpret_cast( + &_CMsgConnectionStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CMsgConnectionStatus& a, CMsgConnectionStatus& b) { + a.Swap(&b); + } + inline void Swap(CMsgConnectionStatus* 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(CMsgConnectionStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgConnectionStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgConnectionStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgConnectionStatus& from) { + CMsgConnectionStatus::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(CMsgConnectionStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgConnectionStatus"; + } + protected: + explicit CMsgConnectionStatus(::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, + kClientSessionNeedFieldNumber = 2, + kQueuePositionFieldNumber = 3, + kQueueSizeFieldNumber = 4, + kWaitSecondsFieldNumber = 5, + kEstimatedWaitSecondsRemainingFieldNumber = 6, + }; + // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; + bool has_status() const; + private: + bool _internal_has_status() const; + public: + void clear_status(); + ::GCConnectionStatus status() const; + void set_status(::GCConnectionStatus value); + private: + ::GCConnectionStatus _internal_status() const; + void _internal_set_status(::GCConnectionStatus value); + public: + + // optional uint32 client_session_need = 2; + bool has_client_session_need() const; + private: + bool _internal_has_client_session_need() const; + public: + void clear_client_session_need(); + uint32_t client_session_need() const; + void set_client_session_need(uint32_t value); + private: + uint32_t _internal_client_session_need() const; + void _internal_set_client_session_need(uint32_t value); + public: + + // optional int32 queue_position = 3; + bool has_queue_position() const; + private: + bool _internal_has_queue_position() const; + public: + void clear_queue_position(); + int32_t queue_position() const; + void set_queue_position(int32_t value); + private: + int32_t _internal_queue_position() const; + void _internal_set_queue_position(int32_t value); + public: + + // optional int32 queue_size = 4; + bool has_queue_size() const; + private: + bool _internal_has_queue_size() const; + public: + void clear_queue_size(); + int32_t queue_size() const; + void set_queue_size(int32_t value); + private: + int32_t _internal_queue_size() const; + void _internal_set_queue_size(int32_t value); + public: + + // optional int32 wait_seconds = 5; + bool has_wait_seconds() const; + private: + bool _internal_has_wait_seconds() const; + public: + void clear_wait_seconds(); + int32_t wait_seconds() const; + void set_wait_seconds(int32_t value); + private: + int32_t _internal_wait_seconds() const; + void _internal_set_wait_seconds(int32_t value); + public: + + // optional int32 estimated_wait_seconds_remaining = 6; + bool has_estimated_wait_seconds_remaining() const; + private: + bool _internal_has_estimated_wait_seconds_remaining() const; + public: + void clear_estimated_wait_seconds_remaining(); + int32_t estimated_wait_seconds_remaining() const; + void set_estimated_wait_seconds_remaining(int32_t value); + private: + int32_t _internal_estimated_wait_seconds_remaining() const; + void _internal_set_estimated_wait_seconds_remaining(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgConnectionStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int status_; + uint32_t client_session_need_; + int32_t queue_position_; + int32_t queue_size_; + int32_t wait_seconds_; + int32_t estimated_wait_seconds_remaining_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) */ { + public: + inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() : CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(nullptr) {} + ~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from); + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription&& from) noexcept + : CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() { + *this = ::std::move(from); + } + + inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& operator=(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& operator=(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& a, CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* 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(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { + CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::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(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription"; + } + protected: + explicit CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::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 { + kItemDescriptionFieldNumber = 2, + kGameitemidFieldNumber = 1, + kOnePerAccountFieldNumber = 3, + }; + // optional string item_description = 2; + bool has_item_description() const; + private: + bool _internal_has_item_description() const; + public: + void clear_item_description(); + const std::string& item_description() const; + template + void set_item_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_item_description(); + PROTOBUF_NODISCARD std::string* release_item_description(); + void set_allocated_item_description(std::string* item_description); + private: + const std::string& _internal_item_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item_description(const std::string& value); + std::string* _internal_mutable_item_description(); + public: + + // optional uint32 gameitemid = 1; + bool has_gameitemid() const; + private: + bool _internal_has_gameitemid() const; + public: + void clear_gameitemid(); + uint32_t gameitemid() const; + void set_gameitemid(uint32_t value); + private: + uint32_t _internal_gameitemid() const; + void _internal_set_gameitemid(uint32_t value); + public: + + // optional bool one_per_account = 3; + bool has_one_per_account() const; + private: + bool _internal_has_one_per_account() const; + public: + void clear_one_per_account(); + bool one_per_account() const; + void set_one_per_account(bool value); + private: + bool _internal_one_per_account() const; + void _internal_set_one_per_account(bool value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_description_; + uint32_t gameitemid_; + bool one_per_account_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) */ { + public: + inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() : CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(nullptr) {} + ~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from); + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock&& from) noexcept + : CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() { + *this = ::std::move(from); + } + + inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& operator=(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& operator=(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& a, CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* 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(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { + CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::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(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock"; + } + protected: + explicit CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::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 { + kDescriptionsFieldNumber = 2, + kLanguageFieldNumber = 1, + }; + // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; + int descriptions_size() const; + private: + int _internal_descriptions_size() const; + public: + void clear_descriptions(); + ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* mutable_descriptions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >* + mutable_descriptions(); + private: + const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& _internal_descriptions(int index) const; + ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* _internal_add_descriptions(); + public: + const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& descriptions(int index) const; + ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* add_descriptions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >& + descriptions() const; + + // optional string language = 1; + bool has_language() const; + private: + bool _internal_has_language() const; + public: + void clear_language(); + const std::string& language() const; + template + void set_language(ArgT0&& arg0, ArgT... args); + std::string* mutable_language(); + PROTOBUF_NODISCARD std::string* release_language(); + void set_allocated_language(std::string* language); + private: + const std::string& _internal_language() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_language(const std::string& value); + std::string* _internal_mutable_language(); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription > descriptions_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr language_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_PopulateItemDescriptions_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request) */ { + public: + inline CWorkshop_PopulateItemDescriptions_Request() : CWorkshop_PopulateItemDescriptions_Request(nullptr) {} + ~CWorkshop_PopulateItemDescriptions_Request() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_PopulateItemDescriptions_Request(const CWorkshop_PopulateItemDescriptions_Request& from); + CWorkshop_PopulateItemDescriptions_Request(CWorkshop_PopulateItemDescriptions_Request&& from) noexcept + : CWorkshop_PopulateItemDescriptions_Request() { + *this = ::std::move(from); + } + + inline CWorkshop_PopulateItemDescriptions_Request& operator=(const CWorkshop_PopulateItemDescriptions_Request& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_PopulateItemDescriptions_Request& operator=(CWorkshop_PopulateItemDescriptions_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_PopulateItemDescriptions_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_PopulateItemDescriptions_Request* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_PopulateItemDescriptions_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CWorkshop_PopulateItemDescriptions_Request& a, CWorkshop_PopulateItemDescriptions_Request& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_PopulateItemDescriptions_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(CWorkshop_PopulateItemDescriptions_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_PopulateItemDescriptions_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request& from) { + CWorkshop_PopulateItemDescriptions_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(CWorkshop_PopulateItemDescriptions_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_PopulateItemDescriptions_Request"; + } + protected: + explicit CWorkshop_PopulateItemDescriptions_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 ---------------------------------------------------- + + typedef CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription SingleItemDescription; + typedef CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock ItemDescriptionsLanguageBlock; + + // accessors ------------------------------------------------------- + + enum : int { + kLanguagesFieldNumber = 2, + kAppidFieldNumber = 1, + }; + // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; + int languages_size() const; + private: + int _internal_languages_size() const; + public: + void clear_languages(); + ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* mutable_languages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >* + mutable_languages(); + private: + const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& _internal_languages(int index) const; + ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* _internal_add_languages(); + public: + const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& languages(int index) const; + ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* add_languages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >& + languages() const; + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock > languages_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_GetContributors_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_GetContributors_Request) */ { + public: + inline CWorkshop_GetContributors_Request() : CWorkshop_GetContributors_Request(nullptr) {} + ~CWorkshop_GetContributors_Request() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_GetContributors_Request(const CWorkshop_GetContributors_Request& from); + CWorkshop_GetContributors_Request(CWorkshop_GetContributors_Request&& from) noexcept + : CWorkshop_GetContributors_Request() { + *this = ::std::move(from); + } + + inline CWorkshop_GetContributors_Request& operator=(const CWorkshop_GetContributors_Request& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_GetContributors_Request& operator=(CWorkshop_GetContributors_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_GetContributors_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_GetContributors_Request* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_GetContributors_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CWorkshop_GetContributors_Request& a, CWorkshop_GetContributors_Request& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_GetContributors_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(CWorkshop_GetContributors_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_GetContributors_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_GetContributors_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_GetContributors_Request& from) { + CWorkshop_GetContributors_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(CWorkshop_GetContributors_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_GetContributors_Request"; + } + protected: + explicit CWorkshop_GetContributors_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 { + kAppidFieldNumber = 1, + kGameitemidFieldNumber = 2, + }; + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 gameitemid = 2; + bool has_gameitemid() const; + private: + bool _internal_has_gameitemid() const; + public: + void clear_gameitemid(); + uint32_t gameitemid() const; + void set_gameitemid(uint32_t value); + private: + uint32_t _internal_gameitemid() const; + void _internal_set_gameitemid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_GetContributors_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + uint32_t gameitemid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_GetContributors_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_GetContributors_Response) */ { + public: + inline CWorkshop_GetContributors_Response() : CWorkshop_GetContributors_Response(nullptr) {} + ~CWorkshop_GetContributors_Response() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_GetContributors_Response(const CWorkshop_GetContributors_Response& from); + CWorkshop_GetContributors_Response(CWorkshop_GetContributors_Response&& from) noexcept + : CWorkshop_GetContributors_Response() { + *this = ::std::move(from); + } + + inline CWorkshop_GetContributors_Response& operator=(const CWorkshop_GetContributors_Response& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_GetContributors_Response& operator=(CWorkshop_GetContributors_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_GetContributors_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_GetContributors_Response* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_GetContributors_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CWorkshop_GetContributors_Response& a, CWorkshop_GetContributors_Response& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_GetContributors_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(CWorkshop_GetContributors_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_GetContributors_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_GetContributors_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_GetContributors_Response& from) { + CWorkshop_GetContributors_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(CWorkshop_GetContributors_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_GetContributors_Response"; + } + protected: + explicit CWorkshop_GetContributors_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 { + kContributorsFieldNumber = 1, + }; + // repeated fixed64 contributors = 1; + int contributors_size() const; + private: + int _internal_contributors_size() const; + public: + void clear_contributors(); + private: + uint64_t _internal_contributors(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_contributors() const; + void _internal_add_contributors(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_contributors(); + public: + uint64_t contributors(int index) const; + void set_contributors(int index, uint64_t value); + void add_contributors(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + contributors() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_contributors(); + + // @@protoc_insertion_point(class_scope:CWorkshop_GetContributors_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > contributors_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) */ { + public: + inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() : CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(nullptr) {} + ~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from); + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule&& from) noexcept + : CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() { + *this = ::std::move(from); + } + + inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* 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(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { + CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::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(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule"; + } + protected: + explicit CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::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 { + kRuleDescriptionFieldNumber = 3, + kWorkshopFileIdFieldNumber = 1, + kRevenuePercentageFieldNumber = 2, + kRuleTypeFieldNumber = 4, + }; + // optional string rule_description = 3; + bool has_rule_description() const; + private: + bool _internal_has_rule_description() const; + public: + void clear_rule_description(); + const std::string& rule_description() const; + template + void set_rule_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_rule_description(); + PROTOBUF_NODISCARD std::string* release_rule_description(); + void set_allocated_rule_description(std::string* rule_description); + private: + const std::string& _internal_rule_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); + std::string* _internal_mutable_rule_description(); + public: + + // optional uint64 workshop_file_id = 1; + bool has_workshop_file_id() const; + private: + bool _internal_has_workshop_file_id() const; + public: + void clear_workshop_file_id(); + uint64_t workshop_file_id() const; + void set_workshop_file_id(uint64_t value); + private: + uint64_t _internal_workshop_file_id() const; + void _internal_set_workshop_file_id(uint64_t value); + public: + + // optional float revenue_percentage = 2; + bool has_revenue_percentage() const; + private: + bool _internal_has_revenue_percentage() const; + public: + void clear_revenue_percentage(); + float revenue_percentage() const; + void set_revenue_percentage(float value); + private: + float _internal_revenue_percentage() const; + void _internal_set_revenue_percentage(float value); + public: + + // optional uint32 rule_type = 4 [default = 1]; + bool has_rule_type() const; + private: + bool _internal_has_rule_type() const; + public: + void clear_rule_type(); + uint32_t rule_type() const; + void set_rule_type(uint32_t value); + private: + uint32_t _internal_rule_type() const; + void _internal_set_rule_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; + uint64_t workshop_file_id_; + float revenue_percentage_; + uint32_t rule_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) */ { + public: + inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() : CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(nullptr) {} + ~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from); + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule&& from) noexcept + : CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() { + *this = ::std::move(from); + } + + inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* 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(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { + CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::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(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule"; + } + protected: + explicit CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::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 { + kRuleDescriptionFieldNumber = 2, + kWorkshopFileIdFieldNumber = 1, + }; + // optional string rule_description = 2; + bool has_rule_description() const; + private: + bool _internal_has_rule_description() const; + public: + void clear_rule_description(); + const std::string& rule_description() const; + template + void set_rule_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_rule_description(); + PROTOBUF_NODISCARD std::string* release_rule_description(); + void set_allocated_rule_description(std::string* rule_description); + private: + const std::string& _internal_rule_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); + std::string* _internal_mutable_rule_description(); + public: + + // optional uint64 workshop_file_id = 1; + bool has_workshop_file_id() const; + private: + bool _internal_has_workshop_file_id() const; + public: + void clear_workshop_file_id(); + uint64_t workshop_file_id() const; + void set_workshop_file_id(uint64_t value); + private: + uint64_t _internal_workshop_file_id() const; + void _internal_set_workshop_file_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; + uint64_t workshop_file_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) */ { + public: + inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() : CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(nullptr) {} + ~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from); + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule&& from) noexcept + : CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() { + *this = ::std::move(from); + } + + inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* 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(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { + CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::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(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule"; + } + protected: + explicit CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::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 { + kRuleDescriptionFieldNumber = 3, + kAccountIdFieldNumber = 1, + kRevenuePercentageFieldNumber = 2, + }; + // optional string rule_description = 3; + bool has_rule_description() const; + private: + bool _internal_has_rule_description() const; + public: + void clear_rule_description(); + const std::string& rule_description() const; + template + void set_rule_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_rule_description(); + PROTOBUF_NODISCARD std::string* release_rule_description(); + void set_allocated_rule_description(std::string* rule_description); + private: + const std::string& _internal_rule_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); + std::string* _internal_mutable_rule_description(); + public: + + // optional uint32 account_id = 1; + bool has_account_id() const; + private: + bool _internal_has_account_id() const; + public: + void clear_account_id(); + uint32_t account_id() const; + void set_account_id(uint32_t value); + private: + uint32_t _internal_account_id() const; + void _internal_set_account_id(uint32_t value); + public: + + // optional float revenue_percentage = 2; + bool has_revenue_percentage() const; + private: + bool _internal_has_revenue_percentage() const; + public: + void clear_revenue_percentage(); + float revenue_percentage() const; + void set_revenue_percentage(float value); + private: + float _internal_revenue_percentage() const; + void _internal_set_revenue_percentage(float value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; + uint32_t account_id_; + float revenue_percentage_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_SetItemPaymentRules_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request) */ { + public: + inline CWorkshop_SetItemPaymentRules_Request() : CWorkshop_SetItemPaymentRules_Request(nullptr) {} + ~CWorkshop_SetItemPaymentRules_Request() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_SetItemPaymentRules_Request(const CWorkshop_SetItemPaymentRules_Request& from); + CWorkshop_SetItemPaymentRules_Request(CWorkshop_SetItemPaymentRules_Request&& from) noexcept + : CWorkshop_SetItemPaymentRules_Request() { + *this = ::std::move(from); + } + + inline CWorkshop_SetItemPaymentRules_Request& operator=(const CWorkshop_SetItemPaymentRules_Request& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_SetItemPaymentRules_Request& operator=(CWorkshop_SetItemPaymentRules_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_SetItemPaymentRules_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_SetItemPaymentRules_Request* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_SetItemPaymentRules_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CWorkshop_SetItemPaymentRules_Request& a, CWorkshop_SetItemPaymentRules_Request& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_SetItemPaymentRules_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(CWorkshop_SetItemPaymentRules_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_SetItemPaymentRules_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_SetItemPaymentRules_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_SetItemPaymentRules_Request& from) { + CWorkshop_SetItemPaymentRules_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(CWorkshop_SetItemPaymentRules_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_SetItemPaymentRules_Request"; + } + protected: + explicit CWorkshop_SetItemPaymentRules_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 ---------------------------------------------------- + + typedef CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule WorkshopItemPaymentRule; + typedef CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule WorkshopDirectPaymentRule; + typedef CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule PartnerItemPaymentRule; + + // accessors ------------------------------------------------------- + + enum : int { + kAssociatedWorkshopFilesFieldNumber = 3, + kPartnerAccountsFieldNumber = 4, + kAssociatedWorkshopFileForDirectPaymentsFieldNumber = 7, + kAppidFieldNumber = 1, + kGameitemidFieldNumber = 2, + kValidateOnlyFieldNumber = 5, + kMakeWorkshopFilesSubscribableFieldNumber = 6, + }; + // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; + int associated_workshop_files_size() const; + private: + int _internal_associated_workshop_files_size() const; + public: + void clear_associated_workshop_files(); + ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* mutable_associated_workshop_files(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >* + mutable_associated_workshop_files(); + private: + const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& _internal_associated_workshop_files(int index) const; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* _internal_add_associated_workshop_files(); + public: + const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& associated_workshop_files(int index) const; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* add_associated_workshop_files(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >& + associated_workshop_files() const; + + // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + int partner_accounts_size() const; + private: + int _internal_partner_accounts_size() const; + public: + void clear_partner_accounts(); + ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* mutable_partner_accounts(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >* + mutable_partner_accounts(); + private: + const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& _internal_partner_accounts(int index) const; + ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* _internal_add_partner_accounts(); + public: + const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& partner_accounts(int index) const; + ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* add_partner_accounts(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >& + partner_accounts() const; + + // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; + bool has_associated_workshop_file_for_direct_payments() const; + private: + bool _internal_has_associated_workshop_file_for_direct_payments() const; + public: + void clear_associated_workshop_file_for_direct_payments(); + const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& associated_workshop_file_for_direct_payments() const; + PROTOBUF_NODISCARD ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* release_associated_workshop_file_for_direct_payments(); + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* mutable_associated_workshop_file_for_direct_payments(); + void set_allocated_associated_workshop_file_for_direct_payments(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments); + private: + const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& _internal_associated_workshop_file_for_direct_payments() const; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* _internal_mutable_associated_workshop_file_for_direct_payments(); + public: + void unsafe_arena_set_allocated_associated_workshop_file_for_direct_payments( + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments); + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* unsafe_arena_release_associated_workshop_file_for_direct_payments(); + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 gameitemid = 2; + bool has_gameitemid() const; + private: + bool _internal_has_gameitemid() const; + public: + void clear_gameitemid(); + uint32_t gameitemid() const; + void set_gameitemid(uint32_t value); + private: + uint32_t _internal_gameitemid() const; + void _internal_set_gameitemid(uint32_t value); + public: + + // optional bool validate_only = 5; + bool has_validate_only() const; + private: + bool _internal_has_validate_only() const; + public: + void clear_validate_only(); + bool validate_only() const; + void set_validate_only(bool value); + private: + bool _internal_validate_only() const; + void _internal_set_validate_only(bool value); + public: + + // optional bool make_workshop_files_subscribable = 6; + bool has_make_workshop_files_subscribable() const; + private: + bool _internal_has_make_workshop_files_subscribable() const; + public: + void clear_make_workshop_files_subscribable(); + bool make_workshop_files_subscribable() const; + void set_make_workshop_files_subscribable(bool value); + private: + bool _internal_make_workshop_files_subscribable() const; + void _internal_set_make_workshop_files_subscribable(bool value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule > associated_workshop_files_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule > partner_accounts_; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments_; + uint32_t appid_; + uint32_t gameitemid_; + bool validate_only_; + bool make_workshop_files_subscribable_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_SetItemPaymentRules_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Response) */ { + public: + inline CWorkshop_SetItemPaymentRules_Response() : CWorkshop_SetItemPaymentRules_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_SetItemPaymentRules_Response(const CWorkshop_SetItemPaymentRules_Response& from); + CWorkshop_SetItemPaymentRules_Response(CWorkshop_SetItemPaymentRules_Response&& from) noexcept + : CWorkshop_SetItemPaymentRules_Response() { + *this = ::std::move(from); + } + + inline CWorkshop_SetItemPaymentRules_Response& operator=(const CWorkshop_SetItemPaymentRules_Response& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_SetItemPaymentRules_Response& operator=(CWorkshop_SetItemPaymentRules_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_SetItemPaymentRules_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_SetItemPaymentRules_Response* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_SetItemPaymentRules_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CWorkshop_SetItemPaymentRules_Response& a, CWorkshop_SetItemPaymentRules_Response& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_SetItemPaymentRules_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(CWorkshop_SetItemPaymentRules_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_SetItemPaymentRules_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CWorkshop_SetItemPaymentRules_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CWorkshop_SetItemPaymentRules_Response& 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 "CWorkshop_SetItemPaymentRules_Response"; + } + protected: + explicit CWorkshop_SetItemPaymentRules_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameServers_AggregationQuery_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Request) */ { + public: + inline CGameServers_AggregationQuery_Request() : CGameServers_AggregationQuery_Request(nullptr) {} + ~CGameServers_AggregationQuery_Request() override; + explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameServers_AggregationQuery_Request(const CGameServers_AggregationQuery_Request& from); + CGameServers_AggregationQuery_Request(CGameServers_AggregationQuery_Request&& from) noexcept + : CGameServers_AggregationQuery_Request() { + *this = ::std::move(from); + } + + inline CGameServers_AggregationQuery_Request& operator=(const CGameServers_AggregationQuery_Request& from) { + CopyFrom(from); + return *this; + } + inline CGameServers_AggregationQuery_Request& operator=(CGameServers_AggregationQuery_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameServers_AggregationQuery_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CGameServers_AggregationQuery_Request* internal_default_instance() { + return reinterpret_cast( + &_CGameServers_AggregationQuery_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CGameServers_AggregationQuery_Request& a, CGameServers_AggregationQuery_Request& b) { + a.Swap(&b); + } + inline void Swap(CGameServers_AggregationQuery_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(CGameServers_AggregationQuery_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameServers_AggregationQuery_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameServers_AggregationQuery_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameServers_AggregationQuery_Request& from) { + CGameServers_AggregationQuery_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(CGameServers_AggregationQuery_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameServers_AggregationQuery_Request"; + } + protected: + explicit CGameServers_AggregationQuery_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 { + kGroupFieldsFieldNumber = 3, + kFilterFieldNumber = 1, + }; + // repeated string group_fields = 3; + int group_fields_size() const; + private: + int _internal_group_fields_size() const; + public: + void clear_group_fields(); + const std::string& group_fields(int index) const; + std::string* mutable_group_fields(int index); + void set_group_fields(int index, const std::string& value); + void set_group_fields(int index, std::string&& value); + void set_group_fields(int index, const char* value); + void set_group_fields(int index, const char* value, size_t size); + std::string* add_group_fields(); + void add_group_fields(const std::string& value); + void add_group_fields(std::string&& value); + void add_group_fields(const char* value); + void add_group_fields(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& group_fields() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_group_fields(); + private: + const std::string& _internal_group_fields(int index) const; + std::string* _internal_add_group_fields(); + public: + + // optional string filter = 1; + bool has_filter() const; + private: + bool _internal_has_filter() const; + public: + void clear_filter(); + const std::string& filter() const; + template + void set_filter(ArgT0&& arg0, ArgT... args); + std::string* mutable_filter(); + PROTOBUF_NODISCARD std::string* release_filter(); + void set_allocated_filter(std::string* filter); + private: + const std::string& _internal_filter() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); + std::string* _internal_mutable_filter(); + public: + + // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField group_fields_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameServers_AggregationQuery_Response_Group final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Response.Group) */ { + public: + inline CGameServers_AggregationQuery_Response_Group() : CGameServers_AggregationQuery_Response_Group(nullptr) {} + ~CGameServers_AggregationQuery_Response_Group() override; + explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_Group(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameServers_AggregationQuery_Response_Group(const CGameServers_AggregationQuery_Response_Group& from); + CGameServers_AggregationQuery_Response_Group(CGameServers_AggregationQuery_Response_Group&& from) noexcept + : CGameServers_AggregationQuery_Response_Group() { + *this = ::std::move(from); + } + + inline CGameServers_AggregationQuery_Response_Group& operator=(const CGameServers_AggregationQuery_Response_Group& from) { + CopyFrom(from); + return *this; + } + inline CGameServers_AggregationQuery_Response_Group& operator=(CGameServers_AggregationQuery_Response_Group&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameServers_AggregationQuery_Response_Group& default_instance() { + return *internal_default_instance(); + } + static inline const CGameServers_AggregationQuery_Response_Group* internal_default_instance() { + return reinterpret_cast( + &_CGameServers_AggregationQuery_Response_Group_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CGameServers_AggregationQuery_Response_Group& a, CGameServers_AggregationQuery_Response_Group& b) { + a.Swap(&b); + } + inline void Swap(CGameServers_AggregationQuery_Response_Group* 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(CGameServers_AggregationQuery_Response_Group* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameServers_AggregationQuery_Response_Group* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameServers_AggregationQuery_Response_Group& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameServers_AggregationQuery_Response_Group& from) { + CGameServers_AggregationQuery_Response_Group::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(CGameServers_AggregationQuery_Response_Group* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameServers_AggregationQuery_Response.Group"; + } + protected: + explicit CGameServers_AggregationQuery_Response_Group(::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 { + kGroupValuesFieldNumber = 1, + kServersEmptyFieldNumber = 2, + kServersFullFieldNumber = 3, + kServersTotalFieldNumber = 4, + kPlayersHumansFieldNumber = 5, + kPlayersBotsFieldNumber = 6, + kPlayerCapacityFieldNumber = 7, + }; + // repeated string group_values = 1; + int group_values_size() const; + private: + int _internal_group_values_size() const; + public: + void clear_group_values(); + const std::string& group_values(int index) const; + std::string* mutable_group_values(int index); + void set_group_values(int index, const std::string& value); + void set_group_values(int index, std::string&& value); + void set_group_values(int index, const char* value); + void set_group_values(int index, const char* value, size_t size); + std::string* add_group_values(); + void add_group_values(const std::string& value); + void add_group_values(std::string&& value); + void add_group_values(const char* value); + void add_group_values(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& group_values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_group_values(); + private: + const std::string& _internal_group_values(int index) const; + std::string* _internal_add_group_values(); + public: + + // optional uint32 servers_empty = 2; + bool has_servers_empty() const; + private: + bool _internal_has_servers_empty() const; + public: + void clear_servers_empty(); + uint32_t servers_empty() const; + void set_servers_empty(uint32_t value); + private: + uint32_t _internal_servers_empty() const; + void _internal_set_servers_empty(uint32_t value); + public: + + // optional uint32 servers_full = 3; + bool has_servers_full() const; + private: + bool _internal_has_servers_full() const; + public: + void clear_servers_full(); + uint32_t servers_full() const; + void set_servers_full(uint32_t value); + private: + uint32_t _internal_servers_full() const; + void _internal_set_servers_full(uint32_t value); + public: + + // optional uint32 servers_total = 4; + bool has_servers_total() const; + private: + bool _internal_has_servers_total() const; + public: + void clear_servers_total(); + uint32_t servers_total() const; + void set_servers_total(uint32_t value); + private: + uint32_t _internal_servers_total() const; + void _internal_set_servers_total(uint32_t value); + public: + + // optional uint32 players_humans = 5; + bool has_players_humans() const; + private: + bool _internal_has_players_humans() const; + public: + void clear_players_humans(); + uint32_t players_humans() const; + void set_players_humans(uint32_t value); + private: + uint32_t _internal_players_humans() const; + void _internal_set_players_humans(uint32_t value); + public: + + // optional uint32 players_bots = 6; + bool has_players_bots() const; + private: + bool _internal_has_players_bots() const; + public: + void clear_players_bots(); + uint32_t players_bots() const; + void set_players_bots(uint32_t value); + private: + uint32_t _internal_players_bots() const; + void _internal_set_players_bots(uint32_t value); + public: + + // optional uint32 player_capacity = 7; + bool has_player_capacity() const; + private: + bool _internal_has_player_capacity() const; + public: + void clear_player_capacity(); + uint32_t player_capacity() const; + void set_player_capacity(uint32_t value); + private: + uint32_t _internal_player_capacity() const; + void _internal_set_player_capacity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Response.Group) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField group_values_; + uint32_t servers_empty_; + uint32_t servers_full_; + uint32_t servers_total_; + uint32_t players_humans_; + uint32_t players_bots_; + uint32_t player_capacity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameServers_AggregationQuery_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Response) */ { + public: + inline CGameServers_AggregationQuery_Response() : CGameServers_AggregationQuery_Response(nullptr) {} + ~CGameServers_AggregationQuery_Response() override; + explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameServers_AggregationQuery_Response(const CGameServers_AggregationQuery_Response& from); + CGameServers_AggregationQuery_Response(CGameServers_AggregationQuery_Response&& from) noexcept + : CGameServers_AggregationQuery_Response() { + *this = ::std::move(from); + } + + inline CGameServers_AggregationQuery_Response& operator=(const CGameServers_AggregationQuery_Response& from) { + CopyFrom(from); + return *this; + } + inline CGameServers_AggregationQuery_Response& operator=(CGameServers_AggregationQuery_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameServers_AggregationQuery_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CGameServers_AggregationQuery_Response* internal_default_instance() { + return reinterpret_cast( + &_CGameServers_AggregationQuery_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CGameServers_AggregationQuery_Response& a, CGameServers_AggregationQuery_Response& b) { + a.Swap(&b); + } + inline void Swap(CGameServers_AggregationQuery_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(CGameServers_AggregationQuery_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameServers_AggregationQuery_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameServers_AggregationQuery_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameServers_AggregationQuery_Response& from) { + CGameServers_AggregationQuery_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(CGameServers_AggregationQuery_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameServers_AggregationQuery_Response"; + } + protected: + explicit CGameServers_AggregationQuery_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 ---------------------------------------------------- + + typedef CGameServers_AggregationQuery_Response_Group Group; + + // accessors ------------------------------------------------------- + + enum : int { + kGroupsFieldNumber = 1, + }; + // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; + int groups_size() const; + private: + int _internal_groups_size() const; + public: + void clear_groups(); + ::CGameServers_AggregationQuery_Response_Group* mutable_groups(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >* + mutable_groups(); + private: + const ::CGameServers_AggregationQuery_Response_Group& _internal_groups(int index) const; + ::CGameServers_AggregationQuery_Response_Group* _internal_add_groups(); + public: + const ::CGameServers_AggregationQuery_Response_Group& groups(int index) const; + ::CGameServers_AggregationQuery_Response_Group* add_groups(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >& + groups() const; + + // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group > groups_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_AddSpecialPayment_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_AddSpecialPayment_Request) */ { + public: + inline CWorkshop_AddSpecialPayment_Request() : CWorkshop_AddSpecialPayment_Request(nullptr) {} + ~CWorkshop_AddSpecialPayment_Request() override; + explicit PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_AddSpecialPayment_Request(const CWorkshop_AddSpecialPayment_Request& from); + CWorkshop_AddSpecialPayment_Request(CWorkshop_AddSpecialPayment_Request&& from) noexcept + : CWorkshop_AddSpecialPayment_Request() { + *this = ::std::move(from); + } + + inline CWorkshop_AddSpecialPayment_Request& operator=(const CWorkshop_AddSpecialPayment_Request& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_AddSpecialPayment_Request& operator=(CWorkshop_AddSpecialPayment_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_AddSpecialPayment_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_AddSpecialPayment_Request* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_AddSpecialPayment_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CWorkshop_AddSpecialPayment_Request& a, CWorkshop_AddSpecialPayment_Request& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_AddSpecialPayment_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(CWorkshop_AddSpecialPayment_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_AddSpecialPayment_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CWorkshop_AddSpecialPayment_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CWorkshop_AddSpecialPayment_Request& from) { + CWorkshop_AddSpecialPayment_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(CWorkshop_AddSpecialPayment_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CWorkshop_AddSpecialPayment_Request"; + } + protected: + explicit CWorkshop_AddSpecialPayment_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 { + kDateFieldNumber = 3, + kAppidFieldNumber = 1, + kGameitemidFieldNumber = 2, + kPaymentUsUsdFieldNumber = 4, + kPaymentRowUsdFieldNumber = 5, + }; + // optional string date = 3; + bool has_date() const; + private: + bool _internal_has_date() const; + public: + void clear_date(); + const std::string& date() const; + template + void set_date(ArgT0&& arg0, ArgT... args); + std::string* mutable_date(); + PROTOBUF_NODISCARD std::string* release_date(); + void set_allocated_date(std::string* date); + private: + const std::string& _internal_date() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_date(const std::string& value); + std::string* _internal_mutable_date(); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 gameitemid = 2; + bool has_gameitemid() const; + private: + bool _internal_has_gameitemid() const; + public: + void clear_gameitemid(); + uint32_t gameitemid() const; + void set_gameitemid(uint32_t value); + private: + uint32_t _internal_gameitemid() const; + void _internal_set_gameitemid(uint32_t value); + public: + + // optional uint64 payment_us_usd = 4; + bool has_payment_us_usd() const; + private: + bool _internal_has_payment_us_usd() const; + public: + void clear_payment_us_usd(); + uint64_t payment_us_usd() const; + void set_payment_us_usd(uint64_t value); + private: + uint64_t _internal_payment_us_usd() const; + void _internal_set_payment_us_usd(uint64_t value); + public: + + // optional uint64 payment_row_usd = 5; + bool has_payment_row_usd() const; + private: + bool _internal_has_payment_row_usd() const; + public: + void clear_payment_row_usd(); + uint64_t payment_row_usd() const; + void set_payment_row_usd(uint64_t value); + private: + uint64_t _internal_payment_row_usd() const; + void _internal_set_payment_row_usd(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CWorkshop_AddSpecialPayment_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr date_; + uint32_t appid_; + uint32_t gameitemid_; + uint64_t payment_us_usd_; + uint64_t payment_row_usd_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CWorkshop_AddSpecialPayment_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CWorkshop_AddSpecialPayment_Response) */ { + public: + inline CWorkshop_AddSpecialPayment_Response() : CWorkshop_AddSpecialPayment_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CWorkshop_AddSpecialPayment_Response(const CWorkshop_AddSpecialPayment_Response& from); + CWorkshop_AddSpecialPayment_Response(CWorkshop_AddSpecialPayment_Response&& from) noexcept + : CWorkshop_AddSpecialPayment_Response() { + *this = ::std::move(from); + } + + inline CWorkshop_AddSpecialPayment_Response& operator=(const CWorkshop_AddSpecialPayment_Response& from) { + CopyFrom(from); + return *this; + } + inline CWorkshop_AddSpecialPayment_Response& operator=(CWorkshop_AddSpecialPayment_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CWorkshop_AddSpecialPayment_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CWorkshop_AddSpecialPayment_Response* internal_default_instance() { + return reinterpret_cast( + &_CWorkshop_AddSpecialPayment_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CWorkshop_AddSpecialPayment_Response& a, CWorkshop_AddSpecialPayment_Response& b) { + a.Swap(&b); + } + inline void Swap(CWorkshop_AddSpecialPayment_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(CWorkshop_AddSpecialPayment_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CWorkshop_AddSpecialPayment_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CWorkshop_AddSpecialPayment_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CWorkshop_AddSpecialPayment_Response& 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 "CWorkshop_AddSpecialPayment_Response"; + } + protected: + explicit CWorkshop_AddSpecialPayment_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CWorkshop_AddSpecialPayment_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CProductInfo_SetRichPresenceLocalization_Request_Token final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request.Token) */ { + public: + inline CProductInfo_SetRichPresenceLocalization_Request_Token() : CProductInfo_SetRichPresenceLocalization_Request_Token(nullptr) {} + ~CProductInfo_SetRichPresenceLocalization_Request_Token() override; + explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_Token(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CProductInfo_SetRichPresenceLocalization_Request_Token(const CProductInfo_SetRichPresenceLocalization_Request_Token& from); + CProductInfo_SetRichPresenceLocalization_Request_Token(CProductInfo_SetRichPresenceLocalization_Request_Token&& from) noexcept + : CProductInfo_SetRichPresenceLocalization_Request_Token() { + *this = ::std::move(from); + } + + inline CProductInfo_SetRichPresenceLocalization_Request_Token& operator=(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { + CopyFrom(from); + return *this; + } + inline CProductInfo_SetRichPresenceLocalization_Request_Token& operator=(CProductInfo_SetRichPresenceLocalization_Request_Token&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CProductInfo_SetRichPresenceLocalization_Request_Token& default_instance() { + return *internal_default_instance(); + } + static inline const CProductInfo_SetRichPresenceLocalization_Request_Token* internal_default_instance() { + return reinterpret_cast( + &_CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CProductInfo_SetRichPresenceLocalization_Request_Token& a, CProductInfo_SetRichPresenceLocalization_Request_Token& b) { + a.Swap(&b); + } + inline void Swap(CProductInfo_SetRichPresenceLocalization_Request_Token* 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(CProductInfo_SetRichPresenceLocalization_Request_Token* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CProductInfo_SetRichPresenceLocalization_Request_Token* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_Token& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { + CProductInfo_SetRichPresenceLocalization_Request_Token::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(CProductInfo_SetRichPresenceLocalization_Request_Token* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CProductInfo_SetRichPresenceLocalization_Request.Token"; + } + protected: + explicit CProductInfo_SetRichPresenceLocalization_Request_Token(::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 { + kTokenFieldNumber = 1, + kValueFieldNumber = 2, + }; + // optional string token = 1; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + const std::string& token() const; + template + void set_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_token(); + PROTOBUF_NODISCARD std::string* release_token(); + void set_allocated_token(std::string* token); + private: + const std::string& _internal_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); + std::string* _internal_mutable_token(); + public: + + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request.Token) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) */ { + public: + inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() : CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(nullptr) {} + ~CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() override; + explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from); + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection&& from) noexcept + : CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() { + *this = ::std::move(from); + } + + inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& operator=(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { + CopyFrom(from); + return *this; + } + inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& operator=(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& default_instance() { + return *internal_default_instance(); + } + static inline const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* internal_default_instance() { + return reinterpret_cast( + &_CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& a, CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& b) { + a.Swap(&b); + } + inline void Swap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* 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(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { + CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::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(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection"; + } + protected: + explicit CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::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 { + kTokensFieldNumber = 2, + kLanguageFieldNumber = 1, + }; + // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; + int tokens_size() const; + private: + int _internal_tokens_size() const; + public: + void clear_tokens(); + ::CProductInfo_SetRichPresenceLocalization_Request_Token* mutable_tokens(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >* + mutable_tokens(); + private: + const ::CProductInfo_SetRichPresenceLocalization_Request_Token& _internal_tokens(int index) const; + ::CProductInfo_SetRichPresenceLocalization_Request_Token* _internal_add_tokens(); + public: + const ::CProductInfo_SetRichPresenceLocalization_Request_Token& tokens(int index) const; + ::CProductInfo_SetRichPresenceLocalization_Request_Token* add_tokens(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >& + tokens() const; + + // optional string language = 1; + bool has_language() const; + private: + bool _internal_has_language() const; + public: + void clear_language(); + const std::string& language() const; + template + void set_language(ArgT0&& arg0, ArgT... args); + std::string* mutable_language(); + PROTOBUF_NODISCARD std::string* release_language(); + void set_allocated_language(std::string* language); + private: + const std::string& _internal_language() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_language(const std::string& value); + std::string* _internal_mutable_language(); + public: + + // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token > tokens_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr language_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CProductInfo_SetRichPresenceLocalization_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request) */ { + public: + inline CProductInfo_SetRichPresenceLocalization_Request() : CProductInfo_SetRichPresenceLocalization_Request(nullptr) {} + ~CProductInfo_SetRichPresenceLocalization_Request() override; + explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CProductInfo_SetRichPresenceLocalization_Request(const CProductInfo_SetRichPresenceLocalization_Request& from); + CProductInfo_SetRichPresenceLocalization_Request(CProductInfo_SetRichPresenceLocalization_Request&& from) noexcept + : CProductInfo_SetRichPresenceLocalization_Request() { + *this = ::std::move(from); + } + + inline CProductInfo_SetRichPresenceLocalization_Request& operator=(const CProductInfo_SetRichPresenceLocalization_Request& from) { + CopyFrom(from); + return *this; + } + inline CProductInfo_SetRichPresenceLocalization_Request& operator=(CProductInfo_SetRichPresenceLocalization_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CProductInfo_SetRichPresenceLocalization_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CProductInfo_SetRichPresenceLocalization_Request* internal_default_instance() { + return reinterpret_cast( + &_CProductInfo_SetRichPresenceLocalization_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CProductInfo_SetRichPresenceLocalization_Request& a, CProductInfo_SetRichPresenceLocalization_Request& b) { + a.Swap(&b); + } + inline void Swap(CProductInfo_SetRichPresenceLocalization_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(CProductInfo_SetRichPresenceLocalization_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CProductInfo_SetRichPresenceLocalization_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request& from) { + CProductInfo_SetRichPresenceLocalization_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(CProductInfo_SetRichPresenceLocalization_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CProductInfo_SetRichPresenceLocalization_Request"; + } + protected: + explicit CProductInfo_SetRichPresenceLocalization_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 ---------------------------------------------------- + + typedef CProductInfo_SetRichPresenceLocalization_Request_Token Token; + typedef CProductInfo_SetRichPresenceLocalization_Request_LanguageSection LanguageSection; + + // accessors ------------------------------------------------------- + + enum : int { + kLanguagesFieldNumber = 2, + kSteamidFieldNumber = 3, + kAppidFieldNumber = 1, + }; + // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; + int languages_size() const; + private: + int _internal_languages_size() const; + public: + void clear_languages(); + ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* mutable_languages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >* + mutable_languages(); + private: + const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& _internal_languages(int index) const; + ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* _internal_add_languages(); + public: + const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& languages(int index) const; + ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* add_languages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >& + languages() const; + + // optional uint64 steamid = 3; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection > languages_; + uint64_t steamid_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CProductInfo_SetRichPresenceLocalization_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Response) */ { + public: + inline CProductInfo_SetRichPresenceLocalization_Response() : CProductInfo_SetRichPresenceLocalization_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CProductInfo_SetRichPresenceLocalization_Response(const CProductInfo_SetRichPresenceLocalization_Response& from); + CProductInfo_SetRichPresenceLocalization_Response(CProductInfo_SetRichPresenceLocalization_Response&& from) noexcept + : CProductInfo_SetRichPresenceLocalization_Response() { + *this = ::std::move(from); + } + + inline CProductInfo_SetRichPresenceLocalization_Response& operator=(const CProductInfo_SetRichPresenceLocalization_Response& from) { + CopyFrom(from); + return *this; + } + inline CProductInfo_SetRichPresenceLocalization_Response& operator=(CProductInfo_SetRichPresenceLocalization_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CProductInfo_SetRichPresenceLocalization_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CProductInfo_SetRichPresenceLocalization_Response* internal_default_instance() { + return reinterpret_cast( + &_CProductInfo_SetRichPresenceLocalization_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CProductInfo_SetRichPresenceLocalization_Response& a, CProductInfo_SetRichPresenceLocalization_Response& b) { + a.Swap(&b); + } + inline void Swap(CProductInfo_SetRichPresenceLocalization_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(CProductInfo_SetRichPresenceLocalization_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CProductInfo_SetRichPresenceLocalization_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CProductInfo_SetRichPresenceLocalization_Response& 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 "CProductInfo_SetRichPresenceLocalization_Response"; + } + protected: + explicit CProductInfo_SetRichPresenceLocalization_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSerializedSOCache_TypeCache final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.TypeCache) */ { + public: + inline CMsgSerializedSOCache_TypeCache() : CMsgSerializedSOCache_TypeCache(nullptr) {} + ~CMsgSerializedSOCache_TypeCache() override; + explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSerializedSOCache_TypeCache(const CMsgSerializedSOCache_TypeCache& from); + CMsgSerializedSOCache_TypeCache(CMsgSerializedSOCache_TypeCache&& from) noexcept + : CMsgSerializedSOCache_TypeCache() { + *this = ::std::move(from); + } + + inline CMsgSerializedSOCache_TypeCache& operator=(const CMsgSerializedSOCache_TypeCache& from) { + CopyFrom(from); + return *this; + } + inline CMsgSerializedSOCache_TypeCache& operator=(CMsgSerializedSOCache_TypeCache&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSerializedSOCache_TypeCache& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSerializedSOCache_TypeCache* internal_default_instance() { + return reinterpret_cast( + &_CMsgSerializedSOCache_TypeCache_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CMsgSerializedSOCache_TypeCache& a, CMsgSerializedSOCache_TypeCache& b) { + a.Swap(&b); + } + inline void Swap(CMsgSerializedSOCache_TypeCache* 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(CMsgSerializedSOCache_TypeCache* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSerializedSOCache_TypeCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSerializedSOCache_TypeCache& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSerializedSOCache_TypeCache& from) { + CMsgSerializedSOCache_TypeCache::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(CMsgSerializedSOCache_TypeCache* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSerializedSOCache.TypeCache"; + } + protected: + explicit CMsgSerializedSOCache_TypeCache(::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 { + kObjectsFieldNumber = 2, + kTypeFieldNumber = 1, + kServiceIdFieldNumber = 3, + }; + // repeated bytes objects = 2; + int objects_size() const; + private: + int _internal_objects_size() const; + public: + void clear_objects(); + const std::string& objects(int index) const; + std::string* mutable_objects(int index); + void set_objects(int index, const std::string& value); + void set_objects(int index, std::string&& value); + void set_objects(int index, const char* value); + void set_objects(int index, const void* value, size_t size); + std::string* add_objects(); + void add_objects(const std::string& value); + void add_objects(std::string&& value); + void add_objects(const char* value); + void add_objects(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& objects() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_objects(); + private: + const std::string& _internal_objects(int index) const; + std::string* _internal_add_objects(); + public: + + // optional uint32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // optional uint32 service_id = 3; + bool has_service_id() const; + private: + bool _internal_has_service_id() const; + public: + void clear_service_id(); + uint32_t service_id() const; + void set_service_id(uint32_t value); + private: + uint32_t _internal_service_id() const; + void _internal_set_service_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.TypeCache) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField objects_; + uint32_t type_; + uint32_t service_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSerializedSOCache_Cache_Version final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.Cache.Version) */ { + public: + inline CMsgSerializedSOCache_Cache_Version() : CMsgSerializedSOCache_Cache_Version(nullptr) {} + ~CMsgSerializedSOCache_Cache_Version() override; + explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_Version(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSerializedSOCache_Cache_Version(const CMsgSerializedSOCache_Cache_Version& from); + CMsgSerializedSOCache_Cache_Version(CMsgSerializedSOCache_Cache_Version&& from) noexcept + : CMsgSerializedSOCache_Cache_Version() { + *this = ::std::move(from); + } + + inline CMsgSerializedSOCache_Cache_Version& operator=(const CMsgSerializedSOCache_Cache_Version& from) { + CopyFrom(from); + return *this; + } + inline CMsgSerializedSOCache_Cache_Version& operator=(CMsgSerializedSOCache_Cache_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSerializedSOCache_Cache_Version& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSerializedSOCache_Cache_Version* internal_default_instance() { + return reinterpret_cast( + &_CMsgSerializedSOCache_Cache_Version_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CMsgSerializedSOCache_Cache_Version& a, CMsgSerializedSOCache_Cache_Version& b) { + a.Swap(&b); + } + inline void Swap(CMsgSerializedSOCache_Cache_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(CMsgSerializedSOCache_Cache_Version* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSerializedSOCache_Cache_Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSerializedSOCache_Cache_Version& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSerializedSOCache_Cache_Version& from) { + CMsgSerializedSOCache_Cache_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(CMsgSerializedSOCache_Cache_Version* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSerializedSOCache.Cache.Version"; + } + protected: + explicit CMsgSerializedSOCache_Cache_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 { + kVersionFieldNumber = 2, + kServiceFieldNumber = 1, + }; + // optional uint64 version = 2; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + uint64_t version() const; + void set_version(uint64_t value); + private: + uint64_t _internal_version() const; + void _internal_set_version(uint64_t value); + public: + + // optional uint32 service = 1; + bool has_service() const; + private: + bool _internal_has_service() const; + public: + void clear_service(); + uint32_t service() const; + void set_service(uint32_t value); + private: + uint32_t _internal_service() const; + void _internal_set_service(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.Cache.Version) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t version_; + uint32_t service_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSerializedSOCache_Cache final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.Cache) */ { + public: + inline CMsgSerializedSOCache_Cache() : CMsgSerializedSOCache_Cache(nullptr) {} + ~CMsgSerializedSOCache_Cache() override; + explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSerializedSOCache_Cache(const CMsgSerializedSOCache_Cache& from); + CMsgSerializedSOCache_Cache(CMsgSerializedSOCache_Cache&& from) noexcept + : CMsgSerializedSOCache_Cache() { + *this = ::std::move(from); + } + + inline CMsgSerializedSOCache_Cache& operator=(const CMsgSerializedSOCache_Cache& from) { + CopyFrom(from); + return *this; + } + inline CMsgSerializedSOCache_Cache& operator=(CMsgSerializedSOCache_Cache&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSerializedSOCache_Cache& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSerializedSOCache_Cache* internal_default_instance() { + return reinterpret_cast( + &_CMsgSerializedSOCache_Cache_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CMsgSerializedSOCache_Cache& a, CMsgSerializedSOCache_Cache& b) { + a.Swap(&b); + } + inline void Swap(CMsgSerializedSOCache_Cache* 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(CMsgSerializedSOCache_Cache* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSerializedSOCache_Cache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSerializedSOCache_Cache& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSerializedSOCache_Cache& from) { + CMsgSerializedSOCache_Cache::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(CMsgSerializedSOCache_Cache* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSerializedSOCache.Cache"; + } + protected: + explicit CMsgSerializedSOCache_Cache(::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 ---------------------------------------------------- + + typedef CMsgSerializedSOCache_Cache_Version Version; + + // accessors ------------------------------------------------------- + + enum : int { + kVersionsFieldNumber = 3, + kTypeCachesFieldNumber = 4, + kIdFieldNumber = 2, + kTypeFieldNumber = 1, + }; + // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; + int versions_size() const; + private: + int _internal_versions_size() const; + public: + void clear_versions(); + ::CMsgSerializedSOCache_Cache_Version* mutable_versions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >* + mutable_versions(); + private: + const ::CMsgSerializedSOCache_Cache_Version& _internal_versions(int index) const; + ::CMsgSerializedSOCache_Cache_Version* _internal_add_versions(); + public: + const ::CMsgSerializedSOCache_Cache_Version& versions(int index) const; + ::CMsgSerializedSOCache_Cache_Version* add_versions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >& + versions() const; + + // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; + int type_caches_size() const; + private: + int _internal_type_caches_size() const; + public: + void clear_type_caches(); + ::CMsgSerializedSOCache_TypeCache* mutable_type_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >* + mutable_type_caches(); + private: + const ::CMsgSerializedSOCache_TypeCache& _internal_type_caches(int index) const; + ::CMsgSerializedSOCache_TypeCache* _internal_add_type_caches(); + public: + const ::CMsgSerializedSOCache_TypeCache& type_caches(int index) const; + ::CMsgSerializedSOCache_TypeCache* add_type_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >& + type_caches() const; + + // optional uint64 id = 2; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint64_t id() const; + void set_id(uint64_t value); + private: + uint64_t _internal_id() const; + void _internal_set_id(uint64_t value); + public: + + // optional uint32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.Cache) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version > versions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache > type_caches_; + uint64_t id_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSerializedSOCache final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache) */ { + public: + inline CMsgSerializedSOCache() : CMsgSerializedSOCache(nullptr) {} + ~CMsgSerializedSOCache() override; + explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSerializedSOCache(const CMsgSerializedSOCache& from); + CMsgSerializedSOCache(CMsgSerializedSOCache&& from) noexcept + : CMsgSerializedSOCache() { + *this = ::std::move(from); + } + + inline CMsgSerializedSOCache& operator=(const CMsgSerializedSOCache& from) { + CopyFrom(from); + return *this; + } + inline CMsgSerializedSOCache& operator=(CMsgSerializedSOCache&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSerializedSOCache& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSerializedSOCache* internal_default_instance() { + return reinterpret_cast( + &_CMsgSerializedSOCache_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CMsgSerializedSOCache& a, CMsgSerializedSOCache& b) { + a.Swap(&b); + } + inline void Swap(CMsgSerializedSOCache* 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(CMsgSerializedSOCache* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSerializedSOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSerializedSOCache& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSerializedSOCache& from) { + CMsgSerializedSOCache::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(CMsgSerializedSOCache* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSerializedSOCache"; + } + protected: + explicit CMsgSerializedSOCache(::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 ---------------------------------------------------- + + typedef CMsgSerializedSOCache_TypeCache TypeCache; + typedef CMsgSerializedSOCache_Cache Cache; + + // accessors ------------------------------------------------------- + + enum : int { + kCachesFieldNumber = 2, + kFileVersionFieldNumber = 1, + kGcSocacheFileVersionFieldNumber = 3, + }; + // repeated .CMsgSerializedSOCache.Cache caches = 2; + int caches_size() const; + private: + int _internal_caches_size() const; + public: + void clear_caches(); + ::CMsgSerializedSOCache_Cache* mutable_caches(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >* + mutable_caches(); + private: + const ::CMsgSerializedSOCache_Cache& _internal_caches(int index) const; + ::CMsgSerializedSOCache_Cache* _internal_add_caches(); + public: + const ::CMsgSerializedSOCache_Cache& caches(int index) const; + ::CMsgSerializedSOCache_Cache* add_caches(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >& + caches() const; + + // optional uint32 file_version = 1; + bool has_file_version() const; + private: + bool _internal_has_file_version() const; + public: + void clear_file_version(); + uint32_t file_version() const; + void set_file_version(uint32_t value); + private: + uint32_t _internal_file_version() const; + void _internal_set_file_version(uint32_t value); + public: + + // optional uint32 gc_socache_file_version = 3; + bool has_gc_socache_file_version() const; + private: + bool _internal_has_gc_socache_file_version() const; + public: + void clear_gc_socache_file_version(); + uint32_t gc_socache_file_version() const; + void set_gc_socache_file_version(uint32_t value); + private: + uint32_t _internal_gc_socache_file_version() const; + void _internal_set_gc_socache_file_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache > caches_; + uint32_t file_version_; + uint32_t gc_socache_file_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSOIDOwner + +// optional uint32 type = 1; +inline bool CMsgSOIDOwner::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOIDOwner::has_type() const { + return _internal_has_type(); +} +inline void CMsgSOIDOwner::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSOIDOwner::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgSOIDOwner::type() const { + // @@protoc_insertion_point(field_get:CMsgSOIDOwner.type) + return _internal_type(); +} +inline void CMsgSOIDOwner::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CMsgSOIDOwner::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgSOIDOwner.type) +} + +// optional uint64 id = 2; +inline bool CMsgSOIDOwner::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSOIDOwner::has_id() const { + return _internal_has_id(); +} +inline void CMsgSOIDOwner::clear_id() { + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSOIDOwner::_internal_id() const { + return _impl_.id_; +} +inline uint64_t CMsgSOIDOwner::id() const { + // @@protoc_insertion_point(field_get:CMsgSOIDOwner.id) + return _internal_id(); +} +inline void CMsgSOIDOwner::_internal_set_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CMsgSOIDOwner::set_id(uint64_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgSOIDOwner.id) +} + +// ------------------------------------------------------------------- + +// CMsgSOSingleObject + +// optional int32 type_id = 2; +inline bool CMsgSOSingleObject::_internal_has_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSOSingleObject::has_type_id() const { + return _internal_has_type_id(); +} +inline void CMsgSOSingleObject::clear_type_id() { + _impl_.type_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSOSingleObject::_internal_type_id() const { + return _impl_.type_id_; +} +inline int32_t CMsgSOSingleObject::type_id() const { + // @@protoc_insertion_point(field_get:CMsgSOSingleObject.type_id) + return _internal_type_id(); +} +inline void CMsgSOSingleObject::_internal_set_type_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.type_id_ = value; +} +inline void CMsgSOSingleObject::set_type_id(int32_t value) { + _internal_set_type_id(value); + // @@protoc_insertion_point(field_set:CMsgSOSingleObject.type_id) +} + +// optional bytes object_data = 3; +inline bool CMsgSOSingleObject::_internal_has_object_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSOSingleObject::has_object_data() const { + return _internal_has_object_data(); +} +inline void CMsgSOSingleObject::clear_object_data() { + _impl_.object_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSOSingleObject::object_data() const { + // @@protoc_insertion_point(field_get:CMsgSOSingleObject.object_data) + return _internal_object_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSOSingleObject::set_object_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.object_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSOSingleObject.object_data) +} +inline std::string* CMsgSOSingleObject::mutable_object_data() { + std::string* _s = _internal_mutable_object_data(); + // @@protoc_insertion_point(field_mutable:CMsgSOSingleObject.object_data) + return _s; +} +inline const std::string& CMsgSOSingleObject::_internal_object_data() const { + return _impl_.object_data_.Get(); +} +inline void CMsgSOSingleObject::_internal_set_object_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.object_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSOSingleObject::_internal_mutable_object_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.object_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSOSingleObject::release_object_data() { + // @@protoc_insertion_point(field_release:CMsgSOSingleObject.object_data) + if (!_internal_has_object_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.object_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.object_data_.IsDefault()) { + _impl_.object_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSOSingleObject::set_allocated_object_data(std::string* object_data) { + if (object_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.object_data_.SetAllocated(object_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.object_data_.IsDefault()) { + _impl_.object_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSOSingleObject.object_data) +} + +// optional fixed64 version = 4; +inline bool CMsgSOSingleObject::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSOSingleObject::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOSingleObject::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSOSingleObject::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOSingleObject::version() const { + // @@protoc_insertion_point(field_get:CMsgSOSingleObject.version) + return _internal_version(); +} +inline void CMsgSOSingleObject::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void CMsgSOSingleObject::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOSingleObject.version) +} + +// optional .CMsgSOIDOwner owner_soid = 5; +inline bool CMsgSOSingleObject::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOSingleObject::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOSingleObject::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSOIDOwner& CMsgSOSingleObject::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOSingleObject::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOSingleObject.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOSingleObject::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOSingleObject.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOSingleObject::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOSingleObject::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOSingleObject.owner_soid) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOSingleObject::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOSingleObject::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOSingleObject.owner_soid) + return _msg; +} +inline void CMsgSOSingleObject::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOSingleObject.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOMultipleObjects_SingleObject + +// optional int32 type_id = 1; +inline bool CMsgSOMultipleObjects_SingleObject::_internal_has_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOMultipleObjects_SingleObject::has_type_id() const { + return _internal_has_type_id(); +} +inline void CMsgSOMultipleObjects_SingleObject::clear_type_id() { + _impl_.type_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgSOMultipleObjects_SingleObject::_internal_type_id() const { + return _impl_.type_id_; +} +inline int32_t CMsgSOMultipleObjects_SingleObject::type_id() const { + // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.SingleObject.type_id) + return _internal_type_id(); +} +inline void CMsgSOMultipleObjects_SingleObject::_internal_set_type_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_id_ = value; +} +inline void CMsgSOMultipleObjects_SingleObject::set_type_id(int32_t value) { + _internal_set_type_id(value); + // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.SingleObject.type_id) +} + +// optional bytes object_data = 2; +inline bool CMsgSOMultipleObjects_SingleObject::_internal_has_object_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSOMultipleObjects_SingleObject::has_object_data() const { + return _internal_has_object_data(); +} +inline void CMsgSOMultipleObjects_SingleObject::clear_object_data() { + _impl_.object_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSOMultipleObjects_SingleObject::object_data() const { + // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.SingleObject.object_data) + return _internal_object_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSOMultipleObjects_SingleObject::set_object_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.object_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.SingleObject.object_data) +} +inline std::string* CMsgSOMultipleObjects_SingleObject::mutable_object_data() { + std::string* _s = _internal_mutable_object_data(); + // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.SingleObject.object_data) + return _s; +} +inline const std::string& CMsgSOMultipleObjects_SingleObject::_internal_object_data() const { + return _impl_.object_data_.Get(); +} +inline void CMsgSOMultipleObjects_SingleObject::_internal_set_object_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.object_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSOMultipleObjects_SingleObject::_internal_mutable_object_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.object_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSOMultipleObjects_SingleObject::release_object_data() { + // @@protoc_insertion_point(field_release:CMsgSOMultipleObjects.SingleObject.object_data) + if (!_internal_has_object_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.object_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.object_data_.IsDefault()) { + _impl_.object_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSOMultipleObjects_SingleObject::set_allocated_object_data(std::string* object_data) { + if (object_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.object_data_.SetAllocated(object_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.object_data_.IsDefault()) { + _impl_.object_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSOMultipleObjects.SingleObject.object_data) +} + +// ------------------------------------------------------------------- + +// CMsgSOMultipleObjects + +// repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; +inline int CMsgSOMultipleObjects::_internal_objects_modified_size() const { + return _impl_.objects_modified_.size(); +} +inline int CMsgSOMultipleObjects::objects_modified_size() const { + return _internal_objects_modified_size(); +} +inline void CMsgSOMultipleObjects::clear_objects_modified() { + _impl_.objects_modified_.Clear(); +} +inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::mutable_objects_modified(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.objects_modified) + return _impl_.objects_modified_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >* +CMsgSOMultipleObjects::mutable_objects_modified() { + // @@protoc_insertion_point(field_mutable_list:CMsgSOMultipleObjects.objects_modified) + return &_impl_.objects_modified_; +} +inline const ::CMsgSOMultipleObjects_SingleObject& CMsgSOMultipleObjects::_internal_objects_modified(int index) const { + return _impl_.objects_modified_.Get(index); +} +inline const ::CMsgSOMultipleObjects_SingleObject& CMsgSOMultipleObjects::objects_modified(int index) const { + // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.objects_modified) + return _internal_objects_modified(index); +} +inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::_internal_add_objects_modified() { + return _impl_.objects_modified_.Add(); +} +inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::add_objects_modified() { + ::CMsgSOMultipleObjects_SingleObject* _add = _internal_add_objects_modified(); + // @@protoc_insertion_point(field_add:CMsgSOMultipleObjects.objects_modified) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >& +CMsgSOMultipleObjects::objects_modified() const { + // @@protoc_insertion_point(field_list:CMsgSOMultipleObjects.objects_modified) + return _impl_.objects_modified_; +} + +// optional fixed64 version = 3; +inline bool CMsgSOMultipleObjects::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOMultipleObjects::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOMultipleObjects::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSOMultipleObjects::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOMultipleObjects::version() const { + // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.version) + return _internal_version(); +} +inline void CMsgSOMultipleObjects::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_ = value; +} +inline void CMsgSOMultipleObjects::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.version) +} + +// optional .CMsgSOIDOwner owner_soid = 6; +inline bool CMsgSOMultipleObjects::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOMultipleObjects::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOMultipleObjects::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOMultipleObjects::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOMultipleObjects::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOMultipleObjects::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOMultipleObjects.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOMultipleObjects::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOMultipleObjects.owner_soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.owner_soid) + return _msg; +} +inline void CMsgSOMultipleObjects::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOMultipleObjects.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheSubscribed_SubscribedType + +// optional int32 type_id = 1; +inline bool CMsgSOCacheSubscribed_SubscribedType::_internal_has_type_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSOCacheSubscribed_SubscribedType::has_type_id() const { + return _internal_has_type_id(); +} +inline void CMsgSOCacheSubscribed_SubscribedType::clear_type_id() { + _impl_.type_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgSOCacheSubscribed_SubscribedType::_internal_type_id() const { + return _impl_.type_id_; +} +inline int32_t CMsgSOCacheSubscribed_SubscribedType::type_id() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.SubscribedType.type_id) + return _internal_type_id(); +} +inline void CMsgSOCacheSubscribed_SubscribedType::_internal_set_type_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_id_ = value; +} +inline void CMsgSOCacheSubscribed_SubscribedType::set_type_id(int32_t value) { + _internal_set_type_id(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.type_id) +} + +// repeated bytes object_data = 2; +inline int CMsgSOCacheSubscribed_SubscribedType::_internal_object_data_size() const { + return _impl_.object_data_.size(); +} +inline int CMsgSOCacheSubscribed_SubscribedType::object_data_size() const { + return _internal_object_data_size(); +} +inline void CMsgSOCacheSubscribed_SubscribedType::clear_object_data() { + _impl_.object_data_.Clear(); +} +inline std::string* CMsgSOCacheSubscribed_SubscribedType::add_object_data() { + std::string* _s = _internal_add_object_data(); + // @@protoc_insertion_point(field_add_mutable:CMsgSOCacheSubscribed.SubscribedType.object_data) + return _s; +} +inline const std::string& CMsgSOCacheSubscribed_SubscribedType::_internal_object_data(int index) const { + return _impl_.object_data_.Get(index); +} +inline const std::string& CMsgSOCacheSubscribed_SubscribedType::object_data(int index) const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.SubscribedType.object_data) + return _internal_object_data(index); +} +inline std::string* CMsgSOCacheSubscribed_SubscribedType::mutable_object_data(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.SubscribedType.object_data) + return _impl_.object_data_.Mutable(index); +} +inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const std::string& value) { + _impl_.object_data_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, std::string&& value) { + _impl_.object_data_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.object_data_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const void* value, size_t size) { + _impl_.object_data_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline std::string* CMsgSOCacheSubscribed_SubscribedType::_internal_add_object_data() { + return _impl_.object_data_.Add(); +} +inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const std::string& value) { + _impl_.object_data_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(std::string&& value) { + _impl_.object_data_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.object_data_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const void* value, size_t size) { + _impl_.object_data_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgSOCacheSubscribed.SubscribedType.object_data) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgSOCacheSubscribed_SubscribedType::object_data() const { + // @@protoc_insertion_point(field_list:CMsgSOCacheSubscribed.SubscribedType.object_data) + return _impl_.object_data_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgSOCacheSubscribed_SubscribedType::mutable_object_data() { + // @@protoc_insertion_point(field_mutable_list:CMsgSOCacheSubscribed.SubscribedType.object_data) + return &_impl_.object_data_; +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheSubscribed + +// repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; +inline int CMsgSOCacheSubscribed::_internal_objects_size() const { + return _impl_.objects_.size(); +} +inline int CMsgSOCacheSubscribed::objects_size() const { + return _internal_objects_size(); +} +inline void CMsgSOCacheSubscribed::clear_objects() { + _impl_.objects_.Clear(); +} +inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::mutable_objects(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.objects) + return _impl_.objects_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >* +CMsgSOCacheSubscribed::mutable_objects() { + // @@protoc_insertion_point(field_mutable_list:CMsgSOCacheSubscribed.objects) + return &_impl_.objects_; +} +inline const ::CMsgSOCacheSubscribed_SubscribedType& CMsgSOCacheSubscribed::_internal_objects(int index) const { + return _impl_.objects_.Get(index); +} +inline const ::CMsgSOCacheSubscribed_SubscribedType& CMsgSOCacheSubscribed::objects(int index) const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.objects) + return _internal_objects(index); +} +inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::_internal_add_objects() { + return _impl_.objects_.Add(); +} +inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::add_objects() { + ::CMsgSOCacheSubscribed_SubscribedType* _add = _internal_add_objects(); + // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.objects) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >& +CMsgSOCacheSubscribed::objects() const { + // @@protoc_insertion_point(field_list:CMsgSOCacheSubscribed.objects) + return _impl_.objects_; +} + +// optional fixed64 version = 3; +inline bool CMsgSOCacheSubscribed::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOCacheSubscribed::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOCacheSubscribed::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSOCacheSubscribed::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOCacheSubscribed::version() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.version) + return _internal_version(); +} +inline void CMsgSOCacheSubscribed::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_ = value; +} +inline void CMsgSOCacheSubscribed::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.version) +} + +// optional .CMsgSOIDOwner owner_soid = 4; +inline bool CMsgSOCacheSubscribed::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOCacheSubscribed::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOCacheSubscribed::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscribed::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscribed::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOCacheSubscribed::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscribed.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOCacheSubscribed::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOCacheSubscribed.owner_soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.owner_soid) + return _msg; +} +inline void CMsgSOCacheSubscribed::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscribed.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheUnsubscribed + +// optional .CMsgSOIDOwner owner_soid = 2; +inline bool CMsgSOCacheUnsubscribed::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOCacheUnsubscribed::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOCacheUnsubscribed::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOCacheUnsubscribed::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOCacheUnsubscribed::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheUnsubscribed.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOCacheUnsubscribed::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheUnsubscribed.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOCacheUnsubscribed.owner_soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOCacheUnsubscribed.owner_soid) + return _msg; +} +inline void CMsgSOCacheUnsubscribed::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheUnsubscribed.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheSubscriptionCheck + +// optional fixed64 version = 2; +inline bool CMsgSOCacheSubscriptionCheck::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOCacheSubscriptionCheck::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOCacheSubscriptionCheck::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSOCacheSubscriptionCheck::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOCacheSubscriptionCheck::version() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionCheck.version) + return _internal_version(); +} +inline void CMsgSOCacheSubscriptionCheck::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_ = value; +} +inline void CMsgSOCacheSubscriptionCheck::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheSubscriptionCheck.version) +} + +// optional .CMsgSOIDOwner owner_soid = 3; +inline bool CMsgSOCacheSubscriptionCheck::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOCacheSubscriptionCheck::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOCacheSubscriptionCheck::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionCheck::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionCheck::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionCheck.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOCacheSubscriptionCheck::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscriptionCheck.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOCacheSubscriptionCheck.owner_soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscriptionCheck.owner_soid) + return _msg; +} +inline void CMsgSOCacheSubscriptionCheck::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscriptionCheck.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheSubscriptionRefresh + +// optional .CMsgSOIDOwner owner_soid = 2; +inline bool CMsgSOCacheSubscriptionRefresh::_internal_has_owner_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); + return value; +} +inline bool CMsgSOCacheSubscriptionRefresh::has_owner_soid() const { + return _internal_has_owner_soid(); +} +inline void CMsgSOCacheSubscriptionRefresh::clear_owner_soid() { + if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionRefresh::_internal_owner_soid() const { + const ::CMsgSOIDOwner* p = _impl_.owner_soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionRefresh::owner_soid() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionRefresh.owner_soid) + return _internal_owner_soid(); +} +inline void CMsgSOCacheSubscriptionRefresh::unsafe_arena_set_allocated_owner_soid( + ::CMsgSOIDOwner* owner_soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); + } + _impl_.owner_soid_ = owner_soid; + if (owner_soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscriptionRefresh.owner_soid) +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::release_owner_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = 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 ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::unsafe_arena_release_owner_soid() { + // @@protoc_insertion_point(field_release:CMsgSOCacheSubscriptionRefresh.owner_soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.owner_soid_; + _impl_.owner_soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::_internal_mutable_owner_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.owner_soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.owner_soid_ = p; + } + return _impl_.owner_soid_; +} +inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::mutable_owner_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscriptionRefresh.owner_soid) + return _msg; +} +inline void CMsgSOCacheSubscriptionRefresh::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.owner_soid_; + } + if (owner_soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); + if (message_arena != submessage_arena) { + owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, owner_soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.owner_soid_ = owner_soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscriptionRefresh.owner_soid) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheVersion + +// optional fixed64 version = 1; +inline bool CMsgSOCacheVersion::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSOCacheVersion::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOCacheVersion::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSOCacheVersion::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOCacheVersion::version() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheVersion.version) + return _internal_version(); +} +inline void CMsgSOCacheVersion::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.version_ = value; +} +inline void CMsgSOCacheVersion::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheVersion.version) +} + +// ------------------------------------------------------------------- + +// CMsgAccountDetails + +// optional bool valid = 1; +inline bool CMsgAccountDetails::_internal_has_valid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_valid() const { + return _internal_has_valid(); +} +inline void CMsgAccountDetails::clear_valid() { + _impl_.valid_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CMsgAccountDetails::_internal_valid() const { + return _impl_.valid_; +} +inline bool CMsgAccountDetails::valid() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.valid) + return _internal_valid(); +} +inline void CMsgAccountDetails::_internal_set_valid(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.valid_ = value; +} +inline void CMsgAccountDetails::set_valid(bool value) { + _internal_set_valid(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.valid) +} + +// optional string account_name = 2; +inline bool CMsgAccountDetails::_internal_has_account_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_account_name() const { + return _internal_has_account_name(); +} +inline void CMsgAccountDetails::clear_account_name() { + _impl_.account_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgAccountDetails::account_name() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.account_name) + return _internal_account_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgAccountDetails::set_account_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.account_name) +} +inline std::string* CMsgAccountDetails::mutable_account_name() { + std::string* _s = _internal_mutable_account_name(); + // @@protoc_insertion_point(field_mutable:CMsgAccountDetails.account_name) + return _s; +} +inline const std::string& CMsgAccountDetails::_internal_account_name() const { + return _impl_.account_name_.Get(); +} +inline void CMsgAccountDetails::_internal_set_account_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.account_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgAccountDetails::_internal_mutable_account_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.account_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgAccountDetails::release_account_name() { + // @@protoc_insertion_point(field_release:CMsgAccountDetails.account_name) + if (!_internal_has_account_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.account_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.account_name_.IsDefault()) { + _impl_.account_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgAccountDetails::set_allocated_account_name(std::string* account_name) { + if (account_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.account_name_.SetAllocated(account_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.account_name_.IsDefault()) { + _impl_.account_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgAccountDetails.account_name) +} + +// optional bool public_profile = 4; +inline bool CMsgAccountDetails::_internal_has_public_profile() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_public_profile() const { + return _internal_has_public_profile(); +} +inline void CMsgAccountDetails::clear_public_profile() { + _impl_.public_profile_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgAccountDetails::_internal_public_profile() const { + return _impl_.public_profile_; +} +inline bool CMsgAccountDetails::public_profile() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.public_profile) + return _internal_public_profile(); +} +inline void CMsgAccountDetails::_internal_set_public_profile(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.public_profile_ = value; +} +inline void CMsgAccountDetails::set_public_profile(bool value) { + _internal_set_public_profile(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.public_profile) +} + +// optional bool public_inventory = 5; +inline bool CMsgAccountDetails::_internal_has_public_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_public_inventory() const { + return _internal_has_public_inventory(); +} +inline void CMsgAccountDetails::clear_public_inventory() { + _impl_.public_inventory_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgAccountDetails::_internal_public_inventory() const { + return _impl_.public_inventory_; +} +inline bool CMsgAccountDetails::public_inventory() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.public_inventory) + return _internal_public_inventory(); +} +inline void CMsgAccountDetails::_internal_set_public_inventory(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.public_inventory_ = value; +} +inline void CMsgAccountDetails::set_public_inventory(bool value) { + _internal_set_public_inventory(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.public_inventory) +} + +// optional bool vac_banned = 6; +inline bool CMsgAccountDetails::_internal_has_vac_banned() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_vac_banned() const { + return _internal_has_vac_banned(); +} +inline void CMsgAccountDetails::clear_vac_banned() { + _impl_.vac_banned_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgAccountDetails::_internal_vac_banned() const { + return _impl_.vac_banned_; +} +inline bool CMsgAccountDetails::vac_banned() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.vac_banned) + return _internal_vac_banned(); +} +inline void CMsgAccountDetails::_internal_set_vac_banned(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.vac_banned_ = value; +} +inline void CMsgAccountDetails::set_vac_banned(bool value) { + _internal_set_vac_banned(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.vac_banned) +} + +// optional bool cyber_cafe = 7; +inline bool CMsgAccountDetails::_internal_has_cyber_cafe() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_cyber_cafe() const { + return _internal_has_cyber_cafe(); +} +inline void CMsgAccountDetails::clear_cyber_cafe() { + _impl_.cyber_cafe_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CMsgAccountDetails::_internal_cyber_cafe() const { + return _impl_.cyber_cafe_; +} +inline bool CMsgAccountDetails::cyber_cafe() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.cyber_cafe) + return _internal_cyber_cafe(); +} +inline void CMsgAccountDetails::_internal_set_cyber_cafe(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.cyber_cafe_ = value; +} +inline void CMsgAccountDetails::set_cyber_cafe(bool value) { + _internal_set_cyber_cafe(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.cyber_cafe) +} + +// optional bool school_account = 8; +inline bool CMsgAccountDetails::_internal_has_school_account() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_school_account() const { + return _internal_has_school_account(); +} +inline void CMsgAccountDetails::clear_school_account() { + _impl_.school_account_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CMsgAccountDetails::_internal_school_account() const { + return _impl_.school_account_; +} +inline bool CMsgAccountDetails::school_account() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.school_account) + return _internal_school_account(); +} +inline void CMsgAccountDetails::_internal_set_school_account(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.school_account_ = value; +} +inline void CMsgAccountDetails::set_school_account(bool value) { + _internal_set_school_account(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.school_account) +} + +// optional bool free_trial_account = 9; +inline bool CMsgAccountDetails::_internal_has_free_trial_account() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_free_trial_account() const { + return _internal_has_free_trial_account(); +} +inline void CMsgAccountDetails::clear_free_trial_account() { + _impl_.free_trial_account_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CMsgAccountDetails::_internal_free_trial_account() const { + return _impl_.free_trial_account_; +} +inline bool CMsgAccountDetails::free_trial_account() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.free_trial_account) + return _internal_free_trial_account(); +} +inline void CMsgAccountDetails::_internal_set_free_trial_account(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.free_trial_account_ = value; +} +inline void CMsgAccountDetails::set_free_trial_account(bool value) { + _internal_set_free_trial_account(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.free_trial_account) +} + +// optional bool subscribed = 10; +inline bool CMsgAccountDetails::_internal_has_subscribed() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_subscribed() const { + return _internal_has_subscribed(); +} +inline void CMsgAccountDetails::clear_subscribed() { + _impl_.subscribed_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CMsgAccountDetails::_internal_subscribed() const { + return _impl_.subscribed_; +} +inline bool CMsgAccountDetails::subscribed() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.subscribed) + return _internal_subscribed(); +} +inline void CMsgAccountDetails::_internal_set_subscribed(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.subscribed_ = value; +} +inline void CMsgAccountDetails::set_subscribed(bool value) { + _internal_set_subscribed(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.subscribed) +} + +// optional bool low_violence = 11; +inline bool CMsgAccountDetails::_internal_has_low_violence() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_low_violence() const { + return _internal_has_low_violence(); +} +inline void CMsgAccountDetails::clear_low_violence() { + _impl_.low_violence_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CMsgAccountDetails::_internal_low_violence() const { + return _impl_.low_violence_; +} +inline bool CMsgAccountDetails::low_violence() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.low_violence) + return _internal_low_violence(); +} +inline void CMsgAccountDetails::_internal_set_low_violence(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.low_violence_ = value; +} +inline void CMsgAccountDetails::set_low_violence(bool value) { + _internal_set_low_violence(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.low_violence) +} + +// optional bool limited = 12; +inline bool CMsgAccountDetails::_internal_has_limited() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_limited() const { + return _internal_has_limited(); +} +inline void CMsgAccountDetails::clear_limited() { + _impl_.limited_ = false; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline bool CMsgAccountDetails::_internal_limited() const { + return _impl_.limited_; +} +inline bool CMsgAccountDetails::limited() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.limited) + return _internal_limited(); +} +inline void CMsgAccountDetails::_internal_set_limited(bool value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.limited_ = value; +} +inline void CMsgAccountDetails::set_limited(bool value) { + _internal_set_limited(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.limited) +} + +// optional bool trusted = 13; +inline bool CMsgAccountDetails::_internal_has_trusted() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_trusted() const { + return _internal_has_trusted(); +} +inline void CMsgAccountDetails::clear_trusted() { + _impl_.trusted_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline bool CMsgAccountDetails::_internal_trusted() const { + return _impl_.trusted_; +} +inline bool CMsgAccountDetails::trusted() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.trusted) + return _internal_trusted(); +} +inline void CMsgAccountDetails::_internal_set_trusted(bool value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.trusted_ = value; +} +inline void CMsgAccountDetails::set_trusted(bool value) { + _internal_set_trusted(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.trusted) +} + +// optional uint32 package = 14; +inline bool CMsgAccountDetails::_internal_has_package() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_package() const { + return _internal_has_package(); +} +inline void CMsgAccountDetails::clear_package() { + _impl_.package_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgAccountDetails::_internal_package() const { + return _impl_.package_; +} +inline uint32_t CMsgAccountDetails::package() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.package) + return _internal_package(); +} +inline void CMsgAccountDetails::_internal_set_package(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.package_ = value; +} +inline void CMsgAccountDetails::set_package(uint32_t value) { + _internal_set_package(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.package) +} + +// optional fixed32 time_cached = 15; +inline bool CMsgAccountDetails::_internal_has_time_cached() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_time_cached() const { + return _internal_has_time_cached(); +} +inline void CMsgAccountDetails::clear_time_cached() { + _impl_.time_cached_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgAccountDetails::_internal_time_cached() const { + return _impl_.time_cached_; +} +inline uint32_t CMsgAccountDetails::time_cached() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.time_cached) + return _internal_time_cached(); +} +inline void CMsgAccountDetails::_internal_set_time_cached(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.time_cached_ = value; +} +inline void CMsgAccountDetails::set_time_cached(uint32_t value) { + _internal_set_time_cached(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.time_cached) +} + +// optional bool account_locked = 16; +inline bool CMsgAccountDetails::_internal_has_account_locked() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_account_locked() const { + return _internal_has_account_locked(); +} +inline void CMsgAccountDetails::clear_account_locked() { + _impl_.account_locked_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline bool CMsgAccountDetails::_internal_account_locked() const { + return _impl_.account_locked_; +} +inline bool CMsgAccountDetails::account_locked() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.account_locked) + return _internal_account_locked(); +} +inline void CMsgAccountDetails::_internal_set_account_locked(bool value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.account_locked_ = value; +} +inline void CMsgAccountDetails::set_account_locked(bool value) { + _internal_set_account_locked(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.account_locked) +} + +// optional bool community_banned = 17; +inline bool CMsgAccountDetails::_internal_has_community_banned() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_community_banned() const { + return _internal_has_community_banned(); +} +inline void CMsgAccountDetails::clear_community_banned() { + _impl_.community_banned_ = false; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline bool CMsgAccountDetails::_internal_community_banned() const { + return _impl_.community_banned_; +} +inline bool CMsgAccountDetails::community_banned() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.community_banned) + return _internal_community_banned(); +} +inline void CMsgAccountDetails::_internal_set_community_banned(bool value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.community_banned_ = value; +} +inline void CMsgAccountDetails::set_community_banned(bool value) { + _internal_set_community_banned(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.community_banned) +} + +// optional bool trade_banned = 18; +inline bool CMsgAccountDetails::_internal_has_trade_banned() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_trade_banned() const { + return _internal_has_trade_banned(); +} +inline void CMsgAccountDetails::clear_trade_banned() { + _impl_.trade_banned_ = false; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline bool CMsgAccountDetails::_internal_trade_banned() const { + return _impl_.trade_banned_; +} +inline bool CMsgAccountDetails::trade_banned() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.trade_banned) + return _internal_trade_banned(); +} +inline void CMsgAccountDetails::_internal_set_trade_banned(bool value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.trade_banned_ = value; +} +inline void CMsgAccountDetails::set_trade_banned(bool value) { + _internal_set_trade_banned(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.trade_banned) +} + +// optional bool eligible_for_community_market = 19; +inline bool CMsgAccountDetails::_internal_has_eligible_for_community_market() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgAccountDetails::has_eligible_for_community_market() const { + return _internal_has_eligible_for_community_market(); +} +inline void CMsgAccountDetails::clear_eligible_for_community_market() { + _impl_.eligible_for_community_market_ = false; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline bool CMsgAccountDetails::_internal_eligible_for_community_market() const { + return _impl_.eligible_for_community_market_; +} +inline bool CMsgAccountDetails::eligible_for_community_market() const { + // @@protoc_insertion_point(field_get:CMsgAccountDetails.eligible_for_community_market) + return _internal_eligible_for_community_market(); +} +inline void CMsgAccountDetails::_internal_set_eligible_for_community_market(bool value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.eligible_for_community_market_ = value; +} +inline void CMsgAccountDetails::set_eligible_for_community_market(bool value) { + _internal_set_eligible_for_community_market(value); + // @@protoc_insertion_point(field_set:CMsgAccountDetails.eligible_for_community_market) +} + +// ------------------------------------------------------------------- + +// CMsgGCMultiplexMessage + +// optional uint32 msgtype = 1; +inline bool CMsgGCMultiplexMessage::_internal_has_msgtype() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCMultiplexMessage::has_msgtype() const { + return _internal_has_msgtype(); +} +inline void CMsgGCMultiplexMessage::clear_msgtype() { + _impl_.msgtype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCMultiplexMessage::_internal_msgtype() const { + return _impl_.msgtype_; +} +inline uint32_t CMsgGCMultiplexMessage::msgtype() const { + // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.msgtype) + return _internal_msgtype(); +} +inline void CMsgGCMultiplexMessage::_internal_set_msgtype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msgtype_ = value; +} +inline void CMsgGCMultiplexMessage::set_msgtype(uint32_t value) { + _internal_set_msgtype(value); + // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.msgtype) +} + +// optional bytes payload = 2; +inline bool CMsgGCMultiplexMessage::_internal_has_payload() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCMultiplexMessage::has_payload() const { + return _internal_has_payload(); +} +inline void CMsgGCMultiplexMessage::clear_payload() { + _impl_.payload_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgGCMultiplexMessage::payload() const { + // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.payload) + return _internal_payload(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgGCMultiplexMessage::set_payload(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.payload_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.payload) +} +inline std::string* CMsgGCMultiplexMessage::mutable_payload() { + std::string* _s = _internal_mutable_payload(); + // @@protoc_insertion_point(field_mutable:CMsgGCMultiplexMessage.payload) + return _s; +} +inline const std::string& CMsgGCMultiplexMessage::_internal_payload() const { + return _impl_.payload_.Get(); +} +inline void CMsgGCMultiplexMessage::_internal_set_payload(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.payload_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgGCMultiplexMessage::_internal_mutable_payload() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.payload_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgGCMultiplexMessage::release_payload() { + // @@protoc_insertion_point(field_release:CMsgGCMultiplexMessage.payload) + if (!_internal_has_payload()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.payload_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.payload_.IsDefault()) { + _impl_.payload_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgGCMultiplexMessage::set_allocated_payload(std::string* payload) { + if (payload != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.payload_.SetAllocated(payload, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.payload_.IsDefault()) { + _impl_.payload_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgGCMultiplexMessage.payload) +} + +// repeated fixed64 steamids = 3; +inline int CMsgGCMultiplexMessage::_internal_steamids_size() const { + return _impl_.steamids_.size(); +} +inline int CMsgGCMultiplexMessage::steamids_size() const { + return _internal_steamids_size(); +} +inline void CMsgGCMultiplexMessage::clear_steamids() { + _impl_.steamids_.Clear(); +} +inline uint64_t CMsgGCMultiplexMessage::_internal_steamids(int index) const { + return _impl_.steamids_.Get(index); +} +inline uint64_t CMsgGCMultiplexMessage::steamids(int index) const { + // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.steamids) + return _internal_steamids(index); +} +inline void CMsgGCMultiplexMessage::set_steamids(int index, uint64_t value) { + _impl_.steamids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.steamids) +} +inline void CMsgGCMultiplexMessage::_internal_add_steamids(uint64_t value) { + _impl_.steamids_.Add(value); +} +inline void CMsgGCMultiplexMessage::add_steamids(uint64_t value) { + _internal_add_steamids(value); + // @@protoc_insertion_point(field_add:CMsgGCMultiplexMessage.steamids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCMultiplexMessage::_internal_steamids() const { + return _impl_.steamids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgGCMultiplexMessage::steamids() const { + // @@protoc_insertion_point(field_list:CMsgGCMultiplexMessage.steamids) + return _internal_steamids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCMultiplexMessage::_internal_mutable_steamids() { + return &_impl_.steamids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgGCMultiplexMessage::mutable_steamids() { + // @@protoc_insertion_point(field_mutable_list:CMsgGCMultiplexMessage.steamids) + return _internal_mutable_steamids(); +} + +// optional bool replytogc = 4; +inline bool CMsgGCMultiplexMessage::_internal_has_replytogc() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCMultiplexMessage::has_replytogc() const { + return _internal_has_replytogc(); +} +inline void CMsgGCMultiplexMessage::clear_replytogc() { + _impl_.replytogc_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCMultiplexMessage::_internal_replytogc() const { + return _impl_.replytogc_; +} +inline bool CMsgGCMultiplexMessage::replytogc() const { + // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.replytogc) + return _internal_replytogc(); +} +inline void CMsgGCMultiplexMessage::_internal_set_replytogc(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.replytogc_ = value; +} +inline void CMsgGCMultiplexMessage::set_replytogc(bool value) { + _internal_set_replytogc(value); + // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.replytogc) +} + +// ------------------------------------------------------------------- + +// CMsgGCMultiplexMessage_Response + +// optional uint32 msgtype = 1; +inline bool CMsgGCMultiplexMessage_Response::_internal_has_msgtype() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCMultiplexMessage_Response::has_msgtype() const { + return _internal_has_msgtype(); +} +inline void CMsgGCMultiplexMessage_Response::clear_msgtype() { + _impl_.msgtype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCMultiplexMessage_Response::_internal_msgtype() const { + return _impl_.msgtype_; +} +inline uint32_t CMsgGCMultiplexMessage_Response::msgtype() const { + // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage_Response.msgtype) + return _internal_msgtype(); +} +inline void CMsgGCMultiplexMessage_Response::_internal_set_msgtype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.msgtype_ = value; +} +inline void CMsgGCMultiplexMessage_Response::set_msgtype(uint32_t value) { + _internal_set_msgtype(value); + // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage_Response.msgtype) +} + +// ------------------------------------------------------------------- + +// CGCToGCMsgMasterAck + +// optional uint32 dir_index = 1; +inline bool CGCToGCMsgMasterAck::_internal_has_dir_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGCToGCMsgMasterAck::has_dir_index() const { + return _internal_has_dir_index(); +} +inline void CGCToGCMsgMasterAck::clear_dir_index() { + _impl_.dir_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CGCToGCMsgMasterAck::_internal_dir_index() const { + return _impl_.dir_index_; +} +inline uint32_t CGCToGCMsgMasterAck::dir_index() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck.dir_index) + return _internal_dir_index(); +} +inline void CGCToGCMsgMasterAck::_internal_set_dir_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dir_index_ = value; +} +inline void CGCToGCMsgMasterAck::set_dir_index(uint32_t value) { + _internal_set_dir_index(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck.dir_index) +} + +// optional uint32 gc_type = 2; +inline bool CGCToGCMsgMasterAck::_internal_has_gc_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGCToGCMsgMasterAck::has_gc_type() const { + return _internal_has_gc_type(); +} +inline void CGCToGCMsgMasterAck::clear_gc_type() { + _impl_.gc_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGCToGCMsgMasterAck::_internal_gc_type() const { + return _impl_.gc_type_; +} +inline uint32_t CGCToGCMsgMasterAck::gc_type() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck.gc_type) + return _internal_gc_type(); +} +inline void CGCToGCMsgMasterAck::_internal_set_gc_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gc_type_ = value; +} +inline void CGCToGCMsgMasterAck::set_gc_type(uint32_t value) { + _internal_set_gc_type(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck.gc_type) +} + +// ------------------------------------------------------------------- + +// CGCToGCMsgMasterAck_Response + +// optional int32 eresult = 1 [default = 2]; +inline bool CGCToGCMsgMasterAck_Response::_internal_has_eresult() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGCToGCMsgMasterAck_Response::has_eresult() const { + return _internal_has_eresult(); +} +inline void CGCToGCMsgMasterAck_Response::clear_eresult() { + _impl_.eresult_ = 2; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CGCToGCMsgMasterAck_Response::_internal_eresult() const { + return _impl_.eresult_; +} +inline int32_t CGCToGCMsgMasterAck_Response::eresult() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck_Response.eresult) + return _internal_eresult(); +} +inline void CGCToGCMsgMasterAck_Response::_internal_set_eresult(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eresult_ = value; +} +inline void CGCToGCMsgMasterAck_Response::set_eresult(int32_t value) { + _internal_set_eresult(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck_Response.eresult) +} + +// ------------------------------------------------------------------- + +// CGCToGCMsgMasterStartupComplete + +// ------------------------------------------------------------------- + +// CGCToGCMsgRouted + +// optional uint32 msg_type = 1; +inline bool CGCToGCMsgRouted::_internal_has_msg_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGCToGCMsgRouted::has_msg_type() const { + return _internal_has_msg_type(); +} +inline void CGCToGCMsgRouted::clear_msg_type() { + _impl_.msg_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CGCToGCMsgRouted::_internal_msg_type() const { + return _impl_.msg_type_; +} +inline uint32_t CGCToGCMsgRouted::msg_type() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.msg_type) + return _internal_msg_type(); +} +inline void CGCToGCMsgRouted::_internal_set_msg_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.msg_type_ = value; +} +inline void CGCToGCMsgRouted::set_msg_type(uint32_t value) { + _internal_set_msg_type(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.msg_type) +} + +// optional fixed64 sender_id = 2; +inline bool CGCToGCMsgRouted::_internal_has_sender_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGCToGCMsgRouted::has_sender_id() const { + return _internal_has_sender_id(); +} +inline void CGCToGCMsgRouted::clear_sender_id() { + _impl_.sender_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CGCToGCMsgRouted::_internal_sender_id() const { + return _impl_.sender_id_; +} +inline uint64_t CGCToGCMsgRouted::sender_id() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.sender_id) + return _internal_sender_id(); +} +inline void CGCToGCMsgRouted::_internal_set_sender_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sender_id_ = value; +} +inline void CGCToGCMsgRouted::set_sender_id(uint64_t value) { + _internal_set_sender_id(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.sender_id) +} + +// optional bytes net_message = 3; +inline bool CGCToGCMsgRouted::_internal_has_net_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGCToGCMsgRouted::has_net_message() const { + return _internal_has_net_message(); +} +inline void CGCToGCMsgRouted::clear_net_message() { + _impl_.net_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGCToGCMsgRouted::net_message() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.net_message) + return _internal_net_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGCToGCMsgRouted::set_net_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.net_message) +} +inline std::string* CGCToGCMsgRouted::mutable_net_message() { + std::string* _s = _internal_mutable_net_message(); + // @@protoc_insertion_point(field_mutable:CGCToGCMsgRouted.net_message) + return _s; +} +inline const std::string& CGCToGCMsgRouted::_internal_net_message() const { + return _impl_.net_message_.Get(); +} +inline void CGCToGCMsgRouted::_internal_set_net_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGCToGCMsgRouted::_internal_mutable_net_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.net_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGCToGCMsgRouted::release_net_message() { + // @@protoc_insertion_point(field_release:CGCToGCMsgRouted.net_message) + if (!_internal_has_net_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.net_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_message_.IsDefault()) { + _impl_.net_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGCToGCMsgRouted::set_allocated_net_message(std::string* net_message) { + if (net_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.net_message_.SetAllocated(net_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_message_.IsDefault()) { + _impl_.net_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGCToGCMsgRouted.net_message) +} + +// optional uint32 ip = 4; +inline bool CGCToGCMsgRouted::_internal_has_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGCToGCMsgRouted::has_ip() const { + return _internal_has_ip(); +} +inline void CGCToGCMsgRouted::clear_ip() { + _impl_.ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CGCToGCMsgRouted::_internal_ip() const { + return _impl_.ip_; +} +inline uint32_t CGCToGCMsgRouted::ip() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.ip) + return _internal_ip(); +} +inline void CGCToGCMsgRouted::_internal_set_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ip_ = value; +} +inline void CGCToGCMsgRouted::set_ip(uint32_t value) { + _internal_set_ip(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.ip) +} + +// ------------------------------------------------------------------- + +// CGCToGCMsgRoutedReply + +// optional uint32 msg_type = 1; +inline bool CGCToGCMsgRoutedReply::_internal_has_msg_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGCToGCMsgRoutedReply::has_msg_type() const { + return _internal_has_msg_type(); +} +inline void CGCToGCMsgRoutedReply::clear_msg_type() { + _impl_.msg_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGCToGCMsgRoutedReply::_internal_msg_type() const { + return _impl_.msg_type_; +} +inline uint32_t CGCToGCMsgRoutedReply::msg_type() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRoutedReply.msg_type) + return _internal_msg_type(); +} +inline void CGCToGCMsgRoutedReply::_internal_set_msg_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msg_type_ = value; +} +inline void CGCToGCMsgRoutedReply::set_msg_type(uint32_t value) { + _internal_set_msg_type(value); + // @@protoc_insertion_point(field_set:CGCToGCMsgRoutedReply.msg_type) +} + +// optional bytes net_message = 2; +inline bool CGCToGCMsgRoutedReply::_internal_has_net_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGCToGCMsgRoutedReply::has_net_message() const { + return _internal_has_net_message(); +} +inline void CGCToGCMsgRoutedReply::clear_net_message() { + _impl_.net_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGCToGCMsgRoutedReply::net_message() const { + // @@protoc_insertion_point(field_get:CGCToGCMsgRoutedReply.net_message) + return _internal_net_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGCToGCMsgRoutedReply::set_net_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGCToGCMsgRoutedReply.net_message) +} +inline std::string* CGCToGCMsgRoutedReply::mutable_net_message() { + std::string* _s = _internal_mutable_net_message(); + // @@protoc_insertion_point(field_mutable:CGCToGCMsgRoutedReply.net_message) + return _s; +} +inline const std::string& CGCToGCMsgRoutedReply::_internal_net_message() const { + return _impl_.net_message_.Get(); +} +inline void CGCToGCMsgRoutedReply::_internal_set_net_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGCToGCMsgRoutedReply::_internal_mutable_net_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.net_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGCToGCMsgRoutedReply::release_net_message() { + // @@protoc_insertion_point(field_release:CGCToGCMsgRoutedReply.net_message) + if (!_internal_has_net_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.net_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_message_.IsDefault()) { + _impl_.net_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGCToGCMsgRoutedReply::set_allocated_net_message(std::string* net_message) { + if (net_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.net_message_.SetAllocated(net_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_message_.IsDefault()) { + _impl_.net_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGCToGCMsgRoutedReply.net_message) +} + +// ------------------------------------------------------------------- + +// CMsgGCUpdateSessionIP + +// optional fixed64 steamid = 1; +inline bool CMsgGCUpdateSessionIP::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCUpdateSessionIP::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCUpdateSessionIP::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCUpdateSessionIP::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCUpdateSessionIP::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCUpdateSessionIP.steamid) + return _internal_steamid(); +} +inline void CMsgGCUpdateSessionIP::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCUpdateSessionIP::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCUpdateSessionIP.steamid) +} + +// optional fixed32 ip = 2; +inline bool CMsgGCUpdateSessionIP::_internal_has_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCUpdateSessionIP::has_ip() const { + return _internal_has_ip(); +} +inline void CMsgGCUpdateSessionIP::clear_ip() { + _impl_.ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCUpdateSessionIP::_internal_ip() const { + return _impl_.ip_; +} +inline uint32_t CMsgGCUpdateSessionIP::ip() const { + // @@protoc_insertion_point(field_get:CMsgGCUpdateSessionIP.ip) + return _internal_ip(); +} +inline void CMsgGCUpdateSessionIP::_internal_set_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ip_ = value; +} +inline void CMsgGCUpdateSessionIP::set_ip(uint32_t value) { + _internal_set_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCUpdateSessionIP.ip) +} + +// ------------------------------------------------------------------- + +// CMsgGCRequestSessionIP + +// optional fixed64 steamid = 1; +inline bool CMsgGCRequestSessionIP::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCRequestSessionIP::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCRequestSessionIP::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCRequestSessionIP::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCRequestSessionIP::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestSessionIP.steamid) + return _internal_steamid(); +} +inline void CMsgGCRequestSessionIP::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCRequestSessionIP::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCRequestSessionIP.steamid) +} + +// ------------------------------------------------------------------- + +// CMsgGCRequestSessionIPResponse + +// optional fixed32 ip = 1; +inline bool CMsgGCRequestSessionIPResponse::_internal_has_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCRequestSessionIPResponse::has_ip() const { + return _internal_has_ip(); +} +inline void CMsgGCRequestSessionIPResponse::clear_ip() { + _impl_.ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgGCRequestSessionIPResponse::_internal_ip() const { + return _impl_.ip_; +} +inline uint32_t CMsgGCRequestSessionIPResponse::ip() const { + // @@protoc_insertion_point(field_get:CMsgGCRequestSessionIPResponse.ip) + return _internal_ip(); +} +inline void CMsgGCRequestSessionIPResponse::_internal_set_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ip_ = value; +} +inline void CMsgGCRequestSessionIPResponse::set_ip(uint32_t value) { + _internal_set_ip(value); + // @@protoc_insertion_point(field_set:CMsgGCRequestSessionIPResponse.ip) +} + +// ------------------------------------------------------------------- + +// CMsgSOCacheHaveVersion + +// optional .CMsgSOIDOwner soid = 1; +inline bool CMsgSOCacheHaveVersion::_internal_has_soid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.soid_ != nullptr); + return value; +} +inline bool CMsgSOCacheHaveVersion::has_soid() const { + return _internal_has_soid(); +} +inline void CMsgSOCacheHaveVersion::clear_soid() { + if (_impl_.soid_ != nullptr) _impl_.soid_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSOIDOwner& CMsgSOCacheHaveVersion::_internal_soid() const { + const ::CMsgSOIDOwner* p = _impl_.soid_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSOIDOwner_default_instance_); +} +inline const ::CMsgSOIDOwner& CMsgSOCacheHaveVersion::soid() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheHaveVersion.soid) + return _internal_soid(); +} +inline void CMsgSOCacheHaveVersion::unsafe_arena_set_allocated_soid( + ::CMsgSOIDOwner* soid) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.soid_); + } + _impl_.soid_ = soid; + if (soid) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheHaveVersion.soid) +} +inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::release_soid() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.soid_; + _impl_.soid_ = 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 ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::unsafe_arena_release_soid() { + // @@protoc_insertion_point(field_release:CMsgSOCacheHaveVersion.soid) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSOIDOwner* temp = _impl_.soid_; + _impl_.soid_ = nullptr; + return temp; +} +inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::_internal_mutable_soid() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.soid_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); + _impl_.soid_ = p; + } + return _impl_.soid_; +} +inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::mutable_soid() { + ::CMsgSOIDOwner* _msg = _internal_mutable_soid(); + // @@protoc_insertion_point(field_mutable:CMsgSOCacheHaveVersion.soid) + return _msg; +} +inline void CMsgSOCacheHaveVersion::set_allocated_soid(::CMsgSOIDOwner* soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.soid_; + } + if (soid) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(soid); + if (message_arena != submessage_arena) { + soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, soid, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.soid_ = soid; + // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheHaveVersion.soid) +} + +// optional fixed64 version = 2; +inline bool CMsgSOCacheHaveVersion::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSOCacheHaveVersion::has_version() const { + return _internal_has_version(); +} +inline void CMsgSOCacheHaveVersion::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSOCacheHaveVersion::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSOCacheHaveVersion::version() const { + // @@protoc_insertion_point(field_get:CMsgSOCacheHaveVersion.version) + return _internal_version(); +} +inline void CMsgSOCacheHaveVersion::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_ = value; +} +inline void CMsgSOCacheHaveVersion::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSOCacheHaveVersion.version) +} + +// ------------------------------------------------------------------- + +// CMsgClientHello + +// optional uint32 version = 1; +inline bool CMsgClientHello::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClientHello::has_version() const { + return _internal_has_version(); +} +inline void CMsgClientHello::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgClientHello::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgClientHello::version() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.version) + return _internal_version(); +} +inline void CMsgClientHello::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.version_ = value; +} +inline void CMsgClientHello::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.version) +} + +// repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; +inline int CMsgClientHello::_internal_socache_have_versions_size() const { + return _impl_.socache_have_versions_.size(); +} +inline int CMsgClientHello::socache_have_versions_size() const { + return _internal_socache_have_versions_size(); +} +inline void CMsgClientHello::clear_socache_have_versions() { + _impl_.socache_have_versions_.Clear(); +} +inline ::CMsgSOCacheHaveVersion* CMsgClientHello::mutable_socache_have_versions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgClientHello.socache_have_versions) + return _impl_.socache_have_versions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* +CMsgClientHello::mutable_socache_have_versions() { + // @@protoc_insertion_point(field_mutable_list:CMsgClientHello.socache_have_versions) + return &_impl_.socache_have_versions_; +} +inline const ::CMsgSOCacheHaveVersion& CMsgClientHello::_internal_socache_have_versions(int index) const { + return _impl_.socache_have_versions_.Get(index); +} +inline const ::CMsgSOCacheHaveVersion& CMsgClientHello::socache_have_versions(int index) const { + // @@protoc_insertion_point(field_get:CMsgClientHello.socache_have_versions) + return _internal_socache_have_versions(index); +} +inline ::CMsgSOCacheHaveVersion* CMsgClientHello::_internal_add_socache_have_versions() { + return _impl_.socache_have_versions_.Add(); +} +inline ::CMsgSOCacheHaveVersion* CMsgClientHello::add_socache_have_versions() { + ::CMsgSOCacheHaveVersion* _add = _internal_add_socache_have_versions(); + // @@protoc_insertion_point(field_add:CMsgClientHello.socache_have_versions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& +CMsgClientHello::socache_have_versions() const { + // @@protoc_insertion_point(field_list:CMsgClientHello.socache_have_versions) + return _impl_.socache_have_versions_; +} + +// optional uint32 client_session_need = 3; +inline bool CMsgClientHello::_internal_has_client_session_need() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgClientHello::has_client_session_need() const { + return _internal_has_client_session_need(); +} +inline void CMsgClientHello::clear_client_session_need() { + _impl_.client_session_need_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgClientHello::_internal_client_session_need() const { + return _impl_.client_session_need_; +} +inline uint32_t CMsgClientHello::client_session_need() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.client_session_need) + return _internal_client_session_need(); +} +inline void CMsgClientHello::_internal_set_client_session_need(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.client_session_need_ = value; +} +inline void CMsgClientHello::set_client_session_need(uint32_t value) { + _internal_set_client_session_need(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.client_session_need) +} + +// optional uint32 client_launcher = 4; +inline bool CMsgClientHello::_internal_has_client_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgClientHello::has_client_launcher() const { + return _internal_has_client_launcher(); +} +inline void CMsgClientHello::clear_client_launcher() { + _impl_.client_launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgClientHello::_internal_client_launcher() const { + return _impl_.client_launcher_; +} +inline uint32_t CMsgClientHello::client_launcher() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.client_launcher) + return _internal_client_launcher(); +} +inline void CMsgClientHello::_internal_set_client_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_launcher_ = value; +} +inline void CMsgClientHello::set_client_launcher(uint32_t value) { + _internal_set_client_launcher(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.client_launcher) +} + +// optional uint32 partner_srcid = 5; +inline bool CMsgClientHello::_internal_has_partner_srcid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgClientHello::has_partner_srcid() const { + return _internal_has_partner_srcid(); +} +inline void CMsgClientHello::clear_partner_srcid() { + _impl_.partner_srcid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgClientHello::_internal_partner_srcid() const { + return _impl_.partner_srcid_; +} +inline uint32_t CMsgClientHello::partner_srcid() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.partner_srcid) + return _internal_partner_srcid(); +} +inline void CMsgClientHello::_internal_set_partner_srcid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.partner_srcid_ = value; +} +inline void CMsgClientHello::set_partner_srcid(uint32_t value) { + _internal_set_partner_srcid(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.partner_srcid) +} + +// optional uint32 partner_accountid = 6; +inline bool CMsgClientHello::_internal_has_partner_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgClientHello::has_partner_accountid() const { + return _internal_has_partner_accountid(); +} +inline void CMsgClientHello::clear_partner_accountid() { + _impl_.partner_accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgClientHello::_internal_partner_accountid() const { + return _impl_.partner_accountid_; +} +inline uint32_t CMsgClientHello::partner_accountid() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountid) + return _internal_partner_accountid(); +} +inline void CMsgClientHello::_internal_set_partner_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.partner_accountid_ = value; +} +inline void CMsgClientHello::set_partner_accountid(uint32_t value) { + _internal_set_partner_accountid(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountid) +} + +// optional uint32 partner_accountflags = 7; +inline bool CMsgClientHello::_internal_has_partner_accountflags() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgClientHello::has_partner_accountflags() const { + return _internal_has_partner_accountflags(); +} +inline void CMsgClientHello::clear_partner_accountflags() { + _impl_.partner_accountflags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgClientHello::_internal_partner_accountflags() const { + return _impl_.partner_accountflags_; +} +inline uint32_t CMsgClientHello::partner_accountflags() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountflags) + return _internal_partner_accountflags(); +} +inline void CMsgClientHello::_internal_set_partner_accountflags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.partner_accountflags_ = value; +} +inline void CMsgClientHello::set_partner_accountflags(uint32_t value) { + _internal_set_partner_accountflags(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountflags) +} + +// optional uint32 partner_accountbalance = 8; +inline bool CMsgClientHello::_internal_has_partner_accountbalance() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgClientHello::has_partner_accountbalance() const { + return _internal_has_partner_accountbalance(); +} +inline void CMsgClientHello::clear_partner_accountbalance() { + _impl_.partner_accountbalance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgClientHello::_internal_partner_accountbalance() const { + return _impl_.partner_accountbalance_; +} +inline uint32_t CMsgClientHello::partner_accountbalance() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountbalance) + return _internal_partner_accountbalance(); +} +inline void CMsgClientHello::_internal_set_partner_accountbalance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.partner_accountbalance_ = value; +} +inline void CMsgClientHello::set_partner_accountbalance(uint32_t value) { + _internal_set_partner_accountbalance(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountbalance) +} + +// optional uint32 steam_launcher = 9; +inline bool CMsgClientHello::_internal_has_steam_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgClientHello::has_steam_launcher() const { + return _internal_has_steam_launcher(); +} +inline void CMsgClientHello::clear_steam_launcher() { + _impl_.steam_launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgClientHello::_internal_steam_launcher() const { + return _impl_.steam_launcher_; +} +inline uint32_t CMsgClientHello::steam_launcher() const { + // @@protoc_insertion_point(field_get:CMsgClientHello.steam_launcher) + return _internal_steam_launcher(); +} +inline void CMsgClientHello::_internal_set_steam_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.steam_launcher_ = value; +} +inline void CMsgClientHello::set_steam_launcher(uint32_t value) { + _internal_set_steam_launcher(value); + // @@protoc_insertion_point(field_set:CMsgClientHello.steam_launcher) +} + +// ------------------------------------------------------------------- + +// CMsgServerHello + +// optional uint32 version = 1; +inline bool CMsgServerHello::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgServerHello::has_version() const { + return _internal_has_version(); +} +inline void CMsgServerHello::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgServerHello::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgServerHello::version() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.version) + return _internal_version(); +} +inline void CMsgServerHello::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void CMsgServerHello::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgServerHello.version) +} + +// repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; +inline int CMsgServerHello::_internal_socache_have_versions_size() const { + return _impl_.socache_have_versions_.size(); +} +inline int CMsgServerHello::socache_have_versions_size() const { + return _internal_socache_have_versions_size(); +} +inline void CMsgServerHello::clear_socache_have_versions() { + _impl_.socache_have_versions_.Clear(); +} +inline ::CMsgSOCacheHaveVersion* CMsgServerHello::mutable_socache_have_versions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgServerHello.socache_have_versions) + return _impl_.socache_have_versions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* +CMsgServerHello::mutable_socache_have_versions() { + // @@protoc_insertion_point(field_mutable_list:CMsgServerHello.socache_have_versions) + return &_impl_.socache_have_versions_; +} +inline const ::CMsgSOCacheHaveVersion& CMsgServerHello::_internal_socache_have_versions(int index) const { + return _impl_.socache_have_versions_.Get(index); +} +inline const ::CMsgSOCacheHaveVersion& CMsgServerHello::socache_have_versions(int index) const { + // @@protoc_insertion_point(field_get:CMsgServerHello.socache_have_versions) + return _internal_socache_have_versions(index); +} +inline ::CMsgSOCacheHaveVersion* CMsgServerHello::_internal_add_socache_have_versions() { + return _impl_.socache_have_versions_.Add(); +} +inline ::CMsgSOCacheHaveVersion* CMsgServerHello::add_socache_have_versions() { + ::CMsgSOCacheHaveVersion* _add = _internal_add_socache_have_versions(); + // @@protoc_insertion_point(field_add:CMsgServerHello.socache_have_versions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& +CMsgServerHello::socache_have_versions() const { + // @@protoc_insertion_point(field_list:CMsgServerHello.socache_have_versions) + return _impl_.socache_have_versions_; +} + +// optional uint32 legacy_client_session_need = 3; +inline bool CMsgServerHello::_internal_has_legacy_client_session_need() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgServerHello::has_legacy_client_session_need() const { + return _internal_has_legacy_client_session_need(); +} +inline void CMsgServerHello::clear_legacy_client_session_need() { + _impl_.legacy_client_session_need_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgServerHello::_internal_legacy_client_session_need() const { + return _impl_.legacy_client_session_need_; +} +inline uint32_t CMsgServerHello::legacy_client_session_need() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.legacy_client_session_need) + return _internal_legacy_client_session_need(); +} +inline void CMsgServerHello::_internal_set_legacy_client_session_need(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.legacy_client_session_need_ = value; +} +inline void CMsgServerHello::set_legacy_client_session_need(uint32_t value) { + _internal_set_legacy_client_session_need(value); + // @@protoc_insertion_point(field_set:CMsgServerHello.legacy_client_session_need) +} + +// optional uint32 client_launcher = 4; +inline bool CMsgServerHello::_internal_has_client_launcher() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgServerHello::has_client_launcher() const { + return _internal_has_client_launcher(); +} +inline void CMsgServerHello::clear_client_launcher() { + _impl_.client_launcher_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgServerHello::_internal_client_launcher() const { + return _impl_.client_launcher_; +} +inline uint32_t CMsgServerHello::client_launcher() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.client_launcher) + return _internal_client_launcher(); +} +inline void CMsgServerHello::_internal_set_client_launcher(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_launcher_ = value; +} +inline void CMsgServerHello::set_client_launcher(uint32_t value) { + _internal_set_client_launcher(value); + // @@protoc_insertion_point(field_set:CMsgServerHello.client_launcher) +} + +// optional bytes legacy_steamdatagram_routing = 6; +inline bool CMsgServerHello::_internal_has_legacy_steamdatagram_routing() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgServerHello::has_legacy_steamdatagram_routing() const { + return _internal_has_legacy_steamdatagram_routing(); +} +inline void CMsgServerHello::clear_legacy_steamdatagram_routing() { + _impl_.legacy_steamdatagram_routing_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgServerHello::legacy_steamdatagram_routing() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.legacy_steamdatagram_routing) + return _internal_legacy_steamdatagram_routing(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgServerHello::set_legacy_steamdatagram_routing(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.legacy_steamdatagram_routing_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgServerHello.legacy_steamdatagram_routing) +} +inline std::string* CMsgServerHello::mutable_legacy_steamdatagram_routing() { + std::string* _s = _internal_mutable_legacy_steamdatagram_routing(); + // @@protoc_insertion_point(field_mutable:CMsgServerHello.legacy_steamdatagram_routing) + return _s; +} +inline const std::string& CMsgServerHello::_internal_legacy_steamdatagram_routing() const { + return _impl_.legacy_steamdatagram_routing_.Get(); +} +inline void CMsgServerHello::_internal_set_legacy_steamdatagram_routing(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.legacy_steamdatagram_routing_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgServerHello::_internal_mutable_legacy_steamdatagram_routing() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.legacy_steamdatagram_routing_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgServerHello::release_legacy_steamdatagram_routing() { + // @@protoc_insertion_point(field_release:CMsgServerHello.legacy_steamdatagram_routing) + if (!_internal_has_legacy_steamdatagram_routing()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.legacy_steamdatagram_routing_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_steamdatagram_routing_.IsDefault()) { + _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgServerHello::set_allocated_legacy_steamdatagram_routing(std::string* legacy_steamdatagram_routing) { + if (legacy_steamdatagram_routing != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.legacy_steamdatagram_routing_.SetAllocated(legacy_steamdatagram_routing, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_steamdatagram_routing_.IsDefault()) { + _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgServerHello.legacy_steamdatagram_routing) +} + +// optional uint32 required_internal_addr = 7; +inline bool CMsgServerHello::_internal_has_required_internal_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgServerHello::has_required_internal_addr() const { + return _internal_has_required_internal_addr(); +} +inline void CMsgServerHello::clear_required_internal_addr() { + _impl_.required_internal_addr_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgServerHello::_internal_required_internal_addr() const { + return _impl_.required_internal_addr_; +} +inline uint32_t CMsgServerHello::required_internal_addr() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.required_internal_addr) + return _internal_required_internal_addr(); +} +inline void CMsgServerHello::_internal_set_required_internal_addr(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.required_internal_addr_ = value; +} +inline void CMsgServerHello::set_required_internal_addr(uint32_t value) { + _internal_set_required_internal_addr(value); + // @@protoc_insertion_point(field_set:CMsgServerHello.required_internal_addr) +} + +// optional bytes steamdatagram_login = 8; +inline bool CMsgServerHello::_internal_has_steamdatagram_login() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerHello::has_steamdatagram_login() const { + return _internal_has_steamdatagram_login(); +} +inline void CMsgServerHello::clear_steamdatagram_login() { + _impl_.steamdatagram_login_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgServerHello::steamdatagram_login() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.steamdatagram_login) + return _internal_steamdatagram_login(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgServerHello::set_steamdatagram_login(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamdatagram_login_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgServerHello.steamdatagram_login) +} +inline std::string* CMsgServerHello::mutable_steamdatagram_login() { + std::string* _s = _internal_mutable_steamdatagram_login(); + // @@protoc_insertion_point(field_mutable:CMsgServerHello.steamdatagram_login) + return _s; +} +inline const std::string& CMsgServerHello::_internal_steamdatagram_login() const { + return _impl_.steamdatagram_login_.Get(); +} +inline void CMsgServerHello::_internal_set_steamdatagram_login(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamdatagram_login_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgServerHello::_internal_mutable_steamdatagram_login() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.steamdatagram_login_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgServerHello::release_steamdatagram_login() { + // @@protoc_insertion_point(field_release:CMsgServerHello.steamdatagram_login) + if (!_internal_has_steamdatagram_login()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.steamdatagram_login_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.steamdatagram_login_.IsDefault()) { + _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgServerHello::set_allocated_steamdatagram_login(std::string* steamdatagram_login) { + if (steamdatagram_login != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.steamdatagram_login_.SetAllocated(steamdatagram_login, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.steamdatagram_login_.IsDefault()) { + _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgServerHello.steamdatagram_login) +} + +// optional uint32 socache_control = 9; +inline bool CMsgServerHello::_internal_has_socache_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgServerHello::has_socache_control() const { + return _internal_has_socache_control(); +} +inline void CMsgServerHello::clear_socache_control() { + _impl_.socache_control_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgServerHello::_internal_socache_control() const { + return _impl_.socache_control_; +} +inline uint32_t CMsgServerHello::socache_control() const { + // @@protoc_insertion_point(field_get:CMsgServerHello.socache_control) + return _internal_socache_control(); +} +inline void CMsgServerHello::_internal_set_socache_control(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.socache_control_ = value; +} +inline void CMsgServerHello::set_socache_control(uint32_t value) { + _internal_set_socache_control(value); + // @@protoc_insertion_point(field_set:CMsgServerHello.socache_control) +} + +// ------------------------------------------------------------------- + +// CMsgClientWelcome_Location + +// optional float latitude = 1; +inline bool CMsgClientWelcome_Location::_internal_has_latitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgClientWelcome_Location::has_latitude() const { + return _internal_has_latitude(); +} +inline void CMsgClientWelcome_Location::clear_latitude() { + _impl_.latitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgClientWelcome_Location::_internal_latitude() const { + return _impl_.latitude_; +} +inline float CMsgClientWelcome_Location::latitude() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.latitude) + return _internal_latitude(); +} +inline void CMsgClientWelcome_Location::_internal_set_latitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.latitude_ = value; +} +inline void CMsgClientWelcome_Location::set_latitude(float value) { + _internal_set_latitude(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.latitude) +} + +// optional float longitude = 2; +inline bool CMsgClientWelcome_Location::_internal_has_longitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgClientWelcome_Location::has_longitude() const { + return _internal_has_longitude(); +} +inline void CMsgClientWelcome_Location::clear_longitude() { + _impl_.longitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgClientWelcome_Location::_internal_longitude() const { + return _impl_.longitude_; +} +inline float CMsgClientWelcome_Location::longitude() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.longitude) + return _internal_longitude(); +} +inline void CMsgClientWelcome_Location::_internal_set_longitude(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.longitude_ = value; +} +inline void CMsgClientWelcome_Location::set_longitude(float value) { + _internal_set_longitude(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.longitude) +} + +// optional string country = 3; +inline bool CMsgClientWelcome_Location::_internal_has_country() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClientWelcome_Location::has_country() const { + return _internal_has_country(); +} +inline void CMsgClientWelcome_Location::clear_country() { + _impl_.country_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgClientWelcome_Location::country() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.country) + return _internal_country(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgClientWelcome_Location::set_country(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.country) +} +inline std::string* CMsgClientWelcome_Location::mutable_country() { + std::string* _s = _internal_mutable_country(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.Location.country) + return _s; +} +inline const std::string& CMsgClientWelcome_Location::_internal_country() const { + return _impl_.country_.Get(); +} +inline void CMsgClientWelcome_Location::_internal_set_country(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.country_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome_Location::_internal_mutable_country() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.country_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome_Location::release_country() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.Location.country) + if (!_internal_has_country()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.country_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgClientWelcome_Location::set_allocated_country(std::string* country) { + if (country != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.country_.SetAllocated(country, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.country_.IsDefault()) { + _impl_.country_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.Location.country) +} + +// ------------------------------------------------------------------- + +// CMsgClientWelcome + +// optional uint32 version = 1; +inline bool CMsgClientWelcome::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_version() const { + return _internal_has_version(); +} +inline void CMsgClientWelcome::clear_version() { + _impl_.version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgClientWelcome::_internal_version() const { + return _impl_.version_; +} +inline uint32_t CMsgClientWelcome::version() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.version) + return _internal_version(); +} +inline void CMsgClientWelcome::_internal_set_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.version_ = value; +} +inline void CMsgClientWelcome::set_version(uint32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.version) +} + +// optional bytes game_data = 2; +inline bool CMsgClientWelcome::_internal_has_game_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_game_data() const { + return _internal_has_game_data(); +} +inline void CMsgClientWelcome::clear_game_data() { + _impl_.game_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgClientWelcome::game_data() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.game_data) + return _internal_game_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgClientWelcome::set_game_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.game_data) +} +inline std::string* CMsgClientWelcome::mutable_game_data() { + std::string* _s = _internal_mutable_game_data(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.game_data) + return _s; +} +inline const std::string& CMsgClientWelcome::_internal_game_data() const { + return _impl_.game_data_.Get(); +} +inline void CMsgClientWelcome::_internal_set_game_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::_internal_mutable_game_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::release_game_data() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.game_data) + if (!_internal_has_game_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data_.IsDefault()) { + _impl_.game_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgClientWelcome::set_allocated_game_data(std::string* game_data) { + if (game_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_data_.SetAllocated(game_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data_.IsDefault()) { + _impl_.game_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.game_data) +} + +// repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; +inline int CMsgClientWelcome::_internal_outofdate_subscribed_caches_size() const { + return _impl_.outofdate_subscribed_caches_.size(); +} +inline int CMsgClientWelcome::outofdate_subscribed_caches_size() const { + return _internal_outofdate_subscribed_caches_size(); +} +inline void CMsgClientWelcome::clear_outofdate_subscribed_caches() { + _impl_.outofdate_subscribed_caches_.Clear(); +} +inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::mutable_outofdate_subscribed_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.outofdate_subscribed_caches) + return _impl_.outofdate_subscribed_caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* +CMsgClientWelcome::mutable_outofdate_subscribed_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgClientWelcome.outofdate_subscribed_caches) + return &_impl_.outofdate_subscribed_caches_; +} +inline const ::CMsgSOCacheSubscribed& CMsgClientWelcome::_internal_outofdate_subscribed_caches(int index) const { + return _impl_.outofdate_subscribed_caches_.Get(index); +} +inline const ::CMsgSOCacheSubscribed& CMsgClientWelcome::outofdate_subscribed_caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.outofdate_subscribed_caches) + return _internal_outofdate_subscribed_caches(index); +} +inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::_internal_add_outofdate_subscribed_caches() { + return _impl_.outofdate_subscribed_caches_.Add(); +} +inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::add_outofdate_subscribed_caches() { + ::CMsgSOCacheSubscribed* _add = _internal_add_outofdate_subscribed_caches(); + // @@protoc_insertion_point(field_add:CMsgClientWelcome.outofdate_subscribed_caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& +CMsgClientWelcome::outofdate_subscribed_caches() const { + // @@protoc_insertion_point(field_list:CMsgClientWelcome.outofdate_subscribed_caches) + return _impl_.outofdate_subscribed_caches_; +} + +// repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; +inline int CMsgClientWelcome::_internal_uptodate_subscribed_caches_size() const { + return _impl_.uptodate_subscribed_caches_.size(); +} +inline int CMsgClientWelcome::uptodate_subscribed_caches_size() const { + return _internal_uptodate_subscribed_caches_size(); +} +inline void CMsgClientWelcome::clear_uptodate_subscribed_caches() { + _impl_.uptodate_subscribed_caches_.Clear(); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::mutable_uptodate_subscribed_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.uptodate_subscribed_caches) + return _impl_.uptodate_subscribed_caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* +CMsgClientWelcome::mutable_uptodate_subscribed_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgClientWelcome.uptodate_subscribed_caches) + return &_impl_.uptodate_subscribed_caches_; +} +inline const ::CMsgSOCacheSubscriptionCheck& CMsgClientWelcome::_internal_uptodate_subscribed_caches(int index) const { + return _impl_.uptodate_subscribed_caches_.Get(index); +} +inline const ::CMsgSOCacheSubscriptionCheck& CMsgClientWelcome::uptodate_subscribed_caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.uptodate_subscribed_caches) + return _internal_uptodate_subscribed_caches(index); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::_internal_add_uptodate_subscribed_caches() { + return _impl_.uptodate_subscribed_caches_.Add(); +} +inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::add_uptodate_subscribed_caches() { + ::CMsgSOCacheSubscriptionCheck* _add = _internal_add_uptodate_subscribed_caches(); + // @@protoc_insertion_point(field_add:CMsgClientWelcome.uptodate_subscribed_caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& +CMsgClientWelcome::uptodate_subscribed_caches() const { + // @@protoc_insertion_point(field_list:CMsgClientWelcome.uptodate_subscribed_caches) + return _impl_.uptodate_subscribed_caches_; +} + +// optional .CMsgClientWelcome.Location location = 5; +inline bool CMsgClientWelcome::_internal_has_location() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); + return value; +} +inline bool CMsgClientWelcome::has_location() const { + return _internal_has_location(); +} +inline void CMsgClientWelcome::clear_location() { + if (_impl_.location_ != nullptr) _impl_.location_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CMsgClientWelcome_Location& CMsgClientWelcome::_internal_location() const { + const ::CMsgClientWelcome_Location* p = _impl_.location_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgClientWelcome_Location_default_instance_); +} +inline const ::CMsgClientWelcome_Location& CMsgClientWelcome::location() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.location) + return _internal_location(); +} +inline void CMsgClientWelcome::unsafe_arena_set_allocated_location( + ::CMsgClientWelcome_Location* location) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_); + } + _impl_.location_ = location; + if (location) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgClientWelcome.location) +} +inline ::CMsgClientWelcome_Location* CMsgClientWelcome::release_location() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgClientWelcome_Location* temp = _impl_.location_; + _impl_.location_ = 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 ::CMsgClientWelcome_Location* CMsgClientWelcome::unsafe_arena_release_location() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.location) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgClientWelcome_Location* temp = _impl_.location_; + _impl_.location_ = nullptr; + return temp; +} +inline ::CMsgClientWelcome_Location* CMsgClientWelcome::_internal_mutable_location() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.location_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgClientWelcome_Location>(GetArenaForAllocation()); + _impl_.location_ = p; + } + return _impl_.location_; +} +inline ::CMsgClientWelcome_Location* CMsgClientWelcome::mutable_location() { + ::CMsgClientWelcome_Location* _msg = _internal_mutable_location(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.location) + return _msg; +} +inline void CMsgClientWelcome::set_allocated_location(::CMsgClientWelcome_Location* location) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.location_; + } + if (location) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location); + if (message_arena != submessage_arena) { + location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, location, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.location_ = location; + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.location) +} + +// optional bytes game_data2 = 6; +inline bool CMsgClientWelcome::_internal_has_game_data2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_game_data2() const { + return _internal_has_game_data2(); +} +inline void CMsgClientWelcome::clear_game_data2() { + _impl_.game_data2_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgClientWelcome::game_data2() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.game_data2) + return _internal_game_data2(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgClientWelcome::set_game_data2(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_data2_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.game_data2) +} +inline std::string* CMsgClientWelcome::mutable_game_data2() { + std::string* _s = _internal_mutable_game_data2(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.game_data2) + return _s; +} +inline const std::string& CMsgClientWelcome::_internal_game_data2() const { + return _impl_.game_data2_.Get(); +} +inline void CMsgClientWelcome::_internal_set_game_data2(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.game_data2_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::_internal_mutable_game_data2() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.game_data2_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::release_game_data2() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.game_data2) + if (!_internal_has_game_data2()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.game_data2_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data2_.IsDefault()) { + _impl_.game_data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgClientWelcome::set_allocated_game_data2(std::string* game_data2) { + if (game_data2 != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.game_data2_.SetAllocated(game_data2, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_data2_.IsDefault()) { + _impl_.game_data2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.game_data2) +} + +// optional uint32 rtime32_gc_welcome_timestamp = 7; +inline bool CMsgClientWelcome::_internal_has_rtime32_gc_welcome_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_rtime32_gc_welcome_timestamp() const { + return _internal_has_rtime32_gc_welcome_timestamp(); +} +inline void CMsgClientWelcome::clear_rtime32_gc_welcome_timestamp() { + _impl_.rtime32_gc_welcome_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgClientWelcome::_internal_rtime32_gc_welcome_timestamp() const { + return _impl_.rtime32_gc_welcome_timestamp_; +} +inline uint32_t CMsgClientWelcome::rtime32_gc_welcome_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.rtime32_gc_welcome_timestamp) + return _internal_rtime32_gc_welcome_timestamp(); +} +inline void CMsgClientWelcome::_internal_set_rtime32_gc_welcome_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.rtime32_gc_welcome_timestamp_ = value; +} +inline void CMsgClientWelcome::set_rtime32_gc_welcome_timestamp(uint32_t value) { + _internal_set_rtime32_gc_welcome_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.rtime32_gc_welcome_timestamp) +} + +// optional uint32 currency = 8; +inline bool CMsgClientWelcome::_internal_has_currency() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_currency() const { + return _internal_has_currency(); +} +inline void CMsgClientWelcome::clear_currency() { + _impl_.currency_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgClientWelcome::_internal_currency() const { + return _impl_.currency_; +} +inline uint32_t CMsgClientWelcome::currency() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.currency) + return _internal_currency(); +} +inline void CMsgClientWelcome::_internal_set_currency(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.currency_ = value; +} +inline void CMsgClientWelcome::set_currency(uint32_t value) { + _internal_set_currency(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.currency) +} + +// optional uint32 balance = 9; +inline bool CMsgClientWelcome::_internal_has_balance() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_balance() const { + return _internal_has_balance(); +} +inline void CMsgClientWelcome::clear_balance() { + _impl_.balance_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgClientWelcome::_internal_balance() const { + return _impl_.balance_; +} +inline uint32_t CMsgClientWelcome::balance() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.balance) + return _internal_balance(); +} +inline void CMsgClientWelcome::_internal_set_balance(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.balance_ = value; +} +inline void CMsgClientWelcome::set_balance(uint32_t value) { + _internal_set_balance(value); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.balance) +} + +// optional string balance_url = 10; +inline bool CMsgClientWelcome::_internal_has_balance_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_balance_url() const { + return _internal_has_balance_url(); +} +inline void CMsgClientWelcome::clear_balance_url() { + _impl_.balance_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgClientWelcome::balance_url() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.balance_url) + return _internal_balance_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgClientWelcome::set_balance_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.balance_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.balance_url) +} +inline std::string* CMsgClientWelcome::mutable_balance_url() { + std::string* _s = _internal_mutable_balance_url(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.balance_url) + return _s; +} +inline const std::string& CMsgClientWelcome::_internal_balance_url() const { + return _impl_.balance_url_.Get(); +} +inline void CMsgClientWelcome::_internal_set_balance_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.balance_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::_internal_mutable_balance_url() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.balance_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::release_balance_url() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.balance_url) + if (!_internal_has_balance_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.balance_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.balance_url_.IsDefault()) { + _impl_.balance_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgClientWelcome::set_allocated_balance_url(std::string* balance_url) { + if (balance_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.balance_url_.SetAllocated(balance_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.balance_url_.IsDefault()) { + _impl_.balance_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.balance_url) +} + +// optional string txn_country_code = 11; +inline bool CMsgClientWelcome::_internal_has_txn_country_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgClientWelcome::has_txn_country_code() const { + return _internal_has_txn_country_code(); +} +inline void CMsgClientWelcome::clear_txn_country_code() { + _impl_.txn_country_code_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgClientWelcome::txn_country_code() const { + // @@protoc_insertion_point(field_get:CMsgClientWelcome.txn_country_code) + return _internal_txn_country_code(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgClientWelcome::set_txn_country_code(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.txn_country_code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgClientWelcome.txn_country_code) +} +inline std::string* CMsgClientWelcome::mutable_txn_country_code() { + std::string* _s = _internal_mutable_txn_country_code(); + // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.txn_country_code) + return _s; +} +inline const std::string& CMsgClientWelcome::_internal_txn_country_code() const { + return _impl_.txn_country_code_.Get(); +} +inline void CMsgClientWelcome::_internal_set_txn_country_code(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.txn_country_code_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::_internal_mutable_txn_country_code() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.txn_country_code_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgClientWelcome::release_txn_country_code() { + // @@protoc_insertion_point(field_release:CMsgClientWelcome.txn_country_code) + if (!_internal_has_txn_country_code()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.txn_country_code_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.txn_country_code_.IsDefault()) { + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgClientWelcome::set_allocated_txn_country_code(std::string* txn_country_code) { + if (txn_country_code != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.txn_country_code_.SetAllocated(txn_country_code, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.txn_country_code_.IsDefault()) { + _impl_.txn_country_code_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.txn_country_code) +} + +// ------------------------------------------------------------------- + +// CMsgConnectionStatus + +// optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; +inline bool CMsgConnectionStatus::_internal_has_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_status() const { + return _internal_has_status(); +} +inline void CMsgConnectionStatus::clear_status() { + _impl_.status_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline ::GCConnectionStatus CMsgConnectionStatus::_internal_status() const { + return static_cast< ::GCConnectionStatus >(_impl_.status_); +} +inline ::GCConnectionStatus CMsgConnectionStatus::status() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.status) + return _internal_status(); +} +inline void CMsgConnectionStatus::_internal_set_status(::GCConnectionStatus value) { + assert(::GCConnectionStatus_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.status_ = value; +} +inline void CMsgConnectionStatus::set_status(::GCConnectionStatus value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.status) +} + +// optional uint32 client_session_need = 2; +inline bool CMsgConnectionStatus::_internal_has_client_session_need() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_client_session_need() const { + return _internal_has_client_session_need(); +} +inline void CMsgConnectionStatus::clear_client_session_need() { + _impl_.client_session_need_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgConnectionStatus::_internal_client_session_need() const { + return _impl_.client_session_need_; +} +inline uint32_t CMsgConnectionStatus::client_session_need() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.client_session_need) + return _internal_client_session_need(); +} +inline void CMsgConnectionStatus::_internal_set_client_session_need(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.client_session_need_ = value; +} +inline void CMsgConnectionStatus::set_client_session_need(uint32_t value) { + _internal_set_client_session_need(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.client_session_need) +} + +// optional int32 queue_position = 3; +inline bool CMsgConnectionStatus::_internal_has_queue_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_queue_position() const { + return _internal_has_queue_position(); +} +inline void CMsgConnectionStatus::clear_queue_position() { + _impl_.queue_position_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgConnectionStatus::_internal_queue_position() const { + return _impl_.queue_position_; +} +inline int32_t CMsgConnectionStatus::queue_position() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.queue_position) + return _internal_queue_position(); +} +inline void CMsgConnectionStatus::_internal_set_queue_position(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.queue_position_ = value; +} +inline void CMsgConnectionStatus::set_queue_position(int32_t value) { + _internal_set_queue_position(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.queue_position) +} + +// optional int32 queue_size = 4; +inline bool CMsgConnectionStatus::_internal_has_queue_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_queue_size() const { + return _internal_has_queue_size(); +} +inline void CMsgConnectionStatus::clear_queue_size() { + _impl_.queue_size_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgConnectionStatus::_internal_queue_size() const { + return _impl_.queue_size_; +} +inline int32_t CMsgConnectionStatus::queue_size() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.queue_size) + return _internal_queue_size(); +} +inline void CMsgConnectionStatus::_internal_set_queue_size(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.queue_size_ = value; +} +inline void CMsgConnectionStatus::set_queue_size(int32_t value) { + _internal_set_queue_size(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.queue_size) +} + +// optional int32 wait_seconds = 5; +inline bool CMsgConnectionStatus::_internal_has_wait_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_wait_seconds() const { + return _internal_has_wait_seconds(); +} +inline void CMsgConnectionStatus::clear_wait_seconds() { + _impl_.wait_seconds_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgConnectionStatus::_internal_wait_seconds() const { + return _impl_.wait_seconds_; +} +inline int32_t CMsgConnectionStatus::wait_seconds() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.wait_seconds) + return _internal_wait_seconds(); +} +inline void CMsgConnectionStatus::_internal_set_wait_seconds(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.wait_seconds_ = value; +} +inline void CMsgConnectionStatus::set_wait_seconds(int32_t value) { + _internal_set_wait_seconds(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.wait_seconds) +} + +// optional int32 estimated_wait_seconds_remaining = 6; +inline bool CMsgConnectionStatus::_internal_has_estimated_wait_seconds_remaining() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgConnectionStatus::has_estimated_wait_seconds_remaining() const { + return _internal_has_estimated_wait_seconds_remaining(); +} +inline void CMsgConnectionStatus::clear_estimated_wait_seconds_remaining() { + _impl_.estimated_wait_seconds_remaining_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgConnectionStatus::_internal_estimated_wait_seconds_remaining() const { + return _impl_.estimated_wait_seconds_remaining_; +} +inline int32_t CMsgConnectionStatus::estimated_wait_seconds_remaining() const { + // @@protoc_insertion_point(field_get:CMsgConnectionStatus.estimated_wait_seconds_remaining) + return _internal_estimated_wait_seconds_remaining(); +} +inline void CMsgConnectionStatus::_internal_set_estimated_wait_seconds_remaining(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.estimated_wait_seconds_remaining_ = value; +} +inline void CMsgConnectionStatus::set_estimated_wait_seconds_remaining(int32_t value) { + _internal_set_estimated_wait_seconds_remaining(value); + // @@protoc_insertion_point(field_set:CMsgConnectionStatus.estimated_wait_seconds_remaining) +} + +// ------------------------------------------------------------------- + +// CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription + +// optional uint32 gameitemid = 1; +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_gameitemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_gameitemid() const { + return _internal_has_gameitemid(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_gameitemid() { + _impl_.gameitemid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_gameitemid() const { + return _impl_.gameitemid_; +} +inline uint32_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::gameitemid() const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.gameitemid) + return _internal_gameitemid(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_gameitemid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gameitemid_ = value; +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_gameitemid(uint32_t value) { + _internal_set_gameitemid(value); + // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.gameitemid) +} + +// optional string item_description = 2; +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_item_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_item_description() const { + return _internal_has_item_description(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_item_description() { + _impl_.item_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::item_description() const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) + return _internal_item_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_item_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::mutable_item_description() { + std::string* _s = _internal_mutable_item_description(); + // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) + return _s; +} +inline const std::string& CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_item_description() const { + return _impl_.item_description_.Get(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_item_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.item_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_mutable_item_description() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.item_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::release_item_description() { + // @@protoc_insertion_point(field_release:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) + if (!_internal_has_item_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.item_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_description_.IsDefault()) { + _impl_.item_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_allocated_item_description(std::string* item_description) { + if (item_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.item_description_.SetAllocated(item_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_description_.IsDefault()) { + _impl_.item_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) +} + +// optional bool one_per_account = 3; +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_one_per_account() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_one_per_account() const { + return _internal_has_one_per_account(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_one_per_account() { + _impl_.one_per_account_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_one_per_account() const { + return _impl_.one_per_account_; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::one_per_account() const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.one_per_account) + return _internal_one_per_account(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_one_per_account(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.one_per_account_ = value; +} +inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_one_per_account(bool value) { + _internal_set_one_per_account(value); + // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.one_per_account) +} + +// ------------------------------------------------------------------- + +// CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock + +// optional string language = 1; +inline bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_has_language() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::has_language() const { + return _internal_has_language(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::clear_language() { + _impl_.language_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::language() const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) + return _internal_language(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::set_language(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.language_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_language() { + std::string* _s = _internal_mutable_language(); + // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) + return _s; +} +inline const std::string& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_language() const { + return _impl_.language_.Get(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_set_language(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.language_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_mutable_language() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.language_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::release_language() { + // @@protoc_insertion_point(field_release:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) + if (!_internal_has_language()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.language_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.language_.IsDefault()) { + _impl_.language_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::set_allocated_language(std::string* language) { + if (language != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.language_.SetAllocated(language, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.language_.IsDefault()) { + _impl_.language_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) +} + +// repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; +inline int CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_descriptions_size() const { + return _impl_.descriptions_.size(); +} +inline int CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions_size() const { + return _internal_descriptions_size(); +} +inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::clear_descriptions() { + _impl_.descriptions_.Clear(); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_descriptions(int index) { + // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) + return _impl_.descriptions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >* +CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_descriptions() { + // @@protoc_insertion_point(field_mutable_list:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) + return &_impl_.descriptions_; +} +inline const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_descriptions(int index) const { + return _impl_.descriptions_.Get(index); +} +inline const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions(int index) const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) + return _internal_descriptions(index); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_add_descriptions() { + return _impl_.descriptions_.Add(); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::add_descriptions() { + ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* _add = _internal_add_descriptions(); + // @@protoc_insertion_point(field_add:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >& +CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions() const { + // @@protoc_insertion_point(field_list:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) + return _impl_.descriptions_; +} + +// ------------------------------------------------------------------- + +// CWorkshop_PopulateItemDescriptions_Request + +// optional uint32 appid = 1; +inline bool CWorkshop_PopulateItemDescriptions_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_PopulateItemDescriptions_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CWorkshop_PopulateItemDescriptions_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CWorkshop_PopulateItemDescriptions_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CWorkshop_PopulateItemDescriptions_Request::appid() const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.appid) + return _internal_appid(); +} +inline void CWorkshop_PopulateItemDescriptions_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CWorkshop_PopulateItemDescriptions_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.appid) +} + +// repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; +inline int CWorkshop_PopulateItemDescriptions_Request::_internal_languages_size() const { + return _impl_.languages_.size(); +} +inline int CWorkshop_PopulateItemDescriptions_Request::languages_size() const { + return _internal_languages_size(); +} +inline void CWorkshop_PopulateItemDescriptions_Request::clear_languages() { + _impl_.languages_.Clear(); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::mutable_languages(int index) { + // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.languages) + return _impl_.languages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >* +CWorkshop_PopulateItemDescriptions_Request::mutable_languages() { + // @@protoc_insertion_point(field_mutable_list:CWorkshop_PopulateItemDescriptions_Request.languages) + return &_impl_.languages_; +} +inline const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& CWorkshop_PopulateItemDescriptions_Request::_internal_languages(int index) const { + return _impl_.languages_.Get(index); +} +inline const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& CWorkshop_PopulateItemDescriptions_Request::languages(int index) const { + // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.languages) + return _internal_languages(index); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::_internal_add_languages() { + return _impl_.languages_.Add(); +} +inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::add_languages() { + ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* _add = _internal_add_languages(); + // @@protoc_insertion_point(field_add:CWorkshop_PopulateItemDescriptions_Request.languages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >& +CWorkshop_PopulateItemDescriptions_Request::languages() const { + // @@protoc_insertion_point(field_list:CWorkshop_PopulateItemDescriptions_Request.languages) + return _impl_.languages_; +} + +// ------------------------------------------------------------------- + +// CWorkshop_GetContributors_Request + +// optional uint32 appid = 1; +inline bool CWorkshop_GetContributors_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_GetContributors_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CWorkshop_GetContributors_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CWorkshop_GetContributors_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CWorkshop_GetContributors_Request::appid() const { + // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Request.appid) + return _internal_appid(); +} +inline void CWorkshop_GetContributors_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CWorkshop_GetContributors_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Request.appid) +} + +// optional uint32 gameitemid = 2; +inline bool CWorkshop_GetContributors_Request::_internal_has_gameitemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_GetContributors_Request::has_gameitemid() const { + return _internal_has_gameitemid(); +} +inline void CWorkshop_GetContributors_Request::clear_gameitemid() { + _impl_.gameitemid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CWorkshop_GetContributors_Request::_internal_gameitemid() const { + return _impl_.gameitemid_; +} +inline uint32_t CWorkshop_GetContributors_Request::gameitemid() const { + // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Request.gameitemid) + return _internal_gameitemid(); +} +inline void CWorkshop_GetContributors_Request::_internal_set_gameitemid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gameitemid_ = value; +} +inline void CWorkshop_GetContributors_Request::set_gameitemid(uint32_t value) { + _internal_set_gameitemid(value); + // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Request.gameitemid) +} + +// ------------------------------------------------------------------- + +// CWorkshop_GetContributors_Response + +// repeated fixed64 contributors = 1; +inline int CWorkshop_GetContributors_Response::_internal_contributors_size() const { + return _impl_.contributors_.size(); +} +inline int CWorkshop_GetContributors_Response::contributors_size() const { + return _internal_contributors_size(); +} +inline void CWorkshop_GetContributors_Response::clear_contributors() { + _impl_.contributors_.Clear(); +} +inline uint64_t CWorkshop_GetContributors_Response::_internal_contributors(int index) const { + return _impl_.contributors_.Get(index); +} +inline uint64_t CWorkshop_GetContributors_Response::contributors(int index) const { + // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Response.contributors) + return _internal_contributors(index); +} +inline void CWorkshop_GetContributors_Response::set_contributors(int index, uint64_t value) { + _impl_.contributors_.Set(index, value); + // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Response.contributors) +} +inline void CWorkshop_GetContributors_Response::_internal_add_contributors(uint64_t value) { + _impl_.contributors_.Add(value); +} +inline void CWorkshop_GetContributors_Response::add_contributors(uint64_t value) { + _internal_add_contributors(value); + // @@protoc_insertion_point(field_add:CWorkshop_GetContributors_Response.contributors) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CWorkshop_GetContributors_Response::_internal_contributors() const { + return _impl_.contributors_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CWorkshop_GetContributors_Response::contributors() const { + // @@protoc_insertion_point(field_list:CWorkshop_GetContributors_Response.contributors) + return _internal_contributors(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CWorkshop_GetContributors_Response::_internal_mutable_contributors() { + return &_impl_.contributors_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CWorkshop_GetContributors_Response::mutable_contributors() { + // @@protoc_insertion_point(field_mutable_list:CWorkshop_GetContributors_Response.contributors) + return _internal_mutable_contributors(); +} + +// ------------------------------------------------------------------- + +// CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule + +// optional uint64 workshop_file_id = 1; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_workshop_file_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_workshop_file_id() const { + return _internal_has_workshop_file_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_workshop_file_id() { + _impl_.workshop_file_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_workshop_file_id() const { + return _impl_.workshop_file_id_; +} +inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::workshop_file_id() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.workshop_file_id) + return _internal_workshop_file_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_workshop_file_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.workshop_file_id_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_workshop_file_id(uint64_t value) { + _internal_set_workshop_file_id(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.workshop_file_id) +} + +// optional float revenue_percentage = 2; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_revenue_percentage() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_revenue_percentage() const { + return _internal_has_revenue_percentage(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_revenue_percentage() { + _impl_.revenue_percentage_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_revenue_percentage() const { + return _impl_.revenue_percentage_; +} +inline float CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::revenue_percentage() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.revenue_percentage) + return _internal_revenue_percentage(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_revenue_percentage(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.revenue_percentage_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_revenue_percentage(float value) { + _internal_set_revenue_percentage(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.revenue_percentage) +} + +// optional string rule_description = 3; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_rule_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_rule_description() const { + return _internal_has_rule_description(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_rule_description() { + _impl_.rule_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::rule_description() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) + return _internal_rule_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::mutable_rule_description() { + std::string* _s = _internal_mutable_rule_description(); + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) + return _s; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_rule_description() const { + return _impl_.rule_description_.Get(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_rule_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_mutable_rule_description() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.rule_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::release_rule_description() { + // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) + if (!_internal_has_rule_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.rule_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_allocated_rule_description(std::string* rule_description) { + if (rule_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) +} + +// optional uint32 rule_type = 4 [default = 1]; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_rule_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_rule_type() const { + return _internal_has_rule_type(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_rule_type() { + _impl_.rule_type_ = 1u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_rule_type() const { + return _impl_.rule_type_; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::rule_type() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_type) + return _internal_rule_type(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_rule_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.rule_type_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_rule_type(uint32_t value) { + _internal_set_rule_type(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_type) +} + +// ------------------------------------------------------------------- + +// CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule + +// optional uint64 workshop_file_id = 1; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_has_workshop_file_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::has_workshop_file_id() const { + return _internal_has_workshop_file_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::clear_workshop_file_id() { + _impl_.workshop_file_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_workshop_file_id() const { + return _impl_.workshop_file_id_; +} +inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::workshop_file_id() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.workshop_file_id) + return _internal_workshop_file_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_set_workshop_file_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.workshop_file_id_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_workshop_file_id(uint64_t value) { + _internal_set_workshop_file_id(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.workshop_file_id) +} + +// optional string rule_description = 2; +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_has_rule_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::has_rule_description() const { + return _internal_has_rule_description(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::clear_rule_description() { + _impl_.rule_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::rule_description() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) + return _internal_rule_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::mutable_rule_description() { + std::string* _s = _internal_mutable_rule_description(); + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) + return _s; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_rule_description() const { + return _impl_.rule_description_.Get(); +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_set_rule_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_mutable_rule_description() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.rule_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::release_rule_description() { + // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) + if (!_internal_has_rule_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.rule_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_allocated_rule_description(std::string* rule_description) { + if (rule_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) +} + +// ------------------------------------------------------------------- + +// CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule + +// optional uint32 account_id = 1; +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_account_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_account_id() const { + return _internal_has_account_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_account_id() { + _impl_.account_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_account_id() const { + return _impl_.account_id_; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::account_id() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.account_id) + return _internal_account_id(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_account_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.account_id_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_account_id(uint32_t value) { + _internal_set_account_id(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.account_id) +} + +// optional float revenue_percentage = 2; +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_revenue_percentage() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_revenue_percentage() const { + return _internal_has_revenue_percentage(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_revenue_percentage() { + _impl_.revenue_percentage_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_revenue_percentage() const { + return _impl_.revenue_percentage_; +} +inline float CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::revenue_percentage() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.revenue_percentage) + return _internal_revenue_percentage(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_revenue_percentage(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.revenue_percentage_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_revenue_percentage(float value) { + _internal_set_revenue_percentage(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.revenue_percentage) +} + +// optional string rule_description = 3; +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_rule_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_rule_description() const { + return _internal_has_rule_description(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_rule_description() { + _impl_.rule_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::rule_description() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) + return _internal_rule_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::mutable_rule_description() { + std::string* _s = _internal_mutable_rule_description(); + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) + return _s; +} +inline const std::string& CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_rule_description() const { + return _impl_.rule_description_.Get(); +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_rule_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_mutable_rule_description() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.rule_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::release_rule_description() { + // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) + if (!_internal_has_rule_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.rule_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_allocated_rule_description(std::string* rule_description) { + if (rule_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_description_.IsDefault()) { + _impl_.rule_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) +} + +// ------------------------------------------------------------------- + +// CWorkshop_SetItemPaymentRules_Request + +// optional uint32 appid = 1; +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request::appid() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.appid) + return _internal_appid(); +} +inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.appid) +} + +// optional uint32 gameitemid = 2; +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_gameitemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request::has_gameitemid() const { + return _internal_has_gameitemid(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_gameitemid() { + _impl_.gameitemid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request::_internal_gameitemid() const { + return _impl_.gameitemid_; +} +inline uint32_t CWorkshop_SetItemPaymentRules_Request::gameitemid() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.gameitemid) + return _internal_gameitemid(); +} +inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_gameitemid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gameitemid_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request::set_gameitemid(uint32_t value) { + _internal_set_gameitemid(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.gameitemid) +} + +// repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; +inline int CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_files_size() const { + return _impl_.associated_workshop_files_.size(); +} +inline int CWorkshop_SetItemPaymentRules_Request::associated_workshop_files_size() const { + return _internal_associated_workshop_files_size(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_associated_workshop_files() { + _impl_.associated_workshop_files_.Clear(); +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_files(int index) { + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) + return _impl_.associated_workshop_files_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >* +CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_files() { + // @@protoc_insertion_point(field_mutable_list:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) + return &_impl_.associated_workshop_files_; +} +inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_files(int index) const { + return _impl_.associated_workshop_files_.Get(index); +} +inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::associated_workshop_files(int index) const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) + return _internal_associated_workshop_files(index); +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_add_associated_workshop_files() { + return _impl_.associated_workshop_files_.Add(); +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::add_associated_workshop_files() { + ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* _add = _internal_add_associated_workshop_files(); + // @@protoc_insertion_point(field_add:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >& +CWorkshop_SetItemPaymentRules_Request::associated_workshop_files() const { + // @@protoc_insertion_point(field_list:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) + return _impl_.associated_workshop_files_; +} + +// repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; +inline int CWorkshop_SetItemPaymentRules_Request::_internal_partner_accounts_size() const { + return _impl_.partner_accounts_.size(); +} +inline int CWorkshop_SetItemPaymentRules_Request::partner_accounts_size() const { + return _internal_partner_accounts_size(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_partner_accounts() { + _impl_.partner_accounts_.Clear(); +} +inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_partner_accounts(int index) { + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.partner_accounts) + return _impl_.partner_accounts_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >* +CWorkshop_SetItemPaymentRules_Request::mutable_partner_accounts() { + // @@protoc_insertion_point(field_mutable_list:CWorkshop_SetItemPaymentRules_Request.partner_accounts) + return &_impl_.partner_accounts_; +} +inline const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_partner_accounts(int index) const { + return _impl_.partner_accounts_.Get(index); +} +inline const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::partner_accounts(int index) const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.partner_accounts) + return _internal_partner_accounts(index); +} +inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_add_partner_accounts() { + return _impl_.partner_accounts_.Add(); +} +inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::add_partner_accounts() { + ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* _add = _internal_add_partner_accounts(); + // @@protoc_insertion_point(field_add:CWorkshop_SetItemPaymentRules_Request.partner_accounts) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >& +CWorkshop_SetItemPaymentRules_Request::partner_accounts() const { + // @@protoc_insertion_point(field_list:CWorkshop_SetItemPaymentRules_Request.partner_accounts) + return _impl_.partner_accounts_; +} + +// optional bool validate_only = 5; +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_validate_only() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request::has_validate_only() const { + return _internal_has_validate_only(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_validate_only() { + _impl_.validate_only_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_validate_only() const { + return _impl_.validate_only_; +} +inline bool CWorkshop_SetItemPaymentRules_Request::validate_only() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.validate_only) + return _internal_validate_only(); +} +inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_validate_only(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.validate_only_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request::set_validate_only(bool value) { + _internal_set_validate_only(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.validate_only) +} + +// optional bool make_workshop_files_subscribable = 6; +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_make_workshop_files_subscribable() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request::has_make_workshop_files_subscribable() const { + return _internal_has_make_workshop_files_subscribable(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_make_workshop_files_subscribable() { + _impl_.make_workshop_files_subscribable_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_make_workshop_files_subscribable() const { + return _impl_.make_workshop_files_subscribable_; +} +inline bool CWorkshop_SetItemPaymentRules_Request::make_workshop_files_subscribable() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.make_workshop_files_subscribable) + return _internal_make_workshop_files_subscribable(); +} +inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_make_workshop_files_subscribable(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.make_workshop_files_subscribable_ = value; +} +inline void CWorkshop_SetItemPaymentRules_Request::set_make_workshop_files_subscribable(bool value) { + _internal_set_make_workshop_files_subscribable(value); + // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.make_workshop_files_subscribable) +} + +// optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; +inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_associated_workshop_file_for_direct_payments() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.associated_workshop_file_for_direct_payments_ != nullptr); + return value; +} +inline bool CWorkshop_SetItemPaymentRules_Request::has_associated_workshop_file_for_direct_payments() const { + return _internal_has_associated_workshop_file_for_direct_payments(); +} +inline void CWorkshop_SetItemPaymentRules_Request::clear_associated_workshop_file_for_direct_payments() { + if (_impl_.associated_workshop_file_for_direct_payments_ != nullptr) _impl_.associated_workshop_file_for_direct_payments_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_file_for_direct_payments() const { + const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* p = _impl_.associated_workshop_file_for_direct_payments_; + return p != nullptr ? *p : reinterpret_cast( + ::_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_); +} +inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& CWorkshop_SetItemPaymentRules_Request::associated_workshop_file_for_direct_payments() const { + // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) + return _internal_associated_workshop_file_for_direct_payments(); +} +inline void CWorkshop_SetItemPaymentRules_Request::unsafe_arena_set_allocated_associated_workshop_file_for_direct_payments( + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.associated_workshop_file_for_direct_payments_); + } + _impl_.associated_workshop_file_for_direct_payments_ = associated_workshop_file_for_direct_payments; + if (associated_workshop_file_for_direct_payments) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::release_associated_workshop_file_for_direct_payments() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* temp = _impl_.associated_workshop_file_for_direct_payments_; + _impl_.associated_workshop_file_for_direct_payments_ = 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 ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::unsafe_arena_release_associated_workshop_file_for_direct_payments() { + // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* temp = _impl_.associated_workshop_file_for_direct_payments_; + _impl_.associated_workshop_file_for_direct_payments_ = nullptr; + return temp; +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_mutable_associated_workshop_file_for_direct_payments() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.associated_workshop_file_for_direct_payments_ == nullptr) { + auto* p = CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule>(GetArenaForAllocation()); + _impl_.associated_workshop_file_for_direct_payments_ = p; + } + return _impl_.associated_workshop_file_for_direct_payments_; +} +inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_file_for_direct_payments() { + ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* _msg = _internal_mutable_associated_workshop_file_for_direct_payments(); + // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) + return _msg; +} +inline void CWorkshop_SetItemPaymentRules_Request::set_allocated_associated_workshop_file_for_direct_payments(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.associated_workshop_file_for_direct_payments_; + } + if (associated_workshop_file_for_direct_payments) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(associated_workshop_file_for_direct_payments); + if (message_arena != submessage_arena) { + associated_workshop_file_for_direct_payments = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, associated_workshop_file_for_direct_payments, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.associated_workshop_file_for_direct_payments_ = associated_workshop_file_for_direct_payments; + // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) +} + +// ------------------------------------------------------------------- + +// CWorkshop_SetItemPaymentRules_Response + +// ------------------------------------------------------------------- + +// CGameServers_AggregationQuery_Request + +// optional string filter = 1; +inline bool CGameServers_AggregationQuery_Request::_internal_has_filter() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Request::has_filter() const { + return _internal_has_filter(); +} +inline void CGameServers_AggregationQuery_Request::clear_filter() { + _impl_.filter_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGameServers_AggregationQuery_Request::filter() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Request.filter) + return _internal_filter(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameServers_AggregationQuery_Request::set_filter(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filter_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.filter) +} +inline std::string* CGameServers_AggregationQuery_Request::mutable_filter() { + std::string* _s = _internal_mutable_filter(); + // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Request.filter) + return _s; +} +inline const std::string& CGameServers_AggregationQuery_Request::_internal_filter() const { + return _impl_.filter_.Get(); +} +inline void CGameServers_AggregationQuery_Request::_internal_set_filter(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filter_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameServers_AggregationQuery_Request::_internal_mutable_filter() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filter_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameServers_AggregationQuery_Request::release_filter() { + // @@protoc_insertion_point(field_release:CGameServers_AggregationQuery_Request.filter) + if (!_internal_has_filter()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filter_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filter_.IsDefault()) { + _impl_.filter_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameServers_AggregationQuery_Request::set_allocated_filter(std::string* filter) { + if (filter != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filter_.SetAllocated(filter, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filter_.IsDefault()) { + _impl_.filter_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameServers_AggregationQuery_Request.filter) +} + +// repeated string group_fields = 3; +inline int CGameServers_AggregationQuery_Request::_internal_group_fields_size() const { + return _impl_.group_fields_.size(); +} +inline int CGameServers_AggregationQuery_Request::group_fields_size() const { + return _internal_group_fields_size(); +} +inline void CGameServers_AggregationQuery_Request::clear_group_fields() { + _impl_.group_fields_.Clear(); +} +inline std::string* CGameServers_AggregationQuery_Request::add_group_fields() { + std::string* _s = _internal_add_group_fields(); + // @@protoc_insertion_point(field_add_mutable:CGameServers_AggregationQuery_Request.group_fields) + return _s; +} +inline const std::string& CGameServers_AggregationQuery_Request::_internal_group_fields(int index) const { + return _impl_.group_fields_.Get(index); +} +inline const std::string& CGameServers_AggregationQuery_Request::group_fields(int index) const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Request.group_fields) + return _internal_group_fields(index); +} +inline std::string* CGameServers_AggregationQuery_Request::mutable_group_fields(int index) { + // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Request.group_fields) + return _impl_.group_fields_.Mutable(index); +} +inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const std::string& value) { + _impl_.group_fields_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, std::string&& value) { + _impl_.group_fields_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.group_fields_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const char* value, size_t size) { + _impl_.group_fields_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CGameServers_AggregationQuery_Request.group_fields) +} +inline std::string* CGameServers_AggregationQuery_Request::_internal_add_group_fields() { + return _impl_.group_fields_.Add(); +} +inline void CGameServers_AggregationQuery_Request::add_group_fields(const std::string& value) { + _impl_.group_fields_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::add_group_fields(std::string&& value) { + _impl_.group_fields_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::add_group_fields(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.group_fields_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CGameServers_AggregationQuery_Request.group_fields) +} +inline void CGameServers_AggregationQuery_Request::add_group_fields(const char* value, size_t size) { + _impl_.group_fields_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CGameServers_AggregationQuery_Request.group_fields) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CGameServers_AggregationQuery_Request::group_fields() const { + // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Request.group_fields) + return _impl_.group_fields_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CGameServers_AggregationQuery_Request::mutable_group_fields() { + // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Request.group_fields) + return &_impl_.group_fields_; +} + +// ------------------------------------------------------------------- + +// CGameServers_AggregationQuery_Response_Group + +// repeated string group_values = 1; +inline int CGameServers_AggregationQuery_Response_Group::_internal_group_values_size() const { + return _impl_.group_values_.size(); +} +inline int CGameServers_AggregationQuery_Response_Group::group_values_size() const { + return _internal_group_values_size(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_group_values() { + _impl_.group_values_.Clear(); +} +inline std::string* CGameServers_AggregationQuery_Response_Group::add_group_values() { + std::string* _s = _internal_add_group_values(); + // @@protoc_insertion_point(field_add_mutable:CGameServers_AggregationQuery_Response.Group.group_values) + return _s; +} +inline const std::string& CGameServers_AggregationQuery_Response_Group::_internal_group_values(int index) const { + return _impl_.group_values_.Get(index); +} +inline const std::string& CGameServers_AggregationQuery_Response_Group::group_values(int index) const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.group_values) + return _internal_group_values(index); +} +inline std::string* CGameServers_AggregationQuery_Response_Group::mutable_group_values(int index) { + // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Response.Group.group_values) + return _impl_.group_values_.Mutable(index); +} +inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const std::string& value) { + _impl_.group_values_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, std::string&& value) { + _impl_.group_values_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.group_values_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const char* value, size_t size) { + _impl_.group_values_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline std::string* CGameServers_AggregationQuery_Response_Group::_internal_add_group_values() { + return _impl_.group_values_.Add(); +} +inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const std::string& value) { + _impl_.group_values_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::add_group_values(std::string&& value) { + _impl_.group_values_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.group_values_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const char* value, size_t size) { + _impl_.group_values_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CGameServers_AggregationQuery_Response.Group.group_values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CGameServers_AggregationQuery_Response_Group::group_values() const { + // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Response.Group.group_values) + return _impl_.group_values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CGameServers_AggregationQuery_Response_Group::mutable_group_values() { + // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Response.Group.group_values) + return &_impl_.group_values_; +} + +// optional uint32 servers_empty = 2; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_empty() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_servers_empty() const { + return _internal_has_servers_empty(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_servers_empty() { + _impl_.servers_empty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_empty() const { + return _impl_.servers_empty_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_empty() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_empty) + return _internal_servers_empty(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_empty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.servers_empty_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_servers_empty(uint32_t value) { + _internal_set_servers_empty(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_empty) +} + +// optional uint32 servers_full = 3; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_full() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_servers_full() const { + return _internal_has_servers_full(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_servers_full() { + _impl_.servers_full_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_full() const { + return _impl_.servers_full_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_full() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_full) + return _internal_servers_full(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_full(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.servers_full_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_servers_full(uint32_t value) { + _internal_set_servers_full(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_full) +} + +// optional uint32 servers_total = 4; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_servers_total() const { + return _internal_has_servers_total(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_servers_total() { + _impl_.servers_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_total() const { + return _impl_.servers_total_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_total() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_total) + return _internal_servers_total(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.servers_total_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_servers_total(uint32_t value) { + _internal_set_servers_total(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_total) +} + +// optional uint32 players_humans = 5; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_players_humans() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_players_humans() const { + return _internal_has_players_humans(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_players_humans() { + _impl_.players_humans_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_players_humans() const { + return _impl_.players_humans_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::players_humans() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.players_humans) + return _internal_players_humans(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_players_humans(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.players_humans_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_players_humans(uint32_t value) { + _internal_set_players_humans(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.players_humans) +} + +// optional uint32 players_bots = 6; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_players_bots() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_players_bots() const { + return _internal_has_players_bots(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_players_bots() { + _impl_.players_bots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_players_bots() const { + return _impl_.players_bots_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::players_bots() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.players_bots) + return _internal_players_bots(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_players_bots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.players_bots_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_players_bots(uint32_t value) { + _internal_set_players_bots(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.players_bots) +} + +// optional uint32 player_capacity = 7; +inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_player_capacity() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CGameServers_AggregationQuery_Response_Group::has_player_capacity() const { + return _internal_has_player_capacity(); +} +inline void CGameServers_AggregationQuery_Response_Group::clear_player_capacity() { + _impl_.player_capacity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_player_capacity() const { + return _impl_.player_capacity_; +} +inline uint32_t CGameServers_AggregationQuery_Response_Group::player_capacity() const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.player_capacity) + return _internal_player_capacity(); +} +inline void CGameServers_AggregationQuery_Response_Group::_internal_set_player_capacity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.player_capacity_ = value; +} +inline void CGameServers_AggregationQuery_Response_Group::set_player_capacity(uint32_t value) { + _internal_set_player_capacity(value); + // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.player_capacity) +} + +// ------------------------------------------------------------------- + +// CGameServers_AggregationQuery_Response + +// repeated .CGameServers_AggregationQuery_Response.Group groups = 1; +inline int CGameServers_AggregationQuery_Response::_internal_groups_size() const { + return _impl_.groups_.size(); +} +inline int CGameServers_AggregationQuery_Response::groups_size() const { + return _internal_groups_size(); +} +inline void CGameServers_AggregationQuery_Response::clear_groups() { + _impl_.groups_.Clear(); +} +inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::mutable_groups(int index) { + // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Response.groups) + return _impl_.groups_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >* +CGameServers_AggregationQuery_Response::mutable_groups() { + // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Response.groups) + return &_impl_.groups_; +} +inline const ::CGameServers_AggregationQuery_Response_Group& CGameServers_AggregationQuery_Response::_internal_groups(int index) const { + return _impl_.groups_.Get(index); +} +inline const ::CGameServers_AggregationQuery_Response_Group& CGameServers_AggregationQuery_Response::groups(int index) const { + // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.groups) + return _internal_groups(index); +} +inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::_internal_add_groups() { + return _impl_.groups_.Add(); +} +inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::add_groups() { + ::CGameServers_AggregationQuery_Response_Group* _add = _internal_add_groups(); + // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.groups) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >& +CGameServers_AggregationQuery_Response::groups() const { + // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Response.groups) + return _impl_.groups_; +} + +// ------------------------------------------------------------------- + +// CWorkshop_AddSpecialPayment_Request + +// optional uint32 appid = 1; +inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CWorkshop_AddSpecialPayment_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CWorkshop_AddSpecialPayment_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CWorkshop_AddSpecialPayment_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CWorkshop_AddSpecialPayment_Request::appid() const { + // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.appid) + return _internal_appid(); +} +inline void CWorkshop_AddSpecialPayment_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CWorkshop_AddSpecialPayment_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.appid) +} + +// optional uint32 gameitemid = 2; +inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_gameitemid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CWorkshop_AddSpecialPayment_Request::has_gameitemid() const { + return _internal_has_gameitemid(); +} +inline void CWorkshop_AddSpecialPayment_Request::clear_gameitemid() { + _impl_.gameitemid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CWorkshop_AddSpecialPayment_Request::_internal_gameitemid() const { + return _impl_.gameitemid_; +} +inline uint32_t CWorkshop_AddSpecialPayment_Request::gameitemid() const { + // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.gameitemid) + return _internal_gameitemid(); +} +inline void CWorkshop_AddSpecialPayment_Request::_internal_set_gameitemid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gameitemid_ = value; +} +inline void CWorkshop_AddSpecialPayment_Request::set_gameitemid(uint32_t value) { + _internal_set_gameitemid(value); + // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.gameitemid) +} + +// optional string date = 3; +inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_date() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CWorkshop_AddSpecialPayment_Request::has_date() const { + return _internal_has_date(); +} +inline void CWorkshop_AddSpecialPayment_Request::clear_date() { + _impl_.date_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CWorkshop_AddSpecialPayment_Request::date() const { + // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.date) + return _internal_date(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CWorkshop_AddSpecialPayment_Request::set_date(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.date_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.date) +} +inline std::string* CWorkshop_AddSpecialPayment_Request::mutable_date() { + std::string* _s = _internal_mutable_date(); + // @@protoc_insertion_point(field_mutable:CWorkshop_AddSpecialPayment_Request.date) + return _s; +} +inline const std::string& CWorkshop_AddSpecialPayment_Request::_internal_date() const { + return _impl_.date_.Get(); +} +inline void CWorkshop_AddSpecialPayment_Request::_internal_set_date(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.date_.Set(value, GetArenaForAllocation()); +} +inline std::string* CWorkshop_AddSpecialPayment_Request::_internal_mutable_date() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.date_.Mutable(GetArenaForAllocation()); +} +inline std::string* CWorkshop_AddSpecialPayment_Request::release_date() { + // @@protoc_insertion_point(field_release:CWorkshop_AddSpecialPayment_Request.date) + if (!_internal_has_date()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.date_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.date_.IsDefault()) { + _impl_.date_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CWorkshop_AddSpecialPayment_Request::set_allocated_date(std::string* date) { + if (date != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.date_.SetAllocated(date, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.date_.IsDefault()) { + _impl_.date_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CWorkshop_AddSpecialPayment_Request.date) +} + +// optional uint64 payment_us_usd = 4; +inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_payment_us_usd() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CWorkshop_AddSpecialPayment_Request::has_payment_us_usd() const { + return _internal_has_payment_us_usd(); +} +inline void CWorkshop_AddSpecialPayment_Request::clear_payment_us_usd() { + _impl_.payment_us_usd_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CWorkshop_AddSpecialPayment_Request::_internal_payment_us_usd() const { + return _impl_.payment_us_usd_; +} +inline uint64_t CWorkshop_AddSpecialPayment_Request::payment_us_usd() const { + // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.payment_us_usd) + return _internal_payment_us_usd(); +} +inline void CWorkshop_AddSpecialPayment_Request::_internal_set_payment_us_usd(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.payment_us_usd_ = value; +} +inline void CWorkshop_AddSpecialPayment_Request::set_payment_us_usd(uint64_t value) { + _internal_set_payment_us_usd(value); + // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.payment_us_usd) +} + +// optional uint64 payment_row_usd = 5; +inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_payment_row_usd() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CWorkshop_AddSpecialPayment_Request::has_payment_row_usd() const { + return _internal_has_payment_row_usd(); +} +inline void CWorkshop_AddSpecialPayment_Request::clear_payment_row_usd() { + _impl_.payment_row_usd_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CWorkshop_AddSpecialPayment_Request::_internal_payment_row_usd() const { + return _impl_.payment_row_usd_; +} +inline uint64_t CWorkshop_AddSpecialPayment_Request::payment_row_usd() const { + // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.payment_row_usd) + return _internal_payment_row_usd(); +} +inline void CWorkshop_AddSpecialPayment_Request::_internal_set_payment_row_usd(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.payment_row_usd_ = value; +} +inline void CWorkshop_AddSpecialPayment_Request::set_payment_row_usd(uint64_t value) { + _internal_set_payment_row_usd(value); + // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.payment_row_usd) +} + +// ------------------------------------------------------------------- + +// CWorkshop_AddSpecialPayment_Response + +// ------------------------------------------------------------------- + +// CProductInfo_SetRichPresenceLocalization_Request_Token + +// optional string token = 1; +inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::has_token() const { + return _internal_has_token(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::clear_token() { + _impl_.token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::token() const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.Token.token) + return _internal_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CProductInfo_SetRichPresenceLocalization_Request_Token::set_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.Token.token) +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::mutable_token() { + std::string* _s = _internal_mutable_token(); + // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.Token.token) + return _s; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_token() const { + return _impl_.token_.Get(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_set_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_mutable_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::release_token() { + // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.Token.token) + if (!_internal_has_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::set_allocated_token(std::string* token) { + if (token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.token_.SetAllocated(token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.Token.token) +} + +// optional string value = 2; +inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::has_value() const { + return _internal_has_value(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::value() const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.Token.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CProductInfo_SetRichPresenceLocalization_Request_Token::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.Token.value) +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.Token.value) + return _s; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::release_value() { + // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.Token.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CProductInfo_SetRichPresenceLocalization_Request_Token::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.Token.value) +} + +// ------------------------------------------------------------------- + +// CProductInfo_SetRichPresenceLocalization_Request_LanguageSection + +// optional string language = 1; +inline bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_has_language() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::has_language() const { + return _internal_has_language(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::clear_language() { + _impl_.language_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::language() const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) + return _internal_language(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::set_language(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.language_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_language() { + std::string* _s = _internal_mutable_language(); + // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) + return _s; +} +inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_language() const { + return _impl_.language_.Get(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_set_language(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.language_.Set(value, GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_mutable_language() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.language_.Mutable(GetArenaForAllocation()); +} +inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::release_language() { + // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) + if (!_internal_has_language()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.language_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.language_.IsDefault()) { + _impl_.language_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::set_allocated_language(std::string* language) { + if (language != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.language_.SetAllocated(language, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.language_.IsDefault()) { + _impl_.language_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) +} + +// repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; +inline int CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_tokens_size() const { + return _impl_.tokens_.size(); +} +inline int CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens_size() const { + return _internal_tokens_size(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::clear_tokens() { + _impl_.tokens_.Clear(); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_tokens(int index) { + // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) + return _impl_.tokens_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >* +CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_tokens() { + // @@protoc_insertion_point(field_mutable_list:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) + return &_impl_.tokens_; +} +inline const ::CProductInfo_SetRichPresenceLocalization_Request_Token& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_tokens(int index) const { + return _impl_.tokens_.Get(index); +} +inline const ::CProductInfo_SetRichPresenceLocalization_Request_Token& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens(int index) const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) + return _internal_tokens(index); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_add_tokens() { + return _impl_.tokens_.Add(); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::add_tokens() { + ::CProductInfo_SetRichPresenceLocalization_Request_Token* _add = _internal_add_tokens(); + // @@protoc_insertion_point(field_add:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >& +CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens() const { + // @@protoc_insertion_point(field_list:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) + return _impl_.tokens_; +} + +// ------------------------------------------------------------------- + +// CProductInfo_SetRichPresenceLocalization_Request + +// optional uint32 appid = 1; +inline bool CProductInfo_SetRichPresenceLocalization_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CProductInfo_SetRichPresenceLocalization_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CProductInfo_SetRichPresenceLocalization_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CProductInfo_SetRichPresenceLocalization_Request::appid() const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.appid) + return _internal_appid(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CProductInfo_SetRichPresenceLocalization_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.appid) +} + +// repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; +inline int CProductInfo_SetRichPresenceLocalization_Request::_internal_languages_size() const { + return _impl_.languages_.size(); +} +inline int CProductInfo_SetRichPresenceLocalization_Request::languages_size() const { + return _internal_languages_size(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request::clear_languages() { + _impl_.languages_.Clear(); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::mutable_languages(int index) { + // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.languages) + return _impl_.languages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >* +CProductInfo_SetRichPresenceLocalization_Request::mutable_languages() { + // @@protoc_insertion_point(field_mutable_list:CProductInfo_SetRichPresenceLocalization_Request.languages) + return &_impl_.languages_; +} +inline const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& CProductInfo_SetRichPresenceLocalization_Request::_internal_languages(int index) const { + return _impl_.languages_.Get(index); +} +inline const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& CProductInfo_SetRichPresenceLocalization_Request::languages(int index) const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.languages) + return _internal_languages(index); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::_internal_add_languages() { + return _impl_.languages_.Add(); +} +inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::add_languages() { + ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* _add = _internal_add_languages(); + // @@protoc_insertion_point(field_add:CProductInfo_SetRichPresenceLocalization_Request.languages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >& +CProductInfo_SetRichPresenceLocalization_Request::languages() const { + // @@protoc_insertion_point(field_list:CProductInfo_SetRichPresenceLocalization_Request.languages) + return _impl_.languages_; +} + +// optional uint64 steamid = 3; +inline bool CProductInfo_SetRichPresenceLocalization_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CProductInfo_SetRichPresenceLocalization_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CProductInfo_SetRichPresenceLocalization_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CProductInfo_SetRichPresenceLocalization_Request::steamid() const { + // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.steamid) + return _internal_steamid(); +} +inline void CProductInfo_SetRichPresenceLocalization_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CProductInfo_SetRichPresenceLocalization_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.steamid) +} + +// ------------------------------------------------------------------- + +// CProductInfo_SetRichPresenceLocalization_Response + +// ------------------------------------------------------------------- + +// CMsgSerializedSOCache_TypeCache + +// optional uint32 type = 1; +inline bool CMsgSerializedSOCache_TypeCache::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_TypeCache::has_type() const { + return _internal_has_type(); +} +inline void CMsgSerializedSOCache_TypeCache::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSerializedSOCache_TypeCache::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgSerializedSOCache_TypeCache::type() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.type) + return _internal_type(); +} +inline void CMsgSerializedSOCache_TypeCache::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CMsgSerializedSOCache_TypeCache::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.type) +} + +// repeated bytes objects = 2; +inline int CMsgSerializedSOCache_TypeCache::_internal_objects_size() const { + return _impl_.objects_.size(); +} +inline int CMsgSerializedSOCache_TypeCache::objects_size() const { + return _internal_objects_size(); +} +inline void CMsgSerializedSOCache_TypeCache::clear_objects() { + _impl_.objects_.Clear(); +} +inline std::string* CMsgSerializedSOCache_TypeCache::add_objects() { + std::string* _s = _internal_add_objects(); + // @@protoc_insertion_point(field_add_mutable:CMsgSerializedSOCache.TypeCache.objects) + return _s; +} +inline const std::string& CMsgSerializedSOCache_TypeCache::_internal_objects(int index) const { + return _impl_.objects_.Get(index); +} +inline const std::string& CMsgSerializedSOCache_TypeCache::objects(int index) const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.objects) + return _internal_objects(index); +} +inline std::string* CMsgSerializedSOCache_TypeCache::mutable_objects(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.TypeCache.objects) + return _impl_.objects_.Mutable(index); +} +inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const std::string& value) { + _impl_.objects_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, std::string&& value) { + _impl_.objects_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.objects_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const void* value, size_t size) { + _impl_.objects_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgSerializedSOCache.TypeCache.objects) +} +inline std::string* CMsgSerializedSOCache_TypeCache::_internal_add_objects() { + return _impl_.objects_.Add(); +} +inline void CMsgSerializedSOCache_TypeCache::add_objects(const std::string& value) { + _impl_.objects_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::add_objects(std::string&& value) { + _impl_.objects_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::add_objects(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.objects_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgSerializedSOCache.TypeCache.objects) +} +inline void CMsgSerializedSOCache_TypeCache::add_objects(const void* value, size_t size) { + _impl_.objects_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgSerializedSOCache.TypeCache.objects) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgSerializedSOCache_TypeCache::objects() const { + // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.TypeCache.objects) + return _impl_.objects_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgSerializedSOCache_TypeCache::mutable_objects() { + // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.TypeCache.objects) + return &_impl_.objects_; +} + +// optional uint32 service_id = 3; +inline bool CMsgSerializedSOCache_TypeCache::_internal_has_service_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_TypeCache::has_service_id() const { + return _internal_has_service_id(); +} +inline void CMsgSerializedSOCache_TypeCache::clear_service_id() { + _impl_.service_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSerializedSOCache_TypeCache::_internal_service_id() const { + return _impl_.service_id_; +} +inline uint32_t CMsgSerializedSOCache_TypeCache::service_id() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.service_id) + return _internal_service_id(); +} +inline void CMsgSerializedSOCache_TypeCache::_internal_set_service_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.service_id_ = value; +} +inline void CMsgSerializedSOCache_TypeCache::set_service_id(uint32_t value) { + _internal_set_service_id(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.service_id) +} + +// ------------------------------------------------------------------- + +// CMsgSerializedSOCache_Cache_Version + +// optional uint32 service = 1; +inline bool CMsgSerializedSOCache_Cache_Version::_internal_has_service() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_Cache_Version::has_service() const { + return _internal_has_service(); +} +inline void CMsgSerializedSOCache_Cache_Version::clear_service() { + _impl_.service_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSerializedSOCache_Cache_Version::_internal_service() const { + return _impl_.service_; +} +inline uint32_t CMsgSerializedSOCache_Cache_Version::service() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.Version.service) + return _internal_service(); +} +inline void CMsgSerializedSOCache_Cache_Version::_internal_set_service(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.service_ = value; +} +inline void CMsgSerializedSOCache_Cache_Version::set_service(uint32_t value) { + _internal_set_service(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.Version.service) +} + +// optional uint64 version = 2; +inline bool CMsgSerializedSOCache_Cache_Version::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_Cache_Version::has_version() const { + return _internal_has_version(); +} +inline void CMsgSerializedSOCache_Cache_Version::clear_version() { + _impl_.version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSerializedSOCache_Cache_Version::_internal_version() const { + return _impl_.version_; +} +inline uint64_t CMsgSerializedSOCache_Cache_Version::version() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.Version.version) + return _internal_version(); +} +inline void CMsgSerializedSOCache_Cache_Version::_internal_set_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.version_ = value; +} +inline void CMsgSerializedSOCache_Cache_Version::set_version(uint64_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.Version.version) +} + +// ------------------------------------------------------------------- + +// CMsgSerializedSOCache_Cache + +// optional uint32 type = 1; +inline bool CMsgSerializedSOCache_Cache::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_Cache::has_type() const { + return _internal_has_type(); +} +inline void CMsgSerializedSOCache_Cache::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSerializedSOCache_Cache::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgSerializedSOCache_Cache::type() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.type) + return _internal_type(); +} +inline void CMsgSerializedSOCache_Cache::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CMsgSerializedSOCache_Cache::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.type) +} + +// optional uint64 id = 2; +inline bool CMsgSerializedSOCache_Cache::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSerializedSOCache_Cache::has_id() const { + return _internal_has_id(); +} +inline void CMsgSerializedSOCache_Cache::clear_id() { + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSerializedSOCache_Cache::_internal_id() const { + return _impl_.id_; +} +inline uint64_t CMsgSerializedSOCache_Cache::id() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.id) + return _internal_id(); +} +inline void CMsgSerializedSOCache_Cache::_internal_set_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CMsgSerializedSOCache_Cache::set_id(uint64_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.id) +} + +// repeated .CMsgSerializedSOCache.Cache.Version versions = 3; +inline int CMsgSerializedSOCache_Cache::_internal_versions_size() const { + return _impl_.versions_.size(); +} +inline int CMsgSerializedSOCache_Cache::versions_size() const { + return _internal_versions_size(); +} +inline void CMsgSerializedSOCache_Cache::clear_versions() { + _impl_.versions_.Clear(); +} +inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::mutable_versions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.Cache.versions) + return _impl_.versions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >* +CMsgSerializedSOCache_Cache::mutable_versions() { + // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.Cache.versions) + return &_impl_.versions_; +} +inline const ::CMsgSerializedSOCache_Cache_Version& CMsgSerializedSOCache_Cache::_internal_versions(int index) const { + return _impl_.versions_.Get(index); +} +inline const ::CMsgSerializedSOCache_Cache_Version& CMsgSerializedSOCache_Cache::versions(int index) const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.versions) + return _internal_versions(index); +} +inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::_internal_add_versions() { + return _impl_.versions_.Add(); +} +inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::add_versions() { + ::CMsgSerializedSOCache_Cache_Version* _add = _internal_add_versions(); + // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.Cache.versions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >& +CMsgSerializedSOCache_Cache::versions() const { + // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.Cache.versions) + return _impl_.versions_; +} + +// repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; +inline int CMsgSerializedSOCache_Cache::_internal_type_caches_size() const { + return _impl_.type_caches_.size(); +} +inline int CMsgSerializedSOCache_Cache::type_caches_size() const { + return _internal_type_caches_size(); +} +inline void CMsgSerializedSOCache_Cache::clear_type_caches() { + _impl_.type_caches_.Clear(); +} +inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::mutable_type_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.Cache.type_caches) + return _impl_.type_caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >* +CMsgSerializedSOCache_Cache::mutable_type_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.Cache.type_caches) + return &_impl_.type_caches_; +} +inline const ::CMsgSerializedSOCache_TypeCache& CMsgSerializedSOCache_Cache::_internal_type_caches(int index) const { + return _impl_.type_caches_.Get(index); +} +inline const ::CMsgSerializedSOCache_TypeCache& CMsgSerializedSOCache_Cache::type_caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.type_caches) + return _internal_type_caches(index); +} +inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::_internal_add_type_caches() { + return _impl_.type_caches_.Add(); +} +inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::add_type_caches() { + ::CMsgSerializedSOCache_TypeCache* _add = _internal_add_type_caches(); + // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.Cache.type_caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >& +CMsgSerializedSOCache_Cache::type_caches() const { + // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.Cache.type_caches) + return _impl_.type_caches_; +} + +// ------------------------------------------------------------------- + +// CMsgSerializedSOCache + +// optional uint32 file_version = 1; +inline bool CMsgSerializedSOCache::_internal_has_file_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSerializedSOCache::has_file_version() const { + return _internal_has_file_version(); +} +inline void CMsgSerializedSOCache::clear_file_version() { + _impl_.file_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSerializedSOCache::_internal_file_version() const { + return _impl_.file_version_; +} +inline uint32_t CMsgSerializedSOCache::file_version() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.file_version) + return _internal_file_version(); +} +inline void CMsgSerializedSOCache::_internal_set_file_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_version_ = value; +} +inline void CMsgSerializedSOCache::set_file_version(uint32_t value) { + _internal_set_file_version(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.file_version) +} + +// repeated .CMsgSerializedSOCache.Cache caches = 2; +inline int CMsgSerializedSOCache::_internal_caches_size() const { + return _impl_.caches_.size(); +} +inline int CMsgSerializedSOCache::caches_size() const { + return _internal_caches_size(); +} +inline void CMsgSerializedSOCache::clear_caches() { + _impl_.caches_.Clear(); +} +inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::mutable_caches(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.caches) + return _impl_.caches_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >* +CMsgSerializedSOCache::mutable_caches() { + // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.caches) + return &_impl_.caches_; +} +inline const ::CMsgSerializedSOCache_Cache& CMsgSerializedSOCache::_internal_caches(int index) const { + return _impl_.caches_.Get(index); +} +inline const ::CMsgSerializedSOCache_Cache& CMsgSerializedSOCache::caches(int index) const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.caches) + return _internal_caches(index); +} +inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::_internal_add_caches() { + return _impl_.caches_.Add(); +} +inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::add_caches() { + ::CMsgSerializedSOCache_Cache* _add = _internal_add_caches(); + // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.caches) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >& +CMsgSerializedSOCache::caches() const { + // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.caches) + return _impl_.caches_; +} + +// optional uint32 gc_socache_file_version = 3; +inline bool CMsgSerializedSOCache::_internal_has_gc_socache_file_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSerializedSOCache::has_gc_socache_file_version() const { + return _internal_has_gc_socache_file_version(); +} +inline void CMsgSerializedSOCache::clear_gc_socache_file_version() { + _impl_.gc_socache_file_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSerializedSOCache::_internal_gc_socache_file_version() const { + return _impl_.gc_socache_file_version_; +} +inline uint32_t CMsgSerializedSOCache::gc_socache_file_version() const { + // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.gc_socache_file_version) + return _internal_gc_socache_file_version(); +} +inline void CMsgSerializedSOCache::_internal_set_gc_socache_file_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.gc_socache_file_version_ = value; +} +inline void CMsgSerializedSOCache::set_gc_socache_file_version(uint32_t value) { + _internal_set_gc_socache_file_version(value); + // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.gc_socache_file_version) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::GCClientLauncherType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::GCClientLauncherType>() { + return ::GCClientLauncherType_descriptor(); +} +template <> struct is_proto_enum< ::GCConnectionStatus> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::GCConnectionStatus>() { + return ::GCConnectionStatus_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.cc new file mode 100644 index 0000000..8268ecb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.cc @@ -0,0 +1,4932 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gcsystemmsgs.proto + +#include "gcsystemmsgs.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; + +PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.is_verified_)*/false} {} +struct CMsgGCHVacVerificationChangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChangeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCHVacVerificationChangeDefaultTypeInternal() {} + union { + CMsgGCHVacVerificationChange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHVacVerificationChangeDefaultTypeInternal _CMsgGCHVacVerificationChange_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.phone_id_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.is_verified_)*/false + , /*decltype(_impl_.is_identifying_)*/false} {} +struct CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal() {} + union { + CMsgGCHAccountPhoneNumberChange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal _CMsgGCHAccountPhoneNumberChange_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.steamid_invited_)*/uint64_t{0u} + , /*decltype(_impl_.steamid_lobby_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CMsgGCHInviteUserToLobbyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobbyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCHInviteUserToLobbyDefaultTypeInternal() {} + union { + CMsgGCHInviteUserToLobby _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHInviteUserToLobbyDefaultTypeInternal _CMsgGCHInviteUserToLobby_default_instance_; +PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.agreementid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.active_)*/false} {} +struct CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal() {} + union { + CMsgGCHRecurringSubscriptionStatusChange _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal _CMsgGCHRecurringSubscriptionStatusChange_default_instance_; +PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_)*/uint64_t{0u} + , /*decltype(_impl_.attribute_)*/0u} {} +struct CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal() {} + union { + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_; +PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.attributes_)*/{} + , /*decltype(_impl_.prefix_item_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.note_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.match_item_type_)*/0u + , /*decltype(_impl_.match_item_class_)*/0u} {} +struct CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal() {} + union { + CQuest_PublisherAddCommunityItemsToPlayer_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_; +PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_matched_)*/0u + , /*decltype(_impl_.items_granted_)*/0u} {} +struct CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal() {} + union { + CQuest_PublisherAddCommunityItemsToPlayer_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.localization_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.template_file_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal() {} + union { + CCommunity_GamePersonalDataCategoryInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal _CCommunity_GamePersonalDataCategoryInfo_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal() {} + union { + CCommunity_GetGamePersonalDataCategories_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Request_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.categories_)*/{} + , /*decltype(_impl_.app_assets_basename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal() {} + union { + CCommunity_GetGamePersonalDataCategories_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Response_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.continue_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal() {} + union { + CCommunity_GetGamePersonalDataEntries_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Request_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entries_)*/{} + , /*decltype(_impl_.continue_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.continue_text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gceresult_)*/0u} {} +struct CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal() {} + union { + CCommunity_GetGamePersonalDataEntries_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Response_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal() {} + union { + CCommunity_TerminateGamePersonalDataEntries_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_; +PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gceresult_)*/0u} {} +struct CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal() {} + union { + CCommunity_TerminateGamePersonalDataEntries_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_gcsystemmsgs_2eproto[14]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gcsystemmsgs_2eproto[6]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gcsystemmsgs_2eproto = nullptr; + +const uint32_t TableStruct_gcsystemmsgs_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.is_verified_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.phone_id_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.is_verified_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.is_identifying_), + 0, + 2, + 1, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_invited_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_lobby_), + 0, + 3, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.agreementid_), + PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.active_), + 0, + 2, + 1, + 3, + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.attribute_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.value_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_type_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_class_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.prefix_item_name_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.attributes_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.note_), + 2, + 3, + 4, + 5, + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_matched_), + PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_granted_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.localization_token_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.template_file_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _impl_.appid_), + 0, + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_.categories_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_.app_assets_basename_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.continue_token_), + 3, + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.gceresult_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.entries_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.continue_token_), + PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.continue_text_), + 2, + ~0u, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.steamid_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _impl_.gceresult_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CMsgGCHVacVerificationChange)}, + { 12, 23, -1, sizeof(::CMsgGCHAccountPhoneNumberChange)}, + { 28, 38, -1, sizeof(::CMsgGCHInviteUserToLobby)}, + { 42, 52, -1, sizeof(::CMsgGCHRecurringSubscriptionStatusChange)}, + { 56, 64, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute)}, + { 66, 79, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Request)}, + { 86, 94, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Response)}, + { 96, 105, -1, sizeof(::CCommunity_GamePersonalDataCategoryInfo)}, + { 108, 115, -1, sizeof(::CCommunity_GetGamePersonalDataCategories_Request)}, + { 116, 124, -1, sizeof(::CCommunity_GetGamePersonalDataCategories_Response)}, + { 126, 136, -1, sizeof(::CCommunity_GetGamePersonalDataEntries_Request)}, + { 140, 150, -1, sizeof(::CCommunity_GetGamePersonalDataEntries_Response)}, + { 154, 162, -1, sizeof(::CCommunity_TerminateGamePersonalDataEntries_Request)}, + { 164, 171, -1, sizeof(::CCommunity_TerminateGamePersonalDataEntries_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgGCHVacVerificationChange_default_instance_._instance, + &::_CMsgGCHAccountPhoneNumberChange_default_instance_._instance, + &::_CMsgGCHInviteUserToLobby_default_instance_._instance, + &::_CMsgGCHRecurringSubscriptionStatusChange_default_instance_._instance, + &::_CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_._instance, + &::_CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_._instance, + &::_CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_._instance, + &::_CCommunity_GamePersonalDataCategoryInfo_default_instance_._instance, + &::_CCommunity_GetGamePersonalDataCategories_Request_default_instance_._instance, + &::_CCommunity_GetGamePersonalDataCategories_Response_default_instance_._instance, + &::_CCommunity_GetGamePersonalDataEntries_Request_default_instance_._instance, + &::_CCommunity_GetGamePersonalDataEntries_Response_default_instance_._instance, + &::_CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_._instance, + &::_CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_gcsystemmsgs_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\022gcsystemmsgs.proto\"S\n\034CMsgGCHVacVerifi" + "cationChange\022\017\n\007steamid\030\001 \001(\006\022\r\n\005appid\030\002" + " \001(\r\022\023\n\013is_verified\030\003 \001(\010\"\200\001\n\037CMsgGCHAcc" + "ountPhoneNumberChange\022\017\n\007steamid\030\001 \001(\006\022\r" + "\n\005appid\030\002 \001(\r\022\020\n\010phone_id\030\003 \001(\004\022\023\n\013is_ve" + "rified\030\004 \001(\010\022\026\n\016is_identifying\030\005 \001(\010\"j\n\030" + "CMsgGCHInviteUserToLobby\022\017\n\007steamid\030\001 \001(" + "\006\022\r\n\005appid\030\002 \001(\r\022\027\n\017steamid_invited\030\003 \001(" + "\006\022\025\n\rsteamid_lobby\030\004 \001(\006\"o\n(CMsgGCHRecur" + "ringSubscriptionStatusChange\022\017\n\007steamid\030" + "\001 \001(\006\022\r\n\005appid\030\002 \001(\r\022\023\n\013agreementid\030\003 \001(" + "\006\022\016\n\006active\030\004 \001(\010\"\257\002\n1CQuest_PublisherAd" + "dCommunityItemsToPlayer_Request\022\017\n\007steam" + "id\030\001 \001(\004\022\r\n\005appid\030\002 \001(\r\022\027\n\017match_item_ty" + "pe\030\003 \001(\r\022\030\n\020match_item_class\030\004 \001(\r\022\030\n\020pr" + "efix_item_name\030\005 \001(\t\022P\n\nattributes\030\006 \003(\013" + "2<.CQuest_PublisherAddCommunityItemsToPl" + "ayer_Request.Attribute\022\014\n\004note\030\007 \001(\t\032-\n\t" + "Attribute\022\021\n\tattribute\030\001 \001(\r\022\r\n\005value\030\002 " + "\001(\004\"b\n2CQuest_PublisherAddCommunityItems" + "ToPlayer_Response\022\025\n\ritems_matched\030\001 \001(\r" + "\022\025\n\ritems_granted\030\002 \001(\r\"j\n\'CCommunity_Ga" + "mePersonalDataCategoryInfo\022\014\n\004type\030\001 \001(\t" + "\022\032\n\022localization_token\030\002 \001(\t\022\025\n\rtemplate" + "_file\030\003 \001(\t\"A\n0CCommunity_GetGamePersona" + "lDataCategories_Request\022\r\n\005appid\030\001 \001(\r\"\216" + "\001\n1CCommunity_GetGamePersonalDataCategor" + "ies_Response\022<\n\ncategories\030\001 \003(\0132(.CComm" + "unity_GamePersonalDataCategoryInfo\022\033\n\023ap" + "p_assets_basename\030\002 \001(\t\"u\n-CCommunity_Ge" + "tGamePersonalDataEntries_Request\022\r\n\005appi" + "d\030\001 \001(\r\022\017\n\007steamid\030\002 \001(\004\022\014\n\004type\030\003 \001(\t\022\026" + "\n\016continue_token\030\004 \001(\t\"\203\001\n.CCommunity_Ge" + "tGamePersonalDataEntries_Response\022\021\n\tgce" + "result\030\001 \001(\r\022\017\n\007entries\030\002 \003(\t\022\026\n\016continu" + "e_token\030\003 \001(\t\022\025\n\rcontinue_text\030\004 \001(\t\"U\n3" + "CCommunity_TerminateGamePersonalDataEntr" + "ies_Request\022\r\n\005appid\030\001 \001(\r\022\017\n\007steamid\030\002 " + "\001(\004\"I\n4CCommunity_TerminateGamePersonalD" + "ataEntries_Response\022\021\n\tgceresult\030\001 \001(\r*\302" + "\030\n\014EGCSystemMsg\022\023\n\017k_EGCMsgInvalid\020\000\022\021\n\r" + "k_EGCMsgMulti\020\001\022\030\n\024k_EGCMsgGenericReply\020" + "\n\022\026\n\022k_EGCMsgSystemBase\0202\022\036\n\032k_EGCMsgAch" + "ievementAwarded\0203\022\026\n\022k_EGCMsgConCommand\020" + "4\022\030\n\024k_EGCMsgStartPlaying\0205\022\027\n\023k_EGCMsgS" + "topPlaying\0206\022\033\n\027k_EGCMsgStartGameserver\020" + "7\022\032\n\026k_EGCMsgStopGameserver\0208\022\025\n\021k_EGCMs" + "gWGRequest\0209\022\026\n\022k_EGCMsgWGResponse\020:\022\"\n\036" + "k_EGCMsgGetUserGameStatsSchema\020;\022*\n&k_EG" + "CMsgGetUserGameStatsSchemaResponse\020<\022\"\n\036" + "k_EGCMsgGetUserStatsDEPRECATED\020=\022 \n\034k_EG" + "CMsgGetUserStatsResponse\020>\022\032\n\026k_EGCMsgAp" + "pInfoUpdated\020\?\022\033\n\027k_EGCMsgValidateSessio" + "n\020@\022#\n\037k_EGCMsgValidateSessionResponse\020A" + "\022\"\n\036k_EGCMsgLookupAccountFromInput\020B\022\033\n\027" + "k_EGCMsgSendHTTPRequest\020C\022#\n\037k_EGCMsgSen" + "dHTTPRequestResponse\020D\022\030\n\024k_EGCMsgPreTes" + "tSetup\020E\022\037\n\033k_EGCMsgRecordSupportAction\020" + "F\022(\n$k_EGCMsgGetAccountDetails_DEPRECATE" + "D\020G\022\"\n\036k_EGCMsgReceiveInterAppMessage\020I\022" + "\030\n\024k_EGCMsgFindAccounts\020J\022\025\n\021k_EGCMsgPos" + "tAlert\020K\022\027\n\023k_EGCMsgGetLicenses\020L\022\030\n\024k_E" + "GCMsgGetUserStats\020M\022\027\n\023k_EGCMsgGetComman" + "ds\020N\022\037\n\033k_EGCMsgGetCommandsResponse\020O\022\032\n" + "\026k_EGCMsgAddFreeLicense\020P\022\"\n\036k_EGCMsgAdd" + "FreeLicenseResponse\020Q\022\031\n\025k_EGCMsgGetIPLo" + "cation\020R\022!\n\035k_EGCMsgGetIPLocationRespons" + "e\020S\022\035\n\031k_EGCMsgSystemStatsSchema\020T\022\032\n\026k_" + "EGCMsgGetSystemStats\020U\022\"\n\036k_EGCMsgGetSys" + "temStatsResponse\020V\022\025\n\021k_EGCMsgSendEmail\020" + "W\022\035\n\031k_EGCMsgSendEmailResponse\020X\022\034\n\030k_EG" + "CMsgGetEmailTemplate\020Y\022$\n k_EGCMsgGetEma" + "ilTemplateResponse\020Z\022\032\n\026k_EGCMsgGrantGue" + "stPass\020[\022\"\n\036k_EGCMsgGrantGuestPassRespon" + "se\020\\\022\035\n\031k_EGCMsgGetAccountDetails\020]\022%\n!k" + "_EGCMsgGetAccountDetailsResponse\020^\022\033\n\027k_" + "EGCMsgGetPersonaNames\020_\022#\n\037k_EGCMsgGetPe" + "rsonaNamesResponse\020`\022\030\n\024k_EGCMsgMultiple" + "xMsg\020a\022 \n\034k_EGCMsgMultiplexMsgResponse\020b" + "\022$\n k_EGCMsgWebAPIRegisterInterfaces\020e\022\034" + "\n\030k_EGCMsgWebAPIJobRequest\020f\022(\n$k_EGCMsg" + "WebAPIJobRequestHttpResponse\020h\022+\n\'k_EGCM" + "sgWebAPIJobRequestForwardResponse\020i\022\031\n\024k" + "_EGCMsgMemCachedGet\020\310\001\022!\n\034k_EGCMsgMemCac" + "hedGetResponse\020\311\001\022\031\n\024k_EGCMsgMemCachedSe" + "t\020\312\001\022\034\n\027k_EGCMsgMemCachedDelete\020\313\001\022\033\n\026k_" + "EGCMsgMemCachedStats\020\314\001\022#\n\036k_EGCMsgMemCa" + "chedStatsResponse\020\315\001\022\037\n\032k_EGCMsgMasterSe" + "tDirectory\020\334\001\022\'\n\"k_EGCMsgMasterSetDirect" + "oryResponse\020\335\001\022#\n\036k_EGCMsgMasterSetWebAP" + "IRouting\020\336\001\022+\n&k_EGCMsgMasterSetWebAPIRo" + "utingResponse\020\337\001\022&\n!k_EGCMsgMasterSetCli" + "entMsgRouting\020\340\001\022.\n)k_EGCMsgMasterSetCli" + "entMsgRoutingResponse\020\341\001\022\027\n\022k_EGCMsgSetO" + "ptions\020\342\001\022\037\n\032k_EGCMsgSetOptionsResponse\020" + "\343\001\022\030\n\023k_EGCMsgSystemBase2\020\364\003\022#\n\036k_EGCMsg" + "GetPurchaseTrustStatus\020\365\003\022+\n&k_EGCMsgGet" + "PurchaseTrustStatusResponse\020\366\003\022\032\n\025k_EGCM" + "sgUpdateSession\020\367\003\022%\n k_EGCMsgGCAccountV" + "acStatusChange\020\370\003\022\034\n\027k_EGCMsgCheckFriend" + "ship\020\371\003\022$\n\037k_EGCMsgCheckFriendshipRespon" + "se\020\372\003\022\"\n\035k_EGCMsgGetPartnerAccountLink\020\373" + "\003\022*\n%k_EGCMsgGetPartnerAccountLinkRespon" + "se\020\374\003\022\037\n\032k_EGCMsgDPPartnerMicroTxns\020\200\004\022\'" + "\n\"k_EGCMsgDPPartnerMicroTxnsResponse\020\201\004\022" + "\"\n\035k_EGCMsgVacVerificationChange\020\206\004\022%\n k" + "_EGCMsgAccountPhoneNumberChange\020\207\004\022\036\n\031k_" + "EGCMsgInviteUserToLobby\020\213\004\0221\n,k_EGCMsgGe" + "tGamePersonalDataCategoriesRequest\020\214\004\0222\n" + "-k_EGCMsgGetGamePersonalDataCategoriesRe" + "sponse\020\215\004\022.\n)k_EGCMsgGetGamePersonalData" + "EntriesRequest\020\216\004\022/\n*k_EGCMsgGetGamePers" + "onalDataEntriesResponse\020\217\004\0224\n/k_EGCMsgTe" + "rminateGamePersonalDataEntriesRequest\020\220\004" + "\0225\n0k_EGCMsgTerminateGamePersonalDataEnt" + "riesResponse\020\221\004\022.\n)k_EGCMsgRecurringSubs" + "criptionStatusChange\020\222\004\022 \n\033k_EGCMsgDirec" + "tServiceMethod\020\223\004\022(\n#k_EGCMsgDirectServi" + "ceMethodResponse\020\224\004*\357\001\n\006ESOMsg\022\023\n\017k_ESOM" + "sg_Create\020\025\022\023\n\017k_ESOMsg_Update\020\026\022\024\n\020k_ES" + "OMsg_Destroy\020\027\022\034\n\030k_ESOMsg_CacheSubscrib" + "ed\020\030\022\036\n\032k_ESOMsg_CacheUnsubscribed\020\031\022\033\n\027" + "k_ESOMsg_UpdateMultiple\020\032\022#\n\037k_ESOMsg_Ca" + "cheSubscriptionCheck\020\033\022%\n!k_ESOMsg_Cache" + "SubscriptionRefresh\020\034*\331\002\n\020EGCBaseClientM" + "sg\022\032\n\025k_EMsgGCClientWelcome\020\244\037\022\032\n\025k_EMsg" + "GCServerWelcome\020\245\037\022\030\n\023k_EMsgGCClientHell" + "o\020\246\037\022\030\n\023k_EMsgGCServerHello\020\247\037\022#\n\036k_EMsg" + "GCClientConnectionStatus\020\251\037\022#\n\036k_EMsgGCS" + "erverConnectionStatus\020\252\037\022\037\n\032k_EMsgGCClie" + "ntHelloPartner\020\253\037\022\032\n\025k_EMsgGCClientHello" + "PW\020\254\037\022\032\n\025k_EMsgGCClientHelloR2\020\255\037\022\032\n\025k_E" + "MsgGCClientHelloR3\020\256\037\022\032\n\025k_EMsgGCClientH" + "elloR4\020\257\037*\211\002\n\nEGCToGCMsg\022\032\n\025k_EGCToGCMsg" + "MasterAck\020\226\001\022\"\n\035k_EGCToGCMsgMasterAckRes" + "ponse\020\227\001\022\027\n\022k_EGCToGCMsgRouted\020\230\001\022\034\n\027k_E" + "GCToGCMsgRoutedReply\020\231\001\022\032\n\025k_EMsgUpdateS" + "essionIP\020\232\001\022\033\n\026k_EMsgRequestSessionIP\020\233\001" + "\022#\n\036k_EMsgRequestSessionIPResponse\020\234\001\022&\n" + "!k_EGCToGCMsgMasterStartupComplete\020\235\001*\260\003" + "\n\023ECommunityItemClass\022!\n\035k_ECommunityIte" + "mClass_Invalid\020\000\022\037\n\033k_ECommunityItemClas" + "s_Badge\020\001\022\"\n\036k_ECommunityItemClass_GameC" + "ard\020\002\022+\n\'k_ECommunityItemClass_ProfileBa" + "ckground\020\003\022\"\n\036k_ECommunityItemClass_Emot" + "icon\020\004\022%\n!k_ECommunityItemClass_BoosterP" + "ack\020\005\022$\n k_ECommunityItemClass_Consumabl" + "e\020\006\022!\n\035k_ECommunityItemClass_GameGoo\020\007\022)" + "\n%k_ECommunityItemClass_ProfileModifier\020" + "\010\022\037\n\033k_ECommunityItemClass_Scene\020\t\022$\n k_" + "ECommunityItemClass_SalienItem\020\n*\326\003\n\027ECo" + "mmunityItemAttribute\022%\n!k_ECommunityItem" + "Attribute_Invalid\020\000\022(\n$k_ECommunityItemA" + "ttribute_CardBorder\020\001\022#\n\037k_ECommunityIte" + "mAttribute_Level\020\002\022)\n%k_ECommunityItemAt" + "tribute_IssueNumber\020\003\022*\n&k_ECommunityIte" + "mAttribute_TradableTime\020\004\022,\n(k_ECommunit" + "yItemAttribute_StorePackageID\020\005\0220\n,k_ECo" + "mmunityItemAttribute_CommunityItemAppID\020" + "\006\022/\n+k_ECommunityItemAttribute_Community" + "ItemType\020\007\0223\n/k_ECommunityItemAttribute_" + "ProfileModiferEnabled\020\010\022(\n$k_ECommunityI" + "temAttribute_ExpiryTime\020\t" + ; +static ::_pbi::once_flag descriptor_table_gcsystemmsgs_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_gcsystemmsgs_2eproto = { + false, false, 6505, descriptor_table_protodef_gcsystemmsgs_2eproto, + "gcsystemmsgs.proto", + &descriptor_table_gcsystemmsgs_2eproto_once, nullptr, 0, 14, + schemas, file_default_instances, TableStruct_gcsystemmsgs_2eproto::offsets, + file_level_metadata_gcsystemmsgs_2eproto, file_level_enum_descriptors_gcsystemmsgs_2eproto, + file_level_service_descriptors_gcsystemmsgs_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gcsystemmsgs_2eproto_getter() { + return &descriptor_table_gcsystemmsgs_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gcsystemmsgs_2eproto(&descriptor_table_gcsystemmsgs_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCSystemMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[0]; +} +bool EGCSystemMsg_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 10: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 101: + case 102: + case 104: + case 105: + case 200: + case 201: + case 202: + case 203: + case 204: + case 205: + case 220: + case 221: + case 222: + case 223: + case 224: + case 225: + case 226: + case 227: + case 500: + case 501: + case 502: + case 503: + case 504: + case 505: + case 506: + case 507: + case 508: + case 512: + case 513: + case 518: + case 519: + case 523: + case 524: + case 525: + case 526: + case 527: + case 528: + case 529: + case 530: + case 531: + case 532: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESOMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[1]; +} +bool ESOMsg_IsValid(int value) { + switch (value) { + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseClientMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[2]; +} +bool EGCBaseClientMsg_IsValid(int value) { + switch (value) { + case 4004: + case 4005: + case 4006: + case 4007: + case 4009: + case 4010: + case 4011: + case 4012: + case 4013: + case 4014: + case 4015: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCToGCMsg_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[3]; +} +bool EGCToGCMsg_IsValid(int value) { + switch (value) { + case 150: + case 151: + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemClass_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[4]; +} +bool ECommunityItemClass_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemAttribute_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); + return file_level_enum_descriptors_gcsystemmsgs_2eproto[5]; +} +bool ECommunityItemAttribute_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgGCHVacVerificationChange::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_is_verified(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange(::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:CMsgGCHVacVerificationChange) +} +CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange(const CMsgGCHVacVerificationChange& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCHVacVerificationChange* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.is_verified_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.is_verified_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_verified_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCHVacVerificationChange) +} + +inline void CMsgGCHVacVerificationChange::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.is_verified_){false} + }; +} + +CMsgGCHVacVerificationChange::~CMsgGCHVacVerificationChange() { + // @@protoc_insertion_point(destructor:CMsgGCHVacVerificationChange) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCHVacVerificationChange::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCHVacVerificationChange::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCHVacVerificationChange::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCHVacVerificationChange) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.is_verified_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_verified_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCHVacVerificationChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_verified = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_verified(&has_bits); + _impl_.is_verified_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCHVacVerificationChange::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHVacVerificationChange) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional bool is_verified = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_verified(), 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:CMsgGCHVacVerificationChange) + return target; +} + +size_t CMsgGCHVacVerificationChange::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCHVacVerificationChange) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool is_verified = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHVacVerificationChange::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCHVacVerificationChange::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHVacVerificationChange::GetClassData() const { return &_class_data_; } + + +void CMsgGCHVacVerificationChange::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:CMsgGCHVacVerificationChange) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.is_verified_ = from._impl_.is_verified_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCHVacVerificationChange::CopyFrom(const CMsgGCHVacVerificationChange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHVacVerificationChange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCHVacVerificationChange::IsInitialized() const { + return true; +} + +void CMsgGCHVacVerificationChange::InternalSwap(CMsgGCHVacVerificationChange* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCHVacVerificationChange, _impl_.is_verified_) + + sizeof(CMsgGCHVacVerificationChange::_impl_.is_verified_) + - PROTOBUF_FIELD_OFFSET(CMsgGCHVacVerificationChange, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHVacVerificationChange::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[0]); +} + +// =================================================================== + +class CMsgGCHAccountPhoneNumberChange::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_phone_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_is_verified(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_identifying(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange(::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:CMsgGCHAccountPhoneNumberChange) +} +CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange(const CMsgGCHAccountPhoneNumberChange& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCHAccountPhoneNumberChange* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.phone_id_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.is_verified_){} + , decltype(_impl_.is_identifying_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.is_identifying_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_identifying_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCHAccountPhoneNumberChange) +} + +inline void CMsgGCHAccountPhoneNumberChange::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.phone_id_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.is_verified_){false} + , decltype(_impl_.is_identifying_){false} + }; +} + +CMsgGCHAccountPhoneNumberChange::~CMsgGCHAccountPhoneNumberChange() { + // @@protoc_insertion_point(destructor:CMsgGCHAccountPhoneNumberChange) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCHAccountPhoneNumberChange::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCHAccountPhoneNumberChange::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCHAccountPhoneNumberChange::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCHAccountPhoneNumberChange) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.is_identifying_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_identifying_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCHAccountPhoneNumberChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 phone_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_phone_id(&has_bits); + _impl_.phone_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_verified = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_is_verified(&has_bits); + _impl_.is_verified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_identifying = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_is_identifying(&has_bits); + _impl_.is_identifying_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCHAccountPhoneNumberChange::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHAccountPhoneNumberChange) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional uint64 phone_id = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_phone_id(), target); + } + + // optional bool is_verified = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_verified(), target); + } + + // optional bool is_identifying = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_identifying(), 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:CMsgGCHAccountPhoneNumberChange) + return target; +} + +size_t CMsgGCHAccountPhoneNumberChange::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCHAccountPhoneNumberChange) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint64 phone_id = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_phone_id()); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool is_verified = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool is_identifying = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHAccountPhoneNumberChange::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCHAccountPhoneNumberChange::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHAccountPhoneNumberChange::GetClassData() const { return &_class_data_; } + + +void CMsgGCHAccountPhoneNumberChange::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:CMsgGCHAccountPhoneNumberChange) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.phone_id_ = from._impl_.phone_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_verified_ = from._impl_.is_verified_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_identifying_ = from._impl_.is_identifying_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCHAccountPhoneNumberChange::CopyFrom(const CMsgGCHAccountPhoneNumberChange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHAccountPhoneNumberChange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCHAccountPhoneNumberChange::IsInitialized() const { + return true; +} + +void CMsgGCHAccountPhoneNumberChange::InternalSwap(CMsgGCHAccountPhoneNumberChange* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCHAccountPhoneNumberChange, _impl_.is_identifying_) + + sizeof(CMsgGCHAccountPhoneNumberChange::_impl_.is_identifying_) + - PROTOBUF_FIELD_OFFSET(CMsgGCHAccountPhoneNumberChange, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHAccountPhoneNumberChange::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[1]); +} + +// =================================================================== + +class CMsgGCHInviteUserToLobby::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid_invited(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_steamid_lobby(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby(::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:CMsgGCHInviteUserToLobby) +} +CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby(const CMsgGCHInviteUserToLobby& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCHInviteUserToLobby* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.steamid_invited_){} + , decltype(_impl_.steamid_lobby_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCHInviteUserToLobby) +} + +inline void CMsgGCHInviteUserToLobby::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.steamid_invited_){uint64_t{0u}} + , decltype(_impl_.steamid_lobby_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; +} + +CMsgGCHInviteUserToLobby::~CMsgGCHInviteUserToLobby() { + // @@protoc_insertion_point(destructor:CMsgGCHInviteUserToLobby) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCHInviteUserToLobby::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCHInviteUserToLobby::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCHInviteUserToLobby::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCHInviteUserToLobby) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCHInviteUserToLobby::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid_invited = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_steamid_invited(&has_bits); + _impl_.steamid_invited_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid_lobby = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_steamid_lobby(&has_bits); + _impl_.steamid_lobby_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCHInviteUserToLobby::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHInviteUserToLobby) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional fixed64 steamid_invited = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_steamid_invited(), target); + } + + // optional fixed64 steamid_lobby = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_steamid_lobby(), 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:CMsgGCHInviteUserToLobby) + return target; +} + +size_t CMsgGCHInviteUserToLobby::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCHInviteUserToLobby) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional fixed64 steamid_invited = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional fixed64 steamid_lobby = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHInviteUserToLobby::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCHInviteUserToLobby::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHInviteUserToLobby::GetClassData() const { return &_class_data_; } + + +void CMsgGCHInviteUserToLobby::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:CMsgGCHInviteUserToLobby) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steamid_invited_ = from._impl_.steamid_invited_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.steamid_lobby_ = from._impl_.steamid_lobby_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCHInviteUserToLobby::CopyFrom(const CMsgGCHInviteUserToLobby& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHInviteUserToLobby) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCHInviteUserToLobby::IsInitialized() const { + return true; +} + +void CMsgGCHInviteUserToLobby::InternalSwap(CMsgGCHInviteUserToLobby* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCHInviteUserToLobby, _impl_.appid_) + + sizeof(CMsgGCHInviteUserToLobby::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CMsgGCHInviteUserToLobby, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHInviteUserToLobby::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[2]); +} + +// =================================================================== + +class CMsgGCHRecurringSubscriptionStatusChange::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_agreementid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_active(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange(::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:CMsgGCHRecurringSubscriptionStatusChange) +} +CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange(const CMsgGCHRecurringSubscriptionStatusChange& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgGCHRecurringSubscriptionStatusChange* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.agreementid_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.active_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.active_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.active_)); + // @@protoc_insertion_point(copy_constructor:CMsgGCHRecurringSubscriptionStatusChange) +} + +inline void CMsgGCHRecurringSubscriptionStatusChange::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.agreementid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.active_){false} + }; +} + +CMsgGCHRecurringSubscriptionStatusChange::~CMsgGCHRecurringSubscriptionStatusChange() { + // @@protoc_insertion_point(destructor:CMsgGCHRecurringSubscriptionStatusChange) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgGCHRecurringSubscriptionStatusChange::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgGCHRecurringSubscriptionStatusChange::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgGCHRecurringSubscriptionStatusChange::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgGCHRecurringSubscriptionStatusChange) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.active_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.active_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgGCHRecurringSubscriptionStatusChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 agreementid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_agreementid(&has_bits); + _impl_.agreementid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool active = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_active(&has_bits); + _impl_.active_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgGCHRecurringSubscriptionStatusChange::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHRecurringSubscriptionStatusChange) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional fixed64 agreementid = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_agreementid(), target); + } + + // optional bool active = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_active(), 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:CMsgGCHRecurringSubscriptionStatusChange) + return target; +} + +size_t CMsgGCHRecurringSubscriptionStatusChange::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgGCHRecurringSubscriptionStatusChange) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional fixed64 agreementid = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool active = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHRecurringSubscriptionStatusChange::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgGCHRecurringSubscriptionStatusChange::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHRecurringSubscriptionStatusChange::GetClassData() const { return &_class_data_; } + + +void CMsgGCHRecurringSubscriptionStatusChange::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:CMsgGCHRecurringSubscriptionStatusChange) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.agreementid_ = from._impl_.agreementid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.active_ = from._impl_.active_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgGCHRecurringSubscriptionStatusChange::CopyFrom(const CMsgGCHRecurringSubscriptionStatusChange& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHRecurringSubscriptionStatusChange) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgGCHRecurringSubscriptionStatusChange::IsInitialized() const { + return true; +} + +void CMsgGCHRecurringSubscriptionStatusChange::InternalSwap(CMsgGCHRecurringSubscriptionStatusChange* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgGCHRecurringSubscriptionStatusChange, _impl_.active_) + + sizeof(CMsgGCHRecurringSubscriptionStatusChange::_impl_.active_) + - PROTOBUF_FIELD_OFFSET(CMsgGCHRecurringSubscriptionStatusChange, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHRecurringSubscriptionStatusChange::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[3]); +} + +// =================================================================== + +class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_attribute(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::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:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) +} +CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){} + , decltype(_impl_.attribute_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.value_, &from._impl_.value_, + static_cast(reinterpret_cast(&_impl_.attribute_) - + reinterpret_cast(&_impl_.value_)) + sizeof(_impl_.attribute_)); + // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){uint64_t{0u}} + , decltype(_impl_.attribute_){0u} + }; +} + +CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::~CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() { + // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::Clear() { +// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.value_, 0, static_cast( + reinterpret_cast(&_impl_.attribute_) - + reinterpret_cast(&_impl_.value_)) + sizeof(_impl_.attribute_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 attribute = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_attribute(&has_bits); + _impl_.attribute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 attribute = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_attribute(), target); + } + + // optional uint64 value = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_value(), 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:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + return target; +} + +size_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 value = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); + } + + // optional uint32 attribute = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attribute()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::GetClassData() const { return &_class_data_; } + + +void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::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:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.value_ = from._impl_.value_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.attribute_ = from._impl_.attribute_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::IsInitialized() const { + return true; +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.attribute_) + + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_impl_.attribute_) + - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.value_)>( + reinterpret_cast(&_impl_.value_), + reinterpret_cast(&other->_impl_.value_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[4]); +} + +// =================================================================== + +class CQuest_PublisherAddCommunityItemsToPlayer_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_match_item_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_match_item_class(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_prefix_item_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_note(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_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:CQuest_PublisherAddCommunityItemsToPlayer_Request) +} +CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_Request(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CQuest_PublisherAddCommunityItemsToPlayer_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attributes_){from._impl_.attributes_} + , decltype(_impl_.prefix_item_name_){} + , decltype(_impl_.note_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.match_item_type_){} + , decltype(_impl_.match_item_class_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.prefix_item_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_prefix_item_name()) { + _this->_impl_.prefix_item_name_.Set(from._internal_prefix_item_name(), + _this->GetArenaForAllocation()); + } + _impl_.note_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.note_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_note()) { + _this->_impl_.note_.Set(from._internal_note(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.match_item_class_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.match_item_class_)); + // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request) +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attributes_){arena} + , decltype(_impl_.prefix_item_name_){} + , decltype(_impl_.note_){} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.match_item_type_){0u} + , decltype(_impl_.match_item_class_){0u} + }; + _impl_.prefix_item_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.note_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.note_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CQuest_PublisherAddCommunityItemsToPlayer_Request::~CQuest_PublisherAddCommunityItemsToPlayer_Request() { + // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.attributes_.~RepeatedPtrField(); + _impl_.prefix_item_name_.Destroy(); + _impl_.note_.Destroy(); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.attributes_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.prefix_item_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.note_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.match_item_class_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.match_item_class_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CQuest_PublisherAddCommunityItemsToPlayer_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 match_item_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_match_item_type(&has_bits); + _impl_.match_item_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 match_item_class = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_match_item_class(&has_bits); + _impl_.match_item_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string prefix_item_name = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_prefix_item_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_attributes(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional string note = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_note(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CQuest_PublisherAddCommunityItemsToPlayer_Request.note"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 steamid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional uint32 match_item_type = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_match_item_type(), target); + } + + // optional uint32 match_item_class = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_match_item_class(), target); + } + + // optional string prefix_item_name = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_prefix_item_name().data(), static_cast(this->_internal_prefix_item_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_prefix_item_name(), target); + } + + // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_attributes_size()); i < n; i++) { + const auto& repfield = this->_internal_attributes(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string note = 7; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_note().data(), static_cast(this->_internal_note().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CQuest_PublisherAddCommunityItemsToPlayer_Request.note"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_note(), 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:CQuest_PublisherAddCommunityItemsToPlayer_Request) + return target; +} + +size_t CQuest_PublisherAddCommunityItemsToPlayer_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_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; + + // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; + total_size += 1UL * this->_internal_attributes_size(); + for (const auto& msg : this->_impl_.attributes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string prefix_item_name = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_prefix_item_name()); + } + + // optional string note = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_note()); + } + + // optional uint64 steamid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 match_item_type = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_item_type()); + } + + // optional uint32 match_item_class = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_item_class()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CQuest_PublisherAddCommunityItemsToPlayer_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Request::GetClassData() const { return &_class_data_; } + + +void CQuest_PublisherAddCommunityItemsToPlayer_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:CQuest_PublisherAddCommunityItemsToPlayer_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.attributes_.MergeFrom(from._impl_.attributes_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_prefix_item_name(from._internal_prefix_item_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_note(from._internal_note()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.match_item_type_ = from._impl_.match_item_type_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.match_item_class_ = from._impl_.match_item_class_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CQuest_PublisherAddCommunityItemsToPlayer_Request::IsInitialized() const { + return true; +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Request::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attributes_.InternalSwap(&other->_impl_.attributes_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.prefix_item_name_, lhs_arena, + &other->_impl_.prefix_item_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.note_, lhs_arena, + &other->_impl_.note_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_class_) + + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Request::_impl_.match_item_class_) + - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[5]); +} + +// =================================================================== + +class CQuest_PublisherAddCommunityItemsToPlayer_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_items_matched(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_items_granted(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_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:CQuest_PublisherAddCommunityItemsToPlayer_Response) +} +CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_Response(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CQuest_PublisherAddCommunityItemsToPlayer_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_matched_){} + , decltype(_impl_.items_granted_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.items_matched_, &from._impl_.items_matched_, + static_cast(reinterpret_cast(&_impl_.items_granted_) - + reinterpret_cast(&_impl_.items_matched_)) + sizeof(_impl_.items_granted_)); + // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Response) +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_matched_){0u} + , decltype(_impl_.items_granted_){0u} + }; +} + +CQuest_PublisherAddCommunityItemsToPlayer_Response::~CQuest_PublisherAddCommunityItemsToPlayer_Response() { + // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.items_matched_, 0, static_cast( + reinterpret_cast(&_impl_.items_granted_) - + reinterpret_cast(&_impl_.items_matched_)) + sizeof(_impl_.items_granted_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CQuest_PublisherAddCommunityItemsToPlayer_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 items_matched = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_items_matched(&has_bits); + _impl_.items_matched_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 items_granted = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_items_granted(&has_bits); + _impl_.items_granted_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 items_matched = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_items_matched(), target); + } + + // optional uint32 items_granted = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_items_granted(), 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:CQuest_PublisherAddCommunityItemsToPlayer_Response) + return target; +} + +size_t CQuest_PublisherAddCommunityItemsToPlayer_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 items_matched = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_items_matched()); + } + + // optional uint32 items_granted = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_items_granted()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CQuest_PublisherAddCommunityItemsToPlayer_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Response::GetClassData() const { return &_class_data_; } + + +void CQuest_PublisherAddCommunityItemsToPlayer_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:CQuest_PublisherAddCommunityItemsToPlayer_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.items_matched_ = from._impl_.items_matched_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.items_granted_ = from._impl_.items_granted_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Response::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CQuest_PublisherAddCommunityItemsToPlayer_Response::IsInitialized() const { + return true; +} + +void CQuest_PublisherAddCommunityItemsToPlayer_Response::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_granted_) + + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Response::_impl_.items_granted_) + - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_matched_)>( + reinterpret_cast(&_impl_.items_matched_), + reinterpret_cast(&other->_impl_.items_matched_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[6]); +} + +// =================================================================== + +class CCommunity_GamePersonalDataCategoryInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_localization_token(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_template_file(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo(::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:CCommunity_GamePersonalDataCategoryInfo) +} +CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo(const CCommunity_GamePersonalDataCategoryInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_GamePersonalDataCategoryInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.localization_token_){} + , decltype(_impl_.template_file_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_type()) { + _this->_impl_.type_.Set(from._internal_type(), + _this->GetArenaForAllocation()); + } + _impl_.localization_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localization_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_localization_token()) { + _this->_impl_.localization_token_.Set(from._internal_localization_token(), + _this->GetArenaForAllocation()); + } + _impl_.template_file_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.template_file_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_template_file()) { + _this->_impl_.template_file_.Set(from._internal_template_file(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCommunity_GamePersonalDataCategoryInfo) +} + +inline void CCommunity_GamePersonalDataCategoryInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.localization_token_){} + , decltype(_impl_.template_file_){} + }; + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localization_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localization_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.template_file_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.template_file_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCommunity_GamePersonalDataCategoryInfo::~CCommunity_GamePersonalDataCategoryInfo() { + // @@protoc_insertion_point(destructor:CCommunity_GamePersonalDataCategoryInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_GamePersonalDataCategoryInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.type_.Destroy(); + _impl_.localization_token_.Destroy(); + _impl_.template_file_.Destroy(); +} + +void CCommunity_GamePersonalDataCategoryInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_GamePersonalDataCategoryInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_GamePersonalDataCategoryInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.type_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.localization_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.template_file_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_GamePersonalDataCategoryInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.type"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string localization_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_localization_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.localization_token"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string template_file = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_template_file(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.template_file"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_GamePersonalDataCategoryInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GamePersonalDataCategoryInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string type = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_type().data(), static_cast(this->_internal_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GamePersonalDataCategoryInfo.type"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_type(), target); + } + + // optional string localization_token = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_localization_token().data(), static_cast(this->_internal_localization_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GamePersonalDataCategoryInfo.localization_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_localization_token(), target); + } + + // optional string template_file = 3; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_template_file().data(), static_cast(this->_internal_template_file().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GamePersonalDataCategoryInfo.template_file"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_template_file(), 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:CCommunity_GamePersonalDataCategoryInfo) + return target; +} + +size_t CCommunity_GamePersonalDataCategoryInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_GamePersonalDataCategoryInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // optional string localization_token = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_localization_token()); + } + + // optional string template_file = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_template_file()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GamePersonalDataCategoryInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_GamePersonalDataCategoryInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GamePersonalDataCategoryInfo::GetClassData() const { return &_class_data_; } + + +void CCommunity_GamePersonalDataCategoryInfo::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:CCommunity_GamePersonalDataCategoryInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_type(from._internal_type()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_localization_token(from._internal_localization_token()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_template_file(from._internal_template_file()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_GamePersonalDataCategoryInfo::CopyFrom(const CCommunity_GamePersonalDataCategoryInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GamePersonalDataCategoryInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_GamePersonalDataCategoryInfo::IsInitialized() const { + return true; +} + +void CCommunity_GamePersonalDataCategoryInfo::InternalSwap(CCommunity_GamePersonalDataCategoryInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.type_, lhs_arena, + &other->_impl_.type_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.localization_token_, lhs_arena, + &other->_impl_.localization_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.template_file_, lhs_arena, + &other->_impl_.template_file_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GamePersonalDataCategoryInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[7]); +} + +// =================================================================== + +class CCommunity_GetGamePersonalDataCategories_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_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:CCommunity_GetGamePersonalDataCategories_Request) +} +CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_Request(const CCommunity_GetGamePersonalDataCategories_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_GetGamePersonalDataCategories_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataCategories_Request) +} + +inline void CCommunity_GetGamePersonalDataCategories_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + }; +} + +CCommunity_GetGamePersonalDataCategories_Request::~CCommunity_GetGamePersonalDataCategories_Request() { + // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataCategories_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_GetGamePersonalDataCategories_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCommunity_GetGamePersonalDataCategories_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_GetGamePersonalDataCategories_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataCategories_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_GetGamePersonalDataCategories_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_GetGamePersonalDataCategories_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataCategories_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), 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:CCommunity_GetGamePersonalDataCategories_Request) + return target; +} + +size_t CCommunity_GetGamePersonalDataCategories_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataCategories_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; + + // optional uint32 appid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataCategories_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_GetGamePersonalDataCategories_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataCategories_Request::GetClassData() const { return &_class_data_; } + + +void CCommunity_GetGamePersonalDataCategories_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:CCommunity_GetGamePersonalDataCategories_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_appid()) { + _this->_internal_set_appid(from._internal_appid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_GetGamePersonalDataCategories_Request::CopyFrom(const CCommunity_GetGamePersonalDataCategories_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataCategories_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_GetGamePersonalDataCategories_Request::IsInitialized() const { + return true; +} + +void CCommunity_GetGamePersonalDataCategories_Request::InternalSwap(CCommunity_GetGamePersonalDataCategories_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataCategories_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[8]); +} + +// =================================================================== + +class CCommunity_GetGamePersonalDataCategories_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_app_assets_basename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_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:CCommunity_GetGamePersonalDataCategories_Response) +} +CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_Response(const CCommunity_GetGamePersonalDataCategories_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_GetGamePersonalDataCategories_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.categories_){from._impl_.categories_} + , decltype(_impl_.app_assets_basename_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.app_assets_basename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_app_assets_basename()) { + _this->_impl_.app_assets_basename_.Set(from._internal_app_assets_basename(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataCategories_Response) +} + +inline void CCommunity_GetGamePersonalDataCategories_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.categories_){arena} + , decltype(_impl_.app_assets_basename_){} + }; + _impl_.app_assets_basename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCommunity_GetGamePersonalDataCategories_Response::~CCommunity_GetGamePersonalDataCategories_Response() { + // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataCategories_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_GetGamePersonalDataCategories_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.categories_.~RepeatedPtrField(); + _impl_.app_assets_basename_.Destroy(); +} + +void CCommunity_GetGamePersonalDataCategories_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_GetGamePersonalDataCategories_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataCategories_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.categories_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.app_assets_basename_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_GetGamePersonalDataCategories_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_categories(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional string app_assets_basename = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_app_assets_basename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_GetGamePersonalDataCategories_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataCategories_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_categories_size()); i < n; i++) { + const auto& repfield = this->_internal_categories(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional string app_assets_basename = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_app_assets_basename().data(), static_cast(this->_internal_app_assets_basename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_app_assets_basename(), 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:CCommunity_GetGamePersonalDataCategories_Response) + return target; +} + +size_t CCommunity_GetGamePersonalDataCategories_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataCategories_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; + + // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; + total_size += 1UL * this->_internal_categories_size(); + for (const auto& msg : this->_impl_.categories_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional string app_assets_basename = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_app_assets_basename()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataCategories_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_GetGamePersonalDataCategories_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataCategories_Response::GetClassData() const { return &_class_data_; } + + +void CCommunity_GetGamePersonalDataCategories_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:CCommunity_GetGamePersonalDataCategories_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.categories_.MergeFrom(from._impl_.categories_); + if (from._internal_has_app_assets_basename()) { + _this->_internal_set_app_assets_basename(from._internal_app_assets_basename()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_GetGamePersonalDataCategories_Response::CopyFrom(const CCommunity_GetGamePersonalDataCategories_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataCategories_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_GetGamePersonalDataCategories_Response::IsInitialized() const { + return true; +} + +void CCommunity_GetGamePersonalDataCategories_Response::InternalSwap(CCommunity_GetGamePersonalDataCategories_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.categories_.InternalSwap(&other->_impl_.categories_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.app_assets_basename_, lhs_arena, + &other->_impl_.app_assets_basename_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataCategories_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[9]); +} + +// =================================================================== + +class CCommunity_GetGamePersonalDataEntries_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_continue_token(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_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:CCommunity_GetGamePersonalDataEntries_Request) +} +CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_Request(const CCommunity_GetGamePersonalDataEntries_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_GetGamePersonalDataEntries_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.continue_token_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_type()) { + _this->_impl_.type_.Set(from._internal_type(), + _this->GetArenaForAllocation()); + } + _impl_.continue_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_continue_token()) { + _this->_impl_.continue_token_.Set(from._internal_continue_token(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataEntries_Request) +} + +inline void CCommunity_GetGamePersonalDataEntries_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.continue_token_){} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCommunity_GetGamePersonalDataEntries_Request::~CCommunity_GetGamePersonalDataEntries_Request() { + // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataEntries_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_GetGamePersonalDataEntries_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.type_.Destroy(); + _impl_.continue_token_.Destroy(); +} + +void CCommunity_GetGamePersonalDataEntries_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_GetGamePersonalDataEntries_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataEntries_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.type_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.continue_token_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_GetGamePersonalDataEntries_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 steamid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Request.type"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string continue_token = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_continue_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Request.continue_token"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_GetGamePersonalDataEntries_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataEntries_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint64 steamid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_steamid(), target); + } + + // optional string type = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_type().data(), static_cast(this->_internal_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataEntries_Request.type"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_type(), target); + } + + // optional string continue_token = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_continue_token().data(), static_cast(this->_internal_continue_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataEntries_Request.continue_token"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_continue_token(), 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:CCommunity_GetGamePersonalDataEntries_Request) + return target; +} + +size_t CCommunity_GetGamePersonalDataEntries_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataEntries_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string type = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // optional string continue_token = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_continue_token()); + } + + // optional uint64 steamid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataEntries_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_GetGamePersonalDataEntries_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataEntries_Request::GetClassData() const { return &_class_data_; } + + +void CCommunity_GetGamePersonalDataEntries_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:CCommunity_GetGamePersonalDataEntries_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_type(from._internal_type()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_continue_token(from._internal_continue_token()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_GetGamePersonalDataEntries_Request::CopyFrom(const CCommunity_GetGamePersonalDataEntries_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataEntries_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_GetGamePersonalDataEntries_Request::IsInitialized() const { + return true; +} + +void CCommunity_GetGamePersonalDataEntries_Request::InternalSwap(CCommunity_GetGamePersonalDataEntries_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.type_, lhs_arena, + &other->_impl_.type_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.continue_token_, lhs_arena, + &other->_impl_.continue_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCommunity_GetGamePersonalDataEntries_Request, _impl_.appid_) + + sizeof(CCommunity_GetGamePersonalDataEntries_Request::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CCommunity_GetGamePersonalDataEntries_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataEntries_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[10]); +} + +// =================================================================== + +class CCommunity_GetGamePersonalDataEntries_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_gceresult(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_continue_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_continue_text(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_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:CCommunity_GetGamePersonalDataEntries_Response) +} +CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_Response(const CCommunity_GetGamePersonalDataEntries_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_GetGamePersonalDataEntries_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){from._impl_.entries_} + , decltype(_impl_.continue_token_){} + , decltype(_impl_.continue_text_){} + , decltype(_impl_.gceresult_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.continue_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_continue_token()) { + _this->_impl_.continue_token_.Set(from._internal_continue_token(), + _this->GetArenaForAllocation()); + } + _impl_.continue_text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_continue_text()) { + _this->_impl_.continue_text_.Set(from._internal_continue_text(), + _this->GetArenaForAllocation()); + } + _this->_impl_.gceresult_ = from._impl_.gceresult_; + // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataEntries_Response) +} + +inline void CCommunity_GetGamePersonalDataEntries_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entries_){arena} + , decltype(_impl_.continue_token_){} + , decltype(_impl_.continue_text_){} + , decltype(_impl_.gceresult_){0u} + }; + _impl_.continue_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.continue_text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCommunity_GetGamePersonalDataEntries_Response::~CCommunity_GetGamePersonalDataEntries_Response() { + // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataEntries_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_GetGamePersonalDataEntries_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entries_.~RepeatedPtrField(); + _impl_.continue_token_.Destroy(); + _impl_.continue_text_.Destroy(); +} + +void CCommunity_GetGamePersonalDataEntries_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_GetGamePersonalDataEntries_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataEntries_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.entries_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.continue_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.continue_text_.ClearNonDefaultToEmpty(); + } + } + _impl_.gceresult_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_GetGamePersonalDataEntries_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 gceresult = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_gceresult(&has_bits); + _impl_.gceresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_entries(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.entries"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional string continue_token = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_continue_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.continue_token"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string continue_text = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_continue_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.continue_text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_GetGamePersonalDataEntries_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataEntries_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 gceresult = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gceresult(), target); + } + + // repeated string entries = 2; + for (int i = 0, n = this->_internal_entries_size(); i < n; i++) { + const auto& s = this->_internal_entries(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataEntries_Response.entries"); + target = stream->WriteString(2, s, target); + } + + // optional string continue_token = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_continue_token().data(), static_cast(this->_internal_continue_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataEntries_Response.continue_token"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_continue_token(), target); + } + + // optional string continue_text = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_continue_text().data(), static_cast(this->_internal_continue_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCommunity_GetGamePersonalDataEntries_Response.continue_text"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_continue_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:CCommunity_GetGamePersonalDataEntries_Response) + return target; +} + +size_t CCommunity_GetGamePersonalDataEntries_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataEntries_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; + + // repeated string entries = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.entries_.size()); + for (int i = 0, n = _impl_.entries_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.entries_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string continue_token = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_continue_token()); + } + + // optional string continue_text = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_continue_text()); + } + + // optional uint32 gceresult = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gceresult()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataEntries_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_GetGamePersonalDataEntries_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataEntries_Response::GetClassData() const { return &_class_data_; } + + +void CCommunity_GetGamePersonalDataEntries_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:CCommunity_GetGamePersonalDataEntries_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.entries_.MergeFrom(from._impl_.entries_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_continue_token(from._internal_continue_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_continue_text(from._internal_continue_text()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.gceresult_ = from._impl_.gceresult_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_GetGamePersonalDataEntries_Response::CopyFrom(const CCommunity_GetGamePersonalDataEntries_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataEntries_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_GetGamePersonalDataEntries_Response::IsInitialized() const { + return true; +} + +void CCommunity_GetGamePersonalDataEntries_Response::InternalSwap(CCommunity_GetGamePersonalDataEntries_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.entries_.InternalSwap(&other->_impl_.entries_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.continue_token_, lhs_arena, + &other->_impl_.continue_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.continue_text_, lhs_arena, + &other->_impl_.continue_text_, rhs_arena + ); + swap(_impl_.gceresult_, other->_impl_.gceresult_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataEntries_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[11]); +} + +// =================================================================== + +class CCommunity_TerminateGamePersonalDataEntries_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_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:CCommunity_TerminateGamePersonalDataEntries_Request) +} +CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_Request(const CCommunity_TerminateGamePersonalDataEntries_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_TerminateGamePersonalDataEntries_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CCommunity_TerminateGamePersonalDataEntries_Request) +} + +inline void CCommunity_TerminateGamePersonalDataEntries_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; +} + +CCommunity_TerminateGamePersonalDataEntries_Request::~CCommunity_TerminateGamePersonalDataEntries_Request() { + // @@protoc_insertion_point(destructor:CCommunity_TerminateGamePersonalDataEntries_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_TerminateGamePersonalDataEntries_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCommunity_TerminateGamePersonalDataEntries_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_TerminateGamePersonalDataEntries_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_TerminateGamePersonalDataEntries_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_TerminateGamePersonalDataEntries_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 steamid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_TerminateGamePersonalDataEntries_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_TerminateGamePersonalDataEntries_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint64 steamid = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_steamid(), 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:CCommunity_TerminateGamePersonalDataEntries_Request) + return target; +} + +size_t CCommunity_TerminateGamePersonalDataEntries_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_TerminateGamePersonalDataEntries_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 steamid = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_TerminateGamePersonalDataEntries_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_TerminateGamePersonalDataEntries_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_TerminateGamePersonalDataEntries_Request::GetClassData() const { return &_class_data_; } + + +void CCommunity_TerminateGamePersonalDataEntries_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:CCommunity_TerminateGamePersonalDataEntries_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_TerminateGamePersonalDataEntries_Request::CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_TerminateGamePersonalDataEntries_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_TerminateGamePersonalDataEntries_Request::IsInitialized() const { + return true; +} + +void CCommunity_TerminateGamePersonalDataEntries_Request::InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.appid_) + + sizeof(CCommunity_TerminateGamePersonalDataEntries_Request::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_TerminateGamePersonalDataEntries_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[12]); +} + +// =================================================================== + +class CCommunity_TerminateGamePersonalDataEntries_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_gceresult(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_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:CCommunity_TerminateGamePersonalDataEntries_Response) +} +CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_Response(const CCommunity_TerminateGamePersonalDataEntries_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCommunity_TerminateGamePersonalDataEntries_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gceresult_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.gceresult_ = from._impl_.gceresult_; + // @@protoc_insertion_point(copy_constructor:CCommunity_TerminateGamePersonalDataEntries_Response) +} + +inline void CCommunity_TerminateGamePersonalDataEntries_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gceresult_){0u} + }; +} + +CCommunity_TerminateGamePersonalDataEntries_Response::~CCommunity_TerminateGamePersonalDataEntries_Response() { + // @@protoc_insertion_point(destructor:CCommunity_TerminateGamePersonalDataEntries_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCommunity_TerminateGamePersonalDataEntries_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCommunity_TerminateGamePersonalDataEntries_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCommunity_TerminateGamePersonalDataEntries_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCommunity_TerminateGamePersonalDataEntries_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.gceresult_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCommunity_TerminateGamePersonalDataEntries_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 gceresult = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_gceresult(&has_bits); + _impl_.gceresult_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCommunity_TerminateGamePersonalDataEntries_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCommunity_TerminateGamePersonalDataEntries_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 gceresult = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gceresult(), 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:CCommunity_TerminateGamePersonalDataEntries_Response) + return target; +} + +size_t CCommunity_TerminateGamePersonalDataEntries_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCommunity_TerminateGamePersonalDataEntries_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; + + // optional uint32 gceresult = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gceresult()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_TerminateGamePersonalDataEntries_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCommunity_TerminateGamePersonalDataEntries_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_TerminateGamePersonalDataEntries_Response::GetClassData() const { return &_class_data_; } + + +void CCommunity_TerminateGamePersonalDataEntries_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:CCommunity_TerminateGamePersonalDataEntries_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_gceresult()) { + _this->_internal_set_gceresult(from._internal_gceresult()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCommunity_TerminateGamePersonalDataEntries_Response::CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_TerminateGamePersonalDataEntries_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCommunity_TerminateGamePersonalDataEntries_Response::IsInitialized() const { + return true; +} + +void CCommunity_TerminateGamePersonalDataEntries_Response::InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.gceresult_, other->_impl_.gceresult_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_TerminateGamePersonalDataEntries_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, + file_level_metadata_gcsystemmsgs_2eproto[13]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgGCHVacVerificationChange* +Arena::CreateMaybeMessage< ::CMsgGCHVacVerificationChange >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCHVacVerificationChange >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCHAccountPhoneNumberChange* +Arena::CreateMaybeMessage< ::CMsgGCHAccountPhoneNumberChange >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCHAccountPhoneNumberChange >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCHInviteUserToLobby* +Arena::CreateMaybeMessage< ::CMsgGCHInviteUserToLobby >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCHInviteUserToLobby >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgGCHRecurringSubscriptionStatusChange* +Arena::CreateMaybeMessage< ::CMsgGCHRecurringSubscriptionStatusChange >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgGCHRecurringSubscriptionStatusChange >(arena); +} +template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* +Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >(Arena* arena) { + return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >(arena); +} +template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Request* +Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Response* +Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_GamePersonalDataCategoryInfo* +Arena::CreateMaybeMessage< ::CCommunity_GamePersonalDataCategoryInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_GamePersonalDataCategoryInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataCategories_Request* +Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataCategories_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataCategories_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataCategories_Response* +Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataCategories_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataCategories_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataEntries_Request* +Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataEntries_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataEntries_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataEntries_Response* +Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataEntries_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataEntries_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_TerminateGamePersonalDataEntries_Request* +Arena::CreateMaybeMessage< ::CCommunity_TerminateGamePersonalDataEntries_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_TerminateGamePersonalDataEntries_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCommunity_TerminateGamePersonalDataEntries_Response* +Arena::CreateMaybeMessage< ::CCommunity_TerminateGamePersonalDataEntries_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCommunity_TerminateGamePersonalDataEntries_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.h new file mode 100644 index 0000000..d39fc39 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/gcsystemmsgs.pb.h @@ -0,0 +1,4973 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gcsystemmsgs.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_gcsystemmsgs_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_gcsystemmsgs_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gcsystemmsgs_2eproto; +class CCommunity_GamePersonalDataCategoryInfo; +struct CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal; +extern CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal _CCommunity_GamePersonalDataCategoryInfo_default_instance_; +class CCommunity_GetGamePersonalDataCategories_Request; +struct CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal; +extern CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Request_default_instance_; +class CCommunity_GetGamePersonalDataCategories_Response; +struct CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal; +extern CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Response_default_instance_; +class CCommunity_GetGamePersonalDataEntries_Request; +struct CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal; +extern CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Request_default_instance_; +class CCommunity_GetGamePersonalDataEntries_Response; +struct CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal; +extern CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Response_default_instance_; +class CCommunity_TerminateGamePersonalDataEntries_Request; +struct CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal; +extern CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_; +class CCommunity_TerminateGamePersonalDataEntries_Response; +struct CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal; +extern CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_; +class CMsgGCHAccountPhoneNumberChange; +struct CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal; +extern CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal _CMsgGCHAccountPhoneNumberChange_default_instance_; +class CMsgGCHInviteUserToLobby; +struct CMsgGCHInviteUserToLobbyDefaultTypeInternal; +extern CMsgGCHInviteUserToLobbyDefaultTypeInternal _CMsgGCHInviteUserToLobby_default_instance_; +class CMsgGCHRecurringSubscriptionStatusChange; +struct CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal; +extern CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal _CMsgGCHRecurringSubscriptionStatusChange_default_instance_; +class CMsgGCHVacVerificationChange; +struct CMsgGCHVacVerificationChangeDefaultTypeInternal; +extern CMsgGCHVacVerificationChangeDefaultTypeInternal _CMsgGCHVacVerificationChange_default_instance_; +class CQuest_PublisherAddCommunityItemsToPlayer_Request; +struct CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal; +extern CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_; +class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute; +struct CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal; +extern CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_; +class CQuest_PublisherAddCommunityItemsToPlayer_Response; +struct CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal; +extern CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CCommunity_GamePersonalDataCategoryInfo* Arena::CreateMaybeMessage<::CCommunity_GamePersonalDataCategoryInfo>(Arena*); +template<> ::CCommunity_GetGamePersonalDataCategories_Request* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataCategories_Request>(Arena*); +template<> ::CCommunity_GetGamePersonalDataCategories_Response* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataCategories_Response>(Arena*); +template<> ::CCommunity_GetGamePersonalDataEntries_Request* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataEntries_Request>(Arena*); +template<> ::CCommunity_GetGamePersonalDataEntries_Response* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataEntries_Response>(Arena*); +template<> ::CCommunity_TerminateGamePersonalDataEntries_Request* Arena::CreateMaybeMessage<::CCommunity_TerminateGamePersonalDataEntries_Request>(Arena*); +template<> ::CCommunity_TerminateGamePersonalDataEntries_Response* Arena::CreateMaybeMessage<::CCommunity_TerminateGamePersonalDataEntries_Response>(Arena*); +template<> ::CMsgGCHAccountPhoneNumberChange* Arena::CreateMaybeMessage<::CMsgGCHAccountPhoneNumberChange>(Arena*); +template<> ::CMsgGCHInviteUserToLobby* Arena::CreateMaybeMessage<::CMsgGCHInviteUserToLobby>(Arena*); +template<> ::CMsgGCHRecurringSubscriptionStatusChange* Arena::CreateMaybeMessage<::CMsgGCHRecurringSubscriptionStatusChange>(Arena*); +template<> ::CMsgGCHVacVerificationChange* Arena::CreateMaybeMessage<::CMsgGCHVacVerificationChange>(Arena*); +template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Request* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Request>(Arena*); +template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute>(Arena*); +template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Response* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Response>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EGCSystemMsg : int { + k_EGCMsgInvalid = 0, + k_EGCMsgMulti = 1, + k_EGCMsgGenericReply = 10, + k_EGCMsgSystemBase = 50, + k_EGCMsgAchievementAwarded = 51, + k_EGCMsgConCommand = 52, + k_EGCMsgStartPlaying = 53, + k_EGCMsgStopPlaying = 54, + k_EGCMsgStartGameserver = 55, + k_EGCMsgStopGameserver = 56, + k_EGCMsgWGRequest = 57, + k_EGCMsgWGResponse = 58, + k_EGCMsgGetUserGameStatsSchema = 59, + k_EGCMsgGetUserGameStatsSchemaResponse = 60, + k_EGCMsgGetUserStatsDEPRECATED = 61, + k_EGCMsgGetUserStatsResponse = 62, + k_EGCMsgAppInfoUpdated = 63, + k_EGCMsgValidateSession = 64, + k_EGCMsgValidateSessionResponse = 65, + k_EGCMsgLookupAccountFromInput = 66, + k_EGCMsgSendHTTPRequest = 67, + k_EGCMsgSendHTTPRequestResponse = 68, + k_EGCMsgPreTestSetup = 69, + k_EGCMsgRecordSupportAction = 70, + k_EGCMsgGetAccountDetails_DEPRECATED = 71, + k_EGCMsgReceiveInterAppMessage = 73, + k_EGCMsgFindAccounts = 74, + k_EGCMsgPostAlert = 75, + k_EGCMsgGetLicenses = 76, + k_EGCMsgGetUserStats = 77, + k_EGCMsgGetCommands = 78, + k_EGCMsgGetCommandsResponse = 79, + k_EGCMsgAddFreeLicense = 80, + k_EGCMsgAddFreeLicenseResponse = 81, + k_EGCMsgGetIPLocation = 82, + k_EGCMsgGetIPLocationResponse = 83, + k_EGCMsgSystemStatsSchema = 84, + k_EGCMsgGetSystemStats = 85, + k_EGCMsgGetSystemStatsResponse = 86, + k_EGCMsgSendEmail = 87, + k_EGCMsgSendEmailResponse = 88, + k_EGCMsgGetEmailTemplate = 89, + k_EGCMsgGetEmailTemplateResponse = 90, + k_EGCMsgGrantGuestPass = 91, + k_EGCMsgGrantGuestPassResponse = 92, + k_EGCMsgGetAccountDetails = 93, + k_EGCMsgGetAccountDetailsResponse = 94, + k_EGCMsgGetPersonaNames = 95, + k_EGCMsgGetPersonaNamesResponse = 96, + k_EGCMsgMultiplexMsg = 97, + k_EGCMsgMultiplexMsgResponse = 98, + k_EGCMsgWebAPIRegisterInterfaces = 101, + k_EGCMsgWebAPIJobRequest = 102, + k_EGCMsgWebAPIJobRequestHttpResponse = 104, + k_EGCMsgWebAPIJobRequestForwardResponse = 105, + k_EGCMsgMemCachedGet = 200, + k_EGCMsgMemCachedGetResponse = 201, + k_EGCMsgMemCachedSet = 202, + k_EGCMsgMemCachedDelete = 203, + k_EGCMsgMemCachedStats = 204, + k_EGCMsgMemCachedStatsResponse = 205, + k_EGCMsgMasterSetDirectory = 220, + k_EGCMsgMasterSetDirectoryResponse = 221, + k_EGCMsgMasterSetWebAPIRouting = 222, + k_EGCMsgMasterSetWebAPIRoutingResponse = 223, + k_EGCMsgMasterSetClientMsgRouting = 224, + k_EGCMsgMasterSetClientMsgRoutingResponse = 225, + k_EGCMsgSetOptions = 226, + k_EGCMsgSetOptionsResponse = 227, + k_EGCMsgSystemBase2 = 500, + k_EGCMsgGetPurchaseTrustStatus = 501, + k_EGCMsgGetPurchaseTrustStatusResponse = 502, + k_EGCMsgUpdateSession = 503, + k_EGCMsgGCAccountVacStatusChange = 504, + k_EGCMsgCheckFriendship = 505, + k_EGCMsgCheckFriendshipResponse = 506, + k_EGCMsgGetPartnerAccountLink = 507, + k_EGCMsgGetPartnerAccountLinkResponse = 508, + k_EGCMsgDPPartnerMicroTxns = 512, + k_EGCMsgDPPartnerMicroTxnsResponse = 513, + k_EGCMsgVacVerificationChange = 518, + k_EGCMsgAccountPhoneNumberChange = 519, + k_EGCMsgInviteUserToLobby = 523, + k_EGCMsgGetGamePersonalDataCategoriesRequest = 524, + k_EGCMsgGetGamePersonalDataCategoriesResponse = 525, + k_EGCMsgGetGamePersonalDataEntriesRequest = 526, + k_EGCMsgGetGamePersonalDataEntriesResponse = 527, + k_EGCMsgTerminateGamePersonalDataEntriesRequest = 528, + k_EGCMsgTerminateGamePersonalDataEntriesResponse = 529, + k_EGCMsgRecurringSubscriptionStatusChange = 530, + k_EGCMsgDirectServiceMethod = 531, + k_EGCMsgDirectServiceMethodResponse = 532 +}; +bool EGCSystemMsg_IsValid(int value); +constexpr EGCSystemMsg EGCSystemMsg_MIN = k_EGCMsgInvalid; +constexpr EGCSystemMsg EGCSystemMsg_MAX = k_EGCMsgDirectServiceMethodResponse; +constexpr int EGCSystemMsg_ARRAYSIZE = EGCSystemMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCSystemMsg_descriptor(); +template +inline const std::string& EGCSystemMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCSystemMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCSystemMsg_descriptor(), enum_t_value); +} +inline bool EGCSystemMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCSystemMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCSystemMsg_descriptor(), name, value); +} +enum ESOMsg : int { + k_ESOMsg_Create = 21, + k_ESOMsg_Update = 22, + k_ESOMsg_Destroy = 23, + k_ESOMsg_CacheSubscribed = 24, + k_ESOMsg_CacheUnsubscribed = 25, + k_ESOMsg_UpdateMultiple = 26, + k_ESOMsg_CacheSubscriptionCheck = 27, + k_ESOMsg_CacheSubscriptionRefresh = 28 +}; +bool ESOMsg_IsValid(int value); +constexpr ESOMsg ESOMsg_MIN = k_ESOMsg_Create; +constexpr ESOMsg ESOMsg_MAX = k_ESOMsg_CacheSubscriptionRefresh; +constexpr int ESOMsg_ARRAYSIZE = ESOMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESOMsg_descriptor(); +template +inline const std::string& ESOMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESOMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESOMsg_descriptor(), enum_t_value); +} +inline bool ESOMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESOMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESOMsg_descriptor(), name, value); +} +enum EGCBaseClientMsg : int { + k_EMsgGCClientWelcome = 4004, + k_EMsgGCServerWelcome = 4005, + k_EMsgGCClientHello = 4006, + k_EMsgGCServerHello = 4007, + k_EMsgGCClientConnectionStatus = 4009, + k_EMsgGCServerConnectionStatus = 4010, + k_EMsgGCClientHelloPartner = 4011, + k_EMsgGCClientHelloPW = 4012, + k_EMsgGCClientHelloR2 = 4013, + k_EMsgGCClientHelloR3 = 4014, + k_EMsgGCClientHelloR4 = 4015 +}; +bool EGCBaseClientMsg_IsValid(int value); +constexpr EGCBaseClientMsg EGCBaseClientMsg_MIN = k_EMsgGCClientWelcome; +constexpr EGCBaseClientMsg EGCBaseClientMsg_MAX = k_EMsgGCClientHelloR4; +constexpr int EGCBaseClientMsg_ARRAYSIZE = EGCBaseClientMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseClientMsg_descriptor(); +template +inline const std::string& EGCBaseClientMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCBaseClientMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCBaseClientMsg_descriptor(), enum_t_value); +} +inline bool EGCBaseClientMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseClientMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCBaseClientMsg_descriptor(), name, value); +} +enum EGCToGCMsg : int { + k_EGCToGCMsgMasterAck = 150, + k_EGCToGCMsgMasterAckResponse = 151, + k_EGCToGCMsgRouted = 152, + k_EGCToGCMsgRoutedReply = 153, + k_EMsgUpdateSessionIP = 154, + k_EMsgRequestSessionIP = 155, + k_EMsgRequestSessionIPResponse = 156, + k_EGCToGCMsgMasterStartupComplete = 157 +}; +bool EGCToGCMsg_IsValid(int value); +constexpr EGCToGCMsg EGCToGCMsg_MIN = k_EGCToGCMsgMasterAck; +constexpr EGCToGCMsg EGCToGCMsg_MAX = k_EGCToGCMsgMasterStartupComplete; +constexpr int EGCToGCMsg_ARRAYSIZE = EGCToGCMsg_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCToGCMsg_descriptor(); +template +inline const std::string& EGCToGCMsg_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EGCToGCMsg_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EGCToGCMsg_descriptor(), enum_t_value); +} +inline bool EGCToGCMsg_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCToGCMsg* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EGCToGCMsg_descriptor(), name, value); +} +enum ECommunityItemClass : int { + k_ECommunityItemClass_Invalid = 0, + k_ECommunityItemClass_Badge = 1, + k_ECommunityItemClass_GameCard = 2, + k_ECommunityItemClass_ProfileBackground = 3, + k_ECommunityItemClass_Emoticon = 4, + k_ECommunityItemClass_BoosterPack = 5, + k_ECommunityItemClass_Consumable = 6, + k_ECommunityItemClass_GameGoo = 7, + k_ECommunityItemClass_ProfileModifier = 8, + k_ECommunityItemClass_Scene = 9, + k_ECommunityItemClass_SalienItem = 10 +}; +bool ECommunityItemClass_IsValid(int value); +constexpr ECommunityItemClass ECommunityItemClass_MIN = k_ECommunityItemClass_Invalid; +constexpr ECommunityItemClass ECommunityItemClass_MAX = k_ECommunityItemClass_SalienItem; +constexpr int ECommunityItemClass_ARRAYSIZE = ECommunityItemClass_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemClass_descriptor(); +template +inline const std::string& ECommunityItemClass_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECommunityItemClass_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECommunityItemClass_descriptor(), enum_t_value); +} +inline bool ECommunityItemClass_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECommunityItemClass* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECommunityItemClass_descriptor(), name, value); +} +enum ECommunityItemAttribute : int { + k_ECommunityItemAttribute_Invalid = 0, + k_ECommunityItemAttribute_CardBorder = 1, + k_ECommunityItemAttribute_Level = 2, + k_ECommunityItemAttribute_IssueNumber = 3, + k_ECommunityItemAttribute_TradableTime = 4, + k_ECommunityItemAttribute_StorePackageID = 5, + k_ECommunityItemAttribute_CommunityItemAppID = 6, + k_ECommunityItemAttribute_CommunityItemType = 7, + k_ECommunityItemAttribute_ProfileModiferEnabled = 8, + k_ECommunityItemAttribute_ExpiryTime = 9 +}; +bool ECommunityItemAttribute_IsValid(int value); +constexpr ECommunityItemAttribute ECommunityItemAttribute_MIN = k_ECommunityItemAttribute_Invalid; +constexpr ECommunityItemAttribute ECommunityItemAttribute_MAX = k_ECommunityItemAttribute_ExpiryTime; +constexpr int ECommunityItemAttribute_ARRAYSIZE = ECommunityItemAttribute_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemAttribute_descriptor(); +template +inline const std::string& ECommunityItemAttribute_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ECommunityItemAttribute_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ECommunityItemAttribute_descriptor(), enum_t_value); +} +inline bool ECommunityItemAttribute_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECommunityItemAttribute* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ECommunityItemAttribute_descriptor(), name, value); +} +// =================================================================== + +class CMsgGCHVacVerificationChange final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHVacVerificationChange) */ { + public: + inline CMsgGCHVacVerificationChange() : CMsgGCHVacVerificationChange(nullptr) {} + ~CMsgGCHVacVerificationChange() override; + explicit PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCHVacVerificationChange(const CMsgGCHVacVerificationChange& from); + CMsgGCHVacVerificationChange(CMsgGCHVacVerificationChange&& from) noexcept + : CMsgGCHVacVerificationChange() { + *this = ::std::move(from); + } + + inline CMsgGCHVacVerificationChange& operator=(const CMsgGCHVacVerificationChange& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCHVacVerificationChange& operator=(CMsgGCHVacVerificationChange&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCHVacVerificationChange& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCHVacVerificationChange* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCHVacVerificationChange_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgGCHVacVerificationChange& a, CMsgGCHVacVerificationChange& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCHVacVerificationChange* 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(CMsgGCHVacVerificationChange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCHVacVerificationChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCHVacVerificationChange& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCHVacVerificationChange& from) { + CMsgGCHVacVerificationChange::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(CMsgGCHVacVerificationChange* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCHVacVerificationChange"; + } + protected: + explicit CMsgGCHVacVerificationChange(::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 { + kSteamidFieldNumber = 1, + kAppidFieldNumber = 2, + kIsVerifiedFieldNumber = 3, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool is_verified = 3; + bool has_is_verified() const; + private: + bool _internal_has_is_verified() const; + public: + void clear_is_verified(); + bool is_verified() const; + void set_is_verified(bool value); + private: + bool _internal_is_verified() const; + void _internal_set_is_verified(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCHVacVerificationChange) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint32_t appid_; + bool is_verified_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCHAccountPhoneNumberChange final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHAccountPhoneNumberChange) */ { + public: + inline CMsgGCHAccountPhoneNumberChange() : CMsgGCHAccountPhoneNumberChange(nullptr) {} + ~CMsgGCHAccountPhoneNumberChange() override; + explicit PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCHAccountPhoneNumberChange(const CMsgGCHAccountPhoneNumberChange& from); + CMsgGCHAccountPhoneNumberChange(CMsgGCHAccountPhoneNumberChange&& from) noexcept + : CMsgGCHAccountPhoneNumberChange() { + *this = ::std::move(from); + } + + inline CMsgGCHAccountPhoneNumberChange& operator=(const CMsgGCHAccountPhoneNumberChange& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCHAccountPhoneNumberChange& operator=(CMsgGCHAccountPhoneNumberChange&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCHAccountPhoneNumberChange& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCHAccountPhoneNumberChange* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCHAccountPhoneNumberChange_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgGCHAccountPhoneNumberChange& a, CMsgGCHAccountPhoneNumberChange& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCHAccountPhoneNumberChange* 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(CMsgGCHAccountPhoneNumberChange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCHAccountPhoneNumberChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCHAccountPhoneNumberChange& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCHAccountPhoneNumberChange& from) { + CMsgGCHAccountPhoneNumberChange::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(CMsgGCHAccountPhoneNumberChange* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCHAccountPhoneNumberChange"; + } + protected: + explicit CMsgGCHAccountPhoneNumberChange(::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 { + kSteamidFieldNumber = 1, + kPhoneIdFieldNumber = 3, + kAppidFieldNumber = 2, + kIsVerifiedFieldNumber = 4, + kIsIdentifyingFieldNumber = 5, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint64 phone_id = 3; + bool has_phone_id() const; + private: + bool _internal_has_phone_id() const; + public: + void clear_phone_id(); + uint64_t phone_id() const; + void set_phone_id(uint64_t value); + private: + uint64_t _internal_phone_id() const; + void _internal_set_phone_id(uint64_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool is_verified = 4; + bool has_is_verified() const; + private: + bool _internal_has_is_verified() const; + public: + void clear_is_verified(); + bool is_verified() const; + void set_is_verified(bool value); + private: + bool _internal_is_verified() const; + void _internal_set_is_verified(bool value); + public: + + // optional bool is_identifying = 5; + bool has_is_identifying() const; + private: + bool _internal_has_is_identifying() const; + public: + void clear_is_identifying(); + bool is_identifying() const; + void set_is_identifying(bool value); + private: + bool _internal_is_identifying() const; + void _internal_set_is_identifying(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCHAccountPhoneNumberChange) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint64_t phone_id_; + uint32_t appid_; + bool is_verified_; + bool is_identifying_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCHInviteUserToLobby final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHInviteUserToLobby) */ { + public: + inline CMsgGCHInviteUserToLobby() : CMsgGCHInviteUserToLobby(nullptr) {} + ~CMsgGCHInviteUserToLobby() override; + explicit PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCHInviteUserToLobby(const CMsgGCHInviteUserToLobby& from); + CMsgGCHInviteUserToLobby(CMsgGCHInviteUserToLobby&& from) noexcept + : CMsgGCHInviteUserToLobby() { + *this = ::std::move(from); + } + + inline CMsgGCHInviteUserToLobby& operator=(const CMsgGCHInviteUserToLobby& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCHInviteUserToLobby& operator=(CMsgGCHInviteUserToLobby&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCHInviteUserToLobby& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCHInviteUserToLobby* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCHInviteUserToLobby_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgGCHInviteUserToLobby& a, CMsgGCHInviteUserToLobby& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCHInviteUserToLobby* 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(CMsgGCHInviteUserToLobby* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCHInviteUserToLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCHInviteUserToLobby& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCHInviteUserToLobby& from) { + CMsgGCHInviteUserToLobby::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(CMsgGCHInviteUserToLobby* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCHInviteUserToLobby"; + } + protected: + explicit CMsgGCHInviteUserToLobby(::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 { + kSteamidFieldNumber = 1, + kSteamidInvitedFieldNumber = 3, + kSteamidLobbyFieldNumber = 4, + kAppidFieldNumber = 2, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional fixed64 steamid_invited = 3; + bool has_steamid_invited() const; + private: + bool _internal_has_steamid_invited() const; + public: + void clear_steamid_invited(); + uint64_t steamid_invited() const; + void set_steamid_invited(uint64_t value); + private: + uint64_t _internal_steamid_invited() const; + void _internal_set_steamid_invited(uint64_t value); + public: + + // optional fixed64 steamid_lobby = 4; + bool has_steamid_lobby() const; + private: + bool _internal_has_steamid_lobby() const; + public: + void clear_steamid_lobby(); + uint64_t steamid_lobby() const; + void set_steamid_lobby(uint64_t value); + private: + uint64_t _internal_steamid_lobby() const; + void _internal_set_steamid_lobby(uint64_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCHInviteUserToLobby) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint64_t steamid_invited_; + uint64_t steamid_lobby_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgGCHRecurringSubscriptionStatusChange final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHRecurringSubscriptionStatusChange) */ { + public: + inline CMsgGCHRecurringSubscriptionStatusChange() : CMsgGCHRecurringSubscriptionStatusChange(nullptr) {} + ~CMsgGCHRecurringSubscriptionStatusChange() override; + explicit PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgGCHRecurringSubscriptionStatusChange(const CMsgGCHRecurringSubscriptionStatusChange& from); + CMsgGCHRecurringSubscriptionStatusChange(CMsgGCHRecurringSubscriptionStatusChange&& from) noexcept + : CMsgGCHRecurringSubscriptionStatusChange() { + *this = ::std::move(from); + } + + inline CMsgGCHRecurringSubscriptionStatusChange& operator=(const CMsgGCHRecurringSubscriptionStatusChange& from) { + CopyFrom(from); + return *this; + } + inline CMsgGCHRecurringSubscriptionStatusChange& operator=(CMsgGCHRecurringSubscriptionStatusChange&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgGCHRecurringSubscriptionStatusChange& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgGCHRecurringSubscriptionStatusChange* internal_default_instance() { + return reinterpret_cast( + &_CMsgGCHRecurringSubscriptionStatusChange_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgGCHRecurringSubscriptionStatusChange& a, CMsgGCHRecurringSubscriptionStatusChange& b) { + a.Swap(&b); + } + inline void Swap(CMsgGCHRecurringSubscriptionStatusChange* 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(CMsgGCHRecurringSubscriptionStatusChange* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgGCHRecurringSubscriptionStatusChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgGCHRecurringSubscriptionStatusChange& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgGCHRecurringSubscriptionStatusChange& from) { + CMsgGCHRecurringSubscriptionStatusChange::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(CMsgGCHRecurringSubscriptionStatusChange* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgGCHRecurringSubscriptionStatusChange"; + } + protected: + explicit CMsgGCHRecurringSubscriptionStatusChange(::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 { + kSteamidFieldNumber = 1, + kAgreementidFieldNumber = 3, + kAppidFieldNumber = 2, + kActiveFieldNumber = 4, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional fixed64 agreementid = 3; + bool has_agreementid() const; + private: + bool _internal_has_agreementid() const; + public: + void clear_agreementid(); + uint64_t agreementid() const; + void set_agreementid(uint64_t value); + private: + uint64_t _internal_agreementid() const; + void _internal_set_agreementid(uint64_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool active = 4; + bool has_active() const; + private: + bool _internal_has_active() const; + public: + void clear_active(); + bool active() const; + void set_active(bool value); + private: + bool _internal_active() const; + void _internal_set_active(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgGCHRecurringSubscriptionStatusChange) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint64_t agreementid_; + uint32_t appid_; + bool active_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) */ { + public: + inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() : CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(nullptr) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() override; + explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from); + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute&& from) noexcept + : CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() { + *this = ::std::move(from); + } + + inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { + CopyFrom(from); + return *this; + } + inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& operator=(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& default_instance() { + return *internal_default_instance(); + } + static inline const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* internal_default_instance() { + return reinterpret_cast( + &_CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& a, CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& b) { + a.Swap(&b); + } + inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* 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(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { + CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::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(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute"; + } + protected: + explicit CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::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 { + kValueFieldNumber = 2, + kAttributeFieldNumber = 1, + }; + // optional uint64 value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + uint64_t value() const; + void set_value(uint64_t value); + private: + uint64_t _internal_value() const; + void _internal_set_value(uint64_t value); + public: + + // optional uint32 attribute = 1; + bool has_attribute() const; + private: + bool _internal_has_attribute() const; + public: + void clear_attribute(); + uint32_t attribute() const; + void set_attribute(uint32_t value); + private: + uint32_t _internal_attribute() const; + void _internal_set_attribute(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t value_; + uint32_t attribute_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CQuest_PublisherAddCommunityItemsToPlayer_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Request) */ { + public: + inline CQuest_PublisherAddCommunityItemsToPlayer_Request() : CQuest_PublisherAddCommunityItemsToPlayer_Request(nullptr) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_Request() override; + explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CQuest_PublisherAddCommunityItemsToPlayer_Request(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from); + CQuest_PublisherAddCommunityItemsToPlayer_Request(CQuest_PublisherAddCommunityItemsToPlayer_Request&& from) noexcept + : CQuest_PublisherAddCommunityItemsToPlayer_Request() { + *this = ::std::move(from); + } + + inline CQuest_PublisherAddCommunityItemsToPlayer_Request& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { + CopyFrom(from); + return *this; + } + inline CQuest_PublisherAddCommunityItemsToPlayer_Request& operator=(CQuest_PublisherAddCommunityItemsToPlayer_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CQuest_PublisherAddCommunityItemsToPlayer_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CQuest_PublisherAddCommunityItemsToPlayer_Request* internal_default_instance() { + return reinterpret_cast( + &_CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Request& a, CQuest_PublisherAddCommunityItemsToPlayer_Request& b) { + a.Swap(&b); + } + inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_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(CQuest_PublisherAddCommunityItemsToPlayer_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CQuest_PublisherAddCommunityItemsToPlayer_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { + CQuest_PublisherAddCommunityItemsToPlayer_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(CQuest_PublisherAddCommunityItemsToPlayer_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CQuest_PublisherAddCommunityItemsToPlayer_Request"; + } + protected: + explicit CQuest_PublisherAddCommunityItemsToPlayer_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 ---------------------------------------------------- + + typedef CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute Attribute; + + // accessors ------------------------------------------------------- + + enum : int { + kAttributesFieldNumber = 6, + kPrefixItemNameFieldNumber = 5, + kNoteFieldNumber = 7, + kSteamidFieldNumber = 1, + kAppidFieldNumber = 2, + kMatchItemTypeFieldNumber = 3, + kMatchItemClassFieldNumber = 4, + }; + // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; + int attributes_size() const; + private: + int _internal_attributes_size() const; + public: + void clear_attributes(); + ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* mutable_attributes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >* + mutable_attributes(); + private: + const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& _internal_attributes(int index) const; + ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* _internal_add_attributes(); + public: + const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& attributes(int index) const; + ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* add_attributes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >& + attributes() const; + + // optional string prefix_item_name = 5; + bool has_prefix_item_name() const; + private: + bool _internal_has_prefix_item_name() const; + public: + void clear_prefix_item_name(); + const std::string& prefix_item_name() const; + template + void set_prefix_item_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_prefix_item_name(); + PROTOBUF_NODISCARD std::string* release_prefix_item_name(); + void set_allocated_prefix_item_name(std::string* prefix_item_name); + private: + const std::string& _internal_prefix_item_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_prefix_item_name(const std::string& value); + std::string* _internal_mutable_prefix_item_name(); + public: + + // optional string note = 7; + bool has_note() const; + private: + bool _internal_has_note() const; + public: + void clear_note(); + const std::string& note() const; + template + void set_note(ArgT0&& arg0, ArgT... args); + std::string* mutable_note(); + PROTOBUF_NODISCARD std::string* release_note(); + void set_allocated_note(std::string* note); + private: + const std::string& _internal_note() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_note(const std::string& value); + std::string* _internal_mutable_note(); + public: + + // optional uint64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 match_item_type = 3; + bool has_match_item_type() const; + private: + bool _internal_has_match_item_type() const; + public: + void clear_match_item_type(); + uint32_t match_item_type() const; + void set_match_item_type(uint32_t value); + private: + uint32_t _internal_match_item_type() const; + void _internal_set_match_item_type(uint32_t value); + public: + + // optional uint32 match_item_class = 4; + bool has_match_item_class() const; + private: + bool _internal_has_match_item_class() const; + public: + void clear_match_item_class(); + uint32_t match_item_class() const; + void set_match_item_class(uint32_t value); + private: + uint32_t _internal_match_item_class() const; + void _internal_set_match_item_class(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute > attributes_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_item_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_; + uint64_t steamid_; + uint32_t appid_; + uint32_t match_item_type_; + uint32_t match_item_class_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CQuest_PublisherAddCommunityItemsToPlayer_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Response) */ { + public: + inline CQuest_PublisherAddCommunityItemsToPlayer_Response() : CQuest_PublisherAddCommunityItemsToPlayer_Response(nullptr) {} + ~CQuest_PublisherAddCommunityItemsToPlayer_Response() override; + explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CQuest_PublisherAddCommunityItemsToPlayer_Response(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from); + CQuest_PublisherAddCommunityItemsToPlayer_Response(CQuest_PublisherAddCommunityItemsToPlayer_Response&& from) noexcept + : CQuest_PublisherAddCommunityItemsToPlayer_Response() { + *this = ::std::move(from); + } + + inline CQuest_PublisherAddCommunityItemsToPlayer_Response& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { + CopyFrom(from); + return *this; + } + inline CQuest_PublisherAddCommunityItemsToPlayer_Response& operator=(CQuest_PublisherAddCommunityItemsToPlayer_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CQuest_PublisherAddCommunityItemsToPlayer_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CQuest_PublisherAddCommunityItemsToPlayer_Response* internal_default_instance() { + return reinterpret_cast( + &_CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Response& a, CQuest_PublisherAddCommunityItemsToPlayer_Response& b) { + a.Swap(&b); + } + inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_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(CQuest_PublisherAddCommunityItemsToPlayer_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CQuest_PublisherAddCommunityItemsToPlayer_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { + CQuest_PublisherAddCommunityItemsToPlayer_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(CQuest_PublisherAddCommunityItemsToPlayer_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CQuest_PublisherAddCommunityItemsToPlayer_Response"; + } + protected: + explicit CQuest_PublisherAddCommunityItemsToPlayer_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 { + kItemsMatchedFieldNumber = 1, + kItemsGrantedFieldNumber = 2, + }; + // optional uint32 items_matched = 1; + bool has_items_matched() const; + private: + bool _internal_has_items_matched() const; + public: + void clear_items_matched(); + uint32_t items_matched() const; + void set_items_matched(uint32_t value); + private: + uint32_t _internal_items_matched() const; + void _internal_set_items_matched(uint32_t value); + public: + + // optional uint32 items_granted = 2; + bool has_items_granted() const; + private: + bool _internal_has_items_granted() const; + public: + void clear_items_granted(); + uint32_t items_granted() const; + void set_items_granted(uint32_t value); + private: + uint32_t _internal_items_granted() const; + void _internal_set_items_granted(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t items_matched_; + uint32_t items_granted_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_GamePersonalDataCategoryInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GamePersonalDataCategoryInfo) */ { + public: + inline CCommunity_GamePersonalDataCategoryInfo() : CCommunity_GamePersonalDataCategoryInfo(nullptr) {} + ~CCommunity_GamePersonalDataCategoryInfo() override; + explicit PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_GamePersonalDataCategoryInfo(const CCommunity_GamePersonalDataCategoryInfo& from); + CCommunity_GamePersonalDataCategoryInfo(CCommunity_GamePersonalDataCategoryInfo&& from) noexcept + : CCommunity_GamePersonalDataCategoryInfo() { + *this = ::std::move(from); + } + + inline CCommunity_GamePersonalDataCategoryInfo& operator=(const CCommunity_GamePersonalDataCategoryInfo& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_GamePersonalDataCategoryInfo& operator=(CCommunity_GamePersonalDataCategoryInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_GamePersonalDataCategoryInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_GamePersonalDataCategoryInfo* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_GamePersonalDataCategoryInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CCommunity_GamePersonalDataCategoryInfo& a, CCommunity_GamePersonalDataCategoryInfo& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_GamePersonalDataCategoryInfo* 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(CCommunity_GamePersonalDataCategoryInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_GamePersonalDataCategoryInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_GamePersonalDataCategoryInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_GamePersonalDataCategoryInfo& from) { + CCommunity_GamePersonalDataCategoryInfo::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(CCommunity_GamePersonalDataCategoryInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_GamePersonalDataCategoryInfo"; + } + protected: + explicit CCommunity_GamePersonalDataCategoryInfo(::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 { + kTypeFieldNumber = 1, + kLocalizationTokenFieldNumber = 2, + kTemplateFileFieldNumber = 3, + }; + // optional string type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + const std::string& type() const; + template + void set_type(ArgT0&& arg0, ArgT... args); + std::string* mutable_type(); + PROTOBUF_NODISCARD std::string* release_type(); + void set_allocated_type(std::string* type); + private: + const std::string& _internal_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); + std::string* _internal_mutable_type(); + public: + + // optional string localization_token = 2; + bool has_localization_token() const; + private: + bool _internal_has_localization_token() const; + public: + void clear_localization_token(); + const std::string& localization_token() const; + template + void set_localization_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_localization_token(); + PROTOBUF_NODISCARD std::string* release_localization_token(); + void set_allocated_localization_token(std::string* localization_token); + private: + const std::string& _internal_localization_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_localization_token(const std::string& value); + std::string* _internal_mutable_localization_token(); + public: + + // optional string template_file = 3; + bool has_template_file() const; + private: + bool _internal_has_template_file() const; + public: + void clear_template_file(); + const std::string& template_file() const; + template + void set_template_file(ArgT0&& arg0, ArgT... args); + std::string* mutable_template_file(); + PROTOBUF_NODISCARD std::string* release_template_file(); + void set_allocated_template_file(std::string* template_file); + private: + const std::string& _internal_template_file() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_template_file(const std::string& value); + std::string* _internal_mutable_template_file(); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_GamePersonalDataCategoryInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localization_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr template_file_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_GetGamePersonalDataCategories_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataCategories_Request) */ { + public: + inline CCommunity_GetGamePersonalDataCategories_Request() : CCommunity_GetGamePersonalDataCategories_Request(nullptr) {} + ~CCommunity_GetGamePersonalDataCategories_Request() override; + explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_GetGamePersonalDataCategories_Request(const CCommunity_GetGamePersonalDataCategories_Request& from); + CCommunity_GetGamePersonalDataCategories_Request(CCommunity_GetGamePersonalDataCategories_Request&& from) noexcept + : CCommunity_GetGamePersonalDataCategories_Request() { + *this = ::std::move(from); + } + + inline CCommunity_GetGamePersonalDataCategories_Request& operator=(const CCommunity_GetGamePersonalDataCategories_Request& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_GetGamePersonalDataCategories_Request& operator=(CCommunity_GetGamePersonalDataCategories_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_GetGamePersonalDataCategories_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_GetGamePersonalDataCategories_Request* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_GetGamePersonalDataCategories_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CCommunity_GetGamePersonalDataCategories_Request& a, CCommunity_GetGamePersonalDataCategories_Request& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_GetGamePersonalDataCategories_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(CCommunity_GetGamePersonalDataCategories_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_GetGamePersonalDataCategories_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_GetGamePersonalDataCategories_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_GetGamePersonalDataCategories_Request& from) { + CCommunity_GetGamePersonalDataCategories_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(CCommunity_GetGamePersonalDataCategories_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_GetGamePersonalDataCategories_Request"; + } + protected: + explicit CCommunity_GetGamePersonalDataCategories_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 { + kAppidFieldNumber = 1, + }; + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataCategories_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_GetGamePersonalDataCategories_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataCategories_Response) */ { + public: + inline CCommunity_GetGamePersonalDataCategories_Response() : CCommunity_GetGamePersonalDataCategories_Response(nullptr) {} + ~CCommunity_GetGamePersonalDataCategories_Response() override; + explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_GetGamePersonalDataCategories_Response(const CCommunity_GetGamePersonalDataCategories_Response& from); + CCommunity_GetGamePersonalDataCategories_Response(CCommunity_GetGamePersonalDataCategories_Response&& from) noexcept + : CCommunity_GetGamePersonalDataCategories_Response() { + *this = ::std::move(from); + } + + inline CCommunity_GetGamePersonalDataCategories_Response& operator=(const CCommunity_GetGamePersonalDataCategories_Response& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_GetGamePersonalDataCategories_Response& operator=(CCommunity_GetGamePersonalDataCategories_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_GetGamePersonalDataCategories_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_GetGamePersonalDataCategories_Response* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_GetGamePersonalDataCategories_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CCommunity_GetGamePersonalDataCategories_Response& a, CCommunity_GetGamePersonalDataCategories_Response& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_GetGamePersonalDataCategories_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(CCommunity_GetGamePersonalDataCategories_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_GetGamePersonalDataCategories_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_GetGamePersonalDataCategories_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_GetGamePersonalDataCategories_Response& from) { + CCommunity_GetGamePersonalDataCategories_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(CCommunity_GetGamePersonalDataCategories_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_GetGamePersonalDataCategories_Response"; + } + protected: + explicit CCommunity_GetGamePersonalDataCategories_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 { + kCategoriesFieldNumber = 1, + kAppAssetsBasenameFieldNumber = 2, + }; + // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; + int categories_size() const; + private: + int _internal_categories_size() const; + public: + void clear_categories(); + ::CCommunity_GamePersonalDataCategoryInfo* mutable_categories(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >* + mutable_categories(); + private: + const ::CCommunity_GamePersonalDataCategoryInfo& _internal_categories(int index) const; + ::CCommunity_GamePersonalDataCategoryInfo* _internal_add_categories(); + public: + const ::CCommunity_GamePersonalDataCategoryInfo& categories(int index) const; + ::CCommunity_GamePersonalDataCategoryInfo* add_categories(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >& + categories() const; + + // optional string app_assets_basename = 2; + bool has_app_assets_basename() const; + private: + bool _internal_has_app_assets_basename() const; + public: + void clear_app_assets_basename(); + const std::string& app_assets_basename() const; + template + void set_app_assets_basename(ArgT0&& arg0, ArgT... args); + std::string* mutable_app_assets_basename(); + PROTOBUF_NODISCARD std::string* release_app_assets_basename(); + void set_allocated_app_assets_basename(std::string* app_assets_basename); + private: + const std::string& _internal_app_assets_basename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_assets_basename(const std::string& value); + std::string* _internal_mutable_app_assets_basename(); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataCategories_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo > categories_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_assets_basename_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_GetGamePersonalDataEntries_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataEntries_Request) */ { + public: + inline CCommunity_GetGamePersonalDataEntries_Request() : CCommunity_GetGamePersonalDataEntries_Request(nullptr) {} + ~CCommunity_GetGamePersonalDataEntries_Request() override; + explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_GetGamePersonalDataEntries_Request(const CCommunity_GetGamePersonalDataEntries_Request& from); + CCommunity_GetGamePersonalDataEntries_Request(CCommunity_GetGamePersonalDataEntries_Request&& from) noexcept + : CCommunity_GetGamePersonalDataEntries_Request() { + *this = ::std::move(from); + } + + inline CCommunity_GetGamePersonalDataEntries_Request& operator=(const CCommunity_GetGamePersonalDataEntries_Request& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_GetGamePersonalDataEntries_Request& operator=(CCommunity_GetGamePersonalDataEntries_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_GetGamePersonalDataEntries_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_GetGamePersonalDataEntries_Request* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_GetGamePersonalDataEntries_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CCommunity_GetGamePersonalDataEntries_Request& a, CCommunity_GetGamePersonalDataEntries_Request& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_GetGamePersonalDataEntries_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(CCommunity_GetGamePersonalDataEntries_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_GetGamePersonalDataEntries_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_GetGamePersonalDataEntries_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_GetGamePersonalDataEntries_Request& from) { + CCommunity_GetGamePersonalDataEntries_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(CCommunity_GetGamePersonalDataEntries_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_GetGamePersonalDataEntries_Request"; + } + protected: + explicit CCommunity_GetGamePersonalDataEntries_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 { + kTypeFieldNumber = 3, + kContinueTokenFieldNumber = 4, + kSteamidFieldNumber = 2, + kAppidFieldNumber = 1, + }; + // optional string type = 3; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + const std::string& type() const; + template + void set_type(ArgT0&& arg0, ArgT... args); + std::string* mutable_type(); + PROTOBUF_NODISCARD std::string* release_type(); + void set_allocated_type(std::string* type); + private: + const std::string& _internal_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); + std::string* _internal_mutable_type(); + public: + + // optional string continue_token = 4; + bool has_continue_token() const; + private: + bool _internal_has_continue_token() const; + public: + void clear_continue_token(); + const std::string& continue_token() const; + template + void set_continue_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_continue_token(); + PROTOBUF_NODISCARD std::string* release_continue_token(); + void set_allocated_continue_token(std::string* continue_token); + private: + const std::string& _internal_continue_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_token(const std::string& value); + std::string* _internal_mutable_continue_token(); + public: + + // optional uint64 steamid = 2; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataEntries_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_token_; + uint64_t steamid_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_GetGamePersonalDataEntries_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataEntries_Response) */ { + public: + inline CCommunity_GetGamePersonalDataEntries_Response() : CCommunity_GetGamePersonalDataEntries_Response(nullptr) {} + ~CCommunity_GetGamePersonalDataEntries_Response() override; + explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_GetGamePersonalDataEntries_Response(const CCommunity_GetGamePersonalDataEntries_Response& from); + CCommunity_GetGamePersonalDataEntries_Response(CCommunity_GetGamePersonalDataEntries_Response&& from) noexcept + : CCommunity_GetGamePersonalDataEntries_Response() { + *this = ::std::move(from); + } + + inline CCommunity_GetGamePersonalDataEntries_Response& operator=(const CCommunity_GetGamePersonalDataEntries_Response& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_GetGamePersonalDataEntries_Response& operator=(CCommunity_GetGamePersonalDataEntries_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_GetGamePersonalDataEntries_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_GetGamePersonalDataEntries_Response* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_GetGamePersonalDataEntries_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CCommunity_GetGamePersonalDataEntries_Response& a, CCommunity_GetGamePersonalDataEntries_Response& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_GetGamePersonalDataEntries_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(CCommunity_GetGamePersonalDataEntries_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_GetGamePersonalDataEntries_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_GetGamePersonalDataEntries_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_GetGamePersonalDataEntries_Response& from) { + CCommunity_GetGamePersonalDataEntries_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(CCommunity_GetGamePersonalDataEntries_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_GetGamePersonalDataEntries_Response"; + } + protected: + explicit CCommunity_GetGamePersonalDataEntries_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 { + kEntriesFieldNumber = 2, + kContinueTokenFieldNumber = 3, + kContinueTextFieldNumber = 4, + kGceresultFieldNumber = 1, + }; + // repeated string entries = 2; + int entries_size() const; + private: + int _internal_entries_size() const; + public: + void clear_entries(); + const std::string& entries(int index) const; + std::string* mutable_entries(int index); + void set_entries(int index, const std::string& value); + void set_entries(int index, std::string&& value); + void set_entries(int index, const char* value); + void set_entries(int index, const char* value, size_t size); + std::string* add_entries(); + void add_entries(const std::string& value); + void add_entries(std::string&& value); + void add_entries(const char* value); + void add_entries(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& entries() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_entries(); + private: + const std::string& _internal_entries(int index) const; + std::string* _internal_add_entries(); + public: + + // optional string continue_token = 3; + bool has_continue_token() const; + private: + bool _internal_has_continue_token() const; + public: + void clear_continue_token(); + const std::string& continue_token() const; + template + void set_continue_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_continue_token(); + PROTOBUF_NODISCARD std::string* release_continue_token(); + void set_allocated_continue_token(std::string* continue_token); + private: + const std::string& _internal_continue_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_token(const std::string& value); + std::string* _internal_mutable_continue_token(); + public: + + // optional string continue_text = 4; + bool has_continue_text() const; + private: + bool _internal_has_continue_text() const; + public: + void clear_continue_text(); + const std::string& continue_text() const; + template + void set_continue_text(ArgT0&& arg0, ArgT... args); + std::string* mutable_continue_text(); + PROTOBUF_NODISCARD std::string* release_continue_text(); + void set_allocated_continue_text(std::string* continue_text); + private: + const std::string& _internal_continue_text() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_text(const std::string& value); + std::string* _internal_mutable_continue_text(); + public: + + // optional uint32 gceresult = 1; + bool has_gceresult() const; + private: + bool _internal_has_gceresult() const; + public: + void clear_gceresult(); + uint32_t gceresult() const; + void set_gceresult(uint32_t value); + private: + uint32_t _internal_gceresult() const; + void _internal_set_gceresult(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataEntries_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField entries_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_text_; + uint32_t gceresult_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_TerminateGamePersonalDataEntries_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_TerminateGamePersonalDataEntries_Request) */ { + public: + inline CCommunity_TerminateGamePersonalDataEntries_Request() : CCommunity_TerminateGamePersonalDataEntries_Request(nullptr) {} + ~CCommunity_TerminateGamePersonalDataEntries_Request() override; + explicit PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_TerminateGamePersonalDataEntries_Request(const CCommunity_TerminateGamePersonalDataEntries_Request& from); + CCommunity_TerminateGamePersonalDataEntries_Request(CCommunity_TerminateGamePersonalDataEntries_Request&& from) noexcept + : CCommunity_TerminateGamePersonalDataEntries_Request() { + *this = ::std::move(from); + } + + inline CCommunity_TerminateGamePersonalDataEntries_Request& operator=(const CCommunity_TerminateGamePersonalDataEntries_Request& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_TerminateGamePersonalDataEntries_Request& operator=(CCommunity_TerminateGamePersonalDataEntries_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_TerminateGamePersonalDataEntries_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_TerminateGamePersonalDataEntries_Request* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CCommunity_TerminateGamePersonalDataEntries_Request& a, CCommunity_TerminateGamePersonalDataEntries_Request& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_TerminateGamePersonalDataEntries_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(CCommunity_TerminateGamePersonalDataEntries_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_TerminateGamePersonalDataEntries_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_TerminateGamePersonalDataEntries_Request& from) { + CCommunity_TerminateGamePersonalDataEntries_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(CCommunity_TerminateGamePersonalDataEntries_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_TerminateGamePersonalDataEntries_Request"; + } + protected: + explicit CCommunity_TerminateGamePersonalDataEntries_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 { + kSteamidFieldNumber = 2, + kAppidFieldNumber = 1, + }; + // optional uint64 steamid = 2; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_TerminateGamePersonalDataEntries_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// ------------------------------------------------------------------- + +class CCommunity_TerminateGamePersonalDataEntries_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_TerminateGamePersonalDataEntries_Response) */ { + public: + inline CCommunity_TerminateGamePersonalDataEntries_Response() : CCommunity_TerminateGamePersonalDataEntries_Response(nullptr) {} + ~CCommunity_TerminateGamePersonalDataEntries_Response() override; + explicit PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCommunity_TerminateGamePersonalDataEntries_Response(const CCommunity_TerminateGamePersonalDataEntries_Response& from); + CCommunity_TerminateGamePersonalDataEntries_Response(CCommunity_TerminateGamePersonalDataEntries_Response&& from) noexcept + : CCommunity_TerminateGamePersonalDataEntries_Response() { + *this = ::std::move(from); + } + + inline CCommunity_TerminateGamePersonalDataEntries_Response& operator=(const CCommunity_TerminateGamePersonalDataEntries_Response& from) { + CopyFrom(from); + return *this; + } + inline CCommunity_TerminateGamePersonalDataEntries_Response& operator=(CCommunity_TerminateGamePersonalDataEntries_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCommunity_TerminateGamePersonalDataEntries_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCommunity_TerminateGamePersonalDataEntries_Response* internal_default_instance() { + return reinterpret_cast( + &_CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CCommunity_TerminateGamePersonalDataEntries_Response& a, CCommunity_TerminateGamePersonalDataEntries_Response& b) { + a.Swap(&b); + } + inline void Swap(CCommunity_TerminateGamePersonalDataEntries_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(CCommunity_TerminateGamePersonalDataEntries_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCommunity_TerminateGamePersonalDataEntries_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCommunity_TerminateGamePersonalDataEntries_Response& from) { + CCommunity_TerminateGamePersonalDataEntries_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(CCommunity_TerminateGamePersonalDataEntries_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCommunity_TerminateGamePersonalDataEntries_Response"; + } + protected: + explicit CCommunity_TerminateGamePersonalDataEntries_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 { + kGceresultFieldNumber = 1, + }; + // optional uint32 gceresult = 1; + bool has_gceresult() const; + private: + bool _internal_has_gceresult() const; + public: + void clear_gceresult(); + uint32_t gceresult() const; + void set_gceresult(uint32_t value); + private: + uint32_t _internal_gceresult() const; + void _internal_set_gceresult(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCommunity_TerminateGamePersonalDataEntries_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t gceresult_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_gcsystemmsgs_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgGCHVacVerificationChange + +// optional fixed64 steamid = 1; +inline bool CMsgGCHVacVerificationChange::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCHVacVerificationChange::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCHVacVerificationChange::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCHVacVerificationChange::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCHVacVerificationChange::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.steamid) + return _internal_steamid(); +} +inline void CMsgGCHVacVerificationChange::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCHVacVerificationChange::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.steamid) +} + +// optional uint32 appid = 2; +inline bool CMsgGCHVacVerificationChange::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCHVacVerificationChange::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgGCHVacVerificationChange::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgGCHVacVerificationChange::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgGCHVacVerificationChange::appid() const { + // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.appid) + return _internal_appid(); +} +inline void CMsgGCHVacVerificationChange::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CMsgGCHVacVerificationChange::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.appid) +} + +// optional bool is_verified = 3; +inline bool CMsgGCHVacVerificationChange::_internal_has_is_verified() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCHVacVerificationChange::has_is_verified() const { + return _internal_has_is_verified(); +} +inline void CMsgGCHVacVerificationChange::clear_is_verified() { + _impl_.is_verified_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgGCHVacVerificationChange::_internal_is_verified() const { + return _impl_.is_verified_; +} +inline bool CMsgGCHVacVerificationChange::is_verified() const { + // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.is_verified) + return _internal_is_verified(); +} +inline void CMsgGCHVacVerificationChange::_internal_set_is_verified(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.is_verified_ = value; +} +inline void CMsgGCHVacVerificationChange::set_is_verified(bool value) { + _internal_set_is_verified(value); + // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.is_verified) +} + +// ------------------------------------------------------------------- + +// CMsgGCHAccountPhoneNumberChange + +// optional fixed64 steamid = 1; +inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCHAccountPhoneNumberChange::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCHAccountPhoneNumberChange::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCHAccountPhoneNumberChange::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCHAccountPhoneNumberChange::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.steamid) + return _internal_steamid(); +} +inline void CMsgGCHAccountPhoneNumberChange::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCHAccountPhoneNumberChange::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.steamid) +} + +// optional uint32 appid = 2; +inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCHAccountPhoneNumberChange::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgGCHAccountPhoneNumberChange::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCHAccountPhoneNumberChange::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgGCHAccountPhoneNumberChange::appid() const { + // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.appid) + return _internal_appid(); +} +inline void CMsgGCHAccountPhoneNumberChange::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.appid_ = value; +} +inline void CMsgGCHAccountPhoneNumberChange::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.appid) +} + +// optional uint64 phone_id = 3; +inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_phone_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCHAccountPhoneNumberChange::has_phone_id() const { + return _internal_has_phone_id(); +} +inline void CMsgGCHAccountPhoneNumberChange::clear_phone_id() { + _impl_.phone_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCHAccountPhoneNumberChange::_internal_phone_id() const { + return _impl_.phone_id_; +} +inline uint64_t CMsgGCHAccountPhoneNumberChange::phone_id() const { + // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.phone_id) + return _internal_phone_id(); +} +inline void CMsgGCHAccountPhoneNumberChange::_internal_set_phone_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.phone_id_ = value; +} +inline void CMsgGCHAccountPhoneNumberChange::set_phone_id(uint64_t value) { + _internal_set_phone_id(value); + // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.phone_id) +} + +// optional bool is_verified = 4; +inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_is_verified() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCHAccountPhoneNumberChange::has_is_verified() const { + return _internal_has_is_verified(); +} +inline void CMsgGCHAccountPhoneNumberChange::clear_is_verified() { + _impl_.is_verified_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgGCHAccountPhoneNumberChange::_internal_is_verified() const { + return _impl_.is_verified_; +} +inline bool CMsgGCHAccountPhoneNumberChange::is_verified() const { + // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.is_verified) + return _internal_is_verified(); +} +inline void CMsgGCHAccountPhoneNumberChange::_internal_set_is_verified(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_verified_ = value; +} +inline void CMsgGCHAccountPhoneNumberChange::set_is_verified(bool value) { + _internal_set_is_verified(value); + // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.is_verified) +} + +// optional bool is_identifying = 5; +inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_is_identifying() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgGCHAccountPhoneNumberChange::has_is_identifying() const { + return _internal_has_is_identifying(); +} +inline void CMsgGCHAccountPhoneNumberChange::clear_is_identifying() { + _impl_.is_identifying_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgGCHAccountPhoneNumberChange::_internal_is_identifying() const { + return _impl_.is_identifying_; +} +inline bool CMsgGCHAccountPhoneNumberChange::is_identifying() const { + // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.is_identifying) + return _internal_is_identifying(); +} +inline void CMsgGCHAccountPhoneNumberChange::_internal_set_is_identifying(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_identifying_ = value; +} +inline void CMsgGCHAccountPhoneNumberChange::set_is_identifying(bool value) { + _internal_set_is_identifying(value); + // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.is_identifying) +} + +// ------------------------------------------------------------------- + +// CMsgGCHInviteUserToLobby + +// optional fixed64 steamid = 1; +inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCHInviteUserToLobby::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCHInviteUserToLobby::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCHInviteUserToLobby::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid) + return _internal_steamid(); +} +inline void CMsgGCHInviteUserToLobby::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCHInviteUserToLobby::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid) +} + +// optional uint32 appid = 2; +inline bool CMsgGCHInviteUserToLobby::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCHInviteUserToLobby::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgGCHInviteUserToLobby::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgGCHInviteUserToLobby::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgGCHInviteUserToLobby::appid() const { + // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.appid) + return _internal_appid(); +} +inline void CMsgGCHInviteUserToLobby::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CMsgGCHInviteUserToLobby::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.appid) +} + +// optional fixed64 steamid_invited = 3; +inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid_invited() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCHInviteUserToLobby::has_steamid_invited() const { + return _internal_has_steamid_invited(); +} +inline void CMsgGCHInviteUserToLobby::clear_steamid_invited() { + _impl_.steamid_invited_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid_invited() const { + return _impl_.steamid_invited_; +} +inline uint64_t CMsgGCHInviteUserToLobby::steamid_invited() const { + // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid_invited) + return _internal_steamid_invited(); +} +inline void CMsgGCHInviteUserToLobby::_internal_set_steamid_invited(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamid_invited_ = value; +} +inline void CMsgGCHInviteUserToLobby::set_steamid_invited(uint64_t value) { + _internal_set_steamid_invited(value); + // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid_invited) +} + +// optional fixed64 steamid_lobby = 4; +inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid_lobby() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCHInviteUserToLobby::has_steamid_lobby() const { + return _internal_has_steamid_lobby(); +} +inline void CMsgGCHInviteUserToLobby::clear_steamid_lobby() { + _impl_.steamid_lobby_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid_lobby() const { + return _impl_.steamid_lobby_; +} +inline uint64_t CMsgGCHInviteUserToLobby::steamid_lobby() const { + // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid_lobby) + return _internal_steamid_lobby(); +} +inline void CMsgGCHInviteUserToLobby::_internal_set_steamid_lobby(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.steamid_lobby_ = value; +} +inline void CMsgGCHInviteUserToLobby::set_steamid_lobby(uint64_t value) { + _internal_set_steamid_lobby(value); + // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid_lobby) +} + +// ------------------------------------------------------------------- + +// CMsgGCHRecurringSubscriptionStatusChange + +// optional fixed64 steamid = 1; +inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::steamid() const { + // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.steamid) + return _internal_steamid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CMsgGCHRecurringSubscriptionStatusChange::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.steamid) +} + +// optional uint32 appid = 2; +inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgGCHRecurringSubscriptionStatusChange::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgGCHRecurringSubscriptionStatusChange::appid() const { + // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.appid) + return _internal_appid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.appid_ = value; +} +inline void CMsgGCHRecurringSubscriptionStatusChange::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.appid) +} + +// optional fixed64 agreementid = 3; +inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_agreementid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::has_agreementid() const { + return _internal_has_agreementid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::clear_agreementid() { + _impl_.agreementid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::_internal_agreementid() const { + return _impl_.agreementid_; +} +inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::agreementid() const { + // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.agreementid) + return _internal_agreementid(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_agreementid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.agreementid_ = value; +} +inline void CMsgGCHRecurringSubscriptionStatusChange::set_agreementid(uint64_t value) { + _internal_set_agreementid(value); + // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.agreementid) +} + +// optional bool active = 4; +inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::has_active() const { + return _internal_has_active(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::clear_active() { + _impl_.active_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_active() const { + return _impl_.active_; +} +inline bool CMsgGCHRecurringSubscriptionStatusChange::active() const { + // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.active) + return _internal_active(); +} +inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_active(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.active_ = value; +} +inline void CMsgGCHRecurringSubscriptionStatusChange::set_active(bool value) { + _internal_set_active(value); + // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.active) +} + +// ------------------------------------------------------------------- + +// CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute + +// optional uint32 attribute = 1; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_has_attribute() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::has_attribute() const { + return _internal_has_attribute(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::clear_attribute() { + _impl_.attribute_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_attribute() const { + return _impl_.attribute_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::attribute() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.attribute) + return _internal_attribute(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_set_attribute(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attribute_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::set_attribute(uint32_t value) { + _internal_set_attribute(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.attribute) +} + +// optional uint64 value = 2; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::has_value() const { + return _internal_has_value(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::clear_value() { + _impl_.value_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_value() const { + return _impl_.value_; +} +inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::value() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.value) + return _internal_value(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_set_value(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::set_value(uint64_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.value) +} + +// ------------------------------------------------------------------- + +// CQuest_PublisherAddCommunityItemsToPlayer_Request + +// optional uint64 steamid = 1; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request::steamid() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.steamid) + return _internal_steamid(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.steamid_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.steamid) +} + +// optional uint32 appid = 2; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::appid() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.appid) + return _internal_appid(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.appid) +} + +// optional uint32 match_item_type = 3; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_match_item_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_match_item_type() const { + return _internal_has_match_item_type(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_match_item_type() { + _impl_.match_item_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_match_item_type() const { + return _impl_.match_item_type_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::match_item_type() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_type) + return _internal_match_item_type(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_match_item_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.match_item_type_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_match_item_type(uint32_t value) { + _internal_set_match_item_type(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_type) +} + +// optional uint32 match_item_class = 4; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_match_item_class() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_match_item_class() const { + return _internal_has_match_item_class(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_match_item_class() { + _impl_.match_item_class_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_match_item_class() const { + return _impl_.match_item_class_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::match_item_class() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_class) + return _internal_match_item_class(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_match_item_class(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.match_item_class_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_match_item_class(uint32_t value) { + _internal_set_match_item_class(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_class) +} + +// optional string prefix_item_name = 5; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_prefix_item_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_prefix_item_name() const { + return _internal_has_prefix_item_name(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_prefix_item_name() { + _impl_.prefix_item_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::prefix_item_name() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) + return _internal_prefix_item_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_prefix_item_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.prefix_item_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_prefix_item_name() { + std::string* _s = _internal_mutable_prefix_item_name(); + // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) + return _s; +} +inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_prefix_item_name() const { + return _impl_.prefix_item_name_.Get(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_prefix_item_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.prefix_item_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_mutable_prefix_item_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.prefix_item_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::release_prefix_item_name() { + // @@protoc_insertion_point(field_release:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) + if (!_internal_has_prefix_item_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.prefix_item_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.prefix_item_name_.IsDefault()) { + _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_allocated_prefix_item_name(std::string* prefix_item_name) { + if (prefix_item_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.prefix_item_name_.SetAllocated(prefix_item_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.prefix_item_name_.IsDefault()) { + _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) +} + +// repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; +inline int CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_attributes_size() const { + return _impl_.attributes_.size(); +} +inline int CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes_size() const { + return _internal_attributes_size(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_attributes() { + _impl_.attributes_.Clear(); +} +inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_attributes(int index) { + // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) + return _impl_.attributes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >* +CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_attributes() { + // @@protoc_insertion_point(field_mutable_list:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) + return &_impl_.attributes_; +} +inline const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_attributes(int index) const { + return _impl_.attributes_.Get(index); +} +inline const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes(int index) const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) + return _internal_attributes(index); +} +inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_add_attributes() { + return _impl_.attributes_.Add(); +} +inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::add_attributes() { + ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* _add = _internal_add_attributes(); + // @@protoc_insertion_point(field_add:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >& +CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes() const { + // @@protoc_insertion_point(field_list:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) + return _impl_.attributes_; +} + +// optional string note = 7; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_note() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_note() const { + return _internal_has_note(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_note() { + _impl_.note_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::note() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) + return _internal_note(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_note(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.note_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_note() { + std::string* _s = _internal_mutable_note(); + // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) + return _s; +} +inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_note() const { + return _impl_.note_.Get(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_note(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.note_.Set(value, GetArenaForAllocation()); +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_mutable_note() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.note_.Mutable(GetArenaForAllocation()); +} +inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::release_note() { + // @@protoc_insertion_point(field_release:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) + if (!_internal_has_note()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.note_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.note_.IsDefault()) { + _impl_.note_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_allocated_note(std::string* note) { + if (note != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.note_.SetAllocated(note, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.note_.IsDefault()) { + _impl_.note_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) +} + +// ------------------------------------------------------------------- + +// CQuest_PublisherAddCommunityItemsToPlayer_Response + +// optional uint32 items_matched = 1; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_has_items_matched() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::has_items_matched() const { + return _internal_has_items_matched(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::clear_items_matched() { + _impl_.items_matched_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_items_matched() const { + return _impl_.items_matched_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::items_matched() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_matched) + return _internal_items_matched(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_set_items_matched(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.items_matched_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::set_items_matched(uint32_t value) { + _internal_set_items_matched(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_matched) +} + +// optional uint32 items_granted = 2; +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_has_items_granted() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::has_items_granted() const { + return _internal_has_items_granted(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::clear_items_granted() { + _impl_.items_granted_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_items_granted() const { + return _impl_.items_granted_; +} +inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::items_granted() const { + // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_granted) + return _internal_items_granted(); +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_set_items_granted(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.items_granted_ = value; +} +inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::set_items_granted(uint32_t value) { + _internal_set_items_granted(value); + // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_granted) +} + +// ------------------------------------------------------------------- + +// CCommunity_GamePersonalDataCategoryInfo + +// optional string type = 1; +inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_GamePersonalDataCategoryInfo::has_type() const { + return _internal_has_type(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::clear_type() { + _impl_.type_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::type() const { + // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.type) + return _internal_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GamePersonalDataCategoryInfo::set_type(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.type) +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_type() { + std::string* _s = _internal_mutable_type(); + // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.type) + return _s; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_type() const { + return _impl_.type_.Get(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_type(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_type() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.type_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_type() { + // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.type) + if (!_internal_has_type()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.type_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.type_.IsDefault()) { + _impl_.type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_type(std::string* type) { + if (type != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.type_.SetAllocated(type, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.type_.IsDefault()) { + _impl_.type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.type) +} + +// optional string localization_token = 2; +inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_localization_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCommunity_GamePersonalDataCategoryInfo::has_localization_token() const { + return _internal_has_localization_token(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::clear_localization_token() { + _impl_.localization_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::localization_token() const { + // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.localization_token) + return _internal_localization_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GamePersonalDataCategoryInfo::set_localization_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.localization_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.localization_token) +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_localization_token() { + std::string* _s = _internal_mutable_localization_token(); + // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.localization_token) + return _s; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_localization_token() const { + return _impl_.localization_token_.Get(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_localization_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.localization_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_localization_token() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.localization_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_localization_token() { + // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.localization_token) + if (!_internal_has_localization_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.localization_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.localization_token_.IsDefault()) { + _impl_.localization_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_localization_token(std::string* localization_token) { + if (localization_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.localization_token_.SetAllocated(localization_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.localization_token_.IsDefault()) { + _impl_.localization_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.localization_token) +} + +// optional string template_file = 3; +inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_template_file() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCommunity_GamePersonalDataCategoryInfo::has_template_file() const { + return _internal_has_template_file(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::clear_template_file() { + _impl_.template_file_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::template_file() const { + // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.template_file) + return _internal_template_file(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GamePersonalDataCategoryInfo::set_template_file(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.template_file_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.template_file) +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_template_file() { + std::string* _s = _internal_mutable_template_file(); + // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.template_file) + return _s; +} +inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_template_file() const { + return _impl_.template_file_.Get(); +} +inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_template_file(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.template_file_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_template_file() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.template_file_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_template_file() { + // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.template_file) + if (!_internal_has_template_file()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.template_file_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.template_file_.IsDefault()) { + _impl_.template_file_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_template_file(std::string* template_file) { + if (template_file != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.template_file_.SetAllocated(template_file, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.template_file_.IsDefault()) { + _impl_.template_file_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.template_file) +} + +// ------------------------------------------------------------------- + +// CCommunity_GetGamePersonalDataCategories_Request + +// optional uint32 appid = 1; +inline bool CCommunity_GetGamePersonalDataCategories_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataCategories_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCommunity_GetGamePersonalDataCategories_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCommunity_GetGamePersonalDataCategories_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCommunity_GetGamePersonalDataCategories_Request::appid() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Request.appid) + return _internal_appid(); +} +inline void CCommunity_GetGamePersonalDataCategories_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CCommunity_GetGamePersonalDataCategories_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataCategories_Request.appid) +} + +// ------------------------------------------------------------------- + +// CCommunity_GetGamePersonalDataCategories_Response + +// repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; +inline int CCommunity_GetGamePersonalDataCategories_Response::_internal_categories_size() const { + return _impl_.categories_.size(); +} +inline int CCommunity_GetGamePersonalDataCategories_Response::categories_size() const { + return _internal_categories_size(); +} +inline void CCommunity_GetGamePersonalDataCategories_Response::clear_categories() { + _impl_.categories_.Clear(); +} +inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::mutable_categories(int index) { + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataCategories_Response.categories) + return _impl_.categories_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >* +CCommunity_GetGamePersonalDataCategories_Response::mutable_categories() { + // @@protoc_insertion_point(field_mutable_list:CCommunity_GetGamePersonalDataCategories_Response.categories) + return &_impl_.categories_; +} +inline const ::CCommunity_GamePersonalDataCategoryInfo& CCommunity_GetGamePersonalDataCategories_Response::_internal_categories(int index) const { + return _impl_.categories_.Get(index); +} +inline const ::CCommunity_GamePersonalDataCategoryInfo& CCommunity_GetGamePersonalDataCategories_Response::categories(int index) const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Response.categories) + return _internal_categories(index); +} +inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::_internal_add_categories() { + return _impl_.categories_.Add(); +} +inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::add_categories() { + ::CCommunity_GamePersonalDataCategoryInfo* _add = _internal_add_categories(); + // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataCategories_Response.categories) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >& +CCommunity_GetGamePersonalDataCategories_Response::categories() const { + // @@protoc_insertion_point(field_list:CCommunity_GetGamePersonalDataCategories_Response.categories) + return _impl_.categories_; +} + +// optional string app_assets_basename = 2; +inline bool CCommunity_GetGamePersonalDataCategories_Response::_internal_has_app_assets_basename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataCategories_Response::has_app_assets_basename() const { + return _internal_has_app_assets_basename(); +} +inline void CCommunity_GetGamePersonalDataCategories_Response::clear_app_assets_basename() { + _impl_.app_assets_basename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCommunity_GetGamePersonalDataCategories_Response::app_assets_basename() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) + return _internal_app_assets_basename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GetGamePersonalDataCategories_Response::set_app_assets_basename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.app_assets_basename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) +} +inline std::string* CCommunity_GetGamePersonalDataCategories_Response::mutable_app_assets_basename() { + std::string* _s = _internal_mutable_app_assets_basename(); + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataCategories_Response::_internal_app_assets_basename() const { + return _impl_.app_assets_basename_.Get(); +} +inline void CCommunity_GetGamePersonalDataCategories_Response::_internal_set_app_assets_basename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.app_assets_basename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataCategories_Response::_internal_mutable_app_assets_basename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.app_assets_basename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataCategories_Response::release_app_assets_basename() { + // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) + if (!_internal_has_app_assets_basename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.app_assets_basename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.app_assets_basename_.IsDefault()) { + _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GetGamePersonalDataCategories_Response::set_allocated_app_assets_basename(std::string* app_assets_basename) { + if (app_assets_basename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.app_assets_basename_.SetAllocated(app_assets_basename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.app_assets_basename_.IsDefault()) { + _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) +} + +// ------------------------------------------------------------------- + +// CCommunity_GetGamePersonalDataEntries_Request + +// optional uint32 appid = 1; +inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CCommunity_GetGamePersonalDataEntries_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCommunity_GetGamePersonalDataEntries_Request::appid() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.appid) + return _internal_appid(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CCommunity_GetGamePersonalDataEntries_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.appid) +} + +// optional uint64 steamid = 2; +inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CCommunity_GetGamePersonalDataEntries_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CCommunity_GetGamePersonalDataEntries_Request::steamid() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.steamid) + return _internal_steamid(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.steamid_ = value; +} +inline void CCommunity_GetGamePersonalDataEntries_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.steamid) +} + +// optional string type = 3; +inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Request::has_type() const { + return _internal_has_type(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::clear_type() { + _impl_.type_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::type() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.type) + return _internal_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GetGamePersonalDataEntries_Request::set_type(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.type) +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::mutable_type() { + std::string* _s = _internal_mutable_type(); + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Request.type) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::_internal_type() const { + return _impl_.type_.Get(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_type(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::_internal_mutable_type() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.type_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::release_type() { + // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Request.type) + if (!_internal_has_type()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.type_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.type_.IsDefault()) { + _impl_.type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GetGamePersonalDataEntries_Request::set_allocated_type(std::string* type) { + if (type != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.type_.SetAllocated(type, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.type_.IsDefault()) { + _impl_.type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Request.type) +} + +// optional string continue_token = 4; +inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_continue_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Request::has_continue_token() const { + return _internal_has_continue_token(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::clear_continue_token() { + _impl_.continue_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::continue_token() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.continue_token) + return _internal_continue_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GetGamePersonalDataEntries_Request::set_continue_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.continue_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.continue_token) +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::mutable_continue_token() { + std::string* _s = _internal_mutable_continue_token(); + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Request.continue_token) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::_internal_continue_token() const { + return _impl_.continue_token_.Get(); +} +inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_continue_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.continue_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::_internal_mutable_continue_token() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.continue_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Request::release_continue_token() { + // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Request.continue_token) + if (!_internal_has_continue_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.continue_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_token_.IsDefault()) { + _impl_.continue_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GetGamePersonalDataEntries_Request::set_allocated_continue_token(std::string* continue_token) { + if (continue_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.continue_token_.SetAllocated(continue_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_token_.IsDefault()) { + _impl_.continue_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Request.continue_token) +} + +// ------------------------------------------------------------------- + +// CCommunity_GetGamePersonalDataEntries_Response + +// optional uint32 gceresult = 1; +inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_gceresult() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Response::has_gceresult() const { + return _internal_has_gceresult(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::clear_gceresult() { + _impl_.gceresult_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CCommunity_GetGamePersonalDataEntries_Response::_internal_gceresult() const { + return _impl_.gceresult_; +} +inline uint32_t CCommunity_GetGamePersonalDataEntries_Response::gceresult() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.gceresult) + return _internal_gceresult(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_gceresult(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gceresult_ = value; +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_gceresult(uint32_t value) { + _internal_set_gceresult(value); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.gceresult) +} + +// repeated string entries = 2; +inline int CCommunity_GetGamePersonalDataEntries_Response::_internal_entries_size() const { + return _impl_.entries_.size(); +} +inline int CCommunity_GetGamePersonalDataEntries_Response::entries_size() const { + return _internal_entries_size(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::clear_entries() { + _impl_.entries_.Clear(); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::add_entries() { + std::string* _s = _internal_add_entries(); + // @@protoc_insertion_point(field_add_mutable:CCommunity_GetGamePersonalDataEntries_Response.entries) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_entries(int index) const { + return _impl_.entries_.Get(index); +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::entries(int index) const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.entries) + return _internal_entries(index); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_entries(int index) { + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.entries) + return _impl_.entries_.Mutable(index); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const std::string& value) { + _impl_.entries_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, std::string&& value) { + _impl_.entries_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.entries_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const char* value, size_t size) { + _impl_.entries_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_add_entries() { + return _impl_.entries_.Add(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const std::string& value) { + _impl_.entries_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(std::string&& value) { + _impl_.entries_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.entries_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const char* value, size_t size) { + _impl_.entries_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CCommunity_GetGamePersonalDataEntries_Response.entries) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CCommunity_GetGamePersonalDataEntries_Response::entries() const { + // @@protoc_insertion_point(field_list:CCommunity_GetGamePersonalDataEntries_Response.entries) + return _impl_.entries_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CCommunity_GetGamePersonalDataEntries_Response::mutable_entries() { + // @@protoc_insertion_point(field_mutable_list:CCommunity_GetGamePersonalDataEntries_Response.entries) + return &_impl_.entries_; +} + +// optional string continue_token = 3; +inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_continue_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Response::has_continue_token() const { + return _internal_has_continue_token(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::clear_continue_token() { + _impl_.continue_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::continue_token() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.continue_token) + return _internal_continue_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GetGamePersonalDataEntries_Response::set_continue_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.continue_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.continue_token) +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_continue_token() { + std::string* _s = _internal_mutable_continue_token(); + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.continue_token) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_continue_token() const { + return _impl_.continue_token_.Get(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_continue_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.continue_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_mutable_continue_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.continue_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::release_continue_token() { + // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Response.continue_token) + if (!_internal_has_continue_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.continue_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_token_.IsDefault()) { + _impl_.continue_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_allocated_continue_token(std::string* continue_token) { + if (continue_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.continue_token_.SetAllocated(continue_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_token_.IsDefault()) { + _impl_.continue_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Response.continue_token) +} + +// optional string continue_text = 4; +inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_continue_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCommunity_GetGamePersonalDataEntries_Response::has_continue_text() const { + return _internal_has_continue_text(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::clear_continue_text() { + _impl_.continue_text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::continue_text() const { + // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.continue_text) + return _internal_continue_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCommunity_GetGamePersonalDataEntries_Response::set_continue_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.continue_text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.continue_text) +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_continue_text() { + std::string* _s = _internal_mutable_continue_text(); + // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.continue_text) + return _s; +} +inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_continue_text() const { + return _impl_.continue_text_.Get(); +} +inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_continue_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.continue_text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_mutable_continue_text() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.continue_text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCommunity_GetGamePersonalDataEntries_Response::release_continue_text() { + // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Response.continue_text) + if (!_internal_has_continue_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.continue_text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_text_.IsDefault()) { + _impl_.continue_text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCommunity_GetGamePersonalDataEntries_Response::set_allocated_continue_text(std::string* continue_text) { + if (continue_text != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.continue_text_.SetAllocated(continue_text, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.continue_text_.IsDefault()) { + _impl_.continue_text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Response.continue_text) +} + +// ------------------------------------------------------------------- + +// CCommunity_TerminateGamePersonalDataEntries_Request + +// optional uint32 appid = 1; +inline bool CCommunity_TerminateGamePersonalDataEntries_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCommunity_TerminateGamePersonalDataEntries_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Request::appid() const { + // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Request.appid) + return _internal_appid(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Request.appid) +} + +// optional uint64 steamid = 2; +inline bool CCommunity_TerminateGamePersonalDataEntries_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_TerminateGamePersonalDataEntries_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCommunity_TerminateGamePersonalDataEntries_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CCommunity_TerminateGamePersonalDataEntries_Request::steamid() const { + // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Request.steamid) + return _internal_steamid(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CCommunity_TerminateGamePersonalDataEntries_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Request.steamid) +} + +// ------------------------------------------------------------------- + +// CCommunity_TerminateGamePersonalDataEntries_Response + +// optional uint32 gceresult = 1; +inline bool CCommunity_TerminateGamePersonalDataEntries_Response::_internal_has_gceresult() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCommunity_TerminateGamePersonalDataEntries_Response::has_gceresult() const { + return _internal_has_gceresult(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Response::clear_gceresult() { + _impl_.gceresult_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Response::_internal_gceresult() const { + return _impl_.gceresult_; +} +inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Response::gceresult() const { + // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Response.gceresult) + return _internal_gceresult(); +} +inline void CCommunity_TerminateGamePersonalDataEntries_Response::_internal_set_gceresult(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gceresult_ = value; +} +inline void CCommunity_TerminateGamePersonalDataEntries_Response::set_gceresult(uint32_t value) { + _internal_set_gceresult(value); + // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Response.gceresult) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EGCSystemMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCSystemMsg>() { + return ::EGCSystemMsg_descriptor(); +} +template <> struct is_proto_enum< ::ESOMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESOMsg>() { + return ::ESOMsg_descriptor(); +} +template <> struct is_proto_enum< ::EGCBaseClientMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseClientMsg>() { + return ::EGCBaseClientMsg_descriptor(); +} +template <> struct is_proto_enum< ::EGCToGCMsg> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EGCToGCMsg>() { + return ::EGCToGCMsg_descriptor(); +} +template <> struct is_proto_enum< ::ECommunityItemClass> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECommunityItemClass>() { + return ::ECommunityItemClass_descriptor(); +} +template <> struct is_proto_enum< ::ECommunityItemAttribute> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ECommunityItemAttribute>() { + return ::ECommunityItemAttribute_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc new file mode 100644 index 0000000..4398801 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.cc @@ -0,0 +1,31010 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: netmessages.proto + +#include "netmessages.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; + +PROTOBUF_CONSTEXPR CCLCMsg_ClientInfo::CCLCMsg_ClientInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.friends_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.send_table_crc_)*/0u + , /*decltype(_impl_.server_count_)*/0u + , /*decltype(_impl_.is_hltv_)*/false + , /*decltype(_impl_.friends_id_)*/0u} {} +struct CCLCMsg_ClientInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_ClientInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_ClientInfoDefaultTypeInternal() {} + union { + CCLCMsg_ClientInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ClientInfoDefaultTypeInternal _CCLCMsg_ClientInfo_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_Move::CCLCMsg_Move( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.last_command_number_)*/0u} {} +struct CCLCMsg_MoveDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_MoveDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_MoveDefaultTypeInternal() {} + union { + CCLCMsg_Move _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_MoveDefaultTypeInternal _CCLCMsg_Move_default_instance_; +PROTOBUF_CONSTEXPR CMsgVoiceAudio::CMsgVoiceAudio( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.packet_offsets_)*/{} + , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} + , /*decltype(_impl_.voice_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.format_)*/0 + , /*decltype(_impl_.sequence_bytes_)*/0 + , /*decltype(_impl_.section_number_)*/0u + , /*decltype(_impl_.sample_rate_)*/0u + , /*decltype(_impl_.uncompressed_sample_offset_)*/0u + , /*decltype(_impl_.num_packets_)*/0u + , /*decltype(_impl_.voice_level_)*/0} {} +struct CMsgVoiceAudioDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgVoiceAudioDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgVoiceAudioDefaultTypeInternal() {} + union { + CMsgVoiceAudio _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVoiceAudioDefaultTypeInternal _CMsgVoiceAudio_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_VoiceData::CCLCMsg_VoiceData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.audio_)*/nullptr + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.tick_)*/0u} {} +struct CCLCMsg_VoiceDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_VoiceDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_VoiceDataDefaultTypeInternal() {} + union { + CCLCMsg_VoiceData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_VoiceDataDefaultTypeInternal _CCLCMsg_VoiceData_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_BaselineAck::CCLCMsg_BaselineAck( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.baseline_tick_)*/0 + , /*decltype(_impl_.baseline_nr_)*/0} {} +struct CCLCMsg_BaselineAckDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_BaselineAckDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_BaselineAckDefaultTypeInternal() {} + union { + CCLCMsg_BaselineAck _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_BaselineAckDefaultTypeInternal _CCLCMsg_BaselineAck_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_ListenEvents::CCLCMsg_ListenEvents( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.event_mask_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CCLCMsg_ListenEventsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_ListenEventsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_ListenEventsDefaultTypeInternal() {} + union { + CCLCMsg_ListenEvents _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ListenEventsDefaultTypeInternal _CCLCMsg_ListenEvents_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cookie_)*/0 + , /*decltype(_impl_.status_code_)*/0} {} +struct CCLCMsg_RespondCvarValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_RespondCvarValueDefaultTypeInternal() {} + union { + CCLCMsg_RespondCvarValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RespondCvarValueDefaultTypeInternal _CCLCMsg_RespondCvarValue_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.progress_)*/0} {} +struct CCLCMsg_LoadingProgressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_LoadingProgressDefaultTypeInternal() {} + union { + CCLCMsg_LoadingProgress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_LoadingProgressDefaultTypeInternal _CCLCMsg_LoadingProgress_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.playername_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCLCMsg_SplitPlayerConnectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_SplitPlayerConnectDefaultTypeInternal() {} + union { + CCLCMsg_SplitPlayerConnect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_SplitPlayerConnectDefaultTypeInternal _CCLCMsg_SplitPlayerConnect_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slot_)*/0} {} +struct CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal() {} + union { + CCLCMsg_SplitPlayerDisconnect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal _CCLCMsg_SplitPlayerDisconnect_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_ServerStatus::CCLCMsg_ServerStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.simplified_)*/false} {} +struct CCLCMsg_ServerStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_ServerStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_ServerStatusDefaultTypeInternal() {} + union { + CCLCMsg_ServerStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ServerStatusDefaultTypeInternal _CCLCMsg_ServerStatus_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_RequestPause::CCLCMsg_RequestPause( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pause_type_)*/0 + , /*decltype(_impl_.pause_group_)*/0} {} +struct CCLCMsg_RequestPauseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_RequestPauseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_RequestPauseDefaultTypeInternal() {} + union { + CCLCMsg_RequestPause _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RequestPauseDefaultTypeInternal _CCLCMsg_RequestPause_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCLCMsg_CmdKeyValuesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValuesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_CmdKeyValuesDefaultTypeInternal() {} + union { + CCLCMsg_CmdKeyValues _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_CmdKeyValuesDefaultTypeInternal _CCLCMsg_CmdKeyValues_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCLCMsg_RconServerDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetailsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_RconServerDetailsDefaultTypeInternal() {} + union { + CCLCMsg_RconServerDetails _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RconServerDetailsDefaultTypeInternal _CCLCMsg_RconServerDetails_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs::CMsgSource2SystemSpecs( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cpu_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cpu_brand_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gpu_rendersystem_dll_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gpu_driver_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cpu_model_)*/0u + , /*decltype(_impl_.cpu_num_physical_)*/0u + , /*decltype(_impl_.ram_physical_total_mb_)*/0u + , /*decltype(_impl_.gpu_vendor_id_)*/0u + , /*decltype(_impl_.gpu_driver_version_high_)*/0u + , /*decltype(_impl_.gpu_driver_version_low_)*/0u + , /*decltype(_impl_.gpu_dx_support_level_)*/0u + , /*decltype(_impl_.gpu_texture_memory_size_mb_)*/0u + , /*decltype(_impl_.backbuffer_width_)*/0u + , /*decltype(_impl_.backbuffer_height_)*/0u} {} +struct CMsgSource2SystemSpecsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2SystemSpecsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2SystemSpecsDefaultTypeInternal() {} + union { + CMsgSource2SystemSpecs _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.active_samples_)*/0u + , /*decltype(_impl_.usec_max_)*/0u + , /*decltype(_impl_.active_samples_1secmax_)*/0u + , /*decltype(_impl_.usec_avg_active_)*/0u + , /*decltype(_impl_.usec_p50_active_)*/0u + , /*decltype(_impl_.usec_p99_active_)*/0u + , /*decltype(_impl_.usec_avg_all_)*/0u + , /*decltype(_impl_.usec_p50_all_)*/0u + , /*decltype(_impl_.usec_p99_all_)*/0u + , /*decltype(_impl_.usec_1secmax_avg_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p50_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p95_active_)*/0u + , /*decltype(_impl_.usec_1secmax_p99_active_)*/0u + , /*decltype(_impl_.usec_1secmax_avg_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p50_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p95_all_)*/0u + , /*decltype(_impl_.usec_1secmax_p99_all_)*/0u} {} +struct CMsgSource2VProfLiteReportItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2VProfLiteReportItemDefaultTypeInternal() {} + union { + CMsgSource2VProfLiteReportItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.items_)*/{} + , /*decltype(_impl_.total_)*/nullptr + , /*decltype(_impl_.discarded_frames_)*/0u} {} +struct CMsgSource2VProfLiteReportDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2VProfLiteReportDefaultTypeInternal() {} + union { + CMsgSource2VProfLiteReport _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.bytes_total_)*/uint64_t{0u} + , /*decltype(_impl_.duration_)*/0u + , /*decltype(_impl_.bytes_sec_p95_)*/0u + , /*decltype(_impl_.bytes_total_reliable_)*/uint64_t{0u} + , /*decltype(_impl_.bytes_total_voice_)*/uint64_t{0u} + , /*decltype(_impl_.bytes_sec_p99_)*/0u + , /*decltype(_impl_.enginemsgs_total_)*/0u + , /*decltype(_impl_.enginemsgs_sec_p95_)*/0u + , /*decltype(_impl_.enginemsgs_sec_p99_)*/0u + , /*decltype(_impl_.ticks_total_)*/0u + , /*decltype(_impl_.ticks_good_)*/0u + , /*decltype(_impl_.ticks_good_almost_late_)*/0u + , /*decltype(_impl_.ticks_fixed_dropped_)*/0u + , /*decltype(_impl_.ticks_fixed_late_)*/0u + , /*decltype(_impl_.ticks_bad_dropped_)*/0u + , /*decltype(_impl_.ticks_bad_late_)*/0u + , /*decltype(_impl_.ticks_bad_other_)*/0u + , /*decltype(_impl_.tick_missrate_samples_total_)*/0u + , /*decltype(_impl_.tick_missrate_samples_perfect_)*/0u + , /*decltype(_impl_.tick_missrate_samples_perfectnet_)*/0u + , /*decltype(_impl_.tick_missratenet_p75_x10_)*/0u + , /*decltype(_impl_.tick_missratenet_p95_x10_)*/0u + , /*decltype(_impl_.tick_missratenet_p99_x10_)*/0u + , /*decltype(_impl_.recvmargin_p1_)*/0 + , /*decltype(_impl_.recvmargin_p5_)*/0 + , /*decltype(_impl_.recvmargin_p25_)*/0 + , /*decltype(_impl_.recvmargin_p50_)*/0 + , /*decltype(_impl_.recvmargin_p75_)*/0 + , /*decltype(_impl_.recvmargin_p95_)*/0} {} +struct CMsgSource2NetworkFlowQualityDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQualityDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2NetworkFlowQualityDefaultTypeInternal() {} + union { + CMsgSource2NetworkFlowQuality _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.max_value_)*/0u} {} +struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() {} + union { + CMsgSource2PerfIntervalSample_Tag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; +PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.frame_time_max_ms_)*/0 + , /*decltype(_impl_.frame_time_avg_ms_)*/0 + , /*decltype(_impl_.frame_time_min_ms_)*/0 + , /*decltype(_impl_.frame_count_)*/0 + , /*decltype(_impl_.frame_time_total_ms_)*/0} {} +struct CMsgSource2PerfIntervalSampleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSampleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSource2PerfIntervalSampleDefaultTypeInternal() {} + union { + CMsgSource2PerfIntervalSample _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_Diagnostic::CCLCMsg_Diagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.perf_samples_)*/{} + , /*decltype(_impl_.system_specs_)*/nullptr + , /*decltype(_impl_.vprof_report_)*/nullptr + , /*decltype(_impl_.downstream_flow_)*/nullptr + , /*decltype(_impl_.upstream_flow_)*/nullptr} {} +struct CCLCMsg_DiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_DiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_DiagnosticDefaultTypeInternal() {} + union { + CCLCMsg_Diagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_DiagnosticDefaultTypeInternal _CCLCMsg_Diagnostic_default_instance_; +PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.perf_samples_)*/{} + , /*decltype(_impl_.system_specs_)*/nullptr + , /*decltype(_impl_.profile_)*/nullptr + , /*decltype(_impl_.downstream_flow_)*/nullptr + , /*decltype(_impl_.upstream_flow_)*/nullptr + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.build_id_)*/0u} {} +struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() {} + union { + CSource2Metrics_MatchPerfSummary_Notification_Client _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; +PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.clients_)*/{} + , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_profile_)*/nullptr + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.server_build_id_)*/0u + , /*decltype(_impl_.server_popid_)*/0u} {} +struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() {} + union { + CSource2Metrics_MatchPerfSummary_Notification _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_ServerInfo::CSVCMsg_ServerInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.game_dir_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sky_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.host_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.addon_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_session_manifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_session_config_)*/nullptr + , /*decltype(_impl_.protocol_)*/0 + , /*decltype(_impl_.server_count_)*/0 + , /*decltype(_impl_.is_dedicated_)*/false + , /*decltype(_impl_.is_hltv_)*/false + , /*decltype(_impl_.c_os_)*/0 + , /*decltype(_impl_.max_clients_)*/0 + , /*decltype(_impl_.max_classes_)*/0 + , /*decltype(_impl_.tick_interval_)*/0 + , /*decltype(_impl_.player_slot_)*/-1} {} +struct CSVCMsg_ServerInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_ServerInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_ServerInfoDefaultTypeInternal() {} + union { + CSVCMsg_ServerInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ServerInfoDefaultTypeInternal _CSVCMsg_ServerInfo_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.class_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.class_id_)*/0} {} +struct CSVCMsg_ClassInfo_class_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_ClassInfo_class_tDefaultTypeInternal() {} + union { + CSVCMsg_ClassInfo_class_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClassInfo_class_tDefaultTypeInternal _CSVCMsg_ClassInfo_class_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo::CSVCMsg_ClassInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.classes_)*/{} + , /*decltype(_impl_.create_on_client_)*/false} {} +struct CSVCMsg_ClassInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_ClassInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_ClassInfoDefaultTypeInternal() {} + union { + CSVCMsg_ClassInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClassInfoDefaultTypeInternal _CSVCMsg_ClassInfo_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_SetPause::CSVCMsg_SetPause( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.paused_)*/false} {} +struct CSVCMsg_SetPauseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SetPauseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SetPauseDefaultTypeInternal() {} + union { + CSVCMsg_SetPause _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SetPauseDefaultTypeInternal _CSVCMsg_SetPause_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_VoiceInit::CSVCMsg_VoiceInit( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.codec_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quality_)*/0 + , /*decltype(_impl_.version_)*/0} {} +struct CSVCMsg_VoiceInitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_VoiceInitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_VoiceInitDefaultTypeInternal() {} + union { + CSVCMsg_VoiceInit _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_VoiceInitDefaultTypeInternal _CSVCMsg_VoiceInit_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Print::CSVCMsg_Print( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CSVCMsg_PrintDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PrintDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PrintDefaultTypeInternal() {} + union { + CSVCMsg_Print _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PrintDefaultTypeInternal _CSVCMsg_Print_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_x_)*/0 + , /*decltype(_impl_.origin_y_)*/0 + , /*decltype(_impl_.origin_z_)*/0 + , /*decltype(_impl_.volume_)*/0u + , /*decltype(_impl_.delay_value_)*/0 + , /*decltype(_impl_.sequence_number_)*/0 + , /*decltype(_impl_.channel_)*/0 + , /*decltype(_impl_.pitch_)*/0 + , /*decltype(_impl_.flags_)*/0 + , /*decltype(_impl_.sound_num_)*/0u + , /*decltype(_impl_.sound_num_handle_)*/0u + , /*decltype(_impl_.speaker_entity_)*/0 + , /*decltype(_impl_.random_seed_)*/0 + , /*decltype(_impl_.sound_level_)*/0 + , /*decltype(_impl_.is_sentence_)*/false + , /*decltype(_impl_.is_ambient_)*/false + , /*decltype(_impl_.guid_)*/0u + , /*decltype(_impl_.sound_resource_id_)*/uint64_t{0u} + , /*decltype(_impl_.entity_index_)*/-1} {} +struct CSVCMsg_Sounds_sounddata_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_Sounds_sounddata_tDefaultTypeInternal() {} + union { + CSVCMsg_Sounds_sounddata_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_Sounds_sounddata_tDefaultTypeInternal _CSVCMsg_Sounds_sounddata_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Sounds::CSVCMsg_Sounds( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sounds_)*/{} + , /*decltype(_impl_.reliable_sound_)*/false} {} +struct CSVCMsg_SoundsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SoundsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SoundsDefaultTypeInternal() {} + union { + CSVCMsg_Sounds _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SoundsDefaultTypeInternal _CSVCMsg_Sounds_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Prefetch::CSVCMsg_Prefetch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sound_index_)*/0 + , /*decltype(_impl_.resource_type_)*/0} {} +struct CSVCMsg_PrefetchDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PrefetchDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PrefetchDefaultTypeInternal() {} + union { + CSVCMsg_Prefetch _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PrefetchDefaultTypeInternal _CSVCMsg_Prefetch_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_SetView::CSVCMsg_SetView( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_index_)*/-1 + , /*decltype(_impl_.slot_)*/-1} {} +struct CSVCMsg_SetViewDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SetViewDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SetViewDefaultTypeInternal() {} + union { + CSVCMsg_SetView _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SetViewDefaultTypeInternal _CSVCMsg_SetView_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_FixAngle::CSVCMsg_FixAngle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angle_)*/nullptr + , /*decltype(_impl_.relative_)*/false} {} +struct CSVCMsg_FixAngleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_FixAngleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_FixAngleDefaultTypeInternal() {} + union { + CSVCMsg_FixAngle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FixAngleDefaultTypeInternal _CSVCMsg_FixAngle_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angle_)*/nullptr} {} +struct CSVCMsg_CrosshairAngleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_CrosshairAngleDefaultTypeInternal() {} + union { + CSVCMsg_CrosshairAngle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CrosshairAngleDefaultTypeInternal _CSVCMsg_CrosshairAngle_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_BSPDecal::CSVCMsg_BSPDecal( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.decal_texture_index_)*/0 + , /*decltype(_impl_.model_index_)*/0 + , /*decltype(_impl_.low_priority_)*/false + , /*decltype(_impl_.entity_index_)*/-1} {} +struct CSVCMsg_BSPDecalDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_BSPDecalDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_BSPDecalDefaultTypeInternal() {} + union { + CSVCMsg_BSPDecal _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_BSPDecalDefaultTypeInternal _CSVCMsg_BSPDecal_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_SplitScreen::CSVCMsg_SplitScreen( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.slot_)*/0 + , /*decltype(_impl_.player_index_)*/-1} {} +struct CSVCMsg_SplitScreenDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SplitScreenDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SplitScreenDefaultTypeInternal() {} + union { + CSVCMsg_SplitScreen _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SplitScreenDefaultTypeInternal _CSVCMsg_SplitScreen_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cvar_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cookie_)*/0} {} +struct CSVCMsg_GetCvarValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GetCvarValueDefaultTypeInternal() {} + union { + CSVCMsg_GetCvarValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GetCvarValueDefaultTypeInternal _CSVCMsg_GetCvarValue_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Menu::CSVCMsg_Menu( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.menu_key_values_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dialog_type_)*/0} {} +struct CSVCMsg_MenuDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_MenuDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_MenuDefaultTypeInternal() {} + union { + CSVCMsg_Menu _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_MenuDefaultTypeInternal _CSVCMsg_Menu_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_UserMessage::CSVCMsg_UserMessage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.msg_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.msg_type_)*/0 + , /*decltype(_impl_.passthrough_)*/0} {} +struct CSVCMsg_UserMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_UserMessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_UserMessageDefaultTypeInternal() {} + union { + CSVCMsg_UserMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UserMessageDefaultTypeInternal _CSVCMsg_UserMessage_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.var_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dt_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.flags_)*/0 + , /*decltype(_impl_.priority_)*/0 + , /*decltype(_impl_.num_elements_)*/0 + , /*decltype(_impl_.low_value_)*/0 + , /*decltype(_impl_.high_value_)*/0 + , /*decltype(_impl_.num_bits_)*/0} {} +struct CSVCMsg_SendTable_sendprop_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SendTable_sendprop_tDefaultTypeInternal() {} + union { + CSVCMsg_SendTable_sendprop_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SendTable_sendprop_tDefaultTypeInternal _CSVCMsg_SendTable_sendprop_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_SendTable::CSVCMsg_SendTable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.props_)*/{} + , /*decltype(_impl_.net_table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.is_end_)*/false + , /*decltype(_impl_.needs_decoder_)*/false} {} +struct CSVCMsg_SendTableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_SendTableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_SendTableDefaultTypeInternal() {} + union { + CSVCMsg_SendTable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SendTableDefaultTypeInternal _CSVCMsg_SendTable_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_)*/0} {} +struct CSVCMsg_GameEventList_key_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameEventList_key_tDefaultTypeInternal() {} + union { + CSVCMsg_GameEventList_key_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventList_key_tDefaultTypeInternal _CSVCMsg_GameEventList_key_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.keys_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.eventid_)*/0} {} +struct CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal() {} + union { + CSVCMsg_GameEventList_descriptor_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal _CSVCMsg_GameEventList_descriptor_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameEventList::CSVCMsg_GameEventList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.descriptors_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CSVCMsg_GameEventListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameEventListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameEventListDefaultTypeInternal() {} + union { + CSVCMsg_GameEventList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventListDefaultTypeInternal _CSVCMsg_GameEventList_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_index_)*/0 + , /*decltype(_impl_.baseline_index_)*/0} {} +struct CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal() {} + union { + CSVCMsg_PacketEntities_alternate_baseline_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal _CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.header_count_)*/0} {} +struct CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal() {} + union { + CSVCMsg_PacketEntities_non_transmitted_entities_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal _CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.count_)*/0} {} +struct CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal() {} + union { + CSVCMsg_PacketEntities_outofpvs_entity_updates_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal _CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities::CSVCMsg_PacketEntities( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.alternate_baselines_)*/{} + , /*decltype(_impl_.cmd_recv_status_)*/{} + , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} + , /*decltype(_impl_.entity_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.serialized_entities_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dev_padding_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.non_transmitted_entities_)*/nullptr + , /*decltype(_impl_.outofpvs_entity_updates_)*/nullptr + , /*decltype(_impl_.max_entries_)*/0 + , /*decltype(_impl_.updated_entries_)*/0 + , /*decltype(_impl_.baseline_)*/0 + , /*decltype(_impl_.legacy_is_delta_)*/false + , /*decltype(_impl_.update_baseline_)*/false + , /*decltype(_impl_.pending_full_frame_)*/false + , /*decltype(_impl_.delta_from_)*/0 + , /*decltype(_impl_.active_spawngroup_handle_)*/0u + , /*decltype(_impl_.max_spawngroup_creationsequence_)*/0u + , /*decltype(_impl_.last_cmd_number_executed_)*/0u + , /*decltype(_impl_.server_tick_)*/0u + , /*decltype(_impl_.has_pvs_vis_bits_deprecated_)*/0u + , /*decltype(_impl_.last_cmd_number_recv_delta_)*/0 + , /*decltype(_impl_.cq_starved_command_ticks_)*/0u + , /*decltype(_impl_.cq_discarded_command_ticks_)*/0u} {} +struct CSVCMsg_PacketEntitiesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PacketEntitiesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PacketEntitiesDefaultTypeInternal() {} + union { + CSVCMsg_PacketEntities _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntitiesDefaultTypeInternal _CSVCMsg_PacketEntities_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_TempEntities::CSVCMsg_TempEntities( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reliable_)*/false + , /*decltype(_impl_.num_entries_)*/0} {} +struct CSVCMsg_TempEntitiesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_TempEntitiesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_TempEntitiesDefaultTypeInternal() {} + union { + CSVCMsg_TempEntities _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_TempEntitiesDefaultTypeInternal _CSVCMsg_TempEntities_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.string_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.num_entries_)*/0 + , /*decltype(_impl_.user_data_size_)*/0 + , /*decltype(_impl_.user_data_size_bits_)*/0 + , /*decltype(_impl_.flags_)*/0 + , /*decltype(_impl_.user_data_fixed_size_)*/false + , /*decltype(_impl_.data_compressed_)*/false + , /*decltype(_impl_.using_varint_bitcounts_)*/false + , /*decltype(_impl_.uncompressed_size_)*/0} {} +struct CSVCMsg_CreateStringTableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_CreateStringTableDefaultTypeInternal() {} + union { + CSVCMsg_CreateStringTable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CreateStringTableDefaultTypeInternal _CSVCMsg_CreateStringTable_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.string_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.table_id_)*/0 + , /*decltype(_impl_.num_changed_entries_)*/0} {} +struct CSVCMsg_UpdateStringTableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_UpdateStringTableDefaultTypeInternal() {} + union { + CSVCMsg_UpdateStringTable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UpdateStringTableDefaultTypeInternal _CSVCMsg_UpdateStringTable_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_VoiceData::CSVCMsg_VoiceData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.audio_)*/nullptr + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.proximity_)*/false + , /*decltype(_impl_.audible_mask_)*/0 + , /*decltype(_impl_.tick_)*/0u + , /*decltype(_impl_.passthrough_)*/0 + , /*decltype(_impl_.client_)*/-1} {} +struct CSVCMsg_VoiceDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_VoiceDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_VoiceDataDefaultTypeInternal() {} + union { + CSVCMsg_VoiceData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_VoiceDataDefaultTypeInternal _CSVCMsg_VoiceData_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PacketReliable::CSVCMsg_PacketReliable( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tick_)*/0 + , /*decltype(_impl_.messagessize_)*/0 + , /*decltype(_impl_.state_)*/false} {} +struct CSVCMsg_PacketReliableDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PacketReliableDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PacketReliableDefaultTypeInternal() {} + union { + CSVCMsg_PacketReliable _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketReliableDefaultTypeInternal _CSVCMsg_PacketReliable_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tick_)*/0 + , /*decltype(_impl_.section_)*/0 + , /*decltype(_impl_.total_)*/0} {} +struct CSVCMsg_FullFrameSplitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_FullFrameSplitDefaultTypeInternal() {} + union { + CSVCMsg_FullFrameSplit _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FullFrameSplitDefaultTypeInternal _CSVCMsg_FullFrameSplit_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.master_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.clients_)*/0 + , /*decltype(_impl_.slots_)*/0 + , /*decltype(_impl_.proxies_)*/0} {} +struct CSVCMsg_HLTVStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_HLTVStatusDefaultTypeInternal() {} + union { + CSVCMsg_HLTVStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HLTVStatusDefaultTypeInternal _CSVCMsg_HLTVStatus_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} +struct CSVCMsg_ServerSteamIDDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamIDDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_ServerSteamIDDefaultTypeInternal() {} + union { + CSVCMsg_ServerSteamID _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ServerSteamIDDefaultTypeInternal _CSVCMsg_ServerSteamID_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CSVCMsg_CmdKeyValuesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValuesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_CmdKeyValuesDefaultTypeInternal() {} + union { + CSVCMsg_CmdKeyValues _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CmdKeyValuesDefaultTypeInternal _CSVCMsg_CmdKeyValues_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.details_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CSVCMsg_RconServerDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetailsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_RconServerDetailsDefaultTypeInternal() {} + union { + CSVCMsg_RconServerDetails _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_RconServerDetailsDefaultTypeInternal _CSVCMsg_RconServerDetails_default_instance_; +PROTOBUF_CONSTEXPR CMsgIPCAddress::CMsgIPCAddress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.computer_guid_)*/uint64_t{0u} + , /*decltype(_impl_.process_id_)*/0u} {} +struct CMsgIPCAddressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgIPCAddressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgIPCAddressDefaultTypeInternal() {} + union { + CMsgIPCAddress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgIPCAddressDefaultTypeInternal _CMsgIPCAddress_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerPeer::CMsgServerPeer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ipc_)*/nullptr + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.they_hear_you_)*/false + , /*decltype(_impl_.you_hear_them_)*/false + , /*decltype(_impl_.is_listenserver_host_)*/false + , /*decltype(_impl_.player_slot_)*/-1} {} +struct CMsgServerPeerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerPeerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerPeerDefaultTypeInternal() {} + union { + CMsgServerPeer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerPeerDefaultTypeInternal _CMsgServerPeer_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_PeerList::CSVCMsg_PeerList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.peer_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CSVCMsg_PeerListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_PeerListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_PeerListDefaultTypeInternal() {} + union { + CSVCMsg_PeerList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PeerListDefaultTypeInternal _CSVCMsg_PeerList_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mapname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.create_tables_skipped_)*/false} {} +struct CSVCMsg_ClearAllStringTablesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTablesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_ClearAllStringTablesDefaultTypeInternal() {} + union { + CSVCMsg_ClearAllStringTables _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClearAllStringTablesDefaultTypeInternal _CSVCMsg_ClearAllStringTables_default_instance_; +PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.polymorphic_field_serializer_name_sym_)*/0 + , /*decltype(_impl_.polymorphic_field_serializer_version_)*/0} {} +struct ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal() {} + union { + ProtoFlattenedSerializerField_t_polymorphic_field_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_; +PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.polymorphic_types_)*/{} + , /*decltype(_impl_.var_type_sym_)*/0 + , /*decltype(_impl_.var_name_sym_)*/0 + , /*decltype(_impl_.bit_count_)*/0 + , /*decltype(_impl_.low_value_)*/0 + , /*decltype(_impl_.high_value_)*/0 + , /*decltype(_impl_.encode_flags_)*/0 + , /*decltype(_impl_.field_serializer_name_sym_)*/0 + , /*decltype(_impl_.field_serializer_version_)*/0 + , /*decltype(_impl_.send_node_sym_)*/0 + , /*decltype(_impl_.var_encoder_sym_)*/0 + , /*decltype(_impl_.var_serializer_sym_)*/0} {} +struct ProtoFlattenedSerializerField_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ProtoFlattenedSerializerField_tDefaultTypeInternal() {} + union { + ProtoFlattenedSerializerField_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializerField_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_default_instance_; +PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fields_index_)*/{} + , /*decltype(_impl_.serializer_name_sym_)*/0 + , /*decltype(_impl_.serializer_version_)*/0} {} +struct ProtoFlattenedSerializer_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ProtoFlattenedSerializer_tDefaultTypeInternal() {} + union { + ProtoFlattenedSerializer_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializer_tDefaultTypeInternal _ProtoFlattenedSerializer_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.serializers_)*/{} + , /*decltype(_impl_.symbols_)*/{} + , /*decltype(_impl_.fields_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CSVCMsg_FlattenedSerializerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_FlattenedSerializerDefaultTypeInternal() {} + union { + CSVCMsg_FlattenedSerializer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FlattenedSerializerDefaultTypeInternal _CSVCMsg_FlattenedSerializer_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_StopSound::CSVCMsg_StopSound( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.guid_)*/0u} {} +struct CSVCMsg_StopSoundDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_StopSoundDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_StopSoundDefaultTypeInternal() {} + union { + CSVCMsg_StopSound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_StopSoundDefaultTypeInternal _CSVCMsg_StopSound_default_instance_; +PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.posttoserver_)*/false + , /*decltype(_impl_.buftype_)*/0 + , /*decltype(_impl_.receivingclients_)*/uint64_t{0u} + , /*decltype(_impl_.clientbitcount_)*/0u} {} +struct CBidirMsg_RebroadcastGameEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CBidirMsg_RebroadcastGameEventDefaultTypeInternal() {} + union { + CBidirMsg_RebroadcastGameEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_RebroadcastGameEventDefaultTypeInternal _CBidirMsg_RebroadcastGameEvent_default_instance_; +PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.eventsource_)*/0} {} +struct CBidirMsg_RebroadcastSourceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSourceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CBidirMsg_RebroadcastSourceDefaultTypeInternal() {} + union { + CBidirMsg_RebroadcastSource _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_RebroadcastSourceDefaultTypeInternal _CBidirMsg_RebroadcastSource_default_instance_; +PROTOBUF_CONSTEXPR CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.event_id_)*/0u + , /*decltype(_impl_.sync_type_)*/0u + , /*decltype(_impl_.sync_val_uint32_)*/0u} {} +struct CBidirMsg_PredictionEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CBidirMsg_PredictionEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CBidirMsg_PredictionEventDefaultTypeInternal() {} + union { + CBidirMsg_PredictionEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_PredictionEventDefaultTypeInternal _CBidirMsg_PredictionEvent_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.port_)*/0} {} +struct CMsgServerNetworkStats_PortDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerNetworkStats_PortDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerNetworkStats_PortDefaultTypeInternal() {} + union { + CMsgServerNetworkStats_Port _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStats_PortDefaultTypeInternal _CMsgServerNetworkStats_Port_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Player::CMsgServerNetworkStats_Player( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.remote_addr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.ping_avg_ms_)*/0 + , /*decltype(_impl_.packet_loss_pct_)*/0 + , /*decltype(_impl_.is_bot_)*/false + , /*decltype(_impl_.loss_in_)*/0 + , /*decltype(_impl_.loss_out_)*/0 + , /*decltype(_impl_.engine_latency_ms_)*/0} {} +struct CMsgServerNetworkStats_PlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerNetworkStats_PlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerNetworkStats_PlayerDefaultTypeInternal() {} + union { + CMsgServerNetworkStats_Player _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStats_PlayerDefaultTypeInternal _CMsgServerNetworkStats_Player_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerNetworkStats::CMsgServerNetworkStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ports_)*/{} + , /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.dedicated_)*/false + , /*decltype(_impl_.cpu_usage_)*/0 + , /*decltype(_impl_.memory_used_mb_)*/0 + , /*decltype(_impl_.memory_free_mb_)*/0 + , /*decltype(_impl_.uptime_)*/0 + , /*decltype(_impl_.spawn_count_)*/0 + , /*decltype(_impl_.num_clients_)*/0 + , /*decltype(_impl_.num_bots_)*/0 + , /*decltype(_impl_.num_spectators_)*/0 + , /*decltype(_impl_.num_tv_relays_)*/0 + , /*decltype(_impl_.fps_)*/0 + , /*decltype(_impl_.avg_ping_ms_)*/0 + , /*decltype(_impl_.avg_engine_latency_out_)*/0 + , /*decltype(_impl_.avg_packets_out_)*/0 + , /*decltype(_impl_.avg_packets_in_)*/0 + , /*decltype(_impl_.avg_loss_out_)*/0 + , /*decltype(_impl_.avg_loss_in_)*/0 + , /*decltype(_impl_.avg_data_out_)*/0 + , /*decltype(_impl_.total_data_in_)*/uint64_t{0u} + , /*decltype(_impl_.total_packets_in_)*/uint64_t{0u} + , /*decltype(_impl_.total_data_out_)*/uint64_t{0u} + , /*decltype(_impl_.total_packets_out_)*/uint64_t{0u} + , /*decltype(_impl_.avg_data_in_)*/0} {} +struct CMsgServerNetworkStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerNetworkStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerNetworkStatsDefaultTypeInternal() {} + union { + CMsgServerNetworkStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStatsDefaultTypeInternal _CMsgServerNetworkStats_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_HltvReplay::CSVCMsg_HltvReplay( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.delay_)*/0 + , /*decltype(_impl_.replay_stop_at_)*/0 + , /*decltype(_impl_.replay_start_at_)*/0 + , /*decltype(_impl_.replay_slowdown_begin_)*/0 + , /*decltype(_impl_.replay_slowdown_end_)*/0 + , /*decltype(_impl_.replay_slowdown_rate_)*/0 + , /*decltype(_impl_.reason_)*/0 + , /*decltype(_impl_.primary_target_)*/-1} {} +struct CSVCMsg_HltvReplayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_HltvReplayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_HltvReplayDefaultTypeInternal() {} + union { + CSVCMsg_HltvReplay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HltvReplayDefaultTypeInternal _CSVCMsg_HltvReplay_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_HltvReplay::CCLCMsg_HltvReplay( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.request_)*/0 + , /*decltype(_impl_.slowdown_length_)*/0 + , /*decltype(_impl_.slowdown_rate_)*/0 + , /*decltype(_impl_.event_time_)*/0 + , /*decltype(_impl_.primary_target_)*/-1} {} +struct CCLCMsg_HltvReplayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_HltvReplayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_HltvReplayDefaultTypeInternal() {} + union { + CCLCMsg_HltvReplay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_HltvReplayDefaultTypeInternal _CCLCMsg_HltvReplay_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cmd_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CSVCMsg_Broadcast_CommandDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_CommandDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_Broadcast_CommandDefaultTypeInternal() {} + union { + CSVCMsg_Broadcast_Command _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_Broadcast_CommandDefaultTypeInternal _CSVCMsg_Broadcast_Command_default_instance_; +PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.props_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.eye_angles_)*/nullptr + , /*decltype(_impl_.view_offset_)*/nullptr + , /*decltype(_impl_.tick_)*/0 + , /*decltype(_impl_.observer_mode_)*/0 + , /*decltype(_impl_.cameraman_scoreboard_)*/false + , /*decltype(_impl_.observer_target_)*/0} {} +struct CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal() {} + union { + CCLCMsg_HltvFixupOperatorTick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal _CCLCMsg_HltvFixupOperatorTick_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.override_operator_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.mode_)*/0u} {} +struct CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal() {} + union { + CSVCMsg_HltvFixupOperatorStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal _CSVCMsg_HltvFixupOperatorStatus_default_instance_; +PROTOBUF_CONSTEXPR CMsgServerUserCmd::CMsgServerUserCmd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cmd_number_)*/0 + , /*decltype(_impl_.server_tick_executed_)*/0 + , /*decltype(_impl_.client_tick_)*/0 + , /*decltype(_impl_.player_slot_)*/-1} {} +struct CMsgServerUserCmdDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgServerUserCmdDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgServerUserCmdDefaultTypeInternal() {} + union { + CMsgServerUserCmd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerUserCmdDefaultTypeInternal _CMsgServerUserCmd_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_UserCommands::CSVCMsg_UserCommands( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.commands_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CSVCMsg_UserCommandsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_UserCommandsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_UserCommandsDefaultTypeInternal() {} + union { + CSVCMsg_UserCommands _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UserCommandsDefaultTypeInternal _CSVCMsg_UserCommands_default_instance_; +static ::_pb::Metadata file_level_metadata_netmessages_2eproto[81]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_netmessages_2eproto[13]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_netmessages_2eproto = nullptr; + +const uint32_t TableStruct_netmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.send_table_crc_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.server_count_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.is_hltv_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.friends_id_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.friends_name_), + 1, + 2, + 3, + 4, + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_.last_command_number_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.format_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.voice_data_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.sequence_bytes_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.section_number_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.sample_rate_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.uncompressed_sample_offset_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.num_packets_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.packet_offsets_), + PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.voice_level_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + ~0u, + 7, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.audio_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.tick_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_.baseline_tick_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_.baseline_nr_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ListenEvents, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ListenEvents, _impl_.event_mask_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.cookie_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.status_code_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.value_), + 2, + 3, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _impl_.progress_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _impl_.playername_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _impl_.slot_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _impl_.simplified_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_.pause_type_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_.pause_group_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _impl_.token_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_brand_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_model_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_num_physical_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.ram_physical_total_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_rendersystem_dll_name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_vendor_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_high_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_low_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_dx_support_level_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_texture_memory_size_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_width_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_height_), + 0, + 1, + 4, + 5, + 6, + 2, + 7, + 3, + 8, + 9, + 10, + 11, + 12, + 13, + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_1secmax_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_max_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_all_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_), + 0, + 1, + 3, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.items_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.discarded_frames_), + 0, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_reliable_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_voice_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p95_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p99_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_almost_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_late_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_other_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_total_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfect_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfectnet_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p75_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p95_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p99_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p1_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p5_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p25_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p50_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p75_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_), + 1, + 0, + 3, + 4, + 2, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.tag_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.max_value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_avg_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_min_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_count_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.tags_), + 0, + 1, + 2, + 3, + 4, + ~0u, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.system_specs_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.vprof_report_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.downstream_flow_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.upstream_flow_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.perf_samples_), + 0, + 1, + 2, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.profile_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.downstream_flow_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.upstream_flow_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.perf_samples_), + 0, + 1, + 5, + 2, + 3, + 4, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.game_mode_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_build_id_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.clients_), + PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.map_), + 3, + 0, + 4, + 5, + 2, + ~0u, + 1, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.protocol_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.server_count_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.is_dedicated_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.is_hltv_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.c_os_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.max_clients_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.max_classes_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.player_slot_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.tick_interval_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_dir_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.map_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.sky_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.host_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.addon_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_session_config_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_session_manifest_), + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 15, + 14, + 0, + 1, + 2, + 3, + 4, + 6, + 5, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_.class_id_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_.class_name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_.create_on_client_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_.classes_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _impl_.paused_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.quality_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.codec_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.version_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _impl_.text_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_x_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_y_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_z_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.volume_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.delay_value_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sequence_number_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.entity_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.channel_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.pitch_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_num_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_num_handle_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.speaker_entity_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.random_seed_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_level_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.is_sentence_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.is_ambient_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.guid_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_resource_id_), + 0, + 1, + 2, + 3, + 4, + 5, + 18, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_.reliable_sound_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_.sounds_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_.sound_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_.resource_type_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_.entity_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_.slot_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_.relative_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_.angle_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _impl_.angle_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.decal_texture_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.entity_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.model_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.low_priority_), + 0, + 1, + 4, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.slot_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.player_index_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_.cookie_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_.cvar_name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_.dialog_type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_.menu_key_values_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.msg_type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.msg_data_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.passthrough_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.var_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.priority_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.dt_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.num_elements_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.low_value_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.high_value_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.num_bits_), + 2, + 0, + 3, + 4, + 1, + 5, + 6, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.is_end_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.net_table_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.needs_decoder_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.props_), + 1, + 0, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_.name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.keys_), + 1, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList, _impl_.descriptors_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.entity_index_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.baseline_index_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_.header_count_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_.data_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_.data_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.max_entries_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.updated_entries_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.legacy_is_delta_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.update_baseline_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.baseline_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.delta_from_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.entity_data_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.pending_full_frame_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.active_spawngroup_handle_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.max_spawngroup_creationsequence_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.last_cmd_number_executed_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.last_cmd_number_recv_delta_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.server_tick_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.serialized_entities_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.alternate_baselines_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.has_pvs_vis_bits_deprecated_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cmd_recv_status_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.non_transmitted_entities_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cq_starved_command_ticks_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cq_discarded_command_ticks_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.outofpvs_entity_updates_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.dev_padding_), + 5, + 6, + 8, + 9, + 7, + 11, + 0, + 10, + 12, + 13, + 14, + 17, + 15, + 1, + ~0u, + 16, + ~0u, + 3, + 18, + 19, + 4, + 2, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.reliable_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.num_entries_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.entity_data_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.num_entries_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_fixed_size_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_size_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_size_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.string_data_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.uncompressed_size_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.data_compressed_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.using_varint_bitcounts_), + 0, + 2, + 6, + 3, + 4, + 5, + 1, + 9, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.table_id_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.num_changed_entries_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.string_data_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.audio_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.client_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.proximity_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.audible_mask_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.passthrough_), + 0, + 6, + 2, + 1, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.messagessize_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.state_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.section_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.total_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.data_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.master_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.clients_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.slots_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.proxies_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _impl_.steam_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _impl_.data_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_.token_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_.details_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_.computer_guid_), + PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_.process_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.player_slot_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.ipc_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.they_hear_you_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.you_hear_them_), + PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.is_listenserver_host_), + 5, + 1, + 0, + 2, + 3, + 4, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PeerList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_PeerList, _impl_.peer_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_.mapname_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_.create_tables_skipped_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_name_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_version_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_type_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_name_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.bit_count_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.low_value_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.high_value_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.encode_flags_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.field_serializer_name_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.field_serializer_version_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.send_node_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_encoder_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.polymorphic_types_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_serializer_sym_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + ~0u, + 10, + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.serializer_name_sym_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.serializer_version_), + PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.fields_index_), + 0, + 1, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.serializers_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.symbols_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.fields_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _impl_.guid_), + 0, + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.posttoserver_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.buftype_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.clientbitcount_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.receivingclients_), + 0, + 1, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _impl_.eventsource_), + 0, + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.event_id_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.event_data_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.sync_type_), + PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.sync_val_uint32_), + 1, + 0, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_.port_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_.name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.remote_addr_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.ping_avg_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.packet_loss_pct_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.is_bot_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.loss_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.loss_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.engine_latency_ms_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.dedicated_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.cpu_usage_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.memory_used_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.memory_free_mb_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.uptime_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.spawn_count_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_clients_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_bots_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_spectators_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_tv_relays_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.fps_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.ports_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_engine_latency_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_packets_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_packets_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_loss_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_loss_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_data_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_data_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_data_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_packets_in_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_data_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_packets_out_), + PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.players_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + ~0u, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 22, + 18, + 19, + 20, + 21, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.delay_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.primary_target_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_stop_at_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_start_at_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_begin_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_end_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_rate_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.reason_), + 0, + 7, + 1, + 2, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.request_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.slowdown_length_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.slowdown_rate_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.primary_target_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.event_time_), + 0, + 1, + 2, + 4, + 3, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _impl_.cmd_), + 0, + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.props_data_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.eye_angles_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.observer_mode_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.cameraman_scoreboard_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.observer_target_), + PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.view_offset_), + 4, + 0, + 1, + 2, + 5, + 6, + 7, + 3, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_.override_operator_name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.cmd_number_), + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.player_slot_), + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.server_tick_executed_), + PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.client_tick_), + 0, + 1, + 4, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserCommands, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserCommands, _impl_.commands_), +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 11, -1, sizeof(::CCLCMsg_ClientInfo)}, + { 16, 24, -1, sizeof(::CCLCMsg_Move)}, + { 26, 41, -1, sizeof(::CMsgVoiceAudio)}, + { 50, 59, -1, sizeof(::CCLCMsg_VoiceData)}, + { 62, 70, -1, sizeof(::CCLCMsg_BaselineAck)}, + { 72, -1, -1, sizeof(::CCLCMsg_ListenEvents)}, + { 79, 89, -1, sizeof(::CCLCMsg_RespondCvarValue)}, + { 93, 100, -1, sizeof(::CCLCMsg_LoadingProgress)}, + { 101, 108, -1, sizeof(::CCLCMsg_SplitPlayerConnect)}, + { 109, 116, -1, sizeof(::CCLCMsg_SplitPlayerDisconnect)}, + { 117, 124, -1, sizeof(::CCLCMsg_ServerStatus)}, + { 125, 133, -1, sizeof(::CCLCMsg_RequestPause)}, + { 135, 142, -1, sizeof(::CCLCMsg_CmdKeyValues)}, + { 143, 150, -1, sizeof(::CCLCMsg_RconServerDetails)}, + { 151, 171, -1, sizeof(::CMsgSource2SystemSpecs)}, + { 185, 209, -1, sizeof(::CMsgSource2VProfLiteReportItem)}, + { 227, 236, -1, sizeof(::CMsgSource2VProfLiteReport)}, + { 239, 274, -1, sizeof(::CMsgSource2NetworkFlowQuality)}, + { 303, 311, -1, sizeof(::CMsgSource2PerfIntervalSample_Tag)}, + { 313, 325, -1, sizeof(::CMsgSource2PerfIntervalSample)}, + { 331, 342, -1, sizeof(::CCLCMsg_Diagnostic)}, + { 347, 360, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification_Client)}, + { 367, 380, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification)}, + { 387, 409, -1, sizeof(::CSVCMsg_ServerInfo)}, + { 425, 433, -1, sizeof(::CSVCMsg_ClassInfo_class_t)}, + { 435, 443, -1, sizeof(::CSVCMsg_ClassInfo)}, + { 445, 452, -1, sizeof(::CSVCMsg_SetPause)}, + { 453, 462, -1, sizeof(::CSVCMsg_VoiceInit)}, + { 465, 472, -1, sizeof(::CSVCMsg_Print)}, + { 473, 498, -1, sizeof(::CSVCMsg_Sounds_sounddata_t)}, + { 517, 525, -1, sizeof(::CSVCMsg_Sounds)}, + { 527, 535, -1, sizeof(::CSVCMsg_Prefetch)}, + { 537, 545, -1, sizeof(::CSVCMsg_SetView)}, + { 547, 555, -1, sizeof(::CSVCMsg_FixAngle)}, + { 557, 564, -1, sizeof(::CSVCMsg_CrosshairAngle)}, + { 565, 576, -1, sizeof(::CSVCMsg_BSPDecal)}, + { 581, 590, -1, sizeof(::CSVCMsg_SplitScreen)}, + { 593, 601, -1, sizeof(::CSVCMsg_GetCvarValue)}, + { 603, 611, -1, sizeof(::CSVCMsg_Menu)}, + { 613, 622, -1, sizeof(::CSVCMsg_UserMessage)}, + { 625, 640, -1, sizeof(::CSVCMsg_SendTable_sendprop_t)}, + { 649, 659, -1, sizeof(::CSVCMsg_SendTable)}, + { 663, 671, -1, sizeof(::CSVCMsg_GameEventList_key_t)}, + { 673, 682, -1, sizeof(::CSVCMsg_GameEventList_descriptor_t)}, + { 685, -1, -1, sizeof(::CSVCMsg_GameEventList)}, + { 692, 700, -1, sizeof(::CSVCMsg_PacketEntities_alternate_baseline_t)}, + { 702, 710, -1, sizeof(::CSVCMsg_PacketEntities_non_transmitted_entities_t)}, + { 712, 720, -1, sizeof(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t)}, + { 722, 750, -1, sizeof(::CSVCMsg_PacketEntities)}, + { 772, 781, -1, sizeof(::CSVCMsg_TempEntities)}, + { 784, 800, -1, sizeof(::CSVCMsg_CreateStringTable)}, + { 810, 819, -1, sizeof(::CSVCMsg_UpdateStringTable)}, + { 822, 835, -1, sizeof(::CSVCMsg_VoiceData)}, + { 842, 851, -1, sizeof(::CSVCMsg_PacketReliable)}, + { 854, 864, -1, sizeof(::CSVCMsg_FullFrameSplit)}, + { 868, 878, -1, sizeof(::CSVCMsg_HLTVStatus)}, + { 882, 889, -1, sizeof(::CSVCMsg_ServerSteamID)}, + { 890, 897, -1, sizeof(::CSVCMsg_CmdKeyValues)}, + { 898, 906, -1, sizeof(::CSVCMsg_RconServerDetails)}, + { 908, 916, -1, sizeof(::CMsgIPCAddress)}, + { 918, 930, -1, sizeof(::CMsgServerPeer)}, + { 936, -1, -1, sizeof(::CSVCMsg_PeerList)}, + { 943, 951, -1, sizeof(::CSVCMsg_ClearAllStringTables)}, + { 953, 961, -1, sizeof(::ProtoFlattenedSerializerField_t_polymorphic_field_t)}, + { 963, 981, -1, sizeof(::ProtoFlattenedSerializerField_t)}, + { 993, 1002, -1, sizeof(::ProtoFlattenedSerializer_t)}, + { 1005, -1, -1, sizeof(::CSVCMsg_FlattenedSerializer)}, + { 1014, 1021, -1, sizeof(::CSVCMsg_StopSound)}, + { 1022, 1032, -1, sizeof(::CBidirMsg_RebroadcastGameEvent)}, + { 1036, 1043, -1, sizeof(::CBidirMsg_RebroadcastSource)}, + { 1044, 1054, -1, sizeof(::CBidirMsg_PredictionEvent)}, + { 1058, 1066, -1, sizeof(::CMsgServerNetworkStats_Port)}, + { 1068, 1082, -1, sizeof(::CMsgServerNetworkStats_Player)}, + { 1090, 1121, -1, sizeof(::CMsgServerNetworkStats)}, + { 1146, 1160, -1, sizeof(::CSVCMsg_HltvReplay)}, + { 1168, 1179, -1, sizeof(::CCLCMsg_HltvReplay)}, + { 1184, 1191, -1, sizeof(::CSVCMsg_Broadcast_Command)}, + { 1192, 1206, -1, sizeof(::CCLCMsg_HltvFixupOperatorTick)}, + { 1214, 1222, -1, sizeof(::CSVCMsg_HltvFixupOperatorStatus)}, + { 1224, 1235, -1, sizeof(::CMsgServerUserCmd)}, + { 1240, -1, -1, sizeof(::CSVCMsg_UserCommands)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CCLCMsg_ClientInfo_default_instance_._instance, + &::_CCLCMsg_Move_default_instance_._instance, + &::_CMsgVoiceAudio_default_instance_._instance, + &::_CCLCMsg_VoiceData_default_instance_._instance, + &::_CCLCMsg_BaselineAck_default_instance_._instance, + &::_CCLCMsg_ListenEvents_default_instance_._instance, + &::_CCLCMsg_RespondCvarValue_default_instance_._instance, + &::_CCLCMsg_LoadingProgress_default_instance_._instance, + &::_CCLCMsg_SplitPlayerConnect_default_instance_._instance, + &::_CCLCMsg_SplitPlayerDisconnect_default_instance_._instance, + &::_CCLCMsg_ServerStatus_default_instance_._instance, + &::_CCLCMsg_RequestPause_default_instance_._instance, + &::_CCLCMsg_CmdKeyValues_default_instance_._instance, + &::_CCLCMsg_RconServerDetails_default_instance_._instance, + &::_CMsgSource2SystemSpecs_default_instance_._instance, + &::_CMsgSource2VProfLiteReportItem_default_instance_._instance, + &::_CMsgSource2VProfLiteReport_default_instance_._instance, + &::_CMsgSource2NetworkFlowQuality_default_instance_._instance, + &::_CMsgSource2PerfIntervalSample_Tag_default_instance_._instance, + &::_CMsgSource2PerfIntervalSample_default_instance_._instance, + &::_CCLCMsg_Diagnostic_default_instance_._instance, + &::_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_._instance, + &::_CSource2Metrics_MatchPerfSummary_Notification_default_instance_._instance, + &::_CSVCMsg_ServerInfo_default_instance_._instance, + &::_CSVCMsg_ClassInfo_class_t_default_instance_._instance, + &::_CSVCMsg_ClassInfo_default_instance_._instance, + &::_CSVCMsg_SetPause_default_instance_._instance, + &::_CSVCMsg_VoiceInit_default_instance_._instance, + &::_CSVCMsg_Print_default_instance_._instance, + &::_CSVCMsg_Sounds_sounddata_t_default_instance_._instance, + &::_CSVCMsg_Sounds_default_instance_._instance, + &::_CSVCMsg_Prefetch_default_instance_._instance, + &::_CSVCMsg_SetView_default_instance_._instance, + &::_CSVCMsg_FixAngle_default_instance_._instance, + &::_CSVCMsg_CrosshairAngle_default_instance_._instance, + &::_CSVCMsg_BSPDecal_default_instance_._instance, + &::_CSVCMsg_SplitScreen_default_instance_._instance, + &::_CSVCMsg_GetCvarValue_default_instance_._instance, + &::_CSVCMsg_Menu_default_instance_._instance, + &::_CSVCMsg_UserMessage_default_instance_._instance, + &::_CSVCMsg_SendTable_sendprop_t_default_instance_._instance, + &::_CSVCMsg_SendTable_default_instance_._instance, + &::_CSVCMsg_GameEventList_key_t_default_instance_._instance, + &::_CSVCMsg_GameEventList_descriptor_t_default_instance_._instance, + &::_CSVCMsg_GameEventList_default_instance_._instance, + &::_CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_._instance, + &::_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_._instance, + &::_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_._instance, + &::_CSVCMsg_PacketEntities_default_instance_._instance, + &::_CSVCMsg_TempEntities_default_instance_._instance, + &::_CSVCMsg_CreateStringTable_default_instance_._instance, + &::_CSVCMsg_UpdateStringTable_default_instance_._instance, + &::_CSVCMsg_VoiceData_default_instance_._instance, + &::_CSVCMsg_PacketReliable_default_instance_._instance, + &::_CSVCMsg_FullFrameSplit_default_instance_._instance, + &::_CSVCMsg_HLTVStatus_default_instance_._instance, + &::_CSVCMsg_ServerSteamID_default_instance_._instance, + &::_CSVCMsg_CmdKeyValues_default_instance_._instance, + &::_CSVCMsg_RconServerDetails_default_instance_._instance, + &::_CMsgIPCAddress_default_instance_._instance, + &::_CMsgServerPeer_default_instance_._instance, + &::_CSVCMsg_PeerList_default_instance_._instance, + &::_CSVCMsg_ClearAllStringTables_default_instance_._instance, + &::_ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_._instance, + &::_ProtoFlattenedSerializerField_t_default_instance_._instance, + &::_ProtoFlattenedSerializer_t_default_instance_._instance, + &::_CSVCMsg_FlattenedSerializer_default_instance_._instance, + &::_CSVCMsg_StopSound_default_instance_._instance, + &::_CBidirMsg_RebroadcastGameEvent_default_instance_._instance, + &::_CBidirMsg_RebroadcastSource_default_instance_._instance, + &::_CBidirMsg_PredictionEvent_default_instance_._instance, + &::_CMsgServerNetworkStats_Port_default_instance_._instance, + &::_CMsgServerNetworkStats_Player_default_instance_._instance, + &::_CMsgServerNetworkStats_default_instance_._instance, + &::_CSVCMsg_HltvReplay_default_instance_._instance, + &::_CCLCMsg_HltvReplay_default_instance_._instance, + &::_CSVCMsg_Broadcast_Command_default_instance_._instance, + &::_CCLCMsg_HltvFixupOperatorTick_default_instance_._instance, + &::_CSVCMsg_HltvFixupOperatorStatus_default_instance_._instance, + &::_CMsgServerUserCmd_default_instance_._instance, + &::_CSVCMsg_UserCommands_default_instance_._instance, +}; + +const char descriptor_table_protodef_netmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\021netmessages.proto\032\026networkbasetypes.pr" + "oto\"}\n\022CCLCMsg_ClientInfo\022\026\n\016send_table_" + "crc\030\001 \001(\007\022\024\n\014server_count\030\002 \001(\r\022\017\n\007is_hl" + "tv\030\003 \001(\010\022\022\n\nfriends_id\030\005 \001(\r\022\024\n\014friends_" + "name\030\006 \001(\t\"9\n\014CCLCMsg_Move\022\014\n\004data\030\003 \001(\014" + "\022\033\n\023last_command_number\030\004 \001(\r\"\217\002\n\016CMsgVo" + "iceAudio\022:\n\006format\030\001 \001(\0162\022.VoiceDataForm" + "at_t:\026VOICEDATA_FORMAT_STEAM\022\022\n\nvoice_da" + "ta\030\002 \001(\014\022\026\n\016sequence_bytes\030\003 \001(\005\022\026\n\016sect" + "ion_number\030\004 \001(\r\022\023\n\013sample_rate\030\005 \001(\r\022\"\n" + "\032uncompressed_sample_offset\030\006 \001(\r\022\023\n\013num" + "_packets\030\007 \001(\r\022\032\n\016packet_offsets\030\010 \003(\rB\002" + "\020\001\022\023\n\013voice_level\030\t \001(\002\"O\n\021CCLCMsg_Voice" + "Data\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022\014\n\004" + "xuid\030\002 \001(\006\022\014\n\004tick\030\003 \001(\r\"A\n\023CCLCMsg_Base" + "lineAck\022\025\n\rbaseline_tick\030\001 \001(\005\022\023\n\013baseli" + "ne_nr\030\002 \001(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\ne" + "vent_mask\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarVa" + "lue\022\016\n\006cookie\030\001 \001(\005\022\023\n\013status_code\030\002 \001(\005" + "\022\014\n\004name\030\003 \001(\t\022\r\n\005value\030\004 \001(\t\"+\n\027CCLCMsg" + "_LoadingProgress\022\020\n\010progress\030\001 \001(\005\"0\n\032CC" + "LCMsg_SplitPlayerConnect\022\022\n\nplayername\030\001" + " \001(\t\"-\n\035CCLCMsg_SplitPlayerDisconnect\022\014\n" + "\004slot\030\001 \001(\005\"*\n\024CCLCMsg_ServerStatus\022\022\n\ns" + "implified\030\001 \001(\010\"Z\n\024CCLCMsg_RequestPause\022" + "-\n\npause_type\030\001 \001(\0162\017.RequestPause_t:\010RP" + "_PAUSE\022\023\n\013pause_group\030\002 \001(\005\"$\n\024CCLCMsg_C" + "mdKeyValues\022\014\n\004data\030\001 \001(\014\"*\n\031CCLCMsg_Rco" + "nServerDetails\022\r\n\005token\030\001 \001(\014\"\222\003\n\026CMsgSo" + "urce2SystemSpecs\022\016\n\006cpu_id\030\001 \001(\t\022\021\n\tcpu_" + "brand\030\002 \001(\t\022\021\n\tcpu_model\030\003 \001(\r\022\030\n\020cpu_nu" + "m_physical\030\004 \001(\r\022\035\n\025ram_physical_total_m" + "b\030\025 \001(\r\022!\n\031gpu_rendersystem_dll_name\030) \001" + "(\t\022\025\n\rgpu_vendor_id\030* \001(\r\022\027\n\017gpu_driver_" + "name\030+ \001(\t\022\037\n\027gpu_driver_version_high\030, " + "\001(\r\022\036\n\026gpu_driver_version_low\030- \001(\r\022\034\n\024g" + "pu_dx_support_level\030. \001(\r\022\"\n\032gpu_texture" + "_memory_size_mb\030/ \001(\r\022\030\n\020backbuffer_widt" + "h\0303 \001(\r\022\031\n\021backbuffer_height\0304 \001(\r\"\201\004\n\036C" + "MsgSource2VProfLiteReportItem\022\014\n\004name\030\001 " + "\001(\t\022\026\n\016active_samples\030\002 \001(\r\022\036\n\026active_sa" + "mples_1secmax\030\004 \001(\r\022\020\n\010usec_max\030\003 \001(\r\022\027\n" + "\017usec_avg_active\030\013 \001(\r\022\027\n\017usec_p50_activ" + "e\030\014 \001(\r\022\027\n\017usec_p99_active\030\r \001(\r\022\024\n\014usec" + "_avg_all\030\025 \001(\r\022\024\n\014usec_p50_all\030\026 \001(\r\022\024\n\014" + "usec_p99_all\030\027 \001(\r\022\037\n\027usec_1secmax_avg_a" + "ctive\030\037 \001(\r\022\037\n\027usec_1secmax_p50_active\030 " + " \001(\r\022\037\n\027usec_1secmax_p95_active\030! \001(\r\022\037\n" + "\027usec_1secmax_p99_active\030\" \001(\r\022\034\n\024usec_1" + "secmax_avg_all\030) \001(\r\022\034\n\024usec_1secmax_p50" + "_all\030* \001(\r\022\034\n\024usec_1secmax_p95_all\030+ \001(\r" + "\022\034\n\024usec_1secmax_p99_all\030, \001(\r\"\226\001\n\032CMsgS" + "ource2VProfLiteReport\022.\n\005total\030\001 \001(\0132\037.C" + "MsgSource2VProfLiteReportItem\022.\n\005items\030\002" + " \003(\0132\037.CMsgSource2VProfLiteReportItem\022\030\n" + "\020discarded_frames\030\003 \001(\r\"\265\006\n\035CMsgSource2N" + "etworkFlowQuality\022\020\n\010duration\030\001 \001(\r\022\023\n\013b" + "ytes_total\030\005 \001(\004\022\034\n\024bytes_total_reliable" + "\030\006 \001(\004\022\031\n\021bytes_total_voice\030\007 \001(\004\022\025\n\rbyt" + "es_sec_p95\030\n \001(\r\022\025\n\rbytes_sec_p99\030\013 \001(\r\022" + "\030\n\020enginemsgs_total\030\024 \001(\r\022\032\n\022enginemsgs_" + "sec_p95\030\025 \001(\r\022\032\n\022enginemsgs_sec_p99\030\026 \001(" + "\r\022\023\n\013ticks_total\030( \001(\r\022\022\n\nticks_good\030) \001" + "(\r\022\036\n\026ticks_good_almost_late\030* \001(\r\022\033\n\023ti" + "cks_fixed_dropped\030+ \001(\r\022\030\n\020ticks_fixed_l" + "ate\030, \001(\r\022\031\n\021ticks_bad_dropped\030- \001(\r\022\026\n\016" + "ticks_bad_late\030. \001(\r\022\027\n\017ticks_bad_other\030" + "/ \001(\r\022#\n\033tick_missrate_samples_total\0302 \001" + "(\r\022%\n\035tick_missrate_samples_perfect\0303 \001(" + "\r\022(\n tick_missrate_samples_perfectnet\0304 " + "\001(\r\022 \n\030tick_missratenet_p75_x10\0305 \001(\r\022 \n" + "\030tick_missratenet_p95_x10\0306 \001(\r\022 \n\030tick_" + "missratenet_p99_x10\0307 \001(\r\022\025\n\rrecvmargin_" + "p1\030= \001(\021\022\025\n\rrecvmargin_p5\030> \001(\021\022\026\n\016recvm" + "argin_p25\030\? \001(\021\022\026\n\016recvmargin_p50\030@ \001(\021\022" + "\026\n\016recvmargin_p75\030A \001(\021\022\026\n\016recvmargin_p9" + "5\030B \001(\021\"\373\001\n\035CMsgSource2PerfIntervalSampl" + "e\022\031\n\021frame_time_max_ms\030\001 \001(\002\022\031\n\021frame_ti" + "me_avg_ms\030\002 \001(\002\022\031\n\021frame_time_min_ms\030\003 \001" + "(\002\022\023\n\013frame_count\030\004 \001(\005\022\033\n\023frame_time_to" + "tal_ms\030\005 \001(\002\0220\n\004tags\030\006 \003(\0132\".CMsgSource2" + "PerfIntervalSample.Tag\032%\n\003Tag\022\013\n\003tag\030\001 \001" + "(\t\022\021\n\tmax_value\030\002 \001(\r\"\234\002\n\022CCLCMsg_Diagno" + "stic\022-\n\014system_specs\030\001 \001(\0132\027.CMsgSource2" + "SystemSpecs\0221\n\014vprof_report\030\002 \001(\0132\033.CMsg" + "Source2VProfLiteReport\0227\n\017downstream_flo" + "w\030\003 \001(\0132\036.CMsgSource2NetworkFlowQuality\022" + "5\n\rupstream_flow\030\004 \001(\0132\036.CMsgSource2Netw" + "orkFlowQuality\0224\n\014perf_samples\030\005 \003(\0132\036.C" + "MsgSource2PerfIntervalSample\"\273\004\n-CSource" + "2Metrics_MatchPerfSummary_Notification\022\r" + "\n\005appid\030\001 \001(\r\022\021\n\tgame_mode\030\002 \001(\t\022\027\n\017serv" + "er_build_id\030\003 \001(\r\022\024\n\014server_popid\030\004 \001(\007\022" + "3\n\016server_profile\030\n \001(\0132\033.CMsgSource2VPr" + "ofLiteReport\022F\n\007clients\030\013 \003(\01325.CSource2" + "Metrics_MatchPerfSummary_Notification.Cl" + "ient\022\013\n\003map\030\024 \001(\t\032\256\002\n\006Client\022-\n\014system_s" + "pecs\030\001 \001(\0132\027.CMsgSource2SystemSpecs\022,\n\007p" + "rofile\030\002 \001(\0132\033.CMsgSource2VProfLiteRepor" + "t\022\020\n\010build_id\030\003 \001(\r\0227\n\017downstream_flow\030\004" + " \001(\0132\036.CMsgSource2NetworkFlowQuality\0225\n\r" + "upstream_flow\030\005 \001(\0132\036.CMsgSource2Network" + "FlowQuality\022\017\n\007steamid\030\n \001(\006\0224\n\014perf_sam" + "ples\030\013 \003(\0132\036.CMsgSource2PerfIntervalSamp" + "le\"\207\003\n\022CSVCMsg_ServerInfo\022\020\n\010protocol\030\001 " + "\001(\005\022\024\n\014server_count\030\002 \001(\005\022\024\n\014is_dedicate" + "d\030\003 \001(\010\022\017\n\007is_hltv\030\004 \001(\010\022\014\n\004c_os\030\006 \001(\005\022\023" + "\n\013max_clients\030\n \001(\005\022\023\n\013max_classes\030\013 \001(\005" + "\022\027\n\013player_slot\030\014 \001(\005:\002-1\022\025\n\rtick_interv" + "al\030\r \001(\002\022\020\n\010game_dir\030\016 \001(\t\022\020\n\010map_name\030\017" + " \001(\t\022\020\n\010sky_name\030\020 \001(\t\022\021\n\thost_name\030\021 \001(" + "\t\022\022\n\naddon_name\030\022 \001(\t\022>\n\023game_session_co" + "nfig\030\023 \001(\0132!.CSVCMsg_GameSessionConfigur" + "ation\022\035\n\025game_session_manifest\030\024 \001(\014\"\213\001\n" + "\021CSVCMsg_ClassInfo\022\030\n\020create_on_client\030\001" + " \001(\010\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg_ClassInf" + "o.class_t\032/\n\007class_t\022\020\n\010class_id\030\001 \001(\005\022\022" + "\n\nclass_name\030\003 \001(\t\"\"\n\020CSVCMsg_SetPause\022\016" + "\n\006paused\030\001 \001(\010\"G\n\021CSVCMsg_VoiceInit\022\017\n\007q" + "uality\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007version\030\003" + " \001(\005:\0010\"\035\n\rCSVCMsg_Print\022\014\n\004text\030\001 \001(\t\"\343" + "\003\n\016CSVCMsg_Sounds\022\026\n\016reliable_sound\030\001 \001(" + "\010\022+\n\006sounds\030\002 \003(\0132\033.CSVCMsg_Sounds.sound" + "data_t\032\213\003\n\013sounddata_t\022\020\n\010origin_x\030\001 \001(\021" + "\022\020\n\010origin_y\030\002 \001(\021\022\020\n\010origin_z\030\003 \001(\021\022\016\n\006" + "volume\030\004 \001(\r\022\023\n\013delay_value\030\005 \001(\002\022\027\n\017seq" + "uence_number\030\006 \001(\005\022\030\n\014entity_index\030\007 \001(\005" + ":\002-1\022\017\n\007channel\030\010 \001(\005\022\r\n\005pitch\030\t \001(\005\022\r\n\005" + "flags\030\n \001(\005\022\021\n\tsound_num\030\013 \001(\r\022\030\n\020sound_" + "num_handle\030\014 \001(\007\022\026\n\016speaker_entity\030\r \001(\005" + "\022\023\n\013random_seed\030\016 \001(\005\022\023\n\013sound_level\030\017 \001" + "(\005\022\023\n\013is_sentence\030\020 \001(\010\022\022\n\nis_ambient\030\021 " + "\001(\010\022\014\n\004guid\030\022 \001(\r\022\031\n\021sound_resource_id\030\023" + " \001(\006\"X\n\020CSVCMsg_Prefetch\022\023\n\013sound_index\030" + "\001 \001(\005\022/\n\rresource_type\030\002 \001(\0162\r.PrefetchT" + "ype:\tPFT_SOUND\"=\n\017CSVCMsg_SetView\022\030\n\014ent" + "ity_index\030\001 \001(\005:\002-1\022\020\n\004slot\030\002 \001(\005:\002-1\"@\n" + "\020CSVCMsg_FixAngle\022\020\n\010relative\030\001 \001(\010\022\032\n\005a" + "ngle\030\002 \001(\0132\013.CMsgQAngle\"4\n\026CSVCMsg_Cross" + "hairAngle\022\032\n\005angle\030\001 \001(\0132\013.CMsgQAngle\"\216\001" + "\n\020CSVCMsg_BSPDecal\022\030\n\003pos\030\001 \001(\0132\013.CMsgVe" + "ctor\022\033\n\023decal_texture_index\030\002 \001(\005\022\030\n\014ent" + "ity_index\030\003 \001(\005:\002-1\022\023\n\013model_index\030\004 \001(\005" + "\022\024\n\014low_priority\030\005 \001(\010\"~\n\023CSVCMsg_SplitS" + "creen\022\?\n\004type\030\001 \001(\0162\030.ESplitScreenMessag" + "eType:\027MSG_SPLITSCREEN_ADDUSER\022\014\n\004slot\030\002" + " \001(\005\022\030\n\014player_index\030\003 \001(\005:\002-1\"9\n\024CSVCMs" + "g_GetCvarValue\022\016\n\006cookie\030\001 \001(\005\022\021\n\tcvar_n" + "ame\030\002 \001(\t\"<\n\014CSVCMsg_Menu\022\023\n\013dialog_type" + "\030\001 \001(\005\022\027\n\017menu_key_values\030\002 \001(\014\"N\n\023CSVCM" + "sg_UserMessage\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010msg_" + "data\030\002 \001(\014\022\023\n\013passthrough\030\003 \001(\005\"\260\002\n\021CSVC" + "Msg_SendTable\022\016\n\006is_end\030\001 \001(\010\022\026\n\016net_tab" + "le_name\030\002 \001(\t\022\025\n\rneeds_decoder\030\003 \001(\010\022,\n\005" + "props\030\004 \003(\0132\035.CSVCMsg_SendTable.sendprop" + "_t\032\255\001\n\nsendprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_n" + "ame\030\002 \001(\t\022\r\n\005flags\030\003 \001(\005\022\020\n\010priority\030\004 \001" + "(\005\022\017\n\007dt_name\030\005 \001(\t\022\024\n\014num_elements\030\006 \001(" + "\005\022\021\n\tlow_value\030\007 \001(\002\022\022\n\nhigh_value\030\010 \001(\002" + "\022\020\n\010num_bits\030\t \001(\005\"\321\001\n\025CSVCMsg_GameEvent" + "List\0228\n\013descriptors\030\001 \003(\0132#.CSVCMsg_Game" + "EventList.descriptor_t\032#\n\005key_t\022\014\n\004type\030" + "\001 \001(\005\022\014\n\004name\030\002 \001(\t\032Y\n\014descriptor_t\022\017\n\007e" + "ventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022*\n\004keys\030\003 \003(\013" + "2\034.CSVCMsg_GameEventList.key_t\"\347\007\n\026CSVCM" + "sg_PacketEntities\022\023\n\013max_entries\030\001 \001(\005\022\027" + "\n\017updated_entries\030\002 \001(\005\022\027\n\017legacy_is_del" + "ta\030\003 \001(\010\022\027\n\017update_baseline\030\004 \001(\010\022\020\n\010bas" + "eline\030\005 \001(\005\022\022\n\ndelta_from\030\006 \001(\005\022\023\n\013entit" + "y_data\030\007 \001(\014\022\032\n\022pending_full_frame\030\010 \001(\010" + "\022 \n\030active_spawngroup_handle\030\t \001(\r\022\'\n\037ma" + "x_spawngroup_creationsequence\030\n \001(\r\022 \n\030l" + "ast_cmd_number_executed\030\013 \001(\r\022\"\n\032last_cm" + "d_number_recv_delta\030\021 \001(\021\022\023\n\013server_tick" + "\030\014 \001(\r\022\033\n\023serialized_entities\030\r \001(\014\022I\n\023a" + "lternate_baselines\030\017 \003(\0132,.CSVCMsg_Packe" + "tEntities.alternate_baseline_t\022#\n\033has_pv" + "s_vis_bits_deprecated\030\020 \001(\r\022\033\n\017cmd_recv_" + "status\030\026 \003(\021B\002\020\001\022T\n\030non_transmitted_enti" + "ties\030\023 \001(\01322.CSVCMsg_PacketEntities.non_" + "transmitted_entities_t\022 \n\030cq_starved_com" + "mand_ticks\030\024 \001(\r\022\"\n\032cq_discarded_command" + "_ticks\030\025 \001(\r\022R\n\027outofpvs_entity_updates\030" + "\027 \001(\01321.CSVCMsg_PacketEntities.outofpvs_" + "entity_updates_t\022\024\n\013dev_padding\030\347\007 \001(\014\032D" + "\n\024alternate_baseline_t\022\024\n\014entity_index\030\001" + " \001(\005\022\026\n\016baseline_index\030\002 \001(\005\032@\n\032non_tran" + "smitted_entities_t\022\024\n\014header_count\030\001 \001(\005" + "\022\014\n\004data\030\002 \001(\014\0328\n\031outofpvs_entity_update" + "s_t\022\r\n\005count\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\"R\n\024CSVC" + "Msg_TempEntities\022\020\n\010reliable\030\001 \001(\010\022\023\n\013nu" + "m_entries\030\002 \001(\005\022\023\n\013entity_data\030\003 \001(\014\"\211\002\n" + "\031CSVCMsg_CreateStringTable\022\014\n\004name\030\001 \001(\t" + "\022\023\n\013num_entries\030\002 \001(\005\022\034\n\024user_data_fixed" + "_size\030\003 \001(\010\022\026\n\016user_data_size\030\004 \001(\005\022\033\n\023u" + "ser_data_size_bits\030\005 \001(\005\022\r\n\005flags\030\006 \001(\005\022" + "\023\n\013string_data\030\007 \001(\014\022\031\n\021uncompressed_siz" + "e\030\010 \001(\005\022\027\n\017data_compressed\030\t \001(\010\022\036\n\026usin" + "g_varint_bitcounts\030\n \001(\010\"_\n\031CSVCMsg_Upda" + "teStringTable\022\020\n\010table_id\030\001 \001(\005\022\033\n\023num_c" + "hanged_entries\030\002 \001(\005\022\023\n\013string_data\030\003 \001(" + "\014\"\241\001\n\021CSVCMsg_VoiceData\022\036\n\005audio\030\001 \001(\0132\017" + ".CMsgVoiceAudio\022\022\n\006client\030\002 \001(\005:\002-1\022\021\n\tp" + "roximity\030\003 \001(\010\022\014\n\004xuid\030\004 \001(\006\022\024\n\014audible_" + "mask\030\005 \001(\005\022\014\n\004tick\030\006 \001(\r\022\023\n\013passthrough\030" + "\007 \001(\005\"K\n\026CSVCMsg_PacketReliable\022\014\n\004tick\030" + "\001 \001(\005\022\024\n\014messagessize\030\002 \001(\005\022\r\n\005state\030\003 \001" + "(\010\"T\n\026CSVCMsg_FullFrameSplit\022\014\n\004tick\030\001 \001" + "(\005\022\017\n\007section\030\002 \001(\005\022\r\n\005total\030\003 \001(\005\022\014\n\004da" + "ta\030\004 \001(\014\"U\n\022CSVCMsg_HLTVStatus\022\016\n\006master" + "\030\001 \001(\t\022\017\n\007clients\030\002 \001(\005\022\r\n\005slots\030\003 \001(\005\022\017" + "\n\007proxies\030\004 \001(\005\")\n\025CSVCMsg_ServerSteamID" + "\022\020\n\010steam_id\030\001 \001(\004\"$\n\024CSVCMsg_CmdKeyValu" + "es\022\014\n\004data\030\001 \001(\014\";\n\031CSVCMsg_RconServerDe" + "tails\022\r\n\005token\030\001 \001(\014\022\017\n\007details\030\002 \001(\t\";\n" + "\016CMsgIPCAddress\022\025\n\rcomputer_guid\030\001 \001(\006\022\022" + "\n\nprocess_id\030\002 \001(\r\"\244\001\n\016CMsgServerPeer\022\027\n" + "\013player_slot\030\001 \001(\005:\002-1\022\017\n\007steamid\030\002 \001(\006\022" + "\034\n\003ipc\030\003 \001(\0132\017.CMsgIPCAddress\022\025\n\rthey_he" + "ar_you\030\004 \001(\010\022\025\n\ryou_hear_them\030\005 \001(\010\022\034\n\024i" + "s_listenserver_host\030\006 \001(\010\"1\n\020CSVCMsg_Pee" + "rList\022\035\n\004peer\030\001 \003(\0132\017.CMsgServerPeer\"N\n\034" + "CSVCMsg_ClearAllStringTables\022\017\n\007mapname\030" + "\001 \001(\t\022\035\n\025create_tables_skipped\030\003 \001(\010\"\363\003\n" + "\037ProtoFlattenedSerializerField_t\022\024\n\014var_" + "type_sym\030\001 \001(\005\022\024\n\014var_name_sym\030\002 \001(\005\022\021\n\t" + "bit_count\030\003 \001(\005\022\021\n\tlow_value\030\004 \001(\002\022\022\n\nhi" + "gh_value\030\005 \001(\002\022\024\n\014encode_flags\030\006 \001(\005\022!\n\031" + "field_serializer_name_sym\030\007 \001(\005\022 \n\030field" + "_serializer_version\030\010 \001(\005\022\025\n\rsend_node_s" + "ym\030\t \001(\005\022\027\n\017var_encoder_sym\030\n \001(\005\022O\n\021pol" + "ymorphic_types\030\013 \003(\01324.ProtoFlattenedSer" + "ializerField_t.polymorphic_field_t\022\032\n\022va" + "r_serializer_sym\030\014 \001(\005\032r\n\023polymorphic_fi" + "eld_t\022-\n%polymorphic_field_serializer_na" + "me_sym\030\001 \001(\005\022,\n$polymorphic_field_serial" + "izer_version\030\002 \001(\005\"k\n\032ProtoFlattenedSeri" + "alizer_t\022\033\n\023serializer_name_sym\030\001 \001(\005\022\032\n" + "\022serializer_version\030\002 \001(\005\022\024\n\014fields_inde" + "x\030\003 \003(\005\"\222\001\n\033CSVCMsg_FlattenedSerializer\022" + "0\n\013serializers\030\001 \003(\0132\033.ProtoFlattenedSer" + "ializer_t\022\017\n\007symbols\030\002 \003(\t\0220\n\006fields\030\003 \003" + "(\0132 .ProtoFlattenedSerializerField_t\"!\n\021" + "CSVCMsg_StopSound\022\014\n\004guid\030\001 \001(\007\"y\n\036CBidi" + "rMsg_RebroadcastGameEvent\022\024\n\014posttoserve" + "r\030\001 \001(\010\022\017\n\007buftype\030\002 \001(\005\022\026\n\016clientbitcou" + "nt\030\003 \001(\r\022\030\n\020receivingclients\030\004 \001(\004\"2\n\033CB" + "idirMsg_RebroadcastSource\022\023\n\013eventsource" + "\030\001 \001(\005\"\232\001\n\031CBidirMsg_PredictionEvent\022\020\n\010" + "event_id\030\001 \002(\r\022\022\n\nevent_data\030\002 \002(\014\022\021\n\tsy" + "nc_type\030\003 \001(\r\022\027\n\017sync_val_uint32\030\004 \001(\r\"+" + "\n\tESyncType\022\013\n\007ST_Tick\020\000\022\021\n\rST_UserCmdNu" + "m\020\001\"\305\006\n\026CMsgServerNetworkStats\022\021\n\tdedica" + "ted\030\001 \001(\010\022\021\n\tcpu_usage\030\002 \001(\005\022\026\n\016memory_u" + "sed_mb\030\003 \001(\005\022\026\n\016memory_free_mb\030\004 \001(\005\022\016\n\006" + "uptime\030\005 \001(\005\022\023\n\013spawn_count\030\006 \001(\005\022\023\n\013num" + "_clients\030\010 \001(\005\022\020\n\010num_bots\030\t \001(\005\022\026\n\016num_" + "spectators\030\n \001(\005\022\025\n\rnum_tv_relays\030\013 \001(\005\022" + "\013\n\003fps\030\014 \001(\002\022+\n\005ports\030\021 \003(\0132\034.CMsgServer" + "NetworkStats.Port\022\023\n\013avg_ping_ms\030\022 \001(\002\022\036" + "\n\026avg_engine_latency_out\030\023 \001(\002\022\027\n\017avg_pa" + "ckets_out\030\024 \001(\002\022\026\n\016avg_packets_in\030\025 \001(\002\022" + "\024\n\014avg_loss_out\030\026 \001(\002\022\023\n\013avg_loss_in\030\027 \001" + "(\002\022\024\n\014avg_data_out\030\030 \001(\002\022\023\n\013avg_data_in\030" + "\031 \001(\002\022\025\n\rtotal_data_in\030\032 \001(\004\022\030\n\020total_pa" + "ckets_in\030\033 \001(\004\022\026\n\016total_data_out\030\034 \001(\004\022\031" + "\n\021total_packets_out\030\035 \001(\004\022/\n\007players\030\036 \003" + "(\0132\036.CMsgServerNetworkStats.Player\032\"\n\004Po" + "rt\022\014\n\004port\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032\252\001\n\006Playe" + "r\022\017\n\007steamid\030\001 \001(\004\022\023\n\013remote_addr\030\002 \001(\t\022" + "\023\n\013ping_avg_ms\030\004 \001(\005\022\027\n\017packet_loss_pct\030" + "\005 \001(\002\022\016\n\006is_bot\030\006 \001(\010\022\017\n\007loss_in\030\007 \001(\002\022\020" + "\n\010loss_out\030\010 \001(\002\022\031\n\021engine_latency_ms\030\t " + "\001(\005\"\332\001\n\022CSVCMsg_HltvReplay\022\r\n\005delay\030\001 \001(" + "\005\022\032\n\016primary_target\030\002 \001(\005:\002-1\022\026\n\016replay_" + "stop_at\030\003 \001(\005\022\027\n\017replay_start_at\030\004 \001(\005\022\035" + "\n\025replay_slowdown_begin\030\005 \001(\005\022\033\n\023replay_" + "slowdown_end\030\006 \001(\005\022\034\n\024replay_slowdown_ra" + "te\030\007 \001(\002\022\016\n\006reason\030\010 \001(\005\"\205\001\n\022CCLCMsg_Hlt" + "vReplay\022\017\n\007request\030\001 \001(\005\022\027\n\017slowdown_len" + "gth\030\002 \001(\002\022\025\n\rslowdown_rate\030\003 \001(\002\022\032\n\016prim" + "ary_target\030\004 \001(\005:\002-1\022\022\n\nevent_time\030\005 \001(\002" + "\"(\n\031CSVCMsg_Broadcast_Command\022\013\n\003cmd\030\001 \001" + "(\t\"\357\001\n\035CCLCMsg_HltvFixupOperatorTick\022\014\n\004" + "tick\030\001 \001(\005\022\022\n\nprops_data\030\002 \001(\014\022\033\n\006origin" + "\030\003 \001(\0132\013.CMsgVector\022\037\n\neye_angles\030\004 \001(\0132" + "\013.CMsgQAngle\022\025\n\robserver_mode\030\005 \001(\005\022\034\n\024c" + "ameraman_scoreboard\030\006 \001(\010\022\027\n\017observer_ta" + "rget\030\007 \001(\005\022 \n\013view_offset\030\010 \001(\0132\013.CMsgVe" + "ctor\"O\n\037CSVCMsg_HltvFixupOperatorStatus\022" + "\014\n\004mode\030\001 \001(\r\022\036\n\026override_operator_name\030" + "\002 \001(\t\"\201\001\n\021CMsgServerUserCmd\022\014\n\004data\030\001 \001(" + "\014\022\022\n\ncmd_number\030\002 \001(\005\022\027\n\013player_slot\030\003 \001" + "(\005:\002-1\022\034\n\024server_tick_executed\030\004 \001(\005\022\023\n\013" + "client_tick\030\005 \001(\005\"<\n\024CSVCMsg_UserCommand" + "s\022$\n\010commands\030\001 \003(\0132\022.CMsgServerUserCmd*" + "\313\002\n\014CLC_Messages\022\022\n\016clc_ClientInfo\020\024\022\014\n\010" + "clc_Move\020\025\022\021\n\rclc_VoiceData\020\026\022\023\n\017clc_Bas" + "elineAck\020\027\022\030\n\024clc_RespondCvarValue\020\031\022\027\n\023" + "clc_LoadingProgress\020\033\022\032\n\026clc_SplitPlayer" + "Connect\020\034\022\035\n\031clc_SplitPlayerDisconnect\020\036" + "\022\024\n\020clc_ServerStatus\020\037\022\024\n\020clc_RequestPau" + "se\020!\022\024\n\020clc_CmdKeyValues\020\"\022\031\n\025clc_RconSe" + "rverDetails\020#\022\022\n\016clc_HltvReplay\020$\022\022\n\016clc" + "_Diagnostic\020%*\227\005\n\014SVC_Messages\022\022\n\016svc_Se" + "rverInfo\020(\022\033\n\027svc_FlattenedSerializer\020)\022" + "\021\n\rsvc_ClassInfo\020*\022\020\n\014svc_SetPause\020+\022\031\n\025" + "svc_CreateStringTable\020,\022\031\n\025svc_UpdateStr" + "ingTable\020-\022\021\n\rsvc_VoiceInit\020.\022\021\n\rsvc_Voi" + "ceData\020/\022\r\n\tsvc_Print\0200\022\016\n\nsvc_Sounds\0201\022" + "\017\n\013svc_SetView\0202\022\034\n\030svc_ClearAllStringTa" + "bles\0203\022\024\n\020svc_CmdKeyValues\0204\022\020\n\014svc_BSPD" + "ecal\0205\022\023\n\017svc_SplitScreen\0206\022\026\n\022svc_Packe" + "tEntities\0207\022\020\n\014svc_Prefetch\0208\022\014\n\010svc_Men" + "u\0209\022\024\n\020svc_GetCvarValue\020:\022\021\n\rsvc_StopSou" + "nd\020;\022\020\n\014svc_PeerList\020<\022\026\n\022svc_PacketReli" + "able\020=\022\022\n\016svc_HLTVStatus\020>\022\025\n\021svc_Server" + "SteamID\020\?\022\026\n\022svc_FullFrameSplit\020F\022\031\n\025svc" + "_RconServerDetails\020G\022\023\n\017svc_UserMessage\020" + "H\022\031\n\025svc_Broadcast_Command\020J\022\037\n\033svc_Hltv" + "FixupOperatorStatus\020K\022\020\n\014svc_UserCmds\020L*" + "g\n\021VoiceDataFormat_t\022\032\n\026VOICEDATA_FORMAT" + "_STEAM\020\000\022\033\n\027VOICEDATA_FORMAT_ENGINE\020\001\022\031\n" + "\025VOICEDATA_FORMAT_OPUS\020\002*B\n\016RequestPause" + "_t\022\014\n\010RP_PAUSE\020\000\022\016\n\nRP_UNPAUSE\020\001\022\022\n\016RP_T" + "OGGLEPAUSE\020\002*\035\n\014PrefetchType\022\r\n\tPFT_SOUN" + "D\020\000*V\n\027ESplitScreenMessageType\022\033\n\027MSG_SP" + "LITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_R" + "EMOVEUSER\020\001*\263\001\n\025EQueryCvarValueStatus\022%\n" + "!eQueryCvarValueStatus_ValueIntact\020\000\022&\n\"" + "eQueryCvarValueStatus_CvarNotFound\020\001\022\"\n\036" + "eQueryCvarValueStatus_NotACvar\020\002\022\'\n#eQue" + "ryCvarValueStatus_CvarProtected\020\003*h\n\013DIA" + "LOG_TYPE\022\016\n\nDIALOG_MSG\020\000\022\017\n\013DIALOG_MENU\020" + "\001\022\017\n\013DIALOG_TEXT\020\002\022\020\n\014DIALOG_ENTRY\020\003\022\025\n\021" + "DIALOG_ASKCONNECT\020\004*+\n\031SVC_Messages_LowF" + "requency\022\016\n\tsvc_dummy\020\330\004*y\n\026Bidirectiona" + "l_Messages\022\033\n\027bi_RebroadcastGameEvent\020\020\022" + "\030\n\024bi_RebroadcastSource\020\021\022\020\n\014bi_GameEven" + "t\020\022\022\026\n\022bi_PredictionEvent\020\023*M\n#Bidirecti" + "onal_Messages_LowFrequency\022\021\n\014bi_RelayIn" + "fo\020\274\005\022\023\n\016bi_RelayPacket\020\275\005*\241\001\n\021ReplayEve" + "ntType_t\022\027\n\023REPLAY_EVENT_CANCEL\020\000\022\026\n\022REP" + "LAY_EVENT_DEATH\020\001\022\030\n\024REPLAY_EVENT_GENERI" + "C\020\002\022\'\n#REPLAY_EVENT_STUCK_NEED_FULL_UPDA" + "TE\020\003\022\030\n\024REPLAY_EVENT_VICTORY\020\004" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_netmessages_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_netmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_netmessages_2eproto = { + false, false, 13830, descriptor_table_protodef_netmessages_2eproto, + "netmessages.proto", + &descriptor_table_netmessages_2eproto_once, descriptor_table_netmessages_2eproto_deps, 1, 81, + schemas, file_default_instances, TableStruct_netmessages_2eproto::offsets, + file_level_metadata_netmessages_2eproto, file_level_enum_descriptors_netmessages_2eproto, + file_level_service_descriptors_netmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_netmessages_2eproto_getter() { + return &descriptor_table_netmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_netmessages_2eproto(&descriptor_table_netmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CBidirMsg_PredictionEvent_ESyncType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[0]; +} +bool CBidirMsg_PredictionEvent_ESyncType_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ST_Tick; +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ST_UserCmdNum; +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ESyncType_MIN; +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ESyncType_MAX; +constexpr int CBidirMsg_PredictionEvent::ESyncType_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CLC_Messages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[1]; +} +bool CLC_Messages_IsValid(int value) { + switch (value) { + case 20: + case 21: + case 22: + case 23: + case 25: + case 27: + case 28: + case 30: + case 31: + case 33: + case 34: + case 35: + case 36: + case 37: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[2]; +} +bool SVC_Messages_IsValid(int value) { + switch (value) { + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 70: + case 71: + case 72: + case 74: + case 75: + case 76: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VoiceDataFormat_t_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[3]; +} +bool VoiceDataFormat_t_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RequestPause_t_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[4]; +} +bool RequestPause_t_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrefetchType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[5]; +} +bool PrefetchType_IsValid(int value) { + switch (value) { + case 0: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESplitScreenMessageType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[6]; +} +bool ESplitScreenMessageType_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EQueryCvarValueStatus_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[7]; +} +bool EQueryCvarValueStatus_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DIALOG_TYPE_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[8]; +} +bool DIALOG_TYPE_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_LowFrequency_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[9]; +} +bool SVC_Messages_LowFrequency_IsValid(int value) { + switch (value) { + case 600: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[10]; +} +bool Bidirectional_Messages_IsValid(int value) { + switch (value) { + case 16: + case 17: + case 18: + case 19: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[11]; +} +bool Bidirectional_Messages_LowFrequency_IsValid(int value) { + switch (value) { + case 700: + case 701: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ReplayEventType_t_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); + return file_level_enum_descriptors_netmessages_2eproto[12]; +} +bool ReplayEventType_t_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CCLCMsg_ClientInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_send_table_crc(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_server_count(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_is_hltv(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_friends_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_friends_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(::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:CCLCMsg_ClientInfo) +} +CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_ClientInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friends_name_){} + , decltype(_impl_.send_table_crc_){} + , decltype(_impl_.server_count_){} + , decltype(_impl_.is_hltv_){} + , decltype(_impl_.friends_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.friends_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.friends_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_friends_name()) { + _this->_impl_.friends_name_.Set(from._internal_friends_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.send_table_crc_, &from._impl_.send_table_crc_, + static_cast(reinterpret_cast(&_impl_.friends_id_) - + reinterpret_cast(&_impl_.send_table_crc_)) + sizeof(_impl_.friends_id_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_ClientInfo) +} + +inline void CCLCMsg_ClientInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friends_name_){} + , decltype(_impl_.send_table_crc_){0u} + , decltype(_impl_.server_count_){0u} + , decltype(_impl_.is_hltv_){false} + , decltype(_impl_.friends_id_){0u} + }; + _impl_.friends_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.friends_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_ClientInfo::~CCLCMsg_ClientInfo() { + // @@protoc_insertion_point(destructor:CCLCMsg_ClientInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_ClientInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.friends_name_.Destroy(); +} + +void CCLCMsg_ClientInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_ClientInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_ClientInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.friends_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.send_table_crc_, 0, static_cast( + reinterpret_cast(&_impl_.friends_id_) - + reinterpret_cast(&_impl_.send_table_crc_)) + sizeof(_impl_.friends_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_ClientInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 send_table_crc = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_send_table_crc(&has_bits); + _impl_.send_table_crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 server_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_server_count(&has_bits); + _impl_.server_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_hltv = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_hltv(&has_bits); + _impl_.is_hltv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 friends_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_friends_id(&has_bits); + _impl_.friends_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string friends_name = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_friends_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCLCMsg_ClientInfo.friends_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_ClientInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ClientInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 send_table_crc = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_send_table_crc(), target); + } + + // optional uint32 server_count = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_server_count(), target); + } + + // optional bool is_hltv = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_hltv(), target); + } + + // optional uint32 friends_id = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_friends_id(), target); + } + + // optional string friends_name = 6; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_friends_name().data(), static_cast(this->_internal_friends_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCLCMsg_ClientInfo.friends_name"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_friends_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:CCLCMsg_ClientInfo) + return target; +} + +size_t CCLCMsg_ClientInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ClientInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string friends_name = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_friends_name()); + } + + // optional fixed32 send_table_crc = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 server_count = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_count()); + } + + // optional bool is_hltv = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional uint32 friends_id = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friends_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ClientInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_ClientInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ClientInfo::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_ClientInfo::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:CCLCMsg_ClientInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_friends_name(from._internal_friends_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.send_table_crc_ = from._impl_.send_table_crc_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_count_ = from._impl_.server_count_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.is_hltv_ = from._impl_.is_hltv_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.friends_id_ = from._impl_.friends_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_ClientInfo::CopyFrom(const CCLCMsg_ClientInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ClientInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ClientInfo::IsInitialized() const { + return true; +} + +void CCLCMsg_ClientInfo::InternalSwap(CCLCMsg_ClientInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.friends_name_, lhs_arena, + &other->_impl_.friends_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_ClientInfo, _impl_.friends_id_) + + sizeof(CCLCMsg_ClientInfo::_impl_.friends_id_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_ClientInfo, _impl_.send_table_crc_)>( + reinterpret_cast(&_impl_.send_table_crc_), + reinterpret_cast(&other->_impl_.send_table_crc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ClientInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[0]); +} + +// =================================================================== + +class CCLCMsg_Move::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_last_command_number(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCLCMsg_Move::CCLCMsg_Move(::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:CCLCMsg_Move) +} +CCLCMsg_Move::CCLCMsg_Move(const CCLCMsg_Move& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_Move* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.last_command_number_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.last_command_number_ = from._impl_.last_command_number_; + // @@protoc_insertion_point(copy_constructor:CCLCMsg_Move) +} + +inline void CCLCMsg_Move::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.last_command_number_){0u} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_Move::~CCLCMsg_Move() { + // @@protoc_insertion_point(destructor:CCLCMsg_Move) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_Move::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CCLCMsg_Move::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_Move::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_Move) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.last_command_number_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_Move::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 last_command_number = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_last_command_number(&has_bits); + _impl_.last_command_number_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_Move::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_Move) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_data(), target); + } + + // optional uint32 last_command_number = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_last_command_number(), 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:CCLCMsg_Move) + return target; +} + +size_t CCLCMsg_Move::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_Move) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional uint32 last_command_number = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_command_number()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_Move::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_Move::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_Move::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_Move::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:CCLCMsg_Move) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.last_command_number_ = from._impl_.last_command_number_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_Move::CopyFrom(const CCLCMsg_Move& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_Move) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_Move::IsInitialized() const { + return true; +} + +void CCLCMsg_Move::InternalSwap(CCLCMsg_Move* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.last_command_number_, other->_impl_.last_command_number_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_Move::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[1]); +} + +// =================================================================== + +class CMsgVoiceAudio::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_format(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_voice_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sequence_bytes(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_section_number(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_sample_rate(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_uncompressed_sample_offset(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_num_packets(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_voice_level(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgVoiceAudio::CMsgVoiceAudio(::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:CMsgVoiceAudio) +} +CMsgVoiceAudio::CMsgVoiceAudio(const CMsgVoiceAudio& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgVoiceAudio* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packet_offsets_){from._impl_.packet_offsets_} + , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} + , decltype(_impl_.voice_data_){} + , decltype(_impl_.format_){} + , decltype(_impl_.sequence_bytes_){} + , decltype(_impl_.section_number_){} + , decltype(_impl_.sample_rate_){} + , decltype(_impl_.uncompressed_sample_offset_){} + , decltype(_impl_.num_packets_){} + , decltype(_impl_.voice_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.voice_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_voice_data()) { + _this->_impl_.voice_data_.Set(from._internal_voice_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.format_, &from._impl_.format_, + static_cast(reinterpret_cast(&_impl_.voice_level_) - + reinterpret_cast(&_impl_.format_)) + sizeof(_impl_.voice_level_)); + // @@protoc_insertion_point(copy_constructor:CMsgVoiceAudio) +} + +inline void CMsgVoiceAudio::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.packet_offsets_){arena} + , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} + , decltype(_impl_.voice_data_){} + , decltype(_impl_.format_){0} + , decltype(_impl_.sequence_bytes_){0} + , decltype(_impl_.section_number_){0u} + , decltype(_impl_.sample_rate_){0u} + , decltype(_impl_.uncompressed_sample_offset_){0u} + , decltype(_impl_.num_packets_){0u} + , decltype(_impl_.voice_level_){0} + }; + _impl_.voice_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.voice_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgVoiceAudio::~CMsgVoiceAudio() { + // @@protoc_insertion_point(destructor:CMsgVoiceAudio) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgVoiceAudio::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.packet_offsets_.~RepeatedField(); + _impl_.voice_data_.Destroy(); +} + +void CMsgVoiceAudio::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgVoiceAudio::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgVoiceAudio) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.packet_offsets_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.voice_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.format_, 0, static_cast( + reinterpret_cast(&_impl_.voice_level_) - + reinterpret_cast(&_impl_.format_)) + sizeof(_impl_.voice_level_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgVoiceAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::VoiceDataFormat_t_IsValid(val))) { + _internal_set_format(static_cast<::VoiceDataFormat_t>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional bytes voice_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_voice_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 sequence_bytes = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_sequence_bytes(&has_bits); + _impl_.sequence_bytes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 section_number = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_section_number(&has_bits); + _impl_.section_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sample_rate = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_sample_rate(&has_bits); + _impl_.sample_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 uncompressed_sample_offset = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_uncompressed_sample_offset(&has_bits); + _impl_.uncompressed_sample_offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_packets = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_num_packets(&has_bits); + _impl_.num_packets_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 packet_offsets = 8 [packed = true]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_packet_offsets(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 64) { + _internal_add_packet_offsets(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float voice_level = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_voice_level(&has_bits); + _impl_.voice_level_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgVoiceAudio::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgVoiceAudio) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_format(), target); + } + + // optional bytes voice_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_voice_data(), target); + } + + // optional int32 sequence_bytes = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_sequence_bytes(), target); + } + + // optional uint32 section_number = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_section_number(), target); + } + + // optional uint32 sample_rate = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_sample_rate(), target); + } + + // optional uint32 uncompressed_sample_offset = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_uncompressed_sample_offset(), target); + } + + // optional uint32 num_packets = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_num_packets(), target); + } + + // repeated uint32 packet_offsets = 8 [packed = true]; + { + int byte_size = _impl_._packet_offsets_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 8, _internal_packet_offsets(), byte_size, target); + } + } + + // optional float voice_level = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_voice_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:CMsgVoiceAudio) + return target; +} + +size_t CMsgVoiceAudio::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgVoiceAudio) + 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 uint32 packet_offsets = 8 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.packet_offsets_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._packet_offsets_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes voice_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_voice_data()); + } + + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_format()); + } + + // optional int32 sequence_bytes = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sequence_bytes()); + } + + // optional uint32 section_number = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_section_number()); + } + + // optional uint32 sample_rate = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sample_rate()); + } + + // optional uint32 uncompressed_sample_offset = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_uncompressed_sample_offset()); + } + + // optional uint32 num_packets = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_packets()); + } + + // optional float voice_level = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVoiceAudio::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgVoiceAudio::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVoiceAudio::GetClassData() const { return &_class_data_; } + + +void CMsgVoiceAudio::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:CMsgVoiceAudio) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.packet_offsets_.MergeFrom(from._impl_.packet_offsets_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_voice_data(from._internal_voice_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.format_ = from._impl_.format_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sequence_bytes_ = from._impl_.sequence_bytes_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.section_number_ = from._impl_.section_number_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.sample_rate_ = from._impl_.sample_rate_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.uncompressed_sample_offset_ = from._impl_.uncompressed_sample_offset_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.num_packets_ = from._impl_.num_packets_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.voice_level_ = from._impl_.voice_level_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgVoiceAudio::CopyFrom(const CMsgVoiceAudio& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVoiceAudio) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVoiceAudio::IsInitialized() const { + return true; +} + +void CMsgVoiceAudio::InternalSwap(CMsgVoiceAudio* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.packet_offsets_.InternalSwap(&other->_impl_.packet_offsets_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.voice_data_, lhs_arena, + &other->_impl_.voice_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgVoiceAudio, _impl_.voice_level_) + + sizeof(CMsgVoiceAudio::_impl_.voice_level_) + - PROTOBUF_FIELD_OFFSET(CMsgVoiceAudio, _impl_.format_)>( + reinterpret_cast(&_impl_.format_), + reinterpret_cast(&other->_impl_.format_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgVoiceAudio::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[2]); +} + +// =================================================================== + +class CCLCMsg_VoiceData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVoiceAudio& audio(const CCLCMsg_VoiceData* msg); + static void set_has_audio(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVoiceAudio& +CCLCMsg_VoiceData::_Internal::audio(const CCLCMsg_VoiceData* msg) { + return *msg->_impl_.audio_; +} +CCLCMsg_VoiceData::CCLCMsg_VoiceData(::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:CCLCMsg_VoiceData) +} +CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_VoiceData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.xuid_){} + , decltype(_impl_.tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_audio()) { + _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); + } + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.tick_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.tick_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_VoiceData) +} + +inline void CCLCMsg_VoiceData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.tick_){0u} + }; +} + +CCLCMsg_VoiceData::~CCLCMsg_VoiceData() { + // @@protoc_insertion_point(destructor:CCLCMsg_VoiceData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_VoiceData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.audio_; +} + +void CCLCMsg_VoiceData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_VoiceData::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_VoiceData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.audio_ != nullptr); + _impl_.audio_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.tick_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.tick_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_VoiceData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVoiceAudio audio = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 xuid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 tick = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_VoiceData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_VoiceData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::audio(this), + _Internal::audio(this).GetCachedSize(), target, stream); + } + + // optional fixed64 xuid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_xuid(), target); + } + + // optional uint32 tick = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tick(), 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:CCLCMsg_VoiceData) + return target; +} + +size_t CCLCMsg_VoiceData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_VoiceData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.audio_); + } + + // optional fixed64 xuid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 tick = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_VoiceData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_VoiceData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_VoiceData::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_VoiceData::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:CCLCMsg_VoiceData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( + from._internal_audio()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_VoiceData::CopyFrom(const CCLCMsg_VoiceData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_VoiceData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_VoiceData::IsInitialized() const { + return true; +} + +void CCLCMsg_VoiceData::InternalSwap(CCLCMsg_VoiceData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_VoiceData, _impl_.tick_) + + sizeof(CCLCMsg_VoiceData::_impl_.tick_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_VoiceData, _impl_.audio_)>( + reinterpret_cast(&_impl_.audio_), + reinterpret_cast(&other->_impl_.audio_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_VoiceData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[3]); +} + +// =================================================================== + +class CCLCMsg_BaselineAck::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_baseline_tick(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_baseline_nr(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(::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:CCLCMsg_BaselineAck) +} +CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_BaselineAck* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.baseline_tick_){} + , decltype(_impl_.baseline_nr_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.baseline_tick_, &from._impl_.baseline_tick_, + static_cast(reinterpret_cast(&_impl_.baseline_nr_) - + reinterpret_cast(&_impl_.baseline_tick_)) + sizeof(_impl_.baseline_nr_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_BaselineAck) +} + +inline void CCLCMsg_BaselineAck::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.baseline_tick_){0} + , decltype(_impl_.baseline_nr_){0} + }; +} + +CCLCMsg_BaselineAck::~CCLCMsg_BaselineAck() { + // @@protoc_insertion_point(destructor:CCLCMsg_BaselineAck) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_BaselineAck::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_BaselineAck::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_BaselineAck::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_BaselineAck) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.baseline_tick_, 0, static_cast( + reinterpret_cast(&_impl_.baseline_nr_) - + reinterpret_cast(&_impl_.baseline_tick_)) + sizeof(_impl_.baseline_nr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_BaselineAck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 baseline_tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_baseline_tick(&has_bits); + _impl_.baseline_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 baseline_nr = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_baseline_nr(&has_bits); + _impl_.baseline_nr_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_BaselineAck::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_BaselineAck) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 baseline_tick = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_baseline_tick(), target); + } + + // optional int32 baseline_nr = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_baseline_nr(), 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:CCLCMsg_BaselineAck) + return target; +} + +size_t CCLCMsg_BaselineAck::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_BaselineAck) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 baseline_tick = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_tick()); + } + + // optional int32 baseline_nr = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_nr()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_BaselineAck::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_BaselineAck::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_BaselineAck::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_BaselineAck::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:CCLCMsg_BaselineAck) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.baseline_tick_ = from._impl_.baseline_tick_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.baseline_nr_ = from._impl_.baseline_nr_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_BaselineAck::CopyFrom(const CCLCMsg_BaselineAck& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_BaselineAck) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_BaselineAck::IsInitialized() const { + return true; +} + +void CCLCMsg_BaselineAck::InternalSwap(CCLCMsg_BaselineAck* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_BaselineAck, _impl_.baseline_nr_) + + sizeof(CCLCMsg_BaselineAck::_impl_.baseline_nr_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_BaselineAck, _impl_.baseline_tick_)>( + reinterpret_cast(&_impl_.baseline_tick_), + reinterpret_cast(&other->_impl_.baseline_tick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_BaselineAck::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[4]); +} + +// =================================================================== + +class CCLCMsg_ListenEvents::_Internal { + public: +}; + +CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(::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:CCLCMsg_ListenEvents) +} +CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_ListenEvents* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.event_mask_){from._impl_.event_mask_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_ListenEvents) +} + +inline void CCLCMsg_ListenEvents::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.event_mask_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CCLCMsg_ListenEvents::~CCLCMsg_ListenEvents() { + // @@protoc_insertion_point(destructor:CCLCMsg_ListenEvents) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_ListenEvents::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_mask_.~RepeatedField(); +} + +void CCLCMsg_ListenEvents::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_ListenEvents::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_ListenEvents) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.event_mask_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_ListenEvents::_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 fixed32 event_mask = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_event_mask(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<13>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_event_mask(), ptr, ctx); + 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* CCLCMsg_ListenEvents::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ListenEvents) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated fixed32 event_mask = 1; + for (int i = 0, n = this->_internal_event_mask_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_event_mask(i), 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:CCLCMsg_ListenEvents) + return target; +} + +size_t CCLCMsg_ListenEvents::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ListenEvents) + 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 fixed32 event_mask = 1; + { + unsigned int count = static_cast(this->_internal_event_mask_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_event_mask_size()); + total_size += data_size; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ListenEvents::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_ListenEvents::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ListenEvents::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_ListenEvents::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:CCLCMsg_ListenEvents) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.event_mask_.MergeFrom(from._impl_.event_mask_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_ListenEvents::CopyFrom(const CCLCMsg_ListenEvents& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ListenEvents) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ListenEvents::IsInitialized() const { + return true; +} + +void CCLCMsg_ListenEvents::InternalSwap(CCLCMsg_ListenEvents* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.event_mask_.InternalSwap(&other->_impl_.event_mask_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ListenEvents::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[5]); +} + +// =================================================================== + +class CCLCMsg_RespondCvarValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cookie(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_status_code(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(::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:CCLCMsg_RespondCvarValue) +} +CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_RespondCvarValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){} + , decltype(_impl_.cookie_){} + , decltype(_impl_.status_code_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.cookie_, &from._impl_.cookie_, + static_cast(reinterpret_cast(&_impl_.status_code_) - + reinterpret_cast(&_impl_.cookie_)) + sizeof(_impl_.status_code_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_RespondCvarValue) +} + +inline void CCLCMsg_RespondCvarValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){} + , decltype(_impl_.cookie_){0} + , decltype(_impl_.status_code_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_RespondCvarValue::~CCLCMsg_RespondCvarValue() { + // @@protoc_insertion_point(destructor:CCLCMsg_RespondCvarValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_RespondCvarValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.value_.Destroy(); +} + +void CCLCMsg_RespondCvarValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_RespondCvarValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_RespondCvarValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.cookie_, 0, static_cast( + reinterpret_cast(&_impl_.status_code_) - + reinterpret_cast(&_impl_.cookie_)) + sizeof(_impl_.status_code_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_RespondCvarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 cookie = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_cookie(&has_bits); + _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 status_code = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_status_code(&has_bits); + _impl_.status_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCLCMsg_RespondCvarValue.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCLCMsg_RespondCvarValue.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_RespondCvarValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RespondCvarValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 cookie = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cookie(), target); + } + + // optional int32 status_code = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_status_code(), target); + } + + // optional string name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCLCMsg_RespondCvarValue.name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_name(), target); + } + + // optional string value = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCLCMsg_RespondCvarValue.value"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_value(), 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:CCLCMsg_RespondCvarValue) + return target; +} + +size_t CCLCMsg_RespondCvarValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RespondCvarValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string value = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + // optional int32 cookie = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); + } + + // optional int32 status_code = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_status_code()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RespondCvarValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_RespondCvarValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RespondCvarValue::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_RespondCvarValue::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:CCLCMsg_RespondCvarValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.cookie_ = from._impl_.cookie_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.status_code_ = from._impl_.status_code_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_RespondCvarValue::CopyFrom(const CCLCMsg_RespondCvarValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RespondCvarValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_RespondCvarValue::IsInitialized() const { + return true; +} + +void CCLCMsg_RespondCvarValue::InternalSwap(CCLCMsg_RespondCvarValue* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _impl_.status_code_) + + sizeof(CCLCMsg_RespondCvarValue::_impl_.status_code_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _impl_.cookie_)>( + reinterpret_cast(&_impl_.cookie_), + reinterpret_cast(&other->_impl_.cookie_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RespondCvarValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[6]); +} + +// =================================================================== + +class CCLCMsg_LoadingProgress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_progress(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(::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:CCLCMsg_LoadingProgress) +} +CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_LoadingProgress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.progress_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.progress_ = from._impl_.progress_; + // @@protoc_insertion_point(copy_constructor:CCLCMsg_LoadingProgress) +} + +inline void CCLCMsg_LoadingProgress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.progress_){0} + }; +} + +CCLCMsg_LoadingProgress::~CCLCMsg_LoadingProgress() { + // @@protoc_insertion_point(destructor:CCLCMsg_LoadingProgress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_LoadingProgress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_LoadingProgress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_LoadingProgress::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_LoadingProgress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.progress_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_LoadingProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 progress = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_progress(&has_bits); + _impl_.progress_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_LoadingProgress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_LoadingProgress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 progress = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_progress(), 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:CCLCMsg_LoadingProgress) + return target; +} + +size_t CCLCMsg_LoadingProgress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_LoadingProgress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 progress = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_progress()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_LoadingProgress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_LoadingProgress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_LoadingProgress::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_LoadingProgress::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:CCLCMsg_LoadingProgress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_progress()) { + _this->_internal_set_progress(from._internal_progress()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_LoadingProgress::CopyFrom(const CCLCMsg_LoadingProgress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_LoadingProgress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_LoadingProgress::IsInitialized() const { + return true; +} + +void CCLCMsg_LoadingProgress::InternalSwap(CCLCMsg_LoadingProgress* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.progress_, other->_impl_.progress_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_LoadingProgress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[7]); +} + +// =================================================================== + +class CCLCMsg_SplitPlayerConnect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_playername(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(::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:CCLCMsg_SplitPlayerConnect) +} +CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_SplitPlayerConnect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.playername_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.playername_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playername_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_playername()) { + _this->_impl_.playername_.Set(from._internal_playername(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCLCMsg_SplitPlayerConnect) +} + +inline void CCLCMsg_SplitPlayerConnect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.playername_){} + }; + _impl_.playername_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playername_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_SplitPlayerConnect::~CCLCMsg_SplitPlayerConnect() { + // @@protoc_insertion_point(destructor:CCLCMsg_SplitPlayerConnect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_SplitPlayerConnect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.playername_.Destroy(); +} + +void CCLCMsg_SplitPlayerConnect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_SplitPlayerConnect::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_SplitPlayerConnect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.playername_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_SplitPlayerConnect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string playername = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_playername(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCLCMsg_SplitPlayerConnect.playername"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_SplitPlayerConnect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerConnect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string playername = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_playername().data(), static_cast(this->_internal_playername().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCLCMsg_SplitPlayerConnect.playername"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_playername(), 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:CCLCMsg_SplitPlayerConnect) + return target; +} + +size_t CCLCMsg_SplitPlayerConnect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_SplitPlayerConnect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string playername = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_playername()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_SplitPlayerConnect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_SplitPlayerConnect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_SplitPlayerConnect::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_SplitPlayerConnect::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:CCLCMsg_SplitPlayerConnect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_playername()) { + _this->_internal_set_playername(from._internal_playername()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_SplitPlayerConnect::CopyFrom(const CCLCMsg_SplitPlayerConnect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_SplitPlayerConnect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_SplitPlayerConnect::IsInitialized() const { + return true; +} + +void CCLCMsg_SplitPlayerConnect::InternalSwap(CCLCMsg_SplitPlayerConnect* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.playername_, lhs_arena, + &other->_impl_.playername_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_SplitPlayerConnect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[8]); +} + +// =================================================================== + +class CCLCMsg_SplitPlayerDisconnect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect(::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:CCLCMsg_SplitPlayerDisconnect) +} +CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_SplitPlayerDisconnect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.slot_ = from._impl_.slot_; + // @@protoc_insertion_point(copy_constructor:CCLCMsg_SplitPlayerDisconnect) +} + +inline void CCLCMsg_SplitPlayerDisconnect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){0} + }; +} + +CCLCMsg_SplitPlayerDisconnect::~CCLCMsg_SplitPlayerDisconnect() { + // @@protoc_insertion_point(destructor:CCLCMsg_SplitPlayerDisconnect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_SplitPlayerDisconnect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_SplitPlayerDisconnect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_SplitPlayerDisconnect::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_SplitPlayerDisconnect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.slot_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_SplitPlayerDisconnect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 slot = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_SplitPlayerDisconnect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerDisconnect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 slot = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), 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:CCLCMsg_SplitPlayerDisconnect) + return target; +} + +size_t CCLCMsg_SplitPlayerDisconnect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_SplitPlayerDisconnect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 slot = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_SplitPlayerDisconnect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_SplitPlayerDisconnect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_SplitPlayerDisconnect::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_SplitPlayerDisconnect::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:CCLCMsg_SplitPlayerDisconnect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_slot()) { + _this->_internal_set_slot(from._internal_slot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_SplitPlayerDisconnect::CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_SplitPlayerDisconnect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_SplitPlayerDisconnect::IsInitialized() const { + return true; +} + +void CCLCMsg_SplitPlayerDisconnect::InternalSwap(CCLCMsg_SplitPlayerDisconnect* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.slot_, other->_impl_.slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_SplitPlayerDisconnect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[9]); +} + +// =================================================================== + +class CCLCMsg_ServerStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_simplified(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_ServerStatus::CCLCMsg_ServerStatus(::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:CCLCMsg_ServerStatus) +} +CCLCMsg_ServerStatus::CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_ServerStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.simplified_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.simplified_ = from._impl_.simplified_; + // @@protoc_insertion_point(copy_constructor:CCLCMsg_ServerStatus) +} + +inline void CCLCMsg_ServerStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.simplified_){false} + }; +} + +CCLCMsg_ServerStatus::~CCLCMsg_ServerStatus() { + // @@protoc_insertion_point(destructor:CCLCMsg_ServerStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_ServerStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_ServerStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_ServerStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_ServerStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.simplified_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_ServerStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool simplified = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_simplified(&has_bits); + _impl_.simplified_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_ServerStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ServerStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool simplified = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_simplified(), 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:CCLCMsg_ServerStatus) + return target; +} + +size_t CCLCMsg_ServerStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ServerStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool simplified = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ServerStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_ServerStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ServerStatus::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_ServerStatus::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:CCLCMsg_ServerStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_simplified()) { + _this->_internal_set_simplified(from._internal_simplified()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_ServerStatus::CopyFrom(const CCLCMsg_ServerStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ServerStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ServerStatus::IsInitialized() const { + return true; +} + +void CCLCMsg_ServerStatus::InternalSwap(CCLCMsg_ServerStatus* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.simplified_, other->_impl_.simplified_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ServerStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[10]); +} + +// =================================================================== + +class CCLCMsg_RequestPause::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pause_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pause_group(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCLCMsg_RequestPause::CCLCMsg_RequestPause(::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:CCLCMsg_RequestPause) +} +CCLCMsg_RequestPause::CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_RequestPause* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pause_type_){} + , decltype(_impl_.pause_group_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.pause_type_, &from._impl_.pause_type_, + static_cast(reinterpret_cast(&_impl_.pause_group_) - + reinterpret_cast(&_impl_.pause_type_)) + sizeof(_impl_.pause_group_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_RequestPause) +} + +inline void CCLCMsg_RequestPause::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pause_type_){0} + , decltype(_impl_.pause_group_){0} + }; +} + +CCLCMsg_RequestPause::~CCLCMsg_RequestPause() { + // @@protoc_insertion_point(destructor:CCLCMsg_RequestPause) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_RequestPause::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_RequestPause::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_RequestPause::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_RequestPause) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.pause_type_, 0, static_cast( + reinterpret_cast(&_impl_.pause_group_) - + reinterpret_cast(&_impl_.pause_type_)) + sizeof(_impl_.pause_group_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_RequestPause::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::RequestPause_t_IsValid(val))) { + _internal_set_pause_type(static_cast<::RequestPause_t>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional int32 pause_group = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_pause_group(&has_bits); + _impl_.pause_group_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_RequestPause::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RequestPause) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_pause_type(), target); + } + + // optional int32 pause_group = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pause_group(), 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:CCLCMsg_RequestPause) + return target; +} + +size_t CCLCMsg_RequestPause::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RequestPause) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_pause_type()); + } + + // optional int32 pause_group = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pause_group()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RequestPause::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_RequestPause::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RequestPause::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_RequestPause::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:CCLCMsg_RequestPause) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.pause_type_ = from._impl_.pause_type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pause_group_ = from._impl_.pause_group_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_RequestPause::CopyFrom(const CCLCMsg_RequestPause& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RequestPause) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_RequestPause::IsInitialized() const { + return true; +} + +void CCLCMsg_RequestPause::InternalSwap(CCLCMsg_RequestPause* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_RequestPause, _impl_.pause_group_) + + sizeof(CCLCMsg_RequestPause::_impl_.pause_group_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_RequestPause, _impl_.pause_type_)>( + reinterpret_cast(&_impl_.pause_type_), + reinterpret_cast(&other->_impl_.pause_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RequestPause::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[11]); +} + +// =================================================================== + +class CCLCMsg_CmdKeyValues::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(::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:CCLCMsg_CmdKeyValues) +} +CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_CmdKeyValues* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCLCMsg_CmdKeyValues) +} + +inline void CCLCMsg_CmdKeyValues::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_CmdKeyValues::~CCLCMsg_CmdKeyValues() { + // @@protoc_insertion_point(destructor:CCLCMsg_CmdKeyValues) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_CmdKeyValues::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CCLCMsg_CmdKeyValues::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_CmdKeyValues::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_CmdKeyValues) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_CmdKeyValues::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_CmdKeyValues::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_CmdKeyValues) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), 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:CCLCMsg_CmdKeyValues) + return target; +} + +size_t CCLCMsg_CmdKeyValues::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_CmdKeyValues) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_CmdKeyValues::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_CmdKeyValues::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_CmdKeyValues::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_CmdKeyValues::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:CCLCMsg_CmdKeyValues) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_CmdKeyValues::CopyFrom(const CCLCMsg_CmdKeyValues& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_CmdKeyValues) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_CmdKeyValues::IsInitialized() const { + return true; +} + +void CCLCMsg_CmdKeyValues::InternalSwap(CCLCMsg_CmdKeyValues* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_CmdKeyValues::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[12]); +} + +// =================================================================== + +class CCLCMsg_RconServerDetails::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails(::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:CCLCMsg_RconServerDetails) +} +CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails(const CCLCMsg_RconServerDetails& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_RconServerDetails* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_token()) { + _this->_impl_.token_.Set(from._internal_token(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCLCMsg_RconServerDetails) +} + +inline void CCLCMsg_RconServerDetails::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + }; + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_RconServerDetails::~CCLCMsg_RconServerDetails() { + // @@protoc_insertion_point(destructor:CCLCMsg_RconServerDetails) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_RconServerDetails::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.token_.Destroy(); +} + +void CCLCMsg_RconServerDetails::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_RconServerDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_RconServerDetails) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.token_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_RconServerDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes token = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_RconServerDetails::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RconServerDetails) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes token = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_token(), 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:CCLCMsg_RconServerDetails) + return target; +} + +size_t CCLCMsg_RconServerDetails::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RconServerDetails) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes token = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_token()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RconServerDetails::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_RconServerDetails::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RconServerDetails::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_RconServerDetails::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:CCLCMsg_RconServerDetails) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_token()) { + _this->_internal_set_token(from._internal_token()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_RconServerDetails::CopyFrom(const CCLCMsg_RconServerDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RconServerDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_RconServerDetails::IsInitialized() const { + return true; +} + +void CCLCMsg_RconServerDetails::InternalSwap(CCLCMsg_RconServerDetails* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.token_, lhs_arena, + &other->_impl_.token_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RconServerDetails::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[13]); +} + +// =================================================================== + +class CMsgSource2SystemSpecs::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cpu_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cpu_brand(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cpu_model(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_cpu_num_physical(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_ram_physical_total_mb(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_gpu_rendersystem_dll_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_gpu_vendor_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_gpu_driver_name(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_gpu_driver_version_high(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_gpu_driver_version_low(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_gpu_dx_support_level(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_gpu_texture_memory_size_mb(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_backbuffer_width(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_backbuffer_height(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(::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:CMsgSource2SystemSpecs) +} +CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2SystemSpecs* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cpu_id_){} + , decltype(_impl_.cpu_brand_){} + , decltype(_impl_.gpu_rendersystem_dll_name_){} + , decltype(_impl_.gpu_driver_name_){} + , decltype(_impl_.cpu_model_){} + , decltype(_impl_.cpu_num_physical_){} + , decltype(_impl_.ram_physical_total_mb_){} + , decltype(_impl_.gpu_vendor_id_){} + , decltype(_impl_.gpu_driver_version_high_){} + , decltype(_impl_.gpu_driver_version_low_){} + , decltype(_impl_.gpu_dx_support_level_){} + , decltype(_impl_.gpu_texture_memory_size_mb_){} + , decltype(_impl_.backbuffer_width_){} + , decltype(_impl_.backbuffer_height_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cpu_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cpu_id()) { + _this->_impl_.cpu_id_.Set(from._internal_cpu_id(), + _this->GetArenaForAllocation()); + } + _impl_.cpu_brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cpu_brand()) { + _this->_impl_.cpu_brand_.Set(from._internal_cpu_brand(), + _this->GetArenaForAllocation()); + } + _impl_.gpu_rendersystem_dll_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gpu_rendersystem_dll_name()) { + _this->_impl_.gpu_rendersystem_dll_name_.Set(from._internal_gpu_rendersystem_dll_name(), + _this->GetArenaForAllocation()); + } + _impl_.gpu_driver_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gpu_driver_name()) { + _this->_impl_.gpu_driver_name_.Set(from._internal_gpu_driver_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.cpu_model_, &from._impl_.cpu_model_, + static_cast(reinterpret_cast(&_impl_.backbuffer_height_) - + reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.backbuffer_height_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2SystemSpecs) +} + +inline void CMsgSource2SystemSpecs::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cpu_id_){} + , decltype(_impl_.cpu_brand_){} + , decltype(_impl_.gpu_rendersystem_dll_name_){} + , decltype(_impl_.gpu_driver_name_){} + , decltype(_impl_.cpu_model_){0u} + , decltype(_impl_.cpu_num_physical_){0u} + , decltype(_impl_.ram_physical_total_mb_){0u} + , decltype(_impl_.gpu_vendor_id_){0u} + , decltype(_impl_.gpu_driver_version_high_){0u} + , decltype(_impl_.gpu_driver_version_low_){0u} + , decltype(_impl_.gpu_dx_support_level_){0u} + , decltype(_impl_.gpu_texture_memory_size_mb_){0u} + , decltype(_impl_.backbuffer_width_){0u} + , decltype(_impl_.backbuffer_height_){0u} + }; + _impl_.cpu_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2SystemSpecs::~CMsgSource2SystemSpecs() { + // @@protoc_insertion_point(destructor:CMsgSource2SystemSpecs) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2SystemSpecs::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cpu_id_.Destroy(); + _impl_.cpu_brand_.Destroy(); + _impl_.gpu_rendersystem_dll_name_.Destroy(); + _impl_.gpu_driver_name_.Destroy(); +} + +void CMsgSource2SystemSpecs::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2SystemSpecs::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2SystemSpecs) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.cpu_id_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.cpu_brand_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.gpu_rendersystem_dll_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.gpu_driver_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.cpu_model_, 0, static_cast( + reinterpret_cast(&_impl_.gpu_vendor_id_) - + reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.gpu_vendor_id_)); + } + if (cached_has_bits & 0x00003f00u) { + ::memset(&_impl_.gpu_driver_version_high_, 0, static_cast( + reinterpret_cast(&_impl_.backbuffer_height_) - + reinterpret_cast(&_impl_.gpu_driver_version_high_)) + sizeof(_impl_.backbuffer_height_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2SystemSpecs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string cpu_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_cpu_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_id"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string cpu_brand = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_cpu_brand(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_brand"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 cpu_model = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_cpu_model(&has_bits); + _impl_.cpu_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cpu_num_physical = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_cpu_num_physical(&has_bits); + _impl_.cpu_num_physical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ram_physical_total_mb = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_ram_physical_total_mb(&has_bits); + _impl_.ram_physical_total_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string gpu_rendersystem_dll_name = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_gpu_rendersystem_dll_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 gpu_vendor_id = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_gpu_vendor_id(&has_bits); + _impl_.gpu_vendor_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string gpu_driver_name = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_gpu_driver_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_driver_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 gpu_driver_version_high = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_gpu_driver_version_high(&has_bits); + _impl_.gpu_driver_version_high_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_driver_version_low = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_gpu_driver_version_low(&has_bits); + _impl_.gpu_driver_version_low_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_dx_support_level = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_gpu_dx_support_level(&has_bits); + _impl_.gpu_dx_support_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 gpu_texture_memory_size_mb = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_gpu_texture_memory_size_mb(&has_bits); + _impl_.gpu_texture_memory_size_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 backbuffer_width = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_backbuffer_width(&has_bits); + _impl_.backbuffer_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 backbuffer_height = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_backbuffer_height(&has_bits); + _impl_.backbuffer_height_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2SystemSpecs::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2SystemSpecs) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string cpu_id = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cpu_id().data(), static_cast(this->_internal_cpu_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.cpu_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_cpu_id(), target); + } + + // optional string cpu_brand = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cpu_brand().data(), static_cast(this->_internal_cpu_brand().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.cpu_brand"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_cpu_brand(), target); + } + + // optional uint32 cpu_model = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cpu_model(), target); + } + + // optional uint32 cpu_num_physical = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cpu_num_physical(), target); + } + + // optional uint32 ram_physical_total_mb = 21; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_ram_physical_total_mb(), target); + } + + // optional string gpu_rendersystem_dll_name = 41; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gpu_rendersystem_dll_name().data(), static_cast(this->_internal_gpu_rendersystem_dll_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); + target = stream->WriteStringMaybeAliased( + 41, this->_internal_gpu_rendersystem_dll_name(), target); + } + + // optional uint32 gpu_vendor_id = 42; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_gpu_vendor_id(), target); + } + + // optional string gpu_driver_name = 43; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gpu_driver_name().data(), static_cast(this->_internal_gpu_driver_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2SystemSpecs.gpu_driver_name"); + target = stream->WriteStringMaybeAliased( + 43, this->_internal_gpu_driver_name(), target); + } + + // optional uint32 gpu_driver_version_high = 44; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_gpu_driver_version_high(), target); + } + + // optional uint32 gpu_driver_version_low = 45; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_gpu_driver_version_low(), target); + } + + // optional uint32 gpu_dx_support_level = 46; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_gpu_dx_support_level(), target); + } + + // optional uint32 gpu_texture_memory_size_mb = 47; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_gpu_texture_memory_size_mb(), target); + } + + // optional uint32 backbuffer_width = 51; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_backbuffer_width(), target); + } + + // optional uint32 backbuffer_height = 52; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_backbuffer_height(), 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:CMsgSource2SystemSpecs) + return target; +} + +size_t CMsgSource2SystemSpecs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2SystemSpecs) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string cpu_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cpu_id()); + } + + // optional string cpu_brand = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cpu_brand()); + } + + // optional string gpu_rendersystem_dll_name = 41; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gpu_rendersystem_dll_name()); + } + + // optional string gpu_driver_name = 43; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gpu_driver_name()); + } + + // optional uint32 cpu_model = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_model()); + } + + // optional uint32 cpu_num_physical = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_num_physical()); + } + + // optional uint32 ram_physical_total_mb = 21; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ram_physical_total_mb()); + } + + // optional uint32 gpu_vendor_id = 42; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_vendor_id()); + } + + } + if (cached_has_bits & 0x00003f00u) { + // optional uint32 gpu_driver_version_high = 44; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_driver_version_high()); + } + + // optional uint32 gpu_driver_version_low = 45; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_driver_version_low()); + } + + // optional uint32 gpu_dx_support_level = 46; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_dx_support_level()); + } + + // optional uint32 gpu_texture_memory_size_mb = 47; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gpu_texture_memory_size_mb()); + } + + // optional uint32 backbuffer_width = 51; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_backbuffer_width()); + } + + // optional uint32 backbuffer_height = 52; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_backbuffer_height()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2SystemSpecs::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2SystemSpecs::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2SystemSpecs::GetClassData() const { return &_class_data_; } + + +void CMsgSource2SystemSpecs::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:CMsgSource2SystemSpecs) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_cpu_id(from._internal_cpu_id()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_cpu_brand(from._internal_cpu_brand()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_gpu_rendersystem_dll_name(from._internal_gpu_rendersystem_dll_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_gpu_driver_name(from._internal_gpu_driver_name()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.cpu_model_ = from._impl_.cpu_model_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.cpu_num_physical_ = from._impl_.cpu_num_physical_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ram_physical_total_mb_ = from._impl_.ram_physical_total_mb_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.gpu_vendor_id_ = from._impl_.gpu_vendor_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.gpu_driver_version_high_ = from._impl_.gpu_driver_version_high_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.gpu_driver_version_low_ = from._impl_.gpu_driver_version_low_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.gpu_dx_support_level_ = from._impl_.gpu_dx_support_level_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.gpu_texture_memory_size_mb_ = from._impl_.gpu_texture_memory_size_mb_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.backbuffer_width_ = from._impl_.backbuffer_width_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.backbuffer_height_ = from._impl_.backbuffer_height_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2SystemSpecs::CopyFrom(const CMsgSource2SystemSpecs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2SystemSpecs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2SystemSpecs::IsInitialized() const { + return true; +} + +void CMsgSource2SystemSpecs::InternalSwap(CMsgSource2SystemSpecs* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cpu_id_, lhs_arena, + &other->_impl_.cpu_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cpu_brand_, lhs_arena, + &other->_impl_.cpu_brand_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gpu_rendersystem_dll_name_, lhs_arena, + &other->_impl_.gpu_rendersystem_dll_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gpu_driver_name_, lhs_arena, + &other->_impl_.gpu_driver_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.backbuffer_height_) + + sizeof(CMsgSource2SystemSpecs::_impl_.backbuffer_height_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.cpu_model_)>( + reinterpret_cast(&_impl_.cpu_model_), + reinterpret_cast(&other->_impl_.cpu_model_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2SystemSpecs::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[14]); +} + +// =================================================================== + +class CMsgSource2VProfLiteReportItem::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_active_samples(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_active_samples_1secmax(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_usec_max(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_usec_avg_active(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_usec_p50_active(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_usec_p99_active(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_usec_avg_all(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_usec_p50_all(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_usec_p99_all(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_usec_1secmax_avg_active(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_usec_1secmax_p50_active(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_usec_1secmax_p95_active(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_usec_1secmax_p99_active(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_usec_1secmax_avg_all(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_usec_1secmax_p50_all(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_usec_1secmax_p95_all(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_usec_1secmax_p99_all(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(::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:CMsgSource2VProfLiteReportItem) +} +CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2VProfLiteReportItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.active_samples_){} + , decltype(_impl_.usec_max_){} + , decltype(_impl_.active_samples_1secmax_){} + , decltype(_impl_.usec_avg_active_){} + , decltype(_impl_.usec_p50_active_){} + , decltype(_impl_.usec_p99_active_){} + , decltype(_impl_.usec_avg_all_){} + , decltype(_impl_.usec_p50_all_){} + , decltype(_impl_.usec_p99_all_){} + , decltype(_impl_.usec_1secmax_avg_active_){} + , decltype(_impl_.usec_1secmax_p50_active_){} + , decltype(_impl_.usec_1secmax_p95_active_){} + , decltype(_impl_.usec_1secmax_p99_active_){} + , decltype(_impl_.usec_1secmax_avg_all_){} + , decltype(_impl_.usec_1secmax_p50_all_){} + , decltype(_impl_.usec_1secmax_p95_all_){} + , decltype(_impl_.usec_1secmax_p99_all_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.active_samples_, &from._impl_.active_samples_, + static_cast(reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - + reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_1secmax_p99_all_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReportItem) +} + +inline void CMsgSource2VProfLiteReportItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.active_samples_){0u} + , decltype(_impl_.usec_max_){0u} + , decltype(_impl_.active_samples_1secmax_){0u} + , decltype(_impl_.usec_avg_active_){0u} + , decltype(_impl_.usec_p50_active_){0u} + , decltype(_impl_.usec_p99_active_){0u} + , decltype(_impl_.usec_avg_all_){0u} + , decltype(_impl_.usec_p50_all_){0u} + , decltype(_impl_.usec_p99_all_){0u} + , decltype(_impl_.usec_1secmax_avg_active_){0u} + , decltype(_impl_.usec_1secmax_p50_active_){0u} + , decltype(_impl_.usec_1secmax_p95_active_){0u} + , decltype(_impl_.usec_1secmax_p99_active_){0u} + , decltype(_impl_.usec_1secmax_avg_all_){0u} + , decltype(_impl_.usec_1secmax_p50_all_){0u} + , decltype(_impl_.usec_1secmax_p95_all_){0u} + , decltype(_impl_.usec_1secmax_p99_all_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2VProfLiteReportItem::~CMsgSource2VProfLiteReportItem() { + // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReportItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2VProfLiteReportItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CMsgSource2VProfLiteReportItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2VProfLiteReportItem::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReportItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.active_samples_, 0, static_cast( + reinterpret_cast(&_impl_.usec_avg_all_) - + reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_avg_all_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.usec_p50_all_, 0, static_cast( + reinterpret_cast(&_impl_.usec_1secmax_p50_all_) - + reinterpret_cast(&_impl_.usec_p50_all_)) + sizeof(_impl_.usec_1secmax_p50_all_)); + } + if (cached_has_bits & 0x00030000u) { + ::memset(&_impl_.usec_1secmax_p95_all_, 0, static_cast( + reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - + reinterpret_cast(&_impl_.usec_1secmax_p95_all_)) + sizeof(_impl_.usec_1secmax_p99_all_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2VProfLiteReportItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2VProfLiteReportItem.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 active_samples = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_active_samples(&has_bits); + _impl_.active_samples_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_max = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_usec_max(&has_bits); + _impl_.usec_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_samples_1secmax = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_active_samples_1secmax(&has_bits); + _impl_.active_samples_1secmax_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_avg_active = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_usec_avg_active(&has_bits); + _impl_.usec_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p50_active = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_usec_p50_active(&has_bits); + _impl_.usec_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p99_active = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_usec_p99_active(&has_bits); + _impl_.usec_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_avg_all = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_usec_avg_all(&has_bits); + _impl_.usec_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p50_all = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_usec_p50_all(&has_bits); + _impl_.usec_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_p99_all = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_usec_p99_all(&has_bits); + _impl_.usec_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_avg_active = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_usec_1secmax_avg_active(&has_bits); + _impl_.usec_1secmax_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p50_active = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_usec_1secmax_p50_active(&has_bits); + _impl_.usec_1secmax_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p95_active = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_usec_1secmax_p95_active(&has_bits); + _impl_.usec_1secmax_p95_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p99_active = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_usec_1secmax_p99_active(&has_bits); + _impl_.usec_1secmax_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_avg_all = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_usec_1secmax_avg_all(&has_bits); + _impl_.usec_1secmax_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p50_all = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_usec_1secmax_p50_all(&has_bits); + _impl_.usec_1secmax_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p95_all = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_usec_1secmax_p95_all(&has_bits); + _impl_.usec_1secmax_p95_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 usec_1secmax_p99_all = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_usec_1secmax_p99_all(&has_bits); + _impl_.usec_1secmax_p99_all_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2VProfLiteReportItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReportItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2VProfLiteReportItem.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional uint32 active_samples = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_active_samples(), target); + } + + // optional uint32 usec_max = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_usec_max(), target); + } + + // optional uint32 active_samples_1secmax = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_active_samples_1secmax(), target); + } + + // optional uint32 usec_avg_active = 11; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_usec_avg_active(), target); + } + + // optional uint32 usec_p50_active = 12; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_usec_p50_active(), target); + } + + // optional uint32 usec_p99_active = 13; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_usec_p99_active(), target); + } + + // optional uint32 usec_avg_all = 21; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_usec_avg_all(), target); + } + + // optional uint32 usec_p50_all = 22; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_usec_p50_all(), target); + } + + // optional uint32 usec_p99_all = 23; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_usec_p99_all(), target); + } + + // optional uint32 usec_1secmax_avg_active = 31; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_usec_1secmax_avg_active(), target); + } + + // optional uint32 usec_1secmax_p50_active = 32; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_usec_1secmax_p50_active(), target); + } + + // optional uint32 usec_1secmax_p95_active = 33; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_usec_1secmax_p95_active(), target); + } + + // optional uint32 usec_1secmax_p99_active = 34; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_usec_1secmax_p99_active(), target); + } + + // optional uint32 usec_1secmax_avg_all = 41; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_usec_1secmax_avg_all(), target); + } + + // optional uint32 usec_1secmax_p50_all = 42; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_usec_1secmax_p50_all(), target); + } + + // optional uint32 usec_1secmax_p95_all = 43; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_usec_1secmax_p95_all(), target); + } + + // optional uint32 usec_1secmax_p99_all = 44; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_usec_1secmax_p99_all(), 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:CMsgSource2VProfLiteReportItem) + return target; +} + +size_t CMsgSource2VProfLiteReportItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReportItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional uint32 active_samples = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples()); + } + + // optional uint32 usec_max = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_max()); + } + + // optional uint32 active_samples_1secmax = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples_1secmax()); + } + + // optional uint32 usec_avg_active = 11; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_avg_active()); + } + + // optional uint32 usec_p50_active = 12; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p50_active()); + } + + // optional uint32 usec_p99_active = 13; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p99_active()); + } + + // optional uint32 usec_avg_all = 21; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_avg_all()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 usec_p50_all = 22; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_p50_all()); + } + + // optional uint32 usec_p99_all = 23; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_p99_all()); + } + + // optional uint32 usec_1secmax_avg_active = 31; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_avg_active()); + } + + // optional uint32 usec_1secmax_p50_active = 32; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p50_active()); + } + + // optional uint32 usec_1secmax_p95_active = 33; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p95_active()); + } + + // optional uint32 usec_1secmax_p99_active = 34; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p99_active()); + } + + // optional uint32 usec_1secmax_avg_all = 41; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_avg_all()); + } + + // optional uint32 usec_1secmax_p50_all = 42; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p50_all()); + } + + } + if (cached_has_bits & 0x00030000u) { + // optional uint32 usec_1secmax_p95_all = 43; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p95_all()); + } + + // optional uint32 usec_1secmax_p99_all = 44; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_usec_1secmax_p99_all()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReportItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2VProfLiteReportItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReportItem::GetClassData() const { return &_class_data_; } + + +void CMsgSource2VProfLiteReportItem::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:CMsgSource2VProfLiteReportItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.active_samples_ = from._impl_.active_samples_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.usec_max_ = from._impl_.usec_max_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.active_samples_1secmax_ = from._impl_.active_samples_1secmax_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.usec_avg_active_ = from._impl_.usec_avg_active_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.usec_p50_active_ = from._impl_.usec_p50_active_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.usec_p99_active_ = from._impl_.usec_p99_active_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.usec_avg_all_ = from._impl_.usec_avg_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.usec_p50_all_ = from._impl_.usec_p50_all_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.usec_p99_all_ = from._impl_.usec_p99_all_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.usec_1secmax_avg_active_ = from._impl_.usec_1secmax_avg_active_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.usec_1secmax_p50_active_ = from._impl_.usec_1secmax_p50_active_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.usec_1secmax_p95_active_ = from._impl_.usec_1secmax_p95_active_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.usec_1secmax_p99_active_ = from._impl_.usec_1secmax_p99_active_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.usec_1secmax_avg_all_ = from._impl_.usec_1secmax_avg_all_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.usec_1secmax_p50_all_ = from._impl_.usec_1secmax_p50_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.usec_1secmax_p95_all_ = from._impl_.usec_1secmax_p95_all_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.usec_1secmax_p99_all_ = from._impl_.usec_1secmax_p99_all_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2VProfLiteReportItem::CopyFrom(const CMsgSource2VProfLiteReportItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReportItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2VProfLiteReportItem::IsInitialized() const { + return true; +} + +void CMsgSource2VProfLiteReportItem::InternalSwap(CMsgSource2VProfLiteReportItem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_) + + sizeof(CMsgSource2VProfLiteReportItem::_impl_.usec_1secmax_p99_all_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.active_samples_)>( + reinterpret_cast(&_impl_.active_samples_), + reinterpret_cast(&other->_impl_.active_samples_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReportItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[15]); +} + +// =================================================================== + +class CMsgSource2VProfLiteReport::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSource2VProfLiteReportItem& total(const CMsgSource2VProfLiteReport* msg); + static void set_has_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_discarded_frames(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSource2VProfLiteReportItem& +CMsgSource2VProfLiteReport::_Internal::total(const CMsgSource2VProfLiteReport* msg) { + return *msg->_impl_.total_; +} +CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(::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:CMsgSource2VProfLiteReport) +} +CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2VProfLiteReport* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){from._impl_.items_} + , decltype(_impl_.total_){nullptr} + , decltype(_impl_.discarded_frames_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_total()) { + _this->_impl_.total_ = new ::CMsgSource2VProfLiteReportItem(*from._impl_.total_); + } + _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; + // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReport) +} + +inline void CMsgSource2VProfLiteReport::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.items_){arena} + , decltype(_impl_.total_){nullptr} + , decltype(_impl_.discarded_frames_){0u} + }; +} + +CMsgSource2VProfLiteReport::~CMsgSource2VProfLiteReport() { + // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReport) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2VProfLiteReport::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.items_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.total_; +} + +void CMsgSource2VProfLiteReport::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2VProfLiteReport::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReport) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.items_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.total_ != nullptr); + _impl_.total_->Clear(); + } + _impl_.discarded_frames_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2VProfLiteReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSource2VProfLiteReportItem total = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_total(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2VProfLiteReportItem items = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_items(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 discarded_frames = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_discarded_frames(&has_bits); + _impl_.discarded_frames_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2VProfLiteReport::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReport) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSource2VProfLiteReportItem total = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::total(this), + _Internal::total(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgSource2VProfLiteReportItem items = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_items_size()); i < n; i++) { + const auto& repfield = this->_internal_items(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 discarded_frames = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_discarded_frames(), 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:CMsgSource2VProfLiteReport) + return target; +} + +size_t CMsgSource2VProfLiteReport::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReport) + 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 .CMsgSource2VProfLiteReportItem items = 2; + total_size += 1UL * this->_internal_items_size(); + for (const auto& msg : this->_impl_.items_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSource2VProfLiteReportItem total = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.total_); + } + + // optional uint32 discarded_frames = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_discarded_frames()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReport::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2VProfLiteReport::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReport::GetClassData() const { return &_class_data_; } + + +void CMsgSource2VProfLiteReport::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:CMsgSource2VProfLiteReport) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.items_.MergeFrom(from._impl_.items_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_total()->::CMsgSource2VProfLiteReportItem::MergeFrom( + from._internal_total()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2VProfLiteReport::CopyFrom(const CMsgSource2VProfLiteReport& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReport) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2VProfLiteReport::IsInitialized() const { + return true; +} + +void CMsgSource2VProfLiteReport::InternalSwap(CMsgSource2VProfLiteReport* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.items_.InternalSwap(&other->_impl_.items_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.discarded_frames_) + + sizeof(CMsgSource2VProfLiteReport::_impl_.discarded_frames_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.total_)>( + reinterpret_cast(&_impl_.total_), + reinterpret_cast(&other->_impl_.total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReport::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[16]); +} + +// =================================================================== + +class CMsgSource2NetworkFlowQuality::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bytes_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_bytes_total_reliable(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_bytes_total_voice(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_bytes_sec_p95(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_bytes_sec_p99(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_enginemsgs_total(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_enginemsgs_sec_p95(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_enginemsgs_sec_p99(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_ticks_total(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_ticks_good(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_ticks_good_almost_late(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_ticks_fixed_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_ticks_fixed_late(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_ticks_bad_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_ticks_bad_late(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_ticks_bad_other(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_tick_missrate_samples_total(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_tick_missrate_samples_perfect(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_tick_missrate_samples_perfectnet(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_tick_missratenet_p75_x10(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_tick_missratenet_p95_x10(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_tick_missratenet_p99_x10(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_recvmargin_p1(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_recvmargin_p5(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static void set_has_recvmargin_p25(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_recvmargin_p50(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } + static void set_has_recvmargin_p75(HasBits* has_bits) { + (*has_bits)[0] |= 134217728u; + } + static void set_has_recvmargin_p95(HasBits* has_bits) { + (*has_bits)[0] |= 268435456u; + } +}; + +CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(::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:CMsgSource2NetworkFlowQuality) +} +CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2NetworkFlowQuality* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.bytes_total_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.bytes_sec_p95_){} + , decltype(_impl_.bytes_total_reliable_){} + , decltype(_impl_.bytes_total_voice_){} + , decltype(_impl_.bytes_sec_p99_){} + , decltype(_impl_.enginemsgs_total_){} + , decltype(_impl_.enginemsgs_sec_p95_){} + , decltype(_impl_.enginemsgs_sec_p99_){} + , decltype(_impl_.ticks_total_){} + , decltype(_impl_.ticks_good_){} + , decltype(_impl_.ticks_good_almost_late_){} + , decltype(_impl_.ticks_fixed_dropped_){} + , decltype(_impl_.ticks_fixed_late_){} + , decltype(_impl_.ticks_bad_dropped_){} + , decltype(_impl_.ticks_bad_late_){} + , decltype(_impl_.ticks_bad_other_){} + , decltype(_impl_.tick_missrate_samples_total_){} + , decltype(_impl_.tick_missrate_samples_perfect_){} + , decltype(_impl_.tick_missrate_samples_perfectnet_){} + , decltype(_impl_.tick_missratenet_p75_x10_){} + , decltype(_impl_.tick_missratenet_p95_x10_){} + , decltype(_impl_.tick_missratenet_p99_x10_){} + , decltype(_impl_.recvmargin_p1_){} + , decltype(_impl_.recvmargin_p5_){} + , decltype(_impl_.recvmargin_p25_){} + , decltype(_impl_.recvmargin_p50_){} + , decltype(_impl_.recvmargin_p75_){} + , decltype(_impl_.recvmargin_p95_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.bytes_total_, &from._impl_.bytes_total_, + static_cast(reinterpret_cast(&_impl_.recvmargin_p95_) - + reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.recvmargin_p95_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2NetworkFlowQuality) +} + +inline void CMsgSource2NetworkFlowQuality::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.bytes_total_){uint64_t{0u}} + , decltype(_impl_.duration_){0u} + , decltype(_impl_.bytes_sec_p95_){0u} + , decltype(_impl_.bytes_total_reliable_){uint64_t{0u}} + , decltype(_impl_.bytes_total_voice_){uint64_t{0u}} + , decltype(_impl_.bytes_sec_p99_){0u} + , decltype(_impl_.enginemsgs_total_){0u} + , decltype(_impl_.enginemsgs_sec_p95_){0u} + , decltype(_impl_.enginemsgs_sec_p99_){0u} + , decltype(_impl_.ticks_total_){0u} + , decltype(_impl_.ticks_good_){0u} + , decltype(_impl_.ticks_good_almost_late_){0u} + , decltype(_impl_.ticks_fixed_dropped_){0u} + , decltype(_impl_.ticks_fixed_late_){0u} + , decltype(_impl_.ticks_bad_dropped_){0u} + , decltype(_impl_.ticks_bad_late_){0u} + , decltype(_impl_.ticks_bad_other_){0u} + , decltype(_impl_.tick_missrate_samples_total_){0u} + , decltype(_impl_.tick_missrate_samples_perfect_){0u} + , decltype(_impl_.tick_missrate_samples_perfectnet_){0u} + , decltype(_impl_.tick_missratenet_p75_x10_){0u} + , decltype(_impl_.tick_missratenet_p95_x10_){0u} + , decltype(_impl_.tick_missratenet_p99_x10_){0u} + , decltype(_impl_.recvmargin_p1_){0} + , decltype(_impl_.recvmargin_p5_){0} + , decltype(_impl_.recvmargin_p25_){0} + , decltype(_impl_.recvmargin_p50_){0} + , decltype(_impl_.recvmargin_p75_){0} + , decltype(_impl_.recvmargin_p95_){0} + }; +} + +CMsgSource2NetworkFlowQuality::~CMsgSource2NetworkFlowQuality() { + // @@protoc_insertion_point(destructor:CMsgSource2NetworkFlowQuality) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2NetworkFlowQuality::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSource2NetworkFlowQuality::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2NetworkFlowQuality::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2NetworkFlowQuality) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.bytes_total_, 0, static_cast( + reinterpret_cast(&_impl_.enginemsgs_sec_p95_) - + reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.enginemsgs_sec_p95_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.enginemsgs_sec_p99_, 0, static_cast( + reinterpret_cast(&_impl_.ticks_bad_late_) - + reinterpret_cast(&_impl_.enginemsgs_sec_p99_)) + sizeof(_impl_.ticks_bad_late_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.ticks_bad_other_, 0, static_cast( + reinterpret_cast(&_impl_.recvmargin_p1_) - + reinterpret_cast(&_impl_.ticks_bad_other_)) + sizeof(_impl_.recvmargin_p1_)); + } + if (cached_has_bits & 0x1f000000u) { + ::memset(&_impl_.recvmargin_p5_, 0, static_cast( + reinterpret_cast(&_impl_.recvmargin_p95_) - + reinterpret_cast(&_impl_.recvmargin_p5_)) + sizeof(_impl_.recvmargin_p95_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2NetworkFlowQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 duration = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_bytes_total(&has_bits); + _impl_.bytes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total_reliable = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_bytes_total_reliable(&has_bits); + _impl_.bytes_total_reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 bytes_total_voice = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_bytes_total_voice(&has_bits); + _impl_.bytes_total_voice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bytes_sec_p95 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_bytes_sec_p95(&has_bits); + _impl_.bytes_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 bytes_sec_p99 = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_bytes_sec_p99(&has_bits); + _impl_.bytes_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_total = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_enginemsgs_total(&has_bits); + _impl_.enginemsgs_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_sec_p95 = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_enginemsgs_sec_p95(&has_bits); + _impl_.enginemsgs_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 enginemsgs_sec_p99 = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_enginemsgs_sec_p99(&has_bits); + _impl_.enginemsgs_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_total = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_ticks_total(&has_bits); + _impl_.ticks_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_good = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_ticks_good(&has_bits); + _impl_.ticks_good_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_good_almost_late = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ticks_good_almost_late(&has_bits); + _impl_.ticks_good_almost_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_fixed_dropped = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_ticks_fixed_dropped(&has_bits); + _impl_.ticks_fixed_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_fixed_late = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_ticks_fixed_late(&has_bits); + _impl_.ticks_fixed_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_dropped = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_ticks_bad_dropped(&has_bits); + _impl_.ticks_bad_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_late = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_ticks_bad_late(&has_bits); + _impl_.ticks_bad_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ticks_bad_other = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_ticks_bad_other(&has_bits); + _impl_.ticks_bad_other_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_total = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_tick_missrate_samples_total(&has_bits); + _impl_.tick_missrate_samples_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_perfect = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_tick_missrate_samples_perfect(&has_bits); + _impl_.tick_missrate_samples_perfect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missrate_samples_perfectnet = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_tick_missrate_samples_perfectnet(&has_bits); + _impl_.tick_missrate_samples_perfectnet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p75_x10 = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_tick_missratenet_p75_x10(&has_bits); + _impl_.tick_missratenet_p75_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p95_x10 = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_tick_missratenet_p95_x10(&has_bits); + _impl_.tick_missratenet_p95_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick_missratenet_p99_x10 = 55; + case 55: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_tick_missratenet_p99_x10(&has_bits); + _impl_.tick_missratenet_p99_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p1 = 61; + case 61: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_recvmargin_p1(&has_bits); + _impl_.recvmargin_p1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p5 = 62; + case 62: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_recvmargin_p5(&has_bits); + _impl_.recvmargin_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p25 = 63; + case 63: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_recvmargin_p25(&has_bits); + _impl_.recvmargin_p25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p50 = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_recvmargin_p50(&has_bits); + _impl_.recvmargin_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p75 = 65; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_recvmargin_p75(&has_bits); + _impl_.recvmargin_p75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 recvmargin_p95 = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_recvmargin_p95(&has_bits); + _impl_.recvmargin_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2NetworkFlowQuality::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2NetworkFlowQuality) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); + } + + // optional uint64 bytes_total = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_bytes_total(), target); + } + + // optional uint64 bytes_total_reliable = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_bytes_total_reliable(), target); + } + + // optional uint64 bytes_total_voice = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_bytes_total_voice(), target); + } + + // optional uint32 bytes_sec_p95 = 10; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bytes_sec_p95(), target); + } + + // optional uint32 bytes_sec_p99 = 11; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_bytes_sec_p99(), target); + } + + // optional uint32 enginemsgs_total = 20; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_enginemsgs_total(), target); + } + + // optional uint32 enginemsgs_sec_p95 = 21; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_enginemsgs_sec_p95(), target); + } + + // optional uint32 enginemsgs_sec_p99 = 22; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_enginemsgs_sec_p99(), target); + } + + // optional uint32 ticks_total = 40; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_ticks_total(), target); + } + + // optional uint32 ticks_good = 41; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ticks_good(), target); + } + + // optional uint32 ticks_good_almost_late = 42; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ticks_good_almost_late(), target); + } + + // optional uint32 ticks_fixed_dropped = 43; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ticks_fixed_dropped(), target); + } + + // optional uint32 ticks_fixed_late = 44; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ticks_fixed_late(), target); + } + + // optional uint32 ticks_bad_dropped = 45; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ticks_bad_dropped(), target); + } + + // optional uint32 ticks_bad_late = 46; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ticks_bad_late(), target); + } + + // optional uint32 ticks_bad_other = 47; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ticks_bad_other(), target); + } + + // optional uint32 tick_missrate_samples_total = 50; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_tick_missrate_samples_total(), target); + } + + // optional uint32 tick_missrate_samples_perfect = 51; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_tick_missrate_samples_perfect(), target); + } + + // optional uint32 tick_missrate_samples_perfectnet = 52; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_tick_missrate_samples_perfectnet(), target); + } + + // optional uint32 tick_missratenet_p75_x10 = 53; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_tick_missratenet_p75_x10(), target); + } + + // optional uint32 tick_missratenet_p95_x10 = 54; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_tick_missratenet_p95_x10(), target); + } + + // optional uint32 tick_missratenet_p99_x10 = 55; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(55, this->_internal_tick_missratenet_p99_x10(), target); + } + + // optional sint32 recvmargin_p1 = 61; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(61, this->_internal_recvmargin_p1(), target); + } + + // optional sint32 recvmargin_p5 = 62; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(62, this->_internal_recvmargin_p5(), target); + } + + // optional sint32 recvmargin_p25 = 63; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(63, this->_internal_recvmargin_p25(), target); + } + + // optional sint32 recvmargin_p50 = 64; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(64, this->_internal_recvmargin_p50(), target); + } + + // optional sint32 recvmargin_p75 = 65; + if (cached_has_bits & 0x08000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(65, this->_internal_recvmargin_p75(), target); + } + + // optional sint32 recvmargin_p95 = 66; + if (cached_has_bits & 0x10000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(66, this->_internal_recvmargin_p95(), 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:CMsgSource2NetworkFlowQuality) + return target; +} + +size_t CMsgSource2NetworkFlowQuality::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2NetworkFlowQuality) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 bytes_total = 5; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total()); + } + + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); + } + + // optional uint32 bytes_sec_p95 = 10; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p95()); + } + + // optional uint64 bytes_total_reliable = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_reliable()); + } + + // optional uint64 bytes_total_voice = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_voice()); + } + + // optional uint32 bytes_sec_p99 = 11; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p99()); + } + + // optional uint32 enginemsgs_total = 20; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_total()); + } + + // optional uint32 enginemsgs_sec_p95 = 21; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_sec_p95()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 enginemsgs_sec_p99 = 22; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_enginemsgs_sec_p99()); + } + + // optional uint32 ticks_total = 40; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_total()); + } + + // optional uint32 ticks_good = 41; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_good()); + } + + // optional uint32 ticks_good_almost_late = 42; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_good_almost_late()); + } + + // optional uint32 ticks_fixed_dropped = 43; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_fixed_dropped()); + } + + // optional uint32 ticks_fixed_late = 44; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_fixed_late()); + } + + // optional uint32 ticks_bad_dropped = 45; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_dropped()); + } + + // optional uint32 ticks_bad_late = 46; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_late()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional uint32 ticks_bad_other = 47; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ticks_bad_other()); + } + + // optional uint32 tick_missrate_samples_total = 50; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_total()); + } + + // optional uint32 tick_missrate_samples_perfect = 51; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_perfect()); + } + + // optional uint32 tick_missrate_samples_perfectnet = 52; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missrate_samples_perfectnet()); + } + + // optional uint32 tick_missratenet_p75_x10 = 53; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p75_x10()); + } + + // optional uint32 tick_missratenet_p95_x10 = 54; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p95_x10()); + } + + // optional uint32 tick_missratenet_p99_x10 = 55; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tick_missratenet_p99_x10()); + } + + // optional sint32 recvmargin_p1 = 61; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p1()); + } + + } + if (cached_has_bits & 0x1f000000u) { + // optional sint32 recvmargin_p5 = 62; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p5()); + } + + // optional sint32 recvmargin_p25 = 63; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p25()); + } + + // optional sint32 recvmargin_p50 = 64; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p50()); + } + + // optional sint32 recvmargin_p75 = 65; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p75()); + } + + // optional sint32 recvmargin_p95 = 66; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_recvmargin_p95()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2NetworkFlowQuality::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2NetworkFlowQuality::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2NetworkFlowQuality::GetClassData() const { return &_class_data_; } + + +void CMsgSource2NetworkFlowQuality::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:CMsgSource2NetworkFlowQuality) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.bytes_total_ = from._impl_.bytes_total_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bytes_sec_p95_ = from._impl_.bytes_sec_p95_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.bytes_total_reliable_ = from._impl_.bytes_total_reliable_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.bytes_total_voice_ = from._impl_.bytes_total_voice_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.bytes_sec_p99_ = from._impl_.bytes_sec_p99_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.enginemsgs_total_ = from._impl_.enginemsgs_total_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.enginemsgs_sec_p95_ = from._impl_.enginemsgs_sec_p95_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.enginemsgs_sec_p99_ = from._impl_.enginemsgs_sec_p99_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.ticks_total_ = from._impl_.ticks_total_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.ticks_good_ = from._impl_.ticks_good_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.ticks_good_almost_late_ = from._impl_.ticks_good_almost_late_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.ticks_fixed_dropped_ = from._impl_.ticks_fixed_dropped_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.ticks_fixed_late_ = from._impl_.ticks_fixed_late_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.ticks_bad_dropped_ = from._impl_.ticks_bad_dropped_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.ticks_bad_late_ = from._impl_.ticks_bad_late_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.ticks_bad_other_ = from._impl_.ticks_bad_other_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.tick_missrate_samples_total_ = from._impl_.tick_missrate_samples_total_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.tick_missrate_samples_perfect_ = from._impl_.tick_missrate_samples_perfect_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.tick_missrate_samples_perfectnet_ = from._impl_.tick_missrate_samples_perfectnet_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.tick_missratenet_p75_x10_ = from._impl_.tick_missratenet_p75_x10_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.tick_missratenet_p95_x10_ = from._impl_.tick_missratenet_p95_x10_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.tick_missratenet_p99_x10_ = from._impl_.tick_missratenet_p99_x10_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.recvmargin_p1_ = from._impl_.recvmargin_p1_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x1f000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.recvmargin_p5_ = from._impl_.recvmargin_p5_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.recvmargin_p25_ = from._impl_.recvmargin_p25_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.recvmargin_p50_ = from._impl_.recvmargin_p50_; + } + if (cached_has_bits & 0x08000000u) { + _this->_impl_.recvmargin_p75_ = from._impl_.recvmargin_p75_; + } + if (cached_has_bits & 0x10000000u) { + _this->_impl_.recvmargin_p95_ = from._impl_.recvmargin_p95_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2NetworkFlowQuality::CopyFrom(const CMsgSource2NetworkFlowQuality& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2NetworkFlowQuality) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2NetworkFlowQuality::IsInitialized() const { + return true; +} + +void CMsgSource2NetworkFlowQuality::InternalSwap(CMsgSource2NetworkFlowQuality* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_) + + sizeof(CMsgSource2NetworkFlowQuality::_impl_.recvmargin_p95_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.bytes_total_)>( + reinterpret_cast(&_impl_.bytes_total_), + reinterpret_cast(&other->_impl_.bytes_total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2NetworkFlowQuality::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[17]); +} + +// =================================================================== + +class CMsgSource2PerfIntervalSample_Tag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_max_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(::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:CMsgSource2PerfIntervalSample.Tag) +} +CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2PerfIntervalSample_Tag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.max_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_tag()) { + _this->_impl_.tag_.Set(from._internal_tag(), + _this->GetArenaForAllocation()); + } + _this->_impl_.max_value_ = from._impl_.max_value_; + // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample.Tag) +} + +inline void CMsgSource2PerfIntervalSample_Tag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.max_value_){0u} + }; + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSource2PerfIntervalSample_Tag::~CMsgSource2PerfIntervalSample_Tag() { + // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample.Tag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2PerfIntervalSample_Tag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tag_.Destroy(); +} + +void CMsgSource2PerfIntervalSample_Tag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2PerfIntervalSample_Tag::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample.Tag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.tag_.ClearNonDefaultToEmpty(); + } + _impl_.max_value_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2PerfIntervalSample_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string tag = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSource2PerfIntervalSample.Tag.tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 max_value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_max_value(&has_bits); + _impl_.max_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2PerfIntervalSample_Tag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample.Tag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSource2PerfIntervalSample.Tag.tag"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_tag(), target); + } + + // optional uint32 max_value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_max_value(), 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:CMsgSource2PerfIntervalSample.Tag) + return target; +} + +size_t CMsgSource2PerfIntervalSample_Tag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample.Tag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + + // optional uint32 max_value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample_Tag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2PerfIntervalSample_Tag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample_Tag::GetClassData() const { return &_class_data_; } + + +void CMsgSource2PerfIntervalSample_Tag::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:CMsgSource2PerfIntervalSample.Tag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_tag(from._internal_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.max_value_ = from._impl_.max_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2PerfIntervalSample_Tag::CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample.Tag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2PerfIntervalSample_Tag::IsInitialized() const { + return true; +} + +void CMsgSource2PerfIntervalSample_Tag::InternalSwap(CMsgSource2PerfIntervalSample_Tag* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.tag_, lhs_arena, + &other->_impl_.tag_, rhs_arena + ); + swap(_impl_.max_value_, other->_impl_.max_value_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample_Tag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[18]); +} + +// =================================================================== + +class CMsgSource2PerfIntervalSample::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_frame_time_max_ms(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_frame_time_avg_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frame_time_min_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_frame_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_frame_time_total_ms(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(::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:CMsgSource2PerfIntervalSample) +} +CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSource2PerfIntervalSample* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.frame_time_max_ms_){} + , decltype(_impl_.frame_time_avg_ms_){} + , decltype(_impl_.frame_time_min_ms_){} + , decltype(_impl_.frame_count_){} + , decltype(_impl_.frame_time_total_ms_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.frame_time_max_ms_, &from._impl_.frame_time_max_ms_, + static_cast(reinterpret_cast(&_impl_.frame_time_total_ms_) - + reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); + // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample) +} + +inline void CMsgSource2PerfIntervalSample::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.frame_time_max_ms_){0} + , decltype(_impl_.frame_time_avg_ms_){0} + , decltype(_impl_.frame_time_min_ms_){0} + , decltype(_impl_.frame_count_){0} + , decltype(_impl_.frame_time_total_ms_){0} + }; +} + +CMsgSource2PerfIntervalSample::~CMsgSource2PerfIntervalSample() { + // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSource2PerfIntervalSample::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tags_.~RepeatedPtrField(); +} + +void CMsgSource2PerfIntervalSample::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSource2PerfIntervalSample::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.frame_time_max_ms_, 0, static_cast( + reinterpret_cast(&_impl_.frame_time_total_ms_) - + reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSource2PerfIntervalSample::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float frame_time_max_ms = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_frame_time_max_ms(&has_bits); + _impl_.frame_time_max_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frame_time_avg_ms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_frame_time_avg_ms(&has_bits); + _impl_.frame_time_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frame_time_min_ms = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frame_time_min_ms(&has_bits); + _impl_.frame_time_min_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 frame_count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_frame_count(&has_bits); + _impl_.frame_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float frame_time_total_ms = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_frame_time_total_ms(&has_bits); + _impl_.frame_time_total_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); + CHK_(ptr); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSource2PerfIntervalSample::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float frame_time_max_ms = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time_max_ms(), target); + } + + // optional float frame_time_avg_ms = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_frame_time_avg_ms(), target); + } + + // optional float frame_time_min_ms = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frame_time_min_ms(), target); + } + + // optional int32 frame_count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_frame_count(), target); + } + + // optional float frame_time_total_ms = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_frame_time_total_ms(), target); + } + + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, 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:CMsgSource2PerfIntervalSample) + return target; +} + +size_t CMsgSource2PerfIntervalSample::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample) + 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 .CMsgSource2PerfIntervalSample.Tag tags = 6; + total_size += 1UL * this->_internal_tags_size(); + for (const auto& msg : this->_impl_.tags_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional float frame_time_max_ms = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float frame_time_avg_ms = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float frame_time_min_ms = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 frame_count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_count()); + } + + // optional float frame_time_total_ms = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSource2PerfIntervalSample::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample::GetClassData() const { return &_class_data_; } + + +void CMsgSource2PerfIntervalSample::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:CMsgSource2PerfIntervalSample) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.frame_time_max_ms_ = from._impl_.frame_time_max_ms_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.frame_time_avg_ms_ = from._impl_.frame_time_avg_ms_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frame_time_min_ms_ = from._impl_.frame_time_min_ms_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.frame_count_ = from._impl_.frame_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.frame_time_total_ms_ = from._impl_.frame_time_total_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSource2PerfIntervalSample::CopyFrom(const CMsgSource2PerfIntervalSample& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSource2PerfIntervalSample::IsInitialized() const { + return true; +} + +void CMsgSource2PerfIntervalSample::InternalSwap(CMsgSource2PerfIntervalSample* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_) + + sizeof(CMsgSource2PerfIntervalSample::_impl_.frame_time_total_ms_) + - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_)>( + reinterpret_cast(&_impl_.frame_time_max_ms_), + reinterpret_cast(&other->_impl_.frame_time_max_ms_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[19]); +} + +// =================================================================== + +class CCLCMsg_Diagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSource2SystemSpecs& system_specs(const CCLCMsg_Diagnostic* msg); + static void set_has_system_specs(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSource2VProfLiteReport& vprof_report(const CCLCMsg_Diagnostic* msg); + static void set_has_vprof_report(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CCLCMsg_Diagnostic* msg); + static void set_has_downstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CCLCMsg_Diagnostic* msg); + static void set_has_upstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgSource2SystemSpecs& +CCLCMsg_Diagnostic::_Internal::system_specs(const CCLCMsg_Diagnostic* msg) { + return *msg->_impl_.system_specs_; +} +const ::CMsgSource2VProfLiteReport& +CCLCMsg_Diagnostic::_Internal::vprof_report(const CCLCMsg_Diagnostic* msg) { + return *msg->_impl_.vprof_report_; +} +const ::CMsgSource2NetworkFlowQuality& +CCLCMsg_Diagnostic::_Internal::downstream_flow(const CCLCMsg_Diagnostic* msg) { + return *msg->_impl_.downstream_flow_; +} +const ::CMsgSource2NetworkFlowQuality& +CCLCMsg_Diagnostic::_Internal::upstream_flow(const CCLCMsg_Diagnostic* msg) { + return *msg->_impl_.upstream_flow_; +} +CCLCMsg_Diagnostic::CCLCMsg_Diagnostic(::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:CCLCMsg_Diagnostic) +} +CCLCMsg_Diagnostic::CCLCMsg_Diagnostic(const CCLCMsg_Diagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_Diagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.vprof_report_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_system_specs()) { + _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); + } + if (from._internal_has_vprof_report()) { + _this->_impl_.vprof_report_ = new ::CMsgSource2VProfLiteReport(*from._impl_.vprof_report_); + } + if (from._internal_has_downstream_flow()) { + _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); + } + if (from._internal_has_upstream_flow()) { + _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); + } + // @@protoc_insertion_point(copy_constructor:CCLCMsg_Diagnostic) +} + +inline void CCLCMsg_Diagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){arena} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.vprof_report_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr} + }; +} + +CCLCMsg_Diagnostic::~CCLCMsg_Diagnostic() { + // @@protoc_insertion_point(destructor:CCLCMsg_Diagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_Diagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.perf_samples_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.system_specs_; + if (this != internal_default_instance()) delete _impl_.vprof_report_; + if (this != internal_default_instance()) delete _impl_.downstream_flow_; + if (this != internal_default_instance()) delete _impl_.upstream_flow_; +} + +void CCLCMsg_Diagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_Diagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_Diagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.perf_samples_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); + _impl_.system_specs_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.vprof_report_ != nullptr); + _impl_.vprof_report_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); + _impl_.downstream_flow_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); + _impl_.upstream_flow_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2VProfLiteReport vprof_report = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_vprof_report(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_perf_samples(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_Diagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_Diagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::system_specs(this), + _Internal::system_specs(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2VProfLiteReport vprof_report = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::vprof_report(this), + _Internal::vprof_report(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::downstream_flow(this), + _Internal::downstream_flow(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::upstream_flow(this), + _Internal::upstream_flow(this).GetCachedSize(), target, stream); + } + + // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { + const auto& repfield = this->_internal_perf_samples(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:CCLCMsg_Diagnostic) + return target; +} + +size_t CCLCMsg_Diagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_Diagnostic) + 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 .CMsgSource2PerfIntervalSample perf_samples = 5; + total_size += 1UL * this->_internal_perf_samples_size(); + for (const auto& msg : this->_impl_.perf_samples_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.system_specs_); + } + + // optional .CMsgSource2VProfLiteReport vprof_report = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vprof_report_); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.downstream_flow_); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.upstream_flow_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_Diagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_Diagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_Diagnostic::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_Diagnostic::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:CCLCMsg_Diagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( + from._internal_system_specs()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_vprof_report()->::CMsgSource2VProfLiteReport::MergeFrom( + from._internal_vprof_report()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_downstream_flow()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_upstream_flow()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_Diagnostic::CopyFrom(const CCLCMsg_Diagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_Diagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_Diagnostic::IsInitialized() const { + return true; +} + +void CCLCMsg_Diagnostic::InternalSwap(CCLCMsg_Diagnostic* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_Diagnostic, _impl_.upstream_flow_) + + sizeof(CCLCMsg_Diagnostic::_impl_.upstream_flow_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_Diagnostic, _impl_.system_specs_)>( + reinterpret_cast(&_impl_.system_specs_), + reinterpret_cast(&other->_impl_.system_specs_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_Diagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[20]); +} + +// =================================================================== + +class CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSource2SystemSpecs& system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_system_specs(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSource2VProfLiteReport& profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_profile(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_build_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_downstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); + static void set_has_upstream_flow(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgSource2SystemSpecs& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.system_specs_; +} +const ::CMsgSource2VProfLiteReport& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.profile_; +} +const ::CMsgSource2NetworkFlowQuality& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.downstream_flow_; +} +const ::CMsgSource2NetworkFlowQuality& +CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { + return *msg->_impl_.upstream_flow_; +} +CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(::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:CSource2Metrics_MatchPerfSummary_Notification.Client) +} +CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSource2Metrics_MatchPerfSummary_Notification_Client* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.profile_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr} + , decltype(_impl_.steamid_){} + , decltype(_impl_.build_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_system_specs()) { + _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); + } + if (from._internal_has_profile()) { + _this->_impl_.profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.profile_); + } + if (from._internal_has_downstream_flow()) { + _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); + } + if (from._internal_has_upstream_flow()) { + _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.build_id_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); + // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) +} + +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.perf_samples_){arena} + , decltype(_impl_.system_specs_){nullptr} + , decltype(_impl_.profile_){nullptr} + , decltype(_impl_.downstream_flow_){nullptr} + , decltype(_impl_.upstream_flow_){nullptr} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.build_id_){0u} + }; +} + +CSource2Metrics_MatchPerfSummary_Notification_Client::~CSource2Metrics_MatchPerfSummary_Notification_Client() { + // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification.Client) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.perf_samples_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.system_specs_; + if (this != internal_default_instance()) delete _impl_.profile_; + if (this != internal_default_instance()) delete _impl_.downstream_flow_; + if (this != internal_default_instance()) delete _impl_.upstream_flow_; +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::Clear() { +// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.perf_samples_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); + _impl_.system_specs_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.profile_ != nullptr); + _impl_.profile_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); + _impl_.downstream_flow_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); + _impl_.upstream_flow_->Clear(); + } + } + if (cached_has_bits & 0x00000030u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.build_id_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2VProfLiteReport profile = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_profile(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 build_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_build_id(&has_bits); + _impl_.build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_perf_samples(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::system_specs(this), + _Internal::system_specs(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2VProfLiteReport profile = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::profile(this), + _Internal::profile(this).GetCachedSize(), target, stream); + } + + // optional uint32 build_id = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_build_id(), target); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::downstream_flow(this), + _Internal::downstream_flow(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::upstream_flow(this), + _Internal::upstream_flow(this).GetCachedSize(), target, stream); + } + + // optional fixed64 steamid = 10; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_steamid(), target); + } + + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { + const auto& repfield = this->_internal_perf_samples(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, 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:CSource2Metrics_MatchPerfSummary_Notification.Client) + return target; +} + +size_t CSource2Metrics_MatchPerfSummary_Notification_Client::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + 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 .CMsgSource2PerfIntervalSample perf_samples = 11; + total_size += 1UL * this->_internal_perf_samples_size(); + for (const auto& msg : this->_impl_.perf_samples_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .CMsgSource2SystemSpecs system_specs = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.system_specs_); + } + + // optional .CMsgSource2VProfLiteReport profile = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.profile_); + } + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.downstream_flow_); + } + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.upstream_flow_); + } + + // optional fixed64 steamid = 10; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 build_id = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_build_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification_Client::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification_Client::GetClassData() const { return &_class_data_; } + + +void CSource2Metrics_MatchPerfSummary_Notification_Client::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:CSource2Metrics_MatchPerfSummary_Notification.Client) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( + from._internal_system_specs()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_profile()->::CMsgSource2VProfLiteReport::MergeFrom( + from._internal_profile()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_downstream_flow()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( + from._internal_upstream_flow()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.build_id_ = from._impl_.build_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSource2Metrics_MatchPerfSummary_Notification_Client::IsInitialized() const { + return true; +} + +void CSource2Metrics_MatchPerfSummary_Notification_Client::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_) + + sizeof(CSource2Metrics_MatchPerfSummary_Notification_Client::_impl_.build_id_) + - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_)>( + reinterpret_cast(&_impl_.system_specs_), + reinterpret_cast(&other->_impl_.system_specs_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification_Client::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[21]); +} + +// =================================================================== + +class CSource2Metrics_MatchPerfSummary_Notification::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_game_mode(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_server_build_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_popid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSource2VProfLiteReport& server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg); + static void set_has_server_profile(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_map(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSource2VProfLiteReport& +CSource2Metrics_MatchPerfSummary_Notification::_Internal::server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg) { + return *msg->_impl_.server_profile_; +} +CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(::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:CSource2Metrics_MatchPerfSummary_Notification) +} +CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSource2Metrics_MatchPerfSummary_Notification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clients_){from._impl_.clients_} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.map_){} + , decltype(_impl_.server_profile_){nullptr} + , decltype(_impl_.appid_){} + , decltype(_impl_.server_build_id_){} + , decltype(_impl_.server_popid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_mode()) { + _this->_impl_.game_mode_.Set(from._internal_game_mode(), + _this->GetArenaForAllocation()); + } + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_server_profile()) { + _this->_impl_.server_profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.server_profile_); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.server_popid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); + // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification) +} + +inline void CSource2Metrics_MatchPerfSummary_Notification::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clients_){arena} + , decltype(_impl_.game_mode_){} + , decltype(_impl_.map_){} + , decltype(_impl_.server_profile_){nullptr} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.server_build_id_){0u} + , decltype(_impl_.server_popid_){0u} + }; + _impl_.game_mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_mode_.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 +} + +CSource2Metrics_MatchPerfSummary_Notification::~CSource2Metrics_MatchPerfSummary_Notification() { + // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSource2Metrics_MatchPerfSummary_Notification::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.clients_.~RepeatedPtrField(); + _impl_.game_mode_.Destroy(); + _impl_.map_.Destroy(); + if (this != internal_default_instance()) delete _impl_.server_profile_; +} + +void CSource2Metrics_MatchPerfSummary_Notification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSource2Metrics_MatchPerfSummary_Notification::Clear() { +// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.clients_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_mode_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.map_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.server_profile_ != nullptr); + _impl_.server_profile_->Clear(); + } + } + if (cached_has_bits & 0x00000038u) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.server_popid_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSource2Metrics_MatchPerfSummary_Notification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string game_mode = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_game_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 server_build_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_server_build_id(&has_bits); + _impl_.server_build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_popid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_server_popid(&has_bits); + _impl_.server_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSource2VProfLiteReport server_profile = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_server_profile(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_clients(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // optional string map = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + auto str = _internal_mutable_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.map"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSource2Metrics_MatchPerfSummary_Notification::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional string game_mode = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_game_mode(), target); + } + + // optional uint32 server_build_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_build_id(), target); + } + + // optional fixed32 server_popid = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_server_popid(), target); + } + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::server_profile(this), + _Internal::server_profile(this).GetCachedSize(), target, stream); + } + + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_clients_size()); i < n; i++) { + const auto& repfield = this->_internal_clients(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional string map = 20; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSource2Metrics_MatchPerfSummary_Notification.map"); + target = stream->WriteStringMaybeAliased( + 20, this->_internal_map(), 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:CSource2Metrics_MatchPerfSummary_Notification) + return target; +} + +size_t CSource2Metrics_MatchPerfSummary_Notification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification) + 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 .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + total_size += 1UL * this->_internal_clients_size(); + for (const auto& msg : this->_impl_.clients_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string game_mode = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_mode()); + } + + // optional string map = 20; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.server_profile_); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 server_build_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_build_id()); + } + + // optional fixed32 server_popid = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSource2Metrics_MatchPerfSummary_Notification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification::GetClassData() const { return &_class_data_; } + + +void CSource2Metrics_MatchPerfSummary_Notification::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:CSource2Metrics_MatchPerfSummary_Notification) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.clients_.MergeFrom(from._impl_.clients_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_mode(from._internal_game_mode()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_map(from._internal_map()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_server_profile()->::CMsgSource2VProfLiteReport::MergeFrom( + from._internal_server_profile()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.server_build_id_ = from._impl_.server_build_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.server_popid_ = from._impl_.server_popid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSource2Metrics_MatchPerfSummary_Notification::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSource2Metrics_MatchPerfSummary_Notification::IsInitialized() const { + return true; +} + +void CSource2Metrics_MatchPerfSummary_Notification::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.clients_.InternalSwap(&other->_impl_.clients_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_mode_, lhs_arena, + &other->_impl_.game_mode_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_) + + sizeof(CSource2Metrics_MatchPerfSummary_Notification::_impl_.server_popid_) + - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_)>( + reinterpret_cast(&_impl_.server_profile_), + reinterpret_cast(&other->_impl_.server_profile_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[22]); +} + +// =================================================================== + +class CSVCMsg_ServerInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_protocol(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_server_count(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_is_dedicated(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_is_hltv(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_c_os(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_max_clients(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_max_classes(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_tick_interval(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_game_dir(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_map_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_sky_name(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_host_name(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_addon_name(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CSVCMsg_GameSessionConfiguration& game_session_config(const CSVCMsg_ServerInfo* msg); + static void set_has_game_session_config(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_game_session_manifest(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +const ::CSVCMsg_GameSessionConfiguration& +CSVCMsg_ServerInfo::_Internal::game_session_config(const CSVCMsg_ServerInfo* msg) { + return *msg->_impl_.game_session_config_; +} +void CSVCMsg_ServerInfo::clear_game_session_config() { + if (_impl_.game_session_config_ != nullptr) _impl_.game_session_config_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(::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:CSVCMsg_ServerInfo) +} +CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_ServerInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_dir_){} + , decltype(_impl_.map_name_){} + , decltype(_impl_.sky_name_){} + , decltype(_impl_.host_name_){} + , decltype(_impl_.addon_name_){} + , decltype(_impl_.game_session_manifest_){} + , decltype(_impl_.game_session_config_){nullptr} + , decltype(_impl_.protocol_){} + , decltype(_impl_.server_count_){} + , decltype(_impl_.is_dedicated_){} + , decltype(_impl_.is_hltv_){} + , decltype(_impl_.c_os_){} + , decltype(_impl_.max_clients_){} + , decltype(_impl_.max_classes_){} + , decltype(_impl_.tick_interval_){} + , decltype(_impl_.player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.game_dir_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_dir_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_dir()) { + _this->_impl_.game_dir_.Set(from._internal_game_dir(), + _this->GetArenaForAllocation()); + } + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map_name()) { + _this->_impl_.map_name_.Set(from._internal_map_name(), + _this->GetArenaForAllocation()); + } + _impl_.sky_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sky_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sky_name()) { + _this->_impl_.sky_name_.Set(from._internal_sky_name(), + _this->GetArenaForAllocation()); + } + _impl_.host_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.host_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_host_name()) { + _this->_impl_.host_name_.Set(from._internal_host_name(), + _this->GetArenaForAllocation()); + } + _impl_.addon_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addon_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_addon_name()) { + _this->_impl_.addon_name_.Set(from._internal_addon_name(), + _this->GetArenaForAllocation()); + } + _impl_.game_session_manifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_session_manifest()) { + _this->_impl_.game_session_manifest_.Set(from._internal_game_session_manifest(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_game_session_config()) { + _this->_impl_.game_session_config_ = new ::CSVCMsg_GameSessionConfiguration(*from._impl_.game_session_config_); + } + ::memcpy(&_impl_.protocol_, &from._impl_.protocol_, + static_cast(reinterpret_cast(&_impl_.player_slot_) - + reinterpret_cast(&_impl_.protocol_)) + sizeof(_impl_.player_slot_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ServerInfo) +} + +inline void CSVCMsg_ServerInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.game_dir_){} + , decltype(_impl_.map_name_){} + , decltype(_impl_.sky_name_){} + , decltype(_impl_.host_name_){} + , decltype(_impl_.addon_name_){} + , decltype(_impl_.game_session_manifest_){} + , decltype(_impl_.game_session_config_){nullptr} + , decltype(_impl_.protocol_){0} + , decltype(_impl_.server_count_){0} + , decltype(_impl_.is_dedicated_){false} + , decltype(_impl_.is_hltv_){false} + , decltype(_impl_.c_os_){0} + , decltype(_impl_.max_clients_){0} + , decltype(_impl_.max_classes_){0} + , decltype(_impl_.tick_interval_){0} + , decltype(_impl_.player_slot_){-1} + }; + _impl_.game_dir_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_dir_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sky_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sky_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.host_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.host_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addon_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addon_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_session_manifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_ServerInfo::~CSVCMsg_ServerInfo() { + // @@protoc_insertion_point(destructor:CSVCMsg_ServerInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_ServerInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.game_dir_.Destroy(); + _impl_.map_name_.Destroy(); + _impl_.sky_name_.Destroy(); + _impl_.host_name_.Destroy(); + _impl_.addon_name_.Destroy(); + _impl_.game_session_manifest_.Destroy(); + if (this != internal_default_instance()) delete _impl_.game_session_config_; +} + +void CSVCMsg_ServerInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_ServerInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_ServerInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.game_dir_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.map_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.sky_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.host_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.addon_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.game_session_manifest_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.game_session_config_ != nullptr); + _impl_.game_session_config_->Clear(); + } + } + _impl_.protocol_ = 0; + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.server_count_, 0, static_cast( + reinterpret_cast(&_impl_.tick_interval_) - + reinterpret_cast(&_impl_.server_count_)) + sizeof(_impl_.tick_interval_)); + _impl_.player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_ServerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 protocol = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_protocol(&has_bits); + _impl_.protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 server_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_server_count(&has_bits); + _impl_.server_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_dedicated = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_dedicated(&has_bits); + _impl_.is_dedicated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_hltv = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_is_hltv(&has_bits); + _impl_.is_hltv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 c_os = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_c_os(&has_bits); + _impl_.c_os_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 max_clients = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_max_clients(&has_bits); + _impl_.max_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 max_classes = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_max_classes(&has_bits); + _impl_.max_classes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot = 12 [default = -1]; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float tick_interval = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + _Internal::set_has_tick_interval(&has_bits); + _impl_.tick_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string game_dir = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_game_dir(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.game_dir"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string map_name = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_map_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.map_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string sky_name = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_sky_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.sky_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string host_name = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + auto str = _internal_mutable_host_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.host_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string addon_name = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + auto str = _internal_mutable_addon_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.addon_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_game_session_config(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes game_session_manifest = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + auto str = _internal_mutable_game_session_manifest(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_ServerInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ServerInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 protocol = 1; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_protocol(), target); + } + + // optional int32 server_count = 2; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_server_count(), target); + } + + // optional bool is_dedicated = 3; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_dedicated(), target); + } + + // optional bool is_hltv = 4; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_hltv(), target); + } + + // optional int32 c_os = 6; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_c_os(), target); + } + + // optional int32 max_clients = 10; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_max_clients(), target); + } + + // optional int32 max_classes = 11; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_max_classes(), target); + } + + // optional int32 player_slot = 12 [default = -1]; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_player_slot(), target); + } + + // optional float tick_interval = 13; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_tick_interval(), target); + } + + // optional string game_dir = 14; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_dir().data(), static_cast(this->_internal_game_dir().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ServerInfo.game_dir"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_game_dir(), target); + } + + // optional string map_name = 15; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ServerInfo.map_name"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_map_name(), target); + } + + // optional string sky_name = 16; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sky_name().data(), static_cast(this->_internal_sky_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ServerInfo.sky_name"); + target = stream->WriteStringMaybeAliased( + 16, this->_internal_sky_name(), target); + } + + // optional string host_name = 17; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_host_name().data(), static_cast(this->_internal_host_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ServerInfo.host_name"); + target = stream->WriteStringMaybeAliased( + 17, this->_internal_host_name(), target); + } + + // optional string addon_name = 18; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_addon_name().data(), static_cast(this->_internal_addon_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ServerInfo.addon_name"); + target = stream->WriteStringMaybeAliased( + 18, this->_internal_addon_name(), target); + } + + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, _Internal::game_session_config(this), + _Internal::game_session_config(this).GetCachedSize(), target, stream); + } + + // optional bytes game_session_manifest = 20; + if (cached_has_bits & 0x00000020u) { + target = stream->WriteBytesMaybeAliased( + 20, this->_internal_game_session_manifest(), 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:CSVCMsg_ServerInfo) + return target; +} + +size_t CSVCMsg_ServerInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ServerInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string game_dir = 14; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_dir()); + } + + // optional string map_name = 15; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map_name()); + } + + // optional string sky_name = 16; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sky_name()); + } + + // optional string host_name = 17; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_host_name()); + } + + // optional string addon_name = 18; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_addon_name()); + } + + // optional bytes game_session_manifest = 20; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_game_session_manifest()); + } + + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.game_session_config_); + } + + // optional int32 protocol = 1; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_protocol()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 server_count = 2; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_count()); + } + + // optional bool is_dedicated = 3; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional bool is_hltv = 4; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 1; + } + + // optional int32 c_os = 6; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_c_os()); + } + + // optional int32 max_clients = 10; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_clients()); + } + + // optional int32 max_classes = 11; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_classes()); + } + + // optional float tick_interval = 13; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + // optional int32 player_slot = 12 [default = -1]; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ServerInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_ServerInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ServerInfo::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_ServerInfo::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:CSVCMsg_ServerInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_game_dir(from._internal_game_dir()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_map_name(from._internal_map_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_sky_name(from._internal_sky_name()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_host_name(from._internal_host_name()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_addon_name(from._internal_addon_name()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_game_session_manifest(from._internal_game_session_manifest()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_game_session_config()->::CSVCMsg_GameSessionConfiguration::MergeFrom( + from._internal_game_session_config()); + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.protocol_ = from._impl_.protocol_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.server_count_ = from._impl_.server_count_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.is_dedicated_ = from._impl_.is_dedicated_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.is_hltv_ = from._impl_.is_hltv_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.c_os_ = from._impl_.c_os_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.max_clients_ = from._impl_.max_clients_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.max_classes_ = from._impl_.max_classes_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.tick_interval_ = from._impl_.tick_interval_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_ServerInfo::CopyFrom(const CSVCMsg_ServerInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ServerInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ServerInfo::IsInitialized() const { + return true; +} + +void CSVCMsg_ServerInfo::InternalSwap(CSVCMsg_ServerInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_dir_, lhs_arena, + &other->_impl_.game_dir_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_name_, lhs_arena, + &other->_impl_.map_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sky_name_, lhs_arena, + &other->_impl_.sky_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.host_name_, lhs_arena, + &other->_impl_.host_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.addon_name_, lhs_arena, + &other->_impl_.addon_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_session_manifest_, lhs_arena, + &other->_impl_.game_session_manifest_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_ServerInfo, _impl_.tick_interval_) + + sizeof(CSVCMsg_ServerInfo::_impl_.tick_interval_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_ServerInfo, _impl_.game_session_config_)>( + reinterpret_cast(&_impl_.game_session_config_), + reinterpret_cast(&other->_impl_.game_session_config_)); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[23]); +} + +// =================================================================== + +class CSVCMsg_ClassInfo_class_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_class_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_class_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(::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:CSVCMsg_ClassInfo.class_t) +} +CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_ClassInfo_class_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_name_){} + , decltype(_impl_.class_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.class_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.class_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_class_name()) { + _this->_impl_.class_name_.Set(from._internal_class_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.class_id_ = from._impl_.class_id_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClassInfo.class_t) +} + +inline void CSVCMsg_ClassInfo_class_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.class_name_){} + , decltype(_impl_.class_id_){0} + }; + _impl_.class_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.class_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_ClassInfo_class_t::~CSVCMsg_ClassInfo_class_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_ClassInfo.class_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_ClassInfo_class_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.class_name_.Destroy(); +} + +void CSVCMsg_ClassInfo_class_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_ClassInfo_class_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClassInfo.class_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.class_name_.ClearNonDefaultToEmpty(); + } + _impl_.class_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_ClassInfo_class_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 class_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_class_id(&has_bits); + _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string class_name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_class_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ClassInfo.class_t.class_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_ClassInfo_class_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClassInfo.class_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 class_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_class_id(), target); + } + + // optional string class_name = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_class_name().data(), static_cast(this->_internal_class_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ClassInfo.class_t.class_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_class_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:CSVCMsg_ClassInfo.class_t) + return target; +} + +size_t CSVCMsg_ClassInfo_class_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClassInfo.class_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string class_name = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_class_name()); + } + + // optional int32 class_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClassInfo_class_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_ClassInfo_class_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClassInfo_class_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_ClassInfo_class_t::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:CSVCMsg_ClassInfo.class_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_class_name(from._internal_class_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.class_id_ = from._impl_.class_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_ClassInfo_class_t::CopyFrom(const CSVCMsg_ClassInfo_class_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClassInfo.class_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClassInfo_class_t::IsInitialized() const { + return true; +} + +void CSVCMsg_ClassInfo_class_t::InternalSwap(CSVCMsg_ClassInfo_class_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.class_name_, lhs_arena, + &other->_impl_.class_name_, rhs_arena + ); + swap(_impl_.class_id_, other->_impl_.class_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo_class_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[24]); +} + +// =================================================================== + +class CSVCMsg_ClassInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_create_on_client(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(::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:CSVCMsg_ClassInfo) +} +CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_ClassInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.classes_){from._impl_.classes_} + , decltype(_impl_.create_on_client_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.create_on_client_ = from._impl_.create_on_client_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClassInfo) +} + +inline void CSVCMsg_ClassInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.classes_){arena} + , decltype(_impl_.create_on_client_){false} + }; +} + +CSVCMsg_ClassInfo::~CSVCMsg_ClassInfo() { + // @@protoc_insertion_point(destructor:CSVCMsg_ClassInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_ClassInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.classes_.~RepeatedPtrField(); +} + +void CSVCMsg_ClassInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_ClassInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClassInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.classes_.Clear(); + _impl_.create_on_client_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_ClassInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool create_on_client = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_create_on_client(&has_bits); + _impl_.create_on_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_classes(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_ClassInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClassInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool create_on_client = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_create_on_client(), target); + } + + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_classes_size()); i < n; i++) { + const auto& repfield = this->_internal_classes(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:CSVCMsg_ClassInfo) + return target; +} + +size_t CSVCMsg_ClassInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClassInfo) + 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 .CSVCMsg_ClassInfo.class_t classes = 2; + total_size += 1UL * this->_internal_classes_size(); + for (const auto& msg : this->_impl_.classes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional bool create_on_client = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClassInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_ClassInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClassInfo::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_ClassInfo::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:CSVCMsg_ClassInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.classes_.MergeFrom(from._impl_.classes_); + if (from._internal_has_create_on_client()) { + _this->_internal_set_create_on_client(from._internal_create_on_client()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_ClassInfo::CopyFrom(const CSVCMsg_ClassInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClassInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClassInfo::IsInitialized() const { + return true; +} + +void CSVCMsg_ClassInfo::InternalSwap(CSVCMsg_ClassInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.classes_.InternalSwap(&other->_impl_.classes_); + swap(_impl_.create_on_client_, other->_impl_.create_on_client_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[25]); +} + +// =================================================================== + +class CSVCMsg_SetPause::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_paused(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_SetPause::CSVCMsg_SetPause(::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:CSVCMsg_SetPause) +} +CSVCMsg_SetPause::CSVCMsg_SetPause(const CSVCMsg_SetPause& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_SetPause* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.paused_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.paused_ = from._impl_.paused_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_SetPause) +} + +inline void CSVCMsg_SetPause::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.paused_){false} + }; +} + +CSVCMsg_SetPause::~CSVCMsg_SetPause() { + // @@protoc_insertion_point(destructor:CSVCMsg_SetPause) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_SetPause::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_SetPause::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_SetPause::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_SetPause) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.paused_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_SetPause::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool paused = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_paused(&has_bits); + _impl_.paused_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_SetPause::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SetPause) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool paused = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_paused(), 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:CSVCMsg_SetPause) + return target; +} + +size_t CSVCMsg_SetPause::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SetPause) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool paused = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SetPause::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_SetPause::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SetPause::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_SetPause::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:CSVCMsg_SetPause) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_paused()) { + _this->_internal_set_paused(from._internal_paused()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_SetPause::CopyFrom(const CSVCMsg_SetPause& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SetPause) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SetPause::IsInitialized() const { + return true; +} + +void CSVCMsg_SetPause::InternalSwap(CSVCMsg_SetPause* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.paused_, other->_impl_.paused_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetPause::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[26]); +} + +// =================================================================== + +class CSVCMsg_VoiceInit::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_quality(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_codec(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(::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:CSVCMsg_VoiceInit) +} +CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_VoiceInit* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.codec_){} + , decltype(_impl_.quality_){} + , decltype(_impl_.version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.codec_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.codec_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_codec()) { + _this->_impl_.codec_.Set(from._internal_codec(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.quality_, &from._impl_.quality_, + static_cast(reinterpret_cast(&_impl_.version_) - + reinterpret_cast(&_impl_.quality_)) + sizeof(_impl_.version_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_VoiceInit) +} + +inline void CSVCMsg_VoiceInit::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.codec_){} + , decltype(_impl_.quality_){0} + , decltype(_impl_.version_){0} + }; + _impl_.codec_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.codec_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_VoiceInit::~CSVCMsg_VoiceInit() { + // @@protoc_insertion_point(destructor:CSVCMsg_VoiceInit) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_VoiceInit::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.codec_.Destroy(); +} + +void CSVCMsg_VoiceInit::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_VoiceInit::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_VoiceInit) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.codec_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.quality_, 0, static_cast( + reinterpret_cast(&_impl_.version_) - + reinterpret_cast(&_impl_.quality_)) + sizeof(_impl_.version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_VoiceInit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 quality = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quality(&has_bits); + _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string codec = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_codec(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_VoiceInit.codec"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 version = 3 [default = 0]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_version(&has_bits); + _impl_.version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_VoiceInit::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_VoiceInit) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 quality = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_quality(), target); + } + + // optional string codec = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_codec().data(), static_cast(this->_internal_codec().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_VoiceInit.codec"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_codec(), target); + } + + // optional int32 version = 3 [default = 0]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_version(), 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:CSVCMsg_VoiceInit) + return target; +} + +size_t CSVCMsg_VoiceInit::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_VoiceInit) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string codec = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_codec()); + } + + // optional int32 quality = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quality()); + } + + // optional int32 version = 3 [default = 0]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_VoiceInit::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_VoiceInit::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_VoiceInit::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_VoiceInit::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:CSVCMsg_VoiceInit) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_codec(from._internal_codec()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.quality_ = from._impl_.quality_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.version_ = from._impl_.version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_VoiceInit::CopyFrom(const CSVCMsg_VoiceInit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_VoiceInit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_VoiceInit::IsInitialized() const { + return true; +} + +void CSVCMsg_VoiceInit::InternalSwap(CSVCMsg_VoiceInit* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.codec_, lhs_arena, + &other->_impl_.codec_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceInit, _impl_.version_) + + sizeof(CSVCMsg_VoiceInit::_impl_.version_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceInit, _impl_.quality_)>( + reinterpret_cast(&_impl_.quality_), + reinterpret_cast(&other->_impl_.quality_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceInit::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[27]); +} + +// =================================================================== + +class CSVCMsg_Print::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_Print::CSVCMsg_Print(::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:CSVCMsg_Print) +} +CSVCMsg_Print::CSVCMsg_Print(const CSVCMsg_Print& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Print* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Print) +} + +inline void CSVCMsg_Print::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_Print::~CSVCMsg_Print() { + // @@protoc_insertion_point(destructor:CSVCMsg_Print) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Print::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CSVCMsg_Print::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Print::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Print) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Print::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_Print.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Print::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Print) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string text = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_Print.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:CSVCMsg_Print) + return target; +} + +size_t CSVCMsg_Print::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Print) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string text = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + 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 CSVCMsg_Print::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Print::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Print::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Print::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:CSVCMsg_Print) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_text()) { + _this->_internal_set_text(from._internal_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Print::CopyFrom(const CSVCMsg_Print& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Print) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Print::IsInitialized() const { + return true; +} + +void CSVCMsg_Print::InternalSwap(CSVCMsg_Print* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Print::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[28]); +} + +// =================================================================== + +class CSVCMsg_Sounds_sounddata_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_origin_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_origin_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_origin_z(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_volume(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_delay_value(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_sequence_number(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_channel(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_pitch(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_sound_num(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_sound_num_handle(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_speaker_entity(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_random_seed(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_sound_level(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_is_sentence(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_is_ambient(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_guid(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_sound_resource_id(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } +}; + +CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(::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:CSVCMsg_Sounds.sounddata_t) +} +CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Sounds_sounddata_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_x_){} + , decltype(_impl_.origin_y_){} + , decltype(_impl_.origin_z_){} + , decltype(_impl_.volume_){} + , decltype(_impl_.delay_value_){} + , decltype(_impl_.sequence_number_){} + , decltype(_impl_.channel_){} + , decltype(_impl_.pitch_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.sound_num_){} + , decltype(_impl_.sound_num_handle_){} + , decltype(_impl_.speaker_entity_){} + , decltype(_impl_.random_seed_){} + , decltype(_impl_.sound_level_){} + , decltype(_impl_.is_sentence_){} + , decltype(_impl_.is_ambient_){} + , decltype(_impl_.guid_){} + , decltype(_impl_.sound_resource_id_){} + , decltype(_impl_.entity_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.origin_x_, &from._impl_.origin_x_, + static_cast(reinterpret_cast(&_impl_.entity_index_) - + reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.entity_index_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Sounds.sounddata_t) +} + +inline void CSVCMsg_Sounds_sounddata_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_x_){0} + , decltype(_impl_.origin_y_){0} + , decltype(_impl_.origin_z_){0} + , decltype(_impl_.volume_){0u} + , decltype(_impl_.delay_value_){0} + , decltype(_impl_.sequence_number_){0} + , decltype(_impl_.channel_){0} + , decltype(_impl_.pitch_){0} + , decltype(_impl_.flags_){0} + , decltype(_impl_.sound_num_){0u} + , decltype(_impl_.sound_num_handle_){0u} + , decltype(_impl_.speaker_entity_){0} + , decltype(_impl_.random_seed_){0} + , decltype(_impl_.sound_level_){0} + , decltype(_impl_.is_sentence_){false} + , decltype(_impl_.is_ambient_){false} + , decltype(_impl_.guid_){0u} + , decltype(_impl_.sound_resource_id_){uint64_t{0u}} + , decltype(_impl_.entity_index_){-1} + }; +} + +CSVCMsg_Sounds_sounddata_t::~CSVCMsg_Sounds_sounddata_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_Sounds.sounddata_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Sounds_sounddata_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_Sounds_sounddata_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Sounds_sounddata_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Sounds.sounddata_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.origin_x_, 0, static_cast( + reinterpret_cast(&_impl_.pitch_) - + reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.pitch_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.flags_, 0, static_cast( + reinterpret_cast(&_impl_.is_ambient_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.is_ambient_)); + } + if (cached_has_bits & 0x00070000u) { + ::memset(&_impl_.guid_, 0, static_cast( + reinterpret_cast(&_impl_.sound_resource_id_) - + reinterpret_cast(&_impl_.guid_)) + sizeof(_impl_.sound_resource_id_)); + _impl_.entity_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Sounds_sounddata_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional sint32 origin_x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_origin_x(&has_bits); + _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 origin_y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_origin_y(&has_bits); + _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 origin_z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_origin_z(&has_bits); + _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 volume = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_volume(&has_bits); + _impl_.volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float delay_value = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_delay_value(&has_bits); + _impl_.delay_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 sequence_number = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_sequence_number(&has_bits); + _impl_.sequence_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entity_index = 7 [default = -1]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_entity_index(&has_bits); + _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 channel = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_channel(&has_bits); + _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 pitch = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_pitch(&has_bits); + _impl_.pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 flags = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sound_num = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_sound_num(&has_bits); + _impl_.sound_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 sound_num_handle = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_sound_num_handle(&has_bits); + _impl_.sound_num_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 speaker_entity = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_speaker_entity(&has_bits); + _impl_.speaker_entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 random_seed = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_random_seed(&has_bits); + _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 sound_level = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_sound_level(&has_bits); + _impl_.sound_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_sentence = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_is_sentence(&has_bits); + _impl_.is_sentence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_ambient = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_is_ambient(&has_bits); + _impl_.is_ambient_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 guid = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_guid(&has_bits); + _impl_.guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 sound_resource_id = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 153)) { + _Internal::set_has_sound_resource_id(&has_bits); + _impl_.sound_resource_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Sounds_sounddata_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Sounds.sounddata_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional sint32 origin_x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_origin_x(), target); + } + + // optional sint32 origin_y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(2, this->_internal_origin_y(), target); + } + + // optional sint32 origin_z = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(3, this->_internal_origin_z(), target); + } + + // optional uint32 volume = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_volume(), target); + } + + // optional float delay_value = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_delay_value(), target); + } + + // optional int32 sequence_number = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_sequence_number(), target); + } + + // optional int32 entity_index = 7 [default = -1]; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_entity_index(), target); + } + + // optional int32 channel = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_channel(), target); + } + + // optional int32 pitch = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_pitch(), target); + } + + // optional int32 flags = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_flags(), target); + } + + // optional uint32 sound_num = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_sound_num(), target); + } + + // optional fixed32 sound_num_handle = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_sound_num_handle(), target); + } + + // optional int32 speaker_entity = 13; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_speaker_entity(), target); + } + + // optional int32 random_seed = 14; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_random_seed(), target); + } + + // optional int32 sound_level = 15; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_sound_level(), target); + } + + // optional bool is_sentence = 16; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_is_sentence(), target); + } + + // optional bool is_ambient = 17; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_is_ambient(), target); + } + + // optional uint32 guid = 18; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_guid(), target); + } + + // optional fixed64 sound_resource_id = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(19, this->_internal_sound_resource_id(), 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:CSVCMsg_Sounds.sounddata_t) + return target; +} + +size_t CSVCMsg_Sounds_sounddata_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Sounds.sounddata_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional sint32 origin_x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_x()); + } + + // optional sint32 origin_y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_y()); + } + + // optional sint32 origin_z = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_z()); + } + + // optional uint32 volume = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_volume()); + } + + // optional float delay_value = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional int32 sequence_number = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sequence_number()); + } + + // optional int32 channel = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); + } + + // optional int32 pitch = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pitch()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 flags = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 sound_num = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sound_num()); + } + + // optional fixed32 sound_num_handle = 12; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional int32 speaker_entity = 13; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_speaker_entity()); + } + + // optional int32 random_seed = 14; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); + } + + // optional int32 sound_level = 15; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_level()); + } + + // optional bool is_sentence = 16; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 1; + } + + // optional bool is_ambient = 17; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 1; + } + + } + if (cached_has_bits & 0x00070000u) { + // optional uint32 guid = 18; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_guid()); + } + + // optional fixed64 sound_resource_id = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 8; + } + + // optional int32 entity_index = 7 [default = -1]; + if (cached_has_bits & 0x00040000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Sounds_sounddata_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Sounds_sounddata_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Sounds_sounddata_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Sounds_sounddata_t::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:CSVCMsg_Sounds.sounddata_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.origin_x_ = from._impl_.origin_x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.origin_y_ = from._impl_.origin_y_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.origin_z_ = from._impl_.origin_z_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.volume_ = from._impl_.volume_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.delay_value_ = from._impl_.delay_value_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.sequence_number_ = from._impl_.sequence_number_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.channel_ = from._impl_.channel_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.pitch_ = from._impl_.pitch_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.sound_num_ = from._impl_.sound_num_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.sound_num_handle_ = from._impl_.sound_num_handle_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.speaker_entity_ = from._impl_.speaker_entity_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.random_seed_ = from._impl_.random_seed_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.sound_level_ = from._impl_.sound_level_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.is_sentence_ = from._impl_.is_sentence_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.is_ambient_ = from._impl_.is_ambient_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.guid_ = from._impl_.guid_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.sound_resource_id_ = from._impl_.sound_resource_id_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.entity_index_ = from._impl_.entity_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Sounds_sounddata_t::CopyFrom(const CSVCMsg_Sounds_sounddata_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Sounds.sounddata_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Sounds_sounddata_t::IsInitialized() const { + return true; +} + +void CSVCMsg_Sounds_sounddata_t::InternalSwap(CSVCMsg_Sounds_sounddata_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _impl_.sound_resource_id_) + + sizeof(CSVCMsg_Sounds_sounddata_t::_impl_.sound_resource_id_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _impl_.origin_x_)>( + reinterpret_cast(&_impl_.origin_x_), + reinterpret_cast(&other->_impl_.origin_x_)); + swap(_impl_.entity_index_, other->_impl_.entity_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds_sounddata_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[29]); +} + +// =================================================================== + +class CSVCMsg_Sounds::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reliable_sound(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_Sounds::CSVCMsg_Sounds(::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:CSVCMsg_Sounds) +} +CSVCMsg_Sounds::CSVCMsg_Sounds(const CSVCMsg_Sounds& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Sounds* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sounds_){from._impl_.sounds_} + , decltype(_impl_.reliable_sound_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.reliable_sound_ = from._impl_.reliable_sound_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Sounds) +} + +inline void CSVCMsg_Sounds::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sounds_){arena} + , decltype(_impl_.reliable_sound_){false} + }; +} + +CSVCMsg_Sounds::~CSVCMsg_Sounds() { + // @@protoc_insertion_point(destructor:CSVCMsg_Sounds) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Sounds::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sounds_.~RepeatedPtrField(); +} + +void CSVCMsg_Sounds::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Sounds::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Sounds) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.sounds_.Clear(); + _impl_.reliable_sound_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Sounds::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool reliable_sound = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reliable_sound(&has_bits); + _impl_.reliable_sound_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_sounds(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Sounds::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Sounds) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool reliable_sound = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reliable_sound(), target); + } + + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_sounds_size()); i < n; i++) { + const auto& repfield = this->_internal_sounds(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:CSVCMsg_Sounds) + return target; +} + +size_t CSVCMsg_Sounds::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Sounds) + 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 .CSVCMsg_Sounds.sounddata_t sounds = 2; + total_size += 1UL * this->_internal_sounds_size(); + for (const auto& msg : this->_impl_.sounds_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional bool reliable_sound = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Sounds::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Sounds::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Sounds::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Sounds::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:CSVCMsg_Sounds) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.sounds_.MergeFrom(from._impl_.sounds_); + if (from._internal_has_reliable_sound()) { + _this->_internal_set_reliable_sound(from._internal_reliable_sound()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Sounds::CopyFrom(const CSVCMsg_Sounds& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Sounds) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Sounds::IsInitialized() const { + return true; +} + +void CSVCMsg_Sounds::InternalSwap(CSVCMsg_Sounds* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.sounds_.InternalSwap(&other->_impl_.sounds_); + swap(_impl_.reliable_sound_, other->_impl_.reliable_sound_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[30]); +} + +// =================================================================== + +class CSVCMsg_Prefetch::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_sound_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_resource_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_Prefetch::CSVCMsg_Prefetch(::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:CSVCMsg_Prefetch) +} +CSVCMsg_Prefetch::CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Prefetch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_index_){} + , decltype(_impl_.resource_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.sound_index_, &from._impl_.sound_index_, + static_cast(reinterpret_cast(&_impl_.resource_type_) - + reinterpret_cast(&_impl_.sound_index_)) + sizeof(_impl_.resource_type_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Prefetch) +} + +inline void CSVCMsg_Prefetch::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_index_){0} + , decltype(_impl_.resource_type_){0} + }; +} + +CSVCMsg_Prefetch::~CSVCMsg_Prefetch() { + // @@protoc_insertion_point(destructor:CSVCMsg_Prefetch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Prefetch::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_Prefetch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Prefetch::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Prefetch) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.sound_index_, 0, static_cast( + reinterpret_cast(&_impl_.resource_type_) - + reinterpret_cast(&_impl_.sound_index_)) + sizeof(_impl_.resource_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Prefetch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 sound_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sound_index(&has_bits); + _impl_.sound_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::PrefetchType_IsValid(val))) { + _internal_set_resource_type(static_cast<::PrefetchType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); + } + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Prefetch::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Prefetch) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 sound_index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sound_index(), target); + } + + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this->_internal_resource_type(), 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:CSVCMsg_Prefetch) + return target; +} + +size_t CSVCMsg_Prefetch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Prefetch) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 sound_index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_index()); + } + + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_resource_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Prefetch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Prefetch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Prefetch::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Prefetch::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:CSVCMsg_Prefetch) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.sound_index_ = from._impl_.sound_index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.resource_type_ = from._impl_.resource_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Prefetch::CopyFrom(const CSVCMsg_Prefetch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Prefetch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Prefetch::IsInitialized() const { + return true; +} + +void CSVCMsg_Prefetch::InternalSwap(CSVCMsg_Prefetch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_Prefetch, _impl_.resource_type_) + + sizeof(CSVCMsg_Prefetch::_impl_.resource_type_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_Prefetch, _impl_.sound_index_)>( + reinterpret_cast(&_impl_.sound_index_), + reinterpret_cast(&other->_impl_.sound_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Prefetch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[31]); +} + +// =================================================================== + +class CSVCMsg_SetView::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_SetView::CSVCMsg_SetView(::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:CSVCMsg_SetView) +} +CSVCMsg_SetView::CSVCMsg_SetView(const CSVCMsg_SetView& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_SetView* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_index_){} + , decltype(_impl_.slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.entity_index_, &from._impl_.entity_index_, + static_cast(reinterpret_cast(&_impl_.slot_) - + reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.slot_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_SetView) +} + +inline void CSVCMsg_SetView::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_index_){-1} + , decltype(_impl_.slot_){-1} + }; +} + +CSVCMsg_SetView::~CSVCMsg_SetView() { + // @@protoc_insertion_point(destructor:CSVCMsg_SetView) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_SetView::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_SetView::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_SetView::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_SetView) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.entity_index_ = -1; + _impl_.slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_SetView::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entity_index = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_index(&has_bits); + _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 slot = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_SetView::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SetView) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entity_index = 1 [default = -1]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); + } + + // optional int32 slot = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_slot(), 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:CSVCMsg_SetView) + return target; +} + +size_t CSVCMsg_SetView::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SetView) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 entity_index = 1 [default = -1]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); + } + + // optional int32 slot = 2 [default = -1]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SetView::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_SetView::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SetView::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_SetView::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:CSVCMsg_SetView) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.entity_index_ = from._impl_.entity_index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.slot_ = from._impl_.slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_SetView::CopyFrom(const CSVCMsg_SetView& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SetView) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SetView::IsInitialized() const { + return true; +} + +void CSVCMsg_SetView::InternalSwap(CSVCMsg_SetView* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.entity_index_, other->_impl_.entity_index_); + swap(_impl_.slot_, other->_impl_.slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetView::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[32]); +} + +// =================================================================== + +class CSVCMsg_FixAngle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_relative(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& angle(const CSVCMsg_FixAngle* msg); + static void set_has_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgQAngle& +CSVCMsg_FixAngle::_Internal::angle(const CSVCMsg_FixAngle* msg) { + return *msg->_impl_.angle_; +} +void CSVCMsg_FixAngle::clear_angle() { + if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CSVCMsg_FixAngle::CSVCMsg_FixAngle(::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:CSVCMsg_FixAngle) +} +CSVCMsg_FixAngle::CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_FixAngle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.relative_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_angle()) { + _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); + } + _this->_impl_.relative_ = from._impl_.relative_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_FixAngle) +} + +inline void CSVCMsg_FixAngle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.relative_){false} + }; +} + +CSVCMsg_FixAngle::~CSVCMsg_FixAngle() { + // @@protoc_insertion_point(destructor:CSVCMsg_FixAngle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_FixAngle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.angle_; +} + +void CSVCMsg_FixAngle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_FixAngle::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_FixAngle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.angle_ != nullptr); + _impl_.angle_->Clear(); + } + _impl_.relative_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_FixAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool relative = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_relative(&has_bits); + _impl_.relative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angle(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_FixAngle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FixAngle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool relative = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_relative(), target); + } + + // optional .CMsgQAngle angle = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angle(this), + _Internal::angle(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:CSVCMsg_FixAngle) + return target; +} + +size_t CSVCMsg_FixAngle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FixAngle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgQAngle angle = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angle_); + } + + // optional bool relative = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FixAngle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_FixAngle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FixAngle::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_FixAngle::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:CSVCMsg_FixAngle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( + from._internal_angle()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.relative_ = from._impl_.relative_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_FixAngle::CopyFrom(const CSVCMsg_FixAngle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FixAngle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_FixAngle::IsInitialized() const { + return true; +} + +void CSVCMsg_FixAngle::InternalSwap(CSVCMsg_FixAngle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_FixAngle, _impl_.relative_) + + sizeof(CSVCMsg_FixAngle::_impl_.relative_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_FixAngle, _impl_.angle_)>( + reinterpret_cast(&_impl_.angle_), + reinterpret_cast(&other->_impl_.angle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FixAngle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[33]); +} + +// =================================================================== + +class CSVCMsg_CrosshairAngle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgQAngle& angle(const CSVCMsg_CrosshairAngle* msg); + static void set_has_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgQAngle& +CSVCMsg_CrosshairAngle::_Internal::angle(const CSVCMsg_CrosshairAngle* msg) { + return *msg->_impl_.angle_; +} +void CSVCMsg_CrosshairAngle::clear_angle() { + if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(::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:CSVCMsg_CrosshairAngle) +} +CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_CrosshairAngle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_angle()) { + _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); + } + // @@protoc_insertion_point(copy_constructor:CSVCMsg_CrosshairAngle) +} + +inline void CSVCMsg_CrosshairAngle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + }; +} + +CSVCMsg_CrosshairAngle::~CSVCMsg_CrosshairAngle() { + // @@protoc_insertion_point(destructor:CSVCMsg_CrosshairAngle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_CrosshairAngle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.angle_; +} + +void CSVCMsg_CrosshairAngle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_CrosshairAngle::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_CrosshairAngle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.angle_ != nullptr); + _impl_.angle_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_CrosshairAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgQAngle angle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_angle(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_CrosshairAngle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CrosshairAngle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgQAngle angle = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::angle(this), + _Internal::angle(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:CSVCMsg_CrosshairAngle) + return target; +} + +size_t CSVCMsg_CrosshairAngle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CrosshairAngle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgQAngle angle = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angle_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CrosshairAngle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_CrosshairAngle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CrosshairAngle::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_CrosshairAngle::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:CSVCMsg_CrosshairAngle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_angle()) { + _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( + from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_CrosshairAngle::CopyFrom(const CSVCMsg_CrosshairAngle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CrosshairAngle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CrosshairAngle::IsInitialized() const { + return true; +} + +void CSVCMsg_CrosshairAngle::InternalSwap(CSVCMsg_CrosshairAngle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.angle_, other->_impl_.angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CrosshairAngle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[34]); +} + +// =================================================================== + +class CSVCMsg_BSPDecal::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& pos(const CSVCMsg_BSPDecal* msg); + static void set_has_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_decal_texture_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_model_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_low_priority(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CSVCMsg_BSPDecal::_Internal::pos(const CSVCMsg_BSPDecal* msg) { + return *msg->_impl_.pos_; +} +void CSVCMsg_BSPDecal::clear_pos() { + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(::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:CSVCMsg_BSPDecal) +} +CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_BSPDecal* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.decal_texture_index_){} + , decltype(_impl_.model_index_){} + , decltype(_impl_.low_priority_){} + , decltype(_impl_.entity_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); + } + ::memcpy(&_impl_.decal_texture_index_, &from._impl_.decal_texture_index_, + static_cast(reinterpret_cast(&_impl_.entity_index_) - + reinterpret_cast(&_impl_.decal_texture_index_)) + sizeof(_impl_.entity_index_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_BSPDecal) +} + +inline void CSVCMsg_BSPDecal::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.decal_texture_index_){0} + , decltype(_impl_.model_index_){0} + , decltype(_impl_.low_priority_){false} + , decltype(_impl_.entity_index_){-1} + }; +} + +CSVCMsg_BSPDecal::~CSVCMsg_BSPDecal() { + // @@protoc_insertion_point(destructor:CSVCMsg_BSPDecal) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_BSPDecal::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos_; +} + +void CSVCMsg_BSPDecal::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_BSPDecal::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_BSPDecal) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.decal_texture_index_, 0, static_cast( + reinterpret_cast(&_impl_.low_priority_) - + reinterpret_cast(&_impl_.decal_texture_index_)) + sizeof(_impl_.low_priority_)); + _impl_.entity_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_BSPDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector pos = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 decal_texture_index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_decal_texture_index(&has_bits); + _impl_.decal_texture_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entity_index = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity_index(&has_bits); + _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 model_index = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_model_index(&has_bits); + _impl_.model_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool low_priority = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_low_priority(&has_bits); + _impl_.low_priority_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_BSPDecal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_BSPDecal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // optional int32 decal_texture_index = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_decal_texture_index(), target); + } + + // optional int32 entity_index = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entity_index(), target); + } + + // optional int32 model_index = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_model_index(), target); + } + + // optional bool low_priority = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_low_priority(), 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:CSVCMsg_BSPDecal) + return target; +} + +size_t CSVCMsg_BSPDecal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_BSPDecal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // optional int32 decal_texture_index = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_decal_texture_index()); + } + + // optional int32 model_index = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_model_index()); + } + + // optional bool low_priority = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional int32 entity_index = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_BSPDecal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_BSPDecal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_BSPDecal::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_BSPDecal::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:CSVCMsg_BSPDecal) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( + from._internal_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.decal_texture_index_ = from._impl_.decal_texture_index_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.model_index_ = from._impl_.model_index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.low_priority_ = from._impl_.low_priority_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.entity_index_ = from._impl_.entity_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_BSPDecal::CopyFrom(const CSVCMsg_BSPDecal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_BSPDecal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_BSPDecal::IsInitialized() const { + return true; +} + +void CSVCMsg_BSPDecal::InternalSwap(CSVCMsg_BSPDecal* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_BSPDecal, _impl_.low_priority_) + + sizeof(CSVCMsg_BSPDecal::_impl_.low_priority_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_BSPDecal, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); + swap(_impl_.entity_index_, other->_impl_.entity_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_BSPDecal::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[35]); +} + +// =================================================================== + +class CSVCMsg_SplitScreen::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_player_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(::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:CSVCMsg_SplitScreen) +} +CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_SplitScreen* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){} + , decltype(_impl_.slot_){} + , decltype(_impl_.player_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.player_index_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.player_index_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_SplitScreen) +} + +inline void CSVCMsg_SplitScreen::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.type_){0} + , decltype(_impl_.slot_){0} + , decltype(_impl_.player_index_){-1} + }; +} + +CSVCMsg_SplitScreen::~CSVCMsg_SplitScreen() { + // @@protoc_insertion_point(destructor:CSVCMsg_SplitScreen) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_SplitScreen::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_SplitScreen::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_SplitScreen::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_SplitScreen) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.slot_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.slot_)); + _impl_.player_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_SplitScreen::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ESplitScreenMessageType_IsValid(val))) { + _internal_set_type(static_cast<::ESplitScreenMessageType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional int32 slot = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_index = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_player_index(&has_bits); + _impl_.player_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_SplitScreen::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SplitScreen) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_type(), target); + } + + // optional int32 slot = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_slot(), target); + } + + // optional int32 player_index = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_index(), 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:CSVCMsg_SplitScreen) + return target; +} + +size_t CSVCMsg_SplitScreen::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SplitScreen) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); + } + + // optional int32 slot = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + // optional int32 player_index = 3 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SplitScreen::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_SplitScreen::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SplitScreen::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_SplitScreen::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:CSVCMsg_SplitScreen) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.slot_ = from._impl_.slot_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.player_index_ = from._impl_.player_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_SplitScreen::CopyFrom(const CSVCMsg_SplitScreen& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SplitScreen) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SplitScreen::IsInitialized() const { + return true; +} + +void CSVCMsg_SplitScreen::InternalSwap(CSVCMsg_SplitScreen* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_SplitScreen, _impl_.slot_) + + sizeof(CSVCMsg_SplitScreen::_impl_.slot_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_SplitScreen, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); + swap(_impl_.player_index_, other->_impl_.player_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SplitScreen::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[36]); +} + +// =================================================================== + +class CSVCMsg_GetCvarValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cookie(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cvar_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(::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:CSVCMsg_GetCvarValue) +} +CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GetCvarValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cvar_name_){} + , decltype(_impl_.cookie_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cvar_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cvar_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cvar_name()) { + _this->_impl_.cvar_name_.Set(from._internal_cvar_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.cookie_ = from._impl_.cookie_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GetCvarValue) +} + +inline void CSVCMsg_GetCvarValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cvar_name_){} + , decltype(_impl_.cookie_){0} + }; + _impl_.cvar_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cvar_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GetCvarValue::~CSVCMsg_GetCvarValue() { + // @@protoc_insertion_point(destructor:CSVCMsg_GetCvarValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GetCvarValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cvar_name_.Destroy(); +} + +void CSVCMsg_GetCvarValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GetCvarValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GetCvarValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.cvar_name_.ClearNonDefaultToEmpty(); + } + _impl_.cookie_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GetCvarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 cookie = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_cookie(&has_bits); + _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string cvar_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_cvar_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GetCvarValue.cvar_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GetCvarValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GetCvarValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 cookie = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cookie(), target); + } + + // optional string cvar_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cvar_name().data(), static_cast(this->_internal_cvar_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GetCvarValue.cvar_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_cvar_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:CSVCMsg_GetCvarValue) + return target; +} + +size_t CSVCMsg_GetCvarValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GetCvarValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string cvar_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cvar_name()); + } + + // optional int32 cookie = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GetCvarValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GetCvarValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GetCvarValue::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GetCvarValue::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:CSVCMsg_GetCvarValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_cvar_name(from._internal_cvar_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.cookie_ = from._impl_.cookie_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GetCvarValue::CopyFrom(const CSVCMsg_GetCvarValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GetCvarValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GetCvarValue::IsInitialized() const { + return true; +} + +void CSVCMsg_GetCvarValue::InternalSwap(CSVCMsg_GetCvarValue* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cvar_name_, lhs_arena, + &other->_impl_.cvar_name_, rhs_arena + ); + swap(_impl_.cookie_, other->_impl_.cookie_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GetCvarValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[37]); +} + +// =================================================================== + +class CSVCMsg_Menu::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dialog_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_menu_key_values(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_Menu::CSVCMsg_Menu(::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:CSVCMsg_Menu) +} +CSVCMsg_Menu::CSVCMsg_Menu(const CSVCMsg_Menu& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Menu* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menu_key_values_){} + , decltype(_impl_.dialog_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.menu_key_values_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menu_key_values_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_menu_key_values()) { + _this->_impl_.menu_key_values_.Set(from._internal_menu_key_values(), + _this->GetArenaForAllocation()); + } + _this->_impl_.dialog_type_ = from._impl_.dialog_type_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Menu) +} + +inline void CSVCMsg_Menu::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menu_key_values_){} + , decltype(_impl_.dialog_type_){0} + }; + _impl_.menu_key_values_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menu_key_values_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_Menu::~CSVCMsg_Menu() { + // @@protoc_insertion_point(destructor:CSVCMsg_Menu) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Menu::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.menu_key_values_.Destroy(); +} + +void CSVCMsg_Menu::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Menu::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Menu) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.menu_key_values_.ClearNonDefaultToEmpty(); + } + _impl_.dialog_type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Menu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 dialog_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dialog_type(&has_bits); + _impl_.dialog_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes menu_key_values = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_menu_key_values(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Menu::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Menu) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 dialog_type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dialog_type(), target); + } + + // optional bytes menu_key_values = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_menu_key_values(), 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:CSVCMsg_Menu) + return target; +} + +size_t CSVCMsg_Menu::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Menu) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes menu_key_values = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_menu_key_values()); + } + + // optional int32 dialog_type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dialog_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Menu::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Menu::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Menu::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Menu::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:CSVCMsg_Menu) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_menu_key_values(from._internal_menu_key_values()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.dialog_type_ = from._impl_.dialog_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Menu::CopyFrom(const CSVCMsg_Menu& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Menu) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Menu::IsInitialized() const { + return true; +} + +void CSVCMsg_Menu::InternalSwap(CSVCMsg_Menu* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.menu_key_values_, lhs_arena, + &other->_impl_.menu_key_values_, rhs_arena + ); + swap(_impl_.dialog_type_, other->_impl_.dialog_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Menu::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[38]); +} + +// =================================================================== + +class CSVCMsg_UserMessage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_msg_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_msg_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_passthrough(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSVCMsg_UserMessage::CSVCMsg_UserMessage(::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:CSVCMsg_UserMessage) +} +CSVCMsg_UserMessage::CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_UserMessage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.msg_data_){} + , decltype(_impl_.msg_type_){} + , decltype(_impl_.passthrough_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.msg_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.msg_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_msg_data()) { + _this->_impl_.msg_data_.Set(from._internal_msg_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.msg_type_, &from._impl_.msg_type_, + static_cast(reinterpret_cast(&_impl_.passthrough_) - + reinterpret_cast(&_impl_.msg_type_)) + sizeof(_impl_.passthrough_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_UserMessage) +} + +inline void CSVCMsg_UserMessage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.msg_data_){} + , decltype(_impl_.msg_type_){0} + , decltype(_impl_.passthrough_){0} + }; + _impl_.msg_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.msg_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_UserMessage::~CSVCMsg_UserMessage() { + // @@protoc_insertion_point(destructor:CSVCMsg_UserMessage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_UserMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.msg_data_.Destroy(); +} + +void CSVCMsg_UserMessage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_UserMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_UserMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.msg_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.msg_type_, 0, static_cast( + reinterpret_cast(&_impl_.passthrough_) - + reinterpret_cast(&_impl_.msg_type_)) + sizeof(_impl_.passthrough_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_UserMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 msg_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_msg_type(&has_bits); + _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes msg_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_msg_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 passthrough = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_passthrough(&has_bits); + _impl_.passthrough_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_UserMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UserMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 msg_type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_msg_type(), target); + } + + // optional bytes msg_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_msg_data(), target); + } + + // optional int32 passthrough = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_passthrough(), 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:CSVCMsg_UserMessage) + return target; +} + +size_t CSVCMsg_UserMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UserMessage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes msg_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_msg_data()); + } + + // optional int32 msg_type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_msg_type()); + } + + // optional int32 passthrough = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UserMessage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_UserMessage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UserMessage::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_UserMessage::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:CSVCMsg_UserMessage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_msg_data(from._internal_msg_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msg_type_ = from._impl_.msg_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.passthrough_ = from._impl_.passthrough_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_UserMessage::CopyFrom(const CSVCMsg_UserMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UserMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_UserMessage::IsInitialized() const { + return true; +} + +void CSVCMsg_UserMessage::InternalSwap(CSVCMsg_UserMessage* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.msg_data_, lhs_arena, + &other->_impl_.msg_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_UserMessage, _impl_.passthrough_) + + sizeof(CSVCMsg_UserMessage::_impl_.passthrough_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_UserMessage, _impl_.msg_type_)>( + reinterpret_cast(&_impl_.msg_type_), + reinterpret_cast(&other->_impl_.msg_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserMessage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[39]); +} + +// =================================================================== + +class CSVCMsg_SendTable_sendprop_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_var_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_priority(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_dt_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_elements(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_low_value(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_high_value(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_num_bits(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(::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:CSVCMsg_SendTable.sendprop_t) +} +CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_SendTable_sendprop_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.var_name_){} + , decltype(_impl_.dt_name_){} + , decltype(_impl_.type_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.priority_){} + , decltype(_impl_.num_elements_){} + , decltype(_impl_.low_value_){} + , decltype(_impl_.high_value_){} + , decltype(_impl_.num_bits_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.var_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.var_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_var_name()) { + _this->_impl_.var_name_.Set(from._internal_var_name(), + _this->GetArenaForAllocation()); + } + _impl_.dt_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dt_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dt_name()) { + _this->_impl_.dt_name_.Set(from._internal_dt_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.num_bits_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.num_bits_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_SendTable.sendprop_t) +} + +inline void CSVCMsg_SendTable_sendprop_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.var_name_){} + , decltype(_impl_.dt_name_){} + , decltype(_impl_.type_){0} + , decltype(_impl_.flags_){0} + , decltype(_impl_.priority_){0} + , decltype(_impl_.num_elements_){0} + , decltype(_impl_.low_value_){0} + , decltype(_impl_.high_value_){0} + , decltype(_impl_.num_bits_){0} + }; + _impl_.var_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.var_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dt_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dt_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_SendTable_sendprop_t::~CSVCMsg_SendTable_sendprop_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_SendTable.sendprop_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_SendTable_sendprop_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.var_name_.Destroy(); + _impl_.dt_name_.Destroy(); +} + +void CSVCMsg_SendTable_sendprop_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_SendTable_sendprop_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_SendTable.sendprop_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.var_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.dt_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.high_value_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.high_value_)); + } + _impl_.num_bits_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_SendTable_sendprop_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string var_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_var_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.sendprop_t.var_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 priority = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_priority(&has_bits); + _impl_.priority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string dt_name = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_dt_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.sendprop_t.dt_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 num_elements = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_num_elements(&has_bits); + _impl_.num_elements_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float low_value = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_low_value(&has_bits); + _impl_.low_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float high_value = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_high_value(&has_bits); + _impl_.high_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 num_bits = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_num_bits(&has_bits); + _impl_.num_bits_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_SendTable_sendprop_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SendTable.sendprop_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional string var_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_var_name().data(), static_cast(this->_internal_var_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_SendTable.sendprop_t.var_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_var_name(), target); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); + } + + // optional int32 priority = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_priority(), target); + } + + // optional string dt_name = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_dt_name().data(), static_cast(this->_internal_dt_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_SendTable.sendprop_t.dt_name"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_dt_name(), target); + } + + // optional int32 num_elements = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_num_elements(), target); + } + + // optional float low_value = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_low_value(), target); + } + + // optional float high_value = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_high_value(), target); + } + + // optional int32 num_bits = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_num_bits(), 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:CSVCMsg_SendTable.sendprop_t) + return target; +} + +size_t CSVCMsg_SendTable_sendprop_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SendTable.sendprop_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string var_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_var_name()); + } + + // optional string dt_name = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dt_name()); + } + + // optional int32 type = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + // optional int32 priority = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_priority()); + } + + // optional int32 num_elements = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_elements()); + } + + // optional float low_value = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float high_value = 8; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + // optional int32 num_bits = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_bits()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SendTable_sendprop_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_SendTable_sendprop_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SendTable_sendprop_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_SendTable_sendprop_t::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:CSVCMsg_SendTable.sendprop_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_var_name(from._internal_var_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_dt_name(from._internal_dt_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.priority_ = from._impl_.priority_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.num_elements_ = from._impl_.num_elements_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.low_value_ = from._impl_.low_value_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.high_value_ = from._impl_.high_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_num_bits(from._internal_num_bits()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_SendTable_sendprop_t::CopyFrom(const CSVCMsg_SendTable_sendprop_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SendTable.sendprop_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SendTable_sendprop_t::IsInitialized() const { + return true; +} + +void CSVCMsg_SendTable_sendprop_t::InternalSwap(CSVCMsg_SendTable_sendprop_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.var_name_, lhs_arena, + &other->_impl_.var_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dt_name_, lhs_arena, + &other->_impl_.dt_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _impl_.num_bits_) + + sizeof(CSVCMsg_SendTable_sendprop_t::_impl_.num_bits_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable_sendprop_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[40]); +} + +// =================================================================== + +class CSVCMsg_SendTable::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_is_end(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_net_table_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_needs_decoder(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSVCMsg_SendTable::CSVCMsg_SendTable(::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:CSVCMsg_SendTable) +} +CSVCMsg_SendTable::CSVCMsg_SendTable(const CSVCMsg_SendTable& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_SendTable* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.props_){from._impl_.props_} + , decltype(_impl_.net_table_name_){} + , decltype(_impl_.is_end_){} + , decltype(_impl_.needs_decoder_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.net_table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_net_table_name()) { + _this->_impl_.net_table_name_.Set(from._internal_net_table_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.is_end_, &from._impl_.is_end_, + static_cast(reinterpret_cast(&_impl_.needs_decoder_) - + reinterpret_cast(&_impl_.is_end_)) + sizeof(_impl_.needs_decoder_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_SendTable) +} + +inline void CSVCMsg_SendTable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.props_){arena} + , decltype(_impl_.net_table_name_){} + , decltype(_impl_.is_end_){false} + , decltype(_impl_.needs_decoder_){false} + }; + _impl_.net_table_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.net_table_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_SendTable::~CSVCMsg_SendTable() { + // @@protoc_insertion_point(destructor:CSVCMsg_SendTable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_SendTable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.props_.~RepeatedPtrField(); + _impl_.net_table_name_.Destroy(); +} + +void CSVCMsg_SendTable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_SendTable::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_SendTable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.props_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.net_table_name_.ClearNonDefaultToEmpty(); + } + ::memset(&_impl_.is_end_, 0, static_cast( + reinterpret_cast(&_impl_.needs_decoder_) - + reinterpret_cast(&_impl_.is_end_)) + sizeof(_impl_.needs_decoder_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_SendTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool is_end = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_is_end(&has_bits); + _impl_.is_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string net_table_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_net_table_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.net_table_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool needs_decoder = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_needs_decoder(&has_bits); + _impl_.needs_decoder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_props(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_SendTable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SendTable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool is_end = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_end(), target); + } + + // optional string net_table_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_net_table_name().data(), static_cast(this->_internal_net_table_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_SendTable.net_table_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_net_table_name(), target); + } + + // optional bool needs_decoder = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_needs_decoder(), target); + } + + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_props_size()); i < n; i++) { + const auto& repfield = this->_internal_props(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:CSVCMsg_SendTable) + return target; +} + +size_t CSVCMsg_SendTable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SendTable) + 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 .CSVCMsg_SendTable.sendprop_t props = 4; + total_size += 1UL * this->_internal_props_size(); + for (const auto& msg : this->_impl_.props_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string net_table_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_net_table_name()); + } + + // optional bool is_end = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool needs_decoder = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SendTable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_SendTable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SendTable::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_SendTable::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:CSVCMsg_SendTable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.props_.MergeFrom(from._impl_.props_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_net_table_name(from._internal_net_table_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.is_end_ = from._impl_.is_end_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.needs_decoder_ = from._impl_.needs_decoder_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_SendTable::CopyFrom(const CSVCMsg_SendTable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SendTable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SendTable::IsInitialized() const { + return true; +} + +void CSVCMsg_SendTable::InternalSwap(CSVCMsg_SendTable* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.props_.InternalSwap(&other->_impl_.props_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.net_table_name_, lhs_arena, + &other->_impl_.net_table_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable, _impl_.needs_decoder_) + + sizeof(CSVCMsg_SendTable::_impl_.needs_decoder_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable, _impl_.is_end_)>( + reinterpret_cast(&_impl_.is_end_), + reinterpret_cast(&other->_impl_.is_end_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[41]); +} + +// =================================================================== + +class CSVCMsg_GameEventList_key_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(::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:CSVCMsg_GameEventList.key_t) +} +CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameEventList_key_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.type_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.type_ = from._impl_.type_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList.key_t) +} + +inline void CSVCMsg_GameEventList_key_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.type_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GameEventList_key_t::~CSVCMsg_GameEventList_key_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList.key_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameEventList_key_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CSVCMsg_GameEventList_key_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameEventList_key_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList.key_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.type_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameEventList_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEventList.key_t.name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GameEventList_key_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList.key_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameEventList.key_t.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:CSVCMsg_GameEventList.key_t) + return target; +} + +size_t CSVCMsg_GameEventList_key_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList.key_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList_key_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameEventList_key_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList_key_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameEventList_key_t::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:CSVCMsg_GameEventList.key_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameEventList_key_t::CopyFrom(const CSVCMsg_GameEventList_key_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList.key_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList_key_t::IsInitialized() const { + return true; +} + +void CSVCMsg_GameEventList_key_t::InternalSwap(CSVCMsg_GameEventList_key_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.type_, other->_impl_.type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_key_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[42]); +} + +// =================================================================== + +class CSVCMsg_GameEventList_descriptor_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(::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:CSVCMsg_GameEventList.descriptor_t) +} +CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameEventList_descriptor_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){from._impl_.keys_} + , decltype(_impl_.name_){} + , decltype(_impl_.eventid_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.eventid_ = from._impl_.eventid_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList.descriptor_t) +} + +inline void CSVCMsg_GameEventList_descriptor_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){arena} + , decltype(_impl_.name_){} + , decltype(_impl_.eventid_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GameEventList_descriptor_t::~CSVCMsg_GameEventList_descriptor_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList.descriptor_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameEventList_descriptor_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.keys_.~RepeatedPtrField(); + _impl_.name_.Destroy(); +} + +void CSVCMsg_GameEventList_descriptor_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameEventList_descriptor_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList.descriptor_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.keys_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.eventid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameEventList_descriptor_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eventid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEventList.descriptor_t.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_keys(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GameEventList_descriptor_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList.descriptor_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameEventList.descriptor_t.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_keys(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:CSVCMsg_GameEventList.descriptor_t) + return target; +} + +size_t CSVCMsg_GameEventList_descriptor_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList.descriptor_t) + 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 .CSVCMsg_GameEventList.key_t keys = 3; + total_size += 1UL * this->_internal_keys_size(); + for (const auto& msg : this->_impl_.keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 eventid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList_descriptor_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameEventList_descriptor_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList_descriptor_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameEventList_descriptor_t::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:CSVCMsg_GameEventList.descriptor_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.keys_.MergeFrom(from._impl_.keys_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList.descriptor_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList_descriptor_t::IsInitialized() const { + return true; +} + +void CSVCMsg_GameEventList_descriptor_t::InternalSwap(CSVCMsg_GameEventList_descriptor_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.keys_.InternalSwap(&other->_impl_.keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.eventid_, other->_impl_.eventid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_descriptor_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[43]); +} + +// =================================================================== + +class CSVCMsg_GameEventList::_Internal { + public: +}; + +CSVCMsg_GameEventList::CSVCMsg_GameEventList(::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:CSVCMsg_GameEventList) +} +CSVCMsg_GameEventList::CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameEventList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.descriptors_){from._impl_.descriptors_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList) +} + +inline void CSVCMsg_GameEventList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.descriptors_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CSVCMsg_GameEventList::~CSVCMsg_GameEventList() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameEventList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.descriptors_.~RepeatedPtrField(); +} + +void CSVCMsg_GameEventList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameEventList::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.descriptors_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameEventList::_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 .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_descriptors(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CSVCMsg_GameEventList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_descriptors_size()); i < n; i++) { + const auto& repfield = this->_internal_descriptors(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CSVCMsg_GameEventList) + return target; +} + +size_t CSVCMsg_GameEventList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList) + 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 .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + total_size += 1UL * this->_internal_descriptors_size(); + for (const auto& msg : this->_impl_.descriptors_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameEventList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameEventList::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:CSVCMsg_GameEventList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.descriptors_.MergeFrom(from._impl_.descriptors_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameEventList::CopyFrom(const CSVCMsg_GameEventList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList::IsInitialized() const { + return true; +} + +void CSVCMsg_GameEventList::InternalSwap(CSVCMsg_GameEventList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.descriptors_.InternalSwap(&other->_impl_.descriptors_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[44]); +} + +// =================================================================== + +class CSVCMsg_PacketEntities_alternate_baseline_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_baseline_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t(::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:CSVCMsg_PacketEntities.alternate_baseline_t) +} +CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t(const CSVCMsg_PacketEntities_alternate_baseline_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PacketEntities_alternate_baseline_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_index_){} + , decltype(_impl_.baseline_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.entity_index_, &from._impl_.entity_index_, + static_cast(reinterpret_cast(&_impl_.baseline_index_) - + reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.baseline_index_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.alternate_baseline_t) +} + +inline void CSVCMsg_PacketEntities_alternate_baseline_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_index_){0} + , decltype(_impl_.baseline_index_){0} + }; +} + +CSVCMsg_PacketEntities_alternate_baseline_t::~CSVCMsg_PacketEntities_alternate_baseline_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.alternate_baseline_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PacketEntities_alternate_baseline_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_PacketEntities_alternate_baseline_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PacketEntities_alternate_baseline_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.alternate_baseline_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.entity_index_, 0, static_cast( + reinterpret_cast(&_impl_.baseline_index_) - + reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.baseline_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PacketEntities_alternate_baseline_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entity_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_index(&has_bits); + _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 baseline_index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_baseline_index(&has_bits); + _impl_.baseline_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_PacketEntities_alternate_baseline_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.alternate_baseline_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entity_index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); + } + + // optional int32 baseline_index = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_baseline_index(), 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:CSVCMsg_PacketEntities.alternate_baseline_t) + return target; +} + +size_t CSVCMsg_PacketEntities_alternate_baseline_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.alternate_baseline_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 entity_index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); + } + + // optional int32 baseline_index = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_alternate_baseline_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PacketEntities_alternate_baseline_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_alternate_baseline_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PacketEntities_alternate_baseline_t::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:CSVCMsg_PacketEntities.alternate_baseline_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.entity_index_ = from._impl_.entity_index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.baseline_index_ = from._impl_.baseline_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PacketEntities_alternate_baseline_t::CopyFrom(const CSVCMsg_PacketEntities_alternate_baseline_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.alternate_baseline_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketEntities_alternate_baseline_t::IsInitialized() const { + return true; +} + +void CSVCMsg_PacketEntities_alternate_baseline_t::InternalSwap(CSVCMsg_PacketEntities_alternate_baseline_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.baseline_index_) + + sizeof(CSVCMsg_PacketEntities_alternate_baseline_t::_impl_.baseline_index_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.entity_index_)>( + reinterpret_cast(&_impl_.entity_index_), + reinterpret_cast(&other->_impl_.entity_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_alternate_baseline_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[45]); +} + +// =================================================================== + +class CSVCMsg_PacketEntities_non_transmitted_entities_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_header_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t(::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:CSVCMsg_PacketEntities.non_transmitted_entities_t) +} +CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PacketEntities_non_transmitted_entities_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.header_count_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.header_count_ = from._impl_.header_count_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.non_transmitted_entities_t) +} + +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.header_count_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_PacketEntities_non_transmitted_entities_t::~CSVCMsg_PacketEntities_non_transmitted_entities_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.non_transmitted_entities_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CSVCMsg_PacketEntities_non_transmitted_entities_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PacketEntities_non_transmitted_entities_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.header_count_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PacketEntities_non_transmitted_entities_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 header_count = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_header_count(&has_bits); + _impl_.header_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_PacketEntities_non_transmitted_entities_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 header_count = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_header_count(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CSVCMsg_PacketEntities.non_transmitted_entities_t) + return target; +} + +size_t CSVCMsg_PacketEntities_non_transmitted_entities_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 header_count = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_header_count()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_non_transmitted_entities_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_non_transmitted_entities_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PacketEntities_non_transmitted_entities_t::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:CSVCMsg_PacketEntities.non_transmitted_entities_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.header_count_ = from._impl_.header_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PacketEntities_non_transmitted_entities_t::CopyFrom(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketEntities_non_transmitted_entities_t::IsInitialized() const { + return true; +} + +void CSVCMsg_PacketEntities_non_transmitted_entities_t::InternalSwap(CSVCMsg_PacketEntities_non_transmitted_entities_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.header_count_, other->_impl_.header_count_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_non_transmitted_entities_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[46]); +} + +// =================================================================== + +class CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::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:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) +} +CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PacketEntities_outofpvs_entity_updates_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.count_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.count_ = from._impl_.count_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) +} + +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.count_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_PacketEntities_outofpvs_entity_updates_t::~CSVCMsg_PacketEntities_outofpvs_entity_updates_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.count_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 count = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 count = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_count(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + return target; +} + +size_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 count = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_outofpvs_entity_updates_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::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:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.count_ = from._impl_.count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CopyFrom(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::IsInitialized() const { + return true; +} + +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::InternalSwap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.count_, other->_impl_.count_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_outofpvs_entity_updates_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[47]); +} + +// =================================================================== + +class CSVCMsg_PacketEntities::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_max_entries(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_updated_entries(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_legacy_is_delta(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_update_baseline(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_baseline(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_delta_from(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_entity_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pending_full_frame(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_active_spawngroup_handle(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_max_spawngroup_creationsequence(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_last_cmd_number_executed(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_last_cmd_number_recv_delta(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_server_tick(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_serialized_entities(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_has_pvs_vis_bits_deprecated(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& non_transmitted_entities(const CSVCMsg_PacketEntities* msg); + static void set_has_non_transmitted_entities(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_cq_starved_command_ticks(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_cq_discarded_command_ticks(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& outofpvs_entity_updates(const CSVCMsg_PacketEntities* msg); + static void set_has_outofpvs_entity_updates(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_dev_padding(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& +CSVCMsg_PacketEntities::_Internal::non_transmitted_entities(const CSVCMsg_PacketEntities* msg) { + return *msg->_impl_.non_transmitted_entities_; +} +const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& +CSVCMsg_PacketEntities::_Internal::outofpvs_entity_updates(const CSVCMsg_PacketEntities* msg) { + return *msg->_impl_.outofpvs_entity_updates_; +} +CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(::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:CSVCMsg_PacketEntities) +} +CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PacketEntities* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.alternate_baselines_){from._impl_.alternate_baselines_} + , decltype(_impl_.cmd_recv_status_){from._impl_.cmd_recv_status_} + , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} + , decltype(_impl_.entity_data_){} + , decltype(_impl_.serialized_entities_){} + , decltype(_impl_.dev_padding_){} + , decltype(_impl_.non_transmitted_entities_){nullptr} + , decltype(_impl_.outofpvs_entity_updates_){nullptr} + , decltype(_impl_.max_entries_){} + , decltype(_impl_.updated_entries_){} + , decltype(_impl_.baseline_){} + , decltype(_impl_.legacy_is_delta_){} + , decltype(_impl_.update_baseline_){} + , decltype(_impl_.pending_full_frame_){} + , decltype(_impl_.delta_from_){} + , decltype(_impl_.active_spawngroup_handle_){} + , decltype(_impl_.max_spawngroup_creationsequence_){} + , decltype(_impl_.last_cmd_number_executed_){} + , decltype(_impl_.server_tick_){} + , decltype(_impl_.has_pvs_vis_bits_deprecated_){} + , decltype(_impl_.last_cmd_number_recv_delta_){} + , decltype(_impl_.cq_starved_command_ticks_){} + , decltype(_impl_.cq_discarded_command_ticks_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.entity_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entity_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_entity_data()) { + _this->_impl_.entity_data_.Set(from._internal_entity_data(), + _this->GetArenaForAllocation()); + } + _impl_.serialized_entities_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serialized_entities_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_serialized_entities()) { + _this->_impl_.serialized_entities_.Set(from._internal_serialized_entities(), + _this->GetArenaForAllocation()); + } + _impl_.dev_padding_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_padding_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dev_padding()) { + _this->_impl_.dev_padding_.Set(from._internal_dev_padding(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_non_transmitted_entities()) { + _this->_impl_.non_transmitted_entities_ = new ::CSVCMsg_PacketEntities_non_transmitted_entities_t(*from._impl_.non_transmitted_entities_); + } + if (from._internal_has_outofpvs_entity_updates()) { + _this->_impl_.outofpvs_entity_updates_ = new ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(*from._impl_.outofpvs_entity_updates_); + } + ::memcpy(&_impl_.max_entries_, &from._impl_.max_entries_, + static_cast(reinterpret_cast(&_impl_.cq_discarded_command_ticks_) - + reinterpret_cast(&_impl_.max_entries_)) + sizeof(_impl_.cq_discarded_command_ticks_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities) +} + +inline void CSVCMsg_PacketEntities::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.alternate_baselines_){arena} + , decltype(_impl_.cmd_recv_status_){arena} + , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} + , decltype(_impl_.entity_data_){} + , decltype(_impl_.serialized_entities_){} + , decltype(_impl_.dev_padding_){} + , decltype(_impl_.non_transmitted_entities_){nullptr} + , decltype(_impl_.outofpvs_entity_updates_){nullptr} + , decltype(_impl_.max_entries_){0} + , decltype(_impl_.updated_entries_){0} + , decltype(_impl_.baseline_){0} + , decltype(_impl_.legacy_is_delta_){false} + , decltype(_impl_.update_baseline_){false} + , decltype(_impl_.pending_full_frame_){false} + , decltype(_impl_.delta_from_){0} + , decltype(_impl_.active_spawngroup_handle_){0u} + , decltype(_impl_.max_spawngroup_creationsequence_){0u} + , decltype(_impl_.last_cmd_number_executed_){0u} + , decltype(_impl_.server_tick_){0u} + , decltype(_impl_.has_pvs_vis_bits_deprecated_){0u} + , decltype(_impl_.last_cmd_number_recv_delta_){0} + , decltype(_impl_.cq_starved_command_ticks_){0u} + , decltype(_impl_.cq_discarded_command_ticks_){0u} + }; + _impl_.entity_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entity_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serialized_entities_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serialized_entities_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_padding_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_padding_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_PacketEntities::~CSVCMsg_PacketEntities() { + // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PacketEntities::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.alternate_baselines_.~RepeatedPtrField(); + _impl_.cmd_recv_status_.~RepeatedField(); + _impl_.entity_data_.Destroy(); + _impl_.serialized_entities_.Destroy(); + _impl_.dev_padding_.Destroy(); + if (this != internal_default_instance()) delete _impl_.non_transmitted_entities_; + if (this != internal_default_instance()) delete _impl_.outofpvs_entity_updates_; +} + +void CSVCMsg_PacketEntities::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PacketEntities::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.alternate_baselines_.Clear(); + _impl_.cmd_recv_status_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.entity_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.serialized_entities_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.dev_padding_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.non_transmitted_entities_ != nullptr); + _impl_.non_transmitted_entities_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.outofpvs_entity_updates_ != nullptr); + _impl_.outofpvs_entity_updates_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.max_entries_, 0, static_cast( + reinterpret_cast(&_impl_.baseline_) - + reinterpret_cast(&_impl_.max_entries_)) + sizeof(_impl_.baseline_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.legacy_is_delta_, 0, static_cast( + reinterpret_cast(&_impl_.server_tick_) - + reinterpret_cast(&_impl_.legacy_is_delta_)) + sizeof(_impl_.server_tick_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.has_pvs_vis_bits_deprecated_, 0, static_cast( + reinterpret_cast(&_impl_.cq_discarded_command_ticks_) - + reinterpret_cast(&_impl_.has_pvs_vis_bits_deprecated_)) + sizeof(_impl_.cq_discarded_command_ticks_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PacketEntities::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 max_entries = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_max_entries(&has_bits); + _impl_.max_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 updated_entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_updated_entries(&has_bits); + _impl_.updated_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool legacy_is_delta = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_legacy_is_delta(&has_bits); + _impl_.legacy_is_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool update_baseline = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_update_baseline(&has_bits); + _impl_.update_baseline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 baseline = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_baseline(&has_bits); + _impl_.baseline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 delta_from = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_delta_from(&has_bits); + _impl_.delta_from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes entity_data = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_entity_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool pending_full_frame = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_pending_full_frame(&has_bits); + _impl_.pending_full_frame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_spawngroup_handle = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_active_spawngroup_handle(&has_bits); + _impl_.active_spawngroup_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_spawngroup_creationsequence = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_max_spawngroup_creationsequence(&has_bits); + _impl_.max_spawngroup_creationsequence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 last_cmd_number_executed = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_last_cmd_number_executed(&has_bits); + _impl_.last_cmd_number_executed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 server_tick = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_server_tick(&has_bits); + _impl_.server_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes serialized_entities = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_serialized_entities(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_alternate_baselines(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 has_pvs_vis_bits_deprecated = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_has_pvs_vis_bits_deprecated(&has_bits); + _impl_.has_pvs_vis_bits_deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional sint32 last_cmd_number_recv_delta = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_last_cmd_number_recv_delta(&has_bits); + _impl_.last_cmd_number_recv_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_non_transmitted_entities(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cq_starved_command_ticks = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_cq_starved_command_ticks(&has_bits); + _impl_.cq_starved_command_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cq_discarded_command_ticks = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_cq_discarded_command_ticks(&has_bits); + _impl_.cq_discarded_command_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated sint32 cmd_recv_status = 22 [packed = true]; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedSInt32Parser(_internal_mutable_cmd_recv_status(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 176) { + _internal_add_cmd_recv_status(::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { + ptr = ctx->ParseMessage(_internal_mutable_outofpvs_entity_updates(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes dev_padding = 999; + case 999: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_dev_padding(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_PacketEntities::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 max_entries = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_max_entries(), target); + } + + // optional int32 updated_entries = 2; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_updated_entries(), target); + } + + // optional bool legacy_is_delta = 3; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_legacy_is_delta(), target); + } + + // optional bool update_baseline = 4; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_update_baseline(), target); + } + + // optional int32 baseline = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_baseline(), target); + } + + // optional int32 delta_from = 6; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_delta_from(), target); + } + + // optional bytes entity_data = 7; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 7, this->_internal_entity_data(), target); + } + + // optional bool pending_full_frame = 8; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_pending_full_frame(), target); + } + + // optional uint32 active_spawngroup_handle = 9; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_active_spawngroup_handle(), target); + } + + // optional uint32 max_spawngroup_creationsequence = 10; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_max_spawngroup_creationsequence(), target); + } + + // optional uint32 last_cmd_number_executed = 11; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_last_cmd_number_executed(), target); + } + + // optional uint32 server_tick = 12; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_server_tick(), target); + } + + // optional bytes serialized_entities = 13; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 13, this->_internal_serialized_entities(), target); + } + + // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; + for (unsigned i = 0, + n = static_cast(this->_internal_alternate_baselines_size()); i < n; i++) { + const auto& repfield = this->_internal_alternate_baselines(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 has_pvs_vis_bits_deprecated = 16; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_has_pvs_vis_bits_deprecated(), target); + } + + // optional sint32 last_cmd_number_recv_delta = 17; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt32ToArray(17, this->_internal_last_cmd_number_recv_delta(), target); + } + + // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, _Internal::non_transmitted_entities(this), + _Internal::non_transmitted_entities(this).GetCachedSize(), target, stream); + } + + // optional uint32 cq_starved_command_ticks = 20; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_cq_starved_command_ticks(), target); + } + + // optional uint32 cq_discarded_command_ticks = 21; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_cq_discarded_command_ticks(), target); + } + + // repeated sint32 cmd_recv_status = 22 [packed = true]; + { + int byte_size = _impl_._cmd_recv_status_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteSInt32Packed( + 22, _internal_cmd_recv_status(), byte_size, target); + } + } + + // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(23, _Internal::outofpvs_entity_updates(this), + _Internal::outofpvs_entity_updates(this).GetCachedSize(), target, stream); + } + + // optional bytes dev_padding = 999; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 999, this->_internal_dev_padding(), 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:CSVCMsg_PacketEntities) + return target; +} + +size_t CSVCMsg_PacketEntities::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities) + 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 .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; + total_size += 1UL * this->_internal_alternate_baselines_size(); + for (const auto& msg : this->_impl_.alternate_baselines_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated sint32 cmd_recv_status = 22 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + SInt32Size(this->_impl_.cmd_recv_status_); + if (data_size > 0) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._cmd_recv_status_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes entity_data = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_entity_data()); + } + + // optional bytes serialized_entities = 13; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_serialized_entities()); + } + + // optional bytes dev_padding = 999; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_dev_padding()); + } + + // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.non_transmitted_entities_); + } + + // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.outofpvs_entity_updates_); + } + + // optional int32 max_entries = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_entries()); + } + + // optional int32 updated_entries = 2; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_updated_entries()); + } + + // optional int32 baseline = 5; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional bool legacy_is_delta = 3; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional bool update_baseline = 4; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional bool pending_full_frame = 8; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 1; + } + + // optional int32 delta_from = 6; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta_from()); + } + + // optional uint32 active_spawngroup_handle = 9; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_spawngroup_handle()); + } + + // optional uint32 max_spawngroup_creationsequence = 10; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_spawngroup_creationsequence()); + } + + // optional uint32 last_cmd_number_executed = 11; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_cmd_number_executed()); + } + + // optional uint32 server_tick = 12; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_tick()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional uint32 has_pvs_vis_bits_deprecated = 16; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_has_pvs_vis_bits_deprecated()); + } + + // optional sint32 last_cmd_number_recv_delta = 17; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::SInt32Size( + this->_internal_last_cmd_number_recv_delta()); + } + + // optional uint32 cq_starved_command_ticks = 20; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_cq_starved_command_ticks()); + } + + // optional uint32 cq_discarded_command_ticks = 21; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_cq_discarded_command_ticks()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PacketEntities::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PacketEntities::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:CSVCMsg_PacketEntities) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.alternate_baselines_.MergeFrom(from._impl_.alternate_baselines_); + _this->_impl_.cmd_recv_status_.MergeFrom(from._impl_.cmd_recv_status_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_entity_data(from._internal_entity_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_serialized_entities(from._internal_serialized_entities()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_dev_padding(from._internal_dev_padding()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_non_transmitted_entities()->::CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeFrom( + from._internal_non_transmitted_entities()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_outofpvs_entity_updates()->::CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeFrom( + from._internal_outofpvs_entity_updates()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.max_entries_ = from._impl_.max_entries_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.updated_entries_ = from._impl_.updated_entries_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.baseline_ = from._impl_.baseline_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.legacy_is_delta_ = from._impl_.legacy_is_delta_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.update_baseline_ = from._impl_.update_baseline_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.pending_full_frame_ = from._impl_.pending_full_frame_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.delta_from_ = from._impl_.delta_from_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.active_spawngroup_handle_ = from._impl_.active_spawngroup_handle_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.max_spawngroup_creationsequence_ = from._impl_.max_spawngroup_creationsequence_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.last_cmd_number_executed_ = from._impl_.last_cmd_number_executed_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.server_tick_ = from._impl_.server_tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.has_pvs_vis_bits_deprecated_ = from._impl_.has_pvs_vis_bits_deprecated_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.last_cmd_number_recv_delta_ = from._impl_.last_cmd_number_recv_delta_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.cq_starved_command_ticks_ = from._impl_.cq_starved_command_ticks_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.cq_discarded_command_ticks_ = from._impl_.cq_discarded_command_ticks_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PacketEntities::CopyFrom(const CSVCMsg_PacketEntities& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketEntities::IsInitialized() const { + return true; +} + +void CSVCMsg_PacketEntities::InternalSwap(CSVCMsg_PacketEntities* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.alternate_baselines_.InternalSwap(&other->_impl_.alternate_baselines_); + _impl_.cmd_recv_status_.InternalSwap(&other->_impl_.cmd_recv_status_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.entity_data_, lhs_arena, + &other->_impl_.entity_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.serialized_entities_, lhs_arena, + &other->_impl_.serialized_entities_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dev_padding_, lhs_arena, + &other->_impl_.dev_padding_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities, _impl_.cq_discarded_command_ticks_) + + sizeof(CSVCMsg_PacketEntities::_impl_.cq_discarded_command_ticks_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities, _impl_.non_transmitted_entities_)>( + reinterpret_cast(&_impl_.non_transmitted_entities_), + reinterpret_cast(&other->_impl_.non_transmitted_entities_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[48]); +} + +// =================================================================== + +class CSVCMsg_TempEntities::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reliable(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_entries(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_entity_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_TempEntities::CSVCMsg_TempEntities(::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:CSVCMsg_TempEntities) +} +CSVCMsg_TempEntities::CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_TempEntities* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_data_){} + , decltype(_impl_.reliable_){} + , decltype(_impl_.num_entries_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.entity_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entity_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_entity_data()) { + _this->_impl_.entity_data_.Set(from._internal_entity_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.reliable_, &from._impl_.reliable_, + static_cast(reinterpret_cast(&_impl_.num_entries_) - + reinterpret_cast(&_impl_.reliable_)) + sizeof(_impl_.num_entries_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_TempEntities) +} + +inline void CSVCMsg_TempEntities::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_data_){} + , decltype(_impl_.reliable_){false} + , decltype(_impl_.num_entries_){0} + }; + _impl_.entity_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entity_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_TempEntities::~CSVCMsg_TempEntities() { + // @@protoc_insertion_point(destructor:CSVCMsg_TempEntities) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_TempEntities::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.entity_data_.Destroy(); +} + +void CSVCMsg_TempEntities::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_TempEntities::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_TempEntities) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.entity_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.reliable_, 0, static_cast( + reinterpret_cast(&_impl_.num_entries_) - + reinterpret_cast(&_impl_.reliable_)) + sizeof(_impl_.num_entries_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_TempEntities::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool reliable = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reliable(&has_bits); + _impl_.reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_num_entries(&has_bits); + _impl_.num_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes entity_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_entity_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_TempEntities::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_TempEntities) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool reliable = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reliable(), target); + } + + // optional int32 num_entries = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_entries(), target); + } + + // optional bytes entity_data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_entity_data(), 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:CSVCMsg_TempEntities) + return target; +} + +size_t CSVCMsg_TempEntities::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_TempEntities) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes entity_data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_entity_data()); + } + + // optional bool reliable = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional int32 num_entries = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_entries()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_TempEntities::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_TempEntities::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_TempEntities::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_TempEntities::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:CSVCMsg_TempEntities) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_entity_data(from._internal_entity_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reliable_ = from._impl_.reliable_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_entries_ = from._impl_.num_entries_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_TempEntities::CopyFrom(const CSVCMsg_TempEntities& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_TempEntities) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_TempEntities::IsInitialized() const { + return true; +} + +void CSVCMsg_TempEntities::InternalSwap(CSVCMsg_TempEntities* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.entity_data_, lhs_arena, + &other->_impl_.entity_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_TempEntities, _impl_.num_entries_) + + sizeof(CSVCMsg_TempEntities::_impl_.num_entries_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_TempEntities, _impl_.reliable_)>( + reinterpret_cast(&_impl_.reliable_), + reinterpret_cast(&other->_impl_.reliable_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_TempEntities::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[49]); +} + +// =================================================================== + +class CSVCMsg_CreateStringTable::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_num_entries(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_user_data_fixed_size(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_user_data_size(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_user_data_size_bits(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_string_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_uncompressed_size(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_data_compressed(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_using_varint_bitcounts(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(::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:CSVCMsg_CreateStringTable) +} +CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_CreateStringTable* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.string_data_){} + , decltype(_impl_.num_entries_){} + , decltype(_impl_.user_data_size_){} + , decltype(_impl_.user_data_size_bits_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.user_data_fixed_size_){} + , decltype(_impl_.data_compressed_){} + , decltype(_impl_.using_varint_bitcounts_){} + , decltype(_impl_.uncompressed_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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.string_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_data()) { + _this->_impl_.string_data_.Set(from._internal_string_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.num_entries_, &from._impl_.num_entries_, + static_cast(reinterpret_cast(&_impl_.uncompressed_size_) - + reinterpret_cast(&_impl_.num_entries_)) + sizeof(_impl_.uncompressed_size_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_CreateStringTable) +} + +inline void CSVCMsg_CreateStringTable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.string_data_){} + , decltype(_impl_.num_entries_){0} + , decltype(_impl_.user_data_size_){0} + , decltype(_impl_.user_data_size_bits_){0} + , decltype(_impl_.flags_){0} + , decltype(_impl_.user_data_fixed_size_){false} + , decltype(_impl_.data_compressed_){false} + , decltype(_impl_.using_varint_bitcounts_){false} + , decltype(_impl_.uncompressed_size_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_CreateStringTable::~CSVCMsg_CreateStringTable() { + // @@protoc_insertion_point(destructor:CSVCMsg_CreateStringTable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_CreateStringTable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.string_data_.Destroy(); +} + +void CSVCMsg_CreateStringTable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_CreateStringTable::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_CreateStringTable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.string_data_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.num_entries_, 0, static_cast( + reinterpret_cast(&_impl_.data_compressed_) - + reinterpret_cast(&_impl_.num_entries_)) + sizeof(_impl_.data_compressed_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.using_varint_bitcounts_, 0, static_cast( + reinterpret_cast(&_impl_.uncompressed_size_) - + reinterpret_cast(&_impl_.using_varint_bitcounts_)) + sizeof(_impl_.uncompressed_size_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_CreateStringTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_CreateStringTable.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 num_entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_num_entries(&has_bits); + _impl_.num_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool user_data_fixed_size = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_user_data_fixed_size(&has_bits); + _impl_.user_data_fixed_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_data_size = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_user_data_size(&has_bits); + _impl_.user_data_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 user_data_size_bits = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_user_data_size_bits(&has_bits); + _impl_.user_data_size_bits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 flags = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes string_data = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_string_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 uncompressed_size = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_uncompressed_size(&has_bits); + _impl_.uncompressed_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool data_compressed = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_data_compressed(&has_bits); + _impl_.data_compressed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool using_varint_bitcounts = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_using_varint_bitcounts(&has_bits); + _impl_.using_varint_bitcounts_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_CreateStringTable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CreateStringTable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_CreateStringTable.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional int32 num_entries = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_entries(), target); + } + + // optional bool user_data_fixed_size = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_user_data_fixed_size(), target); + } + + // optional int32 user_data_size = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_user_data_size(), target); + } + + // optional int32 user_data_size_bits = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_user_data_size_bits(), target); + } + + // optional int32 flags = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_flags(), target); + } + + // optional bytes string_data = 7; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 7, this->_internal_string_data(), target); + } + + // optional int32 uncompressed_size = 8; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_uncompressed_size(), target); + } + + // optional bool data_compressed = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_data_compressed(), target); + } + + // optional bool using_varint_bitcounts = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_using_varint_bitcounts(), 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:CSVCMsg_CreateStringTable) + return target; +} + +size_t CSVCMsg_CreateStringTable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CreateStringTable) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional bytes string_data = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_string_data()); + } + + // optional int32 num_entries = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_entries()); + } + + // optional int32 user_data_size = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_data_size()); + } + + // optional int32 user_data_size_bits = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_data_size_bits()); + } + + // optional int32 flags = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + // optional bool user_data_fixed_size = 3; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional bool data_compressed = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + if (cached_has_bits & 0x00000300u) { + // optional bool using_varint_bitcounts = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional int32 uncompressed_size = 8; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uncompressed_size()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CreateStringTable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_CreateStringTable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CreateStringTable::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_CreateStringTable::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:CSVCMsg_CreateStringTable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_string_data(from._internal_string_data()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_entries_ = from._impl_.num_entries_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.user_data_size_ = from._impl_.user_data_size_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.user_data_size_bits_ = from._impl_.user_data_size_bits_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.user_data_fixed_size_ = from._impl_.user_data_fixed_size_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.data_compressed_ = from._impl_.data_compressed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.using_varint_bitcounts_ = from._impl_.using_varint_bitcounts_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.uncompressed_size_ = from._impl_.uncompressed_size_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_CreateStringTable::CopyFrom(const CSVCMsg_CreateStringTable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CreateStringTable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CreateStringTable::IsInitialized() const { + return true; +} + +void CSVCMsg_CreateStringTable::InternalSwap(CSVCMsg_CreateStringTable* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_data_, lhs_arena, + &other->_impl_.string_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_CreateStringTable, _impl_.uncompressed_size_) + + sizeof(CSVCMsg_CreateStringTable::_impl_.uncompressed_size_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_CreateStringTable, _impl_.num_entries_)>( + reinterpret_cast(&_impl_.num_entries_), + reinterpret_cast(&other->_impl_.num_entries_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CreateStringTable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[50]); +} + +// =================================================================== + +class CSVCMsg_UpdateStringTable::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_table_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_num_changed_entries(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_string_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(::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:CSVCMsg_UpdateStringTable) +} +CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_UpdateStringTable* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_data_){} + , decltype(_impl_.table_id_){} + , decltype(_impl_.num_changed_entries_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.string_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_data()) { + _this->_impl_.string_data_.Set(from._internal_string_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.table_id_, &from._impl_.table_id_, + static_cast(reinterpret_cast(&_impl_.num_changed_entries_) - + reinterpret_cast(&_impl_.table_id_)) + sizeof(_impl_.num_changed_entries_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_UpdateStringTable) +} + +inline void CSVCMsg_UpdateStringTable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_data_){} + , decltype(_impl_.table_id_){0} + , decltype(_impl_.num_changed_entries_){0} + }; + _impl_.string_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_UpdateStringTable::~CSVCMsg_UpdateStringTable() { + // @@protoc_insertion_point(destructor:CSVCMsg_UpdateStringTable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_UpdateStringTable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.string_data_.Destroy(); +} + +void CSVCMsg_UpdateStringTable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_UpdateStringTable::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_UpdateStringTable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.string_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.table_id_, 0, static_cast( + reinterpret_cast(&_impl_.num_changed_entries_) - + reinterpret_cast(&_impl_.table_id_)) + sizeof(_impl_.num_changed_entries_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_UpdateStringTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 table_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_table_id(&has_bits); + _impl_.table_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_changed_entries = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_num_changed_entries(&has_bits); + _impl_.num_changed_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes string_data = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_string_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_UpdateStringTable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UpdateStringTable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 table_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_table_id(), target); + } + + // optional int32 num_changed_entries = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_changed_entries(), target); + } + + // optional bytes string_data = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_string_data(), 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:CSVCMsg_UpdateStringTable) + return target; +} + +size_t CSVCMsg_UpdateStringTable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UpdateStringTable) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes string_data = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_string_data()); + } + + // optional int32 table_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_table_id()); + } + + // optional int32 num_changed_entries = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_changed_entries()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UpdateStringTable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_UpdateStringTable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UpdateStringTable::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_UpdateStringTable::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:CSVCMsg_UpdateStringTable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_string_data(from._internal_string_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.table_id_ = from._impl_.table_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.num_changed_entries_ = from._impl_.num_changed_entries_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_UpdateStringTable::CopyFrom(const CSVCMsg_UpdateStringTable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UpdateStringTable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_UpdateStringTable::IsInitialized() const { + return true; +} + +void CSVCMsg_UpdateStringTable::InternalSwap(CSVCMsg_UpdateStringTable* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_data_, lhs_arena, + &other->_impl_.string_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _impl_.num_changed_entries_) + + sizeof(CSVCMsg_UpdateStringTable::_impl_.num_changed_entries_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _impl_.table_id_)>( + reinterpret_cast(&_impl_.table_id_), + reinterpret_cast(&other->_impl_.table_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UpdateStringTable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[51]); +} + +// =================================================================== + +class CSVCMsg_VoiceData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVoiceAudio& audio(const CSVCMsg_VoiceData* msg); + static void set_has_audio(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_client(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_proximity(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_audible_mask(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_passthrough(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +const ::CMsgVoiceAudio& +CSVCMsg_VoiceData::_Internal::audio(const CSVCMsg_VoiceData* msg) { + return *msg->_impl_.audio_; +} +CSVCMsg_VoiceData::CSVCMsg_VoiceData(::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:CSVCMsg_VoiceData) +} +CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_VoiceData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.xuid_){} + , decltype(_impl_.proximity_){} + , decltype(_impl_.audible_mask_){} + , decltype(_impl_.tick_){} + , decltype(_impl_.passthrough_){} + , decltype(_impl_.client_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_audio()) { + _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); + } + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.client_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.client_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_VoiceData) +} + +inline void CSVCMsg_VoiceData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.audio_){nullptr} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.proximity_){false} + , decltype(_impl_.audible_mask_){0} + , decltype(_impl_.tick_){0u} + , decltype(_impl_.passthrough_){0} + , decltype(_impl_.client_){-1} + }; +} + +CSVCMsg_VoiceData::~CSVCMsg_VoiceData() { + // @@protoc_insertion_point(destructor:CSVCMsg_VoiceData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_VoiceData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.audio_; +} + +void CSVCMsg_VoiceData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_VoiceData::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_VoiceData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.audio_ != nullptr); + _impl_.audio_->Clear(); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.passthrough_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.passthrough_)); + _impl_.client_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_VoiceData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVoiceAudio audio = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client(&has_bits); + _impl_.client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool proximity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_proximity(&has_bits); + _impl_.proximity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 xuid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 audible_mask = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_audible_mask(&has_bits); + _impl_.audible_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 tick = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 passthrough = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_passthrough(&has_bits); + _impl_.passthrough_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_VoiceData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_VoiceData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::audio(this), + _Internal::audio(this).GetCachedSize(), target, stream); + } + + // optional int32 client = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client(), target); + } + + // optional bool proximity = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_proximity(), target); + } + + // optional fixed64 xuid = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_xuid(), target); + } + + // optional int32 audible_mask = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_audible_mask(), target); + } + + // optional uint32 tick = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tick(), target); + } + + // optional int32 passthrough = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_passthrough(), 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:CSVCMsg_VoiceData) + return target; +} + +size_t CSVCMsg_VoiceData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_VoiceData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional .CMsgVoiceAudio audio = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.audio_); + } + + // optional fixed64 xuid = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional bool proximity = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 audible_mask = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_audible_mask()); + } + + // optional uint32 tick = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); + } + + // optional int32 passthrough = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); + } + + // optional int32 client = 2 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_VoiceData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_VoiceData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_VoiceData::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_VoiceData::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:CSVCMsg_VoiceData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( + from._internal_audio()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.proximity_ = from._impl_.proximity_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.audible_mask_ = from._impl_.audible_mask_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.passthrough_ = from._impl_.passthrough_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.client_ = from._impl_.client_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_VoiceData::CopyFrom(const CSVCMsg_VoiceData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_VoiceData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_VoiceData::IsInitialized() const { + return true; +} + +void CSVCMsg_VoiceData::InternalSwap(CSVCMsg_VoiceData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceData, _impl_.passthrough_) + + sizeof(CSVCMsg_VoiceData::_impl_.passthrough_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceData, _impl_.audio_)>( + reinterpret_cast(&_impl_.audio_), + reinterpret_cast(&other->_impl_.audio_)); + swap(_impl_.client_, other->_impl_.client_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[52]); +} + +// =================================================================== + +class CSVCMsg_PacketReliable::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_messagessize(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CSVCMsg_PacketReliable::CSVCMsg_PacketReliable(::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:CSVCMsg_PacketReliable) +} +CSVCMsg_PacketReliable::CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PacketReliable* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tick_){} + , decltype(_impl_.messagessize_){} + , decltype(_impl_.state_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.tick_, &from._impl_.tick_, + static_cast(reinterpret_cast(&_impl_.state_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.state_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketReliable) +} + +inline void CSVCMsg_PacketReliable::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tick_){0} + , decltype(_impl_.messagessize_){0} + , decltype(_impl_.state_){false} + }; +} + +CSVCMsg_PacketReliable::~CSVCMsg_PacketReliable() { + // @@protoc_insertion_point(destructor:CSVCMsg_PacketReliable) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PacketReliable::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_PacketReliable::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PacketReliable::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketReliable) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.tick_, 0, static_cast( + reinterpret_cast(&_impl_.state_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.state_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PacketReliable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 messagessize = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_messagessize(&has_bits); + _impl_.messagessize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_state(&has_bits); + _impl_.state_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_PacketReliable::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketReliable) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 tick = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); + } + + // optional int32 messagessize = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_messagessize(), target); + } + + // optional bool state = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(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:CSVCMsg_PacketReliable) + return target; +} + +size_t CSVCMsg_PacketReliable::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketReliable) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 tick = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); + } + + // optional int32 messagessize = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_messagessize()); + } + + // optional bool state = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketReliable::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PacketReliable::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketReliable::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PacketReliable::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:CSVCMsg_PacketReliable) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.messagessize_ = from._impl_.messagessize_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.state_ = from._impl_.state_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PacketReliable::CopyFrom(const CSVCMsg_PacketReliable& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketReliable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketReliable::IsInitialized() const { + return true; +} + +void CSVCMsg_PacketReliable::InternalSwap(CSVCMsg_PacketReliable* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketReliable, _impl_.state_) + + sizeof(CSVCMsg_PacketReliable::_impl_.state_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketReliable, _impl_.tick_)>( + reinterpret_cast(&_impl_.tick_), + reinterpret_cast(&other->_impl_.tick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketReliable::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[53]); +} + +// =================================================================== + +class CSVCMsg_FullFrameSplit::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_section(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_total(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit(::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:CSVCMsg_FullFrameSplit) +} +CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit(const CSVCMsg_FullFrameSplit& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_FullFrameSplit* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.tick_){} + , decltype(_impl_.section_){} + , decltype(_impl_.total_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.tick_, &from._impl_.tick_, + static_cast(reinterpret_cast(&_impl_.total_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.total_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_FullFrameSplit) +} + +inline void CSVCMsg_FullFrameSplit::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.tick_){0} + , decltype(_impl_.section_){0} + , decltype(_impl_.total_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_FullFrameSplit::~CSVCMsg_FullFrameSplit() { + // @@protoc_insertion_point(destructor:CSVCMsg_FullFrameSplit) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_FullFrameSplit::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CSVCMsg_FullFrameSplit::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_FullFrameSplit::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_FullFrameSplit) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.tick_, 0, static_cast( + reinterpret_cast(&_impl_.total_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.total_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_FullFrameSplit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 section = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_section(&has_bits); + _impl_.section_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 total = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_total(&has_bits); + _impl_.total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_FullFrameSplit::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FullFrameSplit) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 tick = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); + } + + // optional int32 section = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_section(), target); + } + + // optional int32 total = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_total(), target); + } + + // optional bytes data = 4; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_data(), 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:CSVCMsg_FullFrameSplit) + return target; +} + +size_t CSVCMsg_FullFrameSplit::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FullFrameSplit) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes data = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 tick = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); + } + + // optional int32 section = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_section()); + } + + // optional int32 total = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FullFrameSplit::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_FullFrameSplit::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FullFrameSplit::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_FullFrameSplit::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:CSVCMsg_FullFrameSplit) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.section_ = from._impl_.section_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.total_ = from._impl_.total_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_FullFrameSplit::CopyFrom(const CSVCMsg_FullFrameSplit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FullFrameSplit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_FullFrameSplit::IsInitialized() const { + return true; +} + +void CSVCMsg_FullFrameSplit::InternalSwap(CSVCMsg_FullFrameSplit* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_FullFrameSplit, _impl_.total_) + + sizeof(CSVCMsg_FullFrameSplit::_impl_.total_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_FullFrameSplit, _impl_.tick_)>( + reinterpret_cast(&_impl_.tick_), + reinterpret_cast(&other->_impl_.tick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FullFrameSplit::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[54]); +} + +// =================================================================== + +class CSVCMsg_HLTVStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_master(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_clients(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_slots(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_proxies(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus(::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:CSVCMsg_HLTVStatus) +} +CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus(const CSVCMsg_HLTVStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_HLTVStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.master_){} + , decltype(_impl_.clients_){} + , decltype(_impl_.slots_){} + , decltype(_impl_.proxies_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.master_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.master_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_master()) { + _this->_impl_.master_.Set(from._internal_master(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.clients_, &from._impl_.clients_, + static_cast(reinterpret_cast(&_impl_.proxies_) - + reinterpret_cast(&_impl_.clients_)) + sizeof(_impl_.proxies_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_HLTVStatus) +} + +inline void CSVCMsg_HLTVStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.master_){} + , decltype(_impl_.clients_){0} + , decltype(_impl_.slots_){0} + , decltype(_impl_.proxies_){0} + }; + _impl_.master_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.master_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_HLTVStatus::~CSVCMsg_HLTVStatus() { + // @@protoc_insertion_point(destructor:CSVCMsg_HLTVStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_HLTVStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.master_.Destroy(); +} + +void CSVCMsg_HLTVStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_HLTVStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_HLTVStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.master_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.clients_, 0, static_cast( + reinterpret_cast(&_impl_.proxies_) - + reinterpret_cast(&_impl_.clients_)) + sizeof(_impl_.proxies_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_HLTVStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string master = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_master(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_HLTVStatus.master"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 clients = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_clients(&has_bits); + _impl_.clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 slots = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_slots(&has_bits); + _impl_.slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 proxies = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_proxies(&has_bits); + _impl_.proxies_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_HLTVStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HLTVStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string master = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_master().data(), static_cast(this->_internal_master().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_HLTVStatus.master"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_master(), target); + } + + // optional int32 clients = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_clients(), target); + } + + // optional int32 slots = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_slots(), target); + } + + // optional int32 proxies = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_proxies(), 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:CSVCMsg_HLTVStatus) + return target; +} + +size_t CSVCMsg_HLTVStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HLTVStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string master = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_master()); + } + + // optional int32 clients = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_clients()); + } + + // optional int32 slots = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slots()); + } + + // optional int32 proxies = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_proxies()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HLTVStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_HLTVStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HLTVStatus::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_HLTVStatus::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:CSVCMsg_HLTVStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_master(from._internal_master()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.clients_ = from._impl_.clients_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.slots_ = from._impl_.slots_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.proxies_ = from._impl_.proxies_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_HLTVStatus::CopyFrom(const CSVCMsg_HLTVStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HLTVStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_HLTVStatus::IsInitialized() const { + return true; +} + +void CSVCMsg_HLTVStatus::InternalSwap(CSVCMsg_HLTVStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.master_, lhs_arena, + &other->_impl_.master_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_HLTVStatus, _impl_.proxies_) + + sizeof(CSVCMsg_HLTVStatus::_impl_.proxies_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_HLTVStatus, _impl_.clients_)>( + reinterpret_cast(&_impl_.clients_), + reinterpret_cast(&other->_impl_.clients_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HLTVStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[55]); +} + +// =================================================================== + +class CSVCMsg_ServerSteamID::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID(::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:CSVCMsg_ServerSteamID) +} +CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID(const CSVCMsg_ServerSteamID& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_ServerSteamID* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steam_id_ = from._impl_.steam_id_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ServerSteamID) +} + +inline void CSVCMsg_ServerSteamID::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steam_id_){uint64_t{0u}} + }; +} + +CSVCMsg_ServerSteamID::~CSVCMsg_ServerSteamID() { + // @@protoc_insertion_point(destructor:CSVCMsg_ServerSteamID) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_ServerSteamID::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_ServerSteamID::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_ServerSteamID::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_ServerSteamID) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_ServerSteamID::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_ServerSteamID::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ServerSteamID) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 steam_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steam_id(), 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:CSVCMsg_ServerSteamID) + return target; +} + +size_t CSVCMsg_ServerSteamID::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ServerSteamID) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint64 steam_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steam_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ServerSteamID::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_ServerSteamID::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ServerSteamID::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_ServerSteamID::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:CSVCMsg_ServerSteamID) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steam_id()) { + _this->_internal_set_steam_id(from._internal_steam_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_ServerSteamID::CopyFrom(const CSVCMsg_ServerSteamID& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ServerSteamID) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ServerSteamID::IsInitialized() const { + return true; +} + +void CSVCMsg_ServerSteamID::InternalSwap(CSVCMsg_ServerSteamID* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steam_id_, other->_impl_.steam_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerSteamID::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[56]); +} + +// =================================================================== + +class CSVCMsg_CmdKeyValues::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(::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:CSVCMsg_CmdKeyValues) +} +CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_CmdKeyValues* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CSVCMsg_CmdKeyValues) +} + +inline void CSVCMsg_CmdKeyValues::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_CmdKeyValues::~CSVCMsg_CmdKeyValues() { + // @@protoc_insertion_point(destructor:CSVCMsg_CmdKeyValues) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_CmdKeyValues::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CSVCMsg_CmdKeyValues::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_CmdKeyValues::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_CmdKeyValues) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_CmdKeyValues::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_CmdKeyValues::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CmdKeyValues) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), 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:CSVCMsg_CmdKeyValues) + return target; +} + +size_t CSVCMsg_CmdKeyValues::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CmdKeyValues) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes data = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CmdKeyValues::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_CmdKeyValues::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CmdKeyValues::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_CmdKeyValues::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:CSVCMsg_CmdKeyValues) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_data()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_CmdKeyValues::CopyFrom(const CSVCMsg_CmdKeyValues& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CmdKeyValues) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CmdKeyValues::IsInitialized() const { + return true; +} + +void CSVCMsg_CmdKeyValues::InternalSwap(CSVCMsg_CmdKeyValues* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CmdKeyValues::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[57]); +} + +// =================================================================== + +class CSVCMsg_RconServerDetails::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_details(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails(::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:CSVCMsg_RconServerDetails) +} +CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails(const CSVCMsg_RconServerDetails& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_RconServerDetails* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + , decltype(_impl_.details_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_token()) { + _this->_impl_.token_.Set(from._internal_token(), + _this->GetArenaForAllocation()); + } + _impl_.details_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_details()) { + _this->_impl_.details_.Set(from._internal_details(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CSVCMsg_RconServerDetails) +} + +inline void CSVCMsg_RconServerDetails::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.token_){} + , decltype(_impl_.details_){} + }; + _impl_.token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.details_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_RconServerDetails::~CSVCMsg_RconServerDetails() { + // @@protoc_insertion_point(destructor:CSVCMsg_RconServerDetails) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_RconServerDetails::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.token_.Destroy(); + _impl_.details_.Destroy(); +} + +void CSVCMsg_RconServerDetails::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_RconServerDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_RconServerDetails) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.details_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_RconServerDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes token = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string details = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_details(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_RconServerDetails.details"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_RconServerDetails::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_RconServerDetails) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes token = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_token(), target); + } + + // optional string details = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_details().data(), static_cast(this->_internal_details().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_RconServerDetails.details"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_details(), 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:CSVCMsg_RconServerDetails) + return target; +} + +size_t CSVCMsg_RconServerDetails::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_RconServerDetails) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes token = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_token()); + } + + // optional string details = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_details()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_RconServerDetails::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_RconServerDetails::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_RconServerDetails::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_RconServerDetails::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:CSVCMsg_RconServerDetails) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_token(from._internal_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_details(from._internal_details()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_RconServerDetails::CopyFrom(const CSVCMsg_RconServerDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_RconServerDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_RconServerDetails::IsInitialized() const { + return true; +} + +void CSVCMsg_RconServerDetails::InternalSwap(CSVCMsg_RconServerDetails* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.token_, lhs_arena, + &other->_impl_.token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.details_, lhs_arena, + &other->_impl_.details_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_RconServerDetails::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[58]); +} + +// =================================================================== + +class CMsgIPCAddress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_computer_guid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_process_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgIPCAddress::CMsgIPCAddress(::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:CMsgIPCAddress) +} +CMsgIPCAddress::CMsgIPCAddress(const CMsgIPCAddress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgIPCAddress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.computer_guid_){} + , decltype(_impl_.process_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.computer_guid_, &from._impl_.computer_guid_, + static_cast(reinterpret_cast(&_impl_.process_id_) - + reinterpret_cast(&_impl_.computer_guid_)) + sizeof(_impl_.process_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgIPCAddress) +} + +inline void CMsgIPCAddress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.computer_guid_){uint64_t{0u}} + , decltype(_impl_.process_id_){0u} + }; +} + +CMsgIPCAddress::~CMsgIPCAddress() { + // @@protoc_insertion_point(destructor:CMsgIPCAddress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgIPCAddress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgIPCAddress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgIPCAddress::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgIPCAddress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.computer_guid_, 0, static_cast( + reinterpret_cast(&_impl_.process_id_) - + reinterpret_cast(&_impl_.computer_guid_)) + sizeof(_impl_.process_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgIPCAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 computer_guid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_computer_guid(&has_bits); + _impl_.computer_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 process_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_process_id(&has_bits); + _impl_.process_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgIPCAddress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgIPCAddress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 computer_guid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_computer_guid(), target); + } + + // optional uint32 process_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_process_id(), 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:CMsgIPCAddress) + return target; +} + +size_t CMsgIPCAddress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgIPCAddress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed64 computer_guid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 process_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgIPCAddress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgIPCAddress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgIPCAddress::GetClassData() const { return &_class_data_; } + + +void CMsgIPCAddress::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:CMsgIPCAddress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.computer_guid_ = from._impl_.computer_guid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.process_id_ = from._impl_.process_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgIPCAddress::CopyFrom(const CMsgIPCAddress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgIPCAddress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgIPCAddress::IsInitialized() const { + return true; +} + +void CMsgIPCAddress::InternalSwap(CMsgIPCAddress* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgIPCAddress, _impl_.process_id_) + + sizeof(CMsgIPCAddress::_impl_.process_id_) + - PROTOBUF_FIELD_OFFSET(CMsgIPCAddress, _impl_.computer_guid_)>( + reinterpret_cast(&_impl_.computer_guid_), + reinterpret_cast(&other->_impl_.computer_guid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgIPCAddress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[59]); +} + +// =================================================================== + +class CMsgServerPeer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgIPCAddress& ipc(const CMsgServerPeer* msg); + static void set_has_ipc(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_they_hear_you(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_you_hear_them(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_listenserver_host(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgIPCAddress& +CMsgServerPeer::_Internal::ipc(const CMsgServerPeer* msg) { + return *msg->_impl_.ipc_; +} +CMsgServerPeer::CMsgServerPeer(::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:CMsgServerPeer) +} +CMsgServerPeer::CMsgServerPeer(const CMsgServerPeer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerPeer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ipc_){nullptr} + , decltype(_impl_.steamid_){} + , decltype(_impl_.they_hear_you_){} + , decltype(_impl_.you_hear_them_){} + , decltype(_impl_.is_listenserver_host_){} + , decltype(_impl_.player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_ipc()) { + _this->_impl_.ipc_ = new ::CMsgIPCAddress(*from._impl_.ipc_); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.player_slot_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.player_slot_)); + // @@protoc_insertion_point(copy_constructor:CMsgServerPeer) +} + +inline void CMsgServerPeer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ipc_){nullptr} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.they_hear_you_){false} + , decltype(_impl_.you_hear_them_){false} + , decltype(_impl_.is_listenserver_host_){false} + , decltype(_impl_.player_slot_){-1} + }; +} + +CMsgServerPeer::~CMsgServerPeer() { + // @@protoc_insertion_point(destructor:CMsgServerPeer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerPeer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.ipc_; +} + +void CMsgServerPeer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerPeer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerPeer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.ipc_ != nullptr); + _impl_.ipc_->Clear(); + } + if (cached_has_bits & 0x0000003eu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.is_listenserver_host_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_listenserver_host_)); + _impl_.player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerPeer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 player_slot = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgIPCAddress ipc = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_ipc(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool they_hear_you = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_they_hear_you(&has_bits); + _impl_.they_hear_you_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool you_hear_them = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_you_hear_them(&has_bits); + _impl_.you_hear_them_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_listenserver_host = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_is_listenserver_host(&has_bits); + _impl_.is_listenserver_host_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerPeer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerPeer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 player_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_slot(), target); + } + + // optional fixed64 steamid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steamid(), target); + } + + // optional .CMsgIPCAddress ipc = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::ipc(this), + _Internal::ipc(this).GetCachedSize(), target, stream); + } + + // optional bool they_hear_you = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_they_hear_you(), target); + } + + // optional bool you_hear_them = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_you_hear_them(), target); + } + + // optional bool is_listenserver_host = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_listenserver_host(), 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:CMsgServerPeer) + return target; +} + +size_t CMsgServerPeer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerPeer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .CMsgIPCAddress ipc = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ipc_); + } + + // optional fixed64 steamid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional bool they_hear_you = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool you_hear_them = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool is_listenserver_host = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional int32 player_slot = 1 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerPeer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerPeer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerPeer::GetClassData() const { return &_class_data_; } + + +void CMsgServerPeer::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:CMsgServerPeer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_ipc()->::CMsgIPCAddress::MergeFrom( + from._internal_ipc()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.they_hear_you_ = from._impl_.they_hear_you_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.you_hear_them_ = from._impl_.you_hear_them_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_listenserver_host_ = from._impl_.is_listenserver_host_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerPeer::CopyFrom(const CMsgServerPeer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerPeer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerPeer::IsInitialized() const { + return true; +} + +void CMsgServerPeer::InternalSwap(CMsgServerPeer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgServerPeer, _impl_.is_listenserver_host_) + + sizeof(CMsgServerPeer::_impl_.is_listenserver_host_) + - PROTOBUF_FIELD_OFFSET(CMsgServerPeer, _impl_.ipc_)>( + reinterpret_cast(&_impl_.ipc_), + reinterpret_cast(&other->_impl_.ipc_)); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerPeer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[60]); +} + +// =================================================================== + +class CSVCMsg_PeerList::_Internal { + public: +}; + +CSVCMsg_PeerList::CSVCMsg_PeerList(::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:CSVCMsg_PeerList) +} +CSVCMsg_PeerList::CSVCMsg_PeerList(const CSVCMsg_PeerList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_PeerList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.peer_){from._impl_.peer_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PeerList) +} + +inline void CSVCMsg_PeerList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.peer_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CSVCMsg_PeerList::~CSVCMsg_PeerList() { + // @@protoc_insertion_point(destructor:CSVCMsg_PeerList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_PeerList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.peer_.~RepeatedPtrField(); +} + +void CSVCMsg_PeerList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_PeerList::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_PeerList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.peer_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_PeerList::_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 .CMsgServerPeer peer = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_peer(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CSVCMsg_PeerList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PeerList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgServerPeer peer = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_peer_size()); i < n; i++) { + const auto& repfield = this->_internal_peer(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CSVCMsg_PeerList) + return target; +} + +size_t CSVCMsg_PeerList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PeerList) + 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 .CMsgServerPeer peer = 1; + total_size += 1UL * this->_internal_peer_size(); + for (const auto& msg : this->_impl_.peer_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PeerList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_PeerList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PeerList::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_PeerList::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:CSVCMsg_PeerList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.peer_.MergeFrom(from._impl_.peer_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_PeerList::CopyFrom(const CSVCMsg_PeerList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PeerList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PeerList::IsInitialized() const { + return true; +} + +void CSVCMsg_PeerList::InternalSwap(CSVCMsg_PeerList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.peer_.InternalSwap(&other->_impl_.peer_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PeerList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[61]); +} + +// =================================================================== + +class CSVCMsg_ClearAllStringTables::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mapname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_create_tables_skipped(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables(::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:CSVCMsg_ClearAllStringTables) +} +CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_ClearAllStringTables* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mapname_){} + , decltype(_impl_.create_tables_skipped_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mapname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mapname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_mapname()) { + _this->_impl_.mapname_.Set(from._internal_mapname(), + _this->GetArenaForAllocation()); + } + _this->_impl_.create_tables_skipped_ = from._impl_.create_tables_skipped_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClearAllStringTables) +} + +inline void CSVCMsg_ClearAllStringTables::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mapname_){} + , decltype(_impl_.create_tables_skipped_){false} + }; + _impl_.mapname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mapname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_ClearAllStringTables::~CSVCMsg_ClearAllStringTables() { + // @@protoc_insertion_point(destructor:CSVCMsg_ClearAllStringTables) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_ClearAllStringTables::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mapname_.Destroy(); +} + +void CSVCMsg_ClearAllStringTables::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_ClearAllStringTables::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClearAllStringTables) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.mapname_.ClearNonDefaultToEmpty(); + } + _impl_.create_tables_skipped_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_ClearAllStringTables::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string mapname = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_mapname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_ClearAllStringTables.mapname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool create_tables_skipped = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_create_tables_skipped(&has_bits); + _impl_.create_tables_skipped_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_ClearAllStringTables::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClearAllStringTables) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string mapname = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_mapname().data(), static_cast(this->_internal_mapname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_ClearAllStringTables.mapname"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mapname(), target); + } + + // optional bool create_tables_skipped = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_create_tables_skipped(), 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:CSVCMsg_ClearAllStringTables) + return target; +} + +size_t CSVCMsg_ClearAllStringTables::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClearAllStringTables) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string mapname = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mapname()); + } + + // optional bool create_tables_skipped = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClearAllStringTables::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_ClearAllStringTables::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClearAllStringTables::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_ClearAllStringTables::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:CSVCMsg_ClearAllStringTables) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_mapname(from._internal_mapname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.create_tables_skipped_ = from._impl_.create_tables_skipped_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_ClearAllStringTables::CopyFrom(const CSVCMsg_ClearAllStringTables& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClearAllStringTables) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClearAllStringTables::IsInitialized() const { + return true; +} + +void CSVCMsg_ClearAllStringTables::InternalSwap(CSVCMsg_ClearAllStringTables* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.mapname_, lhs_arena, + &other->_impl_.mapname_, rhs_arena + ); + swap(_impl_.create_tables_skipped_, other->_impl_.create_tables_skipped_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClearAllStringTables::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[62]); +} + +// =================================================================== + +class ProtoFlattenedSerializerField_t_polymorphic_field_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_polymorphic_field_serializer_name_sym(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_polymorphic_field_serializer_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t(::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:ProtoFlattenedSerializerField_t.polymorphic_field_t) +} +ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ProtoFlattenedSerializerField_t_polymorphic_field_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.polymorphic_field_serializer_name_sym_){} + , decltype(_impl_.polymorphic_field_serializer_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.polymorphic_field_serializer_name_sym_, &from._impl_.polymorphic_field_serializer_name_sym_, + static_cast(reinterpret_cast(&_impl_.polymorphic_field_serializer_version_) - + reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_)) + sizeof(_impl_.polymorphic_field_serializer_version_)); + // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializerField_t.polymorphic_field_t) +} + +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.polymorphic_field_serializer_name_sym_){0} + , decltype(_impl_.polymorphic_field_serializer_version_){0} + }; +} + +ProtoFlattenedSerializerField_t_polymorphic_field_t::~ProtoFlattenedSerializerField_t_polymorphic_field_t() { + // @@protoc_insertion_point(destructor:ProtoFlattenedSerializerField_t.polymorphic_field_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void ProtoFlattenedSerializerField_t_polymorphic_field_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ProtoFlattenedSerializerField_t_polymorphic_field_t::Clear() { +// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.polymorphic_field_serializer_name_sym_, 0, static_cast( + reinterpret_cast(&_impl_.polymorphic_field_serializer_version_) - + reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_)) + sizeof(_impl_.polymorphic_field_serializer_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ProtoFlattenedSerializerField_t_polymorphic_field_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 polymorphic_field_serializer_name_sym = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_polymorphic_field_serializer_name_sym(&has_bits); + _impl_.polymorphic_field_serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 polymorphic_field_serializer_version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_polymorphic_field_serializer_version(&has_bits); + _impl_.polymorphic_field_serializer_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ProtoFlattenedSerializerField_t_polymorphic_field_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 polymorphic_field_serializer_name_sym = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_polymorphic_field_serializer_name_sym(), target); + } + + // optional int32 polymorphic_field_serializer_version = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_polymorphic_field_serializer_version(), 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:ProtoFlattenedSerializerField_t.polymorphic_field_t) + return target; +} + +size_t ProtoFlattenedSerializerField_t_polymorphic_field_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 polymorphic_field_serializer_name_sym = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_polymorphic_field_serializer_name_sym()); + } + + // optional int32 polymorphic_field_serializer_version = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_polymorphic_field_serializer_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializerField_t_polymorphic_field_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ProtoFlattenedSerializerField_t_polymorphic_field_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializerField_t_polymorphic_field_t::GetClassData() const { return &_class_data_; } + + +void ProtoFlattenedSerializerField_t_polymorphic_field_t::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:ProtoFlattenedSerializerField_t.polymorphic_field_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.polymorphic_field_serializer_name_sym_ = from._impl_.polymorphic_field_serializer_name_sym_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.polymorphic_field_serializer_version_ = from._impl_.polymorphic_field_serializer_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ProtoFlattenedSerializerField_t_polymorphic_field_t::CopyFrom(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProtoFlattenedSerializerField_t_polymorphic_field_t::IsInitialized() const { + return true; +} + +void ProtoFlattenedSerializerField_t_polymorphic_field_t::InternalSwap(ProtoFlattenedSerializerField_t_polymorphic_field_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_version_) + + sizeof(ProtoFlattenedSerializerField_t_polymorphic_field_t::_impl_.polymorphic_field_serializer_version_) + - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_name_sym_)>( + reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_), + reinterpret_cast(&other->_impl_.polymorphic_field_serializer_name_sym_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t_polymorphic_field_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[63]); +} + +// =================================================================== + +class ProtoFlattenedSerializerField_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_var_type_sym(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_var_name_sym(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_bit_count(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_low_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_high_value(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_encode_flags(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_field_serializer_name_sym(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_field_serializer_version(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_send_node_sym(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_var_encoder_sym(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_var_serializer_sym(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t(::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:ProtoFlattenedSerializerField_t) +} +ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ProtoFlattenedSerializerField_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.polymorphic_types_){from._impl_.polymorphic_types_} + , decltype(_impl_.var_type_sym_){} + , decltype(_impl_.var_name_sym_){} + , decltype(_impl_.bit_count_){} + , decltype(_impl_.low_value_){} + , decltype(_impl_.high_value_){} + , decltype(_impl_.encode_flags_){} + , decltype(_impl_.field_serializer_name_sym_){} + , decltype(_impl_.field_serializer_version_){} + , decltype(_impl_.send_node_sym_){} + , decltype(_impl_.var_encoder_sym_){} + , decltype(_impl_.var_serializer_sym_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.var_type_sym_, &from._impl_.var_type_sym_, + static_cast(reinterpret_cast(&_impl_.var_serializer_sym_) - + reinterpret_cast(&_impl_.var_type_sym_)) + sizeof(_impl_.var_serializer_sym_)); + // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializerField_t) +} + +inline void ProtoFlattenedSerializerField_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.polymorphic_types_){arena} + , decltype(_impl_.var_type_sym_){0} + , decltype(_impl_.var_name_sym_){0} + , decltype(_impl_.bit_count_){0} + , decltype(_impl_.low_value_){0} + , decltype(_impl_.high_value_){0} + , decltype(_impl_.encode_flags_){0} + , decltype(_impl_.field_serializer_name_sym_){0} + , decltype(_impl_.field_serializer_version_){0} + , decltype(_impl_.send_node_sym_){0} + , decltype(_impl_.var_encoder_sym_){0} + , decltype(_impl_.var_serializer_sym_){0} + }; +} + +ProtoFlattenedSerializerField_t::~ProtoFlattenedSerializerField_t() { + // @@protoc_insertion_point(destructor:ProtoFlattenedSerializerField_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ProtoFlattenedSerializerField_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.polymorphic_types_.~RepeatedPtrField(); +} + +void ProtoFlattenedSerializerField_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ProtoFlattenedSerializerField_t::Clear() { +// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializerField_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.polymorphic_types_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.var_type_sym_, 0, static_cast( + reinterpret_cast(&_impl_.field_serializer_version_) - + reinterpret_cast(&_impl_.var_type_sym_)) + sizeof(_impl_.field_serializer_version_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.send_node_sym_, 0, static_cast( + reinterpret_cast(&_impl_.var_serializer_sym_) - + reinterpret_cast(&_impl_.send_node_sym_)) + sizeof(_impl_.var_serializer_sym_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ProtoFlattenedSerializerField_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 var_type_sym = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_var_type_sym(&has_bits); + _impl_.var_type_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 var_name_sym = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_var_name_sym(&has_bits); + _impl_.var_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 bit_count = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_bit_count(&has_bits); + _impl_.bit_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float low_value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_low_value(&has_bits); + _impl_.low_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float high_value = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_high_value(&has_bits); + _impl_.high_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 encode_flags = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_encode_flags(&has_bits); + _impl_.encode_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 field_serializer_name_sym = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_field_serializer_name_sym(&has_bits); + _impl_.field_serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 field_serializer_version = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_field_serializer_version(&has_bits); + _impl_.field_serializer_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 send_node_sym = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_send_node_sym(&has_bits); + _impl_.send_node_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 var_encoder_sym = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_var_encoder_sym(&has_bits); + _impl_.var_encoder_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_polymorphic_types(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 var_serializer_sym = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_var_serializer_sym(&has_bits); + _impl_.var_serializer_sym_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ProtoFlattenedSerializerField_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializerField_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 var_type_sym = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_var_type_sym(), target); + } + + // optional int32 var_name_sym = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_var_name_sym(), target); + } + + // optional int32 bit_count = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_bit_count(), target); + } + + // optional float low_value = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_low_value(), target); + } + + // optional float high_value = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_high_value(), target); + } + + // optional int32 encode_flags = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_encode_flags(), target); + } + + // optional int32 field_serializer_name_sym = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_field_serializer_name_sym(), target); + } + + // optional int32 field_serializer_version = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_field_serializer_version(), target); + } + + // optional int32 send_node_sym = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_send_node_sym(), target); + } + + // optional int32 var_encoder_sym = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_var_encoder_sym(), target); + } + + // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; + for (unsigned i = 0, + n = static_cast(this->_internal_polymorphic_types_size()); i < n; i++) { + const auto& repfield = this->_internal_polymorphic_types(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 var_serializer_sym = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_var_serializer_sym(), 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:ProtoFlattenedSerializerField_t) + return target; +} + +size_t ProtoFlattenedSerializerField_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializerField_t) + 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 .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; + total_size += 1UL * this->_internal_polymorphic_types_size(); + for (const auto& msg : this->_impl_.polymorphic_types_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional int32 var_type_sym = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_type_sym()); + } + + // optional int32 var_name_sym = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_name_sym()); + } + + // optional int32 bit_count = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bit_count()); + } + + // optional float low_value = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional float high_value = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional int32 encode_flags = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_encode_flags()); + } + + // optional int32 field_serializer_name_sym = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_field_serializer_name_sym()); + } + + // optional int32 field_serializer_version = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_field_serializer_version()); + } + + } + if (cached_has_bits & 0x00000700u) { + // optional int32 send_node_sym = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_send_node_sym()); + } + + // optional int32 var_encoder_sym = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_encoder_sym()); + } + + // optional int32 var_serializer_sym = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_serializer_sym()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializerField_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ProtoFlattenedSerializerField_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializerField_t::GetClassData() const { return &_class_data_; } + + +void ProtoFlattenedSerializerField_t::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:ProtoFlattenedSerializerField_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.polymorphic_types_.MergeFrom(from._impl_.polymorphic_types_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.var_type_sym_ = from._impl_.var_type_sym_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.var_name_sym_ = from._impl_.var_name_sym_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.bit_count_ = from._impl_.bit_count_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.low_value_ = from._impl_.low_value_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.high_value_ = from._impl_.high_value_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.encode_flags_ = from._impl_.encode_flags_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.field_serializer_name_sym_ = from._impl_.field_serializer_name_sym_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.field_serializer_version_ = from._impl_.field_serializer_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.send_node_sym_ = from._impl_.send_node_sym_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.var_encoder_sym_ = from._impl_.var_encoder_sym_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.var_serializer_sym_ = from._impl_.var_serializer_sym_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ProtoFlattenedSerializerField_t::CopyFrom(const ProtoFlattenedSerializerField_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializerField_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProtoFlattenedSerializerField_t::IsInitialized() const { + return true; +} + +void ProtoFlattenedSerializerField_t::InternalSwap(ProtoFlattenedSerializerField_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.polymorphic_types_.InternalSwap(&other->_impl_.polymorphic_types_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _impl_.var_serializer_sym_) + + sizeof(ProtoFlattenedSerializerField_t::_impl_.var_serializer_sym_) + - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _impl_.var_type_sym_)>( + reinterpret_cast(&_impl_.var_type_sym_), + reinterpret_cast(&other->_impl_.var_type_sym_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[64]); +} + +// =================================================================== + +class ProtoFlattenedSerializer_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_serializer_name_sym(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_serializer_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t(::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:ProtoFlattenedSerializer_t) +} +ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ProtoFlattenedSerializer_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fields_index_){from._impl_.fields_index_} + , decltype(_impl_.serializer_name_sym_){} + , decltype(_impl_.serializer_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.serializer_name_sym_, &from._impl_.serializer_name_sym_, + static_cast(reinterpret_cast(&_impl_.serializer_version_) - + reinterpret_cast(&_impl_.serializer_name_sym_)) + sizeof(_impl_.serializer_version_)); + // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializer_t) +} + +inline void ProtoFlattenedSerializer_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fields_index_){arena} + , decltype(_impl_.serializer_name_sym_){0} + , decltype(_impl_.serializer_version_){0} + }; +} + +ProtoFlattenedSerializer_t::~ProtoFlattenedSerializer_t() { + // @@protoc_insertion_point(destructor:ProtoFlattenedSerializer_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ProtoFlattenedSerializer_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.fields_index_.~RepeatedField(); +} + +void ProtoFlattenedSerializer_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ProtoFlattenedSerializer_t::Clear() { +// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializer_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fields_index_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.serializer_name_sym_, 0, static_cast( + reinterpret_cast(&_impl_.serializer_version_) - + reinterpret_cast(&_impl_.serializer_name_sym_)) + sizeof(_impl_.serializer_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ProtoFlattenedSerializer_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 serializer_name_sym = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_serializer_name_sym(&has_bits); + _impl_.serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 serializer_version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_serializer_version(&has_bits); + _impl_.serializer_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 fields_index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_fields_index(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_fields_index(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ProtoFlattenedSerializer_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializer_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 serializer_name_sym = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_serializer_name_sym(), target); + } + + // optional int32 serializer_version = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_serializer_version(), target); + } + + // repeated int32 fields_index = 3; + for (int i = 0, n = this->_internal_fields_index_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_fields_index(i), 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:ProtoFlattenedSerializer_t) + return target; +} + +size_t ProtoFlattenedSerializer_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializer_t) + 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 int32 fields_index = 3; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.fields_index_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_fields_index_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional int32 serializer_name_sym = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_serializer_name_sym()); + } + + // optional int32 serializer_version = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_serializer_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializer_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ProtoFlattenedSerializer_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializer_t::GetClassData() const { return &_class_data_; } + + +void ProtoFlattenedSerializer_t::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:ProtoFlattenedSerializer_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.fields_index_.MergeFrom(from._impl_.fields_index_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.serializer_name_sym_ = from._impl_.serializer_name_sym_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.serializer_version_ = from._impl_.serializer_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ProtoFlattenedSerializer_t::CopyFrom(const ProtoFlattenedSerializer_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializer_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProtoFlattenedSerializer_t::IsInitialized() const { + return true; +} + +void ProtoFlattenedSerializer_t::InternalSwap(ProtoFlattenedSerializer_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.fields_index_.InternalSwap(&other->_impl_.fields_index_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializer_t, _impl_.serializer_version_) + + sizeof(ProtoFlattenedSerializer_t::_impl_.serializer_version_) + - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializer_t, _impl_.serializer_name_sym_)>( + reinterpret_cast(&_impl_.serializer_name_sym_), + reinterpret_cast(&other->_impl_.serializer_name_sym_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializer_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[65]); +} + +// =================================================================== + +class CSVCMsg_FlattenedSerializer::_Internal { + public: +}; + +CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer(::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:CSVCMsg_FlattenedSerializer) +} +CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_FlattenedSerializer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.serializers_){from._impl_.serializers_} + , decltype(_impl_.symbols_){from._impl_.symbols_} + , decltype(_impl_.fields_){from._impl_.fields_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_FlattenedSerializer) +} + +inline void CSVCMsg_FlattenedSerializer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.serializers_){arena} + , decltype(_impl_.symbols_){arena} + , decltype(_impl_.fields_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CSVCMsg_FlattenedSerializer::~CSVCMsg_FlattenedSerializer() { + // @@protoc_insertion_point(destructor:CSVCMsg_FlattenedSerializer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_FlattenedSerializer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.serializers_.~RepeatedPtrField(); + _impl_.symbols_.~RepeatedPtrField(); + _impl_.fields_.~RepeatedPtrField(); +} + +void CSVCMsg_FlattenedSerializer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_FlattenedSerializer::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_FlattenedSerializer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.serializers_.Clear(); + _impl_.symbols_.Clear(); + _impl_.fields_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_FlattenedSerializer::_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 .ProtoFlattenedSerializer_t serializers = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_serializers(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated string symbols = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_symbols(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_FlattenedSerializer.symbols"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .ProtoFlattenedSerializerField_t fields = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_fields(), 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* CSVCMsg_FlattenedSerializer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FlattenedSerializer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .ProtoFlattenedSerializer_t serializers = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_serializers_size()); i < n; i++) { + const auto& repfield = this->_internal_serializers(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated string symbols = 2; + for (int i = 0, n = this->_internal_symbols_size(); i < n; i++) { + const auto& s = this->_internal_symbols(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_FlattenedSerializer.symbols"); + target = stream->WriteString(2, s, target); + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_fields_size()); i < n; i++) { + const auto& repfield = this->_internal_fields(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:CSVCMsg_FlattenedSerializer) + return target; +} + +size_t CSVCMsg_FlattenedSerializer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FlattenedSerializer) + 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 .ProtoFlattenedSerializer_t serializers = 1; + total_size += 1UL * this->_internal_serializers_size(); + for (const auto& msg : this->_impl_.serializers_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated string symbols = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.symbols_.size()); + for (int i = 0, n = _impl_.symbols_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.symbols_.Get(i)); + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + total_size += 1UL * this->_internal_fields_size(); + for (const auto& msg : this->_impl_.fields_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FlattenedSerializer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_FlattenedSerializer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FlattenedSerializer::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_FlattenedSerializer::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:CSVCMsg_FlattenedSerializer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.serializers_.MergeFrom(from._impl_.serializers_); + _this->_impl_.symbols_.MergeFrom(from._impl_.symbols_); + _this->_impl_.fields_.MergeFrom(from._impl_.fields_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_FlattenedSerializer::CopyFrom(const CSVCMsg_FlattenedSerializer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FlattenedSerializer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_FlattenedSerializer::IsInitialized() const { + return true; +} + +void CSVCMsg_FlattenedSerializer::InternalSwap(CSVCMsg_FlattenedSerializer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.serializers_.InternalSwap(&other->_impl_.serializers_); + _impl_.symbols_.InternalSwap(&other->_impl_.symbols_); + _impl_.fields_.InternalSwap(&other->_impl_.fields_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FlattenedSerializer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[66]); +} + +// =================================================================== + +class CSVCMsg_StopSound::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_guid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_StopSound::CSVCMsg_StopSound(::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:CSVCMsg_StopSound) +} +CSVCMsg_StopSound::CSVCMsg_StopSound(const CSVCMsg_StopSound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_StopSound* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.guid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.guid_ = from._impl_.guid_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_StopSound) +} + +inline void CSVCMsg_StopSound::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.guid_){0u} + }; +} + +CSVCMsg_StopSound::~CSVCMsg_StopSound() { + // @@protoc_insertion_point(destructor:CSVCMsg_StopSound) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_StopSound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_StopSound::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_StopSound::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_StopSound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.guid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_StopSound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 guid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_guid(&has_bits); + _impl_.guid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_StopSound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_StopSound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 guid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_guid(), 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:CSVCMsg_StopSound) + return target; +} + +size_t CSVCMsg_StopSound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_StopSound) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed32 guid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_StopSound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_StopSound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_StopSound::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_StopSound::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:CSVCMsg_StopSound) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_guid()) { + _this->_internal_set_guid(from._internal_guid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_StopSound::CopyFrom(const CSVCMsg_StopSound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_StopSound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_StopSound::IsInitialized() const { + return true; +} + +void CSVCMsg_StopSound::InternalSwap(CSVCMsg_StopSound* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.guid_, other->_impl_.guid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_StopSound::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[67]); +} + +// =================================================================== + +class CBidirMsg_RebroadcastGameEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_posttoserver(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_buftype(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_clientbitcount(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_receivingclients(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent(::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:CBidirMsg_RebroadcastGameEvent) +} +CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CBidirMsg_RebroadcastGameEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.posttoserver_){} + , decltype(_impl_.buftype_){} + , decltype(_impl_.receivingclients_){} + , decltype(_impl_.clientbitcount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.posttoserver_, &from._impl_.posttoserver_, + static_cast(reinterpret_cast(&_impl_.clientbitcount_) - + reinterpret_cast(&_impl_.posttoserver_)) + sizeof(_impl_.clientbitcount_)); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastGameEvent) +} + +inline void CBidirMsg_RebroadcastGameEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.posttoserver_){false} + , decltype(_impl_.buftype_){0} + , decltype(_impl_.receivingclients_){uint64_t{0u}} + , decltype(_impl_.clientbitcount_){0u} + }; +} + +CBidirMsg_RebroadcastGameEvent::~CBidirMsg_RebroadcastGameEvent() { + // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastGameEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CBidirMsg_RebroadcastGameEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CBidirMsg_RebroadcastGameEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CBidirMsg_RebroadcastGameEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CBidirMsg_RebroadcastGameEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.posttoserver_, 0, static_cast( + reinterpret_cast(&_impl_.clientbitcount_) - + reinterpret_cast(&_impl_.posttoserver_)) + sizeof(_impl_.clientbitcount_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CBidirMsg_RebroadcastGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool posttoserver = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_posttoserver(&has_bits); + _impl_.posttoserver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 buftype = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_buftype(&has_bits); + _impl_.buftype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 clientbitcount = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_clientbitcount(&has_bits); + _impl_.clientbitcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 receivingclients = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_receivingclients(&has_bits); + _impl_.receivingclients_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CBidirMsg_RebroadcastGameEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastGameEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool posttoserver = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_posttoserver(), target); + } + + // optional int32 buftype = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_buftype(), target); + } + + // optional uint32 clientbitcount = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_clientbitcount(), target); + } + + // optional uint64 receivingclients = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_receivingclients(), 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:CBidirMsg_RebroadcastGameEvent) + return target; +} + +size_t CBidirMsg_RebroadcastGameEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_RebroadcastGameEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bool posttoserver = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional int32 buftype = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_buftype()); + } + + // optional uint64 receivingclients = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_receivingclients()); + } + + // optional uint32 clientbitcount = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_clientbitcount()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_RebroadcastGameEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CBidirMsg_RebroadcastGameEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_RebroadcastGameEvent::GetClassData() const { return &_class_data_; } + + +void CBidirMsg_RebroadcastGameEvent::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:CBidirMsg_RebroadcastGameEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.posttoserver_ = from._impl_.posttoserver_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.buftype_ = from._impl_.buftype_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.receivingclients_ = from._impl_.receivingclients_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.clientbitcount_ = from._impl_.clientbitcount_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CBidirMsg_RebroadcastGameEvent::CopyFrom(const CBidirMsg_RebroadcastGameEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_RebroadcastGameEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RebroadcastGameEvent::IsInitialized() const { + return true; +} + +void CBidirMsg_RebroadcastGameEvent::InternalSwap(CBidirMsg_RebroadcastGameEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _impl_.clientbitcount_) + + sizeof(CBidirMsg_RebroadcastGameEvent::_impl_.clientbitcount_) + - PROTOBUF_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _impl_.posttoserver_)>( + reinterpret_cast(&_impl_.posttoserver_), + reinterpret_cast(&other->_impl_.posttoserver_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastGameEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[68]); +} + +// =================================================================== + +class CBidirMsg_RebroadcastSource::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_eventsource(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource(::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:CBidirMsg_RebroadcastSource) +} +CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CBidirMsg_RebroadcastSource* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventsource_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.eventsource_ = from._impl_.eventsource_; + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastSource) +} + +inline void CBidirMsg_RebroadcastSource::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.eventsource_){0} + }; +} + +CBidirMsg_RebroadcastSource::~CBidirMsg_RebroadcastSource() { + // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastSource) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CBidirMsg_RebroadcastSource::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CBidirMsg_RebroadcastSource::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CBidirMsg_RebroadcastSource::Clear() { +// @@protoc_insertion_point(message_clear_start:CBidirMsg_RebroadcastSource) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.eventsource_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CBidirMsg_RebroadcastSource::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 eventsource = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_eventsource(&has_bits); + _impl_.eventsource_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CBidirMsg_RebroadcastSource::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastSource) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 eventsource = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventsource(), 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:CBidirMsg_RebroadcastSource) + return target; +} + +size_t CBidirMsg_RebroadcastSource::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_RebroadcastSource) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 eventsource = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventsource()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_RebroadcastSource::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CBidirMsg_RebroadcastSource::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_RebroadcastSource::GetClassData() const { return &_class_data_; } + + +void CBidirMsg_RebroadcastSource::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:CBidirMsg_RebroadcastSource) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_eventsource()) { + _this->_internal_set_eventsource(from._internal_eventsource()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CBidirMsg_RebroadcastSource::CopyFrom(const CBidirMsg_RebroadcastSource& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_RebroadcastSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RebroadcastSource::IsInitialized() const { + return true; +} + +void CBidirMsg_RebroadcastSource::InternalSwap(CBidirMsg_RebroadcastSource* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.eventsource_, other->_impl_.eventsource_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastSource::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[69]); +} + +// =================================================================== + +class CBidirMsg_PredictionEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_event_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sync_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_sync_val_uint32(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; + } +}; + +CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent(::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:CBidirMsg_PredictionEvent) +} +CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent(const CBidirMsg_PredictionEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CBidirMsg_PredictionEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_data_){} + , decltype(_impl_.event_id_){} + , decltype(_impl_.sync_type_){} + , decltype(_impl_.sync_val_uint32_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_data()) { + _this->_impl_.event_data_.Set(from._internal_event_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, + static_cast(reinterpret_cast(&_impl_.sync_val_uint32_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.sync_val_uint32_)); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_PredictionEvent) +} + +inline void CBidirMsg_PredictionEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_data_){} + , decltype(_impl_.event_id_){0u} + , decltype(_impl_.sync_type_){0u} + , decltype(_impl_.sync_val_uint32_){0u} + }; + _impl_.event_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CBidirMsg_PredictionEvent::~CBidirMsg_PredictionEvent() { + // @@protoc_insertion_point(destructor:CBidirMsg_PredictionEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CBidirMsg_PredictionEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_data_.Destroy(); +} + +void CBidirMsg_PredictionEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CBidirMsg_PredictionEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CBidirMsg_PredictionEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.event_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.event_id_, 0, static_cast( + reinterpret_cast(&_impl_.sync_val_uint32_) - + reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.sync_val_uint32_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CBidirMsg_PredictionEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required uint32 event_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_event_id(&has_bits); + _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // required bytes event_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_event_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sync_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_sync_type(&has_bits); + _impl_.sync_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sync_val_uint32 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_sync_val_uint32(&has_bits); + _impl_.sync_val_uint32_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CBidirMsg_PredictionEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_PredictionEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // required uint32 event_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); + } + + // required bytes event_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_event_data(), target); + } + + // optional uint32 sync_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sync_type(), target); + } + + // optional uint32 sync_val_uint32 = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_sync_val_uint32(), 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:CBidirMsg_PredictionEvent) + return target; +} + +size_t CBidirMsg_PredictionEvent::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CBidirMsg_PredictionEvent) + size_t total_size = 0; + + if (_internal_has_event_data()) { + // required bytes event_data = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_event_data()); + } + + if (_internal_has_event_id()) { + // required uint32 event_id = 1; + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + } + + return total_size; +} +size_t CBidirMsg_PredictionEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_PredictionEvent) + size_t total_size = 0; + + if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. + // required bytes event_data = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_event_data()); + + // required uint32 event_id = 1; + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); + + } else { + total_size += RequiredFieldsByteSizeFallback(); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000cu) { + // optional uint32 sync_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync_type()); + } + + // optional uint32 sync_val_uint32 = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync_val_uint32()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_PredictionEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CBidirMsg_PredictionEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_PredictionEvent::GetClassData() const { return &_class_data_; } + + +void CBidirMsg_PredictionEvent::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:CBidirMsg_PredictionEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_data(from._internal_event_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.event_id_ = from._impl_.event_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.sync_type_ = from._impl_.sync_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.sync_val_uint32_ = from._impl_.sync_val_uint32_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CBidirMsg_PredictionEvent::CopyFrom(const CBidirMsg_PredictionEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_PredictionEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_PredictionEvent::IsInitialized() const { + if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; + return true; +} + +void CBidirMsg_PredictionEvent::InternalSwap(CBidirMsg_PredictionEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_data_, lhs_arena, + &other->_impl_.event_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CBidirMsg_PredictionEvent, _impl_.sync_val_uint32_) + + sizeof(CBidirMsg_PredictionEvent::_impl_.sync_val_uint32_) + - PROTOBUF_FIELD_OFFSET(CBidirMsg_PredictionEvent, _impl_.event_id_)>( + reinterpret_cast(&_impl_.event_id_), + reinterpret_cast(&other->_impl_.event_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_PredictionEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[70]); +} + +// =================================================================== + +class CMsgServerNetworkStats_Port::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_port(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port(::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:CMsgServerNetworkStats.Port) +} +CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port(const CMsgServerNetworkStats_Port& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerNetworkStats_Port* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.port_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.port_ = from._impl_.port_; + // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats.Port) +} + +inline void CMsgServerNetworkStats_Port::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.port_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgServerNetworkStats_Port::~CMsgServerNetworkStats_Port() { + // @@protoc_insertion_point(destructor:CMsgServerNetworkStats.Port) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerNetworkStats_Port::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CMsgServerNetworkStats_Port::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerNetworkStats_Port::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats.Port) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + _impl_.port_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerNetworkStats_Port::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 port = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_port(&has_bits); + _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgServerNetworkStats.Port.name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerNetworkStats_Port::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats.Port) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 port = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_port(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgServerNetworkStats.Port.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:CMsgServerNetworkStats.Port) + return target; +} + +size_t CMsgServerNetworkStats_Port::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats.Port) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 port = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats_Port::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerNetworkStats_Port::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats_Port::GetClassData() const { return &_class_data_; } + + +void CMsgServerNetworkStats_Port::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:CMsgServerNetworkStats.Port) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.port_ = from._impl_.port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerNetworkStats_Port::CopyFrom(const CMsgServerNetworkStats_Port& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats.Port) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerNetworkStats_Port::IsInitialized() const { + return true; +} + +void CMsgServerNetworkStats_Port::InternalSwap(CMsgServerNetworkStats_Port* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.port_, other->_impl_.port_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Port::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[71]); +} + +// =================================================================== + +class CMsgServerNetworkStats_Player::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_remote_addr(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ping_avg_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_packet_loss_pct(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_is_bot(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_loss_in(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_loss_out(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_engine_latency_ms(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgServerNetworkStats_Player::CMsgServerNetworkStats_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:CMsgServerNetworkStats.Player) +} +CMsgServerNetworkStats_Player::CMsgServerNetworkStats_Player(const CMsgServerNetworkStats_Player& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerNetworkStats_Player* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.remote_addr_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.ping_avg_ms_){} + , decltype(_impl_.packet_loss_pct_){} + , decltype(_impl_.is_bot_){} + , decltype(_impl_.loss_in_){} + , decltype(_impl_.loss_out_){} + , decltype(_impl_.engine_latency_ms_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.remote_addr_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.remote_addr_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_remote_addr()) { + _this->_impl_.remote_addr_.Set(from._internal_remote_addr(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.engine_latency_ms_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.engine_latency_ms_)); + // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats.Player) +} + +inline void CMsgServerNetworkStats_Player::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.remote_addr_){} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.ping_avg_ms_){0} + , decltype(_impl_.packet_loss_pct_){0} + , decltype(_impl_.is_bot_){false} + , decltype(_impl_.loss_in_){0} + , decltype(_impl_.loss_out_){0} + , decltype(_impl_.engine_latency_ms_){0} + }; + _impl_.remote_addr_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.remote_addr_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgServerNetworkStats_Player::~CMsgServerNetworkStats_Player() { + // @@protoc_insertion_point(destructor:CMsgServerNetworkStats.Player) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerNetworkStats_Player::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.remote_addr_.Destroy(); +} + +void CMsgServerNetworkStats_Player::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerNetworkStats_Player::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats.Player) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.remote_addr_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.engine_latency_ms_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.engine_latency_ms_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerNetworkStats_Player::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string remote_addr = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_remote_addr(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgServerNetworkStats.Player.remote_addr"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 ping_avg_ms = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ping_avg_ms(&has_bits); + _impl_.ping_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float packet_loss_pct = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_packet_loss_pct(&has_bits); + _impl_.packet_loss_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bool is_bot = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_is_bot(&has_bits); + _impl_.is_bot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float loss_in = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_loss_in(&has_bits); + _impl_.loss_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float loss_out = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_loss_out(&has_bits); + _impl_.loss_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 engine_latency_ms = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_engine_latency_ms(&has_bits); + _impl_.engine_latency_ms_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerNetworkStats_Player::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats.Player) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 steamid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steamid(), target); + } + + // optional string remote_addr = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_remote_addr().data(), static_cast(this->_internal_remote_addr().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgServerNetworkStats.Player.remote_addr"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_remote_addr(), target); + } + + // optional int32 ping_avg_ms = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ping_avg_ms(), target); + } + + // optional float packet_loss_pct = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_packet_loss_pct(), target); + } + + // optional bool is_bot = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_bot(), target); + } + + // optional float loss_in = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_loss_in(), target); + } + + // optional float loss_out = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_loss_out(), target); + } + + // optional int32 engine_latency_ms = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_engine_latency_ms(), 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:CMsgServerNetworkStats.Player) + return target; +} + +size_t CMsgServerNetworkStats_Player::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats.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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string remote_addr = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_remote_addr()); + } + + // optional uint64 steamid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); + } + + // optional int32 ping_avg_ms = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ping_avg_ms()); + } + + // optional float packet_loss_pct = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional bool is_bot = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional float loss_in = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float loss_out = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional int32 engine_latency_ms = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_engine_latency_ms()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats_Player::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerNetworkStats_Player::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats_Player::GetClassData() const { return &_class_data_; } + + +void CMsgServerNetworkStats_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:CMsgServerNetworkStats.Player) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_remote_addr(from._internal_remote_addr()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ping_avg_ms_ = from._impl_.ping_avg_ms_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.packet_loss_pct_ = from._impl_.packet_loss_pct_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.is_bot_ = from._impl_.is_bot_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.loss_in_ = from._impl_.loss_in_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.loss_out_ = from._impl_.loss_out_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.engine_latency_ms_ = from._impl_.engine_latency_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerNetworkStats_Player::CopyFrom(const CMsgServerNetworkStats_Player& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats.Player) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerNetworkStats_Player::IsInitialized() const { + return true; +} + +void CMsgServerNetworkStats_Player::InternalSwap(CMsgServerNetworkStats_Player* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.remote_addr_, lhs_arena, + &other->_impl_.remote_addr_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats_Player, _impl_.engine_latency_ms_) + + sizeof(CMsgServerNetworkStats_Player::_impl_.engine_latency_ms_) + - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats_Player, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Player::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[72]); +} + +// =================================================================== + +class CMsgServerNetworkStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dedicated(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cpu_usage(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_memory_used_mb(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_memory_free_mb(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_uptime(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_spawn_count(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_num_clients(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_num_bots(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_num_spectators(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_num_tv_relays(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_fps(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_avg_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_avg_engine_latency_out(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_avg_packets_out(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_avg_packets_in(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_avg_loss_out(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_avg_loss_in(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_avg_data_out(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_avg_data_in(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_total_data_in(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_total_packets_in(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_total_data_out(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_total_packets_out(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } +}; + +CMsgServerNetworkStats::CMsgServerNetworkStats(::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:CMsgServerNetworkStats) +} +CMsgServerNetworkStats::CMsgServerNetworkStats(const CMsgServerNetworkStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerNetworkStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ports_){from._impl_.ports_} + , decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.dedicated_){} + , decltype(_impl_.cpu_usage_){} + , decltype(_impl_.memory_used_mb_){} + , decltype(_impl_.memory_free_mb_){} + , decltype(_impl_.uptime_){} + , decltype(_impl_.spawn_count_){} + , decltype(_impl_.num_clients_){} + , decltype(_impl_.num_bots_){} + , decltype(_impl_.num_spectators_){} + , decltype(_impl_.num_tv_relays_){} + , decltype(_impl_.fps_){} + , decltype(_impl_.avg_ping_ms_){} + , decltype(_impl_.avg_engine_latency_out_){} + , decltype(_impl_.avg_packets_out_){} + , decltype(_impl_.avg_packets_in_){} + , decltype(_impl_.avg_loss_out_){} + , decltype(_impl_.avg_loss_in_){} + , decltype(_impl_.avg_data_out_){} + , decltype(_impl_.total_data_in_){} + , decltype(_impl_.total_packets_in_){} + , decltype(_impl_.total_data_out_){} + , decltype(_impl_.total_packets_out_){} + , decltype(_impl_.avg_data_in_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.dedicated_, &from._impl_.dedicated_, + static_cast(reinterpret_cast(&_impl_.avg_data_in_) - + reinterpret_cast(&_impl_.dedicated_)) + sizeof(_impl_.avg_data_in_)); + // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats) +} + +inline void CMsgServerNetworkStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ports_){arena} + , decltype(_impl_.players_){arena} + , decltype(_impl_.dedicated_){false} + , decltype(_impl_.cpu_usage_){0} + , decltype(_impl_.memory_used_mb_){0} + , decltype(_impl_.memory_free_mb_){0} + , decltype(_impl_.uptime_){0} + , decltype(_impl_.spawn_count_){0} + , decltype(_impl_.num_clients_){0} + , decltype(_impl_.num_bots_){0} + , decltype(_impl_.num_spectators_){0} + , decltype(_impl_.num_tv_relays_){0} + , decltype(_impl_.fps_){0} + , decltype(_impl_.avg_ping_ms_){0} + , decltype(_impl_.avg_engine_latency_out_){0} + , decltype(_impl_.avg_packets_out_){0} + , decltype(_impl_.avg_packets_in_){0} + , decltype(_impl_.avg_loss_out_){0} + , decltype(_impl_.avg_loss_in_){0} + , decltype(_impl_.avg_data_out_){0} + , decltype(_impl_.total_data_in_){uint64_t{0u}} + , decltype(_impl_.total_packets_in_){uint64_t{0u}} + , decltype(_impl_.total_data_out_){uint64_t{0u}} + , decltype(_impl_.total_packets_out_){uint64_t{0u}} + , decltype(_impl_.avg_data_in_){0} + }; +} + +CMsgServerNetworkStats::~CMsgServerNetworkStats() { + // @@protoc_insertion_point(destructor:CMsgServerNetworkStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerNetworkStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ports_.~RepeatedPtrField(); + _impl_.players_.~RepeatedPtrField(); +} + +void CMsgServerNetworkStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerNetworkStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ports_.Clear(); + _impl_.players_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.dedicated_, 0, static_cast( + reinterpret_cast(&_impl_.num_bots_) - + reinterpret_cast(&_impl_.dedicated_)) + sizeof(_impl_.num_bots_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.num_spectators_, 0, static_cast( + reinterpret_cast(&_impl_.avg_loss_out_) - + reinterpret_cast(&_impl_.num_spectators_)) + sizeof(_impl_.avg_loss_out_)); + } + if (cached_has_bits & 0x007f0000u) { + ::memset(&_impl_.avg_loss_in_, 0, static_cast( + reinterpret_cast(&_impl_.avg_data_in_) - + reinterpret_cast(&_impl_.avg_loss_in_)) + sizeof(_impl_.avg_data_in_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerNetworkStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool dedicated = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dedicated(&has_bits); + _impl_.dedicated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 cpu_usage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_cpu_usage(&has_bits); + _impl_.cpu_usage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 memory_used_mb = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_memory_used_mb(&has_bits); + _impl_.memory_used_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 memory_free_mb = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_memory_free_mb(&has_bits); + _impl_.memory_free_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 uptime = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_uptime(&has_bits); + _impl_.uptime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 spawn_count = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_spawn_count(&has_bits); + _impl_.spawn_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_clients = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_num_clients(&has_bits); + _impl_.num_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_bots = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_num_bots(&has_bits); + _impl_.num_bots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_spectators = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_num_spectators(&has_bits); + _impl_.num_spectators_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_tv_relays = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_num_tv_relays(&has_bits); + _impl_.num_tv_relays_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float fps = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_fps(&has_bits); + _impl_.fps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // repeated .CMsgServerNetworkStats.Port ports = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_ports(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<138>(ptr)); + } else + goto handle_unusual; + continue; + // optional float avg_ping_ms = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 149)) { + _Internal::set_has_avg_ping_ms(&has_bits); + _impl_.avg_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_engine_latency_out = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 157)) { + _Internal::set_has_avg_engine_latency_out(&has_bits); + _impl_.avg_engine_latency_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_packets_out = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 165)) { + _Internal::set_has_avg_packets_out(&has_bits); + _impl_.avg_packets_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_packets_in = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 173)) { + _Internal::set_has_avg_packets_in(&has_bits); + _impl_.avg_packets_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_loss_out = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 181)) { + _Internal::set_has_avg_loss_out(&has_bits); + _impl_.avg_loss_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_loss_in = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 189)) { + _Internal::set_has_avg_loss_in(&has_bits); + _impl_.avg_loss_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_data_out = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 197)) { + _Internal::set_has_avg_data_out(&has_bits); + _impl_.avg_data_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float avg_data_in = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 205)) { + _Internal::set_has_avg_data_in(&has_bits); + _impl_.avg_data_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint64 total_data_in = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { + _Internal::set_has_total_data_in(&has_bits); + _impl_.total_data_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 total_packets_in = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_total_packets_in(&has_bits); + _impl_.total_packets_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 total_data_out = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { + _Internal::set_has_total_data_out(&has_bits); + _impl_.total_data_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 total_packets_out = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_total_packets_out(&has_bits); + _impl_.total_packets_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgServerNetworkStats.Player players = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_players(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<242>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerNetworkStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool dedicated = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_dedicated(), target); + } + + // optional int32 cpu_usage = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_cpu_usage(), target); + } + + // optional int32 memory_used_mb = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_memory_used_mb(), target); + } + + // optional int32 memory_free_mb = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_memory_free_mb(), target); + } + + // optional int32 uptime = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_uptime(), target); + } + + // optional int32 spawn_count = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_spawn_count(), target); + } + + // optional int32 num_clients = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_num_clients(), target); + } + + // optional int32 num_bots = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_num_bots(), target); + } + + // optional int32 num_spectators = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_num_spectators(), target); + } + + // optional int32 num_tv_relays = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_num_tv_relays(), target); + } + + // optional float fps = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_fps(), target); + } + + // repeated .CMsgServerNetworkStats.Port ports = 17; + for (unsigned i = 0, + n = static_cast(this->_internal_ports_size()); i < n; i++) { + const auto& repfield = this->_internal_ports(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(17, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional float avg_ping_ms = 18; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(18, this->_internal_avg_ping_ms(), target); + } + + // optional float avg_engine_latency_out = 19; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(19, this->_internal_avg_engine_latency_out(), target); + } + + // optional float avg_packets_out = 20; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(20, this->_internal_avg_packets_out(), target); + } + + // optional float avg_packets_in = 21; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(21, this->_internal_avg_packets_in(), target); + } + + // optional float avg_loss_out = 22; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(22, this->_internal_avg_loss_out(), target); + } + + // optional float avg_loss_in = 23; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(23, this->_internal_avg_loss_in(), target); + } + + // optional float avg_data_out = 24; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(24, this->_internal_avg_data_out(), target); + } + + // optional float avg_data_in = 25; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(25, this->_internal_avg_data_in(), target); + } + + // optional uint64 total_data_in = 26; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(26, this->_internal_total_data_in(), target); + } + + // optional uint64 total_packets_in = 27; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(27, this->_internal_total_packets_in(), target); + } + + // optional uint64 total_data_out = 28; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(28, this->_internal_total_data_out(), target); + } + + // optional uint64 total_packets_out = 29; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(29, this->_internal_total_packets_out(), target); + } + + // repeated .CMsgServerNetworkStats.Player players = 30; + 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(30, 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:CMsgServerNetworkStats) + return target; +} + +size_t CMsgServerNetworkStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats) + 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 .CMsgServerNetworkStats.Port ports = 17; + total_size += 2UL * this->_internal_ports_size(); + for (const auto& msg : this->_impl_.ports_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgServerNetworkStats.Player players = 30; + total_size += 2UL * this->_internal_players_size(); + for (const auto& msg : this->_impl_.players_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bool dedicated = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional int32 cpu_usage = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cpu_usage()); + } + + // optional int32 memory_used_mb = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_memory_used_mb()); + } + + // optional int32 memory_free_mb = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_memory_free_mb()); + } + + // optional int32 uptime = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uptime()); + } + + // optional int32 spawn_count = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_spawn_count()); + } + + // optional int32 num_clients = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_clients()); + } + + // optional int32 num_bots = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_bots()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 num_spectators = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_spectators()); + } + + // optional int32 num_tv_relays = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_tv_relays()); + } + + // optional float fps = 12; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional float avg_ping_ms = 18; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + 4; + } + + // optional float avg_engine_latency_out = 19; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + 4; + } + + // optional float avg_packets_out = 20; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + 4; + } + + // optional float avg_packets_in = 21; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 4; + } + + // optional float avg_loss_out = 22; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 4; + } + + } + if (cached_has_bits & 0x007f0000u) { + // optional float avg_loss_in = 23; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + 4; + } + + // optional float avg_data_out = 24; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 4; + } + + // optional uint64 total_data_in = 26; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_total_data_in()); + } + + // optional uint64 total_packets_in = 27; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_total_packets_in()); + } + + // optional uint64 total_data_out = 28; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_total_data_out()); + } + + // optional uint64 total_packets_out = 29; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_total_packets_out()); + } + + // optional float avg_data_in = 25; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerNetworkStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats::GetClassData() const { return &_class_data_; } + + +void CMsgServerNetworkStats::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:CMsgServerNetworkStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ports_.MergeFrom(from._impl_.ports_); + _this->_impl_.players_.MergeFrom(from._impl_.players_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.dedicated_ = from._impl_.dedicated_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.cpu_usage_ = from._impl_.cpu_usage_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.memory_used_mb_ = from._impl_.memory_used_mb_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.memory_free_mb_ = from._impl_.memory_free_mb_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.uptime_ = from._impl_.uptime_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.spawn_count_ = from._impl_.spawn_count_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.num_clients_ = from._impl_.num_clients_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.num_bots_ = from._impl_.num_bots_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.num_spectators_ = from._impl_.num_spectators_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.num_tv_relays_ = from._impl_.num_tv_relays_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.fps_ = from._impl_.fps_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.avg_ping_ms_ = from._impl_.avg_ping_ms_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.avg_engine_latency_out_ = from._impl_.avg_engine_latency_out_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.avg_packets_out_ = from._impl_.avg_packets_out_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.avg_packets_in_ = from._impl_.avg_packets_in_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.avg_loss_out_ = from._impl_.avg_loss_out_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x007f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.avg_loss_in_ = from._impl_.avg_loss_in_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.avg_data_out_ = from._impl_.avg_data_out_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.total_data_in_ = from._impl_.total_data_in_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.total_packets_in_ = from._impl_.total_packets_in_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.total_data_out_ = from._impl_.total_data_out_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.total_packets_out_ = from._impl_.total_packets_out_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.avg_data_in_ = from._impl_.avg_data_in_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerNetworkStats::CopyFrom(const CMsgServerNetworkStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerNetworkStats::IsInitialized() const { + return true; +} + +void CMsgServerNetworkStats::InternalSwap(CMsgServerNetworkStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ports_.InternalSwap(&other->_impl_.ports_); + _impl_.players_.InternalSwap(&other->_impl_.players_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats, _impl_.avg_data_in_) + + sizeof(CMsgServerNetworkStats::_impl_.avg_data_in_) + - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats, _impl_.dedicated_)>( + reinterpret_cast(&_impl_.dedicated_), + reinterpret_cast(&other->_impl_.dedicated_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[73]); +} + +// =================================================================== + +class CSVCMsg_HltvReplay::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_delay(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_primary_target(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_replay_stop_at(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_replay_start_at(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_replay_slowdown_begin(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_replay_slowdown_end(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_replay_slowdown_rate(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CSVCMsg_HltvReplay::CSVCMsg_HltvReplay(::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:CSVCMsg_HltvReplay) +} +CSVCMsg_HltvReplay::CSVCMsg_HltvReplay(const CSVCMsg_HltvReplay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_HltvReplay* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.delay_){} + , decltype(_impl_.replay_stop_at_){} + , decltype(_impl_.replay_start_at_){} + , decltype(_impl_.replay_slowdown_begin_){} + , decltype(_impl_.replay_slowdown_end_){} + , decltype(_impl_.replay_slowdown_rate_){} + , decltype(_impl_.reason_){} + , decltype(_impl_.primary_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.delay_, &from._impl_.delay_, + static_cast(reinterpret_cast(&_impl_.primary_target_) - + reinterpret_cast(&_impl_.delay_)) + sizeof(_impl_.primary_target_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_HltvReplay) +} + +inline void CSVCMsg_HltvReplay::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.delay_){0} + , decltype(_impl_.replay_stop_at_){0} + , decltype(_impl_.replay_start_at_){0} + , decltype(_impl_.replay_slowdown_begin_){0} + , decltype(_impl_.replay_slowdown_end_){0} + , decltype(_impl_.replay_slowdown_rate_){0} + , decltype(_impl_.reason_){0} + , decltype(_impl_.primary_target_){-1} + }; +} + +CSVCMsg_HltvReplay::~CSVCMsg_HltvReplay() { + // @@protoc_insertion_point(destructor:CSVCMsg_HltvReplay) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_HltvReplay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSVCMsg_HltvReplay::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_HltvReplay::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_HltvReplay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.delay_, 0, static_cast( + reinterpret_cast(&_impl_.reason_) - + reinterpret_cast(&_impl_.delay_)) + sizeof(_impl_.reason_)); + _impl_.primary_target_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_HltvReplay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 delay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_delay(&has_bits); + _impl_.delay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 primary_target = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_primary_target(&has_bits); + _impl_.primary_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 replay_stop_at = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_replay_stop_at(&has_bits); + _impl_.replay_stop_at_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 replay_start_at = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_replay_start_at(&has_bits); + _impl_.replay_start_at_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 replay_slowdown_begin = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_replay_slowdown_begin(&has_bits); + _impl_.replay_slowdown_begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 replay_slowdown_end = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_replay_slowdown_end(&has_bits); + _impl_.replay_slowdown_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float replay_slowdown_rate = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_replay_slowdown_rate(&has_bits); + _impl_.replay_slowdown_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 reason = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_HltvReplay::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HltvReplay) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 delay = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_delay(), target); + } + + // optional int32 primary_target = 2 [default = -1]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_primary_target(), target); + } + + // optional int32 replay_stop_at = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_replay_stop_at(), target); + } + + // optional int32 replay_start_at = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_replay_start_at(), target); + } + + // optional int32 replay_slowdown_begin = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_replay_slowdown_begin(), target); + } + + // optional int32 replay_slowdown_end = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_replay_slowdown_end(), target); + } + + // optional float replay_slowdown_rate = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_replay_slowdown_rate(), target); + } + + // optional int32 reason = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_reason(), 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:CSVCMsg_HltvReplay) + return target; +} + +size_t CSVCMsg_HltvReplay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HltvReplay) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional int32 delay = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delay()); + } + + // optional int32 replay_stop_at = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_stop_at()); + } + + // optional int32 replay_start_at = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_start_at()); + } + + // optional int32 replay_slowdown_begin = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_slowdown_begin()); + } + + // optional int32 replay_slowdown_end = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_slowdown_end()); + } + + // optional float replay_slowdown_rate = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional int32 reason = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); + } + + // optional int32 primary_target = 2 [default = -1]; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_primary_target()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HltvReplay::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_HltvReplay::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HltvReplay::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_HltvReplay::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:CSVCMsg_HltvReplay) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.delay_ = from._impl_.delay_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.replay_stop_at_ = from._impl_.replay_stop_at_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.replay_start_at_ = from._impl_.replay_start_at_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.replay_slowdown_begin_ = from._impl_.replay_slowdown_begin_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.replay_slowdown_end_ = from._impl_.replay_slowdown_end_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.replay_slowdown_rate_ = from._impl_.replay_slowdown_rate_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.primary_target_ = from._impl_.primary_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_HltvReplay::CopyFrom(const CSVCMsg_HltvReplay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HltvReplay) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_HltvReplay::IsInitialized() const { + return true; +} + +void CSVCMsg_HltvReplay::InternalSwap(CSVCMsg_HltvReplay* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_HltvReplay, _impl_.reason_) + + sizeof(CSVCMsg_HltvReplay::_impl_.reason_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_HltvReplay, _impl_.delay_)>( + reinterpret_cast(&_impl_.delay_), + reinterpret_cast(&other->_impl_.delay_)); + swap(_impl_.primary_target_, other->_impl_.primary_target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvReplay::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[74]); +} + +// =================================================================== + +class CCLCMsg_HltvReplay::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_request(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_slowdown_length(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_slowdown_rate(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_primary_target(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_event_time(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCLCMsg_HltvReplay::CCLCMsg_HltvReplay(::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:CCLCMsg_HltvReplay) +} +CCLCMsg_HltvReplay::CCLCMsg_HltvReplay(const CCLCMsg_HltvReplay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_HltvReplay* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.request_){} + , decltype(_impl_.slowdown_length_){} + , decltype(_impl_.slowdown_rate_){} + , decltype(_impl_.event_time_){} + , decltype(_impl_.primary_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.request_, &from._impl_.request_, + static_cast(reinterpret_cast(&_impl_.primary_target_) - + reinterpret_cast(&_impl_.request_)) + sizeof(_impl_.primary_target_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_HltvReplay) +} + +inline void CCLCMsg_HltvReplay::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.request_){0} + , decltype(_impl_.slowdown_length_){0} + , decltype(_impl_.slowdown_rate_){0} + , decltype(_impl_.event_time_){0} + , decltype(_impl_.primary_target_){-1} + }; +} + +CCLCMsg_HltvReplay::~CCLCMsg_HltvReplay() { + // @@protoc_insertion_point(destructor:CCLCMsg_HltvReplay) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_HltvReplay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCLCMsg_HltvReplay::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_HltvReplay::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_HltvReplay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.request_, 0, static_cast( + reinterpret_cast(&_impl_.event_time_) - + reinterpret_cast(&_impl_.request_)) + sizeof(_impl_.event_time_)); + _impl_.primary_target_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_HltvReplay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 request = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_request(&has_bits); + _impl_.request_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float slowdown_length = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_slowdown_length(&has_bits); + _impl_.slowdown_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float slowdown_rate = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_slowdown_rate(&has_bits); + _impl_.slowdown_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 primary_target = 4 [default = -1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_primary_target(&has_bits); + _impl_.primary_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float event_time = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_event_time(&has_bits); + _impl_.event_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_HltvReplay::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_HltvReplay) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 request = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_request(), target); + } + + // optional float slowdown_length = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_slowdown_length(), target); + } + + // optional float slowdown_rate = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_slowdown_rate(), target); + } + + // optional int32 primary_target = 4 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_primary_target(), target); + } + + // optional float event_time = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_event_time(), 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:CCLCMsg_HltvReplay) + return target; +} + +size_t CCLCMsg_HltvReplay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_HltvReplay) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 request = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_request()); + } + + // optional float slowdown_length = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float slowdown_rate = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float event_time = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional int32 primary_target = 4 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_primary_target()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_HltvReplay::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_HltvReplay::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_HltvReplay::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_HltvReplay::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:CCLCMsg_HltvReplay) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.request_ = from._impl_.request_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.slowdown_length_ = from._impl_.slowdown_length_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.slowdown_rate_ = from._impl_.slowdown_rate_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.event_time_ = from._impl_.event_time_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.primary_target_ = from._impl_.primary_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_HltvReplay::CopyFrom(const CCLCMsg_HltvReplay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_HltvReplay) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_HltvReplay::IsInitialized() const { + return true; +} + +void CCLCMsg_HltvReplay::InternalSwap(CCLCMsg_HltvReplay* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvReplay, _impl_.event_time_) + + sizeof(CCLCMsg_HltvReplay::_impl_.event_time_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvReplay, _impl_.request_)>( + reinterpret_cast(&_impl_.request_), + reinterpret_cast(&other->_impl_.request_)); + swap(_impl_.primary_target_, other->_impl_.primary_target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvReplay::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[75]); +} + +// =================================================================== + +class CSVCMsg_Broadcast_Command::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cmd(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command(::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:CSVCMsg_Broadcast_Command) +} +CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command(const CSVCMsg_Broadcast_Command& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_Broadcast_Command* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmd_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cmd_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cmd_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cmd()) { + _this->_impl_.cmd_.Set(from._internal_cmd(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CSVCMsg_Broadcast_Command) +} + +inline void CSVCMsg_Broadcast_Command::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cmd_){} + }; + _impl_.cmd_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cmd_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_Broadcast_Command::~CSVCMsg_Broadcast_Command() { + // @@protoc_insertion_point(destructor:CSVCMsg_Broadcast_Command) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_Broadcast_Command::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cmd_.Destroy(); +} + +void CSVCMsg_Broadcast_Command::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_Broadcast_Command::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_Broadcast_Command) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.cmd_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_Broadcast_Command::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string cmd = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_cmd(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_Broadcast_Command.cmd"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_Broadcast_Command::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Broadcast_Command) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string cmd = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cmd().data(), static_cast(this->_internal_cmd().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_Broadcast_Command.cmd"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_cmd(), 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:CSVCMsg_Broadcast_Command) + return target; +} + +size_t CSVCMsg_Broadcast_Command::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Broadcast_Command) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string cmd = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cmd()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Broadcast_Command::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_Broadcast_Command::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Broadcast_Command::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_Broadcast_Command::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:CSVCMsg_Broadcast_Command) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_cmd()) { + _this->_internal_set_cmd(from._internal_cmd()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_Broadcast_Command::CopyFrom(const CSVCMsg_Broadcast_Command& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Broadcast_Command) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Broadcast_Command::IsInitialized() const { + return true; +} + +void CSVCMsg_Broadcast_Command::InternalSwap(CSVCMsg_Broadcast_Command* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cmd_, lhs_arena, + &other->_impl_.cmd_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Broadcast_Command::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[76]); +} + +// =================================================================== + +class CCLCMsg_HltvFixupOperatorTick::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_props_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& origin(const CCLCMsg_HltvFixupOperatorTick* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& eye_angles(const CCLCMsg_HltvFixupOperatorTick* msg); + static void set_has_eye_angles(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_observer_mode(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_cameraman_scoreboard(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_observer_target(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgVector& view_offset(const CCLCMsg_HltvFixupOperatorTick* msg); + static void set_has_view_offset(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CCLCMsg_HltvFixupOperatorTick::_Internal::origin(const CCLCMsg_HltvFixupOperatorTick* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgQAngle& +CCLCMsg_HltvFixupOperatorTick::_Internal::eye_angles(const CCLCMsg_HltvFixupOperatorTick* msg) { + return *msg->_impl_.eye_angles_; +} +const ::CMsgVector& +CCLCMsg_HltvFixupOperatorTick::_Internal::view_offset(const CCLCMsg_HltvFixupOperatorTick* msg) { + return *msg->_impl_.view_offset_; +} +void CCLCMsg_HltvFixupOperatorTick::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CCLCMsg_HltvFixupOperatorTick::clear_eye_angles() { + if (_impl_.eye_angles_ != nullptr) _impl_.eye_angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CCLCMsg_HltvFixupOperatorTick::clear_view_offset() { + if (_impl_.view_offset_ != nullptr) _impl_.view_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick(::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:CCLCMsg_HltvFixupOperatorTick) +} +CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick(const CCLCMsg_HltvFixupOperatorTick& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCLCMsg_HltvFixupOperatorTick* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.props_data_){} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.eye_angles_){nullptr} + , decltype(_impl_.view_offset_){nullptr} + , decltype(_impl_.tick_){} + , decltype(_impl_.observer_mode_){} + , decltype(_impl_.cameraman_scoreboard_){} + , decltype(_impl_.observer_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.props_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.props_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_props_data()) { + _this->_impl_.props_data_.Set(from._internal_props_data(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_eye_angles()) { + _this->_impl_.eye_angles_ = new ::CMsgQAngle(*from._impl_.eye_angles_); + } + if (from._internal_has_view_offset()) { + _this->_impl_.view_offset_ = new ::CMsgVector(*from._impl_.view_offset_); + } + ::memcpy(&_impl_.tick_, &from._impl_.tick_, + static_cast(reinterpret_cast(&_impl_.observer_target_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.observer_target_)); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_HltvFixupOperatorTick) +} + +inline void CCLCMsg_HltvFixupOperatorTick::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.props_data_){} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.eye_angles_){nullptr} + , decltype(_impl_.view_offset_){nullptr} + , decltype(_impl_.tick_){0} + , decltype(_impl_.observer_mode_){0} + , decltype(_impl_.cameraman_scoreboard_){false} + , decltype(_impl_.observer_target_){0} + }; + _impl_.props_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.props_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCLCMsg_HltvFixupOperatorTick::~CCLCMsg_HltvFixupOperatorTick() { + // @@protoc_insertion_point(destructor:CCLCMsg_HltvFixupOperatorTick) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCLCMsg_HltvFixupOperatorTick::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.props_data_.Destroy(); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.eye_angles_; + if (this != internal_default_instance()) delete _impl_.view_offset_; +} + +void CCLCMsg_HltvFixupOperatorTick::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCLCMsg_HltvFixupOperatorTick::Clear() { +// @@protoc_insertion_point(message_clear_start:CCLCMsg_HltvFixupOperatorTick) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.props_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.eye_angles_ != nullptr); + _impl_.eye_angles_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.view_offset_ != nullptr); + _impl_.view_offset_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.tick_, 0, static_cast( + reinterpret_cast(&_impl_.observer_target_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.observer_target_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCLCMsg_HltvFixupOperatorTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes props_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_props_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector origin = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle eye_angles = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_eye_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 observer_mode = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_observer_mode(&has_bits); + _impl_.observer_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool cameraman_scoreboard = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_cameraman_scoreboard(&has_bits); + _impl_.cameraman_scoreboard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 observer_target = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_observer_target(&has_bits); + _impl_.observer_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector view_offset = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_view_offset(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCLCMsg_HltvFixupOperatorTick::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_HltvFixupOperatorTick) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 tick = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); + } + + // optional bytes props_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_props_data(), target); + } + + // optional .CMsgVector origin = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle eye_angles = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::eye_angles(this), + _Internal::eye_angles(this).GetCachedSize(), target, stream); + } + + // optional int32 observer_mode = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_observer_mode(), target); + } + + // optional bool cameraman_scoreboard = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_cameraman_scoreboard(), target); + } + + // optional int32 observer_target = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_observer_target(), target); + } + + // optional .CMsgVector view_offset = 8; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::view_offset(this), + _Internal::view_offset(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:CCLCMsg_HltvFixupOperatorTick) + return target; +} + +size_t CCLCMsg_HltvFixupOperatorTick::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_HltvFixupOperatorTick) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes props_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_props_data()); + } + + // optional .CMsgVector origin = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgQAngle eye_angles = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.eye_angles_); + } + + // optional .CMsgVector view_offset = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.view_offset_); + } + + // optional int32 tick = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); + } + + // optional int32 observer_mode = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_observer_mode()); + } + + // optional bool cameraman_scoreboard = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional int32 observer_target = 7; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_observer_target()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_HltvFixupOperatorTick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCLCMsg_HltvFixupOperatorTick::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_HltvFixupOperatorTick::GetClassData() const { return &_class_data_; } + + +void CCLCMsg_HltvFixupOperatorTick::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:CCLCMsg_HltvFixupOperatorTick) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_props_data(from._internal_props_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_eye_angles()->::CMsgQAngle::MergeFrom( + from._internal_eye_angles()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_view_offset()->::CMsgVector::MergeFrom( + from._internal_view_offset()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.observer_mode_ = from._impl_.observer_mode_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.cameraman_scoreboard_ = from._impl_.cameraman_scoreboard_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.observer_target_ = from._impl_.observer_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCLCMsg_HltvFixupOperatorTick::CopyFrom(const CCLCMsg_HltvFixupOperatorTick& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_HltvFixupOperatorTick) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_HltvFixupOperatorTick::IsInitialized() const { + return true; +} + +void CCLCMsg_HltvFixupOperatorTick::InternalSwap(CCLCMsg_HltvFixupOperatorTick* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.props_data_, lhs_arena, + &other->_impl_.props_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvFixupOperatorTick, _impl_.observer_target_) + + sizeof(CCLCMsg_HltvFixupOperatorTick::_impl_.observer_target_) + - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvFixupOperatorTick, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvFixupOperatorTick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[77]); +} + +// =================================================================== + +class CSVCMsg_HltvFixupOperatorStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mode(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_override_operator_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus(::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:CSVCMsg_HltvFixupOperatorStatus) +} +CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus(const CSVCMsg_HltvFixupOperatorStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_HltvFixupOperatorStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.override_operator_name_){} + , decltype(_impl_.mode_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.override_operator_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.override_operator_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_override_operator_name()) { + _this->_impl_.override_operator_name_.Set(from._internal_override_operator_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.mode_ = from._impl_.mode_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_HltvFixupOperatorStatus) +} + +inline void CSVCMsg_HltvFixupOperatorStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.override_operator_name_){} + , decltype(_impl_.mode_){0u} + }; + _impl_.override_operator_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.override_operator_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_HltvFixupOperatorStatus::~CSVCMsg_HltvFixupOperatorStatus() { + // @@protoc_insertion_point(destructor:CSVCMsg_HltvFixupOperatorStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_HltvFixupOperatorStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.override_operator_name_.Destroy(); +} + +void CSVCMsg_HltvFixupOperatorStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_HltvFixupOperatorStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_HltvFixupOperatorStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.override_operator_name_.ClearNonDefaultToEmpty(); + } + _impl_.mode_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_HltvFixupOperatorStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_mode(&has_bits); + _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string override_operator_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_override_operator_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_HltvFixupOperatorStatus.override_operator_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_HltvFixupOperatorStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HltvFixupOperatorStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 mode = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_mode(), target); + } + + // optional string override_operator_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_override_operator_name().data(), static_cast(this->_internal_override_operator_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_HltvFixupOperatorStatus.override_operator_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_override_operator_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:CSVCMsg_HltvFixupOperatorStatus) + return target; +} + +size_t CSVCMsg_HltvFixupOperatorStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HltvFixupOperatorStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string override_operator_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_override_operator_name()); + } + + // optional uint32 mode = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HltvFixupOperatorStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_HltvFixupOperatorStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HltvFixupOperatorStatus::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_HltvFixupOperatorStatus::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:CSVCMsg_HltvFixupOperatorStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_override_operator_name(from._internal_override_operator_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.mode_ = from._impl_.mode_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_HltvFixupOperatorStatus::CopyFrom(const CSVCMsg_HltvFixupOperatorStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HltvFixupOperatorStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_HltvFixupOperatorStatus::IsInitialized() const { + return true; +} + +void CSVCMsg_HltvFixupOperatorStatus::InternalSwap(CSVCMsg_HltvFixupOperatorStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.override_operator_name_, lhs_arena, + &other->_impl_.override_operator_name_, rhs_arena + ); + swap(_impl_.mode_, other->_impl_.mode_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvFixupOperatorStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[78]); +} + +// =================================================================== + +class CMsgServerUserCmd::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cmd_number(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_tick_executed(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_client_tick(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgServerUserCmd::CMsgServerUserCmd(::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:CMsgServerUserCmd) +} +CMsgServerUserCmd::CMsgServerUserCmd(const CMsgServerUserCmd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgServerUserCmd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.cmd_number_){} + , decltype(_impl_.server_tick_executed_){} + , decltype(_impl_.client_tick_){} + , decltype(_impl_.player_slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.cmd_number_, &from._impl_.cmd_number_, + static_cast(reinterpret_cast(&_impl_.player_slot_) - + reinterpret_cast(&_impl_.cmd_number_)) + sizeof(_impl_.player_slot_)); + // @@protoc_insertion_point(copy_constructor:CMsgServerUserCmd) +} + +inline void CMsgServerUserCmd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.cmd_number_){0} + , decltype(_impl_.server_tick_executed_){0} + , decltype(_impl_.client_tick_){0} + , decltype(_impl_.player_slot_){-1} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgServerUserCmd::~CMsgServerUserCmd() { + // @@protoc_insertion_point(destructor:CMsgServerUserCmd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgServerUserCmd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CMsgServerUserCmd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgServerUserCmd::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgServerUserCmd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.cmd_number_, 0, static_cast( + reinterpret_cast(&_impl_.client_tick_) - + reinterpret_cast(&_impl_.cmd_number_)) + sizeof(_impl_.client_tick_)); + _impl_.player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgServerUserCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 cmd_number = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_cmd_number(&has_bits); + _impl_.cmd_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 player_slot = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_player_slot(&has_bits); + _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 server_tick_executed = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_server_tick_executed(&has_bits); + _impl_.server_tick_executed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client_tick = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_client_tick(&has_bits); + _impl_.client_tick_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgServerUserCmd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerUserCmd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), target); + } + + // optional int32 cmd_number = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_cmd_number(), target); + } + + // optional int32 player_slot = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_slot(), target); + } + + // optional int32 server_tick_executed = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_server_tick_executed(), target); + } + + // optional int32 client_tick = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_client_tick(), 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:CMsgServerUserCmd) + return target; +} + +size_t CMsgServerUserCmd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgServerUserCmd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 cmd_number = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cmd_number()); + } + + // optional int32 server_tick_executed = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_tick_executed()); + } + + // optional int32 client_tick = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_tick()); + } + + // optional int32 player_slot = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerUserCmd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgServerUserCmd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerUserCmd::GetClassData() const { return &_class_data_; } + + +void CMsgServerUserCmd::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:CMsgServerUserCmd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.cmd_number_ = from._impl_.cmd_number_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.server_tick_executed_ = from._impl_.server_tick_executed_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_tick_ = from._impl_.client_tick_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.player_slot_ = from._impl_.player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgServerUserCmd::CopyFrom(const CMsgServerUserCmd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerUserCmd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerUserCmd::IsInitialized() const { + return true; +} + +void CMsgServerUserCmd::InternalSwap(CMsgServerUserCmd* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgServerUserCmd, _impl_.client_tick_) + + sizeof(CMsgServerUserCmd::_impl_.client_tick_) + - PROTOBUF_FIELD_OFFSET(CMsgServerUserCmd, _impl_.cmd_number_)>( + reinterpret_cast(&_impl_.cmd_number_), + reinterpret_cast(&other->_impl_.cmd_number_)); + swap(_impl_.player_slot_, other->_impl_.player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerUserCmd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[79]); +} + +// =================================================================== + +class CSVCMsg_UserCommands::_Internal { + public: +}; + +CSVCMsg_UserCommands::CSVCMsg_UserCommands(::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:CSVCMsg_UserCommands) +} +CSVCMsg_UserCommands::CSVCMsg_UserCommands(const CSVCMsg_UserCommands& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_UserCommands* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.commands_){from._impl_.commands_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_UserCommands) +} + +inline void CSVCMsg_UserCommands::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.commands_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CSVCMsg_UserCommands::~CSVCMsg_UserCommands() { + // @@protoc_insertion_point(destructor:CSVCMsg_UserCommands) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_UserCommands::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.commands_.~RepeatedPtrField(); +} + +void CSVCMsg_UserCommands::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_UserCommands::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_UserCommands) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.commands_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_UserCommands::_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 .CMsgServerUserCmd commands = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_commands(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CSVCMsg_UserCommands::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UserCommands) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgServerUserCmd commands = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_commands_size()); i < n; i++) { + const auto& repfield = this->_internal_commands(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CSVCMsg_UserCommands) + return target; +} + +size_t CSVCMsg_UserCommands::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UserCommands) + 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 .CMsgServerUserCmd commands = 1; + total_size += 1UL * this->_internal_commands_size(); + for (const auto& msg : this->_impl_.commands_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UserCommands::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_UserCommands::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UserCommands::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_UserCommands::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:CSVCMsg_UserCommands) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.commands_.MergeFrom(from._impl_.commands_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_UserCommands::CopyFrom(const CSVCMsg_UserCommands& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UserCommands) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_UserCommands::IsInitialized() const { + return true; +} + +void CSVCMsg_UserCommands::InternalSwap(CSVCMsg_UserCommands* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.commands_.InternalSwap(&other->_impl_.commands_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserCommands::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, + file_level_metadata_netmessages_2eproto[80]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CCLCMsg_ClientInfo* +Arena::CreateMaybeMessage< ::CCLCMsg_ClientInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_ClientInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_Move* +Arena::CreateMaybeMessage< ::CCLCMsg_Move >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_Move >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgVoiceAudio* +Arena::CreateMaybeMessage< ::CMsgVoiceAudio >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgVoiceAudio >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_VoiceData* +Arena::CreateMaybeMessage< ::CCLCMsg_VoiceData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_VoiceData >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_BaselineAck* +Arena::CreateMaybeMessage< ::CCLCMsg_BaselineAck >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_BaselineAck >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_ListenEvents* +Arena::CreateMaybeMessage< ::CCLCMsg_ListenEvents >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_ListenEvents >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_RespondCvarValue* +Arena::CreateMaybeMessage< ::CCLCMsg_RespondCvarValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_RespondCvarValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_LoadingProgress* +Arena::CreateMaybeMessage< ::CCLCMsg_LoadingProgress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_LoadingProgress >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_SplitPlayerConnect* +Arena::CreateMaybeMessage< ::CCLCMsg_SplitPlayerConnect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_SplitPlayerConnect >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_SplitPlayerDisconnect* +Arena::CreateMaybeMessage< ::CCLCMsg_SplitPlayerDisconnect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_SplitPlayerDisconnect >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_ServerStatus* +Arena::CreateMaybeMessage< ::CCLCMsg_ServerStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_ServerStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_RequestPause* +Arena::CreateMaybeMessage< ::CCLCMsg_RequestPause >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_RequestPause >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_CmdKeyValues* +Arena::CreateMaybeMessage< ::CCLCMsg_CmdKeyValues >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_CmdKeyValues >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_RconServerDetails* +Arena::CreateMaybeMessage< ::CCLCMsg_RconServerDetails >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_RconServerDetails >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2SystemSpecs* +Arena::CreateMaybeMessage< ::CMsgSource2SystemSpecs >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2SystemSpecs >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReportItem* +Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReportItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReportItem >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReport* +Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReport >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReport >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2NetworkFlowQuality* +Arena::CreateMaybeMessage< ::CMsgSource2NetworkFlowQuality >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2NetworkFlowQuality >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample_Tag* +Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample_Tag >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample_Tag >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample* +Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_Diagnostic* +Arena::CreateMaybeMessage< ::CCLCMsg_Diagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_Diagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification_Client* +Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(arena); +} +template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification* +Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_ServerInfo* +Arena::CreateMaybeMessage< ::CSVCMsg_ServerInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_ServerInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_ClassInfo_class_t* +Arena::CreateMaybeMessage< ::CSVCMsg_ClassInfo_class_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_ClassInfo_class_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_ClassInfo* +Arena::CreateMaybeMessage< ::CSVCMsg_ClassInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_ClassInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_SetPause* +Arena::CreateMaybeMessage< ::CSVCMsg_SetPause >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_SetPause >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_VoiceInit* +Arena::CreateMaybeMessage< ::CSVCMsg_VoiceInit >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_VoiceInit >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Print* +Arena::CreateMaybeMessage< ::CSVCMsg_Print >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Print >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Sounds_sounddata_t* +Arena::CreateMaybeMessage< ::CSVCMsg_Sounds_sounddata_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Sounds_sounddata_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Sounds* +Arena::CreateMaybeMessage< ::CSVCMsg_Sounds >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Sounds >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Prefetch* +Arena::CreateMaybeMessage< ::CSVCMsg_Prefetch >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Prefetch >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_SetView* +Arena::CreateMaybeMessage< ::CSVCMsg_SetView >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_SetView >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_FixAngle* +Arena::CreateMaybeMessage< ::CSVCMsg_FixAngle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_FixAngle >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_CrosshairAngle* +Arena::CreateMaybeMessage< ::CSVCMsg_CrosshairAngle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_CrosshairAngle >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_BSPDecal* +Arena::CreateMaybeMessage< ::CSVCMsg_BSPDecal >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_BSPDecal >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_SplitScreen* +Arena::CreateMaybeMessage< ::CSVCMsg_SplitScreen >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_SplitScreen >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GetCvarValue* +Arena::CreateMaybeMessage< ::CSVCMsg_GetCvarValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GetCvarValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Menu* +Arena::CreateMaybeMessage< ::CSVCMsg_Menu >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Menu >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_UserMessage* +Arena::CreateMaybeMessage< ::CSVCMsg_UserMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_UserMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_SendTable_sendprop_t* +Arena::CreateMaybeMessage< ::CSVCMsg_SendTable_sendprop_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_SendTable_sendprop_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_SendTable* +Arena::CreateMaybeMessage< ::CSVCMsg_SendTable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_SendTable >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList_key_t* +Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList_key_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList_key_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList_descriptor_t* +Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList_descriptor_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList_descriptor_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList* +Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_alternate_baseline_t* +Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_alternate_baseline_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_alternate_baseline_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_non_transmitted_entities_t* +Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_non_transmitted_entities_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_non_transmitted_entities_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* +Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities* +Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_TempEntities* +Arena::CreateMaybeMessage< ::CSVCMsg_TempEntities >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_TempEntities >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_CreateStringTable* +Arena::CreateMaybeMessage< ::CSVCMsg_CreateStringTable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_CreateStringTable >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_UpdateStringTable* +Arena::CreateMaybeMessage< ::CSVCMsg_UpdateStringTable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_UpdateStringTable >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_VoiceData* +Arena::CreateMaybeMessage< ::CSVCMsg_VoiceData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_VoiceData >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketReliable* +Arena::CreateMaybeMessage< ::CSVCMsg_PacketReliable >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PacketReliable >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_FullFrameSplit* +Arena::CreateMaybeMessage< ::CSVCMsg_FullFrameSplit >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_FullFrameSplit >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_HLTVStatus* +Arena::CreateMaybeMessage< ::CSVCMsg_HLTVStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_HLTVStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_ServerSteamID* +Arena::CreateMaybeMessage< ::CSVCMsg_ServerSteamID >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_ServerSteamID >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_CmdKeyValues* +Arena::CreateMaybeMessage< ::CSVCMsg_CmdKeyValues >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_CmdKeyValues >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_RconServerDetails* +Arena::CreateMaybeMessage< ::CSVCMsg_RconServerDetails >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_RconServerDetails >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgIPCAddress* +Arena::CreateMaybeMessage< ::CMsgIPCAddress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgIPCAddress >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerPeer* +Arena::CreateMaybeMessage< ::CMsgServerPeer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerPeer >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_PeerList* +Arena::CreateMaybeMessage< ::CSVCMsg_PeerList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_PeerList >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_ClearAllStringTables* +Arena::CreateMaybeMessage< ::CSVCMsg_ClearAllStringTables >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_ClearAllStringTables >(arena); +} +template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializerField_t_polymorphic_field_t* +Arena::CreateMaybeMessage< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >(arena); +} +template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializerField_t* +Arena::CreateMaybeMessage< ::ProtoFlattenedSerializerField_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::ProtoFlattenedSerializerField_t >(arena); +} +template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializer_t* +Arena::CreateMaybeMessage< ::ProtoFlattenedSerializer_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::ProtoFlattenedSerializer_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_FlattenedSerializer* +Arena::CreateMaybeMessage< ::CSVCMsg_FlattenedSerializer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_FlattenedSerializer >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_StopSound* +Arena::CreateMaybeMessage< ::CSVCMsg_StopSound >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_StopSound >(arena); +} +template<> PROTOBUF_NOINLINE ::CBidirMsg_RebroadcastGameEvent* +Arena::CreateMaybeMessage< ::CBidirMsg_RebroadcastGameEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CBidirMsg_RebroadcastGameEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CBidirMsg_RebroadcastSource* +Arena::CreateMaybeMessage< ::CBidirMsg_RebroadcastSource >(Arena* arena) { + return Arena::CreateMessageInternal< ::CBidirMsg_RebroadcastSource >(arena); +} +template<> PROTOBUF_NOINLINE ::CBidirMsg_PredictionEvent* +Arena::CreateMaybeMessage< ::CBidirMsg_PredictionEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CBidirMsg_PredictionEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats_Port* +Arena::CreateMaybeMessage< ::CMsgServerNetworkStats_Port >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerNetworkStats_Port >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats_Player* +Arena::CreateMaybeMessage< ::CMsgServerNetworkStats_Player >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerNetworkStats_Player >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats* +Arena::CreateMaybeMessage< ::CMsgServerNetworkStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerNetworkStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_HltvReplay* +Arena::CreateMaybeMessage< ::CSVCMsg_HltvReplay >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_HltvReplay >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_HltvReplay* +Arena::CreateMaybeMessage< ::CCLCMsg_HltvReplay >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_HltvReplay >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_Broadcast_Command* +Arena::CreateMaybeMessage< ::CSVCMsg_Broadcast_Command >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_Broadcast_Command >(arena); +} +template<> PROTOBUF_NOINLINE ::CCLCMsg_HltvFixupOperatorTick* +Arena::CreateMaybeMessage< ::CCLCMsg_HltvFixupOperatorTick >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCLCMsg_HltvFixupOperatorTick >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_HltvFixupOperatorStatus* +Arena::CreateMaybeMessage< ::CSVCMsg_HltvFixupOperatorStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_HltvFixupOperatorStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgServerUserCmd* +Arena::CreateMaybeMessage< ::CMsgServerUserCmd >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgServerUserCmd >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_UserCommands* +Arena::CreateMaybeMessage< ::CSVCMsg_UserCommands >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_UserCommands >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h new file mode 100644 index 0000000..ac574e3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/netmessages.pb.h @@ -0,0 +1,34013 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: netmessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_netmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_netmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_netmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_netmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_netmessages_2eproto; +class CBidirMsg_PredictionEvent; +struct CBidirMsg_PredictionEventDefaultTypeInternal; +extern CBidirMsg_PredictionEventDefaultTypeInternal _CBidirMsg_PredictionEvent_default_instance_; +class CBidirMsg_RebroadcastGameEvent; +struct CBidirMsg_RebroadcastGameEventDefaultTypeInternal; +extern CBidirMsg_RebroadcastGameEventDefaultTypeInternal _CBidirMsg_RebroadcastGameEvent_default_instance_; +class CBidirMsg_RebroadcastSource; +struct CBidirMsg_RebroadcastSourceDefaultTypeInternal; +extern CBidirMsg_RebroadcastSourceDefaultTypeInternal _CBidirMsg_RebroadcastSource_default_instance_; +class CCLCMsg_BaselineAck; +struct CCLCMsg_BaselineAckDefaultTypeInternal; +extern CCLCMsg_BaselineAckDefaultTypeInternal _CCLCMsg_BaselineAck_default_instance_; +class CCLCMsg_ClientInfo; +struct CCLCMsg_ClientInfoDefaultTypeInternal; +extern CCLCMsg_ClientInfoDefaultTypeInternal _CCLCMsg_ClientInfo_default_instance_; +class CCLCMsg_CmdKeyValues; +struct CCLCMsg_CmdKeyValuesDefaultTypeInternal; +extern CCLCMsg_CmdKeyValuesDefaultTypeInternal _CCLCMsg_CmdKeyValues_default_instance_; +class CCLCMsg_Diagnostic; +struct CCLCMsg_DiagnosticDefaultTypeInternal; +extern CCLCMsg_DiagnosticDefaultTypeInternal _CCLCMsg_Diagnostic_default_instance_; +class CCLCMsg_HltvFixupOperatorTick; +struct CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal; +extern CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal _CCLCMsg_HltvFixupOperatorTick_default_instance_; +class CCLCMsg_HltvReplay; +struct CCLCMsg_HltvReplayDefaultTypeInternal; +extern CCLCMsg_HltvReplayDefaultTypeInternal _CCLCMsg_HltvReplay_default_instance_; +class CCLCMsg_ListenEvents; +struct CCLCMsg_ListenEventsDefaultTypeInternal; +extern CCLCMsg_ListenEventsDefaultTypeInternal _CCLCMsg_ListenEvents_default_instance_; +class CCLCMsg_LoadingProgress; +struct CCLCMsg_LoadingProgressDefaultTypeInternal; +extern CCLCMsg_LoadingProgressDefaultTypeInternal _CCLCMsg_LoadingProgress_default_instance_; +class CCLCMsg_Move; +struct CCLCMsg_MoveDefaultTypeInternal; +extern CCLCMsg_MoveDefaultTypeInternal _CCLCMsg_Move_default_instance_; +class CCLCMsg_RconServerDetails; +struct CCLCMsg_RconServerDetailsDefaultTypeInternal; +extern CCLCMsg_RconServerDetailsDefaultTypeInternal _CCLCMsg_RconServerDetails_default_instance_; +class CCLCMsg_RequestPause; +struct CCLCMsg_RequestPauseDefaultTypeInternal; +extern CCLCMsg_RequestPauseDefaultTypeInternal _CCLCMsg_RequestPause_default_instance_; +class CCLCMsg_RespondCvarValue; +struct CCLCMsg_RespondCvarValueDefaultTypeInternal; +extern CCLCMsg_RespondCvarValueDefaultTypeInternal _CCLCMsg_RespondCvarValue_default_instance_; +class CCLCMsg_ServerStatus; +struct CCLCMsg_ServerStatusDefaultTypeInternal; +extern CCLCMsg_ServerStatusDefaultTypeInternal _CCLCMsg_ServerStatus_default_instance_; +class CCLCMsg_SplitPlayerConnect; +struct CCLCMsg_SplitPlayerConnectDefaultTypeInternal; +extern CCLCMsg_SplitPlayerConnectDefaultTypeInternal _CCLCMsg_SplitPlayerConnect_default_instance_; +class CCLCMsg_SplitPlayerDisconnect; +struct CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal; +extern CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal _CCLCMsg_SplitPlayerDisconnect_default_instance_; +class CCLCMsg_VoiceData; +struct CCLCMsg_VoiceDataDefaultTypeInternal; +extern CCLCMsg_VoiceDataDefaultTypeInternal _CCLCMsg_VoiceData_default_instance_; +class CMsgIPCAddress; +struct CMsgIPCAddressDefaultTypeInternal; +extern CMsgIPCAddressDefaultTypeInternal _CMsgIPCAddress_default_instance_; +class CMsgServerNetworkStats; +struct CMsgServerNetworkStatsDefaultTypeInternal; +extern CMsgServerNetworkStatsDefaultTypeInternal _CMsgServerNetworkStats_default_instance_; +class CMsgServerNetworkStats_Player; +struct CMsgServerNetworkStats_PlayerDefaultTypeInternal; +extern CMsgServerNetworkStats_PlayerDefaultTypeInternal _CMsgServerNetworkStats_Player_default_instance_; +class CMsgServerNetworkStats_Port; +struct CMsgServerNetworkStats_PortDefaultTypeInternal; +extern CMsgServerNetworkStats_PortDefaultTypeInternal _CMsgServerNetworkStats_Port_default_instance_; +class CMsgServerPeer; +struct CMsgServerPeerDefaultTypeInternal; +extern CMsgServerPeerDefaultTypeInternal _CMsgServerPeer_default_instance_; +class CMsgServerUserCmd; +struct CMsgServerUserCmdDefaultTypeInternal; +extern CMsgServerUserCmdDefaultTypeInternal _CMsgServerUserCmd_default_instance_; +class CMsgSource2NetworkFlowQuality; +struct CMsgSource2NetworkFlowQualityDefaultTypeInternal; +extern CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; +class CMsgSource2PerfIntervalSample; +struct CMsgSource2PerfIntervalSampleDefaultTypeInternal; +extern CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; +class CMsgSource2PerfIntervalSample_Tag; +struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal; +extern CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; +class CMsgSource2SystemSpecs; +struct CMsgSource2SystemSpecsDefaultTypeInternal; +extern CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; +class CMsgSource2VProfLiteReport; +struct CMsgSource2VProfLiteReportDefaultTypeInternal; +extern CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; +class CMsgSource2VProfLiteReportItem; +struct CMsgSource2VProfLiteReportItemDefaultTypeInternal; +extern CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; +class CMsgVoiceAudio; +struct CMsgVoiceAudioDefaultTypeInternal; +extern CMsgVoiceAudioDefaultTypeInternal _CMsgVoiceAudio_default_instance_; +class CSVCMsg_BSPDecal; +struct CSVCMsg_BSPDecalDefaultTypeInternal; +extern CSVCMsg_BSPDecalDefaultTypeInternal _CSVCMsg_BSPDecal_default_instance_; +class CSVCMsg_Broadcast_Command; +struct CSVCMsg_Broadcast_CommandDefaultTypeInternal; +extern CSVCMsg_Broadcast_CommandDefaultTypeInternal _CSVCMsg_Broadcast_Command_default_instance_; +class CSVCMsg_ClassInfo; +struct CSVCMsg_ClassInfoDefaultTypeInternal; +extern CSVCMsg_ClassInfoDefaultTypeInternal _CSVCMsg_ClassInfo_default_instance_; +class CSVCMsg_ClassInfo_class_t; +struct CSVCMsg_ClassInfo_class_tDefaultTypeInternal; +extern CSVCMsg_ClassInfo_class_tDefaultTypeInternal _CSVCMsg_ClassInfo_class_t_default_instance_; +class CSVCMsg_ClearAllStringTables; +struct CSVCMsg_ClearAllStringTablesDefaultTypeInternal; +extern CSVCMsg_ClearAllStringTablesDefaultTypeInternal _CSVCMsg_ClearAllStringTables_default_instance_; +class CSVCMsg_CmdKeyValues; +struct CSVCMsg_CmdKeyValuesDefaultTypeInternal; +extern CSVCMsg_CmdKeyValuesDefaultTypeInternal _CSVCMsg_CmdKeyValues_default_instance_; +class CSVCMsg_CreateStringTable; +struct CSVCMsg_CreateStringTableDefaultTypeInternal; +extern CSVCMsg_CreateStringTableDefaultTypeInternal _CSVCMsg_CreateStringTable_default_instance_; +class CSVCMsg_CrosshairAngle; +struct CSVCMsg_CrosshairAngleDefaultTypeInternal; +extern CSVCMsg_CrosshairAngleDefaultTypeInternal _CSVCMsg_CrosshairAngle_default_instance_; +class CSVCMsg_FixAngle; +struct CSVCMsg_FixAngleDefaultTypeInternal; +extern CSVCMsg_FixAngleDefaultTypeInternal _CSVCMsg_FixAngle_default_instance_; +class CSVCMsg_FlattenedSerializer; +struct CSVCMsg_FlattenedSerializerDefaultTypeInternal; +extern CSVCMsg_FlattenedSerializerDefaultTypeInternal _CSVCMsg_FlattenedSerializer_default_instance_; +class CSVCMsg_FullFrameSplit; +struct CSVCMsg_FullFrameSplitDefaultTypeInternal; +extern CSVCMsg_FullFrameSplitDefaultTypeInternal _CSVCMsg_FullFrameSplit_default_instance_; +class CSVCMsg_GameEventList; +struct CSVCMsg_GameEventListDefaultTypeInternal; +extern CSVCMsg_GameEventListDefaultTypeInternal _CSVCMsg_GameEventList_default_instance_; +class CSVCMsg_GameEventList_descriptor_t; +struct CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal; +extern CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal _CSVCMsg_GameEventList_descriptor_t_default_instance_; +class CSVCMsg_GameEventList_key_t; +struct CSVCMsg_GameEventList_key_tDefaultTypeInternal; +extern CSVCMsg_GameEventList_key_tDefaultTypeInternal _CSVCMsg_GameEventList_key_t_default_instance_; +class CSVCMsg_GetCvarValue; +struct CSVCMsg_GetCvarValueDefaultTypeInternal; +extern CSVCMsg_GetCvarValueDefaultTypeInternal _CSVCMsg_GetCvarValue_default_instance_; +class CSVCMsg_HLTVStatus; +struct CSVCMsg_HLTVStatusDefaultTypeInternal; +extern CSVCMsg_HLTVStatusDefaultTypeInternal _CSVCMsg_HLTVStatus_default_instance_; +class CSVCMsg_HltvFixupOperatorStatus; +struct CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal; +extern CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal _CSVCMsg_HltvFixupOperatorStatus_default_instance_; +class CSVCMsg_HltvReplay; +struct CSVCMsg_HltvReplayDefaultTypeInternal; +extern CSVCMsg_HltvReplayDefaultTypeInternal _CSVCMsg_HltvReplay_default_instance_; +class CSVCMsg_Menu; +struct CSVCMsg_MenuDefaultTypeInternal; +extern CSVCMsg_MenuDefaultTypeInternal _CSVCMsg_Menu_default_instance_; +class CSVCMsg_PacketEntities; +struct CSVCMsg_PacketEntitiesDefaultTypeInternal; +extern CSVCMsg_PacketEntitiesDefaultTypeInternal _CSVCMsg_PacketEntities_default_instance_; +class CSVCMsg_PacketEntities_alternate_baseline_t; +struct CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal; +extern CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal _CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_; +class CSVCMsg_PacketEntities_non_transmitted_entities_t; +struct CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal; +extern CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal _CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_; +class CSVCMsg_PacketEntities_outofpvs_entity_updates_t; +struct CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal; +extern CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal _CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_; +class CSVCMsg_PacketReliable; +struct CSVCMsg_PacketReliableDefaultTypeInternal; +extern CSVCMsg_PacketReliableDefaultTypeInternal _CSVCMsg_PacketReliable_default_instance_; +class CSVCMsg_PeerList; +struct CSVCMsg_PeerListDefaultTypeInternal; +extern CSVCMsg_PeerListDefaultTypeInternal _CSVCMsg_PeerList_default_instance_; +class CSVCMsg_Prefetch; +struct CSVCMsg_PrefetchDefaultTypeInternal; +extern CSVCMsg_PrefetchDefaultTypeInternal _CSVCMsg_Prefetch_default_instance_; +class CSVCMsg_Print; +struct CSVCMsg_PrintDefaultTypeInternal; +extern CSVCMsg_PrintDefaultTypeInternal _CSVCMsg_Print_default_instance_; +class CSVCMsg_RconServerDetails; +struct CSVCMsg_RconServerDetailsDefaultTypeInternal; +extern CSVCMsg_RconServerDetailsDefaultTypeInternal _CSVCMsg_RconServerDetails_default_instance_; +class CSVCMsg_SendTable; +struct CSVCMsg_SendTableDefaultTypeInternal; +extern CSVCMsg_SendTableDefaultTypeInternal _CSVCMsg_SendTable_default_instance_; +class CSVCMsg_SendTable_sendprop_t; +struct CSVCMsg_SendTable_sendprop_tDefaultTypeInternal; +extern CSVCMsg_SendTable_sendprop_tDefaultTypeInternal _CSVCMsg_SendTable_sendprop_t_default_instance_; +class CSVCMsg_ServerInfo; +struct CSVCMsg_ServerInfoDefaultTypeInternal; +extern CSVCMsg_ServerInfoDefaultTypeInternal _CSVCMsg_ServerInfo_default_instance_; +class CSVCMsg_ServerSteamID; +struct CSVCMsg_ServerSteamIDDefaultTypeInternal; +extern CSVCMsg_ServerSteamIDDefaultTypeInternal _CSVCMsg_ServerSteamID_default_instance_; +class CSVCMsg_SetPause; +struct CSVCMsg_SetPauseDefaultTypeInternal; +extern CSVCMsg_SetPauseDefaultTypeInternal _CSVCMsg_SetPause_default_instance_; +class CSVCMsg_SetView; +struct CSVCMsg_SetViewDefaultTypeInternal; +extern CSVCMsg_SetViewDefaultTypeInternal _CSVCMsg_SetView_default_instance_; +class CSVCMsg_Sounds; +struct CSVCMsg_SoundsDefaultTypeInternal; +extern CSVCMsg_SoundsDefaultTypeInternal _CSVCMsg_Sounds_default_instance_; +class CSVCMsg_Sounds_sounddata_t; +struct CSVCMsg_Sounds_sounddata_tDefaultTypeInternal; +extern CSVCMsg_Sounds_sounddata_tDefaultTypeInternal _CSVCMsg_Sounds_sounddata_t_default_instance_; +class CSVCMsg_SplitScreen; +struct CSVCMsg_SplitScreenDefaultTypeInternal; +extern CSVCMsg_SplitScreenDefaultTypeInternal _CSVCMsg_SplitScreen_default_instance_; +class CSVCMsg_StopSound; +struct CSVCMsg_StopSoundDefaultTypeInternal; +extern CSVCMsg_StopSoundDefaultTypeInternal _CSVCMsg_StopSound_default_instance_; +class CSVCMsg_TempEntities; +struct CSVCMsg_TempEntitiesDefaultTypeInternal; +extern CSVCMsg_TempEntitiesDefaultTypeInternal _CSVCMsg_TempEntities_default_instance_; +class CSVCMsg_UpdateStringTable; +struct CSVCMsg_UpdateStringTableDefaultTypeInternal; +extern CSVCMsg_UpdateStringTableDefaultTypeInternal _CSVCMsg_UpdateStringTable_default_instance_; +class CSVCMsg_UserCommands; +struct CSVCMsg_UserCommandsDefaultTypeInternal; +extern CSVCMsg_UserCommandsDefaultTypeInternal _CSVCMsg_UserCommands_default_instance_; +class CSVCMsg_UserMessage; +struct CSVCMsg_UserMessageDefaultTypeInternal; +extern CSVCMsg_UserMessageDefaultTypeInternal _CSVCMsg_UserMessage_default_instance_; +class CSVCMsg_VoiceData; +struct CSVCMsg_VoiceDataDefaultTypeInternal; +extern CSVCMsg_VoiceDataDefaultTypeInternal _CSVCMsg_VoiceData_default_instance_; +class CSVCMsg_VoiceInit; +struct CSVCMsg_VoiceInitDefaultTypeInternal; +extern CSVCMsg_VoiceInitDefaultTypeInternal _CSVCMsg_VoiceInit_default_instance_; +class CSource2Metrics_MatchPerfSummary_Notification; +struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal; +extern CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; +class CSource2Metrics_MatchPerfSummary_Notification_Client; +struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal; +extern CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; +class ProtoFlattenedSerializerField_t; +struct ProtoFlattenedSerializerField_tDefaultTypeInternal; +extern ProtoFlattenedSerializerField_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_default_instance_; +class ProtoFlattenedSerializerField_t_polymorphic_field_t; +struct ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal; +extern ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_; +class ProtoFlattenedSerializer_t; +struct ProtoFlattenedSerializer_tDefaultTypeInternal; +extern ProtoFlattenedSerializer_tDefaultTypeInternal _ProtoFlattenedSerializer_t_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CBidirMsg_PredictionEvent* Arena::CreateMaybeMessage<::CBidirMsg_PredictionEvent>(Arena*); +template<> ::CBidirMsg_RebroadcastGameEvent* Arena::CreateMaybeMessage<::CBidirMsg_RebroadcastGameEvent>(Arena*); +template<> ::CBidirMsg_RebroadcastSource* Arena::CreateMaybeMessage<::CBidirMsg_RebroadcastSource>(Arena*); +template<> ::CCLCMsg_BaselineAck* Arena::CreateMaybeMessage<::CCLCMsg_BaselineAck>(Arena*); +template<> ::CCLCMsg_ClientInfo* Arena::CreateMaybeMessage<::CCLCMsg_ClientInfo>(Arena*); +template<> ::CCLCMsg_CmdKeyValues* Arena::CreateMaybeMessage<::CCLCMsg_CmdKeyValues>(Arena*); +template<> ::CCLCMsg_Diagnostic* Arena::CreateMaybeMessage<::CCLCMsg_Diagnostic>(Arena*); +template<> ::CCLCMsg_HltvFixupOperatorTick* Arena::CreateMaybeMessage<::CCLCMsg_HltvFixupOperatorTick>(Arena*); +template<> ::CCLCMsg_HltvReplay* Arena::CreateMaybeMessage<::CCLCMsg_HltvReplay>(Arena*); +template<> ::CCLCMsg_ListenEvents* Arena::CreateMaybeMessage<::CCLCMsg_ListenEvents>(Arena*); +template<> ::CCLCMsg_LoadingProgress* Arena::CreateMaybeMessage<::CCLCMsg_LoadingProgress>(Arena*); +template<> ::CCLCMsg_Move* Arena::CreateMaybeMessage<::CCLCMsg_Move>(Arena*); +template<> ::CCLCMsg_RconServerDetails* Arena::CreateMaybeMessage<::CCLCMsg_RconServerDetails>(Arena*); +template<> ::CCLCMsg_RequestPause* Arena::CreateMaybeMessage<::CCLCMsg_RequestPause>(Arena*); +template<> ::CCLCMsg_RespondCvarValue* Arena::CreateMaybeMessage<::CCLCMsg_RespondCvarValue>(Arena*); +template<> ::CCLCMsg_ServerStatus* Arena::CreateMaybeMessage<::CCLCMsg_ServerStatus>(Arena*); +template<> ::CCLCMsg_SplitPlayerConnect* Arena::CreateMaybeMessage<::CCLCMsg_SplitPlayerConnect>(Arena*); +template<> ::CCLCMsg_SplitPlayerDisconnect* Arena::CreateMaybeMessage<::CCLCMsg_SplitPlayerDisconnect>(Arena*); +template<> ::CCLCMsg_VoiceData* Arena::CreateMaybeMessage<::CCLCMsg_VoiceData>(Arena*); +template<> ::CMsgIPCAddress* Arena::CreateMaybeMessage<::CMsgIPCAddress>(Arena*); +template<> ::CMsgServerNetworkStats* Arena::CreateMaybeMessage<::CMsgServerNetworkStats>(Arena*); +template<> ::CMsgServerNetworkStats_Player* Arena::CreateMaybeMessage<::CMsgServerNetworkStats_Player>(Arena*); +template<> ::CMsgServerNetworkStats_Port* Arena::CreateMaybeMessage<::CMsgServerNetworkStats_Port>(Arena*); +template<> ::CMsgServerPeer* Arena::CreateMaybeMessage<::CMsgServerPeer>(Arena*); +template<> ::CMsgServerUserCmd* Arena::CreateMaybeMessage<::CMsgServerUserCmd>(Arena*); +template<> ::CMsgSource2NetworkFlowQuality* Arena::CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(Arena*); +template<> ::CMsgSource2PerfIntervalSample* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample>(Arena*); +template<> ::CMsgSource2PerfIntervalSample_Tag* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample_Tag>(Arena*); +template<> ::CMsgSource2SystemSpecs* Arena::CreateMaybeMessage<::CMsgSource2SystemSpecs>(Arena*); +template<> ::CMsgSource2VProfLiteReport* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReport>(Arena*); +template<> ::CMsgSource2VProfLiteReportItem* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(Arena*); +template<> ::CMsgVoiceAudio* Arena::CreateMaybeMessage<::CMsgVoiceAudio>(Arena*); +template<> ::CSVCMsg_BSPDecal* Arena::CreateMaybeMessage<::CSVCMsg_BSPDecal>(Arena*); +template<> ::CSVCMsg_Broadcast_Command* Arena::CreateMaybeMessage<::CSVCMsg_Broadcast_Command>(Arena*); +template<> ::CSVCMsg_ClassInfo* Arena::CreateMaybeMessage<::CSVCMsg_ClassInfo>(Arena*); +template<> ::CSVCMsg_ClassInfo_class_t* Arena::CreateMaybeMessage<::CSVCMsg_ClassInfo_class_t>(Arena*); +template<> ::CSVCMsg_ClearAllStringTables* Arena::CreateMaybeMessage<::CSVCMsg_ClearAllStringTables>(Arena*); +template<> ::CSVCMsg_CmdKeyValues* Arena::CreateMaybeMessage<::CSVCMsg_CmdKeyValues>(Arena*); +template<> ::CSVCMsg_CreateStringTable* Arena::CreateMaybeMessage<::CSVCMsg_CreateStringTable>(Arena*); +template<> ::CSVCMsg_CrosshairAngle* Arena::CreateMaybeMessage<::CSVCMsg_CrosshairAngle>(Arena*); +template<> ::CSVCMsg_FixAngle* Arena::CreateMaybeMessage<::CSVCMsg_FixAngle>(Arena*); +template<> ::CSVCMsg_FlattenedSerializer* Arena::CreateMaybeMessage<::CSVCMsg_FlattenedSerializer>(Arena*); +template<> ::CSVCMsg_FullFrameSplit* Arena::CreateMaybeMessage<::CSVCMsg_FullFrameSplit>(Arena*); +template<> ::CSVCMsg_GameEventList* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList>(Arena*); +template<> ::CSVCMsg_GameEventList_descriptor_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList_descriptor_t>(Arena*); +template<> ::CSVCMsg_GameEventList_key_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList_key_t>(Arena*); +template<> ::CSVCMsg_GetCvarValue* Arena::CreateMaybeMessage<::CSVCMsg_GetCvarValue>(Arena*); +template<> ::CSVCMsg_HLTVStatus* Arena::CreateMaybeMessage<::CSVCMsg_HLTVStatus>(Arena*); +template<> ::CSVCMsg_HltvFixupOperatorStatus* Arena::CreateMaybeMessage<::CSVCMsg_HltvFixupOperatorStatus>(Arena*); +template<> ::CSVCMsg_HltvReplay* Arena::CreateMaybeMessage<::CSVCMsg_HltvReplay>(Arena*); +template<> ::CSVCMsg_Menu* Arena::CreateMaybeMessage<::CSVCMsg_Menu>(Arena*); +template<> ::CSVCMsg_PacketEntities* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities>(Arena*); +template<> ::CSVCMsg_PacketEntities_alternate_baseline_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_alternate_baseline_t>(Arena*); +template<> ::CSVCMsg_PacketEntities_non_transmitted_entities_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_non_transmitted_entities_t>(Arena*); +template<> ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_outofpvs_entity_updates_t>(Arena*); +template<> ::CSVCMsg_PacketReliable* Arena::CreateMaybeMessage<::CSVCMsg_PacketReliable>(Arena*); +template<> ::CSVCMsg_PeerList* Arena::CreateMaybeMessage<::CSVCMsg_PeerList>(Arena*); +template<> ::CSVCMsg_Prefetch* Arena::CreateMaybeMessage<::CSVCMsg_Prefetch>(Arena*); +template<> ::CSVCMsg_Print* Arena::CreateMaybeMessage<::CSVCMsg_Print>(Arena*); +template<> ::CSVCMsg_RconServerDetails* Arena::CreateMaybeMessage<::CSVCMsg_RconServerDetails>(Arena*); +template<> ::CSVCMsg_SendTable* Arena::CreateMaybeMessage<::CSVCMsg_SendTable>(Arena*); +template<> ::CSVCMsg_SendTable_sendprop_t* Arena::CreateMaybeMessage<::CSVCMsg_SendTable_sendprop_t>(Arena*); +template<> ::CSVCMsg_ServerInfo* Arena::CreateMaybeMessage<::CSVCMsg_ServerInfo>(Arena*); +template<> ::CSVCMsg_ServerSteamID* Arena::CreateMaybeMessage<::CSVCMsg_ServerSteamID>(Arena*); +template<> ::CSVCMsg_SetPause* Arena::CreateMaybeMessage<::CSVCMsg_SetPause>(Arena*); +template<> ::CSVCMsg_SetView* Arena::CreateMaybeMessage<::CSVCMsg_SetView>(Arena*); +template<> ::CSVCMsg_Sounds* Arena::CreateMaybeMessage<::CSVCMsg_Sounds>(Arena*); +template<> ::CSVCMsg_Sounds_sounddata_t* Arena::CreateMaybeMessage<::CSVCMsg_Sounds_sounddata_t>(Arena*); +template<> ::CSVCMsg_SplitScreen* Arena::CreateMaybeMessage<::CSVCMsg_SplitScreen>(Arena*); +template<> ::CSVCMsg_StopSound* Arena::CreateMaybeMessage<::CSVCMsg_StopSound>(Arena*); +template<> ::CSVCMsg_TempEntities* Arena::CreateMaybeMessage<::CSVCMsg_TempEntities>(Arena*); +template<> ::CSVCMsg_UpdateStringTable* Arena::CreateMaybeMessage<::CSVCMsg_UpdateStringTable>(Arena*); +template<> ::CSVCMsg_UserCommands* Arena::CreateMaybeMessage<::CSVCMsg_UserCommands>(Arena*); +template<> ::CSVCMsg_UserMessage* Arena::CreateMaybeMessage<::CSVCMsg_UserMessage>(Arena*); +template<> ::CSVCMsg_VoiceData* Arena::CreateMaybeMessage<::CSVCMsg_VoiceData>(Arena*); +template<> ::CSVCMsg_VoiceInit* Arena::CreateMaybeMessage<::CSVCMsg_VoiceInit>(Arena*); +template<> ::CSource2Metrics_MatchPerfSummary_Notification* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification>(Arena*); +template<> ::CSource2Metrics_MatchPerfSummary_Notification_Client* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification_Client>(Arena*); +template<> ::ProtoFlattenedSerializerField_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t>(Arena*); +template<> ::ProtoFlattenedSerializerField_t_polymorphic_field_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t_polymorphic_field_t>(Arena*); +template<> ::ProtoFlattenedSerializer_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializer_t>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CBidirMsg_PredictionEvent_ESyncType : int { + CBidirMsg_PredictionEvent_ESyncType_ST_Tick = 0, + CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum = 1 +}; +bool CBidirMsg_PredictionEvent_ESyncType_IsValid(int value); +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent_ESyncType_ESyncType_MIN = CBidirMsg_PredictionEvent_ESyncType_ST_Tick; +constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX = CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum; +constexpr int CBidirMsg_PredictionEvent_ESyncType_ESyncType_ARRAYSIZE = CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CBidirMsg_PredictionEvent_ESyncType_descriptor(); +template +inline const std::string& CBidirMsg_PredictionEvent_ESyncType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CBidirMsg_PredictionEvent_ESyncType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CBidirMsg_PredictionEvent_ESyncType_descriptor(), enum_t_value); +} +inline bool CBidirMsg_PredictionEvent_ESyncType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CBidirMsg_PredictionEvent_ESyncType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CBidirMsg_PredictionEvent_ESyncType_descriptor(), name, value); +} +enum CLC_Messages : int { + clc_ClientInfo = 20, + clc_Move = 21, + clc_VoiceData = 22, + clc_BaselineAck = 23, + clc_RespondCvarValue = 25, + clc_LoadingProgress = 27, + clc_SplitPlayerConnect = 28, + clc_SplitPlayerDisconnect = 30, + clc_ServerStatus = 31, + clc_RequestPause = 33, + clc_CmdKeyValues = 34, + clc_RconServerDetails = 35, + clc_HltvReplay = 36, + clc_Diagnostic = 37 +}; +bool CLC_Messages_IsValid(int value); +constexpr CLC_Messages CLC_Messages_MIN = clc_ClientInfo; +constexpr CLC_Messages CLC_Messages_MAX = clc_Diagnostic; +constexpr int CLC_Messages_ARRAYSIZE = CLC_Messages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CLC_Messages_descriptor(); +template +inline const std::string& CLC_Messages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CLC_Messages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CLC_Messages_descriptor(), enum_t_value); +} +inline bool CLC_Messages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CLC_Messages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CLC_Messages_descriptor(), name, value); +} +enum SVC_Messages : int { + svc_ServerInfo = 40, + svc_FlattenedSerializer = 41, + svc_ClassInfo = 42, + svc_SetPause = 43, + svc_CreateStringTable = 44, + svc_UpdateStringTable = 45, + svc_VoiceInit = 46, + svc_VoiceData = 47, + svc_Print = 48, + svc_Sounds = 49, + svc_SetView = 50, + svc_ClearAllStringTables = 51, + svc_CmdKeyValues = 52, + svc_BSPDecal = 53, + svc_SplitScreen = 54, + svc_PacketEntities = 55, + svc_Prefetch = 56, + svc_Menu = 57, + svc_GetCvarValue = 58, + svc_StopSound = 59, + svc_PeerList = 60, + svc_PacketReliable = 61, + svc_HLTVStatus = 62, + svc_ServerSteamID = 63, + svc_FullFrameSplit = 70, + svc_RconServerDetails = 71, + svc_UserMessage = 72, + svc_Broadcast_Command = 74, + svc_HltvFixupOperatorStatus = 75, + svc_UserCmds = 76 +}; +bool SVC_Messages_IsValid(int value); +constexpr SVC_Messages SVC_Messages_MIN = svc_ServerInfo; +constexpr SVC_Messages SVC_Messages_MAX = svc_UserCmds; +constexpr int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_descriptor(); +template +inline const std::string& SVC_Messages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function SVC_Messages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + SVC_Messages_descriptor(), enum_t_value); +} +inline bool SVC_Messages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SVC_Messages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SVC_Messages_descriptor(), name, value); +} +enum VoiceDataFormat_t : int { + VOICEDATA_FORMAT_STEAM = 0, + VOICEDATA_FORMAT_ENGINE = 1, + VOICEDATA_FORMAT_OPUS = 2 +}; +bool VoiceDataFormat_t_IsValid(int value); +constexpr VoiceDataFormat_t VoiceDataFormat_t_MIN = VOICEDATA_FORMAT_STEAM; +constexpr VoiceDataFormat_t VoiceDataFormat_t_MAX = VOICEDATA_FORMAT_OPUS; +constexpr int VoiceDataFormat_t_ARRAYSIZE = VoiceDataFormat_t_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VoiceDataFormat_t_descriptor(); +template +inline const std::string& VoiceDataFormat_t_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function VoiceDataFormat_t_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + VoiceDataFormat_t_descriptor(), enum_t_value); +} +inline bool VoiceDataFormat_t_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VoiceDataFormat_t* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + VoiceDataFormat_t_descriptor(), name, value); +} +enum RequestPause_t : int { + RP_PAUSE = 0, + RP_UNPAUSE = 1, + RP_TOGGLEPAUSE = 2 +}; +bool RequestPause_t_IsValid(int value); +constexpr RequestPause_t RequestPause_t_MIN = RP_PAUSE; +constexpr RequestPause_t RequestPause_t_MAX = RP_TOGGLEPAUSE; +constexpr int RequestPause_t_ARRAYSIZE = RequestPause_t_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RequestPause_t_descriptor(); +template +inline const std::string& RequestPause_t_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function RequestPause_t_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + RequestPause_t_descriptor(), enum_t_value); +} +inline bool RequestPause_t_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RequestPause_t* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + RequestPause_t_descriptor(), name, value); +} +enum PrefetchType : int { + PFT_SOUND = 0 +}; +bool PrefetchType_IsValid(int value); +constexpr PrefetchType PrefetchType_MIN = PFT_SOUND; +constexpr PrefetchType PrefetchType_MAX = PFT_SOUND; +constexpr int PrefetchType_ARRAYSIZE = PrefetchType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrefetchType_descriptor(); +template +inline const std::string& PrefetchType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function PrefetchType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + PrefetchType_descriptor(), enum_t_value); +} +inline bool PrefetchType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PrefetchType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + PrefetchType_descriptor(), name, value); +} +enum ESplitScreenMessageType : int { + MSG_SPLITSCREEN_ADDUSER = 0, + MSG_SPLITSCREEN_REMOVEUSER = 1 +}; +bool ESplitScreenMessageType_IsValid(int value); +constexpr ESplitScreenMessageType ESplitScreenMessageType_MIN = MSG_SPLITSCREEN_ADDUSER; +constexpr ESplitScreenMessageType ESplitScreenMessageType_MAX = MSG_SPLITSCREEN_REMOVEUSER; +constexpr int ESplitScreenMessageType_ARRAYSIZE = ESplitScreenMessageType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESplitScreenMessageType_descriptor(); +template +inline const std::string& ESplitScreenMessageType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESplitScreenMessageType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESplitScreenMessageType_descriptor(), enum_t_value); +} +inline bool ESplitScreenMessageType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESplitScreenMessageType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESplitScreenMessageType_descriptor(), name, value); +} +enum EQueryCvarValueStatus : int { + eQueryCvarValueStatus_ValueIntact = 0, + eQueryCvarValueStatus_CvarNotFound = 1, + eQueryCvarValueStatus_NotACvar = 2, + eQueryCvarValueStatus_CvarProtected = 3 +}; +bool EQueryCvarValueStatus_IsValid(int value); +constexpr EQueryCvarValueStatus EQueryCvarValueStatus_MIN = eQueryCvarValueStatus_ValueIntact; +constexpr EQueryCvarValueStatus EQueryCvarValueStatus_MAX = eQueryCvarValueStatus_CvarProtected; +constexpr int EQueryCvarValueStatus_ARRAYSIZE = EQueryCvarValueStatus_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EQueryCvarValueStatus_descriptor(); +template +inline const std::string& EQueryCvarValueStatus_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EQueryCvarValueStatus_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EQueryCvarValueStatus_descriptor(), enum_t_value); +} +inline bool EQueryCvarValueStatus_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EQueryCvarValueStatus* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EQueryCvarValueStatus_descriptor(), name, value); +} +enum DIALOG_TYPE : int { + DIALOG_MSG = 0, + DIALOG_MENU = 1, + DIALOG_TEXT = 2, + DIALOG_ENTRY = 3, + DIALOG_ASKCONNECT = 4 +}; +bool DIALOG_TYPE_IsValid(int value); +constexpr DIALOG_TYPE DIALOG_TYPE_MIN = DIALOG_MSG; +constexpr DIALOG_TYPE DIALOG_TYPE_MAX = DIALOG_ASKCONNECT; +constexpr int DIALOG_TYPE_ARRAYSIZE = DIALOG_TYPE_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DIALOG_TYPE_descriptor(); +template +inline const std::string& DIALOG_TYPE_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function DIALOG_TYPE_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + DIALOG_TYPE_descriptor(), enum_t_value); +} +inline bool DIALOG_TYPE_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DIALOG_TYPE* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + DIALOG_TYPE_descriptor(), name, value); +} +enum SVC_Messages_LowFrequency : int { + svc_dummy = 600 +}; +bool SVC_Messages_LowFrequency_IsValid(int value); +constexpr SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MIN = svc_dummy; +constexpr SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MAX = svc_dummy; +constexpr int SVC_Messages_LowFrequency_ARRAYSIZE = SVC_Messages_LowFrequency_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_LowFrequency_descriptor(); +template +inline const std::string& SVC_Messages_LowFrequency_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function SVC_Messages_LowFrequency_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + SVC_Messages_LowFrequency_descriptor(), enum_t_value); +} +inline bool SVC_Messages_LowFrequency_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SVC_Messages_LowFrequency* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SVC_Messages_LowFrequency_descriptor(), name, value); +} +enum Bidirectional_Messages : int { + bi_RebroadcastGameEvent = 16, + bi_RebroadcastSource = 17, + bi_GameEvent = 18, + bi_PredictionEvent = 19 +}; +bool Bidirectional_Messages_IsValid(int value); +constexpr Bidirectional_Messages Bidirectional_Messages_MIN = bi_RebroadcastGameEvent; +constexpr Bidirectional_Messages Bidirectional_Messages_MAX = bi_PredictionEvent; +constexpr int Bidirectional_Messages_ARRAYSIZE = Bidirectional_Messages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_descriptor(); +template +inline const std::string& Bidirectional_Messages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Bidirectional_Messages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + Bidirectional_Messages_descriptor(), enum_t_value); +} +inline bool Bidirectional_Messages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Bidirectional_Messages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + Bidirectional_Messages_descriptor(), name, value); +} +enum Bidirectional_Messages_LowFrequency : int { + bi_RelayInfo = 700, + bi_RelayPacket = 701 +}; +bool Bidirectional_Messages_LowFrequency_IsValid(int value); +constexpr Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MIN = bi_RelayInfo; +constexpr Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MAX = bi_RelayPacket; +constexpr int Bidirectional_Messages_LowFrequency_ARRAYSIZE = Bidirectional_Messages_LowFrequency_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor(); +template +inline const std::string& Bidirectional_Messages_LowFrequency_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Bidirectional_Messages_LowFrequency_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + Bidirectional_Messages_LowFrequency_descriptor(), enum_t_value); +} +inline bool Bidirectional_Messages_LowFrequency_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Bidirectional_Messages_LowFrequency* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + Bidirectional_Messages_LowFrequency_descriptor(), name, value); +} +enum ReplayEventType_t : int { + REPLAY_EVENT_CANCEL = 0, + REPLAY_EVENT_DEATH = 1, + REPLAY_EVENT_GENERIC = 2, + REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3, + REPLAY_EVENT_VICTORY = 4 +}; +bool ReplayEventType_t_IsValid(int value); +constexpr ReplayEventType_t ReplayEventType_t_MIN = REPLAY_EVENT_CANCEL; +constexpr ReplayEventType_t ReplayEventType_t_MAX = REPLAY_EVENT_VICTORY; +constexpr int ReplayEventType_t_ARRAYSIZE = ReplayEventType_t_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ReplayEventType_t_descriptor(); +template +inline const std::string& ReplayEventType_t_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ReplayEventType_t_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ReplayEventType_t_descriptor(), enum_t_value); +} +inline bool ReplayEventType_t_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReplayEventType_t* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ReplayEventType_t_descriptor(), name, value); +} +// =================================================================== + +class CCLCMsg_ClientInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ClientInfo) */ { + public: + inline CCLCMsg_ClientInfo() : CCLCMsg_ClientInfo(nullptr) {} + ~CCLCMsg_ClientInfo() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from); + CCLCMsg_ClientInfo(CCLCMsg_ClientInfo&& from) noexcept + : CCLCMsg_ClientInfo() { + *this = ::std::move(from); + } + + inline CCLCMsg_ClientInfo& operator=(const CCLCMsg_ClientInfo& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_ClientInfo& operator=(CCLCMsg_ClientInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_ClientInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_ClientInfo* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_ClientInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CCLCMsg_ClientInfo& a, CCLCMsg_ClientInfo& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_ClientInfo* 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(CCLCMsg_ClientInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_ClientInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_ClientInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_ClientInfo& from) { + CCLCMsg_ClientInfo::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(CCLCMsg_ClientInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_ClientInfo"; + } + protected: + explicit CCLCMsg_ClientInfo(::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 { + kFriendsNameFieldNumber = 6, + kSendTableCrcFieldNumber = 1, + kServerCountFieldNumber = 2, + kIsHltvFieldNumber = 3, + kFriendsIdFieldNumber = 5, + }; + // optional string friends_name = 6; + bool has_friends_name() const; + private: + bool _internal_has_friends_name() const; + public: + void clear_friends_name(); + const std::string& friends_name() const; + template + void set_friends_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_friends_name(); + PROTOBUF_NODISCARD std::string* release_friends_name(); + void set_allocated_friends_name(std::string* friends_name); + private: + const std::string& _internal_friends_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_friends_name(const std::string& value); + std::string* _internal_mutable_friends_name(); + public: + + // optional fixed32 send_table_crc = 1; + bool has_send_table_crc() const; + private: + bool _internal_has_send_table_crc() const; + public: + void clear_send_table_crc(); + uint32_t send_table_crc() const; + void set_send_table_crc(uint32_t value); + private: + uint32_t _internal_send_table_crc() const; + void _internal_set_send_table_crc(uint32_t value); + public: + + // optional uint32 server_count = 2; + bool has_server_count() const; + private: + bool _internal_has_server_count() const; + public: + void clear_server_count(); + uint32_t server_count() const; + void set_server_count(uint32_t value); + private: + uint32_t _internal_server_count() const; + void _internal_set_server_count(uint32_t value); + public: + + // optional bool is_hltv = 3; + bool has_is_hltv() const; + private: + bool _internal_has_is_hltv() const; + public: + void clear_is_hltv(); + bool is_hltv() const; + void set_is_hltv(bool value); + private: + bool _internal_is_hltv() const; + void _internal_set_is_hltv(bool value); + public: + + // optional uint32 friends_id = 5; + bool has_friends_id() const; + private: + bool _internal_has_friends_id() const; + public: + void clear_friends_id(); + uint32_t friends_id() const; + void set_friends_id(uint32_t value); + private: + uint32_t _internal_friends_id() const; + void _internal_set_friends_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_ClientInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr friends_name_; + uint32_t send_table_crc_; + uint32_t server_count_; + bool is_hltv_; + uint32_t friends_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_Move final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_Move) */ { + public: + inline CCLCMsg_Move() : CCLCMsg_Move(nullptr) {} + ~CCLCMsg_Move() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_Move(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_Move(const CCLCMsg_Move& from); + CCLCMsg_Move(CCLCMsg_Move&& from) noexcept + : CCLCMsg_Move() { + *this = ::std::move(from); + } + + inline CCLCMsg_Move& operator=(const CCLCMsg_Move& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_Move& operator=(CCLCMsg_Move&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_Move& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_Move* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_Move_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CCLCMsg_Move& a, CCLCMsg_Move& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_Move* 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(CCLCMsg_Move* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_Move* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_Move& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_Move& from) { + CCLCMsg_Move::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(CCLCMsg_Move* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_Move"; + } + protected: + explicit CCLCMsg_Move(::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 { + kDataFieldNumber = 3, + kLastCommandNumberFieldNumber = 4, + }; + // optional bytes data = 3; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional uint32 last_command_number = 4; + bool has_last_command_number() const; + private: + bool _internal_has_last_command_number() const; + public: + void clear_last_command_number(); + uint32_t last_command_number() const; + void set_last_command_number(uint32_t value); + private: + uint32_t _internal_last_command_number() const; + void _internal_set_last_command_number(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_Move) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + uint32_t last_command_number_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgVoiceAudio final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVoiceAudio) */ { + public: + inline CMsgVoiceAudio() : CMsgVoiceAudio(nullptr) {} + ~CMsgVoiceAudio() override; + explicit PROTOBUF_CONSTEXPR CMsgVoiceAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgVoiceAudio(const CMsgVoiceAudio& from); + CMsgVoiceAudio(CMsgVoiceAudio&& from) noexcept + : CMsgVoiceAudio() { + *this = ::std::move(from); + } + + inline CMsgVoiceAudio& operator=(const CMsgVoiceAudio& from) { + CopyFrom(from); + return *this; + } + inline CMsgVoiceAudio& operator=(CMsgVoiceAudio&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgVoiceAudio& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgVoiceAudio* internal_default_instance() { + return reinterpret_cast( + &_CMsgVoiceAudio_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgVoiceAudio& a, CMsgVoiceAudio& b) { + a.Swap(&b); + } + inline void Swap(CMsgVoiceAudio* 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(CMsgVoiceAudio* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgVoiceAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgVoiceAudio& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgVoiceAudio& from) { + CMsgVoiceAudio::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(CMsgVoiceAudio* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgVoiceAudio"; + } + protected: + explicit CMsgVoiceAudio(::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 { + kPacketOffsetsFieldNumber = 8, + kVoiceDataFieldNumber = 2, + kFormatFieldNumber = 1, + kSequenceBytesFieldNumber = 3, + kSectionNumberFieldNumber = 4, + kSampleRateFieldNumber = 5, + kUncompressedSampleOffsetFieldNumber = 6, + kNumPacketsFieldNumber = 7, + kVoiceLevelFieldNumber = 9, + }; + // repeated uint32 packet_offsets = 8 [packed = true]; + int packet_offsets_size() const; + private: + int _internal_packet_offsets_size() const; + public: + void clear_packet_offsets(); + private: + uint32_t _internal_packet_offsets(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_packet_offsets() const; + void _internal_add_packet_offsets(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_packet_offsets(); + public: + uint32_t packet_offsets(int index) const; + void set_packet_offsets(int index, uint32_t value); + void add_packet_offsets(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + packet_offsets() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_packet_offsets(); + + // optional bytes voice_data = 2; + bool has_voice_data() const; + private: + bool _internal_has_voice_data() const; + public: + void clear_voice_data(); + const std::string& voice_data() const; + template + void set_voice_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_voice_data(); + PROTOBUF_NODISCARD std::string* release_voice_data(); + void set_allocated_voice_data(std::string* voice_data); + private: + const std::string& _internal_voice_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_data(const std::string& value); + std::string* _internal_mutable_voice_data(); + public: + + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + bool has_format() const; + private: + bool _internal_has_format() const; + public: + void clear_format(); + ::VoiceDataFormat_t format() const; + void set_format(::VoiceDataFormat_t value); + private: + ::VoiceDataFormat_t _internal_format() const; + void _internal_set_format(::VoiceDataFormat_t value); + public: + + // optional int32 sequence_bytes = 3; + bool has_sequence_bytes() const; + private: + bool _internal_has_sequence_bytes() const; + public: + void clear_sequence_bytes(); + int32_t sequence_bytes() const; + void set_sequence_bytes(int32_t value); + private: + int32_t _internal_sequence_bytes() const; + void _internal_set_sequence_bytes(int32_t value); + public: + + // optional uint32 section_number = 4; + bool has_section_number() const; + private: + bool _internal_has_section_number() const; + public: + void clear_section_number(); + uint32_t section_number() const; + void set_section_number(uint32_t value); + private: + uint32_t _internal_section_number() const; + void _internal_set_section_number(uint32_t value); + public: + + // optional uint32 sample_rate = 5; + bool has_sample_rate() const; + private: + bool _internal_has_sample_rate() const; + public: + void clear_sample_rate(); + uint32_t sample_rate() const; + void set_sample_rate(uint32_t value); + private: + uint32_t _internal_sample_rate() const; + void _internal_set_sample_rate(uint32_t value); + public: + + // optional uint32 uncompressed_sample_offset = 6; + bool has_uncompressed_sample_offset() const; + private: + bool _internal_has_uncompressed_sample_offset() const; + public: + void clear_uncompressed_sample_offset(); + uint32_t uncompressed_sample_offset() const; + void set_uncompressed_sample_offset(uint32_t value); + private: + uint32_t _internal_uncompressed_sample_offset() const; + void _internal_set_uncompressed_sample_offset(uint32_t value); + public: + + // optional uint32 num_packets = 7; + bool has_num_packets() const; + private: + bool _internal_has_num_packets() const; + public: + void clear_num_packets(); + uint32_t num_packets() const; + void set_num_packets(uint32_t value); + private: + uint32_t _internal_num_packets() const; + void _internal_set_num_packets(uint32_t value); + public: + + // optional float voice_level = 9; + bool has_voice_level() const; + private: + bool _internal_has_voice_level() const; + public: + void clear_voice_level(); + float voice_level() const; + void set_voice_level(float value); + private: + float _internal_voice_level() const; + void _internal_set_voice_level(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgVoiceAudio) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > packet_offsets_; + mutable std::atomic _packet_offsets_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_data_; + int format_; + int32_t sequence_bytes_; + uint32_t section_number_; + uint32_t sample_rate_; + uint32_t uncompressed_sample_offset_; + uint32_t num_packets_; + float voice_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_VoiceData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_VoiceData) */ { + public: + inline CCLCMsg_VoiceData() : CCLCMsg_VoiceData(nullptr) {} + ~CCLCMsg_VoiceData() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from); + CCLCMsg_VoiceData(CCLCMsg_VoiceData&& from) noexcept + : CCLCMsg_VoiceData() { + *this = ::std::move(from); + } + + inline CCLCMsg_VoiceData& operator=(const CCLCMsg_VoiceData& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_VoiceData& operator=(CCLCMsg_VoiceData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_VoiceData& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_VoiceData* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_VoiceData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CCLCMsg_VoiceData& a, CCLCMsg_VoiceData& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_VoiceData* 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(CCLCMsg_VoiceData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_VoiceData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_VoiceData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_VoiceData& from) { + CCLCMsg_VoiceData::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(CCLCMsg_VoiceData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_VoiceData"; + } + protected: + explicit CCLCMsg_VoiceData(::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 { + kAudioFieldNumber = 1, + kXuidFieldNumber = 2, + kTickFieldNumber = 3, + }; + // optional .CMsgVoiceAudio audio = 1; + bool has_audio() const; + private: + bool _internal_has_audio() const; + public: + void clear_audio(); + const ::CMsgVoiceAudio& audio() const; + PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); + ::CMsgVoiceAudio* mutable_audio(); + void set_allocated_audio(::CMsgVoiceAudio* audio); + private: + const ::CMsgVoiceAudio& _internal_audio() const; + ::CMsgVoiceAudio* _internal_mutable_audio(); + public: + void unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio); + ::CMsgVoiceAudio* unsafe_arena_release_audio(); + + // optional fixed64 xuid = 2; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional uint32 tick = 3; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + uint32_t tick() const; + void set_tick(uint32_t value); + private: + uint32_t _internal_tick() const; + void _internal_set_tick(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_VoiceData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVoiceAudio* audio_; + uint64_t xuid_; + uint32_t tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_BaselineAck final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_BaselineAck) */ { + public: + inline CCLCMsg_BaselineAck() : CCLCMsg_BaselineAck(nullptr) {} + ~CCLCMsg_BaselineAck() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_BaselineAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from); + CCLCMsg_BaselineAck(CCLCMsg_BaselineAck&& from) noexcept + : CCLCMsg_BaselineAck() { + *this = ::std::move(from); + } + + inline CCLCMsg_BaselineAck& operator=(const CCLCMsg_BaselineAck& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_BaselineAck& operator=(CCLCMsg_BaselineAck&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_BaselineAck& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_BaselineAck* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_BaselineAck_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CCLCMsg_BaselineAck& a, CCLCMsg_BaselineAck& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_BaselineAck* 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(CCLCMsg_BaselineAck* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_BaselineAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_BaselineAck& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_BaselineAck& from) { + CCLCMsg_BaselineAck::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(CCLCMsg_BaselineAck* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_BaselineAck"; + } + protected: + explicit CCLCMsg_BaselineAck(::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 { + kBaselineTickFieldNumber = 1, + kBaselineNrFieldNumber = 2, + }; + // optional int32 baseline_tick = 1; + bool has_baseline_tick() const; + private: + bool _internal_has_baseline_tick() const; + public: + void clear_baseline_tick(); + int32_t baseline_tick() const; + void set_baseline_tick(int32_t value); + private: + int32_t _internal_baseline_tick() const; + void _internal_set_baseline_tick(int32_t value); + public: + + // optional int32 baseline_nr = 2; + bool has_baseline_nr() const; + private: + bool _internal_has_baseline_nr() const; + public: + void clear_baseline_nr(); + int32_t baseline_nr() const; + void set_baseline_nr(int32_t value); + private: + int32_t _internal_baseline_nr() const; + void _internal_set_baseline_nr(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_BaselineAck) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t baseline_tick_; + int32_t baseline_nr_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ListenEvents final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ListenEvents) */ { + public: + inline CCLCMsg_ListenEvents() : CCLCMsg_ListenEvents(nullptr) {} + ~CCLCMsg_ListenEvents() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_ListenEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from); + CCLCMsg_ListenEvents(CCLCMsg_ListenEvents&& from) noexcept + : CCLCMsg_ListenEvents() { + *this = ::std::move(from); + } + + inline CCLCMsg_ListenEvents& operator=(const CCLCMsg_ListenEvents& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_ListenEvents& operator=(CCLCMsg_ListenEvents&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_ListenEvents& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_ListenEvents* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_ListenEvents_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CCLCMsg_ListenEvents& a, CCLCMsg_ListenEvents& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_ListenEvents* 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(CCLCMsg_ListenEvents* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_ListenEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_ListenEvents& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_ListenEvents& from) { + CCLCMsg_ListenEvents::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(CCLCMsg_ListenEvents* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_ListenEvents"; + } + protected: + explicit CCLCMsg_ListenEvents(::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 { + kEventMaskFieldNumber = 1, + }; + // repeated fixed32 event_mask = 1; + int event_mask_size() const; + private: + int _internal_event_mask_size() const; + public: + void clear_event_mask(); + private: + uint32_t _internal_event_mask(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_event_mask() const; + void _internal_add_event_mask(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_event_mask(); + public: + uint32_t event_mask(int index) const; + void set_event_mask(int index, uint32_t value); + void add_event_mask(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + event_mask() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_event_mask(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_ListenEvents) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > event_mask_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_RespondCvarValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RespondCvarValue) */ { + public: + inline CCLCMsg_RespondCvarValue() : CCLCMsg_RespondCvarValue(nullptr) {} + ~CCLCMsg_RespondCvarValue() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from); + CCLCMsg_RespondCvarValue(CCLCMsg_RespondCvarValue&& from) noexcept + : CCLCMsg_RespondCvarValue() { + *this = ::std::move(from); + } + + inline CCLCMsg_RespondCvarValue& operator=(const CCLCMsg_RespondCvarValue& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_RespondCvarValue& operator=(CCLCMsg_RespondCvarValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_RespondCvarValue& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_RespondCvarValue* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_RespondCvarValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CCLCMsg_RespondCvarValue& a, CCLCMsg_RespondCvarValue& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_RespondCvarValue* 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(CCLCMsg_RespondCvarValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_RespondCvarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_RespondCvarValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_RespondCvarValue& from) { + CCLCMsg_RespondCvarValue::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(CCLCMsg_RespondCvarValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_RespondCvarValue"; + } + protected: + explicit CCLCMsg_RespondCvarValue(::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 = 3, + kValueFieldNumber = 4, + kCookieFieldNumber = 1, + kStatusCodeFieldNumber = 2, + }; + // optional string name = 3; + 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: + + // optional string value = 4; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // optional int32 cookie = 1; + bool has_cookie() const; + private: + bool _internal_has_cookie() const; + public: + void clear_cookie(); + int32_t cookie() const; + void set_cookie(int32_t value); + private: + int32_t _internal_cookie() const; + void _internal_set_cookie(int32_t value); + public: + + // optional int32 status_code = 2; + bool has_status_code() const; + private: + bool _internal_has_status_code() const; + public: + void clear_status_code(); + int32_t status_code() const; + void set_status_code(int32_t value); + private: + int32_t _internal_status_code() const; + void _internal_set_status_code(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_RespondCvarValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + int32_t cookie_; + int32_t status_code_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_LoadingProgress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_LoadingProgress) */ { + public: + inline CCLCMsg_LoadingProgress() : CCLCMsg_LoadingProgress(nullptr) {} + ~CCLCMsg_LoadingProgress() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from); + CCLCMsg_LoadingProgress(CCLCMsg_LoadingProgress&& from) noexcept + : CCLCMsg_LoadingProgress() { + *this = ::std::move(from); + } + + inline CCLCMsg_LoadingProgress& operator=(const CCLCMsg_LoadingProgress& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_LoadingProgress& operator=(CCLCMsg_LoadingProgress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_LoadingProgress& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_LoadingProgress* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_LoadingProgress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CCLCMsg_LoadingProgress& a, CCLCMsg_LoadingProgress& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_LoadingProgress* 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(CCLCMsg_LoadingProgress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_LoadingProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_LoadingProgress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_LoadingProgress& from) { + CCLCMsg_LoadingProgress::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(CCLCMsg_LoadingProgress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_LoadingProgress"; + } + protected: + explicit CCLCMsg_LoadingProgress(::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 { + kProgressFieldNumber = 1, + }; + // optional int32 progress = 1; + bool has_progress() const; + private: + bool _internal_has_progress() const; + public: + void clear_progress(); + int32_t progress() const; + void set_progress(int32_t value); + private: + int32_t _internal_progress() const; + void _internal_set_progress(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_LoadingProgress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t progress_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_SplitPlayerConnect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_SplitPlayerConnect) */ { + public: + inline CCLCMsg_SplitPlayerConnect() : CCLCMsg_SplitPlayerConnect(nullptr) {} + ~CCLCMsg_SplitPlayerConnect() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from); + CCLCMsg_SplitPlayerConnect(CCLCMsg_SplitPlayerConnect&& from) noexcept + : CCLCMsg_SplitPlayerConnect() { + *this = ::std::move(from); + } + + inline CCLCMsg_SplitPlayerConnect& operator=(const CCLCMsg_SplitPlayerConnect& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_SplitPlayerConnect& operator=(CCLCMsg_SplitPlayerConnect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_SplitPlayerConnect& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_SplitPlayerConnect* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_SplitPlayerConnect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CCLCMsg_SplitPlayerConnect& a, CCLCMsg_SplitPlayerConnect& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_SplitPlayerConnect* 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(CCLCMsg_SplitPlayerConnect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_SplitPlayerConnect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_SplitPlayerConnect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_SplitPlayerConnect& from) { + CCLCMsg_SplitPlayerConnect::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(CCLCMsg_SplitPlayerConnect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_SplitPlayerConnect"; + } + protected: + explicit CCLCMsg_SplitPlayerConnect(::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 { + kPlayernameFieldNumber = 1, + }; + // optional string playername = 1; + bool has_playername() const; + private: + bool _internal_has_playername() const; + public: + void clear_playername(); + const std::string& playername() const; + template + void set_playername(ArgT0&& arg0, ArgT... args); + std::string* mutable_playername(); + PROTOBUF_NODISCARD std::string* release_playername(); + void set_allocated_playername(std::string* playername); + private: + const std::string& _internal_playername() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playername(const std::string& value); + std::string* _internal_mutable_playername(); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerConnect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playername_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_SplitPlayerDisconnect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_SplitPlayerDisconnect) */ { + public: + inline CCLCMsg_SplitPlayerDisconnect() : CCLCMsg_SplitPlayerDisconnect(nullptr) {} + ~CCLCMsg_SplitPlayerDisconnect() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from); + CCLCMsg_SplitPlayerDisconnect(CCLCMsg_SplitPlayerDisconnect&& from) noexcept + : CCLCMsg_SplitPlayerDisconnect() { + *this = ::std::move(from); + } + + inline CCLCMsg_SplitPlayerDisconnect& operator=(const CCLCMsg_SplitPlayerDisconnect& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_SplitPlayerDisconnect& operator=(CCLCMsg_SplitPlayerDisconnect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_SplitPlayerDisconnect& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_SplitPlayerDisconnect* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_SplitPlayerDisconnect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CCLCMsg_SplitPlayerDisconnect& a, CCLCMsg_SplitPlayerDisconnect& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_SplitPlayerDisconnect* 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(CCLCMsg_SplitPlayerDisconnect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_SplitPlayerDisconnect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_SplitPlayerDisconnect& from) { + CCLCMsg_SplitPlayerDisconnect::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(CCLCMsg_SplitPlayerDisconnect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_SplitPlayerDisconnect"; + } + protected: + explicit CCLCMsg_SplitPlayerDisconnect(::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 { + kSlotFieldNumber = 1, + }; + // optional int32 slot = 1; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerDisconnect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ServerStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ServerStatus) */ { + public: + inline CCLCMsg_ServerStatus() : CCLCMsg_ServerStatus(nullptr) {} + ~CCLCMsg_ServerStatus() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_ServerStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from); + CCLCMsg_ServerStatus(CCLCMsg_ServerStatus&& from) noexcept + : CCLCMsg_ServerStatus() { + *this = ::std::move(from); + } + + inline CCLCMsg_ServerStatus& operator=(const CCLCMsg_ServerStatus& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_ServerStatus& operator=(CCLCMsg_ServerStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_ServerStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_ServerStatus* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_ServerStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CCLCMsg_ServerStatus& a, CCLCMsg_ServerStatus& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_ServerStatus* 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(CCLCMsg_ServerStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_ServerStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_ServerStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_ServerStatus& from) { + CCLCMsg_ServerStatus::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(CCLCMsg_ServerStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_ServerStatus"; + } + protected: + explicit CCLCMsg_ServerStatus(::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 { + kSimplifiedFieldNumber = 1, + }; + // optional bool simplified = 1; + bool has_simplified() const; + private: + bool _internal_has_simplified() const; + public: + void clear_simplified(); + bool simplified() const; + void set_simplified(bool value); + private: + bool _internal_simplified() const; + void _internal_set_simplified(bool value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_ServerStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool simplified_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_RequestPause final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RequestPause) */ { + public: + inline CCLCMsg_RequestPause() : CCLCMsg_RequestPause(nullptr) {} + ~CCLCMsg_RequestPause() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_RequestPause(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from); + CCLCMsg_RequestPause(CCLCMsg_RequestPause&& from) noexcept + : CCLCMsg_RequestPause() { + *this = ::std::move(from); + } + + inline CCLCMsg_RequestPause& operator=(const CCLCMsg_RequestPause& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_RequestPause& operator=(CCLCMsg_RequestPause&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_RequestPause& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_RequestPause* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_RequestPause_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CCLCMsg_RequestPause& a, CCLCMsg_RequestPause& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_RequestPause* 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(CCLCMsg_RequestPause* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_RequestPause* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_RequestPause& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_RequestPause& from) { + CCLCMsg_RequestPause::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(CCLCMsg_RequestPause* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_RequestPause"; + } + protected: + explicit CCLCMsg_RequestPause(::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 { + kPauseTypeFieldNumber = 1, + kPauseGroupFieldNumber = 2, + }; + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + bool has_pause_type() const; + private: + bool _internal_has_pause_type() const; + public: + void clear_pause_type(); + ::RequestPause_t pause_type() const; + void set_pause_type(::RequestPause_t value); + private: + ::RequestPause_t _internal_pause_type() const; + void _internal_set_pause_type(::RequestPause_t value); + public: + + // optional int32 pause_group = 2; + bool has_pause_group() const; + private: + bool _internal_has_pause_group() const; + public: + void clear_pause_group(); + int32_t pause_group() const; + void set_pause_group(int32_t value); + private: + int32_t _internal_pause_group() const; + void _internal_set_pause_group(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_RequestPause) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int pause_type_; + int32_t pause_group_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_CmdKeyValues final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_CmdKeyValues) */ { + public: + inline CCLCMsg_CmdKeyValues() : CCLCMsg_CmdKeyValues(nullptr) {} + ~CCLCMsg_CmdKeyValues() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from); + CCLCMsg_CmdKeyValues(CCLCMsg_CmdKeyValues&& from) noexcept + : CCLCMsg_CmdKeyValues() { + *this = ::std::move(from); + } + + inline CCLCMsg_CmdKeyValues& operator=(const CCLCMsg_CmdKeyValues& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_CmdKeyValues& operator=(CCLCMsg_CmdKeyValues&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_CmdKeyValues& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_CmdKeyValues* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_CmdKeyValues_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CCLCMsg_CmdKeyValues& a, CCLCMsg_CmdKeyValues& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_CmdKeyValues* 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(CCLCMsg_CmdKeyValues* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_CmdKeyValues* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_CmdKeyValues& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_CmdKeyValues& from) { + CCLCMsg_CmdKeyValues::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(CCLCMsg_CmdKeyValues* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_CmdKeyValues"; + } + protected: + explicit CCLCMsg_CmdKeyValues(::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 { + kDataFieldNumber = 1, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_CmdKeyValues) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_RconServerDetails final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RconServerDetails) */ { + public: + inline CCLCMsg_RconServerDetails() : CCLCMsg_RconServerDetails(nullptr) {} + ~CCLCMsg_RconServerDetails() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_RconServerDetails(const CCLCMsg_RconServerDetails& from); + CCLCMsg_RconServerDetails(CCLCMsg_RconServerDetails&& from) noexcept + : CCLCMsg_RconServerDetails() { + *this = ::std::move(from); + } + + inline CCLCMsg_RconServerDetails& operator=(const CCLCMsg_RconServerDetails& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_RconServerDetails& operator=(CCLCMsg_RconServerDetails&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_RconServerDetails& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_RconServerDetails* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_RconServerDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CCLCMsg_RconServerDetails& a, CCLCMsg_RconServerDetails& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_RconServerDetails* 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(CCLCMsg_RconServerDetails* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_RconServerDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_RconServerDetails& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_RconServerDetails& from) { + CCLCMsg_RconServerDetails::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(CCLCMsg_RconServerDetails* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_RconServerDetails"; + } + protected: + explicit CCLCMsg_RconServerDetails(::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 { + kTokenFieldNumber = 1, + }; + // optional bytes token = 1; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + const std::string& token() const; + template + void set_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_token(); + PROTOBUF_NODISCARD std::string* release_token(); + void set_allocated_token(std::string* token); + private: + const std::string& _internal_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); + std::string* _internal_mutable_token(); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_RconServerDetails) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2SystemSpecs final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2SystemSpecs) */ { + public: + inline CMsgSource2SystemSpecs() : CMsgSource2SystemSpecs(nullptr) {} + ~CMsgSource2SystemSpecs() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from); + CMsgSource2SystemSpecs(CMsgSource2SystemSpecs&& from) noexcept + : CMsgSource2SystemSpecs() { + *this = ::std::move(from); + } + + inline CMsgSource2SystemSpecs& operator=(const CMsgSource2SystemSpecs& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2SystemSpecs& operator=(CMsgSource2SystemSpecs&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2SystemSpecs& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2SystemSpecs* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2SystemSpecs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CMsgSource2SystemSpecs& a, CMsgSource2SystemSpecs& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2SystemSpecs* 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(CMsgSource2SystemSpecs* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2SystemSpecs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2SystemSpecs& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2SystemSpecs& from) { + CMsgSource2SystemSpecs::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(CMsgSource2SystemSpecs* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2SystemSpecs"; + } + protected: + explicit CMsgSource2SystemSpecs(::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 { + kCpuIdFieldNumber = 1, + kCpuBrandFieldNumber = 2, + kGpuRendersystemDllNameFieldNumber = 41, + kGpuDriverNameFieldNumber = 43, + kCpuModelFieldNumber = 3, + kCpuNumPhysicalFieldNumber = 4, + kRamPhysicalTotalMbFieldNumber = 21, + kGpuVendorIdFieldNumber = 42, + kGpuDriverVersionHighFieldNumber = 44, + kGpuDriverVersionLowFieldNumber = 45, + kGpuDxSupportLevelFieldNumber = 46, + kGpuTextureMemorySizeMbFieldNumber = 47, + kBackbufferWidthFieldNumber = 51, + kBackbufferHeightFieldNumber = 52, + }; + // optional string cpu_id = 1; + bool has_cpu_id() const; + private: + bool _internal_has_cpu_id() const; + public: + void clear_cpu_id(); + const std::string& cpu_id() const; + template + void set_cpu_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_cpu_id(); + PROTOBUF_NODISCARD std::string* release_cpu_id(); + void set_allocated_cpu_id(std::string* cpu_id); + private: + const std::string& _internal_cpu_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_id(const std::string& value); + std::string* _internal_mutable_cpu_id(); + public: + + // optional string cpu_brand = 2; + bool has_cpu_brand() const; + private: + bool _internal_has_cpu_brand() const; + public: + void clear_cpu_brand(); + const std::string& cpu_brand() const; + template + void set_cpu_brand(ArgT0&& arg0, ArgT... args); + std::string* mutable_cpu_brand(); + PROTOBUF_NODISCARD std::string* release_cpu_brand(); + void set_allocated_cpu_brand(std::string* cpu_brand); + private: + const std::string& _internal_cpu_brand() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_brand(const std::string& value); + std::string* _internal_mutable_cpu_brand(); + public: + + // optional string gpu_rendersystem_dll_name = 41; + bool has_gpu_rendersystem_dll_name() const; + private: + bool _internal_has_gpu_rendersystem_dll_name() const; + public: + void clear_gpu_rendersystem_dll_name(); + const std::string& gpu_rendersystem_dll_name() const; + template + void set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_gpu_rendersystem_dll_name(); + PROTOBUF_NODISCARD std::string* release_gpu_rendersystem_dll_name(); + void set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name); + private: + const std::string& _internal_gpu_rendersystem_dll_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_rendersystem_dll_name(const std::string& value); + std::string* _internal_mutable_gpu_rendersystem_dll_name(); + public: + + // optional string gpu_driver_name = 43; + bool has_gpu_driver_name() const; + private: + bool _internal_has_gpu_driver_name() const; + public: + void clear_gpu_driver_name(); + const std::string& gpu_driver_name() const; + template + void set_gpu_driver_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_gpu_driver_name(); + PROTOBUF_NODISCARD std::string* release_gpu_driver_name(); + void set_allocated_gpu_driver_name(std::string* gpu_driver_name); + private: + const std::string& _internal_gpu_driver_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_driver_name(const std::string& value); + std::string* _internal_mutable_gpu_driver_name(); + public: + + // optional uint32 cpu_model = 3; + bool has_cpu_model() const; + private: + bool _internal_has_cpu_model() const; + public: + void clear_cpu_model(); + uint32_t cpu_model() const; + void set_cpu_model(uint32_t value); + private: + uint32_t _internal_cpu_model() const; + void _internal_set_cpu_model(uint32_t value); + public: + + // optional uint32 cpu_num_physical = 4; + bool has_cpu_num_physical() const; + private: + bool _internal_has_cpu_num_physical() const; + public: + void clear_cpu_num_physical(); + uint32_t cpu_num_physical() const; + void set_cpu_num_physical(uint32_t value); + private: + uint32_t _internal_cpu_num_physical() const; + void _internal_set_cpu_num_physical(uint32_t value); + public: + + // optional uint32 ram_physical_total_mb = 21; + bool has_ram_physical_total_mb() const; + private: + bool _internal_has_ram_physical_total_mb() const; + public: + void clear_ram_physical_total_mb(); + uint32_t ram_physical_total_mb() const; + void set_ram_physical_total_mb(uint32_t value); + private: + uint32_t _internal_ram_physical_total_mb() const; + void _internal_set_ram_physical_total_mb(uint32_t value); + public: + + // optional uint32 gpu_vendor_id = 42; + bool has_gpu_vendor_id() const; + private: + bool _internal_has_gpu_vendor_id() const; + public: + void clear_gpu_vendor_id(); + uint32_t gpu_vendor_id() const; + void set_gpu_vendor_id(uint32_t value); + private: + uint32_t _internal_gpu_vendor_id() const; + void _internal_set_gpu_vendor_id(uint32_t value); + public: + + // optional uint32 gpu_driver_version_high = 44; + bool has_gpu_driver_version_high() const; + private: + bool _internal_has_gpu_driver_version_high() const; + public: + void clear_gpu_driver_version_high(); + uint32_t gpu_driver_version_high() const; + void set_gpu_driver_version_high(uint32_t value); + private: + uint32_t _internal_gpu_driver_version_high() const; + void _internal_set_gpu_driver_version_high(uint32_t value); + public: + + // optional uint32 gpu_driver_version_low = 45; + bool has_gpu_driver_version_low() const; + private: + bool _internal_has_gpu_driver_version_low() const; + public: + void clear_gpu_driver_version_low(); + uint32_t gpu_driver_version_low() const; + void set_gpu_driver_version_low(uint32_t value); + private: + uint32_t _internal_gpu_driver_version_low() const; + void _internal_set_gpu_driver_version_low(uint32_t value); + public: + + // optional uint32 gpu_dx_support_level = 46; + bool has_gpu_dx_support_level() const; + private: + bool _internal_has_gpu_dx_support_level() const; + public: + void clear_gpu_dx_support_level(); + uint32_t gpu_dx_support_level() const; + void set_gpu_dx_support_level(uint32_t value); + private: + uint32_t _internal_gpu_dx_support_level() const; + void _internal_set_gpu_dx_support_level(uint32_t value); + public: + + // optional uint32 gpu_texture_memory_size_mb = 47; + bool has_gpu_texture_memory_size_mb() const; + private: + bool _internal_has_gpu_texture_memory_size_mb() const; + public: + void clear_gpu_texture_memory_size_mb(); + uint32_t gpu_texture_memory_size_mb() const; + void set_gpu_texture_memory_size_mb(uint32_t value); + private: + uint32_t _internal_gpu_texture_memory_size_mb() const; + void _internal_set_gpu_texture_memory_size_mb(uint32_t value); + public: + + // optional uint32 backbuffer_width = 51; + bool has_backbuffer_width() const; + private: + bool _internal_has_backbuffer_width() const; + public: + void clear_backbuffer_width(); + uint32_t backbuffer_width() const; + void set_backbuffer_width(uint32_t value); + private: + uint32_t _internal_backbuffer_width() const; + void _internal_set_backbuffer_width(uint32_t value); + public: + + // optional uint32 backbuffer_height = 52; + bool has_backbuffer_height() const; + private: + bool _internal_has_backbuffer_height() const; + public: + void clear_backbuffer_height(); + uint32_t backbuffer_height() const; + void set_backbuffer_height(uint32_t value); + private: + uint32_t _internal_backbuffer_height() const; + void _internal_set_backbuffer_height(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2SystemSpecs) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_brand_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_rendersystem_dll_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_driver_name_; + uint32_t cpu_model_; + uint32_t cpu_num_physical_; + uint32_t ram_physical_total_mb_; + uint32_t gpu_vendor_id_; + uint32_t gpu_driver_version_high_; + uint32_t gpu_driver_version_low_; + uint32_t gpu_dx_support_level_; + uint32_t gpu_texture_memory_size_mb_; + uint32_t backbuffer_width_; + uint32_t backbuffer_height_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2VProfLiteReportItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReportItem) */ { + public: + inline CMsgSource2VProfLiteReportItem() : CMsgSource2VProfLiteReportItem(nullptr) {} + ~CMsgSource2VProfLiteReportItem() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from); + CMsgSource2VProfLiteReportItem(CMsgSource2VProfLiteReportItem&& from) noexcept + : CMsgSource2VProfLiteReportItem() { + *this = ::std::move(from); + } + + inline CMsgSource2VProfLiteReportItem& operator=(const CMsgSource2VProfLiteReportItem& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2VProfLiteReportItem& operator=(CMsgSource2VProfLiteReportItem&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2VProfLiteReportItem& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2VProfLiteReportItem* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2VProfLiteReportItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CMsgSource2VProfLiteReportItem& a, CMsgSource2VProfLiteReportItem& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2VProfLiteReportItem* 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(CMsgSource2VProfLiteReportItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2VProfLiteReportItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2VProfLiteReportItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2VProfLiteReportItem& from) { + CMsgSource2VProfLiteReportItem::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(CMsgSource2VProfLiteReportItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2VProfLiteReportItem"; + } + protected: + explicit CMsgSource2VProfLiteReportItem(::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, + kActiveSamplesFieldNumber = 2, + kUsecMaxFieldNumber = 3, + kActiveSamples1SecmaxFieldNumber = 4, + kUsecAvgActiveFieldNumber = 11, + kUsecP50ActiveFieldNumber = 12, + kUsecP99ActiveFieldNumber = 13, + kUsecAvgAllFieldNumber = 21, + kUsecP50AllFieldNumber = 22, + kUsecP99AllFieldNumber = 23, + kUsec1SecmaxAvgActiveFieldNumber = 31, + kUsec1SecmaxP50ActiveFieldNumber = 32, + kUsec1SecmaxP95ActiveFieldNumber = 33, + kUsec1SecmaxP99ActiveFieldNumber = 34, + kUsec1SecmaxAvgAllFieldNumber = 41, + kUsec1SecmaxP50AllFieldNumber = 42, + kUsec1SecmaxP95AllFieldNumber = 43, + kUsec1SecmaxP99AllFieldNumber = 44, + }; + // optional string name = 1; + 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: + + // optional uint32 active_samples = 2; + bool has_active_samples() const; + private: + bool _internal_has_active_samples() const; + public: + void clear_active_samples(); + uint32_t active_samples() const; + void set_active_samples(uint32_t value); + private: + uint32_t _internal_active_samples() const; + void _internal_set_active_samples(uint32_t value); + public: + + // optional uint32 usec_max = 3; + bool has_usec_max() const; + private: + bool _internal_has_usec_max() const; + public: + void clear_usec_max(); + uint32_t usec_max() const; + void set_usec_max(uint32_t value); + private: + uint32_t _internal_usec_max() const; + void _internal_set_usec_max(uint32_t value); + public: + + // optional uint32 active_samples_1secmax = 4; + bool has_active_samples_1secmax() const; + private: + bool _internal_has_active_samples_1secmax() const; + public: + void clear_active_samples_1secmax(); + uint32_t active_samples_1secmax() const; + void set_active_samples_1secmax(uint32_t value); + private: + uint32_t _internal_active_samples_1secmax() const; + void _internal_set_active_samples_1secmax(uint32_t value); + public: + + // optional uint32 usec_avg_active = 11; + bool has_usec_avg_active() const; + private: + bool _internal_has_usec_avg_active() const; + public: + void clear_usec_avg_active(); + uint32_t usec_avg_active() const; + void set_usec_avg_active(uint32_t value); + private: + uint32_t _internal_usec_avg_active() const; + void _internal_set_usec_avg_active(uint32_t value); + public: + + // optional uint32 usec_p50_active = 12; + bool has_usec_p50_active() const; + private: + bool _internal_has_usec_p50_active() const; + public: + void clear_usec_p50_active(); + uint32_t usec_p50_active() const; + void set_usec_p50_active(uint32_t value); + private: + uint32_t _internal_usec_p50_active() const; + void _internal_set_usec_p50_active(uint32_t value); + public: + + // optional uint32 usec_p99_active = 13; + bool has_usec_p99_active() const; + private: + bool _internal_has_usec_p99_active() const; + public: + void clear_usec_p99_active(); + uint32_t usec_p99_active() const; + void set_usec_p99_active(uint32_t value); + private: + uint32_t _internal_usec_p99_active() const; + void _internal_set_usec_p99_active(uint32_t value); + public: + + // optional uint32 usec_avg_all = 21; + bool has_usec_avg_all() const; + private: + bool _internal_has_usec_avg_all() const; + public: + void clear_usec_avg_all(); + uint32_t usec_avg_all() const; + void set_usec_avg_all(uint32_t value); + private: + uint32_t _internal_usec_avg_all() const; + void _internal_set_usec_avg_all(uint32_t value); + public: + + // optional uint32 usec_p50_all = 22; + bool has_usec_p50_all() const; + private: + bool _internal_has_usec_p50_all() const; + public: + void clear_usec_p50_all(); + uint32_t usec_p50_all() const; + void set_usec_p50_all(uint32_t value); + private: + uint32_t _internal_usec_p50_all() const; + void _internal_set_usec_p50_all(uint32_t value); + public: + + // optional uint32 usec_p99_all = 23; + bool has_usec_p99_all() const; + private: + bool _internal_has_usec_p99_all() const; + public: + void clear_usec_p99_all(); + uint32_t usec_p99_all() const; + void set_usec_p99_all(uint32_t value); + private: + uint32_t _internal_usec_p99_all() const; + void _internal_set_usec_p99_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_avg_active = 31; + bool has_usec_1secmax_avg_active() const; + private: + bool _internal_has_usec_1secmax_avg_active() const; + public: + void clear_usec_1secmax_avg_active(); + uint32_t usec_1secmax_avg_active() const; + void set_usec_1secmax_avg_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_avg_active() const; + void _internal_set_usec_1secmax_avg_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p50_active = 32; + bool has_usec_1secmax_p50_active() const; + private: + bool _internal_has_usec_1secmax_p50_active() const; + public: + void clear_usec_1secmax_p50_active(); + uint32_t usec_1secmax_p50_active() const; + void set_usec_1secmax_p50_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p50_active() const; + void _internal_set_usec_1secmax_p50_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p95_active = 33; + bool has_usec_1secmax_p95_active() const; + private: + bool _internal_has_usec_1secmax_p95_active() const; + public: + void clear_usec_1secmax_p95_active(); + uint32_t usec_1secmax_p95_active() const; + void set_usec_1secmax_p95_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p95_active() const; + void _internal_set_usec_1secmax_p95_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_p99_active = 34; + bool has_usec_1secmax_p99_active() const; + private: + bool _internal_has_usec_1secmax_p99_active() const; + public: + void clear_usec_1secmax_p99_active(); + uint32_t usec_1secmax_p99_active() const; + void set_usec_1secmax_p99_active(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p99_active() const; + void _internal_set_usec_1secmax_p99_active(uint32_t value); + public: + + // optional uint32 usec_1secmax_avg_all = 41; + bool has_usec_1secmax_avg_all() const; + private: + bool _internal_has_usec_1secmax_avg_all() const; + public: + void clear_usec_1secmax_avg_all(); + uint32_t usec_1secmax_avg_all() const; + void set_usec_1secmax_avg_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_avg_all() const; + void _internal_set_usec_1secmax_avg_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p50_all = 42; + bool has_usec_1secmax_p50_all() const; + private: + bool _internal_has_usec_1secmax_p50_all() const; + public: + void clear_usec_1secmax_p50_all(); + uint32_t usec_1secmax_p50_all() const; + void set_usec_1secmax_p50_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p50_all() const; + void _internal_set_usec_1secmax_p50_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p95_all = 43; + bool has_usec_1secmax_p95_all() const; + private: + bool _internal_has_usec_1secmax_p95_all() const; + public: + void clear_usec_1secmax_p95_all(); + uint32_t usec_1secmax_p95_all() const; + void set_usec_1secmax_p95_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p95_all() const; + void _internal_set_usec_1secmax_p95_all(uint32_t value); + public: + + // optional uint32 usec_1secmax_p99_all = 44; + bool has_usec_1secmax_p99_all() const; + private: + bool _internal_has_usec_1secmax_p99_all() const; + public: + void clear_usec_1secmax_p99_all(); + uint32_t usec_1secmax_p99_all() const; + void set_usec_1secmax_p99_all(uint32_t value); + private: + uint32_t _internal_usec_1secmax_p99_all() const; + void _internal_set_usec_1secmax_p99_all(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReportItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint32_t active_samples_; + uint32_t usec_max_; + uint32_t active_samples_1secmax_; + uint32_t usec_avg_active_; + uint32_t usec_p50_active_; + uint32_t usec_p99_active_; + uint32_t usec_avg_all_; + uint32_t usec_p50_all_; + uint32_t usec_p99_all_; + uint32_t usec_1secmax_avg_active_; + uint32_t usec_1secmax_p50_active_; + uint32_t usec_1secmax_p95_active_; + uint32_t usec_1secmax_p99_active_; + uint32_t usec_1secmax_avg_all_; + uint32_t usec_1secmax_p50_all_; + uint32_t usec_1secmax_p95_all_; + uint32_t usec_1secmax_p99_all_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2VProfLiteReport final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReport) */ { + public: + inline CMsgSource2VProfLiteReport() : CMsgSource2VProfLiteReport(nullptr) {} + ~CMsgSource2VProfLiteReport() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from); + CMsgSource2VProfLiteReport(CMsgSource2VProfLiteReport&& from) noexcept + : CMsgSource2VProfLiteReport() { + *this = ::std::move(from); + } + + inline CMsgSource2VProfLiteReport& operator=(const CMsgSource2VProfLiteReport& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2VProfLiteReport& operator=(CMsgSource2VProfLiteReport&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2VProfLiteReport& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2VProfLiteReport* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2VProfLiteReport_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CMsgSource2VProfLiteReport& a, CMsgSource2VProfLiteReport& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2VProfLiteReport* 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(CMsgSource2VProfLiteReport* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2VProfLiteReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2VProfLiteReport& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2VProfLiteReport& from) { + CMsgSource2VProfLiteReport::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(CMsgSource2VProfLiteReport* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2VProfLiteReport"; + } + protected: + explicit CMsgSource2VProfLiteReport(::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 { + kItemsFieldNumber = 2, + kTotalFieldNumber = 1, + kDiscardedFramesFieldNumber = 3, + }; + // repeated .CMsgSource2VProfLiteReportItem items = 2; + int items_size() const; + private: + int _internal_items_size() const; + public: + void clear_items(); + ::CMsgSource2VProfLiteReportItem* mutable_items(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* + mutable_items(); + private: + const ::CMsgSource2VProfLiteReportItem& _internal_items(int index) const; + ::CMsgSource2VProfLiteReportItem* _internal_add_items(); + public: + const ::CMsgSource2VProfLiteReportItem& items(int index) const; + ::CMsgSource2VProfLiteReportItem* add_items(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& + items() const; + + // optional .CMsgSource2VProfLiteReportItem total = 1; + bool has_total() const; + private: + bool _internal_has_total() const; + public: + void clear_total(); + const ::CMsgSource2VProfLiteReportItem& total() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReportItem* release_total(); + ::CMsgSource2VProfLiteReportItem* mutable_total(); + void set_allocated_total(::CMsgSource2VProfLiteReportItem* total); + private: + const ::CMsgSource2VProfLiteReportItem& _internal_total() const; + ::CMsgSource2VProfLiteReportItem* _internal_mutable_total(); + public: + void unsafe_arena_set_allocated_total( + ::CMsgSource2VProfLiteReportItem* total); + ::CMsgSource2VProfLiteReportItem* unsafe_arena_release_total(); + + // optional uint32 discarded_frames = 3; + bool has_discarded_frames() const; + private: + bool _internal_has_discarded_frames() const; + public: + void clear_discarded_frames(); + uint32_t discarded_frames() const; + void set_discarded_frames(uint32_t value); + private: + uint32_t _internal_discarded_frames() const; + void _internal_set_discarded_frames(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReport) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem > items_; + ::CMsgSource2VProfLiteReportItem* total_; + uint32_t discarded_frames_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2NetworkFlowQuality final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2NetworkFlowQuality) */ { + public: + inline CMsgSource2NetworkFlowQuality() : CMsgSource2NetworkFlowQuality(nullptr) {} + ~CMsgSource2NetworkFlowQuality() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from); + CMsgSource2NetworkFlowQuality(CMsgSource2NetworkFlowQuality&& from) noexcept + : CMsgSource2NetworkFlowQuality() { + *this = ::std::move(from); + } + + inline CMsgSource2NetworkFlowQuality& operator=(const CMsgSource2NetworkFlowQuality& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2NetworkFlowQuality& operator=(CMsgSource2NetworkFlowQuality&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2NetworkFlowQuality& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2NetworkFlowQuality* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2NetworkFlowQuality_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CMsgSource2NetworkFlowQuality& a, CMsgSource2NetworkFlowQuality& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2NetworkFlowQuality* 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(CMsgSource2NetworkFlowQuality* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2NetworkFlowQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2NetworkFlowQuality& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2NetworkFlowQuality& from) { + CMsgSource2NetworkFlowQuality::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(CMsgSource2NetworkFlowQuality* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2NetworkFlowQuality"; + } + protected: + explicit CMsgSource2NetworkFlowQuality(::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 { + kBytesTotalFieldNumber = 5, + kDurationFieldNumber = 1, + kBytesSecP95FieldNumber = 10, + kBytesTotalReliableFieldNumber = 6, + kBytesTotalVoiceFieldNumber = 7, + kBytesSecP99FieldNumber = 11, + kEnginemsgsTotalFieldNumber = 20, + kEnginemsgsSecP95FieldNumber = 21, + kEnginemsgsSecP99FieldNumber = 22, + kTicksTotalFieldNumber = 40, + kTicksGoodFieldNumber = 41, + kTicksGoodAlmostLateFieldNumber = 42, + kTicksFixedDroppedFieldNumber = 43, + kTicksFixedLateFieldNumber = 44, + kTicksBadDroppedFieldNumber = 45, + kTicksBadLateFieldNumber = 46, + kTicksBadOtherFieldNumber = 47, + kTickMissrateSamplesTotalFieldNumber = 50, + kTickMissrateSamplesPerfectFieldNumber = 51, + kTickMissrateSamplesPerfectnetFieldNumber = 52, + kTickMissratenetP75X10FieldNumber = 53, + kTickMissratenetP95X10FieldNumber = 54, + kTickMissratenetP99X10FieldNumber = 55, + kRecvmarginP1FieldNumber = 61, + kRecvmarginP5FieldNumber = 62, + kRecvmarginP25FieldNumber = 63, + kRecvmarginP50FieldNumber = 64, + kRecvmarginP75FieldNumber = 65, + kRecvmarginP95FieldNumber = 66, + }; + // optional uint64 bytes_total = 5; + bool has_bytes_total() const; + private: + bool _internal_has_bytes_total() const; + public: + void clear_bytes_total(); + uint64_t bytes_total() const; + void set_bytes_total(uint64_t value); + private: + uint64_t _internal_bytes_total() const; + void _internal_set_bytes_total(uint64_t value); + public: + + // optional uint32 duration = 1; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + uint32_t duration() const; + void set_duration(uint32_t value); + private: + uint32_t _internal_duration() const; + void _internal_set_duration(uint32_t value); + public: + + // optional uint32 bytes_sec_p95 = 10; + bool has_bytes_sec_p95() const; + private: + bool _internal_has_bytes_sec_p95() const; + public: + void clear_bytes_sec_p95(); + uint32_t bytes_sec_p95() const; + void set_bytes_sec_p95(uint32_t value); + private: + uint32_t _internal_bytes_sec_p95() const; + void _internal_set_bytes_sec_p95(uint32_t value); + public: + + // optional uint64 bytes_total_reliable = 6; + bool has_bytes_total_reliable() const; + private: + bool _internal_has_bytes_total_reliable() const; + public: + void clear_bytes_total_reliable(); + uint64_t bytes_total_reliable() const; + void set_bytes_total_reliable(uint64_t value); + private: + uint64_t _internal_bytes_total_reliable() const; + void _internal_set_bytes_total_reliable(uint64_t value); + public: + + // optional uint64 bytes_total_voice = 7; + bool has_bytes_total_voice() const; + private: + bool _internal_has_bytes_total_voice() const; + public: + void clear_bytes_total_voice(); + uint64_t bytes_total_voice() const; + void set_bytes_total_voice(uint64_t value); + private: + uint64_t _internal_bytes_total_voice() const; + void _internal_set_bytes_total_voice(uint64_t value); + public: + + // optional uint32 bytes_sec_p99 = 11; + bool has_bytes_sec_p99() const; + private: + bool _internal_has_bytes_sec_p99() const; + public: + void clear_bytes_sec_p99(); + uint32_t bytes_sec_p99() const; + void set_bytes_sec_p99(uint32_t value); + private: + uint32_t _internal_bytes_sec_p99() const; + void _internal_set_bytes_sec_p99(uint32_t value); + public: + + // optional uint32 enginemsgs_total = 20; + bool has_enginemsgs_total() const; + private: + bool _internal_has_enginemsgs_total() const; + public: + void clear_enginemsgs_total(); + uint32_t enginemsgs_total() const; + void set_enginemsgs_total(uint32_t value); + private: + uint32_t _internal_enginemsgs_total() const; + void _internal_set_enginemsgs_total(uint32_t value); + public: + + // optional uint32 enginemsgs_sec_p95 = 21; + bool has_enginemsgs_sec_p95() const; + private: + bool _internal_has_enginemsgs_sec_p95() const; + public: + void clear_enginemsgs_sec_p95(); + uint32_t enginemsgs_sec_p95() const; + void set_enginemsgs_sec_p95(uint32_t value); + private: + uint32_t _internal_enginemsgs_sec_p95() const; + void _internal_set_enginemsgs_sec_p95(uint32_t value); + public: + + // optional uint32 enginemsgs_sec_p99 = 22; + bool has_enginemsgs_sec_p99() const; + private: + bool _internal_has_enginemsgs_sec_p99() const; + public: + void clear_enginemsgs_sec_p99(); + uint32_t enginemsgs_sec_p99() const; + void set_enginemsgs_sec_p99(uint32_t value); + private: + uint32_t _internal_enginemsgs_sec_p99() const; + void _internal_set_enginemsgs_sec_p99(uint32_t value); + public: + + // optional uint32 ticks_total = 40; + bool has_ticks_total() const; + private: + bool _internal_has_ticks_total() const; + public: + void clear_ticks_total(); + uint32_t ticks_total() const; + void set_ticks_total(uint32_t value); + private: + uint32_t _internal_ticks_total() const; + void _internal_set_ticks_total(uint32_t value); + public: + + // optional uint32 ticks_good = 41; + bool has_ticks_good() const; + private: + bool _internal_has_ticks_good() const; + public: + void clear_ticks_good(); + uint32_t ticks_good() const; + void set_ticks_good(uint32_t value); + private: + uint32_t _internal_ticks_good() const; + void _internal_set_ticks_good(uint32_t value); + public: + + // optional uint32 ticks_good_almost_late = 42; + bool has_ticks_good_almost_late() const; + private: + bool _internal_has_ticks_good_almost_late() const; + public: + void clear_ticks_good_almost_late(); + uint32_t ticks_good_almost_late() const; + void set_ticks_good_almost_late(uint32_t value); + private: + uint32_t _internal_ticks_good_almost_late() const; + void _internal_set_ticks_good_almost_late(uint32_t value); + public: + + // optional uint32 ticks_fixed_dropped = 43; + bool has_ticks_fixed_dropped() const; + private: + bool _internal_has_ticks_fixed_dropped() const; + public: + void clear_ticks_fixed_dropped(); + uint32_t ticks_fixed_dropped() const; + void set_ticks_fixed_dropped(uint32_t value); + private: + uint32_t _internal_ticks_fixed_dropped() const; + void _internal_set_ticks_fixed_dropped(uint32_t value); + public: + + // optional uint32 ticks_fixed_late = 44; + bool has_ticks_fixed_late() const; + private: + bool _internal_has_ticks_fixed_late() const; + public: + void clear_ticks_fixed_late(); + uint32_t ticks_fixed_late() const; + void set_ticks_fixed_late(uint32_t value); + private: + uint32_t _internal_ticks_fixed_late() const; + void _internal_set_ticks_fixed_late(uint32_t value); + public: + + // optional uint32 ticks_bad_dropped = 45; + bool has_ticks_bad_dropped() const; + private: + bool _internal_has_ticks_bad_dropped() const; + public: + void clear_ticks_bad_dropped(); + uint32_t ticks_bad_dropped() const; + void set_ticks_bad_dropped(uint32_t value); + private: + uint32_t _internal_ticks_bad_dropped() const; + void _internal_set_ticks_bad_dropped(uint32_t value); + public: + + // optional uint32 ticks_bad_late = 46; + bool has_ticks_bad_late() const; + private: + bool _internal_has_ticks_bad_late() const; + public: + void clear_ticks_bad_late(); + uint32_t ticks_bad_late() const; + void set_ticks_bad_late(uint32_t value); + private: + uint32_t _internal_ticks_bad_late() const; + void _internal_set_ticks_bad_late(uint32_t value); + public: + + // optional uint32 ticks_bad_other = 47; + bool has_ticks_bad_other() const; + private: + bool _internal_has_ticks_bad_other() const; + public: + void clear_ticks_bad_other(); + uint32_t ticks_bad_other() const; + void set_ticks_bad_other(uint32_t value); + private: + uint32_t _internal_ticks_bad_other() const; + void _internal_set_ticks_bad_other(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_total = 50; + bool has_tick_missrate_samples_total() const; + private: + bool _internal_has_tick_missrate_samples_total() const; + public: + void clear_tick_missrate_samples_total(); + uint32_t tick_missrate_samples_total() const; + void set_tick_missrate_samples_total(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_total() const; + void _internal_set_tick_missrate_samples_total(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_perfect = 51; + bool has_tick_missrate_samples_perfect() const; + private: + bool _internal_has_tick_missrate_samples_perfect() const; + public: + void clear_tick_missrate_samples_perfect(); + uint32_t tick_missrate_samples_perfect() const; + void set_tick_missrate_samples_perfect(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_perfect() const; + void _internal_set_tick_missrate_samples_perfect(uint32_t value); + public: + + // optional uint32 tick_missrate_samples_perfectnet = 52; + bool has_tick_missrate_samples_perfectnet() const; + private: + bool _internal_has_tick_missrate_samples_perfectnet() const; + public: + void clear_tick_missrate_samples_perfectnet(); + uint32_t tick_missrate_samples_perfectnet() const; + void set_tick_missrate_samples_perfectnet(uint32_t value); + private: + uint32_t _internal_tick_missrate_samples_perfectnet() const; + void _internal_set_tick_missrate_samples_perfectnet(uint32_t value); + public: + + // optional uint32 tick_missratenet_p75_x10 = 53; + bool has_tick_missratenet_p75_x10() const; + private: + bool _internal_has_tick_missratenet_p75_x10() const; + public: + void clear_tick_missratenet_p75_x10(); + uint32_t tick_missratenet_p75_x10() const; + void set_tick_missratenet_p75_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p75_x10() const; + void _internal_set_tick_missratenet_p75_x10(uint32_t value); + public: + + // optional uint32 tick_missratenet_p95_x10 = 54; + bool has_tick_missratenet_p95_x10() const; + private: + bool _internal_has_tick_missratenet_p95_x10() const; + public: + void clear_tick_missratenet_p95_x10(); + uint32_t tick_missratenet_p95_x10() const; + void set_tick_missratenet_p95_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p95_x10() const; + void _internal_set_tick_missratenet_p95_x10(uint32_t value); + public: + + // optional uint32 tick_missratenet_p99_x10 = 55; + bool has_tick_missratenet_p99_x10() const; + private: + bool _internal_has_tick_missratenet_p99_x10() const; + public: + void clear_tick_missratenet_p99_x10(); + uint32_t tick_missratenet_p99_x10() const; + void set_tick_missratenet_p99_x10(uint32_t value); + private: + uint32_t _internal_tick_missratenet_p99_x10() const; + void _internal_set_tick_missratenet_p99_x10(uint32_t value); + public: + + // optional sint32 recvmargin_p1 = 61; + bool has_recvmargin_p1() const; + private: + bool _internal_has_recvmargin_p1() const; + public: + void clear_recvmargin_p1(); + int32_t recvmargin_p1() const; + void set_recvmargin_p1(int32_t value); + private: + int32_t _internal_recvmargin_p1() const; + void _internal_set_recvmargin_p1(int32_t value); + public: + + // optional sint32 recvmargin_p5 = 62; + bool has_recvmargin_p5() const; + private: + bool _internal_has_recvmargin_p5() const; + public: + void clear_recvmargin_p5(); + int32_t recvmargin_p5() const; + void set_recvmargin_p5(int32_t value); + private: + int32_t _internal_recvmargin_p5() const; + void _internal_set_recvmargin_p5(int32_t value); + public: + + // optional sint32 recvmargin_p25 = 63; + bool has_recvmargin_p25() const; + private: + bool _internal_has_recvmargin_p25() const; + public: + void clear_recvmargin_p25(); + int32_t recvmargin_p25() const; + void set_recvmargin_p25(int32_t value); + private: + int32_t _internal_recvmargin_p25() const; + void _internal_set_recvmargin_p25(int32_t value); + public: + + // optional sint32 recvmargin_p50 = 64; + bool has_recvmargin_p50() const; + private: + bool _internal_has_recvmargin_p50() const; + public: + void clear_recvmargin_p50(); + int32_t recvmargin_p50() const; + void set_recvmargin_p50(int32_t value); + private: + int32_t _internal_recvmargin_p50() const; + void _internal_set_recvmargin_p50(int32_t value); + public: + + // optional sint32 recvmargin_p75 = 65; + bool has_recvmargin_p75() const; + private: + bool _internal_has_recvmargin_p75() const; + public: + void clear_recvmargin_p75(); + int32_t recvmargin_p75() const; + void set_recvmargin_p75(int32_t value); + private: + int32_t _internal_recvmargin_p75() const; + void _internal_set_recvmargin_p75(int32_t value); + public: + + // optional sint32 recvmargin_p95 = 66; + bool has_recvmargin_p95() const; + private: + bool _internal_has_recvmargin_p95() const; + public: + void clear_recvmargin_p95(); + int32_t recvmargin_p95() const; + void set_recvmargin_p95(int32_t value); + private: + int32_t _internal_recvmargin_p95() const; + void _internal_set_recvmargin_p95(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2NetworkFlowQuality) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t bytes_total_; + uint32_t duration_; + uint32_t bytes_sec_p95_; + uint64_t bytes_total_reliable_; + uint64_t bytes_total_voice_; + uint32_t bytes_sec_p99_; + uint32_t enginemsgs_total_; + uint32_t enginemsgs_sec_p95_; + uint32_t enginemsgs_sec_p99_; + uint32_t ticks_total_; + uint32_t ticks_good_; + uint32_t ticks_good_almost_late_; + uint32_t ticks_fixed_dropped_; + uint32_t ticks_fixed_late_; + uint32_t ticks_bad_dropped_; + uint32_t ticks_bad_late_; + uint32_t ticks_bad_other_; + uint32_t tick_missrate_samples_total_; + uint32_t tick_missrate_samples_perfect_; + uint32_t tick_missrate_samples_perfectnet_; + uint32_t tick_missratenet_p75_x10_; + uint32_t tick_missratenet_p95_x10_; + uint32_t tick_missratenet_p99_x10_; + int32_t recvmargin_p1_; + int32_t recvmargin_p5_; + int32_t recvmargin_p25_; + int32_t recvmargin_p50_; + int32_t recvmargin_p75_; + int32_t recvmargin_p95_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2PerfIntervalSample_Tag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample.Tag) */ { + public: + inline CMsgSource2PerfIntervalSample_Tag() : CMsgSource2PerfIntervalSample_Tag(nullptr) {} + ~CMsgSource2PerfIntervalSample_Tag() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from); + CMsgSource2PerfIntervalSample_Tag(CMsgSource2PerfIntervalSample_Tag&& from) noexcept + : CMsgSource2PerfIntervalSample_Tag() { + *this = ::std::move(from); + } + + inline CMsgSource2PerfIntervalSample_Tag& operator=(const CMsgSource2PerfIntervalSample_Tag& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2PerfIntervalSample_Tag& operator=(CMsgSource2PerfIntervalSample_Tag&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2PerfIntervalSample_Tag& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2PerfIntervalSample_Tag* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2PerfIntervalSample_Tag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CMsgSource2PerfIntervalSample_Tag& a, CMsgSource2PerfIntervalSample_Tag& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2PerfIntervalSample_Tag* 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(CMsgSource2PerfIntervalSample_Tag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2PerfIntervalSample_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2PerfIntervalSample_Tag& from) { + CMsgSource2PerfIntervalSample_Tag::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(CMsgSource2PerfIntervalSample_Tag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2PerfIntervalSample.Tag"; + } + protected: + explicit CMsgSource2PerfIntervalSample_Tag(::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 { + kTagFieldNumber = 1, + kMaxValueFieldNumber = 2, + }; + // optional string tag = 1; + bool has_tag() const; + private: + bool _internal_has_tag() const; + public: + void clear_tag(); + const std::string& tag() const; + template + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); + private: + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); + public: + + // optional uint32 max_value = 2; + bool has_max_value() const; + private: + bool _internal_has_max_value() const; + public: + void clear_max_value(); + uint32_t max_value() const; + void set_max_value(uint32_t value); + private: + uint32_t _internal_max_value() const; + void _internal_set_max_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample.Tag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + uint32_t max_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSource2PerfIntervalSample final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample) */ { + public: + inline CMsgSource2PerfIntervalSample() : CMsgSource2PerfIntervalSample(nullptr) {} + ~CMsgSource2PerfIntervalSample() override; + explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from); + CMsgSource2PerfIntervalSample(CMsgSource2PerfIntervalSample&& from) noexcept + : CMsgSource2PerfIntervalSample() { + *this = ::std::move(from); + } + + inline CMsgSource2PerfIntervalSample& operator=(const CMsgSource2PerfIntervalSample& from) { + CopyFrom(from); + return *this; + } + inline CMsgSource2PerfIntervalSample& operator=(CMsgSource2PerfIntervalSample&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSource2PerfIntervalSample& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSource2PerfIntervalSample* internal_default_instance() { + return reinterpret_cast( + &_CMsgSource2PerfIntervalSample_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgSource2PerfIntervalSample& a, CMsgSource2PerfIntervalSample& b) { + a.Swap(&b); + } + inline void Swap(CMsgSource2PerfIntervalSample* 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(CMsgSource2PerfIntervalSample* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSource2PerfIntervalSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSource2PerfIntervalSample& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSource2PerfIntervalSample& from) { + CMsgSource2PerfIntervalSample::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(CMsgSource2PerfIntervalSample* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSource2PerfIntervalSample"; + } + protected: + explicit CMsgSource2PerfIntervalSample(::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 ---------------------------------------------------- + + typedef CMsgSource2PerfIntervalSample_Tag Tag; + + // accessors ------------------------------------------------------- + + enum : int { + kTagsFieldNumber = 6, + kFrameTimeMaxMsFieldNumber = 1, + kFrameTimeAvgMsFieldNumber = 2, + kFrameTimeMinMsFieldNumber = 3, + kFrameCountFieldNumber = 4, + kFrameTimeTotalMsFieldNumber = 5, + }; + // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + ::CMsgSource2PerfIntervalSample_Tag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* + mutable_tags(); + private: + const ::CMsgSource2PerfIntervalSample_Tag& _internal_tags(int index) const; + ::CMsgSource2PerfIntervalSample_Tag* _internal_add_tags(); + public: + const ::CMsgSource2PerfIntervalSample_Tag& tags(int index) const; + ::CMsgSource2PerfIntervalSample_Tag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& + tags() const; + + // optional float frame_time_max_ms = 1; + bool has_frame_time_max_ms() const; + private: + bool _internal_has_frame_time_max_ms() const; + public: + void clear_frame_time_max_ms(); + float frame_time_max_ms() const; + void set_frame_time_max_ms(float value); + private: + float _internal_frame_time_max_ms() const; + void _internal_set_frame_time_max_ms(float value); + public: + + // optional float frame_time_avg_ms = 2; + bool has_frame_time_avg_ms() const; + private: + bool _internal_has_frame_time_avg_ms() const; + public: + void clear_frame_time_avg_ms(); + float frame_time_avg_ms() const; + void set_frame_time_avg_ms(float value); + private: + float _internal_frame_time_avg_ms() const; + void _internal_set_frame_time_avg_ms(float value); + public: + + // optional float frame_time_min_ms = 3; + bool has_frame_time_min_ms() const; + private: + bool _internal_has_frame_time_min_ms() const; + public: + void clear_frame_time_min_ms(); + float frame_time_min_ms() const; + void set_frame_time_min_ms(float value); + private: + float _internal_frame_time_min_ms() const; + void _internal_set_frame_time_min_ms(float value); + public: + + // optional int32 frame_count = 4; + bool has_frame_count() const; + private: + bool _internal_has_frame_count() const; + public: + void clear_frame_count(); + int32_t frame_count() const; + void set_frame_count(int32_t value); + private: + int32_t _internal_frame_count() const; + void _internal_set_frame_count(int32_t value); + public: + + // optional float frame_time_total_ms = 5; + bool has_frame_time_total_ms() const; + private: + bool _internal_has_frame_time_total_ms() const; + public: + void clear_frame_time_total_ms(); + float frame_time_total_ms() const; + void set_frame_time_total_ms(float value); + private: + float _internal_frame_time_total_ms() const; + void _internal_set_frame_time_total_ms(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag > tags_; + float frame_time_max_ms_; + float frame_time_avg_ms_; + float frame_time_min_ms_; + int32_t frame_count_; + float frame_time_total_ms_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_Diagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_Diagnostic) */ { + public: + inline CCLCMsg_Diagnostic() : CCLCMsg_Diagnostic(nullptr) {} + ~CCLCMsg_Diagnostic() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_Diagnostic(const CCLCMsg_Diagnostic& from); + CCLCMsg_Diagnostic(CCLCMsg_Diagnostic&& from) noexcept + : CCLCMsg_Diagnostic() { + *this = ::std::move(from); + } + + inline CCLCMsg_Diagnostic& operator=(const CCLCMsg_Diagnostic& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_Diagnostic& operator=(CCLCMsg_Diagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_Diagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_Diagnostic* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_Diagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CCLCMsg_Diagnostic& a, CCLCMsg_Diagnostic& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_Diagnostic* 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(CCLCMsg_Diagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_Diagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_Diagnostic& from) { + CCLCMsg_Diagnostic::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(CCLCMsg_Diagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_Diagnostic"; + } + protected: + explicit CCLCMsg_Diagnostic(::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 { + kPerfSamplesFieldNumber = 5, + kSystemSpecsFieldNumber = 1, + kVprofReportFieldNumber = 2, + kDownstreamFlowFieldNumber = 3, + kUpstreamFlowFieldNumber = 4, + }; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; + int perf_samples_size() const; + private: + int _internal_perf_samples_size() const; + public: + void clear_perf_samples(); + ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* + mutable_perf_samples(); + private: + const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); + public: + const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* add_perf_samples(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& + perf_samples() const; + + // optional .CMsgSource2SystemSpecs system_specs = 1; + bool has_system_specs() const; + private: + bool _internal_has_system_specs() const; + public: + void clear_system_specs(); + const ::CMsgSource2SystemSpecs& system_specs() const; + PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); + ::CMsgSource2SystemSpecs* mutable_system_specs(); + void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); + private: + const ::CMsgSource2SystemSpecs& _internal_system_specs() const; + ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); + public: + void unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs); + ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); + + // optional .CMsgSource2VProfLiteReport vprof_report = 2; + bool has_vprof_report() const; + private: + bool _internal_has_vprof_report() const; + public: + void clear_vprof_report(); + const ::CMsgSource2VProfLiteReport& vprof_report() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_vprof_report(); + ::CMsgSource2VProfLiteReport* mutable_vprof_report(); + void set_allocated_vprof_report(::CMsgSource2VProfLiteReport* vprof_report); + private: + const ::CMsgSource2VProfLiteReport& _internal_vprof_report() const; + ::CMsgSource2VProfLiteReport* _internal_mutable_vprof_report(); + public: + void unsafe_arena_set_allocated_vprof_report( + ::CMsgSource2VProfLiteReport* vprof_report); + ::CMsgSource2VProfLiteReport* unsafe_arena_release_vprof_report(); + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; + bool has_downstream_flow() const; + private: + bool _internal_has_downstream_flow() const; + public: + void clear_downstream_flow(); + const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); + void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); + public: + void unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; + bool has_upstream_flow() const; + private: + bool _internal_has_upstream_flow() const; + public: + void clear_upstream_flow(); + const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); + void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); + public: + void unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_Diagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; + ::CMsgSource2SystemSpecs* system_specs_; + ::CMsgSource2VProfLiteReport* vprof_report_; + ::CMsgSource2NetworkFlowQuality* downstream_flow_; + ::CMsgSource2NetworkFlowQuality* upstream_flow_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSource2Metrics_MatchPerfSummary_Notification_Client final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification.Client) */ { + public: + inline CSource2Metrics_MatchPerfSummary_Notification_Client() : CSource2Metrics_MatchPerfSummary_Notification_Client(nullptr) {} + ~CSource2Metrics_MatchPerfSummary_Notification_Client() override; + explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); + CSource2Metrics_MatchPerfSummary_Notification_Client(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept + : CSource2Metrics_MatchPerfSummary_Notification_Client() { + *this = ::std::move(from); + } + + inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { + CopyFrom(from); + return *this; + } + inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(CSource2Metrics_MatchPerfSummary_Notification_Client&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSource2Metrics_MatchPerfSummary_Notification_Client& default_instance() { + return *internal_default_instance(); + } + static inline const CSource2Metrics_MatchPerfSummary_Notification_Client* internal_default_instance() { + return reinterpret_cast( + &_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CSource2Metrics_MatchPerfSummary_Notification_Client& a, CSource2Metrics_MatchPerfSummary_Notification_Client& b) { + a.Swap(&b); + } + inline void Swap(CSource2Metrics_MatchPerfSummary_Notification_Client* 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(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSource2Metrics_MatchPerfSummary_Notification_Client* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { + CSource2Metrics_MatchPerfSummary_Notification_Client::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(CSource2Metrics_MatchPerfSummary_Notification_Client* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSource2Metrics_MatchPerfSummary_Notification.Client"; + } + protected: + explicit CSource2Metrics_MatchPerfSummary_Notification_Client(::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 { + kPerfSamplesFieldNumber = 11, + kSystemSpecsFieldNumber = 1, + kProfileFieldNumber = 2, + kDownstreamFlowFieldNumber = 4, + kUpstreamFlowFieldNumber = 5, + kSteamidFieldNumber = 10, + kBuildIdFieldNumber = 3, + }; + // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + int perf_samples_size() const; + private: + int _internal_perf_samples_size() const; + public: + void clear_perf_samples(); + ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* + mutable_perf_samples(); + private: + const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); + public: + const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; + ::CMsgSource2PerfIntervalSample* add_perf_samples(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& + perf_samples() const; + + // optional .CMsgSource2SystemSpecs system_specs = 1; + bool has_system_specs() const; + private: + bool _internal_has_system_specs() const; + public: + void clear_system_specs(); + const ::CMsgSource2SystemSpecs& system_specs() const; + PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); + ::CMsgSource2SystemSpecs* mutable_system_specs(); + void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); + private: + const ::CMsgSource2SystemSpecs& _internal_system_specs() const; + ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); + public: + void unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs); + ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); + + // optional .CMsgSource2VProfLiteReport profile = 2; + bool has_profile() const; + private: + bool _internal_has_profile() const; + public: + void clear_profile(); + const ::CMsgSource2VProfLiteReport& profile() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_profile(); + ::CMsgSource2VProfLiteReport* mutable_profile(); + void set_allocated_profile(::CMsgSource2VProfLiteReport* profile); + private: + const ::CMsgSource2VProfLiteReport& _internal_profile() const; + ::CMsgSource2VProfLiteReport* _internal_mutable_profile(); + public: + void unsafe_arena_set_allocated_profile( + ::CMsgSource2VProfLiteReport* profile); + ::CMsgSource2VProfLiteReport* unsafe_arena_release_profile(); + + // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + bool has_downstream_flow() const; + private: + bool _internal_has_downstream_flow() const; + public: + void clear_downstream_flow(); + const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); + void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); + public: + void unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); + + // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + bool has_upstream_flow() const; + private: + bool _internal_has_upstream_flow() const; + public: + void clear_upstream_flow(); + const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; + PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); + ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); + void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); + private: + const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; + ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); + public: + void unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow); + ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); + + // optional fixed64 steamid = 10; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 build_id = 3; + bool has_build_id() const; + private: + bool _internal_has_build_id() const; + public: + void clear_build_id(); + uint32_t build_id() const; + void set_build_id(uint32_t value); + private: + uint32_t _internal_build_id() const; + void _internal_set_build_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification.Client) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; + ::CMsgSource2SystemSpecs* system_specs_; + ::CMsgSource2VProfLiteReport* profile_; + ::CMsgSource2NetworkFlowQuality* downstream_flow_; + ::CMsgSource2NetworkFlowQuality* upstream_flow_; + uint64_t steamid_; + uint32_t build_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSource2Metrics_MatchPerfSummary_Notification final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification) */ { + public: + inline CSource2Metrics_MatchPerfSummary_Notification() : CSource2Metrics_MatchPerfSummary_Notification(nullptr) {} + ~CSource2Metrics_MatchPerfSummary_Notification() override; + explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from); + CSource2Metrics_MatchPerfSummary_Notification(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept + : CSource2Metrics_MatchPerfSummary_Notification() { + *this = ::std::move(from); + } + + inline CSource2Metrics_MatchPerfSummary_Notification& operator=(const CSource2Metrics_MatchPerfSummary_Notification& from) { + CopyFrom(from); + return *this; + } + inline CSource2Metrics_MatchPerfSummary_Notification& operator=(CSource2Metrics_MatchPerfSummary_Notification&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSource2Metrics_MatchPerfSummary_Notification& default_instance() { + return *internal_default_instance(); + } + static inline const CSource2Metrics_MatchPerfSummary_Notification* internal_default_instance() { + return reinterpret_cast( + &_CSource2Metrics_MatchPerfSummary_Notification_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CSource2Metrics_MatchPerfSummary_Notification& a, CSource2Metrics_MatchPerfSummary_Notification& b) { + a.Swap(&b); + } + inline void Swap(CSource2Metrics_MatchPerfSummary_Notification* 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(CSource2Metrics_MatchPerfSummary_Notification* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSource2Metrics_MatchPerfSummary_Notification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification& from) { + CSource2Metrics_MatchPerfSummary_Notification::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(CSource2Metrics_MatchPerfSummary_Notification* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSource2Metrics_MatchPerfSummary_Notification"; + } + protected: + explicit CSource2Metrics_MatchPerfSummary_Notification(::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 ---------------------------------------------------- + + typedef CSource2Metrics_MatchPerfSummary_Notification_Client Client; + + // accessors ------------------------------------------------------- + + enum : int { + kClientsFieldNumber = 11, + kGameModeFieldNumber = 2, + kMapFieldNumber = 20, + kServerProfileFieldNumber = 10, + kAppidFieldNumber = 1, + kServerBuildIdFieldNumber = 3, + kServerPopidFieldNumber = 4, + }; + // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + int clients_size() const; + private: + int _internal_clients_size() const; + public: + void clear_clients(); + ::CSource2Metrics_MatchPerfSummary_Notification_Client* mutable_clients(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* + mutable_clients(); + private: + const ::CSource2Metrics_MatchPerfSummary_Notification_Client& _internal_clients(int index) const; + ::CSource2Metrics_MatchPerfSummary_Notification_Client* _internal_add_clients(); + public: + const ::CSource2Metrics_MatchPerfSummary_Notification_Client& clients(int index) const; + ::CSource2Metrics_MatchPerfSummary_Notification_Client* add_clients(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& + clients() const; + + // optional string game_mode = 2; + bool has_game_mode() const; + private: + bool _internal_has_game_mode() const; + public: + void clear_game_mode(); + const std::string& game_mode() const; + template + void set_game_mode(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_mode(); + PROTOBUF_NODISCARD std::string* release_game_mode(); + void set_allocated_game_mode(std::string* game_mode); + private: + const std::string& _internal_game_mode() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); + std::string* _internal_mutable_game_mode(); + public: + + // optional string map = 20; + bool has_map() const; + private: + bool _internal_has_map() const; + public: + 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: + + // optional .CMsgSource2VProfLiteReport server_profile = 10; + bool has_server_profile() const; + private: + bool _internal_has_server_profile() const; + public: + void clear_server_profile(); + const ::CMsgSource2VProfLiteReport& server_profile() const; + PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_server_profile(); + ::CMsgSource2VProfLiteReport* mutable_server_profile(); + void set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile); + private: + const ::CMsgSource2VProfLiteReport& _internal_server_profile() const; + ::CMsgSource2VProfLiteReport* _internal_mutable_server_profile(); + public: + void unsafe_arena_set_allocated_server_profile( + ::CMsgSource2VProfLiteReport* server_profile); + ::CMsgSource2VProfLiteReport* unsafe_arena_release_server_profile(); + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 server_build_id = 3; + bool has_server_build_id() const; + private: + bool _internal_has_server_build_id() const; + public: + void clear_server_build_id(); + uint32_t server_build_id() const; + void set_server_build_id(uint32_t value); + private: + uint32_t _internal_server_build_id() const; + void _internal_set_server_build_id(uint32_t value); + public: + + // optional fixed32 server_popid = 4; + bool has_server_popid() const; + private: + bool _internal_has_server_popid() const; + public: + void clear_server_popid(); + uint32_t server_popid() const; + void set_server_popid(uint32_t value); + private: + uint32_t _internal_server_popid() const; + void _internal_set_server_popid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client > clients_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::CMsgSource2VProfLiteReport* server_profile_; + uint32_t appid_; + uint32_t server_build_id_; + uint32_t server_popid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ServerInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ServerInfo) */ { + public: + inline CSVCMsg_ServerInfo() : CSVCMsg_ServerInfo(nullptr) {} + ~CSVCMsg_ServerInfo() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_ServerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from); + CSVCMsg_ServerInfo(CSVCMsg_ServerInfo&& from) noexcept + : CSVCMsg_ServerInfo() { + *this = ::std::move(from); + } + + inline CSVCMsg_ServerInfo& operator=(const CSVCMsg_ServerInfo& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_ServerInfo& operator=(CSVCMsg_ServerInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_ServerInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_ServerInfo* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_ServerInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CSVCMsg_ServerInfo& a, CSVCMsg_ServerInfo& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_ServerInfo* 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(CSVCMsg_ServerInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_ServerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_ServerInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_ServerInfo& from) { + CSVCMsg_ServerInfo::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(CSVCMsg_ServerInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_ServerInfo"; + } + protected: + explicit CSVCMsg_ServerInfo(::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 { + kGameDirFieldNumber = 14, + kMapNameFieldNumber = 15, + kSkyNameFieldNumber = 16, + kHostNameFieldNumber = 17, + kAddonNameFieldNumber = 18, + kGameSessionManifestFieldNumber = 20, + kGameSessionConfigFieldNumber = 19, + kProtocolFieldNumber = 1, + kServerCountFieldNumber = 2, + kIsDedicatedFieldNumber = 3, + kIsHltvFieldNumber = 4, + kCOsFieldNumber = 6, + kMaxClientsFieldNumber = 10, + kMaxClassesFieldNumber = 11, + kTickIntervalFieldNumber = 13, + kPlayerSlotFieldNumber = 12, + }; + // optional string game_dir = 14; + bool has_game_dir() const; + private: + bool _internal_has_game_dir() const; + public: + void clear_game_dir(); + const std::string& game_dir() const; + template + void set_game_dir(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_dir(); + PROTOBUF_NODISCARD std::string* release_game_dir(); + void set_allocated_game_dir(std::string* game_dir); + private: + const std::string& _internal_game_dir() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_dir(const std::string& value); + std::string* _internal_mutable_game_dir(); + public: + + // optional string map_name = 15; + bool has_map_name() const; + private: + bool _internal_has_map_name() const; + public: + void clear_map_name(); + const std::string& map_name() const; + template + void set_map_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_map_name(); + PROTOBUF_NODISCARD std::string* release_map_name(); + void set_allocated_map_name(std::string* map_name); + private: + const std::string& _internal_map_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); + std::string* _internal_mutable_map_name(); + public: + + // optional string sky_name = 16; + bool has_sky_name() const; + private: + bool _internal_has_sky_name() const; + public: + void clear_sky_name(); + const std::string& sky_name() const; + template + void set_sky_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_sky_name(); + PROTOBUF_NODISCARD std::string* release_sky_name(); + void set_allocated_sky_name(std::string* sky_name); + private: + const std::string& _internal_sky_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sky_name(const std::string& value); + std::string* _internal_mutable_sky_name(); + public: + + // optional string host_name = 17; + bool has_host_name() const; + private: + bool _internal_has_host_name() const; + public: + void clear_host_name(); + const std::string& host_name() const; + template + void set_host_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_host_name(); + PROTOBUF_NODISCARD std::string* release_host_name(); + void set_allocated_host_name(std::string* host_name); + private: + const std::string& _internal_host_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_host_name(const std::string& value); + std::string* _internal_mutable_host_name(); + public: + + // optional string addon_name = 18; + bool has_addon_name() const; + private: + bool _internal_has_addon_name() const; + public: + void clear_addon_name(); + const std::string& addon_name() const; + template + void set_addon_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_addon_name(); + PROTOBUF_NODISCARD std::string* release_addon_name(); + void set_allocated_addon_name(std::string* addon_name); + private: + const std::string& _internal_addon_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_addon_name(const std::string& value); + std::string* _internal_mutable_addon_name(); + public: + + // optional bytes game_session_manifest = 20; + bool has_game_session_manifest() const; + private: + bool _internal_has_game_session_manifest() const; + public: + void clear_game_session_manifest(); + const std::string& game_session_manifest() const; + template + void set_game_session_manifest(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_session_manifest(); + PROTOBUF_NODISCARD std::string* release_game_session_manifest(); + void set_allocated_game_session_manifest(std::string* game_session_manifest); + private: + const std::string& _internal_game_session_manifest() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_session_manifest(const std::string& value); + std::string* _internal_mutable_game_session_manifest(); + public: + + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + bool has_game_session_config() const; + private: + bool _internal_has_game_session_config() const; + public: + void clear_game_session_config(); + const ::CSVCMsg_GameSessionConfiguration& game_session_config() const; + PROTOBUF_NODISCARD ::CSVCMsg_GameSessionConfiguration* release_game_session_config(); + ::CSVCMsg_GameSessionConfiguration* mutable_game_session_config(); + void set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config); + private: + const ::CSVCMsg_GameSessionConfiguration& _internal_game_session_config() const; + ::CSVCMsg_GameSessionConfiguration* _internal_mutable_game_session_config(); + public: + void unsafe_arena_set_allocated_game_session_config( + ::CSVCMsg_GameSessionConfiguration* game_session_config); + ::CSVCMsg_GameSessionConfiguration* unsafe_arena_release_game_session_config(); + + // optional int32 protocol = 1; + bool has_protocol() const; + private: + bool _internal_has_protocol() const; + public: + void clear_protocol(); + int32_t protocol() const; + void set_protocol(int32_t value); + private: + int32_t _internal_protocol() const; + void _internal_set_protocol(int32_t value); + public: + + // optional int32 server_count = 2; + bool has_server_count() const; + private: + bool _internal_has_server_count() const; + public: + void clear_server_count(); + int32_t server_count() const; + void set_server_count(int32_t value); + private: + int32_t _internal_server_count() const; + void _internal_set_server_count(int32_t value); + public: + + // optional bool is_dedicated = 3; + bool has_is_dedicated() const; + private: + bool _internal_has_is_dedicated() const; + public: + void clear_is_dedicated(); + bool is_dedicated() const; + void set_is_dedicated(bool value); + private: + bool _internal_is_dedicated() const; + void _internal_set_is_dedicated(bool value); + public: + + // optional bool is_hltv = 4; + bool has_is_hltv() const; + private: + bool _internal_has_is_hltv() const; + public: + void clear_is_hltv(); + bool is_hltv() const; + void set_is_hltv(bool value); + private: + bool _internal_is_hltv() const; + void _internal_set_is_hltv(bool value); + public: + + // optional int32 c_os = 6; + bool has_c_os() const; + private: + bool _internal_has_c_os() const; + public: + void clear_c_os(); + int32_t c_os() const; + void set_c_os(int32_t value); + private: + int32_t _internal_c_os() const; + void _internal_set_c_os(int32_t value); + public: + + // optional int32 max_clients = 10; + bool has_max_clients() const; + private: + bool _internal_has_max_clients() const; + public: + void clear_max_clients(); + int32_t max_clients() const; + void set_max_clients(int32_t value); + private: + int32_t _internal_max_clients() const; + void _internal_set_max_clients(int32_t value); + public: + + // optional int32 max_classes = 11; + bool has_max_classes() const; + private: + bool _internal_has_max_classes() const; + public: + void clear_max_classes(); + int32_t max_classes() const; + void set_max_classes(int32_t value); + private: + int32_t _internal_max_classes() const; + void _internal_set_max_classes(int32_t value); + public: + + // optional float tick_interval = 13; + bool has_tick_interval() const; + private: + bool _internal_has_tick_interval() const; + public: + void clear_tick_interval(); + float tick_interval() const; + void set_tick_interval(float value); + private: + float _internal_tick_interval() const; + void _internal_set_tick_interval(float value); + public: + + // optional int32 player_slot = 12 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_ServerInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_dir_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sky_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addon_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_session_manifest_; + ::CSVCMsg_GameSessionConfiguration* game_session_config_; + int32_t protocol_; + int32_t server_count_; + bool is_dedicated_; + bool is_hltv_; + int32_t c_os_; + int32_t max_clients_; + int32_t max_classes_; + float tick_interval_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClassInfo_class_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClassInfo.class_t) */ { + public: + inline CSVCMsg_ClassInfo_class_t() : CSVCMsg_ClassInfo_class_t(nullptr) {} + ~CSVCMsg_ClassInfo_class_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from); + CSVCMsg_ClassInfo_class_t(CSVCMsg_ClassInfo_class_t&& from) noexcept + : CSVCMsg_ClassInfo_class_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_ClassInfo_class_t& operator=(const CSVCMsg_ClassInfo_class_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_ClassInfo_class_t& operator=(CSVCMsg_ClassInfo_class_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_ClassInfo_class_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_ClassInfo_class_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_ClassInfo_class_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CSVCMsg_ClassInfo_class_t& a, CSVCMsg_ClassInfo_class_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_ClassInfo_class_t* 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(CSVCMsg_ClassInfo_class_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_ClassInfo_class_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_ClassInfo_class_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_ClassInfo_class_t& from) { + CSVCMsg_ClassInfo_class_t::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(CSVCMsg_ClassInfo_class_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_ClassInfo.class_t"; + } + protected: + explicit CSVCMsg_ClassInfo_class_t(::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 { + kClassNameFieldNumber = 3, + kClassIdFieldNumber = 1, + }; + // optional string class_name = 3; + bool has_class_name() const; + private: + bool _internal_has_class_name() const; + public: + void clear_class_name(); + const std::string& class_name() const; + template + void set_class_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_class_name(); + PROTOBUF_NODISCARD std::string* release_class_name(); + void set_allocated_class_name(std::string* class_name); + private: + const std::string& _internal_class_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_class_name(const std::string& value); + std::string* _internal_mutable_class_name(); + public: + + // optional int32 class_id = 1; + bool has_class_id() const; + private: + bool _internal_has_class_id() const; + public: + void clear_class_id(); + int32_t class_id() const; + void set_class_id(int32_t value); + private: + int32_t _internal_class_id() const; + void _internal_set_class_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo.class_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr class_name_; + int32_t class_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClassInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClassInfo) */ { + public: + inline CSVCMsg_ClassInfo() : CSVCMsg_ClassInfo(nullptr) {} + ~CSVCMsg_ClassInfo() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from); + CSVCMsg_ClassInfo(CSVCMsg_ClassInfo&& from) noexcept + : CSVCMsg_ClassInfo() { + *this = ::std::move(from); + } + + inline CSVCMsg_ClassInfo& operator=(const CSVCMsg_ClassInfo& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_ClassInfo& operator=(CSVCMsg_ClassInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_ClassInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_ClassInfo* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_ClassInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CSVCMsg_ClassInfo& a, CSVCMsg_ClassInfo& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_ClassInfo* 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(CSVCMsg_ClassInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_ClassInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_ClassInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_ClassInfo& from) { + CSVCMsg_ClassInfo::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(CSVCMsg_ClassInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_ClassInfo"; + } + protected: + explicit CSVCMsg_ClassInfo(::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 ---------------------------------------------------- + + typedef CSVCMsg_ClassInfo_class_t class_t; + + // accessors ------------------------------------------------------- + + enum : int { + kClassesFieldNumber = 2, + kCreateOnClientFieldNumber = 1, + }; + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + int classes_size() const; + private: + int _internal_classes_size() const; + public: + void clear_classes(); + ::CSVCMsg_ClassInfo_class_t* mutable_classes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* + mutable_classes(); + private: + const ::CSVCMsg_ClassInfo_class_t& _internal_classes(int index) const; + ::CSVCMsg_ClassInfo_class_t* _internal_add_classes(); + public: + const ::CSVCMsg_ClassInfo_class_t& classes(int index) const; + ::CSVCMsg_ClassInfo_class_t* add_classes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& + classes() const; + + // optional bool create_on_client = 1; + bool has_create_on_client() const; + private: + bool _internal_has_create_on_client() const; + public: + void clear_create_on_client(); + bool create_on_client() const; + void set_create_on_client(bool value); + private: + bool _internal_create_on_client() const; + void _internal_set_create_on_client(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t > classes_; + bool create_on_client_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SetPause final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SetPause) */ { + public: + inline CSVCMsg_SetPause() : CSVCMsg_SetPause(nullptr) {} + ~CSVCMsg_SetPause() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_SetPause(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_SetPause(const CSVCMsg_SetPause& from); + CSVCMsg_SetPause(CSVCMsg_SetPause&& from) noexcept + : CSVCMsg_SetPause() { + *this = ::std::move(from); + } + + inline CSVCMsg_SetPause& operator=(const CSVCMsg_SetPause& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_SetPause& operator=(CSVCMsg_SetPause&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_SetPause& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_SetPause* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_SetPause_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CSVCMsg_SetPause& a, CSVCMsg_SetPause& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_SetPause* 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(CSVCMsg_SetPause* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_SetPause* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_SetPause& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_SetPause& from) { + CSVCMsg_SetPause::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(CSVCMsg_SetPause* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_SetPause"; + } + protected: + explicit CSVCMsg_SetPause(::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 { + kPausedFieldNumber = 1, + }; + // optional bool paused = 1; + bool has_paused() const; + private: + bool _internal_has_paused() const; + public: + void clear_paused(); + bool paused() const; + void set_paused(bool value); + private: + bool _internal_paused() const; + void _internal_set_paused(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_SetPause) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool paused_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_VoiceInit final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_VoiceInit) */ { + public: + inline CSVCMsg_VoiceInit() : CSVCMsg_VoiceInit(nullptr) {} + ~CSVCMsg_VoiceInit() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_VoiceInit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from); + CSVCMsg_VoiceInit(CSVCMsg_VoiceInit&& from) noexcept + : CSVCMsg_VoiceInit() { + *this = ::std::move(from); + } + + inline CSVCMsg_VoiceInit& operator=(const CSVCMsg_VoiceInit& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_VoiceInit& operator=(CSVCMsg_VoiceInit&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_VoiceInit& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_VoiceInit* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_VoiceInit_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CSVCMsg_VoiceInit& a, CSVCMsg_VoiceInit& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_VoiceInit* 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(CSVCMsg_VoiceInit* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_VoiceInit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_VoiceInit& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_VoiceInit& from) { + CSVCMsg_VoiceInit::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(CSVCMsg_VoiceInit* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_VoiceInit"; + } + protected: + explicit CSVCMsg_VoiceInit(::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 { + kCodecFieldNumber = 2, + kQualityFieldNumber = 1, + kVersionFieldNumber = 3, + }; + // optional string codec = 2; + bool has_codec() const; + private: + bool _internal_has_codec() const; + public: + void clear_codec(); + const std::string& codec() const; + template + void set_codec(ArgT0&& arg0, ArgT... args); + std::string* mutable_codec(); + PROTOBUF_NODISCARD std::string* release_codec(); + void set_allocated_codec(std::string* codec); + private: + const std::string& _internal_codec() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_codec(const std::string& value); + std::string* _internal_mutable_codec(); + public: + + // optional int32 quality = 1; + bool has_quality() const; + private: + bool _internal_has_quality() const; + public: + void clear_quality(); + int32_t quality() const; + void set_quality(int32_t value); + private: + int32_t _internal_quality() const; + void _internal_set_quality(int32_t value); + public: + + // optional int32 version = 3 [default = 0]; + bool has_version() const; + private: + bool _internal_has_version() const; + public: + void clear_version(); + int32_t version() const; + void set_version(int32_t value); + private: + int32_t _internal_version() const; + void _internal_set_version(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceInit) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr codec_; + int32_t quality_; + int32_t version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Print final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Print) */ { + public: + inline CSVCMsg_Print() : CSVCMsg_Print(nullptr) {} + ~CSVCMsg_Print() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Print(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Print(const CSVCMsg_Print& from); + CSVCMsg_Print(CSVCMsg_Print&& from) noexcept + : CSVCMsg_Print() { + *this = ::std::move(from); + } + + inline CSVCMsg_Print& operator=(const CSVCMsg_Print& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Print& operator=(CSVCMsg_Print&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Print& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Print* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Print_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CSVCMsg_Print& a, CSVCMsg_Print& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Print* 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(CSVCMsg_Print* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Print* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Print& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Print& from) { + CSVCMsg_Print::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(CSVCMsg_Print* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Print"; + } + protected: + explicit CSVCMsg_Print(::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, + }; + // optional string text = 1; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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:CSVCMsg_Print) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Sounds_sounddata_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Sounds.sounddata_t) */ { + public: + inline CSVCMsg_Sounds_sounddata_t() : CSVCMsg_Sounds_sounddata_t(nullptr) {} + ~CSVCMsg_Sounds_sounddata_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from); + CSVCMsg_Sounds_sounddata_t(CSVCMsg_Sounds_sounddata_t&& from) noexcept + : CSVCMsg_Sounds_sounddata_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_Sounds_sounddata_t& operator=(const CSVCMsg_Sounds_sounddata_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Sounds_sounddata_t& operator=(CSVCMsg_Sounds_sounddata_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Sounds_sounddata_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Sounds_sounddata_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Sounds_sounddata_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CSVCMsg_Sounds_sounddata_t& a, CSVCMsg_Sounds_sounddata_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Sounds_sounddata_t* 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(CSVCMsg_Sounds_sounddata_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Sounds_sounddata_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Sounds_sounddata_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Sounds_sounddata_t& from) { + CSVCMsg_Sounds_sounddata_t::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(CSVCMsg_Sounds_sounddata_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Sounds.sounddata_t"; + } + protected: + explicit CSVCMsg_Sounds_sounddata_t(::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 { + kOriginXFieldNumber = 1, + kOriginYFieldNumber = 2, + kOriginZFieldNumber = 3, + kVolumeFieldNumber = 4, + kDelayValueFieldNumber = 5, + kSequenceNumberFieldNumber = 6, + kChannelFieldNumber = 8, + kPitchFieldNumber = 9, + kFlagsFieldNumber = 10, + kSoundNumFieldNumber = 11, + kSoundNumHandleFieldNumber = 12, + kSpeakerEntityFieldNumber = 13, + kRandomSeedFieldNumber = 14, + kSoundLevelFieldNumber = 15, + kIsSentenceFieldNumber = 16, + kIsAmbientFieldNumber = 17, + kGuidFieldNumber = 18, + kSoundResourceIdFieldNumber = 19, + kEntityIndexFieldNumber = 7, + }; + // optional sint32 origin_x = 1; + bool has_origin_x() const; + private: + bool _internal_has_origin_x() const; + public: + void clear_origin_x(); + int32_t origin_x() const; + void set_origin_x(int32_t value); + private: + int32_t _internal_origin_x() const; + void _internal_set_origin_x(int32_t value); + public: + + // optional sint32 origin_y = 2; + bool has_origin_y() const; + private: + bool _internal_has_origin_y() const; + public: + void clear_origin_y(); + int32_t origin_y() const; + void set_origin_y(int32_t value); + private: + int32_t _internal_origin_y() const; + void _internal_set_origin_y(int32_t value); + public: + + // optional sint32 origin_z = 3; + bool has_origin_z() const; + private: + bool _internal_has_origin_z() const; + public: + void clear_origin_z(); + int32_t origin_z() const; + void set_origin_z(int32_t value); + private: + int32_t _internal_origin_z() const; + void _internal_set_origin_z(int32_t value); + public: + + // optional uint32 volume = 4; + bool has_volume() const; + private: + bool _internal_has_volume() const; + public: + void clear_volume(); + uint32_t volume() const; + void set_volume(uint32_t value); + private: + uint32_t _internal_volume() const; + void _internal_set_volume(uint32_t value); + public: + + // optional float delay_value = 5; + bool has_delay_value() const; + private: + bool _internal_has_delay_value() const; + public: + void clear_delay_value(); + float delay_value() const; + void set_delay_value(float value); + private: + float _internal_delay_value() const; + void _internal_set_delay_value(float value); + public: + + // optional int32 sequence_number = 6; + bool has_sequence_number() const; + private: + bool _internal_has_sequence_number() const; + public: + void clear_sequence_number(); + int32_t sequence_number() const; + void set_sequence_number(int32_t value); + private: + int32_t _internal_sequence_number() const; + void _internal_set_sequence_number(int32_t value); + public: + + // optional int32 channel = 8; + bool has_channel() const; + private: + bool _internal_has_channel() const; + public: + void clear_channel(); + int32_t channel() const; + void set_channel(int32_t value); + private: + int32_t _internal_channel() const; + void _internal_set_channel(int32_t value); + public: + + // optional int32 pitch = 9; + bool has_pitch() const; + private: + bool _internal_has_pitch() const; + public: + void clear_pitch(); + int32_t pitch() const; + void set_pitch(int32_t value); + private: + int32_t _internal_pitch() const; + void _internal_set_pitch(int32_t value); + public: + + // optional int32 flags = 10; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // optional uint32 sound_num = 11; + bool has_sound_num() const; + private: + bool _internal_has_sound_num() const; + public: + void clear_sound_num(); + uint32_t sound_num() const; + void set_sound_num(uint32_t value); + private: + uint32_t _internal_sound_num() const; + void _internal_set_sound_num(uint32_t value); + public: + + // optional fixed32 sound_num_handle = 12; + bool has_sound_num_handle() const; + private: + bool _internal_has_sound_num_handle() const; + public: + void clear_sound_num_handle(); + uint32_t sound_num_handle() const; + void set_sound_num_handle(uint32_t value); + private: + uint32_t _internal_sound_num_handle() const; + void _internal_set_sound_num_handle(uint32_t value); + public: + + // optional int32 speaker_entity = 13; + bool has_speaker_entity() const; + private: + bool _internal_has_speaker_entity() const; + public: + void clear_speaker_entity(); + int32_t speaker_entity() const; + void set_speaker_entity(int32_t value); + private: + int32_t _internal_speaker_entity() const; + void _internal_set_speaker_entity(int32_t value); + public: + + // optional int32 random_seed = 14; + bool has_random_seed() const; + private: + bool _internal_has_random_seed() const; + public: + void clear_random_seed(); + int32_t random_seed() const; + void set_random_seed(int32_t value); + private: + int32_t _internal_random_seed() const; + void _internal_set_random_seed(int32_t value); + public: + + // optional int32 sound_level = 15; + bool has_sound_level() const; + private: + bool _internal_has_sound_level() const; + public: + void clear_sound_level(); + int32_t sound_level() const; + void set_sound_level(int32_t value); + private: + int32_t _internal_sound_level() const; + void _internal_set_sound_level(int32_t value); + public: + + // optional bool is_sentence = 16; + bool has_is_sentence() const; + private: + bool _internal_has_is_sentence() const; + public: + void clear_is_sentence(); + bool is_sentence() const; + void set_is_sentence(bool value); + private: + bool _internal_is_sentence() const; + void _internal_set_is_sentence(bool value); + public: + + // optional bool is_ambient = 17; + bool has_is_ambient() const; + private: + bool _internal_has_is_ambient() const; + public: + void clear_is_ambient(); + bool is_ambient() const; + void set_is_ambient(bool value); + private: + bool _internal_is_ambient() const; + void _internal_set_is_ambient(bool value); + public: + + // optional uint32 guid = 18; + bool has_guid() const; + private: + bool _internal_has_guid() const; + public: + void clear_guid(); + uint32_t guid() const; + void set_guid(uint32_t value); + private: + uint32_t _internal_guid() const; + void _internal_set_guid(uint32_t value); + public: + + // optional fixed64 sound_resource_id = 19; + bool has_sound_resource_id() const; + private: + bool _internal_has_sound_resource_id() const; + public: + void clear_sound_resource_id(); + uint64_t sound_resource_id() const; + void set_sound_resource_id(uint64_t value); + private: + uint64_t _internal_sound_resource_id() const; + void _internal_set_sound_resource_id(uint64_t value); + public: + + // optional int32 entity_index = 7 [default = -1]; + bool has_entity_index() const; + private: + bool _internal_has_entity_index() const; + public: + void clear_entity_index(); + int32_t entity_index() const; + void set_entity_index(int32_t value); + private: + int32_t _internal_entity_index() const; + void _internal_set_entity_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds.sounddata_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t origin_x_; + int32_t origin_y_; + int32_t origin_z_; + uint32_t volume_; + float delay_value_; + int32_t sequence_number_; + int32_t channel_; + int32_t pitch_; + int32_t flags_; + uint32_t sound_num_; + uint32_t sound_num_handle_; + int32_t speaker_entity_; + int32_t random_seed_; + int32_t sound_level_; + bool is_sentence_; + bool is_ambient_; + uint32_t guid_; + uint64_t sound_resource_id_; + int32_t entity_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Sounds final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Sounds) */ { + public: + inline CSVCMsg_Sounds() : CSVCMsg_Sounds(nullptr) {} + ~CSVCMsg_Sounds() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Sounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Sounds(const CSVCMsg_Sounds& from); + CSVCMsg_Sounds(CSVCMsg_Sounds&& from) noexcept + : CSVCMsg_Sounds() { + *this = ::std::move(from); + } + + inline CSVCMsg_Sounds& operator=(const CSVCMsg_Sounds& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Sounds& operator=(CSVCMsg_Sounds&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Sounds& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Sounds* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Sounds_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CSVCMsg_Sounds& a, CSVCMsg_Sounds& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Sounds* 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(CSVCMsg_Sounds* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Sounds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Sounds& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Sounds& from) { + CSVCMsg_Sounds::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(CSVCMsg_Sounds* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Sounds"; + } + protected: + explicit CSVCMsg_Sounds(::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 ---------------------------------------------------- + + typedef CSVCMsg_Sounds_sounddata_t sounddata_t; + + // accessors ------------------------------------------------------- + + enum : int { + kSoundsFieldNumber = 2, + kReliableSoundFieldNumber = 1, + }; + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + int sounds_size() const; + private: + int _internal_sounds_size() const; + public: + void clear_sounds(); + ::CSVCMsg_Sounds_sounddata_t* mutable_sounds(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* + mutable_sounds(); + private: + const ::CSVCMsg_Sounds_sounddata_t& _internal_sounds(int index) const; + ::CSVCMsg_Sounds_sounddata_t* _internal_add_sounds(); + public: + const ::CSVCMsg_Sounds_sounddata_t& sounds(int index) const; + ::CSVCMsg_Sounds_sounddata_t* add_sounds(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& + sounds() const; + + // optional bool reliable_sound = 1; + bool has_reliable_sound() const; + private: + bool _internal_has_reliable_sound() const; + public: + void clear_reliable_sound(); + bool reliable_sound() const; + void set_reliable_sound(bool value); + private: + bool _internal_reliable_sound() const; + void _internal_set_reliable_sound(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t > sounds_; + bool reliable_sound_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Prefetch final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Prefetch) */ { + public: + inline CSVCMsg_Prefetch() : CSVCMsg_Prefetch(nullptr) {} + ~CSVCMsg_Prefetch() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Prefetch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from); + CSVCMsg_Prefetch(CSVCMsg_Prefetch&& from) noexcept + : CSVCMsg_Prefetch() { + *this = ::std::move(from); + } + + inline CSVCMsg_Prefetch& operator=(const CSVCMsg_Prefetch& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Prefetch& operator=(CSVCMsg_Prefetch&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Prefetch& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Prefetch* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Prefetch_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CSVCMsg_Prefetch& a, CSVCMsg_Prefetch& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Prefetch* 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(CSVCMsg_Prefetch* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Prefetch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Prefetch& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Prefetch& from) { + CSVCMsg_Prefetch::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(CSVCMsg_Prefetch* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Prefetch"; + } + protected: + explicit CSVCMsg_Prefetch(::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 { + kSoundIndexFieldNumber = 1, + kResourceTypeFieldNumber = 2, + }; + // optional int32 sound_index = 1; + bool has_sound_index() const; + private: + bool _internal_has_sound_index() const; + public: + void clear_sound_index(); + int32_t sound_index() const; + void set_sound_index(int32_t value); + private: + int32_t _internal_sound_index() const; + void _internal_set_sound_index(int32_t value); + public: + + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + bool has_resource_type() const; + private: + bool _internal_has_resource_type() const; + public: + void clear_resource_type(); + ::PrefetchType resource_type() const; + void set_resource_type(::PrefetchType value); + private: + ::PrefetchType _internal_resource_type() const; + void _internal_set_resource_type(::PrefetchType value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_Prefetch) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t sound_index_; + int resource_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SetView final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SetView) */ { + public: + inline CSVCMsg_SetView() : CSVCMsg_SetView(nullptr) {} + ~CSVCMsg_SetView() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_SetView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_SetView(const CSVCMsg_SetView& from); + CSVCMsg_SetView(CSVCMsg_SetView&& from) noexcept + : CSVCMsg_SetView() { + *this = ::std::move(from); + } + + inline CSVCMsg_SetView& operator=(const CSVCMsg_SetView& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_SetView& operator=(CSVCMsg_SetView&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_SetView& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_SetView* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_SetView_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CSVCMsg_SetView& a, CSVCMsg_SetView& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_SetView* 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(CSVCMsg_SetView* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_SetView* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_SetView& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_SetView& from) { + CSVCMsg_SetView::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(CSVCMsg_SetView* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_SetView"; + } + protected: + explicit CSVCMsg_SetView(::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 { + kEntityIndexFieldNumber = 1, + kSlotFieldNumber = 2, + }; + // optional int32 entity_index = 1 [default = -1]; + bool has_entity_index() const; + private: + bool _internal_has_entity_index() const; + public: + void clear_entity_index(); + int32_t entity_index() const; + void set_entity_index(int32_t value); + private: + int32_t _internal_entity_index() const; + void _internal_set_entity_index(int32_t value); + public: + + // optional int32 slot = 2 [default = -1]; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_SetView) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t entity_index_; + int32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_FixAngle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FixAngle) */ { + public: + inline CSVCMsg_FixAngle() : CSVCMsg_FixAngle(nullptr) {} + ~CSVCMsg_FixAngle() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_FixAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from); + CSVCMsg_FixAngle(CSVCMsg_FixAngle&& from) noexcept + : CSVCMsg_FixAngle() { + *this = ::std::move(from); + } + + inline CSVCMsg_FixAngle& operator=(const CSVCMsg_FixAngle& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_FixAngle& operator=(CSVCMsg_FixAngle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_FixAngle& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_FixAngle* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_FixAngle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CSVCMsg_FixAngle& a, CSVCMsg_FixAngle& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_FixAngle* 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(CSVCMsg_FixAngle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_FixAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_FixAngle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_FixAngle& from) { + CSVCMsg_FixAngle::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(CSVCMsg_FixAngle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_FixAngle"; + } + protected: + explicit CSVCMsg_FixAngle(::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 { + kAngleFieldNumber = 2, + kRelativeFieldNumber = 1, + }; + // optional .CMsgQAngle angle = 2; + bool has_angle() const; + private: + bool _internal_has_angle() const; + public: + void clear_angle(); + const ::CMsgQAngle& angle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); + ::CMsgQAngle* mutable_angle(); + void set_allocated_angle(::CMsgQAngle* angle); + private: + const ::CMsgQAngle& _internal_angle() const; + ::CMsgQAngle* _internal_mutable_angle(); + public: + void unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle); + ::CMsgQAngle* unsafe_arena_release_angle(); + + // optional bool relative = 1; + bool has_relative() const; + private: + bool _internal_has_relative() const; + public: + void clear_relative(); + bool relative() const; + void set_relative(bool value); + private: + bool _internal_relative() const; + void _internal_set_relative(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_FixAngle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* angle_; + bool relative_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_CrosshairAngle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CrosshairAngle) */ { + public: + inline CSVCMsg_CrosshairAngle() : CSVCMsg_CrosshairAngle(nullptr) {} + ~CSVCMsg_CrosshairAngle() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from); + CSVCMsg_CrosshairAngle(CSVCMsg_CrosshairAngle&& from) noexcept + : CSVCMsg_CrosshairAngle() { + *this = ::std::move(from); + } + + inline CSVCMsg_CrosshairAngle& operator=(const CSVCMsg_CrosshairAngle& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_CrosshairAngle& operator=(CSVCMsg_CrosshairAngle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_CrosshairAngle& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_CrosshairAngle* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_CrosshairAngle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CSVCMsg_CrosshairAngle& a, CSVCMsg_CrosshairAngle& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_CrosshairAngle* 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(CSVCMsg_CrosshairAngle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_CrosshairAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_CrosshairAngle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_CrosshairAngle& from) { + CSVCMsg_CrosshairAngle::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(CSVCMsg_CrosshairAngle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_CrosshairAngle"; + } + protected: + explicit CSVCMsg_CrosshairAngle(::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 { + kAngleFieldNumber = 1, + }; + // optional .CMsgQAngle angle = 1; + bool has_angle() const; + private: + bool _internal_has_angle() const; + public: + void clear_angle(); + const ::CMsgQAngle& angle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); + ::CMsgQAngle* mutable_angle(); + void set_allocated_angle(::CMsgQAngle* angle); + private: + const ::CMsgQAngle& _internal_angle() const; + ::CMsgQAngle* _internal_mutable_angle(); + public: + void unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle); + ::CMsgQAngle* unsafe_arena_release_angle(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_CrosshairAngle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* angle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_BSPDecal final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_BSPDecal) */ { + public: + inline CSVCMsg_BSPDecal() : CSVCMsg_BSPDecal(nullptr) {} + ~CSVCMsg_BSPDecal() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_BSPDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from); + CSVCMsg_BSPDecal(CSVCMsg_BSPDecal&& from) noexcept + : CSVCMsg_BSPDecal() { + *this = ::std::move(from); + } + + inline CSVCMsg_BSPDecal& operator=(const CSVCMsg_BSPDecal& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_BSPDecal& operator=(CSVCMsg_BSPDecal&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_BSPDecal& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_BSPDecal* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_BSPDecal_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CSVCMsg_BSPDecal& a, CSVCMsg_BSPDecal& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_BSPDecal* 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(CSVCMsg_BSPDecal* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_BSPDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_BSPDecal& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_BSPDecal& from) { + CSVCMsg_BSPDecal::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(CSVCMsg_BSPDecal* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_BSPDecal"; + } + protected: + explicit CSVCMsg_BSPDecal(::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 { + kPosFieldNumber = 1, + kDecalTextureIndexFieldNumber = 2, + kModelIndexFieldNumber = 4, + kLowPriorityFieldNumber = 5, + kEntityIndexFieldNumber = 3, + }; + // optional .CMsgVector pos = 1; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::CMsgVector& pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_pos(); + ::CMsgVector* mutable_pos(); + void set_allocated_pos(::CMsgVector* pos); + private: + const ::CMsgVector& _internal_pos() const; + ::CMsgVector* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::CMsgVector* pos); + ::CMsgVector* unsafe_arena_release_pos(); + + // optional int32 decal_texture_index = 2; + bool has_decal_texture_index() const; + private: + bool _internal_has_decal_texture_index() const; + public: + void clear_decal_texture_index(); + int32_t decal_texture_index() const; + void set_decal_texture_index(int32_t value); + private: + int32_t _internal_decal_texture_index() const; + void _internal_set_decal_texture_index(int32_t value); + public: + + // optional int32 model_index = 4; + bool has_model_index() const; + private: + bool _internal_has_model_index() const; + public: + void clear_model_index(); + int32_t model_index() const; + void set_model_index(int32_t value); + private: + int32_t _internal_model_index() const; + void _internal_set_model_index(int32_t value); + public: + + // optional bool low_priority = 5; + bool has_low_priority() const; + private: + bool _internal_has_low_priority() const; + public: + void clear_low_priority(); + bool low_priority() const; + void set_low_priority(bool value); + private: + bool _internal_low_priority() const; + void _internal_set_low_priority(bool value); + public: + + // optional int32 entity_index = 3 [default = -1]; + bool has_entity_index() const; + private: + bool _internal_has_entity_index() const; + public: + void clear_entity_index(); + int32_t entity_index() const; + void set_entity_index(int32_t value); + private: + int32_t _internal_entity_index() const; + void _internal_set_entity_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_BSPDecal) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* pos_; + int32_t decal_texture_index_; + int32_t model_index_; + bool low_priority_; + int32_t entity_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SplitScreen final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SplitScreen) */ { + public: + inline CSVCMsg_SplitScreen() : CSVCMsg_SplitScreen(nullptr) {} + ~CSVCMsg_SplitScreen() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_SplitScreen(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from); + CSVCMsg_SplitScreen(CSVCMsg_SplitScreen&& from) noexcept + : CSVCMsg_SplitScreen() { + *this = ::std::move(from); + } + + inline CSVCMsg_SplitScreen& operator=(const CSVCMsg_SplitScreen& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_SplitScreen& operator=(CSVCMsg_SplitScreen&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_SplitScreen& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_SplitScreen* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_SplitScreen_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CSVCMsg_SplitScreen& a, CSVCMsg_SplitScreen& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_SplitScreen* 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(CSVCMsg_SplitScreen* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_SplitScreen* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_SplitScreen& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_SplitScreen& from) { + CSVCMsg_SplitScreen::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(CSVCMsg_SplitScreen* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_SplitScreen"; + } + protected: + explicit CSVCMsg_SplitScreen(::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 { + kTypeFieldNumber = 1, + kSlotFieldNumber = 2, + kPlayerIndexFieldNumber = 3, + }; + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + ::ESplitScreenMessageType type() const; + void set_type(::ESplitScreenMessageType value); + private: + ::ESplitScreenMessageType _internal_type() const; + void _internal_set_type(::ESplitScreenMessageType value); + public: + + // optional int32 slot = 2; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // optional int32 player_index = 3 [default = -1]; + bool has_player_index() const; + private: + bool _internal_has_player_index() const; + public: + void clear_player_index(); + int32_t player_index() const; + void set_player_index(int32_t value); + private: + int32_t _internal_player_index() const; + void _internal_set_player_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_SplitScreen) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int type_; + int32_t slot_; + int32_t player_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GetCvarValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GetCvarValue) */ { + public: + inline CSVCMsg_GetCvarValue() : CSVCMsg_GetCvarValue(nullptr) {} + ~CSVCMsg_GetCvarValue() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from); + CSVCMsg_GetCvarValue(CSVCMsg_GetCvarValue&& from) noexcept + : CSVCMsg_GetCvarValue() { + *this = ::std::move(from); + } + + inline CSVCMsg_GetCvarValue& operator=(const CSVCMsg_GetCvarValue& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GetCvarValue& operator=(CSVCMsg_GetCvarValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GetCvarValue& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GetCvarValue* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GetCvarValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CSVCMsg_GetCvarValue& a, CSVCMsg_GetCvarValue& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GetCvarValue* 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(CSVCMsg_GetCvarValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GetCvarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GetCvarValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GetCvarValue& from) { + CSVCMsg_GetCvarValue::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(CSVCMsg_GetCvarValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GetCvarValue"; + } + protected: + explicit CSVCMsg_GetCvarValue(::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 { + kCvarNameFieldNumber = 2, + kCookieFieldNumber = 1, + }; + // optional string cvar_name = 2; + bool has_cvar_name() const; + private: + bool _internal_has_cvar_name() const; + public: + void clear_cvar_name(); + const std::string& cvar_name() const; + template + void set_cvar_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_cvar_name(); + PROTOBUF_NODISCARD std::string* release_cvar_name(); + void set_allocated_cvar_name(std::string* cvar_name); + private: + const std::string& _internal_cvar_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cvar_name(const std::string& value); + std::string* _internal_mutable_cvar_name(); + public: + + // optional int32 cookie = 1; + bool has_cookie() const; + private: + bool _internal_has_cookie() const; + public: + void clear_cookie(); + int32_t cookie() const; + void set_cookie(int32_t value); + private: + int32_t _internal_cookie() const; + void _internal_set_cookie(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GetCvarValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cvar_name_; + int32_t cookie_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Menu final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Menu) */ { + public: + inline CSVCMsg_Menu() : CSVCMsg_Menu(nullptr) {} + ~CSVCMsg_Menu() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Menu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Menu(const CSVCMsg_Menu& from); + CSVCMsg_Menu(CSVCMsg_Menu&& from) noexcept + : CSVCMsg_Menu() { + *this = ::std::move(from); + } + + inline CSVCMsg_Menu& operator=(const CSVCMsg_Menu& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Menu& operator=(CSVCMsg_Menu&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Menu& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Menu* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Menu_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CSVCMsg_Menu& a, CSVCMsg_Menu& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Menu* 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(CSVCMsg_Menu* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Menu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Menu& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Menu& from) { + CSVCMsg_Menu::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(CSVCMsg_Menu* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Menu"; + } + protected: + explicit CSVCMsg_Menu(::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 { + kMenuKeyValuesFieldNumber = 2, + kDialogTypeFieldNumber = 1, + }; + // optional bytes menu_key_values = 2; + bool has_menu_key_values() const; + private: + bool _internal_has_menu_key_values() const; + public: + void clear_menu_key_values(); + const std::string& menu_key_values() const; + template + void set_menu_key_values(ArgT0&& arg0, ArgT... args); + std::string* mutable_menu_key_values(); + PROTOBUF_NODISCARD std::string* release_menu_key_values(); + void set_allocated_menu_key_values(std::string* menu_key_values); + private: + const std::string& _internal_menu_key_values() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_menu_key_values(const std::string& value); + std::string* _internal_mutable_menu_key_values(); + public: + + // optional int32 dialog_type = 1; + bool has_dialog_type() const; + private: + bool _internal_has_dialog_type() const; + public: + void clear_dialog_type(); + int32_t dialog_type() const; + void set_dialog_type(int32_t value); + private: + int32_t _internal_dialog_type() const; + void _internal_set_dialog_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_Menu) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menu_key_values_; + int32_t dialog_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_UserMessage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UserMessage) */ { + public: + inline CSVCMsg_UserMessage() : CSVCMsg_UserMessage(nullptr) {} + ~CSVCMsg_UserMessage() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_UserMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from); + CSVCMsg_UserMessage(CSVCMsg_UserMessage&& from) noexcept + : CSVCMsg_UserMessage() { + *this = ::std::move(from); + } + + inline CSVCMsg_UserMessage& operator=(const CSVCMsg_UserMessage& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_UserMessage& operator=(CSVCMsg_UserMessage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_UserMessage& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_UserMessage* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_UserMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CSVCMsg_UserMessage& a, CSVCMsg_UserMessage& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_UserMessage* 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(CSVCMsg_UserMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_UserMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_UserMessage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_UserMessage& from) { + CSVCMsg_UserMessage::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(CSVCMsg_UserMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_UserMessage"; + } + protected: + explicit CSVCMsg_UserMessage(::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 { + kMsgDataFieldNumber = 2, + kMsgTypeFieldNumber = 1, + kPassthroughFieldNumber = 3, + }; + // optional bytes msg_data = 2; + bool has_msg_data() const; + private: + bool _internal_has_msg_data() const; + public: + void clear_msg_data(); + const std::string& msg_data() const; + template + void set_msg_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_msg_data(); + PROTOBUF_NODISCARD std::string* release_msg_data(); + void set_allocated_msg_data(std::string* msg_data); + private: + const std::string& _internal_msg_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_data(const std::string& value); + std::string* _internal_mutable_msg_data(); + public: + + // optional int32 msg_type = 1; + bool has_msg_type() const; + private: + bool _internal_has_msg_type() const; + public: + void clear_msg_type(); + int32_t msg_type() const; + void set_msg_type(int32_t value); + private: + int32_t _internal_msg_type() const; + void _internal_set_msg_type(int32_t value); + public: + + // optional int32 passthrough = 3; + bool has_passthrough() const; + private: + bool _internal_has_passthrough() const; + public: + void clear_passthrough(); + int32_t passthrough() const; + void set_passthrough(int32_t value); + private: + int32_t _internal_passthrough() const; + void _internal_set_passthrough(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_UserMessage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_data_; + int32_t msg_type_; + int32_t passthrough_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SendTable_sendprop_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SendTable.sendprop_t) */ { + public: + inline CSVCMsg_SendTable_sendprop_t() : CSVCMsg_SendTable_sendprop_t(nullptr) {} + ~CSVCMsg_SendTable_sendprop_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from); + CSVCMsg_SendTable_sendprop_t(CSVCMsg_SendTable_sendprop_t&& from) noexcept + : CSVCMsg_SendTable_sendprop_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_SendTable_sendprop_t& operator=(const CSVCMsg_SendTable_sendprop_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_SendTable_sendprop_t& operator=(CSVCMsg_SendTable_sendprop_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_SendTable_sendprop_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_SendTable_sendprop_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_SendTable_sendprop_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CSVCMsg_SendTable_sendprop_t& a, CSVCMsg_SendTable_sendprop_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_SendTable_sendprop_t* 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(CSVCMsg_SendTable_sendprop_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_SendTable_sendprop_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_SendTable_sendprop_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_SendTable_sendprop_t& from) { + CSVCMsg_SendTable_sendprop_t::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(CSVCMsg_SendTable_sendprop_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_SendTable.sendprop_t"; + } + protected: + explicit CSVCMsg_SendTable_sendprop_t(::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 { + kVarNameFieldNumber = 2, + kDtNameFieldNumber = 5, + kTypeFieldNumber = 1, + kFlagsFieldNumber = 3, + kPriorityFieldNumber = 4, + kNumElementsFieldNumber = 6, + kLowValueFieldNumber = 7, + kHighValueFieldNumber = 8, + kNumBitsFieldNumber = 9, + }; + // optional string var_name = 2; + bool has_var_name() const; + private: + bool _internal_has_var_name() const; + public: + void clear_var_name(); + const std::string& var_name() const; + template + void set_var_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_var_name(); + PROTOBUF_NODISCARD std::string* release_var_name(); + void set_allocated_var_name(std::string* var_name); + private: + const std::string& _internal_var_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_var_name(const std::string& value); + std::string* _internal_mutable_var_name(); + public: + + // optional string dt_name = 5; + bool has_dt_name() const; + private: + bool _internal_has_dt_name() const; + public: + void clear_dt_name(); + const std::string& dt_name() const; + template + void set_dt_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_dt_name(); + PROTOBUF_NODISCARD std::string* release_dt_name(); + void set_allocated_dt_name(std::string* dt_name); + private: + const std::string& _internal_dt_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dt_name(const std::string& value); + std::string* _internal_mutable_dt_name(); + public: + + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // optional int32 priority = 4; + bool has_priority() const; + private: + bool _internal_has_priority() const; + public: + void clear_priority(); + int32_t priority() const; + void set_priority(int32_t value); + private: + int32_t _internal_priority() const; + void _internal_set_priority(int32_t value); + public: + + // optional int32 num_elements = 6; + bool has_num_elements() const; + private: + bool _internal_has_num_elements() const; + public: + void clear_num_elements(); + int32_t num_elements() const; + void set_num_elements(int32_t value); + private: + int32_t _internal_num_elements() const; + void _internal_set_num_elements(int32_t value); + public: + + // optional float low_value = 7; + bool has_low_value() const; + private: + bool _internal_has_low_value() const; + public: + void clear_low_value(); + float low_value() const; + void set_low_value(float value); + private: + float _internal_low_value() const; + void _internal_set_low_value(float value); + public: + + // optional float high_value = 8; + bool has_high_value() const; + private: + bool _internal_has_high_value() const; + public: + void clear_high_value(); + float high_value() const; + void set_high_value(float value); + private: + float _internal_high_value() const; + void _internal_set_high_value(float value); + public: + + // optional int32 num_bits = 9; + bool has_num_bits() const; + private: + bool _internal_has_num_bits() const; + public: + void clear_num_bits(); + int32_t num_bits() const; + void set_num_bits(int32_t value); + private: + int32_t _internal_num_bits() const; + void _internal_set_num_bits(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable.sendprop_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr var_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dt_name_; + int32_t type_; + int32_t flags_; + int32_t priority_; + int32_t num_elements_; + float low_value_; + float high_value_; + int32_t num_bits_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SendTable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SendTable) */ { + public: + inline CSVCMsg_SendTable() : CSVCMsg_SendTable(nullptr) {} + ~CSVCMsg_SendTable() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_SendTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_SendTable(const CSVCMsg_SendTable& from); + CSVCMsg_SendTable(CSVCMsg_SendTable&& from) noexcept + : CSVCMsg_SendTable() { + *this = ::std::move(from); + } + + inline CSVCMsg_SendTable& operator=(const CSVCMsg_SendTable& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_SendTable& operator=(CSVCMsg_SendTable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_SendTable& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_SendTable* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_SendTable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CSVCMsg_SendTable& a, CSVCMsg_SendTable& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_SendTable* 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(CSVCMsg_SendTable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_SendTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_SendTable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_SendTable& from) { + CSVCMsg_SendTable::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(CSVCMsg_SendTable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_SendTable"; + } + protected: + explicit CSVCMsg_SendTable(::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 ---------------------------------------------------- + + typedef CSVCMsg_SendTable_sendprop_t sendprop_t; + + // accessors ------------------------------------------------------- + + enum : int { + kPropsFieldNumber = 4, + kNetTableNameFieldNumber = 2, + kIsEndFieldNumber = 1, + kNeedsDecoderFieldNumber = 3, + }; + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + int props_size() const; + private: + int _internal_props_size() const; + public: + void clear_props(); + ::CSVCMsg_SendTable_sendprop_t* mutable_props(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* + mutable_props(); + private: + const ::CSVCMsg_SendTable_sendprop_t& _internal_props(int index) const; + ::CSVCMsg_SendTable_sendprop_t* _internal_add_props(); + public: + const ::CSVCMsg_SendTable_sendprop_t& props(int index) const; + ::CSVCMsg_SendTable_sendprop_t* add_props(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& + props() const; + + // optional string net_table_name = 2; + bool has_net_table_name() const; + private: + bool _internal_has_net_table_name() const; + public: + void clear_net_table_name(); + const std::string& net_table_name() const; + template + void set_net_table_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_net_table_name(); + PROTOBUF_NODISCARD std::string* release_net_table_name(); + void set_allocated_net_table_name(std::string* net_table_name); + private: + const std::string& _internal_net_table_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_table_name(const std::string& value); + std::string* _internal_mutable_net_table_name(); + public: + + // optional bool is_end = 1; + bool has_is_end() const; + private: + bool _internal_has_is_end() const; + public: + void clear_is_end(); + bool is_end() const; + void set_is_end(bool value); + private: + bool _internal_is_end() const; + void _internal_set_is_end(bool value); + public: + + // optional bool needs_decoder = 3; + bool has_needs_decoder() const; + private: + bool _internal_has_needs_decoder() const; + public: + void clear_needs_decoder(); + bool needs_decoder() const; + void set_needs_decoder(bool value); + private: + bool _internal_needs_decoder() const; + void _internal_set_needs_decoder(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t > props_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_table_name_; + bool is_end_; + bool needs_decoder_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList_key_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList.key_t) */ { + public: + inline CSVCMsg_GameEventList_key_t() : CSVCMsg_GameEventList_key_t(nullptr) {} + ~CSVCMsg_GameEventList_key_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from); + CSVCMsg_GameEventList_key_t(CSVCMsg_GameEventList_key_t&& from) noexcept + : CSVCMsg_GameEventList_key_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameEventList_key_t& operator=(const CSVCMsg_GameEventList_key_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameEventList_key_t& operator=(CSVCMsg_GameEventList_key_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameEventList_key_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameEventList_key_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameEventList_key_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CSVCMsg_GameEventList_key_t& a, CSVCMsg_GameEventList_key_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameEventList_key_t* 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(CSVCMsg_GameEventList_key_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameEventList_key_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameEventList_key_t& from) { + CSVCMsg_GameEventList_key_t::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(CSVCMsg_GameEventList_key_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameEventList.key_t"; + } + protected: + explicit CSVCMsg_GameEventList_key_t(::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 = 2, + kTypeFieldNumber = 1, + }; + // optional 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: + + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.key_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList_descriptor_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList.descriptor_t) */ { + public: + inline CSVCMsg_GameEventList_descriptor_t() : CSVCMsg_GameEventList_descriptor_t(nullptr) {} + ~CSVCMsg_GameEventList_descriptor_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from); + CSVCMsg_GameEventList_descriptor_t(CSVCMsg_GameEventList_descriptor_t&& from) noexcept + : CSVCMsg_GameEventList_descriptor_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameEventList_descriptor_t& operator=(const CSVCMsg_GameEventList_descriptor_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameEventList_descriptor_t& operator=(CSVCMsg_GameEventList_descriptor_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameEventList_descriptor_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameEventList_descriptor_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameEventList_descriptor_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CSVCMsg_GameEventList_descriptor_t& a, CSVCMsg_GameEventList_descriptor_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameEventList_descriptor_t* 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(CSVCMsg_GameEventList_descriptor_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList_descriptor_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameEventList_descriptor_t& from) { + CSVCMsg_GameEventList_descriptor_t::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(CSVCMsg_GameEventList_descriptor_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameEventList.descriptor_t"; + } + protected: + explicit CSVCMsg_GameEventList_descriptor_t(::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 { + kKeysFieldNumber = 3, + kNameFieldNumber = 2, + kEventidFieldNumber = 1, + }; + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + int keys_size() const; + private: + int _internal_keys_size() const; + public: + void clear_keys(); + ::CSVCMsg_GameEventList_key_t* mutable_keys(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* + mutable_keys(); + private: + const ::CSVCMsg_GameEventList_key_t& _internal_keys(int index) const; + ::CSVCMsg_GameEventList_key_t* _internal_add_keys(); + public: + const ::CSVCMsg_GameEventList_key_t& keys(int index) const; + ::CSVCMsg_GameEventList_key_t* add_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& + keys() const; + + // optional 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: + + // optional int32 eventid = 1; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.descriptor_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t > keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList) */ { + public: + inline CSVCMsg_GameEventList() : CSVCMsg_GameEventList(nullptr) {} + ~CSVCMsg_GameEventList() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from); + CSVCMsg_GameEventList(CSVCMsg_GameEventList&& from) noexcept + : CSVCMsg_GameEventList() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameEventList& operator=(const CSVCMsg_GameEventList& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameEventList& operator=(CSVCMsg_GameEventList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameEventList& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameEventList* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameEventList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CSVCMsg_GameEventList& a, CSVCMsg_GameEventList& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameEventList* 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(CSVCMsg_GameEventList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameEventList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameEventList& from) { + CSVCMsg_GameEventList::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(CSVCMsg_GameEventList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameEventList"; + } + protected: + explicit CSVCMsg_GameEventList(::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 ---------------------------------------------------- + + typedef CSVCMsg_GameEventList_key_t key_t; + typedef CSVCMsg_GameEventList_descriptor_t descriptor_t; + + // accessors ------------------------------------------------------- + + enum : int { + kDescriptorsFieldNumber = 1, + }; + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + int descriptors_size() const; + private: + int _internal_descriptors_size() const; + public: + void clear_descriptors(); + ::CSVCMsg_GameEventList_descriptor_t* mutable_descriptors(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* + mutable_descriptors(); + private: + const ::CSVCMsg_GameEventList_descriptor_t& _internal_descriptors(int index) const; + ::CSVCMsg_GameEventList_descriptor_t* _internal_add_descriptors(); + public: + const ::CSVCMsg_GameEventList_descriptor_t& descriptors(int index) const; + ::CSVCMsg_GameEventList_descriptor_t* add_descriptors(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& + descriptors() const; + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t > descriptors_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketEntities_alternate_baseline_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.alternate_baseline_t) */ { + public: + inline CSVCMsg_PacketEntities_alternate_baseline_t() : CSVCMsg_PacketEntities_alternate_baseline_t(nullptr) {} + ~CSVCMsg_PacketEntities_alternate_baseline_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PacketEntities_alternate_baseline_t(const CSVCMsg_PacketEntities_alternate_baseline_t& from); + CSVCMsg_PacketEntities_alternate_baseline_t(CSVCMsg_PacketEntities_alternate_baseline_t&& from) noexcept + : CSVCMsg_PacketEntities_alternate_baseline_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_PacketEntities_alternate_baseline_t& operator=(const CSVCMsg_PacketEntities_alternate_baseline_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PacketEntities_alternate_baseline_t& operator=(CSVCMsg_PacketEntities_alternate_baseline_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PacketEntities_alternate_baseline_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PacketEntities_alternate_baseline_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CSVCMsg_PacketEntities_alternate_baseline_t& a, CSVCMsg_PacketEntities_alternate_baseline_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PacketEntities_alternate_baseline_t* 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(CSVCMsg_PacketEntities_alternate_baseline_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketEntities_alternate_baseline_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PacketEntities_alternate_baseline_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PacketEntities_alternate_baseline_t& from) { + CSVCMsg_PacketEntities_alternate_baseline_t::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(CSVCMsg_PacketEntities_alternate_baseline_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PacketEntities.alternate_baseline_t"; + } + protected: + explicit CSVCMsg_PacketEntities_alternate_baseline_t(::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 { + kEntityIndexFieldNumber = 1, + kBaselineIndexFieldNumber = 2, + }; + // optional int32 entity_index = 1; + bool has_entity_index() const; + private: + bool _internal_has_entity_index() const; + public: + void clear_entity_index(); + int32_t entity_index() const; + void set_entity_index(int32_t value); + private: + int32_t _internal_entity_index() const; + void _internal_set_entity_index(int32_t value); + public: + + // optional int32 baseline_index = 2; + bool has_baseline_index() const; + private: + bool _internal_has_baseline_index() const; + public: + void clear_baseline_index(); + int32_t baseline_index() const; + void set_baseline_index(int32_t value); + private: + int32_t _internal_baseline_index() const; + void _internal_set_baseline_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.alternate_baseline_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t entity_index_; + int32_t baseline_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketEntities_non_transmitted_entities_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.non_transmitted_entities_t) */ { + public: + inline CSVCMsg_PacketEntities_non_transmitted_entities_t() : CSVCMsg_PacketEntities_non_transmitted_entities_t(nullptr) {} + ~CSVCMsg_PacketEntities_non_transmitted_entities_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PacketEntities_non_transmitted_entities_t(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from); + CSVCMsg_PacketEntities_non_transmitted_entities_t(CSVCMsg_PacketEntities_non_transmitted_entities_t&& from) noexcept + : CSVCMsg_PacketEntities_non_transmitted_entities_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_PacketEntities_non_transmitted_entities_t& operator=(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PacketEntities_non_transmitted_entities_t& operator=(CSVCMsg_PacketEntities_non_transmitted_entities_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PacketEntities_non_transmitted_entities_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PacketEntities_non_transmitted_entities_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CSVCMsg_PacketEntities_non_transmitted_entities_t& a, CSVCMsg_PacketEntities_non_transmitted_entities_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PacketEntities_non_transmitted_entities_t* 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(CSVCMsg_PacketEntities_non_transmitted_entities_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketEntities_non_transmitted_entities_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { + CSVCMsg_PacketEntities_non_transmitted_entities_t::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(CSVCMsg_PacketEntities_non_transmitted_entities_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PacketEntities.non_transmitted_entities_t"; + } + protected: + explicit CSVCMsg_PacketEntities_non_transmitted_entities_t(::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 { + kDataFieldNumber = 2, + kHeaderCountFieldNumber = 1, + }; + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 header_count = 1; + bool has_header_count() const; + private: + bool _internal_has_header_count() const; + public: + void clear_header_count(); + int32_t header_count() const; + void set_header_count(int32_t value); + private: + int32_t _internal_header_count() const; + void _internal_set_header_count(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.non_transmitted_entities_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t header_count_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketEntities_outofpvs_entity_updates_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) */ { + public: + inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t() : CSVCMsg_PacketEntities_outofpvs_entity_updates_t(nullptr) {} + ~CSVCMsg_PacketEntities_outofpvs_entity_updates_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PacketEntities_outofpvs_entity_updates_t(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from); + CSVCMsg_PacketEntities_outofpvs_entity_updates_t(CSVCMsg_PacketEntities_outofpvs_entity_updates_t&& from) noexcept + : CSVCMsg_PacketEntities_outofpvs_entity_updates_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t& operator=(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t& operator=(CSVCMsg_PacketEntities_outofpvs_entity_updates_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PacketEntities_outofpvs_entity_updates_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PacketEntities_outofpvs_entity_updates_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t& a, CSVCMsg_PacketEntities_outofpvs_entity_updates_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* 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(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketEntities_outofpvs_entity_updates_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { + CSVCMsg_PacketEntities_outofpvs_entity_updates_t::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(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PacketEntities.outofpvs_entity_updates_t"; + } + protected: + explicit CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::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 { + kDataFieldNumber = 2, + kCountFieldNumber = 1, + }; + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 count = 1; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + int32_t count() const; + void set_count(int32_t value); + private: + int32_t _internal_count() const; + void _internal_set_count(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t count_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketEntities final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities) */ { + public: + inline CSVCMsg_PacketEntities() : CSVCMsg_PacketEntities(nullptr) {} + ~CSVCMsg_PacketEntities() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from); + CSVCMsg_PacketEntities(CSVCMsg_PacketEntities&& from) noexcept + : CSVCMsg_PacketEntities() { + *this = ::std::move(from); + } + + inline CSVCMsg_PacketEntities& operator=(const CSVCMsg_PacketEntities& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PacketEntities& operator=(CSVCMsg_PacketEntities&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PacketEntities& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PacketEntities* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PacketEntities_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CSVCMsg_PacketEntities& a, CSVCMsg_PacketEntities& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PacketEntities* 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(CSVCMsg_PacketEntities* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketEntities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PacketEntities& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PacketEntities& from) { + CSVCMsg_PacketEntities::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(CSVCMsg_PacketEntities* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PacketEntities"; + } + protected: + explicit CSVCMsg_PacketEntities(::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 ---------------------------------------------------- + + typedef CSVCMsg_PacketEntities_alternate_baseline_t alternate_baseline_t; + typedef CSVCMsg_PacketEntities_non_transmitted_entities_t non_transmitted_entities_t; + typedef CSVCMsg_PacketEntities_outofpvs_entity_updates_t outofpvs_entity_updates_t; + + // accessors ------------------------------------------------------- + + enum : int { + kAlternateBaselinesFieldNumber = 15, + kCmdRecvStatusFieldNumber = 22, + kEntityDataFieldNumber = 7, + kSerializedEntitiesFieldNumber = 13, + kDevPaddingFieldNumber = 999, + kNonTransmittedEntitiesFieldNumber = 19, + kOutofpvsEntityUpdatesFieldNumber = 23, + kMaxEntriesFieldNumber = 1, + kUpdatedEntriesFieldNumber = 2, + kBaselineFieldNumber = 5, + kLegacyIsDeltaFieldNumber = 3, + kUpdateBaselineFieldNumber = 4, + kPendingFullFrameFieldNumber = 8, + kDeltaFromFieldNumber = 6, + kActiveSpawngroupHandleFieldNumber = 9, + kMaxSpawngroupCreationsequenceFieldNumber = 10, + kLastCmdNumberExecutedFieldNumber = 11, + kServerTickFieldNumber = 12, + kHasPvsVisBitsDeprecatedFieldNumber = 16, + kLastCmdNumberRecvDeltaFieldNumber = 17, + kCqStarvedCommandTicksFieldNumber = 20, + kCqDiscardedCommandTicksFieldNumber = 21, + }; + // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; + int alternate_baselines_size() const; + private: + int _internal_alternate_baselines_size() const; + public: + void clear_alternate_baselines(); + ::CSVCMsg_PacketEntities_alternate_baseline_t* mutable_alternate_baselines(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >* + mutable_alternate_baselines(); + private: + const ::CSVCMsg_PacketEntities_alternate_baseline_t& _internal_alternate_baselines(int index) const; + ::CSVCMsg_PacketEntities_alternate_baseline_t* _internal_add_alternate_baselines(); + public: + const ::CSVCMsg_PacketEntities_alternate_baseline_t& alternate_baselines(int index) const; + ::CSVCMsg_PacketEntities_alternate_baseline_t* add_alternate_baselines(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >& + alternate_baselines() const; + + // repeated sint32 cmd_recv_status = 22 [packed = true]; + int cmd_recv_status_size() const; + private: + int _internal_cmd_recv_status_size() const; + public: + void clear_cmd_recv_status(); + private: + int32_t _internal_cmd_recv_status(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_cmd_recv_status() const; + void _internal_add_cmd_recv_status(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_cmd_recv_status(); + public: + int32_t cmd_recv_status(int index) const; + void set_cmd_recv_status(int index, int32_t value); + void add_cmd_recv_status(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + cmd_recv_status() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_cmd_recv_status(); + + // optional bytes entity_data = 7; + bool has_entity_data() const; + private: + bool _internal_has_entity_data() const; + public: + void clear_entity_data(); + const std::string& entity_data() const; + template + void set_entity_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_entity_data(); + PROTOBUF_NODISCARD std::string* release_entity_data(); + void set_allocated_entity_data(std::string* entity_data); + private: + const std::string& _internal_entity_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_data(const std::string& value); + std::string* _internal_mutable_entity_data(); + public: + + // optional bytes serialized_entities = 13; + bool has_serialized_entities() const; + private: + bool _internal_has_serialized_entities() const; + public: + void clear_serialized_entities(); + const std::string& serialized_entities() const; + template + void set_serialized_entities(ArgT0&& arg0, ArgT... args); + std::string* mutable_serialized_entities(); + PROTOBUF_NODISCARD std::string* release_serialized_entities(); + void set_allocated_serialized_entities(std::string* serialized_entities); + private: + const std::string& _internal_serialized_entities() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serialized_entities(const std::string& value); + std::string* _internal_mutable_serialized_entities(); + public: + + // optional bytes dev_padding = 999; + bool has_dev_padding() const; + private: + bool _internal_has_dev_padding() const; + public: + void clear_dev_padding(); + const std::string& dev_padding() const; + template + void set_dev_padding(ArgT0&& arg0, ArgT... args); + std::string* mutable_dev_padding(); + PROTOBUF_NODISCARD std::string* release_dev_padding(); + void set_allocated_dev_padding(std::string* dev_padding); + private: + const std::string& _internal_dev_padding() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dev_padding(const std::string& value); + std::string* _internal_mutable_dev_padding(); + public: + + // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; + bool has_non_transmitted_entities() const; + private: + bool _internal_has_non_transmitted_entities() const; + public: + void clear_non_transmitted_entities(); + const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& non_transmitted_entities() const; + PROTOBUF_NODISCARD ::CSVCMsg_PacketEntities_non_transmitted_entities_t* release_non_transmitted_entities(); + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* mutable_non_transmitted_entities(); + void set_allocated_non_transmitted_entities(::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities); + private: + const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& _internal_non_transmitted_entities() const; + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* _internal_mutable_non_transmitted_entities(); + public: + void unsafe_arena_set_allocated_non_transmitted_entities( + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities); + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* unsafe_arena_release_non_transmitted_entities(); + + // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; + bool has_outofpvs_entity_updates() const; + private: + bool _internal_has_outofpvs_entity_updates() const; + public: + void clear_outofpvs_entity_updates(); + const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& outofpvs_entity_updates() const; + PROTOBUF_NODISCARD ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* release_outofpvs_entity_updates(); + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* mutable_outofpvs_entity_updates(); + void set_allocated_outofpvs_entity_updates(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates); + private: + const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& _internal_outofpvs_entity_updates() const; + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* _internal_mutable_outofpvs_entity_updates(); + public: + void unsafe_arena_set_allocated_outofpvs_entity_updates( + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates); + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* unsafe_arena_release_outofpvs_entity_updates(); + + // optional int32 max_entries = 1; + bool has_max_entries() const; + private: + bool _internal_has_max_entries() const; + public: + void clear_max_entries(); + int32_t max_entries() const; + void set_max_entries(int32_t value); + private: + int32_t _internal_max_entries() const; + void _internal_set_max_entries(int32_t value); + public: + + // optional int32 updated_entries = 2; + bool has_updated_entries() const; + private: + bool _internal_has_updated_entries() const; + public: + void clear_updated_entries(); + int32_t updated_entries() const; + void set_updated_entries(int32_t value); + private: + int32_t _internal_updated_entries() const; + void _internal_set_updated_entries(int32_t value); + public: + + // optional int32 baseline = 5; + bool has_baseline() const; + private: + bool _internal_has_baseline() const; + public: + void clear_baseline(); + int32_t baseline() const; + void set_baseline(int32_t value); + private: + int32_t _internal_baseline() const; + void _internal_set_baseline(int32_t value); + public: + + // optional bool legacy_is_delta = 3; + bool has_legacy_is_delta() const; + private: + bool _internal_has_legacy_is_delta() const; + public: + void clear_legacy_is_delta(); + bool legacy_is_delta() const; + void set_legacy_is_delta(bool value); + private: + bool _internal_legacy_is_delta() const; + void _internal_set_legacy_is_delta(bool value); + public: + + // optional bool update_baseline = 4; + bool has_update_baseline() const; + private: + bool _internal_has_update_baseline() const; + public: + void clear_update_baseline(); + bool update_baseline() const; + void set_update_baseline(bool value); + private: + bool _internal_update_baseline() const; + void _internal_set_update_baseline(bool value); + public: + + // optional bool pending_full_frame = 8; + bool has_pending_full_frame() const; + private: + bool _internal_has_pending_full_frame() const; + public: + void clear_pending_full_frame(); + bool pending_full_frame() const; + void set_pending_full_frame(bool value); + private: + bool _internal_pending_full_frame() const; + void _internal_set_pending_full_frame(bool value); + public: + + // optional int32 delta_from = 6; + bool has_delta_from() const; + private: + bool _internal_has_delta_from() const; + public: + void clear_delta_from(); + int32_t delta_from() const; + void set_delta_from(int32_t value); + private: + int32_t _internal_delta_from() const; + void _internal_set_delta_from(int32_t value); + public: + + // optional uint32 active_spawngroup_handle = 9; + bool has_active_spawngroup_handle() const; + private: + bool _internal_has_active_spawngroup_handle() const; + public: + void clear_active_spawngroup_handle(); + uint32_t active_spawngroup_handle() const; + void set_active_spawngroup_handle(uint32_t value); + private: + uint32_t _internal_active_spawngroup_handle() const; + void _internal_set_active_spawngroup_handle(uint32_t value); + public: + + // optional uint32 max_spawngroup_creationsequence = 10; + bool has_max_spawngroup_creationsequence() const; + private: + bool _internal_has_max_spawngroup_creationsequence() const; + public: + void clear_max_spawngroup_creationsequence(); + uint32_t max_spawngroup_creationsequence() const; + void set_max_spawngroup_creationsequence(uint32_t value); + private: + uint32_t _internal_max_spawngroup_creationsequence() const; + void _internal_set_max_spawngroup_creationsequence(uint32_t value); + public: + + // optional uint32 last_cmd_number_executed = 11; + bool has_last_cmd_number_executed() const; + private: + bool _internal_has_last_cmd_number_executed() const; + public: + void clear_last_cmd_number_executed(); + uint32_t last_cmd_number_executed() const; + void set_last_cmd_number_executed(uint32_t value); + private: + uint32_t _internal_last_cmd_number_executed() const; + void _internal_set_last_cmd_number_executed(uint32_t value); + public: + + // optional uint32 server_tick = 12; + bool has_server_tick() const; + private: + bool _internal_has_server_tick() const; + public: + void clear_server_tick(); + uint32_t server_tick() const; + void set_server_tick(uint32_t value); + private: + uint32_t _internal_server_tick() const; + void _internal_set_server_tick(uint32_t value); + public: + + // optional uint32 has_pvs_vis_bits_deprecated = 16; + bool has_has_pvs_vis_bits_deprecated() const; + private: + bool _internal_has_has_pvs_vis_bits_deprecated() const; + public: + void clear_has_pvs_vis_bits_deprecated(); + uint32_t has_pvs_vis_bits_deprecated() const; + void set_has_pvs_vis_bits_deprecated(uint32_t value); + private: + uint32_t _internal_has_pvs_vis_bits_deprecated() const; + void _internal_set_has_pvs_vis_bits_deprecated(uint32_t value); + public: + + // optional sint32 last_cmd_number_recv_delta = 17; + bool has_last_cmd_number_recv_delta() const; + private: + bool _internal_has_last_cmd_number_recv_delta() const; + public: + void clear_last_cmd_number_recv_delta(); + int32_t last_cmd_number_recv_delta() const; + void set_last_cmd_number_recv_delta(int32_t value); + private: + int32_t _internal_last_cmd_number_recv_delta() const; + void _internal_set_last_cmd_number_recv_delta(int32_t value); + public: + + // optional uint32 cq_starved_command_ticks = 20; + bool has_cq_starved_command_ticks() const; + private: + bool _internal_has_cq_starved_command_ticks() const; + public: + void clear_cq_starved_command_ticks(); + uint32_t cq_starved_command_ticks() const; + void set_cq_starved_command_ticks(uint32_t value); + private: + uint32_t _internal_cq_starved_command_ticks() const; + void _internal_set_cq_starved_command_ticks(uint32_t value); + public: + + // optional uint32 cq_discarded_command_ticks = 21; + bool has_cq_discarded_command_ticks() const; + private: + bool _internal_has_cq_discarded_command_ticks() const; + public: + void clear_cq_discarded_command_ticks(); + uint32_t cq_discarded_command_ticks() const; + void set_cq_discarded_command_ticks(uint32_t value); + private: + uint32_t _internal_cq_discarded_command_ticks() const; + void _internal_set_cq_discarded_command_ticks(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t > alternate_baselines_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > cmd_recv_status_; + mutable std::atomic _cmd_recv_status_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_entities_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dev_padding_; + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities_; + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates_; + int32_t max_entries_; + int32_t updated_entries_; + int32_t baseline_; + bool legacy_is_delta_; + bool update_baseline_; + bool pending_full_frame_; + int32_t delta_from_; + uint32_t active_spawngroup_handle_; + uint32_t max_spawngroup_creationsequence_; + uint32_t last_cmd_number_executed_; + uint32_t server_tick_; + uint32_t has_pvs_vis_bits_deprecated_; + int32_t last_cmd_number_recv_delta_; + uint32_t cq_starved_command_ticks_; + uint32_t cq_discarded_command_ticks_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_TempEntities final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_TempEntities) */ { + public: + inline CSVCMsg_TempEntities() : CSVCMsg_TempEntities(nullptr) {} + ~CSVCMsg_TempEntities() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_TempEntities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from); + CSVCMsg_TempEntities(CSVCMsg_TempEntities&& from) noexcept + : CSVCMsg_TempEntities() { + *this = ::std::move(from); + } + + inline CSVCMsg_TempEntities& operator=(const CSVCMsg_TempEntities& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_TempEntities& operator=(CSVCMsg_TempEntities&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_TempEntities& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_TempEntities* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_TempEntities_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CSVCMsg_TempEntities& a, CSVCMsg_TempEntities& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_TempEntities* 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(CSVCMsg_TempEntities* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_TempEntities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_TempEntities& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_TempEntities& from) { + CSVCMsg_TempEntities::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(CSVCMsg_TempEntities* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_TempEntities"; + } + protected: + explicit CSVCMsg_TempEntities(::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 { + kEntityDataFieldNumber = 3, + kReliableFieldNumber = 1, + kNumEntriesFieldNumber = 2, + }; + // optional bytes entity_data = 3; + bool has_entity_data() const; + private: + bool _internal_has_entity_data() const; + public: + void clear_entity_data(); + const std::string& entity_data() const; + template + void set_entity_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_entity_data(); + PROTOBUF_NODISCARD std::string* release_entity_data(); + void set_allocated_entity_data(std::string* entity_data); + private: + const std::string& _internal_entity_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_data(const std::string& value); + std::string* _internal_mutable_entity_data(); + public: + + // optional bool reliable = 1; + bool has_reliable() const; + private: + bool _internal_has_reliable() const; + public: + void clear_reliable(); + bool reliable() const; + void set_reliable(bool value); + private: + bool _internal_reliable() const; + void _internal_set_reliable(bool value); + public: + + // optional int32 num_entries = 2; + bool has_num_entries() const; + private: + bool _internal_has_num_entries() const; + public: + void clear_num_entries(); + int32_t num_entries() const; + void set_num_entries(int32_t value); + private: + int32_t _internal_num_entries() const; + void _internal_set_num_entries(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_TempEntities) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_data_; + bool reliable_; + int32_t num_entries_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_CreateStringTable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CreateStringTable) */ { + public: + inline CSVCMsg_CreateStringTable() : CSVCMsg_CreateStringTable(nullptr) {} + ~CSVCMsg_CreateStringTable() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from); + CSVCMsg_CreateStringTable(CSVCMsg_CreateStringTable&& from) noexcept + : CSVCMsg_CreateStringTable() { + *this = ::std::move(from); + } + + inline CSVCMsg_CreateStringTable& operator=(const CSVCMsg_CreateStringTable& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_CreateStringTable& operator=(CSVCMsg_CreateStringTable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_CreateStringTable& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_CreateStringTable* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_CreateStringTable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CSVCMsg_CreateStringTable& a, CSVCMsg_CreateStringTable& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_CreateStringTable* 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(CSVCMsg_CreateStringTable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_CreateStringTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_CreateStringTable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_CreateStringTable& from) { + CSVCMsg_CreateStringTable::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(CSVCMsg_CreateStringTable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_CreateStringTable"; + } + protected: + explicit CSVCMsg_CreateStringTable(::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, + kStringDataFieldNumber = 7, + kNumEntriesFieldNumber = 2, + kUserDataSizeFieldNumber = 4, + kUserDataSizeBitsFieldNumber = 5, + kFlagsFieldNumber = 6, + kUserDataFixedSizeFieldNumber = 3, + kDataCompressedFieldNumber = 9, + kUsingVarintBitcountsFieldNumber = 10, + kUncompressedSizeFieldNumber = 8, + }; + // optional string name = 1; + 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: + + // optional bytes string_data = 7; + bool has_string_data() const; + private: + bool _internal_has_string_data() const; + public: + void clear_string_data(); + const std::string& string_data() const; + template + void set_string_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_data(); + PROTOBUF_NODISCARD std::string* release_string_data(); + void set_allocated_string_data(std::string* string_data); + private: + const std::string& _internal_string_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_data(const std::string& value); + std::string* _internal_mutable_string_data(); + public: + + // optional int32 num_entries = 2; + bool has_num_entries() const; + private: + bool _internal_has_num_entries() const; + public: + void clear_num_entries(); + int32_t num_entries() const; + void set_num_entries(int32_t value); + private: + int32_t _internal_num_entries() const; + void _internal_set_num_entries(int32_t value); + public: + + // optional int32 user_data_size = 4; + bool has_user_data_size() const; + private: + bool _internal_has_user_data_size() const; + public: + void clear_user_data_size(); + int32_t user_data_size() const; + void set_user_data_size(int32_t value); + private: + int32_t _internal_user_data_size() const; + void _internal_set_user_data_size(int32_t value); + public: + + // optional int32 user_data_size_bits = 5; + bool has_user_data_size_bits() const; + private: + bool _internal_has_user_data_size_bits() const; + public: + void clear_user_data_size_bits(); + int32_t user_data_size_bits() const; + void set_user_data_size_bits(int32_t value); + private: + int32_t _internal_user_data_size_bits() const; + void _internal_set_user_data_size_bits(int32_t value); + public: + + // optional int32 flags = 6; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // optional bool user_data_fixed_size = 3; + bool has_user_data_fixed_size() const; + private: + bool _internal_has_user_data_fixed_size() const; + public: + void clear_user_data_fixed_size(); + bool user_data_fixed_size() const; + void set_user_data_fixed_size(bool value); + private: + bool _internal_user_data_fixed_size() const; + void _internal_set_user_data_fixed_size(bool value); + public: + + // optional bool data_compressed = 9; + bool has_data_compressed() const; + private: + bool _internal_has_data_compressed() const; + public: + void clear_data_compressed(); + bool data_compressed() const; + void set_data_compressed(bool value); + private: + bool _internal_data_compressed() const; + void _internal_set_data_compressed(bool value); + public: + + // optional bool using_varint_bitcounts = 10; + bool has_using_varint_bitcounts() const; + private: + bool _internal_has_using_varint_bitcounts() const; + public: + void clear_using_varint_bitcounts(); + bool using_varint_bitcounts() const; + void set_using_varint_bitcounts(bool value); + private: + bool _internal_using_varint_bitcounts() const; + void _internal_set_using_varint_bitcounts(bool value); + public: + + // optional int32 uncompressed_size = 8; + bool has_uncompressed_size() const; + private: + bool _internal_has_uncompressed_size() const; + public: + void clear_uncompressed_size(); + int32_t uncompressed_size() const; + void set_uncompressed_size(int32_t value); + private: + int32_t _internal_uncompressed_size() const; + void _internal_set_uncompressed_size(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_CreateStringTable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_data_; + int32_t num_entries_; + int32_t user_data_size_; + int32_t user_data_size_bits_; + int32_t flags_; + bool user_data_fixed_size_; + bool data_compressed_; + bool using_varint_bitcounts_; + int32_t uncompressed_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_UpdateStringTable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UpdateStringTable) */ { + public: + inline CSVCMsg_UpdateStringTable() : CSVCMsg_UpdateStringTable(nullptr) {} + ~CSVCMsg_UpdateStringTable() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from); + CSVCMsg_UpdateStringTable(CSVCMsg_UpdateStringTable&& from) noexcept + : CSVCMsg_UpdateStringTable() { + *this = ::std::move(from); + } + + inline CSVCMsg_UpdateStringTable& operator=(const CSVCMsg_UpdateStringTable& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_UpdateStringTable& operator=(CSVCMsg_UpdateStringTable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_UpdateStringTable& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_UpdateStringTable* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_UpdateStringTable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CSVCMsg_UpdateStringTable& a, CSVCMsg_UpdateStringTable& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_UpdateStringTable* 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(CSVCMsg_UpdateStringTable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_UpdateStringTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_UpdateStringTable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_UpdateStringTable& from) { + CSVCMsg_UpdateStringTable::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(CSVCMsg_UpdateStringTable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_UpdateStringTable"; + } + protected: + explicit CSVCMsg_UpdateStringTable(::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 { + kStringDataFieldNumber = 3, + kTableIdFieldNumber = 1, + kNumChangedEntriesFieldNumber = 2, + }; + // optional bytes string_data = 3; + bool has_string_data() const; + private: + bool _internal_has_string_data() const; + public: + void clear_string_data(); + const std::string& string_data() const; + template + void set_string_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_data(); + PROTOBUF_NODISCARD std::string* release_string_data(); + void set_allocated_string_data(std::string* string_data); + private: + const std::string& _internal_string_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_data(const std::string& value); + std::string* _internal_mutable_string_data(); + public: + + // optional int32 table_id = 1; + bool has_table_id() const; + private: + bool _internal_has_table_id() const; + public: + void clear_table_id(); + int32_t table_id() const; + void set_table_id(int32_t value); + private: + int32_t _internal_table_id() const; + void _internal_set_table_id(int32_t value); + public: + + // optional int32 num_changed_entries = 2; + bool has_num_changed_entries() const; + private: + bool _internal_has_num_changed_entries() const; + public: + void clear_num_changed_entries(); + int32_t num_changed_entries() const; + void set_num_changed_entries(int32_t value); + private: + int32_t _internal_num_changed_entries() const; + void _internal_set_num_changed_entries(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_UpdateStringTable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_data_; + int32_t table_id_; + int32_t num_changed_entries_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_VoiceData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_VoiceData) */ { + public: + inline CSVCMsg_VoiceData() : CSVCMsg_VoiceData(nullptr) {} + ~CSVCMsg_VoiceData() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from); + CSVCMsg_VoiceData(CSVCMsg_VoiceData&& from) noexcept + : CSVCMsg_VoiceData() { + *this = ::std::move(from); + } + + inline CSVCMsg_VoiceData& operator=(const CSVCMsg_VoiceData& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_VoiceData& operator=(CSVCMsg_VoiceData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_VoiceData& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_VoiceData* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_VoiceData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CSVCMsg_VoiceData& a, CSVCMsg_VoiceData& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_VoiceData* 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(CSVCMsg_VoiceData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_VoiceData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_VoiceData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_VoiceData& from) { + CSVCMsg_VoiceData::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(CSVCMsg_VoiceData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_VoiceData"; + } + protected: + explicit CSVCMsg_VoiceData(::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 { + kAudioFieldNumber = 1, + kXuidFieldNumber = 4, + kProximityFieldNumber = 3, + kAudibleMaskFieldNumber = 5, + kTickFieldNumber = 6, + kPassthroughFieldNumber = 7, + kClientFieldNumber = 2, + }; + // optional .CMsgVoiceAudio audio = 1; + bool has_audio() const; + private: + bool _internal_has_audio() const; + public: + void clear_audio(); + const ::CMsgVoiceAudio& audio() const; + PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); + ::CMsgVoiceAudio* mutable_audio(); + void set_allocated_audio(::CMsgVoiceAudio* audio); + private: + const ::CMsgVoiceAudio& _internal_audio() const; + ::CMsgVoiceAudio* _internal_mutable_audio(); + public: + void unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio); + ::CMsgVoiceAudio* unsafe_arena_release_audio(); + + // optional fixed64 xuid = 4; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional bool proximity = 3; + bool has_proximity() const; + private: + bool _internal_has_proximity() const; + public: + void clear_proximity(); + bool proximity() const; + void set_proximity(bool value); + private: + bool _internal_proximity() const; + void _internal_set_proximity(bool value); + public: + + // optional int32 audible_mask = 5; + bool has_audible_mask() const; + private: + bool _internal_has_audible_mask() const; + public: + void clear_audible_mask(); + int32_t audible_mask() const; + void set_audible_mask(int32_t value); + private: + int32_t _internal_audible_mask() const; + void _internal_set_audible_mask(int32_t value); + public: + + // optional uint32 tick = 6; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + uint32_t tick() const; + void set_tick(uint32_t value); + private: + uint32_t _internal_tick() const; + void _internal_set_tick(uint32_t value); + public: + + // optional int32 passthrough = 7; + bool has_passthrough() const; + private: + bool _internal_has_passthrough() const; + public: + void clear_passthrough(); + int32_t passthrough() const; + void set_passthrough(int32_t value); + private: + int32_t _internal_passthrough() const; + void _internal_set_passthrough(int32_t value); + public: + + // optional int32 client = 2 [default = -1]; + bool has_client() const; + private: + bool _internal_has_client() const; + public: + void clear_client(); + int32_t client() const; + void set_client(int32_t value); + private: + int32_t _internal_client() const; + void _internal_set_client(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVoiceAudio* audio_; + uint64_t xuid_; + bool proximity_; + int32_t audible_mask_; + uint32_t tick_; + int32_t passthrough_; + int32_t client_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketReliable final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketReliable) */ { + public: + inline CSVCMsg_PacketReliable() : CSVCMsg_PacketReliable(nullptr) {} + ~CSVCMsg_PacketReliable() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketReliable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from); + CSVCMsg_PacketReliable(CSVCMsg_PacketReliable&& from) noexcept + : CSVCMsg_PacketReliable() { + *this = ::std::move(from); + } + + inline CSVCMsg_PacketReliable& operator=(const CSVCMsg_PacketReliable& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PacketReliable& operator=(CSVCMsg_PacketReliable&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PacketReliable& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PacketReliable* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PacketReliable_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CSVCMsg_PacketReliable& a, CSVCMsg_PacketReliable& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PacketReliable* 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(CSVCMsg_PacketReliable* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketReliable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PacketReliable& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PacketReliable& from) { + CSVCMsg_PacketReliable::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(CSVCMsg_PacketReliable* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PacketReliable"; + } + protected: + explicit CSVCMsg_PacketReliable(::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 { + kTickFieldNumber = 1, + kMessagessizeFieldNumber = 2, + kStateFieldNumber = 3, + }; + // optional int32 tick = 1; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + + // optional int32 messagessize = 2; + bool has_messagessize() const; + private: + bool _internal_has_messagessize() const; + public: + void clear_messagessize(); + int32_t messagessize() const; + void set_messagessize(int32_t value); + private: + int32_t _internal_messagessize() const; + void _internal_set_messagessize(int32_t value); + public: + + // optional bool state = 3; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + bool state() const; + void set_state(bool value); + private: + bool _internal_state() const; + void _internal_set_state(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketReliable) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t tick_; + int32_t messagessize_; + bool state_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_FullFrameSplit final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FullFrameSplit) */ { + public: + inline CSVCMsg_FullFrameSplit() : CSVCMsg_FullFrameSplit(nullptr) {} + ~CSVCMsg_FullFrameSplit() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_FullFrameSplit(const CSVCMsg_FullFrameSplit& from); + CSVCMsg_FullFrameSplit(CSVCMsg_FullFrameSplit&& from) noexcept + : CSVCMsg_FullFrameSplit() { + *this = ::std::move(from); + } + + inline CSVCMsg_FullFrameSplit& operator=(const CSVCMsg_FullFrameSplit& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_FullFrameSplit& operator=(CSVCMsg_FullFrameSplit&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_FullFrameSplit& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_FullFrameSplit* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_FullFrameSplit_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CSVCMsg_FullFrameSplit& a, CSVCMsg_FullFrameSplit& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_FullFrameSplit* 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(CSVCMsg_FullFrameSplit* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_FullFrameSplit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_FullFrameSplit& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_FullFrameSplit& from) { + CSVCMsg_FullFrameSplit::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(CSVCMsg_FullFrameSplit* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_FullFrameSplit"; + } + protected: + explicit CSVCMsg_FullFrameSplit(::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 { + kDataFieldNumber = 4, + kTickFieldNumber = 1, + kSectionFieldNumber = 2, + kTotalFieldNumber = 3, + }; + // optional bytes data = 4; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 tick = 1; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + + // optional int32 section = 2; + bool has_section() const; + private: + bool _internal_has_section() const; + public: + void clear_section(); + int32_t section() const; + void set_section(int32_t value); + private: + int32_t _internal_section() const; + void _internal_set_section(int32_t value); + public: + + // optional int32 total = 3; + bool has_total() const; + private: + bool _internal_has_total() const; + public: + void clear_total(); + int32_t total() const; + void set_total(int32_t value); + private: + int32_t _internal_total() const; + void _internal_set_total(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_FullFrameSplit) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t tick_; + int32_t section_; + int32_t total_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_HLTVStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HLTVStatus) */ { + public: + inline CSVCMsg_HLTVStatus() : CSVCMsg_HLTVStatus(nullptr) {} + ~CSVCMsg_HLTVStatus() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_HLTVStatus(const CSVCMsg_HLTVStatus& from); + CSVCMsg_HLTVStatus(CSVCMsg_HLTVStatus&& from) noexcept + : CSVCMsg_HLTVStatus() { + *this = ::std::move(from); + } + + inline CSVCMsg_HLTVStatus& operator=(const CSVCMsg_HLTVStatus& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_HLTVStatus& operator=(CSVCMsg_HLTVStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_HLTVStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_HLTVStatus* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_HLTVStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CSVCMsg_HLTVStatus& a, CSVCMsg_HLTVStatus& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_HLTVStatus* 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(CSVCMsg_HLTVStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_HLTVStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_HLTVStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_HLTVStatus& from) { + CSVCMsg_HLTVStatus::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(CSVCMsg_HLTVStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_HLTVStatus"; + } + protected: + explicit CSVCMsg_HLTVStatus(::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 { + kMasterFieldNumber = 1, + kClientsFieldNumber = 2, + kSlotsFieldNumber = 3, + kProxiesFieldNumber = 4, + }; + // optional string master = 1; + bool has_master() const; + private: + bool _internal_has_master() const; + public: + void clear_master(); + const std::string& master() const; + template + void set_master(ArgT0&& arg0, ArgT... args); + std::string* mutable_master(); + PROTOBUF_NODISCARD std::string* release_master(); + void set_allocated_master(std::string* master); + private: + const std::string& _internal_master() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_master(const std::string& value); + std::string* _internal_mutable_master(); + public: + + // optional int32 clients = 2; + bool has_clients() const; + private: + bool _internal_has_clients() const; + public: + void clear_clients(); + int32_t clients() const; + void set_clients(int32_t value); + private: + int32_t _internal_clients() const; + void _internal_set_clients(int32_t value); + public: + + // optional int32 slots = 3; + bool has_slots() const; + private: + bool _internal_has_slots() const; + public: + void clear_slots(); + int32_t slots() const; + void set_slots(int32_t value); + private: + int32_t _internal_slots() const; + void _internal_set_slots(int32_t value); + public: + + // optional int32 proxies = 4; + bool has_proxies() const; + private: + bool _internal_has_proxies() const; + public: + void clear_proxies(); + int32_t proxies() const; + void set_proxies(int32_t value); + private: + int32_t _internal_proxies() const; + void _internal_set_proxies(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_HLTVStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr master_; + int32_t clients_; + int32_t slots_; + int32_t proxies_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ServerSteamID final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ServerSteamID) */ { + public: + inline CSVCMsg_ServerSteamID() : CSVCMsg_ServerSteamID(nullptr) {} + ~CSVCMsg_ServerSteamID() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_ServerSteamID(const CSVCMsg_ServerSteamID& from); + CSVCMsg_ServerSteamID(CSVCMsg_ServerSteamID&& from) noexcept + : CSVCMsg_ServerSteamID() { + *this = ::std::move(from); + } + + inline CSVCMsg_ServerSteamID& operator=(const CSVCMsg_ServerSteamID& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_ServerSteamID& operator=(CSVCMsg_ServerSteamID&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_ServerSteamID& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_ServerSteamID* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_ServerSteamID_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CSVCMsg_ServerSteamID& a, CSVCMsg_ServerSteamID& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_ServerSteamID* 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(CSVCMsg_ServerSteamID* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_ServerSteamID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_ServerSteamID& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_ServerSteamID& from) { + CSVCMsg_ServerSteamID::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(CSVCMsg_ServerSteamID* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_ServerSteamID"; + } + protected: + explicit CSVCMsg_ServerSteamID(::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 { + kSteamIdFieldNumber = 1, + }; + // optional uint64 steam_id = 1; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_ServerSteamID) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_CmdKeyValues final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CmdKeyValues) */ { + public: + inline CSVCMsg_CmdKeyValues() : CSVCMsg_CmdKeyValues(nullptr) {} + ~CSVCMsg_CmdKeyValues() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from); + CSVCMsg_CmdKeyValues(CSVCMsg_CmdKeyValues&& from) noexcept + : CSVCMsg_CmdKeyValues() { + *this = ::std::move(from); + } + + inline CSVCMsg_CmdKeyValues& operator=(const CSVCMsg_CmdKeyValues& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_CmdKeyValues& operator=(CSVCMsg_CmdKeyValues&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_CmdKeyValues& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_CmdKeyValues* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_CmdKeyValues_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CSVCMsg_CmdKeyValues& a, CSVCMsg_CmdKeyValues& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_CmdKeyValues* 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(CSVCMsg_CmdKeyValues* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_CmdKeyValues* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_CmdKeyValues& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_CmdKeyValues& from) { + CSVCMsg_CmdKeyValues::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(CSVCMsg_CmdKeyValues* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_CmdKeyValues"; + } + protected: + explicit CSVCMsg_CmdKeyValues(::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 { + kDataFieldNumber = 1, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_CmdKeyValues) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_RconServerDetails final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_RconServerDetails) */ { + public: + inline CSVCMsg_RconServerDetails() : CSVCMsg_RconServerDetails(nullptr) {} + ~CSVCMsg_RconServerDetails() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_RconServerDetails(const CSVCMsg_RconServerDetails& from); + CSVCMsg_RconServerDetails(CSVCMsg_RconServerDetails&& from) noexcept + : CSVCMsg_RconServerDetails() { + *this = ::std::move(from); + } + + inline CSVCMsg_RconServerDetails& operator=(const CSVCMsg_RconServerDetails& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_RconServerDetails& operator=(CSVCMsg_RconServerDetails&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_RconServerDetails& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_RconServerDetails* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_RconServerDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CSVCMsg_RconServerDetails& a, CSVCMsg_RconServerDetails& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_RconServerDetails* 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(CSVCMsg_RconServerDetails* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_RconServerDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_RconServerDetails& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_RconServerDetails& from) { + CSVCMsg_RconServerDetails::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(CSVCMsg_RconServerDetails* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_RconServerDetails"; + } + protected: + explicit CSVCMsg_RconServerDetails(::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 { + kTokenFieldNumber = 1, + kDetailsFieldNumber = 2, + }; + // optional bytes token = 1; + bool has_token() const; + private: + bool _internal_has_token() const; + public: + void clear_token(); + const std::string& token() const; + template + void set_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_token(); + PROTOBUF_NODISCARD std::string* release_token(); + void set_allocated_token(std::string* token); + private: + const std::string& _internal_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); + std::string* _internal_mutable_token(); + public: + + // optional string details = 2; + bool has_details() const; + private: + bool _internal_has_details() const; + public: + void clear_details(); + const std::string& details() const; + template + void set_details(ArgT0&& arg0, ArgT... args); + std::string* mutable_details(); + PROTOBUF_NODISCARD std::string* release_details(); + void set_allocated_details(std::string* details); + private: + const std::string& _internal_details() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_details(const std::string& value); + std::string* _internal_mutable_details(); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_RconServerDetails) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgIPCAddress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgIPCAddress) */ { + public: + inline CMsgIPCAddress() : CMsgIPCAddress(nullptr) {} + ~CMsgIPCAddress() override; + explicit PROTOBUF_CONSTEXPR CMsgIPCAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgIPCAddress(const CMsgIPCAddress& from); + CMsgIPCAddress(CMsgIPCAddress&& from) noexcept + : CMsgIPCAddress() { + *this = ::std::move(from); + } + + inline CMsgIPCAddress& operator=(const CMsgIPCAddress& from) { + CopyFrom(from); + return *this; + } + inline CMsgIPCAddress& operator=(CMsgIPCAddress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgIPCAddress& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgIPCAddress* internal_default_instance() { + return reinterpret_cast( + &_CMsgIPCAddress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(CMsgIPCAddress& a, CMsgIPCAddress& b) { + a.Swap(&b); + } + inline void Swap(CMsgIPCAddress* 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(CMsgIPCAddress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgIPCAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgIPCAddress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgIPCAddress& from) { + CMsgIPCAddress::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(CMsgIPCAddress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgIPCAddress"; + } + protected: + explicit CMsgIPCAddress(::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 { + kComputerGuidFieldNumber = 1, + kProcessIdFieldNumber = 2, + }; + // optional fixed64 computer_guid = 1; + bool has_computer_guid() const; + private: + bool _internal_has_computer_guid() const; + public: + void clear_computer_guid(); + uint64_t computer_guid() const; + void set_computer_guid(uint64_t value); + private: + uint64_t _internal_computer_guid() const; + void _internal_set_computer_guid(uint64_t value); + public: + + // optional uint32 process_id = 2; + bool has_process_id() const; + private: + bool _internal_has_process_id() const; + public: + void clear_process_id(); + uint32_t process_id() const; + void set_process_id(uint32_t value); + private: + uint32_t _internal_process_id() const; + void _internal_set_process_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgIPCAddress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t computer_guid_; + uint32_t process_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerPeer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerPeer) */ { + public: + inline CMsgServerPeer() : CMsgServerPeer(nullptr) {} + ~CMsgServerPeer() override; + explicit PROTOBUF_CONSTEXPR CMsgServerPeer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerPeer(const CMsgServerPeer& from); + CMsgServerPeer(CMsgServerPeer&& from) noexcept + : CMsgServerPeer() { + *this = ::std::move(from); + } + + inline CMsgServerPeer& operator=(const CMsgServerPeer& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerPeer& operator=(CMsgServerPeer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerPeer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerPeer* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerPeer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(CMsgServerPeer& a, CMsgServerPeer& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerPeer* 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(CMsgServerPeer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerPeer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerPeer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerPeer& from) { + CMsgServerPeer::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(CMsgServerPeer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerPeer"; + } + protected: + explicit CMsgServerPeer(::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 { + kIpcFieldNumber = 3, + kSteamidFieldNumber = 2, + kTheyHearYouFieldNumber = 4, + kYouHearThemFieldNumber = 5, + kIsListenserverHostFieldNumber = 6, + kPlayerSlotFieldNumber = 1, + }; + // optional .CMsgIPCAddress ipc = 3; + bool has_ipc() const; + private: + bool _internal_has_ipc() const; + public: + void clear_ipc(); + const ::CMsgIPCAddress& ipc() const; + PROTOBUF_NODISCARD ::CMsgIPCAddress* release_ipc(); + ::CMsgIPCAddress* mutable_ipc(); + void set_allocated_ipc(::CMsgIPCAddress* ipc); + private: + const ::CMsgIPCAddress& _internal_ipc() const; + ::CMsgIPCAddress* _internal_mutable_ipc(); + public: + void unsafe_arena_set_allocated_ipc( + ::CMsgIPCAddress* ipc); + ::CMsgIPCAddress* unsafe_arena_release_ipc(); + + // optional fixed64 steamid = 2; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional bool they_hear_you = 4; + bool has_they_hear_you() const; + private: + bool _internal_has_they_hear_you() const; + public: + void clear_they_hear_you(); + bool they_hear_you() const; + void set_they_hear_you(bool value); + private: + bool _internal_they_hear_you() const; + void _internal_set_they_hear_you(bool value); + public: + + // optional bool you_hear_them = 5; + bool has_you_hear_them() const; + private: + bool _internal_has_you_hear_them() const; + public: + void clear_you_hear_them(); + bool you_hear_them() const; + void set_you_hear_them(bool value); + private: + bool _internal_you_hear_them() const; + void _internal_set_you_hear_them(bool value); + public: + + // optional bool is_listenserver_host = 6; + bool has_is_listenserver_host() const; + private: + bool _internal_has_is_listenserver_host() const; + public: + void clear_is_listenserver_host(); + bool is_listenserver_host() const; + void set_is_listenserver_host(bool value); + private: + bool _internal_is_listenserver_host() const; + void _internal_set_is_listenserver_host(bool value); + public: + + // optional int32 player_slot = 1 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerPeer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgIPCAddress* ipc_; + uint64_t steamid_; + bool they_hear_you_; + bool you_hear_them_; + bool is_listenserver_host_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PeerList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PeerList) */ { + public: + inline CSVCMsg_PeerList() : CSVCMsg_PeerList(nullptr) {} + ~CSVCMsg_PeerList() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_PeerList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_PeerList(const CSVCMsg_PeerList& from); + CSVCMsg_PeerList(CSVCMsg_PeerList&& from) noexcept + : CSVCMsg_PeerList() { + *this = ::std::move(from); + } + + inline CSVCMsg_PeerList& operator=(const CSVCMsg_PeerList& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_PeerList& operator=(CSVCMsg_PeerList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_PeerList& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_PeerList* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_PeerList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(CSVCMsg_PeerList& a, CSVCMsg_PeerList& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_PeerList* 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(CSVCMsg_PeerList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_PeerList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_PeerList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_PeerList& from) { + CSVCMsg_PeerList::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(CSVCMsg_PeerList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_PeerList"; + } + protected: + explicit CSVCMsg_PeerList(::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 { + kPeerFieldNumber = 1, + }; + // repeated .CMsgServerPeer peer = 1; + int peer_size() const; + private: + int _internal_peer_size() const; + public: + void clear_peer(); + ::CMsgServerPeer* mutable_peer(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >* + mutable_peer(); + private: + const ::CMsgServerPeer& _internal_peer(int index) const; + ::CMsgServerPeer* _internal_add_peer(); + public: + const ::CMsgServerPeer& peer(int index) const; + ::CMsgServerPeer* add_peer(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >& + peer() const; + + // @@protoc_insertion_point(class_scope:CSVCMsg_PeerList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer > peer_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClearAllStringTables final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClearAllStringTables) */ { + public: + inline CSVCMsg_ClearAllStringTables() : CSVCMsg_ClearAllStringTables(nullptr) {} + ~CSVCMsg_ClearAllStringTables() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from); + CSVCMsg_ClearAllStringTables(CSVCMsg_ClearAllStringTables&& from) noexcept + : CSVCMsg_ClearAllStringTables() { + *this = ::std::move(from); + } + + inline CSVCMsg_ClearAllStringTables& operator=(const CSVCMsg_ClearAllStringTables& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_ClearAllStringTables& operator=(CSVCMsg_ClearAllStringTables&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_ClearAllStringTables& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_ClearAllStringTables* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_ClearAllStringTables_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(CSVCMsg_ClearAllStringTables& a, CSVCMsg_ClearAllStringTables& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_ClearAllStringTables* 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(CSVCMsg_ClearAllStringTables* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_ClearAllStringTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_ClearAllStringTables& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_ClearAllStringTables& from) { + CSVCMsg_ClearAllStringTables::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(CSVCMsg_ClearAllStringTables* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_ClearAllStringTables"; + } + protected: + explicit CSVCMsg_ClearAllStringTables(::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 { + kMapnameFieldNumber = 1, + kCreateTablesSkippedFieldNumber = 3, + }; + // optional string mapname = 1; + bool has_mapname() const; + private: + bool _internal_has_mapname() const; + public: + void clear_mapname(); + const std::string& mapname() const; + template + void set_mapname(ArgT0&& arg0, ArgT... args); + std::string* mutable_mapname(); + PROTOBUF_NODISCARD std::string* release_mapname(); + void set_allocated_mapname(std::string* mapname); + private: + const std::string& _internal_mapname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mapname(const std::string& value); + std::string* _internal_mutable_mapname(); + public: + + // optional bool create_tables_skipped = 3; + bool has_create_tables_skipped() const; + private: + bool _internal_has_create_tables_skipped() const; + public: + void clear_create_tables_skipped(); + bool create_tables_skipped() const; + void set_create_tables_skipped(bool value); + private: + bool _internal_create_tables_skipped() const; + void _internal_set_create_tables_skipped(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClearAllStringTables) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mapname_; + bool create_tables_skipped_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ProtoFlattenedSerializerField_t_polymorphic_field_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializerField_t.polymorphic_field_t) */ { + public: + inline ProtoFlattenedSerializerField_t_polymorphic_field_t() : ProtoFlattenedSerializerField_t_polymorphic_field_t(nullptr) {} + ~ProtoFlattenedSerializerField_t_polymorphic_field_t() override; + explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ProtoFlattenedSerializerField_t_polymorphic_field_t(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from); + ProtoFlattenedSerializerField_t_polymorphic_field_t(ProtoFlattenedSerializerField_t_polymorphic_field_t&& from) noexcept + : ProtoFlattenedSerializerField_t_polymorphic_field_t() { + *this = ::std::move(from); + } + + inline ProtoFlattenedSerializerField_t_polymorphic_field_t& operator=(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { + CopyFrom(from); + return *this; + } + inline ProtoFlattenedSerializerField_t_polymorphic_field_t& operator=(ProtoFlattenedSerializerField_t_polymorphic_field_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ProtoFlattenedSerializerField_t_polymorphic_field_t& default_instance() { + return *internal_default_instance(); + } + static inline const ProtoFlattenedSerializerField_t_polymorphic_field_t* internal_default_instance() { + return reinterpret_cast( + &_ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(ProtoFlattenedSerializerField_t_polymorphic_field_t& a, ProtoFlattenedSerializerField_t_polymorphic_field_t& b) { + a.Swap(&b); + } + inline void Swap(ProtoFlattenedSerializerField_t_polymorphic_field_t* 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(ProtoFlattenedSerializerField_t_polymorphic_field_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ProtoFlattenedSerializerField_t_polymorphic_field_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { + ProtoFlattenedSerializerField_t_polymorphic_field_t::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(ProtoFlattenedSerializerField_t_polymorphic_field_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ProtoFlattenedSerializerField_t.polymorphic_field_t"; + } + protected: + explicit ProtoFlattenedSerializerField_t_polymorphic_field_t(::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 { + kPolymorphicFieldSerializerNameSymFieldNumber = 1, + kPolymorphicFieldSerializerVersionFieldNumber = 2, + }; + // optional int32 polymorphic_field_serializer_name_sym = 1; + bool has_polymorphic_field_serializer_name_sym() const; + private: + bool _internal_has_polymorphic_field_serializer_name_sym() const; + public: + void clear_polymorphic_field_serializer_name_sym(); + int32_t polymorphic_field_serializer_name_sym() const; + void set_polymorphic_field_serializer_name_sym(int32_t value); + private: + int32_t _internal_polymorphic_field_serializer_name_sym() const; + void _internal_set_polymorphic_field_serializer_name_sym(int32_t value); + public: + + // optional int32 polymorphic_field_serializer_version = 2; + bool has_polymorphic_field_serializer_version() const; + private: + bool _internal_has_polymorphic_field_serializer_version() const; + public: + void clear_polymorphic_field_serializer_version(); + int32_t polymorphic_field_serializer_version() const; + void set_polymorphic_field_serializer_version(int32_t value); + private: + int32_t _internal_polymorphic_field_serializer_version() const; + void _internal_set_polymorphic_field_serializer_version(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializerField_t.polymorphic_field_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t polymorphic_field_serializer_name_sym_; + int32_t polymorphic_field_serializer_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ProtoFlattenedSerializerField_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializerField_t) */ { + public: + inline ProtoFlattenedSerializerField_t() : ProtoFlattenedSerializerField_t(nullptr) {} + ~ProtoFlattenedSerializerField_t() override; + explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from); + ProtoFlattenedSerializerField_t(ProtoFlattenedSerializerField_t&& from) noexcept + : ProtoFlattenedSerializerField_t() { + *this = ::std::move(from); + } + + inline ProtoFlattenedSerializerField_t& operator=(const ProtoFlattenedSerializerField_t& from) { + CopyFrom(from); + return *this; + } + inline ProtoFlattenedSerializerField_t& operator=(ProtoFlattenedSerializerField_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ProtoFlattenedSerializerField_t& default_instance() { + return *internal_default_instance(); + } + static inline const ProtoFlattenedSerializerField_t* internal_default_instance() { + return reinterpret_cast( + &_ProtoFlattenedSerializerField_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 64; + + friend void swap(ProtoFlattenedSerializerField_t& a, ProtoFlattenedSerializerField_t& b) { + a.Swap(&b); + } + inline void Swap(ProtoFlattenedSerializerField_t* 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(ProtoFlattenedSerializerField_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ProtoFlattenedSerializerField_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ProtoFlattenedSerializerField_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ProtoFlattenedSerializerField_t& from) { + ProtoFlattenedSerializerField_t::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(ProtoFlattenedSerializerField_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ProtoFlattenedSerializerField_t"; + } + protected: + explicit ProtoFlattenedSerializerField_t(::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 ---------------------------------------------------- + + typedef ProtoFlattenedSerializerField_t_polymorphic_field_t polymorphic_field_t; + + // accessors ------------------------------------------------------- + + enum : int { + kPolymorphicTypesFieldNumber = 11, + kVarTypeSymFieldNumber = 1, + kVarNameSymFieldNumber = 2, + kBitCountFieldNumber = 3, + kLowValueFieldNumber = 4, + kHighValueFieldNumber = 5, + kEncodeFlagsFieldNumber = 6, + kFieldSerializerNameSymFieldNumber = 7, + kFieldSerializerVersionFieldNumber = 8, + kSendNodeSymFieldNumber = 9, + kVarEncoderSymFieldNumber = 10, + kVarSerializerSymFieldNumber = 12, + }; + // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; + int polymorphic_types_size() const; + private: + int _internal_polymorphic_types_size() const; + public: + void clear_polymorphic_types(); + ::ProtoFlattenedSerializerField_t_polymorphic_field_t* mutable_polymorphic_types(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >* + mutable_polymorphic_types(); + private: + const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& _internal_polymorphic_types(int index) const; + ::ProtoFlattenedSerializerField_t_polymorphic_field_t* _internal_add_polymorphic_types(); + public: + const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& polymorphic_types(int index) const; + ::ProtoFlattenedSerializerField_t_polymorphic_field_t* add_polymorphic_types(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >& + polymorphic_types() const; + + // optional int32 var_type_sym = 1; + bool has_var_type_sym() const; + private: + bool _internal_has_var_type_sym() const; + public: + void clear_var_type_sym(); + int32_t var_type_sym() const; + void set_var_type_sym(int32_t value); + private: + int32_t _internal_var_type_sym() const; + void _internal_set_var_type_sym(int32_t value); + public: + + // optional int32 var_name_sym = 2; + bool has_var_name_sym() const; + private: + bool _internal_has_var_name_sym() const; + public: + void clear_var_name_sym(); + int32_t var_name_sym() const; + void set_var_name_sym(int32_t value); + private: + int32_t _internal_var_name_sym() const; + void _internal_set_var_name_sym(int32_t value); + public: + + // optional int32 bit_count = 3; + bool has_bit_count() const; + private: + bool _internal_has_bit_count() const; + public: + void clear_bit_count(); + int32_t bit_count() const; + void set_bit_count(int32_t value); + private: + int32_t _internal_bit_count() const; + void _internal_set_bit_count(int32_t value); + public: + + // optional float low_value = 4; + bool has_low_value() const; + private: + bool _internal_has_low_value() const; + public: + void clear_low_value(); + float low_value() const; + void set_low_value(float value); + private: + float _internal_low_value() const; + void _internal_set_low_value(float value); + public: + + // optional float high_value = 5; + bool has_high_value() const; + private: + bool _internal_has_high_value() const; + public: + void clear_high_value(); + float high_value() const; + void set_high_value(float value); + private: + float _internal_high_value() const; + void _internal_set_high_value(float value); + public: + + // optional int32 encode_flags = 6; + bool has_encode_flags() const; + private: + bool _internal_has_encode_flags() const; + public: + void clear_encode_flags(); + int32_t encode_flags() const; + void set_encode_flags(int32_t value); + private: + int32_t _internal_encode_flags() const; + void _internal_set_encode_flags(int32_t value); + public: + + // optional int32 field_serializer_name_sym = 7; + bool has_field_serializer_name_sym() const; + private: + bool _internal_has_field_serializer_name_sym() const; + public: + void clear_field_serializer_name_sym(); + int32_t field_serializer_name_sym() const; + void set_field_serializer_name_sym(int32_t value); + private: + int32_t _internal_field_serializer_name_sym() const; + void _internal_set_field_serializer_name_sym(int32_t value); + public: + + // optional int32 field_serializer_version = 8; + bool has_field_serializer_version() const; + private: + bool _internal_has_field_serializer_version() const; + public: + void clear_field_serializer_version(); + int32_t field_serializer_version() const; + void set_field_serializer_version(int32_t value); + private: + int32_t _internal_field_serializer_version() const; + void _internal_set_field_serializer_version(int32_t value); + public: + + // optional int32 send_node_sym = 9; + bool has_send_node_sym() const; + private: + bool _internal_has_send_node_sym() const; + public: + void clear_send_node_sym(); + int32_t send_node_sym() const; + void set_send_node_sym(int32_t value); + private: + int32_t _internal_send_node_sym() const; + void _internal_set_send_node_sym(int32_t value); + public: + + // optional int32 var_encoder_sym = 10; + bool has_var_encoder_sym() const; + private: + bool _internal_has_var_encoder_sym() const; + public: + void clear_var_encoder_sym(); + int32_t var_encoder_sym() const; + void set_var_encoder_sym(int32_t value); + private: + int32_t _internal_var_encoder_sym() const; + void _internal_set_var_encoder_sym(int32_t value); + public: + + // optional int32 var_serializer_sym = 12; + bool has_var_serializer_sym() const; + private: + bool _internal_has_var_serializer_sym() const; + public: + void clear_var_serializer_sym(); + int32_t var_serializer_sym() const; + void set_var_serializer_sym(int32_t value); + private: + int32_t _internal_var_serializer_sym() const; + void _internal_set_var_serializer_sym(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializerField_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t > polymorphic_types_; + int32_t var_type_sym_; + int32_t var_name_sym_; + int32_t bit_count_; + float low_value_; + float high_value_; + int32_t encode_flags_; + int32_t field_serializer_name_sym_; + int32_t field_serializer_version_; + int32_t send_node_sym_; + int32_t var_encoder_sym_; + int32_t var_serializer_sym_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class ProtoFlattenedSerializer_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializer_t) */ { + public: + inline ProtoFlattenedSerializer_t() : ProtoFlattenedSerializer_t(nullptr) {} + ~ProtoFlattenedSerializer_t() override; + explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from); + ProtoFlattenedSerializer_t(ProtoFlattenedSerializer_t&& from) noexcept + : ProtoFlattenedSerializer_t() { + *this = ::std::move(from); + } + + inline ProtoFlattenedSerializer_t& operator=(const ProtoFlattenedSerializer_t& from) { + CopyFrom(from); + return *this; + } + inline ProtoFlattenedSerializer_t& operator=(ProtoFlattenedSerializer_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 ProtoFlattenedSerializer_t& default_instance() { + return *internal_default_instance(); + } + static inline const ProtoFlattenedSerializer_t* internal_default_instance() { + return reinterpret_cast( + &_ProtoFlattenedSerializer_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 65; + + friend void swap(ProtoFlattenedSerializer_t& a, ProtoFlattenedSerializer_t& b) { + a.Swap(&b); + } + inline void Swap(ProtoFlattenedSerializer_t* 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(ProtoFlattenedSerializer_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ProtoFlattenedSerializer_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ProtoFlattenedSerializer_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ProtoFlattenedSerializer_t& from) { + ProtoFlattenedSerializer_t::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(ProtoFlattenedSerializer_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "ProtoFlattenedSerializer_t"; + } + protected: + explicit ProtoFlattenedSerializer_t(::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 { + kFieldsIndexFieldNumber = 3, + kSerializerNameSymFieldNumber = 1, + kSerializerVersionFieldNumber = 2, + }; + // repeated int32 fields_index = 3; + int fields_index_size() const; + private: + int _internal_fields_index_size() const; + public: + void clear_fields_index(); + private: + int32_t _internal_fields_index(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_fields_index() const; + void _internal_add_fields_index(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_fields_index(); + public: + int32_t fields_index(int index) const; + void set_fields_index(int index, int32_t value); + void add_fields_index(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + fields_index() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_fields_index(); + + // optional int32 serializer_name_sym = 1; + bool has_serializer_name_sym() const; + private: + bool _internal_has_serializer_name_sym() const; + public: + void clear_serializer_name_sym(); + int32_t serializer_name_sym() const; + void set_serializer_name_sym(int32_t value); + private: + int32_t _internal_serializer_name_sym() const; + void _internal_set_serializer_name_sym(int32_t value); + public: + + // optional int32 serializer_version = 2; + bool has_serializer_version() const; + private: + bool _internal_has_serializer_version() const; + public: + void clear_serializer_version(); + int32_t serializer_version() const; + void set_serializer_version(int32_t value); + private: + int32_t _internal_serializer_version() const; + void _internal_set_serializer_version(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializer_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > fields_index_; + int32_t serializer_name_sym_; + int32_t serializer_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_FlattenedSerializer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FlattenedSerializer) */ { + public: + inline CSVCMsg_FlattenedSerializer() : CSVCMsg_FlattenedSerializer(nullptr) {} + ~CSVCMsg_FlattenedSerializer() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from); + CSVCMsg_FlattenedSerializer(CSVCMsg_FlattenedSerializer&& from) noexcept + : CSVCMsg_FlattenedSerializer() { + *this = ::std::move(from); + } + + inline CSVCMsg_FlattenedSerializer& operator=(const CSVCMsg_FlattenedSerializer& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_FlattenedSerializer& operator=(CSVCMsg_FlattenedSerializer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_FlattenedSerializer& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_FlattenedSerializer* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_FlattenedSerializer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(CSVCMsg_FlattenedSerializer& a, CSVCMsg_FlattenedSerializer& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_FlattenedSerializer* 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(CSVCMsg_FlattenedSerializer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_FlattenedSerializer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_FlattenedSerializer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_FlattenedSerializer& from) { + CSVCMsg_FlattenedSerializer::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(CSVCMsg_FlattenedSerializer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_FlattenedSerializer"; + } + protected: + explicit CSVCMsg_FlattenedSerializer(::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 { + kSerializersFieldNumber = 1, + kSymbolsFieldNumber = 2, + kFieldsFieldNumber = 3, + }; + // repeated .ProtoFlattenedSerializer_t serializers = 1; + int serializers_size() const; + private: + int _internal_serializers_size() const; + public: + void clear_serializers(); + ::ProtoFlattenedSerializer_t* mutable_serializers(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* + mutable_serializers(); + private: + const ::ProtoFlattenedSerializer_t& _internal_serializers(int index) const; + ::ProtoFlattenedSerializer_t* _internal_add_serializers(); + public: + const ::ProtoFlattenedSerializer_t& serializers(int index) const; + ::ProtoFlattenedSerializer_t* add_serializers(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& + serializers() const; + + // repeated string symbols = 2; + int symbols_size() const; + private: + int _internal_symbols_size() const; + public: + void clear_symbols(); + const std::string& symbols(int index) const; + std::string* mutable_symbols(int index); + void set_symbols(int index, const std::string& value); + void set_symbols(int index, std::string&& value); + void set_symbols(int index, const char* value); + void set_symbols(int index, const char* value, size_t size); + std::string* add_symbols(); + void add_symbols(const std::string& value); + void add_symbols(std::string&& value); + void add_symbols(const char* value); + void add_symbols(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& symbols() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_symbols(); + private: + const std::string& _internal_symbols(int index) const; + std::string* _internal_add_symbols(); + public: + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + int fields_size() const; + private: + int _internal_fields_size() const; + public: + void clear_fields(); + ::ProtoFlattenedSerializerField_t* mutable_fields(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* + mutable_fields(); + private: + const ::ProtoFlattenedSerializerField_t& _internal_fields(int index) const; + ::ProtoFlattenedSerializerField_t* _internal_add_fields(); + public: + const ::ProtoFlattenedSerializerField_t& fields(int index) const; + ::ProtoFlattenedSerializerField_t* add_fields(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& + fields() const; + + // @@protoc_insertion_point(class_scope:CSVCMsg_FlattenedSerializer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t > serializers_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField symbols_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t > fields_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_StopSound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_StopSound) */ { + public: + inline CSVCMsg_StopSound() : CSVCMsg_StopSound(nullptr) {} + ~CSVCMsg_StopSound() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_StopSound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_StopSound(const CSVCMsg_StopSound& from); + CSVCMsg_StopSound(CSVCMsg_StopSound&& from) noexcept + : CSVCMsg_StopSound() { + *this = ::std::move(from); + } + + inline CSVCMsg_StopSound& operator=(const CSVCMsg_StopSound& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_StopSound& operator=(CSVCMsg_StopSound&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_StopSound& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_StopSound* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_StopSound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 67; + + friend void swap(CSVCMsg_StopSound& a, CSVCMsg_StopSound& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_StopSound* 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(CSVCMsg_StopSound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_StopSound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_StopSound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_StopSound& from) { + CSVCMsg_StopSound::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(CSVCMsg_StopSound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_StopSound"; + } + protected: + explicit CSVCMsg_StopSound(::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 { + kGuidFieldNumber = 1, + }; + // optional fixed32 guid = 1; + bool has_guid() const; + private: + bool _internal_has_guid() const; + public: + void clear_guid(); + uint32_t guid() const; + void set_guid(uint32_t value); + private: + uint32_t _internal_guid() const; + void _internal_set_guid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_StopSound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t guid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RebroadcastGameEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_RebroadcastGameEvent) */ { + public: + inline CBidirMsg_RebroadcastGameEvent() : CBidirMsg_RebroadcastGameEvent(nullptr) {} + ~CBidirMsg_RebroadcastGameEvent() override; + explicit PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from); + CBidirMsg_RebroadcastGameEvent(CBidirMsg_RebroadcastGameEvent&& from) noexcept + : CBidirMsg_RebroadcastGameEvent() { + *this = ::std::move(from); + } + + inline CBidirMsg_RebroadcastGameEvent& operator=(const CBidirMsg_RebroadcastGameEvent& from) { + CopyFrom(from); + return *this; + } + inline CBidirMsg_RebroadcastGameEvent& operator=(CBidirMsg_RebroadcastGameEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CBidirMsg_RebroadcastGameEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CBidirMsg_RebroadcastGameEvent* internal_default_instance() { + return reinterpret_cast( + &_CBidirMsg_RebroadcastGameEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(CBidirMsg_RebroadcastGameEvent& a, CBidirMsg_RebroadcastGameEvent& b) { + a.Swap(&b); + } + inline void Swap(CBidirMsg_RebroadcastGameEvent* 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(CBidirMsg_RebroadcastGameEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CBidirMsg_RebroadcastGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CBidirMsg_RebroadcastGameEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CBidirMsg_RebroadcastGameEvent& from) { + CBidirMsg_RebroadcastGameEvent::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(CBidirMsg_RebroadcastGameEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CBidirMsg_RebroadcastGameEvent"; + } + protected: + explicit CBidirMsg_RebroadcastGameEvent(::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 { + kPosttoserverFieldNumber = 1, + kBuftypeFieldNumber = 2, + kReceivingclientsFieldNumber = 4, + kClientbitcountFieldNumber = 3, + }; + // optional bool posttoserver = 1; + bool has_posttoserver() const; + private: + bool _internal_has_posttoserver() const; + public: + void clear_posttoserver(); + bool posttoserver() const; + void set_posttoserver(bool value); + private: + bool _internal_posttoserver() const; + void _internal_set_posttoserver(bool value); + public: + + // optional int32 buftype = 2; + bool has_buftype() const; + private: + bool _internal_has_buftype() const; + public: + void clear_buftype(); + int32_t buftype() const; + void set_buftype(int32_t value); + private: + int32_t _internal_buftype() const; + void _internal_set_buftype(int32_t value); + public: + + // optional uint64 receivingclients = 4; + bool has_receivingclients() const; + private: + bool _internal_has_receivingclients() const; + public: + void clear_receivingclients(); + uint64_t receivingclients() const; + void set_receivingclients(uint64_t value); + private: + uint64_t _internal_receivingclients() const; + void _internal_set_receivingclients(uint64_t value); + public: + + // optional uint32 clientbitcount = 3; + bool has_clientbitcount() const; + private: + bool _internal_has_clientbitcount() const; + public: + void clear_clientbitcount(); + uint32_t clientbitcount() const; + void set_clientbitcount(uint32_t value); + private: + uint32_t _internal_clientbitcount() const; + void _internal_set_clientbitcount(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastGameEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool posttoserver_; + int32_t buftype_; + uint64_t receivingclients_; + uint32_t clientbitcount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RebroadcastSource final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_RebroadcastSource) */ { + public: + inline CBidirMsg_RebroadcastSource() : CBidirMsg_RebroadcastSource(nullptr) {} + ~CBidirMsg_RebroadcastSource() override; + explicit PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSource(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from); + CBidirMsg_RebroadcastSource(CBidirMsg_RebroadcastSource&& from) noexcept + : CBidirMsg_RebroadcastSource() { + *this = ::std::move(from); + } + + inline CBidirMsg_RebroadcastSource& operator=(const CBidirMsg_RebroadcastSource& from) { + CopyFrom(from); + return *this; + } + inline CBidirMsg_RebroadcastSource& operator=(CBidirMsg_RebroadcastSource&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CBidirMsg_RebroadcastSource& default_instance() { + return *internal_default_instance(); + } + static inline const CBidirMsg_RebroadcastSource* internal_default_instance() { + return reinterpret_cast( + &_CBidirMsg_RebroadcastSource_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(CBidirMsg_RebroadcastSource& a, CBidirMsg_RebroadcastSource& b) { + a.Swap(&b); + } + inline void Swap(CBidirMsg_RebroadcastSource* 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(CBidirMsg_RebroadcastSource* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CBidirMsg_RebroadcastSource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CBidirMsg_RebroadcastSource& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CBidirMsg_RebroadcastSource& from) { + CBidirMsg_RebroadcastSource::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(CBidirMsg_RebroadcastSource* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CBidirMsg_RebroadcastSource"; + } + protected: + explicit CBidirMsg_RebroadcastSource(::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 { + kEventsourceFieldNumber = 1, + }; + // optional int32 eventsource = 1; + bool has_eventsource() const; + private: + bool _internal_has_eventsource() const; + public: + void clear_eventsource(); + int32_t eventsource() const; + void set_eventsource(int32_t value); + private: + int32_t _internal_eventsource() const; + void _internal_set_eventsource(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastSource) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t eventsource_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_PredictionEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_PredictionEvent) */ { + public: + inline CBidirMsg_PredictionEvent() : CBidirMsg_PredictionEvent(nullptr) {} + ~CBidirMsg_PredictionEvent() override; + explicit PROTOBUF_CONSTEXPR CBidirMsg_PredictionEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CBidirMsg_PredictionEvent(const CBidirMsg_PredictionEvent& from); + CBidirMsg_PredictionEvent(CBidirMsg_PredictionEvent&& from) noexcept + : CBidirMsg_PredictionEvent() { + *this = ::std::move(from); + } + + inline CBidirMsg_PredictionEvent& operator=(const CBidirMsg_PredictionEvent& from) { + CopyFrom(from); + return *this; + } + inline CBidirMsg_PredictionEvent& operator=(CBidirMsg_PredictionEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CBidirMsg_PredictionEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CBidirMsg_PredictionEvent* internal_default_instance() { + return reinterpret_cast( + &_CBidirMsg_PredictionEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(CBidirMsg_PredictionEvent& a, CBidirMsg_PredictionEvent& b) { + a.Swap(&b); + } + inline void Swap(CBidirMsg_PredictionEvent* 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(CBidirMsg_PredictionEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CBidirMsg_PredictionEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CBidirMsg_PredictionEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CBidirMsg_PredictionEvent& from) { + CBidirMsg_PredictionEvent::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(CBidirMsg_PredictionEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CBidirMsg_PredictionEvent"; + } + protected: + explicit CBidirMsg_PredictionEvent(::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 ---------------------------------------------------- + + typedef CBidirMsg_PredictionEvent_ESyncType ESyncType; + static constexpr ESyncType ST_Tick = + CBidirMsg_PredictionEvent_ESyncType_ST_Tick; + static constexpr ESyncType ST_UserCmdNum = + CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum; + static inline bool ESyncType_IsValid(int value) { + return CBidirMsg_PredictionEvent_ESyncType_IsValid(value); + } + static constexpr ESyncType ESyncType_MIN = + CBidirMsg_PredictionEvent_ESyncType_ESyncType_MIN; + static constexpr ESyncType ESyncType_MAX = + CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX; + static constexpr int ESyncType_ARRAYSIZE = + CBidirMsg_PredictionEvent_ESyncType_ESyncType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + ESyncType_descriptor() { + return CBidirMsg_PredictionEvent_ESyncType_descriptor(); + } + template + static inline const std::string& ESyncType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESyncType_Name."); + return CBidirMsg_PredictionEvent_ESyncType_Name(enum_t_value); + } + static inline bool ESyncType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + ESyncType* value) { + return CBidirMsg_PredictionEvent_ESyncType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kEventDataFieldNumber = 2, + kEventIdFieldNumber = 1, + kSyncTypeFieldNumber = 3, + kSyncValUint32FieldNumber = 4, + }; + // required bytes event_data = 2; + bool has_event_data() const; + private: + bool _internal_has_event_data() const; + public: + void clear_event_data(); + const std::string& event_data() const; + template + void set_event_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_data(); + PROTOBUF_NODISCARD std::string* release_event_data(); + void set_allocated_event_data(std::string* event_data); + private: + const std::string& _internal_event_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_data(const std::string& value); + std::string* _internal_mutable_event_data(); + public: + + // required uint32 event_id = 1; + bool has_event_id() const; + private: + bool _internal_has_event_id() const; + public: + void clear_event_id(); + uint32_t event_id() const; + void set_event_id(uint32_t value); + private: + uint32_t _internal_event_id() const; + void _internal_set_event_id(uint32_t value); + public: + + // optional uint32 sync_type = 3; + bool has_sync_type() const; + private: + bool _internal_has_sync_type() const; + public: + void clear_sync_type(); + uint32_t sync_type() const; + void set_sync_type(uint32_t value); + private: + uint32_t _internal_sync_type() const; + void _internal_set_sync_type(uint32_t value); + public: + + // optional uint32 sync_val_uint32 = 4; + bool has_sync_val_uint32() const; + private: + bool _internal_has_sync_val_uint32() const; + public: + void clear_sync_val_uint32(); + uint32_t sync_val_uint32() const; + void set_sync_val_uint32(uint32_t value); + private: + uint32_t _internal_sync_val_uint32() const; + void _internal_set_sync_val_uint32(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CBidirMsg_PredictionEvent) + private: + class _Internal; + + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_data_; + uint32_t event_id_; + uint32_t sync_type_; + uint32_t sync_val_uint32_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerNetworkStats_Port final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats.Port) */ { + public: + inline CMsgServerNetworkStats_Port() : CMsgServerNetworkStats_Port(nullptr) {} + ~CMsgServerNetworkStats_Port() override; + explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Port(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerNetworkStats_Port(const CMsgServerNetworkStats_Port& from); + CMsgServerNetworkStats_Port(CMsgServerNetworkStats_Port&& from) noexcept + : CMsgServerNetworkStats_Port() { + *this = ::std::move(from); + } + + inline CMsgServerNetworkStats_Port& operator=(const CMsgServerNetworkStats_Port& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerNetworkStats_Port& operator=(CMsgServerNetworkStats_Port&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerNetworkStats_Port& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerNetworkStats_Port* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerNetworkStats_Port_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(CMsgServerNetworkStats_Port& a, CMsgServerNetworkStats_Port& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerNetworkStats_Port* 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(CMsgServerNetworkStats_Port* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerNetworkStats_Port* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerNetworkStats_Port& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerNetworkStats_Port& from) { + CMsgServerNetworkStats_Port::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(CMsgServerNetworkStats_Port* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerNetworkStats.Port"; + } + protected: + explicit CMsgServerNetworkStats_Port(::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 = 2, + kPortFieldNumber = 1, + }; + // optional 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: + + // optional int32 port = 1; + bool has_port() const; + private: + bool _internal_has_port() const; + public: + void clear_port(); + int32_t port() const; + void set_port(int32_t value); + private: + int32_t _internal_port() const; + void _internal_set_port(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats.Port) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerNetworkStats_Player final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats.Player) */ { + public: + inline CMsgServerNetworkStats_Player() : CMsgServerNetworkStats_Player(nullptr) {} + ~CMsgServerNetworkStats_Player() override; + explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerNetworkStats_Player(const CMsgServerNetworkStats_Player& from); + CMsgServerNetworkStats_Player(CMsgServerNetworkStats_Player&& from) noexcept + : CMsgServerNetworkStats_Player() { + *this = ::std::move(from); + } + + inline CMsgServerNetworkStats_Player& operator=(const CMsgServerNetworkStats_Player& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerNetworkStats_Player& operator=(CMsgServerNetworkStats_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerNetworkStats_Player& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerNetworkStats_Player* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerNetworkStats_Player_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(CMsgServerNetworkStats_Player& a, CMsgServerNetworkStats_Player& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerNetworkStats_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(CMsgServerNetworkStats_Player* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerNetworkStats_Player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerNetworkStats_Player& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerNetworkStats_Player& from) { + CMsgServerNetworkStats_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(CMsgServerNetworkStats_Player* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerNetworkStats.Player"; + } + protected: + explicit CMsgServerNetworkStats_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 { + kRemoteAddrFieldNumber = 2, + kSteamidFieldNumber = 1, + kPingAvgMsFieldNumber = 4, + kPacketLossPctFieldNumber = 5, + kIsBotFieldNumber = 6, + kLossInFieldNumber = 7, + kLossOutFieldNumber = 8, + kEngineLatencyMsFieldNumber = 9, + }; + // optional string remote_addr = 2; + bool has_remote_addr() const; + private: + bool _internal_has_remote_addr() const; + public: + void clear_remote_addr(); + const std::string& remote_addr() const; + template + void set_remote_addr(ArgT0&& arg0, ArgT... args); + std::string* mutable_remote_addr(); + PROTOBUF_NODISCARD std::string* release_remote_addr(); + void set_allocated_remote_addr(std::string* remote_addr); + private: + const std::string& _internal_remote_addr() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_addr(const std::string& value); + std::string* _internal_mutable_remote_addr(); + public: + + // optional uint64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional int32 ping_avg_ms = 4; + bool has_ping_avg_ms() const; + private: + bool _internal_has_ping_avg_ms() const; + public: + void clear_ping_avg_ms(); + int32_t ping_avg_ms() const; + void set_ping_avg_ms(int32_t value); + private: + int32_t _internal_ping_avg_ms() const; + void _internal_set_ping_avg_ms(int32_t value); + public: + + // optional float packet_loss_pct = 5; + bool has_packet_loss_pct() const; + private: + bool _internal_has_packet_loss_pct() const; + public: + void clear_packet_loss_pct(); + float packet_loss_pct() const; + void set_packet_loss_pct(float value); + private: + float _internal_packet_loss_pct() const; + void _internal_set_packet_loss_pct(float value); + public: + + // optional bool is_bot = 6; + bool has_is_bot() const; + private: + bool _internal_has_is_bot() const; + public: + void clear_is_bot(); + bool is_bot() const; + void set_is_bot(bool value); + private: + bool _internal_is_bot() const; + void _internal_set_is_bot(bool value); + public: + + // optional float loss_in = 7; + bool has_loss_in() const; + private: + bool _internal_has_loss_in() const; + public: + void clear_loss_in(); + float loss_in() const; + void set_loss_in(float value); + private: + float _internal_loss_in() const; + void _internal_set_loss_in(float value); + public: + + // optional float loss_out = 8; + bool has_loss_out() const; + private: + bool _internal_has_loss_out() const; + public: + void clear_loss_out(); + float loss_out() const; + void set_loss_out(float value); + private: + float _internal_loss_out() const; + void _internal_set_loss_out(float value); + public: + + // optional int32 engine_latency_ms = 9; + bool has_engine_latency_ms() const; + private: + bool _internal_has_engine_latency_ms() const; + public: + void clear_engine_latency_ms(); + int32_t engine_latency_ms() const; + void set_engine_latency_ms(int32_t value); + private: + int32_t _internal_engine_latency_ms() const; + void _internal_set_engine_latency_ms(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats.Player) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_addr_; + uint64_t steamid_; + int32_t ping_avg_ms_; + float packet_loss_pct_; + bool is_bot_; + float loss_in_; + float loss_out_; + int32_t engine_latency_ms_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerNetworkStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats) */ { + public: + inline CMsgServerNetworkStats() : CMsgServerNetworkStats(nullptr) {} + ~CMsgServerNetworkStats() override; + explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerNetworkStats(const CMsgServerNetworkStats& from); + CMsgServerNetworkStats(CMsgServerNetworkStats&& from) noexcept + : CMsgServerNetworkStats() { + *this = ::std::move(from); + } + + inline CMsgServerNetworkStats& operator=(const CMsgServerNetworkStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerNetworkStats& operator=(CMsgServerNetworkStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerNetworkStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerNetworkStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerNetworkStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CMsgServerNetworkStats& a, CMsgServerNetworkStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerNetworkStats* 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(CMsgServerNetworkStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerNetworkStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerNetworkStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerNetworkStats& from) { + CMsgServerNetworkStats::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(CMsgServerNetworkStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerNetworkStats"; + } + protected: + explicit CMsgServerNetworkStats(::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 ---------------------------------------------------- + + typedef CMsgServerNetworkStats_Port Port; + typedef CMsgServerNetworkStats_Player Player; + + // accessors ------------------------------------------------------- + + enum : int { + kPortsFieldNumber = 17, + kPlayersFieldNumber = 30, + kDedicatedFieldNumber = 1, + kCpuUsageFieldNumber = 2, + kMemoryUsedMbFieldNumber = 3, + kMemoryFreeMbFieldNumber = 4, + kUptimeFieldNumber = 5, + kSpawnCountFieldNumber = 6, + kNumClientsFieldNumber = 8, + kNumBotsFieldNumber = 9, + kNumSpectatorsFieldNumber = 10, + kNumTvRelaysFieldNumber = 11, + kFpsFieldNumber = 12, + kAvgPingMsFieldNumber = 18, + kAvgEngineLatencyOutFieldNumber = 19, + kAvgPacketsOutFieldNumber = 20, + kAvgPacketsInFieldNumber = 21, + kAvgLossOutFieldNumber = 22, + kAvgLossInFieldNumber = 23, + kAvgDataOutFieldNumber = 24, + kTotalDataInFieldNumber = 26, + kTotalPacketsInFieldNumber = 27, + kTotalDataOutFieldNumber = 28, + kTotalPacketsOutFieldNumber = 29, + kAvgDataInFieldNumber = 25, + }; + // repeated .CMsgServerNetworkStats.Port ports = 17; + int ports_size() const; + private: + int _internal_ports_size() const; + public: + void clear_ports(); + ::CMsgServerNetworkStats_Port* mutable_ports(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >* + mutable_ports(); + private: + const ::CMsgServerNetworkStats_Port& _internal_ports(int index) const; + ::CMsgServerNetworkStats_Port* _internal_add_ports(); + public: + const ::CMsgServerNetworkStats_Port& ports(int index) const; + ::CMsgServerNetworkStats_Port* add_ports(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >& + ports() const; + + // repeated .CMsgServerNetworkStats.Player players = 30; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::CMsgServerNetworkStats_Player* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >* + mutable_players(); + private: + const ::CMsgServerNetworkStats_Player& _internal_players(int index) const; + ::CMsgServerNetworkStats_Player* _internal_add_players(); + public: + const ::CMsgServerNetworkStats_Player& players(int index) const; + ::CMsgServerNetworkStats_Player* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >& + players() const; + + // optional bool dedicated = 1; + bool has_dedicated() const; + private: + bool _internal_has_dedicated() const; + public: + void clear_dedicated(); + bool dedicated() const; + void set_dedicated(bool value); + private: + bool _internal_dedicated() const; + void _internal_set_dedicated(bool value); + public: + + // optional int32 cpu_usage = 2; + bool has_cpu_usage() const; + private: + bool _internal_has_cpu_usage() const; + public: + void clear_cpu_usage(); + int32_t cpu_usage() const; + void set_cpu_usage(int32_t value); + private: + int32_t _internal_cpu_usage() const; + void _internal_set_cpu_usage(int32_t value); + public: + + // optional int32 memory_used_mb = 3; + bool has_memory_used_mb() const; + private: + bool _internal_has_memory_used_mb() const; + public: + void clear_memory_used_mb(); + int32_t memory_used_mb() const; + void set_memory_used_mb(int32_t value); + private: + int32_t _internal_memory_used_mb() const; + void _internal_set_memory_used_mb(int32_t value); + public: + + // optional int32 memory_free_mb = 4; + bool has_memory_free_mb() const; + private: + bool _internal_has_memory_free_mb() const; + public: + void clear_memory_free_mb(); + int32_t memory_free_mb() const; + void set_memory_free_mb(int32_t value); + private: + int32_t _internal_memory_free_mb() const; + void _internal_set_memory_free_mb(int32_t value); + public: + + // optional int32 uptime = 5; + bool has_uptime() const; + private: + bool _internal_has_uptime() const; + public: + void clear_uptime(); + int32_t uptime() const; + void set_uptime(int32_t value); + private: + int32_t _internal_uptime() const; + void _internal_set_uptime(int32_t value); + public: + + // optional int32 spawn_count = 6; + bool has_spawn_count() const; + private: + bool _internal_has_spawn_count() const; + public: + void clear_spawn_count(); + int32_t spawn_count() const; + void set_spawn_count(int32_t value); + private: + int32_t _internal_spawn_count() const; + void _internal_set_spawn_count(int32_t value); + public: + + // optional int32 num_clients = 8; + bool has_num_clients() const; + private: + bool _internal_has_num_clients() const; + public: + void clear_num_clients(); + int32_t num_clients() const; + void set_num_clients(int32_t value); + private: + int32_t _internal_num_clients() const; + void _internal_set_num_clients(int32_t value); + public: + + // optional int32 num_bots = 9; + bool has_num_bots() const; + private: + bool _internal_has_num_bots() const; + public: + void clear_num_bots(); + int32_t num_bots() const; + void set_num_bots(int32_t value); + private: + int32_t _internal_num_bots() const; + void _internal_set_num_bots(int32_t value); + public: + + // optional int32 num_spectators = 10; + bool has_num_spectators() const; + private: + bool _internal_has_num_spectators() const; + public: + void clear_num_spectators(); + int32_t num_spectators() const; + void set_num_spectators(int32_t value); + private: + int32_t _internal_num_spectators() const; + void _internal_set_num_spectators(int32_t value); + public: + + // optional int32 num_tv_relays = 11; + bool has_num_tv_relays() const; + private: + bool _internal_has_num_tv_relays() const; + public: + void clear_num_tv_relays(); + int32_t num_tv_relays() const; + void set_num_tv_relays(int32_t value); + private: + int32_t _internal_num_tv_relays() const; + void _internal_set_num_tv_relays(int32_t value); + public: + + // optional float fps = 12; + bool has_fps() const; + private: + bool _internal_has_fps() const; + public: + void clear_fps(); + float fps() const; + void set_fps(float value); + private: + float _internal_fps() const; + void _internal_set_fps(float value); + public: + + // optional float avg_ping_ms = 18; + bool has_avg_ping_ms() const; + private: + bool _internal_has_avg_ping_ms() const; + public: + void clear_avg_ping_ms(); + float avg_ping_ms() const; + void set_avg_ping_ms(float value); + private: + float _internal_avg_ping_ms() const; + void _internal_set_avg_ping_ms(float value); + public: + + // optional float avg_engine_latency_out = 19; + bool has_avg_engine_latency_out() const; + private: + bool _internal_has_avg_engine_latency_out() const; + public: + void clear_avg_engine_latency_out(); + float avg_engine_latency_out() const; + void set_avg_engine_latency_out(float value); + private: + float _internal_avg_engine_latency_out() const; + void _internal_set_avg_engine_latency_out(float value); + public: + + // optional float avg_packets_out = 20; + bool has_avg_packets_out() const; + private: + bool _internal_has_avg_packets_out() const; + public: + void clear_avg_packets_out(); + float avg_packets_out() const; + void set_avg_packets_out(float value); + private: + float _internal_avg_packets_out() const; + void _internal_set_avg_packets_out(float value); + public: + + // optional float avg_packets_in = 21; + bool has_avg_packets_in() const; + private: + bool _internal_has_avg_packets_in() const; + public: + void clear_avg_packets_in(); + float avg_packets_in() const; + void set_avg_packets_in(float value); + private: + float _internal_avg_packets_in() const; + void _internal_set_avg_packets_in(float value); + public: + + // optional float avg_loss_out = 22; + bool has_avg_loss_out() const; + private: + bool _internal_has_avg_loss_out() const; + public: + void clear_avg_loss_out(); + float avg_loss_out() const; + void set_avg_loss_out(float value); + private: + float _internal_avg_loss_out() const; + void _internal_set_avg_loss_out(float value); + public: + + // optional float avg_loss_in = 23; + bool has_avg_loss_in() const; + private: + bool _internal_has_avg_loss_in() const; + public: + void clear_avg_loss_in(); + float avg_loss_in() const; + void set_avg_loss_in(float value); + private: + float _internal_avg_loss_in() const; + void _internal_set_avg_loss_in(float value); + public: + + // optional float avg_data_out = 24; + bool has_avg_data_out() const; + private: + bool _internal_has_avg_data_out() const; + public: + void clear_avg_data_out(); + float avg_data_out() const; + void set_avg_data_out(float value); + private: + float _internal_avg_data_out() const; + void _internal_set_avg_data_out(float value); + public: + + // optional uint64 total_data_in = 26; + bool has_total_data_in() const; + private: + bool _internal_has_total_data_in() const; + public: + void clear_total_data_in(); + uint64_t total_data_in() const; + void set_total_data_in(uint64_t value); + private: + uint64_t _internal_total_data_in() const; + void _internal_set_total_data_in(uint64_t value); + public: + + // optional uint64 total_packets_in = 27; + bool has_total_packets_in() const; + private: + bool _internal_has_total_packets_in() const; + public: + void clear_total_packets_in(); + uint64_t total_packets_in() const; + void set_total_packets_in(uint64_t value); + private: + uint64_t _internal_total_packets_in() const; + void _internal_set_total_packets_in(uint64_t value); + public: + + // optional uint64 total_data_out = 28; + bool has_total_data_out() const; + private: + bool _internal_has_total_data_out() const; + public: + void clear_total_data_out(); + uint64_t total_data_out() const; + void set_total_data_out(uint64_t value); + private: + uint64_t _internal_total_data_out() const; + void _internal_set_total_data_out(uint64_t value); + public: + + // optional uint64 total_packets_out = 29; + bool has_total_packets_out() const; + private: + bool _internal_has_total_packets_out() const; + public: + void clear_total_packets_out(); + uint64_t total_packets_out() const; + void set_total_packets_out(uint64_t value); + private: + uint64_t _internal_total_packets_out() const; + void _internal_set_total_packets_out(uint64_t value); + public: + + // optional float avg_data_in = 25; + bool has_avg_data_in() const; + private: + bool _internal_has_avg_data_in() const; + public: + void clear_avg_data_in(); + float avg_data_in() const; + void set_avg_data_in(float value); + private: + float _internal_avg_data_in() const; + void _internal_set_avg_data_in(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port > ports_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player > players_; + bool dedicated_; + int32_t cpu_usage_; + int32_t memory_used_mb_; + int32_t memory_free_mb_; + int32_t uptime_; + int32_t spawn_count_; + int32_t num_clients_; + int32_t num_bots_; + int32_t num_spectators_; + int32_t num_tv_relays_; + float fps_; + float avg_ping_ms_; + float avg_engine_latency_out_; + float avg_packets_out_; + float avg_packets_in_; + float avg_loss_out_; + float avg_loss_in_; + float avg_data_out_; + uint64_t total_data_in_; + uint64_t total_packets_in_; + uint64_t total_data_out_; + uint64_t total_packets_out_; + float avg_data_in_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_HltvReplay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HltvReplay) */ { + public: + inline CSVCMsg_HltvReplay() : CSVCMsg_HltvReplay(nullptr) {} + ~CSVCMsg_HltvReplay() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_HltvReplay(const CSVCMsg_HltvReplay& from); + CSVCMsg_HltvReplay(CSVCMsg_HltvReplay&& from) noexcept + : CSVCMsg_HltvReplay() { + *this = ::std::move(from); + } + + inline CSVCMsg_HltvReplay& operator=(const CSVCMsg_HltvReplay& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_HltvReplay& operator=(CSVCMsg_HltvReplay&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_HltvReplay& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_HltvReplay* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_HltvReplay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CSVCMsg_HltvReplay& a, CSVCMsg_HltvReplay& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_HltvReplay* 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(CSVCMsg_HltvReplay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_HltvReplay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_HltvReplay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_HltvReplay& from) { + CSVCMsg_HltvReplay::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(CSVCMsg_HltvReplay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_HltvReplay"; + } + protected: + explicit CSVCMsg_HltvReplay(::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 { + kDelayFieldNumber = 1, + kReplayStopAtFieldNumber = 3, + kReplayStartAtFieldNumber = 4, + kReplaySlowdownBeginFieldNumber = 5, + kReplaySlowdownEndFieldNumber = 6, + kReplaySlowdownRateFieldNumber = 7, + kReasonFieldNumber = 8, + kPrimaryTargetFieldNumber = 2, + }; + // optional int32 delay = 1; + bool has_delay() const; + private: + bool _internal_has_delay() const; + public: + void clear_delay(); + int32_t delay() const; + void set_delay(int32_t value); + private: + int32_t _internal_delay() const; + void _internal_set_delay(int32_t value); + public: + + // optional int32 replay_stop_at = 3; + bool has_replay_stop_at() const; + private: + bool _internal_has_replay_stop_at() const; + public: + void clear_replay_stop_at(); + int32_t replay_stop_at() const; + void set_replay_stop_at(int32_t value); + private: + int32_t _internal_replay_stop_at() const; + void _internal_set_replay_stop_at(int32_t value); + public: + + // optional int32 replay_start_at = 4; + bool has_replay_start_at() const; + private: + bool _internal_has_replay_start_at() const; + public: + void clear_replay_start_at(); + int32_t replay_start_at() const; + void set_replay_start_at(int32_t value); + private: + int32_t _internal_replay_start_at() const; + void _internal_set_replay_start_at(int32_t value); + public: + + // optional int32 replay_slowdown_begin = 5; + bool has_replay_slowdown_begin() const; + private: + bool _internal_has_replay_slowdown_begin() const; + public: + void clear_replay_slowdown_begin(); + int32_t replay_slowdown_begin() const; + void set_replay_slowdown_begin(int32_t value); + private: + int32_t _internal_replay_slowdown_begin() const; + void _internal_set_replay_slowdown_begin(int32_t value); + public: + + // optional int32 replay_slowdown_end = 6; + bool has_replay_slowdown_end() const; + private: + bool _internal_has_replay_slowdown_end() const; + public: + void clear_replay_slowdown_end(); + int32_t replay_slowdown_end() const; + void set_replay_slowdown_end(int32_t value); + private: + int32_t _internal_replay_slowdown_end() const; + void _internal_set_replay_slowdown_end(int32_t value); + public: + + // optional float replay_slowdown_rate = 7; + bool has_replay_slowdown_rate() const; + private: + bool _internal_has_replay_slowdown_rate() const; + public: + void clear_replay_slowdown_rate(); + float replay_slowdown_rate() const; + void set_replay_slowdown_rate(float value); + private: + float _internal_replay_slowdown_rate() const; + void _internal_set_replay_slowdown_rate(float value); + public: + + // optional int32 reason = 8; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + int32_t reason() const; + void set_reason(int32_t value); + private: + int32_t _internal_reason() const; + void _internal_set_reason(int32_t value); + public: + + // optional int32 primary_target = 2 [default = -1]; + bool has_primary_target() const; + private: + bool _internal_has_primary_target() const; + public: + void clear_primary_target(); + int32_t primary_target() const; + void set_primary_target(int32_t value); + private: + int32_t _internal_primary_target() const; + void _internal_set_primary_target(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_HltvReplay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t delay_; + int32_t replay_stop_at_; + int32_t replay_start_at_; + int32_t replay_slowdown_begin_; + int32_t replay_slowdown_end_; + float replay_slowdown_rate_; + int32_t reason_; + int32_t primary_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_HltvReplay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_HltvReplay) */ { + public: + inline CCLCMsg_HltvReplay() : CCLCMsg_HltvReplay(nullptr) {} + ~CCLCMsg_HltvReplay() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_HltvReplay(const CCLCMsg_HltvReplay& from); + CCLCMsg_HltvReplay(CCLCMsg_HltvReplay&& from) noexcept + : CCLCMsg_HltvReplay() { + *this = ::std::move(from); + } + + inline CCLCMsg_HltvReplay& operator=(const CCLCMsg_HltvReplay& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_HltvReplay& operator=(CCLCMsg_HltvReplay&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_HltvReplay& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_HltvReplay* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_HltvReplay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 75; + + friend void swap(CCLCMsg_HltvReplay& a, CCLCMsg_HltvReplay& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_HltvReplay* 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(CCLCMsg_HltvReplay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_HltvReplay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_HltvReplay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_HltvReplay& from) { + CCLCMsg_HltvReplay::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(CCLCMsg_HltvReplay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_HltvReplay"; + } + protected: + explicit CCLCMsg_HltvReplay(::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 { + kRequestFieldNumber = 1, + kSlowdownLengthFieldNumber = 2, + kSlowdownRateFieldNumber = 3, + kEventTimeFieldNumber = 5, + kPrimaryTargetFieldNumber = 4, + }; + // optional int32 request = 1; + bool has_request() const; + private: + bool _internal_has_request() const; + public: + void clear_request(); + int32_t request() const; + void set_request(int32_t value); + private: + int32_t _internal_request() const; + void _internal_set_request(int32_t value); + public: + + // optional float slowdown_length = 2; + bool has_slowdown_length() const; + private: + bool _internal_has_slowdown_length() const; + public: + void clear_slowdown_length(); + float slowdown_length() const; + void set_slowdown_length(float value); + private: + float _internal_slowdown_length() const; + void _internal_set_slowdown_length(float value); + public: + + // optional float slowdown_rate = 3; + bool has_slowdown_rate() const; + private: + bool _internal_has_slowdown_rate() const; + public: + void clear_slowdown_rate(); + float slowdown_rate() const; + void set_slowdown_rate(float value); + private: + float _internal_slowdown_rate() const; + void _internal_set_slowdown_rate(float value); + public: + + // optional float event_time = 5; + bool has_event_time() const; + private: + bool _internal_has_event_time() const; + public: + void clear_event_time(); + float event_time() const; + void set_event_time(float value); + private: + float _internal_event_time() const; + void _internal_set_event_time(float value); + public: + + // optional int32 primary_target = 4 [default = -1]; + bool has_primary_target() const; + private: + bool _internal_has_primary_target() const; + public: + void clear_primary_target(); + int32_t primary_target() const; + void set_primary_target(int32_t value); + private: + int32_t _internal_primary_target() const; + void _internal_set_primary_target(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_HltvReplay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t request_; + float slowdown_length_; + float slowdown_rate_; + float event_time_; + int32_t primary_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Broadcast_Command final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Broadcast_Command) */ { + public: + inline CSVCMsg_Broadcast_Command() : CSVCMsg_Broadcast_Command(nullptr) {} + ~CSVCMsg_Broadcast_Command() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_Broadcast_Command(const CSVCMsg_Broadcast_Command& from); + CSVCMsg_Broadcast_Command(CSVCMsg_Broadcast_Command&& from) noexcept + : CSVCMsg_Broadcast_Command() { + *this = ::std::move(from); + } + + inline CSVCMsg_Broadcast_Command& operator=(const CSVCMsg_Broadcast_Command& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_Broadcast_Command& operator=(CSVCMsg_Broadcast_Command&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_Broadcast_Command& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_Broadcast_Command* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_Broadcast_Command_default_instance_); + } + static constexpr int kIndexInFileMessages = + 76; + + friend void swap(CSVCMsg_Broadcast_Command& a, CSVCMsg_Broadcast_Command& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_Broadcast_Command* 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(CSVCMsg_Broadcast_Command* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_Broadcast_Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_Broadcast_Command& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_Broadcast_Command& from) { + CSVCMsg_Broadcast_Command::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(CSVCMsg_Broadcast_Command* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_Broadcast_Command"; + } + protected: + explicit CSVCMsg_Broadcast_Command(::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 { + kCmdFieldNumber = 1, + }; + // optional string cmd = 1; + bool has_cmd() const; + private: + bool _internal_has_cmd() const; + public: + void clear_cmd(); + const std::string& cmd() const; + template + void set_cmd(ArgT0&& arg0, ArgT... args); + std::string* mutable_cmd(); + PROTOBUF_NODISCARD std::string* release_cmd(); + void set_allocated_cmd(std::string* cmd); + private: + const std::string& _internal_cmd() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cmd(const std::string& value); + std::string* _internal_mutable_cmd(); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_Broadcast_Command) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cmd_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_HltvFixupOperatorTick final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_HltvFixupOperatorTick) */ { + public: + inline CCLCMsg_HltvFixupOperatorTick() : CCLCMsg_HltvFixupOperatorTick(nullptr) {} + ~CCLCMsg_HltvFixupOperatorTick() override; + explicit PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCLCMsg_HltvFixupOperatorTick(const CCLCMsg_HltvFixupOperatorTick& from); + CCLCMsg_HltvFixupOperatorTick(CCLCMsg_HltvFixupOperatorTick&& from) noexcept + : CCLCMsg_HltvFixupOperatorTick() { + *this = ::std::move(from); + } + + inline CCLCMsg_HltvFixupOperatorTick& operator=(const CCLCMsg_HltvFixupOperatorTick& from) { + CopyFrom(from); + return *this; + } + inline CCLCMsg_HltvFixupOperatorTick& operator=(CCLCMsg_HltvFixupOperatorTick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCLCMsg_HltvFixupOperatorTick& default_instance() { + return *internal_default_instance(); + } + static inline const CCLCMsg_HltvFixupOperatorTick* internal_default_instance() { + return reinterpret_cast( + &_CCLCMsg_HltvFixupOperatorTick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 77; + + friend void swap(CCLCMsg_HltvFixupOperatorTick& a, CCLCMsg_HltvFixupOperatorTick& b) { + a.Swap(&b); + } + inline void Swap(CCLCMsg_HltvFixupOperatorTick* 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(CCLCMsg_HltvFixupOperatorTick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCLCMsg_HltvFixupOperatorTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCLCMsg_HltvFixupOperatorTick& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCLCMsg_HltvFixupOperatorTick& from) { + CCLCMsg_HltvFixupOperatorTick::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(CCLCMsg_HltvFixupOperatorTick* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCLCMsg_HltvFixupOperatorTick"; + } + protected: + explicit CCLCMsg_HltvFixupOperatorTick(::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 { + kPropsDataFieldNumber = 2, + kOriginFieldNumber = 3, + kEyeAnglesFieldNumber = 4, + kViewOffsetFieldNumber = 8, + kTickFieldNumber = 1, + kObserverModeFieldNumber = 5, + kCameramanScoreboardFieldNumber = 6, + kObserverTargetFieldNumber = 7, + }; + // optional bytes props_data = 2; + bool has_props_data() const; + private: + bool _internal_has_props_data() const; + public: + void clear_props_data(); + const std::string& props_data() const; + template + void set_props_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_props_data(); + PROTOBUF_NODISCARD std::string* release_props_data(); + void set_allocated_props_data(std::string* props_data); + private: + const std::string& _internal_props_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_props_data(const std::string& value); + std::string* _internal_mutable_props_data(); + public: + + // optional .CMsgVector origin = 3; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgQAngle eye_angles = 4; + bool has_eye_angles() const; + private: + bool _internal_has_eye_angles() const; + public: + void clear_eye_angles(); + const ::CMsgQAngle& eye_angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_eye_angles(); + ::CMsgQAngle* mutable_eye_angles(); + void set_allocated_eye_angles(::CMsgQAngle* eye_angles); + private: + const ::CMsgQAngle& _internal_eye_angles() const; + ::CMsgQAngle* _internal_mutable_eye_angles(); + public: + void unsafe_arena_set_allocated_eye_angles( + ::CMsgQAngle* eye_angles); + ::CMsgQAngle* unsafe_arena_release_eye_angles(); + + // optional .CMsgVector view_offset = 8; + bool has_view_offset() const; + private: + bool _internal_has_view_offset() const; + public: + void clear_view_offset(); + const ::CMsgVector& view_offset() const; + PROTOBUF_NODISCARD ::CMsgVector* release_view_offset(); + ::CMsgVector* mutable_view_offset(); + void set_allocated_view_offset(::CMsgVector* view_offset); + private: + const ::CMsgVector& _internal_view_offset() const; + ::CMsgVector* _internal_mutable_view_offset(); + public: + void unsafe_arena_set_allocated_view_offset( + ::CMsgVector* view_offset); + ::CMsgVector* unsafe_arena_release_view_offset(); + + // optional int32 tick = 1; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + + // optional int32 observer_mode = 5; + bool has_observer_mode() const; + private: + bool _internal_has_observer_mode() const; + public: + void clear_observer_mode(); + int32_t observer_mode() const; + void set_observer_mode(int32_t value); + private: + int32_t _internal_observer_mode() const; + void _internal_set_observer_mode(int32_t value); + public: + + // optional bool cameraman_scoreboard = 6; + bool has_cameraman_scoreboard() const; + private: + bool _internal_has_cameraman_scoreboard() const; + public: + void clear_cameraman_scoreboard(); + bool cameraman_scoreboard() const; + void set_cameraman_scoreboard(bool value); + private: + bool _internal_cameraman_scoreboard() const; + void _internal_set_cameraman_scoreboard(bool value); + public: + + // optional int32 observer_target = 7; + bool has_observer_target() const; + private: + bool _internal_has_observer_target() const; + public: + void clear_observer_target(); + int32_t observer_target() const; + void set_observer_target(int32_t value); + private: + int32_t _internal_observer_target() const; + void _internal_set_observer_target(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCLCMsg_HltvFixupOperatorTick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr props_data_; + ::CMsgVector* origin_; + ::CMsgQAngle* eye_angles_; + ::CMsgVector* view_offset_; + int32_t tick_; + int32_t observer_mode_; + bool cameraman_scoreboard_; + int32_t observer_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_HltvFixupOperatorStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HltvFixupOperatorStatus) */ { + public: + inline CSVCMsg_HltvFixupOperatorStatus() : CSVCMsg_HltvFixupOperatorStatus(nullptr) {} + ~CSVCMsg_HltvFixupOperatorStatus() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_HltvFixupOperatorStatus(const CSVCMsg_HltvFixupOperatorStatus& from); + CSVCMsg_HltvFixupOperatorStatus(CSVCMsg_HltvFixupOperatorStatus&& from) noexcept + : CSVCMsg_HltvFixupOperatorStatus() { + *this = ::std::move(from); + } + + inline CSVCMsg_HltvFixupOperatorStatus& operator=(const CSVCMsg_HltvFixupOperatorStatus& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_HltvFixupOperatorStatus& operator=(CSVCMsg_HltvFixupOperatorStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_HltvFixupOperatorStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_HltvFixupOperatorStatus* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_HltvFixupOperatorStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 78; + + friend void swap(CSVCMsg_HltvFixupOperatorStatus& a, CSVCMsg_HltvFixupOperatorStatus& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_HltvFixupOperatorStatus* 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(CSVCMsg_HltvFixupOperatorStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_HltvFixupOperatorStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_HltvFixupOperatorStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_HltvFixupOperatorStatus& from) { + CSVCMsg_HltvFixupOperatorStatus::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(CSVCMsg_HltvFixupOperatorStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_HltvFixupOperatorStatus"; + } + protected: + explicit CSVCMsg_HltvFixupOperatorStatus(::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 { + kOverrideOperatorNameFieldNumber = 2, + kModeFieldNumber = 1, + }; + // optional string override_operator_name = 2; + bool has_override_operator_name() const; + private: + bool _internal_has_override_operator_name() const; + public: + void clear_override_operator_name(); + const std::string& override_operator_name() const; + template + void set_override_operator_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_override_operator_name(); + PROTOBUF_NODISCARD std::string* release_override_operator_name(); + void set_allocated_override_operator_name(std::string* override_operator_name); + private: + const std::string& _internal_override_operator_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_override_operator_name(const std::string& value); + std::string* _internal_mutable_override_operator_name(); + public: + + // optional uint32 mode = 1; + bool has_mode() const; + private: + bool _internal_has_mode() const; + public: + void clear_mode(); + uint32_t mode() const; + void set_mode(uint32_t value); + private: + uint32_t _internal_mode() const; + void _internal_set_mode(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_HltvFixupOperatorStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr override_operator_name_; + uint32_t mode_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgServerUserCmd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerUserCmd) */ { + public: + inline CMsgServerUserCmd() : CMsgServerUserCmd(nullptr) {} + ~CMsgServerUserCmd() override; + explicit PROTOBUF_CONSTEXPR CMsgServerUserCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgServerUserCmd(const CMsgServerUserCmd& from); + CMsgServerUserCmd(CMsgServerUserCmd&& from) noexcept + : CMsgServerUserCmd() { + *this = ::std::move(from); + } + + inline CMsgServerUserCmd& operator=(const CMsgServerUserCmd& from) { + CopyFrom(from); + return *this; + } + inline CMsgServerUserCmd& operator=(CMsgServerUserCmd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgServerUserCmd& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgServerUserCmd* internal_default_instance() { + return reinterpret_cast( + &_CMsgServerUserCmd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 79; + + friend void swap(CMsgServerUserCmd& a, CMsgServerUserCmd& b) { + a.Swap(&b); + } + inline void Swap(CMsgServerUserCmd* 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(CMsgServerUserCmd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgServerUserCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgServerUserCmd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgServerUserCmd& from) { + CMsgServerUserCmd::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(CMsgServerUserCmd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgServerUserCmd"; + } + protected: + explicit CMsgServerUserCmd(::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 { + kDataFieldNumber = 1, + kCmdNumberFieldNumber = 2, + kServerTickExecutedFieldNumber = 4, + kClientTickFieldNumber = 5, + kPlayerSlotFieldNumber = 3, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 cmd_number = 2; + bool has_cmd_number() const; + private: + bool _internal_has_cmd_number() const; + public: + void clear_cmd_number(); + int32_t cmd_number() const; + void set_cmd_number(int32_t value); + private: + int32_t _internal_cmd_number() const; + void _internal_set_cmd_number(int32_t value); + public: + + // optional int32 server_tick_executed = 4; + bool has_server_tick_executed() const; + private: + bool _internal_has_server_tick_executed() const; + public: + void clear_server_tick_executed(); + int32_t server_tick_executed() const; + void set_server_tick_executed(int32_t value); + private: + int32_t _internal_server_tick_executed() const; + void _internal_set_server_tick_executed(int32_t value); + public: + + // optional int32 client_tick = 5; + bool has_client_tick() const; + private: + bool _internal_has_client_tick() const; + public: + void clear_client_tick(); + int32_t client_tick() const; + void set_client_tick(int32_t value); + private: + int32_t _internal_client_tick() const; + void _internal_set_client_tick(int32_t value); + public: + + // optional int32 player_slot = 3 [default = -1]; + bool has_player_slot() const; + private: + bool _internal_has_player_slot() const; + public: + void clear_player_slot(); + int32_t player_slot() const; + void set_player_slot(int32_t value); + private: + int32_t _internal_player_slot() const; + void _internal_set_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgServerUserCmd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t cmd_number_; + int32_t server_tick_executed_; + int32_t client_tick_; + int32_t player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_UserCommands final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UserCommands) */ { + public: + inline CSVCMsg_UserCommands() : CSVCMsg_UserCommands(nullptr) {} + ~CSVCMsg_UserCommands() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_UserCommands(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_UserCommands(const CSVCMsg_UserCommands& from); + CSVCMsg_UserCommands(CSVCMsg_UserCommands&& from) noexcept + : CSVCMsg_UserCommands() { + *this = ::std::move(from); + } + + inline CSVCMsg_UserCommands& operator=(const CSVCMsg_UserCommands& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_UserCommands& operator=(CSVCMsg_UserCommands&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_UserCommands& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_UserCommands* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_UserCommands_default_instance_); + } + static constexpr int kIndexInFileMessages = + 80; + + friend void swap(CSVCMsg_UserCommands& a, CSVCMsg_UserCommands& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_UserCommands* 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(CSVCMsg_UserCommands* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_UserCommands* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_UserCommands& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_UserCommands& from) { + CSVCMsg_UserCommands::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(CSVCMsg_UserCommands* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_UserCommands"; + } + protected: + explicit CSVCMsg_UserCommands(::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 { + kCommandsFieldNumber = 1, + }; + // repeated .CMsgServerUserCmd commands = 1; + int commands_size() const; + private: + int _internal_commands_size() const; + public: + void clear_commands(); + ::CMsgServerUserCmd* mutable_commands(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >* + mutable_commands(); + private: + const ::CMsgServerUserCmd& _internal_commands(int index) const; + ::CMsgServerUserCmd* _internal_add_commands(); + public: + const ::CMsgServerUserCmd& commands(int index) const; + ::CMsgServerUserCmd* add_commands(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >& + commands() const; + + // @@protoc_insertion_point(class_scope:CSVCMsg_UserCommands) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd > commands_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_netmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CCLCMsg_ClientInfo + +// optional fixed32 send_table_crc = 1; +inline bool CCLCMsg_ClientInfo::_internal_has_send_table_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_ClientInfo::has_send_table_crc() const { + return _internal_has_send_table_crc(); +} +inline void CCLCMsg_ClientInfo::clear_send_table_crc() { + _impl_.send_table_crc_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCLCMsg_ClientInfo::_internal_send_table_crc() const { + return _impl_.send_table_crc_; +} +inline uint32_t CCLCMsg_ClientInfo::send_table_crc() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.send_table_crc) + return _internal_send_table_crc(); +} +inline void CCLCMsg_ClientInfo::_internal_set_send_table_crc(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.send_table_crc_ = value; +} +inline void CCLCMsg_ClientInfo::set_send_table_crc(uint32_t value) { + _internal_set_send_table_crc(value); + // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.send_table_crc) +} + +// optional uint32 server_count = 2; +inline bool CCLCMsg_ClientInfo::_internal_has_server_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCLCMsg_ClientInfo::has_server_count() const { + return _internal_has_server_count(); +} +inline void CCLCMsg_ClientInfo::clear_server_count() { + _impl_.server_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CCLCMsg_ClientInfo::_internal_server_count() const { + return _impl_.server_count_; +} +inline uint32_t CCLCMsg_ClientInfo::server_count() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.server_count) + return _internal_server_count(); +} +inline void CCLCMsg_ClientInfo::_internal_set_server_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_count_ = value; +} +inline void CCLCMsg_ClientInfo::set_server_count(uint32_t value) { + _internal_set_server_count(value); + // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.server_count) +} + +// optional bool is_hltv = 3; +inline bool CCLCMsg_ClientInfo::_internal_has_is_hltv() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCLCMsg_ClientInfo::has_is_hltv() const { + return _internal_has_is_hltv(); +} +inline void CCLCMsg_ClientInfo::clear_is_hltv() { + _impl_.is_hltv_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CCLCMsg_ClientInfo::_internal_is_hltv() const { + return _impl_.is_hltv_; +} +inline bool CCLCMsg_ClientInfo::is_hltv() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.is_hltv) + return _internal_is_hltv(); +} +inline void CCLCMsg_ClientInfo::_internal_set_is_hltv(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.is_hltv_ = value; +} +inline void CCLCMsg_ClientInfo::set_is_hltv(bool value) { + _internal_set_is_hltv(value); + // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.is_hltv) +} + +// optional uint32 friends_id = 5; +inline bool CCLCMsg_ClientInfo::_internal_has_friends_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCLCMsg_ClientInfo::has_friends_id() const { + return _internal_has_friends_id(); +} +inline void CCLCMsg_ClientInfo::clear_friends_id() { + _impl_.friends_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CCLCMsg_ClientInfo::_internal_friends_id() const { + return _impl_.friends_id_; +} +inline uint32_t CCLCMsg_ClientInfo::friends_id() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.friends_id) + return _internal_friends_id(); +} +inline void CCLCMsg_ClientInfo::_internal_set_friends_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.friends_id_ = value; +} +inline void CCLCMsg_ClientInfo::set_friends_id(uint32_t value) { + _internal_set_friends_id(value); + // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.friends_id) +} + +// optional string friends_name = 6; +inline bool CCLCMsg_ClientInfo::_internal_has_friends_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_ClientInfo::has_friends_name() const { + return _internal_has_friends_name(); +} +inline void CCLCMsg_ClientInfo::clear_friends_name() { + _impl_.friends_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_ClientInfo::friends_name() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.friends_name) + return _internal_friends_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_ClientInfo::set_friends_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.friends_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.friends_name) +} +inline std::string* CCLCMsg_ClientInfo::mutable_friends_name() { + std::string* _s = _internal_mutable_friends_name(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_ClientInfo.friends_name) + return _s; +} +inline const std::string& CCLCMsg_ClientInfo::_internal_friends_name() const { + return _impl_.friends_name_.Get(); +} +inline void CCLCMsg_ClientInfo::_internal_set_friends_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.friends_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_ClientInfo::_internal_mutable_friends_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.friends_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_ClientInfo::release_friends_name() { + // @@protoc_insertion_point(field_release:CCLCMsg_ClientInfo.friends_name) + if (!_internal_has_friends_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.friends_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.friends_name_.IsDefault()) { + _impl_.friends_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_ClientInfo::set_allocated_friends_name(std::string* friends_name) { + if (friends_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.friends_name_.SetAllocated(friends_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.friends_name_.IsDefault()) { + _impl_.friends_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_ClientInfo.friends_name) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_Move + +// optional bytes data = 3; +inline bool CCLCMsg_Move::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_Move::has_data() const { + return _internal_has_data(); +} +inline void CCLCMsg_Move::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_Move::data() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Move.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_Move::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_Move.data) +} +inline std::string* CCLCMsg_Move::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_Move.data) + return _s; +} +inline const std::string& CCLCMsg_Move::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CCLCMsg_Move::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_Move::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_Move::release_data() { + // @@protoc_insertion_point(field_release:CCLCMsg_Move.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_Move::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Move.data) +} + +// optional uint32 last_command_number = 4; +inline bool CCLCMsg_Move::_internal_has_last_command_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_Move::has_last_command_number() const { + return _internal_has_last_command_number(); +} +inline void CCLCMsg_Move::clear_last_command_number() { + _impl_.last_command_number_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCLCMsg_Move::_internal_last_command_number() const { + return _impl_.last_command_number_; +} +inline uint32_t CCLCMsg_Move::last_command_number() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Move.last_command_number) + return _internal_last_command_number(); +} +inline void CCLCMsg_Move::_internal_set_last_command_number(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.last_command_number_ = value; +} +inline void CCLCMsg_Move::set_last_command_number(uint32_t value) { + _internal_set_last_command_number(value); + // @@protoc_insertion_point(field_set:CCLCMsg_Move.last_command_number) +} + +// ------------------------------------------------------------------- + +// CMsgVoiceAudio + +// optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; +inline bool CMsgVoiceAudio::_internal_has_format() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_format() const { + return _internal_has_format(); +} +inline void CMsgVoiceAudio::clear_format() { + _impl_.format_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline ::VoiceDataFormat_t CMsgVoiceAudio::_internal_format() const { + return static_cast< ::VoiceDataFormat_t >(_impl_.format_); +} +inline ::VoiceDataFormat_t CMsgVoiceAudio::format() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.format) + return _internal_format(); +} +inline void CMsgVoiceAudio::_internal_set_format(::VoiceDataFormat_t value) { + assert(::VoiceDataFormat_t_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.format_ = value; +} +inline void CMsgVoiceAudio::set_format(::VoiceDataFormat_t value) { + _internal_set_format(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.format) +} + +// optional bytes voice_data = 2; +inline bool CMsgVoiceAudio::_internal_has_voice_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_voice_data() const { + return _internal_has_voice_data(); +} +inline void CMsgVoiceAudio::clear_voice_data() { + _impl_.voice_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgVoiceAudio::voice_data() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.voice_data) + return _internal_voice_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgVoiceAudio::set_voice_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.voice_data) +} +inline std::string* CMsgVoiceAudio::mutable_voice_data() { + std::string* _s = _internal_mutable_voice_data(); + // @@protoc_insertion_point(field_mutable:CMsgVoiceAudio.voice_data) + return _s; +} +inline const std::string& CMsgVoiceAudio::_internal_voice_data() const { + return _impl_.voice_data_.Get(); +} +inline void CMsgVoiceAudio::_internal_set_voice_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.voice_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgVoiceAudio::_internal_mutable_voice_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.voice_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgVoiceAudio::release_voice_data() { + // @@protoc_insertion_point(field_release:CMsgVoiceAudio.voice_data) + if (!_internal_has_voice_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.voice_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_data_.IsDefault()) { + _impl_.voice_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgVoiceAudio::set_allocated_voice_data(std::string* voice_data) { + if (voice_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.voice_data_.SetAllocated(voice_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.voice_data_.IsDefault()) { + _impl_.voice_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgVoiceAudio.voice_data) +} + +// optional int32 sequence_bytes = 3; +inline bool CMsgVoiceAudio::_internal_has_sequence_bytes() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_sequence_bytes() const { + return _internal_has_sequence_bytes(); +} +inline void CMsgVoiceAudio::clear_sequence_bytes() { + _impl_.sequence_bytes_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgVoiceAudio::_internal_sequence_bytes() const { + return _impl_.sequence_bytes_; +} +inline int32_t CMsgVoiceAudio::sequence_bytes() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sequence_bytes) + return _internal_sequence_bytes(); +} +inline void CMsgVoiceAudio::_internal_set_sequence_bytes(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sequence_bytes_ = value; +} +inline void CMsgVoiceAudio::set_sequence_bytes(int32_t value) { + _internal_set_sequence_bytes(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sequence_bytes) +} + +// optional uint32 section_number = 4; +inline bool CMsgVoiceAudio::_internal_has_section_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_section_number() const { + return _internal_has_section_number(); +} +inline void CMsgVoiceAudio::clear_section_number() { + _impl_.section_number_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgVoiceAudio::_internal_section_number() const { + return _impl_.section_number_; +} +inline uint32_t CMsgVoiceAudio::section_number() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.section_number) + return _internal_section_number(); +} +inline void CMsgVoiceAudio::_internal_set_section_number(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.section_number_ = value; +} +inline void CMsgVoiceAudio::set_section_number(uint32_t value) { + _internal_set_section_number(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.section_number) +} + +// optional uint32 sample_rate = 5; +inline bool CMsgVoiceAudio::_internal_has_sample_rate() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_sample_rate() const { + return _internal_has_sample_rate(); +} +inline void CMsgVoiceAudio::clear_sample_rate() { + _impl_.sample_rate_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgVoiceAudio::_internal_sample_rate() const { + return _impl_.sample_rate_; +} +inline uint32_t CMsgVoiceAudio::sample_rate() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sample_rate) + return _internal_sample_rate(); +} +inline void CMsgVoiceAudio::_internal_set_sample_rate(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.sample_rate_ = value; +} +inline void CMsgVoiceAudio::set_sample_rate(uint32_t value) { + _internal_set_sample_rate(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sample_rate) +} + +// optional uint32 uncompressed_sample_offset = 6; +inline bool CMsgVoiceAudio::_internal_has_uncompressed_sample_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_uncompressed_sample_offset() const { + return _internal_has_uncompressed_sample_offset(); +} +inline void CMsgVoiceAudio::clear_uncompressed_sample_offset() { + _impl_.uncompressed_sample_offset_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgVoiceAudio::_internal_uncompressed_sample_offset() const { + return _impl_.uncompressed_sample_offset_; +} +inline uint32_t CMsgVoiceAudio::uncompressed_sample_offset() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.uncompressed_sample_offset) + return _internal_uncompressed_sample_offset(); +} +inline void CMsgVoiceAudio::_internal_set_uncompressed_sample_offset(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.uncompressed_sample_offset_ = value; +} +inline void CMsgVoiceAudio::set_uncompressed_sample_offset(uint32_t value) { + _internal_set_uncompressed_sample_offset(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.uncompressed_sample_offset) +} + +// optional uint32 num_packets = 7; +inline bool CMsgVoiceAudio::_internal_has_num_packets() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_num_packets() const { + return _internal_has_num_packets(); +} +inline void CMsgVoiceAudio::clear_num_packets() { + _impl_.num_packets_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgVoiceAudio::_internal_num_packets() const { + return _impl_.num_packets_; +} +inline uint32_t CMsgVoiceAudio::num_packets() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.num_packets) + return _internal_num_packets(); +} +inline void CMsgVoiceAudio::_internal_set_num_packets(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.num_packets_ = value; +} +inline void CMsgVoiceAudio::set_num_packets(uint32_t value) { + _internal_set_num_packets(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.num_packets) +} + +// repeated uint32 packet_offsets = 8 [packed = true]; +inline int CMsgVoiceAudio::_internal_packet_offsets_size() const { + return _impl_.packet_offsets_.size(); +} +inline int CMsgVoiceAudio::packet_offsets_size() const { + return _internal_packet_offsets_size(); +} +inline void CMsgVoiceAudio::clear_packet_offsets() { + _impl_.packet_offsets_.Clear(); +} +inline uint32_t CMsgVoiceAudio::_internal_packet_offsets(int index) const { + return _impl_.packet_offsets_.Get(index); +} +inline uint32_t CMsgVoiceAudio::packet_offsets(int index) const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.packet_offsets) + return _internal_packet_offsets(index); +} +inline void CMsgVoiceAudio::set_packet_offsets(int index, uint32_t value) { + _impl_.packet_offsets_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.packet_offsets) +} +inline void CMsgVoiceAudio::_internal_add_packet_offsets(uint32_t value) { + _impl_.packet_offsets_.Add(value); +} +inline void CMsgVoiceAudio::add_packet_offsets(uint32_t value) { + _internal_add_packet_offsets(value); + // @@protoc_insertion_point(field_add:CMsgVoiceAudio.packet_offsets) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgVoiceAudio::_internal_packet_offsets() const { + return _impl_.packet_offsets_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgVoiceAudio::packet_offsets() const { + // @@protoc_insertion_point(field_list:CMsgVoiceAudio.packet_offsets) + return _internal_packet_offsets(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgVoiceAudio::_internal_mutable_packet_offsets() { + return &_impl_.packet_offsets_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgVoiceAudio::mutable_packet_offsets() { + // @@protoc_insertion_point(field_mutable_list:CMsgVoiceAudio.packet_offsets) + return _internal_mutable_packet_offsets(); +} + +// optional float voice_level = 9; +inline bool CMsgVoiceAudio::_internal_has_voice_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgVoiceAudio::has_voice_level() const { + return _internal_has_voice_level(); +} +inline void CMsgVoiceAudio::clear_voice_level() { + _impl_.voice_level_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CMsgVoiceAudio::_internal_voice_level() const { + return _impl_.voice_level_; +} +inline float CMsgVoiceAudio::voice_level() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.voice_level) + return _internal_voice_level(); +} +inline void CMsgVoiceAudio::_internal_set_voice_level(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.voice_level_ = value; +} +inline void CMsgVoiceAudio::set_voice_level(float value) { + _internal_set_voice_level(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.voice_level) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_VoiceData + +// optional .CMsgVoiceAudio audio = 1; +inline bool CCLCMsg_VoiceData::_internal_has_audio() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); + return value; +} +inline bool CCLCMsg_VoiceData::has_audio() const { + return _internal_has_audio(); +} +inline void CCLCMsg_VoiceData::clear_audio() { + if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgVoiceAudio& CCLCMsg_VoiceData::_internal_audio() const { + const ::CMsgVoiceAudio* p = _impl_.audio_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVoiceAudio_default_instance_); +} +inline const ::CMsgVoiceAudio& CCLCMsg_VoiceData::audio() const { + // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.audio) + return _internal_audio(); +} +inline void CCLCMsg_VoiceData::unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); + } + _impl_.audio_ = audio; + if (audio) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_VoiceData.audio) +} +inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::release_audio() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = 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 ::CMsgVoiceAudio* CCLCMsg_VoiceData::unsafe_arena_release_audio() { + // @@protoc_insertion_point(field_release:CCLCMsg_VoiceData.audio) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = nullptr; + return temp; +} +inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::_internal_mutable_audio() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.audio_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); + _impl_.audio_ = p; + } + return _impl_.audio_; +} +inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::mutable_audio() { + ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_VoiceData.audio) + return _msg; +} +inline void CCLCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.audio_; + } + if (audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(audio); + if (message_arena != submessage_arena) { + audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, audio, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.audio_ = audio; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_VoiceData.audio) +} + +// optional fixed64 xuid = 2; +inline bool CCLCMsg_VoiceData::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_VoiceData::has_xuid() const { + return _internal_has_xuid(); +} +inline void CCLCMsg_VoiceData::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CCLCMsg_VoiceData::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CCLCMsg_VoiceData::xuid() const { + // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.xuid) + return _internal_xuid(); +} +inline void CCLCMsg_VoiceData::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.xuid_ = value; +} +inline void CCLCMsg_VoiceData::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.xuid) +} + +// optional uint32 tick = 3; +inline bool CCLCMsg_VoiceData::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCLCMsg_VoiceData::has_tick() const { + return _internal_has_tick(); +} +inline void CCLCMsg_VoiceData::clear_tick() { + _impl_.tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CCLCMsg_VoiceData::_internal_tick() const { + return _impl_.tick_; +} +inline uint32_t CCLCMsg_VoiceData::tick() const { + // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.tick) + return _internal_tick(); +} +inline void CCLCMsg_VoiceData::_internal_set_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.tick_ = value; +} +inline void CCLCMsg_VoiceData::set_tick(uint32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.tick) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_BaselineAck + +// optional int32 baseline_tick = 1; +inline bool CCLCMsg_BaselineAck::_internal_has_baseline_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_BaselineAck::has_baseline_tick() const { + return _internal_has_baseline_tick(); +} +inline void CCLCMsg_BaselineAck::clear_baseline_tick() { + _impl_.baseline_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCLCMsg_BaselineAck::_internal_baseline_tick() const { + return _impl_.baseline_tick_; +} +inline int32_t CCLCMsg_BaselineAck::baseline_tick() const { + // @@protoc_insertion_point(field_get:CCLCMsg_BaselineAck.baseline_tick) + return _internal_baseline_tick(); +} +inline void CCLCMsg_BaselineAck::_internal_set_baseline_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.baseline_tick_ = value; +} +inline void CCLCMsg_BaselineAck::set_baseline_tick(int32_t value) { + _internal_set_baseline_tick(value); + // @@protoc_insertion_point(field_set:CCLCMsg_BaselineAck.baseline_tick) +} + +// optional int32 baseline_nr = 2; +inline bool CCLCMsg_BaselineAck::_internal_has_baseline_nr() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_BaselineAck::has_baseline_nr() const { + return _internal_has_baseline_nr(); +} +inline void CCLCMsg_BaselineAck::clear_baseline_nr() { + _impl_.baseline_nr_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCLCMsg_BaselineAck::_internal_baseline_nr() const { + return _impl_.baseline_nr_; +} +inline int32_t CCLCMsg_BaselineAck::baseline_nr() const { + // @@protoc_insertion_point(field_get:CCLCMsg_BaselineAck.baseline_nr) + return _internal_baseline_nr(); +} +inline void CCLCMsg_BaselineAck::_internal_set_baseline_nr(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.baseline_nr_ = value; +} +inline void CCLCMsg_BaselineAck::set_baseline_nr(int32_t value) { + _internal_set_baseline_nr(value); + // @@protoc_insertion_point(field_set:CCLCMsg_BaselineAck.baseline_nr) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ListenEvents + +// repeated fixed32 event_mask = 1; +inline int CCLCMsg_ListenEvents::_internal_event_mask_size() const { + return _impl_.event_mask_.size(); +} +inline int CCLCMsg_ListenEvents::event_mask_size() const { + return _internal_event_mask_size(); +} +inline void CCLCMsg_ListenEvents::clear_event_mask() { + _impl_.event_mask_.Clear(); +} +inline uint32_t CCLCMsg_ListenEvents::_internal_event_mask(int index) const { + return _impl_.event_mask_.Get(index); +} +inline uint32_t CCLCMsg_ListenEvents::event_mask(int index) const { + // @@protoc_insertion_point(field_get:CCLCMsg_ListenEvents.event_mask) + return _internal_event_mask(index); +} +inline void CCLCMsg_ListenEvents::set_event_mask(int index, uint32_t value) { + _impl_.event_mask_.Set(index, value); + // @@protoc_insertion_point(field_set:CCLCMsg_ListenEvents.event_mask) +} +inline void CCLCMsg_ListenEvents::_internal_add_event_mask(uint32_t value) { + _impl_.event_mask_.Add(value); +} +inline void CCLCMsg_ListenEvents::add_event_mask(uint32_t value) { + _internal_add_event_mask(value); + // @@protoc_insertion_point(field_add:CCLCMsg_ListenEvents.event_mask) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CCLCMsg_ListenEvents::_internal_event_mask() const { + return _impl_.event_mask_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CCLCMsg_ListenEvents::event_mask() const { + // @@protoc_insertion_point(field_list:CCLCMsg_ListenEvents.event_mask) + return _internal_event_mask(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CCLCMsg_ListenEvents::_internal_mutable_event_mask() { + return &_impl_.event_mask_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CCLCMsg_ListenEvents::mutable_event_mask() { + // @@protoc_insertion_point(field_mutable_list:CCLCMsg_ListenEvents.event_mask) + return _internal_mutable_event_mask(); +} + +// ------------------------------------------------------------------- + +// CCLCMsg_RespondCvarValue + +// optional int32 cookie = 1; +inline bool CCLCMsg_RespondCvarValue::_internal_has_cookie() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCLCMsg_RespondCvarValue::has_cookie() const { + return _internal_has_cookie(); +} +inline void CCLCMsg_RespondCvarValue::clear_cookie() { + _impl_.cookie_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CCLCMsg_RespondCvarValue::_internal_cookie() const { + return _impl_.cookie_; +} +inline int32_t CCLCMsg_RespondCvarValue::cookie() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.cookie) + return _internal_cookie(); +} +inline void CCLCMsg_RespondCvarValue::_internal_set_cookie(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.cookie_ = value; +} +inline void CCLCMsg_RespondCvarValue::set_cookie(int32_t value) { + _internal_set_cookie(value); + // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.cookie) +} + +// optional int32 status_code = 2; +inline bool CCLCMsg_RespondCvarValue::_internal_has_status_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCLCMsg_RespondCvarValue::has_status_code() const { + return _internal_has_status_code(); +} +inline void CCLCMsg_RespondCvarValue::clear_status_code() { + _impl_.status_code_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CCLCMsg_RespondCvarValue::_internal_status_code() const { + return _impl_.status_code_; +} +inline int32_t CCLCMsg_RespondCvarValue::status_code() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.status_code) + return _internal_status_code(); +} +inline void CCLCMsg_RespondCvarValue::_internal_set_status_code(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.status_code_ = value; +} +inline void CCLCMsg_RespondCvarValue::set_status_code(int32_t value) { + _internal_set_status_code(value); + // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.status_code) +} + +// optional string name = 3; +inline bool CCLCMsg_RespondCvarValue::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_RespondCvarValue::has_name() const { + return _internal_has_name(); +} +inline void CCLCMsg_RespondCvarValue::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_RespondCvarValue::name() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_RespondCvarValue::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.name) +} +inline std::string* CCLCMsg_RespondCvarValue::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_RespondCvarValue.name) + return _s; +} +inline const std::string& CCLCMsg_RespondCvarValue::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CCLCMsg_RespondCvarValue::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RespondCvarValue::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RespondCvarValue::release_name() { + // @@protoc_insertion_point(field_release:CCLCMsg_RespondCvarValue.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_RespondCvarValue::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CCLCMsg_RespondCvarValue.name) +} + +// optional string value = 4; +inline bool CCLCMsg_RespondCvarValue::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_RespondCvarValue::has_value() const { + return _internal_has_value(); +} +inline void CCLCMsg_RespondCvarValue::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCLCMsg_RespondCvarValue::value() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_RespondCvarValue::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.value) +} +inline std::string* CCLCMsg_RespondCvarValue::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_RespondCvarValue.value) + return _s; +} +inline const std::string& CCLCMsg_RespondCvarValue::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CCLCMsg_RespondCvarValue::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RespondCvarValue::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RespondCvarValue::release_value() { + // @@protoc_insertion_point(field_release:CCLCMsg_RespondCvarValue.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_RespondCvarValue::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_RespondCvarValue.value) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_LoadingProgress + +// optional int32 progress = 1; +inline bool CCLCMsg_LoadingProgress::_internal_has_progress() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_LoadingProgress::has_progress() const { + return _internal_has_progress(); +} +inline void CCLCMsg_LoadingProgress::clear_progress() { + _impl_.progress_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCLCMsg_LoadingProgress::_internal_progress() const { + return _impl_.progress_; +} +inline int32_t CCLCMsg_LoadingProgress::progress() const { + // @@protoc_insertion_point(field_get:CCLCMsg_LoadingProgress.progress) + return _internal_progress(); +} +inline void CCLCMsg_LoadingProgress::_internal_set_progress(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.progress_ = value; +} +inline void CCLCMsg_LoadingProgress::set_progress(int32_t value) { + _internal_set_progress(value); + // @@protoc_insertion_point(field_set:CCLCMsg_LoadingProgress.progress) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_SplitPlayerConnect + +// optional string playername = 1; +inline bool CCLCMsg_SplitPlayerConnect::_internal_has_playername() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_SplitPlayerConnect::has_playername() const { + return _internal_has_playername(); +} +inline void CCLCMsg_SplitPlayerConnect::clear_playername() { + _impl_.playername_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_SplitPlayerConnect::playername() const { + // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerConnect.playername) + return _internal_playername(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_SplitPlayerConnect::set_playername(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.playername_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerConnect.playername) +} +inline std::string* CCLCMsg_SplitPlayerConnect::mutable_playername() { + std::string* _s = _internal_mutable_playername(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_SplitPlayerConnect.playername) + return _s; +} +inline const std::string& CCLCMsg_SplitPlayerConnect::_internal_playername() const { + return _impl_.playername_.Get(); +} +inline void CCLCMsg_SplitPlayerConnect::_internal_set_playername(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.playername_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_SplitPlayerConnect::_internal_mutable_playername() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.playername_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_SplitPlayerConnect::release_playername() { + // @@protoc_insertion_point(field_release:CCLCMsg_SplitPlayerConnect.playername) + if (!_internal_has_playername()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.playername_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playername_.IsDefault()) { + _impl_.playername_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_SplitPlayerConnect::set_allocated_playername(std::string* playername) { + if (playername != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.playername_.SetAllocated(playername, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playername_.IsDefault()) { + _impl_.playername_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_SplitPlayerConnect.playername) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_SplitPlayerDisconnect + +// optional int32 slot = 1; +inline bool CCLCMsg_SplitPlayerDisconnect::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_SplitPlayerDisconnect::has_slot() const { + return _internal_has_slot(); +} +inline void CCLCMsg_SplitPlayerDisconnect::clear_slot() { + _impl_.slot_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCLCMsg_SplitPlayerDisconnect::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CCLCMsg_SplitPlayerDisconnect::slot() const { + // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerDisconnect.slot) + return _internal_slot(); +} +inline void CCLCMsg_SplitPlayerDisconnect::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.slot_ = value; +} +inline void CCLCMsg_SplitPlayerDisconnect::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerDisconnect.slot) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ServerStatus + +// optional bool simplified = 1; +inline bool CCLCMsg_ServerStatus::_internal_has_simplified() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_ServerStatus::has_simplified() const { + return _internal_has_simplified(); +} +inline void CCLCMsg_ServerStatus::clear_simplified() { + _impl_.simplified_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CCLCMsg_ServerStatus::_internal_simplified() const { + return _impl_.simplified_; +} +inline bool CCLCMsg_ServerStatus::simplified() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ServerStatus.simplified) + return _internal_simplified(); +} +inline void CCLCMsg_ServerStatus::_internal_set_simplified(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.simplified_ = value; +} +inline void CCLCMsg_ServerStatus::set_simplified(bool value) { + _internal_set_simplified(value); + // @@protoc_insertion_point(field_set:CCLCMsg_ServerStatus.simplified) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_RequestPause + +// optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; +inline bool CCLCMsg_RequestPause::_internal_has_pause_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_RequestPause::has_pause_type() const { + return _internal_has_pause_type(); +} +inline void CCLCMsg_RequestPause::clear_pause_type() { + _impl_.pause_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline ::RequestPause_t CCLCMsg_RequestPause::_internal_pause_type() const { + return static_cast< ::RequestPause_t >(_impl_.pause_type_); +} +inline ::RequestPause_t CCLCMsg_RequestPause::pause_type() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_type) + return _internal_pause_type(); +} +inline void CCLCMsg_RequestPause::_internal_set_pause_type(::RequestPause_t value) { + assert(::RequestPause_t_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pause_type_ = value; +} +inline void CCLCMsg_RequestPause::set_pause_type(::RequestPause_t value) { + _internal_set_pause_type(value); + // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_type) +} + +// optional int32 pause_group = 2; +inline bool CCLCMsg_RequestPause::_internal_has_pause_group() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_RequestPause::has_pause_group() const { + return _internal_has_pause_group(); +} +inline void CCLCMsg_RequestPause::clear_pause_group() { + _impl_.pause_group_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CCLCMsg_RequestPause::_internal_pause_group() const { + return _impl_.pause_group_; +} +inline int32_t CCLCMsg_RequestPause::pause_group() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_group) + return _internal_pause_group(); +} +inline void CCLCMsg_RequestPause::_internal_set_pause_group(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pause_group_ = value; +} +inline void CCLCMsg_RequestPause::set_pause_group(int32_t value) { + _internal_set_pause_group(value); + // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_group) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_CmdKeyValues + +// optional bytes data = 1; +inline bool CCLCMsg_CmdKeyValues::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_CmdKeyValues::has_data() const { + return _internal_has_data(); +} +inline void CCLCMsg_CmdKeyValues::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_CmdKeyValues::data() const { + // @@protoc_insertion_point(field_get:CCLCMsg_CmdKeyValues.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_CmdKeyValues::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_CmdKeyValues.data) +} +inline std::string* CCLCMsg_CmdKeyValues::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_CmdKeyValues.data) + return _s; +} +inline const std::string& CCLCMsg_CmdKeyValues::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CCLCMsg_CmdKeyValues::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_CmdKeyValues::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_CmdKeyValues::release_data() { + // @@protoc_insertion_point(field_release:CCLCMsg_CmdKeyValues.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_CmdKeyValues::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_CmdKeyValues.data) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_RconServerDetails + +// optional bytes token = 1; +inline bool CCLCMsg_RconServerDetails::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_RconServerDetails::has_token() const { + return _internal_has_token(); +} +inline void CCLCMsg_RconServerDetails::clear_token() { + _impl_.token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_RconServerDetails::token() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RconServerDetails.token) + return _internal_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_RconServerDetails::set_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_RconServerDetails.token) +} +inline std::string* CCLCMsg_RconServerDetails::mutable_token() { + std::string* _s = _internal_mutable_token(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_RconServerDetails.token) + return _s; +} +inline const std::string& CCLCMsg_RconServerDetails::_internal_token() const { + return _impl_.token_.Get(); +} +inline void CCLCMsg_RconServerDetails::_internal_set_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RconServerDetails::_internal_mutable_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_RconServerDetails::release_token() { + // @@protoc_insertion_point(field_release:CCLCMsg_RconServerDetails.token) + if (!_internal_has_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_RconServerDetails::set_allocated_token(std::string* token) { + if (token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.token_.SetAllocated(token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_RconServerDetails.token) +} + +// ------------------------------------------------------------------- + +// CMsgSource2SystemSpecs + +// optional string cpu_id = 1; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_id() const { + return _internal_has_cpu_id(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_id() { + _impl_.cpu_id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2SystemSpecs::cpu_id() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_id) + return _internal_cpu_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_cpu_id(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cpu_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_id) +} +inline std::string* CMsgSource2SystemSpecs::mutable_cpu_id() { + std::string* _s = _internal_mutable_cpu_id(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_id) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_id() const { + return _impl_.cpu_id_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_id(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cpu_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_id() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cpu_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_cpu_id() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_id) + if (!_internal_has_cpu_id()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cpu_id_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_id_.IsDefault()) { + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_cpu_id(std::string* cpu_id) { + if (cpu_id != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cpu_id_.SetAllocated(cpu_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_id_.IsDefault()) { + _impl_.cpu_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_id) +} + +// optional string cpu_brand = 2; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_brand() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_brand() const { + return _internal_has_cpu_brand(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_brand() { + _impl_.cpu_brand_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSource2SystemSpecs::cpu_brand() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_brand) + return _internal_cpu_brand(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_cpu_brand(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cpu_brand_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_brand) +} +inline std::string* CMsgSource2SystemSpecs::mutable_cpu_brand() { + std::string* _s = _internal_mutable_cpu_brand(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_brand) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_brand() const { + return _impl_.cpu_brand_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_brand(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cpu_brand_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_brand() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.cpu_brand_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_cpu_brand() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_brand) + if (!_internal_has_cpu_brand()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.cpu_brand_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_brand_.IsDefault()) { + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_cpu_brand(std::string* cpu_brand) { + if (cpu_brand != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cpu_brand_.SetAllocated(cpu_brand, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cpu_brand_.IsDefault()) { + _impl_.cpu_brand_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_brand) +} + +// optional uint32 cpu_model = 3; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_model() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_model() const { + return _internal_has_cpu_model(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_model() { + _impl_.cpu_model_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_model() const { + return _impl_.cpu_model_; +} +inline uint32_t CMsgSource2SystemSpecs::cpu_model() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_model) + return _internal_cpu_model(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_model(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.cpu_model_ = value; +} +inline void CMsgSource2SystemSpecs::set_cpu_model(uint32_t value) { + _internal_set_cpu_model(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_model) +} + +// optional uint32 cpu_num_physical = 4; +inline bool CMsgSource2SystemSpecs::_internal_has_cpu_num_physical() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_cpu_num_physical() const { + return _internal_has_cpu_num_physical(); +} +inline void CMsgSource2SystemSpecs::clear_cpu_num_physical() { + _impl_.cpu_num_physical_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_num_physical() const { + return _impl_.cpu_num_physical_; +} +inline uint32_t CMsgSource2SystemSpecs::cpu_num_physical() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_num_physical) + return _internal_cpu_num_physical(); +} +inline void CMsgSource2SystemSpecs::_internal_set_cpu_num_physical(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.cpu_num_physical_ = value; +} +inline void CMsgSource2SystemSpecs::set_cpu_num_physical(uint32_t value) { + _internal_set_cpu_num_physical(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_num_physical) +} + +// optional uint32 ram_physical_total_mb = 21; +inline bool CMsgSource2SystemSpecs::_internal_has_ram_physical_total_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_ram_physical_total_mb() const { + return _internal_has_ram_physical_total_mb(); +} +inline void CMsgSource2SystemSpecs::clear_ram_physical_total_mb() { + _impl_.ram_physical_total_mb_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_ram_physical_total_mb() const { + return _impl_.ram_physical_total_mb_; +} +inline uint32_t CMsgSource2SystemSpecs::ram_physical_total_mb() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.ram_physical_total_mb) + return _internal_ram_physical_total_mb(); +} +inline void CMsgSource2SystemSpecs::_internal_set_ram_physical_total_mb(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ram_physical_total_mb_ = value; +} +inline void CMsgSource2SystemSpecs::set_ram_physical_total_mb(uint32_t value) { + _internal_set_ram_physical_total_mb(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.ram_physical_total_mb) +} + +// optional string gpu_rendersystem_dll_name = 41; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_rendersystem_dll_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_rendersystem_dll_name() const { + return _internal_has_gpu_rendersystem_dll_name(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_rendersystem_dll_name() { + _impl_.gpu_rendersystem_dll_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSource2SystemSpecs::gpu_rendersystem_dll_name() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + return _internal_gpu_rendersystem_dll_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gpu_rendersystem_dll_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) +} +inline std::string* CMsgSource2SystemSpecs::mutable_gpu_rendersystem_dll_name() { + std::string* _s = _internal_mutable_gpu_rendersystem_dll_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_rendersystem_dll_name() const { + return _impl_.gpu_rendersystem_dll_name_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_rendersystem_dll_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.gpu_rendersystem_dll_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_rendersystem_dll_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.gpu_rendersystem_dll_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_gpu_rendersystem_dll_name() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) + if (!_internal_has_gpu_rendersystem_dll_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.gpu_rendersystem_dll_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name) { + if (gpu_rendersystem_dll_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.gpu_rendersystem_dll_name_.SetAllocated(gpu_rendersystem_dll_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { + _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) +} + +// optional uint32 gpu_vendor_id = 42; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_vendor_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_vendor_id() const { + return _internal_has_gpu_vendor_id(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_vendor_id() { + _impl_.gpu_vendor_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_vendor_id() const { + return _impl_.gpu_vendor_id_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_vendor_id() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_vendor_id) + return _internal_gpu_vendor_id(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_vendor_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.gpu_vendor_id_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_vendor_id(uint32_t value) { + _internal_set_gpu_vendor_id(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_vendor_id) +} + +// optional string gpu_driver_name = 43; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_name() const { + return _internal_has_gpu_driver_name(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_name() { + _impl_.gpu_driver_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSource2SystemSpecs::gpu_driver_name() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_name) + return _internal_gpu_driver_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2SystemSpecs::set_gpu_driver_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gpu_driver_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_name) +} +inline std::string* CMsgSource2SystemSpecs::mutable_gpu_driver_name() { + std::string* _s = _internal_mutable_gpu_driver_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_driver_name) + return _s; +} +inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_driver_name() const { + return _impl_.gpu_driver_name_.Get(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gpu_driver_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_driver_name() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.gpu_driver_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2SystemSpecs::release_gpu_driver_name() { + // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_driver_name) + if (!_internal_has_gpu_driver_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.gpu_driver_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_driver_name_.IsDefault()) { + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2SystemSpecs::set_allocated_gpu_driver_name(std::string* gpu_driver_name) { + if (gpu_driver_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.gpu_driver_name_.SetAllocated(gpu_driver_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gpu_driver_name_.IsDefault()) { + _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_driver_name) +} + +// optional uint32 gpu_driver_version_high = 44; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_high() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_high() const { + return _internal_has_gpu_driver_version_high(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_high() { + _impl_.gpu_driver_version_high_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_high() const { + return _impl_.gpu_driver_version_high_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_high() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_high) + return _internal_gpu_driver_version_high(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_high(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.gpu_driver_version_high_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_driver_version_high(uint32_t value) { + _internal_set_gpu_driver_version_high(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_high) +} + +// optional uint32 gpu_driver_version_low = 45; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_low() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_low() const { + return _internal_has_gpu_driver_version_low(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_low() { + _impl_.gpu_driver_version_low_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_low() const { + return _impl_.gpu_driver_version_low_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_low() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_low) + return _internal_gpu_driver_version_low(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_low(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.gpu_driver_version_low_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_driver_version_low(uint32_t value) { + _internal_set_gpu_driver_version_low(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_low) +} + +// optional uint32 gpu_dx_support_level = 46; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_dx_support_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_dx_support_level() const { + return _internal_has_gpu_dx_support_level(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_dx_support_level() { + _impl_.gpu_dx_support_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_dx_support_level() const { + return _impl_.gpu_dx_support_level_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_dx_support_level() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_dx_support_level) + return _internal_gpu_dx_support_level(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_dx_support_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.gpu_dx_support_level_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_dx_support_level(uint32_t value) { + _internal_set_gpu_dx_support_level(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_dx_support_level) +} + +// optional uint32 gpu_texture_memory_size_mb = 47; +inline bool CMsgSource2SystemSpecs::_internal_has_gpu_texture_memory_size_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_gpu_texture_memory_size_mb() const { + return _internal_has_gpu_texture_memory_size_mb(); +} +inline void CMsgSource2SystemSpecs::clear_gpu_texture_memory_size_mb() { + _impl_.gpu_texture_memory_size_mb_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_texture_memory_size_mb() const { + return _impl_.gpu_texture_memory_size_mb_; +} +inline uint32_t CMsgSource2SystemSpecs::gpu_texture_memory_size_mb() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) + return _internal_gpu_texture_memory_size_mb(); +} +inline void CMsgSource2SystemSpecs::_internal_set_gpu_texture_memory_size_mb(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.gpu_texture_memory_size_mb_ = value; +} +inline void CMsgSource2SystemSpecs::set_gpu_texture_memory_size_mb(uint32_t value) { + _internal_set_gpu_texture_memory_size_mb(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) +} + +// optional uint32 backbuffer_width = 51; +inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_width() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_backbuffer_width() const { + return _internal_has_backbuffer_width(); +} +inline void CMsgSource2SystemSpecs::clear_backbuffer_width() { + _impl_.backbuffer_width_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_width() const { + return _impl_.backbuffer_width_; +} +inline uint32_t CMsgSource2SystemSpecs::backbuffer_width() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_width) + return _internal_backbuffer_width(); +} +inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_width(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.backbuffer_width_ = value; +} +inline void CMsgSource2SystemSpecs::set_backbuffer_width(uint32_t value) { + _internal_set_backbuffer_width(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_width) +} + +// optional uint32 backbuffer_height = 52; +inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_height() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2SystemSpecs::has_backbuffer_height() const { + return _internal_has_backbuffer_height(); +} +inline void CMsgSource2SystemSpecs::clear_backbuffer_height() { + _impl_.backbuffer_height_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_height() const { + return _impl_.backbuffer_height_; +} +inline uint32_t CMsgSource2SystemSpecs::backbuffer_height() const { + // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_height) + return _internal_backbuffer_height(); +} +inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_height(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.backbuffer_height_ = value; +} +inline void CMsgSource2SystemSpecs::set_backbuffer_height(uint32_t value) { + _internal_set_backbuffer_height(value); + // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_height) +} + +// ------------------------------------------------------------------- + +// CMsgSource2VProfLiteReportItem + +// optional string name = 1; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_name() const { + return _internal_has_name(); +} +inline void CMsgSource2VProfLiteReportItem::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2VProfLiteReportItem::name() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2VProfLiteReportItem::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.name) +} +inline std::string* CMsgSource2VProfLiteReportItem::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReportItem.name) + return _s; +} +inline const std::string& CMsgSource2VProfLiteReportItem::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2VProfLiteReportItem::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2VProfLiteReportItem::release_name() { + // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReportItem.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2VProfLiteReportItem::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgSource2VProfLiteReportItem.name) +} + +// optional uint32 active_samples = 2; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_active_samples() const { + return _internal_has_active_samples(); +} +inline void CMsgSource2VProfLiteReportItem::clear_active_samples() { + _impl_.active_samples_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples() const { + return _impl_.active_samples_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::active_samples() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples) + return _internal_active_samples(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.active_samples_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_active_samples(uint32_t value) { + _internal_set_active_samples(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples) +} + +// optional uint32 active_samples_1secmax = 4; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples_1secmax() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_active_samples_1secmax() const { + return _internal_has_active_samples_1secmax(); +} +inline void CMsgSource2VProfLiteReportItem::clear_active_samples_1secmax() { + _impl_.active_samples_1secmax_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples_1secmax() const { + return _impl_.active_samples_1secmax_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::active_samples_1secmax() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples_1secmax) + return _internal_active_samples_1secmax(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples_1secmax(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.active_samples_1secmax_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_active_samples_1secmax(uint32_t value) { + _internal_set_active_samples_1secmax(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples_1secmax) +} + +// optional uint32 usec_max = 3; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_max() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_max() const { + return _internal_has_usec_max(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_max() { + _impl_.usec_max_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_max() const { + return _impl_.usec_max_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_max() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_max) + return _internal_usec_max(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_max(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.usec_max_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_max(uint32_t value) { + _internal_set_usec_max(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_max) +} + +// optional uint32 usec_avg_active = 11; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_active() const { + return _internal_has_usec_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_active() { + _impl_.usec_avg_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_active() const { + return _impl_.usec_avg_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_active) + return _internal_usec_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.usec_avg_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_avg_active(uint32_t value) { + _internal_set_usec_avg_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_active) +} + +// optional uint32 usec_p50_active = 12; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_active() const { + return _internal_has_usec_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_active() { + _impl_.usec_p50_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_active() const { + return _impl_.usec_p50_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_active) + return _internal_usec_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.usec_p50_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p50_active(uint32_t value) { + _internal_set_usec_p50_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_active) +} + +// optional uint32 usec_p99_active = 13; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_active() const { + return _internal_has_usec_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_active() { + _impl_.usec_p99_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_active() const { + return _impl_.usec_p99_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_active) + return _internal_usec_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.usec_p99_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p99_active(uint32_t value) { + _internal_set_usec_p99_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_active) +} + +// optional uint32 usec_avg_all = 21; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_all() const { + return _internal_has_usec_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_all() { + _impl_.usec_avg_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_all() const { + return _impl_.usec_avg_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_all) + return _internal_usec_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.usec_avg_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_avg_all(uint32_t value) { + _internal_set_usec_avg_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_all) +} + +// optional uint32 usec_p50_all = 22; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_all() const { + return _internal_has_usec_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_all() { + _impl_.usec_p50_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_all() const { + return _impl_.usec_p50_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_all) + return _internal_usec_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.usec_p50_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p50_all(uint32_t value) { + _internal_set_usec_p50_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_all) +} + +// optional uint32 usec_p99_all = 23; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_all() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_all() const { + return _internal_has_usec_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_all() { + _impl_.usec_p99_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_all() const { + return _impl_.usec_p99_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_all) + return _internal_usec_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.usec_p99_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_p99_all(uint32_t value) { + _internal_set_usec_p99_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_all) +} + +// optional uint32 usec_1secmax_avg_active = 31; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_active() const { + return _internal_has_usec_1secmax_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_active() { + _impl_.usec_1secmax_avg_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_active() const { + return _impl_.usec_1secmax_avg_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) + return _internal_usec_1secmax_avg_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.usec_1secmax_avg_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_active(uint32_t value) { + _internal_set_usec_1secmax_avg_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) +} + +// optional uint32 usec_1secmax_p50_active = 32; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_active() const { + return _internal_has_usec_1secmax_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_active() { + _impl_.usec_1secmax_p50_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_active() const { + return _impl_.usec_1secmax_p50_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) + return _internal_usec_1secmax_p50_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.usec_1secmax_p50_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_active(uint32_t value) { + _internal_set_usec_1secmax_p50_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) +} + +// optional uint32 usec_1secmax_p95_active = 33; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_active() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_active() const { + return _internal_has_usec_1secmax_p95_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_active() { + _impl_.usec_1secmax_p95_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_active() const { + return _impl_.usec_1secmax_p95_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) + return _internal_usec_1secmax_p95_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.usec_1secmax_p95_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_active(uint32_t value) { + _internal_set_usec_1secmax_p95_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) +} + +// optional uint32 usec_1secmax_p99_active = 34; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_active() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_active() const { + return _internal_has_usec_1secmax_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_active() { + _impl_.usec_1secmax_p99_active_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_active() const { + return _impl_.usec_1secmax_p99_active_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_active() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) + return _internal_usec_1secmax_p99_active(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_active(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.usec_1secmax_p99_active_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_active(uint32_t value) { + _internal_set_usec_1secmax_p99_active(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) +} + +// optional uint32 usec_1secmax_avg_all = 41; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_all() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_all() const { + return _internal_has_usec_1secmax_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_all() { + _impl_.usec_1secmax_avg_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_all() const { + return _impl_.usec_1secmax_avg_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) + return _internal_usec_1secmax_avg_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.usec_1secmax_avg_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_all(uint32_t value) { + _internal_set_usec_1secmax_avg_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) +} + +// optional uint32 usec_1secmax_p50_all = 42; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_all() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_all() const { + return _internal_has_usec_1secmax_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_all() { + _impl_.usec_1secmax_p50_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_all() const { + return _impl_.usec_1secmax_p50_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) + return _internal_usec_1secmax_p50_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.usec_1secmax_p50_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_all(uint32_t value) { + _internal_set_usec_1secmax_p50_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) +} + +// optional uint32 usec_1secmax_p95_all = 43; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_all() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_all() const { + return _internal_has_usec_1secmax_p95_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_all() { + _impl_.usec_1secmax_p95_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_all() const { + return _impl_.usec_1secmax_p95_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) + return _internal_usec_1secmax_p95_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.usec_1secmax_p95_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_all(uint32_t value) { + _internal_set_usec_1secmax_p95_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) +} + +// optional uint32 usec_1secmax_p99_all = 44; +inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_all() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_all() const { + return _internal_has_usec_1secmax_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_all() { + _impl_.usec_1secmax_p99_all_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_all() const { + return _impl_.usec_1secmax_p99_all_; +} +inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_all() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) + return _internal_usec_1secmax_p99_all(); +} +inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_all(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.usec_1secmax_p99_all_ = value; +} +inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_all(uint32_t value) { + _internal_set_usec_1secmax_p99_all(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) +} + +// ------------------------------------------------------------------- + +// CMsgSource2VProfLiteReport + +// optional .CMsgSource2VProfLiteReportItem total = 1; +inline bool CMsgSource2VProfLiteReport::_internal_has_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.total_ != nullptr); + return value; +} +inline bool CMsgSource2VProfLiteReport::has_total() const { + return _internal_has_total(); +} +inline void CMsgSource2VProfLiteReport::clear_total() { + if (_impl_.total_ != nullptr) _impl_.total_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_total() const { + const ::CMsgSource2VProfLiteReportItem* p = _impl_.total_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReportItem_default_instance_); +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::total() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.total) + return _internal_total(); +} +inline void CMsgSource2VProfLiteReport::unsafe_arena_set_allocated_total( + ::CMsgSource2VProfLiteReportItem* total) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.total_); + } + _impl_.total_ = total; + if (total) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSource2VProfLiteReport.total) +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::release_total() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; + _impl_.total_ = 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 ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::unsafe_arena_release_total() { + // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReport.total) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; + _impl_.total_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_mutable_total() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.total_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(GetArenaForAllocation()); + _impl_.total_ = p; + } + return _impl_.total_; +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_total() { + ::CMsgSource2VProfLiteReportItem* _msg = _internal_mutable_total(); + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.total) + return _msg; +} +inline void CMsgSource2VProfLiteReport::set_allocated_total(::CMsgSource2VProfLiteReportItem* total) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.total_; + } + if (total) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(total); + if (message_arena != submessage_arena) { + total = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, total, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.total_ = total; + // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReport.total) +} + +// repeated .CMsgSource2VProfLiteReportItem items = 2; +inline int CMsgSource2VProfLiteReport::_internal_items_size() const { + return _impl_.items_.size(); +} +inline int CMsgSource2VProfLiteReport::items_size() const { + return _internal_items_size(); +} +inline void CMsgSource2VProfLiteReport::clear_items() { + _impl_.items_.Clear(); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_items(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.items) + return _impl_.items_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* +CMsgSource2VProfLiteReport::mutable_items() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource2VProfLiteReport.items) + return &_impl_.items_; +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_items(int index) const { + return _impl_.items_.Get(index); +} +inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::items(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.items) + return _internal_items(index); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_add_items() { + return _impl_.items_.Add(); +} +inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::add_items() { + ::CMsgSource2VProfLiteReportItem* _add = _internal_add_items(); + // @@protoc_insertion_point(field_add:CMsgSource2VProfLiteReport.items) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& +CMsgSource2VProfLiteReport::items() const { + // @@protoc_insertion_point(field_list:CMsgSource2VProfLiteReport.items) + return _impl_.items_; +} + +// optional uint32 discarded_frames = 3; +inline bool CMsgSource2VProfLiteReport::_internal_has_discarded_frames() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2VProfLiteReport::has_discarded_frames() const { + return _internal_has_discarded_frames(); +} +inline void CMsgSource2VProfLiteReport::clear_discarded_frames() { + _impl_.discarded_frames_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2VProfLiteReport::_internal_discarded_frames() const { + return _impl_.discarded_frames_; +} +inline uint32_t CMsgSource2VProfLiteReport::discarded_frames() const { + // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.discarded_frames) + return _internal_discarded_frames(); +} +inline void CMsgSource2VProfLiteReport::_internal_set_discarded_frames(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.discarded_frames_ = value; +} +inline void CMsgSource2VProfLiteReport::set_discarded_frames(uint32_t value) { + _internal_set_discarded_frames(value); + // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReport.discarded_frames) +} + +// ------------------------------------------------------------------- + +// CMsgSource2NetworkFlowQuality + +// optional uint32 duration = 1; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_duration() const { + return _internal_has_duration(); +} +inline void CMsgSource2NetworkFlowQuality::clear_duration() { + _impl_.duration_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_duration() const { + return _impl_.duration_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::duration() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.duration) + return _internal_duration(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_duration(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_duration(uint32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.duration) +} + +// optional uint64 bytes_total = 5; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total() const { + return _internal_has_bytes_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total() { + _impl_.bytes_total_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total() const { + return _impl_.bytes_total_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total) + return _internal_bytes_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.bytes_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total(uint64_t value) { + _internal_set_bytes_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total) +} + +// optional uint64 bytes_total_reliable = 6; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_reliable() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_reliable() const { + return _internal_has_bytes_total_reliable(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_reliable() { + _impl_.bytes_total_reliable_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_reliable() const { + return _impl_.bytes_total_reliable_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_reliable() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_reliable) + return _internal_bytes_total_reliable(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_reliable(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.bytes_total_reliable_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total_reliable(uint64_t value) { + _internal_set_bytes_total_reliable(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_reliable) +} + +// optional uint64 bytes_total_voice = 7; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_voice() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_voice() const { + return _internal_has_bytes_total_voice(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_voice() { + _impl_.bytes_total_voice_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_voice() const { + return _impl_.bytes_total_voice_; +} +inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_voice() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_voice) + return _internal_bytes_total_voice(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_voice(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.bytes_total_voice_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_total_voice(uint64_t value) { + _internal_set_bytes_total_voice(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_voice) +} + +// optional uint32 bytes_sec_p95 = 10; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p95() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p95() const { + return _internal_has_bytes_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p95() { + _impl_.bytes_sec_p95_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p95() const { + return _impl_.bytes_sec_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p95) + return _internal_bytes_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bytes_sec_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p95(uint32_t value) { + _internal_set_bytes_sec_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p95) +} + +// optional uint32 bytes_sec_p99 = 11; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p99() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p99() const { + return _internal_has_bytes_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p99() { + _impl_.bytes_sec_p99_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p99() const { + return _impl_.bytes_sec_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p99) + return _internal_bytes_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.bytes_sec_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p99(uint32_t value) { + _internal_set_bytes_sec_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p99) +} + +// optional uint32 enginemsgs_total = 20; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_total() const { + return _internal_has_enginemsgs_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_total() { + _impl_.enginemsgs_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_total() const { + return _impl_.enginemsgs_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_total) + return _internal_enginemsgs_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.enginemsgs_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_total(uint32_t value) { + _internal_set_enginemsgs_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_total) +} + +// optional uint32 enginemsgs_sec_p95 = 21; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p95() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p95() const { + return _internal_has_enginemsgs_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p95() { + _impl_.enginemsgs_sec_p95_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p95() const { + return _impl_.enginemsgs_sec_p95_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) + return _internal_enginemsgs_sec_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.enginemsgs_sec_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p95(uint32_t value) { + _internal_set_enginemsgs_sec_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) +} + +// optional uint32 enginemsgs_sec_p99 = 22; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p99() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p99() const { + return _internal_has_enginemsgs_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p99() { + _impl_.enginemsgs_sec_p99_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p99() const { + return _impl_.enginemsgs_sec_p99_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p99() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) + return _internal_enginemsgs_sec_p99(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.enginemsgs_sec_p99_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p99(uint32_t value) { + _internal_set_enginemsgs_sec_p99(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) +} + +// optional uint32 ticks_total = 40; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_total() const { + return _internal_has_ticks_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_total() { + _impl_.ticks_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_total() const { + return _impl_.ticks_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_total) + return _internal_ticks_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.ticks_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_total(uint32_t value) { + _internal_set_ticks_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_total) +} + +// optional uint32 ticks_good = 41; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_good() const { + return _internal_has_ticks_good(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_good() { + _impl_.ticks_good_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good() const { + return _impl_.ticks_good_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good) + return _internal_ticks_good(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.ticks_good_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_good(uint32_t value) { + _internal_set_ticks_good(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good) +} + +// optional uint32 ticks_good_almost_late = 42; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good_almost_late() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_good_almost_late() const { + return _internal_has_ticks_good_almost_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_good_almost_late() { + _impl_.ticks_good_almost_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good_almost_late() const { + return _impl_.ticks_good_almost_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good_almost_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) + return _internal_ticks_good_almost_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good_almost_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.ticks_good_almost_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_good_almost_late(uint32_t value) { + _internal_set_ticks_good_almost_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) +} + +// optional uint32 ticks_fixed_dropped = 43; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_dropped() const { + return _internal_has_ticks_fixed_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_dropped() { + _impl_.ticks_fixed_dropped_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_dropped() const { + return _impl_.ticks_fixed_dropped_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) + return _internal_ticks_fixed_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_dropped(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.ticks_fixed_dropped_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_dropped(uint32_t value) { + _internal_set_ticks_fixed_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) +} + +// optional uint32 ticks_fixed_late = 44; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_late() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_late() const { + return _internal_has_ticks_fixed_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_late() { + _impl_.ticks_fixed_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_late() const { + return _impl_.ticks_fixed_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_late) + return _internal_ticks_fixed_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.ticks_fixed_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_late(uint32_t value) { + _internal_set_ticks_fixed_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_late) +} + +// optional uint32 ticks_bad_dropped = 45; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_dropped() const { + return _internal_has_ticks_bad_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_dropped() { + _impl_.ticks_bad_dropped_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_dropped() const { + return _impl_.ticks_bad_dropped_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) + return _internal_ticks_bad_dropped(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_dropped(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.ticks_bad_dropped_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_dropped(uint32_t value) { + _internal_set_ticks_bad_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) +} + +// optional uint32 ticks_bad_late = 46; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_late() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_late() const { + return _internal_has_ticks_bad_late(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_late() { + _impl_.ticks_bad_late_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_late() const { + return _impl_.ticks_bad_late_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_late() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_late) + return _internal_ticks_bad_late(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_late(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.ticks_bad_late_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_late(uint32_t value) { + _internal_set_ticks_bad_late(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_late) +} + +// optional uint32 ticks_bad_other = 47; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_other() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_other() const { + return _internal_has_ticks_bad_other(); +} +inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_other() { + _impl_.ticks_bad_other_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_other() const { + return _impl_.ticks_bad_other_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_other() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_other) + return _internal_ticks_bad_other(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_other(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.ticks_bad_other_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_other(uint32_t value) { + _internal_set_ticks_bad_other(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_other) +} + +// optional uint32 tick_missrate_samples_total = 50; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_total() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_total() const { + return _internal_has_tick_missrate_samples_total(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_total() { + _impl_.tick_missrate_samples_total_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_total() const { + return _impl_.tick_missrate_samples_total_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_total() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) + return _internal_tick_missrate_samples_total(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.tick_missrate_samples_total_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_total(uint32_t value) { + _internal_set_tick_missrate_samples_total(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) +} + +// optional uint32 tick_missrate_samples_perfect = 51; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfect() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfect() const { + return _internal_has_tick_missrate_samples_perfect(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfect() { + _impl_.tick_missrate_samples_perfect_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfect() const { + return _impl_.tick_missrate_samples_perfect_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfect() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) + return _internal_tick_missrate_samples_perfect(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfect(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.tick_missrate_samples_perfect_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfect(uint32_t value) { + _internal_set_tick_missrate_samples_perfect(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) +} + +// optional uint32 tick_missrate_samples_perfectnet = 52; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfectnet() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfectnet() const { + return _internal_has_tick_missrate_samples_perfectnet(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfectnet() { + _impl_.tick_missrate_samples_perfectnet_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfectnet() const { + return _impl_.tick_missrate_samples_perfectnet_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfectnet() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) + return _internal_tick_missrate_samples_perfectnet(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfectnet(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.tick_missrate_samples_perfectnet_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfectnet(uint32_t value) { + _internal_set_tick_missrate_samples_perfectnet(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) +} + +// optional uint32 tick_missratenet_p75_x10 = 53; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p75_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p75_x10() const { + return _internal_has_tick_missratenet_p75_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p75_x10() { + _impl_.tick_missratenet_p75_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p75_x10() const { + return _impl_.tick_missratenet_p75_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p75_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) + return _internal_tick_missratenet_p75_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p75_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.tick_missratenet_p75_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p75_x10(uint32_t value) { + _internal_set_tick_missratenet_p75_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) +} + +// optional uint32 tick_missratenet_p95_x10 = 54; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p95_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p95_x10() const { + return _internal_has_tick_missratenet_p95_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p95_x10() { + _impl_.tick_missratenet_p95_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p95_x10() const { + return _impl_.tick_missratenet_p95_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p95_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) + return _internal_tick_missratenet_p95_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p95_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.tick_missratenet_p95_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p95_x10(uint32_t value) { + _internal_set_tick_missratenet_p95_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) +} + +// optional uint32 tick_missratenet_p99_x10 = 55; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p99_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p99_x10() const { + return _internal_has_tick_missratenet_p99_x10(); +} +inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p99_x10() { + _impl_.tick_missratenet_p99_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p99_x10() const { + return _impl_.tick_missratenet_p99_x10_; +} +inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p99_x10() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) + return _internal_tick_missratenet_p99_x10(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p99_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.tick_missratenet_p99_x10_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p99_x10(uint32_t value) { + _internal_set_tick_missratenet_p99_x10(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) +} + +// optional sint32 recvmargin_p1 = 61; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p1() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p1() const { + return _internal_has_recvmargin_p1(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p1() { + _impl_.recvmargin_p1_ = 0; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p1() const { + return _impl_.recvmargin_p1_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p1() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p1) + return _internal_recvmargin_p1(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p1(int32_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.recvmargin_p1_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p1(int32_t value) { + _internal_set_recvmargin_p1(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p1) +} + +// optional sint32 recvmargin_p5 = 62; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p5() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p5() const { + return _internal_has_recvmargin_p5(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p5() { + _impl_.recvmargin_p5_ = 0; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p5() const { + return _impl_.recvmargin_p5_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p5() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p5) + return _internal_recvmargin_p5(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p5(int32_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.recvmargin_p5_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p5(int32_t value) { + _internal_set_recvmargin_p5(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p5) +} + +// optional sint32 recvmargin_p25 = 63; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p25() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p25() const { + return _internal_has_recvmargin_p25(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p25() { + _impl_.recvmargin_p25_ = 0; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p25() const { + return _impl_.recvmargin_p25_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p25() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p25) + return _internal_recvmargin_p25(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p25(int32_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.recvmargin_p25_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p25(int32_t value) { + _internal_set_recvmargin_p25(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p25) +} + +// optional sint32 recvmargin_p50 = 64; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p50() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p50() const { + return _internal_has_recvmargin_p50(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p50() { + _impl_.recvmargin_p50_ = 0; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p50() const { + return _impl_.recvmargin_p50_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p50() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p50) + return _internal_recvmargin_p50(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p50(int32_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.recvmargin_p50_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p50(int32_t value) { + _internal_set_recvmargin_p50(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p50) +} + +// optional sint32 recvmargin_p75 = 65; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p75() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p75() const { + return _internal_has_recvmargin_p75(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p75() { + _impl_.recvmargin_p75_ = 0; + _impl_._has_bits_[0] &= ~0x08000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p75() const { + return _impl_.recvmargin_p75_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p75() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p75) + return _internal_recvmargin_p75(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p75(int32_t value) { + _impl_._has_bits_[0] |= 0x08000000u; + _impl_.recvmargin_p75_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p75(int32_t value) { + _internal_set_recvmargin_p75(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p75) +} + +// optional sint32 recvmargin_p95 = 66; +inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p95() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + return value; +} +inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p95() const { + return _internal_has_recvmargin_p95(); +} +inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p95() { + _impl_.recvmargin_p95_ = 0; + _impl_._has_bits_[0] &= ~0x10000000u; +} +inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p95() const { + return _impl_.recvmargin_p95_; +} +inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p95() const { + // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p95) + return _internal_recvmargin_p95(); +} +inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p95(int32_t value) { + _impl_._has_bits_[0] |= 0x10000000u; + _impl_.recvmargin_p95_ = value; +} +inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p95(int32_t value) { + _internal_set_recvmargin_p95(value); + // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p95) +} + +// ------------------------------------------------------------------- + +// CMsgSource2PerfIntervalSample_Tag + +// optional string tag = 1; +inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample_Tag::has_tag() const { + return _internal_has_tag(); +} +inline void CMsgSource2PerfIntervalSample_Tag::clear_tag() { + _impl_.tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSource2PerfIntervalSample_Tag::tag() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.tag) + return _internal_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSource2PerfIntervalSample_Tag::set_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.tag) +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::mutable_tag() { + std::string* _s = _internal_mutable_tag(); + // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.Tag.tag) + return _s; +} +inline const std::string& CMsgSource2PerfIntervalSample_Tag::_internal_tag() const { + return _impl_.tag_.Get(); +} +inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::_internal_mutable_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSource2PerfIntervalSample_Tag::release_tag() { + // @@protoc_insertion_point(field_release:CMsgSource2PerfIntervalSample.Tag.tag) + if (!_internal_has_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSource2PerfIntervalSample_Tag::set_allocated_tag(std::string* tag) { + if (tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSource2PerfIntervalSample.Tag.tag) +} + +// optional uint32 max_value = 2; +inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_max_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample_Tag::has_max_value() const { + return _internal_has_max_value(); +} +inline void CMsgSource2PerfIntervalSample_Tag::clear_max_value() { + _impl_.max_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSource2PerfIntervalSample_Tag::_internal_max_value() const { + return _impl_.max_value_; +} +inline uint32_t CMsgSource2PerfIntervalSample_Tag::max_value() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.max_value) + return _internal_max_value(); +} +inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_max_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.max_value_ = value; +} +inline void CMsgSource2PerfIntervalSample_Tag::set_max_value(uint32_t value) { + _internal_set_max_value(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.max_value) +} + +// ------------------------------------------------------------------- + +// CMsgSource2PerfIntervalSample + +// optional float frame_time_max_ms = 1; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_max_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_max_ms() const { + return _internal_has_frame_time_max_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_max_ms() { + _impl_.frame_time_max_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_max_ms() const { + return _impl_.frame_time_max_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_max_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_max_ms) + return _internal_frame_time_max_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_max_ms(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.frame_time_max_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_max_ms(float value) { + _internal_set_frame_time_max_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_max_ms) +} + +// optional float frame_time_avg_ms = 2; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_avg_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_avg_ms() const { + return _internal_has_frame_time_avg_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_avg_ms() { + _impl_.frame_time_avg_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_avg_ms() const { + return _impl_.frame_time_avg_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_avg_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_avg_ms) + return _internal_frame_time_avg_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_avg_ms(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.frame_time_avg_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_avg_ms(float value) { + _internal_set_frame_time_avg_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_avg_ms) +} + +// optional float frame_time_min_ms = 3; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_min_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_min_ms() const { + return _internal_has_frame_time_min_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_min_ms() { + _impl_.frame_time_min_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_min_ms() const { + return _impl_.frame_time_min_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_min_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_min_ms) + return _internal_frame_time_min_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_min_ms(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frame_time_min_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_min_ms(float value) { + _internal_set_frame_time_min_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_min_ms) +} + +// optional int32 frame_count = 4; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_count() const { + return _internal_has_frame_count(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_count() { + _impl_.frame_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgSource2PerfIntervalSample::_internal_frame_count() const { + return _impl_.frame_count_; +} +inline int32_t CMsgSource2PerfIntervalSample::frame_count() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_count) + return _internal_frame_count(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.frame_count_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_count(int32_t value) { + _internal_set_frame_count(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_count) +} + +// optional float frame_time_total_ms = 5; +inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_total_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSource2PerfIntervalSample::has_frame_time_total_ms() const { + return _internal_has_frame_time_total_ms(); +} +inline void CMsgSource2PerfIntervalSample::clear_frame_time_total_ms() { + _impl_.frame_time_total_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgSource2PerfIntervalSample::_internal_frame_time_total_ms() const { + return _impl_.frame_time_total_ms_; +} +inline float CMsgSource2PerfIntervalSample::frame_time_total_ms() const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_total_ms) + return _internal_frame_time_total_ms(); +} +inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_total_ms(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.frame_time_total_ms_ = value; +} +inline void CMsgSource2PerfIntervalSample::set_frame_time_total_ms(float value) { + _internal_set_frame_time_total_ms(value); + // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_total_ms) +} + +// repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; +inline int CMsgSource2PerfIntervalSample::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int CMsgSource2PerfIntervalSample::tags_size() const { + return _internal_tags_size(); +} +inline void CMsgSource2PerfIntervalSample::clear_tags() { + _impl_.tags_.Clear(); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.tags) + return _impl_.tags_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* +CMsgSource2PerfIntervalSample::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:CMsgSource2PerfIntervalSample.tags) + return &_impl_.tags_; +} +inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::tags(int index) const { + // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.tags) + return _internal_tags(index); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::add_tags() { + ::CMsgSource2PerfIntervalSample_Tag* _add = _internal_add_tags(); + // @@protoc_insertion_point(field_add:CMsgSource2PerfIntervalSample.tags) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& +CMsgSource2PerfIntervalSample::tags() const { + // @@protoc_insertion_point(field_list:CMsgSource2PerfIntervalSample.tags) + return _impl_.tags_; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_Diagnostic + +// optional .CMsgSource2SystemSpecs system_specs = 1; +inline bool CCLCMsg_Diagnostic::_internal_has_system_specs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); + return value; +} +inline bool CCLCMsg_Diagnostic::has_system_specs() const { + return _internal_has_system_specs(); +} +inline void CCLCMsg_Diagnostic::clear_system_specs() { + if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSource2SystemSpecs& CCLCMsg_Diagnostic::_internal_system_specs() const { + const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2SystemSpecs_default_instance_); +} +inline const ::CMsgSource2SystemSpecs& CCLCMsg_Diagnostic::system_specs() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.system_specs) + return _internal_system_specs(); +} +inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); + } + _impl_.system_specs_ = system_specs; + if (system_specs) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.system_specs) +} +inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::release_system_specs() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = 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 ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::unsafe_arena_release_system_specs() { + // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.system_specs) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = nullptr; + return temp; +} +inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::_internal_mutable_system_specs() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.system_specs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); + _impl_.system_specs_ = p; + } + return _impl_.system_specs_; +} +inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::mutable_system_specs() { + ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.system_specs) + return _msg; +} +inline void CCLCMsg_Diagnostic::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.system_specs_; + } + if (system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); + if (message_arena != submessage_arena) { + system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, system_specs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.system_specs_ = system_specs; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.system_specs) +} + +// optional .CMsgSource2VProfLiteReport vprof_report = 2; +inline bool CCLCMsg_Diagnostic::_internal_has_vprof_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.vprof_report_ != nullptr); + return value; +} +inline bool CCLCMsg_Diagnostic::has_vprof_report() const { + return _internal_has_vprof_report(); +} +inline void CCLCMsg_Diagnostic::clear_vprof_report() { + if (_impl_.vprof_report_ != nullptr) _impl_.vprof_report_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSource2VProfLiteReport& CCLCMsg_Diagnostic::_internal_vprof_report() const { + const ::CMsgSource2VProfLiteReport* p = _impl_.vprof_report_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReport_default_instance_); +} +inline const ::CMsgSource2VProfLiteReport& CCLCMsg_Diagnostic::vprof_report() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.vprof_report) + return _internal_vprof_report(); +} +inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_vprof_report( + ::CMsgSource2VProfLiteReport* vprof_report) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vprof_report_); + } + _impl_.vprof_report_ = vprof_report; + if (vprof_report) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.vprof_report) +} +inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::release_vprof_report() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.vprof_report_; + _impl_.vprof_report_ = 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 ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::unsafe_arena_release_vprof_report() { + // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.vprof_report) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.vprof_report_; + _impl_.vprof_report_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::_internal_mutable_vprof_report() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.vprof_report_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); + _impl_.vprof_report_ = p; + } + return _impl_.vprof_report_; +} +inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::mutable_vprof_report() { + ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_vprof_report(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.vprof_report) + return _msg; +} +inline void CCLCMsg_Diagnostic::set_allocated_vprof_report(::CMsgSource2VProfLiteReport* vprof_report) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.vprof_report_; + } + if (vprof_report) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vprof_report); + if (message_arena != submessage_arena) { + vprof_report = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, vprof_report, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.vprof_report_ = vprof_report; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.vprof_report) +} + +// optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; +inline bool CCLCMsg_Diagnostic::_internal_has_downstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); + return value; +} +inline bool CCLCMsg_Diagnostic::has_downstream_flow() const { + return _internal_has_downstream_flow(); +} +inline void CCLCMsg_Diagnostic::clear_downstream_flow() { + if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_downstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::downstream_flow() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.downstream_flow) + return _internal_downstream_flow(); +} +inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); + } + _impl_.downstream_flow_ = downstream_flow; + if (downstream_flow) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.downstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::release_downstream_flow() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = 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 ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::unsafe_arena_release_downstream_flow() { + // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.downstream_flow) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::_internal_mutable_downstream_flow() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.downstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.downstream_flow_ = p; + } + return _impl_.downstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_downstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.downstream_flow) + return _msg; +} +inline void CCLCMsg_Diagnostic::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.downstream_flow_; + } + if (downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); + if (message_arena != submessage_arena) { + downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, downstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.downstream_flow_ = downstream_flow; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.downstream_flow) +} + +// optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; +inline bool CCLCMsg_Diagnostic::_internal_has_upstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); + return value; +} +inline bool CCLCMsg_Diagnostic::has_upstream_flow() const { + return _internal_has_upstream_flow(); +} +inline void CCLCMsg_Diagnostic::clear_upstream_flow() { + if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_upstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::upstream_flow() const { + // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.upstream_flow) + return _internal_upstream_flow(); +} +inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); + } + _impl_.upstream_flow_ = upstream_flow; + if (upstream_flow) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.upstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::release_upstream_flow() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = 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 ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::unsafe_arena_release_upstream_flow() { + // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.upstream_flow) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::_internal_mutable_upstream_flow() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.upstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.upstream_flow_ = p; + } + return _impl_.upstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_upstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.upstream_flow) + return _msg; +} +inline void CCLCMsg_Diagnostic::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.upstream_flow_; + } + if (upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); + if (message_arena != submessage_arena) { + upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, upstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.upstream_flow_ = upstream_flow; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.upstream_flow) +} + +// repeated .CMsgSource2PerfIntervalSample perf_samples = 5; +inline int CCLCMsg_Diagnostic::_internal_perf_samples_size() const { + return _impl_.perf_samples_.size(); +} +inline int CCLCMsg_Diagnostic::perf_samples_size() const { + return _internal_perf_samples_size(); +} +inline void CCLCMsg_Diagnostic::clear_perf_samples() { + _impl_.perf_samples_.Clear(); +} +inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::mutable_perf_samples(int index) { + // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.perf_samples) + return _impl_.perf_samples_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* +CCLCMsg_Diagnostic::mutable_perf_samples() { + // @@protoc_insertion_point(field_mutable_list:CCLCMsg_Diagnostic.perf_samples) + return &_impl_.perf_samples_; +} +inline const ::CMsgSource2PerfIntervalSample& CCLCMsg_Diagnostic::_internal_perf_samples(int index) const { + return _impl_.perf_samples_.Get(index); +} +inline const ::CMsgSource2PerfIntervalSample& CCLCMsg_Diagnostic::perf_samples(int index) const { + // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.perf_samples) + return _internal_perf_samples(index); +} +inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::_internal_add_perf_samples() { + return _impl_.perf_samples_.Add(); +} +inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::add_perf_samples() { + ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); + // @@protoc_insertion_point(field_add:CCLCMsg_Diagnostic.perf_samples) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& +CCLCMsg_Diagnostic::perf_samples() const { + // @@protoc_insertion_point(field_list:CCLCMsg_Diagnostic.perf_samples) + return _impl_.perf_samples_; +} + +// ------------------------------------------------------------------- + +// CSource2Metrics_MatchPerfSummary_Notification_Client + +// optional .CMsgSource2SystemSpecs system_specs = 1; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_system_specs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_system_specs() const { + return _internal_has_system_specs(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_system_specs() { + if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_system_specs() const { + const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2SystemSpecs_default_instance_); +} +inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::system_specs() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + return _internal_system_specs(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_system_specs( + ::CMsgSource2SystemSpecs* system_specs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); + } + _impl_.system_specs_ = system_specs; + if (system_specs) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::release_system_specs() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = 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 ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_system_specs() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; + _impl_.system_specs_ = nullptr; + return temp; +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_system_specs() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.system_specs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); + _impl_.system_specs_ = p; + } + return _impl_.system_specs_; +} +inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_system_specs() { + ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.system_specs_; + } + if (system_specs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); + if (message_arena != submessage_arena) { + system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, system_specs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.system_specs_ = system_specs; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) +} + +// optional .CMsgSource2VProfLiteReport profile = 2; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_profile() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.profile_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_profile() const { + return _internal_has_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_profile() { + if (_impl_.profile_ != nullptr) _impl_.profile_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_profile() const { + const ::CMsgSource2VProfLiteReport* p = _impl_.profile_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReport_default_instance_); +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::profile() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + return _internal_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_profile( + ::CMsgSource2VProfLiteReport* profile) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.profile_); + } + _impl_.profile_ = profile; + if (profile) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::release_profile() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; + _impl_.profile_ = 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 ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_profile() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; + _impl_.profile_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_profile() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.profile_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); + _impl_.profile_ = p; + } + return _impl_.profile_; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_profile() { + ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_profile(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_profile(::CMsgSource2VProfLiteReport* profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.profile_; + } + if (profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(profile); + if (message_arena != submessage_arena) { + profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, profile, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.profile_ = profile; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) +} + +// optional uint32 build_id = 3; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_build_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_build_id() const { + return _internal_has_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_build_id() { + _impl_.build_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_build_id() const { + return _impl_.build_id_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::build_id() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) + return _internal_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_build_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.build_id_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_build_id(uint32_t value) { + _internal_set_build_id(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) +} + +// optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_downstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_downstream_flow() const { + return _internal_has_downstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_downstream_flow() { + if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_downstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::downstream_flow() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + return _internal_downstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_downstream_flow( + ::CMsgSource2NetworkFlowQuality* downstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); + } + _impl_.downstream_flow_ = downstream_flow; + if (downstream_flow) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_downstream_flow() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = 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 ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_downstream_flow() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; + _impl_.downstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_downstream_flow() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.downstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.downstream_flow_ = p; + } + return _impl_.downstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_downstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.downstream_flow_; + } + if (downstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); + if (message_arena != submessage_arena) { + downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, downstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.downstream_flow_ = downstream_flow; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) +} + +// optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_upstream_flow() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_upstream_flow() const { + return _internal_has_upstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_upstream_flow() { + if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_upstream_flow() const { + const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2NetworkFlowQuality_default_instance_); +} +inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::upstream_flow() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + return _internal_upstream_flow(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_upstream_flow( + ::CMsgSource2NetworkFlowQuality* upstream_flow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); + } + _impl_.upstream_flow_ = upstream_flow; + if (upstream_flow) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_upstream_flow() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = 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 ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_upstream_flow() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; + _impl_.upstream_flow_ = nullptr; + return temp; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_upstream_flow() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.upstream_flow_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); + _impl_.upstream_flow_ = p; + } + return _impl_.upstream_flow_; +} +inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_upstream_flow() { + ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.upstream_flow_; + } + if (upstream_flow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); + if (message_arena != submessage_arena) { + upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, upstream_flow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.upstream_flow_ = upstream_flow; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) +} + +// optional fixed64 steamid = 10; +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_steamid() const { + return _internal_has_steamid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::steamid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) + return _internal_steamid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.steamid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) +} + +// repeated .CMsgSource2PerfIntervalSample perf_samples = 11; +inline int CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples_size() const { + return _impl_.perf_samples_.size(); +} +inline int CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples_size() const { + return _internal_perf_samples_size(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_perf_samples() { + _impl_.perf_samples_.Clear(); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples(int index) { + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _impl_.perf_samples_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* +CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples() { + // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return &_impl_.perf_samples_; +} +inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples(int index) const { + return _impl_.perf_samples_.Get(index); +} +inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples(int index) const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _internal_perf_samples(index); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_add_perf_samples() { + return _impl_.perf_samples_.Add(); +} +inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::add_perf_samples() { + ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); + // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& +CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples() const { + // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) + return _impl_.perf_samples_; +} + +// ------------------------------------------------------------------- + +// CSource2Metrics_MatchPerfSummary_Notification + +// optional uint32 appid = 1; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_appid() const { + return _internal_has_appid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::appid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.appid) + return _internal_appid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.appid) +} + +// optional string game_mode = 2; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_game_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_game_mode() const { + return _internal_has_game_mode(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_game_mode() { + _impl_.game_mode_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::game_mode() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + return _internal_game_mode(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSource2Metrics_MatchPerfSummary_Notification::set_game_mode(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.game_mode) +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_game_mode() { + std::string* _s = _internal_mutable_game_mode(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + return _s; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_game_mode() const { + return _impl_.game_mode_.Get(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_game_mode(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_mode_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_game_mode() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_mode_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_game_mode() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.game_mode) + if (!_internal_has_game_mode()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_mode_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_game_mode(std::string* game_mode) { + if (game_mode != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_mode_.IsDefault()) { + _impl_.game_mode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.game_mode) +} + +// optional uint32 server_build_id = 3; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_build_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_build_id() const { + return _internal_has_server_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_build_id() { + _impl_.server_build_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_build_id() const { + return _impl_.server_build_id_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_build_id() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) + return _internal_server_build_id(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_build_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_build_id_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_build_id(uint32_t value) { + _internal_set_server_build_id(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) +} + +// optional fixed32 server_popid = 4; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_popid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_popid() const { + return _internal_has_server_popid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_popid() { + _impl_.server_popid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_popid() const { + return _impl_.server_popid_; +} +inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_popid() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_popid) + return _internal_server_popid(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_popid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.server_popid_ = value; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_popid(uint32_t value) { + _internal_set_server_popid(value); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_popid) +} + +// optional .CMsgSource2VProfLiteReport server_profile = 10; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_profile() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.server_profile_ != nullptr); + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_profile() const { + return _internal_has_server_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_profile() { + if (_impl_.server_profile_ != nullptr) _impl_.server_profile_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::_internal_server_profile() const { + const ::CMsgSource2VProfLiteReport* p = _impl_.server_profile_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSource2VProfLiteReport_default_instance_); +} +inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::server_profile() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + return _internal_server_profile(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_set_allocated_server_profile( + ::CMsgSource2VProfLiteReport* server_profile) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_profile_); + } + _impl_.server_profile_ = server_profile; + if (server_profile) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::release_server_profile() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; + _impl_.server_profile_ = 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 ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_release_server_profile() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; + _impl_.server_profile_ = nullptr; + return temp; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_server_profile() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.server_profile_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); + _impl_.server_profile_ = p; + } + return _impl_.server_profile_; +} +inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::mutable_server_profile() { + ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_server_profile(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.server_profile) + return _msg; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.server_profile_; + } + if (server_profile) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_profile); + if (message_arena != submessage_arena) { + server_profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, server_profile, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.server_profile_ = server_profile; + // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) +} + +// repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; +inline int CSource2Metrics_MatchPerfSummary_Notification::_internal_clients_size() const { + return _impl_.clients_.size(); +} +inline int CSource2Metrics_MatchPerfSummary_Notification::clients_size() const { + return _internal_clients_size(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_clients() { + _impl_.clients_.Clear(); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::mutable_clients(int index) { + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _impl_.clients_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* +CSource2Metrics_MatchPerfSummary_Notification::mutable_clients() { + // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.clients) + return &_impl_.clients_; +} +inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::_internal_clients(int index) const { + return _impl_.clients_.Get(index); +} +inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::clients(int index) const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _internal_clients(index); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::_internal_add_clients() { + return _impl_.clients_.Add(); +} +inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::add_clients() { + ::CSource2Metrics_MatchPerfSummary_Notification_Client* _add = _internal_add_clients(); + // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& +CSource2Metrics_MatchPerfSummary_Notification::clients() const { + // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.clients) + return _impl_.clients_; +} + +// optional string map = 20; +inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSource2Metrics_MatchPerfSummary_Notification::has_map() const { + return _internal_has_map(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::clear_map() { + _impl_.map_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::map() const { + // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSource2Metrics_MatchPerfSummary_Notification::set_map(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.map) +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.map) + return _s; +} +inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_map() const { + return _impl_.map_.Get(); +} +inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_map(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_map() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_map() { + // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.map) + if (!_internal_has_map()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.map_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_map(std::string* map) { + if (map != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _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:CSource2Metrics_MatchPerfSummary_Notification.map) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ServerInfo + +// optional int32 protocol = 1; +inline bool CSVCMsg_ServerInfo::_internal_has_protocol() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_protocol() const { + return _internal_has_protocol(); +} +inline void CSVCMsg_ServerInfo::clear_protocol() { + _impl_.protocol_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_protocol() const { + return _impl_.protocol_; +} +inline int32_t CSVCMsg_ServerInfo::protocol() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.protocol) + return _internal_protocol(); +} +inline void CSVCMsg_ServerInfo::_internal_set_protocol(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.protocol_ = value; +} +inline void CSVCMsg_ServerInfo::set_protocol(int32_t value) { + _internal_set_protocol(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.protocol) +} + +// optional int32 server_count = 2; +inline bool CSVCMsg_ServerInfo::_internal_has_server_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_server_count() const { + return _internal_has_server_count(); +} +inline void CSVCMsg_ServerInfo::clear_server_count() { + _impl_.server_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_server_count() const { + return _impl_.server_count_; +} +inline int32_t CSVCMsg_ServerInfo::server_count() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.server_count) + return _internal_server_count(); +} +inline void CSVCMsg_ServerInfo::_internal_set_server_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.server_count_ = value; +} +inline void CSVCMsg_ServerInfo::set_server_count(int32_t value) { + _internal_set_server_count(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.server_count) +} + +// optional bool is_dedicated = 3; +inline bool CSVCMsg_ServerInfo::_internal_has_is_dedicated() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_is_dedicated() const { + return _internal_has_is_dedicated(); +} +inline void CSVCMsg_ServerInfo::clear_is_dedicated() { + _impl_.is_dedicated_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CSVCMsg_ServerInfo::_internal_is_dedicated() const { + return _impl_.is_dedicated_; +} +inline bool CSVCMsg_ServerInfo::is_dedicated() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.is_dedicated) + return _internal_is_dedicated(); +} +inline void CSVCMsg_ServerInfo::_internal_set_is_dedicated(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.is_dedicated_ = value; +} +inline void CSVCMsg_ServerInfo::set_is_dedicated(bool value) { + _internal_set_is_dedicated(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.is_dedicated) +} + +// optional bool is_hltv = 4; +inline bool CSVCMsg_ServerInfo::_internal_has_is_hltv() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_is_hltv() const { + return _internal_has_is_hltv(); +} +inline void CSVCMsg_ServerInfo::clear_is_hltv() { + _impl_.is_hltv_ = false; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline bool CSVCMsg_ServerInfo::_internal_is_hltv() const { + return _impl_.is_hltv_; +} +inline bool CSVCMsg_ServerInfo::is_hltv() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.is_hltv) + return _internal_is_hltv(); +} +inline void CSVCMsg_ServerInfo::_internal_set_is_hltv(bool value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.is_hltv_ = value; +} +inline void CSVCMsg_ServerInfo::set_is_hltv(bool value) { + _internal_set_is_hltv(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.is_hltv) +} + +// optional int32 c_os = 6; +inline bool CSVCMsg_ServerInfo::_internal_has_c_os() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_c_os() const { + return _internal_has_c_os(); +} +inline void CSVCMsg_ServerInfo::clear_c_os() { + _impl_.c_os_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_c_os() const { + return _impl_.c_os_; +} +inline int32_t CSVCMsg_ServerInfo::c_os() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.c_os) + return _internal_c_os(); +} +inline void CSVCMsg_ServerInfo::_internal_set_c_os(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.c_os_ = value; +} +inline void CSVCMsg_ServerInfo::set_c_os(int32_t value) { + _internal_set_c_os(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.c_os) +} + +// optional int32 max_clients = 10; +inline bool CSVCMsg_ServerInfo::_internal_has_max_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_max_clients() const { + return _internal_has_max_clients(); +} +inline void CSVCMsg_ServerInfo::clear_max_clients() { + _impl_.max_clients_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_max_clients() const { + return _impl_.max_clients_; +} +inline int32_t CSVCMsg_ServerInfo::max_clients() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.max_clients) + return _internal_max_clients(); +} +inline void CSVCMsg_ServerInfo::_internal_set_max_clients(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.max_clients_ = value; +} +inline void CSVCMsg_ServerInfo::set_max_clients(int32_t value) { + _internal_set_max_clients(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.max_clients) +} + +// optional int32 max_classes = 11; +inline bool CSVCMsg_ServerInfo::_internal_has_max_classes() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_max_classes() const { + return _internal_has_max_classes(); +} +inline void CSVCMsg_ServerInfo::clear_max_classes() { + _impl_.max_classes_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_max_classes() const { + return _impl_.max_classes_; +} +inline int32_t CSVCMsg_ServerInfo::max_classes() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.max_classes) + return _internal_max_classes(); +} +inline void CSVCMsg_ServerInfo::_internal_set_max_classes(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.max_classes_ = value; +} +inline void CSVCMsg_ServerInfo::set_max_classes(int32_t value) { + _internal_set_max_classes(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.max_classes) +} + +// optional int32 player_slot = 12 [default = -1]; +inline bool CSVCMsg_ServerInfo::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CSVCMsg_ServerInfo::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CSVCMsg_ServerInfo::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CSVCMsg_ServerInfo::player_slot() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.player_slot) + return _internal_player_slot(); +} +inline void CSVCMsg_ServerInfo::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.player_slot_ = value; +} +inline void CSVCMsg_ServerInfo::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.player_slot) +} + +// optional float tick_interval = 13; +inline bool CSVCMsg_ServerInfo::_internal_has_tick_interval() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_tick_interval() const { + return _internal_has_tick_interval(); +} +inline void CSVCMsg_ServerInfo::clear_tick_interval() { + _impl_.tick_interval_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline float CSVCMsg_ServerInfo::_internal_tick_interval() const { + return _impl_.tick_interval_; +} +inline float CSVCMsg_ServerInfo::tick_interval() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.tick_interval) + return _internal_tick_interval(); +} +inline void CSVCMsg_ServerInfo::_internal_set_tick_interval(float value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.tick_interval_ = value; +} +inline void CSVCMsg_ServerInfo::set_tick_interval(float value) { + _internal_set_tick_interval(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.tick_interval) +} + +// optional string game_dir = 14; +inline bool CSVCMsg_ServerInfo::_internal_has_game_dir() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_game_dir() const { + return _internal_has_game_dir(); +} +inline void CSVCMsg_ServerInfo::clear_game_dir() { + _impl_.game_dir_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_ServerInfo::game_dir() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_dir) + return _internal_game_dir(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_game_dir(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_dir_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.game_dir) +} +inline std::string* CSVCMsg_ServerInfo::mutable_game_dir() { + std::string* _s = _internal_mutable_game_dir(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_dir) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_game_dir() const { + return _impl_.game_dir_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_game_dir(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.game_dir_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_game_dir() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.game_dir_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_game_dir() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_dir) + if (!_internal_has_game_dir()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.game_dir_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_dir_.IsDefault()) { + _impl_.game_dir_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_game_dir(std::string* game_dir) { + if (game_dir != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.game_dir_.SetAllocated(game_dir, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_dir_.IsDefault()) { + _impl_.game_dir_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_dir) +} + +// optional string map_name = 15; +inline bool CSVCMsg_ServerInfo::_internal_has_map_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_map_name() const { + return _internal_has_map_name(); +} +inline void CSVCMsg_ServerInfo::clear_map_name() { + _impl_.map_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_ServerInfo::map_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.map_name) + return _internal_map_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_map_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.map_name) +} +inline std::string* CSVCMsg_ServerInfo::mutable_map_name() { + std::string* _s = _internal_mutable_map_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.map_name) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_map_name() const { + return _impl_.map_name_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_map_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.map_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_map_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.map_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_map_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.map_name) + if (!_internal_has_map_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.map_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_map_name(std::string* map_name) { + if (map_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.map_name) +} + +// optional string sky_name = 16; +inline bool CSVCMsg_ServerInfo::_internal_has_sky_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_sky_name() const { + return _internal_has_sky_name(); +} +inline void CSVCMsg_ServerInfo::clear_sky_name() { + _impl_.sky_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CSVCMsg_ServerInfo::sky_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.sky_name) + return _internal_sky_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_sky_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sky_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.sky_name) +} +inline std::string* CSVCMsg_ServerInfo::mutable_sky_name() { + std::string* _s = _internal_mutable_sky_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.sky_name) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_sky_name() const { + return _impl_.sky_name_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_sky_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sky_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_sky_name() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.sky_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_sky_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.sky_name) + if (!_internal_has_sky_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.sky_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sky_name_.IsDefault()) { + _impl_.sky_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_sky_name(std::string* sky_name) { + if (sky_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.sky_name_.SetAllocated(sky_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sky_name_.IsDefault()) { + _impl_.sky_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.sky_name) +} + +// optional string host_name = 17; +inline bool CSVCMsg_ServerInfo::_internal_has_host_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_host_name() const { + return _internal_has_host_name(); +} +inline void CSVCMsg_ServerInfo::clear_host_name() { + _impl_.host_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CSVCMsg_ServerInfo::host_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.host_name) + return _internal_host_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_host_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.host_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.host_name) +} +inline std::string* CSVCMsg_ServerInfo::mutable_host_name() { + std::string* _s = _internal_mutable_host_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.host_name) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_host_name() const { + return _impl_.host_name_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_host_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.host_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_host_name() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.host_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_host_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.host_name) + if (!_internal_has_host_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.host_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.host_name_.IsDefault()) { + _impl_.host_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_host_name(std::string* host_name) { + if (host_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.host_name_.SetAllocated(host_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.host_name_.IsDefault()) { + _impl_.host_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.host_name) +} + +// optional string addon_name = 18; +inline bool CSVCMsg_ServerInfo::_internal_has_addon_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_addon_name() const { + return _internal_has_addon_name(); +} +inline void CSVCMsg_ServerInfo::clear_addon_name() { + _impl_.addon_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CSVCMsg_ServerInfo::addon_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.addon_name) + return _internal_addon_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_addon_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.addon_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.addon_name) +} +inline std::string* CSVCMsg_ServerInfo::mutable_addon_name() { + std::string* _s = _internal_mutable_addon_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.addon_name) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_addon_name() const { + return _impl_.addon_name_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_addon_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.addon_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_addon_name() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.addon_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_addon_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.addon_name) + if (!_internal_has_addon_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.addon_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addon_name_.IsDefault()) { + _impl_.addon_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_addon_name(std::string* addon_name) { + if (addon_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.addon_name_.SetAllocated(addon_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addon_name_.IsDefault()) { + _impl_.addon_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.addon_name) +} + +// optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; +inline bool CSVCMsg_ServerInfo::_internal_has_game_session_config() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.game_session_config_ != nullptr); + return value; +} +inline bool CSVCMsg_ServerInfo::has_game_session_config() const { + return _internal_has_game_session_config(); +} +inline const ::CSVCMsg_GameSessionConfiguration& CSVCMsg_ServerInfo::_internal_game_session_config() const { + const ::CSVCMsg_GameSessionConfiguration* p = _impl_.game_session_config_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSVCMsg_GameSessionConfiguration_default_instance_); +} +inline const ::CSVCMsg_GameSessionConfiguration& CSVCMsg_ServerInfo::game_session_config() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_config) + return _internal_game_session_config(); +} +inline void CSVCMsg_ServerInfo::unsafe_arena_set_allocated_game_session_config( + ::CSVCMsg_GameSessionConfiguration* game_session_config) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_session_config_); + } + _impl_.game_session_config_ = game_session_config; + if (game_session_config) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_ServerInfo.game_session_config) +} +inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::release_game_session_config() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CSVCMsg_GameSessionConfiguration* temp = _impl_.game_session_config_; + _impl_.game_session_config_ = 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 ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::unsafe_arena_release_game_session_config() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_session_config) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CSVCMsg_GameSessionConfiguration* temp = _impl_.game_session_config_; + _impl_.game_session_config_ = nullptr; + return temp; +} +inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::_internal_mutable_game_session_config() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.game_session_config_ == nullptr) { + auto* p = CreateMaybeMessage<::CSVCMsg_GameSessionConfiguration>(GetArenaForAllocation()); + _impl_.game_session_config_ = p; + } + return _impl_.game_session_config_; +} +inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::mutable_game_session_config() { + ::CSVCMsg_GameSessionConfiguration* _msg = _internal_mutable_game_session_config(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_config) + return _msg; +} +inline void CSVCMsg_ServerInfo::set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_session_config_); + } + if (game_session_config) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(game_session_config)); + if (message_arena != submessage_arena) { + game_session_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, game_session_config, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.game_session_config_ = game_session_config; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_config) +} + +// optional bytes game_session_manifest = 20; +inline bool CSVCMsg_ServerInfo::_internal_has_game_session_manifest() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_ServerInfo::has_game_session_manifest() const { + return _internal_has_game_session_manifest(); +} +inline void CSVCMsg_ServerInfo::clear_game_session_manifest() { + _impl_.game_session_manifest_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CSVCMsg_ServerInfo::game_session_manifest() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_manifest) + return _internal_game_session_manifest(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ServerInfo::set_game_session_manifest(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.game_session_manifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.game_session_manifest) +} +inline std::string* CSVCMsg_ServerInfo::mutable_game_session_manifest() { + std::string* _s = _internal_mutable_game_session_manifest(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_manifest) + return _s; +} +inline const std::string& CSVCMsg_ServerInfo::_internal_game_session_manifest() const { + return _impl_.game_session_manifest_.Get(); +} +inline void CSVCMsg_ServerInfo::_internal_set_game_session_manifest(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.game_session_manifest_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::_internal_mutable_game_session_manifest() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.game_session_manifest_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ServerInfo::release_game_session_manifest() { + // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_session_manifest) + if (!_internal_has_game_session_manifest()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.game_session_manifest_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_session_manifest_.IsDefault()) { + _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ServerInfo::set_allocated_game_session_manifest(std::string* game_session_manifest) { + if (game_session_manifest != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.game_session_manifest_.SetAllocated(game_session_manifest, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_session_manifest_.IsDefault()) { + _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_manifest) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClassInfo_class_t + +// optional int32 class_id = 1; +inline bool CSVCMsg_ClassInfo_class_t::_internal_has_class_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_ClassInfo_class_t::has_class_id() const { + return _internal_has_class_id(); +} +inline void CSVCMsg_ClassInfo_class_t::clear_class_id() { + _impl_.class_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_ClassInfo_class_t::_internal_class_id() const { + return _impl_.class_id_; +} +inline int32_t CSVCMsg_ClassInfo_class_t::class_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.class_t.class_id) + return _internal_class_id(); +} +inline void CSVCMsg_ClassInfo_class_t::_internal_set_class_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.class_id_ = value; +} +inline void CSVCMsg_ClassInfo_class_t::set_class_id(int32_t value) { + _internal_set_class_id(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.class_t.class_id) +} + +// optional string class_name = 3; +inline bool CSVCMsg_ClassInfo_class_t::_internal_has_class_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_ClassInfo_class_t::has_class_name() const { + return _internal_has_class_name(); +} +inline void CSVCMsg_ClassInfo_class_t::clear_class_name() { + _impl_.class_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_ClassInfo_class_t::class_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.class_t.class_name) + return _internal_class_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ClassInfo_class_t::set_class_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.class_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.class_t.class_name) +} +inline std::string* CSVCMsg_ClassInfo_class_t::mutable_class_name() { + std::string* _s = _internal_mutable_class_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ClassInfo.class_t.class_name) + return _s; +} +inline const std::string& CSVCMsg_ClassInfo_class_t::_internal_class_name() const { + return _impl_.class_name_.Get(); +} +inline void CSVCMsg_ClassInfo_class_t::_internal_set_class_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.class_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ClassInfo_class_t::_internal_mutable_class_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.class_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ClassInfo_class_t::release_class_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_ClassInfo.class_t.class_name) + if (!_internal_has_class_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.class_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.class_name_.IsDefault()) { + _impl_.class_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ClassInfo_class_t::set_allocated_class_name(std::string* class_name) { + if (class_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.class_name_.SetAllocated(class_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.class_name_.IsDefault()) { + _impl_.class_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ClassInfo.class_t.class_name) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClassInfo + +// optional bool create_on_client = 1; +inline bool CSVCMsg_ClassInfo::_internal_has_create_on_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_ClassInfo::has_create_on_client() const { + return _internal_has_create_on_client(); +} +inline void CSVCMsg_ClassInfo::clear_create_on_client() { + _impl_.create_on_client_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CSVCMsg_ClassInfo::_internal_create_on_client() const { + return _impl_.create_on_client_; +} +inline bool CSVCMsg_ClassInfo::create_on_client() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.create_on_client) + return _internal_create_on_client(); +} +inline void CSVCMsg_ClassInfo::_internal_set_create_on_client(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.create_on_client_ = value; +} +inline void CSVCMsg_ClassInfo::set_create_on_client(bool value) { + _internal_set_create_on_client(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.create_on_client) +} + +// repeated .CSVCMsg_ClassInfo.class_t classes = 2; +inline int CSVCMsg_ClassInfo::_internal_classes_size() const { + return _impl_.classes_.size(); +} +inline int CSVCMsg_ClassInfo::classes_size() const { + return _internal_classes_size(); +} +inline void CSVCMsg_ClassInfo::clear_classes() { + _impl_.classes_.Clear(); +} +inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::mutable_classes(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_ClassInfo.classes) + return _impl_.classes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* +CSVCMsg_ClassInfo::mutable_classes() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_ClassInfo.classes) + return &_impl_.classes_; +} +inline const ::CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo::_internal_classes(int index) const { + return _impl_.classes_.Get(index); +} +inline const ::CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo::classes(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.classes) + return _internal_classes(index); +} +inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::_internal_add_classes() { + return _impl_.classes_.Add(); +} +inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::add_classes() { + ::CSVCMsg_ClassInfo_class_t* _add = _internal_add_classes(); + // @@protoc_insertion_point(field_add:CSVCMsg_ClassInfo.classes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& +CSVCMsg_ClassInfo::classes() const { + // @@protoc_insertion_point(field_list:CSVCMsg_ClassInfo.classes) + return _impl_.classes_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SetPause + +// optional bool paused = 1; +inline bool CSVCMsg_SetPause::_internal_has_paused() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_SetPause::has_paused() const { + return _internal_has_paused(); +} +inline void CSVCMsg_SetPause::clear_paused() { + _impl_.paused_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CSVCMsg_SetPause::_internal_paused() const { + return _impl_.paused_; +} +inline bool CSVCMsg_SetPause::paused() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SetPause.paused) + return _internal_paused(); +} +inline void CSVCMsg_SetPause::_internal_set_paused(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.paused_ = value; +} +inline void CSVCMsg_SetPause::set_paused(bool value) { + _internal_set_paused(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SetPause.paused) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_VoiceInit + +// optional int32 quality = 1; +inline bool CSVCMsg_VoiceInit::_internal_has_quality() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_VoiceInit::has_quality() const { + return _internal_has_quality(); +} +inline void CSVCMsg_VoiceInit::clear_quality() { + _impl_.quality_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_VoiceInit::_internal_quality() const { + return _impl_.quality_; +} +inline int32_t CSVCMsg_VoiceInit::quality() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.quality) + return _internal_quality(); +} +inline void CSVCMsg_VoiceInit::_internal_set_quality(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.quality_ = value; +} +inline void CSVCMsg_VoiceInit::set_quality(int32_t value) { + _internal_set_quality(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.quality) +} + +// optional string codec = 2; +inline bool CSVCMsg_VoiceInit::_internal_has_codec() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_VoiceInit::has_codec() const { + return _internal_has_codec(); +} +inline void CSVCMsg_VoiceInit::clear_codec() { + _impl_.codec_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_VoiceInit::codec() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.codec) + return _internal_codec(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_VoiceInit::set_codec(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.codec_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.codec) +} +inline std::string* CSVCMsg_VoiceInit::mutable_codec() { + std::string* _s = _internal_mutable_codec(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceInit.codec) + return _s; +} +inline const std::string& CSVCMsg_VoiceInit::_internal_codec() const { + return _impl_.codec_.Get(); +} +inline void CSVCMsg_VoiceInit::_internal_set_codec(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.codec_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_VoiceInit::_internal_mutable_codec() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.codec_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_VoiceInit::release_codec() { + // @@protoc_insertion_point(field_release:CSVCMsg_VoiceInit.codec) + if (!_internal_has_codec()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.codec_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.codec_.IsDefault()) { + _impl_.codec_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_VoiceInit::set_allocated_codec(std::string* codec) { + if (codec != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.codec_.SetAllocated(codec, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.codec_.IsDefault()) { + _impl_.codec_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceInit.codec) +} + +// optional int32 version = 3 [default = 0]; +inline bool CSVCMsg_VoiceInit::_internal_has_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_VoiceInit::has_version() const { + return _internal_has_version(); +} +inline void CSVCMsg_VoiceInit::clear_version() { + _impl_.version_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_VoiceInit::_internal_version() const { + return _impl_.version_; +} +inline int32_t CSVCMsg_VoiceInit::version() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.version) + return _internal_version(); +} +inline void CSVCMsg_VoiceInit::_internal_set_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.version_ = value; +} +inline void CSVCMsg_VoiceInit::set_version(int32_t value) { + _internal_set_version(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.version) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Print + +// optional string text = 1; +inline bool CSVCMsg_Print::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Print::has_text() const { + return _internal_has_text(); +} +inline void CSVCMsg_Print::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_Print::text() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Print.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_Print::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_Print.text) +} +inline std::string* CSVCMsg_Print::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_Print.text) + return _s; +} +inline const std::string& CSVCMsg_Print::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CSVCMsg_Print::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Print::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Print::release_text() { + // @@protoc_insertion_point(field_release:CSVCMsg_Print.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_Print::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CSVCMsg_Print.text) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Sounds_sounddata_t + +// optional sint32 origin_x = 1; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_x() const { + return _internal_has_origin_x(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_x() { + _impl_.origin_x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_x() const { + return _impl_.origin_x_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::origin_x() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_x) + return _internal_origin_x(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_x(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.origin_x_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_x(int32_t value) { + _internal_set_origin_x(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_x) +} + +// optional sint32 origin_y = 2; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_y() const { + return _internal_has_origin_y(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_y() { + _impl_.origin_y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_y() const { + return _impl_.origin_y_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::origin_y() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_y) + return _internal_origin_y(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_y(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.origin_y_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_y(int32_t value) { + _internal_set_origin_y(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_y) +} + +// optional sint32 origin_z = 3; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_z() const { + return _internal_has_origin_z(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_z() { + _impl_.origin_z_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_z() const { + return _impl_.origin_z_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::origin_z() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_z) + return _internal_origin_z(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_z(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.origin_z_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_z(int32_t value) { + _internal_set_origin_z(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_z) +} + +// optional uint32 volume = 4; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_volume() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_volume() const { + return _internal_has_volume(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_volume() { + _impl_.volume_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_volume() const { + return _impl_.volume_; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::volume() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.volume) + return _internal_volume(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_volume(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.volume_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_volume(uint32_t value) { + _internal_set_volume(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.volume) +} + +// optional float delay_value = 5; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_delay_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_delay_value() const { + return _internal_has_delay_value(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_delay_value() { + _impl_.delay_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CSVCMsg_Sounds_sounddata_t::_internal_delay_value() const { + return _impl_.delay_value_; +} +inline float CSVCMsg_Sounds_sounddata_t::delay_value() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.delay_value) + return _internal_delay_value(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_delay_value(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.delay_value_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_delay_value(float value) { + _internal_set_delay_value(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.delay_value) +} + +// optional int32 sequence_number = 6; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sequence_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_sequence_number() const { + return _internal_has_sequence_number(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sequence_number() { + _impl_.sequence_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_sequence_number() const { + return _impl_.sequence_number_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::sequence_number() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sequence_number) + return _internal_sequence_number(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sequence_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.sequence_number_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sequence_number(int32_t value) { + _internal_set_sequence_number(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sequence_number) +} + +// optional int32 entity_index = 7 [default = -1]; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_entity_index() const { + return _internal_has_entity_index(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_entity_index() { + _impl_.entity_index_ = -1; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_entity_index() const { + return _impl_.entity_index_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::entity_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.entity_index) + return _internal_entity_index(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.entity_index_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_entity_index(int32_t value) { + _internal_set_entity_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.entity_index) +} + +// optional int32 channel = 8; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_channel() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_channel() const { + return _internal_has_channel(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_channel() { + _impl_.channel_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_channel() const { + return _impl_.channel_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::channel() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.channel) + return _internal_channel(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_channel(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.channel_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_channel(int32_t value) { + _internal_set_channel(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.channel) +} + +// optional int32 pitch = 9; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_pitch() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_pitch() const { + return _internal_has_pitch(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_pitch() { + _impl_.pitch_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_pitch() const { + return _impl_.pitch_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::pitch() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.pitch) + return _internal_pitch(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_pitch(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.pitch_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_pitch(int32_t value) { + _internal_set_pitch(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.pitch) +} + +// optional int32 flags = 10; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_flags() const { + return _internal_has_flags(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::flags() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.flags) + return _internal_flags(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.flags_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.flags) +} + +// optional uint32 sound_num = 11; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_num() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num() const { + return _internal_has_sound_num(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num() { + _impl_.sound_num_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_num() const { + return _impl_.sound_num_; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::sound_num() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_num) + return _internal_sound_num(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_num(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.sound_num_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_num(uint32_t value) { + _internal_set_sound_num(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_num) +} + +// optional fixed32 sound_num_handle = 12; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_num_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num_handle() const { + return _internal_has_sound_num_handle(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num_handle() { + _impl_.sound_num_handle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_num_handle() const { + return _impl_.sound_num_handle_; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::sound_num_handle() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_num_handle) + return _internal_sound_num_handle(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_num_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.sound_num_handle_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_num_handle(uint32_t value) { + _internal_set_sound_num_handle(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_num_handle) +} + +// optional int32 speaker_entity = 13; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_speaker_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_speaker_entity() const { + return _internal_has_speaker_entity(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_speaker_entity() { + _impl_.speaker_entity_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_speaker_entity() const { + return _impl_.speaker_entity_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::speaker_entity() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.speaker_entity) + return _internal_speaker_entity(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_speaker_entity(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.speaker_entity_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_speaker_entity(int32_t value) { + _internal_set_speaker_entity(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.speaker_entity) +} + +// optional int32 random_seed = 14; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_random_seed() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_random_seed() const { + return _internal_has_random_seed(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_random_seed() { + _impl_.random_seed_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_random_seed() const { + return _impl_.random_seed_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::random_seed() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.random_seed) + return _internal_random_seed(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_random_seed(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.random_seed_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_random_seed(int32_t value) { + _internal_set_random_seed(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.random_seed) +} + +// optional int32 sound_level = 15; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_level() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_level() const { + return _internal_has_sound_level(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_level() { + _impl_.sound_level_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_level() const { + return _impl_.sound_level_; +} +inline int32_t CSVCMsg_Sounds_sounddata_t::sound_level() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_level) + return _internal_sound_level(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_level(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.sound_level_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_level(int32_t value) { + _internal_set_sound_level(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_level) +} + +// optional bool is_sentence = 16; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_is_sentence() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_is_sentence() const { + return _internal_has_is_sentence(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_is_sentence() { + _impl_.is_sentence_ = false; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline bool CSVCMsg_Sounds_sounddata_t::_internal_is_sentence() const { + return _impl_.is_sentence_; +} +inline bool CSVCMsg_Sounds_sounddata_t::is_sentence() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.is_sentence) + return _internal_is_sentence(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_is_sentence(bool value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.is_sentence_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_is_sentence(bool value) { + _internal_set_is_sentence(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.is_sentence) +} + +// optional bool is_ambient = 17; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_is_ambient() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_is_ambient() const { + return _internal_has_is_ambient(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_is_ambient() { + _impl_.is_ambient_ = false; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline bool CSVCMsg_Sounds_sounddata_t::_internal_is_ambient() const { + return _impl_.is_ambient_; +} +inline bool CSVCMsg_Sounds_sounddata_t::is_ambient() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.is_ambient) + return _internal_is_ambient(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_is_ambient(bool value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.is_ambient_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_is_ambient(bool value) { + _internal_set_is_ambient(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.is_ambient) +} + +// optional uint32 guid = 18; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_guid() const { + return _internal_has_guid(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_guid() { + _impl_.guid_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_guid() const { + return _impl_.guid_; +} +inline uint32_t CSVCMsg_Sounds_sounddata_t::guid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.guid) + return _internal_guid(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_guid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.guid_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_guid(uint32_t value) { + _internal_set_guid(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.guid) +} + +// optional fixed64 sound_resource_id = 19; +inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_resource_id() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_resource_id() const { + return _internal_has_sound_resource_id(); +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_resource_id() { + _impl_.sound_resource_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint64_t CSVCMsg_Sounds_sounddata_t::_internal_sound_resource_id() const { + return _impl_.sound_resource_id_; +} +inline uint64_t CSVCMsg_Sounds_sounddata_t::sound_resource_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_resource_id) + return _internal_sound_resource_id(); +} +inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_resource_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.sound_resource_id_ = value; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_resource_id(uint64_t value) { + _internal_set_sound_resource_id(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_resource_id) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Sounds + +// optional bool reliable_sound = 1; +inline bool CSVCMsg_Sounds::_internal_has_reliable_sound() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Sounds::has_reliable_sound() const { + return _internal_has_reliable_sound(); +} +inline void CSVCMsg_Sounds::clear_reliable_sound() { + _impl_.reliable_sound_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CSVCMsg_Sounds::_internal_reliable_sound() const { + return _impl_.reliable_sound_; +} +inline bool CSVCMsg_Sounds::reliable_sound() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.reliable_sound) + return _internal_reliable_sound(); +} +inline void CSVCMsg_Sounds::_internal_set_reliable_sound(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.reliable_sound_ = value; +} +inline void CSVCMsg_Sounds::set_reliable_sound(bool value) { + _internal_set_reliable_sound(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.reliable_sound) +} + +// repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; +inline int CSVCMsg_Sounds::_internal_sounds_size() const { + return _impl_.sounds_.size(); +} +inline int CSVCMsg_Sounds::sounds_size() const { + return _internal_sounds_size(); +} +inline void CSVCMsg_Sounds::clear_sounds() { + _impl_.sounds_.Clear(); +} +inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::mutable_sounds(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_Sounds.sounds) + return _impl_.sounds_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* +CSVCMsg_Sounds::mutable_sounds() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_Sounds.sounds) + return &_impl_.sounds_; +} +inline const ::CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds::_internal_sounds(int index) const { + return _impl_.sounds_.Get(index); +} +inline const ::CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds::sounds(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounds) + return _internal_sounds(index); +} +inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::_internal_add_sounds() { + return _impl_.sounds_.Add(); +} +inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::add_sounds() { + ::CSVCMsg_Sounds_sounddata_t* _add = _internal_add_sounds(); + // @@protoc_insertion_point(field_add:CSVCMsg_Sounds.sounds) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& +CSVCMsg_Sounds::sounds() const { + // @@protoc_insertion_point(field_list:CSVCMsg_Sounds.sounds) + return _impl_.sounds_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Prefetch + +// optional int32 sound_index = 1; +inline bool CSVCMsg_Prefetch::_internal_has_sound_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Prefetch::has_sound_index() const { + return _internal_has_sound_index(); +} +inline void CSVCMsg_Prefetch::clear_sound_index() { + _impl_.sound_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_Prefetch::_internal_sound_index() const { + return _impl_.sound_index_; +} +inline int32_t CSVCMsg_Prefetch::sound_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Prefetch.sound_index) + return _internal_sound_index(); +} +inline void CSVCMsg_Prefetch::_internal_set_sound_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sound_index_ = value; +} +inline void CSVCMsg_Prefetch::set_sound_index(int32_t value) { + _internal_set_sound_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.sound_index) +} + +// optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; +inline bool CSVCMsg_Prefetch::_internal_has_resource_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_Prefetch::has_resource_type() const { + return _internal_has_resource_type(); +} +inline void CSVCMsg_Prefetch::clear_resource_type() { + _impl_.resource_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline ::PrefetchType CSVCMsg_Prefetch::_internal_resource_type() const { + return static_cast< ::PrefetchType >(_impl_.resource_type_); +} +inline ::PrefetchType CSVCMsg_Prefetch::resource_type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Prefetch.resource_type) + return _internal_resource_type(); +} +inline void CSVCMsg_Prefetch::_internal_set_resource_type(::PrefetchType value) { + assert(::PrefetchType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.resource_type_ = value; +} +inline void CSVCMsg_Prefetch::set_resource_type(::PrefetchType value) { + _internal_set_resource_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.resource_type) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SetView + +// optional int32 entity_index = 1 [default = -1]; +inline bool CSVCMsg_SetView::_internal_has_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_SetView::has_entity_index() const { + return _internal_has_entity_index(); +} +inline void CSVCMsg_SetView::clear_entity_index() { + _impl_.entity_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_SetView::_internal_entity_index() const { + return _impl_.entity_index_; +} +inline int32_t CSVCMsg_SetView::entity_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SetView.entity_index) + return _internal_entity_index(); +} +inline void CSVCMsg_SetView::_internal_set_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_index_ = value; +} +inline void CSVCMsg_SetView::set_entity_index(int32_t value) { + _internal_set_entity_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SetView.entity_index) +} + +// optional int32 slot = 2 [default = -1]; +inline bool CSVCMsg_SetView::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_SetView::has_slot() const { + return _internal_has_slot(); +} +inline void CSVCMsg_SetView::clear_slot() { + _impl_.slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_SetView::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CSVCMsg_SetView::slot() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SetView.slot) + return _internal_slot(); +} +inline void CSVCMsg_SetView::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.slot_ = value; +} +inline void CSVCMsg_SetView::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SetView.slot) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_FixAngle + +// optional bool relative = 1; +inline bool CSVCMsg_FixAngle::_internal_has_relative() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_FixAngle::has_relative() const { + return _internal_has_relative(); +} +inline void CSVCMsg_FixAngle::clear_relative() { + _impl_.relative_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSVCMsg_FixAngle::_internal_relative() const { + return _impl_.relative_; +} +inline bool CSVCMsg_FixAngle::relative() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FixAngle.relative) + return _internal_relative(); +} +inline void CSVCMsg_FixAngle::_internal_set_relative(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.relative_ = value; +} +inline void CSVCMsg_FixAngle::set_relative(bool value) { + _internal_set_relative(value); + // @@protoc_insertion_point(field_set:CSVCMsg_FixAngle.relative) +} + +// optional .CMsgQAngle angle = 2; +inline bool CSVCMsg_FixAngle::_internal_has_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); + return value; +} +inline bool CSVCMsg_FixAngle::has_angle() const { + return _internal_has_angle(); +} +inline const ::CMsgQAngle& CSVCMsg_FixAngle::_internal_angle() const { + const ::CMsgQAngle* p = _impl_.angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CSVCMsg_FixAngle::angle() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FixAngle.angle) + return _internal_angle(); +} +inline void CSVCMsg_FixAngle::unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + _impl_.angle_ = angle; + if (angle) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_FixAngle.angle) +} +inline ::CMsgQAngle* CSVCMsg_FixAngle::release_angle() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = 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 ::CMsgQAngle* CSVCMsg_FixAngle::unsafe_arena_release_angle() { + // @@protoc_insertion_point(field_release:CSVCMsg_FixAngle.angle) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CSVCMsg_FixAngle::_internal_mutable_angle() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angle_ = p; + } + return _impl_.angle_; +} +inline ::CMsgQAngle* CSVCMsg_FixAngle::mutable_angle() { + ::CMsgQAngle* _msg = _internal_mutable_angle(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_FixAngle.angle) + return _msg; +} +inline void CSVCMsg_FixAngle::set_allocated_angle(::CMsgQAngle* angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + if (angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); + if (message_arena != submessage_arena) { + angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.angle_ = angle; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_FixAngle.angle) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_CrosshairAngle + +// optional .CMsgQAngle angle = 1; +inline bool CSVCMsg_CrosshairAngle::_internal_has_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); + return value; +} +inline bool CSVCMsg_CrosshairAngle::has_angle() const { + return _internal_has_angle(); +} +inline const ::CMsgQAngle& CSVCMsg_CrosshairAngle::_internal_angle() const { + const ::CMsgQAngle* p = _impl_.angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CSVCMsg_CrosshairAngle::angle() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CrosshairAngle.angle) + return _internal_angle(); +} +inline void CSVCMsg_CrosshairAngle::unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + _impl_.angle_ = angle; + if (angle) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_CrosshairAngle.angle) +} +inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::release_angle() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = 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 ::CMsgQAngle* CSVCMsg_CrosshairAngle::unsafe_arena_release_angle() { + // @@protoc_insertion_point(field_release:CSVCMsg_CrosshairAngle.angle) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::_internal_mutable_angle() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angle_ = p; + } + return _impl_.angle_; +} +inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::mutable_angle() { + ::CMsgQAngle* _msg = _internal_mutable_angle(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_CrosshairAngle.angle) + return _msg; +} +inline void CSVCMsg_CrosshairAngle::set_allocated_angle(::CMsgQAngle* angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + if (angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); + if (message_arena != submessage_arena) { + angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.angle_ = angle; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CrosshairAngle.angle) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_BSPDecal + +// optional .CMsgVector pos = 1; +inline bool CSVCMsg_BSPDecal::_internal_has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline bool CSVCMsg_BSPDecal::has_pos() const { + return _internal_has_pos(); +} +inline const ::CMsgVector& CSVCMsg_BSPDecal::_internal_pos() const { + const ::CMsgVector* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CSVCMsg_BSPDecal::pos() const { + // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.pos) + return _internal_pos(); +} +inline void CSVCMsg_BSPDecal::unsafe_arena_set_allocated_pos( + ::CMsgVector* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_BSPDecal.pos) +} +inline ::CMsgVector* CSVCMsg_BSPDecal::release_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* 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 ::CMsgVector* CSVCMsg_BSPDecal::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:CSVCMsg_BSPDecal.pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CSVCMsg_BSPDecal::_internal_mutable_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::CMsgVector* CSVCMsg_BSPDecal::mutable_pos() { + ::CMsgVector* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_BSPDecal.pos) + return _msg; +} +inline void CSVCMsg_BSPDecal::set_allocated_pos(::CMsgVector* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_BSPDecal.pos) +} + +// optional int32 decal_texture_index = 2; +inline bool CSVCMsg_BSPDecal::_internal_has_decal_texture_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_BSPDecal::has_decal_texture_index() const { + return _internal_has_decal_texture_index(); +} +inline void CSVCMsg_BSPDecal::clear_decal_texture_index() { + _impl_.decal_texture_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_BSPDecal::_internal_decal_texture_index() const { + return _impl_.decal_texture_index_; +} +inline int32_t CSVCMsg_BSPDecal::decal_texture_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.decal_texture_index) + return _internal_decal_texture_index(); +} +inline void CSVCMsg_BSPDecal::_internal_set_decal_texture_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.decal_texture_index_ = value; +} +inline void CSVCMsg_BSPDecal::set_decal_texture_index(int32_t value) { + _internal_set_decal_texture_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.decal_texture_index) +} + +// optional int32 entity_index = 3 [default = -1]; +inline bool CSVCMsg_BSPDecal::_internal_has_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_BSPDecal::has_entity_index() const { + return _internal_has_entity_index(); +} +inline void CSVCMsg_BSPDecal::clear_entity_index() { + _impl_.entity_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CSVCMsg_BSPDecal::_internal_entity_index() const { + return _impl_.entity_index_; +} +inline int32_t CSVCMsg_BSPDecal::entity_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.entity_index) + return _internal_entity_index(); +} +inline void CSVCMsg_BSPDecal::_internal_set_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.entity_index_ = value; +} +inline void CSVCMsg_BSPDecal::set_entity_index(int32_t value) { + _internal_set_entity_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.entity_index) +} + +// optional int32 model_index = 4; +inline bool CSVCMsg_BSPDecal::_internal_has_model_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_BSPDecal::has_model_index() const { + return _internal_has_model_index(); +} +inline void CSVCMsg_BSPDecal::clear_model_index() { + _impl_.model_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_BSPDecal::_internal_model_index() const { + return _impl_.model_index_; +} +inline int32_t CSVCMsg_BSPDecal::model_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.model_index) + return _internal_model_index(); +} +inline void CSVCMsg_BSPDecal::_internal_set_model_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.model_index_ = value; +} +inline void CSVCMsg_BSPDecal::set_model_index(int32_t value) { + _internal_set_model_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.model_index) +} + +// optional bool low_priority = 5; +inline bool CSVCMsg_BSPDecal::_internal_has_low_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_BSPDecal::has_low_priority() const { + return _internal_has_low_priority(); +} +inline void CSVCMsg_BSPDecal::clear_low_priority() { + _impl_.low_priority_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CSVCMsg_BSPDecal::_internal_low_priority() const { + return _impl_.low_priority_; +} +inline bool CSVCMsg_BSPDecal::low_priority() const { + // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.low_priority) + return _internal_low_priority(); +} +inline void CSVCMsg_BSPDecal::_internal_set_low_priority(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.low_priority_ = value; +} +inline void CSVCMsg_BSPDecal::set_low_priority(bool value) { + _internal_set_low_priority(value); + // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.low_priority) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SplitScreen + +// optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; +inline bool CSVCMsg_SplitScreen::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_SplitScreen::has_type() const { + return _internal_has_type(); +} +inline void CSVCMsg_SplitScreen::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline ::ESplitScreenMessageType CSVCMsg_SplitScreen::_internal_type() const { + return static_cast< ::ESplitScreenMessageType >(_impl_.type_); +} +inline ::ESplitScreenMessageType CSVCMsg_SplitScreen::type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.type) + return _internal_type(); +} +inline void CSVCMsg_SplitScreen::_internal_set_type(::ESplitScreenMessageType value) { + assert(::ESplitScreenMessageType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.type_ = value; +} +inline void CSVCMsg_SplitScreen::set_type(::ESplitScreenMessageType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.type) +} + +// optional int32 slot = 2; +inline bool CSVCMsg_SplitScreen::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_SplitScreen::has_slot() const { + return _internal_has_slot(); +} +inline void CSVCMsg_SplitScreen::clear_slot() { + _impl_.slot_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_SplitScreen::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CSVCMsg_SplitScreen::slot() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.slot) + return _internal_slot(); +} +inline void CSVCMsg_SplitScreen::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.slot_ = value; +} +inline void CSVCMsg_SplitScreen::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.slot) +} + +// optional int32 player_index = 3 [default = -1]; +inline bool CSVCMsg_SplitScreen::_internal_has_player_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_SplitScreen::has_player_index() const { + return _internal_has_player_index(); +} +inline void CSVCMsg_SplitScreen::clear_player_index() { + _impl_.player_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_SplitScreen::_internal_player_index() const { + return _impl_.player_index_; +} +inline int32_t CSVCMsg_SplitScreen::player_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.player_index) + return _internal_player_index(); +} +inline void CSVCMsg_SplitScreen::_internal_set_player_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.player_index_ = value; +} +inline void CSVCMsg_SplitScreen::set_player_index(int32_t value) { + _internal_set_player_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.player_index) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GetCvarValue + +// optional int32 cookie = 1; +inline bool CSVCMsg_GetCvarValue::_internal_has_cookie() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GetCvarValue::has_cookie() const { + return _internal_has_cookie(); +} +inline void CSVCMsg_GetCvarValue::clear_cookie() { + _impl_.cookie_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_GetCvarValue::_internal_cookie() const { + return _impl_.cookie_; +} +inline int32_t CSVCMsg_GetCvarValue::cookie() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GetCvarValue.cookie) + return _internal_cookie(); +} +inline void CSVCMsg_GetCvarValue::_internal_set_cookie(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cookie_ = value; +} +inline void CSVCMsg_GetCvarValue::set_cookie(int32_t value) { + _internal_set_cookie(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GetCvarValue.cookie) +} + +// optional string cvar_name = 2; +inline bool CSVCMsg_GetCvarValue::_internal_has_cvar_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GetCvarValue::has_cvar_name() const { + return _internal_has_cvar_name(); +} +inline void CSVCMsg_GetCvarValue::clear_cvar_name() { + _impl_.cvar_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GetCvarValue::cvar_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GetCvarValue.cvar_name) + return _internal_cvar_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GetCvarValue::set_cvar_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cvar_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GetCvarValue.cvar_name) +} +inline std::string* CSVCMsg_GetCvarValue::mutable_cvar_name() { + std::string* _s = _internal_mutable_cvar_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GetCvarValue.cvar_name) + return _s; +} +inline const std::string& CSVCMsg_GetCvarValue::_internal_cvar_name() const { + return _impl_.cvar_name_.Get(); +} +inline void CSVCMsg_GetCvarValue::_internal_set_cvar_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cvar_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GetCvarValue::_internal_mutable_cvar_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cvar_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GetCvarValue::release_cvar_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_GetCvarValue.cvar_name) + if (!_internal_has_cvar_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cvar_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cvar_name_.IsDefault()) { + _impl_.cvar_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GetCvarValue::set_allocated_cvar_name(std::string* cvar_name) { + if (cvar_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cvar_name_.SetAllocated(cvar_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cvar_name_.IsDefault()) { + _impl_.cvar_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GetCvarValue.cvar_name) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Menu + +// optional int32 dialog_type = 1; +inline bool CSVCMsg_Menu::_internal_has_dialog_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_Menu::has_dialog_type() const { + return _internal_has_dialog_type(); +} +inline void CSVCMsg_Menu::clear_dialog_type() { + _impl_.dialog_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_Menu::_internal_dialog_type() const { + return _impl_.dialog_type_; +} +inline int32_t CSVCMsg_Menu::dialog_type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Menu.dialog_type) + return _internal_dialog_type(); +} +inline void CSVCMsg_Menu::_internal_set_dialog_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dialog_type_ = value; +} +inline void CSVCMsg_Menu::set_dialog_type(int32_t value) { + _internal_set_dialog_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_Menu.dialog_type) +} + +// optional bytes menu_key_values = 2; +inline bool CSVCMsg_Menu::_internal_has_menu_key_values() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Menu::has_menu_key_values() const { + return _internal_has_menu_key_values(); +} +inline void CSVCMsg_Menu::clear_menu_key_values() { + _impl_.menu_key_values_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_Menu::menu_key_values() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Menu.menu_key_values) + return _internal_menu_key_values(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_Menu::set_menu_key_values(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menu_key_values_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_Menu.menu_key_values) +} +inline std::string* CSVCMsg_Menu::mutable_menu_key_values() { + std::string* _s = _internal_mutable_menu_key_values(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_Menu.menu_key_values) + return _s; +} +inline const std::string& CSVCMsg_Menu::_internal_menu_key_values() const { + return _impl_.menu_key_values_.Get(); +} +inline void CSVCMsg_Menu::_internal_set_menu_key_values(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menu_key_values_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Menu::_internal_mutable_menu_key_values() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.menu_key_values_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Menu::release_menu_key_values() { + // @@protoc_insertion_point(field_release:CSVCMsg_Menu.menu_key_values) + if (!_internal_has_menu_key_values()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.menu_key_values_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menu_key_values_.IsDefault()) { + _impl_.menu_key_values_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_Menu::set_allocated_menu_key_values(std::string* menu_key_values) { + if (menu_key_values != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.menu_key_values_.SetAllocated(menu_key_values, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menu_key_values_.IsDefault()) { + _impl_.menu_key_values_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_Menu.menu_key_values) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_UserMessage + +// optional int32 msg_type = 1; +inline bool CSVCMsg_UserMessage::_internal_has_msg_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_UserMessage::has_msg_type() const { + return _internal_has_msg_type(); +} +inline void CSVCMsg_UserMessage::clear_msg_type() { + _impl_.msg_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_UserMessage::_internal_msg_type() const { + return _impl_.msg_type_; +} +inline int32_t CSVCMsg_UserMessage::msg_type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.msg_type) + return _internal_msg_type(); +} +inline void CSVCMsg_UserMessage::_internal_set_msg_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msg_type_ = value; +} +inline void CSVCMsg_UserMessage::set_msg_type(int32_t value) { + _internal_set_msg_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.msg_type) +} + +// optional bytes msg_data = 2; +inline bool CSVCMsg_UserMessage::_internal_has_msg_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_UserMessage::has_msg_data() const { + return _internal_has_msg_data(); +} +inline void CSVCMsg_UserMessage::clear_msg_data() { + _impl_.msg_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_UserMessage::msg_data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.msg_data) + return _internal_msg_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_UserMessage::set_msg_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.msg_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.msg_data) +} +inline std::string* CSVCMsg_UserMessage::mutable_msg_data() { + std::string* _s = _internal_mutable_msg_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_UserMessage.msg_data) + return _s; +} +inline const std::string& CSVCMsg_UserMessage::_internal_msg_data() const { + return _impl_.msg_data_.Get(); +} +inline void CSVCMsg_UserMessage::_internal_set_msg_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.msg_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_UserMessage::_internal_mutable_msg_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.msg_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_UserMessage::release_msg_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_UserMessage.msg_data) + if (!_internal_has_msg_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.msg_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.msg_data_.IsDefault()) { + _impl_.msg_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_UserMessage::set_allocated_msg_data(std::string* msg_data) { + if (msg_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.msg_data_.SetAllocated(msg_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.msg_data_.IsDefault()) { + _impl_.msg_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_UserMessage.msg_data) +} + +// optional int32 passthrough = 3; +inline bool CSVCMsg_UserMessage::_internal_has_passthrough() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_UserMessage::has_passthrough() const { + return _internal_has_passthrough(); +} +inline void CSVCMsg_UserMessage::clear_passthrough() { + _impl_.passthrough_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_UserMessage::_internal_passthrough() const { + return _impl_.passthrough_; +} +inline int32_t CSVCMsg_UserMessage::passthrough() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.passthrough) + return _internal_passthrough(); +} +inline void CSVCMsg_UserMessage::_internal_set_passthrough(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.passthrough_ = value; +} +inline void CSVCMsg_UserMessage::set_passthrough(int32_t value) { + _internal_set_passthrough(value); + // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.passthrough) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SendTable_sendprop_t + +// optional int32 type = 1; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_type() const { + return _internal_has_type(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_type() const { + return _impl_.type_; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.type) + return _internal_type(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.type_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.type) +} + +// optional string var_name = 2; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_var_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_var_name() const { + return _internal_has_var_name(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_var_name() { + _impl_.var_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_SendTable_sendprop_t::var_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.var_name) + return _internal_var_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_SendTable_sendprop_t::set_var_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.var_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.var_name) +} +inline std::string* CSVCMsg_SendTable_sendprop_t::mutable_var_name() { + std::string* _s = _internal_mutable_var_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.sendprop_t.var_name) + return _s; +} +inline const std::string& CSVCMsg_SendTable_sendprop_t::_internal_var_name() const { + return _impl_.var_name_.Get(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_var_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.var_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable_sendprop_t::_internal_mutable_var_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.var_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable_sendprop_t::release_var_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.sendprop_t.var_name) + if (!_internal_has_var_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.var_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.var_name_.IsDefault()) { + _impl_.var_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_SendTable_sendprop_t::set_allocated_var_name(std::string* var_name) { + if (var_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.var_name_.SetAllocated(var_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.var_name_.IsDefault()) { + _impl_.var_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.sendprop_t.var_name) +} + +// optional int32 flags = 3; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_flags() const { + return _internal_has_flags(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::flags() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.flags) + return _internal_flags(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.flags_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.flags) +} + +// optional int32 priority = 4; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_priority() const { + return _internal_has_priority(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_priority() { + _impl_.priority_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_priority() const { + return _impl_.priority_; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::priority() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.priority) + return _internal_priority(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_priority(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.priority_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_priority(int32_t value) { + _internal_set_priority(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.priority) +} + +// optional string dt_name = 5; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_dt_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_dt_name() const { + return _internal_has_dt_name(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_dt_name() { + _impl_.dt_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_SendTable_sendprop_t::dt_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.dt_name) + return _internal_dt_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_SendTable_sendprop_t::set_dt_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dt_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.dt_name) +} +inline std::string* CSVCMsg_SendTable_sendprop_t::mutable_dt_name() { + std::string* _s = _internal_mutable_dt_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.sendprop_t.dt_name) + return _s; +} +inline const std::string& CSVCMsg_SendTable_sendprop_t::_internal_dt_name() const { + return _impl_.dt_name_.Get(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_dt_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dt_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable_sendprop_t::_internal_mutable_dt_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.dt_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable_sendprop_t::release_dt_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.sendprop_t.dt_name) + if (!_internal_has_dt_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.dt_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dt_name_.IsDefault()) { + _impl_.dt_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_SendTable_sendprop_t::set_allocated_dt_name(std::string* dt_name) { + if (dt_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.dt_name_.SetAllocated(dt_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dt_name_.IsDefault()) { + _impl_.dt_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.sendprop_t.dt_name) +} + +// optional int32 num_elements = 6; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_num_elements() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_num_elements() const { + return _internal_has_num_elements(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_num_elements() { + _impl_.num_elements_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_num_elements() const { + return _impl_.num_elements_; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::num_elements() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.num_elements) + return _internal_num_elements(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_num_elements(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.num_elements_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_num_elements(int32_t value) { + _internal_set_num_elements(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.num_elements) +} + +// optional float low_value = 7; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_low_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_low_value() const { + return _internal_has_low_value(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_low_value() { + _impl_.low_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CSVCMsg_SendTable_sendprop_t::_internal_low_value() const { + return _impl_.low_value_; +} +inline float CSVCMsg_SendTable_sendprop_t::low_value() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.low_value) + return _internal_low_value(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_low_value(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.low_value_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_low_value(float value) { + _internal_set_low_value(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.low_value) +} + +// optional float high_value = 8; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_high_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_high_value() const { + return _internal_has_high_value(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_high_value() { + _impl_.high_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CSVCMsg_SendTable_sendprop_t::_internal_high_value() const { + return _impl_.high_value_; +} +inline float CSVCMsg_SendTable_sendprop_t::high_value() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.high_value) + return _internal_high_value(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_high_value(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.high_value_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_high_value(float value) { + _internal_set_high_value(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.high_value) +} + +// optional int32 num_bits = 9; +inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_num_bits() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_SendTable_sendprop_t::has_num_bits() const { + return _internal_has_num_bits(); +} +inline void CSVCMsg_SendTable_sendprop_t::clear_num_bits() { + _impl_.num_bits_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_num_bits() const { + return _impl_.num_bits_; +} +inline int32_t CSVCMsg_SendTable_sendprop_t::num_bits() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.num_bits) + return _internal_num_bits(); +} +inline void CSVCMsg_SendTable_sendprop_t::_internal_set_num_bits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.num_bits_ = value; +} +inline void CSVCMsg_SendTable_sendprop_t::set_num_bits(int32_t value) { + _internal_set_num_bits(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.num_bits) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SendTable + +// optional bool is_end = 1; +inline bool CSVCMsg_SendTable::_internal_has_is_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_SendTable::has_is_end() const { + return _internal_has_is_end(); +} +inline void CSVCMsg_SendTable::clear_is_end() { + _impl_.is_end_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSVCMsg_SendTable::_internal_is_end() const { + return _impl_.is_end_; +} +inline bool CSVCMsg_SendTable::is_end() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.is_end) + return _internal_is_end(); +} +inline void CSVCMsg_SendTable::_internal_set_is_end(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.is_end_ = value; +} +inline void CSVCMsg_SendTable::set_is_end(bool value) { + _internal_set_is_end(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.is_end) +} + +// optional string net_table_name = 2; +inline bool CSVCMsg_SendTable::_internal_has_net_table_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_SendTable::has_net_table_name() const { + return _internal_has_net_table_name(); +} +inline void CSVCMsg_SendTable::clear_net_table_name() { + _impl_.net_table_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_SendTable::net_table_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.net_table_name) + return _internal_net_table_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_SendTable::set_net_table_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.net_table_name) +} +inline std::string* CSVCMsg_SendTable::mutable_net_table_name() { + std::string* _s = _internal_mutable_net_table_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.net_table_name) + return _s; +} +inline const std::string& CSVCMsg_SendTable::_internal_net_table_name() const { + return _impl_.net_table_name_.Get(); +} +inline void CSVCMsg_SendTable::_internal_set_net_table_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.net_table_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable::_internal_mutable_net_table_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.net_table_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_SendTable::release_net_table_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.net_table_name) + if (!_internal_has_net_table_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.net_table_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_table_name_.IsDefault()) { + _impl_.net_table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_SendTable::set_allocated_net_table_name(std::string* net_table_name) { + if (net_table_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.net_table_name_.SetAllocated(net_table_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.net_table_name_.IsDefault()) { + _impl_.net_table_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.net_table_name) +} + +// optional bool needs_decoder = 3; +inline bool CSVCMsg_SendTable::_internal_has_needs_decoder() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_SendTable::has_needs_decoder() const { + return _internal_has_needs_decoder(); +} +inline void CSVCMsg_SendTable::clear_needs_decoder() { + _impl_.needs_decoder_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CSVCMsg_SendTable::_internal_needs_decoder() const { + return _impl_.needs_decoder_; +} +inline bool CSVCMsg_SendTable::needs_decoder() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.needs_decoder) + return _internal_needs_decoder(); +} +inline void CSVCMsg_SendTable::_internal_set_needs_decoder(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.needs_decoder_ = value; +} +inline void CSVCMsg_SendTable::set_needs_decoder(bool value) { + _internal_set_needs_decoder(value); + // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.needs_decoder) +} + +// repeated .CSVCMsg_SendTable.sendprop_t props = 4; +inline int CSVCMsg_SendTable::_internal_props_size() const { + return _impl_.props_.size(); +} +inline int CSVCMsg_SendTable::props_size() const { + return _internal_props_size(); +} +inline void CSVCMsg_SendTable::clear_props() { + _impl_.props_.Clear(); +} +inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::mutable_props(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.props) + return _impl_.props_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* +CSVCMsg_SendTable::mutable_props() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_SendTable.props) + return &_impl_.props_; +} +inline const ::CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable::_internal_props(int index) const { + return _impl_.props_.Get(index); +} +inline const ::CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable::props(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.props) + return _internal_props(index); +} +inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::_internal_add_props() { + return _impl_.props_.Add(); +} +inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::add_props() { + ::CSVCMsg_SendTable_sendprop_t* _add = _internal_add_props(); + // @@protoc_insertion_point(field_add:CSVCMsg_SendTable.props) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& +CSVCMsg_SendTable::props() const { + // @@protoc_insertion_point(field_list:CSVCMsg_SendTable.props) + return _impl_.props_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList_key_t + +// optional int32 type = 1; +inline bool CSVCMsg_GameEventList_key_t::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GameEventList_key_t::has_type() const { + return _internal_has_type(); +} +inline void CSVCMsg_GameEventList_key_t::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_GameEventList_key_t::_internal_type() const { + return _impl_.type_; +} +inline int32_t CSVCMsg_GameEventList_key_t::type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.key_t.type) + return _internal_type(); +} +inline void CSVCMsg_GameEventList_key_t::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CSVCMsg_GameEventList_key_t::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.key_t.type) +} + +// optional string name = 2; +inline bool CSVCMsg_GameEventList_key_t::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GameEventList_key_t::has_name() const { + return _internal_has_name(); +} +inline void CSVCMsg_GameEventList_key_t::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GameEventList_key_t::name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.key_t.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameEventList_key_t::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.key_t.name) +} +inline std::string* CSVCMsg_GameEventList_key_t::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.key_t.name) + return _s; +} +inline const std::string& CSVCMsg_GameEventList_key_t::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CSVCMsg_GameEventList_key_t::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEventList_key_t::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEventList_key_t::release_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameEventList.key_t.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameEventList_key_t::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CSVCMsg_GameEventList.key_t.name) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList_descriptor_t + +// optional int32 eventid = 1; +inline bool CSVCMsg_GameEventList_descriptor_t::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GameEventList_descriptor_t::has_eventid() const { + return _internal_has_eventid(); +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_GameEventList_descriptor_t::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CSVCMsg_GameEventList_descriptor_t::eventid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.eventid) + return _internal_eventid(); +} +inline void CSVCMsg_GameEventList_descriptor_t::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.eventid_ = value; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.descriptor_t.eventid) +} + +// optional string name = 2; +inline bool CSVCMsg_GameEventList_descriptor_t::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GameEventList_descriptor_t::has_name() const { + return _internal_has_name(); +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GameEventList_descriptor_t::name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameEventList_descriptor_t::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.descriptor_t.name) +} +inline std::string* CSVCMsg_GameEventList_descriptor_t::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptor_t.name) + return _s; +} +inline const std::string& CSVCMsg_GameEventList_descriptor_t::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CSVCMsg_GameEventList_descriptor_t::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEventList_descriptor_t::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEventList_descriptor_t::release_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameEventList.descriptor_t.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CSVCMsg_GameEventList.descriptor_t.name) +} + +// repeated .CSVCMsg_GameEventList.key_t keys = 3; +inline int CSVCMsg_GameEventList_descriptor_t::_internal_keys_size() const { + return _impl_.keys_.size(); +} +inline int CSVCMsg_GameEventList_descriptor_t::keys_size() const { + return _internal_keys_size(); +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_keys() { + _impl_.keys_.Clear(); +} +inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::mutable_keys(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptor_t.keys) + return _impl_.keys_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* +CSVCMsg_GameEventList_descriptor_t::mutable_keys() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEventList.descriptor_t.keys) + return &_impl_.keys_; +} +inline const ::CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_descriptor_t::_internal_keys(int index) const { + return _impl_.keys_.Get(index); +} +inline const ::CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_descriptor_t::keys(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.keys) + return _internal_keys(index); +} +inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::_internal_add_keys() { + return _impl_.keys_.Add(); +} +inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::add_keys() { + ::CSVCMsg_GameEventList_key_t* _add = _internal_add_keys(); + // @@protoc_insertion_point(field_add:CSVCMsg_GameEventList.descriptor_t.keys) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& +CSVCMsg_GameEventList_descriptor_t::keys() const { + // @@protoc_insertion_point(field_list:CSVCMsg_GameEventList.descriptor_t.keys) + return _impl_.keys_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList + +// repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; +inline int CSVCMsg_GameEventList::_internal_descriptors_size() const { + return _impl_.descriptors_.size(); +} +inline int CSVCMsg_GameEventList::descriptors_size() const { + return _internal_descriptors_size(); +} +inline void CSVCMsg_GameEventList::clear_descriptors() { + _impl_.descriptors_.Clear(); +} +inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::mutable_descriptors(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptors) + return _impl_.descriptors_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* +CSVCMsg_GameEventList::mutable_descriptors() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEventList.descriptors) + return &_impl_.descriptors_; +} +inline const ::CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList::_internal_descriptors(int index) const { + return _impl_.descriptors_.Get(index); +} +inline const ::CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList::descriptors(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptors) + return _internal_descriptors(index); +} +inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::_internal_add_descriptors() { + return _impl_.descriptors_.Add(); +} +inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::add_descriptors() { + ::CSVCMsg_GameEventList_descriptor_t* _add = _internal_add_descriptors(); + // @@protoc_insertion_point(field_add:CSVCMsg_GameEventList.descriptors) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& +CSVCMsg_GameEventList::descriptors() const { + // @@protoc_insertion_point(field_list:CSVCMsg_GameEventList.descriptors) + return _impl_.descriptors_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketEntities_alternate_baseline_t + +// optional int32 entity_index = 1; +inline bool CSVCMsg_PacketEntities_alternate_baseline_t::_internal_has_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_alternate_baseline_t::has_entity_index() const { + return _internal_has_entity_index(); +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::clear_entity_index() { + _impl_.entity_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::_internal_entity_index() const { + return _impl_.entity_index_; +} +inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::entity_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baseline_t.entity_index) + return _internal_entity_index(); +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::_internal_set_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_index_ = value; +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::set_entity_index(int32_t value) { + _internal_set_entity_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.alternate_baseline_t.entity_index) +} + +// optional int32 baseline_index = 2; +inline bool CSVCMsg_PacketEntities_alternate_baseline_t::_internal_has_baseline_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_alternate_baseline_t::has_baseline_index() const { + return _internal_has_baseline_index(); +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::clear_baseline_index() { + _impl_.baseline_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::_internal_baseline_index() const { + return _impl_.baseline_index_; +} +inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::baseline_index() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baseline_t.baseline_index) + return _internal_baseline_index(); +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::_internal_set_baseline_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.baseline_index_ = value; +} +inline void CSVCMsg_PacketEntities_alternate_baseline_t::set_baseline_index(int32_t value) { + _internal_set_baseline_index(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.alternate_baseline_t.baseline_index) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketEntities_non_transmitted_entities_t + +// optional int32 header_count = 1; +inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_has_header_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::has_header_count() const { + return _internal_has_header_count(); +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::clear_header_count() { + _impl_.header_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_header_count() const { + return _impl_.header_count_; +} +inline int32_t CSVCMsg_PacketEntities_non_transmitted_entities_t::header_count() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities_t.header_count) + return _internal_header_count(); +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_set_header_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.header_count_ = value; +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_header_count(int32_t value) { + _internal_set_header_count(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.non_transmitted_entities_t.header_count) +} + +// optional bytes data = 2; +inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::has_data() const { + return _internal_has_data(); +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_PacketEntities_non_transmitted_entities_t::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) +} +inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) + return _s; +} +inline const std::string& CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::release_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketEntities_outofpvs_entity_updates_t + +// optional int32 count = 1; +inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::has_count() const { + return _internal_has_count(); +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::clear_count() { + _impl_.count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_count() const { + return _impl_.count_; +} +inline int32_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::count() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.count) + return _internal_count(); +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_set_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.count_ = value; +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_count(int32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.count) +} + +// optional bytes data = 2; +inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::has_data() const { + return _internal_has_data(); +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_PacketEntities_outofpvs_entity_updates_t::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) +} +inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) + return _s; +} +inline const std::string& CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::release_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketEntities + +// optional int32 max_entries = 1; +inline bool CSVCMsg_PacketEntities::_internal_has_max_entries() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_max_entries() const { + return _internal_has_max_entries(); +} +inline void CSVCMsg_PacketEntities::clear_max_entries() { + _impl_.max_entries_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_PacketEntities::_internal_max_entries() const { + return _impl_.max_entries_; +} +inline int32_t CSVCMsg_PacketEntities::max_entries() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.max_entries) + return _internal_max_entries(); +} +inline void CSVCMsg_PacketEntities::_internal_set_max_entries(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.max_entries_ = value; +} +inline void CSVCMsg_PacketEntities::set_max_entries(int32_t value) { + _internal_set_max_entries(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.max_entries) +} + +// optional int32 updated_entries = 2; +inline bool CSVCMsg_PacketEntities::_internal_has_updated_entries() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_updated_entries() const { + return _internal_has_updated_entries(); +} +inline void CSVCMsg_PacketEntities::clear_updated_entries() { + _impl_.updated_entries_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CSVCMsg_PacketEntities::_internal_updated_entries() const { + return _impl_.updated_entries_; +} +inline int32_t CSVCMsg_PacketEntities::updated_entries() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.updated_entries) + return _internal_updated_entries(); +} +inline void CSVCMsg_PacketEntities::_internal_set_updated_entries(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.updated_entries_ = value; +} +inline void CSVCMsg_PacketEntities::set_updated_entries(int32_t value) { + _internal_set_updated_entries(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.updated_entries) +} + +// optional bool legacy_is_delta = 3; +inline bool CSVCMsg_PacketEntities::_internal_has_legacy_is_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_legacy_is_delta() const { + return _internal_has_legacy_is_delta(); +} +inline void CSVCMsg_PacketEntities::clear_legacy_is_delta() { + _impl_.legacy_is_delta_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CSVCMsg_PacketEntities::_internal_legacy_is_delta() const { + return _impl_.legacy_is_delta_; +} +inline bool CSVCMsg_PacketEntities::legacy_is_delta() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.legacy_is_delta) + return _internal_legacy_is_delta(); +} +inline void CSVCMsg_PacketEntities::_internal_set_legacy_is_delta(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.legacy_is_delta_ = value; +} +inline void CSVCMsg_PacketEntities::set_legacy_is_delta(bool value) { + _internal_set_legacy_is_delta(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.legacy_is_delta) +} + +// optional bool update_baseline = 4; +inline bool CSVCMsg_PacketEntities::_internal_has_update_baseline() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_update_baseline() const { + return _internal_has_update_baseline(); +} +inline void CSVCMsg_PacketEntities::clear_update_baseline() { + _impl_.update_baseline_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CSVCMsg_PacketEntities::_internal_update_baseline() const { + return _impl_.update_baseline_; +} +inline bool CSVCMsg_PacketEntities::update_baseline() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.update_baseline) + return _internal_update_baseline(); +} +inline void CSVCMsg_PacketEntities::_internal_set_update_baseline(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.update_baseline_ = value; +} +inline void CSVCMsg_PacketEntities::set_update_baseline(bool value) { + _internal_set_update_baseline(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.update_baseline) +} + +// optional int32 baseline = 5; +inline bool CSVCMsg_PacketEntities::_internal_has_baseline() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_baseline() const { + return _internal_has_baseline(); +} +inline void CSVCMsg_PacketEntities::clear_baseline() { + _impl_.baseline_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CSVCMsg_PacketEntities::_internal_baseline() const { + return _impl_.baseline_; +} +inline int32_t CSVCMsg_PacketEntities::baseline() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.baseline) + return _internal_baseline(); +} +inline void CSVCMsg_PacketEntities::_internal_set_baseline(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.baseline_ = value; +} +inline void CSVCMsg_PacketEntities::set_baseline(int32_t value) { + _internal_set_baseline(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.baseline) +} + +// optional int32 delta_from = 6; +inline bool CSVCMsg_PacketEntities::_internal_has_delta_from() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_delta_from() const { + return _internal_has_delta_from(); +} +inline void CSVCMsg_PacketEntities::clear_delta_from() { + _impl_.delta_from_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CSVCMsg_PacketEntities::_internal_delta_from() const { + return _impl_.delta_from_; +} +inline int32_t CSVCMsg_PacketEntities::delta_from() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.delta_from) + return _internal_delta_from(); +} +inline void CSVCMsg_PacketEntities::_internal_set_delta_from(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.delta_from_ = value; +} +inline void CSVCMsg_PacketEntities::set_delta_from(int32_t value) { + _internal_set_delta_from(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.delta_from) +} + +// optional bytes entity_data = 7; +inline bool CSVCMsg_PacketEntities::_internal_has_entity_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_entity_data() const { + return _internal_has_entity_data(); +} +inline void CSVCMsg_PacketEntities::clear_entity_data() { + _impl_.entity_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_PacketEntities::entity_data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.entity_data) + return _internal_entity_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_PacketEntities::set_entity_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.entity_data) +} +inline std::string* CSVCMsg_PacketEntities::mutable_entity_data() { + std::string* _s = _internal_mutable_entity_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.entity_data) + return _s; +} +inline const std::string& CSVCMsg_PacketEntities::_internal_entity_data() const { + return _impl_.entity_data_.Get(); +} +inline void CSVCMsg_PacketEntities::_internal_set_entity_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::_internal_mutable_entity_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.entity_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::release_entity_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.entity_data) + if (!_internal_has_entity_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.entity_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entity_data_.IsDefault()) { + _impl_.entity_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_PacketEntities::set_allocated_entity_data(std::string* entity_data) { + if (entity_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.entity_data_.SetAllocated(entity_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entity_data_.IsDefault()) { + _impl_.entity_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.entity_data) +} + +// optional bool pending_full_frame = 8; +inline bool CSVCMsg_PacketEntities::_internal_has_pending_full_frame() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_pending_full_frame() const { + return _internal_has_pending_full_frame(); +} +inline void CSVCMsg_PacketEntities::clear_pending_full_frame() { + _impl_.pending_full_frame_ = false; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline bool CSVCMsg_PacketEntities::_internal_pending_full_frame() const { + return _impl_.pending_full_frame_; +} +inline bool CSVCMsg_PacketEntities::pending_full_frame() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.pending_full_frame) + return _internal_pending_full_frame(); +} +inline void CSVCMsg_PacketEntities::_internal_set_pending_full_frame(bool value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.pending_full_frame_ = value; +} +inline void CSVCMsg_PacketEntities::set_pending_full_frame(bool value) { + _internal_set_pending_full_frame(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.pending_full_frame) +} + +// optional uint32 active_spawngroup_handle = 9; +inline bool CSVCMsg_PacketEntities::_internal_has_active_spawngroup_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_active_spawngroup_handle() const { + return _internal_has_active_spawngroup_handle(); +} +inline void CSVCMsg_PacketEntities::clear_active_spawngroup_handle() { + _impl_.active_spawngroup_handle_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_active_spawngroup_handle() const { + return _impl_.active_spawngroup_handle_; +} +inline uint32_t CSVCMsg_PacketEntities::active_spawngroup_handle() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.active_spawngroup_handle) + return _internal_active_spawngroup_handle(); +} +inline void CSVCMsg_PacketEntities::_internal_set_active_spawngroup_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.active_spawngroup_handle_ = value; +} +inline void CSVCMsg_PacketEntities::set_active_spawngroup_handle(uint32_t value) { + _internal_set_active_spawngroup_handle(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.active_spawngroup_handle) +} + +// optional uint32 max_spawngroup_creationsequence = 10; +inline bool CSVCMsg_PacketEntities::_internal_has_max_spawngroup_creationsequence() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_max_spawngroup_creationsequence() const { + return _internal_has_max_spawngroup_creationsequence(); +} +inline void CSVCMsg_PacketEntities::clear_max_spawngroup_creationsequence() { + _impl_.max_spawngroup_creationsequence_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_max_spawngroup_creationsequence() const { + return _impl_.max_spawngroup_creationsequence_; +} +inline uint32_t CSVCMsg_PacketEntities::max_spawngroup_creationsequence() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) + return _internal_max_spawngroup_creationsequence(); +} +inline void CSVCMsg_PacketEntities::_internal_set_max_spawngroup_creationsequence(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.max_spawngroup_creationsequence_ = value; +} +inline void CSVCMsg_PacketEntities::set_max_spawngroup_creationsequence(uint32_t value) { + _internal_set_max_spawngroup_creationsequence(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) +} + +// optional uint32 last_cmd_number_executed = 11; +inline bool CSVCMsg_PacketEntities::_internal_has_last_cmd_number_executed() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_last_cmd_number_executed() const { + return _internal_has_last_cmd_number_executed(); +} +inline void CSVCMsg_PacketEntities::clear_last_cmd_number_executed() { + _impl_.last_cmd_number_executed_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_last_cmd_number_executed() const { + return _impl_.last_cmd_number_executed_; +} +inline uint32_t CSVCMsg_PacketEntities::last_cmd_number_executed() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.last_cmd_number_executed) + return _internal_last_cmd_number_executed(); +} +inline void CSVCMsg_PacketEntities::_internal_set_last_cmd_number_executed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.last_cmd_number_executed_ = value; +} +inline void CSVCMsg_PacketEntities::set_last_cmd_number_executed(uint32_t value) { + _internal_set_last_cmd_number_executed(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.last_cmd_number_executed) +} + +// optional sint32 last_cmd_number_recv_delta = 17; +inline bool CSVCMsg_PacketEntities::_internal_has_last_cmd_number_recv_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_last_cmd_number_recv_delta() const { + return _internal_has_last_cmd_number_recv_delta(); +} +inline void CSVCMsg_PacketEntities::clear_last_cmd_number_recv_delta() { + _impl_.last_cmd_number_recv_delta_ = 0; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline int32_t CSVCMsg_PacketEntities::_internal_last_cmd_number_recv_delta() const { + return _impl_.last_cmd_number_recv_delta_; +} +inline int32_t CSVCMsg_PacketEntities::last_cmd_number_recv_delta() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.last_cmd_number_recv_delta) + return _internal_last_cmd_number_recv_delta(); +} +inline void CSVCMsg_PacketEntities::_internal_set_last_cmd_number_recv_delta(int32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.last_cmd_number_recv_delta_ = value; +} +inline void CSVCMsg_PacketEntities::set_last_cmd_number_recv_delta(int32_t value) { + _internal_set_last_cmd_number_recv_delta(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.last_cmd_number_recv_delta) +} + +// optional uint32 server_tick = 12; +inline bool CSVCMsg_PacketEntities::_internal_has_server_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_server_tick() const { + return _internal_has_server_tick(); +} +inline void CSVCMsg_PacketEntities::clear_server_tick() { + _impl_.server_tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_server_tick() const { + return _impl_.server_tick_; +} +inline uint32_t CSVCMsg_PacketEntities::server_tick() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.server_tick) + return _internal_server_tick(); +} +inline void CSVCMsg_PacketEntities::_internal_set_server_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.server_tick_ = value; +} +inline void CSVCMsg_PacketEntities::set_server_tick(uint32_t value) { + _internal_set_server_tick(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.server_tick) +} + +// optional bytes serialized_entities = 13; +inline bool CSVCMsg_PacketEntities::_internal_has_serialized_entities() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_serialized_entities() const { + return _internal_has_serialized_entities(); +} +inline void CSVCMsg_PacketEntities::clear_serialized_entities() { + _impl_.serialized_entities_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_PacketEntities::serialized_entities() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.serialized_entities) + return _internal_serialized_entities(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_PacketEntities::set_serialized_entities(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.serialized_entities_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.serialized_entities) +} +inline std::string* CSVCMsg_PacketEntities::mutable_serialized_entities() { + std::string* _s = _internal_mutable_serialized_entities(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.serialized_entities) + return _s; +} +inline const std::string& CSVCMsg_PacketEntities::_internal_serialized_entities() const { + return _impl_.serialized_entities_.Get(); +} +inline void CSVCMsg_PacketEntities::_internal_set_serialized_entities(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.serialized_entities_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::_internal_mutable_serialized_entities() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.serialized_entities_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::release_serialized_entities() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.serialized_entities) + if (!_internal_has_serialized_entities()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.serialized_entities_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.serialized_entities_.IsDefault()) { + _impl_.serialized_entities_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_PacketEntities::set_allocated_serialized_entities(std::string* serialized_entities) { + if (serialized_entities != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.serialized_entities_.SetAllocated(serialized_entities, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.serialized_entities_.IsDefault()) { + _impl_.serialized_entities_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.serialized_entities) +} + +// repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; +inline int CSVCMsg_PacketEntities::_internal_alternate_baselines_size() const { + return _impl_.alternate_baselines_.size(); +} +inline int CSVCMsg_PacketEntities::alternate_baselines_size() const { + return _internal_alternate_baselines_size(); +} +inline void CSVCMsg_PacketEntities::clear_alternate_baselines() { + _impl_.alternate_baselines_.Clear(); +} +inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::mutable_alternate_baselines(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.alternate_baselines) + return _impl_.alternate_baselines_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >* +CSVCMsg_PacketEntities::mutable_alternate_baselines() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PacketEntities.alternate_baselines) + return &_impl_.alternate_baselines_; +} +inline const ::CSVCMsg_PacketEntities_alternate_baseline_t& CSVCMsg_PacketEntities::_internal_alternate_baselines(int index) const { + return _impl_.alternate_baselines_.Get(index); +} +inline const ::CSVCMsg_PacketEntities_alternate_baseline_t& CSVCMsg_PacketEntities::alternate_baselines(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baselines) + return _internal_alternate_baselines(index); +} +inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::_internal_add_alternate_baselines() { + return _impl_.alternate_baselines_.Add(); +} +inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::add_alternate_baselines() { + ::CSVCMsg_PacketEntities_alternate_baseline_t* _add = _internal_add_alternate_baselines(); + // @@protoc_insertion_point(field_add:CSVCMsg_PacketEntities.alternate_baselines) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >& +CSVCMsg_PacketEntities::alternate_baselines() const { + // @@protoc_insertion_point(field_list:CSVCMsg_PacketEntities.alternate_baselines) + return _impl_.alternate_baselines_; +} + +// optional uint32 has_pvs_vis_bits_deprecated = 16; +inline bool CSVCMsg_PacketEntities::_internal_has_has_pvs_vis_bits_deprecated() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_has_pvs_vis_bits_deprecated() const { + return _internal_has_has_pvs_vis_bits_deprecated(); +} +inline void CSVCMsg_PacketEntities::clear_has_pvs_vis_bits_deprecated() { + _impl_.has_pvs_vis_bits_deprecated_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_has_pvs_vis_bits_deprecated() const { + return _impl_.has_pvs_vis_bits_deprecated_; +} +inline uint32_t CSVCMsg_PacketEntities::has_pvs_vis_bits_deprecated() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.has_pvs_vis_bits_deprecated) + return _internal_has_pvs_vis_bits_deprecated(); +} +inline void CSVCMsg_PacketEntities::_internal_set_has_pvs_vis_bits_deprecated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.has_pvs_vis_bits_deprecated_ = value; +} +inline void CSVCMsg_PacketEntities::set_has_pvs_vis_bits_deprecated(uint32_t value) { + _internal_set_has_pvs_vis_bits_deprecated(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.has_pvs_vis_bits_deprecated) +} + +// repeated sint32 cmd_recv_status = 22 [packed = true]; +inline int CSVCMsg_PacketEntities::_internal_cmd_recv_status_size() const { + return _impl_.cmd_recv_status_.size(); +} +inline int CSVCMsg_PacketEntities::cmd_recv_status_size() const { + return _internal_cmd_recv_status_size(); +} +inline void CSVCMsg_PacketEntities::clear_cmd_recv_status() { + _impl_.cmd_recv_status_.Clear(); +} +inline int32_t CSVCMsg_PacketEntities::_internal_cmd_recv_status(int index) const { + return _impl_.cmd_recv_status_.Get(index); +} +inline int32_t CSVCMsg_PacketEntities::cmd_recv_status(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cmd_recv_status) + return _internal_cmd_recv_status(index); +} +inline void CSVCMsg_PacketEntities::set_cmd_recv_status(int index, int32_t value) { + _impl_.cmd_recv_status_.Set(index, value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cmd_recv_status) +} +inline void CSVCMsg_PacketEntities::_internal_add_cmd_recv_status(int32_t value) { + _impl_.cmd_recv_status_.Add(value); +} +inline void CSVCMsg_PacketEntities::add_cmd_recv_status(int32_t value) { + _internal_add_cmd_recv_status(value); + // @@protoc_insertion_point(field_add:CSVCMsg_PacketEntities.cmd_recv_status) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CSVCMsg_PacketEntities::_internal_cmd_recv_status() const { + return _impl_.cmd_recv_status_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CSVCMsg_PacketEntities::cmd_recv_status() const { + // @@protoc_insertion_point(field_list:CSVCMsg_PacketEntities.cmd_recv_status) + return _internal_cmd_recv_status(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CSVCMsg_PacketEntities::_internal_mutable_cmd_recv_status() { + return &_impl_.cmd_recv_status_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CSVCMsg_PacketEntities::mutable_cmd_recv_status() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PacketEntities.cmd_recv_status) + return _internal_mutable_cmd_recv_status(); +} + +// optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; +inline bool CSVCMsg_PacketEntities::_internal_has_non_transmitted_entities() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.non_transmitted_entities_ != nullptr); + return value; +} +inline bool CSVCMsg_PacketEntities::has_non_transmitted_entities() const { + return _internal_has_non_transmitted_entities(); +} +inline void CSVCMsg_PacketEntities::clear_non_transmitted_entities() { + if (_impl_.non_transmitted_entities_ != nullptr) _impl_.non_transmitted_entities_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& CSVCMsg_PacketEntities::_internal_non_transmitted_entities() const { + const ::CSVCMsg_PacketEntities_non_transmitted_entities_t* p = _impl_.non_transmitted_entities_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_); +} +inline const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& CSVCMsg_PacketEntities::non_transmitted_entities() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities) + return _internal_non_transmitted_entities(); +} +inline void CSVCMsg_PacketEntities::unsafe_arena_set_allocated_non_transmitted_entities( + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.non_transmitted_entities_); + } + _impl_.non_transmitted_entities_ = non_transmitted_entities; + if (non_transmitted_entities) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities) +} +inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::release_non_transmitted_entities() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* temp = _impl_.non_transmitted_entities_; + _impl_.non_transmitted_entities_ = 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 ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::unsafe_arena_release_non_transmitted_entities() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.non_transmitted_entities) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* temp = _impl_.non_transmitted_entities_; + _impl_.non_transmitted_entities_ = nullptr; + return temp; +} +inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::_internal_mutable_non_transmitted_entities() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.non_transmitted_entities_ == nullptr) { + auto* p = CreateMaybeMessage<::CSVCMsg_PacketEntities_non_transmitted_entities_t>(GetArenaForAllocation()); + _impl_.non_transmitted_entities_ = p; + } + return _impl_.non_transmitted_entities_; +} +inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::mutable_non_transmitted_entities() { + ::CSVCMsg_PacketEntities_non_transmitted_entities_t* _msg = _internal_mutable_non_transmitted_entities(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.non_transmitted_entities) + return _msg; +} +inline void CSVCMsg_PacketEntities::set_allocated_non_transmitted_entities(::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.non_transmitted_entities_; + } + if (non_transmitted_entities) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(non_transmitted_entities); + if (message_arena != submessage_arena) { + non_transmitted_entities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, non_transmitted_entities, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.non_transmitted_entities_ = non_transmitted_entities; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities) +} + +// optional uint32 cq_starved_command_ticks = 20; +inline bool CSVCMsg_PacketEntities::_internal_has_cq_starved_command_ticks() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_cq_starved_command_ticks() const { + return _internal_has_cq_starved_command_ticks(); +} +inline void CSVCMsg_PacketEntities::clear_cq_starved_command_ticks() { + _impl_.cq_starved_command_ticks_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_cq_starved_command_ticks() const { + return _impl_.cq_starved_command_ticks_; +} +inline uint32_t CSVCMsg_PacketEntities::cq_starved_command_ticks() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cq_starved_command_ticks) + return _internal_cq_starved_command_ticks(); +} +inline void CSVCMsg_PacketEntities::_internal_set_cq_starved_command_ticks(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.cq_starved_command_ticks_ = value; +} +inline void CSVCMsg_PacketEntities::set_cq_starved_command_ticks(uint32_t value) { + _internal_set_cq_starved_command_ticks(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cq_starved_command_ticks) +} + +// optional uint32 cq_discarded_command_ticks = 21; +inline bool CSVCMsg_PacketEntities::_internal_has_cq_discarded_command_ticks() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_cq_discarded_command_ticks() const { + return _internal_has_cq_discarded_command_ticks(); +} +inline void CSVCMsg_PacketEntities::clear_cq_discarded_command_ticks() { + _impl_.cq_discarded_command_ticks_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CSVCMsg_PacketEntities::_internal_cq_discarded_command_ticks() const { + return _impl_.cq_discarded_command_ticks_; +} +inline uint32_t CSVCMsg_PacketEntities::cq_discarded_command_ticks() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cq_discarded_command_ticks) + return _internal_cq_discarded_command_ticks(); +} +inline void CSVCMsg_PacketEntities::_internal_set_cq_discarded_command_ticks(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.cq_discarded_command_ticks_ = value; +} +inline void CSVCMsg_PacketEntities::set_cq_discarded_command_ticks(uint32_t value) { + _internal_set_cq_discarded_command_ticks(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cq_discarded_command_ticks) +} + +// optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; +inline bool CSVCMsg_PacketEntities::_internal_has_outofpvs_entity_updates() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.outofpvs_entity_updates_ != nullptr); + return value; +} +inline bool CSVCMsg_PacketEntities::has_outofpvs_entity_updates() const { + return _internal_has_outofpvs_entity_updates(); +} +inline void CSVCMsg_PacketEntities::clear_outofpvs_entity_updates() { + if (_impl_.outofpvs_entity_updates_ != nullptr) _impl_.outofpvs_entity_updates_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& CSVCMsg_PacketEntities::_internal_outofpvs_entity_updates() const { + const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* p = _impl_.outofpvs_entity_updates_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_); +} +inline const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& CSVCMsg_PacketEntities::outofpvs_entity_updates() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates) + return _internal_outofpvs_entity_updates(); +} +inline void CSVCMsg_PacketEntities::unsafe_arena_set_allocated_outofpvs_entity_updates( + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.outofpvs_entity_updates_); + } + _impl_.outofpvs_entity_updates_ = outofpvs_entity_updates; + if (outofpvs_entity_updates) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates) +} +inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::release_outofpvs_entity_updates() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* temp = _impl_.outofpvs_entity_updates_; + _impl_.outofpvs_entity_updates_ = 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 ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::unsafe_arena_release_outofpvs_entity_updates() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.outofpvs_entity_updates) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* temp = _impl_.outofpvs_entity_updates_; + _impl_.outofpvs_entity_updates_ = nullptr; + return temp; +} +inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::_internal_mutable_outofpvs_entity_updates() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.outofpvs_entity_updates_ == nullptr) { + auto* p = CreateMaybeMessage<::CSVCMsg_PacketEntities_outofpvs_entity_updates_t>(GetArenaForAllocation()); + _impl_.outofpvs_entity_updates_ = p; + } + return _impl_.outofpvs_entity_updates_; +} +inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::mutable_outofpvs_entity_updates() { + ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* _msg = _internal_mutable_outofpvs_entity_updates(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.outofpvs_entity_updates) + return _msg; +} +inline void CSVCMsg_PacketEntities::set_allocated_outofpvs_entity_updates(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.outofpvs_entity_updates_; + } + if (outofpvs_entity_updates) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(outofpvs_entity_updates); + if (message_arena != submessage_arena) { + outofpvs_entity_updates = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, outofpvs_entity_updates, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.outofpvs_entity_updates_ = outofpvs_entity_updates; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates) +} + +// optional bytes dev_padding = 999; +inline bool CSVCMsg_PacketEntities::_internal_has_dev_padding() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_PacketEntities::has_dev_padding() const { + return _internal_has_dev_padding(); +} +inline void CSVCMsg_PacketEntities::clear_dev_padding() { + _impl_.dev_padding_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CSVCMsg_PacketEntities::dev_padding() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.dev_padding) + return _internal_dev_padding(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_PacketEntities::set_dev_padding(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dev_padding_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.dev_padding) +} +inline std::string* CSVCMsg_PacketEntities::mutable_dev_padding() { + std::string* _s = _internal_mutable_dev_padding(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.dev_padding) + return _s; +} +inline const std::string& CSVCMsg_PacketEntities::_internal_dev_padding() const { + return _impl_.dev_padding_.Get(); +} +inline void CSVCMsg_PacketEntities::_internal_set_dev_padding(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dev_padding_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::_internal_mutable_dev_padding() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.dev_padding_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_PacketEntities::release_dev_padding() { + // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.dev_padding) + if (!_internal_has_dev_padding()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.dev_padding_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dev_padding_.IsDefault()) { + _impl_.dev_padding_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_PacketEntities::set_allocated_dev_padding(std::string* dev_padding) { + if (dev_padding != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.dev_padding_.SetAllocated(dev_padding, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dev_padding_.IsDefault()) { + _impl_.dev_padding_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.dev_padding) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_TempEntities + +// optional bool reliable = 1; +inline bool CSVCMsg_TempEntities::_internal_has_reliable() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_TempEntities::has_reliable() const { + return _internal_has_reliable(); +} +inline void CSVCMsg_TempEntities::clear_reliable() { + _impl_.reliable_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSVCMsg_TempEntities::_internal_reliable() const { + return _impl_.reliable_; +} +inline bool CSVCMsg_TempEntities::reliable() const { + // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.reliable) + return _internal_reliable(); +} +inline void CSVCMsg_TempEntities::_internal_set_reliable(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reliable_ = value; +} +inline void CSVCMsg_TempEntities::set_reliable(bool value) { + _internal_set_reliable(value); + // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.reliable) +} + +// optional int32 num_entries = 2; +inline bool CSVCMsg_TempEntities::_internal_has_num_entries() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_TempEntities::has_num_entries() const { + return _internal_has_num_entries(); +} +inline void CSVCMsg_TempEntities::clear_num_entries() { + _impl_.num_entries_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_TempEntities::_internal_num_entries() const { + return _impl_.num_entries_; +} +inline int32_t CSVCMsg_TempEntities::num_entries() const { + // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.num_entries) + return _internal_num_entries(); +} +inline void CSVCMsg_TempEntities::_internal_set_num_entries(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_entries_ = value; +} +inline void CSVCMsg_TempEntities::set_num_entries(int32_t value) { + _internal_set_num_entries(value); + // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.num_entries) +} + +// optional bytes entity_data = 3; +inline bool CSVCMsg_TempEntities::_internal_has_entity_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_TempEntities::has_entity_data() const { + return _internal_has_entity_data(); +} +inline void CSVCMsg_TempEntities::clear_entity_data() { + _impl_.entity_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_TempEntities::entity_data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.entity_data) + return _internal_entity_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_TempEntities::set_entity_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.entity_data) +} +inline std::string* CSVCMsg_TempEntities::mutable_entity_data() { + std::string* _s = _internal_mutable_entity_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_TempEntities.entity_data) + return _s; +} +inline const std::string& CSVCMsg_TempEntities::_internal_entity_data() const { + return _impl_.entity_data_.Get(); +} +inline void CSVCMsg_TempEntities::_internal_set_entity_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.entity_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_TempEntities::_internal_mutable_entity_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.entity_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_TempEntities::release_entity_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_TempEntities.entity_data) + if (!_internal_has_entity_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.entity_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entity_data_.IsDefault()) { + _impl_.entity_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_TempEntities::set_allocated_entity_data(std::string* entity_data) { + if (entity_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.entity_data_.SetAllocated(entity_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entity_data_.IsDefault()) { + _impl_.entity_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_TempEntities.entity_data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_CreateStringTable + +// optional string name = 1; +inline bool CSVCMsg_CreateStringTable::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_name() const { + return _internal_has_name(); +} +inline void CSVCMsg_CreateStringTable::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_CreateStringTable::name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_CreateStringTable::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.name) +} +inline std::string* CSVCMsg_CreateStringTable::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_CreateStringTable.name) + return _s; +} +inline const std::string& CSVCMsg_CreateStringTable::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CreateStringTable::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CreateStringTable::release_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_CreateStringTable.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_CreateStringTable::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CSVCMsg_CreateStringTable.name) +} + +// optional int32 num_entries = 2; +inline bool CSVCMsg_CreateStringTable::_internal_has_num_entries() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_num_entries() const { + return _internal_has_num_entries(); +} +inline void CSVCMsg_CreateStringTable::clear_num_entries() { + _impl_.num_entries_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_CreateStringTable::_internal_num_entries() const { + return _impl_.num_entries_; +} +inline int32_t CSVCMsg_CreateStringTable::num_entries() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.num_entries) + return _internal_num_entries(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_num_entries(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_entries_ = value; +} +inline void CSVCMsg_CreateStringTable::set_num_entries(int32_t value) { + _internal_set_num_entries(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.num_entries) +} + +// optional bool user_data_fixed_size = 3; +inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_fixed_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_user_data_fixed_size() const { + return _internal_has_user_data_fixed_size(); +} +inline void CSVCMsg_CreateStringTable::clear_user_data_fixed_size() { + _impl_.user_data_fixed_size_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CSVCMsg_CreateStringTable::_internal_user_data_fixed_size() const { + return _impl_.user_data_fixed_size_; +} +inline bool CSVCMsg_CreateStringTable::user_data_fixed_size() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_fixed_size) + return _internal_user_data_fixed_size(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_user_data_fixed_size(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.user_data_fixed_size_ = value; +} +inline void CSVCMsg_CreateStringTable::set_user_data_fixed_size(bool value) { + _internal_set_user_data_fixed_size(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_fixed_size) +} + +// optional int32 user_data_size = 4; +inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_user_data_size() const { + return _internal_has_user_data_size(); +} +inline void CSVCMsg_CreateStringTable::clear_user_data_size() { + _impl_.user_data_size_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_CreateStringTable::_internal_user_data_size() const { + return _impl_.user_data_size_; +} +inline int32_t CSVCMsg_CreateStringTable::user_data_size() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_size) + return _internal_user_data_size(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_user_data_size(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.user_data_size_ = value; +} +inline void CSVCMsg_CreateStringTable::set_user_data_size(int32_t value) { + _internal_set_user_data_size(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size) +} + +// optional int32 user_data_size_bits = 5; +inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_size_bits() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_user_data_size_bits() const { + return _internal_has_user_data_size_bits(); +} +inline void CSVCMsg_CreateStringTable::clear_user_data_size_bits() { + _impl_.user_data_size_bits_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CSVCMsg_CreateStringTable::_internal_user_data_size_bits() const { + return _impl_.user_data_size_bits_; +} +inline int32_t CSVCMsg_CreateStringTable::user_data_size_bits() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_size_bits) + return _internal_user_data_size_bits(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_user_data_size_bits(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.user_data_size_bits_ = value; +} +inline void CSVCMsg_CreateStringTable::set_user_data_size_bits(int32_t value) { + _internal_set_user_data_size_bits(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size_bits) +} + +// optional int32 flags = 6; +inline bool CSVCMsg_CreateStringTable::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_flags() const { + return _internal_has_flags(); +} +inline void CSVCMsg_CreateStringTable::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_CreateStringTable::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CSVCMsg_CreateStringTable::flags() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.flags) + return _internal_flags(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.flags_ = value; +} +inline void CSVCMsg_CreateStringTable::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.flags) +} + +// optional bytes string_data = 7; +inline bool CSVCMsg_CreateStringTable::_internal_has_string_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_string_data() const { + return _internal_has_string_data(); +} +inline void CSVCMsg_CreateStringTable::clear_string_data() { + _impl_.string_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_CreateStringTable::string_data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.string_data) + return _internal_string_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_CreateStringTable::set_string_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.string_data) +} +inline std::string* CSVCMsg_CreateStringTable::mutable_string_data() { + std::string* _s = _internal_mutable_string_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_CreateStringTable.string_data) + return _s; +} +inline const std::string& CSVCMsg_CreateStringTable::_internal_string_data() const { + return _impl_.string_data_.Get(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_string_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CreateStringTable::_internal_mutable_string_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.string_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CreateStringTable::release_string_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_CreateStringTable.string_data) + if (!_internal_has_string_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.string_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_data_.IsDefault()) { + _impl_.string_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_CreateStringTable::set_allocated_string_data(std::string* string_data) { + if (string_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.string_data_.SetAllocated(string_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_data_.IsDefault()) { + _impl_.string_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CreateStringTable.string_data) +} + +// optional int32 uncompressed_size = 8; +inline bool CSVCMsg_CreateStringTable::_internal_has_uncompressed_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_uncompressed_size() const { + return _internal_has_uncompressed_size(); +} +inline void CSVCMsg_CreateStringTable::clear_uncompressed_size() { + _impl_.uncompressed_size_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CSVCMsg_CreateStringTable::_internal_uncompressed_size() const { + return _impl_.uncompressed_size_; +} +inline int32_t CSVCMsg_CreateStringTable::uncompressed_size() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.uncompressed_size) + return _internal_uncompressed_size(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_uncompressed_size(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.uncompressed_size_ = value; +} +inline void CSVCMsg_CreateStringTable::set_uncompressed_size(int32_t value) { + _internal_set_uncompressed_size(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.uncompressed_size) +} + +// optional bool data_compressed = 9; +inline bool CSVCMsg_CreateStringTable::_internal_has_data_compressed() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_data_compressed() const { + return _internal_has_data_compressed(); +} +inline void CSVCMsg_CreateStringTable::clear_data_compressed() { + _impl_.data_compressed_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CSVCMsg_CreateStringTable::_internal_data_compressed() const { + return _impl_.data_compressed_; +} +inline bool CSVCMsg_CreateStringTable::data_compressed() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.data_compressed) + return _internal_data_compressed(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_data_compressed(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.data_compressed_ = value; +} +inline void CSVCMsg_CreateStringTable::set_data_compressed(bool value) { + _internal_set_data_compressed(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.data_compressed) +} + +// optional bool using_varint_bitcounts = 10; +inline bool CSVCMsg_CreateStringTable::_internal_has_using_varint_bitcounts() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_CreateStringTable::has_using_varint_bitcounts() const { + return _internal_has_using_varint_bitcounts(); +} +inline void CSVCMsg_CreateStringTable::clear_using_varint_bitcounts() { + _impl_.using_varint_bitcounts_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CSVCMsg_CreateStringTable::_internal_using_varint_bitcounts() const { + return _impl_.using_varint_bitcounts_; +} +inline bool CSVCMsg_CreateStringTable::using_varint_bitcounts() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.using_varint_bitcounts) + return _internal_using_varint_bitcounts(); +} +inline void CSVCMsg_CreateStringTable::_internal_set_using_varint_bitcounts(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.using_varint_bitcounts_ = value; +} +inline void CSVCMsg_CreateStringTable::set_using_varint_bitcounts(bool value) { + _internal_set_using_varint_bitcounts(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.using_varint_bitcounts) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_UpdateStringTable + +// optional int32 table_id = 1; +inline bool CSVCMsg_UpdateStringTable::_internal_has_table_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_UpdateStringTable::has_table_id() const { + return _internal_has_table_id(); +} +inline void CSVCMsg_UpdateStringTable::clear_table_id() { + _impl_.table_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_UpdateStringTable::_internal_table_id() const { + return _impl_.table_id_; +} +inline int32_t CSVCMsg_UpdateStringTable::table_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.table_id) + return _internal_table_id(); +} +inline void CSVCMsg_UpdateStringTable::_internal_set_table_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.table_id_ = value; +} +inline void CSVCMsg_UpdateStringTable::set_table_id(int32_t value) { + _internal_set_table_id(value); + // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.table_id) +} + +// optional int32 num_changed_entries = 2; +inline bool CSVCMsg_UpdateStringTable::_internal_has_num_changed_entries() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_UpdateStringTable::has_num_changed_entries() const { + return _internal_has_num_changed_entries(); +} +inline void CSVCMsg_UpdateStringTable::clear_num_changed_entries() { + _impl_.num_changed_entries_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_UpdateStringTable::_internal_num_changed_entries() const { + return _impl_.num_changed_entries_; +} +inline int32_t CSVCMsg_UpdateStringTable::num_changed_entries() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.num_changed_entries) + return _internal_num_changed_entries(); +} +inline void CSVCMsg_UpdateStringTable::_internal_set_num_changed_entries(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.num_changed_entries_ = value; +} +inline void CSVCMsg_UpdateStringTable::set_num_changed_entries(int32_t value) { + _internal_set_num_changed_entries(value); + // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.num_changed_entries) +} + +// optional bytes string_data = 3; +inline bool CSVCMsg_UpdateStringTable::_internal_has_string_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_UpdateStringTable::has_string_data() const { + return _internal_has_string_data(); +} +inline void CSVCMsg_UpdateStringTable::clear_string_data() { + _impl_.string_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_UpdateStringTable::string_data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.string_data) + return _internal_string_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_UpdateStringTable::set_string_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.string_data) +} +inline std::string* CSVCMsg_UpdateStringTable::mutable_string_data() { + std::string* _s = _internal_mutable_string_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_UpdateStringTable.string_data) + return _s; +} +inline const std::string& CSVCMsg_UpdateStringTable::_internal_string_data() const { + return _impl_.string_data_.Get(); +} +inline void CSVCMsg_UpdateStringTable::_internal_set_string_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_UpdateStringTable::_internal_mutable_string_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.string_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_UpdateStringTable::release_string_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_UpdateStringTable.string_data) + if (!_internal_has_string_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.string_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_data_.IsDefault()) { + _impl_.string_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_UpdateStringTable::set_allocated_string_data(std::string* string_data) { + if (string_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.string_data_.SetAllocated(string_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_data_.IsDefault()) { + _impl_.string_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_UpdateStringTable.string_data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_VoiceData + +// optional .CMsgVoiceAudio audio = 1; +inline bool CSVCMsg_VoiceData::_internal_has_audio() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); + return value; +} +inline bool CSVCMsg_VoiceData::has_audio() const { + return _internal_has_audio(); +} +inline void CSVCMsg_VoiceData::clear_audio() { + if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgVoiceAudio& CSVCMsg_VoiceData::_internal_audio() const { + const ::CMsgVoiceAudio* p = _impl_.audio_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVoiceAudio_default_instance_); +} +inline const ::CMsgVoiceAudio& CSVCMsg_VoiceData::audio() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.audio) + return _internal_audio(); +} +inline void CSVCMsg_VoiceData::unsafe_arena_set_allocated_audio( + ::CMsgVoiceAudio* audio) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); + } + _impl_.audio_ = audio; + if (audio) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_VoiceData.audio) +} +inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::release_audio() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = 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 ::CMsgVoiceAudio* CSVCMsg_VoiceData::unsafe_arena_release_audio() { + // @@protoc_insertion_point(field_release:CSVCMsg_VoiceData.audio) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVoiceAudio* temp = _impl_.audio_; + _impl_.audio_ = nullptr; + return temp; +} +inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::_internal_mutable_audio() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.audio_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); + _impl_.audio_ = p; + } + return _impl_.audio_; +} +inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::mutable_audio() { + ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceData.audio) + return _msg; +} +inline void CSVCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.audio_; + } + if (audio) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(audio); + if (message_arena != submessage_arena) { + audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, audio, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.audio_ = audio; + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceData.audio) +} + +// optional int32 client = 2 [default = -1]; +inline bool CSVCMsg_VoiceData::_internal_has_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_client() const { + return _internal_has_client(); +} +inline void CSVCMsg_VoiceData::clear_client() { + _impl_.client_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CSVCMsg_VoiceData::_internal_client() const { + return _impl_.client_; +} +inline int32_t CSVCMsg_VoiceData::client() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.client) + return _internal_client(); +} +inline void CSVCMsg_VoiceData::_internal_set_client(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.client_ = value; +} +inline void CSVCMsg_VoiceData::set_client(int32_t value) { + _internal_set_client(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.client) +} + +// optional bool proximity = 3; +inline bool CSVCMsg_VoiceData::_internal_has_proximity() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_proximity() const { + return _internal_has_proximity(); +} +inline void CSVCMsg_VoiceData::clear_proximity() { + _impl_.proximity_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CSVCMsg_VoiceData::_internal_proximity() const { + return _impl_.proximity_; +} +inline bool CSVCMsg_VoiceData::proximity() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.proximity) + return _internal_proximity(); +} +inline void CSVCMsg_VoiceData::_internal_set_proximity(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.proximity_ = value; +} +inline void CSVCMsg_VoiceData::set_proximity(bool value) { + _internal_set_proximity(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.proximity) +} + +// optional fixed64 xuid = 4; +inline bool CSVCMsg_VoiceData::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_xuid() const { + return _internal_has_xuid(); +} +inline void CSVCMsg_VoiceData::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CSVCMsg_VoiceData::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CSVCMsg_VoiceData::xuid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.xuid) + return _internal_xuid(); +} +inline void CSVCMsg_VoiceData::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.xuid_ = value; +} +inline void CSVCMsg_VoiceData::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.xuid) +} + +// optional int32 audible_mask = 5; +inline bool CSVCMsg_VoiceData::_internal_has_audible_mask() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_audible_mask() const { + return _internal_has_audible_mask(); +} +inline void CSVCMsg_VoiceData::clear_audible_mask() { + _impl_.audible_mask_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_VoiceData::_internal_audible_mask() const { + return _impl_.audible_mask_; +} +inline int32_t CSVCMsg_VoiceData::audible_mask() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.audible_mask) + return _internal_audible_mask(); +} +inline void CSVCMsg_VoiceData::_internal_set_audible_mask(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.audible_mask_ = value; +} +inline void CSVCMsg_VoiceData::set_audible_mask(int32_t value) { + _internal_set_audible_mask(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.audible_mask) +} + +// optional uint32 tick = 6; +inline bool CSVCMsg_VoiceData::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_tick() const { + return _internal_has_tick(); +} +inline void CSVCMsg_VoiceData::clear_tick() { + _impl_.tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CSVCMsg_VoiceData::_internal_tick() const { + return _impl_.tick_; +} +inline uint32_t CSVCMsg_VoiceData::tick() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.tick) + return _internal_tick(); +} +inline void CSVCMsg_VoiceData::_internal_set_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.tick_ = value; +} +inline void CSVCMsg_VoiceData::set_tick(uint32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.tick) +} + +// optional int32 passthrough = 7; +inline bool CSVCMsg_VoiceData::_internal_has_passthrough() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_VoiceData::has_passthrough() const { + return _internal_has_passthrough(); +} +inline void CSVCMsg_VoiceData::clear_passthrough() { + _impl_.passthrough_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_VoiceData::_internal_passthrough() const { + return _impl_.passthrough_; +} +inline int32_t CSVCMsg_VoiceData::passthrough() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.passthrough) + return _internal_passthrough(); +} +inline void CSVCMsg_VoiceData::_internal_set_passthrough(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.passthrough_ = value; +} +inline void CSVCMsg_VoiceData::set_passthrough(int32_t value) { + _internal_set_passthrough(value); + // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.passthrough) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketReliable + +// optional int32 tick = 1; +inline bool CSVCMsg_PacketReliable::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_PacketReliable::has_tick() const { + return _internal_has_tick(); +} +inline void CSVCMsg_PacketReliable::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_PacketReliable::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CSVCMsg_PacketReliable::tick() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.tick) + return _internal_tick(); +} +inline void CSVCMsg_PacketReliable::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tick_ = value; +} +inline void CSVCMsg_PacketReliable::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.tick) +} + +// optional int32 messagessize = 2; +inline bool CSVCMsg_PacketReliable::_internal_has_messagessize() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_PacketReliable::has_messagessize() const { + return _internal_has_messagessize(); +} +inline void CSVCMsg_PacketReliable::clear_messagessize() { + _impl_.messagessize_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_PacketReliable::_internal_messagessize() const { + return _impl_.messagessize_; +} +inline int32_t CSVCMsg_PacketReliable::messagessize() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.messagessize) + return _internal_messagessize(); +} +inline void CSVCMsg_PacketReliable::_internal_set_messagessize(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.messagessize_ = value; +} +inline void CSVCMsg_PacketReliable::set_messagessize(int32_t value) { + _internal_set_messagessize(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.messagessize) +} + +// optional bool state = 3; +inline bool CSVCMsg_PacketReliable::_internal_has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_PacketReliable::has_state() const { + return _internal_has_state(); +} +inline void CSVCMsg_PacketReliable::clear_state() { + _impl_.state_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CSVCMsg_PacketReliable::_internal_state() const { + return _impl_.state_; +} +inline bool CSVCMsg_PacketReliable::state() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.state) + return _internal_state(); +} +inline void CSVCMsg_PacketReliable::_internal_set_state(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.state_ = value; +} +inline void CSVCMsg_PacketReliable::set_state(bool value) { + _internal_set_state(value); + // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.state) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_FullFrameSplit + +// optional int32 tick = 1; +inline bool CSVCMsg_FullFrameSplit::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_FullFrameSplit::has_tick() const { + return _internal_has_tick(); +} +inline void CSVCMsg_FullFrameSplit::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_FullFrameSplit::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CSVCMsg_FullFrameSplit::tick() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.tick) + return _internal_tick(); +} +inline void CSVCMsg_FullFrameSplit::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tick_ = value; +} +inline void CSVCMsg_FullFrameSplit::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.tick) +} + +// optional int32 section = 2; +inline bool CSVCMsg_FullFrameSplit::_internal_has_section() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_FullFrameSplit::has_section() const { + return _internal_has_section(); +} +inline void CSVCMsg_FullFrameSplit::clear_section() { + _impl_.section_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_FullFrameSplit::_internal_section() const { + return _impl_.section_; +} +inline int32_t CSVCMsg_FullFrameSplit::section() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.section) + return _internal_section(); +} +inline void CSVCMsg_FullFrameSplit::_internal_set_section(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.section_ = value; +} +inline void CSVCMsg_FullFrameSplit::set_section(int32_t value) { + _internal_set_section(value); + // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.section) +} + +// optional int32 total = 3; +inline bool CSVCMsg_FullFrameSplit::_internal_has_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_FullFrameSplit::has_total() const { + return _internal_has_total(); +} +inline void CSVCMsg_FullFrameSplit::clear_total() { + _impl_.total_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_FullFrameSplit::_internal_total() const { + return _impl_.total_; +} +inline int32_t CSVCMsg_FullFrameSplit::total() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.total) + return _internal_total(); +} +inline void CSVCMsg_FullFrameSplit::_internal_set_total(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.total_ = value; +} +inline void CSVCMsg_FullFrameSplit::set_total(int32_t value) { + _internal_set_total(value); + // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.total) +} + +// optional bytes data = 4; +inline bool CSVCMsg_FullFrameSplit::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_FullFrameSplit::has_data() const { + return _internal_has_data(); +} +inline void CSVCMsg_FullFrameSplit::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_FullFrameSplit::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_FullFrameSplit::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.data) +} +inline std::string* CSVCMsg_FullFrameSplit::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_FullFrameSplit.data) + return _s; +} +inline const std::string& CSVCMsg_FullFrameSplit::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CSVCMsg_FullFrameSplit::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_FullFrameSplit::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_FullFrameSplit::release_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_FullFrameSplit.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_FullFrameSplit::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_FullFrameSplit.data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_HLTVStatus + +// optional string master = 1; +inline bool CSVCMsg_HLTVStatus::_internal_has_master() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_HLTVStatus::has_master() const { + return _internal_has_master(); +} +inline void CSVCMsg_HLTVStatus::clear_master() { + _impl_.master_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_HLTVStatus::master() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.master) + return _internal_master(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_HLTVStatus::set_master(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.master_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.master) +} +inline std::string* CSVCMsg_HLTVStatus::mutable_master() { + std::string* _s = _internal_mutable_master(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_HLTVStatus.master) + return _s; +} +inline const std::string& CSVCMsg_HLTVStatus::_internal_master() const { + return _impl_.master_.Get(); +} +inline void CSVCMsg_HLTVStatus::_internal_set_master(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.master_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_HLTVStatus::_internal_mutable_master() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.master_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_HLTVStatus::release_master() { + // @@protoc_insertion_point(field_release:CSVCMsg_HLTVStatus.master) + if (!_internal_has_master()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.master_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.master_.IsDefault()) { + _impl_.master_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_HLTVStatus::set_allocated_master(std::string* master) { + if (master != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.master_.SetAllocated(master, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.master_.IsDefault()) { + _impl_.master_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_HLTVStatus.master) +} + +// optional int32 clients = 2; +inline bool CSVCMsg_HLTVStatus::_internal_has_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_HLTVStatus::has_clients() const { + return _internal_has_clients(); +} +inline void CSVCMsg_HLTVStatus::clear_clients() { + _impl_.clients_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_HLTVStatus::_internal_clients() const { + return _impl_.clients_; +} +inline int32_t CSVCMsg_HLTVStatus::clients() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.clients) + return _internal_clients(); +} +inline void CSVCMsg_HLTVStatus::_internal_set_clients(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.clients_ = value; +} +inline void CSVCMsg_HLTVStatus::set_clients(int32_t value) { + _internal_set_clients(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.clients) +} + +// optional int32 slots = 3; +inline bool CSVCMsg_HLTVStatus::_internal_has_slots() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_HLTVStatus::has_slots() const { + return _internal_has_slots(); +} +inline void CSVCMsg_HLTVStatus::clear_slots() { + _impl_.slots_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_HLTVStatus::_internal_slots() const { + return _impl_.slots_; +} +inline int32_t CSVCMsg_HLTVStatus::slots() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.slots) + return _internal_slots(); +} +inline void CSVCMsg_HLTVStatus::_internal_set_slots(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.slots_ = value; +} +inline void CSVCMsg_HLTVStatus::set_slots(int32_t value) { + _internal_set_slots(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.slots) +} + +// optional int32 proxies = 4; +inline bool CSVCMsg_HLTVStatus::_internal_has_proxies() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_HLTVStatus::has_proxies() const { + return _internal_has_proxies(); +} +inline void CSVCMsg_HLTVStatus::clear_proxies() { + _impl_.proxies_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_HLTVStatus::_internal_proxies() const { + return _impl_.proxies_; +} +inline int32_t CSVCMsg_HLTVStatus::proxies() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.proxies) + return _internal_proxies(); +} +inline void CSVCMsg_HLTVStatus::_internal_set_proxies(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.proxies_ = value; +} +inline void CSVCMsg_HLTVStatus::set_proxies(int32_t value) { + _internal_set_proxies(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.proxies) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ServerSteamID + +// optional uint64 steam_id = 1; +inline bool CSVCMsg_ServerSteamID::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_ServerSteamID::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CSVCMsg_ServerSteamID::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CSVCMsg_ServerSteamID::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CSVCMsg_ServerSteamID::steam_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerSteamID.steam_id) + return _internal_steam_id(); +} +inline void CSVCMsg_ServerSteamID::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steam_id_ = value; +} +inline void CSVCMsg_ServerSteamID::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerSteamID.steam_id) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_CmdKeyValues + +// optional bytes data = 1; +inline bool CSVCMsg_CmdKeyValues::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_CmdKeyValues::has_data() const { + return _internal_has_data(); +} +inline void CSVCMsg_CmdKeyValues::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_CmdKeyValues::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CmdKeyValues.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_CmdKeyValues::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_CmdKeyValues.data) +} +inline std::string* CSVCMsg_CmdKeyValues::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_CmdKeyValues.data) + return _s; +} +inline const std::string& CSVCMsg_CmdKeyValues::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CSVCMsg_CmdKeyValues::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CmdKeyValues::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_CmdKeyValues::release_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_CmdKeyValues.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_CmdKeyValues::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CmdKeyValues.data) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_RconServerDetails + +// optional bytes token = 1; +inline bool CSVCMsg_RconServerDetails::_internal_has_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_RconServerDetails::has_token() const { + return _internal_has_token(); +} +inline void CSVCMsg_RconServerDetails::clear_token() { + _impl_.token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_RconServerDetails::token() const { + // @@protoc_insertion_point(field_get:CSVCMsg_RconServerDetails.token) + return _internal_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_RconServerDetails::set_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_RconServerDetails.token) +} +inline std::string* CSVCMsg_RconServerDetails::mutable_token() { + std::string* _s = _internal_mutable_token(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_RconServerDetails.token) + return _s; +} +inline const std::string& CSVCMsg_RconServerDetails::_internal_token() const { + return _impl_.token_.Get(); +} +inline void CSVCMsg_RconServerDetails::_internal_set_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_RconServerDetails::_internal_mutable_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_RconServerDetails::release_token() { + // @@protoc_insertion_point(field_release:CSVCMsg_RconServerDetails.token) + if (!_internal_has_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_RconServerDetails::set_allocated_token(std::string* token) { + if (token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.token_.SetAllocated(token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.token_.IsDefault()) { + _impl_.token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_RconServerDetails.token) +} + +// optional string details = 2; +inline bool CSVCMsg_RconServerDetails::_internal_has_details() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_RconServerDetails::has_details() const { + return _internal_has_details(); +} +inline void CSVCMsg_RconServerDetails::clear_details() { + _impl_.details_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_RconServerDetails::details() const { + // @@protoc_insertion_point(field_get:CSVCMsg_RconServerDetails.details) + return _internal_details(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_RconServerDetails::set_details(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_RconServerDetails.details) +} +inline std::string* CSVCMsg_RconServerDetails::mutable_details() { + std::string* _s = _internal_mutable_details(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_RconServerDetails.details) + return _s; +} +inline const std::string& CSVCMsg_RconServerDetails::_internal_details() const { + return _impl_.details_.Get(); +} +inline void CSVCMsg_RconServerDetails::_internal_set_details(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.details_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_RconServerDetails::_internal_mutable_details() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.details_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_RconServerDetails::release_details() { + // @@protoc_insertion_point(field_release:CSVCMsg_RconServerDetails.details) + if (!_internal_has_details()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.details_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_.IsDefault()) { + _impl_.details_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_RconServerDetails::set_allocated_details(std::string* details) { + if (details != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.details_.SetAllocated(details, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.details_.IsDefault()) { + _impl_.details_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_RconServerDetails.details) +} + +// ------------------------------------------------------------------- + +// CMsgIPCAddress + +// optional fixed64 computer_guid = 1; +inline bool CMsgIPCAddress::_internal_has_computer_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgIPCAddress::has_computer_guid() const { + return _internal_has_computer_guid(); +} +inline void CMsgIPCAddress::clear_computer_guid() { + _impl_.computer_guid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgIPCAddress::_internal_computer_guid() const { + return _impl_.computer_guid_; +} +inline uint64_t CMsgIPCAddress::computer_guid() const { + // @@protoc_insertion_point(field_get:CMsgIPCAddress.computer_guid) + return _internal_computer_guid(); +} +inline void CMsgIPCAddress::_internal_set_computer_guid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.computer_guid_ = value; +} +inline void CMsgIPCAddress::set_computer_guid(uint64_t value) { + _internal_set_computer_guid(value); + // @@protoc_insertion_point(field_set:CMsgIPCAddress.computer_guid) +} + +// optional uint32 process_id = 2; +inline bool CMsgIPCAddress::_internal_has_process_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgIPCAddress::has_process_id() const { + return _internal_has_process_id(); +} +inline void CMsgIPCAddress::clear_process_id() { + _impl_.process_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgIPCAddress::_internal_process_id() const { + return _impl_.process_id_; +} +inline uint32_t CMsgIPCAddress::process_id() const { + // @@protoc_insertion_point(field_get:CMsgIPCAddress.process_id) + return _internal_process_id(); +} +inline void CMsgIPCAddress::_internal_set_process_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.process_id_ = value; +} +inline void CMsgIPCAddress::set_process_id(uint32_t value) { + _internal_set_process_id(value); + // @@protoc_insertion_point(field_set:CMsgIPCAddress.process_id) +} + +// ------------------------------------------------------------------- + +// CMsgServerPeer + +// optional int32 player_slot = 1 [default = -1]; +inline bool CMsgServerPeer::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgServerPeer::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CMsgServerPeer::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgServerPeer::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CMsgServerPeer::player_slot() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.player_slot) + return _internal_player_slot(); +} +inline void CMsgServerPeer::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.player_slot_ = value; +} +inline void CMsgServerPeer::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CMsgServerPeer.player_slot) +} + +// optional fixed64 steamid = 2; +inline bool CMsgServerPeer::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerPeer::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgServerPeer::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgServerPeer::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgServerPeer::steamid() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.steamid) + return _internal_steamid(); +} +inline void CMsgServerPeer::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamid_ = value; +} +inline void CMsgServerPeer::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgServerPeer.steamid) +} + +// optional .CMsgIPCAddress ipc = 3; +inline bool CMsgServerPeer::_internal_has_ipc() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ipc_ != nullptr); + return value; +} +inline bool CMsgServerPeer::has_ipc() const { + return _internal_has_ipc(); +} +inline void CMsgServerPeer::clear_ipc() { + if (_impl_.ipc_ != nullptr) _impl_.ipc_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgIPCAddress& CMsgServerPeer::_internal_ipc() const { + const ::CMsgIPCAddress* p = _impl_.ipc_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgIPCAddress_default_instance_); +} +inline const ::CMsgIPCAddress& CMsgServerPeer::ipc() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.ipc) + return _internal_ipc(); +} +inline void CMsgServerPeer::unsafe_arena_set_allocated_ipc( + ::CMsgIPCAddress* ipc) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ipc_); + } + _impl_.ipc_ = ipc; + if (ipc) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgServerPeer.ipc) +} +inline ::CMsgIPCAddress* CMsgServerPeer::release_ipc() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgIPCAddress* temp = _impl_.ipc_; + _impl_.ipc_ = 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 ::CMsgIPCAddress* CMsgServerPeer::unsafe_arena_release_ipc() { + // @@protoc_insertion_point(field_release:CMsgServerPeer.ipc) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgIPCAddress* temp = _impl_.ipc_; + _impl_.ipc_ = nullptr; + return temp; +} +inline ::CMsgIPCAddress* CMsgServerPeer::_internal_mutable_ipc() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.ipc_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgIPCAddress>(GetArenaForAllocation()); + _impl_.ipc_ = p; + } + return _impl_.ipc_; +} +inline ::CMsgIPCAddress* CMsgServerPeer::mutable_ipc() { + ::CMsgIPCAddress* _msg = _internal_mutable_ipc(); + // @@protoc_insertion_point(field_mutable:CMsgServerPeer.ipc) + return _msg; +} +inline void CMsgServerPeer::set_allocated_ipc(::CMsgIPCAddress* ipc) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ipc_; + } + if (ipc) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ipc); + if (message_arena != submessage_arena) { + ipc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ipc, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ipc_ = ipc; + // @@protoc_insertion_point(field_set_allocated:CMsgServerPeer.ipc) +} + +// optional bool they_hear_you = 4; +inline bool CMsgServerPeer::_internal_has_they_hear_you() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgServerPeer::has_they_hear_you() const { + return _internal_has_they_hear_you(); +} +inline void CMsgServerPeer::clear_they_hear_you() { + _impl_.they_hear_you_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgServerPeer::_internal_they_hear_you() const { + return _impl_.they_hear_you_; +} +inline bool CMsgServerPeer::they_hear_you() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.they_hear_you) + return _internal_they_hear_you(); +} +inline void CMsgServerPeer::_internal_set_they_hear_you(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.they_hear_you_ = value; +} +inline void CMsgServerPeer::set_they_hear_you(bool value) { + _internal_set_they_hear_you(value); + // @@protoc_insertion_point(field_set:CMsgServerPeer.they_hear_you) +} + +// optional bool you_hear_them = 5; +inline bool CMsgServerPeer::_internal_has_you_hear_them() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgServerPeer::has_you_hear_them() const { + return _internal_has_you_hear_them(); +} +inline void CMsgServerPeer::clear_you_hear_them() { + _impl_.you_hear_them_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CMsgServerPeer::_internal_you_hear_them() const { + return _impl_.you_hear_them_; +} +inline bool CMsgServerPeer::you_hear_them() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.you_hear_them) + return _internal_you_hear_them(); +} +inline void CMsgServerPeer::_internal_set_you_hear_them(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.you_hear_them_ = value; +} +inline void CMsgServerPeer::set_you_hear_them(bool value) { + _internal_set_you_hear_them(value); + // @@protoc_insertion_point(field_set:CMsgServerPeer.you_hear_them) +} + +// optional bool is_listenserver_host = 6; +inline bool CMsgServerPeer::_internal_has_is_listenserver_host() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgServerPeer::has_is_listenserver_host() const { + return _internal_has_is_listenserver_host(); +} +inline void CMsgServerPeer::clear_is_listenserver_host() { + _impl_.is_listenserver_host_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgServerPeer::_internal_is_listenserver_host() const { + return _impl_.is_listenserver_host_; +} +inline bool CMsgServerPeer::is_listenserver_host() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.is_listenserver_host) + return _internal_is_listenserver_host(); +} +inline void CMsgServerPeer::_internal_set_is_listenserver_host(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_listenserver_host_ = value; +} +inline void CMsgServerPeer::set_is_listenserver_host(bool value) { + _internal_set_is_listenserver_host(value); + // @@protoc_insertion_point(field_set:CMsgServerPeer.is_listenserver_host) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PeerList + +// repeated .CMsgServerPeer peer = 1; +inline int CSVCMsg_PeerList::_internal_peer_size() const { + return _impl_.peer_.size(); +} +inline int CSVCMsg_PeerList::peer_size() const { + return _internal_peer_size(); +} +inline void CSVCMsg_PeerList::clear_peer() { + _impl_.peer_.Clear(); +} +inline ::CMsgServerPeer* CSVCMsg_PeerList::mutable_peer(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_PeerList.peer) + return _impl_.peer_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >* +CSVCMsg_PeerList::mutable_peer() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PeerList.peer) + return &_impl_.peer_; +} +inline const ::CMsgServerPeer& CSVCMsg_PeerList::_internal_peer(int index) const { + return _impl_.peer_.Get(index); +} +inline const ::CMsgServerPeer& CSVCMsg_PeerList::peer(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_PeerList.peer) + return _internal_peer(index); +} +inline ::CMsgServerPeer* CSVCMsg_PeerList::_internal_add_peer() { + return _impl_.peer_.Add(); +} +inline ::CMsgServerPeer* CSVCMsg_PeerList::add_peer() { + ::CMsgServerPeer* _add = _internal_add_peer(); + // @@protoc_insertion_point(field_add:CSVCMsg_PeerList.peer) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >& +CSVCMsg_PeerList::peer() const { + // @@protoc_insertion_point(field_list:CSVCMsg_PeerList.peer) + return _impl_.peer_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClearAllStringTables + +// optional string mapname = 1; +inline bool CSVCMsg_ClearAllStringTables::_internal_has_mapname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_ClearAllStringTables::has_mapname() const { + return _internal_has_mapname(); +} +inline void CSVCMsg_ClearAllStringTables::clear_mapname() { + _impl_.mapname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_ClearAllStringTables::mapname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.mapname) + return _internal_mapname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_ClearAllStringTables::set_mapname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mapname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.mapname) +} +inline std::string* CSVCMsg_ClearAllStringTables::mutable_mapname() { + std::string* _s = _internal_mutable_mapname(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_ClearAllStringTables.mapname) + return _s; +} +inline const std::string& CSVCMsg_ClearAllStringTables::_internal_mapname() const { + return _impl_.mapname_.Get(); +} +inline void CSVCMsg_ClearAllStringTables::_internal_set_mapname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mapname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ClearAllStringTables::_internal_mutable_mapname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.mapname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_ClearAllStringTables::release_mapname() { + // @@protoc_insertion_point(field_release:CSVCMsg_ClearAllStringTables.mapname) + if (!_internal_has_mapname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.mapname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.mapname_.IsDefault()) { + _impl_.mapname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_ClearAllStringTables::set_allocated_mapname(std::string* mapname) { + if (mapname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.mapname_.SetAllocated(mapname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.mapname_.IsDefault()) { + _impl_.mapname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ClearAllStringTables.mapname) +} + +// optional bool create_tables_skipped = 3; +inline bool CSVCMsg_ClearAllStringTables::_internal_has_create_tables_skipped() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_ClearAllStringTables::has_create_tables_skipped() const { + return _internal_has_create_tables_skipped(); +} +inline void CSVCMsg_ClearAllStringTables::clear_create_tables_skipped() { + _impl_.create_tables_skipped_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSVCMsg_ClearAllStringTables::_internal_create_tables_skipped() const { + return _impl_.create_tables_skipped_; +} +inline bool CSVCMsg_ClearAllStringTables::create_tables_skipped() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.create_tables_skipped) + return _internal_create_tables_skipped(); +} +inline void CSVCMsg_ClearAllStringTables::_internal_set_create_tables_skipped(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.create_tables_skipped_ = value; +} +inline void CSVCMsg_ClearAllStringTables::set_create_tables_skipped(bool value) { + _internal_set_create_tables_skipped(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.create_tables_skipped) +} + +// ------------------------------------------------------------------- + +// ProtoFlattenedSerializerField_t_polymorphic_field_t + +// optional int32 polymorphic_field_serializer_name_sym = 1; +inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_has_polymorphic_field_serializer_name_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::has_polymorphic_field_serializer_name_sym() const { + return _internal_has_polymorphic_field_serializer_name_sym(); +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::clear_polymorphic_field_serializer_name_sym() { + _impl_.polymorphic_field_serializer_name_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_polymorphic_field_serializer_name_sym() const { + return _impl_.polymorphic_field_serializer_name_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::polymorphic_field_serializer_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_name_sym) + return _internal_polymorphic_field_serializer_name_sym(); +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_set_polymorphic_field_serializer_name_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.polymorphic_field_serializer_name_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::set_polymorphic_field_serializer_name_sym(int32_t value) { + _internal_set_polymorphic_field_serializer_name_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_name_sym) +} + +// optional int32 polymorphic_field_serializer_version = 2; +inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_has_polymorphic_field_serializer_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::has_polymorphic_field_serializer_version() const { + return _internal_has_polymorphic_field_serializer_version(); +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::clear_polymorphic_field_serializer_version() { + _impl_.polymorphic_field_serializer_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_polymorphic_field_serializer_version() const { + return _impl_.polymorphic_field_serializer_version_; +} +inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::polymorphic_field_serializer_version() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_version) + return _internal_polymorphic_field_serializer_version(); +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_set_polymorphic_field_serializer_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.polymorphic_field_serializer_version_ = value; +} +inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::set_polymorphic_field_serializer_version(int32_t value) { + _internal_set_polymorphic_field_serializer_version(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_version) +} + +// ------------------------------------------------------------------- + +// ProtoFlattenedSerializerField_t + +// optional int32 var_type_sym = 1; +inline bool ProtoFlattenedSerializerField_t::_internal_has_var_type_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_var_type_sym() const { + return _internal_has_var_type_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_var_type_sym() { + _impl_.var_type_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_var_type_sym() const { + return _impl_.var_type_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::var_type_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_type_sym) + return _internal_var_type_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_var_type_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.var_type_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_var_type_sym(int32_t value) { + _internal_set_var_type_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_type_sym) +} + +// optional int32 var_name_sym = 2; +inline bool ProtoFlattenedSerializerField_t::_internal_has_var_name_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_var_name_sym() const { + return _internal_has_var_name_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_var_name_sym() { + _impl_.var_name_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_var_name_sym() const { + return _impl_.var_name_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::var_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_name_sym) + return _internal_var_name_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_var_name_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.var_name_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_var_name_sym(int32_t value) { + _internal_set_var_name_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_name_sym) +} + +// optional int32 bit_count = 3; +inline bool ProtoFlattenedSerializerField_t::_internal_has_bit_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_bit_count() const { + return _internal_has_bit_count(); +} +inline void ProtoFlattenedSerializerField_t::clear_bit_count() { + _impl_.bit_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_bit_count() const { + return _impl_.bit_count_; +} +inline int32_t ProtoFlattenedSerializerField_t::bit_count() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.bit_count) + return _internal_bit_count(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_bit_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.bit_count_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_bit_count(int32_t value) { + _internal_set_bit_count(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.bit_count) +} + +// optional float low_value = 4; +inline bool ProtoFlattenedSerializerField_t::_internal_has_low_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_low_value() const { + return _internal_has_low_value(); +} +inline void ProtoFlattenedSerializerField_t::clear_low_value() { + _impl_.low_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float ProtoFlattenedSerializerField_t::_internal_low_value() const { + return _impl_.low_value_; +} +inline float ProtoFlattenedSerializerField_t::low_value() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.low_value) + return _internal_low_value(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_low_value(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.low_value_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_low_value(float value) { + _internal_set_low_value(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.low_value) +} + +// optional float high_value = 5; +inline bool ProtoFlattenedSerializerField_t::_internal_has_high_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_high_value() const { + return _internal_has_high_value(); +} +inline void ProtoFlattenedSerializerField_t::clear_high_value() { + _impl_.high_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float ProtoFlattenedSerializerField_t::_internal_high_value() const { + return _impl_.high_value_; +} +inline float ProtoFlattenedSerializerField_t::high_value() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.high_value) + return _internal_high_value(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_high_value(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.high_value_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_high_value(float value) { + _internal_set_high_value(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.high_value) +} + +// optional int32 encode_flags = 6; +inline bool ProtoFlattenedSerializerField_t::_internal_has_encode_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_encode_flags() const { + return _internal_has_encode_flags(); +} +inline void ProtoFlattenedSerializerField_t::clear_encode_flags() { + _impl_.encode_flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_encode_flags() const { + return _impl_.encode_flags_; +} +inline int32_t ProtoFlattenedSerializerField_t::encode_flags() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.encode_flags) + return _internal_encode_flags(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_encode_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.encode_flags_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_encode_flags(int32_t value) { + _internal_set_encode_flags(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.encode_flags) +} + +// optional int32 field_serializer_name_sym = 7; +inline bool ProtoFlattenedSerializerField_t::_internal_has_field_serializer_name_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_field_serializer_name_sym() const { + return _internal_has_field_serializer_name_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_field_serializer_name_sym() { + _impl_.field_serializer_name_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_field_serializer_name_sym() const { + return _impl_.field_serializer_name_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::field_serializer_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_name_sym) + return _internal_field_serializer_name_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_field_serializer_name_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.field_serializer_name_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_field_serializer_name_sym(int32_t value) { + _internal_set_field_serializer_name_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_name_sym) +} + +// optional int32 field_serializer_version = 8; +inline bool ProtoFlattenedSerializerField_t::_internal_has_field_serializer_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_field_serializer_version() const { + return _internal_has_field_serializer_version(); +} +inline void ProtoFlattenedSerializerField_t::clear_field_serializer_version() { + _impl_.field_serializer_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_field_serializer_version() const { + return _impl_.field_serializer_version_; +} +inline int32_t ProtoFlattenedSerializerField_t::field_serializer_version() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_version) + return _internal_field_serializer_version(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_field_serializer_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.field_serializer_version_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_field_serializer_version(int32_t value) { + _internal_set_field_serializer_version(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_version) +} + +// optional int32 send_node_sym = 9; +inline bool ProtoFlattenedSerializerField_t::_internal_has_send_node_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_send_node_sym() const { + return _internal_has_send_node_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_send_node_sym() { + _impl_.send_node_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_send_node_sym() const { + return _impl_.send_node_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::send_node_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.send_node_sym) + return _internal_send_node_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_send_node_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.send_node_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_send_node_sym(int32_t value) { + _internal_set_send_node_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.send_node_sym) +} + +// optional int32 var_encoder_sym = 10; +inline bool ProtoFlattenedSerializerField_t::_internal_has_var_encoder_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_var_encoder_sym() const { + return _internal_has_var_encoder_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_var_encoder_sym() { + _impl_.var_encoder_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_var_encoder_sym() const { + return _impl_.var_encoder_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::var_encoder_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_encoder_sym) + return _internal_var_encoder_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_var_encoder_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.var_encoder_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_var_encoder_sym(int32_t value) { + _internal_set_var_encoder_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_encoder_sym) +} + +// repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; +inline int ProtoFlattenedSerializerField_t::_internal_polymorphic_types_size() const { + return _impl_.polymorphic_types_.size(); +} +inline int ProtoFlattenedSerializerField_t::polymorphic_types_size() const { + return _internal_polymorphic_types_size(); +} +inline void ProtoFlattenedSerializerField_t::clear_polymorphic_types() { + _impl_.polymorphic_types_.Clear(); +} +inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::mutable_polymorphic_types(int index) { + // @@protoc_insertion_point(field_mutable:ProtoFlattenedSerializerField_t.polymorphic_types) + return _impl_.polymorphic_types_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >* +ProtoFlattenedSerializerField_t::mutable_polymorphic_types() { + // @@protoc_insertion_point(field_mutable_list:ProtoFlattenedSerializerField_t.polymorphic_types) + return &_impl_.polymorphic_types_; +} +inline const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& ProtoFlattenedSerializerField_t::_internal_polymorphic_types(int index) const { + return _impl_.polymorphic_types_.Get(index); +} +inline const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& ProtoFlattenedSerializerField_t::polymorphic_types(int index) const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_types) + return _internal_polymorphic_types(index); +} +inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::_internal_add_polymorphic_types() { + return _impl_.polymorphic_types_.Add(); +} +inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::add_polymorphic_types() { + ::ProtoFlattenedSerializerField_t_polymorphic_field_t* _add = _internal_add_polymorphic_types(); + // @@protoc_insertion_point(field_add:ProtoFlattenedSerializerField_t.polymorphic_types) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >& +ProtoFlattenedSerializerField_t::polymorphic_types() const { + // @@protoc_insertion_point(field_list:ProtoFlattenedSerializerField_t.polymorphic_types) + return _impl_.polymorphic_types_; +} + +// optional int32 var_serializer_sym = 12; +inline bool ProtoFlattenedSerializerField_t::_internal_has_var_serializer_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool ProtoFlattenedSerializerField_t::has_var_serializer_sym() const { + return _internal_has_var_serializer_sym(); +} +inline void ProtoFlattenedSerializerField_t::clear_var_serializer_sym() { + _impl_.var_serializer_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline int32_t ProtoFlattenedSerializerField_t::_internal_var_serializer_sym() const { + return _impl_.var_serializer_sym_; +} +inline int32_t ProtoFlattenedSerializerField_t::var_serializer_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_serializer_sym) + return _internal_var_serializer_sym(); +} +inline void ProtoFlattenedSerializerField_t::_internal_set_var_serializer_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.var_serializer_sym_ = value; +} +inline void ProtoFlattenedSerializerField_t::set_var_serializer_sym(int32_t value) { + _internal_set_var_serializer_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_serializer_sym) +} + +// ------------------------------------------------------------------- + +// ProtoFlattenedSerializer_t + +// optional int32 serializer_name_sym = 1; +inline bool ProtoFlattenedSerializer_t::_internal_has_serializer_name_sym() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ProtoFlattenedSerializer_t::has_serializer_name_sym() const { + return _internal_has_serializer_name_sym(); +} +inline void ProtoFlattenedSerializer_t::clear_serializer_name_sym() { + _impl_.serializer_name_sym_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t ProtoFlattenedSerializer_t::_internal_serializer_name_sym() const { + return _impl_.serializer_name_sym_; +} +inline int32_t ProtoFlattenedSerializer_t::serializer_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_name_sym) + return _internal_serializer_name_sym(); +} +inline void ProtoFlattenedSerializer_t::_internal_set_serializer_name_sym(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.serializer_name_sym_ = value; +} +inline void ProtoFlattenedSerializer_t::set_serializer_name_sym(int32_t value) { + _internal_set_serializer_name_sym(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_name_sym) +} + +// optional int32 serializer_version = 2; +inline bool ProtoFlattenedSerializer_t::_internal_has_serializer_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ProtoFlattenedSerializer_t::has_serializer_version() const { + return _internal_has_serializer_version(); +} +inline void ProtoFlattenedSerializer_t::clear_serializer_version() { + _impl_.serializer_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t ProtoFlattenedSerializer_t::_internal_serializer_version() const { + return _impl_.serializer_version_; +} +inline int32_t ProtoFlattenedSerializer_t::serializer_version() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_version) + return _internal_serializer_version(); +} +inline void ProtoFlattenedSerializer_t::_internal_set_serializer_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.serializer_version_ = value; +} +inline void ProtoFlattenedSerializer_t::set_serializer_version(int32_t value) { + _internal_set_serializer_version(value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_version) +} + +// repeated int32 fields_index = 3; +inline int ProtoFlattenedSerializer_t::_internal_fields_index_size() const { + return _impl_.fields_index_.size(); +} +inline int ProtoFlattenedSerializer_t::fields_index_size() const { + return _internal_fields_index_size(); +} +inline void ProtoFlattenedSerializer_t::clear_fields_index() { + _impl_.fields_index_.Clear(); +} +inline int32_t ProtoFlattenedSerializer_t::_internal_fields_index(int index) const { + return _impl_.fields_index_.Get(index); +} +inline int32_t ProtoFlattenedSerializer_t::fields_index(int index) const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.fields_index) + return _internal_fields_index(index); +} +inline void ProtoFlattenedSerializer_t::set_fields_index(int index, int32_t value) { + _impl_.fields_index_.Set(index, value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.fields_index) +} +inline void ProtoFlattenedSerializer_t::_internal_add_fields_index(int32_t value) { + _impl_.fields_index_.Add(value); +} +inline void ProtoFlattenedSerializer_t::add_fields_index(int32_t value) { + _internal_add_fields_index(value); + // @@protoc_insertion_point(field_add:ProtoFlattenedSerializer_t.fields_index) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +ProtoFlattenedSerializer_t::_internal_fields_index() const { + return _impl_.fields_index_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +ProtoFlattenedSerializer_t::fields_index() const { + // @@protoc_insertion_point(field_list:ProtoFlattenedSerializer_t.fields_index) + return _internal_fields_index(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +ProtoFlattenedSerializer_t::_internal_mutable_fields_index() { + return &_impl_.fields_index_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +ProtoFlattenedSerializer_t::mutable_fields_index() { + // @@protoc_insertion_point(field_mutable_list:ProtoFlattenedSerializer_t.fields_index) + return _internal_mutable_fields_index(); +} + +// ------------------------------------------------------------------- + +// CSVCMsg_FlattenedSerializer + +// repeated .ProtoFlattenedSerializer_t serializers = 1; +inline int CSVCMsg_FlattenedSerializer::_internal_serializers_size() const { + return _impl_.serializers_.size(); +} +inline int CSVCMsg_FlattenedSerializer::serializers_size() const { + return _internal_serializers_size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_serializers() { + _impl_.serializers_.Clear(); +} +inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::mutable_serializers(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.serializers) + return _impl_.serializers_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* +CSVCMsg_FlattenedSerializer::mutable_serializers() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.serializers) + return &_impl_.serializers_; +} +inline const ::ProtoFlattenedSerializer_t& CSVCMsg_FlattenedSerializer::_internal_serializers(int index) const { + return _impl_.serializers_.Get(index); +} +inline const ::ProtoFlattenedSerializer_t& CSVCMsg_FlattenedSerializer::serializers(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.serializers) + return _internal_serializers(index); +} +inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::_internal_add_serializers() { + return _impl_.serializers_.Add(); +} +inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::add_serializers() { + ::ProtoFlattenedSerializer_t* _add = _internal_add_serializers(); + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.serializers) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& +CSVCMsg_FlattenedSerializer::serializers() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.serializers) + return _impl_.serializers_; +} + +// repeated string symbols = 2; +inline int CSVCMsg_FlattenedSerializer::_internal_symbols_size() const { + return _impl_.symbols_.size(); +} +inline int CSVCMsg_FlattenedSerializer::symbols_size() const { + return _internal_symbols_size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_symbols() { + _impl_.symbols_.Clear(); +} +inline std::string* CSVCMsg_FlattenedSerializer::add_symbols() { + std::string* _s = _internal_add_symbols(); + // @@protoc_insertion_point(field_add_mutable:CSVCMsg_FlattenedSerializer.symbols) + return _s; +} +inline const std::string& CSVCMsg_FlattenedSerializer::_internal_symbols(int index) const { + return _impl_.symbols_.Get(index); +} +inline const std::string& CSVCMsg_FlattenedSerializer::symbols(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.symbols) + return _internal_symbols(index); +} +inline std::string* CSVCMsg_FlattenedSerializer::mutable_symbols(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.symbols) + return _impl_.symbols_.Mutable(index); +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const std::string& value) { + _impl_.symbols_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, std::string&& value) { + _impl_.symbols_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.symbols_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value, size_t size) { + _impl_.symbols_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_FlattenedSerializer.symbols) +} +inline std::string* CSVCMsg_FlattenedSerializer::_internal_add_symbols() { + return _impl_.symbols_.Add(); +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const std::string& value) { + _impl_.symbols_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(std::string&& value) { + _impl_.symbols_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.symbols_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value, size_t size) { + _impl_.symbols_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CSVCMsg_FlattenedSerializer.symbols) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CSVCMsg_FlattenedSerializer::symbols() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.symbols) + return _impl_.symbols_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CSVCMsg_FlattenedSerializer::mutable_symbols() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.symbols) + return &_impl_.symbols_; +} + +// repeated .ProtoFlattenedSerializerField_t fields = 3; +inline int CSVCMsg_FlattenedSerializer::_internal_fields_size() const { + return _impl_.fields_.size(); +} +inline int CSVCMsg_FlattenedSerializer::fields_size() const { + return _internal_fields_size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_fields() { + _impl_.fields_.Clear(); +} +inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::mutable_fields(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.fields) + return _impl_.fields_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* +CSVCMsg_FlattenedSerializer::mutable_fields() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.fields) + return &_impl_.fields_; +} +inline const ::ProtoFlattenedSerializerField_t& CSVCMsg_FlattenedSerializer::_internal_fields(int index) const { + return _impl_.fields_.Get(index); +} +inline const ::ProtoFlattenedSerializerField_t& CSVCMsg_FlattenedSerializer::fields(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.fields) + return _internal_fields(index); +} +inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::_internal_add_fields() { + return _impl_.fields_.Add(); +} +inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::add_fields() { + ::ProtoFlattenedSerializerField_t* _add = _internal_add_fields(); + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.fields) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& +CSVCMsg_FlattenedSerializer::fields() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.fields) + return _impl_.fields_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_StopSound + +// optional fixed32 guid = 1; +inline bool CSVCMsg_StopSound::_internal_has_guid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_StopSound::has_guid() const { + return _internal_has_guid(); +} +inline void CSVCMsg_StopSound::clear_guid() { + _impl_.guid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CSVCMsg_StopSound::_internal_guid() const { + return _impl_.guid_; +} +inline uint32_t CSVCMsg_StopSound::guid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_StopSound.guid) + return _internal_guid(); +} +inline void CSVCMsg_StopSound::_internal_set_guid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.guid_ = value; +} +inline void CSVCMsg_StopSound::set_guid(uint32_t value) { + _internal_set_guid(value); + // @@protoc_insertion_point(field_set:CSVCMsg_StopSound.guid) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RebroadcastGameEvent + +// optional bool posttoserver = 1; +inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_posttoserver() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CBidirMsg_RebroadcastGameEvent::has_posttoserver() const { + return _internal_has_posttoserver(); +} +inline void CBidirMsg_RebroadcastGameEvent::clear_posttoserver() { + _impl_.posttoserver_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CBidirMsg_RebroadcastGameEvent::_internal_posttoserver() const { + return _impl_.posttoserver_; +} +inline bool CBidirMsg_RebroadcastGameEvent::posttoserver() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.posttoserver) + return _internal_posttoserver(); +} +inline void CBidirMsg_RebroadcastGameEvent::_internal_set_posttoserver(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.posttoserver_ = value; +} +inline void CBidirMsg_RebroadcastGameEvent::set_posttoserver(bool value) { + _internal_set_posttoserver(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.posttoserver) +} + +// optional int32 buftype = 2; +inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_buftype() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CBidirMsg_RebroadcastGameEvent::has_buftype() const { + return _internal_has_buftype(); +} +inline void CBidirMsg_RebroadcastGameEvent::clear_buftype() { + _impl_.buftype_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CBidirMsg_RebroadcastGameEvent::_internal_buftype() const { + return _impl_.buftype_; +} +inline int32_t CBidirMsg_RebroadcastGameEvent::buftype() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.buftype) + return _internal_buftype(); +} +inline void CBidirMsg_RebroadcastGameEvent::_internal_set_buftype(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.buftype_ = value; +} +inline void CBidirMsg_RebroadcastGameEvent::set_buftype(int32_t value) { + _internal_set_buftype(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.buftype) +} + +// optional uint32 clientbitcount = 3; +inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_clientbitcount() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CBidirMsg_RebroadcastGameEvent::has_clientbitcount() const { + return _internal_has_clientbitcount(); +} +inline void CBidirMsg_RebroadcastGameEvent::clear_clientbitcount() { + _impl_.clientbitcount_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CBidirMsg_RebroadcastGameEvent::_internal_clientbitcount() const { + return _impl_.clientbitcount_; +} +inline uint32_t CBidirMsg_RebroadcastGameEvent::clientbitcount() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.clientbitcount) + return _internal_clientbitcount(); +} +inline void CBidirMsg_RebroadcastGameEvent::_internal_set_clientbitcount(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.clientbitcount_ = value; +} +inline void CBidirMsg_RebroadcastGameEvent::set_clientbitcount(uint32_t value) { + _internal_set_clientbitcount(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.clientbitcount) +} + +// optional uint64 receivingclients = 4; +inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_receivingclients() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CBidirMsg_RebroadcastGameEvent::has_receivingclients() const { + return _internal_has_receivingclients(); +} +inline void CBidirMsg_RebroadcastGameEvent::clear_receivingclients() { + _impl_.receivingclients_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CBidirMsg_RebroadcastGameEvent::_internal_receivingclients() const { + return _impl_.receivingclients_; +} +inline uint64_t CBidirMsg_RebroadcastGameEvent::receivingclients() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.receivingclients) + return _internal_receivingclients(); +} +inline void CBidirMsg_RebroadcastGameEvent::_internal_set_receivingclients(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.receivingclients_ = value; +} +inline void CBidirMsg_RebroadcastGameEvent::set_receivingclients(uint64_t value) { + _internal_set_receivingclients(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.receivingclients) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RebroadcastSource + +// optional int32 eventsource = 1; +inline bool CBidirMsg_RebroadcastSource::_internal_has_eventsource() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CBidirMsg_RebroadcastSource::has_eventsource() const { + return _internal_has_eventsource(); +} +inline void CBidirMsg_RebroadcastSource::clear_eventsource() { + _impl_.eventsource_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CBidirMsg_RebroadcastSource::_internal_eventsource() const { + return _impl_.eventsource_; +} +inline int32_t CBidirMsg_RebroadcastSource::eventsource() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastSource.eventsource) + return _internal_eventsource(); +} +inline void CBidirMsg_RebroadcastSource::_internal_set_eventsource(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.eventsource_ = value; +} +inline void CBidirMsg_RebroadcastSource::set_eventsource(int32_t value) { + _internal_set_eventsource(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastSource.eventsource) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_PredictionEvent + +// required uint32 event_id = 1; +inline bool CBidirMsg_PredictionEvent::_internal_has_event_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CBidirMsg_PredictionEvent::has_event_id() const { + return _internal_has_event_id(); +} +inline void CBidirMsg_PredictionEvent::clear_event_id() { + _impl_.event_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CBidirMsg_PredictionEvent::_internal_event_id() const { + return _impl_.event_id_; +} +inline uint32_t CBidirMsg_PredictionEvent::event_id() const { + // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.event_id) + return _internal_event_id(); +} +inline void CBidirMsg_PredictionEvent::_internal_set_event_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.event_id_ = value; +} +inline void CBidirMsg_PredictionEvent::set_event_id(uint32_t value) { + _internal_set_event_id(value); + // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.event_id) +} + +// required bytes event_data = 2; +inline bool CBidirMsg_PredictionEvent::_internal_has_event_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CBidirMsg_PredictionEvent::has_event_data() const { + return _internal_has_event_data(); +} +inline void CBidirMsg_PredictionEvent::clear_event_data() { + _impl_.event_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CBidirMsg_PredictionEvent::event_data() const { + // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.event_data) + return _internal_event_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CBidirMsg_PredictionEvent::set_event_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.event_data) +} +inline std::string* CBidirMsg_PredictionEvent::mutable_event_data() { + std::string* _s = _internal_mutable_event_data(); + // @@protoc_insertion_point(field_mutable:CBidirMsg_PredictionEvent.event_data) + return _s; +} +inline const std::string& CBidirMsg_PredictionEvent::_internal_event_data() const { + return _impl_.event_data_.Get(); +} +inline void CBidirMsg_PredictionEvent::_internal_set_event_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CBidirMsg_PredictionEvent::_internal_mutable_event_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CBidirMsg_PredictionEvent::release_event_data() { + // @@protoc_insertion_point(field_release:CBidirMsg_PredictionEvent.event_data) + if (!_internal_has_event_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_data_.IsDefault()) { + _impl_.event_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CBidirMsg_PredictionEvent::set_allocated_event_data(std::string* event_data) { + if (event_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_data_.SetAllocated(event_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_data_.IsDefault()) { + _impl_.event_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_PredictionEvent.event_data) +} + +// optional uint32 sync_type = 3; +inline bool CBidirMsg_PredictionEvent::_internal_has_sync_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CBidirMsg_PredictionEvent::has_sync_type() const { + return _internal_has_sync_type(); +} +inline void CBidirMsg_PredictionEvent::clear_sync_type() { + _impl_.sync_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CBidirMsg_PredictionEvent::_internal_sync_type() const { + return _impl_.sync_type_; +} +inline uint32_t CBidirMsg_PredictionEvent::sync_type() const { + // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.sync_type) + return _internal_sync_type(); +} +inline void CBidirMsg_PredictionEvent::_internal_set_sync_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.sync_type_ = value; +} +inline void CBidirMsg_PredictionEvent::set_sync_type(uint32_t value) { + _internal_set_sync_type(value); + // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.sync_type) +} + +// optional uint32 sync_val_uint32 = 4; +inline bool CBidirMsg_PredictionEvent::_internal_has_sync_val_uint32() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CBidirMsg_PredictionEvent::has_sync_val_uint32() const { + return _internal_has_sync_val_uint32(); +} +inline void CBidirMsg_PredictionEvent::clear_sync_val_uint32() { + _impl_.sync_val_uint32_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CBidirMsg_PredictionEvent::_internal_sync_val_uint32() const { + return _impl_.sync_val_uint32_; +} +inline uint32_t CBidirMsg_PredictionEvent::sync_val_uint32() const { + // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.sync_val_uint32) + return _internal_sync_val_uint32(); +} +inline void CBidirMsg_PredictionEvent::_internal_set_sync_val_uint32(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.sync_val_uint32_ = value; +} +inline void CBidirMsg_PredictionEvent::set_sync_val_uint32(uint32_t value) { + _internal_set_sync_val_uint32(value); + // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.sync_val_uint32) +} + +// ------------------------------------------------------------------- + +// CMsgServerNetworkStats_Port + +// optional int32 port = 1; +inline bool CMsgServerNetworkStats_Port::_internal_has_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Port::has_port() const { + return _internal_has_port(); +} +inline void CMsgServerNetworkStats_Port::clear_port() { + _impl_.port_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgServerNetworkStats_Port::_internal_port() const { + return _impl_.port_; +} +inline int32_t CMsgServerNetworkStats_Port::port() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Port.port) + return _internal_port(); +} +inline void CMsgServerNetworkStats_Port::_internal_set_port(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.port_ = value; +} +inline void CMsgServerNetworkStats_Port::set_port(int32_t value) { + _internal_set_port(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Port.port) +} + +// optional string name = 2; +inline bool CMsgServerNetworkStats_Port::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Port::has_name() const { + return _internal_has_name(); +} +inline void CMsgServerNetworkStats_Port::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgServerNetworkStats_Port::name() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Port.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgServerNetworkStats_Port::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Port.name) +} +inline std::string* CMsgServerNetworkStats_Port::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.Port.name) + return _s; +} +inline const std::string& CMsgServerNetworkStats_Port::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgServerNetworkStats_Port::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgServerNetworkStats_Port::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgServerNetworkStats_Port::release_name() { + // @@protoc_insertion_point(field_release:CMsgServerNetworkStats.Port.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgServerNetworkStats_Port::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgServerNetworkStats.Port.name) +} + +// ------------------------------------------------------------------- + +// CMsgServerNetworkStats_Player + +// optional uint64 steamid = 1; +inline bool CMsgServerNetworkStats_Player::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgServerNetworkStats_Player::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgServerNetworkStats_Player::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgServerNetworkStats_Player::steamid() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.steamid) + return _internal_steamid(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamid_ = value; +} +inline void CMsgServerNetworkStats_Player::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.steamid) +} + +// optional string remote_addr = 2; +inline bool CMsgServerNetworkStats_Player::_internal_has_remote_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_remote_addr() const { + return _internal_has_remote_addr(); +} +inline void CMsgServerNetworkStats_Player::clear_remote_addr() { + _impl_.remote_addr_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgServerNetworkStats_Player::remote_addr() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.remote_addr) + return _internal_remote_addr(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgServerNetworkStats_Player::set_remote_addr(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.remote_addr_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.remote_addr) +} +inline std::string* CMsgServerNetworkStats_Player::mutable_remote_addr() { + std::string* _s = _internal_mutable_remote_addr(); + // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.Player.remote_addr) + return _s; +} +inline const std::string& CMsgServerNetworkStats_Player::_internal_remote_addr() const { + return _impl_.remote_addr_.Get(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_remote_addr(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.remote_addr_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgServerNetworkStats_Player::_internal_mutable_remote_addr() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.remote_addr_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgServerNetworkStats_Player::release_remote_addr() { + // @@protoc_insertion_point(field_release:CMsgServerNetworkStats.Player.remote_addr) + if (!_internal_has_remote_addr()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.remote_addr_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.remote_addr_.IsDefault()) { + _impl_.remote_addr_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgServerNetworkStats_Player::set_allocated_remote_addr(std::string* remote_addr) { + if (remote_addr != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.remote_addr_.SetAllocated(remote_addr, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.remote_addr_.IsDefault()) { + _impl_.remote_addr_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgServerNetworkStats.Player.remote_addr) +} + +// optional int32 ping_avg_ms = 4; +inline bool CMsgServerNetworkStats_Player::_internal_has_ping_avg_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_ping_avg_ms() const { + return _internal_has_ping_avg_ms(); +} +inline void CMsgServerNetworkStats_Player::clear_ping_avg_ms() { + _impl_.ping_avg_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgServerNetworkStats_Player::_internal_ping_avg_ms() const { + return _impl_.ping_avg_ms_; +} +inline int32_t CMsgServerNetworkStats_Player::ping_avg_ms() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.ping_avg_ms) + return _internal_ping_avg_ms(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_ping_avg_ms(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ping_avg_ms_ = value; +} +inline void CMsgServerNetworkStats_Player::set_ping_avg_ms(int32_t value) { + _internal_set_ping_avg_ms(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.ping_avg_ms) +} + +// optional float packet_loss_pct = 5; +inline bool CMsgServerNetworkStats_Player::_internal_has_packet_loss_pct() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_packet_loss_pct() const { + return _internal_has_packet_loss_pct(); +} +inline void CMsgServerNetworkStats_Player::clear_packet_loss_pct() { + _impl_.packet_loss_pct_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CMsgServerNetworkStats_Player::_internal_packet_loss_pct() const { + return _impl_.packet_loss_pct_; +} +inline float CMsgServerNetworkStats_Player::packet_loss_pct() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.packet_loss_pct) + return _internal_packet_loss_pct(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_packet_loss_pct(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.packet_loss_pct_ = value; +} +inline void CMsgServerNetworkStats_Player::set_packet_loss_pct(float value) { + _internal_set_packet_loss_pct(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.packet_loss_pct) +} + +// optional bool is_bot = 6; +inline bool CMsgServerNetworkStats_Player::_internal_has_is_bot() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_is_bot() const { + return _internal_has_is_bot(); +} +inline void CMsgServerNetworkStats_Player::clear_is_bot() { + _impl_.is_bot_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgServerNetworkStats_Player::_internal_is_bot() const { + return _impl_.is_bot_; +} +inline bool CMsgServerNetworkStats_Player::is_bot() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.is_bot) + return _internal_is_bot(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_is_bot(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.is_bot_ = value; +} +inline void CMsgServerNetworkStats_Player::set_is_bot(bool value) { + _internal_set_is_bot(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.is_bot) +} + +// optional float loss_in = 7; +inline bool CMsgServerNetworkStats_Player::_internal_has_loss_in() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_loss_in() const { + return _internal_has_loss_in(); +} +inline void CMsgServerNetworkStats_Player::clear_loss_in() { + _impl_.loss_in_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgServerNetworkStats_Player::_internal_loss_in() const { + return _impl_.loss_in_; +} +inline float CMsgServerNetworkStats_Player::loss_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.loss_in) + return _internal_loss_in(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_loss_in(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.loss_in_ = value; +} +inline void CMsgServerNetworkStats_Player::set_loss_in(float value) { + _internal_set_loss_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.loss_in) +} + +// optional float loss_out = 8; +inline bool CMsgServerNetworkStats_Player::_internal_has_loss_out() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_loss_out() const { + return _internal_has_loss_out(); +} +inline void CMsgServerNetworkStats_Player::clear_loss_out() { + _impl_.loss_out_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgServerNetworkStats_Player::_internal_loss_out() const { + return _impl_.loss_out_; +} +inline float CMsgServerNetworkStats_Player::loss_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.loss_out) + return _internal_loss_out(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_loss_out(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.loss_out_ = value; +} +inline void CMsgServerNetworkStats_Player::set_loss_out(float value) { + _internal_set_loss_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.loss_out) +} + +// optional int32 engine_latency_ms = 9; +inline bool CMsgServerNetworkStats_Player::_internal_has_engine_latency_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgServerNetworkStats_Player::has_engine_latency_ms() const { + return _internal_has_engine_latency_ms(); +} +inline void CMsgServerNetworkStats_Player::clear_engine_latency_ms() { + _impl_.engine_latency_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CMsgServerNetworkStats_Player::_internal_engine_latency_ms() const { + return _impl_.engine_latency_ms_; +} +inline int32_t CMsgServerNetworkStats_Player::engine_latency_ms() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.engine_latency_ms) + return _internal_engine_latency_ms(); +} +inline void CMsgServerNetworkStats_Player::_internal_set_engine_latency_ms(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.engine_latency_ms_ = value; +} +inline void CMsgServerNetworkStats_Player::set_engine_latency_ms(int32_t value) { + _internal_set_engine_latency_ms(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.engine_latency_ms) +} + +// ------------------------------------------------------------------- + +// CMsgServerNetworkStats + +// optional bool dedicated = 1; +inline bool CMsgServerNetworkStats::_internal_has_dedicated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_dedicated() const { + return _internal_has_dedicated(); +} +inline void CMsgServerNetworkStats::clear_dedicated() { + _impl_.dedicated_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CMsgServerNetworkStats::_internal_dedicated() const { + return _impl_.dedicated_; +} +inline bool CMsgServerNetworkStats::dedicated() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.dedicated) + return _internal_dedicated(); +} +inline void CMsgServerNetworkStats::_internal_set_dedicated(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dedicated_ = value; +} +inline void CMsgServerNetworkStats::set_dedicated(bool value) { + _internal_set_dedicated(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.dedicated) +} + +// optional int32 cpu_usage = 2; +inline bool CMsgServerNetworkStats::_internal_has_cpu_usage() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_cpu_usage() const { + return _internal_has_cpu_usage(); +} +inline void CMsgServerNetworkStats::clear_cpu_usage() { + _impl_.cpu_usage_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgServerNetworkStats::_internal_cpu_usage() const { + return _impl_.cpu_usage_; +} +inline int32_t CMsgServerNetworkStats::cpu_usage() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.cpu_usage) + return _internal_cpu_usage(); +} +inline void CMsgServerNetworkStats::_internal_set_cpu_usage(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cpu_usage_ = value; +} +inline void CMsgServerNetworkStats::set_cpu_usage(int32_t value) { + _internal_set_cpu_usage(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.cpu_usage) +} + +// optional int32 memory_used_mb = 3; +inline bool CMsgServerNetworkStats::_internal_has_memory_used_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_memory_used_mb() const { + return _internal_has_memory_used_mb(); +} +inline void CMsgServerNetworkStats::clear_memory_used_mb() { + _impl_.memory_used_mb_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgServerNetworkStats::_internal_memory_used_mb() const { + return _impl_.memory_used_mb_; +} +inline int32_t CMsgServerNetworkStats::memory_used_mb() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.memory_used_mb) + return _internal_memory_used_mb(); +} +inline void CMsgServerNetworkStats::_internal_set_memory_used_mb(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.memory_used_mb_ = value; +} +inline void CMsgServerNetworkStats::set_memory_used_mb(int32_t value) { + _internal_set_memory_used_mb(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.memory_used_mb) +} + +// optional int32 memory_free_mb = 4; +inline bool CMsgServerNetworkStats::_internal_has_memory_free_mb() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_memory_free_mb() const { + return _internal_has_memory_free_mb(); +} +inline void CMsgServerNetworkStats::clear_memory_free_mb() { + _impl_.memory_free_mb_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgServerNetworkStats::_internal_memory_free_mb() const { + return _impl_.memory_free_mb_; +} +inline int32_t CMsgServerNetworkStats::memory_free_mb() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.memory_free_mb) + return _internal_memory_free_mb(); +} +inline void CMsgServerNetworkStats::_internal_set_memory_free_mb(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.memory_free_mb_ = value; +} +inline void CMsgServerNetworkStats::set_memory_free_mb(int32_t value) { + _internal_set_memory_free_mb(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.memory_free_mb) +} + +// optional int32 uptime = 5; +inline bool CMsgServerNetworkStats::_internal_has_uptime() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_uptime() const { + return _internal_has_uptime(); +} +inline void CMsgServerNetworkStats::clear_uptime() { + _impl_.uptime_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgServerNetworkStats::_internal_uptime() const { + return _impl_.uptime_; +} +inline int32_t CMsgServerNetworkStats::uptime() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.uptime) + return _internal_uptime(); +} +inline void CMsgServerNetworkStats::_internal_set_uptime(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.uptime_ = value; +} +inline void CMsgServerNetworkStats::set_uptime(int32_t value) { + _internal_set_uptime(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.uptime) +} + +// optional int32 spawn_count = 6; +inline bool CMsgServerNetworkStats::_internal_has_spawn_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_spawn_count() const { + return _internal_has_spawn_count(); +} +inline void CMsgServerNetworkStats::clear_spawn_count() { + _impl_.spawn_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CMsgServerNetworkStats::_internal_spawn_count() const { + return _impl_.spawn_count_; +} +inline int32_t CMsgServerNetworkStats::spawn_count() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.spawn_count) + return _internal_spawn_count(); +} +inline void CMsgServerNetworkStats::_internal_set_spawn_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.spawn_count_ = value; +} +inline void CMsgServerNetworkStats::set_spawn_count(int32_t value) { + _internal_set_spawn_count(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.spawn_count) +} + +// optional int32 num_clients = 8; +inline bool CMsgServerNetworkStats::_internal_has_num_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_num_clients() const { + return _internal_has_num_clients(); +} +inline void CMsgServerNetworkStats::clear_num_clients() { + _impl_.num_clients_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CMsgServerNetworkStats::_internal_num_clients() const { + return _impl_.num_clients_; +} +inline int32_t CMsgServerNetworkStats::num_clients() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_clients) + return _internal_num_clients(); +} +inline void CMsgServerNetworkStats::_internal_set_num_clients(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.num_clients_ = value; +} +inline void CMsgServerNetworkStats::set_num_clients(int32_t value) { + _internal_set_num_clients(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_clients) +} + +// optional int32 num_bots = 9; +inline bool CMsgServerNetworkStats::_internal_has_num_bots() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_num_bots() const { + return _internal_has_num_bots(); +} +inline void CMsgServerNetworkStats::clear_num_bots() { + _impl_.num_bots_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CMsgServerNetworkStats::_internal_num_bots() const { + return _impl_.num_bots_; +} +inline int32_t CMsgServerNetworkStats::num_bots() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_bots) + return _internal_num_bots(); +} +inline void CMsgServerNetworkStats::_internal_set_num_bots(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.num_bots_ = value; +} +inline void CMsgServerNetworkStats::set_num_bots(int32_t value) { + _internal_set_num_bots(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_bots) +} + +// optional int32 num_spectators = 10; +inline bool CMsgServerNetworkStats::_internal_has_num_spectators() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_num_spectators() const { + return _internal_has_num_spectators(); +} +inline void CMsgServerNetworkStats::clear_num_spectators() { + _impl_.num_spectators_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgServerNetworkStats::_internal_num_spectators() const { + return _impl_.num_spectators_; +} +inline int32_t CMsgServerNetworkStats::num_spectators() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_spectators) + return _internal_num_spectators(); +} +inline void CMsgServerNetworkStats::_internal_set_num_spectators(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.num_spectators_ = value; +} +inline void CMsgServerNetworkStats::set_num_spectators(int32_t value) { + _internal_set_num_spectators(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_spectators) +} + +// optional int32 num_tv_relays = 11; +inline bool CMsgServerNetworkStats::_internal_has_num_tv_relays() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_num_tv_relays() const { + return _internal_has_num_tv_relays(); +} +inline void CMsgServerNetworkStats::clear_num_tv_relays() { + _impl_.num_tv_relays_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CMsgServerNetworkStats::_internal_num_tv_relays() const { + return _impl_.num_tv_relays_; +} +inline int32_t CMsgServerNetworkStats::num_tv_relays() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_tv_relays) + return _internal_num_tv_relays(); +} +inline void CMsgServerNetworkStats::_internal_set_num_tv_relays(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.num_tv_relays_ = value; +} +inline void CMsgServerNetworkStats::set_num_tv_relays(int32_t value) { + _internal_set_num_tv_relays(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_tv_relays) +} + +// optional float fps = 12; +inline bool CMsgServerNetworkStats::_internal_has_fps() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_fps() const { + return _internal_has_fps(); +} +inline void CMsgServerNetworkStats::clear_fps() { + _impl_.fps_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CMsgServerNetworkStats::_internal_fps() const { + return _impl_.fps_; +} +inline float CMsgServerNetworkStats::fps() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.fps) + return _internal_fps(); +} +inline void CMsgServerNetworkStats::_internal_set_fps(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.fps_ = value; +} +inline void CMsgServerNetworkStats::set_fps(float value) { + _internal_set_fps(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.fps) +} + +// repeated .CMsgServerNetworkStats.Port ports = 17; +inline int CMsgServerNetworkStats::_internal_ports_size() const { + return _impl_.ports_.size(); +} +inline int CMsgServerNetworkStats::ports_size() const { + return _internal_ports_size(); +} +inline void CMsgServerNetworkStats::clear_ports() { + _impl_.ports_.Clear(); +} +inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::mutable_ports(int index) { + // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.ports) + return _impl_.ports_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >* +CMsgServerNetworkStats::mutable_ports() { + // @@protoc_insertion_point(field_mutable_list:CMsgServerNetworkStats.ports) + return &_impl_.ports_; +} +inline const ::CMsgServerNetworkStats_Port& CMsgServerNetworkStats::_internal_ports(int index) const { + return _impl_.ports_.Get(index); +} +inline const ::CMsgServerNetworkStats_Port& CMsgServerNetworkStats::ports(int index) const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.ports) + return _internal_ports(index); +} +inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::_internal_add_ports() { + return _impl_.ports_.Add(); +} +inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::add_ports() { + ::CMsgServerNetworkStats_Port* _add = _internal_add_ports(); + // @@protoc_insertion_point(field_add:CMsgServerNetworkStats.ports) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >& +CMsgServerNetworkStats::ports() const { + // @@protoc_insertion_point(field_list:CMsgServerNetworkStats.ports) + return _impl_.ports_; +} + +// optional float avg_ping_ms = 18; +inline bool CMsgServerNetworkStats::_internal_has_avg_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_ping_ms() const { + return _internal_has_avg_ping_ms(); +} +inline void CMsgServerNetworkStats::clear_avg_ping_ms() { + _impl_.avg_ping_ms_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline float CMsgServerNetworkStats::_internal_avg_ping_ms() const { + return _impl_.avg_ping_ms_; +} +inline float CMsgServerNetworkStats::avg_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_ping_ms) + return _internal_avg_ping_ms(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_ping_ms(float value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.avg_ping_ms_ = value; +} +inline void CMsgServerNetworkStats::set_avg_ping_ms(float value) { + _internal_set_avg_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_ping_ms) +} + +// optional float avg_engine_latency_out = 19; +inline bool CMsgServerNetworkStats::_internal_has_avg_engine_latency_out() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_engine_latency_out() const { + return _internal_has_avg_engine_latency_out(); +} +inline void CMsgServerNetworkStats::clear_avg_engine_latency_out() { + _impl_.avg_engine_latency_out_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline float CMsgServerNetworkStats::_internal_avg_engine_latency_out() const { + return _impl_.avg_engine_latency_out_; +} +inline float CMsgServerNetworkStats::avg_engine_latency_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_engine_latency_out) + return _internal_avg_engine_latency_out(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_engine_latency_out(float value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.avg_engine_latency_out_ = value; +} +inline void CMsgServerNetworkStats::set_avg_engine_latency_out(float value) { + _internal_set_avg_engine_latency_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_engine_latency_out) +} + +// optional float avg_packets_out = 20; +inline bool CMsgServerNetworkStats::_internal_has_avg_packets_out() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_packets_out() const { + return _internal_has_avg_packets_out(); +} +inline void CMsgServerNetworkStats::clear_avg_packets_out() { + _impl_.avg_packets_out_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline float CMsgServerNetworkStats::_internal_avg_packets_out() const { + return _impl_.avg_packets_out_; +} +inline float CMsgServerNetworkStats::avg_packets_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_packets_out) + return _internal_avg_packets_out(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_packets_out(float value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.avg_packets_out_ = value; +} +inline void CMsgServerNetworkStats::set_avg_packets_out(float value) { + _internal_set_avg_packets_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_packets_out) +} + +// optional float avg_packets_in = 21; +inline bool CMsgServerNetworkStats::_internal_has_avg_packets_in() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_packets_in() const { + return _internal_has_avg_packets_in(); +} +inline void CMsgServerNetworkStats::clear_avg_packets_in() { + _impl_.avg_packets_in_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline float CMsgServerNetworkStats::_internal_avg_packets_in() const { + return _impl_.avg_packets_in_; +} +inline float CMsgServerNetworkStats::avg_packets_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_packets_in) + return _internal_avg_packets_in(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_packets_in(float value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.avg_packets_in_ = value; +} +inline void CMsgServerNetworkStats::set_avg_packets_in(float value) { + _internal_set_avg_packets_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_packets_in) +} + +// optional float avg_loss_out = 22; +inline bool CMsgServerNetworkStats::_internal_has_avg_loss_out() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_loss_out() const { + return _internal_has_avg_loss_out(); +} +inline void CMsgServerNetworkStats::clear_avg_loss_out() { + _impl_.avg_loss_out_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline float CMsgServerNetworkStats::_internal_avg_loss_out() const { + return _impl_.avg_loss_out_; +} +inline float CMsgServerNetworkStats::avg_loss_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_loss_out) + return _internal_avg_loss_out(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_loss_out(float value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.avg_loss_out_ = value; +} +inline void CMsgServerNetworkStats::set_avg_loss_out(float value) { + _internal_set_avg_loss_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_loss_out) +} + +// optional float avg_loss_in = 23; +inline bool CMsgServerNetworkStats::_internal_has_avg_loss_in() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_loss_in() const { + return _internal_has_avg_loss_in(); +} +inline void CMsgServerNetworkStats::clear_avg_loss_in() { + _impl_.avg_loss_in_ = 0; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline float CMsgServerNetworkStats::_internal_avg_loss_in() const { + return _impl_.avg_loss_in_; +} +inline float CMsgServerNetworkStats::avg_loss_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_loss_in) + return _internal_avg_loss_in(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_loss_in(float value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.avg_loss_in_ = value; +} +inline void CMsgServerNetworkStats::set_avg_loss_in(float value) { + _internal_set_avg_loss_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_loss_in) +} + +// optional float avg_data_out = 24; +inline bool CMsgServerNetworkStats::_internal_has_avg_data_out() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_data_out() const { + return _internal_has_avg_data_out(); +} +inline void CMsgServerNetworkStats::clear_avg_data_out() { + _impl_.avg_data_out_ = 0; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline float CMsgServerNetworkStats::_internal_avg_data_out() const { + return _impl_.avg_data_out_; +} +inline float CMsgServerNetworkStats::avg_data_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_data_out) + return _internal_avg_data_out(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_data_out(float value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.avg_data_out_ = value; +} +inline void CMsgServerNetworkStats::set_avg_data_out(float value) { + _internal_set_avg_data_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_data_out) +} + +// optional float avg_data_in = 25; +inline bool CMsgServerNetworkStats::_internal_has_avg_data_in() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_avg_data_in() const { + return _internal_has_avg_data_in(); +} +inline void CMsgServerNetworkStats::clear_avg_data_in() { + _impl_.avg_data_in_ = 0; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline float CMsgServerNetworkStats::_internal_avg_data_in() const { + return _impl_.avg_data_in_; +} +inline float CMsgServerNetworkStats::avg_data_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_data_in) + return _internal_avg_data_in(); +} +inline void CMsgServerNetworkStats::_internal_set_avg_data_in(float value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.avg_data_in_ = value; +} +inline void CMsgServerNetworkStats::set_avg_data_in(float value) { + _internal_set_avg_data_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_data_in) +} + +// optional uint64 total_data_in = 26; +inline bool CMsgServerNetworkStats::_internal_has_total_data_in() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_total_data_in() const { + return _internal_has_total_data_in(); +} +inline void CMsgServerNetworkStats::clear_total_data_in() { + _impl_.total_data_in_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint64_t CMsgServerNetworkStats::_internal_total_data_in() const { + return _impl_.total_data_in_; +} +inline uint64_t CMsgServerNetworkStats::total_data_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_data_in) + return _internal_total_data_in(); +} +inline void CMsgServerNetworkStats::_internal_set_total_data_in(uint64_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.total_data_in_ = value; +} +inline void CMsgServerNetworkStats::set_total_data_in(uint64_t value) { + _internal_set_total_data_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_data_in) +} + +// optional uint64 total_packets_in = 27; +inline bool CMsgServerNetworkStats::_internal_has_total_packets_in() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_total_packets_in() const { + return _internal_has_total_packets_in(); +} +inline void CMsgServerNetworkStats::clear_total_packets_in() { + _impl_.total_packets_in_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint64_t CMsgServerNetworkStats::_internal_total_packets_in() const { + return _impl_.total_packets_in_; +} +inline uint64_t CMsgServerNetworkStats::total_packets_in() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_packets_in) + return _internal_total_packets_in(); +} +inline void CMsgServerNetworkStats::_internal_set_total_packets_in(uint64_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.total_packets_in_ = value; +} +inline void CMsgServerNetworkStats::set_total_packets_in(uint64_t value) { + _internal_set_total_packets_in(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_packets_in) +} + +// optional uint64 total_data_out = 28; +inline bool CMsgServerNetworkStats::_internal_has_total_data_out() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_total_data_out() const { + return _internal_has_total_data_out(); +} +inline void CMsgServerNetworkStats::clear_total_data_out() { + _impl_.total_data_out_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint64_t CMsgServerNetworkStats::_internal_total_data_out() const { + return _impl_.total_data_out_; +} +inline uint64_t CMsgServerNetworkStats::total_data_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_data_out) + return _internal_total_data_out(); +} +inline void CMsgServerNetworkStats::_internal_set_total_data_out(uint64_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.total_data_out_ = value; +} +inline void CMsgServerNetworkStats::set_total_data_out(uint64_t value) { + _internal_set_total_data_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_data_out) +} + +// optional uint64 total_packets_out = 29; +inline bool CMsgServerNetworkStats::_internal_has_total_packets_out() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool CMsgServerNetworkStats::has_total_packets_out() const { + return _internal_has_total_packets_out(); +} +inline void CMsgServerNetworkStats::clear_total_packets_out() { + _impl_.total_packets_out_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint64_t CMsgServerNetworkStats::_internal_total_packets_out() const { + return _impl_.total_packets_out_; +} +inline uint64_t CMsgServerNetworkStats::total_packets_out() const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_packets_out) + return _internal_total_packets_out(); +} +inline void CMsgServerNetworkStats::_internal_set_total_packets_out(uint64_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.total_packets_out_ = value; +} +inline void CMsgServerNetworkStats::set_total_packets_out(uint64_t value) { + _internal_set_total_packets_out(value); + // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_packets_out) +} + +// repeated .CMsgServerNetworkStats.Player players = 30; +inline int CMsgServerNetworkStats::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int CMsgServerNetworkStats::players_size() const { + return _internal_players_size(); +} +inline void CMsgServerNetworkStats::clear_players() { + _impl_.players_.Clear(); +} +inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >* +CMsgServerNetworkStats::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:CMsgServerNetworkStats.players) + return &_impl_.players_; +} +inline const ::CMsgServerNetworkStats_Player& CMsgServerNetworkStats::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::CMsgServerNetworkStats_Player& CMsgServerNetworkStats::players(int index) const { + // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.players) + return _internal_players(index); +} +inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::add_players() { + ::CMsgServerNetworkStats_Player* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:CMsgServerNetworkStats.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >& +CMsgServerNetworkStats::players() const { + // @@protoc_insertion_point(field_list:CMsgServerNetworkStats.players) + return _impl_.players_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_HltvReplay + +// optional int32 delay = 1; +inline bool CSVCMsg_HltvReplay::_internal_has_delay() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_delay() const { + return _internal_has_delay(); +} +inline void CSVCMsg_HltvReplay::clear_delay() { + _impl_.delay_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_delay() const { + return _impl_.delay_; +} +inline int32_t CSVCMsg_HltvReplay::delay() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.delay) + return _internal_delay(); +} +inline void CSVCMsg_HltvReplay::_internal_set_delay(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.delay_ = value; +} +inline void CSVCMsg_HltvReplay::set_delay(int32_t value) { + _internal_set_delay(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.delay) +} + +// optional int32 primary_target = 2 [default = -1]; +inline bool CSVCMsg_HltvReplay::_internal_has_primary_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_primary_target() const { + return _internal_has_primary_target(); +} +inline void CSVCMsg_HltvReplay::clear_primary_target() { + _impl_.primary_target_ = -1; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_primary_target() const { + return _impl_.primary_target_; +} +inline int32_t CSVCMsg_HltvReplay::primary_target() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.primary_target) + return _internal_primary_target(); +} +inline void CSVCMsg_HltvReplay::_internal_set_primary_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.primary_target_ = value; +} +inline void CSVCMsg_HltvReplay::set_primary_target(int32_t value) { + _internal_set_primary_target(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.primary_target) +} + +// optional int32 replay_stop_at = 3; +inline bool CSVCMsg_HltvReplay::_internal_has_replay_stop_at() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_replay_stop_at() const { + return _internal_has_replay_stop_at(); +} +inline void CSVCMsg_HltvReplay::clear_replay_stop_at() { + _impl_.replay_stop_at_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_replay_stop_at() const { + return _impl_.replay_stop_at_; +} +inline int32_t CSVCMsg_HltvReplay::replay_stop_at() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_stop_at) + return _internal_replay_stop_at(); +} +inline void CSVCMsg_HltvReplay::_internal_set_replay_stop_at(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.replay_stop_at_ = value; +} +inline void CSVCMsg_HltvReplay::set_replay_stop_at(int32_t value) { + _internal_set_replay_stop_at(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_stop_at) +} + +// optional int32 replay_start_at = 4; +inline bool CSVCMsg_HltvReplay::_internal_has_replay_start_at() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_replay_start_at() const { + return _internal_has_replay_start_at(); +} +inline void CSVCMsg_HltvReplay::clear_replay_start_at() { + _impl_.replay_start_at_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_replay_start_at() const { + return _impl_.replay_start_at_; +} +inline int32_t CSVCMsg_HltvReplay::replay_start_at() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_start_at) + return _internal_replay_start_at(); +} +inline void CSVCMsg_HltvReplay::_internal_set_replay_start_at(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.replay_start_at_ = value; +} +inline void CSVCMsg_HltvReplay::set_replay_start_at(int32_t value) { + _internal_set_replay_start_at(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_start_at) +} + +// optional int32 replay_slowdown_begin = 5; +inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_begin() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_replay_slowdown_begin() const { + return _internal_has_replay_slowdown_begin(); +} +inline void CSVCMsg_HltvReplay::clear_replay_slowdown_begin() { + _impl_.replay_slowdown_begin_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_replay_slowdown_begin() const { + return _impl_.replay_slowdown_begin_; +} +inline int32_t CSVCMsg_HltvReplay::replay_slowdown_begin() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_begin) + return _internal_replay_slowdown_begin(); +} +inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_begin(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.replay_slowdown_begin_ = value; +} +inline void CSVCMsg_HltvReplay::set_replay_slowdown_begin(int32_t value) { + _internal_set_replay_slowdown_begin(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_begin) +} + +// optional int32 replay_slowdown_end = 6; +inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_replay_slowdown_end() const { + return _internal_has_replay_slowdown_end(); +} +inline void CSVCMsg_HltvReplay::clear_replay_slowdown_end() { + _impl_.replay_slowdown_end_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_replay_slowdown_end() const { + return _impl_.replay_slowdown_end_; +} +inline int32_t CSVCMsg_HltvReplay::replay_slowdown_end() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_end) + return _internal_replay_slowdown_end(); +} +inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_end(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.replay_slowdown_end_ = value; +} +inline void CSVCMsg_HltvReplay::set_replay_slowdown_end(int32_t value) { + _internal_set_replay_slowdown_end(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_end) +} + +// optional float replay_slowdown_rate = 7; +inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_rate() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_replay_slowdown_rate() const { + return _internal_has_replay_slowdown_rate(); +} +inline void CSVCMsg_HltvReplay::clear_replay_slowdown_rate() { + _impl_.replay_slowdown_rate_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CSVCMsg_HltvReplay::_internal_replay_slowdown_rate() const { + return _impl_.replay_slowdown_rate_; +} +inline float CSVCMsg_HltvReplay::replay_slowdown_rate() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_rate) + return _internal_replay_slowdown_rate(); +} +inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_rate(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.replay_slowdown_rate_ = value; +} +inline void CSVCMsg_HltvReplay::set_replay_slowdown_rate(float value) { + _internal_set_replay_slowdown_rate(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_rate) +} + +// optional int32 reason = 8; +inline bool CSVCMsg_HltvReplay::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_HltvReplay::has_reason() const { + return _internal_has_reason(); +} +inline void CSVCMsg_HltvReplay::clear_reason() { + _impl_.reason_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CSVCMsg_HltvReplay::_internal_reason() const { + return _impl_.reason_; +} +inline int32_t CSVCMsg_HltvReplay::reason() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.reason) + return _internal_reason(); +} +inline void CSVCMsg_HltvReplay::_internal_set_reason(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.reason_ = value; +} +inline void CSVCMsg_HltvReplay::set_reason(int32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.reason) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_HltvReplay + +// optional int32 request = 1; +inline bool CCLCMsg_HltvReplay::_internal_has_request() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_HltvReplay::has_request() const { + return _internal_has_request(); +} +inline void CCLCMsg_HltvReplay::clear_request() { + _impl_.request_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CCLCMsg_HltvReplay::_internal_request() const { + return _impl_.request_; +} +inline int32_t CCLCMsg_HltvReplay::request() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.request) + return _internal_request(); +} +inline void CCLCMsg_HltvReplay::_internal_set_request(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.request_ = value; +} +inline void CCLCMsg_HltvReplay::set_request(int32_t value) { + _internal_set_request(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.request) +} + +// optional float slowdown_length = 2; +inline bool CCLCMsg_HltvReplay::_internal_has_slowdown_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCLCMsg_HltvReplay::has_slowdown_length() const { + return _internal_has_slowdown_length(); +} +inline void CCLCMsg_HltvReplay::clear_slowdown_length() { + _impl_.slowdown_length_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CCLCMsg_HltvReplay::_internal_slowdown_length() const { + return _impl_.slowdown_length_; +} +inline float CCLCMsg_HltvReplay::slowdown_length() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.slowdown_length) + return _internal_slowdown_length(); +} +inline void CCLCMsg_HltvReplay::_internal_set_slowdown_length(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.slowdown_length_ = value; +} +inline void CCLCMsg_HltvReplay::set_slowdown_length(float value) { + _internal_set_slowdown_length(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.slowdown_length) +} + +// optional float slowdown_rate = 3; +inline bool CCLCMsg_HltvReplay::_internal_has_slowdown_rate() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCLCMsg_HltvReplay::has_slowdown_rate() const { + return _internal_has_slowdown_rate(); +} +inline void CCLCMsg_HltvReplay::clear_slowdown_rate() { + _impl_.slowdown_rate_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CCLCMsg_HltvReplay::_internal_slowdown_rate() const { + return _impl_.slowdown_rate_; +} +inline float CCLCMsg_HltvReplay::slowdown_rate() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.slowdown_rate) + return _internal_slowdown_rate(); +} +inline void CCLCMsg_HltvReplay::_internal_set_slowdown_rate(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.slowdown_rate_ = value; +} +inline void CCLCMsg_HltvReplay::set_slowdown_rate(float value) { + _internal_set_slowdown_rate(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.slowdown_rate) +} + +// optional int32 primary_target = 4 [default = -1]; +inline bool CCLCMsg_HltvReplay::_internal_has_primary_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCLCMsg_HltvReplay::has_primary_target() const { + return _internal_has_primary_target(); +} +inline void CCLCMsg_HltvReplay::clear_primary_target() { + _impl_.primary_target_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCLCMsg_HltvReplay::_internal_primary_target() const { + return _impl_.primary_target_; +} +inline int32_t CCLCMsg_HltvReplay::primary_target() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.primary_target) + return _internal_primary_target(); +} +inline void CCLCMsg_HltvReplay::_internal_set_primary_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.primary_target_ = value; +} +inline void CCLCMsg_HltvReplay::set_primary_target(int32_t value) { + _internal_set_primary_target(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.primary_target) +} + +// optional float event_time = 5; +inline bool CCLCMsg_HltvReplay::_internal_has_event_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCLCMsg_HltvReplay::has_event_time() const { + return _internal_has_event_time(); +} +inline void CCLCMsg_HltvReplay::clear_event_time() { + _impl_.event_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CCLCMsg_HltvReplay::_internal_event_time() const { + return _impl_.event_time_; +} +inline float CCLCMsg_HltvReplay::event_time() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.event_time) + return _internal_event_time(); +} +inline void CCLCMsg_HltvReplay::_internal_set_event_time(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.event_time_ = value; +} +inline void CCLCMsg_HltvReplay::set_event_time(float value) { + _internal_set_event_time(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.event_time) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Broadcast_Command + +// optional string cmd = 1; +inline bool CSVCMsg_Broadcast_Command::_internal_has_cmd() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_Broadcast_Command::has_cmd() const { + return _internal_has_cmd(); +} +inline void CSVCMsg_Broadcast_Command::clear_cmd() { + _impl_.cmd_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_Broadcast_Command::cmd() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Broadcast_Command.cmd) + return _internal_cmd(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_Broadcast_Command::set_cmd(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cmd_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_Broadcast_Command.cmd) +} +inline std::string* CSVCMsg_Broadcast_Command::mutable_cmd() { + std::string* _s = _internal_mutable_cmd(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_Broadcast_Command.cmd) + return _s; +} +inline const std::string& CSVCMsg_Broadcast_Command::_internal_cmd() const { + return _impl_.cmd_.Get(); +} +inline void CSVCMsg_Broadcast_Command::_internal_set_cmd(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cmd_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Broadcast_Command::_internal_mutable_cmd() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cmd_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_Broadcast_Command::release_cmd() { + // @@protoc_insertion_point(field_release:CSVCMsg_Broadcast_Command.cmd) + if (!_internal_has_cmd()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cmd_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cmd_.IsDefault()) { + _impl_.cmd_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_Broadcast_Command::set_allocated_cmd(std::string* cmd) { + if (cmd != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cmd_.SetAllocated(cmd, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cmd_.IsDefault()) { + _impl_.cmd_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_Broadcast_Command.cmd) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_HltvFixupOperatorTick + +// optional int32 tick = 1; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_tick() const { + return _internal_has_tick(); +} +inline void CCLCMsg_HltvFixupOperatorTick::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::tick() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.tick) + return _internal_tick(); +} +inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.tick_ = value; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.tick) +} + +// optional bytes props_data = 2; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_props_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_props_data() const { + return _internal_has_props_data(); +} +inline void CCLCMsg_HltvFixupOperatorTick::clear_props_data() { + _impl_.props_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCLCMsg_HltvFixupOperatorTick::props_data() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.props_data) + return _internal_props_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCLCMsg_HltvFixupOperatorTick::set_props_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.props_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.props_data) +} +inline std::string* CCLCMsg_HltvFixupOperatorTick::mutable_props_data() { + std::string* _s = _internal_mutable_props_data(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.props_data) + return _s; +} +inline const std::string& CCLCMsg_HltvFixupOperatorTick::_internal_props_data() const { + return _impl_.props_data_.Get(); +} +inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_props_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.props_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_props_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.props_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCLCMsg_HltvFixupOperatorTick::release_props_data() { + // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.props_data) + if (!_internal_has_props_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.props_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.props_data_.IsDefault()) { + _impl_.props_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_props_data(std::string* props_data) { + if (props_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.props_data_.SetAllocated(props_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.props_data_.IsDefault()) { + _impl_.props_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.props_data) +} + +// optional .CMsgVector origin = 3; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::origin() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.origin) + return _internal_origin(); +} +inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.origin) +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::release_origin() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.origin) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.origin) + return _msg; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.origin) +} + +// optional .CMsgQAngle eye_angles = 4; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_eye_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.eye_angles_ != nullptr); + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_eye_angles() const { + return _internal_has_eye_angles(); +} +inline const ::CMsgQAngle& CCLCMsg_HltvFixupOperatorTick::_internal_eye_angles() const { + const ::CMsgQAngle* p = _impl_.eye_angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CCLCMsg_HltvFixupOperatorTick::eye_angles() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.eye_angles) + return _internal_eye_angles(); +} +inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_eye_angles( + ::CMsgQAngle* eye_angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eye_angles_); + } + _impl_.eye_angles_ = eye_angles; + if (eye_angles) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.eye_angles) +} +inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::release_eye_angles() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.eye_angles_; + _impl_.eye_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 ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_eye_angles() { + // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.eye_angles) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.eye_angles_; + _impl_.eye_angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_eye_angles() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.eye_angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.eye_angles_ = p; + } + return _impl_.eye_angles_; +} +inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::mutable_eye_angles() { + ::CMsgQAngle* _msg = _internal_mutable_eye_angles(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.eye_angles) + return _msg; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_eye_angles(::CMsgQAngle* eye_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eye_angles_); + } + if (eye_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eye_angles)); + if (message_arena != submessage_arena) { + eye_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, eye_angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.eye_angles_ = eye_angles; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.eye_angles) +} + +// optional int32 observer_mode = 5; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_observer_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_observer_mode() const { + return _internal_has_observer_mode(); +} +inline void CCLCMsg_HltvFixupOperatorTick::clear_observer_mode() { + _impl_.observer_mode_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_observer_mode() const { + return _impl_.observer_mode_; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::observer_mode() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.observer_mode) + return _internal_observer_mode(); +} +inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_observer_mode(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.observer_mode_ = value; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_observer_mode(int32_t value) { + _internal_set_observer_mode(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.observer_mode) +} + +// optional bool cameraman_scoreboard = 6; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_cameraman_scoreboard() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_cameraman_scoreboard() const { + return _internal_has_cameraman_scoreboard(); +} +inline void CCLCMsg_HltvFixupOperatorTick::clear_cameraman_scoreboard() { + _impl_.cameraman_scoreboard_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_cameraman_scoreboard() const { + return _impl_.cameraman_scoreboard_; +} +inline bool CCLCMsg_HltvFixupOperatorTick::cameraman_scoreboard() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.cameraman_scoreboard) + return _internal_cameraman_scoreboard(); +} +inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_cameraman_scoreboard(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.cameraman_scoreboard_ = value; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_cameraman_scoreboard(bool value) { + _internal_set_cameraman_scoreboard(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.cameraman_scoreboard) +} + +// optional int32 observer_target = 7; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_observer_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_observer_target() const { + return _internal_has_observer_target(); +} +inline void CCLCMsg_HltvFixupOperatorTick::clear_observer_target() { + _impl_.observer_target_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_observer_target() const { + return _impl_.observer_target_; +} +inline int32_t CCLCMsg_HltvFixupOperatorTick::observer_target() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.observer_target) + return _internal_observer_target(); +} +inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_observer_target(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.observer_target_ = value; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_observer_target(int32_t value) { + _internal_set_observer_target(value); + // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.observer_target) +} + +// optional .CMsgVector view_offset = 8; +inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_view_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.view_offset_ != nullptr); + return value; +} +inline bool CCLCMsg_HltvFixupOperatorTick::has_view_offset() const { + return _internal_has_view_offset(); +} +inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::_internal_view_offset() const { + const ::CMsgVector* p = _impl_.view_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::view_offset() const { + // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.view_offset) + return _internal_view_offset(); +} +inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_view_offset( + ::CMsgVector* view_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_offset_); + } + _impl_.view_offset_ = view_offset; + if (view_offset) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.view_offset) +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::release_view_offset() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.view_offset_; + _impl_.view_offset_ = 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 ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_view_offset() { + // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.view_offset) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.view_offset_; + _impl_.view_offset_ = nullptr; + return temp; +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_view_offset() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.view_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.view_offset_ = p; + } + return _impl_.view_offset_; +} +inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::mutable_view_offset() { + ::CMsgVector* _msg = _internal_mutable_view_offset(); + // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.view_offset) + return _msg; +} +inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_view_offset(::CMsgVector* view_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_offset_); + } + if (view_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_offset)); + if (message_arena != submessage_arena) { + view_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, view_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.view_offset_ = view_offset; + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.view_offset) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_HltvFixupOperatorStatus + +// optional uint32 mode = 1; +inline bool CSVCMsg_HltvFixupOperatorStatus::_internal_has_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_HltvFixupOperatorStatus::has_mode() const { + return _internal_has_mode(); +} +inline void CSVCMsg_HltvFixupOperatorStatus::clear_mode() { + _impl_.mode_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CSVCMsg_HltvFixupOperatorStatus::_internal_mode() const { + return _impl_.mode_; +} +inline uint32_t CSVCMsg_HltvFixupOperatorStatus::mode() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvFixupOperatorStatus.mode) + return _internal_mode(); +} +inline void CSVCMsg_HltvFixupOperatorStatus::_internal_set_mode(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.mode_ = value; +} +inline void CSVCMsg_HltvFixupOperatorStatus::set_mode(uint32_t value) { + _internal_set_mode(value); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvFixupOperatorStatus.mode) +} + +// optional string override_operator_name = 2; +inline bool CSVCMsg_HltvFixupOperatorStatus::_internal_has_override_operator_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_HltvFixupOperatorStatus::has_override_operator_name() const { + return _internal_has_override_operator_name(); +} +inline void CSVCMsg_HltvFixupOperatorStatus::clear_override_operator_name() { + _impl_.override_operator_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_HltvFixupOperatorStatus::override_operator_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) + return _internal_override_operator_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_HltvFixupOperatorStatus::set_override_operator_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.override_operator_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) +} +inline std::string* CSVCMsg_HltvFixupOperatorStatus::mutable_override_operator_name() { + std::string* _s = _internal_mutable_override_operator_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) + return _s; +} +inline const std::string& CSVCMsg_HltvFixupOperatorStatus::_internal_override_operator_name() const { + return _impl_.override_operator_name_.Get(); +} +inline void CSVCMsg_HltvFixupOperatorStatus::_internal_set_override_operator_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.override_operator_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_HltvFixupOperatorStatus::_internal_mutable_override_operator_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.override_operator_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_HltvFixupOperatorStatus::release_override_operator_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) + if (!_internal_has_override_operator_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.override_operator_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.override_operator_name_.IsDefault()) { + _impl_.override_operator_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_HltvFixupOperatorStatus::set_allocated_override_operator_name(std::string* override_operator_name) { + if (override_operator_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.override_operator_name_.SetAllocated(override_operator_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.override_operator_name_.IsDefault()) { + _impl_.override_operator_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) +} + +// ------------------------------------------------------------------- + +// CMsgServerUserCmd + +// optional bytes data = 1; +inline bool CMsgServerUserCmd::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgServerUserCmd::has_data() const { + return _internal_has_data(); +} +inline void CMsgServerUserCmd::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgServerUserCmd::data() const { + // @@protoc_insertion_point(field_get:CMsgServerUserCmd.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgServerUserCmd::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgServerUserCmd.data) +} +inline std::string* CMsgServerUserCmd::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CMsgServerUserCmd.data) + return _s; +} +inline const std::string& CMsgServerUserCmd::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CMsgServerUserCmd::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgServerUserCmd::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgServerUserCmd::release_data() { + // @@protoc_insertion_point(field_release:CMsgServerUserCmd.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgServerUserCmd::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgServerUserCmd.data) +} + +// optional int32 cmd_number = 2; +inline bool CMsgServerUserCmd::_internal_has_cmd_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgServerUserCmd::has_cmd_number() const { + return _internal_has_cmd_number(); +} +inline void CMsgServerUserCmd::clear_cmd_number() { + _impl_.cmd_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgServerUserCmd::_internal_cmd_number() const { + return _impl_.cmd_number_; +} +inline int32_t CMsgServerUserCmd::cmd_number() const { + // @@protoc_insertion_point(field_get:CMsgServerUserCmd.cmd_number) + return _internal_cmd_number(); +} +inline void CMsgServerUserCmd::_internal_set_cmd_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cmd_number_ = value; +} +inline void CMsgServerUserCmd::set_cmd_number(int32_t value) { + _internal_set_cmd_number(value); + // @@protoc_insertion_point(field_set:CMsgServerUserCmd.cmd_number) +} + +// optional int32 player_slot = 3 [default = -1]; +inline bool CMsgServerUserCmd::_internal_has_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgServerUserCmd::has_player_slot() const { + return _internal_has_player_slot(); +} +inline void CMsgServerUserCmd::clear_player_slot() { + _impl_.player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgServerUserCmd::_internal_player_slot() const { + return _impl_.player_slot_; +} +inline int32_t CMsgServerUserCmd::player_slot() const { + // @@protoc_insertion_point(field_get:CMsgServerUserCmd.player_slot) + return _internal_player_slot(); +} +inline void CMsgServerUserCmd::_internal_set_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.player_slot_ = value; +} +inline void CMsgServerUserCmd::set_player_slot(int32_t value) { + _internal_set_player_slot(value); + // @@protoc_insertion_point(field_set:CMsgServerUserCmd.player_slot) +} + +// optional int32 server_tick_executed = 4; +inline bool CMsgServerUserCmd::_internal_has_server_tick_executed() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgServerUserCmd::has_server_tick_executed() const { + return _internal_has_server_tick_executed(); +} +inline void CMsgServerUserCmd::clear_server_tick_executed() { + _impl_.server_tick_executed_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgServerUserCmd::_internal_server_tick_executed() const { + return _impl_.server_tick_executed_; +} +inline int32_t CMsgServerUserCmd::server_tick_executed() const { + // @@protoc_insertion_point(field_get:CMsgServerUserCmd.server_tick_executed) + return _internal_server_tick_executed(); +} +inline void CMsgServerUserCmd::_internal_set_server_tick_executed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.server_tick_executed_ = value; +} +inline void CMsgServerUserCmd::set_server_tick_executed(int32_t value) { + _internal_set_server_tick_executed(value); + // @@protoc_insertion_point(field_set:CMsgServerUserCmd.server_tick_executed) +} + +// optional int32 client_tick = 5; +inline bool CMsgServerUserCmd::_internal_has_client_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgServerUserCmd::has_client_tick() const { + return _internal_has_client_tick(); +} +inline void CMsgServerUserCmd::clear_client_tick() { + _impl_.client_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgServerUserCmd::_internal_client_tick() const { + return _impl_.client_tick_; +} +inline int32_t CMsgServerUserCmd::client_tick() const { + // @@protoc_insertion_point(field_get:CMsgServerUserCmd.client_tick) + return _internal_client_tick(); +} +inline void CMsgServerUserCmd::_internal_set_client_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_tick_ = value; +} +inline void CMsgServerUserCmd::set_client_tick(int32_t value) { + _internal_set_client_tick(value); + // @@protoc_insertion_point(field_set:CMsgServerUserCmd.client_tick) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_UserCommands + +// repeated .CMsgServerUserCmd commands = 1; +inline int CSVCMsg_UserCommands::_internal_commands_size() const { + return _impl_.commands_.size(); +} +inline int CSVCMsg_UserCommands::commands_size() const { + return _internal_commands_size(); +} +inline void CSVCMsg_UserCommands::clear_commands() { + _impl_.commands_.Clear(); +} +inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::mutable_commands(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_UserCommands.commands) + return _impl_.commands_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >* +CSVCMsg_UserCommands::mutable_commands() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_UserCommands.commands) + return &_impl_.commands_; +} +inline const ::CMsgServerUserCmd& CSVCMsg_UserCommands::_internal_commands(int index) const { + return _impl_.commands_.Get(index); +} +inline const ::CMsgServerUserCmd& CSVCMsg_UserCommands::commands(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_UserCommands.commands) + return _internal_commands(index); +} +inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::_internal_add_commands() { + return _impl_.commands_.Add(); +} +inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::add_commands() { + ::CMsgServerUserCmd* _add = _internal_add_commands(); + // @@protoc_insertion_point(field_add:CSVCMsg_UserCommands.commands) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >& +CSVCMsg_UserCommands::commands() const { + // @@protoc_insertion_point(field_list:CSVCMsg_UserCommands.commands) + return _impl_.commands_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CBidirMsg_PredictionEvent_ESyncType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CBidirMsg_PredictionEvent_ESyncType>() { + return ::CBidirMsg_PredictionEvent_ESyncType_descriptor(); +} +template <> struct is_proto_enum< ::CLC_Messages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CLC_Messages>() { + return ::CLC_Messages_descriptor(); +} +template <> struct is_proto_enum< ::SVC_Messages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages>() { + return ::SVC_Messages_descriptor(); +} +template <> struct is_proto_enum< ::VoiceDataFormat_t> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::VoiceDataFormat_t>() { + return ::VoiceDataFormat_t_descriptor(); +} +template <> struct is_proto_enum< ::RequestPause_t> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::RequestPause_t>() { + return ::RequestPause_t_descriptor(); +} +template <> struct is_proto_enum< ::PrefetchType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::PrefetchType>() { + return ::PrefetchType_descriptor(); +} +template <> struct is_proto_enum< ::ESplitScreenMessageType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESplitScreenMessageType>() { + return ::ESplitScreenMessageType_descriptor(); +} +template <> struct is_proto_enum< ::EQueryCvarValueStatus> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EQueryCvarValueStatus>() { + return ::EQueryCvarValueStatus_descriptor(); +} +template <> struct is_proto_enum< ::DIALOG_TYPE> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::DIALOG_TYPE>() { + return ::DIALOG_TYPE_descriptor(); +} +template <> struct is_proto_enum< ::SVC_Messages_LowFrequency> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages_LowFrequency>() { + return ::SVC_Messages_LowFrequency_descriptor(); +} +template <> struct is_proto_enum< ::Bidirectional_Messages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages>() { + return ::Bidirectional_Messages_descriptor(); +} +template <> struct is_proto_enum< ::Bidirectional_Messages_LowFrequency> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages_LowFrequency>() { + return ::Bidirectional_Messages_LowFrequency_descriptor(); +} +template <> struct is_proto_enum< ::ReplayEventType_t> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ReplayEventType_t>() { + return ::ReplayEventType_t_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_netmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.cc new file mode 100644 index 0000000..d0529fb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.cc @@ -0,0 +1,454 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: network_connection.proto + +#include "network_connection.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; + +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_network_5fconnection_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_network_5fconnection_2eproto = nullptr; +const uint32_t TableStruct_network_5fconnection_2eproto::offsets[1] = {}; +static constexpr ::_pbi::MigrationSchema* schemas = nullptr; +static constexpr ::_pb::Message* const* file_default_instances = nullptr; + +const char descriptor_table_protodef_network_5fconnection_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\030network_connection.proto\032 google/proto" + "buf/descriptor.proto*\260M\n\033ENetworkDisconn" + "ectionReason\022\036\n\032NETWORK_DISCONNECT_INVAL" + "ID\020\000\022\037\n\033NETWORK_DISCONNECT_SHUTDOWN\020\001\022F\n" + "%NETWORK_DISCONNECT_DISCONNECT_BY_USER\020\002" + "\032\033\242\324\030\027#GameUI_Disconnect_User\022J\n\'NETWORK" + "_DISCONNECT_DISCONNECT_BY_SERVER\020\003\032\035\242\324\030\031" + "#GameUI_Disconnect_Server\022B\n\027NETWORK_DIS" + "CONNECT_LOST\020\004\032%\242\324\030!#GameUI_Disconnect_C" + "onnectionLost\022J\n\033NETWORK_DISCONNECT_OVER" + "FLOW\020\005\032)\242\324\030%#GameUI_Disconnect_Connectio" + "nOverflow\022I\n\037NETWORK_DISCONNECT_STEAM_BA" + "NNED\020\006\032$\242\324\030 #GameUI_Disconnect_SteamIDBa" + "nned\022G\n\036NETWORK_DISCONNECT_STEAM_INUSE\020\007" + "\032#\242\324\030\037#GameUI_Disconnect_SteamIDInUse\022G\n" + "\037NETWORK_DISCONNECT_STEAM_TICKET\020\010\032\"\242\324\030\036" + "#GameUI_Disconnect_SteamTicket\022E\n\036NETWOR" + "K_DISCONNECT_STEAM_LOGON\020\t\032!\242\324\030\035#GameUI_" + "Disconnect_SteamLogon\022M\n&NETWORK_DISCONN" + "ECT_STEAM_AUTHCANCELLED\020\n\032!\242\324\030\035#GameUI_D" + "isconnect_SteamLogon\022O\n(NETWORK_DISCONNE" + "CT_STEAM_AUTHALREADYUSED\020\013\032!\242\324\030\035#GameUI_" + "Disconnect_SteamLogon\022K\n$NETWORK_DISCONN" + "ECT_STEAM_AUTHINVALID\020\014\032!\242\324\030\035#GameUI_Dis" + "connect_SteamLogon\022M\n$NETWORK_DISCONNECT" + "_STEAM_VACBANSTATE\020\r\032#\242\324\030\033#GameUI_Discon" + "nect_SteamVAC\260\324\030\000\022S\n,NETWORK_DISCONNECT_" + "STEAM_LOGGED_IN_ELSEWHERE\020\016\032!\242\324\030\035#GameUI" + "_Disconnect_SteamInUse\022T\n+NETWORK_DISCON" + "NECT_STEAM_VAC_CHECK_TIMEDOUT\020\017\032#\242\324\030\037#Ga" + "meUI_Disconnect_SteamTimeOut\022I\n NETWORK_" + "DISCONNECT_STEAM_DROPPED\020\020\032#\242\324\030\037#GameUI_" + "Disconnect_SteamDropped\022M\n\"NETWORK_DISCO" + "NNECT_STEAM_OWNERSHIP\020\021\032%\242\324\030!#GameUI_Dis" + "connect_SteamOwnership\022U\n&NETWORK_DISCON" + "NECT_SERVERINFO_OVERFLOW\020\022\032)\242\324\030%#GameUI_" + "Disconnect_ServerInfoOverflow\022K\n#NETWORK" + "_DISCONNECT_TICKMSG_OVERFLOW\020\023\032\"\242\324\030\036#Gam" + "eUI_Disconnect_TickMessage\022Y\n*NETWORK_DI" + "SCONNECT_STRINGTABLEMSG_OVERFLOW\020\024\032)\242\324\030%" + "#GameUI_Disconnect_StringTableMessage\022S\n" + "\'NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW" + "\020\025\032&\242\324\030\"#GameUI_Disconnect_DeltaEntMessa" + "ge\022Q\n&NETWORK_DISCONNECT_TEMPENTMSG_OVER" + "FLOW\020\026\032%\242\324\030!#GameUI_Disconnect_TempEntMe" + "ssage\022O\n%NETWORK_DISCONNECT_SOUNDSMSG_OV" + "ERFLOW\020\027\032$\242\324\030 #GameUI_Disconnect_SoundsM" + "essage\022P\n#NETWORK_DISCONNECT_SNAPSHOTOVE" + "RFLOW\020\030\032\'\242\324\030##GameUI_Disconnect_Snapshot" + "Overflow\022J\n NETWORK_DISCONNECT_SNAPSHOTE" + "RROR\020\031\032$\242\324\030 #GameUI_Disconnect_SnapshotE" + "rror\022P\n#NETWORK_DISCONNECT_RELIABLEOVERF" + "LOW\020\032\032\'\242\324\030##GameUI_Disconnect_ReliableOv" + "erflow\022N\n\037NETWORK_DISCONNECT_BADDELTATIC" + "K\020\033\032)\242\324\030%#GameUI_Disconnect_BadClientDel" + "taTick\022H\n\037NETWORK_DISCONNECT_NOMORESPLIT" + "S\020\034\032#\242\324\030\037#GameUI_Disconnect_NoMoreSplits" + "\022@\n\033NETWORK_DISCONNECT_TIMEDOUT\020\035\032\037\242\324\030\033#" + "GameUI_Disconnect_TimedOut\022H\n\037NETWORK_DI" + "SCONNECT_DISCONNECTED\020\036\032#\242\324\030\037#GameUI_Dis" + "connect_Disconnected\022H\n\037NETWORK_DISCONNE" + "CT_LEAVINGSPLIT\020\037\032#\242\324\030\037#GameUI_Disconnec" + "t_LeavingSplit\022X\n\'NETWORK_DISCONNECT_DIF" + "FERENTCLASSTABLES\020 \032+\242\324\030\'#GameUI_Disconn" + "ect_DifferentClassTables\022P\n#NETWORK_DISC" + "ONNECT_BADRELAYPASSWORD\020!\032\'\242\324\030##GameUI_D" + "isconnect_BadRelayPassword\022X\n\'NETWORK_DI" + "SCONNECT_BADSPECTATORPASSWORD\020\"\032+\242\324\030\'#Ga" + "meUI_Disconnect_BadSpectatorPassword\022L\n!" + "NETWORK_DISCONNECT_HLTVRESTRICTED\020#\032%\242\324\030" + "!#GameUI_Disconnect_HLTVRestricted\022H\n\037NE" + "TWORK_DISCONNECT_NOSPECTATORS\020$\032#\242\324\030\037#Ga" + "meUI_Disconnect_NoSpectators\022N\n\"NETWORK_" + "DISCONNECT_HLTVUNAVAILABLE\020%\032&\242\324\030\"#GameU" + "I_Disconnect_HLTVUnavailable\022@\n\033NETWORK_" + "DISCONNECT_HLTVSTOP\020&\032\037\242\324\030\033#GameUI_Disco" + "nnect_HLTVStop\022<\n\031NETWORK_DISCONNECT_KIC" + "KED\020\'\032\035\242\324\030\031#GameUI_Disconnect_Kicked\022@\n\033" + "NETWORK_DISCONNECT_BANADDED\020(\032\037\242\324\030\033#Game" + "UI_Disconnect_BanAdded\022H\n\037NETWORK_DISCON" + "NECT_KICKBANADDED\020)\032#\242\324\030\037#GameUI_Disconn" + "ect_KickBanAdded\022D\n\035NETWORK_DISCONNECT_H" + "LTVDIRECT\020*\032!\242\324\030\035#GameUI_Disconnect_HLTV" + "Direct\022\\\n)NETWORK_DISCONNECT_PURESERVER_" + "CLIENTEXTRA\020+\032-\242\324\030)#GameUI_Disconnect_Pu" + "reServer_ClientExtra\022V\n&NETWORK_DISCONNE" + "CT_PURESERVER_MISMATCH\020,\032*\242\324\030&#GameUI_Di" + "sconnect_PureServer_Mismatch\022>\n\032NETWORK_" + "DISCONNECT_USERCMD\020-\032\036\242\324\030\032#GameUI_Discon" + "nect_UserCmd\022N\n#NETWORK_DISCONNECT_REJEC" + "TED_BY_GAME\020.\032%\242\324\030!#GameUI_Disconnect_Re" + "jectedByGame\022T\n&NETWORK_DISCONNECT_MESSA" + "GE_PARSE_ERROR\020/\032(\242\324\030$#GameUI_Disconnect" + "_MessageParseError\022X\n(NETWORK_DISCONNECT" + "_INVALID_MESSAGE_ERROR\0200\032*\242\324\030&#GameUI_Di" + "sconnect_InvalidMessageError\022T\n&NETWORK_" + "DISCONNECT_BAD_SERVER_PASSWORD\0201\032(\242\324\030$#G" + "ameUI_Disconnect_BadServerPassword\0221\n-NE" + "TWORK_DISCONNECT_DIRECT_CONNECT_RESERVAT" + "ION\0202\022S\n%NETWORK_DISCONNECT_CONNECTION_F" + "AILURE\0203\032(\242\324\030$#GameUI_Disconnect_Connect" + "ionFailure\022Y\n)NETWORK_DISCONNECT_NO_PEER" + "_GROUP_HANDLERS\0204\032*\242\324\030&#GameUI_Disconnec" + "t_NoPeerGroupHandlers\022#\n\037NETWORK_DISCONN" + "ECT_RECONNECTION\0205\022H\n\037NETWORK_DISCONNECT" + "_LOOPSHUTDOWN\0206\032#\242\324\030\037#GameUI_Disconnect_" + "LoopShutdown\022L\n!NETWORK_DISCONNECT_LOOPD" + "EACTIVATE\0207\032%\242\324\030!#GameUI_Disconnect_Loop" + "Deactivate\022H\n\037NETWORK_DISCONNECT_HOST_EN" + "DGAME\0208\032#\242\324\030\037#GameUI_Disconnect_Host_End" + "Game\022\\\n*NETWORK_DISCONNECT_LOOP_LEVELLOA" + "D_ACTIVATE\0209\032,\242\324\030(#GameUI_Disconnect_Loo" + "pLevelLoadActivate\022V\n\'NETWORK_DISCONNECT" + "_CREATE_SERVER_FAILED\020:\032)\242\324\030%#GameUI_Dis" + "connect_CreateServerFailed\022D\n\032NETWORK_DI" + "SCONNECT_EXITING\020;\032$\242\324\030 #GameUI_Disconne" + "ct_ExitingEngine\022T\n)NETWORK_DISCONNECT_R" + "EQUEST_HOSTSTATE_IDLE\020<\032%\242\324\030!#GameUI_Dis" + "connect_Request_HSIdle\022\\\n.NETWORK_DISCON" + "NECT_REQUEST_HOSTSTATE_HLTVRELAY\020=\032(\242\324\030$" + "#GameUI_Disconnect_Request_HLTVRelay\022Q\n*" + "NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FA" + "IL\020>\032!\242\324\030\035#GameUI_ClientConsistencyFail\022" + "Q\n+NETWORK_DISCONNECT_CLIENT_UNABLE_TO_C" + "RC_MAP\020\?\032 \242\324\030\034#GameUI_ClientUnableToCRCM" + "ap\022=\n NETWORK_DISCONNECT_CLIENT_NO_MAP\020@" + "\032\027\242\324\030\023#GameUI_ClientNoMap\022K\n\'NETWORK_DIS" + "CONNECT_CLIENT_DIFFERENT_MAP\020A\032\036\242\324\030\032#Gam" + "eUI_ClientDifferentMap\022M\n(NETWORK_DISCON" + "NECT_SERVER_REQUIRES_STEAM\020B\032\037\242\324\030\033#GameU" + "I_ServerRequireSteams\022M\n\"NETWORK_DISCONN" + "ECT_STEAM_DENY_MISC\020C\032%\242\324\030!#GameUI_Disco" + "nnect_SteamDeny_Misc\022_\n,NETWORK_DISCONNE" + "CT_STEAM_DENY_BAD_ANTI_CHEAT\020D\032-\242\324\030)#Gam" + "eUI_Disconnect_SteamDeny_BadAntiCheat\022M\n" + "\"NETWORK_DISCONNECT_SERVER_SHUTDOWN\020E\032%\242" + "\324\030!#GameUI_Disconnect_ServerShutdown\022U\n&" + "NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE\020G" + "\032)\242\324\030%#GameUI_Disconnect_ReplayIncompati" + "ble\022Z\n+NETWORK_DISCONNECT_CONNECT_REQUES" + "T_TIMEDOUT\020H\032)\242\324\030%#GameUI_Disconnect_Con" + "nectionTimedout\022U\n&NETWORK_DISCONNECT_SE" + "RVER_INCOMPATIBLE\020I\032)\242\324\030%#GameUI_Disconn" + "ect_ServerIncompatible\022^\n*NETWORK_DISCON" + "NECT_LOCALPROBLEM_MANYRELAYS\020J\032.\242\324\030*#Gam" + "eUI_Disconnect_LocalProblem_ManyRelays\022z" + "\n8NETWORK_DISCONNECT_LOCALPROBLEM_HOSTED" + "SERVERPRIMARYRELAY\020K\032<\242\324\0308#GameUI_Discon" + "nect_LocalProblem_HostedServerPrimaryRel" + "ay\022d\n-NETWORK_DISCONNECT_LOCALPROBLEM_NE" + "TWORKCONFIG\020L\0321\242\324\030-#GameUI_Disconnect_Lo" + "calProblem_NetworkConfig\022T\n%NETWORK_DISC" + "ONNECT_LOCALPROBLEM_OTHER\020M\032)\242\324\030%#GameUI" + "_Disconnect_LocalProblem_Other\022S\n!NETWOR" + "K_DISCONNECT_REMOTE_TIMEOUT\020O\032,\242\324\030(#Game" + "UI_Disconnect_RemoteProblem_Timeout\022h\n,N" + "ETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECT" + "ING\020P\0326\242\324\0302#GameUI_Disconnect_RemoteProb" + "lem_TimeoutConnecting\022O\n\037NETWORK_DISCONN" + "ECT_REMOTE_OTHER\020Q\032*\242\324\030&#GameUI_Disconne" + "ct_RemoteProblem_Other\022U\n\"NETWORK_DISCON" + "NECT_REMOTE_BADCRYPT\020R\032-\242\324\030)#GameUI_Disc" + "onnect_RemoteProblem_BadCrypt\022Z\n(NETWORK" + "_DISCONNECT_REMOTE_CERTNOTTRUSTED\020S\032,\242\324\030" + "(#GameUI_Disconnect_RemoteProblem_BadCer" + "t\022>\n\032NETWORK_DISCONNECT_UNUSUAL\020T\032\036\242\324\030\032#" + "GameUI_Disconnect_Unusual\022K\n!NETWORK_DIS" + "CONNECT_INTERNAL_ERROR\020U\032$\242\324\030 #GameUI_Di" + "sconnect_InternalError\022Q\n&NETWORK_DISCON" + "NECT_REJECT_BADCHALLENGE\020\200\001\032$\242\324\030 #GameUI" + "_ServerRejectBadChallenge\022A\n!NETWORK_DIS" + "CONNECT_REJECT_NOLOBBY\020\201\001\032\031\242\324\030\025#GameUI_S" + "erverNoLobby\022O\n(NETWORK_DISCONNECT_REJEC" + "T_BACKGROUND_MAP\020\202\001\032 \242\324\030\034#Valve_Reject_B" + "ackground_Map\022M\n\'NETWORK_DISCONNECT_REJE" + "CT_SINGLE_PLAYER\020\203\001\032\037\242\324\030\033#Valve_Reject_S" + "ingle_Player\022I\n%NETWORK_DISCONNECT_REJEC" + "T_HIDDEN_GAME\020\204\001\032\035\242\324\030\031#Valve_Reject_Hidd" + "en_Game\022O\n%NETWORK_DISCONNECT_REJECT_LAN" + "RESTRICT\020\205\001\032#\242\324\030\037#GameUI_ServerRejectLAN" + "Restrict\022O\n%NETWORK_DISCONNECT_REJECT_BA" + "DPASSWORD\020\206\001\032#\242\324\030\037#GameUI_ServerRejectBa" + "dPassword\022M\n$NETWORK_DISCONNECT_REJECT_S" + "ERVERFULL\020\207\001\032\"\242\324\030\036#GameUI_ServerRejectSe" + "rverFull\022]\n,NETWORK_DISCONNECT_REJECT_IN" + "VALIDRESERVATION\020\210\001\032*\242\324\030&#GameUI_ServerR" + "ejectInvalidReservation\022S\n\'NETWORK_DISCO" + "NNECT_REJECT_FAILEDCHANNEL\020\211\001\032%\242\324\030!#Game" + "UI_ServerRejectFailedChannel\022W\n,NETWORK_" + "DISCONNECT_REJECT_CONNECT_FROM_LOBBY\020\212\001\032" + "$\242\324\030 #Valve_Reject_Connect_From_Lobby\022W\n" + ",NETWORK_DISCONNECT_REJECT_RESERVED_FOR_" + "LOBBY\020\213\001\032$\242\324\030 #Valve_Reject_Reserved_For" + "_Lobby\022Z\n*NETWORK_DISCONNECT_REJECT_INVA" + "LIDKEYLENGTH\020\214\001\032)\242\324\030%#GameUI_ServerRejec" + "t_InvalidKeyLength\022O\n%NETWORK_DISCONNECT" + "_REJECT_OLDPROTOCOL\020\215\001\032#\242\324\030\037#GameUI_Serv" + "erRejectOldProtocol\022O\n%NETWORK_DISCONNEC" + "T_REJECT_NEWPROTOCOL\020\216\001\032#\242\324\030\037#GameUI_Ser" + "verRejectNewProtocol\022[\n+NETWORK_DISCONNE" + "CT_REJECT_INVALIDCONNECTION\020\217\001\032)\242\324\030%#Gam" + "eUI_ServerRejectInvalidConnection\022U\n(NET" + "WORK_DISCONNECT_REJECT_INVALIDCERTLEN\020\220\001" + "\032&\242\324\030\"#GameUI_ServerRejectInvalidCertLen" + "\022_\n-NETWORK_DISCONNECT_REJECT_INVALIDSTE" + "AMCERTLEN\020\221\001\032+\242\324\030\'#GameUI_ServerRejectIn" + "validSteamCertLen\022C\n\037NETWORK_DISCONNECT_" + "REJECT_STEAM\020\222\001\032\035\242\324\030\031#GameUI_ServerRejec" + "tSteam\022Q\n,NETWORK_DISCONNECT_REJECT_SERV" + "ERAUTHDISABLED\020\223\001\032\036\242\324\030\032#GameUI_ServerAut" + "hDisabled\022Y\n0NETWORK_DISCONNECT_REJECT_S" + "ERVERCDKEYAUTHINVALID\020\224\001\032\"\242\324\030\036#GameUI_Se" + "rverCDKeyAuthInvalid\022E\n NETWORK_DISCONNE" + "CT_REJECT_BANNED\020\225\001\032\036\242\324\030\032#GameUI_ServerR" + "ejectBanned\022T\n%NETWORK_DISCONNECT_KICKED" + "_TEAMKILLING\020\226\001\032(\242\324\030$#Player_DisconnectR" + "eason_TeamKilling\022N\n\"NETWORK_DISCONNECT_" + "KICKED_TK_START\020\227\001\032%\242\324\030!#Player_Disconne" + "ctReason_TK_Start\022^\n*NETWORK_DISCONNECT_" + "KICKED_UNTRUSTEDACCOUNT\020\230\001\032-\242\324\030)#Player_" + "DisconnectReason_UntrustedAccount\022^\n*NET" + "WORK_DISCONNECT_KICKED_CONVICTEDACCOUNT\020" + "\231\001\032-\242\324\030)#Player_DisconnectReason_Convict" + "edAccount\022d\n-NETWORK_DISCONNECT_KICKED_C" + "OMPETITIVECOOLDOWN\020\232\001\0320\242\324\030,#Player_Disco" + "nnectReason_CompetitiveCooldown\022T\n%NETWO" + "RK_DISCONNECT_KICKED_TEAMHURTING\020\233\001\032(\242\324\030" + "$#Player_DisconnectReason_TeamHurting\022Z\n" + "(NETWORK_DISCONNECT_KICKED_HOSTAGEKILLIN" + "G\020\234\001\032+\242\324\030\'#Player_DisconnectReason_Hosta" + "geKilling\022N\n\"NETWORK_DISCONNECT_KICKED_V" + "OTEDOFF\020\235\001\032%\242\324\030!#Player_DisconnectReason" + "_VotedOff\022F\n\036NETWORK_DISCONNECT_KICKED_I" + "DLE\020\236\001\032!\242\324\030\035#Player_DisconnectReason_Idl" + "e\022L\n!NETWORK_DISCONNECT_KICKED_SUICIDE\020\237" + "\001\032$\242\324\030 #Player_DisconnectReason_Suicide\022" + "V\n&NETWORK_DISCONNECT_KICKED_NOSTEAMLOGI" + "N\020\240\001\032)\242\324\030%#Player_DisconnectReason_NoSte" + "amLogin\022X\n\'NETWORK_DISCONNECT_KICKED_NOS" + "TEAMTICKET\020\241\001\032*\242\324\030&#Player_DisconnectRea" + "son_NoSteamTicket\022\217\001\n)NETWORK_DISCONNECT" + "_KICKED_INPUTAUTOMATION\020\242\001\032_\242\324\030(#Player_" + "DisconnectReason_InputAutomation\252\324\030/#Pla" + "yer_DisconnectReason_InputAutomation_Det" + "ail\022n\n0NETWORK_DISCONNECT_KICKED_VACNETA" + "BNORMALBEHAVIOR\020\243\001\0327\242\324\030/#Player_Disconne" + "ctReason_VacNetAbnormalBehavior\260\324\030\000\022Z\n(N" + "ETWORK_DISCONNECT_KICKED_INSECURECLIENT\020" + "\244\001\032+\242\324\030\'#Player_DisconnectReason_Insecur" + "eClient:E\n\030network_connection_token\022!.go" + "ogle.protobuf.EnumValueOptions\030\304\212\003 \001(\t:L" + "\n\037network_connection_detail_token\022!.goog" + "le.protobuf.EnumValueOptions\030\305\212\003 \001(\t:F\n\023" + "allowed_from_client\022!.google.protobuf.En" + "umValueOptions\030\306\212\003 \001(\010:\004true" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_network_5fconnection_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::_pbi::once_flag descriptor_table_network_5fconnection_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_network_5fconnection_2eproto = { + false, false, 10188, descriptor_table_protodef_network_5fconnection_2eproto, + "network_connection.proto", + &descriptor_table_network_5fconnection_2eproto_once, descriptor_table_network_5fconnection_2eproto_deps, 1, 0, + schemas, file_default_instances, TableStruct_network_5fconnection_2eproto::offsets, + nullptr, file_level_enum_descriptors_network_5fconnection_2eproto, + file_level_service_descriptors_network_5fconnection_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_network_5fconnection_2eproto_getter() { + return &descriptor_table_network_5fconnection_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_network_5fconnection_2eproto(&descriptor_table_network_5fconnection_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENetworkDisconnectionReason_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_network_5fconnection_2eproto); + return file_level_enum_descriptors_network_5fconnection_2eproto[0]; +} +bool ENetworkDisconnectionReason_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 128: + case 129: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + case 136: + case 137: + case 138: + case 139: + case 140: + case 141: + case 142: + case 143: + case 144: + case 145: + case 146: + case 147: + case 148: + case 149: + case 150: + case 151: + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: + case 160: + case 161: + case 162: + case 163: + case 164: + return true; + default: + return false; + } +} + +const std::string network_connection_token_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + network_connection_token(kNetworkConnectionTokenFieldNumber, network_connection_token_default, nullptr); +const std::string network_connection_detail_token_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + network_connection_detail_token(kNetworkConnectionDetailTokenFieldNumber, network_connection_detail_token_default, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + allowed_from_client(kAllowedFromClientFieldNumber, true, nullptr); + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.h new file mode 100644 index 0000000..5d9fc2e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/network_connection.pb.h @@ -0,0 +1,236 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: network_connection.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_network_5fconnection_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_network_5fconnection_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_network_5fconnection_2eproto; +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +enum ENetworkDisconnectionReason : int { + NETWORK_DISCONNECT_INVALID = 0, + NETWORK_DISCONNECT_SHUTDOWN = 1, + NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2, + NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3, + NETWORK_DISCONNECT_LOST = 4, + NETWORK_DISCONNECT_OVERFLOW = 5, + NETWORK_DISCONNECT_STEAM_BANNED = 6, + NETWORK_DISCONNECT_STEAM_INUSE = 7, + NETWORK_DISCONNECT_STEAM_TICKET = 8, + NETWORK_DISCONNECT_STEAM_LOGON = 9, + NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10, + NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11, + NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12, + NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13, + NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14, + NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15, + NETWORK_DISCONNECT_STEAM_DROPPED = 16, + NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17, + NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18, + NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19, + NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20, + NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21, + NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22, + NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23, + NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24, + NETWORK_DISCONNECT_SNAPSHOTERROR = 25, + NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26, + NETWORK_DISCONNECT_BADDELTATICK = 27, + NETWORK_DISCONNECT_NOMORESPLITS = 28, + NETWORK_DISCONNECT_TIMEDOUT = 29, + NETWORK_DISCONNECT_DISCONNECTED = 30, + NETWORK_DISCONNECT_LEAVINGSPLIT = 31, + NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32, + NETWORK_DISCONNECT_BADRELAYPASSWORD = 33, + NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34, + NETWORK_DISCONNECT_HLTVRESTRICTED = 35, + NETWORK_DISCONNECT_NOSPECTATORS = 36, + NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37, + NETWORK_DISCONNECT_HLTVSTOP = 38, + NETWORK_DISCONNECT_KICKED = 39, + NETWORK_DISCONNECT_BANADDED = 40, + NETWORK_DISCONNECT_KICKBANADDED = 41, + NETWORK_DISCONNECT_HLTVDIRECT = 42, + NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43, + NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44, + NETWORK_DISCONNECT_USERCMD = 45, + NETWORK_DISCONNECT_REJECTED_BY_GAME = 46, + NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47, + NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48, + NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49, + NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50, + NETWORK_DISCONNECT_CONNECTION_FAILURE = 51, + NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52, + NETWORK_DISCONNECT_RECONNECTION = 53, + NETWORK_DISCONNECT_LOOPSHUTDOWN = 54, + NETWORK_DISCONNECT_LOOPDEACTIVATE = 55, + NETWORK_DISCONNECT_HOST_ENDGAME = 56, + NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57, + NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58, + NETWORK_DISCONNECT_EXITING = 59, + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60, + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61, + NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62, + NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63, + NETWORK_DISCONNECT_CLIENT_NO_MAP = 64, + NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65, + NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66, + NETWORK_DISCONNECT_STEAM_DENY_MISC = 67, + NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68, + NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69, + NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71, + NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72, + NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73, + NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74, + NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75, + NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76, + NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77, + NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79, + NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80, + NETWORK_DISCONNECT_REMOTE_OTHER = 81, + NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82, + NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83, + NETWORK_DISCONNECT_UNUSUAL = 84, + NETWORK_DISCONNECT_INTERNAL_ERROR = 85, + NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128, + NETWORK_DISCONNECT_REJECT_NOLOBBY = 129, + NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130, + NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131, + NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132, + NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133, + NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134, + NETWORK_DISCONNECT_REJECT_SERVERFULL = 135, + NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136, + NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137, + NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138, + NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139, + NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140, + NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141, + NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142, + NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143, + NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144, + NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145, + NETWORK_DISCONNECT_REJECT_STEAM = 146, + NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147, + NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148, + NETWORK_DISCONNECT_REJECT_BANNED = 149, + NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150, + NETWORK_DISCONNECT_KICKED_TK_START = 151, + NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152, + NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153, + NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154, + NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155, + NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156, + NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157, + NETWORK_DISCONNECT_KICKED_IDLE = 158, + NETWORK_DISCONNECT_KICKED_SUICIDE = 159, + NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160, + NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161, + NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162, + NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163, + NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 +}; +bool ENetworkDisconnectionReason_IsValid(int value); +constexpr ENetworkDisconnectionReason ENetworkDisconnectionReason_MIN = NETWORK_DISCONNECT_INVALID; +constexpr ENetworkDisconnectionReason ENetworkDisconnectionReason_MAX = NETWORK_DISCONNECT_KICKED_INSECURECLIENT; +constexpr int ENetworkDisconnectionReason_ARRAYSIZE = ENetworkDisconnectionReason_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENetworkDisconnectionReason_descriptor(); +template +inline const std::string& ENetworkDisconnectionReason_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ENetworkDisconnectionReason_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ENetworkDisconnectionReason_descriptor(), enum_t_value); +} +inline bool ENetworkDisconnectionReason_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ENetworkDisconnectionReason* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ENetworkDisconnectionReason_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + +static const int kNetworkConnectionTokenFieldNumber = 50500; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + network_connection_token; +static const int kNetworkConnectionDetailTokenFieldNumber = 50501; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + network_connection_detail_token; +static const int kAllowedFromClientFieldNumber = 50502; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + allowed_from_client; + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ENetworkDisconnectionReason> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ENetworkDisconnectionReason>() { + return ::ENetworkDisconnectionReason_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.cc new file mode 100644 index 0000000..e97ab63 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.cc @@ -0,0 +1,10199 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: networkbasetypes.proto + +#include "networkbasetypes.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; + +PROTOBUF_CONSTEXPR CMsgVector::CMsgVector( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0 + , /*decltype(_impl_.z_)*/0 + , /*decltype(_impl_.w_)*/0} {} +struct CMsgVectorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgVectorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgVectorDefaultTypeInternal() {} + union { + CMsgVector _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVectorDefaultTypeInternal _CMsgVector_default_instance_; +PROTOBUF_CONSTEXPR CMsgVector2D::CMsgVector2D( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0} {} +struct CMsgVector2DDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgVector2DDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgVector2DDefaultTypeInternal() {} + union { + CMsgVector2D _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVector2DDefaultTypeInternal _CMsgVector2D_default_instance_; +PROTOBUF_CONSTEXPR CMsgQAngle::CMsgQAngle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0 + , /*decltype(_impl_.z_)*/0} {} +struct CMsgQAngleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgQAngleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgQAngleDefaultTypeInternal() {} + union { + CMsgQAngle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgQAngleDefaultTypeInternal _CMsgQAngle_default_instance_; +PROTOBUF_CONSTEXPR CMsgQuaternion::CMsgQuaternion( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0 + , /*decltype(_impl_.z_)*/0 + , /*decltype(_impl_.w_)*/0} {} +struct CMsgQuaternionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgQuaternionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgQuaternionDefaultTypeInternal() {} + union { + CMsgQuaternion _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgQuaternionDefaultTypeInternal _CMsgQuaternion_default_instance_; +PROTOBUF_CONSTEXPR CMsgTransform::CMsgTransform( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.orientation_)*/nullptr + , /*decltype(_impl_.scale_)*/0} {} +struct CMsgTransformDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTransformDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTransformDefaultTypeInternal() {} + union { + CMsgTransform _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTransformDefaultTypeInternal _CMsgTransform_default_instance_; +PROTOBUF_CONSTEXPR CMsgRGBA::CMsgRGBA( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.r_)*/0 + , /*decltype(_impl_.g_)*/0 + , /*decltype(_impl_.b_)*/0 + , /*decltype(_impl_.a_)*/0} {} +struct CMsgRGBADefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgRGBADefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgRGBADefaultTypeInternal() {} + union { + CMsgRGBA _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRGBADefaultTypeInternal _CMsgRGBA_default_instance_; +PROTOBUF_CONSTEXPR CMsgPlayerInfo::CMsgPlayerInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.xuid_)*/uint64_t{0u} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.userid_)*/0 + , /*decltype(_impl_.fakeplayer_)*/false + , /*decltype(_impl_.ishltv_)*/false} {} +struct CMsgPlayerInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgPlayerInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgPlayerInfoDefaultTypeInternal() {} + union { + CMsgPlayerInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPlayerInfoDefaultTypeInternal _CMsgPlayerInfo_default_instance_; +PROTOBUF_CONSTEXPR CEntityMsg::CEntityMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.target_entity_)*/16777215u} {} +struct CEntityMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMsgDefaultTypeInternal() {} + union { + CEntityMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMsgDefaultTypeInternal _CEntityMsg_default_instance_; +PROTOBUF_CONSTEXPR CMsg_CVars_CVar::CMsg_CVars_CVar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsg_CVars_CVarDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsg_CVars_CVarDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsg_CVars_CVarDefaultTypeInternal() {} + union { + CMsg_CVars_CVar _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsg_CVars_CVarDefaultTypeInternal _CMsg_CVars_CVar_default_instance_; +PROTOBUF_CONSTEXPR CMsg_CVars::CMsg_CVars( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.cvars_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CMsg_CVarsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsg_CVarsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsg_CVarsDefaultTypeInternal() {} + union { + CMsg_CVars _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsg_CVarsDefaultTypeInternal _CMsg_CVars_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_NOP::CNETMsg_NOP( + ::_pbi::ConstantInitialized) {} +struct CNETMsg_NOPDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_NOPDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_NOPDefaultTypeInternal() {} + union { + CNETMsg_NOP _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_NOPDefaultTypeInternal _CNETMsg_NOP_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slot_)*/0} {} +struct CNETMsg_SplitScreenUserDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUserDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SplitScreenUserDefaultTypeInternal() {} + union { + CNETMsg_SplitScreenUser _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SplitScreenUserDefaultTypeInternal _CNETMsg_SplitScreenUser_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_Tick::CNETMsg_Tick( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.expected_long_tick_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.tick_)*/0u + , /*decltype(_impl_.host_computationtime_)*/0u + , /*decltype(_impl_.host_computationtime_std_deviation_)*/0u + , /*decltype(_impl_.legacy_host_loss_)*/0u + , /*decltype(_impl_.host_unfiltered_frametime_)*/0u + , /*decltype(_impl_.hltv_replay_flags_)*/0u + , /*decltype(_impl_.expected_long_tick_)*/0u + , /*decltype(_impl_.host_frame_dropped_pct_x10_)*/0u + , /*decltype(_impl_.host_frame_irregular_arrival_pct_x10_)*/0u} {} +struct CNETMsg_TickDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_TickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_TickDefaultTypeInternal() {} + union { + CNETMsg_Tick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_TickDefaultTypeInternal _CNETMsg_Tick_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_StringCmd::CNETMsg_StringCmd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.prediction_sync_)*/0u} {} +struct CNETMsg_StringCmdDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_StringCmdDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_StringCmdDefaultTypeInternal() {} + union { + CNETMsg_StringCmd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_StringCmdDefaultTypeInternal _CNETMsg_StringCmd_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SetConVar::CNETMsg_SetConVar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.convars_)*/nullptr} {} +struct CNETMsg_SetConVarDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SetConVarDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SetConVarDefaultTypeInternal() {} + union { + CNETMsg_SetConVar _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SetConVarDefaultTypeInternal _CNETMsg_SetConVar_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SignonState::CNETMsg_SignonState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.players_networkids_)*/{} + , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.addons_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signon_state_)*/0 + , /*decltype(_impl_.spawn_count_)*/0u + , /*decltype(_impl_.num_server_players_)*/0u} {} +struct CNETMsg_SignonStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SignonStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SignonStateDefaultTypeInternal() {} + union { + CNETMsg_SignonState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SignonStateDefaultTypeInternal _CNETMsg_SignonState_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.val_float_)*/0 + , /*decltype(_impl_.val_long_)*/0 + , /*decltype(_impl_.val_short_)*/0 + , /*decltype(_impl_.val_byte_)*/0 + , /*decltype(_impl_.val_bool_)*/false + , /*decltype(_impl_.val_uint64_)*/uint64_t{0u}} {} +struct CSVCMsg_GameEvent_key_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameEvent_key_tDefaultTypeInternal() {} + union { + CSVCMsg_GameEvent_key_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEvent_key_tDefaultTypeInternal _CSVCMsg_GameEvent_key_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameEvent::CSVCMsg_GameEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.keys_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.eventid_)*/0} {} +struct CSVCMsg_GameEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameEventDefaultTypeInternal() {} + union { + CSVCMsg_GameEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventDefaultTypeInternal _CSVCMsg_GameEvent_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_)*/nullptr + , /*decltype(_impl_.tick_)*/0} {} +struct CSVCMsgList_GameEvents_event_tDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_tDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsgList_GameEvents_event_tDefaultTypeInternal() {} + union { + CSVCMsgList_GameEvents_event_t _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsgList_GameEvents_event_tDefaultTypeInternal _CSVCMsgList_GameEvents_event_t_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents::CSVCMsgList_GameEvents( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.events_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CSVCMsgList_GameEventsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsgList_GameEventsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsgList_GameEventsDefaultTypeInternal() {} + union { + CSVCMsgList_GameEvents _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsgList_GameEventsDefaultTypeInternal _CSVCMsgList_GameEvents_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.worldname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.entitylumpname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.entityfiltername_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.spawngroupmanifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.localnamefixup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.parentnamefixup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.savegamefilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.worldgroupname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.world_offset_pos_)*/nullptr + , /*decltype(_impl_.world_offset_angle_)*/nullptr + , /*decltype(_impl_.spawngrouphandle_)*/0u + , /*decltype(_impl_.spawngroupownerhandle_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.tickcount_)*/0 + , /*decltype(_impl_.manifestloadpriority_)*/0 + , /*decltype(_impl_.worldgroupid_)*/0u + , /*decltype(_impl_.manifestincomplete_)*/false + , /*decltype(_impl_.leveltransition_)*/false + , /*decltype(_impl_.creationsequence_)*/0u + , /*decltype(_impl_.spawngroupparenthandle_)*/0u} {} +struct CNETMsg_SpawnGroup_LoadDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SpawnGroup_LoadDefaultTypeInternal() {} + union { + CNETMsg_SpawnGroup_Load _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_LoadDefaultTypeInternal _CNETMsg_SpawnGroup_Load_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawngroupmanifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.spawngrouphandle_)*/0u + , /*decltype(_impl_.manifestincomplete_)*/false} {} +struct CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal() {} + union { + CNETMsg_SpawnGroup_ManifestUpdate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal _CNETMsg_SpawnGroup_ManifestUpdate_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawngrouphandle_)*/0u + , /*decltype(_impl_.tickcount_)*/0 + , /*decltype(_impl_.creationsequence_)*/0u} {} +struct CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal() {} + union { + CNETMsg_SpawnGroup_SetCreationTick _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal _CNETMsg_SpawnGroup_SetCreationTick_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawngrouphandle_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.tickcount_)*/0} {} +struct CNETMsg_SpawnGroup_UnloadDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_UnloadDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SpawnGroup_UnloadDefaultTypeInternal() {} + union { + CNETMsg_SpawnGroup_Unload _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_UnloadDefaultTypeInternal _CNETMsg_SpawnGroup_Unload_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.spawngrouphandle_)*/0u} {} +struct CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal() {} + union { + CNETMsg_SpawnGroup_LoadCompleted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal _CNETMsg_SpawnGroup_LoadCompleted_default_instance_; +PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hostname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.savegamename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.s1_mapname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gamemode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.server_ip_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.previouslevel_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.landmarkname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.is_multiplayer_)*/false + , /*decltype(_impl_.is_loadsavegame_)*/false + , /*decltype(_impl_.is_background_map_)*/false + , /*decltype(_impl_.is_headless_)*/false + , /*decltype(_impl_.min_client_limit_)*/0u + , /*decltype(_impl_.max_client_limit_)*/0u + , /*decltype(_impl_.max_clients_)*/0u + , /*decltype(_impl_.tick_interval_)*/0u + , /*decltype(_impl_.is_localonly_)*/false + , /*decltype(_impl_.no_steam_server_)*/false + , /*decltype(_impl_.is_transition_)*/false} {} +struct CSVCMsg_GameSessionConfigurationDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfigurationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSVCMsg_GameSessionConfigurationDefaultTypeInternal() {} + union { + CSVCMsg_GameSessionConfiguration _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameSessionConfigurationDefaultTypeInternal _CSVCMsg_GameSessionConfiguration_default_instance_; +PROTOBUF_CONSTEXPR CNETMsg_DebugOverlay::CNETMsg_DebugOverlay( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.vectors_)*/{} + , /*decltype(_impl_.colors_)*/{} + , /*decltype(_impl_.dimensions_)*/{} + , /*decltype(_impl_.times_)*/{} + , /*decltype(_impl_.bools_)*/{} + , /*decltype(_impl_.uint64s_)*/{} + , /*decltype(_impl_.strings_)*/{} + , /*decltype(_impl_.etype_)*/0} {} +struct CNETMsg_DebugOverlayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CNETMsg_DebugOverlayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CNETMsg_DebugOverlayDefaultTypeInternal() {} + union { + CNETMsg_DebugOverlay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_DebugOverlayDefaultTypeInternal _CNETMsg_DebugOverlay_default_instance_; +static ::_pb::Metadata file_level_metadata_networkbasetypes_2eproto[27]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_networkbasetypes_2eproto[3]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_networkbasetypes_2eproto = nullptr; + +const uint32_t TableStruct_networkbasetypes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgVector, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.z_), + PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.w_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_.y_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.z_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.z_), + PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.w_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTransform, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.orientation_), + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.r_), + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.g_), + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.b_), + PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.a_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.xuid_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.userid_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.fakeplayer_), + PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.ishltv_), + 0, + 1, + 3, + 2, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CEntityMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMsg, _impl_.target_entity_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CMsg_CVars, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsg_CVars, _impl_.cvars_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_NOP, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _impl_.slot_), + 0, + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_computationtime_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_computationtime_std_deviation_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.legacy_host_loss_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_unfiltered_frametime_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.hltv_replay_flags_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.expected_long_tick_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.expected_long_tick_reason_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_frame_dropped_pct_x10_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_frame_irregular_arrival_pct_x10_), + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 0, + 8, + 9, + PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_.command_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_.prediction_sync_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _impl_.convars_), + 0, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.signon_state_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.spawn_count_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.num_server_players_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.players_networkids_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.map_name_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.addons_), + 2, + 3, + 4, + ~0u, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_string_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_float_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_long_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_short_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_byte_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_bool_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_uint64_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.eventid_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.keys_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_.tick_), + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_.event_), + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents, _impl_.events_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldname_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.entitylumpname_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.entityfiltername_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngrouphandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupownerhandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.world_offset_pos_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.world_offset_angle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupmanifest_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.tickcount_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.manifestincomplete_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.localnamefixup_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.parentnamefixup_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.manifestloadpriority_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldgroupid_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.creationsequence_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.savegamefilename_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupparenthandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.leveltransition_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldgroupname_), + 0, + 1, + 2, + 10, + 11, + 8, + 9, + 3, + 12, + 13, + 16, + 4, + 5, + 14, + 15, + 18, + 6, + 19, + 17, + 7, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngrouphandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngroupmanifest_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.manifestincomplete_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.spawngrouphandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.tickcount_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.creationsequence_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.spawngrouphandle_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.tickcount_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _impl_.spawngrouphandle_), + 0, + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_multiplayer_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_loadsavegame_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_background_map_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_headless_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.min_client_limit_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.max_client_limit_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.max_clients_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.tick_interval_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.hostname_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.savegamename_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.s1_mapname_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.gamemode_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.server_ip_address_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_localonly_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.no_steam_server_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_transition_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.previouslevel_), + PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.landmarkname_), + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 0, + 1, + 2, + 3, + 4, + 5, + 16, + 17, + 18, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.etype_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.vectors_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.colors_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.dimensions_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.times_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.bools_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.uint64s_), + PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.strings_), + 0, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::CMsgVector)}, + { 14, 22, -1, sizeof(::CMsgVector2D)}, + { 24, 33, -1, sizeof(::CMsgQAngle)}, + { 36, 46, -1, sizeof(::CMsgQuaternion)}, + { 50, 59, -1, sizeof(::CMsgTransform)}, + { 62, 72, -1, sizeof(::CMsgRGBA)}, + { 76, 88, -1, sizeof(::CMsgPlayerInfo)}, + { 94, 101, -1, sizeof(::CEntityMsg)}, + { 102, 110, -1, sizeof(::CMsg_CVars_CVar)}, + { 112, -1, -1, sizeof(::CMsg_CVars)}, + { 119, -1, -1, sizeof(::CNETMsg_NOP)}, + { 125, 132, -1, sizeof(::CNETMsg_SplitScreenUser)}, + { 133, 149, -1, sizeof(::CNETMsg_Tick)}, + { 159, 167, -1, sizeof(::CNETMsg_StringCmd)}, + { 169, 176, -1, sizeof(::CNETMsg_SetConVar)}, + { 177, 189, -1, sizeof(::CNETMsg_SignonState)}, + { 195, 209, -1, sizeof(::CSVCMsg_GameEvent_key_t)}, + { 217, 226, -1, sizeof(::CSVCMsg_GameEvent)}, + { 229, 237, -1, sizeof(::CSVCMsgList_GameEvents_event_t)}, + { 239, -1, -1, sizeof(::CSVCMsgList_GameEvents)}, + { 246, 272, -1, sizeof(::CNETMsg_SpawnGroup_Load)}, + { 292, 301, -1, sizeof(::CNETMsg_SpawnGroup_ManifestUpdate)}, + { 304, 313, -1, sizeof(::CNETMsg_SpawnGroup_SetCreationTick)}, + { 316, 325, -1, sizeof(::CNETMsg_SpawnGroup_Unload)}, + { 328, 335, -1, sizeof(::CNETMsg_SpawnGroup_LoadCompleted)}, + { 336, 361, -1, sizeof(::CSVCMsg_GameSessionConfiguration)}, + { 380, 394, -1, sizeof(::CNETMsg_DebugOverlay)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgVector_default_instance_._instance, + &::_CMsgVector2D_default_instance_._instance, + &::_CMsgQAngle_default_instance_._instance, + &::_CMsgQuaternion_default_instance_._instance, + &::_CMsgTransform_default_instance_._instance, + &::_CMsgRGBA_default_instance_._instance, + &::_CMsgPlayerInfo_default_instance_._instance, + &::_CEntityMsg_default_instance_._instance, + &::_CMsg_CVars_CVar_default_instance_._instance, + &::_CMsg_CVars_default_instance_._instance, + &::_CNETMsg_NOP_default_instance_._instance, + &::_CNETMsg_SplitScreenUser_default_instance_._instance, + &::_CNETMsg_Tick_default_instance_._instance, + &::_CNETMsg_StringCmd_default_instance_._instance, + &::_CNETMsg_SetConVar_default_instance_._instance, + &::_CNETMsg_SignonState_default_instance_._instance, + &::_CSVCMsg_GameEvent_key_t_default_instance_._instance, + &::_CSVCMsg_GameEvent_default_instance_._instance, + &::_CSVCMsgList_GameEvents_event_t_default_instance_._instance, + &::_CSVCMsgList_GameEvents_default_instance_._instance, + &::_CNETMsg_SpawnGroup_Load_default_instance_._instance, + &::_CNETMsg_SpawnGroup_ManifestUpdate_default_instance_._instance, + &::_CNETMsg_SpawnGroup_SetCreationTick_default_instance_._instance, + &::_CNETMsg_SpawnGroup_Unload_default_instance_._instance, + &::_CNETMsg_SpawnGroup_LoadCompleted_default_instance_._instance, + &::_CSVCMsg_GameSessionConfiguration_default_instance_._instance, + &::_CNETMsg_DebugOverlay_default_instance_._instance, +}; + +const char descriptor_table_protodef_networkbasetypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\026networkbasetypes.proto\032\030network_connec" + "tion.proto\"8\n\nCMsgVector\022\t\n\001x\030\001 \001(\002\022\t\n\001y" + "\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\022\t\n\001w\030\004 \001(\002\"$\n\014CMsgVect" + "or2D\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"-\n\nCMsgQAngle" + "\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"<\n\016CMs" + "gQuaternion\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003" + " \001(\002\022\t\n\001w\030\004 \001(\002\"c\n\rCMsgTransform\022\035\n\010posi" + "tion\030\001 \001(\0132\013.CMsgVector\022\r\n\005scale\030\002 \001(\002\022$" + "\n\013orientation\030\003 \001(\0132\017.CMsgQuaternion\"6\n\010" + "CMsgRGBA\022\t\n\001r\030\001 \001(\005\022\t\n\001g\030\002 \001(\005\022\t\n\001b\030\003 \001(" + "\005\022\t\n\001a\030\004 \001(\005\"q\n\016CMsgPlayerInfo\022\014\n\004name\030\001" + " \001(\t\022\014\n\004xuid\030\002 \001(\006\022\016\n\006userid\030\003 \001(\005\022\017\n\007st" + "eamid\030\004 \001(\006\022\022\n\nfakeplayer\030\005 \001(\010\022\016\n\006ishlt" + "v\030\006 \001(\010\"-\n\nCEntityMsg\022\037\n\rtarget_entity\030\001" + " \001(\r:\01016777215\"R\n\nCMsg_CVars\022\037\n\005cvars\030\001 " + "\003(\0132\020.CMsg_CVars.CVar\032#\n\004CVar\022\014\n\004name\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t\"\r\n\013CNETMsg_NOP\"\'\n\027CNE" + "TMsg_SplitScreenUser\022\014\n\004slot\030\001 \001(\005\"\317\002\n\014C" + "NETMsg_Tick\022\014\n\004tick\030\001 \001(\r\022\034\n\024host_comput" + "ationtime\030\004 \001(\r\022*\n\"host_computationtime_" + "std_deviation\030\005 \001(\r\022\030\n\020legacy_host_loss\030" + "\007 \001(\r\022!\n\031host_unfiltered_frametime\030\010 \001(\r" + "\022\031\n\021hltv_replay_flags\030\t \001(\r\022\032\n\022expected_" + "long_tick\030\n \001(\r\022!\n\031expected_long_tick_re" + "ason\030\013 \001(\t\022\"\n\032host_frame_dropped_pct_x10" + "\030\014 \001(\r\022,\n$host_frame_irregular_arrival_p" + "ct_x10\030\r \001(\r\"=\n\021CNETMsg_StringCmd\022\017\n\007com" + "mand\030\001 \001(\t\022\027\n\017prediction_sync\030\002 \001(\r\"1\n\021C" + "NETMsg_SetConVar\022\034\n\007convars\030\001 \001(\0132\013.CMsg" + "_CVars\"\274\001\n\023CNETMsg_SignonState\0226\n\014signon" + "_state\030\001 \001(\0162\016.SignonState_t:\020SIGNONSTAT" + "E_NONE\022\023\n\013spawn_count\030\002 \001(\r\022\032\n\022num_serve" + "r_players\030\003 \001(\r\022\032\n\022players_networkids\030\004 " + "\003(\t\022\020\n\010map_name\030\005 \001(\t\022\016\n\006addons\030\006 \001(\t\"\374\001" + "\n\021CSVCMsg_GameEvent\022\022\n\nevent_name\030\001 \001(\t\022" + "\017\n\007eventid\030\002 \001(\005\022&\n\004keys\030\003 \003(\0132\030.CSVCMsg" + "_GameEvent.key_t\032\231\001\n\005key_t\022\014\n\004type\030\001 \001(\005" + "\022\022\n\nval_string\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022" + "\020\n\010val_long\030\004 \001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010" + "val_byte\030\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_" + "uint64\030\010 \001(\004\"\205\001\n\026CSVCMsgList_GameEvents\022" + "/\n\006events\030\001 \003(\0132\037.CSVCMsgList_GameEvents" + ".event_t\032:\n\007event_t\022\014\n\004tick\030\001 \001(\005\022!\n\005eve" + "nt\030\002 \001(\0132\022.CSVCMsg_GameEvent\"\253\004\n\027CNETMsg" + "_SpawnGroup_Load\022\021\n\tworldname\030\001 \001(\t\022\026\n\016e" + "ntitylumpname\030\002 \001(\t\022\030\n\020entityfiltername\030" + "\003 \001(\t\022\030\n\020spawngrouphandle\030\004 \001(\r\022\035\n\025spawn" + "groupownerhandle\030\005 \001(\r\022%\n\020world_offset_p" + "os\030\006 \001(\0132\013.CMsgVector\022\'\n\022world_offset_an" + "gle\030\007 \001(\0132\013.CMsgQAngle\022\032\n\022spawngroupmani" + "fest\030\010 \001(\014\022\r\n\005flags\030\t \001(\r\022\021\n\ttickcount\030\n" + " \001(\005\022\032\n\022manifestincomplete\030\013 \001(\010\022\026\n\016loca" + "lnamefixup\030\014 \001(\t\022\027\n\017parentnamefixup\030\r \001(" + "\t\022\034\n\024manifestloadpriority\030\016 \001(\005\022\024\n\014world" + "groupid\030\017 \001(\r\022\030\n\020creationsequence\030\020 \001(\r\022" + "\030\n\020savegamefilename\030\021 \001(\t\022\036\n\026spawngroupp" + "arenthandle\030\022 \001(\r\022\027\n\017leveltransition\030\023 \001" + "(\010\022\026\n\016worldgroupname\030\024 \001(\t\"u\n!CNETMsg_Sp" + "awnGroup_ManifestUpdate\022\030\n\020spawngrouphan" + "dle\030\001 \001(\r\022\032\n\022spawngroupmanifest\030\002 \001(\014\022\032\n" + "\022manifestincomplete\030\003 \001(\010\"k\n\"CNETMsg_Spa" + "wnGroup_SetCreationTick\022\030\n\020spawngrouphan" + "dle\030\001 \001(\r\022\021\n\ttickcount\030\002 \001(\005\022\030\n\020creation" + "sequence\030\003 \001(\r\"W\n\031CNETMsg_SpawnGroup_Unl" + "oad\022\030\n\020spawngrouphandle\030\001 \001(\r\022\r\n\005flags\030\002" + " \001(\r\022\021\n\ttickcount\030\003 \001(\005\"<\n CNETMsg_Spawn" + "Group_LoadCompleted\022\030\n\020spawngrouphandle\030" + "\001 \001(\r\"\315\003\n CSVCMsg_GameSessionConfigurati" + "on\022\026\n\016is_multiplayer\030\001 \001(\010\022\027\n\017is_loadsav" + "egame\030\002 \001(\010\022\031\n\021is_background_map\030\003 \001(\010\022\023" + "\n\013is_headless\030\004 \001(\010\022\030\n\020min_client_limit\030" + "\005 \001(\r\022\030\n\020max_client_limit\030\006 \001(\r\022\023\n\013max_c" + "lients\030\007 \001(\r\022\025\n\rtick_interval\030\010 \001(\007\022\020\n\010h" + "ostname\030\t \001(\t\022\024\n\014savegamename\030\n \001(\t\022\022\n\ns" + "1_mapname\030\013 \001(\t\022\020\n\010gamemode\030\014 \001(\t\022\031\n\021ser" + "ver_ip_address\030\r \001(\t\022\014\n\004data\030\016 \001(\014\022\024\n\014is" + "_localonly\030\017 \001(\010\022\027\n\017no_steam_server\030\023 \001(" + "\010\022\025\n\ris_transition\030\020 \001(\010\022\025\n\rpreviousleve" + "l\030\021 \001(\t\022\024\n\014landmarkname\030\022 \001(\t\"\262\001\n\024CNETMs" + "g_DebugOverlay\022\r\n\005etype\030\001 \001(\005\022\034\n\007vectors" + "\030\002 \003(\0132\013.CMsgVector\022\031\n\006colors\030\003 \003(\0132\t.CM" + "sgRGBA\022\022\n\ndimensions\030\004 \003(\002\022\r\n\005times\030\005 \003(" + "\002\022\r\n\005bools\030\006 \003(\010\022\017\n\007uint64s\030\007 \003(\004\022\017\n\007str" + "ings\030\010 \003(\t*\324\001\n\rSignonState_t\022\024\n\020SIGNONST" + "ATE_NONE\020\000\022\031\n\025SIGNONSTATE_CHALLENGE\020\001\022\031\n" + "\025SIGNONSTATE_CONNECTED\020\002\022\023\n\017SIGNONSTATE_" + "NEW\020\003\022\030\n\024SIGNONSTATE_PRESPAWN\020\004\022\025\n\021SIGNO" + "NSTATE_SPAWN\020\005\022\024\n\020SIGNONSTATE_FULL\020\006\022\033\n\027" + "SIGNONSTATE_CHANGELEVEL\020\007*\313\002\n\014NET_Messag" + "es\022\013\n\007net_NOP\020\000\022\031\n\025net_Disconnect_Legacy" + "\020\001\022\027\n\023net_SplitScreenUser\020\003\022\014\n\010net_Tick\020" + "\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rnet_SetConVar\020\006\022" + "\023\n\017net_SignonState\020\007\022\027\n\023net_SpawnGroup_L" + "oad\020\010\022!\n\035net_SpawnGroup_ManifestUpdate\020\t" + "\022\"\n\036net_SpawnGroup_SetCreationTick\020\013\022\031\n\025" + "net_SpawnGroup_Unload\020\014\022 \n\034net_SpawnGrou" + "p_LoadCompleted\020\r\022\024\n\020net_DebugOverlay\020\017*" + "\314\002\n\021SpawnGroupFlags_t\022\'\n#SPAWN_GROUP_LOA" + "D_ENTITIES_FROM_SAVE\020\001\022#\n\037SPAWN_GROUP_DO" + "NT_SPAWN_ENTITIES\020\002\022!\n\035SPAWN_GROUP_SYNCH" + "RONOUS_SPAWN\020\004\022&\n\"SPAWN_GROUP_IS_INITIAL" + "_SPAWN_GROUP\020\010\022+\n\'SPAWN_GROUP_CREATE_CLI" + "ENT_ONLY_ENTITIES\020\020\022\"\n\036SPAWN_GROUP_BLOCK" + "_UNTIL_LOADED\020@\022$\n\037SPAWN_GROUP_LOAD_STRE" + "AMING_DATA\020\200\001\022\'\n\"SPAWN_GROUP_CREATE_NEW_" + "SCENE_WORLD\020\200\002" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_networkbasetypes_2eproto_deps[1] = { + &::descriptor_table_network_5fconnection_2eproto, +}; +static ::_pbi::once_flag descriptor_table_networkbasetypes_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_networkbasetypes_2eproto = { + false, false, 4214, descriptor_table_protodef_networkbasetypes_2eproto, + "networkbasetypes.proto", + &descriptor_table_networkbasetypes_2eproto_once, descriptor_table_networkbasetypes_2eproto_deps, 1, 27, + schemas, file_default_instances, TableStruct_networkbasetypes_2eproto::offsets, + file_level_metadata_networkbasetypes_2eproto, file_level_enum_descriptors_networkbasetypes_2eproto, + file_level_service_descriptors_networkbasetypes_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_networkbasetypes_2eproto_getter() { + return &descriptor_table_networkbasetypes_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_networkbasetypes_2eproto(&descriptor_table_networkbasetypes_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignonState_t_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); + return file_level_enum_descriptors_networkbasetypes_2eproto[0]; +} +bool SignonState_t_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NET_Messages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); + return file_level_enum_descriptors_networkbasetypes_2eproto[1]; +} +bool NET_Messages_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 11: + case 12: + case 13: + case 15: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SpawnGroupFlags_t_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); + return file_level_enum_descriptors_networkbasetypes_2eproto[2]; +} +bool SpawnGroupFlags_t_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 8: + case 16: + case 64: + case 128: + case 256: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgVector::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_z(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_w(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgVector::CMsgVector(::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:CMsgVector) +} +CMsgVector::CMsgVector(const CMsgVector& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgVector* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){} + , decltype(_impl_.y_){} + , decltype(_impl_.z_){} + , decltype(_impl_.w_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.x_, &from._impl_.x_, + static_cast(reinterpret_cast(&_impl_.w_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); + // @@protoc_insertion_point(copy_constructor:CMsgVector) +} + +inline void CMsgVector::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + , decltype(_impl_.z_){0} + , decltype(_impl_.w_){0} + }; +} + +CMsgVector::~CMsgVector() { + // @@protoc_insertion_point(destructor:CMsgVector) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgVector::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgVector::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgVector::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgVector) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.x_, 0, static_cast( + reinterpret_cast(&_impl_.w_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgVector::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_x(&has_bits); + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_y(&has_bits); + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_z(&has_bits); + _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float w = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_w(&has_bits); + _impl_.w_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgVector::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgVector) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); + } + + // optional float w = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_w(), 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:CMsgVector) + return target; +} + +size_t CMsgVector::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgVector) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float w = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVector::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgVector::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVector::GetClassData() const { return &_class_data_; } + + +void CMsgVector::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:CMsgVector) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.x_ = from._impl_.x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.y_ = from._impl_.y_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.z_ = from._impl_.z_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.w_ = from._impl_.w_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgVector::CopyFrom(const CMsgVector& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVector) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVector::IsInitialized() const { + return true; +} + +void CMsgVector::InternalSwap(CMsgVector* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgVector, _impl_.w_) + + sizeof(CMsgVector::_impl_.w_) + - PROTOBUF_FIELD_OFFSET(CMsgVector, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgVector::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[0]); +} + +// =================================================================== + +class CMsgVector2D::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgVector2D::CMsgVector2D(::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:CMsgVector2D) +} +CMsgVector2D::CMsgVector2D(const CMsgVector2D& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgVector2D* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){} + , decltype(_impl_.y_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.x_, &from._impl_.x_, + static_cast(reinterpret_cast(&_impl_.y_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.y_)); + // @@protoc_insertion_point(copy_constructor:CMsgVector2D) +} + +inline void CMsgVector2D::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + }; +} + +CMsgVector2D::~CMsgVector2D() { + // @@protoc_insertion_point(destructor:CMsgVector2D) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgVector2D::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgVector2D::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgVector2D::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgVector2D) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.x_, 0, static_cast( + reinterpret_cast(&_impl_.y_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.y_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgVector2D::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_x(&has_bits); + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_y(&has_bits); + _impl_.y_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgVector2D::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgVector2D) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), 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:CMsgVector2D) + return target; +} + +size_t CMsgVector2D::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgVector2D) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVector2D::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgVector2D::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVector2D::GetClassData() const { return &_class_data_; } + + +void CMsgVector2D::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:CMsgVector2D) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.x_ = from._impl_.x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.y_ = from._impl_.y_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgVector2D::CopyFrom(const CMsgVector2D& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVector2D) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVector2D::IsInitialized() const { + return true; +} + +void CMsgVector2D::InternalSwap(CMsgVector2D* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgVector2D, _impl_.y_) + + sizeof(CMsgVector2D::_impl_.y_) + - PROTOBUF_FIELD_OFFSET(CMsgVector2D, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgVector2D::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[1]); +} + +// =================================================================== + +class CMsgQAngle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_z(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgQAngle::CMsgQAngle(::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:CMsgQAngle) +} +CMsgQAngle::CMsgQAngle(const CMsgQAngle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgQAngle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){} + , decltype(_impl_.y_){} + , decltype(_impl_.z_){}}; + + _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:CMsgQAngle) +} + +inline void CMsgQAngle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + , decltype(_impl_.z_){0} + }; +} + +CMsgQAngle::~CMsgQAngle() { + // @@protoc_insertion_point(destructor:CMsgQAngle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgQAngle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgQAngle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgQAngle::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgQAngle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.x_, 0, static_cast( + reinterpret_cast(&_impl_.z_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgQAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_x(&has_bits); + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_y(&has_bits); + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_z(&has_bits); + _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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgQAngle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgQAngle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + 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:CMsgQAngle) + return target; +} + +size_t CMsgQAngle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgQAngle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgQAngle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgQAngle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgQAngle::GetClassData() const { return &_class_data_; } + + +void CMsgQAngle::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:CMsgQAngle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.x_ = from._impl_.x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.y_ = from._impl_.y_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.z_ = from._impl_.z_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgQAngle::CopyFrom(const CMsgQAngle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgQAngle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgQAngle::IsInitialized() const { + return true; +} + +void CMsgQAngle::InternalSwap(CMsgQAngle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgQAngle, _impl_.z_) + + sizeof(CMsgQAngle::_impl_.z_) + - PROTOBUF_FIELD_OFFSET(CMsgQAngle, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgQAngle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[2]); +} + +// =================================================================== + +class CMsgQuaternion::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_x(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_y(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_z(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_w(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgQuaternion::CMsgQuaternion(::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:CMsgQuaternion) +} +CMsgQuaternion::CMsgQuaternion(const CMsgQuaternion& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgQuaternion* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){} + , decltype(_impl_.y_){} + , decltype(_impl_.z_){} + , decltype(_impl_.w_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.x_, &from._impl_.x_, + static_cast(reinterpret_cast(&_impl_.w_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); + // @@protoc_insertion_point(copy_constructor:CMsgQuaternion) +} + +inline void CMsgQuaternion::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + , decltype(_impl_.z_){0} + , decltype(_impl_.w_){0} + }; +} + +CMsgQuaternion::~CMsgQuaternion() { + // @@protoc_insertion_point(destructor:CMsgQuaternion) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgQuaternion::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgQuaternion::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgQuaternion::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgQuaternion) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.x_, 0, static_cast( + reinterpret_cast(&_impl_.w_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgQuaternion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_x(&has_bits); + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_y(&has_bits); + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_z(&has_bits); + _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float w = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_w(&has_bits); + _impl_.w_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgQuaternion::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgQuaternion) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); + } + + // optional float w = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_w(), 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:CMsgQuaternion) + return target; +} + +size_t CMsgQuaternion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgQuaternion) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float x = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float z = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float w = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgQuaternion::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgQuaternion::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgQuaternion::GetClassData() const { return &_class_data_; } + + +void CMsgQuaternion::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:CMsgQuaternion) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.x_ = from._impl_.x_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.y_ = from._impl_.y_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.z_ = from._impl_.z_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.w_ = from._impl_.w_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgQuaternion::CopyFrom(const CMsgQuaternion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgQuaternion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgQuaternion::IsInitialized() const { + return true; +} + +void CMsgQuaternion::InternalSwap(CMsgQuaternion* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgQuaternion, _impl_.w_) + + sizeof(CMsgQuaternion::_impl_.w_) + - PROTOBUF_FIELD_OFFSET(CMsgQuaternion, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgQuaternion::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[3]); +} + +// =================================================================== + +class CMsgTransform::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& position(const CMsgTransform* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgQuaternion& orientation(const CMsgTransform* msg); + static void set_has_orientation(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTransform::_Internal::position(const CMsgTransform* msg) { + return *msg->_impl_.position_; +} +const ::CMsgQuaternion& +CMsgTransform::_Internal::orientation(const CMsgTransform* msg) { + return *msg->_impl_.orientation_; +} +CMsgTransform::CMsgTransform(::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:CMsgTransform) +} +CMsgTransform::CMsgTransform(const CMsgTransform& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTransform* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.orientation_){nullptr} + , decltype(_impl_.scale_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + if (from._internal_has_orientation()) { + _this->_impl_.orientation_ = new ::CMsgQuaternion(*from._impl_.orientation_); + } + _this->_impl_.scale_ = from._impl_.scale_; + // @@protoc_insertion_point(copy_constructor:CMsgTransform) +} + +inline void CMsgTransform::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.orientation_){nullptr} + , decltype(_impl_.scale_){0} + }; +} + +CMsgTransform::~CMsgTransform() { + // @@protoc_insertion_point(destructor:CMsgTransform) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTransform::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; + if (this != internal_default_instance()) delete _impl_.orientation_; +} + +void CMsgTransform::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTransform::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTransform) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.orientation_ != nullptr); + _impl_.orientation_->Clear(); + } + } + _impl_.scale_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTransform::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector position = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float scale = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CMsgQuaternion orientation = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_orientation(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTransform::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTransform) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector position = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::position(this), + _Internal::position(this).GetCachedSize(), target, stream); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), target); + } + + // optional .CMsgQuaternion orientation = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::orientation(this), + _Internal::orientation(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:CMsgTransform) + return target; +} + +size_t CMsgTransform::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTransform) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector position = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional .CMsgQuaternion orientation = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.orientation_); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTransform::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTransform::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTransform::GetClassData() const { return &_class_data_; } + + +void CMsgTransform::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:CMsgTransform) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_orientation()->::CMsgQuaternion::MergeFrom( + from._internal_orientation()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTransform::CopyFrom(const CMsgTransform& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTransform) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTransform::IsInitialized() const { + return true; +} + +void CMsgTransform::InternalSwap(CMsgTransform* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTransform, _impl_.scale_) + + sizeof(CMsgTransform::_impl_.scale_) + - PROTOBUF_FIELD_OFFSET(CMsgTransform, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTransform::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[4]); +} + +// =================================================================== + +class CMsgRGBA::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_r(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_g(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_b(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_a(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgRGBA::CMsgRGBA(::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:CMsgRGBA) +} +CMsgRGBA::CMsgRGBA(const CMsgRGBA& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgRGBA* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.r_){} + , decltype(_impl_.g_){} + , decltype(_impl_.b_){} + , decltype(_impl_.a_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.r_, &from._impl_.r_, + static_cast(reinterpret_cast(&_impl_.a_) - + reinterpret_cast(&_impl_.r_)) + sizeof(_impl_.a_)); + // @@protoc_insertion_point(copy_constructor:CMsgRGBA) +} + +inline void CMsgRGBA::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.r_){0} + , decltype(_impl_.g_){0} + , decltype(_impl_.b_){0} + , decltype(_impl_.a_){0} + }; +} + +CMsgRGBA::~CMsgRGBA() { + // @@protoc_insertion_point(destructor:CMsgRGBA) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgRGBA::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgRGBA::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgRGBA::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgRGBA) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.r_, 0, static_cast( + reinterpret_cast(&_impl_.a_) - + reinterpret_cast(&_impl_.r_)) + sizeof(_impl_.a_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgRGBA::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 r = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_r(&has_bits); + _impl_.r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 g = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_g(&has_bits); + _impl_.g_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 b = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_b(&has_bits); + _impl_.b_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 a = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_a(&has_bits); + _impl_.a_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgRGBA::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgRGBA) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 r = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_r(), target); + } + + // optional int32 g = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_g(), target); + } + + // optional int32 b = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_b(), target); + } + + // optional int32 a = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_a(), 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:CMsgRGBA) + return target; +} + +size_t CMsgRGBA::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgRGBA) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 r = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_r()); + } + + // optional int32 g = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_g()); + } + + // optional int32 b = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_b()); + } + + // optional int32 a = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_a()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRGBA::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgRGBA::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRGBA::GetClassData() const { return &_class_data_; } + + +void CMsgRGBA::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:CMsgRGBA) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.r_ = from._impl_.r_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.g_ = from._impl_.g_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.b_ = from._impl_.b_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.a_ = from._impl_.a_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgRGBA::CopyFrom(const CMsgRGBA& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRGBA) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgRGBA::IsInitialized() const { + return true; +} + +void CMsgRGBA::InternalSwap(CMsgRGBA* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgRGBA, _impl_.a_) + + sizeof(CMsgRGBA::_impl_.a_) + - PROTOBUF_FIELD_OFFSET(CMsgRGBA, _impl_.r_)>( + reinterpret_cast(&_impl_.r_), + reinterpret_cast(&other->_impl_.r_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgRGBA::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[5]); +} + +// =================================================================== + +class CMsgPlayerInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_xuid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_userid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_fakeplayer(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_ishltv(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CMsgPlayerInfo::CMsgPlayerInfo(::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:CMsgPlayerInfo) +} +CMsgPlayerInfo::CMsgPlayerInfo(const CMsgPlayerInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgPlayerInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.xuid_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.userid_){} + , decltype(_impl_.fakeplayer_){} + , decltype(_impl_.ishltv_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, + static_cast(reinterpret_cast(&_impl_.ishltv_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ishltv_)); + // @@protoc_insertion_point(copy_constructor:CMsgPlayerInfo) +} + +inline void CMsgPlayerInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.xuid_){uint64_t{0u}} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.userid_){0} + , decltype(_impl_.fakeplayer_){false} + , decltype(_impl_.ishltv_){false} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgPlayerInfo::~CMsgPlayerInfo() { + // @@protoc_insertion_point(destructor:CMsgPlayerInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgPlayerInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CMsgPlayerInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgPlayerInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgPlayerInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000003eu) { + ::memset(&_impl_.xuid_, 0, static_cast( + reinterpret_cast(&_impl_.ishltv_) - + reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ishltv_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgPlayerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgPlayerInfo.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 xuid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_xuid(&has_bits); + _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 userid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_userid(&has_bits); + _impl_.userid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool fakeplayer = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_fakeplayer(&has_bits); + _impl_.fakeplayer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ishltv = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_ishltv(&has_bits); + _impl_.ishltv_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgPlayerInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgPlayerInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgPlayerInfo.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional fixed64 xuid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_xuid(), target); + } + + // optional int32 userid = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_userid(), target); + } + + // optional fixed64 steamid = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_steamid(), target); + } + + // optional bool fakeplayer = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_fakeplayer(), target); + } + + // optional bool ishltv = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_ishltv(), 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:CMsgPlayerInfo) + return target; +} + +size_t CMsgPlayerInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgPlayerInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional fixed64 xuid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional fixed64 steamid = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional int32 userid = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_userid()); + } + + // optional bool fakeplayer = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional bool ishltv = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPlayerInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgPlayerInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPlayerInfo::GetClassData() const { return &_class_data_; } + + +void CMsgPlayerInfo::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:CMsgPlayerInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.xuid_ = from._impl_.xuid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.userid_ = from._impl_.userid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.fakeplayer_ = from._impl_.fakeplayer_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ishltv_ = from._impl_.ishltv_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgPlayerInfo::CopyFrom(const CMsgPlayerInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPlayerInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgPlayerInfo::IsInitialized() const { + return true; +} + +void CMsgPlayerInfo::InternalSwap(CMsgPlayerInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgPlayerInfo, _impl_.ishltv_) + + sizeof(CMsgPlayerInfo::_impl_.ishltv_) + - PROTOBUF_FIELD_OFFSET(CMsgPlayerInfo, _impl_.xuid_)>( + reinterpret_cast(&_impl_.xuid_), + reinterpret_cast(&other->_impl_.xuid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgPlayerInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[6]); +} + +// =================================================================== + +class CEntityMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_target_entity(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CEntityMsg::CEntityMsg(::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:CEntityMsg) +} +CEntityMsg::CEntityMsg(const CEntityMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.target_entity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.target_entity_ = from._impl_.target_entity_; + // @@protoc_insertion_point(copy_constructor:CEntityMsg) +} + +inline void CEntityMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.target_entity_){16777215u} + }; +} + +CEntityMsg::~CEntityMsg() { + // @@protoc_insertion_point(destructor:CEntityMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CEntityMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.target_entity_ = 16777215u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 target_entity = 1 [default = 16777215]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_target_entity(&has_bits); + _impl_.target_entity_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 target_entity = 1 [default = 16777215]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_target_entity(), 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:CEntityMsg) + return target; +} + +size_t CEntityMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMsg) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 target_entity = 1 [default = 16777215]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_entity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMsg::GetClassData() const { return &_class_data_; } + + +void CEntityMsg::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:CEntityMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_target_entity()) { + _this->_internal_set_target_entity(from._internal_target_entity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMsg::CopyFrom(const CEntityMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMsg::IsInitialized() const { + return true; +} + +void CEntityMsg::InternalSwap(CEntityMsg* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.target_entity_, other->_impl_.target_entity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[7]); +} + +// =================================================================== + +class CMsg_CVars_CVar::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsg_CVars_CVar::CMsg_CVars_CVar(::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:CMsg_CVars.CVar) +} +CMsg_CVars_CVar::CMsg_CVars_CVar(const CMsg_CVars_CVar& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsg_CVars_CVar* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsg_CVars.CVar) +} + +inline void CMsg_CVars_CVar::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.value_){} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsg_CVars_CVar::~CMsg_CVars_CVar() { + // @@protoc_insertion_point(destructor:CMsg_CVars.CVar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsg_CVars_CVar::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.value_.Destroy(); +} + +void CMsg_CVars_CVar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsg_CVars_CVar::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsg_CVars.CVar) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsg_CVars_CVar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsg_CVars.CVar.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsg_CVars.CVar.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsg_CVars_CVar::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsg_CVars.CVar) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsg_CVars.CVar.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsg_CVars.CVar.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:CMsg_CVars.CVar) + return target; +} + +size_t CMsg_CVars_CVar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsg_CVars.CVar) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsg_CVars_CVar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsg_CVars_CVar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsg_CVars_CVar::GetClassData() const { return &_class_data_; } + + +void CMsg_CVars_CVar::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:CMsg_CVars.CVar) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsg_CVars_CVar::CopyFrom(const CMsg_CVars_CVar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsg_CVars.CVar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsg_CVars_CVar::IsInitialized() const { + return true; +} + +void CMsg_CVars_CVar::InternalSwap(CMsg_CVars_CVar* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsg_CVars_CVar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[8]); +} + +// =================================================================== + +class CMsg_CVars::_Internal { + public: +}; + +CMsg_CVars::CMsg_CVars(::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:CMsg_CVars) +} +CMsg_CVars::CMsg_CVars(const CMsg_CVars& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsg_CVars* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.cvars_){from._impl_.cvars_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CMsg_CVars) +} + +inline void CMsg_CVars::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.cvars_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CMsg_CVars::~CMsg_CVars() { + // @@protoc_insertion_point(destructor:CMsg_CVars) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsg_CVars::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.cvars_.~RepeatedPtrField(); +} + +void CMsg_CVars::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsg_CVars::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsg_CVars) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.cvars_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsg_CVars::_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 .CMsg_CVars.CVar cvars = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_cvars(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CMsg_CVars::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsg_CVars) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsg_CVars.CVar cvars = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_cvars_size()); i < n; i++) { + const auto& repfield = this->_internal_cvars(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CMsg_CVars) + return target; +} + +size_t CMsg_CVars::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsg_CVars) + 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 .CMsg_CVars.CVar cvars = 1; + total_size += 1UL * this->_internal_cvars_size(); + for (const auto& msg : this->_impl_.cvars_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsg_CVars::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsg_CVars::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsg_CVars::GetClassData() const { return &_class_data_; } + + +void CMsg_CVars::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:CMsg_CVars) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.cvars_.MergeFrom(from._impl_.cvars_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsg_CVars::CopyFrom(const CMsg_CVars& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsg_CVars) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsg_CVars::IsInitialized() const { + return true; +} + +void CMsg_CVars::InternalSwap(CMsg_CVars* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.cvars_.InternalSwap(&other->_impl_.cvars_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsg_CVars::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[9]); +} + +// =================================================================== + +class CNETMsg_NOP::_Internal { + public: +}; + +CNETMsg_NOP::CNETMsg_NOP(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CNETMsg_NOP) +} +CNETMsg_NOP::CNETMsg_NOP(const CNETMsg_NOP& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CNETMsg_NOP* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CNETMsg_NOP) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_NOP::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_NOP::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_NOP::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[10]); +} + +// =================================================================== + +class CNETMsg_SplitScreenUser::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(::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:CNETMsg_SplitScreenUser) +} +CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SplitScreenUser* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.slot_ = from._impl_.slot_; + // @@protoc_insertion_point(copy_constructor:CNETMsg_SplitScreenUser) +} + +inline void CNETMsg_SplitScreenUser::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){0} + }; +} + +CNETMsg_SplitScreenUser::~CNETMsg_SplitScreenUser() { + // @@protoc_insertion_point(destructor:CNETMsg_SplitScreenUser) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SplitScreenUser::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CNETMsg_SplitScreenUser::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SplitScreenUser::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SplitScreenUser) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.slot_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SplitScreenUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 slot = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SplitScreenUser::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SplitScreenUser) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 slot = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), 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:CNETMsg_SplitScreenUser) + return target; +} + +size_t CNETMsg_SplitScreenUser::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SplitScreenUser) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 slot = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SplitScreenUser::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SplitScreenUser::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SplitScreenUser::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SplitScreenUser::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:CNETMsg_SplitScreenUser) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_slot()) { + _this->_internal_set_slot(from._internal_slot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SplitScreenUser::CopyFrom(const CNETMsg_SplitScreenUser& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SplitScreenUser) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SplitScreenUser::IsInitialized() const { + return true; +} + +void CNETMsg_SplitScreenUser::InternalSwap(CNETMsg_SplitScreenUser* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.slot_, other->_impl_.slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SplitScreenUser::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[11]); +} + +// =================================================================== + +class CNETMsg_Tick::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_host_computationtime(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_host_computationtime_std_deviation(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_legacy_host_loss(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_host_unfiltered_frametime(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_hltv_replay_flags(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_expected_long_tick(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_expected_long_tick_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_host_frame_dropped_pct_x10(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_host_frame_irregular_arrival_pct_x10(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +CNETMsg_Tick::CNETMsg_Tick(::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:CNETMsg_Tick) +} +CNETMsg_Tick::CNETMsg_Tick(const CNETMsg_Tick& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_Tick* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.expected_long_tick_reason_){} + , decltype(_impl_.tick_){} + , decltype(_impl_.host_computationtime_){} + , decltype(_impl_.host_computationtime_std_deviation_){} + , decltype(_impl_.legacy_host_loss_){} + , decltype(_impl_.host_unfiltered_frametime_){} + , decltype(_impl_.hltv_replay_flags_){} + , decltype(_impl_.expected_long_tick_){} + , decltype(_impl_.host_frame_dropped_pct_x10_){} + , decltype(_impl_.host_frame_irregular_arrival_pct_x10_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.expected_long_tick_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_expected_long_tick_reason()) { + _this->_impl_.expected_long_tick_reason_.Set(from._internal_expected_long_tick_reason(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.tick_, &from._impl_.tick_, + static_cast(reinterpret_cast(&_impl_.host_frame_irregular_arrival_pct_x10_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.host_frame_irregular_arrival_pct_x10_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_Tick) +} + +inline void CNETMsg_Tick::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.expected_long_tick_reason_){} + , decltype(_impl_.tick_){0u} + , decltype(_impl_.host_computationtime_){0u} + , decltype(_impl_.host_computationtime_std_deviation_){0u} + , decltype(_impl_.legacy_host_loss_){0u} + , decltype(_impl_.host_unfiltered_frametime_){0u} + , decltype(_impl_.hltv_replay_flags_){0u} + , decltype(_impl_.expected_long_tick_){0u} + , decltype(_impl_.host_frame_dropped_pct_x10_){0u} + , decltype(_impl_.host_frame_irregular_arrival_pct_x10_){0u} + }; + _impl_.expected_long_tick_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CNETMsg_Tick::~CNETMsg_Tick() { + // @@protoc_insertion_point(destructor:CNETMsg_Tick) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_Tick::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.expected_long_tick_reason_.Destroy(); +} + +void CNETMsg_Tick::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_Tick::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_Tick) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.expected_long_tick_reason_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.tick_, 0, static_cast( + reinterpret_cast(&_impl_.expected_long_tick_) - + reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.expected_long_tick_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.host_frame_dropped_pct_x10_, 0, static_cast( + reinterpret_cast(&_impl_.host_frame_irregular_arrival_pct_x10_) - + reinterpret_cast(&_impl_.host_frame_dropped_pct_x10_)) + sizeof(_impl_.host_frame_irregular_arrival_pct_x10_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_Tick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 host_computationtime = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_host_computationtime(&has_bits); + _impl_.host_computationtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 host_computationtime_std_deviation = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_host_computationtime_std_deviation(&has_bits); + _impl_.host_computationtime_std_deviation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 legacy_host_loss = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_legacy_host_loss(&has_bits); + _impl_.legacy_host_loss_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 host_unfiltered_frametime = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_host_unfiltered_frametime(&has_bits); + _impl_.host_unfiltered_frametime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hltv_replay_flags = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_hltv_replay_flags(&has_bits); + _impl_.hltv_replay_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 expected_long_tick = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_expected_long_tick(&has_bits); + _impl_.expected_long_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string expected_long_tick_reason = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_expected_long_tick_reason(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_Tick.expected_long_tick_reason"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 host_frame_dropped_pct_x10 = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_host_frame_dropped_pct_x10(&has_bits); + _impl_.host_frame_dropped_pct_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_host_frame_irregular_arrival_pct_x10(&has_bits); + _impl_.host_frame_irregular_arrival_pct_x10_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_Tick::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_Tick) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 tick = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tick(), target); + } + + // optional uint32 host_computationtime = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_host_computationtime(), target); + } + + // optional uint32 host_computationtime_std_deviation = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_host_computationtime_std_deviation(), target); + } + + // optional uint32 legacy_host_loss = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_legacy_host_loss(), target); + } + + // optional uint32 host_unfiltered_frametime = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_host_unfiltered_frametime(), target); + } + + // optional uint32 hltv_replay_flags = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_hltv_replay_flags(), target); + } + + // optional uint32 expected_long_tick = 10; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_expected_long_tick(), target); + } + + // optional string expected_long_tick_reason = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_expected_long_tick_reason().data(), static_cast(this->_internal_expected_long_tick_reason().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_Tick.expected_long_tick_reason"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_expected_long_tick_reason(), target); + } + + // optional uint32 host_frame_dropped_pct_x10 = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_host_frame_dropped_pct_x10(), target); + } + + // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_host_frame_irregular_arrival_pct_x10(), 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:CNETMsg_Tick) + return target; +} + +size_t CNETMsg_Tick::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_Tick) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string expected_long_tick_reason = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_expected_long_tick_reason()); + } + + // optional uint32 tick = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); + } + + // optional uint32 host_computationtime = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_computationtime()); + } + + // optional uint32 host_computationtime_std_deviation = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_computationtime_std_deviation()); + } + + // optional uint32 legacy_host_loss = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_host_loss()); + } + + // optional uint32 host_unfiltered_frametime = 8; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_unfiltered_frametime()); + } + + // optional uint32 hltv_replay_flags = 9; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hltv_replay_flags()); + } + + // optional uint32 expected_long_tick = 10; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_long_tick()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional uint32 host_frame_dropped_pct_x10 = 12; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_frame_dropped_pct_x10()); + } + + // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_frame_irregular_arrival_pct_x10()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_Tick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_Tick::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_Tick::GetClassData() const { return &_class_data_; } + + +void CNETMsg_Tick::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:CNETMsg_Tick) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_expected_long_tick_reason(from._internal_expected_long_tick_reason()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.host_computationtime_ = from._impl_.host_computationtime_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.host_computationtime_std_deviation_ = from._impl_.host_computationtime_std_deviation_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_host_loss_ = from._impl_.legacy_host_loss_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.host_unfiltered_frametime_ = from._impl_.host_unfiltered_frametime_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.hltv_replay_flags_ = from._impl_.hltv_replay_flags_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.expected_long_tick_ = from._impl_.expected_long_tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.host_frame_dropped_pct_x10_ = from._impl_.host_frame_dropped_pct_x10_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.host_frame_irregular_arrival_pct_x10_ = from._impl_.host_frame_irregular_arrival_pct_x10_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_Tick::CopyFrom(const CNETMsg_Tick& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_Tick) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_Tick::IsInitialized() const { + return true; +} + +void CNETMsg_Tick::InternalSwap(CNETMsg_Tick* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.expected_long_tick_reason_, lhs_arena, + &other->_impl_.expected_long_tick_reason_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_Tick, _impl_.host_frame_irregular_arrival_pct_x10_) + + sizeof(CNETMsg_Tick::_impl_.host_frame_irregular_arrival_pct_x10_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_Tick, _impl_.tick_)>( + reinterpret_cast(&_impl_.tick_), + reinterpret_cast(&other->_impl_.tick_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_Tick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[12]); +} + +// =================================================================== + +class CNETMsg_StringCmd::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_prediction_sync(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CNETMsg_StringCmd::CNETMsg_StringCmd(::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:CNETMsg_StringCmd) +} +CNETMsg_StringCmd::CNETMsg_StringCmd(const CNETMsg_StringCmd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_StringCmd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + , decltype(_impl_.prediction_sync_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_command()) { + _this->_impl_.command_.Set(from._internal_command(), + _this->GetArenaForAllocation()); + } + _this->_impl_.prediction_sync_ = from._impl_.prediction_sync_; + // @@protoc_insertion_point(copy_constructor:CNETMsg_StringCmd) +} + +inline void CNETMsg_StringCmd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + , decltype(_impl_.prediction_sync_){0u} + }; + _impl_.command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CNETMsg_StringCmd::~CNETMsg_StringCmd() { + // @@protoc_insertion_point(destructor:CNETMsg_StringCmd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_StringCmd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.command_.Destroy(); +} + +void CNETMsg_StringCmd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_StringCmd::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_StringCmd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.command_.ClearNonDefaultToEmpty(); + } + _impl_.prediction_sync_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_StringCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_command(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_StringCmd.command"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 prediction_sync = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_prediction_sync(&has_bits); + _impl_.prediction_sync_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_StringCmd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_StringCmd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string command = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_command().data(), static_cast(this->_internal_command().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_StringCmd.command"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_command(), target); + } + + // optional uint32 prediction_sync = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_prediction_sync(), 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:CNETMsg_StringCmd) + return target; +} + +size_t CNETMsg_StringCmd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_StringCmd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string command = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_command()); + } + + // optional uint32 prediction_sync = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prediction_sync()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_StringCmd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_StringCmd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_StringCmd::GetClassData() const { return &_class_data_; } + + +void CNETMsg_StringCmd::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:CNETMsg_StringCmd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_command(from._internal_command()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.prediction_sync_ = from._impl_.prediction_sync_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_StringCmd::CopyFrom(const CNETMsg_StringCmd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_StringCmd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_StringCmd::IsInitialized() const { + return true; +} + +void CNETMsg_StringCmd::InternalSwap(CNETMsg_StringCmd* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.command_, lhs_arena, + &other->_impl_.command_, rhs_arena + ); + swap(_impl_.prediction_sync_, other->_impl_.prediction_sync_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_StringCmd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[13]); +} + +// =================================================================== + +class CNETMsg_SetConVar::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsg_CVars& convars(const CNETMsg_SetConVar* msg); + static void set_has_convars(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsg_CVars& +CNETMsg_SetConVar::_Internal::convars(const CNETMsg_SetConVar* msg) { + return *msg->_impl_.convars_; +} +CNETMsg_SetConVar::CNETMsg_SetConVar(::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:CNETMsg_SetConVar) +} +CNETMsg_SetConVar::CNETMsg_SetConVar(const CNETMsg_SetConVar& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SetConVar* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.convars_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_convars()) { + _this->_impl_.convars_ = new ::CMsg_CVars(*from._impl_.convars_); + } + // @@protoc_insertion_point(copy_constructor:CNETMsg_SetConVar) +} + +inline void CNETMsg_SetConVar::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.convars_){nullptr} + }; +} + +CNETMsg_SetConVar::~CNETMsg_SetConVar() { + // @@protoc_insertion_point(destructor:CNETMsg_SetConVar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SetConVar::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.convars_; +} + +void CNETMsg_SetConVar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SetConVar::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SetConVar) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.convars_ != nullptr); + _impl_.convars_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SetConVar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsg_CVars convars = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_convars(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SetConVar::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SetConVar) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsg_CVars convars = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::convars(this), + _Internal::convars(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:CNETMsg_SetConVar) + return target; +} + +size_t CNETMsg_SetConVar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SetConVar) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsg_CVars convars = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.convars_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SetConVar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SetConVar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SetConVar::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SetConVar::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:CNETMsg_SetConVar) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_convars()) { + _this->_internal_mutable_convars()->::CMsg_CVars::MergeFrom( + from._internal_convars()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SetConVar::CopyFrom(const CNETMsg_SetConVar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SetConVar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SetConVar::IsInitialized() const { + return true; +} + +void CNETMsg_SetConVar::InternalSwap(CNETMsg_SetConVar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.convars_, other->_impl_.convars_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SetConVar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[14]); +} + +// =================================================================== + +class CNETMsg_SignonState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_signon_state(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_spawn_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_num_server_players(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_map_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_addons(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CNETMsg_SignonState::CNETMsg_SignonState(::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:CNETMsg_SignonState) +} +CNETMsg_SignonState::CNETMsg_SignonState(const CNETMsg_SignonState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SignonState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_networkids_){from._impl_.players_networkids_} + , decltype(_impl_.map_name_){} + , decltype(_impl_.addons_){} + , decltype(_impl_.signon_state_){} + , decltype(_impl_.spawn_count_){} + , decltype(_impl_.num_server_players_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_map_name()) { + _this->_impl_.map_name_.Set(from._internal_map_name(), + _this->GetArenaForAllocation()); + } + _impl_.addons_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_addons()) { + _this->_impl_.addons_.Set(from._internal_addons(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.signon_state_, &from._impl_.signon_state_, + static_cast(reinterpret_cast(&_impl_.num_server_players_) - + reinterpret_cast(&_impl_.signon_state_)) + sizeof(_impl_.num_server_players_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SignonState) +} + +inline void CNETMsg_SignonState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.players_networkids_){arena} + , decltype(_impl_.map_name_){} + , decltype(_impl_.addons_){} + , decltype(_impl_.signon_state_){0} + , decltype(_impl_.spawn_count_){0u} + , decltype(_impl_.num_server_players_){0u} + }; + _impl_.map_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.addons_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CNETMsg_SignonState::~CNETMsg_SignonState() { + // @@protoc_insertion_point(destructor:CNETMsg_SignonState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SignonState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_networkids_.~RepeatedPtrField(); + _impl_.map_name_.Destroy(); + _impl_.addons_.Destroy(); +} + +void CNETMsg_SignonState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SignonState::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SignonState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_networkids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.map_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.addons_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.signon_state_, 0, static_cast( + reinterpret_cast(&_impl_.num_server_players_) - + reinterpret_cast(&_impl_.signon_state_)) + sizeof(_impl_.num_server_players_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SignonState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::SignonState_t_IsValid(val))) { + _internal_set_signon_state(static_cast<::SignonState_t>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional uint32 spawn_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_spawn_count(&has_bits); + _impl_.spawn_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_server_players = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_num_server_players(&has_bits); + _impl_.num_server_players_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string players_networkids = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_players_networkids(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.players_networkids"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // optional string map_name = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_map_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.map_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string addons = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_addons(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.addons"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SignonState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SignonState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_signon_state(), target); + } + + // optional uint32 spawn_count = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_spawn_count(), target); + } + + // optional uint32 num_server_players = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_num_server_players(), target); + } + + // repeated string players_networkids = 4; + for (int i = 0, n = this->_internal_players_networkids_size(); i < n; i++) { + const auto& s = this->_internal_players_networkids(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SignonState.players_networkids"); + target = stream->WriteString(4, s, target); + } + + // optional string map_name = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SignonState.map_name"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_map_name(), target); + } + + // optional string addons = 6; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_addons().data(), static_cast(this->_internal_addons().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SignonState.addons"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_addons(), 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:CNETMsg_SignonState) + return target; +} + +size_t CNETMsg_SignonState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SignonState) + 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 players_networkids = 4; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.players_networkids_.size()); + for (int i = 0, n = _impl_.players_networkids_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.players_networkids_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string map_name = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map_name()); + } + + // optional string addons = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_addons()); + } + + // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_signon_state()); + } + + // optional uint32 spawn_count = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawn_count()); + } + + // optional uint32 num_server_players = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_server_players()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SignonState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SignonState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SignonState::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SignonState::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:CNETMsg_SignonState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.players_networkids_.MergeFrom(from._impl_.players_networkids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_map_name(from._internal_map_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_addons(from._internal_addons()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.signon_state_ = from._impl_.signon_state_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.spawn_count_ = from._impl_.spawn_count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.num_server_players_ = from._impl_.num_server_players_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SignonState::CopyFrom(const CNETMsg_SignonState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SignonState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SignonState::IsInitialized() const { + return true; +} + +void CNETMsg_SignonState::InternalSwap(CNETMsg_SignonState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.players_networkids_.InternalSwap(&other->_impl_.players_networkids_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_name_, lhs_arena, + &other->_impl_.map_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.addons_, lhs_arena, + &other->_impl_.addons_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_SignonState, _impl_.num_server_players_) + + sizeof(CNETMsg_SignonState::_impl_.num_server_players_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_SignonState, _impl_.signon_state_)>( + reinterpret_cast(&_impl_.signon_state_), + reinterpret_cast(&other->_impl_.signon_state_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SignonState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[15]); +} + +// =================================================================== + +class CSVCMsg_GameEvent_key_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_val_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_val_float(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_val_long(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_val_short(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_val_byte(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_val_bool(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_val_uint64(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(::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:CSVCMsg_GameEvent.key_t) +} +CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameEvent_key_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.val_string_){} + , decltype(_impl_.type_){} + , decltype(_impl_.val_float_){} + , decltype(_impl_.val_long_){} + , decltype(_impl_.val_short_){} + , decltype(_impl_.val_byte_){} + , decltype(_impl_.val_bool_){} + , decltype(_impl_.val_uint64_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_val_string()) { + _this->_impl_.val_string_.Set(from._internal_val_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.val_uint64_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEvent.key_t) +} + +inline void CSVCMsg_GameEvent_key_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.val_string_){} + , decltype(_impl_.type_){0} + , decltype(_impl_.val_float_){0} + , decltype(_impl_.val_long_){0} + , decltype(_impl_.val_short_){0} + , decltype(_impl_.val_byte_){0} + , decltype(_impl_.val_bool_){false} + , decltype(_impl_.val_uint64_){uint64_t{0u}} + }; + _impl_.val_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.val_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GameEvent_key_t::~CSVCMsg_GameEvent_key_t() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameEvent.key_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameEvent_key_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.val_string_.Destroy(); +} + +void CSVCMsg_GameEvent_key_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameEvent_key_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEvent.key_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.val_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.type_, 0, static_cast( + reinterpret_cast(&_impl_.val_uint64_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameEvent_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string val_string = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_val_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEvent.key_t.val_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float val_float = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_val_float(&has_bits); + _impl_.val_float_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 val_long = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_val_long(&has_bits); + _impl_.val_long_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 val_short = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_val_short(&has_bits); + _impl_.val_short_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 val_byte = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_val_byte(&has_bits); + _impl_.val_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool val_bool = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_val_bool(&has_bits); + _impl_.val_bool_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 val_uint64 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_val_uint64(&has_bits); + _impl_.val_uint64_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GameEvent_key_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEvent.key_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); + } + + // optional string val_string = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameEvent.key_t.val_string"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_val_string(), target); + } + + // optional float val_float = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_val_float(), target); + } + + // optional int32 val_long = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_val_long(), target); + } + + // optional int32 val_short = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_val_short(), target); + } + + // optional int32 val_byte = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_val_byte(), target); + } + + // optional bool val_bool = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_val_bool(), target); + } + + // optional uint64 val_uint64 = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_val_uint64(), 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:CSVCMsg_GameEvent.key_t) + return target; +} + +size_t CSVCMsg_GameEvent_key_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEvent.key_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string val_string = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_val_string()); + } + + // optional int32 type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional float val_float = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 val_long = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_long()); + } + + // optional int32 val_short = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_short()); + } + + // optional int32 val_byte = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_byte()); + } + + // optional bool val_bool = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional uint64 val_uint64 = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val_uint64()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEvent_key_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameEvent_key_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEvent_key_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameEvent_key_t::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:CSVCMsg_GameEvent.key_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_val_string(from._internal_val_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.val_float_ = from._impl_.val_float_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.val_long_ = from._impl_.val_long_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.val_short_ = from._impl_.val_short_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.val_byte_ = from._impl_.val_byte_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.val_bool_ = from._impl_.val_bool_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.val_uint64_ = from._impl_.val_uint64_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameEvent_key_t::CopyFrom(const CSVCMsg_GameEvent_key_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEvent.key_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEvent_key_t::IsInitialized() const { + return true; +} + +void CSVCMsg_GameEvent_key_t::InternalSwap(CSVCMsg_GameEvent_key_t* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.val_string_, lhs_arena, + &other->_impl_.val_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _impl_.val_uint64_) + + sizeof(CSVCMsg_GameEvent_key_t::_impl_.val_uint64_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEvent_key_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[16]); +} + +// =================================================================== + +class CSVCMsg_GameEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_eventid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CSVCMsg_GameEvent::CSVCMsg_GameEvent(::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:CSVCMsg_GameEvent) +} +CSVCMsg_GameEvent::CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){from._impl_.keys_} + , decltype(_impl_.event_name_){} + , decltype(_impl_.eventid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.eventid_ = from._impl_.eventid_; + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEvent) +} + +inline void CSVCMsg_GameEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.keys_){arena} + , decltype(_impl_.event_name_){} + , decltype(_impl_.eventid_){0} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GameEvent::~CSVCMsg_GameEvent() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.keys_.~RepeatedPtrField(); + _impl_.event_name_.Destroy(); +} + +void CSVCMsg_GameEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.keys_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + _impl_.eventid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 eventid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_eventid(&has_bits); + _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_keys(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GameEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // optional int32 eventid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_eventid(), target); + } + + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_keys(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:CSVCMsg_GameEvent) + return target; +} + +size_t CSVCMsg_GameEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEvent) + 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 .CSVCMsg_GameEvent.key_t keys = 3; + total_size += 1UL * this->_internal_keys_size(); + for (const auto& msg : this->_impl_.keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional int32 eventid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEvent::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameEvent::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:CSVCMsg_GameEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.keys_.MergeFrom(from._impl_.keys_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.eventid_ = from._impl_.eventid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameEvent::CopyFrom(const CSVCMsg_GameEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEvent::IsInitialized() const { + return true; +} + +void CSVCMsg_GameEvent::InternalSwap(CSVCMsg_GameEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.keys_.InternalSwap(&other->_impl_.keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + swap(_impl_.eventid_, other->_impl_.eventid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[17]); +} + +// =================================================================== + +class CSVCMsgList_GameEvents_event_t::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tick(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CSVCMsg_GameEvent& event(const CSVCMsgList_GameEvents_event_t* msg); + static void set_has_event(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CSVCMsg_GameEvent& +CSVCMsgList_GameEvents_event_t::_Internal::event(const CSVCMsgList_GameEvents_event_t* msg) { + return *msg->_impl_.event_; +} +CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t(::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:CSVCMsgList_GameEvents.event_t) +} +CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsgList_GameEvents_event_t* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_){nullptr} + , decltype(_impl_.tick_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_event()) { + _this->_impl_.event_ = new ::CSVCMsg_GameEvent(*from._impl_.event_); + } + _this->_impl_.tick_ = from._impl_.tick_; + // @@protoc_insertion_point(copy_constructor:CSVCMsgList_GameEvents.event_t) +} + +inline void CSVCMsgList_GameEvents_event_t::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_){nullptr} + , decltype(_impl_.tick_){0} + }; +} + +CSVCMsgList_GameEvents_event_t::~CSVCMsgList_GameEvents_event_t() { + // @@protoc_insertion_point(destructor:CSVCMsgList_GameEvents.event_t) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsgList_GameEvents_event_t::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.event_; +} + +void CSVCMsgList_GameEvents_event_t::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsgList_GameEvents_event_t::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsgList_GameEvents.event_t) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.event_ != nullptr); + _impl_.event_->Clear(); + } + _impl_.tick_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsgList_GameEvents_event_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 tick = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_tick(&has_bits); + _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CSVCMsg_GameEvent event = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_event(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsgList_GameEvents_event_t::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsgList_GameEvents.event_t) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 tick = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); + } + + // optional .CSVCMsg_GameEvent event = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::event(this), + _Internal::event(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:CSVCMsgList_GameEvents.event_t) + return target; +} + +size_t CSVCMsgList_GameEvents_event_t::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsgList_GameEvents.event_t) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CSVCMsg_GameEvent event = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.event_); + } + + // optional int32 tick = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsgList_GameEvents_event_t::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsgList_GameEvents_event_t::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsgList_GameEvents_event_t::GetClassData() const { return &_class_data_; } + + +void CSVCMsgList_GameEvents_event_t::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:CSVCMsgList_GameEvents.event_t) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_event()->::CSVCMsg_GameEvent::MergeFrom( + from._internal_event()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tick_ = from._impl_.tick_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsgList_GameEvents_event_t::CopyFrom(const CSVCMsgList_GameEvents_event_t& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsgList_GameEvents.event_t) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_GameEvents_event_t::IsInitialized() const { + return true; +} + +void CSVCMsgList_GameEvents_event_t::InternalSwap(CSVCMsgList_GameEvents_event_t* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _impl_.tick_) + + sizeof(CSVCMsgList_GameEvents_event_t::_impl_.tick_) + - PROTOBUF_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _impl_.event_)>( + reinterpret_cast(&_impl_.event_), + reinterpret_cast(&other->_impl_.event_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsgList_GameEvents_event_t::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[18]); +} + +// =================================================================== + +class CSVCMsgList_GameEvents::_Internal { + public: +}; + +CSVCMsgList_GameEvents::CSVCMsgList_GameEvents(::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:CSVCMsgList_GameEvents) +} +CSVCMsgList_GameEvents::CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsgList_GameEvents* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.events_){from._impl_.events_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CSVCMsgList_GameEvents) +} + +inline void CSVCMsgList_GameEvents::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.events_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CSVCMsgList_GameEvents::~CSVCMsgList_GameEvents() { + // @@protoc_insertion_point(destructor:CSVCMsgList_GameEvents) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsgList_GameEvents::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.events_.~RepeatedPtrField(); +} + +void CSVCMsgList_GameEvents::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsgList_GameEvents::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsgList_GameEvents) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.events_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsgList_GameEvents::_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 .CSVCMsgList_GameEvents.event_t events = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_events(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CSVCMsgList_GameEvents::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsgList_GameEvents) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_events_size()); i < n; i++) { + const auto& repfield = this->_internal_events(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CSVCMsgList_GameEvents) + return target; +} + +size_t CSVCMsgList_GameEvents::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsgList_GameEvents) + 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 .CSVCMsgList_GameEvents.event_t events = 1; + total_size += 1UL * this->_internal_events_size(); + for (const auto& msg : this->_impl_.events_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsgList_GameEvents::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsgList_GameEvents::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsgList_GameEvents::GetClassData() const { return &_class_data_; } + + +void CSVCMsgList_GameEvents::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:CSVCMsgList_GameEvents) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.events_.MergeFrom(from._impl_.events_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsgList_GameEvents::CopyFrom(const CSVCMsgList_GameEvents& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsgList_GameEvents) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_GameEvents::IsInitialized() const { + return true; +} + +void CSVCMsgList_GameEvents::InternalSwap(CSVCMsgList_GameEvents* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.events_.InternalSwap(&other->_impl_.events_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsgList_GameEvents::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[19]); +} + +// =================================================================== + +class CNETMsg_SpawnGroup_Load::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_worldname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_entitylumpname(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entityfiltername(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_spawngroupownerhandle(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::CMsgVector& world_offset_pos(const CNETMsg_SpawnGroup_Load* msg); + static void set_has_world_offset_pos(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static const ::CMsgQAngle& world_offset_angle(const CNETMsg_SpawnGroup_Load* msg); + static void set_has_world_offset_angle(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_spawngroupmanifest(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_tickcount(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_manifestincomplete(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_localnamefixup(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_parentnamefixup(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_manifestloadpriority(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_worldgroupid(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_creationsequence(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_savegamefilename(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_spawngroupparenthandle(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_leveltransition(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_worldgroupname(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +const ::CMsgVector& +CNETMsg_SpawnGroup_Load::_Internal::world_offset_pos(const CNETMsg_SpawnGroup_Load* msg) { + return *msg->_impl_.world_offset_pos_; +} +const ::CMsgQAngle& +CNETMsg_SpawnGroup_Load::_Internal::world_offset_angle(const CNETMsg_SpawnGroup_Load* msg) { + return *msg->_impl_.world_offset_angle_; +} +CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load(::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:CNETMsg_SpawnGroup_Load) +} +CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SpawnGroup_Load* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.worldname_){} + , decltype(_impl_.entitylumpname_){} + , decltype(_impl_.entityfiltername_){} + , decltype(_impl_.spawngroupmanifest_){} + , decltype(_impl_.localnamefixup_){} + , decltype(_impl_.parentnamefixup_){} + , decltype(_impl_.savegamefilename_){} + , decltype(_impl_.worldgroupname_){} + , decltype(_impl_.world_offset_pos_){nullptr} + , decltype(_impl_.world_offset_angle_){nullptr} + , decltype(_impl_.spawngrouphandle_){} + , decltype(_impl_.spawngroupownerhandle_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.tickcount_){} + , decltype(_impl_.manifestloadpriority_){} + , decltype(_impl_.worldgroupid_){} + , decltype(_impl_.manifestincomplete_){} + , decltype(_impl_.leveltransition_){} + , decltype(_impl_.creationsequence_){} + , decltype(_impl_.spawngroupparenthandle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.worldname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.worldname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_worldname()) { + _this->_impl_.worldname_.Set(from._internal_worldname(), + _this->GetArenaForAllocation()); + } + _impl_.entitylumpname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entitylumpname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_entitylumpname()) { + _this->_impl_.entitylumpname_.Set(from._internal_entitylumpname(), + _this->GetArenaForAllocation()); + } + _impl_.entityfiltername_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entityfiltername_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_entityfiltername()) { + _this->_impl_.entityfiltername_.Set(from._internal_entityfiltername(), + _this->GetArenaForAllocation()); + } + _impl_.spawngroupmanifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_spawngroupmanifest()) { + _this->_impl_.spawngroupmanifest_.Set(from._internal_spawngroupmanifest(), + _this->GetArenaForAllocation()); + } + _impl_.localnamefixup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localnamefixup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_localnamefixup()) { + _this->_impl_.localnamefixup_.Set(from._internal_localnamefixup(), + _this->GetArenaForAllocation()); + } + _impl_.parentnamefixup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_parentnamefixup()) { + _this->_impl_.parentnamefixup_.Set(from._internal_parentnamefixup(), + _this->GetArenaForAllocation()); + } + _impl_.savegamefilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamefilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_savegamefilename()) { + _this->_impl_.savegamefilename_.Set(from._internal_savegamefilename(), + _this->GetArenaForAllocation()); + } + _impl_.worldgroupname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.worldgroupname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_worldgroupname()) { + _this->_impl_.worldgroupname_.Set(from._internal_worldgroupname(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_world_offset_pos()) { + _this->_impl_.world_offset_pos_ = new ::CMsgVector(*from._impl_.world_offset_pos_); + } + if (from._internal_has_world_offset_angle()) { + _this->_impl_.world_offset_angle_ = new ::CMsgQAngle(*from._impl_.world_offset_angle_); + } + ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, + static_cast(reinterpret_cast(&_impl_.spawngroupparenthandle_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.spawngroupparenthandle_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Load) +} + +inline void CNETMsg_SpawnGroup_Load::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.worldname_){} + , decltype(_impl_.entitylumpname_){} + , decltype(_impl_.entityfiltername_){} + , decltype(_impl_.spawngroupmanifest_){} + , decltype(_impl_.localnamefixup_){} + , decltype(_impl_.parentnamefixup_){} + , decltype(_impl_.savegamefilename_){} + , decltype(_impl_.worldgroupname_){} + , decltype(_impl_.world_offset_pos_){nullptr} + , decltype(_impl_.world_offset_angle_){nullptr} + , decltype(_impl_.spawngrouphandle_){0u} + , decltype(_impl_.spawngroupownerhandle_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.tickcount_){0} + , decltype(_impl_.manifestloadpriority_){0} + , decltype(_impl_.worldgroupid_){0u} + , decltype(_impl_.manifestincomplete_){false} + , decltype(_impl_.leveltransition_){false} + , decltype(_impl_.creationsequence_){0u} + , decltype(_impl_.spawngroupparenthandle_){0u} + }; + _impl_.worldname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.worldname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entitylumpname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entitylumpname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entityfiltername_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.entityfiltername_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawngroupmanifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localnamefixup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.localnamefixup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.parentnamefixup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamefilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamefilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.worldgroupname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.worldgroupname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CNETMsg_SpawnGroup_Load::~CNETMsg_SpawnGroup_Load() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Load) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SpawnGroup_Load::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.worldname_.Destroy(); + _impl_.entitylumpname_.Destroy(); + _impl_.entityfiltername_.Destroy(); + _impl_.spawngroupmanifest_.Destroy(); + _impl_.localnamefixup_.Destroy(); + _impl_.parentnamefixup_.Destroy(); + _impl_.savegamefilename_.Destroy(); + _impl_.worldgroupname_.Destroy(); + if (this != internal_default_instance()) delete _impl_.world_offset_pos_; + if (this != internal_default_instance()) delete _impl_.world_offset_angle_; +} + +void CNETMsg_SpawnGroup_Load::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SpawnGroup_Load::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_Load) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.worldname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.entitylumpname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.entityfiltername_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.spawngroupmanifest_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.localnamefixup_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.parentnamefixup_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.savegamefilename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.worldgroupname_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + GOOGLE_DCHECK(_impl_.world_offset_pos_ != nullptr); + _impl_.world_offset_pos_->Clear(); + } + if (cached_has_bits & 0x00000200u) { + GOOGLE_DCHECK(_impl_.world_offset_angle_ != nullptr); + _impl_.world_offset_angle_->Clear(); + } + } + if (cached_has_bits & 0x0000fc00u) { + ::memset(&_impl_.spawngrouphandle_, 0, static_cast( + reinterpret_cast(&_impl_.worldgroupid_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.worldgroupid_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.manifestincomplete_, 0, static_cast( + reinterpret_cast(&_impl_.spawngroupparenthandle_) - + reinterpret_cast(&_impl_.manifestincomplete_)) + sizeof(_impl_.spawngroupparenthandle_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SpawnGroup_Load::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string worldname = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_worldname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.worldname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string entitylumpname = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_entitylumpname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.entitylumpname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string entityfiltername = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_entityfiltername(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.entityfiltername"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 spawngrouphandle = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 spawngroupownerhandle = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_spawngroupownerhandle(&has_bits); + _impl_.spawngroupownerhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector world_offset_pos = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_world_offset_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle world_offset_angle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_world_offset_angle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes spawngroupmanifest = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_spawngroupmanifest(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 tickcount = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_tickcount(&has_bits); + _impl_.tickcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool manifestincomplete = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_manifestincomplete(&has_bits); + _impl_.manifestincomplete_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string localnamefixup = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_localnamefixup(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.localnamefixup"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string parentnamefixup = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_parentnamefixup(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.parentnamefixup"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 manifestloadpriority = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_manifestloadpriority(&has_bits); + _impl_.manifestloadpriority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 worldgroupid = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_worldgroupid(&has_bits); + _impl_.worldgroupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 creationsequence = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_creationsequence(&has_bits); + _impl_.creationsequence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string savegamefilename = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + auto str = _internal_mutable_savegamefilename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.savegamefilename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 spawngroupparenthandle = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_spawngroupparenthandle(&has_bits); + _impl_.spawngroupparenthandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool leveltransition = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_leveltransition(&has_bits); + _impl_.leveltransition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string worldgroupname = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + auto str = _internal_mutable_worldgroupname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.worldgroupname"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SpawnGroup_Load::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Load) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string worldname = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_worldname().data(), static_cast(this->_internal_worldname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.worldname"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_worldname(), target); + } + + // optional string entitylumpname = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_entitylumpname().data(), static_cast(this->_internal_entitylumpname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.entitylumpname"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_entitylumpname(), target); + } + + // optional string entityfiltername = 3; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_entityfiltername().data(), static_cast(this->_internal_entityfiltername().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.entityfiltername"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_entityfiltername(), target); + } + + // optional uint32 spawngrouphandle = 4; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_spawngrouphandle(), target); + } + + // optional uint32 spawngroupownerhandle = 5; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_spawngroupownerhandle(), target); + } + + // optional .CMsgVector world_offset_pos = 6; + if (cached_has_bits & 0x00000100u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::world_offset_pos(this), + _Internal::world_offset_pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle world_offset_angle = 7; + if (cached_has_bits & 0x00000200u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::world_offset_angle(this), + _Internal::world_offset_angle(this).GetCachedSize(), target, stream); + } + + // optional bytes spawngroupmanifest = 8; + if (cached_has_bits & 0x00000008u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_spawngroupmanifest(), target); + } + + // optional uint32 flags = 9; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_flags(), target); + } + + // optional int32 tickcount = 10; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_tickcount(), target); + } + + // optional bool manifestincomplete = 11; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_manifestincomplete(), target); + } + + // optional string localnamefixup = 12; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_localnamefixup().data(), static_cast(this->_internal_localnamefixup().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.localnamefixup"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_localnamefixup(), target); + } + + // optional string parentnamefixup = 13; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_parentnamefixup().data(), static_cast(this->_internal_parentnamefixup().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.parentnamefixup"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_parentnamefixup(), target); + } + + // optional int32 manifestloadpriority = 14; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_manifestloadpriority(), target); + } + + // optional uint32 worldgroupid = 15; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_worldgroupid(), target); + } + + // optional uint32 creationsequence = 16; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_creationsequence(), target); + } + + // optional string savegamefilename = 17; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_savegamefilename().data(), static_cast(this->_internal_savegamefilename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.savegamefilename"); + target = stream->WriteStringMaybeAliased( + 17, this->_internal_savegamefilename(), target); + } + + // optional uint32 spawngroupparenthandle = 18; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_spawngroupparenthandle(), target); + } + + // optional bool leveltransition = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_leveltransition(), target); + } + + // optional string worldgroupname = 20; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_worldgroupname().data(), static_cast(this->_internal_worldgroupname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_SpawnGroup_Load.worldgroupname"); + target = stream->WriteStringMaybeAliased( + 20, this->_internal_worldgroupname(), 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:CNETMsg_SpawnGroup_Load) + return target; +} + +size_t CNETMsg_SpawnGroup_Load::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_Load) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string worldname = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_worldname()); + } + + // optional string entitylumpname = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_entitylumpname()); + } + + // optional string entityfiltername = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_entityfiltername()); + } + + // optional bytes spawngroupmanifest = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_spawngroupmanifest()); + } + + // optional string localnamefixup = 12; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_localnamefixup()); + } + + // optional string parentnamefixup = 13; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_parentnamefixup()); + } + + // optional string savegamefilename = 17; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_savegamefilename()); + } + + // optional string worldgroupname = 20; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_worldgroupname()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional .CMsgVector world_offset_pos = 6; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.world_offset_pos_); + } + + // optional .CMsgQAngle world_offset_angle = 7; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.world_offset_angle_); + } + + // optional uint32 spawngrouphandle = 4; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + // optional uint32 spawngroupownerhandle = 5; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngroupownerhandle()); + } + + // optional uint32 flags = 9; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional int32 tickcount = 10; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); + } + + // optional int32 manifestloadpriority = 14; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_manifestloadpriority()); + } + + // optional uint32 worldgroupid = 15; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_worldgroupid()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional bool manifestincomplete = 11; + if (cached_has_bits & 0x00010000u) { + total_size += 1 + 1; + } + + // optional bool leveltransition = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 1; + } + + // optional uint32 creationsequence = 16; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_creationsequence()); + } + + // optional uint32 spawngroupparenthandle = 18; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_spawngroupparenthandle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_Load::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SpawnGroup_Load::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_Load::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SpawnGroup_Load::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:CNETMsg_SpawnGroup_Load) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_worldname(from._internal_worldname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_entitylumpname(from._internal_entitylumpname()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_entityfiltername(from._internal_entityfiltername()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_spawngroupmanifest(from._internal_spawngroupmanifest()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_localnamefixup(from._internal_localnamefixup()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_parentnamefixup(from._internal_parentnamefixup()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_savegamefilename(from._internal_savegamefilename()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_worldgroupname(from._internal_worldgroupname()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_mutable_world_offset_pos()->::CMsgVector::MergeFrom( + from._internal_world_offset_pos()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_mutable_world_offset_angle()->::CMsgQAngle::MergeFrom( + from._internal_world_offset_angle()); + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.spawngroupownerhandle_ = from._impl_.spawngroupownerhandle_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.tickcount_ = from._impl_.tickcount_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.manifestloadpriority_ = from._impl_.manifestloadpriority_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.worldgroupid_ = from._impl_.worldgroupid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.manifestincomplete_ = from._impl_.manifestincomplete_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.leveltransition_ = from._impl_.leveltransition_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.creationsequence_ = from._impl_.creationsequence_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.spawngroupparenthandle_ = from._impl_.spawngroupparenthandle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SpawnGroup_Load::CopyFrom(const CNETMsg_SpawnGroup_Load& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_Load) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_Load::IsInitialized() const { + return true; +} + +void CNETMsg_SpawnGroup_Load::InternalSwap(CNETMsg_SpawnGroup_Load* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.worldname_, lhs_arena, + &other->_impl_.worldname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.entitylumpname_, lhs_arena, + &other->_impl_.entitylumpname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.entityfiltername_, lhs_arena, + &other->_impl_.entityfiltername_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.spawngroupmanifest_, lhs_arena, + &other->_impl_.spawngroupmanifest_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.localnamefixup_, lhs_arena, + &other->_impl_.localnamefixup_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.parentnamefixup_, lhs_arena, + &other->_impl_.parentnamefixup_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.savegamefilename_, lhs_arena, + &other->_impl_.savegamefilename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.worldgroupname_, lhs_arena, + &other->_impl_.worldgroupname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _impl_.spawngroupparenthandle_) + + sizeof(CNETMsg_SpawnGroup_Load::_impl_.spawngroupparenthandle_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _impl_.world_offset_pos_)>( + reinterpret_cast(&_impl_.world_offset_pos_), + reinterpret_cast(&other->_impl_.world_offset_pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_Load::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[20]); +} + +// =================================================================== + +class CNETMsg_SpawnGroup_ManifestUpdate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_spawngroupmanifest(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_manifestincomplete(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate(::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:CNETMsg_SpawnGroup_ManifestUpdate) +} +CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SpawnGroup_ManifestUpdate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngroupmanifest_){} + , decltype(_impl_.spawngrouphandle_){} + , decltype(_impl_.manifestincomplete_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.spawngroupmanifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_spawngroupmanifest()) { + _this->_impl_.spawngroupmanifest_.Set(from._internal_spawngroupmanifest(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, + static_cast(reinterpret_cast(&_impl_.manifestincomplete_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.manifestincomplete_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_ManifestUpdate) +} + +inline void CNETMsg_SpawnGroup_ManifestUpdate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngroupmanifest_){} + , decltype(_impl_.spawngrouphandle_){0u} + , decltype(_impl_.manifestincomplete_){false} + }; + _impl_.spawngroupmanifest_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CNETMsg_SpawnGroup_ManifestUpdate::~CNETMsg_SpawnGroup_ManifestUpdate() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_ManifestUpdate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SpawnGroup_ManifestUpdate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.spawngroupmanifest_.Destroy(); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_ManifestUpdate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.spawngroupmanifest_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.spawngrouphandle_, 0, static_cast( + reinterpret_cast(&_impl_.manifestincomplete_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.manifestincomplete_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SpawnGroup_ManifestUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 spawngrouphandle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes spawngroupmanifest = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_spawngroupmanifest(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool manifestincomplete = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_manifestincomplete(&has_bits); + _impl_.manifestincomplete_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SpawnGroup_ManifestUpdate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_ManifestUpdate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); + } + + // optional bytes spawngroupmanifest = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_spawngroupmanifest(), target); + } + + // optional bool manifestincomplete = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_manifestincomplete(), 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:CNETMsg_SpawnGroup_ManifestUpdate) + return target; +} + +size_t CNETMsg_SpawnGroup_ManifestUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_ManifestUpdate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes spawngroupmanifest = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_spawngroupmanifest()); + } + + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + // optional bool manifestincomplete = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_ManifestUpdate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SpawnGroup_ManifestUpdate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_ManifestUpdate::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SpawnGroup_ManifestUpdate::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:CNETMsg_SpawnGroup_ManifestUpdate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_spawngroupmanifest(from._internal_spawngroupmanifest()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.manifestincomplete_ = from._impl_.manifestincomplete_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_ManifestUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_ManifestUpdate::IsInitialized() const { + return true; +} + +void CNETMsg_SpawnGroup_ManifestUpdate::InternalSwap(CNETMsg_SpawnGroup_ManifestUpdate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.spawngroupmanifest_, lhs_arena, + &other->_impl_.spawngroupmanifest_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _impl_.manifestincomplete_) + + sizeof(CNETMsg_SpawnGroup_ManifestUpdate::_impl_.manifestincomplete_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngrouphandle_)>( + reinterpret_cast(&_impl_.spawngrouphandle_), + reinterpret_cast(&other->_impl_.spawngrouphandle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_ManifestUpdate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[21]); +} + +// =================================================================== + +class CNETMsg_SpawnGroup_SetCreationTick::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_tickcount(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_creationsequence(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick(::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:CNETMsg_SpawnGroup_SetCreationTick) +} +CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SpawnGroup_SetCreationTick* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){} + , decltype(_impl_.tickcount_){} + , decltype(_impl_.creationsequence_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, + static_cast(reinterpret_cast(&_impl_.creationsequence_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.creationsequence_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_SetCreationTick) +} + +inline void CNETMsg_SpawnGroup_SetCreationTick::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){0u} + , decltype(_impl_.tickcount_){0} + , decltype(_impl_.creationsequence_){0u} + }; +} + +CNETMsg_SpawnGroup_SetCreationTick::~CNETMsg_SpawnGroup_SetCreationTick() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_SetCreationTick) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SpawnGroup_SetCreationTick::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CNETMsg_SpawnGroup_SetCreationTick::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SpawnGroup_SetCreationTick::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_SetCreationTick) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.spawngrouphandle_, 0, static_cast( + reinterpret_cast(&_impl_.creationsequence_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.creationsequence_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SpawnGroup_SetCreationTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 spawngrouphandle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 tickcount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_tickcount(&has_bits); + _impl_.tickcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 creationsequence = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_creationsequence(&has_bits); + _impl_.creationsequence_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SpawnGroup_SetCreationTick::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_SetCreationTick) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); + } + + // optional int32 tickcount = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tickcount(), target); + } + + // optional uint32 creationsequence = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_creationsequence(), 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:CNETMsg_SpawnGroup_SetCreationTick) + return target; +} + +size_t CNETMsg_SpawnGroup_SetCreationTick::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_SetCreationTick) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + // optional int32 tickcount = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); + } + + // optional uint32 creationsequence = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_creationsequence()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_SetCreationTick::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SpawnGroup_SetCreationTick::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_SetCreationTick::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SpawnGroup_SetCreationTick::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:CNETMsg_SpawnGroup_SetCreationTick) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.tickcount_ = from._impl_.tickcount_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.creationsequence_ = from._impl_.creationsequence_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SpawnGroup_SetCreationTick::CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_SetCreationTick) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_SetCreationTick::IsInitialized() const { + return true; +} + +void CNETMsg_SpawnGroup_SetCreationTick::InternalSwap(CNETMsg_SpawnGroup_SetCreationTick* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _impl_.creationsequence_) + + sizeof(CNETMsg_SpawnGroup_SetCreationTick::_impl_.creationsequence_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _impl_.spawngrouphandle_)>( + reinterpret_cast(&_impl_.spawngrouphandle_), + reinterpret_cast(&other->_impl_.spawngrouphandle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_SetCreationTick::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[22]); +} + +// =================================================================== + +class CNETMsg_SpawnGroup_Unload::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_tickcount(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload(::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:CNETMsg_SpawnGroup_Unload) +} +CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SpawnGroup_Unload* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.tickcount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, + static_cast(reinterpret_cast(&_impl_.tickcount_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.tickcount_)); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Unload) +} + +inline void CNETMsg_SpawnGroup_Unload::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.tickcount_){0} + }; +} + +CNETMsg_SpawnGroup_Unload::~CNETMsg_SpawnGroup_Unload() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Unload) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SpawnGroup_Unload::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CNETMsg_SpawnGroup_Unload::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SpawnGroup_Unload::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_Unload) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.spawngrouphandle_, 0, static_cast( + reinterpret_cast(&_impl_.tickcount_) - + reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.tickcount_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SpawnGroup_Unload::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 spawngrouphandle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 tickcount = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_tickcount(&has_bits); + _impl_.tickcount_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SpawnGroup_Unload::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Unload) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); + } + + // optional uint32 flags = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_flags(), target); + } + + // optional int32 tickcount = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_tickcount(), 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:CNETMsg_SpawnGroup_Unload) + return target; +} + +size_t CNETMsg_SpawnGroup_Unload::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_Unload) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + // optional uint32 flags = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional int32 tickcount = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_Unload::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SpawnGroup_Unload::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_Unload::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SpawnGroup_Unload::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:CNETMsg_SpawnGroup_Unload) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.tickcount_ = from._impl_.tickcount_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SpawnGroup_Unload::CopyFrom(const CNETMsg_SpawnGroup_Unload& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_Unload) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_Unload::IsInitialized() const { + return true; +} + +void CNETMsg_SpawnGroup_Unload::InternalSwap(CNETMsg_SpawnGroup_Unload* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _impl_.tickcount_) + + sizeof(CNETMsg_SpawnGroup_Unload::_impl_.tickcount_) + - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _impl_.spawngrouphandle_)>( + reinterpret_cast(&_impl_.spawngrouphandle_), + reinterpret_cast(&other->_impl_.spawngrouphandle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_Unload::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[23]); +} + +// =================================================================== + +class CNETMsg_SpawnGroup_LoadCompleted::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_spawngrouphandle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted(::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:CNETMsg_SpawnGroup_LoadCompleted) +} +CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_SpawnGroup_LoadCompleted* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_LoadCompleted) +} + +inline void CNETMsg_SpawnGroup_LoadCompleted::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.spawngrouphandle_){0u} + }; +} + +CNETMsg_SpawnGroup_LoadCompleted::~CNETMsg_SpawnGroup_LoadCompleted() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_LoadCompleted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_SpawnGroup_LoadCompleted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CNETMsg_SpawnGroup_LoadCompleted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_SpawnGroup_LoadCompleted::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_LoadCompleted) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_SpawnGroup_LoadCompleted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 spawngrouphandle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_spawngrouphandle(&has_bits); + _impl_.spawngrouphandle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_SpawnGroup_LoadCompleted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_LoadCompleted) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 spawngrouphandle = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), 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:CNETMsg_SpawnGroup_LoadCompleted) + return target; +} + +size_t CNETMsg_SpawnGroup_LoadCompleted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_LoadCompleted) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 spawngrouphandle = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_LoadCompleted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_SpawnGroup_LoadCompleted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_LoadCompleted::GetClassData() const { return &_class_data_; } + + +void CNETMsg_SpawnGroup_LoadCompleted::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:CNETMsg_SpawnGroup_LoadCompleted) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_spawngrouphandle()) { + _this->_internal_set_spawngrouphandle(from._internal_spawngrouphandle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_SpawnGroup_LoadCompleted::CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_LoadCompleted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_LoadCompleted::IsInitialized() const { + return true; +} + +void CNETMsg_SpawnGroup_LoadCompleted::InternalSwap(CNETMsg_SpawnGroup_LoadCompleted* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.spawngrouphandle_, other->_impl_.spawngrouphandle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_LoadCompleted::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[24]); +} + +// =================================================================== + +class CSVCMsg_GameSessionConfiguration::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_is_multiplayer(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_is_loadsavegame(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_is_background_map(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_is_headless(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_min_client_limit(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_max_client_limit(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_max_clients(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_tick_interval(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_hostname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_savegamename(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_s1_mapname(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_gamemode(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_server_ip_address(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_is_localonly(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_no_steam_server(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_is_transition(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_previouslevel(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_landmarkname(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration(::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:CSVCMsg_GameSessionConfiguration) +} +CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSVCMsg_GameSessionConfiguration* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hostname_){} + , decltype(_impl_.savegamename_){} + , decltype(_impl_.s1_mapname_){} + , decltype(_impl_.gamemode_){} + , decltype(_impl_.server_ip_address_){} + , decltype(_impl_.data_){} + , decltype(_impl_.previouslevel_){} + , decltype(_impl_.landmarkname_){} + , decltype(_impl_.is_multiplayer_){} + , decltype(_impl_.is_loadsavegame_){} + , decltype(_impl_.is_background_map_){} + , decltype(_impl_.is_headless_){} + , decltype(_impl_.min_client_limit_){} + , decltype(_impl_.max_client_limit_){} + , decltype(_impl_.max_clients_){} + , decltype(_impl_.tick_interval_){} + , decltype(_impl_.is_localonly_){} + , decltype(_impl_.no_steam_server_){} + , decltype(_impl_.is_transition_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.hostname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hostname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_hostname()) { + _this->_impl_.hostname_.Set(from._internal_hostname(), + _this->GetArenaForAllocation()); + } + _impl_.savegamename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_savegamename()) { + _this->_impl_.savegamename_.Set(from._internal_savegamename(), + _this->GetArenaForAllocation()); + } + _impl_.s1_mapname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.s1_mapname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_s1_mapname()) { + _this->_impl_.s1_mapname_.Set(from._internal_s1_mapname(), + _this->GetArenaForAllocation()); + } + _impl_.gamemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gamemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gamemode()) { + _this->_impl_.gamemode_.Set(from._internal_gamemode(), + _this->GetArenaForAllocation()); + } + _impl_.server_ip_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_ip_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_server_ip_address()) { + _this->_impl_.server_ip_address_.Set(from._internal_server_ip_address(), + _this->GetArenaForAllocation()); + } + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _impl_.previouslevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.previouslevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_previouslevel()) { + _this->_impl_.previouslevel_.Set(from._internal_previouslevel(), + _this->GetArenaForAllocation()); + } + _impl_.landmarkname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.landmarkname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_landmarkname()) { + _this->_impl_.landmarkname_.Set(from._internal_landmarkname(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.is_multiplayer_, &from._impl_.is_multiplayer_, + static_cast(reinterpret_cast(&_impl_.is_transition_) - + reinterpret_cast(&_impl_.is_multiplayer_)) + sizeof(_impl_.is_transition_)); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameSessionConfiguration) +} + +inline void CSVCMsg_GameSessionConfiguration::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hostname_){} + , decltype(_impl_.savegamename_){} + , decltype(_impl_.s1_mapname_){} + , decltype(_impl_.gamemode_){} + , decltype(_impl_.server_ip_address_){} + , decltype(_impl_.data_){} + , decltype(_impl_.previouslevel_){} + , decltype(_impl_.landmarkname_){} + , decltype(_impl_.is_multiplayer_){false} + , decltype(_impl_.is_loadsavegame_){false} + , decltype(_impl_.is_background_map_){false} + , decltype(_impl_.is_headless_){false} + , decltype(_impl_.min_client_limit_){0u} + , decltype(_impl_.max_client_limit_){0u} + , decltype(_impl_.max_clients_){0u} + , decltype(_impl_.tick_interval_){0u} + , decltype(_impl_.is_localonly_){false} + , decltype(_impl_.no_steam_server_){false} + , decltype(_impl_.is_transition_){false} + }; + _impl_.hostname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hostname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.savegamename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.s1_mapname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.s1_mapname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gamemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gamemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_ip_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_ip_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.previouslevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.previouslevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.landmarkname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.landmarkname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CSVCMsg_GameSessionConfiguration::~CSVCMsg_GameSessionConfiguration() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameSessionConfiguration) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSVCMsg_GameSessionConfiguration::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.hostname_.Destroy(); + _impl_.savegamename_.Destroy(); + _impl_.s1_mapname_.Destroy(); + _impl_.gamemode_.Destroy(); + _impl_.server_ip_address_.Destroy(); + _impl_.data_.Destroy(); + _impl_.previouslevel_.Destroy(); + _impl_.landmarkname_.Destroy(); +} + +void CSVCMsg_GameSessionConfiguration::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSVCMsg_GameSessionConfiguration::Clear() { +// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameSessionConfiguration) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.hostname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.savegamename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.s1_mapname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.gamemode_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.server_ip_address_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.previouslevel_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.landmarkname_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.is_multiplayer_, 0, static_cast( + reinterpret_cast(&_impl_.tick_interval_) - + reinterpret_cast(&_impl_.is_multiplayer_)) + sizeof(_impl_.tick_interval_)); + } + if (cached_has_bits & 0x00070000u) { + ::memset(&_impl_.is_localonly_, 0, static_cast( + reinterpret_cast(&_impl_.is_transition_) - + reinterpret_cast(&_impl_.is_localonly_)) + sizeof(_impl_.is_transition_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSVCMsg_GameSessionConfiguration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool is_multiplayer = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_is_multiplayer(&has_bits); + _impl_.is_multiplayer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_loadsavegame = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_is_loadsavegame(&has_bits); + _impl_.is_loadsavegame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_background_map = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_background_map(&has_bits); + _impl_.is_background_map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_headless = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_is_headless(&has_bits); + _impl_.is_headless_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 min_client_limit = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_min_client_limit(&has_bits); + _impl_.min_client_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_client_limit = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_max_client_limit(&has_bits); + _impl_.max_client_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_clients = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_max_clients(&has_bits); + _impl_.max_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 tick_interval = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_tick_interval(&has_bits); + _impl_.tick_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string hostname = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_hostname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.hostname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string savegamename = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_savegamename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.savegamename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string s1_mapname = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_s1_mapname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.s1_mapname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string gamemode = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_gamemode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.gamemode"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string server_ip_address = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_server_ip_address(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.server_ip_address"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes data = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_localonly = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_is_localonly(&has_bits); + _impl_.is_localonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool is_transition = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_is_transition(&has_bits); + _impl_.is_transition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string previouslevel = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + auto str = _internal_mutable_previouslevel(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.previouslevel"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string landmarkname = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + auto str = _internal_mutable_landmarkname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.landmarkname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool no_steam_server = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_no_steam_server(&has_bits); + _impl_.no_steam_server_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSVCMsg_GameSessionConfiguration::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameSessionConfiguration) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool is_multiplayer = 1; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_multiplayer(), target); + } + + // optional bool is_loadsavegame = 2; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_loadsavegame(), target); + } + + // optional bool is_background_map = 3; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_background_map(), target); + } + + // optional bool is_headless = 4; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_headless(), target); + } + + // optional uint32 min_client_limit = 5; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_min_client_limit(), target); + } + + // optional uint32 max_client_limit = 6; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_max_client_limit(), target); + } + + // optional uint32 max_clients = 7; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_max_clients(), target); + } + + // optional fixed32 tick_interval = 8; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_tick_interval(), target); + } + + // optional string hostname = 9; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_hostname().data(), static_cast(this->_internal_hostname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.hostname"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_hostname(), target); + } + + // optional string savegamename = 10; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_savegamename().data(), static_cast(this->_internal_savegamename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.savegamename"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_savegamename(), target); + } + + // optional string s1_mapname = 11; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_s1_mapname().data(), static_cast(this->_internal_s1_mapname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.s1_mapname"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_s1_mapname(), target); + } + + // optional string gamemode = 12; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gamemode().data(), static_cast(this->_internal_gamemode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.gamemode"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_gamemode(), target); + } + + // optional string server_ip_address = 13; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_server_ip_address().data(), static_cast(this->_internal_server_ip_address().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.server_ip_address"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_server_ip_address(), target); + } + + // optional bytes data = 14; + if (cached_has_bits & 0x00000020u) { + target = stream->WriteBytesMaybeAliased( + 14, this->_internal_data(), target); + } + + // optional bool is_localonly = 15; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_is_localonly(), target); + } + + // optional bool is_transition = 16; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_is_transition(), target); + } + + // optional string previouslevel = 17; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_previouslevel().data(), static_cast(this->_internal_previouslevel().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.previouslevel"); + target = stream->WriteStringMaybeAliased( + 17, this->_internal_previouslevel(), target); + } + + // optional string landmarkname = 18; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_landmarkname().data(), static_cast(this->_internal_landmarkname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CSVCMsg_GameSessionConfiguration.landmarkname"); + target = stream->WriteStringMaybeAliased( + 18, this->_internal_landmarkname(), target); + } + + // optional bool no_steam_server = 19; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_no_steam_server(), 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:CSVCMsg_GameSessionConfiguration) + return target; +} + +size_t CSVCMsg_GameSessionConfiguration::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameSessionConfiguration) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string hostname = 9; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hostname()); + } + + // optional string savegamename = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_savegamename()); + } + + // optional string s1_mapname = 11; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_s1_mapname()); + } + + // optional string gamemode = 12; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gamemode()); + } + + // optional string server_ip_address = 13; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_server_ip_address()); + } + + // optional bytes data = 14; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional string previouslevel = 17; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_previouslevel()); + } + + // optional string landmarkname = 18; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_landmarkname()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional bool is_multiplayer = 1; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional bool is_loadsavegame = 2; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional bool is_background_map = 3; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 1; + } + + // optional bool is_headless = 4; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 1; + } + + // optional uint32 min_client_limit = 5; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_min_client_limit()); + } + + // optional uint32 max_client_limit = 6; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_client_limit()); + } + + // optional uint32 max_clients = 7; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_clients()); + } + + // optional fixed32 tick_interval = 8; + if (cached_has_bits & 0x00008000u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00070000u) { + // optional bool is_localonly = 15; + if (cached_has_bits & 0x00010000u) { + total_size += 1 + 1; + } + + // optional bool no_steam_server = 19; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 1; + } + + // optional bool is_transition = 16; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameSessionConfiguration::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSVCMsg_GameSessionConfiguration::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameSessionConfiguration::GetClassData() const { return &_class_data_; } + + +void CSVCMsg_GameSessionConfiguration::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:CSVCMsg_GameSessionConfiguration) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_hostname(from._internal_hostname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_savegamename(from._internal_savegamename()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_s1_mapname(from._internal_s1_mapname()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_gamemode(from._internal_gamemode()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_server_ip_address(from._internal_server_ip_address()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_previouslevel(from._internal_previouslevel()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_landmarkname(from._internal_landmarkname()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.is_multiplayer_ = from._impl_.is_multiplayer_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.is_loadsavegame_ = from._impl_.is_loadsavegame_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.is_background_map_ = from._impl_.is_background_map_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.is_headless_ = from._impl_.is_headless_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.min_client_limit_ = from._impl_.min_client_limit_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.max_client_limit_ = from._impl_.max_client_limit_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.max_clients_ = from._impl_.max_clients_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.tick_interval_ = from._impl_.tick_interval_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.is_localonly_ = from._impl_.is_localonly_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.no_steam_server_ = from._impl_.no_steam_server_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.is_transition_ = from._impl_.is_transition_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSVCMsg_GameSessionConfiguration::CopyFrom(const CSVCMsg_GameSessionConfiguration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameSessionConfiguration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameSessionConfiguration::IsInitialized() const { + return true; +} + +void CSVCMsg_GameSessionConfiguration::InternalSwap(CSVCMsg_GameSessionConfiguration* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.hostname_, lhs_arena, + &other->_impl_.hostname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.savegamename_, lhs_arena, + &other->_impl_.savegamename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.s1_mapname_, lhs_arena, + &other->_impl_.s1_mapname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gamemode_, lhs_arena, + &other->_impl_.gamemode_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.server_ip_address_, lhs_arena, + &other->_impl_.server_ip_address_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.previouslevel_, lhs_arena, + &other->_impl_.previouslevel_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.landmarkname_, lhs_arena, + &other->_impl_.landmarkname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _impl_.is_transition_) + + sizeof(CSVCMsg_GameSessionConfiguration::_impl_.is_transition_) + - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _impl_.is_multiplayer_)>( + reinterpret_cast(&_impl_.is_multiplayer_), + reinterpret_cast(&other->_impl_.is_multiplayer_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameSessionConfiguration::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[25]); +} + +// =================================================================== + +class CNETMsg_DebugOverlay::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_etype(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CNETMsg_DebugOverlay::CNETMsg_DebugOverlay(::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:CNETMsg_DebugOverlay) +} +CNETMsg_DebugOverlay::CNETMsg_DebugOverlay(const CNETMsg_DebugOverlay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CNETMsg_DebugOverlay* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.vectors_){from._impl_.vectors_} + , decltype(_impl_.colors_){from._impl_.colors_} + , decltype(_impl_.dimensions_){from._impl_.dimensions_} + , decltype(_impl_.times_){from._impl_.times_} + , decltype(_impl_.bools_){from._impl_.bools_} + , decltype(_impl_.uint64s_){from._impl_.uint64s_} + , decltype(_impl_.strings_){from._impl_.strings_} + , decltype(_impl_.etype_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.etype_ = from._impl_.etype_; + // @@protoc_insertion_point(copy_constructor:CNETMsg_DebugOverlay) +} + +inline void CNETMsg_DebugOverlay::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.vectors_){arena} + , decltype(_impl_.colors_){arena} + , decltype(_impl_.dimensions_){arena} + , decltype(_impl_.times_){arena} + , decltype(_impl_.bools_){arena} + , decltype(_impl_.uint64s_){arena} + , decltype(_impl_.strings_){arena} + , decltype(_impl_.etype_){0} + }; +} + +CNETMsg_DebugOverlay::~CNETMsg_DebugOverlay() { + // @@protoc_insertion_point(destructor:CNETMsg_DebugOverlay) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CNETMsg_DebugOverlay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.vectors_.~RepeatedPtrField(); + _impl_.colors_.~RepeatedPtrField(); + _impl_.dimensions_.~RepeatedField(); + _impl_.times_.~RepeatedField(); + _impl_.bools_.~RepeatedField(); + _impl_.uint64s_.~RepeatedField(); + _impl_.strings_.~RepeatedPtrField(); +} + +void CNETMsg_DebugOverlay::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CNETMsg_DebugOverlay::Clear() { +// @@protoc_insertion_point(message_clear_start:CNETMsg_DebugOverlay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.vectors_.Clear(); + _impl_.colors_.Clear(); + _impl_.dimensions_.Clear(); + _impl_.times_.Clear(); + _impl_.bools_.Clear(); + _impl_.uint64s_.Clear(); + _impl_.strings_.Clear(); + _impl_.etype_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CNETMsg_DebugOverlay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 etype = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_etype(&has_bits); + _impl_.etype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgVector vectors = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_vectors(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgRGBA colors = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_colors(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated float dimensions = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_dimensions(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_dimensions(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float times = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_times(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_times(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bool bools = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_bools(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedBoolParser(_internal_mutable_bools(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 uint64s = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_uint64s(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_uint64s(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string strings = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_strings(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CNETMsg_DebugOverlay.strings"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CNETMsg_DebugOverlay::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_DebugOverlay) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 etype = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_etype(), target); + } + + // repeated .CMsgVector vectors = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_vectors_size()); i < n; i++) { + const auto& repfield = this->_internal_vectors(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgRGBA colors = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_colors_size()); i < n; i++) { + const auto& repfield = this->_internal_colors(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated float dimensions = 4; + for (int i = 0, n = this->_internal_dimensions_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_dimensions(i), target); + } + + // repeated float times = 5; + for (int i = 0, n = this->_internal_times_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_times(i), target); + } + + // repeated bool bools = 6; + for (int i = 0, n = this->_internal_bools_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_bools(i), target); + } + + // repeated uint64 uint64s = 7; + for (int i = 0, n = this->_internal_uint64s_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_uint64s(i), target); + } + + // repeated string strings = 8; + for (int i = 0, n = this->_internal_strings_size(); i < n; i++) { + const auto& s = this->_internal_strings(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CNETMsg_DebugOverlay.strings"); + target = stream->WriteString(8, 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:CNETMsg_DebugOverlay) + return target; +} + +size_t CNETMsg_DebugOverlay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CNETMsg_DebugOverlay) + 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 .CMsgVector vectors = 2; + total_size += 1UL * this->_internal_vectors_size(); + for (const auto& msg : this->_impl_.vectors_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgRGBA colors = 3; + total_size += 1UL * this->_internal_colors_size(); + for (const auto& msg : this->_impl_.colors_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated float dimensions = 4; + { + unsigned int count = static_cast(this->_internal_dimensions_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_dimensions_size()); + total_size += data_size; + } + + // repeated float times = 5; + { + unsigned int count = static_cast(this->_internal_times_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_times_size()); + total_size += data_size; + } + + // repeated bool bools = 6; + { + unsigned int count = static_cast(this->_internal_bools_size()); + size_t data_size = 1UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_bools_size()); + total_size += data_size; + } + + // repeated uint64 uint64s = 7; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.uint64s_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_uint64s_size()); + total_size += data_size; + } + + // repeated string strings = 8; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.strings_.size()); + for (int i = 0, n = _impl_.strings_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.strings_.Get(i)); + } + + // optional int32 etype = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_etype()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_DebugOverlay::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CNETMsg_DebugOverlay::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_DebugOverlay::GetClassData() const { return &_class_data_; } + + +void CNETMsg_DebugOverlay::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:CNETMsg_DebugOverlay) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.vectors_.MergeFrom(from._impl_.vectors_); + _this->_impl_.colors_.MergeFrom(from._impl_.colors_); + _this->_impl_.dimensions_.MergeFrom(from._impl_.dimensions_); + _this->_impl_.times_.MergeFrom(from._impl_.times_); + _this->_impl_.bools_.MergeFrom(from._impl_.bools_); + _this->_impl_.uint64s_.MergeFrom(from._impl_.uint64s_); + _this->_impl_.strings_.MergeFrom(from._impl_.strings_); + if (from._internal_has_etype()) { + _this->_internal_set_etype(from._internal_etype()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CNETMsg_DebugOverlay::CopyFrom(const CNETMsg_DebugOverlay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_DebugOverlay) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_DebugOverlay::IsInitialized() const { + return true; +} + +void CNETMsg_DebugOverlay::InternalSwap(CNETMsg_DebugOverlay* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.vectors_.InternalSwap(&other->_impl_.vectors_); + _impl_.colors_.InternalSwap(&other->_impl_.colors_); + _impl_.dimensions_.InternalSwap(&other->_impl_.dimensions_); + _impl_.times_.InternalSwap(&other->_impl_.times_); + _impl_.bools_.InternalSwap(&other->_impl_.bools_); + _impl_.uint64s_.InternalSwap(&other->_impl_.uint64s_); + _impl_.strings_.InternalSwap(&other->_impl_.strings_); + swap(_impl_.etype_, other->_impl_.etype_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_DebugOverlay::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, + file_level_metadata_networkbasetypes_2eproto[26]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgVector* +Arena::CreateMaybeMessage< ::CMsgVector >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgVector >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgVector2D* +Arena::CreateMaybeMessage< ::CMsgVector2D >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgVector2D >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgQAngle* +Arena::CreateMaybeMessage< ::CMsgQAngle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgQAngle >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgQuaternion* +Arena::CreateMaybeMessage< ::CMsgQuaternion >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgQuaternion >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTransform* +Arena::CreateMaybeMessage< ::CMsgTransform >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTransform >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgRGBA* +Arena::CreateMaybeMessage< ::CMsgRGBA >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgRGBA >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgPlayerInfo* +Arena::CreateMaybeMessage< ::CMsgPlayerInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgPlayerInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMsg* +Arena::CreateMaybeMessage< ::CEntityMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsg_CVars_CVar* +Arena::CreateMaybeMessage< ::CMsg_CVars_CVar >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsg_CVars_CVar >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsg_CVars* +Arena::CreateMaybeMessage< ::CMsg_CVars >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsg_CVars >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_NOP* +Arena::CreateMaybeMessage< ::CNETMsg_NOP >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_NOP >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SplitScreenUser* +Arena::CreateMaybeMessage< ::CNETMsg_SplitScreenUser >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SplitScreenUser >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_Tick* +Arena::CreateMaybeMessage< ::CNETMsg_Tick >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_Tick >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_StringCmd* +Arena::CreateMaybeMessage< ::CNETMsg_StringCmd >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_StringCmd >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SetConVar* +Arena::CreateMaybeMessage< ::CNETMsg_SetConVar >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SetConVar >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SignonState* +Arena::CreateMaybeMessage< ::CNETMsg_SignonState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SignonState >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEvent_key_t* +Arena::CreateMaybeMessage< ::CSVCMsg_GameEvent_key_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameEvent_key_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEvent* +Arena::CreateMaybeMessage< ::CSVCMsg_GameEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsgList_GameEvents_event_t* +Arena::CreateMaybeMessage< ::CSVCMsgList_GameEvents_event_t >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsgList_GameEvents_event_t >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsgList_GameEvents* +Arena::CreateMaybeMessage< ::CSVCMsgList_GameEvents >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsgList_GameEvents >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_Load* +Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_Load >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_Load >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_ManifestUpdate* +Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_ManifestUpdate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_ManifestUpdate >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_SetCreationTick* +Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_SetCreationTick >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_SetCreationTick >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_Unload* +Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_Unload >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_Unload >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_LoadCompleted* +Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_LoadCompleted >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_LoadCompleted >(arena); +} +template<> PROTOBUF_NOINLINE ::CSVCMsg_GameSessionConfiguration* +Arena::CreateMaybeMessage< ::CSVCMsg_GameSessionConfiguration >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSVCMsg_GameSessionConfiguration >(arena); +} +template<> PROTOBUF_NOINLINE ::CNETMsg_DebugOverlay* +Arena::CreateMaybeMessage< ::CNETMsg_DebugOverlay >(Arena* arena) { + return Arena::CreateMessageInternal< ::CNETMsg_DebugOverlay >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.h new file mode 100644 index 0000000..06f1ede --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networkbasetypes.pb.h @@ -0,0 +1,11438 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: networkbasetypes.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_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 3021008 < 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 "network_connection.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_networkbasetypes_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_networkbasetypes_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_networkbasetypes_2eproto; +class CEntityMsg; +struct CEntityMsgDefaultTypeInternal; +extern CEntityMsgDefaultTypeInternal _CEntityMsg_default_instance_; +class CMsgPlayerInfo; +struct CMsgPlayerInfoDefaultTypeInternal; +extern CMsgPlayerInfoDefaultTypeInternal _CMsgPlayerInfo_default_instance_; +class CMsgQAngle; +struct CMsgQAngleDefaultTypeInternal; +extern CMsgQAngleDefaultTypeInternal _CMsgQAngle_default_instance_; +class CMsgQuaternion; +struct CMsgQuaternionDefaultTypeInternal; +extern CMsgQuaternionDefaultTypeInternal _CMsgQuaternion_default_instance_; +class CMsgRGBA; +struct CMsgRGBADefaultTypeInternal; +extern CMsgRGBADefaultTypeInternal _CMsgRGBA_default_instance_; +class CMsgTransform; +struct CMsgTransformDefaultTypeInternal; +extern CMsgTransformDefaultTypeInternal _CMsgTransform_default_instance_; +class CMsgVector; +struct CMsgVectorDefaultTypeInternal; +extern CMsgVectorDefaultTypeInternal _CMsgVector_default_instance_; +class CMsgVector2D; +struct CMsgVector2DDefaultTypeInternal; +extern CMsgVector2DDefaultTypeInternal _CMsgVector2D_default_instance_; +class CMsg_CVars; +struct CMsg_CVarsDefaultTypeInternal; +extern CMsg_CVarsDefaultTypeInternal _CMsg_CVars_default_instance_; +class CMsg_CVars_CVar; +struct CMsg_CVars_CVarDefaultTypeInternal; +extern CMsg_CVars_CVarDefaultTypeInternal _CMsg_CVars_CVar_default_instance_; +class CNETMsg_DebugOverlay; +struct CNETMsg_DebugOverlayDefaultTypeInternal; +extern CNETMsg_DebugOverlayDefaultTypeInternal _CNETMsg_DebugOverlay_default_instance_; +class CNETMsg_NOP; +struct CNETMsg_NOPDefaultTypeInternal; +extern CNETMsg_NOPDefaultTypeInternal _CNETMsg_NOP_default_instance_; +class CNETMsg_SetConVar; +struct CNETMsg_SetConVarDefaultTypeInternal; +extern CNETMsg_SetConVarDefaultTypeInternal _CNETMsg_SetConVar_default_instance_; +class CNETMsg_SignonState; +struct CNETMsg_SignonStateDefaultTypeInternal; +extern CNETMsg_SignonStateDefaultTypeInternal _CNETMsg_SignonState_default_instance_; +class CNETMsg_SpawnGroup_Load; +struct CNETMsg_SpawnGroup_LoadDefaultTypeInternal; +extern CNETMsg_SpawnGroup_LoadDefaultTypeInternal _CNETMsg_SpawnGroup_Load_default_instance_; +class CNETMsg_SpawnGroup_LoadCompleted; +struct CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal; +extern CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal _CNETMsg_SpawnGroup_LoadCompleted_default_instance_; +class CNETMsg_SpawnGroup_ManifestUpdate; +struct CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal; +extern CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal _CNETMsg_SpawnGroup_ManifestUpdate_default_instance_; +class CNETMsg_SpawnGroup_SetCreationTick; +struct CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal; +extern CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal _CNETMsg_SpawnGroup_SetCreationTick_default_instance_; +class CNETMsg_SpawnGroup_Unload; +struct CNETMsg_SpawnGroup_UnloadDefaultTypeInternal; +extern CNETMsg_SpawnGroup_UnloadDefaultTypeInternal _CNETMsg_SpawnGroup_Unload_default_instance_; +class CNETMsg_SplitScreenUser; +struct CNETMsg_SplitScreenUserDefaultTypeInternal; +extern CNETMsg_SplitScreenUserDefaultTypeInternal _CNETMsg_SplitScreenUser_default_instance_; +class CNETMsg_StringCmd; +struct CNETMsg_StringCmdDefaultTypeInternal; +extern CNETMsg_StringCmdDefaultTypeInternal _CNETMsg_StringCmd_default_instance_; +class CNETMsg_Tick; +struct CNETMsg_TickDefaultTypeInternal; +extern CNETMsg_TickDefaultTypeInternal _CNETMsg_Tick_default_instance_; +class CSVCMsgList_GameEvents; +struct CSVCMsgList_GameEventsDefaultTypeInternal; +extern CSVCMsgList_GameEventsDefaultTypeInternal _CSVCMsgList_GameEvents_default_instance_; +class CSVCMsgList_GameEvents_event_t; +struct CSVCMsgList_GameEvents_event_tDefaultTypeInternal; +extern CSVCMsgList_GameEvents_event_tDefaultTypeInternal _CSVCMsgList_GameEvents_event_t_default_instance_; +class CSVCMsg_GameEvent; +struct CSVCMsg_GameEventDefaultTypeInternal; +extern CSVCMsg_GameEventDefaultTypeInternal _CSVCMsg_GameEvent_default_instance_; +class CSVCMsg_GameEvent_key_t; +struct CSVCMsg_GameEvent_key_tDefaultTypeInternal; +extern CSVCMsg_GameEvent_key_tDefaultTypeInternal _CSVCMsg_GameEvent_key_t_default_instance_; +class CSVCMsg_GameSessionConfiguration; +struct CSVCMsg_GameSessionConfigurationDefaultTypeInternal; +extern CSVCMsg_GameSessionConfigurationDefaultTypeInternal _CSVCMsg_GameSessionConfiguration_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CEntityMsg* Arena::CreateMaybeMessage<::CEntityMsg>(Arena*); +template<> ::CMsgPlayerInfo* Arena::CreateMaybeMessage<::CMsgPlayerInfo>(Arena*); +template<> ::CMsgQAngle* Arena::CreateMaybeMessage<::CMsgQAngle>(Arena*); +template<> ::CMsgQuaternion* Arena::CreateMaybeMessage<::CMsgQuaternion>(Arena*); +template<> ::CMsgRGBA* Arena::CreateMaybeMessage<::CMsgRGBA>(Arena*); +template<> ::CMsgTransform* Arena::CreateMaybeMessage<::CMsgTransform>(Arena*); +template<> ::CMsgVector* Arena::CreateMaybeMessage<::CMsgVector>(Arena*); +template<> ::CMsgVector2D* Arena::CreateMaybeMessage<::CMsgVector2D>(Arena*); +template<> ::CMsg_CVars* Arena::CreateMaybeMessage<::CMsg_CVars>(Arena*); +template<> ::CMsg_CVars_CVar* Arena::CreateMaybeMessage<::CMsg_CVars_CVar>(Arena*); +template<> ::CNETMsg_DebugOverlay* Arena::CreateMaybeMessage<::CNETMsg_DebugOverlay>(Arena*); +template<> ::CNETMsg_NOP* Arena::CreateMaybeMessage<::CNETMsg_NOP>(Arena*); +template<> ::CNETMsg_SetConVar* Arena::CreateMaybeMessage<::CNETMsg_SetConVar>(Arena*); +template<> ::CNETMsg_SignonState* Arena::CreateMaybeMessage<::CNETMsg_SignonState>(Arena*); +template<> ::CNETMsg_SpawnGroup_Load* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_Load>(Arena*); +template<> ::CNETMsg_SpawnGroup_LoadCompleted* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_LoadCompleted>(Arena*); +template<> ::CNETMsg_SpawnGroup_ManifestUpdate* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_ManifestUpdate>(Arena*); +template<> ::CNETMsg_SpawnGroup_SetCreationTick* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_SetCreationTick>(Arena*); +template<> ::CNETMsg_SpawnGroup_Unload* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_Unload>(Arena*); +template<> ::CNETMsg_SplitScreenUser* Arena::CreateMaybeMessage<::CNETMsg_SplitScreenUser>(Arena*); +template<> ::CNETMsg_StringCmd* Arena::CreateMaybeMessage<::CNETMsg_StringCmd>(Arena*); +template<> ::CNETMsg_Tick* Arena::CreateMaybeMessage<::CNETMsg_Tick>(Arena*); +template<> ::CSVCMsgList_GameEvents* Arena::CreateMaybeMessage<::CSVCMsgList_GameEvents>(Arena*); +template<> ::CSVCMsgList_GameEvents_event_t* Arena::CreateMaybeMessage<::CSVCMsgList_GameEvents_event_t>(Arena*); +template<> ::CSVCMsg_GameEvent* Arena::CreateMaybeMessage<::CSVCMsg_GameEvent>(Arena*); +template<> ::CSVCMsg_GameEvent_key_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEvent_key_t>(Arena*); +template<> ::CSVCMsg_GameSessionConfiguration* Arena::CreateMaybeMessage<::CSVCMsg_GameSessionConfiguration>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum SignonState_t : int { + SIGNONSTATE_NONE = 0, + SIGNONSTATE_CHALLENGE = 1, + SIGNONSTATE_CONNECTED = 2, + SIGNONSTATE_NEW = 3, + SIGNONSTATE_PRESPAWN = 4, + SIGNONSTATE_SPAWN = 5, + SIGNONSTATE_FULL = 6, + SIGNONSTATE_CHANGELEVEL = 7 +}; +bool SignonState_t_IsValid(int value); +constexpr SignonState_t SignonState_t_MIN = SIGNONSTATE_NONE; +constexpr SignonState_t SignonState_t_MAX = SIGNONSTATE_CHANGELEVEL; +constexpr int SignonState_t_ARRAYSIZE = SignonState_t_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignonState_t_descriptor(); +template +inline const std::string& SignonState_t_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function SignonState_t_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + SignonState_t_descriptor(), enum_t_value); +} +inline bool SignonState_t_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SignonState_t* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SignonState_t_descriptor(), name, value); +} +enum NET_Messages : int { + net_NOP = 0, + net_Disconnect_Legacy = 1, + net_SplitScreenUser = 3, + net_Tick = 4, + net_StringCmd = 5, + net_SetConVar = 6, + net_SignonState = 7, + net_SpawnGroup_Load = 8, + net_SpawnGroup_ManifestUpdate = 9, + net_SpawnGroup_SetCreationTick = 11, + net_SpawnGroup_Unload = 12, + net_SpawnGroup_LoadCompleted = 13, + net_DebugOverlay = 15 +}; +bool NET_Messages_IsValid(int value); +constexpr NET_Messages NET_Messages_MIN = net_NOP; +constexpr NET_Messages NET_Messages_MAX = net_DebugOverlay; +constexpr int NET_Messages_ARRAYSIZE = NET_Messages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NET_Messages_descriptor(); +template +inline const std::string& NET_Messages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function NET_Messages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + NET_Messages_descriptor(), enum_t_value); +} +inline bool NET_Messages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NET_Messages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + NET_Messages_descriptor(), name, value); +} +enum SpawnGroupFlags_t : int { + SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1, + SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2, + SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4, + SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8, + SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16, + SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64, + SPAWN_GROUP_LOAD_STREAMING_DATA = 128, + SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256 +}; +bool SpawnGroupFlags_t_IsValid(int value); +constexpr SpawnGroupFlags_t SpawnGroupFlags_t_MIN = SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE; +constexpr SpawnGroupFlags_t SpawnGroupFlags_t_MAX = SPAWN_GROUP_CREATE_NEW_SCENE_WORLD; +constexpr int SpawnGroupFlags_t_ARRAYSIZE = SpawnGroupFlags_t_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SpawnGroupFlags_t_descriptor(); +template +inline const std::string& SpawnGroupFlags_t_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function SpawnGroupFlags_t_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + SpawnGroupFlags_t_descriptor(), enum_t_value); +} +inline bool SpawnGroupFlags_t_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SpawnGroupFlags_t* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SpawnGroupFlags_t_descriptor(), name, value); +} +// =================================================================== + +class CMsgVector final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVector) */ { + public: + inline CMsgVector() : CMsgVector(nullptr) {} + ~CMsgVector() override; + explicit PROTOBUF_CONSTEXPR CMsgVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgVector(const CMsgVector& from); + CMsgVector(CMsgVector&& from) noexcept + : CMsgVector() { + *this = ::std::move(from); + } + + inline CMsgVector& operator=(const CMsgVector& from) { + CopyFrom(from); + return *this; + } + inline CMsgVector& operator=(CMsgVector&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgVector& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgVector* internal_default_instance() { + return reinterpret_cast( + &_CMsgVector_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgVector& a, CMsgVector& b) { + a.Swap(&b); + } + inline void Swap(CMsgVector* 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(CMsgVector* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgVector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgVector& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgVector& from) { + CMsgVector::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(CMsgVector* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgVector"; + } + protected: + explicit CMsgVector(::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, + kWFieldNumber = 4, + }; + // optional float x = 1; + bool has_x() const; + private: + bool _internal_has_x() const; + public: + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // optional float y = 2; + bool has_y() const; + private: + bool _internal_has_y() const; + public: + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // optional float z = 3; + bool has_z() const; + private: + bool _internal_has_z() const; + public: + void clear_z(); + float z() const; + void set_z(float value); + private: + float _internal_z() const; + void _internal_set_z(float value); + public: + + // optional float w = 4; + bool has_w() const; + private: + bool _internal_has_w() const; + public: + void clear_w(); + float w() const; + void set_w(float value); + private: + float _internal_w() const; + void _internal_set_w(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgVector) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float x_; + float y_; + float z_; + float w_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgVector2D final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVector2D) */ { + public: + inline CMsgVector2D() : CMsgVector2D(nullptr) {} + ~CMsgVector2D() override; + explicit PROTOBUF_CONSTEXPR CMsgVector2D(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgVector2D(const CMsgVector2D& from); + CMsgVector2D(CMsgVector2D&& from) noexcept + : CMsgVector2D() { + *this = ::std::move(from); + } + + inline CMsgVector2D& operator=(const CMsgVector2D& from) { + CopyFrom(from); + return *this; + } + inline CMsgVector2D& operator=(CMsgVector2D&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgVector2D& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgVector2D* internal_default_instance() { + return reinterpret_cast( + &_CMsgVector2D_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgVector2D& a, CMsgVector2D& b) { + a.Swap(&b); + } + inline void Swap(CMsgVector2D* 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(CMsgVector2D* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgVector2D* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgVector2D& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgVector2D& from) { + CMsgVector2D::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(CMsgVector2D* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgVector2D"; + } + protected: + explicit CMsgVector2D(::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, + }; + // optional float x = 1; + bool has_x() const; + private: + bool _internal_has_x() const; + public: + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // optional float y = 2; + bool has_y() const; + private: + bool _internal_has_y() const; + public: + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgVector2D) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float x_; + float y_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgQAngle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgQAngle) */ { + public: + inline CMsgQAngle() : CMsgQAngle(nullptr) {} + ~CMsgQAngle() override; + explicit PROTOBUF_CONSTEXPR CMsgQAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgQAngle(const CMsgQAngle& from); + CMsgQAngle(CMsgQAngle&& from) noexcept + : CMsgQAngle() { + *this = ::std::move(from); + } + + inline CMsgQAngle& operator=(const CMsgQAngle& from) { + CopyFrom(from); + return *this; + } + inline CMsgQAngle& operator=(CMsgQAngle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgQAngle& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgQAngle* internal_default_instance() { + return reinterpret_cast( + &_CMsgQAngle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgQAngle& a, CMsgQAngle& b) { + a.Swap(&b); + } + inline void Swap(CMsgQAngle* 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(CMsgQAngle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgQAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgQAngle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgQAngle& from) { + CMsgQAngle::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(CMsgQAngle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgQAngle"; + } + protected: + explicit CMsgQAngle(::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, + }; + // optional float x = 1; + bool has_x() const; + private: + bool _internal_has_x() const; + public: + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // optional float y = 2; + bool has_y() const; + private: + bool _internal_has_y() const; + public: + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // optional float z = 3; + bool has_z() const; + private: + bool _internal_has_z() const; + public: + 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:CMsgQAngle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float x_; + float y_; + float z_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgQuaternion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgQuaternion) */ { + public: + inline CMsgQuaternion() : CMsgQuaternion(nullptr) {} + ~CMsgQuaternion() override; + explicit PROTOBUF_CONSTEXPR CMsgQuaternion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgQuaternion(const CMsgQuaternion& from); + CMsgQuaternion(CMsgQuaternion&& from) noexcept + : CMsgQuaternion() { + *this = ::std::move(from); + } + + inline CMsgQuaternion& operator=(const CMsgQuaternion& from) { + CopyFrom(from); + return *this; + } + inline CMsgQuaternion& operator=(CMsgQuaternion&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgQuaternion& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgQuaternion* internal_default_instance() { + return reinterpret_cast( + &_CMsgQuaternion_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgQuaternion& a, CMsgQuaternion& b) { + a.Swap(&b); + } + inline void Swap(CMsgQuaternion* 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(CMsgQuaternion* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgQuaternion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgQuaternion& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgQuaternion& from) { + CMsgQuaternion::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(CMsgQuaternion* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgQuaternion"; + } + protected: + explicit CMsgQuaternion(::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, + kWFieldNumber = 4, + }; + // optional float x = 1; + bool has_x() const; + private: + bool _internal_has_x() const; + public: + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // optional float y = 2; + bool has_y() const; + private: + bool _internal_has_y() const; + public: + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // optional float z = 3; + bool has_z() const; + private: + bool _internal_has_z() const; + public: + void clear_z(); + float z() const; + void set_z(float value); + private: + float _internal_z() const; + void _internal_set_z(float value); + public: + + // optional float w = 4; + bool has_w() const; + private: + bool _internal_has_w() const; + public: + void clear_w(); + float w() const; + void set_w(float value); + private: + float _internal_w() const; + void _internal_set_w(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgQuaternion) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float x_; + float y_; + float z_; + float w_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTransform final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTransform) */ { + public: + inline CMsgTransform() : CMsgTransform(nullptr) {} + ~CMsgTransform() override; + explicit PROTOBUF_CONSTEXPR CMsgTransform(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTransform(const CMsgTransform& from); + CMsgTransform(CMsgTransform&& from) noexcept + : CMsgTransform() { + *this = ::std::move(from); + } + + inline CMsgTransform& operator=(const CMsgTransform& from) { + CopyFrom(from); + return *this; + } + inline CMsgTransform& operator=(CMsgTransform&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTransform& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTransform* internal_default_instance() { + return reinterpret_cast( + &_CMsgTransform_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgTransform& a, CMsgTransform& b) { + a.Swap(&b); + } + inline void Swap(CMsgTransform* 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(CMsgTransform* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTransform* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTransform& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTransform& from) { + CMsgTransform::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(CMsgTransform* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTransform"; + } + protected: + explicit CMsgTransform(::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 { + kPositionFieldNumber = 1, + kOrientationFieldNumber = 3, + kScaleFieldNumber = 2, + }; + // optional .CMsgVector position = 1; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional .CMsgQuaternion orientation = 3; + bool has_orientation() const; + private: + bool _internal_has_orientation() const; + public: + void clear_orientation(); + const ::CMsgQuaternion& orientation() const; + PROTOBUF_NODISCARD ::CMsgQuaternion* release_orientation(); + ::CMsgQuaternion* mutable_orientation(); + void set_allocated_orientation(::CMsgQuaternion* orientation); + private: + const ::CMsgQuaternion& _internal_orientation() const; + ::CMsgQuaternion* _internal_mutable_orientation(); + public: + void unsafe_arena_set_allocated_orientation( + ::CMsgQuaternion* orientation); + ::CMsgQuaternion* unsafe_arena_release_orientation(); + + // optional float scale = 2; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTransform) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + ::CMsgQuaternion* orientation_; + float scale_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgRGBA final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRGBA) */ { + public: + inline CMsgRGBA() : CMsgRGBA(nullptr) {} + ~CMsgRGBA() override; + explicit PROTOBUF_CONSTEXPR CMsgRGBA(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgRGBA(const CMsgRGBA& from); + CMsgRGBA(CMsgRGBA&& from) noexcept + : CMsgRGBA() { + *this = ::std::move(from); + } + + inline CMsgRGBA& operator=(const CMsgRGBA& from) { + CopyFrom(from); + return *this; + } + inline CMsgRGBA& operator=(CMsgRGBA&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgRGBA& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgRGBA* internal_default_instance() { + return reinterpret_cast( + &_CMsgRGBA_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgRGBA& a, CMsgRGBA& b) { + a.Swap(&b); + } + inline void Swap(CMsgRGBA* 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(CMsgRGBA* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgRGBA* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgRGBA& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgRGBA& from) { + CMsgRGBA::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(CMsgRGBA* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgRGBA"; + } + protected: + explicit CMsgRGBA(::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 { + kRFieldNumber = 1, + kGFieldNumber = 2, + kBFieldNumber = 3, + kAFieldNumber = 4, + }; + // optional int32 r = 1; + bool has_r() const; + private: + bool _internal_has_r() const; + public: + void clear_r(); + int32_t r() const; + void set_r(int32_t value); + private: + int32_t _internal_r() const; + void _internal_set_r(int32_t value); + public: + + // optional int32 g = 2; + bool has_g() const; + private: + bool _internal_has_g() const; + public: + void clear_g(); + int32_t g() const; + void set_g(int32_t value); + private: + int32_t _internal_g() const; + void _internal_set_g(int32_t value); + public: + + // optional int32 b = 3; + bool has_b() const; + private: + bool _internal_has_b() const; + public: + void clear_b(); + int32_t b() const; + void set_b(int32_t value); + private: + int32_t _internal_b() const; + void _internal_set_b(int32_t value); + public: + + // optional int32 a = 4; + bool has_a() const; + private: + bool _internal_has_a() const; + public: + void clear_a(); + int32_t a() const; + void set_a(int32_t value); + private: + int32_t _internal_a() const; + void _internal_set_a(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgRGBA) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t r_; + int32_t g_; + int32_t b_; + int32_t a_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgPlayerInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPlayerInfo) */ { + public: + inline CMsgPlayerInfo() : CMsgPlayerInfo(nullptr) {} + ~CMsgPlayerInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgPlayerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgPlayerInfo(const CMsgPlayerInfo& from); + CMsgPlayerInfo(CMsgPlayerInfo&& from) noexcept + : CMsgPlayerInfo() { + *this = ::std::move(from); + } + + inline CMsgPlayerInfo& operator=(const CMsgPlayerInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgPlayerInfo& operator=(CMsgPlayerInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgPlayerInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgPlayerInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgPlayerInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgPlayerInfo& a, CMsgPlayerInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgPlayerInfo* 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(CMsgPlayerInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgPlayerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgPlayerInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgPlayerInfo& from) { + CMsgPlayerInfo::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(CMsgPlayerInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgPlayerInfo"; + } + protected: + explicit CMsgPlayerInfo(::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, + kXuidFieldNumber = 2, + kSteamidFieldNumber = 4, + kUseridFieldNumber = 3, + kFakeplayerFieldNumber = 5, + kIshltvFieldNumber = 6, + }; + // optional string name = 1; + 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: + + // optional fixed64 xuid = 2; + bool has_xuid() const; + private: + bool _internal_has_xuid() const; + public: + void clear_xuid(); + uint64_t xuid() const; + void set_xuid(uint64_t value); + private: + uint64_t _internal_xuid() const; + void _internal_set_xuid(uint64_t value); + public: + + // optional fixed64 steamid = 4; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional int32 userid = 3; + bool has_userid() const; + private: + bool _internal_has_userid() const; + public: + void clear_userid(); + int32_t userid() const; + void set_userid(int32_t value); + private: + int32_t _internal_userid() const; + void _internal_set_userid(int32_t value); + public: + + // optional bool fakeplayer = 5; + bool has_fakeplayer() const; + private: + bool _internal_has_fakeplayer() const; + public: + void clear_fakeplayer(); + bool fakeplayer() const; + void set_fakeplayer(bool value); + private: + bool _internal_fakeplayer() const; + void _internal_set_fakeplayer(bool value); + public: + + // optional bool ishltv = 6; + bool has_ishltv() const; + private: + bool _internal_has_ishltv() const; + public: + void clear_ishltv(); + bool ishltv() const; + void set_ishltv(bool value); + private: + bool _internal_ishltv() const; + void _internal_set_ishltv(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgPlayerInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint64_t xuid_; + uint64_t steamid_; + int32_t userid_; + bool fakeplayer_; + bool ishltv_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMsg) */ { + public: + inline CEntityMsg() : CEntityMsg(nullptr) {} + ~CEntityMsg() override; + explicit PROTOBUF_CONSTEXPR CEntityMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMsg(const CEntityMsg& from); + CEntityMsg(CEntityMsg&& from) noexcept + : CEntityMsg() { + *this = ::std::move(from); + } + + inline CEntityMsg& operator=(const CEntityMsg& from) { + CopyFrom(from); + return *this; + } + inline CEntityMsg& operator=(CEntityMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMsg* internal_default_instance() { + return reinterpret_cast( + &_CEntityMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CEntityMsg& a, CEntityMsg& b) { + a.Swap(&b); + } + inline void Swap(CEntityMsg* 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(CEntityMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMsg& from) { + CEntityMsg::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(CEntityMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMsg"; + } + protected: + explicit CEntityMsg(::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 { + kTargetEntityFieldNumber = 1, + }; + // optional uint32 target_entity = 1 [default = 16777215]; + bool has_target_entity() const; + private: + bool _internal_has_target_entity() const; + public: + void clear_target_entity(); + uint32_t target_entity() const; + void set_target_entity(uint32_t value); + private: + uint32_t _internal_target_entity() const; + void _internal_set_target_entity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CEntityMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t target_entity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsg_CVars_CVar final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsg_CVars.CVar) */ { + public: + inline CMsg_CVars_CVar() : CMsg_CVars_CVar(nullptr) {} + ~CMsg_CVars_CVar() override; + explicit PROTOBUF_CONSTEXPR CMsg_CVars_CVar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsg_CVars_CVar(const CMsg_CVars_CVar& from); + CMsg_CVars_CVar(CMsg_CVars_CVar&& from) noexcept + : CMsg_CVars_CVar() { + *this = ::std::move(from); + } + + inline CMsg_CVars_CVar& operator=(const CMsg_CVars_CVar& from) { + CopyFrom(from); + return *this; + } + inline CMsg_CVars_CVar& operator=(CMsg_CVars_CVar&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsg_CVars_CVar& default_instance() { + return *internal_default_instance(); + } + static inline const CMsg_CVars_CVar* internal_default_instance() { + return reinterpret_cast( + &_CMsg_CVars_CVar_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsg_CVars_CVar& a, CMsg_CVars_CVar& b) { + a.Swap(&b); + } + inline void Swap(CMsg_CVars_CVar* 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(CMsg_CVars_CVar* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsg_CVars_CVar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsg_CVars_CVar& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsg_CVars_CVar& from) { + CMsg_CVars_CVar::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(CMsg_CVars_CVar* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsg_CVars.CVar"; + } + protected: + explicit CMsg_CVars_CVar(::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, + kValueFieldNumber = 2, + }; + // optional string name = 1; + 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: + + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:CMsg_CVars.CVar) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsg_CVars final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsg_CVars) */ { + public: + inline CMsg_CVars() : CMsg_CVars(nullptr) {} + ~CMsg_CVars() override; + explicit PROTOBUF_CONSTEXPR CMsg_CVars(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsg_CVars(const CMsg_CVars& from); + CMsg_CVars(CMsg_CVars&& from) noexcept + : CMsg_CVars() { + *this = ::std::move(from); + } + + inline CMsg_CVars& operator=(const CMsg_CVars& from) { + CopyFrom(from); + return *this; + } + inline CMsg_CVars& operator=(CMsg_CVars&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsg_CVars& default_instance() { + return *internal_default_instance(); + } + static inline const CMsg_CVars* internal_default_instance() { + return reinterpret_cast( + &_CMsg_CVars_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsg_CVars& a, CMsg_CVars& b) { + a.Swap(&b); + } + inline void Swap(CMsg_CVars* 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(CMsg_CVars* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsg_CVars* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsg_CVars& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsg_CVars& from) { + CMsg_CVars::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(CMsg_CVars* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsg_CVars"; + } + protected: + explicit CMsg_CVars(::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 ---------------------------------------------------- + + typedef CMsg_CVars_CVar CVar; + + // accessors ------------------------------------------------------- + + enum : int { + kCvarsFieldNumber = 1, + }; + // repeated .CMsg_CVars.CVar cvars = 1; + int cvars_size() const; + private: + int _internal_cvars_size() const; + public: + void clear_cvars(); + ::CMsg_CVars_CVar* mutable_cvars(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >* + mutable_cvars(); + private: + const ::CMsg_CVars_CVar& _internal_cvars(int index) const; + ::CMsg_CVars_CVar* _internal_add_cvars(); + public: + const ::CMsg_CVars_CVar& cvars(int index) const; + ::CMsg_CVars_CVar* add_cvars(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >& + cvars() const; + + // @@protoc_insertion_point(class_scope:CMsg_CVars) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar > cvars_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_NOP final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CNETMsg_NOP) */ { + public: + inline CNETMsg_NOP() : CNETMsg_NOP(nullptr) {} + explicit PROTOBUF_CONSTEXPR CNETMsg_NOP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_NOP(const CNETMsg_NOP& from); + CNETMsg_NOP(CNETMsg_NOP&& from) noexcept + : CNETMsg_NOP() { + *this = ::std::move(from); + } + + inline CNETMsg_NOP& operator=(const CNETMsg_NOP& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_NOP& operator=(CNETMsg_NOP&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_NOP& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_NOP* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_NOP_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CNETMsg_NOP& a, CNETMsg_NOP& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_NOP* 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(CNETMsg_NOP* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_NOP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CNETMsg_NOP& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CNETMsg_NOP& 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 "CNETMsg_NOP"; + } + protected: + explicit CNETMsg_NOP(::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:CNETMsg_NOP) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SplitScreenUser final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SplitScreenUser) */ { + public: + inline CNETMsg_SplitScreenUser() : CNETMsg_SplitScreenUser(nullptr) {} + ~CNETMsg_SplitScreenUser() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from); + CNETMsg_SplitScreenUser(CNETMsg_SplitScreenUser&& from) noexcept + : CNETMsg_SplitScreenUser() { + *this = ::std::move(from); + } + + inline CNETMsg_SplitScreenUser& operator=(const CNETMsg_SplitScreenUser& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SplitScreenUser& operator=(CNETMsg_SplitScreenUser&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SplitScreenUser& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SplitScreenUser* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SplitScreenUser_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CNETMsg_SplitScreenUser& a, CNETMsg_SplitScreenUser& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SplitScreenUser* 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(CNETMsg_SplitScreenUser* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SplitScreenUser* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SplitScreenUser& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SplitScreenUser& from) { + CNETMsg_SplitScreenUser::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(CNETMsg_SplitScreenUser* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SplitScreenUser"; + } + protected: + explicit CNETMsg_SplitScreenUser(::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 { + kSlotFieldNumber = 1, + }; + // optional int32 slot = 1; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + int32_t slot() const; + void set_slot(int32_t value); + private: + int32_t _internal_slot() const; + void _internal_set_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SplitScreenUser) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_Tick final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_Tick) */ { + public: + inline CNETMsg_Tick() : CNETMsg_Tick(nullptr) {} + ~CNETMsg_Tick() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_Tick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_Tick(const CNETMsg_Tick& from); + CNETMsg_Tick(CNETMsg_Tick&& from) noexcept + : CNETMsg_Tick() { + *this = ::std::move(from); + } + + inline CNETMsg_Tick& operator=(const CNETMsg_Tick& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_Tick& operator=(CNETMsg_Tick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_Tick& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_Tick* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_Tick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CNETMsg_Tick& a, CNETMsg_Tick& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_Tick* 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(CNETMsg_Tick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_Tick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_Tick& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_Tick& from) { + CNETMsg_Tick::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(CNETMsg_Tick* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_Tick"; + } + protected: + explicit CNETMsg_Tick(::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 { + kExpectedLongTickReasonFieldNumber = 11, + kTickFieldNumber = 1, + kHostComputationtimeFieldNumber = 4, + kHostComputationtimeStdDeviationFieldNumber = 5, + kLegacyHostLossFieldNumber = 7, + kHostUnfilteredFrametimeFieldNumber = 8, + kHltvReplayFlagsFieldNumber = 9, + kExpectedLongTickFieldNumber = 10, + kHostFrameDroppedPctX10FieldNumber = 12, + kHostFrameIrregularArrivalPctX10FieldNumber = 13, + }; + // optional string expected_long_tick_reason = 11; + bool has_expected_long_tick_reason() const; + private: + bool _internal_has_expected_long_tick_reason() const; + public: + void clear_expected_long_tick_reason(); + const std::string& expected_long_tick_reason() const; + template + void set_expected_long_tick_reason(ArgT0&& arg0, ArgT... args); + std::string* mutable_expected_long_tick_reason(); + PROTOBUF_NODISCARD std::string* release_expected_long_tick_reason(); + void set_allocated_expected_long_tick_reason(std::string* expected_long_tick_reason); + private: + const std::string& _internal_expected_long_tick_reason() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_expected_long_tick_reason(const std::string& value); + std::string* _internal_mutable_expected_long_tick_reason(); + public: + + // optional uint32 tick = 1; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + uint32_t tick() const; + void set_tick(uint32_t value); + private: + uint32_t _internal_tick() const; + void _internal_set_tick(uint32_t value); + public: + + // optional uint32 host_computationtime = 4; + bool has_host_computationtime() const; + private: + bool _internal_has_host_computationtime() const; + public: + void clear_host_computationtime(); + uint32_t host_computationtime() const; + void set_host_computationtime(uint32_t value); + private: + uint32_t _internal_host_computationtime() const; + void _internal_set_host_computationtime(uint32_t value); + public: + + // optional uint32 host_computationtime_std_deviation = 5; + bool has_host_computationtime_std_deviation() const; + private: + bool _internal_has_host_computationtime_std_deviation() const; + public: + void clear_host_computationtime_std_deviation(); + uint32_t host_computationtime_std_deviation() const; + void set_host_computationtime_std_deviation(uint32_t value); + private: + uint32_t _internal_host_computationtime_std_deviation() const; + void _internal_set_host_computationtime_std_deviation(uint32_t value); + public: + + // optional uint32 legacy_host_loss = 7; + bool has_legacy_host_loss() const; + private: + bool _internal_has_legacy_host_loss() const; + public: + void clear_legacy_host_loss(); + uint32_t legacy_host_loss() const; + void set_legacy_host_loss(uint32_t value); + private: + uint32_t _internal_legacy_host_loss() const; + void _internal_set_legacy_host_loss(uint32_t value); + public: + + // optional uint32 host_unfiltered_frametime = 8; + bool has_host_unfiltered_frametime() const; + private: + bool _internal_has_host_unfiltered_frametime() const; + public: + void clear_host_unfiltered_frametime(); + uint32_t host_unfiltered_frametime() const; + void set_host_unfiltered_frametime(uint32_t value); + private: + uint32_t _internal_host_unfiltered_frametime() const; + void _internal_set_host_unfiltered_frametime(uint32_t value); + public: + + // optional uint32 hltv_replay_flags = 9; + bool has_hltv_replay_flags() const; + private: + bool _internal_has_hltv_replay_flags() const; + public: + void clear_hltv_replay_flags(); + uint32_t hltv_replay_flags() const; + void set_hltv_replay_flags(uint32_t value); + private: + uint32_t _internal_hltv_replay_flags() const; + void _internal_set_hltv_replay_flags(uint32_t value); + public: + + // optional uint32 expected_long_tick = 10; + bool has_expected_long_tick() const; + private: + bool _internal_has_expected_long_tick() const; + public: + void clear_expected_long_tick(); + uint32_t expected_long_tick() const; + void set_expected_long_tick(uint32_t value); + private: + uint32_t _internal_expected_long_tick() const; + void _internal_set_expected_long_tick(uint32_t value); + public: + + // optional uint32 host_frame_dropped_pct_x10 = 12; + bool has_host_frame_dropped_pct_x10() const; + private: + bool _internal_has_host_frame_dropped_pct_x10() const; + public: + void clear_host_frame_dropped_pct_x10(); + uint32_t host_frame_dropped_pct_x10() const; + void set_host_frame_dropped_pct_x10(uint32_t value); + private: + uint32_t _internal_host_frame_dropped_pct_x10() const; + void _internal_set_host_frame_dropped_pct_x10(uint32_t value); + public: + + // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; + bool has_host_frame_irregular_arrival_pct_x10() const; + private: + bool _internal_has_host_frame_irregular_arrival_pct_x10() const; + public: + void clear_host_frame_irregular_arrival_pct_x10(); + uint32_t host_frame_irregular_arrival_pct_x10() const; + void set_host_frame_irregular_arrival_pct_x10(uint32_t value); + private: + uint32_t _internal_host_frame_irregular_arrival_pct_x10() const; + void _internal_set_host_frame_irregular_arrival_pct_x10(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_Tick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expected_long_tick_reason_; + uint32_t tick_; + uint32_t host_computationtime_; + uint32_t host_computationtime_std_deviation_; + uint32_t legacy_host_loss_; + uint32_t host_unfiltered_frametime_; + uint32_t hltv_replay_flags_; + uint32_t expected_long_tick_; + uint32_t host_frame_dropped_pct_x10_; + uint32_t host_frame_irregular_arrival_pct_x10_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_StringCmd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_StringCmd) */ { + public: + inline CNETMsg_StringCmd() : CNETMsg_StringCmd(nullptr) {} + ~CNETMsg_StringCmd() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_StringCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_StringCmd(const CNETMsg_StringCmd& from); + CNETMsg_StringCmd(CNETMsg_StringCmd&& from) noexcept + : CNETMsg_StringCmd() { + *this = ::std::move(from); + } + + inline CNETMsg_StringCmd& operator=(const CNETMsg_StringCmd& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_StringCmd& operator=(CNETMsg_StringCmd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_StringCmd& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_StringCmd* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_StringCmd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CNETMsg_StringCmd& a, CNETMsg_StringCmd& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_StringCmd* 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(CNETMsg_StringCmd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_StringCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_StringCmd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_StringCmd& from) { + CNETMsg_StringCmd::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(CNETMsg_StringCmd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_StringCmd"; + } + protected: + explicit CNETMsg_StringCmd(::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 { + kCommandFieldNumber = 1, + kPredictionSyncFieldNumber = 2, + }; + // optional string command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + const std::string& command() const; + template + void set_command(ArgT0&& arg0, ArgT... args); + std::string* mutable_command(); + PROTOBUF_NODISCARD std::string* release_command(); + void set_allocated_command(std::string* command); + private: + const std::string& _internal_command() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_command(const std::string& value); + std::string* _internal_mutable_command(); + public: + + // optional uint32 prediction_sync = 2; + bool has_prediction_sync() const; + private: + bool _internal_has_prediction_sync() const; + public: + void clear_prediction_sync(); + uint32_t prediction_sync() const; + void set_prediction_sync(uint32_t value); + private: + uint32_t _internal_prediction_sync() const; + void _internal_set_prediction_sync(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_StringCmd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_; + uint32_t prediction_sync_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SetConVar final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SetConVar) */ { + public: + inline CNETMsg_SetConVar() : CNETMsg_SetConVar(nullptr) {} + ~CNETMsg_SetConVar() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SetConVar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SetConVar(const CNETMsg_SetConVar& from); + CNETMsg_SetConVar(CNETMsg_SetConVar&& from) noexcept + : CNETMsg_SetConVar() { + *this = ::std::move(from); + } + + inline CNETMsg_SetConVar& operator=(const CNETMsg_SetConVar& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SetConVar& operator=(CNETMsg_SetConVar&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SetConVar& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SetConVar* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SetConVar_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CNETMsg_SetConVar& a, CNETMsg_SetConVar& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SetConVar* 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(CNETMsg_SetConVar* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SetConVar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SetConVar& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SetConVar& from) { + CNETMsg_SetConVar::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(CNETMsg_SetConVar* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SetConVar"; + } + protected: + explicit CNETMsg_SetConVar(::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 { + kConvarsFieldNumber = 1, + }; + // optional .CMsg_CVars convars = 1; + bool has_convars() const; + private: + bool _internal_has_convars() const; + public: + void clear_convars(); + const ::CMsg_CVars& convars() const; + PROTOBUF_NODISCARD ::CMsg_CVars* release_convars(); + ::CMsg_CVars* mutable_convars(); + void set_allocated_convars(::CMsg_CVars* convars); + private: + const ::CMsg_CVars& _internal_convars() const; + ::CMsg_CVars* _internal_mutable_convars(); + public: + void unsafe_arena_set_allocated_convars( + ::CMsg_CVars* convars); + ::CMsg_CVars* unsafe_arena_release_convars(); + + // @@protoc_insertion_point(class_scope:CNETMsg_SetConVar) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsg_CVars* convars_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SignonState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SignonState) */ { + public: + inline CNETMsg_SignonState() : CNETMsg_SignonState(nullptr) {} + ~CNETMsg_SignonState() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SignonState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SignonState(const CNETMsg_SignonState& from); + CNETMsg_SignonState(CNETMsg_SignonState&& from) noexcept + : CNETMsg_SignonState() { + *this = ::std::move(from); + } + + inline CNETMsg_SignonState& operator=(const CNETMsg_SignonState& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SignonState& operator=(CNETMsg_SignonState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SignonState& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SignonState* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SignonState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CNETMsg_SignonState& a, CNETMsg_SignonState& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SignonState* 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(CNETMsg_SignonState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SignonState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SignonState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SignonState& from) { + CNETMsg_SignonState::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(CNETMsg_SignonState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SignonState"; + } + protected: + explicit CNETMsg_SignonState(::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 { + kPlayersNetworkidsFieldNumber = 4, + kMapNameFieldNumber = 5, + kAddonsFieldNumber = 6, + kSignonStateFieldNumber = 1, + kSpawnCountFieldNumber = 2, + kNumServerPlayersFieldNumber = 3, + }; + // repeated string players_networkids = 4; + int players_networkids_size() const; + private: + int _internal_players_networkids_size() const; + public: + void clear_players_networkids(); + const std::string& players_networkids(int index) const; + std::string* mutable_players_networkids(int index); + void set_players_networkids(int index, const std::string& value); + void set_players_networkids(int index, std::string&& value); + void set_players_networkids(int index, const char* value); + void set_players_networkids(int index, const char* value, size_t size); + std::string* add_players_networkids(); + void add_players_networkids(const std::string& value); + void add_players_networkids(std::string&& value); + void add_players_networkids(const char* value); + void add_players_networkids(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& players_networkids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_players_networkids(); + private: + const std::string& _internal_players_networkids(int index) const; + std::string* _internal_add_players_networkids(); + public: + + // optional string map_name = 5; + bool has_map_name() const; + private: + bool _internal_has_map_name() const; + public: + void clear_map_name(); + const std::string& map_name() const; + template + void set_map_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_map_name(); + PROTOBUF_NODISCARD std::string* release_map_name(); + void set_allocated_map_name(std::string* map_name); + private: + const std::string& _internal_map_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); + std::string* _internal_mutable_map_name(); + public: + + // optional string addons = 6; + bool has_addons() const; + private: + bool _internal_has_addons() const; + public: + void clear_addons(); + const std::string& addons() const; + template + void set_addons(ArgT0&& arg0, ArgT... args); + std::string* mutable_addons(); + PROTOBUF_NODISCARD std::string* release_addons(); + void set_allocated_addons(std::string* addons); + private: + const std::string& _internal_addons() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_addons(const std::string& value); + std::string* _internal_mutable_addons(); + public: + + // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; + bool has_signon_state() const; + private: + bool _internal_has_signon_state() const; + public: + void clear_signon_state(); + ::SignonState_t signon_state() const; + void set_signon_state(::SignonState_t value); + private: + ::SignonState_t _internal_signon_state() const; + void _internal_set_signon_state(::SignonState_t value); + public: + + // optional uint32 spawn_count = 2; + bool has_spawn_count() const; + private: + bool _internal_has_spawn_count() const; + public: + void clear_spawn_count(); + uint32_t spawn_count() const; + void set_spawn_count(uint32_t value); + private: + uint32_t _internal_spawn_count() const; + void _internal_set_spawn_count(uint32_t value); + public: + + // optional uint32 num_server_players = 3; + bool has_num_server_players() const; + private: + bool _internal_has_num_server_players() const; + public: + void clear_num_server_players(); + uint32_t num_server_players() const; + void set_num_server_players(uint32_t value); + private: + uint32_t _internal_num_server_players() const; + void _internal_set_num_server_players(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SignonState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField players_networkids_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addons_; + int signon_state_; + uint32_t spawn_count_; + uint32_t num_server_players_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEvent_key_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEvent.key_t) */ { + public: + inline CSVCMsg_GameEvent_key_t() : CSVCMsg_GameEvent_key_t(nullptr) {} + ~CSVCMsg_GameEvent_key_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from); + CSVCMsg_GameEvent_key_t(CSVCMsg_GameEvent_key_t&& from) noexcept + : CSVCMsg_GameEvent_key_t() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameEvent_key_t& operator=(const CSVCMsg_GameEvent_key_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameEvent_key_t& operator=(CSVCMsg_GameEvent_key_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameEvent_key_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameEvent_key_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameEvent_key_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CSVCMsg_GameEvent_key_t& a, CSVCMsg_GameEvent_key_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameEvent_key_t* 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(CSVCMsg_GameEvent_key_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEvent_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameEvent_key_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameEvent_key_t& from) { + CSVCMsg_GameEvent_key_t::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(CSVCMsg_GameEvent_key_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameEvent.key_t"; + } + protected: + explicit CSVCMsg_GameEvent_key_t(::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 { + kValStringFieldNumber = 2, + kTypeFieldNumber = 1, + kValFloatFieldNumber = 3, + kValLongFieldNumber = 4, + kValShortFieldNumber = 5, + kValByteFieldNumber = 6, + kValBoolFieldNumber = 7, + kValUint64FieldNumber = 8, + }; + // optional string val_string = 2; + bool has_val_string() const; + private: + bool _internal_has_val_string() const; + public: + void clear_val_string(); + const std::string& val_string() const; + template + void set_val_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_val_string(); + PROTOBUF_NODISCARD std::string* release_val_string(); + void set_allocated_val_string(std::string* val_string); + private: + const std::string& _internal_val_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); + std::string* _internal_mutable_val_string(); + public: + + // optional int32 type = 1; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional float val_float = 3; + bool has_val_float() const; + private: + bool _internal_has_val_float() const; + public: + void clear_val_float(); + float val_float() const; + void set_val_float(float value); + private: + float _internal_val_float() const; + void _internal_set_val_float(float value); + public: + + // optional int32 val_long = 4; + bool has_val_long() const; + private: + bool _internal_has_val_long() const; + public: + void clear_val_long(); + int32_t val_long() const; + void set_val_long(int32_t value); + private: + int32_t _internal_val_long() const; + void _internal_set_val_long(int32_t value); + public: + + // optional int32 val_short = 5; + bool has_val_short() const; + private: + bool _internal_has_val_short() const; + public: + void clear_val_short(); + int32_t val_short() const; + void set_val_short(int32_t value); + private: + int32_t _internal_val_short() const; + void _internal_set_val_short(int32_t value); + public: + + // optional int32 val_byte = 6; + bool has_val_byte() const; + private: + bool _internal_has_val_byte() const; + public: + void clear_val_byte(); + int32_t val_byte() const; + void set_val_byte(int32_t value); + private: + int32_t _internal_val_byte() const; + void _internal_set_val_byte(int32_t value); + public: + + // optional bool val_bool = 7; + bool has_val_bool() const; + private: + bool _internal_has_val_bool() const; + public: + void clear_val_bool(); + bool val_bool() const; + void set_val_bool(bool value); + private: + bool _internal_val_bool() const; + void _internal_set_val_bool(bool value); + public: + + // optional uint64 val_uint64 = 8; + bool has_val_uint64() const; + private: + bool _internal_has_val_uint64() const; + public: + void clear_val_uint64(); + uint64_t val_uint64() const; + void set_val_uint64(uint64_t value); + private: + uint64_t _internal_val_uint64() const; + void _internal_set_val_uint64(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent.key_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; + int32_t type_; + float val_float_; + int32_t val_long_; + int32_t val_short_; + int32_t val_byte_; + bool val_bool_; + uint64_t val_uint64_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEvent) */ { + public: + inline CSVCMsg_GameEvent() : CSVCMsg_GameEvent(nullptr) {} + ~CSVCMsg_GameEvent() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from); + CSVCMsg_GameEvent(CSVCMsg_GameEvent&& from) noexcept + : CSVCMsg_GameEvent() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameEvent& operator=(const CSVCMsg_GameEvent& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameEvent& operator=(CSVCMsg_GameEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameEvent* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CSVCMsg_GameEvent& a, CSVCMsg_GameEvent& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameEvent* 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(CSVCMsg_GameEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameEvent& from) { + CSVCMsg_GameEvent::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(CSVCMsg_GameEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameEvent"; + } + protected: + explicit CSVCMsg_GameEvent(::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 ---------------------------------------------------- + + typedef CSVCMsg_GameEvent_key_t key_t; + + // accessors ------------------------------------------------------- + + enum : int { + kKeysFieldNumber = 3, + kEventNameFieldNumber = 1, + kEventidFieldNumber = 2, + }; + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + int keys_size() const; + private: + int _internal_keys_size() const; + public: + void clear_keys(); + ::CSVCMsg_GameEvent_key_t* mutable_keys(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* + mutable_keys(); + private: + const ::CSVCMsg_GameEvent_key_t& _internal_keys(int index) const; + ::CSVCMsg_GameEvent_key_t* _internal_add_keys(); + public: + const ::CSVCMsg_GameEvent_key_t& keys(int index) const; + ::CSVCMsg_GameEvent_key_t* add_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& + keys() const; + + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional int32 eventid = 2; + bool has_eventid() const; + private: + bool _internal_has_eventid() const; + public: + void clear_eventid(); + int32_t eventid() const; + void set_eventid(int32_t value); + private: + int32_t _internal_eventid() const; + void _internal_set_eventid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t > keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + int32_t eventid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_GameEvents_event_t final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsgList_GameEvents.event_t) */ { + public: + inline CSVCMsgList_GameEvents_event_t() : CSVCMsgList_GameEvents_event_t(nullptr) {} + ~CSVCMsgList_GameEvents_event_t() override; + explicit PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from); + CSVCMsgList_GameEvents_event_t(CSVCMsgList_GameEvents_event_t&& from) noexcept + : CSVCMsgList_GameEvents_event_t() { + *this = ::std::move(from); + } + + inline CSVCMsgList_GameEvents_event_t& operator=(const CSVCMsgList_GameEvents_event_t& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsgList_GameEvents_event_t& operator=(CSVCMsgList_GameEvents_event_t&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsgList_GameEvents_event_t& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsgList_GameEvents_event_t* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsgList_GameEvents_event_t_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CSVCMsgList_GameEvents_event_t& a, CSVCMsgList_GameEvents_event_t& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsgList_GameEvents_event_t* 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(CSVCMsgList_GameEvents_event_t* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsgList_GameEvents_event_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsgList_GameEvents_event_t& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsgList_GameEvents_event_t& from) { + CSVCMsgList_GameEvents_event_t::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(CSVCMsgList_GameEvents_event_t* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsgList_GameEvents.event_t"; + } + protected: + explicit CSVCMsgList_GameEvents_event_t(::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 { + kEventFieldNumber = 2, + kTickFieldNumber = 1, + }; + // optional .CSVCMsg_GameEvent event = 2; + bool has_event() const; + private: + bool _internal_has_event() const; + public: + void clear_event(); + const ::CSVCMsg_GameEvent& event() const; + PROTOBUF_NODISCARD ::CSVCMsg_GameEvent* release_event(); + ::CSVCMsg_GameEvent* mutable_event(); + void set_allocated_event(::CSVCMsg_GameEvent* event); + private: + const ::CSVCMsg_GameEvent& _internal_event() const; + ::CSVCMsg_GameEvent* _internal_mutable_event(); + public: + void unsafe_arena_set_allocated_event( + ::CSVCMsg_GameEvent* event); + ::CSVCMsg_GameEvent* unsafe_arena_release_event(); + + // optional int32 tick = 1; + bool has_tick() const; + private: + bool _internal_has_tick() const; + public: + void clear_tick(); + int32_t tick() const; + void set_tick(int32_t value); + private: + int32_t _internal_tick() const; + void _internal_set_tick(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents.event_t) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CSVCMsg_GameEvent* event_; + int32_t tick_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_GameEvents final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsgList_GameEvents) */ { + public: + inline CSVCMsgList_GameEvents() : CSVCMsgList_GameEvents(nullptr) {} + ~CSVCMsgList_GameEvents() override; + explicit PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from); + CSVCMsgList_GameEvents(CSVCMsgList_GameEvents&& from) noexcept + : CSVCMsgList_GameEvents() { + *this = ::std::move(from); + } + + inline CSVCMsgList_GameEvents& operator=(const CSVCMsgList_GameEvents& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsgList_GameEvents& operator=(CSVCMsgList_GameEvents&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsgList_GameEvents& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsgList_GameEvents* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsgList_GameEvents_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CSVCMsgList_GameEvents& a, CSVCMsgList_GameEvents& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsgList_GameEvents* 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(CSVCMsgList_GameEvents* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsgList_GameEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsgList_GameEvents& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsgList_GameEvents& from) { + CSVCMsgList_GameEvents::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(CSVCMsgList_GameEvents* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsgList_GameEvents"; + } + protected: + explicit CSVCMsgList_GameEvents(::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 ---------------------------------------------------- + + typedef CSVCMsgList_GameEvents_event_t event_t; + + // accessors ------------------------------------------------------- + + enum : int { + kEventsFieldNumber = 1, + }; + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + int events_size() const; + private: + int _internal_events_size() const; + public: + void clear_events(); + ::CSVCMsgList_GameEvents_event_t* mutable_events(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* + mutable_events(); + private: + const ::CSVCMsgList_GameEvents_event_t& _internal_events(int index) const; + ::CSVCMsgList_GameEvents_event_t* _internal_add_events(); + public: + const ::CSVCMsgList_GameEvents_event_t& events(int index) const; + ::CSVCMsgList_GameEvents_event_t* add_events(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& + events() const; + + // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t > events_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_Load final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_Load) */ { + public: + inline CNETMsg_SpawnGroup_Load() : CNETMsg_SpawnGroup_Load(nullptr) {} + ~CNETMsg_SpawnGroup_Load() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Load(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from); + CNETMsg_SpawnGroup_Load(CNETMsg_SpawnGroup_Load&& from) noexcept + : CNETMsg_SpawnGroup_Load() { + *this = ::std::move(from); + } + + inline CNETMsg_SpawnGroup_Load& operator=(const CNETMsg_SpawnGroup_Load& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SpawnGroup_Load& operator=(CNETMsg_SpawnGroup_Load&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SpawnGroup_Load& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SpawnGroup_Load* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SpawnGroup_Load_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CNETMsg_SpawnGroup_Load& a, CNETMsg_SpawnGroup_Load& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SpawnGroup_Load* 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(CNETMsg_SpawnGroup_Load* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_Load* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SpawnGroup_Load& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SpawnGroup_Load& from) { + CNETMsg_SpawnGroup_Load::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(CNETMsg_SpawnGroup_Load* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SpawnGroup_Load"; + } + protected: + explicit CNETMsg_SpawnGroup_Load(::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 { + kWorldnameFieldNumber = 1, + kEntitylumpnameFieldNumber = 2, + kEntityfilternameFieldNumber = 3, + kSpawngroupmanifestFieldNumber = 8, + kLocalnamefixupFieldNumber = 12, + kParentnamefixupFieldNumber = 13, + kSavegamefilenameFieldNumber = 17, + kWorldgroupnameFieldNumber = 20, + kWorldOffsetPosFieldNumber = 6, + kWorldOffsetAngleFieldNumber = 7, + kSpawngrouphandleFieldNumber = 4, + kSpawngroupownerhandleFieldNumber = 5, + kFlagsFieldNumber = 9, + kTickcountFieldNumber = 10, + kManifestloadpriorityFieldNumber = 14, + kWorldgroupidFieldNumber = 15, + kManifestincompleteFieldNumber = 11, + kLeveltransitionFieldNumber = 19, + kCreationsequenceFieldNumber = 16, + kSpawngroupparenthandleFieldNumber = 18, + }; + // optional string worldname = 1; + bool has_worldname() const; + private: + bool _internal_has_worldname() const; + public: + void clear_worldname(); + const std::string& worldname() const; + template + void set_worldname(ArgT0&& arg0, ArgT... args); + std::string* mutable_worldname(); + PROTOBUF_NODISCARD std::string* release_worldname(); + void set_allocated_worldname(std::string* worldname); + private: + const std::string& _internal_worldname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_worldname(const std::string& value); + std::string* _internal_mutable_worldname(); + public: + + // optional string entitylumpname = 2; + bool has_entitylumpname() const; + private: + bool _internal_has_entitylumpname() const; + public: + void clear_entitylumpname(); + const std::string& entitylumpname() const; + template + void set_entitylumpname(ArgT0&& arg0, ArgT... args); + std::string* mutable_entitylumpname(); + PROTOBUF_NODISCARD std::string* release_entitylumpname(); + void set_allocated_entitylumpname(std::string* entitylumpname); + private: + const std::string& _internal_entitylumpname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entitylumpname(const std::string& value); + std::string* _internal_mutable_entitylumpname(); + public: + + // optional string entityfiltername = 3; + bool has_entityfiltername() const; + private: + bool _internal_has_entityfiltername() const; + public: + void clear_entityfiltername(); + const std::string& entityfiltername() const; + template + void set_entityfiltername(ArgT0&& arg0, ArgT... args); + std::string* mutable_entityfiltername(); + PROTOBUF_NODISCARD std::string* release_entityfiltername(); + void set_allocated_entityfiltername(std::string* entityfiltername); + private: + const std::string& _internal_entityfiltername() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entityfiltername(const std::string& value); + std::string* _internal_mutable_entityfiltername(); + public: + + // optional bytes spawngroupmanifest = 8; + bool has_spawngroupmanifest() const; + private: + bool _internal_has_spawngroupmanifest() const; + public: + void clear_spawngroupmanifest(); + const std::string& spawngroupmanifest() const; + template + void set_spawngroupmanifest(ArgT0&& arg0, ArgT... args); + std::string* mutable_spawngroupmanifest(); + PROTOBUF_NODISCARD std::string* release_spawngroupmanifest(); + void set_allocated_spawngroupmanifest(std::string* spawngroupmanifest); + private: + const std::string& _internal_spawngroupmanifest() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawngroupmanifest(const std::string& value); + std::string* _internal_mutable_spawngroupmanifest(); + public: + + // optional string localnamefixup = 12; + bool has_localnamefixup() const; + private: + bool _internal_has_localnamefixup() const; + public: + void clear_localnamefixup(); + const std::string& localnamefixup() const; + template + void set_localnamefixup(ArgT0&& arg0, ArgT... args); + std::string* mutable_localnamefixup(); + PROTOBUF_NODISCARD std::string* release_localnamefixup(); + void set_allocated_localnamefixup(std::string* localnamefixup); + private: + const std::string& _internal_localnamefixup() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_localnamefixup(const std::string& value); + std::string* _internal_mutable_localnamefixup(); + public: + + // optional string parentnamefixup = 13; + bool has_parentnamefixup() const; + private: + bool _internal_has_parentnamefixup() const; + public: + void clear_parentnamefixup(); + const std::string& parentnamefixup() const; + template + void set_parentnamefixup(ArgT0&& arg0, ArgT... args); + std::string* mutable_parentnamefixup(); + PROTOBUF_NODISCARD std::string* release_parentnamefixup(); + void set_allocated_parentnamefixup(std::string* parentnamefixup); + private: + const std::string& _internal_parentnamefixup() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_parentnamefixup(const std::string& value); + std::string* _internal_mutable_parentnamefixup(); + public: + + // optional string savegamefilename = 17; + bool has_savegamefilename() const; + private: + bool _internal_has_savegamefilename() const; + public: + void clear_savegamefilename(); + const std::string& savegamefilename() const; + template + void set_savegamefilename(ArgT0&& arg0, ArgT... args); + std::string* mutable_savegamefilename(); + PROTOBUF_NODISCARD std::string* release_savegamefilename(); + void set_allocated_savegamefilename(std::string* savegamefilename); + private: + const std::string& _internal_savegamefilename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_savegamefilename(const std::string& value); + std::string* _internal_mutable_savegamefilename(); + public: + + // optional string worldgroupname = 20; + bool has_worldgroupname() const; + private: + bool _internal_has_worldgroupname() const; + public: + void clear_worldgroupname(); + const std::string& worldgroupname() const; + template + void set_worldgroupname(ArgT0&& arg0, ArgT... args); + std::string* mutable_worldgroupname(); + PROTOBUF_NODISCARD std::string* release_worldgroupname(); + void set_allocated_worldgroupname(std::string* worldgroupname); + private: + const std::string& _internal_worldgroupname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_worldgroupname(const std::string& value); + std::string* _internal_mutable_worldgroupname(); + public: + + // optional .CMsgVector world_offset_pos = 6; + bool has_world_offset_pos() const; + private: + bool _internal_has_world_offset_pos() const; + public: + void clear_world_offset_pos(); + const ::CMsgVector& world_offset_pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_world_offset_pos(); + ::CMsgVector* mutable_world_offset_pos(); + void set_allocated_world_offset_pos(::CMsgVector* world_offset_pos); + private: + const ::CMsgVector& _internal_world_offset_pos() const; + ::CMsgVector* _internal_mutable_world_offset_pos(); + public: + void unsafe_arena_set_allocated_world_offset_pos( + ::CMsgVector* world_offset_pos); + ::CMsgVector* unsafe_arena_release_world_offset_pos(); + + // optional .CMsgQAngle world_offset_angle = 7; + bool has_world_offset_angle() const; + private: + bool _internal_has_world_offset_angle() const; + public: + void clear_world_offset_angle(); + const ::CMsgQAngle& world_offset_angle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_world_offset_angle(); + ::CMsgQAngle* mutable_world_offset_angle(); + void set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle); + private: + const ::CMsgQAngle& _internal_world_offset_angle() const; + ::CMsgQAngle* _internal_mutable_world_offset_angle(); + public: + void unsafe_arena_set_allocated_world_offset_angle( + ::CMsgQAngle* world_offset_angle); + ::CMsgQAngle* unsafe_arena_release_world_offset_angle(); + + // optional uint32 spawngrouphandle = 4; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // optional uint32 spawngroupownerhandle = 5; + bool has_spawngroupownerhandle() const; + private: + bool _internal_has_spawngroupownerhandle() const; + public: + void clear_spawngroupownerhandle(); + uint32_t spawngroupownerhandle() const; + void set_spawngroupownerhandle(uint32_t value); + private: + uint32_t _internal_spawngroupownerhandle() const; + void _internal_set_spawngroupownerhandle(uint32_t value); + public: + + // optional uint32 flags = 9; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional int32 tickcount = 10; + bool has_tickcount() const; + private: + bool _internal_has_tickcount() const; + public: + void clear_tickcount(); + int32_t tickcount() const; + void set_tickcount(int32_t value); + private: + int32_t _internal_tickcount() const; + void _internal_set_tickcount(int32_t value); + public: + + // optional int32 manifestloadpriority = 14; + bool has_manifestloadpriority() const; + private: + bool _internal_has_manifestloadpriority() const; + public: + void clear_manifestloadpriority(); + int32_t manifestloadpriority() const; + void set_manifestloadpriority(int32_t value); + private: + int32_t _internal_manifestloadpriority() const; + void _internal_set_manifestloadpriority(int32_t value); + public: + + // optional uint32 worldgroupid = 15; + bool has_worldgroupid() const; + private: + bool _internal_has_worldgroupid() const; + public: + void clear_worldgroupid(); + uint32_t worldgroupid() const; + void set_worldgroupid(uint32_t value); + private: + uint32_t _internal_worldgroupid() const; + void _internal_set_worldgroupid(uint32_t value); + public: + + // optional bool manifestincomplete = 11; + bool has_manifestincomplete() const; + private: + bool _internal_has_manifestincomplete() const; + public: + void clear_manifestincomplete(); + bool manifestincomplete() const; + void set_manifestincomplete(bool value); + private: + bool _internal_manifestincomplete() const; + void _internal_set_manifestincomplete(bool value); + public: + + // optional bool leveltransition = 19; + bool has_leveltransition() const; + private: + bool _internal_has_leveltransition() const; + public: + void clear_leveltransition(); + bool leveltransition() const; + void set_leveltransition(bool value); + private: + bool _internal_leveltransition() const; + void _internal_set_leveltransition(bool value); + public: + + // optional uint32 creationsequence = 16; + bool has_creationsequence() const; + private: + bool _internal_has_creationsequence() const; + public: + void clear_creationsequence(); + uint32_t creationsequence() const; + void set_creationsequence(uint32_t value); + private: + uint32_t _internal_creationsequence() const; + void _internal_set_creationsequence(uint32_t value); + public: + + // optional uint32 spawngroupparenthandle = 18; + bool has_spawngroupparenthandle() const; + private: + bool _internal_has_spawngroupparenthandle() const; + public: + void clear_spawngroupparenthandle(); + uint32_t spawngroupparenthandle() const; + void set_spawngroupparenthandle(uint32_t value); + private: + uint32_t _internal_spawngroupparenthandle() const; + void _internal_set_spawngroupparenthandle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Load) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr worldname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entitylumpname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entityfiltername_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawngroupmanifest_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localnamefixup_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parentnamefixup_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr savegamefilename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr worldgroupname_; + ::CMsgVector* world_offset_pos_; + ::CMsgQAngle* world_offset_angle_; + uint32_t spawngrouphandle_; + uint32_t spawngroupownerhandle_; + uint32_t flags_; + int32_t tickcount_; + int32_t manifestloadpriority_; + uint32_t worldgroupid_; + bool manifestincomplete_; + bool leveltransition_; + uint32_t creationsequence_; + uint32_t spawngroupparenthandle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_ManifestUpdate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_ManifestUpdate) */ { + public: + inline CNETMsg_SpawnGroup_ManifestUpdate() : CNETMsg_SpawnGroup_ManifestUpdate(nullptr) {} + ~CNETMsg_SpawnGroup_ManifestUpdate() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from); + CNETMsg_SpawnGroup_ManifestUpdate(CNETMsg_SpawnGroup_ManifestUpdate&& from) noexcept + : CNETMsg_SpawnGroup_ManifestUpdate() { + *this = ::std::move(from); + } + + inline CNETMsg_SpawnGroup_ManifestUpdate& operator=(const CNETMsg_SpawnGroup_ManifestUpdate& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SpawnGroup_ManifestUpdate& operator=(CNETMsg_SpawnGroup_ManifestUpdate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SpawnGroup_ManifestUpdate& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SpawnGroup_ManifestUpdate* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SpawnGroup_ManifestUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CNETMsg_SpawnGroup_ManifestUpdate& a, CNETMsg_SpawnGroup_ManifestUpdate& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SpawnGroup_ManifestUpdate* 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(CNETMsg_SpawnGroup_ManifestUpdate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_ManifestUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SpawnGroup_ManifestUpdate& from) { + CNETMsg_SpawnGroup_ManifestUpdate::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(CNETMsg_SpawnGroup_ManifestUpdate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SpawnGroup_ManifestUpdate"; + } + protected: + explicit CNETMsg_SpawnGroup_ManifestUpdate(::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 { + kSpawngroupmanifestFieldNumber = 2, + kSpawngrouphandleFieldNumber = 1, + kManifestincompleteFieldNumber = 3, + }; + // optional bytes spawngroupmanifest = 2; + bool has_spawngroupmanifest() const; + private: + bool _internal_has_spawngroupmanifest() const; + public: + void clear_spawngroupmanifest(); + const std::string& spawngroupmanifest() const; + template + void set_spawngroupmanifest(ArgT0&& arg0, ArgT... args); + std::string* mutable_spawngroupmanifest(); + PROTOBUF_NODISCARD std::string* release_spawngroupmanifest(); + void set_allocated_spawngroupmanifest(std::string* spawngroupmanifest); + private: + const std::string& _internal_spawngroupmanifest() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawngroupmanifest(const std::string& value); + std::string* _internal_mutable_spawngroupmanifest(); + public: + + // optional uint32 spawngrouphandle = 1; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // optional bool manifestincomplete = 3; + bool has_manifestincomplete() const; + private: + bool _internal_has_manifestincomplete() const; + public: + void clear_manifestincomplete(); + bool manifestincomplete() const; + void set_manifestincomplete(bool value); + private: + bool _internal_manifestincomplete() const; + void _internal_set_manifestincomplete(bool value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_ManifestUpdate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawngroupmanifest_; + uint32_t spawngrouphandle_; + bool manifestincomplete_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_SetCreationTick final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_SetCreationTick) */ { + public: + inline CNETMsg_SpawnGroup_SetCreationTick() : CNETMsg_SpawnGroup_SetCreationTick(nullptr) {} + ~CNETMsg_SpawnGroup_SetCreationTick() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from); + CNETMsg_SpawnGroup_SetCreationTick(CNETMsg_SpawnGroup_SetCreationTick&& from) noexcept + : CNETMsg_SpawnGroup_SetCreationTick() { + *this = ::std::move(from); + } + + inline CNETMsg_SpawnGroup_SetCreationTick& operator=(const CNETMsg_SpawnGroup_SetCreationTick& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SpawnGroup_SetCreationTick& operator=(CNETMsg_SpawnGroup_SetCreationTick&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SpawnGroup_SetCreationTick& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SpawnGroup_SetCreationTick* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SpawnGroup_SetCreationTick_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CNETMsg_SpawnGroup_SetCreationTick& a, CNETMsg_SpawnGroup_SetCreationTick& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SpawnGroup_SetCreationTick* 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(CNETMsg_SpawnGroup_SetCreationTick* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_SetCreationTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SpawnGroup_SetCreationTick& from) { + CNETMsg_SpawnGroup_SetCreationTick::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(CNETMsg_SpawnGroup_SetCreationTick* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SpawnGroup_SetCreationTick"; + } + protected: + explicit CNETMsg_SpawnGroup_SetCreationTick(::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 { + kSpawngrouphandleFieldNumber = 1, + kTickcountFieldNumber = 2, + kCreationsequenceFieldNumber = 3, + }; + // optional uint32 spawngrouphandle = 1; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // optional int32 tickcount = 2; + bool has_tickcount() const; + private: + bool _internal_has_tickcount() const; + public: + void clear_tickcount(); + int32_t tickcount() const; + void set_tickcount(int32_t value); + private: + int32_t _internal_tickcount() const; + void _internal_set_tickcount(int32_t value); + public: + + // optional uint32 creationsequence = 3; + bool has_creationsequence() const; + private: + bool _internal_has_creationsequence() const; + public: + void clear_creationsequence(); + uint32_t creationsequence() const; + void set_creationsequence(uint32_t value); + private: + uint32_t _internal_creationsequence() const; + void _internal_set_creationsequence(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_SetCreationTick) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t spawngrouphandle_; + int32_t tickcount_; + uint32_t creationsequence_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_Unload final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_Unload) */ { + public: + inline CNETMsg_SpawnGroup_Unload() : CNETMsg_SpawnGroup_Unload(nullptr) {} + ~CNETMsg_SpawnGroup_Unload() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Unload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from); + CNETMsg_SpawnGroup_Unload(CNETMsg_SpawnGroup_Unload&& from) noexcept + : CNETMsg_SpawnGroup_Unload() { + *this = ::std::move(from); + } + + inline CNETMsg_SpawnGroup_Unload& operator=(const CNETMsg_SpawnGroup_Unload& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SpawnGroup_Unload& operator=(CNETMsg_SpawnGroup_Unload&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SpawnGroup_Unload& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SpawnGroup_Unload* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SpawnGroup_Unload_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CNETMsg_SpawnGroup_Unload& a, CNETMsg_SpawnGroup_Unload& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SpawnGroup_Unload* 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(CNETMsg_SpawnGroup_Unload* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_Unload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SpawnGroup_Unload& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SpawnGroup_Unload& from) { + CNETMsg_SpawnGroup_Unload::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(CNETMsg_SpawnGroup_Unload* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SpawnGroup_Unload"; + } + protected: + explicit CNETMsg_SpawnGroup_Unload(::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 { + kSpawngrouphandleFieldNumber = 1, + kFlagsFieldNumber = 2, + kTickcountFieldNumber = 3, + }; + // optional uint32 spawngrouphandle = 1; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // optional uint32 flags = 2; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional int32 tickcount = 3; + bool has_tickcount() const; + private: + bool _internal_has_tickcount() const; + public: + void clear_tickcount(); + int32_t tickcount() const; + void set_tickcount(int32_t value); + private: + int32_t _internal_tickcount() const; + void _internal_set_tickcount(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Unload) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t spawngrouphandle_; + uint32_t flags_; + int32_t tickcount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_LoadCompleted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_LoadCompleted) */ { + public: + inline CNETMsg_SpawnGroup_LoadCompleted() : CNETMsg_SpawnGroup_LoadCompleted(nullptr) {} + ~CNETMsg_SpawnGroup_LoadCompleted() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompleted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from); + CNETMsg_SpawnGroup_LoadCompleted(CNETMsg_SpawnGroup_LoadCompleted&& from) noexcept + : CNETMsg_SpawnGroup_LoadCompleted() { + *this = ::std::move(from); + } + + inline CNETMsg_SpawnGroup_LoadCompleted& operator=(const CNETMsg_SpawnGroup_LoadCompleted& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_SpawnGroup_LoadCompleted& operator=(CNETMsg_SpawnGroup_LoadCompleted&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_SpawnGroup_LoadCompleted& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_SpawnGroup_LoadCompleted* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_SpawnGroup_LoadCompleted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CNETMsg_SpawnGroup_LoadCompleted& a, CNETMsg_SpawnGroup_LoadCompleted& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_SpawnGroup_LoadCompleted* 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(CNETMsg_SpawnGroup_LoadCompleted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_LoadCompleted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_SpawnGroup_LoadCompleted& from) { + CNETMsg_SpawnGroup_LoadCompleted::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(CNETMsg_SpawnGroup_LoadCompleted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_SpawnGroup_LoadCompleted"; + } + protected: + explicit CNETMsg_SpawnGroup_LoadCompleted(::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 { + kSpawngrouphandleFieldNumber = 1, + }; + // optional uint32 spawngrouphandle = 1; + bool has_spawngrouphandle() const; + private: + bool _internal_has_spawngrouphandle() const; + public: + void clear_spawngrouphandle(); + uint32_t spawngrouphandle() const; + void set_spawngrouphandle(uint32_t value); + private: + uint32_t _internal_spawngrouphandle() const; + void _internal_set_spawngrouphandle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_LoadCompleted) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t spawngrouphandle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameSessionConfiguration final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameSessionConfiguration) */ { + public: + inline CSVCMsg_GameSessionConfiguration() : CSVCMsg_GameSessionConfiguration(nullptr) {} + ~CSVCMsg_GameSessionConfiguration() override; + explicit PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfiguration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from); + CSVCMsg_GameSessionConfiguration(CSVCMsg_GameSessionConfiguration&& from) noexcept + : CSVCMsg_GameSessionConfiguration() { + *this = ::std::move(from); + } + + inline CSVCMsg_GameSessionConfiguration& operator=(const CSVCMsg_GameSessionConfiguration& from) { + CopyFrom(from); + return *this; + } + inline CSVCMsg_GameSessionConfiguration& operator=(CSVCMsg_GameSessionConfiguration&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSVCMsg_GameSessionConfiguration& default_instance() { + return *internal_default_instance(); + } + static inline const CSVCMsg_GameSessionConfiguration* internal_default_instance() { + return reinterpret_cast( + &_CSVCMsg_GameSessionConfiguration_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CSVCMsg_GameSessionConfiguration& a, CSVCMsg_GameSessionConfiguration& b) { + a.Swap(&b); + } + inline void Swap(CSVCMsg_GameSessionConfiguration* 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(CSVCMsg_GameSessionConfiguration* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSVCMsg_GameSessionConfiguration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSVCMsg_GameSessionConfiguration& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSVCMsg_GameSessionConfiguration& from) { + CSVCMsg_GameSessionConfiguration::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(CSVCMsg_GameSessionConfiguration* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSVCMsg_GameSessionConfiguration"; + } + protected: + explicit CSVCMsg_GameSessionConfiguration(::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 { + kHostnameFieldNumber = 9, + kSavegamenameFieldNumber = 10, + kS1MapnameFieldNumber = 11, + kGamemodeFieldNumber = 12, + kServerIpAddressFieldNumber = 13, + kDataFieldNumber = 14, + kPreviouslevelFieldNumber = 17, + kLandmarknameFieldNumber = 18, + kIsMultiplayerFieldNumber = 1, + kIsLoadsavegameFieldNumber = 2, + kIsBackgroundMapFieldNumber = 3, + kIsHeadlessFieldNumber = 4, + kMinClientLimitFieldNumber = 5, + kMaxClientLimitFieldNumber = 6, + kMaxClientsFieldNumber = 7, + kTickIntervalFieldNumber = 8, + kIsLocalonlyFieldNumber = 15, + kNoSteamServerFieldNumber = 19, + kIsTransitionFieldNumber = 16, + }; + // optional string hostname = 9; + bool has_hostname() const; + private: + bool _internal_has_hostname() const; + public: + void clear_hostname(); + const std::string& hostname() const; + template + void set_hostname(ArgT0&& arg0, ArgT... args); + std::string* mutable_hostname(); + PROTOBUF_NODISCARD std::string* release_hostname(); + void set_allocated_hostname(std::string* hostname); + private: + const std::string& _internal_hostname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_hostname(const std::string& value); + std::string* _internal_mutable_hostname(); + public: + + // optional string savegamename = 10; + bool has_savegamename() const; + private: + bool _internal_has_savegamename() const; + public: + void clear_savegamename(); + const std::string& savegamename() const; + template + void set_savegamename(ArgT0&& arg0, ArgT... args); + std::string* mutable_savegamename(); + PROTOBUF_NODISCARD std::string* release_savegamename(); + void set_allocated_savegamename(std::string* savegamename); + private: + const std::string& _internal_savegamename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_savegamename(const std::string& value); + std::string* _internal_mutable_savegamename(); + public: + + // optional string s1_mapname = 11; + bool has_s1_mapname() const; + private: + bool _internal_has_s1_mapname() const; + public: + void clear_s1_mapname(); + const std::string& s1_mapname() const; + template + void set_s1_mapname(ArgT0&& arg0, ArgT... args); + std::string* mutable_s1_mapname(); + PROTOBUF_NODISCARD std::string* release_s1_mapname(); + void set_allocated_s1_mapname(std::string* s1_mapname); + private: + const std::string& _internal_s1_mapname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_s1_mapname(const std::string& value); + std::string* _internal_mutable_s1_mapname(); + public: + + // optional string gamemode = 12; + bool has_gamemode() const; + private: + bool _internal_has_gamemode() const; + public: + void clear_gamemode(); + const std::string& gamemode() const; + template + void set_gamemode(ArgT0&& arg0, ArgT... args); + std::string* mutable_gamemode(); + PROTOBUF_NODISCARD std::string* release_gamemode(); + void set_allocated_gamemode(std::string* gamemode); + private: + const std::string& _internal_gamemode() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gamemode(const std::string& value); + std::string* _internal_mutable_gamemode(); + public: + + // optional string server_ip_address = 13; + bool has_server_ip_address() const; + private: + bool _internal_has_server_ip_address() const; + public: + void clear_server_ip_address(); + const std::string& server_ip_address() const; + template + void set_server_ip_address(ArgT0&& arg0, ArgT... args); + std::string* mutable_server_ip_address(); + PROTOBUF_NODISCARD std::string* release_server_ip_address(); + void set_allocated_server_ip_address(std::string* server_ip_address); + private: + const std::string& _internal_server_ip_address() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_ip_address(const std::string& value); + std::string* _internal_mutable_server_ip_address(); + public: + + // optional bytes data = 14; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional string previouslevel = 17; + bool has_previouslevel() const; + private: + bool _internal_has_previouslevel() const; + public: + void clear_previouslevel(); + const std::string& previouslevel() const; + template + void set_previouslevel(ArgT0&& arg0, ArgT... args); + std::string* mutable_previouslevel(); + PROTOBUF_NODISCARD std::string* release_previouslevel(); + void set_allocated_previouslevel(std::string* previouslevel); + private: + const std::string& _internal_previouslevel() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_previouslevel(const std::string& value); + std::string* _internal_mutable_previouslevel(); + public: + + // optional string landmarkname = 18; + bool has_landmarkname() const; + private: + bool _internal_has_landmarkname() const; + public: + void clear_landmarkname(); + const std::string& landmarkname() const; + template + void set_landmarkname(ArgT0&& arg0, ArgT... args); + std::string* mutable_landmarkname(); + PROTOBUF_NODISCARD std::string* release_landmarkname(); + void set_allocated_landmarkname(std::string* landmarkname); + private: + const std::string& _internal_landmarkname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_landmarkname(const std::string& value); + std::string* _internal_mutable_landmarkname(); + public: + + // optional bool is_multiplayer = 1; + bool has_is_multiplayer() const; + private: + bool _internal_has_is_multiplayer() const; + public: + void clear_is_multiplayer(); + bool is_multiplayer() const; + void set_is_multiplayer(bool value); + private: + bool _internal_is_multiplayer() const; + void _internal_set_is_multiplayer(bool value); + public: + + // optional bool is_loadsavegame = 2; + bool has_is_loadsavegame() const; + private: + bool _internal_has_is_loadsavegame() const; + public: + void clear_is_loadsavegame(); + bool is_loadsavegame() const; + void set_is_loadsavegame(bool value); + private: + bool _internal_is_loadsavegame() const; + void _internal_set_is_loadsavegame(bool value); + public: + + // optional bool is_background_map = 3; + bool has_is_background_map() const; + private: + bool _internal_has_is_background_map() const; + public: + void clear_is_background_map(); + bool is_background_map() const; + void set_is_background_map(bool value); + private: + bool _internal_is_background_map() const; + void _internal_set_is_background_map(bool value); + public: + + // optional bool is_headless = 4; + bool has_is_headless() const; + private: + bool _internal_has_is_headless() const; + public: + void clear_is_headless(); + bool is_headless() const; + void set_is_headless(bool value); + private: + bool _internal_is_headless() const; + void _internal_set_is_headless(bool value); + public: + + // optional uint32 min_client_limit = 5; + bool has_min_client_limit() const; + private: + bool _internal_has_min_client_limit() const; + public: + void clear_min_client_limit(); + uint32_t min_client_limit() const; + void set_min_client_limit(uint32_t value); + private: + uint32_t _internal_min_client_limit() const; + void _internal_set_min_client_limit(uint32_t value); + public: + + // optional uint32 max_client_limit = 6; + bool has_max_client_limit() const; + private: + bool _internal_has_max_client_limit() const; + public: + void clear_max_client_limit(); + uint32_t max_client_limit() const; + void set_max_client_limit(uint32_t value); + private: + uint32_t _internal_max_client_limit() const; + void _internal_set_max_client_limit(uint32_t value); + public: + + // optional uint32 max_clients = 7; + bool has_max_clients() const; + private: + bool _internal_has_max_clients() const; + public: + void clear_max_clients(); + uint32_t max_clients() const; + void set_max_clients(uint32_t value); + private: + uint32_t _internal_max_clients() const; + void _internal_set_max_clients(uint32_t value); + public: + + // optional fixed32 tick_interval = 8; + bool has_tick_interval() const; + private: + bool _internal_has_tick_interval() const; + public: + void clear_tick_interval(); + uint32_t tick_interval() const; + void set_tick_interval(uint32_t value); + private: + uint32_t _internal_tick_interval() const; + void _internal_set_tick_interval(uint32_t value); + public: + + // optional bool is_localonly = 15; + bool has_is_localonly() const; + private: + bool _internal_has_is_localonly() const; + public: + void clear_is_localonly(); + bool is_localonly() const; + void set_is_localonly(bool value); + private: + bool _internal_is_localonly() const; + void _internal_set_is_localonly(bool value); + public: + + // optional bool no_steam_server = 19; + bool has_no_steam_server() const; + private: + bool _internal_has_no_steam_server() const; + public: + void clear_no_steam_server(); + bool no_steam_server() const; + void set_no_steam_server(bool value); + private: + bool _internal_no_steam_server() const; + void _internal_set_no_steam_server(bool value); + public: + + // optional bool is_transition = 16; + bool has_is_transition() const; + private: + bool _internal_has_is_transition() const; + public: + void clear_is_transition(); + bool is_transition() const; + void set_is_transition(bool value); + private: + bool _internal_is_transition() const; + void _internal_set_is_transition(bool value); + public: + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameSessionConfiguration) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hostname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr savegamename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr s1_mapname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gamemode_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_ip_address_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr previouslevel_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr landmarkname_; + bool is_multiplayer_; + bool is_loadsavegame_; + bool is_background_map_; + bool is_headless_; + uint32_t min_client_limit_; + uint32_t max_client_limit_; + uint32_t max_clients_; + uint32_t tick_interval_; + bool is_localonly_; + bool no_steam_server_; + bool is_transition_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// ------------------------------------------------------------------- + +class CNETMsg_DebugOverlay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_DebugOverlay) */ { + public: + inline CNETMsg_DebugOverlay() : CNETMsg_DebugOverlay(nullptr) {} + ~CNETMsg_DebugOverlay() override; + explicit PROTOBUF_CONSTEXPR CNETMsg_DebugOverlay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CNETMsg_DebugOverlay(const CNETMsg_DebugOverlay& from); + CNETMsg_DebugOverlay(CNETMsg_DebugOverlay&& from) noexcept + : CNETMsg_DebugOverlay() { + *this = ::std::move(from); + } + + inline CNETMsg_DebugOverlay& operator=(const CNETMsg_DebugOverlay& from) { + CopyFrom(from); + return *this; + } + inline CNETMsg_DebugOverlay& operator=(CNETMsg_DebugOverlay&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CNETMsg_DebugOverlay& default_instance() { + return *internal_default_instance(); + } + static inline const CNETMsg_DebugOverlay* internal_default_instance() { + return reinterpret_cast( + &_CNETMsg_DebugOverlay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CNETMsg_DebugOverlay& a, CNETMsg_DebugOverlay& b) { + a.Swap(&b); + } + inline void Swap(CNETMsg_DebugOverlay* 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(CNETMsg_DebugOverlay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CNETMsg_DebugOverlay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CNETMsg_DebugOverlay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CNETMsg_DebugOverlay& from) { + CNETMsg_DebugOverlay::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(CNETMsg_DebugOverlay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CNETMsg_DebugOverlay"; + } + protected: + explicit CNETMsg_DebugOverlay(::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 { + kVectorsFieldNumber = 2, + kColorsFieldNumber = 3, + kDimensionsFieldNumber = 4, + kTimesFieldNumber = 5, + kBoolsFieldNumber = 6, + kUint64SFieldNumber = 7, + kStringsFieldNumber = 8, + kEtypeFieldNumber = 1, + }; + // repeated .CMsgVector vectors = 2; + int vectors_size() const; + private: + int _internal_vectors_size() const; + public: + void clear_vectors(); + ::CMsgVector* mutable_vectors(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >* + mutable_vectors(); + private: + const ::CMsgVector& _internal_vectors(int index) const; + ::CMsgVector* _internal_add_vectors(); + public: + const ::CMsgVector& vectors(int index) const; + ::CMsgVector* add_vectors(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >& + vectors() const; + + // repeated .CMsgRGBA colors = 3; + int colors_size() const; + private: + int _internal_colors_size() const; + public: + void clear_colors(); + ::CMsgRGBA* mutable_colors(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >* + mutable_colors(); + private: + const ::CMsgRGBA& _internal_colors(int index) const; + ::CMsgRGBA* _internal_add_colors(); + public: + const ::CMsgRGBA& colors(int index) const; + ::CMsgRGBA* add_colors(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >& + colors() const; + + // repeated float dimensions = 4; + int dimensions_size() const; + private: + int _internal_dimensions_size() const; + public: + void clear_dimensions(); + private: + float _internal_dimensions(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_dimensions() const; + void _internal_add_dimensions(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_dimensions(); + public: + float dimensions(int index) const; + void set_dimensions(int index, float value); + void add_dimensions(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + dimensions() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_dimensions(); + + // repeated float times = 5; + int times_size() const; + private: + int _internal_times_size() const; + public: + void clear_times(); + private: + float _internal_times(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_times() const; + void _internal_add_times(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_times(); + public: + float times(int index) const; + void set_times(int index, float value); + void add_times(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + times() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_times(); + + // repeated bool bools = 6; + int bools_size() const; + private: + int _internal_bools_size() const; + public: + void clear_bools(); + private: + bool _internal_bools(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& + _internal_bools() const; + void _internal_add_bools(bool value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* + _internal_mutable_bools(); + public: + bool bools(int index) const; + void set_bools(int index, bool value); + void add_bools(bool value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& + bools() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* + mutable_bools(); + + // repeated uint64 uint64s = 7; + int uint64s_size() const; + private: + int _internal_uint64s_size() const; + public: + void clear_uint64s(); + private: + uint64_t _internal_uint64s(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_uint64s() const; + void _internal_add_uint64s(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_uint64s(); + public: + uint64_t uint64s(int index) const; + void set_uint64s(int index, uint64_t value); + void add_uint64s(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + uint64s() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_uint64s(); + + // repeated string strings = 8; + int strings_size() const; + private: + int _internal_strings_size() const; + public: + void clear_strings(); + const std::string& strings(int index) const; + std::string* mutable_strings(int index); + void set_strings(int index, const std::string& value); + void set_strings(int index, std::string&& value); + void set_strings(int index, const char* value); + void set_strings(int index, const char* value, size_t size); + std::string* add_strings(); + void add_strings(const std::string& value); + void add_strings(std::string&& value); + void add_strings(const char* value); + void add_strings(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& strings() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_strings(); + private: + const std::string& _internal_strings(int index) const; + std::string* _internal_add_strings(); + public: + + // optional int32 etype = 1; + bool has_etype() const; + private: + bool _internal_has_etype() const; + public: + void clear_etype(); + int32_t etype() const; + void set_etype(int32_t value); + private: + int32_t _internal_etype() const; + void _internal_set_etype(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CNETMsg_DebugOverlay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector > vectors_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA > colors_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > dimensions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > times_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bools_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > uint64s_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField strings_; + int32_t etype_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networkbasetypes_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgVector + +// optional float x = 1; +inline bool CMsgVector::_internal_has_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgVector::has_x() const { + return _internal_has_x(); +} +inline void CMsgVector::clear_x() { + _impl_.x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgVector::_internal_x() const { + return _impl_.x_; +} +inline float CMsgVector::x() const { + // @@protoc_insertion_point(field_get:CMsgVector.x) + return _internal_x(); +} +inline void CMsgVector::_internal_set_x(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.x_ = value; +} +inline void CMsgVector::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:CMsgVector.x) +} + +// optional float y = 2; +inline bool CMsgVector::_internal_has_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgVector::has_y() const { + return _internal_has_y(); +} +inline void CMsgVector::clear_y() { + _impl_.y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgVector::_internal_y() const { + return _impl_.y_; +} +inline float CMsgVector::y() const { + // @@protoc_insertion_point(field_get:CMsgVector.y) + return _internal_y(); +} +inline void CMsgVector::_internal_set_y(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.y_ = value; +} +inline void CMsgVector::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:CMsgVector.y) +} + +// optional float z = 3; +inline bool CMsgVector::_internal_has_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgVector::has_z() const { + return _internal_has_z(); +} +inline void CMsgVector::clear_z() { + _impl_.z_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgVector::_internal_z() const { + return _impl_.z_; +} +inline float CMsgVector::z() const { + // @@protoc_insertion_point(field_get:CMsgVector.z) + return _internal_z(); +} +inline void CMsgVector::_internal_set_z(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.z_ = value; +} +inline void CMsgVector::set_z(float value) { + _internal_set_z(value); + // @@protoc_insertion_point(field_set:CMsgVector.z) +} + +// optional float w = 4; +inline bool CMsgVector::_internal_has_w() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgVector::has_w() const { + return _internal_has_w(); +} +inline void CMsgVector::clear_w() { + _impl_.w_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CMsgVector::_internal_w() const { + return _impl_.w_; +} +inline float CMsgVector::w() const { + // @@protoc_insertion_point(field_get:CMsgVector.w) + return _internal_w(); +} +inline void CMsgVector::_internal_set_w(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.w_ = value; +} +inline void CMsgVector::set_w(float value) { + _internal_set_w(value); + // @@protoc_insertion_point(field_set:CMsgVector.w) +} + +// ------------------------------------------------------------------- + +// CMsgVector2D + +// optional float x = 1; +inline bool CMsgVector2D::_internal_has_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgVector2D::has_x() const { + return _internal_has_x(); +} +inline void CMsgVector2D::clear_x() { + _impl_.x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgVector2D::_internal_x() const { + return _impl_.x_; +} +inline float CMsgVector2D::x() const { + // @@protoc_insertion_point(field_get:CMsgVector2D.x) + return _internal_x(); +} +inline void CMsgVector2D::_internal_set_x(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.x_ = value; +} +inline void CMsgVector2D::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:CMsgVector2D.x) +} + +// optional float y = 2; +inline bool CMsgVector2D::_internal_has_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgVector2D::has_y() const { + return _internal_has_y(); +} +inline void CMsgVector2D::clear_y() { + _impl_.y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgVector2D::_internal_y() const { + return _impl_.y_; +} +inline float CMsgVector2D::y() const { + // @@protoc_insertion_point(field_get:CMsgVector2D.y) + return _internal_y(); +} +inline void CMsgVector2D::_internal_set_y(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.y_ = value; +} +inline void CMsgVector2D::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:CMsgVector2D.y) +} + +// ------------------------------------------------------------------- + +// CMsgQAngle + +// optional float x = 1; +inline bool CMsgQAngle::_internal_has_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgQAngle::has_x() const { + return _internal_has_x(); +} +inline void CMsgQAngle::clear_x() { + _impl_.x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgQAngle::_internal_x() const { + return _impl_.x_; +} +inline float CMsgQAngle::x() const { + // @@protoc_insertion_point(field_get:CMsgQAngle.x) + return _internal_x(); +} +inline void CMsgQAngle::_internal_set_x(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.x_ = value; +} +inline void CMsgQAngle::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:CMsgQAngle.x) +} + +// optional float y = 2; +inline bool CMsgQAngle::_internal_has_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgQAngle::has_y() const { + return _internal_has_y(); +} +inline void CMsgQAngle::clear_y() { + _impl_.y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgQAngle::_internal_y() const { + return _impl_.y_; +} +inline float CMsgQAngle::y() const { + // @@protoc_insertion_point(field_get:CMsgQAngle.y) + return _internal_y(); +} +inline void CMsgQAngle::_internal_set_y(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.y_ = value; +} +inline void CMsgQAngle::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:CMsgQAngle.y) +} + +// optional float z = 3; +inline bool CMsgQAngle::_internal_has_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgQAngle::has_z() const { + return _internal_has_z(); +} +inline void CMsgQAngle::clear_z() { + _impl_.z_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgQAngle::_internal_z() const { + return _impl_.z_; +} +inline float CMsgQAngle::z() const { + // @@protoc_insertion_point(field_get:CMsgQAngle.z) + return _internal_z(); +} +inline void CMsgQAngle::_internal_set_z(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.z_ = value; +} +inline void CMsgQAngle::set_z(float value) { + _internal_set_z(value); + // @@protoc_insertion_point(field_set:CMsgQAngle.z) +} + +// ------------------------------------------------------------------- + +// CMsgQuaternion + +// optional float x = 1; +inline bool CMsgQuaternion::_internal_has_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgQuaternion::has_x() const { + return _internal_has_x(); +} +inline void CMsgQuaternion::clear_x() { + _impl_.x_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CMsgQuaternion::_internal_x() const { + return _impl_.x_; +} +inline float CMsgQuaternion::x() const { + // @@protoc_insertion_point(field_get:CMsgQuaternion.x) + return _internal_x(); +} +inline void CMsgQuaternion::_internal_set_x(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.x_ = value; +} +inline void CMsgQuaternion::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:CMsgQuaternion.x) +} + +// optional float y = 2; +inline bool CMsgQuaternion::_internal_has_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgQuaternion::has_y() const { + return _internal_has_y(); +} +inline void CMsgQuaternion::clear_y() { + _impl_.y_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgQuaternion::_internal_y() const { + return _impl_.y_; +} +inline float CMsgQuaternion::y() const { + // @@protoc_insertion_point(field_get:CMsgQuaternion.y) + return _internal_y(); +} +inline void CMsgQuaternion::_internal_set_y(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.y_ = value; +} +inline void CMsgQuaternion::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:CMsgQuaternion.y) +} + +// optional float z = 3; +inline bool CMsgQuaternion::_internal_has_z() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgQuaternion::has_z() const { + return _internal_has_z(); +} +inline void CMsgQuaternion::clear_z() { + _impl_.z_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgQuaternion::_internal_z() const { + return _impl_.z_; +} +inline float CMsgQuaternion::z() const { + // @@protoc_insertion_point(field_get:CMsgQuaternion.z) + return _internal_z(); +} +inline void CMsgQuaternion::_internal_set_z(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.z_ = value; +} +inline void CMsgQuaternion::set_z(float value) { + _internal_set_z(value); + // @@protoc_insertion_point(field_set:CMsgQuaternion.z) +} + +// optional float w = 4; +inline bool CMsgQuaternion::_internal_has_w() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgQuaternion::has_w() const { + return _internal_has_w(); +} +inline void CMsgQuaternion::clear_w() { + _impl_.w_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CMsgQuaternion::_internal_w() const { + return _impl_.w_; +} +inline float CMsgQuaternion::w() const { + // @@protoc_insertion_point(field_get:CMsgQuaternion.w) + return _internal_w(); +} +inline void CMsgQuaternion::_internal_set_w(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.w_ = value; +} +inline void CMsgQuaternion::set_w(float value) { + _internal_set_w(value); + // @@protoc_insertion_point(field_set:CMsgQuaternion.w) +} + +// ------------------------------------------------------------------- + +// CMsgTransform + +// optional .CMsgVector position = 1; +inline bool CMsgTransform::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CMsgTransform::has_position() const { + return _internal_has_position(); +} +inline void CMsgTransform::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgVector& CMsgTransform::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTransform::position() const { + // @@protoc_insertion_point(field_get:CMsgTransform.position) + return _internal_position(); +} +inline void CMsgTransform::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTransform.position) +} +inline ::CMsgVector* CMsgTransform::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CMsgTransform::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CMsgTransform.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTransform::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CMsgTransform::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CMsgTransform.position) + return _msg; +} +inline void CMsgTransform::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.position_; + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CMsgTransform.position) +} + +// optional float scale = 2; +inline bool CMsgTransform::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTransform::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgTransform::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTransform::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgTransform::scale() const { + // @@protoc_insertion_point(field_get:CMsgTransform.scale) + return _internal_scale(); +} +inline void CMsgTransform::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.scale_ = value; +} +inline void CMsgTransform::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgTransform.scale) +} + +// optional .CMsgQuaternion orientation = 3; +inline bool CMsgTransform::_internal_has_orientation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orientation_ != nullptr); + return value; +} +inline bool CMsgTransform::has_orientation() const { + return _internal_has_orientation(); +} +inline void CMsgTransform::clear_orientation() { + if (_impl_.orientation_ != nullptr) _impl_.orientation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgQuaternion& CMsgTransform::_internal_orientation() const { + const ::CMsgQuaternion* p = _impl_.orientation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQuaternion_default_instance_); +} +inline const ::CMsgQuaternion& CMsgTransform::orientation() const { + // @@protoc_insertion_point(field_get:CMsgTransform.orientation) + return _internal_orientation(); +} +inline void CMsgTransform::unsafe_arena_set_allocated_orientation( + ::CMsgQuaternion* orientation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); + } + _impl_.orientation_ = orientation; + if (orientation) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTransform.orientation) +} +inline ::CMsgQuaternion* CMsgTransform::release_orientation() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQuaternion* temp = _impl_.orientation_; + _impl_.orientation_ = 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 ::CMsgQuaternion* CMsgTransform::unsafe_arena_release_orientation() { + // @@protoc_insertion_point(field_release:CMsgTransform.orientation) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQuaternion* temp = _impl_.orientation_; + _impl_.orientation_ = nullptr; + return temp; +} +inline ::CMsgQuaternion* CMsgTransform::_internal_mutable_orientation() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.orientation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQuaternion>(GetArenaForAllocation()); + _impl_.orientation_ = p; + } + return _impl_.orientation_; +} +inline ::CMsgQuaternion* CMsgTransform::mutable_orientation() { + ::CMsgQuaternion* _msg = _internal_mutable_orientation(); + // @@protoc_insertion_point(field_mutable:CMsgTransform.orientation) + return _msg; +} +inline void CMsgTransform::set_allocated_orientation(::CMsgQuaternion* orientation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.orientation_; + } + if (orientation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(orientation); + if (message_arena != submessage_arena) { + orientation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, orientation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.orientation_ = orientation; + // @@protoc_insertion_point(field_set_allocated:CMsgTransform.orientation) +} + +// ------------------------------------------------------------------- + +// CMsgRGBA + +// optional int32 r = 1; +inline bool CMsgRGBA::_internal_has_r() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgRGBA::has_r() const { + return _internal_has_r(); +} +inline void CMsgRGBA::clear_r() { + _impl_.r_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CMsgRGBA::_internal_r() const { + return _impl_.r_; +} +inline int32_t CMsgRGBA::r() const { + // @@protoc_insertion_point(field_get:CMsgRGBA.r) + return _internal_r(); +} +inline void CMsgRGBA::_internal_set_r(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.r_ = value; +} +inline void CMsgRGBA::set_r(int32_t value) { + _internal_set_r(value); + // @@protoc_insertion_point(field_set:CMsgRGBA.r) +} + +// optional int32 g = 2; +inline bool CMsgRGBA::_internal_has_g() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgRGBA::has_g() const { + return _internal_has_g(); +} +inline void CMsgRGBA::clear_g() { + _impl_.g_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgRGBA::_internal_g() const { + return _impl_.g_; +} +inline int32_t CMsgRGBA::g() const { + // @@protoc_insertion_point(field_get:CMsgRGBA.g) + return _internal_g(); +} +inline void CMsgRGBA::_internal_set_g(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.g_ = value; +} +inline void CMsgRGBA::set_g(int32_t value) { + _internal_set_g(value); + // @@protoc_insertion_point(field_set:CMsgRGBA.g) +} + +// optional int32 b = 3; +inline bool CMsgRGBA::_internal_has_b() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgRGBA::has_b() const { + return _internal_has_b(); +} +inline void CMsgRGBA::clear_b() { + _impl_.b_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgRGBA::_internal_b() const { + return _impl_.b_; +} +inline int32_t CMsgRGBA::b() const { + // @@protoc_insertion_point(field_get:CMsgRGBA.b) + return _internal_b(); +} +inline void CMsgRGBA::_internal_set_b(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.b_ = value; +} +inline void CMsgRGBA::set_b(int32_t value) { + _internal_set_b(value); + // @@protoc_insertion_point(field_set:CMsgRGBA.b) +} + +// optional int32 a = 4; +inline bool CMsgRGBA::_internal_has_a() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgRGBA::has_a() const { + return _internal_has_a(); +} +inline void CMsgRGBA::clear_a() { + _impl_.a_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgRGBA::_internal_a() const { + return _impl_.a_; +} +inline int32_t CMsgRGBA::a() const { + // @@protoc_insertion_point(field_get:CMsgRGBA.a) + return _internal_a(); +} +inline void CMsgRGBA::_internal_set_a(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.a_ = value; +} +inline void CMsgRGBA::set_a(int32_t value) { + _internal_set_a(value); + // @@protoc_insertion_point(field_set:CMsgRGBA.a) +} + +// ------------------------------------------------------------------- + +// CMsgPlayerInfo + +// optional string name = 1; +inline bool CMsgPlayerInfo::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_name() const { + return _internal_has_name(); +} +inline void CMsgPlayerInfo::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgPlayerInfo::name() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgPlayerInfo::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.name) +} +inline std::string* CMsgPlayerInfo::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgPlayerInfo.name) + return _s; +} +inline const std::string& CMsgPlayerInfo::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgPlayerInfo::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgPlayerInfo::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgPlayerInfo::release_name() { + // @@protoc_insertion_point(field_release:CMsgPlayerInfo.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgPlayerInfo::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgPlayerInfo.name) +} + +// optional fixed64 xuid = 2; +inline bool CMsgPlayerInfo::_internal_has_xuid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_xuid() const { + return _internal_has_xuid(); +} +inline void CMsgPlayerInfo::clear_xuid() { + _impl_.xuid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgPlayerInfo::_internal_xuid() const { + return _impl_.xuid_; +} +inline uint64_t CMsgPlayerInfo::xuid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.xuid) + return _internal_xuid(); +} +inline void CMsgPlayerInfo::_internal_set_xuid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.xuid_ = value; +} +inline void CMsgPlayerInfo::set_xuid(uint64_t value) { + _internal_set_xuid(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.xuid) +} + +// optional int32 userid = 3; +inline bool CMsgPlayerInfo::_internal_has_userid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_userid() const { + return _internal_has_userid(); +} +inline void CMsgPlayerInfo::clear_userid() { + _impl_.userid_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgPlayerInfo::_internal_userid() const { + return _impl_.userid_; +} +inline int32_t CMsgPlayerInfo::userid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.userid) + return _internal_userid(); +} +inline void CMsgPlayerInfo::_internal_set_userid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.userid_ = value; +} +inline void CMsgPlayerInfo::set_userid(int32_t value) { + _internal_set_userid(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.userid) +} + +// optional fixed64 steamid = 4; +inline bool CMsgPlayerInfo::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_steamid() const { + return _internal_has_steamid(); +} +inline void CMsgPlayerInfo::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgPlayerInfo::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CMsgPlayerInfo::steamid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.steamid) + return _internal_steamid(); +} +inline void CMsgPlayerInfo::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.steamid_ = value; +} +inline void CMsgPlayerInfo::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.steamid) +} + +// optional bool fakeplayer = 5; +inline bool CMsgPlayerInfo::_internal_has_fakeplayer() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_fakeplayer() const { + return _internal_has_fakeplayer(); +} +inline void CMsgPlayerInfo::clear_fakeplayer() { + _impl_.fakeplayer_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CMsgPlayerInfo::_internal_fakeplayer() const { + return _impl_.fakeplayer_; +} +inline bool CMsgPlayerInfo::fakeplayer() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.fakeplayer) + return _internal_fakeplayer(); +} +inline void CMsgPlayerInfo::_internal_set_fakeplayer(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.fakeplayer_ = value; +} +inline void CMsgPlayerInfo::set_fakeplayer(bool value) { + _internal_set_fakeplayer(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.fakeplayer) +} + +// optional bool ishltv = 6; +inline bool CMsgPlayerInfo::_internal_has_ishltv() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgPlayerInfo::has_ishltv() const { + return _internal_has_ishltv(); +} +inline void CMsgPlayerInfo::clear_ishltv() { + _impl_.ishltv_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CMsgPlayerInfo::_internal_ishltv() const { + return _impl_.ishltv_; +} +inline bool CMsgPlayerInfo::ishltv() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.ishltv) + return _internal_ishltv(); +} +inline void CMsgPlayerInfo::_internal_set_ishltv(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.ishltv_ = value; +} +inline void CMsgPlayerInfo::set_ishltv(bool value) { + _internal_set_ishltv(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.ishltv) +} + +// ------------------------------------------------------------------- + +// CEntityMsg + +// optional uint32 target_entity = 1 [default = 16777215]; +inline bool CEntityMsg::_internal_has_target_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CEntityMsg::has_target_entity() const { + return _internal_has_target_entity(); +} +inline void CEntityMsg::clear_target_entity() { + _impl_.target_entity_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CEntityMsg::_internal_target_entity() const { + return _impl_.target_entity_; +} +inline uint32_t CEntityMsg::target_entity() const { + // @@protoc_insertion_point(field_get:CEntityMsg.target_entity) + return _internal_target_entity(); +} +inline void CEntityMsg::_internal_set_target_entity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.target_entity_ = value; +} +inline void CEntityMsg::set_target_entity(uint32_t value) { + _internal_set_target_entity(value); + // @@protoc_insertion_point(field_set:CEntityMsg.target_entity) +} + +// ------------------------------------------------------------------- + +// CMsg_CVars_CVar + +// optional string name = 1; +inline bool CMsg_CVars_CVar::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsg_CVars_CVar::has_name() const { + return _internal_has_name(); +} +inline void CMsg_CVars_CVar::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsg_CVars_CVar::name() const { + // @@protoc_insertion_point(field_get:CMsg_CVars.CVar.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsg_CVars_CVar::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsg_CVars.CVar.name) +} +inline std::string* CMsg_CVars_CVar::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsg_CVars.CVar.name) + return _s; +} +inline const std::string& CMsg_CVars_CVar::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsg_CVars_CVar::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsg_CVars_CVar::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsg_CVars_CVar::release_name() { + // @@protoc_insertion_point(field_release:CMsg_CVars.CVar.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsg_CVars_CVar::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsg_CVars.CVar.name) +} + +// optional string value = 2; +inline bool CMsg_CVars_CVar::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsg_CVars_CVar::has_value() const { + return _internal_has_value(); +} +inline void CMsg_CVars_CVar::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsg_CVars_CVar::value() const { + // @@protoc_insertion_point(field_get:CMsg_CVars.CVar.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsg_CVars_CVar::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsg_CVars.CVar.value) +} +inline std::string* CMsg_CVars_CVar::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CMsg_CVars.CVar.value) + return _s; +} +inline const std::string& CMsg_CVars_CVar::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CMsg_CVars_CVar::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsg_CVars_CVar::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsg_CVars_CVar::release_value() { + // @@protoc_insertion_point(field_release:CMsg_CVars.CVar.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsg_CVars_CVar::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsg_CVars.CVar.value) +} + +// ------------------------------------------------------------------- + +// CMsg_CVars + +// repeated .CMsg_CVars.CVar cvars = 1; +inline int CMsg_CVars::_internal_cvars_size() const { + return _impl_.cvars_.size(); +} +inline int CMsg_CVars::cvars_size() const { + return _internal_cvars_size(); +} +inline void CMsg_CVars::clear_cvars() { + _impl_.cvars_.Clear(); +} +inline ::CMsg_CVars_CVar* CMsg_CVars::mutable_cvars(int index) { + // @@protoc_insertion_point(field_mutable:CMsg_CVars.cvars) + return _impl_.cvars_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >* +CMsg_CVars::mutable_cvars() { + // @@protoc_insertion_point(field_mutable_list:CMsg_CVars.cvars) + return &_impl_.cvars_; +} +inline const ::CMsg_CVars_CVar& CMsg_CVars::_internal_cvars(int index) const { + return _impl_.cvars_.Get(index); +} +inline const ::CMsg_CVars_CVar& CMsg_CVars::cvars(int index) const { + // @@protoc_insertion_point(field_get:CMsg_CVars.cvars) + return _internal_cvars(index); +} +inline ::CMsg_CVars_CVar* CMsg_CVars::_internal_add_cvars() { + return _impl_.cvars_.Add(); +} +inline ::CMsg_CVars_CVar* CMsg_CVars::add_cvars() { + ::CMsg_CVars_CVar* _add = _internal_add_cvars(); + // @@protoc_insertion_point(field_add:CMsg_CVars.cvars) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >& +CMsg_CVars::cvars() const { + // @@protoc_insertion_point(field_list:CMsg_CVars.cvars) + return _impl_.cvars_; +} + +// ------------------------------------------------------------------- + +// CNETMsg_NOP + +// ------------------------------------------------------------------- + +// CNETMsg_SplitScreenUser + +// optional int32 slot = 1; +inline bool CNETMsg_SplitScreenUser::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SplitScreenUser::has_slot() const { + return _internal_has_slot(); +} +inline void CNETMsg_SplitScreenUser::clear_slot() { + _impl_.slot_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CNETMsg_SplitScreenUser::_internal_slot() const { + return _impl_.slot_; +} +inline int32_t CNETMsg_SplitScreenUser::slot() const { + // @@protoc_insertion_point(field_get:CNETMsg_SplitScreenUser.slot) + return _internal_slot(); +} +inline void CNETMsg_SplitScreenUser::_internal_set_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.slot_ = value; +} +inline void CNETMsg_SplitScreenUser::set_slot(int32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:CNETMsg_SplitScreenUser.slot) +} + +// ------------------------------------------------------------------- + +// CNETMsg_Tick + +// optional uint32 tick = 1; +inline bool CNETMsg_Tick::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_tick() const { + return _internal_has_tick(); +} +inline void CNETMsg_Tick::clear_tick() { + _impl_.tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CNETMsg_Tick::_internal_tick() const { + return _impl_.tick_; +} +inline uint32_t CNETMsg_Tick::tick() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.tick) + return _internal_tick(); +} +inline void CNETMsg_Tick::_internal_set_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tick_ = value; +} +inline void CNETMsg_Tick::set_tick(uint32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.tick) +} + +// optional uint32 host_computationtime = 4; +inline bool CNETMsg_Tick::_internal_has_host_computationtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_host_computationtime() const { + return _internal_has_host_computationtime(); +} +inline void CNETMsg_Tick::clear_host_computationtime() { + _impl_.host_computationtime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CNETMsg_Tick::_internal_host_computationtime() const { + return _impl_.host_computationtime_; +} +inline uint32_t CNETMsg_Tick::host_computationtime() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_computationtime) + return _internal_host_computationtime(); +} +inline void CNETMsg_Tick::_internal_set_host_computationtime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.host_computationtime_ = value; +} +inline void CNETMsg_Tick::set_host_computationtime(uint32_t value) { + _internal_set_host_computationtime(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_computationtime) +} + +// optional uint32 host_computationtime_std_deviation = 5; +inline bool CNETMsg_Tick::_internal_has_host_computationtime_std_deviation() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_host_computationtime_std_deviation() const { + return _internal_has_host_computationtime_std_deviation(); +} +inline void CNETMsg_Tick::clear_host_computationtime_std_deviation() { + _impl_.host_computationtime_std_deviation_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CNETMsg_Tick::_internal_host_computationtime_std_deviation() const { + return _impl_.host_computationtime_std_deviation_; +} +inline uint32_t CNETMsg_Tick::host_computationtime_std_deviation() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_computationtime_std_deviation) + return _internal_host_computationtime_std_deviation(); +} +inline void CNETMsg_Tick::_internal_set_host_computationtime_std_deviation(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.host_computationtime_std_deviation_ = value; +} +inline void CNETMsg_Tick::set_host_computationtime_std_deviation(uint32_t value) { + _internal_set_host_computationtime_std_deviation(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_computationtime_std_deviation) +} + +// optional uint32 legacy_host_loss = 7; +inline bool CNETMsg_Tick::_internal_has_legacy_host_loss() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_legacy_host_loss() const { + return _internal_has_legacy_host_loss(); +} +inline void CNETMsg_Tick::clear_legacy_host_loss() { + _impl_.legacy_host_loss_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CNETMsg_Tick::_internal_legacy_host_loss() const { + return _impl_.legacy_host_loss_; +} +inline uint32_t CNETMsg_Tick::legacy_host_loss() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.legacy_host_loss) + return _internal_legacy_host_loss(); +} +inline void CNETMsg_Tick::_internal_set_legacy_host_loss(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_host_loss_ = value; +} +inline void CNETMsg_Tick::set_legacy_host_loss(uint32_t value) { + _internal_set_legacy_host_loss(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.legacy_host_loss) +} + +// optional uint32 host_unfiltered_frametime = 8; +inline bool CNETMsg_Tick::_internal_has_host_unfiltered_frametime() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_host_unfiltered_frametime() const { + return _internal_has_host_unfiltered_frametime(); +} +inline void CNETMsg_Tick::clear_host_unfiltered_frametime() { + _impl_.host_unfiltered_frametime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CNETMsg_Tick::_internal_host_unfiltered_frametime() const { + return _impl_.host_unfiltered_frametime_; +} +inline uint32_t CNETMsg_Tick::host_unfiltered_frametime() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_unfiltered_frametime) + return _internal_host_unfiltered_frametime(); +} +inline void CNETMsg_Tick::_internal_set_host_unfiltered_frametime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.host_unfiltered_frametime_ = value; +} +inline void CNETMsg_Tick::set_host_unfiltered_frametime(uint32_t value) { + _internal_set_host_unfiltered_frametime(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_unfiltered_frametime) +} + +// optional uint32 hltv_replay_flags = 9; +inline bool CNETMsg_Tick::_internal_has_hltv_replay_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_hltv_replay_flags() const { + return _internal_has_hltv_replay_flags(); +} +inline void CNETMsg_Tick::clear_hltv_replay_flags() { + _impl_.hltv_replay_flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CNETMsg_Tick::_internal_hltv_replay_flags() const { + return _impl_.hltv_replay_flags_; +} +inline uint32_t CNETMsg_Tick::hltv_replay_flags() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.hltv_replay_flags) + return _internal_hltv_replay_flags(); +} +inline void CNETMsg_Tick::_internal_set_hltv_replay_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.hltv_replay_flags_ = value; +} +inline void CNETMsg_Tick::set_hltv_replay_flags(uint32_t value) { + _internal_set_hltv_replay_flags(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.hltv_replay_flags) +} + +// optional uint32 expected_long_tick = 10; +inline bool CNETMsg_Tick::_internal_has_expected_long_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_expected_long_tick() const { + return _internal_has_expected_long_tick(); +} +inline void CNETMsg_Tick::clear_expected_long_tick() { + _impl_.expected_long_tick_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CNETMsg_Tick::_internal_expected_long_tick() const { + return _impl_.expected_long_tick_; +} +inline uint32_t CNETMsg_Tick::expected_long_tick() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.expected_long_tick) + return _internal_expected_long_tick(); +} +inline void CNETMsg_Tick::_internal_set_expected_long_tick(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.expected_long_tick_ = value; +} +inline void CNETMsg_Tick::set_expected_long_tick(uint32_t value) { + _internal_set_expected_long_tick(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.expected_long_tick) +} + +// optional string expected_long_tick_reason = 11; +inline bool CNETMsg_Tick::_internal_has_expected_long_tick_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_expected_long_tick_reason() const { + return _internal_has_expected_long_tick_reason(); +} +inline void CNETMsg_Tick::clear_expected_long_tick_reason() { + _impl_.expected_long_tick_reason_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CNETMsg_Tick::expected_long_tick_reason() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.expected_long_tick_reason) + return _internal_expected_long_tick_reason(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_Tick::set_expected_long_tick_reason(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.expected_long_tick_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.expected_long_tick_reason) +} +inline std::string* CNETMsg_Tick::mutable_expected_long_tick_reason() { + std::string* _s = _internal_mutable_expected_long_tick_reason(); + // @@protoc_insertion_point(field_mutable:CNETMsg_Tick.expected_long_tick_reason) + return _s; +} +inline const std::string& CNETMsg_Tick::_internal_expected_long_tick_reason() const { + return _impl_.expected_long_tick_reason_.Get(); +} +inline void CNETMsg_Tick::_internal_set_expected_long_tick_reason(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.expected_long_tick_reason_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_Tick::_internal_mutable_expected_long_tick_reason() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.expected_long_tick_reason_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_Tick::release_expected_long_tick_reason() { + // @@protoc_insertion_point(field_release:CNETMsg_Tick.expected_long_tick_reason) + if (!_internal_has_expected_long_tick_reason()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.expected_long_tick_reason_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.expected_long_tick_reason_.IsDefault()) { + _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_Tick::set_allocated_expected_long_tick_reason(std::string* expected_long_tick_reason) { + if (expected_long_tick_reason != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.expected_long_tick_reason_.SetAllocated(expected_long_tick_reason, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.expected_long_tick_reason_.IsDefault()) { + _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_Tick.expected_long_tick_reason) +} + +// optional uint32 host_frame_dropped_pct_x10 = 12; +inline bool CNETMsg_Tick::_internal_has_host_frame_dropped_pct_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_host_frame_dropped_pct_x10() const { + return _internal_has_host_frame_dropped_pct_x10(); +} +inline void CNETMsg_Tick::clear_host_frame_dropped_pct_x10() { + _impl_.host_frame_dropped_pct_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CNETMsg_Tick::_internal_host_frame_dropped_pct_x10() const { + return _impl_.host_frame_dropped_pct_x10_; +} +inline uint32_t CNETMsg_Tick::host_frame_dropped_pct_x10() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frame_dropped_pct_x10) + return _internal_host_frame_dropped_pct_x10(); +} +inline void CNETMsg_Tick::_internal_set_host_frame_dropped_pct_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.host_frame_dropped_pct_x10_ = value; +} +inline void CNETMsg_Tick::set_host_frame_dropped_pct_x10(uint32_t value) { + _internal_set_host_frame_dropped_pct_x10(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frame_dropped_pct_x10) +} + +// optional uint32 host_frame_irregular_arrival_pct_x10 = 13; +inline bool CNETMsg_Tick::_internal_has_host_frame_irregular_arrival_pct_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CNETMsg_Tick::has_host_frame_irregular_arrival_pct_x10() const { + return _internal_has_host_frame_irregular_arrival_pct_x10(); +} +inline void CNETMsg_Tick::clear_host_frame_irregular_arrival_pct_x10() { + _impl_.host_frame_irregular_arrival_pct_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CNETMsg_Tick::_internal_host_frame_irregular_arrival_pct_x10() const { + return _impl_.host_frame_irregular_arrival_pct_x10_; +} +inline uint32_t CNETMsg_Tick::host_frame_irregular_arrival_pct_x10() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frame_irregular_arrival_pct_x10) + return _internal_host_frame_irregular_arrival_pct_x10(); +} +inline void CNETMsg_Tick::_internal_set_host_frame_irregular_arrival_pct_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.host_frame_irregular_arrival_pct_x10_ = value; +} +inline void CNETMsg_Tick::set_host_frame_irregular_arrival_pct_x10(uint32_t value) { + _internal_set_host_frame_irregular_arrival_pct_x10(value); + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frame_irregular_arrival_pct_x10) +} + +// ------------------------------------------------------------------- + +// CNETMsg_StringCmd + +// optional string command = 1; +inline bool CNETMsg_StringCmd::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_StringCmd::has_command() const { + return _internal_has_command(); +} +inline void CNETMsg_StringCmd::clear_command() { + _impl_.command_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CNETMsg_StringCmd::command() const { + // @@protoc_insertion_point(field_get:CNETMsg_StringCmd.command) + return _internal_command(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_StringCmd::set_command(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_StringCmd.command) +} +inline std::string* CNETMsg_StringCmd::mutable_command() { + std::string* _s = _internal_mutable_command(); + // @@protoc_insertion_point(field_mutable:CNETMsg_StringCmd.command) + return _s; +} +inline const std::string& CNETMsg_StringCmd::_internal_command() const { + return _impl_.command_.Get(); +} +inline void CNETMsg_StringCmd::_internal_set_command(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_StringCmd::_internal_mutable_command() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.command_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_StringCmd::release_command() { + // @@protoc_insertion_point(field_release:CNETMsg_StringCmd.command) + if (!_internal_has_command()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.command_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_.IsDefault()) { + _impl_.command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_StringCmd::set_allocated_command(std::string* command) { + if (command != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.command_.SetAllocated(command, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_.IsDefault()) { + _impl_.command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_StringCmd.command) +} + +// optional uint32 prediction_sync = 2; +inline bool CNETMsg_StringCmd::_internal_has_prediction_sync() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_StringCmd::has_prediction_sync() const { + return _internal_has_prediction_sync(); +} +inline void CNETMsg_StringCmd::clear_prediction_sync() { + _impl_.prediction_sync_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CNETMsg_StringCmd::_internal_prediction_sync() const { + return _impl_.prediction_sync_; +} +inline uint32_t CNETMsg_StringCmd::prediction_sync() const { + // @@protoc_insertion_point(field_get:CNETMsg_StringCmd.prediction_sync) + return _internal_prediction_sync(); +} +inline void CNETMsg_StringCmd::_internal_set_prediction_sync(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.prediction_sync_ = value; +} +inline void CNETMsg_StringCmd::set_prediction_sync(uint32_t value) { + _internal_set_prediction_sync(value); + // @@protoc_insertion_point(field_set:CNETMsg_StringCmd.prediction_sync) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SetConVar + +// optional .CMsg_CVars convars = 1; +inline bool CNETMsg_SetConVar::_internal_has_convars() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.convars_ != nullptr); + return value; +} +inline bool CNETMsg_SetConVar::has_convars() const { + return _internal_has_convars(); +} +inline void CNETMsg_SetConVar::clear_convars() { + if (_impl_.convars_ != nullptr) _impl_.convars_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsg_CVars& CNETMsg_SetConVar::_internal_convars() const { + const ::CMsg_CVars* p = _impl_.convars_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsg_CVars_default_instance_); +} +inline const ::CMsg_CVars& CNETMsg_SetConVar::convars() const { + // @@protoc_insertion_point(field_get:CNETMsg_SetConVar.convars) + return _internal_convars(); +} +inline void CNETMsg_SetConVar::unsafe_arena_set_allocated_convars( + ::CMsg_CVars* convars) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.convars_); + } + _impl_.convars_ = convars; + if (convars) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SetConVar.convars) +} +inline ::CMsg_CVars* CNETMsg_SetConVar::release_convars() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsg_CVars* temp = _impl_.convars_; + _impl_.convars_ = 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 ::CMsg_CVars* CNETMsg_SetConVar::unsafe_arena_release_convars() { + // @@protoc_insertion_point(field_release:CNETMsg_SetConVar.convars) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsg_CVars* temp = _impl_.convars_; + _impl_.convars_ = nullptr; + return temp; +} +inline ::CMsg_CVars* CNETMsg_SetConVar::_internal_mutable_convars() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.convars_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsg_CVars>(GetArenaForAllocation()); + _impl_.convars_ = p; + } + return _impl_.convars_; +} +inline ::CMsg_CVars* CNETMsg_SetConVar::mutable_convars() { + ::CMsg_CVars* _msg = _internal_mutable_convars(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SetConVar.convars) + return _msg; +} +inline void CNETMsg_SetConVar::set_allocated_convars(::CMsg_CVars* convars) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.convars_; + } + if (convars) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(convars); + if (message_arena != submessage_arena) { + convars = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, convars, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.convars_ = convars; + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SetConVar.convars) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SignonState + +// optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; +inline bool CNETMsg_SignonState::_internal_has_signon_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_SignonState::has_signon_state() const { + return _internal_has_signon_state(); +} +inline void CNETMsg_SignonState::clear_signon_state() { + _impl_.signon_state_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline ::SignonState_t CNETMsg_SignonState::_internal_signon_state() const { + return static_cast< ::SignonState_t >(_impl_.signon_state_); +} +inline ::SignonState_t CNETMsg_SignonState::signon_state() const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.signon_state) + return _internal_signon_state(); +} +inline void CNETMsg_SignonState::_internal_set_signon_state(::SignonState_t value) { + assert(::SignonState_t_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.signon_state_ = value; +} +inline void CNETMsg_SignonState::set_signon_state(::SignonState_t value) { + _internal_set_signon_state(value); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.signon_state) +} + +// optional uint32 spawn_count = 2; +inline bool CNETMsg_SignonState::_internal_has_spawn_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CNETMsg_SignonState::has_spawn_count() const { + return _internal_has_spawn_count(); +} +inline void CNETMsg_SignonState::clear_spawn_count() { + _impl_.spawn_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CNETMsg_SignonState::_internal_spawn_count() const { + return _impl_.spawn_count_; +} +inline uint32_t CNETMsg_SignonState::spawn_count() const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.spawn_count) + return _internal_spawn_count(); +} +inline void CNETMsg_SignonState::_internal_set_spawn_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.spawn_count_ = value; +} +inline void CNETMsg_SignonState::set_spawn_count(uint32_t value) { + _internal_set_spawn_count(value); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.spawn_count) +} + +// optional uint32 num_server_players = 3; +inline bool CNETMsg_SignonState::_internal_has_num_server_players() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CNETMsg_SignonState::has_num_server_players() const { + return _internal_has_num_server_players(); +} +inline void CNETMsg_SignonState::clear_num_server_players() { + _impl_.num_server_players_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CNETMsg_SignonState::_internal_num_server_players() const { + return _impl_.num_server_players_; +} +inline uint32_t CNETMsg_SignonState::num_server_players() const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.num_server_players) + return _internal_num_server_players(); +} +inline void CNETMsg_SignonState::_internal_set_num_server_players(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.num_server_players_ = value; +} +inline void CNETMsg_SignonState::set_num_server_players(uint32_t value) { + _internal_set_num_server_players(value); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.num_server_players) +} + +// repeated string players_networkids = 4; +inline int CNETMsg_SignonState::_internal_players_networkids_size() const { + return _impl_.players_networkids_.size(); +} +inline int CNETMsg_SignonState::players_networkids_size() const { + return _internal_players_networkids_size(); +} +inline void CNETMsg_SignonState::clear_players_networkids() { + _impl_.players_networkids_.Clear(); +} +inline std::string* CNETMsg_SignonState::add_players_networkids() { + std::string* _s = _internal_add_players_networkids(); + // @@protoc_insertion_point(field_add_mutable:CNETMsg_SignonState.players_networkids) + return _s; +} +inline const std::string& CNETMsg_SignonState::_internal_players_networkids(int index) const { + return _impl_.players_networkids_.Get(index); +} +inline const std::string& CNETMsg_SignonState::players_networkids(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.players_networkids) + return _internal_players_networkids(index); +} +inline std::string* CNETMsg_SignonState::mutable_players_networkids(int index) { + // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.players_networkids) + return _impl_.players_networkids_.Mutable(index); +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const std::string& value) { + _impl_.players_networkids_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::set_players_networkids(int index, std::string&& value) { + _impl_.players_networkids_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.players_networkids_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value, size_t size) { + _impl_.players_networkids_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SignonState.players_networkids) +} +inline std::string* CNETMsg_SignonState::_internal_add_players_networkids() { + return _impl_.players_networkids_.Add(); +} +inline void CNETMsg_SignonState::add_players_networkids(const std::string& value) { + _impl_.players_networkids_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::add_players_networkids(std::string&& value) { + _impl_.players_networkids_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::add_players_networkids(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.players_networkids_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CNETMsg_SignonState.players_networkids) +} +inline void CNETMsg_SignonState::add_players_networkids(const char* value, size_t size) { + _impl_.players_networkids_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CNETMsg_SignonState.players_networkids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CNETMsg_SignonState::players_networkids() const { + // @@protoc_insertion_point(field_list:CNETMsg_SignonState.players_networkids) + return _impl_.players_networkids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CNETMsg_SignonState::mutable_players_networkids() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_SignonState.players_networkids) + return &_impl_.players_networkids_; +} + +// optional string map_name = 5; +inline bool CNETMsg_SignonState::_internal_has_map_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SignonState::has_map_name() const { + return _internal_has_map_name(); +} +inline void CNETMsg_SignonState::clear_map_name() { + _impl_.map_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CNETMsg_SignonState::map_name() const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.map_name) + return _internal_map_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SignonState::set_map_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.map_name) +} +inline std::string* CNETMsg_SignonState::mutable_map_name() { + std::string* _s = _internal_mutable_map_name(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.map_name) + return _s; +} +inline const std::string& CNETMsg_SignonState::_internal_map_name() const { + return _impl_.map_name_.Get(); +} +inline void CNETMsg_SignonState::_internal_set_map_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.map_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SignonState::_internal_mutable_map_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.map_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SignonState::release_map_name() { + // @@protoc_insertion_point(field_release:CNETMsg_SignonState.map_name) + if (!_internal_has_map_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.map_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SignonState::set_allocated_map_name(std::string* map_name) { + if (map_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_name_.IsDefault()) { + _impl_.map_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SignonState.map_name) +} + +// optional string addons = 6; +inline bool CNETMsg_SignonState::_internal_has_addons() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_SignonState::has_addons() const { + return _internal_has_addons(); +} +inline void CNETMsg_SignonState::clear_addons() { + _impl_.addons_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CNETMsg_SignonState::addons() const { + // @@protoc_insertion_point(field_get:CNETMsg_SignonState.addons) + return _internal_addons(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SignonState::set_addons(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.addons_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SignonState.addons) +} +inline std::string* CNETMsg_SignonState::mutable_addons() { + std::string* _s = _internal_mutable_addons(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.addons) + return _s; +} +inline const std::string& CNETMsg_SignonState::_internal_addons() const { + return _impl_.addons_.Get(); +} +inline void CNETMsg_SignonState::_internal_set_addons(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.addons_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SignonState::_internal_mutable_addons() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.addons_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SignonState::release_addons() { + // @@protoc_insertion_point(field_release:CNETMsg_SignonState.addons) + if (!_internal_has_addons()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.addons_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addons_.IsDefault()) { + _impl_.addons_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SignonState::set_allocated_addons(std::string* addons) { + if (addons != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.addons_.SetAllocated(addons, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.addons_.IsDefault()) { + _impl_.addons_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SignonState.addons) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEvent_key_t + +// optional int32 type = 1; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_type() const { + return _internal_has_type(); +} +inline void CSVCMsg_GameEvent_key_t::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_GameEvent_key_t::_internal_type() const { + return _impl_.type_; +} +inline int32_t CSVCMsg_GameEvent_key_t::type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.type) + return _internal_type(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.type_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.type) +} + +// optional string val_string = 2; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_string() const { + return _internal_has_val_string(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_string() { + _impl_.val_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GameEvent_key_t::val_string() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_string) + return _internal_val_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameEvent_key_t::set_val_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_string) +} +inline std::string* CSVCMsg_GameEvent_key_t::mutable_val_string() { + std::string* _s = _internal_mutable_val_string(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.key_t.val_string) + return _s; +} +inline const std::string& CSVCMsg_GameEvent_key_t::_internal_val_string() const { + return _impl_.val_string_.Get(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.val_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEvent_key_t::_internal_mutable_val_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.val_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEvent_key_t::release_val_string() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameEvent.key_t.val_string) + if (!_internal_has_val_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.val_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameEvent_key_t::set_allocated_val_string(std::string* val_string) { + if (val_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.val_string_.IsDefault()) { + _impl_.val_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEvent.key_t.val_string) +} + +// optional float val_float = 3; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_float() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_float() const { + return _internal_has_val_float(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_float() { + _impl_.val_float_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CSVCMsg_GameEvent_key_t::_internal_val_float() const { + return _impl_.val_float_; +} +inline float CSVCMsg_GameEvent_key_t::val_float() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_float) + return _internal_val_float(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_float(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.val_float_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_float(float value) { + _internal_set_val_float(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_float) +} + +// optional int32 val_long = 4; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_long() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_long() const { + return _internal_has_val_long(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_long() { + _impl_.val_long_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_long() const { + return _impl_.val_long_; +} +inline int32_t CSVCMsg_GameEvent_key_t::val_long() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_long) + return _internal_val_long(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_long(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.val_long_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_long(int32_t value) { + _internal_set_val_long(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_long) +} + +// optional int32 val_short = 5; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_short() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_short() const { + return _internal_has_val_short(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_short() { + _impl_.val_short_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_short() const { + return _impl_.val_short_; +} +inline int32_t CSVCMsg_GameEvent_key_t::val_short() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_short) + return _internal_val_short(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_short(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.val_short_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_short(int32_t value) { + _internal_set_val_short(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_short) +} + +// optional int32 val_byte = 6; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_byte() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_byte() const { + return _internal_has_val_byte(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_byte() { + _impl_.val_byte_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_byte() const { + return _impl_.val_byte_; +} +inline int32_t CSVCMsg_GameEvent_key_t::val_byte() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_byte) + return _internal_val_byte(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_byte(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.val_byte_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_byte(int32_t value) { + _internal_set_val_byte(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_byte) +} + +// optional bool val_bool = 7; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_bool() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_bool() const { + return _internal_has_val_bool(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_bool() { + _impl_.val_bool_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CSVCMsg_GameEvent_key_t::_internal_val_bool() const { + return _impl_.val_bool_; +} +inline bool CSVCMsg_GameEvent_key_t::val_bool() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_bool) + return _internal_val_bool(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_bool(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.val_bool_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_bool(bool value) { + _internal_set_val_bool(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_bool) +} + +// optional uint64 val_uint64 = 8; +inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_uint64() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent_key_t::has_val_uint64() const { + return _internal_has_val_uint64(); +} +inline void CSVCMsg_GameEvent_key_t::clear_val_uint64() { + _impl_.val_uint64_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CSVCMsg_GameEvent_key_t::_internal_val_uint64() const { + return _impl_.val_uint64_; +} +inline uint64_t CSVCMsg_GameEvent_key_t::val_uint64() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_uint64) + return _internal_val_uint64(); +} +inline void CSVCMsg_GameEvent_key_t::_internal_set_val_uint64(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.val_uint64_ = value; +} +inline void CSVCMsg_GameEvent_key_t::set_val_uint64(uint64_t value) { + _internal_set_val_uint64(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_uint64) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEvent + +// optional string event_name = 1; +inline bool CSVCMsg_GameEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void CSVCMsg_GameEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GameEvent::event_name() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.event_name) +} +inline std::string* CSVCMsg_GameEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.event_name) + return _s; +} +inline const std::string& CSVCMsg_GameEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void CSVCMsg_GameEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameEvent::release_event_name() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEvent.event_name) +} + +// optional int32 eventid = 2; +inline bool CSVCMsg_GameEvent::_internal_has_eventid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GameEvent::has_eventid() const { + return _internal_has_eventid(); +} +inline void CSVCMsg_GameEvent::clear_eventid() { + _impl_.eventid_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsg_GameEvent::_internal_eventid() const { + return _impl_.eventid_; +} +inline int32_t CSVCMsg_GameEvent::eventid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.eventid) + return _internal_eventid(); +} +inline void CSVCMsg_GameEvent::_internal_set_eventid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.eventid_ = value; +} +inline void CSVCMsg_GameEvent::set_eventid(int32_t value) { + _internal_set_eventid(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.eventid) +} + +// repeated .CSVCMsg_GameEvent.key_t keys = 3; +inline int CSVCMsg_GameEvent::_internal_keys_size() const { + return _impl_.keys_.size(); +} +inline int CSVCMsg_GameEvent::keys_size() const { + return _internal_keys_size(); +} +inline void CSVCMsg_GameEvent::clear_keys() { + _impl_.keys_.Clear(); +} +inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::mutable_keys(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.keys) + return _impl_.keys_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* +CSVCMsg_GameEvent::mutable_keys() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEvent.keys) + return &_impl_.keys_; +} +inline const ::CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent::_internal_keys(int index) const { + return _impl_.keys_.Get(index); +} +inline const ::CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent::keys(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.keys) + return _internal_keys(index); +} +inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::_internal_add_keys() { + return _impl_.keys_.Add(); +} +inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::add_keys() { + ::CSVCMsg_GameEvent_key_t* _add = _internal_add_keys(); + // @@protoc_insertion_point(field_add:CSVCMsg_GameEvent.keys) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& +CSVCMsg_GameEvent::keys() const { + // @@protoc_insertion_point(field_list:CSVCMsg_GameEvent.keys) + return _impl_.keys_; +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_GameEvents_event_t + +// optional int32 tick = 1; +inline bool CSVCMsgList_GameEvents_event_t::_internal_has_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsgList_GameEvents_event_t::has_tick() const { + return _internal_has_tick(); +} +inline void CSVCMsgList_GameEvents_event_t::clear_tick() { + _impl_.tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CSVCMsgList_GameEvents_event_t::_internal_tick() const { + return _impl_.tick_; +} +inline int32_t CSVCMsgList_GameEvents_event_t::tick() const { + // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.event_t.tick) + return _internal_tick(); +} +inline void CSVCMsgList_GameEvents_event_t::_internal_set_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tick_ = value; +} +inline void CSVCMsgList_GameEvents_event_t::set_tick(int32_t value) { + _internal_set_tick(value); + // @@protoc_insertion_point(field_set:CSVCMsgList_GameEvents.event_t.tick) +} + +// optional .CSVCMsg_GameEvent event = 2; +inline bool CSVCMsgList_GameEvents_event_t::_internal_has_event() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.event_ != nullptr); + return value; +} +inline bool CSVCMsgList_GameEvents_event_t::has_event() const { + return _internal_has_event(); +} +inline void CSVCMsgList_GameEvents_event_t::clear_event() { + if (_impl_.event_ != nullptr) _impl_.event_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CSVCMsg_GameEvent& CSVCMsgList_GameEvents_event_t::_internal_event() const { + const ::CSVCMsg_GameEvent* p = _impl_.event_; + return p != nullptr ? *p : reinterpret_cast( + ::_CSVCMsg_GameEvent_default_instance_); +} +inline const ::CSVCMsg_GameEvent& CSVCMsgList_GameEvents_event_t::event() const { + // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.event_t.event) + return _internal_event(); +} +inline void CSVCMsgList_GameEvents_event_t::unsafe_arena_set_allocated_event( + ::CSVCMsg_GameEvent* event) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.event_); + } + _impl_.event_ = event; + if (event) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsgList_GameEvents.event_t.event) +} +inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::release_event() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSVCMsg_GameEvent* temp = _impl_.event_; + _impl_.event_ = 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 ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::unsafe_arena_release_event() { + // @@protoc_insertion_point(field_release:CSVCMsgList_GameEvents.event_t.event) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CSVCMsg_GameEvent* temp = _impl_.event_; + _impl_.event_ = nullptr; + return temp; +} +inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::_internal_mutable_event() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.event_ == nullptr) { + auto* p = CreateMaybeMessage<::CSVCMsg_GameEvent>(GetArenaForAllocation()); + _impl_.event_ = p; + } + return _impl_.event_; +} +inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::mutable_event() { + ::CSVCMsg_GameEvent* _msg = _internal_mutable_event(); + // @@protoc_insertion_point(field_mutable:CSVCMsgList_GameEvents.event_t.event) + return _msg; +} +inline void CSVCMsgList_GameEvents_event_t::set_allocated_event(::CSVCMsg_GameEvent* event) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.event_; + } + if (event) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(event); + if (message_arena != submessage_arena) { + event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, event, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_ = event; + // @@protoc_insertion_point(field_set_allocated:CSVCMsgList_GameEvents.event_t.event) +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_GameEvents + +// repeated .CSVCMsgList_GameEvents.event_t events = 1; +inline int CSVCMsgList_GameEvents::_internal_events_size() const { + return _impl_.events_.size(); +} +inline int CSVCMsgList_GameEvents::events_size() const { + return _internal_events_size(); +} +inline void CSVCMsgList_GameEvents::clear_events() { + _impl_.events_.Clear(); +} +inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::mutable_events(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsgList_GameEvents.events) + return _impl_.events_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* +CSVCMsgList_GameEvents::mutable_events() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsgList_GameEvents.events) + return &_impl_.events_; +} +inline const ::CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents::_internal_events(int index) const { + return _impl_.events_.Get(index); +} +inline const ::CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents::events(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.events) + return _internal_events(index); +} +inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::_internal_add_events() { + return _impl_.events_.Add(); +} +inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::add_events() { + ::CSVCMsgList_GameEvents_event_t* _add = _internal_add_events(); + // @@protoc_insertion_point(field_add:CSVCMsgList_GameEvents.events) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& +CSVCMsgList_GameEvents::events() const { + // @@protoc_insertion_point(field_list:CSVCMsgList_GameEvents.events) + return _impl_.events_; +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_Load + +// optional string worldname = 1; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_worldname() const { + return _internal_has_worldname(); +} +inline void CNETMsg_SpawnGroup_Load::clear_worldname() { + _impl_.worldname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::worldname() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldname) + return _internal_worldname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_worldname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.worldname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldname) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_worldname() { + std::string* _s = _internal_mutable_worldname(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.worldname) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_worldname() const { + return _impl_.worldname_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_worldname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.worldname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_worldname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.worldname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_worldname() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.worldname) + if (!_internal_has_worldname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.worldname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.worldname_.IsDefault()) { + _impl_.worldname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_worldname(std::string* worldname) { + if (worldname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.worldname_.SetAllocated(worldname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.worldname_.IsDefault()) { + _impl_.worldname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.worldname) +} + +// optional string entitylumpname = 2; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_entitylumpname() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_entitylumpname() const { + return _internal_has_entitylumpname(); +} +inline void CNETMsg_SpawnGroup_Load::clear_entitylumpname() { + _impl_.entitylumpname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::entitylumpname() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entitylumpname) + return _internal_entitylumpname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_entitylumpname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entitylumpname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entitylumpname) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_entitylumpname() { + std::string* _s = _internal_mutable_entitylumpname(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entitylumpname) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_entitylumpname() const { + return _impl_.entitylumpname_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_entitylumpname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entitylumpname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_entitylumpname() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.entitylumpname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_entitylumpname() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.entitylumpname) + if (!_internal_has_entitylumpname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.entitylumpname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entitylumpname_.IsDefault()) { + _impl_.entitylumpname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_entitylumpname(std::string* entitylumpname) { + if (entitylumpname != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.entitylumpname_.SetAllocated(entitylumpname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entitylumpname_.IsDefault()) { + _impl_.entitylumpname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entitylumpname) +} + +// optional string entityfiltername = 3; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_entityfiltername() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_entityfiltername() const { + return _internal_has_entityfiltername(); +} +inline void CNETMsg_SpawnGroup_Load::clear_entityfiltername() { + _impl_.entityfiltername_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::entityfiltername() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entityfiltername) + return _internal_entityfiltername(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_entityfiltername(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.entityfiltername_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entityfiltername) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_entityfiltername() { + std::string* _s = _internal_mutable_entityfiltername(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entityfiltername) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_entityfiltername() const { + return _impl_.entityfiltername_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_entityfiltername(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.entityfiltername_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_entityfiltername() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.entityfiltername_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_entityfiltername() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.entityfiltername) + if (!_internal_has_entityfiltername()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.entityfiltername_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entityfiltername_.IsDefault()) { + _impl_.entityfiltername_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_entityfiltername(std::string* entityfiltername) { + if (entityfiltername != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.entityfiltername_.SetAllocated(entityfiltername, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.entityfiltername_.IsDefault()) { + _impl_.entityfiltername_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entityfiltername) +} + +// optional uint32 spawngrouphandle = 4; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.spawngrouphandle_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngrouphandle) +} + +// optional uint32 spawngroupownerhandle = 5; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupownerhandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_spawngroupownerhandle() const { + return _internal_has_spawngroupownerhandle(); +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngroupownerhandle() { + _impl_.spawngroupownerhandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngroupownerhandle() const { + return _impl_.spawngroupownerhandle_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::spawngroupownerhandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) + return _internal_spawngroupownerhandle(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupownerhandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.spawngroupownerhandle_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupownerhandle(uint32_t value) { + _internal_set_spawngroupownerhandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) +} + +// optional .CMsgVector world_offset_pos = 6; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_world_offset_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + PROTOBUF_ASSUME(!value || _impl_.world_offset_pos_ != nullptr); + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_world_offset_pos() const { + return _internal_has_world_offset_pos(); +} +inline void CNETMsg_SpawnGroup_Load::clear_world_offset_pos() { + if (_impl_.world_offset_pos_ != nullptr) _impl_.world_offset_pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const ::CMsgVector& CNETMsg_SpawnGroup_Load::_internal_world_offset_pos() const { + const ::CMsgVector* p = _impl_.world_offset_pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CNETMsg_SpawnGroup_Load::world_offset_pos() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_pos) + return _internal_world_offset_pos(); +} +inline void CNETMsg_SpawnGroup_Load::unsafe_arena_set_allocated_world_offset_pos( + ::CMsgVector* world_offset_pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.world_offset_pos_); + } + _impl_.world_offset_pos_ = world_offset_pos; + if (world_offset_pos) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_pos) +} +inline ::CMsgVector* CNETMsg_SpawnGroup_Load::release_world_offset_pos() { + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgVector* temp = _impl_.world_offset_pos_; + _impl_.world_offset_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 ::CMsgVector* CNETMsg_SpawnGroup_Load::unsafe_arena_release_world_offset_pos() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.world_offset_pos) + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgVector* temp = _impl_.world_offset_pos_; + _impl_.world_offset_pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CNETMsg_SpawnGroup_Load::_internal_mutable_world_offset_pos() { + _impl_._has_bits_[0] |= 0x00000100u; + if (_impl_.world_offset_pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.world_offset_pos_ = p; + } + return _impl_.world_offset_pos_; +} +inline ::CMsgVector* CNETMsg_SpawnGroup_Load::mutable_world_offset_pos() { + ::CMsgVector* _msg = _internal_mutable_world_offset_pos(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_pos) + return _msg; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_pos(::CMsgVector* world_offset_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.world_offset_pos_; + } + if (world_offset_pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(world_offset_pos); + if (message_arena != submessage_arena) { + world_offset_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, world_offset_pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.world_offset_pos_ = world_offset_pos; + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_pos) +} + +// optional .CMsgQAngle world_offset_angle = 7; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_world_offset_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + PROTOBUF_ASSUME(!value || _impl_.world_offset_angle_ != nullptr); + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_world_offset_angle() const { + return _internal_has_world_offset_angle(); +} +inline void CNETMsg_SpawnGroup_Load::clear_world_offset_angle() { + if (_impl_.world_offset_angle_ != nullptr) _impl_.world_offset_angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const ::CMsgQAngle& CNETMsg_SpawnGroup_Load::_internal_world_offset_angle() const { + const ::CMsgQAngle* p = _impl_.world_offset_angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CNETMsg_SpawnGroup_Load::world_offset_angle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_angle) + return _internal_world_offset_angle(); +} +inline void CNETMsg_SpawnGroup_Load::unsafe_arena_set_allocated_world_offset_angle( + ::CMsgQAngle* world_offset_angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.world_offset_angle_); + } + _impl_.world_offset_angle_ = world_offset_angle; + if (world_offset_angle) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_angle) +} +inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::release_world_offset_angle() { + _impl_._has_bits_[0] &= ~0x00000200u; + ::CMsgQAngle* temp = _impl_.world_offset_angle_; + _impl_.world_offset_angle_ = 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 ::CMsgQAngle* CNETMsg_SpawnGroup_Load::unsafe_arena_release_world_offset_angle() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.world_offset_angle) + _impl_._has_bits_[0] &= ~0x00000200u; + ::CMsgQAngle* temp = _impl_.world_offset_angle_; + _impl_.world_offset_angle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::_internal_mutable_world_offset_angle() { + _impl_._has_bits_[0] |= 0x00000200u; + if (_impl_.world_offset_angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.world_offset_angle_ = p; + } + return _impl_.world_offset_angle_; +} +inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::mutable_world_offset_angle() { + ::CMsgQAngle* _msg = _internal_mutable_world_offset_angle(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_angle) + return _msg; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.world_offset_angle_; + } + if (world_offset_angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(world_offset_angle); + if (message_arena != submessage_arena) { + world_offset_angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, world_offset_angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.world_offset_angle_ = world_offset_angle; + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_angle) +} + +// optional bytes spawngroupmanifest = 8; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupmanifest() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_spawngroupmanifest() const { + return _internal_has_spawngroupmanifest(); +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngroupmanifest() { + _impl_.spawngroupmanifest_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::spawngroupmanifest() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupmanifest) + return _internal_spawngroupmanifest(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_spawngroupmanifest(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.spawngroupmanifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_spawngroupmanifest() { + std::string* _s = _internal_mutable_spawngroupmanifest(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.spawngroupmanifest) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_spawngroupmanifest() const { + return _impl_.spawngroupmanifest_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupmanifest(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.spawngroupmanifest_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_spawngroupmanifest() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.spawngroupmanifest_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_spawngroupmanifest() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.spawngroupmanifest) + if (!_internal_has_spawngroupmanifest()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.spawngroupmanifest_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawngroupmanifest_.IsDefault()) { + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_spawngroupmanifest(std::string* spawngroupmanifest) { + if (spawngroupmanifest != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.spawngroupmanifest_.SetAllocated(spawngroupmanifest, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawngroupmanifest_.IsDefault()) { + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} + +// optional uint32 flags = 9; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_flags() const { + return _internal_has_flags(); +} +inline void CNETMsg_SpawnGroup_Load::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::flags() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.flags) + return _internal_flags(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.flags_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.flags) +} + +// optional int32 tickcount = 10; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_tickcount() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_tickcount() const { + return _internal_has_tickcount(); +} +inline void CNETMsg_SpawnGroup_Load::clear_tickcount() { + _impl_.tickcount_ = 0; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int32_t CNETMsg_SpawnGroup_Load::_internal_tickcount() const { + return _impl_.tickcount_; +} +inline int32_t CNETMsg_SpawnGroup_Load::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.tickcount) + return _internal_tickcount(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_tickcount(int32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.tickcount_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_tickcount(int32_t value) { + _internal_set_tickcount(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.tickcount) +} + +// optional bool manifestincomplete = 11; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_manifestincomplete() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_manifestincomplete() const { + return _internal_has_manifestincomplete(); +} +inline void CNETMsg_SpawnGroup_Load::clear_manifestincomplete() { + _impl_.manifestincomplete_ = false; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline bool CNETMsg_SpawnGroup_Load::_internal_manifestincomplete() const { + return _impl_.manifestincomplete_; +} +inline bool CNETMsg_SpawnGroup_Load::manifestincomplete() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestincomplete) + return _internal_manifestincomplete(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_manifestincomplete(bool value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.manifestincomplete_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_manifestincomplete(bool value) { + _internal_set_manifestincomplete(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestincomplete) +} + +// optional string localnamefixup = 12; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_localnamefixup() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_localnamefixup() const { + return _internal_has_localnamefixup(); +} +inline void CNETMsg_SpawnGroup_Load::clear_localnamefixup() { + _impl_.localnamefixup_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::localnamefixup() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.localnamefixup) + return _internal_localnamefixup(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_localnamefixup(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.localnamefixup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.localnamefixup) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_localnamefixup() { + std::string* _s = _internal_mutable_localnamefixup(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.localnamefixup) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_localnamefixup() const { + return _impl_.localnamefixup_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_localnamefixup(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.localnamefixup_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_localnamefixup() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.localnamefixup_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_localnamefixup() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.localnamefixup) + if (!_internal_has_localnamefixup()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.localnamefixup_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.localnamefixup_.IsDefault()) { + _impl_.localnamefixup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_localnamefixup(std::string* localnamefixup) { + if (localnamefixup != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.localnamefixup_.SetAllocated(localnamefixup, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.localnamefixup_.IsDefault()) { + _impl_.localnamefixup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.localnamefixup) +} + +// optional string parentnamefixup = 13; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_parentnamefixup() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_parentnamefixup() const { + return _internal_has_parentnamefixup(); +} +inline void CNETMsg_SpawnGroup_Load::clear_parentnamefixup() { + _impl_.parentnamefixup_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::parentnamefixup() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.parentnamefixup) + return _internal_parentnamefixup(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_parentnamefixup(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.parentnamefixup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.parentnamefixup) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_parentnamefixup() { + std::string* _s = _internal_mutable_parentnamefixup(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.parentnamefixup) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_parentnamefixup() const { + return _impl_.parentnamefixup_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_parentnamefixup(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.parentnamefixup_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_parentnamefixup() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.parentnamefixup_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_parentnamefixup() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.parentnamefixup) + if (!_internal_has_parentnamefixup()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.parentnamefixup_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.parentnamefixup_.IsDefault()) { + _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_parentnamefixup(std::string* parentnamefixup) { + if (parentnamefixup != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.parentnamefixup_.SetAllocated(parentnamefixup, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.parentnamefixup_.IsDefault()) { + _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.parentnamefixup) +} + +// optional int32 manifestloadpriority = 14; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_manifestloadpriority() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_manifestloadpriority() const { + return _internal_has_manifestloadpriority(); +} +inline void CNETMsg_SpawnGroup_Load::clear_manifestloadpriority() { + _impl_.manifestloadpriority_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CNETMsg_SpawnGroup_Load::_internal_manifestloadpriority() const { + return _impl_.manifestloadpriority_; +} +inline int32_t CNETMsg_SpawnGroup_Load::manifestloadpriority() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestloadpriority) + return _internal_manifestloadpriority(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_manifestloadpriority(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.manifestloadpriority_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_manifestloadpriority(int32_t value) { + _internal_set_manifestloadpriority(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestloadpriority) +} + +// optional uint32 worldgroupid = 15; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldgroupid() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_worldgroupid() const { + return _internal_has_worldgroupid(); +} +inline void CNETMsg_SpawnGroup_Load::clear_worldgroupid() { + _impl_.worldgroupid_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_worldgroupid() const { + return _impl_.worldgroupid_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::worldgroupid() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldgroupid) + return _internal_worldgroupid(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_worldgroupid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.worldgroupid_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_worldgroupid(uint32_t value) { + _internal_set_worldgroupid(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldgroupid) +} + +// optional uint32 creationsequence = 16; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_creationsequence() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_creationsequence() const { + return _internal_has_creationsequence(); +} +inline void CNETMsg_SpawnGroup_Load::clear_creationsequence() { + _impl_.creationsequence_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_creationsequence() const { + return _impl_.creationsequence_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::creationsequence() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.creationsequence) + return _internal_creationsequence(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_creationsequence(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.creationsequence_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_creationsequence(uint32_t value) { + _internal_set_creationsequence(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.creationsequence) +} + +// optional string savegamefilename = 17; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_savegamefilename() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_savegamefilename() const { + return _internal_has_savegamefilename(); +} +inline void CNETMsg_SpawnGroup_Load::clear_savegamefilename() { + _impl_.savegamefilename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::savegamefilename() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.savegamefilename) + return _internal_savegamefilename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_savegamefilename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.savegamefilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.savegamefilename) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_savegamefilename() { + std::string* _s = _internal_mutable_savegamefilename(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.savegamefilename) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_savegamefilename() const { + return _impl_.savegamefilename_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_savegamefilename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.savegamefilename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_savegamefilename() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.savegamefilename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_savegamefilename() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.savegamefilename) + if (!_internal_has_savegamefilename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.savegamefilename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.savegamefilename_.IsDefault()) { + _impl_.savegamefilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_savegamefilename(std::string* savegamefilename) { + if (savegamefilename != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.savegamefilename_.SetAllocated(savegamefilename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.savegamefilename_.IsDefault()) { + _impl_.savegamefilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.savegamefilename) +} + +// optional uint32 spawngroupparenthandle = 18; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupparenthandle() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_spawngroupparenthandle() const { + return _internal_has_spawngroupparenthandle(); +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngroupparenthandle() { + _impl_.spawngroupparenthandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngroupparenthandle() const { + return _impl_.spawngroupparenthandle_; +} +inline uint32_t CNETMsg_SpawnGroup_Load::spawngroupparenthandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupparenthandle) + return _internal_spawngroupparenthandle(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupparenthandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.spawngroupparenthandle_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupparenthandle(uint32_t value) { + _internal_set_spawngroupparenthandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupparenthandle) +} + +// optional bool leveltransition = 19; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_leveltransition() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_leveltransition() const { + return _internal_has_leveltransition(); +} +inline void CNETMsg_SpawnGroup_Load::clear_leveltransition() { + _impl_.leveltransition_ = false; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline bool CNETMsg_SpawnGroup_Load::_internal_leveltransition() const { + return _impl_.leveltransition_; +} +inline bool CNETMsg_SpawnGroup_Load::leveltransition() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.leveltransition) + return _internal_leveltransition(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_leveltransition(bool value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.leveltransition_ = value; +} +inline void CNETMsg_SpawnGroup_Load::set_leveltransition(bool value) { + _internal_set_leveltransition(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.leveltransition) +} + +// optional string worldgroupname = 20; +inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldgroupname() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Load::has_worldgroupname() const { + return _internal_has_worldgroupname(); +} +inline void CNETMsg_SpawnGroup_Load::clear_worldgroupname() { + _impl_.worldgroupname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CNETMsg_SpawnGroup_Load::worldgroupname() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldgroupname) + return _internal_worldgroupname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_Load::set_worldgroupname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.worldgroupname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldgroupname) +} +inline std::string* CNETMsg_SpawnGroup_Load::mutable_worldgroupname() { + std::string* _s = _internal_mutable_worldgroupname(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.worldgroupname) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_Load::_internal_worldgroupname() const { + return _impl_.worldgroupname_.Get(); +} +inline void CNETMsg_SpawnGroup_Load::_internal_set_worldgroupname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.worldgroupname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_worldgroupname() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.worldgroupname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_Load::release_worldgroupname() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.worldgroupname) + if (!_internal_has_worldgroupname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.worldgroupname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.worldgroupname_.IsDefault()) { + _impl_.worldgroupname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_worldgroupname(std::string* worldgroupname) { + if (worldgroupname != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.worldgroupname_.SetAllocated(worldgroupname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.worldgroupname_.IsDefault()) { + _impl_.worldgroupname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.worldgroupname) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_ManifestUpdate + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CNETMsg_SpawnGroup_ManifestUpdate::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CNETMsg_SpawnGroup_ManifestUpdate::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.spawngrouphandle_ = value; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) +} + +// optional bytes spawngroupmanifest = 2; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_spawngroupmanifest() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngroupmanifest() const { + return _internal_has_spawngroupmanifest(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngroupmanifest() { + _impl_.spawngroupmanifest_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CNETMsg_SpawnGroup_ManifestUpdate::spawngroupmanifest() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) + return _internal_spawngroupmanifest(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngroupmanifest(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngroupmanifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} +inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::mutable_spawngroupmanifest() { + std::string* _s = _internal_mutable_spawngroupmanifest(); + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) + return _s; +} +inline const std::string& CNETMsg_SpawnGroup_ManifestUpdate::_internal_spawngroupmanifest() const { + return _impl_.spawngroupmanifest_.Get(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_spawngroupmanifest(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngroupmanifest_.Set(value, GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::_internal_mutable_spawngroupmanifest() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.spawngroupmanifest_.Mutable(GetArenaForAllocation()); +} +inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::release_spawngroupmanifest() { + // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) + if (!_internal_has_spawngroupmanifest()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.spawngroupmanifest_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawngroupmanifest_.IsDefault()) { + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_allocated_spawngroupmanifest(std::string* spawngroupmanifest) { + if (spawngroupmanifest != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.spawngroupmanifest_.SetAllocated(spawngroupmanifest, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.spawngroupmanifest_.IsDefault()) { + _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} + +// optional bool manifestincomplete = 3; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_manifestincomplete() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_manifestincomplete() const { + return _internal_has_manifestincomplete(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_manifestincomplete() { + _impl_.manifestincomplete_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_manifestincomplete() const { + return _impl_.manifestincomplete_; +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::manifestincomplete() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) + return _internal_manifestincomplete(); +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_manifestincomplete(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.manifestincomplete_ = value; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_manifestincomplete(bool value) { + _internal_set_manifestincomplete(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_SetCreationTick + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngrouphandle_ = value; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) +} + +// optional int32 tickcount = 2; +inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_tickcount() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_tickcount() const { + return _internal_has_tickcount(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_tickcount() { + _impl_.tickcount_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_tickcount() const { + return _impl_.tickcount_; +} +inline int32_t CNETMsg_SpawnGroup_SetCreationTick::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.tickcount) + return _internal_tickcount(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_tickcount(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tickcount_ = value; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_tickcount(int32_t value) { + _internal_set_tickcount(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.tickcount) +} + +// optional uint32 creationsequence = 3; +inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_creationsequence() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_creationsequence() const { + return _internal_has_creationsequence(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_creationsequence() { + _impl_.creationsequence_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_creationsequence() const { + return _impl_.creationsequence_; +} +inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::creationsequence() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) + return _internal_creationsequence(); +} +inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_creationsequence(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.creationsequence_ = value; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_creationsequence(uint32_t value) { + _internal_set_creationsequence(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_Unload + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_Unload::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Unload::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_Unload::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CNETMsg_SpawnGroup_Unload::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CNETMsg_SpawnGroup_Unload::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_Unload::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngrouphandle_ = value; +} +inline void CNETMsg_SpawnGroup_Unload::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.spawngrouphandle) +} + +// optional uint32 flags = 2; +inline bool CNETMsg_SpawnGroup_Unload::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Unload::has_flags() const { + return _internal_has_flags(); +} +inline void CNETMsg_SpawnGroup_Unload::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CNETMsg_SpawnGroup_Unload::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CNETMsg_SpawnGroup_Unload::flags() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.flags) + return _internal_flags(); +} +inline void CNETMsg_SpawnGroup_Unload::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.flags_ = value; +} +inline void CNETMsg_SpawnGroup_Unload::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.flags) +} + +// optional int32 tickcount = 3; +inline bool CNETMsg_SpawnGroup_Unload::_internal_has_tickcount() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_Unload::has_tickcount() const { + return _internal_has_tickcount(); +} +inline void CNETMsg_SpawnGroup_Unload::clear_tickcount() { + _impl_.tickcount_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CNETMsg_SpawnGroup_Unload::_internal_tickcount() const { + return _impl_.tickcount_; +} +inline int32_t CNETMsg_SpawnGroup_Unload::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.tickcount) + return _internal_tickcount(); +} +inline void CNETMsg_SpawnGroup_Unload::_internal_set_tickcount(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.tickcount_ = value; +} +inline void CNETMsg_SpawnGroup_Unload::set_tickcount(int32_t value) { + _internal_set_tickcount(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.tickcount) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_LoadCompleted + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_LoadCompleted::_internal_has_spawngrouphandle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_SpawnGroup_LoadCompleted::has_spawngrouphandle() const { + return _internal_has_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_LoadCompleted::clear_spawngrouphandle() { + _impl_.spawngrouphandle_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CNETMsg_SpawnGroup_LoadCompleted::_internal_spawngrouphandle() const { + return _impl_.spawngrouphandle_; +} +inline uint32_t CNETMsg_SpawnGroup_LoadCompleted::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) + return _internal_spawngrouphandle(); +} +inline void CNETMsg_SpawnGroup_LoadCompleted::_internal_set_spawngrouphandle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.spawngrouphandle_ = value; +} +inline void CNETMsg_SpawnGroup_LoadCompleted::set_spawngrouphandle(uint32_t value) { + _internal_set_spawngrouphandle(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameSessionConfiguration + +// optional bool is_multiplayer = 1; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_multiplayer() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_multiplayer() const { + return _internal_has_is_multiplayer(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_multiplayer() { + _impl_.is_multiplayer_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_multiplayer() const { + return _impl_.is_multiplayer_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_multiplayer() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_multiplayer) + return _internal_is_multiplayer(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_multiplayer(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.is_multiplayer_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_multiplayer(bool value) { + _internal_set_is_multiplayer(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_multiplayer) +} + +// optional bool is_loadsavegame = 2; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_loadsavegame() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_loadsavegame() const { + return _internal_has_is_loadsavegame(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_loadsavegame() { + _impl_.is_loadsavegame_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_loadsavegame() const { + return _impl_.is_loadsavegame_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_loadsavegame() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_loadsavegame) + return _internal_is_loadsavegame(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_loadsavegame(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.is_loadsavegame_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_loadsavegame(bool value) { + _internal_set_is_loadsavegame(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_loadsavegame) +} + +// optional bool is_background_map = 3; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_background_map() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_background_map() const { + return _internal_has_is_background_map(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_background_map() { + _impl_.is_background_map_ = false; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_background_map() const { + return _impl_.is_background_map_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_background_map() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_background_map) + return _internal_is_background_map(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_background_map(bool value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.is_background_map_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_background_map(bool value) { + _internal_set_is_background_map(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_background_map) +} + +// optional bool is_headless = 4; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_headless() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_headless() const { + return _internal_has_is_headless(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_headless() { + _impl_.is_headless_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_headless() const { + return _impl_.is_headless_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_headless() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_headless) + return _internal_is_headless(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_headless(bool value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.is_headless_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_headless(bool value) { + _internal_set_is_headless(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_headless) +} + +// optional uint32 min_client_limit = 5; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_min_client_limit() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_min_client_limit() const { + return _internal_has_min_client_limit(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_min_client_limit() { + _impl_.min_client_limit_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_min_client_limit() const { + return _impl_.min_client_limit_; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::min_client_limit() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.min_client_limit) + return _internal_min_client_limit(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_min_client_limit(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.min_client_limit_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_min_client_limit(uint32_t value) { + _internal_set_min_client_limit(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.min_client_limit) +} + +// optional uint32 max_client_limit = 6; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_max_client_limit() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_max_client_limit() const { + return _internal_has_max_client_limit(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_max_client_limit() { + _impl_.max_client_limit_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_max_client_limit() const { + return _impl_.max_client_limit_; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::max_client_limit() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_client_limit) + return _internal_max_client_limit(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_max_client_limit(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.max_client_limit_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_max_client_limit(uint32_t value) { + _internal_set_max_client_limit(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_client_limit) +} + +// optional uint32 max_clients = 7; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_max_clients() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_max_clients() const { + return _internal_has_max_clients(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_max_clients() { + _impl_.max_clients_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_max_clients() const { + return _impl_.max_clients_; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::max_clients() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_clients) + return _internal_max_clients(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_max_clients(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.max_clients_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_max_clients(uint32_t value) { + _internal_set_max_clients(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_clients) +} + +// optional fixed32 tick_interval = 8; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_tick_interval() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_tick_interval() const { + return _internal_has_tick_interval(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_tick_interval() { + _impl_.tick_interval_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_tick_interval() const { + return _impl_.tick_interval_; +} +inline uint32_t CSVCMsg_GameSessionConfiguration::tick_interval() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.tick_interval) + return _internal_tick_interval(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_tick_interval(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.tick_interval_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_tick_interval(uint32_t value) { + _internal_set_tick_interval(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.tick_interval) +} + +// optional string hostname = 9; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_hostname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_hostname() const { + return _internal_has_hostname(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_hostname() { + _impl_.hostname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::hostname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.hostname) + return _internal_hostname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_hostname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hostname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.hostname) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_hostname() { + std::string* _s = _internal_mutable_hostname(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.hostname) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_hostname() const { + return _impl_.hostname_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_hostname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hostname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_hostname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.hostname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_hostname() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.hostname) + if (!_internal_has_hostname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.hostname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hostname_.IsDefault()) { + _impl_.hostname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_hostname(std::string* hostname) { + if (hostname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.hostname_.SetAllocated(hostname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hostname_.IsDefault()) { + _impl_.hostname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.hostname) +} + +// optional string savegamename = 10; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_savegamename() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_savegamename() const { + return _internal_has_savegamename(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_savegamename() { + _impl_.savegamename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::savegamename() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.savegamename) + return _internal_savegamename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_savegamename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.savegamename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.savegamename) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_savegamename() { + std::string* _s = _internal_mutable_savegamename(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.savegamename) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_savegamename() const { + return _impl_.savegamename_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_savegamename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.savegamename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_savegamename() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.savegamename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_savegamename() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.savegamename) + if (!_internal_has_savegamename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.savegamename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.savegamename_.IsDefault()) { + _impl_.savegamename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_savegamename(std::string* savegamename) { + if (savegamename != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.savegamename_.SetAllocated(savegamename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.savegamename_.IsDefault()) { + _impl_.savegamename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.savegamename) +} + +// optional string s1_mapname = 11; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_s1_mapname() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_s1_mapname() const { + return _internal_has_s1_mapname(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_s1_mapname() { + _impl_.s1_mapname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::s1_mapname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.s1_mapname) + return _internal_s1_mapname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_s1_mapname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.s1_mapname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.s1_mapname) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_s1_mapname() { + std::string* _s = _internal_mutable_s1_mapname(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.s1_mapname) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_s1_mapname() const { + return _impl_.s1_mapname_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_s1_mapname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.s1_mapname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_s1_mapname() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.s1_mapname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_s1_mapname() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.s1_mapname) + if (!_internal_has_s1_mapname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.s1_mapname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.s1_mapname_.IsDefault()) { + _impl_.s1_mapname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_s1_mapname(std::string* s1_mapname) { + if (s1_mapname != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.s1_mapname_.SetAllocated(s1_mapname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.s1_mapname_.IsDefault()) { + _impl_.s1_mapname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.s1_mapname) +} + +// optional string gamemode = 12; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_gamemode() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_gamemode() const { + return _internal_has_gamemode(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_gamemode() { + _impl_.gamemode_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::gamemode() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.gamemode) + return _internal_gamemode(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_gamemode(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gamemode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.gamemode) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_gamemode() { + std::string* _s = _internal_mutable_gamemode(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.gamemode) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_gamemode() const { + return _impl_.gamemode_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_gamemode(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gamemode_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_gamemode() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.gamemode_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_gamemode() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.gamemode) + if (!_internal_has_gamemode()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.gamemode_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gamemode_.IsDefault()) { + _impl_.gamemode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_gamemode(std::string* gamemode) { + if (gamemode != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.gamemode_.SetAllocated(gamemode, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gamemode_.IsDefault()) { + _impl_.gamemode_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.gamemode) +} + +// optional string server_ip_address = 13; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_server_ip_address() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_server_ip_address() const { + return _internal_has_server_ip_address(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_server_ip_address() { + _impl_.server_ip_address_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::server_ip_address() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.server_ip_address) + return _internal_server_ip_address(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_server_ip_address(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_ip_address_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.server_ip_address) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_server_ip_address() { + std::string* _s = _internal_mutable_server_ip_address(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.server_ip_address) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_server_ip_address() const { + return _impl_.server_ip_address_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_server_ip_address(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_ip_address_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_server_ip_address() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.server_ip_address_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_server_ip_address() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.server_ip_address) + if (!_internal_has_server_ip_address()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.server_ip_address_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_ip_address_.IsDefault()) { + _impl_.server_ip_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_server_ip_address(std::string* server_ip_address) { + if (server_ip_address != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.server_ip_address_.SetAllocated(server_ip_address, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_ip_address_.IsDefault()) { + _impl_.server_ip_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.server_ip_address) +} + +// optional bytes data = 14; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_data() const { + return _internal_has_data(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.data) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.data) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_data() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.data) +} + +// optional bool is_localonly = 15; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_localonly() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_localonly() const { + return _internal_has_is_localonly(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_localonly() { + _impl_.is_localonly_ = false; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_localonly() const { + return _impl_.is_localonly_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_localonly() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_localonly) + return _internal_is_localonly(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_localonly(bool value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.is_localonly_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_localonly(bool value) { + _internal_set_is_localonly(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_localonly) +} + +// optional bool no_steam_server = 19; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_no_steam_server() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_no_steam_server() const { + return _internal_has_no_steam_server(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_no_steam_server() { + _impl_.no_steam_server_ = false; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_no_steam_server() const { + return _impl_.no_steam_server_; +} +inline bool CSVCMsg_GameSessionConfiguration::no_steam_server() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.no_steam_server) + return _internal_no_steam_server(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_no_steam_server(bool value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.no_steam_server_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_no_steam_server(bool value) { + _internal_set_no_steam_server(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.no_steam_server) +} + +// optional bool is_transition = 16; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_transition() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_is_transition() const { + return _internal_has_is_transition(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_transition() { + _impl_.is_transition_ = false; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline bool CSVCMsg_GameSessionConfiguration::_internal_is_transition() const { + return _impl_.is_transition_; +} +inline bool CSVCMsg_GameSessionConfiguration::is_transition() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_transition) + return _internal_is_transition(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_transition(bool value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.is_transition_ = value; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_transition(bool value) { + _internal_set_is_transition(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_transition) +} + +// optional string previouslevel = 17; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_previouslevel() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_previouslevel() const { + return _internal_has_previouslevel(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_previouslevel() { + _impl_.previouslevel_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::previouslevel() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.previouslevel) + return _internal_previouslevel(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_previouslevel(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.previouslevel_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.previouslevel) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_previouslevel() { + std::string* _s = _internal_mutable_previouslevel(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.previouslevel) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_previouslevel() const { + return _impl_.previouslevel_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_previouslevel(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.previouslevel_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_previouslevel() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.previouslevel_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_previouslevel() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.previouslevel) + if (!_internal_has_previouslevel()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.previouslevel_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.previouslevel_.IsDefault()) { + _impl_.previouslevel_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_previouslevel(std::string* previouslevel) { + if (previouslevel != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.previouslevel_.SetAllocated(previouslevel, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.previouslevel_.IsDefault()) { + _impl_.previouslevel_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.previouslevel) +} + +// optional string landmarkname = 18; +inline bool CSVCMsg_GameSessionConfiguration::_internal_has_landmarkname() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CSVCMsg_GameSessionConfiguration::has_landmarkname() const { + return _internal_has_landmarkname(); +} +inline void CSVCMsg_GameSessionConfiguration::clear_landmarkname() { + _impl_.landmarkname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::landmarkname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.landmarkname) + return _internal_landmarkname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CSVCMsg_GameSessionConfiguration::set_landmarkname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.landmarkname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.landmarkname) +} +inline std::string* CSVCMsg_GameSessionConfiguration::mutable_landmarkname() { + std::string* _s = _internal_mutable_landmarkname(); + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.landmarkname) + return _s; +} +inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_landmarkname() const { + return _impl_.landmarkname_.Get(); +} +inline void CSVCMsg_GameSessionConfiguration::_internal_set_landmarkname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.landmarkname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_landmarkname() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.landmarkname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CSVCMsg_GameSessionConfiguration::release_landmarkname() { + // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.landmarkname) + if (!_internal_has_landmarkname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.landmarkname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.landmarkname_.IsDefault()) { + _impl_.landmarkname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_landmarkname(std::string* landmarkname) { + if (landmarkname != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.landmarkname_.SetAllocated(landmarkname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.landmarkname_.IsDefault()) { + _impl_.landmarkname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.landmarkname) +} + +// ------------------------------------------------------------------- + +// CNETMsg_DebugOverlay + +// optional int32 etype = 1; +inline bool CNETMsg_DebugOverlay::_internal_has_etype() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CNETMsg_DebugOverlay::has_etype() const { + return _internal_has_etype(); +} +inline void CNETMsg_DebugOverlay::clear_etype() { + _impl_.etype_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CNETMsg_DebugOverlay::_internal_etype() const { + return _impl_.etype_; +} +inline int32_t CNETMsg_DebugOverlay::etype() const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.etype) + return _internal_etype(); +} +inline void CNETMsg_DebugOverlay::_internal_set_etype(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.etype_ = value; +} +inline void CNETMsg_DebugOverlay::set_etype(int32_t value) { + _internal_set_etype(value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.etype) +} + +// repeated .CMsgVector vectors = 2; +inline int CNETMsg_DebugOverlay::_internal_vectors_size() const { + return _impl_.vectors_.size(); +} +inline int CNETMsg_DebugOverlay::vectors_size() const { + return _internal_vectors_size(); +} +inline void CNETMsg_DebugOverlay::clear_vectors() { + _impl_.vectors_.Clear(); +} +inline ::CMsgVector* CNETMsg_DebugOverlay::mutable_vectors(int index) { + // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.vectors) + return _impl_.vectors_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >* +CNETMsg_DebugOverlay::mutable_vectors() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.vectors) + return &_impl_.vectors_; +} +inline const ::CMsgVector& CNETMsg_DebugOverlay::_internal_vectors(int index) const { + return _impl_.vectors_.Get(index); +} +inline const ::CMsgVector& CNETMsg_DebugOverlay::vectors(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.vectors) + return _internal_vectors(index); +} +inline ::CMsgVector* CNETMsg_DebugOverlay::_internal_add_vectors() { + return _impl_.vectors_.Add(); +} +inline ::CMsgVector* CNETMsg_DebugOverlay::add_vectors() { + ::CMsgVector* _add = _internal_add_vectors(); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.vectors) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >& +CNETMsg_DebugOverlay::vectors() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.vectors) + return _impl_.vectors_; +} + +// repeated .CMsgRGBA colors = 3; +inline int CNETMsg_DebugOverlay::_internal_colors_size() const { + return _impl_.colors_.size(); +} +inline int CNETMsg_DebugOverlay::colors_size() const { + return _internal_colors_size(); +} +inline void CNETMsg_DebugOverlay::clear_colors() { + _impl_.colors_.Clear(); +} +inline ::CMsgRGBA* CNETMsg_DebugOverlay::mutable_colors(int index) { + // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.colors) + return _impl_.colors_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >* +CNETMsg_DebugOverlay::mutable_colors() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.colors) + return &_impl_.colors_; +} +inline const ::CMsgRGBA& CNETMsg_DebugOverlay::_internal_colors(int index) const { + return _impl_.colors_.Get(index); +} +inline const ::CMsgRGBA& CNETMsg_DebugOverlay::colors(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.colors) + return _internal_colors(index); +} +inline ::CMsgRGBA* CNETMsg_DebugOverlay::_internal_add_colors() { + return _impl_.colors_.Add(); +} +inline ::CMsgRGBA* CNETMsg_DebugOverlay::add_colors() { + ::CMsgRGBA* _add = _internal_add_colors(); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.colors) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >& +CNETMsg_DebugOverlay::colors() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.colors) + return _impl_.colors_; +} + +// repeated float dimensions = 4; +inline int CNETMsg_DebugOverlay::_internal_dimensions_size() const { + return _impl_.dimensions_.size(); +} +inline int CNETMsg_DebugOverlay::dimensions_size() const { + return _internal_dimensions_size(); +} +inline void CNETMsg_DebugOverlay::clear_dimensions() { + _impl_.dimensions_.Clear(); +} +inline float CNETMsg_DebugOverlay::_internal_dimensions(int index) const { + return _impl_.dimensions_.Get(index); +} +inline float CNETMsg_DebugOverlay::dimensions(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.dimensions) + return _internal_dimensions(index); +} +inline void CNETMsg_DebugOverlay::set_dimensions(int index, float value) { + _impl_.dimensions_.Set(index, value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.dimensions) +} +inline void CNETMsg_DebugOverlay::_internal_add_dimensions(float value) { + _impl_.dimensions_.Add(value); +} +inline void CNETMsg_DebugOverlay::add_dimensions(float value) { + _internal_add_dimensions(value); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.dimensions) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CNETMsg_DebugOverlay::_internal_dimensions() const { + return _impl_.dimensions_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CNETMsg_DebugOverlay::dimensions() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.dimensions) + return _internal_dimensions(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CNETMsg_DebugOverlay::_internal_mutable_dimensions() { + return &_impl_.dimensions_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CNETMsg_DebugOverlay::mutable_dimensions() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.dimensions) + return _internal_mutable_dimensions(); +} + +// repeated float times = 5; +inline int CNETMsg_DebugOverlay::_internal_times_size() const { + return _impl_.times_.size(); +} +inline int CNETMsg_DebugOverlay::times_size() const { + return _internal_times_size(); +} +inline void CNETMsg_DebugOverlay::clear_times() { + _impl_.times_.Clear(); +} +inline float CNETMsg_DebugOverlay::_internal_times(int index) const { + return _impl_.times_.Get(index); +} +inline float CNETMsg_DebugOverlay::times(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.times) + return _internal_times(index); +} +inline void CNETMsg_DebugOverlay::set_times(int index, float value) { + _impl_.times_.Set(index, value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.times) +} +inline void CNETMsg_DebugOverlay::_internal_add_times(float value) { + _impl_.times_.Add(value); +} +inline void CNETMsg_DebugOverlay::add_times(float value) { + _internal_add_times(value); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.times) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CNETMsg_DebugOverlay::_internal_times() const { + return _impl_.times_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CNETMsg_DebugOverlay::times() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.times) + return _internal_times(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CNETMsg_DebugOverlay::_internal_mutable_times() { + return &_impl_.times_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CNETMsg_DebugOverlay::mutable_times() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.times) + return _internal_mutable_times(); +} + +// repeated bool bools = 6; +inline int CNETMsg_DebugOverlay::_internal_bools_size() const { + return _impl_.bools_.size(); +} +inline int CNETMsg_DebugOverlay::bools_size() const { + return _internal_bools_size(); +} +inline void CNETMsg_DebugOverlay::clear_bools() { + _impl_.bools_.Clear(); +} +inline bool CNETMsg_DebugOverlay::_internal_bools(int index) const { + return _impl_.bools_.Get(index); +} +inline bool CNETMsg_DebugOverlay::bools(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.bools) + return _internal_bools(index); +} +inline void CNETMsg_DebugOverlay::set_bools(int index, bool value) { + _impl_.bools_.Set(index, value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.bools) +} +inline void CNETMsg_DebugOverlay::_internal_add_bools(bool value) { + _impl_.bools_.Add(value); +} +inline void CNETMsg_DebugOverlay::add_bools(bool value) { + _internal_add_bools(value); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.bools) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& +CNETMsg_DebugOverlay::_internal_bools() const { + return _impl_.bools_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& +CNETMsg_DebugOverlay::bools() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.bools) + return _internal_bools(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* +CNETMsg_DebugOverlay::_internal_mutable_bools() { + return &_impl_.bools_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* +CNETMsg_DebugOverlay::mutable_bools() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.bools) + return _internal_mutable_bools(); +} + +// repeated uint64 uint64s = 7; +inline int CNETMsg_DebugOverlay::_internal_uint64s_size() const { + return _impl_.uint64s_.size(); +} +inline int CNETMsg_DebugOverlay::uint64s_size() const { + return _internal_uint64s_size(); +} +inline void CNETMsg_DebugOverlay::clear_uint64s() { + _impl_.uint64s_.Clear(); +} +inline uint64_t CNETMsg_DebugOverlay::_internal_uint64s(int index) const { + return _impl_.uint64s_.Get(index); +} +inline uint64_t CNETMsg_DebugOverlay::uint64s(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.uint64s) + return _internal_uint64s(index); +} +inline void CNETMsg_DebugOverlay::set_uint64s(int index, uint64_t value) { + _impl_.uint64s_.Set(index, value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.uint64s) +} +inline void CNETMsg_DebugOverlay::_internal_add_uint64s(uint64_t value) { + _impl_.uint64s_.Add(value); +} +inline void CNETMsg_DebugOverlay::add_uint64s(uint64_t value) { + _internal_add_uint64s(value); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.uint64s) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CNETMsg_DebugOverlay::_internal_uint64s() const { + return _impl_.uint64s_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CNETMsg_DebugOverlay::uint64s() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.uint64s) + return _internal_uint64s(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CNETMsg_DebugOverlay::_internal_mutable_uint64s() { + return &_impl_.uint64s_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CNETMsg_DebugOverlay::mutable_uint64s() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.uint64s) + return _internal_mutable_uint64s(); +} + +// repeated string strings = 8; +inline int CNETMsg_DebugOverlay::_internal_strings_size() const { + return _impl_.strings_.size(); +} +inline int CNETMsg_DebugOverlay::strings_size() const { + return _internal_strings_size(); +} +inline void CNETMsg_DebugOverlay::clear_strings() { + _impl_.strings_.Clear(); +} +inline std::string* CNETMsg_DebugOverlay::add_strings() { + std::string* _s = _internal_add_strings(); + // @@protoc_insertion_point(field_add_mutable:CNETMsg_DebugOverlay.strings) + return _s; +} +inline const std::string& CNETMsg_DebugOverlay::_internal_strings(int index) const { + return _impl_.strings_.Get(index); +} +inline const std::string& CNETMsg_DebugOverlay::strings(int index) const { + // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.strings) + return _internal_strings(index); +} +inline std::string* CNETMsg_DebugOverlay::mutable_strings(int index) { + // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.strings) + return _impl_.strings_.Mutable(index); +} +inline void CNETMsg_DebugOverlay::set_strings(int index, const std::string& value) { + _impl_.strings_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::set_strings(int index, std::string&& value) { + _impl_.strings_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::set_strings(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.strings_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::set_strings(int index, const char* value, size_t size) { + _impl_.strings_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_DebugOverlay.strings) +} +inline std::string* CNETMsg_DebugOverlay::_internal_add_strings() { + return _impl_.strings_.Add(); +} +inline void CNETMsg_DebugOverlay::add_strings(const std::string& value) { + _impl_.strings_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::add_strings(std::string&& value) { + _impl_.strings_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::add_strings(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.strings_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CNETMsg_DebugOverlay.strings) +} +inline void CNETMsg_DebugOverlay::add_strings(const char* value, size_t size) { + _impl_.strings_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CNETMsg_DebugOverlay.strings) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CNETMsg_DebugOverlay::strings() const { + // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.strings) + return _impl_.strings_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CNETMsg_DebugOverlay::mutable_strings() { + // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.strings) + return &_impl_.strings_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::SignonState_t> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::SignonState_t>() { + return ::SignonState_t_descriptor(); +} +template <> struct is_proto_enum< ::NET_Messages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::NET_Messages>() { + return ::NET_Messages_descriptor(); +} +template <> struct is_proto_enum< ::SpawnGroupFlags_t> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::SpawnGroupFlags_t>() { + return ::SpawnGroupFlags_t_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.cc new file mode 100644 index 0000000..377e5b7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.cc @@ -0,0 +1,986 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: networksystem_protomessages.proto + +#include "networksystem_protomessages.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; + +PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.slot_)*/0u} {} +struct NetMessageSplitscreenUserChangedDefaultTypeInternal { + PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChangedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~NetMessageSplitscreenUserChangedDefaultTypeInternal() {} + union { + NetMessageSplitscreenUserChanged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageSplitscreenUserChangedDefaultTypeInternal _NetMessageSplitscreenUserChanged_default_instance_; +PROTOBUF_CONSTEXPR NetMessageConnectionClosed::NetMessageConnectionClosed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reason_)*/0u} {} +struct NetMessageConnectionClosedDefaultTypeInternal { + PROTOBUF_CONSTEXPR NetMessageConnectionClosedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~NetMessageConnectionClosedDefaultTypeInternal() {} + union { + NetMessageConnectionClosed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageConnectionClosedDefaultTypeInternal _NetMessageConnectionClosed_default_instance_; +PROTOBUF_CONSTEXPR NetMessageConnectionCrashed::NetMessageConnectionCrashed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reason_)*/0u} {} +struct NetMessageConnectionCrashedDefaultTypeInternal { + PROTOBUF_CONSTEXPR NetMessageConnectionCrashedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~NetMessageConnectionCrashedDefaultTypeInternal() {} + union { + NetMessageConnectionCrashed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageConnectionCrashedDefaultTypeInternal _NetMessageConnectionCrashed_default_instance_; +PROTOBUF_CONSTEXPR NetMessagePacketStart::NetMessagePacketStart( + ::_pbi::ConstantInitialized) {} +struct NetMessagePacketStartDefaultTypeInternal { + PROTOBUF_CONSTEXPR NetMessagePacketStartDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~NetMessagePacketStartDefaultTypeInternal() {} + union { + NetMessagePacketStart _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessagePacketStartDefaultTypeInternal _NetMessagePacketStart_default_instance_; +PROTOBUF_CONSTEXPR NetMessagePacketEnd::NetMessagePacketEnd( + ::_pbi::ConstantInitialized) {} +struct NetMessagePacketEndDefaultTypeInternal { + PROTOBUF_CONSTEXPR NetMessagePacketEndDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~NetMessagePacketEndDefaultTypeInternal() {} + union { + NetMessagePacketEnd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessagePacketEndDefaultTypeInternal _NetMessagePacketEnd_default_instance_; +static ::_pb::Metadata file_level_metadata_networksystem_5fprotomessages_2eproto[5]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_networksystem_5fprotomessages_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_networksystem_5fprotomessages_2eproto = nullptr; + +const uint32_t TableStruct_networksystem_5fprotomessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _impl_.slot_), + 0, + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_.message_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_.message_), + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::NetMessagePacketStart, _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(::NetMessagePacketEnd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 7, -1, sizeof(::NetMessageSplitscreenUserChanged)}, + { 8, 16, -1, sizeof(::NetMessageConnectionClosed)}, + { 18, 26, -1, sizeof(::NetMessageConnectionCrashed)}, + { 28, -1, -1, sizeof(::NetMessagePacketStart)}, + { 34, -1, -1, sizeof(::NetMessagePacketEnd)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_NetMessageSplitscreenUserChanged_default_instance_._instance, + &::_NetMessageConnectionClosed_default_instance_._instance, + &::_NetMessageConnectionCrashed_default_instance_._instance, + &::_NetMessagePacketStart_default_instance_._instance, + &::_NetMessagePacketEnd_default_instance_._instance, +}; + +const char descriptor_table_protodef_networksystem_5fprotomessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n!networksystem_protomessages.proto\"0\n N" + "etMessageSplitscreenUserChanged\022\014\n\004slot\030" + "\001 \001(\r\"=\n\032NetMessageConnectionClosed\022\016\n\006r" + "eason\030\001 \001(\r\022\017\n\007message\030\002 \001(\t\">\n\033NetMessa" + "geConnectionCrashed\022\016\n\006reason\030\001 \001(\r\022\017\n\007m" + "essage\030\002 \001(\t\"\027\n\025NetMessagePacketStart\"\025\n" + "\023NetMessagePacketEnd" + ; +static ::_pbi::once_flag descriptor_table_networksystem_5fprotomessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_networksystem_5fprotomessages_2eproto = { + false, false, 260, descriptor_table_protodef_networksystem_5fprotomessages_2eproto, + "networksystem_protomessages.proto", + &descriptor_table_networksystem_5fprotomessages_2eproto_once, nullptr, 0, 5, + schemas, file_default_instances, TableStruct_networksystem_5fprotomessages_2eproto::offsets, + file_level_metadata_networksystem_5fprotomessages_2eproto, file_level_enum_descriptors_networksystem_5fprotomessages_2eproto, + file_level_service_descriptors_networksystem_5fprotomessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_networksystem_5fprotomessages_2eproto_getter() { + return &descriptor_table_networksystem_5fprotomessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_networksystem_5fprotomessages_2eproto(&descriptor_table_networksystem_5fprotomessages_2eproto); + +// =================================================================== + +class NetMessageSplitscreenUserChanged::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_slot(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged(::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:NetMessageSplitscreenUserChanged) +} +NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged(const NetMessageSplitscreenUserChanged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + NetMessageSplitscreenUserChanged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.slot_ = from._impl_.slot_; + // @@protoc_insertion_point(copy_constructor:NetMessageSplitscreenUserChanged) +} + +inline void NetMessageSplitscreenUserChanged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.slot_){0u} + }; +} + +NetMessageSplitscreenUserChanged::~NetMessageSplitscreenUserChanged() { + // @@protoc_insertion_point(destructor:NetMessageSplitscreenUserChanged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void NetMessageSplitscreenUserChanged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void NetMessageSplitscreenUserChanged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void NetMessageSplitscreenUserChanged::Clear() { +// @@protoc_insertion_point(message_clear_start:NetMessageSplitscreenUserChanged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.slot_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* NetMessageSplitscreenUserChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 slot = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_slot(&has_bits); + _impl_.slot_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* NetMessageSplitscreenUserChanged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:NetMessageSplitscreenUserChanged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 slot = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_slot(), 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:NetMessageSplitscreenUserChanged) + return target; +} + +size_t NetMessageSplitscreenUserChanged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:NetMessageSplitscreenUserChanged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 slot = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageSplitscreenUserChanged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + NetMessageSplitscreenUserChanged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageSplitscreenUserChanged::GetClassData() const { return &_class_data_; } + + +void NetMessageSplitscreenUserChanged::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:NetMessageSplitscreenUserChanged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_slot()) { + _this->_internal_set_slot(from._internal_slot()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void NetMessageSplitscreenUserChanged::CopyFrom(const NetMessageSplitscreenUserChanged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageSplitscreenUserChanged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool NetMessageSplitscreenUserChanged::IsInitialized() const { + return true; +} + +void NetMessageSplitscreenUserChanged::InternalSwap(NetMessageSplitscreenUserChanged* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.slot_, other->_impl_.slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata NetMessageSplitscreenUserChanged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, + file_level_metadata_networksystem_5fprotomessages_2eproto[0]); +} + +// =================================================================== + +class NetMessageConnectionClosed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +NetMessageConnectionClosed::NetMessageConnectionClosed(::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:NetMessageConnectionClosed) +} +NetMessageConnectionClosed::NetMessageConnectionClosed(const NetMessageConnectionClosed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + NetMessageConnectionClosed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + _this->_impl_.reason_ = from._impl_.reason_; + // @@protoc_insertion_point(copy_constructor:NetMessageConnectionClosed) +} + +inline void NetMessageConnectionClosed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.reason_){0u} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +NetMessageConnectionClosed::~NetMessageConnectionClosed() { + // @@protoc_insertion_point(destructor:NetMessageConnectionClosed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void NetMessageConnectionClosed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void NetMessageConnectionClosed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void NetMessageConnectionClosed::Clear() { +// @@protoc_insertion_point(message_clear_start:NetMessageConnectionClosed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.reason_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* NetMessageConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 reason = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "NetMessageConnectionClosed.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* NetMessageConnectionClosed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:NetMessageConnectionClosed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 reason = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_reason(), target); + } + + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "NetMessageConnectionClosed.message"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_message(), 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:NetMessageConnectionClosed) + return target; +} + +size_t NetMessageConnectionClosed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:NetMessageConnectionClosed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + // optional uint32 reason = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageConnectionClosed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + NetMessageConnectionClosed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageConnectionClosed::GetClassData() const { return &_class_data_; } + + +void NetMessageConnectionClosed::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:NetMessageConnectionClosed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_message(from._internal_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void NetMessageConnectionClosed::CopyFrom(const NetMessageConnectionClosed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageConnectionClosed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool NetMessageConnectionClosed::IsInitialized() const { + return true; +} + +void NetMessageConnectionClosed::InternalSwap(NetMessageConnectionClosed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); + swap(_impl_.reason_, other->_impl_.reason_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata NetMessageConnectionClosed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, + file_level_metadata_networksystem_5fprotomessages_2eproto[1]); +} + +// =================================================================== + +class NetMessageConnectionCrashed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reason(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +NetMessageConnectionCrashed::NetMessageConnectionCrashed(::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:NetMessageConnectionCrashed) +} +NetMessageConnectionCrashed::NetMessageConnectionCrashed(const NetMessageConnectionCrashed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + NetMessageConnectionCrashed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.reason_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + _this->_impl_.reason_ = from._impl_.reason_; + // @@protoc_insertion_point(copy_constructor:NetMessageConnectionCrashed) +} + +inline void NetMessageConnectionCrashed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.reason_){0u} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +NetMessageConnectionCrashed::~NetMessageConnectionCrashed() { + // @@protoc_insertion_point(destructor:NetMessageConnectionCrashed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void NetMessageConnectionCrashed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void NetMessageConnectionCrashed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void NetMessageConnectionCrashed::Clear() { +// @@protoc_insertion_point(message_clear_start:NetMessageConnectionCrashed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.reason_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* NetMessageConnectionCrashed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 reason = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_reason(&has_bits); + _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "NetMessageConnectionCrashed.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* NetMessageConnectionCrashed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:NetMessageConnectionCrashed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 reason = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_reason(), target); + } + + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "NetMessageConnectionCrashed.message"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_message(), 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:NetMessageConnectionCrashed) + return target; +} + +size_t NetMessageConnectionCrashed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:NetMessageConnectionCrashed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + // optional uint32 reason = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageConnectionCrashed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + NetMessageConnectionCrashed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageConnectionCrashed::GetClassData() const { return &_class_data_; } + + +void NetMessageConnectionCrashed::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:NetMessageConnectionCrashed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_message(from._internal_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_ = from._impl_.reason_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void NetMessageConnectionCrashed::CopyFrom(const NetMessageConnectionCrashed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageConnectionCrashed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool NetMessageConnectionCrashed::IsInitialized() const { + return true; +} + +void NetMessageConnectionCrashed::InternalSwap(NetMessageConnectionCrashed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); + swap(_impl_.reason_, other->_impl_.reason_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata NetMessageConnectionCrashed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, + file_level_metadata_networksystem_5fprotomessages_2eproto[2]); +} + +// =================================================================== + +class NetMessagePacketStart::_Internal { + public: +}; + +NetMessagePacketStart::NetMessagePacketStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:NetMessagePacketStart) +} +NetMessagePacketStart::NetMessagePacketStart(const NetMessagePacketStart& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + NetMessagePacketStart* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:NetMessagePacketStart) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessagePacketStart::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessagePacketStart::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata NetMessagePacketStart::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, + file_level_metadata_networksystem_5fprotomessages_2eproto[3]); +} + +// =================================================================== + +class NetMessagePacketEnd::_Internal { + public: +}; + +NetMessagePacketEnd::NetMessagePacketEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:NetMessagePacketEnd) +} +NetMessagePacketEnd::NetMessagePacketEnd(const NetMessagePacketEnd& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + NetMessagePacketEnd* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:NetMessagePacketEnd) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessagePacketEnd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessagePacketEnd::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata NetMessagePacketEnd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, + file_level_metadata_networksystem_5fprotomessages_2eproto[4]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::NetMessageSplitscreenUserChanged* +Arena::CreateMaybeMessage< ::NetMessageSplitscreenUserChanged >(Arena* arena) { + return Arena::CreateMessageInternal< ::NetMessageSplitscreenUserChanged >(arena); +} +template<> PROTOBUF_NOINLINE ::NetMessageConnectionClosed* +Arena::CreateMaybeMessage< ::NetMessageConnectionClosed >(Arena* arena) { + return Arena::CreateMessageInternal< ::NetMessageConnectionClosed >(arena); +} +template<> PROTOBUF_NOINLINE ::NetMessageConnectionCrashed* +Arena::CreateMaybeMessage< ::NetMessageConnectionCrashed >(Arena* arena) { + return Arena::CreateMessageInternal< ::NetMessageConnectionCrashed >(arena); +} +template<> PROTOBUF_NOINLINE ::NetMessagePacketStart* +Arena::CreateMaybeMessage< ::NetMessagePacketStart >(Arena* arena) { + return Arena::CreateMessageInternal< ::NetMessagePacketStart >(arena); +} +template<> PROTOBUF_NOINLINE ::NetMessagePacketEnd* +Arena::CreateMaybeMessage< ::NetMessagePacketEnd >(Arena* arena) { + return Arena::CreateMessageInternal< ::NetMessagePacketEnd >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.h new file mode 100644 index 0000000..6797b90 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/networksystem_protomessages.pb.h @@ -0,0 +1,1106 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: networksystem_protomessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_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 3021008 < 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 +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_networksystem_5fprotomessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_networksystem_5fprotomessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_networksystem_5fprotomessages_2eproto; +class NetMessageConnectionClosed; +struct NetMessageConnectionClosedDefaultTypeInternal; +extern NetMessageConnectionClosedDefaultTypeInternal _NetMessageConnectionClosed_default_instance_; +class NetMessageConnectionCrashed; +struct NetMessageConnectionCrashedDefaultTypeInternal; +extern NetMessageConnectionCrashedDefaultTypeInternal _NetMessageConnectionCrashed_default_instance_; +class NetMessagePacketEnd; +struct NetMessagePacketEndDefaultTypeInternal; +extern NetMessagePacketEndDefaultTypeInternal _NetMessagePacketEnd_default_instance_; +class NetMessagePacketStart; +struct NetMessagePacketStartDefaultTypeInternal; +extern NetMessagePacketStartDefaultTypeInternal _NetMessagePacketStart_default_instance_; +class NetMessageSplitscreenUserChanged; +struct NetMessageSplitscreenUserChangedDefaultTypeInternal; +extern NetMessageSplitscreenUserChangedDefaultTypeInternal _NetMessageSplitscreenUserChanged_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::NetMessageConnectionClosed* Arena::CreateMaybeMessage<::NetMessageConnectionClosed>(Arena*); +template<> ::NetMessageConnectionCrashed* Arena::CreateMaybeMessage<::NetMessageConnectionCrashed>(Arena*); +template<> ::NetMessagePacketEnd* Arena::CreateMaybeMessage<::NetMessagePacketEnd>(Arena*); +template<> ::NetMessagePacketStart* Arena::CreateMaybeMessage<::NetMessagePacketStart>(Arena*); +template<> ::NetMessageSplitscreenUserChanged* Arena::CreateMaybeMessage<::NetMessageSplitscreenUserChanged>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class NetMessageSplitscreenUserChanged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageSplitscreenUserChanged) */ { + public: + inline NetMessageSplitscreenUserChanged() : NetMessageSplitscreenUserChanged(nullptr) {} + ~NetMessageSplitscreenUserChanged() override; + explicit PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + NetMessageSplitscreenUserChanged(const NetMessageSplitscreenUserChanged& from); + NetMessageSplitscreenUserChanged(NetMessageSplitscreenUserChanged&& from) noexcept + : NetMessageSplitscreenUserChanged() { + *this = ::std::move(from); + } + + inline NetMessageSplitscreenUserChanged& operator=(const NetMessageSplitscreenUserChanged& from) { + CopyFrom(from); + return *this; + } + inline NetMessageSplitscreenUserChanged& operator=(NetMessageSplitscreenUserChanged&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 NetMessageSplitscreenUserChanged& default_instance() { + return *internal_default_instance(); + } + static inline const NetMessageSplitscreenUserChanged* internal_default_instance() { + return reinterpret_cast( + &_NetMessageSplitscreenUserChanged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(NetMessageSplitscreenUserChanged& a, NetMessageSplitscreenUserChanged& b) { + a.Swap(&b); + } + inline void Swap(NetMessageSplitscreenUserChanged* 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(NetMessageSplitscreenUserChanged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NetMessageSplitscreenUserChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const NetMessageSplitscreenUserChanged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const NetMessageSplitscreenUserChanged& from) { + NetMessageSplitscreenUserChanged::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(NetMessageSplitscreenUserChanged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "NetMessageSplitscreenUserChanged"; + } + protected: + explicit NetMessageSplitscreenUserChanged(::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 { + kSlotFieldNumber = 1, + }; + // optional uint32 slot = 1; + bool has_slot() const; + private: + bool _internal_has_slot() const; + public: + void clear_slot(); + uint32_t slot() const; + void set_slot(uint32_t value); + private: + uint32_t _internal_slot() const; + void _internal_set_slot(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:NetMessageSplitscreenUserChanged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; +}; +// ------------------------------------------------------------------- + +class NetMessageConnectionClosed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageConnectionClosed) */ { + public: + inline NetMessageConnectionClosed() : NetMessageConnectionClosed(nullptr) {} + ~NetMessageConnectionClosed() override; + explicit PROTOBUF_CONSTEXPR NetMessageConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + NetMessageConnectionClosed(const NetMessageConnectionClosed& from); + NetMessageConnectionClosed(NetMessageConnectionClosed&& from) noexcept + : NetMessageConnectionClosed() { + *this = ::std::move(from); + } + + inline NetMessageConnectionClosed& operator=(const NetMessageConnectionClosed& from) { + CopyFrom(from); + return *this; + } + inline NetMessageConnectionClosed& operator=(NetMessageConnectionClosed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 NetMessageConnectionClosed& default_instance() { + return *internal_default_instance(); + } + static inline const NetMessageConnectionClosed* internal_default_instance() { + return reinterpret_cast( + &_NetMessageConnectionClosed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(NetMessageConnectionClosed& a, NetMessageConnectionClosed& b) { + a.Swap(&b); + } + inline void Swap(NetMessageConnectionClosed* 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(NetMessageConnectionClosed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NetMessageConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const NetMessageConnectionClosed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const NetMessageConnectionClosed& from) { + NetMessageConnectionClosed::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(NetMessageConnectionClosed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "NetMessageConnectionClosed"; + } + protected: + explicit NetMessageConnectionClosed(::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 { + kMessageFieldNumber = 2, + kReasonFieldNumber = 1, + }; + // optional string message = 2; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // optional uint32 reason = 1; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + uint32_t reason() const; + void set_reason(uint32_t value); + private: + uint32_t _internal_reason() const; + void _internal_set_reason(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:NetMessageConnectionClosed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + uint32_t reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; +}; +// ------------------------------------------------------------------- + +class NetMessageConnectionCrashed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageConnectionCrashed) */ { + public: + inline NetMessageConnectionCrashed() : NetMessageConnectionCrashed(nullptr) {} + ~NetMessageConnectionCrashed() override; + explicit PROTOBUF_CONSTEXPR NetMessageConnectionCrashed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + NetMessageConnectionCrashed(const NetMessageConnectionCrashed& from); + NetMessageConnectionCrashed(NetMessageConnectionCrashed&& from) noexcept + : NetMessageConnectionCrashed() { + *this = ::std::move(from); + } + + inline NetMessageConnectionCrashed& operator=(const NetMessageConnectionCrashed& from) { + CopyFrom(from); + return *this; + } + inline NetMessageConnectionCrashed& operator=(NetMessageConnectionCrashed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 NetMessageConnectionCrashed& default_instance() { + return *internal_default_instance(); + } + static inline const NetMessageConnectionCrashed* internal_default_instance() { + return reinterpret_cast( + &_NetMessageConnectionCrashed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(NetMessageConnectionCrashed& a, NetMessageConnectionCrashed& b) { + a.Swap(&b); + } + inline void Swap(NetMessageConnectionCrashed* 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(NetMessageConnectionCrashed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NetMessageConnectionCrashed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const NetMessageConnectionCrashed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const NetMessageConnectionCrashed& from) { + NetMessageConnectionCrashed::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(NetMessageConnectionCrashed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "NetMessageConnectionCrashed"; + } + protected: + explicit NetMessageConnectionCrashed(::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 { + kMessageFieldNumber = 2, + kReasonFieldNumber = 1, + }; + // optional string message = 2; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // optional uint32 reason = 1; + bool has_reason() const; + private: + bool _internal_has_reason() const; + public: + void clear_reason(); + uint32_t reason() const; + void set_reason(uint32_t value); + private: + uint32_t _internal_reason() const; + void _internal_set_reason(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:NetMessageConnectionCrashed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + uint32_t reason_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; +}; +// ------------------------------------------------------------------- + +class NetMessagePacketStart final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:NetMessagePacketStart) */ { + public: + inline NetMessagePacketStart() : NetMessagePacketStart(nullptr) {} + explicit PROTOBUF_CONSTEXPR NetMessagePacketStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + NetMessagePacketStart(const NetMessagePacketStart& from); + NetMessagePacketStart(NetMessagePacketStart&& from) noexcept + : NetMessagePacketStart() { + *this = ::std::move(from); + } + + inline NetMessagePacketStart& operator=(const NetMessagePacketStart& from) { + CopyFrom(from); + return *this; + } + inline NetMessagePacketStart& operator=(NetMessagePacketStart&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 NetMessagePacketStart& default_instance() { + return *internal_default_instance(); + } + static inline const NetMessagePacketStart* internal_default_instance() { + return reinterpret_cast( + &_NetMessagePacketStart_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(NetMessagePacketStart& a, NetMessagePacketStart& b) { + a.Swap(&b); + } + inline void Swap(NetMessagePacketStart* 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(NetMessagePacketStart* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NetMessagePacketStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const NetMessagePacketStart& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const NetMessagePacketStart& 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 "NetMessagePacketStart"; + } + protected: + explicit NetMessagePacketStart(::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:NetMessagePacketStart) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; +}; +// ------------------------------------------------------------------- + +class NetMessagePacketEnd final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:NetMessagePacketEnd) */ { + public: + inline NetMessagePacketEnd() : NetMessagePacketEnd(nullptr) {} + explicit PROTOBUF_CONSTEXPR NetMessagePacketEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + NetMessagePacketEnd(const NetMessagePacketEnd& from); + NetMessagePacketEnd(NetMessagePacketEnd&& from) noexcept + : NetMessagePacketEnd() { + *this = ::std::move(from); + } + + inline NetMessagePacketEnd& operator=(const NetMessagePacketEnd& from) { + CopyFrom(from); + return *this; + } + inline NetMessagePacketEnd& operator=(NetMessagePacketEnd&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 NetMessagePacketEnd& default_instance() { + return *internal_default_instance(); + } + static inline const NetMessagePacketEnd* internal_default_instance() { + return reinterpret_cast( + &_NetMessagePacketEnd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(NetMessagePacketEnd& a, NetMessagePacketEnd& b) { + a.Swap(&b); + } + inline void Swap(NetMessagePacketEnd* 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(NetMessagePacketEnd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NetMessagePacketEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const NetMessagePacketEnd& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const NetMessagePacketEnd& 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 "NetMessagePacketEnd"; + } + protected: + explicit NetMessagePacketEnd(::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:NetMessagePacketEnd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// NetMessageSplitscreenUserChanged + +// optional uint32 slot = 1; +inline bool NetMessageSplitscreenUserChanged::_internal_has_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool NetMessageSplitscreenUserChanged::has_slot() const { + return _internal_has_slot(); +} +inline void NetMessageSplitscreenUserChanged::clear_slot() { + _impl_.slot_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t NetMessageSplitscreenUserChanged::_internal_slot() const { + return _impl_.slot_; +} +inline uint32_t NetMessageSplitscreenUserChanged::slot() const { + // @@protoc_insertion_point(field_get:NetMessageSplitscreenUserChanged.slot) + return _internal_slot(); +} +inline void NetMessageSplitscreenUserChanged::_internal_set_slot(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.slot_ = value; +} +inline void NetMessageSplitscreenUserChanged::set_slot(uint32_t value) { + _internal_set_slot(value); + // @@protoc_insertion_point(field_set:NetMessageSplitscreenUserChanged.slot) +} + +// ------------------------------------------------------------------- + +// NetMessageConnectionClosed + +// optional uint32 reason = 1; +inline bool NetMessageConnectionClosed::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool NetMessageConnectionClosed::has_reason() const { + return _internal_has_reason(); +} +inline void NetMessageConnectionClosed::clear_reason() { + _impl_.reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t NetMessageConnectionClosed::_internal_reason() const { + return _impl_.reason_; +} +inline uint32_t NetMessageConnectionClosed::reason() const { + // @@protoc_insertion_point(field_get:NetMessageConnectionClosed.reason) + return _internal_reason(); +} +inline void NetMessageConnectionClosed::_internal_set_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_ = value; +} +inline void NetMessageConnectionClosed::set_reason(uint32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:NetMessageConnectionClosed.reason) +} + +// optional string message = 2; +inline bool NetMessageConnectionClosed::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool NetMessageConnectionClosed::has_message() const { + return _internal_has_message(); +} +inline void NetMessageConnectionClosed::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& NetMessageConnectionClosed::message() const { + // @@protoc_insertion_point(field_get:NetMessageConnectionClosed.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void NetMessageConnectionClosed::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:NetMessageConnectionClosed.message) +} +inline std::string* NetMessageConnectionClosed::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:NetMessageConnectionClosed.message) + return _s; +} +inline const std::string& NetMessageConnectionClosed::_internal_message() const { + return _impl_.message_.Get(); +} +inline void NetMessageConnectionClosed::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* NetMessageConnectionClosed::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* NetMessageConnectionClosed::release_message() { + // @@protoc_insertion_point(field_release:NetMessageConnectionClosed.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void NetMessageConnectionClosed::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:NetMessageConnectionClosed.message) +} + +// ------------------------------------------------------------------- + +// NetMessageConnectionCrashed + +// optional uint32 reason = 1; +inline bool NetMessageConnectionCrashed::_internal_has_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool NetMessageConnectionCrashed::has_reason() const { + return _internal_has_reason(); +} +inline void NetMessageConnectionCrashed::clear_reason() { + _impl_.reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t NetMessageConnectionCrashed::_internal_reason() const { + return _impl_.reason_; +} +inline uint32_t NetMessageConnectionCrashed::reason() const { + // @@protoc_insertion_point(field_get:NetMessageConnectionCrashed.reason) + return _internal_reason(); +} +inline void NetMessageConnectionCrashed::_internal_set_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_ = value; +} +inline void NetMessageConnectionCrashed::set_reason(uint32_t value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:NetMessageConnectionCrashed.reason) +} + +// optional string message = 2; +inline bool NetMessageConnectionCrashed::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool NetMessageConnectionCrashed::has_message() const { + return _internal_has_message(); +} +inline void NetMessageConnectionCrashed::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& NetMessageConnectionCrashed::message() const { + // @@protoc_insertion_point(field_get:NetMessageConnectionCrashed.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void NetMessageConnectionCrashed::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:NetMessageConnectionCrashed.message) +} +inline std::string* NetMessageConnectionCrashed::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:NetMessageConnectionCrashed.message) + return _s; +} +inline const std::string& NetMessageConnectionCrashed::_internal_message() const { + return _impl_.message_.Get(); +} +inline void NetMessageConnectionCrashed::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* NetMessageConnectionCrashed::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* NetMessageConnectionCrashed::release_message() { + // @@protoc_insertion_point(field_release:NetMessageConnectionCrashed.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void NetMessageConnectionCrashed::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:NetMessageConnectionCrashed.message) +} + +// ------------------------------------------------------------------- + +// NetMessagePacketStart + +// ------------------------------------------------------------------- + +// NetMessagePacketEnd + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.cc new file mode 100644 index 0000000..d32f7b9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.cc @@ -0,0 +1,1009 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: prediction_events.proto + +#include "prediction_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; + +PROTOBUF_CONSTEXPR CPredictionEvent_Teleport::CPredictionEvent_Teleport( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.drop_to_ground_range_)*/0} {} +struct CPredictionEvent_TeleportDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPredictionEvent_TeleportDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPredictionEvent_TeleportDefaultTypeInternal() {} + union { + CPredictionEvent_Teleport _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_TeleportDefaultTypeInternal _CPredictionEvent_Teleport_default_instance_; +PROTOBUF_CONSTEXPR CPredictionEvent_StringCommand::CPredictionEvent_StringCommand( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CPredictionEvent_StringCommandDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPredictionEvent_StringCommandDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPredictionEvent_StringCommandDefaultTypeInternal() {} + union { + CPredictionEvent_StringCommand _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_StringCommandDefaultTypeInternal _CPredictionEvent_StringCommand_default_instance_; +PROTOBUF_CONSTEXPR CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.execution_sync_)*/{} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.requested_sync_)*/0u + , /*decltype(_impl_.requested_player_index_)*/0u} {} +struct CPredictionEvent_DiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPredictionEvent_DiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPredictionEvent_DiagnosticDefaultTypeInternal() {} + union { + CPredictionEvent_Diagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_DiagnosticDefaultTypeInternal _CPredictionEvent_Diagnostic_default_instance_; +static ::_pb::Metadata file_level_metadata_prediction_5fevents_2eproto[3]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_prediction_5fevents_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_prediction_5fevents_2eproto = nullptr; + +const uint32_t TableStruct_prediction_5fevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.drop_to_ground_range_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _impl_.command_), + 0, + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.requested_sync_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.requested_player_index_), + PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.execution_sync_), + 0, + 1, + 2, + ~0u, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CPredictionEvent_Teleport)}, + { 12, 19, -1, sizeof(::CPredictionEvent_StringCommand)}, + { 20, 30, -1, sizeof(::CPredictionEvent_Diagnostic)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CPredictionEvent_Teleport_default_instance_._instance, + &::_CPredictionEvent_StringCommand_default_instance_._instance, + &::_CPredictionEvent_Diagnostic_default_instance_._instance, +}; + +const char descriptor_table_protodef_prediction_5fevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\027prediction_events.proto\032\026networkbasety" + "pes.proto\"s\n\031CPredictionEvent_Teleport\022\033" + "\n\006origin\030\001 \001(\0132\013.CMsgVector\022\033\n\006angles\030\002 " + "\001(\0132\013.CMsgQAngle\022\034\n\024drop_to_ground_range" + "\030\003 \001(\002\"1\n\036CPredictionEvent_StringCommand" + "\022\017\n\007command\030\001 \001(\t\"y\n\033CPredictionEvent_Di" + "agnostic\022\n\n\002id\030\001 \001(\r\022\026\n\016requested_sync\030\002" + " \001(\r\022\036\n\026requested_player_index\030\003 \001(\r\022\026\n\016" + "execution_sync\030\004 \003(\r*X\n\025EBasePredictionE" + "vents\022\026\n\021BPE_StringCommand\020\200\001\022\021\n\014BPE_Tel" + "eport\020\202\001\022\024\n\016BPE_Diagnostic\020\200\200\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_prediction_5fevents_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_prediction_5fevents_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_prediction_5fevents_2eproto = { + false, false, 430, descriptor_table_protodef_prediction_5fevents_2eproto, + "prediction_events.proto", + &descriptor_table_prediction_5fevents_2eproto_once, descriptor_table_prediction_5fevents_2eproto_deps, 1, 3, + schemas, file_default_instances, TableStruct_prediction_5fevents_2eproto::offsets, + file_level_metadata_prediction_5fevents_2eproto, file_level_enum_descriptors_prediction_5fevents_2eproto, + file_level_service_descriptors_prediction_5fevents_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_prediction_5fevents_2eproto_getter() { + return &descriptor_table_prediction_5fevents_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_prediction_5fevents_2eproto(&descriptor_table_prediction_5fevents_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBasePredictionEvents_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_prediction_5fevents_2eproto); + return file_level_enum_descriptors_prediction_5fevents_2eproto[0]; +} +bool EBasePredictionEvents_IsValid(int value) { + switch (value) { + case 128: + case 130: + case 16384: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CPredictionEvent_Teleport::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CPredictionEvent_Teleport* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& angles(const CPredictionEvent_Teleport* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_drop_to_ground_range(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CPredictionEvent_Teleport::_Internal::origin(const CPredictionEvent_Teleport* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgQAngle& +CPredictionEvent_Teleport::_Internal::angles(const CPredictionEvent_Teleport* msg) { + return *msg->_impl_.angles_; +} +void CPredictionEvent_Teleport::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CPredictionEvent_Teleport::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CPredictionEvent_Teleport::CPredictionEvent_Teleport(::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:CPredictionEvent_Teleport) +} +CPredictionEvent_Teleport::CPredictionEvent_Teleport(const CPredictionEvent_Teleport& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPredictionEvent_Teleport* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.drop_to_ground_range_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + _this->_impl_.drop_to_ground_range_ = from._impl_.drop_to_ground_range_; + // @@protoc_insertion_point(copy_constructor:CPredictionEvent_Teleport) +} + +inline void CPredictionEvent_Teleport::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.drop_to_ground_range_){0} + }; +} + +CPredictionEvent_Teleport::~CPredictionEvent_Teleport() { + // @@protoc_insertion_point(destructor:CPredictionEvent_Teleport) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPredictionEvent_Teleport::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.angles_; +} + +void CPredictionEvent_Teleport::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPredictionEvent_Teleport::Clear() { +// @@protoc_insertion_point(message_clear_start:CPredictionEvent_Teleport) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + } + _impl_.drop_to_ground_range_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPredictionEvent_Teleport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float drop_to_ground_range = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_drop_to_ground_range(&has_bits); + _impl_.drop_to_ground_range_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPredictionEvent_Teleport::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_Teleport) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional float drop_to_ground_range = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_drop_to_ground_range(), 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:CPredictionEvent_Teleport) + return target; +} + +size_t CPredictionEvent_Teleport::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_Teleport) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional float drop_to_ground_range = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_Teleport::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPredictionEvent_Teleport::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_Teleport::GetClassData() const { return &_class_data_; } + + +void CPredictionEvent_Teleport::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:CPredictionEvent_Teleport) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.drop_to_ground_range_ = from._impl_.drop_to_ground_range_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPredictionEvent_Teleport::CopyFrom(const CPredictionEvent_Teleport& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_Teleport) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPredictionEvent_Teleport::IsInitialized() const { + return true; +} + +void CPredictionEvent_Teleport::InternalSwap(CPredictionEvent_Teleport* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPredictionEvent_Teleport, _impl_.drop_to_ground_range_) + + sizeof(CPredictionEvent_Teleport::_impl_.drop_to_ground_range_) + - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Teleport, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_Teleport::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, + file_level_metadata_prediction_5fevents_2eproto[0]); +} + +// =================================================================== + +class CPredictionEvent_StringCommand::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPredictionEvent_StringCommand::CPredictionEvent_StringCommand(::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:CPredictionEvent_StringCommand) +} +CPredictionEvent_StringCommand::CPredictionEvent_StringCommand(const CPredictionEvent_StringCommand& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPredictionEvent_StringCommand* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_command()) { + _this->_impl_.command_.Set(from._internal_command(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CPredictionEvent_StringCommand) +} + +inline void CPredictionEvent_StringCommand::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + }; + _impl_.command_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPredictionEvent_StringCommand::~CPredictionEvent_StringCommand() { + // @@protoc_insertion_point(destructor:CPredictionEvent_StringCommand) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPredictionEvent_StringCommand::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.command_.Destroy(); +} + +void CPredictionEvent_StringCommand::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPredictionEvent_StringCommand::Clear() { +// @@protoc_insertion_point(message_clear_start:CPredictionEvent_StringCommand) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.command_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPredictionEvent_StringCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_command(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPredictionEvent_StringCommand.command"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPredictionEvent_StringCommand::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_StringCommand) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string command = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_command().data(), static_cast(this->_internal_command().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPredictionEvent_StringCommand.command"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_command(), 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:CPredictionEvent_StringCommand) + return target; +} + +size_t CPredictionEvent_StringCommand::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_StringCommand) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string command = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_command()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_StringCommand::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPredictionEvent_StringCommand::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_StringCommand::GetClassData() const { return &_class_data_; } + + +void CPredictionEvent_StringCommand::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:CPredictionEvent_StringCommand) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_command()) { + _this->_internal_set_command(from._internal_command()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPredictionEvent_StringCommand::CopyFrom(const CPredictionEvent_StringCommand& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_StringCommand) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPredictionEvent_StringCommand::IsInitialized() const { + return true; +} + +void CPredictionEvent_StringCommand::InternalSwap(CPredictionEvent_StringCommand* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.command_, lhs_arena, + &other->_impl_.command_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_StringCommand::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, + file_level_metadata_prediction_5fevents_2eproto[1]); +} + +// =================================================================== + +class CPredictionEvent_Diagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_requested_sync(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_requested_player_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic(::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:CPredictionEvent_Diagnostic) +} +CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic(const CPredictionEvent_Diagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPredictionEvent_Diagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.execution_sync_){from._impl_.execution_sync_} + , decltype(_impl_.id_){} + , decltype(_impl_.requested_sync_){} + , decltype(_impl_.requested_player_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.requested_player_index_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.requested_player_index_)); + // @@protoc_insertion_point(copy_constructor:CPredictionEvent_Diagnostic) +} + +inline void CPredictionEvent_Diagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.execution_sync_){arena} + , decltype(_impl_.id_){0u} + , decltype(_impl_.requested_sync_){0u} + , decltype(_impl_.requested_player_index_){0u} + }; +} + +CPredictionEvent_Diagnostic::~CPredictionEvent_Diagnostic() { + // @@protoc_insertion_point(destructor:CPredictionEvent_Diagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPredictionEvent_Diagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.execution_sync_.~RepeatedField(); +} + +void CPredictionEvent_Diagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPredictionEvent_Diagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CPredictionEvent_Diagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.execution_sync_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.requested_player_index_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.requested_player_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPredictionEvent_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 requested_sync = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_requested_sync(&has_bits); + _impl_.requested_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 requested_player_index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_requested_player_index(&has_bits); + _impl_.requested_player_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 execution_sync = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_execution_sync(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_execution_sync(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPredictionEvent_Diagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_Diagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 requested_sync = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_requested_sync(), target); + } + + // optional uint32 requested_player_index = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_requested_player_index(), target); + } + + // repeated uint32 execution_sync = 4; + for (int i = 0, n = this->_internal_execution_sync_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_execution_sync(i), 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:CPredictionEvent_Diagnostic) + return target; +} + +size_t CPredictionEvent_Diagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_Diagnostic) + 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 uint32 execution_sync = 4; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.execution_sync_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_execution_sync_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 requested_sync = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_requested_sync()); + } + + // optional uint32 requested_player_index = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_requested_player_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_Diagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPredictionEvent_Diagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_Diagnostic::GetClassData() const { return &_class_data_; } + + +void CPredictionEvent_Diagnostic::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:CPredictionEvent_Diagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.execution_sync_.MergeFrom(from._impl_.execution_sync_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.requested_sync_ = from._impl_.requested_sync_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.requested_player_index_ = from._impl_.requested_player_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPredictionEvent_Diagnostic::CopyFrom(const CPredictionEvent_Diagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_Diagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPredictionEvent_Diagnostic::IsInitialized() const { + return true; +} + +void CPredictionEvent_Diagnostic::InternalSwap(CPredictionEvent_Diagnostic* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.execution_sync_.InternalSwap(&other->_impl_.execution_sync_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPredictionEvent_Diagnostic, _impl_.requested_player_index_) + + sizeof(CPredictionEvent_Diagnostic::_impl_.requested_player_index_) + - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Diagnostic, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_Diagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, + file_level_metadata_prediction_5fevents_2eproto[2]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CPredictionEvent_Teleport* +Arena::CreateMaybeMessage< ::CPredictionEvent_Teleport >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPredictionEvent_Teleport >(arena); +} +template<> PROTOBUF_NOINLINE ::CPredictionEvent_StringCommand* +Arena::CreateMaybeMessage< ::CPredictionEvent_StringCommand >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPredictionEvent_StringCommand >(arena); +} +template<> PROTOBUF_NOINLINE ::CPredictionEvent_Diagnostic* +Arena::CreateMaybeMessage< ::CPredictionEvent_Diagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPredictionEvent_Diagnostic >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.h new file mode 100644 index 0000000..e8a9303 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/prediction_events.pb.h @@ -0,0 +1,1111 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: prediction_events.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_prediction_5fevents_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_prediction_5fevents_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_prediction_5fevents_2eproto; +class CPredictionEvent_Diagnostic; +struct CPredictionEvent_DiagnosticDefaultTypeInternal; +extern CPredictionEvent_DiagnosticDefaultTypeInternal _CPredictionEvent_Diagnostic_default_instance_; +class CPredictionEvent_StringCommand; +struct CPredictionEvent_StringCommandDefaultTypeInternal; +extern CPredictionEvent_StringCommandDefaultTypeInternal _CPredictionEvent_StringCommand_default_instance_; +class CPredictionEvent_Teleport; +struct CPredictionEvent_TeleportDefaultTypeInternal; +extern CPredictionEvent_TeleportDefaultTypeInternal _CPredictionEvent_Teleport_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CPredictionEvent_Diagnostic* Arena::CreateMaybeMessage<::CPredictionEvent_Diagnostic>(Arena*); +template<> ::CPredictionEvent_StringCommand* Arena::CreateMaybeMessage<::CPredictionEvent_StringCommand>(Arena*); +template<> ::CPredictionEvent_Teleport* Arena::CreateMaybeMessage<::CPredictionEvent_Teleport>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EBasePredictionEvents : int { + BPE_StringCommand = 128, + BPE_Teleport = 130, + BPE_Diagnostic = 16384 +}; +bool EBasePredictionEvents_IsValid(int value); +constexpr EBasePredictionEvents EBasePredictionEvents_MIN = BPE_StringCommand; +constexpr EBasePredictionEvents EBasePredictionEvents_MAX = BPE_Diagnostic; +constexpr int EBasePredictionEvents_ARRAYSIZE = EBasePredictionEvents_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBasePredictionEvents_descriptor(); +template +inline const std::string& EBasePredictionEvents_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EBasePredictionEvents_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EBasePredictionEvents_descriptor(), enum_t_value); +} +inline bool EBasePredictionEvents_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBasePredictionEvents* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EBasePredictionEvents_descriptor(), name, value); +} +// =================================================================== + +class CPredictionEvent_Teleport final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_Teleport) */ { + public: + inline CPredictionEvent_Teleport() : CPredictionEvent_Teleport(nullptr) {} + ~CPredictionEvent_Teleport() override; + explicit PROTOBUF_CONSTEXPR CPredictionEvent_Teleport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPredictionEvent_Teleport(const CPredictionEvent_Teleport& from); + CPredictionEvent_Teleport(CPredictionEvent_Teleport&& from) noexcept + : CPredictionEvent_Teleport() { + *this = ::std::move(from); + } + + inline CPredictionEvent_Teleport& operator=(const CPredictionEvent_Teleport& from) { + CopyFrom(from); + return *this; + } + inline CPredictionEvent_Teleport& operator=(CPredictionEvent_Teleport&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPredictionEvent_Teleport& default_instance() { + return *internal_default_instance(); + } + static inline const CPredictionEvent_Teleport* internal_default_instance() { + return reinterpret_cast( + &_CPredictionEvent_Teleport_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CPredictionEvent_Teleport& a, CPredictionEvent_Teleport& b) { + a.Swap(&b); + } + inline void Swap(CPredictionEvent_Teleport* 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(CPredictionEvent_Teleport* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPredictionEvent_Teleport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPredictionEvent_Teleport& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPredictionEvent_Teleport& from) { + CPredictionEvent_Teleport::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(CPredictionEvent_Teleport* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPredictionEvent_Teleport"; + } + protected: + explicit CPredictionEvent_Teleport(::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 { + kOriginFieldNumber = 1, + kAnglesFieldNumber = 2, + kDropToGroundRangeFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgQAngle angles = 2; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional float drop_to_ground_range = 3; + bool has_drop_to_ground_range() const; + private: + bool _internal_has_drop_to_ground_range() const; + public: + void clear_drop_to_ground_range(); + float drop_to_ground_range() const; + void set_drop_to_ground_range(float value); + private: + float _internal_drop_to_ground_range() const; + void _internal_set_drop_to_ground_range(float value); + public: + + // @@protoc_insertion_point(class_scope:CPredictionEvent_Teleport) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgQAngle* angles_; + float drop_to_ground_range_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_prediction_5fevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CPredictionEvent_StringCommand final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_StringCommand) */ { + public: + inline CPredictionEvent_StringCommand() : CPredictionEvent_StringCommand(nullptr) {} + ~CPredictionEvent_StringCommand() override; + explicit PROTOBUF_CONSTEXPR CPredictionEvent_StringCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPredictionEvent_StringCommand(const CPredictionEvent_StringCommand& from); + CPredictionEvent_StringCommand(CPredictionEvent_StringCommand&& from) noexcept + : CPredictionEvent_StringCommand() { + *this = ::std::move(from); + } + + inline CPredictionEvent_StringCommand& operator=(const CPredictionEvent_StringCommand& from) { + CopyFrom(from); + return *this; + } + inline CPredictionEvent_StringCommand& operator=(CPredictionEvent_StringCommand&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPredictionEvent_StringCommand& default_instance() { + return *internal_default_instance(); + } + static inline const CPredictionEvent_StringCommand* internal_default_instance() { + return reinterpret_cast( + &_CPredictionEvent_StringCommand_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CPredictionEvent_StringCommand& a, CPredictionEvent_StringCommand& b) { + a.Swap(&b); + } + inline void Swap(CPredictionEvent_StringCommand* 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(CPredictionEvent_StringCommand* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPredictionEvent_StringCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPredictionEvent_StringCommand& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPredictionEvent_StringCommand& from) { + CPredictionEvent_StringCommand::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(CPredictionEvent_StringCommand* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPredictionEvent_StringCommand"; + } + protected: + explicit CPredictionEvent_StringCommand(::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 { + kCommandFieldNumber = 1, + }; + // optional string command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + const std::string& command() const; + template + void set_command(ArgT0&& arg0, ArgT... args); + std::string* mutable_command(); + PROTOBUF_NODISCARD std::string* release_command(); + void set_allocated_command(std::string* command); + private: + const std::string& _internal_command() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_command(const std::string& value); + std::string* _internal_mutable_command(); + public: + + // @@protoc_insertion_point(class_scope:CPredictionEvent_StringCommand) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_prediction_5fevents_2eproto; +}; +// ------------------------------------------------------------------- + +class CPredictionEvent_Diagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_Diagnostic) */ { + public: + inline CPredictionEvent_Diagnostic() : CPredictionEvent_Diagnostic(nullptr) {} + ~CPredictionEvent_Diagnostic() override; + explicit PROTOBUF_CONSTEXPR CPredictionEvent_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPredictionEvent_Diagnostic(const CPredictionEvent_Diagnostic& from); + CPredictionEvent_Diagnostic(CPredictionEvent_Diagnostic&& from) noexcept + : CPredictionEvent_Diagnostic() { + *this = ::std::move(from); + } + + inline CPredictionEvent_Diagnostic& operator=(const CPredictionEvent_Diagnostic& from) { + CopyFrom(from); + return *this; + } + inline CPredictionEvent_Diagnostic& operator=(CPredictionEvent_Diagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPredictionEvent_Diagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CPredictionEvent_Diagnostic* internal_default_instance() { + return reinterpret_cast( + &_CPredictionEvent_Diagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CPredictionEvent_Diagnostic& a, CPredictionEvent_Diagnostic& b) { + a.Swap(&b); + } + inline void Swap(CPredictionEvent_Diagnostic* 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(CPredictionEvent_Diagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPredictionEvent_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPredictionEvent_Diagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPredictionEvent_Diagnostic& from) { + CPredictionEvent_Diagnostic::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(CPredictionEvent_Diagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPredictionEvent_Diagnostic"; + } + protected: + explicit CPredictionEvent_Diagnostic(::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 { + kExecutionSyncFieldNumber = 4, + kIdFieldNumber = 1, + kRequestedSyncFieldNumber = 2, + kRequestedPlayerIndexFieldNumber = 3, + }; + // repeated uint32 execution_sync = 4; + int execution_sync_size() const; + private: + int _internal_execution_sync_size() const; + public: + void clear_execution_sync(); + private: + uint32_t _internal_execution_sync(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_execution_sync() const; + void _internal_add_execution_sync(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_execution_sync(); + public: + uint32_t execution_sync(int index) const; + void set_execution_sync(int index, uint32_t value); + void add_execution_sync(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + execution_sync() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_execution_sync(); + + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 requested_sync = 2; + bool has_requested_sync() const; + private: + bool _internal_has_requested_sync() const; + public: + void clear_requested_sync(); + uint32_t requested_sync() const; + void set_requested_sync(uint32_t value); + private: + uint32_t _internal_requested_sync() const; + void _internal_set_requested_sync(uint32_t value); + public: + + // optional uint32 requested_player_index = 3; + bool has_requested_player_index() const; + private: + bool _internal_has_requested_player_index() const; + public: + void clear_requested_player_index(); + uint32_t requested_player_index() const; + void set_requested_player_index(uint32_t value); + private: + uint32_t _internal_requested_player_index() const; + void _internal_set_requested_player_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPredictionEvent_Diagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > execution_sync_; + uint32_t id_; + uint32_t requested_sync_; + uint32_t requested_player_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_prediction_5fevents_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CPredictionEvent_Teleport + +// optional .CMsgVector origin = 1; +inline bool CPredictionEvent_Teleport::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CPredictionEvent_Teleport::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CPredictionEvent_Teleport::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CPredictionEvent_Teleport::origin() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.origin) + return _internal_origin(); +} +inline void CPredictionEvent_Teleport::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPredictionEvent_Teleport.origin) +} +inline ::CMsgVector* CPredictionEvent_Teleport::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CPredictionEvent_Teleport::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CPredictionEvent_Teleport.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CPredictionEvent_Teleport::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CPredictionEvent_Teleport::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CPredictionEvent_Teleport.origin) + return _msg; +} +inline void CPredictionEvent_Teleport::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_Teleport.origin) +} + +// optional .CMsgQAngle angles = 2; +inline bool CPredictionEvent_Teleport::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CPredictionEvent_Teleport::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CPredictionEvent_Teleport::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CPredictionEvent_Teleport::angles() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.angles) + return _internal_angles(); +} +inline void CPredictionEvent_Teleport::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPredictionEvent_Teleport.angles) +} +inline ::CMsgQAngle* CPredictionEvent_Teleport::release_angles() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* 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 ::CMsgQAngle* CPredictionEvent_Teleport::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CPredictionEvent_Teleport.angles) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CPredictionEvent_Teleport::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CPredictionEvent_Teleport::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CPredictionEvent_Teleport.angles) + return _msg; +} +inline void CPredictionEvent_Teleport::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_Teleport.angles) +} + +// optional float drop_to_ground_range = 3; +inline bool CPredictionEvent_Teleport::_internal_has_drop_to_ground_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPredictionEvent_Teleport::has_drop_to_ground_range() const { + return _internal_has_drop_to_ground_range(); +} +inline void CPredictionEvent_Teleport::clear_drop_to_ground_range() { + _impl_.drop_to_ground_range_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CPredictionEvent_Teleport::_internal_drop_to_ground_range() const { + return _impl_.drop_to_ground_range_; +} +inline float CPredictionEvent_Teleport::drop_to_ground_range() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.drop_to_ground_range) + return _internal_drop_to_ground_range(); +} +inline void CPredictionEvent_Teleport::_internal_set_drop_to_ground_range(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.drop_to_ground_range_ = value; +} +inline void CPredictionEvent_Teleport::set_drop_to_ground_range(float value) { + _internal_set_drop_to_ground_range(value); + // @@protoc_insertion_point(field_set:CPredictionEvent_Teleport.drop_to_ground_range) +} + +// ------------------------------------------------------------------- + +// CPredictionEvent_StringCommand + +// optional string command = 1; +inline bool CPredictionEvent_StringCommand::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPredictionEvent_StringCommand::has_command() const { + return _internal_has_command(); +} +inline void CPredictionEvent_StringCommand::clear_command() { + _impl_.command_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPredictionEvent_StringCommand::command() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_StringCommand.command) + return _internal_command(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPredictionEvent_StringCommand::set_command(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPredictionEvent_StringCommand.command) +} +inline std::string* CPredictionEvent_StringCommand::mutable_command() { + std::string* _s = _internal_mutable_command(); + // @@protoc_insertion_point(field_mutable:CPredictionEvent_StringCommand.command) + return _s; +} +inline const std::string& CPredictionEvent_StringCommand::_internal_command() const { + return _impl_.command_.Get(); +} +inline void CPredictionEvent_StringCommand::_internal_set_command(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPredictionEvent_StringCommand::_internal_mutable_command() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.command_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPredictionEvent_StringCommand::release_command() { + // @@protoc_insertion_point(field_release:CPredictionEvent_StringCommand.command) + if (!_internal_has_command()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.command_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_.IsDefault()) { + _impl_.command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPredictionEvent_StringCommand::set_allocated_command(std::string* command) { + if (command != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.command_.SetAllocated(command, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_.IsDefault()) { + _impl_.command_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_StringCommand.command) +} + +// ------------------------------------------------------------------- + +// CPredictionEvent_Diagnostic + +// optional uint32 id = 1; +inline bool CPredictionEvent_Diagnostic::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPredictionEvent_Diagnostic::has_id() const { + return _internal_has_id(); +} +inline void CPredictionEvent_Diagnostic::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPredictionEvent_Diagnostic::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CPredictionEvent_Diagnostic::id() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.id) + return _internal_id(); +} +inline void CPredictionEvent_Diagnostic::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CPredictionEvent_Diagnostic::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.id) +} + +// optional uint32 requested_sync = 2; +inline bool CPredictionEvent_Diagnostic::_internal_has_requested_sync() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPredictionEvent_Diagnostic::has_requested_sync() const { + return _internal_has_requested_sync(); +} +inline void CPredictionEvent_Diagnostic::clear_requested_sync() { + _impl_.requested_sync_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPredictionEvent_Diagnostic::_internal_requested_sync() const { + return _impl_.requested_sync_; +} +inline uint32_t CPredictionEvent_Diagnostic::requested_sync() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.requested_sync) + return _internal_requested_sync(); +} +inline void CPredictionEvent_Diagnostic::_internal_set_requested_sync(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.requested_sync_ = value; +} +inline void CPredictionEvent_Diagnostic::set_requested_sync(uint32_t value) { + _internal_set_requested_sync(value); + // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.requested_sync) +} + +// optional uint32 requested_player_index = 3; +inline bool CPredictionEvent_Diagnostic::_internal_has_requested_player_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPredictionEvent_Diagnostic::has_requested_player_index() const { + return _internal_has_requested_player_index(); +} +inline void CPredictionEvent_Diagnostic::clear_requested_player_index() { + _impl_.requested_player_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPredictionEvent_Diagnostic::_internal_requested_player_index() const { + return _impl_.requested_player_index_; +} +inline uint32_t CPredictionEvent_Diagnostic::requested_player_index() const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.requested_player_index) + return _internal_requested_player_index(); +} +inline void CPredictionEvent_Diagnostic::_internal_set_requested_player_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.requested_player_index_ = value; +} +inline void CPredictionEvent_Diagnostic::set_requested_player_index(uint32_t value) { + _internal_set_requested_player_index(value); + // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.requested_player_index) +} + +// repeated uint32 execution_sync = 4; +inline int CPredictionEvent_Diagnostic::_internal_execution_sync_size() const { + return _impl_.execution_sync_.size(); +} +inline int CPredictionEvent_Diagnostic::execution_sync_size() const { + return _internal_execution_sync_size(); +} +inline void CPredictionEvent_Diagnostic::clear_execution_sync() { + _impl_.execution_sync_.Clear(); +} +inline uint32_t CPredictionEvent_Diagnostic::_internal_execution_sync(int index) const { + return _impl_.execution_sync_.Get(index); +} +inline uint32_t CPredictionEvent_Diagnostic::execution_sync(int index) const { + // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.execution_sync) + return _internal_execution_sync(index); +} +inline void CPredictionEvent_Diagnostic::set_execution_sync(int index, uint32_t value) { + _impl_.execution_sync_.Set(index, value); + // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.execution_sync) +} +inline void CPredictionEvent_Diagnostic::_internal_add_execution_sync(uint32_t value) { + _impl_.execution_sync_.Add(value); +} +inline void CPredictionEvent_Diagnostic::add_execution_sync(uint32_t value) { + _internal_add_execution_sync(value); + // @@protoc_insertion_point(field_add:CPredictionEvent_Diagnostic.execution_sync) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CPredictionEvent_Diagnostic::_internal_execution_sync() const { + return _impl_.execution_sync_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CPredictionEvent_Diagnostic::execution_sync() const { + // @@protoc_insertion_point(field_list:CPredictionEvent_Diagnostic.execution_sync) + return _internal_execution_sync(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CPredictionEvent_Diagnostic::_internal_mutable_execution_sync() { + return &_impl_.execution_sync_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CPredictionEvent_Diagnostic::mutable_execution_sync() { + // @@protoc_insertion_point(field_mutable_list:CPredictionEvent_Diagnostic.execution_sync) + return _internal_mutable_execution_sync(); +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EBasePredictionEvents> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EBasePredictionEvents>() { + return ::EBasePredictionEvents_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.cc new file mode 100644 index 0000000..77999a1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.cc @@ -0,0 +1,3259 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamdatagram_messages_auth.proto + +#include "steamdatagram_messages_auth.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; + +PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.int64_value_)*/int64_t{0} + , /*decltype(_impl_.fixed64_value_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal() {} + union { + CMsgSteamDatagramRelayAuthTicket_ExtraField _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.extra_fields_)*/{} + , /*decltype(_impl_.gameserver_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_authorized_client_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_gameserver_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.authorized_client_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gameserver_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_authorized_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.time_expiry_)*/0u + , /*decltype(_impl_.authorized_public_ip_)*/0u + , /*decltype(_impl_.legacy_gameserver_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.app_id_)*/0u + , /*decltype(_impl_.legacy_gameserver_pop_id_)*/0u + , /*decltype(_impl_.virtual_port_)*/0u} {} +struct CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal() {} + union { + CMsgSteamDatagramRelayAuthTicket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.certs_)*/{} + , /*decltype(_impl_.ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reserved_do_not_use_)*/uint64_t{0u} + , /*decltype(_impl_.key_id_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal() {} + union { + CMsgSteamDatagramSignedRelayAuthTicket _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramSignedRelayAuthTicket_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.relay_tickets_)*/{} + , /*decltype(_impl_.private_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal() {} + union { + CMsgSteamDatagramCachedCredentialsForApp _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal _CMsgSteamDatagramCachedCredentialsForApp_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appdata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.time_generated_)*/0u + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.dummy_steam_id_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameCoordinatorServerLogin _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.login_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/nullptr} {} +struct CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal() {} + union { + CMsgSteamDatagramSignedGameCoordinatorServerLogin _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ipv6_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ipv4_)*/0u + , /*decltype(_impl_.port_)*/0u + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} + , /*decltype(_impl_.protocol_version_)*/0u} {} +struct CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal() {} + union { + CMsgSteamDatagramHostedServerAddressPlaintext _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal _CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_; +static ::_pb::Metadata file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[7]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steamdatagram_5fmessages_5fauth_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamdatagram_5fmessages_5fauth_2eproto = nullptr; + +const uint32_t TableStruct_steamdatagram_5fmessages_5fauth_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.string_value_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.int64_value_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.fixed64_value_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.time_expiry_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.authorized_client_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.gameserver_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.authorized_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.gameserver_address_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.app_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.virtual_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.extra_fields_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_client_identity_binary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_identity_binary_), + 6, + 3, + 4, + 7, + 0, + 9, + 11, + ~0u, + 5, + 8, + 10, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.reserved_do_not_use_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.ticket_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.key_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.certs_), + 2, + 0, + 1, + 3, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.private_key_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.relay_tickets_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.time_generated_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.routing_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.appdata_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.legacy_identity_binary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.dummy_steam_id_), + 4, + 5, + 0, + 1, + 2, + 3, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.login_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.signature_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv4_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv6_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.routing_secret_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.protocol_version_), + 1, + 0, + 2, + 3, + 4, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::CMsgSteamDatagramRelayAuthTicket_ExtraField)}, + { 14, 33, -1, sizeof(::CMsgSteamDatagramRelayAuthTicket)}, + { 46, 57, -1, sizeof(::CMsgSteamDatagramSignedRelayAuthTicket)}, + { 62, 71, -1, sizeof(::CMsgSteamDatagramCachedCredentialsForApp)}, + { 74, 87, -1, sizeof(::CMsgSteamDatagramGameCoordinatorServerLogin)}, + { 94, 103, -1, sizeof(::CMsgSteamDatagramSignedGameCoordinatorServerLogin)}, + { 106, 117, -1, sizeof(::CMsgSteamDatagramHostedServerAddressPlaintext)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_._instance, + &::_CMsgSteamDatagramRelayAuthTicket_default_instance_._instance, + &::_CMsgSteamDatagramSignedRelayAuthTicket_default_instance_._instance, + &::_CMsgSteamDatagramCachedCredentialsForApp_default_instance_._instance, + &::_CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_._instance, + &::_CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_._instance, + &::_CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_._instance, +}; + +const char descriptor_table_protodef_steamdatagram_5fmessages_5fauth_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n!steamdatagram_messages_auth.proto\032+ste" + "amnetworkingsockets_messages_certs.proto" + "\"\317\004\n CMsgSteamDatagramRelayAuthTicket\022\023\n" + "\013time_expiry\030\001 \001(\007\022)\n!authorized_client_" + "identity_string\030\016 \001(\t\022\"\n\032gameserver_iden" + "tity_string\030\017 \001(\t\022\034\n\024authorized_public_i" + "p\030\003 \001(\007\022\032\n\022gameserver_address\030\013 \001(\014\022\016\n\006a" + "pp_id\030\007 \001(\r\022\024\n\014virtual_port\030\n \001(\r\022B\n\014ext" + "ra_fields\030\010 \003(\0132,.CMsgSteamDatagramRelay" + "AuthTicket.ExtraField\022\"\n\032legacy_authoriz" + "ed_steam_id\030\002 \001(\006\022\"\n\032legacy_gameserver_s" + "team_id\030\004 \001(\006\022 \n\030legacy_gameserver_pop_i" + "d\030\t \001(\007\0220\n(legacy_authorized_client_iden" + "tity_binary\030\014 \001(\014\022)\n!legacy_gameserver_i" + "dentity_binary\030\r \001(\014\032\\\n\nExtraField\022\014\n\004na" + "me\030\001 \001(\t\022\024\n\014string_value\030\002 \001(\t\022\023\n\013int64_" + "value\030\003 \001(\022\022\025\n\rfixed64_value\030\005 \001(\006\"\254\001\n&C" + "MsgSteamDatagramSignedRelayAuthTicket\022\033\n" + "\023reserved_do_not_use\030\001 \001(\006\022\016\n\006ticket\030\003 \001" + "(\014\022\021\n\tsignature\030\004 \001(\014\022\016\n\006key_id\030\002 \001(\006\0222\n" + "\005certs\030\005 \003(\0132#.CMsgSteamDatagramCertific" + "ateSigned\"d\n(CMsgSteamDatagramCachedCred" + "entialsForApp\022\023\n\013private_key\030\001 \001(\014\022\014\n\004ce" + "rt\030\002 \001(\014\022\025\n\rrelay_tickets\030\003 \003(\014\"\307\001\n+CMsg" + "SteamDatagramGameCoordinatorServerLogin\022" + "\026\n\016time_generated\030\001 \001(\r\022\r\n\005appid\030\002 \001(\r\022\017" + "\n\007routing\030\003 \001(\014\022\017\n\007appdata\030\004 \001(\014\022\036\n\026lega" + "cy_identity_binary\030\005 \001(\014\022\027\n\017identity_str" + "ing\030\006 \001(\t\022\026\n\016dummy_steam_id\030c \001(\006\"\210\001\n1CM" + "sgSteamDatagramSignedGameCoordinatorServ" + "erLogin\0221\n\004cert\030\001 \001(\0132#.CMsgSteamDatagra" + "mCertificateSigned\022\r\n\005login\030\002 \001(\014\022\021\n\tsig" + "nature\030\003 \001(\014\"\213\001\n-CMsgSteamDatagramHosted" + "ServerAddressPlaintext\022\014\n\004ipv4\030\001 \001(\007\022\014\n\004" + "ipv6\030\002 \001(\014\022\014\n\004port\030\003 \001(\r\022\026\n\016routing_secr" + "et\030\004 \001(\006\022\030\n\020protocol_version\030\005 \001(\rB\005H\001\200\001" + "\000" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_deps[1] = { + &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fauth_2eproto = { + false, false, 1441, descriptor_table_protodef_steamdatagram_5fmessages_5fauth_2eproto, + "steamdatagram_messages_auth.proto", + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_deps, 1, 7, + schemas, file_default_instances, TableStruct_steamdatagram_5fmessages_5fauth_2eproto::offsets, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto, file_level_enum_descriptors_steamdatagram_5fmessages_5fauth_2eproto, + file_level_service_descriptors_steamdatagram_5fmessages_5fauth_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter() { + return &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamdatagram_5fmessages_5fauth_2eproto(&descriptor_table_steamdatagram_5fmessages_5fauth_2eproto); + +// =================================================================== + +class CMsgSteamDatagramRelayAuthTicket_ExtraField::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_string_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_int64_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_fixed64_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField(::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:CMsgSteamDatagramRelayAuthTicket.ExtraField) +} +CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramRelayAuthTicket_ExtraField* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.string_value_){} + , decltype(_impl_.int64_value_){} + , decltype(_impl_.fixed64_value_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_value()) { + _this->_impl_.string_value_.Set(from._internal_string_value(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.int64_value_, &from._impl_.int64_value_, + static_cast(reinterpret_cast(&_impl_.fixed64_value_) - + reinterpret_cast(&_impl_.int64_value_)) + sizeof(_impl_.fixed64_value_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRelayAuthTicket.ExtraField) +} + +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.string_value_){} + , decltype(_impl_.int64_value_){int64_t{0}} + , decltype(_impl_.fixed64_value_){uint64_t{0u}} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramRelayAuthTicket_ExtraField::~CMsgSteamDatagramRelayAuthTicket_ExtraField() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramRelayAuthTicket.ExtraField) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.string_value_.Destroy(); +} + +void CMsgSteamDatagramRelayAuthTicket_ExtraField::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramRelayAuthTicket_ExtraField::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.string_value_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.int64_value_, 0, static_cast( + reinterpret_cast(&_impl_.fixed64_value_) - + reinterpret_cast(&_impl_.int64_value_)) + sizeof(_impl_.fixed64_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramRelayAuthTicket_ExtraField::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.ExtraField.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string string_value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_string_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional sint64 int64_value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_int64_value(&has_bits); + _impl_.int64_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 fixed64_value = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { + _Internal::set_has_fixed64_value(&has_bits); + _impl_.fixed64_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramRelayAuthTicket_ExtraField::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramRelayAuthTicket.ExtraField.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // optional string string_value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_string_value(), target); + } + + // optional sint64 int64_value = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteSInt64ToArray(3, this->_internal_int64_value(), target); + } + + // optional fixed64 fixed64_value = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_fixed64_value(), 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:CMsgSteamDatagramRelayAuthTicket.ExtraField) + return target; +} + +size_t CMsgSteamDatagramRelayAuthTicket_ExtraField::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string string_value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_string_value()); + } + + // optional sint64 int64_value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::SInt64SizePlusOne(this->_internal_int64_value()); + } + + // optional fixed64 fixed64_value = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRelayAuthTicket_ExtraField::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramRelayAuthTicket_ExtraField::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRelayAuthTicket_ExtraField::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramRelayAuthTicket_ExtraField::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:CMsgSteamDatagramRelayAuthTicket.ExtraField) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_string_value(from._internal_string_value()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.int64_value_ = from._impl_.int64_value_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.fixed64_value_ = from._impl_.fixed64_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramRelayAuthTicket_ExtraField::CopyFrom(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramRelayAuthTicket_ExtraField::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramRelayAuthTicket_ExtraField::InternalSwap(CMsgSteamDatagramRelayAuthTicket_ExtraField* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_value_, lhs_arena, + &other->_impl_.string_value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.fixed64_value_) + + sizeof(CMsgSteamDatagramRelayAuthTicket_ExtraField::_impl_.fixed64_value_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.int64_value_)>( + reinterpret_cast(&_impl_.int64_value_), + reinterpret_cast(&other->_impl_.int64_value_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRelayAuthTicket_ExtraField::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[0]); +} + +// =================================================================== + +class CMsgSteamDatagramRelayAuthTicket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_time_expiry(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_authorized_client_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_gameserver_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_authorized_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_gameserver_address(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_app_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_virtual_port(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_legacy_authorized_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_legacy_gameserver_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_legacy_gameserver_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_legacy_authorized_client_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_gameserver_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket(::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:CMsgSteamDatagramRelayAuthTicket) +} +CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket(const CMsgSteamDatagramRelayAuthTicket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramRelayAuthTicket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.extra_fields_){from._impl_.extra_fields_} + , decltype(_impl_.gameserver_address_){} + , decltype(_impl_.legacy_authorized_client_identity_binary_){} + , decltype(_impl_.legacy_gameserver_identity_binary_){} + , decltype(_impl_.authorized_client_identity_string_){} + , decltype(_impl_.gameserver_identity_string_){} + , decltype(_impl_.legacy_authorized_steam_id_){} + , decltype(_impl_.time_expiry_){} + , decltype(_impl_.authorized_public_ip_){} + , decltype(_impl_.legacy_gameserver_steam_id_){} + , decltype(_impl_.app_id_){} + , decltype(_impl_.legacy_gameserver_pop_id_){} + , decltype(_impl_.virtual_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.gameserver_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gameserver_address()) { + _this->_impl_.gameserver_address_.Set(from._internal_gameserver_address(), + _this->GetArenaForAllocation()); + } + _impl_.legacy_authorized_client_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_legacy_authorized_client_identity_binary()) { + _this->_impl_.legacy_authorized_client_identity_binary_.Set(from._internal_legacy_authorized_client_identity_binary(), + _this->GetArenaForAllocation()); + } + _impl_.legacy_gameserver_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_legacy_gameserver_identity_binary()) { + _this->_impl_.legacy_gameserver_identity_binary_.Set(from._internal_legacy_gameserver_identity_binary(), + _this->GetArenaForAllocation()); + } + _impl_.authorized_client_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_authorized_client_identity_string()) { + _this->_impl_.authorized_client_identity_string_.Set(from._internal_authorized_client_identity_string(), + _this->GetArenaForAllocation()); + } + _impl_.gameserver_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gameserver_identity_string()) { + _this->_impl_.gameserver_identity_string_.Set(from._internal_gameserver_identity_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.legacy_authorized_steam_id_, &from._impl_.legacy_authorized_steam_id_, + static_cast(reinterpret_cast(&_impl_.virtual_port_) - + reinterpret_cast(&_impl_.legacy_authorized_steam_id_)) + sizeof(_impl_.virtual_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRelayAuthTicket) +} + +inline void CMsgSteamDatagramRelayAuthTicket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.extra_fields_){arena} + , decltype(_impl_.gameserver_address_){} + , decltype(_impl_.legacy_authorized_client_identity_binary_){} + , decltype(_impl_.legacy_gameserver_identity_binary_){} + , decltype(_impl_.authorized_client_identity_string_){} + , decltype(_impl_.gameserver_identity_string_){} + , decltype(_impl_.legacy_authorized_steam_id_){uint64_t{0u}} + , decltype(_impl_.time_expiry_){0u} + , decltype(_impl_.authorized_public_ip_){0u} + , decltype(_impl_.legacy_gameserver_steam_id_){uint64_t{0u}} + , decltype(_impl_.app_id_){0u} + , decltype(_impl_.legacy_gameserver_pop_id_){0u} + , decltype(_impl_.virtual_port_){0u} + }; + _impl_.gameserver_address_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_address_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_authorized_client_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_gameserver_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.authorized_client_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramRelayAuthTicket::~CMsgSteamDatagramRelayAuthTicket() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramRelayAuthTicket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramRelayAuthTicket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.extra_fields_.~RepeatedPtrField(); + _impl_.gameserver_address_.Destroy(); + _impl_.legacy_authorized_client_identity_binary_.Destroy(); + _impl_.legacy_gameserver_identity_binary_.Destroy(); + _impl_.authorized_client_identity_string_.Destroy(); + _impl_.gameserver_identity_string_.Destroy(); +} + +void CMsgSteamDatagramRelayAuthTicket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramRelayAuthTicket::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRelayAuthTicket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.extra_fields_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.gameserver_address_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.legacy_authorized_client_identity_binary_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.legacy_gameserver_identity_binary_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.authorized_client_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.gameserver_identity_string_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.legacy_authorized_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.authorized_public_ip_) - + reinterpret_cast(&_impl_.legacy_authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.legacy_gameserver_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.virtual_port_) - + reinterpret_cast(&_impl_.legacy_gameserver_steam_id_)) + sizeof(_impl_.virtual_port_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramRelayAuthTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 time_expiry = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_time_expiry(&has_bits); + _impl_.time_expiry_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_authorized_steam_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_legacy_authorized_steam_id(&has_bits); + _impl_.legacy_authorized_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 authorized_public_ip = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_authorized_public_ip(&has_bits); + _impl_.authorized_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_gameserver_steam_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_legacy_gameserver_steam_id(&has_bits); + _impl_.legacy_gameserver_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 app_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_app_id(&has_bits); + _impl_.app_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_extra_fields(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); + } else + goto handle_unusual; + continue; + // optional fixed32 legacy_gameserver_pop_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_legacy_gameserver_pop_id(&has_bits); + _impl_.legacy_gameserver_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 virtual_port = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_virtual_port(&has_bits); + _impl_.virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes gameserver_address = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_gameserver_address(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes legacy_authorized_client_identity_binary = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_legacy_authorized_client_identity_binary(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes legacy_gameserver_identity_binary = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_legacy_gameserver_identity_binary(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string authorized_client_identity_string = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_authorized_client_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string gameserver_identity_string = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_gameserver_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramRelayAuthTicket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRelayAuthTicket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 time_expiry = 1; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_time_expiry(), target); + } + + // optional fixed64 legacy_authorized_steam_id = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_legacy_authorized_steam_id(), target); + } + + // optional fixed32 authorized_public_ip = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_authorized_public_ip(), target); + } + + // optional fixed64 legacy_gameserver_steam_id = 4; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_gameserver_steam_id(), target); + } + + // optional uint32 app_id = 7; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_app_id(), target); + } + + // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; + for (unsigned i = 0, + n = static_cast(this->_internal_extra_fields_size()); i < n; i++) { + const auto& repfield = this->_internal_extra_fields(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional fixed32 legacy_gameserver_pop_id = 9; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_legacy_gameserver_pop_id(), target); + } + + // optional uint32 virtual_port = 10; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_virtual_port(), target); + } + + // optional bytes gameserver_address = 11; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 11, this->_internal_gameserver_address(), target); + } + + // optional bytes legacy_authorized_client_identity_binary = 12; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 12, this->_internal_legacy_authorized_client_identity_binary(), target); + } + + // optional bytes legacy_gameserver_identity_binary = 13; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 13, this->_internal_legacy_gameserver_identity_binary(), target); + } + + // optional string authorized_client_identity_string = 14; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_authorized_client_identity_string().data(), static_cast(this->_internal_authorized_client_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_authorized_client_identity_string(), target); + } + + // optional string gameserver_identity_string = 15; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gameserver_identity_string().data(), static_cast(this->_internal_gameserver_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_gameserver_identity_string(), 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:CMsgSteamDatagramRelayAuthTicket) + return target; +} + +size_t CMsgSteamDatagramRelayAuthTicket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRelayAuthTicket) + 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 .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; + total_size += 1UL * this->_internal_extra_fields_size(); + for (const auto& msg : this->_impl_.extra_fields_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes gameserver_address = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_gameserver_address()); + } + + // optional bytes legacy_authorized_client_identity_binary = 12; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_legacy_authorized_client_identity_binary()); + } + + // optional bytes legacy_gameserver_identity_binary = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_legacy_gameserver_identity_binary()); + } + + // optional string authorized_client_identity_string = 14; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_authorized_client_identity_string()); + } + + // optional string gameserver_identity_string = 15; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gameserver_identity_string()); + } + + // optional fixed64 legacy_authorized_steam_id = 2; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional fixed32 time_expiry = 1; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional fixed32 authorized_public_ip = 3; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional fixed64 legacy_gameserver_steam_id = 4; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 8; + } + + // optional uint32 app_id = 7; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_app_id()); + } + + // optional fixed32 legacy_gameserver_pop_id = 9; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional uint32 virtual_port = 10; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_virtual_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRelayAuthTicket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramRelayAuthTicket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRelayAuthTicket::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramRelayAuthTicket::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:CMsgSteamDatagramRelayAuthTicket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.extra_fields_.MergeFrom(from._impl_.extra_fields_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_gameserver_address(from._internal_gameserver_address()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_legacy_authorized_client_identity_binary(from._internal_legacy_authorized_client_identity_binary()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_legacy_gameserver_identity_binary(from._internal_legacy_gameserver_identity_binary()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_authorized_client_identity_string(from._internal_authorized_client_identity_string()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_gameserver_identity_string(from._internal_gameserver_identity_string()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_authorized_steam_id_ = from._impl_.legacy_authorized_steam_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.time_expiry_ = from._impl_.time_expiry_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.authorized_public_ip_ = from._impl_.authorized_public_ip_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.legacy_gameserver_steam_id_ = from._impl_.legacy_gameserver_steam_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.app_id_ = from._impl_.app_id_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.legacy_gameserver_pop_id_ = from._impl_.legacy_gameserver_pop_id_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.virtual_port_ = from._impl_.virtual_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramRelayAuthTicket::CopyFrom(const CMsgSteamDatagramRelayAuthTicket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRelayAuthTicket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramRelayAuthTicket::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramRelayAuthTicket::InternalSwap(CMsgSteamDatagramRelayAuthTicket* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.extra_fields_.InternalSwap(&other->_impl_.extra_fields_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gameserver_address_, lhs_arena, + &other->_impl_.gameserver_address_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.legacy_authorized_client_identity_binary_, lhs_arena, + &other->_impl_.legacy_authorized_client_identity_binary_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.legacy_gameserver_identity_binary_, lhs_arena, + &other->_impl_.legacy_gameserver_identity_binary_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.authorized_client_identity_string_, lhs_arena, + &other->_impl_.authorized_client_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gameserver_identity_string_, lhs_arena, + &other->_impl_.gameserver_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket, _impl_.virtual_port_) + + sizeof(CMsgSteamDatagramRelayAuthTicket::_impl_.virtual_port_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_steam_id_)>( + reinterpret_cast(&_impl_.legacy_authorized_steam_id_), + reinterpret_cast(&other->_impl_.legacy_authorized_steam_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRelayAuthTicket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[1]); +} + +// =================================================================== + +class CMsgSteamDatagramSignedRelayAuthTicket::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_reserved_do_not_use(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_key_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +void CMsgSteamDatagramSignedRelayAuthTicket::clear_certs() { + _impl_.certs_.Clear(); +} +CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket(::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:CMsgSteamDatagramSignedRelayAuthTicket) +} +CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket(const CMsgSteamDatagramSignedRelayAuthTicket& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSignedRelayAuthTicket* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.certs_){from._impl_.certs_} + , decltype(_impl_.ticket_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.reserved_do_not_use_){} + , decltype(_impl_.key_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ticket()) { + _this->_impl_.ticket_.Set(from._internal_ticket(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.reserved_do_not_use_, &from._impl_.reserved_do_not_use_, + static_cast(reinterpret_cast(&_impl_.key_id_) - + reinterpret_cast(&_impl_.reserved_do_not_use_)) + sizeof(_impl_.key_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedRelayAuthTicket) +} + +inline void CMsgSteamDatagramSignedRelayAuthTicket::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.certs_){arena} + , decltype(_impl_.ticket_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.reserved_do_not_use_){uint64_t{0u}} + , decltype(_impl_.key_id_){uint64_t{0u}} + }; + _impl_.ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSignedRelayAuthTicket::~CMsgSteamDatagramSignedRelayAuthTicket() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedRelayAuthTicket) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSignedRelayAuthTicket::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.certs_.~RepeatedPtrField(); + _impl_.ticket_.Destroy(); + _impl_.signature_.Destroy(); +} + +void CMsgSteamDatagramSignedRelayAuthTicket::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSignedRelayAuthTicket::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedRelayAuthTicket) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.certs_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.ticket_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.reserved_do_not_use_, 0, static_cast( + reinterpret_cast(&_impl_.key_id_) - + reinterpret_cast(&_impl_.reserved_do_not_use_)) + sizeof(_impl_.key_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSignedRelayAuthTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 reserved_do_not_use = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_reserved_do_not_use(&has_bits); + _impl_.reserved_do_not_use_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 key_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_key_id(&has_bits); + _impl_.key_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bytes ticket = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_ticket(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramCertificateSigned certs = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_certs(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSignedRelayAuthTicket::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedRelayAuthTicket) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 reserved_do_not_use = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_reserved_do_not_use(), target); + } + + // optional fixed64 key_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_key_id(), target); + } + + // optional bytes ticket = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_ticket(), target); + } + + // optional bytes signature = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_signature(), target); + } + + // repeated .CMsgSteamDatagramCertificateSigned certs = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_certs_size()); i < n; i++) { + const auto& repfield = this->_internal_certs(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:CMsgSteamDatagramSignedRelayAuthTicket) + return target; +} + +size_t CMsgSteamDatagramSignedRelayAuthTicket::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedRelayAuthTicket) + 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 .CMsgSteamDatagramCertificateSigned certs = 5; + total_size += 1UL * this->_internal_certs_size(); + for (const auto& msg : this->_impl_.certs_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes ticket = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_ticket()); + } + + // optional bytes signature = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional fixed64 reserved_do_not_use = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional fixed64 key_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedRelayAuthTicket::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSignedRelayAuthTicket::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedRelayAuthTicket::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSignedRelayAuthTicket::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:CMsgSteamDatagramSignedRelayAuthTicket) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.certs_.MergeFrom(from._impl_.certs_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_ticket(from._internal_ticket()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.reserved_do_not_use_ = from._impl_.reserved_do_not_use_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.key_id_ = from._impl_.key_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSignedRelayAuthTicket::CopyFrom(const CMsgSteamDatagramSignedRelayAuthTicket& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedRelayAuthTicket) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSignedRelayAuthTicket::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSignedRelayAuthTicket::InternalSwap(CMsgSteamDatagramSignedRelayAuthTicket* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.certs_.InternalSwap(&other->_impl_.certs_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ticket_, lhs_arena, + &other->_impl_.ticket_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSignedRelayAuthTicket, _impl_.key_id_) + + sizeof(CMsgSteamDatagramSignedRelayAuthTicket::_impl_.key_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSignedRelayAuthTicket, _impl_.reserved_do_not_use_)>( + reinterpret_cast(&_impl_.reserved_do_not_use_), + reinterpret_cast(&other->_impl_.reserved_do_not_use_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedRelayAuthTicket::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[2]); +} + +// =================================================================== + +class CMsgSteamDatagramCachedCredentialsForApp::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_private_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp(::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:CMsgSteamDatagramCachedCredentialsForApp) +} +CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp(const CMsgSteamDatagramCachedCredentialsForApp& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramCachedCredentialsForApp* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_tickets_){from._impl_.relay_tickets_} + , decltype(_impl_.private_key_){} + , decltype(_impl_.cert_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.private_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.private_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_private_key()) { + _this->_impl_.private_key_.Set(from._internal_private_key(), + _this->GetArenaForAllocation()); + } + _impl_.cert_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cert()) { + _this->_impl_.cert_.Set(from._internal_cert(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCachedCredentialsForApp) +} + +inline void CMsgSteamDatagramCachedCredentialsForApp::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_tickets_){arena} + , decltype(_impl_.private_key_){} + , decltype(_impl_.cert_){} + }; + _impl_.private_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.private_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramCachedCredentialsForApp::~CMsgSteamDatagramCachedCredentialsForApp() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramCachedCredentialsForApp) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramCachedCredentialsForApp::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.relay_tickets_.~RepeatedPtrField(); + _impl_.private_key_.Destroy(); + _impl_.cert_.Destroy(); +} + +void CMsgSteamDatagramCachedCredentialsForApp::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramCachedCredentialsForApp::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCachedCredentialsForApp) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.relay_tickets_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.private_key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.cert_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramCachedCredentialsForApp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes private_key = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_private_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes cert = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_cert(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes relay_tickets = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_relay_tickets(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramCachedCredentialsForApp::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCachedCredentialsForApp) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes private_key = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_private_key(), target); + } + + // optional bytes cert = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_cert(), target); + } + + // repeated bytes relay_tickets = 3; + for (int i = 0, n = this->_internal_relay_tickets_size(); i < n; i++) { + const auto& s = this->_internal_relay_tickets(i); + target = stream->WriteBytes(3, 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:CMsgSteamDatagramCachedCredentialsForApp) + return target; +} + +size_t CMsgSteamDatagramCachedCredentialsForApp::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCachedCredentialsForApp) + 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 bytes relay_tickets = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.relay_tickets_.size()); + for (int i = 0, n = _impl_.relay_tickets_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.relay_tickets_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes private_key = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_private_key()); + } + + // optional bytes cert = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_cert()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCachedCredentialsForApp::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramCachedCredentialsForApp::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCachedCredentialsForApp::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramCachedCredentialsForApp::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:CMsgSteamDatagramCachedCredentialsForApp) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.relay_tickets_.MergeFrom(from._impl_.relay_tickets_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_private_key(from._internal_private_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_cert(from._internal_cert()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramCachedCredentialsForApp::CopyFrom(const CMsgSteamDatagramCachedCredentialsForApp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCachedCredentialsForApp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramCachedCredentialsForApp::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramCachedCredentialsForApp::InternalSwap(CMsgSteamDatagramCachedCredentialsForApp* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.relay_tickets_.InternalSwap(&other->_impl_.relay_tickets_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.private_key_, lhs_arena, + &other->_impl_.private_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cert_, lhs_arena, + &other->_impl_.cert_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCachedCredentialsForApp::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[3]); +} + +// =================================================================== + +class CMsgSteamDatagramGameCoordinatorServerLogin::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_time_generated(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_routing(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appdata(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_dummy_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin(::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:CMsgSteamDatagramGameCoordinatorServerLogin) +} +CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin(const CMsgSteamDatagramGameCoordinatorServerLogin& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameCoordinatorServerLogin* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.routing_){} + , decltype(_impl_.appdata_){} + , decltype(_impl_.legacy_identity_binary_){} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.time_generated_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.dummy_steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_routing()) { + _this->_impl_.routing_.Set(from._internal_routing(), + _this->GetArenaForAllocation()); + } + _impl_.appdata_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.appdata_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_appdata()) { + _this->_impl_.appdata_.Set(from._internal_appdata(), + _this->GetArenaForAllocation()); + } + _impl_.legacy_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_legacy_identity_binary()) { + _this->_impl_.legacy_identity_binary_.Set(from._internal_legacy_identity_binary(), + _this->GetArenaForAllocation()); + } + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_string()) { + _this->_impl_.identity_string_.Set(from._internal_identity_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.time_generated_, &from._impl_.time_generated_, + static_cast(reinterpret_cast(&_impl_.dummy_steam_id_) - + reinterpret_cast(&_impl_.time_generated_)) + sizeof(_impl_.dummy_steam_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameCoordinatorServerLogin) +} + +inline void CMsgSteamDatagramGameCoordinatorServerLogin::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.routing_){} + , decltype(_impl_.appdata_){} + , decltype(_impl_.legacy_identity_binary_){} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.time_generated_){0u} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.dummy_steam_id_){uint64_t{0u}} + }; + _impl_.routing_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routing_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.appdata_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.appdata_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameCoordinatorServerLogin::~CMsgSteamDatagramGameCoordinatorServerLogin() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameCoordinatorServerLogin) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameCoordinatorServerLogin::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.routing_.Destroy(); + _impl_.appdata_.Destroy(); + _impl_.legacy_identity_binary_.Destroy(); + _impl_.identity_string_.Destroy(); +} + +void CMsgSteamDatagramGameCoordinatorServerLogin::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameCoordinatorServerLogin::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameCoordinatorServerLogin) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.routing_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.appdata_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.legacy_identity_binary_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.identity_string_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000070u) { + ::memset(&_impl_.time_generated_, 0, static_cast( + reinterpret_cast(&_impl_.dummy_steam_id_) - + reinterpret_cast(&_impl_.time_generated_)) + sizeof(_impl_.dummy_steam_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameCoordinatorServerLogin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 time_generated = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_time_generated(&has_bits); + _impl_.time_generated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes routing = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_routing(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes appdata = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_appdata(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes legacy_identity_binary = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_legacy_identity_binary(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string identity_string = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameCoordinatorServerLogin.identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 dummy_steam_id = 99; + case 99: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_dummy_steam_id(&has_bits); + _impl_.dummy_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameCoordinatorServerLogin::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameCoordinatorServerLogin) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 time_generated = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_generated(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional bytes routing = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_routing(), target); + } + + // optional bytes appdata = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_appdata(), target); + } + + // optional bytes legacy_identity_binary = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_legacy_identity_binary(), target); + } + + // optional string identity_string = 6; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameCoordinatorServerLogin.identity_string"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_identity_string(), target); + } + + // optional fixed64 dummy_steam_id = 99; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_dummy_steam_id(), 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:CMsgSteamDatagramGameCoordinatorServerLogin) + return target; +} + +size_t CMsgSteamDatagramGameCoordinatorServerLogin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameCoordinatorServerLogin) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional bytes routing = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_routing()); + } + + // optional bytes appdata = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_appdata()); + } + + // optional bytes legacy_identity_binary = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_legacy_identity_binary()); + } + + // optional string identity_string = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_string()); + } + + // optional uint32 time_generated = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_generated()); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional fixed64 dummy_steam_id = 99; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameCoordinatorServerLogin::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameCoordinatorServerLogin::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameCoordinatorServerLogin::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameCoordinatorServerLogin::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:CMsgSteamDatagramGameCoordinatorServerLogin) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_routing(from._internal_routing()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_appdata(from._internal_appdata()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_legacy_identity_binary(from._internal_legacy_identity_binary()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_identity_string(from._internal_identity_string()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.time_generated_ = from._impl_.time_generated_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.dummy_steam_id_ = from._impl_.dummy_steam_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameCoordinatorServerLogin::CopyFrom(const CMsgSteamDatagramGameCoordinatorServerLogin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameCoordinatorServerLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameCoordinatorServerLogin::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameCoordinatorServerLogin::InternalSwap(CMsgSteamDatagramGameCoordinatorServerLogin* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.routing_, lhs_arena, + &other->_impl_.routing_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.appdata_, lhs_arena, + &other->_impl_.appdata_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.legacy_identity_binary_, lhs_arena, + &other->_impl_.legacy_identity_binary_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_string_, lhs_arena, + &other->_impl_.identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.dummy_steam_id_) + + sizeof(CMsgSteamDatagramGameCoordinatorServerLogin::_impl_.dummy_steam_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.time_generated_)>( + reinterpret_cast(&_impl_.time_generated_), + reinterpret_cast(&other->_impl_.time_generated_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameCoordinatorServerLogin::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[4]); +} + +// =================================================================== + +class CMsgSteamDatagramSignedGameCoordinatorServerLogin::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramSignedGameCoordinatorServerLogin* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_login(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramSignedGameCoordinatorServerLogin::_Internal::cert(const CMsgSteamDatagramSignedGameCoordinatorServerLogin* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin(::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:CMsgSteamDatagramSignedGameCoordinatorServerLogin) +} +CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSignedGameCoordinatorServerLogin* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.login_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.cert_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.login_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.login_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_login()) { + _this->_impl_.login_.Set(from._internal_login(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedGameCoordinatorServerLogin) +} + +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.login_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.cert_){nullptr} + }; + _impl_.login_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.login_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSignedGameCoordinatorServerLogin::~CMsgSteamDatagramSignedGameCoordinatorServerLogin() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.login_.Destroy(); + _impl_.signature_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.login_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes login = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_login(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional bytes login = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_login(), target); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_signature(), 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:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + return target; +} + +size_t CMsgSteamDatagramSignedGameCoordinatorServerLogin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes login = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_login()); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedGameCoordinatorServerLogin::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSignedGameCoordinatorServerLogin::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedGameCoordinatorServerLogin::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::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:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_login(from._internal_login()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::CopyFrom(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::InternalSwap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.login_, lhs_arena, + &other->_impl_.login_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + swap(_impl_.cert_, other->_impl_.cert_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedGameCoordinatorServerLogin::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[5]); +} + +// =================================================================== + +class CMsgSteamDatagramHostedServerAddressPlaintext::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ipv4(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ipv6(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_port(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext(::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:CMsgSteamDatagramHostedServerAddressPlaintext) +} +CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext(const CMsgSteamDatagramHostedServerAddressPlaintext& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramHostedServerAddressPlaintext* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ipv6_){} + , decltype(_impl_.ipv4_){} + , decltype(_impl_.port_){} + , decltype(_impl_.routing_secret_){} + , decltype(_impl_.protocol_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ipv6_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ipv6_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ipv6()) { + _this->_impl_.ipv6_.Set(from._internal_ipv6(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ipv4_, &from._impl_.ipv4_, + static_cast(reinterpret_cast(&_impl_.protocol_version_) - + reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_version_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramHostedServerAddressPlaintext) +} + +inline void CMsgSteamDatagramHostedServerAddressPlaintext::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ipv6_){} + , decltype(_impl_.ipv4_){0u} + , decltype(_impl_.port_){0u} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + , decltype(_impl_.protocol_version_){0u} + }; + _impl_.ipv6_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ipv6_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramHostedServerAddressPlaintext::~CMsgSteamDatagramHostedServerAddressPlaintext() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramHostedServerAddressPlaintext) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramHostedServerAddressPlaintext::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ipv6_.Destroy(); +} + +void CMsgSteamDatagramHostedServerAddressPlaintext::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramHostedServerAddressPlaintext::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramHostedServerAddressPlaintext) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.ipv6_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.ipv4_, 0, static_cast( + reinterpret_cast(&_impl_.protocol_version_) - + reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramHostedServerAddressPlaintext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 ipv4 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_ipv4(&has_bits); + _impl_.ipv4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes ipv6 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_ipv6(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 port = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_port(&has_bits); + _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramHostedServerAddressPlaintext::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramHostedServerAddressPlaintext) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 ipv4 = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ipv4(), target); + } + + // optional bytes ipv6 = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_ipv6(), target); + } + + // optional uint32 port = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_port(), target); + } + + // optional fixed64 routing_secret = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_routing_secret(), target); + } + + // optional uint32 protocol_version = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_protocol_version(), 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:CMsgSteamDatagramHostedServerAddressPlaintext) + return target; +} + +size_t CMsgSteamDatagramHostedServerAddressPlaintext::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramHostedServerAddressPlaintext) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional bytes ipv6 = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_ipv6()); + } + + // optional fixed32 ipv4 = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 port = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_port()); + } + + // optional fixed64 routing_secret = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + // optional uint32 protocol_version = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramHostedServerAddressPlaintext::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramHostedServerAddressPlaintext::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramHostedServerAddressPlaintext::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramHostedServerAddressPlaintext::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:CMsgSteamDatagramHostedServerAddressPlaintext) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_ipv6(from._internal_ipv6()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ipv4_ = from._impl_.ipv4_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.port_ = from._impl_.port_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.routing_secret_ = from._impl_.routing_secret_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramHostedServerAddressPlaintext::CopyFrom(const CMsgSteamDatagramHostedServerAddressPlaintext& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramHostedServerAddressPlaintext) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramHostedServerAddressPlaintext::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramHostedServerAddressPlaintext::InternalSwap(CMsgSteamDatagramHostedServerAddressPlaintext* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ipv6_, lhs_arena, + &other->_impl_.ipv6_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.protocol_version_) + + sizeof(CMsgSteamDatagramHostedServerAddressPlaintext::_impl_.protocol_version_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv4_)>( + reinterpret_cast(&_impl_.ipv4_), + reinterpret_cast(&other->_impl_.ipv4_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramHostedServerAddressPlaintext::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[6]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRelayAuthTicket_ExtraField* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRelayAuthTicket* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramRelayAuthTicket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramRelayAuthTicket >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedRelayAuthTicket* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedRelayAuthTicket >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedRelayAuthTicket >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCachedCredentialsForApp* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramCachedCredentialsForApp >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramCachedCredentialsForApp >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameCoordinatorServerLogin* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameCoordinatorServerLogin >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameCoordinatorServerLogin >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedGameCoordinatorServerLogin* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedGameCoordinatorServerLogin >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedGameCoordinatorServerLogin >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramHostedServerAddressPlaintext* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramHostedServerAddressPlaintext >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramHostedServerAddressPlaintext >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.h new file mode 100644 index 0000000..c12dabc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_auth.pb.h @@ -0,0 +1,3836 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamdatagram_messages_auth.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "steamnetworkingsockets_messages_certs.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steamdatagram_5fmessages_5fauth_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steamdatagram_5fmessages_5fauth_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fauth_2eproto; +class CMsgSteamDatagramCachedCredentialsForApp; +struct CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal; +extern CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal _CMsgSteamDatagramCachedCredentialsForApp_default_instance_; +class CMsgSteamDatagramGameCoordinatorServerLogin; +struct CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal; +extern CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_; +class CMsgSteamDatagramHostedServerAddressPlaintext; +struct CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal; +extern CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal _CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_; +class CMsgSteamDatagramRelayAuthTicket; +struct CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal; +extern CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_default_instance_; +class CMsgSteamDatagramRelayAuthTicket_ExtraField; +struct CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal; +extern CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_; +class CMsgSteamDatagramSignedGameCoordinatorServerLogin; +struct CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal; +extern CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_; +class CMsgSteamDatagramSignedRelayAuthTicket; +struct CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal; +extern CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramSignedRelayAuthTicket_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgSteamDatagramCachedCredentialsForApp* Arena::CreateMaybeMessage<::CMsgSteamDatagramCachedCredentialsForApp>(Arena*); +template<> ::CMsgSteamDatagramGameCoordinatorServerLogin* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameCoordinatorServerLogin>(Arena*); +template<> ::CMsgSteamDatagramHostedServerAddressPlaintext* Arena::CreateMaybeMessage<::CMsgSteamDatagramHostedServerAddressPlaintext>(Arena*); +template<> ::CMsgSteamDatagramRelayAuthTicket* Arena::CreateMaybeMessage<::CMsgSteamDatagramRelayAuthTicket>(Arena*); +template<> ::CMsgSteamDatagramRelayAuthTicket_ExtraField* Arena::CreateMaybeMessage<::CMsgSteamDatagramRelayAuthTicket_ExtraField>(Arena*); +template<> ::CMsgSteamDatagramSignedGameCoordinatorServerLogin* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedGameCoordinatorServerLogin>(Arena*); +template<> ::CMsgSteamDatagramSignedRelayAuthTicket* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedRelayAuthTicket>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CMsgSteamDatagramRelayAuthTicket_ExtraField final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRelayAuthTicket.ExtraField) */ { + public: + inline CMsgSteamDatagramRelayAuthTicket_ExtraField() : CMsgSteamDatagramRelayAuthTicket_ExtraField(nullptr) {} + ~CMsgSteamDatagramRelayAuthTicket_ExtraField() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraField(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramRelayAuthTicket_ExtraField(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from); + CMsgSteamDatagramRelayAuthTicket_ExtraField(CMsgSteamDatagramRelayAuthTicket_ExtraField&& from) noexcept + : CMsgSteamDatagramRelayAuthTicket_ExtraField() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramRelayAuthTicket_ExtraField& operator=(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramRelayAuthTicket_ExtraField& operator=(CMsgSteamDatagramRelayAuthTicket_ExtraField&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramRelayAuthTicket_ExtraField& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramRelayAuthTicket_ExtraField* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSteamDatagramRelayAuthTicket_ExtraField& a, CMsgSteamDatagramRelayAuthTicket_ExtraField& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramRelayAuthTicket_ExtraField* 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(CMsgSteamDatagramRelayAuthTicket_ExtraField* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramRelayAuthTicket_ExtraField* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { + CMsgSteamDatagramRelayAuthTicket_ExtraField::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(CMsgSteamDatagramRelayAuthTicket_ExtraField* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramRelayAuthTicket.ExtraField"; + } + protected: + explicit CMsgSteamDatagramRelayAuthTicket_ExtraField(::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, + kStringValueFieldNumber = 2, + kInt64ValueFieldNumber = 3, + kFixed64ValueFieldNumber = 5, + }; + // optional string name = 1; + 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: + + // optional string string_value = 2; + bool has_string_value() const; + private: + bool _internal_has_string_value() const; + public: + void clear_string_value(); + const std::string& string_value() const; + template + void set_string_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_value(); + PROTOBUF_NODISCARD std::string* release_string_value(); + void set_allocated_string_value(std::string* string_value); + private: + const std::string& _internal_string_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); + std::string* _internal_mutable_string_value(); + public: + + // optional sint64 int64_value = 3; + bool has_int64_value() const; + private: + bool _internal_has_int64_value() const; + public: + void clear_int64_value(); + int64_t int64_value() const; + void set_int64_value(int64_t value); + private: + int64_t _internal_int64_value() const; + void _internal_set_int64_value(int64_t value); + public: + + // optional fixed64 fixed64_value = 5; + bool has_fixed64_value() const; + private: + bool _internal_has_fixed64_value() const; + public: + void clear_fixed64_value(); + uint64_t fixed64_value() const; + void set_fixed64_value(uint64_t value); + private: + uint64_t _internal_fixed64_value() const; + void _internal_set_fixed64_value(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRelayAuthTicket.ExtraField) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; + int64_t int64_value_; + uint64_t fixed64_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramRelayAuthTicket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRelayAuthTicket) */ { + public: + inline CMsgSteamDatagramRelayAuthTicket() : CMsgSteamDatagramRelayAuthTicket(nullptr) {} + ~CMsgSteamDatagramRelayAuthTicket() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramRelayAuthTicket(const CMsgSteamDatagramRelayAuthTicket& from); + CMsgSteamDatagramRelayAuthTicket(CMsgSteamDatagramRelayAuthTicket&& from) noexcept + : CMsgSteamDatagramRelayAuthTicket() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramRelayAuthTicket& operator=(const CMsgSteamDatagramRelayAuthTicket& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramRelayAuthTicket& operator=(CMsgSteamDatagramRelayAuthTicket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramRelayAuthTicket& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramRelayAuthTicket* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramRelayAuthTicket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSteamDatagramRelayAuthTicket& a, CMsgSteamDatagramRelayAuthTicket& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramRelayAuthTicket* 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(CMsgSteamDatagramRelayAuthTicket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramRelayAuthTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramRelayAuthTicket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramRelayAuthTicket& from) { + CMsgSteamDatagramRelayAuthTicket::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(CMsgSteamDatagramRelayAuthTicket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramRelayAuthTicket"; + } + protected: + explicit CMsgSteamDatagramRelayAuthTicket(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramRelayAuthTicket_ExtraField ExtraField; + + // accessors ------------------------------------------------------- + + enum : int { + kExtraFieldsFieldNumber = 8, + kGameserverAddressFieldNumber = 11, + kLegacyAuthorizedClientIdentityBinaryFieldNumber = 12, + kLegacyGameserverIdentityBinaryFieldNumber = 13, + kAuthorizedClientIdentityStringFieldNumber = 14, + kGameserverIdentityStringFieldNumber = 15, + kLegacyAuthorizedSteamIdFieldNumber = 2, + kTimeExpiryFieldNumber = 1, + kAuthorizedPublicIpFieldNumber = 3, + kLegacyGameserverSteamIdFieldNumber = 4, + kAppIdFieldNumber = 7, + kLegacyGameserverPopIdFieldNumber = 9, + kVirtualPortFieldNumber = 10, + }; + // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; + int extra_fields_size() const; + private: + int _internal_extra_fields_size() const; + public: + void clear_extra_fields(); + ::CMsgSteamDatagramRelayAuthTicket_ExtraField* mutable_extra_fields(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >* + mutable_extra_fields(); + private: + const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& _internal_extra_fields(int index) const; + ::CMsgSteamDatagramRelayAuthTicket_ExtraField* _internal_add_extra_fields(); + public: + const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& extra_fields(int index) const; + ::CMsgSteamDatagramRelayAuthTicket_ExtraField* add_extra_fields(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >& + extra_fields() const; + + // optional bytes gameserver_address = 11; + bool has_gameserver_address() const; + private: + bool _internal_has_gameserver_address() const; + public: + void clear_gameserver_address(); + const std::string& gameserver_address() const; + template + void set_gameserver_address(ArgT0&& arg0, ArgT... args); + std::string* mutable_gameserver_address(); + PROTOBUF_NODISCARD std::string* release_gameserver_address(); + void set_allocated_gameserver_address(std::string* gameserver_address); + private: + const std::string& _internal_gameserver_address() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_address(const std::string& value); + std::string* _internal_mutable_gameserver_address(); + public: + + // optional bytes legacy_authorized_client_identity_binary = 12; + bool has_legacy_authorized_client_identity_binary() const; + private: + bool _internal_has_legacy_authorized_client_identity_binary() const; + public: + void clear_legacy_authorized_client_identity_binary(); + const std::string& legacy_authorized_client_identity_binary() const; + template + void set_legacy_authorized_client_identity_binary(ArgT0&& arg0, ArgT... args); + std::string* mutable_legacy_authorized_client_identity_binary(); + PROTOBUF_NODISCARD std::string* release_legacy_authorized_client_identity_binary(); + void set_allocated_legacy_authorized_client_identity_binary(std::string* legacy_authorized_client_identity_binary); + private: + const std::string& _internal_legacy_authorized_client_identity_binary() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_authorized_client_identity_binary(const std::string& value); + std::string* _internal_mutable_legacy_authorized_client_identity_binary(); + public: + + // optional bytes legacy_gameserver_identity_binary = 13; + bool has_legacy_gameserver_identity_binary() const; + private: + bool _internal_has_legacy_gameserver_identity_binary() const; + public: + void clear_legacy_gameserver_identity_binary(); + const std::string& legacy_gameserver_identity_binary() const; + template + void set_legacy_gameserver_identity_binary(ArgT0&& arg0, ArgT... args); + std::string* mutable_legacy_gameserver_identity_binary(); + PROTOBUF_NODISCARD std::string* release_legacy_gameserver_identity_binary(); + void set_allocated_legacy_gameserver_identity_binary(std::string* legacy_gameserver_identity_binary); + private: + const std::string& _internal_legacy_gameserver_identity_binary() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_gameserver_identity_binary(const std::string& value); + std::string* _internal_mutable_legacy_gameserver_identity_binary(); + public: + + // optional string authorized_client_identity_string = 14; + bool has_authorized_client_identity_string() const; + private: + bool _internal_has_authorized_client_identity_string() const; + public: + void clear_authorized_client_identity_string(); + const std::string& authorized_client_identity_string() const; + template + void set_authorized_client_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_authorized_client_identity_string(); + PROTOBUF_NODISCARD std::string* release_authorized_client_identity_string(); + void set_allocated_authorized_client_identity_string(std::string* authorized_client_identity_string); + private: + const std::string& _internal_authorized_client_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_authorized_client_identity_string(const std::string& value); + std::string* _internal_mutable_authorized_client_identity_string(); + public: + + // optional string gameserver_identity_string = 15; + bool has_gameserver_identity_string() const; + private: + bool _internal_has_gameserver_identity_string() const; + public: + void clear_gameserver_identity_string(); + const std::string& gameserver_identity_string() const; + template + void set_gameserver_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_gameserver_identity_string(); + PROTOBUF_NODISCARD std::string* release_gameserver_identity_string(); + void set_allocated_gameserver_identity_string(std::string* gameserver_identity_string); + private: + const std::string& _internal_gameserver_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_identity_string(const std::string& value); + std::string* _internal_mutable_gameserver_identity_string(); + public: + + // optional fixed64 legacy_authorized_steam_id = 2; + bool has_legacy_authorized_steam_id() const; + private: + bool _internal_has_legacy_authorized_steam_id() const; + public: + void clear_legacy_authorized_steam_id(); + uint64_t legacy_authorized_steam_id() const; + void set_legacy_authorized_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_authorized_steam_id() const; + void _internal_set_legacy_authorized_steam_id(uint64_t value); + public: + + // optional fixed32 time_expiry = 1; + bool has_time_expiry() const; + private: + bool _internal_has_time_expiry() const; + public: + void clear_time_expiry(); + uint32_t time_expiry() const; + void set_time_expiry(uint32_t value); + private: + uint32_t _internal_time_expiry() const; + void _internal_set_time_expiry(uint32_t value); + public: + + // optional fixed32 authorized_public_ip = 3; + bool has_authorized_public_ip() const; + private: + bool _internal_has_authorized_public_ip() const; + public: + void clear_authorized_public_ip(); + uint32_t authorized_public_ip() const; + void set_authorized_public_ip(uint32_t value); + private: + uint32_t _internal_authorized_public_ip() const; + void _internal_set_authorized_public_ip(uint32_t value); + public: + + // optional fixed64 legacy_gameserver_steam_id = 4; + bool has_legacy_gameserver_steam_id() const; + private: + bool _internal_has_legacy_gameserver_steam_id() const; + public: + void clear_legacy_gameserver_steam_id(); + uint64_t legacy_gameserver_steam_id() const; + void set_legacy_gameserver_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_gameserver_steam_id() const; + void _internal_set_legacy_gameserver_steam_id(uint64_t value); + public: + + // optional uint32 app_id = 7; + bool has_app_id() const; + private: + bool _internal_has_app_id() const; + public: + void clear_app_id(); + uint32_t app_id() const; + void set_app_id(uint32_t value); + private: + uint32_t _internal_app_id() const; + void _internal_set_app_id(uint32_t value); + public: + + // optional fixed32 legacy_gameserver_pop_id = 9; + bool has_legacy_gameserver_pop_id() const; + private: + bool _internal_has_legacy_gameserver_pop_id() const; + public: + void clear_legacy_gameserver_pop_id(); + uint32_t legacy_gameserver_pop_id() const; + void set_legacy_gameserver_pop_id(uint32_t value); + private: + uint32_t _internal_legacy_gameserver_pop_id() const; + void _internal_set_legacy_gameserver_pop_id(uint32_t value); + public: + + // optional uint32 virtual_port = 10; + bool has_virtual_port() const; + private: + bool _internal_has_virtual_port() const; + public: + void clear_virtual_port(); + uint32_t virtual_port() const; + void set_virtual_port(uint32_t value); + private: + uint32_t _internal_virtual_port() const; + void _internal_set_virtual_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRelayAuthTicket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField > extra_fields_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_address_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_authorized_client_identity_binary_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_gameserver_identity_binary_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr authorized_client_identity_string_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_identity_string_; + uint64_t legacy_authorized_steam_id_; + uint32_t time_expiry_; + uint32_t authorized_public_ip_; + uint64_t legacy_gameserver_steam_id_; + uint32_t app_id_; + uint32_t legacy_gameserver_pop_id_; + uint32_t virtual_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSignedRelayAuthTicket final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedRelayAuthTicket) */ { + public: + inline CMsgSteamDatagramSignedRelayAuthTicket() : CMsgSteamDatagramSignedRelayAuthTicket(nullptr) {} + ~CMsgSteamDatagramSignedRelayAuthTicket() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSignedRelayAuthTicket(const CMsgSteamDatagramSignedRelayAuthTicket& from); + CMsgSteamDatagramSignedRelayAuthTicket(CMsgSteamDatagramSignedRelayAuthTicket&& from) noexcept + : CMsgSteamDatagramSignedRelayAuthTicket() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSignedRelayAuthTicket& operator=(const CMsgSteamDatagramSignedRelayAuthTicket& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSignedRelayAuthTicket& operator=(CMsgSteamDatagramSignedRelayAuthTicket&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSignedRelayAuthTicket& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSignedRelayAuthTicket* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSignedRelayAuthTicket_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSteamDatagramSignedRelayAuthTicket& a, CMsgSteamDatagramSignedRelayAuthTicket& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSignedRelayAuthTicket* 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(CMsgSteamDatagramSignedRelayAuthTicket* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSignedRelayAuthTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSignedRelayAuthTicket& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSignedRelayAuthTicket& from) { + CMsgSteamDatagramSignedRelayAuthTicket::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(CMsgSteamDatagramSignedRelayAuthTicket* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSignedRelayAuthTicket"; + } + protected: + explicit CMsgSteamDatagramSignedRelayAuthTicket(::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 { + kCertsFieldNumber = 5, + kTicketFieldNumber = 3, + kSignatureFieldNumber = 4, + kReservedDoNotUseFieldNumber = 1, + kKeyIdFieldNumber = 2, + }; + // repeated .CMsgSteamDatagramCertificateSigned certs = 5; + int certs_size() const; + private: + int _internal_certs_size() const; + public: + void clear_certs(); + ::CMsgSteamDatagramCertificateSigned* mutable_certs(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >* + mutable_certs(); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_certs(int index) const; + ::CMsgSteamDatagramCertificateSigned* _internal_add_certs(); + public: + const ::CMsgSteamDatagramCertificateSigned& certs(int index) const; + ::CMsgSteamDatagramCertificateSigned* add_certs(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >& + certs() const; + + // optional bytes ticket = 3; + bool has_ticket() const; + private: + bool _internal_has_ticket() const; + public: + void clear_ticket(); + const std::string& ticket() const; + template + void set_ticket(ArgT0&& arg0, ArgT... args); + std::string* mutable_ticket(); + PROTOBUF_NODISCARD std::string* release_ticket(); + void set_allocated_ticket(std::string* ticket); + private: + const std::string& _internal_ticket() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket(const std::string& value); + std::string* _internal_mutable_ticket(); + public: + + // optional bytes signature = 4; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional fixed64 reserved_do_not_use = 1; + bool has_reserved_do_not_use() const; + private: + bool _internal_has_reserved_do_not_use() const; + public: + void clear_reserved_do_not_use(); + uint64_t reserved_do_not_use() const; + void set_reserved_do_not_use(uint64_t value); + private: + uint64_t _internal_reserved_do_not_use() const; + void _internal_set_reserved_do_not_use(uint64_t value); + public: + + // optional fixed64 key_id = 2; + bool has_key_id() const; + private: + bool _internal_has_key_id() const; + public: + void clear_key_id(); + uint64_t key_id() const; + void set_key_id(uint64_t value); + private: + uint64_t _internal_key_id() const; + void _internal_set_key_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedRelayAuthTicket) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned > certs_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + uint64_t reserved_do_not_use_; + uint64_t key_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramCachedCredentialsForApp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCachedCredentialsForApp) */ { + public: + inline CMsgSteamDatagramCachedCredentialsForApp() : CMsgSteamDatagramCachedCredentialsForApp(nullptr) {} + ~CMsgSteamDatagramCachedCredentialsForApp() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForApp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramCachedCredentialsForApp(const CMsgSteamDatagramCachedCredentialsForApp& from); + CMsgSteamDatagramCachedCredentialsForApp(CMsgSteamDatagramCachedCredentialsForApp&& from) noexcept + : CMsgSteamDatagramCachedCredentialsForApp() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramCachedCredentialsForApp& operator=(const CMsgSteamDatagramCachedCredentialsForApp& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramCachedCredentialsForApp& operator=(CMsgSteamDatagramCachedCredentialsForApp&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramCachedCredentialsForApp& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramCachedCredentialsForApp* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramCachedCredentialsForApp_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSteamDatagramCachedCredentialsForApp& a, CMsgSteamDatagramCachedCredentialsForApp& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramCachedCredentialsForApp* 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(CMsgSteamDatagramCachedCredentialsForApp* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramCachedCredentialsForApp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramCachedCredentialsForApp& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramCachedCredentialsForApp& from) { + CMsgSteamDatagramCachedCredentialsForApp::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(CMsgSteamDatagramCachedCredentialsForApp* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramCachedCredentialsForApp"; + } + protected: + explicit CMsgSteamDatagramCachedCredentialsForApp(::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 { + kRelayTicketsFieldNumber = 3, + kPrivateKeyFieldNumber = 1, + kCertFieldNumber = 2, + }; + // repeated bytes relay_tickets = 3; + int relay_tickets_size() const; + private: + int _internal_relay_tickets_size() const; + public: + void clear_relay_tickets(); + const std::string& relay_tickets(int index) const; + std::string* mutable_relay_tickets(int index); + void set_relay_tickets(int index, const std::string& value); + void set_relay_tickets(int index, std::string&& value); + void set_relay_tickets(int index, const char* value); + void set_relay_tickets(int index, const void* value, size_t size); + std::string* add_relay_tickets(); + void add_relay_tickets(const std::string& value); + void add_relay_tickets(std::string&& value); + void add_relay_tickets(const char* value); + void add_relay_tickets(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& relay_tickets() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_relay_tickets(); + private: + const std::string& _internal_relay_tickets(int index) const; + std::string* _internal_add_relay_tickets(); + public: + + // optional bytes private_key = 1; + bool has_private_key() const; + private: + bool _internal_has_private_key() const; + public: + void clear_private_key(); + const std::string& private_key() const; + template + void set_private_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_private_key(); + PROTOBUF_NODISCARD std::string* release_private_key(); + void set_allocated_private_key(std::string* private_key); + private: + const std::string& _internal_private_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_private_key(const std::string& value); + std::string* _internal_mutable_private_key(); + public: + + // optional bytes cert = 2; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const std::string& cert() const; + template + void set_cert(ArgT0&& arg0, ArgT... args); + std::string* mutable_cert(); + PROTOBUF_NODISCARD std::string* release_cert(); + void set_allocated_cert(std::string* cert); + private: + const std::string& _internal_cert() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cert(const std::string& value); + std::string* _internal_mutable_cert(); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCachedCredentialsForApp) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField relay_tickets_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr private_key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameCoordinatorServerLogin final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameCoordinatorServerLogin) */ { + public: + inline CMsgSteamDatagramGameCoordinatorServerLogin() : CMsgSteamDatagramGameCoordinatorServerLogin(nullptr) {} + ~CMsgSteamDatagramGameCoordinatorServerLogin() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameCoordinatorServerLogin(const CMsgSteamDatagramGameCoordinatorServerLogin& from); + CMsgSteamDatagramGameCoordinatorServerLogin(CMsgSteamDatagramGameCoordinatorServerLogin&& from) noexcept + : CMsgSteamDatagramGameCoordinatorServerLogin() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameCoordinatorServerLogin& operator=(const CMsgSteamDatagramGameCoordinatorServerLogin& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameCoordinatorServerLogin& operator=(CMsgSteamDatagramGameCoordinatorServerLogin&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameCoordinatorServerLogin& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameCoordinatorServerLogin* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSteamDatagramGameCoordinatorServerLogin& a, CMsgSteamDatagramGameCoordinatorServerLogin& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameCoordinatorServerLogin* 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(CMsgSteamDatagramGameCoordinatorServerLogin* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameCoordinatorServerLogin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameCoordinatorServerLogin& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameCoordinatorServerLogin& from) { + CMsgSteamDatagramGameCoordinatorServerLogin::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(CMsgSteamDatagramGameCoordinatorServerLogin* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameCoordinatorServerLogin"; + } + protected: + explicit CMsgSteamDatagramGameCoordinatorServerLogin(::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 { + kRoutingFieldNumber = 3, + kAppdataFieldNumber = 4, + kLegacyIdentityBinaryFieldNumber = 5, + kIdentityStringFieldNumber = 6, + kTimeGeneratedFieldNumber = 1, + kAppidFieldNumber = 2, + kDummySteamIdFieldNumber = 99, + }; + // optional bytes routing = 3; + bool has_routing() const; + private: + bool _internal_has_routing() const; + public: + void clear_routing(); + const std::string& routing() const; + template + void set_routing(ArgT0&& arg0, ArgT... args); + std::string* mutable_routing(); + PROTOBUF_NODISCARD std::string* release_routing(); + void set_allocated_routing(std::string* routing); + private: + const std::string& _internal_routing() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_routing(const std::string& value); + std::string* _internal_mutable_routing(); + public: + + // optional bytes appdata = 4; + bool has_appdata() const; + private: + bool _internal_has_appdata() const; + public: + void clear_appdata(); + const std::string& appdata() const; + template + void set_appdata(ArgT0&& arg0, ArgT... args); + std::string* mutable_appdata(); + PROTOBUF_NODISCARD std::string* release_appdata(); + void set_allocated_appdata(std::string* appdata); + private: + const std::string& _internal_appdata() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_appdata(const std::string& value); + std::string* _internal_mutable_appdata(); + public: + + // optional bytes legacy_identity_binary = 5; + bool has_legacy_identity_binary() const; + private: + bool _internal_has_legacy_identity_binary() const; + public: + void clear_legacy_identity_binary(); + const std::string& legacy_identity_binary() const; + template + void set_legacy_identity_binary(ArgT0&& arg0, ArgT... args); + std::string* mutable_legacy_identity_binary(); + PROTOBUF_NODISCARD std::string* release_legacy_identity_binary(); + void set_allocated_legacy_identity_binary(std::string* legacy_identity_binary); + private: + const std::string& _internal_legacy_identity_binary() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_identity_binary(const std::string& value); + std::string* _internal_mutable_legacy_identity_binary(); + public: + + // optional string identity_string = 6; + bool has_identity_string() const; + private: + bool _internal_has_identity_string() const; + public: + void clear_identity_string(); + const std::string& identity_string() const; + template + void set_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_string(); + PROTOBUF_NODISCARD std::string* release_identity_string(); + void set_allocated_identity_string(std::string* identity_string); + private: + const std::string& _internal_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); + std::string* _internal_mutable_identity_string(); + public: + + // optional uint32 time_generated = 1; + bool has_time_generated() const; + private: + bool _internal_has_time_generated() const; + public: + void clear_time_generated(); + uint32_t time_generated() const; + void set_time_generated(uint32_t value); + private: + uint32_t _internal_time_generated() const; + void _internal_set_time_generated(uint32_t value); + public: + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional fixed64 dummy_steam_id = 99; + bool has_dummy_steam_id() const; + private: + bool _internal_has_dummy_steam_id() const; + public: + void clear_dummy_steam_id(); + uint64_t dummy_steam_id() const; + void set_dummy_steam_id(uint64_t value); + private: + uint64_t _internal_dummy_steam_id() const; + void _internal_set_dummy_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameCoordinatorServerLogin) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr appdata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_identity_binary_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; + uint32_t time_generated_; + uint32_t appid_; + uint64_t dummy_steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSignedGameCoordinatorServerLogin final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedGameCoordinatorServerLogin) */ { + public: + inline CMsgSteamDatagramSignedGameCoordinatorServerLogin() : CMsgSteamDatagramSignedGameCoordinatorServerLogin(nullptr) {} + ~CMsgSteamDatagramSignedGameCoordinatorServerLogin() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSignedGameCoordinatorServerLogin(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from); + CMsgSteamDatagramSignedGameCoordinatorServerLogin(CMsgSteamDatagramSignedGameCoordinatorServerLogin&& from) noexcept + : CMsgSteamDatagramSignedGameCoordinatorServerLogin() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSignedGameCoordinatorServerLogin& operator=(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSignedGameCoordinatorServerLogin& operator=(CMsgSteamDatagramSignedGameCoordinatorServerLogin&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSignedGameCoordinatorServerLogin& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSignedGameCoordinatorServerLogin* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSteamDatagramSignedGameCoordinatorServerLogin& a, CMsgSteamDatagramSignedGameCoordinatorServerLogin& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* 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(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSignedGameCoordinatorServerLogin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { + CMsgSteamDatagramSignedGameCoordinatorServerLogin::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(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSignedGameCoordinatorServerLogin"; + } + protected: + explicit CMsgSteamDatagramSignedGameCoordinatorServerLogin(::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 { + kLoginFieldNumber = 2, + kSignatureFieldNumber = 3, + kCertFieldNumber = 1, + }; + // optional bytes login = 2; + bool has_login() const; + private: + bool _internal_has_login() const; + public: + void clear_login(); + const std::string& login() const; + template + void set_login(ArgT0&& arg0, ArgT... args); + std::string* mutable_login(); + PROTOBUF_NODISCARD std::string* release_login(); + void set_allocated_login(std::string* login); + private: + const std::string& _internal_login() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_login(const std::string& value); + std::string* _internal_mutable_login(); + public: + + // optional bytes signature = 3; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedGameCoordinatorServerLogin) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr login_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + ::CMsgSteamDatagramCertificateSigned* cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramHostedServerAddressPlaintext final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramHostedServerAddressPlaintext) */ { + public: + inline CMsgSteamDatagramHostedServerAddressPlaintext() : CMsgSteamDatagramHostedServerAddressPlaintext(nullptr) {} + ~CMsgSteamDatagramHostedServerAddressPlaintext() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramHostedServerAddressPlaintext(const CMsgSteamDatagramHostedServerAddressPlaintext& from); + CMsgSteamDatagramHostedServerAddressPlaintext(CMsgSteamDatagramHostedServerAddressPlaintext&& from) noexcept + : CMsgSteamDatagramHostedServerAddressPlaintext() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramHostedServerAddressPlaintext& operator=(const CMsgSteamDatagramHostedServerAddressPlaintext& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramHostedServerAddressPlaintext& operator=(CMsgSteamDatagramHostedServerAddressPlaintext&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramHostedServerAddressPlaintext& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramHostedServerAddressPlaintext* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgSteamDatagramHostedServerAddressPlaintext& a, CMsgSteamDatagramHostedServerAddressPlaintext& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramHostedServerAddressPlaintext* 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(CMsgSteamDatagramHostedServerAddressPlaintext* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramHostedServerAddressPlaintext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramHostedServerAddressPlaintext& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramHostedServerAddressPlaintext& from) { + CMsgSteamDatagramHostedServerAddressPlaintext::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(CMsgSteamDatagramHostedServerAddressPlaintext* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramHostedServerAddressPlaintext"; + } + protected: + explicit CMsgSteamDatagramHostedServerAddressPlaintext(::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 { + kIpv6FieldNumber = 2, + kIpv4FieldNumber = 1, + kPortFieldNumber = 3, + kRoutingSecretFieldNumber = 4, + kProtocolVersionFieldNumber = 5, + }; + // optional bytes ipv6 = 2; + bool has_ipv6() const; + private: + bool _internal_has_ipv6() const; + public: + void clear_ipv6(); + const std::string& ipv6() const; + template + void set_ipv6(ArgT0&& arg0, ArgT... args); + std::string* mutable_ipv6(); + PROTOBUF_NODISCARD std::string* release_ipv6(); + void set_allocated_ipv6(std::string* ipv6); + private: + const std::string& _internal_ipv6() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ipv6(const std::string& value); + std::string* _internal_mutable_ipv6(); + public: + + // optional fixed32 ipv4 = 1; + bool has_ipv4() const; + private: + bool _internal_has_ipv4() const; + public: + void clear_ipv4(); + uint32_t ipv4() const; + void set_ipv4(uint32_t value); + private: + uint32_t _internal_ipv4() const; + void _internal_set_ipv4(uint32_t value); + public: + + // optional uint32 port = 3; + bool has_port() const; + private: + bool _internal_has_port() const; + public: + void clear_port(); + uint32_t port() const; + void set_port(uint32_t value); + private: + uint32_t _internal_port() const; + void _internal_set_port(uint32_t value); + public: + + // optional fixed64 routing_secret = 4; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // optional uint32 protocol_version = 5; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramHostedServerAddressPlaintext) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv6_; + uint32_t ipv4_; + uint32_t port_; + uint64_t routing_secret_; + uint32_t protocol_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSteamDatagramRelayAuthTicket_ExtraField + +// optional string name = 1; +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_name() const { + return _internal_has_name(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::name() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::release_name() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) +} + +// optional string string_value = 2; +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_string_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_string_value() const { + return _internal_has_string_value(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_string_value() { + _impl_.string_value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::string_value() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) + return _internal_string_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_string_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::mutable_string_value() { + std::string* _s = _internal_mutable_string_value(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_string_value() const { + return _impl_.string_value_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_string_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.string_value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_mutable_string_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.string_value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::release_string_value() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) + if (!_internal_has_string_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.string_value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_allocated_string_value(std::string* string_value) { + if (string_value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) +} + +// optional sint64 int64_value = 3; +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_int64_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_int64_value() const { + return _internal_has_int64_value(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_int64_value() { + _impl_.int64_value_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_int64_value() const { + return _impl_.int64_value_; +} +inline int64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::int64_value() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.int64_value) + return _internal_int64_value(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_int64_value(int64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.int64_value_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_int64_value(int64_t value) { + _internal_set_int64_value(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.int64_value) +} + +// optional fixed64 fixed64_value = 5; +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_fixed64_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_fixed64_value() const { + return _internal_has_fixed64_value(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_fixed64_value() { + _impl_.fixed64_value_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_fixed64_value() const { + return _impl_.fixed64_value_; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::fixed64_value() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.fixed64_value) + return _internal_fixed64_value(); +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_fixed64_value(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.fixed64_value_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_fixed64_value(uint64_t value) { + _internal_set_fixed64_value(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.fixed64_value) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramRelayAuthTicket + +// optional fixed32 time_expiry = 1; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_time_expiry() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_time_expiry() const { + return _internal_has_time_expiry(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_time_expiry() { + _impl_.time_expiry_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_time_expiry() const { + return _impl_.time_expiry_; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::time_expiry() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.time_expiry) + return _internal_time_expiry(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_time_expiry(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.time_expiry_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_time_expiry(uint32_t value) { + _internal_set_time_expiry(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.time_expiry) +} + +// optional string authorized_client_identity_string = 14; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_authorized_client_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_authorized_client_identity_string() const { + return _internal_has_authorized_client_identity_string(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_authorized_client_identity_string() { + _impl_.authorized_client_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::authorized_client_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) + return _internal_authorized_client_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket::set_authorized_client_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.authorized_client_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_authorized_client_identity_string() { + std::string* _s = _internal_mutable_authorized_client_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_authorized_client_identity_string() const { + return _impl_.authorized_client_identity_string_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_authorized_client_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.authorized_client_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_authorized_client_identity_string() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.authorized_client_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::release_authorized_client_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) + if (!_internal_has_authorized_client_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.authorized_client_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.authorized_client_identity_string_.IsDefault()) { + _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_authorized_client_identity_string(std::string* authorized_client_identity_string) { + if (authorized_client_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.authorized_client_identity_string_.SetAllocated(authorized_client_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.authorized_client_identity_string_.IsDefault()) { + _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) +} + +// optional string gameserver_identity_string = 15; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_gameserver_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_gameserver_identity_string() const { + return _internal_has_gameserver_identity_string(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_gameserver_identity_string() { + _impl_.gameserver_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::gameserver_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) + return _internal_gameserver_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket::set_gameserver_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.gameserver_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_gameserver_identity_string() { + std::string* _s = _internal_mutable_gameserver_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_gameserver_identity_string() const { + return _impl_.gameserver_identity_string_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_gameserver_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.gameserver_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_gameserver_identity_string() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.gameserver_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::release_gameserver_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) + if (!_internal_has_gameserver_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.gameserver_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_identity_string_.IsDefault()) { + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_gameserver_identity_string(std::string* gameserver_identity_string) { + if (gameserver_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.gameserver_identity_string_.SetAllocated(gameserver_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_identity_string_.IsDefault()) { + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) +} + +// optional fixed32 authorized_public_ip = 3; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_authorized_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_authorized_public_ip() const { + return _internal_has_authorized_public_ip(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_authorized_public_ip() { + _impl_.authorized_public_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_authorized_public_ip() const { + return _impl_.authorized_public_ip_; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::authorized_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.authorized_public_ip) + return _internal_authorized_public_ip(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_authorized_public_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.authorized_public_ip_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_authorized_public_ip(uint32_t value) { + _internal_set_authorized_public_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.authorized_public_ip) +} + +// optional bytes gameserver_address = 11; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_gameserver_address() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_gameserver_address() const { + return _internal_has_gameserver_address(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_gameserver_address() { + _impl_.gameserver_address_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::gameserver_address() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.gameserver_address) + return _internal_gameserver_address(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket::set_gameserver_address(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_address_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.gameserver_address) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_gameserver_address() { + std::string* _s = _internal_mutable_gameserver_address(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.gameserver_address) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_gameserver_address() const { + return _impl_.gameserver_address_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_gameserver_address(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_address_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_gameserver_address() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.gameserver_address_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::release_gameserver_address() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.gameserver_address) + if (!_internal_has_gameserver_address()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.gameserver_address_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_address_.IsDefault()) { + _impl_.gameserver_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_gameserver_address(std::string* gameserver_address) { + if (gameserver_address != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.gameserver_address_.SetAllocated(gameserver_address, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_address_.IsDefault()) { + _impl_.gameserver_address_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.gameserver_address) +} + +// optional uint32 app_id = 7; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_app_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_app_id() const { + return _internal_has_app_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_app_id() { + _impl_.app_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_app_id() const { + return _impl_.app_id_; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::app_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.app_id) + return _internal_app_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_app_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.app_id_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_app_id(uint32_t value) { + _internal_set_app_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.app_id) +} + +// optional uint32 virtual_port = 10; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_virtual_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_virtual_port() const { + return _internal_has_virtual_port(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_virtual_port() { + _impl_.virtual_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_virtual_port() const { + return _impl_.virtual_port_; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::virtual_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.virtual_port) + return _internal_virtual_port(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_virtual_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.virtual_port_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_virtual_port(uint32_t value) { + _internal_set_virtual_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.virtual_port) +} + +// repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; +inline int CMsgSteamDatagramRelayAuthTicket::_internal_extra_fields_size() const { + return _impl_.extra_fields_.size(); +} +inline int CMsgSteamDatagramRelayAuthTicket::extra_fields_size() const { + return _internal_extra_fields_size(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_extra_fields() { + _impl_.extra_fields_.Clear(); +} +inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::mutable_extra_fields(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.extra_fields) + return _impl_.extra_fields_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >* +CMsgSteamDatagramRelayAuthTicket::mutable_extra_fields() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRelayAuthTicket.extra_fields) + return &_impl_.extra_fields_; +} +inline const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& CMsgSteamDatagramRelayAuthTicket::_internal_extra_fields(int index) const { + return _impl_.extra_fields_.Get(index); +} +inline const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& CMsgSteamDatagramRelayAuthTicket::extra_fields(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.extra_fields) + return _internal_extra_fields(index); +} +inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::_internal_add_extra_fields() { + return _impl_.extra_fields_.Add(); +} +inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::add_extra_fields() { + ::CMsgSteamDatagramRelayAuthTicket_ExtraField* _add = _internal_add_extra_fields(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRelayAuthTicket.extra_fields) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >& +CMsgSteamDatagramRelayAuthTicket::extra_fields() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRelayAuthTicket.extra_fields) + return _impl_.extra_fields_; +} + +// optional fixed64 legacy_authorized_steam_id = 2; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_authorized_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_authorized_steam_id() const { + return _internal_has_legacy_authorized_steam_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_authorized_steam_id() { + _impl_.legacy_authorized_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_authorized_steam_id() const { + return _impl_.legacy_authorized_steam_id_; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket::legacy_authorized_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_steam_id) + return _internal_legacy_authorized_steam_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_authorized_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_authorized_steam_id_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_authorized_steam_id(uint64_t value) { + _internal_set_legacy_authorized_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_steam_id) +} + +// optional fixed64 legacy_gameserver_steam_id = 4; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_steam_id() const { + return _internal_has_legacy_gameserver_steam_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_steam_id() { + _impl_.legacy_gameserver_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_steam_id() const { + return _impl_.legacy_gameserver_steam_id_; +} +inline uint64_t CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_steam_id) + return _internal_legacy_gameserver_steam_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.legacy_gameserver_steam_id_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_steam_id(uint64_t value) { + _internal_set_legacy_gameserver_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_steam_id) +} + +// optional fixed32 legacy_gameserver_pop_id = 9; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_pop_id() const { + return _internal_has_legacy_gameserver_pop_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_pop_id() { + _impl_.legacy_gameserver_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_pop_id() const { + return _impl_.legacy_gameserver_pop_id_; +} +inline uint32_t CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_pop_id) + return _internal_legacy_gameserver_pop_id(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.legacy_gameserver_pop_id_ = value; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_pop_id(uint32_t value) { + _internal_set_legacy_gameserver_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_pop_id) +} + +// optional bytes legacy_authorized_client_identity_binary = 12; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_authorized_client_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_authorized_client_identity_binary() const { + return _internal_has_legacy_authorized_client_identity_binary(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_authorized_client_identity_binary() { + _impl_.legacy_authorized_client_identity_binary_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::legacy_authorized_client_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) + return _internal_legacy_authorized_client_identity_binary(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket::set_legacy_authorized_client_identity_binary(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.legacy_authorized_client_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_legacy_authorized_client_identity_binary() { + std::string* _s = _internal_mutable_legacy_authorized_client_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_legacy_authorized_client_identity_binary() const { + return _impl_.legacy_authorized_client_identity_binary_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_authorized_client_identity_binary(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.legacy_authorized_client_identity_binary_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_legacy_authorized_client_identity_binary() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.legacy_authorized_client_identity_binary_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::release_legacy_authorized_client_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) + if (!_internal_has_legacy_authorized_client_identity_binary()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.legacy_authorized_client_identity_binary_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_authorized_client_identity_binary_.IsDefault()) { + _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_legacy_authorized_client_identity_binary(std::string* legacy_authorized_client_identity_binary) { + if (legacy_authorized_client_identity_binary != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.legacy_authorized_client_identity_binary_.SetAllocated(legacy_authorized_client_identity_binary, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_authorized_client_identity_binary_.IsDefault()) { + _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) +} + +// optional bytes legacy_gameserver_identity_binary = 13; +inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_identity_binary() const { + return _internal_has_legacy_gameserver_identity_binary(); +} +inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_identity_binary() { + _impl_.legacy_gameserver_identity_binary_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) + return _internal_legacy_gameserver_identity_binary(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_identity_binary(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.legacy_gameserver_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_legacy_gameserver_identity_binary() { + std::string* _s = _internal_mutable_legacy_gameserver_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) + return _s; +} +inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_identity_binary() const { + return _impl_.legacy_gameserver_identity_binary_.Get(); +} +inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_identity_binary(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.legacy_gameserver_identity_binary_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_legacy_gameserver_identity_binary() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.legacy_gameserver_identity_binary_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRelayAuthTicket::release_legacy_gameserver_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) + if (!_internal_has_legacy_gameserver_identity_binary()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.legacy_gameserver_identity_binary_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_gameserver_identity_binary_.IsDefault()) { + _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_legacy_gameserver_identity_binary(std::string* legacy_gameserver_identity_binary) { + if (legacy_gameserver_identity_binary != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.legacy_gameserver_identity_binary_.SetAllocated(legacy_gameserver_identity_binary, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_gameserver_identity_binary_.IsDefault()) { + _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSignedRelayAuthTicket + +// optional fixed64 reserved_do_not_use = 1; +inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_reserved_do_not_use() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_reserved_do_not_use() const { + return _internal_has_reserved_do_not_use(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_reserved_do_not_use() { + _impl_.reserved_do_not_use_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::_internal_reserved_do_not_use() const { + return _impl_.reserved_do_not_use_; +} +inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::reserved_do_not_use() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.reserved_do_not_use) + return _internal_reserved_do_not_use(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_reserved_do_not_use(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.reserved_do_not_use_ = value; +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::set_reserved_do_not_use(uint64_t value) { + _internal_set_reserved_do_not_use(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.reserved_do_not_use) +} + +// optional bytes ticket = 3; +inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_ticket() const { + return _internal_has_ticket(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_ticket() { + _impl_.ticket_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::ticket() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.ticket) + return _internal_ticket(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedRelayAuthTicket::set_ticket(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.ticket) +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::mutable_ticket() { + std::string* _s = _internal_mutable_ticket(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.ticket) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::_internal_ticket() const { + return _impl_.ticket_.Get(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_ticket(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::_internal_mutable_ticket() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.ticket_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::release_ticket() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedRelayAuthTicket.ticket) + if (!_internal_has_ticket()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.ticket_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_.IsDefault()) { + _impl_.ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::set_allocated_ticket(std::string* ticket) { + if (ticket != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ticket_.SetAllocated(ticket, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_.IsDefault()) { + _impl_.ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedRelayAuthTicket.ticket) +} + +// optional bytes signature = 4; +inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedRelayAuthTicket::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.signature) +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedRelayAuthTicket.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedRelayAuthTicket.signature) +} + +// optional fixed64 key_id = 2; +inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_key_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_key_id() const { + return _internal_has_key_id(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_key_id() { + _impl_.key_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::_internal_key_id() const { + return _impl_.key_id_; +} +inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::key_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.key_id) + return _internal_key_id(); +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_key_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.key_id_ = value; +} +inline void CMsgSteamDatagramSignedRelayAuthTicket::set_key_id(uint64_t value) { + _internal_set_key_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.key_id) +} + +// repeated .CMsgSteamDatagramCertificateSigned certs = 5; +inline int CMsgSteamDatagramSignedRelayAuthTicket::_internal_certs_size() const { + return _impl_.certs_.size(); +} +inline int CMsgSteamDatagramSignedRelayAuthTicket::certs_size() const { + return _internal_certs_size(); +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::mutable_certs(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.certs) + return _impl_.certs_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >* +CMsgSteamDatagramSignedRelayAuthTicket::mutable_certs() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramSignedRelayAuthTicket.certs) + return &_impl_.certs_; +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedRelayAuthTicket::_internal_certs(int index) const { + return _impl_.certs_.Get(index); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedRelayAuthTicket::certs(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.certs) + return _internal_certs(index); +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::_internal_add_certs() { + return _impl_.certs_.Add(); +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::add_certs() { + ::CMsgSteamDatagramCertificateSigned* _add = _internal_add_certs(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramSignedRelayAuthTicket.certs) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >& +CMsgSteamDatagramSignedRelayAuthTicket::certs() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramSignedRelayAuthTicket.certs) + return _impl_.certs_; +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramCachedCredentialsForApp + +// optional bytes private_key = 1; +inline bool CMsgSteamDatagramCachedCredentialsForApp::_internal_has_private_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramCachedCredentialsForApp::has_private_key() const { + return _internal_has_private_key(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::clear_private_key() { + _impl_.private_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::private_key() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.private_key) + return _internal_private_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCachedCredentialsForApp::set_private_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.private_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.private_key) +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_private_key() { + std::string* _s = _internal_mutable_private_key(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.private_key) + return _s; +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_private_key() const { + return _impl_.private_key_.Get(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::_internal_set_private_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.private_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_mutable_private_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.private_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::release_private_key() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCachedCredentialsForApp.private_key) + if (!_internal_has_private_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.private_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.private_key_.IsDefault()) { + _impl_.private_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_allocated_private_key(std::string* private_key) { + if (private_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.private_key_.SetAllocated(private_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.private_key_.IsDefault()) { + _impl_.private_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCachedCredentialsForApp.private_key) +} + +// optional bytes cert = 2; +inline bool CMsgSteamDatagramCachedCredentialsForApp::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramCachedCredentialsForApp::has_cert() const { + return _internal_has_cert(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::clear_cert() { + _impl_.cert_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.cert) + return _internal_cert(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCachedCredentialsForApp::set_cert(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cert_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.cert) +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_cert() { + std::string* _s = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.cert) + return _s; +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_cert() const { + return _impl_.cert_.Get(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::_internal_set_cert(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cert_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.cert_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCachedCredentialsForApp.cert) + if (!_internal_has_cert()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.cert_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cert_.IsDefault()) { + _impl_.cert_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_allocated_cert(std::string* cert) { + if (cert != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_.SetAllocated(cert, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cert_.IsDefault()) { + _impl_.cert_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCachedCredentialsForApp.cert) +} + +// repeated bytes relay_tickets = 3; +inline int CMsgSteamDatagramCachedCredentialsForApp::_internal_relay_tickets_size() const { + return _impl_.relay_tickets_.size(); +} +inline int CMsgSteamDatagramCachedCredentialsForApp::relay_tickets_size() const { + return _internal_relay_tickets_size(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::clear_relay_tickets() { + _impl_.relay_tickets_.Clear(); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets() { + std::string* _s = _internal_add_relay_tickets(); + // @@protoc_insertion_point(field_add_mutable:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) + return _s; +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_relay_tickets(int index) const { + return _impl_.relay_tickets_.Get(index); +} +inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::relay_tickets(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) + return _internal_relay_tickets(index); +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_relay_tickets(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) + return _impl_.relay_tickets_.Mutable(index); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const std::string& value) { + _impl_.relay_tickets_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, std::string&& value) { + _impl_.relay_tickets_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.relay_tickets_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const void* value, size_t size) { + _impl_.relay_tickets_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_add_relay_tickets() { + return _impl_.relay_tickets_.Add(); +} +inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const std::string& value) { + _impl_.relay_tickets_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(std::string&& value) { + _impl_.relay_tickets_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.relay_tickets_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const void* value, size_t size) { + _impl_.relay_tickets_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgSteamDatagramCachedCredentialsForApp::relay_tickets() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) + return _impl_.relay_tickets_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgSteamDatagramCachedCredentialsForApp::mutable_relay_tickets() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) + return &_impl_.relay_tickets_; +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameCoordinatorServerLogin + +// optional uint32 time_generated = 1; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_time_generated() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_time_generated() const { + return _internal_has_time_generated(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_time_generated() { + _impl_.time_generated_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_time_generated() const { + return _impl_.time_generated_; +} +inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::time_generated() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.time_generated) + return _internal_time_generated(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_time_generated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.time_generated_ = value; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_time_generated(uint32_t value) { + _internal_set_time_generated(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.time_generated) +} + +// optional uint32 appid = 2; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::appid() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.appid) + return _internal_appid(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.appid_ = value; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.appid) +} + +// optional bytes routing = 3; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_routing() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_routing() const { + return _internal_has_routing(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_routing() { + _impl_.routing_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::routing() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.routing) + return _internal_routing(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameCoordinatorServerLogin::set_routing(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.routing_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.routing) +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_routing() { + std::string* _s = _internal_mutable_routing(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.routing) + return _s; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_routing() const { + return _impl_.routing_.Get(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_routing(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.routing_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_routing() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.routing_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_routing() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.routing) + if (!_internal_has_routing()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.routing_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routing_.IsDefault()) { + _impl_.routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_routing(std::string* routing) { + if (routing != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.routing_.SetAllocated(routing, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routing_.IsDefault()) { + _impl_.routing_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.routing) +} + +// optional bytes appdata = 4; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_appdata() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_appdata() const { + return _internal_has_appdata(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_appdata() { + _impl_.appdata_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::appdata() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) + return _internal_appdata(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameCoordinatorServerLogin::set_appdata(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appdata_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_appdata() { + std::string* _s = _internal_mutable_appdata(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) + return _s; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_appdata() const { + return _impl_.appdata_.Get(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_appdata(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appdata_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_appdata() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.appdata_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_appdata() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) + if (!_internal_has_appdata()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.appdata_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.appdata_.IsDefault()) { + _impl_.appdata_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_appdata(std::string* appdata) { + if (appdata != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.appdata_.SetAllocated(appdata, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.appdata_.IsDefault()) { + _impl_.appdata_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) +} + +// optional bytes legacy_identity_binary = 5; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_legacy_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_legacy_identity_binary() const { + return _internal_has_legacy_identity_binary(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_legacy_identity_binary() { + _impl_.legacy_identity_binary_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::legacy_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) + return _internal_legacy_identity_binary(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameCoordinatorServerLogin::set_legacy_identity_binary(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.legacy_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_legacy_identity_binary() { + std::string* _s = _internal_mutable_legacy_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) + return _s; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_legacy_identity_binary() const { + return _impl_.legacy_identity_binary_.Get(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_legacy_identity_binary(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.legacy_identity_binary_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_legacy_identity_binary() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.legacy_identity_binary_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_legacy_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) + if (!_internal_has_legacy_identity_binary()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.legacy_identity_binary_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_identity_binary_.IsDefault()) { + _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_legacy_identity_binary(std::string* legacy_identity_binary) { + if (legacy_identity_binary != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.legacy_identity_binary_.SetAllocated(legacy_identity_binary, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.legacy_identity_binary_.IsDefault()) { + _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) +} + +// optional string identity_string = 6; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_identity_string() const { + return _internal_has_identity_string(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_identity_string() { + _impl_.identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) + return _internal_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameCoordinatorServerLogin::set_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_identity_string() { + std::string* _s = _internal_mutable_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_identity_string() const { + return _impl_.identity_string_.Get(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_identity_string() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) + if (!_internal_has_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_identity_string(std::string* identity_string) { + if (identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) +} + +// optional fixed64 dummy_steam_id = 99; +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_dummy_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_dummy_steam_id() const { + return _internal_has_dummy_steam_id(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_dummy_steam_id() { + _impl_.dummy_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_dummy_steam_id() const { + return _impl_.dummy_steam_id_; +} +inline uint64_t CMsgSteamDatagramGameCoordinatorServerLogin::dummy_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.dummy_steam_id) + return _internal_dummy_steam_id(); +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_dummy_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.dummy_steam_id_ = value; +} +inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_dummy_steam_id(uint64_t value) { + _internal_set_dummy_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.dummy_steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSignedGameCoordinatorServerLogin + +// optional .CMsgSteamDatagramCertificateSigned cert = 1; +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedGameCoordinatorServerLogin::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_cert() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) + return _msg; +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) +} + +// optional bytes login = 2; +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_login() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_login() const { + return _internal_has_login(); +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_login() { + _impl_.login_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::login() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) + return _internal_login(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_login(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.login_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_login() { + std::string* _s = _internal_mutable_login(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_login() const { + return _impl_.login_.Get(); +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_set_login(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.login_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_login() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.login_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_login() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) + if (!_internal_has_login()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.login_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.login_.IsDefault()) { + _impl_.login_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_login(std::string* login) { + if (login != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.login_.SetAllocated(login, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.login_.IsDefault()) { + _impl_.login_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) +} + +// optional bytes signature = 3; +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramHostedServerAddressPlaintext + +// optional fixed32 ipv4 = 1; +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_ipv4() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_ipv4() const { + return _internal_has_ipv4(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_ipv4() { + _impl_.ipv4_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_ipv4() const { + return _impl_.ipv4_; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::ipv4() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.ipv4) + return _internal_ipv4(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_ipv4(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ipv4_ = value; +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_ipv4(uint32_t value) { + _internal_set_ipv4(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.ipv4) +} + +// optional bytes ipv6 = 2; +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_ipv6() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_ipv6() const { + return _internal_has_ipv6(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_ipv6() { + _impl_.ipv6_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramHostedServerAddressPlaintext::ipv6() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) + return _internal_ipv6(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramHostedServerAddressPlaintext::set_ipv6(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ipv6_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) +} +inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::mutable_ipv6() { + std::string* _s = _internal_mutable_ipv6(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) + return _s; +} +inline const std::string& CMsgSteamDatagramHostedServerAddressPlaintext::_internal_ipv6() const { + return _impl_.ipv6_.Get(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_ipv6(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ipv6_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::_internal_mutable_ipv6() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.ipv6_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::release_ipv6() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) + if (!_internal_has_ipv6()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.ipv6_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ipv6_.IsDefault()) { + _impl_.ipv6_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_allocated_ipv6(std::string* ipv6) { + if (ipv6 != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ipv6_.SetAllocated(ipv6, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ipv6_.IsDefault()) { + _impl_.ipv6_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) +} + +// optional uint32 port = 3; +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_port() const { + return _internal_has_port(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_port() { + _impl_.port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_port() const { + return _impl_.port_; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.port) + return _internal_port(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.port_ = value; +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_port(uint32_t value) { + _internal_set_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.port) +} + +// optional fixed64 routing_secret = 4; +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramHostedServerAddressPlaintext::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.routing_secret) +} + +// optional uint32 protocol_version = 5; +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.protocol_version) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.cc new file mode 100644 index 0000000..498f94e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.cc @@ -0,0 +1,21401 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamdatagram_messages_sdr.proto + +#include "steamdatagram_messages_sdr.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; + +PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.v6_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.v4_)*/0u} {} +struct CMsgSteamNetworkingIPAddressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingIPAddressDefaultTypeInternal() {} + union { + CMsgSteamNetworkingIPAddress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingIPAddressDefaultTypeInternal _CMsgSteamNetworkingIPAddress_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.signed_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/nullptr} {} +struct CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal() {} + union { + CMsgSteamDatagramSignedMessageGeneric _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal _CMsgSteamDatagramSignedMessageGeneric_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_center_id_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.penalty_)*/0u} {} +struct CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal() {} + union { + CMsgSteamDatagramRouterPingReply_RouteException _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_RouteException_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ipv4_)*/0u + , /*decltype(_impl_.port_)*/0u + , /*decltype(_impl_.penalty_)*/0u + , /*decltype(_impl_.protocol_)*/0} {} +struct CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal() {} + union { + CMsgSteamDatagramRouterPingReply_AltAddress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.latency_datacenter_ids_)*/{} + , /*decltype(_impl_.latency_ping_ms_)*/{} + , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} + , /*decltype(_impl_.route_exceptions_)*/{} + , /*decltype(_impl_.alt_addresses_)*/{} + , /*decltype(_impl_.latency_datacenter_ids_p2p_)*/{} + , /*decltype(_impl_.latency_ping_ms_p2p_)*/{} + , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} + , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.client_timestamp_)*/0u + , /*decltype(_impl_.your_public_ip_)*/0u + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.server_time_)*/0u + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.client_cookie_)*/0u + , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u + , /*decltype(_impl_.your_public_port_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.recv_tos_)*/0u + , /*decltype(_impl_.echo_sent_tos_)*/0u + , /*decltype(_impl_.sent_tos_)*/0u + , /*decltype(_impl_.echo_request_reply_tos_)*/0u + , /*decltype(_impl_.dummy_varint_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramRouterPingReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReplyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramRouterPingReplyDefaultTypeInternal() {} + union { + CMsgSteamDatagramRouterPingReply _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReplyDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.my_ips_)*/{} + , /*decltype(_impl_.echo_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.your_public_ip_)*/nullptr + , /*decltype(_impl_.relay_popid_)*/0u + , /*decltype(_impl_.your_public_port_)*/0u + , /*decltype(_impl_.relay_unix_time_)*/uint64_t{0u} + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameserverPingRequestBody _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestBody_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.signed_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.legacy_your_public_ip_)*/0u + , /*decltype(_impl_.legacy_relay_unix_time_)*/0u + , /*decltype(_impl_.legacy_challenge_)*/uint64_t{0u} + , /*decltype(_impl_.legacy_router_timestamp_)*/0u + , /*decltype(_impl_.legacy_your_public_port_)*/0u} {} +struct CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameserverPingRequestEnvelope _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.echo_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.routing_blob_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_challenge_)*/uint64_t{0u} + , /*decltype(_impl_.echo_relay_unix_time_)*/0u + , /*decltype(_impl_.legacy_router_timestamp_)*/0u + , /*decltype(_impl_.data_center_id_)*/0u + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.my_unix_time_)*/0u + , /*decltype(_impl_.network_config_version_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameserverPingReplyData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal _CMsgSteamDatagramGameserverPingReplyData_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.your_public_ip_)*/0u + , /*decltype(_impl_.server_time_)*/0u + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.your_public_port_)*/0u + , /*decltype(_impl_.connection_id_)*/0u} {} +struct CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal() {} + union { + CMsgSteamDatagramNoSessionRelayToClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToClient_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.legacy_relay_session_id_)*/0u + , /*decltype(_impl_.from_relay_session_id_)*/0u + , /*decltype(_impl_.kludge_pad_)*/uint64_t{0u} + , /*decltype(_impl_.from_connection_id_)*/0u} {} +struct CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal() {} + union { + CMsgSteamDatagramNoSessionRelayToPeer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToPeer_default_instance_; +PROTOBUF_CONSTEXPR CMsgTOSTreatment::CMsgTOSTreatment( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.l4s_detect_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.up_ecn1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.down_dscp45_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgTOSTreatmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTOSTreatmentDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTOSTreatmentDefaultTypeInternal() {} + union { + CMsgTOSTreatment _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTOSTreatmentDefaultTypeInternal _CMsgTOSTreatment_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.connection_id_)*/0u} {} +struct CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientPingSampleRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal _CMsgSteamDatagramClientPingSampleRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.front_ping_ms_)*/0u + , /*decltype(_impl_.penalty_)*/0u} {} +struct CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.alt_addresses_)*/{} + , /*decltype(_impl_.pop_id_)*/0u + , /*decltype(_impl_.default_front_ping_ms_)*/0u + , /*decltype(_impl_.default_e2e_ping_ms_)*/0u + , /*decltype(_impl_.cluster_penalty_)*/0u + , /*decltype(_impl_.default_e2e_score_)*/0u + , /*decltype(_impl_.p2p_via_peer_relay_pop_id_)*/0u + , /*decltype(_impl_.best_dc_ping_ms_)*/0u + , /*decltype(_impl_.best_dc_score_)*/0u + , /*decltype(_impl_.best_dc_via_relay_pop_id_)*/0u + , /*decltype(_impl_.default_dc_ping_ms_)*/0u + , /*decltype(_impl_.default_dc_score_)*/0u + , /*decltype(_impl_.default_dc_via_relay_pop_id_)*/0u + , /*decltype(_impl_.test_dc_ping_ms_)*/0u + , /*decltype(_impl_.test_dc_score_)*/0u + , /*decltype(_impl_.test_dc_via_relay_pop_id_)*/0u} {} +struct CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientPingSampleReply_POP _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_center_id_)*/0u + , /*decltype(_impl_.best_dc_via_relay_pop_id_)*/0u + , /*decltype(_impl_.best_dc_ping_ms_)*/0u} {} +struct CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pops_)*/{} + , /*decltype(_impl_.legacy_data_centers_)*/{} + , /*decltype(_impl_.tos_)*/nullptr + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.relay_override_active_)*/false} {} +struct CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientPingSampleReply _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.score_)*/0u + , /*decltype(_impl_.front_ping_)*/0u + , /*decltype(_impl_.back_ping_)*/0u + , /*decltype(_impl_.seconds_until_down_)*/0u} {} +struct CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.from_dropped_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.from_quality_now_)*/nullptr + , /*decltype(_impl_.to_quality_now_)*/nullptr + , /*decltype(_impl_.from_quality_then_)*/nullptr + , /*decltype(_impl_.to_quality_then_)*/nullptr + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.from_ip_)*/0u + , /*decltype(_impl_.from_port_)*/0u + , /*decltype(_impl_.from_router_cluster_)*/0u + , /*decltype(_impl_.from_active_time_)*/0u + , /*decltype(_impl_.from_active_packets_recv_)*/0u + , /*decltype(_impl_.gap_ms_)*/0u} {} +struct CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal() {} + union { + CMsgSteamDatagramClientSwitchedPrimary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.gameserver_relay_session_id_)*/0u + , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.ping_est_ms_)*/0u + , /*decltype(_impl_.virtual_port_)*/0u + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramConnectRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectRequestDefaultTypeInternal _CMsgSteamDatagramConnectRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.gameserver_relay_session_id_)*/0u + , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.delay_time_usec_)*/0u + , /*decltype(_impl_.server_connection_id_)*/0u} {} +struct CMsgSteamDatagramConnectOKDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOKDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectOKDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectOK _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectOKDefaultTypeInternal _CMsgSteamDatagramConnectOK_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.initial_ping_)*/0u + , /*decltype(_impl_.initial_ping_front_local_)*/0u + , /*decltype(_impl_.initial_ping_front_remote_)*/0u + , /*decltype(_impl_.initial_score_)*/0u + , /*decltype(_impl_.initial_pop_local_)*/0u + , /*decltype(_impl_.initial_pop_remote_)*/0u + , /*decltype(_impl_.negotiation_ms_)*/0u + , /*decltype(_impl_.selected_seconds_)*/0u + , /*decltype(_impl_.best_ping_)*/0u + , /*decltype(_impl_.best_ping_front_local_)*/0u + , /*decltype(_impl_.best_ping_front_remote_)*/0u + , /*decltype(_impl_.best_score_)*/0u + , /*decltype(_impl_.best_pop_local_)*/0u + , /*decltype(_impl_.best_pop_remote_)*/0u + , /*decltype(_impl_.best_time_)*/0u} {} +struct CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PSDRRoutingSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal _CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ice_)*/nullptr + , /*decltype(_impl_.sdr_)*/nullptr} {} +struct CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PRoutingSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal _CMsgSteamDatagramP2PRoutingSummary_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.forward_target_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.from_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_from_identity_binary_)*/nullptr + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.p2p_routing_summary_)*/nullptr + , /*decltype(_impl_.legacy_from_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.legacy_gameserver_relay_session_id_)*/0u + , /*decltype(_impl_.relay_mode_)*/0 + , /*decltype(_impl_.reason_code_)*/0u + , /*decltype(_impl_.to_connection_id_)*/0u + , /*decltype(_impl_.from_connection_id_)*/0u + , /*decltype(_impl_.to_relay_session_id_)*/0u + , /*decltype(_impl_.from_relay_session_id_)*/0u + , /*decltype(_impl_.forward_target_revision_)*/0u + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} + , /*decltype(_impl_.not_primary_session_)*/false + , /*decltype(_impl_.not_primary_transport_)*/false + , /*decltype(_impl_.relay_override_active_)*/false} {} +struct CMsgSteamDatagramConnectionClosedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionClosedDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionClosed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionClosedDefaultTypeInternal _CMsgSteamDatagramConnectionClosed_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.from_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.p2p_routing_summary_)*/nullptr + , /*decltype(_impl_.legacy_from_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.legacy_gameserver_relay_session_id_)*/0u + , /*decltype(_impl_.to_connection_id_)*/0u + , /*decltype(_impl_.from_connection_id_)*/0u + , /*decltype(_impl_.to_relay_session_id_)*/0u + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} + , /*decltype(_impl_.from_relay_session_id_)*/0u + , /*decltype(_impl_.end_to_end_)*/false + , /*decltype(_impl_.not_primary_session_)*/false + , /*decltype(_impl_.not_primary_transport_)*/false + , /*decltype(_impl_.relay_override_active_)*/false + , /*decltype(_impl_.dummy_pad_)*/0u} {} +struct CMsgSteamDatagramNoConnectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnectionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramNoConnectionDefaultTypeInternal() {} + union { + CMsgSteamDatagramNoConnection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoConnectionDefaultTypeInternal _CMsgSteamDatagramNoConnection_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.platform_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dev_gameserver_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dev_client_cert_)*/nullptr + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.challenge_time_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.network_config_version_)*/uint64_t{0u} + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.server_connection_id_)*/0u} {} +struct CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameserverSessionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal _CMsgSteamDatagramGameserverSessionRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gameserver_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.dummy_legacy_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.legacy_gameserver_steamid_)*/uint64_t{0u} + , /*decltype(_impl_.seq_num_r2c_)*/0u} {} +struct CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal() {} + union { + CMsgSteamDatagramGameserverSessionEstablished _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramGameserverSessionEstablished_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.seq_num_c2r_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u} {} +struct CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsClientToRouter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.seq_num_r2c_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u + , /*decltype(_impl_.migrate_request_ip_)*/0u + , /*decltype(_impl_.migrate_request_port_)*/0u + , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u + , /*decltype(_impl_.flags_)*/0u} {} +struct CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsRouterToClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.client_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.seq_num_r2s_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u + , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.relay_session_id_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.server_connection_id_)*/0u + , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsRouterToServer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.seq_num_s2r_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u + , /*decltype(_impl_.relay_session_id_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.server_connection_id_)*/0u} {} +struct CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsServerToRouter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.peer_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.peer_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.platform_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.encrypted_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.encryption_my_ephemeral_public_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.challenge_time_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.legacy_peer_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.peer_connection_id_)*/0u + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.network_config_version_)*/uint64_t{0u} + , /*decltype(_impl_.encryption_your_public_key_lead_byte_)*/0u} {} +struct CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PSessionRequestBody _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.body_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/nullptr} {} +struct CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PSessionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.seq_num_r2c_)*/0u} {} +struct CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PSessionEstablished _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramP2PSessionEstablished_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.forward_target_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.p2p_routing_summary_)*/nullptr + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.forward_target_revision_)*/0u + , /*decltype(_impl_.ack_peer_routes_revision_)*/0u + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.seq_num_c2r_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u} {} +struct CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsP2PClientToRouter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ack_relay_)*/{} + , /*decltype(_impl_.legacy_ack_e2e_)*/{} + , /*decltype(_impl_.routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quality_relay_)*/nullptr + , /*decltype(_impl_.quality_e2e_)*/nullptr + , /*decltype(_impl_.seconds_until_shutdown_)*/0u + , /*decltype(_impl_.migrate_request_ip_)*/0u + , /*decltype(_impl_.migrate_request_port_)*/0u + , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.ack_forward_target_revision_)*/0u + , /*decltype(_impl_.ack_peer_routes_revision_)*/0u + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.seq_num_r2c_)*/0u + , /*decltype(_impl_.seq_num_e2e_)*/0u} {} +struct CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionStatsP2PRouterToClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.failed_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.ack_forward_target_revision_)*/0u + , /*decltype(_impl_.kludge_pad_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PBadRouteRouterToClient _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal _CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.session_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.pop_id_)*/0u + , /*decltype(_impl_.ping_ms_)*/0u + , /*decltype(_impl_.score_penalty_)*/0u} {} +struct CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PRoutes_RelayCluster _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.my_pop_id_)*/0u + , /*decltype(_impl_.your_pop_id_)*/0u + , /*decltype(_impl_.legacy_score_)*/0u + , /*decltype(_impl_.interior_score_)*/0u} {} +struct CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PRoutes_Route _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_Route_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.relay_clusters_)*/{} + , /*decltype(_impl_.routes_)*/{} + , /*decltype(_impl_.revision_)*/0u} {} +struct CMsgSteamDatagramP2PRoutesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramP2PRoutesDefaultTypeInternal() {} + union { + CMsgSteamDatagramP2PRoutes _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutesDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.client_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.kludge_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.client_main_ip_)*/0u + , /*decltype(_impl_.client_main_port_)*/0u + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.request_send_duplication_)*/false} {} +struct CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramSetSecondaryAddressRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.success_)*/false} {} +struct CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal() {} + union { + CMsgSteamDatagramSetSecondaryAddressResult _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressResult_default_instance_; +static ::_pb::Metadata file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[42]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[10]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamdatagram_5fmessages_5fsdr_2eproto = nullptr; + +const uint32_t TableStruct_steamdatagram_5fmessages_5fsdr_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_.v4_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_.v6_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.signed_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.dummy_pad_), + 3, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.data_center_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.penalty_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.ipv4_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.penalty_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.protocol_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.id_), + 1, + 2, + 3, + 4, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.client_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_datacenter_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_datacenter_ids_p2p_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_ping_ms_p2p_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.your_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.your_public_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.server_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.seconds_until_shutdown_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.client_cookie_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.recv_tos_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.echo_sent_tos_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.sent_tos_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.echo_request_reply_tos_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.scoring_penalty_relay_cluster_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.route_exceptions_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.alt_addresses_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.dummy_pad_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.dummy_varint_), + 1, + ~0u, + ~0u, + ~0u, + ~0u, + 2, + 8, + 4, + 3, + 5, + 6, + 10, + 11, + 12, + 13, + 7, + 9, + ~0u, + ~0u, + 0, + 14, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.relay_popid_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.relay_unix_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.routing_secret_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.my_ips_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.echo_), + 2, + 1, + 3, + 4, + 5, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.signed_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_relay_unix_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_router_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.dummy_pad_), + 3, + 0, + 1, + 4, + 8, + 5, + 6, + 7, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.echo_relay_unix_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.echo_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_router_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.data_center_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.protocol_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.build_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.network_config_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.my_unix_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.routing_blob_), + 4, + 0, + 3, + 5, + 6, + 7, + 8, + 1, + 10, + 9, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.server_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.seconds_until_shutdown_), + 5, + 0, + 4, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.legacy_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.kludge_pad_), + 0, + 1, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.l4s_detect_), + PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.up_ecn1_), + PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.down_dscp45_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _impl_.connection_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.front_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.penalty_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_front_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.cluster_penalty_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.alt_addresses_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_e2e_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_e2e_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.p2p_via_peer_relay_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_via_relay_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_via_relay_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_via_relay_pop_id_), + 0, + 1, + 3, + ~0u, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.data_center_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_via_relay_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_ping_ms_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.relay_override_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.tos_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.pops_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.legacy_data_centers_), + 1, + 2, + 0, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.front_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.back_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.seconds_until_down_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_router_cluster_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_active_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_active_packets_recv_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_dropped_reason_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.gap_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_now_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.to_quality_now_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_then_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.to_quality_then_), + 5, + 6, + 7, + 8, + 9, + 10, + 0, + 11, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.my_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.ping_est_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.virtual_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.gameserver_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.routing_secret_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.legacy_client_steam_id_), + 2, + 5, + 6, + 7, + 3, + 0, + 1, + 8, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.server_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.your_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.delay_time_usec_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.gameserver_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.cert_), + 2, + 6, + 4, + 5, + 3, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_front_local_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_front_remote_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_pop_local_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_pop_remote_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_front_local_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_front_remote_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_pop_local_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_pop_remote_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.negotiation_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.selected_seconds_), + 0, + 1, + 2, + 3, + 4, + 5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_.ice_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_.sdr_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.to_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_identity_binary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_gameserver_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.to_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.forward_target_relay_routing_token_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.forward_target_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.relay_mode_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.debug_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.reason_code_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.routing_secret_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.not_primary_session_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.not_primary_transport_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.relay_override_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.p2p_routing_summary_), + 11, + 12, + 2, + 3, + 7, + 8, + 13, + 14, + 1, + 15, + 9, + 0, + 10, + 16, + 17, + 18, + 19, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.to_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.legacy_gameserver_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.to_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.legacy_from_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.end_to_end_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.not_primary_session_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.not_primary_transport_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.relay_override_active_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.p2p_routing_summary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.routing_secret_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.dummy_pad_), + 6, + 7, + 5, + 8, + 10, + 0, + 4, + 11, + 12, + 13, + 14, + 1, + 2, + 3, + 9, + 15, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.ticket_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.challenge_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.server_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.network_config_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.protocol_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.platform_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.build_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_gameserver_identity_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_client_cert_), + 0, + 6, + 5, + 7, + 10, + 8, + 9, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.gameserver_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.seconds_until_shutdown_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.seq_num_r2c_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.dummy_legacy_identity_binary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.legacy_gameserver_steamid_), + 2, + 0, + 3, + 5, + 1, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_c2r_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_e2e_), + 0, + 1, + ~0u, + ~0u, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seconds_until_shutdown_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.migrate_request_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.migrate_request_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.scoring_penalty_relay_cluster_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seq_num_r2c_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seq_num_e2e_), + 0, + 1, + 2, + 6, + 7, + 8, + ~0u, + ~0u, + 9, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.seq_num_r2s_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.seq_num_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.client_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.legacy_client_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.server_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.routing_secret_), + 1, + 2, + ~0u, + ~0u, + 8, + 3, + 4, + 0, + 5, + 6, + 7, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.seq_num_s2r_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.seq_num_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.relay_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.server_connection_id_), + 0, + 1, + ~0u, + ~0u, + 6, + 2, + 3, + 4, + 5, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _impl_.peer_identity_string_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.legacy_peer_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.peer_identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.peer_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encrypted_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_your_public_key_lead_byte_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_my_ephemeral_public_key_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.protocol_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.network_config_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.platform_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.build_), + 6, + 5, + 7, + 8, + 0, + 9, + 3, + 12, + 4, + 10, + 11, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.body_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.signature_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.seconds_until_shutdown_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.relay_routing_token_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.seq_num_r2c_), + 1, + 2, + 0, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.p2p_routing_summary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.forward_target_relay_routing_token_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.forward_target_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.routes_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.ack_peer_routes_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_c2r_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_e2e_), + 2, + 3, + 4, + ~0u, + ~0u, + 5, + 0, + 6, + 1, + 7, + 8, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seconds_until_shutdown_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.migrate_request_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.migrate_request_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.scoring_penalty_relay_cluster_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_relay_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.legacy_ack_e2e_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_forward_target_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.routes_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_peer_routes_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_r2c_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_e2e_), + 1, + 2, + 3, + 4, + 5, + 6, + ~0u, + ~0u, + 7, + 8, + 0, + 9, + 10, + 11, + 12, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.failed_relay_routing_token_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.ack_forward_target_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.kludge_pad_), + 1, + 0, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.score_penalty_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.session_relay_routing_token_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.my_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.your_pop_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.legacy_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.interior_score_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.relay_clusters_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.routes_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.revision_), + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_ip_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_identity_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.request_send_duplication_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.kludge_pad_), + 2, + 3, + 4, + 0, + 5, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_.success_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_.message_), + 1, + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CMsgSteamNetworkingIPAddress)}, + { 10, 20, -1, sizeof(::CMsgSteamDatagramSignedMessageGeneric)}, + { 24, 33, -1, sizeof(::CMsgSteamDatagramRouterPingReply_RouteException)}, + { 36, 47, -1, sizeof(::CMsgSteamDatagramRouterPingReply_AltAddress)}, + { 52, 79, -1, sizeof(::CMsgSteamDatagramRouterPingReply)}, + { 100, 113, -1, sizeof(::CMsgSteamDatagramGameserverPingRequestBody)}, + { 120, 135, -1, sizeof(::CMsgSteamDatagramGameserverPingRequestEnvelope)}, + { 144, 161, -1, sizeof(::CMsgSteamDatagramGameserverPingReplyData)}, + { 172, 184, -1, sizeof(::CMsgSteamDatagramNoSessionRelayToClient)}, + { 190, 200, -1, sizeof(::CMsgSteamDatagramNoSessionRelayToPeer)}, + { 204, 213, -1, sizeof(::CMsgTOSTreatment)}, + { 216, 223, -1, sizeof(::CMsgSteamDatagramClientPingSampleRequest)}, + { 224, 233, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress)}, + { 236, 258, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_POP)}, + { 274, 283, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter)}, + { 286, 297, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply)}, + { 302, 312, -1, sizeof(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality)}, + { 316, 334, -1, sizeof(::CMsgSteamDatagramClientSwitchedPrimary)}, + { 346, 361, -1, sizeof(::CMsgSteamDatagramConnectRequest)}, + { 370, 383, -1, sizeof(::CMsgSteamDatagramConnectOK)}, + { 390, 411, -1, sizeof(::CMsgSteamNetworkingP2PSDRRoutingSummary)}, + { 426, 434, -1, sizeof(::CMsgSteamDatagramP2PRoutingSummary)}, + { 436, 462, -1, sizeof(::CMsgSteamDatagramConnectionClosed)}, + { 482, 504, -1, sizeof(::CMsgSteamDatagramNoConnection)}, + { 520, 537, -1, sizeof(::CMsgSteamDatagramGameserverSessionRequest)}, + { 548, 560, -1, sizeof(::CMsgSteamDatagramGameserverSessionEstablished)}, + { 566, 580, -1, sizeof(::CMsgSteamDatagramConnectionStatsClientToRouter)}, + { 588, 606, -1, sizeof(::CMsgSteamDatagramConnectionStatsRouterToClient)}, + { 618, 637, -1, sizeof(::CMsgSteamDatagramConnectionStatsRouterToServer)}, + { 650, 666, -1, sizeof(::CMsgSteamDatagramConnectionStatsServerToRouter)}, + { 676, 683, -1, sizeof(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData)}, + { 684, 703, -1, sizeof(::CMsgSteamDatagramP2PSessionRequestBody)}, + { 716, 725, -1, sizeof(::CMsgSteamDatagramP2PSessionRequest)}, + { 728, 738, -1, sizeof(::CMsgSteamDatagramP2PSessionEstablished)}, + { 742, 761, -1, sizeof(::CMsgSteamDatagramConnectionStatsP2PClientToRouter)}, + { 774, 795, -1, sizeof(::CMsgSteamDatagramConnectionStatsP2PRouterToClient)}, + { 810, 820, -1, sizeof(::CMsgSteamDatagramP2PBadRouteRouterToClient)}, + { 824, 834, -1, sizeof(::CMsgSteamDatagramP2PRoutes_RelayCluster)}, + { 838, 848, -1, sizeof(::CMsgSteamDatagramP2PRoutes_Route)}, + { 852, 861, -1, sizeof(::CMsgSteamDatagramP2PRoutes)}, + { 864, 876, -1, sizeof(::CMsgSteamDatagramSetSecondaryAddressRequest)}, + { 882, 890, -1, sizeof(::CMsgSteamDatagramSetSecondaryAddressResult)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSteamNetworkingIPAddress_default_instance_._instance, + &::_CMsgSteamDatagramSignedMessageGeneric_default_instance_._instance, + &::_CMsgSteamDatagramRouterPingReply_RouteException_default_instance_._instance, + &::_CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_._instance, + &::_CMsgSteamDatagramRouterPingReply_default_instance_._instance, + &::_CMsgSteamDatagramGameserverPingRequestBody_default_instance_._instance, + &::_CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_._instance, + &::_CMsgSteamDatagramGameserverPingReplyData_default_instance_._instance, + &::_CMsgSteamDatagramNoSessionRelayToClient_default_instance_._instance, + &::_CMsgSteamDatagramNoSessionRelayToPeer_default_instance_._instance, + &::_CMsgTOSTreatment_default_instance_._instance, + &::_CMsgSteamDatagramClientPingSampleRequest_default_instance_._instance, + &::_CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_._instance, + &::_CMsgSteamDatagramClientPingSampleReply_POP_default_instance_._instance, + &::_CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_._instance, + &::_CMsgSteamDatagramClientPingSampleReply_default_instance_._instance, + &::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_._instance, + &::_CMsgSteamDatagramClientSwitchedPrimary_default_instance_._instance, + &::_CMsgSteamDatagramConnectRequest_default_instance_._instance, + &::_CMsgSteamDatagramConnectOK_default_instance_._instance, + &::_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_._instance, + &::_CMsgSteamDatagramP2PRoutingSummary_default_instance_._instance, + &::_CMsgSteamDatagramConnectionClosed_default_instance_._instance, + &::_CMsgSteamDatagramNoConnection_default_instance_._instance, + &::_CMsgSteamDatagramGameserverSessionRequest_default_instance_._instance, + &::_CMsgSteamDatagramGameserverSessionEstablished_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_._instance, + &::_CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_._instance, + &::_CMsgSteamDatagramP2PSessionRequestBody_default_instance_._instance, + &::_CMsgSteamDatagramP2PSessionRequest_default_instance_._instance, + &::_CMsgSteamDatagramP2PSessionEstablished_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_._instance, + &::_CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_._instance, + &::_CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_._instance, + &::_CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_._instance, + &::_CMsgSteamDatagramP2PRoutes_Route_default_instance_._instance, + &::_CMsgSteamDatagramP2PRoutes_default_instance_._instance, + &::_CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_._instance, + &::_CMsgSteamDatagramSetSecondaryAddressResult_default_instance_._instance, +}; + +const char descriptor_table_protodef_steamdatagram_5fmessages_5fsdr_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n steamdatagram_messages_sdr.proto\032+stea" + "mnetworkingsockets_messages_certs.proto\032" + "%steamnetworkingsockets_messages.proto\"6" + "\n\034CMsgSteamNetworkingIPAddress\022\n\n\002v4\030\001 \001" + "(\007\022\n\n\002v6\030\002 \001(\014\"\226\001\n%CMsgSteamDatagramSign" + "edMessageGeneric\0221\n\004cert\030\001 \001(\0132#.CMsgSte" + "amDatagramCertificateSigned\022\023\n\013signed_da" + "ta\030\002 \001(\014\022\021\n\tsignature\030\003 \001(\014\022\022\n\tdummy_pad" + "\030\377\007 \001(\014\"\375\007\n CMsgSteamDatagramRouterPingR" + "eply\022\030\n\020client_timestamp\030\001 \001(\007\022\"\n\026latenc" + "y_datacenter_ids\030\002 \003(\007B\002\020\001\022\033\n\017latency_pi" + "ng_ms\030\003 \003(\rB\002\020\001\022&\n\032latency_datacenter_id" + "s_p2p\030\016 \003(\007B\002\020\001\022\037\n\023latency_ping_ms_p2p\030\017" + " \003(\rB\002\020\001\022\026\n\016your_public_ip\030\004 \001(\007\022\030\n\020your" + "_public_port\030\013 \001(\007\022\023\n\013server_time\030\005 \001(\007\022" + "\021\n\tchallenge\030\006 \001(\006\022\036\n\026seconds_until_shut" + "down\030\007 \001(\r\022\025\n\rclient_cookie\030\010 \001(\007\022\020\n\010rec" + "v_tos\030\020 \001(\r\022\025\n\recho_sent_tos\030\021 \001(\r\022\020\n\010se" + "nt_tos\030\022 \001(\r\022\036\n\026echo_request_reply_tos\030\023" + " \001(\r\022%\n\035scoring_penalty_relay_cluster\030\t " + "\001(\r\022\r\n\005flags\030\014 \001(\r\022J\n\020route_exceptions\030\n" + " \003(\01320.CMsgSteamDatagramRouterPingReply." + "RouteException\022C\n\ralt_addresses\030\r \003(\0132,." + "CMsgSteamDatagramRouterPingReply.AltAddr" + "ess\022\021\n\tdummy_pad\030c \001(\014\022\024\n\014dummy_varint\030d" + " \001(\004\032H\n\016RouteException\022\026\n\016data_center_id" + "\030\001 \001(\007\022\r\n\005flags\030\002 \001(\r\022\017\n\007penalty\030\003 \001(\r\032\300" + "\001\n\nAltAddress\022\014\n\004ipv4\030\001 \001(\007\022\014\n\004port\030\002 \001(" + "\r\022\017\n\007penalty\030\003 \001(\r\022X\n\010protocol\030\004 \001(\01625.C" + "MsgSteamDatagramRouterPingReply.AltAddre" + "ss.Protocol:\017DefaultProtocol\022\n\n\002id\030\005 \001(\t" + "\"\037\n\010Protocol\022\023\n\017DefaultProtocol\020\000\"L\n\005Fla" + "gs\022 \n\034FLAG_MAYBE_MORE_DATA_CENTERS\020\001\022!\n\035" + "FLAG_MAYBE_MORE_ALT_ADDRESSES\020\002\"\200\002\n*CMsg" + "SteamDatagramGameserverPingRequestBody\022\023" + "\n\013relay_popid\030\001 \001(\007\0225\n\016your_public_ip\030\002 " + "\001(\0132\035.CMsgSteamNetworkingIPAddress\022\030\n\020yo" + "ur_public_port\030\003 \001(\r\022\027\n\017relay_unix_time\030" + "\004 \001(\004\022\026\n\016routing_secret\030\005 \001(\006\022-\n\006my_ips\030" + "\006 \003(\0132\035.CMsgSteamNetworkingIPAddress\022\014\n\004" + "echo\030\010 \001(\014\"\272\002\n.CMsgSteamDatagramGameserv" + "erPingRequestEnvelope\0221\n\004cert\030\006 \001(\0132#.CM" + "sgSteamDatagramCertificateSigned\022\023\n\013sign" + "ed_data\030\007 \001(\014\022\021\n\tsignature\030\010 \001(\014\022\035\n\025lega" + "cy_your_public_ip\030\001 \001(\007\022\037\n\027legacy_your_p" + "ublic_port\030\005 \001(\007\022\036\n\026legacy_relay_unix_ti" + "me\030\002 \001(\007\022\030\n\020legacy_challenge\030\003 \001(\006\022\037\n\027le" + "gacy_router_timestamp\030\004 \001(\007\022\022\n\tdummy_pad" + "\030\377\007 \001(\014\"\255\002\n(CMsgSteamDatagramGameserverP" + "ingReplyData\022\034\n\024echo_relay_unix_time\030\002 \001" + "(\007\022\014\n\004echo\030\010 \001(\014\022\030\n\020legacy_challenge\030\003 \001" + "(\006\022\037\n\027legacy_router_timestamp\030\004 \001(\007\022\026\n\016d" + "ata_center_id\030\005 \001(\007\022\r\n\005appid\030\006 \001(\r\022\030\n\020pr" + "otocol_version\030\007 \001(\r\022\r\n\005build\030\t \001(\t\022\036\n\026n" + "etwork_config_version\030\n \001(\004\022\024\n\014my_unix_t" + "ime\030\013 \001(\007\022\024\n\014routing_blob\030\014 \001(\014\"\272\001\n\'CMsg" + "SteamDatagramNoSessionRelayToClient\022\025\n\rc" + "onnection_id\030\007 \001(\007\022\026\n\016your_public_ip\030\002 \001" + "(\007\022\030\n\020your_public_port\030\006 \001(\007\022\023\n\013server_t" + "ime\030\003 \001(\007\022\021\n\tchallenge\030\004 \001(\006\022\036\n\026seconds_" + "until_shutdown\030\005 \001(\r\"\227\001\n%CMsgSteamDatagr" + "amNoSessionRelayToPeer\022\037\n\027legacy_relay_s" + "ession_id\030\001 \001(\r\022\035\n\025from_relay_session_id" + "\030\002 \001(\007\022\032\n\022from_connection_id\030\007 \001(\007\022\022\n\nkl" + "udge_pad\030c \001(\006\"L\n\020CMsgTOSTreatment\022\022\n\nl4" + "s_detect\030\001 \001(\t\022\017\n\007up_ecn1\030\002 \001(\t\022\023\n\013down_" + "dscp45\030\003 \001(\t\"A\n(CMsgSteamDatagramClientP" + "ingSampleRequest\022\025\n\rconnection_id\030\001 \001(\007\"" + "\262\007\n&CMsgSteamDatagramClientPingSampleRep" + "ly\022\025\n\rconnection_id\030\001 \001(\007\022\035\n\025relay_overr" + "ide_active\030\005 \001(\010\022\036\n\003tos\030\006 \001(\0132\021.CMsgTOST" + "reatment\0229\n\004pops\030\002 \003(\0132+.CMsgSteamDatagr" + "amClientPingSampleReply.POP\022U\n\023legacy_da" + "ta_centers\030\003 \003(\01328.CMsgSteamDatagramClie" + "ntPingSampleReply.LegacyDataCenter\032\270\004\n\003P" + "OP\022\016\n\006pop_id\030\001 \001(\007\022\035\n\025default_front_ping" + "_ms\030\002 \001(\r\022\027\n\017cluster_penalty\030\004 \001(\r\022M\n\ral" + "t_addresses\030\007 \003(\01326.CMsgSteamDatagramCli" + "entPingSampleReply.POP.AltAddress\022\033\n\023def" + "ault_e2e_ping_ms\030\003 \001(\r\022\031\n\021default_e2e_sc" + "ore\030\005 \001(\r\022!\n\031p2p_via_peer_relay_pop_id\030\006" + " \001(\007\022\027\n\017best_dc_ping_ms\030\t \001(\r\022\025\n\rbest_dc" + "_score\030\n \001(\r\022 \n\030best_dc_via_relay_pop_id" + "\030\013 \001(\007\022\032\n\022default_dc_ping_ms\030\014 \001(\r\022\030\n\020de" + "fault_dc_score\030\r \001(\r\022#\n\033default_dc_via_r" + "elay_pop_id\030\016 \001(\007\022\027\n\017test_dc_ping_ms\030\017 \001" + "(\r\022\025\n\rtest_dc_score\030\020 \001(\r\022 \n\030test_dc_via" + "_relay_pop_id\030\021 \001(\007\032@\n\nAltAddress\022\n\n\002id\030" + "\001 \001(\t\022\025\n\rfront_ping_ms\030\002 \001(\r\022\017\n\007penalty\030" + "\003 \001(\r\032e\n\020LegacyDataCenter\022\026\n\016data_center" + "_id\030\001 \001(\007\022 \n\030best_dc_via_relay_pop_id\030\002 " + "\001(\007\022\027\n\017best_dc_ping_ms\030\003 \001(\r\"\216\005\n&CMsgSte" + "amDatagramClientSwitchedPrimary\022\025\n\rconne" + "ction_id\030\001 \001(\007\022\017\n\007from_ip\030\002 \001(\007\022\021\n\tfrom_" + "port\030\003 \001(\r\022\033\n\023from_router_cluster\030\004 \001(\007\022" + "\030\n\020from_active_time\030\005 \001(\r\022 \n\030from_active" + "_packets_recv\030\006 \001(\r\022\033\n\023from_dropped_reas" + "on\030\007 \001(\t\022\016\n\006gap_ms\030\010 \001(\r\022O\n\020from_quality" + "_now\030\t \001(\01325.CMsgSteamDatagramClientSwit" + "chedPrimary.RouterQuality\022M\n\016to_quality_" + "now\030\n \001(\01325.CMsgSteamDatagramClientSwitc" + "hedPrimary.RouterQuality\022P\n\021from_quality" + "_then\030\013 \001(\01325.CMsgSteamDatagramClientSwi" + "tchedPrimary.RouterQuality\022N\n\017to_quality" + "_then\030\014 \001(\01325.CMsgSteamDatagramClientSwi" + "tchedPrimary.RouterQuality\032a\n\rRouterQual" + "ity\022\r\n\005score\030\001 \001(\r\022\022\n\nfront_ping\030\002 \001(\r\022\021" + "\n\tback_ping\030\003 \001(\r\022\032\n\022seconds_until_down\030" + "\004 \001(\r\"\302\002\n\037CMsgSteamDatagramConnectReques" + "t\022\025\n\rconnection_id\030\001 \001(\007\022\024\n\014my_timestamp" + "\030\004 \001(\006\022\023\n\013ping_est_ms\030\005 \001(\r\022\024\n\014virtual_p" + "ort\030\t \001(\r\022#\n\033gameserver_relay_session_id" + "\030\002 \001(\r\0227\n\005crypt\030\006 \001(\0132(.CMsgSteamDatagra" + "mSessionCryptInfoSigned\0221\n\004cert\030\007 \001(\0132#." + "CMsgSteamDatagramCertificateSigned\022\026\n\016ro" + "uting_secret\030\n \001(\006\022\036\n\026legacy_client_stea" + "m_id\030\003 \001(\006\"\232\002\n\032CMsgSteamDatagramConnectO" + "K\022\034\n\024client_connection_id\030\001 \001(\007\022\034\n\024serve" + "r_connection_id\030\007 \001(\007\022\026\n\016your_timestamp\030" + "\003 \001(\006\022\027\n\017delay_time_usec\030\004 \001(\r\022#\n\033gamese" + "rver_relay_session_id\030\002 \001(\r\0227\n\005crypt\030\005 \001" + "(\0132(.CMsgSteamDatagramSessionCryptInfoSi" + "gned\0221\n\004cert\030\006 \001(\0132#.CMsgSteamDatagramCe" + "rtificateSigned\"\256\003\n\'CMsgSteamNetworkingP" + "2PSDRRoutingSummary\022\024\n\014initial_ping\030\001 \001(" + "\r\022 \n\030initial_ping_front_local\030\002 \001(\r\022!\n\031i" + "nitial_ping_front_remote\030\003 \001(\r\022\025\n\rinitia" + "l_score\030\004 \001(\r\022\031\n\021initial_pop_local\030\005 \001(\007" + "\022\032\n\022initial_pop_remote\030\006 \001(\007\022\021\n\tbest_pin" + "g\030\013 \001(\r\022\035\n\025best_ping_front_local\030\014 \001(\r\022\036" + "\n\026best_ping_front_remote\030\r \001(\r\022\022\n\nbest_s" + "core\030\016 \001(\r\022\026\n\016best_pop_local\030\017 \001(\007\022\027\n\017be" + "st_pop_remote\030\020 \001(\007\022\021\n\tbest_time\030\021 \001(\r\022\026" + "\n\016negotiation_ms\030\007 \001(\r\022\030\n\020selected_secon" + "ds\030\010 \001(\r\"\217\001\n\"CMsgSteamDatagramP2PRouting" + "Summary\0222\n\003ice\030\002 \001(\0132%.CMsgSteamNetworki" + "ngICESessionSummary\0225\n\003sdr\030\003 \001(\0132(.CMsgS" + "teamNetworkingP2PSDRRoutingSummary\"\351\006\n!C" + "MsgSteamDatagramConnectionClosed\022\030\n\020to_c" + "onnection_id\030\007 \001(\007\022\032\n\022from_connection_id" + "\030\010 \001(\007\022\034\n\024from_identity_string\030\017 \001(\t\022M\n\033" + "legacy_from_identity_binary\030\r \001(\0132(.CMsg" + "SteamNetworkingIdentityLegacyBinary\022\034\n\024l" + "egacy_from_steam_id\030\003 \001(\006\022*\n\"legacy_game" + "server_relay_session_id\030\002 \001(\r\022\033\n\023to_rela" + "y_session_id\030\t \001(\007\022\035\n\025from_relay_session" + "_id\030\n \001(\007\022*\n\"forward_target_relay_routin" + "g_token\030\013 \001(\014\022\037\n\027forward_target_revision" + "\030\014 \001(\r\022G\n\nrelay_mode\030\004 \001(\0162-.CMsgSteamDa" + "tagramConnectionClosed.ERelayMode:\004None\022" + "\r\n\005debug\030\005 \001(\t\022\023\n\013reason_code\030\006 \001(\r\022\026\n\016r" + "outing_secret\030\016 \001(\006\022\033\n\023not_primary_sessi" + "on\030\020 \001(\010\022\035\n\025not_primary_transport\030\023 \001(\010\022" + "\035\n\025relay_override_active\030\026 \001(\010\022:\n\rqualit" + "y_relay\030\021 \001(\0132#.CMsgSteamDatagramConnect" + "ionQuality\0228\n\013quality_e2e\030\022 \001(\0132#.CMsgSt" + "eamDatagramConnectionQuality\022@\n\023p2p_rout" + "ing_summary\030\025 \001(\0132#.CMsgSteamDatagramP2P" + "RoutingSummary\"6\n\nERelayMode\022\010\n\004None\020\000\022\014" + "\n\010EndToEnd\020\001\022\020\n\014ClosedByPeer\020\002\"\314\004\n\035CMsgS" + "teamDatagramNoConnection\022\030\n\020to_connectio" + "n_id\030\005 \001(\007\022\032\n\022from_connection_id\030\006 \001(\007\022*" + "\n\"legacy_gameserver_relay_session_id\030\002 \001" + "(\r\022\033\n\023to_relay_session_id\030\t \001(\007\022\035\n\025from_" + "relay_session_id\030\n \001(\007\022\034\n\024from_identity_" + "string\030\007 \001(\t\022\034\n\024legacy_from_steam_id\030\003 \001" + "(\006\022\022\n\nend_to_end\030\004 \001(\010\022\033\n\023not_primary_se" + "ssion\030\014 \001(\010\022\035\n\025not_primary_transport\030\017 \001" + "(\010\022\035\n\025relay_override_active\030\021 \001(\010\022:\n\rqua" + "lity_relay\030\r \001(\0132#.CMsgSteamDatagramConn" + "ectionQuality\0228\n\013quality_e2e\030\016 \001(\0132#.CMs" + "gSteamDatagramConnectionQuality\022@\n\023p2p_r" + "outing_summary\030\020 \001(\0132#.CMsgSteamDatagram" + "P2PRoutingSummary\022\026\n\016routing_secret\030\013 \001(" + "\006\022\022\n\tdummy_pad\030\377\007 \001(\007\"\334\002\n)CMsgSteamDatag" + "ramGameserverSessionRequest\022\016\n\006ticket\030\001 " + "\001(\014\022\026\n\016challenge_time\030\003 \001(\007\022\021\n\tchallenge" + "\030\004 \001(\006\022\034\n\024client_connection_id\030\005 \001(\007\022\034\n\024" + "server_connection_id\030\010 \001(\007\022\036\n\026network_co" + "nfig_version\030\006 \001(\004\022\030\n\020protocol_version\030\007" + " \001(\r\022\020\n\010platform\030\t \001(\t\022\r\n\005build\030\n \001(\t\022\037\n" + "\027dev_gameserver_identity\030d \001(\t\022<\n\017dev_cl" + "ient_cert\030e \001(\0132#.CMsgSteamDatagramCerti" + "ficateSigned\"\350\001\n-CMsgSteamDatagramGamese" + "rverSessionEstablished\022\025\n\rconnection_id\030" + "\001 \001(\007\022\"\n\032gameserver_identity_string\030\002 \001(" + "\t\022\036\n\026seconds_until_shutdown\030\004 \001(\r\022\023\n\013seq" + "_num_r2c\030\006 \001(\r\022$\n\034dummy_legacy_identity_" + "binary\030\007 \001(\014\022!\n\031legacy_gameserver_steami" + "d\030\003 \001(\006\"\255\003\n.CMsgSteamDatagramConnectionS" + "tatsClientToRouter\022:\n\rquality_relay\030\001 \001(" + "\0132#.CMsgSteamDatagramConnectionQuality\0228" + "\n\013quality_e2e\030\002 \001(\0132#.CMsgSteamDatagramC" + "onnectionQuality\022\021\n\tack_relay\030\004 \003(\007\022\026\n\016l" + "egacy_ack_e2e\030\005 \003(\007\022\r\n\005flags\030\006 \001(\r\022\034\n\024cl" + "ient_connection_id\030\010 \001(\007\022\023\n\013seq_num_c2r\030" + "\t \001(\r\022\023\n\013seq_num_e2e\030\n \001(\r\"\202\001\n\005Flags\022\025\n\021" + "ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002" + "\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\022\027\n\023NOT_PRIMA" + "RY_SESSION\020\010\022\031\n\025CLIENT_RELAY_OVERRIDE\020 \"" + "\371\003\n.CMsgSteamDatagramConnectionStatsRout" + "erToClient\022:\n\rquality_relay\030\001 \001(\0132#.CMsg" + "SteamDatagramConnectionQuality\0228\n\013qualit" + "y_e2e\030\002 \001(\0132#.CMsgSteamDatagramConnectio" + "nQuality\022\036\n\026seconds_until_shutdown\030\006 \001(\r" + "\022\032\n\022migrate_request_ip\030\n \001(\007\022\034\n\024migrate_" + "request_port\030\013 \001(\r\022%\n\035scoring_penalty_re" + "lay_cluster\030\014 \001(\r\022\021\n\tack_relay\030\r \003(\007\022\026\n\016" + "legacy_ack_e2e\030\016 \003(\007\022\r\n\005flags\030\017 \001(\r\022\034\n\024c" + "lient_connection_id\030\007 \001(\007\022\023\n\013seq_num_r2c" + "\030\010 \001(\r\022\023\n\013seq_num_e2e\030\t \001(\r\"N\n\005Flags\022\025\n\021" + "ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002" + "\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\"\210\004\n.CMsgStea" + "mDatagramConnectionStatsRouterToServer\022:" + "\n\rquality_relay\030\001 \001(\0132#.CMsgSteamDatagra" + "mConnectionQuality\0228\n\013quality_e2e\030\002 \001(\0132" + "#.CMsgSteamDatagramConnectionQuality\022\021\n\t" + "ack_relay\030\n \003(\007\022\026\n\016legacy_ack_e2e\030\013 \003(\007\022" + "\r\n\005flags\030\014 \001(\r\022\023\n\013seq_num_r2s\030\005 \001(\r\022\023\n\013s" + "eq_num_e2e\030\006 \001(\r\022\036\n\026client_identity_stri" + "ng\030\017 \001(\t\022\036\n\026legacy_client_steam_id\030\007 \001(\006" + "\022\030\n\020relay_session_id\030\010 \001(\r\022\034\n\024client_con" + "nection_id\030\t \001(\007\022\034\n\024server_connection_id" + "\030\r \001(\007\022\026\n\016routing_secret\030\016 \001(\006\"N\n\005Flags\022" + "\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2" + "E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\"\260\003\n.CMsgS" + "teamDatagramConnectionStatsServerToRoute" + "r\022:\n\rquality_relay\030\001 \001(\0132#.CMsgSteamData" + "gramConnectionQuality\0228\n\013quality_e2e\030\002 \001" + "(\0132#.CMsgSteamDatagramConnectionQuality\022" + "\021\n\tack_relay\030\010 \003(\007\022\026\n\016legacy_ack_e2e\030\t \003" + "(\007\022\r\n\005flags\030\n \001(\r\022\023\n\013seq_num_s2r\030\003 \001(\r\022\023" + "\n\013seq_num_e2e\030\004 \001(\r\022\030\n\020relay_session_id\030" + "\006 \001(\r\022\034\n\024client_connection_id\030\007 \001(\007\022\034\n\024s" + "erver_connection_id\030\013 \001(\007\"N\n\005Flags\022\025\n\021AC" + "K_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002\022\031" + "\n\025ACK_REQUEST_IMMEDIATE\020\004\"\305\003\n&CMsgSteamD" + "atagramP2PSessionRequestBody\022\026\n\016challeng" + "e_time\030\001 \001(\007\022\021\n\tchallenge\030\002 \001(\006\022\034\n\024clien" + "t_connection_id\030\003 \001(\007\022\034\n\024legacy_peer_ste" + "am_id\030\004 \001(\006\022\034\n\024peer_identity_string\030\013 \001(" + "\t\022\032\n\022peer_connection_id\030\005 \001(\007\022\026\n\016encrypt" + "ed_data\030\016 \001(\014\022,\n$encryption_your_public_" + "key_lead_byte\030\017 \001(\r\022*\n\"encryption_my_eph" + "emeral_public_key\030\020 \001(\014\022\030\n\020protocol_vers" + "ion\030\010 \001(\r\022\036\n\026network_config_version\030\t \001(" + "\004\022\020\n\010platform\030\014 \001(\t\022\r\n\005build\030\r \001(\t\032-\n\rEn" + "cryptedData\022\034\n\024peer_identity_string\030\001 \001(" + "\t\"x\n\"CMsgSteamDatagramP2PSessionRequest\022" + "1\n\004cert\030\001 \001(\0132#.CMsgSteamDatagramCertifi" + "cateSigned\022\014\n\004body\030\002 \001(\014\022\021\n\tsignature\030\003 " + "\001(\014\"\221\001\n&CMsgSteamDatagramP2PSessionEstab" + "lished\022\025\n\rconnection_id\030\001 \001(\007\022\036\n\026seconds" + "_until_shutdown\030\003 \001(\r\022\033\n\023relay_routing_t" + "oken\030\004 \001(\014\022\023\n\013seq_num_r2c\030\005 \001(\r\"\211\005\n1CMsg" + "SteamDatagramConnectionStatsP2PClientToR" + "outer\022:\n\rquality_relay\030\001 \001(\0132#.CMsgSteam" + "DatagramConnectionQuality\0228\n\013quality_e2e" + "\030\002 \001(\0132#.CMsgSteamDatagramConnectionQual" + "ity\022@\n\023p2p_routing_summary\030\016 \001(\0132#.CMsgS" + "teamDatagramP2PRoutingSummary\022\021\n\tack_rel" + "ay\030\003 \003(\007\022\026\n\016legacy_ack_e2e\030\004 \003(\007\022\r\n\005flag" + "s\030\005 \001(\r\022*\n\"forward_target_relay_routing_" + "token\030\006 \001(\014\022\037\n\027forward_target_revision\030\007" + " \001(\r\022\016\n\006routes\030\010 \001(\014\022 \n\030ack_peer_routes_" + "revision\030\t \001(\r\022\025\n\rconnection_id\030\n \001(\007\022\023\n" + "\013seq_num_c2r\030\013 \001(\r\022\023\n\013seq_num_e2e\030\014 \001(\r\"" + "\241\001\n\005Flags\022\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_" + "REQUEST_E2E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004" + "\022\027\n\023NOT_PRIMARY_SESSION\020\010\022\035\n\031NOT_PRIMARY" + "_TRANSPORT_E2E\020\020\022\031\n\025CLIENT_RELAY_OVERRID" + "E\020 \"\353\004\n1CMsgSteamDatagramConnectionStats" + "P2PRouterToClient\022:\n\rquality_relay\030\001 \001(\013" + "2#.CMsgSteamDatagramConnectionQuality\0228\n" + "\013quality_e2e\030\002 \001(\0132#.CMsgSteamDatagramCo" + "nnectionQuality\022\036\n\026seconds_until_shutdow" + "n\030\003 \001(\r\022\032\n\022migrate_request_ip\030\004 \001(\007\022\034\n\024m" + "igrate_request_port\030\005 \001(\r\022%\n\035scoring_pen" + "alty_relay_cluster\030\006 \001(\r\022\021\n\tack_relay\030\007 " + "\003(\007\022\026\n\016legacy_ack_e2e\030\010 \003(\007\022\r\n\005flags\030\t \001" + "(\r\022#\n\033ack_forward_target_revision\030\n \001(\r\022" + "\016\n\006routes\030\013 \001(\014\022 \n\030ack_peer_routes_revis" + "ion\030\014 \001(\r\022\025\n\rconnection_id\030\r \001(\007\022\023\n\013seq_" + "num_r2c\030\016 \001(\r\022\023\n\013seq_num_e2e\030\017 \001(\r\"m\n\005Fl" + "ags\022\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUES" + "T_E2E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\022\035\n\031NO" + "T_PRIMARY_TRANSPORT_E2E\020\020\"\240\001\n*CMsgSteamD" + "atagramP2PBadRouteRouterToClient\022\025\n\rconn" + "ection_id\030\001 \001(\007\022\"\n\032failed_relay_routing_" + "token\030\002 \001(\014\022#\n\033ack_forward_target_revisi" + "on\030\003 \001(\r\022\022\n\nkludge_pad\030c \001(\006\"\357\002\n\032CMsgSte" + "amDatagramP2PRoutes\022@\n\016relay_clusters\030\001 " + "\003(\0132(.CMsgSteamDatagramP2PRoutes.RelayCl" + "uster\0221\n\006routes\030\002 \003(\0132!.CMsgSteamDatagra" + "mP2PRoutes.Route\022\020\n\010revision\030\003 \001(\r\032k\n\014Re" + "layCluster\022\016\n\006pop_id\030\001 \001(\007\022\017\n\007ping_ms\030\002 " + "\001(\r\022\025\n\rscore_penalty\030\003 \001(\r\022#\n\033session_re" + "lay_routing_token\030\004 \001(\014\032]\n\005Route\022\021\n\tmy_p" + "op_id\030\001 \001(\007\022\023\n\013your_pop_id\030\002 \001(\007\022\024\n\014lega" + "cy_score\030\003 \001(\r\022\026\n\016interior_score\030\004 \001(\r\"\314" + "\001\n+CMsgSteamDatagramSetSecondaryAddressR" + "equest\022\026\n\016client_main_ip\030\001 \001(\007\022\030\n\020client" + "_main_port\030\002 \001(\007\022\034\n\024client_connection_id" + "\030\003 \001(\007\022\027\n\017client_identity\030\004 \001(\t\022 \n\030reque" + "st_send_duplication\030\005 \001(\010\022\022\n\nkludge_pad\030" + "c \001(\014\"N\n*CMsgSteamDatagramSetSecondaryAd" + "dressResult\022\017\n\007success\030\001 \001(\010\022\017\n\007message\030" + "\002 \001(\t*\340\013\n\023ESteamDatagramMsgID\022\037\n\033k_EStea" + "mDatagramMsg_Invalid\020\000\022)\n%k_ESteamDatagr" + "amMsg_RouterPingRequest\020\001\022\'\n#k_ESteamDat" + "agramMsg_RouterPingReply\020\002\022-\n)k_ESteamDa" + "tagramMsg_GameserverPingRequest\020\003\0220\n,k_E" + "SteamDatagramMsg_GameserverSessionReques" + "t\020\005\0224\n0k_ESteamDatagramMsg_GameserverSes" + "sionEstablished\020\006\022!\n\035k_ESteamDatagramMsg" + "_NoSession\020\007\022\"\n\036k_ESteamDatagramMsg_Diag" + "nostic\020\010\022*\n&k_ESteamDatagramMsg_DataClie" + "ntToRouter\020\t\022*\n&k_ESteamDatagramMsg_Data" + "RouterToServer\020\n\022*\n&k_ESteamDatagramMsg_" + "DataServerToRouter\020\013\022*\n&k_ESteamDatagram" + "Msg_DataRouterToClient\020\014\022\035\n\031k_ESteamData" + "gramMsg_Stats\020\r\022/\n+k_ESteamDatagramMsg_C" + "lientPingSampleRequest\020\016\022-\n)k_ESteamData" + "gramMsg_ClientPingSampleReply\020\017\0225\n1k_ESt" + "eamDatagramMsg_ClientToRouterSwitchedPri" + "mary\020\020\022#\n\037k_ESteamDatagramMsg_RelayHealt" + "h\020\021\022&\n\"k_ESteamDatagramMsg_ConnectReques" + "t\020\022\022!\n\035k_ESteamDatagramMsg_ConnectOK\020\023\022(" + "\n$k_ESteamDatagramMsg_ConnectionClosed\020\024" + "\022$\n k_ESteamDatagramMsg_NoConnection\020\025\022," + "\n(k_ESteamDatagramMsg_TicketDecryptReque" + "st\020\026\022*\n&k_ESteamDatagramMsg_TicketDecryp" + "tReply\020\027\022)\n%k_ESteamDatagramMsg_P2PSessi" + "onRequest\020\030\022-\n)k_ESteamDatagramMsg_P2PSe" + "ssionEstablished\020\031\022&\n\"k_ESteamDatagramMs" + "g_P2PStatsClient\020\032\022%\n!k_ESteamDatagramMs" + "g_P2PStatsRelay\020\033\022#\n\037k_ESteamDatagramMsg" + "_P2PBadRoute\020\034\022+\n\'k_ESteamDatagramMsg_Ga" + "meserverPingReply\020\035\0224\n0k_ESteamDatagramM" + "sg_LegacyGameserverRegistration\020\036\0222\n.k_E" + "SteamDatagramMsg_SetSecondaryAddressRequ" + "est\020\037\0221\n-k_ESteamDatagramMsg_SetSecondar" + "yAddressResult\020 \022/\n+k_ESteamDatagramMsg_" + "RelayToRelayPingRequest\020!\022-\n)k_ESteamDat" + "agramMsg_RelayToRelayPingReply\020\"B\005H\001\200\001\000" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_deps[2] = { + &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, + &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto = { + false, false, 13799, descriptor_table_protodef_steamdatagram_5fmessages_5fsdr_2eproto, + "steamdatagram_messages_sdr.proto", + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_deps, 2, 42, + schemas, file_default_instances, TableStruct_steamdatagram_5fmessages_5fsdr_2eproto::offsets, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto, file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto, + file_level_service_descriptors_steamdatagram_5fmessages_5fsdr_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter() { + return &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamdatagram_5fmessages_5fsdr_2eproto(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[0]; +} +bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(int value) { + switch (value) { + case 0: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::DefaultProtocol; +constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_MIN; +constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_MAX; +constexpr int CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[1]; +} +bool CMsgSteamDatagramRouterPingReply_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::FLAG_MAYBE_MORE_DATA_CENTERS; +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::FLAG_MAYBE_MORE_ALT_ADDRESSES; +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::Flags_MIN; +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::Flags_MAX; +constexpr int CMsgSteamDatagramRouterPingReply::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[2]; +} +bool CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::None; +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::EndToEnd; +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ClosedByPeer; +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ERelayMode_MIN; +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ERelayMode_MAX; +constexpr int CMsgSteamDatagramConnectionClosed::ERelayMode_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[3]; +} +bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 8: + case 32: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::NOT_PRIMARY_SESSION; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::CLIENT_RELAY_OVERRIDE; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsClientToRouter::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[4]; +} +bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsRouterToClient::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[5]; +} +bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsRouterToServer::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[6]; +} +bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsServerToRouter::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[7]; +} +bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 8: + case 16: + case 32: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::NOT_PRIMARY_SESSION; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::NOT_PRIMARY_TRANSPORT_E2E; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::CLIENT_RELAY_OVERRIDE; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[8]; +} +bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(int value) { + switch (value) { + case 1: + case 2: + case 4: + case 16: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_E2E; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::NOT_PRIMARY_TRANSPORT_E2E; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_MIN; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_MAX; +constexpr int CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamDatagramMsgID_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); + return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[9]; +} +bool ESteamDatagramMsgID_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgSteamNetworkingIPAddress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_v4(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_v6(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress(::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:CMsgSteamNetworkingIPAddress) +} +CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress(const CMsgSteamNetworkingIPAddress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingIPAddress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.v6_){} + , decltype(_impl_.v4_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.v6_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.v6_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_v6()) { + _this->_impl_.v6_.Set(from._internal_v6(), + _this->GetArenaForAllocation()); + } + _this->_impl_.v4_ = from._impl_.v4_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingIPAddress) +} + +inline void CMsgSteamNetworkingIPAddress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.v6_){} + , decltype(_impl_.v4_){0u} + }; + _impl_.v6_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.v6_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingIPAddress::~CMsgSteamNetworkingIPAddress() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingIPAddress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingIPAddress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.v6_.Destroy(); +} + +void CMsgSteamNetworkingIPAddress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingIPAddress::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingIPAddress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.v6_.ClearNonDefaultToEmpty(); + } + _impl_.v4_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingIPAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 v4 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_v4(&has_bits); + _impl_.v4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes v6 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_v6(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingIPAddress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingIPAddress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 v4 = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_v4(), target); + } + + // optional bytes v6 = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_v6(), 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:CMsgSteamNetworkingIPAddress) + return target; +} + +size_t CMsgSteamNetworkingIPAddress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingIPAddress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes v6 = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_v6()); + } + + // optional fixed32 v4 = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingIPAddress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingIPAddress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingIPAddress::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingIPAddress::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:CMsgSteamNetworkingIPAddress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_v6(from._internal_v6()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.v4_ = from._impl_.v4_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingIPAddress::CopyFrom(const CMsgSteamNetworkingIPAddress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingIPAddress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingIPAddress::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingIPAddress::InternalSwap(CMsgSteamNetworkingIPAddress* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.v6_, lhs_arena, + &other->_impl_.v6_, rhs_arena + ); + swap(_impl_.v4_, other->_impl_.v4_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingIPAddress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[0]); +} + +// =================================================================== + +class CMsgSteamDatagramSignedMessageGeneric::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramSignedMessageGeneric* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_signed_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_dummy_pad(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramSignedMessageGeneric::_Internal::cert(const CMsgSteamDatagramSignedMessageGeneric* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramSignedMessageGeneric::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric(::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:CMsgSteamDatagramSignedMessageGeneric) +} +CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric(const CMsgSteamDatagramSignedMessageGeneric& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSignedMessageGeneric* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.signed_data_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.cert_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.signed_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signed_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signed_data()) { + _this->_impl_.signed_data_.Set(from._internal_signed_data(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dummy_pad()) { + _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedMessageGeneric) +} + +inline void CMsgSteamDatagramSignedMessageGeneric::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.signed_data_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.cert_){nullptr} + }; + _impl_.signed_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signed_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSignedMessageGeneric::~CMsgSteamDatagramSignedMessageGeneric() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedMessageGeneric) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSignedMessageGeneric::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.signed_data_.Destroy(); + _impl_.signature_.Destroy(); + _impl_.dummy_pad_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramSignedMessageGeneric::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSignedMessageGeneric::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedMessageGeneric) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.signed_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.dummy_pad_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSignedMessageGeneric::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signed_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_signed_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes dummy_pad = 1023; + case 1023: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { + auto str = _internal_mutable_dummy_pad(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSignedMessageGeneric::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedMessageGeneric) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional bytes signed_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_signed_data(), target); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_signature(), target); + } + + // optional bytes dummy_pad = 1023; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 1023, this->_internal_dummy_pad(), 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:CMsgSteamDatagramSignedMessageGeneric) + return target; +} + +size_t CMsgSteamDatagramSignedMessageGeneric::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedMessageGeneric) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes signed_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signed_data()); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional bytes dummy_pad = 1023; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_dummy_pad()); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedMessageGeneric::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSignedMessageGeneric::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedMessageGeneric::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSignedMessageGeneric::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:CMsgSteamDatagramSignedMessageGeneric) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_signed_data(from._internal_signed_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_dummy_pad(from._internal_dummy_pad()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSignedMessageGeneric::CopyFrom(const CMsgSteamDatagramSignedMessageGeneric& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedMessageGeneric) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSignedMessageGeneric::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSignedMessageGeneric::InternalSwap(CMsgSteamDatagramSignedMessageGeneric* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signed_data_, lhs_arena, + &other->_impl_.signed_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dummy_pad_, lhs_arena, + &other->_impl_.dummy_pad_, rhs_arena + ); + swap(_impl_.cert_, other->_impl_.cert_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedMessageGeneric::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[1]); +} + +// =================================================================== + +class CMsgSteamDatagramRouterPingReply_RouteException::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data_center_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_penalty(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException(::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:CMsgSteamDatagramRouterPingReply.RouteException) +} +CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException(const CMsgSteamDatagramRouterPingReply_RouteException& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramRouterPingReply_RouteException* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.penalty_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, + static_cast(reinterpret_cast(&_impl_.penalty_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.penalty_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply.RouteException) +} + +inline void CMsgSteamDatagramRouterPingReply_RouteException::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.penalty_){0u} + }; +} + +CMsgSteamDatagramRouterPingReply_RouteException::~CMsgSteamDatagramRouterPingReply_RouteException() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply.RouteException) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramRouterPingReply_RouteException::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramRouterPingReply_RouteException::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramRouterPingReply_RouteException::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply.RouteException) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.data_center_id_, 0, static_cast( + reinterpret_cast(&_impl_.penalty_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.penalty_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramRouterPingReply_RouteException::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 data_center_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_data_center_id(&has_bits); + _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_penalty(&has_bits); + _impl_.penalty_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramRouterPingReply_RouteException::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply.RouteException) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); + } + + // optional uint32 flags = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_flags(), target); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), 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:CMsgSteamDatagramRouterPingReply.RouteException) + return target; +} + +size_t CMsgSteamDatagramRouterPingReply_RouteException::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply.RouteException) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional uint32 flags = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply_RouteException::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramRouterPingReply_RouteException::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply_RouteException::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramRouterPingReply_RouteException::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:CMsgSteamDatagramRouterPingReply.RouteException) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.data_center_id_ = from._impl_.data_center_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.penalty_ = from._impl_.penalty_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramRouterPingReply_RouteException::CopyFrom(const CMsgSteamDatagramRouterPingReply_RouteException& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply.RouteException) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramRouterPingReply_RouteException::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramRouterPingReply_RouteException::InternalSwap(CMsgSteamDatagramRouterPingReply_RouteException* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_RouteException, _impl_.penalty_) + + sizeof(CMsgSteamDatagramRouterPingReply_RouteException::_impl_.penalty_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_RouteException, _impl_.data_center_id_)>( + reinterpret_cast(&_impl_.data_center_id_), + reinterpret_cast(&other->_impl_.data_center_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply_RouteException::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[2]); +} + +// =================================================================== + +class CMsgSteamDatagramRouterPingReply_AltAddress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ipv4(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_port(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_penalty(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_protocol(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress(::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:CMsgSteamDatagramRouterPingReply.AltAddress) +} +CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress(const CMsgSteamDatagramRouterPingReply_AltAddress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramRouterPingReply_AltAddress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.ipv4_){} + , decltype(_impl_.port_){} + , decltype(_impl_.penalty_){} + , decltype(_impl_.protocol_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_id()) { + _this->_impl_.id_.Set(from._internal_id(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ipv4_, &from._impl_.ipv4_, + static_cast(reinterpret_cast(&_impl_.protocol_) - + reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply.AltAddress) +} + +inline void CMsgSteamDatagramRouterPingReply_AltAddress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.ipv4_){0u} + , decltype(_impl_.port_){0u} + , decltype(_impl_.penalty_){0u} + , decltype(_impl_.protocol_){0} + }; + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramRouterPingReply_AltAddress::~CMsgSteamDatagramRouterPingReply_AltAddress() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply.AltAddress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramRouterPingReply_AltAddress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.id_.Destroy(); +} + +void CMsgSteamDatagramRouterPingReply_AltAddress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramRouterPingReply_AltAddress::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply.AltAddress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.ipv4_, 0, static_cast( + reinterpret_cast(&_impl_.protocol_) - + reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramRouterPingReply_AltAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 ipv4 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_ipv4(&has_bits); + _impl_.ipv4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 port = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_port(&has_bits); + _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_penalty(&has_bits); + _impl_.penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(val))) { + _internal_set_protocol(static_cast<::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional string id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRouterPingReply.AltAddress.id"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramRouterPingReply_AltAddress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply.AltAddress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 ipv4 = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ipv4(), target); + } + + // optional uint32 port = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_port(), target); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), target); + } + + // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_protocol(), target); + } + + // optional string id = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramRouterPingReply.AltAddress.id"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_id(), 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:CMsgSteamDatagramRouterPingReply.AltAddress) + return target; +} + +size_t CMsgSteamDatagramRouterPingReply_AltAddress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply.AltAddress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string id = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // optional fixed32 ipv4 = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 port = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_port()); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); + } + + // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_protocol()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply_AltAddress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramRouterPingReply_AltAddress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply_AltAddress::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramRouterPingReply_AltAddress::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:CMsgSteamDatagramRouterPingReply.AltAddress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_id(from._internal_id()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ipv4_ = from._impl_.ipv4_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.port_ = from._impl_.port_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.penalty_ = from._impl_.penalty_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.protocol_ = from._impl_.protocol_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramRouterPingReply_AltAddress::CopyFrom(const CMsgSteamDatagramRouterPingReply_AltAddress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply.AltAddress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramRouterPingReply_AltAddress::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramRouterPingReply_AltAddress::InternalSwap(CMsgSteamDatagramRouterPingReply_AltAddress* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.id_, lhs_arena, + &other->_impl_.id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.protocol_) + + sizeof(CMsgSteamDatagramRouterPingReply_AltAddress::_impl_.protocol_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.ipv4_)>( + reinterpret_cast(&_impl_.ipv4_), + reinterpret_cast(&other->_impl_.ipv4_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply_AltAddress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[3]); +} + +// =================================================================== + +class CMsgSteamDatagramRouterPingReply::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_your_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_your_public_port(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_server_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_client_cookie(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_recv_tos(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_echo_sent_tos(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_sent_tos(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_echo_request_reply_tos(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_dummy_pad(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_dummy_varint(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } +}; + +CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply(::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:CMsgSteamDatagramRouterPingReply) +} +CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply(const CMsgSteamDatagramRouterPingReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramRouterPingReply* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.latency_datacenter_ids_){from._impl_.latency_datacenter_ids_} + , decltype(_impl_.latency_ping_ms_){from._impl_.latency_ping_ms_} + , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} + , decltype(_impl_.route_exceptions_){from._impl_.route_exceptions_} + , decltype(_impl_.alt_addresses_){from._impl_.alt_addresses_} + , decltype(_impl_.latency_datacenter_ids_p2p_){from._impl_.latency_datacenter_ids_p2p_} + , decltype(_impl_.latency_ping_ms_p2p_){from._impl_.latency_ping_ms_p2p_} + , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.client_timestamp_){} + , decltype(_impl_.your_public_ip_){} + , decltype(_impl_.challenge_){} + , decltype(_impl_.server_time_){} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.client_cookie_){} + , decltype(_impl_.scoring_penalty_relay_cluster_){} + , decltype(_impl_.your_public_port_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.recv_tos_){} + , decltype(_impl_.echo_sent_tos_){} + , decltype(_impl_.sent_tos_){} + , decltype(_impl_.echo_request_reply_tos_){} + , decltype(_impl_.dummy_varint_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dummy_pad()) { + _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.client_timestamp_, &from._impl_.client_timestamp_, + static_cast(reinterpret_cast(&_impl_.dummy_varint_) - + reinterpret_cast(&_impl_.client_timestamp_)) + sizeof(_impl_.dummy_varint_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply) +} + +inline void CMsgSteamDatagramRouterPingReply::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.latency_datacenter_ids_){arena} + , decltype(_impl_.latency_ping_ms_){arena} + , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} + , decltype(_impl_.route_exceptions_){arena} + , decltype(_impl_.alt_addresses_){arena} + , decltype(_impl_.latency_datacenter_ids_p2p_){arena} + , decltype(_impl_.latency_ping_ms_p2p_){arena} + , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.client_timestamp_){0u} + , decltype(_impl_.your_public_ip_){0u} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.server_time_){0u} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.client_cookie_){0u} + , decltype(_impl_.scoring_penalty_relay_cluster_){0u} + , decltype(_impl_.your_public_port_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.recv_tos_){0u} + , decltype(_impl_.echo_sent_tos_){0u} + , decltype(_impl_.sent_tos_){0u} + , decltype(_impl_.echo_request_reply_tos_){0u} + , decltype(_impl_.dummy_varint_){uint64_t{0u}} + }; + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramRouterPingReply::~CMsgSteamDatagramRouterPingReply() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramRouterPingReply::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.latency_datacenter_ids_.~RepeatedField(); + _impl_.latency_ping_ms_.~RepeatedField(); + _impl_.route_exceptions_.~RepeatedPtrField(); + _impl_.alt_addresses_.~RepeatedPtrField(); + _impl_.latency_datacenter_ids_p2p_.~RepeatedField(); + _impl_.latency_ping_ms_p2p_.~RepeatedField(); + _impl_.dummy_pad_.Destroy(); +} + +void CMsgSteamDatagramRouterPingReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramRouterPingReply::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.latency_datacenter_ids_.Clear(); + _impl_.latency_ping_ms_.Clear(); + _impl_.route_exceptions_.Clear(); + _impl_.alt_addresses_.Clear(); + _impl_.latency_datacenter_ids_p2p_.Clear(); + _impl_.latency_ping_ms_p2p_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.dummy_pad_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.client_timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.scoring_penalty_relay_cluster_) - + reinterpret_cast(&_impl_.client_timestamp_)) + sizeof(_impl_.scoring_penalty_relay_cluster_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.your_public_port_, 0, static_cast( + reinterpret_cast(&_impl_.dummy_varint_) - + reinterpret_cast(&_impl_.your_public_port_)) + sizeof(_impl_.dummy_varint_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramRouterPingReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 client_timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_client_timestamp(&has_bits); + _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_latency_datacenter_ids(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 21) { + _internal_add_latency_datacenter_ids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated uint32 latency_ping_ms = 3 [packed = true]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_latency_ping_ms(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 24) { + _internal_add_latency_ping_ms(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 your_public_ip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_your_public_ip(&has_bits); + _impl_.your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 server_time = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_server_time(&has_bits); + _impl_.server_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 49)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 client_cookie = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_client_cookie(&has_bits); + _impl_.client_cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 scoring_penalty_relay_cluster = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); + _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_route_exceptions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); + } else + goto handle_unusual; + continue; + // optional fixed32 your_public_port = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_your_public_port(&has_bits); + _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_alt_addresses(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_latency_datacenter_ids_p2p(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 117) { + _internal_add_latency_datacenter_ids_p2p(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_latency_ping_ms_p2p(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 120) { + _internal_add_latency_ping_ms_p2p(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 recv_tos = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_recv_tos(&has_bits); + _impl_.recv_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 echo_sent_tos = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_echo_sent_tos(&has_bits); + _impl_.echo_sent_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sent_tos = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_sent_tos(&has_bits); + _impl_.sent_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 echo_request_reply_tos = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_echo_request_reply_tos(&has_bits); + _impl_.echo_request_reply_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes dummy_pad = 99; + case 99: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_dummy_pad(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 dummy_varint = 100; + case 100: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_dummy_varint(&has_bits); + _impl_.dummy_varint_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramRouterPingReply::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 client_timestamp = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_timestamp(), target); + } + + // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; + if (this->_internal_latency_datacenter_ids_size() > 0) { + target = stream->WriteFixedPacked(2, _internal_latency_datacenter_ids(), target); + } + + // repeated uint32 latency_ping_ms = 3 [packed = true]; + { + int byte_size = _impl_._latency_ping_ms_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 3, _internal_latency_ping_ms(), byte_size, target); + } + } + + // optional fixed32 your_public_ip = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_your_public_ip(), target); + } + + // optional fixed32 server_time = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_server_time(), target); + } + + // optional fixed64 challenge = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(6, this->_internal_challenge(), target); + } + + // optional uint32 seconds_until_shutdown = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_seconds_until_shutdown(), target); + } + + // optional fixed32 client_cookie = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_client_cookie(), target); + } + + // optional uint32 scoring_penalty_relay_cluster = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_scoring_penalty_relay_cluster(), target); + } + + // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; + for (unsigned i = 0, + n = static_cast(this->_internal_route_exceptions_size()); i < n; i++) { + const auto& repfield = this->_internal_route_exceptions(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional fixed32 your_public_port = 11; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_your_public_port(), target); + } + + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), target); + } + + // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; + for (unsigned i = 0, + n = static_cast(this->_internal_alt_addresses_size()); i < n; i++) { + const auto& repfield = this->_internal_alt_addresses(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; + if (this->_internal_latency_datacenter_ids_p2p_size() > 0) { + target = stream->WriteFixedPacked(14, _internal_latency_datacenter_ids_p2p(), target); + } + + // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; + { + int byte_size = _impl_._latency_ping_ms_p2p_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 15, _internal_latency_ping_ms_p2p(), byte_size, target); + } + } + + // optional uint32 recv_tos = 16; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_recv_tos(), target); + } + + // optional uint32 echo_sent_tos = 17; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_echo_sent_tos(), target); + } + + // optional uint32 sent_tos = 18; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_sent_tos(), target); + } + + // optional uint32 echo_request_reply_tos = 19; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_echo_request_reply_tos(), target); + } + + // optional bytes dummy_pad = 99; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 99, this->_internal_dummy_pad(), target); + } + + // optional uint64 dummy_varint = 100; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(100, this->_internal_dummy_varint(), 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:CMsgSteamDatagramRouterPingReply) + return target; +} + +size_t CMsgSteamDatagramRouterPingReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply) + 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 fixed32 latency_datacenter_ids = 2 [packed = true]; + { + unsigned int count = static_cast(this->_internal_latency_datacenter_ids_size()); + size_t data_size = 4UL * count; + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + total_size += data_size; + } + + // repeated uint32 latency_ping_ms = 3 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.latency_ping_ms_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._latency_ping_ms_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; + total_size += 1UL * this->_internal_route_exceptions_size(); + for (const auto& msg : this->_impl_.route_exceptions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; + total_size += 1UL * this->_internal_alt_addresses_size(); + for (const auto& msg : this->_impl_.alt_addresses_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; + { + unsigned int count = static_cast(this->_internal_latency_datacenter_ids_p2p_size()); + size_t data_size = 4UL * count; + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + total_size += data_size; + } + + // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.latency_ping_ms_p2p_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._latency_ping_ms_p2p_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes dummy_pad = 99; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_dummy_pad()); + } + + // optional fixed32 client_timestamp = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional fixed32 your_public_ip = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional fixed64 challenge = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + // optional fixed32 server_time = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 seconds_until_shutdown = 7; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional fixed32 client_cookie = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 scoring_penalty_relay_cluster = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional fixed32 your_public_port = 11; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 recv_tos = 16; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_recv_tos()); + } + + // optional uint32 echo_sent_tos = 17; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_echo_sent_tos()); + } + + // optional uint32 sent_tos = 18; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_sent_tos()); + } + + // optional uint32 echo_request_reply_tos = 19; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_echo_request_reply_tos()); + } + + // optional uint64 dummy_varint = 100; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_dummy_varint()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramRouterPingReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramRouterPingReply::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:CMsgSteamDatagramRouterPingReply) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.latency_datacenter_ids_.MergeFrom(from._impl_.latency_datacenter_ids_); + _this->_impl_.latency_ping_ms_.MergeFrom(from._impl_.latency_ping_ms_); + _this->_impl_.route_exceptions_.MergeFrom(from._impl_.route_exceptions_); + _this->_impl_.alt_addresses_.MergeFrom(from._impl_.alt_addresses_); + _this->_impl_.latency_datacenter_ids_p2p_.MergeFrom(from._impl_.latency_datacenter_ids_p2p_); + _this->_impl_.latency_ping_ms_p2p_.MergeFrom(from._impl_.latency_ping_ms_p2p_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_dummy_pad(from._internal_dummy_pad()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.your_public_ip_ = from._impl_.your_public_ip_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.server_time_ = from._impl_.server_time_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.client_cookie_ = from._impl_.client_cookie_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.your_public_port_ = from._impl_.your_public_port_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.recv_tos_ = from._impl_.recv_tos_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.echo_sent_tos_ = from._impl_.echo_sent_tos_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.sent_tos_ = from._impl_.sent_tos_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.echo_request_reply_tos_ = from._impl_.echo_request_reply_tos_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.dummy_varint_ = from._impl_.dummy_varint_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramRouterPingReply::CopyFrom(const CMsgSteamDatagramRouterPingReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramRouterPingReply::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramRouterPingReply::InternalSwap(CMsgSteamDatagramRouterPingReply* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.latency_datacenter_ids_.InternalSwap(&other->_impl_.latency_datacenter_ids_); + _impl_.latency_ping_ms_.InternalSwap(&other->_impl_.latency_ping_ms_); + _impl_.route_exceptions_.InternalSwap(&other->_impl_.route_exceptions_); + _impl_.alt_addresses_.InternalSwap(&other->_impl_.alt_addresses_); + _impl_.latency_datacenter_ids_p2p_.InternalSwap(&other->_impl_.latency_datacenter_ids_p2p_); + _impl_.latency_ping_ms_p2p_.InternalSwap(&other->_impl_.latency_ping_ms_p2p_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dummy_pad_, lhs_arena, + &other->_impl_.dummy_pad_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply, _impl_.dummy_varint_) + + sizeof(CMsgSteamDatagramRouterPingReply::_impl_.dummy_varint_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply, _impl_.client_timestamp_)>( + reinterpret_cast(&_impl_.client_timestamp_), + reinterpret_cast(&other->_impl_.client_timestamp_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[4]); +} + +// =================================================================== + +class CMsgSteamDatagramGameserverPingRequestBody::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_relay_popid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamNetworkingIPAddress& your_public_ip(const CMsgSteamDatagramGameserverPingRequestBody* msg); + static void set_has_your_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_your_public_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_relay_unix_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_echo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSteamNetworkingIPAddress& +CMsgSteamDatagramGameserverPingRequestBody::_Internal::your_public_ip(const CMsgSteamDatagramGameserverPingRequestBody* msg) { + return *msg->_impl_.your_public_ip_; +} +CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody(::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:CMsgSteamDatagramGameserverPingRequestBody) +} +CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody(const CMsgSteamDatagramGameserverPingRequestBody& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameserverPingRequestBody* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_ips_){from._impl_.my_ips_} + , decltype(_impl_.echo_){} + , decltype(_impl_.your_public_ip_){nullptr} + , decltype(_impl_.relay_popid_){} + , decltype(_impl_.your_public_port_){} + , decltype(_impl_.relay_unix_time_){} + , decltype(_impl_.routing_secret_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.echo_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.echo_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_echo()) { + _this->_impl_.echo_.Set(from._internal_echo(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_your_public_ip()) { + _this->_impl_.your_public_ip_ = new ::CMsgSteamNetworkingIPAddress(*from._impl_.your_public_ip_); + } + ::memcpy(&_impl_.relay_popid_, &from._impl_.relay_popid_, + static_cast(reinterpret_cast(&_impl_.routing_secret_) - + reinterpret_cast(&_impl_.relay_popid_)) + sizeof(_impl_.routing_secret_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingRequestBody) +} + +inline void CMsgSteamDatagramGameserverPingRequestBody::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_ips_){arena} + , decltype(_impl_.echo_){} + , decltype(_impl_.your_public_ip_){nullptr} + , decltype(_impl_.relay_popid_){0u} + , decltype(_impl_.your_public_port_){0u} + , decltype(_impl_.relay_unix_time_){uint64_t{0u}} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + }; + _impl_.echo_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.echo_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameserverPingRequestBody::~CMsgSteamDatagramGameserverPingRequestBody() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingRequestBody) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameserverPingRequestBody::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.my_ips_.~RepeatedPtrField(); + _impl_.echo_.Destroy(); + if (this != internal_default_instance()) delete _impl_.your_public_ip_; +} + +void CMsgSteamDatagramGameserverPingRequestBody::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameserverPingRequestBody::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingRequestBody) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.my_ips_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.echo_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.your_public_ip_ != nullptr); + _impl_.your_public_ip_->Clear(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.relay_popid_, 0, static_cast( + reinterpret_cast(&_impl_.routing_secret_) - + reinterpret_cast(&_impl_.relay_popid_)) + sizeof(_impl_.routing_secret_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameserverPingRequestBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 relay_popid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_relay_popid(&has_bits); + _impl_.relay_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_your_public_ip(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 your_public_port = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_your_public_port(&has_bits); + _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 relay_unix_time = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_relay_unix_time(&has_bits); + _impl_.relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_my_ips(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional bytes echo = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_echo(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameserverPingRequestBody::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingRequestBody) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 relay_popid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_relay_popid(), target); + } + + // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::your_public_ip(this), + _Internal::your_public_ip(this).GetCachedSize(), target, stream); + } + + // optional uint32 your_public_port = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_your_public_port(), target); + } + + // optional uint64 relay_unix_time = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_relay_unix_time(), target); + } + + // optional fixed64 routing_secret = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_routing_secret(), target); + } + + // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_my_ips_size()); i < n; i++) { + const auto& repfield = this->_internal_my_ips(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bytes echo = 8; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_echo(), 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:CMsgSteamDatagramGameserverPingRequestBody) + return target; +} + +size_t CMsgSteamDatagramGameserverPingRequestBody::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingRequestBody) + 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 .CMsgSteamNetworkingIPAddress my_ips = 6; + total_size += 1UL * this->_internal_my_ips_size(); + for (const auto& msg : this->_impl_.my_ips_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional bytes echo = 8; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_echo()); + } + + // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.your_public_ip_); + } + + // optional fixed32 relay_popid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 your_public_port = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_your_public_port()); + } + + // optional uint64 relay_unix_time = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_relay_unix_time()); + } + + // optional fixed64 routing_secret = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingRequestBody::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameserverPingRequestBody::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingRequestBody::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameserverPingRequestBody::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:CMsgSteamDatagramGameserverPingRequestBody) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.my_ips_.MergeFrom(from._impl_.my_ips_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_echo(from._internal_echo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_your_public_ip()->::CMsgSteamNetworkingIPAddress::MergeFrom( + from._internal_your_public_ip()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.relay_popid_ = from._impl_.relay_popid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.your_public_port_ = from._impl_.your_public_port_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.relay_unix_time_ = from._impl_.relay_unix_time_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.routing_secret_ = from._impl_.routing_secret_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameserverPingRequestBody::CopyFrom(const CMsgSteamDatagramGameserverPingRequestBody& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingRequestBody) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameserverPingRequestBody::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameserverPingRequestBody::InternalSwap(CMsgSteamDatagramGameserverPingRequestBody* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.my_ips_.InternalSwap(&other->_impl_.my_ips_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.echo_, lhs_arena, + &other->_impl_.echo_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestBody, _impl_.routing_secret_) + + sizeof(CMsgSteamDatagramGameserverPingRequestBody::_impl_.routing_secret_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_ip_)>( + reinterpret_cast(&_impl_.your_public_ip_), + reinterpret_cast(&other->_impl_.your_public_ip_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingRequestBody::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[5]); +} + +// =================================================================== + +class CMsgSteamDatagramGameserverPingRequestEnvelope::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramGameserverPingRequestEnvelope* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_signed_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_your_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_legacy_your_public_port(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_legacy_relay_unix_time(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_legacy_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_legacy_router_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_dummy_pad(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramGameserverPingRequestEnvelope::_Internal::cert(const CMsgSteamDatagramGameserverPingRequestEnvelope* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope(::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:CMsgSteamDatagramGameserverPingRequestEnvelope) +} +CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameserverPingRequestEnvelope* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.signed_data_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.legacy_your_public_ip_){} + , decltype(_impl_.legacy_relay_unix_time_){} + , decltype(_impl_.legacy_challenge_){} + , decltype(_impl_.legacy_router_timestamp_){} + , decltype(_impl_.legacy_your_public_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.signed_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signed_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signed_data()) { + _this->_impl_.signed_data_.Set(from._internal_signed_data(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dummy_pad()) { + _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + ::memcpy(&_impl_.legacy_your_public_ip_, &from._impl_.legacy_your_public_ip_, + static_cast(reinterpret_cast(&_impl_.legacy_your_public_port_) - + reinterpret_cast(&_impl_.legacy_your_public_ip_)) + sizeof(_impl_.legacy_your_public_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingRequestEnvelope) +} + +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.signed_data_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.dummy_pad_){} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.legacy_your_public_ip_){0u} + , decltype(_impl_.legacy_relay_unix_time_){0u} + , decltype(_impl_.legacy_challenge_){uint64_t{0u}} + , decltype(_impl_.legacy_router_timestamp_){0u} + , decltype(_impl_.legacy_your_public_port_){0u} + }; + _impl_.signed_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signed_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameserverPingRequestEnvelope::~CMsgSteamDatagramGameserverPingRequestEnvelope() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingRequestEnvelope) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.signed_data_.Destroy(); + _impl_.signature_.Destroy(); + _impl_.dummy_pad_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramGameserverPingRequestEnvelope::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameserverPingRequestEnvelope::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingRequestEnvelope) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.signed_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.dummy_pad_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.legacy_your_public_ip_, 0, static_cast( + reinterpret_cast(&_impl_.legacy_router_timestamp_) - + reinterpret_cast(&_impl_.legacy_your_public_ip_)) + sizeof(_impl_.legacy_router_timestamp_)); + } + _impl_.legacy_your_public_port_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameserverPingRequestEnvelope::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 legacy_your_public_ip = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_legacy_your_public_ip(&has_bits); + _impl_.legacy_your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 legacy_relay_unix_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_legacy_relay_unix_time(&has_bits); + _impl_.legacy_relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_challenge = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_challenge(&has_bits); + _impl_.legacy_challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 legacy_router_timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_legacy_router_timestamp(&has_bits); + _impl_.legacy_router_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 legacy_your_public_port = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_legacy_your_public_port(&has_bits); + _impl_.legacy_your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signed_data = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_signed_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes dummy_pad = 1023; + case 1023: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { + auto str = _internal_mutable_dummy_pad(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameserverPingRequestEnvelope::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingRequestEnvelope) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 legacy_your_public_ip = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_legacy_your_public_ip(), target); + } + + // optional fixed32 legacy_relay_unix_time = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_legacy_relay_unix_time(), target); + } + + // optional fixed64 legacy_challenge = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_challenge(), target); + } + + // optional fixed32 legacy_router_timestamp = 4; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_router_timestamp(), target); + } + + // optional fixed32 legacy_your_public_port = 5; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_legacy_your_public_port(), target); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional bytes signed_data = 7; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 7, this->_internal_signed_data(), target); + } + + // optional bytes signature = 8; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_signature(), target); + } + + // optional bytes dummy_pad = 1023; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 1023, this->_internal_dummy_pad(), 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:CMsgSteamDatagramGameserverPingRequestEnvelope) + return target; +} + +size_t CMsgSteamDatagramGameserverPingRequestEnvelope::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingRequestEnvelope) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes signed_data = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signed_data()); + } + + // optional bytes signature = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional bytes dummy_pad = 1023; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_dummy_pad()); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional fixed32 legacy_your_public_ip = 1; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 legacy_relay_unix_time = 2; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional fixed64 legacy_challenge = 3; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 8; + } + + // optional fixed32 legacy_router_timestamp = 4; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + // optional fixed32 legacy_your_public_port = 5; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingRequestEnvelope::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameserverPingRequestEnvelope::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingRequestEnvelope::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameserverPingRequestEnvelope::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:CMsgSteamDatagramGameserverPingRequestEnvelope) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_signed_data(from._internal_signed_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_dummy_pad(from._internal_dummy_pad()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_your_public_ip_ = from._impl_.legacy_your_public_ip_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_relay_unix_time_ = from._impl_.legacy_relay_unix_time_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.legacy_challenge_ = from._impl_.legacy_challenge_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.legacy_router_timestamp_ = from._impl_.legacy_router_timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_legacy_your_public_port(from._internal_legacy_your_public_port()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameserverPingRequestEnvelope::CopyFrom(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingRequestEnvelope) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameserverPingRequestEnvelope::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameserverPingRequestEnvelope::InternalSwap(CMsgSteamDatagramGameserverPingRequestEnvelope* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signed_data_, lhs_arena, + &other->_impl_.signed_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dummy_pad_, lhs_arena, + &other->_impl_.dummy_pad_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_port_) + + sizeof(CMsgSteamDatagramGameserverPingRequestEnvelope::_impl_.legacy_your_public_port_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.cert_)>( + reinterpret_cast(&_impl_.cert_), + reinterpret_cast(&other->_impl_.cert_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingRequestEnvelope::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[6]); +} + +// =================================================================== + +class CMsgSteamDatagramGameserverPingReplyData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_echo_relay_unix_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_echo(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_legacy_router_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_data_center_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_build(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_network_config_version(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_my_unix_time(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_routing_blob(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData(::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:CMsgSteamDatagramGameserverPingReplyData) +} +CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData(const CMsgSteamDatagramGameserverPingReplyData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameserverPingReplyData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.echo_){} + , decltype(_impl_.build_){} + , decltype(_impl_.routing_blob_){} + , decltype(_impl_.legacy_challenge_){} + , decltype(_impl_.echo_relay_unix_time_){} + , decltype(_impl_.legacy_router_timestamp_){} + , decltype(_impl_.data_center_id_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.my_unix_time_){} + , decltype(_impl_.network_config_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.echo_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.echo_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_echo()) { + _this->_impl_.echo_.Set(from._internal_echo(), + _this->GetArenaForAllocation()); + } + _impl_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_build()) { + _this->_impl_.build_.Set(from._internal_build(), + _this->GetArenaForAllocation()); + } + _impl_.routing_blob_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routing_blob_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_routing_blob()) { + _this->_impl_.routing_blob_.Set(from._internal_routing_blob(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.legacy_challenge_, &from._impl_.legacy_challenge_, + static_cast(reinterpret_cast(&_impl_.network_config_version_) - + reinterpret_cast(&_impl_.legacy_challenge_)) + sizeof(_impl_.network_config_version_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingReplyData) +} + +inline void CMsgSteamDatagramGameserverPingReplyData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.echo_){} + , decltype(_impl_.build_){} + , decltype(_impl_.routing_blob_){} + , decltype(_impl_.legacy_challenge_){uint64_t{0u}} + , decltype(_impl_.echo_relay_unix_time_){0u} + , decltype(_impl_.legacy_router_timestamp_){0u} + , decltype(_impl_.data_center_id_){0u} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.my_unix_time_){0u} + , decltype(_impl_.network_config_version_){uint64_t{0u}} + }; + _impl_.echo_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.echo_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routing_blob_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routing_blob_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameserverPingReplyData::~CMsgSteamDatagramGameserverPingReplyData() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingReplyData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameserverPingReplyData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.echo_.Destroy(); + _impl_.build_.Destroy(); + _impl_.routing_blob_.Destroy(); +} + +void CMsgSteamDatagramGameserverPingReplyData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameserverPingReplyData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingReplyData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.echo_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.build_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.routing_blob_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.legacy_challenge_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.legacy_challenge_)) + sizeof(_impl_.appid_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.protocol_version_, 0, static_cast( + reinterpret_cast(&_impl_.network_config_version_) - + reinterpret_cast(&_impl_.protocol_version_)) + sizeof(_impl_.network_config_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameserverPingReplyData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 echo_relay_unix_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_echo_relay_unix_time(&has_bits); + _impl_.echo_relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_challenge = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_challenge(&has_bits); + _impl_.legacy_challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 legacy_router_timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_legacy_router_timestamp(&has_bits); + _impl_.legacy_router_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 data_center_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_data_center_id(&has_bits); + _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes echo = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_echo(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string build = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_build(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverPingReplyData.build"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 network_config_version = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_network_config_version(&has_bits); + _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 my_unix_time = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_my_unix_time(&has_bits); + _impl_.my_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes routing_blob = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_routing_blob(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameserverPingReplyData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingReplyData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 echo_relay_unix_time = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_echo_relay_unix_time(), target); + } + + // optional fixed64 legacy_challenge = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_challenge(), target); + } + + // optional fixed32 legacy_router_timestamp = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_router_timestamp(), target); + } + + // optional fixed32 data_center_id = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_data_center_id(), target); + } + + // optional uint32 appid = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_appid(), target); + } + + // optional uint32 protocol_version = 7; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_protocol_version(), target); + } + + // optional bytes echo = 8; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_echo(), target); + } + + // optional string build = 9; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_build().data(), static_cast(this->_internal_build().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameserverPingReplyData.build"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_build(), target); + } + + // optional uint64 network_config_version = 10; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_network_config_version(), target); + } + + // optional fixed32 my_unix_time = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_my_unix_time(), target); + } + + // optional bytes routing_blob = 12; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 12, this->_internal_routing_blob(), 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:CMsgSteamDatagramGameserverPingReplyData) + return target; +} + +size_t CMsgSteamDatagramGameserverPingReplyData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingReplyData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes echo = 8; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_echo()); + } + + // optional string build = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_build()); + } + + // optional bytes routing_blob = 12; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_routing_blob()); + } + + // optional fixed64 legacy_challenge = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + // optional fixed32 echo_relay_unix_time = 2; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 legacy_router_timestamp = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional fixed32 data_center_id = 5; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 appid = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + if (cached_has_bits & 0x00000700u) { + // optional uint32 protocol_version = 7; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional fixed32 my_unix_time = 11; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional uint64 network_config_version = 10; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingReplyData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameserverPingReplyData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingReplyData::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameserverPingReplyData::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:CMsgSteamDatagramGameserverPingReplyData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_echo(from._internal_echo()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_build(from._internal_build()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_routing_blob(from._internal_routing_blob()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.legacy_challenge_ = from._impl_.legacy_challenge_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.echo_relay_unix_time_ = from._impl_.echo_relay_unix_time_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_router_timestamp_ = from._impl_.legacy_router_timestamp_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.data_center_id_ = from._impl_.data_center_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.my_unix_time_ = from._impl_.my_unix_time_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.network_config_version_ = from._impl_.network_config_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameserverPingReplyData::CopyFrom(const CMsgSteamDatagramGameserverPingReplyData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingReplyData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameserverPingReplyData::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameserverPingReplyData::InternalSwap(CMsgSteamDatagramGameserverPingReplyData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.echo_, lhs_arena, + &other->_impl_.echo_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.build_, lhs_arena, + &other->_impl_.build_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.routing_blob_, lhs_arena, + &other->_impl_.routing_blob_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingReplyData, _impl_.network_config_version_) + + sizeof(CMsgSteamDatagramGameserverPingReplyData::_impl_.network_config_version_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_challenge_)>( + reinterpret_cast(&_impl_.legacy_challenge_), + reinterpret_cast(&other->_impl_.legacy_challenge_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingReplyData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[7]); +} + +// =================================================================== + +class CMsgSteamDatagramNoSessionRelayToClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_your_public_ip(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_your_public_port(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_server_time(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient(::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:CMsgSteamDatagramNoSessionRelayToClient) +} +CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient(const CMsgSteamDatagramNoSessionRelayToClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramNoSessionRelayToClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.your_public_ip_){} + , decltype(_impl_.server_time_){} + , decltype(_impl_.challenge_){} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.your_public_port_){} + , decltype(_impl_.connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.your_public_ip_, &from._impl_.your_public_ip_, + static_cast(reinterpret_cast(&_impl_.connection_id_) - + reinterpret_cast(&_impl_.your_public_ip_)) + sizeof(_impl_.connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoSessionRelayToClient) +} + +inline void CMsgSteamDatagramNoSessionRelayToClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.your_public_ip_){0u} + , decltype(_impl_.server_time_){0u} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.your_public_port_){0u} + , decltype(_impl_.connection_id_){0u} + }; +} + +CMsgSteamDatagramNoSessionRelayToClient::~CMsgSteamDatagramNoSessionRelayToClient() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoSessionRelayToClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramNoSessionRelayToClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramNoSessionRelayToClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramNoSessionRelayToClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoSessionRelayToClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.your_public_ip_, 0, static_cast( + reinterpret_cast(&_impl_.connection_id_) - + reinterpret_cast(&_impl_.your_public_ip_)) + sizeof(_impl_.connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramNoSessionRelayToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 your_public_ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_your_public_ip(&has_bits); + _impl_.your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 server_time = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_server_time(&has_bits); + _impl_.server_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 your_public_port = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_your_public_port(&has_bits); + _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramNoSessionRelayToClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoSessionRelayToClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 your_public_ip = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_your_public_ip(), target); + } + + // optional fixed32 server_time = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_server_time(), target); + } + + // optional fixed64 challenge = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_challenge(), target); + } + + // optional uint32 seconds_until_shutdown = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds_until_shutdown(), target); + } + + // optional fixed32 your_public_port = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_your_public_port(), target); + } + + // optional fixed32 connection_id = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_connection_id(), 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:CMsgSteamDatagramNoSessionRelayToClient) + return target; +} + +size_t CMsgSteamDatagramNoSessionRelayToClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoSessionRelayToClient) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional fixed32 your_public_ip = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional fixed32 server_time = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional fixed64 challenge = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional uint32 seconds_until_shutdown = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional fixed32 your_public_port = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 connection_id = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoSessionRelayToClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramNoSessionRelayToClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoSessionRelayToClient::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramNoSessionRelayToClient::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:CMsgSteamDatagramNoSessionRelayToClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.your_public_ip_ = from._impl_.your_public_ip_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.server_time_ = from._impl_.server_time_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.your_public_port_ = from._impl_.your_public_port_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramNoSessionRelayToClient::CopyFrom(const CMsgSteamDatagramNoSessionRelayToClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoSessionRelayToClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramNoSessionRelayToClient::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramNoSessionRelayToClient::InternalSwap(CMsgSteamDatagramNoSessionRelayToClient* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToClient, _impl_.connection_id_) + + sizeof(CMsgSteamDatagramNoSessionRelayToClient::_impl_.connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_ip_)>( + reinterpret_cast(&_impl_.your_public_ip_), + reinterpret_cast(&other->_impl_.your_public_ip_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoSessionRelayToClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[8]); +} + +// =================================================================== + +class CMsgSteamDatagramNoSessionRelayToPeer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_legacy_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_from_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_kludge_pad(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer(::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:CMsgSteamDatagramNoSessionRelayToPeer) +} +CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer(const CMsgSteamDatagramNoSessionRelayToPeer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramNoSessionRelayToPeer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.legacy_relay_session_id_){} + , decltype(_impl_.from_relay_session_id_){} + , decltype(_impl_.kludge_pad_){} + , decltype(_impl_.from_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.legacy_relay_session_id_, &from._impl_.legacy_relay_session_id_, + static_cast(reinterpret_cast(&_impl_.from_connection_id_) - + reinterpret_cast(&_impl_.legacy_relay_session_id_)) + sizeof(_impl_.from_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoSessionRelayToPeer) +} + +inline void CMsgSteamDatagramNoSessionRelayToPeer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.legacy_relay_session_id_){0u} + , decltype(_impl_.from_relay_session_id_){0u} + , decltype(_impl_.kludge_pad_){uint64_t{0u}} + , decltype(_impl_.from_connection_id_){0u} + }; +} + +CMsgSteamDatagramNoSessionRelayToPeer::~CMsgSteamDatagramNoSessionRelayToPeer() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoSessionRelayToPeer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramNoSessionRelayToPeer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramNoSessionRelayToPeer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramNoSessionRelayToPeer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoSessionRelayToPeer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.legacy_relay_session_id_, 0, static_cast( + reinterpret_cast(&_impl_.from_connection_id_) - + reinterpret_cast(&_impl_.legacy_relay_session_id_)) + sizeof(_impl_.from_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramNoSessionRelayToPeer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 legacy_relay_session_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_legacy_relay_session_id(&has_bits); + _impl_.legacy_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 from_relay_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_from_relay_session_id(&has_bits); + _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 kludge_pad = 99; + case 99: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_kludge_pad(&has_bits); + _impl_.kludge_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramNoSessionRelayToPeer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoSessionRelayToPeer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 legacy_relay_session_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_legacy_relay_session_id(), target); + } + + // optional fixed32 from_relay_session_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_relay_session_id(), target); + } + + // optional fixed32 from_connection_id = 7; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_from_connection_id(), target); + } + + // optional fixed64 kludge_pad = 99; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_kludge_pad(), 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:CMsgSteamDatagramNoSessionRelayToPeer) + return target; +} + +size_t CMsgSteamDatagramNoSessionRelayToPeer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoSessionRelayToPeer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 legacy_relay_session_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_relay_session_id()); + } + + // optional fixed32 from_relay_session_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional fixed64 kludge_pad = 99; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + 8; + } + + // optional fixed32 from_connection_id = 7; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoSessionRelayToPeer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramNoSessionRelayToPeer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoSessionRelayToPeer::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramNoSessionRelayToPeer::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:CMsgSteamDatagramNoSessionRelayToPeer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.legacy_relay_session_id_ = from._impl_.legacy_relay_session_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.kludge_pad_ = from._impl_.kludge_pad_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramNoSessionRelayToPeer::CopyFrom(const CMsgSteamDatagramNoSessionRelayToPeer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoSessionRelayToPeer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramNoSessionRelayToPeer::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramNoSessionRelayToPeer::InternalSwap(CMsgSteamDatagramNoSessionRelayToPeer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_connection_id_) + + sizeof(CMsgSteamDatagramNoSessionRelayToPeer::_impl_.from_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToPeer, _impl_.legacy_relay_session_id_)>( + reinterpret_cast(&_impl_.legacy_relay_session_id_), + reinterpret_cast(&other->_impl_.legacy_relay_session_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoSessionRelayToPeer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[9]); +} + +// =================================================================== + +class CMsgTOSTreatment::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_l4s_detect(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_up_ecn1(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_down_dscp45(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgTOSTreatment::CMsgTOSTreatment(::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:CMsgTOSTreatment) +} +CMsgTOSTreatment::CMsgTOSTreatment(const CMsgTOSTreatment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTOSTreatment* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.l4s_detect_){} + , decltype(_impl_.up_ecn1_){} + , decltype(_impl_.down_dscp45_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.l4s_detect_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.l4s_detect_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_l4s_detect()) { + _this->_impl_.l4s_detect_.Set(from._internal_l4s_detect(), + _this->GetArenaForAllocation()); + } + _impl_.up_ecn1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.up_ecn1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_up_ecn1()) { + _this->_impl_.up_ecn1_.Set(from._internal_up_ecn1(), + _this->GetArenaForAllocation()); + } + _impl_.down_dscp45_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.down_dscp45_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_down_dscp45()) { + _this->_impl_.down_dscp45_.Set(from._internal_down_dscp45(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgTOSTreatment) +} + +inline void CMsgTOSTreatment::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.l4s_detect_){} + , decltype(_impl_.up_ecn1_){} + , decltype(_impl_.down_dscp45_){} + }; + _impl_.l4s_detect_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.l4s_detect_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.up_ecn1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.up_ecn1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.down_dscp45_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.down_dscp45_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgTOSTreatment::~CMsgTOSTreatment() { + // @@protoc_insertion_point(destructor:CMsgTOSTreatment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTOSTreatment::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.l4s_detect_.Destroy(); + _impl_.up_ecn1_.Destroy(); + _impl_.down_dscp45_.Destroy(); +} + +void CMsgTOSTreatment::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTOSTreatment::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTOSTreatment) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.l4s_detect_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.up_ecn1_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.down_dscp45_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTOSTreatment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string l4s_detect = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_l4s_detect(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.l4s_detect"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string up_ecn1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_up_ecn1(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.up_ecn1"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string down_dscp45 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_down_dscp45(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.down_dscp45"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTOSTreatment::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTOSTreatment) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string l4s_detect = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_l4s_detect().data(), static_cast(this->_internal_l4s_detect().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgTOSTreatment.l4s_detect"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_l4s_detect(), target); + } + + // optional string up_ecn1 = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_up_ecn1().data(), static_cast(this->_internal_up_ecn1().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgTOSTreatment.up_ecn1"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_up_ecn1(), target); + } + + // optional string down_dscp45 = 3; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_down_dscp45().data(), static_cast(this->_internal_down_dscp45().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgTOSTreatment.down_dscp45"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_down_dscp45(), 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:CMsgTOSTreatment) + return target; +} + +size_t CMsgTOSTreatment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTOSTreatment) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string l4s_detect = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_l4s_detect()); + } + + // optional string up_ecn1 = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_up_ecn1()); + } + + // optional string down_dscp45 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_down_dscp45()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTOSTreatment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTOSTreatment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTOSTreatment::GetClassData() const { return &_class_data_; } + + +void CMsgTOSTreatment::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:CMsgTOSTreatment) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_l4s_detect(from._internal_l4s_detect()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_up_ecn1(from._internal_up_ecn1()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_down_dscp45(from._internal_down_dscp45()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTOSTreatment::CopyFrom(const CMsgTOSTreatment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTOSTreatment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTOSTreatment::IsInitialized() const { + return true; +} + +void CMsgTOSTreatment::InternalSwap(CMsgTOSTreatment* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.l4s_detect_, lhs_arena, + &other->_impl_.l4s_detect_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.up_ecn1_, lhs_arena, + &other->_impl_.up_ecn1_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.down_dscp45_, lhs_arena, + &other->_impl_.down_dscp45_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTOSTreatment::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[10]); +} + +// =================================================================== + +class CMsgSteamDatagramClientPingSampleRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest(::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:CMsgSteamDatagramClientPingSampleRequest) +} +CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest(const CMsgSteamDatagramClientPingSampleRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientPingSampleRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.connection_id_ = from._impl_.connection_id_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleRequest) +} + +inline void CMsgSteamDatagramClientPingSampleRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_id_){0u} + }; +} + +CMsgSteamDatagramClientPingSampleRequest::~CMsgSteamDatagramClientPingSampleRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientPingSampleRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramClientPingSampleRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientPingSampleRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.connection_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientPingSampleRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientPingSampleRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), 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:CMsgSteamDatagramClientPingSampleRequest) + return target; +} + +size_t CMsgSteamDatagramClientPingSampleRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional fixed32 connection_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientPingSampleRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientPingSampleRequest::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:CMsgSteamDatagramClientPingSampleRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_connection_id()) { + _this->_internal_set_connection_id(from._internal_connection_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientPingSampleRequest::CopyFrom(const CMsgSteamDatagramClientPingSampleRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientPingSampleRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientPingSampleRequest::InternalSwap(CMsgSteamDatagramClientPingSampleRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.connection_id_, other->_impl_.connection_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[11]); +} + +// =================================================================== + +class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_front_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_penalty(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::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:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) +} +CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.front_ping_ms_){} + , decltype(_impl_.penalty_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_id()) { + _this->_impl_.id_.Set(from._internal_id(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.front_ping_ms_, &from._impl_.front_ping_ms_, + static_cast(reinterpret_cast(&_impl_.penalty_) - + reinterpret_cast(&_impl_.front_ping_ms_)) + sizeof(_impl_.penalty_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) +} + +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){} + , decltype(_impl_.front_ping_ms_){0u} + , decltype(_impl_.penalty_){0u} + }; + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::~CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.id_.Destroy(); +} + +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.front_ping_ms_, 0, static_cast( + reinterpret_cast(&_impl_.penalty_) - + reinterpret_cast(&_impl_.front_ping_ms_)) + sizeof(_impl_.penalty_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 front_ping_ms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_front_ping_ms(&has_bits); + _impl_.front_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 penalty = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_penalty(&has_bits); + _impl_.penalty_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string id = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // optional uint32 front_ping_ms = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_front_ping_ms(), target); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), 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:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + return target; +} + +size_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // optional uint32 front_ping_ms = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_front_ping_ms()); + } + + // optional uint32 penalty = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::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:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_id(from._internal_id()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.front_ping_ms_ = from._impl_.front_ping_ms_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.penalty_ = from._impl_.penalty_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.id_, lhs_arena, + &other->_impl_.id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.penalty_) + + sizeof(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_impl_.penalty_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.front_ping_ms_)>( + reinterpret_cast(&_impl_.front_ping_ms_), + reinterpret_cast(&other->_impl_.front_ping_ms_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[12]); +} + +// =================================================================== + +class CMsgSteamDatagramClientPingSampleReply_POP::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_default_front_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_cluster_penalty(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_default_e2e_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_default_e2e_score(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_p2p_via_peer_relay_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_best_dc_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_best_dc_score(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_best_dc_via_relay_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_default_dc_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_default_dc_score(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_default_dc_via_relay_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_test_dc_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_test_dc_score(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_test_dc_via_relay_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } +}; + +CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP(::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:CMsgSteamDatagramClientPingSampleReply.POP) +} +CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP(const CMsgSteamDatagramClientPingSampleReply_POP& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientPingSampleReply_POP* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.alt_addresses_){from._impl_.alt_addresses_} + , decltype(_impl_.pop_id_){} + , decltype(_impl_.default_front_ping_ms_){} + , decltype(_impl_.default_e2e_ping_ms_){} + , decltype(_impl_.cluster_penalty_){} + , decltype(_impl_.default_e2e_score_){} + , decltype(_impl_.p2p_via_peer_relay_pop_id_){} + , decltype(_impl_.best_dc_ping_ms_){} + , decltype(_impl_.best_dc_score_){} + , decltype(_impl_.best_dc_via_relay_pop_id_){} + , decltype(_impl_.default_dc_ping_ms_){} + , decltype(_impl_.default_dc_score_){} + , decltype(_impl_.default_dc_via_relay_pop_id_){} + , decltype(_impl_.test_dc_ping_ms_){} + , decltype(_impl_.test_dc_score_){} + , decltype(_impl_.test_dc_via_relay_pop_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.pop_id_, &from._impl_.pop_id_, + static_cast(reinterpret_cast(&_impl_.test_dc_via_relay_pop_id_) - + reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.test_dc_via_relay_pop_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.POP) +} + +inline void CMsgSteamDatagramClientPingSampleReply_POP::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.alt_addresses_){arena} + , decltype(_impl_.pop_id_){0u} + , decltype(_impl_.default_front_ping_ms_){0u} + , decltype(_impl_.default_e2e_ping_ms_){0u} + , decltype(_impl_.cluster_penalty_){0u} + , decltype(_impl_.default_e2e_score_){0u} + , decltype(_impl_.p2p_via_peer_relay_pop_id_){0u} + , decltype(_impl_.best_dc_ping_ms_){0u} + , decltype(_impl_.best_dc_score_){0u} + , decltype(_impl_.best_dc_via_relay_pop_id_){0u} + , decltype(_impl_.default_dc_ping_ms_){0u} + , decltype(_impl_.default_dc_score_){0u} + , decltype(_impl_.default_dc_via_relay_pop_id_){0u} + , decltype(_impl_.test_dc_ping_ms_){0u} + , decltype(_impl_.test_dc_score_){0u} + , decltype(_impl_.test_dc_via_relay_pop_id_){0u} + }; +} + +CMsgSteamDatagramClientPingSampleReply_POP::~CMsgSteamDatagramClientPingSampleReply_POP() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.POP) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientPingSampleReply_POP::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.alt_addresses_.~RepeatedPtrField(); +} + +void CMsgSteamDatagramClientPingSampleReply_POP::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientPingSampleReply_POP::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.POP) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.alt_addresses_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.pop_id_, 0, static_cast( + reinterpret_cast(&_impl_.best_dc_score_) - + reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.best_dc_score_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.best_dc_via_relay_pop_id_, 0, static_cast( + reinterpret_cast(&_impl_.test_dc_via_relay_pop_id_) - + reinterpret_cast(&_impl_.best_dc_via_relay_pop_id_)) + sizeof(_impl_.test_dc_via_relay_pop_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientPingSampleReply_POP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 pop_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_pop_id(&has_bits); + _impl_.pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 default_front_ping_ms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_default_front_ping_ms(&has_bits); + _impl_.default_front_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 default_e2e_ping_ms = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_default_e2e_ping_ms(&has_bits); + _impl_.default_e2e_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 cluster_penalty = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_cluster_penalty(&has_bits); + _impl_.cluster_penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 default_e2e_score = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_default_e2e_score(&has_bits); + _impl_.default_e2e_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 p2p_via_peer_relay_pop_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_p2p_via_peer_relay_pop_id(&has_bits); + _impl_.p2p_via_peer_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_alt_addresses(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 best_dc_ping_ms = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_best_dc_ping_ms(&has_bits); + _impl_.best_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_dc_score = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_best_dc_score(&has_bits); + _impl_.best_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 best_dc_via_relay_pop_id = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_best_dc_via_relay_pop_id(&has_bits); + _impl_.best_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 default_dc_ping_ms = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_default_dc_ping_ms(&has_bits); + _impl_.default_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 default_dc_score = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_default_dc_score(&has_bits); + _impl_.default_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 default_dc_via_relay_pop_id = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { + _Internal::set_has_default_dc_via_relay_pop_id(&has_bits); + _impl_.default_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 test_dc_ping_ms = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_test_dc_ping_ms(&has_bits); + _impl_.test_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 test_dc_score = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_test_dc_score(&has_bits); + _impl_.test_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 test_dc_via_relay_pop_id = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 141)) { + _Internal::set_has_test_dc_via_relay_pop_id(&has_bits); + _impl_.test_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientPingSampleReply_POP::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.POP) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 pop_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_pop_id(), target); + } + + // optional uint32 default_front_ping_ms = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_default_front_ping_ms(), target); + } + + // optional uint32 default_e2e_ping_ms = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_default_e2e_ping_ms(), target); + } + + // optional uint32 cluster_penalty = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cluster_penalty(), target); + } + + // optional uint32 default_e2e_score = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_default_e2e_score(), target); + } + + // optional fixed32 p2p_via_peer_relay_pop_id = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_p2p_via_peer_relay_pop_id(), target); + } + + // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; + for (unsigned i = 0, + n = static_cast(this->_internal_alt_addresses_size()); i < n; i++) { + const auto& repfield = this->_internal_alt_addresses(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional uint32 best_dc_ping_ms = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_best_dc_ping_ms(), target); + } + + // optional uint32 best_dc_score = 10; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_best_dc_score(), target); + } + + // optional fixed32 best_dc_via_relay_pop_id = 11; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_best_dc_via_relay_pop_id(), target); + } + + // optional uint32 default_dc_ping_ms = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_default_dc_ping_ms(), target); + } + + // optional uint32 default_dc_score = 13; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_default_dc_score(), target); + } + + // optional fixed32 default_dc_via_relay_pop_id = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_default_dc_via_relay_pop_id(), target); + } + + // optional uint32 test_dc_ping_ms = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_test_dc_ping_ms(), target); + } + + // optional uint32 test_dc_score = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_test_dc_score(), target); + } + + // optional fixed32 test_dc_via_relay_pop_id = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(17, this->_internal_test_dc_via_relay_pop_id(), 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:CMsgSteamDatagramClientPingSampleReply.POP) + return target; +} + +size_t CMsgSteamDatagramClientPingSampleReply_POP::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.POP) + 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 .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; + total_size += 1UL * this->_internal_alt_addresses_size(); + for (const auto& msg : this->_impl_.alt_addresses_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional fixed32 pop_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional uint32 default_front_ping_ms = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_front_ping_ms()); + } + + // optional uint32 default_e2e_ping_ms = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_e2e_ping_ms()); + } + + // optional uint32 cluster_penalty = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cluster_penalty()); + } + + // optional uint32 default_e2e_score = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_e2e_score()); + } + + // optional fixed32 p2p_via_peer_relay_pop_id = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 best_dc_ping_ms = 9; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_ping_ms()); + } + + // optional uint32 best_dc_score = 10; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_score()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional fixed32 best_dc_via_relay_pop_id = 11; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 default_dc_ping_ms = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_dc_ping_ms()); + } + + // optional uint32 default_dc_score = 13; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_dc_score()); + } + + // optional fixed32 default_dc_via_relay_pop_id = 14; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 4; + } + + // optional uint32 test_dc_ping_ms = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_test_dc_ping_ms()); + } + + // optional uint32 test_dc_score = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_test_dc_score()); + } + + // optional fixed32 test_dc_via_relay_pop_id = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_POP::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientPingSampleReply_POP::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_POP::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientPingSampleReply_POP::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:CMsgSteamDatagramClientPingSampleReply.POP) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.alt_addresses_.MergeFrom(from._impl_.alt_addresses_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.pop_id_ = from._impl_.pop_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.default_front_ping_ms_ = from._impl_.default_front_ping_ms_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.default_e2e_ping_ms_ = from._impl_.default_e2e_ping_ms_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.cluster_penalty_ = from._impl_.cluster_penalty_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.default_e2e_score_ = from._impl_.default_e2e_score_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.p2p_via_peer_relay_pop_id_ = from._impl_.p2p_via_peer_relay_pop_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.best_dc_ping_ms_ = from._impl_.best_dc_ping_ms_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.best_dc_score_ = from._impl_.best_dc_score_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.best_dc_via_relay_pop_id_ = from._impl_.best_dc_via_relay_pop_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.default_dc_ping_ms_ = from._impl_.default_dc_ping_ms_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.default_dc_score_ = from._impl_.default_dc_score_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.default_dc_via_relay_pop_id_ = from._impl_.default_dc_via_relay_pop_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.test_dc_ping_ms_ = from._impl_.test_dc_ping_ms_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.test_dc_score_ = from._impl_.test_dc_score_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.test_dc_via_relay_pop_id_ = from._impl_.test_dc_via_relay_pop_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientPingSampleReply_POP::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.POP) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientPingSampleReply_POP::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientPingSampleReply_POP::InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.alt_addresses_.InternalSwap(&other->_impl_.alt_addresses_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_via_relay_pop_id_) + + sizeof(CMsgSteamDatagramClientPingSampleReply_POP::_impl_.test_dc_via_relay_pop_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP, _impl_.pop_id_)>( + reinterpret_cast(&_impl_.pop_id_), + reinterpret_cast(&other->_impl_.pop_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_POP::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[13]); +} + +// =================================================================== + +class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data_center_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_best_dc_via_relay_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_best_dc_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::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:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) +} +CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){} + , decltype(_impl_.best_dc_via_relay_pop_id_){} + , decltype(_impl_.best_dc_ping_ms_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, + static_cast(reinterpret_cast(&_impl_.best_dc_ping_ms_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.best_dc_ping_ms_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) +} + +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_center_id_){0u} + , decltype(_impl_.best_dc_via_relay_pop_id_){0u} + , decltype(_impl_.best_dc_ping_ms_){0u} + }; +} + +CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.data_center_id_, 0, static_cast( + reinterpret_cast(&_impl_.best_dc_ping_ms_) - + reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.best_dc_ping_ms_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 data_center_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_data_center_id(&has_bits); + _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 best_dc_via_relay_pop_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_best_dc_via_relay_pop_id(&has_bits); + _impl_.best_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 best_dc_ping_ms = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_best_dc_ping_ms(&has_bits); + _impl_.best_dc_ping_ms_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); + } + + // optional fixed32 best_dc_via_relay_pop_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_best_dc_via_relay_pop_id(), target); + } + + // optional uint32 best_dc_ping_ms = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_best_dc_ping_ms(), 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:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + return target; +} + +size_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed32 data_center_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional fixed32 best_dc_via_relay_pop_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 best_dc_ping_ms = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_ping_ms()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::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:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.data_center_id_ = from._impl_.data_center_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.best_dc_via_relay_pop_id_ = from._impl_.best_dc_via_relay_pop_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.best_dc_ping_ms_ = from._impl_.best_dc_ping_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::InternalSwap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_ping_ms_) + + sizeof(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_impl_.best_dc_ping_ms_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.data_center_id_)>( + reinterpret_cast(&_impl_.data_center_id_), + reinterpret_cast(&other->_impl_.data_center_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[14]); +} + +// =================================================================== + +class CMsgSteamDatagramClientPingSampleReply::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_relay_override_active(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgTOSTreatment& tos(const CMsgSteamDatagramClientPingSampleReply* msg); + static void set_has_tos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgTOSTreatment& +CMsgSteamDatagramClientPingSampleReply::_Internal::tos(const CMsgSteamDatagramClientPingSampleReply* msg) { + return *msg->_impl_.tos_; +} +CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply(::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:CMsgSteamDatagramClientPingSampleReply) +} +CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply(const CMsgSteamDatagramClientPingSampleReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientPingSampleReply* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pops_){from._impl_.pops_} + , decltype(_impl_.legacy_data_centers_){from._impl_.legacy_data_centers_} + , decltype(_impl_.tos_){nullptr} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.relay_override_active_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_tos()) { + _this->_impl_.tos_ = new ::CMsgTOSTreatment(*from._impl_.tos_); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.relay_override_active_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.relay_override_active_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply) +} + +inline void CMsgSteamDatagramClientPingSampleReply::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pops_){arena} + , decltype(_impl_.legacy_data_centers_){arena} + , decltype(_impl_.tos_){nullptr} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.relay_override_active_){false} + }; +} + +CMsgSteamDatagramClientPingSampleReply::~CMsgSteamDatagramClientPingSampleReply() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientPingSampleReply::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.pops_.~RepeatedPtrField(); + _impl_.legacy_data_centers_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.tos_; +} + +void CMsgSteamDatagramClientPingSampleReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientPingSampleReply::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pops_.Clear(); + _impl_.legacy_data_centers_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.tos_ != nullptr); + _impl_.tos_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.relay_override_active_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.relay_override_active_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientPingSampleReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_pops(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_legacy_data_centers(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional bool relay_override_active = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_relay_override_active(&has_bits); + _impl_.relay_override_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgTOSTreatment tos = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_tos(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientPingSampleReply::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_pops_size()); i < n; i++) { + const auto& repfield = this->_internal_pops(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_legacy_data_centers_size()); i < n; i++) { + const auto& repfield = this->_internal_legacy_data_centers(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bool relay_override_active = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_relay_override_active(), target); + } + + // optional .CMsgTOSTreatment tos = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::tos(this), + _Internal::tos(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:CMsgSteamDatagramClientPingSampleReply) + return target; +} + +size_t CMsgSteamDatagramClientPingSampleReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply) + 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 .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; + total_size += 1UL * this->_internal_pops_size(); + for (const auto& msg : this->_impl_.pops_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; + total_size += 1UL * this->_internal_legacy_data_centers_size(); + for (const auto& msg : this->_impl_.legacy_data_centers_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgTOSTreatment tos = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tos_); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional bool relay_override_active = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientPingSampleReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientPingSampleReply::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:CMsgSteamDatagramClientPingSampleReply) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.pops_.MergeFrom(from._impl_.pops_); + _this->_impl_.legacy_data_centers_.MergeFrom(from._impl_.legacy_data_centers_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_tos()->::CMsgTOSTreatment::MergeFrom( + from._internal_tos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientPingSampleReply::CopyFrom(const CMsgSteamDatagramClientPingSampleReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientPingSampleReply::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientPingSampleReply::InternalSwap(CMsgSteamDatagramClientPingSampleReply* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.pops_.InternalSwap(&other->_impl_.pops_); + _impl_.legacy_data_centers_.InternalSwap(&other->_impl_.legacy_data_centers_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply, _impl_.relay_override_active_) + + sizeof(CMsgSteamDatagramClientPingSampleReply::_impl_.relay_override_active_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply, _impl_.tos_)>( + reinterpret_cast(&_impl_.tos_), + reinterpret_cast(&other->_impl_.tos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[15]); +} + +// =================================================================== + +class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_score(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_front_ping(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_back_ping(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_seconds_until_down(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::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:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) +} +CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.score_){} + , decltype(_impl_.front_ping_){} + , decltype(_impl_.back_ping_){} + , decltype(_impl_.seconds_until_down_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.score_, &from._impl_.score_, + static_cast(reinterpret_cast(&_impl_.seconds_until_down_) - + reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.seconds_until_down_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) +} + +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.score_){0u} + , decltype(_impl_.front_ping_){0u} + , decltype(_impl_.back_ping_){0u} + , decltype(_impl_.seconds_until_down_){0u} + }; +} + +CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::~CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.score_, 0, static_cast( + reinterpret_cast(&_impl_.seconds_until_down_) - + reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.seconds_until_down_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 score = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_score(&has_bits); + _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 front_ping = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_front_ping(&has_bits); + _impl_.front_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 back_ping = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_back_ping(&has_bits); + _impl_.back_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_down = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_seconds_until_down(&has_bits); + _impl_.seconds_until_down_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 score = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_score(), target); + } + + // optional uint32 front_ping = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_front_ping(), target); + } + + // optional uint32 back_ping = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_back_ping(), target); + } + + // optional uint32 seconds_until_down = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seconds_until_down(), 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:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + return target; +} + +size_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 score = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score()); + } + + // optional uint32 front_ping = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_front_ping()); + } + + // optional uint32 back_ping = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_back_ping()); + } + + // optional uint32 seconds_until_down = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_down()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::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:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.score_ = from._impl_.score_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.front_ping_ = from._impl_.front_ping_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.back_ping_ = from._impl_.back_ping_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seconds_until_down_ = from._impl_.seconds_until_down_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::InternalSwap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.seconds_until_down_) + + sizeof(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_impl_.seconds_until_down_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.score_)>( + reinterpret_cast(&_impl_.score_), + reinterpret_cast(&other->_impl_.score_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[16]); +} + +// =================================================================== + +class CMsgSteamDatagramClientSwitchedPrimary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_from_ip(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_from_port(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_from_router_cluster(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_from_active_time(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_from_active_packets_recv(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_from_dropped_reason(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_gap_ms(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg); + static void set_has_from_quality_now(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg); + static void set_has_to_quality_now(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg); + static void set_has_from_quality_then(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg); + static void set_has_to_quality_then(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& +CMsgSteamDatagramClientSwitchedPrimary::_Internal::from_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg) { + return *msg->_impl_.from_quality_now_; +} +const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& +CMsgSteamDatagramClientSwitchedPrimary::_Internal::to_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg) { + return *msg->_impl_.to_quality_now_; +} +const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& +CMsgSteamDatagramClientSwitchedPrimary::_Internal::from_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg) { + return *msg->_impl_.from_quality_then_; +} +const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& +CMsgSteamDatagramClientSwitchedPrimary::_Internal::to_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg) { + return *msg->_impl_.to_quality_then_; +} +CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary(::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:CMsgSteamDatagramClientSwitchedPrimary) +} +CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary(const CMsgSteamDatagramClientSwitchedPrimary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramClientSwitchedPrimary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_dropped_reason_){} + , decltype(_impl_.from_quality_now_){nullptr} + , decltype(_impl_.to_quality_now_){nullptr} + , decltype(_impl_.from_quality_then_){nullptr} + , decltype(_impl_.to_quality_then_){nullptr} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.from_ip_){} + , decltype(_impl_.from_port_){} + , decltype(_impl_.from_router_cluster_){} + , decltype(_impl_.from_active_time_){} + , decltype(_impl_.from_active_packets_recv_){} + , decltype(_impl_.gap_ms_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.from_dropped_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_from_dropped_reason()) { + _this->_impl_.from_dropped_reason_.Set(from._internal_from_dropped_reason(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_from_quality_now()) { + _this->_impl_.from_quality_now_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.from_quality_now_); + } + if (from._internal_has_to_quality_now()) { + _this->_impl_.to_quality_now_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.to_quality_now_); + } + if (from._internal_has_from_quality_then()) { + _this->_impl_.from_quality_then_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.from_quality_then_); + } + if (from._internal_has_to_quality_then()) { + _this->_impl_.to_quality_then_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.to_quality_then_); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.gap_ms_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.gap_ms_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientSwitchedPrimary) +} + +inline void CMsgSteamDatagramClientSwitchedPrimary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_dropped_reason_){} + , decltype(_impl_.from_quality_now_){nullptr} + , decltype(_impl_.to_quality_now_){nullptr} + , decltype(_impl_.from_quality_then_){nullptr} + , decltype(_impl_.to_quality_then_){nullptr} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.from_ip_){0u} + , decltype(_impl_.from_port_){0u} + , decltype(_impl_.from_router_cluster_){0u} + , decltype(_impl_.from_active_time_){0u} + , decltype(_impl_.from_active_packets_recv_){0u} + , decltype(_impl_.gap_ms_){0u} + }; + _impl_.from_dropped_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramClientSwitchedPrimary::~CMsgSteamDatagramClientSwitchedPrimary() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientSwitchedPrimary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramClientSwitchedPrimary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.from_dropped_reason_.Destroy(); + if (this != internal_default_instance()) delete _impl_.from_quality_now_; + if (this != internal_default_instance()) delete _impl_.to_quality_now_; + if (this != internal_default_instance()) delete _impl_.from_quality_then_; + if (this != internal_default_instance()) delete _impl_.to_quality_then_; +} + +void CMsgSteamDatagramClientSwitchedPrimary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramClientSwitchedPrimary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientSwitchedPrimary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.from_dropped_reason_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.from_quality_now_ != nullptr); + _impl_.from_quality_now_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.to_quality_now_ != nullptr); + _impl_.to_quality_now_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.from_quality_then_ != nullptr); + _impl_.from_quality_then_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.to_quality_then_ != nullptr); + _impl_.to_quality_then_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.from_port_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.from_port_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.from_router_cluster_, 0, static_cast( + reinterpret_cast(&_impl_.gap_ms_) - + reinterpret_cast(&_impl_.from_router_cluster_)) + sizeof(_impl_.gap_ms_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramClientSwitchedPrimary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_ip = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_from_ip(&has_bits); + _impl_.from_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 from_port = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_port(&has_bits); + _impl_.from_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 from_router_cluster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_from_router_cluster(&has_bits); + _impl_.from_router_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 from_active_time = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_from_active_time(&has_bits); + _impl_.from_active_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 from_active_packets_recv = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_from_active_packets_recv(&has_bits); + _impl_.from_active_packets_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string from_dropped_reason = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_from_dropped_reason(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 gap_ms = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_gap_ms(&has_bits); + _impl_.gap_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_from_quality_now(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_to_quality_now(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_from_quality_then(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_to_quality_then(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramClientSwitchedPrimary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientSwitchedPrimary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional fixed32 from_ip = 2; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_ip(), target); + } + + // optional uint32 from_port = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_from_port(), target); + } + + // optional fixed32 from_router_cluster = 4; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_from_router_cluster(), target); + } + + // optional uint32 from_active_time = 5; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_from_active_time(), target); + } + + // optional uint32 from_active_packets_recv = 6; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_from_active_packets_recv(), target); + } + + // optional string from_dropped_reason = 7; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_from_dropped_reason().data(), static_cast(this->_internal_from_dropped_reason().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_from_dropped_reason(), target); + } + + // optional uint32 gap_ms = 8; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_gap_ms(), target); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::from_quality_now(this), + _Internal::from_quality_now(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::to_quality_now(this), + _Internal::to_quality_now(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::from_quality_then(this), + _Internal::from_quality_then(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::to_quality_then(this), + _Internal::to_quality_then(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:CMsgSteamDatagramClientSwitchedPrimary) + return target; +} + +size_t CMsgSteamDatagramClientSwitchedPrimary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientSwitchedPrimary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string from_dropped_reason = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_from_dropped_reason()); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.from_quality_now_); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.to_quality_now_); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.from_quality_then_); + } + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.to_quality_then_); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional fixed32 from_ip = 2; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 from_port = 3; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_port()); + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional fixed32 from_router_cluster = 4; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 from_active_time = 5; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_active_time()); + } + + // optional uint32 from_active_packets_recv = 6; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_active_packets_recv()); + } + + // optional uint32 gap_ms = 8; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gap_ms()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientSwitchedPrimary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramClientSwitchedPrimary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientSwitchedPrimary::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramClientSwitchedPrimary::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:CMsgSteamDatagramClientSwitchedPrimary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_from_dropped_reason(from._internal_from_dropped_reason()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_from_quality_now()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( + from._internal_from_quality_now()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_to_quality_now()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( + from._internal_to_quality_now()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_from_quality_then()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( + from._internal_from_quality_then()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_to_quality_then()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( + from._internal_to_quality_then()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.from_ip_ = from._impl_.from_ip_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.from_port_ = from._impl_.from_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.from_router_cluster_ = from._impl_.from_router_cluster_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.from_active_time_ = from._impl_.from_active_time_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.from_active_packets_recv_ = from._impl_.from_active_packets_recv_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.gap_ms_ = from._impl_.gap_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramClientSwitchedPrimary::CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientSwitchedPrimary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramClientSwitchedPrimary::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramClientSwitchedPrimary::InternalSwap(CMsgSteamDatagramClientSwitchedPrimary* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.from_dropped_reason_, lhs_arena, + &other->_impl_.from_dropped_reason_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary, _impl_.gap_ms_) + + sizeof(CMsgSteamDatagramClientSwitchedPrimary::_impl_.gap_ms_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_now_)>( + reinterpret_cast(&_impl_.from_quality_now_), + reinterpret_cast(&other->_impl_.from_quality_now_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientSwitchedPrimary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[17]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_my_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_ping_est_ms(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_virtual_port(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_gameserver_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamDatagramConnectRequest* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramConnectRequest* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_legacy_client_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamDatagramConnectRequest::_Internal::crypt(const CMsgSteamDatagramConnectRequest* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramConnectRequest::_Internal::cert(const CMsgSteamDatagramConnectRequest* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramConnectRequest::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgSteamDatagramConnectRequest::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest(::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:CMsgSteamDatagramConnectRequest) +} +CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest(const CMsgSteamDatagramConnectRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.gameserver_relay_session_id_){} + , decltype(_impl_.legacy_client_steam_id_){} + , decltype(_impl_.my_timestamp_){} + , decltype(_impl_.ping_est_ms_){} + , decltype(_impl_.virtual_port_){} + , decltype(_impl_.routing_secret_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.routing_secret_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.routing_secret_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectRequest) +} + +inline void CMsgSteamDatagramConnectRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.gameserver_relay_session_id_){0u} + , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} + , decltype(_impl_.my_timestamp_){uint64_t{0u}} + , decltype(_impl_.ping_est_ms_){0u} + , decltype(_impl_.virtual_port_){0u} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + }; +} + +CMsgSteamDatagramConnectRequest::~CMsgSteamDatagramConnectRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramConnectRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.virtual_port_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.virtual_port_)); + } + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 gameserver_relay_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gameserver_relay_session_id(&has_bits); + _impl_.gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_client_steam_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_client_steam_id(&has_bits); + _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 my_timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_my_timestamp(&has_bits); + _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 ping_est_ms = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ping_est_ms(&has_bits); + _impl_.ping_est_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 virtual_port = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_virtual_port(&has_bits); + _impl_.virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional uint32 gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameserver_relay_session_id(), target); + } + + // optional fixed64 legacy_client_steam_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_client_steam_id(), target); + } + + // optional fixed64 my_timestamp = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_my_timestamp(), target); + } + + // optional uint32 ping_est_ms = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ping_est_ms(), target); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional uint32 virtual_port = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_virtual_port(), target); + } + + // optional fixed64 routing_secret = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_routing_secret(), 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:CMsgSteamDatagramConnectRequest) + return target; +} + +size_t CMsgSteamDatagramConnectRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameserver_relay_session_id()); + } + + // optional fixed64 legacy_client_steam_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional fixed64 my_timestamp = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional uint32 ping_est_ms = 5; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_est_ms()); + } + + // optional uint32 virtual_port = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_virtual_port()); + } + + } + // optional fixed64 routing_secret = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectRequest::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:CMsgSteamDatagramConnectRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.gameserver_relay_session_id_ = from._impl_.gameserver_relay_session_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ping_est_ms_ = from._impl_.ping_est_ms_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.virtual_port_ = from._impl_.virtual_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_routing_secret(from._internal_routing_secret()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectRequest::CopyFrom(const CMsgSteamDatagramConnectRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectRequest::InternalSwap(CMsgSteamDatagramConnectRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectRequest, _impl_.routing_secret_) + + sizeof(CMsgSteamDatagramConnectRequest::_impl_.routing_secret_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectRequest, _impl_.crypt_)>( + reinterpret_cast(&_impl_.crypt_), + reinterpret_cast(&other->_impl_.crypt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[18]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectOK::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_server_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_your_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_delay_time_usec(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_gameserver_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamDatagramConnectOK* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramConnectOK* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamDatagramConnectOK::_Internal::crypt(const CMsgSteamDatagramConnectOK* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramConnectOK::_Internal::cert(const CMsgSteamDatagramConnectOK* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramConnectOK::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgSteamDatagramConnectOK::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK(::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:CMsgSteamDatagramConnectOK) +} +CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK(const CMsgSteamDatagramConnectOK& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectOK* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.gameserver_relay_session_id_){} + , decltype(_impl_.your_timestamp_){} + , decltype(_impl_.delay_time_usec_){} + , decltype(_impl_.server_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + ::memcpy(&_impl_.client_connection_id_, &from._impl_.client_connection_id_, + static_cast(reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.client_connection_id_)) + sizeof(_impl_.server_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectOK) +} + +inline void CMsgSteamDatagramConnectOK::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.gameserver_relay_session_id_){0u} + , decltype(_impl_.your_timestamp_){uint64_t{0u}} + , decltype(_impl_.delay_time_usec_){0u} + , decltype(_impl_.server_connection_id_){0u} + }; +} + +CMsgSteamDatagramConnectOK::~CMsgSteamDatagramConnectOK() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectOK) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectOK::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramConnectOK::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectOK::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectOK) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.client_connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.client_connection_id_)) + sizeof(_impl_.server_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 client_connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 gameserver_relay_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_gameserver_relay_session_id(&has_bits); + _impl_.gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 your_timestamp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_your_timestamp(&has_bits); + _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 delay_time_usec = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_delay_time_usec(&has_bits); + _impl_.delay_time_usec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_server_connection_id(&has_bits); + _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectOK::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectOK) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); + } + + // optional uint32 gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameserver_relay_session_id(), target); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); + } + + // optional uint32 delay_time_usec = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_delay_time_usec(), target); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional fixed32 server_connection_id = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_server_connection_id(), 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:CMsgSteamDatagramConnectOK) + return target; +} + +size_t CMsgSteamDatagramConnectOK::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectOK) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameserver_relay_session_id()); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 delay_time_usec = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_delay_time_usec()); + } + + // optional fixed32 server_connection_id = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectOK::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectOK::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectOK::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectOK::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:CMsgSteamDatagramConnectOK) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.gameserver_relay_session_id_ = from._impl_.gameserver_relay_session_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.delay_time_usec_ = from._impl_.delay_time_usec_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectOK::CopyFrom(const CMsgSteamDatagramConnectOK& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectOK) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectOK::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectOK::InternalSwap(CMsgSteamDatagramConnectOK* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectOK, _impl_.server_connection_id_) + + sizeof(CMsgSteamDatagramConnectOK::_impl_.server_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectOK, _impl_.crypt_)>( + reinterpret_cast(&_impl_.crypt_), + reinterpret_cast(&other->_impl_.crypt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectOK::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[19]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PSDRRoutingSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_initial_ping(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_initial_ping_front_local(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_initial_ping_front_remote(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_initial_score(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_initial_pop_local(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_initial_pop_remote(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_best_ping(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_best_ping_front_local(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_best_ping_front_remote(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_best_score(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_best_pop_local(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_best_pop_remote(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_best_time(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_negotiation_ms(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_selected_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary(::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:CMsgSteamNetworkingP2PSDRRoutingSummary) +} +CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PSDRRoutingSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.initial_ping_){} + , decltype(_impl_.initial_ping_front_local_){} + , decltype(_impl_.initial_ping_front_remote_){} + , decltype(_impl_.initial_score_){} + , decltype(_impl_.initial_pop_local_){} + , decltype(_impl_.initial_pop_remote_){} + , decltype(_impl_.negotiation_ms_){} + , decltype(_impl_.selected_seconds_){} + , decltype(_impl_.best_ping_){} + , decltype(_impl_.best_ping_front_local_){} + , decltype(_impl_.best_ping_front_remote_){} + , decltype(_impl_.best_score_){} + , decltype(_impl_.best_pop_local_){} + , decltype(_impl_.best_pop_remote_){} + , decltype(_impl_.best_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.initial_ping_, &from._impl_.initial_ping_, + static_cast(reinterpret_cast(&_impl_.best_time_) - + reinterpret_cast(&_impl_.initial_ping_)) + sizeof(_impl_.best_time_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PSDRRoutingSummary) +} + +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.initial_ping_){0u} + , decltype(_impl_.initial_ping_front_local_){0u} + , decltype(_impl_.initial_ping_front_remote_){0u} + , decltype(_impl_.initial_score_){0u} + , decltype(_impl_.initial_pop_local_){0u} + , decltype(_impl_.initial_pop_remote_){0u} + , decltype(_impl_.negotiation_ms_){0u} + , decltype(_impl_.selected_seconds_){0u} + , decltype(_impl_.best_ping_){0u} + , decltype(_impl_.best_ping_front_local_){0u} + , decltype(_impl_.best_ping_front_remote_){0u} + , decltype(_impl_.best_score_){0u} + , decltype(_impl_.best_pop_local_){0u} + , decltype(_impl_.best_pop_remote_){0u} + , decltype(_impl_.best_time_){0u} + }; +} + +CMsgSteamNetworkingP2PSDRRoutingSummary::~CMsgSteamNetworkingP2PSDRRoutingSummary() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PSDRRoutingSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamNetworkingP2PSDRRoutingSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PSDRRoutingSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PSDRRoutingSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.initial_ping_, 0, static_cast( + reinterpret_cast(&_impl_.selected_seconds_) - + reinterpret_cast(&_impl_.initial_ping_)) + sizeof(_impl_.selected_seconds_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.best_ping_, 0, static_cast( + reinterpret_cast(&_impl_.best_time_) - + reinterpret_cast(&_impl_.best_ping_)) + sizeof(_impl_.best_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PSDRRoutingSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 initial_ping = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_initial_ping(&has_bits); + _impl_.initial_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_ping_front_local = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_initial_ping_front_local(&has_bits); + _impl_.initial_ping_front_local_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_ping_front_remote = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_initial_ping_front_remote(&has_bits); + _impl_.initial_ping_front_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_score = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_initial_score(&has_bits); + _impl_.initial_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 initial_pop_local = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_initial_pop_local(&has_bits); + _impl_.initial_pop_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 initial_pop_remote = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_initial_pop_remote(&has_bits); + _impl_.initial_pop_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 negotiation_ms = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_negotiation_ms(&has_bits); + _impl_.negotiation_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 selected_seconds = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_selected_seconds(&has_bits); + _impl_.selected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_ping = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_best_ping(&has_bits); + _impl_.best_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_ping_front_local = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_best_ping_front_local(&has_bits); + _impl_.best_ping_front_local_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_ping_front_remote = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_best_ping_front_remote(&has_bits); + _impl_.best_ping_front_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_score = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_best_score(&has_bits); + _impl_.best_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 best_pop_local = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { + _Internal::set_has_best_pop_local(&has_bits); + _impl_.best_pop_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 best_pop_remote = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 133)) { + _Internal::set_has_best_pop_remote(&has_bits); + _impl_.best_pop_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 best_time = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_best_time(&has_bits); + _impl_.best_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PSDRRoutingSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PSDRRoutingSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 initial_ping = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_initial_ping(), target); + } + + // optional uint32 initial_ping_front_local = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_initial_ping_front_local(), target); + } + + // optional uint32 initial_ping_front_remote = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_initial_ping_front_remote(), target); + } + + // optional uint32 initial_score = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_initial_score(), target); + } + + // optional fixed32 initial_pop_local = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_initial_pop_local(), target); + } + + // optional fixed32 initial_pop_remote = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_initial_pop_remote(), target); + } + + // optional uint32 negotiation_ms = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_negotiation_ms(), target); + } + + // optional uint32 selected_seconds = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_selected_seconds(), target); + } + + // optional uint32 best_ping = 11; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_best_ping(), target); + } + + // optional uint32 best_ping_front_local = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_best_ping_front_local(), target); + } + + // optional uint32 best_ping_front_remote = 13; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_best_ping_front_remote(), target); + } + + // optional uint32 best_score = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_best_score(), target); + } + + // optional fixed32 best_pop_local = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_best_pop_local(), target); + } + + // optional fixed32 best_pop_remote = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(16, this->_internal_best_pop_remote(), target); + } + + // optional uint32 best_time = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_best_time(), 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:CMsgSteamNetworkingP2PSDRRoutingSummary) + return target; +} + +size_t CMsgSteamNetworkingP2PSDRRoutingSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PSDRRoutingSummary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 initial_ping = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping()); + } + + // optional uint32 initial_ping_front_local = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping_front_local()); + } + + // optional uint32 initial_ping_front_remote = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping_front_remote()); + } + + // optional uint32 initial_score = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_score()); + } + + // optional fixed32 initial_pop_local = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 initial_pop_remote = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 negotiation_ms = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_negotiation_ms()); + } + + // optional uint32 selected_seconds = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_selected_seconds()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional uint32 best_ping = 11; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping()); + } + + // optional uint32 best_ping_front_local = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping_front_local()); + } + + // optional uint32 best_ping_front_remote = 13; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping_front_remote()); + } + + // optional uint32 best_score = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_score()); + } + + // optional fixed32 best_pop_local = 15; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 4; + } + + // optional fixed32 best_pop_remote = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + 4; + } + + // optional uint32 best_time = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_best_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PSDRRoutingSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PSDRRoutingSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PSDRRoutingSummary::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PSDRRoutingSummary::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:CMsgSteamNetworkingP2PSDRRoutingSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.initial_ping_ = from._impl_.initial_ping_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.initial_ping_front_local_ = from._impl_.initial_ping_front_local_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.initial_ping_front_remote_ = from._impl_.initial_ping_front_remote_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.initial_score_ = from._impl_.initial_score_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.initial_pop_local_ = from._impl_.initial_pop_local_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.initial_pop_remote_ = from._impl_.initial_pop_remote_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.negotiation_ms_ = from._impl_.negotiation_ms_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.selected_seconds_ = from._impl_.selected_seconds_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.best_ping_ = from._impl_.best_ping_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.best_ping_front_local_ = from._impl_.best_ping_front_local_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.best_ping_front_remote_ = from._impl_.best_ping_front_remote_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.best_score_ = from._impl_.best_score_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.best_pop_local_ = from._impl_.best_pop_local_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.best_pop_remote_ = from._impl_.best_pop_remote_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.best_time_ = from._impl_.best_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PSDRRoutingSummary::CopyFrom(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PSDRRoutingSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PSDRRoutingSummary::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PSDRRoutingSummary::InternalSwap(CMsgSteamNetworkingP2PSDRRoutingSummary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_time_) + + sizeof(CMsgSteamNetworkingP2PSDRRoutingSummary::_impl_.best_time_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_)>( + reinterpret_cast(&_impl_.initial_ping_), + reinterpret_cast(&other->_impl_.initial_ping_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PSDRRoutingSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[20]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PRoutingSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamNetworkingICESessionSummary& ice(const CMsgSteamDatagramP2PRoutingSummary* msg); + static void set_has_ice(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamNetworkingP2PSDRRoutingSummary& sdr(const CMsgSteamDatagramP2PRoutingSummary* msg); + static void set_has_sdr(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamNetworkingICESessionSummary& +CMsgSteamDatagramP2PRoutingSummary::_Internal::ice(const CMsgSteamDatagramP2PRoutingSummary* msg) { + return *msg->_impl_.ice_; +} +const ::CMsgSteamNetworkingP2PSDRRoutingSummary& +CMsgSteamDatagramP2PRoutingSummary::_Internal::sdr(const CMsgSteamDatagramP2PRoutingSummary* msg) { + return *msg->_impl_.sdr_; +} +void CMsgSteamDatagramP2PRoutingSummary::clear_ice() { + if (_impl_.ice_ != nullptr) _impl_.ice_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary(::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:CMsgSteamDatagramP2PRoutingSummary) +} +CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary(const CMsgSteamDatagramP2PRoutingSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PRoutingSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ice_){nullptr} + , decltype(_impl_.sdr_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_ice()) { + _this->_impl_.ice_ = new ::CMsgSteamNetworkingICESessionSummary(*from._impl_.ice_); + } + if (from._internal_has_sdr()) { + _this->_impl_.sdr_ = new ::CMsgSteamNetworkingP2PSDRRoutingSummary(*from._impl_.sdr_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutingSummary) +} + +inline void CMsgSteamDatagramP2PRoutingSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ice_){nullptr} + , decltype(_impl_.sdr_){nullptr} + }; +} + +CMsgSteamDatagramP2PRoutingSummary::~CMsgSteamDatagramP2PRoutingSummary() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutingSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PRoutingSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.ice_; + if (this != internal_default_instance()) delete _impl_.sdr_; +} + +void CMsgSteamDatagramP2PRoutingSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PRoutingSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutingSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.ice_ != nullptr); + _impl_.ice_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.sdr_ != nullptr); + _impl_.sdr_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PRoutingSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamNetworkingICESessionSummary ice = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_ice(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sdr(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PRoutingSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutingSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamNetworkingICESessionSummary ice = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::ice(this), + _Internal::ice(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sdr(this), + _Internal::sdr(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:CMsgSteamDatagramP2PRoutingSummary) + return target; +} + +size_t CMsgSteamDatagramP2PRoutingSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutingSummary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSteamNetworkingICESessionSummary ice = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ice_); + } + + // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sdr_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutingSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PRoutingSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutingSummary::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PRoutingSummary::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:CMsgSteamDatagramP2PRoutingSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_ice()->::CMsgSteamNetworkingICESessionSummary::MergeFrom( + from._internal_ice()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_sdr()->::CMsgSteamNetworkingP2PSDRRoutingSummary::MergeFrom( + from._internal_sdr()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PRoutingSummary::CopyFrom(const CMsgSteamDatagramP2PRoutingSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutingSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PRoutingSummary::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PRoutingSummary::InternalSwap(CMsgSteamDatagramP2PRoutingSummary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutingSummary, _impl_.sdr_) + + sizeof(CMsgSteamDatagramP2PRoutingSummary::_impl_.sdr_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutingSummary, _impl_.ice_)>( + reinterpret_cast(&_impl_.ice_), + reinterpret_cast(&other->_impl_.ice_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutingSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[21]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionClosed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_to_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_from_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_from_identity_binary(const CMsgSteamDatagramConnectionClosed* msg); + static void set_has_legacy_from_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_legacy_from_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_legacy_gameserver_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_to_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_from_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_forward_target_relay_routing_token(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_forward_target_revision(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_relay_mode(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_debug(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reason_code(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_not_primary_session(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_not_primary_transport(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_relay_override_active(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionClosed* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionClosed* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramConnectionClosed* msg); + static void set_has_p2p_routing_summary(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +const ::CMsgSteamNetworkingIdentityLegacyBinary& +CMsgSteamDatagramConnectionClosed::_Internal::legacy_from_identity_binary(const CMsgSteamDatagramConnectionClosed* msg) { + return *msg->_impl_.legacy_from_identity_binary_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionClosed::_Internal::quality_relay(const CMsgSteamDatagramConnectionClosed* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionClosed::_Internal::quality_e2e(const CMsgSteamDatagramConnectionClosed* msg) { + return *msg->_impl_.quality_e2e_; +} +const ::CMsgSteamDatagramP2PRoutingSummary& +CMsgSteamDatagramConnectionClosed::_Internal::p2p_routing_summary(const CMsgSteamDatagramConnectionClosed* msg) { + return *msg->_impl_.p2p_routing_summary_; +} +void CMsgSteamDatagramConnectionClosed::clear_legacy_from_identity_binary() { + if (_impl_.legacy_from_identity_binary_ != nullptr) _impl_.legacy_from_identity_binary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void CMsgSteamDatagramConnectionClosed::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +void CMsgSteamDatagramConnectionClosed::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed(::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:CMsgSteamDatagramConnectionClosed) +} +CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed(const CMsgSteamDatagramConnectionClosed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionClosed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.forward_target_relay_routing_token_){} + , decltype(_impl_.from_identity_string_){} + , decltype(_impl_.legacy_from_identity_binary_){nullptr} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.legacy_from_steam_id_){} + , decltype(_impl_.legacy_gameserver_relay_session_id_){} + , decltype(_impl_.relay_mode_){} + , decltype(_impl_.reason_code_){} + , decltype(_impl_.to_connection_id_){} + , decltype(_impl_.from_connection_id_){} + , decltype(_impl_.to_relay_session_id_){} + , decltype(_impl_.from_relay_session_id_){} + , decltype(_impl_.forward_target_revision_){} + , decltype(_impl_.routing_secret_){} + , decltype(_impl_.not_primary_session_){} + , decltype(_impl_.not_primary_transport_){} + , decltype(_impl_.relay_override_active_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_debug()) { + _this->_impl_.debug_.Set(from._internal_debug(), + _this->GetArenaForAllocation()); + } + _impl_.forward_target_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_forward_target_relay_routing_token()) { + _this->_impl_.forward_target_relay_routing_token_.Set(from._internal_forward_target_relay_routing_token(), + _this->GetArenaForAllocation()); + } + _impl_.from_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_from_identity_string()) { + _this->_impl_.from_identity_string_.Set(from._internal_from_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_legacy_from_identity_binary()) { + _this->_impl_.legacy_from_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_from_identity_binary_); + } + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + if (from._internal_has_p2p_routing_summary()) { + _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); + } + ::memcpy(&_impl_.legacy_from_steam_id_, &from._impl_.legacy_from_steam_id_, + static_cast(reinterpret_cast(&_impl_.relay_override_active_) - + reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.relay_override_active_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionClosed) +} + +inline void CMsgSteamDatagramConnectionClosed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.forward_target_relay_routing_token_){} + , decltype(_impl_.from_identity_string_){} + , decltype(_impl_.legacy_from_identity_binary_){nullptr} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.legacy_from_steam_id_){uint64_t{0u}} + , decltype(_impl_.legacy_gameserver_relay_session_id_){0u} + , decltype(_impl_.relay_mode_){0} + , decltype(_impl_.reason_code_){0u} + , decltype(_impl_.to_connection_id_){0u} + , decltype(_impl_.from_connection_id_){0u} + , decltype(_impl_.to_relay_session_id_){0u} + , decltype(_impl_.from_relay_session_id_){0u} + , decltype(_impl_.forward_target_revision_){0u} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + , decltype(_impl_.not_primary_session_){false} + , decltype(_impl_.not_primary_transport_){false} + , decltype(_impl_.relay_override_active_){false} + }; + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.forward_target_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramConnectionClosed::~CMsgSteamDatagramConnectionClosed() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionClosed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionClosed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.debug_.Destroy(); + _impl_.forward_target_relay_routing_token_.Destroy(); + _impl_.from_identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.legacy_from_identity_binary_; + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; + if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; +} + +void CMsgSteamDatagramConnectionClosed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionClosed::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionClosed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.debug_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.forward_target_relay_routing_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.from_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.legacy_from_identity_binary_ != nullptr); + _impl_.legacy_from_identity_binary_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); + _impl_.p2p_routing_summary_->Clear(); + } + } + _impl_.legacy_from_steam_id_ = uint64_t{0u}; + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.legacy_gameserver_relay_session_id_, 0, static_cast( + reinterpret_cast(&_impl_.forward_target_revision_) - + reinterpret_cast(&_impl_.legacy_gameserver_relay_session_id_)) + sizeof(_impl_.forward_target_revision_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.routing_secret_, 0, static_cast( + reinterpret_cast(&_impl_.relay_override_active_) - + reinterpret_cast(&_impl_.routing_secret_)) + sizeof(_impl_.relay_override_active_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 legacy_gameserver_relay_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_legacy_gameserver_relay_session_id(&has_bits); + _impl_.legacy_gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_from_steam_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_from_steam_id(&has_bits); + _impl_.legacy_from_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(val))) { + _internal_set_relay_mode(static_cast<::CMsgSteamDatagramConnectionClosed_ERelayMode>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional string debug = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_debug(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionClosed.debug"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 reason_code = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_reason_code(&has_bits); + _impl_.reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 to_connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_to_connection_id(&has_bits); + _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_connection_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 to_relay_session_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_to_relay_session_id(&has_bits); + _impl_.to_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_relay_session_id = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_from_relay_session_id(&has_bits); + _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes forward_target_relay_routing_token = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_forward_target_relay_routing_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 forward_target_revision = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_forward_target_revision(&has_bits); + _impl_.forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_legacy_from_identity_binary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string from_identity_string = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_from_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionClosed.from_identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool not_primary_session = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_not_primary_session(&has_bits); + _impl_.not_primary_session_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool not_primary_transport = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_not_primary_transport(&has_bits); + _impl_.not_primary_transport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool relay_override_active = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_relay_override_active(&has_bits); + _impl_.relay_override_active_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionClosed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionClosed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 legacy_gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_legacy_gameserver_relay_session_id(), target); + } + + // optional fixed64 legacy_from_steam_id = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_from_steam_id(), target); + } + + // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_relay_mode(), target); + } + + // optional string debug = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_debug().data(), static_cast(this->_internal_debug().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramConnectionClosed.debug"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_debug(), target); + } + + // optional uint32 reason_code = 6; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_reason_code(), target); + } + + // optional fixed32 to_connection_id = 7; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_to_connection_id(), target); + } + + // optional fixed32 from_connection_id = 8; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_from_connection_id(), target); + } + + // optional fixed32 to_relay_session_id = 9; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_to_relay_session_id(), target); + } + + // optional fixed32 from_relay_session_id = 10; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_from_relay_session_id(), target); + } + + // optional bytes forward_target_relay_routing_token = 11; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 11, this->_internal_forward_target_relay_routing_token(), target); + } + + // optional uint32 forward_target_revision = 12; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_forward_target_revision(), target); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::legacy_from_identity_binary(this), + _Internal::legacy_from_identity_binary(this).GetCachedSize(), target, stream); + } + + // optional fixed64 routing_secret = 14; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_routing_secret(), target); + } + + // optional string from_identity_string = 15; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_from_identity_string().data(), static_cast(this->_internal_from_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramConnectionClosed.from_identity_string"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_from_identity_string(), target); + } + + // optional bool not_primary_session = 16; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_not_primary_session(), target); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(17, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional bool not_primary_transport = 19; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_not_primary_transport(), target); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(21, _Internal::p2p_routing_summary(this), + _Internal::p2p_routing_summary(this).GetCachedSize(), target, stream); + } + + // optional bool relay_override_active = 22; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(22, this->_internal_relay_override_active(), 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:CMsgSteamDatagramConnectionClosed) + return target; +} + +size_t CMsgSteamDatagramConnectionClosed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionClosed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string debug = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_debug()); + } + + // optional bytes forward_target_relay_routing_token = 11; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_forward_target_relay_routing_token()); + } + + // optional string from_identity_string = 15; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_from_identity_string()); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.legacy_from_identity_binary_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.p2p_routing_summary_); + } + + // optional fixed64 legacy_from_steam_id = 3; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 8; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 legacy_gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_gameserver_relay_session_id()); + } + + // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_relay_mode()); + } + + // optional uint32 reason_code = 6; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); + } + + // optional fixed32 to_connection_id = 7; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 4; + } + + // optional fixed32 from_connection_id = 8; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 4; + } + + // optional fixed32 to_relay_session_id = 9; + if (cached_has_bits & 0x00002000u) { + total_size += 1 + 4; + } + + // optional fixed32 from_relay_session_id = 10; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + // optional uint32 forward_target_revision = 12; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forward_target_revision()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional fixed64 routing_secret = 14; + if (cached_has_bits & 0x00010000u) { + total_size += 1 + 8; + } + + // optional bool not_primary_session = 16; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + 1; + } + + // optional bool not_primary_transport = 19; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + 1; + } + + // optional bool relay_override_active = 22; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionClosed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionClosed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionClosed::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionClosed::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:CMsgSteamDatagramConnectionClosed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_debug(from._internal_debug()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_forward_target_relay_routing_token(from._internal_forward_target_relay_routing_token()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_from_identity_string(from._internal_from_identity_string()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_legacy_from_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( + from._internal_legacy_from_identity_binary()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( + from._internal_p2p_routing_summary()); + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.legacy_from_steam_id_ = from._impl_.legacy_from_steam_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.legacy_gameserver_relay_session_id_ = from._impl_.legacy_gameserver_relay_session_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.relay_mode_ = from._impl_.relay_mode_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.reason_code_ = from._impl_.reason_code_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.to_relay_session_id_ = from._impl_.to_relay_session_id_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.forward_target_revision_ = from._impl_.forward_target_revision_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.routing_secret_ = from._impl_.routing_secret_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.not_primary_session_ = from._impl_.not_primary_session_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.not_primary_transport_ = from._impl_.not_primary_transport_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionClosed::CopyFrom(const CMsgSteamDatagramConnectionClosed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionClosed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionClosed::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionClosed::InternalSwap(CMsgSteamDatagramConnectionClosed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.debug_, lhs_arena, + &other->_impl_.debug_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.forward_target_relay_routing_token_, lhs_arena, + &other->_impl_.forward_target_relay_routing_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.from_identity_string_, lhs_arena, + &other->_impl_.from_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionClosed, _impl_.relay_override_active_) + + sizeof(CMsgSteamDatagramConnectionClosed::_impl_.relay_override_active_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_identity_binary_)>( + reinterpret_cast(&_impl_.legacy_from_identity_binary_), + reinterpret_cast(&other->_impl_.legacy_from_identity_binary_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionClosed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[22]); +} + +// =================================================================== + +class CMsgSteamDatagramNoConnection::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_to_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_legacy_gameserver_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_to_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_from_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_from_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_from_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_end_to_end(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_not_primary_session(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_not_primary_transport(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_relay_override_active(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramNoConnection* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramNoConnection* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramNoConnection* msg); + static void set_has_p2p_routing_summary(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_dummy_pad(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramNoConnection::_Internal::quality_relay(const CMsgSteamDatagramNoConnection* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramNoConnection::_Internal::quality_e2e(const CMsgSteamDatagramNoConnection* msg) { + return *msg->_impl_.quality_e2e_; +} +const ::CMsgSteamDatagramP2PRoutingSummary& +CMsgSteamDatagramNoConnection::_Internal::p2p_routing_summary(const CMsgSteamDatagramNoConnection* msg) { + return *msg->_impl_.p2p_routing_summary_; +} +void CMsgSteamDatagramNoConnection::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgSteamDatagramNoConnection::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection(::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:CMsgSteamDatagramNoConnection) +} +CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection(const CMsgSteamDatagramNoConnection& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramNoConnection* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_identity_string_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.legacy_from_steam_id_){} + , decltype(_impl_.legacy_gameserver_relay_session_id_){} + , decltype(_impl_.to_connection_id_){} + , decltype(_impl_.from_connection_id_){} + , decltype(_impl_.to_relay_session_id_){} + , decltype(_impl_.routing_secret_){} + , decltype(_impl_.from_relay_session_id_){} + , decltype(_impl_.end_to_end_){} + , decltype(_impl_.not_primary_session_){} + , decltype(_impl_.not_primary_transport_){} + , decltype(_impl_.relay_override_active_){} + , decltype(_impl_.dummy_pad_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.from_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_from_identity_string()) { + _this->_impl_.from_identity_string_.Set(from._internal_from_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + if (from._internal_has_p2p_routing_summary()) { + _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); + } + ::memcpy(&_impl_.legacy_from_steam_id_, &from._impl_.legacy_from_steam_id_, + static_cast(reinterpret_cast(&_impl_.dummy_pad_) - + reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.dummy_pad_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoConnection) +} + +inline void CMsgSteamDatagramNoConnection::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_identity_string_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.legacy_from_steam_id_){uint64_t{0u}} + , decltype(_impl_.legacy_gameserver_relay_session_id_){0u} + , decltype(_impl_.to_connection_id_){0u} + , decltype(_impl_.from_connection_id_){0u} + , decltype(_impl_.to_relay_session_id_){0u} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + , decltype(_impl_.from_relay_session_id_){0u} + , decltype(_impl_.end_to_end_){false} + , decltype(_impl_.not_primary_session_){false} + , decltype(_impl_.not_primary_transport_){false} + , decltype(_impl_.relay_override_active_){false} + , decltype(_impl_.dummy_pad_){0u} + }; + _impl_.from_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramNoConnection::~CMsgSteamDatagramNoConnection() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoConnection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramNoConnection::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.from_identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; + if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; +} + +void CMsgSteamDatagramNoConnection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramNoConnection::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoConnection) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.from_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); + _impl_.p2p_routing_summary_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.legacy_from_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.from_connection_id_) - + reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.from_connection_id_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.to_relay_session_id_, 0, static_cast( + reinterpret_cast(&_impl_.dummy_pad_) - + reinterpret_cast(&_impl_.to_relay_session_id_)) + sizeof(_impl_.dummy_pad_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramNoConnection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 legacy_gameserver_relay_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_legacy_gameserver_relay_session_id(&has_bits); + _impl_.legacy_gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_from_steam_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_from_steam_id(&has_bits); + _impl_.legacy_from_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool end_to_end = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_end_to_end(&has_bits); + _impl_.end_to_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 to_connection_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_to_connection_id(&has_bits); + _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_connection_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string from_identity_string = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_from_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramNoConnection.from_identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed32 to_relay_session_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_to_relay_session_id(&has_bits); + _impl_.to_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_relay_session_id = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_from_relay_session_id(&has_bits); + _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool not_primary_session = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_not_primary_session(&has_bits); + _impl_.not_primary_session_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool not_primary_transport = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_not_primary_transport(&has_bits); + _impl_.not_primary_transport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool relay_override_active = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_relay_override_active(&has_bits); + _impl_.relay_override_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 dummy_pad = 1023; + case 1023: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 253)) { + _Internal::set_has_dummy_pad(&has_bits); + _impl_.dummy_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramNoConnection::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoConnection) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 legacy_gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_legacy_gameserver_relay_session_id(), target); + } + + // optional fixed64 legacy_from_steam_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_from_steam_id(), target); + } + + // optional bool end_to_end = 4; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_end_to_end(), target); + } + + // optional fixed32 to_connection_id = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_to_connection_id(), target); + } + + // optional fixed32 from_connection_id = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_from_connection_id(), target); + } + + // optional string from_identity_string = 7; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_from_identity_string().data(), static_cast(this->_internal_from_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramNoConnection.from_identity_string"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_from_identity_string(), target); + } + + // optional fixed32 to_relay_session_id = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_to_relay_session_id(), target); + } + + // optional fixed32 from_relay_session_id = 10; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_from_relay_session_id(), target); + } + + // optional fixed64 routing_secret = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_routing_secret(), target); + } + + // optional bool not_primary_session = 12; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_not_primary_session(), target); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional bool not_primary_transport = 15; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_not_primary_transport(), target); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(16, _Internal::p2p_routing_summary(this), + _Internal::p2p_routing_summary(this).GetCachedSize(), target, stream); + } + + // optional bool relay_override_active = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_relay_override_active(), target); + } + + // optional fixed32 dummy_pad = 1023; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1023, this->_internal_dummy_pad(), 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:CMsgSteamDatagramNoConnection) + return target; +} + +size_t CMsgSteamDatagramNoConnection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoConnection) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string from_identity_string = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_from_identity_string()); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.p2p_routing_summary_); + } + + // optional fixed64 legacy_from_steam_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 legacy_gameserver_relay_session_id = 2; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_gameserver_relay_session_id()); + } + + // optional fixed32 to_connection_id = 5; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional fixed32 from_connection_id = 6; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional fixed32 to_relay_session_id = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional fixed64 routing_secret = 11; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 8; + } + + // optional fixed32 from_relay_session_id = 10; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional bool end_to_end = 4; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 1; + } + + // optional bool not_primary_session = 12; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 1; + } + + // optional bool not_primary_transport = 15; + if (cached_has_bits & 0x00002000u) { + total_size += 1 + 1; + } + + // optional bool relay_override_active = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + 1; + } + + // optional fixed32 dummy_pad = 1023; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoConnection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramNoConnection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoConnection::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramNoConnection::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:CMsgSteamDatagramNoConnection) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_from_identity_string(from._internal_from_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( + from._internal_p2p_routing_summary()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_from_steam_id_ = from._impl_.legacy_from_steam_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_gameserver_relay_session_id_ = from._impl_.legacy_gameserver_relay_session_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.to_relay_session_id_ = from._impl_.to_relay_session_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.routing_secret_ = from._impl_.routing_secret_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.end_to_end_ = from._impl_.end_to_end_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.not_primary_session_ = from._impl_.not_primary_session_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.not_primary_transport_ = from._impl_.not_primary_transport_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.dummy_pad_ = from._impl_.dummy_pad_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramNoConnection::CopyFrom(const CMsgSteamDatagramNoConnection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoConnection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramNoConnection::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramNoConnection::InternalSwap(CMsgSteamDatagramNoConnection* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.from_identity_string_, lhs_arena, + &other->_impl_.from_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoConnection, _impl_.dummy_pad_) + + sizeof(CMsgSteamDatagramNoConnection::_impl_.dummy_pad_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoConnection, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoConnection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[23]); +} + +// =================================================================== + +class CMsgSteamDatagramGameserverSessionRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_challenge_time(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_server_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_network_config_version(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_platform(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_build(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_dev_gameserver_identity(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamDatagramCertificateSigned& dev_client_cert(const CMsgSteamDatagramGameserverSessionRequest* msg); + static void set_has_dev_client_cert(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramGameserverSessionRequest::_Internal::dev_client_cert(const CMsgSteamDatagramGameserverSessionRequest* msg) { + return *msg->_impl_.dev_client_cert_; +} +void CMsgSteamDatagramGameserverSessionRequest::clear_dev_client_cert() { + if (_impl_.dev_client_cert_ != nullptr) _impl_.dev_client_cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest(::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:CMsgSteamDatagramGameserverSessionRequest) +} +CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest(const CMsgSteamDatagramGameserverSessionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameserverSessionRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.build_){} + , decltype(_impl_.dev_gameserver_identity_){} + , decltype(_impl_.dev_client_cert_){nullptr} + , decltype(_impl_.challenge_){} + , decltype(_impl_.challenge_time_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.network_config_version_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.server_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ticket()) { + _this->_impl_.ticket_.Set(from._internal_ticket(), + _this->GetArenaForAllocation()); + } + _impl_.platform_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.platform_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_platform()) { + _this->_impl_.platform_.Set(from._internal_platform(), + _this->GetArenaForAllocation()); + } + _impl_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_build()) { + _this->_impl_.build_.Set(from._internal_build(), + _this->GetArenaForAllocation()); + } + _impl_.dev_gameserver_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dev_gameserver_identity()) { + _this->_impl_.dev_gameserver_identity_.Set(from._internal_dev_gameserver_identity(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_dev_client_cert()) { + _this->_impl_.dev_client_cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.dev_client_cert_); + } + ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, + static_cast(reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.server_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverSessionRequest) +} + +inline void CMsgSteamDatagramGameserverSessionRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ticket_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.build_){} + , decltype(_impl_.dev_gameserver_identity_){} + , decltype(_impl_.dev_client_cert_){nullptr} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.challenge_time_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.network_config_version_){uint64_t{0u}} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.server_connection_id_){0u} + }; + _impl_.ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ticket_.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_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_gameserver_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameserverSessionRequest::~CMsgSteamDatagramGameserverSessionRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverSessionRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameserverSessionRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ticket_.Destroy(); + _impl_.platform_.Destroy(); + _impl_.build_.Destroy(); + _impl_.dev_gameserver_identity_.Destroy(); + if (this != internal_default_instance()) delete _impl_.dev_client_cert_; +} + +void CMsgSteamDatagramGameserverSessionRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameserverSessionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverSessionRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.ticket_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.platform_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.build_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.dev_gameserver_identity_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.dev_client_cert_ != nullptr); + _impl_.dev_client_cert_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.challenge_, 0, static_cast( + reinterpret_cast(&_impl_.client_connection_id_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.client_connection_id_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.network_config_version_, 0, static_cast( + reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.network_config_version_)) + sizeof(_impl_.server_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameserverSessionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes ticket = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_ticket(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 challenge_time = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_challenge_time(&has_bits); + _impl_.challenge_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint64 network_config_version = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_network_config_version(&has_bits); + _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_connection_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_server_connection_id(&has_bits); + _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string platform = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_platform(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.platform"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string build = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_build(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.build"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string dev_gameserver_identity = 100; + case 100: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_dev_gameserver_identity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; + case 101: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_dev_client_cert(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameserverSessionRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverSessionRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes ticket = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_ticket(), target); + } + + // optional fixed32 challenge_time = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_challenge_time(), target); + } + + // optional fixed64 challenge = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_challenge(), target); + } + + // optional fixed32 client_connection_id = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_client_connection_id(), target); + } + + // optional uint64 network_config_version = 6; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_network_config_version(), target); + } + + // optional uint32 protocol_version = 7; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_protocol_version(), target); + } + + // optional fixed32 server_connection_id = 8; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_server_connection_id(), target); + } + + // optional string platform = 9; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_platform().data(), static_cast(this->_internal_platform().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameserverSessionRequest.platform"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_platform(), target); + } + + // optional string build = 10; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_build().data(), static_cast(this->_internal_build().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameserverSessionRequest.build"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_build(), target); + } + + // optional string dev_gameserver_identity = 100; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_dev_gameserver_identity().data(), static_cast(this->_internal_dev_gameserver_identity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity"); + target = stream->WriteStringMaybeAliased( + 100, this->_internal_dev_gameserver_identity(), target); + } + + // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(101, _Internal::dev_client_cert(this), + _Internal::dev_client_cert(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:CMsgSteamDatagramGameserverSessionRequest) + return target; +} + +size_t CMsgSteamDatagramGameserverSessionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverSessionRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes ticket = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_ticket()); + } + + // optional string platform = 9; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_platform()); + } + + // optional string build = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_build()); + } + + // optional string dev_gameserver_identity = 100; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dev_gameserver_identity()); + } + + // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dev_client_cert_); + } + + // optional fixed64 challenge = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional fixed32 challenge_time = 3; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional fixed32 client_connection_id = 5; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000700u) { + // optional uint64 network_config_version = 6; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); + } + + // optional uint32 protocol_version = 7; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional fixed32 server_connection_id = 8; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverSessionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameserverSessionRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverSessionRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameserverSessionRequest::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:CMsgSteamDatagramGameserverSessionRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_ticket(from._internal_ticket()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_platform(from._internal_platform()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_build(from._internal_build()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_dev_gameserver_identity(from._internal_dev_gameserver_identity()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_dev_client_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_dev_client_cert()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.challenge_time_ = from._impl_.challenge_time_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.network_config_version_ = from._impl_.network_config_version_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameserverSessionRequest::CopyFrom(const CMsgSteamDatagramGameserverSessionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverSessionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameserverSessionRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameserverSessionRequest::InternalSwap(CMsgSteamDatagramGameserverSessionRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ticket_, lhs_arena, + &other->_impl_.ticket_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.platform_, lhs_arena, + &other->_impl_.platform_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.build_, lhs_arena, + &other->_impl_.build_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dev_gameserver_identity_, lhs_arena, + &other->_impl_.dev_gameserver_identity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionRequest, _impl_.server_connection_id_) + + sizeof(CMsgSteamDatagramGameserverSessionRequest::_impl_.server_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_client_cert_)>( + reinterpret_cast(&_impl_.dev_client_cert_), + reinterpret_cast(&other->_impl_.dev_client_cert_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverSessionRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[24]); +} + +// =================================================================== + +class CMsgSteamDatagramGameserverSessionEstablished::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_gameserver_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seq_num_r2c(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_dummy_legacy_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_gameserver_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished(::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:CMsgSteamDatagramGameserverSessionEstablished) +} +CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished(const CMsgSteamDatagramGameserverSessionEstablished& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramGameserverSessionEstablished* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_identity_string_){} + , decltype(_impl_.dummy_legacy_identity_binary_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.legacy_gameserver_steamid_){} + , decltype(_impl_.seq_num_r2c_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.gameserver_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_gameserver_identity_string()) { + _this->_impl_.gameserver_identity_string_.Set(from._internal_gameserver_identity_string(), + _this->GetArenaForAllocation()); + } + _impl_.dummy_legacy_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dummy_legacy_identity_binary()) { + _this->_impl_.dummy_legacy_identity_binary_.Set(from._internal_dummy_legacy_identity_binary(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.seq_num_r2c_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverSessionEstablished) +} + +inline void CMsgSteamDatagramGameserverSessionEstablished::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_identity_string_){} + , decltype(_impl_.dummy_legacy_identity_binary_){} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.legacy_gameserver_steamid_){uint64_t{0u}} + , decltype(_impl_.seq_num_r2c_){0u} + }; + _impl_.gameserver_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_legacy_identity_binary_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramGameserverSessionEstablished::~CMsgSteamDatagramGameserverSessionEstablished() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverSessionEstablished) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramGameserverSessionEstablished::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gameserver_identity_string_.Destroy(); + _impl_.dummy_legacy_identity_binary_.Destroy(); +} + +void CMsgSteamDatagramGameserverSessionEstablished::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramGameserverSessionEstablished::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverSessionEstablished) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.gameserver_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.dummy_legacy_identity_binary_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.seq_num_r2c_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramGameserverSessionEstablished::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string gameserver_identity_string = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_gameserver_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_gameserver_steamid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_gameserver_steamid(&has_bits); + _impl_.legacy_gameserver_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_r2c = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_seq_num_r2c(&has_bits); + _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes dummy_legacy_identity_binary = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_dummy_legacy_identity_binary(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramGameserverSessionEstablished::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverSessionEstablished) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional string gameserver_identity_string = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_gameserver_identity_string().data(), static_cast(this->_internal_gameserver_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_gameserver_identity_string(), target); + } + + // optional fixed64 legacy_gameserver_steamid = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_gameserver_steamid(), target); + } + + // optional uint32 seconds_until_shutdown = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seconds_until_shutdown(), target); + } + + // optional uint32 seq_num_r2c = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seq_num_r2c(), target); + } + + // optional bytes dummy_legacy_identity_binary = 7; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 7, this->_internal_dummy_legacy_identity_binary(), 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:CMsgSteamDatagramGameserverSessionEstablished) + return target; +} + +size_t CMsgSteamDatagramGameserverSessionEstablished::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverSessionEstablished) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string gameserver_identity_string = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gameserver_identity_string()); + } + + // optional bytes dummy_legacy_identity_binary = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_dummy_legacy_identity_binary()); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 seconds_until_shutdown = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional fixed64 legacy_gameserver_steamid = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 seq_num_r2c = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverSessionEstablished::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramGameserverSessionEstablished::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverSessionEstablished::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramGameserverSessionEstablished::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:CMsgSteamDatagramGameserverSessionEstablished) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_gameserver_identity_string(from._internal_gameserver_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_dummy_legacy_identity_binary(from._internal_dummy_legacy_identity_binary()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_gameserver_steamid_ = from._impl_.legacy_gameserver_steamid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramGameserverSessionEstablished::CopyFrom(const CMsgSteamDatagramGameserverSessionEstablished& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverSessionEstablished) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramGameserverSessionEstablished::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramGameserverSessionEstablished::InternalSwap(CMsgSteamDatagramGameserverSessionEstablished* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gameserver_identity_string_, lhs_arena, + &other->_impl_.gameserver_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dummy_legacy_identity_binary_, lhs_arena, + &other->_impl_.dummy_legacy_identity_binary_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionEstablished, _impl_.seq_num_r2c_) + + sizeof(CMsgSteamDatagramGameserverSessionEstablished::_impl_.seq_num_r2c_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionEstablished, _impl_.connection_id_)>( + reinterpret_cast(&_impl_.connection_id_), + reinterpret_cast(&other->_impl_.connection_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverSessionEstablished::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[25]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsClientToRouter::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsClientToRouter* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsClientToRouter* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seq_num_c2r(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsClientToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsClientToRouter* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsClientToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsClientToRouter* msg) { + return *msg->_impl_.quality_e2e_; +} +void CMsgSteamDatagramConnectionStatsClientToRouter::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgSteamDatagramConnectionStatsClientToRouter::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter(::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:CMsgSteamDatagramConnectionStatsClientToRouter) +} +CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter(const CMsgSteamDatagramConnectionStatsClientToRouter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsClientToRouter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.flags_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.seq_num_c2r_){} + , decltype(_impl_.seq_num_e2e_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + ::memcpy(&_impl_.flags_, &from._impl_.flags_, + static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsClientToRouter) +} + +inline void CMsgSteamDatagramConnectionStatsClientToRouter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.seq_num_c2r_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + }; +} + +CMsgSteamDatagramConnectionStatsClientToRouter::~CMsgSteamDatagramConnectionStatsClientToRouter() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsClientToRouter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsClientToRouter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; +} + +void CMsgSteamDatagramConnectionStatsClientToRouter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsClientToRouter::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsClientToRouter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.flags_, 0, static_cast( + reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsClientToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_c2r = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_seq_num_c2r(&has_bits); + _impl_.seq_num_c2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsClientToRouter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsClientToRouter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // repeated fixed32 ack_relay = 4; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 5; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 6; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_flags(), target); + } + + // optional fixed32 client_connection_id = 8; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_client_connection_id(), target); + } + + // optional uint32 seq_num_c2r = 9; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_seq_num_c2r(), target); + } + + // optional uint32 seq_num_e2e = 10; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_seq_num_e2e(), 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:CMsgSteamDatagramConnectionStatsClientToRouter) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsClientToRouter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsClientToRouter) + 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 fixed32 ack_relay = 4; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 5; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional uint32 flags = 6; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional fixed32 client_connection_id = 8; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional uint32 seq_num_c2r = 9; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_c2r()); + } + + // optional uint32 seq_num_e2e = 10; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsClientToRouter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsClientToRouter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsClientToRouter::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsClientToRouter::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:CMsgSteamDatagramConnectionStatsClientToRouter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.seq_num_c2r_ = from._impl_.seq_num_c2r_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsClientToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsClientToRouter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsClientToRouter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsClientToRouter::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsClientToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsClientToRouter* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_e2e_) + + sizeof(CMsgSteamDatagramConnectionStatsClientToRouter::_impl_.seq_num_e2e_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsClientToRouter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[26]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsRouterToClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsRouterToClient* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToClient* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_migrate_request_ip(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_migrate_request_port(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seq_num_r2c(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsRouterToClient::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsRouterToClient* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsRouterToClient::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToClient* msg) { + return *msg->_impl_.quality_e2e_; +} +void CMsgSteamDatagramConnectionStatsRouterToClient::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgSteamDatagramConnectionStatsRouterToClient::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient(::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:CMsgSteamDatagramConnectionStatsRouterToClient) +} +CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient(const CMsgSteamDatagramConnectionStatsRouterToClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsRouterToClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.seq_num_r2c_){} + , decltype(_impl_.seq_num_e2e_){} + , decltype(_impl_.migrate_request_ip_){} + , decltype(_impl_.migrate_request_port_){} + , decltype(_impl_.scoring_penalty_relay_cluster_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + ::memcpy(&_impl_.seconds_until_shutdown_, &from._impl_.seconds_until_shutdown_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsRouterToClient) +} + +inline void CMsgSteamDatagramConnectionStatsRouterToClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.seq_num_r2c_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + , decltype(_impl_.migrate_request_ip_){0u} + , decltype(_impl_.migrate_request_port_){0u} + , decltype(_impl_.scoring_penalty_relay_cluster_){0u} + , decltype(_impl_.flags_){0u} + }; +} + +CMsgSteamDatagramConnectionStatsRouterToClient::~CMsgSteamDatagramConnectionStatsRouterToClient() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsRouterToClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsRouterToClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; +} + +void CMsgSteamDatagramConnectionStatsRouterToClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsRouterToClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsRouterToClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.seconds_until_shutdown_, 0, static_cast( + reinterpret_cast(&_impl_.migrate_request_port_) - + reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.migrate_request_port_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.scoring_penalty_relay_cluster_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.scoring_penalty_relay_cluster_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_r2c = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_seq_num_r2c(&has_bits); + _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 migrate_request_ip = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_migrate_request_ip(&has_bits); + _impl_.migrate_request_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 migrate_request_port = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_migrate_request_port(&has_bits); + _impl_.migrate_request_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 scoring_penalty_relay_cluster = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); + _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<109>(ptr)); + } else if (static_cast(tag) == 106) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<117>(ptr)); + } else if (static_cast(tag) == 114) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsRouterToClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsRouterToClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional uint32 seconds_until_shutdown = 6; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seconds_until_shutdown(), target); + } + + // optional fixed32 client_connection_id = 7; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_client_connection_id(), target); + } + + // optional uint32 seq_num_r2c = 8; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_seq_num_r2c(), target); + } + + // optional uint32 seq_num_e2e = 9; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_seq_num_e2e(), target); + } + + // optional fixed32 migrate_request_ip = 10; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_migrate_request_ip(), target); + } + + // optional uint32 migrate_request_port = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_migrate_request_port(), target); + } + + // optional uint32 scoring_penalty_relay_cluster = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_scoring_penalty_relay_cluster(), target); + } + + // repeated fixed32 ack_relay = 13; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 14; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 15; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_flags(), 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:CMsgSteamDatagramConnectionStatsRouterToClient) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsRouterToClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsRouterToClient) + 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 fixed32 ack_relay = 13; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 14; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional uint32 seconds_until_shutdown = 6; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional fixed32 client_connection_id = 7; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional uint32 seq_num_r2c = 8; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); + } + + // optional uint32 seq_num_e2e = 9; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + // optional fixed32 migrate_request_ip = 10; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 migrate_request_port = 11; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_migrate_request_port()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional uint32 scoring_penalty_relay_cluster = 12; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); + } + + // optional uint32 flags = 15; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsRouterToClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsRouterToClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsRouterToClient::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsRouterToClient::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:CMsgSteamDatagramConnectionStatsRouterToClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.migrate_request_ip_ = from._impl_.migrate_request_ip_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.migrate_request_port_ = from._impl_.migrate_request_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsRouterToClient::CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsRouterToClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsRouterToClient::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsRouterToClient::InternalSwap(CMsgSteamDatagramConnectionStatsRouterToClient* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.flags_) + + sizeof(CMsgSteamDatagramConnectionStatsRouterToClient::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsRouterToClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[27]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsRouterToServer::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsRouterToServer* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToServer* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_seq_num_r2s(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_client_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_client_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_server_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_routing_secret(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsRouterToServer::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsRouterToServer* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsRouterToServer::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToServer* msg) { + return *msg->_impl_.quality_e2e_; +} +void CMsgSteamDatagramConnectionStatsRouterToServer::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgSteamDatagramConnectionStatsRouterToServer::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer(::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:CMsgSteamDatagramConnectionStatsRouterToServer) +} +CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer(const CMsgSteamDatagramConnectionStatsRouterToServer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsRouterToServer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.client_identity_string_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seq_num_r2s_){} + , decltype(_impl_.seq_num_e2e_){} + , decltype(_impl_.legacy_client_steam_id_){} + , decltype(_impl_.relay_session_id_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.server_connection_id_){} + , decltype(_impl_.routing_secret_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.client_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_client_identity_string()) { + _this->_impl_.client_identity_string_.Set(from._internal_client_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + ::memcpy(&_impl_.seq_num_r2s_, &from._impl_.seq_num_r2s_, + static_cast(reinterpret_cast(&_impl_.routing_secret_) - + reinterpret_cast(&_impl_.seq_num_r2s_)) + sizeof(_impl_.routing_secret_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsRouterToServer) +} + +inline void CMsgSteamDatagramConnectionStatsRouterToServer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.client_identity_string_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seq_num_r2s_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} + , decltype(_impl_.relay_session_id_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.server_connection_id_){0u} + , decltype(_impl_.routing_secret_){uint64_t{0u}} + }; + _impl_.client_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramConnectionStatsRouterToServer::~CMsgSteamDatagramConnectionStatsRouterToServer() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsRouterToServer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsRouterToServer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + _impl_.client_identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; +} + +void CMsgSteamDatagramConnectionStatsRouterToServer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsRouterToServer::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsRouterToServer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.client_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.seq_num_r2s_, 0, static_cast( + reinterpret_cast(&_impl_.client_connection_id_) - + reinterpret_cast(&_impl_.seq_num_r2s_)) + sizeof(_impl_.client_connection_id_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.flags_, 0, static_cast( + reinterpret_cast(&_impl_.routing_secret_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.routing_secret_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsRouterToServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_r2s = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_seq_num_r2s(&has_bits); + _impl_.seq_num_r2s_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_client_steam_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 57)) { + _Internal::set_has_legacy_client_steam_id(&has_bits); + _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 relay_session_id = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_relay_session_id(&has_bits); + _impl_.relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<85>(ptr)); + } else if (static_cast(tag) == 82) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<93>(ptr)); + } else if (static_cast(tag) == 90) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_connection_id = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + _Internal::set_has_server_connection_id(&has_bits); + _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 routing_secret = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { + _Internal::set_has_routing_secret(&has_bits); + _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string client_identity_string = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_client_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsRouterToServer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsRouterToServer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional uint32 seq_num_r2s = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seq_num_r2s(), target); + } + + // optional uint32 seq_num_e2e = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seq_num_e2e(), target); + } + + // optional fixed64 legacy_client_steam_id = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(7, this->_internal_legacy_client_steam_id(), target); + } + + // optional uint32 relay_session_id = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_relay_session_id(), target); + } + + // optional fixed32 client_connection_id = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_client_connection_id(), target); + } + + // repeated fixed32 ack_relay = 10; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 11; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), target); + } + + // optional fixed32 server_connection_id = 13; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_server_connection_id(), target); + } + + // optional fixed64 routing_secret = 14; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_routing_secret(), target); + } + + // optional string client_identity_string = 15; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_client_identity_string().data(), static_cast(this->_internal_client_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_client_identity_string(), 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:CMsgSteamDatagramConnectionStatsRouterToServer) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsRouterToServer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsRouterToServer) + 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 fixed32 ack_relay = 10; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 11; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string client_identity_string = 15; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_client_identity_string()); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional uint32 seq_num_r2s = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2s()); + } + + // optional uint32 seq_num_e2e = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + // optional fixed64 legacy_client_steam_id = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional uint32 relay_session_id = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_session_id()); + } + + // optional fixed32 client_connection_id = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000700u) { + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional fixed32 server_connection_id = 13; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional fixed64 routing_secret = 14; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsRouterToServer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsRouterToServer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsRouterToServer::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsRouterToServer::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:CMsgSteamDatagramConnectionStatsRouterToServer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_client_identity_string(from._internal_client_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seq_num_r2s_ = from._impl_.seq_num_r2s_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.relay_session_id_ = from._impl_.relay_session_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.routing_secret_ = from._impl_.routing_secret_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsRouterToServer::CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToServer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsRouterToServer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsRouterToServer::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsRouterToServer::InternalSwap(CMsgSteamDatagramConnectionStatsRouterToServer* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.client_identity_string_, lhs_arena, + &other->_impl_.client_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.routing_secret_) + + sizeof(CMsgSteamDatagramConnectionStatsRouterToServer::_impl_.routing_secret_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsRouterToServer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[28]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsServerToRouter::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsServerToRouter* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsServerToRouter* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_seq_num_s2r(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_relay_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_server_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsServerToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsServerToRouter* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsServerToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsServerToRouter* msg) { + return *msg->_impl_.quality_e2e_; +} +void CMsgSteamDatagramConnectionStatsServerToRouter::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgSteamDatagramConnectionStatsServerToRouter::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter(::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:CMsgSteamDatagramConnectionStatsServerToRouter) +} +CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter(const CMsgSteamDatagramConnectionStatsServerToRouter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsServerToRouter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seq_num_s2r_){} + , decltype(_impl_.seq_num_e2e_){} + , decltype(_impl_.relay_session_id_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.server_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + ::memcpy(&_impl_.seq_num_s2r_, &from._impl_.seq_num_s2r_, + static_cast(reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.seq_num_s2r_)) + sizeof(_impl_.server_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsServerToRouter) +} + +inline void CMsgSteamDatagramConnectionStatsServerToRouter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seq_num_s2r_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + , decltype(_impl_.relay_session_id_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.server_connection_id_){0u} + }; +} + +CMsgSteamDatagramConnectionStatsServerToRouter::~CMsgSteamDatagramConnectionStatsServerToRouter() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsServerToRouter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsServerToRouter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; +} + +void CMsgSteamDatagramConnectionStatsServerToRouter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsServerToRouter::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsServerToRouter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.seq_num_s2r_, 0, static_cast( + reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.seq_num_s2r_)) + sizeof(_impl_.server_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsServerToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_s2r = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_seq_num_s2r(&has_bits); + _impl_.seq_num_s2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 relay_session_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_relay_session_id(&has_bits); + _impl_.relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<69>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<77>(ptr)); + } else if (static_cast(tag) == 74) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_connection_id = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_server_connection_id(&has_bits); + _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsServerToRouter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsServerToRouter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional uint32 seq_num_s2r = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seq_num_s2r(), target); + } + + // optional uint32 seq_num_e2e = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seq_num_e2e(), target); + } + + // optional uint32 relay_session_id = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_relay_session_id(), target); + } + + // optional fixed32 client_connection_id = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_client_connection_id(), target); + } + + // repeated fixed32 ack_relay = 8; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 9; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 10; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_flags(), target); + } + + // optional fixed32 server_connection_id = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_server_connection_id(), 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:CMsgSteamDatagramConnectionStatsServerToRouter) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsServerToRouter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsServerToRouter) + 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 fixed32 ack_relay = 8; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 9; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional uint32 seq_num_s2r = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_s2r()); + } + + // optional uint32 seq_num_e2e = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + // optional uint32 relay_session_id = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_session_id()); + } + + // optional fixed32 client_connection_id = 7; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 flags = 10; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional fixed32 server_connection_id = 11; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsServerToRouter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsServerToRouter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsServerToRouter::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsServerToRouter::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:CMsgSteamDatagramConnectionStatsServerToRouter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.seq_num_s2r_ = from._impl_.seq_num_s2r_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.relay_session_id_ = from._impl_.relay_session_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsServerToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsServerToRouter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsServerToRouter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsServerToRouter::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsServerToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsServerToRouter* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.server_connection_id_) + + sizeof(CMsgSteamDatagramConnectionStatsServerToRouter::_impl_.server_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsServerToRouter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[29]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_peer_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::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:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) +} +CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.peer_identity_string_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.peer_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_peer_identity_string()) { + _this->_impl_.peer_identity_string_.Set(from._internal_peer_identity_string(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) +} + +inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.peer_identity_string_){} + }; + _impl_.peer_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::~CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.peer_identity_string_.Destroy(); +} + +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.peer_identity_string_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string peer_identity_string = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_peer_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string peer_identity_string = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_peer_identity_string().data(), static_cast(this->_internal_peer_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_peer_identity_string(), 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:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + return target; +} + +size_t CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string peer_identity_string = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_peer_identity_string()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::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:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_peer_identity_string()) { + _this->_internal_set_peer_identity_string(from._internal_peer_identity_string()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::InternalSwap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.peer_identity_string_, lhs_arena, + &other->_impl_.peer_identity_string_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[30]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PSessionRequestBody::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_challenge_time(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_legacy_peer_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_peer_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_peer_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_encrypted_data(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_encryption_your_public_key_lead_byte(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_encryption_my_ephemeral_public_key(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_network_config_version(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_platform(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_build(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody(::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:CMsgSteamDatagramP2PSessionRequestBody) +} +CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody(const CMsgSteamDatagramP2PSessionRequestBody& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PSessionRequestBody* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.peer_identity_string_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.build_){} + , decltype(_impl_.encrypted_data_){} + , decltype(_impl_.encryption_my_ephemeral_public_key_){} + , decltype(_impl_.challenge_){} + , decltype(_impl_.challenge_time_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.legacy_peer_steam_id_){} + , decltype(_impl_.peer_connection_id_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.network_config_version_){} + , decltype(_impl_.encryption_your_public_key_lead_byte_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.peer_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_peer_identity_string()) { + _this->_impl_.peer_identity_string_.Set(from._internal_peer_identity_string(), + _this->GetArenaForAllocation()); + } + _impl_.platform_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.platform_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_platform()) { + _this->_impl_.platform_.Set(from._internal_platform(), + _this->GetArenaForAllocation()); + } + _impl_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_build()) { + _this->_impl_.build_.Set(from._internal_build(), + _this->GetArenaForAllocation()); + } + _impl_.encrypted_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_encrypted_data()) { + _this->_impl_.encrypted_data_.Set(from._internal_encrypted_data(), + _this->GetArenaForAllocation()); + } + _impl_.encryption_my_ephemeral_public_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_encryption_my_ephemeral_public_key()) { + _this->_impl_.encryption_my_ephemeral_public_key_.Set(from._internal_encryption_my_ephemeral_public_key(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, + static_cast(reinterpret_cast(&_impl_.encryption_your_public_key_lead_byte_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.encryption_your_public_key_lead_byte_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequestBody) +} + +inline void CMsgSteamDatagramP2PSessionRequestBody::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.peer_identity_string_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.build_){} + , decltype(_impl_.encrypted_data_){} + , decltype(_impl_.encryption_my_ephemeral_public_key_){} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.challenge_time_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.legacy_peer_steam_id_){uint64_t{0u}} + , decltype(_impl_.peer_connection_id_){0u} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.network_config_version_){uint64_t{0u}} + , decltype(_impl_.encryption_your_public_key_lead_byte_){0u} + }; + _impl_.peer_identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.peer_identity_string_.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_.build_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.build_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encryption_my_ephemeral_public_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PSessionRequestBody::~CMsgSteamDatagramP2PSessionRequestBody() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequestBody) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PSessionRequestBody::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.peer_identity_string_.Destroy(); + _impl_.platform_.Destroy(); + _impl_.build_.Destroy(); + _impl_.encrypted_data_.Destroy(); + _impl_.encryption_my_ephemeral_public_key_.Destroy(); +} + +void CMsgSteamDatagramP2PSessionRequestBody::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PSessionRequestBody::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequestBody) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.peer_identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.platform_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.build_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.encrypted_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.encryption_my_ephemeral_public_key_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.challenge_, 0, static_cast( + reinterpret_cast(&_impl_.client_connection_id_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.client_connection_id_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.legacy_peer_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.encryption_your_public_key_lead_byte_) - + reinterpret_cast(&_impl_.legacy_peer_steam_id_)) + sizeof(_impl_.encryption_your_public_key_lead_byte_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PSessionRequestBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 challenge_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_challenge_time(&has_bits); + _impl_.challenge_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_peer_steam_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_legacy_peer_steam_id(&has_bits); + _impl_.legacy_peer_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed32 peer_connection_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_peer_connection_id(&has_bits); + _impl_.peer_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 network_config_version = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_network_config_version(&has_bits); + _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string peer_identity_string = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_peer_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string platform = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_platform(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.platform"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string build = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_build(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.build"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes encrypted_data = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_encrypted_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 encryption_your_public_key_lead_byte = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_encryption_your_public_key_lead_byte(&has_bits); + _impl_.encryption_your_public_key_lead_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes encryption_my_ephemeral_public_key = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_encryption_my_ephemeral_public_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PSessionRequestBody::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequestBody) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 challenge_time = 1; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_challenge_time(), target); + } + + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); + } + + // optional fixed32 client_connection_id = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_client_connection_id(), target); + } + + // optional fixed64 legacy_peer_steam_id = 4; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_peer_steam_id(), target); + } + + // optional fixed32 peer_connection_id = 5; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_peer_connection_id(), target); + } + + // optional uint32 protocol_version = 8; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_protocol_version(), target); + } + + // optional uint64 network_config_version = 9; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_network_config_version(), target); + } + + // optional string peer_identity_string = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_peer_identity_string().data(), static_cast(this->_internal_peer_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_peer_identity_string(), target); + } + + // optional string platform = 12; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_platform().data(), static_cast(this->_internal_platform().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramP2PSessionRequestBody.platform"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_platform(), target); + } + + // optional string build = 13; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_build().data(), static_cast(this->_internal_build().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramP2PSessionRequestBody.build"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_build(), target); + } + + // optional bytes encrypted_data = 14; + if (cached_has_bits & 0x00000008u) { + target = stream->WriteBytesMaybeAliased( + 14, this->_internal_encrypted_data(), target); + } + + // optional uint32 encryption_your_public_key_lead_byte = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_encryption_your_public_key_lead_byte(), target); + } + + // optional bytes encryption_my_ephemeral_public_key = 16; + if (cached_has_bits & 0x00000010u) { + target = stream->WriteBytesMaybeAliased( + 16, this->_internal_encryption_my_ephemeral_public_key(), 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:CMsgSteamDatagramP2PSessionRequestBody) + return target; +} + +size_t CMsgSteamDatagramP2PSessionRequestBody::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequestBody) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string peer_identity_string = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_peer_identity_string()); + } + + // optional string platform = 12; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_platform()); + } + + // optional string build = 13; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_build()); + } + + // optional bytes encrypted_data = 14; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_encrypted_data()); + } + + // optional bytes encryption_my_ephemeral_public_key = 16; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_encryption_my_ephemeral_public_key()); + } + + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional fixed32 challenge_time = 1; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional fixed32 client_connection_id = 3; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional fixed64 legacy_peer_steam_id = 4; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 8; + } + + // optional fixed32 peer_connection_id = 5; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional uint32 protocol_version = 8; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional uint64 network_config_version = 9; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); + } + + // optional uint32 encryption_your_public_key_lead_byte = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_encryption_your_public_key_lead_byte()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequestBody::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PSessionRequestBody::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequestBody::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PSessionRequestBody::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:CMsgSteamDatagramP2PSessionRequestBody) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_peer_identity_string(from._internal_peer_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_platform(from._internal_platform()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_build(from._internal_build()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_encrypted_data(from._internal_encrypted_data()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_encryption_my_ephemeral_public_key(from._internal_encryption_my_ephemeral_public_key()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.challenge_time_ = from._impl_.challenge_time_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.legacy_peer_steam_id_ = from._impl_.legacy_peer_steam_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.peer_connection_id_ = from._impl_.peer_connection_id_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.network_config_version_ = from._impl_.network_config_version_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.encryption_your_public_key_lead_byte_ = from._impl_.encryption_your_public_key_lead_byte_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PSessionRequestBody::CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequestBody) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PSessionRequestBody::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PSessionRequestBody::InternalSwap(CMsgSteamDatagramP2PSessionRequestBody* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.peer_identity_string_, lhs_arena, + &other->_impl_.peer_identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.platform_, lhs_arena, + &other->_impl_.platform_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.build_, lhs_arena, + &other->_impl_.build_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.encrypted_data_, lhs_arena, + &other->_impl_.encrypted_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.encryption_my_ephemeral_public_key_, lhs_arena, + &other->_impl_.encryption_my_ephemeral_public_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_your_public_key_lead_byte_) + + sizeof(CMsgSteamDatagramP2PSessionRequestBody::_impl_.encryption_your_public_key_lead_byte_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_)>( + reinterpret_cast(&_impl_.challenge_), + reinterpret_cast(&other->_impl_.challenge_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequestBody::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[31]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PSessionRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramP2PSessionRequest* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_body(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamDatagramP2PSessionRequest::_Internal::cert(const CMsgSteamDatagramP2PSessionRequest* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamDatagramP2PSessionRequest::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest(::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:CMsgSteamDatagramP2PSessionRequest) +} +CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest(const CMsgSteamDatagramP2PSessionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PSessionRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.cert_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.body_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.body_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_body()) { + _this->_impl_.body_.Set(from._internal_body(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequest) +} + +inline void CMsgSteamDatagramP2PSessionRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.body_){} + , decltype(_impl_.signature_){} + , decltype(_impl_.cert_){nullptr} + }; + _impl_.body_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.body_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PSessionRequest::~CMsgSteamDatagramP2PSessionRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PSessionRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.body_.Destroy(); + _impl_.signature_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramP2PSessionRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PSessionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.body_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PSessionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes body = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_body(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PSessionRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional bytes body = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_body(), target); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_signature(), 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:CMsgSteamDatagramP2PSessionRequest) + return target; +} + +size_t CMsgSteamDatagramP2PSessionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bytes body = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_body()); + } + + // optional bytes signature = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PSessionRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PSessionRequest::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:CMsgSteamDatagramP2PSessionRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_body(from._internal_body()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PSessionRequest::CopyFrom(const CMsgSteamDatagramP2PSessionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PSessionRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PSessionRequest::InternalSwap(CMsgSteamDatagramP2PSessionRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.body_, lhs_arena, + &other->_impl_.body_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); + swap(_impl_.cert_, other->_impl_.cert_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[32]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PSessionEstablished::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_relay_routing_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_seq_num_r2c(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished(::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:CMsgSteamDatagramP2PSessionEstablished) +} +CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished(const CMsgSteamDatagramP2PSessionEstablished& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PSessionEstablished* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_routing_token_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.seq_num_r2c_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_relay_routing_token()) { + _this->_impl_.relay_routing_token_.Set(from._internal_relay_routing_token(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.seq_num_r2c_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionEstablished) +} + +inline void CMsgSteamDatagramP2PSessionEstablished::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_routing_token_){} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.seq_num_r2c_){0u} + }; + _impl_.relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PSessionEstablished::~CMsgSteamDatagramP2PSessionEstablished() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionEstablished) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PSessionEstablished::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.relay_routing_token_.Destroy(); +} + +void CMsgSteamDatagramP2PSessionEstablished::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PSessionEstablished::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionEstablished) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.relay_routing_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.seq_num_r2c_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PSessionEstablished::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes relay_routing_token = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_relay_routing_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_r2c = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_seq_num_r2c(&has_bits); + _impl_.seq_num_r2c_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PSessionEstablished::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionEstablished) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional uint32 seconds_until_shutdown = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds_until_shutdown(), target); + } + + // optional bytes relay_routing_token = 4; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_relay_routing_token(), target); + } + + // optional uint32 seq_num_r2c = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seq_num_r2c(), 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:CMsgSteamDatagramP2PSessionEstablished) + return target; +} + +size_t CMsgSteamDatagramP2PSessionEstablished::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionEstablished) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes relay_routing_token = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_relay_routing_token()); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 seconds_until_shutdown = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional uint32 seq_num_r2c = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionEstablished::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PSessionEstablished::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionEstablished::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PSessionEstablished::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:CMsgSteamDatagramP2PSessionEstablished) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_relay_routing_token(from._internal_relay_routing_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PSessionEstablished::CopyFrom(const CMsgSteamDatagramP2PSessionEstablished& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionEstablished) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PSessionEstablished::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PSessionEstablished::InternalSwap(CMsgSteamDatagramP2PSessionEstablished* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.relay_routing_token_, lhs_arena, + &other->_impl_.relay_routing_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionEstablished, _impl_.seq_num_r2c_) + + sizeof(CMsgSteamDatagramP2PSessionEstablished::_impl_.seq_num_r2c_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionEstablished, _impl_.connection_id_)>( + reinterpret_cast(&_impl_.connection_id_), + reinterpret_cast(&other->_impl_.connection_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionEstablished::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[33]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); + static void set_has_p2p_routing_summary(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_forward_target_relay_routing_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_forward_target_revision(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_routes(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ack_peer_routes_revision(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_seq_num_c2r(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { + return *msg->_impl_.quality_e2e_; +} +const ::CMsgSteamDatagramP2PRoutingSummary& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::p2p_routing_summary(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { + return *msg->_impl_.p2p_routing_summary_; +} +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter(::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:CMsgSteamDatagramConnectionStatsP2PClientToRouter) +} +CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsP2PClientToRouter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.forward_target_relay_routing_token_){} + , decltype(_impl_.routes_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.flags_){} + , decltype(_impl_.forward_target_revision_){} + , decltype(_impl_.ack_peer_routes_revision_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.seq_num_c2r_){} + , decltype(_impl_.seq_num_e2e_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.forward_target_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_forward_target_relay_routing_token()) { + _this->_impl_.forward_target_relay_routing_token_.Set(from._internal_forward_target_relay_routing_token(), + _this->GetArenaForAllocation()); + } + _impl_.routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_routes()) { + _this->_impl_.routes_.Set(from._internal_routes(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + if (from._internal_has_p2p_routing_summary()) { + _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); + } + ::memcpy(&_impl_.flags_, &from._impl_.flags_, + static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsP2PClientToRouter) +} + +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.forward_target_relay_routing_token_){} + , decltype(_impl_.routes_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.p2p_routing_summary_){nullptr} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.forward_target_revision_){0u} + , decltype(_impl_.ack_peer_routes_revision_){0u} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.seq_num_c2r_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + }; + _impl_.forward_target_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramConnectionStatsP2PClientToRouter::~CMsgSteamDatagramConnectionStatsP2PClientToRouter() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + _impl_.forward_target_relay_routing_token_.Destroy(); + _impl_.routes_.Destroy(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; + if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; +} + +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.forward_target_relay_routing_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.routes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); + _impl_.p2p_routing_summary_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.flags_, 0, static_cast( + reinterpret_cast(&_impl_.ack_peer_routes_revision_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.ack_peer_routes_revision_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_e2e_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<29>(ptr)); + } else if (static_cast(tag) == 26) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); + } else if (static_cast(tag) == 34) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes forward_target_relay_routing_token = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_forward_target_relay_routing_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 forward_target_revision = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_forward_target_revision(&has_bits); + _impl_.forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes routes = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_routes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ack_peer_routes_revision = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_ack_peer_routes_revision(&has_bits); + _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 connection_id = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_c2r = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_seq_num_c2r(&has_bits); + _impl_.seq_num_c2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // repeated fixed32 ack_relay = 3; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 4; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); + } + + // optional bytes forward_target_relay_routing_token = 6; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_forward_target_relay_routing_token(), target); + } + + // optional uint32 forward_target_revision = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_forward_target_revision(), target); + } + + // optional bytes routes = 8; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 8, this->_internal_routes(), target); + } + + // optional uint32 ack_peer_routes_revision = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_ack_peer_routes_revision(), target); + } + + // optional fixed32 connection_id = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_connection_id(), target); + } + + // optional uint32 seq_num_c2r = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_seq_num_c2r(), target); + } + + // optional uint32 seq_num_e2e = 12; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_seq_num_e2e(), target); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, _Internal::p2p_routing_summary(this), + _Internal::p2p_routing_summary(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:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + 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 fixed32 ack_relay = 3; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 4; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes forward_target_relay_routing_token = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_forward_target_relay_routing_token()); + } + + // optional bytes routes = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_routes()); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.p2p_routing_summary_); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 forward_target_revision = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forward_target_revision()); + } + + // optional uint32 ack_peer_routes_revision = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); + } + + } + if (cached_has_bits & 0x00000700u) { + // optional fixed32 connection_id = 10; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional uint32 seq_num_c2r = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_c2r()); + } + + // optional uint32 seq_num_e2e = 12; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsP2PClientToRouter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsP2PClientToRouter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsP2PClientToRouter::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::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:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_forward_target_relay_routing_token(from._internal_forward_target_relay_routing_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_routes(from._internal_routes()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( + from._internal_p2p_routing_summary()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.forward_target_revision_ = from._impl_.forward_target_revision_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.seq_num_c2r_ = from._impl_.seq_num_c2r_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.forward_target_relay_routing_token_, lhs_arena, + &other->_impl_.forward_target_relay_routing_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.routes_, lhs_arena, + &other->_impl_.routes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_e2e_) + + sizeof(CMsgSteamDatagramConnectionStatsP2PClientToRouter::_impl_.seq_num_e2e_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsP2PClientToRouter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[34]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg); + static void set_has_quality_relay(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg); + static void set_has_quality_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_seconds_until_shutdown(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_migrate_request_ip(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_migrate_request_port(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_ack_forward_target_revision(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_routes(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ack_peer_routes_revision(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_seq_num_r2c(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_seq_num_e2e(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg) { + return *msg->_impl_.quality_relay_; +} +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg) { + return *msg->_impl_.quality_e2e_; +} +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_quality_relay() { + if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_quality_e2e() { + if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient(::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:CMsgSteamDatagramConnectionStatsP2PRouterToClient) +} +CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionStatsP2PRouterToClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} + , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} + , decltype(_impl_.routes_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seconds_until_shutdown_){} + , decltype(_impl_.migrate_request_ip_){} + , decltype(_impl_.migrate_request_port_){} + , decltype(_impl_.scoring_penalty_relay_cluster_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.ack_forward_target_revision_){} + , decltype(_impl_.ack_peer_routes_revision_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.seq_num_r2c_){} + , decltype(_impl_.seq_num_e2e_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_routes()) { + _this->_impl_.routes_.Set(from._internal_routes(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_quality_relay()) { + _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); + } + if (from._internal_has_quality_e2e()) { + _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); + } + ::memcpy(&_impl_.seconds_until_shutdown_, &from._impl_.seconds_until_shutdown_, + static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.seq_num_e2e_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsP2PRouterToClient) +} + +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ack_relay_){arena} + , decltype(_impl_.legacy_ack_e2e_){arena} + , decltype(_impl_.routes_){} + , decltype(_impl_.quality_relay_){nullptr} + , decltype(_impl_.quality_e2e_){nullptr} + , decltype(_impl_.seconds_until_shutdown_){0u} + , decltype(_impl_.migrate_request_ip_){0u} + , decltype(_impl_.migrate_request_port_){0u} + , decltype(_impl_.scoring_penalty_relay_cluster_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.ack_forward_target_revision_){0u} + , decltype(_impl_.ack_peer_routes_revision_){0u} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.seq_num_r2c_){0u} + , decltype(_impl_.seq_num_e2e_){0u} + }; + _impl_.routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramConnectionStatsP2PRouterToClient::~CMsgSteamDatagramConnectionStatsP2PRouterToClient() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ack_relay_.~RepeatedField(); + _impl_.legacy_ack_e2e_.~RepeatedField(); + _impl_.routes_.Destroy(); + if (this != internal_default_instance()) delete _impl_.quality_relay_; + if (this != internal_default_instance()) delete _impl_.quality_e2e_; +} + +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ack_relay_.Clear(); + _impl_.legacy_ack_e2e_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.routes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); + _impl_.quality_relay_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); + _impl_.quality_e2e_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.seconds_until_shutdown_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.flags_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.ack_forward_target_revision_, 0, static_cast( + reinterpret_cast(&_impl_.seq_num_e2e_) - + reinterpret_cast(&_impl_.ack_forward_target_revision_)) + sizeof(_impl_.seq_num_e2e_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seconds_until_shutdown = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_seconds_until_shutdown(&has_bits); + _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 migrate_request_ip = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_migrate_request_ip(&has_bits); + _impl_.migrate_request_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 migrate_request_port = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_migrate_request_port(&has_bits); + _impl_.migrate_request_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 scoring_penalty_relay_cluster = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); + _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 ack_relay = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<61>(ptr)); + } else if (static_cast(tag) == 58) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated fixed32 legacy_ack_e2e = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<69>(ptr)); + } else if (static_cast(tag) == 66) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ack_forward_target_revision = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ack_forward_target_revision(&has_bits); + _impl_.ack_forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes routes = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_routes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ack_peer_routes_revision = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_ack_peer_routes_revision(&has_bits); + _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 connection_id = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_r2c = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_seq_num_r2c(&has_bits); + _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 seq_num_e2e = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_seq_num_e2e(&has_bits); + _impl_.seq_num_e2e_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::quality_relay(this), + _Internal::quality_relay(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::quality_e2e(this), + _Internal::quality_e2e(this).GetCachedSize(), target, stream); + } + + // optional uint32 seconds_until_shutdown = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds_until_shutdown(), target); + } + + // optional fixed32 migrate_request_ip = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_migrate_request_ip(), target); + } + + // optional uint32 migrate_request_port = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_migrate_request_port(), target); + } + + // optional uint32 scoring_penalty_relay_cluster = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_scoring_penalty_relay_cluster(), target); + } + + // repeated fixed32 ack_relay = 7; + for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_ack_relay(i), target); + } + + // repeated fixed32 legacy_ack_e2e = 8; + for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_legacy_ack_e2e(i), target); + } + + // optional uint32 flags = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_flags(), target); + } + + // optional uint32 ack_forward_target_revision = 10; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_ack_forward_target_revision(), target); + } + + // optional bytes routes = 11; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 11, this->_internal_routes(), target); + } + + // optional uint32 ack_peer_routes_revision = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_ack_peer_routes_revision(), target); + } + + // optional fixed32 connection_id = 13; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_connection_id(), target); + } + + // optional uint32 seq_num_r2c = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_seq_num_r2c(), target); + } + + // optional uint32 seq_num_e2e = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_seq_num_e2e(), 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:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + return target; +} + +size_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + 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 fixed32 ack_relay = 7; + { + unsigned int count = static_cast(this->_internal_ack_relay_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ack_relay_size()); + total_size += data_size; + } + + // repeated fixed32 legacy_ack_e2e = 8; + { + unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes routes = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_routes()); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_relay_); + } + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.quality_e2e_); + } + + // optional uint32 seconds_until_shutdown = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); + } + + // optional fixed32 migrate_request_ip = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 migrate_request_port = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_migrate_request_port()); + } + + // optional uint32 scoring_penalty_relay_cluster = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); + } + + // optional uint32 flags = 9; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint32 ack_forward_target_revision = 10; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_forward_target_revision()); + } + + // optional uint32 ack_peer_routes_revision = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); + } + + // optional fixed32 connection_id = 13; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional uint32 seq_num_r2c = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); + } + + // optional uint32 seq_num_e2e = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsP2PRouterToClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionStatsP2PRouterToClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsP2PRouterToClient::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::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:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); + _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_routes(from._internal_routes()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_relay()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_quality_e2e()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.migrate_request_ip_ = from._impl_.migrate_request_ip_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.migrate_request_port_ = from._impl_.migrate_request_port_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.ack_forward_target_revision_ = from._impl_.ack_forward_target_revision_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::CopyFrom(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::InternalSwap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); + _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.routes_, lhs_arena, + &other->_impl_.routes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_e2e_) + + sizeof(CMsgSteamDatagramConnectionStatsP2PRouterToClient::_impl_.seq_num_e2e_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_relay_)>( + reinterpret_cast(&_impl_.quality_relay_), + reinterpret_cast(&other->_impl_.quality_relay_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsP2PRouterToClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[35]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PBadRouteRouterToClient::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_failed_relay_routing_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ack_forward_target_revision(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_kludge_pad(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient(::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:CMsgSteamDatagramP2PBadRouteRouterToClient) +} +CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PBadRouteRouterToClient* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.failed_relay_routing_token_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.ack_forward_target_revision_){} + , decltype(_impl_.kludge_pad_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.failed_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_failed_relay_routing_token()) { + _this->_impl_.failed_relay_routing_token_.Set(from._internal_failed_relay_routing_token(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.kludge_pad_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.kludge_pad_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PBadRouteRouterToClient) +} + +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.failed_relay_routing_token_){} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.ack_forward_target_revision_){0u} + , decltype(_impl_.kludge_pad_){uint64_t{0u}} + }; + _impl_.failed_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PBadRouteRouterToClient::~CMsgSteamDatagramP2PBadRouteRouterToClient() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PBadRouteRouterToClient) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.failed_relay_routing_token_.Destroy(); +} + +void CMsgSteamDatagramP2PBadRouteRouterToClient::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PBadRouteRouterToClient::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PBadRouteRouterToClient) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.failed_relay_routing_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.kludge_pad_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.kludge_pad_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PBadRouteRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes failed_relay_routing_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_failed_relay_routing_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ack_forward_target_revision = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ack_forward_target_revision(&has_bits); + _impl_.ack_forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 kludge_pad = 99; + case 99: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_kludge_pad(&has_bits); + _impl_.kludge_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PBadRouteRouterToClient::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PBadRouteRouterToClient) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional bytes failed_relay_routing_token = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_failed_relay_routing_token(), target); + } + + // optional uint32 ack_forward_target_revision = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ack_forward_target_revision(), target); + } + + // optional fixed64 kludge_pad = 99; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_kludge_pad(), 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:CMsgSteamDatagramP2PBadRouteRouterToClient) + return target; +} + +size_t CMsgSteamDatagramP2PBadRouteRouterToClient::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PBadRouteRouterToClient) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes failed_relay_routing_token = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_failed_relay_routing_token()); + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 ack_forward_target_revision = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_forward_target_revision()); + } + + // optional fixed64 kludge_pad = 99; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PBadRouteRouterToClient::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PBadRouteRouterToClient::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PBadRouteRouterToClient::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PBadRouteRouterToClient::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:CMsgSteamDatagramP2PBadRouteRouterToClient) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_failed_relay_routing_token(from._internal_failed_relay_routing_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ack_forward_target_revision_ = from._impl_.ack_forward_target_revision_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.kludge_pad_ = from._impl_.kludge_pad_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PBadRouteRouterToClient::CopyFrom(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PBadRouteRouterToClient) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PBadRouteRouterToClient::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PBadRouteRouterToClient::InternalSwap(CMsgSteamDatagramP2PBadRouteRouterToClient* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.failed_relay_routing_token_, lhs_arena, + &other->_impl_.failed_relay_routing_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.kludge_pad_) + + sizeof(CMsgSteamDatagramP2PBadRouteRouterToClient::_impl_.kludge_pad_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.connection_id_)>( + reinterpret_cast(&_impl_.connection_id_), + reinterpret_cast(&other->_impl_.connection_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PBadRouteRouterToClient::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[36]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PRoutes_RelayCluster::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_score_penalty(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_session_relay_routing_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster(::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:CMsgSteamDatagramP2PRoutes.RelayCluster) +} +CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PRoutes_RelayCluster* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.session_relay_routing_token_){} + , decltype(_impl_.pop_id_){} + , decltype(_impl_.ping_ms_){} + , decltype(_impl_.score_penalty_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.session_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_session_relay_routing_token()) { + _this->_impl_.session_relay_routing_token_.Set(from._internal_session_relay_routing_token(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.pop_id_, &from._impl_.pop_id_, + static_cast(reinterpret_cast(&_impl_.score_penalty_) - + reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.score_penalty_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes.RelayCluster) +} + +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.session_relay_routing_token_){} + , decltype(_impl_.pop_id_){0u} + , decltype(_impl_.ping_ms_){0u} + , decltype(_impl_.score_penalty_){0u} + }; + _impl_.session_relay_routing_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramP2PRoutes_RelayCluster::~CMsgSteamDatagramP2PRoutes_RelayCluster() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes.RelayCluster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.session_relay_routing_token_.Destroy(); +} + +void CMsgSteamDatagramP2PRoutes_RelayCluster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PRoutes_RelayCluster::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes.RelayCluster) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.session_relay_routing_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.pop_id_, 0, static_cast( + reinterpret_cast(&_impl_.score_penalty_) - + reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.score_penalty_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PRoutes_RelayCluster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 pop_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_pop_id(&has_bits); + _impl_.pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ms = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ping_ms(&has_bits); + _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 score_penalty = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_score_penalty(&has_bits); + _impl_.score_penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes session_relay_routing_token = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_session_relay_routing_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PRoutes_RelayCluster::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes.RelayCluster) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 pop_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_pop_id(), target); + } + + // optional uint32 ping_ms = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ping_ms(), target); + } + + // optional uint32 score_penalty = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_score_penalty(), target); + } + + // optional bytes session_relay_routing_token = 4; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_session_relay_routing_token(), 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:CMsgSteamDatagramP2PRoutes.RelayCluster) + return target; +} + +size_t CMsgSteamDatagramP2PRoutes_RelayCluster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes.RelayCluster) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes session_relay_routing_token = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_session_relay_routing_token()); + } + + // optional fixed32 pop_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 ping_ms = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); + } + + // optional uint32 score_penalty = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score_penalty()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes_RelayCluster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PRoutes_RelayCluster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes_RelayCluster::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PRoutes_RelayCluster::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:CMsgSteamDatagramP2PRoutes.RelayCluster) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_session_relay_routing_token(from._internal_session_relay_routing_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pop_id_ = from._impl_.pop_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ping_ms_ = from._impl_.ping_ms_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.score_penalty_ = from._impl_.score_penalty_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PRoutes_RelayCluster::CopyFrom(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes.RelayCluster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PRoutes_RelayCluster::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PRoutes_RelayCluster::InternalSwap(CMsgSteamDatagramP2PRoutes_RelayCluster* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.session_relay_routing_token_, lhs_arena, + &other->_impl_.session_relay_routing_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.score_penalty_) + + sizeof(CMsgSteamDatagramP2PRoutes_RelayCluster::_impl_.score_penalty_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.pop_id_)>( + reinterpret_cast(&_impl_.pop_id_), + reinterpret_cast(&other->_impl_.pop_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes_RelayCluster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[37]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PRoutes_Route::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_my_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_your_pop_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_score(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_interior_score(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route(::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:CMsgSteamDatagramP2PRoutes.Route) +} +CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route(const CMsgSteamDatagramP2PRoutes_Route& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PRoutes_Route* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_pop_id_){} + , decltype(_impl_.your_pop_id_){} + , decltype(_impl_.legacy_score_){} + , decltype(_impl_.interior_score_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.my_pop_id_, &from._impl_.my_pop_id_, + static_cast(reinterpret_cast(&_impl_.interior_score_) - + reinterpret_cast(&_impl_.my_pop_id_)) + sizeof(_impl_.interior_score_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes.Route) +} + +inline void CMsgSteamDatagramP2PRoutes_Route::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.my_pop_id_){0u} + , decltype(_impl_.your_pop_id_){0u} + , decltype(_impl_.legacy_score_){0u} + , decltype(_impl_.interior_score_){0u} + }; +} + +CMsgSteamDatagramP2PRoutes_Route::~CMsgSteamDatagramP2PRoutes_Route() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes.Route) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PRoutes_Route::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramP2PRoutes_Route::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PRoutes_Route::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes.Route) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.my_pop_id_, 0, static_cast( + reinterpret_cast(&_impl_.interior_score_) - + reinterpret_cast(&_impl_.my_pop_id_)) + sizeof(_impl_.interior_score_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PRoutes_Route::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 my_pop_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_my_pop_id(&has_bits); + _impl_.my_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 your_pop_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_your_pop_id(&has_bits); + _impl_.your_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 legacy_score = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_legacy_score(&has_bits); + _impl_.legacy_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 interior_score = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_interior_score(&has_bits); + _impl_.interior_score_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PRoutes_Route::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes.Route) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 my_pop_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_my_pop_id(), target); + } + + // optional fixed32 your_pop_id = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_your_pop_id(), target); + } + + // optional uint32 legacy_score = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_legacy_score(), target); + } + + // optional uint32 interior_score = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_interior_score(), 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:CMsgSteamDatagramP2PRoutes.Route) + return target; +} + +size_t CMsgSteamDatagramP2PRoutes_Route::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes.Route) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed32 my_pop_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional fixed32 your_pop_id = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 legacy_score = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_score()); + } + + // optional uint32 interior_score = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_interior_score()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes_Route::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PRoutes_Route::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes_Route::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PRoutes_Route::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:CMsgSteamDatagramP2PRoutes.Route) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.my_pop_id_ = from._impl_.my_pop_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.your_pop_id_ = from._impl_.your_pop_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.legacy_score_ = from._impl_.legacy_score_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.interior_score_ = from._impl_.interior_score_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PRoutes_Route::CopyFrom(const CMsgSteamDatagramP2PRoutes_Route& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes.Route) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PRoutes_Route::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PRoutes_Route::InternalSwap(CMsgSteamDatagramP2PRoutes_Route* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_Route, _impl_.interior_score_) + + sizeof(CMsgSteamDatagramP2PRoutes_Route::_impl_.interior_score_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_Route, _impl_.my_pop_id_)>( + reinterpret_cast(&_impl_.my_pop_id_), + reinterpret_cast(&other->_impl_.my_pop_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes_Route::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[38]); +} + +// =================================================================== + +class CMsgSteamDatagramP2PRoutes::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_revision(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes(::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:CMsgSteamDatagramP2PRoutes) +} +CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes(const CMsgSteamDatagramP2PRoutes& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramP2PRoutes* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_clusters_){from._impl_.relay_clusters_} + , decltype(_impl_.routes_){from._impl_.routes_} + , decltype(_impl_.revision_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.revision_ = from._impl_.revision_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes) +} + +inline void CMsgSteamDatagramP2PRoutes::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.relay_clusters_){arena} + , decltype(_impl_.routes_){arena} + , decltype(_impl_.revision_){0u} + }; +} + +CMsgSteamDatagramP2PRoutes::~CMsgSteamDatagramP2PRoutes() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramP2PRoutes::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.relay_clusters_.~RepeatedPtrField(); + _impl_.routes_.~RepeatedPtrField(); +} + +void CMsgSteamDatagramP2PRoutes::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramP2PRoutes::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.relay_clusters_.Clear(); + _impl_.routes_.Clear(); + _impl_.revision_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramP2PRoutes::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_relay_clusters(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_routes(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 revision = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_revision(&has_bits); + _impl_.revision_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramP2PRoutes::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_relay_clusters_size()); i < n; i++) { + const auto& repfield = this->_internal_relay_clusters(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_routes_size()); i < n; i++) { + const auto& repfield = this->_internal_routes(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 revision = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, 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:CMsgSteamDatagramP2PRoutes) + return target; +} + +size_t CMsgSteamDatagramP2PRoutes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes) + 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 .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; + total_size += 1UL * this->_internal_relay_clusters_size(); + for (const auto& msg : this->_impl_.relay_clusters_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; + total_size += 1UL * this->_internal_routes_size(); + for (const auto& msg : this->_impl_.routes_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 revision = 3; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_revision()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramP2PRoutes::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramP2PRoutes::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:CMsgSteamDatagramP2PRoutes) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.relay_clusters_.MergeFrom(from._impl_.relay_clusters_); + _this->_impl_.routes_.MergeFrom(from._impl_.routes_); + if (from._internal_has_revision()) { + _this->_internal_set_revision(from._internal_revision()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramP2PRoutes::CopyFrom(const CMsgSteamDatagramP2PRoutes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramP2PRoutes::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramP2PRoutes::InternalSwap(CMsgSteamDatagramP2PRoutes* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.relay_clusters_.InternalSwap(&other->_impl_.relay_clusters_); + _impl_.routes_.InternalSwap(&other->_impl_.routes_); + swap(_impl_.revision_, other->_impl_.revision_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[39]); +} + +// =================================================================== + +class CMsgSteamDatagramSetSecondaryAddressRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_main_ip(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_client_main_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_client_identity(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_request_send_duplication(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_kludge_pad(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest(::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:CMsgSteamDatagramSetSecondaryAddressRequest) +} +CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest(const CMsgSteamDatagramSetSecondaryAddressRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSetSecondaryAddressRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_identity_){} + , decltype(_impl_.kludge_pad_){} + , decltype(_impl_.client_main_ip_){} + , decltype(_impl_.client_main_port_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.request_send_duplication_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.client_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_client_identity()) { + _this->_impl_.client_identity_.Set(from._internal_client_identity(), + _this->GetArenaForAllocation()); + } + _impl_.kludge_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.kludge_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_kludge_pad()) { + _this->_impl_.kludge_pad_.Set(from._internal_kludge_pad(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.client_main_ip_, &from._impl_.client_main_ip_, + static_cast(reinterpret_cast(&_impl_.request_send_duplication_) - + reinterpret_cast(&_impl_.client_main_ip_)) + sizeof(_impl_.request_send_duplication_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSetSecondaryAddressRequest) +} + +inline void CMsgSteamDatagramSetSecondaryAddressRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_identity_){} + , decltype(_impl_.kludge_pad_){} + , decltype(_impl_.client_main_ip_){0u} + , decltype(_impl_.client_main_port_){0u} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.request_send_duplication_){false} + }; + _impl_.client_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.kludge_pad_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.kludge_pad_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSetSecondaryAddressRequest::~CMsgSteamDatagramSetSecondaryAddressRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSetSecondaryAddressRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSetSecondaryAddressRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.client_identity_.Destroy(); + _impl_.kludge_pad_.Destroy(); +} + +void CMsgSteamDatagramSetSecondaryAddressRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSetSecondaryAddressRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSetSecondaryAddressRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.client_identity_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.kludge_pad_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.client_main_ip_, 0, static_cast( + reinterpret_cast(&_impl_.request_send_duplication_) - + reinterpret_cast(&_impl_.client_main_ip_)) + sizeof(_impl_.request_send_duplication_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSetSecondaryAddressRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 client_main_ip = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_client_main_ip(&has_bits); + _impl_.client_main_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 client_main_port = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_client_main_port(&has_bits); + _impl_.client_main_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 client_connection_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string client_identity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_client_identity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramSetSecondaryAddressRequest.client_identity"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool request_send_duplication = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_request_send_duplication(&has_bits); + _impl_.request_send_duplication_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes kludge_pad = 99; + case 99: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_kludge_pad(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSetSecondaryAddressRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSetSecondaryAddressRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 client_main_ip = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_main_ip(), target); + } + + // optional fixed32 client_main_port = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_client_main_port(), target); + } + + // optional fixed32 client_connection_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_client_connection_id(), target); + } + + // optional string client_identity = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_client_identity().data(), static_cast(this->_internal_client_identity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramSetSecondaryAddressRequest.client_identity"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_client_identity(), target); + } + + // optional bool request_send_duplication = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_request_send_duplication(), target); + } + + // optional bytes kludge_pad = 99; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 99, this->_internal_kludge_pad(), 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:CMsgSteamDatagramSetSecondaryAddressRequest) + return target; +} + +size_t CMsgSteamDatagramSetSecondaryAddressRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSetSecondaryAddressRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string client_identity = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_client_identity()); + } + + // optional bytes kludge_pad = 99; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_kludge_pad()); + } + + // optional fixed32 client_main_ip = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional fixed32 client_main_port = 2; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional fixed32 client_connection_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional bool request_send_duplication = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSetSecondaryAddressRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSetSecondaryAddressRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSetSecondaryAddressRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSetSecondaryAddressRequest::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:CMsgSteamDatagramSetSecondaryAddressRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_client_identity(from._internal_client_identity()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_kludge_pad(from._internal_kludge_pad()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_main_ip_ = from._impl_.client_main_ip_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_main_port_ = from._impl_.client_main_port_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.request_send_duplication_ = from._impl_.request_send_duplication_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSetSecondaryAddressRequest::CopyFrom(const CMsgSteamDatagramSetSecondaryAddressRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSetSecondaryAddressRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSetSecondaryAddressRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSetSecondaryAddressRequest::InternalSwap(CMsgSteamDatagramSetSecondaryAddressRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.client_identity_, lhs_arena, + &other->_impl_.client_identity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.kludge_pad_, lhs_arena, + &other->_impl_.kludge_pad_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.request_send_duplication_) + + sizeof(CMsgSteamDatagramSetSecondaryAddressRequest::_impl_.request_send_duplication_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_ip_)>( + reinterpret_cast(&_impl_.client_main_ip_), + reinterpret_cast(&other->_impl_.client_main_ip_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSetSecondaryAddressRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[40]); +} + +// =================================================================== + +class CMsgSteamDatagramSetSecondaryAddressResult::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_success(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult(::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:CMsgSteamDatagramSetSecondaryAddressResult) +} +CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult(const CMsgSteamDatagramSetSecondaryAddressResult& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSetSecondaryAddressResult* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.success_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + _this->_impl_.success_ = from._impl_.success_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSetSecondaryAddressResult) +} + +inline void CMsgSteamDatagramSetSecondaryAddressResult::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.success_){false} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSetSecondaryAddressResult::~CMsgSteamDatagramSetSecondaryAddressResult() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSetSecondaryAddressResult) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSetSecondaryAddressResult::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void CMsgSteamDatagramSetSecondaryAddressResult::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSetSecondaryAddressResult::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSetSecondaryAddressResult) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_.success_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSetSecondaryAddressResult::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool success = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_success(&has_bits); + _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string message = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramSetSecondaryAddressResult.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSetSecondaryAddressResult::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSetSecondaryAddressResult) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool success = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); + } + + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramSetSecondaryAddressResult.message"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_message(), 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:CMsgSteamDatagramSetSecondaryAddressResult) + return target; +} + +size_t CMsgSteamDatagramSetSecondaryAddressResult::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSetSecondaryAddressResult) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string message = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + // optional bool success = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSetSecondaryAddressResult::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSetSecondaryAddressResult::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSetSecondaryAddressResult::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSetSecondaryAddressResult::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:CMsgSteamDatagramSetSecondaryAddressResult) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_message(from._internal_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.success_ = from._impl_.success_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSetSecondaryAddressResult::CopyFrom(const CMsgSteamDatagramSetSecondaryAddressResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSetSecondaryAddressResult) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSetSecondaryAddressResult::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSetSecondaryAddressResult::InternalSwap(CMsgSteamDatagramSetSecondaryAddressResult* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); + swap(_impl_.success_, other->_impl_.success_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSetSecondaryAddressResult::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, + file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[41]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingIPAddress* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingIPAddress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingIPAddress >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedMessageGeneric* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedMessageGeneric >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedMessageGeneric >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply_RouteException* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply_RouteException >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply_RouteException >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply_AltAddress* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply_AltAddress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply_AltAddress >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingRequestBody* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingRequestBody >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingRequestBody >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingRequestEnvelope* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingRequestEnvelope >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingRequestEnvelope >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingReplyData* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingReplyData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingReplyData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoSessionRelayToClient* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoSessionRelayToClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoSessionRelayToClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoSessionRelayToPeer* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoSessionRelayToPeer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoSessionRelayToPeer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTOSTreatment* +Arena::CreateMaybeMessage< ::CMsgTOSTreatment >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTOSTreatment >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_POP* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_POP >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_POP >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientSwitchedPrimary* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientSwitchedPrimary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientSwitchedPrimary >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectOK* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectOK >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectOK >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PSDRRoutingSummary* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PSDRRoutingSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PSDRRoutingSummary >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutingSummary* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutingSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutingSummary >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionClosed* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionClosed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionClosed >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoConnection* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoConnection >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoConnection >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverSessionRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverSessionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverSessionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverSessionEstablished* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverSessionEstablished >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverSessionEstablished >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsClientToRouter* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsClientToRouter >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsClientToRouter >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsRouterToClient* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsRouterToClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsRouterToClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsRouterToServer* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsRouterToServer >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsRouterToServer >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsServerToRouter* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsServerToRouter >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsServerToRouter >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequestBody* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequestBody >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequestBody >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionEstablished* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionEstablished >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionEstablished >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsP2PClientToRouter* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsP2PRouterToClient* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PBadRouteRouterToClient* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PBadRouteRouterToClient >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PBadRouteRouterToClient >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes_RelayCluster* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes_RelayCluster >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes_RelayCluster >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes_Route* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes_Route >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes_Route >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSetSecondaryAddressRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSetSecondaryAddressRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSetSecondaryAddressRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSetSecondaryAddressResult* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSetSecondaryAddressResult >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSetSecondaryAddressResult >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.h new file mode 100644 index 0000000..7c2fb5c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamdatagram_messages_sdr.pb.h @@ -0,0 +1,25968 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamdatagram_messages_sdr.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "steamnetworkingsockets_messages_certs.pb.h" +#include "steamnetworkingsockets_messages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steamdatagram_5fmessages_5fsdr_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steamdatagram_5fmessages_5fsdr_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto; +class CMsgSteamDatagramClientPingSampleReply; +struct CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal; +extern CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_default_instance_; +class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter; +struct CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal; +extern CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_; +class CMsgSteamDatagramClientPingSampleReply_POP; +struct CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal; +extern CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_default_instance_; +class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress; +struct CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal; +extern CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_; +class CMsgSteamDatagramClientPingSampleRequest; +struct CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal; +extern CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal _CMsgSteamDatagramClientPingSampleRequest_default_instance_; +class CMsgSteamDatagramClientSwitchedPrimary; +struct CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal; +extern CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_default_instance_; +class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality; +struct CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal; +extern CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_; +class CMsgSteamDatagramConnectOK; +struct CMsgSteamDatagramConnectOKDefaultTypeInternal; +extern CMsgSteamDatagramConnectOKDefaultTypeInternal _CMsgSteamDatagramConnectOK_default_instance_; +class CMsgSteamDatagramConnectRequest; +struct CMsgSteamDatagramConnectRequestDefaultTypeInternal; +extern CMsgSteamDatagramConnectRequestDefaultTypeInternal _CMsgSteamDatagramConnectRequest_default_instance_; +class CMsgSteamDatagramConnectionClosed; +struct CMsgSteamDatagramConnectionClosedDefaultTypeInternal; +extern CMsgSteamDatagramConnectionClosedDefaultTypeInternal _CMsgSteamDatagramConnectionClosed_default_instance_; +class CMsgSteamDatagramConnectionStatsClientToRouter; +struct CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_; +class CMsgSteamDatagramConnectionStatsP2PClientToRouter; +struct CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_; +class CMsgSteamDatagramConnectionStatsP2PRouterToClient; +struct CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_; +class CMsgSteamDatagramConnectionStatsRouterToClient; +struct CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_; +class CMsgSteamDatagramConnectionStatsRouterToServer; +struct CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_; +class CMsgSteamDatagramConnectionStatsServerToRouter; +struct CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal; +extern CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_; +class CMsgSteamDatagramGameserverPingReplyData; +struct CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal; +extern CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal _CMsgSteamDatagramGameserverPingReplyData_default_instance_; +class CMsgSteamDatagramGameserverPingRequestBody; +struct CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal; +extern CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestBody_default_instance_; +class CMsgSteamDatagramGameserverPingRequestEnvelope; +struct CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal; +extern CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_; +class CMsgSteamDatagramGameserverSessionEstablished; +struct CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal; +extern CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramGameserverSessionEstablished_default_instance_; +class CMsgSteamDatagramGameserverSessionRequest; +struct CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal; +extern CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal _CMsgSteamDatagramGameserverSessionRequest_default_instance_; +class CMsgSteamDatagramNoConnection; +struct CMsgSteamDatagramNoConnectionDefaultTypeInternal; +extern CMsgSteamDatagramNoConnectionDefaultTypeInternal _CMsgSteamDatagramNoConnection_default_instance_; +class CMsgSteamDatagramNoSessionRelayToClient; +struct CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal; +extern CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToClient_default_instance_; +class CMsgSteamDatagramNoSessionRelayToPeer; +struct CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal; +extern CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToPeer_default_instance_; +class CMsgSteamDatagramP2PBadRouteRouterToClient; +struct CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal; +extern CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal _CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_; +class CMsgSteamDatagramP2PRoutes; +struct CMsgSteamDatagramP2PRoutesDefaultTypeInternal; +extern CMsgSteamDatagramP2PRoutesDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_default_instance_; +class CMsgSteamDatagramP2PRoutes_RelayCluster; +struct CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal; +extern CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_; +class CMsgSteamDatagramP2PRoutes_Route; +struct CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal; +extern CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_Route_default_instance_; +class CMsgSteamDatagramP2PRoutingSummary; +struct CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal; +extern CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal _CMsgSteamDatagramP2PRoutingSummary_default_instance_; +class CMsgSteamDatagramP2PSessionEstablished; +struct CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal; +extern CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramP2PSessionEstablished_default_instance_; +class CMsgSteamDatagramP2PSessionRequest; +struct CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal; +extern CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequest_default_instance_; +class CMsgSteamDatagramP2PSessionRequestBody; +struct CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal; +extern CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_default_instance_; +class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData; +struct CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal; +extern CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_; +class CMsgSteamDatagramRouterPingReply; +struct CMsgSteamDatagramRouterPingReplyDefaultTypeInternal; +extern CMsgSteamDatagramRouterPingReplyDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_default_instance_; +class CMsgSteamDatagramRouterPingReply_AltAddress; +struct CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal; +extern CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_; +class CMsgSteamDatagramRouterPingReply_RouteException; +struct CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal; +extern CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_RouteException_default_instance_; +class CMsgSteamDatagramSetSecondaryAddressRequest; +struct CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal; +extern CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_; +class CMsgSteamDatagramSetSecondaryAddressResult; +struct CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal; +extern CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressResult_default_instance_; +class CMsgSteamDatagramSignedMessageGeneric; +struct CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal; +extern CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal _CMsgSteamDatagramSignedMessageGeneric_default_instance_; +class CMsgSteamNetworkingIPAddress; +struct CMsgSteamNetworkingIPAddressDefaultTypeInternal; +extern CMsgSteamNetworkingIPAddressDefaultTypeInternal _CMsgSteamNetworkingIPAddress_default_instance_; +class CMsgSteamNetworkingP2PSDRRoutingSummary; +struct CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal; +extern CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal _CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_; +class CMsgTOSTreatment; +struct CMsgTOSTreatmentDefaultTypeInternal; +extern CMsgTOSTreatmentDefaultTypeInternal _CMsgTOSTreatment_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgSteamDatagramClientPingSampleReply* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply>(Arena*); +template<> ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter>(Arena*); +template<> ::CMsgSteamDatagramClientPingSampleReply_POP* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_POP>(Arena*); +template<> ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress>(Arena*); +template<> ::CMsgSteamDatagramClientPingSampleRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleRequest>(Arena*); +template<> ::CMsgSteamDatagramClientSwitchedPrimary* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary>(Arena*); +template<> ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(Arena*); +template<> ::CMsgSteamDatagramConnectOK* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectOK>(Arena*); +template<> ::CMsgSteamDatagramConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectRequest>(Arena*); +template<> ::CMsgSteamDatagramConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionClosed>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsClientToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsClientToRouter>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsP2PClientToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsP2PClientToRouter>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsP2PRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsP2PRouterToClient>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsRouterToClient>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsRouterToServer* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsRouterToServer>(Arena*); +template<> ::CMsgSteamDatagramConnectionStatsServerToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsServerToRouter>(Arena*); +template<> ::CMsgSteamDatagramGameserverPingReplyData* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingReplyData>(Arena*); +template<> ::CMsgSteamDatagramGameserverPingRequestBody* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingRequestBody>(Arena*); +template<> ::CMsgSteamDatagramGameserverPingRequestEnvelope* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingRequestEnvelope>(Arena*); +template<> ::CMsgSteamDatagramGameserverSessionEstablished* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverSessionEstablished>(Arena*); +template<> ::CMsgSteamDatagramGameserverSessionRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverSessionRequest>(Arena*); +template<> ::CMsgSteamDatagramNoConnection* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoConnection>(Arena*); +template<> ::CMsgSteamDatagramNoSessionRelayToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoSessionRelayToClient>(Arena*); +template<> ::CMsgSteamDatagramNoSessionRelayToPeer* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoSessionRelayToPeer>(Arena*); +template<> ::CMsgSteamDatagramP2PBadRouteRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PBadRouteRouterToClient>(Arena*); +template<> ::CMsgSteamDatagramP2PRoutes* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes>(Arena*); +template<> ::CMsgSteamDatagramP2PRoutes_RelayCluster* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes_RelayCluster>(Arena*); +template<> ::CMsgSteamDatagramP2PRoutes_Route* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes_Route>(Arena*); +template<> ::CMsgSteamDatagramP2PRoutingSummary* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(Arena*); +template<> ::CMsgSteamDatagramP2PSessionEstablished* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionEstablished>(Arena*); +template<> ::CMsgSteamDatagramP2PSessionRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequest>(Arena*); +template<> ::CMsgSteamDatagramP2PSessionRequestBody* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequestBody>(Arena*); +template<> ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData>(Arena*); +template<> ::CMsgSteamDatagramRouterPingReply* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply>(Arena*); +template<> ::CMsgSteamDatagramRouterPingReply_AltAddress* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply_AltAddress>(Arena*); +template<> ::CMsgSteamDatagramRouterPingReply_RouteException* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply_RouteException>(Arena*); +template<> ::CMsgSteamDatagramSetSecondaryAddressRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramSetSecondaryAddressRequest>(Arena*); +template<> ::CMsgSteamDatagramSetSecondaryAddressResult* Arena::CreateMaybeMessage<::CMsgSteamDatagramSetSecondaryAddressResult>(Arena*); +template<> ::CMsgSteamDatagramSignedMessageGeneric* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedMessageGeneric>(Arena*); +template<> ::CMsgSteamNetworkingIPAddress* Arena::CreateMaybeMessage<::CMsgSteamNetworkingIPAddress>(Arena*); +template<> ::CMsgSteamNetworkingP2PSDRRoutingSummary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PSDRRoutingSummary>(Arena*); +template<> ::CMsgTOSTreatment* Arena::CreateMaybeMessage<::CMsgTOSTreatment>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CMsgSteamDatagramRouterPingReply_AltAddress_Protocol : int { + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol = 0 +}; +bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(int value); +constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MIN = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; +constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; +constexpr int CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_ARRAYSIZE = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); +template +inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramRouterPingReply_AltAddress_Protocol* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(), name, value); +} +enum CMsgSteamDatagramRouterPingReply_Flags : int { + CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS = 1, + CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES = 2 +}; +bool CMsgSteamDatagramRouterPingReply_Flags_IsValid(int value); +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply_Flags_Flags_MIN = CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS; +constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX = CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES; +constexpr int CMsgSteamDatagramRouterPingReply_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramRouterPingReply_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramRouterPingReply_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramRouterPingReply_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramRouterPingReply_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramRouterPingReply_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramRouterPingReply_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionClosed_ERelayMode : int { + CMsgSteamDatagramConnectionClosed_ERelayMode_None = 0, + CMsgSteamDatagramConnectionClosed_ERelayMode_EndToEnd = 1, + CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer = 2 +}; +bool CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(int value); +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MIN = CMsgSteamDatagramConnectionClosed_ERelayMode_None; +constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX = CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer; +constexpr int CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_ARRAYSIZE = CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionClosed_ERelayMode_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionClosed_ERelayMode_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionClosed_ERelayMode_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionClosed_ERelayMode* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsClientToRouter_Flags : int { + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4, + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_NOT_PRIMARY_SESSION = 8, + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE = 32 +}; +bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; +constexpr int CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsClientToRouter_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsRouterToClient_Flags : int { + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE = 4 +}; +bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; +constexpr int CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsRouterToClient_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsRouterToServer_Flags : int { + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE = 4 +}; +bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE; +constexpr int CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsRouterToServer_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsServerToRouter_Flags : int { + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4 +}; +bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE; +constexpr int CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsServerToRouter_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags : int { + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4, + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_SESSION = 8, + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16, + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE = 32 +}; +bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; +constexpr int CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(), name, value); +} +enum CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags : int { + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY = 1, + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_IMMEDIATE = 4, + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16 +}; +bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(int value); +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY; +constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E; +constexpr int CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); +template +inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(), name, value); +} +enum ESteamDatagramMsgID : int { + k_ESteamDatagramMsg_Invalid = 0, + k_ESteamDatagramMsg_RouterPingRequest = 1, + k_ESteamDatagramMsg_RouterPingReply = 2, + k_ESteamDatagramMsg_GameserverPingRequest = 3, + k_ESteamDatagramMsg_GameserverSessionRequest = 5, + k_ESteamDatagramMsg_GameserverSessionEstablished = 6, + k_ESteamDatagramMsg_NoSession = 7, + k_ESteamDatagramMsg_Diagnostic = 8, + k_ESteamDatagramMsg_DataClientToRouter = 9, + k_ESteamDatagramMsg_DataRouterToServer = 10, + k_ESteamDatagramMsg_DataServerToRouter = 11, + k_ESteamDatagramMsg_DataRouterToClient = 12, + k_ESteamDatagramMsg_Stats = 13, + k_ESteamDatagramMsg_ClientPingSampleRequest = 14, + k_ESteamDatagramMsg_ClientPingSampleReply = 15, + k_ESteamDatagramMsg_ClientToRouterSwitchedPrimary = 16, + k_ESteamDatagramMsg_RelayHealth = 17, + k_ESteamDatagramMsg_ConnectRequest = 18, + k_ESteamDatagramMsg_ConnectOK = 19, + k_ESteamDatagramMsg_ConnectionClosed = 20, + k_ESteamDatagramMsg_NoConnection = 21, + k_ESteamDatagramMsg_TicketDecryptRequest = 22, + k_ESteamDatagramMsg_TicketDecryptReply = 23, + k_ESteamDatagramMsg_P2PSessionRequest = 24, + k_ESteamDatagramMsg_P2PSessionEstablished = 25, + k_ESteamDatagramMsg_P2PStatsClient = 26, + k_ESteamDatagramMsg_P2PStatsRelay = 27, + k_ESteamDatagramMsg_P2PBadRoute = 28, + k_ESteamDatagramMsg_GameserverPingReply = 29, + k_ESteamDatagramMsg_LegacyGameserverRegistration = 30, + k_ESteamDatagramMsg_SetSecondaryAddressRequest = 31, + k_ESteamDatagramMsg_SetSecondaryAddressResult = 32, + k_ESteamDatagramMsg_RelayToRelayPingRequest = 33, + k_ESteamDatagramMsg_RelayToRelayPingReply = 34 +}; +bool ESteamDatagramMsgID_IsValid(int value); +constexpr ESteamDatagramMsgID ESteamDatagramMsgID_MIN = k_ESteamDatagramMsg_Invalid; +constexpr ESteamDatagramMsgID ESteamDatagramMsgID_MAX = k_ESteamDatagramMsg_RelayToRelayPingReply; +constexpr int ESteamDatagramMsgID_ARRAYSIZE = ESteamDatagramMsgID_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamDatagramMsgID_descriptor(); +template +inline const std::string& ESteamDatagramMsgID_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESteamDatagramMsgID_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESteamDatagramMsgID_descriptor(), enum_t_value); +} +inline bool ESteamDatagramMsgID_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamDatagramMsgID* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESteamDatagramMsgID_descriptor(), name, value); +} +// =================================================================== + +class CMsgSteamNetworkingIPAddress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingIPAddress) */ { + public: + inline CMsgSteamNetworkingIPAddress() : CMsgSteamNetworkingIPAddress(nullptr) {} + ~CMsgSteamNetworkingIPAddress() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingIPAddress(const CMsgSteamNetworkingIPAddress& from); + CMsgSteamNetworkingIPAddress(CMsgSteamNetworkingIPAddress&& from) noexcept + : CMsgSteamNetworkingIPAddress() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingIPAddress& operator=(const CMsgSteamNetworkingIPAddress& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingIPAddress& operator=(CMsgSteamNetworkingIPAddress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingIPAddress& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingIPAddress* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingIPAddress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSteamNetworkingIPAddress& a, CMsgSteamNetworkingIPAddress& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingIPAddress* 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(CMsgSteamNetworkingIPAddress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingIPAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingIPAddress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingIPAddress& from) { + CMsgSteamNetworkingIPAddress::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(CMsgSteamNetworkingIPAddress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingIPAddress"; + } + protected: + explicit CMsgSteamNetworkingIPAddress(::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 { + kV6FieldNumber = 2, + kV4FieldNumber = 1, + }; + // optional bytes v6 = 2; + bool has_v6() const; + private: + bool _internal_has_v6() const; + public: + void clear_v6(); + const std::string& v6() const; + template + void set_v6(ArgT0&& arg0, ArgT... args); + std::string* mutable_v6(); + PROTOBUF_NODISCARD std::string* release_v6(); + void set_allocated_v6(std::string* v6); + private: + const std::string& _internal_v6() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_v6(const std::string& value); + std::string* _internal_mutable_v6(); + public: + + // optional fixed32 v4 = 1; + bool has_v4() const; + private: + bool _internal_has_v4() const; + public: + void clear_v4(); + uint32_t v4() const; + void set_v4(uint32_t value); + private: + uint32_t _internal_v4() const; + void _internal_set_v4(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingIPAddress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr v6_; + uint32_t v4_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSignedMessageGeneric final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedMessageGeneric) */ { + public: + inline CMsgSteamDatagramSignedMessageGeneric() : CMsgSteamDatagramSignedMessageGeneric(nullptr) {} + ~CMsgSteamDatagramSignedMessageGeneric() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGeneric(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSignedMessageGeneric(const CMsgSteamDatagramSignedMessageGeneric& from); + CMsgSteamDatagramSignedMessageGeneric(CMsgSteamDatagramSignedMessageGeneric&& from) noexcept + : CMsgSteamDatagramSignedMessageGeneric() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSignedMessageGeneric& operator=(const CMsgSteamDatagramSignedMessageGeneric& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSignedMessageGeneric& operator=(CMsgSteamDatagramSignedMessageGeneric&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSignedMessageGeneric& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSignedMessageGeneric* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSignedMessageGeneric_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSteamDatagramSignedMessageGeneric& a, CMsgSteamDatagramSignedMessageGeneric& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSignedMessageGeneric* 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(CMsgSteamDatagramSignedMessageGeneric* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSignedMessageGeneric* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSignedMessageGeneric& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSignedMessageGeneric& from) { + CMsgSteamDatagramSignedMessageGeneric::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(CMsgSteamDatagramSignedMessageGeneric* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSignedMessageGeneric"; + } + protected: + explicit CMsgSteamDatagramSignedMessageGeneric(::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 { + kSignedDataFieldNumber = 2, + kSignatureFieldNumber = 3, + kDummyPadFieldNumber = 1023, + kCertFieldNumber = 1, + }; + // optional bytes signed_data = 2; + bool has_signed_data() const; + private: + bool _internal_has_signed_data() const; + public: + void clear_signed_data(); + const std::string& signed_data() const; + template + void set_signed_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_signed_data(); + PROTOBUF_NODISCARD std::string* release_signed_data(); + void set_allocated_signed_data(std::string* signed_data); + private: + const std::string& _internal_signed_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signed_data(const std::string& value); + std::string* _internal_mutable_signed_data(); + public: + + // optional bytes signature = 3; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional bytes dummy_pad = 1023; + bool has_dummy_pad() const; + private: + bool _internal_has_dummy_pad() const; + public: + void clear_dummy_pad(); + const std::string& dummy_pad() const; + template + void set_dummy_pad(ArgT0&& arg0, ArgT... args); + std::string* mutable_dummy_pad(); + PROTOBUF_NODISCARD std::string* release_dummy_pad(); + void set_allocated_dummy_pad(std::string* dummy_pad); + private: + const std::string& _internal_dummy_pad() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); + std::string* _internal_mutable_dummy_pad(); + public: + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedMessageGeneric) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signed_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; + ::CMsgSteamDatagramCertificateSigned* cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramRouterPingReply_RouteException final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply.RouteException) */ { + public: + inline CMsgSteamDatagramRouterPingReply_RouteException() : CMsgSteamDatagramRouterPingReply_RouteException(nullptr) {} + ~CMsgSteamDatagramRouterPingReply_RouteException() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteException(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramRouterPingReply_RouteException(const CMsgSteamDatagramRouterPingReply_RouteException& from); + CMsgSteamDatagramRouterPingReply_RouteException(CMsgSteamDatagramRouterPingReply_RouteException&& from) noexcept + : CMsgSteamDatagramRouterPingReply_RouteException() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramRouterPingReply_RouteException& operator=(const CMsgSteamDatagramRouterPingReply_RouteException& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramRouterPingReply_RouteException& operator=(CMsgSteamDatagramRouterPingReply_RouteException&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramRouterPingReply_RouteException& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramRouterPingReply_RouteException* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramRouterPingReply_RouteException_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSteamDatagramRouterPingReply_RouteException& a, CMsgSteamDatagramRouterPingReply_RouteException& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramRouterPingReply_RouteException* 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(CMsgSteamDatagramRouterPingReply_RouteException* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramRouterPingReply_RouteException* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramRouterPingReply_RouteException& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramRouterPingReply_RouteException& from) { + CMsgSteamDatagramRouterPingReply_RouteException::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(CMsgSteamDatagramRouterPingReply_RouteException* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramRouterPingReply.RouteException"; + } + protected: + explicit CMsgSteamDatagramRouterPingReply_RouteException(::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 { + kDataCenterIdFieldNumber = 1, + kFlagsFieldNumber = 2, + kPenaltyFieldNumber = 3, + }; + // optional fixed32 data_center_id = 1; + bool has_data_center_id() const; + private: + bool _internal_has_data_center_id() const; + public: + void clear_data_center_id(); + uint32_t data_center_id() const; + void set_data_center_id(uint32_t value); + private: + uint32_t _internal_data_center_id() const; + void _internal_set_data_center_id(uint32_t value); + public: + + // optional uint32 flags = 2; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 penalty = 3; + bool has_penalty() const; + private: + bool _internal_has_penalty() const; + public: + void clear_penalty(); + uint32_t penalty() const; + void set_penalty(uint32_t value); + private: + uint32_t _internal_penalty() const; + void _internal_set_penalty(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply.RouteException) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t data_center_id_; + uint32_t flags_; + uint32_t penalty_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramRouterPingReply_AltAddress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply.AltAddress) */ { + public: + inline CMsgSteamDatagramRouterPingReply_AltAddress() : CMsgSteamDatagramRouterPingReply_AltAddress(nullptr) {} + ~CMsgSteamDatagramRouterPingReply_AltAddress() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramRouterPingReply_AltAddress(const CMsgSteamDatagramRouterPingReply_AltAddress& from); + CMsgSteamDatagramRouterPingReply_AltAddress(CMsgSteamDatagramRouterPingReply_AltAddress&& from) noexcept + : CMsgSteamDatagramRouterPingReply_AltAddress() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramRouterPingReply_AltAddress& operator=(const CMsgSteamDatagramRouterPingReply_AltAddress& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramRouterPingReply_AltAddress& operator=(CMsgSteamDatagramRouterPingReply_AltAddress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramRouterPingReply_AltAddress& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramRouterPingReply_AltAddress* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSteamDatagramRouterPingReply_AltAddress& a, CMsgSteamDatagramRouterPingReply_AltAddress& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramRouterPingReply_AltAddress* 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(CMsgSteamDatagramRouterPingReply_AltAddress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramRouterPingReply_AltAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramRouterPingReply_AltAddress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramRouterPingReply_AltAddress& from) { + CMsgSteamDatagramRouterPingReply_AltAddress::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(CMsgSteamDatagramRouterPingReply_AltAddress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramRouterPingReply.AltAddress"; + } + protected: + explicit CMsgSteamDatagramRouterPingReply_AltAddress(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramRouterPingReply_AltAddress_Protocol Protocol; + static constexpr Protocol DefaultProtocol = + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; + static inline bool Protocol_IsValid(int value) { + return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(value); + } + static constexpr Protocol Protocol_MIN = + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MIN; + static constexpr Protocol Protocol_MAX = + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX; + static constexpr int Protocol_ARRAYSIZE = + CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Protocol_descriptor() { + return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); + } + template + static inline const std::string& Protocol_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Protocol_Name."); + return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name(enum_t_value); + } + static inline bool Protocol_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Protocol* value) { + return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kIdFieldNumber = 5, + kIpv4FieldNumber = 1, + kPortFieldNumber = 2, + kPenaltyFieldNumber = 3, + kProtocolFieldNumber = 4, + }; + // optional string id = 5; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); + public: + + // optional fixed32 ipv4 = 1; + bool has_ipv4() const; + private: + bool _internal_has_ipv4() const; + public: + void clear_ipv4(); + uint32_t ipv4() const; + void set_ipv4(uint32_t value); + private: + uint32_t _internal_ipv4() const; + void _internal_set_ipv4(uint32_t value); + public: + + // optional uint32 port = 2; + bool has_port() const; + private: + bool _internal_has_port() const; + public: + void clear_port(); + uint32_t port() const; + void set_port(uint32_t value); + private: + uint32_t _internal_port() const; + void _internal_set_port(uint32_t value); + public: + + // optional uint32 penalty = 3; + bool has_penalty() const; + private: + bool _internal_has_penalty() const; + public: + void clear_penalty(); + uint32_t penalty() const; + void set_penalty(uint32_t value); + private: + uint32_t _internal_penalty() const; + void _internal_set_penalty(uint32_t value); + public: + + // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; + bool has_protocol() const; + private: + bool _internal_has_protocol() const; + public: + void clear_protocol(); + ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol protocol() const; + void set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value); + private: + ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol _internal_protocol() const; + void _internal_set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply.AltAddress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + uint32_t ipv4_; + uint32_t port_; + uint32_t penalty_; + int protocol_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramRouterPingReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply) */ { + public: + inline CMsgSteamDatagramRouterPingReply() : CMsgSteamDatagramRouterPingReply(nullptr) {} + ~CMsgSteamDatagramRouterPingReply() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramRouterPingReply(const CMsgSteamDatagramRouterPingReply& from); + CMsgSteamDatagramRouterPingReply(CMsgSteamDatagramRouterPingReply&& from) noexcept + : CMsgSteamDatagramRouterPingReply() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramRouterPingReply& operator=(const CMsgSteamDatagramRouterPingReply& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramRouterPingReply& operator=(CMsgSteamDatagramRouterPingReply&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramRouterPingReply& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramRouterPingReply* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramRouterPingReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSteamDatagramRouterPingReply& a, CMsgSteamDatagramRouterPingReply& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramRouterPingReply* 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(CMsgSteamDatagramRouterPingReply* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramRouterPingReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramRouterPingReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramRouterPingReply& from) { + CMsgSteamDatagramRouterPingReply::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(CMsgSteamDatagramRouterPingReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramRouterPingReply"; + } + protected: + explicit CMsgSteamDatagramRouterPingReply(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramRouterPingReply_RouteException RouteException; + typedef CMsgSteamDatagramRouterPingReply_AltAddress AltAddress; + + typedef CMsgSteamDatagramRouterPingReply_Flags Flags; + static constexpr Flags FLAG_MAYBE_MORE_DATA_CENTERS = + CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS; + static constexpr Flags FLAG_MAYBE_MORE_ALT_ADDRESSES = + CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramRouterPingReply_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramRouterPingReply_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramRouterPingReply_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramRouterPingReply_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramRouterPingReply_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramRouterPingReply_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kLatencyDatacenterIdsFieldNumber = 2, + kLatencyPingMsFieldNumber = 3, + kRouteExceptionsFieldNumber = 10, + kAltAddressesFieldNumber = 13, + kLatencyDatacenterIdsP2PFieldNumber = 14, + kLatencyPingMsP2PFieldNumber = 15, + kDummyPadFieldNumber = 99, + kClientTimestampFieldNumber = 1, + kYourPublicIpFieldNumber = 4, + kChallengeFieldNumber = 6, + kServerTimeFieldNumber = 5, + kSecondsUntilShutdownFieldNumber = 7, + kClientCookieFieldNumber = 8, + kScoringPenaltyRelayClusterFieldNumber = 9, + kYourPublicPortFieldNumber = 11, + kFlagsFieldNumber = 12, + kRecvTosFieldNumber = 16, + kEchoSentTosFieldNumber = 17, + kSentTosFieldNumber = 18, + kEchoRequestReplyTosFieldNumber = 19, + kDummyVarintFieldNumber = 100, + }; + // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; + int latency_datacenter_ids_size() const; + private: + int _internal_latency_datacenter_ids_size() const; + public: + void clear_latency_datacenter_ids(); + private: + uint32_t _internal_latency_datacenter_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_latency_datacenter_ids() const; + void _internal_add_latency_datacenter_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_latency_datacenter_ids(); + public: + uint32_t latency_datacenter_ids(int index) const; + void set_latency_datacenter_ids(int index, uint32_t value); + void add_latency_datacenter_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + latency_datacenter_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_latency_datacenter_ids(); + + // repeated uint32 latency_ping_ms = 3 [packed = true]; + int latency_ping_ms_size() const; + private: + int _internal_latency_ping_ms_size() const; + public: + void clear_latency_ping_ms(); + private: + uint32_t _internal_latency_ping_ms(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_latency_ping_ms() const; + void _internal_add_latency_ping_ms(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_latency_ping_ms(); + public: + uint32_t latency_ping_ms(int index) const; + void set_latency_ping_ms(int index, uint32_t value); + void add_latency_ping_ms(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + latency_ping_ms() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_latency_ping_ms(); + + // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; + int route_exceptions_size() const; + private: + int _internal_route_exceptions_size() const; + public: + void clear_route_exceptions(); + ::CMsgSteamDatagramRouterPingReply_RouteException* mutable_route_exceptions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >* + mutable_route_exceptions(); + private: + const ::CMsgSteamDatagramRouterPingReply_RouteException& _internal_route_exceptions(int index) const; + ::CMsgSteamDatagramRouterPingReply_RouteException* _internal_add_route_exceptions(); + public: + const ::CMsgSteamDatagramRouterPingReply_RouteException& route_exceptions(int index) const; + ::CMsgSteamDatagramRouterPingReply_RouteException* add_route_exceptions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >& + route_exceptions() const; + + // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; + int alt_addresses_size() const; + private: + int _internal_alt_addresses_size() const; + public: + void clear_alt_addresses(); + ::CMsgSteamDatagramRouterPingReply_AltAddress* mutable_alt_addresses(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >* + mutable_alt_addresses(); + private: + const ::CMsgSteamDatagramRouterPingReply_AltAddress& _internal_alt_addresses(int index) const; + ::CMsgSteamDatagramRouterPingReply_AltAddress* _internal_add_alt_addresses(); + public: + const ::CMsgSteamDatagramRouterPingReply_AltAddress& alt_addresses(int index) const; + ::CMsgSteamDatagramRouterPingReply_AltAddress* add_alt_addresses(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >& + alt_addresses() const; + + // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; + int latency_datacenter_ids_p2p_size() const; + private: + int _internal_latency_datacenter_ids_p2p_size() const; + public: + void clear_latency_datacenter_ids_p2p(); + private: + uint32_t _internal_latency_datacenter_ids_p2p(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_latency_datacenter_ids_p2p() const; + void _internal_add_latency_datacenter_ids_p2p(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_latency_datacenter_ids_p2p(); + public: + uint32_t latency_datacenter_ids_p2p(int index) const; + void set_latency_datacenter_ids_p2p(int index, uint32_t value); + void add_latency_datacenter_ids_p2p(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + latency_datacenter_ids_p2p() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_latency_datacenter_ids_p2p(); + + // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; + int latency_ping_ms_p2p_size() const; + private: + int _internal_latency_ping_ms_p2p_size() const; + public: + void clear_latency_ping_ms_p2p(); + private: + uint32_t _internal_latency_ping_ms_p2p(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_latency_ping_ms_p2p() const; + void _internal_add_latency_ping_ms_p2p(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_latency_ping_ms_p2p(); + public: + uint32_t latency_ping_ms_p2p(int index) const; + void set_latency_ping_ms_p2p(int index, uint32_t value); + void add_latency_ping_ms_p2p(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + latency_ping_ms_p2p() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_latency_ping_ms_p2p(); + + // optional bytes dummy_pad = 99; + bool has_dummy_pad() const; + private: + bool _internal_has_dummy_pad() const; + public: + void clear_dummy_pad(); + const std::string& dummy_pad() const; + template + void set_dummy_pad(ArgT0&& arg0, ArgT... args); + std::string* mutable_dummy_pad(); + PROTOBUF_NODISCARD std::string* release_dummy_pad(); + void set_allocated_dummy_pad(std::string* dummy_pad); + private: + const std::string& _internal_dummy_pad() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); + std::string* _internal_mutable_dummy_pad(); + public: + + // optional fixed32 client_timestamp = 1; + bool has_client_timestamp() const; + private: + bool _internal_has_client_timestamp() const; + public: + void clear_client_timestamp(); + uint32_t client_timestamp() const; + void set_client_timestamp(uint32_t value); + private: + uint32_t _internal_client_timestamp() const; + void _internal_set_client_timestamp(uint32_t value); + public: + + // optional fixed32 your_public_ip = 4; + bool has_your_public_ip() const; + private: + bool _internal_has_your_public_ip() const; + public: + void clear_your_public_ip(); + uint32_t your_public_ip() const; + void set_your_public_ip(uint32_t value); + private: + uint32_t _internal_your_public_ip() const; + void _internal_set_your_public_ip(uint32_t value); + public: + + // optional fixed64 challenge = 6; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional fixed32 server_time = 5; + bool has_server_time() const; + private: + bool _internal_has_server_time() const; + public: + void clear_server_time(); + uint32_t server_time() const; + void set_server_time(uint32_t value); + private: + uint32_t _internal_server_time() const; + void _internal_set_server_time(uint32_t value); + public: + + // optional uint32 seconds_until_shutdown = 7; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional fixed32 client_cookie = 8; + bool has_client_cookie() const; + private: + bool _internal_has_client_cookie() const; + public: + void clear_client_cookie(); + uint32_t client_cookie() const; + void set_client_cookie(uint32_t value); + private: + uint32_t _internal_client_cookie() const; + void _internal_set_client_cookie(uint32_t value); + public: + + // optional uint32 scoring_penalty_relay_cluster = 9; + bool has_scoring_penalty_relay_cluster() const; + private: + bool _internal_has_scoring_penalty_relay_cluster() const; + public: + void clear_scoring_penalty_relay_cluster(); + uint32_t scoring_penalty_relay_cluster() const; + void set_scoring_penalty_relay_cluster(uint32_t value); + private: + uint32_t _internal_scoring_penalty_relay_cluster() const; + void _internal_set_scoring_penalty_relay_cluster(uint32_t value); + public: + + // optional fixed32 your_public_port = 11; + bool has_your_public_port() const; + private: + bool _internal_has_your_public_port() const; + public: + void clear_your_public_port(); + uint32_t your_public_port() const; + void set_your_public_port(uint32_t value); + private: + uint32_t _internal_your_public_port() const; + void _internal_set_your_public_port(uint32_t value); + public: + + // optional uint32 flags = 12; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 recv_tos = 16; + bool has_recv_tos() const; + private: + bool _internal_has_recv_tos() const; + public: + void clear_recv_tos(); + uint32_t recv_tos() const; + void set_recv_tos(uint32_t value); + private: + uint32_t _internal_recv_tos() const; + void _internal_set_recv_tos(uint32_t value); + public: + + // optional uint32 echo_sent_tos = 17; + bool has_echo_sent_tos() const; + private: + bool _internal_has_echo_sent_tos() const; + public: + void clear_echo_sent_tos(); + uint32_t echo_sent_tos() const; + void set_echo_sent_tos(uint32_t value); + private: + uint32_t _internal_echo_sent_tos() const; + void _internal_set_echo_sent_tos(uint32_t value); + public: + + // optional uint32 sent_tos = 18; + bool has_sent_tos() const; + private: + bool _internal_has_sent_tos() const; + public: + void clear_sent_tos(); + uint32_t sent_tos() const; + void set_sent_tos(uint32_t value); + private: + uint32_t _internal_sent_tos() const; + void _internal_set_sent_tos(uint32_t value); + public: + + // optional uint32 echo_request_reply_tos = 19; + bool has_echo_request_reply_tos() const; + private: + bool _internal_has_echo_request_reply_tos() const; + public: + void clear_echo_request_reply_tos(); + uint32_t echo_request_reply_tos() const; + void set_echo_request_reply_tos(uint32_t value); + private: + uint32_t _internal_echo_request_reply_tos() const; + void _internal_set_echo_request_reply_tos(uint32_t value); + public: + + // optional uint64 dummy_varint = 100; + bool has_dummy_varint() const; + private: + bool _internal_has_dummy_varint() const; + public: + void clear_dummy_varint(); + uint64_t dummy_varint() const; + void set_dummy_varint(uint64_t value); + private: + uint64_t _internal_dummy_varint() const; + void _internal_set_dummy_varint(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_datacenter_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_ping_ms_; + mutable std::atomic _latency_ping_ms_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException > route_exceptions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress > alt_addresses_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_datacenter_ids_p2p_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_ping_ms_p2p_; + mutable std::atomic _latency_ping_ms_p2p_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; + uint32_t client_timestamp_; + uint32_t your_public_ip_; + uint64_t challenge_; + uint32_t server_time_; + uint32_t seconds_until_shutdown_; + uint32_t client_cookie_; + uint32_t scoring_penalty_relay_cluster_; + uint32_t your_public_port_; + uint32_t flags_; + uint32_t recv_tos_; + uint32_t echo_sent_tos_; + uint32_t sent_tos_; + uint32_t echo_request_reply_tos_; + uint64_t dummy_varint_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameserverPingRequestBody final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingRequestBody) */ { + public: + inline CMsgSteamDatagramGameserverPingRequestBody() : CMsgSteamDatagramGameserverPingRequestBody(nullptr) {} + ~CMsgSteamDatagramGameserverPingRequestBody() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameserverPingRequestBody(const CMsgSteamDatagramGameserverPingRequestBody& from); + CMsgSteamDatagramGameserverPingRequestBody(CMsgSteamDatagramGameserverPingRequestBody&& from) noexcept + : CMsgSteamDatagramGameserverPingRequestBody() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameserverPingRequestBody& operator=(const CMsgSteamDatagramGameserverPingRequestBody& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameserverPingRequestBody& operator=(CMsgSteamDatagramGameserverPingRequestBody&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameserverPingRequestBody& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameserverPingRequestBody* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameserverPingRequestBody_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSteamDatagramGameserverPingRequestBody& a, CMsgSteamDatagramGameserverPingRequestBody& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameserverPingRequestBody* 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(CMsgSteamDatagramGameserverPingRequestBody* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameserverPingRequestBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameserverPingRequestBody& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameserverPingRequestBody& from) { + CMsgSteamDatagramGameserverPingRequestBody::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(CMsgSteamDatagramGameserverPingRequestBody* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameserverPingRequestBody"; + } + protected: + explicit CMsgSteamDatagramGameserverPingRequestBody(::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 { + kMyIpsFieldNumber = 6, + kEchoFieldNumber = 8, + kYourPublicIpFieldNumber = 2, + kRelayPopidFieldNumber = 1, + kYourPublicPortFieldNumber = 3, + kRelayUnixTimeFieldNumber = 4, + kRoutingSecretFieldNumber = 5, + }; + // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; + int my_ips_size() const; + private: + int _internal_my_ips_size() const; + public: + void clear_my_ips(); + ::CMsgSteamNetworkingIPAddress* mutable_my_ips(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >* + mutable_my_ips(); + private: + const ::CMsgSteamNetworkingIPAddress& _internal_my_ips(int index) const; + ::CMsgSteamNetworkingIPAddress* _internal_add_my_ips(); + public: + const ::CMsgSteamNetworkingIPAddress& my_ips(int index) const; + ::CMsgSteamNetworkingIPAddress* add_my_ips(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >& + my_ips() const; + + // optional bytes echo = 8; + bool has_echo() const; + private: + bool _internal_has_echo() const; + public: + void clear_echo(); + const std::string& echo() const; + template + void set_echo(ArgT0&& arg0, ArgT... args); + std::string* mutable_echo(); + PROTOBUF_NODISCARD std::string* release_echo(); + void set_allocated_echo(std::string* echo); + private: + const std::string& _internal_echo() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_echo(const std::string& value); + std::string* _internal_mutable_echo(); + public: + + // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; + bool has_your_public_ip() const; + private: + bool _internal_has_your_public_ip() const; + public: + void clear_your_public_ip(); + const ::CMsgSteamNetworkingIPAddress& your_public_ip() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingIPAddress* release_your_public_ip(); + ::CMsgSteamNetworkingIPAddress* mutable_your_public_ip(); + void set_allocated_your_public_ip(::CMsgSteamNetworkingIPAddress* your_public_ip); + private: + const ::CMsgSteamNetworkingIPAddress& _internal_your_public_ip() const; + ::CMsgSteamNetworkingIPAddress* _internal_mutable_your_public_ip(); + public: + void unsafe_arena_set_allocated_your_public_ip( + ::CMsgSteamNetworkingIPAddress* your_public_ip); + ::CMsgSteamNetworkingIPAddress* unsafe_arena_release_your_public_ip(); + + // optional fixed32 relay_popid = 1; + bool has_relay_popid() const; + private: + bool _internal_has_relay_popid() const; + public: + void clear_relay_popid(); + uint32_t relay_popid() const; + void set_relay_popid(uint32_t value); + private: + uint32_t _internal_relay_popid() const; + void _internal_set_relay_popid(uint32_t value); + public: + + // optional uint32 your_public_port = 3; + bool has_your_public_port() const; + private: + bool _internal_has_your_public_port() const; + public: + void clear_your_public_port(); + uint32_t your_public_port() const; + void set_your_public_port(uint32_t value); + private: + uint32_t _internal_your_public_port() const; + void _internal_set_your_public_port(uint32_t value); + public: + + // optional uint64 relay_unix_time = 4; + bool has_relay_unix_time() const; + private: + bool _internal_has_relay_unix_time() const; + public: + void clear_relay_unix_time(); + uint64_t relay_unix_time() const; + void set_relay_unix_time(uint64_t value); + private: + uint64_t _internal_relay_unix_time() const; + void _internal_set_relay_unix_time(uint64_t value); + public: + + // optional fixed64 routing_secret = 5; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingRequestBody) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress > my_ips_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr echo_; + ::CMsgSteamNetworkingIPAddress* your_public_ip_; + uint32_t relay_popid_; + uint32_t your_public_port_; + uint64_t relay_unix_time_; + uint64_t routing_secret_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameserverPingRequestEnvelope final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingRequestEnvelope) */ { + public: + inline CMsgSteamDatagramGameserverPingRequestEnvelope() : CMsgSteamDatagramGameserverPingRequestEnvelope(nullptr) {} + ~CMsgSteamDatagramGameserverPingRequestEnvelope() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelope(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameserverPingRequestEnvelope(const CMsgSteamDatagramGameserverPingRequestEnvelope& from); + CMsgSteamDatagramGameserverPingRequestEnvelope(CMsgSteamDatagramGameserverPingRequestEnvelope&& from) noexcept + : CMsgSteamDatagramGameserverPingRequestEnvelope() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameserverPingRequestEnvelope& operator=(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameserverPingRequestEnvelope& operator=(CMsgSteamDatagramGameserverPingRequestEnvelope&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameserverPingRequestEnvelope& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameserverPingRequestEnvelope* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgSteamDatagramGameserverPingRequestEnvelope& a, CMsgSteamDatagramGameserverPingRequestEnvelope& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameserverPingRequestEnvelope* 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(CMsgSteamDatagramGameserverPingRequestEnvelope* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameserverPingRequestEnvelope* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameserverPingRequestEnvelope& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { + CMsgSteamDatagramGameserverPingRequestEnvelope::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(CMsgSteamDatagramGameserverPingRequestEnvelope* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameserverPingRequestEnvelope"; + } + protected: + explicit CMsgSteamDatagramGameserverPingRequestEnvelope(::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 { + kSignedDataFieldNumber = 7, + kSignatureFieldNumber = 8, + kDummyPadFieldNumber = 1023, + kCertFieldNumber = 6, + kLegacyYourPublicIpFieldNumber = 1, + kLegacyRelayUnixTimeFieldNumber = 2, + kLegacyChallengeFieldNumber = 3, + kLegacyRouterTimestampFieldNumber = 4, + kLegacyYourPublicPortFieldNumber = 5, + }; + // optional bytes signed_data = 7; + bool has_signed_data() const; + private: + bool _internal_has_signed_data() const; + public: + void clear_signed_data(); + const std::string& signed_data() const; + template + void set_signed_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_signed_data(); + PROTOBUF_NODISCARD std::string* release_signed_data(); + void set_allocated_signed_data(std::string* signed_data); + private: + const std::string& _internal_signed_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signed_data(const std::string& value); + std::string* _internal_mutable_signed_data(); + public: + + // optional bytes signature = 8; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional bytes dummy_pad = 1023; + bool has_dummy_pad() const; + private: + bool _internal_has_dummy_pad() const; + public: + void clear_dummy_pad(); + const std::string& dummy_pad() const; + template + void set_dummy_pad(ArgT0&& arg0, ArgT... args); + std::string* mutable_dummy_pad(); + PROTOBUF_NODISCARD std::string* release_dummy_pad(); + void set_allocated_dummy_pad(std::string* dummy_pad); + private: + const std::string& _internal_dummy_pad() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); + std::string* _internal_mutable_dummy_pad(); + public: + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional fixed32 legacy_your_public_ip = 1; + bool has_legacy_your_public_ip() const; + private: + bool _internal_has_legacy_your_public_ip() const; + public: + void clear_legacy_your_public_ip(); + uint32_t legacy_your_public_ip() const; + void set_legacy_your_public_ip(uint32_t value); + private: + uint32_t _internal_legacy_your_public_ip() const; + void _internal_set_legacy_your_public_ip(uint32_t value); + public: + + // optional fixed32 legacy_relay_unix_time = 2; + bool has_legacy_relay_unix_time() const; + private: + bool _internal_has_legacy_relay_unix_time() const; + public: + void clear_legacy_relay_unix_time(); + uint32_t legacy_relay_unix_time() const; + void set_legacy_relay_unix_time(uint32_t value); + private: + uint32_t _internal_legacy_relay_unix_time() const; + void _internal_set_legacy_relay_unix_time(uint32_t value); + public: + + // optional fixed64 legacy_challenge = 3; + bool has_legacy_challenge() const; + private: + bool _internal_has_legacy_challenge() const; + public: + void clear_legacy_challenge(); + uint64_t legacy_challenge() const; + void set_legacy_challenge(uint64_t value); + private: + uint64_t _internal_legacy_challenge() const; + void _internal_set_legacy_challenge(uint64_t value); + public: + + // optional fixed32 legacy_router_timestamp = 4; + bool has_legacy_router_timestamp() const; + private: + bool _internal_has_legacy_router_timestamp() const; + public: + void clear_legacy_router_timestamp(); + uint32_t legacy_router_timestamp() const; + void set_legacy_router_timestamp(uint32_t value); + private: + uint32_t _internal_legacy_router_timestamp() const; + void _internal_set_legacy_router_timestamp(uint32_t value); + public: + + // optional fixed32 legacy_your_public_port = 5; + bool has_legacy_your_public_port() const; + private: + bool _internal_has_legacy_your_public_port() const; + public: + void clear_legacy_your_public_port(); + uint32_t legacy_your_public_port() const; + void set_legacy_your_public_port(uint32_t value); + private: + uint32_t _internal_legacy_your_public_port() const; + void _internal_set_legacy_your_public_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingRequestEnvelope) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signed_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; + ::CMsgSteamDatagramCertificateSigned* cert_; + uint32_t legacy_your_public_ip_; + uint32_t legacy_relay_unix_time_; + uint64_t legacy_challenge_; + uint32_t legacy_router_timestamp_; + uint32_t legacy_your_public_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameserverPingReplyData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingReplyData) */ { + public: + inline CMsgSteamDatagramGameserverPingReplyData() : CMsgSteamDatagramGameserverPingReplyData(nullptr) {} + ~CMsgSteamDatagramGameserverPingReplyData() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameserverPingReplyData(const CMsgSteamDatagramGameserverPingReplyData& from); + CMsgSteamDatagramGameserverPingReplyData(CMsgSteamDatagramGameserverPingReplyData&& from) noexcept + : CMsgSteamDatagramGameserverPingReplyData() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameserverPingReplyData& operator=(const CMsgSteamDatagramGameserverPingReplyData& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameserverPingReplyData& operator=(CMsgSteamDatagramGameserverPingReplyData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameserverPingReplyData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameserverPingReplyData* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameserverPingReplyData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgSteamDatagramGameserverPingReplyData& a, CMsgSteamDatagramGameserverPingReplyData& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameserverPingReplyData* 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(CMsgSteamDatagramGameserverPingReplyData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameserverPingReplyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameserverPingReplyData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameserverPingReplyData& from) { + CMsgSteamDatagramGameserverPingReplyData::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(CMsgSteamDatagramGameserverPingReplyData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameserverPingReplyData"; + } + protected: + explicit CMsgSteamDatagramGameserverPingReplyData(::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 { + kEchoFieldNumber = 8, + kBuildFieldNumber = 9, + kRoutingBlobFieldNumber = 12, + kLegacyChallengeFieldNumber = 3, + kEchoRelayUnixTimeFieldNumber = 2, + kLegacyRouterTimestampFieldNumber = 4, + kDataCenterIdFieldNumber = 5, + kAppidFieldNumber = 6, + kProtocolVersionFieldNumber = 7, + kMyUnixTimeFieldNumber = 11, + kNetworkConfigVersionFieldNumber = 10, + }; + // optional bytes echo = 8; + bool has_echo() const; + private: + bool _internal_has_echo() const; + public: + void clear_echo(); + const std::string& echo() const; + template + void set_echo(ArgT0&& arg0, ArgT... args); + std::string* mutable_echo(); + PROTOBUF_NODISCARD std::string* release_echo(); + void set_allocated_echo(std::string* echo); + private: + const std::string& _internal_echo() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_echo(const std::string& value); + std::string* _internal_mutable_echo(); + public: + + // optional string build = 9; + bool has_build() const; + private: + bool _internal_has_build() const; + public: + void clear_build(); + const std::string& build() const; + template + void set_build(ArgT0&& arg0, ArgT... args); + std::string* mutable_build(); + PROTOBUF_NODISCARD std::string* release_build(); + void set_allocated_build(std::string* build); + private: + const std::string& _internal_build() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); + std::string* _internal_mutable_build(); + public: + + // optional bytes routing_blob = 12; + bool has_routing_blob() const; + private: + bool _internal_has_routing_blob() const; + public: + void clear_routing_blob(); + const std::string& routing_blob() const; + template + void set_routing_blob(ArgT0&& arg0, ArgT... args); + std::string* mutable_routing_blob(); + PROTOBUF_NODISCARD std::string* release_routing_blob(); + void set_allocated_routing_blob(std::string* routing_blob); + private: + const std::string& _internal_routing_blob() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_routing_blob(const std::string& value); + std::string* _internal_mutable_routing_blob(); + public: + + // optional fixed64 legacy_challenge = 3; + bool has_legacy_challenge() const; + private: + bool _internal_has_legacy_challenge() const; + public: + void clear_legacy_challenge(); + uint64_t legacy_challenge() const; + void set_legacy_challenge(uint64_t value); + private: + uint64_t _internal_legacy_challenge() const; + void _internal_set_legacy_challenge(uint64_t value); + public: + + // optional fixed32 echo_relay_unix_time = 2; + bool has_echo_relay_unix_time() const; + private: + bool _internal_has_echo_relay_unix_time() const; + public: + void clear_echo_relay_unix_time(); + uint32_t echo_relay_unix_time() const; + void set_echo_relay_unix_time(uint32_t value); + private: + uint32_t _internal_echo_relay_unix_time() const; + void _internal_set_echo_relay_unix_time(uint32_t value); + public: + + // optional fixed32 legacy_router_timestamp = 4; + bool has_legacy_router_timestamp() const; + private: + bool _internal_has_legacy_router_timestamp() const; + public: + void clear_legacy_router_timestamp(); + uint32_t legacy_router_timestamp() const; + void set_legacy_router_timestamp(uint32_t value); + private: + uint32_t _internal_legacy_router_timestamp() const; + void _internal_set_legacy_router_timestamp(uint32_t value); + public: + + // optional fixed32 data_center_id = 5; + bool has_data_center_id() const; + private: + bool _internal_has_data_center_id() const; + public: + void clear_data_center_id(); + uint32_t data_center_id() const; + void set_data_center_id(uint32_t value); + private: + uint32_t _internal_data_center_id() const; + void _internal_set_data_center_id(uint32_t value); + public: + + // optional uint32 appid = 6; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 protocol_version = 7; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional fixed32 my_unix_time = 11; + bool has_my_unix_time() const; + private: + bool _internal_has_my_unix_time() const; + public: + void clear_my_unix_time(); + uint32_t my_unix_time() const; + void set_my_unix_time(uint32_t value); + private: + uint32_t _internal_my_unix_time() const; + void _internal_set_my_unix_time(uint32_t value); + public: + + // optional uint64 network_config_version = 10; + bool has_network_config_version() const; + private: + bool _internal_has_network_config_version() const; + public: + void clear_network_config_version(); + uint64_t network_config_version() const; + void set_network_config_version(uint64_t value); + private: + uint64_t _internal_network_config_version() const; + void _internal_set_network_config_version(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingReplyData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr echo_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_blob_; + uint64_t legacy_challenge_; + uint32_t echo_relay_unix_time_; + uint32_t legacy_router_timestamp_; + uint32_t data_center_id_; + uint32_t appid_; + uint32_t protocol_version_; + uint32_t my_unix_time_; + uint64_t network_config_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramNoSessionRelayToClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoSessionRelayToClient) */ { + public: + inline CMsgSteamDatagramNoSessionRelayToClient() : CMsgSteamDatagramNoSessionRelayToClient(nullptr) {} + ~CMsgSteamDatagramNoSessionRelayToClient() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramNoSessionRelayToClient(const CMsgSteamDatagramNoSessionRelayToClient& from); + CMsgSteamDatagramNoSessionRelayToClient(CMsgSteamDatagramNoSessionRelayToClient&& from) noexcept + : CMsgSteamDatagramNoSessionRelayToClient() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramNoSessionRelayToClient& operator=(const CMsgSteamDatagramNoSessionRelayToClient& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramNoSessionRelayToClient& operator=(CMsgSteamDatagramNoSessionRelayToClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramNoSessionRelayToClient& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramNoSessionRelayToClient* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramNoSessionRelayToClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgSteamDatagramNoSessionRelayToClient& a, CMsgSteamDatagramNoSessionRelayToClient& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramNoSessionRelayToClient* 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(CMsgSteamDatagramNoSessionRelayToClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramNoSessionRelayToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramNoSessionRelayToClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramNoSessionRelayToClient& from) { + CMsgSteamDatagramNoSessionRelayToClient::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(CMsgSteamDatagramNoSessionRelayToClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramNoSessionRelayToClient"; + } + protected: + explicit CMsgSteamDatagramNoSessionRelayToClient(::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 { + kYourPublicIpFieldNumber = 2, + kServerTimeFieldNumber = 3, + kChallengeFieldNumber = 4, + kSecondsUntilShutdownFieldNumber = 5, + kYourPublicPortFieldNumber = 6, + kConnectionIdFieldNumber = 7, + }; + // optional fixed32 your_public_ip = 2; + bool has_your_public_ip() const; + private: + bool _internal_has_your_public_ip() const; + public: + void clear_your_public_ip(); + uint32_t your_public_ip() const; + void set_your_public_ip(uint32_t value); + private: + uint32_t _internal_your_public_ip() const; + void _internal_set_your_public_ip(uint32_t value); + public: + + // optional fixed32 server_time = 3; + bool has_server_time() const; + private: + bool _internal_has_server_time() const; + public: + void clear_server_time(); + uint32_t server_time() const; + void set_server_time(uint32_t value); + private: + uint32_t _internal_server_time() const; + void _internal_set_server_time(uint32_t value); + public: + + // optional fixed64 challenge = 4; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional uint32 seconds_until_shutdown = 5; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional fixed32 your_public_port = 6; + bool has_your_public_port() const; + private: + bool _internal_has_your_public_port() const; + public: + void clear_your_public_port(); + uint32_t your_public_port() const; + void set_your_public_port(uint32_t value); + private: + uint32_t _internal_your_public_port() const; + void _internal_set_your_public_port(uint32_t value); + public: + + // optional fixed32 connection_id = 7; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoSessionRelayToClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t your_public_ip_; + uint32_t server_time_; + uint64_t challenge_; + uint32_t seconds_until_shutdown_; + uint32_t your_public_port_; + uint32_t connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramNoSessionRelayToPeer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoSessionRelayToPeer) */ { + public: + inline CMsgSteamDatagramNoSessionRelayToPeer() : CMsgSteamDatagramNoSessionRelayToPeer(nullptr) {} + ~CMsgSteamDatagramNoSessionRelayToPeer() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramNoSessionRelayToPeer(const CMsgSteamDatagramNoSessionRelayToPeer& from); + CMsgSteamDatagramNoSessionRelayToPeer(CMsgSteamDatagramNoSessionRelayToPeer&& from) noexcept + : CMsgSteamDatagramNoSessionRelayToPeer() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramNoSessionRelayToPeer& operator=(const CMsgSteamDatagramNoSessionRelayToPeer& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramNoSessionRelayToPeer& operator=(CMsgSteamDatagramNoSessionRelayToPeer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramNoSessionRelayToPeer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramNoSessionRelayToPeer* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramNoSessionRelayToPeer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgSteamDatagramNoSessionRelayToPeer& a, CMsgSteamDatagramNoSessionRelayToPeer& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramNoSessionRelayToPeer* 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(CMsgSteamDatagramNoSessionRelayToPeer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramNoSessionRelayToPeer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramNoSessionRelayToPeer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramNoSessionRelayToPeer& from) { + CMsgSteamDatagramNoSessionRelayToPeer::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(CMsgSteamDatagramNoSessionRelayToPeer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramNoSessionRelayToPeer"; + } + protected: + explicit CMsgSteamDatagramNoSessionRelayToPeer(::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 { + kLegacyRelaySessionIdFieldNumber = 1, + kFromRelaySessionIdFieldNumber = 2, + kKludgePadFieldNumber = 99, + kFromConnectionIdFieldNumber = 7, + }; + // optional uint32 legacy_relay_session_id = 1; + bool has_legacy_relay_session_id() const; + private: + bool _internal_has_legacy_relay_session_id() const; + public: + void clear_legacy_relay_session_id(); + uint32_t legacy_relay_session_id() const; + void set_legacy_relay_session_id(uint32_t value); + private: + uint32_t _internal_legacy_relay_session_id() const; + void _internal_set_legacy_relay_session_id(uint32_t value); + public: + + // optional fixed32 from_relay_session_id = 2; + bool has_from_relay_session_id() const; + private: + bool _internal_has_from_relay_session_id() const; + public: + void clear_from_relay_session_id(); + uint32_t from_relay_session_id() const; + void set_from_relay_session_id(uint32_t value); + private: + uint32_t _internal_from_relay_session_id() const; + void _internal_set_from_relay_session_id(uint32_t value); + public: + + // optional fixed64 kludge_pad = 99; + bool has_kludge_pad() const; + private: + bool _internal_has_kludge_pad() const; + public: + void clear_kludge_pad(); + uint64_t kludge_pad() const; + void set_kludge_pad(uint64_t value); + private: + uint64_t _internal_kludge_pad() const; + void _internal_set_kludge_pad(uint64_t value); + public: + + // optional fixed32 from_connection_id = 7; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoSessionRelayToPeer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t legacy_relay_session_id_; + uint32_t from_relay_session_id_; + uint64_t kludge_pad_; + uint32_t from_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTOSTreatment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTOSTreatment) */ { + public: + inline CMsgTOSTreatment() : CMsgTOSTreatment(nullptr) {} + ~CMsgTOSTreatment() override; + explicit PROTOBUF_CONSTEXPR CMsgTOSTreatment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTOSTreatment(const CMsgTOSTreatment& from); + CMsgTOSTreatment(CMsgTOSTreatment&& from) noexcept + : CMsgTOSTreatment() { + *this = ::std::move(from); + } + + inline CMsgTOSTreatment& operator=(const CMsgTOSTreatment& from) { + CopyFrom(from); + return *this; + } + inline CMsgTOSTreatment& operator=(CMsgTOSTreatment&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTOSTreatment& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTOSTreatment* internal_default_instance() { + return reinterpret_cast( + &_CMsgTOSTreatment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgTOSTreatment& a, CMsgTOSTreatment& b) { + a.Swap(&b); + } + inline void Swap(CMsgTOSTreatment* 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(CMsgTOSTreatment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTOSTreatment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTOSTreatment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTOSTreatment& from) { + CMsgTOSTreatment::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(CMsgTOSTreatment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTOSTreatment"; + } + protected: + explicit CMsgTOSTreatment(::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 { + kL4SDetectFieldNumber = 1, + kUpEcn1FieldNumber = 2, + kDownDscp45FieldNumber = 3, + }; + // optional string l4s_detect = 1; + bool has_l4s_detect() const; + private: + bool _internal_has_l4s_detect() const; + public: + void clear_l4s_detect(); + const std::string& l4s_detect() const; + template + void set_l4s_detect(ArgT0&& arg0, ArgT... args); + std::string* mutable_l4s_detect(); + PROTOBUF_NODISCARD std::string* release_l4s_detect(); + void set_allocated_l4s_detect(std::string* l4s_detect); + private: + const std::string& _internal_l4s_detect() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_l4s_detect(const std::string& value); + std::string* _internal_mutable_l4s_detect(); + public: + + // optional string up_ecn1 = 2; + bool has_up_ecn1() const; + private: + bool _internal_has_up_ecn1() const; + public: + void clear_up_ecn1(); + const std::string& up_ecn1() const; + template + void set_up_ecn1(ArgT0&& arg0, ArgT... args); + std::string* mutable_up_ecn1(); + PROTOBUF_NODISCARD std::string* release_up_ecn1(); + void set_allocated_up_ecn1(std::string* up_ecn1); + private: + const std::string& _internal_up_ecn1() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_up_ecn1(const std::string& value); + std::string* _internal_mutable_up_ecn1(); + public: + + // optional string down_dscp45 = 3; + bool has_down_dscp45() const; + private: + bool _internal_has_down_dscp45() const; + public: + void clear_down_dscp45(); + const std::string& down_dscp45() const; + template + void set_down_dscp45(ArgT0&& arg0, ArgT... args); + std::string* mutable_down_dscp45(); + PROTOBUF_NODISCARD std::string* release_down_dscp45(); + void set_allocated_down_dscp45(std::string* down_dscp45); + private: + const std::string& _internal_down_dscp45() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_down_dscp45(const std::string& value); + std::string* _internal_mutable_down_dscp45(); + public: + + // @@protoc_insertion_point(class_scope:CMsgTOSTreatment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr l4s_detect_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr up_ecn1_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr down_dscp45_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientPingSampleRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleRequest) */ { + public: + inline CMsgSteamDatagramClientPingSampleRequest() : CMsgSteamDatagramClientPingSampleRequest(nullptr) {} + ~CMsgSteamDatagramClientPingSampleRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientPingSampleRequest(const CMsgSteamDatagramClientPingSampleRequest& from); + CMsgSteamDatagramClientPingSampleRequest(CMsgSteamDatagramClientPingSampleRequest&& from) noexcept + : CMsgSteamDatagramClientPingSampleRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientPingSampleRequest& operator=(const CMsgSteamDatagramClientPingSampleRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientPingSampleRequest& operator=(CMsgSteamDatagramClientPingSampleRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientPingSampleRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientPingSampleRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientPingSampleRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgSteamDatagramClientPingSampleRequest& a, CMsgSteamDatagramClientPingSampleRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientPingSampleRequest* 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(CMsgSteamDatagramClientPingSampleRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientPingSampleRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientPingSampleRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientPingSampleRequest& from) { + CMsgSteamDatagramClientPingSampleRequest::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(CMsgSteamDatagramClientPingSampleRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientPingSampleRequest"; + } + protected: + explicit CMsgSteamDatagramClientPingSampleRequest(::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 { + kConnectionIdFieldNumber = 1, + }; + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) */ { + public: + inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() : CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(nullptr) {} + ~CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from); + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress&& from) noexcept + : CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& operator=(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& operator=(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& a, CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* 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(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { + CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::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(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress"; + } + protected: + explicit CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::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 { + kIdFieldNumber = 1, + kFrontPingMsFieldNumber = 2, + kPenaltyFieldNumber = 3, + }; + // optional string id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); + public: + + // optional uint32 front_ping_ms = 2; + bool has_front_ping_ms() const; + private: + bool _internal_has_front_ping_ms() const; + public: + void clear_front_ping_ms(); + uint32_t front_ping_ms() const; + void set_front_ping_ms(uint32_t value); + private: + uint32_t _internal_front_ping_ms() const; + void _internal_set_front_ping_ms(uint32_t value); + public: + + // optional uint32 penalty = 3; + bool has_penalty() const; + private: + bool _internal_has_penalty() const; + public: + void clear_penalty(); + uint32_t penalty() const; + void set_penalty(uint32_t value); + private: + uint32_t _internal_penalty() const; + void _internal_set_penalty(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + uint32_t front_ping_ms_; + uint32_t penalty_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientPingSampleReply_POP final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.POP) */ { + public: + inline CMsgSteamDatagramClientPingSampleReply_POP() : CMsgSteamDatagramClientPingSampleReply_POP(nullptr) {} + ~CMsgSteamDatagramClientPingSampleReply_POP() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientPingSampleReply_POP(const CMsgSteamDatagramClientPingSampleReply_POP& from); + CMsgSteamDatagramClientPingSampleReply_POP(CMsgSteamDatagramClientPingSampleReply_POP&& from) noexcept + : CMsgSteamDatagramClientPingSampleReply_POP() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientPingSampleReply_POP& operator=(const CMsgSteamDatagramClientPingSampleReply_POP& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientPingSampleReply_POP& operator=(CMsgSteamDatagramClientPingSampleReply_POP&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientPingSampleReply_POP& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientPingSampleReply_POP* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientPingSampleReply_POP_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CMsgSteamDatagramClientPingSampleReply_POP& a, CMsgSteamDatagramClientPingSampleReply_POP& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientPingSampleReply_POP* 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(CMsgSteamDatagramClientPingSampleReply_POP* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientPingSampleReply_POP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_POP& from) { + CMsgSteamDatagramClientPingSampleReply_POP::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(CMsgSteamDatagramClientPingSampleReply_POP* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientPingSampleReply.POP"; + } + protected: + explicit CMsgSteamDatagramClientPingSampleReply_POP(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramClientPingSampleReply_POP_AltAddress AltAddress; + + // accessors ------------------------------------------------------- + + enum : int { + kAltAddressesFieldNumber = 7, + kPopIdFieldNumber = 1, + kDefaultFrontPingMsFieldNumber = 2, + kDefaultE2EPingMsFieldNumber = 3, + kClusterPenaltyFieldNumber = 4, + kDefaultE2EScoreFieldNumber = 5, + kP2PViaPeerRelayPopIdFieldNumber = 6, + kBestDcPingMsFieldNumber = 9, + kBestDcScoreFieldNumber = 10, + kBestDcViaRelayPopIdFieldNumber = 11, + kDefaultDcPingMsFieldNumber = 12, + kDefaultDcScoreFieldNumber = 13, + kDefaultDcViaRelayPopIdFieldNumber = 14, + kTestDcPingMsFieldNumber = 15, + kTestDcScoreFieldNumber = 16, + kTestDcViaRelayPopIdFieldNumber = 17, + }; + // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; + int alt_addresses_size() const; + private: + int _internal_alt_addresses_size() const; + public: + void clear_alt_addresses(); + ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* mutable_alt_addresses(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >* + mutable_alt_addresses(); + private: + const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& _internal_alt_addresses(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* _internal_add_alt_addresses(); + public: + const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& alt_addresses(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* add_alt_addresses(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >& + alt_addresses() const; + + // optional fixed32 pop_id = 1; + bool has_pop_id() const; + private: + bool _internal_has_pop_id() const; + public: + void clear_pop_id(); + uint32_t pop_id() const; + void set_pop_id(uint32_t value); + private: + uint32_t _internal_pop_id() const; + void _internal_set_pop_id(uint32_t value); + public: + + // optional uint32 default_front_ping_ms = 2; + bool has_default_front_ping_ms() const; + private: + bool _internal_has_default_front_ping_ms() const; + public: + void clear_default_front_ping_ms(); + uint32_t default_front_ping_ms() const; + void set_default_front_ping_ms(uint32_t value); + private: + uint32_t _internal_default_front_ping_ms() const; + void _internal_set_default_front_ping_ms(uint32_t value); + public: + + // optional uint32 default_e2e_ping_ms = 3; + bool has_default_e2e_ping_ms() const; + private: + bool _internal_has_default_e2e_ping_ms() const; + public: + void clear_default_e2e_ping_ms(); + uint32_t default_e2e_ping_ms() const; + void set_default_e2e_ping_ms(uint32_t value); + private: + uint32_t _internal_default_e2e_ping_ms() const; + void _internal_set_default_e2e_ping_ms(uint32_t value); + public: + + // optional uint32 cluster_penalty = 4; + bool has_cluster_penalty() const; + private: + bool _internal_has_cluster_penalty() const; + public: + void clear_cluster_penalty(); + uint32_t cluster_penalty() const; + void set_cluster_penalty(uint32_t value); + private: + uint32_t _internal_cluster_penalty() const; + void _internal_set_cluster_penalty(uint32_t value); + public: + + // optional uint32 default_e2e_score = 5; + bool has_default_e2e_score() const; + private: + bool _internal_has_default_e2e_score() const; + public: + void clear_default_e2e_score(); + uint32_t default_e2e_score() const; + void set_default_e2e_score(uint32_t value); + private: + uint32_t _internal_default_e2e_score() const; + void _internal_set_default_e2e_score(uint32_t value); + public: + + // optional fixed32 p2p_via_peer_relay_pop_id = 6; + bool has_p2p_via_peer_relay_pop_id() const; + private: + bool _internal_has_p2p_via_peer_relay_pop_id() const; + public: + void clear_p2p_via_peer_relay_pop_id(); + uint32_t p2p_via_peer_relay_pop_id() const; + void set_p2p_via_peer_relay_pop_id(uint32_t value); + private: + uint32_t _internal_p2p_via_peer_relay_pop_id() const; + void _internal_set_p2p_via_peer_relay_pop_id(uint32_t value); + public: + + // optional uint32 best_dc_ping_ms = 9; + bool has_best_dc_ping_ms() const; + private: + bool _internal_has_best_dc_ping_ms() const; + public: + void clear_best_dc_ping_ms(); + uint32_t best_dc_ping_ms() const; + void set_best_dc_ping_ms(uint32_t value); + private: + uint32_t _internal_best_dc_ping_ms() const; + void _internal_set_best_dc_ping_ms(uint32_t value); + public: + + // optional uint32 best_dc_score = 10; + bool has_best_dc_score() const; + private: + bool _internal_has_best_dc_score() const; + public: + void clear_best_dc_score(); + uint32_t best_dc_score() const; + void set_best_dc_score(uint32_t value); + private: + uint32_t _internal_best_dc_score() const; + void _internal_set_best_dc_score(uint32_t value); + public: + + // optional fixed32 best_dc_via_relay_pop_id = 11; + bool has_best_dc_via_relay_pop_id() const; + private: + bool _internal_has_best_dc_via_relay_pop_id() const; + public: + void clear_best_dc_via_relay_pop_id(); + uint32_t best_dc_via_relay_pop_id() const; + void set_best_dc_via_relay_pop_id(uint32_t value); + private: + uint32_t _internal_best_dc_via_relay_pop_id() const; + void _internal_set_best_dc_via_relay_pop_id(uint32_t value); + public: + + // optional uint32 default_dc_ping_ms = 12; + bool has_default_dc_ping_ms() const; + private: + bool _internal_has_default_dc_ping_ms() const; + public: + void clear_default_dc_ping_ms(); + uint32_t default_dc_ping_ms() const; + void set_default_dc_ping_ms(uint32_t value); + private: + uint32_t _internal_default_dc_ping_ms() const; + void _internal_set_default_dc_ping_ms(uint32_t value); + public: + + // optional uint32 default_dc_score = 13; + bool has_default_dc_score() const; + private: + bool _internal_has_default_dc_score() const; + public: + void clear_default_dc_score(); + uint32_t default_dc_score() const; + void set_default_dc_score(uint32_t value); + private: + uint32_t _internal_default_dc_score() const; + void _internal_set_default_dc_score(uint32_t value); + public: + + // optional fixed32 default_dc_via_relay_pop_id = 14; + bool has_default_dc_via_relay_pop_id() const; + private: + bool _internal_has_default_dc_via_relay_pop_id() const; + public: + void clear_default_dc_via_relay_pop_id(); + uint32_t default_dc_via_relay_pop_id() const; + void set_default_dc_via_relay_pop_id(uint32_t value); + private: + uint32_t _internal_default_dc_via_relay_pop_id() const; + void _internal_set_default_dc_via_relay_pop_id(uint32_t value); + public: + + // optional uint32 test_dc_ping_ms = 15; + bool has_test_dc_ping_ms() const; + private: + bool _internal_has_test_dc_ping_ms() const; + public: + void clear_test_dc_ping_ms(); + uint32_t test_dc_ping_ms() const; + void set_test_dc_ping_ms(uint32_t value); + private: + uint32_t _internal_test_dc_ping_ms() const; + void _internal_set_test_dc_ping_ms(uint32_t value); + public: + + // optional uint32 test_dc_score = 16; + bool has_test_dc_score() const; + private: + bool _internal_has_test_dc_score() const; + public: + void clear_test_dc_score(); + uint32_t test_dc_score() const; + void set_test_dc_score(uint32_t value); + private: + uint32_t _internal_test_dc_score() const; + void _internal_set_test_dc_score(uint32_t value); + public: + + // optional fixed32 test_dc_via_relay_pop_id = 17; + bool has_test_dc_via_relay_pop_id() const; + private: + bool _internal_has_test_dc_via_relay_pop_id() const; + public: + void clear_test_dc_via_relay_pop_id(); + uint32_t test_dc_via_relay_pop_id() const; + void set_test_dc_via_relay_pop_id(uint32_t value); + private: + uint32_t _internal_test_dc_via_relay_pop_id() const; + void _internal_set_test_dc_via_relay_pop_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.POP) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress > alt_addresses_; + uint32_t pop_id_; + uint32_t default_front_ping_ms_; + uint32_t default_e2e_ping_ms_; + uint32_t cluster_penalty_; + uint32_t default_e2e_score_; + uint32_t p2p_via_peer_relay_pop_id_; + uint32_t best_dc_ping_ms_; + uint32_t best_dc_score_; + uint32_t best_dc_via_relay_pop_id_; + uint32_t default_dc_ping_ms_; + uint32_t default_dc_score_; + uint32_t default_dc_via_relay_pop_id_; + uint32_t test_dc_ping_ms_; + uint32_t test_dc_score_; + uint32_t test_dc_via_relay_pop_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) */ { + public: + inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() : CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(nullptr) {} + ~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from); + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter&& from) noexcept + : CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& operator=(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& operator=(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& a, CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* 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(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { + CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::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(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter"; + } + protected: + explicit CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::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 { + kDataCenterIdFieldNumber = 1, + kBestDcViaRelayPopIdFieldNumber = 2, + kBestDcPingMsFieldNumber = 3, + }; + // optional fixed32 data_center_id = 1; + bool has_data_center_id() const; + private: + bool _internal_has_data_center_id() const; + public: + void clear_data_center_id(); + uint32_t data_center_id() const; + void set_data_center_id(uint32_t value); + private: + uint32_t _internal_data_center_id() const; + void _internal_set_data_center_id(uint32_t value); + public: + + // optional fixed32 best_dc_via_relay_pop_id = 2; + bool has_best_dc_via_relay_pop_id() const; + private: + bool _internal_has_best_dc_via_relay_pop_id() const; + public: + void clear_best_dc_via_relay_pop_id(); + uint32_t best_dc_via_relay_pop_id() const; + void set_best_dc_via_relay_pop_id(uint32_t value); + private: + uint32_t _internal_best_dc_via_relay_pop_id() const; + void _internal_set_best_dc_via_relay_pop_id(uint32_t value); + public: + + // optional uint32 best_dc_ping_ms = 3; + bool has_best_dc_ping_ms() const; + private: + bool _internal_has_best_dc_ping_ms() const; + public: + void clear_best_dc_ping_ms(); + uint32_t best_dc_ping_ms() const; + void set_best_dc_ping_ms(uint32_t value); + private: + uint32_t _internal_best_dc_ping_ms() const; + void _internal_set_best_dc_ping_ms(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t data_center_id_; + uint32_t best_dc_via_relay_pop_id_; + uint32_t best_dc_ping_ms_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientPingSampleReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply) */ { + public: + inline CMsgSteamDatagramClientPingSampleReply() : CMsgSteamDatagramClientPingSampleReply(nullptr) {} + ~CMsgSteamDatagramClientPingSampleReply() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientPingSampleReply(const CMsgSteamDatagramClientPingSampleReply& from); + CMsgSteamDatagramClientPingSampleReply(CMsgSteamDatagramClientPingSampleReply&& from) noexcept + : CMsgSteamDatagramClientPingSampleReply() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientPingSampleReply& operator=(const CMsgSteamDatagramClientPingSampleReply& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientPingSampleReply& operator=(CMsgSteamDatagramClientPingSampleReply&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientPingSampleReply& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientPingSampleReply* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientPingSampleReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CMsgSteamDatagramClientPingSampleReply& a, CMsgSteamDatagramClientPingSampleReply& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientPingSampleReply* 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(CMsgSteamDatagramClientPingSampleReply* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientPingSampleReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientPingSampleReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientPingSampleReply& from) { + CMsgSteamDatagramClientPingSampleReply::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(CMsgSteamDatagramClientPingSampleReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientPingSampleReply"; + } + protected: + explicit CMsgSteamDatagramClientPingSampleReply(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramClientPingSampleReply_POP POP; + typedef CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter LegacyDataCenter; + + // accessors ------------------------------------------------------- + + enum : int { + kPopsFieldNumber = 2, + kLegacyDataCentersFieldNumber = 3, + kTosFieldNumber = 6, + kConnectionIdFieldNumber = 1, + kRelayOverrideActiveFieldNumber = 5, + }; + // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; + int pops_size() const; + private: + int _internal_pops_size() const; + public: + void clear_pops(); + ::CMsgSteamDatagramClientPingSampleReply_POP* mutable_pops(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >* + mutable_pops(); + private: + const ::CMsgSteamDatagramClientPingSampleReply_POP& _internal_pops(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_POP* _internal_add_pops(); + public: + const ::CMsgSteamDatagramClientPingSampleReply_POP& pops(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_POP* add_pops(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >& + pops() const; + + // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; + int legacy_data_centers_size() const; + private: + int _internal_legacy_data_centers_size() const; + public: + void clear_legacy_data_centers(); + ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* mutable_legacy_data_centers(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >* + mutable_legacy_data_centers(); + private: + const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& _internal_legacy_data_centers(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* _internal_add_legacy_data_centers(); + public: + const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& legacy_data_centers(int index) const; + ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* add_legacy_data_centers(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >& + legacy_data_centers() const; + + // optional .CMsgTOSTreatment tos = 6; + bool has_tos() const; + private: + bool _internal_has_tos() const; + public: + void clear_tos(); + const ::CMsgTOSTreatment& tos() const; + PROTOBUF_NODISCARD ::CMsgTOSTreatment* release_tos(); + ::CMsgTOSTreatment* mutable_tos(); + void set_allocated_tos(::CMsgTOSTreatment* tos); + private: + const ::CMsgTOSTreatment& _internal_tos() const; + ::CMsgTOSTreatment* _internal_mutable_tos(); + public: + void unsafe_arena_set_allocated_tos( + ::CMsgTOSTreatment* tos); + ::CMsgTOSTreatment* unsafe_arena_release_tos(); + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional bool relay_override_active = 5; + bool has_relay_override_active() const; + private: + bool _internal_has_relay_override_active() const; + public: + void clear_relay_override_active(); + bool relay_override_active() const; + void set_relay_override_active(bool value); + private: + bool _internal_relay_override_active() const; + void _internal_set_relay_override_active(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP > pops_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter > legacy_data_centers_; + ::CMsgTOSTreatment* tos_; + uint32_t connection_id_; + bool relay_override_active_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) */ { + public: + inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() : CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(nullptr) {} + ~CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from); + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality&& from) noexcept + : CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& operator=(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& operator=(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& a, CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* 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(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { + CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::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(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientSwitchedPrimary.RouterQuality"; + } + protected: + explicit CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::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 { + kScoreFieldNumber = 1, + kFrontPingFieldNumber = 2, + kBackPingFieldNumber = 3, + kSecondsUntilDownFieldNumber = 4, + }; + // optional uint32 score = 1; + bool has_score() const; + private: + bool _internal_has_score() const; + public: + void clear_score(); + uint32_t score() const; + void set_score(uint32_t value); + private: + uint32_t _internal_score() const; + void _internal_set_score(uint32_t value); + public: + + // optional uint32 front_ping = 2; + bool has_front_ping() const; + private: + bool _internal_has_front_ping() const; + public: + void clear_front_ping(); + uint32_t front_ping() const; + void set_front_ping(uint32_t value); + private: + uint32_t _internal_front_ping() const; + void _internal_set_front_ping(uint32_t value); + public: + + // optional uint32 back_ping = 3; + bool has_back_ping() const; + private: + bool _internal_has_back_ping() const; + public: + void clear_back_ping(); + uint32_t back_ping() const; + void set_back_ping(uint32_t value); + private: + uint32_t _internal_back_ping() const; + void _internal_set_back_ping(uint32_t value); + public: + + // optional uint32 seconds_until_down = 4; + bool has_seconds_until_down() const; + private: + bool _internal_has_seconds_until_down() const; + public: + void clear_seconds_until_down(); + uint32_t seconds_until_down() const; + void set_seconds_until_down(uint32_t value); + private: + uint32_t _internal_seconds_until_down() const; + void _internal_set_seconds_until_down(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t score_; + uint32_t front_ping_; + uint32_t back_ping_; + uint32_t seconds_until_down_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramClientSwitchedPrimary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientSwitchedPrimary) */ { + public: + inline CMsgSteamDatagramClientSwitchedPrimary() : CMsgSteamDatagramClientSwitchedPrimary(nullptr) {} + ~CMsgSteamDatagramClientSwitchedPrimary() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramClientSwitchedPrimary(const CMsgSteamDatagramClientSwitchedPrimary& from); + CMsgSteamDatagramClientSwitchedPrimary(CMsgSteamDatagramClientSwitchedPrimary&& from) noexcept + : CMsgSteamDatagramClientSwitchedPrimary() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramClientSwitchedPrimary& operator=(const CMsgSteamDatagramClientSwitchedPrimary& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramClientSwitchedPrimary& operator=(CMsgSteamDatagramClientSwitchedPrimary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramClientSwitchedPrimary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramClientSwitchedPrimary* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramClientSwitchedPrimary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CMsgSteamDatagramClientSwitchedPrimary& a, CMsgSteamDatagramClientSwitchedPrimary& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramClientSwitchedPrimary* 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(CMsgSteamDatagramClientSwitchedPrimary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramClientSwitchedPrimary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramClientSwitchedPrimary& from) { + CMsgSteamDatagramClientSwitchedPrimary::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(CMsgSteamDatagramClientSwitchedPrimary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramClientSwitchedPrimary"; + } + protected: + explicit CMsgSteamDatagramClientSwitchedPrimary(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramClientSwitchedPrimary_RouterQuality RouterQuality; + + // accessors ------------------------------------------------------- + + enum : int { + kFromDroppedReasonFieldNumber = 7, + kFromQualityNowFieldNumber = 9, + kToQualityNowFieldNumber = 10, + kFromQualityThenFieldNumber = 11, + kToQualityThenFieldNumber = 12, + kConnectionIdFieldNumber = 1, + kFromIpFieldNumber = 2, + kFromPortFieldNumber = 3, + kFromRouterClusterFieldNumber = 4, + kFromActiveTimeFieldNumber = 5, + kFromActivePacketsRecvFieldNumber = 6, + kGapMsFieldNumber = 8, + }; + // optional string from_dropped_reason = 7; + bool has_from_dropped_reason() const; + private: + bool _internal_has_from_dropped_reason() const; + public: + void clear_from_dropped_reason(); + const std::string& from_dropped_reason() const; + template + void set_from_dropped_reason(ArgT0&& arg0, ArgT... args); + std::string* mutable_from_dropped_reason(); + PROTOBUF_NODISCARD std::string* release_from_dropped_reason(); + void set_allocated_from_dropped_reason(std::string* from_dropped_reason); + private: + const std::string& _internal_from_dropped_reason() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_dropped_reason(const std::string& value); + std::string* _internal_mutable_from_dropped_reason(); + public: + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; + bool has_from_quality_now() const; + private: + bool _internal_has_from_quality_now() const; + public: + void clear_from_quality_now(); + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_now() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_from_quality_now(); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_from_quality_now(); + void set_allocated_from_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now); + private: + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_from_quality_now() const; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_from_quality_now(); + public: + void unsafe_arena_set_allocated_from_quality_now( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_from_quality_now(); + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; + bool has_to_quality_now() const; + private: + bool _internal_has_to_quality_now() const; + public: + void clear_to_quality_now(); + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_now() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_to_quality_now(); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_to_quality_now(); + void set_allocated_to_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now); + private: + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_to_quality_now() const; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_to_quality_now(); + public: + void unsafe_arena_set_allocated_to_quality_now( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_to_quality_now(); + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; + bool has_from_quality_then() const; + private: + bool _internal_has_from_quality_then() const; + public: + void clear_from_quality_then(); + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_then() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_from_quality_then(); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_from_quality_then(); + void set_allocated_from_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then); + private: + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_from_quality_then() const; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_from_quality_then(); + public: + void unsafe_arena_set_allocated_from_quality_then( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_from_quality_then(); + + // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; + bool has_to_quality_then() const; + private: + bool _internal_has_to_quality_then() const; + public: + void clear_to_quality_then(); + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_then() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_to_quality_then(); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_to_quality_then(); + void set_allocated_to_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then); + private: + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_to_quality_then() const; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_to_quality_then(); + public: + void unsafe_arena_set_allocated_to_quality_then( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then); + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_to_quality_then(); + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional fixed32 from_ip = 2; + bool has_from_ip() const; + private: + bool _internal_has_from_ip() const; + public: + void clear_from_ip(); + uint32_t from_ip() const; + void set_from_ip(uint32_t value); + private: + uint32_t _internal_from_ip() const; + void _internal_set_from_ip(uint32_t value); + public: + + // optional uint32 from_port = 3; + bool has_from_port() const; + private: + bool _internal_has_from_port() const; + public: + void clear_from_port(); + uint32_t from_port() const; + void set_from_port(uint32_t value); + private: + uint32_t _internal_from_port() const; + void _internal_set_from_port(uint32_t value); + public: + + // optional fixed32 from_router_cluster = 4; + bool has_from_router_cluster() const; + private: + bool _internal_has_from_router_cluster() const; + public: + void clear_from_router_cluster(); + uint32_t from_router_cluster() const; + void set_from_router_cluster(uint32_t value); + private: + uint32_t _internal_from_router_cluster() const; + void _internal_set_from_router_cluster(uint32_t value); + public: + + // optional uint32 from_active_time = 5; + bool has_from_active_time() const; + private: + bool _internal_has_from_active_time() const; + public: + void clear_from_active_time(); + uint32_t from_active_time() const; + void set_from_active_time(uint32_t value); + private: + uint32_t _internal_from_active_time() const; + void _internal_set_from_active_time(uint32_t value); + public: + + // optional uint32 from_active_packets_recv = 6; + bool has_from_active_packets_recv() const; + private: + bool _internal_has_from_active_packets_recv() const; + public: + void clear_from_active_packets_recv(); + uint32_t from_active_packets_recv() const; + void set_from_active_packets_recv(uint32_t value); + private: + uint32_t _internal_from_active_packets_recv() const; + void _internal_set_from_active_packets_recv(uint32_t value); + public: + + // optional uint32 gap_ms = 8; + bool has_gap_ms() const; + private: + bool _internal_has_gap_ms() const; + public: + void clear_gap_ms(); + uint32_t gap_ms() const; + void set_gap_ms(uint32_t value); + private: + uint32_t _internal_gap_ms() const; + void _internal_set_gap_ms(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientSwitchedPrimary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_dropped_reason_; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now_; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now_; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then_; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then_; + uint32_t connection_id_; + uint32_t from_ip_; + uint32_t from_port_; + uint32_t from_router_cluster_; + uint32_t from_active_time_; + uint32_t from_active_packets_recv_; + uint32_t gap_ms_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectRequest) */ { + public: + inline CMsgSteamDatagramConnectRequest() : CMsgSteamDatagramConnectRequest(nullptr) {} + ~CMsgSteamDatagramConnectRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectRequest(const CMsgSteamDatagramConnectRequest& from); + CMsgSteamDatagramConnectRequest(CMsgSteamDatagramConnectRequest&& from) noexcept + : CMsgSteamDatagramConnectRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectRequest& operator=(const CMsgSteamDatagramConnectRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectRequest& operator=(CMsgSteamDatagramConnectRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CMsgSteamDatagramConnectRequest& a, CMsgSteamDatagramConnectRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectRequest* 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(CMsgSteamDatagramConnectRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectRequest& from) { + CMsgSteamDatagramConnectRequest::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(CMsgSteamDatagramConnectRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectRequest"; + } + protected: + explicit CMsgSteamDatagramConnectRequest(::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 { + kCryptFieldNumber = 6, + kCertFieldNumber = 7, + kConnectionIdFieldNumber = 1, + kGameserverRelaySessionIdFieldNumber = 2, + kLegacyClientSteamIdFieldNumber = 3, + kMyTimestampFieldNumber = 4, + kPingEstMsFieldNumber = 5, + kVirtualPortFieldNumber = 9, + kRoutingSecretFieldNumber = 10, + }; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 gameserver_relay_session_id = 2; + bool has_gameserver_relay_session_id() const; + private: + bool _internal_has_gameserver_relay_session_id() const; + public: + void clear_gameserver_relay_session_id(); + uint32_t gameserver_relay_session_id() const; + void set_gameserver_relay_session_id(uint32_t value); + private: + uint32_t _internal_gameserver_relay_session_id() const; + void _internal_set_gameserver_relay_session_id(uint32_t value); + public: + + // optional fixed64 legacy_client_steam_id = 3; + bool has_legacy_client_steam_id() const; + private: + bool _internal_has_legacy_client_steam_id() const; + public: + void clear_legacy_client_steam_id(); + uint64_t legacy_client_steam_id() const; + void set_legacy_client_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_client_steam_id() const; + void _internal_set_legacy_client_steam_id(uint64_t value); + public: + + // optional fixed64 my_timestamp = 4; + bool has_my_timestamp() const; + private: + bool _internal_has_my_timestamp() const; + public: + void clear_my_timestamp(); + uint64_t my_timestamp() const; + void set_my_timestamp(uint64_t value); + private: + uint64_t _internal_my_timestamp() const; + void _internal_set_my_timestamp(uint64_t value); + public: + + // optional uint32 ping_est_ms = 5; + bool has_ping_est_ms() const; + private: + bool _internal_has_ping_est_ms() const; + public: + void clear_ping_est_ms(); + uint32_t ping_est_ms() const; + void set_ping_est_ms(uint32_t value); + private: + uint32_t _internal_ping_est_ms() const; + void _internal_set_ping_est_ms(uint32_t value); + public: + + // optional uint32 virtual_port = 9; + bool has_virtual_port() const; + private: + bool _internal_has_virtual_port() const; + public: + void clear_virtual_port(); + uint32_t virtual_port() const; + void set_virtual_port(uint32_t value); + private: + uint32_t _internal_virtual_port() const; + void _internal_set_virtual_port(uint32_t value); + public: + + // optional fixed64 routing_secret = 10; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamDatagramCertificateSigned* cert_; + uint32_t connection_id_; + uint32_t gameserver_relay_session_id_; + uint64_t legacy_client_steam_id_; + uint64_t my_timestamp_; + uint32_t ping_est_ms_; + uint32_t virtual_port_; + uint64_t routing_secret_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectOK final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectOK) */ { + public: + inline CMsgSteamDatagramConnectOK() : CMsgSteamDatagramConnectOK(nullptr) {} + ~CMsgSteamDatagramConnectOK() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectOK(const CMsgSteamDatagramConnectOK& from); + CMsgSteamDatagramConnectOK(CMsgSteamDatagramConnectOK&& from) noexcept + : CMsgSteamDatagramConnectOK() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectOK& operator=(const CMsgSteamDatagramConnectOK& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectOK& operator=(CMsgSteamDatagramConnectOK&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectOK& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectOK* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectOK_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgSteamDatagramConnectOK& a, CMsgSteamDatagramConnectOK& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectOK* 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(CMsgSteamDatagramConnectOK* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectOK& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectOK& from) { + CMsgSteamDatagramConnectOK::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(CMsgSteamDatagramConnectOK* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectOK"; + } + protected: + explicit CMsgSteamDatagramConnectOK(::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 { + kCryptFieldNumber = 5, + kCertFieldNumber = 6, + kClientConnectionIdFieldNumber = 1, + kGameserverRelaySessionIdFieldNumber = 2, + kYourTimestampFieldNumber = 3, + kDelayTimeUsecFieldNumber = 4, + kServerConnectionIdFieldNumber = 7, + }; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional fixed32 client_connection_id = 1; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 gameserver_relay_session_id = 2; + bool has_gameserver_relay_session_id() const; + private: + bool _internal_has_gameserver_relay_session_id() const; + public: + void clear_gameserver_relay_session_id(); + uint32_t gameserver_relay_session_id() const; + void set_gameserver_relay_session_id(uint32_t value); + private: + uint32_t _internal_gameserver_relay_session_id() const; + void _internal_set_gameserver_relay_session_id(uint32_t value); + public: + + // optional fixed64 your_timestamp = 3; + bool has_your_timestamp() const; + private: + bool _internal_has_your_timestamp() const; + public: + void clear_your_timestamp(); + uint64_t your_timestamp() const; + void set_your_timestamp(uint64_t value); + private: + uint64_t _internal_your_timestamp() const; + void _internal_set_your_timestamp(uint64_t value); + public: + + // optional uint32 delay_time_usec = 4; + bool has_delay_time_usec() const; + private: + bool _internal_has_delay_time_usec() const; + public: + void clear_delay_time_usec(); + uint32_t delay_time_usec() const; + void set_delay_time_usec(uint32_t value); + private: + uint32_t _internal_delay_time_usec() const; + void _internal_set_delay_time_usec(uint32_t value); + public: + + // optional fixed32 server_connection_id = 7; + bool has_server_connection_id() const; + private: + bool _internal_has_server_connection_id() const; + public: + void clear_server_connection_id(); + uint32_t server_connection_id() const; + void set_server_connection_id(uint32_t value); + private: + uint32_t _internal_server_connection_id() const; + void _internal_set_server_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectOK) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamDatagramCertificateSigned* cert_; + uint32_t client_connection_id_; + uint32_t gameserver_relay_session_id_; + uint64_t your_timestamp_; + uint32_t delay_time_usec_; + uint32_t server_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PSDRRoutingSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PSDRRoutingSummary) */ { + public: + inline CMsgSteamNetworkingP2PSDRRoutingSummary() : CMsgSteamNetworkingP2PSDRRoutingSummary(nullptr) {} + ~CMsgSteamNetworkingP2PSDRRoutingSummary() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PSDRRoutingSummary(const CMsgSteamNetworkingP2PSDRRoutingSummary& from); + CMsgSteamNetworkingP2PSDRRoutingSummary(CMsgSteamNetworkingP2PSDRRoutingSummary&& from) noexcept + : CMsgSteamNetworkingP2PSDRRoutingSummary() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PSDRRoutingSummary& operator=(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PSDRRoutingSummary& operator=(CMsgSteamNetworkingP2PSDRRoutingSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PSDRRoutingSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PSDRRoutingSummary* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CMsgSteamNetworkingP2PSDRRoutingSummary& a, CMsgSteamNetworkingP2PSDRRoutingSummary& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PSDRRoutingSummary* 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(CMsgSteamNetworkingP2PSDRRoutingSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PSDRRoutingSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PSDRRoutingSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { + CMsgSteamNetworkingP2PSDRRoutingSummary::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(CMsgSteamNetworkingP2PSDRRoutingSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PSDRRoutingSummary"; + } + protected: + explicit CMsgSteamNetworkingP2PSDRRoutingSummary(::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 { + kInitialPingFieldNumber = 1, + kInitialPingFrontLocalFieldNumber = 2, + kInitialPingFrontRemoteFieldNumber = 3, + kInitialScoreFieldNumber = 4, + kInitialPopLocalFieldNumber = 5, + kInitialPopRemoteFieldNumber = 6, + kNegotiationMsFieldNumber = 7, + kSelectedSecondsFieldNumber = 8, + kBestPingFieldNumber = 11, + kBestPingFrontLocalFieldNumber = 12, + kBestPingFrontRemoteFieldNumber = 13, + kBestScoreFieldNumber = 14, + kBestPopLocalFieldNumber = 15, + kBestPopRemoteFieldNumber = 16, + kBestTimeFieldNumber = 17, + }; + // optional uint32 initial_ping = 1; + bool has_initial_ping() const; + private: + bool _internal_has_initial_ping() const; + public: + void clear_initial_ping(); + uint32_t initial_ping() const; + void set_initial_ping(uint32_t value); + private: + uint32_t _internal_initial_ping() const; + void _internal_set_initial_ping(uint32_t value); + public: + + // optional uint32 initial_ping_front_local = 2; + bool has_initial_ping_front_local() const; + private: + bool _internal_has_initial_ping_front_local() const; + public: + void clear_initial_ping_front_local(); + uint32_t initial_ping_front_local() const; + void set_initial_ping_front_local(uint32_t value); + private: + uint32_t _internal_initial_ping_front_local() const; + void _internal_set_initial_ping_front_local(uint32_t value); + public: + + // optional uint32 initial_ping_front_remote = 3; + bool has_initial_ping_front_remote() const; + private: + bool _internal_has_initial_ping_front_remote() const; + public: + void clear_initial_ping_front_remote(); + uint32_t initial_ping_front_remote() const; + void set_initial_ping_front_remote(uint32_t value); + private: + uint32_t _internal_initial_ping_front_remote() const; + void _internal_set_initial_ping_front_remote(uint32_t value); + public: + + // optional uint32 initial_score = 4; + bool has_initial_score() const; + private: + bool _internal_has_initial_score() const; + public: + void clear_initial_score(); + uint32_t initial_score() const; + void set_initial_score(uint32_t value); + private: + uint32_t _internal_initial_score() const; + void _internal_set_initial_score(uint32_t value); + public: + + // optional fixed32 initial_pop_local = 5; + bool has_initial_pop_local() const; + private: + bool _internal_has_initial_pop_local() const; + public: + void clear_initial_pop_local(); + uint32_t initial_pop_local() const; + void set_initial_pop_local(uint32_t value); + private: + uint32_t _internal_initial_pop_local() const; + void _internal_set_initial_pop_local(uint32_t value); + public: + + // optional fixed32 initial_pop_remote = 6; + bool has_initial_pop_remote() const; + private: + bool _internal_has_initial_pop_remote() const; + public: + void clear_initial_pop_remote(); + uint32_t initial_pop_remote() const; + void set_initial_pop_remote(uint32_t value); + private: + uint32_t _internal_initial_pop_remote() const; + void _internal_set_initial_pop_remote(uint32_t value); + public: + + // optional uint32 negotiation_ms = 7; + bool has_negotiation_ms() const; + private: + bool _internal_has_negotiation_ms() const; + public: + void clear_negotiation_ms(); + uint32_t negotiation_ms() const; + void set_negotiation_ms(uint32_t value); + private: + uint32_t _internal_negotiation_ms() const; + void _internal_set_negotiation_ms(uint32_t value); + public: + + // optional uint32 selected_seconds = 8; + bool has_selected_seconds() const; + private: + bool _internal_has_selected_seconds() const; + public: + void clear_selected_seconds(); + uint32_t selected_seconds() const; + void set_selected_seconds(uint32_t value); + private: + uint32_t _internal_selected_seconds() const; + void _internal_set_selected_seconds(uint32_t value); + public: + + // optional uint32 best_ping = 11; + bool has_best_ping() const; + private: + bool _internal_has_best_ping() const; + public: + void clear_best_ping(); + uint32_t best_ping() const; + void set_best_ping(uint32_t value); + private: + uint32_t _internal_best_ping() const; + void _internal_set_best_ping(uint32_t value); + public: + + // optional uint32 best_ping_front_local = 12; + bool has_best_ping_front_local() const; + private: + bool _internal_has_best_ping_front_local() const; + public: + void clear_best_ping_front_local(); + uint32_t best_ping_front_local() const; + void set_best_ping_front_local(uint32_t value); + private: + uint32_t _internal_best_ping_front_local() const; + void _internal_set_best_ping_front_local(uint32_t value); + public: + + // optional uint32 best_ping_front_remote = 13; + bool has_best_ping_front_remote() const; + private: + bool _internal_has_best_ping_front_remote() const; + public: + void clear_best_ping_front_remote(); + uint32_t best_ping_front_remote() const; + void set_best_ping_front_remote(uint32_t value); + private: + uint32_t _internal_best_ping_front_remote() const; + void _internal_set_best_ping_front_remote(uint32_t value); + public: + + // optional uint32 best_score = 14; + bool has_best_score() const; + private: + bool _internal_has_best_score() const; + public: + void clear_best_score(); + uint32_t best_score() const; + void set_best_score(uint32_t value); + private: + uint32_t _internal_best_score() const; + void _internal_set_best_score(uint32_t value); + public: + + // optional fixed32 best_pop_local = 15; + bool has_best_pop_local() const; + private: + bool _internal_has_best_pop_local() const; + public: + void clear_best_pop_local(); + uint32_t best_pop_local() const; + void set_best_pop_local(uint32_t value); + private: + uint32_t _internal_best_pop_local() const; + void _internal_set_best_pop_local(uint32_t value); + public: + + // optional fixed32 best_pop_remote = 16; + bool has_best_pop_remote() const; + private: + bool _internal_has_best_pop_remote() const; + public: + void clear_best_pop_remote(); + uint32_t best_pop_remote() const; + void set_best_pop_remote(uint32_t value); + private: + uint32_t _internal_best_pop_remote() const; + void _internal_set_best_pop_remote(uint32_t value); + public: + + // optional uint32 best_time = 17; + bool has_best_time() const; + private: + bool _internal_has_best_time() const; + public: + void clear_best_time(); + uint32_t best_time() const; + void set_best_time(uint32_t value); + private: + uint32_t _internal_best_time() const; + void _internal_set_best_time(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PSDRRoutingSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t initial_ping_; + uint32_t initial_ping_front_local_; + uint32_t initial_ping_front_remote_; + uint32_t initial_score_; + uint32_t initial_pop_local_; + uint32_t initial_pop_remote_; + uint32_t negotiation_ms_; + uint32_t selected_seconds_; + uint32_t best_ping_; + uint32_t best_ping_front_local_; + uint32_t best_ping_front_remote_; + uint32_t best_score_; + uint32_t best_pop_local_; + uint32_t best_pop_remote_; + uint32_t best_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PRoutingSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutingSummary) */ { + public: + inline CMsgSteamDatagramP2PRoutingSummary() : CMsgSteamDatagramP2PRoutingSummary(nullptr) {} + ~CMsgSteamDatagramP2PRoutingSummary() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PRoutingSummary(const CMsgSteamDatagramP2PRoutingSummary& from); + CMsgSteamDatagramP2PRoutingSummary(CMsgSteamDatagramP2PRoutingSummary&& from) noexcept + : CMsgSteamDatagramP2PRoutingSummary() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PRoutingSummary& operator=(const CMsgSteamDatagramP2PRoutingSummary& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PRoutingSummary& operator=(CMsgSteamDatagramP2PRoutingSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PRoutingSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PRoutingSummary* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PRoutingSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CMsgSteamDatagramP2PRoutingSummary& a, CMsgSteamDatagramP2PRoutingSummary& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PRoutingSummary* 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(CMsgSteamDatagramP2PRoutingSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PRoutingSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PRoutingSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PRoutingSummary& from) { + CMsgSteamDatagramP2PRoutingSummary::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(CMsgSteamDatagramP2PRoutingSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PRoutingSummary"; + } + protected: + explicit CMsgSteamDatagramP2PRoutingSummary(::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 { + kIceFieldNumber = 2, + kSdrFieldNumber = 3, + }; + // optional .CMsgSteamNetworkingICESessionSummary ice = 2; + bool has_ice() const; + private: + bool _internal_has_ice() const; + public: + void clear_ice(); + const ::CMsgSteamNetworkingICESessionSummary& ice() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingICESessionSummary* release_ice(); + ::CMsgSteamNetworkingICESessionSummary* mutable_ice(); + void set_allocated_ice(::CMsgSteamNetworkingICESessionSummary* ice); + private: + const ::CMsgSteamNetworkingICESessionSummary& _internal_ice() const; + ::CMsgSteamNetworkingICESessionSummary* _internal_mutable_ice(); + public: + void unsafe_arena_set_allocated_ice( + ::CMsgSteamNetworkingICESessionSummary* ice); + ::CMsgSteamNetworkingICESessionSummary* unsafe_arena_release_ice(); + + // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; + bool has_sdr() const; + private: + bool _internal_has_sdr() const; + public: + void clear_sdr(); + const ::CMsgSteamNetworkingP2PSDRRoutingSummary& sdr() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PSDRRoutingSummary* release_sdr(); + ::CMsgSteamNetworkingP2PSDRRoutingSummary* mutable_sdr(); + void set_allocated_sdr(::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr); + private: + const ::CMsgSteamNetworkingP2PSDRRoutingSummary& _internal_sdr() const; + ::CMsgSteamNetworkingP2PSDRRoutingSummary* _internal_mutable_sdr(); + public: + void unsafe_arena_set_allocated_sdr( + ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr); + ::CMsgSteamNetworkingP2PSDRRoutingSummary* unsafe_arena_release_sdr(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutingSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamNetworkingICESessionSummary* ice_; + ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionClosed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionClosed) */ { + public: + inline CMsgSteamDatagramConnectionClosed() : CMsgSteamDatagramConnectionClosed(nullptr) {} + ~CMsgSteamDatagramConnectionClosed() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionClosed(const CMsgSteamDatagramConnectionClosed& from); + CMsgSteamDatagramConnectionClosed(CMsgSteamDatagramConnectionClosed&& from) noexcept + : CMsgSteamDatagramConnectionClosed() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionClosed& operator=(const CMsgSteamDatagramConnectionClosed& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionClosed& operator=(CMsgSteamDatagramConnectionClosed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionClosed& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionClosed* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionClosed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CMsgSteamDatagramConnectionClosed& a, CMsgSteamDatagramConnectionClosed& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionClosed* 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(CMsgSteamDatagramConnectionClosed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionClosed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionClosed& from) { + CMsgSteamDatagramConnectionClosed::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(CMsgSteamDatagramConnectionClosed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionClosed"; + } + protected: + explicit CMsgSteamDatagramConnectionClosed(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionClosed_ERelayMode ERelayMode; + static constexpr ERelayMode None = + CMsgSteamDatagramConnectionClosed_ERelayMode_None; + static constexpr ERelayMode EndToEnd = + CMsgSteamDatagramConnectionClosed_ERelayMode_EndToEnd; + static constexpr ERelayMode ClosedByPeer = + CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer; + static inline bool ERelayMode_IsValid(int value) { + return CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(value); + } + static constexpr ERelayMode ERelayMode_MIN = + CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MIN; + static constexpr ERelayMode ERelayMode_MAX = + CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX; + static constexpr int ERelayMode_ARRAYSIZE = + CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + ERelayMode_descriptor() { + return CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); + } + template + static inline const std::string& ERelayMode_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ERelayMode_Name."); + return CMsgSteamDatagramConnectionClosed_ERelayMode_Name(enum_t_value); + } + static inline bool ERelayMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + ERelayMode* value) { + return CMsgSteamDatagramConnectionClosed_ERelayMode_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kDebugFieldNumber = 5, + kForwardTargetRelayRoutingTokenFieldNumber = 11, + kFromIdentityStringFieldNumber = 15, + kLegacyFromIdentityBinaryFieldNumber = 13, + kQualityRelayFieldNumber = 17, + kQualityE2EFieldNumber = 18, + kP2PRoutingSummaryFieldNumber = 21, + kLegacyFromSteamIdFieldNumber = 3, + kLegacyGameserverRelaySessionIdFieldNumber = 2, + kRelayModeFieldNumber = 4, + kReasonCodeFieldNumber = 6, + kToConnectionIdFieldNumber = 7, + kFromConnectionIdFieldNumber = 8, + kToRelaySessionIdFieldNumber = 9, + kFromRelaySessionIdFieldNumber = 10, + kForwardTargetRevisionFieldNumber = 12, + kRoutingSecretFieldNumber = 14, + kNotPrimarySessionFieldNumber = 16, + kNotPrimaryTransportFieldNumber = 19, + kRelayOverrideActiveFieldNumber = 22, + }; + // optional string debug = 5; + bool has_debug() const; + private: + bool _internal_has_debug() const; + public: + void clear_debug(); + const std::string& debug() const; + template + void set_debug(ArgT0&& arg0, ArgT... args); + std::string* mutable_debug(); + PROTOBUF_NODISCARD std::string* release_debug(); + void set_allocated_debug(std::string* debug); + private: + const std::string& _internal_debug() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); + std::string* _internal_mutable_debug(); + public: + + // optional bytes forward_target_relay_routing_token = 11; + bool has_forward_target_relay_routing_token() const; + private: + bool _internal_has_forward_target_relay_routing_token() const; + public: + void clear_forward_target_relay_routing_token(); + const std::string& forward_target_relay_routing_token() const; + template + void set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_forward_target_relay_routing_token(); + PROTOBUF_NODISCARD std::string* release_forward_target_relay_routing_token(); + void set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token); + private: + const std::string& _internal_forward_target_relay_routing_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_forward_target_relay_routing_token(const std::string& value); + std::string* _internal_mutable_forward_target_relay_routing_token(); + public: + + // optional string from_identity_string = 15; + bool has_from_identity_string() const; + private: + bool _internal_has_from_identity_string() const; + public: + void clear_from_identity_string(); + const std::string& from_identity_string() const; + template + void set_from_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_from_identity_string(); + PROTOBUF_NODISCARD std::string* release_from_identity_string(); + void set_allocated_from_identity_string(std::string* from_identity_string); + private: + const std::string& _internal_from_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity_string(const std::string& value); + std::string* _internal_mutable_from_identity_string(); + public: + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; + bool has_legacy_from_identity_binary() const; + private: + bool _internal_has_legacy_from_identity_binary() const; + public: + void clear_legacy_from_identity_binary(); + const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_from_identity_binary() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_from_identity_binary(); + ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_from_identity_binary(); + void set_allocated_legacy_from_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary); + private: + const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_from_identity_binary() const; + ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_from_identity_binary(); + public: + void unsafe_arena_set_allocated_legacy_from_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary); + ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_from_identity_binary(); + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; + bool has_p2p_routing_summary() const; + private: + bool _internal_has_p2p_routing_summary() const; + public: + void clear_p2p_routing_summary(); + const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); + ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); + void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + private: + const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; + ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); + public: + void unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); + + // optional fixed64 legacy_from_steam_id = 3; + bool has_legacy_from_steam_id() const; + private: + bool _internal_has_legacy_from_steam_id() const; + public: + void clear_legacy_from_steam_id(); + uint64_t legacy_from_steam_id() const; + void set_legacy_from_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_from_steam_id() const; + void _internal_set_legacy_from_steam_id(uint64_t value); + public: + + // optional uint32 legacy_gameserver_relay_session_id = 2; + bool has_legacy_gameserver_relay_session_id() const; + private: + bool _internal_has_legacy_gameserver_relay_session_id() const; + public: + void clear_legacy_gameserver_relay_session_id(); + uint32_t legacy_gameserver_relay_session_id() const; + void set_legacy_gameserver_relay_session_id(uint32_t value); + private: + uint32_t _internal_legacy_gameserver_relay_session_id() const; + void _internal_set_legacy_gameserver_relay_session_id(uint32_t value); + public: + + // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; + bool has_relay_mode() const; + private: + bool _internal_has_relay_mode() const; + public: + void clear_relay_mode(); + ::CMsgSteamDatagramConnectionClosed_ERelayMode relay_mode() const; + void set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value); + private: + ::CMsgSteamDatagramConnectionClosed_ERelayMode _internal_relay_mode() const; + void _internal_set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value); + public: + + // optional uint32 reason_code = 6; + bool has_reason_code() const; + private: + bool _internal_has_reason_code() const; + public: + void clear_reason_code(); + uint32_t reason_code() const; + void set_reason_code(uint32_t value); + private: + uint32_t _internal_reason_code() const; + void _internal_set_reason_code(uint32_t value); + public: + + // optional fixed32 to_connection_id = 7; + bool has_to_connection_id() const; + private: + bool _internal_has_to_connection_id() const; + public: + void clear_to_connection_id(); + uint32_t to_connection_id() const; + void set_to_connection_id(uint32_t value); + private: + uint32_t _internal_to_connection_id() const; + void _internal_set_to_connection_id(uint32_t value); + public: + + // optional fixed32 from_connection_id = 8; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // optional fixed32 to_relay_session_id = 9; + bool has_to_relay_session_id() const; + private: + bool _internal_has_to_relay_session_id() const; + public: + void clear_to_relay_session_id(); + uint32_t to_relay_session_id() const; + void set_to_relay_session_id(uint32_t value); + private: + uint32_t _internal_to_relay_session_id() const; + void _internal_set_to_relay_session_id(uint32_t value); + public: + + // optional fixed32 from_relay_session_id = 10; + bool has_from_relay_session_id() const; + private: + bool _internal_has_from_relay_session_id() const; + public: + void clear_from_relay_session_id(); + uint32_t from_relay_session_id() const; + void set_from_relay_session_id(uint32_t value); + private: + uint32_t _internal_from_relay_session_id() const; + void _internal_set_from_relay_session_id(uint32_t value); + public: + + // optional uint32 forward_target_revision = 12; + bool has_forward_target_revision() const; + private: + bool _internal_has_forward_target_revision() const; + public: + void clear_forward_target_revision(); + uint32_t forward_target_revision() const; + void set_forward_target_revision(uint32_t value); + private: + uint32_t _internal_forward_target_revision() const; + void _internal_set_forward_target_revision(uint32_t value); + public: + + // optional fixed64 routing_secret = 14; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // optional bool not_primary_session = 16; + bool has_not_primary_session() const; + private: + bool _internal_has_not_primary_session() const; + public: + void clear_not_primary_session(); + bool not_primary_session() const; + void set_not_primary_session(bool value); + private: + bool _internal_not_primary_session() const; + void _internal_set_not_primary_session(bool value); + public: + + // optional bool not_primary_transport = 19; + bool has_not_primary_transport() const; + private: + bool _internal_has_not_primary_transport() const; + public: + void clear_not_primary_transport(); + bool not_primary_transport() const; + void set_not_primary_transport(bool value); + private: + bool _internal_not_primary_transport() const; + void _internal_set_not_primary_transport(bool value); + public: + + // optional bool relay_override_active = 22; + bool has_relay_override_active() const; + private: + bool _internal_has_relay_override_active() const; + public: + void clear_relay_override_active(); + bool relay_override_active() const; + void set_relay_override_active(bool value); + private: + bool _internal_relay_override_active() const; + void _internal_set_relay_override_active(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionClosed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr forward_target_relay_routing_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_string_; + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; + uint64_t legacy_from_steam_id_; + uint32_t legacy_gameserver_relay_session_id_; + int relay_mode_; + uint32_t reason_code_; + uint32_t to_connection_id_; + uint32_t from_connection_id_; + uint32_t to_relay_session_id_; + uint32_t from_relay_session_id_; + uint32_t forward_target_revision_; + uint64_t routing_secret_; + bool not_primary_session_; + bool not_primary_transport_; + bool relay_override_active_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramNoConnection final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoConnection) */ { + public: + inline CMsgSteamDatagramNoConnection() : CMsgSteamDatagramNoConnection(nullptr) {} + ~CMsgSteamDatagramNoConnection() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramNoConnection(const CMsgSteamDatagramNoConnection& from); + CMsgSteamDatagramNoConnection(CMsgSteamDatagramNoConnection&& from) noexcept + : CMsgSteamDatagramNoConnection() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramNoConnection& operator=(const CMsgSteamDatagramNoConnection& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramNoConnection& operator=(CMsgSteamDatagramNoConnection&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramNoConnection& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramNoConnection* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramNoConnection_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CMsgSteamDatagramNoConnection& a, CMsgSteamDatagramNoConnection& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramNoConnection* 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(CMsgSteamDatagramNoConnection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramNoConnection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramNoConnection& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramNoConnection& from) { + CMsgSteamDatagramNoConnection::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(CMsgSteamDatagramNoConnection* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramNoConnection"; + } + protected: + explicit CMsgSteamDatagramNoConnection(::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 { + kFromIdentityStringFieldNumber = 7, + kQualityRelayFieldNumber = 13, + kQualityE2EFieldNumber = 14, + kP2PRoutingSummaryFieldNumber = 16, + kLegacyFromSteamIdFieldNumber = 3, + kLegacyGameserverRelaySessionIdFieldNumber = 2, + kToConnectionIdFieldNumber = 5, + kFromConnectionIdFieldNumber = 6, + kToRelaySessionIdFieldNumber = 9, + kRoutingSecretFieldNumber = 11, + kFromRelaySessionIdFieldNumber = 10, + kEndToEndFieldNumber = 4, + kNotPrimarySessionFieldNumber = 12, + kNotPrimaryTransportFieldNumber = 15, + kRelayOverrideActiveFieldNumber = 17, + kDummyPadFieldNumber = 1023, + }; + // optional string from_identity_string = 7; + bool has_from_identity_string() const; + private: + bool _internal_has_from_identity_string() const; + public: + void clear_from_identity_string(); + const std::string& from_identity_string() const; + template + void set_from_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_from_identity_string(); + PROTOBUF_NODISCARD std::string* release_from_identity_string(); + void set_allocated_from_identity_string(std::string* from_identity_string); + private: + const std::string& _internal_from_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity_string(const std::string& value); + std::string* _internal_mutable_from_identity_string(); + public: + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; + bool has_p2p_routing_summary() const; + private: + bool _internal_has_p2p_routing_summary() const; + public: + void clear_p2p_routing_summary(); + const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); + ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); + void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + private: + const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; + ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); + public: + void unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); + + // optional fixed64 legacy_from_steam_id = 3; + bool has_legacy_from_steam_id() const; + private: + bool _internal_has_legacy_from_steam_id() const; + public: + void clear_legacy_from_steam_id(); + uint64_t legacy_from_steam_id() const; + void set_legacy_from_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_from_steam_id() const; + void _internal_set_legacy_from_steam_id(uint64_t value); + public: + + // optional uint32 legacy_gameserver_relay_session_id = 2; + bool has_legacy_gameserver_relay_session_id() const; + private: + bool _internal_has_legacy_gameserver_relay_session_id() const; + public: + void clear_legacy_gameserver_relay_session_id(); + uint32_t legacy_gameserver_relay_session_id() const; + void set_legacy_gameserver_relay_session_id(uint32_t value); + private: + uint32_t _internal_legacy_gameserver_relay_session_id() const; + void _internal_set_legacy_gameserver_relay_session_id(uint32_t value); + public: + + // optional fixed32 to_connection_id = 5; + bool has_to_connection_id() const; + private: + bool _internal_has_to_connection_id() const; + public: + void clear_to_connection_id(); + uint32_t to_connection_id() const; + void set_to_connection_id(uint32_t value); + private: + uint32_t _internal_to_connection_id() const; + void _internal_set_to_connection_id(uint32_t value); + public: + + // optional fixed32 from_connection_id = 6; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // optional fixed32 to_relay_session_id = 9; + bool has_to_relay_session_id() const; + private: + bool _internal_has_to_relay_session_id() const; + public: + void clear_to_relay_session_id(); + uint32_t to_relay_session_id() const; + void set_to_relay_session_id(uint32_t value); + private: + uint32_t _internal_to_relay_session_id() const; + void _internal_set_to_relay_session_id(uint32_t value); + public: + + // optional fixed64 routing_secret = 11; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // optional fixed32 from_relay_session_id = 10; + bool has_from_relay_session_id() const; + private: + bool _internal_has_from_relay_session_id() const; + public: + void clear_from_relay_session_id(); + uint32_t from_relay_session_id() const; + void set_from_relay_session_id(uint32_t value); + private: + uint32_t _internal_from_relay_session_id() const; + void _internal_set_from_relay_session_id(uint32_t value); + public: + + // optional bool end_to_end = 4; + bool has_end_to_end() const; + private: + bool _internal_has_end_to_end() const; + public: + void clear_end_to_end(); + bool end_to_end() const; + void set_end_to_end(bool value); + private: + bool _internal_end_to_end() const; + void _internal_set_end_to_end(bool value); + public: + + // optional bool not_primary_session = 12; + bool has_not_primary_session() const; + private: + bool _internal_has_not_primary_session() const; + public: + void clear_not_primary_session(); + bool not_primary_session() const; + void set_not_primary_session(bool value); + private: + bool _internal_not_primary_session() const; + void _internal_set_not_primary_session(bool value); + public: + + // optional bool not_primary_transport = 15; + bool has_not_primary_transport() const; + private: + bool _internal_has_not_primary_transport() const; + public: + void clear_not_primary_transport(); + bool not_primary_transport() const; + void set_not_primary_transport(bool value); + private: + bool _internal_not_primary_transport() const; + void _internal_set_not_primary_transport(bool value); + public: + + // optional bool relay_override_active = 17; + bool has_relay_override_active() const; + private: + bool _internal_has_relay_override_active() const; + public: + void clear_relay_override_active(); + bool relay_override_active() const; + void set_relay_override_active(bool value); + private: + bool _internal_relay_override_active() const; + void _internal_set_relay_override_active(bool value); + public: + + // optional fixed32 dummy_pad = 1023; + bool has_dummy_pad() const; + private: + bool _internal_has_dummy_pad() const; + public: + void clear_dummy_pad(); + uint32_t dummy_pad() const; + void set_dummy_pad(uint32_t value); + private: + uint32_t _internal_dummy_pad() const; + void _internal_set_dummy_pad(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoConnection) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_string_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; + uint64_t legacy_from_steam_id_; + uint32_t legacy_gameserver_relay_session_id_; + uint32_t to_connection_id_; + uint32_t from_connection_id_; + uint32_t to_relay_session_id_; + uint64_t routing_secret_; + uint32_t from_relay_session_id_; + bool end_to_end_; + bool not_primary_session_; + bool not_primary_transport_; + bool relay_override_active_; + uint32_t dummy_pad_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameserverSessionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverSessionRequest) */ { + public: + inline CMsgSteamDatagramGameserverSessionRequest() : CMsgSteamDatagramGameserverSessionRequest(nullptr) {} + ~CMsgSteamDatagramGameserverSessionRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameserverSessionRequest(const CMsgSteamDatagramGameserverSessionRequest& from); + CMsgSteamDatagramGameserverSessionRequest(CMsgSteamDatagramGameserverSessionRequest&& from) noexcept + : CMsgSteamDatagramGameserverSessionRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameserverSessionRequest& operator=(const CMsgSteamDatagramGameserverSessionRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameserverSessionRequest& operator=(CMsgSteamDatagramGameserverSessionRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameserverSessionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameserverSessionRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameserverSessionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CMsgSteamDatagramGameserverSessionRequest& a, CMsgSteamDatagramGameserverSessionRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameserverSessionRequest* 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(CMsgSteamDatagramGameserverSessionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameserverSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameserverSessionRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameserverSessionRequest& from) { + CMsgSteamDatagramGameserverSessionRequest::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(CMsgSteamDatagramGameserverSessionRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameserverSessionRequest"; + } + protected: + explicit CMsgSteamDatagramGameserverSessionRequest(::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 { + kTicketFieldNumber = 1, + kPlatformFieldNumber = 9, + kBuildFieldNumber = 10, + kDevGameserverIdentityFieldNumber = 100, + kDevClientCertFieldNumber = 101, + kChallengeFieldNumber = 4, + kChallengeTimeFieldNumber = 3, + kClientConnectionIdFieldNumber = 5, + kNetworkConfigVersionFieldNumber = 6, + kProtocolVersionFieldNumber = 7, + kServerConnectionIdFieldNumber = 8, + }; + // optional bytes ticket = 1; + bool has_ticket() const; + private: + bool _internal_has_ticket() const; + public: + void clear_ticket(); + const std::string& ticket() const; + template + void set_ticket(ArgT0&& arg0, ArgT... args); + std::string* mutable_ticket(); + PROTOBUF_NODISCARD std::string* release_ticket(); + void set_allocated_ticket(std::string* ticket); + private: + const std::string& _internal_ticket() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket(const std::string& value); + std::string* _internal_mutable_ticket(); + public: + + // optional string platform = 9; + bool has_platform() const; + private: + bool _internal_has_platform() const; + public: + 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: + + // optional string build = 10; + bool has_build() const; + private: + bool _internal_has_build() const; + public: + void clear_build(); + const std::string& build() const; + template + void set_build(ArgT0&& arg0, ArgT... args); + std::string* mutable_build(); + PROTOBUF_NODISCARD std::string* release_build(); + void set_allocated_build(std::string* build); + private: + const std::string& _internal_build() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); + std::string* _internal_mutable_build(); + public: + + // optional string dev_gameserver_identity = 100; + bool has_dev_gameserver_identity() const; + private: + bool _internal_has_dev_gameserver_identity() const; + public: + void clear_dev_gameserver_identity(); + const std::string& dev_gameserver_identity() const; + template + void set_dev_gameserver_identity(ArgT0&& arg0, ArgT... args); + std::string* mutable_dev_gameserver_identity(); + PROTOBUF_NODISCARD std::string* release_dev_gameserver_identity(); + void set_allocated_dev_gameserver_identity(std::string* dev_gameserver_identity); + private: + const std::string& _internal_dev_gameserver_identity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dev_gameserver_identity(const std::string& value); + std::string* _internal_mutable_dev_gameserver_identity(); + public: + + // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; + bool has_dev_client_cert() const; + private: + bool _internal_has_dev_client_cert() const; + public: + void clear_dev_client_cert(); + const ::CMsgSteamDatagramCertificateSigned& dev_client_cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_dev_client_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_dev_client_cert(); + void set_allocated_dev_client_cert(::CMsgSteamDatagramCertificateSigned* dev_client_cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_dev_client_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_dev_client_cert(); + public: + void unsafe_arena_set_allocated_dev_client_cert( + ::CMsgSteamDatagramCertificateSigned* dev_client_cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_dev_client_cert(); + + // optional fixed64 challenge = 4; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional fixed32 challenge_time = 3; + bool has_challenge_time() const; + private: + bool _internal_has_challenge_time() const; + public: + void clear_challenge_time(); + uint32_t challenge_time() const; + void set_challenge_time(uint32_t value); + private: + uint32_t _internal_challenge_time() const; + void _internal_set_challenge_time(uint32_t value); + public: + + // optional fixed32 client_connection_id = 5; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint64 network_config_version = 6; + bool has_network_config_version() const; + private: + bool _internal_has_network_config_version() const; + public: + void clear_network_config_version(); + uint64_t network_config_version() const; + void set_network_config_version(uint64_t value); + private: + uint64_t _internal_network_config_version() const; + void _internal_set_network_config_version(uint64_t value); + public: + + // optional uint32 protocol_version = 7; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional fixed32 server_connection_id = 8; + bool has_server_connection_id() const; + private: + bool _internal_has_server_connection_id() const; + public: + void clear_server_connection_id(); + uint32_t server_connection_id() const; + void set_server_connection_id(uint32_t value); + private: + uint32_t _internal_server_connection_id() const; + void _internal_set_server_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverSessionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dev_gameserver_identity_; + ::CMsgSteamDatagramCertificateSigned* dev_client_cert_; + uint64_t challenge_; + uint32_t challenge_time_; + uint32_t client_connection_id_; + uint64_t network_config_version_; + uint32_t protocol_version_; + uint32_t server_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramGameserverSessionEstablished final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverSessionEstablished) */ { + public: + inline CMsgSteamDatagramGameserverSessionEstablished() : CMsgSteamDatagramGameserverSessionEstablished(nullptr) {} + ~CMsgSteamDatagramGameserverSessionEstablished() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablished(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramGameserverSessionEstablished(const CMsgSteamDatagramGameserverSessionEstablished& from); + CMsgSteamDatagramGameserverSessionEstablished(CMsgSteamDatagramGameserverSessionEstablished&& from) noexcept + : CMsgSteamDatagramGameserverSessionEstablished() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramGameserverSessionEstablished& operator=(const CMsgSteamDatagramGameserverSessionEstablished& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramGameserverSessionEstablished& operator=(CMsgSteamDatagramGameserverSessionEstablished&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramGameserverSessionEstablished& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramGameserverSessionEstablished* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramGameserverSessionEstablished_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CMsgSteamDatagramGameserverSessionEstablished& a, CMsgSteamDatagramGameserverSessionEstablished& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramGameserverSessionEstablished* 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(CMsgSteamDatagramGameserverSessionEstablished* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramGameserverSessionEstablished* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramGameserverSessionEstablished& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramGameserverSessionEstablished& from) { + CMsgSteamDatagramGameserverSessionEstablished::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(CMsgSteamDatagramGameserverSessionEstablished* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramGameserverSessionEstablished"; + } + protected: + explicit CMsgSteamDatagramGameserverSessionEstablished(::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 { + kGameserverIdentityStringFieldNumber = 2, + kDummyLegacyIdentityBinaryFieldNumber = 7, + kConnectionIdFieldNumber = 1, + kSecondsUntilShutdownFieldNumber = 4, + kLegacyGameserverSteamidFieldNumber = 3, + kSeqNumR2CFieldNumber = 6, + }; + // optional string gameserver_identity_string = 2; + bool has_gameserver_identity_string() const; + private: + bool _internal_has_gameserver_identity_string() const; + public: + void clear_gameserver_identity_string(); + const std::string& gameserver_identity_string() const; + template + void set_gameserver_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_gameserver_identity_string(); + PROTOBUF_NODISCARD std::string* release_gameserver_identity_string(); + void set_allocated_gameserver_identity_string(std::string* gameserver_identity_string); + private: + const std::string& _internal_gameserver_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_identity_string(const std::string& value); + std::string* _internal_mutable_gameserver_identity_string(); + public: + + // optional bytes dummy_legacy_identity_binary = 7; + bool has_dummy_legacy_identity_binary() const; + private: + bool _internal_has_dummy_legacy_identity_binary() const; + public: + void clear_dummy_legacy_identity_binary(); + const std::string& dummy_legacy_identity_binary() const; + template + void set_dummy_legacy_identity_binary(ArgT0&& arg0, ArgT... args); + std::string* mutable_dummy_legacy_identity_binary(); + PROTOBUF_NODISCARD std::string* release_dummy_legacy_identity_binary(); + void set_allocated_dummy_legacy_identity_binary(std::string* dummy_legacy_identity_binary); + private: + const std::string& _internal_dummy_legacy_identity_binary() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_legacy_identity_binary(const std::string& value); + std::string* _internal_mutable_dummy_legacy_identity_binary(); + public: + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 seconds_until_shutdown = 4; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional fixed64 legacy_gameserver_steamid = 3; + bool has_legacy_gameserver_steamid() const; + private: + bool _internal_has_legacy_gameserver_steamid() const; + public: + void clear_legacy_gameserver_steamid(); + uint64_t legacy_gameserver_steamid() const; + void set_legacy_gameserver_steamid(uint64_t value); + private: + uint64_t _internal_legacy_gameserver_steamid() const; + void _internal_set_legacy_gameserver_steamid(uint64_t value); + public: + + // optional uint32 seq_num_r2c = 6; + bool has_seq_num_r2c() const; + private: + bool _internal_has_seq_num_r2c() const; + public: + void clear_seq_num_r2c(); + uint32_t seq_num_r2c() const; + void set_seq_num_r2c(uint32_t value); + private: + uint32_t _internal_seq_num_r2c() const; + void _internal_set_seq_num_r2c(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverSessionEstablished) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_identity_string_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_legacy_identity_binary_; + uint32_t connection_id_; + uint32_t seconds_until_shutdown_; + uint64_t legacy_gameserver_steamid_; + uint32_t seq_num_r2c_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsClientToRouter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsClientToRouter) */ { + public: + inline CMsgSteamDatagramConnectionStatsClientToRouter() : CMsgSteamDatagramConnectionStatsClientToRouter(nullptr) {} + ~CMsgSteamDatagramConnectionStatsClientToRouter() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsClientToRouter(const CMsgSteamDatagramConnectionStatsClientToRouter& from); + CMsgSteamDatagramConnectionStatsClientToRouter(CMsgSteamDatagramConnectionStatsClientToRouter&& from) noexcept + : CMsgSteamDatagramConnectionStatsClientToRouter() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsClientToRouter& operator=(const CMsgSteamDatagramConnectionStatsClientToRouter& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsClientToRouter& operator=(CMsgSteamDatagramConnectionStatsClientToRouter&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsClientToRouter& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsClientToRouter* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CMsgSteamDatagramConnectionStatsClientToRouter& a, CMsgSteamDatagramConnectionStatsClientToRouter& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsClientToRouter* 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(CMsgSteamDatagramConnectionStatsClientToRouter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsClientToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsClientToRouter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsClientToRouter& from) { + CMsgSteamDatagramConnectionStatsClientToRouter::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(CMsgSteamDatagramConnectionStatsClientToRouter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsClientToRouter"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsClientToRouter(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsClientToRouter_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_IMMEDIATE; + static constexpr Flags NOT_PRIMARY_SESSION = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_NOT_PRIMARY_SESSION; + static constexpr Flags CLIENT_RELAY_OVERRIDE = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 4, + kLegacyAckE2EFieldNumber = 5, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kFlagsFieldNumber = 6, + kClientConnectionIdFieldNumber = 8, + kSeqNumC2RFieldNumber = 9, + kSeqNumE2EFieldNumber = 10, + }; + // repeated fixed32 ack_relay = 4; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 5; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional uint32 flags = 6; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional fixed32 client_connection_id = 8; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 seq_num_c2r = 9; + bool has_seq_num_c2r() const; + private: + bool _internal_has_seq_num_c2r() const; + public: + void clear_seq_num_c2r(); + uint32_t seq_num_c2r() const; + void set_seq_num_c2r(uint32_t value); + private: + uint32_t _internal_seq_num_c2r() const; + void _internal_set_seq_num_c2r(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 10; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsClientToRouter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + uint32_t flags_; + uint32_t client_connection_id_; + uint32_t seq_num_c2r_; + uint32_t seq_num_e2e_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsRouterToClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsRouterToClient) */ { + public: + inline CMsgSteamDatagramConnectionStatsRouterToClient() : CMsgSteamDatagramConnectionStatsRouterToClient(nullptr) {} + ~CMsgSteamDatagramConnectionStatsRouterToClient() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsRouterToClient(const CMsgSteamDatagramConnectionStatsRouterToClient& from); + CMsgSteamDatagramConnectionStatsRouterToClient(CMsgSteamDatagramConnectionStatsRouterToClient&& from) noexcept + : CMsgSteamDatagramConnectionStatsRouterToClient() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsRouterToClient& operator=(const CMsgSteamDatagramConnectionStatsRouterToClient& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsRouterToClient& operator=(CMsgSteamDatagramConnectionStatsRouterToClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsRouterToClient& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsRouterToClient* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CMsgSteamDatagramConnectionStatsRouterToClient& a, CMsgSteamDatagramConnectionStatsRouterToClient& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsRouterToClient* 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(CMsgSteamDatagramConnectionStatsRouterToClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsRouterToClient& from) { + CMsgSteamDatagramConnectionStatsRouterToClient::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(CMsgSteamDatagramConnectionStatsRouterToClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsRouterToClient"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsRouterToClient(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsRouterToClient_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 13, + kLegacyAckE2EFieldNumber = 14, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kSecondsUntilShutdownFieldNumber = 6, + kClientConnectionIdFieldNumber = 7, + kSeqNumR2CFieldNumber = 8, + kSeqNumE2EFieldNumber = 9, + kMigrateRequestIpFieldNumber = 10, + kMigrateRequestPortFieldNumber = 11, + kScoringPenaltyRelayClusterFieldNumber = 12, + kFlagsFieldNumber = 15, + }; + // repeated fixed32 ack_relay = 13; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 14; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional uint32 seconds_until_shutdown = 6; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional fixed32 client_connection_id = 7; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 seq_num_r2c = 8; + bool has_seq_num_r2c() const; + private: + bool _internal_has_seq_num_r2c() const; + public: + void clear_seq_num_r2c(); + uint32_t seq_num_r2c() const; + void set_seq_num_r2c(uint32_t value); + private: + uint32_t _internal_seq_num_r2c() const; + void _internal_set_seq_num_r2c(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 9; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // optional fixed32 migrate_request_ip = 10; + bool has_migrate_request_ip() const; + private: + bool _internal_has_migrate_request_ip() const; + public: + void clear_migrate_request_ip(); + uint32_t migrate_request_ip() const; + void set_migrate_request_ip(uint32_t value); + private: + uint32_t _internal_migrate_request_ip() const; + void _internal_set_migrate_request_ip(uint32_t value); + public: + + // optional uint32 migrate_request_port = 11; + bool has_migrate_request_port() const; + private: + bool _internal_has_migrate_request_port() const; + public: + void clear_migrate_request_port(); + uint32_t migrate_request_port() const; + void set_migrate_request_port(uint32_t value); + private: + uint32_t _internal_migrate_request_port() const; + void _internal_set_migrate_request_port(uint32_t value); + public: + + // optional uint32 scoring_penalty_relay_cluster = 12; + bool has_scoring_penalty_relay_cluster() const; + private: + bool _internal_has_scoring_penalty_relay_cluster() const; + public: + void clear_scoring_penalty_relay_cluster(); + uint32_t scoring_penalty_relay_cluster() const; + void set_scoring_penalty_relay_cluster(uint32_t value); + private: + uint32_t _internal_scoring_penalty_relay_cluster() const; + void _internal_set_scoring_penalty_relay_cluster(uint32_t value); + public: + + // optional uint32 flags = 15; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsRouterToClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + uint32_t seconds_until_shutdown_; + uint32_t client_connection_id_; + uint32_t seq_num_r2c_; + uint32_t seq_num_e2e_; + uint32_t migrate_request_ip_; + uint32_t migrate_request_port_; + uint32_t scoring_penalty_relay_cluster_; + uint32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsRouterToServer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsRouterToServer) */ { + public: + inline CMsgSteamDatagramConnectionStatsRouterToServer() : CMsgSteamDatagramConnectionStatsRouterToServer(nullptr) {} + ~CMsgSteamDatagramConnectionStatsRouterToServer() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsRouterToServer(const CMsgSteamDatagramConnectionStatsRouterToServer& from); + CMsgSteamDatagramConnectionStatsRouterToServer(CMsgSteamDatagramConnectionStatsRouterToServer&& from) noexcept + : CMsgSteamDatagramConnectionStatsRouterToServer() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsRouterToServer& operator=(const CMsgSteamDatagramConnectionStatsRouterToServer& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsRouterToServer& operator=(CMsgSteamDatagramConnectionStatsRouterToServer&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsRouterToServer& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsRouterToServer* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CMsgSteamDatagramConnectionStatsRouterToServer& a, CMsgSteamDatagramConnectionStatsRouterToServer& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsRouterToServer* 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(CMsgSteamDatagramConnectionStatsRouterToServer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsRouterToServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToServer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsRouterToServer& from) { + CMsgSteamDatagramConnectionStatsRouterToServer::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(CMsgSteamDatagramConnectionStatsRouterToServer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsRouterToServer"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsRouterToServer(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsRouterToServer_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 10, + kLegacyAckE2EFieldNumber = 11, + kClientIdentityStringFieldNumber = 15, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kSeqNumR2SFieldNumber = 5, + kSeqNumE2EFieldNumber = 6, + kLegacyClientSteamIdFieldNumber = 7, + kRelaySessionIdFieldNumber = 8, + kClientConnectionIdFieldNumber = 9, + kFlagsFieldNumber = 12, + kServerConnectionIdFieldNumber = 13, + kRoutingSecretFieldNumber = 14, + }; + // repeated fixed32 ack_relay = 10; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 11; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional string client_identity_string = 15; + bool has_client_identity_string() const; + private: + bool _internal_has_client_identity_string() const; + public: + void clear_client_identity_string(); + const std::string& client_identity_string() const; + template + void set_client_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_client_identity_string(); + PROTOBUF_NODISCARD std::string* release_client_identity_string(); + void set_allocated_client_identity_string(std::string* client_identity_string); + private: + const std::string& _internal_client_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_identity_string(const std::string& value); + std::string* _internal_mutable_client_identity_string(); + public: + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional uint32 seq_num_r2s = 5; + bool has_seq_num_r2s() const; + private: + bool _internal_has_seq_num_r2s() const; + public: + void clear_seq_num_r2s(); + uint32_t seq_num_r2s() const; + void set_seq_num_r2s(uint32_t value); + private: + uint32_t _internal_seq_num_r2s() const; + void _internal_set_seq_num_r2s(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 6; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // optional fixed64 legacy_client_steam_id = 7; + bool has_legacy_client_steam_id() const; + private: + bool _internal_has_legacy_client_steam_id() const; + public: + void clear_legacy_client_steam_id(); + uint64_t legacy_client_steam_id() const; + void set_legacy_client_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_client_steam_id() const; + void _internal_set_legacy_client_steam_id(uint64_t value); + public: + + // optional uint32 relay_session_id = 8; + bool has_relay_session_id() const; + private: + bool _internal_has_relay_session_id() const; + public: + void clear_relay_session_id(); + uint32_t relay_session_id() const; + void set_relay_session_id(uint32_t value); + private: + uint32_t _internal_relay_session_id() const; + void _internal_set_relay_session_id(uint32_t value); + public: + + // optional fixed32 client_connection_id = 9; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 flags = 12; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional fixed32 server_connection_id = 13; + bool has_server_connection_id() const; + private: + bool _internal_has_server_connection_id() const; + public: + void clear_server_connection_id(); + uint32_t server_connection_id() const; + void set_server_connection_id(uint32_t value); + private: + uint32_t _internal_server_connection_id() const; + void _internal_set_server_connection_id(uint32_t value); + public: + + // optional fixed64 routing_secret = 14; + bool has_routing_secret() const; + private: + bool _internal_has_routing_secret() const; + public: + void clear_routing_secret(); + uint64_t routing_secret() const; + void set_routing_secret(uint64_t value); + private: + uint64_t _internal_routing_secret() const; + void _internal_set_routing_secret(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsRouterToServer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_identity_string_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + uint32_t seq_num_r2s_; + uint32_t seq_num_e2e_; + uint64_t legacy_client_steam_id_; + uint32_t relay_session_id_; + uint32_t client_connection_id_; + uint32_t flags_; + uint32_t server_connection_id_; + uint64_t routing_secret_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsServerToRouter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsServerToRouter) */ { + public: + inline CMsgSteamDatagramConnectionStatsServerToRouter() : CMsgSteamDatagramConnectionStatsServerToRouter(nullptr) {} + ~CMsgSteamDatagramConnectionStatsServerToRouter() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsServerToRouter(const CMsgSteamDatagramConnectionStatsServerToRouter& from); + CMsgSteamDatagramConnectionStatsServerToRouter(CMsgSteamDatagramConnectionStatsServerToRouter&& from) noexcept + : CMsgSteamDatagramConnectionStatsServerToRouter() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsServerToRouter& operator=(const CMsgSteamDatagramConnectionStatsServerToRouter& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsServerToRouter& operator=(CMsgSteamDatagramConnectionStatsServerToRouter&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsServerToRouter& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsServerToRouter* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CMsgSteamDatagramConnectionStatsServerToRouter& a, CMsgSteamDatagramConnectionStatsServerToRouter& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsServerToRouter* 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(CMsgSteamDatagramConnectionStatsServerToRouter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsServerToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsServerToRouter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsServerToRouter& from) { + CMsgSteamDatagramConnectionStatsServerToRouter::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(CMsgSteamDatagramConnectionStatsServerToRouter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsServerToRouter"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsServerToRouter(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsServerToRouter_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 8, + kLegacyAckE2EFieldNumber = 9, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kSeqNumS2RFieldNumber = 3, + kSeqNumE2EFieldNumber = 4, + kRelaySessionIdFieldNumber = 6, + kClientConnectionIdFieldNumber = 7, + kFlagsFieldNumber = 10, + kServerConnectionIdFieldNumber = 11, + }; + // repeated fixed32 ack_relay = 8; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 9; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional uint32 seq_num_s2r = 3; + bool has_seq_num_s2r() const; + private: + bool _internal_has_seq_num_s2r() const; + public: + void clear_seq_num_s2r(); + uint32_t seq_num_s2r() const; + void set_seq_num_s2r(uint32_t value); + private: + uint32_t _internal_seq_num_s2r() const; + void _internal_set_seq_num_s2r(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 4; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // optional uint32 relay_session_id = 6; + bool has_relay_session_id() const; + private: + bool _internal_has_relay_session_id() const; + public: + void clear_relay_session_id(); + uint32_t relay_session_id() const; + void set_relay_session_id(uint32_t value); + private: + uint32_t _internal_relay_session_id() const; + void _internal_set_relay_session_id(uint32_t value); + public: + + // optional fixed32 client_connection_id = 7; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 flags = 10; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional fixed32 server_connection_id = 11; + bool has_server_connection_id() const; + private: + bool _internal_has_server_connection_id() const; + public: + void clear_server_connection_id(); + uint32_t server_connection_id() const; + void set_server_connection_id(uint32_t value); + private: + uint32_t _internal_server_connection_id() const; + void _internal_set_server_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsServerToRouter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + uint32_t seq_num_s2r_; + uint32_t seq_num_e2e_; + uint32_t relay_session_id_; + uint32_t client_connection_id_; + uint32_t flags_; + uint32_t server_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) */ { + public: + inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() : CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(nullptr) {} + ~CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from); + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData&& from) noexcept + : CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& operator=(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& operator=(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& a, CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* 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(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { + CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::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(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData"; + } + protected: + explicit CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::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 { + kPeerIdentityStringFieldNumber = 1, + }; + // optional string peer_identity_string = 1; + bool has_peer_identity_string() const; + private: + bool _internal_has_peer_identity_string() const; + public: + void clear_peer_identity_string(); + const std::string& peer_identity_string() const; + template + void set_peer_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_peer_identity_string(); + PROTOBUF_NODISCARD std::string* release_peer_identity_string(); + void set_allocated_peer_identity_string(std::string* peer_identity_string); + private: + const std::string& _internal_peer_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_peer_identity_string(const std::string& value); + std::string* _internal_mutable_peer_identity_string(); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr peer_identity_string_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PSessionRequestBody final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequestBody) */ { + public: + inline CMsgSteamDatagramP2PSessionRequestBody() : CMsgSteamDatagramP2PSessionRequestBody(nullptr) {} + ~CMsgSteamDatagramP2PSessionRequestBody() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PSessionRequestBody(const CMsgSteamDatagramP2PSessionRequestBody& from); + CMsgSteamDatagramP2PSessionRequestBody(CMsgSteamDatagramP2PSessionRequestBody&& from) noexcept + : CMsgSteamDatagramP2PSessionRequestBody() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PSessionRequestBody& operator=(const CMsgSteamDatagramP2PSessionRequestBody& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PSessionRequestBody& operator=(CMsgSteamDatagramP2PSessionRequestBody&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PSessionRequestBody& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PSessionRequestBody* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PSessionRequestBody_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CMsgSteamDatagramP2PSessionRequestBody& a, CMsgSteamDatagramP2PSessionRequestBody& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PSessionRequestBody* 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(CMsgSteamDatagramP2PSessionRequestBody* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PSessionRequestBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PSessionRequestBody& from) { + CMsgSteamDatagramP2PSessionRequestBody::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(CMsgSteamDatagramP2PSessionRequestBody* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PSessionRequestBody"; + } + protected: + explicit CMsgSteamDatagramP2PSessionRequestBody(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramP2PSessionRequestBody_EncryptedData EncryptedData; + + // accessors ------------------------------------------------------- + + enum : int { + kPeerIdentityStringFieldNumber = 11, + kPlatformFieldNumber = 12, + kBuildFieldNumber = 13, + kEncryptedDataFieldNumber = 14, + kEncryptionMyEphemeralPublicKeyFieldNumber = 16, + kChallengeFieldNumber = 2, + kChallengeTimeFieldNumber = 1, + kClientConnectionIdFieldNumber = 3, + kLegacyPeerSteamIdFieldNumber = 4, + kPeerConnectionIdFieldNumber = 5, + kProtocolVersionFieldNumber = 8, + kNetworkConfigVersionFieldNumber = 9, + kEncryptionYourPublicKeyLeadByteFieldNumber = 15, + }; + // optional string peer_identity_string = 11; + bool has_peer_identity_string() const; + private: + bool _internal_has_peer_identity_string() const; + public: + void clear_peer_identity_string(); + const std::string& peer_identity_string() const; + template + void set_peer_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_peer_identity_string(); + PROTOBUF_NODISCARD std::string* release_peer_identity_string(); + void set_allocated_peer_identity_string(std::string* peer_identity_string); + private: + const std::string& _internal_peer_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_peer_identity_string(const std::string& value); + std::string* _internal_mutable_peer_identity_string(); + public: + + // optional string platform = 12; + bool has_platform() const; + private: + bool _internal_has_platform() const; + public: + 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: + + // optional string build = 13; + bool has_build() const; + private: + bool _internal_has_build() const; + public: + void clear_build(); + const std::string& build() const; + template + void set_build(ArgT0&& arg0, ArgT... args); + std::string* mutable_build(); + PROTOBUF_NODISCARD std::string* release_build(); + void set_allocated_build(std::string* build); + private: + const std::string& _internal_build() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); + std::string* _internal_mutable_build(); + public: + + // optional bytes encrypted_data = 14; + bool has_encrypted_data() const; + private: + bool _internal_has_encrypted_data() const; + public: + void clear_encrypted_data(); + const std::string& encrypted_data() const; + template + void set_encrypted_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_encrypted_data(); + PROTOBUF_NODISCARD std::string* release_encrypted_data(); + void set_allocated_encrypted_data(std::string* encrypted_data); + private: + const std::string& _internal_encrypted_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_data(const std::string& value); + std::string* _internal_mutable_encrypted_data(); + public: + + // optional bytes encryption_my_ephemeral_public_key = 16; + bool has_encryption_my_ephemeral_public_key() const; + private: + bool _internal_has_encryption_my_ephemeral_public_key() const; + public: + void clear_encryption_my_ephemeral_public_key(); + const std::string& encryption_my_ephemeral_public_key() const; + template + void set_encryption_my_ephemeral_public_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_encryption_my_ephemeral_public_key(); + PROTOBUF_NODISCARD std::string* release_encryption_my_ephemeral_public_key(); + void set_allocated_encryption_my_ephemeral_public_key(std::string* encryption_my_ephemeral_public_key); + private: + const std::string& _internal_encryption_my_ephemeral_public_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_encryption_my_ephemeral_public_key(const std::string& value); + std::string* _internal_mutable_encryption_my_ephemeral_public_key(); + public: + + // optional fixed64 challenge = 2; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional fixed32 challenge_time = 1; + bool has_challenge_time() const; + private: + bool _internal_has_challenge_time() const; + public: + void clear_challenge_time(); + uint32_t challenge_time() const; + void set_challenge_time(uint32_t value); + private: + uint32_t _internal_challenge_time() const; + void _internal_set_challenge_time(uint32_t value); + public: + + // optional fixed32 client_connection_id = 3; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional fixed64 legacy_peer_steam_id = 4; + bool has_legacy_peer_steam_id() const; + private: + bool _internal_has_legacy_peer_steam_id() const; + public: + void clear_legacy_peer_steam_id(); + uint64_t legacy_peer_steam_id() const; + void set_legacy_peer_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_peer_steam_id() const; + void _internal_set_legacy_peer_steam_id(uint64_t value); + public: + + // optional fixed32 peer_connection_id = 5; + bool has_peer_connection_id() const; + private: + bool _internal_has_peer_connection_id() const; + public: + void clear_peer_connection_id(); + uint32_t peer_connection_id() const; + void set_peer_connection_id(uint32_t value); + private: + uint32_t _internal_peer_connection_id() const; + void _internal_set_peer_connection_id(uint32_t value); + public: + + // optional uint32 protocol_version = 8; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional uint64 network_config_version = 9; + bool has_network_config_version() const; + private: + bool _internal_has_network_config_version() const; + public: + void clear_network_config_version(); + uint64_t network_config_version() const; + void set_network_config_version(uint64_t value); + private: + uint64_t _internal_network_config_version() const; + void _internal_set_network_config_version(uint64_t value); + public: + + // optional uint32 encryption_your_public_key_lead_byte = 15; + bool has_encryption_your_public_key_lead_byte() const; + private: + bool _internal_has_encryption_your_public_key_lead_byte() const; + public: + void clear_encryption_your_public_key_lead_byte(); + uint32_t encryption_your_public_key_lead_byte() const; + void set_encryption_your_public_key_lead_byte(uint32_t value); + private: + uint32_t _internal_encryption_your_public_key_lead_byte() const; + void _internal_set_encryption_your_public_key_lead_byte(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequestBody) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr peer_identity_string_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encryption_my_ephemeral_public_key_; + uint64_t challenge_; + uint32_t challenge_time_; + uint32_t client_connection_id_; + uint64_t legacy_peer_steam_id_; + uint32_t peer_connection_id_; + uint32_t protocol_version_; + uint64_t network_config_version_; + uint32_t encryption_your_public_key_lead_byte_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PSessionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequest) */ { + public: + inline CMsgSteamDatagramP2PSessionRequest() : CMsgSteamDatagramP2PSessionRequest(nullptr) {} + ~CMsgSteamDatagramP2PSessionRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PSessionRequest(const CMsgSteamDatagramP2PSessionRequest& from); + CMsgSteamDatagramP2PSessionRequest(CMsgSteamDatagramP2PSessionRequest&& from) noexcept + : CMsgSteamDatagramP2PSessionRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PSessionRequest& operator=(const CMsgSteamDatagramP2PSessionRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PSessionRequest& operator=(CMsgSteamDatagramP2PSessionRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PSessionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PSessionRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PSessionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CMsgSteamDatagramP2PSessionRequest& a, CMsgSteamDatagramP2PSessionRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PSessionRequest* 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(CMsgSteamDatagramP2PSessionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PSessionRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PSessionRequest& from) { + CMsgSteamDatagramP2PSessionRequest::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(CMsgSteamDatagramP2PSessionRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PSessionRequest"; + } + protected: + explicit CMsgSteamDatagramP2PSessionRequest(::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 { + kBodyFieldNumber = 2, + kSignatureFieldNumber = 3, + kCertFieldNumber = 1, + }; + // optional bytes body = 2; + bool has_body() const; + private: + bool _internal_has_body() const; + public: + void clear_body(); + const std::string& body() const; + template + void set_body(ArgT0&& arg0, ArgT... args); + std::string* mutable_body(); + PROTOBUF_NODISCARD std::string* release_body(); + void set_allocated_body(std::string* body); + private: + const std::string& _internal_body() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_body(const std::string& value); + std::string* _internal_mutable_body(); + public: + + // optional bytes signature = 3; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // optional .CMsgSteamDatagramCertificateSigned cert = 1; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + ::CMsgSteamDatagramCertificateSigned* cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PSessionEstablished final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionEstablished) */ { + public: + inline CMsgSteamDatagramP2PSessionEstablished() : CMsgSteamDatagramP2PSessionEstablished(nullptr) {} + ~CMsgSteamDatagramP2PSessionEstablished() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablished(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PSessionEstablished(const CMsgSteamDatagramP2PSessionEstablished& from); + CMsgSteamDatagramP2PSessionEstablished(CMsgSteamDatagramP2PSessionEstablished&& from) noexcept + : CMsgSteamDatagramP2PSessionEstablished() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PSessionEstablished& operator=(const CMsgSteamDatagramP2PSessionEstablished& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PSessionEstablished& operator=(CMsgSteamDatagramP2PSessionEstablished&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PSessionEstablished& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PSessionEstablished* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PSessionEstablished_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CMsgSteamDatagramP2PSessionEstablished& a, CMsgSteamDatagramP2PSessionEstablished& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PSessionEstablished* 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(CMsgSteamDatagramP2PSessionEstablished* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PSessionEstablished* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PSessionEstablished& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PSessionEstablished& from) { + CMsgSteamDatagramP2PSessionEstablished::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(CMsgSteamDatagramP2PSessionEstablished* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PSessionEstablished"; + } + protected: + explicit CMsgSteamDatagramP2PSessionEstablished(::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 { + kRelayRoutingTokenFieldNumber = 4, + kConnectionIdFieldNumber = 1, + kSecondsUntilShutdownFieldNumber = 3, + kSeqNumR2CFieldNumber = 5, + }; + // optional bytes relay_routing_token = 4; + bool has_relay_routing_token() const; + private: + bool _internal_has_relay_routing_token() const; + public: + void clear_relay_routing_token(); + const std::string& relay_routing_token() const; + template + void set_relay_routing_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_relay_routing_token(); + PROTOBUF_NODISCARD std::string* release_relay_routing_token(); + void set_allocated_relay_routing_token(std::string* relay_routing_token); + private: + const std::string& _internal_relay_routing_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_relay_routing_token(const std::string& value); + std::string* _internal_mutable_relay_routing_token(); + public: + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 seconds_until_shutdown = 3; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional uint32 seq_num_r2c = 5; + bool has_seq_num_r2c() const; + private: + bool _internal_has_seq_num_r2c() const; + public: + void clear_seq_num_r2c(); + uint32_t seq_num_r2c() const; + void set_seq_num_r2c(uint32_t value); + private: + uint32_t _internal_seq_num_r2c() const; + void _internal_set_seq_num_r2c(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionEstablished) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr relay_routing_token_; + uint32_t connection_id_; + uint32_t seconds_until_shutdown_; + uint32_t seq_num_r2c_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsP2PClientToRouter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsP2PClientToRouter) */ { + public: + inline CMsgSteamDatagramConnectionStatsP2PClientToRouter() : CMsgSteamDatagramConnectionStatsP2PClientToRouter(nullptr) {} + ~CMsgSteamDatagramConnectionStatsP2PClientToRouter() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsP2PClientToRouter(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from); + CMsgSteamDatagramConnectionStatsP2PClientToRouter(CMsgSteamDatagramConnectionStatsP2PClientToRouter&& from) noexcept + : CMsgSteamDatagramConnectionStatsP2PClientToRouter() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsP2PClientToRouter& operator=(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsP2PClientToRouter& operator=(CMsgSteamDatagramConnectionStatsP2PClientToRouter&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsP2PClientToRouter& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsP2PClientToRouter* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CMsgSteamDatagramConnectionStatsP2PClientToRouter& a, CMsgSteamDatagramConnectionStatsP2PClientToRouter& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* 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(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsP2PClientToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { + CMsgSteamDatagramConnectionStatsP2PClientToRouter::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(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsP2PClientToRouter"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsP2PClientToRouter(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_IMMEDIATE; + static constexpr Flags NOT_PRIMARY_SESSION = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_SESSION; + static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_TRANSPORT_E2E; + static constexpr Flags CLIENT_RELAY_OVERRIDE = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 3, + kLegacyAckE2EFieldNumber = 4, + kForwardTargetRelayRoutingTokenFieldNumber = 6, + kRoutesFieldNumber = 8, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kP2PRoutingSummaryFieldNumber = 14, + kFlagsFieldNumber = 5, + kForwardTargetRevisionFieldNumber = 7, + kAckPeerRoutesRevisionFieldNumber = 9, + kConnectionIdFieldNumber = 10, + kSeqNumC2RFieldNumber = 11, + kSeqNumE2EFieldNumber = 12, + }; + // repeated fixed32 ack_relay = 3; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 4; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional bytes forward_target_relay_routing_token = 6; + bool has_forward_target_relay_routing_token() const; + private: + bool _internal_has_forward_target_relay_routing_token() const; + public: + void clear_forward_target_relay_routing_token(); + const std::string& forward_target_relay_routing_token() const; + template + void set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_forward_target_relay_routing_token(); + PROTOBUF_NODISCARD std::string* release_forward_target_relay_routing_token(); + void set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token); + private: + const std::string& _internal_forward_target_relay_routing_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_forward_target_relay_routing_token(const std::string& value); + std::string* _internal_mutable_forward_target_relay_routing_token(); + public: + + // optional bytes routes = 8; + bool has_routes() const; + private: + bool _internal_has_routes() const; + public: + void clear_routes(); + const std::string& routes() const; + template + void set_routes(ArgT0&& arg0, ArgT... args); + std::string* mutable_routes(); + PROTOBUF_NODISCARD std::string* release_routes(); + void set_allocated_routes(std::string* routes); + private: + const std::string& _internal_routes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_routes(const std::string& value); + std::string* _internal_mutable_routes(); + public: + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; + bool has_p2p_routing_summary() const; + private: + bool _internal_has_p2p_routing_summary() const; + public: + void clear_p2p_routing_summary(); + const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); + ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); + void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + private: + const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; + ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); + public: + void unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); + ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); + + // optional uint32 flags = 5; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 forward_target_revision = 7; + bool has_forward_target_revision() const; + private: + bool _internal_has_forward_target_revision() const; + public: + void clear_forward_target_revision(); + uint32_t forward_target_revision() const; + void set_forward_target_revision(uint32_t value); + private: + uint32_t _internal_forward_target_revision() const; + void _internal_set_forward_target_revision(uint32_t value); + public: + + // optional uint32 ack_peer_routes_revision = 9; + bool has_ack_peer_routes_revision() const; + private: + bool _internal_has_ack_peer_routes_revision() const; + public: + void clear_ack_peer_routes_revision(); + uint32_t ack_peer_routes_revision() const; + void set_ack_peer_routes_revision(uint32_t value); + private: + uint32_t _internal_ack_peer_routes_revision() const; + void _internal_set_ack_peer_routes_revision(uint32_t value); + public: + + // optional fixed32 connection_id = 10; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 seq_num_c2r = 11; + bool has_seq_num_c2r() const; + private: + bool _internal_has_seq_num_c2r() const; + public: + void clear_seq_num_c2r(); + uint32_t seq_num_c2r() const; + void set_seq_num_c2r(uint32_t value); + private: + uint32_t _internal_seq_num_c2r() const; + void _internal_set_seq_num_c2r(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 12; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsP2PClientToRouter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr forward_target_relay_routing_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routes_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; + uint32_t flags_; + uint32_t forward_target_revision_; + uint32_t ack_peer_routes_revision_; + uint32_t connection_id_; + uint32_t seq_num_c2r_; + uint32_t seq_num_e2e_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionStatsP2PRouterToClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsP2PRouterToClient) */ { + public: + inline CMsgSteamDatagramConnectionStatsP2PRouterToClient() : CMsgSteamDatagramConnectionStatsP2PRouterToClient(nullptr) {} + ~CMsgSteamDatagramConnectionStatsP2PRouterToClient() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionStatsP2PRouterToClient(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from); + CMsgSteamDatagramConnectionStatsP2PRouterToClient(CMsgSteamDatagramConnectionStatsP2PRouterToClient&& from) noexcept + : CMsgSteamDatagramConnectionStatsP2PRouterToClient() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionStatsP2PRouterToClient& operator=(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionStatsP2PRouterToClient& operator=(CMsgSteamDatagramConnectionStatsP2PRouterToClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionStatsP2PRouterToClient& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionStatsP2PRouterToClient* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CMsgSteamDatagramConnectionStatsP2PRouterToClient& a, CMsgSteamDatagramConnectionStatsP2PRouterToClient& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* 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(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionStatsP2PRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { + CMsgSteamDatagramConnectionStatsP2PRouterToClient::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(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionStatsP2PRouterToClient"; + } + protected: + explicit CMsgSteamDatagramConnectionStatsP2PRouterToClient(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags Flags; + static constexpr Flags ACK_REQUEST_RELAY = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; + static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E; + static inline bool Flags_IsValid(int value) { + return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kAckRelayFieldNumber = 7, + kLegacyAckE2EFieldNumber = 8, + kRoutesFieldNumber = 11, + kQualityRelayFieldNumber = 1, + kQualityE2EFieldNumber = 2, + kSecondsUntilShutdownFieldNumber = 3, + kMigrateRequestIpFieldNumber = 4, + kMigrateRequestPortFieldNumber = 5, + kScoringPenaltyRelayClusterFieldNumber = 6, + kFlagsFieldNumber = 9, + kAckForwardTargetRevisionFieldNumber = 10, + kAckPeerRoutesRevisionFieldNumber = 12, + kConnectionIdFieldNumber = 13, + kSeqNumR2CFieldNumber = 14, + kSeqNumE2EFieldNumber = 15, + }; + // repeated fixed32 ack_relay = 7; + int ack_relay_size() const; + private: + int _internal_ack_relay_size() const; + public: + void clear_ack_relay(); + private: + uint32_t _internal_ack_relay(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ack_relay() const; + void _internal_add_ack_relay(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ack_relay(); + public: + uint32_t ack_relay(int index) const; + void set_ack_relay(int index, uint32_t value); + void add_ack_relay(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ack_relay() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ack_relay(); + + // repeated fixed32 legacy_ack_e2e = 8; + int legacy_ack_e2e_size() const; + private: + int _internal_legacy_ack_e2e_size() const; + public: + void clear_legacy_ack_e2e(); + private: + uint32_t _internal_legacy_ack_e2e(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_legacy_ack_e2e() const; + void _internal_add_legacy_ack_e2e(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_legacy_ack_e2e(); + public: + uint32_t legacy_ack_e2e(int index) const; + void set_legacy_ack_e2e(int index, uint32_t value); + void add_legacy_ack_e2e(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + legacy_ack_e2e() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_legacy_ack_e2e(); + + // optional bytes routes = 11; + bool has_routes() const; + private: + bool _internal_has_routes() const; + public: + void clear_routes(); + const std::string& routes() const; + template + void set_routes(ArgT0&& arg0, ArgT... args); + std::string* mutable_routes(); + PROTOBUF_NODISCARD std::string* release_routes(); + void set_allocated_routes(std::string* routes); + private: + const std::string& _internal_routes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_routes(const std::string& value); + std::string* _internal_mutable_routes(); + public: + + // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; + bool has_quality_relay() const; + private: + bool _internal_has_quality_relay() const; + public: + void clear_quality_relay(); + const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); + void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); + public: + void unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); + + // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; + bool has_quality_e2e() const; + private: + bool _internal_has_quality_e2e() const; + public: + void clear_quality_e2e(); + const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); + ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); + void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); + public: + void unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); + + // optional uint32 seconds_until_shutdown = 3; + bool has_seconds_until_shutdown() const; + private: + bool _internal_has_seconds_until_shutdown() const; + public: + void clear_seconds_until_shutdown(); + uint32_t seconds_until_shutdown() const; + void set_seconds_until_shutdown(uint32_t value); + private: + uint32_t _internal_seconds_until_shutdown() const; + void _internal_set_seconds_until_shutdown(uint32_t value); + public: + + // optional fixed32 migrate_request_ip = 4; + bool has_migrate_request_ip() const; + private: + bool _internal_has_migrate_request_ip() const; + public: + void clear_migrate_request_ip(); + uint32_t migrate_request_ip() const; + void set_migrate_request_ip(uint32_t value); + private: + uint32_t _internal_migrate_request_ip() const; + void _internal_set_migrate_request_ip(uint32_t value); + public: + + // optional uint32 migrate_request_port = 5; + bool has_migrate_request_port() const; + private: + bool _internal_has_migrate_request_port() const; + public: + void clear_migrate_request_port(); + uint32_t migrate_request_port() const; + void set_migrate_request_port(uint32_t value); + private: + uint32_t _internal_migrate_request_port() const; + void _internal_set_migrate_request_port(uint32_t value); + public: + + // optional uint32 scoring_penalty_relay_cluster = 6; + bool has_scoring_penalty_relay_cluster() const; + private: + bool _internal_has_scoring_penalty_relay_cluster() const; + public: + void clear_scoring_penalty_relay_cluster(); + uint32_t scoring_penalty_relay_cluster() const; + void set_scoring_penalty_relay_cluster(uint32_t value); + private: + uint32_t _internal_scoring_penalty_relay_cluster() const; + void _internal_set_scoring_penalty_relay_cluster(uint32_t value); + public: + + // optional uint32 flags = 9; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 ack_forward_target_revision = 10; + bool has_ack_forward_target_revision() const; + private: + bool _internal_has_ack_forward_target_revision() const; + public: + void clear_ack_forward_target_revision(); + uint32_t ack_forward_target_revision() const; + void set_ack_forward_target_revision(uint32_t value); + private: + uint32_t _internal_ack_forward_target_revision() const; + void _internal_set_ack_forward_target_revision(uint32_t value); + public: + + // optional uint32 ack_peer_routes_revision = 12; + bool has_ack_peer_routes_revision() const; + private: + bool _internal_has_ack_peer_routes_revision() const; + public: + void clear_ack_peer_routes_revision(); + uint32_t ack_peer_routes_revision() const; + void set_ack_peer_routes_revision(uint32_t value); + private: + uint32_t _internal_ack_peer_routes_revision() const; + void _internal_set_ack_peer_routes_revision(uint32_t value); + public: + + // optional fixed32 connection_id = 13; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 seq_num_r2c = 14; + bool has_seq_num_r2c() const; + private: + bool _internal_has_seq_num_r2c() const; + public: + void clear_seq_num_r2c(); + uint32_t seq_num_r2c() const; + void set_seq_num_r2c(uint32_t value); + private: + uint32_t _internal_seq_num_r2c() const; + void _internal_set_seq_num_r2c(uint32_t value); + public: + + // optional uint32 seq_num_e2e = 15; + bool has_seq_num_e2e() const; + private: + bool _internal_has_seq_num_e2e() const; + public: + void clear_seq_num_e2e(); + uint32_t seq_num_e2e() const; + void set_seq_num_e2e(uint32_t value); + private: + uint32_t _internal_seq_num_e2e() const; + void _internal_set_seq_num_e2e(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsP2PRouterToClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routes_; + ::CMsgSteamDatagramConnectionQuality* quality_relay_; + ::CMsgSteamDatagramConnectionQuality* quality_e2e_; + uint32_t seconds_until_shutdown_; + uint32_t migrate_request_ip_; + uint32_t migrate_request_port_; + uint32_t scoring_penalty_relay_cluster_; + uint32_t flags_; + uint32_t ack_forward_target_revision_; + uint32_t ack_peer_routes_revision_; + uint32_t connection_id_; + uint32_t seq_num_r2c_; + uint32_t seq_num_e2e_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PBadRouteRouterToClient final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PBadRouteRouterToClient) */ { + public: + inline CMsgSteamDatagramP2PBadRouteRouterToClient() : CMsgSteamDatagramP2PBadRouteRouterToClient(nullptr) {} + ~CMsgSteamDatagramP2PBadRouteRouterToClient() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PBadRouteRouterToClient(const CMsgSteamDatagramP2PBadRouteRouterToClient& from); + CMsgSteamDatagramP2PBadRouteRouterToClient(CMsgSteamDatagramP2PBadRouteRouterToClient&& from) noexcept + : CMsgSteamDatagramP2PBadRouteRouterToClient() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PBadRouteRouterToClient& operator=(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PBadRouteRouterToClient& operator=(CMsgSteamDatagramP2PBadRouteRouterToClient&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PBadRouteRouterToClient& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PBadRouteRouterToClient* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CMsgSteamDatagramP2PBadRouteRouterToClient& a, CMsgSteamDatagramP2PBadRouteRouterToClient& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PBadRouteRouterToClient* 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(CMsgSteamDatagramP2PBadRouteRouterToClient* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PBadRouteRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PBadRouteRouterToClient& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { + CMsgSteamDatagramP2PBadRouteRouterToClient::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(CMsgSteamDatagramP2PBadRouteRouterToClient* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PBadRouteRouterToClient"; + } + protected: + explicit CMsgSteamDatagramP2PBadRouteRouterToClient(::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 { + kFailedRelayRoutingTokenFieldNumber = 2, + kConnectionIdFieldNumber = 1, + kAckForwardTargetRevisionFieldNumber = 3, + kKludgePadFieldNumber = 99, + }; + // optional bytes failed_relay_routing_token = 2; + bool has_failed_relay_routing_token() const; + private: + bool _internal_has_failed_relay_routing_token() const; + public: + void clear_failed_relay_routing_token(); + const std::string& failed_relay_routing_token() const; + template + void set_failed_relay_routing_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_failed_relay_routing_token(); + PROTOBUF_NODISCARD std::string* release_failed_relay_routing_token(); + void set_allocated_failed_relay_routing_token(std::string* failed_relay_routing_token); + private: + const std::string& _internal_failed_relay_routing_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_failed_relay_routing_token(const std::string& value); + std::string* _internal_mutable_failed_relay_routing_token(); + public: + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 ack_forward_target_revision = 3; + bool has_ack_forward_target_revision() const; + private: + bool _internal_has_ack_forward_target_revision() const; + public: + void clear_ack_forward_target_revision(); + uint32_t ack_forward_target_revision() const; + void set_ack_forward_target_revision(uint32_t value); + private: + uint32_t _internal_ack_forward_target_revision() const; + void _internal_set_ack_forward_target_revision(uint32_t value); + public: + + // optional fixed64 kludge_pad = 99; + bool has_kludge_pad() const; + private: + bool _internal_has_kludge_pad() const; + public: + void clear_kludge_pad(); + uint64_t kludge_pad() const; + void set_kludge_pad(uint64_t value); + private: + uint64_t _internal_kludge_pad() const; + void _internal_set_kludge_pad(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PBadRouteRouterToClient) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr failed_relay_routing_token_; + uint32_t connection_id_; + uint32_t ack_forward_target_revision_; + uint64_t kludge_pad_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PRoutes_RelayCluster final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes.RelayCluster) */ { + public: + inline CMsgSteamDatagramP2PRoutes_RelayCluster() : CMsgSteamDatagramP2PRoutes_RelayCluster(nullptr) {} + ~CMsgSteamDatagramP2PRoutes_RelayCluster() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayCluster(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PRoutes_RelayCluster(const CMsgSteamDatagramP2PRoutes_RelayCluster& from); + CMsgSteamDatagramP2PRoutes_RelayCluster(CMsgSteamDatagramP2PRoutes_RelayCluster&& from) noexcept + : CMsgSteamDatagramP2PRoutes_RelayCluster() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PRoutes_RelayCluster& operator=(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PRoutes_RelayCluster& operator=(CMsgSteamDatagramP2PRoutes_RelayCluster&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PRoutes_RelayCluster& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PRoutes_RelayCluster* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CMsgSteamDatagramP2PRoutes_RelayCluster& a, CMsgSteamDatagramP2PRoutes_RelayCluster& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PRoutes_RelayCluster* 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(CMsgSteamDatagramP2PRoutes_RelayCluster* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PRoutes_RelayCluster* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PRoutes_RelayCluster& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { + CMsgSteamDatagramP2PRoutes_RelayCluster::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(CMsgSteamDatagramP2PRoutes_RelayCluster* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PRoutes.RelayCluster"; + } + protected: + explicit CMsgSteamDatagramP2PRoutes_RelayCluster(::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 { + kSessionRelayRoutingTokenFieldNumber = 4, + kPopIdFieldNumber = 1, + kPingMsFieldNumber = 2, + kScorePenaltyFieldNumber = 3, + }; + // optional bytes session_relay_routing_token = 4; + bool has_session_relay_routing_token() const; + private: + bool _internal_has_session_relay_routing_token() const; + public: + void clear_session_relay_routing_token(); + const std::string& session_relay_routing_token() const; + template + void set_session_relay_routing_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_session_relay_routing_token(); + PROTOBUF_NODISCARD std::string* release_session_relay_routing_token(); + void set_allocated_session_relay_routing_token(std::string* session_relay_routing_token); + private: + const std::string& _internal_session_relay_routing_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_relay_routing_token(const std::string& value); + std::string* _internal_mutable_session_relay_routing_token(); + public: + + // optional fixed32 pop_id = 1; + bool has_pop_id() const; + private: + bool _internal_has_pop_id() const; + public: + void clear_pop_id(); + uint32_t pop_id() const; + void set_pop_id(uint32_t value); + private: + uint32_t _internal_pop_id() const; + void _internal_set_pop_id(uint32_t value); + public: + + // optional uint32 ping_ms = 2; + bool has_ping_ms() const; + private: + bool _internal_has_ping_ms() const; + public: + void clear_ping_ms(); + uint32_t ping_ms() const; + void set_ping_ms(uint32_t value); + private: + uint32_t _internal_ping_ms() const; + void _internal_set_ping_ms(uint32_t value); + public: + + // optional uint32 score_penalty = 3; + bool has_score_penalty() const; + private: + bool _internal_has_score_penalty() const; + public: + void clear_score_penalty(); + uint32_t score_penalty() const; + void set_score_penalty(uint32_t value); + private: + uint32_t _internal_score_penalty() const; + void _internal_set_score_penalty(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes.RelayCluster) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_relay_routing_token_; + uint32_t pop_id_; + uint32_t ping_ms_; + uint32_t score_penalty_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PRoutes_Route final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes.Route) */ { + public: + inline CMsgSteamDatagramP2PRoutes_Route() : CMsgSteamDatagramP2PRoutes_Route(nullptr) {} + ~CMsgSteamDatagramP2PRoutes_Route() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_Route(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PRoutes_Route(const CMsgSteamDatagramP2PRoutes_Route& from); + CMsgSteamDatagramP2PRoutes_Route(CMsgSteamDatagramP2PRoutes_Route&& from) noexcept + : CMsgSteamDatagramP2PRoutes_Route() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PRoutes_Route& operator=(const CMsgSteamDatagramP2PRoutes_Route& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PRoutes_Route& operator=(CMsgSteamDatagramP2PRoutes_Route&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PRoutes_Route& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PRoutes_Route* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PRoutes_Route_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CMsgSteamDatagramP2PRoutes_Route& a, CMsgSteamDatagramP2PRoutes_Route& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PRoutes_Route* 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(CMsgSteamDatagramP2PRoutes_Route* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PRoutes_Route* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PRoutes_Route& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PRoutes_Route& from) { + CMsgSteamDatagramP2PRoutes_Route::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(CMsgSteamDatagramP2PRoutes_Route* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PRoutes.Route"; + } + protected: + explicit CMsgSteamDatagramP2PRoutes_Route(::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 { + kMyPopIdFieldNumber = 1, + kYourPopIdFieldNumber = 2, + kLegacyScoreFieldNumber = 3, + kInteriorScoreFieldNumber = 4, + }; + // optional fixed32 my_pop_id = 1; + bool has_my_pop_id() const; + private: + bool _internal_has_my_pop_id() const; + public: + void clear_my_pop_id(); + uint32_t my_pop_id() const; + void set_my_pop_id(uint32_t value); + private: + uint32_t _internal_my_pop_id() const; + void _internal_set_my_pop_id(uint32_t value); + public: + + // optional fixed32 your_pop_id = 2; + bool has_your_pop_id() const; + private: + bool _internal_has_your_pop_id() const; + public: + void clear_your_pop_id(); + uint32_t your_pop_id() const; + void set_your_pop_id(uint32_t value); + private: + uint32_t _internal_your_pop_id() const; + void _internal_set_your_pop_id(uint32_t value); + public: + + // optional uint32 legacy_score = 3; + bool has_legacy_score() const; + private: + bool _internal_has_legacy_score() const; + public: + void clear_legacy_score(); + uint32_t legacy_score() const; + void set_legacy_score(uint32_t value); + private: + uint32_t _internal_legacy_score() const; + void _internal_set_legacy_score(uint32_t value); + public: + + // optional uint32 interior_score = 4; + bool has_interior_score() const; + private: + bool _internal_has_interior_score() const; + public: + void clear_interior_score(); + uint32_t interior_score() const; + void set_interior_score(uint32_t value); + private: + uint32_t _internal_interior_score() const; + void _internal_set_interior_score(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes.Route) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t my_pop_id_; + uint32_t your_pop_id_; + uint32_t legacy_score_; + uint32_t interior_score_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramP2PRoutes final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes) */ { + public: + inline CMsgSteamDatagramP2PRoutes() : CMsgSteamDatagramP2PRoutes(nullptr) {} + ~CMsgSteamDatagramP2PRoutes() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramP2PRoutes(const CMsgSteamDatagramP2PRoutes& from); + CMsgSteamDatagramP2PRoutes(CMsgSteamDatagramP2PRoutes&& from) noexcept + : CMsgSteamDatagramP2PRoutes() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramP2PRoutes& operator=(const CMsgSteamDatagramP2PRoutes& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramP2PRoutes& operator=(CMsgSteamDatagramP2PRoutes&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramP2PRoutes& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramP2PRoutes* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramP2PRoutes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CMsgSteamDatagramP2PRoutes& a, CMsgSteamDatagramP2PRoutes& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramP2PRoutes* 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(CMsgSteamDatagramP2PRoutes* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramP2PRoutes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramP2PRoutes& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramP2PRoutes& from) { + CMsgSteamDatagramP2PRoutes::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(CMsgSteamDatagramP2PRoutes* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramP2PRoutes"; + } + protected: + explicit CMsgSteamDatagramP2PRoutes(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramP2PRoutes_RelayCluster RelayCluster; + typedef CMsgSteamDatagramP2PRoutes_Route Route; + + // accessors ------------------------------------------------------- + + enum : int { + kRelayClustersFieldNumber = 1, + kRoutesFieldNumber = 2, + kRevisionFieldNumber = 3, + }; + // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; + int relay_clusters_size() const; + private: + int _internal_relay_clusters_size() const; + public: + void clear_relay_clusters(); + ::CMsgSteamDatagramP2PRoutes_RelayCluster* mutable_relay_clusters(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >* + mutable_relay_clusters(); + private: + const ::CMsgSteamDatagramP2PRoutes_RelayCluster& _internal_relay_clusters(int index) const; + ::CMsgSteamDatagramP2PRoutes_RelayCluster* _internal_add_relay_clusters(); + public: + const ::CMsgSteamDatagramP2PRoutes_RelayCluster& relay_clusters(int index) const; + ::CMsgSteamDatagramP2PRoutes_RelayCluster* add_relay_clusters(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >& + relay_clusters() const; + + // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; + int routes_size() const; + private: + int _internal_routes_size() const; + public: + void clear_routes(); + ::CMsgSteamDatagramP2PRoutes_Route* mutable_routes(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >* + mutable_routes(); + private: + const ::CMsgSteamDatagramP2PRoutes_Route& _internal_routes(int index) const; + ::CMsgSteamDatagramP2PRoutes_Route* _internal_add_routes(); + public: + const ::CMsgSteamDatagramP2PRoutes_Route& routes(int index) const; + ::CMsgSteamDatagramP2PRoutes_Route* add_routes(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >& + routes() const; + + // optional uint32 revision = 3; + bool has_revision() const; + private: + bool _internal_has_revision() const; + public: + void clear_revision(); + uint32_t revision() const; + void set_revision(uint32_t value); + private: + uint32_t _internal_revision() const; + void _internal_set_revision(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster > relay_clusters_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route > routes_; + uint32_t revision_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSetSecondaryAddressRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSetSecondaryAddressRequest) */ { + public: + inline CMsgSteamDatagramSetSecondaryAddressRequest() : CMsgSteamDatagramSetSecondaryAddressRequest(nullptr) {} + ~CMsgSteamDatagramSetSecondaryAddressRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSetSecondaryAddressRequest(const CMsgSteamDatagramSetSecondaryAddressRequest& from); + CMsgSteamDatagramSetSecondaryAddressRequest(CMsgSteamDatagramSetSecondaryAddressRequest&& from) noexcept + : CMsgSteamDatagramSetSecondaryAddressRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSetSecondaryAddressRequest& operator=(const CMsgSteamDatagramSetSecondaryAddressRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSetSecondaryAddressRequest& operator=(CMsgSteamDatagramSetSecondaryAddressRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSetSecondaryAddressRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSetSecondaryAddressRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CMsgSteamDatagramSetSecondaryAddressRequest& a, CMsgSteamDatagramSetSecondaryAddressRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSetSecondaryAddressRequest* 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(CMsgSteamDatagramSetSecondaryAddressRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSetSecondaryAddressRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSetSecondaryAddressRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSetSecondaryAddressRequest& from) { + CMsgSteamDatagramSetSecondaryAddressRequest::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(CMsgSteamDatagramSetSecondaryAddressRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSetSecondaryAddressRequest"; + } + protected: + explicit CMsgSteamDatagramSetSecondaryAddressRequest(::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 { + kClientIdentityFieldNumber = 4, + kKludgePadFieldNumber = 99, + kClientMainIpFieldNumber = 1, + kClientMainPortFieldNumber = 2, + kClientConnectionIdFieldNumber = 3, + kRequestSendDuplicationFieldNumber = 5, + }; + // optional string client_identity = 4; + bool has_client_identity() const; + private: + bool _internal_has_client_identity() const; + public: + void clear_client_identity(); + const std::string& client_identity() const; + template + void set_client_identity(ArgT0&& arg0, ArgT... args); + std::string* mutable_client_identity(); + PROTOBUF_NODISCARD std::string* release_client_identity(); + void set_allocated_client_identity(std::string* client_identity); + private: + const std::string& _internal_client_identity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_identity(const std::string& value); + std::string* _internal_mutable_client_identity(); + public: + + // optional bytes kludge_pad = 99; + bool has_kludge_pad() const; + private: + bool _internal_has_kludge_pad() const; + public: + void clear_kludge_pad(); + const std::string& kludge_pad() const; + template + void set_kludge_pad(ArgT0&& arg0, ArgT... args); + std::string* mutable_kludge_pad(); + PROTOBUF_NODISCARD std::string* release_kludge_pad(); + void set_allocated_kludge_pad(std::string* kludge_pad); + private: + const std::string& _internal_kludge_pad() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_kludge_pad(const std::string& value); + std::string* _internal_mutable_kludge_pad(); + public: + + // optional fixed32 client_main_ip = 1; + bool has_client_main_ip() const; + private: + bool _internal_has_client_main_ip() const; + public: + void clear_client_main_ip(); + uint32_t client_main_ip() const; + void set_client_main_ip(uint32_t value); + private: + uint32_t _internal_client_main_ip() const; + void _internal_set_client_main_ip(uint32_t value); + public: + + // optional fixed32 client_main_port = 2; + bool has_client_main_port() const; + private: + bool _internal_has_client_main_port() const; + public: + void clear_client_main_port(); + uint32_t client_main_port() const; + void set_client_main_port(uint32_t value); + private: + uint32_t _internal_client_main_port() const; + void _internal_set_client_main_port(uint32_t value); + public: + + // optional fixed32 client_connection_id = 3; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional bool request_send_duplication = 5; + bool has_request_send_duplication() const; + private: + bool _internal_has_request_send_duplication() const; + public: + void clear_request_send_duplication(); + bool request_send_duplication() const; + void set_request_send_duplication(bool value); + private: + bool _internal_request_send_duplication() const; + void _internal_set_request_send_duplication(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSetSecondaryAddressRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_identity_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kludge_pad_; + uint32_t client_main_ip_; + uint32_t client_main_port_; + uint32_t client_connection_id_; + bool request_send_duplication_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSetSecondaryAddressResult final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSetSecondaryAddressResult) */ { + public: + inline CMsgSteamDatagramSetSecondaryAddressResult() : CMsgSteamDatagramSetSecondaryAddressResult(nullptr) {} + ~CMsgSteamDatagramSetSecondaryAddressResult() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSetSecondaryAddressResult(const CMsgSteamDatagramSetSecondaryAddressResult& from); + CMsgSteamDatagramSetSecondaryAddressResult(CMsgSteamDatagramSetSecondaryAddressResult&& from) noexcept + : CMsgSteamDatagramSetSecondaryAddressResult() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSetSecondaryAddressResult& operator=(const CMsgSteamDatagramSetSecondaryAddressResult& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSetSecondaryAddressResult& operator=(CMsgSteamDatagramSetSecondaryAddressResult&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSetSecondaryAddressResult& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSetSecondaryAddressResult* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSetSecondaryAddressResult_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CMsgSteamDatagramSetSecondaryAddressResult& a, CMsgSteamDatagramSetSecondaryAddressResult& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSetSecondaryAddressResult* 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(CMsgSteamDatagramSetSecondaryAddressResult* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSetSecondaryAddressResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSetSecondaryAddressResult& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSetSecondaryAddressResult& from) { + CMsgSteamDatagramSetSecondaryAddressResult::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(CMsgSteamDatagramSetSecondaryAddressResult* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSetSecondaryAddressResult"; + } + protected: + explicit CMsgSteamDatagramSetSecondaryAddressResult(::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 { + kMessageFieldNumber = 2, + kSuccessFieldNumber = 1, + }; + // optional string message = 2; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // optional bool success = 1; + bool has_success() const; + private: + bool _internal_has_success() const; + public: + 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:CMsgSteamDatagramSetSecondaryAddressResult) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + bool success_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSteamNetworkingIPAddress + +// optional fixed32 v4 = 1; +inline bool CMsgSteamNetworkingIPAddress::_internal_has_v4() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIPAddress::has_v4() const { + return _internal_has_v4(); +} +inline void CMsgSteamNetworkingIPAddress::clear_v4() { + _impl_.v4_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamNetworkingIPAddress::_internal_v4() const { + return _impl_.v4_; +} +inline uint32_t CMsgSteamNetworkingIPAddress::v4() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIPAddress.v4) + return _internal_v4(); +} +inline void CMsgSteamNetworkingIPAddress::_internal_set_v4(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.v4_ = value; +} +inline void CMsgSteamNetworkingIPAddress::set_v4(uint32_t value) { + _internal_set_v4(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIPAddress.v4) +} + +// optional bytes v6 = 2; +inline bool CMsgSteamNetworkingIPAddress::_internal_has_v6() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIPAddress::has_v6() const { + return _internal_has_v6(); +} +inline void CMsgSteamNetworkingIPAddress::clear_v6() { + _impl_.v6_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingIPAddress::v6() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIPAddress.v6) + return _internal_v6(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingIPAddress::set_v6(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.v6_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIPAddress.v6) +} +inline std::string* CMsgSteamNetworkingIPAddress::mutable_v6() { + std::string* _s = _internal_mutable_v6(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIPAddress.v6) + return _s; +} +inline const std::string& CMsgSteamNetworkingIPAddress::_internal_v6() const { + return _impl_.v6_.Get(); +} +inline void CMsgSteamNetworkingIPAddress::_internal_set_v6(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.v6_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIPAddress::_internal_mutable_v6() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.v6_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIPAddress::release_v6() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIPAddress.v6) + if (!_internal_has_v6()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.v6_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.v6_.IsDefault()) { + _impl_.v6_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingIPAddress::set_allocated_v6(std::string* v6) { + if (v6 != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.v6_.SetAllocated(v6, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.v6_.IsDefault()) { + _impl_.v6_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIPAddress.v6) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSignedMessageGeneric + +// optional .CMsgSteamDatagramCertificateSigned cert = 1; +inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramSignedMessageGeneric::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedMessageGeneric::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedMessageGeneric::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramSignedMessageGeneric.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::release_cert() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.cert) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.cert) + return _msg; +} +inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.cert) +} + +// optional bytes signed_data = 2; +inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_signed_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedMessageGeneric::has_signed_data() const { + return _internal_has_signed_data(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::clear_signed_data() { + _impl_.signed_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::signed_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.signed_data) + return _internal_signed_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedMessageGeneric::set_signed_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signed_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.signed_data) +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_signed_data() { + std::string* _s = _internal_mutable_signed_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.signed_data) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_signed_data() const { + return _impl_.signed_data_.Get(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_signed_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signed_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_signed_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.signed_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_signed_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.signed_data) + if (!_internal_has_signed_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.signed_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signed_data_.IsDefault()) { + _impl_.signed_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_signed_data(std::string* signed_data) { + if (signed_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.signed_data_.SetAllocated(signed_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signed_data_.IsDefault()) { + _impl_.signed_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.signed_data) +} + +// optional bytes signature = 3; +inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedMessageGeneric::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedMessageGeneric::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.signature) +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.signature) +} + +// optional bytes dummy_pad = 1023; +inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_dummy_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramSignedMessageGeneric::has_dummy_pad() const { + return _internal_has_dummy_pad(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::clear_dummy_pad() { + _impl_.dummy_pad_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::dummy_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) + return _internal_dummy_pad(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSignedMessageGeneric::set_dummy_pad(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_dummy_pad() { + std::string* _s = _internal_mutable_dummy_pad(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) + return _s; +} +inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_dummy_pad() const { + return _impl_.dummy_pad_.Get(); +} +inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_dummy_pad(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_dummy_pad() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_dummy_pad() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) + if (!_internal_has_dummy_pad()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.dummy_pad_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_dummy_pad(std::string* dummy_pad) { + if (dummy_pad != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramRouterPingReply_RouteException + +// optional fixed32 data_center_id = 1; +inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_data_center_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_data_center_id() const { + return _internal_has_data_center_id(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_data_center_id() { + _impl_.data_center_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_data_center_id() const { + return _impl_.data_center_id_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::data_center_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.data_center_id) + return _internal_data_center_id(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_data_center_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_center_id_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::set_data_center_id(uint32_t value) { + _internal_set_data_center_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.data_center_id) +} + +// optional uint32 flags = 2; +inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.flags) +} + +// optional uint32 penalty = 3; +inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_penalty() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_penalty() const { + return _internal_has_penalty(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_penalty() { + _impl_.penalty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_penalty() const { + return _impl_.penalty_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::penalty() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.penalty) + return _internal_penalty(); +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_penalty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.penalty_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_RouteException::set_penalty(uint32_t value) { + _internal_set_penalty(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.penalty) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramRouterPingReply_AltAddress + +// optional fixed32 ipv4 = 1; +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_ipv4() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_ipv4() const { + return _internal_has_ipv4(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_ipv4() { + _impl_.ipv4_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_ipv4() const { + return _impl_.ipv4_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::ipv4() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.ipv4) + return _internal_ipv4(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_ipv4(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ipv4_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_ipv4(uint32_t value) { + _internal_set_ipv4(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.ipv4) +} + +// optional uint32 port = 2; +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_port() const { + return _internal_has_port(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_port() { + _impl_.port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_port() const { + return _impl_.port_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.port) + return _internal_port(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.port_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_port(uint32_t value) { + _internal_set_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.port) +} + +// optional uint32 penalty = 3; +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_penalty() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_penalty() const { + return _internal_has_penalty(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_penalty() { + _impl_.penalty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_penalty() const { + return _impl_.penalty_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::penalty() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.penalty) + return _internal_penalty(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_penalty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.penalty_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_penalty(uint32_t value) { + _internal_set_penalty(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.penalty) +} + +// optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_protocol() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_protocol() const { + return _internal_has_protocol(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_protocol() { + _impl_.protocol_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::_internal_protocol() const { + return static_cast< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol >(_impl_.protocol_); +} +inline ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::protocol() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.protocol) + return _internal_protocol(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value) { + assert(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.protocol_ = value; +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value) { + _internal_set_protocol(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.protocol) +} + +// optional string id = 5; +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_id() const { + return _internal_has_id(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_id() { + _impl_.id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress::id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRouterPingReply_AltAddress::set_id(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.id) +} +inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.AltAddress.id) + return _s; +} +inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress::_internal_id() const { + return _impl_.id_.Get(); +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_id(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::_internal_mutable_id() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.id_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::release_id() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRouterPingReply.AltAddress.id) + if (!_internal_has_id()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.id_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_allocated_id(std::string* id) { + if (id != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRouterPingReply.AltAddress.id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramRouterPingReply + +// optional fixed32 client_timestamp = 1; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_client_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_client_timestamp() const { + return _internal_has_client_timestamp(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_client_timestamp() { + _impl_.client_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_client_timestamp() const { + return _impl_.client_timestamp_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::client_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.client_timestamp) + return _internal_client_timestamp(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_client_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.client_timestamp_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_client_timestamp(uint32_t value) { + _internal_set_client_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.client_timestamp) +} + +// repeated fixed32 latency_datacenter_ids = 2 [packed = true]; +inline int CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_size() const { + return _impl_.latency_datacenter_ids_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_size() const { + return _internal_latency_datacenter_ids_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_latency_datacenter_ids() { + _impl_.latency_datacenter_ids_.Clear(); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids(int index) const { + return _impl_.latency_datacenter_ids_.Get(index); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::latency_datacenter_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) + return _internal_latency_datacenter_ids(index); +} +inline void CMsgSteamDatagramRouterPingReply::set_latency_datacenter_ids(int index, uint32_t value) { + _impl_.latency_datacenter_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) +} +inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_datacenter_ids(uint32_t value) { + _impl_.latency_datacenter_ids_.Add(value); +} +inline void CMsgSteamDatagramRouterPingReply::add_latency_datacenter_ids(uint32_t value) { + _internal_add_latency_datacenter_ids(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids() const { + return _impl_.latency_datacenter_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::latency_datacenter_ids() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) + return _internal_latency_datacenter_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_datacenter_ids() { + return &_impl_.latency_datacenter_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::mutable_latency_datacenter_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) + return _internal_mutable_latency_datacenter_ids(); +} + +// repeated uint32 latency_ping_ms = 3 [packed = true]; +inline int CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_size() const { + return _impl_.latency_ping_ms_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::latency_ping_ms_size() const { + return _internal_latency_ping_ms_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_latency_ping_ms() { + _impl_.latency_ping_ms_.Clear(); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms(int index) const { + return _impl_.latency_ping_ms_.Get(index); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::latency_ping_ms(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_ping_ms) + return _internal_latency_ping_ms(index); +} +inline void CMsgSteamDatagramRouterPingReply::set_latency_ping_ms(int index, uint32_t value) { + _impl_.latency_ping_ms_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_ping_ms) +} +inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_ping_ms(uint32_t value) { + _impl_.latency_ping_ms_.Add(value); +} +inline void CMsgSteamDatagramRouterPingReply::add_latency_ping_ms(uint32_t value) { + _internal_add_latency_ping_ms(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_ping_ms) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms() const { + return _impl_.latency_ping_ms_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::latency_ping_ms() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms) + return _internal_latency_ping_ms(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_ping_ms() { + return &_impl_.latency_ping_ms_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::mutable_latency_ping_ms() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms) + return _internal_mutable_latency_ping_ms(); +} + +// repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; +inline int CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p_size() const { + return _impl_.latency_datacenter_ids_p2p_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p_size() const { + return _internal_latency_datacenter_ids_p2p_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_latency_datacenter_ids_p2p() { + _impl_.latency_datacenter_ids_p2p_.Clear(); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p(int index) const { + return _impl_.latency_datacenter_ids_p2p_.Get(index); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) + return _internal_latency_datacenter_ids_p2p(index); +} +inline void CMsgSteamDatagramRouterPingReply::set_latency_datacenter_ids_p2p(int index, uint32_t value) { + _impl_.latency_datacenter_ids_p2p_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) +} +inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_datacenter_ids_p2p(uint32_t value) { + _impl_.latency_datacenter_ids_p2p_.Add(value); +} +inline void CMsgSteamDatagramRouterPingReply::add_latency_datacenter_ids_p2p(uint32_t value) { + _internal_add_latency_datacenter_ids_p2p(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p() const { + return _impl_.latency_datacenter_ids_p2p_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) + return _internal_latency_datacenter_ids_p2p(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_datacenter_ids_p2p() { + return &_impl_.latency_datacenter_ids_p2p_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::mutable_latency_datacenter_ids_p2p() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) + return _internal_mutable_latency_datacenter_ids_p2p(); +} + +// repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; +inline int CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p_size() const { + return _impl_.latency_ping_ms_p2p_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p_size() const { + return _internal_latency_ping_ms_p2p_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_latency_ping_ms_p2p() { + _impl_.latency_ping_ms_p2p_.Clear(); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p(int index) const { + return _impl_.latency_ping_ms_p2p_.Get(index); +} +inline uint32_t CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) + return _internal_latency_ping_ms_p2p(index); +} +inline void CMsgSteamDatagramRouterPingReply::set_latency_ping_ms_p2p(int index, uint32_t value) { + _impl_.latency_ping_ms_p2p_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) +} +inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_ping_ms_p2p(uint32_t value) { + _impl_.latency_ping_ms_p2p_.Add(value); +} +inline void CMsgSteamDatagramRouterPingReply::add_latency_ping_ms_p2p(uint32_t value) { + _internal_add_latency_ping_ms_p2p(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p() const { + return _impl_.latency_ping_ms_p2p_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) + return _internal_latency_ping_ms_p2p(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_ping_ms_p2p() { + return &_impl_.latency_ping_ms_p2p_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramRouterPingReply::mutable_latency_ping_ms_p2p() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) + return _internal_mutable_latency_ping_ms_p2p(); +} + +// optional fixed32 your_public_ip = 4; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_your_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_your_public_ip() const { + return _internal_has_your_public_ip(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_your_public_ip() { + _impl_.your_public_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_your_public_ip() const { + return _impl_.your_public_ip_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::your_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.your_public_ip) + return _internal_your_public_ip(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_your_public_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.your_public_ip_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_your_public_ip(uint32_t value) { + _internal_set_your_public_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.your_public_ip) +} + +// optional fixed32 your_public_port = 11; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_your_public_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_your_public_port() const { + return _internal_has_your_public_port(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_your_public_port() { + _impl_.your_public_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_your_public_port() const { + return _impl_.your_public_port_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::your_public_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.your_public_port) + return _internal_your_public_port(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_your_public_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.your_public_port_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_your_public_port(uint32_t value) { + _internal_set_your_public_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.your_public_port) +} + +// optional fixed32 server_time = 5; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_server_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_server_time() const { + return _internal_has_server_time(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_server_time() { + _impl_.server_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_server_time() const { + return _impl_.server_time_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::server_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.server_time) + return _internal_server_time(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_server_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.server_time_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_server_time(uint32_t value) { + _internal_set_server_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.server_time) +} + +// optional fixed64 challenge = 6; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramRouterPingReply::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamDatagramRouterPingReply::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.challenge) + return _internal_challenge(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.challenge_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.challenge) +} + +// optional uint32 seconds_until_shutdown = 7; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.seconds_until_shutdown) +} + +// optional fixed32 client_cookie = 8; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_client_cookie() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_client_cookie() const { + return _internal_has_client_cookie(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_client_cookie() { + _impl_.client_cookie_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_client_cookie() const { + return _impl_.client_cookie_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::client_cookie() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.client_cookie) + return _internal_client_cookie(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_client_cookie(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.client_cookie_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_client_cookie(uint32_t value) { + _internal_set_client_cookie(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.client_cookie) +} + +// optional uint32 recv_tos = 16; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_recv_tos() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_recv_tos() const { + return _internal_has_recv_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_recv_tos() { + _impl_.recv_tos_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_recv_tos() const { + return _impl_.recv_tos_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::recv_tos() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.recv_tos) + return _internal_recv_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_recv_tos(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.recv_tos_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_recv_tos(uint32_t value) { + _internal_set_recv_tos(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.recv_tos) +} + +// optional uint32 echo_sent_tos = 17; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_echo_sent_tos() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_echo_sent_tos() const { + return _internal_has_echo_sent_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_echo_sent_tos() { + _impl_.echo_sent_tos_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_echo_sent_tos() const { + return _impl_.echo_sent_tos_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::echo_sent_tos() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.echo_sent_tos) + return _internal_echo_sent_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_echo_sent_tos(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.echo_sent_tos_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_echo_sent_tos(uint32_t value) { + _internal_set_echo_sent_tos(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.echo_sent_tos) +} + +// optional uint32 sent_tos = 18; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_sent_tos() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_sent_tos() const { + return _internal_has_sent_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_sent_tos() { + _impl_.sent_tos_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_sent_tos() const { + return _impl_.sent_tos_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::sent_tos() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.sent_tos) + return _internal_sent_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_sent_tos(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.sent_tos_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_sent_tos(uint32_t value) { + _internal_set_sent_tos(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.sent_tos) +} + +// optional uint32 echo_request_reply_tos = 19; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_echo_request_reply_tos() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_echo_request_reply_tos() const { + return _internal_has_echo_request_reply_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_echo_request_reply_tos() { + _impl_.echo_request_reply_tos_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_echo_request_reply_tos() const { + return _impl_.echo_request_reply_tos_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::echo_request_reply_tos() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos) + return _internal_echo_request_reply_tos(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_echo_request_reply_tos(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.echo_request_reply_tos_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_echo_request_reply_tos(uint32_t value) { + _internal_set_echo_request_reply_tos(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos) +} + +// optional uint32 scoring_penalty_relay_cluster = 9; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_scoring_penalty_relay_cluster() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_scoring_penalty_relay_cluster() const { + return _internal_has_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_scoring_penalty_relay_cluster() { + _impl_.scoring_penalty_relay_cluster_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_scoring_penalty_relay_cluster() const { + return _impl_.scoring_penalty_relay_cluster_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::scoring_penalty_relay_cluster() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster) + return _internal_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.scoring_penalty_relay_cluster_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_scoring_penalty_relay_cluster(uint32_t value) { + _internal_set_scoring_penalty_relay_cluster(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster) +} + +// optional uint32 flags = 12; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramRouterPingReply::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.flags) +} + +// repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; +inline int CMsgSteamDatagramRouterPingReply::_internal_route_exceptions_size() const { + return _impl_.route_exceptions_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::route_exceptions_size() const { + return _internal_route_exceptions_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_route_exceptions() { + _impl_.route_exceptions_.Clear(); +} +inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::mutable_route_exceptions(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.route_exceptions) + return _impl_.route_exceptions_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >* +CMsgSteamDatagramRouterPingReply::mutable_route_exceptions() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.route_exceptions) + return &_impl_.route_exceptions_; +} +inline const ::CMsgSteamDatagramRouterPingReply_RouteException& CMsgSteamDatagramRouterPingReply::_internal_route_exceptions(int index) const { + return _impl_.route_exceptions_.Get(index); +} +inline const ::CMsgSteamDatagramRouterPingReply_RouteException& CMsgSteamDatagramRouterPingReply::route_exceptions(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.route_exceptions) + return _internal_route_exceptions(index); +} +inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::_internal_add_route_exceptions() { + return _impl_.route_exceptions_.Add(); +} +inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::add_route_exceptions() { + ::CMsgSteamDatagramRouterPingReply_RouteException* _add = _internal_add_route_exceptions(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.route_exceptions) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >& +CMsgSteamDatagramRouterPingReply::route_exceptions() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.route_exceptions) + return _impl_.route_exceptions_; +} + +// repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; +inline int CMsgSteamDatagramRouterPingReply::_internal_alt_addresses_size() const { + return _impl_.alt_addresses_.size(); +} +inline int CMsgSteamDatagramRouterPingReply::alt_addresses_size() const { + return _internal_alt_addresses_size(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_alt_addresses() { + _impl_.alt_addresses_.Clear(); +} +inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::mutable_alt_addresses(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.alt_addresses) + return _impl_.alt_addresses_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >* +CMsgSteamDatagramRouterPingReply::mutable_alt_addresses() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.alt_addresses) + return &_impl_.alt_addresses_; +} +inline const ::CMsgSteamDatagramRouterPingReply_AltAddress& CMsgSteamDatagramRouterPingReply::_internal_alt_addresses(int index) const { + return _impl_.alt_addresses_.Get(index); +} +inline const ::CMsgSteamDatagramRouterPingReply_AltAddress& CMsgSteamDatagramRouterPingReply::alt_addresses(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.alt_addresses) + return _internal_alt_addresses(index); +} +inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::_internal_add_alt_addresses() { + return _impl_.alt_addresses_.Add(); +} +inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::add_alt_addresses() { + ::CMsgSteamDatagramRouterPingReply_AltAddress* _add = _internal_add_alt_addresses(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.alt_addresses) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >& +CMsgSteamDatagramRouterPingReply::alt_addresses() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.alt_addresses) + return _impl_.alt_addresses_; +} + +// optional bytes dummy_pad = 99; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_dummy_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_dummy_pad() const { + return _internal_has_dummy_pad(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_dummy_pad() { + _impl_.dummy_pad_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramRouterPingReply::dummy_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.dummy_pad) + return _internal_dummy_pad(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramRouterPingReply::set_dummy_pad(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.dummy_pad) +} +inline std::string* CMsgSteamDatagramRouterPingReply::mutable_dummy_pad() { + std::string* _s = _internal_mutable_dummy_pad(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.dummy_pad) + return _s; +} +inline const std::string& CMsgSteamDatagramRouterPingReply::_internal_dummy_pad() const { + return _impl_.dummy_pad_.Get(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_dummy_pad(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRouterPingReply::_internal_mutable_dummy_pad() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramRouterPingReply::release_dummy_pad() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramRouterPingReply.dummy_pad) + if (!_internal_has_dummy_pad()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.dummy_pad_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramRouterPingReply::set_allocated_dummy_pad(std::string* dummy_pad) { + if (dummy_pad != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRouterPingReply.dummy_pad) +} + +// optional uint64 dummy_varint = 100; +inline bool CMsgSteamDatagramRouterPingReply::_internal_has_dummy_varint() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamDatagramRouterPingReply::has_dummy_varint() const { + return _internal_has_dummy_varint(); +} +inline void CMsgSteamDatagramRouterPingReply::clear_dummy_varint() { + _impl_.dummy_varint_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint64_t CMsgSteamDatagramRouterPingReply::_internal_dummy_varint() const { + return _impl_.dummy_varint_; +} +inline uint64_t CMsgSteamDatagramRouterPingReply::dummy_varint() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.dummy_varint) + return _internal_dummy_varint(); +} +inline void CMsgSteamDatagramRouterPingReply::_internal_set_dummy_varint(uint64_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.dummy_varint_ = value; +} +inline void CMsgSteamDatagramRouterPingReply::set_dummy_varint(uint64_t value) { + _internal_set_dummy_varint(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.dummy_varint) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameserverPingRequestBody + +// optional fixed32 relay_popid = 1; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_relay_popid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_relay_popid() const { + return _internal_has_relay_popid(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_relay_popid() { + _impl_.relay_popid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::_internal_relay_popid() const { + return _impl_.relay_popid_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::relay_popid() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.relay_popid) + return _internal_relay_popid(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_relay_popid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.relay_popid_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_relay_popid(uint32_t value) { + _internal_set_relay_popid(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.relay_popid) +} + +// optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_your_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.your_public_ip_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_your_public_ip() const { + return _internal_has_your_public_ip(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_your_public_ip() { + if (_impl_.your_public_ip_ != nullptr) _impl_.your_public_ip_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::_internal_your_public_ip() const { + const ::CMsgSteamNetworkingIPAddress* p = _impl_.your_public_ip_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingIPAddress_default_instance_); +} +inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::your_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) + return _internal_your_public_ip(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::unsafe_arena_set_allocated_your_public_ip( + ::CMsgSteamNetworkingIPAddress* your_public_ip) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.your_public_ip_); + } + _impl_.your_public_ip_ = your_public_ip; + if (your_public_ip) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::release_your_public_ip() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamNetworkingIPAddress* temp = _impl_.your_public_ip_; + _impl_.your_public_ip_ = 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 ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::unsafe_arena_release_your_public_ip() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamNetworkingIPAddress* temp = _impl_.your_public_ip_; + _impl_.your_public_ip_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::_internal_mutable_your_public_ip() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.your_public_ip_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIPAddress>(GetArenaForAllocation()); + _impl_.your_public_ip_ = p; + } + return _impl_.your_public_ip_; +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::mutable_your_public_ip() { + ::CMsgSteamNetworkingIPAddress* _msg = _internal_mutable_your_public_ip(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) + return _msg; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_allocated_your_public_ip(::CMsgSteamNetworkingIPAddress* your_public_ip) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.your_public_ip_; + } + if (your_public_ip) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(your_public_ip); + if (message_arena != submessage_arena) { + your_public_ip = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, your_public_ip, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.your_public_ip_ = your_public_ip; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) +} + +// optional uint32 your_public_port = 3; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_your_public_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_your_public_port() const { + return _internal_has_your_public_port(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_your_public_port() { + _impl_.your_public_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::_internal_your_public_port() const { + return _impl_.your_public_port_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::your_public_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.your_public_port) + return _internal_your_public_port(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_your_public_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.your_public_port_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_your_public_port(uint32_t value) { + _internal_set_your_public_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.your_public_port) +} + +// optional uint64 relay_unix_time = 4; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_relay_unix_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_relay_unix_time() const { + return _internal_has_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_relay_unix_time() { + _impl_.relay_unix_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::_internal_relay_unix_time() const { + return _impl_.relay_unix_time_; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::relay_unix_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.relay_unix_time) + return _internal_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_relay_unix_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.relay_unix_time_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_relay_unix_time(uint64_t value) { + _internal_set_relay_unix_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.relay_unix_time) +} + +// optional fixed64 routing_secret = 5; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.routing_secret) +} + +// repeated .CMsgSteamNetworkingIPAddress my_ips = 6; +inline int CMsgSteamDatagramGameserverPingRequestBody::_internal_my_ips_size() const { + return _impl_.my_ips_.size(); +} +inline int CMsgSteamDatagramGameserverPingRequestBody::my_ips_size() const { + return _internal_my_ips_size(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_my_ips() { + _impl_.my_ips_.Clear(); +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::mutable_my_ips(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.my_ips) + return _impl_.my_ips_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >* +CMsgSteamDatagramGameserverPingRequestBody::mutable_my_ips() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramGameserverPingRequestBody.my_ips) + return &_impl_.my_ips_; +} +inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::_internal_my_ips(int index) const { + return _impl_.my_ips_.Get(index); +} +inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::my_ips(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.my_ips) + return _internal_my_ips(index); +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::_internal_add_my_ips() { + return _impl_.my_ips_.Add(); +} +inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::add_my_ips() { + ::CMsgSteamNetworkingIPAddress* _add = _internal_add_my_ips(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramGameserverPingRequestBody.my_ips) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >& +CMsgSteamDatagramGameserverPingRequestBody::my_ips() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramGameserverPingRequestBody.my_ips) + return _impl_.my_ips_; +} + +// optional bytes echo = 8; +inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_echo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestBody::has_echo() const { + return _internal_has_echo(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::clear_echo() { + _impl_.echo_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestBody::echo() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.echo) + return _internal_echo(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingRequestBody::set_echo(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.echo_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.echo) +} +inline std::string* CMsgSteamDatagramGameserverPingRequestBody::mutable_echo() { + std::string* _s = _internal_mutable_echo(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.echo) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestBody::_internal_echo() const { + return _impl_.echo_.Get(); +} +inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_echo(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.echo_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestBody::_internal_mutable_echo() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.echo_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestBody::release_echo() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestBody.echo) + if (!_internal_has_echo()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.echo_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.echo_.IsDefault()) { + _impl_.echo_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingRequestBody::set_allocated_echo(std::string* echo) { + if (echo != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.echo_.SetAllocated(echo, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.echo_.IsDefault()) { + _impl_.echo_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.echo) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameserverPingRequestEnvelope + +// optional .CMsgSteamDatagramCertificateSigned cert = 6; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverPingRequestEnvelope::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::release_cert() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) + return _msg; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) +} + +// optional bytes signed_data = 7; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_signed_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_signed_data() const { + return _internal_has_signed_data(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_signed_data() { + _impl_.signed_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::signed_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) + return _internal_signed_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingRequestEnvelope::set_signed_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signed_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_signed_data() { + std::string* _s = _internal_mutable_signed_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_signed_data() const { + return _impl_.signed_data_.Get(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_signed_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.signed_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_signed_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.signed_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_signed_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) + if (!_internal_has_signed_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.signed_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signed_data_.IsDefault()) { + _impl_.signed_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_signed_data(std::string* signed_data) { + if (signed_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.signed_data_.SetAllocated(signed_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signed_data_.IsDefault()) { + _impl_.signed_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) +} + +// optional bytes signature = 8; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingRequestEnvelope::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) +} + +// optional fixed32 legacy_your_public_ip = 1; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_your_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_your_public_ip() const { + return _internal_has_legacy_your_public_ip(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_your_public_ip() { + _impl_.legacy_your_public_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_your_public_ip() const { + return _impl_.legacy_your_public_ip_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_your_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_ip) + return _internal_legacy_your_public_ip(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_your_public_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_your_public_ip_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_your_public_ip(uint32_t value) { + _internal_set_legacy_your_public_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_ip) +} + +// optional fixed32 legacy_your_public_port = 5; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_your_public_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_your_public_port() const { + return _internal_has_legacy_your_public_port(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_your_public_port() { + _impl_.legacy_your_public_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_your_public_port() const { + return _impl_.legacy_your_public_port_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_your_public_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_port) + return _internal_legacy_your_public_port(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_your_public_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.legacy_your_public_port_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_your_public_port(uint32_t value) { + _internal_set_legacy_your_public_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_port) +} + +// optional fixed32 legacy_relay_unix_time = 2; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_relay_unix_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_relay_unix_time() const { + return _internal_has_legacy_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_relay_unix_time() { + _impl_.legacy_relay_unix_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_relay_unix_time() const { + return _impl_.legacy_relay_unix_time_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_relay_unix_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_relay_unix_time) + return _internal_legacy_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_relay_unix_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_relay_unix_time_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_relay_unix_time(uint32_t value) { + _internal_set_legacy_relay_unix_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_relay_unix_time) +} + +// optional fixed64 legacy_challenge = 3; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_challenge() const { + return _internal_has_legacy_challenge(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_challenge() { + _impl_.legacy_challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_challenge() const { + return _impl_.legacy_challenge_; +} +inline uint64_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_challenge) + return _internal_legacy_challenge(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.legacy_challenge_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_challenge(uint64_t value) { + _internal_set_legacy_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_challenge) +} + +// optional fixed32 legacy_router_timestamp = 4; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_router_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_router_timestamp() const { + return _internal_has_legacy_router_timestamp(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_router_timestamp() { + _impl_.legacy_router_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_router_timestamp() const { + return _impl_.legacy_router_timestamp_; +} +inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_router_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_router_timestamp) + return _internal_legacy_router_timestamp(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_router_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.legacy_router_timestamp_ = value; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_router_timestamp(uint32_t value) { + _internal_set_legacy_router_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_router_timestamp) +} + +// optional bytes dummy_pad = 1023; +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_dummy_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_dummy_pad() const { + return _internal_has_dummy_pad(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_dummy_pad() { + _impl_.dummy_pad_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::dummy_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) + return _internal_dummy_pad(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingRequestEnvelope::set_dummy_pad(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_dummy_pad() { + std::string* _s = _internal_mutable_dummy_pad(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_dummy_pad() const { + return _impl_.dummy_pad_.Get(); +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_dummy_pad(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_dummy_pad() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_dummy_pad() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) + if (!_internal_has_dummy_pad()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.dummy_pad_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_dummy_pad(std::string* dummy_pad) { + if (dummy_pad != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_pad_.IsDefault()) { + _impl_.dummy_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameserverPingReplyData + +// optional fixed32 echo_relay_unix_time = 2; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_echo_relay_unix_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_echo_relay_unix_time() const { + return _internal_has_echo_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_echo_relay_unix_time() { + _impl_.echo_relay_unix_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_echo_relay_unix_time() const { + return _impl_.echo_relay_unix_time_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::echo_relay_unix_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.echo_relay_unix_time) + return _internal_echo_relay_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_echo_relay_unix_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.echo_relay_unix_time_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_echo_relay_unix_time(uint32_t value) { + _internal_set_echo_relay_unix_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.echo_relay_unix_time) +} + +// optional bytes echo = 8; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_echo() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_echo() const { + return _internal_has_echo(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_echo() { + _impl_.echo_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::echo() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.echo) + return _internal_echo(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingReplyData::set_echo(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.echo_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.echo) +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_echo() { + std::string* _s = _internal_mutable_echo(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.echo) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_echo() const { + return _impl_.echo_.Get(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_echo(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.echo_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_echo() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.echo_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_echo() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.echo) + if (!_internal_has_echo()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.echo_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.echo_.IsDefault()) { + _impl_.echo_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_echo(std::string* echo) { + if (echo != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.echo_.SetAllocated(echo, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.echo_.IsDefault()) { + _impl_.echo_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.echo) +} + +// optional fixed64 legacy_challenge = 3; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_legacy_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_legacy_challenge() const { + return _internal_has_legacy_challenge(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_legacy_challenge() { + _impl_.legacy_challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramGameserverPingReplyData::_internal_legacy_challenge() const { + return _impl_.legacy_challenge_; +} +inline uint64_t CMsgSteamDatagramGameserverPingReplyData::legacy_challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.legacy_challenge) + return _internal_legacy_challenge(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_legacy_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.legacy_challenge_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_legacy_challenge(uint64_t value) { + _internal_set_legacy_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.legacy_challenge) +} + +// optional fixed32 legacy_router_timestamp = 4; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_legacy_router_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_legacy_router_timestamp() const { + return _internal_has_legacy_router_timestamp(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_legacy_router_timestamp() { + _impl_.legacy_router_timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_legacy_router_timestamp() const { + return _impl_.legacy_router_timestamp_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::legacy_router_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.legacy_router_timestamp) + return _internal_legacy_router_timestamp(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_legacy_router_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_router_timestamp_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_legacy_router_timestamp(uint32_t value) { + _internal_set_legacy_router_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.legacy_router_timestamp) +} + +// optional fixed32 data_center_id = 5; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_data_center_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_data_center_id() const { + return _internal_has_data_center_id(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_data_center_id() { + _impl_.data_center_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_data_center_id() const { + return _impl_.data_center_id_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::data_center_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.data_center_id) + return _internal_data_center_id(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_data_center_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.data_center_id_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_data_center_id(uint32_t value) { + _internal_set_data_center_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.data_center_id) +} + +// optional uint32 appid = 6; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_appid() const { + return _internal_has_appid(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::appid() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.appid) + return _internal_appid(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.appid_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.appid) +} + +// optional uint32 protocol_version = 7; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.protocol_version) +} + +// optional string build = 9; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_build() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_build() const { + return _internal_has_build(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_build() { + _impl_.build_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::build() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.build) + return _internal_build(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingReplyData::set_build(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.build) +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_build() { + std::string* _s = _internal_mutable_build(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.build) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_build() const { + return _impl_.build_.Get(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_build(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.build_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_build() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.build_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_build() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.build) + if (!_internal_has_build()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.build_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_build(std::string* build) { + if (build != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.build_.SetAllocated(build, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.build) +} + +// optional uint64 network_config_version = 10; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_network_config_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_network_config_version() const { + return _internal_has_network_config_version(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_network_config_version() { + _impl_.network_config_version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint64_t CMsgSteamDatagramGameserverPingReplyData::_internal_network_config_version() const { + return _impl_.network_config_version_; +} +inline uint64_t CMsgSteamDatagramGameserverPingReplyData::network_config_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.network_config_version) + return _internal_network_config_version(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_network_config_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.network_config_version_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_network_config_version(uint64_t value) { + _internal_set_network_config_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.network_config_version) +} + +// optional fixed32 my_unix_time = 11; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_my_unix_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_my_unix_time() const { + return _internal_has_my_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_my_unix_time() { + _impl_.my_unix_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_my_unix_time() const { + return _impl_.my_unix_time_; +} +inline uint32_t CMsgSteamDatagramGameserverPingReplyData::my_unix_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.my_unix_time) + return _internal_my_unix_time(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_my_unix_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.my_unix_time_ = value; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_my_unix_time(uint32_t value) { + _internal_set_my_unix_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.my_unix_time) +} + +// optional bytes routing_blob = 12; +inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_routing_blob() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverPingReplyData::has_routing_blob() const { + return _internal_has_routing_blob(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::clear_routing_blob() { + _impl_.routing_blob_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::routing_blob() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.routing_blob) + return _internal_routing_blob(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverPingReplyData::set_routing_blob(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.routing_blob_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.routing_blob) +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_routing_blob() { + std::string* _s = _internal_mutable_routing_blob(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.routing_blob) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_routing_blob() const { + return _impl_.routing_blob_.Get(); +} +inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_routing_blob(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.routing_blob_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_routing_blob() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.routing_blob_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_routing_blob() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.routing_blob) + if (!_internal_has_routing_blob()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.routing_blob_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routing_blob_.IsDefault()) { + _impl_.routing_blob_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_routing_blob(std::string* routing_blob) { + if (routing_blob != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.routing_blob_.SetAllocated(routing_blob, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routing_blob_.IsDefault()) { + _impl_.routing_blob_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.routing_blob) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramNoSessionRelayToClient + +// optional fixed32 connection_id = 7; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.connection_id) +} + +// optional fixed32 your_public_ip = 2; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_your_public_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_your_public_ip() const { + return _internal_has_your_public_ip(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_your_public_ip() { + _impl_.your_public_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_your_public_ip() const { + return _impl_.your_public_ip_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::your_public_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.your_public_ip) + return _internal_your_public_ip(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_your_public_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.your_public_ip_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_your_public_ip(uint32_t value) { + _internal_set_your_public_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.your_public_ip) +} + +// optional fixed32 your_public_port = 6; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_your_public_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_your_public_port() const { + return _internal_has_your_public_port(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_your_public_port() { + _impl_.your_public_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_your_public_port() const { + return _impl_.your_public_port_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::your_public_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.your_public_port) + return _internal_your_public_port(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_your_public_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.your_public_port_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_your_public_port(uint32_t value) { + _internal_set_your_public_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.your_public_port) +} + +// optional fixed32 server_time = 3; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_server_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_server_time() const { + return _internal_has_server_time(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_server_time() { + _impl_.server_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_server_time() const { + return _impl_.server_time_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::server_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.server_time) + return _internal_server_time(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_server_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.server_time_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_server_time(uint32_t value) { + _internal_set_server_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.server_time) +} + +// optional fixed64 challenge = 4; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSteamDatagramNoSessionRelayToClient::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamDatagramNoSessionRelayToClient::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.challenge) + return _internal_challenge(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.challenge_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.challenge) +} + +// optional uint32 seconds_until_shutdown = 5; +inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToClient::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToClient::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.seconds_until_shutdown) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramNoSessionRelayToPeer + +// optional uint32 legacy_relay_session_id = 1; +inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_legacy_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_legacy_relay_session_id() const { + return _internal_has_legacy_relay_session_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_legacy_relay_session_id() { + _impl_.legacy_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_legacy_relay_session_id() const { + return _impl_.legacy_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::legacy_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.legacy_relay_session_id) + return _internal_legacy_relay_session_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_legacy_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.legacy_relay_session_id_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::set_legacy_relay_session_id(uint32_t value) { + _internal_set_legacy_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.legacy_relay_session_id) +} + +// optional fixed32 from_relay_session_id = 2; +inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_from_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_from_relay_session_id() const { + return _internal_has_from_relay_session_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_from_relay_session_id() { + _impl_.from_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_from_relay_session_id() const { + return _impl_.from_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::from_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.from_relay_session_id) + return _internal_from_relay_session_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_from_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.from_relay_session_id_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::set_from_relay_session_id(uint32_t value) { + _internal_set_from_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.from_relay_session_id) +} + +// optional fixed32 from_connection_id = 7; +inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.from_connection_id) +} + +// optional fixed64 kludge_pad = 99; +inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_kludge_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_kludge_pad() const { + return _internal_has_kludge_pad(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_kludge_pad() { + _impl_.kludge_pad_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_kludge_pad() const { + return _impl_.kludge_pad_; +} +inline uint64_t CMsgSteamDatagramNoSessionRelayToPeer::kludge_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.kludge_pad) + return _internal_kludge_pad(); +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_kludge_pad(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.kludge_pad_ = value; +} +inline void CMsgSteamDatagramNoSessionRelayToPeer::set_kludge_pad(uint64_t value) { + _internal_set_kludge_pad(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.kludge_pad) +} + +// ------------------------------------------------------------------- + +// CMsgTOSTreatment + +// optional string l4s_detect = 1; +inline bool CMsgTOSTreatment::_internal_has_l4s_detect() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTOSTreatment::has_l4s_detect() const { + return _internal_has_l4s_detect(); +} +inline void CMsgTOSTreatment::clear_l4s_detect() { + _impl_.l4s_detect_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgTOSTreatment::l4s_detect() const { + // @@protoc_insertion_point(field_get:CMsgTOSTreatment.l4s_detect) + return _internal_l4s_detect(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgTOSTreatment::set_l4s_detect(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.l4s_detect_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgTOSTreatment.l4s_detect) +} +inline std::string* CMsgTOSTreatment::mutable_l4s_detect() { + std::string* _s = _internal_mutable_l4s_detect(); + // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.l4s_detect) + return _s; +} +inline const std::string& CMsgTOSTreatment::_internal_l4s_detect() const { + return _impl_.l4s_detect_.Get(); +} +inline void CMsgTOSTreatment::_internal_set_l4s_detect(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.l4s_detect_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::_internal_mutable_l4s_detect() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.l4s_detect_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::release_l4s_detect() { + // @@protoc_insertion_point(field_release:CMsgTOSTreatment.l4s_detect) + if (!_internal_has_l4s_detect()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.l4s_detect_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.l4s_detect_.IsDefault()) { + _impl_.l4s_detect_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgTOSTreatment::set_allocated_l4s_detect(std::string* l4s_detect) { + if (l4s_detect != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.l4s_detect_.SetAllocated(l4s_detect, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.l4s_detect_.IsDefault()) { + _impl_.l4s_detect_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.l4s_detect) +} + +// optional string up_ecn1 = 2; +inline bool CMsgTOSTreatment::_internal_has_up_ecn1() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTOSTreatment::has_up_ecn1() const { + return _internal_has_up_ecn1(); +} +inline void CMsgTOSTreatment::clear_up_ecn1() { + _impl_.up_ecn1_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgTOSTreatment::up_ecn1() const { + // @@protoc_insertion_point(field_get:CMsgTOSTreatment.up_ecn1) + return _internal_up_ecn1(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgTOSTreatment::set_up_ecn1(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.up_ecn1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgTOSTreatment.up_ecn1) +} +inline std::string* CMsgTOSTreatment::mutable_up_ecn1() { + std::string* _s = _internal_mutable_up_ecn1(); + // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.up_ecn1) + return _s; +} +inline const std::string& CMsgTOSTreatment::_internal_up_ecn1() const { + return _impl_.up_ecn1_.Get(); +} +inline void CMsgTOSTreatment::_internal_set_up_ecn1(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.up_ecn1_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::_internal_mutable_up_ecn1() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.up_ecn1_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::release_up_ecn1() { + // @@protoc_insertion_point(field_release:CMsgTOSTreatment.up_ecn1) + if (!_internal_has_up_ecn1()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.up_ecn1_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.up_ecn1_.IsDefault()) { + _impl_.up_ecn1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgTOSTreatment::set_allocated_up_ecn1(std::string* up_ecn1) { + if (up_ecn1 != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.up_ecn1_.SetAllocated(up_ecn1, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.up_ecn1_.IsDefault()) { + _impl_.up_ecn1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.up_ecn1) +} + +// optional string down_dscp45 = 3; +inline bool CMsgTOSTreatment::_internal_has_down_dscp45() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTOSTreatment::has_down_dscp45() const { + return _internal_has_down_dscp45(); +} +inline void CMsgTOSTreatment::clear_down_dscp45() { + _impl_.down_dscp45_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgTOSTreatment::down_dscp45() const { + // @@protoc_insertion_point(field_get:CMsgTOSTreatment.down_dscp45) + return _internal_down_dscp45(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgTOSTreatment::set_down_dscp45(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.down_dscp45_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgTOSTreatment.down_dscp45) +} +inline std::string* CMsgTOSTreatment::mutable_down_dscp45() { + std::string* _s = _internal_mutable_down_dscp45(); + // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.down_dscp45) + return _s; +} +inline const std::string& CMsgTOSTreatment::_internal_down_dscp45() const { + return _impl_.down_dscp45_.Get(); +} +inline void CMsgTOSTreatment::_internal_set_down_dscp45(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.down_dscp45_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::_internal_mutable_down_dscp45() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.down_dscp45_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgTOSTreatment::release_down_dscp45() { + // @@protoc_insertion_point(field_release:CMsgTOSTreatment.down_dscp45) + if (!_internal_has_down_dscp45()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.down_dscp45_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.down_dscp45_.IsDefault()) { + _impl_.down_dscp45_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgTOSTreatment::set_allocated_down_dscp45(std::string* down_dscp45) { + if (down_dscp45 != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.down_dscp45_.SetAllocated(down_dscp45, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.down_dscp45_.IsDefault()) { + _impl_.down_dscp45_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.down_dscp45) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientPingSampleRequest + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramClientPingSampleRequest::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleRequest::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramClientPingSampleRequest::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleRequest::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleRequest::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleRequest.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramClientPingSampleRequest::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleRequest::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleRequest.connection_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientPingSampleReply_POP_AltAddress + +// optional string id = 1; +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_id() const { + return _internal_has_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_id() { + _impl_.id_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_id(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) +} +inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) + return _s; +} +inline const std::string& CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_id() const { + return _impl_.id_.Get(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_id(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_mutable_id() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.id_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::release_id() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) + if (!_internal_has_id()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.id_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_allocated_id(std::string* id) { + if (id != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) +} + +// optional uint32 front_ping_ms = 2; +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_front_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_front_ping_ms() const { + return _internal_has_front_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_front_ping_ms() { + _impl_.front_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_front_ping_ms() const { + return _impl_.front_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::front_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.front_ping_ms) + return _internal_front_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_front_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.front_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_front_ping_ms(uint32_t value) { + _internal_set_front_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.front_ping_ms) +} + +// optional uint32 penalty = 3; +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_penalty() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_penalty() const { + return _internal_has_penalty(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_penalty() { + _impl_.penalty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_penalty() const { + return _impl_.penalty_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::penalty() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.penalty) + return _internal_penalty(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_penalty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.penalty_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_penalty(uint32_t value) { + _internal_set_penalty(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.penalty) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientPingSampleReply_POP + +// optional fixed32 pop_id = 1; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_pop_id() const { + return _internal_has_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_pop_id() { + _impl_.pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_pop_id() const { + return _impl_.pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.pop_id) + return _internal_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_pop_id(uint32_t value) { + _internal_set_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.pop_id) +} + +// optional uint32 default_front_ping_ms = 2; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_front_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_front_ping_ms() const { + return _internal_has_default_front_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_front_ping_ms() { + _impl_.default_front_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_front_ping_ms() const { + return _impl_.default_front_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_front_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_front_ping_ms) + return _internal_default_front_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_front_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.default_front_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_front_ping_ms(uint32_t value) { + _internal_set_default_front_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_front_ping_ms) +} + +// optional uint32 cluster_penalty = 4; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_cluster_penalty() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_cluster_penalty() const { + return _internal_has_cluster_penalty(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_cluster_penalty() { + _impl_.cluster_penalty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_cluster_penalty() const { + return _impl_.cluster_penalty_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::cluster_penalty() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.cluster_penalty) + return _internal_cluster_penalty(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_cluster_penalty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.cluster_penalty_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_cluster_penalty(uint32_t value) { + _internal_set_cluster_penalty(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.cluster_penalty) +} + +// repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; +inline int CMsgSteamDatagramClientPingSampleReply_POP::_internal_alt_addresses_size() const { + return _impl_.alt_addresses_.size(); +} +inline int CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses_size() const { + return _internal_alt_addresses_size(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_alt_addresses() { + _impl_.alt_addresses_.Clear(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::mutable_alt_addresses(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) + return _impl_.alt_addresses_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >* +CMsgSteamDatagramClientPingSampleReply_POP::mutable_alt_addresses() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) + return &_impl_.alt_addresses_; +} +inline const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& CMsgSteamDatagramClientPingSampleReply_POP::_internal_alt_addresses(int index) const { + return _impl_.alt_addresses_.Get(index); +} +inline const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) + return _internal_alt_addresses(index); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::_internal_add_alt_addresses() { + return _impl_.alt_addresses_.Add(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::add_alt_addresses() { + ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* _add = _internal_add_alt_addresses(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >& +CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) + return _impl_.alt_addresses_; +} + +// optional uint32 default_e2e_ping_ms = 3; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_e2e_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_e2e_ping_ms() const { + return _internal_has_default_e2e_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_e2e_ping_ms() { + _impl_.default_e2e_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_e2e_ping_ms() const { + return _impl_.default_e2e_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_e2e_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_ping_ms) + return _internal_default_e2e_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_e2e_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.default_e2e_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_e2e_ping_ms(uint32_t value) { + _internal_set_default_e2e_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_ping_ms) +} + +// optional uint32 default_e2e_score = 5; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_e2e_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_e2e_score() const { + return _internal_has_default_e2e_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_e2e_score() { + _impl_.default_e2e_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_e2e_score() const { + return _impl_.default_e2e_score_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_e2e_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_score) + return _internal_default_e2e_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_e2e_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.default_e2e_score_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_e2e_score(uint32_t value) { + _internal_set_default_e2e_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_score) +} + +// optional fixed32 p2p_via_peer_relay_pop_id = 6; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_p2p_via_peer_relay_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_p2p_via_peer_relay_pop_id() const { + return _internal_has_p2p_via_peer_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_p2p_via_peer_relay_pop_id() { + _impl_.p2p_via_peer_relay_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_p2p_via_peer_relay_pop_id() const { + return _impl_.p2p_via_peer_relay_pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::p2p_via_peer_relay_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.p2p_via_peer_relay_pop_id) + return _internal_p2p_via_peer_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_p2p_via_peer_relay_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.p2p_via_peer_relay_pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_p2p_via_peer_relay_pop_id(uint32_t value) { + _internal_set_p2p_via_peer_relay_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.p2p_via_peer_relay_pop_id) +} + +// optional uint32 best_dc_ping_ms = 9; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_ping_ms() const { + return _internal_has_best_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_ping_ms() { + _impl_.best_dc_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_ping_ms() const { + return _impl_.best_dc_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_ping_ms) + return _internal_best_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.best_dc_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_ping_ms(uint32_t value) { + _internal_set_best_dc_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_ping_ms) +} + +// optional uint32 best_dc_score = 10; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_score() const { + return _internal_has_best_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_score() { + _impl_.best_dc_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_score() const { + return _impl_.best_dc_score_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_score) + return _internal_best_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.best_dc_score_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_score(uint32_t value) { + _internal_set_best_dc_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_score) +} + +// optional fixed32 best_dc_via_relay_pop_id = 11; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_via_relay_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_via_relay_pop_id() const { + return _internal_has_best_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_via_relay_pop_id() { + _impl_.best_dc_via_relay_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_via_relay_pop_id() const { + return _impl_.best_dc_via_relay_pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_via_relay_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_via_relay_pop_id) + return _internal_best_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_via_relay_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.best_dc_via_relay_pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_via_relay_pop_id(uint32_t value) { + _internal_set_best_dc_via_relay_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_via_relay_pop_id) +} + +// optional uint32 default_dc_ping_ms = 12; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_ping_ms() const { + return _internal_has_default_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_ping_ms() { + _impl_.default_dc_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_ping_ms() const { + return _impl_.default_dc_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_ping_ms) + return _internal_default_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.default_dc_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_ping_ms(uint32_t value) { + _internal_set_default_dc_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_ping_ms) +} + +// optional uint32 default_dc_score = 13; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_score() const { + return _internal_has_default_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_score() { + _impl_.default_dc_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_score() const { + return _impl_.default_dc_score_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_score) + return _internal_default_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.default_dc_score_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_score(uint32_t value) { + _internal_set_default_dc_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_score) +} + +// optional fixed32 default_dc_via_relay_pop_id = 14; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_via_relay_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_via_relay_pop_id() const { + return _internal_has_default_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_via_relay_pop_id() { + _impl_.default_dc_via_relay_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_via_relay_pop_id() const { + return _impl_.default_dc_via_relay_pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_via_relay_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_via_relay_pop_id) + return _internal_default_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_via_relay_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.default_dc_via_relay_pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_via_relay_pop_id(uint32_t value) { + _internal_set_default_dc_via_relay_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_via_relay_pop_id) +} + +// optional uint32 test_dc_ping_ms = 15; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_ping_ms() const { + return _internal_has_test_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_ping_ms() { + _impl_.test_dc_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_ping_ms() const { + return _impl_.test_dc_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_ping_ms) + return _internal_test_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.test_dc_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_ping_ms(uint32_t value) { + _internal_set_test_dc_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_ping_ms) +} + +// optional uint32 test_dc_score = 16; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_score() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_score() const { + return _internal_has_test_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_score() { + _impl_.test_dc_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_score() const { + return _impl_.test_dc_score_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_score) + return _internal_test_dc_score(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.test_dc_score_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_score(uint32_t value) { + _internal_set_test_dc_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_score) +} + +// optional fixed32 test_dc_via_relay_pop_id = 17; +inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_via_relay_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_via_relay_pop_id() const { + return _internal_has_test_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_via_relay_pop_id() { + _impl_.test_dc_via_relay_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_via_relay_pop_id() const { + return _impl_.test_dc_via_relay_pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_via_relay_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_via_relay_pop_id) + return _internal_test_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_via_relay_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.test_dc_via_relay_pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_via_relay_pop_id(uint32_t value) { + _internal_set_test_dc_via_relay_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_via_relay_pop_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter + +// optional fixed32 data_center_id = 1; +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_data_center_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_data_center_id() const { + return _internal_has_data_center_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_data_center_id() { + _impl_.data_center_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_data_center_id() const { + return _impl_.data_center_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::data_center_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.data_center_id) + return _internal_data_center_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_data_center_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_center_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_data_center_id(uint32_t value) { + _internal_set_data_center_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.data_center_id) +} + +// optional fixed32 best_dc_via_relay_pop_id = 2; +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_best_dc_via_relay_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_best_dc_via_relay_pop_id() const { + return _internal_has_best_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_best_dc_via_relay_pop_id() { + _impl_.best_dc_via_relay_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_best_dc_via_relay_pop_id() const { + return _impl_.best_dc_via_relay_pop_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::best_dc_via_relay_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_via_relay_pop_id) + return _internal_best_dc_via_relay_pop_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_best_dc_via_relay_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.best_dc_via_relay_pop_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_best_dc_via_relay_pop_id(uint32_t value) { + _internal_set_best_dc_via_relay_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_via_relay_pop_id) +} + +// optional uint32 best_dc_ping_ms = 3; +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_best_dc_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_best_dc_ping_ms() const { + return _internal_has_best_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_best_dc_ping_ms() { + _impl_.best_dc_ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_best_dc_ping_ms() const { + return _impl_.best_dc_ping_ms_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::best_dc_ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_ping_ms) + return _internal_best_dc_ping_ms(); +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_best_dc_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.best_dc_ping_ms_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_best_dc_ping_ms(uint32_t value) { + _internal_set_best_dc_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_ping_ms) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientPingSampleReply + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramClientPingSampleReply::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramClientPingSampleReply::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.connection_id) +} + +// optional bool relay_override_active = 5; +inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_relay_override_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply::has_relay_override_active() const { + return _internal_has_relay_override_active(); +} +inline void CMsgSteamDatagramClientPingSampleReply::clear_relay_override_active() { + _impl_.relay_override_active_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgSteamDatagramClientPingSampleReply::_internal_relay_override_active() const { + return _impl_.relay_override_active_; +} +inline bool CMsgSteamDatagramClientPingSampleReply::relay_override_active() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.relay_override_active) + return _internal_relay_override_active(); +} +inline void CMsgSteamDatagramClientPingSampleReply::_internal_set_relay_override_active(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.relay_override_active_ = value; +} +inline void CMsgSteamDatagramClientPingSampleReply::set_relay_override_active(bool value) { + _internal_set_relay_override_active(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.relay_override_active) +} + +// optional .CMsgTOSTreatment tos = 6; +inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_tos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tos_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramClientPingSampleReply::has_tos() const { + return _internal_has_tos(); +} +inline void CMsgSteamDatagramClientPingSampleReply::clear_tos() { + if (_impl_.tos_ != nullptr) _impl_.tos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgTOSTreatment& CMsgSteamDatagramClientPingSampleReply::_internal_tos() const { + const ::CMsgTOSTreatment* p = _impl_.tos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTOSTreatment_default_instance_); +} +inline const ::CMsgTOSTreatment& CMsgSteamDatagramClientPingSampleReply::tos() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.tos) + return _internal_tos(); +} +inline void CMsgSteamDatagramClientPingSampleReply::unsafe_arena_set_allocated_tos( + ::CMsgTOSTreatment* tos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tos_); + } + _impl_.tos_ = tos; + if (tos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientPingSampleReply.tos) +} +inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::release_tos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTOSTreatment* temp = _impl_.tos_; + _impl_.tos_ = 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 ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::unsafe_arena_release_tos() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientPingSampleReply.tos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTOSTreatment* temp = _impl_.tos_; + _impl_.tos_ = nullptr; + return temp; +} +inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::_internal_mutable_tos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.tos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTOSTreatment>(GetArenaForAllocation()); + _impl_.tos_ = p; + } + return _impl_.tos_; +} +inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::mutable_tos() { + ::CMsgTOSTreatment* _msg = _internal_mutable_tos(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.tos) + return _msg; +} +inline void CMsgSteamDatagramClientPingSampleReply::set_allocated_tos(::CMsgTOSTreatment* tos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.tos_; + } + if (tos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tos); + if (message_arena != submessage_arena) { + tos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, tos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tos_ = tos; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientPingSampleReply.tos) +} + +// repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; +inline int CMsgSteamDatagramClientPingSampleReply::_internal_pops_size() const { + return _impl_.pops_.size(); +} +inline int CMsgSteamDatagramClientPingSampleReply::pops_size() const { + return _internal_pops_size(); +} +inline void CMsgSteamDatagramClientPingSampleReply::clear_pops() { + _impl_.pops_.Clear(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::mutable_pops(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.pops) + return _impl_.pops_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >* +CMsgSteamDatagramClientPingSampleReply::mutable_pops() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.pops) + return &_impl_.pops_; +} +inline const ::CMsgSteamDatagramClientPingSampleReply_POP& CMsgSteamDatagramClientPingSampleReply::_internal_pops(int index) const { + return _impl_.pops_.Get(index); +} +inline const ::CMsgSteamDatagramClientPingSampleReply_POP& CMsgSteamDatagramClientPingSampleReply::pops(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.pops) + return _internal_pops(index); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::_internal_add_pops() { + return _impl_.pops_.Add(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::add_pops() { + ::CMsgSteamDatagramClientPingSampleReply_POP* _add = _internal_add_pops(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.pops) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >& +CMsgSteamDatagramClientPingSampleReply::pops() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.pops) + return _impl_.pops_; +} + +// repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; +inline int CMsgSteamDatagramClientPingSampleReply::_internal_legacy_data_centers_size() const { + return _impl_.legacy_data_centers_.size(); +} +inline int CMsgSteamDatagramClientPingSampleReply::legacy_data_centers_size() const { + return _internal_legacy_data_centers_size(); +} +inline void CMsgSteamDatagramClientPingSampleReply::clear_legacy_data_centers() { + _impl_.legacy_data_centers_.Clear(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::mutable_legacy_data_centers(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) + return _impl_.legacy_data_centers_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >* +CMsgSteamDatagramClientPingSampleReply::mutable_legacy_data_centers() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) + return &_impl_.legacy_data_centers_; +} +inline const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& CMsgSteamDatagramClientPingSampleReply::_internal_legacy_data_centers(int index) const { + return _impl_.legacy_data_centers_.Get(index); +} +inline const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& CMsgSteamDatagramClientPingSampleReply::legacy_data_centers(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) + return _internal_legacy_data_centers(index); +} +inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::_internal_add_legacy_data_centers() { + return _impl_.legacy_data_centers_.Add(); +} +inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::add_legacy_data_centers() { + ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* _add = _internal_add_legacy_data_centers(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >& +CMsgSteamDatagramClientPingSampleReply::legacy_data_centers() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) + return _impl_.legacy_data_centers_; +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientSwitchedPrimary_RouterQuality + +// optional uint32 score = 1; +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_score() const { + return _internal_has_score(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_score() { + _impl_.score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_score() const { + return _impl_.score_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.score) + return _internal_score(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.score_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_score(uint32_t value) { + _internal_set_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.score) +} + +// optional uint32 front_ping = 2; +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_front_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_front_ping() const { + return _internal_has_front_ping(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_front_ping() { + _impl_.front_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_front_ping() const { + return _impl_.front_ping_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::front_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.front_ping) + return _internal_front_ping(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_front_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.front_ping_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_front_ping(uint32_t value) { + _internal_set_front_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.front_ping) +} + +// optional uint32 back_ping = 3; +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_back_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_back_ping() const { + return _internal_has_back_ping(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_back_ping() { + _impl_.back_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_back_ping() const { + return _impl_.back_ping_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::back_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.back_ping) + return _internal_back_ping(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_back_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.back_ping_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_back_ping(uint32_t value) { + _internal_set_back_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.back_ping) +} + +// optional uint32 seconds_until_down = 4; +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_seconds_until_down() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_seconds_until_down() const { + return _internal_has_seconds_until_down(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_seconds_until_down() { + _impl_.seconds_until_down_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_seconds_until_down() const { + return _impl_.seconds_until_down_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::seconds_until_down() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.seconds_until_down) + return _internal_seconds_until_down(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_seconds_until_down(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seconds_until_down_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_seconds_until_down(uint32_t value) { + _internal_set_seconds_until_down(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.seconds_until_down) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramClientSwitchedPrimary + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.connection_id) +} + +// optional fixed32 from_ip = 2; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_ip() const { + return _internal_has_from_ip(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_ip() { + _impl_.from_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_ip() const { + return _impl_.from_ip_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_ip) + return _internal_from_ip(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.from_ip_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_ip(uint32_t value) { + _internal_set_from_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_ip) +} + +// optional uint32 from_port = 3; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_port() const { + return _internal_has_from_port(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_port() { + _impl_.from_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_port() const { + return _impl_.from_port_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_port) + return _internal_from_port(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.from_port_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_port(uint32_t value) { + _internal_set_from_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_port) +} + +// optional fixed32 from_router_cluster = 4; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_router_cluster() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_router_cluster() const { + return _internal_has_from_router_cluster(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_router_cluster() { + _impl_.from_router_cluster_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_router_cluster() const { + return _impl_.from_router_cluster_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_router_cluster() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_router_cluster) + return _internal_from_router_cluster(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_router_cluster(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.from_router_cluster_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_router_cluster(uint32_t value) { + _internal_set_from_router_cluster(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_router_cluster) +} + +// optional uint32 from_active_time = 5; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_active_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_active_time() const { + return _internal_has_from_active_time(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_active_time() { + _impl_.from_active_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_active_time() const { + return _impl_.from_active_time_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_active_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_active_time) + return _internal_from_active_time(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_active_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.from_active_time_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_active_time(uint32_t value) { + _internal_set_from_active_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_active_time) +} + +// optional uint32 from_active_packets_recv = 6; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_active_packets_recv() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_active_packets_recv() const { + return _internal_has_from_active_packets_recv(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_active_packets_recv() { + _impl_.from_active_packets_recv_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_active_packets_recv() const { + return _impl_.from_active_packets_recv_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_active_packets_recv() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_active_packets_recv) + return _internal_from_active_packets_recv(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_active_packets_recv(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.from_active_packets_recv_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_active_packets_recv(uint32_t value) { + _internal_set_from_active_packets_recv(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_active_packets_recv) +} + +// optional string from_dropped_reason = 7; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_dropped_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_dropped_reason() const { + return _internal_has_from_dropped_reason(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_dropped_reason() { + _impl_.from_dropped_reason_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramClientSwitchedPrimary::from_dropped_reason() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) + return _internal_from_dropped_reason(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramClientSwitchedPrimary::set_from_dropped_reason(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_dropped_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) +} +inline std::string* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_dropped_reason() { + std::string* _s = _internal_mutable_from_dropped_reason(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) + return _s; +} +inline const std::string& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_dropped_reason() const { + return _impl_.from_dropped_reason_.Get(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_dropped_reason(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_dropped_reason_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_dropped_reason() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.from_dropped_reason_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramClientSwitchedPrimary::release_from_dropped_reason() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) + if (!_internal_has_from_dropped_reason()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.from_dropped_reason_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_dropped_reason_.IsDefault()) { + _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_dropped_reason(std::string* from_dropped_reason) { + if (from_dropped_reason != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.from_dropped_reason_.SetAllocated(from_dropped_reason, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_dropped_reason_.IsDefault()) { + _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) +} + +// optional uint32 gap_ms = 8; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_gap_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_gap_ms() const { + return _internal_has_gap_ms(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_gap_ms() { + _impl_.gap_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_gap_ms() const { + return _impl_.gap_ms_; +} +inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::gap_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.gap_ms) + return _internal_gap_ms(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_gap_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.gap_ms_ = value; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_gap_ms(uint32_t value) { + _internal_set_gap_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.gap_ms) +} + +// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_quality_now() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.from_quality_now_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_quality_now() const { + return _internal_has_from_quality_now(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_quality_now() { + if (_impl_.from_quality_now_ != nullptr) _impl_.from_quality_now_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_quality_now() const { + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.from_quality_now_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::from_quality_now() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) + return _internal_from_quality_now(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_from_quality_now( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.from_quality_now_); + } + _impl_.from_quality_now_ = from_quality_now; + if (from_quality_now) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_from_quality_now() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_now_; + _impl_.from_quality_now_ = 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 ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_from_quality_now() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_now_; + _impl_.from_quality_now_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_quality_now() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.from_quality_now_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); + _impl_.from_quality_now_ = p; + } + return _impl_.from_quality_now_; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_quality_now() { + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_from_quality_now(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) + return _msg; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.from_quality_now_; + } + if (from_quality_now) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(from_quality_now); + if (message_arena != submessage_arena) { + from_quality_now = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, from_quality_now, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.from_quality_now_ = from_quality_now; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) +} + +// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_to_quality_now() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.to_quality_now_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_to_quality_now() const { + return _internal_has_to_quality_now(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_to_quality_now() { + if (_impl_.to_quality_now_ != nullptr) _impl_.to_quality_now_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_to_quality_now() const { + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.to_quality_now_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::to_quality_now() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) + return _internal_to_quality_now(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_to_quality_now( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.to_quality_now_); + } + _impl_.to_quality_now_ = to_quality_now; + if (to_quality_now) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_to_quality_now() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_now_; + _impl_.to_quality_now_ = 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 ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_to_quality_now() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_now_; + _impl_.to_quality_now_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_to_quality_now() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.to_quality_now_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); + _impl_.to_quality_now_ = p; + } + return _impl_.to_quality_now_; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_to_quality_now() { + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_to_quality_now(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) + return _msg; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_to_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.to_quality_now_; + } + if (to_quality_now) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(to_quality_now); + if (message_arena != submessage_arena) { + to_quality_now = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, to_quality_now, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.to_quality_now_ = to_quality_now; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) +} + +// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_quality_then() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.from_quality_then_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_quality_then() const { + return _internal_has_from_quality_then(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_quality_then() { + if (_impl_.from_quality_then_ != nullptr) _impl_.from_quality_then_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_quality_then() const { + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.from_quality_then_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::from_quality_then() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) + return _internal_from_quality_then(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_from_quality_then( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.from_quality_then_); + } + _impl_.from_quality_then_ = from_quality_then; + if (from_quality_then) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_from_quality_then() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_then_; + _impl_.from_quality_then_ = 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 ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_from_quality_then() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_then_; + _impl_.from_quality_then_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_quality_then() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.from_quality_then_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); + _impl_.from_quality_then_ = p; + } + return _impl_.from_quality_then_; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_quality_then() { + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_from_quality_then(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) + return _msg; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.from_quality_then_; + } + if (from_quality_then) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(from_quality_then); + if (message_arena != submessage_arena) { + from_quality_then = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, from_quality_then, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.from_quality_then_ = from_quality_then; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) +} + +// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; +inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_to_quality_then() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.to_quality_then_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramClientSwitchedPrimary::has_to_quality_then() const { + return _internal_has_to_quality_then(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::clear_to_quality_then() { + if (_impl_.to_quality_then_ != nullptr) _impl_.to_quality_then_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_to_quality_then() const { + const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.to_quality_then_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); +} +inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::to_quality_then() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) + return _internal_to_quality_then(); +} +inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_to_quality_then( + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.to_quality_then_); + } + _impl_.to_quality_then_ = to_quality_then; + if (to_quality_then) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_to_quality_then() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_then_; + _impl_.to_quality_then_ = 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 ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_to_quality_then() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_then_; + _impl_.to_quality_then_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_to_quality_then() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.to_quality_then_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); + _impl_.to_quality_then_ = p; + } + return _impl_.to_quality_then_; +} +inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_to_quality_then() { + ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_to_quality_then(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) + return _msg; +} +inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_to_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.to_quality_then_; + } + if (to_quality_then) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(to_quality_then); + if (message_arena != submessage_arena) { + to_quality_then = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, to_quality_then, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.to_quality_then_ = to_quality_then; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectRequest + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramConnectRequest::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramConnectRequest::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectRequest::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.connection_id) +} + +// optional fixed64 my_timestamp = 4; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_my_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_my_timestamp() const { + return _internal_has_my_timestamp(); +} +inline void CMsgSteamDatagramConnectRequest::clear_my_timestamp() { + _impl_.my_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramConnectRequest::_internal_my_timestamp() const { + return _impl_.my_timestamp_; +} +inline uint64_t CMsgSteamDatagramConnectRequest::my_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.my_timestamp) + return _internal_my_timestamp(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_my_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.my_timestamp_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_my_timestamp(uint64_t value) { + _internal_set_my_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.my_timestamp) +} + +// optional uint32 ping_est_ms = 5; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_ping_est_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_ping_est_ms() const { + return _internal_has_ping_est_ms(); +} +inline void CMsgSteamDatagramConnectRequest::clear_ping_est_ms() { + _impl_.ping_est_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectRequest::_internal_ping_est_ms() const { + return _impl_.ping_est_ms_; +} +inline uint32_t CMsgSteamDatagramConnectRequest::ping_est_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.ping_est_ms) + return _internal_ping_est_ms(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_ping_est_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ping_est_ms_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_ping_est_ms(uint32_t value) { + _internal_set_ping_est_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.ping_est_ms) +} + +// optional uint32 virtual_port = 9; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_virtual_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_virtual_port() const { + return _internal_has_virtual_port(); +} +inline void CMsgSteamDatagramConnectRequest::clear_virtual_port() { + _impl_.virtual_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectRequest::_internal_virtual_port() const { + return _impl_.virtual_port_; +} +inline uint32_t CMsgSteamDatagramConnectRequest::virtual_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.virtual_port) + return _internal_virtual_port(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_virtual_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.virtual_port_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_virtual_port(uint32_t value) { + _internal_set_virtual_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.virtual_port) +} + +// optional uint32 gameserver_relay_session_id = 2; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_gameserver_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_gameserver_relay_session_id() const { + return _internal_has_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectRequest::clear_gameserver_relay_session_id() { + _impl_.gameserver_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectRequest::_internal_gameserver_relay_session_id() const { + return _impl_.gameserver_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectRequest::gameserver_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.gameserver_relay_session_id) + return _internal_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_gameserver_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gameserver_relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_gameserver_relay_session_id(uint32_t value) { + _internal_set_gameserver_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.gameserver_relay_session_id) +} + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_crypt() const { + return _internal_has_crypt(); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectRequest::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectRequest::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.crypt) + return _internal_crypt(); +} +inline void CMsgSteamDatagramConnectRequest::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectRequest.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectRequest.crypt) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectRequest.crypt) + return _msg; +} +inline void CMsgSteamDatagramConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectRequest.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 7; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectRequest::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectRequest::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramConnectRequest::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectRequest.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::release_cert() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectRequest.cert) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectRequest.cert) + return _msg; +} +inline void CMsgSteamDatagramConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectRequest.cert) +} + +// optional fixed64 routing_secret = 10; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramConnectRequest::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamDatagramConnectRequest::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramConnectRequest::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.routing_secret) +} + +// optional fixed64 legacy_client_steam_id = 3; +inline bool CMsgSteamDatagramConnectRequest::_internal_has_legacy_client_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectRequest::has_legacy_client_steam_id() const { + return _internal_has_legacy_client_steam_id(); +} +inline void CMsgSteamDatagramConnectRequest::clear_legacy_client_steam_id() { + _impl_.legacy_client_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramConnectRequest::_internal_legacy_client_steam_id() const { + return _impl_.legacy_client_steam_id_; +} +inline uint64_t CMsgSteamDatagramConnectRequest::legacy_client_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.legacy_client_steam_id) + return _internal_legacy_client_steam_id(); +} +inline void CMsgSteamDatagramConnectRequest::_internal_set_legacy_client_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_client_steam_id_ = value; +} +inline void CMsgSteamDatagramConnectRequest::set_legacy_client_steam_id(uint64_t value) { + _internal_set_legacy_client_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.legacy_client_steam_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectOK + +// optional fixed32 client_connection_id = 1; +inline bool CMsgSteamDatagramConnectOK::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramConnectOK::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramConnectOK::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectOK::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramConnectOK::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectOK::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.client_connection_id) +} + +// optional fixed32 server_connection_id = 7; +inline bool CMsgSteamDatagramConnectOK::_internal_has_server_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_server_connection_id() const { + return _internal_has_server_connection_id(); +} +inline void CMsgSteamDatagramConnectOK::clear_server_connection_id() { + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectOK::_internal_server_connection_id() const { + return _impl_.server_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectOK::server_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.server_connection_id) + return _internal_server_connection_id(); +} +inline void CMsgSteamDatagramConnectOK::_internal_set_server_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.server_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectOK::set_server_connection_id(uint32_t value) { + _internal_set_server_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.server_connection_id) +} + +// optional fixed64 your_timestamp = 3; +inline bool CMsgSteamDatagramConnectOK::_internal_has_your_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_your_timestamp() const { + return _internal_has_your_timestamp(); +} +inline void CMsgSteamDatagramConnectOK::clear_your_timestamp() { + _impl_.your_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramConnectOK::_internal_your_timestamp() const { + return _impl_.your_timestamp_; +} +inline uint64_t CMsgSteamDatagramConnectOK::your_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.your_timestamp) + return _internal_your_timestamp(); +} +inline void CMsgSteamDatagramConnectOK::_internal_set_your_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.your_timestamp_ = value; +} +inline void CMsgSteamDatagramConnectOK::set_your_timestamp(uint64_t value) { + _internal_set_your_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.your_timestamp) +} + +// optional uint32 delay_time_usec = 4; +inline bool CMsgSteamDatagramConnectOK::_internal_has_delay_time_usec() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_delay_time_usec() const { + return _internal_has_delay_time_usec(); +} +inline void CMsgSteamDatagramConnectOK::clear_delay_time_usec() { + _impl_.delay_time_usec_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectOK::_internal_delay_time_usec() const { + return _impl_.delay_time_usec_; +} +inline uint32_t CMsgSteamDatagramConnectOK::delay_time_usec() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.delay_time_usec) + return _internal_delay_time_usec(); +} +inline void CMsgSteamDatagramConnectOK::_internal_set_delay_time_usec(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.delay_time_usec_ = value; +} +inline void CMsgSteamDatagramConnectOK::set_delay_time_usec(uint32_t value) { + _internal_set_delay_time_usec(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.delay_time_usec) +} + +// optional uint32 gameserver_relay_session_id = 2; +inline bool CMsgSteamDatagramConnectOK::_internal_has_gameserver_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_gameserver_relay_session_id() const { + return _internal_has_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectOK::clear_gameserver_relay_session_id() { + _impl_.gameserver_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectOK::_internal_gameserver_relay_session_id() const { + return _impl_.gameserver_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectOK::gameserver_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.gameserver_relay_session_id) + return _internal_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectOK::_internal_set_gameserver_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.gameserver_relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectOK::set_gameserver_relay_session_id(uint32_t value) { + _internal_set_gameserver_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.gameserver_relay_session_id) +} + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; +inline bool CMsgSteamDatagramConnectOK::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_crypt() const { + return _internal_has_crypt(); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectOK::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectOK::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.crypt) + return _internal_crypt(); +} +inline void CMsgSteamDatagramConnectOK::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectOK.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectOK.crypt) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectOK.crypt) + return _msg; +} +inline void CMsgSteamDatagramConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectOK.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 6; +inline bool CMsgSteamDatagramConnectOK::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectOK::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectOK::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectOK::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramConnectOK::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectOK.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::release_cert() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectOK.cert) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectOK.cert) + return _msg; +} +inline void CMsgSteamDatagramConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectOK.cert) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PSDRRoutingSummary + +// optional uint32 initial_ping = 1; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping() const { + return _internal_has_initial_ping(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping() { + _impl_.initial_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping() const { + return _impl_.initial_ping_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping) + return _internal_initial_ping(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.initial_ping_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping(uint32_t value) { + _internal_set_initial_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping) +} + +// optional uint32 initial_ping_front_local = 2; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping_front_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping_front_local() const { + return _internal_has_initial_ping_front_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping_front_local() { + _impl_.initial_ping_front_local_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping_front_local() const { + return _impl_.initial_ping_front_local_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping_front_local() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_local) + return _internal_initial_ping_front_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping_front_local(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.initial_ping_front_local_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping_front_local(uint32_t value) { + _internal_set_initial_ping_front_local(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_local) +} + +// optional uint32 initial_ping_front_remote = 3; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping_front_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping_front_remote() const { + return _internal_has_initial_ping_front_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping_front_remote() { + _impl_.initial_ping_front_remote_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping_front_remote() const { + return _impl_.initial_ping_front_remote_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping_front_remote() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_remote) + return _internal_initial_ping_front_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping_front_remote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.initial_ping_front_remote_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping_front_remote(uint32_t value) { + _internal_set_initial_ping_front_remote(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_remote) +} + +// optional uint32 initial_score = 4; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_score() const { + return _internal_has_initial_score(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_score() { + _impl_.initial_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_score() const { + return _impl_.initial_score_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_score) + return _internal_initial_score(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.initial_score_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_score(uint32_t value) { + _internal_set_initial_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_score) +} + +// optional fixed32 initial_pop_local = 5; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_pop_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_pop_local() const { + return _internal_has_initial_pop_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_pop_local() { + _impl_.initial_pop_local_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_pop_local() const { + return _impl_.initial_pop_local_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_pop_local() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_local) + return _internal_initial_pop_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_pop_local(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.initial_pop_local_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_pop_local(uint32_t value) { + _internal_set_initial_pop_local(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_local) +} + +// optional fixed32 initial_pop_remote = 6; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_pop_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_pop_remote() const { + return _internal_has_initial_pop_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_pop_remote() { + _impl_.initial_pop_remote_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_pop_remote() const { + return _impl_.initial_pop_remote_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_pop_remote() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_remote) + return _internal_initial_pop_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_pop_remote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.initial_pop_remote_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_pop_remote(uint32_t value) { + _internal_set_initial_pop_remote(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_remote) +} + +// optional uint32 best_ping = 11; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping() const { + return _internal_has_best_ping(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping() { + _impl_.best_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping() const { + return _impl_.best_ping_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping) + return _internal_best_ping(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.best_ping_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping(uint32_t value) { + _internal_set_best_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping) +} + +// optional uint32 best_ping_front_local = 12; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping_front_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping_front_local() const { + return _internal_has_best_ping_front_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping_front_local() { + _impl_.best_ping_front_local_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping_front_local() const { + return _impl_.best_ping_front_local_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping_front_local() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_local) + return _internal_best_ping_front_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping_front_local(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.best_ping_front_local_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping_front_local(uint32_t value) { + _internal_set_best_ping_front_local(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_local) +} + +// optional uint32 best_ping_front_remote = 13; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping_front_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping_front_remote() const { + return _internal_has_best_ping_front_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping_front_remote() { + _impl_.best_ping_front_remote_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping_front_remote() const { + return _impl_.best_ping_front_remote_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping_front_remote() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_remote) + return _internal_best_ping_front_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping_front_remote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.best_ping_front_remote_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping_front_remote(uint32_t value) { + _internal_set_best_ping_front_remote(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_remote) +} + +// optional uint32 best_score = 14; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_score() const { + return _internal_has_best_score(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_score() { + _impl_.best_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_score() const { + return _impl_.best_score_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_score) + return _internal_best_score(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.best_score_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_score(uint32_t value) { + _internal_set_best_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_score) +} + +// optional fixed32 best_pop_local = 15; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_pop_local() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_pop_local() const { + return _internal_has_best_pop_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_pop_local() { + _impl_.best_pop_local_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_pop_local() const { + return _impl_.best_pop_local_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_pop_local() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_local) + return _internal_best_pop_local(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_pop_local(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.best_pop_local_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_pop_local(uint32_t value) { + _internal_set_best_pop_local(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_local) +} + +// optional fixed32 best_pop_remote = 16; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_pop_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_pop_remote() const { + return _internal_has_best_pop_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_pop_remote() { + _impl_.best_pop_remote_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_pop_remote() const { + return _impl_.best_pop_remote_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_pop_remote() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_remote) + return _internal_best_pop_remote(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_pop_remote(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.best_pop_remote_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_pop_remote(uint32_t value) { + _internal_set_best_pop_remote(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_remote) +} + +// optional uint32 best_time = 17; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_time() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_time() const { + return _internal_has_best_time(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_time() { + _impl_.best_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_time() const { + return _impl_.best_time_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_time) + return _internal_best_time(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.best_time_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_time(uint32_t value) { + _internal_set_best_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_time) +} + +// optional uint32 negotiation_ms = 7; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_negotiation_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_negotiation_ms() const { + return _internal_has_negotiation_ms(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_negotiation_ms() { + _impl_.negotiation_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_negotiation_ms() const { + return _impl_.negotiation_ms_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::negotiation_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.negotiation_ms) + return _internal_negotiation_ms(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_negotiation_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.negotiation_ms_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_negotiation_ms(uint32_t value) { + _internal_set_negotiation_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.negotiation_ms) +} + +// optional uint32 selected_seconds = 8; +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_selected_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_selected_seconds() const { + return _internal_has_selected_seconds(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_selected_seconds() { + _impl_.selected_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_selected_seconds() const { + return _impl_.selected_seconds_; +} +inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::selected_seconds() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.selected_seconds) + return _internal_selected_seconds(); +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_selected_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.selected_seconds_ = value; +} +inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_selected_seconds(uint32_t value) { + _internal_set_selected_seconds(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.selected_seconds) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PRoutingSummary + +// optional .CMsgSteamNetworkingICESessionSummary ice = 2; +inline bool CMsgSteamDatagramP2PRoutingSummary::_internal_has_ice() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ice_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramP2PRoutingSummary::has_ice() const { + return _internal_has_ice(); +} +inline const ::CMsgSteamNetworkingICESessionSummary& CMsgSteamDatagramP2PRoutingSummary::_internal_ice() const { + const ::CMsgSteamNetworkingICESessionSummary* p = _impl_.ice_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingICESessionSummary_default_instance_); +} +inline const ::CMsgSteamNetworkingICESessionSummary& CMsgSteamDatagramP2PRoutingSummary::ice() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutingSummary.ice) + return _internal_ice(); +} +inline void CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_set_allocated_ice( + ::CMsgSteamNetworkingICESessionSummary* ice) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); + } + _impl_.ice_ = ice; + if (ice) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PRoutingSummary.ice) +} +inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::release_ice() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamNetworkingICESessionSummary* temp = _impl_.ice_; + _impl_.ice_ = 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 ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_release_ice() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutingSummary.ice) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamNetworkingICESessionSummary* temp = _impl_.ice_; + _impl_.ice_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::_internal_mutable_ice() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.ice_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingICESessionSummary>(GetArenaForAllocation()); + _impl_.ice_ = p; + } + return _impl_.ice_; +} +inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::mutable_ice() { + ::CMsgSteamNetworkingICESessionSummary* _msg = _internal_mutable_ice(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutingSummary.ice) + return _msg; +} +inline void CMsgSteamDatagramP2PRoutingSummary::set_allocated_ice(::CMsgSteamNetworkingICESessionSummary* ice) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); + } + if (ice) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ice)); + if (message_arena != submessage_arena) { + ice = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ice, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ice_ = ice; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutingSummary.ice) +} + +// optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; +inline bool CMsgSteamDatagramP2PRoutingSummary::_internal_has_sdr() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.sdr_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramP2PRoutingSummary::has_sdr() const { + return _internal_has_sdr(); +} +inline void CMsgSteamDatagramP2PRoutingSummary::clear_sdr() { + if (_impl_.sdr_ != nullptr) _impl_.sdr_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSteamNetworkingP2PSDRRoutingSummary& CMsgSteamDatagramP2PRoutingSummary::_internal_sdr() const { + const ::CMsgSteamNetworkingP2PSDRRoutingSummary* p = _impl_.sdr_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_); +} +inline const ::CMsgSteamNetworkingP2PSDRRoutingSummary& CMsgSteamDatagramP2PRoutingSummary::sdr() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutingSummary.sdr) + return _internal_sdr(); +} +inline void CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_set_allocated_sdr( + ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sdr_); + } + _impl_.sdr_ = sdr; + if (sdr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PRoutingSummary.sdr) +} +inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::release_sdr() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamNetworkingP2PSDRRoutingSummary* temp = _impl_.sdr_; + _impl_.sdr_ = 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 ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_release_sdr() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutingSummary.sdr) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamNetworkingP2PSDRRoutingSummary* temp = _impl_.sdr_; + _impl_.sdr_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::_internal_mutable_sdr() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.sdr_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PSDRRoutingSummary>(GetArenaForAllocation()); + _impl_.sdr_ = p; + } + return _impl_.sdr_; +} +inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::mutable_sdr() { + ::CMsgSteamNetworkingP2PSDRRoutingSummary* _msg = _internal_mutable_sdr(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutingSummary.sdr) + return _msg; +} +inline void CMsgSteamDatagramP2PRoutingSummary::set_allocated_sdr(::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.sdr_; + } + if (sdr) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sdr); + if (message_arena != submessage_arena) { + sdr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sdr, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.sdr_ = sdr; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutingSummary.sdr) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionClosed + +// optional fixed32 to_connection_id = 7; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_to_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_to_connection_id() const { + return _internal_has_to_connection_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_to_connection_id() { + _impl_.to_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_to_connection_id() const { + return _impl_.to_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::to_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.to_connection_id) + return _internal_to_connection_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_to_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.to_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_to_connection_id(uint32_t value) { + _internal_set_to_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.to_connection_id) +} + +// optional fixed32 from_connection_id = 8; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_connection_id) +} + +// optional string from_identity_string = 15; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_from_identity_string() const { + return _internal_has_from_identity_string(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_from_identity_string() { + _impl_.from_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::from_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_identity_string) + return _internal_from_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionClosed::set_from_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_identity_string) +} +inline std::string* CMsgSteamDatagramConnectionClosed::mutable_from_identity_string() { + std::string* _s = _internal_mutable_from_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.from_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_from_identity_string() const { + return _impl_.from_identity_string_.Get(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_from_identity_string() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.from_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::release_from_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.from_identity_string) + if (!_internal_has_from_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.from_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_string_.IsDefault()) { + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_from_identity_string(std::string* from_identity_string) { + if (from_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.from_identity_string_.SetAllocated(from_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_string_.IsDefault()) { + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.from_identity_string) +} + +// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_from_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.legacy_from_identity_binary_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_legacy_from_identity_binary() const { + return _internal_has_legacy_from_identity_binary(); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramConnectionClosed::_internal_legacy_from_identity_binary() const { + const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_from_identity_binary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramConnectionClosed::legacy_from_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) + return _internal_legacy_from_identity_binary(); +} +inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_legacy_from_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_from_identity_binary_); + } + _impl_.legacy_from_identity_binary_ = legacy_from_identity_binary; + if (legacy_from_identity_binary) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::release_legacy_from_identity_binary() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_from_identity_binary_; + _impl_.legacy_from_identity_binary_ = 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 ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_legacy_from_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_from_identity_binary_; + _impl_.legacy_from_identity_binary_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::_internal_mutable_legacy_from_identity_binary() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.legacy_from_identity_binary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); + _impl_.legacy_from_identity_binary_ = p; + } + return _impl_.legacy_from_identity_binary_; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::mutable_legacy_from_identity_binary() { + ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_from_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) + return _msg; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_legacy_from_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_from_identity_binary_); + } + if (legacy_from_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_from_identity_binary)); + if (message_arena != submessage_arena) { + legacy_from_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, legacy_from_identity_binary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.legacy_from_identity_binary_ = legacy_from_identity_binary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) +} + +// optional fixed64 legacy_from_steam_id = 3; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_from_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_legacy_from_steam_id() const { + return _internal_has_legacy_from_steam_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_legacy_from_steam_id() { + _impl_.legacy_from_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CMsgSteamDatagramConnectionClosed::_internal_legacy_from_steam_id() const { + return _impl_.legacy_from_steam_id_; +} +inline uint64_t CMsgSteamDatagramConnectionClosed::legacy_from_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_from_steam_id) + return _internal_legacy_from_steam_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_legacy_from_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.legacy_from_steam_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_legacy_from_steam_id(uint64_t value) { + _internal_set_legacy_from_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.legacy_from_steam_id) +} + +// optional uint32 legacy_gameserver_relay_session_id = 2; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_gameserver_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_legacy_gameserver_relay_session_id() const { + return _internal_has_legacy_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_legacy_gameserver_relay_session_id() { + _impl_.legacy_gameserver_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_legacy_gameserver_relay_session_id() const { + return _impl_.legacy_gameserver_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::legacy_gameserver_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_gameserver_relay_session_id) + return _internal_legacy_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_legacy_gameserver_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.legacy_gameserver_relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_legacy_gameserver_relay_session_id(uint32_t value) { + _internal_set_legacy_gameserver_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.legacy_gameserver_relay_session_id) +} + +// optional fixed32 to_relay_session_id = 9; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_to_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_to_relay_session_id() const { + return _internal_has_to_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_to_relay_session_id() { + _impl_.to_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_to_relay_session_id() const { + return _impl_.to_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::to_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.to_relay_session_id) + return _internal_to_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_to_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.to_relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_to_relay_session_id(uint32_t value) { + _internal_set_to_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.to_relay_session_id) +} + +// optional fixed32 from_relay_session_id = 10; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_from_relay_session_id() const { + return _internal_has_from_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_from_relay_session_id() { + _impl_.from_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_from_relay_session_id() const { + return _impl_.from_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::from_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_relay_session_id) + return _internal_from_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.from_relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_from_relay_session_id(uint32_t value) { + _internal_set_from_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_relay_session_id) +} + +// optional bytes forward_target_relay_routing_token = 11; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_forward_target_relay_routing_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_forward_target_relay_routing_token() const { + return _internal_has_forward_target_relay_routing_token(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_forward_target_relay_routing_token() { + _impl_.forward_target_relay_routing_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::forward_target_relay_routing_token() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) + return _internal_forward_target_relay_routing_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionClosed::set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.forward_target_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) +} +inline std::string* CMsgSteamDatagramConnectionClosed::mutable_forward_target_relay_routing_token() { + std::string* _s = _internal_mutable_forward_target_relay_routing_token(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_forward_target_relay_routing_token() const { + return _impl_.forward_target_relay_routing_token_.Get(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_forward_target_relay_routing_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.forward_target_relay_routing_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_forward_target_relay_routing_token() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.forward_target_relay_routing_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::release_forward_target_relay_routing_token() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) + if (!_internal_has_forward_target_relay_routing_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.forward_target_relay_routing_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.forward_target_relay_routing_token_.IsDefault()) { + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token) { + if (forward_target_relay_routing_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.forward_target_relay_routing_token_.SetAllocated(forward_target_relay_routing_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.forward_target_relay_routing_token_.IsDefault()) { + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) +} + +// optional uint32 forward_target_revision = 12; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_forward_target_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_forward_target_revision() const { + return _internal_has_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_forward_target_revision() { + _impl_.forward_target_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_forward_target_revision() const { + return _impl_.forward_target_revision_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::forward_target_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.forward_target_revision) + return _internal_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_forward_target_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.forward_target_revision_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_forward_target_revision(uint32_t value) { + _internal_set_forward_target_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.forward_target_revision) +} + +// optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_relay_mode() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_relay_mode() const { + return _internal_has_relay_mode(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_relay_mode() { + _impl_.relay_mode_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline ::CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::_internal_relay_mode() const { + return static_cast< ::CMsgSteamDatagramConnectionClosed_ERelayMode >(_impl_.relay_mode_); +} +inline ::CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::relay_mode() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.relay_mode) + return _internal_relay_mode(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value) { + assert(::CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.relay_mode_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value) { + _internal_set_relay_mode(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.relay_mode) +} + +// optional string debug = 5; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_debug() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_debug() const { + return _internal_has_debug(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_debug() { + _impl_.debug_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::debug() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.debug) + return _internal_debug(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.debug) +} +inline std::string* CMsgSteamDatagramConnectionClosed::mutable_debug() { + std::string* _s = _internal_mutable_debug(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.debug) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_debug() const { + return _impl_.debug_.Get(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_debug(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_debug() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.debug_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionClosed::release_debug() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.debug) + if (!_internal_has_debug()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.debug_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_debug(std::string* debug) { + if (debug != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.debug) +} + +// optional uint32 reason_code = 6; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_reason_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_reason_code() const { + return _internal_has_reason_code(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_reason_code() { + _impl_.reason_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_reason_code() const { + return _impl_.reason_code_; +} +inline uint32_t CMsgSteamDatagramConnectionClosed::reason_code() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.reason_code) + return _internal_reason_code(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_reason_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.reason_code_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_reason_code(uint32_t value) { + _internal_set_reason_code(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.reason_code) +} + +// optional fixed64 routing_secret = 14; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint64_t CMsgSteamDatagramConnectionClosed::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramConnectionClosed::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.routing_secret) +} + +// optional bool not_primary_session = 16; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_not_primary_session() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_not_primary_session() const { + return _internal_has_not_primary_session(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_not_primary_session() { + _impl_.not_primary_session_ = false; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline bool CMsgSteamDatagramConnectionClosed::_internal_not_primary_session() const { + return _impl_.not_primary_session_; +} +inline bool CMsgSteamDatagramConnectionClosed::not_primary_session() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.not_primary_session) + return _internal_not_primary_session(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_not_primary_session(bool value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.not_primary_session_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_not_primary_session(bool value) { + _internal_set_not_primary_session(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.not_primary_session) +} + +// optional bool not_primary_transport = 19; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_not_primary_transport() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_not_primary_transport() const { + return _internal_has_not_primary_transport(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_not_primary_transport() { + _impl_.not_primary_transport_ = false; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline bool CMsgSteamDatagramConnectionClosed::_internal_not_primary_transport() const { + return _impl_.not_primary_transport_; +} +inline bool CMsgSteamDatagramConnectionClosed::not_primary_transport() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.not_primary_transport) + return _internal_not_primary_transport(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_not_primary_transport(bool value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.not_primary_transport_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_not_primary_transport(bool value) { + _internal_set_not_primary_transport(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.not_primary_transport) +} + +// optional bool relay_override_active = 22; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_relay_override_active() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_relay_override_active() const { + return _internal_has_relay_override_active(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_relay_override_active() { + _impl_.relay_override_active_ = false; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline bool CMsgSteamDatagramConnectionClosed::_internal_relay_override_active() const { + return _impl_.relay_override_active_; +} +inline bool CMsgSteamDatagramConnectionClosed::relay_override_active() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.relay_override_active) + return _internal_relay_override_active(); +} +inline void CMsgSteamDatagramConnectionClosed::_internal_set_relay_override_active(bool value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.relay_override_active_ = value; +} +inline void CMsgSteamDatagramConnectionClosed::set_relay_override_active(bool value) { + _internal_set_relay_override_active(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.relay_override_active) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.quality_relay) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.quality_e2e) +} + +// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; +inline bool CMsgSteamDatagramConnectionClosed::_internal_has_p2p_routing_summary() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionClosed::has_p2p_routing_summary() const { + return _internal_has_p2p_routing_summary(); +} +inline void CMsgSteamDatagramConnectionClosed::clear_p2p_routing_summary() { + if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionClosed::_internal_p2p_routing_summary() const { + const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionClosed::p2p_routing_summary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) + return _internal_p2p_routing_summary(); +} +inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + if (p2p_routing_summary) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::release_p2p_routing_summary() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = 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 ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_p2p_routing_summary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::_internal_mutable_p2p_routing_summary() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.p2p_routing_summary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); + _impl_.p2p_routing_summary_ = p; + } + return _impl_.p2p_routing_summary_; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::mutable_p2p_routing_summary() { + ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) + return _msg; +} +inline void CMsgSteamDatagramConnectionClosed::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.p2p_routing_summary_; + } + if (p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); + if (message_arena != submessage_arena) { + p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, p2p_routing_summary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramNoConnection + +// optional fixed32 to_connection_id = 5; +inline bool CMsgSteamDatagramNoConnection::_internal_has_to_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_to_connection_id() const { + return _internal_has_to_connection_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_to_connection_id() { + _impl_.to_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_to_connection_id() const { + return _impl_.to_connection_id_; +} +inline uint32_t CMsgSteamDatagramNoConnection::to_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.to_connection_id) + return _internal_to_connection_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_to_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.to_connection_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_to_connection_id(uint32_t value) { + _internal_set_to_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.to_connection_id) +} + +// optional fixed32 from_connection_id = 6; +inline bool CMsgSteamDatagramNoConnection::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamDatagramNoConnection::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_connection_id) +} + +// optional uint32 legacy_gameserver_relay_session_id = 2; +inline bool CMsgSteamDatagramNoConnection::_internal_has_legacy_gameserver_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_legacy_gameserver_relay_session_id() const { + return _internal_has_legacy_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_legacy_gameserver_relay_session_id() { + _impl_.legacy_gameserver_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_legacy_gameserver_relay_session_id() const { + return _impl_.legacy_gameserver_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramNoConnection::legacy_gameserver_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.legacy_gameserver_relay_session_id) + return _internal_legacy_gameserver_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_legacy_gameserver_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_gameserver_relay_session_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_legacy_gameserver_relay_session_id(uint32_t value) { + _internal_set_legacy_gameserver_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.legacy_gameserver_relay_session_id) +} + +// optional fixed32 to_relay_session_id = 9; +inline bool CMsgSteamDatagramNoConnection::_internal_has_to_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_to_relay_session_id() const { + return _internal_has_to_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_to_relay_session_id() { + _impl_.to_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_to_relay_session_id() const { + return _impl_.to_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramNoConnection::to_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.to_relay_session_id) + return _internal_to_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_to_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.to_relay_session_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_to_relay_session_id(uint32_t value) { + _internal_set_to_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.to_relay_session_id) +} + +// optional fixed32 from_relay_session_id = 10; +inline bool CMsgSteamDatagramNoConnection::_internal_has_from_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_from_relay_session_id() const { + return _internal_has_from_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_from_relay_session_id() { + _impl_.from_relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_from_relay_session_id() const { + return _impl_.from_relay_session_id_; +} +inline uint32_t CMsgSteamDatagramNoConnection::from_relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_relay_session_id) + return _internal_from_relay_session_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_from_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.from_relay_session_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_from_relay_session_id(uint32_t value) { + _internal_set_from_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_relay_session_id) +} + +// optional string from_identity_string = 7; +inline bool CMsgSteamDatagramNoConnection::_internal_has_from_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_from_identity_string() const { + return _internal_has_from_identity_string(); +} +inline void CMsgSteamDatagramNoConnection::clear_from_identity_string() { + _impl_.from_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramNoConnection::from_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_identity_string) + return _internal_from_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramNoConnection::set_from_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_identity_string) +} +inline std::string* CMsgSteamDatagramNoConnection::mutable_from_identity_string() { + std::string* _s = _internal_mutable_from_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.from_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramNoConnection::_internal_from_identity_string() const { + return _impl_.from_identity_string_.Get(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_from_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramNoConnection::_internal_mutable_from_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.from_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramNoConnection::release_from_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.from_identity_string) + if (!_internal_has_from_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.from_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_string_.IsDefault()) { + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramNoConnection::set_allocated_from_identity_string(std::string* from_identity_string) { + if (from_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.from_identity_string_.SetAllocated(from_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_string_.IsDefault()) { + _impl_.from_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.from_identity_string) +} + +// optional fixed64 legacy_from_steam_id = 3; +inline bool CMsgSteamDatagramNoConnection::_internal_has_legacy_from_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_legacy_from_steam_id() const { + return _internal_has_legacy_from_steam_id(); +} +inline void CMsgSteamDatagramNoConnection::clear_legacy_from_steam_id() { + _impl_.legacy_from_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramNoConnection::_internal_legacy_from_steam_id() const { + return _impl_.legacy_from_steam_id_; +} +inline uint64_t CMsgSteamDatagramNoConnection::legacy_from_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.legacy_from_steam_id) + return _internal_legacy_from_steam_id(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_legacy_from_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_from_steam_id_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_legacy_from_steam_id(uint64_t value) { + _internal_set_legacy_from_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.legacy_from_steam_id) +} + +// optional bool end_to_end = 4; +inline bool CMsgSteamDatagramNoConnection::_internal_has_end_to_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_end_to_end() const { + return _internal_has_end_to_end(); +} +inline void CMsgSteamDatagramNoConnection::clear_end_to_end() { + _impl_.end_to_end_ = false; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline bool CMsgSteamDatagramNoConnection::_internal_end_to_end() const { + return _impl_.end_to_end_; +} +inline bool CMsgSteamDatagramNoConnection::end_to_end() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.end_to_end) + return _internal_end_to_end(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_end_to_end(bool value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.end_to_end_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_end_to_end(bool value) { + _internal_set_end_to_end(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.end_to_end) +} + +// optional bool not_primary_session = 12; +inline bool CMsgSteamDatagramNoConnection::_internal_has_not_primary_session() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_not_primary_session() const { + return _internal_has_not_primary_session(); +} +inline void CMsgSteamDatagramNoConnection::clear_not_primary_session() { + _impl_.not_primary_session_ = false; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline bool CMsgSteamDatagramNoConnection::_internal_not_primary_session() const { + return _impl_.not_primary_session_; +} +inline bool CMsgSteamDatagramNoConnection::not_primary_session() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.not_primary_session) + return _internal_not_primary_session(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_not_primary_session(bool value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.not_primary_session_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_not_primary_session(bool value) { + _internal_set_not_primary_session(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.not_primary_session) +} + +// optional bool not_primary_transport = 15; +inline bool CMsgSteamDatagramNoConnection::_internal_has_not_primary_transport() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_not_primary_transport() const { + return _internal_has_not_primary_transport(); +} +inline void CMsgSteamDatagramNoConnection::clear_not_primary_transport() { + _impl_.not_primary_transport_ = false; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline bool CMsgSteamDatagramNoConnection::_internal_not_primary_transport() const { + return _impl_.not_primary_transport_; +} +inline bool CMsgSteamDatagramNoConnection::not_primary_transport() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.not_primary_transport) + return _internal_not_primary_transport(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_not_primary_transport(bool value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.not_primary_transport_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_not_primary_transport(bool value) { + _internal_set_not_primary_transport(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.not_primary_transport) +} + +// optional bool relay_override_active = 17; +inline bool CMsgSteamDatagramNoConnection::_internal_has_relay_override_active() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_relay_override_active() const { + return _internal_has_relay_override_active(); +} +inline void CMsgSteamDatagramNoConnection::clear_relay_override_active() { + _impl_.relay_override_active_ = false; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline bool CMsgSteamDatagramNoConnection::_internal_relay_override_active() const { + return _impl_.relay_override_active_; +} +inline bool CMsgSteamDatagramNoConnection::relay_override_active() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.relay_override_active) + return _internal_relay_override_active(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_relay_override_active(bool value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.relay_override_active_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_relay_override_active(bool value) { + _internal_set_relay_override_active(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.relay_override_active) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; +inline bool CMsgSteamDatagramNoConnection::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.quality_relay) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramNoConnection::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; +inline bool CMsgSteamDatagramNoConnection::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramNoConnection::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.quality_e2e) +} + +// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; +inline bool CMsgSteamDatagramNoConnection::_internal_has_p2p_routing_summary() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_p2p_routing_summary() const { + return _internal_has_p2p_routing_summary(); +} +inline void CMsgSteamDatagramNoConnection::clear_p2p_routing_summary() { + if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramNoConnection::_internal_p2p_routing_summary() const { + const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramNoConnection::p2p_routing_summary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.p2p_routing_summary) + return _internal_p2p_routing_summary(); +} +inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + if (p2p_routing_summary) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.p2p_routing_summary) +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::release_p2p_routing_summary() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = 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 ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::unsafe_arena_release_p2p_routing_summary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.p2p_routing_summary) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::_internal_mutable_p2p_routing_summary() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.p2p_routing_summary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); + _impl_.p2p_routing_summary_ = p; + } + return _impl_.p2p_routing_summary_; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::mutable_p2p_routing_summary() { + ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.p2p_routing_summary) + return _msg; +} +inline void CMsgSteamDatagramNoConnection::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.p2p_routing_summary_; + } + if (p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); + if (message_arena != submessage_arena) { + p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, p2p_routing_summary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.p2p_routing_summary) +} + +// optional fixed64 routing_secret = 11; +inline bool CMsgSteamDatagramNoConnection::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramNoConnection::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t CMsgSteamDatagramNoConnection::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramNoConnection::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.routing_secret) +} + +// optional fixed32 dummy_pad = 1023; +inline bool CMsgSteamDatagramNoConnection::_internal_has_dummy_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSteamDatagramNoConnection::has_dummy_pad() const { + return _internal_has_dummy_pad(); +} +inline void CMsgSteamDatagramNoConnection::clear_dummy_pad() { + _impl_.dummy_pad_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSteamDatagramNoConnection::_internal_dummy_pad() const { + return _impl_.dummy_pad_; +} +inline uint32_t CMsgSteamDatagramNoConnection::dummy_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.dummy_pad) + return _internal_dummy_pad(); +} +inline void CMsgSteamDatagramNoConnection::_internal_set_dummy_pad(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.dummy_pad_ = value; +} +inline void CMsgSteamDatagramNoConnection::set_dummy_pad(uint32_t value) { + _internal_set_dummy_pad(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.dummy_pad) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameserverSessionRequest + +// optional bytes ticket = 1; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_ticket() const { + return _internal_has_ticket(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_ticket() { + _impl_.ticket_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::ticket() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.ticket) + return _internal_ticket(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionRequest::set_ticket(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.ticket) +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_ticket() { + std::string* _s = _internal_mutable_ticket(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.ticket) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_ticket() const { + return _impl_.ticket_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_ticket(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ticket_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_ticket() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.ticket_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_ticket() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.ticket) + if (!_internal_has_ticket()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.ticket_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_.IsDefault()) { + _impl_.ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_ticket(std::string* ticket) { + if (ticket != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ticket_.SetAllocated(ticket, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ticket_.IsDefault()) { + _impl_.ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.ticket) +} + +// optional fixed32 challenge_time = 3; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_challenge_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_challenge_time() const { + return _internal_has_challenge_time(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_challenge_time() { + _impl_.challenge_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_challenge_time() const { + return _impl_.challenge_time_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::challenge_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.challenge_time) + return _internal_challenge_time(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_challenge_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.challenge_time_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_challenge_time(uint32_t value) { + _internal_set_challenge_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.challenge_time) +} + +// optional fixed64 challenge = 4; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramGameserverSessionRequest::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamDatagramGameserverSessionRequest::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.challenge) + return _internal_challenge(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.challenge_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.challenge) +} + +// optional fixed32 client_connection_id = 5; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.client_connection_id) +} + +// optional fixed32 server_connection_id = 8; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_server_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_server_connection_id() const { + return _internal_has_server_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_server_connection_id() { + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_server_connection_id() const { + return _impl_.server_connection_id_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::server_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.server_connection_id) + return _internal_server_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_server_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.server_connection_id_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_server_connection_id(uint32_t value) { + _internal_set_server_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.server_connection_id) +} + +// optional uint64 network_config_version = 6; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_network_config_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_network_config_version() const { + return _internal_has_network_config_version(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_network_config_version() { + _impl_.network_config_version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamDatagramGameserverSessionRequest::_internal_network_config_version() const { + return _impl_.network_config_version_; +} +inline uint64_t CMsgSteamDatagramGameserverSessionRequest::network_config_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.network_config_version) + return _internal_network_config_version(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_network_config_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.network_config_version_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_network_config_version(uint64_t value) { + _internal_set_network_config_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.network_config_version) +} + +// optional uint32 protocol_version = 7; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionRequest::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.protocol_version) +} + +// optional string platform = 9; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_platform() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_platform() const { + return _internal_has_platform(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_platform() { + _impl_.platform_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::platform() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.platform) + return _internal_platform(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionRequest::set_platform(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.platform_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.platform) +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_platform() { + std::string* _s = _internal_mutable_platform(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.platform) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_platform() const { + return _impl_.platform_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_platform(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.platform_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_platform() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.platform_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_platform() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.platform) + if (!_internal_has_platform()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.platform_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.platform_.IsDefault()) { + _impl_.platform_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_platform(std::string* platform) { + if (platform != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _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:CMsgSteamDatagramGameserverSessionRequest.platform) +} + +// optional string build = 10; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_build() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_build() const { + return _internal_has_build(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_build() { + _impl_.build_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::build() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.build) + return _internal_build(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionRequest::set_build(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.build) +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_build() { + std::string* _s = _internal_mutable_build(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.build) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_build() const { + return _impl_.build_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_build(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.build_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_build() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.build_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_build() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.build) + if (!_internal_has_build()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.build_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_build(std::string* build) { + if (build != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.build_.SetAllocated(build, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.build) +} + +// optional string dev_gameserver_identity = 100; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_dev_gameserver_identity() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_dev_gameserver_identity() const { + return _internal_has_dev_gameserver_identity(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::clear_dev_gameserver_identity() { + _impl_.dev_gameserver_identity_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::dev_gameserver_identity() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) + return _internal_dev_gameserver_identity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionRequest::set_dev_gameserver_identity(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.dev_gameserver_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_dev_gameserver_identity() { + std::string* _s = _internal_mutable_dev_gameserver_identity(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_dev_gameserver_identity() const { + return _impl_.dev_gameserver_identity_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_dev_gameserver_identity(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.dev_gameserver_identity_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_dev_gameserver_identity() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.dev_gameserver_identity_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_dev_gameserver_identity() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) + if (!_internal_has_dev_gameserver_identity()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.dev_gameserver_identity_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dev_gameserver_identity_.IsDefault()) { + _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_dev_gameserver_identity(std::string* dev_gameserver_identity) { + if (dev_gameserver_identity != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.dev_gameserver_identity_.SetAllocated(dev_gameserver_identity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dev_gameserver_identity_.IsDefault()) { + _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) +} + +// optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; +inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_dev_client_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dev_client_cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramGameserverSessionRequest::has_dev_client_cert() const { + return _internal_has_dev_client_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverSessionRequest::_internal_dev_client_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.dev_client_cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverSessionRequest::dev_client_cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) + return _internal_dev_client_cert(); +} +inline void CMsgSteamDatagramGameserverSessionRequest::unsafe_arena_set_allocated_dev_client_cert( + ::CMsgSteamDatagramCertificateSigned* dev_client_cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dev_client_cert_); + } + _impl_.dev_client_cert_ = dev_client_cert; + if (dev_client_cert) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::release_dev_client_cert() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.dev_client_cert_; + _impl_.dev_client_cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::unsafe_arena_release_dev_client_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.dev_client_cert_; + _impl_.dev_client_cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_dev_client_cert() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.dev_client_cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.dev_client_cert_ = p; + } + return _impl_.dev_client_cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::mutable_dev_client_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_dev_client_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) + return _msg; +} +inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_dev_client_cert(::CMsgSteamDatagramCertificateSigned* dev_client_cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dev_client_cert_); + } + if (dev_client_cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dev_client_cert)); + if (message_arena != submessage_arena) { + dev_client_cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dev_client_cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.dev_client_cert_ = dev_client_cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramGameserverSessionEstablished + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.connection_id) +} + +// optional string gameserver_identity_string = 2; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_gameserver_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_gameserver_identity_string() const { + return _internal_has_gameserver_identity_string(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_gameserver_identity_string() { + _impl_.gameserver_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::gameserver_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) + return _internal_gameserver_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionEstablished::set_gameserver_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::mutable_gameserver_identity_string() { + std::string* _s = _internal_mutable_gameserver_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::_internal_gameserver_identity_string() const { + return _impl_.gameserver_identity_string_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_gameserver_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.gameserver_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::_internal_mutable_gameserver_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.gameserver_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::release_gameserver_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) + if (!_internal_has_gameserver_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.gameserver_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_identity_string_.IsDefault()) { + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_allocated_gameserver_identity_string(std::string* gameserver_identity_string) { + if (gameserver_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.gameserver_identity_string_.SetAllocated(gameserver_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameserver_identity_string_.IsDefault()) { + _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) +} + +// optional uint32 seconds_until_shutdown = 4; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.seconds_until_shutdown) +} + +// optional uint32 seq_num_r2c = 6; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_seq_num_r2c() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_seq_num_r2c() const { + return _internal_has_seq_num_r2c(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_seq_num_r2c() { + _impl_.seq_num_r2c_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_seq_num_r2c() const { + return _impl_.seq_num_r2c_; +} +inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::seq_num_r2c() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.seq_num_r2c) + return _internal_seq_num_r2c(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_seq_num_r2c(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.seq_num_r2c_ = value; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_seq_num_r2c(uint32_t value) { + _internal_set_seq_num_r2c(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.seq_num_r2c) +} + +// optional bytes dummy_legacy_identity_binary = 7; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_dummy_legacy_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_dummy_legacy_identity_binary() const { + return _internal_has_dummy_legacy_identity_binary(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_dummy_legacy_identity_binary() { + _impl_.dummy_legacy_identity_binary_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::dummy_legacy_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) + return _internal_dummy_legacy_identity_binary(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramGameserverSessionEstablished::set_dummy_legacy_identity_binary(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dummy_legacy_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::mutable_dummy_legacy_identity_binary() { + std::string* _s = _internal_mutable_dummy_legacy_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) + return _s; +} +inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::_internal_dummy_legacy_identity_binary() const { + return _impl_.dummy_legacy_identity_binary_.Get(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_dummy_legacy_identity_binary(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.dummy_legacy_identity_binary_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::_internal_mutable_dummy_legacy_identity_binary() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.dummy_legacy_identity_binary_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramGameserverSessionEstablished::release_dummy_legacy_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) + if (!_internal_has_dummy_legacy_identity_binary()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.dummy_legacy_identity_binary_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_legacy_identity_binary_.IsDefault()) { + _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_allocated_dummy_legacy_identity_binary(std::string* dummy_legacy_identity_binary) { + if (dummy_legacy_identity_binary != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.dummy_legacy_identity_binary_.SetAllocated(dummy_legacy_identity_binary, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dummy_legacy_identity_binary_.IsDefault()) { + _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) +} + +// optional fixed64 legacy_gameserver_steamid = 3; +inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_legacy_gameserver_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramGameserverSessionEstablished::has_legacy_gameserver_steamid() const { + return _internal_has_legacy_gameserver_steamid(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::clear_legacy_gameserver_steamid() { + _impl_.legacy_gameserver_steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramGameserverSessionEstablished::_internal_legacy_gameserver_steamid() const { + return _impl_.legacy_gameserver_steamid_; +} +inline uint64_t CMsgSteamDatagramGameserverSessionEstablished::legacy_gameserver_steamid() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.legacy_gameserver_steamid) + return _internal_legacy_gameserver_steamid(); +} +inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_legacy_gameserver_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_gameserver_steamid_ = value; +} +inline void CMsgSteamDatagramGameserverSessionEstablished::set_legacy_gameserver_steamid(uint64_t value) { + _internal_set_legacy_gameserver_steamid(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.legacy_gameserver_steamid) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsClientToRouter + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) +} + +// repeated fixed32 ack_relay = 4; +inline int CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsClientToRouter::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 5; +inline int CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsClientToRouter::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 6; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.flags) +} + +// optional fixed32 client_connection_id = 8; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.client_connection_id) +} + +// optional uint32 seq_num_c2r = 9; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_seq_num_c2r() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_seq_num_c2r() const { + return _internal_has_seq_num_c2r(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_seq_num_c2r() { + _impl_.seq_num_c2r_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_seq_num_c2r() const { + return _impl_.seq_num_c2r_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::seq_num_c2r() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_c2r) + return _internal_seq_num_c2r(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_seq_num_c2r(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.seq_num_c2r_ = value; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_seq_num_c2r(uint32_t value) { + _internal_set_seq_num_c2r(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_c2r) +} + +// optional uint32 seq_num_e2e = 10; +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_e2e) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsRouterToClient + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) +} + +// optional uint32 seconds_until_shutdown = 6; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seconds_until_shutdown) +} + +// optional fixed32 migrate_request_ip = 10; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_migrate_request_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_migrate_request_ip() const { + return _internal_has_migrate_request_ip(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_migrate_request_ip() { + _impl_.migrate_request_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_migrate_request_ip() const { + return _impl_.migrate_request_ip_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::migrate_request_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_ip) + return _internal_migrate_request_ip(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_migrate_request_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.migrate_request_ip_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_migrate_request_ip(uint32_t value) { + _internal_set_migrate_request_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_ip) +} + +// optional uint32 migrate_request_port = 11; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_migrate_request_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_migrate_request_port() const { + return _internal_has_migrate_request_port(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_migrate_request_port() { + _impl_.migrate_request_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_migrate_request_port() const { + return _impl_.migrate_request_port_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::migrate_request_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_port) + return _internal_migrate_request_port(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_migrate_request_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.migrate_request_port_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_migrate_request_port(uint32_t value) { + _internal_set_migrate_request_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_port) +} + +// optional uint32 scoring_penalty_relay_cluster = 12; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_scoring_penalty_relay_cluster() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_scoring_penalty_relay_cluster() const { + return _internal_has_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_scoring_penalty_relay_cluster() { + _impl_.scoring_penalty_relay_cluster_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_scoring_penalty_relay_cluster() const { + return _impl_.scoring_penalty_relay_cluster_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::scoring_penalty_relay_cluster() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.scoring_penalty_relay_cluster) + return _internal_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.scoring_penalty_relay_cluster_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_scoring_penalty_relay_cluster(uint32_t value) { + _internal_set_scoring_penalty_relay_cluster(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.scoring_penalty_relay_cluster) +} + +// repeated fixed32 ack_relay = 13; +inline int CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToClient::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 14; +inline int CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToClient::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 15; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.flags) +} + +// optional fixed32 client_connection_id = 7; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.client_connection_id) +} + +// optional uint32 seq_num_r2c = 8; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seq_num_r2c() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seq_num_r2c() const { + return _internal_has_seq_num_r2c(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seq_num_r2c() { + _impl_.seq_num_r2c_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seq_num_r2c() const { + return _impl_.seq_num_r2c_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seq_num_r2c() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_r2c) + return _internal_seq_num_r2c(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seq_num_r2c(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.seq_num_r2c_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seq_num_r2c(uint32_t value) { + _internal_set_seq_num_r2c(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_r2c) +} + +// optional uint32 seq_num_e2e = 9; +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_e2e) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsRouterToServer + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) +} + +// repeated fixed32 ack_relay = 10; +inline int CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToServer::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 11; +inline int CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsRouterToServer::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 12; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.flags) +} + +// optional uint32 seq_num_r2s = 5; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_seq_num_r2s() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_seq_num_r2s() const { + return _internal_has_seq_num_r2s(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_seq_num_r2s() { + _impl_.seq_num_r2s_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_seq_num_r2s() const { + return _impl_.seq_num_r2s_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::seq_num_r2s() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_r2s) + return _internal_seq_num_r2s(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_seq_num_r2s(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seq_num_r2s_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_seq_num_r2s(uint32_t value) { + _internal_set_seq_num_r2s(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_r2s) +} + +// optional uint32 seq_num_e2e = 6; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_e2e) +} + +// optional string client_identity_string = 15; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_client_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_client_identity_string() const { + return _internal_has_client_identity_string(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_client_identity_string() { + _impl_.client_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer::client_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) + return _internal_client_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionStatsRouterToServer::set_client_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) +} +inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_client_identity_string() { + std::string* _s = _internal_mutable_client_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_client_identity_string() const { + return _impl_.client_identity_string_.Get(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_client_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_client_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.client_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::release_client_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) + if (!_internal_has_client_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.client_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_identity_string_.IsDefault()) { + _impl_.client_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_client_identity_string(std::string* client_identity_string) { + if (client_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.client_identity_string_.SetAllocated(client_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_identity_string_.IsDefault()) { + _impl_.client_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) +} + +// optional fixed64 legacy_client_steam_id = 7; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_legacy_client_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_legacy_client_steam_id() const { + return _internal_has_legacy_client_steam_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_legacy_client_steam_id() { + _impl_.legacy_client_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_client_steam_id() const { + return _impl_.legacy_client_steam_id_; +} +inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::legacy_client_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_client_steam_id) + return _internal_legacy_client_steam_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_legacy_client_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_client_steam_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_legacy_client_steam_id(uint64_t value) { + _internal_set_legacy_client_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_client_steam_id) +} + +// optional uint32 relay_session_id = 8; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_relay_session_id() const { + return _internal_has_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_relay_session_id() { + _impl_.relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_relay_session_id() const { + return _impl_.relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.relay_session_id) + return _internal_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_relay_session_id(uint32_t value) { + _internal_set_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.relay_session_id) +} + +// optional fixed32 client_connection_id = 9; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.client_connection_id) +} + +// optional fixed32 server_connection_id = 13; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_server_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_server_connection_id() const { + return _internal_has_server_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_server_connection_id() { + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_server_connection_id() const { + return _impl_.server_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::server_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.server_connection_id) + return _internal_server_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_server_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.server_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_server_connection_id(uint32_t value) { + _internal_set_server_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.server_connection_id) +} + +// optional fixed64 routing_secret = 14; +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_routing_secret() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_routing_secret() const { + return _internal_has_routing_secret(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_routing_secret() { + _impl_.routing_secret_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_routing_secret() const { + return _impl_.routing_secret_; +} +inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::routing_secret() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.routing_secret) + return _internal_routing_secret(); +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_routing_secret(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.routing_secret_ = value; +} +inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_routing_secret(uint64_t value) { + _internal_set_routing_secret(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.routing_secret) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsServerToRouter + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) +} + +// repeated fixed32 ack_relay = 8; +inline int CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsServerToRouter::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 9; +inline int CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsServerToRouter::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 10; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.flags) +} + +// optional uint32 seq_num_s2r = 3; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_seq_num_s2r() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_seq_num_s2r() const { + return _internal_has_seq_num_s2r(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_seq_num_s2r() { + _impl_.seq_num_s2r_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_seq_num_s2r() const { + return _impl_.seq_num_s2r_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::seq_num_s2r() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_s2r) + return _internal_seq_num_s2r(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_seq_num_s2r(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.seq_num_s2r_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_seq_num_s2r(uint32_t value) { + _internal_set_seq_num_s2r(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_s2r) +} + +// optional uint32 seq_num_e2e = 4; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_e2e) +} + +// optional uint32 relay_session_id = 6; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_relay_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_relay_session_id() const { + return _internal_has_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_relay_session_id() { + _impl_.relay_session_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_relay_session_id() const { + return _impl_.relay_session_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::relay_session_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.relay_session_id) + return _internal_relay_session_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_relay_session_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.relay_session_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_relay_session_id(uint32_t value) { + _internal_set_relay_session_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.relay_session_id) +} + +// optional fixed32 client_connection_id = 7; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.client_connection_id) +} + +// optional fixed32 server_connection_id = 11; +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_server_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_server_connection_id() const { + return _internal_has_server_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_server_connection_id() { + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_server_connection_id() const { + return _impl_.server_connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::server_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.server_connection_id) + return _internal_server_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_server_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.server_connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_server_connection_id(uint32_t value) { + _internal_set_server_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.server_connection_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PSessionRequestBody_EncryptedData + +// optional string peer_identity_string = 1; +inline bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_has_peer_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::has_peer_identity_string() const { + return _internal_has_peer_identity_string(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::clear_peer_identity_string() { + _impl_.peer_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::peer_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) + return _internal_peer_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::set_peer_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.peer_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::mutable_peer_identity_string() { + std::string* _s = _internal_mutable_peer_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_peer_identity_string() const { + return _impl_.peer_identity_string_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_set_peer_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.peer_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_mutable_peer_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.peer_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::release_peer_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) + if (!_internal_has_peer_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.peer_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.peer_identity_string_.IsDefault()) { + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::set_allocated_peer_identity_string(std::string* peer_identity_string) { + if (peer_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.peer_identity_string_.SetAllocated(peer_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.peer_identity_string_.IsDefault()) { + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PSessionRequestBody + +// optional fixed32 challenge_time = 1; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_challenge_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_challenge_time() const { + return _internal_has_challenge_time(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_challenge_time() { + _impl_.challenge_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_challenge_time() const { + return _impl_.challenge_time_; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::challenge_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.challenge_time) + return _internal_challenge_time(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_challenge_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.challenge_time_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_challenge_time(uint32_t value) { + _internal_set_challenge_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.challenge_time) +} + +// optional fixed64 challenge = 2; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.challenge) + return _internal_challenge(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.challenge_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.challenge) +} + +// optional fixed32 client_connection_id = 3; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.client_connection_id) +} + +// optional fixed64 legacy_peer_steam_id = 4; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_legacy_peer_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_legacy_peer_steam_id() const { + return _internal_has_legacy_peer_steam_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_legacy_peer_steam_id() { + _impl_.legacy_peer_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_legacy_peer_steam_id() const { + return _impl_.legacy_peer_steam_id_; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::legacy_peer_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.legacy_peer_steam_id) + return _internal_legacy_peer_steam_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_legacy_peer_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.legacy_peer_steam_id_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_legacy_peer_steam_id(uint64_t value) { + _internal_set_legacy_peer_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.legacy_peer_steam_id) +} + +// optional string peer_identity_string = 11; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_peer_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_peer_identity_string() const { + return _internal_has_peer_identity_string(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_peer_identity_string() { + _impl_.peer_identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::peer_identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) + return _internal_peer_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody::set_peer_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.peer_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_peer_identity_string() { + std::string* _s = _internal_mutable_peer_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_peer_identity_string() const { + return _impl_.peer_identity_string_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_peer_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.peer_identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_peer_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.peer_identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_peer_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) + if (!_internal_has_peer_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.peer_identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.peer_identity_string_.IsDefault()) { + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_peer_identity_string(std::string* peer_identity_string) { + if (peer_identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.peer_identity_string_.SetAllocated(peer_identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.peer_identity_string_.IsDefault()) { + _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) +} + +// optional fixed32 peer_connection_id = 5; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_peer_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_peer_connection_id() const { + return _internal_has_peer_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_peer_connection_id() { + _impl_.peer_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_peer_connection_id() const { + return _impl_.peer_connection_id_; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::peer_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.peer_connection_id) + return _internal_peer_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_peer_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.peer_connection_id_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_peer_connection_id(uint32_t value) { + _internal_set_peer_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.peer_connection_id) +} + +// optional bytes encrypted_data = 14; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encrypted_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encrypted_data() const { + return _internal_has_encrypted_data(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encrypted_data() { + _impl_.encrypted_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::encrypted_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) + return _internal_encrypted_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody::set_encrypted_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.encrypted_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_encrypted_data() { + std::string* _s = _internal_mutable_encrypted_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_encrypted_data() const { + return _impl_.encrypted_data_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encrypted_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.encrypted_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_encrypted_data() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.encrypted_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_encrypted_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) + if (!_internal_has_encrypted_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.encrypted_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_data_.IsDefault()) { + _impl_.encrypted_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_encrypted_data(std::string* encrypted_data) { + if (encrypted_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.encrypted_data_.SetAllocated(encrypted_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_data_.IsDefault()) { + _impl_.encrypted_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) +} + +// optional uint32 encryption_your_public_key_lead_byte = 15; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encryption_your_public_key_lead_byte() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encryption_your_public_key_lead_byte() const { + return _internal_has_encryption_your_public_key_lead_byte(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encryption_your_public_key_lead_byte() { + _impl_.encryption_your_public_key_lead_byte_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_encryption_your_public_key_lead_byte() const { + return _impl_.encryption_your_public_key_lead_byte_; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::encryption_your_public_key_lead_byte() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encryption_your_public_key_lead_byte) + return _internal_encryption_your_public_key_lead_byte(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encryption_your_public_key_lead_byte(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.encryption_your_public_key_lead_byte_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_encryption_your_public_key_lead_byte(uint32_t value) { + _internal_set_encryption_your_public_key_lead_byte(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encryption_your_public_key_lead_byte) +} + +// optional bytes encryption_my_ephemeral_public_key = 16; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encryption_my_ephemeral_public_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encryption_my_ephemeral_public_key() const { + return _internal_has_encryption_my_ephemeral_public_key(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encryption_my_ephemeral_public_key() { + _impl_.encryption_my_ephemeral_public_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::encryption_my_ephemeral_public_key() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) + return _internal_encryption_my_ephemeral_public_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody::set_encryption_my_ephemeral_public_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.encryption_my_ephemeral_public_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_encryption_my_ephemeral_public_key() { + std::string* _s = _internal_mutable_encryption_my_ephemeral_public_key(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_encryption_my_ephemeral_public_key() const { + return _impl_.encryption_my_ephemeral_public_key_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encryption_my_ephemeral_public_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.encryption_my_ephemeral_public_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_encryption_my_ephemeral_public_key() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.encryption_my_ephemeral_public_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_encryption_my_ephemeral_public_key() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) + if (!_internal_has_encryption_my_ephemeral_public_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.encryption_my_ephemeral_public_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encryption_my_ephemeral_public_key_.IsDefault()) { + _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_encryption_my_ephemeral_public_key(std::string* encryption_my_ephemeral_public_key) { + if (encryption_my_ephemeral_public_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.encryption_my_ephemeral_public_key_.SetAllocated(encryption_my_ephemeral_public_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encryption_my_ephemeral_public_key_.IsDefault()) { + _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) +} + +// optional uint32 protocol_version = 8; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.protocol_version) +} + +// optional uint64 network_config_version = 9; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_network_config_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_network_config_version() const { + return _internal_has_network_config_version(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_network_config_version() { + _impl_.network_config_version_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_network_config_version() const { + return _impl_.network_config_version_; +} +inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::network_config_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.network_config_version) + return _internal_network_config_version(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_network_config_version(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.network_config_version_ = value; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_network_config_version(uint64_t value) { + _internal_set_network_config_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.network_config_version) +} + +// optional string platform = 12; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_platform() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_platform() const { + return _internal_has_platform(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_platform() { + _impl_.platform_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::platform() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.platform) + return _internal_platform(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody::set_platform(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.platform_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.platform) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_platform() { + std::string* _s = _internal_mutable_platform(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.platform) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_platform() const { + return _impl_.platform_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_platform(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.platform_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_platform() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.platform_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_platform() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.platform) + if (!_internal_has_platform()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.platform_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.platform_.IsDefault()) { + _impl_.platform_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_platform(std::string* platform) { + if (platform != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _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:CMsgSteamDatagramP2PSessionRequestBody.platform) +} + +// optional string build = 13; +inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_build() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequestBody::has_build() const { + return _internal_has_build(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::clear_build() { + _impl_.build_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::build() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.build) + return _internal_build(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequestBody::set_build(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.build) +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_build() { + std::string* _s = _internal_mutable_build(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.build) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_build() const { + return _impl_.build_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_build(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.build_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_build() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.build_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_build() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.build) + if (!_internal_has_build()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.build_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_build(std::string* build) { + if (build != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.build_.SetAllocated(build, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.build_.IsDefault()) { + _impl_.build_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.build) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PSessionRequest + +// optional .CMsgSteamDatagramCertificateSigned cert = 1; +inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequest::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramP2PSessionRequest::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramP2PSessionRequest::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramP2PSessionRequest::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PSessionRequest.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::release_cert() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.cert) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.cert) + return _msg; +} +inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.cert) +} + +// optional bytes body = 2; +inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_body() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequest::has_body() const { + return _internal_has_body(); +} +inline void CMsgSteamDatagramP2PSessionRequest::clear_body() { + _impl_.body_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequest::body() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.body) + return _internal_body(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequest::set_body(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.body_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequest.body) +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::mutable_body() { + std::string* _s = _internal_mutable_body(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.body) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequest::_internal_body() const { + return _impl_.body_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequest::_internal_set_body(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.body_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_body() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.body_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::release_body() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.body) + if (!_internal_has_body()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.body_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.body_.IsDefault()) { + _impl_.body_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_body(std::string* body) { + if (body != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.body_.SetAllocated(body, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.body_.IsDefault()) { + _impl_.body_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.body) +} + +// optional bytes signature = 3; +inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionRequest::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramP2PSessionRequest::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequest::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionRequest::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequest.signature) +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionRequest::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramP2PSessionRequest::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionRequest::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.signature) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PSessionEstablished + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionEstablished::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramP2PSessionEstablished::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.connection_id) +} + +// optional uint32 seconds_until_shutdown = 3; +inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionEstablished::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramP2PSessionEstablished::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.seconds_until_shutdown) +} + +// optional bytes relay_routing_token = 4; +inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_relay_routing_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionEstablished::has_relay_routing_token() const { + return _internal_has_relay_routing_token(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::clear_relay_routing_token() { + _impl_.relay_routing_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PSessionEstablished::relay_routing_token() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) + return _internal_relay_routing_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PSessionEstablished::set_relay_routing_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) +} +inline std::string* CMsgSteamDatagramP2PSessionEstablished::mutable_relay_routing_token() { + std::string* _s = _internal_mutable_relay_routing_token(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PSessionEstablished::_internal_relay_routing_token() const { + return _impl_.relay_routing_token_.Get(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_relay_routing_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.relay_routing_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionEstablished::_internal_mutable_relay_routing_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.relay_routing_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PSessionEstablished::release_relay_routing_token() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) + if (!_internal_has_relay_routing_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.relay_routing_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.relay_routing_token_.IsDefault()) { + _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PSessionEstablished::set_allocated_relay_routing_token(std::string* relay_routing_token) { + if (relay_routing_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.relay_routing_token_.SetAllocated(relay_routing_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.relay_routing_token_.IsDefault()) { + _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) +} + +// optional uint32 seq_num_r2c = 5; +inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_seq_num_r2c() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PSessionEstablished::has_seq_num_r2c() const { + return _internal_has_seq_num_r2c(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::clear_seq_num_r2c() { + _impl_.seq_num_r2c_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_seq_num_r2c() const { + return _impl_.seq_num_r2c_; +} +inline uint32_t CMsgSteamDatagramP2PSessionEstablished::seq_num_r2c() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.seq_num_r2c) + return _internal_seq_num_r2c(); +} +inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_seq_num_r2c(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seq_num_r2c_ = value; +} +inline void CMsgSteamDatagramP2PSessionEstablished::set_seq_num_r2c(uint32_t value) { + _internal_set_seq_num_r2c(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.seq_num_r2c) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsP2PClientToRouter + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) +} + +// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_p2p_routing_summary() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_p2p_routing_summary() const { + return _internal_has_p2p_routing_summary(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_p2p_routing_summary() { + if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_p2p_routing_summary() const { + const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionStatsP2PClientToRouter::p2p_routing_summary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) + return _internal_p2p_routing_summary(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_p2p_routing_summary( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + if (p2p_routing_summary) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_p2p_routing_summary() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = 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 ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_p2p_routing_summary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; + _impl_.p2p_routing_summary_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_p2p_routing_summary() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.p2p_routing_summary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); + _impl_.p2p_routing_summary_ = p; + } + return _impl_.p2p_routing_summary_; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_p2p_routing_summary() { + ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.p2p_routing_summary_; + } + if (p2p_routing_summary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); + if (message_arena != submessage_arena) { + p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, p2p_routing_summary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.p2p_routing_summary_ = p2p_routing_summary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) +} + +// repeated fixed32 ack_relay = 3; +inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 4; +inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 5; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.flags) +} + +// optional bytes forward_target_relay_routing_token = 6; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_forward_target_relay_routing_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_forward_target_relay_routing_token() const { + return _internal_has_forward_target_relay_routing_token(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_forward_target_relay_routing_token() { + _impl_.forward_target_relay_routing_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::forward_target_relay_routing_token() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) + return _internal_forward_target_relay_routing_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.forward_target_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_forward_target_relay_routing_token() { + std::string* _s = _internal_mutable_forward_target_relay_routing_token(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_forward_target_relay_routing_token() const { + return _impl_.forward_target_relay_routing_token_.Get(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_forward_target_relay_routing_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.forward_target_relay_routing_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_forward_target_relay_routing_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.forward_target_relay_routing_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_forward_target_relay_routing_token() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) + if (!_internal_has_forward_target_relay_routing_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.forward_target_relay_routing_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.forward_target_relay_routing_token_.IsDefault()) { + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token) { + if (forward_target_relay_routing_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.forward_target_relay_routing_token_.SetAllocated(forward_target_relay_routing_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.forward_target_relay_routing_token_.IsDefault()) { + _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) +} + +// optional uint32 forward_target_revision = 7; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_forward_target_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_forward_target_revision() const { + return _internal_has_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_forward_target_revision() { + _impl_.forward_target_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_forward_target_revision() const { + return _impl_.forward_target_revision_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::forward_target_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_revision) + return _internal_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_forward_target_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.forward_target_revision_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_forward_target_revision(uint32_t value) { + _internal_set_forward_target_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_revision) +} + +// optional bytes routes = 8; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_routes() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_routes() const { + return _internal_has_routes(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_routes() { + _impl_.routes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::routes() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) + return _internal_routes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_routes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_routes() { + std::string* _s = _internal_mutable_routes(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_routes() const { + return _impl_.routes_.Get(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_routes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.routes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_routes() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.routes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_routes() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) + if (!_internal_has_routes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.routes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routes_.IsDefault()) { + _impl_.routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_routes(std::string* routes) { + if (routes != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.routes_.SetAllocated(routes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routes_.IsDefault()) { + _impl_.routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) +} + +// optional uint32 ack_peer_routes_revision = 9; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_ack_peer_routes_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_ack_peer_routes_revision() const { + return _internal_has_ack_peer_routes_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_ack_peer_routes_revision() { + _impl_.ack_peer_routes_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_peer_routes_revision() const { + return _impl_.ack_peer_routes_revision_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_peer_routes_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_peer_routes_revision) + return _internal_ack_peer_routes_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_ack_peer_routes_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.ack_peer_routes_revision_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_ack_peer_routes_revision(uint32_t value) { + _internal_set_ack_peer_routes_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_peer_routes_revision) +} + +// optional fixed32 connection_id = 10; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.connection_id) +} + +// optional uint32 seq_num_c2r = 11; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_seq_num_c2r() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_seq_num_c2r() const { + return _internal_has_seq_num_c2r(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_seq_num_c2r() { + _impl_.seq_num_c2r_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_seq_num_c2r() const { + return _impl_.seq_num_c2r_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::seq_num_c2r() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_c2r) + return _internal_seq_num_c2r(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_seq_num_c2r(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.seq_num_c2r_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_seq_num_c2r(uint32_t value) { + _internal_set_seq_num_c2r(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_c2r) +} + +// optional uint32 seq_num_e2e = 12; +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_e2e) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionStatsP2PRouterToClient + +// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_quality_relay() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_quality_relay() const { + return _internal_has_quality_relay(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_quality_relay() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::quality_relay() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) + return _internal_quality_relay(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_set_allocated_quality_relay( + ::CMsgSteamDatagramConnectionQuality* quality_relay) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + _impl_.quality_relay_ = quality_relay; + if (quality_relay) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_quality_relay() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_release_quality_relay() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; + _impl_.quality_relay_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_quality_relay() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.quality_relay_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_relay_ = p; + } + return _impl_.quality_relay_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_quality_relay() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); + } + if (quality_relay) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); + if (message_arena != submessage_arena) { + quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_relay, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.quality_relay_ = quality_relay; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) +} + +// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_quality_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_quality_e2e() const { + return _internal_has_quality_e2e(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_quality_e2e() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::quality_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) + return _internal_quality_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_set_allocated_quality_e2e( + ::CMsgSteamDatagramConnectionQuality* quality_e2e) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + _impl_.quality_e2e_ = quality_e2e; + if (quality_e2e) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_quality_e2e() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_release_quality_e2e() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; + _impl_.quality_e2e_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_quality_e2e() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.quality_e2e_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.quality_e2e_ = p; + } + return _impl_.quality_e2e_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_quality_e2e() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) + return _msg; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); + } + if (quality_e2e) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); + if (message_arena != submessage_arena) { + quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, quality_e2e, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.quality_e2e_ = quality_e2e; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) +} + +// optional uint32 seconds_until_shutdown = 3; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seconds_until_shutdown() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seconds_until_shutdown() const { + return _internal_has_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seconds_until_shutdown() { + _impl_.seconds_until_shutdown_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seconds_until_shutdown() const { + return _impl_.seconds_until_shutdown_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seconds_until_shutdown() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seconds_until_shutdown) + return _internal_seconds_until_shutdown(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seconds_until_shutdown(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.seconds_until_shutdown_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seconds_until_shutdown(uint32_t value) { + _internal_set_seconds_until_shutdown(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seconds_until_shutdown) +} + +// optional fixed32 migrate_request_ip = 4; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_migrate_request_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_migrate_request_ip() const { + return _internal_has_migrate_request_ip(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_migrate_request_ip() { + _impl_.migrate_request_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_migrate_request_ip() const { + return _impl_.migrate_request_ip_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::migrate_request_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_ip) + return _internal_migrate_request_ip(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_migrate_request_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.migrate_request_ip_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_migrate_request_ip(uint32_t value) { + _internal_set_migrate_request_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_ip) +} + +// optional uint32 migrate_request_port = 5; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_migrate_request_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_migrate_request_port() const { + return _internal_has_migrate_request_port(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_migrate_request_port() { + _impl_.migrate_request_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_migrate_request_port() const { + return _impl_.migrate_request_port_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::migrate_request_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_port) + return _internal_migrate_request_port(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_migrate_request_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.migrate_request_port_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_migrate_request_port(uint32_t value) { + _internal_set_migrate_request_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_port) +} + +// optional uint32 scoring_penalty_relay_cluster = 6; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_scoring_penalty_relay_cluster() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_scoring_penalty_relay_cluster() const { + return _internal_has_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_scoring_penalty_relay_cluster() { + _impl_.scoring_penalty_relay_cluster_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_scoring_penalty_relay_cluster() const { + return _impl_.scoring_penalty_relay_cluster_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::scoring_penalty_relay_cluster() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.scoring_penalty_relay_cluster) + return _internal_scoring_penalty_relay_cluster(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.scoring_penalty_relay_cluster_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_scoring_penalty_relay_cluster(uint32_t value) { + _internal_set_scoring_penalty_relay_cluster(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.scoring_penalty_relay_cluster) +} + +// repeated fixed32 ack_relay = 7; +inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay_size() const { + return _impl_.ack_relay_.size(); +} +inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay_size() const { + return _internal_ack_relay_size(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_relay() { + _impl_.ack_relay_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay(int index) const { + return _impl_.ack_relay_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) + return _internal_ack_relay(index); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_relay(int index, uint32_t value) { + _impl_.ack_relay_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_add_ack_relay(uint32_t value) { + _impl_.ack_relay_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::add_ack_relay(uint32_t value) { + _internal_add_ack_relay(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay() const { + return _impl_.ack_relay_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) + return _internal_ack_relay(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_ack_relay() { + return &_impl_.ack_relay_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_ack_relay() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) + return _internal_mutable_ack_relay(); +} + +// repeated fixed32 legacy_ack_e2e = 8; +inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e_size() const { + return _impl_.legacy_ack_e2e_.size(); +} +inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e_size() const { + return _internal_legacy_ack_e2e_size(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_legacy_ack_e2e() { + _impl_.legacy_ack_e2e_.Clear(); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e(int index) const { + return _impl_.legacy_ack_e2e_.Get(index); +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) + return _internal_legacy_ack_e2e(index); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_legacy_ack_e2e(int index, uint32_t value) { + _impl_.legacy_ack_e2e_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_add_legacy_ack_e2e(uint32_t value) { + _impl_.legacy_ack_e2e_.Add(value); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::add_legacy_ack_e2e(uint32_t value) { + _internal_add_legacy_ack_e2e(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e() const { + return _impl_.legacy_ack_e2e_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) + return _internal_legacy_ack_e2e(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_legacy_ack_e2e() { + return &_impl_.legacy_ack_e2e_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_legacy_ack_e2e() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) + return _internal_mutable_legacy_ack_e2e(); +} + +// optional uint32 flags = 9; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.flags) + return _internal_flags(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.flags_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.flags) +} + +// optional uint32 ack_forward_target_revision = 10; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_ack_forward_target_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_ack_forward_target_revision() const { + return _internal_has_ack_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_forward_target_revision() { + _impl_.ack_forward_target_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_forward_target_revision() const { + return _impl_.ack_forward_target_revision_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_forward_target_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_forward_target_revision) + return _internal_ack_forward_target_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_ack_forward_target_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.ack_forward_target_revision_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_forward_target_revision(uint32_t value) { + _internal_set_ack_forward_target_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_forward_target_revision) +} + +// optional bytes routes = 11; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_routes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_routes() const { + return _internal_has_routes(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_routes() { + _impl_.routes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient::routes() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) + return _internal_routes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_routes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_routes() { + std::string* _s = _internal_mutable_routes(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) + return _s; +} +inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_routes() const { + return _impl_.routes_.Get(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_routes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.routes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_routes() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.routes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_routes() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) + if (!_internal_has_routes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.routes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routes_.IsDefault()) { + _impl_.routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_routes(std::string* routes) { + if (routes != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.routes_.SetAllocated(routes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.routes_.IsDefault()) { + _impl_.routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) +} + +// optional uint32 ack_peer_routes_revision = 12; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_ack_peer_routes_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_ack_peer_routes_revision() const { + return _internal_has_ack_peer_routes_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_peer_routes_revision() { + _impl_.ack_peer_routes_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_peer_routes_revision() const { + return _impl_.ack_peer_routes_revision_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_peer_routes_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_peer_routes_revision) + return _internal_ack_peer_routes_revision(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_ack_peer_routes_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.ack_peer_routes_revision_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_peer_routes_revision(uint32_t value) { + _internal_set_ack_peer_routes_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_peer_routes_revision) +} + +// optional fixed32 connection_id = 13; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.connection_id) +} + +// optional uint32 seq_num_r2c = 14; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seq_num_r2c() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seq_num_r2c() const { + return _internal_has_seq_num_r2c(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seq_num_r2c() { + _impl_.seq_num_r2c_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seq_num_r2c() const { + return _impl_.seq_num_r2c_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seq_num_r2c() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_r2c) + return _internal_seq_num_r2c(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seq_num_r2c(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.seq_num_r2c_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seq_num_r2c(uint32_t value) { + _internal_set_seq_num_r2c(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_r2c) +} + +// optional uint32 seq_num_e2e = 15; +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seq_num_e2e() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seq_num_e2e() const { + return _internal_has_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seq_num_e2e() { + _impl_.seq_num_e2e_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seq_num_e2e() const { + return _impl_.seq_num_e2e_; +} +inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seq_num_e2e() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_e2e) + return _internal_seq_num_e2e(); +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seq_num_e2e(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.seq_num_e2e_ = value; +} +inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seq_num_e2e(uint32_t value) { + _internal_set_seq_num_e2e(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_e2e) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PBadRouteRouterToClient + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.connection_id) +} + +// optional bytes failed_relay_routing_token = 2; +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_failed_relay_routing_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_failed_relay_routing_token() const { + return _internal_has_failed_relay_routing_token(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_failed_relay_routing_token() { + _impl_.failed_relay_routing_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PBadRouteRouterToClient::failed_relay_routing_token() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) + return _internal_failed_relay_routing_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PBadRouteRouterToClient::set_failed_relay_routing_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.failed_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) +} +inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::mutable_failed_relay_routing_token() { + std::string* _s = _internal_mutable_failed_relay_routing_token(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_failed_relay_routing_token() const { + return _impl_.failed_relay_routing_token_.Get(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_failed_relay_routing_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.failed_relay_routing_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_mutable_failed_relay_routing_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.failed_relay_routing_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::release_failed_relay_routing_token() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) + if (!_internal_has_failed_relay_routing_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.failed_relay_routing_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.failed_relay_routing_token_.IsDefault()) { + _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_allocated_failed_relay_routing_token(std::string* failed_relay_routing_token) { + if (failed_relay_routing_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.failed_relay_routing_token_.SetAllocated(failed_relay_routing_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.failed_relay_routing_token_.IsDefault()) { + _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) +} + +// optional uint32 ack_forward_target_revision = 3; +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_ack_forward_target_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_ack_forward_target_revision() const { + return _internal_has_ack_forward_target_revision(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_ack_forward_target_revision() { + _impl_.ack_forward_target_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_ack_forward_target_revision() const { + return _impl_.ack_forward_target_revision_; +} +inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::ack_forward_target_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.ack_forward_target_revision) + return _internal_ack_forward_target_revision(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_ack_forward_target_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ack_forward_target_revision_ = value; +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_ack_forward_target_revision(uint32_t value) { + _internal_set_ack_forward_target_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.ack_forward_target_revision) +} + +// optional fixed64 kludge_pad = 99; +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_kludge_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_kludge_pad() const { + return _internal_has_kludge_pad(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_kludge_pad() { + _impl_.kludge_pad_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_kludge_pad() const { + return _impl_.kludge_pad_; +} +inline uint64_t CMsgSteamDatagramP2PBadRouteRouterToClient::kludge_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.kludge_pad) + return _internal_kludge_pad(); +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_kludge_pad(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.kludge_pad_ = value; +} +inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_kludge_pad(uint64_t value) { + _internal_set_kludge_pad(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.kludge_pad) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PRoutes_RelayCluster + +// optional fixed32 pop_id = 1; +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_pop_id() const { + return _internal_has_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_pop_id() { + _impl_.pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_pop_id() const { + return _impl_.pop_id_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.pop_id) + return _internal_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pop_id_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_pop_id(uint32_t value) { + _internal_set_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.pop_id) +} + +// optional uint32 ping_ms = 2; +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_ping_ms() const { + return _internal_has_ping_ms(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_ping_ms() { + _impl_.ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_ping_ms() const { + return _impl_.ping_ms_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.ping_ms) + return _internal_ping_ms(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ping_ms_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_ping_ms(uint32_t value) { + _internal_set_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.ping_ms) +} + +// optional uint32 score_penalty = 3; +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_score_penalty() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_score_penalty() const { + return _internal_has_score_penalty(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_score_penalty() { + _impl_.score_penalty_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_score_penalty() const { + return _impl_.score_penalty_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::score_penalty() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.score_penalty) + return _internal_score_penalty(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_score_penalty(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.score_penalty_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_score_penalty(uint32_t value) { + _internal_set_score_penalty(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.score_penalty) +} + +// optional bytes session_relay_routing_token = 4; +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_session_relay_routing_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_session_relay_routing_token() const { + return _internal_has_session_relay_routing_token(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_session_relay_routing_token() { + _impl_.session_relay_routing_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramP2PRoutes_RelayCluster::session_relay_routing_token() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) + return _internal_session_relay_routing_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramP2PRoutes_RelayCluster::set_session_relay_routing_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.session_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) +} +inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::mutable_session_relay_routing_token() { + std::string* _s = _internal_mutable_session_relay_routing_token(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) + return _s; +} +inline const std::string& CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_session_relay_routing_token() const { + return _impl_.session_relay_routing_token_.Get(); +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_session_relay_routing_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.session_relay_routing_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_mutable_session_relay_routing_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.session_relay_routing_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::release_session_relay_routing_token() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) + if (!_internal_has_session_relay_routing_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.session_relay_routing_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.session_relay_routing_token_.IsDefault()) { + _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_allocated_session_relay_routing_token(std::string* session_relay_routing_token) { + if (session_relay_routing_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.session_relay_routing_token_.SetAllocated(session_relay_routing_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.session_relay_routing_token_.IsDefault()) { + _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PRoutes_Route + +// optional fixed32 my_pop_id = 1; +inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_my_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_Route::has_my_pop_id() const { + return _internal_has_my_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::clear_my_pop_id() { + _impl_.my_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_my_pop_id() const { + return _impl_.my_pop_id_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::my_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.my_pop_id) + return _internal_my_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_my_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.my_pop_id_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_Route::set_my_pop_id(uint32_t value) { + _internal_set_my_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.my_pop_id) +} + +// optional fixed32 your_pop_id = 2; +inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_your_pop_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_Route::has_your_pop_id() const { + return _internal_has_your_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::clear_your_pop_id() { + _impl_.your_pop_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_your_pop_id() const { + return _impl_.your_pop_id_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::your_pop_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.your_pop_id) + return _internal_your_pop_id(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_your_pop_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.your_pop_id_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_Route::set_your_pop_id(uint32_t value) { + _internal_set_your_pop_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.your_pop_id) +} + +// optional uint32 legacy_score = 3; +inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_legacy_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_Route::has_legacy_score() const { + return _internal_has_legacy_score(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::clear_legacy_score() { + _impl_.legacy_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_legacy_score() const { + return _impl_.legacy_score_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::legacy_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.legacy_score) + return _internal_legacy_score(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_legacy_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.legacy_score_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_Route::set_legacy_score(uint32_t value) { + _internal_set_legacy_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.legacy_score) +} + +// optional uint32 interior_score = 4; +inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_interior_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes_Route::has_interior_score() const { + return _internal_has_interior_score(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::clear_interior_score() { + _impl_.interior_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_interior_score() const { + return _impl_.interior_score_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes_Route::interior_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.interior_score) + return _internal_interior_score(); +} +inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_interior_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.interior_score_ = value; +} +inline void CMsgSteamDatagramP2PRoutes_Route::set_interior_score(uint32_t value) { + _internal_set_interior_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.interior_score) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramP2PRoutes + +// repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; +inline int CMsgSteamDatagramP2PRoutes::_internal_relay_clusters_size() const { + return _impl_.relay_clusters_.size(); +} +inline int CMsgSteamDatagramP2PRoutes::relay_clusters_size() const { + return _internal_relay_clusters_size(); +} +inline void CMsgSteamDatagramP2PRoutes::clear_relay_clusters() { + _impl_.relay_clusters_.Clear(); +} +inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::mutable_relay_clusters(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.relay_clusters) + return _impl_.relay_clusters_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >* +CMsgSteamDatagramP2PRoutes::mutable_relay_clusters() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramP2PRoutes.relay_clusters) + return &_impl_.relay_clusters_; +} +inline const ::CMsgSteamDatagramP2PRoutes_RelayCluster& CMsgSteamDatagramP2PRoutes::_internal_relay_clusters(int index) const { + return _impl_.relay_clusters_.Get(index); +} +inline const ::CMsgSteamDatagramP2PRoutes_RelayCluster& CMsgSteamDatagramP2PRoutes::relay_clusters(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.relay_clusters) + return _internal_relay_clusters(index); +} +inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::_internal_add_relay_clusters() { + return _impl_.relay_clusters_.Add(); +} +inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::add_relay_clusters() { + ::CMsgSteamDatagramP2PRoutes_RelayCluster* _add = _internal_add_relay_clusters(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramP2PRoutes.relay_clusters) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >& +CMsgSteamDatagramP2PRoutes::relay_clusters() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramP2PRoutes.relay_clusters) + return _impl_.relay_clusters_; +} + +// repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; +inline int CMsgSteamDatagramP2PRoutes::_internal_routes_size() const { + return _impl_.routes_.size(); +} +inline int CMsgSteamDatagramP2PRoutes::routes_size() const { + return _internal_routes_size(); +} +inline void CMsgSteamDatagramP2PRoutes::clear_routes() { + _impl_.routes_.Clear(); +} +inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::mutable_routes(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.routes) + return _impl_.routes_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >* +CMsgSteamDatagramP2PRoutes::mutable_routes() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramP2PRoutes.routes) + return &_impl_.routes_; +} +inline const ::CMsgSteamDatagramP2PRoutes_Route& CMsgSteamDatagramP2PRoutes::_internal_routes(int index) const { + return _impl_.routes_.Get(index); +} +inline const ::CMsgSteamDatagramP2PRoutes_Route& CMsgSteamDatagramP2PRoutes::routes(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.routes) + return _internal_routes(index); +} +inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::_internal_add_routes() { + return _impl_.routes_.Add(); +} +inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::add_routes() { + ::CMsgSteamDatagramP2PRoutes_Route* _add = _internal_add_routes(); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramP2PRoutes.routes) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >& +CMsgSteamDatagramP2PRoutes::routes() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramP2PRoutes.routes) + return _impl_.routes_; +} + +// optional uint32 revision = 3; +inline bool CMsgSteamDatagramP2PRoutes::_internal_has_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramP2PRoutes::has_revision() const { + return _internal_has_revision(); +} +inline void CMsgSteamDatagramP2PRoutes::clear_revision() { + _impl_.revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramP2PRoutes::_internal_revision() const { + return _impl_.revision_; +} +inline uint32_t CMsgSteamDatagramP2PRoutes::revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.revision) + return _internal_revision(); +} +inline void CMsgSteamDatagramP2PRoutes::_internal_set_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.revision_ = value; +} +inline void CMsgSteamDatagramP2PRoutes::set_revision(uint32_t value) { + _internal_set_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.revision) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSetSecondaryAddressRequest + +// optional fixed32 client_main_ip = 1; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_main_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_main_ip() const { + return _internal_has_client_main_ip(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_main_ip() { + _impl_.client_main_ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_main_ip() const { + return _impl_.client_main_ip_; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_main_ip() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_ip) + return _internal_client_main_ip(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_main_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_main_ip_ = value; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_main_ip(uint32_t value) { + _internal_set_client_main_ip(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_ip) +} + +// optional fixed32 client_main_port = 2; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_main_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_main_port() const { + return _internal_has_client_main_port(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_main_port() { + _impl_.client_main_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_main_port() const { + return _impl_.client_main_port_; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_main_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_port) + return _internal_client_main_port(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_main_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_main_port_ = value; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_main_port(uint32_t value) { + _internal_set_client_main_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_port) +} + +// optional fixed32 client_connection_id = 3; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_connection_id) +} + +// optional string client_identity = 4; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_identity() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_identity() const { + return _internal_has_client_identity(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_identity() { + _impl_.client_identity_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::client_identity() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) + return _internal_client_identity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_identity(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::mutable_client_identity() { + std::string* _s = _internal_mutable_client_identity(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) + return _s; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_identity() const { + return _impl_.client_identity_.Get(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_identity(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_identity_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::_internal_mutable_client_identity() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.client_identity_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::release_client_identity() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) + if (!_internal_has_client_identity()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.client_identity_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_identity_.IsDefault()) { + _impl_.client_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_allocated_client_identity(std::string* client_identity) { + if (client_identity != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.client_identity_.SetAllocated(client_identity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_identity_.IsDefault()) { + _impl_.client_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) +} + +// optional bool request_send_duplication = 5; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_request_send_duplication() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_request_send_duplication() const { + return _internal_has_request_send_duplication(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_request_send_duplication() { + _impl_.request_send_duplication_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_request_send_duplication() const { + return _impl_.request_send_duplication_; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::request_send_duplication() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.request_send_duplication) + return _internal_request_send_duplication(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_request_send_duplication(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.request_send_duplication_ = value; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_request_send_duplication(bool value) { + _internal_set_request_send_duplication(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.request_send_duplication) +} + +// optional bytes kludge_pad = 99; +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_kludge_pad() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_kludge_pad() const { + return _internal_has_kludge_pad(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_kludge_pad() { + _impl_.kludge_pad_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::kludge_pad() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) + return _internal_kludge_pad(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSetSecondaryAddressRequest::set_kludge_pad(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.kludge_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::mutable_kludge_pad() { + std::string* _s = _internal_mutable_kludge_pad(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) + return _s; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::_internal_kludge_pad() const { + return _impl_.kludge_pad_.Get(); +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_kludge_pad(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.kludge_pad_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::_internal_mutable_kludge_pad() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.kludge_pad_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::release_kludge_pad() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) + if (!_internal_has_kludge_pad()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.kludge_pad_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.kludge_pad_.IsDefault()) { + _impl_.kludge_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_allocated_kludge_pad(std::string* kludge_pad) { + if (kludge_pad != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.kludge_pad_.SetAllocated(kludge_pad, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.kludge_pad_.IsDefault()) { + _impl_.kludge_pad_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSetSecondaryAddressResult + +// optional bool success = 1; +inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_has_success() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressResult::has_success() const { + return _internal_has_success(); +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::clear_success() { + _impl_.success_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_success() const { + return _impl_.success_; +} +inline bool CMsgSteamDatagramSetSecondaryAddressResult::success() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressResult.success) + return _internal_success(); +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::_internal_set_success(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.success_ = value; +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::set_success(bool value) { + _internal_set_success(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressResult.success) +} + +// optional string message = 2; +inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSetSecondaryAddressResult::has_message() const { + return _internal_has_message(); +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressResult::message() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressResult.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSetSecondaryAddressResult::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressResult.message) +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressResult.message) + return _s; +} +inline const std::string& CMsgSteamDatagramSetSecondaryAddressResult::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::release_message() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressResult.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSetSecondaryAddressResult::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressResult.message) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol>() { + return ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramRouterPingReply_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramRouterPingReply_Flags>() { + return ::CMsgSteamDatagramRouterPingReply_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionClosed_ERelayMode> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionClosed_ERelayMode>() { + return ::CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags>() { + return ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags>() { + return ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags>() { + return ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags>() { + return ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags>() { + return ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); +} +template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags>() { + return ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); +} +template <> struct is_proto_enum< ::ESteamDatagramMsgID> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESteamDatagramMsgID>() { + return ::ESteamDatagramMsgID_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.cc new file mode 100644 index 0000000..9ce5358 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.cc @@ -0,0 +1,1321 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages.proto + +#include "steammessages.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; + +PROTOBUF_CONSTEXPR CMsgProtoBufHeader::CMsgProtoBufHeader( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.target_job_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.error_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.client_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.client_session_id_)*/0 + , /*decltype(_impl_.source_app_id_)*/0u + , /*decltype(_impl_.ip_)*/0u + , /*decltype(_impl_.gc_msg_src_)*/0 + , /*decltype(_impl_.gc_dir_index_source_)*/0u + , /*decltype(_impl_.eresult_)*/2 + , /*decltype(_impl_.job_id_source_)*/uint64_t{18446744073709551615u} + , /*decltype(_impl_.job_id_target_)*/uint64_t{18446744073709551615u}} {} +struct CMsgProtoBufHeaderDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgProtoBufHeaderDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgProtoBufHeaderDefaultTypeInternal() {} + union { + CMsgProtoBufHeader _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgProtoBufHeaderDefaultTypeInternal _CMsgProtoBufHeader_default_instance_; +PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.client_ipaddress_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal() {} + union { + CChinaAgreementSessions_StartAgreementSessionInGame_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_; +PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.agreement_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal() {} + union { + CChinaAgreementSessions_StartAgreementSessionInGame_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_2eproto[3]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_2eproto = nullptr; + +const uint32_t TableStruct_steammessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.client_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.client_session_id_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.source_app_id_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.job_id_source_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.job_id_target_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.target_job_name_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.eresult_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.error_message_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.ip_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.gc_msg_src_), + PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.gc_dir_index_source_), + 2, + 3, + 4, + 9, + 10, + 0, + 8, + 1, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.client_ipaddress_), + 2, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _impl_.agreement_url_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 17, -1, sizeof(::CMsgProtoBufHeader)}, + { 28, 37, -1, sizeof(::CChinaAgreementSessions_StartAgreementSessionInGame_Request)}, + { 40, 47, -1, sizeof(::CChinaAgreementSessions_StartAgreementSessionInGame_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgProtoBufHeader_default_instance_._instance, + &::_CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_._instance, + &::_CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\023steammessages.proto\032 google/protobuf/d" + "escriptor.proto\"\371\002\n\022CMsgProtoBufHeader\022\027" + "\n\017client_steam_id\030\001 \001(\006\022\031\n\021client_sessio" + "n_id\030\002 \001(\005\022\025\n\rsource_app_id\030\003 \001(\r\022+\n\rjob" + "_id_source\030\n \001(\006:\02418446744073709551615\022+" + "\n\rjob_id_target\030\013 \001(\006:\02418446744073709551" + "615\022\027\n\017target_job_name\030\014 \001(\t\022\022\n\007eresult\030" + "\r \001(\005:\0012\022\025\n\rerror_message\030\016 \001(\t\022\n\n\002ip\030\017 " + "\001(\r\022D\n\ngc_msg_src\030\310\001 \001(\0162\021.GCProtoBufMsg" + "Src:\034GCProtoBufMsgSrc_Unspecified\022\034\n\023gc_" + "dir_index_source\030\311\001 \001(\r:\n\200\246\035\200\002\210\246\035\200\010\"w\n;C" + "ChinaAgreementSessions_StartAgreementSes" + "sionInGame_Request\022\r\n\005appid\030\001 \001(\r\022\017\n\007ste" + "amid\030\002 \001(\006\022\030\n\020client_ipaddress\030\003 \001(\t\"U\n<" + "CChinaAgreementSessions_StartAgreementSe" + "ssionInGame_Response\022\025\n\ragreement_url\030\001 " + "\001(\t*\266\001\n\020GCProtoBufMsgSrc\022 \n\034GCProtoBufMs" + "gSrc_Unspecified\020\000\022\037\n\033GCProtoBufMsgSrc_F" + "romSystem\020\001\022 \n\034GCProtoBufMsgSrc_FromStea" + "mID\020\002\022\033\n\027GCProtoBufMsgSrc_FromGC\020\003\022 \n\034GC" + "ProtoBufMsgSrc_ReplySystem\020\004:9\n\tkey_fiel" + "d\022\035.google.protobuf.FieldOptions\030\340\324\003 \001(\010" + ":\005false:A\n\022msgpool_soft_limit\022\037.google.p" + "rotobuf.MessageOptions\030\340\324\003 \001(\005:\00232:B\n\022ms" + "gpool_hard_limit\022\037.google.protobuf.Messa" + "geOptions\030\341\324\003 \001(\005:\003384" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_2eproto = { + false, false, 1022, descriptor_table_protodef_steammessages_2eproto, + "steammessages.proto", + &descriptor_table_steammessages_2eproto_once, descriptor_table_steammessages_2eproto_deps, 1, 3, + schemas, file_default_instances, TableStruct_steammessages_2eproto::offsets, + file_level_metadata_steammessages_2eproto, file_level_enum_descriptors_steammessages_2eproto, + file_level_service_descriptors_steammessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_2eproto_getter() { + return &descriptor_table_steammessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_2eproto(&descriptor_table_steammessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCProtoBufMsgSrc_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_2eproto); + return file_level_enum_descriptors_steammessages_2eproto[0]; +} +bool GCProtoBufMsgSrc_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgProtoBufHeader::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_client_session_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_source_app_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_job_id_source(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_job_id_target(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_target_job_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_eresult(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_error_message(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ip(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_gc_msg_src(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_gc_dir_index_source(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgProtoBufHeader::CMsgProtoBufHeader(::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:CMsgProtoBufHeader) +} +CMsgProtoBufHeader::CMsgProtoBufHeader(const CMsgProtoBufHeader& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgProtoBufHeader* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.target_job_name_){} + , decltype(_impl_.error_message_){} + , decltype(_impl_.client_steam_id_){} + , decltype(_impl_.client_session_id_){} + , decltype(_impl_.source_app_id_){} + , decltype(_impl_.ip_){} + , decltype(_impl_.gc_msg_src_){} + , decltype(_impl_.gc_dir_index_source_){} + , decltype(_impl_.eresult_){} + , decltype(_impl_.job_id_source_){} + , decltype(_impl_.job_id_target_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.target_job_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.target_job_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_target_job_name()) { + _this->_impl_.target_job_name_.Set(from._internal_target_job_name(), + _this->GetArenaForAllocation()); + } + _impl_.error_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_error_message()) { + _this->_impl_.error_message_.Set(from._internal_error_message(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.client_steam_id_, &from._impl_.client_steam_id_, + static_cast(reinterpret_cast(&_impl_.job_id_target_) - + reinterpret_cast(&_impl_.client_steam_id_)) + sizeof(_impl_.job_id_target_)); + // @@protoc_insertion_point(copy_constructor:CMsgProtoBufHeader) +} + +inline void CMsgProtoBufHeader::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.target_job_name_){} + , decltype(_impl_.error_message_){} + , decltype(_impl_.client_steam_id_){uint64_t{0u}} + , decltype(_impl_.client_session_id_){0} + , decltype(_impl_.source_app_id_){0u} + , decltype(_impl_.ip_){0u} + , decltype(_impl_.gc_msg_src_){0} + , decltype(_impl_.gc_dir_index_source_){0u} + , decltype(_impl_.eresult_){2} + , decltype(_impl_.job_id_source_){uint64_t{18446744073709551615u}} + , decltype(_impl_.job_id_target_){uint64_t{18446744073709551615u}} + }; + _impl_.target_job_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.target_job_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.error_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgProtoBufHeader::~CMsgProtoBufHeader() { + // @@protoc_insertion_point(destructor:CMsgProtoBufHeader) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgProtoBufHeader::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.target_job_name_.Destroy(); + _impl_.error_message_.Destroy(); +} + +void CMsgProtoBufHeader::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgProtoBufHeader::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgProtoBufHeader) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.target_job_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.error_message_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.client_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.gc_dir_index_source_) - + reinterpret_cast(&_impl_.client_steam_id_)) + sizeof(_impl_.gc_dir_index_source_)); + } + if (cached_has_bits & 0x00000700u) { + _impl_.eresult_ = 2; + _impl_.job_id_source_ = uint64_t{18446744073709551615u}; + _impl_.job_id_target_ = uint64_t{18446744073709551615u}; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgProtoBufHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 client_steam_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_client_steam_id(&has_bits); + _impl_.client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 client_session_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client_session_id(&has_bits); + _impl_.client_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 source_app_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_source_app_id(&has_bits); + _impl_.source_app_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { + _Internal::set_has_job_id_source(&has_bits); + _impl_.job_id_source_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { + _Internal::set_has_job_id_target(&has_bits); + _impl_.job_id_target_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string target_job_name = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_target_job_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgProtoBufHeader.target_job_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 eresult = 13 [default = 2]; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_eresult(&has_bits); + _impl_.eresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string error_message = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_error_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgProtoBufHeader.error_message"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 ip = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_ip(&has_bits); + _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; + case 200: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::GCProtoBufMsgSrc_IsValid(val))) { + _internal_set_gc_msg_src(static_cast<::GCProtoBufMsgSrc>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(200, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional uint32 gc_dir_index_source = 201; + case 201: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_gc_dir_index_source(&has_bits); + _impl_.gc_dir_index_source_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgProtoBufHeader::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgProtoBufHeader) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 client_steam_id = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_client_steam_id(), target); + } + + // optional int32 client_session_id = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client_session_id(), target); + } + + // optional uint32 source_app_id = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_source_app_id(), target); + } + + // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_job_id_source(), target); + } + + // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_job_id_target(), target); + } + + // optional string target_job_name = 12; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_target_job_name().data(), static_cast(this->_internal_target_job_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgProtoBufHeader.target_job_name"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_target_job_name(), target); + } + + // optional int32 eresult = 13 [default = 2]; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_eresult(), target); + } + + // optional string error_message = 14; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_error_message().data(), static_cast(this->_internal_error_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgProtoBufHeader.error_message"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_error_message(), target); + } + + // optional uint32 ip = 15; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_ip(), target); + } + + // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 200, this->_internal_gc_msg_src(), target); + } + + // optional uint32 gc_dir_index_source = 201; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(201, this->_internal_gc_dir_index_source(), 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:CMsgProtoBufHeader) + return target; +} + +size_t CMsgProtoBufHeader::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgProtoBufHeader) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string target_job_name = 12; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_target_job_name()); + } + + // optional string error_message = 14; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_error_message()); + } + + // optional fixed64 client_steam_id = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional int32 client_session_id = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_session_id()); + } + + // optional uint32 source_app_id = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_source_app_id()); + } + + // optional uint32 ip = 15; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); + } + + // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_gc_msg_src()); + } + + // optional uint32 gc_dir_index_source = 201; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_gc_dir_index_source()); + } + + } + if (cached_has_bits & 0x00000700u) { + // optional int32 eresult = 13 [default = 2]; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eresult()); + } + + // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 8; + } + + // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgProtoBufHeader::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgProtoBufHeader::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgProtoBufHeader::GetClassData() const { return &_class_data_; } + + +void CMsgProtoBufHeader::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:CMsgProtoBufHeader) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_target_job_name(from._internal_target_job_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_error_message(from._internal_error_message()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.client_steam_id_ = from._impl_.client_steam_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.client_session_id_ = from._impl_.client_session_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.source_app_id_ = from._impl_.source_app_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ip_ = from._impl_.ip_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.gc_msg_src_ = from._impl_.gc_msg_src_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.gc_dir_index_source_ = from._impl_.gc_dir_index_source_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.eresult_ = from._impl_.eresult_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.job_id_source_ = from._impl_.job_id_source_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.job_id_target_ = from._impl_.job_id_target_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgProtoBufHeader::CopyFrom(const CMsgProtoBufHeader& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgProtoBufHeader) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgProtoBufHeader::IsInitialized() const { + return true; +} + +void CMsgProtoBufHeader::InternalSwap(CMsgProtoBufHeader* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.target_job_name_, lhs_arena, + &other->_impl_.target_job_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.error_message_, lhs_arena, + &other->_impl_.error_message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgProtoBufHeader, _impl_.gc_dir_index_source_) + + sizeof(CMsgProtoBufHeader::_impl_.gc_dir_index_source_) + - PROTOBUF_FIELD_OFFSET(CMsgProtoBufHeader, _impl_.client_steam_id_)>( + reinterpret_cast(&_impl_.client_steam_id_), + reinterpret_cast(&other->_impl_.client_steam_id_)); + swap(_impl_.eresult_, other->_impl_.eresult_); + swap(_impl_.job_id_source_, other->_impl_.job_id_source_); + swap(_impl_.job_id_target_, other->_impl_.job_id_target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgProtoBufHeader::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, + file_level_metadata_steammessages_2eproto[0]); +} + +// =================================================================== + +class CChinaAgreementSessions_StartAgreementSessionInGame_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_client_ipaddress(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_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:CChinaAgreementSessions_StartAgreementSessionInGame_Request) +} +CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_Request(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CChinaAgreementSessions_StartAgreementSessionInGame_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_ipaddress_){} + , decltype(_impl_.steamid_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.client_ipaddress_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_client_ipaddress()) { + _this->_impl_.client_ipaddress_.Set(from._internal_client_ipaddress(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Request) +} + +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.client_ipaddress_){} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; + _impl_.client_ipaddress_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CChinaAgreementSessions_StartAgreementSessionInGame_Request::~CChinaAgreementSessions_StartAgreementSessionInGame_Request() { + // @@protoc_insertion_point(destructor:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.client_ipaddress_.Destroy(); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.client_ipaddress_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steamid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string client_ipaddress = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_client_ipaddress(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional fixed64 steamid = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steamid(), target); + } + + // optional string client_ipaddress = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_client_ipaddress().data(), static_cast(this->_internal_client_ipaddress().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_client_ipaddress(), 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:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + return target; +} + +size_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CChinaAgreementSessions_StartAgreementSessionInGame_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string client_ipaddress = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_client_ipaddress()); + } + + // optional fixed64 steamid = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CChinaAgreementSessions_StartAgreementSessionInGame_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CChinaAgreementSessions_StartAgreementSessionInGame_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CChinaAgreementSessions_StartAgreementSessionInGame_Request::GetClassData() const { return &_class_data_; } + + +void CChinaAgreementSessions_StartAgreementSessionInGame_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:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_client_ipaddress(from._internal_client_ipaddress()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Request::CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::IsInitialized() const { + return true; +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Request::InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.client_ipaddress_, lhs_arena, + &other->_impl_.client_ipaddress_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.appid_) + + sizeof(CChinaAgreementSessions_StartAgreementSessionInGame_Request::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CChinaAgreementSessions_StartAgreementSessionInGame_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, + file_level_metadata_steammessages_2eproto[1]); +} + +// =================================================================== + +class CChinaAgreementSessions_StartAgreementSessionInGame_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_agreement_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_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:CChinaAgreementSessions_StartAgreementSessionInGame_Response) +} +CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_Response(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CChinaAgreementSessions_StartAgreementSessionInGame_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.agreement_url_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.agreement_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.agreement_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_agreement_url()) { + _this->_impl_.agreement_url_.Set(from._internal_agreement_url(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Response) +} + +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.agreement_url_){} + }; + _impl_.agreement_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.agreement_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CChinaAgreementSessions_StartAgreementSessionInGame_Response::~CChinaAgreementSessions_StartAgreementSessionInGame_Response() { + // @@protoc_insertion_point(destructor:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.agreement_url_.Destroy(); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.agreement_url_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string agreement_url = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_agreement_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string agreement_url = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_agreement_url().data(), static_cast(this->_internal_agreement_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_agreement_url(), 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:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + return target; +} + +size_t CChinaAgreementSessions_StartAgreementSessionInGame_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CChinaAgreementSessions_StartAgreementSessionInGame_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; + + // optional string agreement_url = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_agreement_url()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CChinaAgreementSessions_StartAgreementSessionInGame_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CChinaAgreementSessions_StartAgreementSessionInGame_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CChinaAgreementSessions_StartAgreementSessionInGame_Response::GetClassData() const { return &_class_data_; } + + +void CChinaAgreementSessions_StartAgreementSessionInGame_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:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_agreement_url()) { + _this->_internal_set_agreement_url(from._internal_agreement_url()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Response::CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::IsInitialized() const { + return true; +} + +void CChinaAgreementSessions_StartAgreementSessionInGame_Response::InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.agreement_url_, lhs_arena, + &other->_impl_.agreement_url_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CChinaAgreementSessions_StartAgreementSessionInGame_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, + file_level_metadata_steammessages_2eproto[2]); +} +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + key_field(kKeyFieldFieldNumber, false, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> + msgpool_soft_limit(kMsgpoolSoftLimitFieldNumber, 32, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> + msgpool_hard_limit(kMsgpoolHardLimitFieldNumber, 384, nullptr); + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgProtoBufHeader* +Arena::CreateMaybeMessage< ::CMsgProtoBufHeader >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgProtoBufHeader >(arena); +} +template<> PROTOBUF_NOINLINE ::CChinaAgreementSessions_StartAgreementSessionInGame_Request* +Arena::CreateMaybeMessage< ::CChinaAgreementSessions_StartAgreementSessionInGame_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CChinaAgreementSessions_StartAgreementSessionInGame_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CChinaAgreementSessions_StartAgreementSessionInGame_Response* +Arena::CreateMaybeMessage< ::CChinaAgreementSessions_StartAgreementSessionInGame_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CChinaAgreementSessions_StartAgreementSessionInGame_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.h new file mode 100644 index 0000000..03119a8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages.pb.h @@ -0,0 +1,1406 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_2eproto; +class CChinaAgreementSessions_StartAgreementSessionInGame_Request; +struct CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal; +extern CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_; +class CChinaAgreementSessions_StartAgreementSessionInGame_Response; +struct CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal; +extern CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_; +class CMsgProtoBufHeader; +struct CMsgProtoBufHeaderDefaultTypeInternal; +extern CMsgProtoBufHeaderDefaultTypeInternal _CMsgProtoBufHeader_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CChinaAgreementSessions_StartAgreementSessionInGame_Request* Arena::CreateMaybeMessage<::CChinaAgreementSessions_StartAgreementSessionInGame_Request>(Arena*); +template<> ::CChinaAgreementSessions_StartAgreementSessionInGame_Response* Arena::CreateMaybeMessage<::CChinaAgreementSessions_StartAgreementSessionInGame_Response>(Arena*); +template<> ::CMsgProtoBufHeader* Arena::CreateMaybeMessage<::CMsgProtoBufHeader>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum GCProtoBufMsgSrc : int { + GCProtoBufMsgSrc_Unspecified = 0, + GCProtoBufMsgSrc_FromSystem = 1, + GCProtoBufMsgSrc_FromSteamID = 2, + GCProtoBufMsgSrc_FromGC = 3, + GCProtoBufMsgSrc_ReplySystem = 4 +}; +bool GCProtoBufMsgSrc_IsValid(int value); +constexpr GCProtoBufMsgSrc GCProtoBufMsgSrc_MIN = GCProtoBufMsgSrc_Unspecified; +constexpr GCProtoBufMsgSrc GCProtoBufMsgSrc_MAX = GCProtoBufMsgSrc_ReplySystem; +constexpr int GCProtoBufMsgSrc_ARRAYSIZE = GCProtoBufMsgSrc_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCProtoBufMsgSrc_descriptor(); +template +inline const std::string& GCProtoBufMsgSrc_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function GCProtoBufMsgSrc_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + GCProtoBufMsgSrc_descriptor(), enum_t_value); +} +inline bool GCProtoBufMsgSrc_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCProtoBufMsgSrc* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + GCProtoBufMsgSrc_descriptor(), name, value); +} +// =================================================================== + +class CMsgProtoBufHeader final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgProtoBufHeader) */ { + public: + inline CMsgProtoBufHeader() : CMsgProtoBufHeader(nullptr) {} + ~CMsgProtoBufHeader() override; + explicit PROTOBUF_CONSTEXPR CMsgProtoBufHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgProtoBufHeader(const CMsgProtoBufHeader& from); + CMsgProtoBufHeader(CMsgProtoBufHeader&& from) noexcept + : CMsgProtoBufHeader() { + *this = ::std::move(from); + } + + inline CMsgProtoBufHeader& operator=(const CMsgProtoBufHeader& from) { + CopyFrom(from); + return *this; + } + inline CMsgProtoBufHeader& operator=(CMsgProtoBufHeader&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgProtoBufHeader& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgProtoBufHeader* internal_default_instance() { + return reinterpret_cast( + &_CMsgProtoBufHeader_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgProtoBufHeader& a, CMsgProtoBufHeader& b) { + a.Swap(&b); + } + inline void Swap(CMsgProtoBufHeader* 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(CMsgProtoBufHeader* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgProtoBufHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgProtoBufHeader& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgProtoBufHeader& from) { + CMsgProtoBufHeader::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(CMsgProtoBufHeader* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgProtoBufHeader"; + } + protected: + explicit CMsgProtoBufHeader(::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 { + kTargetJobNameFieldNumber = 12, + kErrorMessageFieldNumber = 14, + kClientSteamIdFieldNumber = 1, + kClientSessionIdFieldNumber = 2, + kSourceAppIdFieldNumber = 3, + kIpFieldNumber = 15, + kGcMsgSrcFieldNumber = 200, + kGcDirIndexSourceFieldNumber = 201, + kEresultFieldNumber = 13, + kJobIdSourceFieldNumber = 10, + kJobIdTargetFieldNumber = 11, + }; + // optional string target_job_name = 12; + bool has_target_job_name() const; + private: + bool _internal_has_target_job_name() const; + public: + void clear_target_job_name(); + const std::string& target_job_name() const; + template + void set_target_job_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_target_job_name(); + PROTOBUF_NODISCARD std::string* release_target_job_name(); + void set_allocated_target_job_name(std::string* target_job_name); + private: + const std::string& _internal_target_job_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_job_name(const std::string& value); + std::string* _internal_mutable_target_job_name(); + public: + + // optional string error_message = 14; + bool has_error_message() const; + private: + bool _internal_has_error_message() const; + public: + void clear_error_message(); + const std::string& error_message() const; + template + void set_error_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_error_message(); + PROTOBUF_NODISCARD std::string* release_error_message(); + void set_allocated_error_message(std::string* error_message); + private: + const std::string& _internal_error_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value); + std::string* _internal_mutable_error_message(); + public: + + // optional fixed64 client_steam_id = 1; + bool has_client_steam_id() const; + private: + bool _internal_has_client_steam_id() const; + public: + void clear_client_steam_id(); + uint64_t client_steam_id() const; + void set_client_steam_id(uint64_t value); + private: + uint64_t _internal_client_steam_id() const; + void _internal_set_client_steam_id(uint64_t value); + public: + + // optional int32 client_session_id = 2; + bool has_client_session_id() const; + private: + bool _internal_has_client_session_id() const; + public: + void clear_client_session_id(); + int32_t client_session_id() const; + void set_client_session_id(int32_t value); + private: + int32_t _internal_client_session_id() const; + void _internal_set_client_session_id(int32_t value); + public: + + // optional uint32 source_app_id = 3; + bool has_source_app_id() const; + private: + bool _internal_has_source_app_id() const; + public: + void clear_source_app_id(); + uint32_t source_app_id() const; + void set_source_app_id(uint32_t value); + private: + uint32_t _internal_source_app_id() const; + void _internal_set_source_app_id(uint32_t value); + public: + + // optional uint32 ip = 15; + bool has_ip() const; + private: + bool _internal_has_ip() const; + public: + void clear_ip(); + uint32_t ip() const; + void set_ip(uint32_t value); + private: + uint32_t _internal_ip() const; + void _internal_set_ip(uint32_t value); + public: + + // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; + bool has_gc_msg_src() const; + private: + bool _internal_has_gc_msg_src() const; + public: + void clear_gc_msg_src(); + ::GCProtoBufMsgSrc gc_msg_src() const; + void set_gc_msg_src(::GCProtoBufMsgSrc value); + private: + ::GCProtoBufMsgSrc _internal_gc_msg_src() const; + void _internal_set_gc_msg_src(::GCProtoBufMsgSrc value); + public: + + // optional uint32 gc_dir_index_source = 201; + bool has_gc_dir_index_source() const; + private: + bool _internal_has_gc_dir_index_source() const; + public: + void clear_gc_dir_index_source(); + uint32_t gc_dir_index_source() const; + void set_gc_dir_index_source(uint32_t value); + private: + uint32_t _internal_gc_dir_index_source() const; + void _internal_set_gc_dir_index_source(uint32_t value); + public: + + // optional int32 eresult = 13 [default = 2]; + bool has_eresult() const; + private: + bool _internal_has_eresult() const; + public: + void clear_eresult(); + int32_t eresult() const; + void set_eresult(int32_t value); + private: + int32_t _internal_eresult() const; + void _internal_set_eresult(int32_t value); + public: + + // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; + bool has_job_id_source() const; + private: + bool _internal_has_job_id_source() const; + public: + void clear_job_id_source(); + uint64_t job_id_source() const; + void set_job_id_source(uint64_t value); + private: + uint64_t _internal_job_id_source() const; + void _internal_set_job_id_source(uint64_t value); + public: + + // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; + bool has_job_id_target() const; + private: + bool _internal_has_job_id_target() const; + public: + void clear_job_id_target(); + uint64_t job_id_target() const; + void set_job_id_target(uint64_t value); + private: + uint64_t _internal_job_id_target() const; + void _internal_set_job_id_target(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgProtoBufHeader) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr target_job_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_; + uint64_t client_steam_id_; + int32_t client_session_id_; + uint32_t source_app_id_; + uint32_t ip_; + int gc_msg_src_; + uint32_t gc_dir_index_source_; + int32_t eresult_; + uint64_t job_id_source_; + uint64_t job_id_target_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CChinaAgreementSessions_StartAgreementSessionInGame_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CChinaAgreementSessions_StartAgreementSessionInGame_Request) */ { + public: + inline CChinaAgreementSessions_StartAgreementSessionInGame_Request() : CChinaAgreementSessions_StartAgreementSessionInGame_Request(nullptr) {} + ~CChinaAgreementSessions_StartAgreementSessionInGame_Request() override; + explicit PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CChinaAgreementSessions_StartAgreementSessionInGame_Request(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from); + CChinaAgreementSessions_StartAgreementSessionInGame_Request(CChinaAgreementSessions_StartAgreementSessionInGame_Request&& from) noexcept + : CChinaAgreementSessions_StartAgreementSessionInGame_Request() { + *this = ::std::move(from); + } + + inline CChinaAgreementSessions_StartAgreementSessionInGame_Request& operator=(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { + CopyFrom(from); + return *this; + } + inline CChinaAgreementSessions_StartAgreementSessionInGame_Request& operator=(CChinaAgreementSessions_StartAgreementSessionInGame_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CChinaAgreementSessions_StartAgreementSessionInGame_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CChinaAgreementSessions_StartAgreementSessionInGame_Request* internal_default_instance() { + return reinterpret_cast( + &_CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CChinaAgreementSessions_StartAgreementSessionInGame_Request& a, CChinaAgreementSessions_StartAgreementSessionInGame_Request& b) { + a.Swap(&b); + } + inline void Swap(CChinaAgreementSessions_StartAgreementSessionInGame_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(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CChinaAgreementSessions_StartAgreementSessionInGame_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { + CChinaAgreementSessions_StartAgreementSessionInGame_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(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CChinaAgreementSessions_StartAgreementSessionInGame_Request"; + } + protected: + explicit CChinaAgreementSessions_StartAgreementSessionInGame_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 { + kClientIpaddressFieldNumber = 3, + kSteamidFieldNumber = 2, + kAppidFieldNumber = 1, + }; + // optional string client_ipaddress = 3; + bool has_client_ipaddress() const; + private: + bool _internal_has_client_ipaddress() const; + public: + void clear_client_ipaddress(); + const std::string& client_ipaddress() const; + template + void set_client_ipaddress(ArgT0&& arg0, ArgT... args); + std::string* mutable_client_ipaddress(); + PROTOBUF_NODISCARD std::string* release_client_ipaddress(); + void set_allocated_client_ipaddress(std::string* client_ipaddress); + private: + const std::string& _internal_client_ipaddress() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_ipaddress(const std::string& value); + std::string* _internal_mutable_client_ipaddress(); + public: + + // optional fixed64 steamid = 2; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CChinaAgreementSessions_StartAgreementSessionInGame_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_ipaddress_; + uint64_t steamid_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CChinaAgreementSessions_StartAgreementSessionInGame_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CChinaAgreementSessions_StartAgreementSessionInGame_Response) */ { + public: + inline CChinaAgreementSessions_StartAgreementSessionInGame_Response() : CChinaAgreementSessions_StartAgreementSessionInGame_Response(nullptr) {} + ~CChinaAgreementSessions_StartAgreementSessionInGame_Response() override; + explicit PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CChinaAgreementSessions_StartAgreementSessionInGame_Response(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from); + CChinaAgreementSessions_StartAgreementSessionInGame_Response(CChinaAgreementSessions_StartAgreementSessionInGame_Response&& from) noexcept + : CChinaAgreementSessions_StartAgreementSessionInGame_Response() { + *this = ::std::move(from); + } + + inline CChinaAgreementSessions_StartAgreementSessionInGame_Response& operator=(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { + CopyFrom(from); + return *this; + } + inline CChinaAgreementSessions_StartAgreementSessionInGame_Response& operator=(CChinaAgreementSessions_StartAgreementSessionInGame_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CChinaAgreementSessions_StartAgreementSessionInGame_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CChinaAgreementSessions_StartAgreementSessionInGame_Response* internal_default_instance() { + return reinterpret_cast( + &_CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CChinaAgreementSessions_StartAgreementSessionInGame_Response& a, CChinaAgreementSessions_StartAgreementSessionInGame_Response& b) { + a.Swap(&b); + } + inline void Swap(CChinaAgreementSessions_StartAgreementSessionInGame_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(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CChinaAgreementSessions_StartAgreementSessionInGame_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { + CChinaAgreementSessions_StartAgreementSessionInGame_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(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CChinaAgreementSessions_StartAgreementSessionInGame_Response"; + } + protected: + explicit CChinaAgreementSessions_StartAgreementSessionInGame_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 { + kAgreementUrlFieldNumber = 1, + }; + // optional string agreement_url = 1; + bool has_agreement_url() const; + private: + bool _internal_has_agreement_url() const; + public: + void clear_agreement_url(); + const std::string& agreement_url() const; + template + void set_agreement_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_agreement_url(); + PROTOBUF_NODISCARD std::string* release_agreement_url(); + void set_allocated_agreement_url(std::string* agreement_url); + private: + const std::string& _internal_agreement_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agreement_url(const std::string& value); + std::string* _internal_mutable_agreement_url(); + public: + + // @@protoc_insertion_point(class_scope:CChinaAgreementSessions_StartAgreementSessionInGame_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr agreement_url_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_2eproto; +}; +// =================================================================== + +static const int kKeyFieldFieldNumber = 60000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + key_field; +static const int kMsgpoolSoftLimitFieldNumber = 60000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > + msgpool_soft_limit; +static const int kMsgpoolHardLimitFieldNumber = 60001; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > + msgpool_hard_limit; + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgProtoBufHeader + +// optional fixed64 client_steam_id = 1; +inline bool CMsgProtoBufHeader::_internal_has_client_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_client_steam_id() const { + return _internal_has_client_steam_id(); +} +inline void CMsgProtoBufHeader::clear_client_steam_id() { + _impl_.client_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgProtoBufHeader::_internal_client_steam_id() const { + return _impl_.client_steam_id_; +} +inline uint64_t CMsgProtoBufHeader::client_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.client_steam_id) + return _internal_client_steam_id(); +} +inline void CMsgProtoBufHeader::_internal_set_client_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.client_steam_id_ = value; +} +inline void CMsgProtoBufHeader::set_client_steam_id(uint64_t value) { + _internal_set_client_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.client_steam_id) +} + +// optional int32 client_session_id = 2; +inline bool CMsgProtoBufHeader::_internal_has_client_session_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_client_session_id() const { + return _internal_has_client_session_id(); +} +inline void CMsgProtoBufHeader::clear_client_session_id() { + _impl_.client_session_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CMsgProtoBufHeader::_internal_client_session_id() const { + return _impl_.client_session_id_; +} +inline int32_t CMsgProtoBufHeader::client_session_id() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.client_session_id) + return _internal_client_session_id(); +} +inline void CMsgProtoBufHeader::_internal_set_client_session_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.client_session_id_ = value; +} +inline void CMsgProtoBufHeader::set_client_session_id(int32_t value) { + _internal_set_client_session_id(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.client_session_id) +} + +// optional uint32 source_app_id = 3; +inline bool CMsgProtoBufHeader::_internal_has_source_app_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_source_app_id() const { + return _internal_has_source_app_id(); +} +inline void CMsgProtoBufHeader::clear_source_app_id() { + _impl_.source_app_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgProtoBufHeader::_internal_source_app_id() const { + return _impl_.source_app_id_; +} +inline uint32_t CMsgProtoBufHeader::source_app_id() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.source_app_id) + return _internal_source_app_id(); +} +inline void CMsgProtoBufHeader::_internal_set_source_app_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.source_app_id_ = value; +} +inline void CMsgProtoBufHeader::set_source_app_id(uint32_t value) { + _internal_set_source_app_id(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.source_app_id) +} + +// optional fixed64 job_id_source = 10 [default = 18446744073709551615]; +inline bool CMsgProtoBufHeader::_internal_has_job_id_source() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_job_id_source() const { + return _internal_has_job_id_source(); +} +inline void CMsgProtoBufHeader::clear_job_id_source() { + _impl_.job_id_source_ = uint64_t{18446744073709551615u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t CMsgProtoBufHeader::_internal_job_id_source() const { + return _impl_.job_id_source_; +} +inline uint64_t CMsgProtoBufHeader::job_id_source() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.job_id_source) + return _internal_job_id_source(); +} +inline void CMsgProtoBufHeader::_internal_set_job_id_source(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.job_id_source_ = value; +} +inline void CMsgProtoBufHeader::set_job_id_source(uint64_t value) { + _internal_set_job_id_source(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.job_id_source) +} + +// optional fixed64 job_id_target = 11 [default = 18446744073709551615]; +inline bool CMsgProtoBufHeader::_internal_has_job_id_target() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_job_id_target() const { + return _internal_has_job_id_target(); +} +inline void CMsgProtoBufHeader::clear_job_id_target() { + _impl_.job_id_target_ = uint64_t{18446744073709551615u}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint64_t CMsgProtoBufHeader::_internal_job_id_target() const { + return _impl_.job_id_target_; +} +inline uint64_t CMsgProtoBufHeader::job_id_target() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.job_id_target) + return _internal_job_id_target(); +} +inline void CMsgProtoBufHeader::_internal_set_job_id_target(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.job_id_target_ = value; +} +inline void CMsgProtoBufHeader::set_job_id_target(uint64_t value) { + _internal_set_job_id_target(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.job_id_target) +} + +// optional string target_job_name = 12; +inline bool CMsgProtoBufHeader::_internal_has_target_job_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_target_job_name() const { + return _internal_has_target_job_name(); +} +inline void CMsgProtoBufHeader::clear_target_job_name() { + _impl_.target_job_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgProtoBufHeader::target_job_name() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.target_job_name) + return _internal_target_job_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgProtoBufHeader::set_target_job_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.target_job_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.target_job_name) +} +inline std::string* CMsgProtoBufHeader::mutable_target_job_name() { + std::string* _s = _internal_mutable_target_job_name(); + // @@protoc_insertion_point(field_mutable:CMsgProtoBufHeader.target_job_name) + return _s; +} +inline const std::string& CMsgProtoBufHeader::_internal_target_job_name() const { + return _impl_.target_job_name_.Get(); +} +inline void CMsgProtoBufHeader::_internal_set_target_job_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.target_job_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgProtoBufHeader::_internal_mutable_target_job_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.target_job_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgProtoBufHeader::release_target_job_name() { + // @@protoc_insertion_point(field_release:CMsgProtoBufHeader.target_job_name) + if (!_internal_has_target_job_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.target_job_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.target_job_name_.IsDefault()) { + _impl_.target_job_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgProtoBufHeader::set_allocated_target_job_name(std::string* target_job_name) { + if (target_job_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.target_job_name_.SetAllocated(target_job_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.target_job_name_.IsDefault()) { + _impl_.target_job_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgProtoBufHeader.target_job_name) +} + +// optional int32 eresult = 13 [default = 2]; +inline bool CMsgProtoBufHeader::_internal_has_eresult() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_eresult() const { + return _internal_has_eresult(); +} +inline void CMsgProtoBufHeader::clear_eresult() { + _impl_.eresult_ = 2; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CMsgProtoBufHeader::_internal_eresult() const { + return _impl_.eresult_; +} +inline int32_t CMsgProtoBufHeader::eresult() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.eresult) + return _internal_eresult(); +} +inline void CMsgProtoBufHeader::_internal_set_eresult(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.eresult_ = value; +} +inline void CMsgProtoBufHeader::set_eresult(int32_t value) { + _internal_set_eresult(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.eresult) +} + +// optional string error_message = 14; +inline bool CMsgProtoBufHeader::_internal_has_error_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_error_message() const { + return _internal_has_error_message(); +} +inline void CMsgProtoBufHeader::clear_error_message() { + _impl_.error_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgProtoBufHeader::error_message() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.error_message) + return _internal_error_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgProtoBufHeader::set_error_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.error_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.error_message) +} +inline std::string* CMsgProtoBufHeader::mutable_error_message() { + std::string* _s = _internal_mutable_error_message(); + // @@protoc_insertion_point(field_mutable:CMsgProtoBufHeader.error_message) + return _s; +} +inline const std::string& CMsgProtoBufHeader::_internal_error_message() const { + return _impl_.error_message_.Get(); +} +inline void CMsgProtoBufHeader::_internal_set_error_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.error_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgProtoBufHeader::_internal_mutable_error_message() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.error_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgProtoBufHeader::release_error_message() { + // @@protoc_insertion_point(field_release:CMsgProtoBufHeader.error_message) + if (!_internal_has_error_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.error_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_message_.IsDefault()) { + _impl_.error_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgProtoBufHeader::set_allocated_error_message(std::string* error_message) { + if (error_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_message_.IsDefault()) { + _impl_.error_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgProtoBufHeader.error_message) +} + +// optional uint32 ip = 15; +inline bool CMsgProtoBufHeader::_internal_has_ip() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_ip() const { + return _internal_has_ip(); +} +inline void CMsgProtoBufHeader::clear_ip() { + _impl_.ip_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgProtoBufHeader::_internal_ip() const { + return _impl_.ip_; +} +inline uint32_t CMsgProtoBufHeader::ip() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.ip) + return _internal_ip(); +} +inline void CMsgProtoBufHeader::_internal_set_ip(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.ip_ = value; +} +inline void CMsgProtoBufHeader::set_ip(uint32_t value) { + _internal_set_ip(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.ip) +} + +// optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; +inline bool CMsgProtoBufHeader::_internal_has_gc_msg_src() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_gc_msg_src() const { + return _internal_has_gc_msg_src(); +} +inline void CMsgProtoBufHeader::clear_gc_msg_src() { + _impl_.gc_msg_src_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline ::GCProtoBufMsgSrc CMsgProtoBufHeader::_internal_gc_msg_src() const { + return static_cast< ::GCProtoBufMsgSrc >(_impl_.gc_msg_src_); +} +inline ::GCProtoBufMsgSrc CMsgProtoBufHeader::gc_msg_src() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.gc_msg_src) + return _internal_gc_msg_src(); +} +inline void CMsgProtoBufHeader::_internal_set_gc_msg_src(::GCProtoBufMsgSrc value) { + assert(::GCProtoBufMsgSrc_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.gc_msg_src_ = value; +} +inline void CMsgProtoBufHeader::set_gc_msg_src(::GCProtoBufMsgSrc value) { + _internal_set_gc_msg_src(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.gc_msg_src) +} + +// optional uint32 gc_dir_index_source = 201; +inline bool CMsgProtoBufHeader::_internal_has_gc_dir_index_source() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgProtoBufHeader::has_gc_dir_index_source() const { + return _internal_has_gc_dir_index_source(); +} +inline void CMsgProtoBufHeader::clear_gc_dir_index_source() { + _impl_.gc_dir_index_source_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgProtoBufHeader::_internal_gc_dir_index_source() const { + return _impl_.gc_dir_index_source_; +} +inline uint32_t CMsgProtoBufHeader::gc_dir_index_source() const { + // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.gc_dir_index_source) + return _internal_gc_dir_index_source(); +} +inline void CMsgProtoBufHeader::_internal_set_gc_dir_index_source(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.gc_dir_index_source_ = value; +} +inline void CMsgProtoBufHeader::set_gc_dir_index_source(uint32_t value) { + _internal_set_gc_dir_index_source(value); + // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.gc_dir_index_source) +} + +// ------------------------------------------------------------------- + +// CChinaAgreementSessions_StartAgreementSessionInGame_Request + +// optional uint32 appid = 1; +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::appid() const { + // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.appid) + return _internal_appid(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.appid_ = value; +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.appid) +} + +// optional fixed64 steamid = 2; +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::steamid() const { + // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.steamid) + return _internal_steamid(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.steamid_ = value; +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.steamid) +} + +// optional string client_ipaddress = 3; +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_client_ipaddress() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_client_ipaddress() const { + return _internal_has_client_ipaddress(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_client_ipaddress() { + _impl_.client_ipaddress_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Request::client_ipaddress() const { + // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) + return _internal_client_ipaddress(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_client_ipaddress(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_ipaddress_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::mutable_client_ipaddress() { + std::string* _s = _internal_mutable_client_ipaddress(); + // @@protoc_insertion_point(field_mutable:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) + return _s; +} +inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_client_ipaddress() const { + return _impl_.client_ipaddress_.Get(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_client_ipaddress(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.client_ipaddress_.Set(value, GetArenaForAllocation()); +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_mutable_client_ipaddress() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.client_ipaddress_.Mutable(GetArenaForAllocation()); +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::release_client_ipaddress() { + // @@protoc_insertion_point(field_release:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) + if (!_internal_has_client_ipaddress()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.client_ipaddress_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_ipaddress_.IsDefault()) { + _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_allocated_client_ipaddress(std::string* client_ipaddress) { + if (client_ipaddress != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.client_ipaddress_.SetAllocated(client_ipaddress, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.client_ipaddress_.IsDefault()) { + _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) +} + +// ------------------------------------------------------------------- + +// CChinaAgreementSessions_StartAgreementSessionInGame_Response + +// optional string agreement_url = 1; +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_has_agreement_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::has_agreement_url() const { + return _internal_has_agreement_url(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::clear_agreement_url() { + _impl_.agreement_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Response::agreement_url() const { + // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) + return _internal_agreement_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CChinaAgreementSessions_StartAgreementSessionInGame_Response::set_agreement_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.agreement_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::mutable_agreement_url() { + std::string* _s = _internal_mutable_agreement_url(); + // @@protoc_insertion_point(field_mutable:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) + return _s; +} +inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_agreement_url() const { + return _impl_.agreement_url_.Get(); +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_set_agreement_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.agreement_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_mutable_agreement_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.agreement_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::release_agreement_url() { + // @@protoc_insertion_point(field_release:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) + if (!_internal_has_agreement_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.agreement_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.agreement_url_.IsDefault()) { + _impl_.agreement_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::set_allocated_agreement_url(std::string* agreement_url) { + if (agreement_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.agreement_url_.SetAllocated(agreement_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.agreement_url_.IsDefault()) { + _impl_.agreement_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::GCProtoBufMsgSrc> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::GCProtoBufMsgSrc>() { + return ::GCProtoBufMsgSrc_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.cc new file mode 100644 index 0000000..a5770d7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.cc @@ -0,0 +1,2501 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_cloud.steamworkssdk.proto + +#include "steammessages_cloud.steamworkssdk.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; + +PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCloud_GetUploadServerInfo_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_GetUploadServerInfo_RequestDefaultTypeInternal() {} + union { + CCloud_GetUploadServerInfo_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetUploadServerInfo_RequestDefaultTypeInternal _CCloud_GetUploadServerInfo_Request_default_instance_; +PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.server_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal() {} + union { + CCloud_GetUploadServerInfo_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal _CCloud_GetUploadServerInfo_Response_default_instance_; +PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Request::CCloud_GetFileDetails_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ugcid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCloud_GetFileDetails_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_GetFileDetails_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_GetFileDetails_RequestDefaultTypeInternal() {} + union { + CCloud_GetFileDetails_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetFileDetails_RequestDefaultTypeInternal _CCloud_GetFileDetails_Request_default_instance_; +PROTOBUF_CONSTEXPR CCloud_UserFile::CCloud_UserFile( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ugcid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.file_size_)*/0u + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.steamid_creator_)*/uint64_t{0u}} {} +struct CCloud_UserFileDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_UserFileDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_UserFileDefaultTypeInternal() {} + union { + CCloud_UserFile _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_UserFileDefaultTypeInternal _CCloud_UserFile_default_instance_; +PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Response::CCloud_GetFileDetails_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.details_)*/nullptr} {} +struct CCloud_GetFileDetails_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_GetFileDetails_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_GetFileDetails_ResponseDefaultTypeInternal() {} + union { + CCloud_GetFileDetails_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetFileDetails_ResponseDefaultTypeInternal _CCloud_GetFileDetails_Response_default_instance_; +PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.extended_details_)*/false + , /*decltype(_impl_.count_)*/0u + , /*decltype(_impl_.start_index_)*/0u} {} +struct CCloud_EnumerateUserFiles_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_EnumerateUserFiles_RequestDefaultTypeInternal() {} + union { + CCloud_EnumerateUserFiles_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_EnumerateUserFiles_RequestDefaultTypeInternal _CCloud_EnumerateUserFiles_Request_default_instance_; +PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.files_)*/{} + , /*decltype(_impl_.total_files_)*/0u} {} +struct CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal() {} + union { + CCloud_EnumerateUserFiles_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal _CCloud_EnumerateUserFiles_Response_default_instance_; +PROTOBUF_CONSTEXPR CCloud_Delete_Request::CCloud_Delete_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u} {} +struct CCloud_Delete_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_Delete_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_Delete_RequestDefaultTypeInternal() {} + union { + CCloud_Delete_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_Delete_RequestDefaultTypeInternal _CCloud_Delete_Request_default_instance_; +PROTOBUF_CONSTEXPR CCloud_Delete_Response::CCloud_Delete_Response( + ::_pbi::ConstantInitialized) {} +struct CCloud_Delete_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CCloud_Delete_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CCloud_Delete_ResponseDefaultTypeInternal() {} + union { + CCloud_Delete_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_Delete_ResponseDefaultTypeInternal _CCloud_Delete_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[9]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto = nullptr; + +const uint32_t TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _impl_.appid_), + 0, + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _impl_.server_url_), + 0, + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_.ugcid_), + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_.appid_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.ugcid_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.file_size_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.url_), + PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.steamid_creator_), + 3, + 2, + 0, + 5, + 4, + 1, + 6, + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _impl_.details_), + 0, + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.extended_details_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.start_index_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_.files_), + PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_.total_files_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_.appid_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 7, -1, sizeof(::CCloud_GetUploadServerInfo_Request)}, + { 8, 15, -1, sizeof(::CCloud_GetUploadServerInfo_Response)}, + { 16, 24, -1, sizeof(::CCloud_GetFileDetails_Request)}, + { 26, 39, -1, sizeof(::CCloud_UserFile)}, + { 46, 53, -1, sizeof(::CCloud_GetFileDetails_Response)}, + { 54, 64, -1, sizeof(::CCloud_EnumerateUserFiles_Request)}, + { 68, 76, -1, sizeof(::CCloud_EnumerateUserFiles_Response)}, + { 78, 86, -1, sizeof(::CCloud_Delete_Request)}, + { 88, -1, -1, sizeof(::CCloud_Delete_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CCloud_GetUploadServerInfo_Request_default_instance_._instance, + &::_CCloud_GetUploadServerInfo_Response_default_instance_._instance, + &::_CCloud_GetFileDetails_Request_default_instance_._instance, + &::_CCloud_UserFile_default_instance_._instance, + &::_CCloud_GetFileDetails_Response_default_instance_._instance, + &::_CCloud_EnumerateUserFiles_Request_default_instance_._instance, + &::_CCloud_EnumerateUserFiles_Response_default_instance_._instance, + &::_CCloud_Delete_Request_default_instance_._instance, + &::_CCloud_Delete_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5fcloud_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\'steammessages_cloud.steamworkssdk.prot" + "o\032.steammessages_unified_base.steamworks" + "sdk.proto\"d\n\"CCloud_GetUploadServerInfo_" + "Request\022>\n\005appid\030\001 \001(\rB/\202\265\030+App ID to wh" + "ich a file will be uploaded to.\"9\n#CClou" + "d_GetUploadServerInfo_Response\022\022\n\nserver" + "_url\030\001 \001(\t\"\214\001\n\035CCloud_GetFileDetails_Req" + "uest\022;\n\005ugcid\030\001 \001(\004B,\202\265\030(ID of the Cloud" + " file to get details for.\022.\n\005appid\030\002 \001(\r" + "B\037\202\265\030\033App ID the file belongs to.\"\215\001\n\017CC" + "loud_UserFile\022\r\n\005appid\030\001 \001(\r\022\r\n\005ugcid\030\002 " + "\001(\004\022\020\n\010filename\030\003 \001(\t\022\021\n\ttimestamp\030\004 \001(\004" + "\022\021\n\tfile_size\030\005 \001(\r\022\013\n\003url\030\006 \001(\t\022\027\n\017stea" + "mid_creator\030\007 \001(\006\"C\n\036CCloud_GetFileDetai" + "ls_Response\022!\n\007details\030\001 \001(\0132\020.CCloud_Us" + "erFile\"\351\003\n!CCloud_EnumerateUserFiles_Req" + "uest\0224\n\005appid\030\001 \001(\rB%\202\265\030!App ID to enume" + "rate the files of.\022\233\001\n\020extended_details\030" + "\002 \001(\010B\200\001\202\265\030|(Optional) Get extended deta" + "ils back on the files found. Defaults to" + " only returned the app Id and UGC Id of " + "the files found.\022|\n\005count\030\003 \001(\rBm\202\265\030i(Op" + "tional) Maximum number of results to ret" + "urn on this call. Defaults to a maximum " + "of 500 files returned.\022r\n\013start_index\030\004 " + "\001(\rB]\202\265\030Y(Optional) Starting index to be" + "gin enumeration at. Defaults to the begi" + "nning of the list.\"Z\n\"CCloud_EnumerateUs" + "erFiles_Response\022\037\n\005files\030\001 \003(\0132\020.CCloud" + "_UserFile\022\023\n\013total_files\030\002 \001(\r\"Y\n\025CCloud" + "_Delete_Request\022\020\n\010filename\030\001 \001(\t\022.\n\005app" + "id\030\002 \001(\rB\037\202\265\030\033App ID the file belongs to" + ".\"\030\n\026CCloud_Delete_Response2\355\004\n\005Cloud\022\234\001" + "\n\023GetUploadServerInfo\022#.CCloud_GetUpload" + "ServerInfo_Request\032$.CCloud_GetUploadSer" + "verInfo_Response\":\202\265\0306Returns the URL of" + " the proper cloud server for a user.\022w\n\016" + "GetFileDetails\022\036.CCloud_GetFileDetails_R" + "equest\032\037.CCloud_GetFileDetails_Response\"" + "$\202\265\030 Returns details on a Cloud file.\022\272\001" + "\n\022EnumerateUserFiles\022\".CCloud_EnumerateU" + "serFiles_Request\032#.CCloud_EnumerateUserF" + "iles_Response\"[\202\265\030WEnumerates Cloud file" + "s for a user of a given app ID. Returns " + "up to 500 files at a time.\022d\n\006Delete\022\026.C" + "Cloud_Delete_Request\032\027.CCloud_Delete_Res" + "ponse\")\202\265\030%Deletes a file from the user\'" + "s cloud.\032)\202\265\030%A service for Steam Cloud " + "operations." + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_deps[1] = { + &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto = { + false, false, 1931, descriptor_table_protodef_steammessages_5fcloud_2esteamworkssdk_2eproto, + "steammessages_cloud.steamworkssdk.proto", + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_deps, 1, 9, + schemas, file_default_instances, TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto::offsets, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto, + file_level_service_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter() { + return &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fcloud_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto); + +// =================================================================== + +class CCloud_GetUploadServerInfo_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_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:CCloud_GetUploadServerInfo_Request) +} +CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_Request(const CCloud_GetUploadServerInfo_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_GetUploadServerInfo_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CCloud_GetUploadServerInfo_Request) +} + +inline void CCloud_GetUploadServerInfo_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + }; +} + +CCloud_GetUploadServerInfo_Request::~CCloud_GetUploadServerInfo_Request() { + // @@protoc_insertion_point(destructor:CCloud_GetUploadServerInfo_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_GetUploadServerInfo_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCloud_GetUploadServerInfo_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_GetUploadServerInfo_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_GetUploadServerInfo_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_GetUploadServerInfo_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_GetUploadServerInfo_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetUploadServerInfo_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), 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:CCloud_GetUploadServerInfo_Request) + return target; +} + +size_t CCloud_GetUploadServerInfo_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_GetUploadServerInfo_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; + + // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetUploadServerInfo_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_GetUploadServerInfo_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetUploadServerInfo_Request::GetClassData() const { return &_class_data_; } + + +void CCloud_GetUploadServerInfo_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:CCloud_GetUploadServerInfo_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_appid()) { + _this->_internal_set_appid(from._internal_appid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_GetUploadServerInfo_Request::CopyFrom(const CCloud_GetUploadServerInfo_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetUploadServerInfo_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_GetUploadServerInfo_Request::IsInitialized() const { + return true; +} + +void CCloud_GetUploadServerInfo_Request::InternalSwap(CCloud_GetUploadServerInfo_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetUploadServerInfo_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[0]); +} + +// =================================================================== + +class CCloud_GetUploadServerInfo_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_server_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_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:CCloud_GetUploadServerInfo_Response) +} +CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_Response(const CCloud_GetUploadServerInfo_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_GetUploadServerInfo_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_url_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.server_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_server_url()) { + _this->_impl_.server_url_.Set(from._internal_server_url(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CCloud_GetUploadServerInfo_Response) +} + +inline void CCloud_GetUploadServerInfo_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.server_url_){} + }; + _impl_.server_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.server_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCloud_GetUploadServerInfo_Response::~CCloud_GetUploadServerInfo_Response() { + // @@protoc_insertion_point(destructor:CCloud_GetUploadServerInfo_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_GetUploadServerInfo_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.server_url_.Destroy(); +} + +void CCloud_GetUploadServerInfo_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_GetUploadServerInfo_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_GetUploadServerInfo_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.server_url_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_GetUploadServerInfo_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string server_url = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_server_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCloud_GetUploadServerInfo_Response.server_url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_GetUploadServerInfo_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetUploadServerInfo_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string server_url = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_server_url().data(), static_cast(this->_internal_server_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCloud_GetUploadServerInfo_Response.server_url"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_server_url(), 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:CCloud_GetUploadServerInfo_Response) + return target; +} + +size_t CCloud_GetUploadServerInfo_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_GetUploadServerInfo_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; + + // optional string server_url = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_server_url()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetUploadServerInfo_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_GetUploadServerInfo_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetUploadServerInfo_Response::GetClassData() const { return &_class_data_; } + + +void CCloud_GetUploadServerInfo_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:CCloud_GetUploadServerInfo_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_server_url()) { + _this->_internal_set_server_url(from._internal_server_url()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_GetUploadServerInfo_Response::CopyFrom(const CCloud_GetUploadServerInfo_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetUploadServerInfo_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_GetUploadServerInfo_Response::IsInitialized() const { + return true; +} + +void CCloud_GetUploadServerInfo_Response::InternalSwap(CCloud_GetUploadServerInfo_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.server_url_, lhs_arena, + &other->_impl_.server_url_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetUploadServerInfo_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[1]); +} + +// =================================================================== + +class CCloud_GetFileDetails_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ugcid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCloud_GetFileDetails_Request::CCloud_GetFileDetails_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:CCloud_GetFileDetails_Request) +} +CCloud_GetFileDetails_Request::CCloud_GetFileDetails_Request(const CCloud_GetFileDetails_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_GetFileDetails_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ugcid_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.ugcid_, &from._impl_.ugcid_, + static_cast(reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.appid_)); + // @@protoc_insertion_point(copy_constructor:CCloud_GetFileDetails_Request) +} + +inline void CCloud_GetFileDetails_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ugcid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + }; +} + +CCloud_GetFileDetails_Request::~CCloud_GetFileDetails_Request() { + // @@protoc_insertion_point(destructor:CCloud_GetFileDetails_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_GetFileDetails_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCloud_GetFileDetails_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_GetFileDetails_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_GetFileDetails_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.ugcid_, 0, static_cast( + reinterpret_cast(&_impl_.appid_) - + reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.appid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_GetFileDetails_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ugcid(&has_bits); + _impl_.ugcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_GetFileDetails_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetFileDetails_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ugcid(), target); + } + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), 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:CCloud_GetFileDetails_Request) + return target; +} + +size_t CCloud_GetFileDetails_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_GetFileDetails_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ugcid()); + } + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetFileDetails_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_GetFileDetails_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetFileDetails_Request::GetClassData() const { return &_class_data_; } + + +void CCloud_GetFileDetails_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:CCloud_GetFileDetails_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ugcid_ = from._impl_.ugcid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_GetFileDetails_Request::CopyFrom(const CCloud_GetFileDetails_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetFileDetails_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_GetFileDetails_Request::IsInitialized() const { + return true; +} + +void CCloud_GetFileDetails_Request::InternalSwap(CCloud_GetFileDetails_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCloud_GetFileDetails_Request, _impl_.appid_) + + sizeof(CCloud_GetFileDetails_Request::_impl_.appid_) + - PROTOBUF_FIELD_OFFSET(CCloud_GetFileDetails_Request, _impl_.ugcid_)>( + reinterpret_cast(&_impl_.ugcid_), + reinterpret_cast(&other->_impl_.ugcid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetFileDetails_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[2]); +} + +// =================================================================== + +class CCloud_UserFile::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ugcid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_file_size(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_steamid_creator(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CCloud_UserFile::CCloud_UserFile(::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:CCloud_UserFile) +} +CCloud_UserFile::CCloud_UserFile(const CCloud_UserFile& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_UserFile* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.url_){} + , decltype(_impl_.ugcid_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.file_size_){} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.steamid_creator_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ugcid_, &from._impl_.ugcid_, + static_cast(reinterpret_cast(&_impl_.steamid_creator_) - + reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.steamid_creator_)); + // @@protoc_insertion_point(copy_constructor:CCloud_UserFile) +} + +inline void CCloud_UserFile::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.url_){} + , decltype(_impl_.ugcid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.file_size_){0u} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.steamid_creator_){uint64_t{0u}} + }; + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCloud_UserFile::~CCloud_UserFile() { + // @@protoc_insertion_point(destructor:CCloud_UserFile) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_UserFile::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.filename_.Destroy(); + _impl_.url_.Destroy(); +} + +void CCloud_UserFile::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_UserFile::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_UserFile) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000007cu) { + ::memset(&_impl_.ugcid_, 0, static_cast( + reinterpret_cast(&_impl_.steamid_creator_) - + reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.steamid_creator_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_UserFile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 ugcid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ugcid(&has_bits); + _impl_.ugcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string filename = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCloud_UserFile.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_timestamp(&has_bits); + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 file_size = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_file_size(&has_bits); + _impl_.file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string url = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCloud_UserFile.url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 steamid_creator = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 57)) { + _Internal::set_has_steamid_creator(&has_bits); + _impl_.steamid_creator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_UserFile::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_UserFile) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint64 ugcid = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ugcid(), target); + } + + // optional string filename = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCloud_UserFile.filename"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_filename(), target); + } + + // optional uint64 timestamp = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_timestamp(), target); + } + + // optional uint32 file_size = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_file_size(), target); + } + + // optional string url = 6; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCloud_UserFile.url"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_url(), target); + } + + // optional fixed64 steamid_creator = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(7, this->_internal_steamid_creator(), 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:CCloud_UserFile) + return target; +} + +size_t CCloud_UserFile::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_UserFile) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string filename = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional string url = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional uint64 ugcid = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ugcid()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 file_size = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_size()); + } + + // optional uint64 timestamp = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // optional fixed64 steamid_creator = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_UserFile::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_UserFile::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_UserFile::GetClassData() const { return &_class_data_; } + + +void CCloud_UserFile::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:CCloud_UserFile) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ugcid_ = from._impl_.ugcid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.file_size_ = from._impl_.file_size_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.steamid_creator_ = from._impl_.steamid_creator_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_UserFile::CopyFrom(const CCloud_UserFile& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_UserFile) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_UserFile::IsInitialized() const { + return true; +} + +void CCloud_UserFile::InternalSwap(CCloud_UserFile* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCloud_UserFile, _impl_.steamid_creator_) + + sizeof(CCloud_UserFile::_impl_.steamid_creator_) + - PROTOBUF_FIELD_OFFSET(CCloud_UserFile, _impl_.ugcid_)>( + reinterpret_cast(&_impl_.ugcid_), + reinterpret_cast(&other->_impl_.ugcid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_UserFile::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[3]); +} + +// =================================================================== + +class CCloud_GetFileDetails_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CCloud_UserFile& details(const CCloud_GetFileDetails_Response* msg); + static void set_has_details(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CCloud_UserFile& +CCloud_GetFileDetails_Response::_Internal::details(const CCloud_GetFileDetails_Response* msg) { + return *msg->_impl_.details_; +} +CCloud_GetFileDetails_Response::CCloud_GetFileDetails_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:CCloud_GetFileDetails_Response) +} +CCloud_GetFileDetails_Response::CCloud_GetFileDetails_Response(const CCloud_GetFileDetails_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_GetFileDetails_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.details_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_details()) { + _this->_impl_.details_ = new ::CCloud_UserFile(*from._impl_.details_); + } + // @@protoc_insertion_point(copy_constructor:CCloud_GetFileDetails_Response) +} + +inline void CCloud_GetFileDetails_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.details_){nullptr} + }; +} + +CCloud_GetFileDetails_Response::~CCloud_GetFileDetails_Response() { + // @@protoc_insertion_point(destructor:CCloud_GetFileDetails_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_GetFileDetails_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.details_; +} + +void CCloud_GetFileDetails_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_GetFileDetails_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_GetFileDetails_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.details_ != nullptr); + _impl_.details_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_GetFileDetails_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CCloud_UserFile details = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_details(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_GetFileDetails_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetFileDetails_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CCloud_UserFile details = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::details(this), + _Internal::details(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:CCloud_GetFileDetails_Response) + return target; +} + +size_t CCloud_GetFileDetails_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_GetFileDetails_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; + + // optional .CCloud_UserFile details = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.details_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetFileDetails_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_GetFileDetails_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetFileDetails_Response::GetClassData() const { return &_class_data_; } + + +void CCloud_GetFileDetails_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:CCloud_GetFileDetails_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_details()) { + _this->_internal_mutable_details()->::CCloud_UserFile::MergeFrom( + from._internal_details()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_GetFileDetails_Response::CopyFrom(const CCloud_GetFileDetails_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetFileDetails_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_GetFileDetails_Response::IsInitialized() const { + return true; +} + +void CCloud_GetFileDetails_Response::InternalSwap(CCloud_GetFileDetails_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.details_, other->_impl_.details_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetFileDetails_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[4]); +} + +// =================================================================== + +class CCloud_EnumerateUserFiles_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_extended_details(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_start_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_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:CCloud_EnumerateUserFiles_Request) +} +CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_Request(const CCloud_EnumerateUserFiles_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_EnumerateUserFiles_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){} + , decltype(_impl_.extended_details_){} + , decltype(_impl_.count_){} + , decltype(_impl_.start_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.start_index_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.start_index_)); + // @@protoc_insertion_point(copy_constructor:CCloud_EnumerateUserFiles_Request) +} + +inline void CCloud_EnumerateUserFiles_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.extended_details_){false} + , decltype(_impl_.count_){0u} + , decltype(_impl_.start_index_){0u} + }; +} + +CCloud_EnumerateUserFiles_Request::~CCloud_EnumerateUserFiles_Request() { + // @@protoc_insertion_point(destructor:CCloud_EnumerateUserFiles_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_EnumerateUserFiles_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CCloud_EnumerateUserFiles_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_EnumerateUserFiles_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_EnumerateUserFiles_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.start_index_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.start_index_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_EnumerateUserFiles_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_extended_details(&has_bits); + _impl_.extended_details_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_start_index(&has_bits); + _impl_.start_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_EnumerateUserFiles_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_EnumerateUserFiles_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_extended_details(), target); + } + + // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_count(), target); + } + + // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_start_index(), 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:CCloud_EnumerateUserFiles_Request) + return target; +} + +size_t CCloud_EnumerateUserFiles_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_EnumerateUserFiles_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); + } + + // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_EnumerateUserFiles_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_EnumerateUserFiles_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_EnumerateUserFiles_Request::GetClassData() const { return &_class_data_; } + + +void CCloud_EnumerateUserFiles_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:CCloud_EnumerateUserFiles_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.extended_details_ = from._impl_.extended_details_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.count_ = from._impl_.count_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.start_index_ = from._impl_.start_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_EnumerateUserFiles_Request::CopyFrom(const CCloud_EnumerateUserFiles_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_EnumerateUserFiles_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_EnumerateUserFiles_Request::IsInitialized() const { + return true; +} + +void CCloud_EnumerateUserFiles_Request::InternalSwap(CCloud_EnumerateUserFiles_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CCloud_EnumerateUserFiles_Request, _impl_.start_index_) + + sizeof(CCloud_EnumerateUserFiles_Request::_impl_.start_index_) + - PROTOBUF_FIELD_OFFSET(CCloud_EnumerateUserFiles_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_EnumerateUserFiles_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[5]); +} + +// =================================================================== + +class CCloud_EnumerateUserFiles_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_total_files(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_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:CCloud_EnumerateUserFiles_Response) +} +CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_Response(const CCloud_EnumerateUserFiles_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_EnumerateUserFiles_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.files_){from._impl_.files_} + , decltype(_impl_.total_files_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.total_files_ = from._impl_.total_files_; + // @@protoc_insertion_point(copy_constructor:CCloud_EnumerateUserFiles_Response) +} + +inline void CCloud_EnumerateUserFiles_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.files_){arena} + , decltype(_impl_.total_files_){0u} + }; +} + +CCloud_EnumerateUserFiles_Response::~CCloud_EnumerateUserFiles_Response() { + // @@protoc_insertion_point(destructor:CCloud_EnumerateUserFiles_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_EnumerateUserFiles_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.files_.~RepeatedPtrField(); +} + +void CCloud_EnumerateUserFiles_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_EnumerateUserFiles_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_EnumerateUserFiles_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.files_.Clear(); + _impl_.total_files_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_EnumerateUserFiles_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CCloud_UserFile files = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_files(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 total_files = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_total_files(&has_bits); + _impl_.total_files_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_EnumerateUserFiles_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_EnumerateUserFiles_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CCloud_UserFile files = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_files_size()); i < n; i++) { + const auto& repfield = this->_internal_files(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 total_files = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_total_files(), 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:CCloud_EnumerateUserFiles_Response) + return target; +} + +size_t CCloud_EnumerateUserFiles_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_EnumerateUserFiles_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; + + // repeated .CCloud_UserFile files = 1; + total_size += 1UL * this->_internal_files_size(); + for (const auto& msg : this->_impl_.files_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 total_files = 2; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_EnumerateUserFiles_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_EnumerateUserFiles_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_EnumerateUserFiles_Response::GetClassData() const { return &_class_data_; } + + +void CCloud_EnumerateUserFiles_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:CCloud_EnumerateUserFiles_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.files_.MergeFrom(from._impl_.files_); + if (from._internal_has_total_files()) { + _this->_internal_set_total_files(from._internal_total_files()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_EnumerateUserFiles_Response::CopyFrom(const CCloud_EnumerateUserFiles_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_EnumerateUserFiles_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_EnumerateUserFiles_Response::IsInitialized() const { + return true; +} + +void CCloud_EnumerateUserFiles_Response::InternalSwap(CCloud_EnumerateUserFiles_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.files_.InternalSwap(&other->_impl_.files_); + swap(_impl_.total_files_, other->_impl_.total_files_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_EnumerateUserFiles_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[6]); +} + +// =================================================================== + +class CCloud_Delete_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CCloud_Delete_Request::CCloud_Delete_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:CCloud_Delete_Request) +} +CCloud_Delete_Request::CCloud_Delete_Request(const CCloud_Delete_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CCloud_Delete_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CCloud_Delete_Request) +} + +inline void CCloud_Delete_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.appid_){0u} + }; + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CCloud_Delete_Request::~CCloud_Delete_Request() { + // @@protoc_insertion_point(destructor:CCloud_Delete_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CCloud_Delete_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.filename_.Destroy(); +} + +void CCloud_Delete_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CCloud_Delete_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CCloud_Delete_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CCloud_Delete_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string filename = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CCloud_Delete_Request.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CCloud_Delete_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CCloud_Delete_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string filename = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CCloud_Delete_Request.filename"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_filename(), target); + } + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), 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:CCloud_Delete_Request) + return target; +} + +size_t CCloud_Delete_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CCloud_Delete_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string filename = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_Delete_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CCloud_Delete_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_Delete_Request::GetClassData() const { return &_class_data_; } + + +void CCloud_Delete_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:CCloud_Delete_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CCloud_Delete_Request::CopyFrom(const CCloud_Delete_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_Delete_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCloud_Delete_Request::IsInitialized() const { + return true; +} + +void CCloud_Delete_Request::InternalSwap(CCloud_Delete_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_Delete_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[7]); +} + +// =================================================================== + +class CCloud_Delete_Response::_Internal { + public: +}; + +CCloud_Delete_Response::CCloud_Delete_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CCloud_Delete_Response) +} +CCloud_Delete_Response::CCloud_Delete_Response(const CCloud_Delete_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CCloud_Delete_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CCloud_Delete_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_Delete_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_Delete_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CCloud_Delete_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[8]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CCloud_GetUploadServerInfo_Request* +Arena::CreateMaybeMessage< ::CCloud_GetUploadServerInfo_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_GetUploadServerInfo_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_GetUploadServerInfo_Response* +Arena::CreateMaybeMessage< ::CCloud_GetUploadServerInfo_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_GetUploadServerInfo_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_GetFileDetails_Request* +Arena::CreateMaybeMessage< ::CCloud_GetFileDetails_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_GetFileDetails_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_UserFile* +Arena::CreateMaybeMessage< ::CCloud_UserFile >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_UserFile >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_GetFileDetails_Response* +Arena::CreateMaybeMessage< ::CCloud_GetFileDetails_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_GetFileDetails_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_EnumerateUserFiles_Request* +Arena::CreateMaybeMessage< ::CCloud_EnumerateUserFiles_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_EnumerateUserFiles_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_EnumerateUserFiles_Response* +Arena::CreateMaybeMessage< ::CCloud_EnumerateUserFiles_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_EnumerateUserFiles_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_Delete_Request* +Arena::CreateMaybeMessage< ::CCloud_Delete_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_Delete_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CCloud_Delete_Response* +Arena::CreateMaybeMessage< ::CCloud_Delete_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CCloud_Delete_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.h new file mode 100644 index 0000000..69fb74c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_cloud.steamworkssdk.pb.h @@ -0,0 +1,2566 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_cloud.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_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 3021008 < 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 "steammessages_unified_base.steamworkssdk.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fcloud_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto; +class CCloud_Delete_Request; +struct CCloud_Delete_RequestDefaultTypeInternal; +extern CCloud_Delete_RequestDefaultTypeInternal _CCloud_Delete_Request_default_instance_; +class CCloud_Delete_Response; +struct CCloud_Delete_ResponseDefaultTypeInternal; +extern CCloud_Delete_ResponseDefaultTypeInternal _CCloud_Delete_Response_default_instance_; +class CCloud_EnumerateUserFiles_Request; +struct CCloud_EnumerateUserFiles_RequestDefaultTypeInternal; +extern CCloud_EnumerateUserFiles_RequestDefaultTypeInternal _CCloud_EnumerateUserFiles_Request_default_instance_; +class CCloud_EnumerateUserFiles_Response; +struct CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal; +extern CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal _CCloud_EnumerateUserFiles_Response_default_instance_; +class CCloud_GetFileDetails_Request; +struct CCloud_GetFileDetails_RequestDefaultTypeInternal; +extern CCloud_GetFileDetails_RequestDefaultTypeInternal _CCloud_GetFileDetails_Request_default_instance_; +class CCloud_GetFileDetails_Response; +struct CCloud_GetFileDetails_ResponseDefaultTypeInternal; +extern CCloud_GetFileDetails_ResponseDefaultTypeInternal _CCloud_GetFileDetails_Response_default_instance_; +class CCloud_GetUploadServerInfo_Request; +struct CCloud_GetUploadServerInfo_RequestDefaultTypeInternal; +extern CCloud_GetUploadServerInfo_RequestDefaultTypeInternal _CCloud_GetUploadServerInfo_Request_default_instance_; +class CCloud_GetUploadServerInfo_Response; +struct CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal; +extern CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal _CCloud_GetUploadServerInfo_Response_default_instance_; +class CCloud_UserFile; +struct CCloud_UserFileDefaultTypeInternal; +extern CCloud_UserFileDefaultTypeInternal _CCloud_UserFile_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CCloud_Delete_Request* Arena::CreateMaybeMessage<::CCloud_Delete_Request>(Arena*); +template<> ::CCloud_Delete_Response* Arena::CreateMaybeMessage<::CCloud_Delete_Response>(Arena*); +template<> ::CCloud_EnumerateUserFiles_Request* Arena::CreateMaybeMessage<::CCloud_EnumerateUserFiles_Request>(Arena*); +template<> ::CCloud_EnumerateUserFiles_Response* Arena::CreateMaybeMessage<::CCloud_EnumerateUserFiles_Response>(Arena*); +template<> ::CCloud_GetFileDetails_Request* Arena::CreateMaybeMessage<::CCloud_GetFileDetails_Request>(Arena*); +template<> ::CCloud_GetFileDetails_Response* Arena::CreateMaybeMessage<::CCloud_GetFileDetails_Response>(Arena*); +template<> ::CCloud_GetUploadServerInfo_Request* Arena::CreateMaybeMessage<::CCloud_GetUploadServerInfo_Request>(Arena*); +template<> ::CCloud_GetUploadServerInfo_Response* Arena::CreateMaybeMessage<::CCloud_GetUploadServerInfo_Response>(Arena*); +template<> ::CCloud_UserFile* Arena::CreateMaybeMessage<::CCloud_UserFile>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CCloud_GetUploadServerInfo_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetUploadServerInfo_Request) */ { + public: + inline CCloud_GetUploadServerInfo_Request() : CCloud_GetUploadServerInfo_Request(nullptr) {} + ~CCloud_GetUploadServerInfo_Request() override; + explicit PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_GetUploadServerInfo_Request(const CCloud_GetUploadServerInfo_Request& from); + CCloud_GetUploadServerInfo_Request(CCloud_GetUploadServerInfo_Request&& from) noexcept + : CCloud_GetUploadServerInfo_Request() { + *this = ::std::move(from); + } + + inline CCloud_GetUploadServerInfo_Request& operator=(const CCloud_GetUploadServerInfo_Request& from) { + CopyFrom(from); + return *this; + } + inline CCloud_GetUploadServerInfo_Request& operator=(CCloud_GetUploadServerInfo_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_GetUploadServerInfo_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_GetUploadServerInfo_Request* internal_default_instance() { + return reinterpret_cast( + &_CCloud_GetUploadServerInfo_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CCloud_GetUploadServerInfo_Request& a, CCloud_GetUploadServerInfo_Request& b) { + a.Swap(&b); + } + inline void Swap(CCloud_GetUploadServerInfo_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(CCloud_GetUploadServerInfo_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_GetUploadServerInfo_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_GetUploadServerInfo_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_GetUploadServerInfo_Request& from) { + CCloud_GetUploadServerInfo_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(CCloud_GetUploadServerInfo_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_GetUploadServerInfo_Request"; + } + protected: + explicit CCloud_GetUploadServerInfo_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 { + kAppidFieldNumber = 1, + }; + // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_GetUploadServerInfo_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_GetUploadServerInfo_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetUploadServerInfo_Response) */ { + public: + inline CCloud_GetUploadServerInfo_Response() : CCloud_GetUploadServerInfo_Response(nullptr) {} + ~CCloud_GetUploadServerInfo_Response() override; + explicit PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_GetUploadServerInfo_Response(const CCloud_GetUploadServerInfo_Response& from); + CCloud_GetUploadServerInfo_Response(CCloud_GetUploadServerInfo_Response&& from) noexcept + : CCloud_GetUploadServerInfo_Response() { + *this = ::std::move(from); + } + + inline CCloud_GetUploadServerInfo_Response& operator=(const CCloud_GetUploadServerInfo_Response& from) { + CopyFrom(from); + return *this; + } + inline CCloud_GetUploadServerInfo_Response& operator=(CCloud_GetUploadServerInfo_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_GetUploadServerInfo_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_GetUploadServerInfo_Response* internal_default_instance() { + return reinterpret_cast( + &_CCloud_GetUploadServerInfo_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CCloud_GetUploadServerInfo_Response& a, CCloud_GetUploadServerInfo_Response& b) { + a.Swap(&b); + } + inline void Swap(CCloud_GetUploadServerInfo_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(CCloud_GetUploadServerInfo_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_GetUploadServerInfo_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_GetUploadServerInfo_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_GetUploadServerInfo_Response& from) { + CCloud_GetUploadServerInfo_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(CCloud_GetUploadServerInfo_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_GetUploadServerInfo_Response"; + } + protected: + explicit CCloud_GetUploadServerInfo_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 { + kServerUrlFieldNumber = 1, + }; + // optional string server_url = 1; + bool has_server_url() const; + private: + bool _internal_has_server_url() const; + public: + void clear_server_url(); + const std::string& server_url() const; + template + void set_server_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_server_url(); + PROTOBUF_NODISCARD std::string* release_server_url(); + void set_allocated_server_url(std::string* server_url); + private: + const std::string& _internal_server_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_url(const std::string& value); + std::string* _internal_mutable_server_url(); + public: + + // @@protoc_insertion_point(class_scope:CCloud_GetUploadServerInfo_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_url_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_GetFileDetails_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetFileDetails_Request) */ { + public: + inline CCloud_GetFileDetails_Request() : CCloud_GetFileDetails_Request(nullptr) {} + ~CCloud_GetFileDetails_Request() override; + explicit PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_GetFileDetails_Request(const CCloud_GetFileDetails_Request& from); + CCloud_GetFileDetails_Request(CCloud_GetFileDetails_Request&& from) noexcept + : CCloud_GetFileDetails_Request() { + *this = ::std::move(from); + } + + inline CCloud_GetFileDetails_Request& operator=(const CCloud_GetFileDetails_Request& from) { + CopyFrom(from); + return *this; + } + inline CCloud_GetFileDetails_Request& operator=(CCloud_GetFileDetails_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_GetFileDetails_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_GetFileDetails_Request* internal_default_instance() { + return reinterpret_cast( + &_CCloud_GetFileDetails_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CCloud_GetFileDetails_Request& a, CCloud_GetFileDetails_Request& b) { + a.Swap(&b); + } + inline void Swap(CCloud_GetFileDetails_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(CCloud_GetFileDetails_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_GetFileDetails_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_GetFileDetails_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_GetFileDetails_Request& from) { + CCloud_GetFileDetails_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(CCloud_GetFileDetails_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_GetFileDetails_Request"; + } + protected: + explicit CCloud_GetFileDetails_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 { + kUgcidFieldNumber = 1, + kAppidFieldNumber = 2, + }; + // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; + bool has_ugcid() const; + private: + bool _internal_has_ugcid() const; + public: + void clear_ugcid(); + uint64_t ugcid() const; + void set_ugcid(uint64_t value); + private: + uint64_t _internal_ugcid() const; + void _internal_set_ugcid(uint64_t value); + public: + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_GetFileDetails_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t ugcid_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_UserFile final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_UserFile) */ { + public: + inline CCloud_UserFile() : CCloud_UserFile(nullptr) {} + ~CCloud_UserFile() override; + explicit PROTOBUF_CONSTEXPR CCloud_UserFile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_UserFile(const CCloud_UserFile& from); + CCloud_UserFile(CCloud_UserFile&& from) noexcept + : CCloud_UserFile() { + *this = ::std::move(from); + } + + inline CCloud_UserFile& operator=(const CCloud_UserFile& from) { + CopyFrom(from); + return *this; + } + inline CCloud_UserFile& operator=(CCloud_UserFile&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_UserFile& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_UserFile* internal_default_instance() { + return reinterpret_cast( + &_CCloud_UserFile_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CCloud_UserFile& a, CCloud_UserFile& b) { + a.Swap(&b); + } + inline void Swap(CCloud_UserFile* 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(CCloud_UserFile* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_UserFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_UserFile& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_UserFile& from) { + CCloud_UserFile::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(CCloud_UserFile* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_UserFile"; + } + protected: + explicit CCloud_UserFile(::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 { + kFilenameFieldNumber = 3, + kUrlFieldNumber = 6, + kUgcidFieldNumber = 2, + kAppidFieldNumber = 1, + kFileSizeFieldNumber = 5, + kTimestampFieldNumber = 4, + kSteamidCreatorFieldNumber = 7, + }; + // optional string filename = 3; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional string url = 6; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional uint64 ugcid = 2; + bool has_ugcid() const; + private: + bool _internal_has_ugcid() const; + public: + void clear_ugcid(); + uint64_t ugcid() const; + void set_ugcid(uint64_t value); + private: + uint64_t _internal_ugcid() const; + void _internal_set_ugcid(uint64_t value); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 file_size = 5; + bool has_file_size() const; + private: + bool _internal_has_file_size() const; + public: + void clear_file_size(); + uint32_t file_size() const; + void set_file_size(uint32_t value); + private: + uint32_t _internal_file_size() const; + void _internal_set_file_size(uint32_t value); + public: + + // optional uint64 timestamp = 4; + bool has_timestamp() const; + private: + bool _internal_has_timestamp() const; + public: + 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: + + // optional fixed64 steamid_creator = 7; + bool has_steamid_creator() const; + private: + bool _internal_has_steamid_creator() const; + public: + void clear_steamid_creator(); + uint64_t steamid_creator() const; + void set_steamid_creator(uint64_t value); + private: + uint64_t _internal_steamid_creator() const; + void _internal_set_steamid_creator(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_UserFile) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + uint64_t ugcid_; + uint32_t appid_; + uint32_t file_size_; + uint64_t timestamp_; + uint64_t steamid_creator_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_GetFileDetails_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetFileDetails_Response) */ { + public: + inline CCloud_GetFileDetails_Response() : CCloud_GetFileDetails_Response(nullptr) {} + ~CCloud_GetFileDetails_Response() override; + explicit PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_GetFileDetails_Response(const CCloud_GetFileDetails_Response& from); + CCloud_GetFileDetails_Response(CCloud_GetFileDetails_Response&& from) noexcept + : CCloud_GetFileDetails_Response() { + *this = ::std::move(from); + } + + inline CCloud_GetFileDetails_Response& operator=(const CCloud_GetFileDetails_Response& from) { + CopyFrom(from); + return *this; + } + inline CCloud_GetFileDetails_Response& operator=(CCloud_GetFileDetails_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_GetFileDetails_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_GetFileDetails_Response* internal_default_instance() { + return reinterpret_cast( + &_CCloud_GetFileDetails_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CCloud_GetFileDetails_Response& a, CCloud_GetFileDetails_Response& b) { + a.Swap(&b); + } + inline void Swap(CCloud_GetFileDetails_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(CCloud_GetFileDetails_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_GetFileDetails_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_GetFileDetails_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_GetFileDetails_Response& from) { + CCloud_GetFileDetails_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(CCloud_GetFileDetails_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_GetFileDetails_Response"; + } + protected: + explicit CCloud_GetFileDetails_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 { + kDetailsFieldNumber = 1, + }; + // optional .CCloud_UserFile details = 1; + bool has_details() const; + private: + bool _internal_has_details() const; + public: + void clear_details(); + const ::CCloud_UserFile& details() const; + PROTOBUF_NODISCARD ::CCloud_UserFile* release_details(); + ::CCloud_UserFile* mutable_details(); + void set_allocated_details(::CCloud_UserFile* details); + private: + const ::CCloud_UserFile& _internal_details() const; + ::CCloud_UserFile* _internal_mutable_details(); + public: + void unsafe_arena_set_allocated_details( + ::CCloud_UserFile* details); + ::CCloud_UserFile* unsafe_arena_release_details(); + + // @@protoc_insertion_point(class_scope:CCloud_GetFileDetails_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CCloud_UserFile* details_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_EnumerateUserFiles_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_EnumerateUserFiles_Request) */ { + public: + inline CCloud_EnumerateUserFiles_Request() : CCloud_EnumerateUserFiles_Request(nullptr) {} + ~CCloud_EnumerateUserFiles_Request() override; + explicit PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_EnumerateUserFiles_Request(const CCloud_EnumerateUserFiles_Request& from); + CCloud_EnumerateUserFiles_Request(CCloud_EnumerateUserFiles_Request&& from) noexcept + : CCloud_EnumerateUserFiles_Request() { + *this = ::std::move(from); + } + + inline CCloud_EnumerateUserFiles_Request& operator=(const CCloud_EnumerateUserFiles_Request& from) { + CopyFrom(from); + return *this; + } + inline CCloud_EnumerateUserFiles_Request& operator=(CCloud_EnumerateUserFiles_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_EnumerateUserFiles_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_EnumerateUserFiles_Request* internal_default_instance() { + return reinterpret_cast( + &_CCloud_EnumerateUserFiles_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CCloud_EnumerateUserFiles_Request& a, CCloud_EnumerateUserFiles_Request& b) { + a.Swap(&b); + } + inline void Swap(CCloud_EnumerateUserFiles_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(CCloud_EnumerateUserFiles_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_EnumerateUserFiles_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_EnumerateUserFiles_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_EnumerateUserFiles_Request& from) { + CCloud_EnumerateUserFiles_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(CCloud_EnumerateUserFiles_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_EnumerateUserFiles_Request"; + } + protected: + explicit CCloud_EnumerateUserFiles_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 { + kAppidFieldNumber = 1, + kExtendedDetailsFieldNumber = 2, + kCountFieldNumber = 3, + kStartIndexFieldNumber = 4, + }; + // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; + bool has_extended_details() const; + private: + bool _internal_has_extended_details() const; + public: + void clear_extended_details(); + bool extended_details() const; + void set_extended_details(bool value); + private: + bool _internal_extended_details() const; + void _internal_set_extended_details(bool value); + public: + + // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + uint32_t count() const; + void set_count(uint32_t value); + private: + uint32_t _internal_count() const; + void _internal_set_count(uint32_t value); + public: + + // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; + bool has_start_index() const; + private: + bool _internal_has_start_index() const; + public: + void clear_start_index(); + uint32_t start_index() const; + void set_start_index(uint32_t value); + private: + uint32_t _internal_start_index() const; + void _internal_set_start_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_EnumerateUserFiles_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + bool extended_details_; + uint32_t count_; + uint32_t start_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_EnumerateUserFiles_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_EnumerateUserFiles_Response) */ { + public: + inline CCloud_EnumerateUserFiles_Response() : CCloud_EnumerateUserFiles_Response(nullptr) {} + ~CCloud_EnumerateUserFiles_Response() override; + explicit PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_EnumerateUserFiles_Response(const CCloud_EnumerateUserFiles_Response& from); + CCloud_EnumerateUserFiles_Response(CCloud_EnumerateUserFiles_Response&& from) noexcept + : CCloud_EnumerateUserFiles_Response() { + *this = ::std::move(from); + } + + inline CCloud_EnumerateUserFiles_Response& operator=(const CCloud_EnumerateUserFiles_Response& from) { + CopyFrom(from); + return *this; + } + inline CCloud_EnumerateUserFiles_Response& operator=(CCloud_EnumerateUserFiles_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_EnumerateUserFiles_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_EnumerateUserFiles_Response* internal_default_instance() { + return reinterpret_cast( + &_CCloud_EnumerateUserFiles_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CCloud_EnumerateUserFiles_Response& a, CCloud_EnumerateUserFiles_Response& b) { + a.Swap(&b); + } + inline void Swap(CCloud_EnumerateUserFiles_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(CCloud_EnumerateUserFiles_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_EnumerateUserFiles_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_EnumerateUserFiles_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_EnumerateUserFiles_Response& from) { + CCloud_EnumerateUserFiles_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(CCloud_EnumerateUserFiles_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_EnumerateUserFiles_Response"; + } + protected: + explicit CCloud_EnumerateUserFiles_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 { + kFilesFieldNumber = 1, + kTotalFilesFieldNumber = 2, + }; + // repeated .CCloud_UserFile files = 1; + int files_size() const; + private: + int _internal_files_size() const; + public: + void clear_files(); + ::CCloud_UserFile* mutable_files(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >* + mutable_files(); + private: + const ::CCloud_UserFile& _internal_files(int index) const; + ::CCloud_UserFile* _internal_add_files(); + public: + const ::CCloud_UserFile& files(int index) const; + ::CCloud_UserFile* add_files(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >& + files() const; + + // optional uint32 total_files = 2; + bool has_total_files() const; + private: + bool _internal_has_total_files() const; + public: + void clear_total_files(); + uint32_t total_files() const; + void set_total_files(uint32_t value); + private: + uint32_t _internal_total_files() const; + void _internal_set_total_files(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_EnumerateUserFiles_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile > files_; + uint32_t total_files_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_Delete_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_Delete_Request) */ { + public: + inline CCloud_Delete_Request() : CCloud_Delete_Request(nullptr) {} + ~CCloud_Delete_Request() override; + explicit PROTOBUF_CONSTEXPR CCloud_Delete_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_Delete_Request(const CCloud_Delete_Request& from); + CCloud_Delete_Request(CCloud_Delete_Request&& from) noexcept + : CCloud_Delete_Request() { + *this = ::std::move(from); + } + + inline CCloud_Delete_Request& operator=(const CCloud_Delete_Request& from) { + CopyFrom(from); + return *this; + } + inline CCloud_Delete_Request& operator=(CCloud_Delete_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_Delete_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_Delete_Request* internal_default_instance() { + return reinterpret_cast( + &_CCloud_Delete_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CCloud_Delete_Request& a, CCloud_Delete_Request& b) { + a.Swap(&b); + } + inline void Swap(CCloud_Delete_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(CCloud_Delete_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_Delete_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CCloud_Delete_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CCloud_Delete_Request& from) { + CCloud_Delete_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(CCloud_Delete_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CCloud_Delete_Request"; + } + protected: + explicit CCloud_Delete_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 { + kFilenameFieldNumber = 1, + kAppidFieldNumber = 2, + }; + // optional string filename = 1; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CCloud_Delete_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CCloud_Delete_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CCloud_Delete_Response) */ { + public: + inline CCloud_Delete_Response() : CCloud_Delete_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CCloud_Delete_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CCloud_Delete_Response(const CCloud_Delete_Response& from); + CCloud_Delete_Response(CCloud_Delete_Response&& from) noexcept + : CCloud_Delete_Response() { + *this = ::std::move(from); + } + + inline CCloud_Delete_Response& operator=(const CCloud_Delete_Response& from) { + CopyFrom(from); + return *this; + } + inline CCloud_Delete_Response& operator=(CCloud_Delete_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CCloud_Delete_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CCloud_Delete_Response* internal_default_instance() { + return reinterpret_cast( + &_CCloud_Delete_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CCloud_Delete_Response& a, CCloud_Delete_Response& b) { + a.Swap(&b); + } + inline void Swap(CCloud_Delete_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(CCloud_Delete_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CCloud_Delete_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CCloud_Delete_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CCloud_Delete_Response& 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 "CCloud_Delete_Response"; + } + protected: + explicit CCloud_Delete_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CCloud_Delete_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CCloud_GetUploadServerInfo_Request + +// optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; +inline bool CCloud_GetUploadServerInfo_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_GetUploadServerInfo_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCloud_GetUploadServerInfo_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCloud_GetUploadServerInfo_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCloud_GetUploadServerInfo_Request::appid() const { + // @@protoc_insertion_point(field_get:CCloud_GetUploadServerInfo_Request.appid) + return _internal_appid(); +} +inline void CCloud_GetUploadServerInfo_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CCloud_GetUploadServerInfo_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCloud_GetUploadServerInfo_Request.appid) +} + +// ------------------------------------------------------------------- + +// CCloud_GetUploadServerInfo_Response + +// optional string server_url = 1; +inline bool CCloud_GetUploadServerInfo_Response::_internal_has_server_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_GetUploadServerInfo_Response::has_server_url() const { + return _internal_has_server_url(); +} +inline void CCloud_GetUploadServerInfo_Response::clear_server_url() { + _impl_.server_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCloud_GetUploadServerInfo_Response::server_url() const { + // @@protoc_insertion_point(field_get:CCloud_GetUploadServerInfo_Response.server_url) + return _internal_server_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCloud_GetUploadServerInfo_Response::set_server_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.server_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCloud_GetUploadServerInfo_Response.server_url) +} +inline std::string* CCloud_GetUploadServerInfo_Response::mutable_server_url() { + std::string* _s = _internal_mutable_server_url(); + // @@protoc_insertion_point(field_mutable:CCloud_GetUploadServerInfo_Response.server_url) + return _s; +} +inline const std::string& CCloud_GetUploadServerInfo_Response::_internal_server_url() const { + return _impl_.server_url_.Get(); +} +inline void CCloud_GetUploadServerInfo_Response::_internal_set_server_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.server_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCloud_GetUploadServerInfo_Response::_internal_mutable_server_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.server_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCloud_GetUploadServerInfo_Response::release_server_url() { + // @@protoc_insertion_point(field_release:CCloud_GetUploadServerInfo_Response.server_url) + if (!_internal_has_server_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.server_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_url_.IsDefault()) { + _impl_.server_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCloud_GetUploadServerInfo_Response::set_allocated_server_url(std::string* server_url) { + if (server_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.server_url_.SetAllocated(server_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.server_url_.IsDefault()) { + _impl_.server_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCloud_GetUploadServerInfo_Response.server_url) +} + +// ------------------------------------------------------------------- + +// CCloud_GetFileDetails_Request + +// optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; +inline bool CCloud_GetFileDetails_Request::_internal_has_ugcid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_GetFileDetails_Request::has_ugcid() const { + return _internal_has_ugcid(); +} +inline void CCloud_GetFileDetails_Request::clear_ugcid() { + _impl_.ugcid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CCloud_GetFileDetails_Request::_internal_ugcid() const { + return _impl_.ugcid_; +} +inline uint64_t CCloud_GetFileDetails_Request::ugcid() const { + // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Request.ugcid) + return _internal_ugcid(); +} +inline void CCloud_GetFileDetails_Request::_internal_set_ugcid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ugcid_ = value; +} +inline void CCloud_GetFileDetails_Request::set_ugcid(uint64_t value) { + _internal_set_ugcid(value); + // @@protoc_insertion_point(field_set:CCloud_GetFileDetails_Request.ugcid) +} + +// optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; +inline bool CCloud_GetFileDetails_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCloud_GetFileDetails_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCloud_GetFileDetails_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCloud_GetFileDetails_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCloud_GetFileDetails_Request::appid() const { + // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Request.appid) + return _internal_appid(); +} +inline void CCloud_GetFileDetails_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CCloud_GetFileDetails_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCloud_GetFileDetails_Request.appid) +} + +// ------------------------------------------------------------------- + +// CCloud_UserFile + +// optional uint32 appid = 1; +inline bool CCloud_UserFile::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCloud_UserFile::has_appid() const { + return _internal_has_appid(); +} +inline void CCloud_UserFile::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CCloud_UserFile::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCloud_UserFile::appid() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.appid) + return _internal_appid(); +} +inline void CCloud_UserFile::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CCloud_UserFile::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCloud_UserFile.appid) +} + +// optional uint64 ugcid = 2; +inline bool CCloud_UserFile::_internal_has_ugcid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCloud_UserFile::has_ugcid() const { + return _internal_has_ugcid(); +} +inline void CCloud_UserFile::clear_ugcid() { + _impl_.ugcid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CCloud_UserFile::_internal_ugcid() const { + return _impl_.ugcid_; +} +inline uint64_t CCloud_UserFile::ugcid() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.ugcid) + return _internal_ugcid(); +} +inline void CCloud_UserFile::_internal_set_ugcid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ugcid_ = value; +} +inline void CCloud_UserFile::set_ugcid(uint64_t value) { + _internal_set_ugcid(value); + // @@protoc_insertion_point(field_set:CCloud_UserFile.ugcid) +} + +// optional string filename = 3; +inline bool CCloud_UserFile::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_UserFile::has_filename() const { + return _internal_has_filename(); +} +inline void CCloud_UserFile::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCloud_UserFile::filename() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCloud_UserFile::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCloud_UserFile.filename) +} +inline std::string* CCloud_UserFile::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:CCloud_UserFile.filename) + return _s; +} +inline const std::string& CCloud_UserFile::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void CCloud_UserFile::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCloud_UserFile::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCloud_UserFile::release_filename() { + // @@protoc_insertion_point(field_release:CCloud_UserFile.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCloud_UserFile::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCloud_UserFile.filename) +} + +// optional uint64 timestamp = 4; +inline bool CCloud_UserFile::_internal_has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CCloud_UserFile::has_timestamp() const { + return _internal_has_timestamp(); +} +inline void CCloud_UserFile::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CCloud_UserFile::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t CCloud_UserFile::timestamp() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.timestamp) + return _internal_timestamp(); +} +inline void CCloud_UserFile::_internal_set_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.timestamp_ = value; +} +inline void CCloud_UserFile::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:CCloud_UserFile.timestamp) +} + +// optional uint32 file_size = 5; +inline bool CCloud_UserFile::_internal_has_file_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CCloud_UserFile::has_file_size() const { + return _internal_has_file_size(); +} +inline void CCloud_UserFile::clear_file_size() { + _impl_.file_size_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CCloud_UserFile::_internal_file_size() const { + return _impl_.file_size_; +} +inline uint32_t CCloud_UserFile::file_size() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.file_size) + return _internal_file_size(); +} +inline void CCloud_UserFile::_internal_set_file_size(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.file_size_ = value; +} +inline void CCloud_UserFile::set_file_size(uint32_t value) { + _internal_set_file_size(value); + // @@protoc_insertion_point(field_set:CCloud_UserFile.file_size) +} + +// optional string url = 6; +inline bool CCloud_UserFile::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCloud_UserFile::has_url() const { + return _internal_has_url(); +} +inline void CCloud_UserFile::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CCloud_UserFile::url() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCloud_UserFile::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCloud_UserFile.url) +} +inline std::string* CCloud_UserFile::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:CCloud_UserFile.url) + return _s; +} +inline const std::string& CCloud_UserFile::_internal_url() const { + return _impl_.url_.Get(); +} +inline void CCloud_UserFile::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCloud_UserFile::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCloud_UserFile::release_url() { + // @@protoc_insertion_point(field_release:CCloud_UserFile.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCloud_UserFile::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCloud_UserFile.url) +} + +// optional fixed64 steamid_creator = 7; +inline bool CCloud_UserFile::_internal_has_steamid_creator() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CCloud_UserFile::has_steamid_creator() const { + return _internal_has_steamid_creator(); +} +inline void CCloud_UserFile::clear_steamid_creator() { + _impl_.steamid_creator_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint64_t CCloud_UserFile::_internal_steamid_creator() const { + return _impl_.steamid_creator_; +} +inline uint64_t CCloud_UserFile::steamid_creator() const { + // @@protoc_insertion_point(field_get:CCloud_UserFile.steamid_creator) + return _internal_steamid_creator(); +} +inline void CCloud_UserFile::_internal_set_steamid_creator(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.steamid_creator_ = value; +} +inline void CCloud_UserFile::set_steamid_creator(uint64_t value) { + _internal_set_steamid_creator(value); + // @@protoc_insertion_point(field_set:CCloud_UserFile.steamid_creator) +} + +// ------------------------------------------------------------------- + +// CCloud_GetFileDetails_Response + +// optional .CCloud_UserFile details = 1; +inline bool CCloud_GetFileDetails_Response::_internal_has_details() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.details_ != nullptr); + return value; +} +inline bool CCloud_GetFileDetails_Response::has_details() const { + return _internal_has_details(); +} +inline void CCloud_GetFileDetails_Response::clear_details() { + if (_impl_.details_ != nullptr) _impl_.details_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CCloud_UserFile& CCloud_GetFileDetails_Response::_internal_details() const { + const ::CCloud_UserFile* p = _impl_.details_; + return p != nullptr ? *p : reinterpret_cast( + ::_CCloud_UserFile_default_instance_); +} +inline const ::CCloud_UserFile& CCloud_GetFileDetails_Response::details() const { + // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Response.details) + return _internal_details(); +} +inline void CCloud_GetFileDetails_Response::unsafe_arena_set_allocated_details( + ::CCloud_UserFile* details) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.details_); + } + _impl_.details_ = details; + if (details) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCloud_GetFileDetails_Response.details) +} +inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::release_details() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCloud_UserFile* temp = _impl_.details_; + _impl_.details_ = 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 ::CCloud_UserFile* CCloud_GetFileDetails_Response::unsafe_arena_release_details() { + // @@protoc_insertion_point(field_release:CCloud_GetFileDetails_Response.details) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CCloud_UserFile* temp = _impl_.details_; + _impl_.details_ = nullptr; + return temp; +} +inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::_internal_mutable_details() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.details_ == nullptr) { + auto* p = CreateMaybeMessage<::CCloud_UserFile>(GetArenaForAllocation()); + _impl_.details_ = p; + } + return _impl_.details_; +} +inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::mutable_details() { + ::CCloud_UserFile* _msg = _internal_mutable_details(); + // @@protoc_insertion_point(field_mutable:CCloud_GetFileDetails_Response.details) + return _msg; +} +inline void CCloud_GetFileDetails_Response::set_allocated_details(::CCloud_UserFile* details) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.details_; + } + if (details) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(details); + if (message_arena != submessage_arena) { + details = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, details, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.details_ = details; + // @@protoc_insertion_point(field_set_allocated:CCloud_GetFileDetails_Response.details) +} + +// ------------------------------------------------------------------- + +// CCloud_EnumerateUserFiles_Request + +// optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; +inline bool CCloud_EnumerateUserFiles_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_EnumerateUserFiles_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCloud_EnumerateUserFiles_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::appid() const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.appid) + return _internal_appid(); +} +inline void CCloud_EnumerateUserFiles_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CCloud_EnumerateUserFiles_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.appid) +} + +// optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; +inline bool CCloud_EnumerateUserFiles_Request::_internal_has_extended_details() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCloud_EnumerateUserFiles_Request::has_extended_details() const { + return _internal_has_extended_details(); +} +inline void CCloud_EnumerateUserFiles_Request::clear_extended_details() { + _impl_.extended_details_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CCloud_EnumerateUserFiles_Request::_internal_extended_details() const { + return _impl_.extended_details_; +} +inline bool CCloud_EnumerateUserFiles_Request::extended_details() const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.extended_details) + return _internal_extended_details(); +} +inline void CCloud_EnumerateUserFiles_Request::_internal_set_extended_details(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.extended_details_ = value; +} +inline void CCloud_EnumerateUserFiles_Request::set_extended_details(bool value) { + _internal_set_extended_details(value); + // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.extended_details) +} + +// optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; +inline bool CCloud_EnumerateUserFiles_Request::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CCloud_EnumerateUserFiles_Request::has_count() const { + return _internal_has_count(); +} +inline void CCloud_EnumerateUserFiles_Request::clear_count() { + _impl_.count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_count() const { + return _impl_.count_; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::count() const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.count) + return _internal_count(); +} +inline void CCloud_EnumerateUserFiles_Request::_internal_set_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.count_ = value; +} +inline void CCloud_EnumerateUserFiles_Request::set_count(uint32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.count) +} + +// optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; +inline bool CCloud_EnumerateUserFiles_Request::_internal_has_start_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CCloud_EnumerateUserFiles_Request::has_start_index() const { + return _internal_has_start_index(); +} +inline void CCloud_EnumerateUserFiles_Request::clear_start_index() { + _impl_.start_index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_start_index() const { + return _impl_.start_index_; +} +inline uint32_t CCloud_EnumerateUserFiles_Request::start_index() const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.start_index) + return _internal_start_index(); +} +inline void CCloud_EnumerateUserFiles_Request::_internal_set_start_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.start_index_ = value; +} +inline void CCloud_EnumerateUserFiles_Request::set_start_index(uint32_t value) { + _internal_set_start_index(value); + // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.start_index) +} + +// ------------------------------------------------------------------- + +// CCloud_EnumerateUserFiles_Response + +// repeated .CCloud_UserFile files = 1; +inline int CCloud_EnumerateUserFiles_Response::_internal_files_size() const { + return _impl_.files_.size(); +} +inline int CCloud_EnumerateUserFiles_Response::files_size() const { + return _internal_files_size(); +} +inline void CCloud_EnumerateUserFiles_Response::clear_files() { + _impl_.files_.Clear(); +} +inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::mutable_files(int index) { + // @@protoc_insertion_point(field_mutable:CCloud_EnumerateUserFiles_Response.files) + return _impl_.files_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >* +CCloud_EnumerateUserFiles_Response::mutable_files() { + // @@protoc_insertion_point(field_mutable_list:CCloud_EnumerateUserFiles_Response.files) + return &_impl_.files_; +} +inline const ::CCloud_UserFile& CCloud_EnumerateUserFiles_Response::_internal_files(int index) const { + return _impl_.files_.Get(index); +} +inline const ::CCloud_UserFile& CCloud_EnumerateUserFiles_Response::files(int index) const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Response.files) + return _internal_files(index); +} +inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::_internal_add_files() { + return _impl_.files_.Add(); +} +inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::add_files() { + ::CCloud_UserFile* _add = _internal_add_files(); + // @@protoc_insertion_point(field_add:CCloud_EnumerateUserFiles_Response.files) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >& +CCloud_EnumerateUserFiles_Response::files() const { + // @@protoc_insertion_point(field_list:CCloud_EnumerateUserFiles_Response.files) + return _impl_.files_; +} + +// optional uint32 total_files = 2; +inline bool CCloud_EnumerateUserFiles_Response::_internal_has_total_files() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_EnumerateUserFiles_Response::has_total_files() const { + return _internal_has_total_files(); +} +inline void CCloud_EnumerateUserFiles_Response::clear_total_files() { + _impl_.total_files_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CCloud_EnumerateUserFiles_Response::_internal_total_files() const { + return _impl_.total_files_; +} +inline uint32_t CCloud_EnumerateUserFiles_Response::total_files() const { + // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Response.total_files) + return _internal_total_files(); +} +inline void CCloud_EnumerateUserFiles_Response::_internal_set_total_files(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.total_files_ = value; +} +inline void CCloud_EnumerateUserFiles_Response::set_total_files(uint32_t value) { + _internal_set_total_files(value); + // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Response.total_files) +} + +// ------------------------------------------------------------------- + +// CCloud_Delete_Request + +// optional string filename = 1; +inline bool CCloud_Delete_Request::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CCloud_Delete_Request::has_filename() const { + return _internal_has_filename(); +} +inline void CCloud_Delete_Request::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CCloud_Delete_Request::filename() const { + // @@protoc_insertion_point(field_get:CCloud_Delete_Request.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CCloud_Delete_Request::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CCloud_Delete_Request.filename) +} +inline std::string* CCloud_Delete_Request::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:CCloud_Delete_Request.filename) + return _s; +} +inline const std::string& CCloud_Delete_Request::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void CCloud_Delete_Request::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CCloud_Delete_Request::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CCloud_Delete_Request::release_filename() { + // @@protoc_insertion_point(field_release:CCloud_Delete_Request.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CCloud_Delete_Request::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CCloud_Delete_Request.filename) +} + +// optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; +inline bool CCloud_Delete_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CCloud_Delete_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CCloud_Delete_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CCloud_Delete_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CCloud_Delete_Request::appid() const { + // @@protoc_insertion_point(field_get:CCloud_Delete_Request.appid) + return _internal_appid(); +} +inline void CCloud_Delete_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CCloud_Delete_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CCloud_Delete_Request.appid) +} + +// ------------------------------------------------------------------- + +// CCloud_Delete_Response + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.cc new file mode 100644 index 0000000..3354f6d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.cc @@ -0,0 +1,2694 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_gamenetworkingui.proto + +#include "steammessages_gamenetworkingui.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; + +PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState( + ::_pbi::ConstantInitialized) {} +struct CGameNetworkingUI_GlobalStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameNetworkingUI_GlobalStateDefaultTypeInternal() {} + union { + CGameNetworkingUI_GlobalState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_GlobalStateDefaultTypeInternal _CGameNetworkingUI_GlobalState_default_instance_; +PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.connection_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.identity_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.identity_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.close_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.status_loc_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sdrpopid_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sdrpopid_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.address_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.p2p_routing_)*/nullptr + , /*decltype(_impl_.e2e_quality_local_)*/nullptr + , /*decltype(_impl_.e2e_quality_remote_)*/nullptr + , /*decltype(_impl_.front_quality_local_)*/nullptr + , /*decltype(_impl_.front_quality_remote_)*/nullptr + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.connection_id_local_)*/0u + , /*decltype(_impl_.connection_state_)*/0u + , /*decltype(_impl_.start_time_)*/0u + , /*decltype(_impl_.close_time_)*/0u + , /*decltype(_impl_.close_reason_)*/0u + , /*decltype(_impl_.transport_kind_)*/0u + , /*decltype(_impl_.ping_interior_)*/0u + , /*decltype(_impl_.ping_remote_front_)*/0u + , /*decltype(_impl_.ping_default_internet_route_)*/0u + , /*decltype(_impl_.e2e_quality_remote_instantaneous_time_)*/uint64_t{0u} + , /*decltype(_impl_.e2e_quality_remote_lifetime_time_)*/uint64_t{0u} + , /*decltype(_impl_.front_quality_remote_instantaneous_time_)*/uint64_t{0u} + , /*decltype(_impl_.front_quality_remote_lifetime_time_)*/uint64_t{0u}} {} +struct CGameNetworkingUI_ConnectionStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameNetworkingUI_ConnectionStateDefaultTypeInternal() {} + union { + CGameNetworkingUI_ConnectionState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_ConnectionStateDefaultTypeInternal _CGameNetworkingUI_ConnectionState_default_instance_; +PROTOBUF_CONSTEXPR CGameNetworkingUI_Message::CGameNetworkingUI_Message( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.connection_state_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CGameNetworkingUI_MessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameNetworkingUI_MessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameNetworkingUI_MessageDefaultTypeInternal() {} + union { + CGameNetworkingUI_Message _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_MessageDefaultTypeInternal _CGameNetworkingUI_Message_default_instance_; +PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sdrpop_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.sdrpop_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.transport_kind_)*/0u + , /*decltype(_impl_.ping_ms_)*/0u + , /*decltype(_impl_.packet_loss_)*/0 + , /*decltype(_impl_.ping_default_internet_route_)*/0u + , /*decltype(_impl_.ip_was_shared_)*/false + , /*decltype(_impl_.connection_state_)*/0u} {} +struct CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal() {} + union { + CGameNetworkingUI_ConnectionSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal _CGameNetworkingUI_ConnectionSummary_default_instance_; +PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.main_cxn_)*/nullptr + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.ip_was_shared_with_friend_)*/false + , /*decltype(_impl_.ip_was_shared_with_nonfriend_)*/false + , /*decltype(_impl_.active_connections_)*/0u} {} +struct CGameNetworkingUI_AppSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CGameNetworkingUI_AppSummaryDefaultTypeInternal() {} + union { + CGameNetworkingUI_AppSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_AppSummaryDefaultTypeInternal _CGameNetworkingUI_AppSummary_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5fgamenetworkingui_2eproto[5]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fgamenetworkingui_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fgamenetworkingui_2eproto = nullptr; + +const uint32_t TableStruct_steammessages_5fgamenetworkingui_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_GlobalState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_key_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_id_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.identity_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.identity_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_state_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.start_time_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_time_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_reason_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_message_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.status_loc_token_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.transport_kind_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.sdrpopid_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.sdrpopid_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.address_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.p2p_routing_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_interior_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_remote_front_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_default_internet_route_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_instantaneous_time_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_lifetime_time_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_instantaneous_time_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_lifetime_time_), + 0, + 13, + 14, + 1, + 2, + 15, + 16, + 17, + 18, + 3, + 4, + 19, + 5, + 6, + 7, + 8, + 20, + 21, + 22, + 9, + 10, + 23, + 24, + 11, + 12, + 25, + 26, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_Message, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_Message, _impl_.connection_state_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.transport_kind_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.connection_state_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.sdrpop_local_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.sdrpop_remote_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ping_ms_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.packet_loss_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ping_default_internet_route_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ip_was_shared_), + 2, + 7, + 0, + 1, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.ip_was_shared_with_friend_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.ip_was_shared_with_nonfriend_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.active_connections_), + PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.main_cxn_), + 1, + 2, + 3, + 4, + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::CGameNetworkingUI_GlobalState)}, + { 6, 39, -1, sizeof(::CGameNetworkingUI_ConnectionState)}, + { 66, -1, -1, sizeof(::CGameNetworkingUI_Message)}, + { 73, 87, -1, sizeof(::CGameNetworkingUI_ConnectionSummary)}, + { 95, 106, -1, sizeof(::CGameNetworkingUI_AppSummary)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CGameNetworkingUI_GlobalState_default_instance_._instance, + &::_CGameNetworkingUI_ConnectionState_default_instance_._instance, + &::_CGameNetworkingUI_Message_default_instance_._instance, + &::_CGameNetworkingUI_ConnectionSummary_default_instance_._instance, + &::_CGameNetworkingUI_AppSummary_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5fgamenetworkingui_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n$steammessages_gamenetworkingui.proto\032%" + "steamnetworkingsockets_messages.proto\032 s" + "teamdatagram_messages_sdr.proto\"\037\n\035CGame" + "NetworkingUI_GlobalState\"\317\007\n!CGameNetwor" + "kingUI_ConnectionState\022\026\n\016connection_key" + "\030\001 \001(\t\022\r\n\005appid\030\002 \001(\r\022\033\n\023connection_id_l" + "ocal\030\003 \001(\007\022\026\n\016identity_local\030\004 \001(\t\022\027\n\017id" + "entity_remote\030\005 \001(\t\022\030\n\020connection_state\030" + "\n \001(\r\022\022\n\nstart_time\030\014 \001(\r\022\022\n\nclose_time\030" + "\r \001(\r\022\024\n\014close_reason\030\016 \001(\r\022\025\n\rclose_mes" + "sage\030\017 \001(\t\022\030\n\020status_loc_token\030\020 \001(\t\022\026\n\016" + "transport_kind\030\024 \001(\r\022\026\n\016sdrpopid_local\030\025" + " \001(\t\022\027\n\017sdrpopid_remote\030\026 \001(\t\022\026\n\016address" + "_remote\030\027 \001(\t\0228\n\013p2p_routing\030\030 \001(\0132#.CMs" + "gSteamDatagramP2PRoutingSummary\022\025\n\rping_" + "interior\030\031 \001(\r\022\031\n\021ping_remote_front\030\032 \001(" + "\r\022#\n\033ping_default_internet_route\030\033 \001(\r\022>" + "\n\021e2e_quality_local\030\036 \001(\0132#.CMsgSteamDat" + "agramConnectionQuality\022\?\n\022e2e_quality_re" + "mote\030\037 \001(\0132#.CMsgSteamDatagramConnection" + "Quality\022-\n%e2e_quality_remote_instantane" + "ous_time\030 \001(\004\022(\n e2e_quality_remote_lif" + "etime_time\030! \001(\004\022@\n\023front_quality_local\030" + "( \001(\0132#.CMsgSteamDatagramConnectionQuali" + "ty\022A\n\024front_quality_remote\030) \001(\0132#.CMsgS" + "teamDatagramConnectionQuality\022/\n\'front_q" + "uality_remote_instantaneous_time\030* \001(\004\022*" + "\n\"front_quality_remote_lifetime_time\030+ \001" + "(\004\"Y\n\031CGameNetworkingUI_Message\022<\n\020conne" + "ction_state\030\001 \003(\0132\".CGameNetworkingUI_Co" + "nnectionState\"\346\001\n#CGameNetworkingUI_Conn" + "ectionSummary\022\026\n\016transport_kind\030\001 \001(\r\022\030\n" + "\020connection_state\030\010 \001(\r\022\024\n\014sdrpop_local\030" + "\002 \001(\t\022\025\n\rsdrpop_remote\030\003 \001(\t\022\017\n\007ping_ms\030" + "\004 \001(\r\022\023\n\013packet_loss\030\005 \001(\002\022#\n\033ping_defau" + "lt_internet_route\030\006 \001(\r\022\025\n\rip_was_shared" + "\030\007 \001(\010\"\312\001\n\034CGameNetworkingUI_AppSummary\022" + "\r\n\005appid\030\001 \001(\r\022!\n\031ip_was_shared_with_fri" + "end\030\n \001(\010\022$\n\034ip_was_shared_with_nonfrien" + "d\030\013 \001(\010\022\032\n\022active_connections\030\024 \001(\r\0226\n\010m" + "ain_cxn\030\036 \001(\0132$.CGameNetworkingUI_Connec" + "tionSummaryB\005H\001\200\001\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fgamenetworkingui_2eproto_deps[2] = { + &::descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto, + &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5fgamenetworkingui_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5fgamenetworkingui_2eproto = { + false, false, 1658, descriptor_table_protodef_steammessages_5fgamenetworkingui_2eproto, + "steammessages_gamenetworkingui.proto", + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, descriptor_table_steammessages_5fgamenetworkingui_2eproto_deps, 2, 5, + schemas, file_default_instances, TableStruct_steammessages_5fgamenetworkingui_2eproto::offsets, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto, file_level_enum_descriptors_steammessages_5fgamenetworkingui_2eproto, + file_level_service_descriptors_steammessages_5fgamenetworkingui_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter() { + return &descriptor_table_steammessages_5fgamenetworkingui_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fgamenetworkingui_2eproto(&descriptor_table_steammessages_5fgamenetworkingui_2eproto); + +// =================================================================== + +class CGameNetworkingUI_GlobalState::_Internal { + public: +}; + +CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_GlobalState) +} +CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState(const CGameNetworkingUI_GlobalState& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CGameNetworkingUI_GlobalState* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_GlobalState) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_GlobalState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_GlobalState::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_GlobalState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto[0]); +} + +// =================================================================== + +class CGameNetworkingUI_ConnectionState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_connection_id_local(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_identity_local(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_identity_remote(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_connection_state(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_start_time(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_close_time(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_close_reason(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_close_message(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_status_loc_token(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_transport_kind(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_sdrpopid_local(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_sdrpopid_remote(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_address_remote(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing(const CGameNetworkingUI_ConnectionState* msg); + static void set_has_p2p_routing(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_ping_interior(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_ping_remote_front(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_ping_default_internet_route(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static const ::CMsgSteamDatagramConnectionQuality& e2e_quality_local(const CGameNetworkingUI_ConnectionState* msg); + static void set_has_e2e_quality_local(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static const ::CMsgSteamDatagramConnectionQuality& e2e_quality_remote(const CGameNetworkingUI_ConnectionState* msg); + static void set_has_e2e_quality_remote(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_e2e_quality_remote_instantaneous_time(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_e2e_quality_remote_lifetime_time(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static const ::CMsgSteamDatagramConnectionQuality& front_quality_local(const CGameNetworkingUI_ConnectionState* msg); + static void set_has_front_quality_local(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::CMsgSteamDatagramConnectionQuality& front_quality_remote(const CGameNetworkingUI_ConnectionState* msg); + static void set_has_front_quality_remote(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_front_quality_remote_instantaneous_time(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_front_quality_remote_lifetime_time(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } +}; + +const ::CMsgSteamDatagramP2PRoutingSummary& +CGameNetworkingUI_ConnectionState::_Internal::p2p_routing(const CGameNetworkingUI_ConnectionState* msg) { + return *msg->_impl_.p2p_routing_; +} +const ::CMsgSteamDatagramConnectionQuality& +CGameNetworkingUI_ConnectionState::_Internal::e2e_quality_local(const CGameNetworkingUI_ConnectionState* msg) { + return *msg->_impl_.e2e_quality_local_; +} +const ::CMsgSteamDatagramConnectionQuality& +CGameNetworkingUI_ConnectionState::_Internal::e2e_quality_remote(const CGameNetworkingUI_ConnectionState* msg) { + return *msg->_impl_.e2e_quality_remote_; +} +const ::CMsgSteamDatagramConnectionQuality& +CGameNetworkingUI_ConnectionState::_Internal::front_quality_local(const CGameNetworkingUI_ConnectionState* msg) { + return *msg->_impl_.front_quality_local_; +} +const ::CMsgSteamDatagramConnectionQuality& +CGameNetworkingUI_ConnectionState::_Internal::front_quality_remote(const CGameNetworkingUI_ConnectionState* msg) { + return *msg->_impl_.front_quality_remote_; +} +void CGameNetworkingUI_ConnectionState::clear_p2p_routing() { + if (_impl_.p2p_routing_ != nullptr) _impl_.p2p_routing_->Clear(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +void CGameNetworkingUI_ConnectionState::clear_e2e_quality_local() { + if (_impl_.e2e_quality_local_ != nullptr) _impl_.e2e_quality_local_->Clear(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote() { + if (_impl_.e2e_quality_remote_ != nullptr) _impl_.e2e_quality_remote_->Clear(); + _impl_._has_bits_[0] &= ~0x00000400u; +} +void CGameNetworkingUI_ConnectionState::clear_front_quality_local() { + if (_impl_.front_quality_local_ != nullptr) _impl_.front_quality_local_->Clear(); + _impl_._has_bits_[0] &= ~0x00000800u; +} +void CGameNetworkingUI_ConnectionState::clear_front_quality_remote() { + if (_impl_.front_quality_remote_ != nullptr) _impl_.front_quality_remote_->Clear(); + _impl_._has_bits_[0] &= ~0x00001000u; +} +CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState(::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:CGameNetworkingUI_ConnectionState) +} +CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState(const CGameNetworkingUI_ConnectionState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameNetworkingUI_ConnectionState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_key_){} + , decltype(_impl_.identity_local_){} + , decltype(_impl_.identity_remote_){} + , decltype(_impl_.close_message_){} + , decltype(_impl_.status_loc_token_){} + , decltype(_impl_.sdrpopid_local_){} + , decltype(_impl_.sdrpopid_remote_){} + , decltype(_impl_.address_remote_){} + , decltype(_impl_.p2p_routing_){nullptr} + , decltype(_impl_.e2e_quality_local_){nullptr} + , decltype(_impl_.e2e_quality_remote_){nullptr} + , decltype(_impl_.front_quality_local_){nullptr} + , decltype(_impl_.front_quality_remote_){nullptr} + , decltype(_impl_.appid_){} + , decltype(_impl_.connection_id_local_){} + , decltype(_impl_.connection_state_){} + , decltype(_impl_.start_time_){} + , decltype(_impl_.close_time_){} + , decltype(_impl_.close_reason_){} + , decltype(_impl_.transport_kind_){} + , decltype(_impl_.ping_interior_){} + , decltype(_impl_.ping_remote_front_){} + , decltype(_impl_.ping_default_internet_route_){} + , decltype(_impl_.e2e_quality_remote_instantaneous_time_){} + , decltype(_impl_.e2e_quality_remote_lifetime_time_){} + , decltype(_impl_.front_quality_remote_instantaneous_time_){} + , decltype(_impl_.front_quality_remote_lifetime_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.connection_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.connection_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_connection_key()) { + _this->_impl_.connection_key_.Set(from._internal_connection_key(), + _this->GetArenaForAllocation()); + } + _impl_.identity_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_local()) { + _this->_impl_.identity_local_.Set(from._internal_identity_local(), + _this->GetArenaForAllocation()); + } + _impl_.identity_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_remote()) { + _this->_impl_.identity_remote_.Set(from._internal_identity_remote(), + _this->GetArenaForAllocation()); + } + _impl_.close_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.close_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_close_message()) { + _this->_impl_.close_message_.Set(from._internal_close_message(), + _this->GetArenaForAllocation()); + } + _impl_.status_loc_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_loc_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_status_loc_token()) { + _this->_impl_.status_loc_token_.Set(from._internal_status_loc_token(), + _this->GetArenaForAllocation()); + } + _impl_.sdrpopid_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sdrpopid_local()) { + _this->_impl_.sdrpopid_local_.Set(from._internal_sdrpopid_local(), + _this->GetArenaForAllocation()); + } + _impl_.sdrpopid_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sdrpopid_remote()) { + _this->_impl_.sdrpopid_remote_.Set(from._internal_sdrpopid_remote(), + _this->GetArenaForAllocation()); + } + _impl_.address_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.address_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_address_remote()) { + _this->_impl_.address_remote_.Set(from._internal_address_remote(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_p2p_routing()) { + _this->_impl_.p2p_routing_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_); + } + if (from._internal_has_e2e_quality_local()) { + _this->_impl_.e2e_quality_local_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.e2e_quality_local_); + } + if (from._internal_has_e2e_quality_remote()) { + _this->_impl_.e2e_quality_remote_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.e2e_quality_remote_); + } + if (from._internal_has_front_quality_local()) { + _this->_impl_.front_quality_local_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.front_quality_local_); + } + if (from._internal_has_front_quality_remote()) { + _this->_impl_.front_quality_remote_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.front_quality_remote_); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.front_quality_remote_lifetime_time_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.front_quality_remote_lifetime_time_)); + // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_ConnectionState) +} + +inline void CGameNetworkingUI_ConnectionState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_key_){} + , decltype(_impl_.identity_local_){} + , decltype(_impl_.identity_remote_){} + , decltype(_impl_.close_message_){} + , decltype(_impl_.status_loc_token_){} + , decltype(_impl_.sdrpopid_local_){} + , decltype(_impl_.sdrpopid_remote_){} + , decltype(_impl_.address_remote_){} + , decltype(_impl_.p2p_routing_){nullptr} + , decltype(_impl_.e2e_quality_local_){nullptr} + , decltype(_impl_.e2e_quality_remote_){nullptr} + , decltype(_impl_.front_quality_local_){nullptr} + , decltype(_impl_.front_quality_remote_){nullptr} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.connection_id_local_){0u} + , decltype(_impl_.connection_state_){0u} + , decltype(_impl_.start_time_){0u} + , decltype(_impl_.close_time_){0u} + , decltype(_impl_.close_reason_){0u} + , decltype(_impl_.transport_kind_){0u} + , decltype(_impl_.ping_interior_){0u} + , decltype(_impl_.ping_remote_front_){0u} + , decltype(_impl_.ping_default_internet_route_){0u} + , decltype(_impl_.e2e_quality_remote_instantaneous_time_){uint64_t{0u}} + , decltype(_impl_.e2e_quality_remote_lifetime_time_){uint64_t{0u}} + , decltype(_impl_.front_quality_remote_instantaneous_time_){uint64_t{0u}} + , decltype(_impl_.front_quality_remote_lifetime_time_){uint64_t{0u}} + }; + _impl_.connection_key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.connection_key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.close_message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.close_message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_loc_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_loc_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.address_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.address_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGameNetworkingUI_ConnectionState::~CGameNetworkingUI_ConnectionState() { + // @@protoc_insertion_point(destructor:CGameNetworkingUI_ConnectionState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameNetworkingUI_ConnectionState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.connection_key_.Destroy(); + _impl_.identity_local_.Destroy(); + _impl_.identity_remote_.Destroy(); + _impl_.close_message_.Destroy(); + _impl_.status_loc_token_.Destroy(); + _impl_.sdrpopid_local_.Destroy(); + _impl_.sdrpopid_remote_.Destroy(); + _impl_.address_remote_.Destroy(); + if (this != internal_default_instance()) delete _impl_.p2p_routing_; + if (this != internal_default_instance()) delete _impl_.e2e_quality_local_; + if (this != internal_default_instance()) delete _impl_.e2e_quality_remote_; + if (this != internal_default_instance()) delete _impl_.front_quality_local_; + if (this != internal_default_instance()) delete _impl_.front_quality_remote_; +} + +void CGameNetworkingUI_ConnectionState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameNetworkingUI_ConnectionState::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_ConnectionState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.connection_key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.identity_local_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.identity_remote_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.close_message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.status_loc_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.sdrpopid_local_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.sdrpopid_remote_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.address_remote_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + GOOGLE_DCHECK(_impl_.p2p_routing_ != nullptr); + _impl_.p2p_routing_->Clear(); + } + if (cached_has_bits & 0x00000200u) { + GOOGLE_DCHECK(_impl_.e2e_quality_local_ != nullptr); + _impl_.e2e_quality_local_->Clear(); + } + if (cached_has_bits & 0x00000400u) { + GOOGLE_DCHECK(_impl_.e2e_quality_remote_ != nullptr); + _impl_.e2e_quality_remote_->Clear(); + } + if (cached_has_bits & 0x00000800u) { + GOOGLE_DCHECK(_impl_.front_quality_local_ != nullptr); + _impl_.front_quality_local_->Clear(); + } + if (cached_has_bits & 0x00001000u) { + GOOGLE_DCHECK(_impl_.front_quality_remote_ != nullptr); + _impl_.front_quality_remote_->Clear(); + } + } + if (cached_has_bits & 0x0000e000u) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.connection_state_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.connection_state_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.start_time_, 0, static_cast( + reinterpret_cast(&_impl_.e2e_quality_remote_instantaneous_time_) - + reinterpret_cast(&_impl_.start_time_)) + sizeof(_impl_.e2e_quality_remote_instantaneous_time_)); + } + if (cached_has_bits & 0x07000000u) { + ::memset(&_impl_.e2e_quality_remote_lifetime_time_, 0, static_cast( + reinterpret_cast(&_impl_.front_quality_remote_lifetime_time_) - + reinterpret_cast(&_impl_.e2e_quality_remote_lifetime_time_)) + sizeof(_impl_.front_quality_remote_lifetime_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameNetworkingUI_ConnectionState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string connection_key = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_connection_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.connection_key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 appid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 connection_id_local = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_connection_id_local(&has_bits); + _impl_.connection_id_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string identity_local = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_identity_local(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.identity_local"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string identity_remote = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_identity_remote(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.identity_remote"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 connection_state = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_connection_state(&has_bits); + _impl_.connection_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 start_time = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_start_time(&has_bits); + _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 close_time = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_close_time(&has_bits); + _impl_.close_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 close_reason = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_close_reason(&has_bits); + _impl_.close_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string close_message = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_close_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.close_message"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string status_loc_token = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_status_loc_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.status_loc_token"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 transport_kind = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_transport_kind(&has_bits); + _impl_.transport_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string sdrpopid_local = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + auto str = _internal_mutable_sdrpopid_local(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.sdrpopid_local"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string sdrpopid_remote = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + auto str = _internal_mutable_sdrpopid_remote(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.sdrpopid_remote"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string address_remote = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { + auto str = _internal_mutable_address_remote(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.address_remote"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { + ptr = ctx->ParseMessage(_internal_mutable_p2p_routing(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_interior = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { + _Internal::set_has_ping_interior(&has_bits); + _impl_.ping_interior_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_remote_front = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { + _Internal::set_has_ping_remote_front(&has_bits); + _impl_.ping_remote_front_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_default_internet_route = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_ping_default_internet_route(&has_bits); + _impl_.ping_default_internet_route_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { + ptr = ctx->ParseMessage(_internal_mutable_e2e_quality_local(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { + ptr = ctx->ParseMessage(_internal_mutable_e2e_quality_remote(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 e2e_quality_remote_instantaneous_time = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_e2e_quality_remote_instantaneous_time(&has_bits); + _impl_.e2e_quality_remote_instantaneous_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 e2e_quality_remote_lifetime_time = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_e2e_quality_remote_lifetime_time(&has_bits); + _impl_.e2e_quality_remote_lifetime_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_front_quality_local(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_front_quality_remote(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 front_quality_remote_instantaneous_time = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_front_quality_remote_instantaneous_time(&has_bits); + _impl_.front_quality_remote_instantaneous_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 front_quality_remote_lifetime_time = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_front_quality_remote_lifetime_time(&has_bits); + _impl_.front_quality_remote_lifetime_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameNetworkingUI_ConnectionState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_ConnectionState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string connection_key = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_connection_key().data(), static_cast(this->_internal_connection_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.connection_key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_connection_key(), target); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); + } + + // optional fixed32 connection_id_local = 3; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_connection_id_local(), target); + } + + // optional string identity_local = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_local().data(), static_cast(this->_internal_identity_local().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.identity_local"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_identity_local(), target); + } + + // optional string identity_remote = 5; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_remote().data(), static_cast(this->_internal_identity_remote().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.identity_remote"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_identity_remote(), target); + } + + // optional uint32 connection_state = 10; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_connection_state(), target); + } + + // optional uint32 start_time = 12; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_start_time(), target); + } + + // optional uint32 close_time = 13; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_close_time(), target); + } + + // optional uint32 close_reason = 14; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_close_reason(), target); + } + + // optional string close_message = 15; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_close_message().data(), static_cast(this->_internal_close_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.close_message"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_close_message(), target); + } + + // optional string status_loc_token = 16; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_status_loc_token().data(), static_cast(this->_internal_status_loc_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.status_loc_token"); + target = stream->WriteStringMaybeAliased( + 16, this->_internal_status_loc_token(), target); + } + + // optional uint32 transport_kind = 20; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_transport_kind(), target); + } + + // optional string sdrpopid_local = 21; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sdrpopid_local().data(), static_cast(this->_internal_sdrpopid_local().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.sdrpopid_local"); + target = stream->WriteStringMaybeAliased( + 21, this->_internal_sdrpopid_local(), target); + } + + // optional string sdrpopid_remote = 22; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sdrpopid_remote().data(), static_cast(this->_internal_sdrpopid_remote().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.sdrpopid_remote"); + target = stream->WriteStringMaybeAliased( + 22, this->_internal_sdrpopid_remote(), target); + } + + // optional string address_remote = 23; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_address_remote().data(), static_cast(this->_internal_address_remote().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionState.address_remote"); + target = stream->WriteStringMaybeAliased( + 23, this->_internal_address_remote(), target); + } + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; + if (cached_has_bits & 0x00000100u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(24, _Internal::p2p_routing(this), + _Internal::p2p_routing(this).GetCachedSize(), target, stream); + } + + // optional uint32 ping_interior = 25; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_ping_interior(), target); + } + + // optional uint32 ping_remote_front = 26; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_ping_remote_front(), target); + } + + // optional uint32 ping_default_internet_route = 27; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_ping_default_internet_route(), target); + } + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; + if (cached_has_bits & 0x00000200u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(30, _Internal::e2e_quality_local(this), + _Internal::e2e_quality_local(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; + if (cached_has_bits & 0x00000400u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(31, _Internal::e2e_quality_remote(this), + _Internal::e2e_quality_remote(this).GetCachedSize(), target, stream); + } + + // optional uint64 e2e_quality_remote_instantaneous_time = 32; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(32, this->_internal_e2e_quality_remote_instantaneous_time(), target); + } + + // optional uint64 e2e_quality_remote_lifetime_time = 33; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(33, this->_internal_e2e_quality_remote_lifetime_time(), target); + } + + // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; + if (cached_has_bits & 0x00000800u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(40, _Internal::front_quality_local(this), + _Internal::front_quality_local(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; + if (cached_has_bits & 0x00001000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(41, _Internal::front_quality_remote(this), + _Internal::front_quality_remote(this).GetCachedSize(), target, stream); + } + + // optional uint64 front_quality_remote_instantaneous_time = 42; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(42, this->_internal_front_quality_remote_instantaneous_time(), target); + } + + // optional uint64 front_quality_remote_lifetime_time = 43; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(43, this->_internal_front_quality_remote_lifetime_time(), 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:CGameNetworkingUI_ConnectionState) + return target; +} + +size_t CGameNetworkingUI_ConnectionState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_ConnectionState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string connection_key = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_connection_key()); + } + + // optional string identity_local = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_local()); + } + + // optional string identity_remote = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_remote()); + } + + // optional string close_message = 15; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_close_message()); + } + + // optional string status_loc_token = 16; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status_loc_token()); + } + + // optional string sdrpopid_local = 21; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sdrpopid_local()); + } + + // optional string sdrpopid_remote = 22; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sdrpopid_remote()); + } + + // optional string address_remote = 23; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_address_remote()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.p2p_routing_); + } + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.e2e_quality_local_); + } + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.e2e_quality_remote_); + } + + // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.front_quality_local_); + } + + // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.front_quality_remote_); + } + + // optional uint32 appid = 2; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional fixed32 connection_id_local = 3; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + // optional uint32 connection_state = 10; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connection_state()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional uint32 start_time = 12; + if (cached_has_bits & 0x00010000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start_time()); + } + + // optional uint32 close_time = 13; + if (cached_has_bits & 0x00020000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_close_time()); + } + + // optional uint32 close_reason = 14; + if (cached_has_bits & 0x00040000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_close_reason()); + } + + // optional uint32 transport_kind = 20; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_transport_kind()); + } + + // optional uint32 ping_interior = 25; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_interior()); + } + + // optional uint32 ping_remote_front = 26; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_remote_front()); + } + + // optional uint32 ping_default_internet_route = 27; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_default_internet_route()); + } + + // optional uint64 e2e_quality_remote_instantaneous_time = 32; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_e2e_quality_remote_instantaneous_time()); + } + + } + if (cached_has_bits & 0x07000000u) { + // optional uint64 e2e_quality_remote_lifetime_time = 33; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_e2e_quality_remote_lifetime_time()); + } + + // optional uint64 front_quality_remote_instantaneous_time = 42; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_front_quality_remote_instantaneous_time()); + } + + // optional uint64 front_quality_remote_lifetime_time = 43; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt64Size( + this->_internal_front_quality_remote_lifetime_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_ConnectionState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameNetworkingUI_ConnectionState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_ConnectionState::GetClassData() const { return &_class_data_; } + + +void CGameNetworkingUI_ConnectionState::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:CGameNetworkingUI_ConnectionState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_connection_key(from._internal_connection_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_identity_local(from._internal_identity_local()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_identity_remote(from._internal_identity_remote()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_close_message(from._internal_close_message()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_status_loc_token(from._internal_status_loc_token()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_sdrpopid_local(from._internal_sdrpopid_local()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_sdrpopid_remote(from._internal_sdrpopid_remote()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_address_remote(from._internal_address_remote()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_mutable_p2p_routing()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( + from._internal_p2p_routing()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_mutable_e2e_quality_local()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_e2e_quality_local()); + } + if (cached_has_bits & 0x00000400u) { + _this->_internal_mutable_e2e_quality_remote()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_e2e_quality_remote()); + } + if (cached_has_bits & 0x00000800u) { + _this->_internal_mutable_front_quality_local()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_front_quality_local()); + } + if (cached_has_bits & 0x00001000u) { + _this->_internal_mutable_front_quality_remote()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_front_quality_remote()); + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.connection_id_local_ = from._impl_.connection_id_local_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.connection_state_ = from._impl_.connection_state_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.start_time_ = from._impl_.start_time_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.close_time_ = from._impl_.close_time_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.close_reason_ = from._impl_.close_reason_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.transport_kind_ = from._impl_.transport_kind_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.ping_interior_ = from._impl_.ping_interior_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.ping_remote_front_ = from._impl_.ping_remote_front_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.ping_default_internet_route_ = from._impl_.ping_default_internet_route_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.e2e_quality_remote_instantaneous_time_ = from._impl_.e2e_quality_remote_instantaneous_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x07000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.e2e_quality_remote_lifetime_time_ = from._impl_.e2e_quality_remote_lifetime_time_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.front_quality_remote_instantaneous_time_ = from._impl_.front_quality_remote_instantaneous_time_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.front_quality_remote_lifetime_time_ = from._impl_.front_quality_remote_lifetime_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameNetworkingUI_ConnectionState::CopyFrom(const CGameNetworkingUI_ConnectionState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_ConnectionState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameNetworkingUI_ConnectionState::IsInitialized() const { + return true; +} + +void CGameNetworkingUI_ConnectionState::InternalSwap(CGameNetworkingUI_ConnectionState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.connection_key_, lhs_arena, + &other->_impl_.connection_key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_local_, lhs_arena, + &other->_impl_.identity_local_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_remote_, lhs_arena, + &other->_impl_.identity_remote_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.close_message_, lhs_arena, + &other->_impl_.close_message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.status_loc_token_, lhs_arena, + &other->_impl_.status_loc_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sdrpopid_local_, lhs_arena, + &other->_impl_.sdrpopid_local_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sdrpopid_remote_, lhs_arena, + &other->_impl_.sdrpopid_remote_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.address_remote_, lhs_arena, + &other->_impl_.address_remote_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_lifetime_time_) + + sizeof(CGameNetworkingUI_ConnectionState::_impl_.front_quality_remote_lifetime_time_) + - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionState, _impl_.p2p_routing_)>( + reinterpret_cast(&_impl_.p2p_routing_), + reinterpret_cast(&other->_impl_.p2p_routing_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_ConnectionState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto[1]); +} + +// =================================================================== + +class CGameNetworkingUI_Message::_Internal { + public: +}; + +CGameNetworkingUI_Message::CGameNetworkingUI_Message(::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:CGameNetworkingUI_Message) +} +CGameNetworkingUI_Message::CGameNetworkingUI_Message(const CGameNetworkingUI_Message& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameNetworkingUI_Message* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.connection_state_){from._impl_.connection_state_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_Message) +} + +inline void CGameNetworkingUI_Message::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.connection_state_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CGameNetworkingUI_Message::~CGameNetworkingUI_Message() { + // @@protoc_insertion_point(destructor:CGameNetworkingUI_Message) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameNetworkingUI_Message::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.connection_state_.~RepeatedPtrField(); +} + +void CGameNetworkingUI_Message::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameNetworkingUI_Message::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_Message) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.connection_state_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameNetworkingUI_Message::_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 .CGameNetworkingUI_ConnectionState connection_state = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_connection_state(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CGameNetworkingUI_Message::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_Message) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_connection_state_size()); i < n; i++) { + const auto& repfield = this->_internal_connection_state(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CGameNetworkingUI_Message) + return target; +} + +size_t CGameNetworkingUI_Message::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_Message) + 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 .CGameNetworkingUI_ConnectionState connection_state = 1; + total_size += 1UL * this->_internal_connection_state_size(); + for (const auto& msg : this->_impl_.connection_state_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_Message::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameNetworkingUI_Message::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_Message::GetClassData() const { return &_class_data_; } + + +void CGameNetworkingUI_Message::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:CGameNetworkingUI_Message) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.connection_state_.MergeFrom(from._impl_.connection_state_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameNetworkingUI_Message::CopyFrom(const CGameNetworkingUI_Message& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_Message) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameNetworkingUI_Message::IsInitialized() const { + return true; +} + +void CGameNetworkingUI_Message::InternalSwap(CGameNetworkingUI_Message* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.connection_state_.InternalSwap(&other->_impl_.connection_state_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_Message::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto[2]); +} + +// =================================================================== + +class CGameNetworkingUI_ConnectionSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_transport_kind(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_connection_state(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_sdrpop_local(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sdrpop_remote(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_packet_loss(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_ping_default_internet_route(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_ip_was_shared(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary(::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:CGameNetworkingUI_ConnectionSummary) +} +CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary(const CGameNetworkingUI_ConnectionSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameNetworkingUI_ConnectionSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sdrpop_local_){} + , decltype(_impl_.sdrpop_remote_){} + , decltype(_impl_.transport_kind_){} + , decltype(_impl_.ping_ms_){} + , decltype(_impl_.packet_loss_){} + , decltype(_impl_.ping_default_internet_route_){} + , decltype(_impl_.ip_was_shared_){} + , decltype(_impl_.connection_state_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sdrpop_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sdrpop_local()) { + _this->_impl_.sdrpop_local_.Set(from._internal_sdrpop_local(), + _this->GetArenaForAllocation()); + } + _impl_.sdrpop_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sdrpop_remote()) { + _this->_impl_.sdrpop_remote_.Set(from._internal_sdrpop_remote(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.transport_kind_, &from._impl_.transport_kind_, + static_cast(reinterpret_cast(&_impl_.connection_state_) - + reinterpret_cast(&_impl_.transport_kind_)) + sizeof(_impl_.connection_state_)); + // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_ConnectionSummary) +} + +inline void CGameNetworkingUI_ConnectionSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sdrpop_local_){} + , decltype(_impl_.sdrpop_remote_){} + , decltype(_impl_.transport_kind_){0u} + , decltype(_impl_.ping_ms_){0u} + , decltype(_impl_.packet_loss_){0} + , decltype(_impl_.ping_default_internet_route_){0u} + , decltype(_impl_.ip_was_shared_){false} + , decltype(_impl_.connection_state_){0u} + }; + _impl_.sdrpop_local_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpop_remote_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CGameNetworkingUI_ConnectionSummary::~CGameNetworkingUI_ConnectionSummary() { + // @@protoc_insertion_point(destructor:CGameNetworkingUI_ConnectionSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameNetworkingUI_ConnectionSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sdrpop_local_.Destroy(); + _impl_.sdrpop_remote_.Destroy(); +} + +void CGameNetworkingUI_ConnectionSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameNetworkingUI_ConnectionSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_ConnectionSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.sdrpop_local_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.sdrpop_remote_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.transport_kind_, 0, static_cast( + reinterpret_cast(&_impl_.connection_state_) - + reinterpret_cast(&_impl_.transport_kind_)) + sizeof(_impl_.connection_state_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameNetworkingUI_ConnectionSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 transport_kind = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_transport_kind(&has_bits); + _impl_.transport_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string sdrpop_local = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_sdrpop_local(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionSummary.sdrpop_local"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string sdrpop_remote = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_sdrpop_remote(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionSummary.sdrpop_remote"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 ping_ms = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ping_ms(&has_bits); + _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float packet_loss = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_packet_loss(&has_bits); + _impl_.packet_loss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 ping_default_internet_route = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_ping_default_internet_route(&has_bits); + _impl_.ping_default_internet_route_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ip_was_shared = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_ip_was_shared(&has_bits); + _impl_.ip_was_shared_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 connection_state = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_connection_state(&has_bits); + _impl_.connection_state_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameNetworkingUI_ConnectionSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_ConnectionSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 transport_kind = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_transport_kind(), target); + } + + // optional string sdrpop_local = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sdrpop_local().data(), static_cast(this->_internal_sdrpop_local().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionSummary.sdrpop_local"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_sdrpop_local(), target); + } + + // optional string sdrpop_remote = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sdrpop_remote().data(), static_cast(this->_internal_sdrpop_remote().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CGameNetworkingUI_ConnectionSummary.sdrpop_remote"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_sdrpop_remote(), target); + } + + // optional uint32 ping_ms = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ping_ms(), target); + } + + // optional float packet_loss = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_packet_loss(), target); + } + + // optional uint32 ping_default_internet_route = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ping_default_internet_route(), target); + } + + // optional bool ip_was_shared = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_ip_was_shared(), target); + } + + // optional uint32 connection_state = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_connection_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:CGameNetworkingUI_ConnectionSummary) + return target; +} + +size_t CGameNetworkingUI_ConnectionSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_ConnectionSummary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string sdrpop_local = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sdrpop_local()); + } + + // optional string sdrpop_remote = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sdrpop_remote()); + } + + // optional uint32 transport_kind = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_transport_kind()); + } + + // optional uint32 ping_ms = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); + } + + // optional float packet_loss = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional uint32 ping_default_internet_route = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_default_internet_route()); + } + + // optional bool ip_was_shared = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional uint32 connection_state = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connection_state()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_ConnectionSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameNetworkingUI_ConnectionSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_ConnectionSummary::GetClassData() const { return &_class_data_; } + + +void CGameNetworkingUI_ConnectionSummary::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:CGameNetworkingUI_ConnectionSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sdrpop_local(from._internal_sdrpop_local()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_sdrpop_remote(from._internal_sdrpop_remote()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.transport_kind_ = from._impl_.transport_kind_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ping_ms_ = from._impl_.ping_ms_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.packet_loss_ = from._impl_.packet_loss_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ping_default_internet_route_ = from._impl_.ping_default_internet_route_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ip_was_shared_ = from._impl_.ip_was_shared_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.connection_state_ = from._impl_.connection_state_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameNetworkingUI_ConnectionSummary::CopyFrom(const CGameNetworkingUI_ConnectionSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_ConnectionSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameNetworkingUI_ConnectionSummary::IsInitialized() const { + return true; +} + +void CGameNetworkingUI_ConnectionSummary::InternalSwap(CGameNetworkingUI_ConnectionSummary* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sdrpop_local_, lhs_arena, + &other->_impl_.sdrpop_local_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sdrpop_remote_, lhs_arena, + &other->_impl_.sdrpop_remote_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionSummary, _impl_.connection_state_) + + sizeof(CGameNetworkingUI_ConnectionSummary::_impl_.connection_state_) + - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionSummary, _impl_.transport_kind_)>( + reinterpret_cast(&_impl_.transport_kind_), + reinterpret_cast(&other->_impl_.transport_kind_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_ConnectionSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto[3]); +} + +// =================================================================== + +class CGameNetworkingUI_AppSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ip_was_shared_with_friend(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ip_was_shared_with_nonfriend(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_active_connections(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CGameNetworkingUI_ConnectionSummary& main_cxn(const CGameNetworkingUI_AppSummary* msg); + static void set_has_main_cxn(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CGameNetworkingUI_ConnectionSummary& +CGameNetworkingUI_AppSummary::_Internal::main_cxn(const CGameNetworkingUI_AppSummary* msg) { + return *msg->_impl_.main_cxn_; +} +CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary(::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:CGameNetworkingUI_AppSummary) +} +CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary(const CGameNetworkingUI_AppSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CGameNetworkingUI_AppSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.main_cxn_){nullptr} + , decltype(_impl_.appid_){} + , decltype(_impl_.ip_was_shared_with_friend_){} + , decltype(_impl_.ip_was_shared_with_nonfriend_){} + , decltype(_impl_.active_connections_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_main_cxn()) { + _this->_impl_.main_cxn_ = new ::CGameNetworkingUI_ConnectionSummary(*from._impl_.main_cxn_); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.active_connections_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.active_connections_)); + // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_AppSummary) +} + +inline void CGameNetworkingUI_AppSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.main_cxn_){nullptr} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.ip_was_shared_with_friend_){false} + , decltype(_impl_.ip_was_shared_with_nonfriend_){false} + , decltype(_impl_.active_connections_){0u} + }; +} + +CGameNetworkingUI_AppSummary::~CGameNetworkingUI_AppSummary() { + // @@protoc_insertion_point(destructor:CGameNetworkingUI_AppSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CGameNetworkingUI_AppSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.main_cxn_; +} + +void CGameNetworkingUI_AppSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CGameNetworkingUI_AppSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_AppSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.main_cxn_ != nullptr); + _impl_.main_cxn_->Clear(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.active_connections_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.active_connections_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CGameNetworkingUI_AppSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ip_was_shared_with_friend = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ip_was_shared_with_friend(&has_bits); + _impl_.ip_was_shared_with_friend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ip_was_shared_with_nonfriend = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_ip_was_shared_with_nonfriend(&has_bits); + _impl_.ip_was_shared_with_nonfriend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 active_connections = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_active_connections(&has_bits); + _impl_.active_connections_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { + ptr = ctx->ParseMessage(_internal_mutable_main_cxn(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CGameNetworkingUI_AppSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_AppSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional bool ip_was_shared_with_friend = 10; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_ip_was_shared_with_friend(), target); + } + + // optional bool ip_was_shared_with_nonfriend = 11; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_ip_was_shared_with_nonfriend(), target); + } + + // optional uint32 active_connections = 20; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_active_connections(), target); + } + + // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(30, _Internal::main_cxn(this), + _Internal::main_cxn(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:CGameNetworkingUI_AppSummary) + return target; +} + +size_t CGameNetworkingUI_AppSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_AppSummary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.main_cxn_); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool ip_was_shared_with_friend = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool ip_was_shared_with_nonfriend = 11; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional uint32 active_connections = 20; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_active_connections()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_AppSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CGameNetworkingUI_AppSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_AppSummary::GetClassData() const { return &_class_data_; } + + +void CGameNetworkingUI_AppSummary::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:CGameNetworkingUI_AppSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_main_cxn()->::CGameNetworkingUI_ConnectionSummary::MergeFrom( + from._internal_main_cxn()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ip_was_shared_with_friend_ = from._impl_.ip_was_shared_with_friend_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ip_was_shared_with_nonfriend_ = from._impl_.ip_was_shared_with_nonfriend_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.active_connections_ = from._impl_.active_connections_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CGameNetworkingUI_AppSummary::CopyFrom(const CGameNetworkingUI_AppSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_AppSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CGameNetworkingUI_AppSummary::IsInitialized() const { + return true; +} + +void CGameNetworkingUI_AppSummary::InternalSwap(CGameNetworkingUI_AppSummary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_AppSummary, _impl_.active_connections_) + + sizeof(CGameNetworkingUI_AppSummary::_impl_.active_connections_) + - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_AppSummary, _impl_.main_cxn_)>( + reinterpret_cast(&_impl_.main_cxn_), + reinterpret_cast(&other->_impl_.main_cxn_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_AppSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, + file_level_metadata_steammessages_5fgamenetworkingui_2eproto[4]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_GlobalState* +Arena::CreateMaybeMessage< ::CGameNetworkingUI_GlobalState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameNetworkingUI_GlobalState >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_ConnectionState* +Arena::CreateMaybeMessage< ::CGameNetworkingUI_ConnectionState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameNetworkingUI_ConnectionState >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_Message* +Arena::CreateMaybeMessage< ::CGameNetworkingUI_Message >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameNetworkingUI_Message >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_ConnectionSummary* +Arena::CreateMaybeMessage< ::CGameNetworkingUI_ConnectionSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameNetworkingUI_ConnectionSummary >(arena); +} +template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_AppSummary* +Arena::CreateMaybeMessage< ::CGameNetworkingUI_AppSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CGameNetworkingUI_AppSummary >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.h new file mode 100644 index 0000000..894eace --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_gamenetworkingui.pb.h @@ -0,0 +1,3439 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_gamenetworkingui.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_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 3021008 < 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 "steamnetworkingsockets_messages.pb.h" +#include "steamdatagram_messages_sdr.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fgamenetworkingui_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5fgamenetworkingui_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fgamenetworkingui_2eproto; +class CGameNetworkingUI_AppSummary; +struct CGameNetworkingUI_AppSummaryDefaultTypeInternal; +extern CGameNetworkingUI_AppSummaryDefaultTypeInternal _CGameNetworkingUI_AppSummary_default_instance_; +class CGameNetworkingUI_ConnectionState; +struct CGameNetworkingUI_ConnectionStateDefaultTypeInternal; +extern CGameNetworkingUI_ConnectionStateDefaultTypeInternal _CGameNetworkingUI_ConnectionState_default_instance_; +class CGameNetworkingUI_ConnectionSummary; +struct CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal; +extern CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal _CGameNetworkingUI_ConnectionSummary_default_instance_; +class CGameNetworkingUI_GlobalState; +struct CGameNetworkingUI_GlobalStateDefaultTypeInternal; +extern CGameNetworkingUI_GlobalStateDefaultTypeInternal _CGameNetworkingUI_GlobalState_default_instance_; +class CGameNetworkingUI_Message; +struct CGameNetworkingUI_MessageDefaultTypeInternal; +extern CGameNetworkingUI_MessageDefaultTypeInternal _CGameNetworkingUI_Message_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CGameNetworkingUI_AppSummary* Arena::CreateMaybeMessage<::CGameNetworkingUI_AppSummary>(Arena*); +template<> ::CGameNetworkingUI_ConnectionState* Arena::CreateMaybeMessage<::CGameNetworkingUI_ConnectionState>(Arena*); +template<> ::CGameNetworkingUI_ConnectionSummary* Arena::CreateMaybeMessage<::CGameNetworkingUI_ConnectionSummary>(Arena*); +template<> ::CGameNetworkingUI_GlobalState* Arena::CreateMaybeMessage<::CGameNetworkingUI_GlobalState>(Arena*); +template<> ::CGameNetworkingUI_Message* Arena::CreateMaybeMessage<::CGameNetworkingUI_Message>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CGameNetworkingUI_GlobalState final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_GlobalState) */ { + public: + inline CGameNetworkingUI_GlobalState() : CGameNetworkingUI_GlobalState(nullptr) {} + explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameNetworkingUI_GlobalState(const CGameNetworkingUI_GlobalState& from); + CGameNetworkingUI_GlobalState(CGameNetworkingUI_GlobalState&& from) noexcept + : CGameNetworkingUI_GlobalState() { + *this = ::std::move(from); + } + + inline CGameNetworkingUI_GlobalState& operator=(const CGameNetworkingUI_GlobalState& from) { + CopyFrom(from); + return *this; + } + inline CGameNetworkingUI_GlobalState& operator=(CGameNetworkingUI_GlobalState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameNetworkingUI_GlobalState& default_instance() { + return *internal_default_instance(); + } + static inline const CGameNetworkingUI_GlobalState* internal_default_instance() { + return reinterpret_cast( + &_CGameNetworkingUI_GlobalState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CGameNetworkingUI_GlobalState& a, CGameNetworkingUI_GlobalState& b) { + a.Swap(&b); + } + inline void Swap(CGameNetworkingUI_GlobalState* 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(CGameNetworkingUI_GlobalState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameNetworkingUI_GlobalState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CGameNetworkingUI_GlobalState& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CGameNetworkingUI_GlobalState& 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 "CGameNetworkingUI_GlobalState"; + } + protected: + explicit CGameNetworkingUI_GlobalState(::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:CGameNetworkingUI_GlobalState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameNetworkingUI_ConnectionState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_ConnectionState) */ { + public: + inline CGameNetworkingUI_ConnectionState() : CGameNetworkingUI_ConnectionState(nullptr) {} + ~CGameNetworkingUI_ConnectionState() override; + explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameNetworkingUI_ConnectionState(const CGameNetworkingUI_ConnectionState& from); + CGameNetworkingUI_ConnectionState(CGameNetworkingUI_ConnectionState&& from) noexcept + : CGameNetworkingUI_ConnectionState() { + *this = ::std::move(from); + } + + inline CGameNetworkingUI_ConnectionState& operator=(const CGameNetworkingUI_ConnectionState& from) { + CopyFrom(from); + return *this; + } + inline CGameNetworkingUI_ConnectionState& operator=(CGameNetworkingUI_ConnectionState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameNetworkingUI_ConnectionState& default_instance() { + return *internal_default_instance(); + } + static inline const CGameNetworkingUI_ConnectionState* internal_default_instance() { + return reinterpret_cast( + &_CGameNetworkingUI_ConnectionState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CGameNetworkingUI_ConnectionState& a, CGameNetworkingUI_ConnectionState& b) { + a.Swap(&b); + } + inline void Swap(CGameNetworkingUI_ConnectionState* 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(CGameNetworkingUI_ConnectionState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameNetworkingUI_ConnectionState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameNetworkingUI_ConnectionState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameNetworkingUI_ConnectionState& from) { + CGameNetworkingUI_ConnectionState::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(CGameNetworkingUI_ConnectionState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameNetworkingUI_ConnectionState"; + } + protected: + explicit CGameNetworkingUI_ConnectionState(::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 { + kConnectionKeyFieldNumber = 1, + kIdentityLocalFieldNumber = 4, + kIdentityRemoteFieldNumber = 5, + kCloseMessageFieldNumber = 15, + kStatusLocTokenFieldNumber = 16, + kSdrpopidLocalFieldNumber = 21, + kSdrpopidRemoteFieldNumber = 22, + kAddressRemoteFieldNumber = 23, + kP2PRoutingFieldNumber = 24, + kE2EQualityLocalFieldNumber = 30, + kE2EQualityRemoteFieldNumber = 31, + kFrontQualityLocalFieldNumber = 40, + kFrontQualityRemoteFieldNumber = 41, + kAppidFieldNumber = 2, + kConnectionIdLocalFieldNumber = 3, + kConnectionStateFieldNumber = 10, + kStartTimeFieldNumber = 12, + kCloseTimeFieldNumber = 13, + kCloseReasonFieldNumber = 14, + kTransportKindFieldNumber = 20, + kPingInteriorFieldNumber = 25, + kPingRemoteFrontFieldNumber = 26, + kPingDefaultInternetRouteFieldNumber = 27, + kE2EQualityRemoteInstantaneousTimeFieldNumber = 32, + kE2EQualityRemoteLifetimeTimeFieldNumber = 33, + kFrontQualityRemoteInstantaneousTimeFieldNumber = 42, + kFrontQualityRemoteLifetimeTimeFieldNumber = 43, + }; + // optional string connection_key = 1; + bool has_connection_key() const; + private: + bool _internal_has_connection_key() const; + public: + void clear_connection_key(); + const std::string& connection_key() const; + template + void set_connection_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_connection_key(); + PROTOBUF_NODISCARD std::string* release_connection_key(); + void set_allocated_connection_key(std::string* connection_key); + private: + const std::string& _internal_connection_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_connection_key(const std::string& value); + std::string* _internal_mutable_connection_key(); + public: + + // optional string identity_local = 4; + bool has_identity_local() const; + private: + bool _internal_has_identity_local() const; + public: + void clear_identity_local(); + const std::string& identity_local() const; + template + void set_identity_local(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_local(); + PROTOBUF_NODISCARD std::string* release_identity_local(); + void set_allocated_identity_local(std::string* identity_local); + private: + const std::string& _internal_identity_local() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_local(const std::string& value); + std::string* _internal_mutable_identity_local(); + public: + + // optional string identity_remote = 5; + bool has_identity_remote() const; + private: + bool _internal_has_identity_remote() const; + public: + void clear_identity_remote(); + const std::string& identity_remote() const; + template + void set_identity_remote(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_remote(); + PROTOBUF_NODISCARD std::string* release_identity_remote(); + void set_allocated_identity_remote(std::string* identity_remote); + private: + const std::string& _internal_identity_remote() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_remote(const std::string& value); + std::string* _internal_mutable_identity_remote(); + public: + + // optional string close_message = 15; + bool has_close_message() const; + private: + bool _internal_has_close_message() const; + public: + void clear_close_message(); + const std::string& close_message() const; + template + void set_close_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_close_message(); + PROTOBUF_NODISCARD std::string* release_close_message(); + void set_allocated_close_message(std::string* close_message); + private: + const std::string& _internal_close_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_close_message(const std::string& value); + std::string* _internal_mutable_close_message(); + public: + + // optional string status_loc_token = 16; + bool has_status_loc_token() const; + private: + bool _internal_has_status_loc_token() const; + public: + void clear_status_loc_token(); + const std::string& status_loc_token() const; + template + void set_status_loc_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_status_loc_token(); + PROTOBUF_NODISCARD std::string* release_status_loc_token(); + void set_allocated_status_loc_token(std::string* status_loc_token); + private: + const std::string& _internal_status_loc_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_loc_token(const std::string& value); + std::string* _internal_mutable_status_loc_token(); + public: + + // optional string sdrpopid_local = 21; + bool has_sdrpopid_local() const; + private: + bool _internal_has_sdrpopid_local() const; + public: + void clear_sdrpopid_local(); + const std::string& sdrpopid_local() const; + template + void set_sdrpopid_local(ArgT0&& arg0, ArgT... args); + std::string* mutable_sdrpopid_local(); + PROTOBUF_NODISCARD std::string* release_sdrpopid_local(); + void set_allocated_sdrpopid_local(std::string* sdrpopid_local); + private: + const std::string& _internal_sdrpopid_local() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpopid_local(const std::string& value); + std::string* _internal_mutable_sdrpopid_local(); + public: + + // optional string sdrpopid_remote = 22; + bool has_sdrpopid_remote() const; + private: + bool _internal_has_sdrpopid_remote() const; + public: + void clear_sdrpopid_remote(); + const std::string& sdrpopid_remote() const; + template + void set_sdrpopid_remote(ArgT0&& arg0, ArgT... args); + std::string* mutable_sdrpopid_remote(); + PROTOBUF_NODISCARD std::string* release_sdrpopid_remote(); + void set_allocated_sdrpopid_remote(std::string* sdrpopid_remote); + private: + const std::string& _internal_sdrpopid_remote() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpopid_remote(const std::string& value); + std::string* _internal_mutable_sdrpopid_remote(); + public: + + // optional string address_remote = 23; + bool has_address_remote() const; + private: + bool _internal_has_address_remote() const; + public: + void clear_address_remote(); + const std::string& address_remote() const; + template + void set_address_remote(ArgT0&& arg0, ArgT... args); + std::string* mutable_address_remote(); + PROTOBUF_NODISCARD std::string* release_address_remote(); + void set_allocated_address_remote(std::string* address_remote); + private: + const std::string& _internal_address_remote() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_address_remote(const std::string& value); + std::string* _internal_mutable_address_remote(); + public: + + // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; + bool has_p2p_routing() const; + private: + bool _internal_has_p2p_routing() const; + public: + void clear_p2p_routing(); + const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing(); + ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing(); + void set_allocated_p2p_routing(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing); + private: + const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing() const; + ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing(); + public: + void unsafe_arena_set_allocated_p2p_routing( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing); + ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing(); + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; + bool has_e2e_quality_local() const; + private: + bool _internal_has_e2e_quality_local() const; + public: + void clear_e2e_quality_local(); + const ::CMsgSteamDatagramConnectionQuality& e2e_quality_local() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_e2e_quality_local(); + ::CMsgSteamDatagramConnectionQuality* mutable_e2e_quality_local(); + void set_allocated_e2e_quality_local(::CMsgSteamDatagramConnectionQuality* e2e_quality_local); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_e2e_quality_local() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_e2e_quality_local(); + public: + void unsafe_arena_set_allocated_e2e_quality_local( + ::CMsgSteamDatagramConnectionQuality* e2e_quality_local); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_e2e_quality_local(); + + // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; + bool has_e2e_quality_remote() const; + private: + bool _internal_has_e2e_quality_remote() const; + public: + void clear_e2e_quality_remote(); + const ::CMsgSteamDatagramConnectionQuality& e2e_quality_remote() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_e2e_quality_remote(); + ::CMsgSteamDatagramConnectionQuality* mutable_e2e_quality_remote(); + void set_allocated_e2e_quality_remote(::CMsgSteamDatagramConnectionQuality* e2e_quality_remote); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_e2e_quality_remote() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_e2e_quality_remote(); + public: + void unsafe_arena_set_allocated_e2e_quality_remote( + ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_e2e_quality_remote(); + + // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; + bool has_front_quality_local() const; + private: + bool _internal_has_front_quality_local() const; + public: + void clear_front_quality_local(); + const ::CMsgSteamDatagramConnectionQuality& front_quality_local() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_front_quality_local(); + ::CMsgSteamDatagramConnectionQuality* mutable_front_quality_local(); + void set_allocated_front_quality_local(::CMsgSteamDatagramConnectionQuality* front_quality_local); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_front_quality_local() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_front_quality_local(); + public: + void unsafe_arena_set_allocated_front_quality_local( + ::CMsgSteamDatagramConnectionQuality* front_quality_local); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_front_quality_local(); + + // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; + bool has_front_quality_remote() const; + private: + bool _internal_has_front_quality_remote() const; + public: + void clear_front_quality_remote(); + const ::CMsgSteamDatagramConnectionQuality& front_quality_remote() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_front_quality_remote(); + ::CMsgSteamDatagramConnectionQuality* mutable_front_quality_remote(); + void set_allocated_front_quality_remote(::CMsgSteamDatagramConnectionQuality* front_quality_remote); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_front_quality_remote() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_front_quality_remote(); + public: + void unsafe_arena_set_allocated_front_quality_remote( + ::CMsgSteamDatagramConnectionQuality* front_quality_remote); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_front_quality_remote(); + + // optional uint32 appid = 2; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional fixed32 connection_id_local = 3; + bool has_connection_id_local() const; + private: + bool _internal_has_connection_id_local() const; + public: + void clear_connection_id_local(); + uint32_t connection_id_local() const; + void set_connection_id_local(uint32_t value); + private: + uint32_t _internal_connection_id_local() const; + void _internal_set_connection_id_local(uint32_t value); + public: + + // optional uint32 connection_state = 10; + bool has_connection_state() const; + private: + bool _internal_has_connection_state() const; + public: + void clear_connection_state(); + uint32_t connection_state() const; + void set_connection_state(uint32_t value); + private: + uint32_t _internal_connection_state() const; + void _internal_set_connection_state(uint32_t value); + public: + + // optional uint32 start_time = 12; + bool has_start_time() const; + private: + bool _internal_has_start_time() const; + public: + void clear_start_time(); + uint32_t start_time() const; + void set_start_time(uint32_t value); + private: + uint32_t _internal_start_time() const; + void _internal_set_start_time(uint32_t value); + public: + + // optional uint32 close_time = 13; + bool has_close_time() const; + private: + bool _internal_has_close_time() const; + public: + void clear_close_time(); + uint32_t close_time() const; + void set_close_time(uint32_t value); + private: + uint32_t _internal_close_time() const; + void _internal_set_close_time(uint32_t value); + public: + + // optional uint32 close_reason = 14; + bool has_close_reason() const; + private: + bool _internal_has_close_reason() const; + public: + void clear_close_reason(); + uint32_t close_reason() const; + void set_close_reason(uint32_t value); + private: + uint32_t _internal_close_reason() const; + void _internal_set_close_reason(uint32_t value); + public: + + // optional uint32 transport_kind = 20; + bool has_transport_kind() const; + private: + bool _internal_has_transport_kind() const; + public: + void clear_transport_kind(); + uint32_t transport_kind() const; + void set_transport_kind(uint32_t value); + private: + uint32_t _internal_transport_kind() const; + void _internal_set_transport_kind(uint32_t value); + public: + + // optional uint32 ping_interior = 25; + bool has_ping_interior() const; + private: + bool _internal_has_ping_interior() const; + public: + void clear_ping_interior(); + uint32_t ping_interior() const; + void set_ping_interior(uint32_t value); + private: + uint32_t _internal_ping_interior() const; + void _internal_set_ping_interior(uint32_t value); + public: + + // optional uint32 ping_remote_front = 26; + bool has_ping_remote_front() const; + private: + bool _internal_has_ping_remote_front() const; + public: + void clear_ping_remote_front(); + uint32_t ping_remote_front() const; + void set_ping_remote_front(uint32_t value); + private: + uint32_t _internal_ping_remote_front() const; + void _internal_set_ping_remote_front(uint32_t value); + public: + + // optional uint32 ping_default_internet_route = 27; + bool has_ping_default_internet_route() const; + private: + bool _internal_has_ping_default_internet_route() const; + public: + void clear_ping_default_internet_route(); + uint32_t ping_default_internet_route() const; + void set_ping_default_internet_route(uint32_t value); + private: + uint32_t _internal_ping_default_internet_route() const; + void _internal_set_ping_default_internet_route(uint32_t value); + public: + + // optional uint64 e2e_quality_remote_instantaneous_time = 32; + bool has_e2e_quality_remote_instantaneous_time() const; + private: + bool _internal_has_e2e_quality_remote_instantaneous_time() const; + public: + void clear_e2e_quality_remote_instantaneous_time(); + uint64_t e2e_quality_remote_instantaneous_time() const; + void set_e2e_quality_remote_instantaneous_time(uint64_t value); + private: + uint64_t _internal_e2e_quality_remote_instantaneous_time() const; + void _internal_set_e2e_quality_remote_instantaneous_time(uint64_t value); + public: + + // optional uint64 e2e_quality_remote_lifetime_time = 33; + bool has_e2e_quality_remote_lifetime_time() const; + private: + bool _internal_has_e2e_quality_remote_lifetime_time() const; + public: + void clear_e2e_quality_remote_lifetime_time(); + uint64_t e2e_quality_remote_lifetime_time() const; + void set_e2e_quality_remote_lifetime_time(uint64_t value); + private: + uint64_t _internal_e2e_quality_remote_lifetime_time() const; + void _internal_set_e2e_quality_remote_lifetime_time(uint64_t value); + public: + + // optional uint64 front_quality_remote_instantaneous_time = 42; + bool has_front_quality_remote_instantaneous_time() const; + private: + bool _internal_has_front_quality_remote_instantaneous_time() const; + public: + void clear_front_quality_remote_instantaneous_time(); + uint64_t front_quality_remote_instantaneous_time() const; + void set_front_quality_remote_instantaneous_time(uint64_t value); + private: + uint64_t _internal_front_quality_remote_instantaneous_time() const; + void _internal_set_front_quality_remote_instantaneous_time(uint64_t value); + public: + + // optional uint64 front_quality_remote_lifetime_time = 43; + bool has_front_quality_remote_lifetime_time() const; + private: + bool _internal_has_front_quality_remote_lifetime_time() const; + public: + void clear_front_quality_remote_lifetime_time(); + uint64_t front_quality_remote_lifetime_time() const; + void set_front_quality_remote_lifetime_time(uint64_t value); + private: + uint64_t _internal_front_quality_remote_lifetime_time() const; + void _internal_set_front_quality_remote_lifetime_time(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameNetworkingUI_ConnectionState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr connection_key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_local_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_remote_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr close_message_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_loc_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpopid_local_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpopid_remote_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_remote_; + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_; + ::CMsgSteamDatagramConnectionQuality* e2e_quality_local_; + ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote_; + ::CMsgSteamDatagramConnectionQuality* front_quality_local_; + ::CMsgSteamDatagramConnectionQuality* front_quality_remote_; + uint32_t appid_; + uint32_t connection_id_local_; + uint32_t connection_state_; + uint32_t start_time_; + uint32_t close_time_; + uint32_t close_reason_; + uint32_t transport_kind_; + uint32_t ping_interior_; + uint32_t ping_remote_front_; + uint32_t ping_default_internet_route_; + uint64_t e2e_quality_remote_instantaneous_time_; + uint64_t e2e_quality_remote_lifetime_time_; + uint64_t front_quality_remote_instantaneous_time_; + uint64_t front_quality_remote_lifetime_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameNetworkingUI_Message final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_Message) */ { + public: + inline CGameNetworkingUI_Message() : CGameNetworkingUI_Message(nullptr) {} + ~CGameNetworkingUI_Message() override; + explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameNetworkingUI_Message(const CGameNetworkingUI_Message& from); + CGameNetworkingUI_Message(CGameNetworkingUI_Message&& from) noexcept + : CGameNetworkingUI_Message() { + *this = ::std::move(from); + } + + inline CGameNetworkingUI_Message& operator=(const CGameNetworkingUI_Message& from) { + CopyFrom(from); + return *this; + } + inline CGameNetworkingUI_Message& operator=(CGameNetworkingUI_Message&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameNetworkingUI_Message& default_instance() { + return *internal_default_instance(); + } + static inline const CGameNetworkingUI_Message* internal_default_instance() { + return reinterpret_cast( + &_CGameNetworkingUI_Message_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CGameNetworkingUI_Message& a, CGameNetworkingUI_Message& b) { + a.Swap(&b); + } + inline void Swap(CGameNetworkingUI_Message* 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(CGameNetworkingUI_Message* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameNetworkingUI_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameNetworkingUI_Message& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameNetworkingUI_Message& from) { + CGameNetworkingUI_Message::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(CGameNetworkingUI_Message* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameNetworkingUI_Message"; + } + protected: + explicit CGameNetworkingUI_Message(::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 { + kConnectionStateFieldNumber = 1, + }; + // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; + int connection_state_size() const; + private: + int _internal_connection_state_size() const; + public: + void clear_connection_state(); + ::CGameNetworkingUI_ConnectionState* mutable_connection_state(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >* + mutable_connection_state(); + private: + const ::CGameNetworkingUI_ConnectionState& _internal_connection_state(int index) const; + ::CGameNetworkingUI_ConnectionState* _internal_add_connection_state(); + public: + const ::CGameNetworkingUI_ConnectionState& connection_state(int index) const; + ::CGameNetworkingUI_ConnectionState* add_connection_state(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >& + connection_state() const; + + // @@protoc_insertion_point(class_scope:CGameNetworkingUI_Message) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState > connection_state_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameNetworkingUI_ConnectionSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_ConnectionSummary) */ { + public: + inline CGameNetworkingUI_ConnectionSummary() : CGameNetworkingUI_ConnectionSummary(nullptr) {} + ~CGameNetworkingUI_ConnectionSummary() override; + explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameNetworkingUI_ConnectionSummary(const CGameNetworkingUI_ConnectionSummary& from); + CGameNetworkingUI_ConnectionSummary(CGameNetworkingUI_ConnectionSummary&& from) noexcept + : CGameNetworkingUI_ConnectionSummary() { + *this = ::std::move(from); + } + + inline CGameNetworkingUI_ConnectionSummary& operator=(const CGameNetworkingUI_ConnectionSummary& from) { + CopyFrom(from); + return *this; + } + inline CGameNetworkingUI_ConnectionSummary& operator=(CGameNetworkingUI_ConnectionSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameNetworkingUI_ConnectionSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CGameNetworkingUI_ConnectionSummary* internal_default_instance() { + return reinterpret_cast( + &_CGameNetworkingUI_ConnectionSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CGameNetworkingUI_ConnectionSummary& a, CGameNetworkingUI_ConnectionSummary& b) { + a.Swap(&b); + } + inline void Swap(CGameNetworkingUI_ConnectionSummary* 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(CGameNetworkingUI_ConnectionSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameNetworkingUI_ConnectionSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameNetworkingUI_ConnectionSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameNetworkingUI_ConnectionSummary& from) { + CGameNetworkingUI_ConnectionSummary::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(CGameNetworkingUI_ConnectionSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameNetworkingUI_ConnectionSummary"; + } + protected: + explicit CGameNetworkingUI_ConnectionSummary(::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 { + kSdrpopLocalFieldNumber = 2, + kSdrpopRemoteFieldNumber = 3, + kTransportKindFieldNumber = 1, + kPingMsFieldNumber = 4, + kPacketLossFieldNumber = 5, + kPingDefaultInternetRouteFieldNumber = 6, + kIpWasSharedFieldNumber = 7, + kConnectionStateFieldNumber = 8, + }; + // optional string sdrpop_local = 2; + bool has_sdrpop_local() const; + private: + bool _internal_has_sdrpop_local() const; + public: + void clear_sdrpop_local(); + const std::string& sdrpop_local() const; + template + void set_sdrpop_local(ArgT0&& arg0, ArgT... args); + std::string* mutable_sdrpop_local(); + PROTOBUF_NODISCARD std::string* release_sdrpop_local(); + void set_allocated_sdrpop_local(std::string* sdrpop_local); + private: + const std::string& _internal_sdrpop_local() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpop_local(const std::string& value); + std::string* _internal_mutable_sdrpop_local(); + public: + + // optional string sdrpop_remote = 3; + bool has_sdrpop_remote() const; + private: + bool _internal_has_sdrpop_remote() const; + public: + void clear_sdrpop_remote(); + const std::string& sdrpop_remote() const; + template + void set_sdrpop_remote(ArgT0&& arg0, ArgT... args); + std::string* mutable_sdrpop_remote(); + PROTOBUF_NODISCARD std::string* release_sdrpop_remote(); + void set_allocated_sdrpop_remote(std::string* sdrpop_remote); + private: + const std::string& _internal_sdrpop_remote() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpop_remote(const std::string& value); + std::string* _internal_mutable_sdrpop_remote(); + public: + + // optional uint32 transport_kind = 1; + bool has_transport_kind() const; + private: + bool _internal_has_transport_kind() const; + public: + void clear_transport_kind(); + uint32_t transport_kind() const; + void set_transport_kind(uint32_t value); + private: + uint32_t _internal_transport_kind() const; + void _internal_set_transport_kind(uint32_t value); + public: + + // optional uint32 ping_ms = 4; + bool has_ping_ms() const; + private: + bool _internal_has_ping_ms() const; + public: + void clear_ping_ms(); + uint32_t ping_ms() const; + void set_ping_ms(uint32_t value); + private: + uint32_t _internal_ping_ms() const; + void _internal_set_ping_ms(uint32_t value); + public: + + // optional float packet_loss = 5; + bool has_packet_loss() const; + private: + bool _internal_has_packet_loss() const; + public: + void clear_packet_loss(); + float packet_loss() const; + void set_packet_loss(float value); + private: + float _internal_packet_loss() const; + void _internal_set_packet_loss(float value); + public: + + // optional uint32 ping_default_internet_route = 6; + bool has_ping_default_internet_route() const; + private: + bool _internal_has_ping_default_internet_route() const; + public: + void clear_ping_default_internet_route(); + uint32_t ping_default_internet_route() const; + void set_ping_default_internet_route(uint32_t value); + private: + uint32_t _internal_ping_default_internet_route() const; + void _internal_set_ping_default_internet_route(uint32_t value); + public: + + // optional bool ip_was_shared = 7; + bool has_ip_was_shared() const; + private: + bool _internal_has_ip_was_shared() const; + public: + void clear_ip_was_shared(); + bool ip_was_shared() const; + void set_ip_was_shared(bool value); + private: + bool _internal_ip_was_shared() const; + void _internal_set_ip_was_shared(bool value); + public: + + // optional uint32 connection_state = 8; + bool has_connection_state() const; + private: + bool _internal_has_connection_state() const; + public: + void clear_connection_state(); + uint32_t connection_state() const; + void set_connection_state(uint32_t value); + private: + uint32_t _internal_connection_state() const; + void _internal_set_connection_state(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameNetworkingUI_ConnectionSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpop_local_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpop_remote_; + uint32_t transport_kind_; + uint32_t ping_ms_; + float packet_loss_; + uint32_t ping_default_internet_route_; + bool ip_was_shared_; + uint32_t connection_state_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; +}; +// ------------------------------------------------------------------- + +class CGameNetworkingUI_AppSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_AppSummary) */ { + public: + inline CGameNetworkingUI_AppSummary() : CGameNetworkingUI_AppSummary(nullptr) {} + ~CGameNetworkingUI_AppSummary() override; + explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CGameNetworkingUI_AppSummary(const CGameNetworkingUI_AppSummary& from); + CGameNetworkingUI_AppSummary(CGameNetworkingUI_AppSummary&& from) noexcept + : CGameNetworkingUI_AppSummary() { + *this = ::std::move(from); + } + + inline CGameNetworkingUI_AppSummary& operator=(const CGameNetworkingUI_AppSummary& from) { + CopyFrom(from); + return *this; + } + inline CGameNetworkingUI_AppSummary& operator=(CGameNetworkingUI_AppSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CGameNetworkingUI_AppSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CGameNetworkingUI_AppSummary* internal_default_instance() { + return reinterpret_cast( + &_CGameNetworkingUI_AppSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CGameNetworkingUI_AppSummary& a, CGameNetworkingUI_AppSummary& b) { + a.Swap(&b); + } + inline void Swap(CGameNetworkingUI_AppSummary* 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(CGameNetworkingUI_AppSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CGameNetworkingUI_AppSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CGameNetworkingUI_AppSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CGameNetworkingUI_AppSummary& from) { + CGameNetworkingUI_AppSummary::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(CGameNetworkingUI_AppSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CGameNetworkingUI_AppSummary"; + } + protected: + explicit CGameNetworkingUI_AppSummary(::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 { + kMainCxnFieldNumber = 30, + kAppidFieldNumber = 1, + kIpWasSharedWithFriendFieldNumber = 10, + kIpWasSharedWithNonfriendFieldNumber = 11, + kActiveConnectionsFieldNumber = 20, + }; + // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; + bool has_main_cxn() const; + private: + bool _internal_has_main_cxn() const; + public: + void clear_main_cxn(); + const ::CGameNetworkingUI_ConnectionSummary& main_cxn() const; + PROTOBUF_NODISCARD ::CGameNetworkingUI_ConnectionSummary* release_main_cxn(); + ::CGameNetworkingUI_ConnectionSummary* mutable_main_cxn(); + void set_allocated_main_cxn(::CGameNetworkingUI_ConnectionSummary* main_cxn); + private: + const ::CGameNetworkingUI_ConnectionSummary& _internal_main_cxn() const; + ::CGameNetworkingUI_ConnectionSummary* _internal_mutable_main_cxn(); + public: + void unsafe_arena_set_allocated_main_cxn( + ::CGameNetworkingUI_ConnectionSummary* main_cxn); + ::CGameNetworkingUI_ConnectionSummary* unsafe_arena_release_main_cxn(); + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool ip_was_shared_with_friend = 10; + bool has_ip_was_shared_with_friend() const; + private: + bool _internal_has_ip_was_shared_with_friend() const; + public: + void clear_ip_was_shared_with_friend(); + bool ip_was_shared_with_friend() const; + void set_ip_was_shared_with_friend(bool value); + private: + bool _internal_ip_was_shared_with_friend() const; + void _internal_set_ip_was_shared_with_friend(bool value); + public: + + // optional bool ip_was_shared_with_nonfriend = 11; + bool has_ip_was_shared_with_nonfriend() const; + private: + bool _internal_has_ip_was_shared_with_nonfriend() const; + public: + void clear_ip_was_shared_with_nonfriend(); + bool ip_was_shared_with_nonfriend() const; + void set_ip_was_shared_with_nonfriend(bool value); + private: + bool _internal_ip_was_shared_with_nonfriend() const; + void _internal_set_ip_was_shared_with_nonfriend(bool value); + public: + + // optional uint32 active_connections = 20; + bool has_active_connections() const; + private: + bool _internal_has_active_connections() const; + public: + void clear_active_connections(); + uint32_t active_connections() const; + void set_active_connections(uint32_t value); + private: + uint32_t _internal_active_connections() const; + void _internal_set_active_connections(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CGameNetworkingUI_AppSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CGameNetworkingUI_ConnectionSummary* main_cxn_; + uint32_t appid_; + bool ip_was_shared_with_friend_; + bool ip_was_shared_with_nonfriend_; + uint32_t active_connections_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CGameNetworkingUI_GlobalState + +// ------------------------------------------------------------------- + +// CGameNetworkingUI_ConnectionState + +// optional string connection_key = 1; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_connection_key() const { + return _internal_has_connection_key(); +} +inline void CGameNetworkingUI_ConnectionState::clear_connection_key() { + _impl_.connection_key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::connection_key() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_key) + return _internal_connection_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_connection_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.connection_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_key) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_connection_key() { + std::string* _s = _internal_mutable_connection_key(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.connection_key) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_connection_key() const { + return _impl_.connection_key_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.connection_key_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_connection_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.connection_key_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_connection_key() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.connection_key) + if (!_internal_has_connection_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.connection_key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.connection_key_.IsDefault()) { + _impl_.connection_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_connection_key(std::string* connection_key) { + if (connection_key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.connection_key_.SetAllocated(connection_key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.connection_key_.IsDefault()) { + _impl_.connection_key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.connection_key) +} + +// optional uint32 appid = 2; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_appid() const { + return _internal_has_appid(); +} +inline void CGameNetworkingUI_ConnectionState::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::appid() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.appid) + return _internal_appid(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.appid_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.appid) +} + +// optional fixed32 connection_id_local = 3; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_id_local() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_connection_id_local() const { + return _internal_has_connection_id_local(); +} +inline void CGameNetworkingUI_ConnectionState::clear_connection_id_local() { + _impl_.connection_id_local_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_connection_id_local() const { + return _impl_.connection_id_local_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::connection_id_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_id_local) + return _internal_connection_id_local(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_id_local(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.connection_id_local_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_connection_id_local(uint32_t value) { + _internal_set_connection_id_local(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_id_local) +} + +// optional string identity_local = 4; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_identity_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_identity_local() const { + return _internal_has_identity_local(); +} +inline void CGameNetworkingUI_ConnectionState::clear_identity_local() { + _impl_.identity_local_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::identity_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.identity_local) + return _internal_identity_local(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_identity_local(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.identity_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.identity_local) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_identity_local() { + std::string* _s = _internal_mutable_identity_local(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.identity_local) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_identity_local() const { + return _impl_.identity_local_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_identity_local(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.identity_local_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_identity_local() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.identity_local_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_identity_local() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.identity_local) + if (!_internal_has_identity_local()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.identity_local_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_local_.IsDefault()) { + _impl_.identity_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_identity_local(std::string* identity_local) { + if (identity_local != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.identity_local_.SetAllocated(identity_local, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_local_.IsDefault()) { + _impl_.identity_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.identity_local) +} + +// optional string identity_remote = 5; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_identity_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_identity_remote() const { + return _internal_has_identity_remote(); +} +inline void CGameNetworkingUI_ConnectionState::clear_identity_remote() { + _impl_.identity_remote_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::identity_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.identity_remote) + return _internal_identity_remote(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_identity_remote(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.identity_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.identity_remote) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_identity_remote() { + std::string* _s = _internal_mutable_identity_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.identity_remote) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_identity_remote() const { + return _impl_.identity_remote_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_identity_remote(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.identity_remote_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_identity_remote() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.identity_remote_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_identity_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.identity_remote) + if (!_internal_has_identity_remote()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.identity_remote_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_remote_.IsDefault()) { + _impl_.identity_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_identity_remote(std::string* identity_remote) { + if (identity_remote != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.identity_remote_.SetAllocated(identity_remote, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_remote_.IsDefault()) { + _impl_.identity_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.identity_remote) +} + +// optional uint32 connection_state = 10; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_state() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_connection_state() const { + return _internal_has_connection_state(); +} +inline void CGameNetworkingUI_ConnectionState::clear_connection_state() { + _impl_.connection_state_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_connection_state() const { + return _impl_.connection_state_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::connection_state() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_state) + return _internal_connection_state(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_state(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.connection_state_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_connection_state(uint32_t value) { + _internal_set_connection_state(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_state) +} + +// optional uint32 start_time = 12; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_start_time() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_start_time() const { + return _internal_has_start_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_start_time() { + _impl_.start_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_start_time() const { + return _impl_.start_time_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::start_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.start_time) + return _internal_start_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_start_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.start_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_start_time(uint32_t value) { + _internal_set_start_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.start_time) +} + +// optional uint32 close_time = 13; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_time() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_close_time() const { + return _internal_has_close_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_close_time() { + _impl_.close_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_close_time() const { + return _impl_.close_time_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::close_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_time) + return _internal_close_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_close_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.close_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_close_time(uint32_t value) { + _internal_set_close_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_time) +} + +// optional uint32 close_reason = 14; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_close_reason() const { + return _internal_has_close_reason(); +} +inline void CGameNetworkingUI_ConnectionState::clear_close_reason() { + _impl_.close_reason_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_close_reason() const { + return _impl_.close_reason_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::close_reason() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_reason) + return _internal_close_reason(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_close_reason(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.close_reason_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_close_reason(uint32_t value) { + _internal_set_close_reason(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_reason) +} + +// optional string close_message = 15; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_close_message() const { + return _internal_has_close_message(); +} +inline void CGameNetworkingUI_ConnectionState::clear_close_message() { + _impl_.close_message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::close_message() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_message) + return _internal_close_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_close_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.close_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_message) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_close_message() { + std::string* _s = _internal_mutable_close_message(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.close_message) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_close_message() const { + return _impl_.close_message_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_close_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.close_message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_close_message() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.close_message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_close_message() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.close_message) + if (!_internal_has_close_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.close_message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.close_message_.IsDefault()) { + _impl_.close_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_close_message(std::string* close_message) { + if (close_message != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.close_message_.SetAllocated(close_message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.close_message_.IsDefault()) { + _impl_.close_message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.close_message) +} + +// optional string status_loc_token = 16; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_status_loc_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_status_loc_token() const { + return _internal_has_status_loc_token(); +} +inline void CGameNetworkingUI_ConnectionState::clear_status_loc_token() { + _impl_.status_loc_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::status_loc_token() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.status_loc_token) + return _internal_status_loc_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_status_loc_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.status_loc_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.status_loc_token) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_status_loc_token() { + std::string* _s = _internal_mutable_status_loc_token(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.status_loc_token) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_status_loc_token() const { + return _impl_.status_loc_token_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_status_loc_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.status_loc_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_status_loc_token() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.status_loc_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_status_loc_token() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.status_loc_token) + if (!_internal_has_status_loc_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.status_loc_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.status_loc_token_.IsDefault()) { + _impl_.status_loc_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_status_loc_token(std::string* status_loc_token) { + if (status_loc_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.status_loc_token_.SetAllocated(status_loc_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.status_loc_token_.IsDefault()) { + _impl_.status_loc_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.status_loc_token) +} + +// optional uint32 transport_kind = 20; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_transport_kind() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_transport_kind() const { + return _internal_has_transport_kind(); +} +inline void CGameNetworkingUI_ConnectionState::clear_transport_kind() { + _impl_.transport_kind_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_transport_kind() const { + return _impl_.transport_kind_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::transport_kind() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.transport_kind) + return _internal_transport_kind(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_transport_kind(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.transport_kind_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_transport_kind(uint32_t value) { + _internal_set_transport_kind(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.transport_kind) +} + +// optional string sdrpopid_local = 21; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_sdrpopid_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_sdrpopid_local() const { + return _internal_has_sdrpopid_local(); +} +inline void CGameNetworkingUI_ConnectionState::clear_sdrpopid_local() { + _impl_.sdrpopid_local_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::sdrpopid_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.sdrpopid_local) + return _internal_sdrpopid_local(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_sdrpopid_local(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.sdrpopid_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.sdrpopid_local) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_sdrpopid_local() { + std::string* _s = _internal_mutable_sdrpopid_local(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.sdrpopid_local) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_sdrpopid_local() const { + return _impl_.sdrpopid_local_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_sdrpopid_local(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.sdrpopid_local_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_sdrpopid_local() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.sdrpopid_local_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_sdrpopid_local() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.sdrpopid_local) + if (!_internal_has_sdrpopid_local()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.sdrpopid_local_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpopid_local_.IsDefault()) { + _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_sdrpopid_local(std::string* sdrpopid_local) { + if (sdrpopid_local != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.sdrpopid_local_.SetAllocated(sdrpopid_local, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpopid_local_.IsDefault()) { + _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.sdrpopid_local) +} + +// optional string sdrpopid_remote = 22; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_sdrpopid_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_sdrpopid_remote() const { + return _internal_has_sdrpopid_remote(); +} +inline void CGameNetworkingUI_ConnectionState::clear_sdrpopid_remote() { + _impl_.sdrpopid_remote_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::sdrpopid_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.sdrpopid_remote) + return _internal_sdrpopid_remote(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_sdrpopid_remote(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.sdrpopid_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.sdrpopid_remote) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_sdrpopid_remote() { + std::string* _s = _internal_mutable_sdrpopid_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.sdrpopid_remote) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_sdrpopid_remote() const { + return _impl_.sdrpopid_remote_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_sdrpopid_remote(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.sdrpopid_remote_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_sdrpopid_remote() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.sdrpopid_remote_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_sdrpopid_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.sdrpopid_remote) + if (!_internal_has_sdrpopid_remote()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.sdrpopid_remote_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpopid_remote_.IsDefault()) { + _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_sdrpopid_remote(std::string* sdrpopid_remote) { + if (sdrpopid_remote != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.sdrpopid_remote_.SetAllocated(sdrpopid_remote, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpopid_remote_.IsDefault()) { + _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.sdrpopid_remote) +} + +// optional string address_remote = 23; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_address_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_address_remote() const { + return _internal_has_address_remote(); +} +inline void CGameNetworkingUI_ConnectionState::clear_address_remote() { + _impl_.address_remote_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CGameNetworkingUI_ConnectionState::address_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.address_remote) + return _internal_address_remote(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionState::set_address_remote(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.address_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.address_remote) +} +inline std::string* CGameNetworkingUI_ConnectionState::mutable_address_remote() { + std::string* _s = _internal_mutable_address_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.address_remote) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionState::_internal_address_remote() const { + return _impl_.address_remote_.Get(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_address_remote(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.address_remote_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_address_remote() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.address_remote_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionState::release_address_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.address_remote) + if (!_internal_has_address_remote()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.address_remote_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.address_remote_.IsDefault()) { + _impl_.address_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_address_remote(std::string* address_remote) { + if (address_remote != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.address_remote_.SetAllocated(address_remote, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.address_remote_.IsDefault()) { + _impl_.address_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.address_remote) +} + +// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_p2p_routing() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + PROTOBUF_ASSUME(!value || _impl_.p2p_routing_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_p2p_routing() const { + return _internal_has_p2p_routing(); +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CGameNetworkingUI_ConnectionState::_internal_p2p_routing() const { + const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); +} +inline const ::CMsgSteamDatagramP2PRoutingSummary& CGameNetworkingUI_ConnectionState::p2p_routing() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.p2p_routing) + return _internal_p2p_routing(); +} +inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_p2p_routing( + ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_); + } + _impl_.p2p_routing_ = p2p_routing; + if (p2p_routing) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.p2p_routing) +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::release_p2p_routing() { + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_; + _impl_.p2p_routing_ = 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 ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::unsafe_arena_release_p2p_routing() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.p2p_routing) + _impl_._has_bits_[0] &= ~0x00000100u; + ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_; + _impl_.p2p_routing_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::_internal_mutable_p2p_routing() { + _impl_._has_bits_[0] |= 0x00000100u; + if (_impl_.p2p_routing_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); + _impl_.p2p_routing_ = p; + } + return _impl_.p2p_routing_; +} +inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::mutable_p2p_routing() { + ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.p2p_routing) + return _msg; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_p2p_routing(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_); + } + if (p2p_routing) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(p2p_routing)); + if (message_arena != submessage_arena) { + p2p_routing = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, p2p_routing, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.p2p_routing_ = p2p_routing; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.p2p_routing) +} + +// optional uint32 ping_interior = 25; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_interior() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_ping_interior() const { + return _internal_has_ping_interior(); +} +inline void CGameNetworkingUI_ConnectionState::clear_ping_interior() { + _impl_.ping_interior_ = 0u; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_interior() const { + return _impl_.ping_interior_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::ping_interior() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_interior) + return _internal_ping_interior(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_interior(uint32_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.ping_interior_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_ping_interior(uint32_t value) { + _internal_set_ping_interior(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_interior) +} + +// optional uint32 ping_remote_front = 26; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_remote_front() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_ping_remote_front() const { + return _internal_has_ping_remote_front(); +} +inline void CGameNetworkingUI_ConnectionState::clear_ping_remote_front() { + _impl_.ping_remote_front_ = 0u; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_remote_front() const { + return _impl_.ping_remote_front_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::ping_remote_front() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_remote_front) + return _internal_ping_remote_front(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_remote_front(uint32_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.ping_remote_front_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_ping_remote_front(uint32_t value) { + _internal_set_ping_remote_front(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_remote_front) +} + +// optional uint32 ping_default_internet_route = 27; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_default_internet_route() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_ping_default_internet_route() const { + return _internal_has_ping_default_internet_route(); +} +inline void CGameNetworkingUI_ConnectionState::clear_ping_default_internet_route() { + _impl_.ping_default_internet_route_ = 0u; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_default_internet_route() const { + return _impl_.ping_default_internet_route_; +} +inline uint32_t CGameNetworkingUI_ConnectionState::ping_default_internet_route() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_default_internet_route) + return _internal_ping_default_internet_route(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_default_internet_route(uint32_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.ping_default_internet_route_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_ping_default_internet_route(uint32_t value) { + _internal_set_ping_default_internet_route(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_default_internet_route) +} + +// optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + PROTOBUF_ASSUME(!value || _impl_.e2e_quality_local_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_local() const { + return _internal_has_e2e_quality_local(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_e2e_quality_local() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.e2e_quality_local_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::e2e_quality_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_local) + return _internal_e2e_quality_local(); +} +inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_e2e_quality_local( + ::CMsgSteamDatagramConnectionQuality* e2e_quality_local) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_local_); + } + _impl_.e2e_quality_local_ = e2e_quality_local; + if (e2e_quality_local) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_local) +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_e2e_quality_local() { + _impl_._has_bits_[0] &= ~0x00000200u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_local_; + _impl_.e2e_quality_local_ = 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 ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_e2e_quality_local() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.e2e_quality_local) + _impl_._has_bits_[0] &= ~0x00000200u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_local_; + _impl_.e2e_quality_local_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_e2e_quality_local() { + _impl_._has_bits_[0] |= 0x00000200u; + if (_impl_.e2e_quality_local_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.e2e_quality_local_ = p; + } + return _impl_.e2e_quality_local_; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_e2e_quality_local() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_e2e_quality_local(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.e2e_quality_local) + return _msg; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_e2e_quality_local(::CMsgSteamDatagramConnectionQuality* e2e_quality_local) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_local_); + } + if (e2e_quality_local) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(e2e_quality_local)); + if (message_arena != submessage_arena) { + e2e_quality_local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, e2e_quality_local, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.e2e_quality_local_ = e2e_quality_local; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_local) +} + +// optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + PROTOBUF_ASSUME(!value || _impl_.e2e_quality_remote_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote() const { + return _internal_has_e2e_quality_remote(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.e2e_quality_remote_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::e2e_quality_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote) + return _internal_e2e_quality_remote(); +} +inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_e2e_quality_remote( + ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_remote_); + } + _impl_.e2e_quality_remote_ = e2e_quality_remote; + if (e2e_quality_remote) { + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_remote) +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_e2e_quality_remote() { + _impl_._has_bits_[0] &= ~0x00000400u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_remote_; + _impl_.e2e_quality_remote_ = 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 ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_e2e_quality_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.e2e_quality_remote) + _impl_._has_bits_[0] &= ~0x00000400u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_remote_; + _impl_.e2e_quality_remote_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_e2e_quality_remote() { + _impl_._has_bits_[0] |= 0x00000400u; + if (_impl_.e2e_quality_remote_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.e2e_quality_remote_ = p; + } + return _impl_.e2e_quality_remote_; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_e2e_quality_remote() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_e2e_quality_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.e2e_quality_remote) + return _msg; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_e2e_quality_remote(::CMsgSteamDatagramConnectionQuality* e2e_quality_remote) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_remote_); + } + if (e2e_quality_remote) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(e2e_quality_remote)); + if (message_arena != submessage_arena) { + e2e_quality_remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, e2e_quality_remote, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + _impl_.e2e_quality_remote_ = e2e_quality_remote; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_remote) +} + +// optional uint64 e2e_quality_remote_instantaneous_time = 32; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote_instantaneous_time() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote_instantaneous_time() const { + return _internal_has_e2e_quality_remote_instantaneous_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote_instantaneous_time() { + _impl_.e2e_quality_remote_instantaneous_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline uint64_t CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote_instantaneous_time() const { + return _impl_.e2e_quality_remote_instantaneous_time_; +} +inline uint64_t CGameNetworkingUI_ConnectionState::e2e_quality_remote_instantaneous_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote_instantaneous_time) + return _internal_e2e_quality_remote_instantaneous_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_e2e_quality_remote_instantaneous_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.e2e_quality_remote_instantaneous_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_e2e_quality_remote_instantaneous_time(uint64_t value) { + _internal_set_e2e_quality_remote_instantaneous_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.e2e_quality_remote_instantaneous_time) +} + +// optional uint64 e2e_quality_remote_lifetime_time = 33; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote_lifetime_time() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote_lifetime_time() const { + return _internal_has_e2e_quality_remote_lifetime_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote_lifetime_time() { + _impl_.e2e_quality_remote_lifetime_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline uint64_t CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote_lifetime_time() const { + return _impl_.e2e_quality_remote_lifetime_time_; +} +inline uint64_t CGameNetworkingUI_ConnectionState::e2e_quality_remote_lifetime_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote_lifetime_time) + return _internal_e2e_quality_remote_lifetime_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_e2e_quality_remote_lifetime_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.e2e_quality_remote_lifetime_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_e2e_quality_remote_lifetime_time(uint64_t value) { + _internal_set_e2e_quality_remote_lifetime_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.e2e_quality_remote_lifetime_time) +} + +// optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + PROTOBUF_ASSUME(!value || _impl_.front_quality_local_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_front_quality_local() const { + return _internal_has_front_quality_local(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_front_quality_local() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.front_quality_local_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::front_quality_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_local) + return _internal_front_quality_local(); +} +inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_front_quality_local( + ::CMsgSteamDatagramConnectionQuality* front_quality_local) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_local_); + } + _impl_.front_quality_local_ = front_quality_local; + if (front_quality_local) { + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_local) +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_front_quality_local() { + _impl_._has_bits_[0] &= ~0x00000800u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_local_; + _impl_.front_quality_local_ = 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 ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_front_quality_local() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.front_quality_local) + _impl_._has_bits_[0] &= ~0x00000800u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_local_; + _impl_.front_quality_local_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_front_quality_local() { + _impl_._has_bits_[0] |= 0x00000800u; + if (_impl_.front_quality_local_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.front_quality_local_ = p; + } + return _impl_.front_quality_local_; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_front_quality_local() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_front_quality_local(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.front_quality_local) + return _msg; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_front_quality_local(::CMsgSteamDatagramConnectionQuality* front_quality_local) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_local_); + } + if (front_quality_local) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(front_quality_local)); + if (message_arena != submessage_arena) { + front_quality_local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, front_quality_local, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + _impl_.front_quality_local_ = front_quality_local; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_local) +} + +// optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.front_quality_remote_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote() const { + return _internal_has_front_quality_remote(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_front_quality_remote() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.front_quality_remote_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::front_quality_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote) + return _internal_front_quality_remote(); +} +inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_front_quality_remote( + ::CMsgSteamDatagramConnectionQuality* front_quality_remote) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_remote_); + } + _impl_.front_quality_remote_ = front_quality_remote; + if (front_quality_remote) { + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_remote) +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_front_quality_remote() { + _impl_._has_bits_[0] &= ~0x00001000u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_remote_; + _impl_.front_quality_remote_ = 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 ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_front_quality_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.front_quality_remote) + _impl_._has_bits_[0] &= ~0x00001000u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_remote_; + _impl_.front_quality_remote_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_front_quality_remote() { + _impl_._has_bits_[0] |= 0x00001000u; + if (_impl_.front_quality_remote_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.front_quality_remote_ = p; + } + return _impl_.front_quality_remote_; +} +inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_front_quality_remote() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_front_quality_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.front_quality_remote) + return _msg; +} +inline void CGameNetworkingUI_ConnectionState::set_allocated_front_quality_remote(::CMsgSteamDatagramConnectionQuality* front_quality_remote) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_remote_); + } + if (front_quality_remote) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(front_quality_remote)); + if (message_arena != submessage_arena) { + front_quality_remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, front_quality_remote, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + _impl_.front_quality_remote_ = front_quality_remote; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_remote) +} + +// optional uint64 front_quality_remote_instantaneous_time = 42; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote_instantaneous_time() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote_instantaneous_time() const { + return _internal_has_front_quality_remote_instantaneous_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_front_quality_remote_instantaneous_time() { + _impl_.front_quality_remote_instantaneous_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline uint64_t CGameNetworkingUI_ConnectionState::_internal_front_quality_remote_instantaneous_time() const { + return _impl_.front_quality_remote_instantaneous_time_; +} +inline uint64_t CGameNetworkingUI_ConnectionState::front_quality_remote_instantaneous_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote_instantaneous_time) + return _internal_front_quality_remote_instantaneous_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_front_quality_remote_instantaneous_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.front_quality_remote_instantaneous_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_front_quality_remote_instantaneous_time(uint64_t value) { + _internal_set_front_quality_remote_instantaneous_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.front_quality_remote_instantaneous_time) +} + +// optional uint64 front_quality_remote_lifetime_time = 43; +inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote_lifetime_time() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote_lifetime_time() const { + return _internal_has_front_quality_remote_lifetime_time(); +} +inline void CGameNetworkingUI_ConnectionState::clear_front_quality_remote_lifetime_time() { + _impl_.front_quality_remote_lifetime_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline uint64_t CGameNetworkingUI_ConnectionState::_internal_front_quality_remote_lifetime_time() const { + return _impl_.front_quality_remote_lifetime_time_; +} +inline uint64_t CGameNetworkingUI_ConnectionState::front_quality_remote_lifetime_time() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote_lifetime_time) + return _internal_front_quality_remote_lifetime_time(); +} +inline void CGameNetworkingUI_ConnectionState::_internal_set_front_quality_remote_lifetime_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.front_quality_remote_lifetime_time_ = value; +} +inline void CGameNetworkingUI_ConnectionState::set_front_quality_remote_lifetime_time(uint64_t value) { + _internal_set_front_quality_remote_lifetime_time(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.front_quality_remote_lifetime_time) +} + +// ------------------------------------------------------------------- + +// CGameNetworkingUI_Message + +// repeated .CGameNetworkingUI_ConnectionState connection_state = 1; +inline int CGameNetworkingUI_Message::_internal_connection_state_size() const { + return _impl_.connection_state_.size(); +} +inline int CGameNetworkingUI_Message::connection_state_size() const { + return _internal_connection_state_size(); +} +inline void CGameNetworkingUI_Message::clear_connection_state() { + _impl_.connection_state_.Clear(); +} +inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::mutable_connection_state(int index) { + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_Message.connection_state) + return _impl_.connection_state_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >* +CGameNetworkingUI_Message::mutable_connection_state() { + // @@protoc_insertion_point(field_mutable_list:CGameNetworkingUI_Message.connection_state) + return &_impl_.connection_state_; +} +inline const ::CGameNetworkingUI_ConnectionState& CGameNetworkingUI_Message::_internal_connection_state(int index) const { + return _impl_.connection_state_.Get(index); +} +inline const ::CGameNetworkingUI_ConnectionState& CGameNetworkingUI_Message::connection_state(int index) const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_Message.connection_state) + return _internal_connection_state(index); +} +inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::_internal_add_connection_state() { + return _impl_.connection_state_.Add(); +} +inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::add_connection_state() { + ::CGameNetworkingUI_ConnectionState* _add = _internal_add_connection_state(); + // @@protoc_insertion_point(field_add:CGameNetworkingUI_Message.connection_state) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >& +CGameNetworkingUI_Message::connection_state() const { + // @@protoc_insertion_point(field_list:CGameNetworkingUI_Message.connection_state) + return _impl_.connection_state_; +} + +// ------------------------------------------------------------------- + +// CGameNetworkingUI_ConnectionSummary + +// optional uint32 transport_kind = 1; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_transport_kind() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_transport_kind() const { + return _internal_has_transport_kind(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_transport_kind() { + _impl_.transport_kind_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_transport_kind() const { + return _impl_.transport_kind_; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::transport_kind() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.transport_kind) + return _internal_transport_kind(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_transport_kind(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.transport_kind_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_transport_kind(uint32_t value) { + _internal_set_transport_kind(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.transport_kind) +} + +// optional uint32 connection_state = 8; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_connection_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_connection_state() const { + return _internal_has_connection_state(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_connection_state() { + _impl_.connection_state_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_connection_state() const { + return _impl_.connection_state_; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::connection_state() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.connection_state) + return _internal_connection_state(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_connection_state(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.connection_state_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_connection_state(uint32_t value) { + _internal_set_connection_state(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.connection_state) +} + +// optional string sdrpop_local = 2; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_sdrpop_local() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_sdrpop_local() const { + return _internal_has_sdrpop_local(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_sdrpop_local() { + _impl_.sdrpop_local_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CGameNetworkingUI_ConnectionSummary::sdrpop_local() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.sdrpop_local) + return _internal_sdrpop_local(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionSummary::set_sdrpop_local(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sdrpop_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.sdrpop_local) +} +inline std::string* CGameNetworkingUI_ConnectionSummary::mutable_sdrpop_local() { + std::string* _s = _internal_mutable_sdrpop_local(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionSummary.sdrpop_local) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionSummary::_internal_sdrpop_local() const { + return _impl_.sdrpop_local_.Get(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_sdrpop_local(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sdrpop_local_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionSummary::_internal_mutable_sdrpop_local() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sdrpop_local_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionSummary::release_sdrpop_local() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionSummary.sdrpop_local) + if (!_internal_has_sdrpop_local()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sdrpop_local_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpop_local_.IsDefault()) { + _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionSummary::set_allocated_sdrpop_local(std::string* sdrpop_local) { + if (sdrpop_local != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sdrpop_local_.SetAllocated(sdrpop_local, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpop_local_.IsDefault()) { + _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionSummary.sdrpop_local) +} + +// optional string sdrpop_remote = 3; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_sdrpop_remote() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_sdrpop_remote() const { + return _internal_has_sdrpop_remote(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_sdrpop_remote() { + _impl_.sdrpop_remote_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CGameNetworkingUI_ConnectionSummary::sdrpop_remote() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) + return _internal_sdrpop_remote(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CGameNetworkingUI_ConnectionSummary::set_sdrpop_remote(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sdrpop_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) +} +inline std::string* CGameNetworkingUI_ConnectionSummary::mutable_sdrpop_remote() { + std::string* _s = _internal_mutable_sdrpop_remote(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) + return _s; +} +inline const std::string& CGameNetworkingUI_ConnectionSummary::_internal_sdrpop_remote() const { + return _impl_.sdrpop_remote_.Get(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_sdrpop_remote(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sdrpop_remote_.Set(value, GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionSummary::_internal_mutable_sdrpop_remote() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.sdrpop_remote_.Mutable(GetArenaForAllocation()); +} +inline std::string* CGameNetworkingUI_ConnectionSummary::release_sdrpop_remote() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) + if (!_internal_has_sdrpop_remote()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.sdrpop_remote_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpop_remote_.IsDefault()) { + _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CGameNetworkingUI_ConnectionSummary::set_allocated_sdrpop_remote(std::string* sdrpop_remote) { + if (sdrpop_remote != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.sdrpop_remote_.SetAllocated(sdrpop_remote, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdrpop_remote_.IsDefault()) { + _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) +} + +// optional uint32 ping_ms = 4; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_ping_ms() const { + return _internal_has_ping_ms(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_ping_ms() { + _impl_.ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_ping_ms() const { + return _impl_.ping_ms_; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::ping_ms() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ping_ms) + return _internal_ping_ms(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ping_ms_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_ping_ms(uint32_t value) { + _internal_set_ping_ms(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ping_ms) +} + +// optional float packet_loss = 5; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_packet_loss() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_packet_loss() const { + return _internal_has_packet_loss(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_packet_loss() { + _impl_.packet_loss_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CGameNetworkingUI_ConnectionSummary::_internal_packet_loss() const { + return _impl_.packet_loss_; +} +inline float CGameNetworkingUI_ConnectionSummary::packet_loss() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.packet_loss) + return _internal_packet_loss(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_packet_loss(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.packet_loss_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_packet_loss(float value) { + _internal_set_packet_loss(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.packet_loss) +} + +// optional uint32 ping_default_internet_route = 6; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ping_default_internet_route() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_ping_default_internet_route() const { + return _internal_has_ping_default_internet_route(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_ping_default_internet_route() { + _impl_.ping_default_internet_route_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_ping_default_internet_route() const { + return _impl_.ping_default_internet_route_; +} +inline uint32_t CGameNetworkingUI_ConnectionSummary::ping_default_internet_route() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ping_default_internet_route) + return _internal_ping_default_internet_route(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ping_default_internet_route(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.ping_default_internet_route_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_ping_default_internet_route(uint32_t value) { + _internal_set_ping_default_internet_route(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ping_default_internet_route) +} + +// optional bool ip_was_shared = 7; +inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ip_was_shared() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CGameNetworkingUI_ConnectionSummary::has_ip_was_shared() const { + return _internal_has_ip_was_shared(); +} +inline void CGameNetworkingUI_ConnectionSummary::clear_ip_was_shared() { + _impl_.ip_was_shared_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CGameNetworkingUI_ConnectionSummary::_internal_ip_was_shared() const { + return _impl_.ip_was_shared_; +} +inline bool CGameNetworkingUI_ConnectionSummary::ip_was_shared() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ip_was_shared) + return _internal_ip_was_shared(); +} +inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ip_was_shared(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.ip_was_shared_ = value; +} +inline void CGameNetworkingUI_ConnectionSummary::set_ip_was_shared(bool value) { + _internal_set_ip_was_shared(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ip_was_shared) +} + +// ------------------------------------------------------------------- + +// CGameNetworkingUI_AppSummary + +// optional uint32 appid = 1; +inline bool CGameNetworkingUI_AppSummary::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CGameNetworkingUI_AppSummary::has_appid() const { + return _internal_has_appid(); +} +inline void CGameNetworkingUI_AppSummary::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CGameNetworkingUI_AppSummary::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CGameNetworkingUI_AppSummary::appid() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.appid) + return _internal_appid(); +} +inline void CGameNetworkingUI_AppSummary::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CGameNetworkingUI_AppSummary::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.appid) +} + +// optional bool ip_was_shared_with_friend = 10; +inline bool CGameNetworkingUI_AppSummary::_internal_has_ip_was_shared_with_friend() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CGameNetworkingUI_AppSummary::has_ip_was_shared_with_friend() const { + return _internal_has_ip_was_shared_with_friend(); +} +inline void CGameNetworkingUI_AppSummary::clear_ip_was_shared_with_friend() { + _impl_.ip_was_shared_with_friend_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CGameNetworkingUI_AppSummary::_internal_ip_was_shared_with_friend() const { + return _impl_.ip_was_shared_with_friend_; +} +inline bool CGameNetworkingUI_AppSummary::ip_was_shared_with_friend() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.ip_was_shared_with_friend) + return _internal_ip_was_shared_with_friend(); +} +inline void CGameNetworkingUI_AppSummary::_internal_set_ip_was_shared_with_friend(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ip_was_shared_with_friend_ = value; +} +inline void CGameNetworkingUI_AppSummary::set_ip_was_shared_with_friend(bool value) { + _internal_set_ip_was_shared_with_friend(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.ip_was_shared_with_friend) +} + +// optional bool ip_was_shared_with_nonfriend = 11; +inline bool CGameNetworkingUI_AppSummary::_internal_has_ip_was_shared_with_nonfriend() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CGameNetworkingUI_AppSummary::has_ip_was_shared_with_nonfriend() const { + return _internal_has_ip_was_shared_with_nonfriend(); +} +inline void CGameNetworkingUI_AppSummary::clear_ip_was_shared_with_nonfriend() { + _impl_.ip_was_shared_with_nonfriend_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CGameNetworkingUI_AppSummary::_internal_ip_was_shared_with_nonfriend() const { + return _impl_.ip_was_shared_with_nonfriend_; +} +inline bool CGameNetworkingUI_AppSummary::ip_was_shared_with_nonfriend() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.ip_was_shared_with_nonfriend) + return _internal_ip_was_shared_with_nonfriend(); +} +inline void CGameNetworkingUI_AppSummary::_internal_set_ip_was_shared_with_nonfriend(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ip_was_shared_with_nonfriend_ = value; +} +inline void CGameNetworkingUI_AppSummary::set_ip_was_shared_with_nonfriend(bool value) { + _internal_set_ip_was_shared_with_nonfriend(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.ip_was_shared_with_nonfriend) +} + +// optional uint32 active_connections = 20; +inline bool CGameNetworkingUI_AppSummary::_internal_has_active_connections() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CGameNetworkingUI_AppSummary::has_active_connections() const { + return _internal_has_active_connections(); +} +inline void CGameNetworkingUI_AppSummary::clear_active_connections() { + _impl_.active_connections_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CGameNetworkingUI_AppSummary::_internal_active_connections() const { + return _impl_.active_connections_; +} +inline uint32_t CGameNetworkingUI_AppSummary::active_connections() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.active_connections) + return _internal_active_connections(); +} +inline void CGameNetworkingUI_AppSummary::_internal_set_active_connections(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.active_connections_ = value; +} +inline void CGameNetworkingUI_AppSummary::set_active_connections(uint32_t value) { + _internal_set_active_connections(value); + // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.active_connections) +} + +// optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; +inline bool CGameNetworkingUI_AppSummary::_internal_has_main_cxn() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.main_cxn_ != nullptr); + return value; +} +inline bool CGameNetworkingUI_AppSummary::has_main_cxn() const { + return _internal_has_main_cxn(); +} +inline void CGameNetworkingUI_AppSummary::clear_main_cxn() { + if (_impl_.main_cxn_ != nullptr) _impl_.main_cxn_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CGameNetworkingUI_ConnectionSummary& CGameNetworkingUI_AppSummary::_internal_main_cxn() const { + const ::CGameNetworkingUI_ConnectionSummary* p = _impl_.main_cxn_; + return p != nullptr ? *p : reinterpret_cast( + ::_CGameNetworkingUI_ConnectionSummary_default_instance_); +} +inline const ::CGameNetworkingUI_ConnectionSummary& CGameNetworkingUI_AppSummary::main_cxn() const { + // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.main_cxn) + return _internal_main_cxn(); +} +inline void CGameNetworkingUI_AppSummary::unsafe_arena_set_allocated_main_cxn( + ::CGameNetworkingUI_ConnectionSummary* main_cxn) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.main_cxn_); + } + _impl_.main_cxn_ = main_cxn; + if (main_cxn) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_AppSummary.main_cxn) +} +inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::release_main_cxn() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameNetworkingUI_ConnectionSummary* temp = _impl_.main_cxn_; + _impl_.main_cxn_ = 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 ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::unsafe_arena_release_main_cxn() { + // @@protoc_insertion_point(field_release:CGameNetworkingUI_AppSummary.main_cxn) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CGameNetworkingUI_ConnectionSummary* temp = _impl_.main_cxn_; + _impl_.main_cxn_ = nullptr; + return temp; +} +inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::_internal_mutable_main_cxn() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.main_cxn_ == nullptr) { + auto* p = CreateMaybeMessage<::CGameNetworkingUI_ConnectionSummary>(GetArenaForAllocation()); + _impl_.main_cxn_ = p; + } + return _impl_.main_cxn_; +} +inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::mutable_main_cxn() { + ::CGameNetworkingUI_ConnectionSummary* _msg = _internal_mutable_main_cxn(); + // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_AppSummary.main_cxn) + return _msg; +} +inline void CGameNetworkingUI_AppSummary::set_allocated_main_cxn(::CGameNetworkingUI_ConnectionSummary* main_cxn) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.main_cxn_; + } + if (main_cxn) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(main_cxn); + if (message_arena != submessage_arena) { + main_cxn = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, main_cxn, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.main_cxn_ = main_cxn; + // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_AppSummary.main_cxn) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.cc new file mode 100644 index 0000000..06677e4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.cc @@ -0,0 +1,791 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_helprequest.steamworkssdk.proto + +#include "steammessages_helprequest.steamworkssdk.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; + +PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.log_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.version_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.log_contents_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u} {} +struct CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal() {} + union { + CHelpRequestLogs_UploadUserApplicationLog_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_; +PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.id_)*/uint64_t{0u}} {} +struct CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal() {} + union { + CHelpRequestLogs_UploadUserApplicationLog_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[2]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto = nullptr; +static const ::_pb::ServiceDescriptor* file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1]; + +const uint32_t TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_type_), + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.version_string_), + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_contents_), + 3, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_.id_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Request)}, + { 14, 21, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_._instance, + &::_CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n-steammessages_helprequest.steamworkssd" + "k.proto\032.steammessages_unified_base.stea" + "mworkssdk.proto\"\202\001\n1CHelpRequestLogs_Upl" + "oadUserApplicationLog_Request\022\r\n\005appid\030\001" + " \001(\r\022\020\n\010log_type\030\002 \001(\t\022\026\n\016version_string" + "\030\003 \001(\t\022\024\n\014log_contents\030\004 \001(\t\"@\n2CHelpReq" + "uestLogs_UploadUserApplicationLog_Respon" + "se\022\n\n\002id\030\001 \001(\0042\356\001\n\017HelpRequestLogs\022\250\001\n\030U" + "ploadUserApplicationLog\0222.CHelpRequestLo" + "gs_UploadUserApplicationLog_Request\0323.CH" + "elpRequestLogs_UploadUserApplicationLog_" + "Response\"#\202\265\030\037User uploading application" + " logs\0320\202\265\030,Service for dealing with user" + "-submitted logsB\003\200\001\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps[1] = { + &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto = { + false, false, 540, descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto, + "steammessages_helprequest.steamworkssdk.proto", + &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps, 1, 2, + schemas, file_default_instances, TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets, + file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto, + file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter() { + return &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fhelprequest_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto); + +// =================================================================== + +class CHelpRequestLogs_UploadUserApplicationLog_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_log_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_version_string(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_log_contents(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_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:CHelpRequestLogs_UploadUserApplicationLog_Request) +} +CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CHelpRequestLogs_UploadUserApplicationLog_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.log_type_){} + , decltype(_impl_.version_string_){} + , decltype(_impl_.log_contents_){} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.log_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.log_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_log_type()) { + _this->_impl_.log_type_.Set(from._internal_log_type(), + _this->GetArenaForAllocation()); + } + _impl_.version_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.version_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_version_string()) { + _this->_impl_.version_string_.Set(from._internal_version_string(), + _this->GetArenaForAllocation()); + } + _impl_.log_contents_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.log_contents_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_log_contents()) { + _this->_impl_.log_contents_.Set(from._internal_log_contents(), + _this->GetArenaForAllocation()); + } + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Request) +} + +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.log_type_){} + , decltype(_impl_.version_string_){} + , decltype(_impl_.log_contents_){} + , decltype(_impl_.appid_){0u} + }; + _impl_.log_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.log_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.version_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.version_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.log_contents_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.log_contents_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CHelpRequestLogs_UploadUserApplicationLog_Request::~CHelpRequestLogs_UploadUserApplicationLog_Request() { + // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.log_type_.Destroy(); + _impl_.version_string_.Destroy(); + _impl_.log_contents_.Destroy(); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.log_type_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.version_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.log_contents_.ClearNonDefaultToEmpty(); + } + } + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string log_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_log_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string version_string = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_version_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string log_contents = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_log_contents(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional string log_type = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_log_type().data(), static_cast(this->_internal_log_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_log_type(), target); + } + + // optional string version_string = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_version_string().data(), static_cast(this->_internal_version_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_version_string(), target); + } + + // optional string log_contents = 4; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_log_contents().data(), static_cast(this->_internal_log_contents().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_log_contents(), 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:CHelpRequestLogs_UploadUserApplicationLog_Request) + return target; +} + +size_t CHelpRequestLogs_UploadUserApplicationLog_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string log_type = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_log_type()); + } + + // optional string version_string = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_version_string()); + } + + // optional string log_contents = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_log_contents()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Request::GetClassData() const { return &_class_data_; } + + +void CHelpRequestLogs_UploadUserApplicationLog_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:CHelpRequestLogs_UploadUserApplicationLog_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_log_type(from._internal_log_type()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_version_string(from._internal_version_string()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_log_contents(from._internal_log_contents()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Request::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CHelpRequestLogs_UploadUserApplicationLog_Request::IsInitialized() const { + return true; +} + +void CHelpRequestLogs_UploadUserApplicationLog_Request::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.log_type_, lhs_arena, + &other->_impl_.log_type_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.version_string_, lhs_arena, + &other->_impl_.version_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.log_contents_, lhs_arena, + &other->_impl_.log_contents_, rhs_arena + ); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]); +} + +// =================================================================== + +class CHelpRequestLogs_UploadUserApplicationLog_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_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:CHelpRequestLogs_UploadUserApplicationLog_Response) +} +CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CHelpRequestLogs_UploadUserApplicationLog_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.id_ = from._impl_.id_; + // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Response) +} + +inline void CHelpRequestLogs_UploadUserApplicationLog_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.id_){uint64_t{0u}} + }; +} + +CHelpRequestLogs_UploadUserApplicationLog_Response::~CHelpRequestLogs_UploadUserApplicationLog_Response() { + // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CHelpRequestLogs_UploadUserApplicationLog_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), 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:CHelpRequestLogs_UploadUserApplicationLog_Response) + return target; +} + +size_t CHelpRequestLogs_UploadUserApplicationLog_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_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; + + // optional uint64 id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Response::GetClassData() const { return &_class_data_; } + + +void CHelpRequestLogs_UploadUserApplicationLog_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:CHelpRequestLogs_UploadUserApplicationLog_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_id()) { + _this->_internal_set_id(from._internal_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CHelpRequestLogs_UploadUserApplicationLog_Response::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CHelpRequestLogs_UploadUserApplicationLog_Response::IsInitialized() const { + return true; +} + +void CHelpRequestLogs_UploadUserApplicationLog_Response::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.id_, other->_impl_.id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1]); +} + +// =================================================================== + +HelpRequestLogs::~HelpRequestLogs() {} + +const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto); + return file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]; +} + +const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::GetDescriptor() { + return descriptor(); +} + +void HelpRequestLogs::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CHelpRequestLogs_UploadUserApplicationLog_Request*, + ::CHelpRequestLogs_UploadUserApplicationLog_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method UploadUserApplicationLog() not implemented."); + done->Run(); +} + +void HelpRequestLogs::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, + ::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::PROTOBUF_NAMESPACE_ID::Message* request, + ::PROTOBUF_NAMESPACE_ID::Message* response, + ::google::protobuf::Closure* done) { + GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]); + switch(method->index()) { + case 0: + UploadUserApplicationLog(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CHelpRequestLogs_UploadUserApplicationLog_Response*>( + response), + done); + break; + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + break; + } +} + +const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetRequestPrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { + GOOGLE_DCHECK_EQ(method->service(), descriptor()); + switch(method->index()) { + case 0: + return ::CHelpRequestLogs_UploadUserApplicationLog_Request::default_instance(); + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() + ->GetPrototype(method->input_type()); + } +} + +const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetResponsePrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { + GOOGLE_DCHECK_EQ(method->service(), descriptor()); + switch(method->index()) { + case 0: + return ::CHelpRequestLogs_UploadUserApplicationLog_Response::default_instance(); + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() + ->GetPrototype(method->output_type()); + } +} + +HelpRequestLogs_Stub::HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) + : channel_(channel), owns_channel_(false) {} +HelpRequestLogs_Stub::HelpRequestLogs_Stub( + ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, + ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) + : channel_(channel), + owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} +HelpRequestLogs_Stub::~HelpRequestLogs_Stub() { + if (owns_channel_) delete channel_; +} + +void HelpRequestLogs_Stub::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, + ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(0), + controller, request, response, done); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Request* +Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Response* +Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.h new file mode 100644 index 0000000..92dc08f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_helprequest.steamworkssdk.pb.h @@ -0,0 +1,786 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_helprequest.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "steammessages_unified_base.steamworkssdk.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fhelprequest_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto; +class CHelpRequestLogs_UploadUserApplicationLog_Request; +struct CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal; +extern CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_; +class CHelpRequestLogs_UploadUserApplicationLog_Response; +struct CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal; +extern CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CHelpRequestLogs_UploadUserApplicationLog_Request* Arena::CreateMaybeMessage<::CHelpRequestLogs_UploadUserApplicationLog_Request>(Arena*); +template<> ::CHelpRequestLogs_UploadUserApplicationLog_Response* Arena::CreateMaybeMessage<::CHelpRequestLogs_UploadUserApplicationLog_Response>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CHelpRequestLogs_UploadUserApplicationLog_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CHelpRequestLogs_UploadUserApplicationLog_Request) */ { + public: + inline CHelpRequestLogs_UploadUserApplicationLog_Request() : CHelpRequestLogs_UploadUserApplicationLog_Request(nullptr) {} + ~CHelpRequestLogs_UploadUserApplicationLog_Request() override; + explicit PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CHelpRequestLogs_UploadUserApplicationLog_Request(const CHelpRequestLogs_UploadUserApplicationLog_Request& from); + CHelpRequestLogs_UploadUserApplicationLog_Request(CHelpRequestLogs_UploadUserApplicationLog_Request&& from) noexcept + : CHelpRequestLogs_UploadUserApplicationLog_Request() { + *this = ::std::move(from); + } + + inline CHelpRequestLogs_UploadUserApplicationLog_Request& operator=(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { + CopyFrom(from); + return *this; + } + inline CHelpRequestLogs_UploadUserApplicationLog_Request& operator=(CHelpRequestLogs_UploadUserApplicationLog_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CHelpRequestLogs_UploadUserApplicationLog_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CHelpRequestLogs_UploadUserApplicationLog_Request* internal_default_instance() { + return reinterpret_cast( + &_CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CHelpRequestLogs_UploadUserApplicationLog_Request& a, CHelpRequestLogs_UploadUserApplicationLog_Request& b) { + a.Swap(&b); + } + inline void Swap(CHelpRequestLogs_UploadUserApplicationLog_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(CHelpRequestLogs_UploadUserApplicationLog_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CHelpRequestLogs_UploadUserApplicationLog_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { + CHelpRequestLogs_UploadUserApplicationLog_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(CHelpRequestLogs_UploadUserApplicationLog_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CHelpRequestLogs_UploadUserApplicationLog_Request"; + } + protected: + explicit CHelpRequestLogs_UploadUserApplicationLog_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 { + kLogTypeFieldNumber = 2, + kVersionStringFieldNumber = 3, + kLogContentsFieldNumber = 4, + kAppidFieldNumber = 1, + }; + // optional string log_type = 2; + bool has_log_type() const; + private: + bool _internal_has_log_type() const; + public: + void clear_log_type(); + const std::string& log_type() const; + template + void set_log_type(ArgT0&& arg0, ArgT... args); + std::string* mutable_log_type(); + PROTOBUF_NODISCARD std::string* release_log_type(); + void set_allocated_log_type(std::string* log_type); + private: + const std::string& _internal_log_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_log_type(const std::string& value); + std::string* _internal_mutable_log_type(); + public: + + // optional string version_string = 3; + bool has_version_string() const; + private: + bool _internal_has_version_string() const; + public: + void clear_version_string(); + const std::string& version_string() const; + template + void set_version_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_version_string(); + PROTOBUF_NODISCARD std::string* release_version_string(); + void set_allocated_version_string(std::string* version_string); + private: + const std::string& _internal_version_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_version_string(const std::string& value); + std::string* _internal_mutable_version_string(); + public: + + // optional string log_contents = 4; + bool has_log_contents() const; + private: + bool _internal_has_log_contents() const; + public: + void clear_log_contents(); + const std::string& log_contents() const; + template + void set_log_contents(ArgT0&& arg0, ArgT... args); + std::string* mutable_log_contents(); + PROTOBUF_NODISCARD std::string* release_log_contents(); + void set_allocated_log_contents(std::string* log_contents); + private: + const std::string& _internal_log_contents() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_log_contents(const std::string& value); + std::string* _internal_mutable_log_contents(); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CHelpRequestLogs_UploadUserApplicationLog_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_string_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_contents_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CHelpRequestLogs_UploadUserApplicationLog_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CHelpRequestLogs_UploadUserApplicationLog_Response) */ { + public: + inline CHelpRequestLogs_UploadUserApplicationLog_Response() : CHelpRequestLogs_UploadUserApplicationLog_Response(nullptr) {} + ~CHelpRequestLogs_UploadUserApplicationLog_Response() override; + explicit PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CHelpRequestLogs_UploadUserApplicationLog_Response(const CHelpRequestLogs_UploadUserApplicationLog_Response& from); + CHelpRequestLogs_UploadUserApplicationLog_Response(CHelpRequestLogs_UploadUserApplicationLog_Response&& from) noexcept + : CHelpRequestLogs_UploadUserApplicationLog_Response() { + *this = ::std::move(from); + } + + inline CHelpRequestLogs_UploadUserApplicationLog_Response& operator=(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { + CopyFrom(from); + return *this; + } + inline CHelpRequestLogs_UploadUserApplicationLog_Response& operator=(CHelpRequestLogs_UploadUserApplicationLog_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CHelpRequestLogs_UploadUserApplicationLog_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CHelpRequestLogs_UploadUserApplicationLog_Response* internal_default_instance() { + return reinterpret_cast( + &_CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CHelpRequestLogs_UploadUserApplicationLog_Response& a, CHelpRequestLogs_UploadUserApplicationLog_Response& b) { + a.Swap(&b); + } + inline void Swap(CHelpRequestLogs_UploadUserApplicationLog_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(CHelpRequestLogs_UploadUserApplicationLog_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CHelpRequestLogs_UploadUserApplicationLog_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { + CHelpRequestLogs_UploadUserApplicationLog_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(CHelpRequestLogs_UploadUserApplicationLog_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CHelpRequestLogs_UploadUserApplicationLog_Response"; + } + protected: + explicit CHelpRequestLogs_UploadUserApplicationLog_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 { + kIdFieldNumber = 1, + }; + // optional uint64 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint64_t id() const; + void set_id(uint64_t value); + private: + uint64_t _internal_id() const; + void _internal_set_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CHelpRequestLogs_UploadUserApplicationLog_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto; +}; +// =================================================================== + +class HelpRequestLogs_Stub; + +class HelpRequestLogs : public ::PROTOBUF_NAMESPACE_ID::Service { + protected: + // This class should be treated as an abstract interface. + inline HelpRequestLogs() {}; + public: + virtual ~HelpRequestLogs(); + + typedef HelpRequestLogs_Stub Stub; + + static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); + + virtual void UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, + ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, + ::google::protobuf::Closure* done); + + // implements Service ---------------------------------------------- + + const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); + void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, + ::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::PROTOBUF_NAMESPACE_ID::Message* request, + ::PROTOBUF_NAMESPACE_ID::Message* response, + ::google::protobuf::Closure* done); + const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; + const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HelpRequestLogs); +}; + +class HelpRequestLogs_Stub : public HelpRequestLogs { + public: + HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); + HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, + ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); + ~HelpRequestLogs_Stub(); + + inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } + + // implements HelpRequestLogs ------------------------------------------ + + void UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, + ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, + ::google::protobuf::Closure* done); + private: + ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; + bool owns_channel_; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HelpRequestLogs_Stub); +}; + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CHelpRequestLogs_UploadUserApplicationLog_Request + +// optional uint32 appid = 1; +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CHelpRequestLogs_UploadUserApplicationLog_Request::appid() const { + // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.appid) + return _internal_appid(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.appid_ = value; +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.appid) +} + +// optional string log_type = 2; +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_log_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_log_type() const { + return _internal_has_log_type(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_log_type() { + _impl_.log_type_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::log_type() const { + // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) + return _internal_log_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CHelpRequestLogs_UploadUserApplicationLog_Request::set_log_type(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.log_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_log_type() { + std::string* _s = _internal_mutable_log_type(); + // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) + return _s; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_log_type() const { + return _impl_.log_type_.Get(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_log_type(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.log_type_.Set(value, GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_log_type() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.log_type_.Mutable(GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_log_type() { + // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) + if (!_internal_has_log_type()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.log_type_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.log_type_.IsDefault()) { + _impl_.log_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_log_type(std::string* log_type) { + if (log_type != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.log_type_.SetAllocated(log_type, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.log_type_.IsDefault()) { + _impl_.log_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) +} + +// optional string version_string = 3; +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_version_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_version_string() const { + return _internal_has_version_string(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_version_string() { + _impl_.version_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::version_string() const { + // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) + return _internal_version_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CHelpRequestLogs_UploadUserApplicationLog_Request::set_version_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_version_string() { + std::string* _s = _internal_mutable_version_string(); + // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) + return _s; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_version_string() const { + return _impl_.version_string_.Get(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_version_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.version_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_version_string() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.version_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_version_string() { + // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) + if (!_internal_has_version_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.version_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.version_string_.IsDefault()) { + _impl_.version_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_version_string(std::string* version_string) { + if (version_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.version_string_.SetAllocated(version_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.version_string_.IsDefault()) { + _impl_.version_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) +} + +// optional string log_contents = 4; +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_log_contents() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_log_contents() const { + return _internal_has_log_contents(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_log_contents() { + _impl_.log_contents_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::log_contents() const { + // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) + return _internal_log_contents(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CHelpRequestLogs_UploadUserApplicationLog_Request::set_log_contents(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.log_contents_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_log_contents() { + std::string* _s = _internal_mutable_log_contents(); + // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) + return _s; +} +inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_log_contents() const { + return _impl_.log_contents_.Get(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_log_contents(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.log_contents_.Set(value, GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_log_contents() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.log_contents_.Mutable(GetArenaForAllocation()); +} +inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_log_contents() { + // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) + if (!_internal_has_log_contents()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.log_contents_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.log_contents_.IsDefault()) { + _impl_.log_contents_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_log_contents(std::string* log_contents) { + if (log_contents != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.log_contents_.SetAllocated(log_contents, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.log_contents_.IsDefault()) { + _impl_.log_contents_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) +} + +// ------------------------------------------------------------------- + +// CHelpRequestLogs_UploadUserApplicationLog_Response + +// optional uint64 id = 1; +inline bool CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CHelpRequestLogs_UploadUserApplicationLog_Response::has_id() const { + return _internal_has_id(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Response::clear_id() { + _impl_.id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_id() const { + return _impl_.id_; +} +inline uint64_t CHelpRequestLogs_UploadUserApplicationLog_Response::id() const { + // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Response.id) + return _internal_id(); +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_set_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.id_ = value; +} +inline void CHelpRequestLogs_UploadUserApplicationLog_Response::set_id(uint64_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Response.id) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.cc new file mode 100644 index 0000000..fea6998 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.cc @@ -0,0 +1,642 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_oauth.steamworkssdk.proto + +#include "steammessages_oauth.steamworkssdk.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; + +PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.clientid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal() {} + union { + COAuthToken_ImplicitGrantNoPrompt_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_; +PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.access_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal() {} + union { + COAuthToken_ImplicitGrantNoPrompt_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[2]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto = nullptr; + +const uint32_t TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _impl_.clientid_), + 0, + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_.access_token_), + PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_.redirect_uri_), + 0, + 1, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 7, -1, sizeof(::COAuthToken_ImplicitGrantNoPrompt_Request)}, + { 8, 16, -1, sizeof(::COAuthToken_ImplicitGrantNoPrompt_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_._instance, + &::_COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5foauth_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\'steammessages_oauth.steamworkssdk.prot" + "o\032.steammessages_unified_base.steamworks" + "sdk.proto\"{\n)COAuthToken_ImplicitGrantNo" + "Prompt_Request\022N\n\010clientid\030\001 \001(\tB<\202\265\0308Cl" + "ient ID for which to count the number of" + " issued tokens\"\267\001\n*COAuthToken_ImplicitG" + "rantNoPrompt_Response\0229\n\014access_token\030\001 " + "\001(\tB#\202\265\030\037OAuth Token, granted on success" + "\022N\n\014redirect_uri\030\002 \001(\tB8\202\265\0304Redirection " + "URI provided during client registration." + "2\261\002\n\nOAuthToken\022\353\001\n\025ImplicitGrantNoPromp" + "t\022*.COAuthToken_ImplicitGrantNoPrompt_Re" + "quest\032+.COAuthToken_ImplicitGrantNoPromp" + "t_Response\"y\202\265\030uGrants an implicit OAuth" + " token (grant type \'token\') for the spec" + "ified client ID on behalf of a user with" + "out prompting\0325\202\265\0301Service containing me" + "thods to manage OAuth tokens" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_deps[1] = { + &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto = { + false, false, 708, descriptor_table_protodef_steammessages_5foauth_2esteamworkssdk_2eproto, + "steammessages_oauth.steamworkssdk.proto", + &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_deps, 1, 2, + schemas, file_default_instances, TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto::offsets, + file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto, + file_level_service_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter() { + return &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5foauth_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto); + +// =================================================================== + +class COAuthToken_ImplicitGrantNoPrompt_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_clientid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_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:COAuthToken_ImplicitGrantNoPrompt_Request) +} +COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_Request(const COAuthToken_ImplicitGrantNoPrompt_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + COAuthToken_ImplicitGrantNoPrompt_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clientid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.clientid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.clientid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_clientid()) { + _this->_impl_.clientid_.Set(from._internal_clientid(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:COAuthToken_ImplicitGrantNoPrompt_Request) +} + +inline void COAuthToken_ImplicitGrantNoPrompt_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.clientid_){} + }; + _impl_.clientid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.clientid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +COAuthToken_ImplicitGrantNoPrompt_Request::~COAuthToken_ImplicitGrantNoPrompt_Request() { + // @@protoc_insertion_point(destructor:COAuthToken_ImplicitGrantNoPrompt_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void COAuthToken_ImplicitGrantNoPrompt_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.clientid_.Destroy(); +} + +void COAuthToken_ImplicitGrantNoPrompt_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void COAuthToken_ImplicitGrantNoPrompt_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:COAuthToken_ImplicitGrantNoPrompt_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.clientid_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* COAuthToken_ImplicitGrantNoPrompt_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_clientid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Request.clientid"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* COAuthToken_ImplicitGrantNoPrompt_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:COAuthToken_ImplicitGrantNoPrompt_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_clientid().data(), static_cast(this->_internal_clientid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "COAuthToken_ImplicitGrantNoPrompt_Request.clientid"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_clientid(), 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:COAuthToken_ImplicitGrantNoPrompt_Request) + return target; +} + +size_t COAuthToken_ImplicitGrantNoPrompt_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:COAuthToken_ImplicitGrantNoPrompt_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; + + // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_clientid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData COAuthToken_ImplicitGrantNoPrompt_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + COAuthToken_ImplicitGrantNoPrompt_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*COAuthToken_ImplicitGrantNoPrompt_Request::GetClassData() const { return &_class_data_; } + + +void COAuthToken_ImplicitGrantNoPrompt_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:COAuthToken_ImplicitGrantNoPrompt_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_clientid()) { + _this->_internal_set_clientid(from._internal_clientid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void COAuthToken_ImplicitGrantNoPrompt_Request::CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:COAuthToken_ImplicitGrantNoPrompt_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool COAuthToken_ImplicitGrantNoPrompt_Request::IsInitialized() const { + return true; +} + +void COAuthToken_ImplicitGrantNoPrompt_Request::InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.clientid_, lhs_arena, + &other->_impl_.clientid_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata COAuthToken_ImplicitGrantNoPrompt_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[0]); +} + +// =================================================================== + +class COAuthToken_ImplicitGrantNoPrompt_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_access_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_redirect_uri(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_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:COAuthToken_ImplicitGrantNoPrompt_Response) +} +COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_Response(const COAuthToken_ImplicitGrantNoPrompt_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + COAuthToken_ImplicitGrantNoPrompt_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.access_token_){} + , decltype(_impl_.redirect_uri_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.access_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.access_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_access_token()) { + _this->_impl_.access_token_.Set(from._internal_access_token(), + _this->GetArenaForAllocation()); + } + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_redirect_uri()) { + _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:COAuthToken_ImplicitGrantNoPrompt_Response) +} + +inline void COAuthToken_ImplicitGrantNoPrompt_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.access_token_){} + , decltype(_impl_.redirect_uri_){} + }; + _impl_.access_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.access_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +COAuthToken_ImplicitGrantNoPrompt_Response::~COAuthToken_ImplicitGrantNoPrompt_Response() { + // @@protoc_insertion_point(destructor:COAuthToken_ImplicitGrantNoPrompt_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void COAuthToken_ImplicitGrantNoPrompt_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.access_token_.Destroy(); + _impl_.redirect_uri_.Destroy(); +} + +void COAuthToken_ImplicitGrantNoPrompt_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void COAuthToken_ImplicitGrantNoPrompt_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:COAuthToken_ImplicitGrantNoPrompt_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.access_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.redirect_uri_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* COAuthToken_ImplicitGrantNoPrompt_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_access_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Response.access_token"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_redirect_uri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* COAuthToken_ImplicitGrantNoPrompt_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:COAuthToken_ImplicitGrantNoPrompt_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_access_token().data(), static_cast(this->_internal_access_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "COAuthToken_ImplicitGrantNoPrompt_Response.access_token"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_access_token(), target); + } + + // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_redirect_uri(), 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:COAuthToken_ImplicitGrantNoPrompt_Response) + return target; +} + +size_t COAuthToken_ImplicitGrantNoPrompt_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:COAuthToken_ImplicitGrantNoPrompt_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_access_token()); + } + + // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_redirect_uri()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData COAuthToken_ImplicitGrantNoPrompt_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + COAuthToken_ImplicitGrantNoPrompt_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*COAuthToken_ImplicitGrantNoPrompt_Response::GetClassData() const { return &_class_data_; } + + +void COAuthToken_ImplicitGrantNoPrompt_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:COAuthToken_ImplicitGrantNoPrompt_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_access_token(from._internal_access_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_redirect_uri(from._internal_redirect_uri()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void COAuthToken_ImplicitGrantNoPrompt_Response::CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:COAuthToken_ImplicitGrantNoPrompt_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool COAuthToken_ImplicitGrantNoPrompt_Response::IsInitialized() const { + return true; +} + +void COAuthToken_ImplicitGrantNoPrompt_Response::InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.access_token_, lhs_arena, + &other->_impl_.access_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.redirect_uri_, lhs_arena, + &other->_impl_.redirect_uri_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata COAuthToken_ImplicitGrantNoPrompt_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[1]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::COAuthToken_ImplicitGrantNoPrompt_Request* +Arena::CreateMaybeMessage< ::COAuthToken_ImplicitGrantNoPrompt_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::COAuthToken_ImplicitGrantNoPrompt_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::COAuthToken_ImplicitGrantNoPrompt_Response* +Arena::CreateMaybeMessage< ::COAuthToken_ImplicitGrantNoPrompt_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::COAuthToken_ImplicitGrantNoPrompt_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.h new file mode 100644 index 0000000..7f22ad6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_oauth.steamworkssdk.pb.h @@ -0,0 +1,640 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_oauth.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "steammessages_unified_base.steamworkssdk.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5foauth_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto; +class COAuthToken_ImplicitGrantNoPrompt_Request; +struct COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal; +extern COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_; +class COAuthToken_ImplicitGrantNoPrompt_Response; +struct COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal; +extern COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::COAuthToken_ImplicitGrantNoPrompt_Request* Arena::CreateMaybeMessage<::COAuthToken_ImplicitGrantNoPrompt_Request>(Arena*); +template<> ::COAuthToken_ImplicitGrantNoPrompt_Response* Arena::CreateMaybeMessage<::COAuthToken_ImplicitGrantNoPrompt_Response>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class COAuthToken_ImplicitGrantNoPrompt_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:COAuthToken_ImplicitGrantNoPrompt_Request) */ { + public: + inline COAuthToken_ImplicitGrantNoPrompt_Request() : COAuthToken_ImplicitGrantNoPrompt_Request(nullptr) {} + ~COAuthToken_ImplicitGrantNoPrompt_Request() override; + explicit PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + COAuthToken_ImplicitGrantNoPrompt_Request(const COAuthToken_ImplicitGrantNoPrompt_Request& from); + COAuthToken_ImplicitGrantNoPrompt_Request(COAuthToken_ImplicitGrantNoPrompt_Request&& from) noexcept + : COAuthToken_ImplicitGrantNoPrompt_Request() { + *this = ::std::move(from); + } + + inline COAuthToken_ImplicitGrantNoPrompt_Request& operator=(const COAuthToken_ImplicitGrantNoPrompt_Request& from) { + CopyFrom(from); + return *this; + } + inline COAuthToken_ImplicitGrantNoPrompt_Request& operator=(COAuthToken_ImplicitGrantNoPrompt_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 COAuthToken_ImplicitGrantNoPrompt_Request& default_instance() { + return *internal_default_instance(); + } + static inline const COAuthToken_ImplicitGrantNoPrompt_Request* internal_default_instance() { + return reinterpret_cast( + &_COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(COAuthToken_ImplicitGrantNoPrompt_Request& a, COAuthToken_ImplicitGrantNoPrompt_Request& b) { + a.Swap(&b); + } + inline void Swap(COAuthToken_ImplicitGrantNoPrompt_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(COAuthToken_ImplicitGrantNoPrompt_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + COAuthToken_ImplicitGrantNoPrompt_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const COAuthToken_ImplicitGrantNoPrompt_Request& from) { + COAuthToken_ImplicitGrantNoPrompt_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(COAuthToken_ImplicitGrantNoPrompt_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "COAuthToken_ImplicitGrantNoPrompt_Request"; + } + protected: + explicit COAuthToken_ImplicitGrantNoPrompt_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 { + kClientidFieldNumber = 1, + }; + // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; + bool has_clientid() const; + private: + bool _internal_has_clientid() const; + public: + void clear_clientid(); + const std::string& clientid() const; + template + void set_clientid(ArgT0&& arg0, ArgT... args); + std::string* mutable_clientid(); + PROTOBUF_NODISCARD std::string* release_clientid(); + void set_allocated_clientid(std::string* clientid); + private: + const std::string& _internal_clientid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_clientid(const std::string& value); + std::string* _internal_mutable_clientid(); + public: + + // @@protoc_insertion_point(class_scope:COAuthToken_ImplicitGrantNoPrompt_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clientid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class COAuthToken_ImplicitGrantNoPrompt_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:COAuthToken_ImplicitGrantNoPrompt_Response) */ { + public: + inline COAuthToken_ImplicitGrantNoPrompt_Response() : COAuthToken_ImplicitGrantNoPrompt_Response(nullptr) {} + ~COAuthToken_ImplicitGrantNoPrompt_Response() override; + explicit PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + COAuthToken_ImplicitGrantNoPrompt_Response(const COAuthToken_ImplicitGrantNoPrompt_Response& from); + COAuthToken_ImplicitGrantNoPrompt_Response(COAuthToken_ImplicitGrantNoPrompt_Response&& from) noexcept + : COAuthToken_ImplicitGrantNoPrompt_Response() { + *this = ::std::move(from); + } + + inline COAuthToken_ImplicitGrantNoPrompt_Response& operator=(const COAuthToken_ImplicitGrantNoPrompt_Response& from) { + CopyFrom(from); + return *this; + } + inline COAuthToken_ImplicitGrantNoPrompt_Response& operator=(COAuthToken_ImplicitGrantNoPrompt_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 COAuthToken_ImplicitGrantNoPrompt_Response& default_instance() { + return *internal_default_instance(); + } + static inline const COAuthToken_ImplicitGrantNoPrompt_Response* internal_default_instance() { + return reinterpret_cast( + &_COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(COAuthToken_ImplicitGrantNoPrompt_Response& a, COAuthToken_ImplicitGrantNoPrompt_Response& b) { + a.Swap(&b); + } + inline void Swap(COAuthToken_ImplicitGrantNoPrompt_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(COAuthToken_ImplicitGrantNoPrompt_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + COAuthToken_ImplicitGrantNoPrompt_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const COAuthToken_ImplicitGrantNoPrompt_Response& from) { + COAuthToken_ImplicitGrantNoPrompt_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(COAuthToken_ImplicitGrantNoPrompt_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "COAuthToken_ImplicitGrantNoPrompt_Response"; + } + protected: + explicit COAuthToken_ImplicitGrantNoPrompt_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 { + kAccessTokenFieldNumber = 1, + kRedirectUriFieldNumber = 2, + }; + // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; + bool has_access_token() const; + private: + bool _internal_has_access_token() const; + public: + void clear_access_token(); + const std::string& access_token() const; + template + void set_access_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_access_token(); + PROTOBUF_NODISCARD std::string* release_access_token(); + void set_allocated_access_token(std::string* access_token); + private: + const std::string& _internal_access_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_access_token(const std::string& value); + std::string* _internal_mutable_access_token(); + public: + + // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; + bool has_redirect_uri() const; + private: + bool _internal_has_redirect_uri() const; + public: + void clear_redirect_uri(); + const std::string& redirect_uri() const; + template + void set_redirect_uri(ArgT0&& arg0, ArgT... args); + std::string* mutable_redirect_uri(); + PROTOBUF_NODISCARD std::string* release_redirect_uri(); + void set_allocated_redirect_uri(std::string* redirect_uri); + private: + const std::string& _internal_redirect_uri() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); + std::string* _internal_mutable_redirect_uri(); + public: + + // @@protoc_insertion_point(class_scope:COAuthToken_ImplicitGrantNoPrompt_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr access_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// COAuthToken_ImplicitGrantNoPrompt_Request + +// optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; +inline bool COAuthToken_ImplicitGrantNoPrompt_Request::_internal_has_clientid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool COAuthToken_ImplicitGrantNoPrompt_Request::has_clientid() const { + return _internal_has_clientid(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Request::clear_clientid() { + _impl_.clientid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Request::clientid() const { + // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) + return _internal_clientid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void COAuthToken_ImplicitGrantNoPrompt_Request::set_clientid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.clientid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::mutable_clientid() { + std::string* _s = _internal_mutable_clientid(); + // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) + return _s; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Request::_internal_clientid() const { + return _impl_.clientid_.Get(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Request::_internal_set_clientid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.clientid_.Set(value, GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::_internal_mutable_clientid() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.clientid_.Mutable(GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::release_clientid() { + // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) + if (!_internal_has_clientid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.clientid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.clientid_.IsDefault()) { + _impl_.clientid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void COAuthToken_ImplicitGrantNoPrompt_Request::set_allocated_clientid(std::string* clientid) { + if (clientid != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.clientid_.SetAllocated(clientid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.clientid_.IsDefault()) { + _impl_.clientid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) +} + +// ------------------------------------------------------------------- + +// COAuthToken_ImplicitGrantNoPrompt_Response + +// optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; +inline bool COAuthToken_ImplicitGrantNoPrompt_Response::_internal_has_access_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool COAuthToken_ImplicitGrantNoPrompt_Response::has_access_token() const { + return _internal_has_access_token(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::clear_access_token() { + _impl_.access_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::access_token() const { + // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) + return _internal_access_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void COAuthToken_ImplicitGrantNoPrompt_Response::set_access_token(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.access_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::mutable_access_token() { + std::string* _s = _internal_mutable_access_token(); + // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) + return _s; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::_internal_access_token() const { + return _impl_.access_token_.Get(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::_internal_set_access_token(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.access_token_.Set(value, GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::_internal_mutable_access_token() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.access_token_.Mutable(GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::release_access_token() { + // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) + if (!_internal_has_access_token()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.access_token_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.access_token_.IsDefault()) { + _impl_.access_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::set_allocated_access_token(std::string* access_token) { + if (access_token != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.access_token_.SetAllocated(access_token, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.access_token_.IsDefault()) { + _impl_.access_token_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) +} + +// optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; +inline bool COAuthToken_ImplicitGrantNoPrompt_Response::_internal_has_redirect_uri() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool COAuthToken_ImplicitGrantNoPrompt_Response::has_redirect_uri() const { + return _internal_has_redirect_uri(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::clear_redirect_uri() { + _impl_.redirect_uri_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::redirect_uri() const { + // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) + return _internal_redirect_uri(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void COAuthToken_ImplicitGrantNoPrompt_Response::set_redirect_uri(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::mutable_redirect_uri() { + std::string* _s = _internal_mutable_redirect_uri(); + // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) + return _s; +} +inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::_internal_redirect_uri() const { + return _impl_.redirect_uri_.Get(); +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::_internal_set_redirect_uri(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::_internal_mutable_redirect_uri() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); +} +inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::release_redirect_uri() { + // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) + if (!_internal_has_redirect_uri()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.redirect_uri_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void COAuthToken_ImplicitGrantNoPrompt_Response::set_allocated_redirect_uri(std::string* redirect_uri) { + if (redirect_uri != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.cc new file mode 100644 index 0000000..3464d39 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.cc @@ -0,0 +1,9253 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_player.steamworkssdk.proto + +#include "steammessages_player.steamworkssdk.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; + +PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request( + ::_pbi::ConstantInitialized) {} +struct CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal() {} + union { + CPlayer_GetMutualFriendsForIncomingInvites_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mutual_friend_account_ids_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} +struct CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal() {} + union { + CPlayer_IncomingInviteMutualFriendList _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal _CPlayer_IncomingInviteMutualFriendList_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.incoming_invite_mutual_friends_lists_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetMutualFriendsForIncomingInvites_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u} {} +struct CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal() {} + union { + CPlayer_GetFriendsGameplayInfo_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.minutes_played_)*/0u + , /*decltype(_impl_.minutes_played_forever_)*/0u} {} +struct CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal() {} + union { + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.minutes_played_)*/0u + , /*decltype(_impl_.minutes_played_forever_)*/0u + , /*decltype(_impl_.in_wishlist_)*/false + , /*decltype(_impl_.owned_)*/false} {} +struct CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal() {} + union { + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.in_game_)*/{} + , /*decltype(_impl_.played_recently_)*/{} + , /*decltype(_impl_.played_ever_)*/{} + , /*decltype(_impl_.owns_)*/{} + , /*decltype(_impl_.in_wishlist_)*/{} + , /*decltype(_impl_.your_info_)*/nullptr} {} +struct CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetFriendsGameplayInfo_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0u} {} +struct CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal() {} + union { + CPlayer_GetGameBadgeLevels_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.level_)*/0 + , /*decltype(_impl_.series_)*/0 + , /*decltype(_impl_.border_color_)*/0u} {} +struct CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal() {} + union { + CPlayer_GetGameBadgeLevels_Response_Badge _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.badges_)*/{} + , /*decltype(_impl_.player_level_)*/0u} {} +struct CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetGameBadgeLevels_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.min_last_played_)*/0u} {} +struct CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal() {} + union { + CPlayer_GetLastPlayedTimes_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.appid_)*/0 + , /*decltype(_impl_.last_playtime_)*/0u + , /*decltype(_impl_.playtime_2weeks_)*/0 + , /*decltype(_impl_.playtime_forever_)*/0 + , /*decltype(_impl_.first_playtime_)*/0u} {} +struct CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal() {} + union { + CPlayer_GetLastPlayedTimes_Response_Game _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_Game_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.games_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetLastPlayedTimes_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request( + ::_pbi::ConstantInitialized) {} +struct CPlayer_AcceptSSA_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_AcceptSSA_RequestDefaultTypeInternal() {} + union { + CPlayer_AcceptSSA_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AcceptSSA_RequestDefaultTypeInternal _CPlayer_AcceptSSA_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response( + ::_pbi::ConstantInitialized) {} +struct CPlayer_AcceptSSA_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_AcceptSSA_ResponseDefaultTypeInternal() {} + union { + CPlayer_AcceptSSA_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AcceptSSA_ResponseDefaultTypeInternal _CPlayer_AcceptSSA_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request( + ::_pbi::ConstantInitialized) {} +struct CPlayer_GetNicknameList_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetNicknameList_RequestDefaultTypeInternal() {} + union { + CPlayer_GetNicknameList_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_RequestDefaultTypeInternal _CPlayer_GetNicknameList_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.nickname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.accountid_)*/0u} {} +struct CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal() {} + union { + CPlayer_GetNicknameList_Response_PlayerNickname _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal _CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.nicknames_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CPlayer_GetNicknameList_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetNicknameList_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetNicknameList_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_ResponseDefaultTypeInternal _CPlayer_GetNicknameList_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request( + ::_pbi::ConstantInitialized) {} +struct CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal() {} + union { + CPlayer_GetPerFriendPreferences_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Request_default_instance_; +PROTOBUF_CONSTEXPR PerFriendPreferences::PerFriendPreferences( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.nickname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.accountid_)*/0u + , /*decltype(_impl_.notifications_showingame_)*/0 + , /*decltype(_impl_.notifications_showonline_)*/0 + , /*decltype(_impl_.notifications_showmessages_)*/0 + , /*decltype(_impl_.sounds_showingame_)*/0 + , /*decltype(_impl_.sounds_showonline_)*/0 + , /*decltype(_impl_.sounds_showmessages_)*/0 + , /*decltype(_impl_.notifications_sendmobile_)*/0} {} +struct PerFriendPreferencesDefaultTypeInternal { + PROTOBUF_CONSTEXPR PerFriendPreferencesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PerFriendPreferencesDefaultTypeInternal() {} + union { + PerFriendPreferences _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerFriendPreferencesDefaultTypeInternal _PerFriendPreferences_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.preferences_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetPerFriendPreferences_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.preferences_)*/nullptr} {} +struct CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal() {} + union { + CPlayer_SetPerFriendPreferences_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response( + ::_pbi::ConstantInitialized) {} +struct CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal() {} + union { + CPlayer_SetPerFriendPreferences_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_AddFriend_Request::CPlayer_AddFriend_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} +struct CPlayer_AddFriend_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_AddFriend_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_AddFriend_RequestDefaultTypeInternal() {} + union { + CPlayer_AddFriend_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AddFriend_RequestDefaultTypeInternal _CPlayer_AddFriend_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_AddFriend_Response::CPlayer_AddFriend_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.invite_sent_)*/false + , /*decltype(_impl_.friend_relationship_)*/0u} {} +struct CPlayer_AddFriend_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_AddFriend_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_AddFriend_ResponseDefaultTypeInternal() {} + union { + CPlayer_AddFriend_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AddFriend_ResponseDefaultTypeInternal _CPlayer_AddFriend_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} +struct CPlayer_RemoveFriend_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_RemoveFriend_RequestDefaultTypeInternal() {} + union { + CPlayer_RemoveFriend_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_RemoveFriend_RequestDefaultTypeInternal _CPlayer_RemoveFriend_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.friend_relationship_)*/0u} {} +struct CPlayer_RemoveFriend_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_RemoveFriend_ResponseDefaultTypeInternal() {} + union { + CPlayer_RemoveFriend_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_RemoveFriend_ResponseDefaultTypeInternal _CPlayer_RemoveFriend_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.steamid_)*/uint64_t{0u} + , /*decltype(_impl_.unignore_)*/false} {} +struct CPlayer_IgnoreFriend_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_IgnoreFriend_RequestDefaultTypeInternal() {} + union { + CPlayer_IgnoreFriend_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IgnoreFriend_RequestDefaultTypeInternal _CPlayer_IgnoreFriend_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.friend_relationship_)*/0u} {} +struct CPlayer_IgnoreFriend_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_IgnoreFriend_ResponseDefaultTypeInternal() {} + union { + CPlayer_IgnoreFriend_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IgnoreFriend_ResponseDefaultTypeInternal _CPlayer_IgnoreFriend_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request( + ::_pbi::ConstantInitialized) {} +struct CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal() {} + union { + CPlayer_GetCommunityPreferences_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_GetCommunityPreferences_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_CommunityPreferences::CPlayer_CommunityPreferences( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.timestamp_updated_)*/0u + , /*decltype(_impl_.parenthesize_nicknames_)*/false + , /*decltype(_impl_.hide_adult_content_violence_)*/true + , /*decltype(_impl_.hide_adult_content_sex_)*/true} {} +struct CPlayer_CommunityPreferencesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_CommunityPreferencesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_CommunityPreferencesDefaultTypeInternal() {} + union { + CPlayer_CommunityPreferences _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_CommunityPreferencesDefaultTypeInternal _CPlayer_CommunityPreferences_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.preferences_)*/nullptr} {} +struct CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetCommunityPreferences_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_GetCommunityPreferences_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.preferences_)*/nullptr} {} +struct CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal() {} + union { + CPlayer_SetCommunityPreferences_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_SetCommunityPreferences_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response( + ::_pbi::ConstantInitialized) {} +struct CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal() {} + union { + CPlayer_SetCommunityPreferences_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_SetCommunityPreferences_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.language_)*/0} {} +struct CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal() {} + union { + CPlayer_GetNewSteamAnnouncementState_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.announcement_headline_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.announcement_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.state_)*/0 + , /*decltype(_impl_.time_posted_)*/0u + , /*decltype(_impl_.announcement_gid_)*/uint64_t{0u}} {} +struct CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal() {} + union { + CPlayer_GetNewSteamAnnouncementState_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Response_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.announcement_gid_)*/uint64_t{0u} + , /*decltype(_impl_.time_posted_)*/0u} {} +struct CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal() {} + union { + CPlayer_UpdateSteamAnnouncementLastRead_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_; +PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response( + ::_pbi::ConstantInitialized) {} +struct CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal() {} + union { + CPlayer_UpdateSteamAnnouncementLastRead_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[38]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[1]; +static const ::_pb::ServiceDescriptor* file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[1]; + +const uint32_t TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_.mutual_friend_account_ids_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Response, _impl_.incoming_invite_mutual_friends_lists_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _impl_.appid_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_forever_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.minutes_played_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.minutes_played_forever_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.in_wishlist_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.owned_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.your_info_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.in_game_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.played_recently_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.played_ever_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.owns_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.in_wishlist_), + 0, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _impl_.appid_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.series_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.border_color_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_.player_level_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_.badges_), + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _impl_.min_last_played_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.last_playtime_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.playtime_2weeks_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.playtime_forever_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.first_playtime_), + 0, + 1, + 2, + 3, + 4, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response, _impl_.games_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_AcceptSSA_Request, _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(::CPlayer_AcceptSSA_Response, _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(::CPlayer_GetNicknameList_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_.nickname_), + 1, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response, _impl_.nicknames_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.accountid_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.nickname_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showingame_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showonline_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showmessages_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showingame_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showonline_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showmessages_), + PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_sendmobile_), + 1, + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Response, _impl_.preferences_), + PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _impl_.preferences_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _impl_.steamid_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_.invite_sent_), + PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_.friend_relationship_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _impl_.steamid_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _impl_.friend_relationship_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_.steamid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_.unignore_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _impl_.friend_relationship_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.hide_adult_content_violence_), + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.hide_adult_content_sex_), + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.parenthesize_nicknames_), + PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.timestamp_updated_), + 2, + 3, + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _impl_.preferences_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _impl_.preferences_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _impl_.language_), + 0, + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_headline_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_url_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.time_posted_), + PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_gid_), + 2, + 0, + 1, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.announcement_gid_), + PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.time_posted_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::CPlayer_GetMutualFriendsForIncomingInvites_Request)}, + { 6, 14, -1, sizeof(::CPlayer_IncomingInviteMutualFriendList)}, + { 16, -1, -1, sizeof(::CPlayer_GetMutualFriendsForIncomingInvites_Response)}, + { 23, 30, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Request)}, + { 31, 40, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo)}, + { 43, 54, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo)}, + { 59, 71, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response)}, + { 77, 84, -1, sizeof(::CPlayer_GetGameBadgeLevels_Request)}, + { 85, 94, -1, sizeof(::CPlayer_GetGameBadgeLevels_Response_Badge)}, + { 97, 105, -1, sizeof(::CPlayer_GetGameBadgeLevels_Response)}, + { 107, 114, -1, sizeof(::CPlayer_GetLastPlayedTimes_Request)}, + { 115, 126, -1, sizeof(::CPlayer_GetLastPlayedTimes_Response_Game)}, + { 131, -1, -1, sizeof(::CPlayer_GetLastPlayedTimes_Response)}, + { 138, -1, -1, sizeof(::CPlayer_AcceptSSA_Request)}, + { 144, -1, -1, sizeof(::CPlayer_AcceptSSA_Response)}, + { 150, -1, -1, sizeof(::CPlayer_GetNicknameList_Request)}, + { 156, 164, -1, sizeof(::CPlayer_GetNicknameList_Response_PlayerNickname)}, + { 166, -1, -1, sizeof(::CPlayer_GetNicknameList_Response)}, + { 173, -1, -1, sizeof(::CPlayer_GetPerFriendPreferences_Request)}, + { 179, 194, -1, sizeof(::PerFriendPreferences)}, + { 203, -1, -1, sizeof(::CPlayer_GetPerFriendPreferences_Response)}, + { 210, 217, -1, sizeof(::CPlayer_SetPerFriendPreferences_Request)}, + { 218, -1, -1, sizeof(::CPlayer_SetPerFriendPreferences_Response)}, + { 224, 231, -1, sizeof(::CPlayer_AddFriend_Request)}, + { 232, 240, -1, sizeof(::CPlayer_AddFriend_Response)}, + { 242, 249, -1, sizeof(::CPlayer_RemoveFriend_Request)}, + { 250, 257, -1, sizeof(::CPlayer_RemoveFriend_Response)}, + { 258, 266, -1, sizeof(::CPlayer_IgnoreFriend_Request)}, + { 268, 275, -1, sizeof(::CPlayer_IgnoreFriend_Response)}, + { 276, -1, -1, sizeof(::CPlayer_GetCommunityPreferences_Request)}, + { 282, 292, -1, sizeof(::CPlayer_CommunityPreferences)}, + { 296, 303, -1, sizeof(::CPlayer_GetCommunityPreferences_Response)}, + { 304, 311, -1, sizeof(::CPlayer_SetCommunityPreferences_Request)}, + { 312, -1, -1, sizeof(::CPlayer_SetCommunityPreferences_Response)}, + { 318, 325, -1, sizeof(::CPlayer_GetNewSteamAnnouncementState_Request)}, + { 326, 337, -1, sizeof(::CPlayer_GetNewSteamAnnouncementState_Response)}, + { 342, 350, -1, sizeof(::CPlayer_UpdateSteamAnnouncementLastRead_Request)}, + { 352, -1, -1, sizeof(::CPlayer_UpdateSteamAnnouncementLastRead_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_._instance, + &::_CPlayer_IncomingInviteMutualFriendList_default_instance_._instance, + &::_CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_._instance, + &::_CPlayer_GetFriendsGameplayInfo_Request_default_instance_._instance, + &::_CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_._instance, + &::_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_._instance, + &::_CPlayer_GetFriendsGameplayInfo_Response_default_instance_._instance, + &::_CPlayer_GetGameBadgeLevels_Request_default_instance_._instance, + &::_CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_._instance, + &::_CPlayer_GetGameBadgeLevels_Response_default_instance_._instance, + &::_CPlayer_GetLastPlayedTimes_Request_default_instance_._instance, + &::_CPlayer_GetLastPlayedTimes_Response_Game_default_instance_._instance, + &::_CPlayer_GetLastPlayedTimes_Response_default_instance_._instance, + &::_CPlayer_AcceptSSA_Request_default_instance_._instance, + &::_CPlayer_AcceptSSA_Response_default_instance_._instance, + &::_CPlayer_GetNicknameList_Request_default_instance_._instance, + &::_CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_._instance, + &::_CPlayer_GetNicknameList_Response_default_instance_._instance, + &::_CPlayer_GetPerFriendPreferences_Request_default_instance_._instance, + &::_PerFriendPreferences_default_instance_._instance, + &::_CPlayer_GetPerFriendPreferences_Response_default_instance_._instance, + &::_CPlayer_SetPerFriendPreferences_Request_default_instance_._instance, + &::_CPlayer_SetPerFriendPreferences_Response_default_instance_._instance, + &::_CPlayer_AddFriend_Request_default_instance_._instance, + &::_CPlayer_AddFriend_Response_default_instance_._instance, + &::_CPlayer_RemoveFriend_Request_default_instance_._instance, + &::_CPlayer_RemoveFriend_Response_default_instance_._instance, + &::_CPlayer_IgnoreFriend_Request_default_instance_._instance, + &::_CPlayer_IgnoreFriend_Response_default_instance_._instance, + &::_CPlayer_GetCommunityPreferences_Request_default_instance_._instance, + &::_CPlayer_CommunityPreferences_default_instance_._instance, + &::_CPlayer_GetCommunityPreferences_Response_default_instance_._instance, + &::_CPlayer_SetCommunityPreferences_Request_default_instance_._instance, + &::_CPlayer_SetCommunityPreferences_Response_default_instance_._instance, + &::_CPlayer_GetNewSteamAnnouncementState_Request_default_instance_._instance, + &::_CPlayer_GetNewSteamAnnouncementState_Response_default_instance_._instance, + &::_CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_._instance, + &::_CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5fplayer_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n(steammessages_player.steamworkssdk.pro" + "to\032.steammessages_unified_base.steamwork" + "ssdk.proto\"4\n2CPlayer_GetMutualFriendsFo" + "rIncomingInvites_Request\"\\\n&CPlayer_Inco" + "mingInviteMutualFriendList\022\017\n\007steamid\030\001 " + "\001(\006\022!\n\031mutual_friend_account_ids\030\002 \003(\r\"\214" + "\001\n3CPlayer_GetMutualFriendsForIncomingIn" + "vites_Response\022U\n$incoming_invite_mutual" + "_friends_lists\030\001 \003(\0132\'.CPlayer_IncomingI" + "nviteMutualFriendList\"7\n&CPlayer_GetFrie" + "ndsGameplayInfo_Request\022\r\n\005appid\030\001 \001(\r\"\356" + "\005\n\'CPlayer_GetFriendsGameplayInfo_Respon" + "se\022K\n\tyour_info\030\001 \001(\01328.CPlayer_GetFrien" + "dsGameplayInfo_Response.OwnGameplayInfo\022" + "M\n\007in_game\030\002 \003(\0132<.CPlayer_GetFriendsGam" + "eplayInfo_Response.FriendsGameplayInfo\022U" + "\n\017played_recently\030\003 \003(\0132<.CPlayer_GetFri" + "endsGameplayInfo_Response.FriendsGamepla" + "yInfo\022Q\n\013played_ever\030\004 \003(\0132<.CPlayer_Get" + "FriendsGameplayInfo_Response.FriendsGame" + "playInfo\022J\n\004owns\030\005 \003(\0132<.CPlayer_GetFrie" + "ndsGameplayInfo_Response.FriendsGameplay" + "Info\022Q\n\013in_wishlist\030\006 \003(\0132<.CPlayer_GetF" + "riendsGameplayInfo_Response.FriendsGamep" + "layInfo\032^\n\023FriendsGameplayInfo\022\017\n\007steami" + "d\030\001 \001(\006\022\026\n\016minutes_played\030\002 \001(\r\022\036\n\026minut" + "es_played_forever\030\003 \001(\r\032~\n\017OwnGameplayIn" + "fo\022\017\n\007steamid\030\001 \001(\006\022\026\n\016minutes_played\030\002 " + "\001(\r\022\036\n\026minutes_played_forever\030\003 \001(\r\022\023\n\013i" + "n_wishlist\030\004 \001(\010\022\r\n\005owned\030\005 \001(\010\"3\n\"CPlay" + "er_GetGameBadgeLevels_Request\022\r\n\005appid\030\001" + " \001(\r\"\265\001\n#CPlayer_GetGameBadgeLevels_Resp" + "onse\022\024\n\014player_level\030\001 \001(\r\022:\n\006badges\030\002 \003" + "(\0132*.CPlayer_GetGameBadgeLevels_Response" + ".Badge\032<\n\005Badge\022\r\n\005level\030\001 \001(\005\022\016\n\006series" + "\030\002 \001(\005\022\024\n\014border_color\030\003 \001(\r\"\202\001\n\"CPlayer" + "_GetLastPlayedTimes_Request\022\\\n\017min_last_" + "played\030\001 \001(\rBC\202\265\030\?The most recent last-p" + "layed time the client already knows abou" + "t\"\330\001\n#CPlayer_GetLastPlayedTimes_Respons" + "e\0228\n\005games\030\001 \003(\0132).CPlayer_GetLastPlayed" + "Times_Response.Game\032w\n\004Game\022\r\n\005appid\030\001 \001" + "(\005\022\025\n\rlast_playtime\030\002 \001(\r\022\027\n\017playtime_2w" + "eeks\030\003 \001(\005\022\030\n\020playtime_forever\030\004 \001(\005\022\026\n\016" + "first_playtime\030\005 \001(\r\"\033\n\031CPlayer_AcceptSS" + "A_Request\"\034\n\032CPlayer_AcceptSSA_Response\"" + "!\n\037CPlayer_GetNicknameList_Request\"\236\001\n C" + "Player_GetNicknameList_Response\022C\n\tnickn" + "ames\030\001 \003(\01320.CPlayer_GetNicknameList_Res" + "ponse.PlayerNickname\0325\n\016PlayerNickname\022\021" + "\n\taccountid\030\001 \001(\007\022\020\n\010nickname\030\002 \001(\t\")\n\'C" + "Player_GetPerFriendPreferences_Request\"\321" + "\005\n\024PerFriendPreferences\022\021\n\taccountid\030\001 \001" + "(\007\022\020\n\010nickname\030\002 \001(\t\022_\n\030notifications_sh" + "owingame\030\003 \001(\0162\025.ENotificationSetting:&k" + "_ENotificationSettingNotifyUseDefault\022_\n" + "\030notifications_showonline\030\004 \001(\0162\025.ENotif" + "icationSetting:&k_ENotificationSettingNo" + "tifyUseDefault\022a\n\032notifications_showmess" + "ages\030\005 \001(\0162\025.ENotificationSetting:&k_ENo" + "tificationSettingNotifyUseDefault\022X\n\021sou" + "nds_showingame\030\006 \001(\0162\025.ENotificationSett" + "ing:&k_ENotificationSettingNotifyUseDefa" + "ult\022X\n\021sounds_showonline\030\007 \001(\0162\025.ENotifi" + "cationSetting:&k_ENotificationSettingNot" + "ifyUseDefault\022Z\n\023sounds_showmessages\030\010 \001" + "(\0162\025.ENotificationSetting:&k_ENotificati" + "onSettingNotifyUseDefault\022_\n\030notificatio" + "ns_sendmobile\030\t \001(\0162\025.ENotificationSetti" + "ng:&k_ENotificationSettingNotifyUseDefau" + "lt\"V\n(CPlayer_GetPerFriendPreferences_Re" + "sponse\022*\n\013preferences\030\001 \003(\0132\025.PerFriendP" + "references\"U\n\'CPlayer_SetPerFriendPrefer" + "ences_Request\022*\n\013preferences\030\001 \001(\0132\025.Per" + "FriendPreferences\"*\n(CPlayer_SetPerFrien" + "dPreferences_Response\"c\n\031CPlayer_AddFrie" + "nd_Request\022F\n\007steamid\030\001 \001(\006B5\202\265\0301Steam I" + "D of user to whom to send a friend invit" + "e.\"\366\001\n\032CPlayer_AddFriend_Response\022O\n\013inv" + "ite_sent\030\001 \001(\010B:\202\265\0306True if the operatio" + "n was successful, false otherwise.\022\206\001\n\023f" + "riend_relationship\030\002 \001(\rBi\202\265\030ethe result" + "ing relationship. Depending on state, m" + "ay move directly to friends rather than " + "invite sent\"R\n\034CPlayer_RemoveFriend_Requ" + "est\0222\n\007steamid\030\001 \001(\006B!\202\265\030\035Steam ID of fr" + "iend to remove.\"\\\n\035CPlayer_RemoveFriend_" + "Response\022;\n\023friend_relationship\030\001 \001(\rB\036\202" + "\265\030\032the resulting relationship\"\177\n\034CPlayer" + "_IgnoreFriend_Request\022\017\n\007steamid\030\001 \001(\006\022N" + "\n\010unignore\030\002 \001(\010B<\202\265\0308If set, remove fro" + "m ignore/block list instead of adding \"\\" + "\n\035CPlayer_IgnoreFriend_Response\022;\n\023frien" + "d_relationship\030\001 \001(\rB\036\202\265\030\032the resulting " + "relationship\")\n\'CPlayer_GetCommunityPref" + "erences_Request\"\261\001\n\034CPlayer_CommunityPre" + "ferences\022)\n\033hide_adult_content_violence\030" + "\001 \001(\010:\004true\022$\n\026hide_adult_content_sex\030\002 " + "\001(\010:\004true\022%\n\026parenthesize_nicknames\030\004 \001(" + "\010:\005false\022\031\n\021timestamp_updated\030\003 \001(\r\"^\n(C" + "Player_GetCommunityPreferences_Response\022" + "2\n\013preferences\030\001 \001(\0132\035.CPlayer_Community" + "Preferences\"]\n\'CPlayer_SetCommunityPrefe" + "rences_Request\0222\n\013preferences\030\001 \001(\0132\035.CP" + "layer_CommunityPreferences\"*\n(CPlayer_Se" + "tCommunityPreferences_Response\"@\n,CPlaye" + "r_GetNewSteamAnnouncementState_Request\022\020" + "\n\010language\030\001 \001(\005\"\246\001\n-CPlayer_GetNewSteam" + "AnnouncementState_Response\022\r\n\005state\030\001 \001(" + "\005\022\035\n\025announcement_headline\030\002 \001(\t\022\030\n\020anno" + "uncement_url\030\003 \001(\t\022\023\n\013time_posted\030\004 \001(\r\022" + "\030\n\020announcement_gid\030\005 \001(\004\"`\n/CPlayer_Upd" + "ateSteamAnnouncementLastRead_Request\022\030\n\020" + "announcement_gid\030\001 \001(\004\022\023\n\013time_posted\030\002 " + "\001(\r\"2\n0CPlayer_UpdateSteamAnnouncementLa" + "stRead_Response*\205\001\n\024ENotificationSetting" + "\022*\n&k_ENotificationSettingNotifyUseDefau" + "lt\020\000\022 \n\034k_ENotificationSettingAlways\020\001\022\037" + "\n\033k_ENotificationSettingNever\020\0022\255\024\n\006Play" + "er\022\357\001\n\"GetMutualFriendsForIncomingInvite" + "s\0223.CPlayer_GetMutualFriendsForIncomingI" + "nvites_Request\0324.CPlayer_GetMutualFriend" + "sForIncomingInvites_Response\"^\202\265\030ZGet me" + " the mutual friends for each of my pendi" + "ng incoming invites (individuals and cla" + "ns).\022\270\001\n\026GetFriendsGameplayInfo\022\'.CPlaye" + "r_GetFriendsGameplayInfo_Request\032(.CPlay" + "er_GetFriendsGameplayInfo_Response\"K\202\265\030G" + "Get a list of friends who are playing, h" + "ave played, own, or want a game\022\266\001\n\022GetG" + "ameBadgeLevels\022#.CPlayer_GetGameBadgeLev" + "els_Request\032$.CPlayer_GetGameBadgeLevels" + "_Response\"U\202\265\030QReturns the Steam Level o" + "f a user, the Badge level for the game, " + "and if it\'s foil\022\225\001\n\030ClientGetLastPlayed" + "Times\022#.CPlayer_GetLastPlayedTimes_Reque" + "st\032$.CPlayer_GetLastPlayedTimes_Response" + "\".\202\265\030*Gets the last-played times for the" + " account\022c\n\tAcceptSSA\022\032.CPlayer_AcceptSS" + "A_Request\032\033.CPlayer_AcceptSSA_Response\"\035" + "\202\265\030\031User is accepting the SSA\022\224\001\n\017GetNic" + "knameList\022 .CPlayer_GetNicknameList_Requ" + "est\032!.CPlayer_GetNicknameList_Response\"<" + "\202\265\0308Gets the list of nicknames this user" + " has for other users\022\275\001\n\027GetPerFriendPre" + "ferences\022(.CPlayer_GetPerFriendPreferenc" + "es_Request\032).CPlayer_GetPerFriendPrefere" + "nces_Response\"M\202\265\030IGets the list of per-" + "friend preferences this user has set for" + " other users\022\267\001\n\027SetPerFriendPreferences" + "\022(.CPlayer_SetPerFriendPreferences_Reque" + "st\032).CPlayer_SetPerFriendPreferences_Res" + "ponse\"G\202\265\030CSets the logged in user\'s per" + "-friend preferences for the given user\022s" + "\n\tAddFriend\022\032.CPlayer_AddFriend_Request\032" + "\033.CPlayer_AddFriend_Response\"-\202\265\030)Invite" + "s another Steam user to be a friend\022\202\001\n\014" + "RemoveFriend\022\035.CPlayer_RemoveFriend_Requ" + "est\032\036.CPlayer_RemoveFriend_Response\"3\202\265\030" + "/Removes a friend or ignores a friend su" + "ggestion\022\246\001\n\014IgnoreFriend\022\035.CPlayer_Igno" + "reFriend_Request\032\036.CPlayer_IgnoreFriend_" + "Response\"W\202\265\030SBlocks or unblocks communi" + "cation with the user. Despite name, can" + " be a non-friend.\022\236\001\n\027GetCommunityPrefer" + "ences\022(.CPlayer_GetCommunityPreferences_" + "Request\032).CPlayer_GetCommunityPreference" + "s_Response\".\202\265\030*Returns the player\'s com" + "munity preferences\022\233\001\n\027SetCommunityPrefe" + "rences\022(.CPlayer_SetCommunityPreferences" + "_Request\032).CPlayer_SetCommunityPreferenc" + "es_Response\"+\202\265\030\'Sets the player\'s commu" + "nity preferences\022\336\001\n\034GetNewSteamAnnounce" + "mentState\022-.CPlayer_GetNewSteamAnnouncem" + "entState_Request\032..CPlayer_GetNewSteamAn" + "nouncementState_Response\"_\202\265\030[Calculates" + " and returns what to display for UI that" + " renders new steam announcement availabl" + "e\022\274\001\n\037UpdateSteamAnnouncementLastRead\0220." + "CPlayer_UpdateSteamAnnouncementLastRead_" + "Request\0321.CPlayer_UpdateSteamAnnouncemen" + "tLastRead_Response\"4\202\265\0300Marks latest ann" + "ouncement timestamp read by user\032-\202\265\030)A " + "service for accessing Steam player dataB" + "\003\200\001\001" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_deps[1] = { + &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto = { + false, false, 7364, descriptor_table_protodef_steammessages_5fplayer_2esteamworkssdk_2eproto, + "steammessages_player.steamworkssdk.proto", + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_deps, 1, 38, + schemas, file_default_instances, TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto::offsets, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto, + file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter() { + return &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fplayer_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENotificationSetting_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); + return file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]; +} +bool ENotificationSetting_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CPlayer_GetMutualFriendsForIncomingInvites_Request::_Internal { + public: +}; + +CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Request) +} +CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_GetMutualFriendsForIncomingInvites_Request* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Request) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetMutualFriendsForIncomingInvites_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetMutualFriendsForIncomingInvites_Request::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetMutualFriendsForIncomingInvites_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[0]); +} + +// =================================================================== + +class CPlayer_IncomingInviteMutualFriendList::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList(::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:CPlayer_IncomingInviteMutualFriendList) +} +CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList(const CPlayer_IncomingInviteMutualFriendList& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_IncomingInviteMutualFriendList* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mutual_friend_account_ids_){from._impl_.mutual_friend_account_ids_} + , decltype(_impl_.steamid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steamid_ = from._impl_.steamid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_IncomingInviteMutualFriendList) +} + +inline void CPlayer_IncomingInviteMutualFriendList::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mutual_friend_account_ids_){arena} + , decltype(_impl_.steamid_){uint64_t{0u}} + }; +} + +CPlayer_IncomingInviteMutualFriendList::~CPlayer_IncomingInviteMutualFriendList() { + // @@protoc_insertion_point(destructor:CPlayer_IncomingInviteMutualFriendList) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_IncomingInviteMutualFriendList::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mutual_friend_account_ids_.~RepeatedField(); +} + +void CPlayer_IncomingInviteMutualFriendList::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_IncomingInviteMutualFriendList::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_IncomingInviteMutualFriendList) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mutual_friend_account_ids_.Clear(); + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_IncomingInviteMutualFriendList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated uint32 mutual_friend_account_ids = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_mutual_friend_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_mutual_friend_account_ids(), ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_IncomingInviteMutualFriendList::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IncomingInviteMutualFriendList) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // repeated uint32 mutual_friend_account_ids = 2; + for (int i = 0, n = this->_internal_mutual_friend_account_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mutual_friend_account_ids(i), 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:CPlayer_IncomingInviteMutualFriendList) + return target; +} + +size_t CPlayer_IncomingInviteMutualFriendList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_IncomingInviteMutualFriendList) + 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 uint32 mutual_friend_account_ids = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.mutual_friend_account_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_mutual_friend_account_ids_size()); + total_size += data_size; + } + + // optional fixed64 steamid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IncomingInviteMutualFriendList::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_IncomingInviteMutualFriendList::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IncomingInviteMutualFriendList::GetClassData() const { return &_class_data_; } + + +void CPlayer_IncomingInviteMutualFriendList::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:CPlayer_IncomingInviteMutualFriendList) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.mutual_friend_account_ids_.MergeFrom(from._impl_.mutual_friend_account_ids_); + if (from._internal_has_steamid()) { + _this->_internal_set_steamid(from._internal_steamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_IncomingInviteMutualFriendList::CopyFrom(const CPlayer_IncomingInviteMutualFriendList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IncomingInviteMutualFriendList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_IncomingInviteMutualFriendList::IsInitialized() const { + return true; +} + +void CPlayer_IncomingInviteMutualFriendList::InternalSwap(CPlayer_IncomingInviteMutualFriendList* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.mutual_friend_account_ids_.InternalSwap(&other->_impl_.mutual_friend_account_ids_); + swap(_impl_.steamid_, other->_impl_.steamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IncomingInviteMutualFriendList::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[1]); +} + +// =================================================================== + +class CPlayer_GetMutualFriendsForIncomingInvites_Response::_Internal { + public: +}; + +CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_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:CPlayer_GetMutualFriendsForIncomingInvites_Response) +} +CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_Response(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetMutualFriendsForIncomingInvites_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.incoming_invite_mutual_friends_lists_){from._impl_.incoming_invite_mutual_friends_lists_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Response) +} + +inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.incoming_invite_mutual_friends_lists_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CPlayer_GetMutualFriendsForIncomingInvites_Response::~CPlayer_GetMutualFriendsForIncomingInvites_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetMutualFriendsForIncomingInvites_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.incoming_invite_mutual_friends_lists_.~RepeatedPtrField(); +} + +void CPlayer_GetMutualFriendsForIncomingInvites_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetMutualFriendsForIncomingInvites_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.incoming_invite_mutual_friends_lists_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetMutualFriendsForIncomingInvites_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) { + // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_incoming_invite_mutual_friends_lists(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CPlayer_GetMutualFriendsForIncomingInvites_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_incoming_invite_mutual_friends_lists_size()); i < n; i++) { + const auto& repfield = this->_internal_incoming_invite_mutual_friends_lists(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CPlayer_GetMutualFriendsForIncomingInvites_Response) + return target; +} + +size_t CPlayer_GetMutualFriendsForIncomingInvites_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetMutualFriendsForIncomingInvites_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; + + // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; + total_size += 1UL * this->_internal_incoming_invite_mutual_friends_lists_size(); + for (const auto& msg : this->_impl_.incoming_invite_mutual_friends_lists_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetMutualFriendsForIncomingInvites_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetMutualFriendsForIncomingInvites_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetMutualFriendsForIncomingInvites_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetMutualFriendsForIncomingInvites_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:CPlayer_GetMutualFriendsForIncomingInvites_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.incoming_invite_mutual_friends_lists_.MergeFrom(from._impl_.incoming_invite_mutual_friends_lists_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetMutualFriendsForIncomingInvites_Response::CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetMutualFriendsForIncomingInvites_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetMutualFriendsForIncomingInvites_Response::InternalSwap(CPlayer_GetMutualFriendsForIncomingInvites_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.incoming_invite_mutual_friends_lists_.InternalSwap(&other->_impl_.incoming_invite_mutual_friends_lists_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetMutualFriendsForIncomingInvites_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[2]); +} + +// =================================================================== + +class CPlayer_GetFriendsGameplayInfo_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_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:CPlayer_GetFriendsGameplayInfo_Request) +} +CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_Request(const CPlayer_GetFriendsGameplayInfo_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetFriendsGameplayInfo_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Request) +} + +inline void CPlayer_GetFriendsGameplayInfo_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + }; +} + +CPlayer_GetFriendsGameplayInfo_Request::~CPlayer_GetFriendsGameplayInfo_Request() { + // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetFriendsGameplayInfo_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetFriendsGameplayInfo_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetFriendsGameplayInfo_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetFriendsGameplayInfo_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetFriendsGameplayInfo_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), 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:CPlayer_GetFriendsGameplayInfo_Request) + return target; +} + +size_t CPlayer_GetFriendsGameplayInfo_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_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; + + // optional uint32 appid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetFriendsGameplayInfo_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetFriendsGameplayInfo_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:CPlayer_GetFriendsGameplayInfo_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_appid()) { + _this->_internal_set_appid(from._internal_appid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetFriendsGameplayInfo_Request::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetFriendsGameplayInfo_Request::IsInitialized() const { + return true; +} + +void CPlayer_GetFriendsGameplayInfo_Request::InternalSwap(CPlayer_GetFriendsGameplayInfo_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[3]); +} + +// =================================================================== + +class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_minutes_played(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_minutes_played_forever(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::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:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) +} +CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.minutes_played_){} + , decltype(_impl_.minutes_played_forever_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.minutes_played_forever_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.minutes_played_forever_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) +} + +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.minutes_played_){0u} + , decltype(_impl_.minutes_played_forever_){0u} + }; +} + +CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() { + // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.minutes_played_forever_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.minutes_played_forever_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 minutes_played = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_minutes_played(&has_bits); + _impl_.minutes_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 minutes_played_forever = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_minutes_played_forever(&has_bits); + _impl_.minutes_played_forever_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 minutes_played = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minutes_played(), target); + } + + // optional uint32 minutes_played_forever = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_minutes_played_forever(), 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:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + return target; +} + +size_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 minutes_played = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played()); + } + + // optional uint32 minutes_played_forever = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played_forever()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::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:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.minutes_played_ = from._impl_.minutes_played_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.minutes_played_forever_ = from._impl_.minutes_played_forever_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::IsInitialized() const { + return true; +} + +void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_forever_) + + sizeof(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_impl_.minutes_played_forever_) + - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[4]); +} + +// =================================================================== + +class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_minutes_played(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_minutes_played_forever(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_in_wishlist(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_owned(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::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:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) +} +CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.minutes_played_){} + , decltype(_impl_.minutes_played_forever_){} + , decltype(_impl_.in_wishlist_){} + , decltype(_impl_.owned_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.owned_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.owned_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) +} + +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.minutes_played_){0u} + , decltype(_impl_.minutes_played_forever_){0u} + , decltype(_impl_.in_wishlist_){false} + , decltype(_impl_.owned_){false} + }; +} + +CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() { + // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.owned_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.owned_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 minutes_played = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_minutes_played(&has_bits); + _impl_.minutes_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 minutes_played_forever = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_minutes_played_forever(&has_bits); + _impl_.minutes_played_forever_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool in_wishlist = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_in_wishlist(&has_bits); + _impl_.in_wishlist_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool owned = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_owned(&has_bits); + _impl_.owned_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional uint32 minutes_played = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minutes_played(), target); + } + + // optional uint32 minutes_played_forever = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_minutes_played_forever(), target); + } + + // optional bool in_wishlist = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_in_wishlist(), target); + } + + // optional bool owned = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_owned(), 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:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + return target; +} + +size_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional uint32 minutes_played = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played()); + } + + // optional uint32 minutes_played_forever = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played_forever()); + } + + // optional bool in_wishlist = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool owned = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::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:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.minutes_played_ = from._impl_.minutes_played_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.minutes_played_forever_ = from._impl_.minutes_played_forever_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.in_wishlist_ = from._impl_.in_wishlist_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.owned_ = from._impl_.owned_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::IsInitialized() const { + return true; +} + +void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.owned_) + + sizeof(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_impl_.owned_) + - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[5]); +} + +// =================================================================== + +class CPlayer_GetFriendsGameplayInfo_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& your_info(const CPlayer_GetFriendsGameplayInfo_Response* msg); + static void set_has_your_info(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& +CPlayer_GetFriendsGameplayInfo_Response::_Internal::your_info(const CPlayer_GetFriendsGameplayInfo_Response* msg) { + return *msg->_impl_.your_info_; +} +CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_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:CPlayer_GetFriendsGameplayInfo_Response) +} +CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_Response(const CPlayer_GetFriendsGameplayInfo_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetFriendsGameplayInfo_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.in_game_){from._impl_.in_game_} + , decltype(_impl_.played_recently_){from._impl_.played_recently_} + , decltype(_impl_.played_ever_){from._impl_.played_ever_} + , decltype(_impl_.owns_){from._impl_.owns_} + , decltype(_impl_.in_wishlist_){from._impl_.in_wishlist_} + , decltype(_impl_.your_info_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_your_info()) { + _this->_impl_.your_info_ = new ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(*from._impl_.your_info_); + } + // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response) +} + +inline void CPlayer_GetFriendsGameplayInfo_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.in_game_){arena} + , decltype(_impl_.played_recently_){arena} + , decltype(_impl_.played_ever_){arena} + , decltype(_impl_.owns_){arena} + , decltype(_impl_.in_wishlist_){arena} + , decltype(_impl_.your_info_){nullptr} + }; +} + +CPlayer_GetFriendsGameplayInfo_Response::~CPlayer_GetFriendsGameplayInfo_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetFriendsGameplayInfo_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.in_game_.~RepeatedPtrField(); + _impl_.played_recently_.~RepeatedPtrField(); + _impl_.played_ever_.~RepeatedPtrField(); + _impl_.owns_.~RepeatedPtrField(); + _impl_.in_wishlist_.~RepeatedPtrField(); + if (this != internal_default_instance()) delete _impl_.your_info_; +} + +void CPlayer_GetFriendsGameplayInfo_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetFriendsGameplayInfo_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.in_game_.Clear(); + _impl_.played_recently_.Clear(); + _impl_.played_ever_.Clear(); + _impl_.owns_.Clear(); + _impl_.in_wishlist_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.your_info_ != nullptr); + _impl_.your_info_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetFriendsGameplayInfo_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_your_info(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_in_game(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_played_recently(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_played_ever(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_owns(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_in_wishlist(), ptr); + CHK_(ptr); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetFriendsGameplayInfo_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::your_info(this), + _Internal::your_info(this).GetCachedSize(), target, stream); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_in_game_size()); i < n; i++) { + const auto& repfield = this->_internal_in_game(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_played_recently_size()); i < n; i++) { + const auto& repfield = this->_internal_played_recently(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_played_ever_size()); i < n; i++) { + const auto& repfield = this->_internal_played_ever(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_owns_size()); i < n; i++) { + const auto& repfield = this->_internal_owns(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; + for (unsigned i = 0, + n = static_cast(this->_internal_in_wishlist_size()); i < n; i++) { + const auto& repfield = this->_internal_in_wishlist(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, 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:CPlayer_GetFriendsGameplayInfo_Response) + return target; +} + +size_t CPlayer_GetFriendsGameplayInfo_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_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; + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; + total_size += 1UL * this->_internal_in_game_size(); + for (const auto& msg : this->_impl_.in_game_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; + total_size += 1UL * this->_internal_played_recently_size(); + for (const auto& msg : this->_impl_.played_recently_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; + total_size += 1UL * this->_internal_played_ever_size(); + for (const auto& msg : this->_impl_.played_ever_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; + total_size += 1UL * this->_internal_owns_size(); + for (const auto& msg : this->_impl_.owns_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; + total_size += 1UL * this->_internal_in_wishlist_size(); + for (const auto& msg : this->_impl_.in_wishlist_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.your_info_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetFriendsGameplayInfo_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetFriendsGameplayInfo_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:CPlayer_GetFriendsGameplayInfo_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.in_game_.MergeFrom(from._impl_.in_game_); + _this->_impl_.played_recently_.MergeFrom(from._impl_.played_recently_); + _this->_impl_.played_ever_.MergeFrom(from._impl_.played_ever_); + _this->_impl_.owns_.MergeFrom(from._impl_.owns_); + _this->_impl_.in_wishlist_.MergeFrom(from._impl_.in_wishlist_); + if (from._internal_has_your_info()) { + _this->_internal_mutable_your_info()->::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeFrom( + from._internal_your_info()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetFriendsGameplayInfo_Response::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetFriendsGameplayInfo_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetFriendsGameplayInfo_Response::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.in_game_.InternalSwap(&other->_impl_.in_game_); + _impl_.played_recently_.InternalSwap(&other->_impl_.played_recently_); + _impl_.played_ever_.InternalSwap(&other->_impl_.played_ever_); + _impl_.owns_.InternalSwap(&other->_impl_.owns_); + _impl_.in_wishlist_.InternalSwap(&other->_impl_.in_wishlist_); + swap(_impl_.your_info_, other->_impl_.your_info_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[6]); +} + +// =================================================================== + +class CPlayer_GetGameBadgeLevels_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_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:CPlayer_GetGameBadgeLevels_Request) +} +CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_Request(const CPlayer_GetGameBadgeLevels_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetGameBadgeLevels_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.appid_ = from._impl_.appid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Request) +} + +inline void CPlayer_GetGameBadgeLevels_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0u} + }; +} + +CPlayer_GetGameBadgeLevels_Request::~CPlayer_GetGameBadgeLevels_Request() { + // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetGameBadgeLevels_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetGameBadgeLevels_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetGameBadgeLevels_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.appid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetGameBadgeLevels_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetGameBadgeLevels_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), 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:CPlayer_GetGameBadgeLevels_Request) + return target; +} + +size_t CPlayer_GetGameBadgeLevels_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_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; + + // optional uint32 appid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetGameBadgeLevels_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetGameBadgeLevels_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:CPlayer_GetGameBadgeLevels_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_appid()) { + _this->_internal_set_appid(from._internal_appid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetGameBadgeLevels_Request::CopyFrom(const CPlayer_GetGameBadgeLevels_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetGameBadgeLevels_Request::IsInitialized() const { + return true; +} + +void CPlayer_GetGameBadgeLevels_Request::InternalSwap(CPlayer_GetGameBadgeLevels_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.appid_, other->_impl_.appid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[7]); +} + +// =================================================================== + +class CPlayer_GetGameBadgeLevels_Response_Badge::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_level(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_series(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_border_color(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge(::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:CPlayer_GetGameBadgeLevels_Response.Badge) +} +CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge(const CPlayer_GetGameBadgeLevels_Response_Badge& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetGameBadgeLevels_Response_Badge* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.level_){} + , decltype(_impl_.series_){} + , decltype(_impl_.border_color_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.level_, &from._impl_.level_, + static_cast(reinterpret_cast(&_impl_.border_color_) - + reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.border_color_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Response.Badge) +} + +inline void CPlayer_GetGameBadgeLevels_Response_Badge::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.level_){0} + , decltype(_impl_.series_){0} + , decltype(_impl_.border_color_){0u} + }; +} + +CPlayer_GetGameBadgeLevels_Response_Badge::~CPlayer_GetGameBadgeLevels_Response_Badge() { + // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Response.Badge) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetGameBadgeLevels_Response_Badge::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetGameBadgeLevels_Response_Badge::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetGameBadgeLevels_Response_Badge::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Response.Badge) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.level_, 0, static_cast( + reinterpret_cast(&_impl_.border_color_) - + reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.border_color_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetGameBadgeLevels_Response_Badge::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 level = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_level(&has_bits); + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 series = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_series(&has_bits); + _impl_.series_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 border_color = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_border_color(&has_bits); + _impl_.border_color_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetGameBadgeLevels_Response_Badge::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Response.Badge) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 level = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_level(), target); + } + + // optional int32 series = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_series(), target); + } + + // optional uint32 border_color = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_border_color(), 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:CPlayer_GetGameBadgeLevels_Response.Badge) + return target; +} + +size_t CPlayer_GetGameBadgeLevels_Response_Badge::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_Response.Badge) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 level = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_level()); + } + + // optional int32 series = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_series()); + } + + // optional uint32 border_color = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_border_color()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Response_Badge::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetGameBadgeLevels_Response_Badge::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Response_Badge::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetGameBadgeLevels_Response_Badge::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:CPlayer_GetGameBadgeLevels_Response.Badge) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.level_ = from._impl_.level_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.series_ = from._impl_.series_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.border_color_ = from._impl_.border_color_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetGameBadgeLevels_Response_Badge::CopyFrom(const CPlayer_GetGameBadgeLevels_Response_Badge& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Response.Badge) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetGameBadgeLevels_Response_Badge::IsInitialized() const { + return true; +} + +void CPlayer_GetGameBadgeLevels_Response_Badge::InternalSwap(CPlayer_GetGameBadgeLevels_Response_Badge* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.border_color_) + + sizeof(CPlayer_GetGameBadgeLevels_Response_Badge::_impl_.border_color_) + - PROTOBUF_FIELD_OFFSET(CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.level_)>( + reinterpret_cast(&_impl_.level_), + reinterpret_cast(&other->_impl_.level_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Response_Badge::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[8]); +} + +// =================================================================== + +class CPlayer_GetGameBadgeLevels_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player_level(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_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:CPlayer_GetGameBadgeLevels_Response) +} +CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_Response(const CPlayer_GetGameBadgeLevels_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetGameBadgeLevels_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.badges_){from._impl_.badges_} + , decltype(_impl_.player_level_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.player_level_ = from._impl_.player_level_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Response) +} + +inline void CPlayer_GetGameBadgeLevels_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.badges_){arena} + , decltype(_impl_.player_level_){0u} + }; +} + +CPlayer_GetGameBadgeLevels_Response::~CPlayer_GetGameBadgeLevels_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetGameBadgeLevels_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.badges_.~RepeatedPtrField(); +} + +void CPlayer_GetGameBadgeLevels_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetGameBadgeLevels_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.badges_.Clear(); + _impl_.player_level_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetGameBadgeLevels_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 player_level = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_player_level(&has_bits); + _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_badges(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetGameBadgeLevels_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 player_level = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_player_level(), target); + } + + // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_badges_size()); i < n; i++) { + const auto& repfield = this->_internal_badges(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:CPlayer_GetGameBadgeLevels_Response) + return target; +} + +size_t CPlayer_GetGameBadgeLevels_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_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; + + // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; + total_size += 1UL * this->_internal_badges_size(); + for (const auto& msg : this->_impl_.badges_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional uint32 player_level = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetGameBadgeLevels_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetGameBadgeLevels_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:CPlayer_GetGameBadgeLevels_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.badges_.MergeFrom(from._impl_.badges_); + if (from._internal_has_player_level()) { + _this->_internal_set_player_level(from._internal_player_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetGameBadgeLevels_Response::CopyFrom(const CPlayer_GetGameBadgeLevels_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetGameBadgeLevels_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetGameBadgeLevels_Response::InternalSwap(CPlayer_GetGameBadgeLevels_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.badges_.InternalSwap(&other->_impl_.badges_); + swap(_impl_.player_level_, other->_impl_.player_level_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[9]); +} + +// =================================================================== + +class CPlayer_GetLastPlayedTimes_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_min_last_played(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_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:CPlayer_GetLastPlayedTimes_Request) +} +CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_Request(const CPlayer_GetLastPlayedTimes_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetLastPlayedTimes_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.min_last_played_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.min_last_played_ = from._impl_.min_last_played_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Request) +} + +inline void CPlayer_GetLastPlayedTimes_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.min_last_played_){0u} + }; +} + +CPlayer_GetLastPlayedTimes_Request::~CPlayer_GetLastPlayedTimes_Request() { + // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetLastPlayedTimes_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetLastPlayedTimes_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetLastPlayedTimes_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.min_last_played_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetLastPlayedTimes_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_min_last_played(&has_bits); + _impl_.min_last_played_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetLastPlayedTimes_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_min_last_played(), 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:CPlayer_GetLastPlayedTimes_Request) + return target; +} + +size_t CPlayer_GetLastPlayedTimes_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_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; + + // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_min_last_played()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetLastPlayedTimes_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetLastPlayedTimes_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:CPlayer_GetLastPlayedTimes_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_min_last_played()) { + _this->_internal_set_min_last_played(from._internal_min_last_played()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetLastPlayedTimes_Request::CopyFrom(const CPlayer_GetLastPlayedTimes_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetLastPlayedTimes_Request::IsInitialized() const { + return true; +} + +void CPlayer_GetLastPlayedTimes_Request::InternalSwap(CPlayer_GetLastPlayedTimes_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.min_last_played_, other->_impl_.min_last_played_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[10]); +} + +// =================================================================== + +class CPlayer_GetLastPlayedTimes_Response_Game::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_last_playtime(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_playtime_2weeks(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_playtime_forever(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_first_playtime(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game(::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:CPlayer_GetLastPlayedTimes_Response.Game) +} +CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game(const CPlayer_GetLastPlayedTimes_Response_Game& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetLastPlayedTimes_Response_Game* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){} + , decltype(_impl_.last_playtime_){} + , decltype(_impl_.playtime_2weeks_){} + , decltype(_impl_.playtime_forever_){} + , decltype(_impl_.first_playtime_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.first_playtime_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.first_playtime_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Response.Game) +} + +inline void CPlayer_GetLastPlayedTimes_Response_Game::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.appid_){0} + , decltype(_impl_.last_playtime_){0u} + , decltype(_impl_.playtime_2weeks_){0} + , decltype(_impl_.playtime_forever_){0} + , decltype(_impl_.first_playtime_){0u} + }; +} + +CPlayer_GetLastPlayedTimes_Response_Game::~CPlayer_GetLastPlayedTimes_Response_Game() { + // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Response.Game) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetLastPlayedTimes_Response_Game::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetLastPlayedTimes_Response_Game::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetLastPlayedTimes_Response_Game::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Response.Game) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.first_playtime_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.first_playtime_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetLastPlayedTimes_Response_Game::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 last_playtime = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_last_playtime(&has_bits); + _impl_.last_playtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 playtime_2weeks = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_playtime_2weeks(&has_bits); + _impl_.playtime_2weeks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 playtime_forever = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_playtime_forever(&has_bits); + _impl_.playtime_forever_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 first_playtime = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_first_playtime(&has_bits); + _impl_.first_playtime_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetLastPlayedTimes_Response_Game::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Response.Game) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 last_playtime = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_last_playtime(), target); + } + + // optional int32 playtime_2weeks = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_playtime_2weeks(), target); + } + + // optional int32 playtime_forever = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_playtime_forever(), target); + } + + // optional uint32 first_playtime = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_first_playtime(), 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:CPlayer_GetLastPlayedTimes_Response.Game) + return target; +} + +size_t CPlayer_GetLastPlayedTimes_Response_Game::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_Response.Game) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 appid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 last_playtime = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_playtime()); + } + + // optional int32 playtime_2weeks = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playtime_2weeks()); + } + + // optional int32 playtime_forever = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playtime_forever()); + } + + // optional uint32 first_playtime = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_first_playtime()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Response_Game::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetLastPlayedTimes_Response_Game::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Response_Game::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetLastPlayedTimes_Response_Game::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:CPlayer_GetLastPlayedTimes_Response.Game) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.last_playtime_ = from._impl_.last_playtime_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.playtime_2weeks_ = from._impl_.playtime_2weeks_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.playtime_forever_ = from._impl_.playtime_forever_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.first_playtime_ = from._impl_.first_playtime_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetLastPlayedTimes_Response_Game::CopyFrom(const CPlayer_GetLastPlayedTimes_Response_Game& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Response.Game) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetLastPlayedTimes_Response_Game::IsInitialized() const { + return true; +} + +void CPlayer_GetLastPlayedTimes_Response_Game::InternalSwap(CPlayer_GetLastPlayedTimes_Response_Game* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_GetLastPlayedTimes_Response_Game, _impl_.first_playtime_) + + sizeof(CPlayer_GetLastPlayedTimes_Response_Game::_impl_.first_playtime_) + - PROTOBUF_FIELD_OFFSET(CPlayer_GetLastPlayedTimes_Response_Game, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Response_Game::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[11]); +} + +// =================================================================== + +class CPlayer_GetLastPlayedTimes_Response::_Internal { + public: +}; + +CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_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:CPlayer_GetLastPlayedTimes_Response) +} +CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_Response(const CPlayer_GetLastPlayedTimes_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetLastPlayedTimes_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.games_){from._impl_.games_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Response) +} + +inline void CPlayer_GetLastPlayedTimes_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.games_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CPlayer_GetLastPlayedTimes_Response::~CPlayer_GetLastPlayedTimes_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetLastPlayedTimes_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.games_.~RepeatedPtrField(); +} + +void CPlayer_GetLastPlayedTimes_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetLastPlayedTimes_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.games_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetLastPlayedTimes_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) { + // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_games(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CPlayer_GetLastPlayedTimes_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_games_size()); i < n; i++) { + const auto& repfield = this->_internal_games(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CPlayer_GetLastPlayedTimes_Response) + return target; +} + +size_t CPlayer_GetLastPlayedTimes_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_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; + + // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; + total_size += 1UL * this->_internal_games_size(); + for (const auto& msg : this->_impl_.games_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetLastPlayedTimes_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetLastPlayedTimes_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:CPlayer_GetLastPlayedTimes_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.games_.MergeFrom(from._impl_.games_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetLastPlayedTimes_Response::CopyFrom(const CPlayer_GetLastPlayedTimes_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetLastPlayedTimes_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetLastPlayedTimes_Response::InternalSwap(CPlayer_GetLastPlayedTimes_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.games_.InternalSwap(&other->_impl_.games_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[12]); +} + +// =================================================================== + +class CPlayer_AcceptSSA_Request::_Internal { + public: +}; + +CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_AcceptSSA_Request) +} +CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request(const CPlayer_AcceptSSA_Request& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_AcceptSSA_Request* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_AcceptSSA_Request) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AcceptSSA_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AcceptSSA_Request::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AcceptSSA_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[13]); +} + +// =================================================================== + +class CPlayer_AcceptSSA_Response::_Internal { + public: +}; + +CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_AcceptSSA_Response) +} +CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response(const CPlayer_AcceptSSA_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_AcceptSSA_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_AcceptSSA_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AcceptSSA_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AcceptSSA_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AcceptSSA_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[14]); +} + +// =================================================================== + +class CPlayer_GetNicknameList_Request::_Internal { + public: +}; + +CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_GetNicknameList_Request) +} +CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request(const CPlayer_GetNicknameList_Request& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_GetNicknameList_Request* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Request) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Request::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[15]); +} + +// =================================================================== + +class CPlayer_GetNicknameList_Response_PlayerNickname::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_nickname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname(::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:CPlayer_GetNicknameList_Response.PlayerNickname) +} +CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname(const CPlayer_GetNicknameList_Response_PlayerNickname& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetNicknameList_Response_PlayerNickname* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.nickname_){} + , decltype(_impl_.accountid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.nickname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nickname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_nickname()) { + _this->_impl_.nickname_.Set(from._internal_nickname(), + _this->GetArenaForAllocation()); + } + _this->_impl_.accountid_ = from._impl_.accountid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Response.PlayerNickname) +} + +inline void CPlayer_GetNicknameList_Response_PlayerNickname::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.nickname_){} + , decltype(_impl_.accountid_){0u} + }; + _impl_.nickname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nickname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPlayer_GetNicknameList_Response_PlayerNickname::~CPlayer_GetNicknameList_Response_PlayerNickname() { + // @@protoc_insertion_point(destructor:CPlayer_GetNicknameList_Response.PlayerNickname) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetNicknameList_Response_PlayerNickname::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.nickname_.Destroy(); +} + +void CPlayer_GetNicknameList_Response_PlayerNickname::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetNicknameList_Response_PlayerNickname::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetNicknameList_Response.PlayerNickname) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.nickname_.ClearNonDefaultToEmpty(); + } + _impl_.accountid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetNicknameList_Response_PlayerNickname::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string nickname = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_nickname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPlayer_GetNicknameList_Response.PlayerNickname.nickname"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetNicknameList_Response_PlayerNickname::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNicknameList_Response.PlayerNickname) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_accountid(), target); + } + + // optional string nickname = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_nickname().data(), static_cast(this->_internal_nickname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPlayer_GetNicknameList_Response.PlayerNickname.nickname"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_nickname(), 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:CPlayer_GetNicknameList_Response.PlayerNickname) + return target; +} + +size_t CPlayer_GetNicknameList_Response_PlayerNickname::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNicknameList_Response.PlayerNickname) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string nickname = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nickname()); + } + + // optional fixed32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Response_PlayerNickname::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetNicknameList_Response_PlayerNickname::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Response_PlayerNickname::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetNicknameList_Response_PlayerNickname::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:CPlayer_GetNicknameList_Response.PlayerNickname) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_nickname(from._internal_nickname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetNicknameList_Response_PlayerNickname::CopyFrom(const CPlayer_GetNicknameList_Response_PlayerNickname& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNicknameList_Response.PlayerNickname) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetNicknameList_Response_PlayerNickname::IsInitialized() const { + return true; +} + +void CPlayer_GetNicknameList_Response_PlayerNickname::InternalSwap(CPlayer_GetNicknameList_Response_PlayerNickname* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nickname_, lhs_arena, + &other->_impl_.nickname_, rhs_arena + ); + swap(_impl_.accountid_, other->_impl_.accountid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Response_PlayerNickname::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[16]); +} + +// =================================================================== + +class CPlayer_GetNicknameList_Response::_Internal { + public: +}; + +CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_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:CPlayer_GetNicknameList_Response) +} +CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_Response(const CPlayer_GetNicknameList_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetNicknameList_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.nicknames_){from._impl_.nicknames_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Response) +} + +inline void CPlayer_GetNicknameList_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.nicknames_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CPlayer_GetNicknameList_Response::~CPlayer_GetNicknameList_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetNicknameList_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetNicknameList_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.nicknames_.~RepeatedPtrField(); +} + +void CPlayer_GetNicknameList_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetNicknameList_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetNicknameList_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.nicknames_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetNicknameList_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) { + // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_nicknames(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CPlayer_GetNicknameList_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNicknameList_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_nicknames_size()); i < n; i++) { + const auto& repfield = this->_internal_nicknames(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CPlayer_GetNicknameList_Response) + return target; +} + +size_t CPlayer_GetNicknameList_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNicknameList_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; + + // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; + total_size += 1UL * this->_internal_nicknames_size(); + for (const auto& msg : this->_impl_.nicknames_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetNicknameList_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetNicknameList_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:CPlayer_GetNicknameList_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.nicknames_.MergeFrom(from._impl_.nicknames_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetNicknameList_Response::CopyFrom(const CPlayer_GetNicknameList_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNicknameList_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetNicknameList_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetNicknameList_Response::InternalSwap(CPlayer_GetNicknameList_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.nicknames_.InternalSwap(&other->_impl_.nicknames_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[17]); +} + +// =================================================================== + +class CPlayer_GetPerFriendPreferences_Request::_Internal { + public: +}; + +CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_GetPerFriendPreferences_Request) +} +CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request(const CPlayer_GetPerFriendPreferences_Request& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_GetPerFriendPreferences_Request* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetPerFriendPreferences_Request) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetPerFriendPreferences_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetPerFriendPreferences_Request::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetPerFriendPreferences_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[18]); +} + +// =================================================================== + +class PerFriendPreferences::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_accountid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_nickname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_notifications_showingame(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_notifications_showonline(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_notifications_showmessages(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_sounds_showingame(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_sounds_showonline(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_sounds_showmessages(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_notifications_sendmobile(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +PerFriendPreferences::PerFriendPreferences(::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:PerFriendPreferences) +} +PerFriendPreferences::PerFriendPreferences(const PerFriendPreferences& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PerFriendPreferences* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.nickname_){} + , decltype(_impl_.accountid_){} + , decltype(_impl_.notifications_showingame_){} + , decltype(_impl_.notifications_showonline_){} + , decltype(_impl_.notifications_showmessages_){} + , decltype(_impl_.sounds_showingame_){} + , decltype(_impl_.sounds_showonline_){} + , decltype(_impl_.sounds_showmessages_){} + , decltype(_impl_.notifications_sendmobile_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.nickname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nickname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_nickname()) { + _this->_impl_.nickname_.Set(from._internal_nickname(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, + static_cast(reinterpret_cast(&_impl_.notifications_sendmobile_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.notifications_sendmobile_)); + // @@protoc_insertion_point(copy_constructor:PerFriendPreferences) +} + +inline void PerFriendPreferences::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.nickname_){} + , decltype(_impl_.accountid_){0u} + , decltype(_impl_.notifications_showingame_){0} + , decltype(_impl_.notifications_showonline_){0} + , decltype(_impl_.notifications_showmessages_){0} + , decltype(_impl_.sounds_showingame_){0} + , decltype(_impl_.sounds_showonline_){0} + , decltype(_impl_.sounds_showmessages_){0} + , decltype(_impl_.notifications_sendmobile_){0} + }; + _impl_.nickname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nickname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PerFriendPreferences::~PerFriendPreferences() { + // @@protoc_insertion_point(destructor:PerFriendPreferences) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PerFriendPreferences::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.nickname_.Destroy(); +} + +void PerFriendPreferences::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PerFriendPreferences::Clear() { +// @@protoc_insertion_point(message_clear_start:PerFriendPreferences) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.nickname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x000000feu) { + ::memset(&_impl_.accountid_, 0, static_cast( + reinterpret_cast(&_impl_.sounds_showmessages_) - + reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.sounds_showmessages_)); + } + _impl_.notifications_sendmobile_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PerFriendPreferences::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 accountid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_accountid(&has_bits); + _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string nickname = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_nickname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PerFriendPreferences.nickname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_notifications_showingame(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_notifications_showonline(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_notifications_showmessages(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_sounds_showingame(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_sounds_showonline(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_sounds_showmessages(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(8, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { + _internal_set_notifications_sendmobile(static_cast<::ENotificationSetting>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields()); + } + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PerFriendPreferences::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PerFriendPreferences) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_accountid(), target); + } + + // optional string nickname = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_nickname().data(), static_cast(this->_internal_nickname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PerFriendPreferences.nickname"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_nickname(), target); + } + + // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this->_internal_notifications_showingame(), target); + } + + // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_notifications_showonline(), target); + } + + // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this->_internal_notifications_showmessages(), target); + } + + // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 6, this->_internal_sounds_showingame(), target); + } + + // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 7, this->_internal_sounds_showonline(), target); + } + + // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 8, this->_internal_sounds_showmessages(), target); + } + + // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 9, this->_internal_notifications_sendmobile(), 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:PerFriendPreferences) + return target; +} + +size_t PerFriendPreferences::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PerFriendPreferences) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string nickname = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nickname()); + } + + // optional fixed32 accountid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showingame()); + } + + // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showonline()); + } + + // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showmessages()); + } + + // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showingame()); + } + + // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showonline()); + } + + // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showmessages()); + } + + } + // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_sendmobile()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PerFriendPreferences::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PerFriendPreferences::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PerFriendPreferences::GetClassData() const { return &_class_data_; } + + +void PerFriendPreferences::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:PerFriendPreferences) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_nickname(from._internal_nickname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.accountid_ = from._impl_.accountid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.notifications_showingame_ = from._impl_.notifications_showingame_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.notifications_showonline_ = from._impl_.notifications_showonline_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.notifications_showmessages_ = from._impl_.notifications_showmessages_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.sounds_showingame_ = from._impl_.sounds_showingame_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.sounds_showonline_ = from._impl_.sounds_showonline_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.sounds_showmessages_ = from._impl_.sounds_showmessages_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_notifications_sendmobile(from._internal_notifications_sendmobile()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PerFriendPreferences::CopyFrom(const PerFriendPreferences& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PerFriendPreferences) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PerFriendPreferences::IsInitialized() const { + return true; +} + +void PerFriendPreferences::InternalSwap(PerFriendPreferences* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nickname_, lhs_arena, + &other->_impl_.nickname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PerFriendPreferences, _impl_.notifications_sendmobile_) + + sizeof(PerFriendPreferences::_impl_.notifications_sendmobile_) + - PROTOBUF_FIELD_OFFSET(PerFriendPreferences, _impl_.accountid_)>( + reinterpret_cast(&_impl_.accountid_), + reinterpret_cast(&other->_impl_.accountid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PerFriendPreferences::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[19]); +} + +// =================================================================== + +class CPlayer_GetPerFriendPreferences_Response::_Internal { + public: +}; + +CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_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:CPlayer_GetPerFriendPreferences_Response) +} +CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_Response(const CPlayer_GetPerFriendPreferences_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetPerFriendPreferences_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.preferences_){from._impl_.preferences_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetPerFriendPreferences_Response) +} + +inline void CPlayer_GetPerFriendPreferences_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.preferences_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CPlayer_GetPerFriendPreferences_Response::~CPlayer_GetPerFriendPreferences_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetPerFriendPreferences_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetPerFriendPreferences_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.preferences_.~RepeatedPtrField(); +} + +void CPlayer_GetPerFriendPreferences_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetPerFriendPreferences_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetPerFriendPreferences_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.preferences_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetPerFriendPreferences_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) { + // repeated .PerFriendPreferences preferences = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_preferences(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CPlayer_GetPerFriendPreferences_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetPerFriendPreferences_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .PerFriendPreferences preferences = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_preferences_size()); i < n; i++) { + const auto& repfield = this->_internal_preferences(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CPlayer_GetPerFriendPreferences_Response) + return target; +} + +size_t CPlayer_GetPerFriendPreferences_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetPerFriendPreferences_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; + + // repeated .PerFriendPreferences preferences = 1; + total_size += 1UL * this->_internal_preferences_size(); + for (const auto& msg : this->_impl_.preferences_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetPerFriendPreferences_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetPerFriendPreferences_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetPerFriendPreferences_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetPerFriendPreferences_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:CPlayer_GetPerFriendPreferences_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.preferences_.MergeFrom(from._impl_.preferences_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetPerFriendPreferences_Response::CopyFrom(const CPlayer_GetPerFriendPreferences_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetPerFriendPreferences_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetPerFriendPreferences_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetPerFriendPreferences_Response::InternalSwap(CPlayer_GetPerFriendPreferences_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.preferences_.InternalSwap(&other->_impl_.preferences_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetPerFriendPreferences_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[20]); +} + +// =================================================================== + +class CPlayer_SetPerFriendPreferences_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::PerFriendPreferences& preferences(const CPlayer_SetPerFriendPreferences_Request* msg); + static void set_has_preferences(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::PerFriendPreferences& +CPlayer_SetPerFriendPreferences_Request::_Internal::preferences(const CPlayer_SetPerFriendPreferences_Request* msg) { + return *msg->_impl_.preferences_; +} +CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_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:CPlayer_SetPerFriendPreferences_Request) +} +CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_Request(const CPlayer_SetPerFriendPreferences_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_SetPerFriendPreferences_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_preferences()) { + _this->_impl_.preferences_ = new ::PerFriendPreferences(*from._impl_.preferences_); + } + // @@protoc_insertion_point(copy_constructor:CPlayer_SetPerFriendPreferences_Request) +} + +inline void CPlayer_SetPerFriendPreferences_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr} + }; +} + +CPlayer_SetPerFriendPreferences_Request::~CPlayer_SetPerFriendPreferences_Request() { + // @@protoc_insertion_point(destructor:CPlayer_SetPerFriendPreferences_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_SetPerFriendPreferences_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.preferences_; +} + +void CPlayer_SetPerFriendPreferences_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_SetPerFriendPreferences_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_SetPerFriendPreferences_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.preferences_ != nullptr); + _impl_.preferences_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_SetPerFriendPreferences_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .PerFriendPreferences preferences = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_preferences(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_SetPerFriendPreferences_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_SetPerFriendPreferences_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .PerFriendPreferences preferences = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::preferences(this), + _Internal::preferences(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:CPlayer_SetPerFriendPreferences_Request) + return target; +} + +size_t CPlayer_SetPerFriendPreferences_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_SetPerFriendPreferences_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; + + // optional .PerFriendPreferences preferences = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.preferences_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetPerFriendPreferences_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_SetPerFriendPreferences_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetPerFriendPreferences_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_SetPerFriendPreferences_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:CPlayer_SetPerFriendPreferences_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_preferences()) { + _this->_internal_mutable_preferences()->::PerFriendPreferences::MergeFrom( + from._internal_preferences()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_SetPerFriendPreferences_Request::CopyFrom(const CPlayer_SetPerFriendPreferences_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_SetPerFriendPreferences_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_SetPerFriendPreferences_Request::IsInitialized() const { + return true; +} + +void CPlayer_SetPerFriendPreferences_Request::InternalSwap(CPlayer_SetPerFriendPreferences_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.preferences_, other->_impl_.preferences_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetPerFriendPreferences_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[21]); +} + +// =================================================================== + +class CPlayer_SetPerFriendPreferences_Response::_Internal { + public: +}; + +CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_SetPerFriendPreferences_Response) +} +CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response(const CPlayer_SetPerFriendPreferences_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_SetPerFriendPreferences_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_SetPerFriendPreferences_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetPerFriendPreferences_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetPerFriendPreferences_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetPerFriendPreferences_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[22]); +} + +// =================================================================== + +class CPlayer_AddFriend_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_AddFriend_Request::CPlayer_AddFriend_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:CPlayer_AddFriend_Request) +} +CPlayer_AddFriend_Request::CPlayer_AddFriend_Request(const CPlayer_AddFriend_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_AddFriend_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steamid_ = from._impl_.steamid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_AddFriend_Request) +} + +inline void CPlayer_AddFriend_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + }; +} + +CPlayer_AddFriend_Request::~CPlayer_AddFriend_Request() { + // @@protoc_insertion_point(destructor:CPlayer_AddFriend_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_AddFriend_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_AddFriend_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_AddFriend_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_AddFriend_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_AddFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_AddFriend_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_AddFriend_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), 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:CPlayer_AddFriend_Request) + return target; +} + +size_t CPlayer_AddFriend_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_AddFriend_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; + + // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AddFriend_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_AddFriend_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AddFriend_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_AddFriend_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:CPlayer_AddFriend_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steamid()) { + _this->_internal_set_steamid(from._internal_steamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_AddFriend_Request::CopyFrom(const CPlayer_AddFriend_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_AddFriend_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_AddFriend_Request::IsInitialized() const { + return true; +} + +void CPlayer_AddFriend_Request::InternalSwap(CPlayer_AddFriend_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steamid_, other->_impl_.steamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AddFriend_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[23]); +} + +// =================================================================== + +class CPlayer_AddFriend_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_invite_sent(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_friend_relationship(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CPlayer_AddFriend_Response::CPlayer_AddFriend_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:CPlayer_AddFriend_Response) +} +CPlayer_AddFriend_Response::CPlayer_AddFriend_Response(const CPlayer_AddFriend_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_AddFriend_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.invite_sent_){} + , decltype(_impl_.friend_relationship_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.invite_sent_, &from._impl_.invite_sent_, + static_cast(reinterpret_cast(&_impl_.friend_relationship_) - + reinterpret_cast(&_impl_.invite_sent_)) + sizeof(_impl_.friend_relationship_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_AddFriend_Response) +} + +inline void CPlayer_AddFriend_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.invite_sent_){false} + , decltype(_impl_.friend_relationship_){0u} + }; +} + +CPlayer_AddFriend_Response::~CPlayer_AddFriend_Response() { + // @@protoc_insertion_point(destructor:CPlayer_AddFriend_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_AddFriend_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_AddFriend_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_AddFriend_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_AddFriend_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.invite_sent_, 0, static_cast( + reinterpret_cast(&_impl_.friend_relationship_) - + reinterpret_cast(&_impl_.invite_sent_)) + sizeof(_impl_.friend_relationship_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_AddFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_invite_sent(&has_bits); + _impl_.invite_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_friend_relationship(&has_bits); + _impl_.friend_relationship_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_AddFriend_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_AddFriend_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_invite_sent(), target); + } + + // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_friend_relationship(), 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:CPlayer_AddFriend_Response) + return target; +} + +size_t CPlayer_AddFriend_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_AddFriend_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AddFriend_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_AddFriend_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AddFriend_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_AddFriend_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:CPlayer_AddFriend_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.invite_sent_ = from._impl_.invite_sent_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_AddFriend_Response::CopyFrom(const CPlayer_AddFriend_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_AddFriend_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_AddFriend_Response::IsInitialized() const { + return true; +} + +void CPlayer_AddFriend_Response::InternalSwap(CPlayer_AddFriend_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_AddFriend_Response, _impl_.friend_relationship_) + + sizeof(CPlayer_AddFriend_Response::_impl_.friend_relationship_) + - PROTOBUF_FIELD_OFFSET(CPlayer_AddFriend_Response, _impl_.invite_sent_)>( + reinterpret_cast(&_impl_.invite_sent_), + reinterpret_cast(&other->_impl_.invite_sent_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AddFriend_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[24]); +} + +// =================================================================== + +class CPlayer_RemoveFriend_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_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:CPlayer_RemoveFriend_Request) +} +CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_Request(const CPlayer_RemoveFriend_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_RemoveFriend_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.steamid_ = from._impl_.steamid_; + // @@protoc_insertion_point(copy_constructor:CPlayer_RemoveFriend_Request) +} + +inline void CPlayer_RemoveFriend_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + }; +} + +CPlayer_RemoveFriend_Request::~CPlayer_RemoveFriend_Request() { + // @@protoc_insertion_point(destructor:CPlayer_RemoveFriend_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_RemoveFriend_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_RemoveFriend_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_RemoveFriend_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_RemoveFriend_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_RemoveFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_RemoveFriend_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_RemoveFriend_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), 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:CPlayer_RemoveFriend_Request) + return target; +} + +size_t CPlayer_RemoveFriend_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_RemoveFriend_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; + + // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_RemoveFriend_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_RemoveFriend_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_RemoveFriend_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_RemoveFriend_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:CPlayer_RemoveFriend_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_steamid()) { + _this->_internal_set_steamid(from._internal_steamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_RemoveFriend_Request::CopyFrom(const CPlayer_RemoveFriend_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_RemoveFriend_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_RemoveFriend_Request::IsInitialized() const { + return true; +} + +void CPlayer_RemoveFriend_Request::InternalSwap(CPlayer_RemoveFriend_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.steamid_, other->_impl_.steamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_RemoveFriend_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[25]); +} + +// =================================================================== + +class CPlayer_RemoveFriend_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_friend_relationship(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_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:CPlayer_RemoveFriend_Response) +} +CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_Response(const CPlayer_RemoveFriend_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_RemoveFriend_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friend_relationship_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; + // @@protoc_insertion_point(copy_constructor:CPlayer_RemoveFriend_Response) +} + +inline void CPlayer_RemoveFriend_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friend_relationship_){0u} + }; +} + +CPlayer_RemoveFriend_Response::~CPlayer_RemoveFriend_Response() { + // @@protoc_insertion_point(destructor:CPlayer_RemoveFriend_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_RemoveFriend_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_RemoveFriend_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_RemoveFriend_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_RemoveFriend_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.friend_relationship_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_RemoveFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_friend_relationship(&has_bits); + _impl_.friend_relationship_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_RemoveFriend_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_RemoveFriend_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_friend_relationship(), 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:CPlayer_RemoveFriend_Response) + return target; +} + +size_t CPlayer_RemoveFriend_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_RemoveFriend_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; + + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_RemoveFriend_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_RemoveFriend_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_RemoveFriend_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_RemoveFriend_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:CPlayer_RemoveFriend_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_friend_relationship()) { + _this->_internal_set_friend_relationship(from._internal_friend_relationship()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_RemoveFriend_Response::CopyFrom(const CPlayer_RemoveFriend_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_RemoveFriend_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_RemoveFriend_Response::IsInitialized() const { + return true; +} + +void CPlayer_RemoveFriend_Response::InternalSwap(CPlayer_RemoveFriend_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.friend_relationship_, other->_impl_.friend_relationship_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_RemoveFriend_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[26]); +} + +// =================================================================== + +class CPlayer_IgnoreFriend_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steamid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_unignore(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_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:CPlayer_IgnoreFriend_Request) +} +CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_Request(const CPlayer_IgnoreFriend_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_IgnoreFriend_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){} + , decltype(_impl_.unignore_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, + static_cast(reinterpret_cast(&_impl_.unignore_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.unignore_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_IgnoreFriend_Request) +} + +inline void CPlayer_IgnoreFriend_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.steamid_){uint64_t{0u}} + , decltype(_impl_.unignore_){false} + }; +} + +CPlayer_IgnoreFriend_Request::~CPlayer_IgnoreFriend_Request() { + // @@protoc_insertion_point(destructor:CPlayer_IgnoreFriend_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_IgnoreFriend_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_IgnoreFriend_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_IgnoreFriend_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_IgnoreFriend_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.steamid_, 0, static_cast( + reinterpret_cast(&_impl_.unignore_) - + reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.unignore_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_IgnoreFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 steamid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_steamid(&has_bits); + _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_unignore(&has_bits); + _impl_.unignore_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_IgnoreFriend_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IgnoreFriend_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); + } + + // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_unignore(), 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:CPlayer_IgnoreFriend_Request) + return target; +} + +size_t CPlayer_IgnoreFriend_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_IgnoreFriend_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed64 steamid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IgnoreFriend_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_IgnoreFriend_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IgnoreFriend_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_IgnoreFriend_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:CPlayer_IgnoreFriend_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.steamid_ = from._impl_.steamid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.unignore_ = from._impl_.unignore_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_IgnoreFriend_Request::CopyFrom(const CPlayer_IgnoreFriend_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IgnoreFriend_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_IgnoreFriend_Request::IsInitialized() const { + return true; +} + +void CPlayer_IgnoreFriend_Request::InternalSwap(CPlayer_IgnoreFriend_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_IgnoreFriend_Request, _impl_.unignore_) + + sizeof(CPlayer_IgnoreFriend_Request::_impl_.unignore_) + - PROTOBUF_FIELD_OFFSET(CPlayer_IgnoreFriend_Request, _impl_.steamid_)>( + reinterpret_cast(&_impl_.steamid_), + reinterpret_cast(&other->_impl_.steamid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IgnoreFriend_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[27]); +} + +// =================================================================== + +class CPlayer_IgnoreFriend_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_friend_relationship(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_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:CPlayer_IgnoreFriend_Response) +} +CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_Response(const CPlayer_IgnoreFriend_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_IgnoreFriend_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friend_relationship_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; + // @@protoc_insertion_point(copy_constructor:CPlayer_IgnoreFriend_Response) +} + +inline void CPlayer_IgnoreFriend_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.friend_relationship_){0u} + }; +} + +CPlayer_IgnoreFriend_Response::~CPlayer_IgnoreFriend_Response() { + // @@protoc_insertion_point(destructor:CPlayer_IgnoreFriend_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_IgnoreFriend_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_IgnoreFriend_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_IgnoreFriend_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_IgnoreFriend_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.friend_relationship_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_IgnoreFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_friend_relationship(&has_bits); + _impl_.friend_relationship_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_IgnoreFriend_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IgnoreFriend_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_friend_relationship(), 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:CPlayer_IgnoreFriend_Response) + return target; +} + +size_t CPlayer_IgnoreFriend_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_IgnoreFriend_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; + + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IgnoreFriend_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_IgnoreFriend_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IgnoreFriend_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_IgnoreFriend_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:CPlayer_IgnoreFriend_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_friend_relationship()) { + _this->_internal_set_friend_relationship(from._internal_friend_relationship()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_IgnoreFriend_Response::CopyFrom(const CPlayer_IgnoreFriend_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IgnoreFriend_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_IgnoreFriend_Response::IsInitialized() const { + return true; +} + +void CPlayer_IgnoreFriend_Response::InternalSwap(CPlayer_IgnoreFriend_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.friend_relationship_, other->_impl_.friend_relationship_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IgnoreFriend_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[28]); +} + +// =================================================================== + +class CPlayer_GetCommunityPreferences_Request::_Internal { + public: +}; + +CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_GetCommunityPreferences_Request) +} +CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request(const CPlayer_GetCommunityPreferences_Request& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_GetCommunityPreferences_Request* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetCommunityPreferences_Request) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetCommunityPreferences_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetCommunityPreferences_Request::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetCommunityPreferences_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[29]); +} + +// =================================================================== + +class CPlayer_CommunityPreferences::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hide_adult_content_violence(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_hide_adult_content_sex(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_parenthesize_nicknames(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_timestamp_updated(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_CommunityPreferences::CPlayer_CommunityPreferences(::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:CPlayer_CommunityPreferences) +} +CPlayer_CommunityPreferences::CPlayer_CommunityPreferences(const CPlayer_CommunityPreferences& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_CommunityPreferences* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.timestamp_updated_){} + , decltype(_impl_.parenthesize_nicknames_){} + , decltype(_impl_.hide_adult_content_violence_){} + , decltype(_impl_.hide_adult_content_sex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.timestamp_updated_, &from._impl_.timestamp_updated_, + static_cast(reinterpret_cast(&_impl_.hide_adult_content_sex_) - + reinterpret_cast(&_impl_.timestamp_updated_)) + sizeof(_impl_.hide_adult_content_sex_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_CommunityPreferences) +} + +inline void CPlayer_CommunityPreferences::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.timestamp_updated_){0u} + , decltype(_impl_.parenthesize_nicknames_){false} + , decltype(_impl_.hide_adult_content_violence_){true} + , decltype(_impl_.hide_adult_content_sex_){true} + }; +} + +CPlayer_CommunityPreferences::~CPlayer_CommunityPreferences() { + // @@protoc_insertion_point(destructor:CPlayer_CommunityPreferences) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_CommunityPreferences::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_CommunityPreferences::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_CommunityPreferences::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_CommunityPreferences) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.timestamp_updated_, 0, static_cast( + reinterpret_cast(&_impl_.parenthesize_nicknames_) - + reinterpret_cast(&_impl_.timestamp_updated_)) + sizeof(_impl_.parenthesize_nicknames_)); + _impl_.hide_adult_content_violence_ = true; + _impl_.hide_adult_content_sex_ = true; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_CommunityPreferences::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool hide_adult_content_violence = 1 [default = true]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_hide_adult_content_violence(&has_bits); + _impl_.hide_adult_content_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool hide_adult_content_sex = 2 [default = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_hide_adult_content_sex(&has_bits); + _impl_.hide_adult_content_sex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 timestamp_updated = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_timestamp_updated(&has_bits); + _impl_.timestamp_updated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool parenthesize_nicknames = 4 [default = false]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_parenthesize_nicknames(&has_bits); + _impl_.parenthesize_nicknames_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_CommunityPreferences::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_CommunityPreferences) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool hide_adult_content_violence = 1 [default = true]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_hide_adult_content_violence(), target); + } + + // optional bool hide_adult_content_sex = 2 [default = true]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_hide_adult_content_sex(), target); + } + + // optional uint32 timestamp_updated = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_timestamp_updated(), target); + } + + // optional bool parenthesize_nicknames = 4 [default = false]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_parenthesize_nicknames(), 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:CPlayer_CommunityPreferences) + return target; +} + +size_t CPlayer_CommunityPreferences::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_CommunityPreferences) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 timestamp_updated = 3; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp_updated()); + } + + // optional bool parenthesize_nicknames = 4 [default = false]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool hide_adult_content_violence = 1 [default = true]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool hide_adult_content_sex = 2 [default = true]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_CommunityPreferences::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_CommunityPreferences::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_CommunityPreferences::GetClassData() const { return &_class_data_; } + + +void CPlayer_CommunityPreferences::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:CPlayer_CommunityPreferences) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.timestamp_updated_ = from._impl_.timestamp_updated_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.parenthesize_nicknames_ = from._impl_.parenthesize_nicknames_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hide_adult_content_violence_ = from._impl_.hide_adult_content_violence_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.hide_adult_content_sex_ = from._impl_.hide_adult_content_sex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_CommunityPreferences::CopyFrom(const CPlayer_CommunityPreferences& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_CommunityPreferences) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_CommunityPreferences::IsInitialized() const { + return true; +} + +void CPlayer_CommunityPreferences::InternalSwap(CPlayer_CommunityPreferences* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_CommunityPreferences, _impl_.parenthesize_nicknames_) + + sizeof(CPlayer_CommunityPreferences::_impl_.parenthesize_nicknames_) + - PROTOBUF_FIELD_OFFSET(CPlayer_CommunityPreferences, _impl_.timestamp_updated_)>( + reinterpret_cast(&_impl_.timestamp_updated_), + reinterpret_cast(&other->_impl_.timestamp_updated_)); + swap(_impl_.hide_adult_content_violence_, other->_impl_.hide_adult_content_violence_); + swap(_impl_.hide_adult_content_sex_, other->_impl_.hide_adult_content_sex_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_CommunityPreferences::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[30]); +} + +// =================================================================== + +class CPlayer_GetCommunityPreferences_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CPlayer_CommunityPreferences& preferences(const CPlayer_GetCommunityPreferences_Response* msg); + static void set_has_preferences(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CPlayer_CommunityPreferences& +CPlayer_GetCommunityPreferences_Response::_Internal::preferences(const CPlayer_GetCommunityPreferences_Response* msg) { + return *msg->_impl_.preferences_; +} +CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_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:CPlayer_GetCommunityPreferences_Response) +} +CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_Response(const CPlayer_GetCommunityPreferences_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetCommunityPreferences_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_preferences()) { + _this->_impl_.preferences_ = new ::CPlayer_CommunityPreferences(*from._impl_.preferences_); + } + // @@protoc_insertion_point(copy_constructor:CPlayer_GetCommunityPreferences_Response) +} + +inline void CPlayer_GetCommunityPreferences_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr} + }; +} + +CPlayer_GetCommunityPreferences_Response::~CPlayer_GetCommunityPreferences_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetCommunityPreferences_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetCommunityPreferences_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.preferences_; +} + +void CPlayer_GetCommunityPreferences_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetCommunityPreferences_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetCommunityPreferences_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.preferences_ != nullptr); + _impl_.preferences_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetCommunityPreferences_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CPlayer_CommunityPreferences preferences = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_preferences(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetCommunityPreferences_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetCommunityPreferences_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CPlayer_CommunityPreferences preferences = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::preferences(this), + _Internal::preferences(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:CPlayer_GetCommunityPreferences_Response) + return target; +} + +size_t CPlayer_GetCommunityPreferences_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetCommunityPreferences_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; + + // optional .CPlayer_CommunityPreferences preferences = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.preferences_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetCommunityPreferences_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetCommunityPreferences_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetCommunityPreferences_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetCommunityPreferences_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:CPlayer_GetCommunityPreferences_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_preferences()) { + _this->_internal_mutable_preferences()->::CPlayer_CommunityPreferences::MergeFrom( + from._internal_preferences()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetCommunityPreferences_Response::CopyFrom(const CPlayer_GetCommunityPreferences_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetCommunityPreferences_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetCommunityPreferences_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetCommunityPreferences_Response::InternalSwap(CPlayer_GetCommunityPreferences_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.preferences_, other->_impl_.preferences_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetCommunityPreferences_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[31]); +} + +// =================================================================== + +class CPlayer_SetCommunityPreferences_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CPlayer_CommunityPreferences& preferences(const CPlayer_SetCommunityPreferences_Request* msg); + static void set_has_preferences(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CPlayer_CommunityPreferences& +CPlayer_SetCommunityPreferences_Request::_Internal::preferences(const CPlayer_SetCommunityPreferences_Request* msg) { + return *msg->_impl_.preferences_; +} +CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_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:CPlayer_SetCommunityPreferences_Request) +} +CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_Request(const CPlayer_SetCommunityPreferences_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_SetCommunityPreferences_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_preferences()) { + _this->_impl_.preferences_ = new ::CPlayer_CommunityPreferences(*from._impl_.preferences_); + } + // @@protoc_insertion_point(copy_constructor:CPlayer_SetCommunityPreferences_Request) +} + +inline void CPlayer_SetCommunityPreferences_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.preferences_){nullptr} + }; +} + +CPlayer_SetCommunityPreferences_Request::~CPlayer_SetCommunityPreferences_Request() { + // @@protoc_insertion_point(destructor:CPlayer_SetCommunityPreferences_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_SetCommunityPreferences_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.preferences_; +} + +void CPlayer_SetCommunityPreferences_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_SetCommunityPreferences_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_SetCommunityPreferences_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.preferences_ != nullptr); + _impl_.preferences_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_SetCommunityPreferences_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CPlayer_CommunityPreferences preferences = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_preferences(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_SetCommunityPreferences_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_SetCommunityPreferences_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CPlayer_CommunityPreferences preferences = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::preferences(this), + _Internal::preferences(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:CPlayer_SetCommunityPreferences_Request) + return target; +} + +size_t CPlayer_SetCommunityPreferences_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_SetCommunityPreferences_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; + + // optional .CPlayer_CommunityPreferences preferences = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.preferences_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetCommunityPreferences_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_SetCommunityPreferences_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetCommunityPreferences_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_SetCommunityPreferences_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:CPlayer_SetCommunityPreferences_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_preferences()) { + _this->_internal_mutable_preferences()->::CPlayer_CommunityPreferences::MergeFrom( + from._internal_preferences()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_SetCommunityPreferences_Request::CopyFrom(const CPlayer_SetCommunityPreferences_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_SetCommunityPreferences_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_SetCommunityPreferences_Request::IsInitialized() const { + return true; +} + +void CPlayer_SetCommunityPreferences_Request::InternalSwap(CPlayer_SetCommunityPreferences_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.preferences_, other->_impl_.preferences_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetCommunityPreferences_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[32]); +} + +// =================================================================== + +class CPlayer_SetCommunityPreferences_Response::_Internal { + public: +}; + +CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_SetCommunityPreferences_Response) +} +CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response(const CPlayer_SetCommunityPreferences_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_SetCommunityPreferences_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_SetCommunityPreferences_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetCommunityPreferences_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetCommunityPreferences_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetCommunityPreferences_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[33]); +} + +// =================================================================== + +class CPlayer_GetNewSteamAnnouncementState_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_language(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_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:CPlayer_GetNewSteamAnnouncementState_Request) +} +CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_Request(const CPlayer_GetNewSteamAnnouncementState_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetNewSteamAnnouncementState_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.language_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.language_ = from._impl_.language_; + // @@protoc_insertion_point(copy_constructor:CPlayer_GetNewSteamAnnouncementState_Request) +} + +inline void CPlayer_GetNewSteamAnnouncementState_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.language_){0} + }; +} + +CPlayer_GetNewSteamAnnouncementState_Request::~CPlayer_GetNewSteamAnnouncementState_Request() { + // @@protoc_insertion_point(destructor:CPlayer_GetNewSteamAnnouncementState_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetNewSteamAnnouncementState_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_GetNewSteamAnnouncementState_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetNewSteamAnnouncementState_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetNewSteamAnnouncementState_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.language_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetNewSteamAnnouncementState_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 language = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_language(&has_bits); + _impl_.language_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetNewSteamAnnouncementState_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNewSteamAnnouncementState_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 language = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_language(), 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:CPlayer_GetNewSteamAnnouncementState_Request) + return target; +} + +size_t CPlayer_GetNewSteamAnnouncementState_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNewSteamAnnouncementState_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; + + // optional int32 language = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_language()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNewSteamAnnouncementState_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetNewSteamAnnouncementState_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNewSteamAnnouncementState_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetNewSteamAnnouncementState_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:CPlayer_GetNewSteamAnnouncementState_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_language()) { + _this->_internal_set_language(from._internal_language()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetNewSteamAnnouncementState_Request::CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNewSteamAnnouncementState_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetNewSteamAnnouncementState_Request::IsInitialized() const { + return true; +} + +void CPlayer_GetNewSteamAnnouncementState_Request::InternalSwap(CPlayer_GetNewSteamAnnouncementState_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.language_, other->_impl_.language_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNewSteamAnnouncementState_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[34]); +} + +// =================================================================== + +class CPlayer_GetNewSteamAnnouncementState_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_state(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_announcement_headline(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_announcement_url(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_time_posted(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_announcement_gid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_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:CPlayer_GetNewSteamAnnouncementState_Response) +} +CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_Response(const CPlayer_GetNewSteamAnnouncementState_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_GetNewSteamAnnouncementState_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_headline_){} + , decltype(_impl_.announcement_url_){} + , decltype(_impl_.state_){} + , decltype(_impl_.time_posted_){} + , decltype(_impl_.announcement_gid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.announcement_headline_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_headline_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_announcement_headline()) { + _this->_impl_.announcement_headline_.Set(from._internal_announcement_headline(), + _this->GetArenaForAllocation()); + } + _impl_.announcement_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_announcement_url()) { + _this->_impl_.announcement_url_.Set(from._internal_announcement_url(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.state_, &from._impl_.state_, + static_cast(reinterpret_cast(&_impl_.announcement_gid_) - + reinterpret_cast(&_impl_.state_)) + sizeof(_impl_.announcement_gid_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_GetNewSteamAnnouncementState_Response) +} + +inline void CPlayer_GetNewSteamAnnouncementState_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_headline_){} + , decltype(_impl_.announcement_url_){} + , decltype(_impl_.state_){0} + , decltype(_impl_.time_posted_){0u} + , decltype(_impl_.announcement_gid_){uint64_t{0u}} + }; + _impl_.announcement_headline_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_headline_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.announcement_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPlayer_GetNewSteamAnnouncementState_Response::~CPlayer_GetNewSteamAnnouncementState_Response() { + // @@protoc_insertion_point(destructor:CPlayer_GetNewSteamAnnouncementState_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_GetNewSteamAnnouncementState_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.announcement_headline_.Destroy(); + _impl_.announcement_url_.Destroy(); +} + +void CPlayer_GetNewSteamAnnouncementState_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_GetNewSteamAnnouncementState_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_GetNewSteamAnnouncementState_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.announcement_headline_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.announcement_url_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.state_, 0, static_cast( + reinterpret_cast(&_impl_.announcement_gid_) - + reinterpret_cast(&_impl_.state_)) + sizeof(_impl_.announcement_gid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_GetNewSteamAnnouncementState_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 state = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_state(&has_bits); + _impl_.state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string announcement_headline = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_announcement_headline(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string announcement_url = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_announcement_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPlayer_GetNewSteamAnnouncementState_Response.announcement_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 time_posted = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_time_posted(&has_bits); + _impl_.time_posted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 announcement_gid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_announcement_gid(&has_bits); + _impl_.announcement_gid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_GetNewSteamAnnouncementState_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNewSteamAnnouncementState_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 state = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_state(), target); + } + + // optional string announcement_headline = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_announcement_headline().data(), static_cast(this->_internal_announcement_headline().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_announcement_headline(), target); + } + + // optional string announcement_url = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_announcement_url().data(), static_cast(this->_internal_announcement_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPlayer_GetNewSteamAnnouncementState_Response.announcement_url"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_announcement_url(), target); + } + + // optional uint32 time_posted = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_time_posted(), target); + } + + // optional uint64 announcement_gid = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_announcement_gid(), 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:CPlayer_GetNewSteamAnnouncementState_Response) + return target; +} + +size_t CPlayer_GetNewSteamAnnouncementState_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNewSteamAnnouncementState_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string announcement_headline = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_announcement_headline()); + } + + // optional string announcement_url = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_announcement_url()); + } + + // optional int32 state = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_state()); + } + + // optional uint32 time_posted = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_posted()); + } + + // optional uint64 announcement_gid = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_announcement_gid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNewSteamAnnouncementState_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_GetNewSteamAnnouncementState_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNewSteamAnnouncementState_Response::GetClassData() const { return &_class_data_; } + + +void CPlayer_GetNewSteamAnnouncementState_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:CPlayer_GetNewSteamAnnouncementState_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_announcement_headline(from._internal_announcement_headline()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_announcement_url(from._internal_announcement_url()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.state_ = from._impl_.state_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.time_posted_ = from._impl_.time_posted_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.announcement_gid_ = from._impl_.announcement_gid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_GetNewSteamAnnouncementState_Response::CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNewSteamAnnouncementState_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_GetNewSteamAnnouncementState_Response::IsInitialized() const { + return true; +} + +void CPlayer_GetNewSteamAnnouncementState_Response::InternalSwap(CPlayer_GetNewSteamAnnouncementState_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.announcement_headline_, lhs_arena, + &other->_impl_.announcement_headline_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.announcement_url_, lhs_arena, + &other->_impl_.announcement_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_gid_) + + sizeof(CPlayer_GetNewSteamAnnouncementState_Response::_impl_.announcement_gid_) + - PROTOBUF_FIELD_OFFSET(CPlayer_GetNewSteamAnnouncementState_Response, _impl_.state_)>( + reinterpret_cast(&_impl_.state_), + reinterpret_cast(&other->_impl_.state_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNewSteamAnnouncementState_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[35]); +} + +// =================================================================== + +class CPlayer_UpdateSteamAnnouncementLastRead_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_announcement_gid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_time_posted(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_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:CPlayer_UpdateSteamAnnouncementLastRead_Request) +} +CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_Request(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPlayer_UpdateSteamAnnouncementLastRead_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_gid_){} + , decltype(_impl_.time_posted_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.announcement_gid_, &from._impl_.announcement_gid_, + static_cast(reinterpret_cast(&_impl_.time_posted_) - + reinterpret_cast(&_impl_.announcement_gid_)) + sizeof(_impl_.time_posted_)); + // @@protoc_insertion_point(copy_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Request) +} + +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.announcement_gid_){uint64_t{0u}} + , decltype(_impl_.time_posted_){0u} + }; +} + +CPlayer_UpdateSteamAnnouncementLastRead_Request::~CPlayer_UpdateSteamAnnouncementLastRead_Request() { + // @@protoc_insertion_point(destructor:CPlayer_UpdateSteamAnnouncementLastRead_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPlayer_UpdateSteamAnnouncementLastRead_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPlayer_UpdateSteamAnnouncementLastRead_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.announcement_gid_, 0, static_cast( + reinterpret_cast(&_impl_.time_posted_) - + reinterpret_cast(&_impl_.announcement_gid_)) + sizeof(_impl_.time_posted_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPlayer_UpdateSteamAnnouncementLastRead_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 announcement_gid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_announcement_gid(&has_bits); + _impl_.announcement_gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_posted = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_time_posted(&has_bits); + _impl_.time_posted_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPlayer_UpdateSteamAnnouncementLastRead_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 announcement_gid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_announcement_gid(), target); + } + + // optional uint32 time_posted = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_posted(), 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:CPlayer_UpdateSteamAnnouncementLastRead_Request) + return target; +} + +size_t CPlayer_UpdateSteamAnnouncementLastRead_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPlayer_UpdateSteamAnnouncementLastRead_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint64 announcement_gid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_announcement_gid()); + } + + // optional uint32 time_posted = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_posted()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_UpdateSteamAnnouncementLastRead_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPlayer_UpdateSteamAnnouncementLastRead_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_UpdateSteamAnnouncementLastRead_Request::GetClassData() const { return &_class_data_; } + + +void CPlayer_UpdateSteamAnnouncementLastRead_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:CPlayer_UpdateSteamAnnouncementLastRead_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.announcement_gid_ = from._impl_.announcement_gid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.time_posted_ = from._impl_.time_posted_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPlayer_UpdateSteamAnnouncementLastRead_Request::CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPlayer_UpdateSteamAnnouncementLastRead_Request::IsInitialized() const { + return true; +} + +void CPlayer_UpdateSteamAnnouncementLastRead_Request::InternalSwap(CPlayer_UpdateSteamAnnouncementLastRead_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.time_posted_) + + sizeof(CPlayer_UpdateSteamAnnouncementLastRead_Request::_impl_.time_posted_) + - PROTOBUF_FIELD_OFFSET(CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.announcement_gid_)>( + reinterpret_cast(&_impl_.announcement_gid_), + reinterpret_cast(&other->_impl_.announcement_gid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_UpdateSteamAnnouncementLastRead_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[36]); +} + +// =================================================================== + +class CPlayer_UpdateSteamAnnouncementLastRead_Response::_Internal { + public: +}; + +CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Response) +} +CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPlayer_UpdateSteamAnnouncementLastRead_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_UpdateSteamAnnouncementLastRead_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_UpdateSteamAnnouncementLastRead_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_UpdateSteamAnnouncementLastRead_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[37]); +} + +// =================================================================== + +Player::~Player() {} + +const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* Player::descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); + return file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]; +} + +const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* Player::GetDescriptor() { + return descriptor(); +} + +void Player::GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetMutualFriendsForIncomingInvites_Request*, + ::CPlayer_GetMutualFriendsForIncomingInvites_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetMutualFriendsForIncomingInvites() not implemented."); + done->Run(); +} + +void Player::GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetFriendsGameplayInfo_Request*, + ::CPlayer_GetFriendsGameplayInfo_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetFriendsGameplayInfo() not implemented."); + done->Run(); +} + +void Player::GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetGameBadgeLevels_Request*, + ::CPlayer_GetGameBadgeLevels_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetGameBadgeLevels() not implemented."); + done->Run(); +} + +void Player::ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetLastPlayedTimes_Request*, + ::CPlayer_GetLastPlayedTimes_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method ClientGetLastPlayedTimes() not implemented."); + done->Run(); +} + +void Player::AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AcceptSSA_Request*, + ::CPlayer_AcceptSSA_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method AcceptSSA() not implemented."); + done->Run(); +} + +void Player::GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNicknameList_Request*, + ::CPlayer_GetNicknameList_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetNicknameList() not implemented."); + done->Run(); +} + +void Player::GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetPerFriendPreferences_Request*, + ::CPlayer_GetPerFriendPreferences_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetPerFriendPreferences() not implemented."); + done->Run(); +} + +void Player::SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetPerFriendPreferences_Request*, + ::CPlayer_SetPerFriendPreferences_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method SetPerFriendPreferences() not implemented."); + done->Run(); +} + +void Player::AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AddFriend_Request*, + ::CPlayer_AddFriend_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method AddFriend() not implemented."); + done->Run(); +} + +void Player::RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_RemoveFriend_Request*, + ::CPlayer_RemoveFriend_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method RemoveFriend() not implemented."); + done->Run(); +} + +void Player::IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_IgnoreFriend_Request*, + ::CPlayer_IgnoreFriend_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method IgnoreFriend() not implemented."); + done->Run(); +} + +void Player::GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetCommunityPreferences_Request*, + ::CPlayer_GetCommunityPreferences_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetCommunityPreferences() not implemented."); + done->Run(); +} + +void Player::SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetCommunityPreferences_Request*, + ::CPlayer_SetCommunityPreferences_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method SetCommunityPreferences() not implemented."); + done->Run(); +} + +void Player::GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNewSteamAnnouncementState_Request*, + ::CPlayer_GetNewSteamAnnouncementState_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method GetNewSteamAnnouncementState() not implemented."); + done->Run(); +} + +void Player::UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_UpdateSteamAnnouncementLastRead_Request*, + ::CPlayer_UpdateSteamAnnouncementLastRead_Response*, + ::google::protobuf::Closure* done) { + controller->SetFailed("Method UpdateSteamAnnouncementLastRead() not implemented."); + done->Run(); +} + +void Player::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, + ::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::PROTOBUF_NAMESPACE_ID::Message* request, + ::PROTOBUF_NAMESPACE_ID::Message* response, + ::google::protobuf::Closure* done) { + GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]); + switch(method->index()) { + case 0: + GetMutualFriendsForIncomingInvites(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetMutualFriendsForIncomingInvites_Response*>( + response), + done); + break; + case 1: + GetFriendsGameplayInfo(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetFriendsGameplayInfo_Response*>( + response), + done); + break; + case 2: + GetGameBadgeLevels(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetGameBadgeLevels_Response*>( + response), + done); + break; + case 3: + ClientGetLastPlayedTimes(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetLastPlayedTimes_Response*>( + response), + done); + break; + case 4: + AcceptSSA(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_AcceptSSA_Response*>( + response), + done); + break; + case 5: + GetNicknameList(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetNicknameList_Response*>( + response), + done); + break; + case 6: + GetPerFriendPreferences(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetPerFriendPreferences_Response*>( + response), + done); + break; + case 7: + SetPerFriendPreferences(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_SetPerFriendPreferences_Response*>( + response), + done); + break; + case 8: + AddFriend(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_AddFriend_Response*>( + response), + done); + break; + case 9: + RemoveFriend(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_RemoveFriend_Response*>( + response), + done); + break; + case 10: + IgnoreFriend(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_IgnoreFriend_Response*>( + response), + done); + break; + case 11: + GetCommunityPreferences(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetCommunityPreferences_Response*>( + response), + done); + break; + case 12: + SetCommunityPreferences(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_SetCommunityPreferences_Response*>( + response), + done); + break; + case 13: + GetNewSteamAnnouncementState(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetNewSteamAnnouncementState_Response*>( + response), + done); + break; + case 14: + UpdateSteamAnnouncementLastRead(controller, + ::PROTOBUF_NAMESPACE_ID::internal::DownCast( + request), + ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_UpdateSteamAnnouncementLastRead_Response*>( + response), + done); + break; + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + break; + } +} + +const ::PROTOBUF_NAMESPACE_ID::Message& Player::GetRequestPrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { + GOOGLE_DCHECK_EQ(method->service(), descriptor()); + switch(method->index()) { + case 0: + return ::CPlayer_GetMutualFriendsForIncomingInvites_Request::default_instance(); + case 1: + return ::CPlayer_GetFriendsGameplayInfo_Request::default_instance(); + case 2: + return ::CPlayer_GetGameBadgeLevels_Request::default_instance(); + case 3: + return ::CPlayer_GetLastPlayedTimes_Request::default_instance(); + case 4: + return ::CPlayer_AcceptSSA_Request::default_instance(); + case 5: + return ::CPlayer_GetNicknameList_Request::default_instance(); + case 6: + return ::CPlayer_GetPerFriendPreferences_Request::default_instance(); + case 7: + return ::CPlayer_SetPerFriendPreferences_Request::default_instance(); + case 8: + return ::CPlayer_AddFriend_Request::default_instance(); + case 9: + return ::CPlayer_RemoveFriend_Request::default_instance(); + case 10: + return ::CPlayer_IgnoreFriend_Request::default_instance(); + case 11: + return ::CPlayer_GetCommunityPreferences_Request::default_instance(); + case 12: + return ::CPlayer_SetCommunityPreferences_Request::default_instance(); + case 13: + return ::CPlayer_GetNewSteamAnnouncementState_Request::default_instance(); + case 14: + return ::CPlayer_UpdateSteamAnnouncementLastRead_Request::default_instance(); + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() + ->GetPrototype(method->input_type()); + } +} + +const ::PROTOBUF_NAMESPACE_ID::Message& Player::GetResponsePrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { + GOOGLE_DCHECK_EQ(method->service(), descriptor()); + switch(method->index()) { + case 0: + return ::CPlayer_GetMutualFriendsForIncomingInvites_Response::default_instance(); + case 1: + return ::CPlayer_GetFriendsGameplayInfo_Response::default_instance(); + case 2: + return ::CPlayer_GetGameBadgeLevels_Response::default_instance(); + case 3: + return ::CPlayer_GetLastPlayedTimes_Response::default_instance(); + case 4: + return ::CPlayer_AcceptSSA_Response::default_instance(); + case 5: + return ::CPlayer_GetNicknameList_Response::default_instance(); + case 6: + return ::CPlayer_GetPerFriendPreferences_Response::default_instance(); + case 7: + return ::CPlayer_SetPerFriendPreferences_Response::default_instance(); + case 8: + return ::CPlayer_AddFriend_Response::default_instance(); + case 9: + return ::CPlayer_RemoveFriend_Response::default_instance(); + case 10: + return ::CPlayer_IgnoreFriend_Response::default_instance(); + case 11: + return ::CPlayer_GetCommunityPreferences_Response::default_instance(); + case 12: + return ::CPlayer_SetCommunityPreferences_Response::default_instance(); + case 13: + return ::CPlayer_GetNewSteamAnnouncementState_Response::default_instance(); + case 14: + return ::CPlayer_UpdateSteamAnnouncementLastRead_Response::default_instance(); + default: + GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; + return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() + ->GetPrototype(method->output_type()); + } +} + +Player_Stub::Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) + : channel_(channel), owns_channel_(false) {} +Player_Stub::Player_Stub( + ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, + ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) + : channel_(channel), + owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} +Player_Stub::~Player_Stub() { + if (owns_channel_) delete channel_; +} + +void Player_Stub::GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, + ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(0), + controller, request, response, done); +} +void Player_Stub::GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetFriendsGameplayInfo_Request* request, + ::CPlayer_GetFriendsGameplayInfo_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(1), + controller, request, response, done); +} +void Player_Stub::GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetGameBadgeLevels_Request* request, + ::CPlayer_GetGameBadgeLevels_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(2), + controller, request, response, done); +} +void Player_Stub::ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetLastPlayedTimes_Request* request, + ::CPlayer_GetLastPlayedTimes_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(3), + controller, request, response, done); +} +void Player_Stub::AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AcceptSSA_Request* request, + ::CPlayer_AcceptSSA_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(4), + controller, request, response, done); +} +void Player_Stub::GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNicknameList_Request* request, + ::CPlayer_GetNicknameList_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(5), + controller, request, response, done); +} +void Player_Stub::GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetPerFriendPreferences_Request* request, + ::CPlayer_GetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(6), + controller, request, response, done); +} +void Player_Stub::SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetPerFriendPreferences_Request* request, + ::CPlayer_SetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(7), + controller, request, response, done); +} +void Player_Stub::AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AddFriend_Request* request, + ::CPlayer_AddFriend_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(8), + controller, request, response, done); +} +void Player_Stub::RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_RemoveFriend_Request* request, + ::CPlayer_RemoveFriend_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(9), + controller, request, response, done); +} +void Player_Stub::IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_IgnoreFriend_Request* request, + ::CPlayer_IgnoreFriend_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(10), + controller, request, response, done); +} +void Player_Stub::GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetCommunityPreferences_Request* request, + ::CPlayer_GetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(11), + controller, request, response, done); +} +void Player_Stub::SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetCommunityPreferences_Request* request, + ::CPlayer_SetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(12), + controller, request, response, done); +} +void Player_Stub::GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNewSteamAnnouncementState_Request* request, + ::CPlayer_GetNewSteamAnnouncementState_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(13), + controller, request, response, done); +} +void Player_Stub::UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, + ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, + ::google::protobuf::Closure* done) { + channel_->CallMethod(descriptor()->method(14), + controller, request, response, done); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CPlayer_GetMutualFriendsForIncomingInvites_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetMutualFriendsForIncomingInvites_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetMutualFriendsForIncomingInvites_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_IncomingInviteMutualFriendList* +Arena::CreateMaybeMessage< ::CPlayer_IncomingInviteMutualFriendList >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_IncomingInviteMutualFriendList >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetMutualFriendsForIncomingInvites_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetMutualFriendsForIncomingInvites_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetMutualFriendsForIncomingInvites_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* +Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* +Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Response_Badge* +Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Response_Badge >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Response_Badge >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Response_Game* +Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Response_Game >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Response_Game >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_AcceptSSA_Request* +Arena::CreateMaybeMessage< ::CPlayer_AcceptSSA_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_AcceptSSA_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_AcceptSSA_Response* +Arena::CreateMaybeMessage< ::CPlayer_AcceptSSA_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_AcceptSSA_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Response_PlayerNickname* +Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Response_PlayerNickname >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Response_PlayerNickname >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetPerFriendPreferences_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetPerFriendPreferences_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetPerFriendPreferences_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::PerFriendPreferences* +Arena::CreateMaybeMessage< ::PerFriendPreferences >(Arena* arena) { + return Arena::CreateMessageInternal< ::PerFriendPreferences >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetPerFriendPreferences_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetPerFriendPreferences_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetPerFriendPreferences_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_SetPerFriendPreferences_Request* +Arena::CreateMaybeMessage< ::CPlayer_SetPerFriendPreferences_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_SetPerFriendPreferences_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_SetPerFriendPreferences_Response* +Arena::CreateMaybeMessage< ::CPlayer_SetPerFriendPreferences_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_SetPerFriendPreferences_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_AddFriend_Request* +Arena::CreateMaybeMessage< ::CPlayer_AddFriend_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_AddFriend_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_AddFriend_Response* +Arena::CreateMaybeMessage< ::CPlayer_AddFriend_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_AddFriend_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_RemoveFriend_Request* +Arena::CreateMaybeMessage< ::CPlayer_RemoveFriend_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_RemoveFriend_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_RemoveFriend_Response* +Arena::CreateMaybeMessage< ::CPlayer_RemoveFriend_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_RemoveFriend_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_IgnoreFriend_Request* +Arena::CreateMaybeMessage< ::CPlayer_IgnoreFriend_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_IgnoreFriend_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_IgnoreFriend_Response* +Arena::CreateMaybeMessage< ::CPlayer_IgnoreFriend_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_IgnoreFriend_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetCommunityPreferences_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetCommunityPreferences_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetCommunityPreferences_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_CommunityPreferences* +Arena::CreateMaybeMessage< ::CPlayer_CommunityPreferences >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_CommunityPreferences >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetCommunityPreferences_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetCommunityPreferences_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetCommunityPreferences_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_SetCommunityPreferences_Request* +Arena::CreateMaybeMessage< ::CPlayer_SetCommunityPreferences_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_SetCommunityPreferences_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_SetCommunityPreferences_Response* +Arena::CreateMaybeMessage< ::CPlayer_SetCommunityPreferences_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_SetCommunityPreferences_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetNewSteamAnnouncementState_Request* +Arena::CreateMaybeMessage< ::CPlayer_GetNewSteamAnnouncementState_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetNewSteamAnnouncementState_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_GetNewSteamAnnouncementState_Response* +Arena::CreateMaybeMessage< ::CPlayer_GetNewSteamAnnouncementState_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_GetNewSteamAnnouncementState_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_UpdateSteamAnnouncementLastRead_Request* +Arena::CreateMaybeMessage< ::CPlayer_UpdateSteamAnnouncementLastRead_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_UpdateSteamAnnouncementLastRead_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPlayer_UpdateSteamAnnouncementLastRead_Response* +Arena::CreateMaybeMessage< ::CPlayer_UpdateSteamAnnouncementLastRead_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPlayer_UpdateSteamAnnouncementLastRead_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.h new file mode 100644 index 0000000..146de0f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_player.steamworkssdk.pb.h @@ -0,0 +1,9523 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_player.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_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 3021008 < 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 +#include "steammessages_unified_base.steamworkssdk.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fplayer_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto; +class CPlayer_AcceptSSA_Request; +struct CPlayer_AcceptSSA_RequestDefaultTypeInternal; +extern CPlayer_AcceptSSA_RequestDefaultTypeInternal _CPlayer_AcceptSSA_Request_default_instance_; +class CPlayer_AcceptSSA_Response; +struct CPlayer_AcceptSSA_ResponseDefaultTypeInternal; +extern CPlayer_AcceptSSA_ResponseDefaultTypeInternal _CPlayer_AcceptSSA_Response_default_instance_; +class CPlayer_AddFriend_Request; +struct CPlayer_AddFriend_RequestDefaultTypeInternal; +extern CPlayer_AddFriend_RequestDefaultTypeInternal _CPlayer_AddFriend_Request_default_instance_; +class CPlayer_AddFriend_Response; +struct CPlayer_AddFriend_ResponseDefaultTypeInternal; +extern CPlayer_AddFriend_ResponseDefaultTypeInternal _CPlayer_AddFriend_Response_default_instance_; +class CPlayer_CommunityPreferences; +struct CPlayer_CommunityPreferencesDefaultTypeInternal; +extern CPlayer_CommunityPreferencesDefaultTypeInternal _CPlayer_CommunityPreferences_default_instance_; +class CPlayer_GetCommunityPreferences_Request; +struct CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal; +extern CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_GetCommunityPreferences_Request_default_instance_; +class CPlayer_GetCommunityPreferences_Response; +struct CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal; +extern CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_GetCommunityPreferences_Response_default_instance_; +class CPlayer_GetFriendsGameplayInfo_Request; +struct CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal; +extern CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Request_default_instance_; +class CPlayer_GetFriendsGameplayInfo_Response; +struct CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal; +extern CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_default_instance_; +class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo; +struct CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal; +extern CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_; +class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo; +struct CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal; +extern CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_; +class CPlayer_GetGameBadgeLevels_Request; +struct CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal; +extern CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Request_default_instance_; +class CPlayer_GetGameBadgeLevels_Response; +struct CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal; +extern CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_default_instance_; +class CPlayer_GetGameBadgeLevels_Response_Badge; +struct CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal; +extern CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_; +class CPlayer_GetLastPlayedTimes_Request; +struct CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal; +extern CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Request_default_instance_; +class CPlayer_GetLastPlayedTimes_Response; +struct CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal; +extern CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_default_instance_; +class CPlayer_GetLastPlayedTimes_Response_Game; +struct CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal; +extern CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_Game_default_instance_; +class CPlayer_GetMutualFriendsForIncomingInvites_Request; +struct CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal; +extern CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_; +class CPlayer_GetMutualFriendsForIncomingInvites_Response; +struct CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal; +extern CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_; +class CPlayer_GetNewSteamAnnouncementState_Request; +struct CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal; +extern CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Request_default_instance_; +class CPlayer_GetNewSteamAnnouncementState_Response; +struct CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal; +extern CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Response_default_instance_; +class CPlayer_GetNicknameList_Request; +struct CPlayer_GetNicknameList_RequestDefaultTypeInternal; +extern CPlayer_GetNicknameList_RequestDefaultTypeInternal _CPlayer_GetNicknameList_Request_default_instance_; +class CPlayer_GetNicknameList_Response; +struct CPlayer_GetNicknameList_ResponseDefaultTypeInternal; +extern CPlayer_GetNicknameList_ResponseDefaultTypeInternal _CPlayer_GetNicknameList_Response_default_instance_; +class CPlayer_GetNicknameList_Response_PlayerNickname; +struct CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal; +extern CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal _CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_; +class CPlayer_GetPerFriendPreferences_Request; +struct CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal; +extern CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Request_default_instance_; +class CPlayer_GetPerFriendPreferences_Response; +struct CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal; +extern CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Response_default_instance_; +class CPlayer_IgnoreFriend_Request; +struct CPlayer_IgnoreFriend_RequestDefaultTypeInternal; +extern CPlayer_IgnoreFriend_RequestDefaultTypeInternal _CPlayer_IgnoreFriend_Request_default_instance_; +class CPlayer_IgnoreFriend_Response; +struct CPlayer_IgnoreFriend_ResponseDefaultTypeInternal; +extern CPlayer_IgnoreFriend_ResponseDefaultTypeInternal _CPlayer_IgnoreFriend_Response_default_instance_; +class CPlayer_IncomingInviteMutualFriendList; +struct CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal; +extern CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal _CPlayer_IncomingInviteMutualFriendList_default_instance_; +class CPlayer_RemoveFriend_Request; +struct CPlayer_RemoveFriend_RequestDefaultTypeInternal; +extern CPlayer_RemoveFriend_RequestDefaultTypeInternal _CPlayer_RemoveFriend_Request_default_instance_; +class CPlayer_RemoveFriend_Response; +struct CPlayer_RemoveFriend_ResponseDefaultTypeInternal; +extern CPlayer_RemoveFriend_ResponseDefaultTypeInternal _CPlayer_RemoveFriend_Response_default_instance_; +class CPlayer_SetCommunityPreferences_Request; +struct CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal; +extern CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_SetCommunityPreferences_Request_default_instance_; +class CPlayer_SetCommunityPreferences_Response; +struct CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal; +extern CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_SetCommunityPreferences_Response_default_instance_; +class CPlayer_SetPerFriendPreferences_Request; +struct CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal; +extern CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Request_default_instance_; +class CPlayer_SetPerFriendPreferences_Response; +struct CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal; +extern CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Response_default_instance_; +class CPlayer_UpdateSteamAnnouncementLastRead_Request; +struct CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal; +extern CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_; +class CPlayer_UpdateSteamAnnouncementLastRead_Response; +struct CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal; +extern CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_; +class PerFriendPreferences; +struct PerFriendPreferencesDefaultTypeInternal; +extern PerFriendPreferencesDefaultTypeInternal _PerFriendPreferences_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CPlayer_AcceptSSA_Request* Arena::CreateMaybeMessage<::CPlayer_AcceptSSA_Request>(Arena*); +template<> ::CPlayer_AcceptSSA_Response* Arena::CreateMaybeMessage<::CPlayer_AcceptSSA_Response>(Arena*); +template<> ::CPlayer_AddFriend_Request* Arena::CreateMaybeMessage<::CPlayer_AddFriend_Request>(Arena*); +template<> ::CPlayer_AddFriend_Response* Arena::CreateMaybeMessage<::CPlayer_AddFriend_Response>(Arena*); +template<> ::CPlayer_CommunityPreferences* Arena::CreateMaybeMessage<::CPlayer_CommunityPreferences>(Arena*); +template<> ::CPlayer_GetCommunityPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_GetCommunityPreferences_Request>(Arena*); +template<> ::CPlayer_GetCommunityPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_GetCommunityPreferences_Response>(Arena*); +template<> ::CPlayer_GetFriendsGameplayInfo_Request* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Request>(Arena*); +template<> ::CPlayer_GetFriendsGameplayInfo_Response* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response>(Arena*); +template<> ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo>(Arena*); +template<> ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo>(Arena*); +template<> ::CPlayer_GetGameBadgeLevels_Request* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Request>(Arena*); +template<> ::CPlayer_GetGameBadgeLevels_Response* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Response>(Arena*); +template<> ::CPlayer_GetGameBadgeLevels_Response_Badge* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Response_Badge>(Arena*); +template<> ::CPlayer_GetLastPlayedTimes_Request* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Request>(Arena*); +template<> ::CPlayer_GetLastPlayedTimes_Response* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Response>(Arena*); +template<> ::CPlayer_GetLastPlayedTimes_Response_Game* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Response_Game>(Arena*); +template<> ::CPlayer_GetMutualFriendsForIncomingInvites_Request* Arena::CreateMaybeMessage<::CPlayer_GetMutualFriendsForIncomingInvites_Request>(Arena*); +template<> ::CPlayer_GetMutualFriendsForIncomingInvites_Response* Arena::CreateMaybeMessage<::CPlayer_GetMutualFriendsForIncomingInvites_Response>(Arena*); +template<> ::CPlayer_GetNewSteamAnnouncementState_Request* Arena::CreateMaybeMessage<::CPlayer_GetNewSteamAnnouncementState_Request>(Arena*); +template<> ::CPlayer_GetNewSteamAnnouncementState_Response* Arena::CreateMaybeMessage<::CPlayer_GetNewSteamAnnouncementState_Response>(Arena*); +template<> ::CPlayer_GetNicknameList_Request* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Request>(Arena*); +template<> ::CPlayer_GetNicknameList_Response* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Response>(Arena*); +template<> ::CPlayer_GetNicknameList_Response_PlayerNickname* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Response_PlayerNickname>(Arena*); +template<> ::CPlayer_GetPerFriendPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_GetPerFriendPreferences_Request>(Arena*); +template<> ::CPlayer_GetPerFriendPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_GetPerFriendPreferences_Response>(Arena*); +template<> ::CPlayer_IgnoreFriend_Request* Arena::CreateMaybeMessage<::CPlayer_IgnoreFriend_Request>(Arena*); +template<> ::CPlayer_IgnoreFriend_Response* Arena::CreateMaybeMessage<::CPlayer_IgnoreFriend_Response>(Arena*); +template<> ::CPlayer_IncomingInviteMutualFriendList* Arena::CreateMaybeMessage<::CPlayer_IncomingInviteMutualFriendList>(Arena*); +template<> ::CPlayer_RemoveFriend_Request* Arena::CreateMaybeMessage<::CPlayer_RemoveFriend_Request>(Arena*); +template<> ::CPlayer_RemoveFriend_Response* Arena::CreateMaybeMessage<::CPlayer_RemoveFriend_Response>(Arena*); +template<> ::CPlayer_SetCommunityPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_SetCommunityPreferences_Request>(Arena*); +template<> ::CPlayer_SetCommunityPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_SetCommunityPreferences_Response>(Arena*); +template<> ::CPlayer_SetPerFriendPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_SetPerFriendPreferences_Request>(Arena*); +template<> ::CPlayer_SetPerFriendPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_SetPerFriendPreferences_Response>(Arena*); +template<> ::CPlayer_UpdateSteamAnnouncementLastRead_Request* Arena::CreateMaybeMessage<::CPlayer_UpdateSteamAnnouncementLastRead_Request>(Arena*); +template<> ::CPlayer_UpdateSteamAnnouncementLastRead_Response* Arena::CreateMaybeMessage<::CPlayer_UpdateSteamAnnouncementLastRead_Response>(Arena*); +template<> ::PerFriendPreferences* Arena::CreateMaybeMessage<::PerFriendPreferences>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ENotificationSetting : int { + k_ENotificationSettingNotifyUseDefault = 0, + k_ENotificationSettingAlways = 1, + k_ENotificationSettingNever = 2 +}; +bool ENotificationSetting_IsValid(int value); +constexpr ENotificationSetting ENotificationSetting_MIN = k_ENotificationSettingNotifyUseDefault; +constexpr ENotificationSetting ENotificationSetting_MAX = k_ENotificationSettingNever; +constexpr int ENotificationSetting_ARRAYSIZE = ENotificationSetting_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENotificationSetting_descriptor(); +template +inline const std::string& ENotificationSetting_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ENotificationSetting_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ENotificationSetting_descriptor(), enum_t_value); +} +inline bool ENotificationSetting_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ENotificationSetting* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ENotificationSetting_descriptor(), name, value); +} +// =================================================================== + +class CPlayer_GetMutualFriendsForIncomingInvites_Request final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetMutualFriendsForIncomingInvites_Request) */ { + public: + inline CPlayer_GetMutualFriendsForIncomingInvites_Request() : CPlayer_GetMutualFriendsForIncomingInvites_Request(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetMutualFriendsForIncomingInvites_Request(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from); + CPlayer_GetMutualFriendsForIncomingInvites_Request(CPlayer_GetMutualFriendsForIncomingInvites_Request&& from) noexcept + : CPlayer_GetMutualFriendsForIncomingInvites_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetMutualFriendsForIncomingInvites_Request& operator=(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetMutualFriendsForIncomingInvites_Request& operator=(CPlayer_GetMutualFriendsForIncomingInvites_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetMutualFriendsForIncomingInvites_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetMutualFriendsForIncomingInvites_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CPlayer_GetMutualFriendsForIncomingInvites_Request& a, CPlayer_GetMutualFriendsForIncomingInvites_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetMutualFriendsForIncomingInvites_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(CPlayer_GetMutualFriendsForIncomingInvites_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetMutualFriendsForIncomingInvites_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Request& 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 "CPlayer_GetMutualFriendsForIncomingInvites_Request"; + } + protected: + explicit CPlayer_GetMutualFriendsForIncomingInvites_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_GetMutualFriendsForIncomingInvites_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_IncomingInviteMutualFriendList final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IncomingInviteMutualFriendList) */ { + public: + inline CPlayer_IncomingInviteMutualFriendList() : CPlayer_IncomingInviteMutualFriendList(nullptr) {} + ~CPlayer_IncomingInviteMutualFriendList() override; + explicit PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_IncomingInviteMutualFriendList(const CPlayer_IncomingInviteMutualFriendList& from); + CPlayer_IncomingInviteMutualFriendList(CPlayer_IncomingInviteMutualFriendList&& from) noexcept + : CPlayer_IncomingInviteMutualFriendList() { + *this = ::std::move(from); + } + + inline CPlayer_IncomingInviteMutualFriendList& operator=(const CPlayer_IncomingInviteMutualFriendList& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_IncomingInviteMutualFriendList& operator=(CPlayer_IncomingInviteMutualFriendList&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_IncomingInviteMutualFriendList& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_IncomingInviteMutualFriendList* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_IncomingInviteMutualFriendList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CPlayer_IncomingInviteMutualFriendList& a, CPlayer_IncomingInviteMutualFriendList& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_IncomingInviteMutualFriendList* 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(CPlayer_IncomingInviteMutualFriendList* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_IncomingInviteMutualFriendList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_IncomingInviteMutualFriendList& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_IncomingInviteMutualFriendList& from) { + CPlayer_IncomingInviteMutualFriendList::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(CPlayer_IncomingInviteMutualFriendList* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_IncomingInviteMutualFriendList"; + } + protected: + explicit CPlayer_IncomingInviteMutualFriendList(::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 { + kMutualFriendAccountIdsFieldNumber = 2, + kSteamidFieldNumber = 1, + }; + // repeated uint32 mutual_friend_account_ids = 2; + int mutual_friend_account_ids_size() const; + private: + int _internal_mutual_friend_account_ids_size() const; + public: + void clear_mutual_friend_account_ids(); + private: + uint32_t _internal_mutual_friend_account_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_mutual_friend_account_ids() const; + void _internal_add_mutual_friend_account_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_mutual_friend_account_ids(); + public: + uint32_t mutual_friend_account_ids(int index) const; + void set_mutual_friend_account_ids(int index, uint32_t value); + void add_mutual_friend_account_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + mutual_friend_account_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_mutual_friend_account_ids(); + + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_IncomingInviteMutualFriendList) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > mutual_friend_account_ids_; + uint64_t steamid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetMutualFriendsForIncomingInvites_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetMutualFriendsForIncomingInvites_Response) */ { + public: + inline CPlayer_GetMutualFriendsForIncomingInvites_Response() : CPlayer_GetMutualFriendsForIncomingInvites_Response(nullptr) {} + ~CPlayer_GetMutualFriendsForIncomingInvites_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetMutualFriendsForIncomingInvites_Response(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from); + CPlayer_GetMutualFriendsForIncomingInvites_Response(CPlayer_GetMutualFriendsForIncomingInvites_Response&& from) noexcept + : CPlayer_GetMutualFriendsForIncomingInvites_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetMutualFriendsForIncomingInvites_Response& operator=(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetMutualFriendsForIncomingInvites_Response& operator=(CPlayer_GetMutualFriendsForIncomingInvites_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetMutualFriendsForIncomingInvites_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetMutualFriendsForIncomingInvites_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CPlayer_GetMutualFriendsForIncomingInvites_Response& a, CPlayer_GetMutualFriendsForIncomingInvites_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetMutualFriendsForIncomingInvites_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(CPlayer_GetMutualFriendsForIncomingInvites_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetMutualFriendsForIncomingInvites_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { + CPlayer_GetMutualFriendsForIncomingInvites_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(CPlayer_GetMutualFriendsForIncomingInvites_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetMutualFriendsForIncomingInvites_Response"; + } + protected: + explicit CPlayer_GetMutualFriendsForIncomingInvites_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 { + kIncomingInviteMutualFriendsListsFieldNumber = 1, + }; + // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; + int incoming_invite_mutual_friends_lists_size() const; + private: + int _internal_incoming_invite_mutual_friends_lists_size() const; + public: + void clear_incoming_invite_mutual_friends_lists(); + ::CPlayer_IncomingInviteMutualFriendList* mutable_incoming_invite_mutual_friends_lists(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >* + mutable_incoming_invite_mutual_friends_lists(); + private: + const ::CPlayer_IncomingInviteMutualFriendList& _internal_incoming_invite_mutual_friends_lists(int index) const; + ::CPlayer_IncomingInviteMutualFriendList* _internal_add_incoming_invite_mutual_friends_lists(); + public: + const ::CPlayer_IncomingInviteMutualFriendList& incoming_invite_mutual_friends_lists(int index) const; + ::CPlayer_IncomingInviteMutualFriendList* add_incoming_invite_mutual_friends_lists(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >& + incoming_invite_mutual_friends_lists() const; + + // @@protoc_insertion_point(class_scope:CPlayer_GetMutualFriendsForIncomingInvites_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList > incoming_invite_mutual_friends_lists_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetFriendsGameplayInfo_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Request) */ { + public: + inline CPlayer_GetFriendsGameplayInfo_Request() : CPlayer_GetFriendsGameplayInfo_Request(nullptr) {} + ~CPlayer_GetFriendsGameplayInfo_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetFriendsGameplayInfo_Request(const CPlayer_GetFriendsGameplayInfo_Request& from); + CPlayer_GetFriendsGameplayInfo_Request(CPlayer_GetFriendsGameplayInfo_Request&& from) noexcept + : CPlayer_GetFriendsGameplayInfo_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetFriendsGameplayInfo_Request& operator=(const CPlayer_GetFriendsGameplayInfo_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetFriendsGameplayInfo_Request& operator=(CPlayer_GetFriendsGameplayInfo_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetFriendsGameplayInfo_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetFriendsGameplayInfo_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetFriendsGameplayInfo_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CPlayer_GetFriendsGameplayInfo_Request& a, CPlayer_GetFriendsGameplayInfo_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetFriendsGameplayInfo_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(CPlayer_GetFriendsGameplayInfo_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetFriendsGameplayInfo_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Request& from) { + CPlayer_GetFriendsGameplayInfo_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(CPlayer_GetFriendsGameplayInfo_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetFriendsGameplayInfo_Request"; + } + protected: + explicit CPlayer_GetFriendsGameplayInfo_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 { + kAppidFieldNumber = 1, + }; + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) */ { + public: + inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() : CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(nullptr) {} + ~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from); + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo&& from) noexcept + : CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() { + *this = ::std::move(from); + } + + inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& operator=(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& operator=(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& a, CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* 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(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { + CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::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(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo"; + } + protected: + explicit CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::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 { + kSteamidFieldNumber = 1, + kMinutesPlayedFieldNumber = 2, + kMinutesPlayedForeverFieldNumber = 3, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 minutes_played = 2; + bool has_minutes_played() const; + private: + bool _internal_has_minutes_played() const; + public: + void clear_minutes_played(); + uint32_t minutes_played() const; + void set_minutes_played(uint32_t value); + private: + uint32_t _internal_minutes_played() const; + void _internal_set_minutes_played(uint32_t value); + public: + + // optional uint32 minutes_played_forever = 3; + bool has_minutes_played_forever() const; + private: + bool _internal_has_minutes_played_forever() const; + public: + void clear_minutes_played_forever(); + uint32_t minutes_played_forever() const; + void set_minutes_played_forever(uint32_t value); + private: + uint32_t _internal_minutes_played_forever() const; + void _internal_set_minutes_played_forever(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint32_t minutes_played_; + uint32_t minutes_played_forever_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) */ { + public: + inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() : CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(nullptr) {} + ~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from); + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo&& from) noexcept + : CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() { + *this = ::std::move(from); + } + + inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& operator=(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& operator=(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& a, CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* 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(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { + CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::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(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo"; + } + protected: + explicit CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::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 { + kSteamidFieldNumber = 1, + kMinutesPlayedFieldNumber = 2, + kMinutesPlayedForeverFieldNumber = 3, + kInWishlistFieldNumber = 4, + kOwnedFieldNumber = 5, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional uint32 minutes_played = 2; + bool has_minutes_played() const; + private: + bool _internal_has_minutes_played() const; + public: + void clear_minutes_played(); + uint32_t minutes_played() const; + void set_minutes_played(uint32_t value); + private: + uint32_t _internal_minutes_played() const; + void _internal_set_minutes_played(uint32_t value); + public: + + // optional uint32 minutes_played_forever = 3; + bool has_minutes_played_forever() const; + private: + bool _internal_has_minutes_played_forever() const; + public: + void clear_minutes_played_forever(); + uint32_t minutes_played_forever() const; + void set_minutes_played_forever(uint32_t value); + private: + uint32_t _internal_minutes_played_forever() const; + void _internal_set_minutes_played_forever(uint32_t value); + public: + + // optional bool in_wishlist = 4; + bool has_in_wishlist() const; + private: + bool _internal_has_in_wishlist() const; + public: + void clear_in_wishlist(); + bool in_wishlist() const; + void set_in_wishlist(bool value); + private: + bool _internal_in_wishlist() const; + void _internal_set_in_wishlist(bool value); + public: + + // optional bool owned = 5; + bool has_owned() const; + private: + bool _internal_has_owned() const; + public: + void clear_owned(); + bool owned() const; + void set_owned(bool value); + private: + bool _internal_owned() const; + void _internal_set_owned(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + uint32_t minutes_played_; + uint32_t minutes_played_forever_; + bool in_wishlist_; + bool owned_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetFriendsGameplayInfo_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response) */ { + public: + inline CPlayer_GetFriendsGameplayInfo_Response() : CPlayer_GetFriendsGameplayInfo_Response(nullptr) {} + ~CPlayer_GetFriendsGameplayInfo_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetFriendsGameplayInfo_Response(const CPlayer_GetFriendsGameplayInfo_Response& from); + CPlayer_GetFriendsGameplayInfo_Response(CPlayer_GetFriendsGameplayInfo_Response&& from) noexcept + : CPlayer_GetFriendsGameplayInfo_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetFriendsGameplayInfo_Response& operator=(const CPlayer_GetFriendsGameplayInfo_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetFriendsGameplayInfo_Response& operator=(CPlayer_GetFriendsGameplayInfo_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetFriendsGameplayInfo_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetFriendsGameplayInfo_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetFriendsGameplayInfo_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CPlayer_GetFriendsGameplayInfo_Response& a, CPlayer_GetFriendsGameplayInfo_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetFriendsGameplayInfo_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(CPlayer_GetFriendsGameplayInfo_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetFriendsGameplayInfo_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response& from) { + CPlayer_GetFriendsGameplayInfo_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(CPlayer_GetFriendsGameplayInfo_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetFriendsGameplayInfo_Response"; + } + protected: + explicit CPlayer_GetFriendsGameplayInfo_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 ---------------------------------------------------- + + typedef CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo FriendsGameplayInfo; + typedef CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo OwnGameplayInfo; + + // accessors ------------------------------------------------------- + + enum : int { + kInGameFieldNumber = 2, + kPlayedRecentlyFieldNumber = 3, + kPlayedEverFieldNumber = 4, + kOwnsFieldNumber = 5, + kInWishlistFieldNumber = 6, + kYourInfoFieldNumber = 1, + }; + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; + int in_game_size() const; + private: + int _internal_in_game_size() const; + public: + void clear_in_game(); + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_in_game(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* + mutable_in_game(); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_in_game(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_in_game(); + public: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& in_game(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_in_game(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& + in_game() const; + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; + int played_recently_size() const; + private: + int _internal_played_recently_size() const; + public: + void clear_played_recently(); + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_played_recently(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* + mutable_played_recently(); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_played_recently(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_played_recently(); + public: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& played_recently(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_played_recently(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& + played_recently() const; + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; + int played_ever_size() const; + private: + int _internal_played_ever_size() const; + public: + void clear_played_ever(); + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_played_ever(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* + mutable_played_ever(); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_played_ever(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_played_ever(); + public: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& played_ever(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_played_ever(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& + played_ever() const; + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; + int owns_size() const; + private: + int _internal_owns_size() const; + public: + void clear_owns(); + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_owns(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* + mutable_owns(); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_owns(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_owns(); + public: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& owns(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_owns(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& + owns() const; + + // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; + int in_wishlist_size() const; + private: + int _internal_in_wishlist_size() const; + public: + void clear_in_wishlist(); + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_in_wishlist(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* + mutable_in_wishlist(); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_in_wishlist(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_in_wishlist(); + public: + const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& in_wishlist(int index) const; + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_in_wishlist(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& + in_wishlist() const; + + // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; + bool has_your_info() const; + private: + bool _internal_has_your_info() const; + public: + void clear_your_info(); + const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& your_info() const; + PROTOBUF_NODISCARD ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* release_your_info(); + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* mutable_your_info(); + void set_allocated_your_info(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info); + private: + const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& _internal_your_info() const; + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* _internal_mutable_your_info(); + public: + void unsafe_arena_set_allocated_your_info( + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info); + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* unsafe_arena_release_your_info(); + + // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > in_game_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > played_recently_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > played_ever_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > owns_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > in_wishlist_; + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetGameBadgeLevels_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Request) */ { + public: + inline CPlayer_GetGameBadgeLevels_Request() : CPlayer_GetGameBadgeLevels_Request(nullptr) {} + ~CPlayer_GetGameBadgeLevels_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetGameBadgeLevels_Request(const CPlayer_GetGameBadgeLevels_Request& from); + CPlayer_GetGameBadgeLevels_Request(CPlayer_GetGameBadgeLevels_Request&& from) noexcept + : CPlayer_GetGameBadgeLevels_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetGameBadgeLevels_Request& operator=(const CPlayer_GetGameBadgeLevels_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetGameBadgeLevels_Request& operator=(CPlayer_GetGameBadgeLevels_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetGameBadgeLevels_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetGameBadgeLevels_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetGameBadgeLevels_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CPlayer_GetGameBadgeLevels_Request& a, CPlayer_GetGameBadgeLevels_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetGameBadgeLevels_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(CPlayer_GetGameBadgeLevels_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetGameBadgeLevels_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetGameBadgeLevels_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetGameBadgeLevels_Request& from) { + CPlayer_GetGameBadgeLevels_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(CPlayer_GetGameBadgeLevels_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetGameBadgeLevels_Request"; + } + protected: + explicit CPlayer_GetGameBadgeLevels_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 { + kAppidFieldNumber = 1, + }; + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t appid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetGameBadgeLevels_Response_Badge final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Response.Badge) */ { + public: + inline CPlayer_GetGameBadgeLevels_Response_Badge() : CPlayer_GetGameBadgeLevels_Response_Badge(nullptr) {} + ~CPlayer_GetGameBadgeLevels_Response_Badge() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_Badge(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetGameBadgeLevels_Response_Badge(const CPlayer_GetGameBadgeLevels_Response_Badge& from); + CPlayer_GetGameBadgeLevels_Response_Badge(CPlayer_GetGameBadgeLevels_Response_Badge&& from) noexcept + : CPlayer_GetGameBadgeLevels_Response_Badge() { + *this = ::std::move(from); + } + + inline CPlayer_GetGameBadgeLevels_Response_Badge& operator=(const CPlayer_GetGameBadgeLevels_Response_Badge& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetGameBadgeLevels_Response_Badge& operator=(CPlayer_GetGameBadgeLevels_Response_Badge&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetGameBadgeLevels_Response_Badge& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetGameBadgeLevels_Response_Badge* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CPlayer_GetGameBadgeLevels_Response_Badge& a, CPlayer_GetGameBadgeLevels_Response_Badge& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetGameBadgeLevels_Response_Badge* 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(CPlayer_GetGameBadgeLevels_Response_Badge* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetGameBadgeLevels_Response_Badge* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetGameBadgeLevels_Response_Badge& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetGameBadgeLevels_Response_Badge& from) { + CPlayer_GetGameBadgeLevels_Response_Badge::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(CPlayer_GetGameBadgeLevels_Response_Badge* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetGameBadgeLevels_Response.Badge"; + } + protected: + explicit CPlayer_GetGameBadgeLevels_Response_Badge(::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 { + kLevelFieldNumber = 1, + kSeriesFieldNumber = 2, + kBorderColorFieldNumber = 3, + }; + // optional int32 level = 1; + bool has_level() const; + private: + bool _internal_has_level() const; + public: + 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: + + // optional int32 series = 2; + bool has_series() const; + private: + bool _internal_has_series() const; + public: + void clear_series(); + int32_t series() const; + void set_series(int32_t value); + private: + int32_t _internal_series() const; + void _internal_set_series(int32_t value); + public: + + // optional uint32 border_color = 3; + bool has_border_color() const; + private: + bool _internal_has_border_color() const; + public: + void clear_border_color(); + uint32_t border_color() const; + void set_border_color(uint32_t value); + private: + uint32_t _internal_border_color() const; + void _internal_set_border_color(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Response.Badge) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t level_; + int32_t series_; + uint32_t border_color_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetGameBadgeLevels_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Response) */ { + public: + inline CPlayer_GetGameBadgeLevels_Response() : CPlayer_GetGameBadgeLevels_Response(nullptr) {} + ~CPlayer_GetGameBadgeLevels_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetGameBadgeLevels_Response(const CPlayer_GetGameBadgeLevels_Response& from); + CPlayer_GetGameBadgeLevels_Response(CPlayer_GetGameBadgeLevels_Response&& from) noexcept + : CPlayer_GetGameBadgeLevels_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetGameBadgeLevels_Response& operator=(const CPlayer_GetGameBadgeLevels_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetGameBadgeLevels_Response& operator=(CPlayer_GetGameBadgeLevels_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetGameBadgeLevels_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetGameBadgeLevels_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetGameBadgeLevels_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CPlayer_GetGameBadgeLevels_Response& a, CPlayer_GetGameBadgeLevels_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetGameBadgeLevels_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(CPlayer_GetGameBadgeLevels_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetGameBadgeLevels_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetGameBadgeLevels_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetGameBadgeLevels_Response& from) { + CPlayer_GetGameBadgeLevels_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(CPlayer_GetGameBadgeLevels_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetGameBadgeLevels_Response"; + } + protected: + explicit CPlayer_GetGameBadgeLevels_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 ---------------------------------------------------- + + typedef CPlayer_GetGameBadgeLevels_Response_Badge Badge; + + // accessors ------------------------------------------------------- + + enum : int { + kBadgesFieldNumber = 2, + kPlayerLevelFieldNumber = 1, + }; + // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; + int badges_size() const; + private: + int _internal_badges_size() const; + public: + void clear_badges(); + ::CPlayer_GetGameBadgeLevels_Response_Badge* mutable_badges(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >* + mutable_badges(); + private: + const ::CPlayer_GetGameBadgeLevels_Response_Badge& _internal_badges(int index) const; + ::CPlayer_GetGameBadgeLevels_Response_Badge* _internal_add_badges(); + public: + const ::CPlayer_GetGameBadgeLevels_Response_Badge& badges(int index) const; + ::CPlayer_GetGameBadgeLevels_Response_Badge* add_badges(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >& + badges() const; + + // optional uint32 player_level = 1; + bool has_player_level() const; + private: + bool _internal_has_player_level() const; + public: + void clear_player_level(); + uint32_t player_level() const; + void set_player_level(uint32_t value); + private: + uint32_t _internal_player_level() const; + void _internal_set_player_level(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge > badges_; + uint32_t player_level_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetLastPlayedTimes_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Request) */ { + public: + inline CPlayer_GetLastPlayedTimes_Request() : CPlayer_GetLastPlayedTimes_Request(nullptr) {} + ~CPlayer_GetLastPlayedTimes_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetLastPlayedTimes_Request(const CPlayer_GetLastPlayedTimes_Request& from); + CPlayer_GetLastPlayedTimes_Request(CPlayer_GetLastPlayedTimes_Request&& from) noexcept + : CPlayer_GetLastPlayedTimes_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetLastPlayedTimes_Request& operator=(const CPlayer_GetLastPlayedTimes_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetLastPlayedTimes_Request& operator=(CPlayer_GetLastPlayedTimes_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetLastPlayedTimes_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetLastPlayedTimes_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetLastPlayedTimes_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CPlayer_GetLastPlayedTimes_Request& a, CPlayer_GetLastPlayedTimes_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetLastPlayedTimes_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(CPlayer_GetLastPlayedTimes_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetLastPlayedTimes_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetLastPlayedTimes_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetLastPlayedTimes_Request& from) { + CPlayer_GetLastPlayedTimes_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(CPlayer_GetLastPlayedTimes_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetLastPlayedTimes_Request"; + } + protected: + explicit CPlayer_GetLastPlayedTimes_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 { + kMinLastPlayedFieldNumber = 1, + }; + // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; + bool has_min_last_played() const; + private: + bool _internal_has_min_last_played() const; + public: + void clear_min_last_played(); + uint32_t min_last_played() const; + void set_min_last_played(uint32_t value); + private: + uint32_t _internal_min_last_played() const; + void _internal_set_min_last_played(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t min_last_played_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetLastPlayedTimes_Response_Game final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Response.Game) */ { + public: + inline CPlayer_GetLastPlayedTimes_Response_Game() : CPlayer_GetLastPlayedTimes_Response_Game(nullptr) {} + ~CPlayer_GetLastPlayedTimes_Response_Game() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_Game(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetLastPlayedTimes_Response_Game(const CPlayer_GetLastPlayedTimes_Response_Game& from); + CPlayer_GetLastPlayedTimes_Response_Game(CPlayer_GetLastPlayedTimes_Response_Game&& from) noexcept + : CPlayer_GetLastPlayedTimes_Response_Game() { + *this = ::std::move(from); + } + + inline CPlayer_GetLastPlayedTimes_Response_Game& operator=(const CPlayer_GetLastPlayedTimes_Response_Game& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetLastPlayedTimes_Response_Game& operator=(CPlayer_GetLastPlayedTimes_Response_Game&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetLastPlayedTimes_Response_Game& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetLastPlayedTimes_Response_Game* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetLastPlayedTimes_Response_Game_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CPlayer_GetLastPlayedTimes_Response_Game& a, CPlayer_GetLastPlayedTimes_Response_Game& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetLastPlayedTimes_Response_Game* 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(CPlayer_GetLastPlayedTimes_Response_Game* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetLastPlayedTimes_Response_Game* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetLastPlayedTimes_Response_Game& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetLastPlayedTimes_Response_Game& from) { + CPlayer_GetLastPlayedTimes_Response_Game::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(CPlayer_GetLastPlayedTimes_Response_Game* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetLastPlayedTimes_Response.Game"; + } + protected: + explicit CPlayer_GetLastPlayedTimes_Response_Game(::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 { + kAppidFieldNumber = 1, + kLastPlaytimeFieldNumber = 2, + kPlaytime2WeeksFieldNumber = 3, + kPlaytimeForeverFieldNumber = 4, + kFirstPlaytimeFieldNumber = 5, + }; + // optional int32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + int32_t appid() const; + void set_appid(int32_t value); + private: + int32_t _internal_appid() const; + void _internal_set_appid(int32_t value); + public: + + // optional uint32 last_playtime = 2; + bool has_last_playtime() const; + private: + bool _internal_has_last_playtime() const; + public: + void clear_last_playtime(); + uint32_t last_playtime() const; + void set_last_playtime(uint32_t value); + private: + uint32_t _internal_last_playtime() const; + void _internal_set_last_playtime(uint32_t value); + public: + + // optional int32 playtime_2weeks = 3; + bool has_playtime_2weeks() const; + private: + bool _internal_has_playtime_2weeks() const; + public: + void clear_playtime_2weeks(); + int32_t playtime_2weeks() const; + void set_playtime_2weeks(int32_t value); + private: + int32_t _internal_playtime_2weeks() const; + void _internal_set_playtime_2weeks(int32_t value); + public: + + // optional int32 playtime_forever = 4; + bool has_playtime_forever() const; + private: + bool _internal_has_playtime_forever() const; + public: + void clear_playtime_forever(); + int32_t playtime_forever() const; + void set_playtime_forever(int32_t value); + private: + int32_t _internal_playtime_forever() const; + void _internal_set_playtime_forever(int32_t value); + public: + + // optional uint32 first_playtime = 5; + bool has_first_playtime() const; + private: + bool _internal_has_first_playtime() const; + public: + void clear_first_playtime(); + uint32_t first_playtime() const; + void set_first_playtime(uint32_t value); + private: + uint32_t _internal_first_playtime() const; + void _internal_set_first_playtime(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Response.Game) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t appid_; + uint32_t last_playtime_; + int32_t playtime_2weeks_; + int32_t playtime_forever_; + uint32_t first_playtime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetLastPlayedTimes_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Response) */ { + public: + inline CPlayer_GetLastPlayedTimes_Response() : CPlayer_GetLastPlayedTimes_Response(nullptr) {} + ~CPlayer_GetLastPlayedTimes_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetLastPlayedTimes_Response(const CPlayer_GetLastPlayedTimes_Response& from); + CPlayer_GetLastPlayedTimes_Response(CPlayer_GetLastPlayedTimes_Response&& from) noexcept + : CPlayer_GetLastPlayedTimes_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetLastPlayedTimes_Response& operator=(const CPlayer_GetLastPlayedTimes_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetLastPlayedTimes_Response& operator=(CPlayer_GetLastPlayedTimes_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetLastPlayedTimes_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetLastPlayedTimes_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetLastPlayedTimes_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CPlayer_GetLastPlayedTimes_Response& a, CPlayer_GetLastPlayedTimes_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetLastPlayedTimes_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(CPlayer_GetLastPlayedTimes_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetLastPlayedTimes_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetLastPlayedTimes_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetLastPlayedTimes_Response& from) { + CPlayer_GetLastPlayedTimes_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(CPlayer_GetLastPlayedTimes_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetLastPlayedTimes_Response"; + } + protected: + explicit CPlayer_GetLastPlayedTimes_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 ---------------------------------------------------- + + typedef CPlayer_GetLastPlayedTimes_Response_Game Game; + + // accessors ------------------------------------------------------- + + enum : int { + kGamesFieldNumber = 1, + }; + // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; + int games_size() const; + private: + int _internal_games_size() const; + public: + void clear_games(); + ::CPlayer_GetLastPlayedTimes_Response_Game* mutable_games(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >* + mutable_games(); + private: + const ::CPlayer_GetLastPlayedTimes_Response_Game& _internal_games(int index) const; + ::CPlayer_GetLastPlayedTimes_Response_Game* _internal_add_games(); + public: + const ::CPlayer_GetLastPlayedTimes_Response_Game& games(int index) const; + ::CPlayer_GetLastPlayedTimes_Response_Game* add_games(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >& + games() const; + + // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game > games_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_AcceptSSA_Request final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_AcceptSSA_Request) */ { + public: + inline CPlayer_AcceptSSA_Request() : CPlayer_AcceptSSA_Request(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_AcceptSSA_Request(const CPlayer_AcceptSSA_Request& from); + CPlayer_AcceptSSA_Request(CPlayer_AcceptSSA_Request&& from) noexcept + : CPlayer_AcceptSSA_Request() { + *this = ::std::move(from); + } + + inline CPlayer_AcceptSSA_Request& operator=(const CPlayer_AcceptSSA_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_AcceptSSA_Request& operator=(CPlayer_AcceptSSA_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_AcceptSSA_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_AcceptSSA_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_AcceptSSA_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CPlayer_AcceptSSA_Request& a, CPlayer_AcceptSSA_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_AcceptSSA_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(CPlayer_AcceptSSA_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_AcceptSSA_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_AcceptSSA_Request& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_AcceptSSA_Request& 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 "CPlayer_AcceptSSA_Request"; + } + protected: + explicit CPlayer_AcceptSSA_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_AcceptSSA_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_AcceptSSA_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_AcceptSSA_Response) */ { + public: + inline CPlayer_AcceptSSA_Response() : CPlayer_AcceptSSA_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_AcceptSSA_Response(const CPlayer_AcceptSSA_Response& from); + CPlayer_AcceptSSA_Response(CPlayer_AcceptSSA_Response&& from) noexcept + : CPlayer_AcceptSSA_Response() { + *this = ::std::move(from); + } + + inline CPlayer_AcceptSSA_Response& operator=(const CPlayer_AcceptSSA_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_AcceptSSA_Response& operator=(CPlayer_AcceptSSA_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_AcceptSSA_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_AcceptSSA_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_AcceptSSA_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CPlayer_AcceptSSA_Response& a, CPlayer_AcceptSSA_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_AcceptSSA_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(CPlayer_AcceptSSA_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_AcceptSSA_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_AcceptSSA_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_AcceptSSA_Response& 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 "CPlayer_AcceptSSA_Response"; + } + protected: + explicit CPlayer_AcceptSSA_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_AcceptSSA_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetNicknameList_Request final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Request) */ { + public: + inline CPlayer_GetNicknameList_Request() : CPlayer_GetNicknameList_Request(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetNicknameList_Request(const CPlayer_GetNicknameList_Request& from); + CPlayer_GetNicknameList_Request(CPlayer_GetNicknameList_Request&& from) noexcept + : CPlayer_GetNicknameList_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetNicknameList_Request& operator=(const CPlayer_GetNicknameList_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetNicknameList_Request& operator=(CPlayer_GetNicknameList_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetNicknameList_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetNicknameList_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetNicknameList_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CPlayer_GetNicknameList_Request& a, CPlayer_GetNicknameList_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetNicknameList_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(CPlayer_GetNicknameList_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetNicknameList_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_GetNicknameList_Request& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_GetNicknameList_Request& 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 "CPlayer_GetNicknameList_Request"; + } + protected: + explicit CPlayer_GetNicknameList_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetNicknameList_Response_PlayerNickname final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Response.PlayerNickname) */ { + public: + inline CPlayer_GetNicknameList_Response_PlayerNickname() : CPlayer_GetNicknameList_Response_PlayerNickname(nullptr) {} + ~CPlayer_GetNicknameList_Response_PlayerNickname() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNickname(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetNicknameList_Response_PlayerNickname(const CPlayer_GetNicknameList_Response_PlayerNickname& from); + CPlayer_GetNicknameList_Response_PlayerNickname(CPlayer_GetNicknameList_Response_PlayerNickname&& from) noexcept + : CPlayer_GetNicknameList_Response_PlayerNickname() { + *this = ::std::move(from); + } + + inline CPlayer_GetNicknameList_Response_PlayerNickname& operator=(const CPlayer_GetNicknameList_Response_PlayerNickname& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetNicknameList_Response_PlayerNickname& operator=(CPlayer_GetNicknameList_Response_PlayerNickname&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetNicknameList_Response_PlayerNickname& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetNicknameList_Response_PlayerNickname* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CPlayer_GetNicknameList_Response_PlayerNickname& a, CPlayer_GetNicknameList_Response_PlayerNickname& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetNicknameList_Response_PlayerNickname* 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(CPlayer_GetNicknameList_Response_PlayerNickname* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetNicknameList_Response_PlayerNickname* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetNicknameList_Response_PlayerNickname& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetNicknameList_Response_PlayerNickname& from) { + CPlayer_GetNicknameList_Response_PlayerNickname::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(CPlayer_GetNicknameList_Response_PlayerNickname* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetNicknameList_Response.PlayerNickname"; + } + protected: + explicit CPlayer_GetNicknameList_Response_PlayerNickname(::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 { + kNicknameFieldNumber = 2, + kAccountidFieldNumber = 1, + }; + // optional string nickname = 2; + bool has_nickname() const; + private: + bool _internal_has_nickname() const; + public: + void clear_nickname(); + const std::string& nickname() const; + template + void set_nickname(ArgT0&& arg0, ArgT... args); + std::string* mutable_nickname(); + PROTOBUF_NODISCARD std::string* release_nickname(); + void set_allocated_nickname(std::string* nickname); + private: + const std::string& _internal_nickname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nickname(const std::string& value); + std::string* _internal_mutable_nickname(); + public: + + // optional fixed32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Response.PlayerNickname) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nickname_; + uint32_t accountid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetNicknameList_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Response) */ { + public: + inline CPlayer_GetNicknameList_Response() : CPlayer_GetNicknameList_Response(nullptr) {} + ~CPlayer_GetNicknameList_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetNicknameList_Response(const CPlayer_GetNicknameList_Response& from); + CPlayer_GetNicknameList_Response(CPlayer_GetNicknameList_Response&& from) noexcept + : CPlayer_GetNicknameList_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetNicknameList_Response& operator=(const CPlayer_GetNicknameList_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetNicknameList_Response& operator=(CPlayer_GetNicknameList_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetNicknameList_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetNicknameList_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetNicknameList_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CPlayer_GetNicknameList_Response& a, CPlayer_GetNicknameList_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetNicknameList_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(CPlayer_GetNicknameList_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetNicknameList_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetNicknameList_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetNicknameList_Response& from) { + CPlayer_GetNicknameList_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(CPlayer_GetNicknameList_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetNicknameList_Response"; + } + protected: + explicit CPlayer_GetNicknameList_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 ---------------------------------------------------- + + typedef CPlayer_GetNicknameList_Response_PlayerNickname PlayerNickname; + + // accessors ------------------------------------------------------- + + enum : int { + kNicknamesFieldNumber = 1, + }; + // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; + int nicknames_size() const; + private: + int _internal_nicknames_size() const; + public: + void clear_nicknames(); + ::CPlayer_GetNicknameList_Response_PlayerNickname* mutable_nicknames(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >* + mutable_nicknames(); + private: + const ::CPlayer_GetNicknameList_Response_PlayerNickname& _internal_nicknames(int index) const; + ::CPlayer_GetNicknameList_Response_PlayerNickname* _internal_add_nicknames(); + public: + const ::CPlayer_GetNicknameList_Response_PlayerNickname& nicknames(int index) const; + ::CPlayer_GetNicknameList_Response_PlayerNickname* add_nicknames(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >& + nicknames() const; + + // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname > nicknames_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetPerFriendPreferences_Request final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetPerFriendPreferences_Request) */ { + public: + inline CPlayer_GetPerFriendPreferences_Request() : CPlayer_GetPerFriendPreferences_Request(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetPerFriendPreferences_Request(const CPlayer_GetPerFriendPreferences_Request& from); + CPlayer_GetPerFriendPreferences_Request(CPlayer_GetPerFriendPreferences_Request&& from) noexcept + : CPlayer_GetPerFriendPreferences_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetPerFriendPreferences_Request& operator=(const CPlayer_GetPerFriendPreferences_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetPerFriendPreferences_Request& operator=(CPlayer_GetPerFriendPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetPerFriendPreferences_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetPerFriendPreferences_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetPerFriendPreferences_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CPlayer_GetPerFriendPreferences_Request& a, CPlayer_GetPerFriendPreferences_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetPerFriendPreferences_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(CPlayer_GetPerFriendPreferences_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetPerFriendPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_GetPerFriendPreferences_Request& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_GetPerFriendPreferences_Request& 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 "CPlayer_GetPerFriendPreferences_Request"; + } + protected: + explicit CPlayer_GetPerFriendPreferences_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_GetPerFriendPreferences_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PerFriendPreferences final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PerFriendPreferences) */ { + public: + inline PerFriendPreferences() : PerFriendPreferences(nullptr) {} + ~PerFriendPreferences() override; + explicit PROTOBUF_CONSTEXPR PerFriendPreferences(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PerFriendPreferences(const PerFriendPreferences& from); + PerFriendPreferences(PerFriendPreferences&& from) noexcept + : PerFriendPreferences() { + *this = ::std::move(from); + } + + inline PerFriendPreferences& operator=(const PerFriendPreferences& from) { + CopyFrom(from); + return *this; + } + inline PerFriendPreferences& operator=(PerFriendPreferences&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PerFriendPreferences& default_instance() { + return *internal_default_instance(); + } + static inline const PerFriendPreferences* internal_default_instance() { + return reinterpret_cast( + &_PerFriendPreferences_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(PerFriendPreferences& a, PerFriendPreferences& b) { + a.Swap(&b); + } + inline void Swap(PerFriendPreferences* 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(PerFriendPreferences* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PerFriendPreferences* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PerFriendPreferences& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PerFriendPreferences& from) { + PerFriendPreferences::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(PerFriendPreferences* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PerFriendPreferences"; + } + protected: + explicit PerFriendPreferences(::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 { + kNicknameFieldNumber = 2, + kAccountidFieldNumber = 1, + kNotificationsShowingameFieldNumber = 3, + kNotificationsShowonlineFieldNumber = 4, + kNotificationsShowmessagesFieldNumber = 5, + kSoundsShowingameFieldNumber = 6, + kSoundsShowonlineFieldNumber = 7, + kSoundsShowmessagesFieldNumber = 8, + kNotificationsSendmobileFieldNumber = 9, + }; + // optional string nickname = 2; + bool has_nickname() const; + private: + bool _internal_has_nickname() const; + public: + void clear_nickname(); + const std::string& nickname() const; + template + void set_nickname(ArgT0&& arg0, ArgT... args); + std::string* mutable_nickname(); + PROTOBUF_NODISCARD std::string* release_nickname(); + void set_allocated_nickname(std::string* nickname); + private: + const std::string& _internal_nickname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nickname(const std::string& value); + std::string* _internal_mutable_nickname(); + public: + + // optional fixed32 accountid = 1; + bool has_accountid() const; + private: + bool _internal_has_accountid() const; + public: + void clear_accountid(); + uint32_t accountid() const; + void set_accountid(uint32_t value); + private: + uint32_t _internal_accountid() const; + void _internal_set_accountid(uint32_t value); + public: + + // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_notifications_showingame() const; + private: + bool _internal_has_notifications_showingame() const; + public: + void clear_notifications_showingame(); + ::ENotificationSetting notifications_showingame() const; + void set_notifications_showingame(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_notifications_showingame() const; + void _internal_set_notifications_showingame(::ENotificationSetting value); + public: + + // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_notifications_showonline() const; + private: + bool _internal_has_notifications_showonline() const; + public: + void clear_notifications_showonline(); + ::ENotificationSetting notifications_showonline() const; + void set_notifications_showonline(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_notifications_showonline() const; + void _internal_set_notifications_showonline(::ENotificationSetting value); + public: + + // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_notifications_showmessages() const; + private: + bool _internal_has_notifications_showmessages() const; + public: + void clear_notifications_showmessages(); + ::ENotificationSetting notifications_showmessages() const; + void set_notifications_showmessages(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_notifications_showmessages() const; + void _internal_set_notifications_showmessages(::ENotificationSetting value); + public: + + // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_sounds_showingame() const; + private: + bool _internal_has_sounds_showingame() const; + public: + void clear_sounds_showingame(); + ::ENotificationSetting sounds_showingame() const; + void set_sounds_showingame(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_sounds_showingame() const; + void _internal_set_sounds_showingame(::ENotificationSetting value); + public: + + // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_sounds_showonline() const; + private: + bool _internal_has_sounds_showonline() const; + public: + void clear_sounds_showonline(); + ::ENotificationSetting sounds_showonline() const; + void set_sounds_showonline(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_sounds_showonline() const; + void _internal_set_sounds_showonline(::ENotificationSetting value); + public: + + // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_sounds_showmessages() const; + private: + bool _internal_has_sounds_showmessages() const; + public: + void clear_sounds_showmessages(); + ::ENotificationSetting sounds_showmessages() const; + void set_sounds_showmessages(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_sounds_showmessages() const; + void _internal_set_sounds_showmessages(::ENotificationSetting value); + public: + + // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; + bool has_notifications_sendmobile() const; + private: + bool _internal_has_notifications_sendmobile() const; + public: + void clear_notifications_sendmobile(); + ::ENotificationSetting notifications_sendmobile() const; + void set_notifications_sendmobile(::ENotificationSetting value); + private: + ::ENotificationSetting _internal_notifications_sendmobile() const; + void _internal_set_notifications_sendmobile(::ENotificationSetting value); + public: + + // @@protoc_insertion_point(class_scope:PerFriendPreferences) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nickname_; + uint32_t accountid_; + int notifications_showingame_; + int notifications_showonline_; + int notifications_showmessages_; + int sounds_showingame_; + int sounds_showonline_; + int sounds_showmessages_; + int notifications_sendmobile_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetPerFriendPreferences_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetPerFriendPreferences_Response) */ { + public: + inline CPlayer_GetPerFriendPreferences_Response() : CPlayer_GetPerFriendPreferences_Response(nullptr) {} + ~CPlayer_GetPerFriendPreferences_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetPerFriendPreferences_Response(const CPlayer_GetPerFriendPreferences_Response& from); + CPlayer_GetPerFriendPreferences_Response(CPlayer_GetPerFriendPreferences_Response&& from) noexcept + : CPlayer_GetPerFriendPreferences_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetPerFriendPreferences_Response& operator=(const CPlayer_GetPerFriendPreferences_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetPerFriendPreferences_Response& operator=(CPlayer_GetPerFriendPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetPerFriendPreferences_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetPerFriendPreferences_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetPerFriendPreferences_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CPlayer_GetPerFriendPreferences_Response& a, CPlayer_GetPerFriendPreferences_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetPerFriendPreferences_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(CPlayer_GetPerFriendPreferences_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetPerFriendPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetPerFriendPreferences_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetPerFriendPreferences_Response& from) { + CPlayer_GetPerFriendPreferences_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(CPlayer_GetPerFriendPreferences_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetPerFriendPreferences_Response"; + } + protected: + explicit CPlayer_GetPerFriendPreferences_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 { + kPreferencesFieldNumber = 1, + }; + // repeated .PerFriendPreferences preferences = 1; + int preferences_size() const; + private: + int _internal_preferences_size() const; + public: + void clear_preferences(); + ::PerFriendPreferences* mutable_preferences(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >* + mutable_preferences(); + private: + const ::PerFriendPreferences& _internal_preferences(int index) const; + ::PerFriendPreferences* _internal_add_preferences(); + public: + const ::PerFriendPreferences& preferences(int index) const; + ::PerFriendPreferences* add_preferences(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >& + preferences() const; + + // @@protoc_insertion_point(class_scope:CPlayer_GetPerFriendPreferences_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences > preferences_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_SetPerFriendPreferences_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_SetPerFriendPreferences_Request) */ { + public: + inline CPlayer_SetPerFriendPreferences_Request() : CPlayer_SetPerFriendPreferences_Request(nullptr) {} + ~CPlayer_SetPerFriendPreferences_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_SetPerFriendPreferences_Request(const CPlayer_SetPerFriendPreferences_Request& from); + CPlayer_SetPerFriendPreferences_Request(CPlayer_SetPerFriendPreferences_Request&& from) noexcept + : CPlayer_SetPerFriendPreferences_Request() { + *this = ::std::move(from); + } + + inline CPlayer_SetPerFriendPreferences_Request& operator=(const CPlayer_SetPerFriendPreferences_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_SetPerFriendPreferences_Request& operator=(CPlayer_SetPerFriendPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_SetPerFriendPreferences_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_SetPerFriendPreferences_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_SetPerFriendPreferences_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CPlayer_SetPerFriendPreferences_Request& a, CPlayer_SetPerFriendPreferences_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_SetPerFriendPreferences_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(CPlayer_SetPerFriendPreferences_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_SetPerFriendPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_SetPerFriendPreferences_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_SetPerFriendPreferences_Request& from) { + CPlayer_SetPerFriendPreferences_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(CPlayer_SetPerFriendPreferences_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_SetPerFriendPreferences_Request"; + } + protected: + explicit CPlayer_SetPerFriendPreferences_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 { + kPreferencesFieldNumber = 1, + }; + // optional .PerFriendPreferences preferences = 1; + bool has_preferences() const; + private: + bool _internal_has_preferences() const; + public: + void clear_preferences(); + const ::PerFriendPreferences& preferences() const; + PROTOBUF_NODISCARD ::PerFriendPreferences* release_preferences(); + ::PerFriendPreferences* mutable_preferences(); + void set_allocated_preferences(::PerFriendPreferences* preferences); + private: + const ::PerFriendPreferences& _internal_preferences() const; + ::PerFriendPreferences* _internal_mutable_preferences(); + public: + void unsafe_arena_set_allocated_preferences( + ::PerFriendPreferences* preferences); + ::PerFriendPreferences* unsafe_arena_release_preferences(); + + // @@protoc_insertion_point(class_scope:CPlayer_SetPerFriendPreferences_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PerFriendPreferences* preferences_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_SetPerFriendPreferences_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_SetPerFriendPreferences_Response) */ { + public: + inline CPlayer_SetPerFriendPreferences_Response() : CPlayer_SetPerFriendPreferences_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_SetPerFriendPreferences_Response(const CPlayer_SetPerFriendPreferences_Response& from); + CPlayer_SetPerFriendPreferences_Response(CPlayer_SetPerFriendPreferences_Response&& from) noexcept + : CPlayer_SetPerFriendPreferences_Response() { + *this = ::std::move(from); + } + + inline CPlayer_SetPerFriendPreferences_Response& operator=(const CPlayer_SetPerFriendPreferences_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_SetPerFriendPreferences_Response& operator=(CPlayer_SetPerFriendPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_SetPerFriendPreferences_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_SetPerFriendPreferences_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_SetPerFriendPreferences_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CPlayer_SetPerFriendPreferences_Response& a, CPlayer_SetPerFriendPreferences_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_SetPerFriendPreferences_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(CPlayer_SetPerFriendPreferences_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_SetPerFriendPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_SetPerFriendPreferences_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_SetPerFriendPreferences_Response& 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 "CPlayer_SetPerFriendPreferences_Response"; + } + protected: + explicit CPlayer_SetPerFriendPreferences_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_SetPerFriendPreferences_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_AddFriend_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_AddFriend_Request) */ { + public: + inline CPlayer_AddFriend_Request() : CPlayer_AddFriend_Request(nullptr) {} + ~CPlayer_AddFriend_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_AddFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_AddFriend_Request(const CPlayer_AddFriend_Request& from); + CPlayer_AddFriend_Request(CPlayer_AddFriend_Request&& from) noexcept + : CPlayer_AddFriend_Request() { + *this = ::std::move(from); + } + + inline CPlayer_AddFriend_Request& operator=(const CPlayer_AddFriend_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_AddFriend_Request& operator=(CPlayer_AddFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_AddFriend_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_AddFriend_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_AddFriend_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CPlayer_AddFriend_Request& a, CPlayer_AddFriend_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_AddFriend_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(CPlayer_AddFriend_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_AddFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_AddFriend_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_AddFriend_Request& from) { + CPlayer_AddFriend_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(CPlayer_AddFriend_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_AddFriend_Request"; + } + protected: + explicit CPlayer_AddFriend_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 { + kSteamidFieldNumber = 1, + }; + // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_AddFriend_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_AddFriend_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_AddFriend_Response) */ { + public: + inline CPlayer_AddFriend_Response() : CPlayer_AddFriend_Response(nullptr) {} + ~CPlayer_AddFriend_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_AddFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_AddFriend_Response(const CPlayer_AddFriend_Response& from); + CPlayer_AddFriend_Response(CPlayer_AddFriend_Response&& from) noexcept + : CPlayer_AddFriend_Response() { + *this = ::std::move(from); + } + + inline CPlayer_AddFriend_Response& operator=(const CPlayer_AddFriend_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_AddFriend_Response& operator=(CPlayer_AddFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_AddFriend_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_AddFriend_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_AddFriend_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CPlayer_AddFriend_Response& a, CPlayer_AddFriend_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_AddFriend_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(CPlayer_AddFriend_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_AddFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_AddFriend_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_AddFriend_Response& from) { + CPlayer_AddFriend_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(CPlayer_AddFriend_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_AddFriend_Response"; + } + protected: + explicit CPlayer_AddFriend_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 { + kInviteSentFieldNumber = 1, + kFriendRelationshipFieldNumber = 2, + }; + // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; + bool has_invite_sent() const; + private: + bool _internal_has_invite_sent() const; + public: + void clear_invite_sent(); + bool invite_sent() const; + void set_invite_sent(bool value); + private: + bool _internal_invite_sent() const; + void _internal_set_invite_sent(bool value); + public: + + // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; + bool has_friend_relationship() const; + private: + bool _internal_has_friend_relationship() const; + public: + void clear_friend_relationship(); + uint32_t friend_relationship() const; + void set_friend_relationship(uint32_t value); + private: + uint32_t _internal_friend_relationship() const; + void _internal_set_friend_relationship(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_AddFriend_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool invite_sent_; + uint32_t friend_relationship_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_RemoveFriend_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_RemoveFriend_Request) */ { + public: + inline CPlayer_RemoveFriend_Request() : CPlayer_RemoveFriend_Request(nullptr) {} + ~CPlayer_RemoveFriend_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_RemoveFriend_Request(const CPlayer_RemoveFriend_Request& from); + CPlayer_RemoveFriend_Request(CPlayer_RemoveFriend_Request&& from) noexcept + : CPlayer_RemoveFriend_Request() { + *this = ::std::move(from); + } + + inline CPlayer_RemoveFriend_Request& operator=(const CPlayer_RemoveFriend_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_RemoveFriend_Request& operator=(CPlayer_RemoveFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_RemoveFriend_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_RemoveFriend_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_RemoveFriend_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CPlayer_RemoveFriend_Request& a, CPlayer_RemoveFriend_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_RemoveFriend_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(CPlayer_RemoveFriend_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_RemoveFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_RemoveFriend_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_RemoveFriend_Request& from) { + CPlayer_RemoveFriend_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(CPlayer_RemoveFriend_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_RemoveFriend_Request"; + } + protected: + explicit CPlayer_RemoveFriend_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 { + kSteamidFieldNumber = 1, + }; + // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_RemoveFriend_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_RemoveFriend_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_RemoveFriend_Response) */ { + public: + inline CPlayer_RemoveFriend_Response() : CPlayer_RemoveFriend_Response(nullptr) {} + ~CPlayer_RemoveFriend_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_RemoveFriend_Response(const CPlayer_RemoveFriend_Response& from); + CPlayer_RemoveFriend_Response(CPlayer_RemoveFriend_Response&& from) noexcept + : CPlayer_RemoveFriend_Response() { + *this = ::std::move(from); + } + + inline CPlayer_RemoveFriend_Response& operator=(const CPlayer_RemoveFriend_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_RemoveFriend_Response& operator=(CPlayer_RemoveFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_RemoveFriend_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_RemoveFriend_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_RemoveFriend_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CPlayer_RemoveFriend_Response& a, CPlayer_RemoveFriend_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_RemoveFriend_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(CPlayer_RemoveFriend_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_RemoveFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_RemoveFriend_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_RemoveFriend_Response& from) { + CPlayer_RemoveFriend_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(CPlayer_RemoveFriend_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_RemoveFriend_Response"; + } + protected: + explicit CPlayer_RemoveFriend_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 { + kFriendRelationshipFieldNumber = 1, + }; + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + bool has_friend_relationship() const; + private: + bool _internal_has_friend_relationship() const; + public: + void clear_friend_relationship(); + uint32_t friend_relationship() const; + void set_friend_relationship(uint32_t value); + private: + uint32_t _internal_friend_relationship() const; + void _internal_set_friend_relationship(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_RemoveFriend_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t friend_relationship_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_IgnoreFriend_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IgnoreFriend_Request) */ { + public: + inline CPlayer_IgnoreFriend_Request() : CPlayer_IgnoreFriend_Request(nullptr) {} + ~CPlayer_IgnoreFriend_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_IgnoreFriend_Request(const CPlayer_IgnoreFriend_Request& from); + CPlayer_IgnoreFriend_Request(CPlayer_IgnoreFriend_Request&& from) noexcept + : CPlayer_IgnoreFriend_Request() { + *this = ::std::move(from); + } + + inline CPlayer_IgnoreFriend_Request& operator=(const CPlayer_IgnoreFriend_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_IgnoreFriend_Request& operator=(CPlayer_IgnoreFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_IgnoreFriend_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_IgnoreFriend_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_IgnoreFriend_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CPlayer_IgnoreFriend_Request& a, CPlayer_IgnoreFriend_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_IgnoreFriend_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(CPlayer_IgnoreFriend_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_IgnoreFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_IgnoreFriend_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_IgnoreFriend_Request& from) { + CPlayer_IgnoreFriend_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(CPlayer_IgnoreFriend_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_IgnoreFriend_Request"; + } + protected: + explicit CPlayer_IgnoreFriend_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 { + kSteamidFieldNumber = 1, + kUnignoreFieldNumber = 2, + }; + // optional fixed64 steamid = 1; + bool has_steamid() const; + private: + bool _internal_has_steamid() const; + public: + void clear_steamid(); + uint64_t steamid() const; + void set_steamid(uint64_t value); + private: + uint64_t _internal_steamid() const; + void _internal_set_steamid(uint64_t value); + public: + + // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; + bool has_unignore() const; + private: + bool _internal_has_unignore() const; + public: + void clear_unignore(); + bool unignore() const; + void set_unignore(bool value); + private: + bool _internal_unignore() const; + void _internal_set_unignore(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_IgnoreFriend_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t steamid_; + bool unignore_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_IgnoreFriend_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IgnoreFriend_Response) */ { + public: + inline CPlayer_IgnoreFriend_Response() : CPlayer_IgnoreFriend_Response(nullptr) {} + ~CPlayer_IgnoreFriend_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_IgnoreFriend_Response(const CPlayer_IgnoreFriend_Response& from); + CPlayer_IgnoreFriend_Response(CPlayer_IgnoreFriend_Response&& from) noexcept + : CPlayer_IgnoreFriend_Response() { + *this = ::std::move(from); + } + + inline CPlayer_IgnoreFriend_Response& operator=(const CPlayer_IgnoreFriend_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_IgnoreFriend_Response& operator=(CPlayer_IgnoreFriend_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_IgnoreFriend_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_IgnoreFriend_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_IgnoreFriend_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CPlayer_IgnoreFriend_Response& a, CPlayer_IgnoreFriend_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_IgnoreFriend_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(CPlayer_IgnoreFriend_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_IgnoreFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_IgnoreFriend_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_IgnoreFriend_Response& from) { + CPlayer_IgnoreFriend_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(CPlayer_IgnoreFriend_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_IgnoreFriend_Response"; + } + protected: + explicit CPlayer_IgnoreFriend_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 { + kFriendRelationshipFieldNumber = 1, + }; + // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; + bool has_friend_relationship() const; + private: + bool _internal_has_friend_relationship() const; + public: + void clear_friend_relationship(); + uint32_t friend_relationship() const; + void set_friend_relationship(uint32_t value); + private: + uint32_t _internal_friend_relationship() const; + void _internal_set_friend_relationship(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_IgnoreFriend_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t friend_relationship_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetCommunityPreferences_Request final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetCommunityPreferences_Request) */ { + public: + inline CPlayer_GetCommunityPreferences_Request() : CPlayer_GetCommunityPreferences_Request(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetCommunityPreferences_Request(const CPlayer_GetCommunityPreferences_Request& from); + CPlayer_GetCommunityPreferences_Request(CPlayer_GetCommunityPreferences_Request&& from) noexcept + : CPlayer_GetCommunityPreferences_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetCommunityPreferences_Request& operator=(const CPlayer_GetCommunityPreferences_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetCommunityPreferences_Request& operator=(CPlayer_GetCommunityPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetCommunityPreferences_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetCommunityPreferences_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetCommunityPreferences_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CPlayer_GetCommunityPreferences_Request& a, CPlayer_GetCommunityPreferences_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetCommunityPreferences_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(CPlayer_GetCommunityPreferences_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetCommunityPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_GetCommunityPreferences_Request& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_GetCommunityPreferences_Request& 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 "CPlayer_GetCommunityPreferences_Request"; + } + protected: + explicit CPlayer_GetCommunityPreferences_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_GetCommunityPreferences_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_CommunityPreferences final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_CommunityPreferences) */ { + public: + inline CPlayer_CommunityPreferences() : CPlayer_CommunityPreferences(nullptr) {} + ~CPlayer_CommunityPreferences() override; + explicit PROTOBUF_CONSTEXPR CPlayer_CommunityPreferences(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_CommunityPreferences(const CPlayer_CommunityPreferences& from); + CPlayer_CommunityPreferences(CPlayer_CommunityPreferences&& from) noexcept + : CPlayer_CommunityPreferences() { + *this = ::std::move(from); + } + + inline CPlayer_CommunityPreferences& operator=(const CPlayer_CommunityPreferences& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_CommunityPreferences& operator=(CPlayer_CommunityPreferences&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_CommunityPreferences& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_CommunityPreferences* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_CommunityPreferences_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CPlayer_CommunityPreferences& a, CPlayer_CommunityPreferences& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_CommunityPreferences* 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(CPlayer_CommunityPreferences* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_CommunityPreferences* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_CommunityPreferences& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_CommunityPreferences& from) { + CPlayer_CommunityPreferences::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(CPlayer_CommunityPreferences* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_CommunityPreferences"; + } + protected: + explicit CPlayer_CommunityPreferences(::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 { + kTimestampUpdatedFieldNumber = 3, + kParenthesizeNicknamesFieldNumber = 4, + kHideAdultContentViolenceFieldNumber = 1, + kHideAdultContentSexFieldNumber = 2, + }; + // optional uint32 timestamp_updated = 3; + bool has_timestamp_updated() const; + private: + bool _internal_has_timestamp_updated() const; + public: + void clear_timestamp_updated(); + uint32_t timestamp_updated() const; + void set_timestamp_updated(uint32_t value); + private: + uint32_t _internal_timestamp_updated() const; + void _internal_set_timestamp_updated(uint32_t value); + public: + + // optional bool parenthesize_nicknames = 4 [default = false]; + bool has_parenthesize_nicknames() const; + private: + bool _internal_has_parenthesize_nicknames() const; + public: + void clear_parenthesize_nicknames(); + bool parenthesize_nicknames() const; + void set_parenthesize_nicknames(bool value); + private: + bool _internal_parenthesize_nicknames() const; + void _internal_set_parenthesize_nicknames(bool value); + public: + + // optional bool hide_adult_content_violence = 1 [default = true]; + bool has_hide_adult_content_violence() const; + private: + bool _internal_has_hide_adult_content_violence() const; + public: + void clear_hide_adult_content_violence(); + bool hide_adult_content_violence() const; + void set_hide_adult_content_violence(bool value); + private: + bool _internal_hide_adult_content_violence() const; + void _internal_set_hide_adult_content_violence(bool value); + public: + + // optional bool hide_adult_content_sex = 2 [default = true]; + bool has_hide_adult_content_sex() const; + private: + bool _internal_has_hide_adult_content_sex() const; + public: + void clear_hide_adult_content_sex(); + bool hide_adult_content_sex() const; + void set_hide_adult_content_sex(bool value); + private: + bool _internal_hide_adult_content_sex() const; + void _internal_set_hide_adult_content_sex(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_CommunityPreferences) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t timestamp_updated_; + bool parenthesize_nicknames_; + bool hide_adult_content_violence_; + bool hide_adult_content_sex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetCommunityPreferences_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetCommunityPreferences_Response) */ { + public: + inline CPlayer_GetCommunityPreferences_Response() : CPlayer_GetCommunityPreferences_Response(nullptr) {} + ~CPlayer_GetCommunityPreferences_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetCommunityPreferences_Response(const CPlayer_GetCommunityPreferences_Response& from); + CPlayer_GetCommunityPreferences_Response(CPlayer_GetCommunityPreferences_Response&& from) noexcept + : CPlayer_GetCommunityPreferences_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetCommunityPreferences_Response& operator=(const CPlayer_GetCommunityPreferences_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetCommunityPreferences_Response& operator=(CPlayer_GetCommunityPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetCommunityPreferences_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetCommunityPreferences_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetCommunityPreferences_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CPlayer_GetCommunityPreferences_Response& a, CPlayer_GetCommunityPreferences_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetCommunityPreferences_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(CPlayer_GetCommunityPreferences_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetCommunityPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetCommunityPreferences_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetCommunityPreferences_Response& from) { + CPlayer_GetCommunityPreferences_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(CPlayer_GetCommunityPreferences_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetCommunityPreferences_Response"; + } + protected: + explicit CPlayer_GetCommunityPreferences_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 { + kPreferencesFieldNumber = 1, + }; + // optional .CPlayer_CommunityPreferences preferences = 1; + bool has_preferences() const; + private: + bool _internal_has_preferences() const; + public: + void clear_preferences(); + const ::CPlayer_CommunityPreferences& preferences() const; + PROTOBUF_NODISCARD ::CPlayer_CommunityPreferences* release_preferences(); + ::CPlayer_CommunityPreferences* mutable_preferences(); + void set_allocated_preferences(::CPlayer_CommunityPreferences* preferences); + private: + const ::CPlayer_CommunityPreferences& _internal_preferences() const; + ::CPlayer_CommunityPreferences* _internal_mutable_preferences(); + public: + void unsafe_arena_set_allocated_preferences( + ::CPlayer_CommunityPreferences* preferences); + ::CPlayer_CommunityPreferences* unsafe_arena_release_preferences(); + + // @@protoc_insertion_point(class_scope:CPlayer_GetCommunityPreferences_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CPlayer_CommunityPreferences* preferences_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_SetCommunityPreferences_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_SetCommunityPreferences_Request) */ { + public: + inline CPlayer_SetCommunityPreferences_Request() : CPlayer_SetCommunityPreferences_Request(nullptr) {} + ~CPlayer_SetCommunityPreferences_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_SetCommunityPreferences_Request(const CPlayer_SetCommunityPreferences_Request& from); + CPlayer_SetCommunityPreferences_Request(CPlayer_SetCommunityPreferences_Request&& from) noexcept + : CPlayer_SetCommunityPreferences_Request() { + *this = ::std::move(from); + } + + inline CPlayer_SetCommunityPreferences_Request& operator=(const CPlayer_SetCommunityPreferences_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_SetCommunityPreferences_Request& operator=(CPlayer_SetCommunityPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_SetCommunityPreferences_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_SetCommunityPreferences_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_SetCommunityPreferences_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CPlayer_SetCommunityPreferences_Request& a, CPlayer_SetCommunityPreferences_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_SetCommunityPreferences_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(CPlayer_SetCommunityPreferences_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_SetCommunityPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_SetCommunityPreferences_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_SetCommunityPreferences_Request& from) { + CPlayer_SetCommunityPreferences_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(CPlayer_SetCommunityPreferences_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_SetCommunityPreferences_Request"; + } + protected: + explicit CPlayer_SetCommunityPreferences_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 { + kPreferencesFieldNumber = 1, + }; + // optional .CPlayer_CommunityPreferences preferences = 1; + bool has_preferences() const; + private: + bool _internal_has_preferences() const; + public: + void clear_preferences(); + const ::CPlayer_CommunityPreferences& preferences() const; + PROTOBUF_NODISCARD ::CPlayer_CommunityPreferences* release_preferences(); + ::CPlayer_CommunityPreferences* mutable_preferences(); + void set_allocated_preferences(::CPlayer_CommunityPreferences* preferences); + private: + const ::CPlayer_CommunityPreferences& _internal_preferences() const; + ::CPlayer_CommunityPreferences* _internal_mutable_preferences(); + public: + void unsafe_arena_set_allocated_preferences( + ::CPlayer_CommunityPreferences* preferences); + ::CPlayer_CommunityPreferences* unsafe_arena_release_preferences(); + + // @@protoc_insertion_point(class_scope:CPlayer_SetCommunityPreferences_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CPlayer_CommunityPreferences* preferences_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_SetCommunityPreferences_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_SetCommunityPreferences_Response) */ { + public: + inline CPlayer_SetCommunityPreferences_Response() : CPlayer_SetCommunityPreferences_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_SetCommunityPreferences_Response(const CPlayer_SetCommunityPreferences_Response& from); + CPlayer_SetCommunityPreferences_Response(CPlayer_SetCommunityPreferences_Response&& from) noexcept + : CPlayer_SetCommunityPreferences_Response() { + *this = ::std::move(from); + } + + inline CPlayer_SetCommunityPreferences_Response& operator=(const CPlayer_SetCommunityPreferences_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_SetCommunityPreferences_Response& operator=(CPlayer_SetCommunityPreferences_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_SetCommunityPreferences_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_SetCommunityPreferences_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_SetCommunityPreferences_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CPlayer_SetCommunityPreferences_Response& a, CPlayer_SetCommunityPreferences_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_SetCommunityPreferences_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(CPlayer_SetCommunityPreferences_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_SetCommunityPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_SetCommunityPreferences_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_SetCommunityPreferences_Response& 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 "CPlayer_SetCommunityPreferences_Response"; + } + protected: + explicit CPlayer_SetCommunityPreferences_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_SetCommunityPreferences_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetNewSteamAnnouncementState_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNewSteamAnnouncementState_Request) */ { + public: + inline CPlayer_GetNewSteamAnnouncementState_Request() : CPlayer_GetNewSteamAnnouncementState_Request(nullptr) {} + ~CPlayer_GetNewSteamAnnouncementState_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetNewSteamAnnouncementState_Request(const CPlayer_GetNewSteamAnnouncementState_Request& from); + CPlayer_GetNewSteamAnnouncementState_Request(CPlayer_GetNewSteamAnnouncementState_Request&& from) noexcept + : CPlayer_GetNewSteamAnnouncementState_Request() { + *this = ::std::move(from); + } + + inline CPlayer_GetNewSteamAnnouncementState_Request& operator=(const CPlayer_GetNewSteamAnnouncementState_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetNewSteamAnnouncementState_Request& operator=(CPlayer_GetNewSteamAnnouncementState_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetNewSteamAnnouncementState_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetNewSteamAnnouncementState_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetNewSteamAnnouncementState_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CPlayer_GetNewSteamAnnouncementState_Request& a, CPlayer_GetNewSteamAnnouncementState_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetNewSteamAnnouncementState_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(CPlayer_GetNewSteamAnnouncementState_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetNewSteamAnnouncementState_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetNewSteamAnnouncementState_Request& from) { + CPlayer_GetNewSteamAnnouncementState_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(CPlayer_GetNewSteamAnnouncementState_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetNewSteamAnnouncementState_Request"; + } + protected: + explicit CPlayer_GetNewSteamAnnouncementState_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 { + kLanguageFieldNumber = 1, + }; + // optional int32 language = 1; + bool has_language() const; + private: + bool _internal_has_language() const; + public: + void clear_language(); + int32_t language() const; + void set_language(int32_t value); + private: + int32_t _internal_language() const; + void _internal_set_language(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetNewSteamAnnouncementState_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t language_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_GetNewSteamAnnouncementState_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNewSteamAnnouncementState_Response) */ { + public: + inline CPlayer_GetNewSteamAnnouncementState_Response() : CPlayer_GetNewSteamAnnouncementState_Response(nullptr) {} + ~CPlayer_GetNewSteamAnnouncementState_Response() override; + explicit PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_GetNewSteamAnnouncementState_Response(const CPlayer_GetNewSteamAnnouncementState_Response& from); + CPlayer_GetNewSteamAnnouncementState_Response(CPlayer_GetNewSteamAnnouncementState_Response&& from) noexcept + : CPlayer_GetNewSteamAnnouncementState_Response() { + *this = ::std::move(from); + } + + inline CPlayer_GetNewSteamAnnouncementState_Response& operator=(const CPlayer_GetNewSteamAnnouncementState_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_GetNewSteamAnnouncementState_Response& operator=(CPlayer_GetNewSteamAnnouncementState_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_GetNewSteamAnnouncementState_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_GetNewSteamAnnouncementState_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_GetNewSteamAnnouncementState_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CPlayer_GetNewSteamAnnouncementState_Response& a, CPlayer_GetNewSteamAnnouncementState_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_GetNewSteamAnnouncementState_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(CPlayer_GetNewSteamAnnouncementState_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_GetNewSteamAnnouncementState_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_GetNewSteamAnnouncementState_Response& from) { + CPlayer_GetNewSteamAnnouncementState_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(CPlayer_GetNewSteamAnnouncementState_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_GetNewSteamAnnouncementState_Response"; + } + protected: + explicit CPlayer_GetNewSteamAnnouncementState_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 { + kAnnouncementHeadlineFieldNumber = 2, + kAnnouncementUrlFieldNumber = 3, + kStateFieldNumber = 1, + kTimePostedFieldNumber = 4, + kAnnouncementGidFieldNumber = 5, + }; + // optional string announcement_headline = 2; + bool has_announcement_headline() const; + private: + bool _internal_has_announcement_headline() const; + public: + void clear_announcement_headline(); + const std::string& announcement_headline() const; + template + void set_announcement_headline(ArgT0&& arg0, ArgT... args); + std::string* mutable_announcement_headline(); + PROTOBUF_NODISCARD std::string* release_announcement_headline(); + void set_allocated_announcement_headline(std::string* announcement_headline); + private: + const std::string& _internal_announcement_headline() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_headline(const std::string& value); + std::string* _internal_mutable_announcement_headline(); + public: + + // optional string announcement_url = 3; + bool has_announcement_url() const; + private: + bool _internal_has_announcement_url() const; + public: + void clear_announcement_url(); + const std::string& announcement_url() const; + template + void set_announcement_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_announcement_url(); + PROTOBUF_NODISCARD std::string* release_announcement_url(); + void set_allocated_announcement_url(std::string* announcement_url); + private: + const std::string& _internal_announcement_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_url(const std::string& value); + std::string* _internal_mutable_announcement_url(); + public: + + // optional int32 state = 1; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + int32_t state() const; + void set_state(int32_t value); + private: + int32_t _internal_state() const; + void _internal_set_state(int32_t value); + public: + + // optional uint32 time_posted = 4; + bool has_time_posted() const; + private: + bool _internal_has_time_posted() const; + public: + void clear_time_posted(); + uint32_t time_posted() const; + void set_time_posted(uint32_t value); + private: + uint32_t _internal_time_posted() const; + void _internal_set_time_posted(uint32_t value); + public: + + // optional uint64 announcement_gid = 5; + bool has_announcement_gid() const; + private: + bool _internal_has_announcement_gid() const; + public: + void clear_announcement_gid(); + uint64_t announcement_gid() const; + void set_announcement_gid(uint64_t value); + private: + uint64_t _internal_announcement_gid() const; + void _internal_set_announcement_gid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_GetNewSteamAnnouncementState_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_headline_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_url_; + int32_t state_; + uint32_t time_posted_; + uint64_t announcement_gid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_UpdateSteamAnnouncementLastRead_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_UpdateSteamAnnouncementLastRead_Request) */ { + public: + inline CPlayer_UpdateSteamAnnouncementLastRead_Request() : CPlayer_UpdateSteamAnnouncementLastRead_Request(nullptr) {} + ~CPlayer_UpdateSteamAnnouncementLastRead_Request() override; + explicit PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_UpdateSteamAnnouncementLastRead_Request(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from); + CPlayer_UpdateSteamAnnouncementLastRead_Request(CPlayer_UpdateSteamAnnouncementLastRead_Request&& from) noexcept + : CPlayer_UpdateSteamAnnouncementLastRead_Request() { + *this = ::std::move(from); + } + + inline CPlayer_UpdateSteamAnnouncementLastRead_Request& operator=(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_UpdateSteamAnnouncementLastRead_Request& operator=(CPlayer_UpdateSteamAnnouncementLastRead_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_UpdateSteamAnnouncementLastRead_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_UpdateSteamAnnouncementLastRead_Request* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CPlayer_UpdateSteamAnnouncementLastRead_Request& a, CPlayer_UpdateSteamAnnouncementLastRead_Request& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_UpdateSteamAnnouncementLastRead_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(CPlayer_UpdateSteamAnnouncementLastRead_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_UpdateSteamAnnouncementLastRead_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { + CPlayer_UpdateSteamAnnouncementLastRead_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(CPlayer_UpdateSteamAnnouncementLastRead_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPlayer_UpdateSteamAnnouncementLastRead_Request"; + } + protected: + explicit CPlayer_UpdateSteamAnnouncementLastRead_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 { + kAnnouncementGidFieldNumber = 1, + kTimePostedFieldNumber = 2, + }; + // optional uint64 announcement_gid = 1; + bool has_announcement_gid() const; + private: + bool _internal_has_announcement_gid() const; + public: + void clear_announcement_gid(); + uint64_t announcement_gid() const; + void set_announcement_gid(uint64_t value); + private: + uint64_t _internal_announcement_gid() const; + void _internal_set_announcement_gid(uint64_t value); + public: + + // optional uint32 time_posted = 2; + bool has_time_posted() const; + private: + bool _internal_has_time_posted() const; + public: + void clear_time_posted(); + uint32_t time_posted() const; + void set_time_posted(uint32_t value); + private: + uint32_t _internal_time_posted() const; + void _internal_set_time_posted(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPlayer_UpdateSteamAnnouncementLastRead_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t announcement_gid_; + uint32_t time_posted_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPlayer_UpdateSteamAnnouncementLastRead_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_UpdateSteamAnnouncementLastRead_Response) */ { + public: + inline CPlayer_UpdateSteamAnnouncementLastRead_Response() : CPlayer_UpdateSteamAnnouncementLastRead_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPlayer_UpdateSteamAnnouncementLastRead_Response(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from); + CPlayer_UpdateSteamAnnouncementLastRead_Response(CPlayer_UpdateSteamAnnouncementLastRead_Response&& from) noexcept + : CPlayer_UpdateSteamAnnouncementLastRead_Response() { + *this = ::std::move(from); + } + + inline CPlayer_UpdateSteamAnnouncementLastRead_Response& operator=(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) { + CopyFrom(from); + return *this; + } + inline CPlayer_UpdateSteamAnnouncementLastRead_Response& operator=(CPlayer_UpdateSteamAnnouncementLastRead_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPlayer_UpdateSteamAnnouncementLastRead_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPlayer_UpdateSteamAnnouncementLastRead_Response* internal_default_instance() { + return reinterpret_cast( + &_CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CPlayer_UpdateSteamAnnouncementLastRead_Response& a, CPlayer_UpdateSteamAnnouncementLastRead_Response& b) { + a.Swap(&b); + } + inline void Swap(CPlayer_UpdateSteamAnnouncementLastRead_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(CPlayer_UpdateSteamAnnouncementLastRead_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPlayer_UpdateSteamAnnouncementLastRead_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Response& 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 "CPlayer_UpdateSteamAnnouncementLastRead_Response"; + } + protected: + explicit CPlayer_UpdateSteamAnnouncementLastRead_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPlayer_UpdateSteamAnnouncementLastRead_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; +}; +// =================================================================== + +class Player_Stub; + +class Player : public ::PROTOBUF_NAMESPACE_ID::Service { + protected: + // This class should be treated as an abstract interface. + inline Player() {}; + public: + virtual ~Player(); + + typedef Player_Stub Stub; + + static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); + + virtual void GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, + ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, + ::google::protobuf::Closure* done); + virtual void GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetFriendsGameplayInfo_Request* request, + ::CPlayer_GetFriendsGameplayInfo_Response* response, + ::google::protobuf::Closure* done); + virtual void GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetGameBadgeLevels_Request* request, + ::CPlayer_GetGameBadgeLevels_Response* response, + ::google::protobuf::Closure* done); + virtual void ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetLastPlayedTimes_Request* request, + ::CPlayer_GetLastPlayedTimes_Response* response, + ::google::protobuf::Closure* done); + virtual void AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AcceptSSA_Request* request, + ::CPlayer_AcceptSSA_Response* response, + ::google::protobuf::Closure* done); + virtual void GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNicknameList_Request* request, + ::CPlayer_GetNicknameList_Response* response, + ::google::protobuf::Closure* done); + virtual void GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetPerFriendPreferences_Request* request, + ::CPlayer_GetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done); + virtual void SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetPerFriendPreferences_Request* request, + ::CPlayer_SetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done); + virtual void AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AddFriend_Request* request, + ::CPlayer_AddFriend_Response* response, + ::google::protobuf::Closure* done); + virtual void RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_RemoveFriend_Request* request, + ::CPlayer_RemoveFriend_Response* response, + ::google::protobuf::Closure* done); + virtual void IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_IgnoreFriend_Request* request, + ::CPlayer_IgnoreFriend_Response* response, + ::google::protobuf::Closure* done); + virtual void GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetCommunityPreferences_Request* request, + ::CPlayer_GetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done); + virtual void SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetCommunityPreferences_Request* request, + ::CPlayer_SetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done); + virtual void GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNewSteamAnnouncementState_Request* request, + ::CPlayer_GetNewSteamAnnouncementState_Response* response, + ::google::protobuf::Closure* done); + virtual void UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, + ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, + ::google::protobuf::Closure* done); + + // implements Service ---------------------------------------------- + + const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); + void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, + ::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::PROTOBUF_NAMESPACE_ID::Message* request, + ::PROTOBUF_NAMESPACE_ID::Message* response, + ::google::protobuf::Closure* done); + const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; + const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( + const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Player); +}; + +class Player_Stub : public Player { + public: + Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); + Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, + ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); + ~Player_Stub(); + + inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } + + // implements Player ------------------------------------------ + + void GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, + ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, + ::google::protobuf::Closure* done); + void GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetFriendsGameplayInfo_Request* request, + ::CPlayer_GetFriendsGameplayInfo_Response* response, + ::google::protobuf::Closure* done); + void GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetGameBadgeLevels_Request* request, + ::CPlayer_GetGameBadgeLevels_Response* response, + ::google::protobuf::Closure* done); + void ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetLastPlayedTimes_Request* request, + ::CPlayer_GetLastPlayedTimes_Response* response, + ::google::protobuf::Closure* done); + void AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AcceptSSA_Request* request, + ::CPlayer_AcceptSSA_Response* response, + ::google::protobuf::Closure* done); + void GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNicknameList_Request* request, + ::CPlayer_GetNicknameList_Response* response, + ::google::protobuf::Closure* done); + void GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetPerFriendPreferences_Request* request, + ::CPlayer_GetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done); + void SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetPerFriendPreferences_Request* request, + ::CPlayer_SetPerFriendPreferences_Response* response, + ::google::protobuf::Closure* done); + void AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_AddFriend_Request* request, + ::CPlayer_AddFriend_Response* response, + ::google::protobuf::Closure* done); + void RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_RemoveFriend_Request* request, + ::CPlayer_RemoveFriend_Response* response, + ::google::protobuf::Closure* done); + void IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_IgnoreFriend_Request* request, + ::CPlayer_IgnoreFriend_Response* response, + ::google::protobuf::Closure* done); + void GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetCommunityPreferences_Request* request, + ::CPlayer_GetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done); + void SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_SetCommunityPreferences_Request* request, + ::CPlayer_SetCommunityPreferences_Response* response, + ::google::protobuf::Closure* done); + void GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_GetNewSteamAnnouncementState_Request* request, + ::CPlayer_GetNewSteamAnnouncementState_Response* response, + ::google::protobuf::Closure* done); + void UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, + const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, + ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, + ::google::protobuf::Closure* done); + private: + ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; + bool owns_channel_; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Player_Stub); +}; + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CPlayer_GetMutualFriendsForIncomingInvites_Request + +// ------------------------------------------------------------------- + +// CPlayer_IncomingInviteMutualFriendList + +// optional fixed64 steamid = 1; +inline bool CPlayer_IncomingInviteMutualFriendList::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_IncomingInviteMutualFriendList::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_IncomingInviteMutualFriendList::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_IncomingInviteMutualFriendList::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_IncomingInviteMutualFriendList::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_IncomingInviteMutualFriendList.steamid) + return _internal_steamid(); +} +inline void CPlayer_IncomingInviteMutualFriendList::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_IncomingInviteMutualFriendList::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_IncomingInviteMutualFriendList.steamid) +} + +// repeated uint32 mutual_friend_account_ids = 2; +inline int CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids_size() const { + return _impl_.mutual_friend_account_ids_.size(); +} +inline int CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids_size() const { + return _internal_mutual_friend_account_ids_size(); +} +inline void CPlayer_IncomingInviteMutualFriendList::clear_mutual_friend_account_ids() { + _impl_.mutual_friend_account_ids_.Clear(); +} +inline uint32_t CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids(int index) const { + return _impl_.mutual_friend_account_ids_.Get(index); +} +inline uint32_t CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) + return _internal_mutual_friend_account_ids(index); +} +inline void CPlayer_IncomingInviteMutualFriendList::set_mutual_friend_account_ids(int index, uint32_t value) { + _impl_.mutual_friend_account_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) +} +inline void CPlayer_IncomingInviteMutualFriendList::_internal_add_mutual_friend_account_ids(uint32_t value) { + _impl_.mutual_friend_account_ids_.Add(value); +} +inline void CPlayer_IncomingInviteMutualFriendList::add_mutual_friend_account_ids(uint32_t value) { + _internal_add_mutual_friend_account_ids(value); + // @@protoc_insertion_point(field_add:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids() const { + return _impl_.mutual_friend_account_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids() const { + // @@protoc_insertion_point(field_list:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) + return _internal_mutual_friend_account_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CPlayer_IncomingInviteMutualFriendList::_internal_mutable_mutual_friend_account_ids() { + return &_impl_.mutual_friend_account_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CPlayer_IncomingInviteMutualFriendList::mutable_mutual_friend_account_ids() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) + return _internal_mutable_mutual_friend_account_ids(); +} + +// ------------------------------------------------------------------- + +// CPlayer_GetMutualFriendsForIncomingInvites_Response + +// repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; +inline int CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_incoming_invite_mutual_friends_lists_size() const { + return _impl_.incoming_invite_mutual_friends_lists_.size(); +} +inline int CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists_size() const { + return _internal_incoming_invite_mutual_friends_lists_size(); +} +inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::clear_incoming_invite_mutual_friends_lists() { + _impl_.incoming_invite_mutual_friends_lists_.Clear(); +} +inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::mutable_incoming_invite_mutual_friends_lists(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) + return _impl_.incoming_invite_mutual_friends_lists_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >* +CPlayer_GetMutualFriendsForIncomingInvites_Response::mutable_incoming_invite_mutual_friends_lists() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) + return &_impl_.incoming_invite_mutual_friends_lists_; +} +inline const ::CPlayer_IncomingInviteMutualFriendList& CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_incoming_invite_mutual_friends_lists(int index) const { + return _impl_.incoming_invite_mutual_friends_lists_.Get(index); +} +inline const ::CPlayer_IncomingInviteMutualFriendList& CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) + return _internal_incoming_invite_mutual_friends_lists(index); +} +inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_add_incoming_invite_mutual_friends_lists() { + return _impl_.incoming_invite_mutual_friends_lists_.Add(); +} +inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::add_incoming_invite_mutual_friends_lists() { + ::CPlayer_IncomingInviteMutualFriendList* _add = _internal_add_incoming_invite_mutual_friends_lists(); + // @@protoc_insertion_point(field_add:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >& +CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists() const { + // @@protoc_insertion_point(field_list:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) + return _impl_.incoming_invite_mutual_friends_lists_; +} + +// ------------------------------------------------------------------- + +// CPlayer_GetFriendsGameplayInfo_Request + +// optional uint32 appid = 1; +inline bool CPlayer_GetFriendsGameplayInfo_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Request::appid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Request.appid) + return _internal_appid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Request.appid) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo + +// optional fixed64 steamid = 1; +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.steamid) + return _internal_steamid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.steamid) +} + +// optional uint32 minutes_played = 2; +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_minutes_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_minutes_played() const { + return _internal_has_minutes_played(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_minutes_played() { + _impl_.minutes_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_minutes_played() const { + return _impl_.minutes_played_; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::minutes_played() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played) + return _internal_minutes_played(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_minutes_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.minutes_played_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_minutes_played(uint32_t value) { + _internal_set_minutes_played(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played) +} + +// optional uint32 minutes_played_forever = 3; +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_minutes_played_forever() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_minutes_played_forever() const { + return _internal_has_minutes_played_forever(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_minutes_played_forever() { + _impl_.minutes_played_forever_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_minutes_played_forever() const { + return _impl_.minutes_played_forever_; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::minutes_played_forever() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played_forever) + return _internal_minutes_played_forever(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_minutes_played_forever(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.minutes_played_forever_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_minutes_played_forever(uint32_t value) { + _internal_set_minutes_played_forever(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played_forever) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo + +// optional fixed64 steamid = 1; +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.steamid) + return _internal_steamid(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.steamid) +} + +// optional uint32 minutes_played = 2; +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_minutes_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_minutes_played() const { + return _internal_has_minutes_played(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_minutes_played() { + _impl_.minutes_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_minutes_played() const { + return _impl_.minutes_played_; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::minutes_played() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played) + return _internal_minutes_played(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_minutes_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.minutes_played_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_minutes_played(uint32_t value) { + _internal_set_minutes_played(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played) +} + +// optional uint32 minutes_played_forever = 3; +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_minutes_played_forever() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_minutes_played_forever() const { + return _internal_has_minutes_played_forever(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_minutes_played_forever() { + _impl_.minutes_played_forever_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_minutes_played_forever() const { + return _impl_.minutes_played_forever_; +} +inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::minutes_played_forever() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played_forever) + return _internal_minutes_played_forever(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_minutes_played_forever(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.minutes_played_forever_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_minutes_played_forever(uint32_t value) { + _internal_set_minutes_played_forever(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played_forever) +} + +// optional bool in_wishlist = 4; +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_in_wishlist() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_in_wishlist() const { + return _internal_has_in_wishlist(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_in_wishlist() { + _impl_.in_wishlist_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_in_wishlist() const { + return _impl_.in_wishlist_; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::in_wishlist() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.in_wishlist) + return _internal_in_wishlist(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_in_wishlist(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.in_wishlist_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_in_wishlist(bool value) { + _internal_set_in_wishlist(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.in_wishlist) +} + +// optional bool owned = 5; +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_owned() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_owned() const { + return _internal_has_owned(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_owned() { + _impl_.owned_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_owned() const { + return _impl_.owned_; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::owned() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.owned) + return _internal_owned(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_owned(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.owned_ = value; +} +inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_owned(bool value) { + _internal_set_owned(value); + // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.owned) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetFriendsGameplayInfo_Response + +// optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; +inline bool CPlayer_GetFriendsGameplayInfo_Response::_internal_has_your_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.your_info_ != nullptr); + return value; +} +inline bool CPlayer_GetFriendsGameplayInfo_Response::has_your_info() const { + return _internal_has_your_info(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_your_info() { + if (_impl_.your_info_ != nullptr) _impl_.your_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_your_info() const { + const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* p = _impl_.your_info_; + return p != nullptr ? *p : reinterpret_cast( + ::_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::your_info() const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.your_info) + return _internal_your_info(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::unsafe_arena_set_allocated_your_info( + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.your_info_); + } + _impl_.your_info_ = your_info; + if (your_info) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_GetFriendsGameplayInfo_Response.your_info) +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::release_your_info() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* temp = _impl_.your_info_; + _impl_.your_info_ = 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 ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::unsafe_arena_release_your_info() { + // @@protoc_insertion_point(field_release:CPlayer_GetFriendsGameplayInfo_Response.your_info) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* temp = _impl_.your_info_; + _impl_.your_info_ = nullptr; + return temp; +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_mutable_your_info() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.your_info_ == nullptr) { + auto* p = CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo>(GetArenaForAllocation()); + _impl_.your_info_ = p; + } + return _impl_.your_info_; +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_your_info() { + ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* _msg = _internal_mutable_your_info(); + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.your_info) + return _msg; +} +inline void CPlayer_GetFriendsGameplayInfo_Response::set_allocated_your_info(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.your_info_; + } + if (your_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(your_info); + if (message_arena != submessage_arena) { + your_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, your_info, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.your_info_ = your_info; + // @@protoc_insertion_point(field_set_allocated:CPlayer_GetFriendsGameplayInfo_Response.your_info) +} + +// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; +inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_in_game_size() const { + return _impl_.in_game_.size(); +} +inline int CPlayer_GetFriendsGameplayInfo_Response::in_game_size() const { + return _internal_in_game_size(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_in_game() { + _impl_.in_game_.Clear(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_in_game(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.in_game) + return _impl_.in_game_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* +CPlayer_GetFriendsGameplayInfo_Response::mutable_in_game() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.in_game) + return &_impl_.in_game_; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_in_game(int index) const { + return _impl_.in_game_.Get(index); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::in_game(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.in_game) + return _internal_in_game(index); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_in_game() { + return _impl_.in_game_.Add(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_in_game() { + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_in_game(); + // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.in_game) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& +CPlayer_GetFriendsGameplayInfo_Response::in_game() const { + // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.in_game) + return _impl_.in_game_; +} + +// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; +inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_played_recently_size() const { + return _impl_.played_recently_.size(); +} +inline int CPlayer_GetFriendsGameplayInfo_Response::played_recently_size() const { + return _internal_played_recently_size(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_played_recently() { + _impl_.played_recently_.Clear(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_played_recently(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.played_recently) + return _impl_.played_recently_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* +CPlayer_GetFriendsGameplayInfo_Response::mutable_played_recently() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.played_recently) + return &_impl_.played_recently_; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_played_recently(int index) const { + return _impl_.played_recently_.Get(index); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::played_recently(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.played_recently) + return _internal_played_recently(index); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_played_recently() { + return _impl_.played_recently_.Add(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_played_recently() { + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_played_recently(); + // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.played_recently) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& +CPlayer_GetFriendsGameplayInfo_Response::played_recently() const { + // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.played_recently) + return _impl_.played_recently_; +} + +// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; +inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_played_ever_size() const { + return _impl_.played_ever_.size(); +} +inline int CPlayer_GetFriendsGameplayInfo_Response::played_ever_size() const { + return _internal_played_ever_size(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_played_ever() { + _impl_.played_ever_.Clear(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_played_ever(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.played_ever) + return _impl_.played_ever_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* +CPlayer_GetFriendsGameplayInfo_Response::mutable_played_ever() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.played_ever) + return &_impl_.played_ever_; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_played_ever(int index) const { + return _impl_.played_ever_.Get(index); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::played_ever(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.played_ever) + return _internal_played_ever(index); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_played_ever() { + return _impl_.played_ever_.Add(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_played_ever() { + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_played_ever(); + // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.played_ever) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& +CPlayer_GetFriendsGameplayInfo_Response::played_ever() const { + // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.played_ever) + return _impl_.played_ever_; +} + +// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; +inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_owns_size() const { + return _impl_.owns_.size(); +} +inline int CPlayer_GetFriendsGameplayInfo_Response::owns_size() const { + return _internal_owns_size(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_owns() { + _impl_.owns_.Clear(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_owns(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.owns) + return _impl_.owns_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* +CPlayer_GetFriendsGameplayInfo_Response::mutable_owns() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.owns) + return &_impl_.owns_; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_owns(int index) const { + return _impl_.owns_.Get(index); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::owns(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.owns) + return _internal_owns(index); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_owns() { + return _impl_.owns_.Add(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_owns() { + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_owns(); + // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.owns) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& +CPlayer_GetFriendsGameplayInfo_Response::owns() const { + // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.owns) + return _impl_.owns_; +} + +// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; +inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_in_wishlist_size() const { + return _impl_.in_wishlist_.size(); +} +inline int CPlayer_GetFriendsGameplayInfo_Response::in_wishlist_size() const { + return _internal_in_wishlist_size(); +} +inline void CPlayer_GetFriendsGameplayInfo_Response::clear_in_wishlist() { + _impl_.in_wishlist_.Clear(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_in_wishlist(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) + return _impl_.in_wishlist_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* +CPlayer_GetFriendsGameplayInfo_Response::mutable_in_wishlist() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) + return &_impl_.in_wishlist_; +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_in_wishlist(int index) const { + return _impl_.in_wishlist_.Get(index); +} +inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::in_wishlist(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) + return _internal_in_wishlist(index); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_in_wishlist() { + return _impl_.in_wishlist_.Add(); +} +inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_in_wishlist() { + ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_in_wishlist(); + // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& +CPlayer_GetFriendsGameplayInfo_Response::in_wishlist() const { + // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) + return _impl_.in_wishlist_; +} + +// ------------------------------------------------------------------- + +// CPlayer_GetGameBadgeLevels_Request + +// optional uint32 appid = 1; +inline bool CPlayer_GetGameBadgeLevels_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetGameBadgeLevels_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPlayer_GetGameBadgeLevels_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Request::appid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Request.appid) + return _internal_appid(); +} +inline void CPlayer_GetGameBadgeLevels_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CPlayer_GetGameBadgeLevels_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Request.appid) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetGameBadgeLevels_Response_Badge + +// optional int32 level = 1; +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_level() const { + return _internal_has_level(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_level() { + _impl_.level_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_level() const { + return _impl_.level_; +} +inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::level() const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.level) + return _internal_level(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_level(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.level_ = value; +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_level(int32_t value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.level) +} + +// optional int32 series = 2; +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_series() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_series() const { + return _internal_has_series(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_series() { + _impl_.series_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_series() const { + return _impl_.series_; +} +inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::series() const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.series) + return _internal_series(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_series(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.series_ = value; +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_series(int32_t value) { + _internal_set_series(value); + // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.series) +} + +// optional uint32 border_color = 3; +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_border_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_border_color() const { + return _internal_has_border_color(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_border_color() { + _impl_.border_color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_border_color() const { + return _impl_.border_color_; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Response_Badge::border_color() const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.border_color) + return _internal_border_color(); +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_border_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.border_color_ = value; +} +inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_border_color(uint32_t value) { + _internal_set_border_color(value); + // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.border_color) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetGameBadgeLevels_Response + +// optional uint32 player_level = 1; +inline bool CPlayer_GetGameBadgeLevels_Response::_internal_has_player_level() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetGameBadgeLevels_Response::has_player_level() const { + return _internal_has_player_level(); +} +inline void CPlayer_GetGameBadgeLevels_Response::clear_player_level() { + _impl_.player_level_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Response::_internal_player_level() const { + return _impl_.player_level_; +} +inline uint32_t CPlayer_GetGameBadgeLevels_Response::player_level() const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.player_level) + return _internal_player_level(); +} +inline void CPlayer_GetGameBadgeLevels_Response::_internal_set_player_level(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.player_level_ = value; +} +inline void CPlayer_GetGameBadgeLevels_Response::set_player_level(uint32_t value) { + _internal_set_player_level(value); + // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.player_level) +} + +// repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; +inline int CPlayer_GetGameBadgeLevels_Response::_internal_badges_size() const { + return _impl_.badges_.size(); +} +inline int CPlayer_GetGameBadgeLevels_Response::badges_size() const { + return _internal_badges_size(); +} +inline void CPlayer_GetGameBadgeLevels_Response::clear_badges() { + _impl_.badges_.Clear(); +} +inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::mutable_badges(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetGameBadgeLevels_Response.badges) + return _impl_.badges_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >* +CPlayer_GetGameBadgeLevels_Response::mutable_badges() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetGameBadgeLevels_Response.badges) + return &_impl_.badges_; +} +inline const ::CPlayer_GetGameBadgeLevels_Response_Badge& CPlayer_GetGameBadgeLevels_Response::_internal_badges(int index) const { + return _impl_.badges_.Get(index); +} +inline const ::CPlayer_GetGameBadgeLevels_Response_Badge& CPlayer_GetGameBadgeLevels_Response::badges(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.badges) + return _internal_badges(index); +} +inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::_internal_add_badges() { + return _impl_.badges_.Add(); +} +inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::add_badges() { + ::CPlayer_GetGameBadgeLevels_Response_Badge* _add = _internal_add_badges(); + // @@protoc_insertion_point(field_add:CPlayer_GetGameBadgeLevels_Response.badges) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >& +CPlayer_GetGameBadgeLevels_Response::badges() const { + // @@protoc_insertion_point(field_list:CPlayer_GetGameBadgeLevels_Response.badges) + return _impl_.badges_; +} + +// ------------------------------------------------------------------- + +// CPlayer_GetLastPlayedTimes_Request + +// optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; +inline bool CPlayer_GetLastPlayedTimes_Request::_internal_has_min_last_played() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Request::has_min_last_played() const { + return _internal_has_min_last_played(); +} +inline void CPlayer_GetLastPlayedTimes_Request::clear_min_last_played() { + _impl_.min_last_played_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Request::_internal_min_last_played() const { + return _impl_.min_last_played_; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Request::min_last_played() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Request.min_last_played) + return _internal_min_last_played(); +} +inline void CPlayer_GetLastPlayedTimes_Request::_internal_set_min_last_played(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.min_last_played_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Request::set_min_last_played(uint32_t value) { + _internal_set_min_last_played(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Request.min_last_played) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetLastPlayedTimes_Response_Game + +// optional int32 appid = 1; +inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_appid() const { + return _internal_has_appid(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_appid() { + _impl_.appid_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_appid() const { + return _impl_.appid_; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::appid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.appid) + return _internal_appid(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_appid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::set_appid(int32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.appid) +} + +// optional uint32 last_playtime = 2; +inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_last_playtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_last_playtime() const { + return _internal_has_last_playtime(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_last_playtime() { + _impl_.last_playtime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_last_playtime() const { + return _impl_.last_playtime_; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::last_playtime() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.last_playtime) + return _internal_last_playtime(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_last_playtime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.last_playtime_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::set_last_playtime(uint32_t value) { + _internal_set_last_playtime(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.last_playtime) +} + +// optional int32 playtime_2weeks = 3; +inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_playtime_2weeks() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_playtime_2weeks() const { + return _internal_has_playtime_2weeks(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_playtime_2weeks() { + _impl_.playtime_2weeks_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_playtime_2weeks() const { + return _impl_.playtime_2weeks_; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::playtime_2weeks() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.playtime_2weeks) + return _internal_playtime_2weeks(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_playtime_2weeks(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.playtime_2weeks_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::set_playtime_2weeks(int32_t value) { + _internal_set_playtime_2weeks(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.playtime_2weeks) +} + +// optional int32 playtime_forever = 4; +inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_playtime_forever() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_playtime_forever() const { + return _internal_has_playtime_forever(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_playtime_forever() { + _impl_.playtime_forever_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_playtime_forever() const { + return _impl_.playtime_forever_; +} +inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::playtime_forever() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.playtime_forever) + return _internal_playtime_forever(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_playtime_forever(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.playtime_forever_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::set_playtime_forever(int32_t value) { + _internal_set_playtime_forever(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.playtime_forever) +} + +// optional uint32 first_playtime = 5; +inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_first_playtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_first_playtime() const { + return _internal_has_first_playtime(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_first_playtime() { + _impl_.first_playtime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_first_playtime() const { + return _impl_.first_playtime_; +} +inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::first_playtime() const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.first_playtime) + return _internal_first_playtime(); +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_first_playtime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.first_playtime_ = value; +} +inline void CPlayer_GetLastPlayedTimes_Response_Game::set_first_playtime(uint32_t value) { + _internal_set_first_playtime(value); + // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.first_playtime) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetLastPlayedTimes_Response + +// repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; +inline int CPlayer_GetLastPlayedTimes_Response::_internal_games_size() const { + return _impl_.games_.size(); +} +inline int CPlayer_GetLastPlayedTimes_Response::games_size() const { + return _internal_games_size(); +} +inline void CPlayer_GetLastPlayedTimes_Response::clear_games() { + _impl_.games_.Clear(); +} +inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::mutable_games(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetLastPlayedTimes_Response.games) + return _impl_.games_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >* +CPlayer_GetLastPlayedTimes_Response::mutable_games() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetLastPlayedTimes_Response.games) + return &_impl_.games_; +} +inline const ::CPlayer_GetLastPlayedTimes_Response_Game& CPlayer_GetLastPlayedTimes_Response::_internal_games(int index) const { + return _impl_.games_.Get(index); +} +inline const ::CPlayer_GetLastPlayedTimes_Response_Game& CPlayer_GetLastPlayedTimes_Response::games(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.games) + return _internal_games(index); +} +inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::_internal_add_games() { + return _impl_.games_.Add(); +} +inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::add_games() { + ::CPlayer_GetLastPlayedTimes_Response_Game* _add = _internal_add_games(); + // @@protoc_insertion_point(field_add:CPlayer_GetLastPlayedTimes_Response.games) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >& +CPlayer_GetLastPlayedTimes_Response::games() const { + // @@protoc_insertion_point(field_list:CPlayer_GetLastPlayedTimes_Response.games) + return _impl_.games_; +} + +// ------------------------------------------------------------------- + +// CPlayer_AcceptSSA_Request + +// ------------------------------------------------------------------- + +// CPlayer_AcceptSSA_Response + +// ------------------------------------------------------------------- + +// CPlayer_GetNicknameList_Request + +// ------------------------------------------------------------------- + +// CPlayer_GetNicknameList_Response_PlayerNickname + +// optional fixed32 accountid = 1; +inline bool CPlayer_GetNicknameList_Response_PlayerNickname::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetNicknameList_Response_PlayerNickname::has_accountid() const { + return _internal_has_accountid(); +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_GetNicknameList_Response_PlayerNickname::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t CPlayer_GetNicknameList_Response_PlayerNickname::accountid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.PlayerNickname.accountid) + return _internal_accountid(); +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetNicknameList_Response.PlayerNickname.accountid) +} + +// optional string nickname = 2; +inline bool CPlayer_GetNicknameList_Response_PlayerNickname::_internal_has_nickname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetNicknameList_Response_PlayerNickname::has_nickname() const { + return _internal_has_nickname(); +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::clear_nickname() { + _impl_.nickname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPlayer_GetNicknameList_Response_PlayerNickname::nickname() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) + return _internal_nickname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPlayer_GetNicknameList_Response_PlayerNickname::set_nickname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.nickname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) +} +inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::mutable_nickname() { + std::string* _s = _internal_mutable_nickname(); + // @@protoc_insertion_point(field_mutable:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) + return _s; +} +inline const std::string& CPlayer_GetNicknameList_Response_PlayerNickname::_internal_nickname() const { + return _impl_.nickname_.Get(); +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::_internal_set_nickname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.nickname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::_internal_mutable_nickname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.nickname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::release_nickname() { + // @@protoc_insertion_point(field_release:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) + if (!_internal_has_nickname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.nickname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nickname_.IsDefault()) { + _impl_.nickname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPlayer_GetNicknameList_Response_PlayerNickname::set_allocated_nickname(std::string* nickname) { + if (nickname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.nickname_.SetAllocated(nickname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nickname_.IsDefault()) { + _impl_.nickname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetNicknameList_Response + +// repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; +inline int CPlayer_GetNicknameList_Response::_internal_nicknames_size() const { + return _impl_.nicknames_.size(); +} +inline int CPlayer_GetNicknameList_Response::nicknames_size() const { + return _internal_nicknames_size(); +} +inline void CPlayer_GetNicknameList_Response::clear_nicknames() { + _impl_.nicknames_.Clear(); +} +inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::mutable_nicknames(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetNicknameList_Response.nicknames) + return _impl_.nicknames_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >* +CPlayer_GetNicknameList_Response::mutable_nicknames() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetNicknameList_Response.nicknames) + return &_impl_.nicknames_; +} +inline const ::CPlayer_GetNicknameList_Response_PlayerNickname& CPlayer_GetNicknameList_Response::_internal_nicknames(int index) const { + return _impl_.nicknames_.Get(index); +} +inline const ::CPlayer_GetNicknameList_Response_PlayerNickname& CPlayer_GetNicknameList_Response::nicknames(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.nicknames) + return _internal_nicknames(index); +} +inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::_internal_add_nicknames() { + return _impl_.nicknames_.Add(); +} +inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::add_nicknames() { + ::CPlayer_GetNicknameList_Response_PlayerNickname* _add = _internal_add_nicknames(); + // @@protoc_insertion_point(field_add:CPlayer_GetNicknameList_Response.nicknames) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >& +CPlayer_GetNicknameList_Response::nicknames() const { + // @@protoc_insertion_point(field_list:CPlayer_GetNicknameList_Response.nicknames) + return _impl_.nicknames_; +} + +// ------------------------------------------------------------------- + +// CPlayer_GetPerFriendPreferences_Request + +// ------------------------------------------------------------------- + +// PerFriendPreferences + +// optional fixed32 accountid = 1; +inline bool PerFriendPreferences::_internal_has_accountid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PerFriendPreferences::has_accountid() const { + return _internal_has_accountid(); +} +inline void PerFriendPreferences::clear_accountid() { + _impl_.accountid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PerFriendPreferences::_internal_accountid() const { + return _impl_.accountid_; +} +inline uint32_t PerFriendPreferences::accountid() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.accountid) + return _internal_accountid(); +} +inline void PerFriendPreferences::_internal_set_accountid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.accountid_ = value; +} +inline void PerFriendPreferences::set_accountid(uint32_t value) { + _internal_set_accountid(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.accountid) +} + +// optional string nickname = 2; +inline bool PerFriendPreferences::_internal_has_nickname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PerFriendPreferences::has_nickname() const { + return _internal_has_nickname(); +} +inline void PerFriendPreferences::clear_nickname() { + _impl_.nickname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PerFriendPreferences::nickname() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.nickname) + return _internal_nickname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PerFriendPreferences::set_nickname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.nickname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PerFriendPreferences.nickname) +} +inline std::string* PerFriendPreferences::mutable_nickname() { + std::string* _s = _internal_mutable_nickname(); + // @@protoc_insertion_point(field_mutable:PerFriendPreferences.nickname) + return _s; +} +inline const std::string& PerFriendPreferences::_internal_nickname() const { + return _impl_.nickname_.Get(); +} +inline void PerFriendPreferences::_internal_set_nickname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.nickname_.Set(value, GetArenaForAllocation()); +} +inline std::string* PerFriendPreferences::_internal_mutable_nickname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.nickname_.Mutable(GetArenaForAllocation()); +} +inline std::string* PerFriendPreferences::release_nickname() { + // @@protoc_insertion_point(field_release:PerFriendPreferences.nickname) + if (!_internal_has_nickname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.nickname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nickname_.IsDefault()) { + _impl_.nickname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PerFriendPreferences::set_allocated_nickname(std::string* nickname) { + if (nickname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.nickname_.SetAllocated(nickname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nickname_.IsDefault()) { + _impl_.nickname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PerFriendPreferences.nickname) +} + +// optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_notifications_showingame() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PerFriendPreferences::has_notifications_showingame() const { + return _internal_has_notifications_showingame(); +} +inline void PerFriendPreferences::clear_notifications_showingame() { + _impl_.notifications_showingame_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showingame() const { + return static_cast< ::ENotificationSetting >(_impl_.notifications_showingame_); +} +inline ::ENotificationSetting PerFriendPreferences::notifications_showingame() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showingame) + return _internal_notifications_showingame(); +} +inline void PerFriendPreferences::_internal_set_notifications_showingame(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.notifications_showingame_ = value; +} +inline void PerFriendPreferences::set_notifications_showingame(::ENotificationSetting value) { + _internal_set_notifications_showingame(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showingame) +} + +// optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_notifications_showonline() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PerFriendPreferences::has_notifications_showonline() const { + return _internal_has_notifications_showonline(); +} +inline void PerFriendPreferences::clear_notifications_showonline() { + _impl_.notifications_showonline_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showonline() const { + return static_cast< ::ENotificationSetting >(_impl_.notifications_showonline_); +} +inline ::ENotificationSetting PerFriendPreferences::notifications_showonline() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showonline) + return _internal_notifications_showonline(); +} +inline void PerFriendPreferences::_internal_set_notifications_showonline(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.notifications_showonline_ = value; +} +inline void PerFriendPreferences::set_notifications_showonline(::ENotificationSetting value) { + _internal_set_notifications_showonline(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showonline) +} + +// optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_notifications_showmessages() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PerFriendPreferences::has_notifications_showmessages() const { + return _internal_has_notifications_showmessages(); +} +inline void PerFriendPreferences::clear_notifications_showmessages() { + _impl_.notifications_showmessages_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showmessages() const { + return static_cast< ::ENotificationSetting >(_impl_.notifications_showmessages_); +} +inline ::ENotificationSetting PerFriendPreferences::notifications_showmessages() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showmessages) + return _internal_notifications_showmessages(); +} +inline void PerFriendPreferences::_internal_set_notifications_showmessages(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.notifications_showmessages_ = value; +} +inline void PerFriendPreferences::set_notifications_showmessages(::ENotificationSetting value) { + _internal_set_notifications_showmessages(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showmessages) +} + +// optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_sounds_showingame() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool PerFriendPreferences::has_sounds_showingame() const { + return _internal_has_sounds_showingame(); +} +inline void PerFriendPreferences::clear_sounds_showingame() { + _impl_.sounds_showingame_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showingame() const { + return static_cast< ::ENotificationSetting >(_impl_.sounds_showingame_); +} +inline ::ENotificationSetting PerFriendPreferences::sounds_showingame() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showingame) + return _internal_sounds_showingame(); +} +inline void PerFriendPreferences::_internal_set_sounds_showingame(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.sounds_showingame_ = value; +} +inline void PerFriendPreferences::set_sounds_showingame(::ENotificationSetting value) { + _internal_set_sounds_showingame(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showingame) +} + +// optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_sounds_showonline() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool PerFriendPreferences::has_sounds_showonline() const { + return _internal_has_sounds_showonline(); +} +inline void PerFriendPreferences::clear_sounds_showonline() { + _impl_.sounds_showonline_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showonline() const { + return static_cast< ::ENotificationSetting >(_impl_.sounds_showonline_); +} +inline ::ENotificationSetting PerFriendPreferences::sounds_showonline() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showonline) + return _internal_sounds_showonline(); +} +inline void PerFriendPreferences::_internal_set_sounds_showonline(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.sounds_showonline_ = value; +} +inline void PerFriendPreferences::set_sounds_showonline(::ENotificationSetting value) { + _internal_set_sounds_showonline(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showonline) +} + +// optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_sounds_showmessages() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool PerFriendPreferences::has_sounds_showmessages() const { + return _internal_has_sounds_showmessages(); +} +inline void PerFriendPreferences::clear_sounds_showmessages() { + _impl_.sounds_showmessages_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showmessages() const { + return static_cast< ::ENotificationSetting >(_impl_.sounds_showmessages_); +} +inline ::ENotificationSetting PerFriendPreferences::sounds_showmessages() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showmessages) + return _internal_sounds_showmessages(); +} +inline void PerFriendPreferences::_internal_set_sounds_showmessages(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.sounds_showmessages_ = value; +} +inline void PerFriendPreferences::set_sounds_showmessages(::ENotificationSetting value) { + _internal_set_sounds_showmessages(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showmessages) +} + +// optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; +inline bool PerFriendPreferences::_internal_has_notifications_sendmobile() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool PerFriendPreferences::has_notifications_sendmobile() const { + return _internal_has_notifications_sendmobile(); +} +inline void PerFriendPreferences::clear_notifications_sendmobile() { + _impl_.notifications_sendmobile_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_sendmobile() const { + return static_cast< ::ENotificationSetting >(_impl_.notifications_sendmobile_); +} +inline ::ENotificationSetting PerFriendPreferences::notifications_sendmobile() const { + // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_sendmobile) + return _internal_notifications_sendmobile(); +} +inline void PerFriendPreferences::_internal_set_notifications_sendmobile(::ENotificationSetting value) { + assert(::ENotificationSetting_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.notifications_sendmobile_ = value; +} +inline void PerFriendPreferences::set_notifications_sendmobile(::ENotificationSetting value) { + _internal_set_notifications_sendmobile(value); + // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_sendmobile) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetPerFriendPreferences_Response + +// repeated .PerFriendPreferences preferences = 1; +inline int CPlayer_GetPerFriendPreferences_Response::_internal_preferences_size() const { + return _impl_.preferences_.size(); +} +inline int CPlayer_GetPerFriendPreferences_Response::preferences_size() const { + return _internal_preferences_size(); +} +inline void CPlayer_GetPerFriendPreferences_Response::clear_preferences() { + _impl_.preferences_.Clear(); +} +inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::mutable_preferences(int index) { + // @@protoc_insertion_point(field_mutable:CPlayer_GetPerFriendPreferences_Response.preferences) + return _impl_.preferences_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >* +CPlayer_GetPerFriendPreferences_Response::mutable_preferences() { + // @@protoc_insertion_point(field_mutable_list:CPlayer_GetPerFriendPreferences_Response.preferences) + return &_impl_.preferences_; +} +inline const ::PerFriendPreferences& CPlayer_GetPerFriendPreferences_Response::_internal_preferences(int index) const { + return _impl_.preferences_.Get(index); +} +inline const ::PerFriendPreferences& CPlayer_GetPerFriendPreferences_Response::preferences(int index) const { + // @@protoc_insertion_point(field_get:CPlayer_GetPerFriendPreferences_Response.preferences) + return _internal_preferences(index); +} +inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::_internal_add_preferences() { + return _impl_.preferences_.Add(); +} +inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::add_preferences() { + ::PerFriendPreferences* _add = _internal_add_preferences(); + // @@protoc_insertion_point(field_add:CPlayer_GetPerFriendPreferences_Response.preferences) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >& +CPlayer_GetPerFriendPreferences_Response::preferences() const { + // @@protoc_insertion_point(field_list:CPlayer_GetPerFriendPreferences_Response.preferences) + return _impl_.preferences_; +} + +// ------------------------------------------------------------------- + +// CPlayer_SetPerFriendPreferences_Request + +// optional .PerFriendPreferences preferences = 1; +inline bool CPlayer_SetPerFriendPreferences_Request::_internal_has_preferences() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); + return value; +} +inline bool CPlayer_SetPerFriendPreferences_Request::has_preferences() const { + return _internal_has_preferences(); +} +inline void CPlayer_SetPerFriendPreferences_Request::clear_preferences() { + if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::PerFriendPreferences& CPlayer_SetPerFriendPreferences_Request::_internal_preferences() const { + const ::PerFriendPreferences* p = _impl_.preferences_; + return p != nullptr ? *p : reinterpret_cast( + ::_PerFriendPreferences_default_instance_); +} +inline const ::PerFriendPreferences& CPlayer_SetPerFriendPreferences_Request::preferences() const { + // @@protoc_insertion_point(field_get:CPlayer_SetPerFriendPreferences_Request.preferences) + return _internal_preferences(); +} +inline void CPlayer_SetPerFriendPreferences_Request::unsafe_arena_set_allocated_preferences( + ::PerFriendPreferences* preferences) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); + } + _impl_.preferences_ = preferences; + if (preferences) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_SetPerFriendPreferences_Request.preferences) +} +inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::release_preferences() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::PerFriendPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = 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 ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::unsafe_arena_release_preferences() { + // @@protoc_insertion_point(field_release:CPlayer_SetPerFriendPreferences_Request.preferences) + _impl_._has_bits_[0] &= ~0x00000001u; + ::PerFriendPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = nullptr; + return temp; +} +inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::_internal_mutable_preferences() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.preferences_ == nullptr) { + auto* p = CreateMaybeMessage<::PerFriendPreferences>(GetArenaForAllocation()); + _impl_.preferences_ = p; + } + return _impl_.preferences_; +} +inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::mutable_preferences() { + ::PerFriendPreferences* _msg = _internal_mutable_preferences(); + // @@protoc_insertion_point(field_mutable:CPlayer_SetPerFriendPreferences_Request.preferences) + return _msg; +} +inline void CPlayer_SetPerFriendPreferences_Request::set_allocated_preferences(::PerFriendPreferences* preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.preferences_; + } + if (preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); + if (message_arena != submessage_arena) { + preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, preferences, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.preferences_ = preferences; + // @@protoc_insertion_point(field_set_allocated:CPlayer_SetPerFriendPreferences_Request.preferences) +} + +// ------------------------------------------------------------------- + +// CPlayer_SetPerFriendPreferences_Response + +// ------------------------------------------------------------------- + +// CPlayer_AddFriend_Request + +// optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; +inline bool CPlayer_AddFriend_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_AddFriend_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_AddFriend_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_AddFriend_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_AddFriend_Request::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Request.steamid) + return _internal_steamid(); +} +inline void CPlayer_AddFriend_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_AddFriend_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Request.steamid) +} + +// ------------------------------------------------------------------- + +// CPlayer_AddFriend_Response + +// optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; +inline bool CPlayer_AddFriend_Response::_internal_has_invite_sent() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_AddFriend_Response::has_invite_sent() const { + return _internal_has_invite_sent(); +} +inline void CPlayer_AddFriend_Response::clear_invite_sent() { + _impl_.invite_sent_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CPlayer_AddFriend_Response::_internal_invite_sent() const { + return _impl_.invite_sent_; +} +inline bool CPlayer_AddFriend_Response::invite_sent() const { + // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Response.invite_sent) + return _internal_invite_sent(); +} +inline void CPlayer_AddFriend_Response::_internal_set_invite_sent(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.invite_sent_ = value; +} +inline void CPlayer_AddFriend_Response::set_invite_sent(bool value) { + _internal_set_invite_sent(value); + // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Response.invite_sent) +} + +// optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; +inline bool CPlayer_AddFriend_Response::_internal_has_friend_relationship() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_AddFriend_Response::has_friend_relationship() const { + return _internal_has_friend_relationship(); +} +inline void CPlayer_AddFriend_Response::clear_friend_relationship() { + _impl_.friend_relationship_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_AddFriend_Response::_internal_friend_relationship() const { + return _impl_.friend_relationship_; +} +inline uint32_t CPlayer_AddFriend_Response::friend_relationship() const { + // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Response.friend_relationship) + return _internal_friend_relationship(); +} +inline void CPlayer_AddFriend_Response::_internal_set_friend_relationship(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.friend_relationship_ = value; +} +inline void CPlayer_AddFriend_Response::set_friend_relationship(uint32_t value) { + _internal_set_friend_relationship(value); + // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Response.friend_relationship) +} + +// ------------------------------------------------------------------- + +// CPlayer_RemoveFriend_Request + +// optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; +inline bool CPlayer_RemoveFriend_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_RemoveFriend_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_RemoveFriend_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_RemoveFriend_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_RemoveFriend_Request::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_RemoveFriend_Request.steamid) + return _internal_steamid(); +} +inline void CPlayer_RemoveFriend_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_RemoveFriend_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_RemoveFriend_Request.steamid) +} + +// ------------------------------------------------------------------- + +// CPlayer_RemoveFriend_Response + +// optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; +inline bool CPlayer_RemoveFriend_Response::_internal_has_friend_relationship() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_RemoveFriend_Response::has_friend_relationship() const { + return _internal_has_friend_relationship(); +} +inline void CPlayer_RemoveFriend_Response::clear_friend_relationship() { + _impl_.friend_relationship_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_RemoveFriend_Response::_internal_friend_relationship() const { + return _impl_.friend_relationship_; +} +inline uint32_t CPlayer_RemoveFriend_Response::friend_relationship() const { + // @@protoc_insertion_point(field_get:CPlayer_RemoveFriend_Response.friend_relationship) + return _internal_friend_relationship(); +} +inline void CPlayer_RemoveFriend_Response::_internal_set_friend_relationship(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.friend_relationship_ = value; +} +inline void CPlayer_RemoveFriend_Response::set_friend_relationship(uint32_t value) { + _internal_set_friend_relationship(value); + // @@protoc_insertion_point(field_set:CPlayer_RemoveFriend_Response.friend_relationship) +} + +// ------------------------------------------------------------------- + +// CPlayer_IgnoreFriend_Request + +// optional fixed64 steamid = 1; +inline bool CPlayer_IgnoreFriend_Request::_internal_has_steamid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_IgnoreFriend_Request::has_steamid() const { + return _internal_has_steamid(); +} +inline void CPlayer_IgnoreFriend_Request::clear_steamid() { + _impl_.steamid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_IgnoreFriend_Request::_internal_steamid() const { + return _impl_.steamid_; +} +inline uint64_t CPlayer_IgnoreFriend_Request::steamid() const { + // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Request.steamid) + return _internal_steamid(); +} +inline void CPlayer_IgnoreFriend_Request::_internal_set_steamid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.steamid_ = value; +} +inline void CPlayer_IgnoreFriend_Request::set_steamid(uint64_t value) { + _internal_set_steamid(value); + // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Request.steamid) +} + +// optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; +inline bool CPlayer_IgnoreFriend_Request::_internal_has_unignore() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_IgnoreFriend_Request::has_unignore() const { + return _internal_has_unignore(); +} +inline void CPlayer_IgnoreFriend_Request::clear_unignore() { + _impl_.unignore_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CPlayer_IgnoreFriend_Request::_internal_unignore() const { + return _impl_.unignore_; +} +inline bool CPlayer_IgnoreFriend_Request::unignore() const { + // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Request.unignore) + return _internal_unignore(); +} +inline void CPlayer_IgnoreFriend_Request::_internal_set_unignore(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.unignore_ = value; +} +inline void CPlayer_IgnoreFriend_Request::set_unignore(bool value) { + _internal_set_unignore(value); + // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Request.unignore) +} + +// ------------------------------------------------------------------- + +// CPlayer_IgnoreFriend_Response + +// optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; +inline bool CPlayer_IgnoreFriend_Response::_internal_has_friend_relationship() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_IgnoreFriend_Response::has_friend_relationship() const { + return _internal_has_friend_relationship(); +} +inline void CPlayer_IgnoreFriend_Response::clear_friend_relationship() { + _impl_.friend_relationship_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_IgnoreFriend_Response::_internal_friend_relationship() const { + return _impl_.friend_relationship_; +} +inline uint32_t CPlayer_IgnoreFriend_Response::friend_relationship() const { + // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Response.friend_relationship) + return _internal_friend_relationship(); +} +inline void CPlayer_IgnoreFriend_Response::_internal_set_friend_relationship(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.friend_relationship_ = value; +} +inline void CPlayer_IgnoreFriend_Response::set_friend_relationship(uint32_t value) { + _internal_set_friend_relationship(value); + // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Response.friend_relationship) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetCommunityPreferences_Request + +// ------------------------------------------------------------------- + +// CPlayer_CommunityPreferences + +// optional bool hide_adult_content_violence = 1 [default = true]; +inline bool CPlayer_CommunityPreferences::_internal_has_hide_adult_content_violence() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_CommunityPreferences::has_hide_adult_content_violence() const { + return _internal_has_hide_adult_content_violence(); +} +inline void CPlayer_CommunityPreferences::clear_hide_adult_content_violence() { + _impl_.hide_adult_content_violence_ = true; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CPlayer_CommunityPreferences::_internal_hide_adult_content_violence() const { + return _impl_.hide_adult_content_violence_; +} +inline bool CPlayer_CommunityPreferences::hide_adult_content_violence() const { + // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.hide_adult_content_violence) + return _internal_hide_adult_content_violence(); +} +inline void CPlayer_CommunityPreferences::_internal_set_hide_adult_content_violence(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hide_adult_content_violence_ = value; +} +inline void CPlayer_CommunityPreferences::set_hide_adult_content_violence(bool value) { + _internal_set_hide_adult_content_violence(value); + // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.hide_adult_content_violence) +} + +// optional bool hide_adult_content_sex = 2 [default = true]; +inline bool CPlayer_CommunityPreferences::_internal_has_hide_adult_content_sex() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPlayer_CommunityPreferences::has_hide_adult_content_sex() const { + return _internal_has_hide_adult_content_sex(); +} +inline void CPlayer_CommunityPreferences::clear_hide_adult_content_sex() { + _impl_.hide_adult_content_sex_ = true; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPlayer_CommunityPreferences::_internal_hide_adult_content_sex() const { + return _impl_.hide_adult_content_sex_; +} +inline bool CPlayer_CommunityPreferences::hide_adult_content_sex() const { + // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.hide_adult_content_sex) + return _internal_hide_adult_content_sex(); +} +inline void CPlayer_CommunityPreferences::_internal_set_hide_adult_content_sex(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.hide_adult_content_sex_ = value; +} +inline void CPlayer_CommunityPreferences::set_hide_adult_content_sex(bool value) { + _internal_set_hide_adult_content_sex(value); + // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.hide_adult_content_sex) +} + +// optional bool parenthesize_nicknames = 4 [default = false]; +inline bool CPlayer_CommunityPreferences::_internal_has_parenthesize_nicknames() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_CommunityPreferences::has_parenthesize_nicknames() const { + return _internal_has_parenthesize_nicknames(); +} +inline void CPlayer_CommunityPreferences::clear_parenthesize_nicknames() { + _impl_.parenthesize_nicknames_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CPlayer_CommunityPreferences::_internal_parenthesize_nicknames() const { + return _impl_.parenthesize_nicknames_; +} +inline bool CPlayer_CommunityPreferences::parenthesize_nicknames() const { + // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.parenthesize_nicknames) + return _internal_parenthesize_nicknames(); +} +inline void CPlayer_CommunityPreferences::_internal_set_parenthesize_nicknames(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.parenthesize_nicknames_ = value; +} +inline void CPlayer_CommunityPreferences::set_parenthesize_nicknames(bool value) { + _internal_set_parenthesize_nicknames(value); + // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.parenthesize_nicknames) +} + +// optional uint32 timestamp_updated = 3; +inline bool CPlayer_CommunityPreferences::_internal_has_timestamp_updated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_CommunityPreferences::has_timestamp_updated() const { + return _internal_has_timestamp_updated(); +} +inline void CPlayer_CommunityPreferences::clear_timestamp_updated() { + _impl_.timestamp_updated_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPlayer_CommunityPreferences::_internal_timestamp_updated() const { + return _impl_.timestamp_updated_; +} +inline uint32_t CPlayer_CommunityPreferences::timestamp_updated() const { + // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.timestamp_updated) + return _internal_timestamp_updated(); +} +inline void CPlayer_CommunityPreferences::_internal_set_timestamp_updated(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.timestamp_updated_ = value; +} +inline void CPlayer_CommunityPreferences::set_timestamp_updated(uint32_t value) { + _internal_set_timestamp_updated(value); + // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.timestamp_updated) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetCommunityPreferences_Response + +// optional .CPlayer_CommunityPreferences preferences = 1; +inline bool CPlayer_GetCommunityPreferences_Response::_internal_has_preferences() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); + return value; +} +inline bool CPlayer_GetCommunityPreferences_Response::has_preferences() const { + return _internal_has_preferences(); +} +inline void CPlayer_GetCommunityPreferences_Response::clear_preferences() { + if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CPlayer_CommunityPreferences& CPlayer_GetCommunityPreferences_Response::_internal_preferences() const { + const ::CPlayer_CommunityPreferences* p = _impl_.preferences_; + return p != nullptr ? *p : reinterpret_cast( + ::_CPlayer_CommunityPreferences_default_instance_); +} +inline const ::CPlayer_CommunityPreferences& CPlayer_GetCommunityPreferences_Response::preferences() const { + // @@protoc_insertion_point(field_get:CPlayer_GetCommunityPreferences_Response.preferences) + return _internal_preferences(); +} +inline void CPlayer_GetCommunityPreferences_Response::unsafe_arena_set_allocated_preferences( + ::CPlayer_CommunityPreferences* preferences) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); + } + _impl_.preferences_ = preferences; + if (preferences) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_GetCommunityPreferences_Response.preferences) +} +inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::release_preferences() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = 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 ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::unsafe_arena_release_preferences() { + // @@protoc_insertion_point(field_release:CPlayer_GetCommunityPreferences_Response.preferences) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = nullptr; + return temp; +} +inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::_internal_mutable_preferences() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.preferences_ == nullptr) { + auto* p = CreateMaybeMessage<::CPlayer_CommunityPreferences>(GetArenaForAllocation()); + _impl_.preferences_ = p; + } + return _impl_.preferences_; +} +inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::mutable_preferences() { + ::CPlayer_CommunityPreferences* _msg = _internal_mutable_preferences(); + // @@protoc_insertion_point(field_mutable:CPlayer_GetCommunityPreferences_Response.preferences) + return _msg; +} +inline void CPlayer_GetCommunityPreferences_Response::set_allocated_preferences(::CPlayer_CommunityPreferences* preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.preferences_; + } + if (preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); + if (message_arena != submessage_arena) { + preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, preferences, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.preferences_ = preferences; + // @@protoc_insertion_point(field_set_allocated:CPlayer_GetCommunityPreferences_Response.preferences) +} + +// ------------------------------------------------------------------- + +// CPlayer_SetCommunityPreferences_Request + +// optional .CPlayer_CommunityPreferences preferences = 1; +inline bool CPlayer_SetCommunityPreferences_Request::_internal_has_preferences() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); + return value; +} +inline bool CPlayer_SetCommunityPreferences_Request::has_preferences() const { + return _internal_has_preferences(); +} +inline void CPlayer_SetCommunityPreferences_Request::clear_preferences() { + if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CPlayer_CommunityPreferences& CPlayer_SetCommunityPreferences_Request::_internal_preferences() const { + const ::CPlayer_CommunityPreferences* p = _impl_.preferences_; + return p != nullptr ? *p : reinterpret_cast( + ::_CPlayer_CommunityPreferences_default_instance_); +} +inline const ::CPlayer_CommunityPreferences& CPlayer_SetCommunityPreferences_Request::preferences() const { + // @@protoc_insertion_point(field_get:CPlayer_SetCommunityPreferences_Request.preferences) + return _internal_preferences(); +} +inline void CPlayer_SetCommunityPreferences_Request::unsafe_arena_set_allocated_preferences( + ::CPlayer_CommunityPreferences* preferences) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); + } + _impl_.preferences_ = preferences; + if (preferences) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_SetCommunityPreferences_Request.preferences) +} +inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::release_preferences() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = 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 ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::unsafe_arena_release_preferences() { + // @@protoc_insertion_point(field_release:CPlayer_SetCommunityPreferences_Request.preferences) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; + _impl_.preferences_ = nullptr; + return temp; +} +inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::_internal_mutable_preferences() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.preferences_ == nullptr) { + auto* p = CreateMaybeMessage<::CPlayer_CommunityPreferences>(GetArenaForAllocation()); + _impl_.preferences_ = p; + } + return _impl_.preferences_; +} +inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::mutable_preferences() { + ::CPlayer_CommunityPreferences* _msg = _internal_mutable_preferences(); + // @@protoc_insertion_point(field_mutable:CPlayer_SetCommunityPreferences_Request.preferences) + return _msg; +} +inline void CPlayer_SetCommunityPreferences_Request::set_allocated_preferences(::CPlayer_CommunityPreferences* preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.preferences_; + } + if (preferences) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); + if (message_arena != submessage_arena) { + preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, preferences, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.preferences_ = preferences; + // @@protoc_insertion_point(field_set_allocated:CPlayer_SetCommunityPreferences_Request.preferences) +} + +// ------------------------------------------------------------------- + +// CPlayer_SetCommunityPreferences_Response + +// ------------------------------------------------------------------- + +// CPlayer_GetNewSteamAnnouncementState_Request + +// optional int32 language = 1; +inline bool CPlayer_GetNewSteamAnnouncementState_Request::_internal_has_language() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Request::has_language() const { + return _internal_has_language(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Request::clear_language() { + _impl_.language_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CPlayer_GetNewSteamAnnouncementState_Request::_internal_language() const { + return _impl_.language_; +} +inline int32_t CPlayer_GetNewSteamAnnouncementState_Request::language() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Request.language) + return _internal_language(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Request::_internal_set_language(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.language_ = value; +} +inline void CPlayer_GetNewSteamAnnouncementState_Request::set_language(int32_t value) { + _internal_set_language(value); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Request.language) +} + +// ------------------------------------------------------------------- + +// CPlayer_GetNewSteamAnnouncementState_Response + +// optional int32 state = 1; +inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_state() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_state() const { + return _internal_has_state(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_state() { + _impl_.state_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_state() const { + return _impl_.state_; +} +inline int32_t CPlayer_GetNewSteamAnnouncementState_Response::state() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.state) + return _internal_state(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_state(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.state_ = value; +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::set_state(int32_t value) { + _internal_set_state(value); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.state) +} + +// optional string announcement_headline = 2; +inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_headline() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_headline() const { + return _internal_has_announcement_headline(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_headline() { + _impl_.announcement_headline_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::announcement_headline() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) + return _internal_announcement_headline(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_headline(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.announcement_headline_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::mutable_announcement_headline() { + std::string* _s = _internal_mutable_announcement_headline(); + // @@protoc_insertion_point(field_mutable:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) + return _s; +} +inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_headline() const { + return _impl_.announcement_headline_.Get(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_headline(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.announcement_headline_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::_internal_mutable_announcement_headline() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.announcement_headline_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::release_announcement_headline() { + // @@protoc_insertion_point(field_release:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) + if (!_internal_has_announcement_headline()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.announcement_headline_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_headline_.IsDefault()) { + _impl_.announcement_headline_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::set_allocated_announcement_headline(std::string* announcement_headline) { + if (announcement_headline != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.announcement_headline_.SetAllocated(announcement_headline, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_headline_.IsDefault()) { + _impl_.announcement_headline_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) +} + +// optional string announcement_url = 3; +inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_url() const { + return _internal_has_announcement_url(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_url() { + _impl_.announcement_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::announcement_url() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) + return _internal_announcement_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.announcement_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::mutable_announcement_url() { + std::string* _s = _internal_mutable_announcement_url(); + // @@protoc_insertion_point(field_mutable:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) + return _s; +} +inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_url() const { + return _impl_.announcement_url_.Get(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.announcement_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::_internal_mutable_announcement_url() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.announcement_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::release_announcement_url() { + // @@protoc_insertion_point(field_release:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) + if (!_internal_has_announcement_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.announcement_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_url_.IsDefault()) { + _impl_.announcement_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::set_allocated_announcement_url(std::string* announcement_url) { + if (announcement_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.announcement_url_.SetAllocated(announcement_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.announcement_url_.IsDefault()) { + _impl_.announcement_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) +} + +// optional uint32 time_posted = 4; +inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_time_posted() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_time_posted() const { + return _internal_has_time_posted(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_time_posted() { + _impl_.time_posted_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_time_posted() const { + return _impl_.time_posted_; +} +inline uint32_t CPlayer_GetNewSteamAnnouncementState_Response::time_posted() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.time_posted) + return _internal_time_posted(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_time_posted(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.time_posted_ = value; +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::set_time_posted(uint32_t value) { + _internal_set_time_posted(value); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.time_posted) +} + +// optional uint64 announcement_gid = 5; +inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_gid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_gid() const { + return _internal_has_announcement_gid(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_gid() { + _impl_.announcement_gid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_gid() const { + return _impl_.announcement_gid_; +} +inline uint64_t CPlayer_GetNewSteamAnnouncementState_Response::announcement_gid() const { + // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_gid) + return _internal_announcement_gid(); +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_gid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.announcement_gid_ = value; +} +inline void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_gid(uint64_t value) { + _internal_set_announcement_gid(value); + // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_gid) +} + +// ------------------------------------------------------------------- + +// CPlayer_UpdateSteamAnnouncementLastRead_Request + +// optional uint64 announcement_gid = 1; +inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_has_announcement_gid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::has_announcement_gid() const { + return _internal_has_announcement_gid(); +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::clear_announcement_gid() { + _impl_.announcement_gid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_announcement_gid() const { + return _impl_.announcement_gid_; +} +inline uint64_t CPlayer_UpdateSteamAnnouncementLastRead_Request::announcement_gid() const { + // @@protoc_insertion_point(field_get:CPlayer_UpdateSteamAnnouncementLastRead_Request.announcement_gid) + return _internal_announcement_gid(); +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_set_announcement_gid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.announcement_gid_ = value; +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::set_announcement_gid(uint64_t value) { + _internal_set_announcement_gid(value); + // @@protoc_insertion_point(field_set:CPlayer_UpdateSteamAnnouncementLastRead_Request.announcement_gid) +} + +// optional uint32 time_posted = 2; +inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_has_time_posted() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::has_time_posted() const { + return _internal_has_time_posted(); +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::clear_time_posted() { + _impl_.time_posted_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_time_posted() const { + return _impl_.time_posted_; +} +inline uint32_t CPlayer_UpdateSteamAnnouncementLastRead_Request::time_posted() const { + // @@protoc_insertion_point(field_get:CPlayer_UpdateSteamAnnouncementLastRead_Request.time_posted) + return _internal_time_posted(); +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_set_time_posted(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.time_posted_ = value; +} +inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::set_time_posted(uint32_t value) { + _internal_set_time_posted(value); + // @@protoc_insertion_point(field_set:CPlayer_UpdateSteamAnnouncementLastRead_Request.time_posted) +} + +// ------------------------------------------------------------------- + +// CPlayer_UpdateSteamAnnouncementLastRead_Response + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ENotificationSetting> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ENotificationSetting>() { + return ::ENotificationSetting_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.cc new file mode 100644 index 0000000..2575f98 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.cc @@ -0,0 +1,9521 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_publishedfile.steamworkssdk.proto + +#include "steammessages_publishedfile.steamworkssdk.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; + +PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} + , /*decltype(_impl_.list_type_)*/0u + , /*decltype(_impl_.appid_)*/0 + , /*decltype(_impl_.notify_client_)*/false} {} +struct CPublishedFile_Subscribe_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Subscribe_RequestDefaultTypeInternal() {} + union { + CPublishedFile_Subscribe_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Subscribe_RequestDefaultTypeInternal _CPublishedFile_Subscribe_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response( + ::_pbi::ConstantInitialized) {} +struct CPublishedFile_Subscribe_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Subscribe_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_Subscribe_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Subscribe_ResponseDefaultTypeInternal _CPublishedFile_Subscribe_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} + , /*decltype(_impl_.list_type_)*/0u + , /*decltype(_impl_.appid_)*/0 + , /*decltype(_impl_.notify_client_)*/false} {} +struct CPublishedFile_Unsubscribe_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Unsubscribe_RequestDefaultTypeInternal() {} + union { + CPublishedFile_Unsubscribe_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Unsubscribe_RequestDefaultTypeInternal _CPublishedFile_Unsubscribe_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response( + ::_pbi::ConstantInitialized) {} +struct CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_Unsubscribe_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal _CPublishedFile_Unsubscribe_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Publish_Request::CPublishedFile_Publish_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.cloudfilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.preview_cloudfilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.consumer_shortcut_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.youtube_username_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.youtube_videoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.collection_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.game_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.consumer_appid_)*/0u + , /*decltype(_impl_.file_type_)*/0u + , /*decltype(_impl_.visibility_)*/0u} {} +struct CPublishedFile_Publish_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Publish_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Publish_RequestDefaultTypeInternal() {} + union { + CPublishedFile_Publish_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Publish_RequestDefaultTypeInternal _CPublishedFile_Publish_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Publish_Response::CPublishedFile_Publish_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u}} {} +struct CPublishedFile_Publish_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Publish_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Publish_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_Publish_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Publish_ResponseDefaultTypeInternal _CPublishedFile_Publish_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.publishedfileids_)*/{} + , /*decltype(_impl_.includetags_)*/false + , /*decltype(_impl_.includeadditionalpreviews_)*/false + , /*decltype(_impl_.includechildren_)*/false + , /*decltype(_impl_.includekvtags_)*/false + , /*decltype(_impl_.includevotes_)*/false + , /*decltype(_impl_.short_description_)*/false} {} +struct CPublishedFile_GetDetails_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_GetDetails_RequestDefaultTypeInternal() {} + union { + CPublishedFile_GetDetails_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetDetails_RequestDefaultTypeInternal _CPublishedFile_GetDetails_Request_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails_Tag::PublishedFileDetails_Tag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.adminonly_)*/false} {} +struct PublishedFileDetails_TagDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetails_TagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetails_TagDefaultTypeInternal() {} + union { + PublishedFileDetails_Tag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_TagDefaultTypeInternal _PublishedFileDetails_Tag_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails_Preview::PublishedFileDetails_Preview( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.youtubevideoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.previewid_)*/uint64_t{0u} + , /*decltype(_impl_.sortorder_)*/0u + , /*decltype(_impl_.size_)*/0u} {} +struct PublishedFileDetails_PreviewDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetails_PreviewDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetails_PreviewDefaultTypeInternal() {} + union { + PublishedFileDetails_Preview _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_PreviewDefaultTypeInternal _PublishedFileDetails_Preview_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails_Child::PublishedFileDetails_Child( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} + , /*decltype(_impl_.sortorder_)*/0u + , /*decltype(_impl_.file_type_)*/0u} {} +struct PublishedFileDetails_ChildDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetails_ChildDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetails_ChildDefaultTypeInternal() {} + union { + PublishedFileDetails_Child _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_ChildDefaultTypeInternal _PublishedFileDetails_Child_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails_KVTag::PublishedFileDetails_KVTag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct PublishedFileDetails_KVTagDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetails_KVTagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetails_KVTagDefaultTypeInternal() {} + union { + PublishedFileDetails_KVTag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_KVTagDefaultTypeInternal _PublishedFileDetails_KVTag_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails_VoteData::PublishedFileDetails_VoteData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.score_)*/0 + , /*decltype(_impl_.votes_up_)*/0u + , /*decltype(_impl_.votes_down_)*/0u} {} +struct PublishedFileDetails_VoteDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetails_VoteDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetails_VoteDataDefaultTypeInternal() {} + union { + PublishedFileDetails_VoteData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_VoteDataDefaultTypeInternal _PublishedFileDetails_VoteData_default_instance_; +PROTOBUF_CONSTEXPR PublishedFileDetails::PublishedFileDetails( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.previews_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.children_)*/{} + , /*decltype(_impl_.kvtags_)*/{} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.file_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.preview_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.youtubevideoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.short_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ban_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.app_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.image_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.shortcutname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.vote_data_)*/nullptr + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} + , /*decltype(_impl_.result_)*/0u + , /*decltype(_impl_.creator_appid_)*/0u + , /*decltype(_impl_.creator_)*/uint64_t{0u} + , /*decltype(_impl_.consumer_appid_)*/0u + , /*decltype(_impl_.consumer_shortcutid_)*/0u + , /*decltype(_impl_.file_size_)*/uint64_t{0u} + , /*decltype(_impl_.preview_file_size_)*/uint64_t{0u} + , /*decltype(_impl_.hcontent_file_)*/uint64_t{0u} + , /*decltype(_impl_.hcontent_preview_)*/uint64_t{0u} + , /*decltype(_impl_.time_created_)*/0u + , /*decltype(_impl_.time_updated_)*/0u + , /*decltype(_impl_.visibility_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.workshop_file_)*/false + , /*decltype(_impl_.workshop_accepted_)*/false + , /*decltype(_impl_.show_subscribe_all_)*/false + , /*decltype(_impl_.banned_)*/false + , /*decltype(_impl_.num_comments_developer_)*/0 + , /*decltype(_impl_.banner_)*/uint64_t{0u} + , /*decltype(_impl_.num_comments_public_)*/0 + , /*decltype(_impl_.file_type_)*/0u + , /*decltype(_impl_.subscriptions_)*/0u + , /*decltype(_impl_.can_be_deleted_)*/false + , /*decltype(_impl_.incompatible_)*/false + , /*decltype(_impl_.can_subscribe_)*/false + , /*decltype(_impl_.spoiler_tag_)*/false + , /*decltype(_impl_.favorited_)*/0u + , /*decltype(_impl_.followers_)*/0u + , /*decltype(_impl_.lifetime_subscriptions_)*/0u + , /*decltype(_impl_.lifetime_favorited_)*/0u + , /*decltype(_impl_.lifetime_followers_)*/0u + , /*decltype(_impl_.views_)*/0u + , /*decltype(_impl_.image_width_)*/0u + , /*decltype(_impl_.image_height_)*/0u + , /*decltype(_impl_.shortcutid_)*/0u + , /*decltype(_impl_.num_children_)*/0u + , /*decltype(_impl_.num_reports_)*/0u + , /*decltype(_impl_.time_subscribed_)*/0u} {} +struct PublishedFileDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishedFileDetailsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishedFileDetailsDefaultTypeInternal() {} + union { + PublishedFileDetails _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetailsDefaultTypeInternal _PublishedFileDetails_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.publishedfiledetails_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CPublishedFile_GetDetails_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_GetDetails_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_GetDetails_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetDetails_ResponseDefaultTypeInternal _CPublishedFile_GetDetails_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.requiredtags_)*/{} + , /*decltype(_impl_.excludedtags_)*/{} + , /*decltype(_impl_.sortmethod_)*/{nullptr, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.totalonly_)*/false + , /*decltype(_impl_.ids_only_)*/false + , /*decltype(_impl_.privacy_)*/0u + , /*decltype(_impl_.page_)*/1u + , /*decltype(_impl_.numperpage_)*/1u} {} +struct CPublishedFile_GetUserFiles_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_GetUserFiles_RequestDefaultTypeInternal() {} + union { + CPublishedFile_GetUserFiles_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_RequestDefaultTypeInternal _CPublishedFile_GetUserFiles_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.shortcutid_)*/0u + , /*decltype(_impl_.private__)*/false} {} +struct CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal() {} + union { + CPublishedFile_GetUserFiles_Response_App _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_App_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.publishedfiledetails_)*/{} + , /*decltype(_impl_.apps_)*/{} + , /*decltype(_impl_.total_)*/0u + , /*decltype(_impl_.startindex_)*/0u} {} +struct CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_GetUserFiles_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Update_Request::CPublishedFile_Update_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.preview_filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.visibility_)*/0u} {} +struct CPublishedFile_Update_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Update_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Update_RequestDefaultTypeInternal() {} + union { + CPublishedFile_Update_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Update_RequestDefaultTypeInternal _CPublishedFile_Update_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_Update_Response::CPublishedFile_Update_Response( + ::_pbi::ConstantInitialized) {} +struct CPublishedFile_Update_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_Update_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_Update_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_Update_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Update_ResponseDefaultTypeInternal _CPublishedFile_Update_Response_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tags_)*/{} + , /*decltype(_impl_.excluded_tags_)*/{} + , /*decltype(_impl_.appid_)*/0u + , /*decltype(_impl_.matching_file_type_)*/0u + , /*decltype(_impl_.desired_queue_size_)*/0u + , /*decltype(_impl_.match_all_tags_)*/true} {} +struct CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal() {} + union { + CPublishedFile_RefreshVotingQueue_Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Request_default_instance_; +PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response( + ::_pbi::ConstantInitialized) {} +struct CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal() {} + union { + CPublishedFile_RefreshVotingQueue_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Response_default_instance_; +static ::_pb::Metadata file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[21]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fpublishedfile_2esteamworkssdk_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fpublishedfile_2esteamworkssdk_2eproto = nullptr; + +const uint32_t TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.list_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.notify_client_), + 0, + 1, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.list_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.notify_client_), + 0, + 1, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.consumer_appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.cloudfilename_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.preview_cloudfilename_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.title_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.file_description_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.file_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.consumer_shortcut_name_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.youtube_username_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.youtube_videoid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.visibility_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.redirect_uri_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.tags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.collection_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.game_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.url_), + 11, + 12, + 0, + 1, + 2, + 3, + 13, + 4, + 5, + 6, + 14, + 7, + ~0u, + 8, + 9, + 10, + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_.redirect_uri_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.publishedfileids_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includetags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includeadditionalpreviews_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includechildren_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includekvtags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includevotes_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.short_description_), + ~0u, + 0, + 1, + 2, + 3, + 4, + 5, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_.tag_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_.adminonly_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.previewid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.sortorder_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.url_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.size_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.youtubevideoid_), + 3, + 4, + 0, + 5, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.sortorder_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.file_type_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_.value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.score_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.votes_up_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.votes_down_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.creator_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.creator_appid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.consumer_appid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.consumer_shortcutid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_size_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.preview_file_size_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_url_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.preview_url_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.youtubevideoid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.url_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.hcontent_file_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.hcontent_preview_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.title_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_description_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.short_description_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_created_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_updated_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.visibility_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.workshop_file_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.workshop_accepted_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.show_subscribe_all_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_comments_developer_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_comments_public_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.banned_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.ban_reason_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.banner_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.can_be_deleted_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.incompatible_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.app_name_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_type_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.can_subscribe_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.subscriptions_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.favorited_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.followers_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_subscriptions_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_favorited_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_followers_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.views_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_width_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_height_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_url_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.spoiler_tag_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.shortcutid_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.shortcutname_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_children_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_reports_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.previews_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.tags_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.children_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.kvtags_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.vote_data_), + PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_subscribed_), + 14, + 13, + 16, + 15, + 17, + 18, + 0, + 19, + 20, + 1, + 2, + 3, + 4, + 21, + 22, + 5, + 6, + 7, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 31, + 33, + 30, + 8, + 32, + 36, + 37, + 9, + 34, + 38, + 35, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 10, + 39, + 48, + 11, + 49, + 50, + ~0u, + ~0u, + ~0u, + ~0u, + 12, + 51, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Response, _impl_.publishedfiledetails_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.page_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.numperpage_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.sortmethod_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.totalonly_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.privacy_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.ids_only_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.requiredtags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.excludedtags_), + 1, + 5, + 6, + 0, + 2, + 4, + 3, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.shortcutid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.private__), + 1, + 0, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.total_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.startindex_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.publishedfiledetails_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.apps_), + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.publishedfileid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.title_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.file_description_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.visibility_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.tags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.preview_filename_), + 5, + 4, + 0, + 1, + 6, + ~0u, + 2, + 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.appid_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.matching_file_type_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.tags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.match_all_tags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.excluded_tags_), + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.desired_queue_size_), + 0, + 1, + ~0u, + 3, + ~0u, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::CPublishedFile_Subscribe_Request)}, + { 14, -1, -1, sizeof(::CPublishedFile_Subscribe_Response)}, + { 20, 30, -1, sizeof(::CPublishedFile_Unsubscribe_Request)}, + { 34, -1, -1, sizeof(::CPublishedFile_Unsubscribe_Response)}, + { 40, 62, -1, sizeof(::CPublishedFile_Publish_Request)}, + { 78, 86, -1, sizeof(::CPublishedFile_Publish_Response)}, + { 88, 101, -1, sizeof(::CPublishedFile_GetDetails_Request)}, + { 108, 116, -1, sizeof(::PublishedFileDetails_Tag)}, + { 118, 130, -1, sizeof(::PublishedFileDetails_Preview)}, + { 136, 145, -1, sizeof(::PublishedFileDetails_Child)}, + { 148, 156, -1, sizeof(::PublishedFileDetails_KVTag)}, + { 158, 167, -1, sizeof(::PublishedFileDetails_VoteData)}, + { 170, 232, -1, sizeof(::PublishedFileDetails)}, + { 288, -1, -1, sizeof(::CPublishedFile_GetDetails_Response)}, + { 295, 310, -1, sizeof(::CPublishedFile_GetUserFiles_Request)}, + { 319, 329, -1, sizeof(::CPublishedFile_GetUserFiles_Response_App)}, + { 333, 343, -1, sizeof(::CPublishedFile_GetUserFiles_Response)}, + { 347, 361, -1, sizeof(::CPublishedFile_Update_Request)}, + { 369, -1, -1, sizeof(::CPublishedFile_Update_Response)}, + { 375, 387, -1, sizeof(::CPublishedFile_RefreshVotingQueue_Request)}, + { 393, -1, -1, sizeof(::CPublishedFile_RefreshVotingQueue_Response)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CPublishedFile_Subscribe_Request_default_instance_._instance, + &::_CPublishedFile_Subscribe_Response_default_instance_._instance, + &::_CPublishedFile_Unsubscribe_Request_default_instance_._instance, + &::_CPublishedFile_Unsubscribe_Response_default_instance_._instance, + &::_CPublishedFile_Publish_Request_default_instance_._instance, + &::_CPublishedFile_Publish_Response_default_instance_._instance, + &::_CPublishedFile_GetDetails_Request_default_instance_._instance, + &::_PublishedFileDetails_Tag_default_instance_._instance, + &::_PublishedFileDetails_Preview_default_instance_._instance, + &::_PublishedFileDetails_Child_default_instance_._instance, + &::_PublishedFileDetails_KVTag_default_instance_._instance, + &::_PublishedFileDetails_VoteData_default_instance_._instance, + &::_PublishedFileDetails_default_instance_._instance, + &::_CPublishedFile_GetDetails_Response_default_instance_._instance, + &::_CPublishedFile_GetUserFiles_Request_default_instance_._instance, + &::_CPublishedFile_GetUserFiles_Response_App_default_instance_._instance, + &::_CPublishedFile_GetUserFiles_Response_default_instance_._instance, + &::_CPublishedFile_Update_Request_default_instance_._instance, + &::_CPublishedFile_Update_Response_default_instance_._instance, + &::_CPublishedFile_RefreshVotingQueue_Request_default_instance_._instance, + &::_CPublishedFile_RefreshVotingQueue_Response_default_instance_._instance, +}; + +const char descriptor_table_protodef_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n/steammessages_publishedfile.steamworks" + "sdk.proto\032.steammessages_unified_base.st" + "eamworkssdk.proto\"t\n CPublishedFile_Subs" + "cribe_Request\022\027\n\017publishedfileid\030\001 \001(\004\022\021" + "\n\tlist_type\030\002 \001(\r\022\r\n\005appid\030\003 \001(\005\022\025\n\rnoti" + "fy_client\030\004 \001(\010\"#\n!CPublishedFile_Subscr" + "ibe_Response\"v\n\"CPublishedFile_Unsubscri" + "be_Request\022\027\n\017publishedfileid\030\001 \001(\004\022\021\n\tl" + "ist_type\030\002 \001(\r\022\r\n\005appid\030\003 \001(\005\022\025\n\rnotify_" + "client\030\004 \001(\010\"%\n#CPublishedFile_Unsubscri" + "be_Response\"\314\n\n\036CPublishedFile_Publish_R" + "equest\022<\n\005appid\030\001 \001(\rB-\202\265\030)App Id this f" + "ile is being published FROM.\022C\n\016consumer" + "_appid\030\002 \001(\rB+\202\265\030\'App Id this file is be" + "ing published TO.\022K\n\rcloudfilename\030\003 \001(\t" + "B4\202\265\0300Name of the file to publish in the" + " user\'s cloud.\022[\n\025preview_cloudfilename\030" + "\004 \001(\tB<\202\265\0308Name of the file to use as th" + "e published file\'s preview.\0225\n\005title\030\005 \001" + "(\tB&\202\265\030\"Text title for the published fil" + "e.\022F\n\020file_description\030\006 \001(\tB,\202\265\030(Text d" + "escription for the published file.\022L\n\tfi" + "le_type\030\007 \001(\rB9\202\265\0305(EWorkshopFileType) T" + "ype of Workshop file to publish.\022I\n\026cons" + "umer_shortcut_name\030\010 \001(\tB)\202\265\030%Shortcut n" + "ame for the published file.\022I\n\020youtube_u" + "sername\030\t \001(\tB/\202\265\030+(Optional) User\'s You" + "Tube account username.\022\\\n\017youtube_videoi" + "d\030\n \001(\tBC\202\265\030\?(Optional) Video Id of a Yo" + "uTube video for this published file.\022\201\001\n" + "\nvisibility\030\013 \001(\rBm\202\265\030i(ERemoteStoragePu" + "blishedFileVisibility) Visibility of the" + " published file (private, friends, publi" + "c, etc.)\022k\n\014redirect_uri\030\014 \001(\tBU\202\265\030Q(Opt" + "ional) If supplied, the resulting publis" + "hed file\'s Id is appended to the URI.\022D\n" + "\004tags\030\r \003(\tB6\202\265\0302Array of text tags to a" + "pply to the published file.\022Y\n\017collectio" + "n_type\030\016 \001(\tB@\202\265\030<(Optional) Type of col" + "lection the published file represents.\022M" + "\n\tgame_type\030\017 \001(\tB:\202\265\0306(Optional) Type o" + "f game the published file represents.\022[\n" + "\003url\030\020 \001(\tBN\202\265\030J(Optional) If this repre" + "sents a game, this is the URL to that ga" + "me\'s page.\"P\n\037CPublishedFile_Publish_Res" + "ponse\022\027\n\017publishedfileid\030\001 \001(\004\022\024\n\014redire" + "ct_uri\030\002 \001(\t\"\204\005\n!CPublishedFile_GetDetai" + "ls_Request\022P\n\020publishedfileids\030\001 \003(\006B6\202\265" + "\0302Set of published file Ids to retrieve " + "details for.\022Q\n\013includetags\030\002 \001(\010B<\202\265\0308I" + "f true, return tag information in the re" + "turned details.\022c\n\031includeadditionalprev" + "iews\030\003 \001(\010B@\202\265\030()._impl_._has_bits_); + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_list_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_notify_client(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_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:CPublishedFile_Subscribe_Request) +} +CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_Request(const CPublishedFile_Subscribe_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_Subscribe_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){} + , decltype(_impl_.list_type_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.notify_client_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, + static_cast(reinterpret_cast(&_impl_.notify_client_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Subscribe_Request) +} + +inline void CPublishedFile_Subscribe_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + , decltype(_impl_.list_type_){0u} + , decltype(_impl_.appid_){0} + , decltype(_impl_.notify_client_){false} + }; +} + +CPublishedFile_Subscribe_Request::~CPublishedFile_Subscribe_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_Subscribe_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_Subscribe_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPublishedFile_Subscribe_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_Subscribe_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_Subscribe_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.publishedfileid_, 0, static_cast( + reinterpret_cast(&_impl_.notify_client_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_Subscribe_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 publishedfileid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_publishedfileid(&has_bits); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 list_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_list_type(&has_bits); + _impl_.list_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 appid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool notify_client = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_notify_client(&has_bits); + _impl_.notify_client_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_Subscribe_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Subscribe_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); + } + + // optional uint32 list_type = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_list_type(), target); + } + + // optional int32 appid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_appid(), target); + } + + // optional bool notify_client = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_notify_client(), 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:CPublishedFile_Subscribe_Request) + return target; +} + +size_t CPublishedFile_Subscribe_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Subscribe_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); + } + + // optional uint32 list_type = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_list_type()); + } + + // optional int32 appid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); + } + + // optional bool notify_client = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Subscribe_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_Subscribe_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Subscribe_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_Subscribe_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:CPublishedFile_Subscribe_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.list_type_ = from._impl_.list_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.notify_client_ = from._impl_.notify_client_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_Subscribe_Request::CopyFrom(const CPublishedFile_Subscribe_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Subscribe_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_Subscribe_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_Subscribe_Request::InternalSwap(CPublishedFile_Subscribe_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_Subscribe_Request, _impl_.notify_client_) + + sizeof(CPublishedFile_Subscribe_Request::_impl_.notify_client_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_Subscribe_Request, _impl_.publishedfileid_)>( + reinterpret_cast(&_impl_.publishedfileid_), + reinterpret_cast(&other->_impl_.publishedfileid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Subscribe_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[0]); +} + +// =================================================================== + +class CPublishedFile_Subscribe_Response::_Internal { + public: +}; + +CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPublishedFile_Subscribe_Response) +} +CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response(const CPublishedFile_Subscribe_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPublishedFile_Subscribe_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Subscribe_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Subscribe_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Subscribe_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Subscribe_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[1]); +} + +// =================================================================== + +class CPublishedFile_Unsubscribe_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_list_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_notify_client(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_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:CPublishedFile_Unsubscribe_Request) +} +CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_Request(const CPublishedFile_Unsubscribe_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_Unsubscribe_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){} + , decltype(_impl_.list_type_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.notify_client_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, + static_cast(reinterpret_cast(&_impl_.notify_client_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Unsubscribe_Request) +} + +inline void CPublishedFile_Unsubscribe_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + , decltype(_impl_.list_type_){0u} + , decltype(_impl_.appid_){0} + , decltype(_impl_.notify_client_){false} + }; +} + +CPublishedFile_Unsubscribe_Request::~CPublishedFile_Unsubscribe_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_Unsubscribe_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_Unsubscribe_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CPublishedFile_Unsubscribe_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_Unsubscribe_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_Unsubscribe_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.publishedfileid_, 0, static_cast( + reinterpret_cast(&_impl_.notify_client_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_Unsubscribe_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 publishedfileid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_publishedfileid(&has_bits); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 list_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_list_type(&has_bits); + _impl_.list_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 appid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool notify_client = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_notify_client(&has_bits); + _impl_.notify_client_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_Unsubscribe_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Unsubscribe_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); + } + + // optional uint32 list_type = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_list_type(), target); + } + + // optional int32 appid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_appid(), target); + } + + // optional bool notify_client = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_notify_client(), 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:CPublishedFile_Unsubscribe_Request) + return target; +} + +size_t CPublishedFile_Unsubscribe_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Unsubscribe_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); + } + + // optional uint32 list_type = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_list_type()); + } + + // optional int32 appid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); + } + + // optional bool notify_client = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Unsubscribe_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_Unsubscribe_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Unsubscribe_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_Unsubscribe_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:CPublishedFile_Unsubscribe_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.list_type_ = from._impl_.list_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.notify_client_ = from._impl_.notify_client_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_Unsubscribe_Request::CopyFrom(const CPublishedFile_Unsubscribe_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Unsubscribe_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_Unsubscribe_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_Unsubscribe_Request::InternalSwap(CPublishedFile_Unsubscribe_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_Unsubscribe_Request, _impl_.notify_client_) + + sizeof(CPublishedFile_Unsubscribe_Request::_impl_.notify_client_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_Unsubscribe_Request, _impl_.publishedfileid_)>( + reinterpret_cast(&_impl_.publishedfileid_), + reinterpret_cast(&other->_impl_.publishedfileid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Unsubscribe_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[2]); +} + +// =================================================================== + +class CPublishedFile_Unsubscribe_Response::_Internal { + public: +}; + +CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPublishedFile_Unsubscribe_Response) +} +CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response(const CPublishedFile_Unsubscribe_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPublishedFile_Unsubscribe_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Unsubscribe_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Unsubscribe_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Unsubscribe_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Unsubscribe_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[3]); +} + +// =================================================================== + +class CPublishedFile_Publish_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_consumer_appid(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_cloudfilename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_preview_cloudfilename(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_title(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_file_description(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_file_type(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_consumer_shortcut_name(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_youtube_username(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_youtube_videoid(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_visibility(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_redirect_uri(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_collection_type(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_game_type(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +CPublishedFile_Publish_Request::CPublishedFile_Publish_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:CPublishedFile_Publish_Request) +} +CPublishedFile_Publish_Request::CPublishedFile_Publish_Request(const CPublishedFile_Publish_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_Publish_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.cloudfilename_){} + , decltype(_impl_.preview_cloudfilename_){} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.consumer_shortcut_name_){} + , decltype(_impl_.youtube_username_){} + , decltype(_impl_.youtube_videoid_){} + , decltype(_impl_.redirect_uri_){} + , decltype(_impl_.collection_type_){} + , decltype(_impl_.game_type_){} + , decltype(_impl_.url_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.consumer_appid_){} + , decltype(_impl_.file_type_){} + , decltype(_impl_.visibility_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.cloudfilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cloudfilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cloudfilename()) { + _this->_impl_.cloudfilename_.Set(from._internal_cloudfilename(), + _this->GetArenaForAllocation()); + } + _impl_.preview_cloudfilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_preview_cloudfilename()) { + _this->_impl_.preview_cloudfilename_.Set(from._internal_preview_cloudfilename(), + _this->GetArenaForAllocation()); + } + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_title()) { + _this->_impl_.title_.Set(from._internal_title(), + _this->GetArenaForAllocation()); + } + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_description()) { + _this->_impl_.file_description_.Set(from._internal_file_description(), + _this->GetArenaForAllocation()); + } + _impl_.consumer_shortcut_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_consumer_shortcut_name()) { + _this->_impl_.consumer_shortcut_name_.Set(from._internal_consumer_shortcut_name(), + _this->GetArenaForAllocation()); + } + _impl_.youtube_username_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_username_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtube_username()) { + _this->_impl_.youtube_username_.Set(from._internal_youtube_username(), + _this->GetArenaForAllocation()); + } + _impl_.youtube_videoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtube_videoid()) { + _this->_impl_.youtube_videoid_.Set(from._internal_youtube_videoid(), + _this->GetArenaForAllocation()); + } + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_redirect_uri()) { + _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), + _this->GetArenaForAllocation()); + } + _impl_.collection_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.collection_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_collection_type()) { + _this->_impl_.collection_type_.Set(from._internal_collection_type(), + _this->GetArenaForAllocation()); + } + _impl_.game_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_game_type()) { + _this->_impl_.game_type_.Set(from._internal_game_type(), + _this->GetArenaForAllocation()); + } + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.visibility_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.visibility_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Publish_Request) +} + +inline void CPublishedFile_Publish_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.cloudfilename_){} + , decltype(_impl_.preview_cloudfilename_){} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.consumer_shortcut_name_){} + , decltype(_impl_.youtube_username_){} + , decltype(_impl_.youtube_videoid_){} + , decltype(_impl_.redirect_uri_){} + , decltype(_impl_.collection_type_){} + , decltype(_impl_.game_type_){} + , decltype(_impl_.url_){} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.consumer_appid_){0u} + , decltype(_impl_.file_type_){0u} + , decltype(_impl_.visibility_){0u} + }; + _impl_.cloudfilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cloudfilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_cloudfilename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.consumer_shortcut_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_username_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_username_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_videoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.collection_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.collection_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.game_type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPublishedFile_Publish_Request::~CPublishedFile_Publish_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_Publish_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_Publish_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tags_.~RepeatedPtrField(); + _impl_.cloudfilename_.Destroy(); + _impl_.preview_cloudfilename_.Destroy(); + _impl_.title_.Destroy(); + _impl_.file_description_.Destroy(); + _impl_.consumer_shortcut_name_.Destroy(); + _impl_.youtube_username_.Destroy(); + _impl_.youtube_videoid_.Destroy(); + _impl_.redirect_uri_.Destroy(); + _impl_.collection_type_.Destroy(); + _impl_.game_type_.Destroy(); + _impl_.url_.Destroy(); +} + +void CPublishedFile_Publish_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_Publish_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_Publish_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.cloudfilename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.preview_cloudfilename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.title_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.file_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.consumer_shortcut_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.youtube_username_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.youtube_videoid_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.redirect_uri_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _impl_.collection_type_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000200u) { + _impl_.game_type_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000400u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00007800u) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.visibility_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.visibility_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_Publish_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_consumer_appid(&has_bits); + _impl_.consumer_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_cloudfilename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.cloudfilename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_preview_cloudfilename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.preview_cloudfilename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string title = 5 [(.description) = "Text title for the published file."]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_title(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.title"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string file_description = 6 [(.description) = "Text description for the published file."]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_file_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.file_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_file_type(&has_bits); + _impl_.file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_consumer_shortcut_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.consumer_shortcut_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_youtube_username(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.youtube_username"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_youtube_videoid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.youtube_videoid"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_visibility(&has_bits); + _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_redirect_uri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.redirect_uri"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_tags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.tags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_collection_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.collection_type"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + auto str = _internal_mutable_game_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.game_type"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.url"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_Publish_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Publish_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_consumer_appid(), target); + } + + // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_cloudfilename().data(), static_cast(this->_internal_cloudfilename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.cloudfilename"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_cloudfilename(), target); + } + + // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_preview_cloudfilename().data(), static_cast(this->_internal_preview_cloudfilename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.preview_cloudfilename"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_preview_cloudfilename(), target); + } + + // optional string title = 5 [(.description) = "Text title for the published file."]; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_title().data(), static_cast(this->_internal_title().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.title"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_title(), target); + } + + // optional string file_description = 6 [(.description) = "Text description for the published file."]; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.file_description"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_file_description(), target); + } + + // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_file_type(), target); + } + + // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_consumer_shortcut_name().data(), static_cast(this->_internal_consumer_shortcut_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.consumer_shortcut_name"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_consumer_shortcut_name(), target); + } + + // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtube_username().data(), static_cast(this->_internal_youtube_username().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.youtube_username"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_youtube_username(), target); + } + + // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtube_videoid().data(), static_cast(this->_internal_youtube_videoid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.youtube_videoid"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_youtube_videoid(), target); + } + + // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_visibility(), target); + } + + // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.redirect_uri"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_redirect_uri(), target); + } + + // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; + for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { + const auto& s = this->_internal_tags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.tags"); + target = stream->WriteString(13, s, target); + } + + // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; + if (cached_has_bits & 0x00000100u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_collection_type().data(), static_cast(this->_internal_collection_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.collection_type"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_collection_type(), target); + } + + // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; + if (cached_has_bits & 0x00000200u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_game_type().data(), static_cast(this->_internal_game_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.game_type"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_game_type(), target); + } + + // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; + if (cached_has_bits & 0x00000400u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Request.url"); + target = stream->WriteStringMaybeAliased( + 16, this->_internal_url(), 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:CPublishedFile_Publish_Request) + return target; +} + +size_t CPublishedFile_Publish_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Publish_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; + + // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); + for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.tags_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_cloudfilename()); + } + + // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_preview_cloudfilename()); + } + + // optional string title = 5 [(.description) = "Text title for the published file."]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_title()); + } + + // optional string file_description = 6 [(.description) = "Text description for the published file."]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_description()); + } + + // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_consumer_shortcut_name()); + } + + // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtube_username()); + } + + // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtube_videoid()); + } + + // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_redirect_uri()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_collection_type()); + } + + // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_game_type()); + } + + // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_appid()); + } + + // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_type()); + } + + // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_visibility()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Publish_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_Publish_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Publish_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_Publish_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:CPublishedFile_Publish_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_cloudfilename(from._internal_cloudfilename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_preview_cloudfilename(from._internal_preview_cloudfilename()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_title(from._internal_title()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_file_description(from._internal_file_description()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_consumer_shortcut_name(from._internal_consumer_shortcut_name()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_youtube_username(from._internal_youtube_username()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_youtube_videoid(from._internal_youtube_videoid()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_redirect_uri(from._internal_redirect_uri()); + } + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_collection_type(from._internal_collection_type()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_set_game_type(from._internal_game_type()); + } + if (cached_has_bits & 0x00000400u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.consumer_appid_ = from._impl_.consumer_appid_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.file_type_ = from._impl_.file_type_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.visibility_ = from._impl_.visibility_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_Publish_Request::CopyFrom(const CPublishedFile_Publish_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Publish_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_Publish_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_Publish_Request::InternalSwap(CPublishedFile_Publish_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cloudfilename_, lhs_arena, + &other->_impl_.cloudfilename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.preview_cloudfilename_, lhs_arena, + &other->_impl_.preview_cloudfilename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.title_, lhs_arena, + &other->_impl_.title_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_description_, lhs_arena, + &other->_impl_.file_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.consumer_shortcut_name_, lhs_arena, + &other->_impl_.consumer_shortcut_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtube_username_, lhs_arena, + &other->_impl_.youtube_username_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtube_videoid_, lhs_arena, + &other->_impl_.youtube_videoid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.redirect_uri_, lhs_arena, + &other->_impl_.redirect_uri_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.collection_type_, lhs_arena, + &other->_impl_.collection_type_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.game_type_, lhs_arena, + &other->_impl_.game_type_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_Publish_Request, _impl_.visibility_) + + sizeof(CPublishedFile_Publish_Request::_impl_.visibility_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_Publish_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Publish_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[4]); +} + +// =================================================================== + +class CPublishedFile_Publish_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_redirect_uri(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CPublishedFile_Publish_Response::CPublishedFile_Publish_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:CPublishedFile_Publish_Response) +} +CPublishedFile_Publish_Response::CPublishedFile_Publish_Response(const CPublishedFile_Publish_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_Publish_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.redirect_uri_){} + , decltype(_impl_.publishedfileid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_redirect_uri()) { + _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), + _this->GetArenaForAllocation()); + } + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Publish_Response) +} + +inline void CPublishedFile_Publish_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.redirect_uri_){} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + }; + _impl_.redirect_uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPublishedFile_Publish_Response::~CPublishedFile_Publish_Response() { + // @@protoc_insertion_point(destructor:CPublishedFile_Publish_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_Publish_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.redirect_uri_.Destroy(); +} + +void CPublishedFile_Publish_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_Publish_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_Publish_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.redirect_uri_.ClearNonDefaultToEmpty(); + } + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_Publish_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 publishedfileid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_publishedfileid(&has_bits); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string redirect_uri = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_redirect_uri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Response.redirect_uri"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_Publish_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Publish_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); + } + + // optional string redirect_uri = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Publish_Response.redirect_uri"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_redirect_uri(), 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:CPublishedFile_Publish_Response) + return target; +} + +size_t CPublishedFile_Publish_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Publish_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; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string redirect_uri = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_redirect_uri()); + } + + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Publish_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_Publish_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Publish_Response::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_Publish_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:CPublishedFile_Publish_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_redirect_uri(from._internal_redirect_uri()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_Publish_Response::CopyFrom(const CPublishedFile_Publish_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Publish_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_Publish_Response::IsInitialized() const { + return true; +} + +void CPublishedFile_Publish_Response::InternalSwap(CPublishedFile_Publish_Response* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.redirect_uri_, lhs_arena, + &other->_impl_.redirect_uri_, rhs_arena + ); + swap(_impl_.publishedfileid_, other->_impl_.publishedfileid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Publish_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[5]); +} + +// =================================================================== + +class CPublishedFile_GetDetails_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_includetags(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_includeadditionalpreviews(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_includechildren(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_includekvtags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_includevotes(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_short_description(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } +}; + +CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_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:CPublishedFile_GetDetails_Request) +} +CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_Request(const CPublishedFile_GetDetails_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_GetDetails_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileids_){from._impl_.publishedfileids_} + , decltype(_impl_.includetags_){} + , decltype(_impl_.includeadditionalpreviews_){} + , decltype(_impl_.includechildren_){} + , decltype(_impl_.includekvtags_){} + , decltype(_impl_.includevotes_){} + , decltype(_impl_.short_description_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.includetags_, &from._impl_.includetags_, + static_cast(reinterpret_cast(&_impl_.short_description_) - + reinterpret_cast(&_impl_.includetags_)) + sizeof(_impl_.short_description_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetDetails_Request) +} + +inline void CPublishedFile_GetDetails_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileids_){arena} + , decltype(_impl_.includetags_){false} + , decltype(_impl_.includeadditionalpreviews_){false} + , decltype(_impl_.includechildren_){false} + , decltype(_impl_.includekvtags_){false} + , decltype(_impl_.includevotes_){false} + , decltype(_impl_.short_description_){false} + }; +} + +CPublishedFile_GetDetails_Request::~CPublishedFile_GetDetails_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_GetDetails_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_GetDetails_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.publishedfileids_.~RepeatedField(); +} + +void CPublishedFile_GetDetails_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_GetDetails_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetDetails_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.publishedfileids_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + ::memset(&_impl_.includetags_, 0, static_cast( + reinterpret_cast(&_impl_.short_description_) - + reinterpret_cast(&_impl_.includetags_)) + sizeof(_impl_.short_description_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_GetDetails_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_publishedfileids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint64_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<9>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_publishedfileids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_includetags(&has_bits); + _impl_.includetags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_includeadditionalpreviews(&has_bits); + _impl_.includeadditionalpreviews_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_includechildren(&has_bits); + _impl_.includechildren_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_includekvtags(&has_bits); + _impl_.includekvtags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_includevotes(&has_bits); + _impl_.includevotes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_short_description(&has_bits); + _impl_.short_description_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_GetDetails_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetDetails_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; + for (int i = 0, n = this->_internal_publishedfileids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_publishedfileids(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_includetags(), target); + } + + // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_includeadditionalpreviews(), target); + } + + // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_includechildren(), target); + } + + // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_includekvtags(), target); + } + + // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_includevotes(), target); + } + + // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_short_description(), 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:CPublishedFile_GetDetails_Request) + return target; +} + +size_t CPublishedFile_GetDetails_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetDetails_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; + + // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; + { + unsigned int count = static_cast(this->_internal_publishedfileids_size()); + size_t data_size = 8UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_publishedfileids_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 1; + } + + // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetDetails_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_GetDetails_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetDetails_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_GetDetails_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:CPublishedFile_GetDetails_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.publishedfileids_.MergeFrom(from._impl_.publishedfileids_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.includetags_ = from._impl_.includetags_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.includeadditionalpreviews_ = from._impl_.includeadditionalpreviews_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.includechildren_ = from._impl_.includechildren_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.includekvtags_ = from._impl_.includekvtags_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.includevotes_ = from._impl_.includevotes_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.short_description_ = from._impl_.short_description_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_GetDetails_Request::CopyFrom(const CPublishedFile_GetDetails_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetDetails_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_GetDetails_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_GetDetails_Request::InternalSwap(CPublishedFile_GetDetails_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.publishedfileids_.InternalSwap(&other->_impl_.publishedfileids_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_GetDetails_Request, _impl_.short_description_) + + sizeof(CPublishedFile_GetDetails_Request::_impl_.short_description_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetDetails_Request, _impl_.includetags_)>( + reinterpret_cast(&_impl_.includetags_), + reinterpret_cast(&other->_impl_.includetags_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetDetails_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[6]); +} + +// =================================================================== + +class PublishedFileDetails_Tag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_adminonly(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +PublishedFileDetails_Tag::PublishedFileDetails_Tag(::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:PublishedFileDetails.Tag) +} +PublishedFileDetails_Tag::PublishedFileDetails_Tag(const PublishedFileDetails_Tag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails_Tag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.adminonly_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_tag()) { + _this->_impl_.tag_.Set(from._internal_tag(), + _this->GetArenaForAllocation()); + } + _this->_impl_.adminonly_ = from._impl_.adminonly_; + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Tag) +} + +inline void PublishedFileDetails_Tag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tag_){} + , decltype(_impl_.adminonly_){false} + }; + _impl_.tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PublishedFileDetails_Tag::~PublishedFileDetails_Tag() { + // @@protoc_insertion_point(destructor:PublishedFileDetails.Tag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails_Tag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tag_.Destroy(); +} + +void PublishedFileDetails_Tag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails_Tag::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Tag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.tag_.ClearNonDefaultToEmpty(); + } + _impl_.adminonly_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string tag = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Tag.tag"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool adminonly = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_adminonly(&has_bits); + _impl_.adminonly_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PublishedFileDetails_Tag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Tag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.Tag.tag"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_tag(), target); + } + + // optional bool adminonly = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_adminonly(), 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:PublishedFileDetails.Tag) + return target; +} + +size_t PublishedFileDetails_Tag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Tag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string tag = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + + // optional bool adminonly = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Tag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails_Tag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Tag::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails_Tag::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:PublishedFileDetails.Tag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_tag(from._internal_tag()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.adminonly_ = from._impl_.adminonly_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails_Tag::CopyFrom(const PublishedFileDetails_Tag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Tag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails_Tag::IsInitialized() const { + return true; +} + +void PublishedFileDetails_Tag::InternalSwap(PublishedFileDetails_Tag* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.tag_, lhs_arena, + &other->_impl_.tag_, rhs_arena + ); + swap(_impl_.adminonly_, other->_impl_.adminonly_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Tag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[7]); +} + +// =================================================================== + +class PublishedFileDetails_Preview::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_previewid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_sortorder(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_size(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_youtubevideoid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +PublishedFileDetails_Preview::PublishedFileDetails_Preview(::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:PublishedFileDetails.Preview) +} +PublishedFileDetails_Preview::PublishedFileDetails_Preview(const PublishedFileDetails_Preview& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails_Preview* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.url_){} + , decltype(_impl_.filename_){} + , decltype(_impl_.youtubevideoid_){} + , decltype(_impl_.previewid_){} + , decltype(_impl_.sortorder_){} + , decltype(_impl_.size_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _impl_.youtubevideoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtubevideoid()) { + _this->_impl_.youtubevideoid_.Set(from._internal_youtubevideoid(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.previewid_, &from._impl_.previewid_, + static_cast(reinterpret_cast(&_impl_.size_) - + reinterpret_cast(&_impl_.previewid_)) + sizeof(_impl_.size_)); + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Preview) +} + +inline void PublishedFileDetails_Preview::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.url_){} + , decltype(_impl_.filename_){} + , decltype(_impl_.youtubevideoid_){} + , decltype(_impl_.previewid_){uint64_t{0u}} + , decltype(_impl_.sortorder_){0u} + , decltype(_impl_.size_){0u} + }; + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PublishedFileDetails_Preview::~PublishedFileDetails_Preview() { + // @@protoc_insertion_point(destructor:PublishedFileDetails.Preview) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails_Preview::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.url_.Destroy(); + _impl_.filename_.Destroy(); + _impl_.youtubevideoid_.Destroy(); +} + +void PublishedFileDetails_Preview::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails_Preview::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Preview) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.youtubevideoid_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000038u) { + ::memset(&_impl_.previewid_, 0, static_cast( + reinterpret_cast(&_impl_.size_) - + reinterpret_cast(&_impl_.previewid_)) + sizeof(_impl_.size_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails_Preview::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 previewid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_previewid(&has_bits); + _impl_.previewid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sortorder = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_sortorder(&has_bits); + _impl_.sortorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string url = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 size = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_size(&has_bits); + _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string filename = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string youtubevideoid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_youtubevideoid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.youtubevideoid"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PublishedFileDetails_Preview::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Preview) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 previewid = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_previewid(), target); + } + + // optional uint32 sortorder = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sortorder(), target); + } + + // optional string url = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.Preview.url"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_url(), target); + } + + // optional uint32 size = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_size(), target); + } + + // optional string filename = 5; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.Preview.filename"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_filename(), target); + } + + // optional string youtubevideoid = 6; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtubevideoid().data(), static_cast(this->_internal_youtubevideoid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.Preview.youtubevideoid"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_youtubevideoid(), 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:PublishedFileDetails.Preview) + return target; +} + +size_t PublishedFileDetails_Preview::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Preview) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string url = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional string filename = 5; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional string youtubevideoid = 6; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtubevideoid()); + } + + // optional uint64 previewid = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_previewid()); + } + + // optional uint32 sortorder = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sortorder()); + } + + // optional uint32 size = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Preview::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails_Preview::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Preview::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails_Preview::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:PublishedFileDetails.Preview) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_youtubevideoid(from._internal_youtubevideoid()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.previewid_ = from._impl_.previewid_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.sortorder_ = from._impl_.sortorder_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.size_ = from._impl_.size_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails_Preview::CopyFrom(const PublishedFileDetails_Preview& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Preview) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails_Preview::IsInitialized() const { + return true; +} + +void PublishedFileDetails_Preview::InternalSwap(PublishedFileDetails_Preview* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtubevideoid_, lhs_arena, + &other->_impl_.youtubevideoid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Preview, _impl_.size_) + + sizeof(PublishedFileDetails_Preview::_impl_.size_) + - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Preview, _impl_.previewid_)>( + reinterpret_cast(&_impl_.previewid_), + reinterpret_cast(&other->_impl_.previewid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Preview::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[8]); +} + +// =================================================================== + +class PublishedFileDetails_Child::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_sortorder(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_file_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +PublishedFileDetails_Child::PublishedFileDetails_Child(::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:PublishedFileDetails.Child) +} +PublishedFileDetails_Child::PublishedFileDetails_Child(const PublishedFileDetails_Child& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails_Child* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){} + , decltype(_impl_.sortorder_){} + , decltype(_impl_.file_type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, + static_cast(reinterpret_cast(&_impl_.file_type_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.file_type_)); + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Child) +} + +inline void PublishedFileDetails_Child::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + , decltype(_impl_.sortorder_){0u} + , decltype(_impl_.file_type_){0u} + }; +} + +PublishedFileDetails_Child::~PublishedFileDetails_Child() { + // @@protoc_insertion_point(destructor:PublishedFileDetails.Child) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails_Child::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PublishedFileDetails_Child::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails_Child::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Child) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.publishedfileid_, 0, static_cast( + reinterpret_cast(&_impl_.file_type_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.file_type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails_Child::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 publishedfileid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_publishedfileid(&has_bits); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 sortorder = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_sortorder(&has_bits); + _impl_.sortorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 file_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_file_type(&has_bits); + _impl_.file_type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PublishedFileDetails_Child::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Child) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); + } + + // optional uint32 sortorder = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sortorder(), target); + } + + // optional uint32 file_type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_file_type(), 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:PublishedFileDetails.Child) + return target; +} + +size_t PublishedFileDetails_Child::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Child) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 publishedfileid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); + } + + // optional uint32 sortorder = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sortorder()); + } + + // optional uint32 file_type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Child::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails_Child::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Child::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails_Child::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:PublishedFileDetails.Child) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.sortorder_ = from._impl_.sortorder_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.file_type_ = from._impl_.file_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails_Child::CopyFrom(const PublishedFileDetails_Child& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Child) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails_Child::IsInitialized() const { + return true; +} + +void PublishedFileDetails_Child::InternalSwap(PublishedFileDetails_Child* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Child, _impl_.file_type_) + + sizeof(PublishedFileDetails_Child::_impl_.file_type_) + - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Child, _impl_.publishedfileid_)>( + reinterpret_cast(&_impl_.publishedfileid_), + reinterpret_cast(&other->_impl_.publishedfileid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Child::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[9]); +} + +// =================================================================== + +class PublishedFileDetails_KVTag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_key(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +PublishedFileDetails_KVTag::PublishedFileDetails_KVTag(::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:PublishedFileDetails.KVTag) +} +PublishedFileDetails_KVTag::PublishedFileDetails_KVTag(const PublishedFileDetails_KVTag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails_KVTag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key()) { + _this->_impl_.key_.Set(from._internal_key(), + _this->GetArenaForAllocation()); + } + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.KVTag) +} + +inline void PublishedFileDetails_KVTag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.key_){} + , decltype(_impl_.value_){} + }; + _impl_.key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PublishedFileDetails_KVTag::~PublishedFileDetails_KVTag() { + // @@protoc_insertion_point(destructor:PublishedFileDetails.KVTag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails_KVTag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.key_.Destroy(); + _impl_.value_.Destroy(); +} + +void PublishedFileDetails_KVTag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails_KVTag::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.KVTag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.key_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails_KVTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string key = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.KVTag.key"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.KVTag.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PublishedFileDetails_KVTag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.KVTag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string key = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_key().data(), static_cast(this->_internal_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.KVTag.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.KVTag.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:PublishedFileDetails.KVTag) + return target; +} + +size_t PublishedFileDetails_KVTag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.KVTag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string key = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_KVTag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails_KVTag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_KVTag::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails_KVTag::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:PublishedFileDetails.KVTag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_key(from._internal_key()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_value(from._internal_value()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails_KVTag::CopyFrom(const PublishedFileDetails_KVTag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.KVTag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails_KVTag::IsInitialized() const { + return true; +} + +void PublishedFileDetails_KVTag::InternalSwap(PublishedFileDetails_KVTag* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_, lhs_arena, + &other->_impl_.key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_KVTag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[10]); +} + +// =================================================================== + +class PublishedFileDetails_VoteData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_score(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_votes_up(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_votes_down(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +PublishedFileDetails_VoteData::PublishedFileDetails_VoteData(::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:PublishedFileDetails.VoteData) +} +PublishedFileDetails_VoteData::PublishedFileDetails_VoteData(const PublishedFileDetails_VoteData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails_VoteData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.score_){} + , decltype(_impl_.votes_up_){} + , decltype(_impl_.votes_down_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.score_, &from._impl_.score_, + static_cast(reinterpret_cast(&_impl_.votes_down_) - + reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.votes_down_)); + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.VoteData) +} + +inline void PublishedFileDetails_VoteData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.score_){0} + , decltype(_impl_.votes_up_){0u} + , decltype(_impl_.votes_down_){0u} + }; +} + +PublishedFileDetails_VoteData::~PublishedFileDetails_VoteData() { + // @@protoc_insertion_point(destructor:PublishedFileDetails.VoteData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails_VoteData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PublishedFileDetails_VoteData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails_VoteData::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.VoteData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.score_, 0, static_cast( + reinterpret_cast(&_impl_.votes_down_) - + reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.votes_down_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails_VoteData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float score = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_score(&has_bits); + _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 votes_up = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_votes_up(&has_bits); + _impl_.votes_up_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 votes_down = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_votes_down(&has_bits); + _impl_.votes_down_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PublishedFileDetails_VoteData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.VoteData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float score = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_score(), target); + } + + // optional uint32 votes_up = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_votes_up(), target); + } + + // optional uint32 votes_down = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_votes_down(), 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:PublishedFileDetails.VoteData) + return target; +} + +size_t PublishedFileDetails_VoteData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.VoteData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional float score = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional uint32 votes_up = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_votes_up()); + } + + // optional uint32 votes_down = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_votes_down()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_VoteData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails_VoteData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_VoteData::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails_VoteData::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:PublishedFileDetails.VoteData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.score_ = from._impl_.score_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.votes_up_ = from._impl_.votes_up_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.votes_down_ = from._impl_.votes_down_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails_VoteData::CopyFrom(const PublishedFileDetails_VoteData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.VoteData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails_VoteData::IsInitialized() const { + return true; +} + +void PublishedFileDetails_VoteData::InternalSwap(PublishedFileDetails_VoteData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PublishedFileDetails_VoteData, _impl_.votes_down_) + + sizeof(PublishedFileDetails_VoteData::_impl_.votes_down_) + - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_VoteData, _impl_.score_)>( + reinterpret_cast(&_impl_.score_), + reinterpret_cast(&other->_impl_.score_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_VoteData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[11]); +} + +// =================================================================== + +class PublishedFileDetails::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_result(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_creator(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_creator_appid(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_consumer_appid(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_consumer_shortcutid(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_file_size(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_preview_file_size(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_file_url(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_preview_url(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_youtubevideoid(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_url(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_hcontent_file(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_hcontent_preview(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_title(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_file_description(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_short_description(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_time_created(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_time_updated(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static void set_has_visibility(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } + static void set_has_workshop_file(HasBits* has_bits) { + (*has_bits)[0] |= 134217728u; + } + static void set_has_workshop_accepted(HasBits* has_bits) { + (*has_bits)[0] |= 268435456u; + } + static void set_has_show_subscribe_all(HasBits* has_bits) { + (*has_bits)[0] |= 536870912u; + } + static void set_has_num_comments_developer(HasBits* has_bits) { + (*has_bits)[0] |= 2147483648u; + } + static void set_has_num_comments_public(HasBits* has_bits) { + (*has_bits)[1] |= 2u; + } + static void set_has_banned(HasBits* has_bits) { + (*has_bits)[0] |= 1073741824u; + } + static void set_has_ban_reason(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_banner(HasBits* has_bits) { + (*has_bits)[1] |= 1u; + } + static void set_has_can_be_deleted(HasBits* has_bits) { + (*has_bits)[1] |= 16u; + } + static void set_has_incompatible(HasBits* has_bits) { + (*has_bits)[1] |= 32u; + } + static void set_has_app_name(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_file_type(HasBits* has_bits) { + (*has_bits)[1] |= 4u; + } + static void set_has_can_subscribe(HasBits* has_bits) { + (*has_bits)[1] |= 64u; + } + static void set_has_subscriptions(HasBits* has_bits) { + (*has_bits)[1] |= 8u; + } + static void set_has_favorited(HasBits* has_bits) { + (*has_bits)[1] |= 256u; + } + static void set_has_followers(HasBits* has_bits) { + (*has_bits)[1] |= 512u; + } + static void set_has_lifetime_subscriptions(HasBits* has_bits) { + (*has_bits)[1] |= 1024u; + } + static void set_has_lifetime_favorited(HasBits* has_bits) { + (*has_bits)[1] |= 2048u; + } + static void set_has_lifetime_followers(HasBits* has_bits) { + (*has_bits)[1] |= 4096u; + } + static void set_has_views(HasBits* has_bits) { + (*has_bits)[1] |= 8192u; + } + static void set_has_image_width(HasBits* has_bits) { + (*has_bits)[1] |= 16384u; + } + static void set_has_image_height(HasBits* has_bits) { + (*has_bits)[1] |= 32768u; + } + static void set_has_image_url(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_spoiler_tag(HasBits* has_bits) { + (*has_bits)[1] |= 128u; + } + static void set_has_shortcutid(HasBits* has_bits) { + (*has_bits)[1] |= 65536u; + } + static void set_has_shortcutname(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_num_children(HasBits* has_bits) { + (*has_bits)[1] |= 131072u; + } + static void set_has_num_reports(HasBits* has_bits) { + (*has_bits)[1] |= 262144u; + } + static const ::PublishedFileDetails_VoteData& vote_data(const PublishedFileDetails* msg); + static void set_has_vote_data(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_time_subscribed(HasBits* has_bits) { + (*has_bits)[1] |= 524288u; + } +}; + +const ::PublishedFileDetails_VoteData& +PublishedFileDetails::_Internal::vote_data(const PublishedFileDetails* msg) { + return *msg->_impl_.vote_data_; +} +PublishedFileDetails::PublishedFileDetails(::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:PublishedFileDetails) +} +PublishedFileDetails::PublishedFileDetails(const PublishedFileDetails& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishedFileDetails* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.previews_){from._impl_.previews_} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.children_){from._impl_.children_} + , decltype(_impl_.kvtags_){from._impl_.kvtags_} + , decltype(_impl_.filename_){} + , decltype(_impl_.file_url_){} + , decltype(_impl_.preview_url_){} + , decltype(_impl_.youtubevideoid_){} + , decltype(_impl_.url_){} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.short_description_){} + , decltype(_impl_.ban_reason_){} + , decltype(_impl_.app_name_){} + , decltype(_impl_.image_url_){} + , decltype(_impl_.shortcutname_){} + , decltype(_impl_.vote_data_){nullptr} + , decltype(_impl_.publishedfileid_){} + , decltype(_impl_.result_){} + , decltype(_impl_.creator_appid_){} + , decltype(_impl_.creator_){} + , decltype(_impl_.consumer_appid_){} + , decltype(_impl_.consumer_shortcutid_){} + , decltype(_impl_.file_size_){} + , decltype(_impl_.preview_file_size_){} + , decltype(_impl_.hcontent_file_){} + , decltype(_impl_.hcontent_preview_){} + , decltype(_impl_.time_created_){} + , decltype(_impl_.time_updated_){} + , decltype(_impl_.visibility_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.workshop_file_){} + , decltype(_impl_.workshop_accepted_){} + , decltype(_impl_.show_subscribe_all_){} + , decltype(_impl_.banned_){} + , decltype(_impl_.num_comments_developer_){} + , decltype(_impl_.banner_){} + , decltype(_impl_.num_comments_public_){} + , decltype(_impl_.file_type_){} + , decltype(_impl_.subscriptions_){} + , decltype(_impl_.can_be_deleted_){} + , decltype(_impl_.incompatible_){} + , decltype(_impl_.can_subscribe_){} + , decltype(_impl_.spoiler_tag_){} + , decltype(_impl_.favorited_){} + , decltype(_impl_.followers_){} + , decltype(_impl_.lifetime_subscriptions_){} + , decltype(_impl_.lifetime_favorited_){} + , decltype(_impl_.lifetime_followers_){} + , decltype(_impl_.views_){} + , decltype(_impl_.image_width_){} + , decltype(_impl_.image_height_){} + , decltype(_impl_.shortcutid_){} + , decltype(_impl_.num_children_){} + , decltype(_impl_.num_reports_){} + , decltype(_impl_.time_subscribed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _impl_.file_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_url()) { + _this->_impl_.file_url_.Set(from._internal_file_url(), + _this->GetArenaForAllocation()); + } + _impl_.preview_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_preview_url()) { + _this->_impl_.preview_url_.Set(from._internal_preview_url(), + _this->GetArenaForAllocation()); + } + _impl_.youtubevideoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_youtubevideoid()) { + _this->_impl_.youtubevideoid_.Set(from._internal_youtubevideoid(), + _this->GetArenaForAllocation()); + } + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_url()) { + _this->_impl_.url_.Set(from._internal_url(), + _this->GetArenaForAllocation()); + } + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_title()) { + _this->_impl_.title_.Set(from._internal_title(), + _this->GetArenaForAllocation()); + } + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_description()) { + _this->_impl_.file_description_.Set(from._internal_file_description(), + _this->GetArenaForAllocation()); + } + _impl_.short_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.short_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_short_description()) { + _this->_impl_.short_description_.Set(from._internal_short_description(), + _this->GetArenaForAllocation()); + } + _impl_.ban_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ban_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ban_reason()) { + _this->_impl_.ban_reason_.Set(from._internal_ban_reason(), + _this->GetArenaForAllocation()); + } + _impl_.app_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.app_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_app_name()) { + _this->_impl_.app_name_.Set(from._internal_app_name(), + _this->GetArenaForAllocation()); + } + _impl_.image_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.image_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_image_url()) { + _this->_impl_.image_url_.Set(from._internal_image_url(), + _this->GetArenaForAllocation()); + } + _impl_.shortcutname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.shortcutname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_shortcutname()) { + _this->_impl_.shortcutname_.Set(from._internal_shortcutname(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_vote_data()) { + _this->_impl_.vote_data_ = new ::PublishedFileDetails_VoteData(*from._impl_.vote_data_); + } + ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, + static_cast(reinterpret_cast(&_impl_.time_subscribed_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.time_subscribed_)); + // @@protoc_insertion_point(copy_constructor:PublishedFileDetails) +} + +inline void PublishedFileDetails::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.previews_){arena} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.children_){arena} + , decltype(_impl_.kvtags_){arena} + , decltype(_impl_.filename_){} + , decltype(_impl_.file_url_){} + , decltype(_impl_.preview_url_){} + , decltype(_impl_.youtubevideoid_){} + , decltype(_impl_.url_){} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.short_description_){} + , decltype(_impl_.ban_reason_){} + , decltype(_impl_.app_name_){} + , decltype(_impl_.image_url_){} + , decltype(_impl_.shortcutname_){} + , decltype(_impl_.vote_data_){nullptr} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + , decltype(_impl_.result_){0u} + , decltype(_impl_.creator_appid_){0u} + , decltype(_impl_.creator_){uint64_t{0u}} + , decltype(_impl_.consumer_appid_){0u} + , decltype(_impl_.consumer_shortcutid_){0u} + , decltype(_impl_.file_size_){uint64_t{0u}} + , decltype(_impl_.preview_file_size_){uint64_t{0u}} + , decltype(_impl_.hcontent_file_){uint64_t{0u}} + , decltype(_impl_.hcontent_preview_){uint64_t{0u}} + , decltype(_impl_.time_created_){0u} + , decltype(_impl_.time_updated_){0u} + , decltype(_impl_.visibility_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.workshop_file_){false} + , decltype(_impl_.workshop_accepted_){false} + , decltype(_impl_.show_subscribe_all_){false} + , decltype(_impl_.banned_){false} + , decltype(_impl_.num_comments_developer_){0} + , decltype(_impl_.banner_){uint64_t{0u}} + , decltype(_impl_.num_comments_public_){0} + , decltype(_impl_.file_type_){0u} + , decltype(_impl_.subscriptions_){0u} + , decltype(_impl_.can_be_deleted_){false} + , decltype(_impl_.incompatible_){false} + , decltype(_impl_.can_subscribe_){false} + , decltype(_impl_.spoiler_tag_){false} + , decltype(_impl_.favorited_){0u} + , decltype(_impl_.followers_){0u} + , decltype(_impl_.lifetime_subscriptions_){0u} + , decltype(_impl_.lifetime_favorited_){0u} + , decltype(_impl_.lifetime_followers_){0u} + , decltype(_impl_.views_){0u} + , decltype(_impl_.image_width_){0u} + , decltype(_impl_.image_height_){0u} + , decltype(_impl_.shortcutid_){0u} + , decltype(_impl_.num_children_){0u} + , decltype(_impl_.num_reports_){0u} + , decltype(_impl_.time_subscribed_){0u} + }; + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.short_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.short_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ban_reason_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ban_reason_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.app_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.app_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.image_url_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.image_url_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.shortcutname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.shortcutname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PublishedFileDetails::~PublishedFileDetails() { + // @@protoc_insertion_point(destructor:PublishedFileDetails) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishedFileDetails::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.previews_.~RepeatedPtrField(); + _impl_.tags_.~RepeatedPtrField(); + _impl_.children_.~RepeatedPtrField(); + _impl_.kvtags_.~RepeatedPtrField(); + _impl_.filename_.Destroy(); + _impl_.file_url_.Destroy(); + _impl_.preview_url_.Destroy(); + _impl_.youtubevideoid_.Destroy(); + _impl_.url_.Destroy(); + _impl_.title_.Destroy(); + _impl_.file_description_.Destroy(); + _impl_.short_description_.Destroy(); + _impl_.ban_reason_.Destroy(); + _impl_.app_name_.Destroy(); + _impl_.image_url_.Destroy(); + _impl_.shortcutname_.Destroy(); + if (this != internal_default_instance()) delete _impl_.vote_data_; +} + +void PublishedFileDetails::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishedFileDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:PublishedFileDetails) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.previews_.Clear(); + _impl_.tags_.Clear(); + _impl_.children_.Clear(); + _impl_.kvtags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.file_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.preview_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.youtubevideoid_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000020u) { + _impl_.title_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000040u) { + _impl_.file_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000080u) { + _impl_.short_description_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _impl_.ban_reason_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000200u) { + _impl_.app_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000400u) { + _impl_.image_url_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000800u) { + _impl_.shortcutname_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00001000u) { + GOOGLE_DCHECK(_impl_.vote_data_ != nullptr); + _impl_.vote_data_->Clear(); + } + } + if (cached_has_bits & 0x0000e000u) { + ::memset(&_impl_.publishedfileid_, 0, static_cast( + reinterpret_cast(&_impl_.creator_appid_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.creator_appid_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.creator_, 0, static_cast( + reinterpret_cast(&_impl_.time_created_) - + reinterpret_cast(&_impl_.creator_)) + sizeof(_impl_.time_created_)); + } + if (cached_has_bits & 0xff000000u) { + ::memset(&_impl_.time_updated_, 0, static_cast( + reinterpret_cast(&_impl_.num_comments_developer_) - + reinterpret_cast(&_impl_.time_updated_)) + sizeof(_impl_.num_comments_developer_)); + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.banner_, 0, static_cast( + reinterpret_cast(&_impl_.spoiler_tag_) - + reinterpret_cast(&_impl_.banner_)) + sizeof(_impl_.spoiler_tag_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.favorited_, 0, static_cast( + reinterpret_cast(&_impl_.image_height_) - + reinterpret_cast(&_impl_.favorited_)) + sizeof(_impl_.image_height_)); + } + if (cached_has_bits & 0x000f0000u) { + ::memset(&_impl_.shortcutid_, 0, static_cast( + reinterpret_cast(&_impl_.time_subscribed_) - + reinterpret_cast(&_impl_.shortcutid_)) + sizeof(_impl_.time_subscribed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishedFileDetails::_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) { + // optional uint32 result = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_result(&_impl_._has_bits_); + _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 publishedfileid = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_publishedfileid(&_impl_._has_bits_); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 creator = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_creator(&_impl_._has_bits_); + _impl_.creator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 creator_appid = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_creator_appid(&_impl_._has_bits_); + _impl_.creator_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 consumer_appid = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_consumer_appid(&_impl_._has_bits_); + _impl_.consumer_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 consumer_shortcutid = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_consumer_shortcutid(&_impl_._has_bits_); + _impl_.consumer_shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string filename = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint64 file_size = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_file_size(&_impl_._has_bits_); + _impl_.file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 preview_file_size = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_preview_file_size(&_impl_._has_bits_); + _impl_.preview_file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string file_url = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_file_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.file_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string preview_url = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_preview_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.preview_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string youtubevideoid = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_youtubevideoid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.youtubevideoid"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string url = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 hcontent_file = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { + _Internal::set_has_hcontent_file(&_impl_._has_bits_); + _impl_.hcontent_file_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 hcontent_preview = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 121)) { + _Internal::set_has_hcontent_preview(&_impl_._has_bits_); + _impl_.hcontent_preview_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string title = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_title(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.title"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string file_description = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + auto str = _internal_mutable_file_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.file_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string short_description = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + auto str = _internal_mutable_short_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.short_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 time_created = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_time_created(&_impl_._has_bits_); + _impl_.time_created_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_updated = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_time_updated(&_impl_._has_bits_); + _impl_.time_updated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 visibility = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_visibility(&_impl_._has_bits_); + _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_flags(&_impl_._has_bits_); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool workshop_file = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_workshop_file(&_impl_._has_bits_); + _impl_.workshop_file_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool workshop_accepted = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { + _Internal::set_has_workshop_accepted(&_impl_._has_bits_); + _impl_.workshop_accepted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool show_subscribe_all = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { + _Internal::set_has_show_subscribe_all(&_impl_._has_bits_); + _impl_.show_subscribe_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_comments_developer = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { + _Internal::set_has_num_comments_developer(&_impl_._has_bits_); + _impl_.num_comments_developer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 num_comments_public = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_num_comments_public(&_impl_._has_bits_); + _impl_.num_comments_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool banned = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { + _Internal::set_has_banned(&_impl_._has_bits_); + _impl_.banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string ban_reason = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { + auto str = _internal_mutable_ban_reason(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.ban_reason"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed64 banner = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 241)) { + _Internal::set_has_banner(&_impl_._has_bits_); + _impl_.banner_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bool can_be_deleted = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_can_be_deleted(&_impl_._has_bits_); + _impl_.can_be_deleted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool incompatible = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_incompatible(&_impl_._has_bits_); + _impl_.incompatible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string app_name = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_app_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.app_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 file_type = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_file_type(&_impl_._has_bits_); + _impl_.file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool can_subscribe = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_can_subscribe(&_impl_._has_bits_); + _impl_.can_subscribe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 subscriptions = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_subscriptions(&_impl_._has_bits_); + _impl_.subscriptions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 favorited = 37; + case 37: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_favorited(&_impl_._has_bits_); + _impl_.favorited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 followers = 38; + case 38: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_followers(&_impl_._has_bits_); + _impl_.followers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 lifetime_subscriptions = 39; + case 39: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_lifetime_subscriptions(&_impl_._has_bits_); + _impl_.lifetime_subscriptions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 lifetime_favorited = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_lifetime_favorited(&_impl_._has_bits_); + _impl_.lifetime_favorited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 lifetime_followers = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_lifetime_followers(&_impl_._has_bits_); + _impl_.lifetime_followers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 views = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_views(&_impl_._has_bits_); + _impl_.views_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 image_width = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_image_width(&_impl_._has_bits_); + _impl_.image_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 image_height = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_image_height(&_impl_._has_bits_); + _impl_.image_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string image_url = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_image_url(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.image_url"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool spoiler_tag = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_spoiler_tag(&_impl_._has_bits_); + _impl_.spoiler_tag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 shortcutid = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_shortcutid(&_impl_._has_bits_); + _impl_.shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string shortcutname = 48; + case 48: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + auto str = _internal_mutable_shortcutname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "PublishedFileDetails.shortcutname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 num_children = 49; + case 49: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_num_children(&_impl_._has_bits_); + _impl_.num_children_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 num_reports = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_num_reports(&_impl_._has_bits_); + _impl_.num_reports_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PublishedFileDetails.Preview previews = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_previews(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<410>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .PublishedFileDetails.Tag tags = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<418>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .PublishedFileDetails.Child children = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_children(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<426>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .PublishedFileDetails.KVTag kvtags = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_kvtags(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<434>(ptr)); + } else + goto handle_unusual; + continue; + // optional .PublishedFileDetails.VoteData vote_data = 55; + case 55: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { + ptr = ctx->ParseMessage(_internal_mutable_vote_data(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; + case 56: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { + _Internal::set_has_time_subscribed(&_impl_._has_bits_); + _impl_.time_subscribed_ = ::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* PublishedFileDetails::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 result = 1; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), target); + } + + // optional uint64 publishedfileid = 2; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_publishedfileid(), target); + } + + // optional fixed64 creator = 3; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_creator(), target); + } + + // optional uint32 creator_appid = 4; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_creator_appid(), target); + } + + // optional uint32 consumer_appid = 5; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_consumer_appid(), target); + } + + // optional uint32 consumer_shortcutid = 6; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_consumer_shortcutid(), target); + } + + // optional string filename = 7; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.filename"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_filename(), target); + } + + // optional uint64 file_size = 8; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_file_size(), target); + } + + // optional uint64 preview_file_size = 9; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_preview_file_size(), target); + } + + // optional string file_url = 10; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_url().data(), static_cast(this->_internal_file_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.file_url"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_file_url(), target); + } + + // optional string preview_url = 11; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_preview_url().data(), static_cast(this->_internal_preview_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.preview_url"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_preview_url(), target); + } + + // optional string youtubevideoid = 12; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_youtubevideoid().data(), static_cast(this->_internal_youtubevideoid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.youtubevideoid"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_youtubevideoid(), target); + } + + // optional string url = 13; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_url().data(), static_cast(this->_internal_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.url"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_url(), target); + } + + // optional fixed64 hcontent_file = 14; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_hcontent_file(), target); + } + + // optional fixed64 hcontent_preview = 15; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(15, this->_internal_hcontent_preview(), target); + } + + // optional string title = 16; + if (cached_has_bits & 0x00000020u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_title().data(), static_cast(this->_internal_title().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.title"); + target = stream->WriteStringMaybeAliased( + 16, this->_internal_title(), target); + } + + // optional string file_description = 17; + if (cached_has_bits & 0x00000040u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.file_description"); + target = stream->WriteStringMaybeAliased( + 17, this->_internal_file_description(), target); + } + + // optional string short_description = 18; + if (cached_has_bits & 0x00000080u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_short_description().data(), static_cast(this->_internal_short_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.short_description"); + target = stream->WriteStringMaybeAliased( + 18, this->_internal_short_description(), target); + } + + // optional uint32 time_created = 19; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_time_created(), target); + } + + // optional uint32 time_updated = 20; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_time_updated(), target); + } + + // optional uint32 visibility = 21; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_visibility(), target); + } + + // optional uint32 flags = 22; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_flags(), target); + } + + // optional bool workshop_file = 23; + if (cached_has_bits & 0x08000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(23, this->_internal_workshop_file(), target); + } + + // optional bool workshop_accepted = 24; + if (cached_has_bits & 0x10000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(24, this->_internal_workshop_accepted(), target); + } + + // optional bool show_subscribe_all = 25; + if (cached_has_bits & 0x20000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(25, this->_internal_show_subscribe_all(), target); + } + + // optional int32 num_comments_developer = 26; + if (cached_has_bits & 0x80000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(26, this->_internal_num_comments_developer(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional int32 num_comments_public = 27; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(27, this->_internal_num_comments_public(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool banned = 28; + if (cached_has_bits & 0x40000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(28, this->_internal_banned(), target); + } + + // optional string ban_reason = 29; + if (cached_has_bits & 0x00000100u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_ban_reason().data(), static_cast(this->_internal_ban_reason().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.ban_reason"); + target = stream->WriteStringMaybeAliased( + 29, this->_internal_ban_reason(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional fixed64 banner = 30; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(30, this->_internal_banner(), target); + } + + // optional bool can_be_deleted = 31; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(31, this->_internal_can_be_deleted(), target); + } + + // optional bool incompatible = 32; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(32, this->_internal_incompatible(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional string app_name = 33; + if (cached_has_bits & 0x00000200u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_app_name().data(), static_cast(this->_internal_app_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.app_name"); + target = stream->WriteStringMaybeAliased( + 33, this->_internal_app_name(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional uint32 file_type = 34; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_file_type(), target); + } + + // optional bool can_subscribe = 35; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(35, this->_internal_can_subscribe(), target); + } + + // optional uint32 subscriptions = 36; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(36, this->_internal_subscriptions(), target); + } + + // optional uint32 favorited = 37; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(37, this->_internal_favorited(), target); + } + + // optional uint32 followers = 38; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(38, this->_internal_followers(), target); + } + + // optional uint32 lifetime_subscriptions = 39; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(39, this->_internal_lifetime_subscriptions(), target); + } + + // optional uint32 lifetime_favorited = 40; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_lifetime_favorited(), target); + } + + // optional uint32 lifetime_followers = 41; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_lifetime_followers(), target); + } + + // optional uint32 views = 42; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_views(), target); + } + + // optional uint32 image_width = 43; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_image_width(), target); + } + + // optional uint32 image_height = 44; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_image_height(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional string image_url = 45; + if (cached_has_bits & 0x00000400u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_image_url().data(), static_cast(this->_internal_image_url().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.image_url"); + target = stream->WriteStringMaybeAliased( + 45, this->_internal_image_url(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional bool spoiler_tag = 46; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(46, this->_internal_spoiler_tag(), target); + } + + // optional uint32 shortcutid = 47; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_shortcutid(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional string shortcutname = 48; + if (cached_has_bits & 0x00000800u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_shortcutname().data(), static_cast(this->_internal_shortcutname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "PublishedFileDetails.shortcutname"); + target = stream->WriteStringMaybeAliased( + 48, this->_internal_shortcutname(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional uint32 num_children = 49; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(49, this->_internal_num_children(), target); + } + + // optional uint32 num_reports = 50; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_num_reports(), target); + } + + // repeated .PublishedFileDetails.Preview previews = 51; + for (unsigned i = 0, + n = static_cast(this->_internal_previews_size()); i < n; i++) { + const auto& repfield = this->_internal_previews(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(51, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .PublishedFileDetails.Tag tags = 52; + for (unsigned i = 0, + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(52, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .PublishedFileDetails.Child children = 53; + for (unsigned i = 0, + n = static_cast(this->_internal_children_size()); i < n; i++) { + const auto& repfield = this->_internal_children(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(53, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .PublishedFileDetails.KVTag kvtags = 54; + for (unsigned i = 0, + n = static_cast(this->_internal_kvtags_size()); i < n; i++) { + const auto& repfield = this->_internal_kvtags(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(54, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional .PublishedFileDetails.VoteData vote_data = 55; + if (cached_has_bits & 0x00001000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(55, _Internal::vote_data(this), + _Internal::vote_data(this).GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(56, this->_internal_time_subscribed(), 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:PublishedFileDetails) + return target; +} + +size_t PublishedFileDetails::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails) + 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 .PublishedFileDetails.Preview previews = 51; + total_size += 2UL * this->_internal_previews_size(); + for (const auto& msg : this->_impl_.previews_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .PublishedFileDetails.Tag tags = 52; + total_size += 2UL * this->_internal_tags_size(); + for (const auto& msg : this->_impl_.tags_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .PublishedFileDetails.Child children = 53; + total_size += 2UL * this->_internal_children_size(); + for (const auto& msg : this->_impl_.children_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .PublishedFileDetails.KVTag kvtags = 54; + total_size += 2UL * this->_internal_kvtags_size(); + for (const auto& msg : this->_impl_.kvtags_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string filename = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional string file_url = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_url()); + } + + // optional string preview_url = 11; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_preview_url()); + } + + // optional string youtubevideoid = 12; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_youtubevideoid()); + } + + // optional string url = 13; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_url()); + } + + // optional string title = 16; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_title()); + } + + // optional string file_description = 17; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_description()); + } + + // optional string short_description = 18; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_short_description()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional string ban_reason = 29; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ban_reason()); + } + + // optional string app_name = 33; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_app_name()); + } + + // optional string image_url = 45; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_image_url()); + } + + // optional string shortcutname = 48; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_shortcutname()); + } + + // optional .PublishedFileDetails.VoteData vote_data = 55; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vote_data_); + } + + // optional uint64 publishedfileid = 2; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); + } + + // optional uint32 result = 1; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); + } + + // optional uint32 creator_appid = 4; + if (cached_has_bits & 0x00008000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_creator_appid()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional fixed64 creator = 3; + if (cached_has_bits & 0x00010000u) { + total_size += 1 + 8; + } + + // optional uint32 consumer_appid = 5; + if (cached_has_bits & 0x00020000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_appid()); + } + + // optional uint32 consumer_shortcutid = 6; + if (cached_has_bits & 0x00040000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_shortcutid()); + } + + // optional uint64 file_size = 8; + if (cached_has_bits & 0x00080000u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_file_size()); + } + + // optional uint64 preview_file_size = 9; + if (cached_has_bits & 0x00100000u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_preview_file_size()); + } + + // optional fixed64 hcontent_file = 14; + if (cached_has_bits & 0x00200000u) { + total_size += 1 + 8; + } + + // optional fixed64 hcontent_preview = 15; + if (cached_has_bits & 0x00400000u) { + total_size += 1 + 8; + } + + // optional uint32 time_created = 19; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_time_created()); + } + + } + if (cached_has_bits & 0xff000000u) { + // optional uint32 time_updated = 20; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_time_updated()); + } + + // optional uint32 visibility = 21; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_visibility()); + } + + // optional uint32 flags = 22; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flags()); + } + + // optional bool workshop_file = 23; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + 1; + } + + // optional bool workshop_accepted = 24; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + 1; + } + + // optional bool show_subscribe_all = 25; + if (cached_has_bits & 0x20000000u) { + total_size += 2 + 1; + } + + // optional bool banned = 28; + if (cached_has_bits & 0x40000000u) { + total_size += 2 + 1; + } + + // optional int32 num_comments_developer = 26; + if (cached_has_bits & 0x80000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_num_comments_developer()); + } + + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + // optional fixed64 banner = 30; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + 8; + } + + // optional int32 num_comments_public = 27; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_num_comments_public()); + } + + // optional uint32 file_type = 34; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_file_type()); + } + + // optional uint32 subscriptions = 36; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_subscriptions()); + } + + // optional bool can_be_deleted = 31; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + 1; + } + + // optional bool incompatible = 32; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + 1; + } + + // optional bool can_subscribe = 35; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + 1; + } + + // optional bool spoiler_tag = 46; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + 1; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint32 favorited = 37; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_favorited()); + } + + // optional uint32 followers = 38; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_followers()); + } + + // optional uint32 lifetime_subscriptions = 39; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_lifetime_subscriptions()); + } + + // optional uint32 lifetime_favorited = 40; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_lifetime_favorited()); + } + + // optional uint32 lifetime_followers = 41; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_lifetime_followers()); + } + + // optional uint32 views = 42; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_views()); + } + + // optional uint32 image_width = 43; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_image_width()); + } + + // optional uint32 image_height = 44; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_image_height()); + } + + } + if (cached_has_bits & 0x000f0000u) { + // optional uint32 shortcutid = 47; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_shortcutid()); + } + + // optional uint32 num_children = 49; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_num_children()); + } + + // optional uint32 num_reports = 50; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_num_reports()); + } + + // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_time_subscribed()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishedFileDetails::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails::GetClassData() const { return &_class_data_; } + + +void PublishedFileDetails::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:PublishedFileDetails) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.previews_.MergeFrom(from._impl_.previews_); + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + _this->_impl_.children_.MergeFrom(from._impl_.children_); + _this->_impl_.kvtags_.MergeFrom(from._impl_.kvtags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_file_url(from._internal_file_url()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_preview_url(from._internal_preview_url()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_youtubevideoid(from._internal_youtubevideoid()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_url(from._internal_url()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_set_title(from._internal_title()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_set_file_description(from._internal_file_description()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_set_short_description(from._internal_short_description()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_ban_reason(from._internal_ban_reason()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_set_app_name(from._internal_app_name()); + } + if (cached_has_bits & 0x00000400u) { + _this->_internal_set_image_url(from._internal_image_url()); + } + if (cached_has_bits & 0x00000800u) { + _this->_internal_set_shortcutname(from._internal_shortcutname()); + } + if (cached_has_bits & 0x00001000u) { + _this->_internal_mutable_vote_data()->::PublishedFileDetails_VoteData::MergeFrom( + from._internal_vote_data()); + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.result_ = from._impl_.result_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.creator_appid_ = from._impl_.creator_appid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.creator_ = from._impl_.creator_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.consumer_appid_ = from._impl_.consumer_appid_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.consumer_shortcutid_ = from._impl_.consumer_shortcutid_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.file_size_ = from._impl_.file_size_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.preview_file_size_ = from._impl_.preview_file_size_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.hcontent_file_ = from._impl_.hcontent_file_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.hcontent_preview_ = from._impl_.hcontent_preview_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.time_created_ = from._impl_.time_created_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.time_updated_ = from._impl_.time_updated_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.visibility_ = from._impl_.visibility_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x08000000u) { + _this->_impl_.workshop_file_ = from._impl_.workshop_file_; + } + if (cached_has_bits & 0x10000000u) { + _this->_impl_.workshop_accepted_ = from._impl_.workshop_accepted_; + } + if (cached_has_bits & 0x20000000u) { + _this->_impl_.show_subscribe_all_ = from._impl_.show_subscribe_all_; + } + if (cached_has_bits & 0x40000000u) { + _this->_impl_.banned_ = from._impl_.banned_; + } + if (cached_has_bits & 0x80000000u) { + _this->_impl_.num_comments_developer_ = from._impl_.num_comments_developer_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + cached_has_bits = from._impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.banner_ = from._impl_.banner_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.num_comments_public_ = from._impl_.num_comments_public_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.file_type_ = from._impl_.file_type_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.subscriptions_ = from._impl_.subscriptions_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.can_be_deleted_ = from._impl_.can_be_deleted_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.incompatible_ = from._impl_.incompatible_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.can_subscribe_ = from._impl_.can_subscribe_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.spoiler_tag_ = from._impl_.spoiler_tag_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.favorited_ = from._impl_.favorited_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.followers_ = from._impl_.followers_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.lifetime_subscriptions_ = from._impl_.lifetime_subscriptions_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.lifetime_favorited_ = from._impl_.lifetime_favorited_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.lifetime_followers_ = from._impl_.lifetime_followers_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.views_ = from._impl_.views_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.image_width_ = from._impl_.image_width_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.image_height_ = from._impl_.image_height_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + if (cached_has_bits & 0x000f0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.shortcutid_ = from._impl_.shortcutid_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.num_children_ = from._impl_.num_children_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.num_reports_ = from._impl_.num_reports_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.time_subscribed_ = from._impl_.time_subscribed_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishedFileDetails::CopyFrom(const PublishedFileDetails& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishedFileDetails::IsInitialized() const { + return true; +} + +void PublishedFileDetails::InternalSwap(PublishedFileDetails* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); + _impl_.previews_.InternalSwap(&other->_impl_.previews_); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + _impl_.children_.InternalSwap(&other->_impl_.children_); + _impl_.kvtags_.InternalSwap(&other->_impl_.kvtags_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_url_, lhs_arena, + &other->_impl_.file_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.preview_url_, lhs_arena, + &other->_impl_.preview_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.youtubevideoid_, lhs_arena, + &other->_impl_.youtubevideoid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.url_, lhs_arena, + &other->_impl_.url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.title_, lhs_arena, + &other->_impl_.title_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_description_, lhs_arena, + &other->_impl_.file_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.short_description_, lhs_arena, + &other->_impl_.short_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ban_reason_, lhs_arena, + &other->_impl_.ban_reason_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.app_name_, lhs_arena, + &other->_impl_.app_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.image_url_, lhs_arena, + &other->_impl_.image_url_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.shortcutname_, lhs_arena, + &other->_impl_.shortcutname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PublishedFileDetails, _impl_.time_subscribed_) + + sizeof(PublishedFileDetails::_impl_.time_subscribed_) + - PROTOBUF_FIELD_OFFSET(PublishedFileDetails, _impl_.vote_data_)>( + reinterpret_cast(&_impl_.vote_data_), + reinterpret_cast(&other->_impl_.vote_data_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[12]); +} + +// =================================================================== + +class CPublishedFile_GetDetails_Response::_Internal { + public: +}; + +CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_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:CPublishedFile_GetDetails_Response) +} +CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_Response(const CPublishedFile_GetDetails_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_GetDetails_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.publishedfiledetails_){from._impl_.publishedfiledetails_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetDetails_Response) +} + +inline void CPublishedFile_GetDetails_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.publishedfiledetails_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CPublishedFile_GetDetails_Response::~CPublishedFile_GetDetails_Response() { + // @@protoc_insertion_point(destructor:CPublishedFile_GetDetails_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_GetDetails_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.publishedfiledetails_.~RepeatedPtrField(); +} + +void CPublishedFile_GetDetails_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_GetDetails_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetDetails_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.publishedfiledetails_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_GetDetails_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) { + // repeated .PublishedFileDetails publishedfiledetails = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_publishedfiledetails(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CPublishedFile_GetDetails_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetDetails_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .PublishedFileDetails publishedfiledetails = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_publishedfiledetails_size()); i < n; i++) { + const auto& repfield = this->_internal_publishedfiledetails(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CPublishedFile_GetDetails_Response) + return target; +} + +size_t CPublishedFile_GetDetails_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetDetails_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; + + // repeated .PublishedFileDetails publishedfiledetails = 1; + total_size += 1UL * this->_internal_publishedfiledetails_size(); + for (const auto& msg : this->_impl_.publishedfiledetails_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetDetails_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_GetDetails_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetDetails_Response::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_GetDetails_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:CPublishedFile_GetDetails_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.publishedfiledetails_.MergeFrom(from._impl_.publishedfiledetails_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_GetDetails_Response::CopyFrom(const CPublishedFile_GetDetails_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetDetails_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_GetDetails_Response::IsInitialized() const { + return true; +} + +void CPublishedFile_GetDetails_Response::InternalSwap(CPublishedFile_GetDetails_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.publishedfiledetails_.InternalSwap(&other->_impl_.publishedfiledetails_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetDetails_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[13]); +} + +// =================================================================== + +class CPublishedFile_GetUserFiles_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_page(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_numperpage(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_sortmethod(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_totalonly(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_privacy(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_ids_only(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::PROTOBUF_NAMESPACE_ID::internal::LazyString CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_{{{"lastupdated", 11}}, {nullptr}}; +CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_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:CPublishedFile_GetUserFiles_Request) +} +CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_Request(const CPublishedFile_GetUserFiles_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_GetUserFiles_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.requiredtags_){from._impl_.requiredtags_} + , decltype(_impl_.excludedtags_){from._impl_.excludedtags_} + , decltype(_impl_.sortmethod_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.totalonly_){} + , decltype(_impl_.ids_only_){} + , decltype(_impl_.privacy_){} + , decltype(_impl_.page_){} + , decltype(_impl_.numperpage_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sortmethod_.InitDefault(); + if (from._internal_has_sortmethod()) { + _this->_impl_.sortmethod_.Set(from._internal_sortmethod(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.numperpage_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.numperpage_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Request) +} + +inline void CPublishedFile_GetUserFiles_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.requiredtags_){arena} + , decltype(_impl_.excludedtags_){arena} + , decltype(_impl_.sortmethod_){} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.totalonly_){false} + , decltype(_impl_.ids_only_){false} + , decltype(_impl_.privacy_){0u} + , decltype(_impl_.page_){1u} + , decltype(_impl_.numperpage_){1u} + }; + _impl_.sortmethod_.InitDefault(); +} + +CPublishedFile_GetUserFiles_Request::~CPublishedFile_GetUserFiles_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_GetUserFiles_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.requiredtags_.~RepeatedPtrField(); + _impl_.excludedtags_.~RepeatedPtrField(); + _impl_.sortmethod_.Destroy(); +} + +void CPublishedFile_GetUserFiles_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_GetUserFiles_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.requiredtags_.Clear(); + _impl_.excludedtags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.sortmethod_.ClearToDefault(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.privacy_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.privacy_)); + _impl_.page_ = 1u; + _impl_.numperpage_ = 1u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_GetUserFiles_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_page(&has_bits); + _impl_.page_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_numperpage(&has_bits); + _impl_.numperpage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_sortmethod(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.sortmethod"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_totalonly(&has_bits); + _impl_.totalonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_privacy(&has_bits); + _impl_.privacy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ids_only(&has_bits); + _impl_.ids_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_requiredtags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.requiredtags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); + } else + goto handle_unusual; + continue; + // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_excludedtags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.excludedtags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_GetUserFiles_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_page(), target); + } + + // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_numperpage(), target); + } + + // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sortmethod().data(), static_cast(this->_internal_sortmethod().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_GetUserFiles_Request.sortmethod"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_sortmethod(), target); + } + + // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_totalonly(), target); + } + + // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_privacy(), target); + } + + // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_ids_only(), target); + } + + // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; + for (int i = 0, n = this->_internal_requiredtags_size(); i < n; i++) { + const auto& s = this->_internal_requiredtags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_GetUserFiles_Request.requiredtags"); + target = stream->WriteString(11, s, target); + } + + // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; + for (int i = 0, n = this->_internal_excludedtags_size(); i < n; i++) { + const auto& s = this->_internal_excludedtags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_GetUserFiles_Request.excludedtags"); + target = stream->WriteString(12, 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:CPublishedFile_GetUserFiles_Request) + return target; +} + +size_t CPublishedFile_GetUserFiles_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_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; + + // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.requiredtags_.size()); + for (int i = 0, n = _impl_.requiredtags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.requiredtags_.Get(i)); + } + + // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.excludedtags_.size()); + for (int i = 0, n = _impl_.excludedtags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.excludedtags_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sortmethod()); + } + + // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_privacy()); + } + + // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_page()); + } + + // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_numperpage()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_GetUserFiles_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_GetUserFiles_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:CPublishedFile_GetUserFiles_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.requiredtags_.MergeFrom(from._impl_.requiredtags_); + _this->_impl_.excludedtags_.MergeFrom(from._impl_.excludedtags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sortmethod(from._internal_sortmethod()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.totalonly_ = from._impl_.totalonly_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ids_only_ = from._impl_.ids_only_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.privacy_ = from._impl_.privacy_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.page_ = from._impl_.page_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.numperpage_ = from._impl_.numperpage_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_GetUserFiles_Request::CopyFrom(const CPublishedFile_GetUserFiles_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_GetUserFiles_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_GetUserFiles_Request::InternalSwap(CPublishedFile_GetUserFiles_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.requiredtags_.InternalSwap(&other->_impl_.requiredtags_); + _impl_.excludedtags_.InternalSwap(&other->_impl_.excludedtags_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sortmethod_, lhs_arena, + &other->_impl_.sortmethod_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Request, _impl_.privacy_) + + sizeof(CPublishedFile_GetUserFiles_Request::_impl_.privacy_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); + swap(_impl_.page_, other->_impl_.page_); + swap(_impl_.numperpage_, other->_impl_.numperpage_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[14]); +} + +// =================================================================== + +class CPublishedFile_GetUserFiles_Response_App::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_shortcutid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_private_(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App(::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:CPublishedFile_GetUserFiles_Response.App) +} +CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App(const CPublishedFile_GetUserFiles_Response_App& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_GetUserFiles_Response_App* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.shortcutid_){} + , decltype(_impl_.private__){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.private__) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.private__)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Response.App) +} + +inline void CPublishedFile_GetUserFiles_Response_App::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.shortcutid_){0u} + , decltype(_impl_.private__){false} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPublishedFile_GetUserFiles_Response_App::~CPublishedFile_GetUserFiles_Response_App() { + // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Response.App) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_GetUserFiles_Response_App::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CPublishedFile_GetUserFiles_Response_App::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_GetUserFiles_Response_App::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Response.App) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.private__) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.private__)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_GetUserFiles_Response_App::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Response.App.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 shortcutid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_shortcutid(&has_bits); + _impl_.shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool private = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_private_(&has_bits); + _impl_.private__ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_GetUserFiles_Response_App::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Response.App) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_GetUserFiles_Response.App.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional uint32 shortcutid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_shortcutid(), target); + } + + // optional bool private = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_private_(), 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:CPublishedFile_GetUserFiles_Response.App) + return target; +} + +size_t CPublishedFile_GetUserFiles_Response_App::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_Response.App) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 shortcutid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_shortcutid()); + } + + // optional bool private = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Response_App::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_GetUserFiles_Response_App::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Response_App::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_GetUserFiles_Response_App::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:CPublishedFile_GetUserFiles_Response.App) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.shortcutid_ = from._impl_.shortcutid_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.private__ = from._impl_.private__; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_GetUserFiles_Response_App::CopyFrom(const CPublishedFile_GetUserFiles_Response_App& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Response.App) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_GetUserFiles_Response_App::IsInitialized() const { + return true; +} + +void CPublishedFile_GetUserFiles_Response_App::InternalSwap(CPublishedFile_GetUserFiles_Response_App* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response_App, _impl_.private__) + + sizeof(CPublishedFile_GetUserFiles_Response_App::_impl_.private__) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response_App, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Response_App::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[15]); +} + +// =================================================================== + +class CPublishedFile_GetUserFiles_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_total(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_startindex(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_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:CPublishedFile_GetUserFiles_Response) +} +CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_Response(const CPublishedFile_GetUserFiles_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_GetUserFiles_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfiledetails_){from._impl_.publishedfiledetails_} + , decltype(_impl_.apps_){from._impl_.apps_} + , decltype(_impl_.total_){} + , decltype(_impl_.startindex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.total_, &from._impl_.total_, + static_cast(reinterpret_cast(&_impl_.startindex_) - + reinterpret_cast(&_impl_.total_)) + sizeof(_impl_.startindex_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Response) +} + +inline void CPublishedFile_GetUserFiles_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.publishedfiledetails_){arena} + , decltype(_impl_.apps_){arena} + , decltype(_impl_.total_){0u} + , decltype(_impl_.startindex_){0u} + }; +} + +CPublishedFile_GetUserFiles_Response::~CPublishedFile_GetUserFiles_Response() { + // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_GetUserFiles_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.publishedfiledetails_.~RepeatedPtrField(); + _impl_.apps_.~RepeatedPtrField(); +} + +void CPublishedFile_GetUserFiles_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_GetUserFiles_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.publishedfiledetails_.Clear(); + _impl_.apps_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.total_, 0, static_cast( + reinterpret_cast(&_impl_.startindex_) - + reinterpret_cast(&_impl_.total_)) + sizeof(_impl_.startindex_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_GetUserFiles_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 total = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_total(&has_bits); + _impl_.total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 startindex = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_startindex(&has_bits); + _impl_.startindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .PublishedFileDetails publishedfiledetails = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_publishedfiledetails(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_apps(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_GetUserFiles_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 total = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_total(), target); + } + + // optional uint32 startindex = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startindex(), target); + } + + // repeated .PublishedFileDetails publishedfiledetails = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_publishedfiledetails_size()); i < n; i++) { + const auto& repfield = this->_internal_publishedfiledetails(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_apps_size()); i < n; i++) { + const auto& repfield = this->_internal_apps(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:CPublishedFile_GetUserFiles_Response) + return target; +} + +size_t CPublishedFile_GetUserFiles_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_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; + + // repeated .PublishedFileDetails publishedfiledetails = 3; + total_size += 1UL * this->_internal_publishedfiledetails_size(); + for (const auto& msg : this->_impl_.publishedfiledetails_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; + total_size += 1UL * this->_internal_apps_size(); + for (const auto& msg : this->_impl_.apps_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 total = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total()); + } + + // optional uint32 startindex = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_GetUserFiles_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Response::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_GetUserFiles_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:CPublishedFile_GetUserFiles_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.publishedfiledetails_.MergeFrom(from._impl_.publishedfiledetails_); + _this->_impl_.apps_.MergeFrom(from._impl_.apps_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.total_ = from._impl_.total_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.startindex_ = from._impl_.startindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_GetUserFiles_Response::CopyFrom(const CPublishedFile_GetUserFiles_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_GetUserFiles_Response::IsInitialized() const { + return true; +} + +void CPublishedFile_GetUserFiles_Response::InternalSwap(CPublishedFile_GetUserFiles_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.publishedfiledetails_.InternalSwap(&other->_impl_.publishedfiledetails_); + _impl_.apps_.InternalSwap(&other->_impl_.apps_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response, _impl_.startindex_) + + sizeof(CPublishedFile_GetUserFiles_Response::_impl_.startindex_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response, _impl_.total_)>( + reinterpret_cast(&_impl_.total_), + reinterpret_cast(&other->_impl_.total_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[16]); +} + +// =================================================================== + +class CPublishedFile_Update_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_publishedfileid(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_title(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_file_description(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_visibility(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_preview_filename(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CPublishedFile_Update_Request::CPublishedFile_Update_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:CPublishedFile_Update_Request) +} +CPublishedFile_Update_Request::CPublishedFile_Update_Request(const CPublishedFile_Update_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_Update_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.filename_){} + , decltype(_impl_.preview_filename_){} + , decltype(_impl_.publishedfileid_){} + , decltype(_impl_.appid_){} + , decltype(_impl_.visibility_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_title()) { + _this->_impl_.title_.Set(from._internal_title(), + _this->GetArenaForAllocation()); + } + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_description()) { + _this->_impl_.file_description_.Set(from._internal_file_description(), + _this->GetArenaForAllocation()); + } + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + _impl_.preview_filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_preview_filename()) { + _this->_impl_.preview_filename_.Set(from._internal_preview_filename(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, + static_cast(reinterpret_cast(&_impl_.visibility_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.visibility_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Update_Request) +} + +inline void CPublishedFile_Update_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.title_){} + , decltype(_impl_.file_description_){} + , decltype(_impl_.filename_){} + , decltype(_impl_.preview_filename_){} + , decltype(_impl_.publishedfileid_){uint64_t{0u}} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.visibility_){0u} + }; + _impl_.title_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.title_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.preview_filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CPublishedFile_Update_Request::~CPublishedFile_Update_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_Update_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_Update_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tags_.~RepeatedPtrField(); + _impl_.title_.Destroy(); + _impl_.file_description_.Destroy(); + _impl_.filename_.Destroy(); + _impl_.preview_filename_.Destroy(); +} + +void CPublishedFile_Update_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_Update_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_Update_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.title_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.file_description_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.preview_filename_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000070u) { + ::memset(&_impl_.publishedfileid_, 0, static_cast( + reinterpret_cast(&_impl_.visibility_) - + reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.visibility_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_Update_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_publishedfileid(&has_bits); + _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_title(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.title"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_file_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.file_description"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_visibility(&has_bits); + _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_tags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.tags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_preview_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.preview_filename"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_Update_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Update_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_publishedfileid(), target); + } + + // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_title().data(), static_cast(this->_internal_title().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Update_Request.title"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_title(), target); + } + + // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Update_Request.file_description"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_file_description(), target); + } + + // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_visibility(), target); + } + + // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; + for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { + const auto& s = this->_internal_tags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Update_Request.tags"); + target = stream->WriteString(6, s, target); + } + + // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Update_Request.filename"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_filename(), target); + } + + // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_preview_filename().data(), static_cast(this->_internal_preview_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_Update_Request.preview_filename"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_preview_filename(), 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:CPublishedFile_Update_Request) + return target; +} + +size_t CPublishedFile_Update_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Update_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; + + // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); + for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.tags_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_title()); + } + + // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_description()); + } + + // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_preview_filename()); + } + + // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_visibility()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Update_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_Update_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Update_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_Update_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:CPublishedFile_Update_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_title(from._internal_title()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_file_description(from._internal_file_description()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_preview_filename(from._internal_preview_filename()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.visibility_ = from._impl_.visibility_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_Update_Request::CopyFrom(const CPublishedFile_Update_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Update_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_Update_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_Update_Request::InternalSwap(CPublishedFile_Update_Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.title_, lhs_arena, + &other->_impl_.title_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_description_, lhs_arena, + &other->_impl_.file_description_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.preview_filename_, lhs_arena, + &other->_impl_.preview_filename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_Update_Request, _impl_.visibility_) + + sizeof(CPublishedFile_Update_Request::_impl_.visibility_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_Update_Request, _impl_.publishedfileid_)>( + reinterpret_cast(&_impl_.publishedfileid_), + reinterpret_cast(&other->_impl_.publishedfileid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Update_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[17]); +} + +// =================================================================== + +class CPublishedFile_Update_Response::_Internal { + public: +}; + +CPublishedFile_Update_Response::CPublishedFile_Update_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPublishedFile_Update_Response) +} +CPublishedFile_Update_Response::CPublishedFile_Update_Response(const CPublishedFile_Update_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPublishedFile_Update_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_Update_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Update_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Update_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Update_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[18]); +} + +// =================================================================== + +class CPublishedFile_RefreshVotingQueue_Request::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_appid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_matching_file_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_match_all_tags(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_desired_queue_size(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_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:CPublishedFile_RefreshVotingQueue_Request) +} +CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_Request(const CPublishedFile_RefreshVotingQueue_Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CPublishedFile_RefreshVotingQueue_Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){from._impl_.tags_} + , decltype(_impl_.excluded_tags_){from._impl_.excluded_tags_} + , decltype(_impl_.appid_){} + , decltype(_impl_.matching_file_type_){} + , decltype(_impl_.desired_queue_size_){} + , decltype(_impl_.match_all_tags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.appid_, &from._impl_.appid_, + static_cast(reinterpret_cast(&_impl_.match_all_tags_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.match_all_tags_)); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_RefreshVotingQueue_Request) +} + +inline void CPublishedFile_RefreshVotingQueue_Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tags_){arena} + , decltype(_impl_.excluded_tags_){arena} + , decltype(_impl_.appid_){0u} + , decltype(_impl_.matching_file_type_){0u} + , decltype(_impl_.desired_queue_size_){0u} + , decltype(_impl_.match_all_tags_){true} + }; +} + +CPublishedFile_RefreshVotingQueue_Request::~CPublishedFile_RefreshVotingQueue_Request() { + // @@protoc_insertion_point(destructor:CPublishedFile_RefreshVotingQueue_Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CPublishedFile_RefreshVotingQueue_Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.tags_.~RepeatedPtrField(); + _impl_.excluded_tags_.~RepeatedPtrField(); +} + +void CPublishedFile_RefreshVotingQueue_Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CPublishedFile_RefreshVotingQueue_Request::Clear() { +// @@protoc_insertion_point(message_clear_start:CPublishedFile_RefreshVotingQueue_Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tags_.Clear(); + _impl_.excluded_tags_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.appid_, 0, static_cast( + reinterpret_cast(&_impl_.desired_queue_size_) - + reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.desired_queue_size_)); + _impl_.match_all_tags_ = true; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CPublishedFile_RefreshVotingQueue_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 appid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_appid(&has_bits); + _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_matching_file_type(&has_bits); + _impl_.matching_file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_tags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_RefreshVotingQueue_Request.tags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_match_all_tags(&has_bits); + _impl_.match_all_tags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_excluded_tags(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CPublishedFile_RefreshVotingQueue_Request.excluded_tags"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_desired_queue_size(&has_bits); + _impl_.desired_queue_size_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CPublishedFile_RefreshVotingQueue_Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_RefreshVotingQueue_Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); + } + + // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matching_file_type(), target); + } + + // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; + for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { + const auto& s = this->_internal_tags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_RefreshVotingQueue_Request.tags"); + target = stream->WriteString(3, s, target); + } + + // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_match_all_tags(), target); + } + + // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; + for (int i = 0, n = this->_internal_excluded_tags_size(); i < n; i++) { + const auto& s = this->_internal_excluded_tags(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CPublishedFile_RefreshVotingQueue_Request.excluded_tags"); + target = stream->WriteString(5, s, target); + } + + // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_desired_queue_size(), 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:CPublishedFile_RefreshVotingQueue_Request) + return target; +} + +size_t CPublishedFile_RefreshVotingQueue_Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_RefreshVotingQueue_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; + + // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); + for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.tags_.Get(i)); + } + + // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.excluded_tags_.size()); + for (int i = 0, n = _impl_.excluded_tags_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.excluded_tags_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 appid = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); + } + + // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matching_file_type()); + } + + // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_desired_queue_size()); + } + + // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_RefreshVotingQueue_Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CPublishedFile_RefreshVotingQueue_Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_RefreshVotingQueue_Request::GetClassData() const { return &_class_data_; } + + +void CPublishedFile_RefreshVotingQueue_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:CPublishedFile_RefreshVotingQueue_Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.tags_.MergeFrom(from._impl_.tags_); + _this->_impl_.excluded_tags_.MergeFrom(from._impl_.excluded_tags_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.appid_ = from._impl_.appid_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.matching_file_type_ = from._impl_.matching_file_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.desired_queue_size_ = from._impl_.desired_queue_size_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.match_all_tags_ = from._impl_.match_all_tags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CPublishedFile_RefreshVotingQueue_Request::CopyFrom(const CPublishedFile_RefreshVotingQueue_Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_RefreshVotingQueue_Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CPublishedFile_RefreshVotingQueue_Request::IsInitialized() const { + return true; +} + +void CPublishedFile_RefreshVotingQueue_Request::InternalSwap(CPublishedFile_RefreshVotingQueue_Request* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.tags_.InternalSwap(&other->_impl_.tags_); + _impl_.excluded_tags_.InternalSwap(&other->_impl_.excluded_tags_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CPublishedFile_RefreshVotingQueue_Request, _impl_.desired_queue_size_) + + sizeof(CPublishedFile_RefreshVotingQueue_Request::_impl_.desired_queue_size_) + - PROTOBUF_FIELD_OFFSET(CPublishedFile_RefreshVotingQueue_Request, _impl_.appid_)>( + reinterpret_cast(&_impl_.appid_), + reinterpret_cast(&other->_impl_.appid_)); + swap(_impl_.match_all_tags_, other->_impl_.match_all_tags_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_RefreshVotingQueue_Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[19]); +} + +// =================================================================== + +class CPublishedFile_RefreshVotingQueue_Response::_Internal { + public: +}; + +CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CPublishedFile_RefreshVotingQueue_Response) +} +CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response(const CPublishedFile_RefreshVotingQueue_Response& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CPublishedFile_RefreshVotingQueue_Response* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CPublishedFile_RefreshVotingQueue_Response) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_RefreshVotingQueue_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_RefreshVotingQueue_Response::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_RefreshVotingQueue_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, + file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[20]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CPublishedFile_Subscribe_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_Subscribe_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Subscribe_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Subscribe_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_Subscribe_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Subscribe_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Unsubscribe_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_Unsubscribe_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Unsubscribe_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Unsubscribe_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_Unsubscribe_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Unsubscribe_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Publish_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_Publish_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Publish_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Publish_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_Publish_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Publish_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_GetDetails_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_GetDetails_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_GetDetails_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Tag* +Arena::CreateMaybeMessage< ::PublishedFileDetails_Tag >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails_Tag >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Preview* +Arena::CreateMaybeMessage< ::PublishedFileDetails_Preview >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails_Preview >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Child* +Arena::CreateMaybeMessage< ::PublishedFileDetails_Child >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails_Child >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails_KVTag* +Arena::CreateMaybeMessage< ::PublishedFileDetails_KVTag >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails_KVTag >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails_VoteData* +Arena::CreateMaybeMessage< ::PublishedFileDetails_VoteData >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails_VoteData >(arena); +} +template<> PROTOBUF_NOINLINE ::PublishedFileDetails* +Arena::CreateMaybeMessage< ::PublishedFileDetails >(Arena* arena) { + return Arena::CreateMessageInternal< ::PublishedFileDetails >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_GetDetails_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_GetDetails_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_GetDetails_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Response_App* +Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Response_App >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Response_App >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Update_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_Update_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Update_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_Update_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_Update_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_Update_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_RefreshVotingQueue_Request* +Arena::CreateMaybeMessage< ::CPublishedFile_RefreshVotingQueue_Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_RefreshVotingQueue_Request >(arena); +} +template<> PROTOBUF_NOINLINE ::CPublishedFile_RefreshVotingQueue_Response* +Arena::CreateMaybeMessage< ::CPublishedFile_RefreshVotingQueue_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CPublishedFile_RefreshVotingQueue_Response >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.h new file mode 100644 index 0000000..5ecd529 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_publishedfile.steamworkssdk.pb.h @@ -0,0 +1,11314 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_publishedfile.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_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 3021008 < 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 "steammessages_unified_base.steamworkssdk.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fpublishedfile_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +class CPublishedFile_GetDetails_Request; +struct CPublishedFile_GetDetails_RequestDefaultTypeInternal; +extern CPublishedFile_GetDetails_RequestDefaultTypeInternal _CPublishedFile_GetDetails_Request_default_instance_; +class CPublishedFile_GetDetails_Response; +struct CPublishedFile_GetDetails_ResponseDefaultTypeInternal; +extern CPublishedFile_GetDetails_ResponseDefaultTypeInternal _CPublishedFile_GetDetails_Response_default_instance_; +class CPublishedFile_GetUserFiles_Request; +struct CPublishedFile_GetUserFiles_RequestDefaultTypeInternal; +extern CPublishedFile_GetUserFiles_RequestDefaultTypeInternal _CPublishedFile_GetUserFiles_Request_default_instance_; +class CPublishedFile_GetUserFiles_Response; +struct CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal; +extern CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_default_instance_; +class CPublishedFile_GetUserFiles_Response_App; +struct CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal; +extern CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_App_default_instance_; +class CPublishedFile_Publish_Request; +struct CPublishedFile_Publish_RequestDefaultTypeInternal; +extern CPublishedFile_Publish_RequestDefaultTypeInternal _CPublishedFile_Publish_Request_default_instance_; +class CPublishedFile_Publish_Response; +struct CPublishedFile_Publish_ResponseDefaultTypeInternal; +extern CPublishedFile_Publish_ResponseDefaultTypeInternal _CPublishedFile_Publish_Response_default_instance_; +class CPublishedFile_RefreshVotingQueue_Request; +struct CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal; +extern CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Request_default_instance_; +class CPublishedFile_RefreshVotingQueue_Response; +struct CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal; +extern CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Response_default_instance_; +class CPublishedFile_Subscribe_Request; +struct CPublishedFile_Subscribe_RequestDefaultTypeInternal; +extern CPublishedFile_Subscribe_RequestDefaultTypeInternal _CPublishedFile_Subscribe_Request_default_instance_; +class CPublishedFile_Subscribe_Response; +struct CPublishedFile_Subscribe_ResponseDefaultTypeInternal; +extern CPublishedFile_Subscribe_ResponseDefaultTypeInternal _CPublishedFile_Subscribe_Response_default_instance_; +class CPublishedFile_Unsubscribe_Request; +struct CPublishedFile_Unsubscribe_RequestDefaultTypeInternal; +extern CPublishedFile_Unsubscribe_RequestDefaultTypeInternal _CPublishedFile_Unsubscribe_Request_default_instance_; +class CPublishedFile_Unsubscribe_Response; +struct CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal; +extern CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal _CPublishedFile_Unsubscribe_Response_default_instance_; +class CPublishedFile_Update_Request; +struct CPublishedFile_Update_RequestDefaultTypeInternal; +extern CPublishedFile_Update_RequestDefaultTypeInternal _CPublishedFile_Update_Request_default_instance_; +class CPublishedFile_Update_Response; +struct CPublishedFile_Update_ResponseDefaultTypeInternal; +extern CPublishedFile_Update_ResponseDefaultTypeInternal _CPublishedFile_Update_Response_default_instance_; +class PublishedFileDetails; +struct PublishedFileDetailsDefaultTypeInternal; +extern PublishedFileDetailsDefaultTypeInternal _PublishedFileDetails_default_instance_; +class PublishedFileDetails_Child; +struct PublishedFileDetails_ChildDefaultTypeInternal; +extern PublishedFileDetails_ChildDefaultTypeInternal _PublishedFileDetails_Child_default_instance_; +class PublishedFileDetails_KVTag; +struct PublishedFileDetails_KVTagDefaultTypeInternal; +extern PublishedFileDetails_KVTagDefaultTypeInternal _PublishedFileDetails_KVTag_default_instance_; +class PublishedFileDetails_Preview; +struct PublishedFileDetails_PreviewDefaultTypeInternal; +extern PublishedFileDetails_PreviewDefaultTypeInternal _PublishedFileDetails_Preview_default_instance_; +class PublishedFileDetails_Tag; +struct PublishedFileDetails_TagDefaultTypeInternal; +extern PublishedFileDetails_TagDefaultTypeInternal _PublishedFileDetails_Tag_default_instance_; +class PublishedFileDetails_VoteData; +struct PublishedFileDetails_VoteDataDefaultTypeInternal; +extern PublishedFileDetails_VoteDataDefaultTypeInternal _PublishedFileDetails_VoteData_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CPublishedFile_GetDetails_Request* Arena::CreateMaybeMessage<::CPublishedFile_GetDetails_Request>(Arena*); +template<> ::CPublishedFile_GetDetails_Response* Arena::CreateMaybeMessage<::CPublishedFile_GetDetails_Response>(Arena*); +template<> ::CPublishedFile_GetUserFiles_Request* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Request>(Arena*); +template<> ::CPublishedFile_GetUserFiles_Response* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Response>(Arena*); +template<> ::CPublishedFile_GetUserFiles_Response_App* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Response_App>(Arena*); +template<> ::CPublishedFile_Publish_Request* Arena::CreateMaybeMessage<::CPublishedFile_Publish_Request>(Arena*); +template<> ::CPublishedFile_Publish_Response* Arena::CreateMaybeMessage<::CPublishedFile_Publish_Response>(Arena*); +template<> ::CPublishedFile_RefreshVotingQueue_Request* Arena::CreateMaybeMessage<::CPublishedFile_RefreshVotingQueue_Request>(Arena*); +template<> ::CPublishedFile_RefreshVotingQueue_Response* Arena::CreateMaybeMessage<::CPublishedFile_RefreshVotingQueue_Response>(Arena*); +template<> ::CPublishedFile_Subscribe_Request* Arena::CreateMaybeMessage<::CPublishedFile_Subscribe_Request>(Arena*); +template<> ::CPublishedFile_Subscribe_Response* Arena::CreateMaybeMessage<::CPublishedFile_Subscribe_Response>(Arena*); +template<> ::CPublishedFile_Unsubscribe_Request* Arena::CreateMaybeMessage<::CPublishedFile_Unsubscribe_Request>(Arena*); +template<> ::CPublishedFile_Unsubscribe_Response* Arena::CreateMaybeMessage<::CPublishedFile_Unsubscribe_Response>(Arena*); +template<> ::CPublishedFile_Update_Request* Arena::CreateMaybeMessage<::CPublishedFile_Update_Request>(Arena*); +template<> ::CPublishedFile_Update_Response* Arena::CreateMaybeMessage<::CPublishedFile_Update_Response>(Arena*); +template<> ::PublishedFileDetails* Arena::CreateMaybeMessage<::PublishedFileDetails>(Arena*); +template<> ::PublishedFileDetails_Child* Arena::CreateMaybeMessage<::PublishedFileDetails_Child>(Arena*); +template<> ::PublishedFileDetails_KVTag* Arena::CreateMaybeMessage<::PublishedFileDetails_KVTag>(Arena*); +template<> ::PublishedFileDetails_Preview* Arena::CreateMaybeMessage<::PublishedFileDetails_Preview>(Arena*); +template<> ::PublishedFileDetails_Tag* Arena::CreateMaybeMessage<::PublishedFileDetails_Tag>(Arena*); +template<> ::PublishedFileDetails_VoteData* Arena::CreateMaybeMessage<::PublishedFileDetails_VoteData>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CPublishedFile_Subscribe_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Subscribe_Request) */ { + public: + inline CPublishedFile_Subscribe_Request() : CPublishedFile_Subscribe_Request(nullptr) {} + ~CPublishedFile_Subscribe_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Subscribe_Request(const CPublishedFile_Subscribe_Request& from); + CPublishedFile_Subscribe_Request(CPublishedFile_Subscribe_Request&& from) noexcept + : CPublishedFile_Subscribe_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_Subscribe_Request& operator=(const CPublishedFile_Subscribe_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Subscribe_Request& operator=(CPublishedFile_Subscribe_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Subscribe_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Subscribe_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Subscribe_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CPublishedFile_Subscribe_Request& a, CPublishedFile_Subscribe_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Subscribe_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(CPublishedFile_Subscribe_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Subscribe_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_Subscribe_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_Subscribe_Request& from) { + CPublishedFile_Subscribe_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(CPublishedFile_Subscribe_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_Subscribe_Request"; + } + protected: + explicit CPublishedFile_Subscribe_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 { + kPublishedfileidFieldNumber = 1, + kListTypeFieldNumber = 2, + kAppidFieldNumber = 3, + kNotifyClientFieldNumber = 4, + }; + // optional uint64 publishedfileid = 1; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // optional uint32 list_type = 2; + bool has_list_type() const; + private: + bool _internal_has_list_type() const; + public: + void clear_list_type(); + uint32_t list_type() const; + void set_list_type(uint32_t value); + private: + uint32_t _internal_list_type() const; + void _internal_set_list_type(uint32_t value); + public: + + // optional int32 appid = 3; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + int32_t appid() const; + void set_appid(int32_t value); + private: + int32_t _internal_appid() const; + void _internal_set_appid(int32_t value); + public: + + // optional bool notify_client = 4; + bool has_notify_client() const; + private: + bool _internal_has_notify_client() const; + public: + void clear_notify_client(); + bool notify_client() const; + void set_notify_client(bool value); + private: + bool _internal_notify_client() const; + void _internal_set_notify_client(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_Subscribe_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t publishedfileid_; + uint32_t list_type_; + int32_t appid_; + bool notify_client_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Subscribe_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Subscribe_Response) */ { + public: + inline CPublishedFile_Subscribe_Response() : CPublishedFile_Subscribe_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Subscribe_Response(const CPublishedFile_Subscribe_Response& from); + CPublishedFile_Subscribe_Response(CPublishedFile_Subscribe_Response&& from) noexcept + : CPublishedFile_Subscribe_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_Subscribe_Response& operator=(const CPublishedFile_Subscribe_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Subscribe_Response& operator=(CPublishedFile_Subscribe_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Subscribe_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Subscribe_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Subscribe_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CPublishedFile_Subscribe_Response& a, CPublishedFile_Subscribe_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Subscribe_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(CPublishedFile_Subscribe_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Subscribe_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPublishedFile_Subscribe_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPublishedFile_Subscribe_Response& 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 "CPublishedFile_Subscribe_Response"; + } + protected: + explicit CPublishedFile_Subscribe_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPublishedFile_Subscribe_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Unsubscribe_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Unsubscribe_Request) */ { + public: + inline CPublishedFile_Unsubscribe_Request() : CPublishedFile_Unsubscribe_Request(nullptr) {} + ~CPublishedFile_Unsubscribe_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Unsubscribe_Request(const CPublishedFile_Unsubscribe_Request& from); + CPublishedFile_Unsubscribe_Request(CPublishedFile_Unsubscribe_Request&& from) noexcept + : CPublishedFile_Unsubscribe_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_Unsubscribe_Request& operator=(const CPublishedFile_Unsubscribe_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Unsubscribe_Request& operator=(CPublishedFile_Unsubscribe_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Unsubscribe_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Unsubscribe_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Unsubscribe_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CPublishedFile_Unsubscribe_Request& a, CPublishedFile_Unsubscribe_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Unsubscribe_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(CPublishedFile_Unsubscribe_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Unsubscribe_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_Unsubscribe_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_Unsubscribe_Request& from) { + CPublishedFile_Unsubscribe_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(CPublishedFile_Unsubscribe_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_Unsubscribe_Request"; + } + protected: + explicit CPublishedFile_Unsubscribe_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 { + kPublishedfileidFieldNumber = 1, + kListTypeFieldNumber = 2, + kAppidFieldNumber = 3, + kNotifyClientFieldNumber = 4, + }; + // optional uint64 publishedfileid = 1; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // optional uint32 list_type = 2; + bool has_list_type() const; + private: + bool _internal_has_list_type() const; + public: + void clear_list_type(); + uint32_t list_type() const; + void set_list_type(uint32_t value); + private: + uint32_t _internal_list_type() const; + void _internal_set_list_type(uint32_t value); + public: + + // optional int32 appid = 3; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + int32_t appid() const; + void set_appid(int32_t value); + private: + int32_t _internal_appid() const; + void _internal_set_appid(int32_t value); + public: + + // optional bool notify_client = 4; + bool has_notify_client() const; + private: + bool _internal_has_notify_client() const; + public: + void clear_notify_client(); + bool notify_client() const; + void set_notify_client(bool value); + private: + bool _internal_notify_client() const; + void _internal_set_notify_client(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_Unsubscribe_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t publishedfileid_; + uint32_t list_type_; + int32_t appid_; + bool notify_client_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Unsubscribe_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Unsubscribe_Response) */ { + public: + inline CPublishedFile_Unsubscribe_Response() : CPublishedFile_Unsubscribe_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Unsubscribe_Response(const CPublishedFile_Unsubscribe_Response& from); + CPublishedFile_Unsubscribe_Response(CPublishedFile_Unsubscribe_Response&& from) noexcept + : CPublishedFile_Unsubscribe_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_Unsubscribe_Response& operator=(const CPublishedFile_Unsubscribe_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Unsubscribe_Response& operator=(CPublishedFile_Unsubscribe_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Unsubscribe_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Unsubscribe_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Unsubscribe_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CPublishedFile_Unsubscribe_Response& a, CPublishedFile_Unsubscribe_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Unsubscribe_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(CPublishedFile_Unsubscribe_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Unsubscribe_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPublishedFile_Unsubscribe_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPublishedFile_Unsubscribe_Response& 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 "CPublishedFile_Unsubscribe_Response"; + } + protected: + explicit CPublishedFile_Unsubscribe_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPublishedFile_Unsubscribe_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Publish_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Publish_Request) */ { + public: + inline CPublishedFile_Publish_Request() : CPublishedFile_Publish_Request(nullptr) {} + ~CPublishedFile_Publish_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_Publish_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Publish_Request(const CPublishedFile_Publish_Request& from); + CPublishedFile_Publish_Request(CPublishedFile_Publish_Request&& from) noexcept + : CPublishedFile_Publish_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_Publish_Request& operator=(const CPublishedFile_Publish_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Publish_Request& operator=(CPublishedFile_Publish_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Publish_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Publish_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Publish_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CPublishedFile_Publish_Request& a, CPublishedFile_Publish_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Publish_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(CPublishedFile_Publish_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Publish_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_Publish_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_Publish_Request& from) { + CPublishedFile_Publish_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(CPublishedFile_Publish_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_Publish_Request"; + } + protected: + explicit CPublishedFile_Publish_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 { + kTagsFieldNumber = 13, + kCloudfilenameFieldNumber = 3, + kPreviewCloudfilenameFieldNumber = 4, + kTitleFieldNumber = 5, + kFileDescriptionFieldNumber = 6, + kConsumerShortcutNameFieldNumber = 8, + kYoutubeUsernameFieldNumber = 9, + kYoutubeVideoidFieldNumber = 10, + kRedirectUriFieldNumber = 12, + kCollectionTypeFieldNumber = 14, + kGameTypeFieldNumber = 15, + kUrlFieldNumber = 16, + kAppidFieldNumber = 1, + kConsumerAppidFieldNumber = 2, + kFileTypeFieldNumber = 7, + kVisibilityFieldNumber = 11, + }; + // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + const std::string& tags(int index) const; + std::string* mutable_tags(int index); + void set_tags(int index, const std::string& value); + void set_tags(int index, std::string&& value); + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + std::string* add_tags(); + void add_tags(const std::string& value); + void add_tags(std::string&& value); + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); + private: + const std::string& _internal_tags(int index) const; + std::string* _internal_add_tags(); + public: + + // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; + bool has_cloudfilename() const; + private: + bool _internal_has_cloudfilename() const; + public: + void clear_cloudfilename(); + const std::string& cloudfilename() const; + template + void set_cloudfilename(ArgT0&& arg0, ArgT... args); + std::string* mutable_cloudfilename(); + PROTOBUF_NODISCARD std::string* release_cloudfilename(); + void set_allocated_cloudfilename(std::string* cloudfilename); + private: + const std::string& _internal_cloudfilename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cloudfilename(const std::string& value); + std::string* _internal_mutable_cloudfilename(); + public: + + // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; + bool has_preview_cloudfilename() const; + private: + bool _internal_has_preview_cloudfilename() const; + public: + void clear_preview_cloudfilename(); + const std::string& preview_cloudfilename() const; + template + void set_preview_cloudfilename(ArgT0&& arg0, ArgT... args); + std::string* mutable_preview_cloudfilename(); + PROTOBUF_NODISCARD std::string* release_preview_cloudfilename(); + void set_allocated_preview_cloudfilename(std::string* preview_cloudfilename); + private: + const std::string& _internal_preview_cloudfilename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_cloudfilename(const std::string& value); + std::string* _internal_mutable_preview_cloudfilename(); + public: + + // optional string title = 5 [(.description) = "Text title for the published file."]; + bool has_title() const; + private: + bool _internal_has_title() const; + public: + void clear_title(); + const std::string& title() const; + template + void set_title(ArgT0&& arg0, ArgT... args); + std::string* mutable_title(); + PROTOBUF_NODISCARD std::string* release_title(); + void set_allocated_title(std::string* title); + private: + const std::string& _internal_title() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); + std::string* _internal_mutable_title(); + public: + + // optional string file_description = 6 [(.description) = "Text description for the published file."]; + bool has_file_description() const; + private: + bool _internal_has_file_description() const; + public: + void clear_file_description(); + const std::string& file_description() const; + template + void set_file_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_description(); + PROTOBUF_NODISCARD std::string* release_file_description(); + void set_allocated_file_description(std::string* file_description); + private: + const std::string& _internal_file_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); + std::string* _internal_mutable_file_description(); + public: + + // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; + bool has_consumer_shortcut_name() const; + private: + bool _internal_has_consumer_shortcut_name() const; + public: + void clear_consumer_shortcut_name(); + const std::string& consumer_shortcut_name() const; + template + void set_consumer_shortcut_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_consumer_shortcut_name(); + PROTOBUF_NODISCARD std::string* release_consumer_shortcut_name(); + void set_allocated_consumer_shortcut_name(std::string* consumer_shortcut_name); + private: + const std::string& _internal_consumer_shortcut_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_consumer_shortcut_name(const std::string& value); + std::string* _internal_mutable_consumer_shortcut_name(); + public: + + // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; + bool has_youtube_username() const; + private: + bool _internal_has_youtube_username() const; + public: + void clear_youtube_username(); + const std::string& youtube_username() const; + template + void set_youtube_username(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtube_username(); + PROTOBUF_NODISCARD std::string* release_youtube_username(); + void set_allocated_youtube_username(std::string* youtube_username); + private: + const std::string& _internal_youtube_username() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_username(const std::string& value); + std::string* _internal_mutable_youtube_username(); + public: + + // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; + bool has_youtube_videoid() const; + private: + bool _internal_has_youtube_videoid() const; + public: + void clear_youtube_videoid(); + const std::string& youtube_videoid() const; + template + void set_youtube_videoid(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtube_videoid(); + PROTOBUF_NODISCARD std::string* release_youtube_videoid(); + void set_allocated_youtube_videoid(std::string* youtube_videoid); + private: + const std::string& _internal_youtube_videoid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_videoid(const std::string& value); + std::string* _internal_mutable_youtube_videoid(); + public: + + // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; + bool has_redirect_uri() const; + private: + bool _internal_has_redirect_uri() const; + public: + void clear_redirect_uri(); + const std::string& redirect_uri() const; + template + void set_redirect_uri(ArgT0&& arg0, ArgT... args); + std::string* mutable_redirect_uri(); + PROTOBUF_NODISCARD std::string* release_redirect_uri(); + void set_allocated_redirect_uri(std::string* redirect_uri); + private: + const std::string& _internal_redirect_uri() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); + std::string* _internal_mutable_redirect_uri(); + public: + + // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; + bool has_collection_type() const; + private: + bool _internal_has_collection_type() const; + public: + void clear_collection_type(); + const std::string& collection_type() const; + template + void set_collection_type(ArgT0&& arg0, ArgT... args); + std::string* mutable_collection_type(); + PROTOBUF_NODISCARD std::string* release_collection_type(); + void set_allocated_collection_type(std::string* collection_type); + private: + const std::string& _internal_collection_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_collection_type(const std::string& value); + std::string* _internal_mutable_collection_type(); + public: + + // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; + bool has_game_type() const; + private: + bool _internal_has_game_type() const; + public: + void clear_game_type(); + const std::string& game_type() const; + template + void set_game_type(ArgT0&& arg0, ArgT... args); + std::string* mutable_game_type(); + PROTOBUF_NODISCARD std::string* release_game_type(); + void set_allocated_game_type(std::string* game_type); + private: + const std::string& _internal_game_type() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_type(const std::string& value); + std::string* _internal_mutable_game_type(); + public: + + // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; + bool has_consumer_appid() const; + private: + bool _internal_has_consumer_appid() const; + public: + void clear_consumer_appid(); + uint32_t consumer_appid() const; + void set_consumer_appid(uint32_t value); + private: + uint32_t _internal_consumer_appid() const; + void _internal_set_consumer_appid(uint32_t value); + public: + + // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; + bool has_file_type() const; + private: + bool _internal_has_file_type() const; + public: + void clear_file_type(); + uint32_t file_type() const; + void set_file_type(uint32_t value); + private: + uint32_t _internal_file_type() const; + void _internal_set_file_type(uint32_t value); + public: + + // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; + bool has_visibility() const; + private: + bool _internal_has_visibility() const; + public: + void clear_visibility(); + uint32_t visibility() const; + void set_visibility(uint32_t value); + private: + uint32_t _internal_visibility() const; + void _internal_set_visibility(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_Publish_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cloudfilename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_cloudfilename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr consumer_shortcut_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_username_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_videoid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_type_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + uint32_t appid_; + uint32_t consumer_appid_; + uint32_t file_type_; + uint32_t visibility_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Publish_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Publish_Response) */ { + public: + inline CPublishedFile_Publish_Response() : CPublishedFile_Publish_Response(nullptr) {} + ~CPublishedFile_Publish_Response() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_Publish_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Publish_Response(const CPublishedFile_Publish_Response& from); + CPublishedFile_Publish_Response(CPublishedFile_Publish_Response&& from) noexcept + : CPublishedFile_Publish_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_Publish_Response& operator=(const CPublishedFile_Publish_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Publish_Response& operator=(CPublishedFile_Publish_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Publish_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Publish_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Publish_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CPublishedFile_Publish_Response& a, CPublishedFile_Publish_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Publish_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(CPublishedFile_Publish_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Publish_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_Publish_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_Publish_Response& from) { + CPublishedFile_Publish_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(CPublishedFile_Publish_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_Publish_Response"; + } + protected: + explicit CPublishedFile_Publish_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 { + kRedirectUriFieldNumber = 2, + kPublishedfileidFieldNumber = 1, + }; + // optional string redirect_uri = 2; + bool has_redirect_uri() const; + private: + bool _internal_has_redirect_uri() const; + public: + void clear_redirect_uri(); + const std::string& redirect_uri() const; + template + void set_redirect_uri(ArgT0&& arg0, ArgT... args); + std::string* mutable_redirect_uri(); + PROTOBUF_NODISCARD std::string* release_redirect_uri(); + void set_allocated_redirect_uri(std::string* redirect_uri); + private: + const std::string& _internal_redirect_uri() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); + std::string* _internal_mutable_redirect_uri(); + public: + + // optional uint64 publishedfileid = 1; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_Publish_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; + uint64_t publishedfileid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_GetDetails_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetDetails_Request) */ { + public: + inline CPublishedFile_GetDetails_Request() : CPublishedFile_GetDetails_Request(nullptr) {} + ~CPublishedFile_GetDetails_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_GetDetails_Request(const CPublishedFile_GetDetails_Request& from); + CPublishedFile_GetDetails_Request(CPublishedFile_GetDetails_Request&& from) noexcept + : CPublishedFile_GetDetails_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_GetDetails_Request& operator=(const CPublishedFile_GetDetails_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_GetDetails_Request& operator=(CPublishedFile_GetDetails_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_GetDetails_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_GetDetails_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_GetDetails_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CPublishedFile_GetDetails_Request& a, CPublishedFile_GetDetails_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_GetDetails_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(CPublishedFile_GetDetails_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_GetDetails_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_GetDetails_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_GetDetails_Request& from) { + CPublishedFile_GetDetails_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(CPublishedFile_GetDetails_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_GetDetails_Request"; + } + protected: + explicit CPublishedFile_GetDetails_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 { + kPublishedfileidsFieldNumber = 1, + kIncludetagsFieldNumber = 2, + kIncludeadditionalpreviewsFieldNumber = 3, + kIncludechildrenFieldNumber = 4, + kIncludekvtagsFieldNumber = 5, + kIncludevotesFieldNumber = 6, + kShortDescriptionFieldNumber = 8, + }; + // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; + int publishedfileids_size() const; + private: + int _internal_publishedfileids_size() const; + public: + void clear_publishedfileids(); + private: + uint64_t _internal_publishedfileids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_publishedfileids() const; + void _internal_add_publishedfileids(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_publishedfileids(); + public: + uint64_t publishedfileids(int index) const; + void set_publishedfileids(int index, uint64_t value); + void add_publishedfileids(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + publishedfileids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_publishedfileids(); + + // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; + bool has_includetags() const; + private: + bool _internal_has_includetags() const; + public: + void clear_includetags(); + bool includetags() const; + void set_includetags(bool value); + private: + bool _internal_includetags() const; + void _internal_set_includetags(bool value); + public: + + // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; + bool has_includeadditionalpreviews() const; + private: + bool _internal_has_includeadditionalpreviews() const; + public: + void clear_includeadditionalpreviews(); + bool includeadditionalpreviews() const; + void set_includeadditionalpreviews(bool value); + private: + bool _internal_includeadditionalpreviews() const; + void _internal_set_includeadditionalpreviews(bool value); + public: + + // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; + bool has_includechildren() const; + private: + bool _internal_has_includechildren() const; + public: + void clear_includechildren(); + bool includechildren() const; + void set_includechildren(bool value); + private: + bool _internal_includechildren() const; + void _internal_set_includechildren(bool value); + public: + + // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; + bool has_includekvtags() const; + private: + bool _internal_has_includekvtags() const; + public: + void clear_includekvtags(); + bool includekvtags() const; + void set_includekvtags(bool value); + private: + bool _internal_includekvtags() const; + void _internal_set_includekvtags(bool value); + public: + + // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; + bool has_includevotes() const; + private: + bool _internal_has_includevotes() const; + public: + void clear_includevotes(); + bool includevotes() const; + void set_includevotes(bool value); + private: + bool _internal_includevotes() const; + void _internal_set_includevotes(bool value); + public: + + // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; + bool has_short_description() const; + private: + bool _internal_has_short_description() const; + public: + void clear_short_description(); + bool short_description() const; + void set_short_description(bool value); + private: + bool _internal_short_description() const; + void _internal_set_short_description(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_GetDetails_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > publishedfileids_; + bool includetags_; + bool includeadditionalpreviews_; + bool includechildren_; + bool includekvtags_; + bool includevotes_; + bool short_description_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails_Tag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Tag) */ { + public: + inline PublishedFileDetails_Tag() : PublishedFileDetails_Tag(nullptr) {} + ~PublishedFileDetails_Tag() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails_Tag(const PublishedFileDetails_Tag& from); + PublishedFileDetails_Tag(PublishedFileDetails_Tag&& from) noexcept + : PublishedFileDetails_Tag() { + *this = ::std::move(from); + } + + inline PublishedFileDetails_Tag& operator=(const PublishedFileDetails_Tag& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails_Tag& operator=(PublishedFileDetails_Tag&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails_Tag& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails_Tag* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_Tag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(PublishedFileDetails_Tag& a, PublishedFileDetails_Tag& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails_Tag* 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(PublishedFileDetails_Tag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails_Tag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails_Tag& from) { + PublishedFileDetails_Tag::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(PublishedFileDetails_Tag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails.Tag"; + } + protected: + explicit PublishedFileDetails_Tag(::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 { + kTagFieldNumber = 1, + kAdminonlyFieldNumber = 2, + }; + // optional string tag = 1; + bool has_tag() const; + private: + bool _internal_has_tag() const; + public: + void clear_tag(); + const std::string& tag() const; + template + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); + private: + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); + public: + + // optional bool adminonly = 2; + bool has_adminonly() const; + private: + bool _internal_has_adminonly() const; + public: + void clear_adminonly(); + bool adminonly() const; + void set_adminonly(bool value); + private: + bool _internal_adminonly() const; + void _internal_set_adminonly(bool value); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails.Tag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + bool adminonly_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails_Preview final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Preview) */ { + public: + inline PublishedFileDetails_Preview() : PublishedFileDetails_Preview(nullptr) {} + ~PublishedFileDetails_Preview() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Preview(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails_Preview(const PublishedFileDetails_Preview& from); + PublishedFileDetails_Preview(PublishedFileDetails_Preview&& from) noexcept + : PublishedFileDetails_Preview() { + *this = ::std::move(from); + } + + inline PublishedFileDetails_Preview& operator=(const PublishedFileDetails_Preview& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails_Preview& operator=(PublishedFileDetails_Preview&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails_Preview& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails_Preview* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_Preview_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(PublishedFileDetails_Preview& a, PublishedFileDetails_Preview& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails_Preview* 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(PublishedFileDetails_Preview* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails_Preview* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails_Preview& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails_Preview& from) { + PublishedFileDetails_Preview::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(PublishedFileDetails_Preview* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails.Preview"; + } + protected: + explicit PublishedFileDetails_Preview(::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 { + kUrlFieldNumber = 3, + kFilenameFieldNumber = 5, + kYoutubevideoidFieldNumber = 6, + kPreviewidFieldNumber = 1, + kSortorderFieldNumber = 2, + kSizeFieldNumber = 4, + }; + // optional string url = 3; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional string filename = 5; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional string youtubevideoid = 6; + bool has_youtubevideoid() const; + private: + bool _internal_has_youtubevideoid() const; + public: + void clear_youtubevideoid(); + const std::string& youtubevideoid() const; + template + void set_youtubevideoid(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtubevideoid(); + PROTOBUF_NODISCARD std::string* release_youtubevideoid(); + void set_allocated_youtubevideoid(std::string* youtubevideoid); + private: + const std::string& _internal_youtubevideoid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtubevideoid(const std::string& value); + std::string* _internal_mutable_youtubevideoid(); + public: + + // optional uint64 previewid = 1; + bool has_previewid() const; + private: + bool _internal_has_previewid() const; + public: + void clear_previewid(); + uint64_t previewid() const; + void set_previewid(uint64_t value); + private: + uint64_t _internal_previewid() const; + void _internal_set_previewid(uint64_t value); + public: + + // optional uint32 sortorder = 2; + bool has_sortorder() const; + private: + bool _internal_has_sortorder() const; + public: + void clear_sortorder(); + uint32_t sortorder() const; + void set_sortorder(uint32_t value); + private: + uint32_t _internal_sortorder() const; + void _internal_set_sortorder(uint32_t value); + public: + + // optional uint32 size = 4; + bool has_size() const; + private: + bool _internal_has_size() const; + public: + void clear_size(); + uint32_t size() const; + void set_size(uint32_t value); + private: + uint32_t _internal_size() const; + void _internal_set_size(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails.Preview) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtubevideoid_; + uint64_t previewid_; + uint32_t sortorder_; + uint32_t size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails_Child final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Child) */ { + public: + inline PublishedFileDetails_Child() : PublishedFileDetails_Child(nullptr) {} + ~PublishedFileDetails_Child() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Child(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails_Child(const PublishedFileDetails_Child& from); + PublishedFileDetails_Child(PublishedFileDetails_Child&& from) noexcept + : PublishedFileDetails_Child() { + *this = ::std::move(from); + } + + inline PublishedFileDetails_Child& operator=(const PublishedFileDetails_Child& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails_Child& operator=(PublishedFileDetails_Child&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails_Child& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails_Child* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_Child_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(PublishedFileDetails_Child& a, PublishedFileDetails_Child& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails_Child* 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(PublishedFileDetails_Child* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails_Child* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails_Child& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails_Child& from) { + PublishedFileDetails_Child::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(PublishedFileDetails_Child* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails.Child"; + } + protected: + explicit PublishedFileDetails_Child(::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 { + kPublishedfileidFieldNumber = 1, + kSortorderFieldNumber = 2, + kFileTypeFieldNumber = 3, + }; + // optional uint64 publishedfileid = 1; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // optional uint32 sortorder = 2; + bool has_sortorder() const; + private: + bool _internal_has_sortorder() const; + public: + void clear_sortorder(); + uint32_t sortorder() const; + void set_sortorder(uint32_t value); + private: + uint32_t _internal_sortorder() const; + void _internal_set_sortorder(uint32_t value); + public: + + // optional uint32 file_type = 3; + bool has_file_type() const; + private: + bool _internal_has_file_type() const; + public: + void clear_file_type(); + uint32_t file_type() const; + void set_file_type(uint32_t value); + private: + uint32_t _internal_file_type() const; + void _internal_set_file_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails.Child) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t publishedfileid_; + uint32_t sortorder_; + uint32_t file_type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails_KVTag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.KVTag) */ { + public: + inline PublishedFileDetails_KVTag() : PublishedFileDetails_KVTag(nullptr) {} + ~PublishedFileDetails_KVTag() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails_KVTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails_KVTag(const PublishedFileDetails_KVTag& from); + PublishedFileDetails_KVTag(PublishedFileDetails_KVTag&& from) noexcept + : PublishedFileDetails_KVTag() { + *this = ::std::move(from); + } + + inline PublishedFileDetails_KVTag& operator=(const PublishedFileDetails_KVTag& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails_KVTag& operator=(PublishedFileDetails_KVTag&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails_KVTag& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails_KVTag* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_KVTag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(PublishedFileDetails_KVTag& a, PublishedFileDetails_KVTag& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails_KVTag* 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(PublishedFileDetails_KVTag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails_KVTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails_KVTag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails_KVTag& from) { + PublishedFileDetails_KVTag::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(PublishedFileDetails_KVTag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails.KVTag"; + } + protected: + explicit PublishedFileDetails_KVTag(::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 { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; + // optional string key = 1; + bool has_key() const; + private: + bool _internal_has_key() const; + public: + void clear_key(); + const std::string& key() const; + template + void set_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_key(); + PROTOBUF_NODISCARD std::string* release_key(); + void set_allocated_key(std::string* key); + private: + const std::string& _internal_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); + std::string* _internal_mutable_key(); + public: + + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails.KVTag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails_VoteData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.VoteData) */ { + public: + inline PublishedFileDetails_VoteData() : PublishedFileDetails_VoteData(nullptr) {} + ~PublishedFileDetails_VoteData() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails_VoteData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails_VoteData(const PublishedFileDetails_VoteData& from); + PublishedFileDetails_VoteData(PublishedFileDetails_VoteData&& from) noexcept + : PublishedFileDetails_VoteData() { + *this = ::std::move(from); + } + + inline PublishedFileDetails_VoteData& operator=(const PublishedFileDetails_VoteData& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails_VoteData& operator=(PublishedFileDetails_VoteData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails_VoteData& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails_VoteData* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_VoteData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(PublishedFileDetails_VoteData& a, PublishedFileDetails_VoteData& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails_VoteData* 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(PublishedFileDetails_VoteData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails_VoteData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails_VoteData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails_VoteData& from) { + PublishedFileDetails_VoteData::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(PublishedFileDetails_VoteData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails.VoteData"; + } + protected: + explicit PublishedFileDetails_VoteData(::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 { + kScoreFieldNumber = 1, + kVotesUpFieldNumber = 2, + kVotesDownFieldNumber = 3, + }; + // optional float score = 1; + bool has_score() const; + private: + bool _internal_has_score() const; + public: + void clear_score(); + float score() const; + void set_score(float value); + private: + float _internal_score() const; + void _internal_set_score(float value); + public: + + // optional uint32 votes_up = 2; + bool has_votes_up() const; + private: + bool _internal_has_votes_up() const; + public: + void clear_votes_up(); + uint32_t votes_up() const; + void set_votes_up(uint32_t value); + private: + uint32_t _internal_votes_up() const; + void _internal_set_votes_up(uint32_t value); + public: + + // optional uint32 votes_down = 3; + bool has_votes_down() const; + private: + bool _internal_has_votes_down() const; + public: + void clear_votes_down(); + uint32_t votes_down() const; + void set_votes_down(uint32_t value); + private: + uint32_t _internal_votes_down() const; + void _internal_set_votes_down(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails.VoteData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float score_; + uint32_t votes_up_; + uint32_t votes_down_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class PublishedFileDetails final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails) */ { + public: + inline PublishedFileDetails() : PublishedFileDetails(nullptr) {} + ~PublishedFileDetails() override; + explicit PROTOBUF_CONSTEXPR PublishedFileDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishedFileDetails(const PublishedFileDetails& from); + PublishedFileDetails(PublishedFileDetails&& from) noexcept + : PublishedFileDetails() { + *this = ::std::move(from); + } + + inline PublishedFileDetails& operator=(const PublishedFileDetails& from) { + CopyFrom(from); + return *this; + } + inline PublishedFileDetails& operator=(PublishedFileDetails&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 PublishedFileDetails& default_instance() { + return *internal_default_instance(); + } + static inline const PublishedFileDetails* internal_default_instance() { + return reinterpret_cast( + &_PublishedFileDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(PublishedFileDetails& a, PublishedFileDetails& b) { + a.Swap(&b); + } + inline void Swap(PublishedFileDetails* 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(PublishedFileDetails* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishedFileDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishedFileDetails& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishedFileDetails& from) { + PublishedFileDetails::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(PublishedFileDetails* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "PublishedFileDetails"; + } + protected: + explicit PublishedFileDetails(::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 ---------------------------------------------------- + + typedef PublishedFileDetails_Tag Tag; + typedef PublishedFileDetails_Preview Preview; + typedef PublishedFileDetails_Child Child; + typedef PublishedFileDetails_KVTag KVTag; + typedef PublishedFileDetails_VoteData VoteData; + + // accessors ------------------------------------------------------- + + enum : int { + kPreviewsFieldNumber = 51, + kTagsFieldNumber = 52, + kChildrenFieldNumber = 53, + kKvtagsFieldNumber = 54, + kFilenameFieldNumber = 7, + kFileUrlFieldNumber = 10, + kPreviewUrlFieldNumber = 11, + kYoutubevideoidFieldNumber = 12, + kUrlFieldNumber = 13, + kTitleFieldNumber = 16, + kFileDescriptionFieldNumber = 17, + kShortDescriptionFieldNumber = 18, + kBanReasonFieldNumber = 29, + kAppNameFieldNumber = 33, + kImageUrlFieldNumber = 45, + kShortcutnameFieldNumber = 48, + kVoteDataFieldNumber = 55, + kPublishedfileidFieldNumber = 2, + kResultFieldNumber = 1, + kCreatorAppidFieldNumber = 4, + kCreatorFieldNumber = 3, + kConsumerAppidFieldNumber = 5, + kConsumerShortcutidFieldNumber = 6, + kFileSizeFieldNumber = 8, + kPreviewFileSizeFieldNumber = 9, + kHcontentFileFieldNumber = 14, + kHcontentPreviewFieldNumber = 15, + kTimeCreatedFieldNumber = 19, + kTimeUpdatedFieldNumber = 20, + kVisibilityFieldNumber = 21, + kFlagsFieldNumber = 22, + kWorkshopFileFieldNumber = 23, + kWorkshopAcceptedFieldNumber = 24, + kShowSubscribeAllFieldNumber = 25, + kBannedFieldNumber = 28, + kNumCommentsDeveloperFieldNumber = 26, + kBannerFieldNumber = 30, + kNumCommentsPublicFieldNumber = 27, + kFileTypeFieldNumber = 34, + kSubscriptionsFieldNumber = 36, + kCanBeDeletedFieldNumber = 31, + kIncompatibleFieldNumber = 32, + kCanSubscribeFieldNumber = 35, + kSpoilerTagFieldNumber = 46, + kFavoritedFieldNumber = 37, + kFollowersFieldNumber = 38, + kLifetimeSubscriptionsFieldNumber = 39, + kLifetimeFavoritedFieldNumber = 40, + kLifetimeFollowersFieldNumber = 41, + kViewsFieldNumber = 42, + kImageWidthFieldNumber = 43, + kImageHeightFieldNumber = 44, + kShortcutidFieldNumber = 47, + kNumChildrenFieldNumber = 49, + kNumReportsFieldNumber = 50, + kTimeSubscribedFieldNumber = 56, + }; + // repeated .PublishedFileDetails.Preview previews = 51; + int previews_size() const; + private: + int _internal_previews_size() const; + public: + void clear_previews(); + ::PublishedFileDetails_Preview* mutable_previews(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >* + mutable_previews(); + private: + const ::PublishedFileDetails_Preview& _internal_previews(int index) const; + ::PublishedFileDetails_Preview* _internal_add_previews(); + public: + const ::PublishedFileDetails_Preview& previews(int index) const; + ::PublishedFileDetails_Preview* add_previews(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >& + previews() const; + + // repeated .PublishedFileDetails.Tag tags = 52; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + ::PublishedFileDetails_Tag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >* + mutable_tags(); + private: + const ::PublishedFileDetails_Tag& _internal_tags(int index) const; + ::PublishedFileDetails_Tag* _internal_add_tags(); + public: + const ::PublishedFileDetails_Tag& tags(int index) const; + ::PublishedFileDetails_Tag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >& + tags() const; + + // repeated .PublishedFileDetails.Child children = 53; + int children_size() const; + private: + int _internal_children_size() const; + public: + void clear_children(); + ::PublishedFileDetails_Child* mutable_children(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >* + mutable_children(); + private: + const ::PublishedFileDetails_Child& _internal_children(int index) const; + ::PublishedFileDetails_Child* _internal_add_children(); + public: + const ::PublishedFileDetails_Child& children(int index) const; + ::PublishedFileDetails_Child* add_children(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >& + children() const; + + // repeated .PublishedFileDetails.KVTag kvtags = 54; + int kvtags_size() const; + private: + int _internal_kvtags_size() const; + public: + void clear_kvtags(); + ::PublishedFileDetails_KVTag* mutable_kvtags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >* + mutable_kvtags(); + private: + const ::PublishedFileDetails_KVTag& _internal_kvtags(int index) const; + ::PublishedFileDetails_KVTag* _internal_add_kvtags(); + public: + const ::PublishedFileDetails_KVTag& kvtags(int index) const; + ::PublishedFileDetails_KVTag* add_kvtags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >& + kvtags() const; + + // optional string filename = 7; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional string file_url = 10; + bool has_file_url() const; + private: + bool _internal_has_file_url() const; + public: + void clear_file_url(); + const std::string& file_url() const; + template + void set_file_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_url(); + PROTOBUF_NODISCARD std::string* release_file_url(); + void set_allocated_file_url(std::string* file_url); + private: + const std::string& _internal_file_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_url(const std::string& value); + std::string* _internal_mutable_file_url(); + public: + + // optional string preview_url = 11; + bool has_preview_url() const; + private: + bool _internal_has_preview_url() const; + public: + void clear_preview_url(); + const std::string& preview_url() const; + template + void set_preview_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_preview_url(); + PROTOBUF_NODISCARD std::string* release_preview_url(); + void set_allocated_preview_url(std::string* preview_url); + private: + const std::string& _internal_preview_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_url(const std::string& value); + std::string* _internal_mutable_preview_url(); + public: + + // optional string youtubevideoid = 12; + bool has_youtubevideoid() const; + private: + bool _internal_has_youtubevideoid() const; + public: + void clear_youtubevideoid(); + const std::string& youtubevideoid() const; + template + void set_youtubevideoid(ArgT0&& arg0, ArgT... args); + std::string* mutable_youtubevideoid(); + PROTOBUF_NODISCARD std::string* release_youtubevideoid(); + void set_allocated_youtubevideoid(std::string* youtubevideoid); + private: + const std::string& _internal_youtubevideoid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtubevideoid(const std::string& value); + std::string* _internal_mutable_youtubevideoid(); + public: + + // optional string url = 13; + bool has_url() const; + private: + bool _internal_has_url() const; + public: + void clear_url(); + const std::string& url() const; + template + void set_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_url(); + PROTOBUF_NODISCARD std::string* release_url(); + void set_allocated_url(std::string* url); + private: + const std::string& _internal_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); + std::string* _internal_mutable_url(); + public: + + // optional string title = 16; + bool has_title() const; + private: + bool _internal_has_title() const; + public: + void clear_title(); + const std::string& title() const; + template + void set_title(ArgT0&& arg0, ArgT... args); + std::string* mutable_title(); + PROTOBUF_NODISCARD std::string* release_title(); + void set_allocated_title(std::string* title); + private: + const std::string& _internal_title() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); + std::string* _internal_mutable_title(); + public: + + // optional string file_description = 17; + bool has_file_description() const; + private: + bool _internal_has_file_description() const; + public: + void clear_file_description(); + const std::string& file_description() const; + template + void set_file_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_description(); + PROTOBUF_NODISCARD std::string* release_file_description(); + void set_allocated_file_description(std::string* file_description); + private: + const std::string& _internal_file_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); + std::string* _internal_mutable_file_description(); + public: + + // optional string short_description = 18; + bool has_short_description() const; + private: + bool _internal_has_short_description() const; + public: + void clear_short_description(); + const std::string& short_description() const; + template + void set_short_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_short_description(); + PROTOBUF_NODISCARD std::string* release_short_description(); + void set_allocated_short_description(std::string* short_description); + private: + const std::string& _internal_short_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_short_description(const std::string& value); + std::string* _internal_mutable_short_description(); + public: + + // optional string ban_reason = 29; + bool has_ban_reason() const; + private: + bool _internal_has_ban_reason() const; + public: + void clear_ban_reason(); + const std::string& ban_reason() const; + template + void set_ban_reason(ArgT0&& arg0, ArgT... args); + std::string* mutable_ban_reason(); + PROTOBUF_NODISCARD std::string* release_ban_reason(); + void set_allocated_ban_reason(std::string* ban_reason); + private: + const std::string& _internal_ban_reason() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ban_reason(const std::string& value); + std::string* _internal_mutable_ban_reason(); + public: + + // optional string app_name = 33; + bool has_app_name() const; + private: + bool _internal_has_app_name() const; + public: + void clear_app_name(); + const std::string& app_name() const; + template + void set_app_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_app_name(); + PROTOBUF_NODISCARD std::string* release_app_name(); + void set_allocated_app_name(std::string* app_name); + private: + const std::string& _internal_app_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_name(const std::string& value); + std::string* _internal_mutable_app_name(); + public: + + // optional string image_url = 45; + bool has_image_url() const; + private: + bool _internal_has_image_url() const; + public: + void clear_image_url(); + const std::string& image_url() const; + template + void set_image_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_image_url(); + PROTOBUF_NODISCARD std::string* release_image_url(); + void set_allocated_image_url(std::string* image_url); + private: + const std::string& _internal_image_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_image_url(const std::string& value); + std::string* _internal_mutable_image_url(); + public: + + // optional string shortcutname = 48; + bool has_shortcutname() const; + private: + bool _internal_has_shortcutname() const; + public: + void clear_shortcutname(); + const std::string& shortcutname() const; + template + void set_shortcutname(ArgT0&& arg0, ArgT... args); + std::string* mutable_shortcutname(); + PROTOBUF_NODISCARD std::string* release_shortcutname(); + void set_allocated_shortcutname(std::string* shortcutname); + private: + const std::string& _internal_shortcutname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_shortcutname(const std::string& value); + std::string* _internal_mutable_shortcutname(); + public: + + // optional .PublishedFileDetails.VoteData vote_data = 55; + bool has_vote_data() const; + private: + bool _internal_has_vote_data() const; + public: + void clear_vote_data(); + const ::PublishedFileDetails_VoteData& vote_data() const; + PROTOBUF_NODISCARD ::PublishedFileDetails_VoteData* release_vote_data(); + ::PublishedFileDetails_VoteData* mutable_vote_data(); + void set_allocated_vote_data(::PublishedFileDetails_VoteData* vote_data); + private: + const ::PublishedFileDetails_VoteData& _internal_vote_data() const; + ::PublishedFileDetails_VoteData* _internal_mutable_vote_data(); + public: + void unsafe_arena_set_allocated_vote_data( + ::PublishedFileDetails_VoteData* vote_data); + ::PublishedFileDetails_VoteData* unsafe_arena_release_vote_data(); + + // optional uint64 publishedfileid = 2; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // optional uint32 result = 1; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + uint32_t result() const; + void set_result(uint32_t value); + private: + uint32_t _internal_result() const; + void _internal_set_result(uint32_t value); + public: + + // optional uint32 creator_appid = 4; + bool has_creator_appid() const; + private: + bool _internal_has_creator_appid() const; + public: + void clear_creator_appid(); + uint32_t creator_appid() const; + void set_creator_appid(uint32_t value); + private: + uint32_t _internal_creator_appid() const; + void _internal_set_creator_appid(uint32_t value); + public: + + // optional fixed64 creator = 3; + bool has_creator() const; + private: + bool _internal_has_creator() const; + public: + void clear_creator(); + uint64_t creator() const; + void set_creator(uint64_t value); + private: + uint64_t _internal_creator() const; + void _internal_set_creator(uint64_t value); + public: + + // optional uint32 consumer_appid = 5; + bool has_consumer_appid() const; + private: + bool _internal_has_consumer_appid() const; + public: + void clear_consumer_appid(); + uint32_t consumer_appid() const; + void set_consumer_appid(uint32_t value); + private: + uint32_t _internal_consumer_appid() const; + void _internal_set_consumer_appid(uint32_t value); + public: + + // optional uint32 consumer_shortcutid = 6; + bool has_consumer_shortcutid() const; + private: + bool _internal_has_consumer_shortcutid() const; + public: + void clear_consumer_shortcutid(); + uint32_t consumer_shortcutid() const; + void set_consumer_shortcutid(uint32_t value); + private: + uint32_t _internal_consumer_shortcutid() const; + void _internal_set_consumer_shortcutid(uint32_t value); + public: + + // optional uint64 file_size = 8; + bool has_file_size() const; + private: + bool _internal_has_file_size() const; + public: + void clear_file_size(); + uint64_t file_size() const; + void set_file_size(uint64_t value); + private: + uint64_t _internal_file_size() const; + void _internal_set_file_size(uint64_t value); + public: + + // optional uint64 preview_file_size = 9; + bool has_preview_file_size() const; + private: + bool _internal_has_preview_file_size() const; + public: + void clear_preview_file_size(); + uint64_t preview_file_size() const; + void set_preview_file_size(uint64_t value); + private: + uint64_t _internal_preview_file_size() const; + void _internal_set_preview_file_size(uint64_t value); + public: + + // optional fixed64 hcontent_file = 14; + bool has_hcontent_file() const; + private: + bool _internal_has_hcontent_file() const; + public: + void clear_hcontent_file(); + uint64_t hcontent_file() const; + void set_hcontent_file(uint64_t value); + private: + uint64_t _internal_hcontent_file() const; + void _internal_set_hcontent_file(uint64_t value); + public: + + // optional fixed64 hcontent_preview = 15; + bool has_hcontent_preview() const; + private: + bool _internal_has_hcontent_preview() const; + public: + void clear_hcontent_preview(); + uint64_t hcontent_preview() const; + void set_hcontent_preview(uint64_t value); + private: + uint64_t _internal_hcontent_preview() const; + void _internal_set_hcontent_preview(uint64_t value); + public: + + // optional uint32 time_created = 19; + bool has_time_created() const; + private: + bool _internal_has_time_created() const; + public: + void clear_time_created(); + uint32_t time_created() const; + void set_time_created(uint32_t value); + private: + uint32_t _internal_time_created() const; + void _internal_set_time_created(uint32_t value); + public: + + // optional uint32 time_updated = 20; + bool has_time_updated() const; + private: + bool _internal_has_time_updated() const; + public: + void clear_time_updated(); + uint32_t time_updated() const; + void set_time_updated(uint32_t value); + private: + uint32_t _internal_time_updated() const; + void _internal_set_time_updated(uint32_t value); + public: + + // optional uint32 visibility = 21; + bool has_visibility() const; + private: + bool _internal_has_visibility() const; + public: + void clear_visibility(); + uint32_t visibility() const; + void set_visibility(uint32_t value); + private: + uint32_t _internal_visibility() const; + void _internal_set_visibility(uint32_t value); + public: + + // optional uint32 flags = 22; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional bool workshop_file = 23; + bool has_workshop_file() const; + private: + bool _internal_has_workshop_file() const; + public: + void clear_workshop_file(); + bool workshop_file() const; + void set_workshop_file(bool value); + private: + bool _internal_workshop_file() const; + void _internal_set_workshop_file(bool value); + public: + + // optional bool workshop_accepted = 24; + bool has_workshop_accepted() const; + private: + bool _internal_has_workshop_accepted() const; + public: + void clear_workshop_accepted(); + bool workshop_accepted() const; + void set_workshop_accepted(bool value); + private: + bool _internal_workshop_accepted() const; + void _internal_set_workshop_accepted(bool value); + public: + + // optional bool show_subscribe_all = 25; + bool has_show_subscribe_all() const; + private: + bool _internal_has_show_subscribe_all() const; + public: + void clear_show_subscribe_all(); + bool show_subscribe_all() const; + void set_show_subscribe_all(bool value); + private: + bool _internal_show_subscribe_all() const; + void _internal_set_show_subscribe_all(bool value); + public: + + // optional bool banned = 28; + bool has_banned() const; + private: + bool _internal_has_banned() const; + public: + void clear_banned(); + bool banned() const; + void set_banned(bool value); + private: + bool _internal_banned() const; + void _internal_set_banned(bool value); + public: + + // optional int32 num_comments_developer = 26; + bool has_num_comments_developer() const; + private: + bool _internal_has_num_comments_developer() const; + public: + void clear_num_comments_developer(); + int32_t num_comments_developer() const; + void set_num_comments_developer(int32_t value); + private: + int32_t _internal_num_comments_developer() const; + void _internal_set_num_comments_developer(int32_t value); + public: + + // optional fixed64 banner = 30; + bool has_banner() const; + private: + bool _internal_has_banner() const; + public: + void clear_banner(); + uint64_t banner() const; + void set_banner(uint64_t value); + private: + uint64_t _internal_banner() const; + void _internal_set_banner(uint64_t value); + public: + + // optional int32 num_comments_public = 27; + bool has_num_comments_public() const; + private: + bool _internal_has_num_comments_public() const; + public: + void clear_num_comments_public(); + int32_t num_comments_public() const; + void set_num_comments_public(int32_t value); + private: + int32_t _internal_num_comments_public() const; + void _internal_set_num_comments_public(int32_t value); + public: + + // optional uint32 file_type = 34; + bool has_file_type() const; + private: + bool _internal_has_file_type() const; + public: + void clear_file_type(); + uint32_t file_type() const; + void set_file_type(uint32_t value); + private: + uint32_t _internal_file_type() const; + void _internal_set_file_type(uint32_t value); + public: + + // optional uint32 subscriptions = 36; + bool has_subscriptions() const; + private: + bool _internal_has_subscriptions() const; + public: + void clear_subscriptions(); + uint32_t subscriptions() const; + void set_subscriptions(uint32_t value); + private: + uint32_t _internal_subscriptions() const; + void _internal_set_subscriptions(uint32_t value); + public: + + // optional bool can_be_deleted = 31; + bool has_can_be_deleted() const; + private: + bool _internal_has_can_be_deleted() const; + public: + void clear_can_be_deleted(); + bool can_be_deleted() const; + void set_can_be_deleted(bool value); + private: + bool _internal_can_be_deleted() const; + void _internal_set_can_be_deleted(bool value); + public: + + // optional bool incompatible = 32; + bool has_incompatible() const; + private: + bool _internal_has_incompatible() const; + public: + void clear_incompatible(); + bool incompatible() const; + void set_incompatible(bool value); + private: + bool _internal_incompatible() const; + void _internal_set_incompatible(bool value); + public: + + // optional bool can_subscribe = 35; + bool has_can_subscribe() const; + private: + bool _internal_has_can_subscribe() const; + public: + void clear_can_subscribe(); + bool can_subscribe() const; + void set_can_subscribe(bool value); + private: + bool _internal_can_subscribe() const; + void _internal_set_can_subscribe(bool value); + public: + + // optional bool spoiler_tag = 46; + bool has_spoiler_tag() const; + private: + bool _internal_has_spoiler_tag() const; + public: + void clear_spoiler_tag(); + bool spoiler_tag() const; + void set_spoiler_tag(bool value); + private: + bool _internal_spoiler_tag() const; + void _internal_set_spoiler_tag(bool value); + public: + + // optional uint32 favorited = 37; + bool has_favorited() const; + private: + bool _internal_has_favorited() const; + public: + void clear_favorited(); + uint32_t favorited() const; + void set_favorited(uint32_t value); + private: + uint32_t _internal_favorited() const; + void _internal_set_favorited(uint32_t value); + public: + + // optional uint32 followers = 38; + bool has_followers() const; + private: + bool _internal_has_followers() const; + public: + void clear_followers(); + uint32_t followers() const; + void set_followers(uint32_t value); + private: + uint32_t _internal_followers() const; + void _internal_set_followers(uint32_t value); + public: + + // optional uint32 lifetime_subscriptions = 39; + bool has_lifetime_subscriptions() const; + private: + bool _internal_has_lifetime_subscriptions() const; + public: + void clear_lifetime_subscriptions(); + uint32_t lifetime_subscriptions() const; + void set_lifetime_subscriptions(uint32_t value); + private: + uint32_t _internal_lifetime_subscriptions() const; + void _internal_set_lifetime_subscriptions(uint32_t value); + public: + + // optional uint32 lifetime_favorited = 40; + bool has_lifetime_favorited() const; + private: + bool _internal_has_lifetime_favorited() const; + public: + void clear_lifetime_favorited(); + uint32_t lifetime_favorited() const; + void set_lifetime_favorited(uint32_t value); + private: + uint32_t _internal_lifetime_favorited() const; + void _internal_set_lifetime_favorited(uint32_t value); + public: + + // optional uint32 lifetime_followers = 41; + bool has_lifetime_followers() const; + private: + bool _internal_has_lifetime_followers() const; + public: + void clear_lifetime_followers(); + uint32_t lifetime_followers() const; + void set_lifetime_followers(uint32_t value); + private: + uint32_t _internal_lifetime_followers() const; + void _internal_set_lifetime_followers(uint32_t value); + public: + + // optional uint32 views = 42; + bool has_views() const; + private: + bool _internal_has_views() const; + public: + void clear_views(); + uint32_t views() const; + void set_views(uint32_t value); + private: + uint32_t _internal_views() const; + void _internal_set_views(uint32_t value); + public: + + // optional uint32 image_width = 43; + bool has_image_width() const; + private: + bool _internal_has_image_width() const; + public: + void clear_image_width(); + uint32_t image_width() const; + void set_image_width(uint32_t value); + private: + uint32_t _internal_image_width() const; + void _internal_set_image_width(uint32_t value); + public: + + // optional uint32 image_height = 44; + bool has_image_height() const; + private: + bool _internal_has_image_height() const; + public: + void clear_image_height(); + uint32_t image_height() const; + void set_image_height(uint32_t value); + private: + uint32_t _internal_image_height() const; + void _internal_set_image_height(uint32_t value); + public: + + // optional uint32 shortcutid = 47; + bool has_shortcutid() const; + private: + bool _internal_has_shortcutid() const; + public: + void clear_shortcutid(); + uint32_t shortcutid() const; + void set_shortcutid(uint32_t value); + private: + uint32_t _internal_shortcutid() const; + void _internal_set_shortcutid(uint32_t value); + public: + + // optional uint32 num_children = 49; + bool has_num_children() const; + private: + bool _internal_has_num_children() const; + public: + void clear_num_children(); + uint32_t num_children() const; + void set_num_children(uint32_t value); + private: + uint32_t _internal_num_children() const; + void _internal_set_num_children(uint32_t value); + public: + + // optional uint32 num_reports = 50; + bool has_num_reports() const; + private: + bool _internal_has_num_reports() const; + public: + void clear_num_reports(); + uint32_t num_reports() const; + void set_num_reports(uint32_t value); + private: + uint32_t _internal_num_reports() const; + void _internal_set_num_reports(uint32_t value); + public: + + // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; + bool has_time_subscribed() const; + private: + bool _internal_has_time_subscribed() const; + public: + void clear_time_subscribed(); + uint32_t time_subscribed() const; + void set_time_subscribed(uint32_t value); + private: + uint32_t _internal_time_subscribed() const; + void _internal_set_time_subscribed(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:PublishedFileDetails) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview > previews_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag > tags_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child > children_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag > kvtags_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtubevideoid_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr short_description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ban_reason_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr image_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr shortcutname_; + ::PublishedFileDetails_VoteData* vote_data_; + uint64_t publishedfileid_; + uint32_t result_; + uint32_t creator_appid_; + uint64_t creator_; + uint32_t consumer_appid_; + uint32_t consumer_shortcutid_; + uint64_t file_size_; + uint64_t preview_file_size_; + uint64_t hcontent_file_; + uint64_t hcontent_preview_; + uint32_t time_created_; + uint32_t time_updated_; + uint32_t visibility_; + uint32_t flags_; + bool workshop_file_; + bool workshop_accepted_; + bool show_subscribe_all_; + bool banned_; + int32_t num_comments_developer_; + uint64_t banner_; + int32_t num_comments_public_; + uint32_t file_type_; + uint32_t subscriptions_; + bool can_be_deleted_; + bool incompatible_; + bool can_subscribe_; + bool spoiler_tag_; + uint32_t favorited_; + uint32_t followers_; + uint32_t lifetime_subscriptions_; + uint32_t lifetime_favorited_; + uint32_t lifetime_followers_; + uint32_t views_; + uint32_t image_width_; + uint32_t image_height_; + uint32_t shortcutid_; + uint32_t num_children_; + uint32_t num_reports_; + uint32_t time_subscribed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_GetDetails_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetDetails_Response) */ { + public: + inline CPublishedFile_GetDetails_Response() : CPublishedFile_GetDetails_Response(nullptr) {} + ~CPublishedFile_GetDetails_Response() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_GetDetails_Response(const CPublishedFile_GetDetails_Response& from); + CPublishedFile_GetDetails_Response(CPublishedFile_GetDetails_Response&& from) noexcept + : CPublishedFile_GetDetails_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_GetDetails_Response& operator=(const CPublishedFile_GetDetails_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_GetDetails_Response& operator=(CPublishedFile_GetDetails_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_GetDetails_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_GetDetails_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_GetDetails_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CPublishedFile_GetDetails_Response& a, CPublishedFile_GetDetails_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_GetDetails_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(CPublishedFile_GetDetails_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_GetDetails_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_GetDetails_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_GetDetails_Response& from) { + CPublishedFile_GetDetails_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(CPublishedFile_GetDetails_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_GetDetails_Response"; + } + protected: + explicit CPublishedFile_GetDetails_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 { + kPublishedfiledetailsFieldNumber = 1, + }; + // repeated .PublishedFileDetails publishedfiledetails = 1; + int publishedfiledetails_size() const; + private: + int _internal_publishedfiledetails_size() const; + public: + void clear_publishedfiledetails(); + ::PublishedFileDetails* mutable_publishedfiledetails(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* + mutable_publishedfiledetails(); + private: + const ::PublishedFileDetails& _internal_publishedfiledetails(int index) const; + ::PublishedFileDetails* _internal_add_publishedfiledetails(); + public: + const ::PublishedFileDetails& publishedfiledetails(int index) const; + ::PublishedFileDetails* add_publishedfiledetails(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& + publishedfiledetails() const; + + // @@protoc_insertion_point(class_scope:CPublishedFile_GetDetails_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails > publishedfiledetails_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_GetUserFiles_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Request) */ { + public: + inline CPublishedFile_GetUserFiles_Request() : CPublishedFile_GetUserFiles_Request(nullptr) {} + ~CPublishedFile_GetUserFiles_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_GetUserFiles_Request(const CPublishedFile_GetUserFiles_Request& from); + CPublishedFile_GetUserFiles_Request(CPublishedFile_GetUserFiles_Request&& from) noexcept + : CPublishedFile_GetUserFiles_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_GetUserFiles_Request& operator=(const CPublishedFile_GetUserFiles_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_GetUserFiles_Request& operator=(CPublishedFile_GetUserFiles_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_GetUserFiles_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_GetUserFiles_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_GetUserFiles_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CPublishedFile_GetUserFiles_Request& a, CPublishedFile_GetUserFiles_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_GetUserFiles_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(CPublishedFile_GetUserFiles_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_GetUserFiles_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_GetUserFiles_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_GetUserFiles_Request& from) { + CPublishedFile_GetUserFiles_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(CPublishedFile_GetUserFiles_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_GetUserFiles_Request"; + } + protected: + explicit CPublishedFile_GetUserFiles_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 { + kRequiredtagsFieldNumber = 11, + kExcludedtagsFieldNumber = 12, + kSortmethodFieldNumber = 6, + kAppidFieldNumber = 1, + kTotalonlyFieldNumber = 7, + kIdsOnlyFieldNumber = 10, + kPrivacyFieldNumber = 9, + kPageFieldNumber = 3, + kNumperpageFieldNumber = 4, + }; + // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; + int requiredtags_size() const; + private: + int _internal_requiredtags_size() const; + public: + void clear_requiredtags(); + const std::string& requiredtags(int index) const; + std::string* mutable_requiredtags(int index); + void set_requiredtags(int index, const std::string& value); + void set_requiredtags(int index, std::string&& value); + void set_requiredtags(int index, const char* value); + void set_requiredtags(int index, const char* value, size_t size); + std::string* add_requiredtags(); + void add_requiredtags(const std::string& value); + void add_requiredtags(std::string&& value); + void add_requiredtags(const char* value); + void add_requiredtags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& requiredtags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_requiredtags(); + private: + const std::string& _internal_requiredtags(int index) const; + std::string* _internal_add_requiredtags(); + public: + + // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; + int excludedtags_size() const; + private: + int _internal_excludedtags_size() const; + public: + void clear_excludedtags(); + const std::string& excludedtags(int index) const; + std::string* mutable_excludedtags(int index); + void set_excludedtags(int index, const std::string& value); + void set_excludedtags(int index, std::string&& value); + void set_excludedtags(int index, const char* value); + void set_excludedtags(int index, const char* value, size_t size); + std::string* add_excludedtags(); + void add_excludedtags(const std::string& value); + void add_excludedtags(std::string&& value); + void add_excludedtags(const char* value); + void add_excludedtags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& excludedtags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_excludedtags(); + private: + const std::string& _internal_excludedtags(int index) const; + std::string* _internal_add_excludedtags(); + public: + + // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; + bool has_sortmethod() const; + private: + bool _internal_has_sortmethod() const; + public: + void clear_sortmethod(); + const std::string& sortmethod() const; + template + void set_sortmethod(ArgT0&& arg0, ArgT... args); + std::string* mutable_sortmethod(); + PROTOBUF_NODISCARD std::string* release_sortmethod(); + void set_allocated_sortmethod(std::string* sortmethod); + private: + const std::string& _internal_sortmethod() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sortmethod(const std::string& value); + std::string* _internal_mutable_sortmethod(); + public: + + // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; + bool has_totalonly() const; + private: + bool _internal_has_totalonly() const; + public: + void clear_totalonly(); + bool totalonly() const; + void set_totalonly(bool value); + private: + bool _internal_totalonly() const; + void _internal_set_totalonly(bool value); + public: + + // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; + bool has_ids_only() const; + private: + bool _internal_has_ids_only() const; + public: + void clear_ids_only(); + bool ids_only() const; + void set_ids_only(bool value); + private: + bool _internal_ids_only() const; + void _internal_set_ids_only(bool value); + public: + + // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; + bool has_privacy() const; + private: + bool _internal_has_privacy() const; + public: + void clear_privacy(); + uint32_t privacy() const; + void set_privacy(uint32_t value); + private: + uint32_t _internal_privacy() const; + void _internal_set_privacy(uint32_t value); + public: + + // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; + bool has_page() const; + private: + bool _internal_has_page() const; + public: + void clear_page(); + uint32_t page() const; + void set_page(uint32_t value); + private: + uint32_t _internal_page() const; + void _internal_set_page(uint32_t value); + public: + + // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; + bool has_numperpage() const; + private: + bool _internal_has_numperpage() const; + public: + void clear_numperpage(); + uint32_t numperpage() const; + void set_numperpage(uint32_t value); + private: + uint32_t _internal_numperpage() const; + void _internal_set_numperpage(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField requiredtags_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField excludedtags_; + static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_sortmethod_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sortmethod_; + uint32_t appid_; + bool totalonly_; + bool ids_only_; + uint32_t privacy_; + uint32_t page_; + uint32_t numperpage_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_GetUserFiles_Response_App final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Response.App) */ { + public: + inline CPublishedFile_GetUserFiles_Response_App() : CPublishedFile_GetUserFiles_Response_App(nullptr) {} + ~CPublishedFile_GetUserFiles_Response_App() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_App(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_GetUserFiles_Response_App(const CPublishedFile_GetUserFiles_Response_App& from); + CPublishedFile_GetUserFiles_Response_App(CPublishedFile_GetUserFiles_Response_App&& from) noexcept + : CPublishedFile_GetUserFiles_Response_App() { + *this = ::std::move(from); + } + + inline CPublishedFile_GetUserFiles_Response_App& operator=(const CPublishedFile_GetUserFiles_Response_App& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_GetUserFiles_Response_App& operator=(CPublishedFile_GetUserFiles_Response_App&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_GetUserFiles_Response_App& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_GetUserFiles_Response_App* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_GetUserFiles_Response_App_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CPublishedFile_GetUserFiles_Response_App& a, CPublishedFile_GetUserFiles_Response_App& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_GetUserFiles_Response_App* 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(CPublishedFile_GetUserFiles_Response_App* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_GetUserFiles_Response_App* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_GetUserFiles_Response_App& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_GetUserFiles_Response_App& from) { + CPublishedFile_GetUserFiles_Response_App::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(CPublishedFile_GetUserFiles_Response_App* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_GetUserFiles_Response.App"; + } + protected: + explicit CPublishedFile_GetUserFiles_Response_App(::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 = 2, + kAppidFieldNumber = 1, + kShortcutidFieldNumber = 3, + kPrivateFieldNumber = 4, + }; + // optional 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: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 shortcutid = 3; + bool has_shortcutid() const; + private: + bool _internal_has_shortcutid() const; + public: + void clear_shortcutid(); + uint32_t shortcutid() const; + void set_shortcutid(uint32_t value); + private: + uint32_t _internal_shortcutid() const; + void _internal_set_shortcutid(uint32_t value); + public: + + // optional bool private = 4; + bool has_private_() const; + private: + bool _internal_has_private_() const; + public: + void clear_private_(); + bool private_() const; + void set_private_(bool value); + private: + bool _internal_private_() const; + void _internal_set_private_(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Response.App) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint32_t appid_; + uint32_t shortcutid_; + bool private__; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_GetUserFiles_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Response) */ { + public: + inline CPublishedFile_GetUserFiles_Response() : CPublishedFile_GetUserFiles_Response(nullptr) {} + ~CPublishedFile_GetUserFiles_Response() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_GetUserFiles_Response(const CPublishedFile_GetUserFiles_Response& from); + CPublishedFile_GetUserFiles_Response(CPublishedFile_GetUserFiles_Response&& from) noexcept + : CPublishedFile_GetUserFiles_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_GetUserFiles_Response& operator=(const CPublishedFile_GetUserFiles_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_GetUserFiles_Response& operator=(CPublishedFile_GetUserFiles_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_GetUserFiles_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_GetUserFiles_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_GetUserFiles_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CPublishedFile_GetUserFiles_Response& a, CPublishedFile_GetUserFiles_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_GetUserFiles_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(CPublishedFile_GetUserFiles_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_GetUserFiles_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_GetUserFiles_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_GetUserFiles_Response& from) { + CPublishedFile_GetUserFiles_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(CPublishedFile_GetUserFiles_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_GetUserFiles_Response"; + } + protected: + explicit CPublishedFile_GetUserFiles_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 ---------------------------------------------------- + + typedef CPublishedFile_GetUserFiles_Response_App App; + + // accessors ------------------------------------------------------- + + enum : int { + kPublishedfiledetailsFieldNumber = 3, + kAppsFieldNumber = 4, + kTotalFieldNumber = 1, + kStartindexFieldNumber = 2, + }; + // repeated .PublishedFileDetails publishedfiledetails = 3; + int publishedfiledetails_size() const; + private: + int _internal_publishedfiledetails_size() const; + public: + void clear_publishedfiledetails(); + ::PublishedFileDetails* mutable_publishedfiledetails(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* + mutable_publishedfiledetails(); + private: + const ::PublishedFileDetails& _internal_publishedfiledetails(int index) const; + ::PublishedFileDetails* _internal_add_publishedfiledetails(); + public: + const ::PublishedFileDetails& publishedfiledetails(int index) const; + ::PublishedFileDetails* add_publishedfiledetails(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& + publishedfiledetails() const; + + // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; + int apps_size() const; + private: + int _internal_apps_size() const; + public: + void clear_apps(); + ::CPublishedFile_GetUserFiles_Response_App* mutable_apps(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >* + mutable_apps(); + private: + const ::CPublishedFile_GetUserFiles_Response_App& _internal_apps(int index) const; + ::CPublishedFile_GetUserFiles_Response_App* _internal_add_apps(); + public: + const ::CPublishedFile_GetUserFiles_Response_App& apps(int index) const; + ::CPublishedFile_GetUserFiles_Response_App* add_apps(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >& + apps() const; + + // optional uint32 total = 1; + bool has_total() const; + private: + bool _internal_has_total() const; + public: + void clear_total(); + uint32_t total() const; + void set_total(uint32_t value); + private: + uint32_t _internal_total() const; + void _internal_set_total(uint32_t value); + public: + + // optional uint32 startindex = 2; + bool has_startindex() const; + private: + bool _internal_has_startindex() const; + public: + void clear_startindex(); + uint32_t startindex() const; + void set_startindex(uint32_t value); + private: + uint32_t _internal_startindex() const; + void _internal_set_startindex(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails > publishedfiledetails_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App > apps_; + uint32_t total_; + uint32_t startindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Update_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Update_Request) */ { + public: + inline CPublishedFile_Update_Request() : CPublishedFile_Update_Request(nullptr) {} + ~CPublishedFile_Update_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_Update_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Update_Request(const CPublishedFile_Update_Request& from); + CPublishedFile_Update_Request(CPublishedFile_Update_Request&& from) noexcept + : CPublishedFile_Update_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_Update_Request& operator=(const CPublishedFile_Update_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Update_Request& operator=(CPublishedFile_Update_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Update_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Update_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Update_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CPublishedFile_Update_Request& a, CPublishedFile_Update_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Update_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(CPublishedFile_Update_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Update_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_Update_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_Update_Request& from) { + CPublishedFile_Update_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(CPublishedFile_Update_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_Update_Request"; + } + protected: + explicit CPublishedFile_Update_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 { + kTagsFieldNumber = 6, + kTitleFieldNumber = 3, + kFileDescriptionFieldNumber = 4, + kFilenameFieldNumber = 7, + kPreviewFilenameFieldNumber = 8, + kPublishedfileidFieldNumber = 2, + kAppidFieldNumber = 1, + kVisibilityFieldNumber = 5, + }; + // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + const std::string& tags(int index) const; + std::string* mutable_tags(int index); + void set_tags(int index, const std::string& value); + void set_tags(int index, std::string&& value); + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + std::string* add_tags(); + void add_tags(const std::string& value); + void add_tags(std::string&& value); + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); + private: + const std::string& _internal_tags(int index) const; + std::string* _internal_add_tags(); + public: + + // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; + bool has_title() const; + private: + bool _internal_has_title() const; + public: + void clear_title(); + const std::string& title() const; + template + void set_title(ArgT0&& arg0, ArgT... args); + std::string* mutable_title(); + PROTOBUF_NODISCARD std::string* release_title(); + void set_allocated_title(std::string* title); + private: + const std::string& _internal_title() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); + std::string* _internal_mutable_title(); + public: + + // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; + bool has_file_description() const; + private: + bool _internal_has_file_description() const; + public: + void clear_file_description(); + const std::string& file_description() const; + template + void set_file_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_description(); + PROTOBUF_NODISCARD std::string* release_file_description(); + void set_allocated_file_description(std::string* file_description); + private: + const std::string& _internal_file_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); + std::string* _internal_mutable_file_description(); + public: + + // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; + bool has_preview_filename() const; + private: + bool _internal_has_preview_filename() const; + public: + void clear_preview_filename(); + const std::string& preview_filename() const; + template + void set_preview_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_preview_filename(); + PROTOBUF_NODISCARD std::string* release_preview_filename(); + void set_allocated_preview_filename(std::string* preview_filename); + private: + const std::string& _internal_preview_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_filename(const std::string& value); + std::string* _internal_mutable_preview_filename(); + public: + + // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; + bool has_publishedfileid() const; + private: + bool _internal_has_publishedfileid() const; + public: + void clear_publishedfileid(); + uint64_t publishedfileid() const; + void set_publishedfileid(uint64_t value); + private: + uint64_t _internal_publishedfileid() const; + void _internal_set_publishedfileid(uint64_t value); + public: + + // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; + bool has_visibility() const; + private: + bool _internal_has_visibility() const; + public: + void clear_visibility(); + uint32_t visibility() const; + void set_visibility(uint32_t value); + private: + uint32_t _internal_visibility() const; + void _internal_set_visibility(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_Update_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_filename_; + uint64_t publishedfileid_; + uint32_t appid_; + uint32_t visibility_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_Update_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Update_Response) */ { + public: + inline CPublishedFile_Update_Response() : CPublishedFile_Update_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPublishedFile_Update_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_Update_Response(const CPublishedFile_Update_Response& from); + CPublishedFile_Update_Response(CPublishedFile_Update_Response&& from) noexcept + : CPublishedFile_Update_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_Update_Response& operator=(const CPublishedFile_Update_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_Update_Response& operator=(CPublishedFile_Update_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_Update_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_Update_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_Update_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CPublishedFile_Update_Response& a, CPublishedFile_Update_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_Update_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(CPublishedFile_Update_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_Update_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPublishedFile_Update_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPublishedFile_Update_Response& 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 "CPublishedFile_Update_Response"; + } + protected: + explicit CPublishedFile_Update_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPublishedFile_Update_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_RefreshVotingQueue_Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_RefreshVotingQueue_Request) */ { + public: + inline CPublishedFile_RefreshVotingQueue_Request() : CPublishedFile_RefreshVotingQueue_Request(nullptr) {} + ~CPublishedFile_RefreshVotingQueue_Request() override; + explicit PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_RefreshVotingQueue_Request(const CPublishedFile_RefreshVotingQueue_Request& from); + CPublishedFile_RefreshVotingQueue_Request(CPublishedFile_RefreshVotingQueue_Request&& from) noexcept + : CPublishedFile_RefreshVotingQueue_Request() { + *this = ::std::move(from); + } + + inline CPublishedFile_RefreshVotingQueue_Request& operator=(const CPublishedFile_RefreshVotingQueue_Request& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_RefreshVotingQueue_Request& operator=(CPublishedFile_RefreshVotingQueue_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_RefreshVotingQueue_Request& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_RefreshVotingQueue_Request* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_RefreshVotingQueue_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CPublishedFile_RefreshVotingQueue_Request& a, CPublishedFile_RefreshVotingQueue_Request& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_RefreshVotingQueue_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(CPublishedFile_RefreshVotingQueue_Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_RefreshVotingQueue_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CPublishedFile_RefreshVotingQueue_Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CPublishedFile_RefreshVotingQueue_Request& from) { + CPublishedFile_RefreshVotingQueue_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(CPublishedFile_RefreshVotingQueue_Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CPublishedFile_RefreshVotingQueue_Request"; + } + protected: + explicit CPublishedFile_RefreshVotingQueue_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 { + kTagsFieldNumber = 3, + kExcludedTagsFieldNumber = 5, + kAppidFieldNumber = 1, + kMatchingFileTypeFieldNumber = 2, + kDesiredQueueSizeFieldNumber = 6, + kMatchAllTagsFieldNumber = 4, + }; + // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; + int tags_size() const; + private: + int _internal_tags_size() const; + public: + void clear_tags(); + const std::string& tags(int index) const; + std::string* mutable_tags(int index); + void set_tags(int index, const std::string& value); + void set_tags(int index, std::string&& value); + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + std::string* add_tags(); + void add_tags(const std::string& value); + void add_tags(std::string&& value); + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); + private: + const std::string& _internal_tags(int index) const; + std::string* _internal_add_tags(); + public: + + // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; + int excluded_tags_size() const; + private: + int _internal_excluded_tags_size() const; + public: + void clear_excluded_tags(); + const std::string& excluded_tags(int index) const; + std::string* mutable_excluded_tags(int index); + void set_excluded_tags(int index, const std::string& value); + void set_excluded_tags(int index, std::string&& value); + void set_excluded_tags(int index, const char* value); + void set_excluded_tags(int index, const char* value, size_t size); + std::string* add_excluded_tags(); + void add_excluded_tags(const std::string& value); + void add_excluded_tags(std::string&& value); + void add_excluded_tags(const char* value); + void add_excluded_tags(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& excluded_tags() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_excluded_tags(); + private: + const std::string& _internal_excluded_tags(int index) const; + std::string* _internal_add_excluded_tags(); + public: + + // optional uint32 appid = 1; + bool has_appid() const; + private: + bool _internal_has_appid() const; + public: + void clear_appid(); + uint32_t appid() const; + void set_appid(uint32_t value); + private: + uint32_t _internal_appid() const; + void _internal_set_appid(uint32_t value); + public: + + // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; + bool has_matching_file_type() const; + private: + bool _internal_has_matching_file_type() const; + public: + void clear_matching_file_type(); + uint32_t matching_file_type() const; + void set_matching_file_type(uint32_t value); + private: + uint32_t _internal_matching_file_type() const; + void _internal_set_matching_file_type(uint32_t value); + public: + + // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; + bool has_desired_queue_size() const; + private: + bool _internal_has_desired_queue_size() const; + public: + void clear_desired_queue_size(); + uint32_t desired_queue_size() const; + void set_desired_queue_size(uint32_t value); + private: + uint32_t _internal_desired_queue_size() const; + void _internal_set_desired_queue_size(uint32_t value); + public: + + // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; + bool has_match_all_tags() const; + private: + bool _internal_has_match_all_tags() const; + public: + void clear_match_all_tags(); + bool match_all_tags() const; + void set_match_all_tags(bool value); + private: + bool _internal_match_all_tags() const; + void _internal_set_match_all_tags(bool value); + public: + + // @@protoc_insertion_point(class_scope:CPublishedFile_RefreshVotingQueue_Request) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField excluded_tags_; + uint32_t appid_; + uint32_t matching_file_type_; + uint32_t desired_queue_size_; + bool match_all_tags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// ------------------------------------------------------------------- + +class CPublishedFile_RefreshVotingQueue_Response final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_RefreshVotingQueue_Response) */ { + public: + inline CPublishedFile_RefreshVotingQueue_Response() : CPublishedFile_RefreshVotingQueue_Response(nullptr) {} + explicit PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CPublishedFile_RefreshVotingQueue_Response(const CPublishedFile_RefreshVotingQueue_Response& from); + CPublishedFile_RefreshVotingQueue_Response(CPublishedFile_RefreshVotingQueue_Response&& from) noexcept + : CPublishedFile_RefreshVotingQueue_Response() { + *this = ::std::move(from); + } + + inline CPublishedFile_RefreshVotingQueue_Response& operator=(const CPublishedFile_RefreshVotingQueue_Response& from) { + CopyFrom(from); + return *this; + } + inline CPublishedFile_RefreshVotingQueue_Response& operator=(CPublishedFile_RefreshVotingQueue_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CPublishedFile_RefreshVotingQueue_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CPublishedFile_RefreshVotingQueue_Response* internal_default_instance() { + return reinterpret_cast( + &_CPublishedFile_RefreshVotingQueue_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CPublishedFile_RefreshVotingQueue_Response& a, CPublishedFile_RefreshVotingQueue_Response& b) { + a.Swap(&b); + } + inline void Swap(CPublishedFile_RefreshVotingQueue_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(CPublishedFile_RefreshVotingQueue_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CPublishedFile_RefreshVotingQueue_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CPublishedFile_RefreshVotingQueue_Response& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CPublishedFile_RefreshVotingQueue_Response& 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 "CPublishedFile_RefreshVotingQueue_Response"; + } + protected: + explicit CPublishedFile_RefreshVotingQueue_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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CPublishedFile_RefreshVotingQueue_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CPublishedFile_Subscribe_Request + +// optional uint64 publishedfileid = 1; +inline bool CPublishedFile_Subscribe_Request::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_Subscribe_Request::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void CPublishedFile_Subscribe_Request::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPublishedFile_Subscribe_Request::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t CPublishedFile_Subscribe_Request::publishedfileid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.publishedfileid) + return _internal_publishedfileid(); +} +inline void CPublishedFile_Subscribe_Request::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.publishedfileid_ = value; +} +inline void CPublishedFile_Subscribe_Request::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.publishedfileid) +} + +// optional uint32 list_type = 2; +inline bool CPublishedFile_Subscribe_Request::_internal_has_list_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_Subscribe_Request::has_list_type() const { + return _internal_has_list_type(); +} +inline void CPublishedFile_Subscribe_Request::clear_list_type() { + _impl_.list_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_Subscribe_Request::_internal_list_type() const { + return _impl_.list_type_; +} +inline uint32_t CPublishedFile_Subscribe_Request::list_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.list_type) + return _internal_list_type(); +} +inline void CPublishedFile_Subscribe_Request::_internal_set_list_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.list_type_ = value; +} +inline void CPublishedFile_Subscribe_Request::set_list_type(uint32_t value) { + _internal_set_list_type(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.list_type) +} + +// optional int32 appid = 3; +inline bool CPublishedFile_Subscribe_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_Subscribe_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_Subscribe_Request::clear_appid() { + _impl_.appid_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CPublishedFile_Subscribe_Request::_internal_appid() const { + return _impl_.appid_; +} +inline int32_t CPublishedFile_Subscribe_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_Subscribe_Request::_internal_set_appid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.appid_ = value; +} +inline void CPublishedFile_Subscribe_Request::set_appid(int32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.appid) +} + +// optional bool notify_client = 4; +inline bool CPublishedFile_Subscribe_Request::_internal_has_notify_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_Subscribe_Request::has_notify_client() const { + return _internal_has_notify_client(); +} +inline void CPublishedFile_Subscribe_Request::clear_notify_client() { + _impl_.notify_client_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_Subscribe_Request::_internal_notify_client() const { + return _impl_.notify_client_; +} +inline bool CPublishedFile_Subscribe_Request::notify_client() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.notify_client) + return _internal_notify_client(); +} +inline void CPublishedFile_Subscribe_Request::_internal_set_notify_client(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.notify_client_ = value; +} +inline void CPublishedFile_Subscribe_Request::set_notify_client(bool value) { + _internal_set_notify_client(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.notify_client) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_Subscribe_Response + +// ------------------------------------------------------------------- + +// CPublishedFile_Unsubscribe_Request + +// optional uint64 publishedfileid = 1; +inline bool CPublishedFile_Unsubscribe_Request::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_Unsubscribe_Request::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void CPublishedFile_Unsubscribe_Request::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CPublishedFile_Unsubscribe_Request::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t CPublishedFile_Unsubscribe_Request::publishedfileid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.publishedfileid) + return _internal_publishedfileid(); +} +inline void CPublishedFile_Unsubscribe_Request::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.publishedfileid_ = value; +} +inline void CPublishedFile_Unsubscribe_Request::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.publishedfileid) +} + +// optional uint32 list_type = 2; +inline bool CPublishedFile_Unsubscribe_Request::_internal_has_list_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_Unsubscribe_Request::has_list_type() const { + return _internal_has_list_type(); +} +inline void CPublishedFile_Unsubscribe_Request::clear_list_type() { + _impl_.list_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_Unsubscribe_Request::_internal_list_type() const { + return _impl_.list_type_; +} +inline uint32_t CPublishedFile_Unsubscribe_Request::list_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.list_type) + return _internal_list_type(); +} +inline void CPublishedFile_Unsubscribe_Request::_internal_set_list_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.list_type_ = value; +} +inline void CPublishedFile_Unsubscribe_Request::set_list_type(uint32_t value) { + _internal_set_list_type(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.list_type) +} + +// optional int32 appid = 3; +inline bool CPublishedFile_Unsubscribe_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_Unsubscribe_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_Unsubscribe_Request::clear_appid() { + _impl_.appid_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CPublishedFile_Unsubscribe_Request::_internal_appid() const { + return _impl_.appid_; +} +inline int32_t CPublishedFile_Unsubscribe_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_Unsubscribe_Request::_internal_set_appid(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.appid_ = value; +} +inline void CPublishedFile_Unsubscribe_Request::set_appid(int32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.appid) +} + +// optional bool notify_client = 4; +inline bool CPublishedFile_Unsubscribe_Request::_internal_has_notify_client() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_Unsubscribe_Request::has_notify_client() const { + return _internal_has_notify_client(); +} +inline void CPublishedFile_Unsubscribe_Request::clear_notify_client() { + _impl_.notify_client_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_Unsubscribe_Request::_internal_notify_client() const { + return _impl_.notify_client_; +} +inline bool CPublishedFile_Unsubscribe_Request::notify_client() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.notify_client) + return _internal_notify_client(); +} +inline void CPublishedFile_Unsubscribe_Request::_internal_set_notify_client(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.notify_client_ = value; +} +inline void CPublishedFile_Unsubscribe_Request::set_notify_client(bool value) { + _internal_set_notify_client(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.notify_client) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_Unsubscribe_Response + +// ------------------------------------------------------------------- + +// CPublishedFile_Publish_Request + +// optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; +inline bool CPublishedFile_Publish_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_Publish_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CPublishedFile_Publish_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPublishedFile_Publish_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_Publish_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.appid_ = value; +} +inline void CPublishedFile_Publish_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.appid) +} + +// optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; +inline bool CPublishedFile_Publish_Request::_internal_has_consumer_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_consumer_appid() const { + return _internal_has_consumer_appid(); +} +inline void CPublishedFile_Publish_Request::clear_consumer_appid() { + _impl_.consumer_appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CPublishedFile_Publish_Request::_internal_consumer_appid() const { + return _impl_.consumer_appid_; +} +inline uint32_t CPublishedFile_Publish_Request::consumer_appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.consumer_appid) + return _internal_consumer_appid(); +} +inline void CPublishedFile_Publish_Request::_internal_set_consumer_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.consumer_appid_ = value; +} +inline void CPublishedFile_Publish_Request::set_consumer_appid(uint32_t value) { + _internal_set_consumer_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.consumer_appid) +} + +// optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; +inline bool CPublishedFile_Publish_Request::_internal_has_cloudfilename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_cloudfilename() const { + return _internal_has_cloudfilename(); +} +inline void CPublishedFile_Publish_Request::clear_cloudfilename() { + _impl_.cloudfilename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPublishedFile_Publish_Request::cloudfilename() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.cloudfilename) + return _internal_cloudfilename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_cloudfilename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cloudfilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.cloudfilename) +} +inline std::string* CPublishedFile_Publish_Request::mutable_cloudfilename() { + std::string* _s = _internal_mutable_cloudfilename(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.cloudfilename) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_cloudfilename() const { + return _impl_.cloudfilename_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_cloudfilename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.cloudfilename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_cloudfilename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.cloudfilename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_cloudfilename() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.cloudfilename) + if (!_internal_has_cloudfilename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.cloudfilename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cloudfilename_.IsDefault()) { + _impl_.cloudfilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_cloudfilename(std::string* cloudfilename) { + if (cloudfilename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cloudfilename_.SetAllocated(cloudfilename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cloudfilename_.IsDefault()) { + _impl_.cloudfilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.cloudfilename) +} + +// optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; +inline bool CPublishedFile_Publish_Request::_internal_has_preview_cloudfilename() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_preview_cloudfilename() const { + return _internal_has_preview_cloudfilename(); +} +inline void CPublishedFile_Publish_Request::clear_preview_cloudfilename() { + _impl_.preview_cloudfilename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CPublishedFile_Publish_Request::preview_cloudfilename() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.preview_cloudfilename) + return _internal_preview_cloudfilename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_preview_cloudfilename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.preview_cloudfilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.preview_cloudfilename) +} +inline std::string* CPublishedFile_Publish_Request::mutable_preview_cloudfilename() { + std::string* _s = _internal_mutable_preview_cloudfilename(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.preview_cloudfilename) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_preview_cloudfilename() const { + return _impl_.preview_cloudfilename_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_preview_cloudfilename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.preview_cloudfilename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_preview_cloudfilename() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.preview_cloudfilename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_preview_cloudfilename() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.preview_cloudfilename) + if (!_internal_has_preview_cloudfilename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.preview_cloudfilename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_cloudfilename_.IsDefault()) { + _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_preview_cloudfilename(std::string* preview_cloudfilename) { + if (preview_cloudfilename != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.preview_cloudfilename_.SetAllocated(preview_cloudfilename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_cloudfilename_.IsDefault()) { + _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.preview_cloudfilename) +} + +// optional string title = 5 [(.description) = "Text title for the published file."]; +inline bool CPublishedFile_Publish_Request::_internal_has_title() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_title() const { + return _internal_has_title(); +} +inline void CPublishedFile_Publish_Request::clear_title() { + _impl_.title_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CPublishedFile_Publish_Request::title() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.title) + return _internal_title(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_title(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.title) +} +inline std::string* CPublishedFile_Publish_Request::mutable_title() { + std::string* _s = _internal_mutable_title(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.title) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_title() const { + return _impl_.title_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_title(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.title_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_title() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.title_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_title() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.title) + if (!_internal_has_title()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.title_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_title(std::string* title) { + if (title != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.title_.SetAllocated(title, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.title) +} + +// optional string file_description = 6 [(.description) = "Text description for the published file."]; +inline bool CPublishedFile_Publish_Request::_internal_has_file_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_file_description() const { + return _internal_has_file_description(); +} +inline void CPublishedFile_Publish_Request::clear_file_description() { + _impl_.file_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CPublishedFile_Publish_Request::file_description() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.file_description) + return _internal_file_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_file_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.file_description) +} +inline std::string* CPublishedFile_Publish_Request::mutable_file_description() { + std::string* _s = _internal_mutable_file_description(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.file_description) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_file_description() const { + return _impl_.file_description_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_file_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.file_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_file_description() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.file_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_file_description() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.file_description) + if (!_internal_has_file_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.file_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_file_description(std::string* file_description) { + if (file_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.file_description) +} + +// optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; +inline bool CPublishedFile_Publish_Request::_internal_has_file_type() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_file_type() const { + return _internal_has_file_type(); +} +inline void CPublishedFile_Publish_Request::clear_file_type() { + _impl_.file_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CPublishedFile_Publish_Request::_internal_file_type() const { + return _impl_.file_type_; +} +inline uint32_t CPublishedFile_Publish_Request::file_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.file_type) + return _internal_file_type(); +} +inline void CPublishedFile_Publish_Request::_internal_set_file_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.file_type_ = value; +} +inline void CPublishedFile_Publish_Request::set_file_type(uint32_t value) { + _internal_set_file_type(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.file_type) +} + +// optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; +inline bool CPublishedFile_Publish_Request::_internal_has_consumer_shortcut_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_consumer_shortcut_name() const { + return _internal_has_consumer_shortcut_name(); +} +inline void CPublishedFile_Publish_Request::clear_consumer_shortcut_name() { + _impl_.consumer_shortcut_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CPublishedFile_Publish_Request::consumer_shortcut_name() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.consumer_shortcut_name) + return _internal_consumer_shortcut_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_consumer_shortcut_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.consumer_shortcut_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.consumer_shortcut_name) +} +inline std::string* CPublishedFile_Publish_Request::mutable_consumer_shortcut_name() { + std::string* _s = _internal_mutable_consumer_shortcut_name(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.consumer_shortcut_name) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_consumer_shortcut_name() const { + return _impl_.consumer_shortcut_name_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_consumer_shortcut_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.consumer_shortcut_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_consumer_shortcut_name() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.consumer_shortcut_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_consumer_shortcut_name() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.consumer_shortcut_name) + if (!_internal_has_consumer_shortcut_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.consumer_shortcut_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.consumer_shortcut_name_.IsDefault()) { + _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_consumer_shortcut_name(std::string* consumer_shortcut_name) { + if (consumer_shortcut_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.consumer_shortcut_name_.SetAllocated(consumer_shortcut_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.consumer_shortcut_name_.IsDefault()) { + _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.consumer_shortcut_name) +} + +// optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; +inline bool CPublishedFile_Publish_Request::_internal_has_youtube_username() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_youtube_username() const { + return _internal_has_youtube_username(); +} +inline void CPublishedFile_Publish_Request::clear_youtube_username() { + _impl_.youtube_username_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& CPublishedFile_Publish_Request::youtube_username() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.youtube_username) + return _internal_youtube_username(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_youtube_username(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.youtube_username_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.youtube_username) +} +inline std::string* CPublishedFile_Publish_Request::mutable_youtube_username() { + std::string* _s = _internal_mutable_youtube_username(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.youtube_username) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_youtube_username() const { + return _impl_.youtube_username_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_youtube_username(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.youtube_username_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_youtube_username() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.youtube_username_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_youtube_username() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.youtube_username) + if (!_internal_has_youtube_username()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.youtube_username_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_username_.IsDefault()) { + _impl_.youtube_username_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_youtube_username(std::string* youtube_username) { + if (youtube_username != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.youtube_username_.SetAllocated(youtube_username, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_username_.IsDefault()) { + _impl_.youtube_username_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.youtube_username) +} + +// optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; +inline bool CPublishedFile_Publish_Request::_internal_has_youtube_videoid() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_youtube_videoid() const { + return _internal_has_youtube_videoid(); +} +inline void CPublishedFile_Publish_Request::clear_youtube_videoid() { + _impl_.youtube_videoid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& CPublishedFile_Publish_Request::youtube_videoid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.youtube_videoid) + return _internal_youtube_videoid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_youtube_videoid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.youtube_videoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.youtube_videoid) +} +inline std::string* CPublishedFile_Publish_Request::mutable_youtube_videoid() { + std::string* _s = _internal_mutable_youtube_videoid(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.youtube_videoid) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_youtube_videoid() const { + return _impl_.youtube_videoid_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_youtube_videoid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.youtube_videoid_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_youtube_videoid() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.youtube_videoid_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_youtube_videoid() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.youtube_videoid) + if (!_internal_has_youtube_videoid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.youtube_videoid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_videoid_.IsDefault()) { + _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_youtube_videoid(std::string* youtube_videoid) { + if (youtube_videoid != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.youtube_videoid_.SetAllocated(youtube_videoid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtube_videoid_.IsDefault()) { + _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.youtube_videoid) +} + +// optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; +inline bool CPublishedFile_Publish_Request::_internal_has_visibility() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_visibility() const { + return _internal_has_visibility(); +} +inline void CPublishedFile_Publish_Request::clear_visibility() { + _impl_.visibility_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CPublishedFile_Publish_Request::_internal_visibility() const { + return _impl_.visibility_; +} +inline uint32_t CPublishedFile_Publish_Request::visibility() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.visibility) + return _internal_visibility(); +} +inline void CPublishedFile_Publish_Request::_internal_set_visibility(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.visibility_ = value; +} +inline void CPublishedFile_Publish_Request::set_visibility(uint32_t value) { + _internal_set_visibility(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.visibility) +} + +// optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; +inline bool CPublishedFile_Publish_Request::_internal_has_redirect_uri() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_redirect_uri() const { + return _internal_has_redirect_uri(); +} +inline void CPublishedFile_Publish_Request::clear_redirect_uri() { + _impl_.redirect_uri_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& CPublishedFile_Publish_Request::redirect_uri() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.redirect_uri) + return _internal_redirect_uri(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_redirect_uri(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.redirect_uri) +} +inline std::string* CPublishedFile_Publish_Request::mutable_redirect_uri() { + std::string* _s = _internal_mutable_redirect_uri(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.redirect_uri) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_redirect_uri() const { + return _impl_.redirect_uri_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_redirect_uri(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_redirect_uri() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_redirect_uri() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.redirect_uri) + if (!_internal_has_redirect_uri()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.redirect_uri_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_redirect_uri(std::string* redirect_uri) { + if (redirect_uri != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.redirect_uri) +} + +// repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; +inline int CPublishedFile_Publish_Request::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int CPublishedFile_Publish_Request::tags_size() const { + return _internal_tags_size(); +} +inline void CPublishedFile_Publish_Request::clear_tags() { + _impl_.tags_.Clear(); +} +inline std::string* CPublishedFile_Publish_Request::add_tags() { + std::string* _s = _internal_add_tags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_Publish_Request.tags) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const std::string& CPublishedFile_Publish_Request::tags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.tags) + return _internal_tags(index); +} +inline std::string* CPublishedFile_Publish_Request::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.tags) + return _impl_.tags_.Mutable(index); +} +inline void CPublishedFile_Publish_Request::set_tags(int index, const std::string& value) { + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::set_tags(int index, std::string&& value) { + _impl_.tags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::set_tags(int index, const char* value, size_t size) { + _impl_.tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_Publish_Request.tags) +} +inline std::string* CPublishedFile_Publish_Request::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline void CPublishedFile_Publish_Request::add_tags(const std::string& value) { + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::add_tags(std::string&& value) { + _impl_.tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_Publish_Request.tags) +} +inline void CPublishedFile_Publish_Request::add_tags(const char* value, size_t size) { + _impl_.tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_Publish_Request.tags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_Publish_Request::tags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_Publish_Request.tags) + return _impl_.tags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_Publish_Request::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_Publish_Request.tags) + return &_impl_.tags_; +} + +// optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; +inline bool CPublishedFile_Publish_Request::_internal_has_collection_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_collection_type() const { + return _internal_has_collection_type(); +} +inline void CPublishedFile_Publish_Request::clear_collection_type() { + _impl_.collection_type_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const std::string& CPublishedFile_Publish_Request::collection_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.collection_type) + return _internal_collection_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_collection_type(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.collection_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.collection_type) +} +inline std::string* CPublishedFile_Publish_Request::mutable_collection_type() { + std::string* _s = _internal_mutable_collection_type(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.collection_type) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_collection_type() const { + return _impl_.collection_type_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_collection_type(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.collection_type_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_collection_type() { + _impl_._has_bits_[0] |= 0x00000100u; + return _impl_.collection_type_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_collection_type() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.collection_type) + if (!_internal_has_collection_type()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000100u; + auto* p = _impl_.collection_type_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.collection_type_.IsDefault()) { + _impl_.collection_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_collection_type(std::string* collection_type) { + if (collection_type != nullptr) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.collection_type_.SetAllocated(collection_type, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.collection_type_.IsDefault()) { + _impl_.collection_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.collection_type) +} + +// optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; +inline bool CPublishedFile_Publish_Request::_internal_has_game_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_game_type() const { + return _internal_has_game_type(); +} +inline void CPublishedFile_Publish_Request::clear_game_type() { + _impl_.game_type_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const std::string& CPublishedFile_Publish_Request::game_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.game_type) + return _internal_game_type(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_game_type(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.game_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.game_type) +} +inline std::string* CPublishedFile_Publish_Request::mutable_game_type() { + std::string* _s = _internal_mutable_game_type(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.game_type) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_game_type() const { + return _impl_.game_type_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_game_type(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.game_type_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_game_type() { + _impl_._has_bits_[0] |= 0x00000200u; + return _impl_.game_type_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_game_type() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.game_type) + if (!_internal_has_game_type()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000200u; + auto* p = _impl_.game_type_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_type_.IsDefault()) { + _impl_.game_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_game_type(std::string* game_type) { + if (game_type != nullptr) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.game_type_.SetAllocated(game_type, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.game_type_.IsDefault()) { + _impl_.game_type_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.game_type) +} + +// optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; +inline bool CPublishedFile_Publish_Request::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Request::has_url() const { + return _internal_has_url(); +} +inline void CPublishedFile_Publish_Request::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline const std::string& CPublishedFile_Publish_Request::url() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Request::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.url) +} +inline std::string* CPublishedFile_Publish_Request::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.url) + return _s; +} +inline const std::string& CPublishedFile_Publish_Request::_internal_url() const { + return _impl_.url_.Get(); +} +inline void CPublishedFile_Publish_Request::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000400u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Request::release_url() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000400u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Request::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.url) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_Publish_Response + +// optional uint64 publishedfileid = 1; +inline bool CPublishedFile_Publish_Response::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Response::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void CPublishedFile_Publish_Response::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CPublishedFile_Publish_Response::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t CPublishedFile_Publish_Response::publishedfileid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Response.publishedfileid) + return _internal_publishedfileid(); +} +inline void CPublishedFile_Publish_Response::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.publishedfileid_ = value; +} +inline void CPublishedFile_Publish_Response::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Response.publishedfileid) +} + +// optional string redirect_uri = 2; +inline bool CPublishedFile_Publish_Response::_internal_has_redirect_uri() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_Publish_Response::has_redirect_uri() const { + return _internal_has_redirect_uri(); +} +inline void CPublishedFile_Publish_Response::clear_redirect_uri() { + _impl_.redirect_uri_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPublishedFile_Publish_Response::redirect_uri() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Response.redirect_uri) + return _internal_redirect_uri(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Publish_Response::set_redirect_uri(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Response.redirect_uri) +} +inline std::string* CPublishedFile_Publish_Response::mutable_redirect_uri() { + std::string* _s = _internal_mutable_redirect_uri(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Response.redirect_uri) + return _s; +} +inline const std::string& CPublishedFile_Publish_Response::_internal_redirect_uri() const { + return _impl_.redirect_uri_.Get(); +} +inline void CPublishedFile_Publish_Response::_internal_set_redirect_uri(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Response::_internal_mutable_redirect_uri() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Publish_Response::release_redirect_uri() { + // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Response.redirect_uri) + if (!_internal_has_redirect_uri()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.redirect_uri_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Publish_Response::set_allocated_redirect_uri(std::string* redirect_uri) { + if (redirect_uri != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.redirect_uri_.IsDefault()) { + _impl_.redirect_uri_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Response.redirect_uri) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_GetDetails_Request + +// repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; +inline int CPublishedFile_GetDetails_Request::_internal_publishedfileids_size() const { + return _impl_.publishedfileids_.size(); +} +inline int CPublishedFile_GetDetails_Request::publishedfileids_size() const { + return _internal_publishedfileids_size(); +} +inline void CPublishedFile_GetDetails_Request::clear_publishedfileids() { + _impl_.publishedfileids_.Clear(); +} +inline uint64_t CPublishedFile_GetDetails_Request::_internal_publishedfileids(int index) const { + return _impl_.publishedfileids_.Get(index); +} +inline uint64_t CPublishedFile_GetDetails_Request::publishedfileids(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.publishedfileids) + return _internal_publishedfileids(index); +} +inline void CPublishedFile_GetDetails_Request::set_publishedfileids(int index, uint64_t value) { + _impl_.publishedfileids_.Set(index, value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.publishedfileids) +} +inline void CPublishedFile_GetDetails_Request::_internal_add_publishedfileids(uint64_t value) { + _impl_.publishedfileids_.Add(value); +} +inline void CPublishedFile_GetDetails_Request::add_publishedfileids(uint64_t value) { + _internal_add_publishedfileids(value); + // @@protoc_insertion_point(field_add:CPublishedFile_GetDetails_Request.publishedfileids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CPublishedFile_GetDetails_Request::_internal_publishedfileids() const { + return _impl_.publishedfileids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CPublishedFile_GetDetails_Request::publishedfileids() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetDetails_Request.publishedfileids) + return _internal_publishedfileids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CPublishedFile_GetDetails_Request::_internal_mutable_publishedfileids() { + return &_impl_.publishedfileids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CPublishedFile_GetDetails_Request::mutable_publishedfileids() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetDetails_Request.publishedfileids) + return _internal_mutable_publishedfileids(); +} + +// optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_includetags() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_includetags() const { + return _internal_has_includetags(); +} +inline void CPublishedFile_GetDetails_Request::clear_includetags() { + _impl_.includetags_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_includetags() const { + return _impl_.includetags_; +} +inline bool CPublishedFile_GetDetails_Request::includetags() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includetags) + return _internal_includetags(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_includetags(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.includetags_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_includetags(bool value) { + _internal_set_includetags(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includetags) +} + +// optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_includeadditionalpreviews() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_includeadditionalpreviews() const { + return _internal_has_includeadditionalpreviews(); +} +inline void CPublishedFile_GetDetails_Request::clear_includeadditionalpreviews() { + _impl_.includeadditionalpreviews_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_includeadditionalpreviews() const { + return _impl_.includeadditionalpreviews_; +} +inline bool CPublishedFile_GetDetails_Request::includeadditionalpreviews() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includeadditionalpreviews) + return _internal_includeadditionalpreviews(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_includeadditionalpreviews(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.includeadditionalpreviews_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_includeadditionalpreviews(bool value) { + _internal_set_includeadditionalpreviews(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includeadditionalpreviews) +} + +// optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_includechildren() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_includechildren() const { + return _internal_has_includechildren(); +} +inline void CPublishedFile_GetDetails_Request::clear_includechildren() { + _impl_.includechildren_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_includechildren() const { + return _impl_.includechildren_; +} +inline bool CPublishedFile_GetDetails_Request::includechildren() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includechildren) + return _internal_includechildren(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_includechildren(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.includechildren_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_includechildren(bool value) { + _internal_set_includechildren(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includechildren) +} + +// optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_includekvtags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_includekvtags() const { + return _internal_has_includekvtags(); +} +inline void CPublishedFile_GetDetails_Request::clear_includekvtags() { + _impl_.includekvtags_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_includekvtags() const { + return _impl_.includekvtags_; +} +inline bool CPublishedFile_GetDetails_Request::includekvtags() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includekvtags) + return _internal_includekvtags(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_includekvtags(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.includekvtags_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_includekvtags(bool value) { + _internal_set_includekvtags(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includekvtags) +} + +// optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_includevotes() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_includevotes() const { + return _internal_has_includevotes(); +} +inline void CPublishedFile_GetDetails_Request::clear_includevotes() { + _impl_.includevotes_ = false; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_includevotes() const { + return _impl_.includevotes_; +} +inline bool CPublishedFile_GetDetails_Request::includevotes() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includevotes) + return _internal_includevotes(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_includevotes(bool value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.includevotes_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_includevotes(bool value) { + _internal_set_includevotes(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includevotes) +} + +// optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; +inline bool CPublishedFile_GetDetails_Request::_internal_has_short_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CPublishedFile_GetDetails_Request::has_short_description() const { + return _internal_has_short_description(); +} +inline void CPublishedFile_GetDetails_Request::clear_short_description() { + _impl_.short_description_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CPublishedFile_GetDetails_Request::_internal_short_description() const { + return _impl_.short_description_; +} +inline bool CPublishedFile_GetDetails_Request::short_description() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.short_description) + return _internal_short_description(); +} +inline void CPublishedFile_GetDetails_Request::_internal_set_short_description(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.short_description_ = value; +} +inline void CPublishedFile_GetDetails_Request::set_short_description(bool value) { + _internal_set_short_description(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.short_description) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails_Tag + +// optional string tag = 1; +inline bool PublishedFileDetails_Tag::_internal_has_tag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails_Tag::has_tag() const { + return _internal_has_tag(); +} +inline void PublishedFileDetails_Tag::clear_tag() { + _impl_.tag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PublishedFileDetails_Tag::tag() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Tag.tag) + return _internal_tag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_Tag::set_tag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Tag.tag) +} +inline std::string* PublishedFileDetails_Tag::mutable_tag() { + std::string* _s = _internal_mutable_tag(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Tag.tag) + return _s; +} +inline const std::string& PublishedFileDetails_Tag::_internal_tag() const { + return _impl_.tag_.Get(); +} +inline void PublishedFileDetails_Tag::_internal_set_tag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tag_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Tag::_internal_mutable_tag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.tag_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Tag::release_tag() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.Tag.tag) + if (!_internal_has_tag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.tag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_Tag::set_allocated_tag(std::string* tag) { + if (tag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.tag_.IsDefault()) { + _impl_.tag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Tag.tag) +} + +// optional bool adminonly = 2; +inline bool PublishedFileDetails_Tag::_internal_has_adminonly() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails_Tag::has_adminonly() const { + return _internal_has_adminonly(); +} +inline void PublishedFileDetails_Tag::clear_adminonly() { + _impl_.adminonly_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool PublishedFileDetails_Tag::_internal_adminonly() const { + return _impl_.adminonly_; +} +inline bool PublishedFileDetails_Tag::adminonly() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Tag.adminonly) + return _internal_adminonly(); +} +inline void PublishedFileDetails_Tag::_internal_set_adminonly(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.adminonly_ = value; +} +inline void PublishedFileDetails_Tag::set_adminonly(bool value) { + _internal_set_adminonly(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Tag.adminonly) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails_Preview + +// optional uint64 previewid = 1; +inline bool PublishedFileDetails_Preview::_internal_has_previewid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_previewid() const { + return _internal_has_previewid(); +} +inline void PublishedFileDetails_Preview::clear_previewid() { + _impl_.previewid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t PublishedFileDetails_Preview::_internal_previewid() const { + return _impl_.previewid_; +} +inline uint64_t PublishedFileDetails_Preview::previewid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.previewid) + return _internal_previewid(); +} +inline void PublishedFileDetails_Preview::_internal_set_previewid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.previewid_ = value; +} +inline void PublishedFileDetails_Preview::set_previewid(uint64_t value) { + _internal_set_previewid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.previewid) +} + +// optional uint32 sortorder = 2; +inline bool PublishedFileDetails_Preview::_internal_has_sortorder() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_sortorder() const { + return _internal_has_sortorder(); +} +inline void PublishedFileDetails_Preview::clear_sortorder() { + _impl_.sortorder_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t PublishedFileDetails_Preview::_internal_sortorder() const { + return _impl_.sortorder_; +} +inline uint32_t PublishedFileDetails_Preview::sortorder() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.sortorder) + return _internal_sortorder(); +} +inline void PublishedFileDetails_Preview::_internal_set_sortorder(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.sortorder_ = value; +} +inline void PublishedFileDetails_Preview::set_sortorder(uint32_t value) { + _internal_set_sortorder(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.sortorder) +} + +// optional string url = 3; +inline bool PublishedFileDetails_Preview::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_url() const { + return _internal_has_url(); +} +inline void PublishedFileDetails_Preview::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PublishedFileDetails_Preview::url() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_Preview::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.url) +} +inline std::string* PublishedFileDetails_Preview::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.url) + return _s; +} +inline const std::string& PublishedFileDetails_Preview::_internal_url() const { + return _impl_.url_.Get(); +} +inline void PublishedFileDetails_Preview::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::release_url() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_Preview::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.url) +} + +// optional uint32 size = 4; +inline bool PublishedFileDetails_Preview::_internal_has_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_size() const { + return _internal_has_size(); +} +inline void PublishedFileDetails_Preview::clear_size() { + _impl_.size_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t PublishedFileDetails_Preview::_internal_size() const { + return _impl_.size_; +} +inline uint32_t PublishedFileDetails_Preview::size() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.size) + return _internal_size(); +} +inline void PublishedFileDetails_Preview::_internal_set_size(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.size_ = value; +} +inline void PublishedFileDetails_Preview::set_size(uint32_t value) { + _internal_set_size(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.size) +} + +// optional string filename = 5; +inline bool PublishedFileDetails_Preview::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_filename() const { + return _internal_has_filename(); +} +inline void PublishedFileDetails_Preview::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& PublishedFileDetails_Preview::filename() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_Preview::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.filename) +} +inline std::string* PublishedFileDetails_Preview::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.filename) + return _s; +} +inline const std::string& PublishedFileDetails_Preview::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void PublishedFileDetails_Preview::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::release_filename() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_Preview::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.filename) +} + +// optional string youtubevideoid = 6; +inline bool PublishedFileDetails_Preview::_internal_has_youtubevideoid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PublishedFileDetails_Preview::has_youtubevideoid() const { + return _internal_has_youtubevideoid(); +} +inline void PublishedFileDetails_Preview::clear_youtubevideoid() { + _impl_.youtubevideoid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& PublishedFileDetails_Preview::youtubevideoid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.youtubevideoid) + return _internal_youtubevideoid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_Preview::set_youtubevideoid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.youtubevideoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.youtubevideoid) +} +inline std::string* PublishedFileDetails_Preview::mutable_youtubevideoid() { + std::string* _s = _internal_mutable_youtubevideoid(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.youtubevideoid) + return _s; +} +inline const std::string& PublishedFileDetails_Preview::_internal_youtubevideoid() const { + return _impl_.youtubevideoid_.Get(); +} +inline void PublishedFileDetails_Preview::_internal_set_youtubevideoid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.youtubevideoid_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::_internal_mutable_youtubevideoid() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.youtubevideoid_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_Preview::release_youtubevideoid() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.youtubevideoid) + if (!_internal_has_youtubevideoid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.youtubevideoid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtubevideoid_.IsDefault()) { + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_Preview::set_allocated_youtubevideoid(std::string* youtubevideoid) { + if (youtubevideoid != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.youtubevideoid_.SetAllocated(youtubevideoid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtubevideoid_.IsDefault()) { + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.youtubevideoid) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails_Child + +// optional uint64 publishedfileid = 1; +inline bool PublishedFileDetails_Child::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails_Child::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void PublishedFileDetails_Child::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t PublishedFileDetails_Child::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t PublishedFileDetails_Child::publishedfileid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.publishedfileid) + return _internal_publishedfileid(); +} +inline void PublishedFileDetails_Child::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.publishedfileid_ = value; +} +inline void PublishedFileDetails_Child::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.publishedfileid) +} + +// optional uint32 sortorder = 2; +inline bool PublishedFileDetails_Child::_internal_has_sortorder() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails_Child::has_sortorder() const { + return _internal_has_sortorder(); +} +inline void PublishedFileDetails_Child::clear_sortorder() { + _impl_.sortorder_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PublishedFileDetails_Child::_internal_sortorder() const { + return _impl_.sortorder_; +} +inline uint32_t PublishedFileDetails_Child::sortorder() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.sortorder) + return _internal_sortorder(); +} +inline void PublishedFileDetails_Child::_internal_set_sortorder(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.sortorder_ = value; +} +inline void PublishedFileDetails_Child::set_sortorder(uint32_t value) { + _internal_set_sortorder(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.sortorder) +} + +// optional uint32 file_type = 3; +inline bool PublishedFileDetails_Child::_internal_has_file_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PublishedFileDetails_Child::has_file_type() const { + return _internal_has_file_type(); +} +inline void PublishedFileDetails_Child::clear_file_type() { + _impl_.file_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PublishedFileDetails_Child::_internal_file_type() const { + return _impl_.file_type_; +} +inline uint32_t PublishedFileDetails_Child::file_type() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.file_type) + return _internal_file_type(); +} +inline void PublishedFileDetails_Child::_internal_set_file_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.file_type_ = value; +} +inline void PublishedFileDetails_Child::set_file_type(uint32_t value) { + _internal_set_file_type(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.file_type) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails_KVTag + +// optional string key = 1; +inline bool PublishedFileDetails_KVTag::_internal_has_key() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails_KVTag::has_key() const { + return _internal_has_key(); +} +inline void PublishedFileDetails_KVTag::clear_key() { + _impl_.key_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PublishedFileDetails_KVTag::key() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.KVTag.key) + return _internal_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_KVTag::set_key(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.KVTag.key) +} +inline std::string* PublishedFileDetails_KVTag::mutable_key() { + std::string* _s = _internal_mutable_key(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.KVTag.key) + return _s; +} +inline const std::string& PublishedFileDetails_KVTag::_internal_key() const { + return _impl_.key_.Get(); +} +inline void PublishedFileDetails_KVTag::_internal_set_key(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_KVTag::_internal_mutable_key() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.key_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_KVTag::release_key() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.KVTag.key) + if (!_internal_has_key()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.key_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_.IsDefault()) { + _impl_.key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_KVTag::set_allocated_key(std::string* key) { + if (key != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.key_.SetAllocated(key, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_.IsDefault()) { + _impl_.key_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.KVTag.key) +} + +// optional string value = 2; +inline bool PublishedFileDetails_KVTag::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails_KVTag::has_value() const { + return _internal_has_value(); +} +inline void PublishedFileDetails_KVTag::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& PublishedFileDetails_KVTag::value() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.KVTag.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails_KVTag::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.KVTag.value) +} +inline std::string* PublishedFileDetails_KVTag::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.KVTag.value) + return _s; +} +inline const std::string& PublishedFileDetails_KVTag::_internal_value() const { + return _impl_.value_.Get(); +} +inline void PublishedFileDetails_KVTag::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_KVTag::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails_KVTag::release_value() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.KVTag.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails_KVTag::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.KVTag.value) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails_VoteData + +// optional float score = 1; +inline bool PublishedFileDetails_VoteData::_internal_has_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails_VoteData::has_score() const { + return _internal_has_score(); +} +inline void PublishedFileDetails_VoteData::clear_score() { + _impl_.score_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float PublishedFileDetails_VoteData::_internal_score() const { + return _impl_.score_; +} +inline float PublishedFileDetails_VoteData::score() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.score) + return _internal_score(); +} +inline void PublishedFileDetails_VoteData::_internal_set_score(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.score_ = value; +} +inline void PublishedFileDetails_VoteData::set_score(float value) { + _internal_set_score(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.score) +} + +// optional uint32 votes_up = 2; +inline bool PublishedFileDetails_VoteData::_internal_has_votes_up() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails_VoteData::has_votes_up() const { + return _internal_has_votes_up(); +} +inline void PublishedFileDetails_VoteData::clear_votes_up() { + _impl_.votes_up_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t PublishedFileDetails_VoteData::_internal_votes_up() const { + return _impl_.votes_up_; +} +inline uint32_t PublishedFileDetails_VoteData::votes_up() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.votes_up) + return _internal_votes_up(); +} +inline void PublishedFileDetails_VoteData::_internal_set_votes_up(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.votes_up_ = value; +} +inline void PublishedFileDetails_VoteData::set_votes_up(uint32_t value) { + _internal_set_votes_up(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.votes_up) +} + +// optional uint32 votes_down = 3; +inline bool PublishedFileDetails_VoteData::_internal_has_votes_down() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PublishedFileDetails_VoteData::has_votes_down() const { + return _internal_has_votes_down(); +} +inline void PublishedFileDetails_VoteData::clear_votes_down() { + _impl_.votes_down_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t PublishedFileDetails_VoteData::_internal_votes_down() const { + return _impl_.votes_down_; +} +inline uint32_t PublishedFileDetails_VoteData::votes_down() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.votes_down) + return _internal_votes_down(); +} +inline void PublishedFileDetails_VoteData::_internal_set_votes_down(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.votes_down_ = value; +} +inline void PublishedFileDetails_VoteData::set_votes_down(uint32_t value) { + _internal_set_votes_down(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.votes_down) +} + +// ------------------------------------------------------------------- + +// PublishedFileDetails + +// optional uint32 result = 1; +inline bool PublishedFileDetails::_internal_has_result() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_result() const { + return _internal_has_result(); +} +inline void PublishedFileDetails::clear_result() { + _impl_.result_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t PublishedFileDetails::_internal_result() const { + return _impl_.result_; +} +inline uint32_t PublishedFileDetails::result() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.result) + return _internal_result(); +} +inline void PublishedFileDetails::_internal_set_result(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.result_ = value; +} +inline void PublishedFileDetails::set_result(uint32_t value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.result) +} + +// optional uint64 publishedfileid = 2; +inline bool PublishedFileDetails::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void PublishedFileDetails::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint64_t PublishedFileDetails::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t PublishedFileDetails::publishedfileid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.publishedfileid) + return _internal_publishedfileid(); +} +inline void PublishedFileDetails::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.publishedfileid_ = value; +} +inline void PublishedFileDetails::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.publishedfileid) +} + +// optional fixed64 creator = 3; +inline bool PublishedFileDetails::_internal_has_creator() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_creator() const { + return _internal_has_creator(); +} +inline void PublishedFileDetails::clear_creator() { + _impl_.creator_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint64_t PublishedFileDetails::_internal_creator() const { + return _impl_.creator_; +} +inline uint64_t PublishedFileDetails::creator() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.creator) + return _internal_creator(); +} +inline void PublishedFileDetails::_internal_set_creator(uint64_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.creator_ = value; +} +inline void PublishedFileDetails::set_creator(uint64_t value) { + _internal_set_creator(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.creator) +} + +// optional uint32 creator_appid = 4; +inline bool PublishedFileDetails::_internal_has_creator_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_creator_appid() const { + return _internal_has_creator_appid(); +} +inline void PublishedFileDetails::clear_creator_appid() { + _impl_.creator_appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t PublishedFileDetails::_internal_creator_appid() const { + return _impl_.creator_appid_; +} +inline uint32_t PublishedFileDetails::creator_appid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.creator_appid) + return _internal_creator_appid(); +} +inline void PublishedFileDetails::_internal_set_creator_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.creator_appid_ = value; +} +inline void PublishedFileDetails::set_creator_appid(uint32_t value) { + _internal_set_creator_appid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.creator_appid) +} + +// optional uint32 consumer_appid = 5; +inline bool PublishedFileDetails::_internal_has_consumer_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_consumer_appid() const { + return _internal_has_consumer_appid(); +} +inline void PublishedFileDetails::clear_consumer_appid() { + _impl_.consumer_appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t PublishedFileDetails::_internal_consumer_appid() const { + return _impl_.consumer_appid_; +} +inline uint32_t PublishedFileDetails::consumer_appid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.consumer_appid) + return _internal_consumer_appid(); +} +inline void PublishedFileDetails::_internal_set_consumer_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.consumer_appid_ = value; +} +inline void PublishedFileDetails::set_consumer_appid(uint32_t value) { + _internal_set_consumer_appid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.consumer_appid) +} + +// optional uint32 consumer_shortcutid = 6; +inline bool PublishedFileDetails::_internal_has_consumer_shortcutid() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_consumer_shortcutid() const { + return _internal_has_consumer_shortcutid(); +} +inline void PublishedFileDetails::clear_consumer_shortcutid() { + _impl_.consumer_shortcutid_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t PublishedFileDetails::_internal_consumer_shortcutid() const { + return _impl_.consumer_shortcutid_; +} +inline uint32_t PublishedFileDetails::consumer_shortcutid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.consumer_shortcutid) + return _internal_consumer_shortcutid(); +} +inline void PublishedFileDetails::_internal_set_consumer_shortcutid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.consumer_shortcutid_ = value; +} +inline void PublishedFileDetails::set_consumer_shortcutid(uint32_t value) { + _internal_set_consumer_shortcutid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.consumer_shortcutid) +} + +// optional string filename = 7; +inline bool PublishedFileDetails::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails::has_filename() const { + return _internal_has_filename(); +} +inline void PublishedFileDetails::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& PublishedFileDetails::filename() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.filename) +} +inline std::string* PublishedFileDetails::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.filename) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void PublishedFileDetails::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_filename() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.filename) +} + +// optional uint64 file_size = 8; +inline bool PublishedFileDetails::_internal_has_file_size() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_file_size() const { + return _internal_has_file_size(); +} +inline void PublishedFileDetails::clear_file_size() { + _impl_.file_size_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint64_t PublishedFileDetails::_internal_file_size() const { + return _impl_.file_size_; +} +inline uint64_t PublishedFileDetails::file_size() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.file_size) + return _internal_file_size(); +} +inline void PublishedFileDetails::_internal_set_file_size(uint64_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.file_size_ = value; +} +inline void PublishedFileDetails::set_file_size(uint64_t value) { + _internal_set_file_size(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.file_size) +} + +// optional uint64 preview_file_size = 9; +inline bool PublishedFileDetails::_internal_has_preview_file_size() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_preview_file_size() const { + return _internal_has_preview_file_size(); +} +inline void PublishedFileDetails::clear_preview_file_size() { + _impl_.preview_file_size_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint64_t PublishedFileDetails::_internal_preview_file_size() const { + return _impl_.preview_file_size_; +} +inline uint64_t PublishedFileDetails::preview_file_size() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.preview_file_size) + return _internal_preview_file_size(); +} +inline void PublishedFileDetails::_internal_set_preview_file_size(uint64_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.preview_file_size_ = value; +} +inline void PublishedFileDetails::set_preview_file_size(uint64_t value) { + _internal_set_preview_file_size(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.preview_file_size) +} + +// optional string file_url = 10; +inline bool PublishedFileDetails::_internal_has_file_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails::has_file_url() const { + return _internal_has_file_url(); +} +inline void PublishedFileDetails::clear_file_url() { + _impl_.file_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& PublishedFileDetails::file_url() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.file_url) + return _internal_file_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_file_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.file_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.file_url) +} +inline std::string* PublishedFileDetails::mutable_file_url() { + std::string* _s = _internal_mutable_file_url(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.file_url) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_file_url() const { + return _impl_.file_url_.Get(); +} +inline void PublishedFileDetails::_internal_set_file_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.file_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_file_url() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.file_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_file_url() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.file_url) + if (!_internal_has_file_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.file_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_url_.IsDefault()) { + _impl_.file_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_file_url(std::string* file_url) { + if (file_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.file_url_.SetAllocated(file_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_url_.IsDefault()) { + _impl_.file_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.file_url) +} + +// optional string preview_url = 11; +inline bool PublishedFileDetails::_internal_has_preview_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool PublishedFileDetails::has_preview_url() const { + return _internal_has_preview_url(); +} +inline void PublishedFileDetails::clear_preview_url() { + _impl_.preview_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& PublishedFileDetails::preview_url() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.preview_url) + return _internal_preview_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_preview_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.preview_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.preview_url) +} +inline std::string* PublishedFileDetails::mutable_preview_url() { + std::string* _s = _internal_mutable_preview_url(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.preview_url) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_preview_url() const { + return _impl_.preview_url_.Get(); +} +inline void PublishedFileDetails::_internal_set_preview_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.preview_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_preview_url() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.preview_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_preview_url() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.preview_url) + if (!_internal_has_preview_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.preview_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_url_.IsDefault()) { + _impl_.preview_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_preview_url(std::string* preview_url) { + if (preview_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.preview_url_.SetAllocated(preview_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_url_.IsDefault()) { + _impl_.preview_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.preview_url) +} + +// optional string youtubevideoid = 12; +inline bool PublishedFileDetails::_internal_has_youtubevideoid() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool PublishedFileDetails::has_youtubevideoid() const { + return _internal_has_youtubevideoid(); +} +inline void PublishedFileDetails::clear_youtubevideoid() { + _impl_.youtubevideoid_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& PublishedFileDetails::youtubevideoid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.youtubevideoid) + return _internal_youtubevideoid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_youtubevideoid(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.youtubevideoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.youtubevideoid) +} +inline std::string* PublishedFileDetails::mutable_youtubevideoid() { + std::string* _s = _internal_mutable_youtubevideoid(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.youtubevideoid) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_youtubevideoid() const { + return _impl_.youtubevideoid_.Get(); +} +inline void PublishedFileDetails::_internal_set_youtubevideoid(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.youtubevideoid_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_youtubevideoid() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.youtubevideoid_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_youtubevideoid() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.youtubevideoid) + if (!_internal_has_youtubevideoid()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.youtubevideoid_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtubevideoid_.IsDefault()) { + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_youtubevideoid(std::string* youtubevideoid) { + if (youtubevideoid != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.youtubevideoid_.SetAllocated(youtubevideoid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.youtubevideoid_.IsDefault()) { + _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.youtubevideoid) +} + +// optional string url = 13; +inline bool PublishedFileDetails::_internal_has_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool PublishedFileDetails::has_url() const { + return _internal_has_url(); +} +inline void PublishedFileDetails::clear_url() { + _impl_.url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& PublishedFileDetails::url() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.url) + return _internal_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.url) +} +inline std::string* PublishedFileDetails::mutable_url() { + std::string* _s = _internal_mutable_url(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.url) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_url() const { + return _impl_.url_.Get(); +} +inline void PublishedFileDetails::_internal_set_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.url_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_url() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.url_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_url() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.url) + if (!_internal_has_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_url(std::string* url) { + if (url != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.url_.SetAllocated(url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.url_.IsDefault()) { + _impl_.url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.url) +} + +// optional fixed64 hcontent_file = 14; +inline bool PublishedFileDetails::_internal_has_hcontent_file() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_hcontent_file() const { + return _internal_has_hcontent_file(); +} +inline void PublishedFileDetails::clear_hcontent_file() { + _impl_.hcontent_file_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint64_t PublishedFileDetails::_internal_hcontent_file() const { + return _impl_.hcontent_file_; +} +inline uint64_t PublishedFileDetails::hcontent_file() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.hcontent_file) + return _internal_hcontent_file(); +} +inline void PublishedFileDetails::_internal_set_hcontent_file(uint64_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.hcontent_file_ = value; +} +inline void PublishedFileDetails::set_hcontent_file(uint64_t value) { + _internal_set_hcontent_file(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.hcontent_file) +} + +// optional fixed64 hcontent_preview = 15; +inline bool PublishedFileDetails::_internal_has_hcontent_preview() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_hcontent_preview() const { + return _internal_has_hcontent_preview(); +} +inline void PublishedFileDetails::clear_hcontent_preview() { + _impl_.hcontent_preview_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint64_t PublishedFileDetails::_internal_hcontent_preview() const { + return _impl_.hcontent_preview_; +} +inline uint64_t PublishedFileDetails::hcontent_preview() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.hcontent_preview) + return _internal_hcontent_preview(); +} +inline void PublishedFileDetails::_internal_set_hcontent_preview(uint64_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.hcontent_preview_ = value; +} +inline void PublishedFileDetails::set_hcontent_preview(uint64_t value) { + _internal_set_hcontent_preview(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.hcontent_preview) +} + +// optional string title = 16; +inline bool PublishedFileDetails::_internal_has_title() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool PublishedFileDetails::has_title() const { + return _internal_has_title(); +} +inline void PublishedFileDetails::clear_title() { + _impl_.title_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const std::string& PublishedFileDetails::title() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.title) + return _internal_title(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_title(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.title) +} +inline std::string* PublishedFileDetails::mutable_title() { + std::string* _s = _internal_mutable_title(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.title) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_title() const { + return _impl_.title_.Get(); +} +inline void PublishedFileDetails::_internal_set_title(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.title_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_title() { + _impl_._has_bits_[0] |= 0x00000020u; + return _impl_.title_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_title() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.title) + if (!_internal_has_title()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000020u; + auto* p = _impl_.title_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_title(std::string* title) { + if (title != nullptr) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.title_.SetAllocated(title, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.title) +} + +// optional string file_description = 17; +inline bool PublishedFileDetails::_internal_has_file_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool PublishedFileDetails::has_file_description() const { + return _internal_has_file_description(); +} +inline void PublishedFileDetails::clear_file_description() { + _impl_.file_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const std::string& PublishedFileDetails::file_description() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.file_description) + return _internal_file_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_file_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.file_description) +} +inline std::string* PublishedFileDetails::mutable_file_description() { + std::string* _s = _internal_mutable_file_description(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.file_description) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_file_description() const { + return _impl_.file_description_.Get(); +} +inline void PublishedFileDetails::_internal_set_file_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.file_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_file_description() { + _impl_._has_bits_[0] |= 0x00000040u; + return _impl_.file_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_file_description() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.file_description) + if (!_internal_has_file_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000040u; + auto* p = _impl_.file_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_file_description(std::string* file_description) { + if (file_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.file_description) +} + +// optional string short_description = 18; +inline bool PublishedFileDetails::_internal_has_short_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool PublishedFileDetails::has_short_description() const { + return _internal_has_short_description(); +} +inline void PublishedFileDetails::clear_short_description() { + _impl_.short_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const std::string& PublishedFileDetails::short_description() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.short_description) + return _internal_short_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_short_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.short_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.short_description) +} +inline std::string* PublishedFileDetails::mutable_short_description() { + std::string* _s = _internal_mutable_short_description(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.short_description) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_short_description() const { + return _impl_.short_description_.Get(); +} +inline void PublishedFileDetails::_internal_set_short_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.short_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_short_description() { + _impl_._has_bits_[0] |= 0x00000080u; + return _impl_.short_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_short_description() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.short_description) + if (!_internal_has_short_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000080u; + auto* p = _impl_.short_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.short_description_.IsDefault()) { + _impl_.short_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_short_description(std::string* short_description) { + if (short_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.short_description_.SetAllocated(short_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.short_description_.IsDefault()) { + _impl_.short_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.short_description) +} + +// optional uint32 time_created = 19; +inline bool PublishedFileDetails::_internal_has_time_created() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_time_created() const { + return _internal_has_time_created(); +} +inline void PublishedFileDetails::clear_time_created() { + _impl_.time_created_ = 0u; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline uint32_t PublishedFileDetails::_internal_time_created() const { + return _impl_.time_created_; +} +inline uint32_t PublishedFileDetails::time_created() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.time_created) + return _internal_time_created(); +} +inline void PublishedFileDetails::_internal_set_time_created(uint32_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.time_created_ = value; +} +inline void PublishedFileDetails::set_time_created(uint32_t value) { + _internal_set_time_created(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.time_created) +} + +// optional uint32 time_updated = 20; +inline bool PublishedFileDetails::_internal_has_time_updated() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_time_updated() const { + return _internal_has_time_updated(); +} +inline void PublishedFileDetails::clear_time_updated() { + _impl_.time_updated_ = 0u; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline uint32_t PublishedFileDetails::_internal_time_updated() const { + return _impl_.time_updated_; +} +inline uint32_t PublishedFileDetails::time_updated() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.time_updated) + return _internal_time_updated(); +} +inline void PublishedFileDetails::_internal_set_time_updated(uint32_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.time_updated_ = value; +} +inline void PublishedFileDetails::set_time_updated(uint32_t value) { + _internal_set_time_updated(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.time_updated) +} + +// optional uint32 visibility = 21; +inline bool PublishedFileDetails::_internal_has_visibility() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_visibility() const { + return _internal_has_visibility(); +} +inline void PublishedFileDetails::clear_visibility() { + _impl_.visibility_ = 0u; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline uint32_t PublishedFileDetails::_internal_visibility() const { + return _impl_.visibility_; +} +inline uint32_t PublishedFileDetails::visibility() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.visibility) + return _internal_visibility(); +} +inline void PublishedFileDetails::_internal_set_visibility(uint32_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.visibility_ = value; +} +inline void PublishedFileDetails::set_visibility(uint32_t value) { + _internal_set_visibility(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.visibility) +} + +// optional uint32 flags = 22; +inline bool PublishedFileDetails::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_flags() const { + return _internal_has_flags(); +} +inline void PublishedFileDetails::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline uint32_t PublishedFileDetails::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t PublishedFileDetails::flags() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.flags) + return _internal_flags(); +} +inline void PublishedFileDetails::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.flags_ = value; +} +inline void PublishedFileDetails::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.flags) +} + +// optional bool workshop_file = 23; +inline bool PublishedFileDetails::_internal_has_workshop_file() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_workshop_file() const { + return _internal_has_workshop_file(); +} +inline void PublishedFileDetails::clear_workshop_file() { + _impl_.workshop_file_ = false; + _impl_._has_bits_[0] &= ~0x08000000u; +} +inline bool PublishedFileDetails::_internal_workshop_file() const { + return _impl_.workshop_file_; +} +inline bool PublishedFileDetails::workshop_file() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.workshop_file) + return _internal_workshop_file(); +} +inline void PublishedFileDetails::_internal_set_workshop_file(bool value) { + _impl_._has_bits_[0] |= 0x08000000u; + _impl_.workshop_file_ = value; +} +inline void PublishedFileDetails::set_workshop_file(bool value) { + _internal_set_workshop_file(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.workshop_file) +} + +// optional bool workshop_accepted = 24; +inline bool PublishedFileDetails::_internal_has_workshop_accepted() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_workshop_accepted() const { + return _internal_has_workshop_accepted(); +} +inline void PublishedFileDetails::clear_workshop_accepted() { + _impl_.workshop_accepted_ = false; + _impl_._has_bits_[0] &= ~0x10000000u; +} +inline bool PublishedFileDetails::_internal_workshop_accepted() const { + return _impl_.workshop_accepted_; +} +inline bool PublishedFileDetails::workshop_accepted() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.workshop_accepted) + return _internal_workshop_accepted(); +} +inline void PublishedFileDetails::_internal_set_workshop_accepted(bool value) { + _impl_._has_bits_[0] |= 0x10000000u; + _impl_.workshop_accepted_ = value; +} +inline void PublishedFileDetails::set_workshop_accepted(bool value) { + _internal_set_workshop_accepted(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.workshop_accepted) +} + +// optional bool show_subscribe_all = 25; +inline bool PublishedFileDetails::_internal_has_show_subscribe_all() const { + bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_show_subscribe_all() const { + return _internal_has_show_subscribe_all(); +} +inline void PublishedFileDetails::clear_show_subscribe_all() { + _impl_.show_subscribe_all_ = false; + _impl_._has_bits_[0] &= ~0x20000000u; +} +inline bool PublishedFileDetails::_internal_show_subscribe_all() const { + return _impl_.show_subscribe_all_; +} +inline bool PublishedFileDetails::show_subscribe_all() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.show_subscribe_all) + return _internal_show_subscribe_all(); +} +inline void PublishedFileDetails::_internal_set_show_subscribe_all(bool value) { + _impl_._has_bits_[0] |= 0x20000000u; + _impl_.show_subscribe_all_ = value; +} +inline void PublishedFileDetails::set_show_subscribe_all(bool value) { + _internal_set_show_subscribe_all(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.show_subscribe_all) +} + +// optional int32 num_comments_developer = 26; +inline bool PublishedFileDetails::_internal_has_num_comments_developer() const { + bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_num_comments_developer() const { + return _internal_has_num_comments_developer(); +} +inline void PublishedFileDetails::clear_num_comments_developer() { + _impl_.num_comments_developer_ = 0; + _impl_._has_bits_[0] &= ~0x80000000u; +} +inline int32_t PublishedFileDetails::_internal_num_comments_developer() const { + return _impl_.num_comments_developer_; +} +inline int32_t PublishedFileDetails::num_comments_developer() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.num_comments_developer) + return _internal_num_comments_developer(); +} +inline void PublishedFileDetails::_internal_set_num_comments_developer(int32_t value) { + _impl_._has_bits_[0] |= 0x80000000u; + _impl_.num_comments_developer_ = value; +} +inline void PublishedFileDetails::set_num_comments_developer(int32_t value) { + _internal_set_num_comments_developer(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.num_comments_developer) +} + +// optional int32 num_comments_public = 27; +inline bool PublishedFileDetails::_internal_has_num_comments_public() const { + bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; + return value; +} +inline bool PublishedFileDetails::has_num_comments_public() const { + return _internal_has_num_comments_public(); +} +inline void PublishedFileDetails::clear_num_comments_public() { + _impl_.num_comments_public_ = 0; + _impl_._has_bits_[1] &= ~0x00000002u; +} +inline int32_t PublishedFileDetails::_internal_num_comments_public() const { + return _impl_.num_comments_public_; +} +inline int32_t PublishedFileDetails::num_comments_public() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.num_comments_public) + return _internal_num_comments_public(); +} +inline void PublishedFileDetails::_internal_set_num_comments_public(int32_t value) { + _impl_._has_bits_[1] |= 0x00000002u; + _impl_.num_comments_public_ = value; +} +inline void PublishedFileDetails::set_num_comments_public(int32_t value) { + _internal_set_num_comments_public(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.num_comments_public) +} + +// optional bool banned = 28; +inline bool PublishedFileDetails::_internal_has_banned() const { + bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_banned() const { + return _internal_has_banned(); +} +inline void PublishedFileDetails::clear_banned() { + _impl_.banned_ = false; + _impl_._has_bits_[0] &= ~0x40000000u; +} +inline bool PublishedFileDetails::_internal_banned() const { + return _impl_.banned_; +} +inline bool PublishedFileDetails::banned() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.banned) + return _internal_banned(); +} +inline void PublishedFileDetails::_internal_set_banned(bool value) { + _impl_._has_bits_[0] |= 0x40000000u; + _impl_.banned_ = value; +} +inline void PublishedFileDetails::set_banned(bool value) { + _internal_set_banned(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.banned) +} + +// optional string ban_reason = 29; +inline bool PublishedFileDetails::_internal_has_ban_reason() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool PublishedFileDetails::has_ban_reason() const { + return _internal_has_ban_reason(); +} +inline void PublishedFileDetails::clear_ban_reason() { + _impl_.ban_reason_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const std::string& PublishedFileDetails::ban_reason() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.ban_reason) + return _internal_ban_reason(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_ban_reason(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.ban_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.ban_reason) +} +inline std::string* PublishedFileDetails::mutable_ban_reason() { + std::string* _s = _internal_mutable_ban_reason(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.ban_reason) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_ban_reason() const { + return _impl_.ban_reason_.Get(); +} +inline void PublishedFileDetails::_internal_set_ban_reason(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.ban_reason_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_ban_reason() { + _impl_._has_bits_[0] |= 0x00000100u; + return _impl_.ban_reason_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_ban_reason() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.ban_reason) + if (!_internal_has_ban_reason()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000100u; + auto* p = _impl_.ban_reason_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ban_reason_.IsDefault()) { + _impl_.ban_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_ban_reason(std::string* ban_reason) { + if (ban_reason != nullptr) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.ban_reason_.SetAllocated(ban_reason, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ban_reason_.IsDefault()) { + _impl_.ban_reason_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.ban_reason) +} + +// optional fixed64 banner = 30; +inline bool PublishedFileDetails::_internal_has_banner() const { + bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; + return value; +} +inline bool PublishedFileDetails::has_banner() const { + return _internal_has_banner(); +} +inline void PublishedFileDetails::clear_banner() { + _impl_.banner_ = uint64_t{0u}; + _impl_._has_bits_[1] &= ~0x00000001u; +} +inline uint64_t PublishedFileDetails::_internal_banner() const { + return _impl_.banner_; +} +inline uint64_t PublishedFileDetails::banner() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.banner) + return _internal_banner(); +} +inline void PublishedFileDetails::_internal_set_banner(uint64_t value) { + _impl_._has_bits_[1] |= 0x00000001u; + _impl_.banner_ = value; +} +inline void PublishedFileDetails::set_banner(uint64_t value) { + _internal_set_banner(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.banner) +} + +// optional bool can_be_deleted = 31; +inline bool PublishedFileDetails::_internal_has_can_be_deleted() const { + bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; + return value; +} +inline bool PublishedFileDetails::has_can_be_deleted() const { + return _internal_has_can_be_deleted(); +} +inline void PublishedFileDetails::clear_can_be_deleted() { + _impl_.can_be_deleted_ = false; + _impl_._has_bits_[1] &= ~0x00000010u; +} +inline bool PublishedFileDetails::_internal_can_be_deleted() const { + return _impl_.can_be_deleted_; +} +inline bool PublishedFileDetails::can_be_deleted() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.can_be_deleted) + return _internal_can_be_deleted(); +} +inline void PublishedFileDetails::_internal_set_can_be_deleted(bool value) { + _impl_._has_bits_[1] |= 0x00000010u; + _impl_.can_be_deleted_ = value; +} +inline void PublishedFileDetails::set_can_be_deleted(bool value) { + _internal_set_can_be_deleted(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.can_be_deleted) +} + +// optional bool incompatible = 32; +inline bool PublishedFileDetails::_internal_has_incompatible() const { + bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; + return value; +} +inline bool PublishedFileDetails::has_incompatible() const { + return _internal_has_incompatible(); +} +inline void PublishedFileDetails::clear_incompatible() { + _impl_.incompatible_ = false; + _impl_._has_bits_[1] &= ~0x00000020u; +} +inline bool PublishedFileDetails::_internal_incompatible() const { + return _impl_.incompatible_; +} +inline bool PublishedFileDetails::incompatible() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.incompatible) + return _internal_incompatible(); +} +inline void PublishedFileDetails::_internal_set_incompatible(bool value) { + _impl_._has_bits_[1] |= 0x00000020u; + _impl_.incompatible_ = value; +} +inline void PublishedFileDetails::set_incompatible(bool value) { + _internal_set_incompatible(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.incompatible) +} + +// optional string app_name = 33; +inline bool PublishedFileDetails::_internal_has_app_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool PublishedFileDetails::has_app_name() const { + return _internal_has_app_name(); +} +inline void PublishedFileDetails::clear_app_name() { + _impl_.app_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const std::string& PublishedFileDetails::app_name() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.app_name) + return _internal_app_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_app_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.app_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.app_name) +} +inline std::string* PublishedFileDetails::mutable_app_name() { + std::string* _s = _internal_mutable_app_name(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.app_name) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_app_name() const { + return _impl_.app_name_.Get(); +} +inline void PublishedFileDetails::_internal_set_app_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.app_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_app_name() { + _impl_._has_bits_[0] |= 0x00000200u; + return _impl_.app_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_app_name() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.app_name) + if (!_internal_has_app_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000200u; + auto* p = _impl_.app_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.app_name_.IsDefault()) { + _impl_.app_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_app_name(std::string* app_name) { + if (app_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.app_name_.SetAllocated(app_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.app_name_.IsDefault()) { + _impl_.app_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.app_name) +} + +// optional uint32 file_type = 34; +inline bool PublishedFileDetails::_internal_has_file_type() const { + bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; + return value; +} +inline bool PublishedFileDetails::has_file_type() const { + return _internal_has_file_type(); +} +inline void PublishedFileDetails::clear_file_type() { + _impl_.file_type_ = 0u; + _impl_._has_bits_[1] &= ~0x00000004u; +} +inline uint32_t PublishedFileDetails::_internal_file_type() const { + return _impl_.file_type_; +} +inline uint32_t PublishedFileDetails::file_type() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.file_type) + return _internal_file_type(); +} +inline void PublishedFileDetails::_internal_set_file_type(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000004u; + _impl_.file_type_ = value; +} +inline void PublishedFileDetails::set_file_type(uint32_t value) { + _internal_set_file_type(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.file_type) +} + +// optional bool can_subscribe = 35; +inline bool PublishedFileDetails::_internal_has_can_subscribe() const { + bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; + return value; +} +inline bool PublishedFileDetails::has_can_subscribe() const { + return _internal_has_can_subscribe(); +} +inline void PublishedFileDetails::clear_can_subscribe() { + _impl_.can_subscribe_ = false; + _impl_._has_bits_[1] &= ~0x00000040u; +} +inline bool PublishedFileDetails::_internal_can_subscribe() const { + return _impl_.can_subscribe_; +} +inline bool PublishedFileDetails::can_subscribe() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.can_subscribe) + return _internal_can_subscribe(); +} +inline void PublishedFileDetails::_internal_set_can_subscribe(bool value) { + _impl_._has_bits_[1] |= 0x00000040u; + _impl_.can_subscribe_ = value; +} +inline void PublishedFileDetails::set_can_subscribe(bool value) { + _internal_set_can_subscribe(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.can_subscribe) +} + +// optional uint32 subscriptions = 36; +inline bool PublishedFileDetails::_internal_has_subscriptions() const { + bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; + return value; +} +inline bool PublishedFileDetails::has_subscriptions() const { + return _internal_has_subscriptions(); +} +inline void PublishedFileDetails::clear_subscriptions() { + _impl_.subscriptions_ = 0u; + _impl_._has_bits_[1] &= ~0x00000008u; +} +inline uint32_t PublishedFileDetails::_internal_subscriptions() const { + return _impl_.subscriptions_; +} +inline uint32_t PublishedFileDetails::subscriptions() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.subscriptions) + return _internal_subscriptions(); +} +inline void PublishedFileDetails::_internal_set_subscriptions(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000008u; + _impl_.subscriptions_ = value; +} +inline void PublishedFileDetails::set_subscriptions(uint32_t value) { + _internal_set_subscriptions(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.subscriptions) +} + +// optional uint32 favorited = 37; +inline bool PublishedFileDetails::_internal_has_favorited() const { + bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; + return value; +} +inline bool PublishedFileDetails::has_favorited() const { + return _internal_has_favorited(); +} +inline void PublishedFileDetails::clear_favorited() { + _impl_.favorited_ = 0u; + _impl_._has_bits_[1] &= ~0x00000100u; +} +inline uint32_t PublishedFileDetails::_internal_favorited() const { + return _impl_.favorited_; +} +inline uint32_t PublishedFileDetails::favorited() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.favorited) + return _internal_favorited(); +} +inline void PublishedFileDetails::_internal_set_favorited(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000100u; + _impl_.favorited_ = value; +} +inline void PublishedFileDetails::set_favorited(uint32_t value) { + _internal_set_favorited(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.favorited) +} + +// optional uint32 followers = 38; +inline bool PublishedFileDetails::_internal_has_followers() const { + bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; + return value; +} +inline bool PublishedFileDetails::has_followers() const { + return _internal_has_followers(); +} +inline void PublishedFileDetails::clear_followers() { + _impl_.followers_ = 0u; + _impl_._has_bits_[1] &= ~0x00000200u; +} +inline uint32_t PublishedFileDetails::_internal_followers() const { + return _impl_.followers_; +} +inline uint32_t PublishedFileDetails::followers() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.followers) + return _internal_followers(); +} +inline void PublishedFileDetails::_internal_set_followers(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000200u; + _impl_.followers_ = value; +} +inline void PublishedFileDetails::set_followers(uint32_t value) { + _internal_set_followers(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.followers) +} + +// optional uint32 lifetime_subscriptions = 39; +inline bool PublishedFileDetails::_internal_has_lifetime_subscriptions() const { + bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; + return value; +} +inline bool PublishedFileDetails::has_lifetime_subscriptions() const { + return _internal_has_lifetime_subscriptions(); +} +inline void PublishedFileDetails::clear_lifetime_subscriptions() { + _impl_.lifetime_subscriptions_ = 0u; + _impl_._has_bits_[1] &= ~0x00000400u; +} +inline uint32_t PublishedFileDetails::_internal_lifetime_subscriptions() const { + return _impl_.lifetime_subscriptions_; +} +inline uint32_t PublishedFileDetails::lifetime_subscriptions() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_subscriptions) + return _internal_lifetime_subscriptions(); +} +inline void PublishedFileDetails::_internal_set_lifetime_subscriptions(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000400u; + _impl_.lifetime_subscriptions_ = value; +} +inline void PublishedFileDetails::set_lifetime_subscriptions(uint32_t value) { + _internal_set_lifetime_subscriptions(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_subscriptions) +} + +// optional uint32 lifetime_favorited = 40; +inline bool PublishedFileDetails::_internal_has_lifetime_favorited() const { + bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; + return value; +} +inline bool PublishedFileDetails::has_lifetime_favorited() const { + return _internal_has_lifetime_favorited(); +} +inline void PublishedFileDetails::clear_lifetime_favorited() { + _impl_.lifetime_favorited_ = 0u; + _impl_._has_bits_[1] &= ~0x00000800u; +} +inline uint32_t PublishedFileDetails::_internal_lifetime_favorited() const { + return _impl_.lifetime_favorited_; +} +inline uint32_t PublishedFileDetails::lifetime_favorited() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_favorited) + return _internal_lifetime_favorited(); +} +inline void PublishedFileDetails::_internal_set_lifetime_favorited(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000800u; + _impl_.lifetime_favorited_ = value; +} +inline void PublishedFileDetails::set_lifetime_favorited(uint32_t value) { + _internal_set_lifetime_favorited(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_favorited) +} + +// optional uint32 lifetime_followers = 41; +inline bool PublishedFileDetails::_internal_has_lifetime_followers() const { + bool value = (_impl_._has_bits_[1] & 0x00001000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_lifetime_followers() const { + return _internal_has_lifetime_followers(); +} +inline void PublishedFileDetails::clear_lifetime_followers() { + _impl_.lifetime_followers_ = 0u; + _impl_._has_bits_[1] &= ~0x00001000u; +} +inline uint32_t PublishedFileDetails::_internal_lifetime_followers() const { + return _impl_.lifetime_followers_; +} +inline uint32_t PublishedFileDetails::lifetime_followers() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_followers) + return _internal_lifetime_followers(); +} +inline void PublishedFileDetails::_internal_set_lifetime_followers(uint32_t value) { + _impl_._has_bits_[1] |= 0x00001000u; + _impl_.lifetime_followers_ = value; +} +inline void PublishedFileDetails::set_lifetime_followers(uint32_t value) { + _internal_set_lifetime_followers(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_followers) +} + +// optional uint32 views = 42; +inline bool PublishedFileDetails::_internal_has_views() const { + bool value = (_impl_._has_bits_[1] & 0x00002000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_views() const { + return _internal_has_views(); +} +inline void PublishedFileDetails::clear_views() { + _impl_.views_ = 0u; + _impl_._has_bits_[1] &= ~0x00002000u; +} +inline uint32_t PublishedFileDetails::_internal_views() const { + return _impl_.views_; +} +inline uint32_t PublishedFileDetails::views() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.views) + return _internal_views(); +} +inline void PublishedFileDetails::_internal_set_views(uint32_t value) { + _impl_._has_bits_[1] |= 0x00002000u; + _impl_.views_ = value; +} +inline void PublishedFileDetails::set_views(uint32_t value) { + _internal_set_views(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.views) +} + +// optional uint32 image_width = 43; +inline bool PublishedFileDetails::_internal_has_image_width() const { + bool value = (_impl_._has_bits_[1] & 0x00004000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_image_width() const { + return _internal_has_image_width(); +} +inline void PublishedFileDetails::clear_image_width() { + _impl_.image_width_ = 0u; + _impl_._has_bits_[1] &= ~0x00004000u; +} +inline uint32_t PublishedFileDetails::_internal_image_width() const { + return _impl_.image_width_; +} +inline uint32_t PublishedFileDetails::image_width() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.image_width) + return _internal_image_width(); +} +inline void PublishedFileDetails::_internal_set_image_width(uint32_t value) { + _impl_._has_bits_[1] |= 0x00004000u; + _impl_.image_width_ = value; +} +inline void PublishedFileDetails::set_image_width(uint32_t value) { + _internal_set_image_width(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.image_width) +} + +// optional uint32 image_height = 44; +inline bool PublishedFileDetails::_internal_has_image_height() const { + bool value = (_impl_._has_bits_[1] & 0x00008000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_image_height() const { + return _internal_has_image_height(); +} +inline void PublishedFileDetails::clear_image_height() { + _impl_.image_height_ = 0u; + _impl_._has_bits_[1] &= ~0x00008000u; +} +inline uint32_t PublishedFileDetails::_internal_image_height() const { + return _impl_.image_height_; +} +inline uint32_t PublishedFileDetails::image_height() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.image_height) + return _internal_image_height(); +} +inline void PublishedFileDetails::_internal_set_image_height(uint32_t value) { + _impl_._has_bits_[1] |= 0x00008000u; + _impl_.image_height_ = value; +} +inline void PublishedFileDetails::set_image_height(uint32_t value) { + _internal_set_image_height(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.image_height) +} + +// optional string image_url = 45; +inline bool PublishedFileDetails::_internal_has_image_url() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool PublishedFileDetails::has_image_url() const { + return _internal_has_image_url(); +} +inline void PublishedFileDetails::clear_image_url() { + _impl_.image_url_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline const std::string& PublishedFileDetails::image_url() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.image_url) + return _internal_image_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_image_url(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.image_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.image_url) +} +inline std::string* PublishedFileDetails::mutable_image_url() { + std::string* _s = _internal_mutable_image_url(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.image_url) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_image_url() const { + return _impl_.image_url_.Get(); +} +inline void PublishedFileDetails::_internal_set_image_url(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.image_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_image_url() { + _impl_._has_bits_[0] |= 0x00000400u; + return _impl_.image_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_image_url() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.image_url) + if (!_internal_has_image_url()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000400u; + auto* p = _impl_.image_url_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.image_url_.IsDefault()) { + _impl_.image_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_image_url(std::string* image_url) { + if (image_url != nullptr) { + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + _impl_.image_url_.SetAllocated(image_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.image_url_.IsDefault()) { + _impl_.image_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.image_url) +} + +// optional bool spoiler_tag = 46; +inline bool PublishedFileDetails::_internal_has_spoiler_tag() const { + bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; + return value; +} +inline bool PublishedFileDetails::has_spoiler_tag() const { + return _internal_has_spoiler_tag(); +} +inline void PublishedFileDetails::clear_spoiler_tag() { + _impl_.spoiler_tag_ = false; + _impl_._has_bits_[1] &= ~0x00000080u; +} +inline bool PublishedFileDetails::_internal_spoiler_tag() const { + return _impl_.spoiler_tag_; +} +inline bool PublishedFileDetails::spoiler_tag() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.spoiler_tag) + return _internal_spoiler_tag(); +} +inline void PublishedFileDetails::_internal_set_spoiler_tag(bool value) { + _impl_._has_bits_[1] |= 0x00000080u; + _impl_.spoiler_tag_ = value; +} +inline void PublishedFileDetails::set_spoiler_tag(bool value) { + _internal_set_spoiler_tag(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.spoiler_tag) +} + +// optional uint32 shortcutid = 47; +inline bool PublishedFileDetails::_internal_has_shortcutid() const { + bool value = (_impl_._has_bits_[1] & 0x00010000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_shortcutid() const { + return _internal_has_shortcutid(); +} +inline void PublishedFileDetails::clear_shortcutid() { + _impl_.shortcutid_ = 0u; + _impl_._has_bits_[1] &= ~0x00010000u; +} +inline uint32_t PublishedFileDetails::_internal_shortcutid() const { + return _impl_.shortcutid_; +} +inline uint32_t PublishedFileDetails::shortcutid() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.shortcutid) + return _internal_shortcutid(); +} +inline void PublishedFileDetails::_internal_set_shortcutid(uint32_t value) { + _impl_._has_bits_[1] |= 0x00010000u; + _impl_.shortcutid_ = value; +} +inline void PublishedFileDetails::set_shortcutid(uint32_t value) { + _internal_set_shortcutid(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.shortcutid) +} + +// optional string shortcutname = 48; +inline bool PublishedFileDetails::_internal_has_shortcutname() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool PublishedFileDetails::has_shortcutname() const { + return _internal_has_shortcutname(); +} +inline void PublishedFileDetails::clear_shortcutname() { + _impl_.shortcutname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline const std::string& PublishedFileDetails::shortcutname() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.shortcutname) + return _internal_shortcutname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PublishedFileDetails::set_shortcutname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.shortcutname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:PublishedFileDetails.shortcutname) +} +inline std::string* PublishedFileDetails::mutable_shortcutname() { + std::string* _s = _internal_mutable_shortcutname(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.shortcutname) + return _s; +} +inline const std::string& PublishedFileDetails::_internal_shortcutname() const { + return _impl_.shortcutname_.Get(); +} +inline void PublishedFileDetails::_internal_set_shortcutname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.shortcutname_.Set(value, GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::_internal_mutable_shortcutname() { + _impl_._has_bits_[0] |= 0x00000800u; + return _impl_.shortcutname_.Mutable(GetArenaForAllocation()); +} +inline std::string* PublishedFileDetails::release_shortcutname() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.shortcutname) + if (!_internal_has_shortcutname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000800u; + auto* p = _impl_.shortcutname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.shortcutname_.IsDefault()) { + _impl_.shortcutname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void PublishedFileDetails::set_allocated_shortcutname(std::string* shortcutname) { + if (shortcutname != nullptr) { + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + _impl_.shortcutname_.SetAllocated(shortcutname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.shortcutname_.IsDefault()) { + _impl_.shortcutname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.shortcutname) +} + +// optional uint32 num_children = 49; +inline bool PublishedFileDetails::_internal_has_num_children() const { + bool value = (_impl_._has_bits_[1] & 0x00020000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_num_children() const { + return _internal_has_num_children(); +} +inline void PublishedFileDetails::clear_num_children() { + _impl_.num_children_ = 0u; + _impl_._has_bits_[1] &= ~0x00020000u; +} +inline uint32_t PublishedFileDetails::_internal_num_children() const { + return _impl_.num_children_; +} +inline uint32_t PublishedFileDetails::num_children() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.num_children) + return _internal_num_children(); +} +inline void PublishedFileDetails::_internal_set_num_children(uint32_t value) { + _impl_._has_bits_[1] |= 0x00020000u; + _impl_.num_children_ = value; +} +inline void PublishedFileDetails::set_num_children(uint32_t value) { + _internal_set_num_children(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.num_children) +} + +// optional uint32 num_reports = 50; +inline bool PublishedFileDetails::_internal_has_num_reports() const { + bool value = (_impl_._has_bits_[1] & 0x00040000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_num_reports() const { + return _internal_has_num_reports(); +} +inline void PublishedFileDetails::clear_num_reports() { + _impl_.num_reports_ = 0u; + _impl_._has_bits_[1] &= ~0x00040000u; +} +inline uint32_t PublishedFileDetails::_internal_num_reports() const { + return _impl_.num_reports_; +} +inline uint32_t PublishedFileDetails::num_reports() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.num_reports) + return _internal_num_reports(); +} +inline void PublishedFileDetails::_internal_set_num_reports(uint32_t value) { + _impl_._has_bits_[1] |= 0x00040000u; + _impl_.num_reports_ = value; +} +inline void PublishedFileDetails::set_num_reports(uint32_t value) { + _internal_set_num_reports(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.num_reports) +} + +// repeated .PublishedFileDetails.Preview previews = 51; +inline int PublishedFileDetails::_internal_previews_size() const { + return _impl_.previews_.size(); +} +inline int PublishedFileDetails::previews_size() const { + return _internal_previews_size(); +} +inline void PublishedFileDetails::clear_previews() { + _impl_.previews_.Clear(); +} +inline ::PublishedFileDetails_Preview* PublishedFileDetails::mutable_previews(int index) { + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.previews) + return _impl_.previews_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >* +PublishedFileDetails::mutable_previews() { + // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.previews) + return &_impl_.previews_; +} +inline const ::PublishedFileDetails_Preview& PublishedFileDetails::_internal_previews(int index) const { + return _impl_.previews_.Get(index); +} +inline const ::PublishedFileDetails_Preview& PublishedFileDetails::previews(int index) const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.previews) + return _internal_previews(index); +} +inline ::PublishedFileDetails_Preview* PublishedFileDetails::_internal_add_previews() { + return _impl_.previews_.Add(); +} +inline ::PublishedFileDetails_Preview* PublishedFileDetails::add_previews() { + ::PublishedFileDetails_Preview* _add = _internal_add_previews(); + // @@protoc_insertion_point(field_add:PublishedFileDetails.previews) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >& +PublishedFileDetails::previews() const { + // @@protoc_insertion_point(field_list:PublishedFileDetails.previews) + return _impl_.previews_; +} + +// repeated .PublishedFileDetails.Tag tags = 52; +inline int PublishedFileDetails::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int PublishedFileDetails::tags_size() const { + return _internal_tags_size(); +} +inline void PublishedFileDetails::clear_tags() { + _impl_.tags_.Clear(); +} +inline ::PublishedFileDetails_Tag* PublishedFileDetails::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.tags) + return _impl_.tags_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >* +PublishedFileDetails::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.tags) + return &_impl_.tags_; +} +inline const ::PublishedFileDetails_Tag& PublishedFileDetails::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const ::PublishedFileDetails_Tag& PublishedFileDetails::tags(int index) const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.tags) + return _internal_tags(index); +} +inline ::PublishedFileDetails_Tag* PublishedFileDetails::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline ::PublishedFileDetails_Tag* PublishedFileDetails::add_tags() { + ::PublishedFileDetails_Tag* _add = _internal_add_tags(); + // @@protoc_insertion_point(field_add:PublishedFileDetails.tags) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >& +PublishedFileDetails::tags() const { + // @@protoc_insertion_point(field_list:PublishedFileDetails.tags) + return _impl_.tags_; +} + +// repeated .PublishedFileDetails.Child children = 53; +inline int PublishedFileDetails::_internal_children_size() const { + return _impl_.children_.size(); +} +inline int PublishedFileDetails::children_size() const { + return _internal_children_size(); +} +inline void PublishedFileDetails::clear_children() { + _impl_.children_.Clear(); +} +inline ::PublishedFileDetails_Child* PublishedFileDetails::mutable_children(int index) { + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.children) + return _impl_.children_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >* +PublishedFileDetails::mutable_children() { + // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.children) + return &_impl_.children_; +} +inline const ::PublishedFileDetails_Child& PublishedFileDetails::_internal_children(int index) const { + return _impl_.children_.Get(index); +} +inline const ::PublishedFileDetails_Child& PublishedFileDetails::children(int index) const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.children) + return _internal_children(index); +} +inline ::PublishedFileDetails_Child* PublishedFileDetails::_internal_add_children() { + return _impl_.children_.Add(); +} +inline ::PublishedFileDetails_Child* PublishedFileDetails::add_children() { + ::PublishedFileDetails_Child* _add = _internal_add_children(); + // @@protoc_insertion_point(field_add:PublishedFileDetails.children) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >& +PublishedFileDetails::children() const { + // @@protoc_insertion_point(field_list:PublishedFileDetails.children) + return _impl_.children_; +} + +// repeated .PublishedFileDetails.KVTag kvtags = 54; +inline int PublishedFileDetails::_internal_kvtags_size() const { + return _impl_.kvtags_.size(); +} +inline int PublishedFileDetails::kvtags_size() const { + return _internal_kvtags_size(); +} +inline void PublishedFileDetails::clear_kvtags() { + _impl_.kvtags_.Clear(); +} +inline ::PublishedFileDetails_KVTag* PublishedFileDetails::mutable_kvtags(int index) { + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.kvtags) + return _impl_.kvtags_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >* +PublishedFileDetails::mutable_kvtags() { + // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.kvtags) + return &_impl_.kvtags_; +} +inline const ::PublishedFileDetails_KVTag& PublishedFileDetails::_internal_kvtags(int index) const { + return _impl_.kvtags_.Get(index); +} +inline const ::PublishedFileDetails_KVTag& PublishedFileDetails::kvtags(int index) const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.kvtags) + return _internal_kvtags(index); +} +inline ::PublishedFileDetails_KVTag* PublishedFileDetails::_internal_add_kvtags() { + return _impl_.kvtags_.Add(); +} +inline ::PublishedFileDetails_KVTag* PublishedFileDetails::add_kvtags() { + ::PublishedFileDetails_KVTag* _add = _internal_add_kvtags(); + // @@protoc_insertion_point(field_add:PublishedFileDetails.kvtags) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >& +PublishedFileDetails::kvtags() const { + // @@protoc_insertion_point(field_list:PublishedFileDetails.kvtags) + return _impl_.kvtags_; +} + +// optional .PublishedFileDetails.VoteData vote_data = 55; +inline bool PublishedFileDetails::_internal_has_vote_data() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.vote_data_ != nullptr); + return value; +} +inline bool PublishedFileDetails::has_vote_data() const { + return _internal_has_vote_data(); +} +inline void PublishedFileDetails::clear_vote_data() { + if (_impl_.vote_data_ != nullptr) _impl_.vote_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline const ::PublishedFileDetails_VoteData& PublishedFileDetails::_internal_vote_data() const { + const ::PublishedFileDetails_VoteData* p = _impl_.vote_data_; + return p != nullptr ? *p : reinterpret_cast( + ::_PublishedFileDetails_VoteData_default_instance_); +} +inline const ::PublishedFileDetails_VoteData& PublishedFileDetails::vote_data() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.vote_data) + return _internal_vote_data(); +} +inline void PublishedFileDetails::unsafe_arena_set_allocated_vote_data( + ::PublishedFileDetails_VoteData* vote_data) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vote_data_); + } + _impl_.vote_data_ = vote_data; + if (vote_data) { + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PublishedFileDetails.vote_data) +} +inline ::PublishedFileDetails_VoteData* PublishedFileDetails::release_vote_data() { + _impl_._has_bits_[0] &= ~0x00001000u; + ::PublishedFileDetails_VoteData* temp = _impl_.vote_data_; + _impl_.vote_data_ = 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 ::PublishedFileDetails_VoteData* PublishedFileDetails::unsafe_arena_release_vote_data() { + // @@protoc_insertion_point(field_release:PublishedFileDetails.vote_data) + _impl_._has_bits_[0] &= ~0x00001000u; + ::PublishedFileDetails_VoteData* temp = _impl_.vote_data_; + _impl_.vote_data_ = nullptr; + return temp; +} +inline ::PublishedFileDetails_VoteData* PublishedFileDetails::_internal_mutable_vote_data() { + _impl_._has_bits_[0] |= 0x00001000u; + if (_impl_.vote_data_ == nullptr) { + auto* p = CreateMaybeMessage<::PublishedFileDetails_VoteData>(GetArenaForAllocation()); + _impl_.vote_data_ = p; + } + return _impl_.vote_data_; +} +inline ::PublishedFileDetails_VoteData* PublishedFileDetails::mutable_vote_data() { + ::PublishedFileDetails_VoteData* _msg = _internal_mutable_vote_data(); + // @@protoc_insertion_point(field_mutable:PublishedFileDetails.vote_data) + return _msg; +} +inline void PublishedFileDetails::set_allocated_vote_data(::PublishedFileDetails_VoteData* vote_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.vote_data_; + } + if (vote_data) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vote_data); + if (message_arena != submessage_arena) { + vote_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, vote_data, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + _impl_.vote_data_ = vote_data; + // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.vote_data) +} + +// optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; +inline bool PublishedFileDetails::_internal_has_time_subscribed() const { + bool value = (_impl_._has_bits_[1] & 0x00080000u) != 0; + return value; +} +inline bool PublishedFileDetails::has_time_subscribed() const { + return _internal_has_time_subscribed(); +} +inline void PublishedFileDetails::clear_time_subscribed() { + _impl_.time_subscribed_ = 0u; + _impl_._has_bits_[1] &= ~0x00080000u; +} +inline uint32_t PublishedFileDetails::_internal_time_subscribed() const { + return _impl_.time_subscribed_; +} +inline uint32_t PublishedFileDetails::time_subscribed() const { + // @@protoc_insertion_point(field_get:PublishedFileDetails.time_subscribed) + return _internal_time_subscribed(); +} +inline void PublishedFileDetails::_internal_set_time_subscribed(uint32_t value) { + _impl_._has_bits_[1] |= 0x00080000u; + _impl_.time_subscribed_ = value; +} +inline void PublishedFileDetails::set_time_subscribed(uint32_t value) { + _internal_set_time_subscribed(value); + // @@protoc_insertion_point(field_set:PublishedFileDetails.time_subscribed) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_GetDetails_Response + +// repeated .PublishedFileDetails publishedfiledetails = 1; +inline int CPublishedFile_GetDetails_Response::_internal_publishedfiledetails_size() const { + return _impl_.publishedfiledetails_.size(); +} +inline int CPublishedFile_GetDetails_Response::publishedfiledetails_size() const { + return _internal_publishedfiledetails_size(); +} +inline void CPublishedFile_GetDetails_Response::clear_publishedfiledetails() { + _impl_.publishedfiledetails_.Clear(); +} +inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::mutable_publishedfiledetails(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetDetails_Response.publishedfiledetails) + return _impl_.publishedfiledetails_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* +CPublishedFile_GetDetails_Response::mutable_publishedfiledetails() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetDetails_Response.publishedfiledetails) + return &_impl_.publishedfiledetails_; +} +inline const ::PublishedFileDetails& CPublishedFile_GetDetails_Response::_internal_publishedfiledetails(int index) const { + return _impl_.publishedfiledetails_.Get(index); +} +inline const ::PublishedFileDetails& CPublishedFile_GetDetails_Response::publishedfiledetails(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Response.publishedfiledetails) + return _internal_publishedfiledetails(index); +} +inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::_internal_add_publishedfiledetails() { + return _impl_.publishedfiledetails_.Add(); +} +inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::add_publishedfiledetails() { + ::PublishedFileDetails* _add = _internal_add_publishedfiledetails(); + // @@protoc_insertion_point(field_add:CPublishedFile_GetDetails_Response.publishedfiledetails) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& +CPublishedFile_GetDetails_Response::publishedfiledetails() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetDetails_Response.publishedfiledetails) + return _impl_.publishedfiledetails_; +} + +// ------------------------------------------------------------------- + +// CPublishedFile_GetUserFiles_Request + +// optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.appid) +} + +// optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_page() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_page() const { + return _internal_has_page(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_page() { + _impl_.page_ = 1u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_page() const { + return _impl_.page_; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::page() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.page) + return _internal_page(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_page(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.page_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_page(uint32_t value) { + _internal_set_page(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.page) +} + +// optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_numperpage() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_numperpage() const { + return _internal_has_numperpage(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_numperpage() { + _impl_.numperpage_ = 1u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_numperpage() const { + return _impl_.numperpage_; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::numperpage() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.numperpage) + return _internal_numperpage(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_numperpage(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.numperpage_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_numperpage(uint32_t value) { + _internal_set_numperpage(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.numperpage) +} + +// optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_sortmethod() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_sortmethod() const { + return _internal_has_sortmethod(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_sortmethod() { + _impl_.sortmethod_.ClearToDefault(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPublishedFile_GetUserFiles_Request::sortmethod() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.sortmethod) + if (_impl_.sortmethod_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_sortmethod_.get(); + return _internal_sortmethod(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_GetUserFiles_Request::set_sortmethod(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sortmethod_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.sortmethod) +} +inline std::string* CPublishedFile_GetUserFiles_Request::mutable_sortmethod() { + std::string* _s = _internal_mutable_sortmethod(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.sortmethod) + return _s; +} +inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_sortmethod() const { + return _impl_.sortmethod_.Get(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_sortmethod(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sortmethod_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_GetUserFiles_Request::_internal_mutable_sortmethod() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sortmethod_.Mutable(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_GetUserFiles_Request::release_sortmethod() { + // @@protoc_insertion_point(field_release:CPublishedFile_GetUserFiles_Request.sortmethod) + if (!_internal_has_sortmethod()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sortmethod_.Release(); + return p; +} +inline void CPublishedFile_GetUserFiles_Request::set_allocated_sortmethod(std::string* sortmethod) { + if (sortmethod != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sortmethod_.SetAllocated(sortmethod, GetArenaForAllocation()); + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_GetUserFiles_Request.sortmethod) +} + +// optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_totalonly() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_totalonly() const { + return _internal_has_totalonly(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_totalonly() { + _impl_.totalonly_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CPublishedFile_GetUserFiles_Request::_internal_totalonly() const { + return _impl_.totalonly_; +} +inline bool CPublishedFile_GetUserFiles_Request::totalonly() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.totalonly) + return _internal_totalonly(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_totalonly(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.totalonly_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_totalonly(bool value) { + _internal_set_totalonly(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.totalonly) +} + +// optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_privacy() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_privacy() const { + return _internal_has_privacy(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_privacy() { + _impl_.privacy_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_privacy() const { + return _impl_.privacy_; +} +inline uint32_t CPublishedFile_GetUserFiles_Request::privacy() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.privacy) + return _internal_privacy(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_privacy(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.privacy_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_privacy(uint32_t value) { + _internal_set_privacy(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.privacy) +} + +// optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; +inline bool CPublishedFile_GetUserFiles_Request::_internal_has_ids_only() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Request::has_ids_only() const { + return _internal_has_ids_only(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_ids_only() { + _impl_.ids_only_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_GetUserFiles_Request::_internal_ids_only() const { + return _impl_.ids_only_; +} +inline bool CPublishedFile_GetUserFiles_Request::ids_only() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.ids_only) + return _internal_ids_only(); +} +inline void CPublishedFile_GetUserFiles_Request::_internal_set_ids_only(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ids_only_ = value; +} +inline void CPublishedFile_GetUserFiles_Request::set_ids_only(bool value) { + _internal_set_ids_only(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.ids_only) +} + +// repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; +inline int CPublishedFile_GetUserFiles_Request::_internal_requiredtags_size() const { + return _impl_.requiredtags_.size(); +} +inline int CPublishedFile_GetUserFiles_Request::requiredtags_size() const { + return _internal_requiredtags_size(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_requiredtags() { + _impl_.requiredtags_.Clear(); +} +inline std::string* CPublishedFile_GetUserFiles_Request::add_requiredtags() { + std::string* _s = _internal_add_requiredtags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_GetUserFiles_Request.requiredtags) + return _s; +} +inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_requiredtags(int index) const { + return _impl_.requiredtags_.Get(index); +} +inline const std::string& CPublishedFile_GetUserFiles_Request::requiredtags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.requiredtags) + return _internal_requiredtags(index); +} +inline std::string* CPublishedFile_GetUserFiles_Request::mutable_requiredtags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.requiredtags) + return _impl_.requiredtags_.Mutable(index); +} +inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const std::string& value) { + _impl_.requiredtags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, std::string&& value) { + _impl_.requiredtags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.requiredtags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const char* value, size_t size) { + _impl_.requiredtags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline std::string* CPublishedFile_GetUserFiles_Request::_internal_add_requiredtags() { + return _impl_.requiredtags_.Add(); +} +inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const std::string& value) { + _impl_.requiredtags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(std::string&& value) { + _impl_.requiredtags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.requiredtags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const char* value, size_t size) { + _impl_.requiredtags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_GetUserFiles_Request.requiredtags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_GetUserFiles_Request::requiredtags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Request.requiredtags) + return _impl_.requiredtags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_GetUserFiles_Request::mutable_requiredtags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Request.requiredtags) + return &_impl_.requiredtags_; +} + +// repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; +inline int CPublishedFile_GetUserFiles_Request::_internal_excludedtags_size() const { + return _impl_.excludedtags_.size(); +} +inline int CPublishedFile_GetUserFiles_Request::excludedtags_size() const { + return _internal_excludedtags_size(); +} +inline void CPublishedFile_GetUserFiles_Request::clear_excludedtags() { + _impl_.excludedtags_.Clear(); +} +inline std::string* CPublishedFile_GetUserFiles_Request::add_excludedtags() { + std::string* _s = _internal_add_excludedtags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_GetUserFiles_Request.excludedtags) + return _s; +} +inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_excludedtags(int index) const { + return _impl_.excludedtags_.Get(index); +} +inline const std::string& CPublishedFile_GetUserFiles_Request::excludedtags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.excludedtags) + return _internal_excludedtags(index); +} +inline std::string* CPublishedFile_GetUserFiles_Request::mutable_excludedtags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.excludedtags) + return _impl_.excludedtags_.Mutable(index); +} +inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const std::string& value) { + _impl_.excludedtags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, std::string&& value) { + _impl_.excludedtags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.excludedtags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const char* value, size_t size) { + _impl_.excludedtags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline std::string* CPublishedFile_GetUserFiles_Request::_internal_add_excludedtags() { + return _impl_.excludedtags_.Add(); +} +inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const std::string& value) { + _impl_.excludedtags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(std::string&& value) { + _impl_.excludedtags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.excludedtags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const char* value, size_t size) { + _impl_.excludedtags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_GetUserFiles_Request.excludedtags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_GetUserFiles_Request::excludedtags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Request.excludedtags) + return _impl_.excludedtags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_GetUserFiles_Request::mutable_excludedtags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Request.excludedtags) + return &_impl_.excludedtags_; +} + +// ------------------------------------------------------------------- + +// CPublishedFile_GetUserFiles_Response_App + +// optional uint32 appid = 1; +inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response_App::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_GetUserFiles_Response_App::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_GetUserFiles_Response_App::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPublishedFile_GetUserFiles_Response_App::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.appid) + return _internal_appid(); +} +inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.appid_ = value; +} +inline void CPublishedFile_GetUserFiles_Response_App::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.appid) +} + +// optional string name = 2; +inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response_App::has_name() const { + return _internal_has_name(); +} +inline void CPublishedFile_GetUserFiles_Response_App::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPublishedFile_GetUserFiles_Response_App::name() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_GetUserFiles_Response_App::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.name) +} +inline std::string* CPublishedFile_GetUserFiles_Response_App::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.App.name) + return _s; +} +inline const std::string& CPublishedFile_GetUserFiles_Response_App::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_GetUserFiles_Response_App::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_GetUserFiles_Response_App::release_name() { + // @@protoc_insertion_point(field_release:CPublishedFile_GetUserFiles_Response.App.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_GetUserFiles_Response_App::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CPublishedFile_GetUserFiles_Response.App.name) +} + +// optional uint32 shortcutid = 3; +inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_shortcutid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response_App::has_shortcutid() const { + return _internal_has_shortcutid(); +} +inline void CPublishedFile_GetUserFiles_Response_App::clear_shortcutid() { + _impl_.shortcutid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPublishedFile_GetUserFiles_Response_App::_internal_shortcutid() const { + return _impl_.shortcutid_; +} +inline uint32_t CPublishedFile_GetUserFiles_Response_App::shortcutid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.shortcutid) + return _internal_shortcutid(); +} +inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_shortcutid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.shortcutid_ = value; +} +inline void CPublishedFile_GetUserFiles_Response_App::set_shortcutid(uint32_t value) { + _internal_set_shortcutid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.shortcutid) +} + +// optional bool private = 4; +inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_private_() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response_App::has_private_() const { + return _internal_has_private_(); +} +inline void CPublishedFile_GetUserFiles_Response_App::clear_private_() { + _impl_.private__ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_GetUserFiles_Response_App::_internal_private_() const { + return _impl_.private__; +} +inline bool CPublishedFile_GetUserFiles_Response_App::private_() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.private) + return _internal_private_(); +} +inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_private_(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.private__ = value; +} +inline void CPublishedFile_GetUserFiles_Response_App::set_private_(bool value) { + _internal_set_private_(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.private) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_GetUserFiles_Response + +// optional uint32 total = 1; +inline bool CPublishedFile_GetUserFiles_Response::_internal_has_total() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response::has_total() const { + return _internal_has_total(); +} +inline void CPublishedFile_GetUserFiles_Response::clear_total() { + _impl_.total_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPublishedFile_GetUserFiles_Response::_internal_total() const { + return _impl_.total_; +} +inline uint32_t CPublishedFile_GetUserFiles_Response::total() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.total) + return _internal_total(); +} +inline void CPublishedFile_GetUserFiles_Response::_internal_set_total(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.total_ = value; +} +inline void CPublishedFile_GetUserFiles_Response::set_total(uint32_t value) { + _internal_set_total(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.total) +} + +// optional uint32 startindex = 2; +inline bool CPublishedFile_GetUserFiles_Response::_internal_has_startindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_GetUserFiles_Response::has_startindex() const { + return _internal_has_startindex(); +} +inline void CPublishedFile_GetUserFiles_Response::clear_startindex() { + _impl_.startindex_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_GetUserFiles_Response::_internal_startindex() const { + return _impl_.startindex_; +} +inline uint32_t CPublishedFile_GetUserFiles_Response::startindex() const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.startindex) + return _internal_startindex(); +} +inline void CPublishedFile_GetUserFiles_Response::_internal_set_startindex(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.startindex_ = value; +} +inline void CPublishedFile_GetUserFiles_Response::set_startindex(uint32_t value) { + _internal_set_startindex(value); + // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.startindex) +} + +// repeated .PublishedFileDetails publishedfiledetails = 3; +inline int CPublishedFile_GetUserFiles_Response::_internal_publishedfiledetails_size() const { + return _impl_.publishedfiledetails_.size(); +} +inline int CPublishedFile_GetUserFiles_Response::publishedfiledetails_size() const { + return _internal_publishedfiledetails_size(); +} +inline void CPublishedFile_GetUserFiles_Response::clear_publishedfiledetails() { + _impl_.publishedfiledetails_.Clear(); +} +inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::mutable_publishedfiledetails(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.publishedfiledetails) + return _impl_.publishedfiledetails_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* +CPublishedFile_GetUserFiles_Response::mutable_publishedfiledetails() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Response.publishedfiledetails) + return &_impl_.publishedfiledetails_; +} +inline const ::PublishedFileDetails& CPublishedFile_GetUserFiles_Response::_internal_publishedfiledetails(int index) const { + return _impl_.publishedfiledetails_.Get(index); +} +inline const ::PublishedFileDetails& CPublishedFile_GetUserFiles_Response::publishedfiledetails(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.publishedfiledetails) + return _internal_publishedfiledetails(index); +} +inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::_internal_add_publishedfiledetails() { + return _impl_.publishedfiledetails_.Add(); +} +inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::add_publishedfiledetails() { + ::PublishedFileDetails* _add = _internal_add_publishedfiledetails(); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Response.publishedfiledetails) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& +CPublishedFile_GetUserFiles_Response::publishedfiledetails() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Response.publishedfiledetails) + return _impl_.publishedfiledetails_; +} + +// repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; +inline int CPublishedFile_GetUserFiles_Response::_internal_apps_size() const { + return _impl_.apps_.size(); +} +inline int CPublishedFile_GetUserFiles_Response::apps_size() const { + return _internal_apps_size(); +} +inline void CPublishedFile_GetUserFiles_Response::clear_apps() { + _impl_.apps_.Clear(); +} +inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::mutable_apps(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.apps) + return _impl_.apps_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >* +CPublishedFile_GetUserFiles_Response::mutable_apps() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Response.apps) + return &_impl_.apps_; +} +inline const ::CPublishedFile_GetUserFiles_Response_App& CPublishedFile_GetUserFiles_Response::_internal_apps(int index) const { + return _impl_.apps_.Get(index); +} +inline const ::CPublishedFile_GetUserFiles_Response_App& CPublishedFile_GetUserFiles_Response::apps(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.apps) + return _internal_apps(index); +} +inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::_internal_add_apps() { + return _impl_.apps_.Add(); +} +inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::add_apps() { + ::CPublishedFile_GetUserFiles_Response_App* _add = _internal_add_apps(); + // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Response.apps) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >& +CPublishedFile_GetUserFiles_Response::apps() const { + // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Response.apps) + return _impl_.apps_; +} + +// ------------------------------------------------------------------- + +// CPublishedFile_Update_Request + +// optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; +inline bool CPublishedFile_Update_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_Update_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CPublishedFile_Update_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPublishedFile_Update_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_Update_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.appid_ = value; +} +inline void CPublishedFile_Update_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.appid) +} + +// optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; +inline bool CPublishedFile_Update_Request::_internal_has_publishedfileid() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_publishedfileid() const { + return _internal_has_publishedfileid(); +} +inline void CPublishedFile_Update_Request::clear_publishedfileid() { + _impl_.publishedfileid_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CPublishedFile_Update_Request::_internal_publishedfileid() const { + return _impl_.publishedfileid_; +} +inline uint64_t CPublishedFile_Update_Request::publishedfileid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.publishedfileid) + return _internal_publishedfileid(); +} +inline void CPublishedFile_Update_Request::_internal_set_publishedfileid(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.publishedfileid_ = value; +} +inline void CPublishedFile_Update_Request::set_publishedfileid(uint64_t value) { + _internal_set_publishedfileid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.publishedfileid) +} + +// optional string title = 3 [(.description) = "(Optional) Title of the published file."]; +inline bool CPublishedFile_Update_Request::_internal_has_title() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_title() const { + return _internal_has_title(); +} +inline void CPublishedFile_Update_Request::clear_title() { + _impl_.title_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CPublishedFile_Update_Request::title() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.title) + return _internal_title(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Update_Request::set_title(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.title) +} +inline std::string* CPublishedFile_Update_Request::mutable_title() { + std::string* _s = _internal_mutable_title(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.title) + return _s; +} +inline const std::string& CPublishedFile_Update_Request::_internal_title() const { + return _impl_.title_.Get(); +} +inline void CPublishedFile_Update_Request::_internal_set_title(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.title_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::_internal_mutable_title() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.title_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::release_title() { + // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.title) + if (!_internal_has_title()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.title_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Update_Request::set_allocated_title(std::string* title) { + if (title != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.title_.SetAllocated(title, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.title) +} + +// optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; +inline bool CPublishedFile_Update_Request::_internal_has_file_description() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_file_description() const { + return _internal_has_file_description(); +} +inline void CPublishedFile_Update_Request::clear_file_description() { + _impl_.file_description_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CPublishedFile_Update_Request::file_description() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.file_description) + return _internal_file_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Update_Request::set_file_description(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.file_description) +} +inline std::string* CPublishedFile_Update_Request::mutable_file_description() { + std::string* _s = _internal_mutable_file_description(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.file_description) + return _s; +} +inline const std::string& CPublishedFile_Update_Request::_internal_file_description() const { + return _impl_.file_description_.Get(); +} +inline void CPublishedFile_Update_Request::_internal_set_file_description(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.file_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::_internal_mutable_file_description() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.file_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::release_file_description() { + // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.file_description) + if (!_internal_has_file_description()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.file_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Update_Request::set_allocated_file_description(std::string* file_description) { + if (file_description != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_description_.IsDefault()) { + _impl_.file_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.file_description) +} + +// optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; +inline bool CPublishedFile_Update_Request::_internal_has_visibility() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_visibility() const { + return _internal_has_visibility(); +} +inline void CPublishedFile_Update_Request::clear_visibility() { + _impl_.visibility_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CPublishedFile_Update_Request::_internal_visibility() const { + return _impl_.visibility_; +} +inline uint32_t CPublishedFile_Update_Request::visibility() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.visibility) + return _internal_visibility(); +} +inline void CPublishedFile_Update_Request::_internal_set_visibility(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.visibility_ = value; +} +inline void CPublishedFile_Update_Request::set_visibility(uint32_t value) { + _internal_set_visibility(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.visibility) +} + +// repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; +inline int CPublishedFile_Update_Request::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int CPublishedFile_Update_Request::tags_size() const { + return _internal_tags_size(); +} +inline void CPublishedFile_Update_Request::clear_tags() { + _impl_.tags_.Clear(); +} +inline std::string* CPublishedFile_Update_Request::add_tags() { + std::string* _s = _internal_add_tags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_Update_Request.tags) + return _s; +} +inline const std::string& CPublishedFile_Update_Request::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const std::string& CPublishedFile_Update_Request::tags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.tags) + return _internal_tags(index); +} +inline std::string* CPublishedFile_Update_Request::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.tags) + return _impl_.tags_.Mutable(index); +} +inline void CPublishedFile_Update_Request::set_tags(int index, const std::string& value) { + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::set_tags(int index, std::string&& value) { + _impl_.tags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::set_tags(int index, const char* value, size_t size) { + _impl_.tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_Update_Request.tags) +} +inline std::string* CPublishedFile_Update_Request::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline void CPublishedFile_Update_Request::add_tags(const std::string& value) { + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::add_tags(std::string&& value) { + _impl_.tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_Update_Request.tags) +} +inline void CPublishedFile_Update_Request::add_tags(const char* value, size_t size) { + _impl_.tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_Update_Request.tags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_Update_Request::tags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_Update_Request.tags) + return _impl_.tags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_Update_Request::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_Update_Request.tags) + return &_impl_.tags_; +} + +// optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; +inline bool CPublishedFile_Update_Request::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_filename() const { + return _internal_has_filename(); +} +inline void CPublishedFile_Update_Request::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CPublishedFile_Update_Request::filename() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Update_Request::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.filename) +} +inline std::string* CPublishedFile_Update_Request::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.filename) + return _s; +} +inline const std::string& CPublishedFile_Update_Request::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void CPublishedFile_Update_Request::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::release_filename() { + // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Update_Request::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.filename) +} + +// optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; +inline bool CPublishedFile_Update_Request::_internal_has_preview_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_Update_Request::has_preview_filename() const { + return _internal_has_preview_filename(); +} +inline void CPublishedFile_Update_Request::clear_preview_filename() { + _impl_.preview_filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CPublishedFile_Update_Request::preview_filename() const { + // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.preview_filename) + return _internal_preview_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CPublishedFile_Update_Request::set_preview_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.preview_filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.preview_filename) +} +inline std::string* CPublishedFile_Update_Request::mutable_preview_filename() { + std::string* _s = _internal_mutable_preview_filename(); + // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.preview_filename) + return _s; +} +inline const std::string& CPublishedFile_Update_Request::_internal_preview_filename() const { + return _impl_.preview_filename_.Get(); +} +inline void CPublishedFile_Update_Request::_internal_set_preview_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.preview_filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::_internal_mutable_preview_filename() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.preview_filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CPublishedFile_Update_Request::release_preview_filename() { + // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.preview_filename) + if (!_internal_has_preview_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.preview_filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_filename_.IsDefault()) { + _impl_.preview_filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CPublishedFile_Update_Request::set_allocated_preview_filename(std::string* preview_filename) { + if (preview_filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.preview_filename_.SetAllocated(preview_filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.preview_filename_.IsDefault()) { + _impl_.preview_filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.preview_filename) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_Update_Response + +// ------------------------------------------------------------------- + +// CPublishedFile_RefreshVotingQueue_Request + +// optional uint32 appid = 1; +inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_appid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::has_appid() const { + return _internal_has_appid(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_appid() { + _impl_.appid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_appid() const { + return _impl_.appid_; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::appid() const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.appid) + return _internal_appid(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_appid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.appid_ = value; +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_appid(uint32_t value) { + _internal_set_appid(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.appid) +} + +// optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; +inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_matching_file_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::has_matching_file_type() const { + return _internal_has_matching_file_type(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_matching_file_type() { + _impl_.matching_file_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_matching_file_type() const { + return _impl_.matching_file_type_; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::matching_file_type() const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.matching_file_type) + return _internal_matching_file_type(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_matching_file_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.matching_file_type_ = value; +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_matching_file_type(uint32_t value) { + _internal_set_matching_file_type(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.matching_file_type) +} + +// repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; +inline int CPublishedFile_RefreshVotingQueue_Request::_internal_tags_size() const { + return _impl_.tags_.size(); +} +inline int CPublishedFile_RefreshVotingQueue_Request::tags_size() const { + return _internal_tags_size(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_tags() { + _impl_.tags_.Clear(); +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::add_tags() { + std::string* _s = _internal_add_tags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_RefreshVotingQueue_Request.tags) + return _s; +} +inline const std::string& CPublishedFile_RefreshVotingQueue_Request::_internal_tags(int index) const { + return _impl_.tags_.Get(index); +} +inline const std::string& CPublishedFile_RefreshVotingQueue_Request::tags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.tags) + return _internal_tags(index); +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_RefreshVotingQueue_Request.tags) + return _impl_.tags_.Mutable(index); +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const std::string& value) { + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, std::string&& value) { + _impl_.tags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const char* value, size_t size) { + _impl_.tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::_internal_add_tags() { + return _impl_.tags_.Add(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const std::string& value) { + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(std::string&& value) { + _impl_.tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const char* value, size_t size) { + _impl_.tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_RefreshVotingQueue_Request.tags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_RefreshVotingQueue_Request::tags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_RefreshVotingQueue_Request.tags) + return _impl_.tags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_RefreshVotingQueue_Request::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_RefreshVotingQueue_Request.tags) + return &_impl_.tags_; +} + +// optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; +inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_match_all_tags() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::has_match_all_tags() const { + return _internal_has_match_all_tags(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_match_all_tags() { + _impl_.match_all_tags_ = true; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_match_all_tags() const { + return _impl_.match_all_tags_; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::match_all_tags() const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.match_all_tags) + return _internal_match_all_tags(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_match_all_tags(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.match_all_tags_ = value; +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_match_all_tags(bool value) { + _internal_set_match_all_tags(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.match_all_tags) +} + +// repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; +inline int CPublishedFile_RefreshVotingQueue_Request::_internal_excluded_tags_size() const { + return _impl_.excluded_tags_.size(); +} +inline int CPublishedFile_RefreshVotingQueue_Request::excluded_tags_size() const { + return _internal_excluded_tags_size(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_excluded_tags() { + _impl_.excluded_tags_.Clear(); +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags() { + std::string* _s = _internal_add_excluded_tags(); + // @@protoc_insertion_point(field_add_mutable:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) + return _s; +} +inline const std::string& CPublishedFile_RefreshVotingQueue_Request::_internal_excluded_tags(int index) const { + return _impl_.excluded_tags_.Get(index); +} +inline const std::string& CPublishedFile_RefreshVotingQueue_Request::excluded_tags(int index) const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) + return _internal_excluded_tags(index); +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::mutable_excluded_tags(int index) { + // @@protoc_insertion_point(field_mutable:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) + return _impl_.excluded_tags_.Mutable(index); +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const std::string& value) { + _impl_.excluded_tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, std::string&& value) { + _impl_.excluded_tags_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.excluded_tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const char* value, size_t size) { + _impl_.excluded_tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline std::string* CPublishedFile_RefreshVotingQueue_Request::_internal_add_excluded_tags() { + return _impl_.excluded_tags_.Add(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const std::string& value) { + _impl_.excluded_tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(std::string&& value) { + _impl_.excluded_tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.excluded_tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const char* value, size_t size) { + _impl_.excluded_tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CPublishedFile_RefreshVotingQueue_Request::excluded_tags() const { + // @@protoc_insertion_point(field_list:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) + return _impl_.excluded_tags_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CPublishedFile_RefreshVotingQueue_Request::mutable_excluded_tags() { + // @@protoc_insertion_point(field_mutable_list:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) + return &_impl_.excluded_tags_; +} + +// optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; +inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_desired_queue_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CPublishedFile_RefreshVotingQueue_Request::has_desired_queue_size() const { + return _internal_has_desired_queue_size(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::clear_desired_queue_size() { + _impl_.desired_queue_size_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_desired_queue_size() const { + return _impl_.desired_queue_size_; +} +inline uint32_t CPublishedFile_RefreshVotingQueue_Request::desired_queue_size() const { + // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.desired_queue_size) + return _internal_desired_queue_size(); +} +inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_desired_queue_size(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.desired_queue_size_ = value; +} +inline void CPublishedFile_RefreshVotingQueue_Request::set_desired_queue_size(uint32_t value) { + _internal_set_desired_queue_size(value); + // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.desired_queue_size) +} + +// ------------------------------------------------------------------- + +// CPublishedFile_RefreshVotingQueue_Response + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.cc new file mode 100644 index 0000000..15122f5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.cc @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_unified_base.steamworkssdk.proto + +#include "steammessages_unified_base.steamworkssdk.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; + +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto = nullptr; +const uint32_t TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto::offsets[1] = {}; +static constexpr ::_pbi::MigrationSchema* schemas = nullptr; +static constexpr ::_pb::Message* const* file_default_instances = nullptr; + +const char descriptor_table_protodef_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n.steammessages_unified_base.steamworkss" + "dk.proto\032 google/protobuf/descriptor.pro" + "to*]\n\023EProtoExecutionSite\022 \n\034k_EProtoExe" + "cutionSiteUnknown\020\000\022$\n k_EProtoExecution" + "SiteSteamClient\020\003:4\n\013description\022\035.googl" + "e.protobuf.FieldOptions\030\320\206\003 \001(\t:>\n\023servi" + "ce_description\022\037.google.protobuf.Service" + "Options\030\320\206\003 \001(\t:u\n\026service_execution_sit" + "e\022\037.google.protobuf.ServiceOptions\030\330\206\003 \001" + "(\0162\024.EProtoExecutionSite:\034k_EProtoExecut" + "ionSiteUnknown:<\n\022method_description\022\036.g" + "oogle.protobuf.MethodOptions\030\320\206\003 \001(\t:8\n\020" + "enum_description\022\034.google.protobuf.EnumO" + "ptions\030\320\206\003 \001(\t:C\n\026enum_value_description" + "\022!.google.protobuf.EnumValueOptions\030\320\206\003 " + "\001(\tB\005H\001\200\001\000" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto = { + false, false, 610, descriptor_table_protodef_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, + "steammessages_unified_base.steamworkssdk.proto", + &descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_deps, 1, 0, + schemas, file_default_instances, TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto::offsets, + nullptr, file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, + file_level_service_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_getter() { + return &descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5funified_5fbase_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoExecutionSite_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto); + return file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[0]; +} +bool EProtoExecutionSite_IsValid(int value) { + switch (value) { + case 0: + case 3: + return true; + default: + return false; + } +} + +const std::string description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + description(kDescriptionFieldNumber, description_default, nullptr); +const std::string service_description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + service_description(kServiceDescriptionFieldNumber, service_description_default, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, + ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoExecutionSite, ::EProtoExecutionSite_IsValid>, 14, false> + service_execution_site(kServiceExecutionSiteFieldNumber, static_cast< ::EProtoExecutionSite >(0), nullptr); +const std::string method_description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MethodOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + method_description(kMethodDescriptionFieldNumber, method_description_default, nullptr); +const std::string enum_description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + enum_description(kEnumDescriptionFieldNumber, enum_description_default, nullptr); +const std::string enum_value_description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + enum_value_description(kEnumValueDescriptionFieldNumber, enum_value_description_default, nullptr); + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.h new file mode 100644 index 0000000..3e40490 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steammessages_unified_base.steamworkssdk.pb.h @@ -0,0 +1,129 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steammessages_unified_base.steamworkssdk.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steammessages_5funified_5fbase_2esteamworkssdk_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto; +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +enum EProtoExecutionSite : int { + k_EProtoExecutionSiteUnknown = 0, + k_EProtoExecutionSiteSteamClient = 3 +}; +bool EProtoExecutionSite_IsValid(int value); +constexpr EProtoExecutionSite EProtoExecutionSite_MIN = k_EProtoExecutionSiteUnknown; +constexpr EProtoExecutionSite EProtoExecutionSite_MAX = k_EProtoExecutionSiteSteamClient; +constexpr int EProtoExecutionSite_ARRAYSIZE = EProtoExecutionSite_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoExecutionSite_descriptor(); +template +inline const std::string& EProtoExecutionSite_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EProtoExecutionSite_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EProtoExecutionSite_descriptor(), enum_t_value); +} +inline bool EProtoExecutionSite_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EProtoExecutionSite* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EProtoExecutionSite_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + +static const int kDescriptionFieldNumber = 50000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + description; +static const int kServiceDescriptionFieldNumber = 50000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + service_description; +static const int kServiceExecutionSiteFieldNumber = 50008; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, + ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoExecutionSite, ::EProtoExecutionSite_IsValid>, 14, false > + service_execution_site; +static const int kMethodDescriptionFieldNumber = 50000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MethodOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + method_description; +static const int kEnumDescriptionFieldNumber = 50000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + enum_description; +static const int kEnumValueDescriptionFieldNumber = 50000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + enum_value_description; + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EProtoExecutionSite> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EProtoExecutionSite>() { + return ::EProtoExecutionSite_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.cc new file mode 100644 index 0000000..0ea53b7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.cc @@ -0,0 +1,7671 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages.proto + +#include "steamnetworkingsockets_messages.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; + +PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ciphers_)*/{} + , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.key_type_)*/0 + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.nonce_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal() {} + union { + CMsgSteamDatagramSessionCryptInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfo_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.info_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal() {} + union { + CMsgSteamDatagramSessionCryptInfoSigned _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfoSigned_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.severity_)*/0u} {} +struct CMsgSteamDatagramDiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramDiagnosticDefaultTypeInternal() {} + union { + CMsgSteamDatagramDiagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramDiagnosticDefaultTypeInternal _CMsgSteamDatagramDiagnostic_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.out_packets_per_sec_x10_)*/0u + , /*decltype(_impl_.out_bytes_per_sec_)*/0u + , /*decltype(_impl_.in_packets_per_sec_x10_)*/0u + , /*decltype(_impl_.in_bytes_per_sec_)*/0u + , /*decltype(_impl_.ping_ms_)*/0u + , /*decltype(_impl_.packets_dropped_pct_)*/0u + , /*decltype(_impl_.packets_weird_sequence_pct_)*/0u + , /*decltype(_impl_.peak_jitter_usec_)*/0u} {} +struct CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal() {} + union { + CMsgSteamDatagramLinkInstantaneousStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal _CMsgSteamDatagramLinkInstantaneousStats_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.multipath_packets_recv_sequenced_)*/{} + , /*decltype(_impl_.multipath_packets_recv_later_)*/{} + , /*decltype(_impl_.packets_sent_)*/uint64_t{0u} + , /*decltype(_impl_.kb_sent_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_)*/uint64_t{0u} + , /*decltype(_impl_.kb_recv_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_sequenced_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_dropped_)*/uint64_t{0u} + , /*decltype(_impl_.connected_seconds_)*/0u + , /*decltype(_impl_.multipath_send_enabled_)*/0u + , /*decltype(_impl_.packets_recv_out_of_order_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_duplicate_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_lurch_)*/uint64_t{0u} + , /*decltype(_impl_.packets_recv_out_of_order_corrected_)*/uint64_t{0u} + , /*decltype(_impl_.quality_histogram_100_)*/0u + , /*decltype(_impl_.quality_histogram_99_)*/0u + , /*decltype(_impl_.quality_histogram_97_)*/0u + , /*decltype(_impl_.quality_histogram_95_)*/0u + , /*decltype(_impl_.quality_histogram_90_)*/0u + , /*decltype(_impl_.quality_histogram_75_)*/0u + , /*decltype(_impl_.quality_histogram_50_)*/0u + , /*decltype(_impl_.quality_histogram_1_)*/0u + , /*decltype(_impl_.quality_histogram_dead_)*/0u + , /*decltype(_impl_.quality_ntile_2nd_)*/0u + , /*decltype(_impl_.quality_ntile_5th_)*/0u + , /*decltype(_impl_.quality_ntile_25th_)*/0u + , /*decltype(_impl_.quality_ntile_50th_)*/0u + , /*decltype(_impl_.ping_histogram_25_)*/0u + , /*decltype(_impl_.ping_histogram_50_)*/0u + , /*decltype(_impl_.ping_histogram_75_)*/0u + , /*decltype(_impl_.ping_histogram_100_)*/0u + , /*decltype(_impl_.ping_histogram_125_)*/0u + , /*decltype(_impl_.ping_histogram_150_)*/0u + , /*decltype(_impl_.ping_histogram_200_)*/0u + , /*decltype(_impl_.ping_histogram_300_)*/0u + , /*decltype(_impl_.ping_histogram_max_)*/0u + , /*decltype(_impl_.ping_ntile_5th_)*/0u + , /*decltype(_impl_.ping_ntile_50th_)*/0u + , /*decltype(_impl_.ping_ntile_75th_)*/0u + , /*decltype(_impl_.ping_ntile_95th_)*/0u + , /*decltype(_impl_.ping_ntile_98th_)*/0u + , /*decltype(_impl_.jitter_histogram_negligible_)*/0u + , /*decltype(_impl_.jitter_histogram_1_)*/0u + , /*decltype(_impl_.jitter_histogram_2_)*/0u + , /*decltype(_impl_.jitter_histogram_5_)*/0u + , /*decltype(_impl_.jitter_histogram_10_)*/0u + , /*decltype(_impl_.jitter_histogram_20_)*/0u} {} +struct CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal() {} + union { + CMsgSteamDatagramLinkLifetimeStats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal _CMsgSteamDatagramLinkLifetimeStats_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.instantaneous_)*/nullptr + , /*decltype(_impl_.lifetime_)*/nullptr} {} +struct CMsgSteamDatagramConnectionQualityDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQualityDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramConnectionQualityDefaultTypeInternal() {} + union { + CMsgSteamDatagramConnectionQuality _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionQualityDefaultTypeInternal _CMsgSteamDatagramConnectionQuality_default_instance_; +PROTOBUF_CONSTEXPR CMsgICECandidate::CMsgICECandidate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.candidate_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgICECandidateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgICECandidateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgICECandidateDefaultTypeInternal() {} + union { + CMsgICECandidate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICECandidateDefaultTypeInternal _CMsgICECandidate_default_instance_; +PROTOBUF_CONSTEXPR CMsgICERendezvous_Auth::CMsgICERendezvous_Auth( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pwd_frag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CMsgICERendezvous_AuthDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgICERendezvous_AuthDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgICERendezvous_AuthDefaultTypeInternal() {} + union { + CMsgICERendezvous_Auth _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICERendezvous_AuthDefaultTypeInternal _CMsgICERendezvous_Auth_default_instance_; +PROTOBUF_CONSTEXPR CMsgICERendezvous::CMsgICERendezvous( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.add_candidate_)*/nullptr + , /*decltype(_impl_.auth_)*/nullptr} {} +struct CMsgICERendezvousDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgICERendezvousDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgICERendezvousDefaultTypeInternal() {} + union { + CMsgICERendezvous _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICERendezvousDefaultTypeInternal _CMsgICERendezvous_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.from_fakeip_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.to_virtual_port_)*/0u + , /*decltype(_impl_.from_virtual_port_)*/0u} {} +struct CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous_ConnectRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.cert_)*/nullptr} {} +struct CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous_ConnectOK _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reason_code_)*/0u} {} +struct CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ice_)*/nullptr} {} +struct CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous_ReliableMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.msg_num_)*/uint64_t{0u} + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.lane_idx_)*/0u} {} +struct CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.reliable_messages_)*/{} + , /*decltype(_impl_.application_messages_)*/{} + , /*decltype(_impl_.sdr_routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.from_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.to_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.hosted_server_ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.connect_request_)*/nullptr + , /*decltype(_impl_.connect_ok_)*/nullptr + , /*decltype(_impl_.connection_closed_)*/nullptr + , /*decltype(_impl_.to_connection_id_)*/0u + , /*decltype(_impl_.ack_peer_routes_revision_)*/0u + , /*decltype(_impl_.ice_enabled_)*/false + , /*decltype(_impl_.from_connection_id_)*/0u + , /*decltype(_impl_.ack_reliable_msg_)*/0u + , /*decltype(_impl_.first_reliable_msg_)*/0u} {} +struct CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal() {} + union { + CMsgSteamNetworkingP2PRendezvous _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.local_candidate_types_)*/0u + , /*decltype(_impl_.remote_candidate_types_)*/0u + , /*decltype(_impl_.initial_route_kind_)*/0u + , /*decltype(_impl_.initial_ping_)*/0u + , /*decltype(_impl_.negotiation_ms_)*/0u + , /*decltype(_impl_.initial_score_)*/0u + , /*decltype(_impl_.failure_reason_code_)*/0u + , /*decltype(_impl_.selected_seconds_)*/0u + , /*decltype(_impl_.user_settings_)*/0u + , /*decltype(_impl_.ice_enable_var_)*/0u + , /*decltype(_impl_.local_candidate_types_allowed_)*/0u + , /*decltype(_impl_.best_route_kind_)*/0u + , /*decltype(_impl_.best_ping_)*/0u + , /*decltype(_impl_.best_score_)*/0u + , /*decltype(_impl_.best_time_)*/0u} {} +struct CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal() {} + union { + CMsgSteamNetworkingICESessionSummary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal _CMsgSteamNetworkingICESessionSummary_default_instance_; +static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[16]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_2eproto = nullptr; + +const uint32_t TableStruct_steamnetworkingsockets_5fmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.key_type_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.key_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.nonce_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.protocol_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.ciphers_), + 1, + 0, + 3, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_.info_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_.signature_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_.severity_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_.text_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_packets_per_sec_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_bytes_per_sec_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.in_packets_per_sec_x10_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.in_bytes_per_sec_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.ping_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.packets_dropped_pct_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.packets_weird_sequence_pct_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.peak_jitter_usec_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.connected_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_sent_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.kb_sent_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.kb_recv_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_sequenced_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_dropped_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_out_of_order_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_out_of_order_corrected_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_duplicate_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_lurch_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_packets_recv_sequenced_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_packets_recv_later_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_send_enabled_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_100_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_99_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_97_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_95_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_90_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_75_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_50_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_1_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_dead_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_2nd_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_5th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_25th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_50th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_25_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_50_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_75_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_100_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_125_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_150_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_200_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_300_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_max_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_5th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_50th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_75th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_95th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_98th_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_negligible_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_1_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_2_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_5_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_10_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_20_), + 6, + 0, + 1, + 2, + 3, + 4, + 5, + 8, + 11, + 9, + 10, + ~0u, + ~0u, + 7, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_.instantaneous_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_.lifetime_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _impl_.candidate_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _impl_.pwd_frag_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_.auth_), + PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_.add_candidate_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.to_virtual_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_virtual_port_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_fakeip_), + 1, + 2, + 3, + 4, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.cert_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_.debug_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_.reason_code_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _impl_.ice_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.msg_num_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.lane_idx_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.from_identity_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.to_identity_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.to_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.sdr_routes_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ack_peer_routes_revision_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ice_enabled_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.hosted_server_ticket_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connect_request_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connect_ok_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connection_closed_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ack_reliable_msg_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.first_reliable_msg_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.reliable_messages_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.application_messages_), + 1, + 10, + 2, + 7, + 0, + 8, + 9, + 3, + 4, + 5, + 6, + 11, + 12, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.failure_reason_code_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.remote_candidate_types_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_route_kind_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.negotiation_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_route_kind_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_ping_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_score_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_time_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.selected_seconds_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.user_settings_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.ice_enable_var_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_allowed_), + 6, + 0, + 1, + 2, + 3, + 5, + 4, + 11, + 12, + 13, + 14, + 7, + 8, + 9, + 10, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 11, -1, sizeof(::CMsgSteamDatagramSessionCryptInfo)}, + { 16, 24, -1, sizeof(::CMsgSteamDatagramSessionCryptInfoSigned)}, + { 26, 34, -1, sizeof(::CMsgSteamDatagramDiagnostic)}, + { 36, 50, -1, sizeof(::CMsgSteamDatagramLinkInstantaneousStats)}, + { 58, 111, -1, sizeof(::CMsgSteamDatagramLinkLifetimeStats)}, + { 158, 166, -1, sizeof(::CMsgSteamDatagramConnectionQuality)}, + { 168, 175, -1, sizeof(::CMsgICECandidate)}, + { 176, 183, -1, sizeof(::CMsgICERendezvous_Auth)}, + { 184, 192, -1, sizeof(::CMsgICERendezvous)}, + { 194, 205, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest)}, + { 210, 218, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectOK)}, + { 220, 228, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed)}, + { 230, 237, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage)}, + { 238, 248, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage)}, + { 252, 273, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous)}, + { 288, 309, -1, sizeof(::CMsgSteamNetworkingICESessionSummary)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSteamDatagramSessionCryptInfo_default_instance_._instance, + &::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_._instance, + &::_CMsgSteamDatagramDiagnostic_default_instance_._instance, + &::_CMsgSteamDatagramLinkInstantaneousStats_default_instance_._instance, + &::_CMsgSteamDatagramLinkLifetimeStats_default_instance_._instance, + &::_CMsgSteamDatagramConnectionQuality_default_instance_._instance, + &::_CMsgICECandidate_default_instance_._instance, + &::_CMsgICERendezvous_Auth_default_instance_._instance, + &::_CMsgICERendezvous_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_._instance, + &::_CMsgSteamNetworkingP2PRendezvous_default_instance_._instance, + &::_CMsgSteamNetworkingICESessionSummary_default_instance_._instance, +}; + +const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n%steamnetworkingsockets_messages.proto\032" + "+steamnetworkingsockets_messages_certs.p" + "roto\"\200\002\n!CMsgSteamDatagramSessionCryptIn" + "fo\022F\n\010key_type\030\001 \001(\0162+.CMsgSteamDatagram" + "SessionCryptInfo.EKeyType:\007INVALID\022\020\n\010ke" + "y_data\030\002 \001(\014\022\r\n\005nonce\030\003 \001(\006\022\030\n\020protocol_" + "version\030\004 \001(\r\022/\n\007ciphers\030\005 \003(\0162\036.ESteamN" + "etworkingSocketsCipher\"\'\n\010EKeyType\022\013\n\007IN" + "VALID\020\000\022\016\n\nCURVE25519\020\001\"J\n\'CMsgSteamData" + "gramSessionCryptInfoSigned\022\014\n\004info\030\001 \001(\014" + "\022\021\n\tsignature\030\002 \001(\014\"=\n\033CMsgSteamDatagram" + "Diagnostic\022\020\n\010severity\030\001 \001(\r\022\014\n\004text\030\002 \001" + "(\t\"\213\002\n\'CMsgSteamDatagramLinkInstantaneou" + "sStats\022\037\n\027out_packets_per_sec_x10\030\001 \001(\r\022" + "\031\n\021out_bytes_per_sec\030\002 \001(\r\022\036\n\026in_packets" + "_per_sec_x10\030\003 \001(\r\022\030\n\020in_bytes_per_sec\030\004" + " \001(\r\022\017\n\007ping_ms\030\005 \001(\r\022\033\n\023packets_dropped" + "_pct\030\006 \001(\r\022\"\n\032packets_weird_sequence_pct" + "\030\007 \001(\r\022\030\n\020peak_jitter_usec\030\010 \001(\r\"\355\n\n\"CMs" + "gSteamDatagramLinkLifetimeStats\022\031\n\021conne" + "cted_seconds\030\002 \001(\r\022\024\n\014packets_sent\030\003 \001(\004" + "\022\017\n\007kb_sent\030\004 \001(\004\022\024\n\014packets_recv\030\005 \001(\004\022" + "\017\n\007kb_recv\030\006 \001(\004\022\036\n\026packets_recv_sequenc" + "ed\030\007 \001(\004\022\034\n\024packets_recv_dropped\030\010 \001(\004\022!" + "\n\031packets_recv_out_of_order\030\t \001(\004\022+\n#pac" + "kets_recv_out_of_order_corrected\030\017 \001(\004\022\036" + "\n\026packets_recv_duplicate\030\n \001(\004\022\032\n\022packet" + "s_recv_lurch\030\013 \001(\004\022(\n multipath_packets_" + "recv_sequenced\030\014 \003(\004\022$\n\034multipath_packet" + "s_recv_later\030\r \003(\004\022\036\n\026multipath_send_ena" + "bled\030\016 \001(\r\022\035\n\025quality_histogram_100\030\025 \001(" + "\r\022\034\n\024quality_histogram_99\030\026 \001(\r\022\034\n\024quali" + "ty_histogram_97\030\027 \001(\r\022\034\n\024quality_histogr" + "am_95\030\030 \001(\r\022\034\n\024quality_histogram_90\030\031 \001(" + "\r\022\034\n\024quality_histogram_75\030\032 \001(\r\022\034\n\024quali" + "ty_histogram_50\030\033 \001(\r\022\033\n\023quality_histogr" + "am_1\030\034 \001(\r\022\036\n\026quality_histogram_dead\030\035 \001" + "(\r\022\031\n\021quality_ntile_2nd\030\036 \001(\r\022\031\n\021quality" + "_ntile_5th\030\037 \001(\r\022\032\n\022quality_ntile_25th\030 " + " \001(\r\022\032\n\022quality_ntile_50th\030! \001(\r\022\031\n\021ping" + "_histogram_25\030) \001(\r\022\031\n\021ping_histogram_50" + "\030* \001(\r\022\031\n\021ping_histogram_75\030+ \001(\r\022\032\n\022pin" + "g_histogram_100\030, \001(\r\022\032\n\022ping_histogram_" + "125\030- \001(\r\022\032\n\022ping_histogram_150\030. \001(\r\022\032\n" + "\022ping_histogram_200\030/ \001(\r\022\032\n\022ping_histog" + "ram_300\0300 \001(\r\022\032\n\022ping_histogram_max\0301 \001(" + "\r\022\026\n\016ping_ntile_5th\0302 \001(\r\022\027\n\017ping_ntile_" + "50th\0303 \001(\r\022\027\n\017ping_ntile_75th\0304 \001(\r\022\027\n\017p" + "ing_ntile_95th\0305 \001(\r\022\027\n\017ping_ntile_98th\030" + "6 \001(\r\022#\n\033jitter_histogram_negligible\030= \001" + "(\r\022\032\n\022jitter_histogram_1\030> \001(\r\022\032\n\022jitter" + "_histogram_2\030\? \001(\r\022\032\n\022jitter_histogram_5" + "\030@ \001(\r\022\033\n\023jitter_histogram_10\030A \001(\r\022\033\n\023j" + "itter_histogram_20\030B \001(\r\"\234\001\n\"CMsgSteamDa" + "tagramConnectionQuality\022\?\n\rinstantaneous" + "\030\001 \001(\0132(.CMsgSteamDatagramLinkInstantane" + "ousStats\0225\n\010lifetime\030\002 \001(\0132#.CMsgSteamDa" + "tagramLinkLifetimeStats\"%\n\020CMsgICECandid" + "ate\022\021\n\tcandidate\030\003 \001(\t\"~\n\021CMsgICERendezv" + "ous\022%\n\004auth\030\002 \001(\0132\027.CMsgICERendezvous.Au" + "th\022(\n\radd_candidate\030\001 \001(\0132\021.CMsgICECandi" + "date\032\030\n\004Auth\022\020\n\010pwd_frag\030\001 \001(\t\"\243\t\n CMsgS" + "teamNetworkingP2PRendezvous\022\025\n\rfrom_iden" + "tity\030\010 \001(\t\022\032\n\022from_connection_id\030\t \001(\007\022\023" + "\n\013to_identity\030\n \001(\t\022\030\n\020to_connection_id\030" + "\001 \001(\007\022\022\n\nsdr_routes\030\002 \001(\014\022 \n\030ack_peer_ro" + "utes_revision\030\003 \001(\r\022\023\n\013ice_enabled\030\007 \001(\010" + "\022\034\n\024hosted_server_ticket\030\016 \001(\014\022I\n\017connec" + "t_request\030\004 \001(\01320.CMsgSteamNetworkingP2P" + "Rendezvous.ConnectRequest\022\?\n\nconnect_ok\030" + "\005 \001(\0132+.CMsgSteamNetworkingP2PRendezvous" + ".ConnectOK\022M\n\021connection_closed\030\006 \001(\01322." + "CMsgSteamNetworkingP2PRendezvous.Connect" + "ionClosed\022\030\n\020ack_reliable_msg\030\013 \001(\r\022\032\n\022f" + "irst_reliable_msg\030\014 \001(\r\022L\n\021reliable_mess" + "ages\030\r \003(\01321.CMsgSteamNetworkingP2PRende" + "zvous.ReliableMessage\022R\n\024application_mes" + "sages\030\017 \003(\01324.CMsgSteamNetworkingP2PRend" + "ezvous.ApplicationMessage\032\305\001\n\016ConnectReq" + "uest\0227\n\005crypt\030\006 \001(\0132(.CMsgSteamDatagramS" + "essionCryptInfoSigned\0221\n\004cert\030\007 \001(\0132#.CM" + "sgSteamDatagramCertificateSigned\022\027\n\017to_v" + "irtual_port\030\t \001(\r\022\031\n\021from_virtual_port\030\n" + " \001(\r\022\023\n\013from_fakeip\030\013 \001(\t\032w\n\tConnectOK\0227" + "\n\005crypt\030\005 \001(\0132(.CMsgSteamDatagramSession" + "CryptInfoSigned\0221\n\004cert\030\006 \001(\0132#.CMsgStea" + "mDatagramCertificateSigned\0326\n\020Connection" + "Closed\022\r\n\005debug\030\005 \001(\t\022\023\n\013reason_code\030\006 \001" + "(\r\0322\n\017ReliableMessage\022\037\n\003ice\030\001 \001(\0132\022.CMs" + "gICERendezvous\032T\n\022ApplicationMessage\022\014\n\004" + "data\030\001 \001(\014\022\017\n\007msg_num\030\002 \001(\004\022\r\n\005flags\030\003 \001" + "(\r\022\020\n\010lane_idx\030\004 \001(\r\"\246\003\n$CMsgSteamNetwor" + "kingICESessionSummary\022\033\n\023failure_reason_" + "code\030\007 \001(\r\022\035\n\025local_candidate_types\030\001 \001(" + "\r\022\036\n\026remote_candidate_types\030\002 \001(\r\022\032\n\022ini" + "tial_route_kind\030\003 \001(\r\022\024\n\014initial_ping\030\004 " + "\001(\r\022\025\n\rinitial_score\030\006 \001(\r\022\026\n\016negotiatio" + "n_ms\030\005 \001(\r\022\027\n\017best_route_kind\030\020 \001(\r\022\021\n\tb" + "est_ping\030\021 \001(\r\022\022\n\nbest_score\030\022 \001(\r\022\021\n\tbe" + "st_time\030\023 \001(\r\022\030\n\020selected_seconds\030\014 \001(\r\022" + "\025\n\ruser_settings\030\r \001(\r\022\026\n\016ice_enable_var" + "\030\016 \001(\r\022%\n\035local_candidate_types_allowed\030" + "\017 \001(\r*\247\001\n\035ESteamNetworkingSocketsCipher\022" + "+\n\'k_ESteamNetworkingSocketsCipher_INVAL" + "ID\020\000\022(\n$k_ESteamNetworkingSocketsCipher_" + "NULL\020\001\022/\n+k_ESteamNetworkingSocketsCiphe" + "r_AES_256_GCM\020\002B\005H\001\200\001\000" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steamnetworkingsockets_5fmessages_2eproto_deps[1] = { + &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_2eproto = { + false, false, 4262, descriptor_table_protodef_steamnetworkingsockets_5fmessages_2eproto, + "steamnetworkingsockets_messages.proto", + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, descriptor_table_steamnetworkingsockets_5fmessages_2eproto_deps, 1, 16, + schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_2eproto::offsets, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto, + file_level_service_descriptors_steamnetworkingsockets_5fmessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter() { + return &descriptor_table_steamnetworkingsockets_5fmessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); + return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[0]; +} +bool CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::INVALID; +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::CURVE25519; +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::EKeyType_MIN; +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::EKeyType_MAX; +constexpr int CMsgSteamDatagramSessionCryptInfo::EKeyType_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingSocketsCipher_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); + return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[1]; +} +bool ESteamNetworkingSocketsCipher_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgSteamDatagramSessionCryptInfo::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_key_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_key_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_nonce(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo(::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:CMsgSteamDatagramSessionCryptInfo) +} +CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo(const CMsgSteamDatagramSessionCryptInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSessionCryptInfo* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ciphers_){from._impl_.ciphers_} + , decltype(_impl_.key_data_){} + , decltype(_impl_.key_type_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.nonce_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key_data()) { + _this->_impl_.key_data_.Set(from._internal_key_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.key_type_, &from._impl_.key_type_, + static_cast(reinterpret_cast(&_impl_.nonce_) - + reinterpret_cast(&_impl_.key_type_)) + sizeof(_impl_.nonce_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSessionCryptInfo) +} + +inline void CMsgSteamDatagramSessionCryptInfo::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ciphers_){arena} + , decltype(_impl_.key_data_){} + , decltype(_impl_.key_type_){0} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.nonce_){uint64_t{0u}} + }; + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSessionCryptInfo::~CMsgSteamDatagramSessionCryptInfo() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSessionCryptInfo) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSessionCryptInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ciphers_.~RepeatedField(); + _impl_.key_data_.Destroy(); +} + +void CMsgSteamDatagramSessionCryptInfo::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSessionCryptInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSessionCryptInfo) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ciphers_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.key_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.key_type_, 0, static_cast( + reinterpret_cast(&_impl_.nonce_) - + reinterpret_cast(&_impl_.key_type_)) + sizeof(_impl_.nonce_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSessionCryptInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(val))) { + _internal_set_key_type(static_cast<::CMsgSteamDatagramSessionCryptInfo_EKeyType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional bytes key_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_key_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 nonce = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_nonce(&has_bits); + _impl_.nonce_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .ESteamNetworkingSocketsCipher ciphers = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + ptr -= 1; + do { + ptr += 1; + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::ESteamNetworkingSocketsCipher_IsValid(val))) { + _internal_add_ciphers(static_cast<::ESteamNetworkingSocketsCipher>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); + } + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(_internal_mutable_ciphers(), ptr, ctx, ::ESteamNetworkingSocketsCipher_IsValid, &_internal_metadata_, 5); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSessionCryptInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSessionCryptInfo) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_key_type(), target); + } + + // optional bytes key_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_key_data(), target); + } + + // optional fixed64 nonce = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_nonce(), target); + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), target); + } + + // repeated .ESteamNetworkingSocketsCipher ciphers = 5; + for (int i = 0, n = this->_internal_ciphers_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this->_internal_ciphers(i), 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:CMsgSteamDatagramSessionCryptInfo) + return target; +} + +size_t CMsgSteamDatagramSessionCryptInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSessionCryptInfo) + 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 .ESteamNetworkingSocketsCipher ciphers = 5; + { + size_t data_size = 0; + unsigned int count = static_cast(this->_internal_ciphers_size());for (unsigned int i = 0; i < count; i++) { + data_size += ::_pbi::WireFormatLite::EnumSize( + this->_internal_ciphers(static_cast(i))); + } + total_size += (1UL * count) + data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes key_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_key_data()); + } + + // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_key_type()); + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional fixed64 nonce = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSessionCryptInfo::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSessionCryptInfo::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSessionCryptInfo::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSessionCryptInfo::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:CMsgSteamDatagramSessionCryptInfo) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.ciphers_.MergeFrom(from._impl_.ciphers_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_key_data(from._internal_key_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.key_type_ = from._impl_.key_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.nonce_ = from._impl_.nonce_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSessionCryptInfo::CopyFrom(const CMsgSteamDatagramSessionCryptInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSessionCryptInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSessionCryptInfo::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSessionCryptInfo::InternalSwap(CMsgSteamDatagramSessionCryptInfo* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.ciphers_.InternalSwap(&other->_impl_.ciphers_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_data_, lhs_arena, + &other->_impl_.key_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSessionCryptInfo, _impl_.nonce_) + + sizeof(CMsgSteamDatagramSessionCryptInfo::_impl_.nonce_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSessionCryptInfo, _impl_.key_type_)>( + reinterpret_cast(&_impl_.key_type_), + reinterpret_cast(&other->_impl_.key_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSessionCryptInfo::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[0]); +} + +// =================================================================== + +class CMsgSteamDatagramSessionCryptInfoSigned::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_info(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_signature(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned(::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:CMsgSteamDatagramSessionCryptInfoSigned) +} +CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned(const CMsgSteamDatagramSessionCryptInfoSigned& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramSessionCryptInfoSigned* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.info_){} + , decltype(_impl_.signature_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.info_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.info_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_info()) { + _this->_impl_.info_.Set(from._internal_info(), + _this->GetArenaForAllocation()); + } + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_signature()) { + _this->_impl_.signature_.Set(from._internal_signature(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSessionCryptInfoSigned) +} + +inline void CMsgSteamDatagramSessionCryptInfoSigned::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.info_){} + , decltype(_impl_.signature_){} + }; + _impl_.info_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.info_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramSessionCryptInfoSigned::~CMsgSteamDatagramSessionCryptInfoSigned() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramSessionCryptInfoSigned) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramSessionCryptInfoSigned::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.info_.Destroy(); + _impl_.signature_.Destroy(); +} + +void CMsgSteamDatagramSessionCryptInfoSigned::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramSessionCryptInfoSigned::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSessionCryptInfoSigned) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.info_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.signature_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramSessionCryptInfoSigned::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes info = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_info(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes signature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramSessionCryptInfoSigned::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSessionCryptInfoSigned) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes info = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_info(), target); + } + + // optional bytes signature = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_signature(), 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:CMsgSteamDatagramSessionCryptInfoSigned) + return target; +} + +size_t CMsgSteamDatagramSessionCryptInfoSigned::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSessionCryptInfoSigned) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes info = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_info()); + } + + // optional bytes signature = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_signature()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSessionCryptInfoSigned::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramSessionCryptInfoSigned::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSessionCryptInfoSigned::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramSessionCryptInfoSigned::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:CMsgSteamDatagramSessionCryptInfoSigned) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_info(from._internal_info()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_signature(from._internal_signature()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramSessionCryptInfoSigned::CopyFrom(const CMsgSteamDatagramSessionCryptInfoSigned& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSessionCryptInfoSigned) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramSessionCryptInfoSigned::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramSessionCryptInfoSigned::InternalSwap(CMsgSteamDatagramSessionCryptInfoSigned* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.info_, lhs_arena, + &other->_impl_.info_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.signature_, lhs_arena, + &other->_impl_.signature_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSessionCryptInfoSigned::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[1]); +} + +// =================================================================== + +class CMsgSteamDatagramDiagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_severity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic(::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:CMsgSteamDatagramDiagnostic) +} +CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic(const CMsgSteamDatagramDiagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramDiagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.severity_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + _this->_impl_.severity_ = from._impl_.severity_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramDiagnostic) +} + +inline void CMsgSteamDatagramDiagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.severity_){0u} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramDiagnostic::~CMsgSteamDatagramDiagnostic() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramDiagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramDiagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CMsgSteamDatagramDiagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramDiagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramDiagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_.severity_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 severity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_severity(&has_bits); + _impl_.severity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramDiagnostic.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramDiagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramDiagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 severity = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_severity(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramDiagnostic.text"); + target = stream->WriteStringMaybeAliased( + 2, 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:CMsgSteamDatagramDiagnostic) + return target; +} + +size_t CMsgSteamDatagramDiagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramDiagnostic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional uint32 severity = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_severity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramDiagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramDiagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramDiagnostic::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramDiagnostic::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:CMsgSteamDatagramDiagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.severity_ = from._impl_.severity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramDiagnostic::CopyFrom(const CMsgSteamDatagramDiagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramDiagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramDiagnostic::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramDiagnostic::InternalSwap(CMsgSteamDatagramDiagnostic* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + swap(_impl_.severity_, other->_impl_.severity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramDiagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[2]); +} + +// =================================================================== + +class CMsgSteamDatagramLinkInstantaneousStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_out_packets_per_sec_x10(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_out_bytes_per_sec(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_in_packets_per_sec_x10(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_in_bytes_per_sec(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ping_ms(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_packets_dropped_pct(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_packets_weird_sequence_pct(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_peak_jitter_usec(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } +}; + +CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats(::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:CMsgSteamDatagramLinkInstantaneousStats) +} +CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats(const CMsgSteamDatagramLinkInstantaneousStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramLinkInstantaneousStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.out_packets_per_sec_x10_){} + , decltype(_impl_.out_bytes_per_sec_){} + , decltype(_impl_.in_packets_per_sec_x10_){} + , decltype(_impl_.in_bytes_per_sec_){} + , decltype(_impl_.ping_ms_){} + , decltype(_impl_.packets_dropped_pct_){} + , decltype(_impl_.packets_weird_sequence_pct_){} + , decltype(_impl_.peak_jitter_usec_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.out_packets_per_sec_x10_, &from._impl_.out_packets_per_sec_x10_, + static_cast(reinterpret_cast(&_impl_.peak_jitter_usec_) - + reinterpret_cast(&_impl_.out_packets_per_sec_x10_)) + sizeof(_impl_.peak_jitter_usec_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramLinkInstantaneousStats) +} + +inline void CMsgSteamDatagramLinkInstantaneousStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.out_packets_per_sec_x10_){0u} + , decltype(_impl_.out_bytes_per_sec_){0u} + , decltype(_impl_.in_packets_per_sec_x10_){0u} + , decltype(_impl_.in_bytes_per_sec_){0u} + , decltype(_impl_.ping_ms_){0u} + , decltype(_impl_.packets_dropped_pct_){0u} + , decltype(_impl_.packets_weird_sequence_pct_){0u} + , decltype(_impl_.peak_jitter_usec_){0u} + }; +} + +CMsgSteamDatagramLinkInstantaneousStats::~CMsgSteamDatagramLinkInstantaneousStats() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramLinkInstantaneousStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramLinkInstantaneousStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamDatagramLinkInstantaneousStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramLinkInstantaneousStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramLinkInstantaneousStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.out_packets_per_sec_x10_, 0, static_cast( + reinterpret_cast(&_impl_.peak_jitter_usec_) - + reinterpret_cast(&_impl_.out_packets_per_sec_x10_)) + sizeof(_impl_.peak_jitter_usec_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramLinkInstantaneousStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 out_packets_per_sec_x10 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_out_packets_per_sec_x10(&has_bits); + _impl_.out_packets_per_sec_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 out_bytes_per_sec = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_out_bytes_per_sec(&has_bits); + _impl_.out_bytes_per_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 in_packets_per_sec_x10 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_in_packets_per_sec_x10(&has_bits); + _impl_.in_packets_per_sec_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 in_bytes_per_sec = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_in_bytes_per_sec(&has_bits); + _impl_.in_bytes_per_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ms = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_ping_ms(&has_bits); + _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 packets_dropped_pct = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_packets_dropped_pct(&has_bits); + _impl_.packets_dropped_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 packets_weird_sequence_pct = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_packets_weird_sequence_pct(&has_bits); + _impl_.packets_weird_sequence_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 peak_jitter_usec = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_peak_jitter_usec(&has_bits); + _impl_.peak_jitter_usec_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramLinkInstantaneousStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramLinkInstantaneousStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 out_packets_per_sec_x10 = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_out_packets_per_sec_x10(), target); + } + + // optional uint32 out_bytes_per_sec = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_out_bytes_per_sec(), target); + } + + // optional uint32 in_packets_per_sec_x10 = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_in_packets_per_sec_x10(), target); + } + + // optional uint32 in_bytes_per_sec = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_in_bytes_per_sec(), target); + } + + // optional uint32 ping_ms = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ping_ms(), target); + } + + // optional uint32 packets_dropped_pct = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_packets_dropped_pct(), target); + } + + // optional uint32 packets_weird_sequence_pct = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_packets_weird_sequence_pct(), target); + } + + // optional uint32 peak_jitter_usec = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_peak_jitter_usec(), 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:CMsgSteamDatagramLinkInstantaneousStats) + return target; +} + +size_t CMsgSteamDatagramLinkInstantaneousStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramLinkInstantaneousStats) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 out_packets_per_sec_x10 = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_out_packets_per_sec_x10()); + } + + // optional uint32 out_bytes_per_sec = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_out_bytes_per_sec()); + } + + // optional uint32 in_packets_per_sec_x10 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_in_packets_per_sec_x10()); + } + + // optional uint32 in_bytes_per_sec = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_in_bytes_per_sec()); + } + + // optional uint32 ping_ms = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); + } + + // optional uint32 packets_dropped_pct = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_packets_dropped_pct()); + } + + // optional uint32 packets_weird_sequence_pct = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_packets_weird_sequence_pct()); + } + + // optional uint32 peak_jitter_usec = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_peak_jitter_usec()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramLinkInstantaneousStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramLinkInstantaneousStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramLinkInstantaneousStats::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramLinkInstantaneousStats::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:CMsgSteamDatagramLinkInstantaneousStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.out_packets_per_sec_x10_ = from._impl_.out_packets_per_sec_x10_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.out_bytes_per_sec_ = from._impl_.out_bytes_per_sec_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.in_packets_per_sec_x10_ = from._impl_.in_packets_per_sec_x10_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.in_bytes_per_sec_ = from._impl_.in_bytes_per_sec_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ping_ms_ = from._impl_.ping_ms_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.packets_dropped_pct_ = from._impl_.packets_dropped_pct_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.packets_weird_sequence_pct_ = from._impl_.packets_weird_sequence_pct_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.peak_jitter_usec_ = from._impl_.peak_jitter_usec_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramLinkInstantaneousStats::CopyFrom(const CMsgSteamDatagramLinkInstantaneousStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramLinkInstantaneousStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramLinkInstantaneousStats::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramLinkInstantaneousStats::InternalSwap(CMsgSteamDatagramLinkInstantaneousStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkInstantaneousStats, _impl_.peak_jitter_usec_) + + sizeof(CMsgSteamDatagramLinkInstantaneousStats::_impl_.peak_jitter_usec_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_packets_per_sec_x10_)>( + reinterpret_cast(&_impl_.out_packets_per_sec_x10_), + reinterpret_cast(&other->_impl_.out_packets_per_sec_x10_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramLinkInstantaneousStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[3]); +} + +// =================================================================== + +class CMsgSteamDatagramLinkLifetimeStats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connected_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_packets_sent(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_kb_sent(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_packets_recv(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_kb_recv(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_packets_recv_sequenced(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_packets_recv_dropped(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_packets_recv_out_of_order(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_packets_recv_out_of_order_corrected(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_packets_recv_duplicate(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_packets_recv_lurch(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_multipath_send_enabled(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_quality_histogram_100(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_quality_histogram_99(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_quality_histogram_97(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_quality_histogram_95(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_quality_histogram_90(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_quality_histogram_75(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_quality_histogram_50(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_quality_histogram_1(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static void set_has_quality_histogram_dead(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static void set_has_quality_ntile_2nd(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static void set_has_quality_ntile_5th(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static void set_has_quality_ntile_25th(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static void set_has_quality_ntile_50th(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static void set_has_ping_histogram_25(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static void set_has_ping_histogram_50(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } + static void set_has_ping_histogram_75(HasBits* has_bits) { + (*has_bits)[0] |= 134217728u; + } + static void set_has_ping_histogram_100(HasBits* has_bits) { + (*has_bits)[0] |= 268435456u; + } + static void set_has_ping_histogram_125(HasBits* has_bits) { + (*has_bits)[0] |= 536870912u; + } + static void set_has_ping_histogram_150(HasBits* has_bits) { + (*has_bits)[0] |= 1073741824u; + } + static void set_has_ping_histogram_200(HasBits* has_bits) { + (*has_bits)[0] |= 2147483648u; + } + static void set_has_ping_histogram_300(HasBits* has_bits) { + (*has_bits)[1] |= 1u; + } + static void set_has_ping_histogram_max(HasBits* has_bits) { + (*has_bits)[1] |= 2u; + } + static void set_has_ping_ntile_5th(HasBits* has_bits) { + (*has_bits)[1] |= 4u; + } + static void set_has_ping_ntile_50th(HasBits* has_bits) { + (*has_bits)[1] |= 8u; + } + static void set_has_ping_ntile_75th(HasBits* has_bits) { + (*has_bits)[1] |= 16u; + } + static void set_has_ping_ntile_95th(HasBits* has_bits) { + (*has_bits)[1] |= 32u; + } + static void set_has_ping_ntile_98th(HasBits* has_bits) { + (*has_bits)[1] |= 64u; + } + static void set_has_jitter_histogram_negligible(HasBits* has_bits) { + (*has_bits)[1] |= 128u; + } + static void set_has_jitter_histogram_1(HasBits* has_bits) { + (*has_bits)[1] |= 256u; + } + static void set_has_jitter_histogram_2(HasBits* has_bits) { + (*has_bits)[1] |= 512u; + } + static void set_has_jitter_histogram_5(HasBits* has_bits) { + (*has_bits)[1] |= 1024u; + } + static void set_has_jitter_histogram_10(HasBits* has_bits) { + (*has_bits)[1] |= 2048u; + } + static void set_has_jitter_histogram_20(HasBits* has_bits) { + (*has_bits)[1] |= 4096u; + } +}; + +CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats(::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:CMsgSteamDatagramLinkLifetimeStats) +} +CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats(const CMsgSteamDatagramLinkLifetimeStats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramLinkLifetimeStats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.multipath_packets_recv_sequenced_){from._impl_.multipath_packets_recv_sequenced_} + , decltype(_impl_.multipath_packets_recv_later_){from._impl_.multipath_packets_recv_later_} + , decltype(_impl_.packets_sent_){} + , decltype(_impl_.kb_sent_){} + , decltype(_impl_.packets_recv_){} + , decltype(_impl_.kb_recv_){} + , decltype(_impl_.packets_recv_sequenced_){} + , decltype(_impl_.packets_recv_dropped_){} + , decltype(_impl_.connected_seconds_){} + , decltype(_impl_.multipath_send_enabled_){} + , decltype(_impl_.packets_recv_out_of_order_){} + , decltype(_impl_.packets_recv_duplicate_){} + , decltype(_impl_.packets_recv_lurch_){} + , decltype(_impl_.packets_recv_out_of_order_corrected_){} + , decltype(_impl_.quality_histogram_100_){} + , decltype(_impl_.quality_histogram_99_){} + , decltype(_impl_.quality_histogram_97_){} + , decltype(_impl_.quality_histogram_95_){} + , decltype(_impl_.quality_histogram_90_){} + , decltype(_impl_.quality_histogram_75_){} + , decltype(_impl_.quality_histogram_50_){} + , decltype(_impl_.quality_histogram_1_){} + , decltype(_impl_.quality_histogram_dead_){} + , decltype(_impl_.quality_ntile_2nd_){} + , decltype(_impl_.quality_ntile_5th_){} + , decltype(_impl_.quality_ntile_25th_){} + , decltype(_impl_.quality_ntile_50th_){} + , decltype(_impl_.ping_histogram_25_){} + , decltype(_impl_.ping_histogram_50_){} + , decltype(_impl_.ping_histogram_75_){} + , decltype(_impl_.ping_histogram_100_){} + , decltype(_impl_.ping_histogram_125_){} + , decltype(_impl_.ping_histogram_150_){} + , decltype(_impl_.ping_histogram_200_){} + , decltype(_impl_.ping_histogram_300_){} + , decltype(_impl_.ping_histogram_max_){} + , decltype(_impl_.ping_ntile_5th_){} + , decltype(_impl_.ping_ntile_50th_){} + , decltype(_impl_.ping_ntile_75th_){} + , decltype(_impl_.ping_ntile_95th_){} + , decltype(_impl_.ping_ntile_98th_){} + , decltype(_impl_.jitter_histogram_negligible_){} + , decltype(_impl_.jitter_histogram_1_){} + , decltype(_impl_.jitter_histogram_2_){} + , decltype(_impl_.jitter_histogram_5_){} + , decltype(_impl_.jitter_histogram_10_){} + , decltype(_impl_.jitter_histogram_20_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.packets_sent_, &from._impl_.packets_sent_, + static_cast(reinterpret_cast(&_impl_.jitter_histogram_20_) - + reinterpret_cast(&_impl_.packets_sent_)) + sizeof(_impl_.jitter_histogram_20_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramLinkLifetimeStats) +} + +inline void CMsgSteamDatagramLinkLifetimeStats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.multipath_packets_recv_sequenced_){arena} + , decltype(_impl_.multipath_packets_recv_later_){arena} + , decltype(_impl_.packets_sent_){uint64_t{0u}} + , decltype(_impl_.kb_sent_){uint64_t{0u}} + , decltype(_impl_.packets_recv_){uint64_t{0u}} + , decltype(_impl_.kb_recv_){uint64_t{0u}} + , decltype(_impl_.packets_recv_sequenced_){uint64_t{0u}} + , decltype(_impl_.packets_recv_dropped_){uint64_t{0u}} + , decltype(_impl_.connected_seconds_){0u} + , decltype(_impl_.multipath_send_enabled_){0u} + , decltype(_impl_.packets_recv_out_of_order_){uint64_t{0u}} + , decltype(_impl_.packets_recv_duplicate_){uint64_t{0u}} + , decltype(_impl_.packets_recv_lurch_){uint64_t{0u}} + , decltype(_impl_.packets_recv_out_of_order_corrected_){uint64_t{0u}} + , decltype(_impl_.quality_histogram_100_){0u} + , decltype(_impl_.quality_histogram_99_){0u} + , decltype(_impl_.quality_histogram_97_){0u} + , decltype(_impl_.quality_histogram_95_){0u} + , decltype(_impl_.quality_histogram_90_){0u} + , decltype(_impl_.quality_histogram_75_){0u} + , decltype(_impl_.quality_histogram_50_){0u} + , decltype(_impl_.quality_histogram_1_){0u} + , decltype(_impl_.quality_histogram_dead_){0u} + , decltype(_impl_.quality_ntile_2nd_){0u} + , decltype(_impl_.quality_ntile_5th_){0u} + , decltype(_impl_.quality_ntile_25th_){0u} + , decltype(_impl_.quality_ntile_50th_){0u} + , decltype(_impl_.ping_histogram_25_){0u} + , decltype(_impl_.ping_histogram_50_){0u} + , decltype(_impl_.ping_histogram_75_){0u} + , decltype(_impl_.ping_histogram_100_){0u} + , decltype(_impl_.ping_histogram_125_){0u} + , decltype(_impl_.ping_histogram_150_){0u} + , decltype(_impl_.ping_histogram_200_){0u} + , decltype(_impl_.ping_histogram_300_){0u} + , decltype(_impl_.ping_histogram_max_){0u} + , decltype(_impl_.ping_ntile_5th_){0u} + , decltype(_impl_.ping_ntile_50th_){0u} + , decltype(_impl_.ping_ntile_75th_){0u} + , decltype(_impl_.ping_ntile_95th_){0u} + , decltype(_impl_.ping_ntile_98th_){0u} + , decltype(_impl_.jitter_histogram_negligible_){0u} + , decltype(_impl_.jitter_histogram_1_){0u} + , decltype(_impl_.jitter_histogram_2_){0u} + , decltype(_impl_.jitter_histogram_5_){0u} + , decltype(_impl_.jitter_histogram_10_){0u} + , decltype(_impl_.jitter_histogram_20_){0u} + }; +} + +CMsgSteamDatagramLinkLifetimeStats::~CMsgSteamDatagramLinkLifetimeStats() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramLinkLifetimeStats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramLinkLifetimeStats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.multipath_packets_recv_sequenced_.~RepeatedField(); + _impl_.multipath_packets_recv_later_.~RepeatedField(); +} + +void CMsgSteamDatagramLinkLifetimeStats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramLinkLifetimeStats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramLinkLifetimeStats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.multipath_packets_recv_sequenced_.Clear(); + _impl_.multipath_packets_recv_later_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.packets_sent_, 0, static_cast( + reinterpret_cast(&_impl_.multipath_send_enabled_) - + reinterpret_cast(&_impl_.packets_sent_)) + sizeof(_impl_.multipath_send_enabled_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.packets_recv_out_of_order_, 0, static_cast( + reinterpret_cast(&_impl_.quality_histogram_95_) - + reinterpret_cast(&_impl_.packets_recv_out_of_order_)) + sizeof(_impl_.quality_histogram_95_)); + } + if (cached_has_bits & 0x00ff0000u) { + ::memset(&_impl_.quality_histogram_90_, 0, static_cast( + reinterpret_cast(&_impl_.quality_ntile_25th_) - + reinterpret_cast(&_impl_.quality_histogram_90_)) + sizeof(_impl_.quality_ntile_25th_)); + } + if (cached_has_bits & 0xff000000u) { + ::memset(&_impl_.quality_ntile_50th_, 0, static_cast( + reinterpret_cast(&_impl_.ping_histogram_200_) - + reinterpret_cast(&_impl_.quality_ntile_50th_)) + sizeof(_impl_.ping_histogram_200_)); + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.ping_histogram_300_, 0, static_cast( + reinterpret_cast(&_impl_.jitter_histogram_negligible_) - + reinterpret_cast(&_impl_.ping_histogram_300_)) + sizeof(_impl_.jitter_histogram_negligible_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.jitter_histogram_1_, 0, static_cast( + reinterpret_cast(&_impl_.jitter_histogram_20_) - + reinterpret_cast(&_impl_.jitter_histogram_1_)) + sizeof(_impl_.jitter_histogram_20_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramLinkLifetimeStats::_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) { + // optional uint32 connected_seconds = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_connected_seconds(&_impl_._has_bits_); + _impl_.connected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_sent = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_packets_sent(&_impl_._has_bits_); + _impl_.packets_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 kb_sent = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_kb_sent(&_impl_._has_bits_); + _impl_.kb_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_packets_recv(&_impl_._has_bits_); + _impl_.packets_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 kb_recv = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_kb_recv(&_impl_._has_bits_); + _impl_.kb_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_sequenced = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_packets_recv_sequenced(&_impl_._has_bits_); + _impl_.packets_recv_sequenced_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_dropped = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_packets_recv_dropped(&_impl_._has_bits_); + _impl_.packets_recv_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_out_of_order = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_packets_recv_out_of_order(&_impl_._has_bits_); + _impl_.packets_recv_out_of_order_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_duplicate = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_packets_recv_duplicate(&_impl_._has_bits_); + _impl_.packets_recv_duplicate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_lurch = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_packets_recv_lurch(&_impl_._has_bits_); + _impl_.packets_recv_lurch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 multipath_packets_recv_sequenced = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_multipath_packets_recv_sequenced(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); + } else if (static_cast(tag) == 98) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_multipath_packets_recv_sequenced(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint64 multipath_packets_recv_later = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_multipath_packets_recv_later(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); + } else if (static_cast(tag) == 106) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_multipath_packets_recv_later(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 multipath_send_enabled = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_multipath_send_enabled(&_impl_._has_bits_); + _impl_.multipath_send_enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 packets_recv_out_of_order_corrected = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_packets_recv_out_of_order_corrected(&_impl_._has_bits_); + _impl_.packets_recv_out_of_order_corrected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_100 = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_quality_histogram_100(&_impl_._has_bits_); + _impl_.quality_histogram_100_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_99 = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_quality_histogram_99(&_impl_._has_bits_); + _impl_.quality_histogram_99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_97 = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { + _Internal::set_has_quality_histogram_97(&_impl_._has_bits_); + _impl_.quality_histogram_97_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_95 = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { + _Internal::set_has_quality_histogram_95(&_impl_._has_bits_); + _impl_.quality_histogram_95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_90 = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { + _Internal::set_has_quality_histogram_90(&_impl_._has_bits_); + _impl_.quality_histogram_90_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_75 = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { + _Internal::set_has_quality_histogram_75(&_impl_._has_bits_); + _impl_.quality_histogram_75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_50 = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { + _Internal::set_has_quality_histogram_50(&_impl_._has_bits_); + _impl_.quality_histogram_50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_1 = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { + _Internal::set_has_quality_histogram_1(&_impl_._has_bits_); + _impl_.quality_histogram_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_histogram_dead = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_quality_histogram_dead(&_impl_._has_bits_); + _impl_.quality_histogram_dead_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_ntile_2nd = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_quality_ntile_2nd(&_impl_._has_bits_); + _impl_.quality_ntile_2nd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_ntile_5th = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_quality_ntile_5th(&_impl_._has_bits_); + _impl_.quality_ntile_5th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_ntile_25th = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_quality_ntile_25th(&_impl_._has_bits_); + _impl_.quality_ntile_25th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 quality_ntile_50th = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_quality_ntile_50th(&_impl_._has_bits_); + _impl_.quality_ntile_50th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_25 = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_ping_histogram_25(&_impl_._has_bits_); + _impl_.ping_histogram_25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_50 = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_ping_histogram_50(&_impl_._has_bits_); + _impl_.ping_histogram_50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_75 = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_ping_histogram_75(&_impl_._has_bits_); + _impl_.ping_histogram_75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_100 = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_ping_histogram_100(&_impl_._has_bits_); + _impl_.ping_histogram_100_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_125 = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_ping_histogram_125(&_impl_._has_bits_); + _impl_.ping_histogram_125_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_150 = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_ping_histogram_150(&_impl_._has_bits_); + _impl_.ping_histogram_150_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_200 = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_ping_histogram_200(&_impl_._has_bits_); + _impl_.ping_histogram_200_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_300 = 48; + case 48: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_ping_histogram_300(&_impl_._has_bits_); + _impl_.ping_histogram_300_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_histogram_max = 49; + case 49: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_ping_histogram_max(&_impl_._has_bits_); + _impl_.ping_histogram_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ntile_5th = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_ping_ntile_5th(&_impl_._has_bits_); + _impl_.ping_ntile_5th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ntile_50th = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_ping_ntile_50th(&_impl_._has_bits_); + _impl_.ping_ntile_50th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ntile_75th = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_ping_ntile_75th(&_impl_._has_bits_); + _impl_.ping_ntile_75th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ntile_95th = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_ping_ntile_95th(&_impl_._has_bits_); + _impl_.ping_ntile_95th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ping_ntile_98th = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { + _Internal::set_has_ping_ntile_98th(&_impl_._has_bits_); + _impl_.ping_ntile_98th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_negligible = 61; + case 61: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { + _Internal::set_has_jitter_histogram_negligible(&_impl_._has_bits_); + _impl_.jitter_histogram_negligible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_1 = 62; + case 62: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { + _Internal::set_has_jitter_histogram_1(&_impl_._has_bits_); + _impl_.jitter_histogram_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_2 = 63; + case 63: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { + _Internal::set_has_jitter_histogram_2(&_impl_._has_bits_); + _impl_.jitter_histogram_2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_5 = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { + _Internal::set_has_jitter_histogram_5(&_impl_._has_bits_); + _impl_.jitter_histogram_5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_10 = 65; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_jitter_histogram_10(&_impl_._has_bits_); + _impl_.jitter_histogram_10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 jitter_histogram_20 = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_jitter_histogram_20(&_impl_._has_bits_); + _impl_.jitter_histogram_20_ = ::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* CMsgSteamDatagramLinkLifetimeStats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramLinkLifetimeStats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 connected_seconds = 2; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_connected_seconds(), target); + } + + // optional uint64 packets_sent = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_packets_sent(), target); + } + + // optional uint64 kb_sent = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_kb_sent(), target); + } + + // optional uint64 packets_recv = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_packets_recv(), target); + } + + // optional uint64 kb_recv = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_kb_recv(), target); + } + + // optional uint64 packets_recv_sequenced = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_packets_recv_sequenced(), target); + } + + // optional uint64 packets_recv_dropped = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_packets_recv_dropped(), target); + } + + // optional uint64 packets_recv_out_of_order = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_packets_recv_out_of_order(), target); + } + + // optional uint64 packets_recv_duplicate = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_packets_recv_duplicate(), target); + } + + // optional uint64 packets_recv_lurch = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_packets_recv_lurch(), target); + } + + // repeated uint64 multipath_packets_recv_sequenced = 12; + for (int i = 0, n = this->_internal_multipath_packets_recv_sequenced_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(12, this->_internal_multipath_packets_recv_sequenced(i), target); + } + + // repeated uint64 multipath_packets_recv_later = 13; + for (int i = 0, n = this->_internal_multipath_packets_recv_later_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_multipath_packets_recv_later(i), target); + } + + // optional uint32 multipath_send_enabled = 14; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_multipath_send_enabled(), target); + } + + // optional uint64 packets_recv_out_of_order_corrected = 15; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(15, this->_internal_packets_recv_out_of_order_corrected(), target); + } + + // optional uint32 quality_histogram_100 = 21; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_quality_histogram_100(), target); + } + + // optional uint32 quality_histogram_99 = 22; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_quality_histogram_99(), target); + } + + // optional uint32 quality_histogram_97 = 23; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_quality_histogram_97(), target); + } + + // optional uint32 quality_histogram_95 = 24; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_quality_histogram_95(), target); + } + + // optional uint32 quality_histogram_90 = 25; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_quality_histogram_90(), target); + } + + // optional uint32 quality_histogram_75 = 26; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_quality_histogram_75(), target); + } + + // optional uint32 quality_histogram_50 = 27; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_quality_histogram_50(), target); + } + + // optional uint32 quality_histogram_1 = 28; + if (cached_has_bits & 0x00080000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(28, this->_internal_quality_histogram_1(), target); + } + + // optional uint32 quality_histogram_dead = 29; + if (cached_has_bits & 0x00100000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(29, this->_internal_quality_histogram_dead(), target); + } + + // optional uint32 quality_ntile_2nd = 30; + if (cached_has_bits & 0x00200000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_quality_ntile_2nd(), target); + } + + // optional uint32 quality_ntile_5th = 31; + if (cached_has_bits & 0x00400000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_quality_ntile_5th(), target); + } + + // optional uint32 quality_ntile_25th = 32; + if (cached_has_bits & 0x00800000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_quality_ntile_25th(), target); + } + + // optional uint32 quality_ntile_50th = 33; + if (cached_has_bits & 0x01000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_quality_ntile_50th(), target); + } + + // optional uint32 ping_histogram_25 = 41; + if (cached_has_bits & 0x02000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ping_histogram_25(), target); + } + + // optional uint32 ping_histogram_50 = 42; + if (cached_has_bits & 0x04000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ping_histogram_50(), target); + } + + // optional uint32 ping_histogram_75 = 43; + if (cached_has_bits & 0x08000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ping_histogram_75(), target); + } + + // optional uint32 ping_histogram_100 = 44; + if (cached_has_bits & 0x10000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ping_histogram_100(), target); + } + + // optional uint32 ping_histogram_125 = 45; + if (cached_has_bits & 0x20000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ping_histogram_125(), target); + } + + // optional uint32 ping_histogram_150 = 46; + if (cached_has_bits & 0x40000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ping_histogram_150(), target); + } + + // optional uint32 ping_histogram_200 = 47; + if (cached_has_bits & 0x80000000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ping_histogram_200(), target); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional uint32 ping_histogram_300 = 48; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(48, this->_internal_ping_histogram_300(), target); + } + + // optional uint32 ping_histogram_max = 49; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(49, this->_internal_ping_histogram_max(), target); + } + + // optional uint32 ping_ntile_5th = 50; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_ping_ntile_5th(), target); + } + + // optional uint32 ping_ntile_50th = 51; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_ping_ntile_50th(), target); + } + + // optional uint32 ping_ntile_75th = 52; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_ping_ntile_75th(), target); + } + + // optional uint32 ping_ntile_95th = 53; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_ping_ntile_95th(), target); + } + + // optional uint32 ping_ntile_98th = 54; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_ping_ntile_98th(), target); + } + + // optional uint32 jitter_histogram_negligible = 61; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(61, this->_internal_jitter_histogram_negligible(), target); + } + + // optional uint32 jitter_histogram_1 = 62; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(62, this->_internal_jitter_histogram_1(), target); + } + + // optional uint32 jitter_histogram_2 = 63; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(63, this->_internal_jitter_histogram_2(), target); + } + + // optional uint32 jitter_histogram_5 = 64; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(64, this->_internal_jitter_histogram_5(), target); + } + + // optional uint32 jitter_histogram_10 = 65; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(65, this->_internal_jitter_histogram_10(), target); + } + + // optional uint32 jitter_histogram_20 = 66; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(66, this->_internal_jitter_histogram_20(), 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:CMsgSteamDatagramLinkLifetimeStats) + return target; +} + +size_t CMsgSteamDatagramLinkLifetimeStats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramLinkLifetimeStats) + 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 uint64 multipath_packets_recv_sequenced = 12; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.multipath_packets_recv_sequenced_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_multipath_packets_recv_sequenced_size()); + total_size += data_size; + } + + // repeated uint64 multipath_packets_recv_later = 13; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt64Size(this->_impl_.multipath_packets_recv_later_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_multipath_packets_recv_later_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint64 packets_sent = 3; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_sent()); + } + + // optional uint64 kb_sent = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_kb_sent()); + } + + // optional uint64 packets_recv = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv()); + } + + // optional uint64 kb_recv = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_kb_recv()); + } + + // optional uint64 packets_recv_sequenced = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_sequenced()); + } + + // optional uint64 packets_recv_dropped = 8; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_dropped()); + } + + // optional uint32 connected_seconds = 2; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connected_seconds()); + } + + // optional uint32 multipath_send_enabled = 14; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_multipath_send_enabled()); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional uint64 packets_recv_out_of_order = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_out_of_order()); + } + + // optional uint64 packets_recv_duplicate = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_duplicate()); + } + + // optional uint64 packets_recv_lurch = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_lurch()); + } + + // optional uint64 packets_recv_out_of_order_corrected = 15; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_out_of_order_corrected()); + } + + // optional uint32 quality_histogram_100 = 21; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_100()); + } + + // optional uint32 quality_histogram_99 = 22; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_99()); + } + + // optional uint32 quality_histogram_97 = 23; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_97()); + } + + // optional uint32 quality_histogram_95 = 24; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_95()); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional uint32 quality_histogram_90 = 25; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_90()); + } + + // optional uint32 quality_histogram_75 = 26; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_75()); + } + + // optional uint32 quality_histogram_50 = 27; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_50()); + } + + // optional uint32 quality_histogram_1 = 28; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_1()); + } + + // optional uint32 quality_histogram_dead = 29; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_histogram_dead()); + } + + // optional uint32 quality_ntile_2nd = 30; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_ntile_2nd()); + } + + // optional uint32 quality_ntile_5th = 31; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_ntile_5th()); + } + + // optional uint32 quality_ntile_25th = 32; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_ntile_25th()); + } + + } + if (cached_has_bits & 0xff000000u) { + // optional uint32 quality_ntile_50th = 33; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_quality_ntile_50th()); + } + + // optional uint32 ping_histogram_25 = 41; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_25()); + } + + // optional uint32 ping_histogram_50 = 42; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_50()); + } + + // optional uint32 ping_histogram_75 = 43; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_75()); + } + + // optional uint32 ping_histogram_100 = 44; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_100()); + } + + // optional uint32 ping_histogram_125 = 45; + if (cached_has_bits & 0x20000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_125()); + } + + // optional uint32 ping_histogram_150 = 46; + if (cached_has_bits & 0x40000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_150()); + } + + // optional uint32 ping_histogram_200 = 47; + if (cached_has_bits & 0x80000000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_200()); + } + + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 ping_histogram_300 = 48; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_300()); + } + + // optional uint32 ping_histogram_max = 49; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_histogram_max()); + } + + // optional uint32 ping_ntile_5th = 50; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_ntile_5th()); + } + + // optional uint32 ping_ntile_50th = 51; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_ntile_50th()); + } + + // optional uint32 ping_ntile_75th = 52; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_ntile_75th()); + } + + // optional uint32 ping_ntile_95th = 53; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_ntile_95th()); + } + + // optional uint32 ping_ntile_98th = 54; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_ping_ntile_98th()); + } + + // optional uint32 jitter_histogram_negligible = 61; + if (cached_has_bits & 0x00000080u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_negligible()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint32 jitter_histogram_1 = 62; + if (cached_has_bits & 0x00000100u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_1()); + } + + // optional uint32 jitter_histogram_2 = 63; + if (cached_has_bits & 0x00000200u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_2()); + } + + // optional uint32 jitter_histogram_5 = 64; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_5()); + } + + // optional uint32 jitter_histogram_10 = 65; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_10()); + } + + // optional uint32 jitter_histogram_20 = 66; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_jitter_histogram_20()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramLinkLifetimeStats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramLinkLifetimeStats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramLinkLifetimeStats::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramLinkLifetimeStats::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:CMsgSteamDatagramLinkLifetimeStats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.multipath_packets_recv_sequenced_.MergeFrom(from._impl_.multipath_packets_recv_sequenced_); + _this->_impl_.multipath_packets_recv_later_.MergeFrom(from._impl_.multipath_packets_recv_later_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.packets_sent_ = from._impl_.packets_sent_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.kb_sent_ = from._impl_.kb_sent_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.packets_recv_ = from._impl_.packets_recv_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.kb_recv_ = from._impl_.kb_recv_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.packets_recv_sequenced_ = from._impl_.packets_recv_sequenced_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.packets_recv_dropped_ = from._impl_.packets_recv_dropped_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.connected_seconds_ = from._impl_.connected_seconds_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.multipath_send_enabled_ = from._impl_.multipath_send_enabled_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.packets_recv_out_of_order_ = from._impl_.packets_recv_out_of_order_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.packets_recv_duplicate_ = from._impl_.packets_recv_duplicate_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.packets_recv_lurch_ = from._impl_.packets_recv_lurch_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.packets_recv_out_of_order_corrected_ = from._impl_.packets_recv_out_of_order_corrected_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.quality_histogram_100_ = from._impl_.quality_histogram_100_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.quality_histogram_99_ = from._impl_.quality_histogram_99_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.quality_histogram_97_ = from._impl_.quality_histogram_97_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.quality_histogram_95_ = from._impl_.quality_histogram_95_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.quality_histogram_90_ = from._impl_.quality_histogram_90_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.quality_histogram_75_ = from._impl_.quality_histogram_75_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.quality_histogram_50_ = from._impl_.quality_histogram_50_; + } + if (cached_has_bits & 0x00080000u) { + _this->_impl_.quality_histogram_1_ = from._impl_.quality_histogram_1_; + } + if (cached_has_bits & 0x00100000u) { + _this->_impl_.quality_histogram_dead_ = from._impl_.quality_histogram_dead_; + } + if (cached_has_bits & 0x00200000u) { + _this->_impl_.quality_ntile_2nd_ = from._impl_.quality_ntile_2nd_; + } + if (cached_has_bits & 0x00400000u) { + _this->_impl_.quality_ntile_5th_ = from._impl_.quality_ntile_5th_; + } + if (cached_has_bits & 0x00800000u) { + _this->_impl_.quality_ntile_25th_ = from._impl_.quality_ntile_25th_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_impl_.quality_ntile_50th_ = from._impl_.quality_ntile_50th_; + } + if (cached_has_bits & 0x02000000u) { + _this->_impl_.ping_histogram_25_ = from._impl_.ping_histogram_25_; + } + if (cached_has_bits & 0x04000000u) { + _this->_impl_.ping_histogram_50_ = from._impl_.ping_histogram_50_; + } + if (cached_has_bits & 0x08000000u) { + _this->_impl_.ping_histogram_75_ = from._impl_.ping_histogram_75_; + } + if (cached_has_bits & 0x10000000u) { + _this->_impl_.ping_histogram_100_ = from._impl_.ping_histogram_100_; + } + if (cached_has_bits & 0x20000000u) { + _this->_impl_.ping_histogram_125_ = from._impl_.ping_histogram_125_; + } + if (cached_has_bits & 0x40000000u) { + _this->_impl_.ping_histogram_150_ = from._impl_.ping_histogram_150_; + } + if (cached_has_bits & 0x80000000u) { + _this->_impl_.ping_histogram_200_ = from._impl_.ping_histogram_200_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + cached_has_bits = from._impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.ping_histogram_300_ = from._impl_.ping_histogram_300_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ping_histogram_max_ = from._impl_.ping_histogram_max_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ping_ntile_5th_ = from._impl_.ping_ntile_5th_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ping_ntile_50th_ = from._impl_.ping_ntile_50th_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ping_ntile_75th_ = from._impl_.ping_ntile_75th_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.ping_ntile_95th_ = from._impl_.ping_ntile_95th_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.ping_ntile_98th_ = from._impl_.ping_ntile_98th_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.jitter_histogram_negligible_ = from._impl_.jitter_histogram_negligible_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.jitter_histogram_1_ = from._impl_.jitter_histogram_1_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.jitter_histogram_2_ = from._impl_.jitter_histogram_2_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.jitter_histogram_5_ = from._impl_.jitter_histogram_5_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.jitter_histogram_10_ = from._impl_.jitter_histogram_10_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.jitter_histogram_20_ = from._impl_.jitter_histogram_20_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramLinkLifetimeStats::CopyFrom(const CMsgSteamDatagramLinkLifetimeStats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramLinkLifetimeStats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramLinkLifetimeStats::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramLinkLifetimeStats::InternalSwap(CMsgSteamDatagramLinkLifetimeStats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); + _impl_.multipath_packets_recv_sequenced_.InternalSwap(&other->_impl_.multipath_packets_recv_sequenced_); + _impl_.multipath_packets_recv_later_.InternalSwap(&other->_impl_.multipath_packets_recv_later_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_20_) + + sizeof(CMsgSteamDatagramLinkLifetimeStats::_impl_.jitter_histogram_20_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_sent_)>( + reinterpret_cast(&_impl_.packets_sent_), + reinterpret_cast(&other->_impl_.packets_sent_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramLinkLifetimeStats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[4]); +} + +// =================================================================== + +class CMsgSteamDatagramConnectionQuality::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramLinkInstantaneousStats& instantaneous(const CMsgSteamDatagramConnectionQuality* msg); + static void set_has_instantaneous(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramLinkLifetimeStats& lifetime(const CMsgSteamDatagramConnectionQuality* msg); + static void set_has_lifetime(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramLinkInstantaneousStats& +CMsgSteamDatagramConnectionQuality::_Internal::instantaneous(const CMsgSteamDatagramConnectionQuality* msg) { + return *msg->_impl_.instantaneous_; +} +const ::CMsgSteamDatagramLinkLifetimeStats& +CMsgSteamDatagramConnectionQuality::_Internal::lifetime(const CMsgSteamDatagramConnectionQuality* msg) { + return *msg->_impl_.lifetime_; +} +CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality(::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:CMsgSteamDatagramConnectionQuality) +} +CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality(const CMsgSteamDatagramConnectionQuality& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramConnectionQuality* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.instantaneous_){nullptr} + , decltype(_impl_.lifetime_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_instantaneous()) { + _this->_impl_.instantaneous_ = new ::CMsgSteamDatagramLinkInstantaneousStats(*from._impl_.instantaneous_); + } + if (from._internal_has_lifetime()) { + _this->_impl_.lifetime_ = new ::CMsgSteamDatagramLinkLifetimeStats(*from._impl_.lifetime_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionQuality) +} + +inline void CMsgSteamDatagramConnectionQuality::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.instantaneous_){nullptr} + , decltype(_impl_.lifetime_){nullptr} + }; +} + +CMsgSteamDatagramConnectionQuality::~CMsgSteamDatagramConnectionQuality() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionQuality) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramConnectionQuality::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.instantaneous_; + if (this != internal_default_instance()) delete _impl_.lifetime_; +} + +void CMsgSteamDatagramConnectionQuality::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramConnectionQuality::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionQuality) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.instantaneous_ != nullptr); + _impl_.instantaneous_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.lifetime_ != nullptr); + _impl_.lifetime_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramConnectionQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_instantaneous(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lifetime(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramConnectionQuality::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionQuality) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::instantaneous(this), + _Internal::instantaneous(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lifetime(this), + _Internal::lifetime(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:CMsgSteamDatagramConnectionQuality) + return target; +} + +size_t CMsgSteamDatagramConnectionQuality::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionQuality) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.instantaneous_); + } + + // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lifetime_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionQuality::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramConnectionQuality::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionQuality::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramConnectionQuality::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:CMsgSteamDatagramConnectionQuality) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_instantaneous()->::CMsgSteamDatagramLinkInstantaneousStats::MergeFrom( + from._internal_instantaneous()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_lifetime()->::CMsgSteamDatagramLinkLifetimeStats::MergeFrom( + from._internal_lifetime()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramConnectionQuality::CopyFrom(const CMsgSteamDatagramConnectionQuality& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionQuality) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramConnectionQuality::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramConnectionQuality::InternalSwap(CMsgSteamDatagramConnectionQuality* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionQuality, _impl_.lifetime_) + + sizeof(CMsgSteamDatagramConnectionQuality::_impl_.lifetime_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionQuality, _impl_.instantaneous_)>( + reinterpret_cast(&_impl_.instantaneous_), + reinterpret_cast(&other->_impl_.instantaneous_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionQuality::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[5]); +} + +// =================================================================== + +class CMsgICECandidate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_candidate(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgICECandidate::CMsgICECandidate(::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:CMsgICECandidate) +} +CMsgICECandidate::CMsgICECandidate(const CMsgICECandidate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgICECandidate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.candidate_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.candidate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.candidate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_candidate()) { + _this->_impl_.candidate_.Set(from._internal_candidate(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgICECandidate) +} + +inline void CMsgICECandidate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.candidate_){} + }; + _impl_.candidate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.candidate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgICECandidate::~CMsgICECandidate() { + // @@protoc_insertion_point(destructor:CMsgICECandidate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgICECandidate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.candidate_.Destroy(); +} + +void CMsgICECandidate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgICECandidate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgICECandidate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.candidate_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgICECandidate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string candidate = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_candidate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgICECandidate.candidate"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgICECandidate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgICECandidate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string candidate = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_candidate().data(), static_cast(this->_internal_candidate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgICECandidate.candidate"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_candidate(), 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:CMsgICECandidate) + return target; +} + +size_t CMsgICECandidate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgICECandidate) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string candidate = 3; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_candidate()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICECandidate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgICECandidate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICECandidate::GetClassData() const { return &_class_data_; } + + +void CMsgICECandidate::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:CMsgICECandidate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_candidate()) { + _this->_internal_set_candidate(from._internal_candidate()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgICECandidate::CopyFrom(const CMsgICECandidate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICECandidate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgICECandidate::IsInitialized() const { + return true; +} + +void CMsgICECandidate::InternalSwap(CMsgICECandidate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.candidate_, lhs_arena, + &other->_impl_.candidate_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgICECandidate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[6]); +} + +// =================================================================== + +class CMsgICERendezvous_Auth::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_pwd_frag(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgICERendezvous_Auth::CMsgICERendezvous_Auth(::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:CMsgICERendezvous.Auth) +} +CMsgICERendezvous_Auth::CMsgICERendezvous_Auth(const CMsgICERendezvous_Auth& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgICERendezvous_Auth* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pwd_frag_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.pwd_frag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.pwd_frag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_pwd_frag()) { + _this->_impl_.pwd_frag_.Set(from._internal_pwd_frag(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CMsgICERendezvous.Auth) +} + +inline void CMsgICERendezvous_Auth::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pwd_frag_){} + }; + _impl_.pwd_frag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.pwd_frag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgICERendezvous_Auth::~CMsgICERendezvous_Auth() { + // @@protoc_insertion_point(destructor:CMsgICERendezvous.Auth) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgICERendezvous_Auth::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.pwd_frag_.Destroy(); +} + +void CMsgICERendezvous_Auth::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgICERendezvous_Auth::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgICERendezvous.Auth) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.pwd_frag_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgICERendezvous_Auth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string pwd_frag = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_pwd_frag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgICERendezvous.Auth.pwd_frag"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgICERendezvous_Auth::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgICERendezvous.Auth) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string pwd_frag = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_pwd_frag().data(), static_cast(this->_internal_pwd_frag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgICERendezvous.Auth.pwd_frag"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_pwd_frag(), 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:CMsgICERendezvous.Auth) + return target; +} + +size_t CMsgICERendezvous_Auth::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgICERendezvous.Auth) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string pwd_frag = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_pwd_frag()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICERendezvous_Auth::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgICERendezvous_Auth::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICERendezvous_Auth::GetClassData() const { return &_class_data_; } + + +void CMsgICERendezvous_Auth::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:CMsgICERendezvous.Auth) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_pwd_frag()) { + _this->_internal_set_pwd_frag(from._internal_pwd_frag()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgICERendezvous_Auth::CopyFrom(const CMsgICERendezvous_Auth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICERendezvous.Auth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgICERendezvous_Auth::IsInitialized() const { + return true; +} + +void CMsgICERendezvous_Auth::InternalSwap(CMsgICERendezvous_Auth* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.pwd_frag_, lhs_arena, + &other->_impl_.pwd_frag_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgICERendezvous_Auth::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[7]); +} + +// =================================================================== + +class CMsgICERendezvous::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgICERendezvous_Auth& auth(const CMsgICERendezvous* msg); + static void set_has_auth(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgICECandidate& add_candidate(const CMsgICERendezvous* msg); + static void set_has_add_candidate(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgICERendezvous_Auth& +CMsgICERendezvous::_Internal::auth(const CMsgICERendezvous* msg) { + return *msg->_impl_.auth_; +} +const ::CMsgICECandidate& +CMsgICERendezvous::_Internal::add_candidate(const CMsgICERendezvous* msg) { + return *msg->_impl_.add_candidate_; +} +CMsgICERendezvous::CMsgICERendezvous(::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:CMsgICERendezvous) +} +CMsgICERendezvous::CMsgICERendezvous(const CMsgICERendezvous& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgICERendezvous* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.add_candidate_){nullptr} + , decltype(_impl_.auth_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_add_candidate()) { + _this->_impl_.add_candidate_ = new ::CMsgICECandidate(*from._impl_.add_candidate_); + } + if (from._internal_has_auth()) { + _this->_impl_.auth_ = new ::CMsgICERendezvous_Auth(*from._impl_.auth_); + } + // @@protoc_insertion_point(copy_constructor:CMsgICERendezvous) +} + +inline void CMsgICERendezvous::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.add_candidate_){nullptr} + , decltype(_impl_.auth_){nullptr} + }; +} + +CMsgICERendezvous::~CMsgICERendezvous() { + // @@protoc_insertion_point(destructor:CMsgICERendezvous) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgICERendezvous::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.add_candidate_; + if (this != internal_default_instance()) delete _impl_.auth_; +} + +void CMsgICERendezvous::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgICERendezvous::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgICERendezvous) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.add_candidate_ != nullptr); + _impl_.add_candidate_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.auth_ != nullptr); + _impl_.auth_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgICERendezvous::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgICECandidate add_candidate = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_add_candidate(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgICERendezvous.Auth auth = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_auth(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgICERendezvous::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgICERendezvous) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgICECandidate add_candidate = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::add_candidate(this), + _Internal::add_candidate(this).GetCachedSize(), target, stream); + } + + // optional .CMsgICERendezvous.Auth auth = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::auth(this), + _Internal::auth(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:CMsgICERendezvous) + return target; +} + +size_t CMsgICERendezvous::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgICERendezvous) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgICECandidate add_candidate = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.add_candidate_); + } + + // optional .CMsgICERendezvous.Auth auth = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.auth_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICERendezvous::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgICERendezvous::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICERendezvous::GetClassData() const { return &_class_data_; } + + +void CMsgICERendezvous::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:CMsgICERendezvous) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_add_candidate()->::CMsgICECandidate::MergeFrom( + from._internal_add_candidate()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_auth()->::CMsgICERendezvous_Auth::MergeFrom( + from._internal_auth()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgICERendezvous::CopyFrom(const CMsgICERendezvous& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICERendezvous) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgICERendezvous::IsInitialized() const { + return true; +} + +void CMsgICERendezvous::InternalSwap(CMsgICERendezvous* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgICERendezvous, _impl_.auth_) + + sizeof(CMsgICERendezvous::_impl_.auth_) + - PROTOBUF_FIELD_OFFSET(CMsgICERendezvous, _impl_.add_candidate_)>( + reinterpret_cast(&_impl_.add_candidate_), + reinterpret_cast(&other->_impl_.add_candidate_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgICERendezvous::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[8]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_to_virtual_port(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_from_virtual_port(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_from_fakeip(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal::crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal::cert(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::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:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) +} +CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous_ConnectRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_fakeip_){} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.to_virtual_port_){} + , decltype(_impl_.from_virtual_port_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.from_fakeip_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_fakeip_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_from_fakeip()) { + _this->_impl_.from_fakeip_.Set(from._internal_from_fakeip(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + ::memcpy(&_impl_.to_virtual_port_, &from._impl_.to_virtual_port_, + static_cast(reinterpret_cast(&_impl_.from_virtual_port_) - + reinterpret_cast(&_impl_.to_virtual_port_)) + sizeof(_impl_.from_virtual_port_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_fakeip_){} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.to_virtual_port_){0u} + , decltype(_impl_.from_virtual_port_){0u} + }; + _impl_.from_fakeip_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_fakeip_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingP2PRendezvous_ConnectRequest::~CMsgSteamNetworkingP2PRendezvous_ConnectRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.from_fakeip_.Destroy(); + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.from_fakeip_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + if (cached_has_bits & 0x00000018u) { + ::memset(&_impl_.to_virtual_port_, 0, static_cast( + reinterpret_cast(&_impl_.from_virtual_port_) - + reinterpret_cast(&_impl_.to_virtual_port_)) + sizeof(_impl_.from_virtual_port_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 to_virtual_port = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_to_virtual_port(&has_bits); + _impl_.to_virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 from_virtual_port = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_from_virtual_port(&has_bits); + _impl_.from_virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string from_fakeip = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_from_fakeip(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional uint32 to_virtual_port = 9; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_to_virtual_port(), target); + } + + // optional uint32 from_virtual_port = 10; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_from_virtual_port(), target); + } + + // optional string from_fakeip = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_from_fakeip().data(), static_cast(this->_internal_from_fakeip().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_from_fakeip(), 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:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string from_fakeip = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_from_fakeip()); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional uint32 to_virtual_port = 9; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_to_virtual_port()); + } + + // optional uint32 from_virtual_port = 10; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_virtual_port()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::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:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_from_fakeip(from._internal_from_fakeip()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.to_virtual_port_ = from._impl_.to_virtual_port_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.from_virtual_port_ = from._impl_.from_virtual_port_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.from_fakeip_, lhs_arena, + &other->_impl_.from_fakeip_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_virtual_port_) + + sizeof(CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_impl_.from_virtual_port_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.crypt_)>( + reinterpret_cast(&_impl_.crypt_), + reinterpret_cast(&other->_impl_.crypt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[9]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal::crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal::cert(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg) { + return *msg->_impl_.cert_; +} +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK(::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:CMsgSteamNetworkingP2PRendezvous.ConnectOK) +} +CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous_ConnectOK* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectOK) +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + }; +} + +CMsgSteamNetworkingP2PRendezvous_ConnectOK::~CMsgSteamNetworkingP2PRendezvous_ConnectOK() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::cert(this), + _Internal::cert(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:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous_ConnectOK::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectOK::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectOK::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::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:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectOK::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.cert_) + + sizeof(CMsgSteamNetworkingP2PRendezvous_ConnectOK::_impl_.cert_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.crypt_)>( + reinterpret_cast(&_impl_.crypt_), + reinterpret_cast(&other->_impl_.crypt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectOK::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[10]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_debug(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reason_code(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::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:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) +} +CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.reason_code_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_debug()) { + _this->_impl_.debug_.Set(from._internal_debug(), + _this->GetArenaForAllocation()); + } + _this->_impl_.reason_code_ = from._impl_.reason_code_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.reason_code_){0u} + }; + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::~CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.debug_.Destroy(); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.debug_.ClearNonDefaultToEmpty(); + } + _impl_.reason_code_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string debug = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_debug(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 reason_code = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_reason_code(&has_bits); + _impl_.reason_code_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string debug = 5; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_debug().data(), static_cast(this->_internal_debug().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_debug(), target); + } + + // optional uint32 reason_code = 6; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_reason_code(), 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:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string debug = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_debug()); + } + + // optional uint32 reason_code = 6; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::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:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_debug(from._internal_debug()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_code_ = from._impl_.reason_code_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.debug_, lhs_arena, + &other->_impl_.debug_, rhs_arena + ); + swap(_impl_.reason_code_, other->_impl_.reason_code_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[11]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgICERendezvous& ice(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* msg); + static void set_has_ice(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgICERendezvous& +CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_Internal::ice(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* msg) { + return *msg->_impl_.ice_; +} +CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::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:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) +} +CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous_ReliableMessage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ice_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_ice()) { + _this->_impl_.ice_ = new ::CMsgICERendezvous(*from._impl_.ice_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) +} + +inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ice_){nullptr} + }; +} + +CMsgSteamNetworkingP2PRendezvous_ReliableMessage::~CMsgSteamNetworkingP2PRendezvous_ReliableMessage() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.ice_; +} + +void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.ice_ != nullptr); + _impl_.ice_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgICERendezvous ice = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_ice(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgICERendezvous ice = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::ice(this), + _Internal::ice(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:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous_ReliableMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgICERendezvous ice = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ice_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous_ReliableMessage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ReliableMessage::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::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:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ice()) { + _this->_internal_mutable_ice()->::CMsgICERendezvous::MergeFrom( + from._internal_ice()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.ice_, other->_impl_.ice_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ReliableMessage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[12]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_msg_num(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_lane_idx(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::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:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) +} +CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.msg_num_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.lane_idx_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.msg_num_, &from._impl_.msg_num_, + static_cast(reinterpret_cast(&_impl_.lane_idx_) - + reinterpret_cast(&_impl_.msg_num_)) + sizeof(_impl_.lane_idx_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) +} + +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.msg_num_){uint64_t{0u}} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.lane_idx_){0u} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::~CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.msg_num_, 0, static_cast( + reinterpret_cast(&_impl_.lane_idx_) - + reinterpret_cast(&_impl_.msg_num_)) + sizeof(_impl_.lane_idx_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 msg_num = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_msg_num(&has_bits); + _impl_.msg_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 lane_idx = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_lane_idx(&has_bits); + _impl_.lane_idx_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), target); + } + + // optional uint64 msg_num = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_msg_num(), target); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); + } + + // optional uint32 lane_idx = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_lane_idx(), 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:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes data = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional uint64 msg_num = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_msg_num()); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 lane_idx = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lane_idx()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::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:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.msg_num_ = from._impl_.msg_num_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.lane_idx_ = from._impl_.lane_idx_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.lane_idx_) + + sizeof(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_impl_.lane_idx_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.msg_num_)>( + reinterpret_cast(&_impl_.msg_num_), + reinterpret_cast(&other->_impl_.msg_num_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[13]); +} + +// =================================================================== + +class CMsgSteamNetworkingP2PRendezvous::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_from_identity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_to_identity(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_to_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_sdr_routes(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ack_peer_routes_revision(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_ice_enabled(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_hosted_server_ticket(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& connect_request(const CMsgSteamNetworkingP2PRendezvous* msg); + static void set_has_connect_request(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& connect_ok(const CMsgSteamNetworkingP2PRendezvous* msg); + static void set_has_connect_ok(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& connection_closed(const CMsgSteamNetworkingP2PRendezvous* msg); + static void set_has_connection_closed(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_ack_reliable_msg(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_first_reliable_msg(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& +CMsgSteamNetworkingP2PRendezvous::_Internal::connect_request(const CMsgSteamNetworkingP2PRendezvous* msg) { + return *msg->_impl_.connect_request_; +} +const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& +CMsgSteamNetworkingP2PRendezvous::_Internal::connect_ok(const CMsgSteamNetworkingP2PRendezvous* msg) { + return *msg->_impl_.connect_ok_; +} +const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& +CMsgSteamNetworkingP2PRendezvous::_Internal::connection_closed(const CMsgSteamNetworkingP2PRendezvous* msg) { + return *msg->_impl_.connection_closed_; +} +CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous(::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:CMsgSteamNetworkingP2PRendezvous) +} +CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous(const CMsgSteamNetworkingP2PRendezvous& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingP2PRendezvous* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reliable_messages_){from._impl_.reliable_messages_} + , decltype(_impl_.application_messages_){from._impl_.application_messages_} + , decltype(_impl_.sdr_routes_){} + , decltype(_impl_.from_identity_){} + , decltype(_impl_.to_identity_){} + , decltype(_impl_.hosted_server_ticket_){} + , decltype(_impl_.connect_request_){nullptr} + , decltype(_impl_.connect_ok_){nullptr} + , decltype(_impl_.connection_closed_){nullptr} + , decltype(_impl_.to_connection_id_){} + , decltype(_impl_.ack_peer_routes_revision_){} + , decltype(_impl_.ice_enabled_){} + , decltype(_impl_.from_connection_id_){} + , decltype(_impl_.ack_reliable_msg_){} + , decltype(_impl_.first_reliable_msg_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sdr_routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdr_routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sdr_routes()) { + _this->_impl_.sdr_routes_.Set(from._internal_sdr_routes(), + _this->GetArenaForAllocation()); + } + _impl_.from_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_from_identity()) { + _this->_impl_.from_identity_.Set(from._internal_from_identity(), + _this->GetArenaForAllocation()); + } + _impl_.to_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.to_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_to_identity()) { + _this->_impl_.to_identity_.Set(from._internal_to_identity(), + _this->GetArenaForAllocation()); + } + _impl_.hosted_server_ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_hosted_server_ticket()) { + _this->_impl_.hosted_server_ticket_.Set(from._internal_hosted_server_ticket(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_connect_request()) { + _this->_impl_.connect_request_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(*from._impl_.connect_request_); + } + if (from._internal_has_connect_ok()) { + _this->_impl_.connect_ok_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectOK(*from._impl_.connect_ok_); + } + if (from._internal_has_connection_closed()) { + _this->_impl_.connection_closed_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(*from._impl_.connection_closed_); + } + ::memcpy(&_impl_.to_connection_id_, &from._impl_.to_connection_id_, + static_cast(reinterpret_cast(&_impl_.first_reliable_msg_) - + reinterpret_cast(&_impl_.to_connection_id_)) + sizeof(_impl_.first_reliable_msg_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous) +} + +inline void CMsgSteamNetworkingP2PRendezvous::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.reliable_messages_){arena} + , decltype(_impl_.application_messages_){arena} + , decltype(_impl_.sdr_routes_){} + , decltype(_impl_.from_identity_){} + , decltype(_impl_.to_identity_){} + , decltype(_impl_.hosted_server_ticket_){} + , decltype(_impl_.connect_request_){nullptr} + , decltype(_impl_.connect_ok_){nullptr} + , decltype(_impl_.connection_closed_){nullptr} + , decltype(_impl_.to_connection_id_){0u} + , decltype(_impl_.ack_peer_routes_revision_){0u} + , decltype(_impl_.ice_enabled_){false} + , decltype(_impl_.from_connection_id_){0u} + , decltype(_impl_.ack_reliable_msg_){0u} + , decltype(_impl_.first_reliable_msg_){0u} + }; + _impl_.sdr_routes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sdr_routes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.from_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.to_identity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.to_identity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hosted_server_ticket_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingP2PRendezvous::~CMsgSteamNetworkingP2PRendezvous() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingP2PRendezvous::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.reliable_messages_.~RepeatedPtrField(); + _impl_.application_messages_.~RepeatedPtrField(); + _impl_.sdr_routes_.Destroy(); + _impl_.from_identity_.Destroy(); + _impl_.to_identity_.Destroy(); + _impl_.hosted_server_ticket_.Destroy(); + if (this != internal_default_instance()) delete _impl_.connect_request_; + if (this != internal_default_instance()) delete _impl_.connect_ok_; + if (this != internal_default_instance()) delete _impl_.connection_closed_; +} + +void CMsgSteamNetworkingP2PRendezvous::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingP2PRendezvous::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.reliable_messages_.Clear(); + _impl_.application_messages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.sdr_routes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.from_identity_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.to_identity_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.hosted_server_ticket_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.connect_request_ != nullptr); + _impl_.connect_request_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.connect_ok_ != nullptr); + _impl_.connect_ok_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.connection_closed_ != nullptr); + _impl_.connection_closed_->Clear(); + } + } + _impl_.to_connection_id_ = 0u; + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.ack_peer_routes_revision_, 0, static_cast( + reinterpret_cast(&_impl_.first_reliable_msg_) - + reinterpret_cast(&_impl_.ack_peer_routes_revision_)) + sizeof(_impl_.first_reliable_msg_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingP2PRendezvous::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 to_connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_to_connection_id(&has_bits); + _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional bytes sdr_routes = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_sdr_routes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ack_peer_routes_revision = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_ack_peer_routes_revision(&has_bits); + _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_connect_request(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_connect_ok(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_connection_closed(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ice_enabled = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_ice_enabled(&has_bits); + _impl_.ice_enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string from_identity = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_from_identity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.from_identity"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional fixed32 from_connection_id = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional string to_identity = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_to_identity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.to_identity"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 ack_reliable_msg = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_ack_reliable_msg(&has_bits); + _impl_.ack_reliable_msg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 first_reliable_msg = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_first_reliable_msg(&has_bits); + _impl_.first_reliable_msg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_reliable_messages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); + } else + goto handle_unusual; + continue; + // optional bytes hosted_server_ticket = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_hosted_server_ticket(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_application_messages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingP2PRendezvous::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 to_connection_id = 1; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_to_connection_id(), target); + } + + // optional bytes sdr_routes = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_sdr_routes(), target); + } + + // optional uint32 ack_peer_routes_revision = 3; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ack_peer_routes_revision(), target); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::connect_request(this), + _Internal::connect_request(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::connect_ok(this), + _Internal::connect_ok(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::connection_closed(this), + _Internal::connection_closed(this).GetCachedSize(), target, stream); + } + + // optional bool ice_enabled = 7; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_ice_enabled(), target); + } + + // optional string from_identity = 8; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_from_identity().data(), static_cast(this->_internal_from_identity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamNetworkingP2PRendezvous.from_identity"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_from_identity(), target); + } + + // optional fixed32 from_connection_id = 9; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_from_connection_id(), target); + } + + // optional string to_identity = 10; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_to_identity().data(), static_cast(this->_internal_to_identity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamNetworkingP2PRendezvous.to_identity"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_to_identity(), target); + } + + // optional uint32 ack_reliable_msg = 11; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_ack_reliable_msg(), target); + } + + // optional uint32 first_reliable_msg = 12; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_first_reliable_msg(), target); + } + + // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; + for (unsigned i = 0, + n = static_cast(this->_internal_reliable_messages_size()); i < n; i++) { + const auto& repfield = this->_internal_reliable_messages(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bytes hosted_server_ticket = 14; + if (cached_has_bits & 0x00000008u) { + target = stream->WriteBytesMaybeAliased( + 14, this->_internal_hosted_server_ticket(), target); + } + + // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; + for (unsigned i = 0, + n = static_cast(this->_internal_application_messages_size()); i < n; i++) { + const auto& repfield = this->_internal_application_messages(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, 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:CMsgSteamNetworkingP2PRendezvous) + return target; +} + +size_t CMsgSteamNetworkingP2PRendezvous::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous) + 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 .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; + total_size += 1UL * this->_internal_reliable_messages_size(); + for (const auto& msg : this->_impl_.reliable_messages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; + total_size += 1UL * this->_internal_application_messages_size(); + for (const auto& msg : this->_impl_.application_messages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes sdr_routes = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_sdr_routes()); + } + + // optional string from_identity = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_from_identity()); + } + + // optional string to_identity = 10; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_to_identity()); + } + + // optional bytes hosted_server_ticket = 14; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_hosted_server_ticket()); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.connect_request_); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.connect_ok_); + } + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.connection_closed_); + } + + // optional fixed32 to_connection_id = 1; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional uint32 ack_peer_routes_revision = 3; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); + } + + // optional bool ice_enabled = 7; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional fixed32 from_connection_id = 9; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional uint32 ack_reliable_msg = 11; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_reliable_msg()); + } + + // optional uint32 first_reliable_msg = 12; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_first_reliable_msg()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingP2PRendezvous::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingP2PRendezvous::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:CMsgSteamNetworkingP2PRendezvous) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.reliable_messages_.MergeFrom(from._impl_.reliable_messages_); + _this->_impl_.application_messages_.MergeFrom(from._impl_.application_messages_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sdr_routes(from._internal_sdr_routes()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_from_identity(from._internal_from_identity()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_to_identity(from._internal_to_identity()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_hosted_server_ticket(from._internal_hosted_server_ticket()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_connect_request()->::CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeFrom( + from._internal_connect_request()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_connect_ok()->::CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeFrom( + from._internal_connect_ok()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_connection_closed()->::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeFrom( + from._internal_connection_closed()); + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.ice_enabled_ = from._impl_.ice_enabled_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.ack_reliable_msg_ = from._impl_.ack_reliable_msg_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.first_reliable_msg_ = from._impl_.first_reliable_msg_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingP2PRendezvous::CopyFrom(const CMsgSteamNetworkingP2PRendezvous& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingP2PRendezvous::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingP2PRendezvous::InternalSwap(CMsgSteamNetworkingP2PRendezvous* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.reliable_messages_.InternalSwap(&other->_impl_.reliable_messages_); + _impl_.application_messages_.InternalSwap(&other->_impl_.application_messages_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sdr_routes_, lhs_arena, + &other->_impl_.sdr_routes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.from_identity_, lhs_arena, + &other->_impl_.from_identity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.to_identity_, lhs_arena, + &other->_impl_.to_identity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.hosted_server_ticket_, lhs_arena, + &other->_impl_.hosted_server_ticket_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous, _impl_.first_reliable_msg_) + + sizeof(CMsgSteamNetworkingP2PRendezvous::_impl_.first_reliable_msg_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous, _impl_.connect_request_)>( + reinterpret_cast(&_impl_.connect_request_), + reinterpret_cast(&other->_impl_.connect_request_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[14]); +} + +// =================================================================== + +class CMsgSteamNetworkingICESessionSummary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_failure_reason_code(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_local_candidate_types(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_remote_candidate_types(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_initial_route_kind(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_initial_ping(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_initial_score(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_negotiation_ms(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_best_route_kind(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_best_ping(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_best_score(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_best_time(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_selected_seconds(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_user_settings(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_ice_enable_var(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_local_candidate_types_allowed(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary(::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:CMsgSteamNetworkingICESessionSummary) +} +CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary(const CMsgSteamNetworkingICESessionSummary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingICESessionSummary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.local_candidate_types_){} + , decltype(_impl_.remote_candidate_types_){} + , decltype(_impl_.initial_route_kind_){} + , decltype(_impl_.initial_ping_){} + , decltype(_impl_.negotiation_ms_){} + , decltype(_impl_.initial_score_){} + , decltype(_impl_.failure_reason_code_){} + , decltype(_impl_.selected_seconds_){} + , decltype(_impl_.user_settings_){} + , decltype(_impl_.ice_enable_var_){} + , decltype(_impl_.local_candidate_types_allowed_){} + , decltype(_impl_.best_route_kind_){} + , decltype(_impl_.best_ping_){} + , decltype(_impl_.best_score_){} + , decltype(_impl_.best_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.local_candidate_types_, &from._impl_.local_candidate_types_, + static_cast(reinterpret_cast(&_impl_.best_time_) - + reinterpret_cast(&_impl_.local_candidate_types_)) + sizeof(_impl_.best_time_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingICESessionSummary) +} + +inline void CMsgSteamNetworkingICESessionSummary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.local_candidate_types_){0u} + , decltype(_impl_.remote_candidate_types_){0u} + , decltype(_impl_.initial_route_kind_){0u} + , decltype(_impl_.initial_ping_){0u} + , decltype(_impl_.negotiation_ms_){0u} + , decltype(_impl_.initial_score_){0u} + , decltype(_impl_.failure_reason_code_){0u} + , decltype(_impl_.selected_seconds_){0u} + , decltype(_impl_.user_settings_){0u} + , decltype(_impl_.ice_enable_var_){0u} + , decltype(_impl_.local_candidate_types_allowed_){0u} + , decltype(_impl_.best_route_kind_){0u} + , decltype(_impl_.best_ping_){0u} + , decltype(_impl_.best_score_){0u} + , decltype(_impl_.best_time_){0u} + }; +} + +CMsgSteamNetworkingICESessionSummary::~CMsgSteamNetworkingICESessionSummary() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingICESessionSummary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingICESessionSummary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamNetworkingICESessionSummary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingICESessionSummary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingICESessionSummary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.local_candidate_types_, 0, static_cast( + reinterpret_cast(&_impl_.selected_seconds_) - + reinterpret_cast(&_impl_.local_candidate_types_)) + sizeof(_impl_.selected_seconds_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.user_settings_, 0, static_cast( + reinterpret_cast(&_impl_.best_time_) - + reinterpret_cast(&_impl_.user_settings_)) + sizeof(_impl_.best_time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingICESessionSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 local_candidate_types = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_local_candidate_types(&has_bits); + _impl_.local_candidate_types_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 remote_candidate_types = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_remote_candidate_types(&has_bits); + _impl_.remote_candidate_types_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_route_kind = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_initial_route_kind(&has_bits); + _impl_.initial_route_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_ping = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_initial_ping(&has_bits); + _impl_.initial_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 negotiation_ms = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_negotiation_ms(&has_bits); + _impl_.negotiation_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 initial_score = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_initial_score(&has_bits); + _impl_.initial_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 failure_reason_code = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_failure_reason_code(&has_bits); + _impl_.failure_reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 selected_seconds = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_selected_seconds(&has_bits); + _impl_.selected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 user_settings = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_user_settings(&has_bits); + _impl_.user_settings_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ice_enable_var = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_ice_enable_var(&has_bits); + _impl_.ice_enable_var_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 local_candidate_types_allowed = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_local_candidate_types_allowed(&has_bits); + _impl_.local_candidate_types_allowed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_route_kind = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_best_route_kind(&has_bits); + _impl_.best_route_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_ping = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_best_ping(&has_bits); + _impl_.best_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_score = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_best_score(&has_bits); + _impl_.best_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 best_time = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_best_time(&has_bits); + _impl_.best_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingICESessionSummary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingICESessionSummary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 local_candidate_types = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_local_candidate_types(), target); + } + + // optional uint32 remote_candidate_types = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_remote_candidate_types(), target); + } + + // optional uint32 initial_route_kind = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_initial_route_kind(), target); + } + + // optional uint32 initial_ping = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_initial_ping(), target); + } + + // optional uint32 negotiation_ms = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_negotiation_ms(), target); + } + + // optional uint32 initial_score = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_initial_score(), target); + } + + // optional uint32 failure_reason_code = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_failure_reason_code(), target); + } + + // optional uint32 selected_seconds = 12; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_selected_seconds(), target); + } + + // optional uint32 user_settings = 13; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_user_settings(), target); + } + + // optional uint32 ice_enable_var = 14; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_ice_enable_var(), target); + } + + // optional uint32 local_candidate_types_allowed = 15; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_local_candidate_types_allowed(), target); + } + + // optional uint32 best_route_kind = 16; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_best_route_kind(), target); + } + + // optional uint32 best_ping = 17; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_best_ping(), target); + } + + // optional uint32 best_score = 18; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_best_score(), target); + } + + // optional uint32 best_time = 19; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_best_time(), 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:CMsgSteamNetworkingICESessionSummary) + return target; +} + +size_t CMsgSteamNetworkingICESessionSummary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingICESessionSummary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional uint32 local_candidate_types = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_candidate_types()); + } + + // optional uint32 remote_candidate_types = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_remote_candidate_types()); + } + + // optional uint32 initial_route_kind = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_route_kind()); + } + + // optional uint32 initial_ping = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping()); + } + + // optional uint32 negotiation_ms = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_negotiation_ms()); + } + + // optional uint32 initial_score = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_score()); + } + + // optional uint32 failure_reason_code = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_failure_reason_code()); + } + + // optional uint32 selected_seconds = 12; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_selected_seconds()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional uint32 user_settings = 13; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_user_settings()); + } + + // optional uint32 ice_enable_var = 14; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ice_enable_var()); + } + + // optional uint32 local_candidate_types_allowed = 15; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_candidate_types_allowed()); + } + + // optional uint32 best_route_kind = 16; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_best_route_kind()); + } + + // optional uint32 best_ping = 17; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_best_ping()); + } + + // optional uint32 best_score = 18; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_best_score()); + } + + // optional uint32 best_time = 19; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_best_time()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingICESessionSummary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingICESessionSummary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingICESessionSummary::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingICESessionSummary::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:CMsgSteamNetworkingICESessionSummary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.local_candidate_types_ = from._impl_.local_candidate_types_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.remote_candidate_types_ = from._impl_.remote_candidate_types_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.initial_route_kind_ = from._impl_.initial_route_kind_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.initial_ping_ = from._impl_.initial_ping_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.negotiation_ms_ = from._impl_.negotiation_ms_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.initial_score_ = from._impl_.initial_score_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.failure_reason_code_ = from._impl_.failure_reason_code_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.selected_seconds_ = from._impl_.selected_seconds_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.user_settings_ = from._impl_.user_settings_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.ice_enable_var_ = from._impl_.ice_enable_var_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.local_candidate_types_allowed_ = from._impl_.local_candidate_types_allowed_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.best_route_kind_ = from._impl_.best_route_kind_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.best_ping_ = from._impl_.best_ping_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.best_score_ = from._impl_.best_score_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.best_time_ = from._impl_.best_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingICESessionSummary::CopyFrom(const CMsgSteamNetworkingICESessionSummary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingICESessionSummary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingICESessionSummary::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingICESessionSummary::InternalSwap(CMsgSteamNetworkingICESessionSummary* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingICESessionSummary, _impl_.best_time_) + + sizeof(CMsgSteamNetworkingICESessionSummary::_impl_.best_time_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_)>( + reinterpret_cast(&_impl_.local_candidate_types_), + reinterpret_cast(&other->_impl_.local_candidate_types_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingICESessionSummary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[15]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSessionCryptInfo* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSessionCryptInfo >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSessionCryptInfo >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSessionCryptInfoSigned* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramSessionCryptInfoSigned >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramSessionCryptInfoSigned >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramDiagnostic* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramDiagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramDiagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramLinkInstantaneousStats* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramLinkInstantaneousStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramLinkInstantaneousStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramLinkLifetimeStats* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramLinkLifetimeStats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramLinkLifetimeStats >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionQuality* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionQuality >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionQuality >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgICECandidate* +Arena::CreateMaybeMessage< ::CMsgICECandidate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgICECandidate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgICERendezvous_Auth* +Arena::CreateMaybeMessage< ::CMsgICERendezvous_Auth >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgICERendezvous_Auth >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgICERendezvous* +Arena::CreateMaybeMessage< ::CMsgICERendezvous >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgICERendezvous >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectOK >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectOK >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingICESessionSummary* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingICESessionSummary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingICESessionSummary >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.h new file mode 100644 index 0000000..f67653b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages.pb.h @@ -0,0 +1,9044 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "steamnetworkingsockets_messages_certs.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steamnetworkingsockets_5fmessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_2eproto; +class CMsgICECandidate; +struct CMsgICECandidateDefaultTypeInternal; +extern CMsgICECandidateDefaultTypeInternal _CMsgICECandidate_default_instance_; +class CMsgICERendezvous; +struct CMsgICERendezvousDefaultTypeInternal; +extern CMsgICERendezvousDefaultTypeInternal _CMsgICERendezvous_default_instance_; +class CMsgICERendezvous_Auth; +struct CMsgICERendezvous_AuthDefaultTypeInternal; +extern CMsgICERendezvous_AuthDefaultTypeInternal _CMsgICERendezvous_Auth_default_instance_; +class CMsgSteamDatagramConnectionQuality; +struct CMsgSteamDatagramConnectionQualityDefaultTypeInternal; +extern CMsgSteamDatagramConnectionQualityDefaultTypeInternal _CMsgSteamDatagramConnectionQuality_default_instance_; +class CMsgSteamDatagramDiagnostic; +struct CMsgSteamDatagramDiagnosticDefaultTypeInternal; +extern CMsgSteamDatagramDiagnosticDefaultTypeInternal _CMsgSteamDatagramDiagnostic_default_instance_; +class CMsgSteamDatagramLinkInstantaneousStats; +struct CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal; +extern CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal _CMsgSteamDatagramLinkInstantaneousStats_default_instance_; +class CMsgSteamDatagramLinkLifetimeStats; +struct CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal; +extern CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal _CMsgSteamDatagramLinkLifetimeStats_default_instance_; +class CMsgSteamDatagramSessionCryptInfo; +struct CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal; +extern CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfo_default_instance_; +class CMsgSteamDatagramSessionCryptInfoSigned; +struct CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal; +extern CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfoSigned_default_instance_; +class CMsgSteamNetworkingICESessionSummary; +struct CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal; +extern CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal _CMsgSteamNetworkingICESessionSummary_default_instance_; +class CMsgSteamNetworkingP2PRendezvous; +struct CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_default_instance_; +class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage; +struct CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_; +class CMsgSteamNetworkingP2PRendezvous_ConnectOK; +struct CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_; +class CMsgSteamNetworkingP2PRendezvous_ConnectRequest; +struct CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_; +class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed; +struct CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_; +class CMsgSteamNetworkingP2PRendezvous_ReliableMessage; +struct CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal; +extern CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgICECandidate* Arena::CreateMaybeMessage<::CMsgICECandidate>(Arena*); +template<> ::CMsgICERendezvous* Arena::CreateMaybeMessage<::CMsgICERendezvous>(Arena*); +template<> ::CMsgICERendezvous_Auth* Arena::CreateMaybeMessage<::CMsgICERendezvous_Auth>(Arena*); +template<> ::CMsgSteamDatagramConnectionQuality* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(Arena*); +template<> ::CMsgSteamDatagramDiagnostic* Arena::CreateMaybeMessage<::CMsgSteamDatagramDiagnostic>(Arena*); +template<> ::CMsgSteamDatagramLinkInstantaneousStats* Arena::CreateMaybeMessage<::CMsgSteamDatagramLinkInstantaneousStats>(Arena*); +template<> ::CMsgSteamDatagramLinkLifetimeStats* Arena::CreateMaybeMessage<::CMsgSteamDatagramLinkLifetimeStats>(Arena*); +template<> ::CMsgSteamDatagramSessionCryptInfo* Arena::CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfo>(Arena*); +template<> ::CMsgSteamDatagramSessionCryptInfoSigned* Arena::CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(Arena*); +template<> ::CMsgSteamNetworkingICESessionSummary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingICESessionSummary>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectOK>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectRequest>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed>(Arena*); +template<> ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ReliableMessage>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CMsgSteamDatagramSessionCryptInfo_EKeyType : int { + CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID = 0, + CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519 = 1 +}; +bool CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(int value); +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MIN = CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID; +constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX = CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519; +constexpr int CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_ARRAYSIZE = CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); +template +inline const std::string& CMsgSteamDatagramSessionCryptInfo_EKeyType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramSessionCryptInfo_EKeyType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramSessionCryptInfo_EKeyType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramSessionCryptInfo_EKeyType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(), name, value); +} +enum ESteamNetworkingSocketsCipher : int { + k_ESteamNetworkingSocketsCipher_INVALID = 0, + k_ESteamNetworkingSocketsCipher_NULL = 1, + k_ESteamNetworkingSocketsCipher_AES_256_GCM = 2 +}; +bool ESteamNetworkingSocketsCipher_IsValid(int value); +constexpr ESteamNetworkingSocketsCipher ESteamNetworkingSocketsCipher_MIN = k_ESteamNetworkingSocketsCipher_INVALID; +constexpr ESteamNetworkingSocketsCipher ESteamNetworkingSocketsCipher_MAX = k_ESteamNetworkingSocketsCipher_AES_256_GCM; +constexpr int ESteamNetworkingSocketsCipher_ARRAYSIZE = ESteamNetworkingSocketsCipher_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingSocketsCipher_descriptor(); +template +inline const std::string& ESteamNetworkingSocketsCipher_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESteamNetworkingSocketsCipher_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESteamNetworkingSocketsCipher_descriptor(), enum_t_value); +} +inline bool ESteamNetworkingSocketsCipher_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamNetworkingSocketsCipher* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESteamNetworkingSocketsCipher_descriptor(), name, value); +} +// =================================================================== + +class CMsgSteamDatagramSessionCryptInfo final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSessionCryptInfo) */ { + public: + inline CMsgSteamDatagramSessionCryptInfo() : CMsgSteamDatagramSessionCryptInfo(nullptr) {} + ~CMsgSteamDatagramSessionCryptInfo() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSessionCryptInfo(const CMsgSteamDatagramSessionCryptInfo& from); + CMsgSteamDatagramSessionCryptInfo(CMsgSteamDatagramSessionCryptInfo&& from) noexcept + : CMsgSteamDatagramSessionCryptInfo() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSessionCryptInfo& operator=(const CMsgSteamDatagramSessionCryptInfo& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSessionCryptInfo& operator=(CMsgSteamDatagramSessionCryptInfo&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSessionCryptInfo& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSessionCryptInfo* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSessionCryptInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSteamDatagramSessionCryptInfo& a, CMsgSteamDatagramSessionCryptInfo& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSessionCryptInfo* 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(CMsgSteamDatagramSessionCryptInfo* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSessionCryptInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSessionCryptInfo& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSessionCryptInfo& from) { + CMsgSteamDatagramSessionCryptInfo::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(CMsgSteamDatagramSessionCryptInfo* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSessionCryptInfo"; + } + protected: + explicit CMsgSteamDatagramSessionCryptInfo(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramSessionCryptInfo_EKeyType EKeyType; + static constexpr EKeyType INVALID = + CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID; + static constexpr EKeyType CURVE25519 = + CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519; + static inline bool EKeyType_IsValid(int value) { + return CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(value); + } + static constexpr EKeyType EKeyType_MIN = + CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MIN; + static constexpr EKeyType EKeyType_MAX = + CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX; + static constexpr int EKeyType_ARRAYSIZE = + CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + EKeyType_descriptor() { + return CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); + } + template + static inline const std::string& EKeyType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EKeyType_Name."); + return CMsgSteamDatagramSessionCryptInfo_EKeyType_Name(enum_t_value); + } + static inline bool EKeyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + EKeyType* value) { + return CMsgSteamDatagramSessionCryptInfo_EKeyType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kCiphersFieldNumber = 5, + kKeyDataFieldNumber = 2, + kKeyTypeFieldNumber = 1, + kProtocolVersionFieldNumber = 4, + kNonceFieldNumber = 3, + }; + // repeated .ESteamNetworkingSocketsCipher ciphers = 5; + int ciphers_size() const; + private: + int _internal_ciphers_size() const; + public: + void clear_ciphers(); + private: + ::ESteamNetworkingSocketsCipher _internal_ciphers(int index) const; + void _internal_add_ciphers(::ESteamNetworkingSocketsCipher value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_ciphers(); + public: + ::ESteamNetworkingSocketsCipher ciphers(int index) const; + void set_ciphers(int index, ::ESteamNetworkingSocketsCipher value); + void add_ciphers(::ESteamNetworkingSocketsCipher value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField& ciphers() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_ciphers(); + + // optional bytes key_data = 2; + bool has_key_data() const; + private: + bool _internal_has_key_data() const; + public: + void clear_key_data(); + const std::string& key_data() const; + template + void set_key_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_key_data(); + PROTOBUF_NODISCARD std::string* release_key_data(); + void set_allocated_key_data(std::string* key_data); + private: + const std::string& _internal_key_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); + std::string* _internal_mutable_key_data(); + public: + + // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; + bool has_key_type() const; + private: + bool _internal_has_key_type() const; + public: + void clear_key_type(); + ::CMsgSteamDatagramSessionCryptInfo_EKeyType key_type() const; + void set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value); + private: + ::CMsgSteamDatagramSessionCryptInfo_EKeyType _internal_key_type() const; + void _internal_set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value); + public: + + // optional uint32 protocol_version = 4; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional fixed64 nonce = 3; + bool has_nonce() const; + private: + bool _internal_has_nonce() const; + public: + void clear_nonce(); + uint64_t nonce() const; + void set_nonce(uint64_t value); + private: + uint64_t _internal_nonce() const; + void _internal_set_nonce(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSessionCryptInfo) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField ciphers_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; + int key_type_; + uint32_t protocol_version_; + uint64_t nonce_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramSessionCryptInfoSigned final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSessionCryptInfoSigned) */ { + public: + inline CMsgSteamDatagramSessionCryptInfoSigned() : CMsgSteamDatagramSessionCryptInfoSigned(nullptr) {} + ~CMsgSteamDatagramSessionCryptInfoSigned() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSigned(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramSessionCryptInfoSigned(const CMsgSteamDatagramSessionCryptInfoSigned& from); + CMsgSteamDatagramSessionCryptInfoSigned(CMsgSteamDatagramSessionCryptInfoSigned&& from) noexcept + : CMsgSteamDatagramSessionCryptInfoSigned() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramSessionCryptInfoSigned& operator=(const CMsgSteamDatagramSessionCryptInfoSigned& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramSessionCryptInfoSigned& operator=(CMsgSteamDatagramSessionCryptInfoSigned&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramSessionCryptInfoSigned& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramSessionCryptInfoSigned* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSteamDatagramSessionCryptInfoSigned& a, CMsgSteamDatagramSessionCryptInfoSigned& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramSessionCryptInfoSigned* 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(CMsgSteamDatagramSessionCryptInfoSigned* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramSessionCryptInfoSigned* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramSessionCryptInfoSigned& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramSessionCryptInfoSigned& from) { + CMsgSteamDatagramSessionCryptInfoSigned::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(CMsgSteamDatagramSessionCryptInfoSigned* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramSessionCryptInfoSigned"; + } + protected: + explicit CMsgSteamDatagramSessionCryptInfoSigned(::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 { + kInfoFieldNumber = 1, + kSignatureFieldNumber = 2, + }; + // optional bytes info = 1; + bool has_info() const; + private: + bool _internal_has_info() const; + public: + void clear_info(); + const std::string& info() const; + template + void set_info(ArgT0&& arg0, ArgT... args); + std::string* mutable_info(); + PROTOBUF_NODISCARD std::string* release_info(); + void set_allocated_info(std::string* info); + private: + const std::string& _internal_info() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_info(const std::string& value); + std::string* _internal_mutable_info(); + public: + + // optional bytes signature = 2; + bool has_signature() const; + private: + bool _internal_has_signature() const; + public: + void clear_signature(); + const std::string& signature() const; + template + void set_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_signature(); + PROTOBUF_NODISCARD std::string* release_signature(); + void set_allocated_signature(std::string* signature); + private: + const std::string& _internal_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); + std::string* _internal_mutable_signature(); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSessionCryptInfoSigned) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr info_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramDiagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramDiagnostic) */ { + public: + inline CMsgSteamDatagramDiagnostic() : CMsgSteamDatagramDiagnostic(nullptr) {} + ~CMsgSteamDatagramDiagnostic() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramDiagnostic(const CMsgSteamDatagramDiagnostic& from); + CMsgSteamDatagramDiagnostic(CMsgSteamDatagramDiagnostic&& from) noexcept + : CMsgSteamDatagramDiagnostic() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramDiagnostic& operator=(const CMsgSteamDatagramDiagnostic& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramDiagnostic& operator=(CMsgSteamDatagramDiagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramDiagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramDiagnostic* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramDiagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSteamDatagramDiagnostic& a, CMsgSteamDatagramDiagnostic& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramDiagnostic* 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(CMsgSteamDatagramDiagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramDiagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramDiagnostic& from) { + CMsgSteamDatagramDiagnostic::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(CMsgSteamDatagramDiagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramDiagnostic"; + } + protected: + explicit CMsgSteamDatagramDiagnostic(::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 = 2, + kSeverityFieldNumber = 1, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional uint32 severity = 1; + bool has_severity() const; + private: + bool _internal_has_severity() const; + public: + void clear_severity(); + uint32_t severity() const; + void set_severity(uint32_t value); + private: + uint32_t _internal_severity() const; + void _internal_set_severity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramDiagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + uint32_t severity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramLinkInstantaneousStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramLinkInstantaneousStats) */ { + public: + inline CMsgSteamDatagramLinkInstantaneousStats() : CMsgSteamDatagramLinkInstantaneousStats(nullptr) {} + ~CMsgSteamDatagramLinkInstantaneousStats() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramLinkInstantaneousStats(const CMsgSteamDatagramLinkInstantaneousStats& from); + CMsgSteamDatagramLinkInstantaneousStats(CMsgSteamDatagramLinkInstantaneousStats&& from) noexcept + : CMsgSteamDatagramLinkInstantaneousStats() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramLinkInstantaneousStats& operator=(const CMsgSteamDatagramLinkInstantaneousStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramLinkInstantaneousStats& operator=(CMsgSteamDatagramLinkInstantaneousStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramLinkInstantaneousStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramLinkInstantaneousStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramLinkInstantaneousStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSteamDatagramLinkInstantaneousStats& a, CMsgSteamDatagramLinkInstantaneousStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramLinkInstantaneousStats* 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(CMsgSteamDatagramLinkInstantaneousStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramLinkInstantaneousStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramLinkInstantaneousStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramLinkInstantaneousStats& from) { + CMsgSteamDatagramLinkInstantaneousStats::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(CMsgSteamDatagramLinkInstantaneousStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramLinkInstantaneousStats"; + } + protected: + explicit CMsgSteamDatagramLinkInstantaneousStats(::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 { + kOutPacketsPerSecX10FieldNumber = 1, + kOutBytesPerSecFieldNumber = 2, + kInPacketsPerSecX10FieldNumber = 3, + kInBytesPerSecFieldNumber = 4, + kPingMsFieldNumber = 5, + kPacketsDroppedPctFieldNumber = 6, + kPacketsWeirdSequencePctFieldNumber = 7, + kPeakJitterUsecFieldNumber = 8, + }; + // optional uint32 out_packets_per_sec_x10 = 1; + bool has_out_packets_per_sec_x10() const; + private: + bool _internal_has_out_packets_per_sec_x10() const; + public: + void clear_out_packets_per_sec_x10(); + uint32_t out_packets_per_sec_x10() const; + void set_out_packets_per_sec_x10(uint32_t value); + private: + uint32_t _internal_out_packets_per_sec_x10() const; + void _internal_set_out_packets_per_sec_x10(uint32_t value); + public: + + // optional uint32 out_bytes_per_sec = 2; + bool has_out_bytes_per_sec() const; + private: + bool _internal_has_out_bytes_per_sec() const; + public: + void clear_out_bytes_per_sec(); + uint32_t out_bytes_per_sec() const; + void set_out_bytes_per_sec(uint32_t value); + private: + uint32_t _internal_out_bytes_per_sec() const; + void _internal_set_out_bytes_per_sec(uint32_t value); + public: + + // optional uint32 in_packets_per_sec_x10 = 3; + bool has_in_packets_per_sec_x10() const; + private: + bool _internal_has_in_packets_per_sec_x10() const; + public: + void clear_in_packets_per_sec_x10(); + uint32_t in_packets_per_sec_x10() const; + void set_in_packets_per_sec_x10(uint32_t value); + private: + uint32_t _internal_in_packets_per_sec_x10() const; + void _internal_set_in_packets_per_sec_x10(uint32_t value); + public: + + // optional uint32 in_bytes_per_sec = 4; + bool has_in_bytes_per_sec() const; + private: + bool _internal_has_in_bytes_per_sec() const; + public: + void clear_in_bytes_per_sec(); + uint32_t in_bytes_per_sec() const; + void set_in_bytes_per_sec(uint32_t value); + private: + uint32_t _internal_in_bytes_per_sec() const; + void _internal_set_in_bytes_per_sec(uint32_t value); + public: + + // optional uint32 ping_ms = 5; + bool has_ping_ms() const; + private: + bool _internal_has_ping_ms() const; + public: + void clear_ping_ms(); + uint32_t ping_ms() const; + void set_ping_ms(uint32_t value); + private: + uint32_t _internal_ping_ms() const; + void _internal_set_ping_ms(uint32_t value); + public: + + // optional uint32 packets_dropped_pct = 6; + bool has_packets_dropped_pct() const; + private: + bool _internal_has_packets_dropped_pct() const; + public: + void clear_packets_dropped_pct(); + uint32_t packets_dropped_pct() const; + void set_packets_dropped_pct(uint32_t value); + private: + uint32_t _internal_packets_dropped_pct() const; + void _internal_set_packets_dropped_pct(uint32_t value); + public: + + // optional uint32 packets_weird_sequence_pct = 7; + bool has_packets_weird_sequence_pct() const; + private: + bool _internal_has_packets_weird_sequence_pct() const; + public: + void clear_packets_weird_sequence_pct(); + uint32_t packets_weird_sequence_pct() const; + void set_packets_weird_sequence_pct(uint32_t value); + private: + uint32_t _internal_packets_weird_sequence_pct() const; + void _internal_set_packets_weird_sequence_pct(uint32_t value); + public: + + // optional uint32 peak_jitter_usec = 8; + bool has_peak_jitter_usec() const; + private: + bool _internal_has_peak_jitter_usec() const; + public: + void clear_peak_jitter_usec(); + uint32_t peak_jitter_usec() const; + void set_peak_jitter_usec(uint32_t value); + private: + uint32_t _internal_peak_jitter_usec() const; + void _internal_set_peak_jitter_usec(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramLinkInstantaneousStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t out_packets_per_sec_x10_; + uint32_t out_bytes_per_sec_; + uint32_t in_packets_per_sec_x10_; + uint32_t in_bytes_per_sec_; + uint32_t ping_ms_; + uint32_t packets_dropped_pct_; + uint32_t packets_weird_sequence_pct_; + uint32_t peak_jitter_usec_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramLinkLifetimeStats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramLinkLifetimeStats) */ { + public: + inline CMsgSteamDatagramLinkLifetimeStats() : CMsgSteamDatagramLinkLifetimeStats(nullptr) {} + ~CMsgSteamDatagramLinkLifetimeStats() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramLinkLifetimeStats(const CMsgSteamDatagramLinkLifetimeStats& from); + CMsgSteamDatagramLinkLifetimeStats(CMsgSteamDatagramLinkLifetimeStats&& from) noexcept + : CMsgSteamDatagramLinkLifetimeStats() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramLinkLifetimeStats& operator=(const CMsgSteamDatagramLinkLifetimeStats& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramLinkLifetimeStats& operator=(CMsgSteamDatagramLinkLifetimeStats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramLinkLifetimeStats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramLinkLifetimeStats* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramLinkLifetimeStats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSteamDatagramLinkLifetimeStats& a, CMsgSteamDatagramLinkLifetimeStats& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramLinkLifetimeStats* 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(CMsgSteamDatagramLinkLifetimeStats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramLinkLifetimeStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramLinkLifetimeStats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramLinkLifetimeStats& from) { + CMsgSteamDatagramLinkLifetimeStats::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(CMsgSteamDatagramLinkLifetimeStats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramLinkLifetimeStats"; + } + protected: + explicit CMsgSteamDatagramLinkLifetimeStats(::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 { + kMultipathPacketsRecvSequencedFieldNumber = 12, + kMultipathPacketsRecvLaterFieldNumber = 13, + kPacketsSentFieldNumber = 3, + kKbSentFieldNumber = 4, + kPacketsRecvFieldNumber = 5, + kKbRecvFieldNumber = 6, + kPacketsRecvSequencedFieldNumber = 7, + kPacketsRecvDroppedFieldNumber = 8, + kConnectedSecondsFieldNumber = 2, + kMultipathSendEnabledFieldNumber = 14, + kPacketsRecvOutOfOrderFieldNumber = 9, + kPacketsRecvDuplicateFieldNumber = 10, + kPacketsRecvLurchFieldNumber = 11, + kPacketsRecvOutOfOrderCorrectedFieldNumber = 15, + kQualityHistogram100FieldNumber = 21, + kQualityHistogram99FieldNumber = 22, + kQualityHistogram97FieldNumber = 23, + kQualityHistogram95FieldNumber = 24, + kQualityHistogram90FieldNumber = 25, + kQualityHistogram75FieldNumber = 26, + kQualityHistogram50FieldNumber = 27, + kQualityHistogram1FieldNumber = 28, + kQualityHistogramDeadFieldNumber = 29, + kQualityNtile2NdFieldNumber = 30, + kQualityNtile5ThFieldNumber = 31, + kQualityNtile25ThFieldNumber = 32, + kQualityNtile50ThFieldNumber = 33, + kPingHistogram25FieldNumber = 41, + kPingHistogram50FieldNumber = 42, + kPingHistogram75FieldNumber = 43, + kPingHistogram100FieldNumber = 44, + kPingHistogram125FieldNumber = 45, + kPingHistogram150FieldNumber = 46, + kPingHistogram200FieldNumber = 47, + kPingHistogram300FieldNumber = 48, + kPingHistogramMaxFieldNumber = 49, + kPingNtile5ThFieldNumber = 50, + kPingNtile50ThFieldNumber = 51, + kPingNtile75ThFieldNumber = 52, + kPingNtile95ThFieldNumber = 53, + kPingNtile98ThFieldNumber = 54, + kJitterHistogramNegligibleFieldNumber = 61, + kJitterHistogram1FieldNumber = 62, + kJitterHistogram2FieldNumber = 63, + kJitterHistogram5FieldNumber = 64, + kJitterHistogram10FieldNumber = 65, + kJitterHistogram20FieldNumber = 66, + }; + // repeated uint64 multipath_packets_recv_sequenced = 12; + int multipath_packets_recv_sequenced_size() const; + private: + int _internal_multipath_packets_recv_sequenced_size() const; + public: + void clear_multipath_packets_recv_sequenced(); + private: + uint64_t _internal_multipath_packets_recv_sequenced(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_multipath_packets_recv_sequenced() const; + void _internal_add_multipath_packets_recv_sequenced(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_multipath_packets_recv_sequenced(); + public: + uint64_t multipath_packets_recv_sequenced(int index) const; + void set_multipath_packets_recv_sequenced(int index, uint64_t value); + void add_multipath_packets_recv_sequenced(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + multipath_packets_recv_sequenced() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_multipath_packets_recv_sequenced(); + + // repeated uint64 multipath_packets_recv_later = 13; + int multipath_packets_recv_later_size() const; + private: + int _internal_multipath_packets_recv_later_size() const; + public: + void clear_multipath_packets_recv_later(); + private: + uint64_t _internal_multipath_packets_recv_later(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + _internal_multipath_packets_recv_later() const; + void _internal_add_multipath_packets_recv_later(uint64_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + _internal_mutable_multipath_packets_recv_later(); + public: + uint64_t multipath_packets_recv_later(int index) const; + void set_multipath_packets_recv_later(int index, uint64_t value); + void add_multipath_packets_recv_later(uint64_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& + multipath_packets_recv_later() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* + mutable_multipath_packets_recv_later(); + + // optional uint64 packets_sent = 3; + bool has_packets_sent() const; + private: + bool _internal_has_packets_sent() const; + public: + void clear_packets_sent(); + uint64_t packets_sent() const; + void set_packets_sent(uint64_t value); + private: + uint64_t _internal_packets_sent() const; + void _internal_set_packets_sent(uint64_t value); + public: + + // optional uint64 kb_sent = 4; + bool has_kb_sent() const; + private: + bool _internal_has_kb_sent() const; + public: + void clear_kb_sent(); + uint64_t kb_sent() const; + void set_kb_sent(uint64_t value); + private: + uint64_t _internal_kb_sent() const; + void _internal_set_kb_sent(uint64_t value); + public: + + // optional uint64 packets_recv = 5; + bool has_packets_recv() const; + private: + bool _internal_has_packets_recv() const; + public: + void clear_packets_recv(); + uint64_t packets_recv() const; + void set_packets_recv(uint64_t value); + private: + uint64_t _internal_packets_recv() const; + void _internal_set_packets_recv(uint64_t value); + public: + + // optional uint64 kb_recv = 6; + bool has_kb_recv() const; + private: + bool _internal_has_kb_recv() const; + public: + void clear_kb_recv(); + uint64_t kb_recv() const; + void set_kb_recv(uint64_t value); + private: + uint64_t _internal_kb_recv() const; + void _internal_set_kb_recv(uint64_t value); + public: + + // optional uint64 packets_recv_sequenced = 7; + bool has_packets_recv_sequenced() const; + private: + bool _internal_has_packets_recv_sequenced() const; + public: + void clear_packets_recv_sequenced(); + uint64_t packets_recv_sequenced() const; + void set_packets_recv_sequenced(uint64_t value); + private: + uint64_t _internal_packets_recv_sequenced() const; + void _internal_set_packets_recv_sequenced(uint64_t value); + public: + + // optional uint64 packets_recv_dropped = 8; + bool has_packets_recv_dropped() const; + private: + bool _internal_has_packets_recv_dropped() const; + public: + void clear_packets_recv_dropped(); + uint64_t packets_recv_dropped() const; + void set_packets_recv_dropped(uint64_t value); + private: + uint64_t _internal_packets_recv_dropped() const; + void _internal_set_packets_recv_dropped(uint64_t value); + public: + + // optional uint32 connected_seconds = 2; + bool has_connected_seconds() const; + private: + bool _internal_has_connected_seconds() const; + public: + void clear_connected_seconds(); + uint32_t connected_seconds() const; + void set_connected_seconds(uint32_t value); + private: + uint32_t _internal_connected_seconds() const; + void _internal_set_connected_seconds(uint32_t value); + public: + + // optional uint32 multipath_send_enabled = 14; + bool has_multipath_send_enabled() const; + private: + bool _internal_has_multipath_send_enabled() const; + public: + void clear_multipath_send_enabled(); + uint32_t multipath_send_enabled() const; + void set_multipath_send_enabled(uint32_t value); + private: + uint32_t _internal_multipath_send_enabled() const; + void _internal_set_multipath_send_enabled(uint32_t value); + public: + + // optional uint64 packets_recv_out_of_order = 9; + bool has_packets_recv_out_of_order() const; + private: + bool _internal_has_packets_recv_out_of_order() const; + public: + void clear_packets_recv_out_of_order(); + uint64_t packets_recv_out_of_order() const; + void set_packets_recv_out_of_order(uint64_t value); + private: + uint64_t _internal_packets_recv_out_of_order() const; + void _internal_set_packets_recv_out_of_order(uint64_t value); + public: + + // optional uint64 packets_recv_duplicate = 10; + bool has_packets_recv_duplicate() const; + private: + bool _internal_has_packets_recv_duplicate() const; + public: + void clear_packets_recv_duplicate(); + uint64_t packets_recv_duplicate() const; + void set_packets_recv_duplicate(uint64_t value); + private: + uint64_t _internal_packets_recv_duplicate() const; + void _internal_set_packets_recv_duplicate(uint64_t value); + public: + + // optional uint64 packets_recv_lurch = 11; + bool has_packets_recv_lurch() const; + private: + bool _internal_has_packets_recv_lurch() const; + public: + void clear_packets_recv_lurch(); + uint64_t packets_recv_lurch() const; + void set_packets_recv_lurch(uint64_t value); + private: + uint64_t _internal_packets_recv_lurch() const; + void _internal_set_packets_recv_lurch(uint64_t value); + public: + + // optional uint64 packets_recv_out_of_order_corrected = 15; + bool has_packets_recv_out_of_order_corrected() const; + private: + bool _internal_has_packets_recv_out_of_order_corrected() const; + public: + void clear_packets_recv_out_of_order_corrected(); + uint64_t packets_recv_out_of_order_corrected() const; + void set_packets_recv_out_of_order_corrected(uint64_t value); + private: + uint64_t _internal_packets_recv_out_of_order_corrected() const; + void _internal_set_packets_recv_out_of_order_corrected(uint64_t value); + public: + + // optional uint32 quality_histogram_100 = 21; + bool has_quality_histogram_100() const; + private: + bool _internal_has_quality_histogram_100() const; + public: + void clear_quality_histogram_100(); + uint32_t quality_histogram_100() const; + void set_quality_histogram_100(uint32_t value); + private: + uint32_t _internal_quality_histogram_100() const; + void _internal_set_quality_histogram_100(uint32_t value); + public: + + // optional uint32 quality_histogram_99 = 22; + bool has_quality_histogram_99() const; + private: + bool _internal_has_quality_histogram_99() const; + public: + void clear_quality_histogram_99(); + uint32_t quality_histogram_99() const; + void set_quality_histogram_99(uint32_t value); + private: + uint32_t _internal_quality_histogram_99() const; + void _internal_set_quality_histogram_99(uint32_t value); + public: + + // optional uint32 quality_histogram_97 = 23; + bool has_quality_histogram_97() const; + private: + bool _internal_has_quality_histogram_97() const; + public: + void clear_quality_histogram_97(); + uint32_t quality_histogram_97() const; + void set_quality_histogram_97(uint32_t value); + private: + uint32_t _internal_quality_histogram_97() const; + void _internal_set_quality_histogram_97(uint32_t value); + public: + + // optional uint32 quality_histogram_95 = 24; + bool has_quality_histogram_95() const; + private: + bool _internal_has_quality_histogram_95() const; + public: + void clear_quality_histogram_95(); + uint32_t quality_histogram_95() const; + void set_quality_histogram_95(uint32_t value); + private: + uint32_t _internal_quality_histogram_95() const; + void _internal_set_quality_histogram_95(uint32_t value); + public: + + // optional uint32 quality_histogram_90 = 25; + bool has_quality_histogram_90() const; + private: + bool _internal_has_quality_histogram_90() const; + public: + void clear_quality_histogram_90(); + uint32_t quality_histogram_90() const; + void set_quality_histogram_90(uint32_t value); + private: + uint32_t _internal_quality_histogram_90() const; + void _internal_set_quality_histogram_90(uint32_t value); + public: + + // optional uint32 quality_histogram_75 = 26; + bool has_quality_histogram_75() const; + private: + bool _internal_has_quality_histogram_75() const; + public: + void clear_quality_histogram_75(); + uint32_t quality_histogram_75() const; + void set_quality_histogram_75(uint32_t value); + private: + uint32_t _internal_quality_histogram_75() const; + void _internal_set_quality_histogram_75(uint32_t value); + public: + + // optional uint32 quality_histogram_50 = 27; + bool has_quality_histogram_50() const; + private: + bool _internal_has_quality_histogram_50() const; + public: + void clear_quality_histogram_50(); + uint32_t quality_histogram_50() const; + void set_quality_histogram_50(uint32_t value); + private: + uint32_t _internal_quality_histogram_50() const; + void _internal_set_quality_histogram_50(uint32_t value); + public: + + // optional uint32 quality_histogram_1 = 28; + bool has_quality_histogram_1() const; + private: + bool _internal_has_quality_histogram_1() const; + public: + void clear_quality_histogram_1(); + uint32_t quality_histogram_1() const; + void set_quality_histogram_1(uint32_t value); + private: + uint32_t _internal_quality_histogram_1() const; + void _internal_set_quality_histogram_1(uint32_t value); + public: + + // optional uint32 quality_histogram_dead = 29; + bool has_quality_histogram_dead() const; + private: + bool _internal_has_quality_histogram_dead() const; + public: + void clear_quality_histogram_dead(); + uint32_t quality_histogram_dead() const; + void set_quality_histogram_dead(uint32_t value); + private: + uint32_t _internal_quality_histogram_dead() const; + void _internal_set_quality_histogram_dead(uint32_t value); + public: + + // optional uint32 quality_ntile_2nd = 30; + bool has_quality_ntile_2nd() const; + private: + bool _internal_has_quality_ntile_2nd() const; + public: + void clear_quality_ntile_2nd(); + uint32_t quality_ntile_2nd() const; + void set_quality_ntile_2nd(uint32_t value); + private: + uint32_t _internal_quality_ntile_2nd() const; + void _internal_set_quality_ntile_2nd(uint32_t value); + public: + + // optional uint32 quality_ntile_5th = 31; + bool has_quality_ntile_5th() const; + private: + bool _internal_has_quality_ntile_5th() const; + public: + void clear_quality_ntile_5th(); + uint32_t quality_ntile_5th() const; + void set_quality_ntile_5th(uint32_t value); + private: + uint32_t _internal_quality_ntile_5th() const; + void _internal_set_quality_ntile_5th(uint32_t value); + public: + + // optional uint32 quality_ntile_25th = 32; + bool has_quality_ntile_25th() const; + private: + bool _internal_has_quality_ntile_25th() const; + public: + void clear_quality_ntile_25th(); + uint32_t quality_ntile_25th() const; + void set_quality_ntile_25th(uint32_t value); + private: + uint32_t _internal_quality_ntile_25th() const; + void _internal_set_quality_ntile_25th(uint32_t value); + public: + + // optional uint32 quality_ntile_50th = 33; + bool has_quality_ntile_50th() const; + private: + bool _internal_has_quality_ntile_50th() const; + public: + void clear_quality_ntile_50th(); + uint32_t quality_ntile_50th() const; + void set_quality_ntile_50th(uint32_t value); + private: + uint32_t _internal_quality_ntile_50th() const; + void _internal_set_quality_ntile_50th(uint32_t value); + public: + + // optional uint32 ping_histogram_25 = 41; + bool has_ping_histogram_25() const; + private: + bool _internal_has_ping_histogram_25() const; + public: + void clear_ping_histogram_25(); + uint32_t ping_histogram_25() const; + void set_ping_histogram_25(uint32_t value); + private: + uint32_t _internal_ping_histogram_25() const; + void _internal_set_ping_histogram_25(uint32_t value); + public: + + // optional uint32 ping_histogram_50 = 42; + bool has_ping_histogram_50() const; + private: + bool _internal_has_ping_histogram_50() const; + public: + void clear_ping_histogram_50(); + uint32_t ping_histogram_50() const; + void set_ping_histogram_50(uint32_t value); + private: + uint32_t _internal_ping_histogram_50() const; + void _internal_set_ping_histogram_50(uint32_t value); + public: + + // optional uint32 ping_histogram_75 = 43; + bool has_ping_histogram_75() const; + private: + bool _internal_has_ping_histogram_75() const; + public: + void clear_ping_histogram_75(); + uint32_t ping_histogram_75() const; + void set_ping_histogram_75(uint32_t value); + private: + uint32_t _internal_ping_histogram_75() const; + void _internal_set_ping_histogram_75(uint32_t value); + public: + + // optional uint32 ping_histogram_100 = 44; + bool has_ping_histogram_100() const; + private: + bool _internal_has_ping_histogram_100() const; + public: + void clear_ping_histogram_100(); + uint32_t ping_histogram_100() const; + void set_ping_histogram_100(uint32_t value); + private: + uint32_t _internal_ping_histogram_100() const; + void _internal_set_ping_histogram_100(uint32_t value); + public: + + // optional uint32 ping_histogram_125 = 45; + bool has_ping_histogram_125() const; + private: + bool _internal_has_ping_histogram_125() const; + public: + void clear_ping_histogram_125(); + uint32_t ping_histogram_125() const; + void set_ping_histogram_125(uint32_t value); + private: + uint32_t _internal_ping_histogram_125() const; + void _internal_set_ping_histogram_125(uint32_t value); + public: + + // optional uint32 ping_histogram_150 = 46; + bool has_ping_histogram_150() const; + private: + bool _internal_has_ping_histogram_150() const; + public: + void clear_ping_histogram_150(); + uint32_t ping_histogram_150() const; + void set_ping_histogram_150(uint32_t value); + private: + uint32_t _internal_ping_histogram_150() const; + void _internal_set_ping_histogram_150(uint32_t value); + public: + + // optional uint32 ping_histogram_200 = 47; + bool has_ping_histogram_200() const; + private: + bool _internal_has_ping_histogram_200() const; + public: + void clear_ping_histogram_200(); + uint32_t ping_histogram_200() const; + void set_ping_histogram_200(uint32_t value); + private: + uint32_t _internal_ping_histogram_200() const; + void _internal_set_ping_histogram_200(uint32_t value); + public: + + // optional uint32 ping_histogram_300 = 48; + bool has_ping_histogram_300() const; + private: + bool _internal_has_ping_histogram_300() const; + public: + void clear_ping_histogram_300(); + uint32_t ping_histogram_300() const; + void set_ping_histogram_300(uint32_t value); + private: + uint32_t _internal_ping_histogram_300() const; + void _internal_set_ping_histogram_300(uint32_t value); + public: + + // optional uint32 ping_histogram_max = 49; + bool has_ping_histogram_max() const; + private: + bool _internal_has_ping_histogram_max() const; + public: + void clear_ping_histogram_max(); + uint32_t ping_histogram_max() const; + void set_ping_histogram_max(uint32_t value); + private: + uint32_t _internal_ping_histogram_max() const; + void _internal_set_ping_histogram_max(uint32_t value); + public: + + // optional uint32 ping_ntile_5th = 50; + bool has_ping_ntile_5th() const; + private: + bool _internal_has_ping_ntile_5th() const; + public: + void clear_ping_ntile_5th(); + uint32_t ping_ntile_5th() const; + void set_ping_ntile_5th(uint32_t value); + private: + uint32_t _internal_ping_ntile_5th() const; + void _internal_set_ping_ntile_5th(uint32_t value); + public: + + // optional uint32 ping_ntile_50th = 51; + bool has_ping_ntile_50th() const; + private: + bool _internal_has_ping_ntile_50th() const; + public: + void clear_ping_ntile_50th(); + uint32_t ping_ntile_50th() const; + void set_ping_ntile_50th(uint32_t value); + private: + uint32_t _internal_ping_ntile_50th() const; + void _internal_set_ping_ntile_50th(uint32_t value); + public: + + // optional uint32 ping_ntile_75th = 52; + bool has_ping_ntile_75th() const; + private: + bool _internal_has_ping_ntile_75th() const; + public: + void clear_ping_ntile_75th(); + uint32_t ping_ntile_75th() const; + void set_ping_ntile_75th(uint32_t value); + private: + uint32_t _internal_ping_ntile_75th() const; + void _internal_set_ping_ntile_75th(uint32_t value); + public: + + // optional uint32 ping_ntile_95th = 53; + bool has_ping_ntile_95th() const; + private: + bool _internal_has_ping_ntile_95th() const; + public: + void clear_ping_ntile_95th(); + uint32_t ping_ntile_95th() const; + void set_ping_ntile_95th(uint32_t value); + private: + uint32_t _internal_ping_ntile_95th() const; + void _internal_set_ping_ntile_95th(uint32_t value); + public: + + // optional uint32 ping_ntile_98th = 54; + bool has_ping_ntile_98th() const; + private: + bool _internal_has_ping_ntile_98th() const; + public: + void clear_ping_ntile_98th(); + uint32_t ping_ntile_98th() const; + void set_ping_ntile_98th(uint32_t value); + private: + uint32_t _internal_ping_ntile_98th() const; + void _internal_set_ping_ntile_98th(uint32_t value); + public: + + // optional uint32 jitter_histogram_negligible = 61; + bool has_jitter_histogram_negligible() const; + private: + bool _internal_has_jitter_histogram_negligible() const; + public: + void clear_jitter_histogram_negligible(); + uint32_t jitter_histogram_negligible() const; + void set_jitter_histogram_negligible(uint32_t value); + private: + uint32_t _internal_jitter_histogram_negligible() const; + void _internal_set_jitter_histogram_negligible(uint32_t value); + public: + + // optional uint32 jitter_histogram_1 = 62; + bool has_jitter_histogram_1() const; + private: + bool _internal_has_jitter_histogram_1() const; + public: + void clear_jitter_histogram_1(); + uint32_t jitter_histogram_1() const; + void set_jitter_histogram_1(uint32_t value); + private: + uint32_t _internal_jitter_histogram_1() const; + void _internal_set_jitter_histogram_1(uint32_t value); + public: + + // optional uint32 jitter_histogram_2 = 63; + bool has_jitter_histogram_2() const; + private: + bool _internal_has_jitter_histogram_2() const; + public: + void clear_jitter_histogram_2(); + uint32_t jitter_histogram_2() const; + void set_jitter_histogram_2(uint32_t value); + private: + uint32_t _internal_jitter_histogram_2() const; + void _internal_set_jitter_histogram_2(uint32_t value); + public: + + // optional uint32 jitter_histogram_5 = 64; + bool has_jitter_histogram_5() const; + private: + bool _internal_has_jitter_histogram_5() const; + public: + void clear_jitter_histogram_5(); + uint32_t jitter_histogram_5() const; + void set_jitter_histogram_5(uint32_t value); + private: + uint32_t _internal_jitter_histogram_5() const; + void _internal_set_jitter_histogram_5(uint32_t value); + public: + + // optional uint32 jitter_histogram_10 = 65; + bool has_jitter_histogram_10() const; + private: + bool _internal_has_jitter_histogram_10() const; + public: + void clear_jitter_histogram_10(); + uint32_t jitter_histogram_10() const; + void set_jitter_histogram_10(uint32_t value); + private: + uint32_t _internal_jitter_histogram_10() const; + void _internal_set_jitter_histogram_10(uint32_t value); + public: + + // optional uint32 jitter_histogram_20 = 66; + bool has_jitter_histogram_20() const; + private: + bool _internal_has_jitter_histogram_20() const; + public: + void clear_jitter_histogram_20(); + uint32_t jitter_histogram_20() const; + void set_jitter_histogram_20(uint32_t value); + private: + uint32_t _internal_jitter_histogram_20() const; + void _internal_set_jitter_histogram_20(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramLinkLifetimeStats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > multipath_packets_recv_sequenced_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > multipath_packets_recv_later_; + uint64_t packets_sent_; + uint64_t kb_sent_; + uint64_t packets_recv_; + uint64_t kb_recv_; + uint64_t packets_recv_sequenced_; + uint64_t packets_recv_dropped_; + uint32_t connected_seconds_; + uint32_t multipath_send_enabled_; + uint64_t packets_recv_out_of_order_; + uint64_t packets_recv_duplicate_; + uint64_t packets_recv_lurch_; + uint64_t packets_recv_out_of_order_corrected_; + uint32_t quality_histogram_100_; + uint32_t quality_histogram_99_; + uint32_t quality_histogram_97_; + uint32_t quality_histogram_95_; + uint32_t quality_histogram_90_; + uint32_t quality_histogram_75_; + uint32_t quality_histogram_50_; + uint32_t quality_histogram_1_; + uint32_t quality_histogram_dead_; + uint32_t quality_ntile_2nd_; + uint32_t quality_ntile_5th_; + uint32_t quality_ntile_25th_; + uint32_t quality_ntile_50th_; + uint32_t ping_histogram_25_; + uint32_t ping_histogram_50_; + uint32_t ping_histogram_75_; + uint32_t ping_histogram_100_; + uint32_t ping_histogram_125_; + uint32_t ping_histogram_150_; + uint32_t ping_histogram_200_; + uint32_t ping_histogram_300_; + uint32_t ping_histogram_max_; + uint32_t ping_ntile_5th_; + uint32_t ping_ntile_50th_; + uint32_t ping_ntile_75th_; + uint32_t ping_ntile_95th_; + uint32_t ping_ntile_98th_; + uint32_t jitter_histogram_negligible_; + uint32_t jitter_histogram_1_; + uint32_t jitter_histogram_2_; + uint32_t jitter_histogram_5_; + uint32_t jitter_histogram_10_; + uint32_t jitter_histogram_20_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramConnectionQuality final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionQuality) */ { + public: + inline CMsgSteamDatagramConnectionQuality() : CMsgSteamDatagramConnectionQuality(nullptr) {} + ~CMsgSteamDatagramConnectionQuality() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramConnectionQuality(const CMsgSteamDatagramConnectionQuality& from); + CMsgSteamDatagramConnectionQuality(CMsgSteamDatagramConnectionQuality&& from) noexcept + : CMsgSteamDatagramConnectionQuality() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramConnectionQuality& operator=(const CMsgSteamDatagramConnectionQuality& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramConnectionQuality& operator=(CMsgSteamDatagramConnectionQuality&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramConnectionQuality& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramConnectionQuality* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramConnectionQuality_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSteamDatagramConnectionQuality& a, CMsgSteamDatagramConnectionQuality& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramConnectionQuality* 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(CMsgSteamDatagramConnectionQuality* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramConnectionQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramConnectionQuality& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramConnectionQuality& from) { + CMsgSteamDatagramConnectionQuality::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(CMsgSteamDatagramConnectionQuality* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramConnectionQuality"; + } + protected: + explicit CMsgSteamDatagramConnectionQuality(::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 { + kInstantaneousFieldNumber = 1, + kLifetimeFieldNumber = 2, + }; + // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; + bool has_instantaneous() const; + private: + bool _internal_has_instantaneous() const; + public: + void clear_instantaneous(); + const ::CMsgSteamDatagramLinkInstantaneousStats& instantaneous() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramLinkInstantaneousStats* release_instantaneous(); + ::CMsgSteamDatagramLinkInstantaneousStats* mutable_instantaneous(); + void set_allocated_instantaneous(::CMsgSteamDatagramLinkInstantaneousStats* instantaneous); + private: + const ::CMsgSteamDatagramLinkInstantaneousStats& _internal_instantaneous() const; + ::CMsgSteamDatagramLinkInstantaneousStats* _internal_mutable_instantaneous(); + public: + void unsafe_arena_set_allocated_instantaneous( + ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous); + ::CMsgSteamDatagramLinkInstantaneousStats* unsafe_arena_release_instantaneous(); + + // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; + bool has_lifetime() const; + private: + bool _internal_has_lifetime() const; + public: + void clear_lifetime(); + const ::CMsgSteamDatagramLinkLifetimeStats& lifetime() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramLinkLifetimeStats* release_lifetime(); + ::CMsgSteamDatagramLinkLifetimeStats* mutable_lifetime(); + void set_allocated_lifetime(::CMsgSteamDatagramLinkLifetimeStats* lifetime); + private: + const ::CMsgSteamDatagramLinkLifetimeStats& _internal_lifetime() const; + ::CMsgSteamDatagramLinkLifetimeStats* _internal_mutable_lifetime(); + public: + void unsafe_arena_set_allocated_lifetime( + ::CMsgSteamDatagramLinkLifetimeStats* lifetime); + ::CMsgSteamDatagramLinkLifetimeStats* unsafe_arena_release_lifetime(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionQuality) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous_; + ::CMsgSteamDatagramLinkLifetimeStats* lifetime_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgICECandidate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICECandidate) */ { + public: + inline CMsgICECandidate() : CMsgICECandidate(nullptr) {} + ~CMsgICECandidate() override; + explicit PROTOBUF_CONSTEXPR CMsgICECandidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgICECandidate(const CMsgICECandidate& from); + CMsgICECandidate(CMsgICECandidate&& from) noexcept + : CMsgICECandidate() { + *this = ::std::move(from); + } + + inline CMsgICECandidate& operator=(const CMsgICECandidate& from) { + CopyFrom(from); + return *this; + } + inline CMsgICECandidate& operator=(CMsgICECandidate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgICECandidate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgICECandidate* internal_default_instance() { + return reinterpret_cast( + &_CMsgICECandidate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgICECandidate& a, CMsgICECandidate& b) { + a.Swap(&b); + } + inline void Swap(CMsgICECandidate* 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(CMsgICECandidate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgICECandidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgICECandidate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgICECandidate& from) { + CMsgICECandidate::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(CMsgICECandidate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgICECandidate"; + } + protected: + explicit CMsgICECandidate(::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 { + kCandidateFieldNumber = 3, + }; + // optional string candidate = 3; + bool has_candidate() const; + private: + bool _internal_has_candidate() const; + public: + void clear_candidate(); + const std::string& candidate() const; + template + void set_candidate(ArgT0&& arg0, ArgT... args); + std::string* mutable_candidate(); + PROTOBUF_NODISCARD std::string* release_candidate(); + void set_allocated_candidate(std::string* candidate); + private: + const std::string& _internal_candidate() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value); + std::string* _internal_mutable_candidate(); + public: + + // @@protoc_insertion_point(class_scope:CMsgICECandidate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgICERendezvous_Auth final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICERendezvous.Auth) */ { + public: + inline CMsgICERendezvous_Auth() : CMsgICERendezvous_Auth(nullptr) {} + ~CMsgICERendezvous_Auth() override; + explicit PROTOBUF_CONSTEXPR CMsgICERendezvous_Auth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgICERendezvous_Auth(const CMsgICERendezvous_Auth& from); + CMsgICERendezvous_Auth(CMsgICERendezvous_Auth&& from) noexcept + : CMsgICERendezvous_Auth() { + *this = ::std::move(from); + } + + inline CMsgICERendezvous_Auth& operator=(const CMsgICERendezvous_Auth& from) { + CopyFrom(from); + return *this; + } + inline CMsgICERendezvous_Auth& operator=(CMsgICERendezvous_Auth&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgICERendezvous_Auth& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgICERendezvous_Auth* internal_default_instance() { + return reinterpret_cast( + &_CMsgICERendezvous_Auth_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgICERendezvous_Auth& a, CMsgICERendezvous_Auth& b) { + a.Swap(&b); + } + inline void Swap(CMsgICERendezvous_Auth* 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(CMsgICERendezvous_Auth* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgICERendezvous_Auth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgICERendezvous_Auth& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgICERendezvous_Auth& from) { + CMsgICERendezvous_Auth::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(CMsgICERendezvous_Auth* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgICERendezvous.Auth"; + } + protected: + explicit CMsgICERendezvous_Auth(::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 { + kPwdFragFieldNumber = 1, + }; + // optional string pwd_frag = 1; + bool has_pwd_frag() const; + private: + bool _internal_has_pwd_frag() const; + public: + void clear_pwd_frag(); + const std::string& pwd_frag() const; + template + void set_pwd_frag(ArgT0&& arg0, ArgT... args); + std::string* mutable_pwd_frag(); + PROTOBUF_NODISCARD std::string* release_pwd_frag(); + void set_allocated_pwd_frag(std::string* pwd_frag); + private: + const std::string& _internal_pwd_frag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_pwd_frag(const std::string& value); + std::string* _internal_mutable_pwd_frag(); + public: + + // @@protoc_insertion_point(class_scope:CMsgICERendezvous.Auth) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pwd_frag_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgICERendezvous final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICERendezvous) */ { + public: + inline CMsgICERendezvous() : CMsgICERendezvous(nullptr) {} + ~CMsgICERendezvous() override; + explicit PROTOBUF_CONSTEXPR CMsgICERendezvous(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgICERendezvous(const CMsgICERendezvous& from); + CMsgICERendezvous(CMsgICERendezvous&& from) noexcept + : CMsgICERendezvous() { + *this = ::std::move(from); + } + + inline CMsgICERendezvous& operator=(const CMsgICERendezvous& from) { + CopyFrom(from); + return *this; + } + inline CMsgICERendezvous& operator=(CMsgICERendezvous&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgICERendezvous& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgICERendezvous* internal_default_instance() { + return reinterpret_cast( + &_CMsgICERendezvous_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgICERendezvous& a, CMsgICERendezvous& b) { + a.Swap(&b); + } + inline void Swap(CMsgICERendezvous* 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(CMsgICERendezvous* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgICERendezvous* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgICERendezvous& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgICERendezvous& from) { + CMsgICERendezvous::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(CMsgICERendezvous* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgICERendezvous"; + } + protected: + explicit CMsgICERendezvous(::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 ---------------------------------------------------- + + typedef CMsgICERendezvous_Auth Auth; + + // accessors ------------------------------------------------------- + + enum : int { + kAddCandidateFieldNumber = 1, + kAuthFieldNumber = 2, + }; + // optional .CMsgICECandidate add_candidate = 1; + bool has_add_candidate() const; + private: + bool _internal_has_add_candidate() const; + public: + void clear_add_candidate(); + const ::CMsgICECandidate& add_candidate() const; + PROTOBUF_NODISCARD ::CMsgICECandidate* release_add_candidate(); + ::CMsgICECandidate* mutable_add_candidate(); + void set_allocated_add_candidate(::CMsgICECandidate* add_candidate); + private: + const ::CMsgICECandidate& _internal_add_candidate() const; + ::CMsgICECandidate* _internal_mutable_add_candidate(); + public: + void unsafe_arena_set_allocated_add_candidate( + ::CMsgICECandidate* add_candidate); + ::CMsgICECandidate* unsafe_arena_release_add_candidate(); + + // optional .CMsgICERendezvous.Auth auth = 2; + bool has_auth() const; + private: + bool _internal_has_auth() const; + public: + void clear_auth(); + const ::CMsgICERendezvous_Auth& auth() const; + PROTOBUF_NODISCARD ::CMsgICERendezvous_Auth* release_auth(); + ::CMsgICERendezvous_Auth* mutable_auth(); + void set_allocated_auth(::CMsgICERendezvous_Auth* auth); + private: + const ::CMsgICERendezvous_Auth& _internal_auth() const; + ::CMsgICERendezvous_Auth* _internal_mutable_auth(); + public: + void unsafe_arena_set_allocated_auth( + ::CMsgICERendezvous_Auth* auth); + ::CMsgICERendezvous_Auth* unsafe_arena_release_auth(); + + // @@protoc_insertion_point(class_scope:CMsgICERendezvous) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgICECandidate* add_candidate_; + ::CMsgICERendezvous_Auth* auth_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous_ConnectRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest() : CMsgSteamNetworkingP2PRendezvous_ConnectRequest(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous_ConnectRequest(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from); + CMsgSteamNetworkingP2PRendezvous_ConnectRequest(CMsgSteamNetworkingP2PRendezvous_ConnectRequest&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous_ConnectRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous_ConnectRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest& a, CMsgSteamNetworkingP2PRendezvous_ConnectRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* 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(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous_ConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { + CMsgSteamNetworkingP2PRendezvous_ConnectRequest::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(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous.ConnectRequest"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::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 { + kFromFakeipFieldNumber = 11, + kCryptFieldNumber = 6, + kCertFieldNumber = 7, + kToVirtualPortFieldNumber = 9, + kFromVirtualPortFieldNumber = 10, + }; + // optional string from_fakeip = 11; + bool has_from_fakeip() const; + private: + bool _internal_has_from_fakeip() const; + public: + void clear_from_fakeip(); + const std::string& from_fakeip() const; + template + void set_from_fakeip(ArgT0&& arg0, ArgT... args); + std::string* mutable_from_fakeip(); + PROTOBUF_NODISCARD std::string* release_from_fakeip(); + void set_allocated_from_fakeip(std::string* from_fakeip); + private: + const std::string& _internal_from_fakeip() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_fakeip(const std::string& value); + std::string* _internal_mutable_from_fakeip(); + public: + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamDatagramCertificateSigned cert = 7; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional uint32 to_virtual_port = 9; + bool has_to_virtual_port() const; + private: + bool _internal_has_to_virtual_port() const; + public: + void clear_to_virtual_port(); + uint32_t to_virtual_port() const; + void set_to_virtual_port(uint32_t value); + private: + uint32_t _internal_to_virtual_port() const; + void _internal_set_to_virtual_port(uint32_t value); + public: + + // optional uint32 from_virtual_port = 10; + bool has_from_virtual_port() const; + private: + bool _internal_has_from_virtual_port() const; + public: + void clear_from_virtual_port(); + uint32_t from_virtual_port() const; + void set_from_virtual_port(uint32_t value); + private: + uint32_t _internal_from_virtual_port() const; + void _internal_set_from_virtual_port(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_fakeip_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamDatagramCertificateSigned* cert_; + uint32_t to_virtual_port_; + uint32_t from_virtual_port_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous_ConnectOK final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectOK) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous_ConnectOK() : CMsgSteamNetworkingP2PRendezvous_ConnectOK(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectOK() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous_ConnectOK(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from); + CMsgSteamNetworkingP2PRendezvous_ConnectOK(CMsgSteamNetworkingP2PRendezvous_ConnectOK&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous_ConnectOK() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous_ConnectOK& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous_ConnectOK& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectOK&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous_ConnectOK& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous_ConnectOK* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectOK& a, CMsgSteamNetworkingP2PRendezvous_ConnectOK& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* 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(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous_ConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { + CMsgSteamNetworkingP2PRendezvous_ConnectOK::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(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous.ConnectOK"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous_ConnectOK(::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 { + kCryptFieldNumber = 5, + kCertFieldNumber = 6, + }; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamDatagramCertificateSigned cert = 6; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectOK) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamDatagramCertificateSigned* cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() : CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from); + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& a, CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* 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(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { + CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::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(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::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 { + kDebugFieldNumber = 5, + kReasonCodeFieldNumber = 6, + }; + // optional string debug = 5; + bool has_debug() const; + private: + bool _internal_has_debug() const; + public: + void clear_debug(); + const std::string& debug() const; + template + void set_debug(ArgT0&& arg0, ArgT... args); + std::string* mutable_debug(); + PROTOBUF_NODISCARD std::string* release_debug(); + void set_allocated_debug(std::string* debug); + private: + const std::string& _internal_debug() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); + std::string* _internal_mutable_debug(); + public: + + // optional uint32 reason_code = 6; + bool has_reason_code() const; + private: + bool _internal_has_reason_code() const; + public: + void clear_reason_code(); + uint32_t reason_code() const; + void set_reason_code(uint32_t value); + private: + uint32_t _internal_reason_code() const; + void _internal_set_reason_code(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; + uint32_t reason_code_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous_ReliableMessage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage() : CMsgSteamNetworkingP2PRendezvous_ReliableMessage(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous_ReliableMessage() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous_ReliableMessage(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from); + CMsgSteamNetworkingP2PRendezvous_ReliableMessage(CMsgSteamNetworkingP2PRendezvous_ReliableMessage&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous_ReliableMessage() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage& operator=(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage& operator=(CMsgSteamNetworkingP2PRendezvous_ReliableMessage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous_ReliableMessage& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage& a, CMsgSteamNetworkingP2PRendezvous_ReliableMessage& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* 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(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous_ReliableMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { + CMsgSteamNetworkingP2PRendezvous_ReliableMessage::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(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous.ReliableMessage"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::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 { + kIceFieldNumber = 1, + }; + // optional .CMsgICERendezvous ice = 1; + bool has_ice() const; + private: + bool _internal_has_ice() const; + public: + void clear_ice(); + const ::CMsgICERendezvous& ice() const; + PROTOBUF_NODISCARD ::CMsgICERendezvous* release_ice(); + ::CMsgICERendezvous* mutable_ice(); + void set_allocated_ice(::CMsgICERendezvous* ice); + private: + const ::CMsgICERendezvous& _internal_ice() const; + ::CMsgICERendezvous* _internal_mutable_ice(); + public: + void unsafe_arena_set_allocated_ice( + ::CMsgICERendezvous* ice); + ::CMsgICERendezvous* unsafe_arena_release_ice(); + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgICERendezvous* ice_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() : CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from); + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& operator=(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& operator=(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& a, CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* 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(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { + CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::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(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous.ApplicationMessage"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::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 { + kDataFieldNumber = 1, + kMsgNumFieldNumber = 2, + kFlagsFieldNumber = 3, + kLaneIdxFieldNumber = 4, + }; + // optional bytes data = 1; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional uint64 msg_num = 2; + bool has_msg_num() const; + private: + bool _internal_has_msg_num() const; + public: + void clear_msg_num(); + uint64_t msg_num() const; + void set_msg_num(uint64_t value); + private: + uint64_t _internal_msg_num() const; + void _internal_set_msg_num(uint64_t value); + public: + + // optional uint32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 lane_idx = 4; + bool has_lane_idx() const; + private: + bool _internal_has_lane_idx() const; + public: + void clear_lane_idx(); + uint32_t lane_idx() const; + void set_lane_idx(uint32_t value); + private: + uint32_t _internal_lane_idx() const; + void _internal_set_lane_idx(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + uint64_t msg_num_; + uint32_t flags_; + uint32_t lane_idx_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingP2PRendezvous final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous) */ { + public: + inline CMsgSteamNetworkingP2PRendezvous() : CMsgSteamNetworkingP2PRendezvous(nullptr) {} + ~CMsgSteamNetworkingP2PRendezvous() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingP2PRendezvous(const CMsgSteamNetworkingP2PRendezvous& from); + CMsgSteamNetworkingP2PRendezvous(CMsgSteamNetworkingP2PRendezvous&& from) noexcept + : CMsgSteamNetworkingP2PRendezvous() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingP2PRendezvous& operator=(const CMsgSteamNetworkingP2PRendezvous& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingP2PRendezvous& operator=(CMsgSteamNetworkingP2PRendezvous&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingP2PRendezvous& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingP2PRendezvous* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingP2PRendezvous_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CMsgSteamNetworkingP2PRendezvous& a, CMsgSteamNetworkingP2PRendezvous& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingP2PRendezvous* 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(CMsgSteamNetworkingP2PRendezvous* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingP2PRendezvous* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingP2PRendezvous& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingP2PRendezvous& from) { + CMsgSteamNetworkingP2PRendezvous::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(CMsgSteamNetworkingP2PRendezvous* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingP2PRendezvous"; + } + protected: + explicit CMsgSteamNetworkingP2PRendezvous(::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 ---------------------------------------------------- + + typedef CMsgSteamNetworkingP2PRendezvous_ConnectRequest ConnectRequest; + typedef CMsgSteamNetworkingP2PRendezvous_ConnectOK ConnectOK; + typedef CMsgSteamNetworkingP2PRendezvous_ConnectionClosed ConnectionClosed; + typedef CMsgSteamNetworkingP2PRendezvous_ReliableMessage ReliableMessage; + typedef CMsgSteamNetworkingP2PRendezvous_ApplicationMessage ApplicationMessage; + + // accessors ------------------------------------------------------- + + enum : int { + kReliableMessagesFieldNumber = 13, + kApplicationMessagesFieldNumber = 15, + kSdrRoutesFieldNumber = 2, + kFromIdentityFieldNumber = 8, + kToIdentityFieldNumber = 10, + kHostedServerTicketFieldNumber = 14, + kConnectRequestFieldNumber = 4, + kConnectOkFieldNumber = 5, + kConnectionClosedFieldNumber = 6, + kToConnectionIdFieldNumber = 1, + kAckPeerRoutesRevisionFieldNumber = 3, + kIceEnabledFieldNumber = 7, + kFromConnectionIdFieldNumber = 9, + kAckReliableMsgFieldNumber = 11, + kFirstReliableMsgFieldNumber = 12, + }; + // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; + int reliable_messages_size() const; + private: + int _internal_reliable_messages_size() const; + public: + void clear_reliable_messages(); + ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* mutable_reliable_messages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >* + mutable_reliable_messages(); + private: + const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& _internal_reliable_messages(int index) const; + ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* _internal_add_reliable_messages(); + public: + const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& reliable_messages(int index) const; + ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* add_reliable_messages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >& + reliable_messages() const; + + // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; + int application_messages_size() const; + private: + int _internal_application_messages_size() const; + public: + void clear_application_messages(); + ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* mutable_application_messages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >* + mutable_application_messages(); + private: + const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& _internal_application_messages(int index) const; + ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* _internal_add_application_messages(); + public: + const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& application_messages(int index) const; + ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* add_application_messages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >& + application_messages() const; + + // optional bytes sdr_routes = 2; + bool has_sdr_routes() const; + private: + bool _internal_has_sdr_routes() const; + public: + void clear_sdr_routes(); + const std::string& sdr_routes() const; + template + void set_sdr_routes(ArgT0&& arg0, ArgT... args); + std::string* mutable_sdr_routes(); + PROTOBUF_NODISCARD std::string* release_sdr_routes(); + void set_allocated_sdr_routes(std::string* sdr_routes); + private: + const std::string& _internal_sdr_routes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdr_routes(const std::string& value); + std::string* _internal_mutable_sdr_routes(); + public: + + // optional string from_identity = 8; + bool has_from_identity() const; + private: + bool _internal_has_from_identity() const; + public: + void clear_from_identity(); + const std::string& from_identity() const; + template + void set_from_identity(ArgT0&& arg0, ArgT... args); + std::string* mutable_from_identity(); + PROTOBUF_NODISCARD std::string* release_from_identity(); + void set_allocated_from_identity(std::string* from_identity); + private: + const std::string& _internal_from_identity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity(const std::string& value); + std::string* _internal_mutable_from_identity(); + public: + + // optional string to_identity = 10; + bool has_to_identity() const; + private: + bool _internal_has_to_identity() const; + public: + void clear_to_identity(); + const std::string& to_identity() const; + template + void set_to_identity(ArgT0&& arg0, ArgT... args); + std::string* mutable_to_identity(); + PROTOBUF_NODISCARD std::string* release_to_identity(); + void set_allocated_to_identity(std::string* to_identity); + private: + const std::string& _internal_to_identity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_to_identity(const std::string& value); + std::string* _internal_mutable_to_identity(); + public: + + // optional bytes hosted_server_ticket = 14; + bool has_hosted_server_ticket() const; + private: + bool _internal_has_hosted_server_ticket() const; + public: + void clear_hosted_server_ticket(); + const std::string& hosted_server_ticket() const; + template + void set_hosted_server_ticket(ArgT0&& arg0, ArgT... args); + std::string* mutable_hosted_server_ticket(); + PROTOBUF_NODISCARD std::string* release_hosted_server_ticket(); + void set_allocated_hosted_server_ticket(std::string* hosted_server_ticket); + private: + const std::string& _internal_hosted_server_ticket() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_hosted_server_ticket(const std::string& value); + std::string* _internal_mutable_hosted_server_ticket(); + public: + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; + bool has_connect_request() const; + private: + bool _internal_has_connect_request() const; + public: + void clear_connect_request(); + const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& connect_request() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* release_connect_request(); + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* mutable_connect_request(); + void set_allocated_connect_request(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request); + private: + const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& _internal_connect_request() const; + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* _internal_mutable_connect_request(); + public: + void unsafe_arena_set_allocated_connect_request( + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request); + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* unsafe_arena_release_connect_request(); + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; + bool has_connect_ok() const; + private: + bool _internal_has_connect_ok() const; + public: + void clear_connect_ok(); + const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& connect_ok() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* release_connect_ok(); + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* mutable_connect_ok(); + void set_allocated_connect_ok(::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok); + private: + const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& _internal_connect_ok() const; + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* _internal_mutable_connect_ok(); + public: + void unsafe_arena_set_allocated_connect_ok( + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok); + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* unsafe_arena_release_connect_ok(); + + // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; + bool has_connection_closed() const; + private: + bool _internal_has_connection_closed() const; + public: + void clear_connection_closed(); + const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& connection_closed() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* release_connection_closed(); + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* mutable_connection_closed(); + void set_allocated_connection_closed(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed); + private: + const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& _internal_connection_closed() const; + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* _internal_mutable_connection_closed(); + public: + void unsafe_arena_set_allocated_connection_closed( + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed); + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* unsafe_arena_release_connection_closed(); + + // optional fixed32 to_connection_id = 1; + bool has_to_connection_id() const; + private: + bool _internal_has_to_connection_id() const; + public: + void clear_to_connection_id(); + uint32_t to_connection_id() const; + void set_to_connection_id(uint32_t value); + private: + uint32_t _internal_to_connection_id() const; + void _internal_set_to_connection_id(uint32_t value); + public: + + // optional uint32 ack_peer_routes_revision = 3; + bool has_ack_peer_routes_revision() const; + private: + bool _internal_has_ack_peer_routes_revision() const; + public: + void clear_ack_peer_routes_revision(); + uint32_t ack_peer_routes_revision() const; + void set_ack_peer_routes_revision(uint32_t value); + private: + uint32_t _internal_ack_peer_routes_revision() const; + void _internal_set_ack_peer_routes_revision(uint32_t value); + public: + + // optional bool ice_enabled = 7; + bool has_ice_enabled() const; + private: + bool _internal_has_ice_enabled() const; + public: + void clear_ice_enabled(); + bool ice_enabled() const; + void set_ice_enabled(bool value); + private: + bool _internal_ice_enabled() const; + void _internal_set_ice_enabled(bool value); + public: + + // optional fixed32 from_connection_id = 9; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // optional uint32 ack_reliable_msg = 11; + bool has_ack_reliable_msg() const; + private: + bool _internal_has_ack_reliable_msg() const; + public: + void clear_ack_reliable_msg(); + uint32_t ack_reliable_msg() const; + void set_ack_reliable_msg(uint32_t value); + private: + uint32_t _internal_ack_reliable_msg() const; + void _internal_set_ack_reliable_msg(uint32_t value); + public: + + // optional uint32 first_reliable_msg = 12; + bool has_first_reliable_msg() const; + private: + bool _internal_has_first_reliable_msg() const; + public: + void clear_first_reliable_msg(); + uint32_t first_reliable_msg() const; + void set_first_reliable_msg(uint32_t value); + private: + uint32_t _internal_first_reliable_msg() const; + void _internal_set_first_reliable_msg(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage > reliable_messages_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage > application_messages_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdr_routes_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr to_identity_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hosted_server_ticket_; + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request_; + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok_; + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed_; + uint32_t to_connection_id_; + uint32_t ack_peer_routes_revision_; + bool ice_enabled_; + uint32_t from_connection_id_; + uint32_t ack_reliable_msg_; + uint32_t first_reliable_msg_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamNetworkingICESessionSummary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingICESessionSummary) */ { + public: + inline CMsgSteamNetworkingICESessionSummary() : CMsgSteamNetworkingICESessionSummary(nullptr) {} + ~CMsgSteamNetworkingICESessionSummary() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingICESessionSummary(const CMsgSteamNetworkingICESessionSummary& from); + CMsgSteamNetworkingICESessionSummary(CMsgSteamNetworkingICESessionSummary&& from) noexcept + : CMsgSteamNetworkingICESessionSummary() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingICESessionSummary& operator=(const CMsgSteamNetworkingICESessionSummary& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingICESessionSummary& operator=(CMsgSteamNetworkingICESessionSummary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingICESessionSummary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingICESessionSummary* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingICESessionSummary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CMsgSteamNetworkingICESessionSummary& a, CMsgSteamNetworkingICESessionSummary& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingICESessionSummary* 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(CMsgSteamNetworkingICESessionSummary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingICESessionSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingICESessionSummary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingICESessionSummary& from) { + CMsgSteamNetworkingICESessionSummary::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(CMsgSteamNetworkingICESessionSummary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingICESessionSummary"; + } + protected: + explicit CMsgSteamNetworkingICESessionSummary(::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 { + kLocalCandidateTypesFieldNumber = 1, + kRemoteCandidateTypesFieldNumber = 2, + kInitialRouteKindFieldNumber = 3, + kInitialPingFieldNumber = 4, + kNegotiationMsFieldNumber = 5, + kInitialScoreFieldNumber = 6, + kFailureReasonCodeFieldNumber = 7, + kSelectedSecondsFieldNumber = 12, + kUserSettingsFieldNumber = 13, + kIceEnableVarFieldNumber = 14, + kLocalCandidateTypesAllowedFieldNumber = 15, + kBestRouteKindFieldNumber = 16, + kBestPingFieldNumber = 17, + kBestScoreFieldNumber = 18, + kBestTimeFieldNumber = 19, + }; + // optional uint32 local_candidate_types = 1; + bool has_local_candidate_types() const; + private: + bool _internal_has_local_candidate_types() const; + public: + void clear_local_candidate_types(); + uint32_t local_candidate_types() const; + void set_local_candidate_types(uint32_t value); + private: + uint32_t _internal_local_candidate_types() const; + void _internal_set_local_candidate_types(uint32_t value); + public: + + // optional uint32 remote_candidate_types = 2; + bool has_remote_candidate_types() const; + private: + bool _internal_has_remote_candidate_types() const; + public: + void clear_remote_candidate_types(); + uint32_t remote_candidate_types() const; + void set_remote_candidate_types(uint32_t value); + private: + uint32_t _internal_remote_candidate_types() const; + void _internal_set_remote_candidate_types(uint32_t value); + public: + + // optional uint32 initial_route_kind = 3; + bool has_initial_route_kind() const; + private: + bool _internal_has_initial_route_kind() const; + public: + void clear_initial_route_kind(); + uint32_t initial_route_kind() const; + void set_initial_route_kind(uint32_t value); + private: + uint32_t _internal_initial_route_kind() const; + void _internal_set_initial_route_kind(uint32_t value); + public: + + // optional uint32 initial_ping = 4; + bool has_initial_ping() const; + private: + bool _internal_has_initial_ping() const; + public: + void clear_initial_ping(); + uint32_t initial_ping() const; + void set_initial_ping(uint32_t value); + private: + uint32_t _internal_initial_ping() const; + void _internal_set_initial_ping(uint32_t value); + public: + + // optional uint32 negotiation_ms = 5; + bool has_negotiation_ms() const; + private: + bool _internal_has_negotiation_ms() const; + public: + void clear_negotiation_ms(); + uint32_t negotiation_ms() const; + void set_negotiation_ms(uint32_t value); + private: + uint32_t _internal_negotiation_ms() const; + void _internal_set_negotiation_ms(uint32_t value); + public: + + // optional uint32 initial_score = 6; + bool has_initial_score() const; + private: + bool _internal_has_initial_score() const; + public: + void clear_initial_score(); + uint32_t initial_score() const; + void set_initial_score(uint32_t value); + private: + uint32_t _internal_initial_score() const; + void _internal_set_initial_score(uint32_t value); + public: + + // optional uint32 failure_reason_code = 7; + bool has_failure_reason_code() const; + private: + bool _internal_has_failure_reason_code() const; + public: + void clear_failure_reason_code(); + uint32_t failure_reason_code() const; + void set_failure_reason_code(uint32_t value); + private: + uint32_t _internal_failure_reason_code() const; + void _internal_set_failure_reason_code(uint32_t value); + public: + + // optional uint32 selected_seconds = 12; + bool has_selected_seconds() const; + private: + bool _internal_has_selected_seconds() const; + public: + void clear_selected_seconds(); + uint32_t selected_seconds() const; + void set_selected_seconds(uint32_t value); + private: + uint32_t _internal_selected_seconds() const; + void _internal_set_selected_seconds(uint32_t value); + public: + + // optional uint32 user_settings = 13; + bool has_user_settings() const; + private: + bool _internal_has_user_settings() const; + public: + void clear_user_settings(); + uint32_t user_settings() const; + void set_user_settings(uint32_t value); + private: + uint32_t _internal_user_settings() const; + void _internal_set_user_settings(uint32_t value); + public: + + // optional uint32 ice_enable_var = 14; + bool has_ice_enable_var() const; + private: + bool _internal_has_ice_enable_var() const; + public: + void clear_ice_enable_var(); + uint32_t ice_enable_var() const; + void set_ice_enable_var(uint32_t value); + private: + uint32_t _internal_ice_enable_var() const; + void _internal_set_ice_enable_var(uint32_t value); + public: + + // optional uint32 local_candidate_types_allowed = 15; + bool has_local_candidate_types_allowed() const; + private: + bool _internal_has_local_candidate_types_allowed() const; + public: + void clear_local_candidate_types_allowed(); + uint32_t local_candidate_types_allowed() const; + void set_local_candidate_types_allowed(uint32_t value); + private: + uint32_t _internal_local_candidate_types_allowed() const; + void _internal_set_local_candidate_types_allowed(uint32_t value); + public: + + // optional uint32 best_route_kind = 16; + bool has_best_route_kind() const; + private: + bool _internal_has_best_route_kind() const; + public: + void clear_best_route_kind(); + uint32_t best_route_kind() const; + void set_best_route_kind(uint32_t value); + private: + uint32_t _internal_best_route_kind() const; + void _internal_set_best_route_kind(uint32_t value); + public: + + // optional uint32 best_ping = 17; + bool has_best_ping() const; + private: + bool _internal_has_best_ping() const; + public: + void clear_best_ping(); + uint32_t best_ping() const; + void set_best_ping(uint32_t value); + private: + uint32_t _internal_best_ping() const; + void _internal_set_best_ping(uint32_t value); + public: + + // optional uint32 best_score = 18; + bool has_best_score() const; + private: + bool _internal_has_best_score() const; + public: + void clear_best_score(); + uint32_t best_score() const; + void set_best_score(uint32_t value); + private: + uint32_t _internal_best_score() const; + void _internal_set_best_score(uint32_t value); + public: + + // optional uint32 best_time = 19; + bool has_best_time() const; + private: + bool _internal_has_best_time() const; + public: + void clear_best_time(); + uint32_t best_time() const; + void set_best_time(uint32_t value); + private: + uint32_t _internal_best_time() const; + void _internal_set_best_time(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingICESessionSummary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t local_candidate_types_; + uint32_t remote_candidate_types_; + uint32_t initial_route_kind_; + uint32_t initial_ping_; + uint32_t negotiation_ms_; + uint32_t initial_score_; + uint32_t failure_reason_code_; + uint32_t selected_seconds_; + uint32_t user_settings_; + uint32_t ice_enable_var_; + uint32_t local_candidate_types_allowed_; + uint32_t best_route_kind_; + uint32_t best_ping_; + uint32_t best_score_; + uint32_t best_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSteamDatagramSessionCryptInfo + +// optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; +inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_key_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfo::has_key_type() const { + return _internal_has_key_type(); +} +inline void CMsgSteamDatagramSessionCryptInfo::clear_key_type() { + _impl_.key_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline ::CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::_internal_key_type() const { + return static_cast< ::CMsgSteamDatagramSessionCryptInfo_EKeyType >(_impl_.key_type_); +} +inline ::CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::key_type() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.key_type) + return _internal_key_type(); +} +inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value) { + assert(::CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.key_type_ = value; +} +inline void CMsgSteamDatagramSessionCryptInfo::set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value) { + _internal_set_key_type(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.key_type) +} + +// optional bytes key_data = 2; +inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_key_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfo::has_key_data() const { + return _internal_has_key_data(); +} +inline void CMsgSteamDatagramSessionCryptInfo::clear_key_data() { + _impl_.key_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfo::key_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.key_data) + return _internal_key_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSessionCryptInfo::set_key_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.key_data) +} +inline std::string* CMsgSteamDatagramSessionCryptInfo::mutable_key_data() { + std::string* _s = _internal_mutable_key_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfo.key_data) + return _s; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfo::_internal_key_data() const { + return _impl_.key_data_.Get(); +} +inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_key_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfo::_internal_mutable_key_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.key_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfo::release_key_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfo.key_data) + if (!_internal_has_key_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.key_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSessionCryptInfo::set_allocated_key_data(std::string* key_data) { + if (key_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfo.key_data) +} + +// optional fixed64 nonce = 3; +inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_nonce() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfo::has_nonce() const { + return _internal_has_nonce(); +} +inline void CMsgSteamDatagramSessionCryptInfo::clear_nonce() { + _impl_.nonce_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramSessionCryptInfo::_internal_nonce() const { + return _impl_.nonce_; +} +inline uint64_t CMsgSteamDatagramSessionCryptInfo::nonce() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.nonce) + return _internal_nonce(); +} +inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_nonce(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.nonce_ = value; +} +inline void CMsgSteamDatagramSessionCryptInfo::set_nonce(uint64_t value) { + _internal_set_nonce(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.nonce) +} + +// optional uint32 protocol_version = 4; +inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfo::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamDatagramSessionCryptInfo::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramSessionCryptInfo::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamDatagramSessionCryptInfo::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamDatagramSessionCryptInfo::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.protocol_version) +} + +// repeated .ESteamNetworkingSocketsCipher ciphers = 5; +inline int CMsgSteamDatagramSessionCryptInfo::_internal_ciphers_size() const { + return _impl_.ciphers_.size(); +} +inline int CMsgSteamDatagramSessionCryptInfo::ciphers_size() const { + return _internal_ciphers_size(); +} +inline void CMsgSteamDatagramSessionCryptInfo::clear_ciphers() { + _impl_.ciphers_.Clear(); +} +inline ::ESteamNetworkingSocketsCipher CMsgSteamDatagramSessionCryptInfo::_internal_ciphers(int index) const { + return static_cast< ::ESteamNetworkingSocketsCipher >(_impl_.ciphers_.Get(index)); +} +inline ::ESteamNetworkingSocketsCipher CMsgSteamDatagramSessionCryptInfo::ciphers(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.ciphers) + return _internal_ciphers(index); +} +inline void CMsgSteamDatagramSessionCryptInfo::set_ciphers(int index, ::ESteamNetworkingSocketsCipher value) { + assert(::ESteamNetworkingSocketsCipher_IsValid(value)); + _impl_.ciphers_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.ciphers) +} +inline void CMsgSteamDatagramSessionCryptInfo::_internal_add_ciphers(::ESteamNetworkingSocketsCipher value) { + assert(::ESteamNetworkingSocketsCipher_IsValid(value)); + _impl_.ciphers_.Add(value); +} +inline void CMsgSteamDatagramSessionCryptInfo::add_ciphers(::ESteamNetworkingSocketsCipher value) { + _internal_add_ciphers(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramSessionCryptInfo.ciphers) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& +CMsgSteamDatagramSessionCryptInfo::ciphers() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramSessionCryptInfo.ciphers) + return _impl_.ciphers_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* +CMsgSteamDatagramSessionCryptInfo::_internal_mutable_ciphers() { + return &_impl_.ciphers_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* +CMsgSteamDatagramSessionCryptInfo::mutable_ciphers() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramSessionCryptInfo.ciphers) + return _internal_mutable_ciphers(); +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramSessionCryptInfoSigned + +// optional bytes info = 1; +inline bool CMsgSteamDatagramSessionCryptInfoSigned::_internal_has_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfoSigned::has_info() const { + return _internal_has_info(); +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::clear_info() { + _impl_.info_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::info() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfoSigned.info) + return _internal_info(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSessionCryptInfoSigned::set_info(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.info_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfoSigned.info) +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::mutable_info() { + std::string* _s = _internal_mutable_info(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfoSigned.info) + return _s; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::_internal_info() const { + return _impl_.info_.Get(); +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::_internal_set_info(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.info_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::_internal_mutable_info() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.info_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::release_info() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfoSigned.info) + if (!_internal_has_info()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.info_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.info_.IsDefault()) { + _impl_.info_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::set_allocated_info(std::string* info) { + if (info != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.info_.SetAllocated(info, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.info_.IsDefault()) { + _impl_.info_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfoSigned.info) +} + +// optional bytes signature = 2; +inline bool CMsgSteamDatagramSessionCryptInfoSigned::_internal_has_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramSessionCryptInfoSigned::has_signature() const { + return _internal_has_signature(); +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::clear_signature() { + _impl_.signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfoSigned.signature) + return _internal_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramSessionCryptInfoSigned::set_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfoSigned.signature) +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::mutable_signature() { + std::string* _s = _internal_mutable_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfoSigned.signature) + return _s; +} +inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::_internal_signature() const { + return _impl_.signature_.Get(); +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::_internal_set_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::_internal_mutable_signature() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::release_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfoSigned.signature) + if (!_internal_has_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramSessionCryptInfoSigned::set_allocated_signature(std::string* signature) { + if (signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.signature_.IsDefault()) { + _impl_.signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfoSigned.signature) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramDiagnostic + +// optional uint32 severity = 1; +inline bool CMsgSteamDatagramDiagnostic::_internal_has_severity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramDiagnostic::has_severity() const { + return _internal_has_severity(); +} +inline void CMsgSteamDatagramDiagnostic::clear_severity() { + _impl_.severity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramDiagnostic::_internal_severity() const { + return _impl_.severity_; +} +inline uint32_t CMsgSteamDatagramDiagnostic::severity() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramDiagnostic.severity) + return _internal_severity(); +} +inline void CMsgSteamDatagramDiagnostic::_internal_set_severity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.severity_ = value; +} +inline void CMsgSteamDatagramDiagnostic::set_severity(uint32_t value) { + _internal_set_severity(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramDiagnostic.severity) +} + +// optional string text = 2; +inline bool CMsgSteamDatagramDiagnostic::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramDiagnostic::has_text() const { + return _internal_has_text(); +} +inline void CMsgSteamDatagramDiagnostic::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramDiagnostic::text() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramDiagnostic.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramDiagnostic::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramDiagnostic.text) +} +inline std::string* CMsgSteamDatagramDiagnostic::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramDiagnostic.text) + return _s; +} +inline const std::string& CMsgSteamDatagramDiagnostic::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CMsgSteamDatagramDiagnostic::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramDiagnostic::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramDiagnostic::release_text() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramDiagnostic.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramDiagnostic::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CMsgSteamDatagramDiagnostic.text) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramLinkInstantaneousStats + +// optional uint32 out_packets_per_sec_x10 = 1; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_out_packets_per_sec_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_out_packets_per_sec_x10() const { + return _internal_has_out_packets_per_sec_x10(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_out_packets_per_sec_x10() { + _impl_.out_packets_per_sec_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_out_packets_per_sec_x10() const { + return _impl_.out_packets_per_sec_x10_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::out_packets_per_sec_x10() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.out_packets_per_sec_x10) + return _internal_out_packets_per_sec_x10(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_out_packets_per_sec_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.out_packets_per_sec_x10_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_out_packets_per_sec_x10(uint32_t value) { + _internal_set_out_packets_per_sec_x10(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.out_packets_per_sec_x10) +} + +// optional uint32 out_bytes_per_sec = 2; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_out_bytes_per_sec() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_out_bytes_per_sec() const { + return _internal_has_out_bytes_per_sec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_out_bytes_per_sec() { + _impl_.out_bytes_per_sec_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_out_bytes_per_sec() const { + return _impl_.out_bytes_per_sec_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::out_bytes_per_sec() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.out_bytes_per_sec) + return _internal_out_bytes_per_sec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_out_bytes_per_sec(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.out_bytes_per_sec_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_out_bytes_per_sec(uint32_t value) { + _internal_set_out_bytes_per_sec(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.out_bytes_per_sec) +} + +// optional uint32 in_packets_per_sec_x10 = 3; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_in_packets_per_sec_x10() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_in_packets_per_sec_x10() const { + return _internal_has_in_packets_per_sec_x10(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_in_packets_per_sec_x10() { + _impl_.in_packets_per_sec_x10_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_in_packets_per_sec_x10() const { + return _impl_.in_packets_per_sec_x10_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::in_packets_per_sec_x10() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.in_packets_per_sec_x10) + return _internal_in_packets_per_sec_x10(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_in_packets_per_sec_x10(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.in_packets_per_sec_x10_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_in_packets_per_sec_x10(uint32_t value) { + _internal_set_in_packets_per_sec_x10(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.in_packets_per_sec_x10) +} + +// optional uint32 in_bytes_per_sec = 4; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_in_bytes_per_sec() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_in_bytes_per_sec() const { + return _internal_has_in_bytes_per_sec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_in_bytes_per_sec() { + _impl_.in_bytes_per_sec_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_in_bytes_per_sec() const { + return _impl_.in_bytes_per_sec_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::in_bytes_per_sec() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.in_bytes_per_sec) + return _internal_in_bytes_per_sec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_in_bytes_per_sec(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.in_bytes_per_sec_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_in_bytes_per_sec(uint32_t value) { + _internal_set_in_bytes_per_sec(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.in_bytes_per_sec) +} + +// optional uint32 ping_ms = 5; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_ping_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_ping_ms() const { + return _internal_has_ping_ms(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_ping_ms() { + _impl_.ping_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_ping_ms() const { + return _impl_.ping_ms_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::ping_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.ping_ms) + return _internal_ping_ms(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_ping_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ping_ms_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_ping_ms(uint32_t value) { + _internal_set_ping_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.ping_ms) +} + +// optional uint32 packets_dropped_pct = 6; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_packets_dropped_pct() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_packets_dropped_pct() const { + return _internal_has_packets_dropped_pct(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_packets_dropped_pct() { + _impl_.packets_dropped_pct_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_packets_dropped_pct() const { + return _impl_.packets_dropped_pct_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::packets_dropped_pct() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.packets_dropped_pct) + return _internal_packets_dropped_pct(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_packets_dropped_pct(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.packets_dropped_pct_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_packets_dropped_pct(uint32_t value) { + _internal_set_packets_dropped_pct(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.packets_dropped_pct) +} + +// optional uint32 packets_weird_sequence_pct = 7; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_packets_weird_sequence_pct() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_packets_weird_sequence_pct() const { + return _internal_has_packets_weird_sequence_pct(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_packets_weird_sequence_pct() { + _impl_.packets_weird_sequence_pct_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_packets_weird_sequence_pct() const { + return _impl_.packets_weird_sequence_pct_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::packets_weird_sequence_pct() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.packets_weird_sequence_pct) + return _internal_packets_weird_sequence_pct(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_packets_weird_sequence_pct(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.packets_weird_sequence_pct_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_packets_weird_sequence_pct(uint32_t value) { + _internal_set_packets_weird_sequence_pct(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.packets_weird_sequence_pct) +} + +// optional uint32 peak_jitter_usec = 8; +inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_peak_jitter_usec() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkInstantaneousStats::has_peak_jitter_usec() const { + return _internal_has_peak_jitter_usec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::clear_peak_jitter_usec() { + _impl_.peak_jitter_usec_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_peak_jitter_usec() const { + return _impl_.peak_jitter_usec_; +} +inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::peak_jitter_usec() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.peak_jitter_usec) + return _internal_peak_jitter_usec(); +} +inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_peak_jitter_usec(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.peak_jitter_usec_ = value; +} +inline void CMsgSteamDatagramLinkInstantaneousStats::set_peak_jitter_usec(uint32_t value) { + _internal_set_peak_jitter_usec(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.peak_jitter_usec) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramLinkLifetimeStats + +// optional uint32 connected_seconds = 2; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_connected_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_connected_seconds() const { + return _internal_has_connected_seconds(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_connected_seconds() { + _impl_.connected_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_connected_seconds() const { + return _impl_.connected_seconds_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::connected_seconds() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.connected_seconds) + return _internal_connected_seconds(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_connected_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.connected_seconds_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_connected_seconds(uint32_t value) { + _internal_set_connected_seconds(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.connected_seconds) +} + +// optional uint64 packets_sent = 3; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_sent() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_sent() const { + return _internal_has_packets_sent(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_sent() { + _impl_.packets_sent_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_sent() const { + return _impl_.packets_sent_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_sent() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_sent) + return _internal_packets_sent(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_sent(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.packets_sent_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_sent(uint64_t value) { + _internal_set_packets_sent(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_sent) +} + +// optional uint64 kb_sent = 4; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_kb_sent() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_kb_sent() const { + return _internal_has_kb_sent(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_kb_sent() { + _impl_.kb_sent_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_kb_sent() const { + return _impl_.kb_sent_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::kb_sent() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.kb_sent) + return _internal_kb_sent(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_kb_sent(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.kb_sent_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_kb_sent(uint64_t value) { + _internal_set_kb_sent(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.kb_sent) +} + +// optional uint64 packets_recv = 5; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv() const { + return _internal_has_packets_recv(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv() { + _impl_.packets_recv_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv() const { + return _impl_.packets_recv_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv) + return _internal_packets_recv(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.packets_recv_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv(uint64_t value) { + _internal_set_packets_recv(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv) +} + +// optional uint64 kb_recv = 6; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_kb_recv() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_kb_recv() const { + return _internal_has_kb_recv(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_kb_recv() { + _impl_.kb_recv_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_kb_recv() const { + return _impl_.kb_recv_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::kb_recv() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.kb_recv) + return _internal_kb_recv(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_kb_recv(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.kb_recv_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_kb_recv(uint64_t value) { + _internal_set_kb_recv(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.kb_recv) +} + +// optional uint64 packets_recv_sequenced = 7; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_sequenced() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_sequenced() const { + return _internal_has_packets_recv_sequenced(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_sequenced() { + _impl_.packets_recv_sequenced_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_sequenced() const { + return _impl_.packets_recv_sequenced_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_sequenced() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_sequenced) + return _internal_packets_recv_sequenced(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_sequenced(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.packets_recv_sequenced_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_sequenced(uint64_t value) { + _internal_set_packets_recv_sequenced(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_sequenced) +} + +// optional uint64 packets_recv_dropped = 8; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_dropped() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_dropped() const { + return _internal_has_packets_recv_dropped(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_dropped() { + _impl_.packets_recv_dropped_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_dropped() const { + return _impl_.packets_recv_dropped_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_dropped() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_dropped) + return _internal_packets_recv_dropped(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_dropped(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.packets_recv_dropped_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_dropped(uint64_t value) { + _internal_set_packets_recv_dropped(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_dropped) +} + +// optional uint64 packets_recv_out_of_order = 9; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_out_of_order() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_out_of_order() const { + return _internal_has_packets_recv_out_of_order(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_out_of_order() { + _impl_.packets_recv_out_of_order_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_out_of_order() const { + return _impl_.packets_recv_out_of_order_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_out_of_order() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order) + return _internal_packets_recv_out_of_order(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_out_of_order(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.packets_recv_out_of_order_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_out_of_order(uint64_t value) { + _internal_set_packets_recv_out_of_order(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order) +} + +// optional uint64 packets_recv_out_of_order_corrected = 15; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_out_of_order_corrected() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_out_of_order_corrected() const { + return _internal_has_packets_recv_out_of_order_corrected(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_out_of_order_corrected() { + _impl_.packets_recv_out_of_order_corrected_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_out_of_order_corrected() const { + return _impl_.packets_recv_out_of_order_corrected_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_out_of_order_corrected() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order_corrected) + return _internal_packets_recv_out_of_order_corrected(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_out_of_order_corrected(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.packets_recv_out_of_order_corrected_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_out_of_order_corrected(uint64_t value) { + _internal_set_packets_recv_out_of_order_corrected(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order_corrected) +} + +// optional uint64 packets_recv_duplicate = 10; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_duplicate() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_duplicate() const { + return _internal_has_packets_recv_duplicate(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_duplicate() { + _impl_.packets_recv_duplicate_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_duplicate() const { + return _impl_.packets_recv_duplicate_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_duplicate() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_duplicate) + return _internal_packets_recv_duplicate(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_duplicate(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.packets_recv_duplicate_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_duplicate(uint64_t value) { + _internal_set_packets_recv_duplicate(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_duplicate) +} + +// optional uint64 packets_recv_lurch = 11; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_lurch() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_lurch() const { + return _internal_has_packets_recv_lurch(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_lurch() { + _impl_.packets_recv_lurch_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_lurch() const { + return _impl_.packets_recv_lurch_; +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_lurch() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_lurch) + return _internal_packets_recv_lurch(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_lurch(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.packets_recv_lurch_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_lurch(uint64_t value) { + _internal_set_packets_recv_lurch(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_lurch) +} + +// repeated uint64 multipath_packets_recv_sequenced = 12; +inline int CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced_size() const { + return _impl_.multipath_packets_recv_sequenced_.size(); +} +inline int CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced_size() const { + return _internal_multipath_packets_recv_sequenced_size(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_packets_recv_sequenced() { + _impl_.multipath_packets_recv_sequenced_.Clear(); +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced(int index) const { + return _impl_.multipath_packets_recv_sequenced_.Get(index); +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) + return _internal_multipath_packets_recv_sequenced(index); +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_packets_recv_sequenced(int index, uint64_t value) { + _impl_.multipath_packets_recv_sequenced_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_add_multipath_packets_recv_sequenced(uint64_t value) { + _impl_.multipath_packets_recv_sequenced_.Add(value); +} +inline void CMsgSteamDatagramLinkLifetimeStats::add_multipath_packets_recv_sequenced(uint64_t value) { + _internal_add_multipath_packets_recv_sequenced(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced() const { + return _impl_.multipath_packets_recv_sequenced_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) + return _internal_multipath_packets_recv_sequenced(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgSteamDatagramLinkLifetimeStats::_internal_mutable_multipath_packets_recv_sequenced() { + return &_impl_.multipath_packets_recv_sequenced_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgSteamDatagramLinkLifetimeStats::mutable_multipath_packets_recv_sequenced() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) + return _internal_mutable_multipath_packets_recv_sequenced(); +} + +// repeated uint64 multipath_packets_recv_later = 13; +inline int CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later_size() const { + return _impl_.multipath_packets_recv_later_.size(); +} +inline int CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later_size() const { + return _internal_multipath_packets_recv_later_size(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_packets_recv_later() { + _impl_.multipath_packets_recv_later_.Clear(); +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later(int index) const { + return _impl_.multipath_packets_recv_later_.Get(index); +} +inline uint64_t CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) + return _internal_multipath_packets_recv_later(index); +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_packets_recv_later(int index, uint64_t value) { + _impl_.multipath_packets_recv_later_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_add_multipath_packets_recv_later(uint64_t value) { + _impl_.multipath_packets_recv_later_.Add(value); +} +inline void CMsgSteamDatagramLinkLifetimeStats::add_multipath_packets_recv_later(uint64_t value) { + _internal_add_multipath_packets_recv_later(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later() const { + return _impl_.multipath_packets_recv_later_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& +CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) + return _internal_multipath_packets_recv_later(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgSteamDatagramLinkLifetimeStats::_internal_mutable_multipath_packets_recv_later() { + return &_impl_.multipath_packets_recv_later_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* +CMsgSteamDatagramLinkLifetimeStats::mutable_multipath_packets_recv_later() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) + return _internal_mutable_multipath_packets_recv_later(); +} + +// optional uint32 multipath_send_enabled = 14; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_multipath_send_enabled() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_multipath_send_enabled() const { + return _internal_has_multipath_send_enabled(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_send_enabled() { + _impl_.multipath_send_enabled_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_send_enabled() const { + return _impl_.multipath_send_enabled_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::multipath_send_enabled() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_send_enabled) + return _internal_multipath_send_enabled(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_multipath_send_enabled(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.multipath_send_enabled_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_send_enabled(uint32_t value) { + _internal_set_multipath_send_enabled(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_send_enabled) +} + +// optional uint32 quality_histogram_100 = 21; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_100() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_100() const { + return _internal_has_quality_histogram_100(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_100() { + _impl_.quality_histogram_100_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_100() const { + return _impl_.quality_histogram_100_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_100() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_100) + return _internal_quality_histogram_100(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_100(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.quality_histogram_100_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_100(uint32_t value) { + _internal_set_quality_histogram_100(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_100) +} + +// optional uint32 quality_histogram_99 = 22; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_99() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_99() const { + return _internal_has_quality_histogram_99(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_99() { + _impl_.quality_histogram_99_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_99() const { + return _impl_.quality_histogram_99_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_99() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_99) + return _internal_quality_histogram_99(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_99(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.quality_histogram_99_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_99(uint32_t value) { + _internal_set_quality_histogram_99(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_99) +} + +// optional uint32 quality_histogram_97 = 23; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_97() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_97() const { + return _internal_has_quality_histogram_97(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_97() { + _impl_.quality_histogram_97_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_97() const { + return _impl_.quality_histogram_97_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_97() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_97) + return _internal_quality_histogram_97(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_97(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.quality_histogram_97_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_97(uint32_t value) { + _internal_set_quality_histogram_97(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_97) +} + +// optional uint32 quality_histogram_95 = 24; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_95() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_95() const { + return _internal_has_quality_histogram_95(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_95() { + _impl_.quality_histogram_95_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_95() const { + return _impl_.quality_histogram_95_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_95() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_95) + return _internal_quality_histogram_95(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_95(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.quality_histogram_95_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_95(uint32_t value) { + _internal_set_quality_histogram_95(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_95) +} + +// optional uint32 quality_histogram_90 = 25; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_90() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_90() const { + return _internal_has_quality_histogram_90(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_90() { + _impl_.quality_histogram_90_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_90() const { + return _impl_.quality_histogram_90_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_90() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_90) + return _internal_quality_histogram_90(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_90(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.quality_histogram_90_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_90(uint32_t value) { + _internal_set_quality_histogram_90(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_90) +} + +// optional uint32 quality_histogram_75 = 26; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_75() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_75() const { + return _internal_has_quality_histogram_75(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_75() { + _impl_.quality_histogram_75_ = 0u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_75() const { + return _impl_.quality_histogram_75_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_75() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_75) + return _internal_quality_histogram_75(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_75(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.quality_histogram_75_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_75(uint32_t value) { + _internal_set_quality_histogram_75(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_75) +} + +// optional uint32 quality_histogram_50 = 27; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_50() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_50() const { + return _internal_has_quality_histogram_50(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_50() { + _impl_.quality_histogram_50_ = 0u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_50() const { + return _impl_.quality_histogram_50_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_50() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_50) + return _internal_quality_histogram_50(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_50(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.quality_histogram_50_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_50(uint32_t value) { + _internal_set_quality_histogram_50(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_50) +} + +// optional uint32 quality_histogram_1 = 28; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_1() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_1() const { + return _internal_has_quality_histogram_1(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_1() { + _impl_.quality_histogram_1_ = 0u; + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_1() const { + return _impl_.quality_histogram_1_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_1() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_1) + return _internal_quality_histogram_1(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_1(uint32_t value) { + _impl_._has_bits_[0] |= 0x00080000u; + _impl_.quality_histogram_1_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_1(uint32_t value) { + _internal_set_quality_histogram_1(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_1) +} + +// optional uint32 quality_histogram_dead = 29; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_dead() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_dead() const { + return _internal_has_quality_histogram_dead(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_dead() { + _impl_.quality_histogram_dead_ = 0u; + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_dead() const { + return _impl_.quality_histogram_dead_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_dead() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_dead) + return _internal_quality_histogram_dead(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_dead(uint32_t value) { + _impl_._has_bits_[0] |= 0x00100000u; + _impl_.quality_histogram_dead_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_dead(uint32_t value) { + _internal_set_quality_histogram_dead(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_dead) +} + +// optional uint32 quality_ntile_2nd = 30; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_2nd() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_2nd() const { + return _internal_has_quality_ntile_2nd(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_2nd() { + _impl_.quality_ntile_2nd_ = 0u; + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_2nd() const { + return _impl_.quality_ntile_2nd_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_2nd() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_2nd) + return _internal_quality_ntile_2nd(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_2nd(uint32_t value) { + _impl_._has_bits_[0] |= 0x00200000u; + _impl_.quality_ntile_2nd_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_2nd(uint32_t value) { + _internal_set_quality_ntile_2nd(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_2nd) +} + +// optional uint32 quality_ntile_5th = 31; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_5th() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_5th() const { + return _internal_has_quality_ntile_5th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_5th() { + _impl_.quality_ntile_5th_ = 0u; + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_5th() const { + return _impl_.quality_ntile_5th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_5th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_5th) + return _internal_quality_ntile_5th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_5th(uint32_t value) { + _impl_._has_bits_[0] |= 0x00400000u; + _impl_.quality_ntile_5th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_5th(uint32_t value) { + _internal_set_quality_ntile_5th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_5th) +} + +// optional uint32 quality_ntile_25th = 32; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_25th() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_25th() const { + return _internal_has_quality_ntile_25th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_25th() { + _impl_.quality_ntile_25th_ = 0u; + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_25th() const { + return _impl_.quality_ntile_25th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_25th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_25th) + return _internal_quality_ntile_25th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_25th(uint32_t value) { + _impl_._has_bits_[0] |= 0x00800000u; + _impl_.quality_ntile_25th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_25th(uint32_t value) { + _internal_set_quality_ntile_25th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_25th) +} + +// optional uint32 quality_ntile_50th = 33; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_50th() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_50th() const { + return _internal_has_quality_ntile_50th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_50th() { + _impl_.quality_ntile_50th_ = 0u; + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_50th() const { + return _impl_.quality_ntile_50th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_50th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_50th) + return _internal_quality_ntile_50th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_50th(uint32_t value) { + _impl_._has_bits_[0] |= 0x01000000u; + _impl_.quality_ntile_50th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_50th(uint32_t value) { + _internal_set_quality_ntile_50th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_50th) +} + +// optional uint32 ping_histogram_25 = 41; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_25() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_25() const { + return _internal_has_ping_histogram_25(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_25() { + _impl_.ping_histogram_25_ = 0u; + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_25() const { + return _impl_.ping_histogram_25_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_25() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_25) + return _internal_ping_histogram_25(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_25(uint32_t value) { + _impl_._has_bits_[0] |= 0x02000000u; + _impl_.ping_histogram_25_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_25(uint32_t value) { + _internal_set_ping_histogram_25(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_25) +} + +// optional uint32 ping_histogram_50 = 42; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_50() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_50() const { + return _internal_has_ping_histogram_50(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_50() { + _impl_.ping_histogram_50_ = 0u; + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_50() const { + return _impl_.ping_histogram_50_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_50() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_50) + return _internal_ping_histogram_50(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_50(uint32_t value) { + _impl_._has_bits_[0] |= 0x04000000u; + _impl_.ping_histogram_50_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_50(uint32_t value) { + _internal_set_ping_histogram_50(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_50) +} + +// optional uint32 ping_histogram_75 = 43; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_75() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_75() const { + return _internal_has_ping_histogram_75(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_75() { + _impl_.ping_histogram_75_ = 0u; + _impl_._has_bits_[0] &= ~0x08000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_75() const { + return _impl_.ping_histogram_75_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_75() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_75) + return _internal_ping_histogram_75(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_75(uint32_t value) { + _impl_._has_bits_[0] |= 0x08000000u; + _impl_.ping_histogram_75_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_75(uint32_t value) { + _internal_set_ping_histogram_75(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_75) +} + +// optional uint32 ping_histogram_100 = 44; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_100() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_100() const { + return _internal_has_ping_histogram_100(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_100() { + _impl_.ping_histogram_100_ = 0u; + _impl_._has_bits_[0] &= ~0x10000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_100() const { + return _impl_.ping_histogram_100_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_100() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_100) + return _internal_ping_histogram_100(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_100(uint32_t value) { + _impl_._has_bits_[0] |= 0x10000000u; + _impl_.ping_histogram_100_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_100(uint32_t value) { + _internal_set_ping_histogram_100(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_100) +} + +// optional uint32 ping_histogram_125 = 45; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_125() const { + bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_125() const { + return _internal_has_ping_histogram_125(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_125() { + _impl_.ping_histogram_125_ = 0u; + _impl_._has_bits_[0] &= ~0x20000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_125() const { + return _impl_.ping_histogram_125_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_125() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_125) + return _internal_ping_histogram_125(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_125(uint32_t value) { + _impl_._has_bits_[0] |= 0x20000000u; + _impl_.ping_histogram_125_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_125(uint32_t value) { + _internal_set_ping_histogram_125(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_125) +} + +// optional uint32 ping_histogram_150 = 46; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_150() const { + bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_150() const { + return _internal_has_ping_histogram_150(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_150() { + _impl_.ping_histogram_150_ = 0u; + _impl_._has_bits_[0] &= ~0x40000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_150() const { + return _impl_.ping_histogram_150_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_150() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_150) + return _internal_ping_histogram_150(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_150(uint32_t value) { + _impl_._has_bits_[0] |= 0x40000000u; + _impl_.ping_histogram_150_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_150(uint32_t value) { + _internal_set_ping_histogram_150(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_150) +} + +// optional uint32 ping_histogram_200 = 47; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_200() const { + bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_200() const { + return _internal_has_ping_histogram_200(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_200() { + _impl_.ping_histogram_200_ = 0u; + _impl_._has_bits_[0] &= ~0x80000000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_200() const { + return _impl_.ping_histogram_200_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_200() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_200) + return _internal_ping_histogram_200(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_200(uint32_t value) { + _impl_._has_bits_[0] |= 0x80000000u; + _impl_.ping_histogram_200_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_200(uint32_t value) { + _internal_set_ping_histogram_200(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_200) +} + +// optional uint32 ping_histogram_300 = 48; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_300() const { + bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_300() const { + return _internal_has_ping_histogram_300(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_300() { + _impl_.ping_histogram_300_ = 0u; + _impl_._has_bits_[1] &= ~0x00000001u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_300() const { + return _impl_.ping_histogram_300_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_300() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_300) + return _internal_ping_histogram_300(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_300(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000001u; + _impl_.ping_histogram_300_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_300(uint32_t value) { + _internal_set_ping_histogram_300(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_300) +} + +// optional uint32 ping_histogram_max = 49; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_max() const { + bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_max() const { + return _internal_has_ping_histogram_max(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_max() { + _impl_.ping_histogram_max_ = 0u; + _impl_._has_bits_[1] &= ~0x00000002u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_max() const { + return _impl_.ping_histogram_max_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_max() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_max) + return _internal_ping_histogram_max(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_max(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000002u; + _impl_.ping_histogram_max_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_max(uint32_t value) { + _internal_set_ping_histogram_max(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_max) +} + +// optional uint32 ping_ntile_5th = 50; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_5th() const { + bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_5th() const { + return _internal_has_ping_ntile_5th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_5th() { + _impl_.ping_ntile_5th_ = 0u; + _impl_._has_bits_[1] &= ~0x00000004u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_5th() const { + return _impl_.ping_ntile_5th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_5th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_5th) + return _internal_ping_ntile_5th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_5th(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000004u; + _impl_.ping_ntile_5th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_5th(uint32_t value) { + _internal_set_ping_ntile_5th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_5th) +} + +// optional uint32 ping_ntile_50th = 51; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_50th() const { + bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_50th() const { + return _internal_has_ping_ntile_50th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_50th() { + _impl_.ping_ntile_50th_ = 0u; + _impl_._has_bits_[1] &= ~0x00000008u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_50th() const { + return _impl_.ping_ntile_50th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_50th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_50th) + return _internal_ping_ntile_50th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_50th(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000008u; + _impl_.ping_ntile_50th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_50th(uint32_t value) { + _internal_set_ping_ntile_50th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_50th) +} + +// optional uint32 ping_ntile_75th = 52; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_75th() const { + bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_75th() const { + return _internal_has_ping_ntile_75th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_75th() { + _impl_.ping_ntile_75th_ = 0u; + _impl_._has_bits_[1] &= ~0x00000010u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_75th() const { + return _impl_.ping_ntile_75th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_75th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_75th) + return _internal_ping_ntile_75th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_75th(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000010u; + _impl_.ping_ntile_75th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_75th(uint32_t value) { + _internal_set_ping_ntile_75th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_75th) +} + +// optional uint32 ping_ntile_95th = 53; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_95th() const { + bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_95th() const { + return _internal_has_ping_ntile_95th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_95th() { + _impl_.ping_ntile_95th_ = 0u; + _impl_._has_bits_[1] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_95th() const { + return _impl_.ping_ntile_95th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_95th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_95th) + return _internal_ping_ntile_95th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_95th(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000020u; + _impl_.ping_ntile_95th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_95th(uint32_t value) { + _internal_set_ping_ntile_95th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_95th) +} + +// optional uint32 ping_ntile_98th = 54; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_98th() const { + bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_98th() const { + return _internal_has_ping_ntile_98th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_98th() { + _impl_.ping_ntile_98th_ = 0u; + _impl_._has_bits_[1] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_98th() const { + return _impl_.ping_ntile_98th_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_98th() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_98th) + return _internal_ping_ntile_98th(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_98th(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000040u; + _impl_.ping_ntile_98th_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_98th(uint32_t value) { + _internal_set_ping_ntile_98th(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_98th) +} + +// optional uint32 jitter_histogram_negligible = 61; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_negligible() const { + bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_negligible() const { + return _internal_has_jitter_histogram_negligible(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_negligible() { + _impl_.jitter_histogram_negligible_ = 0u; + _impl_._has_bits_[1] &= ~0x00000080u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_negligible() const { + return _impl_.jitter_histogram_negligible_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_negligible() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_negligible) + return _internal_jitter_histogram_negligible(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_negligible(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000080u; + _impl_.jitter_histogram_negligible_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_negligible(uint32_t value) { + _internal_set_jitter_histogram_negligible(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_negligible) +} + +// optional uint32 jitter_histogram_1 = 62; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_1() const { + bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_1() const { + return _internal_has_jitter_histogram_1(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_1() { + _impl_.jitter_histogram_1_ = 0u; + _impl_._has_bits_[1] &= ~0x00000100u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_1() const { + return _impl_.jitter_histogram_1_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_1() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_1) + return _internal_jitter_histogram_1(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_1(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000100u; + _impl_.jitter_histogram_1_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_1(uint32_t value) { + _internal_set_jitter_histogram_1(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_1) +} + +// optional uint32 jitter_histogram_2 = 63; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_2() const { + bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_2() const { + return _internal_has_jitter_histogram_2(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_2() { + _impl_.jitter_histogram_2_ = 0u; + _impl_._has_bits_[1] &= ~0x00000200u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_2() const { + return _impl_.jitter_histogram_2_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_2() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_2) + return _internal_jitter_histogram_2(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_2(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000200u; + _impl_.jitter_histogram_2_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_2(uint32_t value) { + _internal_set_jitter_histogram_2(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_2) +} + +// optional uint32 jitter_histogram_5 = 64; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_5() const { + bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_5() const { + return _internal_has_jitter_histogram_5(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_5() { + _impl_.jitter_histogram_5_ = 0u; + _impl_._has_bits_[1] &= ~0x00000400u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_5() const { + return _impl_.jitter_histogram_5_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_5() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_5) + return _internal_jitter_histogram_5(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_5(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000400u; + _impl_.jitter_histogram_5_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_5(uint32_t value) { + _internal_set_jitter_histogram_5(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_5) +} + +// optional uint32 jitter_histogram_10 = 65; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_10() const { + bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_10() const { + return _internal_has_jitter_histogram_10(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_10() { + _impl_.jitter_histogram_10_ = 0u; + _impl_._has_bits_[1] &= ~0x00000800u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_10() const { + return _impl_.jitter_histogram_10_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_10() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_10) + return _internal_jitter_histogram_10(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_10(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000800u; + _impl_.jitter_histogram_10_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_10(uint32_t value) { + _internal_set_jitter_histogram_10(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_10) +} + +// optional uint32 jitter_histogram_20 = 66; +inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_20() const { + bool value = (_impl_._has_bits_[1] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_20() const { + return _internal_has_jitter_histogram_20(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_20() { + _impl_.jitter_histogram_20_ = 0u; + _impl_._has_bits_[1] &= ~0x00001000u; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_20() const { + return _impl_.jitter_histogram_20_; +} +inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_20() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_20) + return _internal_jitter_histogram_20(); +} +inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_20(uint32_t value) { + _impl_._has_bits_[1] |= 0x00001000u; + _impl_.jitter_histogram_20_ = value; +} +inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_20(uint32_t value) { + _internal_set_jitter_histogram_20(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_20) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramConnectionQuality + +// optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; +inline bool CMsgSteamDatagramConnectionQuality::_internal_has_instantaneous() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.instantaneous_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionQuality::has_instantaneous() const { + return _internal_has_instantaneous(); +} +inline void CMsgSteamDatagramConnectionQuality::clear_instantaneous() { + if (_impl_.instantaneous_ != nullptr) _impl_.instantaneous_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSteamDatagramLinkInstantaneousStats& CMsgSteamDatagramConnectionQuality::_internal_instantaneous() const { + const ::CMsgSteamDatagramLinkInstantaneousStats* p = _impl_.instantaneous_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramLinkInstantaneousStats_default_instance_); +} +inline const ::CMsgSteamDatagramLinkInstantaneousStats& CMsgSteamDatagramConnectionQuality::instantaneous() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionQuality.instantaneous) + return _internal_instantaneous(); +} +inline void CMsgSteamDatagramConnectionQuality::unsafe_arena_set_allocated_instantaneous( + ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.instantaneous_); + } + _impl_.instantaneous_ = instantaneous; + if (instantaneous) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionQuality.instantaneous) +} +inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::release_instantaneous() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramLinkInstantaneousStats* temp = _impl_.instantaneous_; + _impl_.instantaneous_ = 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 ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::unsafe_arena_release_instantaneous() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionQuality.instantaneous) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramLinkInstantaneousStats* temp = _impl_.instantaneous_; + _impl_.instantaneous_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::_internal_mutable_instantaneous() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.instantaneous_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramLinkInstantaneousStats>(GetArenaForAllocation()); + _impl_.instantaneous_ = p; + } + return _impl_.instantaneous_; +} +inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::mutable_instantaneous() { + ::CMsgSteamDatagramLinkInstantaneousStats* _msg = _internal_mutable_instantaneous(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionQuality.instantaneous) + return _msg; +} +inline void CMsgSteamDatagramConnectionQuality::set_allocated_instantaneous(::CMsgSteamDatagramLinkInstantaneousStats* instantaneous) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.instantaneous_; + } + if (instantaneous) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(instantaneous); + if (message_arena != submessage_arena) { + instantaneous = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, instantaneous, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.instantaneous_ = instantaneous; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionQuality.instantaneous) +} + +// optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; +inline bool CMsgSteamDatagramConnectionQuality::_internal_has_lifetime() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.lifetime_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramConnectionQuality::has_lifetime() const { + return _internal_has_lifetime(); +} +inline void CMsgSteamDatagramConnectionQuality::clear_lifetime() { + if (_impl_.lifetime_ != nullptr) _impl_.lifetime_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSteamDatagramLinkLifetimeStats& CMsgSteamDatagramConnectionQuality::_internal_lifetime() const { + const ::CMsgSteamDatagramLinkLifetimeStats* p = _impl_.lifetime_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramLinkLifetimeStats_default_instance_); +} +inline const ::CMsgSteamDatagramLinkLifetimeStats& CMsgSteamDatagramConnectionQuality::lifetime() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionQuality.lifetime) + return _internal_lifetime(); +} +inline void CMsgSteamDatagramConnectionQuality::unsafe_arena_set_allocated_lifetime( + ::CMsgSteamDatagramLinkLifetimeStats* lifetime) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.lifetime_); + } + _impl_.lifetime_ = lifetime; + if (lifetime) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionQuality.lifetime) +} +inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::release_lifetime() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramLinkLifetimeStats* temp = _impl_.lifetime_; + _impl_.lifetime_ = 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 ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::unsafe_arena_release_lifetime() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionQuality.lifetime) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramLinkLifetimeStats* temp = _impl_.lifetime_; + _impl_.lifetime_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::_internal_mutable_lifetime() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.lifetime_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramLinkLifetimeStats>(GetArenaForAllocation()); + _impl_.lifetime_ = p; + } + return _impl_.lifetime_; +} +inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::mutable_lifetime() { + ::CMsgSteamDatagramLinkLifetimeStats* _msg = _internal_mutable_lifetime(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionQuality.lifetime) + return _msg; +} +inline void CMsgSteamDatagramConnectionQuality::set_allocated_lifetime(::CMsgSteamDatagramLinkLifetimeStats* lifetime) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.lifetime_; + } + if (lifetime) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lifetime); + if (message_arena != submessage_arena) { + lifetime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, lifetime, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.lifetime_ = lifetime; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionQuality.lifetime) +} + +// ------------------------------------------------------------------- + +// CMsgICECandidate + +// optional string candidate = 3; +inline bool CMsgICECandidate::_internal_has_candidate() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgICECandidate::has_candidate() const { + return _internal_has_candidate(); +} +inline void CMsgICECandidate::clear_candidate() { + _impl_.candidate_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgICECandidate::candidate() const { + // @@protoc_insertion_point(field_get:CMsgICECandidate.candidate) + return _internal_candidate(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgICECandidate::set_candidate(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.candidate_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgICECandidate.candidate) +} +inline std::string* CMsgICECandidate::mutable_candidate() { + std::string* _s = _internal_mutable_candidate(); + // @@protoc_insertion_point(field_mutable:CMsgICECandidate.candidate) + return _s; +} +inline const std::string& CMsgICECandidate::_internal_candidate() const { + return _impl_.candidate_.Get(); +} +inline void CMsgICECandidate::_internal_set_candidate(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.candidate_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgICECandidate::_internal_mutable_candidate() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.candidate_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgICECandidate::release_candidate() { + // @@protoc_insertion_point(field_release:CMsgICECandidate.candidate) + if (!_internal_has_candidate()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.candidate_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.candidate_.IsDefault()) { + _impl_.candidate_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgICECandidate::set_allocated_candidate(std::string* candidate) { + if (candidate != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.candidate_.SetAllocated(candidate, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.candidate_.IsDefault()) { + _impl_.candidate_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgICECandidate.candidate) +} + +// ------------------------------------------------------------------- + +// CMsgICERendezvous_Auth + +// optional string pwd_frag = 1; +inline bool CMsgICERendezvous_Auth::_internal_has_pwd_frag() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgICERendezvous_Auth::has_pwd_frag() const { + return _internal_has_pwd_frag(); +} +inline void CMsgICERendezvous_Auth::clear_pwd_frag() { + _impl_.pwd_frag_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgICERendezvous_Auth::pwd_frag() const { + // @@protoc_insertion_point(field_get:CMsgICERendezvous.Auth.pwd_frag) + return _internal_pwd_frag(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgICERendezvous_Auth::set_pwd_frag(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pwd_frag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgICERendezvous.Auth.pwd_frag) +} +inline std::string* CMsgICERendezvous_Auth::mutable_pwd_frag() { + std::string* _s = _internal_mutable_pwd_frag(); + // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.Auth.pwd_frag) + return _s; +} +inline const std::string& CMsgICERendezvous_Auth::_internal_pwd_frag() const { + return _impl_.pwd_frag_.Get(); +} +inline void CMsgICERendezvous_Auth::_internal_set_pwd_frag(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.pwd_frag_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgICERendezvous_Auth::_internal_mutable_pwd_frag() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.pwd_frag_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgICERendezvous_Auth::release_pwd_frag() { + // @@protoc_insertion_point(field_release:CMsgICERendezvous.Auth.pwd_frag) + if (!_internal_has_pwd_frag()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.pwd_frag_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.pwd_frag_.IsDefault()) { + _impl_.pwd_frag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgICERendezvous_Auth::set_allocated_pwd_frag(std::string* pwd_frag) { + if (pwd_frag != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.pwd_frag_.SetAllocated(pwd_frag, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.pwd_frag_.IsDefault()) { + _impl_.pwd_frag_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.Auth.pwd_frag) +} + +// ------------------------------------------------------------------- + +// CMsgICERendezvous + +// optional .CMsgICERendezvous.Auth auth = 2; +inline bool CMsgICERendezvous::_internal_has_auth() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.auth_ != nullptr); + return value; +} +inline bool CMsgICERendezvous::has_auth() const { + return _internal_has_auth(); +} +inline void CMsgICERendezvous::clear_auth() { + if (_impl_.auth_ != nullptr) _impl_.auth_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgICERendezvous_Auth& CMsgICERendezvous::_internal_auth() const { + const ::CMsgICERendezvous_Auth* p = _impl_.auth_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgICERendezvous_Auth_default_instance_); +} +inline const ::CMsgICERendezvous_Auth& CMsgICERendezvous::auth() const { + // @@protoc_insertion_point(field_get:CMsgICERendezvous.auth) + return _internal_auth(); +} +inline void CMsgICERendezvous::unsafe_arena_set_allocated_auth( + ::CMsgICERendezvous_Auth* auth) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.auth_); + } + _impl_.auth_ = auth; + if (auth) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgICERendezvous.auth) +} +inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::release_auth() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgICERendezvous_Auth* temp = _impl_.auth_; + _impl_.auth_ = 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 ::CMsgICERendezvous_Auth* CMsgICERendezvous::unsafe_arena_release_auth() { + // @@protoc_insertion_point(field_release:CMsgICERendezvous.auth) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgICERendezvous_Auth* temp = _impl_.auth_; + _impl_.auth_ = nullptr; + return temp; +} +inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::_internal_mutable_auth() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.auth_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgICERendezvous_Auth>(GetArenaForAllocation()); + _impl_.auth_ = p; + } + return _impl_.auth_; +} +inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::mutable_auth() { + ::CMsgICERendezvous_Auth* _msg = _internal_mutable_auth(); + // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.auth) + return _msg; +} +inline void CMsgICERendezvous::set_allocated_auth(::CMsgICERendezvous_Auth* auth) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.auth_; + } + if (auth) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(auth); + if (message_arena != submessage_arena) { + auth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, auth, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.auth_ = auth; + // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.auth) +} + +// optional .CMsgICECandidate add_candidate = 1; +inline bool CMsgICERendezvous::_internal_has_add_candidate() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.add_candidate_ != nullptr); + return value; +} +inline bool CMsgICERendezvous::has_add_candidate() const { + return _internal_has_add_candidate(); +} +inline void CMsgICERendezvous::clear_add_candidate() { + if (_impl_.add_candidate_ != nullptr) _impl_.add_candidate_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgICECandidate& CMsgICERendezvous::_internal_add_candidate() const { + const ::CMsgICECandidate* p = _impl_.add_candidate_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgICECandidate_default_instance_); +} +inline const ::CMsgICECandidate& CMsgICERendezvous::add_candidate() const { + // @@protoc_insertion_point(field_get:CMsgICERendezvous.add_candidate) + return _internal_add_candidate(); +} +inline void CMsgICERendezvous::unsafe_arena_set_allocated_add_candidate( + ::CMsgICECandidate* add_candidate) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_candidate_); + } + _impl_.add_candidate_ = add_candidate; + if (add_candidate) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgICERendezvous.add_candidate) +} +inline ::CMsgICECandidate* CMsgICERendezvous::release_add_candidate() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgICECandidate* temp = _impl_.add_candidate_; + _impl_.add_candidate_ = 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 ::CMsgICECandidate* CMsgICERendezvous::unsafe_arena_release_add_candidate() { + // @@protoc_insertion_point(field_release:CMsgICERendezvous.add_candidate) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgICECandidate* temp = _impl_.add_candidate_; + _impl_.add_candidate_ = nullptr; + return temp; +} +inline ::CMsgICECandidate* CMsgICERendezvous::_internal_mutable_add_candidate() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.add_candidate_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgICECandidate>(GetArenaForAllocation()); + _impl_.add_candidate_ = p; + } + return _impl_.add_candidate_; +} +inline ::CMsgICECandidate* CMsgICERendezvous::mutable_add_candidate() { + ::CMsgICECandidate* _msg = _internal_mutable_add_candidate(); + // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.add_candidate) + return _msg; +} +inline void CMsgICERendezvous::set_allocated_add_candidate(::CMsgICECandidate* add_candidate) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.add_candidate_; + } + if (add_candidate) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_candidate); + if (message_arena != submessage_arena) { + add_candidate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, add_candidate, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.add_candidate_ = add_candidate; + // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.add_candidate) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous_ConnectRequest + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_crypt() const { + return _internal_has_crypt(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) + return _internal_crypt(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.crypt_; + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(crypt); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 7; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) + return _internal_cert(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_cert() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) +} + +// optional uint32 to_virtual_port = 9; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_to_virtual_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_to_virtual_port() const { + return _internal_has_to_virtual_port(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_to_virtual_port() { + _impl_.to_virtual_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_to_virtual_port() const { + return _impl_.to_virtual_port_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::to_virtual_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.to_virtual_port) + return _internal_to_virtual_port(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_to_virtual_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.to_virtual_port_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_to_virtual_port(uint32_t value) { + _internal_set_to_virtual_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.to_virtual_port) +} + +// optional uint32 from_virtual_port = 10; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_from_virtual_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_from_virtual_port() const { + return _internal_has_from_virtual_port(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_from_virtual_port() { + _impl_.from_virtual_port_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_from_virtual_port() const { + return _impl_.from_virtual_port_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::from_virtual_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_virtual_port) + return _internal_from_virtual_port(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_from_virtual_port(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.from_virtual_port_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_from_virtual_port(uint32_t value) { + _internal_set_from_virtual_port(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_virtual_port) +} + +// optional string from_fakeip = 11; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_from_fakeip() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_from_fakeip() const { + return _internal_has_from_fakeip(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_from_fakeip() { + _impl_.from_fakeip_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::from_fakeip() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) + return _internal_from_fakeip(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_from_fakeip(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_fakeip_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_from_fakeip() { + std::string* _s = _internal_mutable_from_fakeip(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_from_fakeip() const { + return _impl_.from_fakeip_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_from_fakeip(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_fakeip_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_from_fakeip() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.from_fakeip_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_from_fakeip() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) + if (!_internal_has_from_fakeip()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.from_fakeip_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_fakeip_.IsDefault()) { + _impl_.from_fakeip_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_from_fakeip(std::string* from_fakeip) { + if (from_fakeip != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.from_fakeip_.SetAllocated(from_fakeip, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_fakeip_.IsDefault()) { + _impl_.from_fakeip_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous_ConnectOK + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::has_crypt() const { + return _internal_has_crypt(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) + return _internal_crypt(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.crypt_; + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(crypt); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 6; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) + return _internal_cert(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::release_cert() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous_ConnectionClosed + +// optional string debug = 5; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_has_debug() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::has_debug() const { + return _internal_has_debug(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::clear_debug() { + _impl_.debug_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::debug() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) + return _internal_debug(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::mutable_debug() { + std::string* _s = _internal_mutable_debug(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_debug() const { + return _impl_.debug_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_set_debug(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_mutable_debug() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.debug_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::release_debug() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) + if (!_internal_has_debug()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.debug_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_allocated_debug(std::string* debug) { + if (debug != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) +} + +// optional uint32 reason_code = 6; +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_has_reason_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::has_reason_code() const { + return _internal_has_reason_code(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::clear_reason_code() { + _impl_.reason_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_reason_code() const { + return _impl_.reason_code_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::reason_code() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.reason_code) + return _internal_reason_code(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_set_reason_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_code_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_reason_code(uint32_t value) { + _internal_set_reason_code(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.reason_code) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous_ReliableMessage + +// optional .CMsgICERendezvous ice = 1; +inline bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_has_ice() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ice_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::has_ice() const { + return _internal_has_ice(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::clear_ice() { + if (_impl_.ice_ != nullptr) _impl_.ice_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgICERendezvous& CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_ice() const { + const ::CMsgICERendezvous* p = _impl_.ice_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgICERendezvous_default_instance_); +} +inline const ::CMsgICERendezvous& CMsgSteamNetworkingP2PRendezvous_ReliableMessage::ice() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) + return _internal_ice(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::unsafe_arena_set_allocated_ice( + ::CMsgICERendezvous* ice) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); + } + _impl_.ice_ = ice; + if (ice) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) +} +inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::release_ice() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgICERendezvous* temp = _impl_.ice_; + _impl_.ice_ = 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 ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::unsafe_arena_release_ice() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgICERendezvous* temp = _impl_.ice_; + _impl_.ice_ = nullptr; + return temp; +} +inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_mutable_ice() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.ice_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgICERendezvous>(GetArenaForAllocation()); + _impl_.ice_ = p; + } + return _impl_.ice_; +} +inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::mutable_ice() { + ::CMsgICERendezvous* _msg = _internal_mutable_ice(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::set_allocated_ice(::CMsgICERendezvous* ice) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.ice_; + } + if (ice) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ice); + if (message_arena != submessage_arena) { + ice = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ice, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.ice_ = ice; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous_ApplicationMessage + +// optional bytes data = 1; +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_data() const { + return _internal_has_data(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::data() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::release_data() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) +} + +// optional uint64 msg_num = 2; +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_msg_num() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_msg_num() const { + return _internal_has_msg_num(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_msg_num() { + _impl_.msg_num_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_msg_num() const { + return _impl_.msg_num_; +} +inline uint64_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::msg_num() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.msg_num) + return _internal_msg_num(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_msg_num(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.msg_num_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_msg_num(uint64_t value) { + _internal_set_msg_num(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.msg_num) +} + +// optional uint32 flags = 3; +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.flags) + return _internal_flags(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.flags_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.flags) +} + +// optional uint32 lane_idx = 4; +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_lane_idx() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_lane_idx() const { + return _internal_has_lane_idx(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_lane_idx() { + _impl_.lane_idx_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_lane_idx() const { + return _impl_.lane_idx_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::lane_idx() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.lane_idx) + return _internal_lane_idx(); +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_lane_idx(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.lane_idx_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_lane_idx(uint32_t value) { + _internal_set_lane_idx(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.lane_idx) +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingP2PRendezvous + +// optional string from_identity = 8; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_from_identity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_from_identity() const { + return _internal_has_from_identity(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_from_identity() { + _impl_.from_identity_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::from_identity() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.from_identity) + return _internal_from_identity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous::set_from_identity(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.from_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.from_identity) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_from_identity() { + std::string* _s = _internal_mutable_from_identity(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.from_identity) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_from_identity() const { + return _impl_.from_identity_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_from_identity(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.from_identity_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_from_identity() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.from_identity_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::release_from_identity() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.from_identity) + if (!_internal_has_from_identity()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.from_identity_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_.IsDefault()) { + _impl_.from_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_from_identity(std::string* from_identity) { + if (from_identity != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.from_identity_.SetAllocated(from_identity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.from_identity_.IsDefault()) { + _impl_.from_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.from_identity) +} + +// optional fixed32 from_connection_id = 9; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.from_connection_id) +} + +// optional string to_identity = 10; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_to_identity() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_to_identity() const { + return _internal_has_to_identity(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_to_identity() { + _impl_.to_identity_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::to_identity() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.to_identity) + return _internal_to_identity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous::set_to_identity(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.to_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.to_identity) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_to_identity() { + std::string* _s = _internal_mutable_to_identity(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.to_identity) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_to_identity() const { + return _impl_.to_identity_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_to_identity(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.to_identity_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_to_identity() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.to_identity_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::release_to_identity() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.to_identity) + if (!_internal_has_to_identity()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.to_identity_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.to_identity_.IsDefault()) { + _impl_.to_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_to_identity(std::string* to_identity) { + if (to_identity != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.to_identity_.SetAllocated(to_identity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.to_identity_.IsDefault()) { + _impl_.to_identity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.to_identity) +} + +// optional fixed32 to_connection_id = 1; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_to_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_to_connection_id() const { + return _internal_has_to_connection_id(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_to_connection_id() { + _impl_.to_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_to_connection_id() const { + return _impl_.to_connection_id_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::to_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.to_connection_id) + return _internal_to_connection_id(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_to_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.to_connection_id_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_to_connection_id(uint32_t value) { + _internal_set_to_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.to_connection_id) +} + +// optional bytes sdr_routes = 2; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_sdr_routes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_sdr_routes() const { + return _internal_has_sdr_routes(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_sdr_routes() { + _impl_.sdr_routes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::sdr_routes() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.sdr_routes) + return _internal_sdr_routes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous::set_sdr_routes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sdr_routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.sdr_routes) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_sdr_routes() { + std::string* _s = _internal_mutable_sdr_routes(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.sdr_routes) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_sdr_routes() const { + return _impl_.sdr_routes_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_sdr_routes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sdr_routes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_sdr_routes() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sdr_routes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::release_sdr_routes() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.sdr_routes) + if (!_internal_has_sdr_routes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sdr_routes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdr_routes_.IsDefault()) { + _impl_.sdr_routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_sdr_routes(std::string* sdr_routes) { + if (sdr_routes != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sdr_routes_.SetAllocated(sdr_routes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sdr_routes_.IsDefault()) { + _impl_.sdr_routes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.sdr_routes) +} + +// optional uint32 ack_peer_routes_revision = 3; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ack_peer_routes_revision() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_ack_peer_routes_revision() const { + return _internal_has_ack_peer_routes_revision(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_ack_peer_routes_revision() { + _impl_.ack_peer_routes_revision_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_ack_peer_routes_revision() const { + return _impl_.ack_peer_routes_revision_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::ack_peer_routes_revision() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ack_peer_routes_revision) + return _internal_ack_peer_routes_revision(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ack_peer_routes_revision(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.ack_peer_routes_revision_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_ack_peer_routes_revision(uint32_t value) { + _internal_set_ack_peer_routes_revision(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ack_peer_routes_revision) +} + +// optional bool ice_enabled = 7; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ice_enabled() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_ice_enabled() const { + return _internal_has_ice_enabled(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_ice_enabled() { + _impl_.ice_enabled_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_ice_enabled() const { + return _impl_.ice_enabled_; +} +inline bool CMsgSteamNetworkingP2PRendezvous::ice_enabled() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ice_enabled) + return _internal_ice_enabled(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ice_enabled(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.ice_enabled_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_ice_enabled(bool value) { + _internal_set_ice_enabled(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ice_enabled) +} + +// optional bytes hosted_server_ticket = 14; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_hosted_server_ticket() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_hosted_server_ticket() const { + return _internal_has_hosted_server_ticket(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_hosted_server_ticket() { + _impl_.hosted_server_ticket_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::hosted_server_ticket() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) + return _internal_hosted_server_ticket(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingP2PRendezvous::set_hosted_server_ticket(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.hosted_server_ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_hosted_server_ticket() { + std::string* _s = _internal_mutable_hosted_server_ticket(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) + return _s; +} +inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_hosted_server_ticket() const { + return _impl_.hosted_server_ticket_.Get(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_hosted_server_ticket(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.hosted_server_ticket_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_hosted_server_ticket() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.hosted_server_ticket_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingP2PRendezvous::release_hosted_server_ticket() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) + if (!_internal_has_hosted_server_ticket()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.hosted_server_ticket_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hosted_server_ticket_.IsDefault()) { + _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_hosted_server_ticket(std::string* hosted_server_ticket) { + if (hosted_server_ticket != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.hosted_server_ticket_.SetAllocated(hosted_server_ticket, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hosted_server_ticket_.IsDefault()) { + _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) +} + +// optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connect_request() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.connect_request_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_connect_request() const { + return _internal_has_connect_request(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_connect_request() { + if (_impl_.connect_request_ != nullptr) _impl_.connect_request_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& CMsgSteamNetworkingP2PRendezvous::_internal_connect_request() const { + const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* p = _impl_.connect_request_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_); +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& CMsgSteamNetworkingP2PRendezvous::connect_request() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connect_request) + return _internal_connect_request(); +} +inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connect_request( + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connect_request_); + } + _impl_.connect_request_ = connect_request; + if (connect_request) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_request) +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::release_connect_request() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* temp = _impl_.connect_request_; + _impl_.connect_request_ = 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 ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connect_request() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connect_request) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* temp = _impl_.connect_request_; + _impl_.connect_request_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connect_request() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.connect_request_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectRequest>(GetArenaForAllocation()); + _impl_.connect_request_ = p; + } + return _impl_.connect_request_; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::mutable_connect_request() { + ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* _msg = _internal_mutable_connect_request(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connect_request) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connect_request(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.connect_request_; + } + if (connect_request) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connect_request); + if (message_arena != submessage_arena) { + connect_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, connect_request, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.connect_request_ = connect_request; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_request) +} + +// optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connect_ok() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.connect_ok_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_connect_ok() const { + return _internal_has_connect_ok(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_connect_ok() { + if (_impl_.connect_ok_ != nullptr) _impl_.connect_ok_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& CMsgSteamNetworkingP2PRendezvous::_internal_connect_ok() const { + const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* p = _impl_.connect_ok_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_); +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& CMsgSteamNetworkingP2PRendezvous::connect_ok() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connect_ok) + return _internal_connect_ok(); +} +inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connect_ok( + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connect_ok_); + } + _impl_.connect_ok_ = connect_ok; + if (connect_ok) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_ok) +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::release_connect_ok() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* temp = _impl_.connect_ok_; + _impl_.connect_ok_ = 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 ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connect_ok() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connect_ok) + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* temp = _impl_.connect_ok_; + _impl_.connect_ok_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connect_ok() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.connect_ok_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectOK>(GetArenaForAllocation()); + _impl_.connect_ok_ = p; + } + return _impl_.connect_ok_; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::mutable_connect_ok() { + ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* _msg = _internal_mutable_connect_ok(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connect_ok) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connect_ok(::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.connect_ok_; + } + if (connect_ok) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connect_ok); + if (message_arena != submessage_arena) { + connect_ok = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, connect_ok, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.connect_ok_ = connect_ok; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_ok) +} + +// optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connection_closed() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.connection_closed_ != nullptr); + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_connection_closed() const { + return _internal_has_connection_closed(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_connection_closed() { + if (_impl_.connection_closed_ != nullptr) _impl_.connection_closed_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& CMsgSteamNetworkingP2PRendezvous::_internal_connection_closed() const { + const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* p = _impl_.connection_closed_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_); +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& CMsgSteamNetworkingP2PRendezvous::connection_closed() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connection_closed) + return _internal_connection_closed(); +} +inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connection_closed( + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connection_closed_); + } + _impl_.connection_closed_ = connection_closed; + if (connection_closed) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connection_closed) +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::release_connection_closed() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* temp = _impl_.connection_closed_; + _impl_.connection_closed_ = 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 ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connection_closed() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connection_closed) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* temp = _impl_.connection_closed_; + _impl_.connection_closed_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connection_closed() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.connection_closed_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed>(GetArenaForAllocation()); + _impl_.connection_closed_ = p; + } + return _impl_.connection_closed_; +} +inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::mutable_connection_closed() { + ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* _msg = _internal_mutable_connection_closed(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connection_closed) + return _msg; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connection_closed(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.connection_closed_; + } + if (connection_closed) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connection_closed); + if (message_arena != submessage_arena) { + connection_closed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, connection_closed, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.connection_closed_ = connection_closed; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connection_closed) +} + +// optional uint32 ack_reliable_msg = 11; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ack_reliable_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_ack_reliable_msg() const { + return _internal_has_ack_reliable_msg(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_ack_reliable_msg() { + _impl_.ack_reliable_msg_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_ack_reliable_msg() const { + return _impl_.ack_reliable_msg_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::ack_reliable_msg() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ack_reliable_msg) + return _internal_ack_reliable_msg(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ack_reliable_msg(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.ack_reliable_msg_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_ack_reliable_msg(uint32_t value) { + _internal_set_ack_reliable_msg(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ack_reliable_msg) +} + +// optional uint32 first_reliable_msg = 12; +inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_first_reliable_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingP2PRendezvous::has_first_reliable_msg() const { + return _internal_has_first_reliable_msg(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_first_reliable_msg() { + _impl_.first_reliable_msg_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_first_reliable_msg() const { + return _impl_.first_reliable_msg_; +} +inline uint32_t CMsgSteamNetworkingP2PRendezvous::first_reliable_msg() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.first_reliable_msg) + return _internal_first_reliable_msg(); +} +inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_first_reliable_msg(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.first_reliable_msg_ = value; +} +inline void CMsgSteamNetworkingP2PRendezvous::set_first_reliable_msg(uint32_t value) { + _internal_set_first_reliable_msg(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.first_reliable_msg) +} + +// repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; +inline int CMsgSteamNetworkingP2PRendezvous::_internal_reliable_messages_size() const { + return _impl_.reliable_messages_.size(); +} +inline int CMsgSteamNetworkingP2PRendezvous::reliable_messages_size() const { + return _internal_reliable_messages_size(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_reliable_messages() { + _impl_.reliable_messages_.Clear(); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::mutable_reliable_messages(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.reliable_messages) + return _impl_.reliable_messages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >* +CMsgSteamNetworkingP2PRendezvous::mutable_reliable_messages() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamNetworkingP2PRendezvous.reliable_messages) + return &_impl_.reliable_messages_; +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& CMsgSteamNetworkingP2PRendezvous::_internal_reliable_messages(int index) const { + return _impl_.reliable_messages_.Get(index); +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& CMsgSteamNetworkingP2PRendezvous::reliable_messages(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.reliable_messages) + return _internal_reliable_messages(index); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::_internal_add_reliable_messages() { + return _impl_.reliable_messages_.Add(); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::add_reliable_messages() { + ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* _add = _internal_add_reliable_messages(); + // @@protoc_insertion_point(field_add:CMsgSteamNetworkingP2PRendezvous.reliable_messages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >& +CMsgSteamNetworkingP2PRendezvous::reliable_messages() const { + // @@protoc_insertion_point(field_list:CMsgSteamNetworkingP2PRendezvous.reliable_messages) + return _impl_.reliable_messages_; +} + +// repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; +inline int CMsgSteamNetworkingP2PRendezvous::_internal_application_messages_size() const { + return _impl_.application_messages_.size(); +} +inline int CMsgSteamNetworkingP2PRendezvous::application_messages_size() const { + return _internal_application_messages_size(); +} +inline void CMsgSteamNetworkingP2PRendezvous::clear_application_messages() { + _impl_.application_messages_.Clear(); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::mutable_application_messages(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.application_messages) + return _impl_.application_messages_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >* +CMsgSteamNetworkingP2PRendezvous::mutable_application_messages() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamNetworkingP2PRendezvous.application_messages) + return &_impl_.application_messages_; +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& CMsgSteamNetworkingP2PRendezvous::_internal_application_messages(int index) const { + return _impl_.application_messages_.Get(index); +} +inline const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& CMsgSteamNetworkingP2PRendezvous::application_messages(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.application_messages) + return _internal_application_messages(index); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::_internal_add_application_messages() { + return _impl_.application_messages_.Add(); +} +inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::add_application_messages() { + ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* _add = _internal_add_application_messages(); + // @@protoc_insertion_point(field_add:CMsgSteamNetworkingP2PRendezvous.application_messages) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >& +CMsgSteamNetworkingP2PRendezvous::application_messages() const { + // @@protoc_insertion_point(field_list:CMsgSteamNetworkingP2PRendezvous.application_messages) + return _impl_.application_messages_; +} + +// ------------------------------------------------------------------- + +// CMsgSteamNetworkingICESessionSummary + +// optional uint32 failure_reason_code = 7; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_failure_reason_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_failure_reason_code() const { + return _internal_has_failure_reason_code(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_failure_reason_code() { + _impl_.failure_reason_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_failure_reason_code() const { + return _impl_.failure_reason_code_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::failure_reason_code() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.failure_reason_code) + return _internal_failure_reason_code(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_failure_reason_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.failure_reason_code_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_failure_reason_code(uint32_t value) { + _internal_set_failure_reason_code(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.failure_reason_code) +} + +// optional uint32 local_candidate_types = 1; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_local_candidate_types() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_local_candidate_types() const { + return _internal_has_local_candidate_types(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_local_candidate_types() { + _impl_.local_candidate_types_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_local_candidate_types() const { + return _impl_.local_candidate_types_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::local_candidate_types() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.local_candidate_types) + return _internal_local_candidate_types(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_local_candidate_types(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.local_candidate_types_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_local_candidate_types(uint32_t value) { + _internal_set_local_candidate_types(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.local_candidate_types) +} + +// optional uint32 remote_candidate_types = 2; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_remote_candidate_types() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_remote_candidate_types() const { + return _internal_has_remote_candidate_types(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_remote_candidate_types() { + _impl_.remote_candidate_types_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_remote_candidate_types() const { + return _impl_.remote_candidate_types_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::remote_candidate_types() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.remote_candidate_types) + return _internal_remote_candidate_types(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_remote_candidate_types(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.remote_candidate_types_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_remote_candidate_types(uint32_t value) { + _internal_set_remote_candidate_types(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.remote_candidate_types) +} + +// optional uint32 initial_route_kind = 3; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_route_kind() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_initial_route_kind() const { + return _internal_has_initial_route_kind(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_initial_route_kind() { + _impl_.initial_route_kind_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_route_kind() const { + return _impl_.initial_route_kind_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_route_kind() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_route_kind) + return _internal_initial_route_kind(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_route_kind(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.initial_route_kind_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_initial_route_kind(uint32_t value) { + _internal_set_initial_route_kind(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_route_kind) +} + +// optional uint32 initial_ping = 4; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_initial_ping() const { + return _internal_has_initial_ping(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_initial_ping() { + _impl_.initial_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_ping() const { + return _impl_.initial_ping_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_ping) + return _internal_initial_ping(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.initial_ping_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_initial_ping(uint32_t value) { + _internal_set_initial_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_ping) +} + +// optional uint32 initial_score = 6; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_score() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_initial_score() const { + return _internal_has_initial_score(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_initial_score() { + _impl_.initial_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_score() const { + return _impl_.initial_score_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_score) + return _internal_initial_score(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.initial_score_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_initial_score(uint32_t value) { + _internal_set_initial_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_score) +} + +// optional uint32 negotiation_ms = 5; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_negotiation_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_negotiation_ms() const { + return _internal_has_negotiation_ms(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_negotiation_ms() { + _impl_.negotiation_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_negotiation_ms() const { + return _impl_.negotiation_ms_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::negotiation_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.negotiation_ms) + return _internal_negotiation_ms(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_negotiation_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.negotiation_ms_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_negotiation_ms(uint32_t value) { + _internal_set_negotiation_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.negotiation_ms) +} + +// optional uint32 best_route_kind = 16; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_route_kind() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_best_route_kind() const { + return _internal_has_best_route_kind(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_best_route_kind() { + _impl_.best_route_kind_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_route_kind() const { + return _impl_.best_route_kind_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::best_route_kind() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_route_kind) + return _internal_best_route_kind(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_route_kind(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.best_route_kind_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_best_route_kind(uint32_t value) { + _internal_set_best_route_kind(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_route_kind) +} + +// optional uint32 best_ping = 17; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_ping() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_best_ping() const { + return _internal_has_best_ping(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_best_ping() { + _impl_.best_ping_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_ping() const { + return _impl_.best_ping_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::best_ping() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_ping) + return _internal_best_ping(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_ping(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.best_ping_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_best_ping(uint32_t value) { + _internal_set_best_ping(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_ping) +} + +// optional uint32 best_score = 18; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_score() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_best_score() const { + return _internal_has_best_score(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_best_score() { + _impl_.best_score_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_score() const { + return _impl_.best_score_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::best_score() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_score) + return _internal_best_score(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_score(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.best_score_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_best_score(uint32_t value) { + _internal_set_best_score(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_score) +} + +// optional uint32 best_time = 19; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_time() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_best_time() const { + return _internal_has_best_time(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_best_time() { + _impl_.best_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_time() const { + return _impl_.best_time_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::best_time() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_time) + return _internal_best_time(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.best_time_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_best_time(uint32_t value) { + _internal_set_best_time(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_time) +} + +// optional uint32 selected_seconds = 12; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_selected_seconds() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_selected_seconds() const { + return _internal_has_selected_seconds(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_selected_seconds() { + _impl_.selected_seconds_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_selected_seconds() const { + return _impl_.selected_seconds_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::selected_seconds() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.selected_seconds) + return _internal_selected_seconds(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_selected_seconds(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.selected_seconds_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_selected_seconds(uint32_t value) { + _internal_set_selected_seconds(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.selected_seconds) +} + +// optional uint32 user_settings = 13; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_user_settings() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_user_settings() const { + return _internal_has_user_settings(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_user_settings() { + _impl_.user_settings_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_user_settings() const { + return _impl_.user_settings_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::user_settings() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.user_settings) + return _internal_user_settings(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_user_settings(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.user_settings_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_user_settings(uint32_t value) { + _internal_set_user_settings(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.user_settings) +} + +// optional uint32 ice_enable_var = 14; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_ice_enable_var() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_ice_enable_var() const { + return _internal_has_ice_enable_var(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_ice_enable_var() { + _impl_.ice_enable_var_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_ice_enable_var() const { + return _impl_.ice_enable_var_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::ice_enable_var() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.ice_enable_var) + return _internal_ice_enable_var(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_ice_enable_var(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.ice_enable_var_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_ice_enable_var(uint32_t value) { + _internal_set_ice_enable_var(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.ice_enable_var) +} + +// optional uint32 local_candidate_types_allowed = 15; +inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_local_candidate_types_allowed() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgSteamNetworkingICESessionSummary::has_local_candidate_types_allowed() const { + return _internal_has_local_candidate_types_allowed(); +} +inline void CMsgSteamNetworkingICESessionSummary::clear_local_candidate_types_allowed() { + _impl_.local_candidate_types_allowed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_local_candidate_types_allowed() const { + return _impl_.local_candidate_types_allowed_; +} +inline uint32_t CMsgSteamNetworkingICESessionSummary::local_candidate_types_allowed() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.local_candidate_types_allowed) + return _internal_local_candidate_types_allowed(); +} +inline void CMsgSteamNetworkingICESessionSummary::_internal_set_local_candidate_types_allowed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.local_candidate_types_allowed_ = value; +} +inline void CMsgSteamNetworkingICESessionSummary::set_local_candidate_types_allowed(uint32_t value) { + _internal_set_local_candidate_types_allowed(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.local_candidate_types_allowed) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CMsgSteamDatagramSessionCryptInfo_EKeyType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramSessionCryptInfo_EKeyType>() { + return ::CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); +} +template <> struct is_proto_enum< ::ESteamNetworkingSocketsCipher> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESteamNetworkingSocketsCipher>() { + return ::ESteamNetworkingSocketsCipher_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.cc new file mode 100644 index 0000000..f85e79f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.cc @@ -0,0 +1,1742 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages_certs.proto + +#include "steamnetworkingsockets_messages_certs.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; + +PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.generic_bytes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.generic_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ipv6_and_port_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} +struct CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal() {} + union { + CMsgSteamNetworkingIdentityLegacyBinary _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal _CMsgSteamNetworkingIdentityLegacyBinary_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gameserver_datacenter_ids_)*/{} + , /*decltype(_impl_.app_ids_)*/{} + , /*decltype(_impl_.ip_addresses_)*/{} + , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.legacy_identity_binary_)*/nullptr + , /*decltype(_impl_.legacy_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.key_type_)*/0 + , /*decltype(_impl_.time_created_)*/0u + , /*decltype(_impl_.time_expiry_)*/0u} {} +struct CMsgSteamDatagramCertificateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramCertificateDefaultTypeInternal() {} + union { + CMsgSteamDatagramCertificate _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateDefaultTypeInternal _CMsgSteamDatagramCertificate_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.private_key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ca_signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ca_key_id_)*/uint64_t{0u}} {} +struct CMsgSteamDatagramCertificateSignedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSignedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramCertificateSignedDefaultTypeInternal() {} + union { + CMsgSteamDatagramCertificateSigned _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateSignedDefaultTypeInternal _CMsgSteamDatagramCertificateSigned_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.cert_)*/nullptr} {} +struct CMsgSteamDatagramCertificateRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamDatagramCertificateRequestDefaultTypeInternal() {} + union { + CMsgSteamDatagramCertificateRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateRequestDefaultTypeInternal _CMsgSteamDatagramCertificateRequest_default_instance_; +static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[4]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto = nullptr; + +const uint32_t TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.generic_bytes_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.generic_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.ipv6_and_port_), + 3, + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.key_type_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.key_data_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.legacy_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.legacy_identity_binary_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.gameserver_datacenter_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.time_created_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.time_expiry_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.app_ids_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.ip_addresses_), + 4, + 0, + 3, + 2, + 1, + ~0u, + 5, + 6, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.ca_key_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.ca_signature_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.private_key_data_), + 1, + 3, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _impl_.cert_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 10, -1, sizeof(::CMsgSteamNetworkingIdentityLegacyBinary)}, + { 14, 30, -1, sizeof(::CMsgSteamDatagramCertificate)}, + { 40, 50, -1, sizeof(::CMsgSteamDatagramCertificateSigned)}, + { 54, 61, -1, sizeof(::CMsgSteamDatagramCertificateRequest)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_._instance, + &::_CMsgSteamDatagramCertificate_default_instance_._instance, + &::_CMsgSteamDatagramCertificateSigned_default_instance_._instance, + &::_CMsgSteamDatagramCertificateRequest_default_instance_._instance, +}; + +const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fcerts_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n+steamnetworkingsockets_messages_certs." + "proto\"\201\001\n\'CMsgSteamNetworkingIdentityLeg" + "acyBinary\022\020\n\010steam_id\030\020 \001(\006\022\025\n\rgeneric_b" + "ytes\030\002 \001(\014\022\026\n\016generic_string\030\003 \001(\t\022\025\n\rip" + "v6_and_port\030\004 \001(\014\"\212\003\n\034CMsgSteamDatagramC" + "ertificate\022A\n\010key_type\030\001 \001(\0162&.CMsgSteam" + "DatagramCertificate.EKeyType:\007INVALID\022\020\n" + "\010key_data\030\002 \001(\014\022\027\n\017legacy_steam_id\030\004 \001(\006" + "\022H\n\026legacy_identity_binary\030\013 \001(\0132(.CMsgS" + "teamNetworkingIdentityLegacyBinary\022\027\n\017id" + "entity_string\030\014 \001(\t\022!\n\031gameserver_datace" + "nter_ids\030\005 \003(\007\022\024\n\014time_created\030\010 \001(\007\022\023\n\013" + "time_expiry\030\t \001(\007\022\017\n\007app_ids\030\n \003(\r\022\024\n\014ip" + "_addresses\030\r \003(\t\"$\n\010EKeyType\022\013\n\007INVALID\020" + "\000\022\013\n\007ED25519\020\001\"u\n\"CMsgSteamDatagramCerti" + "ficateSigned\022\014\n\004cert\030\004 \001(\014\022\021\n\tca_key_id\030" + "\005 \001(\006\022\024\n\014ca_signature\030\006 \001(\014\022\030\n\020private_k" + "ey_data\030\001 \001(\014\"R\n#CMsgSteamDatagramCertif" + "icateRequest\022+\n\004cert\030\001 \001(\0132\035.CMsgSteamDa" + "tagramCertificateB\005H\001\200\001\000" + ; +static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto = { + false, false, 784, descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fcerts_2eproto, + "steamnetworkingsockets_messages_certs.proto", + &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, nullptr, 0, 4, + schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto::offsets, + file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto, + file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter() { + return &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_5fcerts_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramCertificate_EKeyType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto); + return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto[0]; +} +bool CMsgSteamDatagramCertificate_EKeyType_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::INVALID; +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::ED25519; +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::EKeyType_MIN; +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::EKeyType_MAX; +constexpr int CMsgSteamDatagramCertificate::EKeyType_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) + +// =================================================================== + +class CMsgSteamNetworkingIdentityLegacyBinary::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_generic_bytes(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_generic_string(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ipv6_and_port(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary(::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:CMsgSteamNetworkingIdentityLegacyBinary) +} +CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary(const CMsgSteamNetworkingIdentityLegacyBinary& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamNetworkingIdentityLegacyBinary* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.generic_bytes_){} + , decltype(_impl_.generic_string_){} + , decltype(_impl_.ipv6_and_port_){} + , decltype(_impl_.steam_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.generic_bytes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.generic_bytes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_generic_bytes()) { + _this->_impl_.generic_bytes_.Set(from._internal_generic_bytes(), + _this->GetArenaForAllocation()); + } + _impl_.generic_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.generic_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_generic_string()) { + _this->_impl_.generic_string_.Set(from._internal_generic_string(), + _this->GetArenaForAllocation()); + } + _impl_.ipv6_and_port_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ipv6_and_port()) { + _this->_impl_.ipv6_and_port_.Set(from._internal_ipv6_and_port(), + _this->GetArenaForAllocation()); + } + _this->_impl_.steam_id_ = from._impl_.steam_id_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingIdentityLegacyBinary) +} + +inline void CMsgSteamNetworkingIdentityLegacyBinary::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.generic_bytes_){} + , decltype(_impl_.generic_string_){} + , decltype(_impl_.ipv6_and_port_){} + , decltype(_impl_.steam_id_){uint64_t{0u}} + }; + _impl_.generic_bytes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.generic_bytes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.generic_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.generic_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ipv6_and_port_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamNetworkingIdentityLegacyBinary::~CMsgSteamNetworkingIdentityLegacyBinary() { + // @@protoc_insertion_point(destructor:CMsgSteamNetworkingIdentityLegacyBinary) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamNetworkingIdentityLegacyBinary::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.generic_bytes_.Destroy(); + _impl_.generic_string_.Destroy(); + _impl_.ipv6_and_port_.Destroy(); +} + +void CMsgSteamNetworkingIdentityLegacyBinary::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamNetworkingIdentityLegacyBinary::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingIdentityLegacyBinary) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.generic_bytes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.generic_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.ipv6_and_port_.ClearNonDefaultToEmpty(); + } + } + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamNetworkingIdentityLegacyBinary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes generic_bytes = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_generic_bytes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string generic_string = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_generic_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingIdentityLegacyBinary.generic_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes ipv6_and_port = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_ipv6_and_port(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 steam_id = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 129)) { + _Internal::set_has_steam_id(&has_bits); + _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamNetworkingIdentityLegacyBinary::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingIdentityLegacyBinary) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes generic_bytes = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_generic_bytes(), target); + } + + // optional string generic_string = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_generic_string().data(), static_cast(this->_internal_generic_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamNetworkingIdentityLegacyBinary.generic_string"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_generic_string(), target); + } + + // optional bytes ipv6_and_port = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_ipv6_and_port(), target); + } + + // optional fixed64 steam_id = 16; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(16, this->_internal_steam_id(), 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:CMsgSteamNetworkingIdentityLegacyBinary) + return target; +} + +size_t CMsgSteamNetworkingIdentityLegacyBinary::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingIdentityLegacyBinary) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes generic_bytes = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_generic_bytes()); + } + + // optional string generic_string = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_generic_string()); + } + + // optional bytes ipv6_and_port = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_ipv6_and_port()); + } + + // optional fixed64 steam_id = 16; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingIdentityLegacyBinary::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamNetworkingIdentityLegacyBinary::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingIdentityLegacyBinary::GetClassData() const { return &_class_data_; } + + +void CMsgSteamNetworkingIdentityLegacyBinary::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:CMsgSteamNetworkingIdentityLegacyBinary) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_generic_bytes(from._internal_generic_bytes()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_generic_string(from._internal_generic_string()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_ipv6_and_port(from._internal_ipv6_and_port()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.steam_id_ = from._impl_.steam_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamNetworkingIdentityLegacyBinary::CopyFrom(const CMsgSteamNetworkingIdentityLegacyBinary& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingIdentityLegacyBinary) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamNetworkingIdentityLegacyBinary::IsInitialized() const { + return true; +} + +void CMsgSteamNetworkingIdentityLegacyBinary::InternalSwap(CMsgSteamNetworkingIdentityLegacyBinary* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.generic_bytes_, lhs_arena, + &other->_impl_.generic_bytes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.generic_string_, lhs_arena, + &other->_impl_.generic_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ipv6_and_port_, lhs_arena, + &other->_impl_.ipv6_and_port_, rhs_arena + ); + swap(_impl_.steam_id_, other->_impl_.steam_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingIdentityLegacyBinary::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[0]); +} + +// =================================================================== + +class CMsgSteamDatagramCertificate::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_key_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_key_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamDatagramCertificate* msg); + static void set_has_legacy_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_time_created(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_time_expiry(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +const ::CMsgSteamNetworkingIdentityLegacyBinary& +CMsgSteamDatagramCertificate::_Internal::legacy_identity_binary(const CMsgSteamDatagramCertificate* msg) { + return *msg->_impl_.legacy_identity_binary_; +} +CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate(::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:CMsgSteamDatagramCertificate) +} +CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate(const CMsgSteamDatagramCertificate& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramCertificate* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_datacenter_ids_){from._impl_.gameserver_datacenter_ids_} + , decltype(_impl_.app_ids_){from._impl_.app_ids_} + , decltype(_impl_.ip_addresses_){from._impl_.ip_addresses_} + , decltype(_impl_.key_data_){} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.legacy_steam_id_){} + , decltype(_impl_.key_type_){} + , decltype(_impl_.time_created_){} + , decltype(_impl_.time_expiry_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_key_data()) { + _this->_impl_.key_data_.Set(from._internal_key_data(), + _this->GetArenaForAllocation()); + } + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_string()) { + _this->_impl_.identity_string_.Set(from._internal_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_legacy_identity_binary()) { + _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); + } + ::memcpy(&_impl_.legacy_steam_id_, &from._impl_.legacy_steam_id_, + static_cast(reinterpret_cast(&_impl_.time_expiry_) - + reinterpret_cast(&_impl_.legacy_steam_id_)) + sizeof(_impl_.time_expiry_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificate) +} + +inline void CMsgSteamDatagramCertificate::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gameserver_datacenter_ids_){arena} + , decltype(_impl_.app_ids_){arena} + , decltype(_impl_.ip_addresses_){arena} + , decltype(_impl_.key_data_){} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.legacy_steam_id_){uint64_t{0u}} + , decltype(_impl_.key_type_){0} + , decltype(_impl_.time_created_){0u} + , decltype(_impl_.time_expiry_){0u} + }; + _impl_.key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramCertificate::~CMsgSteamDatagramCertificate() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramCertificate::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gameserver_datacenter_ids_.~RepeatedField(); + _impl_.app_ids_.~RepeatedField(); + _impl_.ip_addresses_.~RepeatedPtrField(); + _impl_.key_data_.Destroy(); + _impl_.identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; +} + +void CMsgSteamDatagramCertificate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramCertificate::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificate) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.gameserver_datacenter_ids_.Clear(); + _impl_.app_ids_.Clear(); + _impl_.ip_addresses_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.key_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); + _impl_.legacy_identity_binary_->Clear(); + } + } + if (cached_has_bits & 0x00000078u) { + ::memset(&_impl_.legacy_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.time_expiry_) - + reinterpret_cast(&_impl_.legacy_steam_id_)) + sizeof(_impl_.time_expiry_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramCertificate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramCertificate_EKeyType_IsValid(val))) { + _internal_set_key_type(static_cast<::CMsgSteamDatagramCertificate_EKeyType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional bytes key_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_key_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_steam_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { + _Internal::set_has_legacy_steam_id(&has_bits); + _impl_.legacy_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // repeated fixed32 gameserver_datacenter_ids = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_gameserver_datacenter_ids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(uint32_t); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_gameserver_datacenter_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 time_created = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_time_created(&has_bits); + _impl_.time_created_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 time_expiry = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_time_expiry(&has_bits); + _impl_.time_expiry_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // repeated uint32 app_ids = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_app_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); + } else if (static_cast(tag) == 82) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_app_ids(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string identity_string = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramCertificate.identity_string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated string ip_addresses = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_ip_addresses(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramCertificate.ip_addresses"); + #endif // !NDEBUG + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramCertificate::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificate) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_key_type(), target); + } + + // optional bytes key_data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_key_data(), target); + } + + // optional fixed64 legacy_steam_id = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_steam_id(), target); + } + + // repeated fixed32 gameserver_datacenter_ids = 5; + for (int i = 0, n = this->_internal_gameserver_datacenter_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_gameserver_datacenter_ids(i), target); + } + + // optional fixed32 time_created = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_time_created(), target); + } + + // optional fixed32 time_expiry = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_time_expiry(), target); + } + + // repeated uint32 app_ids = 10; + for (int i = 0, n = this->_internal_app_ids_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_app_ids(i), target); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::legacy_identity_binary(this), + _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); + } + + // optional string identity_string = 12; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramCertificate.identity_string"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_identity_string(), target); + } + + // repeated string ip_addresses = 13; + for (int i = 0, n = this->_internal_ip_addresses_size(); i < n; i++) { + const auto& s = this->_internal_ip_addresses(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamDatagramCertificate.ip_addresses"); + target = stream->WriteString(13, 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:CMsgSteamDatagramCertificate) + return target; +} + +size_t CMsgSteamDatagramCertificate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificate) + 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 fixed32 gameserver_datacenter_ids = 5; + { + unsigned int count = static_cast(this->_internal_gameserver_datacenter_ids_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_gameserver_datacenter_ids_size()); + total_size += data_size; + } + + // repeated uint32 app_ids = 10; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.app_ids_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_app_ids_size()); + total_size += data_size; + } + + // repeated string ip_addresses = 13; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.ip_addresses_.size()); + for (int i = 0, n = _impl_.ip_addresses_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.ip_addresses_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional bytes key_data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_key_data()); + } + + // optional string identity_string = 12; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_string()); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.legacy_identity_binary_); + } + + // optional fixed64 legacy_steam_id = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_key_type()); + } + + // optional fixed32 time_created = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional fixed32 time_expiry = 9; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramCertificate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificate::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramCertificate::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:CMsgSteamDatagramCertificate) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.gameserver_datacenter_ids_.MergeFrom(from._impl_.gameserver_datacenter_ids_); + _this->_impl_.app_ids_.MergeFrom(from._impl_.app_ids_); + _this->_impl_.ip_addresses_.MergeFrom(from._impl_.ip_addresses_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_key_data(from._internal_key_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_identity_string(from._internal_identity_string()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( + from._internal_legacy_identity_binary()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.legacy_steam_id_ = from._impl_.legacy_steam_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.key_type_ = from._impl_.key_type_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.time_created_ = from._impl_.time_created_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.time_expiry_ = from._impl_.time_expiry_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramCertificate::CopyFrom(const CMsgSteamDatagramCertificate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramCertificate::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramCertificate::InternalSwap(CMsgSteamDatagramCertificate* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.gameserver_datacenter_ids_.InternalSwap(&other->_impl_.gameserver_datacenter_ids_); + _impl_.app_ids_.InternalSwap(&other->_impl_.app_ids_); + _impl_.ip_addresses_.InternalSwap(&other->_impl_.ip_addresses_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.key_data_, lhs_arena, + &other->_impl_.key_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_string_, lhs_arena, + &other->_impl_.identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramCertificate, _impl_.time_expiry_) + + sizeof(CMsgSteamDatagramCertificate::_impl_.time_expiry_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramCertificate, _impl_.legacy_identity_binary_)>( + reinterpret_cast(&_impl_.legacy_identity_binary_), + reinterpret_cast(&other->_impl_.legacy_identity_binary_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[1]); +} + +// =================================================================== + +class CMsgSteamDatagramCertificateSigned::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ca_key_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_ca_signature(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_private_key_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned(::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:CMsgSteamDatagramCertificateSigned) +} +CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned(const CMsgSteamDatagramCertificateSigned& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramCertificateSigned* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.private_key_data_){} + , decltype(_impl_.cert_){} + , decltype(_impl_.ca_signature_){} + , decltype(_impl_.ca_key_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.private_key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.private_key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_private_key_data()) { + _this->_impl_.private_key_data_.Set(from._internal_private_key_data(), + _this->GetArenaForAllocation()); + } + _impl_.cert_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_cert()) { + _this->_impl_.cert_.Set(from._internal_cert(), + _this->GetArenaForAllocation()); + } + _impl_.ca_signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ca_signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_ca_signature()) { + _this->_impl_.ca_signature_.Set(from._internal_ca_signature(), + _this->GetArenaForAllocation()); + } + _this->_impl_.ca_key_id_ = from._impl_.ca_key_id_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificateSigned) +} + +inline void CMsgSteamDatagramCertificateSigned::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.private_key_data_){} + , decltype(_impl_.cert_){} + , decltype(_impl_.ca_signature_){} + , decltype(_impl_.ca_key_id_){uint64_t{0u}} + }; + _impl_.private_key_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.private_key_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.cert_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ca_signature_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ca_signature_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamDatagramCertificateSigned::~CMsgSteamDatagramCertificateSigned() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificateSigned) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramCertificateSigned::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.private_key_data_.Destroy(); + _impl_.cert_.Destroy(); + _impl_.ca_signature_.Destroy(); +} + +void CMsgSteamDatagramCertificateSigned::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramCertificateSigned::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificateSigned) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.private_key_data_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.cert_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.ca_signature_.ClearNonDefaultToEmpty(); + } + } + _impl_.ca_key_id_ = uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramCertificateSigned::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes private_key_data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_private_key_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes cert = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_cert(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 ca_key_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { + _Internal::set_has_ca_key_id(&has_bits); + _impl_.ca_key_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional bytes ca_signature = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_ca_signature(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramCertificateSigned::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificateSigned) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes private_key_data = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_private_key_data(), target); + } + + // optional bytes cert = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 4, this->_internal_cert(), target); + } + + // optional fixed64 ca_key_id = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_ca_key_id(), target); + } + + // optional bytes ca_signature = 6; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 6, this->_internal_ca_signature(), 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:CMsgSteamDatagramCertificateSigned) + return target; +} + +size_t CMsgSteamDatagramCertificateSigned::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificateSigned) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional bytes private_key_data = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_private_key_data()); + } + + // optional bytes cert = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_cert()); + } + + // optional bytes ca_signature = 6; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_ca_signature()); + } + + // optional fixed64 ca_key_id = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificateSigned::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramCertificateSigned::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificateSigned::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramCertificateSigned::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:CMsgSteamDatagramCertificateSigned) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_private_key_data(from._internal_private_key_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_cert(from._internal_cert()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_ca_signature(from._internal_ca_signature()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ca_key_id_ = from._impl_.ca_key_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramCertificateSigned::CopyFrom(const CMsgSteamDatagramCertificateSigned& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificateSigned) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramCertificateSigned::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramCertificateSigned::InternalSwap(CMsgSteamDatagramCertificateSigned* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.private_key_data_, lhs_arena, + &other->_impl_.private_key_data_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.cert_, lhs_arena, + &other->_impl_.cert_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ca_signature_, lhs_arena, + &other->_impl_.ca_signature_, rhs_arena + ); + swap(_impl_.ca_key_id_, other->_impl_.ca_key_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificateSigned::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[2]); +} + +// =================================================================== + +class CMsgSteamDatagramCertificateRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramCertificate& cert(const CMsgSteamDatagramCertificateRequest* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgSteamDatagramCertificate& +CMsgSteamDatagramCertificateRequest::_Internal::cert(const CMsgSteamDatagramCertificateRequest* msg) { + return *msg->_impl_.cert_; +} +CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest(::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:CMsgSteamDatagramCertificateRequest) +} +CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest(const CMsgSteamDatagramCertificateRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamDatagramCertificateRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cert_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificate(*from._impl_.cert_); + } + // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificateRequest) +} + +inline void CMsgSteamDatagramCertificateRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.cert_){nullptr} + }; +} + +CMsgSteamDatagramCertificateRequest::~CMsgSteamDatagramCertificateRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificateRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamDatagramCertificateRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.cert_; +} + +void CMsgSteamDatagramCertificateRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamDatagramCertificateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificateRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamDatagramCertificateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramCertificate cert = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamDatagramCertificateRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificateRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramCertificate cert = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::cert(this), + _Internal::cert(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:CMsgSteamDatagramCertificateRequest) + return target; +} + +size_t CMsgSteamDatagramCertificateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificateRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgSteamDatagramCertificate cert = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificateRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamDatagramCertificateRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificateRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamDatagramCertificateRequest::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:CMsgSteamDatagramCertificateRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_cert()) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificate::MergeFrom( + from._internal_cert()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamDatagramCertificateRequest::CopyFrom(const CMsgSteamDatagramCertificateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamDatagramCertificateRequest::IsInitialized() const { + return true; +} + +void CMsgSteamDatagramCertificateRequest::InternalSwap(CMsgSteamDatagramCertificateRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.cert_, other->_impl_.cert_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificateRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[3]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingIdentityLegacyBinary* +Arena::CreateMaybeMessage< ::CMsgSteamNetworkingIdentityLegacyBinary >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamNetworkingIdentityLegacyBinary >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificate* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificate >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificate >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificateSigned* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificateSigned >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificateSigned >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificateRequest* +Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificateRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificateRequest >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.h new file mode 100644 index 0000000..9d25fd8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_certs.pb.h @@ -0,0 +1,2175 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages_certs.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_5fcerts_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +class CMsgSteamDatagramCertificate; +struct CMsgSteamDatagramCertificateDefaultTypeInternal; +extern CMsgSteamDatagramCertificateDefaultTypeInternal _CMsgSteamDatagramCertificate_default_instance_; +class CMsgSteamDatagramCertificateRequest; +struct CMsgSteamDatagramCertificateRequestDefaultTypeInternal; +extern CMsgSteamDatagramCertificateRequestDefaultTypeInternal _CMsgSteamDatagramCertificateRequest_default_instance_; +class CMsgSteamDatagramCertificateSigned; +struct CMsgSteamDatagramCertificateSignedDefaultTypeInternal; +extern CMsgSteamDatagramCertificateSignedDefaultTypeInternal _CMsgSteamDatagramCertificateSigned_default_instance_; +class CMsgSteamNetworkingIdentityLegacyBinary; +struct CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal; +extern CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal _CMsgSteamNetworkingIdentityLegacyBinary_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgSteamDatagramCertificate* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificate>(Arena*); +template<> ::CMsgSteamDatagramCertificateRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificateRequest>(Arena*); +template<> ::CMsgSteamDatagramCertificateSigned* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(Arena*); +template<> ::CMsgSteamNetworkingIdentityLegacyBinary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CMsgSteamDatagramCertificate_EKeyType : int { + CMsgSteamDatagramCertificate_EKeyType_INVALID = 0, + CMsgSteamDatagramCertificate_EKeyType_ED25519 = 1 +}; +bool CMsgSteamDatagramCertificate_EKeyType_IsValid(int value); +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate_EKeyType_EKeyType_MIN = CMsgSteamDatagramCertificate_EKeyType_INVALID; +constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX = CMsgSteamDatagramCertificate_EKeyType_ED25519; +constexpr int CMsgSteamDatagramCertificate_EKeyType_EKeyType_ARRAYSIZE = CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramCertificate_EKeyType_descriptor(); +template +inline const std::string& CMsgSteamDatagramCertificate_EKeyType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamDatagramCertificate_EKeyType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamDatagramCertificate_EKeyType_descriptor(), enum_t_value); +} +inline bool CMsgSteamDatagramCertificate_EKeyType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramCertificate_EKeyType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamDatagramCertificate_EKeyType_descriptor(), name, value); +} +// =================================================================== + +class CMsgSteamNetworkingIdentityLegacyBinary final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingIdentityLegacyBinary) */ { + public: + inline CMsgSteamNetworkingIdentityLegacyBinary() : CMsgSteamNetworkingIdentityLegacyBinary(nullptr) {} + ~CMsgSteamNetworkingIdentityLegacyBinary() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamNetworkingIdentityLegacyBinary(const CMsgSteamNetworkingIdentityLegacyBinary& from); + CMsgSteamNetworkingIdentityLegacyBinary(CMsgSteamNetworkingIdentityLegacyBinary&& from) noexcept + : CMsgSteamNetworkingIdentityLegacyBinary() { + *this = ::std::move(from); + } + + inline CMsgSteamNetworkingIdentityLegacyBinary& operator=(const CMsgSteamNetworkingIdentityLegacyBinary& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamNetworkingIdentityLegacyBinary& operator=(CMsgSteamNetworkingIdentityLegacyBinary&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamNetworkingIdentityLegacyBinary& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamNetworkingIdentityLegacyBinary* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSteamNetworkingIdentityLegacyBinary& a, CMsgSteamNetworkingIdentityLegacyBinary& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamNetworkingIdentityLegacyBinary* 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(CMsgSteamNetworkingIdentityLegacyBinary* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamNetworkingIdentityLegacyBinary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamNetworkingIdentityLegacyBinary& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamNetworkingIdentityLegacyBinary& from) { + CMsgSteamNetworkingIdentityLegacyBinary::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(CMsgSteamNetworkingIdentityLegacyBinary* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamNetworkingIdentityLegacyBinary"; + } + protected: + explicit CMsgSteamNetworkingIdentityLegacyBinary(::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 { + kGenericBytesFieldNumber = 2, + kGenericStringFieldNumber = 3, + kIpv6AndPortFieldNumber = 4, + kSteamIdFieldNumber = 16, + }; + // optional bytes generic_bytes = 2; + bool has_generic_bytes() const; + private: + bool _internal_has_generic_bytes() const; + public: + void clear_generic_bytes(); + const std::string& generic_bytes() const; + template + void set_generic_bytes(ArgT0&& arg0, ArgT... args); + std::string* mutable_generic_bytes(); + PROTOBUF_NODISCARD std::string* release_generic_bytes(); + void set_allocated_generic_bytes(std::string* generic_bytes); + private: + const std::string& _internal_generic_bytes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_generic_bytes(const std::string& value); + std::string* _internal_mutable_generic_bytes(); + public: + + // optional string generic_string = 3; + bool has_generic_string() const; + private: + bool _internal_has_generic_string() const; + public: + void clear_generic_string(); + const std::string& generic_string() const; + template + void set_generic_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_generic_string(); + PROTOBUF_NODISCARD std::string* release_generic_string(); + void set_allocated_generic_string(std::string* generic_string); + private: + const std::string& _internal_generic_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_generic_string(const std::string& value); + std::string* _internal_mutable_generic_string(); + public: + + // optional bytes ipv6_and_port = 4; + bool has_ipv6_and_port() const; + private: + bool _internal_has_ipv6_and_port() const; + public: + void clear_ipv6_and_port(); + const std::string& ipv6_and_port() const; + template + void set_ipv6_and_port(ArgT0&& arg0, ArgT... args); + std::string* mutable_ipv6_and_port(); + PROTOBUF_NODISCARD std::string* release_ipv6_and_port(); + void set_allocated_ipv6_and_port(std::string* ipv6_and_port); + private: + const std::string& _internal_ipv6_and_port() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ipv6_and_port(const std::string& value); + std::string* _internal_mutable_ipv6_and_port(); + public: + + // optional fixed64 steam_id = 16; + bool has_steam_id() const; + private: + bool _internal_has_steam_id() const; + public: + void clear_steam_id(); + uint64_t steam_id() const; + void set_steam_id(uint64_t value); + private: + uint64_t _internal_steam_id() const; + void _internal_set_steam_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingIdentityLegacyBinary) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr generic_bytes_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr generic_string_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv6_and_port_; + uint64_t steam_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramCertificate final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificate) */ { + public: + inline CMsgSteamDatagramCertificate() : CMsgSteamDatagramCertificate(nullptr) {} + ~CMsgSteamDatagramCertificate() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramCertificate(const CMsgSteamDatagramCertificate& from); + CMsgSteamDatagramCertificate(CMsgSteamDatagramCertificate&& from) noexcept + : CMsgSteamDatagramCertificate() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramCertificate& operator=(const CMsgSteamDatagramCertificate& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramCertificate& operator=(CMsgSteamDatagramCertificate&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramCertificate& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramCertificate* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramCertificate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSteamDatagramCertificate& a, CMsgSteamDatagramCertificate& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramCertificate* 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(CMsgSteamDatagramCertificate* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramCertificate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramCertificate& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramCertificate& from) { + CMsgSteamDatagramCertificate::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(CMsgSteamDatagramCertificate* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramCertificate"; + } + protected: + explicit CMsgSteamDatagramCertificate(::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 ---------------------------------------------------- + + typedef CMsgSteamDatagramCertificate_EKeyType EKeyType; + static constexpr EKeyType INVALID = + CMsgSteamDatagramCertificate_EKeyType_INVALID; + static constexpr EKeyType ED25519 = + CMsgSteamDatagramCertificate_EKeyType_ED25519; + static inline bool EKeyType_IsValid(int value) { + return CMsgSteamDatagramCertificate_EKeyType_IsValid(value); + } + static constexpr EKeyType EKeyType_MIN = + CMsgSteamDatagramCertificate_EKeyType_EKeyType_MIN; + static constexpr EKeyType EKeyType_MAX = + CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX; + static constexpr int EKeyType_ARRAYSIZE = + CMsgSteamDatagramCertificate_EKeyType_EKeyType_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + EKeyType_descriptor() { + return CMsgSteamDatagramCertificate_EKeyType_descriptor(); + } + template + static inline const std::string& EKeyType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EKeyType_Name."); + return CMsgSteamDatagramCertificate_EKeyType_Name(enum_t_value); + } + static inline bool EKeyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + EKeyType* value) { + return CMsgSteamDatagramCertificate_EKeyType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kGameserverDatacenterIdsFieldNumber = 5, + kAppIdsFieldNumber = 10, + kIpAddressesFieldNumber = 13, + kKeyDataFieldNumber = 2, + kIdentityStringFieldNumber = 12, + kLegacyIdentityBinaryFieldNumber = 11, + kLegacySteamIdFieldNumber = 4, + kKeyTypeFieldNumber = 1, + kTimeCreatedFieldNumber = 8, + kTimeExpiryFieldNumber = 9, + }; + // repeated fixed32 gameserver_datacenter_ids = 5; + int gameserver_datacenter_ids_size() const; + private: + int _internal_gameserver_datacenter_ids_size() const; + public: + void clear_gameserver_datacenter_ids(); + private: + uint32_t _internal_gameserver_datacenter_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_gameserver_datacenter_ids() const; + void _internal_add_gameserver_datacenter_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_gameserver_datacenter_ids(); + public: + uint32_t gameserver_datacenter_ids(int index) const; + void set_gameserver_datacenter_ids(int index, uint32_t value); + void add_gameserver_datacenter_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + gameserver_datacenter_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_gameserver_datacenter_ids(); + + // repeated uint32 app_ids = 10; + int app_ids_size() const; + private: + int _internal_app_ids_size() const; + public: + void clear_app_ids(); + private: + uint32_t _internal_app_ids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_app_ids() const; + void _internal_add_app_ids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_app_ids(); + public: + uint32_t app_ids(int index) const; + void set_app_ids(int index, uint32_t value); + void add_app_ids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + app_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_app_ids(); + + // repeated string ip_addresses = 13; + int ip_addresses_size() const; + private: + int _internal_ip_addresses_size() const; + public: + void clear_ip_addresses(); + const std::string& ip_addresses(int index) const; + std::string* mutable_ip_addresses(int index); + void set_ip_addresses(int index, const std::string& value); + void set_ip_addresses(int index, std::string&& value); + void set_ip_addresses(int index, const char* value); + void set_ip_addresses(int index, const char* value, size_t size); + std::string* add_ip_addresses(); + void add_ip_addresses(const std::string& value); + void add_ip_addresses(std::string&& value); + void add_ip_addresses(const char* value); + void add_ip_addresses(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ip_addresses() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_ip_addresses(); + private: + const std::string& _internal_ip_addresses(int index) const; + std::string* _internal_add_ip_addresses(); + public: + + // optional bytes key_data = 2; + bool has_key_data() const; + private: + bool _internal_has_key_data() const; + public: + void clear_key_data(); + const std::string& key_data() const; + template + void set_key_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_key_data(); + PROTOBUF_NODISCARD std::string* release_key_data(); + void set_allocated_key_data(std::string* key_data); + private: + const std::string& _internal_key_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); + std::string* _internal_mutable_key_data(); + public: + + // optional string identity_string = 12; + bool has_identity_string() const; + private: + bool _internal_has_identity_string() const; + public: + void clear_identity_string(); + const std::string& identity_string() const; + template + void set_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_string(); + PROTOBUF_NODISCARD std::string* release_identity_string(); + void set_allocated_identity_string(std::string* identity_string); + private: + const std::string& _internal_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); + std::string* _internal_mutable_identity_string(); + public: + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; + bool has_legacy_identity_binary() const; + private: + bool _internal_has_legacy_identity_binary() const; + public: + void clear_legacy_identity_binary(); + const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); + ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); + void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + private: + const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; + ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); + public: + void unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); + + // optional fixed64 legacy_steam_id = 4; + bool has_legacy_steam_id() const; + private: + bool _internal_has_legacy_steam_id() const; + public: + void clear_legacy_steam_id(); + uint64_t legacy_steam_id() const; + void set_legacy_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_steam_id() const; + void _internal_set_legacy_steam_id(uint64_t value); + public: + + // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; + bool has_key_type() const; + private: + bool _internal_has_key_type() const; + public: + void clear_key_type(); + ::CMsgSteamDatagramCertificate_EKeyType key_type() const; + void set_key_type(::CMsgSteamDatagramCertificate_EKeyType value); + private: + ::CMsgSteamDatagramCertificate_EKeyType _internal_key_type() const; + void _internal_set_key_type(::CMsgSteamDatagramCertificate_EKeyType value); + public: + + // optional fixed32 time_created = 8; + bool has_time_created() const; + private: + bool _internal_has_time_created() const; + public: + void clear_time_created(); + uint32_t time_created() const; + void set_time_created(uint32_t value); + private: + uint32_t _internal_time_created() const; + void _internal_set_time_created(uint32_t value); + public: + + // optional fixed32 time_expiry = 9; + bool has_time_expiry() const; + private: + bool _internal_has_time_expiry() const; + public: + void clear_time_expiry(); + uint32_t time_expiry() const; + void set_time_expiry(uint32_t value); + private: + uint32_t _internal_time_expiry() const; + void _internal_set_time_expiry(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificate) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gameserver_datacenter_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > app_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField ip_addresses_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; + uint64_t legacy_steam_id_; + int key_type_; + uint32_t time_created_; + uint32_t time_expiry_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramCertificateSigned final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificateSigned) */ { + public: + inline CMsgSteamDatagramCertificateSigned() : CMsgSteamDatagramCertificateSigned(nullptr) {} + ~CMsgSteamDatagramCertificateSigned() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSigned(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramCertificateSigned(const CMsgSteamDatagramCertificateSigned& from); + CMsgSteamDatagramCertificateSigned(CMsgSteamDatagramCertificateSigned&& from) noexcept + : CMsgSteamDatagramCertificateSigned() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramCertificateSigned& operator=(const CMsgSteamDatagramCertificateSigned& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramCertificateSigned& operator=(CMsgSteamDatagramCertificateSigned&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramCertificateSigned& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramCertificateSigned* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramCertificateSigned_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSteamDatagramCertificateSigned& a, CMsgSteamDatagramCertificateSigned& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramCertificateSigned* 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(CMsgSteamDatagramCertificateSigned* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramCertificateSigned* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramCertificateSigned& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramCertificateSigned& from) { + CMsgSteamDatagramCertificateSigned::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(CMsgSteamDatagramCertificateSigned* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramCertificateSigned"; + } + protected: + explicit CMsgSteamDatagramCertificateSigned(::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 { + kPrivateKeyDataFieldNumber = 1, + kCertFieldNumber = 4, + kCaSignatureFieldNumber = 6, + kCaKeyIdFieldNumber = 5, + }; + // optional bytes private_key_data = 1; + bool has_private_key_data() const; + private: + bool _internal_has_private_key_data() const; + public: + void clear_private_key_data(); + const std::string& private_key_data() const; + template + void set_private_key_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_private_key_data(); + PROTOBUF_NODISCARD std::string* release_private_key_data(); + void set_allocated_private_key_data(std::string* private_key_data); + private: + const std::string& _internal_private_key_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_private_key_data(const std::string& value); + std::string* _internal_mutable_private_key_data(); + public: + + // optional bytes cert = 4; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const std::string& cert() const; + template + void set_cert(ArgT0&& arg0, ArgT... args); + std::string* mutable_cert(); + PROTOBUF_NODISCARD std::string* release_cert(); + void set_allocated_cert(std::string* cert); + private: + const std::string& _internal_cert() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cert(const std::string& value); + std::string* _internal_mutable_cert(); + public: + + // optional bytes ca_signature = 6; + bool has_ca_signature() const; + private: + bool _internal_has_ca_signature() const; + public: + void clear_ca_signature(); + const std::string& ca_signature() const; + template + void set_ca_signature(ArgT0&& arg0, ArgT... args); + std::string* mutable_ca_signature(); + PROTOBUF_NODISCARD std::string* release_ca_signature(); + void set_allocated_ca_signature(std::string* ca_signature); + private: + const std::string& _internal_ca_signature() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ca_signature(const std::string& value); + std::string* _internal_mutable_ca_signature(); + public: + + // optional fixed64 ca_key_id = 5; + bool has_ca_key_id() const; + private: + bool _internal_has_ca_key_id() const; + public: + void clear_ca_key_id(); + uint64_t ca_key_id() const; + void set_ca_key_id(uint64_t value); + private: + uint64_t _internal_ca_key_id() const; + void _internal_set_ca_key_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificateSigned) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr private_key_data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cert_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ca_signature_; + uint64_t ca_key_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamDatagramCertificateRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificateRequest) */ { + public: + inline CMsgSteamDatagramCertificateRequest() : CMsgSteamDatagramCertificateRequest(nullptr) {} + ~CMsgSteamDatagramCertificateRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamDatagramCertificateRequest(const CMsgSteamDatagramCertificateRequest& from); + CMsgSteamDatagramCertificateRequest(CMsgSteamDatagramCertificateRequest&& from) noexcept + : CMsgSteamDatagramCertificateRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamDatagramCertificateRequest& operator=(const CMsgSteamDatagramCertificateRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamDatagramCertificateRequest& operator=(CMsgSteamDatagramCertificateRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamDatagramCertificateRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamDatagramCertificateRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamDatagramCertificateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSteamDatagramCertificateRequest& a, CMsgSteamDatagramCertificateRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamDatagramCertificateRequest* 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(CMsgSteamDatagramCertificateRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamDatagramCertificateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamDatagramCertificateRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamDatagramCertificateRequest& from) { + CMsgSteamDatagramCertificateRequest::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(CMsgSteamDatagramCertificateRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamDatagramCertificateRequest"; + } + protected: + explicit CMsgSteamDatagramCertificateRequest(::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 { + kCertFieldNumber = 1, + }; + // optional .CMsgSteamDatagramCertificate cert = 1; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificate& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificate* release_cert(); + ::CMsgSteamDatagramCertificate* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificate* cert); + private: + const ::CMsgSteamDatagramCertificate& _internal_cert() const; + ::CMsgSteamDatagramCertificate* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificate* cert); + ::CMsgSteamDatagramCertificate* unsafe_arena_release_cert(); + + // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificateRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramCertificate* cert_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSteamNetworkingIdentityLegacyBinary + +// optional fixed64 steam_id = 16; +inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_steam_id() const { + return _internal_has_steam_id(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_steam_id() { + _impl_.steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamNetworkingIdentityLegacyBinary::_internal_steam_id() const { + return _impl_.steam_id_; +} +inline uint64_t CMsgSteamNetworkingIdentityLegacyBinary::steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.steam_id) + return _internal_steam_id(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.steam_id_ = value; +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::set_steam_id(uint64_t value) { + _internal_set_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.steam_id) +} + +// optional bytes generic_bytes = 2; +inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_generic_bytes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_generic_bytes() const { + return _internal_has_generic_bytes(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_generic_bytes() { + _impl_.generic_bytes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::generic_bytes() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) + return _internal_generic_bytes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingIdentityLegacyBinary::set_generic_bytes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.generic_bytes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_generic_bytes() { + std::string* _s = _internal_mutable_generic_bytes(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) + return _s; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_generic_bytes() const { + return _impl_.generic_bytes_.Get(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_generic_bytes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.generic_bytes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_generic_bytes() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.generic_bytes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_generic_bytes() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) + if (!_internal_has_generic_bytes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.generic_bytes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.generic_bytes_.IsDefault()) { + _impl_.generic_bytes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_generic_bytes(std::string* generic_bytes) { + if (generic_bytes != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.generic_bytes_.SetAllocated(generic_bytes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.generic_bytes_.IsDefault()) { + _impl_.generic_bytes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) +} + +// optional string generic_string = 3; +inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_generic_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_generic_string() const { + return _internal_has_generic_string(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_generic_string() { + _impl_.generic_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::generic_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) + return _internal_generic_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingIdentityLegacyBinary::set_generic_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.generic_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_generic_string() { + std::string* _s = _internal_mutable_generic_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) + return _s; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_generic_string() const { + return _impl_.generic_string_.Get(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_generic_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.generic_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_generic_string() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.generic_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_generic_string() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) + if (!_internal_has_generic_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.generic_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.generic_string_.IsDefault()) { + _impl_.generic_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_generic_string(std::string* generic_string) { + if (generic_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.generic_string_.SetAllocated(generic_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.generic_string_.IsDefault()) { + _impl_.generic_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) +} + +// optional bytes ipv6_and_port = 4; +inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_ipv6_and_port() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_ipv6_and_port() const { + return _internal_has_ipv6_and_port(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_ipv6_and_port() { + _impl_.ipv6_and_port_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::ipv6_and_port() const { + // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) + return _internal_ipv6_and_port(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamNetworkingIdentityLegacyBinary::set_ipv6_and_port(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ipv6_and_port_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_ipv6_and_port() { + std::string* _s = _internal_mutable_ipv6_and_port(); + // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) + return _s; +} +inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_ipv6_and_port() const { + return _impl_.ipv6_and_port_.Get(); +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_ipv6_and_port(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ipv6_and_port_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_ipv6_and_port() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.ipv6_and_port_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_ipv6_and_port() { + // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) + if (!_internal_has_ipv6_and_port()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.ipv6_and_port_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ipv6_and_port_.IsDefault()) { + _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_ipv6_and_port(std::string* ipv6_and_port) { + if (ipv6_and_port != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.ipv6_and_port_.SetAllocated(ipv6_and_port, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ipv6_and_port_.IsDefault()) { + _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramCertificate + +// optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; +inline bool CMsgSteamDatagramCertificate::_internal_has_key_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_key_type() const { + return _internal_has_key_type(); +} +inline void CMsgSteamDatagramCertificate::clear_key_type() { + _impl_.key_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline ::CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::_internal_key_type() const { + return static_cast< ::CMsgSteamDatagramCertificate_EKeyType >(_impl_.key_type_); +} +inline ::CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::key_type() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.key_type) + return _internal_key_type(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_key_type(::CMsgSteamDatagramCertificate_EKeyType value) { + assert(::CMsgSteamDatagramCertificate_EKeyType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.key_type_ = value; +} +inline void CMsgSteamDatagramCertificate::set_key_type(::CMsgSteamDatagramCertificate_EKeyType value) { + _internal_set_key_type(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.key_type) +} + +// optional bytes key_data = 2; +inline bool CMsgSteamDatagramCertificate::_internal_has_key_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_key_data() const { + return _internal_has_key_data(); +} +inline void CMsgSteamDatagramCertificate::clear_key_data() { + _impl_.key_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramCertificate::key_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.key_data) + return _internal_key_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCertificate::set_key_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.key_data) +} +inline std::string* CMsgSteamDatagramCertificate::mutable_key_data() { + std::string* _s = _internal_mutable_key_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.key_data) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificate::_internal_key_data() const { + return _impl_.key_data_.Get(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_key_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.key_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificate::_internal_mutable_key_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.key_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificate::release_key_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.key_data) + if (!_internal_has_key_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.key_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCertificate::set_allocated_key_data(std::string* key_data) { + if (key_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.key_data_.IsDefault()) { + _impl_.key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.key_data) +} + +// optional fixed64 legacy_steam_id = 4; +inline bool CMsgSteamDatagramCertificate::_internal_has_legacy_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_legacy_steam_id() const { + return _internal_has_legacy_steam_id(); +} +inline void CMsgSteamDatagramCertificate::clear_legacy_steam_id() { + _impl_.legacy_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramCertificate::_internal_legacy_steam_id() const { + return _impl_.legacy_steam_id_; +} +inline uint64_t CMsgSteamDatagramCertificate::legacy_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.legacy_steam_id) + return _internal_legacy_steam_id(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_legacy_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.legacy_steam_id_ = value; +} +inline void CMsgSteamDatagramCertificate::set_legacy_steam_id(uint64_t value) { + _internal_set_legacy_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.legacy_steam_id) +} + +// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; +inline bool CMsgSteamDatagramCertificate::_internal_has_legacy_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramCertificate::has_legacy_identity_binary() const { + return _internal_has_legacy_identity_binary(); +} +inline void CMsgSteamDatagramCertificate::clear_legacy_identity_binary() { + if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramCertificate::_internal_legacy_identity_binary() const { + const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramCertificate::legacy_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.legacy_identity_binary) + return _internal_legacy_identity_binary(); +} +inline void CMsgSteamDatagramCertificate::unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + if (legacy_identity_binary) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramCertificate.legacy_identity_binary) +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::release_legacy_identity_binary() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = 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 ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::unsafe_arena_release_legacy_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.legacy_identity_binary) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::_internal_mutable_legacy_identity_binary() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.legacy_identity_binary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); + _impl_.legacy_identity_binary_ = p; + } + return _impl_.legacy_identity_binary_; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::mutable_legacy_identity_binary() { + ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.legacy_identity_binary) + return _msg; +} +inline void CMsgSteamDatagramCertificate::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.legacy_identity_binary_; + } + if (legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(legacy_identity_binary); + if (message_arena != submessage_arena) { + legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, legacy_identity_binary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.legacy_identity_binary) +} + +// optional string identity_string = 12; +inline bool CMsgSteamDatagramCertificate::_internal_has_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_identity_string() const { + return _internal_has_identity_string(); +} +inline void CMsgSteamDatagramCertificate::clear_identity_string() { + _impl_.identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramCertificate::identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.identity_string) + return _internal_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCertificate::set_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.identity_string) +} +inline std::string* CMsgSteamDatagramCertificate::mutable_identity_string() { + std::string* _s = _internal_mutable_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.identity_string) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificate::_internal_identity_string() const { + return _impl_.identity_string_.Get(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificate::_internal_mutable_identity_string() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificate::release_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.identity_string) + if (!_internal_has_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCertificate::set_allocated_identity_string(std::string* identity_string) { + if (identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.identity_string) +} + +// repeated fixed32 gameserver_datacenter_ids = 5; +inline int CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids_size() const { + return _impl_.gameserver_datacenter_ids_.size(); +} +inline int CMsgSteamDatagramCertificate::gameserver_datacenter_ids_size() const { + return _internal_gameserver_datacenter_ids_size(); +} +inline void CMsgSteamDatagramCertificate::clear_gameserver_datacenter_ids() { + _impl_.gameserver_datacenter_ids_.Clear(); +} +inline uint32_t CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids(int index) const { + return _impl_.gameserver_datacenter_ids_.Get(index); +} +inline uint32_t CMsgSteamDatagramCertificate::gameserver_datacenter_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) + return _internal_gameserver_datacenter_ids(index); +} +inline void CMsgSteamDatagramCertificate::set_gameserver_datacenter_ids(int index, uint32_t value) { + _impl_.gameserver_datacenter_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) +} +inline void CMsgSteamDatagramCertificate::_internal_add_gameserver_datacenter_ids(uint32_t value) { + _impl_.gameserver_datacenter_ids_.Add(value); +} +inline void CMsgSteamDatagramCertificate::add_gameserver_datacenter_ids(uint32_t value) { + _internal_add_gameserver_datacenter_ids(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids() const { + return _impl_.gameserver_datacenter_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramCertificate::gameserver_datacenter_ids() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) + return _internal_gameserver_datacenter_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramCertificate::_internal_mutable_gameserver_datacenter_ids() { + return &_impl_.gameserver_datacenter_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramCertificate::mutable_gameserver_datacenter_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) + return _internal_mutable_gameserver_datacenter_ids(); +} + +// optional fixed32 time_created = 8; +inline bool CMsgSteamDatagramCertificate::_internal_has_time_created() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_time_created() const { + return _internal_has_time_created(); +} +inline void CMsgSteamDatagramCertificate::clear_time_created() { + _impl_.time_created_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamDatagramCertificate::_internal_time_created() const { + return _impl_.time_created_; +} +inline uint32_t CMsgSteamDatagramCertificate::time_created() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.time_created) + return _internal_time_created(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_time_created(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.time_created_ = value; +} +inline void CMsgSteamDatagramCertificate::set_time_created(uint32_t value) { + _internal_set_time_created(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.time_created) +} + +// optional fixed32 time_expiry = 9; +inline bool CMsgSteamDatagramCertificate::_internal_has_time_expiry() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificate::has_time_expiry() const { + return _internal_has_time_expiry(); +} +inline void CMsgSteamDatagramCertificate::clear_time_expiry() { + _impl_.time_expiry_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamDatagramCertificate::_internal_time_expiry() const { + return _impl_.time_expiry_; +} +inline uint32_t CMsgSteamDatagramCertificate::time_expiry() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.time_expiry) + return _internal_time_expiry(); +} +inline void CMsgSteamDatagramCertificate::_internal_set_time_expiry(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.time_expiry_ = value; +} +inline void CMsgSteamDatagramCertificate::set_time_expiry(uint32_t value) { + _internal_set_time_expiry(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.time_expiry) +} + +// repeated uint32 app_ids = 10; +inline int CMsgSteamDatagramCertificate::_internal_app_ids_size() const { + return _impl_.app_ids_.size(); +} +inline int CMsgSteamDatagramCertificate::app_ids_size() const { + return _internal_app_ids_size(); +} +inline void CMsgSteamDatagramCertificate::clear_app_ids() { + _impl_.app_ids_.Clear(); +} +inline uint32_t CMsgSteamDatagramCertificate::_internal_app_ids(int index) const { + return _impl_.app_ids_.Get(index); +} +inline uint32_t CMsgSteamDatagramCertificate::app_ids(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.app_ids) + return _internal_app_ids(index); +} +inline void CMsgSteamDatagramCertificate::set_app_ids(int index, uint32_t value) { + _impl_.app_ids_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.app_ids) +} +inline void CMsgSteamDatagramCertificate::_internal_add_app_ids(uint32_t value) { + _impl_.app_ids_.Add(value); +} +inline void CMsgSteamDatagramCertificate::add_app_ids(uint32_t value) { + _internal_add_app_ids(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.app_ids) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramCertificate::_internal_app_ids() const { + return _impl_.app_ids_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CMsgSteamDatagramCertificate::app_ids() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.app_ids) + return _internal_app_ids(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramCertificate::_internal_mutable_app_ids() { + return &_impl_.app_ids_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CMsgSteamDatagramCertificate::mutable_app_ids() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.app_ids) + return _internal_mutable_app_ids(); +} + +// repeated string ip_addresses = 13; +inline int CMsgSteamDatagramCertificate::_internal_ip_addresses_size() const { + return _impl_.ip_addresses_.size(); +} +inline int CMsgSteamDatagramCertificate::ip_addresses_size() const { + return _internal_ip_addresses_size(); +} +inline void CMsgSteamDatagramCertificate::clear_ip_addresses() { + _impl_.ip_addresses_.Clear(); +} +inline std::string* CMsgSteamDatagramCertificate::add_ip_addresses() { + std::string* _s = _internal_add_ip_addresses(); + // @@protoc_insertion_point(field_add_mutable:CMsgSteamDatagramCertificate.ip_addresses) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificate::_internal_ip_addresses(int index) const { + return _impl_.ip_addresses_.Get(index); +} +inline const std::string& CMsgSteamDatagramCertificate::ip_addresses(int index) const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.ip_addresses) + return _internal_ip_addresses(index); +} +inline std::string* CMsgSteamDatagramCertificate::mutable_ip_addresses(int index) { + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.ip_addresses) + return _impl_.ip_addresses_.Mutable(index); +} +inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const std::string& value) { + _impl_.ip_addresses_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, std::string&& value) { + _impl_.ip_addresses_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.ip_addresses_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const char* value, size_t size) { + _impl_.ip_addresses_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgSteamDatagramCertificate.ip_addresses) +} +inline std::string* CMsgSteamDatagramCertificate::_internal_add_ip_addresses() { + return _impl_.ip_addresses_.Add(); +} +inline void CMsgSteamDatagramCertificate::add_ip_addresses(const std::string& value) { + _impl_.ip_addresses_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::add_ip_addresses(std::string&& value) { + _impl_.ip_addresses_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::add_ip_addresses(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.ip_addresses_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CMsgSteamDatagramCertificate.ip_addresses) +} +inline void CMsgSteamDatagramCertificate::add_ip_addresses(const char* value, size_t size) { + _impl_.ip_addresses_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CMsgSteamDatagramCertificate.ip_addresses) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CMsgSteamDatagramCertificate::ip_addresses() const { + // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.ip_addresses) + return _impl_.ip_addresses_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CMsgSteamDatagramCertificate::mutable_ip_addresses() { + // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.ip_addresses) + return &_impl_.ip_addresses_; +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramCertificateSigned + +// optional bytes cert = 4; +inline bool CMsgSteamDatagramCertificateSigned::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificateSigned::has_cert() const { + return _internal_has_cert(); +} +inline void CMsgSteamDatagramCertificateSigned::clear_cert() { + _impl_.cert_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.cert) + return _internal_cert(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCertificateSigned::set_cert(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cert_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.cert) +} +inline std::string* CMsgSteamDatagramCertificateSigned::mutable_cert() { + std::string* _s = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.cert) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_cert() const { + return _impl_.cert_.Get(); +} +inline void CMsgSteamDatagramCertificateSigned::_internal_set_cert(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.cert_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.cert_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.cert) + if (!_internal_has_cert()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.cert_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cert_.IsDefault()) { + _impl_.cert_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCertificateSigned::set_allocated_cert(std::string* cert) { + if (cert != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_.SetAllocated(cert, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.cert_.IsDefault()) { + _impl_.cert_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.cert) +} + +// optional fixed64 ca_key_id = 5; +inline bool CMsgSteamDatagramCertificateSigned::_internal_has_ca_key_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificateSigned::has_ca_key_id() const { + return _internal_has_ca_key_id(); +} +inline void CMsgSteamDatagramCertificateSigned::clear_ca_key_id() { + _impl_.ca_key_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamDatagramCertificateSigned::_internal_ca_key_id() const { + return _impl_.ca_key_id_; +} +inline uint64_t CMsgSteamDatagramCertificateSigned::ca_key_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.ca_key_id) + return _internal_ca_key_id(); +} +inline void CMsgSteamDatagramCertificateSigned::_internal_set_ca_key_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ca_key_id_ = value; +} +inline void CMsgSteamDatagramCertificateSigned::set_ca_key_id(uint64_t value) { + _internal_set_ca_key_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.ca_key_id) +} + +// optional bytes ca_signature = 6; +inline bool CMsgSteamDatagramCertificateSigned::_internal_has_ca_signature() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificateSigned::has_ca_signature() const { + return _internal_has_ca_signature(); +} +inline void CMsgSteamDatagramCertificateSigned::clear_ca_signature() { + _impl_.ca_signature_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::ca_signature() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.ca_signature) + return _internal_ca_signature(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCertificateSigned::set_ca_signature(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ca_signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.ca_signature) +} +inline std::string* CMsgSteamDatagramCertificateSigned::mutable_ca_signature() { + std::string* _s = _internal_mutable_ca_signature(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.ca_signature) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_ca_signature() const { + return _impl_.ca_signature_.Get(); +} +inline void CMsgSteamDatagramCertificateSigned::_internal_set_ca_signature(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ca_signature_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_ca_signature() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.ca_signature_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::release_ca_signature() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.ca_signature) + if (!_internal_has_ca_signature()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.ca_signature_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ca_signature_.IsDefault()) { + _impl_.ca_signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCertificateSigned::set_allocated_ca_signature(std::string* ca_signature) { + if (ca_signature != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.ca_signature_.SetAllocated(ca_signature, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ca_signature_.IsDefault()) { + _impl_.ca_signature_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.ca_signature) +} + +// optional bytes private_key_data = 1; +inline bool CMsgSteamDatagramCertificateSigned::_internal_has_private_key_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamDatagramCertificateSigned::has_private_key_data() const { + return _internal_has_private_key_data(); +} +inline void CMsgSteamDatagramCertificateSigned::clear_private_key_data() { + _impl_.private_key_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::private_key_data() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.private_key_data) + return _internal_private_key_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamDatagramCertificateSigned::set_private_key_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.private_key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.private_key_data) +} +inline std::string* CMsgSteamDatagramCertificateSigned::mutable_private_key_data() { + std::string* _s = _internal_mutable_private_key_data(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.private_key_data) + return _s; +} +inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_private_key_data() const { + return _impl_.private_key_data_.Get(); +} +inline void CMsgSteamDatagramCertificateSigned::_internal_set_private_key_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.private_key_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_private_key_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.private_key_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamDatagramCertificateSigned::release_private_key_data() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.private_key_data) + if (!_internal_has_private_key_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.private_key_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.private_key_data_.IsDefault()) { + _impl_.private_key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamDatagramCertificateSigned::set_allocated_private_key_data(std::string* private_key_data) { + if (private_key_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.private_key_data_.SetAllocated(private_key_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.private_key_data_.IsDefault()) { + _impl_.private_key_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.private_key_data) +} + +// ------------------------------------------------------------------- + +// CMsgSteamDatagramCertificateRequest + +// optional .CMsgSteamDatagramCertificate cert = 1; +inline bool CMsgSteamDatagramCertificateRequest::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamDatagramCertificateRequest::has_cert() const { + return _internal_has_cert(); +} +inline void CMsgSteamDatagramCertificateRequest::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgSteamDatagramCertificate& CMsgSteamDatagramCertificateRequest::_internal_cert() const { + const ::CMsgSteamDatagramCertificate* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificate_default_instance_); +} +inline const ::CMsgSteamDatagramCertificate& CMsgSteamDatagramCertificateRequest::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateRequest.cert) + return _internal_cert(); +} +inline void CMsgSteamDatagramCertificateRequest::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificate* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramCertificateRequest.cert) +} +inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::release_cert() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramCertificate* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateRequest.cert) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramCertificate* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificate>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::mutable_cert() { + ::CMsgSteamDatagramCertificate* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateRequest.cert) + return _msg; +} +inline void CMsgSteamDatagramCertificateRequest::set_allocated_cert(::CMsgSteamDatagramCertificate* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.cert_; + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cert); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateRequest.cert) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CMsgSteamDatagramCertificate_EKeyType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramCertificate_EKeyType>() { + return ::CMsgSteamDatagramCertificate_EKeyType_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.cc new file mode 100644 index 0000000..30a22fa --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.cc @@ -0,0 +1,2888 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages_udp.proto + +#include "steamnetworkingsockets_messages_udp.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; + +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u}} {} +struct CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_ChallengeRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.connection_id_)*/0u + , /*decltype(_impl_.protocol_version_)*/0u + , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u}} {} +struct CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_ChallengeReply _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeReply_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.legacy_identity_binary_)*/nullptr + , /*decltype(_impl_.challenge_)*/uint64_t{0u} + , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.ping_est_ms_)*/0u + , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.legacy_protocol_version_)*/0u} {} +struct CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_ConnectRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectRequest_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.crypt_)*/nullptr + , /*decltype(_impl_.cert_)*/nullptr + , /*decltype(_impl_.legacy_identity_binary_)*/nullptr + , /*decltype(_impl_.legacy_server_steam_id_)*/uint64_t{0u} + , /*decltype(_impl_.client_connection_id_)*/0u + , /*decltype(_impl_.delay_time_usec_)*/0u + , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.server_connection_id_)*/0u} {} +struct CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_ConnectOK _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectOK_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.reason_code_)*/0u + , /*decltype(_impl_.to_connection_id_)*/0u + , /*decltype(_impl_.from_connection_id_)*/0u} {} +struct CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_ConnectionClosed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectionClosed_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.from_connection_id_)*/0u + , /*decltype(_impl_.to_connection_id_)*/0u} {} +struct CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_NoConnection _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal _CMsgSteamSockets_UDP_NoConnection_default_instance_; +PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.stats_)*/nullptr + , /*decltype(_impl_.flags_)*/0u} {} +struct CMsgSteamSockets_UDP_StatsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_StatsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgSteamSockets_UDP_StatsDefaultTypeInternal() {} + union { + CMsgSteamSockets_UDP_Stats _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_StatsDefaultTypeInternal _CMsgSteamSockets_UDP_Stats_default_instance_; +static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[7]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[2]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto = nullptr; + +const uint32_t TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.my_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.protocol_version_), + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.your_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.protocol_version_), + 1, + 0, + 3, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.challenge_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.my_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.ping_est_ms_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_protocol_version_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_client_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_identity_binary_), + 6, + 4, + 8, + 7, + 2, + 1, + 9, + 0, + 5, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.client_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.server_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.your_timestamp_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.delay_time_usec_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.crypt_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.cert_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.identity_string_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.legacy_server_steam_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.legacy_identity_binary_), + 5, + 8, + 7, + 6, + 1, + 2, + 0, + 4, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.to_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.debug_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.reason_code_), + 2, + 3, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_.from_connection_id_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_.to_connection_id_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_.stats_), + PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_.flags_), + 0, + 1, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CMsgSteamSockets_UDP_ChallengeRequest)}, + { 12, 22, -1, sizeof(::CMsgSteamSockets_UDP_ChallengeReply)}, + { 26, 42, -1, sizeof(::CMsgSteamSockets_UDP_ConnectRequest)}, + { 52, 67, -1, sizeof(::CMsgSteamSockets_UDP_ConnectOK)}, + { 76, 86, -1, sizeof(::CMsgSteamSockets_UDP_ConnectionClosed)}, + { 90, 98, -1, sizeof(::CMsgSteamSockets_UDP_NoConnection)}, + { 100, 108, -1, sizeof(::CMsgSteamSockets_UDP_Stats)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgSteamSockets_UDP_ChallengeRequest_default_instance_._instance, + &::_CMsgSteamSockets_UDP_ChallengeReply_default_instance_._instance, + &::_CMsgSteamSockets_UDP_ConnectRequest_default_instance_._instance, + &::_CMsgSteamSockets_UDP_ConnectOK_default_instance_._instance, + &::_CMsgSteamSockets_UDP_ConnectionClosed_default_instance_._instance, + &::_CMsgSteamSockets_UDP_NoConnection_default_instance_._instance, + &::_CMsgSteamSockets_UDP_Stats_default_instance_._instance, +}; + +const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fudp_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n)steamnetworkingsockets_messages_udp.pr" + "oto\032+steamnetworkingsockets_messages_cer" + "ts.proto\032%steamnetworkingsockets_message" + "s.proto\"n\n%CMsgSteamSockets_UDP_Challeng" + "eRequest\022\025\n\rconnection_id\030\001 \001(\007\022\024\n\014my_ti" + "mestamp\030\003 \001(\006\022\030\n\020protocol_version\030\004 \001(\r\"" + "\201\001\n#CMsgSteamSockets_UDP_ChallengeReply\022" + "\025\n\rconnection_id\030\001 \001(\007\022\021\n\tchallenge\030\002 \001(" + "\006\022\026\n\016your_timestamp\030\003 \001(\006\022\030\n\020protocol_ve" + "rsion\030\004 \001(\r\"\221\003\n#CMsgSteamSockets_UDP_Con" + "nectRequest\022\034\n\024client_connection_id\030\001 \001(" + "\007\022\021\n\tchallenge\030\002 \001(\006\022\024\n\014my_timestamp\030\005 \001" + "(\006\022\023\n\013ping_est_ms\030\006 \001(\r\0227\n\005crypt\030\007 \001(\0132(" + ".CMsgSteamDatagramSessionCryptInfoSigned" + "\0221\n\004cert\030\004 \001(\0132#.CMsgSteamDatagramCertif" + "icateSigned\022\037\n\027legacy_protocol_version\030\010" + " \001(\r\022\027\n\017identity_string\030\n \001(\t\022\036\n\026legacy_" + "client_steam_id\030\003 \001(\006\022H\n\026legacy_identity" + "_binary\030\t \001(\0132(.CMsgSteamNetworkingIdent" + "ityLegacyBinary\"\374\002\n\036CMsgSteamSockets_UDP" + "_ConnectOK\022\034\n\024client_connection_id\030\001 \001(\007" + "\022\034\n\024server_connection_id\030\005 \001(\007\022\026\n\016your_t" + "imestamp\030\003 \001(\006\022\027\n\017delay_time_usec\030\004 \001(\r\022" + "7\n\005crypt\030\007 \001(\0132(.CMsgSteamDatagramSessio" + "nCryptInfoSigned\0221\n\004cert\030\010 \001(\0132#.CMsgSte" + "amDatagramCertificateSigned\022\027\n\017identity_" + "string\030\013 \001(\t\022\036\n\026legacy_server_steam_id\030\002" + " \001(\006\022H\n\026legacy_identity_binary\030\n \001(\0132(.C" + "MsgSteamNetworkingIdentityLegacyBinary\"\201" + "\001\n%CMsgSteamSockets_UDP_ConnectionClosed" + "\022\030\n\020to_connection_id\030\004 \001(\007\022\032\n\022from_conne" + "ction_id\030\005 \001(\007\022\r\n\005debug\030\002 \001(\t\022\023\n\013reason_" + "code\030\003 \001(\r\"Y\n!CMsgSteamSockets_UDP_NoCon" + "nection\022\032\n\022from_connection_id\030\002 \001(\007\022\030\n\020t" + "o_connection_id\030\003 \001(\007\"\267\001\n\032CMsgSteamSocke" + "ts_UDP_Stats\0222\n\005stats\030\001 \001(\0132#.CMsgSteamD" + "atagramConnectionQuality\022\r\n\005flags\030\003 \001(\r\"" + "V\n\005Flags\022\023\n\017ACK_REQUEST_E2E\020\002\022\031\n\025ACK_REQ" + "UEST_IMMEDIATE\020\004\022\035\n\031NOT_PRIMARY_TRANSPOR" + "T_E2E\020\020*\245\002\n\030ESteamNetworkingUDPMsgID\022-\n)" + "k_ESteamNetworkingUDPMsg_ChallengeReques" + "t\020 \022+\n\'k_ESteamNetworkingUDPMsg_Challeng" + "eReply\020!\022+\n\'k_ESteamNetworkingUDPMsg_Con" + "nectRequest\020\"\022&\n\"k_ESteamNetworkingUDPMs" + "g_ConnectOK\020#\022-\n)k_ESteamNetworkingUDPMs" + "g_ConnectionClosed\020$\022)\n%k_ESteamNetworki" + "ngUDPMsg_NoConnection\020%B\005H\001\200\001\000" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_deps[2] = { + &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, + &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, +}; +static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto = { + false, false, 1870, descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fudp_2eproto, + "steamnetworkingsockets_messages_udp.proto", + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_deps, 2, 7, + schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto::offsets, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto, + file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter() { + return &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_5fudp_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamSockets_UDP_Stats_Flags_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); + return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[0]; +} +bool CMsgSteamSockets_UDP_Stats_Flags_IsValid(int value) { + switch (value) { + case 2: + case 4: + case 16: + return true; + default: + return false; + } +} + +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::ACK_REQUEST_E2E; +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::ACK_REQUEST_IMMEDIATE; +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::NOT_PRIMARY_TRANSPORT_E2E; +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::Flags_MIN; +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::Flags_MAX; +constexpr int CMsgSteamSockets_UDP_Stats::Flags_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingUDPMsgID_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); + return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[1]; +} +bool ESteamNetworkingUDPMsgID_IsValid(int value) { + switch (value) { + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgSteamSockets_UDP_ChallengeRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_my_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest(::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:CMsgSteamSockets_UDP_ChallengeRequest) +} +CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest(const CMsgSteamSockets_UDP_ChallengeRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_ChallengeRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.my_timestamp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, + static_cast(reinterpret_cast(&_impl_.my_timestamp_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.my_timestamp_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ChallengeRequest) +} + +inline void CMsgSteamSockets_UDP_ChallengeRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.my_timestamp_){uint64_t{0u}} + }; +} + +CMsgSteamSockets_UDP_ChallengeRequest::~CMsgSteamSockets_UDP_ChallengeRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ChallengeRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_ChallengeRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamSockets_UDP_ChallengeRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_ChallengeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ChallengeRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.my_timestamp_) - + reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.my_timestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_ChallengeRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 my_timestamp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_my_timestamp(&has_bits); + _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_ChallengeRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ChallengeRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional fixed64 my_timestamp = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_my_timestamp(), target); + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), 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:CMsgSteamSockets_UDP_ChallengeRequest) + return target; +} + +size_t CMsgSteamSockets_UDP_ChallengeRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ChallengeRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional fixed64 my_timestamp = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ChallengeRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_ChallengeRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ChallengeRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_ChallengeRequest::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:CMsgSteamSockets_UDP_ChallengeRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_ChallengeRequest::CopyFrom(const CMsgSteamSockets_UDP_ChallengeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ChallengeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_ChallengeRequest::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_ChallengeRequest::InternalSwap(CMsgSteamSockets_UDP_ChallengeRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeRequest, _impl_.my_timestamp_) + + sizeof(CMsgSteamSockets_UDP_ChallengeRequest::_impl_.my_timestamp_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeRequest, _impl_.connection_id_)>( + reinterpret_cast(&_impl_.connection_id_), + reinterpret_cast(&other->_impl_.connection_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ChallengeRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[0]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_ChallengeReply::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_your_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply(::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:CMsgSteamSockets_UDP_ChallengeReply) +} +CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply(const CMsgSteamSockets_UDP_ChallengeReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_ChallengeReply* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.challenge_){} + , decltype(_impl_.connection_id_){} + , decltype(_impl_.protocol_version_){} + , decltype(_impl_.your_timestamp_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, + static_cast(reinterpret_cast(&_impl_.your_timestamp_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.your_timestamp_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ChallengeReply) +} + +inline void CMsgSteamSockets_UDP_ChallengeReply::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.connection_id_){0u} + , decltype(_impl_.protocol_version_){0u} + , decltype(_impl_.your_timestamp_){uint64_t{0u}} + }; +} + +CMsgSteamSockets_UDP_ChallengeReply::~CMsgSteamSockets_UDP_ChallengeReply() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ChallengeReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_ChallengeReply::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamSockets_UDP_ChallengeReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_ChallengeReply::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ChallengeReply) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.challenge_, 0, static_cast( + reinterpret_cast(&_impl_.your_timestamp_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.your_timestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_ChallengeReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_connection_id(&has_bits); + _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 your_timestamp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_your_timestamp(&has_bits); + _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 protocol_version = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_protocol_version(&has_bits); + _impl_.protocol_version_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_ChallengeReply::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ChallengeReply) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); + } + + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), 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:CMsgSteamSockets_UDP_ChallengeReply) + return target; +} + +size_t CMsgSteamSockets_UDP_ChallengeReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ChallengeReply) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional fixed32 connection_id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 protocol_version = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 8; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ChallengeReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_ChallengeReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ChallengeReply::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_ChallengeReply::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:CMsgSteamSockets_UDP_ChallengeReply) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.connection_id_ = from._impl_.connection_id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.protocol_version_ = from._impl_.protocol_version_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_ChallengeReply::CopyFrom(const CMsgSteamSockets_UDP_ChallengeReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ChallengeReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_ChallengeReply::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_ChallengeReply::InternalSwap(CMsgSteamSockets_UDP_ChallengeReply* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeReply, _impl_.your_timestamp_) + + sizeof(CMsgSteamSockets_UDP_ChallengeReply::_impl_.your_timestamp_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeReply, _impl_.challenge_)>( + reinterpret_cast(&_impl_.challenge_), + reinterpret_cast(&other->_impl_.challenge_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ChallengeReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[1]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_ConnectRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_challenge(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_my_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_ping_est_ms(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamSockets_UDP_ConnectRequest* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamSockets_UDP_ConnectRequest* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_legacy_protocol_version(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_client_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectRequest* msg); + static void set_has_legacy_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamSockets_UDP_ConnectRequest::_Internal::crypt(const CMsgSteamSockets_UDP_ConnectRequest* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamSockets_UDP_ConnectRequest::_Internal::cert(const CMsgSteamSockets_UDP_ConnectRequest* msg) { + return *msg->_impl_.cert_; +} +const ::CMsgSteamNetworkingIdentityLegacyBinary& +CMsgSteamSockets_UDP_ConnectRequest::_Internal::legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectRequest* msg) { + return *msg->_impl_.legacy_identity_binary_; +} +void CMsgSteamSockets_UDP_ConnectRequest::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgSteamSockets_UDP_ConnectRequest::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_identity_binary() { + if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest(::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:CMsgSteamSockets_UDP_ConnectRequest) +} +CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest(const CMsgSteamSockets_UDP_ConnectRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_ConnectRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.challenge_){} + , decltype(_impl_.legacy_client_steam_id_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.ping_est_ms_){} + , decltype(_impl_.my_timestamp_){} + , decltype(_impl_.legacy_protocol_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_string()) { + _this->_impl_.identity_string_.Set(from._internal_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_legacy_identity_binary()) { + _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); + } + ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, + static_cast(reinterpret_cast(&_impl_.legacy_protocol_version_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.legacy_protocol_version_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectRequest) +} + +inline void CMsgSteamSockets_UDP_ConnectRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.challenge_){uint64_t{0u}} + , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.ping_est_ms_){0u} + , decltype(_impl_.my_timestamp_){uint64_t{0u}} + , decltype(_impl_.legacy_protocol_version_){0u} + }; + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamSockets_UDP_ConnectRequest::~CMsgSteamSockets_UDP_ConnectRequest() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_ConnectRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cert_; + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; +} + +void CMsgSteamSockets_UDP_ConnectRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_ConnectRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); + _impl_.legacy_identity_binary_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.challenge_, 0, static_cast( + reinterpret_cast(&_impl_.ping_est_ms_) - + reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.ping_est_ms_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.my_timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.legacy_protocol_version_) - + reinterpret_cast(&_impl_.my_timestamp_)) + sizeof(_impl_.legacy_protocol_version_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_ConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 client_connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 challenge = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_challenge(&has_bits); + _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_client_steam_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_legacy_client_steam_id(&has_bits); + _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed64 my_timestamp = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { + _Internal::set_has_my_timestamp(&has_bits); + _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 ping_est_ms = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_ping_est_ms(&has_bits); + _impl_.ping_est_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 legacy_protocol_version = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_legacy_protocol_version(&has_bits); + _impl_.legacy_protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string identity_string = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectRequest.identity_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_ConnectRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); + } + + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); + } + + // optional fixed64 legacy_client_steam_id = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_client_steam_id(), target); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional fixed64 my_timestamp = 5; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_my_timestamp(), target); + } + + // optional uint32 ping_est_ms = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ping_est_ms(), target); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional uint32 legacy_protocol_version = 8; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_legacy_protocol_version(), target); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::legacy_identity_binary(this), + _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); + } + + // optional string identity_string = 10; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamSockets_UDP_ConnectRequest.identity_string"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_identity_string(), 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:CMsgSteamSockets_UDP_ConnectRequest) + return target; +} + +size_t CMsgSteamSockets_UDP_ConnectRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string identity_string = 10; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_string()); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.legacy_identity_binary_); + } + + // optional fixed64 challenge = 2; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional fixed64 legacy_client_steam_id = 3; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 8; + } + + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 ping_est_ms = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_est_ms()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional fixed64 my_timestamp = 5; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 8; + } + + // optional uint32 legacy_protocol_version = 8; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_protocol_version()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_ConnectRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectRequest::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_ConnectRequest::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:CMsgSteamSockets_UDP_ConnectRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_identity_string(from._internal_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( + from._internal_legacy_identity_binary()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.challenge_ = from._impl_.challenge_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.ping_est_ms_ = from._impl_.ping_est_ms_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.legacy_protocol_version_ = from._impl_.legacy_protocol_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_ConnectRequest::CopyFrom(const CMsgSteamSockets_UDP_ConnectRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_ConnectRequest::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_ConnectRequest::InternalSwap(CMsgSteamSockets_UDP_ConnectRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_string_, lhs_arena, + &other->_impl_.identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_protocol_version_) + + sizeof(CMsgSteamSockets_UDP_ConnectRequest::_impl_.legacy_protocol_version_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectRequest, _impl_.cert_)>( + reinterpret_cast(&_impl_.cert_), + reinterpret_cast(&other->_impl_.cert_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[2]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_ConnectOK::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_client_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_server_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_your_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_delay_time_usec(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamSockets_UDP_ConnectOK* msg); + static void set_has_crypt(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamSockets_UDP_ConnectOK* msg); + static void set_has_cert(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_identity_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_legacy_server_steam_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectOK* msg); + static void set_has_legacy_identity_binary(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgSteamDatagramSessionCryptInfoSigned& +CMsgSteamSockets_UDP_ConnectOK::_Internal::crypt(const CMsgSteamSockets_UDP_ConnectOK* msg) { + return *msg->_impl_.crypt_; +} +const ::CMsgSteamDatagramCertificateSigned& +CMsgSteamSockets_UDP_ConnectOK::_Internal::cert(const CMsgSteamSockets_UDP_ConnectOK* msg) { + return *msg->_impl_.cert_; +} +const ::CMsgSteamNetworkingIdentityLegacyBinary& +CMsgSteamSockets_UDP_ConnectOK::_Internal::legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectOK* msg) { + return *msg->_impl_.legacy_identity_binary_; +} +void CMsgSteamSockets_UDP_ConnectOK::clear_crypt() { + if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgSteamSockets_UDP_ConnectOK::clear_cert() { + if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgSteamSockets_UDP_ConnectOK::clear_legacy_identity_binary() { + if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK(::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:CMsgSteamSockets_UDP_ConnectOK) +} +CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK(const CMsgSteamSockets_UDP_ConnectOK& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_ConnectOK* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.legacy_server_steam_id_){} + , decltype(_impl_.client_connection_id_){} + , decltype(_impl_.delay_time_usec_){} + , decltype(_impl_.your_timestamp_){} + , decltype(_impl_.server_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_identity_string()) { + _this->_impl_.identity_string_.Set(from._internal_identity_string(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_crypt()) { + _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); + } + if (from._internal_has_cert()) { + _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); + } + if (from._internal_has_legacy_identity_binary()) { + _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); + } + ::memcpy(&_impl_.legacy_server_steam_id_, &from._impl_.legacy_server_steam_id_, + static_cast(reinterpret_cast(&_impl_.server_connection_id_) - + reinterpret_cast(&_impl_.legacy_server_steam_id_)) + sizeof(_impl_.server_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectOK) +} + +inline void CMsgSteamSockets_UDP_ConnectOK::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.identity_string_){} + , decltype(_impl_.crypt_){nullptr} + , decltype(_impl_.cert_){nullptr} + , decltype(_impl_.legacy_identity_binary_){nullptr} + , decltype(_impl_.legacy_server_steam_id_){uint64_t{0u}} + , decltype(_impl_.client_connection_id_){0u} + , decltype(_impl_.delay_time_usec_){0u} + , decltype(_impl_.your_timestamp_){uint64_t{0u}} + , decltype(_impl_.server_connection_id_){0u} + }; + _impl_.identity_string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.identity_string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamSockets_UDP_ConnectOK::~CMsgSteamSockets_UDP_ConnectOK() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectOK) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_ConnectOK::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.identity_string_.Destroy(); + if (this != internal_default_instance()) delete _impl_.crypt_; + if (this != internal_default_instance()) delete _impl_.cert_; + if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; +} + +void CMsgSteamSockets_UDP_ConnectOK::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_ConnectOK::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectOK) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.identity_string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.crypt_ != nullptr); + _impl_.crypt_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.cert_ != nullptr); + _impl_.cert_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); + _impl_.legacy_identity_binary_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.legacy_server_steam_id_, 0, static_cast( + reinterpret_cast(&_impl_.your_timestamp_) - + reinterpret_cast(&_impl_.legacy_server_steam_id_)) + sizeof(_impl_.your_timestamp_)); + } + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_ConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 client_connection_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_client_connection_id(&has_bits); + _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 legacy_server_steam_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_legacy_server_steam_id(&has_bits); + _impl_.legacy_server_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 your_timestamp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { + _Internal::set_has_your_timestamp(&has_bits); + _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 delay_time_usec = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_delay_time_usec(&has_bits); + _impl_.delay_time_usec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 server_connection_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_server_connection_id(&has_bits); + _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamDatagramCertificateSigned cert = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string identity_string = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_identity_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectOK.identity_string"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_ConnectOK::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectOK) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); + } + + // optional fixed64 legacy_server_steam_id = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_legacy_server_steam_id(), target); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); + } + + // optional uint32 delay_time_usec = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_delay_time_usec(), target); + } + + // optional fixed32 server_connection_id = 5; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_server_connection_id(), target); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::crypt(this), + _Internal::crypt(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 8; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::cert(this), + _Internal::cert(this).GetCachedSize(), target, stream); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::legacy_identity_binary(this), + _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); + } + + // optional string identity_string = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamSockets_UDP_ConnectOK.identity_string"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_identity_string(), 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:CMsgSteamSockets_UDP_ConnectOK) + return target; +} + +size_t CMsgSteamSockets_UDP_ConnectOK::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectOK) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string identity_string = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_identity_string()); + } + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.crypt_); + } + + // optional .CMsgSteamDatagramCertificateSigned cert = 8; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cert_); + } + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.legacy_identity_binary_); + } + + // optional fixed64 legacy_server_steam_id = 2; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 8; + } + + // optional fixed32 client_connection_id = 1; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 delay_time_usec = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_delay_time_usec()); + } + + // optional fixed64 your_timestamp = 3; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 8; + } + + } + // optional fixed32 server_connection_id = 5; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectOK::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_ConnectOK::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectOK::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_ConnectOK::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:CMsgSteamSockets_UDP_ConnectOK) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_identity_string(from._internal_identity_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( + from._internal_crypt()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( + from._internal_cert()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( + from._internal_legacy_identity_binary()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.legacy_server_steam_id_ = from._impl_.legacy_server_steam_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.delay_time_usec_ = from._impl_.delay_time_usec_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_server_connection_id(from._internal_server_connection_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_ConnectOK::CopyFrom(const CMsgSteamSockets_UDP_ConnectOK& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectOK) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_ConnectOK::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_ConnectOK::InternalSwap(CMsgSteamSockets_UDP_ConnectOK* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.identity_string_, lhs_arena, + &other->_impl_.identity_string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectOK, _impl_.server_connection_id_) + + sizeof(CMsgSteamSockets_UDP_ConnectOK::_impl_.server_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectOK, _impl_.crypt_)>( + reinterpret_cast(&_impl_.crypt_), + reinterpret_cast(&other->_impl_.crypt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectOK::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[3]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_ConnectionClosed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_to_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_debug(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reason_code(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed(::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:CMsgSteamSockets_UDP_ConnectionClosed) +} +CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed(const CMsgSteamSockets_UDP_ConnectionClosed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_ConnectionClosed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.reason_code_){} + , decltype(_impl_.to_connection_id_){} + , decltype(_impl_.from_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_debug()) { + _this->_impl_.debug_.Set(from._internal_debug(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.reason_code_, &from._impl_.reason_code_, + static_cast(reinterpret_cast(&_impl_.from_connection_id_) - + reinterpret_cast(&_impl_.reason_code_)) + sizeof(_impl_.from_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectionClosed) +} + +inline void CMsgSteamSockets_UDP_ConnectionClosed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.debug_){} + , decltype(_impl_.reason_code_){0u} + , decltype(_impl_.to_connection_id_){0u} + , decltype(_impl_.from_connection_id_){0u} + }; + _impl_.debug_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.debug_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgSteamSockets_UDP_ConnectionClosed::~CMsgSteamSockets_UDP_ConnectionClosed() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectionClosed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_ConnectionClosed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.debug_.Destroy(); +} + +void CMsgSteamSockets_UDP_ConnectionClosed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_ConnectionClosed::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectionClosed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.debug_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.reason_code_, 0, static_cast( + reinterpret_cast(&_impl_.from_connection_id_) - + reinterpret_cast(&_impl_.reason_code_)) + sizeof(_impl_.from_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_ConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string debug = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_debug(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectionClosed.debug"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 reason_code = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_reason_code(&has_bits); + _impl_.reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 to_connection_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_to_connection_id(&has_bits); + _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 from_connection_id = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_ConnectionClosed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectionClosed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string debug = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_debug().data(), static_cast(this->_internal_debug().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgSteamSockets_UDP_ConnectionClosed.debug"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_debug(), target); + } + + // optional uint32 reason_code = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_reason_code(), target); + } + + // optional fixed32 to_connection_id = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_to_connection_id(), target); + } + + // optional fixed32 from_connection_id = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_from_connection_id(), 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:CMsgSteamSockets_UDP_ConnectionClosed) + return target; +} + +size_t CMsgSteamSockets_UDP_ConnectionClosed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectionClosed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string debug = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_debug()); + } + + // optional uint32 reason_code = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); + } + + // optional fixed32 to_connection_id = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional fixed32 from_connection_id = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectionClosed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_ConnectionClosed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectionClosed::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_ConnectionClosed::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:CMsgSteamSockets_UDP_ConnectionClosed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_debug(from._internal_debug()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reason_code_ = from._impl_.reason_code_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_ConnectionClosed::CopyFrom(const CMsgSteamSockets_UDP_ConnectionClosed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectionClosed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_ConnectionClosed::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_ConnectionClosed::InternalSwap(CMsgSteamSockets_UDP_ConnectionClosed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.debug_, lhs_arena, + &other->_impl_.debug_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectionClosed, _impl_.from_connection_id_) + + sizeof(CMsgSteamSockets_UDP_ConnectionClosed::_impl_.from_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectionClosed, _impl_.reason_code_)>( + reinterpret_cast(&_impl_.reason_code_), + reinterpret_cast(&other->_impl_.reason_code_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectionClosed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[4]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_NoConnection::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_from_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_to_connection_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection(::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:CMsgSteamSockets_UDP_NoConnection) +} +CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection(const CMsgSteamSockets_UDP_NoConnection& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_NoConnection* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_connection_id_){} + , decltype(_impl_.to_connection_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.from_connection_id_, &from._impl_.from_connection_id_, + static_cast(reinterpret_cast(&_impl_.to_connection_id_) - + reinterpret_cast(&_impl_.from_connection_id_)) + sizeof(_impl_.to_connection_id_)); + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_NoConnection) +} + +inline void CMsgSteamSockets_UDP_NoConnection::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.from_connection_id_){0u} + , decltype(_impl_.to_connection_id_){0u} + }; +} + +CMsgSteamSockets_UDP_NoConnection::~CMsgSteamSockets_UDP_NoConnection() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_NoConnection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_NoConnection::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgSteamSockets_UDP_NoConnection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_NoConnection::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_NoConnection) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.from_connection_id_, 0, static_cast( + reinterpret_cast(&_impl_.to_connection_id_) - + reinterpret_cast(&_impl_.from_connection_id_)) + sizeof(_impl_.to_connection_id_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_NoConnection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 from_connection_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_from_connection_id(&has_bits); + _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 to_connection_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_to_connection_id(&has_bits); + _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_NoConnection::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_NoConnection) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 from_connection_id = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_connection_id(), target); + } + + // optional fixed32 to_connection_id = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_to_connection_id(), 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:CMsgSteamSockets_UDP_NoConnection) + return target; +} + +size_t CMsgSteamSockets_UDP_NoConnection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_NoConnection) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed32 from_connection_id = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional fixed32 to_connection_id = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_NoConnection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_NoConnection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_NoConnection::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_NoConnection::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:CMsgSteamSockets_UDP_NoConnection) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_NoConnection::CopyFrom(const CMsgSteamSockets_UDP_NoConnection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_NoConnection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_NoConnection::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_NoConnection::InternalSwap(CMsgSteamSockets_UDP_NoConnection* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_NoConnection, _impl_.to_connection_id_) + + sizeof(CMsgSteamSockets_UDP_NoConnection::_impl_.to_connection_id_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_NoConnection, _impl_.from_connection_id_)>( + reinterpret_cast(&_impl_.from_connection_id_), + reinterpret_cast(&other->_impl_.from_connection_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_NoConnection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[5]); +} + +// =================================================================== + +class CMsgSteamSockets_UDP_Stats::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgSteamDatagramConnectionQuality& stats(const CMsgSteamSockets_UDP_Stats* msg); + static void set_has_stats(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgSteamDatagramConnectionQuality& +CMsgSteamSockets_UDP_Stats::_Internal::stats(const CMsgSteamSockets_UDP_Stats* msg) { + return *msg->_impl_.stats_; +} +void CMsgSteamSockets_UDP_Stats::clear_stats() { + if (_impl_.stats_ != nullptr) _impl_.stats_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats(::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:CMsgSteamSockets_UDP_Stats) +} +CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats(const CMsgSteamSockets_UDP_Stats& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgSteamSockets_UDP_Stats* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){nullptr} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_stats()) { + _this->_impl_.stats_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.stats_); + } + _this->_impl_.flags_ = from._impl_.flags_; + // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_Stats) +} + +inline void CMsgSteamSockets_UDP_Stats::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.stats_){nullptr} + , decltype(_impl_.flags_){0u} + }; +} + +CMsgSteamSockets_UDP_Stats::~CMsgSteamSockets_UDP_Stats() { + // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_Stats) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgSteamSockets_UDP_Stats::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.stats_; +} + +void CMsgSteamSockets_UDP_Stats::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgSteamSockets_UDP_Stats::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_Stats) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.stats_ != nullptr); + _impl_.stats_->Clear(); + } + _impl_.flags_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgSteamSockets_UDP_Stats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgSteamDatagramConnectionQuality stats = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgSteamSockets_UDP_Stats::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_Stats) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgSteamDatagramConnectionQuality stats = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::stats(this), + _Internal::stats(this).GetCachedSize(), target, stream); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), 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:CMsgSteamSockets_UDP_Stats) + return target; +} + +size_t CMsgSteamSockets_UDP_Stats::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_Stats) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgSteamDatagramConnectionQuality stats = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.stats_); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_Stats::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgSteamSockets_UDP_Stats::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_Stats::GetClassData() const { return &_class_data_; } + + +void CMsgSteamSockets_UDP_Stats::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:CMsgSteamSockets_UDP_Stats) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_stats()->::CMsgSteamDatagramConnectionQuality::MergeFrom( + from._internal_stats()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgSteamSockets_UDP_Stats::CopyFrom(const CMsgSteamSockets_UDP_Stats& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_Stats) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgSteamSockets_UDP_Stats::IsInitialized() const { + return true; +} + +void CMsgSteamSockets_UDP_Stats::InternalSwap(CMsgSteamSockets_UDP_Stats* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_Stats, _impl_.flags_) + + sizeof(CMsgSteamSockets_UDP_Stats::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_Stats, _impl_.stats_)>( + reinterpret_cast(&_impl_.stats_), + reinterpret_cast(&other->_impl_.stats_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_Stats::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, + file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[6]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ChallengeRequest* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ChallengeRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ChallengeRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ChallengeReply* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ChallengeReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ChallengeReply >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectRequest* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectOK* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectOK >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectOK >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectionClosed* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectionClosed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectionClosed >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_NoConnection* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_NoConnection >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_NoConnection >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_Stats* +Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_Stats >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_Stats >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.h new file mode 100644 index 0000000..efbb652 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/steamnetworkingsockets_messages_udp.pb.h @@ -0,0 +1,3296 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: steamnetworkingsockets_messages_udp.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "steamnetworkingsockets_messages_certs.pb.h" +#include "steamnetworkingsockets_messages.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_5fudp_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto; +class CMsgSteamSockets_UDP_ChallengeReply; +struct CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal; +extern CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeReply_default_instance_; +class CMsgSteamSockets_UDP_ChallengeRequest; +struct CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal; +extern CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeRequest_default_instance_; +class CMsgSteamSockets_UDP_ConnectOK; +struct CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal; +extern CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectOK_default_instance_; +class CMsgSteamSockets_UDP_ConnectRequest; +struct CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal; +extern CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectRequest_default_instance_; +class CMsgSteamSockets_UDP_ConnectionClosed; +struct CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal; +extern CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectionClosed_default_instance_; +class CMsgSteamSockets_UDP_NoConnection; +struct CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal; +extern CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal _CMsgSteamSockets_UDP_NoConnection_default_instance_; +class CMsgSteamSockets_UDP_Stats; +struct CMsgSteamSockets_UDP_StatsDefaultTypeInternal; +extern CMsgSteamSockets_UDP_StatsDefaultTypeInternal _CMsgSteamSockets_UDP_Stats_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgSteamSockets_UDP_ChallengeReply* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ChallengeReply>(Arena*); +template<> ::CMsgSteamSockets_UDP_ChallengeRequest* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ChallengeRequest>(Arena*); +template<> ::CMsgSteamSockets_UDP_ConnectOK* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectOK>(Arena*); +template<> ::CMsgSteamSockets_UDP_ConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectRequest>(Arena*); +template<> ::CMsgSteamSockets_UDP_ConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectionClosed>(Arena*); +template<> ::CMsgSteamSockets_UDP_NoConnection* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_NoConnection>(Arena*); +template<> ::CMsgSteamSockets_UDP_Stats* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_Stats>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum CMsgSteamSockets_UDP_Stats_Flags : int { + CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E = 2, + CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_IMMEDIATE = 4, + CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16 +}; +bool CMsgSteamSockets_UDP_Stats_Flags_IsValid(int value); +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats_Flags_Flags_MIN = CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E; +constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX = CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E; +constexpr int CMsgSteamSockets_UDP_Stats_Flags_Flags_ARRAYSIZE = CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamSockets_UDP_Stats_Flags_descriptor(); +template +inline const std::string& CMsgSteamSockets_UDP_Stats_Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CMsgSteamSockets_UDP_Stats_Flags_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CMsgSteamSockets_UDP_Stats_Flags_descriptor(), enum_t_value); +} +inline bool CMsgSteamSockets_UDP_Stats_Flags_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamSockets_UDP_Stats_Flags* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CMsgSteamSockets_UDP_Stats_Flags_descriptor(), name, value); +} +enum ESteamNetworkingUDPMsgID : int { + k_ESteamNetworkingUDPMsg_ChallengeRequest = 32, + k_ESteamNetworkingUDPMsg_ChallengeReply = 33, + k_ESteamNetworkingUDPMsg_ConnectRequest = 34, + k_ESteamNetworkingUDPMsg_ConnectOK = 35, + k_ESteamNetworkingUDPMsg_ConnectionClosed = 36, + k_ESteamNetworkingUDPMsg_NoConnection = 37 +}; +bool ESteamNetworkingUDPMsgID_IsValid(int value); +constexpr ESteamNetworkingUDPMsgID ESteamNetworkingUDPMsgID_MIN = k_ESteamNetworkingUDPMsg_ChallengeRequest; +constexpr ESteamNetworkingUDPMsgID ESteamNetworkingUDPMsgID_MAX = k_ESteamNetworkingUDPMsg_NoConnection; +constexpr int ESteamNetworkingUDPMsgID_ARRAYSIZE = ESteamNetworkingUDPMsgID_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingUDPMsgID_descriptor(); +template +inline const std::string& ESteamNetworkingUDPMsgID_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ESteamNetworkingUDPMsgID_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ESteamNetworkingUDPMsgID_descriptor(), enum_t_value); +} +inline bool ESteamNetworkingUDPMsgID_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamNetworkingUDPMsgID* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ESteamNetworkingUDPMsgID_descriptor(), name, value); +} +// =================================================================== + +class CMsgSteamSockets_UDP_ChallengeRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ChallengeRequest) */ { + public: + inline CMsgSteamSockets_UDP_ChallengeRequest() : CMsgSteamSockets_UDP_ChallengeRequest(nullptr) {} + ~CMsgSteamSockets_UDP_ChallengeRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_ChallengeRequest(const CMsgSteamSockets_UDP_ChallengeRequest& from); + CMsgSteamSockets_UDP_ChallengeRequest(CMsgSteamSockets_UDP_ChallengeRequest&& from) noexcept + : CMsgSteamSockets_UDP_ChallengeRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_ChallengeRequest& operator=(const CMsgSteamSockets_UDP_ChallengeRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_ChallengeRequest& operator=(CMsgSteamSockets_UDP_ChallengeRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_ChallengeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_ChallengeRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_ChallengeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgSteamSockets_UDP_ChallengeRequest& a, CMsgSteamSockets_UDP_ChallengeRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_ChallengeRequest* 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(CMsgSteamSockets_UDP_ChallengeRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_ChallengeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_ChallengeRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_ChallengeRequest& from) { + CMsgSteamSockets_UDP_ChallengeRequest::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(CMsgSteamSockets_UDP_ChallengeRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_ChallengeRequest"; + } + protected: + explicit CMsgSteamSockets_UDP_ChallengeRequest(::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 { + kConnectionIdFieldNumber = 1, + kProtocolVersionFieldNumber = 4, + kMyTimestampFieldNumber = 3, + }; + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 protocol_version = 4; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional fixed64 my_timestamp = 3; + bool has_my_timestamp() const; + private: + bool _internal_has_my_timestamp() const; + public: + void clear_my_timestamp(); + uint64_t my_timestamp() const; + void set_my_timestamp(uint64_t value); + private: + uint64_t _internal_my_timestamp() const; + void _internal_set_my_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ChallengeRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t connection_id_; + uint32_t protocol_version_; + uint64_t my_timestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_ChallengeReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ChallengeReply) */ { + public: + inline CMsgSteamSockets_UDP_ChallengeReply() : CMsgSteamSockets_UDP_ChallengeReply(nullptr) {} + ~CMsgSteamSockets_UDP_ChallengeReply() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_ChallengeReply(const CMsgSteamSockets_UDP_ChallengeReply& from); + CMsgSteamSockets_UDP_ChallengeReply(CMsgSteamSockets_UDP_ChallengeReply&& from) noexcept + : CMsgSteamSockets_UDP_ChallengeReply() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_ChallengeReply& operator=(const CMsgSteamSockets_UDP_ChallengeReply& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_ChallengeReply& operator=(CMsgSteamSockets_UDP_ChallengeReply&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_ChallengeReply& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_ChallengeReply* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_ChallengeReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgSteamSockets_UDP_ChallengeReply& a, CMsgSteamSockets_UDP_ChallengeReply& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_ChallengeReply* 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(CMsgSteamSockets_UDP_ChallengeReply* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_ChallengeReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_ChallengeReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_ChallengeReply& from) { + CMsgSteamSockets_UDP_ChallengeReply::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(CMsgSteamSockets_UDP_ChallengeReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_ChallengeReply"; + } + protected: + explicit CMsgSteamSockets_UDP_ChallengeReply(::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 { + kChallengeFieldNumber = 2, + kConnectionIdFieldNumber = 1, + kProtocolVersionFieldNumber = 4, + kYourTimestampFieldNumber = 3, + }; + // optional fixed64 challenge = 2; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional fixed32 connection_id = 1; + bool has_connection_id() const; + private: + bool _internal_has_connection_id() const; + public: + void clear_connection_id(); + uint32_t connection_id() const; + void set_connection_id(uint32_t value); + private: + uint32_t _internal_connection_id() const; + void _internal_set_connection_id(uint32_t value); + public: + + // optional uint32 protocol_version = 4; + bool has_protocol_version() const; + private: + bool _internal_has_protocol_version() const; + public: + void clear_protocol_version(); + uint32_t protocol_version() const; + void set_protocol_version(uint32_t value); + private: + uint32_t _internal_protocol_version() const; + void _internal_set_protocol_version(uint32_t value); + public: + + // optional fixed64 your_timestamp = 3; + bool has_your_timestamp() const; + private: + bool _internal_has_your_timestamp() const; + public: + void clear_your_timestamp(); + uint64_t your_timestamp() const; + void set_your_timestamp(uint64_t value); + private: + uint64_t _internal_your_timestamp() const; + void _internal_set_your_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ChallengeReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t challenge_; + uint32_t connection_id_; + uint32_t protocol_version_; + uint64_t your_timestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_ConnectRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectRequest) */ { + public: + inline CMsgSteamSockets_UDP_ConnectRequest() : CMsgSteamSockets_UDP_ConnectRequest(nullptr) {} + ~CMsgSteamSockets_UDP_ConnectRequest() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_ConnectRequest(const CMsgSteamSockets_UDP_ConnectRequest& from); + CMsgSteamSockets_UDP_ConnectRequest(CMsgSteamSockets_UDP_ConnectRequest&& from) noexcept + : CMsgSteamSockets_UDP_ConnectRequest() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_ConnectRequest& operator=(const CMsgSteamSockets_UDP_ConnectRequest& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_ConnectRequest& operator=(CMsgSteamSockets_UDP_ConnectRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_ConnectRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_ConnectRequest* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_ConnectRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgSteamSockets_UDP_ConnectRequest& a, CMsgSteamSockets_UDP_ConnectRequest& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_ConnectRequest* 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(CMsgSteamSockets_UDP_ConnectRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_ConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_ConnectRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_ConnectRequest& from) { + CMsgSteamSockets_UDP_ConnectRequest::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(CMsgSteamSockets_UDP_ConnectRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_ConnectRequest"; + } + protected: + explicit CMsgSteamSockets_UDP_ConnectRequest(::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 { + kIdentityStringFieldNumber = 10, + kCertFieldNumber = 4, + kCryptFieldNumber = 7, + kLegacyIdentityBinaryFieldNumber = 9, + kChallengeFieldNumber = 2, + kLegacyClientSteamIdFieldNumber = 3, + kClientConnectionIdFieldNumber = 1, + kPingEstMsFieldNumber = 6, + kMyTimestampFieldNumber = 5, + kLegacyProtocolVersionFieldNumber = 8, + }; + // optional string identity_string = 10; + bool has_identity_string() const; + private: + bool _internal_has_identity_string() const; + public: + void clear_identity_string(); + const std::string& identity_string() const; + template + void set_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_string(); + PROTOBUF_NODISCARD std::string* release_identity_string(); + void set_allocated_identity_string(std::string* identity_string); + private: + const std::string& _internal_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); + std::string* _internal_mutable_identity_string(); + public: + + // optional .CMsgSteamDatagramCertificateSigned cert = 4; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; + bool has_legacy_identity_binary() const; + private: + bool _internal_has_legacy_identity_binary() const; + public: + void clear_legacy_identity_binary(); + const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); + ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); + void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + private: + const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; + ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); + public: + void unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); + + // optional fixed64 challenge = 2; + bool has_challenge() const; + private: + bool _internal_has_challenge() const; + public: + void clear_challenge(); + uint64_t challenge() const; + void set_challenge(uint64_t value); + private: + uint64_t _internal_challenge() const; + void _internal_set_challenge(uint64_t value); + public: + + // optional fixed64 legacy_client_steam_id = 3; + bool has_legacy_client_steam_id() const; + private: + bool _internal_has_legacy_client_steam_id() const; + public: + void clear_legacy_client_steam_id(); + uint64_t legacy_client_steam_id() const; + void set_legacy_client_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_client_steam_id() const; + void _internal_set_legacy_client_steam_id(uint64_t value); + public: + + // optional fixed32 client_connection_id = 1; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 ping_est_ms = 6; + bool has_ping_est_ms() const; + private: + bool _internal_has_ping_est_ms() const; + public: + void clear_ping_est_ms(); + uint32_t ping_est_ms() const; + void set_ping_est_ms(uint32_t value); + private: + uint32_t _internal_ping_est_ms() const; + void _internal_set_ping_est_ms(uint32_t value); + public: + + // optional fixed64 my_timestamp = 5; + bool has_my_timestamp() const; + private: + bool _internal_has_my_timestamp() const; + public: + void clear_my_timestamp(); + uint64_t my_timestamp() const; + void set_my_timestamp(uint64_t value); + private: + uint64_t _internal_my_timestamp() const; + void _internal_set_my_timestamp(uint64_t value); + public: + + // optional uint32 legacy_protocol_version = 8; + bool has_legacy_protocol_version() const; + private: + bool _internal_has_legacy_protocol_version() const; + public: + void clear_legacy_protocol_version(); + uint32_t legacy_protocol_version() const; + void set_legacy_protocol_version(uint32_t value); + private: + uint32_t _internal_legacy_protocol_version() const; + void _internal_set_legacy_protocol_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; + ::CMsgSteamDatagramCertificateSigned* cert_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; + uint64_t challenge_; + uint64_t legacy_client_steam_id_; + uint32_t client_connection_id_; + uint32_t ping_est_ms_; + uint64_t my_timestamp_; + uint32_t legacy_protocol_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_ConnectOK final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectOK) */ { + public: + inline CMsgSteamSockets_UDP_ConnectOK() : CMsgSteamSockets_UDP_ConnectOK(nullptr) {} + ~CMsgSteamSockets_UDP_ConnectOK() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_ConnectOK(const CMsgSteamSockets_UDP_ConnectOK& from); + CMsgSteamSockets_UDP_ConnectOK(CMsgSteamSockets_UDP_ConnectOK&& from) noexcept + : CMsgSteamSockets_UDP_ConnectOK() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_ConnectOK& operator=(const CMsgSteamSockets_UDP_ConnectOK& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_ConnectOK& operator=(CMsgSteamSockets_UDP_ConnectOK&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_ConnectOK& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_ConnectOK* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_ConnectOK_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgSteamSockets_UDP_ConnectOK& a, CMsgSteamSockets_UDP_ConnectOK& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_ConnectOK* 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(CMsgSteamSockets_UDP_ConnectOK* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_ConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_ConnectOK& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_ConnectOK& from) { + CMsgSteamSockets_UDP_ConnectOK::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(CMsgSteamSockets_UDP_ConnectOK* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_ConnectOK"; + } + protected: + explicit CMsgSteamSockets_UDP_ConnectOK(::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 { + kIdentityStringFieldNumber = 11, + kCryptFieldNumber = 7, + kCertFieldNumber = 8, + kLegacyIdentityBinaryFieldNumber = 10, + kLegacyServerSteamIdFieldNumber = 2, + kClientConnectionIdFieldNumber = 1, + kDelayTimeUsecFieldNumber = 4, + kYourTimestampFieldNumber = 3, + kServerConnectionIdFieldNumber = 5, + }; + // optional string identity_string = 11; + bool has_identity_string() const; + private: + bool _internal_has_identity_string() const; + public: + void clear_identity_string(); + const std::string& identity_string() const; + template + void set_identity_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_identity_string(); + PROTOBUF_NODISCARD std::string* release_identity_string(); + void set_allocated_identity_string(std::string* identity_string); + private: + const std::string& _internal_identity_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); + std::string* _internal_mutable_identity_string(); + public: + + // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; + bool has_crypt() const; + private: + bool _internal_has_crypt() const; + public: + void clear_crypt(); + const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); + ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); + void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + private: + const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; + ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); + public: + void unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); + ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); + + // optional .CMsgSteamDatagramCertificateSigned cert = 8; + bool has_cert() const; + private: + bool _internal_has_cert() const; + public: + void clear_cert(); + const ::CMsgSteamDatagramCertificateSigned& cert() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); + ::CMsgSteamDatagramCertificateSigned* mutable_cert(); + void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); + private: + const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; + ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); + public: + void unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert); + ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); + + // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; + bool has_legacy_identity_binary() const; + private: + bool _internal_has_legacy_identity_binary() const; + public: + void clear_legacy_identity_binary(); + const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; + PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); + ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); + void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + private: + const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; + ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); + public: + void unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); + ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); + + // optional fixed64 legacy_server_steam_id = 2; + bool has_legacy_server_steam_id() const; + private: + bool _internal_has_legacy_server_steam_id() const; + public: + void clear_legacy_server_steam_id(); + uint64_t legacy_server_steam_id() const; + void set_legacy_server_steam_id(uint64_t value); + private: + uint64_t _internal_legacy_server_steam_id() const; + void _internal_set_legacy_server_steam_id(uint64_t value); + public: + + // optional fixed32 client_connection_id = 1; + bool has_client_connection_id() const; + private: + bool _internal_has_client_connection_id() const; + public: + void clear_client_connection_id(); + uint32_t client_connection_id() const; + void set_client_connection_id(uint32_t value); + private: + uint32_t _internal_client_connection_id() const; + void _internal_set_client_connection_id(uint32_t value); + public: + + // optional uint32 delay_time_usec = 4; + bool has_delay_time_usec() const; + private: + bool _internal_has_delay_time_usec() const; + public: + void clear_delay_time_usec(); + uint32_t delay_time_usec() const; + void set_delay_time_usec(uint32_t value); + private: + uint32_t _internal_delay_time_usec() const; + void _internal_set_delay_time_usec(uint32_t value); + public: + + // optional fixed64 your_timestamp = 3; + bool has_your_timestamp() const; + private: + bool _internal_has_your_timestamp() const; + public: + void clear_your_timestamp(); + uint64_t your_timestamp() const; + void set_your_timestamp(uint64_t value); + private: + uint64_t _internal_your_timestamp() const; + void _internal_set_your_timestamp(uint64_t value); + public: + + // optional fixed32 server_connection_id = 5; + bool has_server_connection_id() const; + private: + bool _internal_has_server_connection_id() const; + public: + void clear_server_connection_id(); + uint32_t server_connection_id() const; + void set_server_connection_id(uint32_t value); + private: + uint32_t _internal_server_connection_id() const; + void _internal_set_server_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectOK) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; + ::CMsgSteamDatagramCertificateSigned* cert_; + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; + uint64_t legacy_server_steam_id_; + uint32_t client_connection_id_; + uint32_t delay_time_usec_; + uint64_t your_timestamp_; + uint32_t server_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_ConnectionClosed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectionClosed) */ { + public: + inline CMsgSteamSockets_UDP_ConnectionClosed() : CMsgSteamSockets_UDP_ConnectionClosed(nullptr) {} + ~CMsgSteamSockets_UDP_ConnectionClosed() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_ConnectionClosed(const CMsgSteamSockets_UDP_ConnectionClosed& from); + CMsgSteamSockets_UDP_ConnectionClosed(CMsgSteamSockets_UDP_ConnectionClosed&& from) noexcept + : CMsgSteamSockets_UDP_ConnectionClosed() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_ConnectionClosed& operator=(const CMsgSteamSockets_UDP_ConnectionClosed& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_ConnectionClosed& operator=(CMsgSteamSockets_UDP_ConnectionClosed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_ConnectionClosed& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_ConnectionClosed* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_ConnectionClosed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgSteamSockets_UDP_ConnectionClosed& a, CMsgSteamSockets_UDP_ConnectionClosed& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_ConnectionClosed* 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(CMsgSteamSockets_UDP_ConnectionClosed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_ConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_ConnectionClosed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_ConnectionClosed& from) { + CMsgSteamSockets_UDP_ConnectionClosed::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(CMsgSteamSockets_UDP_ConnectionClosed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_ConnectionClosed"; + } + protected: + explicit CMsgSteamSockets_UDP_ConnectionClosed(::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 { + kDebugFieldNumber = 2, + kReasonCodeFieldNumber = 3, + kToConnectionIdFieldNumber = 4, + kFromConnectionIdFieldNumber = 5, + }; + // optional string debug = 2; + bool has_debug() const; + private: + bool _internal_has_debug() const; + public: + void clear_debug(); + const std::string& debug() const; + template + void set_debug(ArgT0&& arg0, ArgT... args); + std::string* mutable_debug(); + PROTOBUF_NODISCARD std::string* release_debug(); + void set_allocated_debug(std::string* debug); + private: + const std::string& _internal_debug() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); + std::string* _internal_mutable_debug(); + public: + + // optional uint32 reason_code = 3; + bool has_reason_code() const; + private: + bool _internal_has_reason_code() const; + public: + void clear_reason_code(); + uint32_t reason_code() const; + void set_reason_code(uint32_t value); + private: + uint32_t _internal_reason_code() const; + void _internal_set_reason_code(uint32_t value); + public: + + // optional fixed32 to_connection_id = 4; + bool has_to_connection_id() const; + private: + bool _internal_has_to_connection_id() const; + public: + void clear_to_connection_id(); + uint32_t to_connection_id() const; + void set_to_connection_id(uint32_t value); + private: + uint32_t _internal_to_connection_id() const; + void _internal_set_to_connection_id(uint32_t value); + public: + + // optional fixed32 from_connection_id = 5; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectionClosed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; + uint32_t reason_code_; + uint32_t to_connection_id_; + uint32_t from_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_NoConnection final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_NoConnection) */ { + public: + inline CMsgSteamSockets_UDP_NoConnection() : CMsgSteamSockets_UDP_NoConnection(nullptr) {} + ~CMsgSteamSockets_UDP_NoConnection() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_NoConnection(const CMsgSteamSockets_UDP_NoConnection& from); + CMsgSteamSockets_UDP_NoConnection(CMsgSteamSockets_UDP_NoConnection&& from) noexcept + : CMsgSteamSockets_UDP_NoConnection() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_NoConnection& operator=(const CMsgSteamSockets_UDP_NoConnection& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_NoConnection& operator=(CMsgSteamSockets_UDP_NoConnection&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_NoConnection& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_NoConnection* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_NoConnection_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgSteamSockets_UDP_NoConnection& a, CMsgSteamSockets_UDP_NoConnection& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_NoConnection* 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(CMsgSteamSockets_UDP_NoConnection* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_NoConnection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_NoConnection& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_NoConnection& from) { + CMsgSteamSockets_UDP_NoConnection::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(CMsgSteamSockets_UDP_NoConnection* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_NoConnection"; + } + protected: + explicit CMsgSteamSockets_UDP_NoConnection(::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 { + kFromConnectionIdFieldNumber = 2, + kToConnectionIdFieldNumber = 3, + }; + // optional fixed32 from_connection_id = 2; + bool has_from_connection_id() const; + private: + bool _internal_has_from_connection_id() const; + public: + void clear_from_connection_id(); + uint32_t from_connection_id() const; + void set_from_connection_id(uint32_t value); + private: + uint32_t _internal_from_connection_id() const; + void _internal_set_from_connection_id(uint32_t value); + public: + + // optional fixed32 to_connection_id = 3; + bool has_to_connection_id() const; + private: + bool _internal_has_to_connection_id() const; + public: + void clear_to_connection_id(); + uint32_t to_connection_id() const; + void set_to_connection_id(uint32_t value); + private: + uint32_t _internal_to_connection_id() const; + void _internal_set_to_connection_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_NoConnection) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t from_connection_id_; + uint32_t to_connection_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgSteamSockets_UDP_Stats final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_Stats) */ { + public: + inline CMsgSteamSockets_UDP_Stats() : CMsgSteamSockets_UDP_Stats(nullptr) {} + ~CMsgSteamSockets_UDP_Stats() override; + explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_Stats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgSteamSockets_UDP_Stats(const CMsgSteamSockets_UDP_Stats& from); + CMsgSteamSockets_UDP_Stats(CMsgSteamSockets_UDP_Stats&& from) noexcept + : CMsgSteamSockets_UDP_Stats() { + *this = ::std::move(from); + } + + inline CMsgSteamSockets_UDP_Stats& operator=(const CMsgSteamSockets_UDP_Stats& from) { + CopyFrom(from); + return *this; + } + inline CMsgSteamSockets_UDP_Stats& operator=(CMsgSteamSockets_UDP_Stats&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgSteamSockets_UDP_Stats& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgSteamSockets_UDP_Stats* internal_default_instance() { + return reinterpret_cast( + &_CMsgSteamSockets_UDP_Stats_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgSteamSockets_UDP_Stats& a, CMsgSteamSockets_UDP_Stats& b) { + a.Swap(&b); + } + inline void Swap(CMsgSteamSockets_UDP_Stats* 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(CMsgSteamSockets_UDP_Stats* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgSteamSockets_UDP_Stats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgSteamSockets_UDP_Stats& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgSteamSockets_UDP_Stats& from) { + CMsgSteamSockets_UDP_Stats::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(CMsgSteamSockets_UDP_Stats* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgSteamSockets_UDP_Stats"; + } + protected: + explicit CMsgSteamSockets_UDP_Stats(::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 ---------------------------------------------------- + + typedef CMsgSteamSockets_UDP_Stats_Flags Flags; + static constexpr Flags ACK_REQUEST_E2E = + CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E; + static constexpr Flags ACK_REQUEST_IMMEDIATE = + CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_IMMEDIATE; + static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = + CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E; + static inline bool Flags_IsValid(int value) { + return CMsgSteamSockets_UDP_Stats_Flags_IsValid(value); + } + static constexpr Flags Flags_MIN = + CMsgSteamSockets_UDP_Stats_Flags_Flags_MIN; + static constexpr Flags Flags_MAX = + CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX; + static constexpr int Flags_ARRAYSIZE = + CMsgSteamSockets_UDP_Stats_Flags_Flags_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Flags_descriptor() { + return CMsgSteamSockets_UDP_Stats_Flags_descriptor(); + } + template + static inline const std::string& Flags_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Flags_Name."); + return CMsgSteamSockets_UDP_Stats_Flags_Name(enum_t_value); + } + static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Flags* value) { + return CMsgSteamSockets_UDP_Stats_Flags_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kStatsFieldNumber = 1, + kFlagsFieldNumber = 3, + }; + // optional .CMsgSteamDatagramConnectionQuality stats = 1; + bool has_stats() const; + private: + bool _internal_has_stats() const; + public: + void clear_stats(); + const ::CMsgSteamDatagramConnectionQuality& stats() const; + PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_stats(); + ::CMsgSteamDatagramConnectionQuality* mutable_stats(); + void set_allocated_stats(::CMsgSteamDatagramConnectionQuality* stats); + private: + const ::CMsgSteamDatagramConnectionQuality& _internal_stats() const; + ::CMsgSteamDatagramConnectionQuality* _internal_mutable_stats(); + public: + void unsafe_arena_set_allocated_stats( + ::CMsgSteamDatagramConnectionQuality* stats); + ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_stats(); + + // optional uint32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_Stats) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgSteamDatagramConnectionQuality* stats_; + uint32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgSteamSockets_UDP_ChallengeRequest + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.connection_id) +} + +// optional fixed64 my_timestamp = 3; +inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_my_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_my_timestamp() const { + return _internal_has_my_timestamp(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_my_timestamp() { + _impl_.my_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_my_timestamp() const { + return _impl_.my_timestamp_; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeRequest::my_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.my_timestamp) + return _internal_my_timestamp(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_my_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.my_timestamp_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::set_my_timestamp(uint64_t value) { + _internal_set_my_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.my_timestamp) +} + +// optional uint32 protocol_version = 4; +inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeRequest::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.protocol_version) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_ChallengeReply + +// optional fixed32 connection_id = 1; +inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeReply::has_connection_id() const { + return _internal_has_connection_id(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::clear_connection_id() { + _impl_.connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::_internal_connection_id() const { + return _impl_.connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.connection_id) + return _internal_connection_id(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeReply::set_connection_id(uint32_t value) { + _internal_set_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.connection_id) +} + +// optional fixed64 challenge = 2; +inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeReply::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.challenge) + return _internal_challenge(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.challenge_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeReply::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.challenge) +} + +// optional fixed64 your_timestamp = 3; +inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_your_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeReply::has_your_timestamp() const { + return _internal_has_your_timestamp(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::clear_your_timestamp() { + _impl_.your_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::_internal_your_timestamp() const { + return _impl_.your_timestamp_; +} +inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::your_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.your_timestamp) + return _internal_your_timestamp(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_your_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.your_timestamp_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeReply::set_your_timestamp(uint64_t value) { + _internal_set_your_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.your_timestamp) +} + +// optional uint32 protocol_version = 4; +inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ChallengeReply::has_protocol_version() const { + return _internal_has_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::clear_protocol_version() { + _impl_.protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::_internal_protocol_version() const { + return _impl_.protocol_version_; +} +inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.protocol_version) + return _internal_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.protocol_version_ = value; +} +inline void CMsgSteamSockets_UDP_ChallengeReply::set_protocol_version(uint32_t value) { + _internal_set_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.protocol_version) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_ConnectRequest + +// optional fixed32 client_connection_id = 1; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.client_connection_id) +} + +// optional fixed64 challenge = 2; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_challenge() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_challenge() const { + return _internal_has_challenge(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_challenge() { + _impl_.challenge_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_challenge() const { + return _impl_.challenge_; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::challenge() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.challenge) + return _internal_challenge(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_challenge(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.challenge_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_challenge(uint64_t value) { + _internal_set_challenge(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.challenge) +} + +// optional fixed64 my_timestamp = 5; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_my_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_my_timestamp() const { + return _internal_has_my_timestamp(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_my_timestamp() { + _impl_.my_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_my_timestamp() const { + return _impl_.my_timestamp_; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::my_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.my_timestamp) + return _internal_my_timestamp(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_my_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.my_timestamp_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_my_timestamp(uint64_t value) { + _internal_set_my_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.my_timestamp) +} + +// optional uint32 ping_est_ms = 6; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_ping_est_ms() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_ping_est_ms() const { + return _internal_has_ping_est_ms(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_ping_est_ms() { + _impl_.ping_est_ms_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_ping_est_ms() const { + return _impl_.ping_est_ms_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::ping_est_ms() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.ping_est_ms) + return _internal_ping_est_ms(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_ping_est_ms(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.ping_est_ms_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_ping_est_ms(uint32_t value) { + _internal_set_ping_est_ms(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.ping_est_ms) +} + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_crypt() const { + return _internal_has_crypt(); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectRequest::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectRequest::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.crypt) + return _internal_crypt(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.crypt) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.crypt) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 4; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectRequest::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectRequest::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.cert) + return _internal_cert(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::release_cert() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.cert) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.cert) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.cert) +} + +// optional uint32 legacy_protocol_version = 8; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_protocol_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_protocol_version() const { + return _internal_has_legacy_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_protocol_version() { + _impl_.legacy_protocol_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_protocol_version() const { + return _impl_.legacy_protocol_version_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::legacy_protocol_version() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_protocol_version) + return _internal_legacy_protocol_version(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_legacy_protocol_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.legacy_protocol_version_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_legacy_protocol_version(uint32_t value) { + _internal_set_legacy_protocol_version(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.legacy_protocol_version) +} + +// optional string identity_string = 10; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_identity_string() const { + return _internal_has_identity_string(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_identity_string() { + _impl_.identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectRequest::identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.identity_string) + return _internal_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamSockets_UDP_ConnectRequest::set_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.identity_string) +} +inline std::string* CMsgSteamSockets_UDP_ConnectRequest::mutable_identity_string() { + std::string* _s = _internal_mutable_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.identity_string) + return _s; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectRequest::_internal_identity_string() const { + return _impl_.identity_string_.Get(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectRequest::release_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.identity_string) + if (!_internal_has_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_identity_string(std::string* identity_string) { + if (identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.identity_string) +} + +// optional fixed64 legacy_client_steam_id = 3; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_client_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_client_steam_id() const { + return _internal_has_legacy_client_steam_id(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_client_steam_id() { + _impl_.legacy_client_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_client_steam_id() const { + return _impl_.legacy_client_steam_id_; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::legacy_client_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_client_steam_id) + return _internal_legacy_client_steam_id(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_legacy_client_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.legacy_client_steam_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_legacy_client_steam_id(uint64_t value) { + _internal_set_legacy_client_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.legacy_client_steam_id) +} + +// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; +inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_identity_binary() const { + return _internal_has_legacy_identity_binary(); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_identity_binary() const { + const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectRequest::legacy_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) + return _internal_legacy_identity_binary(); +} +inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + if (legacy_identity_binary) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::release_legacy_identity_binary() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = 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 ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_legacy_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_legacy_identity_binary() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.legacy_identity_binary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); + _impl_.legacy_identity_binary_ = p; + } + return _impl_.legacy_identity_binary_; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::mutable_legacy_identity_binary() { + ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); + } + if (legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_identity_binary)); + if (message_arena != submessage_arena) { + legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, legacy_identity_binary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_ConnectOK + +// optional fixed32 client_connection_id = 1; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_client_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_client_connection_id() const { + return _internal_has_client_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_client_connection_id() { + _impl_.client_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_client_connection_id() const { + return _impl_.client_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::client_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.client_connection_id) + return _internal_client_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_client_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.client_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_client_connection_id(uint32_t value) { + _internal_set_client_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.client_connection_id) +} + +// optional fixed32 server_connection_id = 5; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_server_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_server_connection_id() const { + return _internal_has_server_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_server_connection_id() { + _impl_.server_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_server_connection_id() const { + return _impl_.server_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::server_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.server_connection_id) + return _internal_server_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_server_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.server_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_server_connection_id(uint32_t value) { + _internal_set_server_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.server_connection_id) +} + +// optional fixed64 your_timestamp = 3; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_your_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_your_timestamp() const { + return _internal_has_your_timestamp(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_your_timestamp() { + _impl_.your_timestamp_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectOK::_internal_your_timestamp() const { + return _impl_.your_timestamp_; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectOK::your_timestamp() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.your_timestamp) + return _internal_your_timestamp(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_your_timestamp(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.your_timestamp_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_your_timestamp(uint64_t value) { + _internal_set_your_timestamp(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.your_timestamp) +} + +// optional uint32 delay_time_usec = 4; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_delay_time_usec() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_delay_time_usec() const { + return _internal_has_delay_time_usec(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_delay_time_usec() { + _impl_.delay_time_usec_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_delay_time_usec() const { + return _impl_.delay_time_usec_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectOK::delay_time_usec() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.delay_time_usec) + return _internal_delay_time_usec(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_delay_time_usec(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.delay_time_usec_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_delay_time_usec(uint32_t value) { + _internal_set_delay_time_usec(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.delay_time_usec) +} + +// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_crypt() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_crypt() const { + return _internal_has_crypt(); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectOK::_internal_crypt() const { + const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); +} +inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectOK::crypt() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.crypt) + return _internal_crypt(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_crypt( + ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + _impl_.crypt_ = crypt; + if (crypt) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.crypt) +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::release_crypt() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = 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 ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_crypt() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.crypt) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; + _impl_.crypt_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_crypt() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.crypt_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); + _impl_.crypt_ = p; + } + return _impl_.crypt_; +} +inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::mutable_crypt() { + ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.crypt) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); + } + if (crypt) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); + if (message_arena != submessage_arena) { + crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, crypt, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.crypt_ = crypt; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.crypt) +} + +// optional .CMsgSteamDatagramCertificateSigned cert = 8; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_cert() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_cert() const { + return _internal_has_cert(); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectOK::_internal_cert() const { + const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramCertificateSigned_default_instance_); +} +inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectOK::cert() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.cert) + return _internal_cert(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_cert( + ::CMsgSteamDatagramCertificateSigned* cert) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + _impl_.cert_ = cert; + if (cert) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.cert) +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::release_cert() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = 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 ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_cert() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.cert) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; + _impl_.cert_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_cert() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.cert_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); + _impl_.cert_ = p; + } + return _impl_.cert_; +} +inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::mutable_cert() { + ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.cert) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); + } + if (cert) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); + if (message_arena != submessage_arena) { + cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, cert, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.cert_ = cert; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.cert) +} + +// optional string identity_string = 11; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_identity_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_identity_string() const { + return _internal_has_identity_string(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_identity_string() { + _impl_.identity_string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectOK::identity_string() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.identity_string) + return _internal_identity_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamSockets_UDP_ConnectOK::set_identity_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.identity_string) +} +inline std::string* CMsgSteamSockets_UDP_ConnectOK::mutable_identity_string() { + std::string* _s = _internal_mutable_identity_string(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.identity_string) + return _s; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectOK::_internal_identity_string() const { + return _impl_.identity_string_.Get(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_identity_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.identity_string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_identity_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.identity_string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectOK::release_identity_string() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.identity_string) + if (!_internal_has_identity_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.identity_string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_identity_string(std::string* identity_string) { + if (identity_string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.identity_string_.IsDefault()) { + _impl_.identity_string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.identity_string) +} + +// optional fixed64 legacy_server_steam_id = 2; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_legacy_server_steam_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_legacy_server_steam_id() const { + return _internal_has_legacy_server_steam_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::clear_legacy_server_steam_id() { + _impl_.legacy_server_steam_id_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectOK::_internal_legacy_server_steam_id() const { + return _impl_.legacy_server_steam_id_; +} +inline uint64_t CMsgSteamSockets_UDP_ConnectOK::legacy_server_steam_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.legacy_server_steam_id) + return _internal_legacy_server_steam_id(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_legacy_server_steam_id(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.legacy_server_steam_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_legacy_server_steam_id(uint64_t value) { + _internal_set_legacy_server_steam_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.legacy_server_steam_id) +} + +// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; +inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_legacy_identity_binary() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectOK::has_legacy_identity_binary() const { + return _internal_has_legacy_identity_binary(); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectOK::_internal_legacy_identity_binary() const { + const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); +} +inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectOK::legacy_identity_binary() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) + return _internal_legacy_identity_binary(); +} +inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_legacy_identity_binary( + ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + if (legacy_identity_binary) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::release_legacy_identity_binary() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = 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 ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_legacy_identity_binary() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; + _impl_.legacy_identity_binary_ = nullptr; + return temp; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_legacy_identity_binary() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.legacy_identity_binary_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); + _impl_.legacy_identity_binary_ = p; + } + return _impl_.legacy_identity_binary_; +} +inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::mutable_legacy_identity_binary() { + ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) + return _msg; +} +inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); + } + if (legacy_identity_binary) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_identity_binary)); + if (message_arena != submessage_arena) { + legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, legacy_identity_binary, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.legacy_identity_binary_ = legacy_identity_binary; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_ConnectionClosed + +// optional fixed32 to_connection_id = 4; +inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_to_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_to_connection_id() const { + return _internal_has_to_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_to_connection_id() { + _impl_.to_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_to_connection_id() const { + return _impl_.to_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::to_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.to_connection_id) + return _internal_to_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_to_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.to_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::set_to_connection_id(uint32_t value) { + _internal_set_to_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.to_connection_id) +} + +// optional fixed32 from_connection_id = 5; +inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.from_connection_id) +} + +// optional string debug = 2; +inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_debug() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_debug() const { + return _internal_has_debug(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_debug() { + _impl_.debug_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectionClosed::debug() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.debug) + return _internal_debug(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgSteamSockets_UDP_ConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.debug) +} +inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::mutable_debug() { + std::string* _s = _internal_mutable_debug(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectionClosed.debug) + return _s; +} +inline const std::string& CMsgSteamSockets_UDP_ConnectionClosed::_internal_debug() const { + return _impl_.debug_.Get(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_debug(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.debug_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::_internal_mutable_debug() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.debug_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::release_debug() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectionClosed.debug) + if (!_internal_has_debug()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.debug_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::set_allocated_debug(std::string* debug) { + if (debug != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.debug_.IsDefault()) { + _impl_.debug_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectionClosed.debug) +} + +// optional uint32 reason_code = 3; +inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_reason_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_reason_code() const { + return _internal_has_reason_code(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_reason_code() { + _impl_.reason_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_reason_code() const { + return _impl_.reason_code_; +} +inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::reason_code() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.reason_code) + return _internal_reason_code(); +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_reason_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reason_code_ = value; +} +inline void CMsgSteamSockets_UDP_ConnectionClosed::set_reason_code(uint32_t value) { + _internal_set_reason_code(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.reason_code) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_NoConnection + +// optional fixed32 from_connection_id = 2; +inline bool CMsgSteamSockets_UDP_NoConnection::_internal_has_from_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_NoConnection::has_from_connection_id() const { + return _internal_has_from_connection_id(); +} +inline void CMsgSteamSockets_UDP_NoConnection::clear_from_connection_id() { + _impl_.from_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgSteamSockets_UDP_NoConnection::_internal_from_connection_id() const { + return _impl_.from_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_NoConnection::from_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_NoConnection.from_connection_id) + return _internal_from_connection_id(); +} +inline void CMsgSteamSockets_UDP_NoConnection::_internal_set_from_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.from_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_NoConnection::set_from_connection_id(uint32_t value) { + _internal_set_from_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_NoConnection.from_connection_id) +} + +// optional fixed32 to_connection_id = 3; +inline bool CMsgSteamSockets_UDP_NoConnection::_internal_has_to_connection_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_NoConnection::has_to_connection_id() const { + return _internal_has_to_connection_id(); +} +inline void CMsgSteamSockets_UDP_NoConnection::clear_to_connection_id() { + _impl_.to_connection_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamSockets_UDP_NoConnection::_internal_to_connection_id() const { + return _impl_.to_connection_id_; +} +inline uint32_t CMsgSteamSockets_UDP_NoConnection::to_connection_id() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_NoConnection.to_connection_id) + return _internal_to_connection_id(); +} +inline void CMsgSteamSockets_UDP_NoConnection::_internal_set_to_connection_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.to_connection_id_ = value; +} +inline void CMsgSteamSockets_UDP_NoConnection::set_to_connection_id(uint32_t value) { + _internal_set_to_connection_id(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_NoConnection.to_connection_id) +} + +// ------------------------------------------------------------------- + +// CMsgSteamSockets_UDP_Stats + +// optional .CMsgSteamDatagramConnectionQuality stats = 1; +inline bool CMsgSteamSockets_UDP_Stats::_internal_has_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.stats_ != nullptr); + return value; +} +inline bool CMsgSteamSockets_UDP_Stats::has_stats() const { + return _internal_has_stats(); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamSockets_UDP_Stats::_internal_stats() const { + const ::CMsgSteamDatagramConnectionQuality* p = _impl_.stats_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgSteamDatagramConnectionQuality_default_instance_); +} +inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamSockets_UDP_Stats::stats() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_Stats.stats) + return _internal_stats(); +} +inline void CMsgSteamSockets_UDP_Stats::unsafe_arena_set_allocated_stats( + ::CMsgSteamDatagramConnectionQuality* stats) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); + } + _impl_.stats_ = stats; + if (stats) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_Stats.stats) +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::release_stats() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.stats_; + _impl_.stats_ = 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 ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::unsafe_arena_release_stats() { + // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_Stats.stats) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgSteamDatagramConnectionQuality* temp = _impl_.stats_; + _impl_.stats_ = nullptr; + return temp; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::_internal_mutable_stats() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.stats_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); + _impl_.stats_ = p; + } + return _impl_.stats_; +} +inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::mutable_stats() { + ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_stats(); + // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_Stats.stats) + return _msg; +} +inline void CMsgSteamSockets_UDP_Stats::set_allocated_stats(::CMsgSteamDatagramConnectionQuality* stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); + } + if (stats) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); + if (message_arena != submessage_arena) { + stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, stats, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.stats_ = stats; + // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_Stats.stats) +} + +// optional uint32 flags = 3; +inline bool CMsgSteamSockets_UDP_Stats::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgSteamSockets_UDP_Stats::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgSteamSockets_UDP_Stats::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgSteamSockets_UDP_Stats::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgSteamSockets_UDP_Stats::flags() const { + // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_Stats.flags) + return _internal_flags(); +} +inline void CMsgSteamSockets_UDP_Stats::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.flags_ = value; +} +inline void CMsgSteamSockets_UDP_Stats::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_Stats.flags) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::CMsgSteamSockets_UDP_Stats_Flags> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamSockets_UDP_Stats_Flags>() { + return ::CMsgSteamSockets_UDP_Stats_Flags_descriptor(); +} +template <> struct is_proto_enum< ::ESteamNetworkingUDPMsgID> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ESteamNetworkingUDPMsgID>() { + return ::ESteamNetworkingUDPMsgID_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.cc new file mode 100644 index 0000000..4390f03 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.cc @@ -0,0 +1,10521 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: te.proto + +#include "te.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; + +PROTOBUF_CONSTEXPR CMsgTEArmorRicochet::CMsgTEArmorRicochet( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.dir_)*/nullptr} {} +struct CMsgTEArmorRicochetDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEArmorRicochetDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEArmorRicochetDefaultTypeInternal() {} + union { + CMsgTEArmorRicochet _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEArmorRicochetDefaultTypeInternal _CMsgTEArmorRicochet_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBaseBeam::CMsgTEBaseBeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.modelindex_)*/uint64_t{0u} + , /*decltype(_impl_.haloindex_)*/uint64_t{0u} + , /*decltype(_impl_.startframe_)*/0u + , /*decltype(_impl_.framerate_)*/0u + , /*decltype(_impl_.life_)*/0 + , /*decltype(_impl_.width_)*/0 + , /*decltype(_impl_.endwidth_)*/0 + , /*decltype(_impl_.fadelength_)*/0u + , /*decltype(_impl_.amplitude_)*/0 + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.speed_)*/0u + , /*decltype(_impl_.flags_)*/0u} {} +struct CMsgTEBaseBeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBaseBeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBaseBeamDefaultTypeInternal() {} + union { + CMsgTEBaseBeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBaseBeamDefaultTypeInternal _CMsgTEBaseBeam_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBeamEntPoint::CMsgTEBeamEntPoint( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.base_)*/nullptr + , /*decltype(_impl_.start_)*/nullptr + , /*decltype(_impl_.end_)*/nullptr + , /*decltype(_impl_.startentity_)*/0u + , /*decltype(_impl_.endentity_)*/0u} {} +struct CMsgTEBeamEntPointDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBeamEntPointDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBeamEntPointDefaultTypeInternal() {} + union { + CMsgTEBeamEntPoint _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamEntPointDefaultTypeInternal _CMsgTEBeamEntPoint_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBeamEnts::CMsgTEBeamEnts( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.base_)*/nullptr + , /*decltype(_impl_.startentity_)*/0u + , /*decltype(_impl_.endentity_)*/0u} {} +struct CMsgTEBeamEntsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBeamEntsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBeamEntsDefaultTypeInternal() {} + union { + CMsgTEBeamEnts _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamEntsDefaultTypeInternal _CMsgTEBeamEnts_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBeamPoints::CMsgTEBeamPoints( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.base_)*/nullptr + , /*decltype(_impl_.start_)*/nullptr + , /*decltype(_impl_.end_)*/nullptr} {} +struct CMsgTEBeamPointsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBeamPointsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBeamPointsDefaultTypeInternal() {} + union { + CMsgTEBeamPoints _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamPointsDefaultTypeInternal _CMsgTEBeamPoints_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBeamRing::CMsgTEBeamRing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.base_)*/nullptr + , /*decltype(_impl_.startentity_)*/0u + , /*decltype(_impl_.endentity_)*/0u} {} +struct CMsgTEBeamRingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBeamRingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBeamRingDefaultTypeInternal() {} + union { + CMsgTEBeamRing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamRingDefaultTypeInternal _CMsgTEBeamRing_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBubbles::CMsgTEBubbles( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mins_)*/nullptr + , /*decltype(_impl_.maxs_)*/nullptr + , /*decltype(_impl_.height_)*/0 + , /*decltype(_impl_.count_)*/0u + , /*decltype(_impl_.speed_)*/0} {} +struct CMsgTEBubblesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBubblesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBubblesDefaultTypeInternal() {} + union { + CMsgTEBubbles _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBubblesDefaultTypeInternal _CMsgTEBubbles_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBubbleTrail::CMsgTEBubbleTrail( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.mins_)*/nullptr + , /*decltype(_impl_.maxs_)*/nullptr + , /*decltype(_impl_.waterz_)*/0 + , /*decltype(_impl_.count_)*/0u + , /*decltype(_impl_.speed_)*/0} {} +struct CMsgTEBubbleTrailDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBubbleTrailDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBubbleTrailDefaultTypeInternal() {} + union { + CMsgTEBubbleTrail _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBubbleTrailDefaultTypeInternal _CMsgTEBubbleTrail_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEDecal::CMsgTEDecal( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.start_)*/nullptr + , /*decltype(_impl_.hitbox_)*/0u + , /*decltype(_impl_.index_)*/0u + , /*decltype(_impl_.entity_)*/-1} {} +struct CMsgTEDecalDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEDecalDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEDecalDefaultTypeInternal() {} + union { + CMsgTEDecal _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEDecalDefaultTypeInternal _CMsgTEDecal_default_instance_; +PROTOBUF_CONSTEXPR CMsgEffectData::CMsgEffectData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.start_)*/nullptr + , /*decltype(_impl_.normal_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.scale_)*/0 + , /*decltype(_impl_.magnitude_)*/0 + , /*decltype(_impl_.radius_)*/0 + , /*decltype(_impl_.surfaceprop_)*/0u + , /*decltype(_impl_.effectindex_)*/uint64_t{0u} + , /*decltype(_impl_.damagetype_)*/0u + , /*decltype(_impl_.material_)*/0u + , /*decltype(_impl_.hitbox_)*/0u + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.attachmentindex_)*/0 + , /*decltype(_impl_.effectname_)*/0u + , /*decltype(_impl_.attachmentname_)*/0u + , /*decltype(_impl_.entity_)*/16777215u + , /*decltype(_impl_.otherentity_)*/16777215u} {} +struct CMsgEffectDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgEffectDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgEffectDataDefaultTypeInternal() {} + union { + CMsgEffectData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgEffectDataDefaultTypeInternal _CMsgEffectData_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEEffectDispatch::CMsgTEEffectDispatch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.effectdata_)*/nullptr} {} +struct CMsgTEEffectDispatchDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEEffectDispatchDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEEffectDispatchDefaultTypeInternal() {} + union { + CMsgTEEffectDispatch _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEEffectDispatchDefaultTypeInternal _CMsgTEEffectDispatch_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEEnergySplash::CMsgTEEnergySplash( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.dir_)*/nullptr + , /*decltype(_impl_.explosive_)*/false} {} +struct CMsgTEEnergySplashDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEEnergySplashDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEEnergySplashDefaultTypeInternal() {} + union { + CMsgTEEnergySplash _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEEnergySplashDefaultTypeInternal _CMsgTEEnergySplash_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEFizz::CMsgTEFizz( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.density_)*/0u + , /*decltype(_impl_.current_)*/0 + , /*decltype(_impl_.entity_)*/-1} {} +struct CMsgTEFizzDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEFizzDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEFizzDefaultTypeInternal() {} + union { + CMsgTEFizz _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFizzDefaultTypeInternal _CMsgTEFizz_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEShatterSurface::CMsgTEShatterSurface( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.force_)*/nullptr + , /*decltype(_impl_.forcepos_)*/nullptr + , /*decltype(_impl_.width_)*/0 + , /*decltype(_impl_.height_)*/0 + , /*decltype(_impl_.shardsize_)*/0 + , /*decltype(_impl_.surfacetype_)*/0u + , /*decltype(_impl_.frontcolor_)*/0u + , /*decltype(_impl_.backcolor_)*/0u} {} +struct CMsgTEShatterSurfaceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEShatterSurfaceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEShatterSurfaceDefaultTypeInternal() {} + union { + CMsgTEShatterSurface _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEShatterSurfaceDefaultTypeInternal _CMsgTEShatterSurface_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEGlowSprite::CMsgTEGlowSprite( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.scale_)*/0 + , /*decltype(_impl_.life_)*/0 + , /*decltype(_impl_.brightness_)*/0u} {} +struct CMsgTEGlowSpriteDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEGlowSpriteDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEGlowSpriteDefaultTypeInternal() {} + union { + CMsgTEGlowSprite _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEGlowSpriteDefaultTypeInternal _CMsgTEGlowSprite_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEImpact::CMsgTEImpact( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.normal_)*/nullptr + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgTEImpactDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEImpactDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEImpactDefaultTypeInternal() {} + union { + CMsgTEImpact _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEImpactDefaultTypeInternal _CMsgTEImpact_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEMuzzleFlash::CMsgTEMuzzleFlash( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.scale_)*/0 + , /*decltype(_impl_.type_)*/0u} {} +struct CMsgTEMuzzleFlashDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEMuzzleFlashDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEMuzzleFlashDefaultTypeInternal() {} + union { + CMsgTEMuzzleFlash _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEMuzzleFlashDefaultTypeInternal _CMsgTEMuzzleFlash_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEBloodStream::CMsgTEBloodStream( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.direction_)*/nullptr + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.amount_)*/0u} {} +struct CMsgTEBloodStreamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEBloodStreamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEBloodStreamDefaultTypeInternal() {} + union { + CMsgTEBloodStream _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBloodStreamDefaultTypeInternal _CMsgTEBloodStream_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEExplosion::CMsgTEExplosion( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.sound_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.normal_)*/nullptr + , /*decltype(_impl_.debris_origin_)*/nullptr + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.radius_)*/0u + , /*decltype(_impl_.magnitude_)*/0u + , /*decltype(_impl_.affect_ragdolls_)*/false + , /*decltype(_impl_.create_debris_)*/false + , /*decltype(_impl_.explosion_type_)*/0u + , /*decltype(_impl_.debris_surfaceprop_)*/0u} {} +struct CMsgTEExplosionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEExplosionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEExplosionDefaultTypeInternal() {} + union { + CMsgTEExplosion _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEExplosionDefaultTypeInternal _CMsgTEExplosion_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEDust::CMsgTEDust( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.direction_)*/nullptr + , /*decltype(_impl_.size_)*/0 + , /*decltype(_impl_.speed_)*/0} {} +struct CMsgTEDustDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEDustDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEDustDefaultTypeInternal() {} + union { + CMsgTEDust _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEDustDefaultTypeInternal _CMsgTEDust_default_instance_; +PROTOBUF_CONSTEXPR CMsgTELargeFunnel::CMsgTELargeFunnel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.reversed_)*/0u} {} +struct CMsgTELargeFunnelDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTELargeFunnelDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTELargeFunnelDefaultTypeInternal() {} + union { + CMsgTELargeFunnel _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTELargeFunnelDefaultTypeInternal _CMsgTELargeFunnel_default_instance_; +PROTOBUF_CONSTEXPR CMsgTESparks::CMsgTESparks( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.direction_)*/nullptr + , /*decltype(_impl_.magnitude_)*/0u + , /*decltype(_impl_.length_)*/0u} {} +struct CMsgTESparksDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTESparksDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTESparksDefaultTypeInternal() {} + union { + CMsgTESparks _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTESparksDefaultTypeInternal _CMsgTESparks_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEPhysicsProp::CMsgTEPhysicsProp( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.velocity_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.dmgpos_)*/nullptr + , /*decltype(_impl_.dmgdir_)*/nullptr + , /*decltype(_impl_.skin_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.effects_)*/0u + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.modelindex_)*/uint64_t{0u} + , /*decltype(_impl_.unused_breakmodelsnottomake_)*/0u + , /*decltype(_impl_.scale_)*/0 + , /*decltype(_impl_.dmgtype_)*/0} {} +struct CMsgTEPhysicsPropDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEPhysicsPropDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEPhysicsPropDefaultTypeInternal() {} + union { + CMsgTEPhysicsProp _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEPhysicsPropDefaultTypeInternal _CMsgTEPhysicsProp_default_instance_; +PROTOBUF_CONSTEXPR CMsgTESmoke::CMsgTESmoke( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.scale_)*/0} {} +struct CMsgTESmokeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTESmokeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTESmokeDefaultTypeInternal() {} + union { + CMsgTESmoke _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTESmokeDefaultTypeInternal _CMsgTESmoke_default_instance_; +PROTOBUF_CONSTEXPR CMsgTEWorldDecal::CMsgTEWorldDecal( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.normal_)*/nullptr + , /*decltype(_impl_.index_)*/0u} {} +struct CMsgTEWorldDecalDefaultTypeInternal { + PROTOBUF_CONSTEXPR CMsgTEWorldDecalDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CMsgTEWorldDecalDefaultTypeInternal() {} + union { + CMsgTEWorldDecal _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEWorldDecalDefaultTypeInternal _CMsgTEWorldDecal_default_instance_; +static ::_pb::Metadata file_level_metadata_te_2eproto[25]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_te_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_te_2eproto = nullptr; + +const uint32_t TableStruct_te_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_.dir_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.modelindex_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.haloindex_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.startframe_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.framerate_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.life_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.width_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.endwidth_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.fadelength_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.amplitude_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.flags_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.startentity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.endentity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.start_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.end_), + 0, + 3, + 4, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.startentity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.endentity_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.start_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.end_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.startentity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.endentity_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.mins_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.maxs_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.speed_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.mins_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.maxs_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.waterz_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.count_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.speed_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.start_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.entity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.hitbox_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.index_), + 0, + 1, + 4, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.start_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.entity_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.otherentity_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.magnitude_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.radius_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.surfaceprop_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.effectindex_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.damagetype_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.material_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.hitbox_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.attachmentindex_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.effectname_), + PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.attachmentname_), + 0, + 1, + 2, + 3, + 17, + 18, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _impl_.effectdata_), + 0, + PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.dir_), + PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.explosive_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.entity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.density_), + PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.current_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.force_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.forcepos_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.width_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.shardsize_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.surfacetype_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.frontcolor_), + PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.backcolor_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.life_), + PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.brightness_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.type_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.type_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.direction_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.amount_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.radius_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.magnitude_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.affect_ragdolls_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.sound_name_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.explosion_type_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.create_debris_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.debris_origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.debris_surfaceprop_), + 1, + 4, + 2, + 5, + 6, + 7, + 0, + 9, + 8, + 3, + 10, + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.size_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.direction_), + 0, + 2, + 3, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_.reversed_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.magnitude_), + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.length_), + PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.direction_), + 0, + 2, + 3, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.velocity_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.skin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.effects_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.modelindex_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.unused_breakmodelsnottomake_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.scale_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgpos_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgdir_), + PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgtype_), + 0, + 1, + 2, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 3, + 4, + 12, + PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_.scale_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.normal_), + PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.index_), + 0, + 1, + 2, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CMsgTEArmorRicochet)}, + { 10, 28, -1, sizeof(::CMsgTEBaseBeam)}, + { 40, 51, -1, sizeof(::CMsgTEBeamEntPoint)}, + { 56, 65, -1, sizeof(::CMsgTEBeamEnts)}, + { 68, 77, -1, sizeof(::CMsgTEBeamPoints)}, + { 80, 89, -1, sizeof(::CMsgTEBeamRing)}, + { 92, 103, -1, sizeof(::CMsgTEBubbles)}, + { 108, 119, -1, sizeof(::CMsgTEBubbleTrail)}, + { 124, 135, -1, sizeof(::CMsgTEDecal)}, + { 140, 165, -1, sizeof(::CMsgEffectData)}, + { 184, 191, -1, sizeof(::CMsgTEEffectDispatch)}, + { 192, 201, -1, sizeof(::CMsgTEEnergySplash)}, + { 204, 213, -1, sizeof(::CMsgTEFizz)}, + { 216, 232, -1, sizeof(::CMsgTEShatterSurface)}, + { 242, 252, -1, sizeof(::CMsgTEGlowSprite)}, + { 256, 265, -1, sizeof(::CMsgTEImpact)}, + { 268, 278, -1, sizeof(::CMsgTEMuzzleFlash)}, + { 282, 292, -1, sizeof(::CMsgTEBloodStream)}, + { 296, 313, -1, sizeof(::CMsgTEExplosion)}, + { 324, 334, -1, sizeof(::CMsgTEDust)}, + { 338, 346, -1, sizeof(::CMsgTELargeFunnel)}, + { 348, 358, -1, sizeof(::CMsgTESparks)}, + { 362, 381, -1, sizeof(::CMsgTEPhysicsProp)}, + { 394, 402, -1, sizeof(::CMsgTESmoke)}, + { 404, 413, -1, sizeof(::CMsgTEWorldDecal)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CMsgTEArmorRicochet_default_instance_._instance, + &::_CMsgTEBaseBeam_default_instance_._instance, + &::_CMsgTEBeamEntPoint_default_instance_._instance, + &::_CMsgTEBeamEnts_default_instance_._instance, + &::_CMsgTEBeamPoints_default_instance_._instance, + &::_CMsgTEBeamRing_default_instance_._instance, + &::_CMsgTEBubbles_default_instance_._instance, + &::_CMsgTEBubbleTrail_default_instance_._instance, + &::_CMsgTEDecal_default_instance_._instance, + &::_CMsgEffectData_default_instance_._instance, + &::_CMsgTEEffectDispatch_default_instance_._instance, + &::_CMsgTEEnergySplash_default_instance_._instance, + &::_CMsgTEFizz_default_instance_._instance, + &::_CMsgTEShatterSurface_default_instance_._instance, + &::_CMsgTEGlowSprite_default_instance_._instance, + &::_CMsgTEImpact_default_instance_._instance, + &::_CMsgTEMuzzleFlash_default_instance_._instance, + &::_CMsgTEBloodStream_default_instance_._instance, + &::_CMsgTEExplosion_default_instance_._instance, + &::_CMsgTEDust_default_instance_._instance, + &::_CMsgTELargeFunnel_default_instance_._instance, + &::_CMsgTESparks_default_instance_._instance, + &::_CMsgTEPhysicsProp_default_instance_._instance, + &::_CMsgTESmoke_default_instance_._instance, + &::_CMsgTEWorldDecal_default_instance_._instance, +}; + +const char descriptor_table_protodef_te_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\010te.proto\032\026networkbasetypes.proto\"I\n\023CM" + "sgTEArmorRicochet\022\030\n\003pos\030\001 \001(\0132\013.CMsgVec" + "tor\022\030\n\003dir\030\002 \001(\0132\013.CMsgVector\"\341\001\n\016CMsgTE" + "BaseBeam\022\022\n\nmodelindex\030\001 \001(\006\022\021\n\thaloinde" + "x\030\002 \001(\006\022\022\n\nstartframe\030\003 \001(\r\022\021\n\tframerate" + "\030\004 \001(\r\022\014\n\004life\030\005 \001(\002\022\r\n\005width\030\006 \001(\002\022\020\n\010e" + "ndwidth\030\007 \001(\002\022\022\n\nfadelength\030\010 \001(\r\022\021\n\tamp" + "litude\030\t \001(\002\022\r\n\005color\030\n \001(\007\022\r\n\005speed\030\013 \001" + "(\r\022\r\n\005flags\030\014 \001(\r\"\221\001\n\022CMsgTEBeamEntPoint" + "\022\035\n\004base\030\001 \001(\0132\017.CMsgTEBaseBeam\022\023\n\013start" + "entity\030\002 \001(\r\022\021\n\tendentity\030\003 \001(\r\022\032\n\005start" + "\030\004 \001(\0132\013.CMsgVector\022\030\n\003end\030\005 \001(\0132\013.CMsgV" + "ector\"W\n\016CMsgTEBeamEnts\022\035\n\004base\030\001 \001(\0132\017." + "CMsgTEBaseBeam\022\023\n\013startentity\030\002 \001(\r\022\021\n\te" + "ndentity\030\003 \001(\r\"g\n\020CMsgTEBeamPoints\022\035\n\004ba" + "se\030\001 \001(\0132\017.CMsgTEBaseBeam\022\032\n\005start\030\002 \001(\013" + "2\013.CMsgVector\022\030\n\003end\030\003 \001(\0132\013.CMsgVector\"" + "W\n\016CMsgTEBeamRing\022\035\n\004base\030\001 \001(\0132\017.CMsgTE" + "BaseBeam\022\023\n\013startentity\030\002 \001(\r\022\021\n\tendenti" + "ty\030\003 \001(\r\"s\n\rCMsgTEBubbles\022\031\n\004mins\030\001 \001(\0132" + "\013.CMsgVector\022\031\n\004maxs\030\002 \001(\0132\013.CMsgVector\022" + "\016\n\006height\030\003 \001(\002\022\r\n\005count\030\004 \001(\r\022\r\n\005speed\030" + "\005 \001(\002\"w\n\021CMsgTEBubbleTrail\022\031\n\004mins\030\001 \001(\013" + "2\013.CMsgVector\022\031\n\004maxs\030\002 \001(\0132\013.CMsgVector" + "\022\016\n\006waterz\030\003 \001(\002\022\r\n\005count\030\004 \001(\r\022\r\n\005speed" + "\030\005 \001(\002\"y\n\013CMsgTEDecal\022\033\n\006origin\030\001 \001(\0132\013." + "CMsgVector\022\032\n\005start\030\002 \001(\0132\013.CMsgVector\022\022" + "\n\006entity\030\003 \001(\005:\002-1\022\016\n\006hitbox\030\004 \001(\r\022\r\n\005in" + "dex\030\005 \001(\r\"\261\003\n\016CMsgEffectData\022\033\n\006origin\030\001" + " \001(\0132\013.CMsgVector\022\032\n\005start\030\002 \001(\0132\013.CMsgV" + "ector\022\033\n\006normal\030\003 \001(\0132\013.CMsgVector\022\033\n\006an" + "gles\030\004 \001(\0132\013.CMsgQAngle\022\030\n\006entity\030\005 \001(\007:" + "\01016777215\022\035\n\013otherentity\030\006 \001(\007:\01016777215" + "\022\r\n\005scale\030\007 \001(\002\022\021\n\tmagnitude\030\010 \001(\002\022\016\n\006ra" + "dius\030\t \001(\002\022\023\n\013surfaceprop\030\n \001(\007\022\023\n\013effec" + "tindex\030\013 \001(\006\022\022\n\ndamagetype\030\014 \001(\r\022\020\n\010mate" + "rial\030\r \001(\r\022\016\n\006hitbox\030\016 \001(\r\022\r\n\005color\030\017 \001(" + "\r\022\r\n\005flags\030\020 \001(\r\022\027\n\017attachmentindex\030\021 \001(" + "\005\022\022\n\neffectname\030\022 \001(\r\022\026\n\016attachmentname\030" + "\023 \001(\r\";\n\024CMsgTEEffectDispatch\022#\n\neffectd" + "ata\030\001 \001(\0132\017.CMsgEffectData\"[\n\022CMsgTEEner" + "gySplash\022\030\n\003pos\030\001 \001(\0132\013.CMsgVector\022\030\n\003di" + "r\030\002 \001(\0132\013.CMsgVector\022\021\n\texplosive\030\003 \001(\010\"" + "B\n\nCMsgTEFizz\022\022\n\006entity\030\001 \001(\005:\002-1\022\017\n\007den" + "sity\030\002 \001(\r\022\017\n\007current\030\003 \001(\005\"\371\001\n\024CMsgTESh" + "atterSurface\022\033\n\006origin\030\001 \001(\0132\013.CMsgVecto" + "r\022\033\n\006angles\030\002 \001(\0132\013.CMsgQAngle\022\032\n\005force\030" + "\003 \001(\0132\013.CMsgVector\022\035\n\010forcepos\030\004 \001(\0132\013.C" + "MsgVector\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002" + "\022\021\n\tshardsize\030\007 \001(\002\022\023\n\013surfacetype\030\010 \001(\r" + "\022\022\n\nfrontcolor\030\t \001(\007\022\021\n\tbackcolor\030\n \001(\007\"" + "`\n\020CMsgTEGlowSprite\022\033\n\006origin\030\001 \001(\0132\013.CM" + "sgVector\022\r\n\005scale\030\002 \001(\002\022\014\n\004life\030\003 \001(\002\022\022\n" + "\nbrightness\030\004 \001(\r\"V\n\014CMsgTEImpact\022\033\n\006ori" + "gin\030\001 \001(\0132\013.CMsgVector\022\033\n\006normal\030\002 \001(\0132\013" + ".CMsgVector\022\014\n\004type\030\003 \001(\r\"j\n\021CMsgTEMuzzl" + "eFlash\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector\022\033\n\006a" + "ngles\030\002 \001(\0132\013.CMsgQAngle\022\r\n\005scale\030\003 \001(\002\022" + "\014\n\004type\030\004 \001(\r\"o\n\021CMsgTEBloodStream\022\033\n\006or" + "igin\030\001 \001(\0132\013.CMsgVector\022\036\n\tdirection\030\002 \001" + "(\0132\013.CMsgVector\022\r\n\005color\030\003 \001(\007\022\016\n\006amount" + "\030\004 \001(\r\"\231\002\n\017CMsgTEExplosion\022\033\n\006origin\030\001 \001" + "(\0132\013.CMsgVector\022\r\n\005flags\030\003 \001(\r\022\033\n\006normal" + "\030\004 \001(\0132\013.CMsgVector\022\016\n\006radius\030\006 \001(\r\022\021\n\tm" + "agnitude\030\007 \001(\r\022\027\n\017affect_ragdolls\030\t \001(\010\022" + "\022\n\nsound_name\030\n \001(\t\022\026\n\016explosion_type\030\013 " + "\001(\r\022\025\n\rcreate_debris\030\014 \001(\010\022\"\n\rdebris_ori" + "gin\030\r \001(\0132\013.CMsgVector\022\032\n\022debris_surface" + "prop\030\016 \001(\007\"f\n\nCMsgTEDust\022\033\n\006origin\030\001 \001(\013" + "2\013.CMsgVector\022\014\n\004size\030\002 \001(\002\022\r\n\005speed\030\003 \001" + "(\002\022\036\n\tdirection\030\004 \001(\0132\013.CMsgVector\"B\n\021CM" + "sgTELargeFunnel\022\033\n\006origin\030\001 \001(\0132\013.CMsgVe" + "ctor\022\020\n\010reversed\030\002 \001(\r\"n\n\014CMsgTESparks\022\033" + "\n\006origin\030\001 \001(\0132\013.CMsgVector\022\021\n\tmagnitude" + "\030\002 \001(\r\022\016\n\006length\030\003 \001(\r\022\036\n\tdirection\030\004 \001(" + "\0132\013.CMsgVector\"\274\002\n\021CMsgTEPhysicsProp\022\033\n\006" + "origin\030\001 \001(\0132\013.CMsgVector\022\035\n\010velocity\030\002 " + "\001(\0132\013.CMsgVector\022\033\n\006angles\030\003 \001(\0132\013.CMsgQ" + "Angle\022\014\n\004skin\030\004 \001(\007\022\r\n\005flags\030\005 \001(\r\022\017\n\007ef" + "fects\030\006 \001(\r\022\r\n\005color\030\007 \001(\007\022\022\n\nmodelindex" + "\030\010 \001(\006\022#\n\033unused_breakmodelsnottomake\030\t " + "\001(\r\022\r\n\005scale\030\n \001(\002\022\033\n\006dmgpos\030\013 \001(\0132\013.CMs" + "gVector\022\033\n\006dmgdir\030\014 \001(\0132\013.CMsgVector\022\017\n\007" + "dmgtype\030\r \001(\005\"9\n\013CMsgTESmoke\022\033\n\006origin\030\001" + " \001(\0132\013.CMsgVector\022\r\n\005scale\030\002 \001(\002\"[\n\020CMsg" + "TEWorldDecal\022\033\n\006origin\030\001 \001(\0132\013.CMsgVecto" + "r\022\033\n\006normal\030\002 \001(\0132\013.CMsgVector\022\r\n\005index\030" + "\003 \001(\r*\370\003\n\016ETEProtobufIds\022\030\n\023TE_EffectDis" + "patchId\020\220\003\022\027\n\022TE_ArmorRicochetId\020\221\003\022\026\n\021T" + "E_BeamEntPointId\020\222\003\022\022\n\rTE_BeamEntsId\020\223\003\022" + "\024\n\017TE_BeamPointsId\020\224\003\022\022\n\rTE_BeamRingId\020\225" + "\003\022\021\n\014TE_BubblesId\020\230\003\022\025\n\020TE_BubbleTrailId" + "\020\231\003\022\017\n\nTE_DecalId\020\232\003\022\024\n\017TE_WorldDecalId\020" + "\233\003\022\026\n\021TE_EnergySplashId\020\234\003\022\016\n\tTE_FizzId\020" + "\235\003\022\030\n\023TE_ShatterSurfaceId\020\236\003\022\024\n\017TE_GlowS" + "priteId\020\237\003\022\020\n\013TE_ImpactId\020\240\003\022\025\n\020TE_Muzzl" + "eFlashId\020\241\003\022\025\n\020TE_BloodStreamId\020\242\003\022\023\n\016TE" + "_ExplosionId\020\243\003\022\016\n\tTE_DustId\020\244\003\022\025\n\020TE_La" + "rgeFunnelId\020\245\003\022\020\n\013TE_SparksId\020\246\003\022\025\n\020TE_P" + "hysicsPropId\020\247\003\022\017\n\nTE_SmokeId\020\252\003" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_te_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_te_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_te_2eproto = { + false, false, 3992, descriptor_table_protodef_te_2eproto, + "te.proto", + &descriptor_table_te_2eproto_once, descriptor_table_te_2eproto_deps, 1, 25, + schemas, file_default_instances, TableStruct_te_2eproto::offsets, + file_level_metadata_te_2eproto, file_level_enum_descriptors_te_2eproto, + file_level_service_descriptors_te_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_te_2eproto_getter() { + return &descriptor_table_te_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_te_2eproto(&descriptor_table_te_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETEProtobufIds_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_te_2eproto); + return file_level_enum_descriptors_te_2eproto[0]; +} +bool ETEProtobufIds_IsValid(int value) { + switch (value) { + case 400: + case 401: + case 402: + case 403: + case 404: + case 405: + case 408: + case 409: + case 410: + case 411: + case 412: + case 413: + case 414: + case 415: + case 416: + case 417: + case 418: + case 419: + case 420: + case 421: + case 422: + case 423: + case 426: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CMsgTEArmorRicochet::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& pos(const CMsgTEArmorRicochet* msg); + static void set_has_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& dir(const CMsgTEArmorRicochet* msg); + static void set_has_dir(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTEArmorRicochet::_Internal::pos(const CMsgTEArmorRicochet* msg) { + return *msg->_impl_.pos_; +} +const ::CMsgVector& +CMsgTEArmorRicochet::_Internal::dir(const CMsgTEArmorRicochet* msg) { + return *msg->_impl_.dir_; +} +void CMsgTEArmorRicochet::clear_pos() { + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEArmorRicochet::clear_dir() { + if (_impl_.dir_ != nullptr) _impl_.dir_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEArmorRicochet::CMsgTEArmorRicochet(::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:CMsgTEArmorRicochet) +} +CMsgTEArmorRicochet::CMsgTEArmorRicochet(const CMsgTEArmorRicochet& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEArmorRicochet* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.dir_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); + } + if (from._internal_has_dir()) { + _this->_impl_.dir_ = new ::CMsgVector(*from._impl_.dir_); + } + // @@protoc_insertion_point(copy_constructor:CMsgTEArmorRicochet) +} + +inline void CMsgTEArmorRicochet::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.dir_){nullptr} + }; +} + +CMsgTEArmorRicochet::~CMsgTEArmorRicochet() { + // @@protoc_insertion_point(destructor:CMsgTEArmorRicochet) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEArmorRicochet::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos_; + if (this != internal_default_instance()) delete _impl_.dir_; +} + +void CMsgTEArmorRicochet::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEArmorRicochet::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEArmorRicochet) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.dir_ != nullptr); + _impl_.dir_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEArmorRicochet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector pos = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector dir = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_dir(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEArmorRicochet::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEArmorRicochet) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector dir = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::dir(this), + _Internal::dir(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:CMsgTEArmorRicochet) + return target; +} + +size_t CMsgTEArmorRicochet::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEArmorRicochet) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // optional .CMsgVector dir = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dir_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEArmorRicochet::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEArmorRicochet::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEArmorRicochet::GetClassData() const { return &_class_data_; } + + +void CMsgTEArmorRicochet::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:CMsgTEArmorRicochet) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( + from._internal_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_dir()->::CMsgVector::MergeFrom( + from._internal_dir()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEArmorRicochet::CopyFrom(const CMsgTEArmorRicochet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEArmorRicochet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEArmorRicochet::IsInitialized() const { + return true; +} + +void CMsgTEArmorRicochet::InternalSwap(CMsgTEArmorRicochet* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEArmorRicochet, _impl_.dir_) + + sizeof(CMsgTEArmorRicochet::_impl_.dir_) + - PROTOBUF_FIELD_OFFSET(CMsgTEArmorRicochet, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEArmorRicochet::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[0]); +} + +// =================================================================== + +class CMsgTEBaseBeam::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_modelindex(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_haloindex(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_startframe(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_framerate(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_life(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_width(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_endwidth(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_fadelength(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_amplitude(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_speed(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } +}; + +CMsgTEBaseBeam::CMsgTEBaseBeam(::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:CMsgTEBaseBeam) +} +CMsgTEBaseBeam::CMsgTEBaseBeam(const CMsgTEBaseBeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBaseBeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.modelindex_){} + , decltype(_impl_.haloindex_){} + , decltype(_impl_.startframe_){} + , decltype(_impl_.framerate_){} + , decltype(_impl_.life_){} + , decltype(_impl_.width_){} + , decltype(_impl_.endwidth_){} + , decltype(_impl_.fadelength_){} + , decltype(_impl_.amplitude_){} + , decltype(_impl_.color_){} + , decltype(_impl_.speed_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.modelindex_, &from._impl_.modelindex_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.modelindex_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBaseBeam) +} + +inline void CMsgTEBaseBeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.modelindex_){uint64_t{0u}} + , decltype(_impl_.haloindex_){uint64_t{0u}} + , decltype(_impl_.startframe_){0u} + , decltype(_impl_.framerate_){0u} + , decltype(_impl_.life_){0} + , decltype(_impl_.width_){0} + , decltype(_impl_.endwidth_){0} + , decltype(_impl_.fadelength_){0u} + , decltype(_impl_.amplitude_){0} + , decltype(_impl_.color_){0u} + , decltype(_impl_.speed_){0u} + , decltype(_impl_.flags_){0u} + }; +} + +CMsgTEBaseBeam::~CMsgTEBaseBeam() { + // @@protoc_insertion_point(destructor:CMsgTEBaseBeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBaseBeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgTEBaseBeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBaseBeam::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBaseBeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.modelindex_, 0, static_cast( + reinterpret_cast(&_impl_.fadelength_) - + reinterpret_cast(&_impl_.modelindex_)) + sizeof(_impl_.fadelength_)); + } + if (cached_has_bits & 0x00000f00u) { + ::memset(&_impl_.amplitude_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.amplitude_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBaseBeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 modelindex = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_modelindex(&has_bits); + _impl_.modelindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional fixed64 haloindex = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { + _Internal::set_has_haloindex(&has_bits); + _impl_.haloindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 startframe = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_startframe(&has_bits); + _impl_.startframe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 framerate = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_framerate(&has_bits); + _impl_.framerate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float life = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_life(&has_bits); + _impl_.life_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float width = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_width(&has_bits); + _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float endwidth = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_endwidth(&has_bits); + _impl_.endwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 fadelength = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_fadelength(&has_bits); + _impl_.fadelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float amplitude = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_amplitude(&has_bits); + _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 speed = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_speed(&has_bits); + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBaseBeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBaseBeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 modelindex = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_modelindex(), target); + } + + // optional fixed64 haloindex = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_haloindex(), target); + } + + // optional uint32 startframe = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_startframe(), target); + } + + // optional uint32 framerate = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_framerate(), target); + } + + // optional float life = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_life(), target); + } + + // optional float width = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_width(), target); + } + + // optional float endwidth = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_endwidth(), target); + } + + // optional uint32 fadelength = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_fadelength(), target); + } + + // optional float amplitude = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_amplitude(), target); + } + + // optional fixed32 color = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_color(), target); + } + + // optional uint32 speed = 11; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_speed(), target); + } + + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), 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:CMsgTEBaseBeam) + return target; +} + +size_t CMsgTEBaseBeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBaseBeam) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional fixed64 modelindex = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional fixed64 haloindex = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 8; + } + + // optional uint32 startframe = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startframe()); + } + + // optional uint32 framerate = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_framerate()); + } + + // optional float life = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float width = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float endwidth = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 fadelength = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fadelength()); + } + + } + if (cached_has_bits & 0x00000f00u) { + // optional float amplitude = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional fixed32 color = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + // optional uint32 speed = 11; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_speed()); + } + + // optional uint32 flags = 12; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBaseBeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBaseBeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBaseBeam::GetClassData() const { return &_class_data_; } + + +void CMsgTEBaseBeam::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:CMsgTEBaseBeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.modelindex_ = from._impl_.modelindex_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.haloindex_ = from._impl_.haloindex_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.startframe_ = from._impl_.startframe_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.framerate_ = from._impl_.framerate_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.life_ = from._impl_.life_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.width_ = from._impl_.width_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.endwidth_ = from._impl_.endwidth_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.fadelength_ = from._impl_.fadelength_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.amplitude_ = from._impl_.amplitude_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.speed_ = from._impl_.speed_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBaseBeam::CopyFrom(const CMsgTEBaseBeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBaseBeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBaseBeam::IsInitialized() const { + return true; +} + +void CMsgTEBaseBeam::InternalSwap(CMsgTEBaseBeam* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBaseBeam, _impl_.flags_) + + sizeof(CMsgTEBaseBeam::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBaseBeam, _impl_.modelindex_)>( + reinterpret_cast(&_impl_.modelindex_), + reinterpret_cast(&other->_impl_.modelindex_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBaseBeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[1]); +} + +// =================================================================== + +class CMsgTEBeamEntPoint::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgTEBaseBeam& base(const CMsgTEBeamEntPoint* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_startentity(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_endentity(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgVector& start(const CMsgTEBeamEntPoint* msg); + static void set_has_start(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& end(const CMsgTEBeamEntPoint* msg); + static void set_has_end(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgTEBaseBeam& +CMsgTEBeamEntPoint::_Internal::base(const CMsgTEBeamEntPoint* msg) { + return *msg->_impl_.base_; +} +const ::CMsgVector& +CMsgTEBeamEntPoint::_Internal::start(const CMsgTEBeamEntPoint* msg) { + return *msg->_impl_.start_; +} +const ::CMsgVector& +CMsgTEBeamEntPoint::_Internal::end(const CMsgTEBeamEntPoint* msg) { + return *msg->_impl_.end_; +} +void CMsgTEBeamEntPoint::clear_start() { + if (_impl_.start_ != nullptr) _impl_.start_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEBeamEntPoint::clear_end() { + if (_impl_.end_ != nullptr) _impl_.end_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgTEBeamEntPoint::CMsgTEBeamEntPoint(::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:CMsgTEBeamEntPoint) +} +CMsgTEBeamEntPoint::CMsgTEBeamEntPoint(const CMsgTEBeamEntPoint& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBeamEntPoint* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.end_){nullptr} + , decltype(_impl_.startentity_){} + , decltype(_impl_.endentity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); + } + if (from._internal_has_start()) { + _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); + } + if (from._internal_has_end()) { + _this->_impl_.end_ = new ::CMsgVector(*from._impl_.end_); + } + ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, + static_cast(reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBeamEntPoint) +} + +inline void CMsgTEBeamEntPoint::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.end_){nullptr} + , decltype(_impl_.startentity_){0u} + , decltype(_impl_.endentity_){0u} + }; +} + +CMsgTEBeamEntPoint::~CMsgTEBeamEntPoint() { + // @@protoc_insertion_point(destructor:CMsgTEBeamEntPoint) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBeamEntPoint::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.base_; + if (this != internal_default_instance()) delete _impl_.start_; + if (this != internal_default_instance()) delete _impl_.end_; +} + +void CMsgTEBeamEntPoint::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBeamEntPoint::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBeamEntPoint) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.start_ != nullptr); + _impl_.start_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.end_ != nullptr); + _impl_.end_->Clear(); + } + } + if (cached_has_bits & 0x00000018u) { + ::memset(&_impl_.startentity_, 0, static_cast( + reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBeamEntPoint::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgTEBaseBeam base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 startentity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_startentity(&has_bits); + _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 endentity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_endentity(&has_bits); + _impl_.endentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector start = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector end = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_end(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBeamEntPoint::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamEntPoint) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(this).GetCachedSize(), target, stream); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), target); + } + + // optional .CMsgVector start = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::start(this), + _Internal::start(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector end = 5; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::end(this), + _Internal::end(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:CMsgTEBeamEntPoint) + return target; +} + +size_t CMsgTEBeamEntPoint::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamEntPoint) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + // optional .CMsgVector start = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.start_); + } + + // optional .CMsgVector end = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.end_); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamEntPoint::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBeamEntPoint::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamEntPoint::GetClassData() const { return &_class_data_; } + + +void CMsgTEBeamEntPoint::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:CMsgTEBeamEntPoint) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( + from._internal_base()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_start()->::CMsgVector::MergeFrom( + from._internal_start()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_end()->::CMsgVector::MergeFrom( + from._internal_end()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.startentity_ = from._impl_.startentity_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.endentity_ = from._impl_.endentity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBeamEntPoint::CopyFrom(const CMsgTEBeamEntPoint& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamEntPoint) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBeamEntPoint::IsInitialized() const { + return true; +} + +void CMsgTEBeamEntPoint::InternalSwap(CMsgTEBeamEntPoint* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBeamEntPoint, _impl_.endentity_) + + sizeof(CMsgTEBeamEntPoint::_impl_.endentity_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEntPoint, _impl_.base_)>( + reinterpret_cast(&_impl_.base_), + reinterpret_cast(&other->_impl_.base_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamEntPoint::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[2]); +} + +// =================================================================== + +class CMsgTEBeamEnts::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgTEBaseBeam& base(const CMsgTEBeamEnts* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_startentity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_endentity(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgTEBaseBeam& +CMsgTEBeamEnts::_Internal::base(const CMsgTEBeamEnts* msg) { + return *msg->_impl_.base_; +} +CMsgTEBeamEnts::CMsgTEBeamEnts(::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:CMsgTEBeamEnts) +} +CMsgTEBeamEnts::CMsgTEBeamEnts(const CMsgTEBeamEnts& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBeamEnts* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.startentity_){} + , decltype(_impl_.endentity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); + } + ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, + static_cast(reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBeamEnts) +} + +inline void CMsgTEBeamEnts::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.startentity_){0u} + , decltype(_impl_.endentity_){0u} + }; +} + +CMsgTEBeamEnts::~CMsgTEBeamEnts() { + // @@protoc_insertion_point(destructor:CMsgTEBeamEnts) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBeamEnts::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.base_; +} + +void CMsgTEBeamEnts::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBeamEnts::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBeamEnts) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.startentity_, 0, static_cast( + reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBeamEnts::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgTEBaseBeam base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 startentity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_startentity(&has_bits); + _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 endentity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_endentity(&has_bits); + _impl_.endentity_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBeamEnts::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamEnts) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(this).GetCachedSize(), target, stream); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), 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:CMsgTEBeamEnts) + return target; +} + +size_t CMsgTEBeamEnts::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamEnts) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamEnts::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBeamEnts::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamEnts::GetClassData() const { return &_class_data_; } + + +void CMsgTEBeamEnts::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:CMsgTEBeamEnts) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( + from._internal_base()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.startentity_ = from._impl_.startentity_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.endentity_ = from._impl_.endentity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBeamEnts::CopyFrom(const CMsgTEBeamEnts& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamEnts) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBeamEnts::IsInitialized() const { + return true; +} + +void CMsgTEBeamEnts::InternalSwap(CMsgTEBeamEnts* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBeamEnts, _impl_.endentity_) + + sizeof(CMsgTEBeamEnts::_impl_.endentity_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEnts, _impl_.base_)>( + reinterpret_cast(&_impl_.base_), + reinterpret_cast(&other->_impl_.base_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamEnts::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[3]); +} + +// =================================================================== + +class CMsgTEBeamPoints::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgTEBaseBeam& base(const CMsgTEBeamPoints* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& start(const CMsgTEBeamPoints* msg); + static void set_has_start(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& end(const CMsgTEBeamPoints* msg); + static void set_has_end(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgTEBaseBeam& +CMsgTEBeamPoints::_Internal::base(const CMsgTEBeamPoints* msg) { + return *msg->_impl_.base_; +} +const ::CMsgVector& +CMsgTEBeamPoints::_Internal::start(const CMsgTEBeamPoints* msg) { + return *msg->_impl_.start_; +} +const ::CMsgVector& +CMsgTEBeamPoints::_Internal::end(const CMsgTEBeamPoints* msg) { + return *msg->_impl_.end_; +} +void CMsgTEBeamPoints::clear_start() { + if (_impl_.start_ != nullptr) _impl_.start_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEBeamPoints::clear_end() { + if (_impl_.end_ != nullptr) _impl_.end_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CMsgTEBeamPoints::CMsgTEBeamPoints(::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:CMsgTEBeamPoints) +} +CMsgTEBeamPoints::CMsgTEBeamPoints(const CMsgTEBeamPoints& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBeamPoints* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.end_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); + } + if (from._internal_has_start()) { + _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); + } + if (from._internal_has_end()) { + _this->_impl_.end_ = new ::CMsgVector(*from._impl_.end_); + } + // @@protoc_insertion_point(copy_constructor:CMsgTEBeamPoints) +} + +inline void CMsgTEBeamPoints::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.end_){nullptr} + }; +} + +CMsgTEBeamPoints::~CMsgTEBeamPoints() { + // @@protoc_insertion_point(destructor:CMsgTEBeamPoints) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBeamPoints::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.base_; + if (this != internal_default_instance()) delete _impl_.start_; + if (this != internal_default_instance()) delete _impl_.end_; +} + +void CMsgTEBeamPoints::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBeamPoints::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBeamPoints) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.start_ != nullptr); + _impl_.start_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.end_ != nullptr); + _impl_.end_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBeamPoints::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgTEBaseBeam base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector start = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector end = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_end(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBeamPoints::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamPoints) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::start(this), + _Internal::start(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector end = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::end(this), + _Internal::end(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:CMsgTEBeamPoints) + return target; +} + +size_t CMsgTEBeamPoints::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamPoints) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.start_); + } + + // optional .CMsgVector end = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.end_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamPoints::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBeamPoints::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamPoints::GetClassData() const { return &_class_data_; } + + +void CMsgTEBeamPoints::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:CMsgTEBeamPoints) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( + from._internal_base()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_start()->::CMsgVector::MergeFrom( + from._internal_start()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_end()->::CMsgVector::MergeFrom( + from._internal_end()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBeamPoints::CopyFrom(const CMsgTEBeamPoints& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamPoints) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBeamPoints::IsInitialized() const { + return true; +} + +void CMsgTEBeamPoints::InternalSwap(CMsgTEBeamPoints* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBeamPoints, _impl_.end_) + + sizeof(CMsgTEBeamPoints::_impl_.end_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBeamPoints, _impl_.base_)>( + reinterpret_cast(&_impl_.base_), + reinterpret_cast(&other->_impl_.base_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamPoints::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[4]); +} + +// =================================================================== + +class CMsgTEBeamRing::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgTEBaseBeam& base(const CMsgTEBeamRing* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_startentity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_endentity(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgTEBaseBeam& +CMsgTEBeamRing::_Internal::base(const CMsgTEBeamRing* msg) { + return *msg->_impl_.base_; +} +CMsgTEBeamRing::CMsgTEBeamRing(::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:CMsgTEBeamRing) +} +CMsgTEBeamRing::CMsgTEBeamRing(const CMsgTEBeamRing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBeamRing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.startentity_){} + , decltype(_impl_.endentity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); + } + ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, + static_cast(reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBeamRing) +} + +inline void CMsgTEBeamRing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + , decltype(_impl_.startentity_){0u} + , decltype(_impl_.endentity_){0u} + }; +} + +CMsgTEBeamRing::~CMsgTEBeamRing() { + // @@protoc_insertion_point(destructor:CMsgTEBeamRing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBeamRing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.base_; +} + +void CMsgTEBeamRing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBeamRing::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBeamRing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.startentity_, 0, static_cast( + reinterpret_cast(&_impl_.endentity_) - + reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBeamRing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgTEBaseBeam base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 startentity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_startentity(&has_bits); + _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 endentity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_endentity(&has_bits); + _impl_.endentity_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBeamRing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamRing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(this).GetCachedSize(), target, stream); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), 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:CMsgTEBeamRing) + return target; +} + +size_t CMsgTEBeamRing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamRing) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgTEBaseBeam base = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + // optional uint32 startentity = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); + } + + // optional uint32 endentity = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamRing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBeamRing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamRing::GetClassData() const { return &_class_data_; } + + +void CMsgTEBeamRing::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:CMsgTEBeamRing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( + from._internal_base()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.startentity_ = from._impl_.startentity_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.endentity_ = from._impl_.endentity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBeamRing::CopyFrom(const CMsgTEBeamRing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamRing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBeamRing::IsInitialized() const { + return true; +} + +void CMsgTEBeamRing::InternalSwap(CMsgTEBeamRing* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBeamRing, _impl_.endentity_) + + sizeof(CMsgTEBeamRing::_impl_.endentity_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBeamRing, _impl_.base_)>( + reinterpret_cast(&_impl_.base_), + reinterpret_cast(&other->_impl_.base_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamRing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[5]); +} + +// =================================================================== + +class CMsgTEBubbles::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& mins(const CMsgTEBubbles* msg); + static void set_has_mins(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& maxs(const CMsgTEBubbles* msg); + static void set_has_maxs(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_height(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_speed(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgVector& +CMsgTEBubbles::_Internal::mins(const CMsgTEBubbles* msg) { + return *msg->_impl_.mins_; +} +const ::CMsgVector& +CMsgTEBubbles::_Internal::maxs(const CMsgTEBubbles* msg) { + return *msg->_impl_.maxs_; +} +void CMsgTEBubbles::clear_mins() { + if (_impl_.mins_ != nullptr) _impl_.mins_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEBubbles::clear_maxs() { + if (_impl_.maxs_ != nullptr) _impl_.maxs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEBubbles::CMsgTEBubbles(::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:CMsgTEBubbles) +} +CMsgTEBubbles::CMsgTEBubbles(const CMsgTEBubbles& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBubbles* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mins_){nullptr} + , decltype(_impl_.maxs_){nullptr} + , decltype(_impl_.height_){} + , decltype(_impl_.count_){} + , decltype(_impl_.speed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_mins()) { + _this->_impl_.mins_ = new ::CMsgVector(*from._impl_.mins_); + } + if (from._internal_has_maxs()) { + _this->_impl_.maxs_ = new ::CMsgVector(*from._impl_.maxs_); + } + ::memcpy(&_impl_.height_, &from._impl_.height_, + static_cast(reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.speed_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBubbles) +} + +inline void CMsgTEBubbles::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mins_){nullptr} + , decltype(_impl_.maxs_){nullptr} + , decltype(_impl_.height_){0} + , decltype(_impl_.count_){0u} + , decltype(_impl_.speed_){0} + }; +} + +CMsgTEBubbles::~CMsgTEBubbles() { + // @@protoc_insertion_point(destructor:CMsgTEBubbles) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBubbles::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.mins_; + if (this != internal_default_instance()) delete _impl_.maxs_; +} + +void CMsgTEBubbles::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBubbles::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBubbles) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.mins_ != nullptr); + _impl_.mins_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.maxs_ != nullptr); + _impl_.maxs_->Clear(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.height_, 0, static_cast( + reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.speed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBubbles::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector mins = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_mins(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector maxs = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_maxs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float height = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_height(&has_bits); + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float speed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_speed(&has_bits); + _impl_.speed_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBubbles::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBubbles) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector mins = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::mins(this), + _Internal::mins(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector maxs = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::maxs(this), + _Internal::maxs(this).GetCachedSize(), target, stream); + } + + // optional float height = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_height(), target); + } + + // optional uint32 count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_count(), target); + } + + // optional float speed = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_speed(), 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:CMsgTEBubbles) + return target; +} + +size_t CMsgTEBubbles::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBubbles) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector mins = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.mins_); + } + + // optional .CMsgVector maxs = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.maxs_); + } + + // optional float height = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); + } + + // optional float speed = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBubbles::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBubbles::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBubbles::GetClassData() const { return &_class_data_; } + + +void CMsgTEBubbles::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:CMsgTEBubbles) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_mins()->::CMsgVector::MergeFrom( + from._internal_mins()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_maxs()->::CMsgVector::MergeFrom( + from._internal_maxs()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.height_ = from._impl_.height_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.count_ = from._impl_.count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.speed_ = from._impl_.speed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBubbles::CopyFrom(const CMsgTEBubbles& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBubbles) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBubbles::IsInitialized() const { + return true; +} + +void CMsgTEBubbles::InternalSwap(CMsgTEBubbles* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBubbles, _impl_.speed_) + + sizeof(CMsgTEBubbles::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBubbles, _impl_.mins_)>( + reinterpret_cast(&_impl_.mins_), + reinterpret_cast(&other->_impl_.mins_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBubbles::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[6]); +} + +// =================================================================== + +class CMsgTEBubbleTrail::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& mins(const CMsgTEBubbleTrail* msg); + static void set_has_mins(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& maxs(const CMsgTEBubbleTrail* msg); + static void set_has_maxs(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_waterz(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_count(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_speed(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgVector& +CMsgTEBubbleTrail::_Internal::mins(const CMsgTEBubbleTrail* msg) { + return *msg->_impl_.mins_; +} +const ::CMsgVector& +CMsgTEBubbleTrail::_Internal::maxs(const CMsgTEBubbleTrail* msg) { + return *msg->_impl_.maxs_; +} +void CMsgTEBubbleTrail::clear_mins() { + if (_impl_.mins_ != nullptr) _impl_.mins_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEBubbleTrail::clear_maxs() { + if (_impl_.maxs_ != nullptr) _impl_.maxs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEBubbleTrail::CMsgTEBubbleTrail(::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:CMsgTEBubbleTrail) +} +CMsgTEBubbleTrail::CMsgTEBubbleTrail(const CMsgTEBubbleTrail& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBubbleTrail* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mins_){nullptr} + , decltype(_impl_.maxs_){nullptr} + , decltype(_impl_.waterz_){} + , decltype(_impl_.count_){} + , decltype(_impl_.speed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_mins()) { + _this->_impl_.mins_ = new ::CMsgVector(*from._impl_.mins_); + } + if (from._internal_has_maxs()) { + _this->_impl_.maxs_ = new ::CMsgVector(*from._impl_.maxs_); + } + ::memcpy(&_impl_.waterz_, &from._impl_.waterz_, + static_cast(reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.waterz_)) + sizeof(_impl_.speed_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBubbleTrail) +} + +inline void CMsgTEBubbleTrail::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.mins_){nullptr} + , decltype(_impl_.maxs_){nullptr} + , decltype(_impl_.waterz_){0} + , decltype(_impl_.count_){0u} + , decltype(_impl_.speed_){0} + }; +} + +CMsgTEBubbleTrail::~CMsgTEBubbleTrail() { + // @@protoc_insertion_point(destructor:CMsgTEBubbleTrail) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBubbleTrail::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.mins_; + if (this != internal_default_instance()) delete _impl_.maxs_; +} + +void CMsgTEBubbleTrail::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBubbleTrail::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBubbleTrail) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.mins_ != nullptr); + _impl_.mins_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.maxs_ != nullptr); + _impl_.maxs_->Clear(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.waterz_, 0, static_cast( + reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.waterz_)) + sizeof(_impl_.speed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBubbleTrail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector mins = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_mins(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector maxs = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_maxs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float waterz = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_waterz(&has_bits); + _impl_.waterz_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 count = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_count(&has_bits); + _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float speed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_speed(&has_bits); + _impl_.speed_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBubbleTrail::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBubbleTrail) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector mins = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::mins(this), + _Internal::mins(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector maxs = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::maxs(this), + _Internal::maxs(this).GetCachedSize(), target, stream); + } + + // optional float waterz = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_waterz(), target); + } + + // optional uint32 count = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_count(), target); + } + + // optional float speed = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_speed(), 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:CMsgTEBubbleTrail) + return target; +} + +size_t CMsgTEBubbleTrail::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBubbleTrail) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector mins = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.mins_); + } + + // optional .CMsgVector maxs = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.maxs_); + } + + // optional float waterz = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 count = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); + } + + // optional float speed = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBubbleTrail::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBubbleTrail::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBubbleTrail::GetClassData() const { return &_class_data_; } + + +void CMsgTEBubbleTrail::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:CMsgTEBubbleTrail) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_mins()->::CMsgVector::MergeFrom( + from._internal_mins()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_maxs()->::CMsgVector::MergeFrom( + from._internal_maxs()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.waterz_ = from._impl_.waterz_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.count_ = from._impl_.count_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.speed_ = from._impl_.speed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBubbleTrail::CopyFrom(const CMsgTEBubbleTrail& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBubbleTrail) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBubbleTrail::IsInitialized() const { + return true; +} + +void CMsgTEBubbleTrail::InternalSwap(CMsgTEBubbleTrail* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBubbleTrail, _impl_.speed_) + + sizeof(CMsgTEBubbleTrail::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBubbleTrail, _impl_.mins_)>( + reinterpret_cast(&_impl_.mins_), + reinterpret_cast(&other->_impl_.mins_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBubbleTrail::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[7]); +} + +// =================================================================== + +class CMsgTEDecal::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEDecal* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& start(const CMsgTEDecal* msg); + static void set_has_start(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entity(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_hitbox(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CMsgTEDecal::_Internal::origin(const CMsgTEDecal* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEDecal::_Internal::start(const CMsgTEDecal* msg) { + return *msg->_impl_.start_; +} +void CMsgTEDecal::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEDecal::clear_start() { + if (_impl_.start_ != nullptr) _impl_.start_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEDecal::CMsgTEDecal(::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:CMsgTEDecal) +} +CMsgTEDecal::CMsgTEDecal(const CMsgTEDecal& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEDecal* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.hitbox_){} + , decltype(_impl_.index_){} + , decltype(_impl_.entity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_start()) { + _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); + } + ::memcpy(&_impl_.hitbox_, &from._impl_.hitbox_, + static_cast(reinterpret_cast(&_impl_.entity_) - + reinterpret_cast(&_impl_.hitbox_)) + sizeof(_impl_.entity_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEDecal) +} + +inline void CMsgTEDecal::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.hitbox_){0u} + , decltype(_impl_.index_){0u} + , decltype(_impl_.entity_){-1} + }; +} + +CMsgTEDecal::~CMsgTEDecal() { + // @@protoc_insertion_point(destructor:CMsgTEDecal) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEDecal::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.start_; +} + +void CMsgTEDecal::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEDecal::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEDecal) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.start_ != nullptr); + _impl_.start_->Clear(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.hitbox_, 0, static_cast( + reinterpret_cast(&_impl_.index_) - + reinterpret_cast(&_impl_.hitbox_)) + sizeof(_impl_.index_)); + _impl_.entity_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector start = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entity = 3 [default = -1]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity(&has_bits); + _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hitbox = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_hitbox(&has_bits); + _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 index = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEDecal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEDecal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::start(this), + _Internal::start(this).GetCachedSize(), target, stream); + } + + // optional int32 entity = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entity(), target); + } + + // optional uint32 hitbox = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_hitbox(), target); + } + + // optional uint32 index = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_index(), 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:CMsgTEDecal) + return target; +} + +size_t CMsgTEDecal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEDecal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.start_); + } + + // optional uint32 hitbox = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); + } + + // optional uint32 index = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); + } + + // optional int32 entity = 3 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEDecal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEDecal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEDecal::GetClassData() const { return &_class_data_; } + + +void CMsgTEDecal::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:CMsgTEDecal) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_start()->::CMsgVector::MergeFrom( + from._internal_start()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hitbox_ = from._impl_.hitbox_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.entity_ = from._impl_.entity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEDecal::CopyFrom(const CMsgTEDecal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEDecal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEDecal::IsInitialized() const { + return true; +} + +void CMsgTEDecal::InternalSwap(CMsgTEDecal* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEDecal, _impl_.index_) + + sizeof(CMsgTEDecal::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(CMsgTEDecal, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); + swap(_impl_.entity_, other->_impl_.entity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEDecal::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[8]); +} + +// =================================================================== + +class CMsgEffectData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgEffectData* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& start(const CMsgEffectData* msg); + static void set_has_start(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& normal(const CMsgEffectData* msg); + static void set_has_normal(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgQAngle& angles(const CMsgEffectData* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_entity(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_otherentity(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_magnitude(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_radius(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_surfaceprop(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_effectindex(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_damagetype(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_material(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_hitbox(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_attachmentindex(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_effectname(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_attachmentname(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } +}; + +const ::CMsgVector& +CMsgEffectData::_Internal::origin(const CMsgEffectData* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgEffectData::_Internal::start(const CMsgEffectData* msg) { + return *msg->_impl_.start_; +} +const ::CMsgVector& +CMsgEffectData::_Internal::normal(const CMsgEffectData* msg) { + return *msg->_impl_.normal_; +} +const ::CMsgQAngle& +CMsgEffectData::_Internal::angles(const CMsgEffectData* msg) { + return *msg->_impl_.angles_; +} +void CMsgEffectData::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgEffectData::clear_start() { + if (_impl_.start_ != nullptr) _impl_.start_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgEffectData::clear_normal() { + if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgEffectData::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgEffectData::CMsgEffectData(::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:CMsgEffectData) +} +CMsgEffectData::CMsgEffectData(const CMsgEffectData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgEffectData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.scale_){} + , decltype(_impl_.magnitude_){} + , decltype(_impl_.radius_){} + , decltype(_impl_.surfaceprop_){} + , decltype(_impl_.effectindex_){} + , decltype(_impl_.damagetype_){} + , decltype(_impl_.material_){} + , decltype(_impl_.hitbox_){} + , decltype(_impl_.color_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.attachmentindex_){} + , decltype(_impl_.effectname_){} + , decltype(_impl_.attachmentname_){} + , decltype(_impl_.entity_){} + , decltype(_impl_.otherentity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_start()) { + _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); + } + if (from._internal_has_normal()) { + _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + ::memcpy(&_impl_.scale_, &from._impl_.scale_, + static_cast(reinterpret_cast(&_impl_.otherentity_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.otherentity_)); + // @@protoc_insertion_point(copy_constructor:CMsgEffectData) +} + +inline void CMsgEffectData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.start_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.scale_){0} + , decltype(_impl_.magnitude_){0} + , decltype(_impl_.radius_){0} + , decltype(_impl_.surfaceprop_){0u} + , decltype(_impl_.effectindex_){uint64_t{0u}} + , decltype(_impl_.damagetype_){0u} + , decltype(_impl_.material_){0u} + , decltype(_impl_.hitbox_){0u} + , decltype(_impl_.color_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.attachmentindex_){0} + , decltype(_impl_.effectname_){0u} + , decltype(_impl_.attachmentname_){0u} + , decltype(_impl_.entity_){16777215u} + , decltype(_impl_.otherentity_){16777215u} + }; +} + +CMsgEffectData::~CMsgEffectData() { + // @@protoc_insertion_point(destructor:CMsgEffectData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgEffectData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.start_; + if (this != internal_default_instance()) delete _impl_.normal_; + if (this != internal_default_instance()) delete _impl_.angles_; +} + +void CMsgEffectData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgEffectData::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgEffectData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.start_ != nullptr); + _impl_.start_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.normal_ != nullptr); + _impl_.normal_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.scale_, 0, static_cast( + reinterpret_cast(&_impl_.surfaceprop_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.surfaceprop_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.effectindex_, 0, static_cast( + reinterpret_cast(&_impl_.effectname_) - + reinterpret_cast(&_impl_.effectindex_)) + sizeof(_impl_.effectname_)); + } + if (cached_has_bits & 0x00070000u) { + _impl_.attachmentname_ = 0u; + _impl_.entity_ = 16777215u; + _impl_.otherentity_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgEffectData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector start = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector normal = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle 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; + // optional fixed32 entity = 5 [default = 16777215]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_entity(&has_bits); + _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 otherentity = 6 [default = 16777215]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_otherentity(&has_bits); + _impl_.otherentity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float scale = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float magnitude = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_magnitude(&has_bits); + _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float radius = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_radius(&has_bits); + _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed32 surfaceprop = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_surfaceprop(&has_bits); + _impl_.surfaceprop_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 effectindex = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { + _Internal::set_has_effectindex(&has_bits); + _impl_.effectindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 damagetype = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_damagetype(&has_bits); + _impl_.damagetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 material = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_material(&has_bits); + _impl_.material_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hitbox = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_hitbox(&has_bits); + _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 color = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attachmentindex = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_attachmentindex(&has_bits); + _impl_.attachmentindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 effectname = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_effectname(&has_bits); + _impl_.effectname_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 attachmentname = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_attachmentname(&has_bits); + _impl_.attachmentname_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgEffectData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgEffectData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::start(this), + _Internal::start(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector normal = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::normal(this), + _Internal::normal(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 4; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional fixed32 entity = 5 [default = 16777215]; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_entity(), target); + } + + // optional fixed32 otherentity = 6 [default = 16777215]; + if (cached_has_bits & 0x00040000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_otherentity(), target); + } + + // optional float scale = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_scale(), target); + } + + // optional float magnitude = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_magnitude(), target); + } + + // optional float radius = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_radius(), target); + } + + // optional fixed32 surfaceprop = 10; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_surfaceprop(), target); + } + + // optional fixed64 effectindex = 11; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_effectindex(), target); + } + + // optional uint32 damagetype = 12; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_damagetype(), target); + } + + // optional uint32 material = 13; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_material(), target); + } + + // optional uint32 hitbox = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_hitbox(), target); + } + + // optional uint32 color = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_color(), target); + } + + // optional uint32 flags = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_flags(), target); + } + + // optional int32 attachmentindex = 17; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_attachmentindex(), target); + } + + // optional uint32 effectname = 18; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_effectname(), target); + } + + // optional uint32 attachmentname = 19; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_attachmentname(), 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:CMsgEffectData) + return target; +} + +size_t CMsgEffectData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgEffectData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector start = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.start_); + } + + // optional .CMsgVector normal = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.normal_); + } + + // optional .CMsgQAngle angles = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional float scale = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float magnitude = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float radius = 9; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional fixed32 surfaceprop = 10; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional fixed64 effectindex = 11; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 8; + } + + // optional uint32 damagetype = 12; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_damagetype()); + } + + // optional uint32 material = 13; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_material()); + } + + // optional uint32 hitbox = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); + } + + // optional uint32 color = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_color()); + } + + // optional uint32 flags = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_flags()); + } + + // optional int32 attachmentindex = 17; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_attachmentindex()); + } + + // optional uint32 effectname = 18; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_effectname()); + } + + } + if (cached_has_bits & 0x00070000u) { + // optional uint32 attachmentname = 19; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_attachmentname()); + } + + // optional fixed32 entity = 5 [default = 16777215]; + if (cached_has_bits & 0x00020000u) { + total_size += 1 + 4; + } + + // optional fixed32 otherentity = 6 [default = 16777215]; + if (cached_has_bits & 0x00040000u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgEffectData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgEffectData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgEffectData::GetClassData() const { return &_class_data_; } + + +void CMsgEffectData::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:CMsgEffectData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_start()->::CMsgVector::MergeFrom( + from._internal_start()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( + from._internal_normal()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.magnitude_ = from._impl_.magnitude_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.radius_ = from._impl_.radius_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.surfaceprop_ = from._impl_.surfaceprop_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.effectindex_ = from._impl_.effectindex_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.damagetype_ = from._impl_.damagetype_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.material_ = from._impl_.material_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.hitbox_ = from._impl_.hitbox_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.attachmentindex_ = from._impl_.attachmentindex_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.effectname_ = from._impl_.effectname_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00070000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.attachmentname_ = from._impl_.attachmentname_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.entity_ = from._impl_.entity_; + } + if (cached_has_bits & 0x00040000u) { + _this->_impl_.otherentity_ = from._impl_.otherentity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgEffectData::CopyFrom(const CMsgEffectData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgEffectData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgEffectData::IsInitialized() const { + return true; +} + +void CMsgEffectData::InternalSwap(CMsgEffectData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgEffectData, _impl_.attachmentname_) + + sizeof(CMsgEffectData::_impl_.attachmentname_) + - PROTOBUF_FIELD_OFFSET(CMsgEffectData, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); + swap(_impl_.entity_, other->_impl_.entity_); + swap(_impl_.otherentity_, other->_impl_.otherentity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgEffectData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[9]); +} + +// =================================================================== + +class CMsgTEEffectDispatch::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgEffectData& effectdata(const CMsgTEEffectDispatch* msg); + static void set_has_effectdata(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgEffectData& +CMsgTEEffectDispatch::_Internal::effectdata(const CMsgTEEffectDispatch* msg) { + return *msg->_impl_.effectdata_; +} +CMsgTEEffectDispatch::CMsgTEEffectDispatch(::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:CMsgTEEffectDispatch) +} +CMsgTEEffectDispatch::CMsgTEEffectDispatch(const CMsgTEEffectDispatch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEEffectDispatch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.effectdata_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_effectdata()) { + _this->_impl_.effectdata_ = new ::CMsgEffectData(*from._impl_.effectdata_); + } + // @@protoc_insertion_point(copy_constructor:CMsgTEEffectDispatch) +} + +inline void CMsgTEEffectDispatch::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.effectdata_){nullptr} + }; +} + +CMsgTEEffectDispatch::~CMsgTEEffectDispatch() { + // @@protoc_insertion_point(destructor:CMsgTEEffectDispatch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEEffectDispatch::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.effectdata_; +} + +void CMsgTEEffectDispatch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEEffectDispatch::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEEffectDispatch) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.effectdata_ != nullptr); + _impl_.effectdata_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEEffectDispatch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgEffectData effectdata = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_effectdata(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEEffectDispatch::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEEffectDispatch) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgEffectData effectdata = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::effectdata(this), + _Internal::effectdata(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:CMsgTEEffectDispatch) + return target; +} + +size_t CMsgTEEffectDispatch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEEffectDispatch) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CMsgEffectData effectdata = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.effectdata_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEEffectDispatch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEEffectDispatch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEEffectDispatch::GetClassData() const { return &_class_data_; } + + +void CMsgTEEffectDispatch::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:CMsgTEEffectDispatch) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_effectdata()) { + _this->_internal_mutable_effectdata()->::CMsgEffectData::MergeFrom( + from._internal_effectdata()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEEffectDispatch::CopyFrom(const CMsgTEEffectDispatch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEEffectDispatch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEEffectDispatch::IsInitialized() const { + return true; +} + +void CMsgTEEffectDispatch::InternalSwap(CMsgTEEffectDispatch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.effectdata_, other->_impl_.effectdata_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEEffectDispatch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[10]); +} + +// =================================================================== + +class CMsgTEEnergySplash::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& pos(const CMsgTEEnergySplash* msg); + static void set_has_pos(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& dir(const CMsgTEEnergySplash* msg); + static void set_has_dir(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_explosive(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CMsgTEEnergySplash::_Internal::pos(const CMsgTEEnergySplash* msg) { + return *msg->_impl_.pos_; +} +const ::CMsgVector& +CMsgTEEnergySplash::_Internal::dir(const CMsgTEEnergySplash* msg) { + return *msg->_impl_.dir_; +} +void CMsgTEEnergySplash::clear_pos() { + if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEEnergySplash::clear_dir() { + if (_impl_.dir_ != nullptr) _impl_.dir_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEEnergySplash::CMsgTEEnergySplash(::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:CMsgTEEnergySplash) +} +CMsgTEEnergySplash::CMsgTEEnergySplash(const CMsgTEEnergySplash& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEEnergySplash* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.dir_){nullptr} + , decltype(_impl_.explosive_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); + } + if (from._internal_has_dir()) { + _this->_impl_.dir_ = new ::CMsgVector(*from._impl_.dir_); + } + _this->_impl_.explosive_ = from._impl_.explosive_; + // @@protoc_insertion_point(copy_constructor:CMsgTEEnergySplash) +} + +inline void CMsgTEEnergySplash::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.dir_){nullptr} + , decltype(_impl_.explosive_){false} + }; +} + +CMsgTEEnergySplash::~CMsgTEEnergySplash() { + // @@protoc_insertion_point(destructor:CMsgTEEnergySplash) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEEnergySplash::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos_; + if (this != internal_default_instance()) delete _impl_.dir_; +} + +void CMsgTEEnergySplash::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEEnergySplash::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEEnergySplash) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.pos_ != nullptr); + _impl_.pos_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.dir_ != nullptr); + _impl_.dir_->Clear(); + } + } + _impl_.explosive_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEEnergySplash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector pos = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector dir = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_dir(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool explosive = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_explosive(&has_bits); + _impl_.explosive_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEEnergySplash::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEEnergySplash) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector dir = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::dir(this), + _Internal::dir(this).GetCachedSize(), target, stream); + } + + // optional bool explosive = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_explosive(), 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:CMsgTEEnergySplash) + return target; +} + +size_t CMsgTEEnergySplash::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEEnergySplash) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector pos = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // optional .CMsgVector dir = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dir_); + } + + // optional bool explosive = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEEnergySplash::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEEnergySplash::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEEnergySplash::GetClassData() const { return &_class_data_; } + + +void CMsgTEEnergySplash::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:CMsgTEEnergySplash) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( + from._internal_pos()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_dir()->::CMsgVector::MergeFrom( + from._internal_dir()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.explosive_ = from._impl_.explosive_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEEnergySplash::CopyFrom(const CMsgTEEnergySplash& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEEnergySplash) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEEnergySplash::IsInitialized() const { + return true; +} + +void CMsgTEEnergySplash::InternalSwap(CMsgTEEnergySplash* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEEnergySplash, _impl_.explosive_) + + sizeof(CMsgTEEnergySplash::_impl_.explosive_) + - PROTOBUF_FIELD_OFFSET(CMsgTEEnergySplash, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEEnergySplash::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[11]); +} + +// =================================================================== + +class CMsgTEFizz::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_density(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_current(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CMsgTEFizz::CMsgTEFizz(::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:CMsgTEFizz) +} +CMsgTEFizz::CMsgTEFizz(const CMsgTEFizz& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEFizz* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.density_){} + , decltype(_impl_.current_){} + , decltype(_impl_.entity_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.density_, &from._impl_.density_, + static_cast(reinterpret_cast(&_impl_.entity_) - + reinterpret_cast(&_impl_.density_)) + sizeof(_impl_.entity_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEFizz) +} + +inline void CMsgTEFizz::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.density_){0u} + , decltype(_impl_.current_){0} + , decltype(_impl_.entity_){-1} + }; +} + +CMsgTEFizz::~CMsgTEFizz() { + // @@protoc_insertion_point(destructor:CMsgTEFizz) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEFizz::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CMsgTEFizz::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEFizz::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEFizz) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.density_, 0, static_cast( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.density_)) + sizeof(_impl_.current_)); + _impl_.entity_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEFizz::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entity = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity(&has_bits); + _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 density = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_density(&has_bits); + _impl_.density_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_current(&has_bits); + _impl_.current_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEFizz::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEFizz) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entity = 1 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity(), target); + } + + // optional uint32 density = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_density(), target); + } + + // optional int32 current = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_current(), 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:CMsgTEFizz) + return target; +} + +size_t CMsgTEFizz::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEFizz) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint32 density = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_density()); + } + + // optional int32 current = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_current()); + } + + // optional int32 entity = 1 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEFizz::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEFizz::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEFizz::GetClassData() const { return &_class_data_; } + + +void CMsgTEFizz::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:CMsgTEFizz) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.density_ = from._impl_.density_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.current_ = from._impl_.current_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.entity_ = from._impl_.entity_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEFizz::CopyFrom(const CMsgTEFizz& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEFizz) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEFizz::IsInitialized() const { + return true; +} + +void CMsgTEFizz::InternalSwap(CMsgTEFizz* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEFizz, _impl_.current_) + + sizeof(CMsgTEFizz::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(CMsgTEFizz, _impl_.density_)>( + reinterpret_cast(&_impl_.density_), + reinterpret_cast(&other->_impl_.density_)); + swap(_impl_.entity_, other->_impl_.entity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFizz::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[12]); +} + +// =================================================================== + +class CMsgTEShatterSurface::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEShatterSurface* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& angles(const CMsgTEShatterSurface* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& force(const CMsgTEShatterSurface* msg); + static void set_has_force(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& forcepos(const CMsgTEShatterSurface* msg); + static void set_has_forcepos(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_width(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_height(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_shardsize(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_surfacetype(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_frontcolor(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_backcolor(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +const ::CMsgVector& +CMsgTEShatterSurface::_Internal::origin(const CMsgTEShatterSurface* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgQAngle& +CMsgTEShatterSurface::_Internal::angles(const CMsgTEShatterSurface* msg) { + return *msg->_impl_.angles_; +} +const ::CMsgVector& +CMsgTEShatterSurface::_Internal::force(const CMsgTEShatterSurface* msg) { + return *msg->_impl_.force_; +} +const ::CMsgVector& +CMsgTEShatterSurface::_Internal::forcepos(const CMsgTEShatterSurface* msg) { + return *msg->_impl_.forcepos_; +} +void CMsgTEShatterSurface::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEShatterSurface::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEShatterSurface::clear_force() { + if (_impl_.force_ != nullptr) _impl_.force_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgTEShatterSurface::clear_forcepos() { + if (_impl_.forcepos_ != nullptr) _impl_.forcepos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgTEShatterSurface::CMsgTEShatterSurface(::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:CMsgTEShatterSurface) +} +CMsgTEShatterSurface::CMsgTEShatterSurface(const CMsgTEShatterSurface& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEShatterSurface* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.force_){nullptr} + , decltype(_impl_.forcepos_){nullptr} + , decltype(_impl_.width_){} + , decltype(_impl_.height_){} + , decltype(_impl_.shardsize_){} + , decltype(_impl_.surfacetype_){} + , decltype(_impl_.frontcolor_){} + , decltype(_impl_.backcolor_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + if (from._internal_has_force()) { + _this->_impl_.force_ = new ::CMsgVector(*from._impl_.force_); + } + if (from._internal_has_forcepos()) { + _this->_impl_.forcepos_ = new ::CMsgVector(*from._impl_.forcepos_); + } + ::memcpy(&_impl_.width_, &from._impl_.width_, + static_cast(reinterpret_cast(&_impl_.backcolor_) - + reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.backcolor_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEShatterSurface) +} + +inline void CMsgTEShatterSurface::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.force_){nullptr} + , decltype(_impl_.forcepos_){nullptr} + , decltype(_impl_.width_){0} + , decltype(_impl_.height_){0} + , decltype(_impl_.shardsize_){0} + , decltype(_impl_.surfacetype_){0u} + , decltype(_impl_.frontcolor_){0u} + , decltype(_impl_.backcolor_){0u} + }; +} + +CMsgTEShatterSurface::~CMsgTEShatterSurface() { + // @@protoc_insertion_point(destructor:CMsgTEShatterSurface) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEShatterSurface::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.angles_; + if (this != internal_default_instance()) delete _impl_.force_; + if (this != internal_default_instance()) delete _impl_.forcepos_; +} + +void CMsgTEShatterSurface::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEShatterSurface::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEShatterSurface) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.force_ != nullptr); + _impl_.force_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.forcepos_ != nullptr); + _impl_.forcepos_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.width_, 0, static_cast( + reinterpret_cast(&_impl_.surfacetype_) - + reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.surfacetype_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.frontcolor_, 0, static_cast( + reinterpret_cast(&_impl_.backcolor_) - + reinterpret_cast(&_impl_.frontcolor_)) + sizeof(_impl_.backcolor_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEShatterSurface::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector force = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_force(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector forcepos = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_forcepos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float width = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_width(&has_bits); + _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float height = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_height(&has_bits); + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float shardsize = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_shardsize(&has_bits); + _impl_.shardsize_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 surfacetype = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_surfacetype(&has_bits); + _impl_.surfacetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 frontcolor = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_frontcolor(&has_bits); + _impl_.frontcolor_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 backcolor = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_backcolor(&has_bits); + _impl_.backcolor_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEShatterSurface::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEShatterSurface) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector force = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::force(this), + _Internal::force(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector forcepos = 4; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::forcepos(this), + _Internal::forcepos(this).GetCachedSize(), target, stream); + } + + // optional float width = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_width(), target); + } + + // optional float height = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_height(), target); + } + + // optional float shardsize = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_shardsize(), target); + } + + // optional uint32 surfacetype = 8; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_surfacetype(), target); + } + + // optional fixed32 frontcolor = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_frontcolor(), target); + } + + // optional fixed32 backcolor = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_backcolor(), 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:CMsgTEShatterSurface) + return target; +} + +size_t CMsgTEShatterSurface::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEShatterSurface) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional .CMsgVector force = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.force_); + } + + // optional .CMsgVector forcepos = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.forcepos_); + } + + // optional float width = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float height = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float shardsize = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional uint32 surfacetype = 8; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_surfacetype()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional fixed32 frontcolor = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional fixed32 backcolor = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEShatterSurface::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEShatterSurface::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEShatterSurface::GetClassData() const { return &_class_data_; } + + +void CMsgTEShatterSurface::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:CMsgTEShatterSurface) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_force()->::CMsgVector::MergeFrom( + from._internal_force()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_forcepos()->::CMsgVector::MergeFrom( + from._internal_forcepos()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.width_ = from._impl_.width_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.height_ = from._impl_.height_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.shardsize_ = from._impl_.shardsize_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.surfacetype_ = from._impl_.surfacetype_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.frontcolor_ = from._impl_.frontcolor_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.backcolor_ = from._impl_.backcolor_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEShatterSurface::CopyFrom(const CMsgTEShatterSurface& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEShatterSurface) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEShatterSurface::IsInitialized() const { + return true; +} + +void CMsgTEShatterSurface::InternalSwap(CMsgTEShatterSurface* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEShatterSurface, _impl_.backcolor_) + + sizeof(CMsgTEShatterSurface::_impl_.backcolor_) + - PROTOBUF_FIELD_OFFSET(CMsgTEShatterSurface, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEShatterSurface::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[13]); +} + +// =================================================================== + +class CMsgTEGlowSprite::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEGlowSprite* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_life(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_brightness(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CMsgTEGlowSprite::_Internal::origin(const CMsgTEGlowSprite* msg) { + return *msg->_impl_.origin_; +} +void CMsgTEGlowSprite::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgTEGlowSprite::CMsgTEGlowSprite(::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:CMsgTEGlowSprite) +} +CMsgTEGlowSprite::CMsgTEGlowSprite(const CMsgTEGlowSprite& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEGlowSprite* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.scale_){} + , decltype(_impl_.life_){} + , decltype(_impl_.brightness_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + ::memcpy(&_impl_.scale_, &from._impl_.scale_, + static_cast(reinterpret_cast(&_impl_.brightness_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.brightness_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEGlowSprite) +} + +inline void CMsgTEGlowSprite::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.scale_){0} + , decltype(_impl_.life_){0} + , decltype(_impl_.brightness_){0u} + }; +} + +CMsgTEGlowSprite::~CMsgTEGlowSprite() { + // @@protoc_insertion_point(destructor:CMsgTEGlowSprite) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEGlowSprite::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; +} + +void CMsgTEGlowSprite::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEGlowSprite::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEGlowSprite) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.scale_, 0, static_cast( + reinterpret_cast(&_impl_.brightness_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.brightness_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEGlowSprite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float scale = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float life = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_life(&has_bits); + _impl_.life_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 brightness = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_brightness(&has_bits); + _impl_.brightness_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEGlowSprite::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEGlowSprite) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), target); + } + + // optional float life = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_life(), target); + } + + // optional uint32 brightness = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_brightness(), 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:CMsgTEGlowSprite) + return target; +} + +size_t CMsgTEGlowSprite::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEGlowSprite) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float life = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 brightness = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_brightness()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEGlowSprite::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEGlowSprite::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEGlowSprite::GetClassData() const { return &_class_data_; } + + +void CMsgTEGlowSprite::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:CMsgTEGlowSprite) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.life_ = from._impl_.life_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.brightness_ = from._impl_.brightness_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEGlowSprite::CopyFrom(const CMsgTEGlowSprite& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEGlowSprite) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEGlowSprite::IsInitialized() const { + return true; +} + +void CMsgTEGlowSprite::InternalSwap(CMsgTEGlowSprite* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEGlowSprite, _impl_.brightness_) + + sizeof(CMsgTEGlowSprite::_impl_.brightness_) + - PROTOBUF_FIELD_OFFSET(CMsgTEGlowSprite, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEGlowSprite::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[14]); +} + +// =================================================================== + +class CMsgTEImpact::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEImpact* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& normal(const CMsgTEImpact* msg); + static void set_has_normal(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CMsgTEImpact::_Internal::origin(const CMsgTEImpact* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEImpact::_Internal::normal(const CMsgTEImpact* msg) { + return *msg->_impl_.normal_; +} +void CMsgTEImpact::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEImpact::clear_normal() { + if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEImpact::CMsgTEImpact(::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:CMsgTEImpact) +} +CMsgTEImpact::CMsgTEImpact(const CMsgTEImpact& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEImpact* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_normal()) { + _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); + } + _this->_impl_.type_ = from._impl_.type_; + // @@protoc_insertion_point(copy_constructor:CMsgTEImpact) +} + +inline void CMsgTEImpact::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.type_){0u} + }; +} + +CMsgTEImpact::~CMsgTEImpact() { + // @@protoc_insertion_point(destructor:CMsgTEImpact) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEImpact::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.normal_; +} + +void CMsgTEImpact::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEImpact::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEImpact) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.normal_ != nullptr); + _impl_.normal_->Clear(); + } + } + _impl_.type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEImpact::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector normal = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEImpact::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEImpact) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::normal(this), + _Internal::normal(this).GetCachedSize(), target, stream); + } + + // optional uint32 type = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_type(), 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:CMsgTEImpact) + return target; +} + +size_t CMsgTEImpact::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEImpact) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.normal_); + } + + // optional uint32 type = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEImpact::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEImpact::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEImpact::GetClassData() const { return &_class_data_; } + + +void CMsgTEImpact::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:CMsgTEImpact) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( + from._internal_normal()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEImpact::CopyFrom(const CMsgTEImpact& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEImpact) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEImpact::IsInitialized() const { + return true; +} + +void CMsgTEImpact::InternalSwap(CMsgTEImpact* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEImpact, _impl_.type_) + + sizeof(CMsgTEImpact::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgTEImpact, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEImpact::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[15]); +} + +// =================================================================== + +class CMsgTEMuzzleFlash::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEMuzzleFlash* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& angles(const CMsgTEMuzzleFlash* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CMsgTEMuzzleFlash::_Internal::origin(const CMsgTEMuzzleFlash* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgQAngle& +CMsgTEMuzzleFlash::_Internal::angles(const CMsgTEMuzzleFlash* msg) { + return *msg->_impl_.angles_; +} +void CMsgTEMuzzleFlash::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEMuzzleFlash::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEMuzzleFlash::CMsgTEMuzzleFlash(::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:CMsgTEMuzzleFlash) +} +CMsgTEMuzzleFlash::CMsgTEMuzzleFlash(const CMsgTEMuzzleFlash& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEMuzzleFlash* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.scale_){} + , decltype(_impl_.type_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + ::memcpy(&_impl_.scale_, &from._impl_.scale_, + static_cast(reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.type_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEMuzzleFlash) +} + +inline void CMsgTEMuzzleFlash::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.scale_){0} + , decltype(_impl_.type_){0u} + }; +} + +CMsgTEMuzzleFlash::~CMsgTEMuzzleFlash() { + // @@protoc_insertion_point(destructor:CMsgTEMuzzleFlash) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEMuzzleFlash::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.angles_; +} + +void CMsgTEMuzzleFlash::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEMuzzleFlash::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEMuzzleFlash) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.scale_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.type_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEMuzzleFlash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float scale = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 type = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEMuzzleFlash::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEMuzzleFlash) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional float scale = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_scale(), target); + } + + // optional uint32 type = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_type(), 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:CMsgTEMuzzleFlash) + return target; +} + +size_t CMsgTEMuzzleFlash::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEMuzzleFlash) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional float scale = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 type = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEMuzzleFlash::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEMuzzleFlash::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEMuzzleFlash::GetClassData() const { return &_class_data_; } + + +void CMsgTEMuzzleFlash::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:CMsgTEMuzzleFlash) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEMuzzleFlash::CopyFrom(const CMsgTEMuzzleFlash& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEMuzzleFlash) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEMuzzleFlash::IsInitialized() const { + return true; +} + +void CMsgTEMuzzleFlash::InternalSwap(CMsgTEMuzzleFlash* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEMuzzleFlash, _impl_.type_) + + sizeof(CMsgTEMuzzleFlash::_impl_.type_) + - PROTOBUF_FIELD_OFFSET(CMsgTEMuzzleFlash, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEMuzzleFlash::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[16]); +} + +// =================================================================== + +class CMsgTEBloodStream::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEBloodStream* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& direction(const CMsgTEBloodStream* msg); + static void set_has_direction(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_amount(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CMsgTEBloodStream::_Internal::origin(const CMsgTEBloodStream* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEBloodStream::_Internal::direction(const CMsgTEBloodStream* msg) { + return *msg->_impl_.direction_; +} +void CMsgTEBloodStream::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEBloodStream::clear_direction() { + if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEBloodStream::CMsgTEBloodStream(::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:CMsgTEBloodStream) +} +CMsgTEBloodStream::CMsgTEBloodStream(const CMsgTEBloodStream& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEBloodStream* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.color_){} + , decltype(_impl_.amount_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_direction()) { + _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); + } + ::memcpy(&_impl_.color_, &from._impl_.color_, + static_cast(reinterpret_cast(&_impl_.amount_) - + reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.amount_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEBloodStream) +} + +inline void CMsgTEBloodStream::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.color_){0u} + , decltype(_impl_.amount_){0u} + }; +} + +CMsgTEBloodStream::~CMsgTEBloodStream() { + // @@protoc_insertion_point(destructor:CMsgTEBloodStream) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEBloodStream::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.direction_; +} + +void CMsgTEBloodStream::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEBloodStream::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEBloodStream) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.direction_ != nullptr); + _impl_.direction_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.color_, 0, static_cast( + reinterpret_cast(&_impl_.amount_) - + reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.amount_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEBloodStream::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector direction = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_direction(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 amount = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_amount(&has_bits); + _impl_.amount_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEBloodStream::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBloodStream) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector direction = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::direction(this), + _Internal::direction(this).GetCachedSize(), target, stream); + } + + // optional fixed32 color = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_color(), target); + } + + // optional uint32 amount = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_amount(), 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:CMsgTEBloodStream) + return target; +} + +size_t CMsgTEBloodStream::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEBloodStream) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector direction = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.direction_); + } + + // optional fixed32 color = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 amount = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_amount()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBloodStream::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEBloodStream::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBloodStream::GetClassData() const { return &_class_data_; } + + +void CMsgTEBloodStream::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:CMsgTEBloodStream) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( + from._internal_direction()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.amount_ = from._impl_.amount_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEBloodStream::CopyFrom(const CMsgTEBloodStream& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBloodStream) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEBloodStream::IsInitialized() const { + return true; +} + +void CMsgTEBloodStream::InternalSwap(CMsgTEBloodStream* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEBloodStream, _impl_.amount_) + + sizeof(CMsgTEBloodStream::_impl_.amount_) + - PROTOBUF_FIELD_OFFSET(CMsgTEBloodStream, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBloodStream::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[17]); +} + +// =================================================================== + +class CMsgTEExplosion::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEExplosion* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgVector& normal(const CMsgTEExplosion* msg); + static void set_has_normal(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_radius(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_magnitude(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_affect_ragdolls(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_sound_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_explosion_type(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_create_debris(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static const ::CMsgVector& debris_origin(const CMsgTEExplosion* msg); + static void set_has_debris_origin(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_debris_surfaceprop(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } +}; + +const ::CMsgVector& +CMsgTEExplosion::_Internal::origin(const CMsgTEExplosion* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEExplosion::_Internal::normal(const CMsgTEExplosion* msg) { + return *msg->_impl_.normal_; +} +const ::CMsgVector& +CMsgTEExplosion::_Internal::debris_origin(const CMsgTEExplosion* msg) { + return *msg->_impl_.debris_origin_; +} +void CMsgTEExplosion::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEExplosion::clear_normal() { + if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgTEExplosion::clear_debris_origin() { + if (_impl_.debris_origin_ != nullptr) _impl_.debris_origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CMsgTEExplosion::CMsgTEExplosion(::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:CMsgTEExplosion) +} +CMsgTEExplosion::CMsgTEExplosion(const CMsgTEExplosion& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEExplosion* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_name_){} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.debris_origin_){nullptr} + , decltype(_impl_.flags_){} + , decltype(_impl_.radius_){} + , decltype(_impl_.magnitude_){} + , decltype(_impl_.affect_ragdolls_){} + , decltype(_impl_.create_debris_){} + , decltype(_impl_.explosion_type_){} + , decltype(_impl_.debris_surfaceprop_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.sound_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sound_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_sound_name()) { + _this->_impl_.sound_name_.Set(from._internal_sound_name(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_normal()) { + _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); + } + if (from._internal_has_debris_origin()) { + _this->_impl_.debris_origin_ = new ::CMsgVector(*from._impl_.debris_origin_); + } + ::memcpy(&_impl_.flags_, &from._impl_.flags_, + static_cast(reinterpret_cast(&_impl_.debris_surfaceprop_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.debris_surfaceprop_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEExplosion) +} + +inline void CMsgTEExplosion::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.sound_name_){} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.debris_origin_){nullptr} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.radius_){0u} + , decltype(_impl_.magnitude_){0u} + , decltype(_impl_.affect_ragdolls_){false} + , decltype(_impl_.create_debris_){false} + , decltype(_impl_.explosion_type_){0u} + , decltype(_impl_.debris_surfaceprop_){0u} + }; + _impl_.sound_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.sound_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CMsgTEExplosion::~CMsgTEExplosion() { + // @@protoc_insertion_point(destructor:CMsgTEExplosion) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEExplosion::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.sound_name_.Destroy(); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.normal_; + if (this != internal_default_instance()) delete _impl_.debris_origin_; +} + +void CMsgTEExplosion::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEExplosion::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEExplosion) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.sound_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.normal_ != nullptr); + _impl_.normal_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.debris_origin_ != nullptr); + _impl_.debris_origin_->Clear(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.flags_, 0, static_cast( + reinterpret_cast(&_impl_.affect_ragdolls_) - + reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.affect_ragdolls_)); + } + if (cached_has_bits & 0x00000700u) { + ::memset(&_impl_.create_debris_, 0, static_cast( + reinterpret_cast(&_impl_.debris_surfaceprop_) - + reinterpret_cast(&_impl_.create_debris_)) + sizeof(_impl_.debris_surfaceprop_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEExplosion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector normal = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 radius = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_radius(&has_bits); + _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 magnitude = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_magnitude(&has_bits); + _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool affect_ragdolls = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_affect_ragdolls(&has_bits); + _impl_.affect_ragdolls_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string sound_name = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_sound_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CMsgTEExplosion.sound_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 explosion_type = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_explosion_type(&has_bits); + _impl_.explosion_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool create_debris = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_create_debris(&has_bits); + _impl_.create_debris_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector debris_origin = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_debris_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 debris_surfaceprop = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { + _Internal::set_has_debris_surfaceprop(&has_bits); + _impl_.debris_surfaceprop_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEExplosion::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEExplosion) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); + } + + // optional .CMsgVector normal = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::normal(this), + _Internal::normal(this).GetCachedSize(), target, stream); + } + + // optional uint32 radius = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_radius(), target); + } + + // optional uint32 magnitude = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_magnitude(), target); + } + + // optional bool affect_ragdolls = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_affect_ragdolls(), target); + } + + // optional string sound_name = 10; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_sound_name().data(), static_cast(this->_internal_sound_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CMsgTEExplosion.sound_name"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_sound_name(), target); + } + + // optional uint32 explosion_type = 11; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_explosion_type(), target); + } + + // optional bool create_debris = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_create_debris(), target); + } + + // optional .CMsgVector debris_origin = 13; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::debris_origin(this), + _Internal::debris_origin(this).GetCachedSize(), target, stream); + } + + // optional fixed32 debris_surfaceprop = 14; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_debris_surfaceprop(), 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:CMsgTEExplosion) + return target; +} + +size_t CMsgTEExplosion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEExplosion) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string sound_name = 10; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_sound_name()); + } + + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector normal = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.normal_); + } + + // optional .CMsgVector debris_origin = 13; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.debris_origin_); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 radius = 6; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_radius()); + } + + // optional uint32 magnitude = 7; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_magnitude()); + } + + // optional bool affect_ragdolls = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + if (cached_has_bits & 0x00000700u) { + // optional bool create_debris = 12; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional uint32 explosion_type = 11; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_explosion_type()); + } + + // optional fixed32 debris_surfaceprop = 14; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEExplosion::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEExplosion::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEExplosion::GetClassData() const { return &_class_data_; } + + +void CMsgTEExplosion::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:CMsgTEExplosion) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_sound_name(from._internal_sound_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( + from._internal_normal()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_debris_origin()->::CMsgVector::MergeFrom( + from._internal_debris_origin()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.radius_ = from._impl_.radius_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.magnitude_ = from._impl_.magnitude_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.affect_ragdolls_ = from._impl_.affect_ragdolls_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000700u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.create_debris_ = from._impl_.create_debris_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.explosion_type_ = from._impl_.explosion_type_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.debris_surfaceprop_ = from._impl_.debris_surfaceprop_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEExplosion::CopyFrom(const CMsgTEExplosion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEExplosion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEExplosion::IsInitialized() const { + return true; +} + +void CMsgTEExplosion::InternalSwap(CMsgTEExplosion* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.sound_name_, lhs_arena, + &other->_impl_.sound_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEExplosion, _impl_.debris_surfaceprop_) + + sizeof(CMsgTEExplosion::_impl_.debris_surfaceprop_) + - PROTOBUF_FIELD_OFFSET(CMsgTEExplosion, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEExplosion::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[18]); +} + +// =================================================================== + +class CMsgTEDust::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEDust* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_size(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_speed(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& direction(const CMsgTEDust* msg); + static void set_has_direction(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTEDust::_Internal::origin(const CMsgTEDust* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEDust::_Internal::direction(const CMsgTEDust* msg) { + return *msg->_impl_.direction_; +} +void CMsgTEDust::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEDust::clear_direction() { + if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEDust::CMsgTEDust(::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:CMsgTEDust) +} +CMsgTEDust::CMsgTEDust(const CMsgTEDust& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEDust* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.size_){} + , decltype(_impl_.speed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_direction()) { + _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); + } + ::memcpy(&_impl_.size_, &from._impl_.size_, + static_cast(reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.speed_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEDust) +} + +inline void CMsgTEDust::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.size_){0} + , decltype(_impl_.speed_){0} + }; +} + +CMsgTEDust::~CMsgTEDust() { + // @@protoc_insertion_point(destructor:CMsgTEDust) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEDust::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.direction_; +} + +void CMsgTEDust::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEDust::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEDust) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.direction_ != nullptr); + _impl_.direction_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.size_, 0, static_cast( + reinterpret_cast(&_impl_.speed_) - + reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.speed_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEDust::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float size = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_size(&has_bits); + _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float speed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_speed(&has_bits); + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CMsgVector direction = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_direction(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEDust::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEDust) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional float size = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_size(), target); + } + + // optional float speed = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); + } + + // optional .CMsgVector direction = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::direction(this), + _Internal::direction(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:CMsgTEDust) + return target; +} + +size_t CMsgTEDust::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEDust) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector direction = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.direction_); + } + + // optional float size = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float speed = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEDust::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEDust::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEDust::GetClassData() const { return &_class_data_; } + + +void CMsgTEDust::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:CMsgTEDust) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( + from._internal_direction()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.size_ = from._impl_.size_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.speed_ = from._impl_.speed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEDust::CopyFrom(const CMsgTEDust& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEDust) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEDust::IsInitialized() const { + return true; +} + +void CMsgTEDust::InternalSwap(CMsgTEDust* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEDust, _impl_.speed_) + + sizeof(CMsgTEDust::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(CMsgTEDust, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEDust::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[19]); +} + +// =================================================================== + +class CMsgTELargeFunnel::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTELargeFunnel* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reversed(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTELargeFunnel::_Internal::origin(const CMsgTELargeFunnel* msg) { + return *msg->_impl_.origin_; +} +void CMsgTELargeFunnel::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgTELargeFunnel::CMsgTELargeFunnel(::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:CMsgTELargeFunnel) +} +CMsgTELargeFunnel::CMsgTELargeFunnel(const CMsgTELargeFunnel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTELargeFunnel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.reversed_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + _this->_impl_.reversed_ = from._impl_.reversed_; + // @@protoc_insertion_point(copy_constructor:CMsgTELargeFunnel) +} + +inline void CMsgTELargeFunnel::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.reversed_){0u} + }; +} + +CMsgTELargeFunnel::~CMsgTELargeFunnel() { + // @@protoc_insertion_point(destructor:CMsgTELargeFunnel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTELargeFunnel::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; +} + +void CMsgTELargeFunnel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTELargeFunnel::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTELargeFunnel) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + _impl_.reversed_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTELargeFunnel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 reversed = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_reversed(&has_bits); + _impl_.reversed_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTELargeFunnel::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTELargeFunnel) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional uint32 reversed = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reversed(), 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:CMsgTELargeFunnel) + return target; +} + +size_t CMsgTELargeFunnel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTELargeFunnel) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional uint32 reversed = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reversed()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTELargeFunnel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTELargeFunnel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTELargeFunnel::GetClassData() const { return &_class_data_; } + + +void CMsgTELargeFunnel::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:CMsgTELargeFunnel) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.reversed_ = from._impl_.reversed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTELargeFunnel::CopyFrom(const CMsgTELargeFunnel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTELargeFunnel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTELargeFunnel::IsInitialized() const { + return true; +} + +void CMsgTELargeFunnel::InternalSwap(CMsgTELargeFunnel* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTELargeFunnel, _impl_.reversed_) + + sizeof(CMsgTELargeFunnel::_impl_.reversed_) + - PROTOBUF_FIELD_OFFSET(CMsgTELargeFunnel, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTELargeFunnel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[20]); +} + +// =================================================================== + +class CMsgTESparks::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTESparks* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_magnitude(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_length(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& direction(const CMsgTESparks* msg); + static void set_has_direction(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTESparks::_Internal::origin(const CMsgTESparks* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTESparks::_Internal::direction(const CMsgTESparks* msg) { + return *msg->_impl_.direction_; +} +void CMsgTESparks::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTESparks::clear_direction() { + if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTESparks::CMsgTESparks(::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:CMsgTESparks) +} +CMsgTESparks::CMsgTESparks(const CMsgTESparks& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTESparks* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.magnitude_){} + , decltype(_impl_.length_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_direction()) { + _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); + } + ::memcpy(&_impl_.magnitude_, &from._impl_.magnitude_, + static_cast(reinterpret_cast(&_impl_.length_) - + reinterpret_cast(&_impl_.magnitude_)) + sizeof(_impl_.length_)); + // @@protoc_insertion_point(copy_constructor:CMsgTESparks) +} + +inline void CMsgTESparks::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.direction_){nullptr} + , decltype(_impl_.magnitude_){0u} + , decltype(_impl_.length_){0u} + }; +} + +CMsgTESparks::~CMsgTESparks() { + // @@protoc_insertion_point(destructor:CMsgTESparks) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTESparks::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.direction_; +} + +void CMsgTESparks::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTESparks::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTESparks) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.direction_ != nullptr); + _impl_.direction_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.magnitude_, 0, static_cast( + reinterpret_cast(&_impl_.length_) - + reinterpret_cast(&_impl_.magnitude_)) + sizeof(_impl_.length_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTESparks::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 magnitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_magnitude(&has_bits); + _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 length = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_length(&has_bits); + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector direction = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_direction(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTESparks::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTESparks) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional uint32 magnitude = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_magnitude(), target); + } + + // optional uint32 length = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_length(), target); + } + + // optional .CMsgVector direction = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::direction(this), + _Internal::direction(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:CMsgTESparks) + return target; +} + +size_t CMsgTESparks::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTESparks) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector direction = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.direction_); + } + + // optional uint32 magnitude = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_magnitude()); + } + + // optional uint32 length = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTESparks::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTESparks::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTESparks::GetClassData() const { return &_class_data_; } + + +void CMsgTESparks::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:CMsgTESparks) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( + from._internal_direction()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.magnitude_ = from._impl_.magnitude_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.length_ = from._impl_.length_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTESparks::CopyFrom(const CMsgTESparks& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTESparks) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTESparks::IsInitialized() const { + return true; +} + +void CMsgTESparks::InternalSwap(CMsgTESparks* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTESparks, _impl_.length_) + + sizeof(CMsgTESparks::_impl_.length_) + - PROTOBUF_FIELD_OFFSET(CMsgTESparks, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTESparks::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[21]); +} + +// =================================================================== + +class CMsgTEPhysicsProp::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEPhysicsProp* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& velocity(const CMsgTEPhysicsProp* msg); + static void set_has_velocity(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& angles(const CMsgTEPhysicsProp* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_skin(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_effects(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_modelindex(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_unused_breakmodelsnottomake(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::CMsgVector& dmgpos(const CMsgTEPhysicsProp* msg); + static void set_has_dmgpos(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& dmgdir(const CMsgTEPhysicsProp* msg); + static void set_has_dmgdir(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_dmgtype(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +const ::CMsgVector& +CMsgTEPhysicsProp::_Internal::origin(const CMsgTEPhysicsProp* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEPhysicsProp::_Internal::velocity(const CMsgTEPhysicsProp* msg) { + return *msg->_impl_.velocity_; +} +const ::CMsgQAngle& +CMsgTEPhysicsProp::_Internal::angles(const CMsgTEPhysicsProp* msg) { + return *msg->_impl_.angles_; +} +const ::CMsgVector& +CMsgTEPhysicsProp::_Internal::dmgpos(const CMsgTEPhysicsProp* msg) { + return *msg->_impl_.dmgpos_; +} +const ::CMsgVector& +CMsgTEPhysicsProp::_Internal::dmgdir(const CMsgTEPhysicsProp* msg) { + return *msg->_impl_.dmgdir_; +} +void CMsgTEPhysicsProp::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEPhysicsProp::clear_velocity() { + if (_impl_.velocity_ != nullptr) _impl_.velocity_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CMsgTEPhysicsProp::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CMsgTEPhysicsProp::clear_dmgpos() { + if (_impl_.dmgpos_ != nullptr) _impl_.dmgpos_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void CMsgTEPhysicsProp::clear_dmgdir() { + if (_impl_.dmgdir_ != nullptr) _impl_.dmgdir_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +CMsgTEPhysicsProp::CMsgTEPhysicsProp(::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:CMsgTEPhysicsProp) +} +CMsgTEPhysicsProp::CMsgTEPhysicsProp(const CMsgTEPhysicsProp& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEPhysicsProp* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.velocity_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.dmgpos_){nullptr} + , decltype(_impl_.dmgdir_){nullptr} + , decltype(_impl_.skin_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.effects_){} + , decltype(_impl_.color_){} + , decltype(_impl_.modelindex_){} + , decltype(_impl_.unused_breakmodelsnottomake_){} + , decltype(_impl_.scale_){} + , decltype(_impl_.dmgtype_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_velocity()) { + _this->_impl_.velocity_ = new ::CMsgVector(*from._impl_.velocity_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + if (from._internal_has_dmgpos()) { + _this->_impl_.dmgpos_ = new ::CMsgVector(*from._impl_.dmgpos_); + } + if (from._internal_has_dmgdir()) { + _this->_impl_.dmgdir_ = new ::CMsgVector(*from._impl_.dmgdir_); + } + ::memcpy(&_impl_.skin_, &from._impl_.skin_, + static_cast(reinterpret_cast(&_impl_.dmgtype_) - + reinterpret_cast(&_impl_.skin_)) + sizeof(_impl_.dmgtype_)); + // @@protoc_insertion_point(copy_constructor:CMsgTEPhysicsProp) +} + +inline void CMsgTEPhysicsProp::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.velocity_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.dmgpos_){nullptr} + , decltype(_impl_.dmgdir_){nullptr} + , decltype(_impl_.skin_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.effects_){0u} + , decltype(_impl_.color_){0u} + , decltype(_impl_.modelindex_){uint64_t{0u}} + , decltype(_impl_.unused_breakmodelsnottomake_){0u} + , decltype(_impl_.scale_){0} + , decltype(_impl_.dmgtype_){0} + }; +} + +CMsgTEPhysicsProp::~CMsgTEPhysicsProp() { + // @@protoc_insertion_point(destructor:CMsgTEPhysicsProp) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEPhysicsProp::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.velocity_; + if (this != internal_default_instance()) delete _impl_.angles_; + if (this != internal_default_instance()) delete _impl_.dmgpos_; + if (this != internal_default_instance()) delete _impl_.dmgdir_; +} + +void CMsgTEPhysicsProp::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEPhysicsProp::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEPhysicsProp) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.velocity_ != nullptr); + _impl_.velocity_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.dmgpos_ != nullptr); + _impl_.dmgpos_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.dmgdir_ != nullptr); + _impl_.dmgdir_->Clear(); + } + } + if (cached_has_bits & 0x000000e0u) { + ::memset(&_impl_.skin_, 0, static_cast( + reinterpret_cast(&_impl_.effects_) - + reinterpret_cast(&_impl_.skin_)) + sizeof(_impl_.effects_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.color_, 0, static_cast( + reinterpret_cast(&_impl_.dmgtype_) - + reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.dmgtype_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEPhysicsProp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector velocity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_velocity(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 skin = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_skin(&has_bits); + _impl_.skin_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 effects = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_effects(&has_bits); + _impl_.effects_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed64 modelindex = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 65)) { + _Internal::set_has_modelindex(&has_bits); + _impl_.modelindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 unused_breakmodelsnottomake = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_unused_breakmodelsnottomake(&has_bits); + _impl_.unused_breakmodelsnottomake_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float scale = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CMsgVector dmgpos = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_dmgpos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector dmgdir = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_dmgdir(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 dmgtype = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_dmgtype(&has_bits); + _impl_.dmgtype_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEPhysicsProp::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEPhysicsProp) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector velocity = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::velocity(this), + _Internal::velocity(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angles = 3; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional fixed32 skin = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_skin(), target); + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); + } + + // optional uint32 effects = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_effects(), target); + } + + // optional fixed32 color = 7; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_color(), target); + } + + // optional fixed64 modelindex = 8; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(8, this->_internal_modelindex(), target); + } + + // optional uint32 unused_breakmodelsnottomake = 9; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_unused_breakmodelsnottomake(), target); + } + + // optional float scale = 10; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_scale(), target); + } + + // optional .CMsgVector dmgpos = 11; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::dmgpos(this), + _Internal::dmgpos(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector dmgdir = 12; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::dmgdir(this), + _Internal::dmgdir(this).GetCachedSize(), target, stream); + } + + // optional int32 dmgtype = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_dmgtype(), 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:CMsgTEPhysicsProp) + return target; +} + +size_t CMsgTEPhysicsProp::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEPhysicsProp) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector velocity = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.velocity_); + } + + // optional .CMsgQAngle angles = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional .CMsgVector dmgpos = 11; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dmgpos_); + } + + // optional .CMsgVector dmgdir = 12; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dmgdir_); + } + + // optional fixed32 skin = 4; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 flags = 5; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional uint32 effects = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effects()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional fixed32 color = 7; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 4; + } + + // optional fixed64 modelindex = 8; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 8; + } + + // optional uint32 unused_breakmodelsnottomake = 9; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_unused_breakmodelsnottomake()); + } + + // optional float scale = 10; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 4; + } + + // optional int32 dmgtype = 13; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dmgtype()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEPhysicsProp::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEPhysicsProp::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEPhysicsProp::GetClassData() const { return &_class_data_; } + + +void CMsgTEPhysicsProp::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:CMsgTEPhysicsProp) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_velocity()->::CMsgVector::MergeFrom( + from._internal_velocity()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_dmgpos()->::CMsgVector::MergeFrom( + from._internal_dmgpos()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_dmgdir()->::CMsgVector::MergeFrom( + from._internal_dmgdir()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.skin_ = from._impl_.skin_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.effects_ = from._impl_.effects_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.modelindex_ = from._impl_.modelindex_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.unused_breakmodelsnottomake_ = from._impl_.unused_breakmodelsnottomake_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.dmgtype_ = from._impl_.dmgtype_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEPhysicsProp::CopyFrom(const CMsgTEPhysicsProp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEPhysicsProp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEPhysicsProp::IsInitialized() const { + return true; +} + +void CMsgTEPhysicsProp::InternalSwap(CMsgTEPhysicsProp* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEPhysicsProp, _impl_.dmgtype_) + + sizeof(CMsgTEPhysicsProp::_impl_.dmgtype_) + - PROTOBUF_FIELD_OFFSET(CMsgTEPhysicsProp, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEPhysicsProp::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[22]); +} + +// =================================================================== + +class CMsgTESmoke::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTESmoke* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_scale(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CMsgTESmoke::_Internal::origin(const CMsgTESmoke* msg) { + return *msg->_impl_.origin_; +} +void CMsgTESmoke::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CMsgTESmoke::CMsgTESmoke(::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:CMsgTESmoke) +} +CMsgTESmoke::CMsgTESmoke(const CMsgTESmoke& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTESmoke* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.scale_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + _this->_impl_.scale_ = from._impl_.scale_; + // @@protoc_insertion_point(copy_constructor:CMsgTESmoke) +} + +inline void CMsgTESmoke::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.scale_){0} + }; +} + +CMsgTESmoke::~CMsgTESmoke() { + // @@protoc_insertion_point(destructor:CMsgTESmoke) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTESmoke::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; +} + +void CMsgTESmoke::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTESmoke::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTESmoke) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + _impl_.scale_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTESmoke::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float scale = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_scale(&has_bits); + _impl_.scale_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTESmoke::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTESmoke) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), 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:CMsgTESmoke) + return target; +} + +size_t CMsgTESmoke::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTESmoke) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional float scale = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTESmoke::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTESmoke::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTESmoke::GetClassData() const { return &_class_data_; } + + +void CMsgTESmoke::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:CMsgTESmoke) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.scale_ = from._impl_.scale_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTESmoke::CopyFrom(const CMsgTESmoke& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTESmoke) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTESmoke::IsInitialized() const { + return true; +} + +void CMsgTESmoke::InternalSwap(CMsgTESmoke* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTESmoke, _impl_.scale_) + + sizeof(CMsgTESmoke::_impl_.scale_) + - PROTOBUF_FIELD_OFFSET(CMsgTESmoke, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTESmoke::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[23]); +} + +// =================================================================== + +class CMsgTEWorldDecal::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CMsgTEWorldDecal* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& normal(const CMsgTEWorldDecal* msg); + static void set_has_normal(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CMsgTEWorldDecal::_Internal::origin(const CMsgTEWorldDecal* msg) { + return *msg->_impl_.origin_; +} +const ::CMsgVector& +CMsgTEWorldDecal::_Internal::normal(const CMsgTEWorldDecal* msg) { + return *msg->_impl_.normal_; +} +void CMsgTEWorldDecal::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CMsgTEWorldDecal::clear_normal() { + if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CMsgTEWorldDecal::CMsgTEWorldDecal(::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:CMsgTEWorldDecal) +} +CMsgTEWorldDecal::CMsgTEWorldDecal(const CMsgTEWorldDecal& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CMsgTEWorldDecal* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_normal()) { + _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); + } + _this->_impl_.index_ = from._impl_.index_; + // @@protoc_insertion_point(copy_constructor:CMsgTEWorldDecal) +} + +inline void CMsgTEWorldDecal::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.normal_){nullptr} + , decltype(_impl_.index_){0u} + }; +} + +CMsgTEWorldDecal::~CMsgTEWorldDecal() { + // @@protoc_insertion_point(destructor:CMsgTEWorldDecal) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CMsgTEWorldDecal::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.normal_; +} + +void CMsgTEWorldDecal::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CMsgTEWorldDecal::Clear() { +// @@protoc_insertion_point(message_clear_start:CMsgTEWorldDecal) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.normal_ != nullptr); + _impl_.normal_->Clear(); + } + } + _impl_.index_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CMsgTEWorldDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector normal = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CMsgTEWorldDecal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgTEWorldDecal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::normal(this), + _Internal::normal(this).GetCachedSize(), target, stream); + } + + // optional uint32 index = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_index(), 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:CMsgTEWorldDecal) + return target; +} + +size_t CMsgTEWorldDecal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CMsgTEWorldDecal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CMsgVector normal = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.normal_); + } + + // optional uint32 index = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEWorldDecal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CMsgTEWorldDecal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEWorldDecal::GetClassData() const { return &_class_data_; } + + +void CMsgTEWorldDecal::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:CMsgTEWorldDecal) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( + from._internal_normal()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.index_ = from._impl_.index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CMsgTEWorldDecal::CopyFrom(const CMsgTEWorldDecal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEWorldDecal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgTEWorldDecal::IsInitialized() const { + return true; +} + +void CMsgTEWorldDecal::InternalSwap(CMsgTEWorldDecal* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CMsgTEWorldDecal, _impl_.index_) + + sizeof(CMsgTEWorldDecal::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(CMsgTEWorldDecal, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEWorldDecal::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, + file_level_metadata_te_2eproto[24]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CMsgTEArmorRicochet* +Arena::CreateMaybeMessage< ::CMsgTEArmorRicochet >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEArmorRicochet >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBaseBeam* +Arena::CreateMaybeMessage< ::CMsgTEBaseBeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBaseBeam >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBeamEntPoint* +Arena::CreateMaybeMessage< ::CMsgTEBeamEntPoint >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBeamEntPoint >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBeamEnts* +Arena::CreateMaybeMessage< ::CMsgTEBeamEnts >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBeamEnts >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBeamPoints* +Arena::CreateMaybeMessage< ::CMsgTEBeamPoints >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBeamPoints >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBeamRing* +Arena::CreateMaybeMessage< ::CMsgTEBeamRing >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBeamRing >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBubbles* +Arena::CreateMaybeMessage< ::CMsgTEBubbles >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBubbles >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBubbleTrail* +Arena::CreateMaybeMessage< ::CMsgTEBubbleTrail >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBubbleTrail >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEDecal* +Arena::CreateMaybeMessage< ::CMsgTEDecal >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEDecal >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgEffectData* +Arena::CreateMaybeMessage< ::CMsgEffectData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgEffectData >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEEffectDispatch* +Arena::CreateMaybeMessage< ::CMsgTEEffectDispatch >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEEffectDispatch >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEEnergySplash* +Arena::CreateMaybeMessage< ::CMsgTEEnergySplash >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEEnergySplash >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEFizz* +Arena::CreateMaybeMessage< ::CMsgTEFizz >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEFizz >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEShatterSurface* +Arena::CreateMaybeMessage< ::CMsgTEShatterSurface >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEShatterSurface >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEGlowSprite* +Arena::CreateMaybeMessage< ::CMsgTEGlowSprite >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEGlowSprite >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEImpact* +Arena::CreateMaybeMessage< ::CMsgTEImpact >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEImpact >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEMuzzleFlash* +Arena::CreateMaybeMessage< ::CMsgTEMuzzleFlash >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEMuzzleFlash >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEBloodStream* +Arena::CreateMaybeMessage< ::CMsgTEBloodStream >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEBloodStream >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEExplosion* +Arena::CreateMaybeMessage< ::CMsgTEExplosion >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEExplosion >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEDust* +Arena::CreateMaybeMessage< ::CMsgTEDust >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEDust >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTELargeFunnel* +Arena::CreateMaybeMessage< ::CMsgTELargeFunnel >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTELargeFunnel >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTESparks* +Arena::CreateMaybeMessage< ::CMsgTESparks >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTESparks >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEPhysicsProp* +Arena::CreateMaybeMessage< ::CMsgTEPhysicsProp >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEPhysicsProp >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTESmoke* +Arena::CreateMaybeMessage< ::CMsgTESmoke >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTESmoke >(arena); +} +template<> PROTOBUF_NOINLINE ::CMsgTEWorldDecal* +Arena::CreateMaybeMessage< ::CMsgTEWorldDecal >(Arena* arena) { + return Arena::CreateMessageInternal< ::CMsgTEWorldDecal >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.h new file mode 100644 index 0000000..59194db --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/te.pb.h @@ -0,0 +1,12975 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: te.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_te_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_te_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_te_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_te_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_te_2eproto; +class CMsgEffectData; +struct CMsgEffectDataDefaultTypeInternal; +extern CMsgEffectDataDefaultTypeInternal _CMsgEffectData_default_instance_; +class CMsgTEArmorRicochet; +struct CMsgTEArmorRicochetDefaultTypeInternal; +extern CMsgTEArmorRicochetDefaultTypeInternal _CMsgTEArmorRicochet_default_instance_; +class CMsgTEBaseBeam; +struct CMsgTEBaseBeamDefaultTypeInternal; +extern CMsgTEBaseBeamDefaultTypeInternal _CMsgTEBaseBeam_default_instance_; +class CMsgTEBeamEntPoint; +struct CMsgTEBeamEntPointDefaultTypeInternal; +extern CMsgTEBeamEntPointDefaultTypeInternal _CMsgTEBeamEntPoint_default_instance_; +class CMsgTEBeamEnts; +struct CMsgTEBeamEntsDefaultTypeInternal; +extern CMsgTEBeamEntsDefaultTypeInternal _CMsgTEBeamEnts_default_instance_; +class CMsgTEBeamPoints; +struct CMsgTEBeamPointsDefaultTypeInternal; +extern CMsgTEBeamPointsDefaultTypeInternal _CMsgTEBeamPoints_default_instance_; +class CMsgTEBeamRing; +struct CMsgTEBeamRingDefaultTypeInternal; +extern CMsgTEBeamRingDefaultTypeInternal _CMsgTEBeamRing_default_instance_; +class CMsgTEBloodStream; +struct CMsgTEBloodStreamDefaultTypeInternal; +extern CMsgTEBloodStreamDefaultTypeInternal _CMsgTEBloodStream_default_instance_; +class CMsgTEBubbleTrail; +struct CMsgTEBubbleTrailDefaultTypeInternal; +extern CMsgTEBubbleTrailDefaultTypeInternal _CMsgTEBubbleTrail_default_instance_; +class CMsgTEBubbles; +struct CMsgTEBubblesDefaultTypeInternal; +extern CMsgTEBubblesDefaultTypeInternal _CMsgTEBubbles_default_instance_; +class CMsgTEDecal; +struct CMsgTEDecalDefaultTypeInternal; +extern CMsgTEDecalDefaultTypeInternal _CMsgTEDecal_default_instance_; +class CMsgTEDust; +struct CMsgTEDustDefaultTypeInternal; +extern CMsgTEDustDefaultTypeInternal _CMsgTEDust_default_instance_; +class CMsgTEEffectDispatch; +struct CMsgTEEffectDispatchDefaultTypeInternal; +extern CMsgTEEffectDispatchDefaultTypeInternal _CMsgTEEffectDispatch_default_instance_; +class CMsgTEEnergySplash; +struct CMsgTEEnergySplashDefaultTypeInternal; +extern CMsgTEEnergySplashDefaultTypeInternal _CMsgTEEnergySplash_default_instance_; +class CMsgTEExplosion; +struct CMsgTEExplosionDefaultTypeInternal; +extern CMsgTEExplosionDefaultTypeInternal _CMsgTEExplosion_default_instance_; +class CMsgTEFizz; +struct CMsgTEFizzDefaultTypeInternal; +extern CMsgTEFizzDefaultTypeInternal _CMsgTEFizz_default_instance_; +class CMsgTEGlowSprite; +struct CMsgTEGlowSpriteDefaultTypeInternal; +extern CMsgTEGlowSpriteDefaultTypeInternal _CMsgTEGlowSprite_default_instance_; +class CMsgTEImpact; +struct CMsgTEImpactDefaultTypeInternal; +extern CMsgTEImpactDefaultTypeInternal _CMsgTEImpact_default_instance_; +class CMsgTELargeFunnel; +struct CMsgTELargeFunnelDefaultTypeInternal; +extern CMsgTELargeFunnelDefaultTypeInternal _CMsgTELargeFunnel_default_instance_; +class CMsgTEMuzzleFlash; +struct CMsgTEMuzzleFlashDefaultTypeInternal; +extern CMsgTEMuzzleFlashDefaultTypeInternal _CMsgTEMuzzleFlash_default_instance_; +class CMsgTEPhysicsProp; +struct CMsgTEPhysicsPropDefaultTypeInternal; +extern CMsgTEPhysicsPropDefaultTypeInternal _CMsgTEPhysicsProp_default_instance_; +class CMsgTEShatterSurface; +struct CMsgTEShatterSurfaceDefaultTypeInternal; +extern CMsgTEShatterSurfaceDefaultTypeInternal _CMsgTEShatterSurface_default_instance_; +class CMsgTESmoke; +struct CMsgTESmokeDefaultTypeInternal; +extern CMsgTESmokeDefaultTypeInternal _CMsgTESmoke_default_instance_; +class CMsgTESparks; +struct CMsgTESparksDefaultTypeInternal; +extern CMsgTESparksDefaultTypeInternal _CMsgTESparks_default_instance_; +class CMsgTEWorldDecal; +struct CMsgTEWorldDecalDefaultTypeInternal; +extern CMsgTEWorldDecalDefaultTypeInternal _CMsgTEWorldDecal_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CMsgEffectData* Arena::CreateMaybeMessage<::CMsgEffectData>(Arena*); +template<> ::CMsgTEArmorRicochet* Arena::CreateMaybeMessage<::CMsgTEArmorRicochet>(Arena*); +template<> ::CMsgTEBaseBeam* Arena::CreateMaybeMessage<::CMsgTEBaseBeam>(Arena*); +template<> ::CMsgTEBeamEntPoint* Arena::CreateMaybeMessage<::CMsgTEBeamEntPoint>(Arena*); +template<> ::CMsgTEBeamEnts* Arena::CreateMaybeMessage<::CMsgTEBeamEnts>(Arena*); +template<> ::CMsgTEBeamPoints* Arena::CreateMaybeMessage<::CMsgTEBeamPoints>(Arena*); +template<> ::CMsgTEBeamRing* Arena::CreateMaybeMessage<::CMsgTEBeamRing>(Arena*); +template<> ::CMsgTEBloodStream* Arena::CreateMaybeMessage<::CMsgTEBloodStream>(Arena*); +template<> ::CMsgTEBubbleTrail* Arena::CreateMaybeMessage<::CMsgTEBubbleTrail>(Arena*); +template<> ::CMsgTEBubbles* Arena::CreateMaybeMessage<::CMsgTEBubbles>(Arena*); +template<> ::CMsgTEDecal* Arena::CreateMaybeMessage<::CMsgTEDecal>(Arena*); +template<> ::CMsgTEDust* Arena::CreateMaybeMessage<::CMsgTEDust>(Arena*); +template<> ::CMsgTEEffectDispatch* Arena::CreateMaybeMessage<::CMsgTEEffectDispatch>(Arena*); +template<> ::CMsgTEEnergySplash* Arena::CreateMaybeMessage<::CMsgTEEnergySplash>(Arena*); +template<> ::CMsgTEExplosion* Arena::CreateMaybeMessage<::CMsgTEExplosion>(Arena*); +template<> ::CMsgTEFizz* Arena::CreateMaybeMessage<::CMsgTEFizz>(Arena*); +template<> ::CMsgTEGlowSprite* Arena::CreateMaybeMessage<::CMsgTEGlowSprite>(Arena*); +template<> ::CMsgTEImpact* Arena::CreateMaybeMessage<::CMsgTEImpact>(Arena*); +template<> ::CMsgTELargeFunnel* Arena::CreateMaybeMessage<::CMsgTELargeFunnel>(Arena*); +template<> ::CMsgTEMuzzleFlash* Arena::CreateMaybeMessage<::CMsgTEMuzzleFlash>(Arena*); +template<> ::CMsgTEPhysicsProp* Arena::CreateMaybeMessage<::CMsgTEPhysicsProp>(Arena*); +template<> ::CMsgTEShatterSurface* Arena::CreateMaybeMessage<::CMsgTEShatterSurface>(Arena*); +template<> ::CMsgTESmoke* Arena::CreateMaybeMessage<::CMsgTESmoke>(Arena*); +template<> ::CMsgTESparks* Arena::CreateMaybeMessage<::CMsgTESparks>(Arena*); +template<> ::CMsgTEWorldDecal* Arena::CreateMaybeMessage<::CMsgTEWorldDecal>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum ETEProtobufIds : int { + TE_EffectDispatchId = 400, + TE_ArmorRicochetId = 401, + TE_BeamEntPointId = 402, + TE_BeamEntsId = 403, + TE_BeamPointsId = 404, + TE_BeamRingId = 405, + TE_BubblesId = 408, + TE_BubbleTrailId = 409, + TE_DecalId = 410, + TE_WorldDecalId = 411, + TE_EnergySplashId = 412, + TE_FizzId = 413, + TE_ShatterSurfaceId = 414, + TE_GlowSpriteId = 415, + TE_ImpactId = 416, + TE_MuzzleFlashId = 417, + TE_BloodStreamId = 418, + TE_ExplosionId = 419, + TE_DustId = 420, + TE_LargeFunnelId = 421, + TE_SparksId = 422, + TE_PhysicsPropId = 423, + TE_SmokeId = 426 +}; +bool ETEProtobufIds_IsValid(int value); +constexpr ETEProtobufIds ETEProtobufIds_MIN = TE_EffectDispatchId; +constexpr ETEProtobufIds ETEProtobufIds_MAX = TE_SmokeId; +constexpr int ETEProtobufIds_ARRAYSIZE = ETEProtobufIds_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETEProtobufIds_descriptor(); +template +inline const std::string& ETEProtobufIds_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ETEProtobufIds_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + ETEProtobufIds_descriptor(), enum_t_value); +} +inline bool ETEProtobufIds_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ETEProtobufIds* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ETEProtobufIds_descriptor(), name, value); +} +// =================================================================== + +class CMsgTEArmorRicochet final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEArmorRicochet) */ { + public: + inline CMsgTEArmorRicochet() : CMsgTEArmorRicochet(nullptr) {} + ~CMsgTEArmorRicochet() override; + explicit PROTOBUF_CONSTEXPR CMsgTEArmorRicochet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEArmorRicochet(const CMsgTEArmorRicochet& from); + CMsgTEArmorRicochet(CMsgTEArmorRicochet&& from) noexcept + : CMsgTEArmorRicochet() { + *this = ::std::move(from); + } + + inline CMsgTEArmorRicochet& operator=(const CMsgTEArmorRicochet& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEArmorRicochet& operator=(CMsgTEArmorRicochet&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEArmorRicochet& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEArmorRicochet* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEArmorRicochet_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CMsgTEArmorRicochet& a, CMsgTEArmorRicochet& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEArmorRicochet* 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(CMsgTEArmorRicochet* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEArmorRicochet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEArmorRicochet& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEArmorRicochet& from) { + CMsgTEArmorRicochet::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(CMsgTEArmorRicochet* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEArmorRicochet"; + } + protected: + explicit CMsgTEArmorRicochet(::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 { + kPosFieldNumber = 1, + kDirFieldNumber = 2, + }; + // optional .CMsgVector pos = 1; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::CMsgVector& pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_pos(); + ::CMsgVector* mutable_pos(); + void set_allocated_pos(::CMsgVector* pos); + private: + const ::CMsgVector& _internal_pos() const; + ::CMsgVector* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::CMsgVector* pos); + ::CMsgVector* unsafe_arena_release_pos(); + + // optional .CMsgVector dir = 2; + bool has_dir() const; + private: + bool _internal_has_dir() const; + public: + void clear_dir(); + const ::CMsgVector& dir() const; + PROTOBUF_NODISCARD ::CMsgVector* release_dir(); + ::CMsgVector* mutable_dir(); + void set_allocated_dir(::CMsgVector* dir); + private: + const ::CMsgVector& _internal_dir() const; + ::CMsgVector* _internal_mutable_dir(); + public: + void unsafe_arena_set_allocated_dir( + ::CMsgVector* dir); + ::CMsgVector* unsafe_arena_release_dir(); + + // @@protoc_insertion_point(class_scope:CMsgTEArmorRicochet) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* pos_; + ::CMsgVector* dir_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBaseBeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBaseBeam) */ { + public: + inline CMsgTEBaseBeam() : CMsgTEBaseBeam(nullptr) {} + ~CMsgTEBaseBeam() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBaseBeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBaseBeam(const CMsgTEBaseBeam& from); + CMsgTEBaseBeam(CMsgTEBaseBeam&& from) noexcept + : CMsgTEBaseBeam() { + *this = ::std::move(from); + } + + inline CMsgTEBaseBeam& operator=(const CMsgTEBaseBeam& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBaseBeam& operator=(CMsgTEBaseBeam&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBaseBeam& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBaseBeam* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBaseBeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CMsgTEBaseBeam& a, CMsgTEBaseBeam& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBaseBeam* 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(CMsgTEBaseBeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBaseBeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBaseBeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBaseBeam& from) { + CMsgTEBaseBeam::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(CMsgTEBaseBeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBaseBeam"; + } + protected: + explicit CMsgTEBaseBeam(::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 { + kModelindexFieldNumber = 1, + kHaloindexFieldNumber = 2, + kStartframeFieldNumber = 3, + kFramerateFieldNumber = 4, + kLifeFieldNumber = 5, + kWidthFieldNumber = 6, + kEndwidthFieldNumber = 7, + kFadelengthFieldNumber = 8, + kAmplitudeFieldNumber = 9, + kColorFieldNumber = 10, + kSpeedFieldNumber = 11, + kFlagsFieldNumber = 12, + }; + // optional fixed64 modelindex = 1; + bool has_modelindex() const; + private: + bool _internal_has_modelindex() const; + public: + void clear_modelindex(); + uint64_t modelindex() const; + void set_modelindex(uint64_t value); + private: + uint64_t _internal_modelindex() const; + void _internal_set_modelindex(uint64_t value); + public: + + // optional fixed64 haloindex = 2; + bool has_haloindex() const; + private: + bool _internal_has_haloindex() const; + public: + void clear_haloindex(); + uint64_t haloindex() const; + void set_haloindex(uint64_t value); + private: + uint64_t _internal_haloindex() const; + void _internal_set_haloindex(uint64_t value); + public: + + // optional uint32 startframe = 3; + bool has_startframe() const; + private: + bool _internal_has_startframe() const; + public: + void clear_startframe(); + uint32_t startframe() const; + void set_startframe(uint32_t value); + private: + uint32_t _internal_startframe() const; + void _internal_set_startframe(uint32_t value); + public: + + // optional uint32 framerate = 4; + bool has_framerate() const; + private: + bool _internal_has_framerate() const; + public: + void clear_framerate(); + uint32_t framerate() const; + void set_framerate(uint32_t value); + private: + uint32_t _internal_framerate() const; + void _internal_set_framerate(uint32_t value); + public: + + // optional float life = 5; + bool has_life() const; + private: + bool _internal_has_life() const; + public: + void clear_life(); + float life() const; + void set_life(float value); + private: + float _internal_life() const; + void _internal_set_life(float value); + public: + + // optional float width = 6; + bool has_width() const; + private: + bool _internal_has_width() const; + public: + void clear_width(); + float width() const; + void set_width(float value); + private: + float _internal_width() const; + void _internal_set_width(float value); + public: + + // optional float endwidth = 7; + bool has_endwidth() const; + private: + bool _internal_has_endwidth() const; + public: + void clear_endwidth(); + float endwidth() const; + void set_endwidth(float value); + private: + float _internal_endwidth() const; + void _internal_set_endwidth(float value); + public: + + // optional uint32 fadelength = 8; + bool has_fadelength() const; + private: + bool _internal_has_fadelength() const; + public: + void clear_fadelength(); + uint32_t fadelength() const; + void set_fadelength(uint32_t value); + private: + uint32_t _internal_fadelength() const; + void _internal_set_fadelength(uint32_t value); + public: + + // optional float amplitude = 9; + bool has_amplitude() const; + private: + bool _internal_has_amplitude() const; + public: + void clear_amplitude(); + float amplitude() const; + void set_amplitude(float value); + private: + float _internal_amplitude() const; + void _internal_set_amplitude(float value); + public: + + // optional fixed32 color = 10; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional uint32 speed = 11; + bool has_speed() const; + private: + bool _internal_has_speed() const; + public: + void clear_speed(); + uint32_t speed() const; + void set_speed(uint32_t value); + private: + uint32_t _internal_speed() const; + void _internal_set_speed(uint32_t value); + public: + + // optional uint32 flags = 12; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBaseBeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t modelindex_; + uint64_t haloindex_; + uint32_t startframe_; + uint32_t framerate_; + float life_; + float width_; + float endwidth_; + uint32_t fadelength_; + float amplitude_; + uint32_t color_; + uint32_t speed_; + uint32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBeamEntPoint final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamEntPoint) */ { + public: + inline CMsgTEBeamEntPoint() : CMsgTEBeamEntPoint(nullptr) {} + ~CMsgTEBeamEntPoint() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBeamEntPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBeamEntPoint(const CMsgTEBeamEntPoint& from); + CMsgTEBeamEntPoint(CMsgTEBeamEntPoint&& from) noexcept + : CMsgTEBeamEntPoint() { + *this = ::std::move(from); + } + + inline CMsgTEBeamEntPoint& operator=(const CMsgTEBeamEntPoint& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBeamEntPoint& operator=(CMsgTEBeamEntPoint&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBeamEntPoint& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBeamEntPoint* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBeamEntPoint_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CMsgTEBeamEntPoint& a, CMsgTEBeamEntPoint& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBeamEntPoint* 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(CMsgTEBeamEntPoint* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBeamEntPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBeamEntPoint& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBeamEntPoint& from) { + CMsgTEBeamEntPoint::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(CMsgTEBeamEntPoint* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBeamEntPoint"; + } + protected: + explicit CMsgTEBeamEntPoint(::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 { + kBaseFieldNumber = 1, + kStartFieldNumber = 4, + kEndFieldNumber = 5, + kStartentityFieldNumber = 2, + kEndentityFieldNumber = 3, + }; + // optional .CMsgTEBaseBeam base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CMsgTEBaseBeam& base() const; + PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); + ::CMsgTEBaseBeam* mutable_base(); + void set_allocated_base(::CMsgTEBaseBeam* base); + private: + const ::CMsgTEBaseBeam& _internal_base() const; + ::CMsgTEBaseBeam* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base); + ::CMsgTEBaseBeam* unsafe_arena_release_base(); + + // optional .CMsgVector start = 4; + bool has_start() const; + private: + bool _internal_has_start() const; + public: + void clear_start(); + const ::CMsgVector& start() const; + PROTOBUF_NODISCARD ::CMsgVector* release_start(); + ::CMsgVector* mutable_start(); + void set_allocated_start(::CMsgVector* start); + private: + const ::CMsgVector& _internal_start() const; + ::CMsgVector* _internal_mutable_start(); + public: + void unsafe_arena_set_allocated_start( + ::CMsgVector* start); + ::CMsgVector* unsafe_arena_release_start(); + + // optional .CMsgVector end = 5; + bool has_end() const; + private: + bool _internal_has_end() const; + public: + void clear_end(); + const ::CMsgVector& end() const; + PROTOBUF_NODISCARD ::CMsgVector* release_end(); + ::CMsgVector* mutable_end(); + void set_allocated_end(::CMsgVector* end); + private: + const ::CMsgVector& _internal_end() const; + ::CMsgVector* _internal_mutable_end(); + public: + void unsafe_arena_set_allocated_end( + ::CMsgVector* end); + ::CMsgVector* unsafe_arena_release_end(); + + // optional uint32 startentity = 2; + bool has_startentity() const; + private: + bool _internal_has_startentity() const; + public: + void clear_startentity(); + uint32_t startentity() const; + void set_startentity(uint32_t value); + private: + uint32_t _internal_startentity() const; + void _internal_set_startentity(uint32_t value); + public: + + // optional uint32 endentity = 3; + bool has_endentity() const; + private: + bool _internal_has_endentity() const; + public: + void clear_endentity(); + uint32_t endentity() const; + void set_endentity(uint32_t value); + private: + uint32_t _internal_endentity() const; + void _internal_set_endentity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBeamEntPoint) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgTEBaseBeam* base_; + ::CMsgVector* start_; + ::CMsgVector* end_; + uint32_t startentity_; + uint32_t endentity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBeamEnts final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamEnts) */ { + public: + inline CMsgTEBeamEnts() : CMsgTEBeamEnts(nullptr) {} + ~CMsgTEBeamEnts() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBeamEnts(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBeamEnts(const CMsgTEBeamEnts& from); + CMsgTEBeamEnts(CMsgTEBeamEnts&& from) noexcept + : CMsgTEBeamEnts() { + *this = ::std::move(from); + } + + inline CMsgTEBeamEnts& operator=(const CMsgTEBeamEnts& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBeamEnts& operator=(CMsgTEBeamEnts&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBeamEnts& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBeamEnts* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBeamEnts_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CMsgTEBeamEnts& a, CMsgTEBeamEnts& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBeamEnts* 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(CMsgTEBeamEnts* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBeamEnts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBeamEnts& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBeamEnts& from) { + CMsgTEBeamEnts::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(CMsgTEBeamEnts* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBeamEnts"; + } + protected: + explicit CMsgTEBeamEnts(::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 { + kBaseFieldNumber = 1, + kStartentityFieldNumber = 2, + kEndentityFieldNumber = 3, + }; + // optional .CMsgTEBaseBeam base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CMsgTEBaseBeam& base() const; + PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); + ::CMsgTEBaseBeam* mutable_base(); + void set_allocated_base(::CMsgTEBaseBeam* base); + private: + const ::CMsgTEBaseBeam& _internal_base() const; + ::CMsgTEBaseBeam* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base); + ::CMsgTEBaseBeam* unsafe_arena_release_base(); + + // optional uint32 startentity = 2; + bool has_startentity() const; + private: + bool _internal_has_startentity() const; + public: + void clear_startentity(); + uint32_t startentity() const; + void set_startentity(uint32_t value); + private: + uint32_t _internal_startentity() const; + void _internal_set_startentity(uint32_t value); + public: + + // optional uint32 endentity = 3; + bool has_endentity() const; + private: + bool _internal_has_endentity() const; + public: + void clear_endentity(); + uint32_t endentity() const; + void set_endentity(uint32_t value); + private: + uint32_t _internal_endentity() const; + void _internal_set_endentity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBeamEnts) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgTEBaseBeam* base_; + uint32_t startentity_; + uint32_t endentity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBeamPoints final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamPoints) */ { + public: + inline CMsgTEBeamPoints() : CMsgTEBeamPoints(nullptr) {} + ~CMsgTEBeamPoints() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBeamPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBeamPoints(const CMsgTEBeamPoints& from); + CMsgTEBeamPoints(CMsgTEBeamPoints&& from) noexcept + : CMsgTEBeamPoints() { + *this = ::std::move(from); + } + + inline CMsgTEBeamPoints& operator=(const CMsgTEBeamPoints& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBeamPoints& operator=(CMsgTEBeamPoints&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBeamPoints& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBeamPoints* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBeamPoints_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CMsgTEBeamPoints& a, CMsgTEBeamPoints& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBeamPoints* 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(CMsgTEBeamPoints* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBeamPoints* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBeamPoints& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBeamPoints& from) { + CMsgTEBeamPoints::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(CMsgTEBeamPoints* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBeamPoints"; + } + protected: + explicit CMsgTEBeamPoints(::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 { + kBaseFieldNumber = 1, + kStartFieldNumber = 2, + kEndFieldNumber = 3, + }; + // optional .CMsgTEBaseBeam base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CMsgTEBaseBeam& base() const; + PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); + ::CMsgTEBaseBeam* mutable_base(); + void set_allocated_base(::CMsgTEBaseBeam* base); + private: + const ::CMsgTEBaseBeam& _internal_base() const; + ::CMsgTEBaseBeam* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base); + ::CMsgTEBaseBeam* unsafe_arena_release_base(); + + // optional .CMsgVector start = 2; + bool has_start() const; + private: + bool _internal_has_start() const; + public: + void clear_start(); + const ::CMsgVector& start() const; + PROTOBUF_NODISCARD ::CMsgVector* release_start(); + ::CMsgVector* mutable_start(); + void set_allocated_start(::CMsgVector* start); + private: + const ::CMsgVector& _internal_start() const; + ::CMsgVector* _internal_mutable_start(); + public: + void unsafe_arena_set_allocated_start( + ::CMsgVector* start); + ::CMsgVector* unsafe_arena_release_start(); + + // optional .CMsgVector end = 3; + bool has_end() const; + private: + bool _internal_has_end() const; + public: + void clear_end(); + const ::CMsgVector& end() const; + PROTOBUF_NODISCARD ::CMsgVector* release_end(); + ::CMsgVector* mutable_end(); + void set_allocated_end(::CMsgVector* end); + private: + const ::CMsgVector& _internal_end() const; + ::CMsgVector* _internal_mutable_end(); + public: + void unsafe_arena_set_allocated_end( + ::CMsgVector* end); + ::CMsgVector* unsafe_arena_release_end(); + + // @@protoc_insertion_point(class_scope:CMsgTEBeamPoints) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgTEBaseBeam* base_; + ::CMsgVector* start_; + ::CMsgVector* end_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBeamRing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamRing) */ { + public: + inline CMsgTEBeamRing() : CMsgTEBeamRing(nullptr) {} + ~CMsgTEBeamRing() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBeamRing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBeamRing(const CMsgTEBeamRing& from); + CMsgTEBeamRing(CMsgTEBeamRing&& from) noexcept + : CMsgTEBeamRing() { + *this = ::std::move(from); + } + + inline CMsgTEBeamRing& operator=(const CMsgTEBeamRing& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBeamRing& operator=(CMsgTEBeamRing&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBeamRing& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBeamRing* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBeamRing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CMsgTEBeamRing& a, CMsgTEBeamRing& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBeamRing* 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(CMsgTEBeamRing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBeamRing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBeamRing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBeamRing& from) { + CMsgTEBeamRing::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(CMsgTEBeamRing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBeamRing"; + } + protected: + explicit CMsgTEBeamRing(::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 { + kBaseFieldNumber = 1, + kStartentityFieldNumber = 2, + kEndentityFieldNumber = 3, + }; + // optional .CMsgTEBaseBeam base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CMsgTEBaseBeam& base() const; + PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); + ::CMsgTEBaseBeam* mutable_base(); + void set_allocated_base(::CMsgTEBaseBeam* base); + private: + const ::CMsgTEBaseBeam& _internal_base() const; + ::CMsgTEBaseBeam* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base); + ::CMsgTEBaseBeam* unsafe_arena_release_base(); + + // optional uint32 startentity = 2; + bool has_startentity() const; + private: + bool _internal_has_startentity() const; + public: + void clear_startentity(); + uint32_t startentity() const; + void set_startentity(uint32_t value); + private: + uint32_t _internal_startentity() const; + void _internal_set_startentity(uint32_t value); + public: + + // optional uint32 endentity = 3; + bool has_endentity() const; + private: + bool _internal_has_endentity() const; + public: + void clear_endentity(); + uint32_t endentity() const; + void set_endentity(uint32_t value); + private: + uint32_t _internal_endentity() const; + void _internal_set_endentity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBeamRing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgTEBaseBeam* base_; + uint32_t startentity_; + uint32_t endentity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBubbles final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBubbles) */ { + public: + inline CMsgTEBubbles() : CMsgTEBubbles(nullptr) {} + ~CMsgTEBubbles() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBubbles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBubbles(const CMsgTEBubbles& from); + CMsgTEBubbles(CMsgTEBubbles&& from) noexcept + : CMsgTEBubbles() { + *this = ::std::move(from); + } + + inline CMsgTEBubbles& operator=(const CMsgTEBubbles& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBubbles& operator=(CMsgTEBubbles&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBubbles& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBubbles* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBubbles_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CMsgTEBubbles& a, CMsgTEBubbles& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBubbles* 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(CMsgTEBubbles* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBubbles* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBubbles& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBubbles& from) { + CMsgTEBubbles::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(CMsgTEBubbles* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBubbles"; + } + protected: + explicit CMsgTEBubbles(::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 { + kMinsFieldNumber = 1, + kMaxsFieldNumber = 2, + kHeightFieldNumber = 3, + kCountFieldNumber = 4, + kSpeedFieldNumber = 5, + }; + // optional .CMsgVector mins = 1; + bool has_mins() const; + private: + bool _internal_has_mins() const; + public: + void clear_mins(); + const ::CMsgVector& mins() const; + PROTOBUF_NODISCARD ::CMsgVector* release_mins(); + ::CMsgVector* mutable_mins(); + void set_allocated_mins(::CMsgVector* mins); + private: + const ::CMsgVector& _internal_mins() const; + ::CMsgVector* _internal_mutable_mins(); + public: + void unsafe_arena_set_allocated_mins( + ::CMsgVector* mins); + ::CMsgVector* unsafe_arena_release_mins(); + + // optional .CMsgVector maxs = 2; + bool has_maxs() const; + private: + bool _internal_has_maxs() const; + public: + void clear_maxs(); + const ::CMsgVector& maxs() const; + PROTOBUF_NODISCARD ::CMsgVector* release_maxs(); + ::CMsgVector* mutable_maxs(); + void set_allocated_maxs(::CMsgVector* maxs); + private: + const ::CMsgVector& _internal_maxs() const; + ::CMsgVector* _internal_mutable_maxs(); + public: + void unsafe_arena_set_allocated_maxs( + ::CMsgVector* maxs); + ::CMsgVector* unsafe_arena_release_maxs(); + + // optional float height = 3; + bool has_height() const; + private: + bool _internal_has_height() const; + public: + void clear_height(); + float height() const; + void set_height(float value); + private: + float _internal_height() const; + void _internal_set_height(float value); + public: + + // optional uint32 count = 4; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + uint32_t count() const; + void set_count(uint32_t value); + private: + uint32_t _internal_count() const; + void _internal_set_count(uint32_t value); + public: + + // optional float speed = 5; + bool has_speed() const; + private: + bool _internal_has_speed() const; + public: + void clear_speed(); + float speed() const; + void set_speed(float value); + private: + float _internal_speed() const; + void _internal_set_speed(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBubbles) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* mins_; + ::CMsgVector* maxs_; + float height_; + uint32_t count_; + float speed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBubbleTrail final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBubbleTrail) */ { + public: + inline CMsgTEBubbleTrail() : CMsgTEBubbleTrail(nullptr) {} + ~CMsgTEBubbleTrail() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBubbleTrail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBubbleTrail(const CMsgTEBubbleTrail& from); + CMsgTEBubbleTrail(CMsgTEBubbleTrail&& from) noexcept + : CMsgTEBubbleTrail() { + *this = ::std::move(from); + } + + inline CMsgTEBubbleTrail& operator=(const CMsgTEBubbleTrail& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBubbleTrail& operator=(CMsgTEBubbleTrail&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBubbleTrail& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBubbleTrail* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBubbleTrail_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CMsgTEBubbleTrail& a, CMsgTEBubbleTrail& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBubbleTrail* 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(CMsgTEBubbleTrail* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBubbleTrail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBubbleTrail& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBubbleTrail& from) { + CMsgTEBubbleTrail::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(CMsgTEBubbleTrail* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBubbleTrail"; + } + protected: + explicit CMsgTEBubbleTrail(::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 { + kMinsFieldNumber = 1, + kMaxsFieldNumber = 2, + kWaterzFieldNumber = 3, + kCountFieldNumber = 4, + kSpeedFieldNumber = 5, + }; + // optional .CMsgVector mins = 1; + bool has_mins() const; + private: + bool _internal_has_mins() const; + public: + void clear_mins(); + const ::CMsgVector& mins() const; + PROTOBUF_NODISCARD ::CMsgVector* release_mins(); + ::CMsgVector* mutable_mins(); + void set_allocated_mins(::CMsgVector* mins); + private: + const ::CMsgVector& _internal_mins() const; + ::CMsgVector* _internal_mutable_mins(); + public: + void unsafe_arena_set_allocated_mins( + ::CMsgVector* mins); + ::CMsgVector* unsafe_arena_release_mins(); + + // optional .CMsgVector maxs = 2; + bool has_maxs() const; + private: + bool _internal_has_maxs() const; + public: + void clear_maxs(); + const ::CMsgVector& maxs() const; + PROTOBUF_NODISCARD ::CMsgVector* release_maxs(); + ::CMsgVector* mutable_maxs(); + void set_allocated_maxs(::CMsgVector* maxs); + private: + const ::CMsgVector& _internal_maxs() const; + ::CMsgVector* _internal_mutable_maxs(); + public: + void unsafe_arena_set_allocated_maxs( + ::CMsgVector* maxs); + ::CMsgVector* unsafe_arena_release_maxs(); + + // optional float waterz = 3; + bool has_waterz() const; + private: + bool _internal_has_waterz() const; + public: + void clear_waterz(); + float waterz() const; + void set_waterz(float value); + private: + float _internal_waterz() const; + void _internal_set_waterz(float value); + public: + + // optional uint32 count = 4; + bool has_count() const; + private: + bool _internal_has_count() const; + public: + void clear_count(); + uint32_t count() const; + void set_count(uint32_t value); + private: + uint32_t _internal_count() const; + void _internal_set_count(uint32_t value); + public: + + // optional float speed = 5; + bool has_speed() const; + private: + bool _internal_has_speed() const; + public: + void clear_speed(); + float speed() const; + void set_speed(float value); + private: + float _internal_speed() const; + void _internal_set_speed(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBubbleTrail) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* mins_; + ::CMsgVector* maxs_; + float waterz_; + uint32_t count_; + float speed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEDecal final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEDecal) */ { + public: + inline CMsgTEDecal() : CMsgTEDecal(nullptr) {} + ~CMsgTEDecal() override; + explicit PROTOBUF_CONSTEXPR CMsgTEDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEDecal(const CMsgTEDecal& from); + CMsgTEDecal(CMsgTEDecal&& from) noexcept + : CMsgTEDecal() { + *this = ::std::move(from); + } + + inline CMsgTEDecal& operator=(const CMsgTEDecal& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEDecal& operator=(CMsgTEDecal&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEDecal& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEDecal* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEDecal_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CMsgTEDecal& a, CMsgTEDecal& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEDecal* 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(CMsgTEDecal* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEDecal& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEDecal& from) { + CMsgTEDecal::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(CMsgTEDecal* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEDecal"; + } + protected: + explicit CMsgTEDecal(::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 { + kOriginFieldNumber = 1, + kStartFieldNumber = 2, + kHitboxFieldNumber = 4, + kIndexFieldNumber = 5, + kEntityFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector start = 2; + bool has_start() const; + private: + bool _internal_has_start() const; + public: + void clear_start(); + const ::CMsgVector& start() const; + PROTOBUF_NODISCARD ::CMsgVector* release_start(); + ::CMsgVector* mutable_start(); + void set_allocated_start(::CMsgVector* start); + private: + const ::CMsgVector& _internal_start() const; + ::CMsgVector* _internal_mutable_start(); + public: + void unsafe_arena_set_allocated_start( + ::CMsgVector* start); + ::CMsgVector* unsafe_arena_release_start(); + + // optional uint32 hitbox = 4; + bool has_hitbox() const; + private: + bool _internal_has_hitbox() const; + public: + void clear_hitbox(); + uint32_t hitbox() const; + void set_hitbox(uint32_t value); + private: + uint32_t _internal_hitbox() const; + void _internal_set_hitbox(uint32_t value); + public: + + // optional uint32 index = 5; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + uint32_t index() const; + void set_index(uint32_t value); + private: + uint32_t _internal_index() const; + void _internal_set_index(uint32_t value); + public: + + // optional int32 entity = 3 [default = -1]; + bool has_entity() const; + private: + bool _internal_has_entity() const; + public: + void clear_entity(); + int32_t entity() const; + void set_entity(int32_t value); + private: + int32_t _internal_entity() const; + void _internal_set_entity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEDecal) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* start_; + uint32_t hitbox_; + uint32_t index_; + int32_t entity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgEffectData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgEffectData) */ { + public: + inline CMsgEffectData() : CMsgEffectData(nullptr) {} + ~CMsgEffectData() override; + explicit PROTOBUF_CONSTEXPR CMsgEffectData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgEffectData(const CMsgEffectData& from); + CMsgEffectData(CMsgEffectData&& from) noexcept + : CMsgEffectData() { + *this = ::std::move(from); + } + + inline CMsgEffectData& operator=(const CMsgEffectData& from) { + CopyFrom(from); + return *this; + } + inline CMsgEffectData& operator=(CMsgEffectData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgEffectData& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgEffectData* internal_default_instance() { + return reinterpret_cast( + &_CMsgEffectData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CMsgEffectData& a, CMsgEffectData& b) { + a.Swap(&b); + } + inline void Swap(CMsgEffectData* 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(CMsgEffectData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgEffectData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgEffectData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgEffectData& from) { + CMsgEffectData::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(CMsgEffectData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgEffectData"; + } + protected: + explicit CMsgEffectData(::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 { + kOriginFieldNumber = 1, + kStartFieldNumber = 2, + kNormalFieldNumber = 3, + kAnglesFieldNumber = 4, + kScaleFieldNumber = 7, + kMagnitudeFieldNumber = 8, + kRadiusFieldNumber = 9, + kSurfacepropFieldNumber = 10, + kEffectindexFieldNumber = 11, + kDamagetypeFieldNumber = 12, + kMaterialFieldNumber = 13, + kHitboxFieldNumber = 14, + kColorFieldNumber = 15, + kFlagsFieldNumber = 16, + kAttachmentindexFieldNumber = 17, + kEffectnameFieldNumber = 18, + kAttachmentnameFieldNumber = 19, + kEntityFieldNumber = 5, + kOtherentityFieldNumber = 6, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector start = 2; + bool has_start() const; + private: + bool _internal_has_start() const; + public: + void clear_start(); + const ::CMsgVector& start() const; + PROTOBUF_NODISCARD ::CMsgVector* release_start(); + ::CMsgVector* mutable_start(); + void set_allocated_start(::CMsgVector* start); + private: + const ::CMsgVector& _internal_start() const; + ::CMsgVector* _internal_mutable_start(); + public: + void unsafe_arena_set_allocated_start( + ::CMsgVector* start); + ::CMsgVector* unsafe_arena_release_start(); + + // optional .CMsgVector normal = 3; + bool has_normal() const; + private: + bool _internal_has_normal() const; + public: + void clear_normal(); + const ::CMsgVector& normal() const; + PROTOBUF_NODISCARD ::CMsgVector* release_normal(); + ::CMsgVector* mutable_normal(); + void set_allocated_normal(::CMsgVector* normal); + private: + const ::CMsgVector& _internal_normal() const; + ::CMsgVector* _internal_mutable_normal(); + public: + void unsafe_arena_set_allocated_normal( + ::CMsgVector* normal); + ::CMsgVector* unsafe_arena_release_normal(); + + // optional .CMsgQAngle angles = 4; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional float scale = 7; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // optional float magnitude = 8; + bool has_magnitude() const; + private: + bool _internal_has_magnitude() const; + public: + void clear_magnitude(); + float magnitude() const; + void set_magnitude(float value); + private: + float _internal_magnitude() const; + void _internal_set_magnitude(float value); + public: + + // optional float radius = 9; + bool has_radius() const; + private: + bool _internal_has_radius() const; + public: + void clear_radius(); + float radius() const; + void set_radius(float value); + private: + float _internal_radius() const; + void _internal_set_radius(float value); + public: + + // optional fixed32 surfaceprop = 10; + bool has_surfaceprop() const; + private: + bool _internal_has_surfaceprop() const; + public: + void clear_surfaceprop(); + uint32_t surfaceprop() const; + void set_surfaceprop(uint32_t value); + private: + uint32_t _internal_surfaceprop() const; + void _internal_set_surfaceprop(uint32_t value); + public: + + // optional fixed64 effectindex = 11; + bool has_effectindex() const; + private: + bool _internal_has_effectindex() const; + public: + void clear_effectindex(); + uint64_t effectindex() const; + void set_effectindex(uint64_t value); + private: + uint64_t _internal_effectindex() const; + void _internal_set_effectindex(uint64_t value); + public: + + // optional uint32 damagetype = 12; + bool has_damagetype() const; + private: + bool _internal_has_damagetype() const; + public: + void clear_damagetype(); + uint32_t damagetype() const; + void set_damagetype(uint32_t value); + private: + uint32_t _internal_damagetype() const; + void _internal_set_damagetype(uint32_t value); + public: + + // optional uint32 material = 13; + bool has_material() const; + private: + bool _internal_has_material() const; + public: + void clear_material(); + uint32_t material() const; + void set_material(uint32_t value); + private: + uint32_t _internal_material() const; + void _internal_set_material(uint32_t value); + public: + + // optional uint32 hitbox = 14; + bool has_hitbox() const; + private: + bool _internal_has_hitbox() const; + public: + void clear_hitbox(); + uint32_t hitbox() const; + void set_hitbox(uint32_t value); + private: + uint32_t _internal_hitbox() const; + void _internal_set_hitbox(uint32_t value); + public: + + // optional uint32 color = 15; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional uint32 flags = 16; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional int32 attachmentindex = 17; + bool has_attachmentindex() const; + private: + bool _internal_has_attachmentindex() const; + public: + void clear_attachmentindex(); + int32_t attachmentindex() const; + void set_attachmentindex(int32_t value); + private: + int32_t _internal_attachmentindex() const; + void _internal_set_attachmentindex(int32_t value); + public: + + // optional uint32 effectname = 18; + bool has_effectname() const; + private: + bool _internal_has_effectname() const; + public: + void clear_effectname(); + uint32_t effectname() const; + void set_effectname(uint32_t value); + private: + uint32_t _internal_effectname() const; + void _internal_set_effectname(uint32_t value); + public: + + // optional uint32 attachmentname = 19; + bool has_attachmentname() const; + private: + bool _internal_has_attachmentname() const; + public: + void clear_attachmentname(); + uint32_t attachmentname() const; + void set_attachmentname(uint32_t value); + private: + uint32_t _internal_attachmentname() const; + void _internal_set_attachmentname(uint32_t value); + public: + + // optional fixed32 entity = 5 [default = 16777215]; + bool has_entity() const; + private: + bool _internal_has_entity() const; + public: + void clear_entity(); + uint32_t entity() const; + void set_entity(uint32_t value); + private: + uint32_t _internal_entity() const; + void _internal_set_entity(uint32_t value); + public: + + // optional fixed32 otherentity = 6 [default = 16777215]; + bool has_otherentity() const; + private: + bool _internal_has_otherentity() const; + public: + void clear_otherentity(); + uint32_t otherentity() const; + void set_otherentity(uint32_t value); + private: + uint32_t _internal_otherentity() const; + void _internal_set_otherentity(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgEffectData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* start_; + ::CMsgVector* normal_; + ::CMsgQAngle* angles_; + float scale_; + float magnitude_; + float radius_; + uint32_t surfaceprop_; + uint64_t effectindex_; + uint32_t damagetype_; + uint32_t material_; + uint32_t hitbox_; + uint32_t color_; + uint32_t flags_; + int32_t attachmentindex_; + uint32_t effectname_; + uint32_t attachmentname_; + uint32_t entity_; + uint32_t otherentity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEEffectDispatch final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEEffectDispatch) */ { + public: + inline CMsgTEEffectDispatch() : CMsgTEEffectDispatch(nullptr) {} + ~CMsgTEEffectDispatch() override; + explicit PROTOBUF_CONSTEXPR CMsgTEEffectDispatch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEEffectDispatch(const CMsgTEEffectDispatch& from); + CMsgTEEffectDispatch(CMsgTEEffectDispatch&& from) noexcept + : CMsgTEEffectDispatch() { + *this = ::std::move(from); + } + + inline CMsgTEEffectDispatch& operator=(const CMsgTEEffectDispatch& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEEffectDispatch& operator=(CMsgTEEffectDispatch&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEEffectDispatch& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEEffectDispatch* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEEffectDispatch_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CMsgTEEffectDispatch& a, CMsgTEEffectDispatch& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEEffectDispatch* 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(CMsgTEEffectDispatch* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEEffectDispatch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEEffectDispatch& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEEffectDispatch& from) { + CMsgTEEffectDispatch::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(CMsgTEEffectDispatch* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEEffectDispatch"; + } + protected: + explicit CMsgTEEffectDispatch(::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 { + kEffectdataFieldNumber = 1, + }; + // optional .CMsgEffectData effectdata = 1; + bool has_effectdata() const; + private: + bool _internal_has_effectdata() const; + public: + void clear_effectdata(); + const ::CMsgEffectData& effectdata() const; + PROTOBUF_NODISCARD ::CMsgEffectData* release_effectdata(); + ::CMsgEffectData* mutable_effectdata(); + void set_allocated_effectdata(::CMsgEffectData* effectdata); + private: + const ::CMsgEffectData& _internal_effectdata() const; + ::CMsgEffectData* _internal_mutable_effectdata(); + public: + void unsafe_arena_set_allocated_effectdata( + ::CMsgEffectData* effectdata); + ::CMsgEffectData* unsafe_arena_release_effectdata(); + + // @@protoc_insertion_point(class_scope:CMsgTEEffectDispatch) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgEffectData* effectdata_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEEnergySplash final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEEnergySplash) */ { + public: + inline CMsgTEEnergySplash() : CMsgTEEnergySplash(nullptr) {} + ~CMsgTEEnergySplash() override; + explicit PROTOBUF_CONSTEXPR CMsgTEEnergySplash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEEnergySplash(const CMsgTEEnergySplash& from); + CMsgTEEnergySplash(CMsgTEEnergySplash&& from) noexcept + : CMsgTEEnergySplash() { + *this = ::std::move(from); + } + + inline CMsgTEEnergySplash& operator=(const CMsgTEEnergySplash& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEEnergySplash& operator=(CMsgTEEnergySplash&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEEnergySplash& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEEnergySplash* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEEnergySplash_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CMsgTEEnergySplash& a, CMsgTEEnergySplash& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEEnergySplash* 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(CMsgTEEnergySplash* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEEnergySplash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEEnergySplash& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEEnergySplash& from) { + CMsgTEEnergySplash::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(CMsgTEEnergySplash* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEEnergySplash"; + } + protected: + explicit CMsgTEEnergySplash(::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 { + kPosFieldNumber = 1, + kDirFieldNumber = 2, + kExplosiveFieldNumber = 3, + }; + // optional .CMsgVector pos = 1; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::CMsgVector& pos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_pos(); + ::CMsgVector* mutable_pos(); + void set_allocated_pos(::CMsgVector* pos); + private: + const ::CMsgVector& _internal_pos() const; + ::CMsgVector* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::CMsgVector* pos); + ::CMsgVector* unsafe_arena_release_pos(); + + // optional .CMsgVector dir = 2; + bool has_dir() const; + private: + bool _internal_has_dir() const; + public: + void clear_dir(); + const ::CMsgVector& dir() const; + PROTOBUF_NODISCARD ::CMsgVector* release_dir(); + ::CMsgVector* mutable_dir(); + void set_allocated_dir(::CMsgVector* dir); + private: + const ::CMsgVector& _internal_dir() const; + ::CMsgVector* _internal_mutable_dir(); + public: + void unsafe_arena_set_allocated_dir( + ::CMsgVector* dir); + ::CMsgVector* unsafe_arena_release_dir(); + + // optional bool explosive = 3; + bool has_explosive() const; + private: + bool _internal_has_explosive() const; + public: + void clear_explosive(); + bool explosive() const; + void set_explosive(bool value); + private: + bool _internal_explosive() const; + void _internal_set_explosive(bool value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEEnergySplash) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* pos_; + ::CMsgVector* dir_; + bool explosive_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEFizz final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFizz) */ { + public: + inline CMsgTEFizz() : CMsgTEFizz(nullptr) {} + ~CMsgTEFizz() override; + explicit PROTOBUF_CONSTEXPR CMsgTEFizz(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEFizz(const CMsgTEFizz& from); + CMsgTEFizz(CMsgTEFizz&& from) noexcept + : CMsgTEFizz() { + *this = ::std::move(from); + } + + inline CMsgTEFizz& operator=(const CMsgTEFizz& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEFizz& operator=(CMsgTEFizz&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEFizz& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEFizz* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEFizz_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CMsgTEFizz& a, CMsgTEFizz& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEFizz* 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(CMsgTEFizz* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEFizz* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEFizz& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEFizz& from) { + CMsgTEFizz::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(CMsgTEFizz* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEFizz"; + } + protected: + explicit CMsgTEFizz(::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 { + kDensityFieldNumber = 2, + kCurrentFieldNumber = 3, + kEntityFieldNumber = 1, + }; + // optional uint32 density = 2; + bool has_density() const; + private: + bool _internal_has_density() const; + public: + void clear_density(); + uint32_t density() const; + void set_density(uint32_t value); + private: + uint32_t _internal_density() const; + void _internal_set_density(uint32_t value); + public: + + // optional int32 current = 3; + bool has_current() const; + private: + bool _internal_has_current() const; + public: + void clear_current(); + int32_t current() const; + void set_current(int32_t value); + private: + int32_t _internal_current() const; + void _internal_set_current(int32_t value); + public: + + // optional int32 entity = 1 [default = -1]; + bool has_entity() const; + private: + bool _internal_has_entity() const; + public: + void clear_entity(); + int32_t entity() const; + void set_entity(int32_t value); + private: + int32_t _internal_entity() const; + void _internal_set_entity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEFizz) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t density_; + int32_t current_; + int32_t entity_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEShatterSurface final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEShatterSurface) */ { + public: + inline CMsgTEShatterSurface() : CMsgTEShatterSurface(nullptr) {} + ~CMsgTEShatterSurface() override; + explicit PROTOBUF_CONSTEXPR CMsgTEShatterSurface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEShatterSurface(const CMsgTEShatterSurface& from); + CMsgTEShatterSurface(CMsgTEShatterSurface&& from) noexcept + : CMsgTEShatterSurface() { + *this = ::std::move(from); + } + + inline CMsgTEShatterSurface& operator=(const CMsgTEShatterSurface& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEShatterSurface& operator=(CMsgTEShatterSurface&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEShatterSurface& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEShatterSurface* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEShatterSurface_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CMsgTEShatterSurface& a, CMsgTEShatterSurface& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEShatterSurface* 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(CMsgTEShatterSurface* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEShatterSurface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEShatterSurface& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEShatterSurface& from) { + CMsgTEShatterSurface::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(CMsgTEShatterSurface* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEShatterSurface"; + } + protected: + explicit CMsgTEShatterSurface(::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 { + kOriginFieldNumber = 1, + kAnglesFieldNumber = 2, + kForceFieldNumber = 3, + kForceposFieldNumber = 4, + kWidthFieldNumber = 5, + kHeightFieldNumber = 6, + kShardsizeFieldNumber = 7, + kSurfacetypeFieldNumber = 8, + kFrontcolorFieldNumber = 9, + kBackcolorFieldNumber = 10, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgQAngle angles = 2; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional .CMsgVector force = 3; + bool has_force() const; + private: + bool _internal_has_force() const; + public: + void clear_force(); + const ::CMsgVector& force() const; + PROTOBUF_NODISCARD ::CMsgVector* release_force(); + ::CMsgVector* mutable_force(); + void set_allocated_force(::CMsgVector* force); + private: + const ::CMsgVector& _internal_force() const; + ::CMsgVector* _internal_mutable_force(); + public: + void unsafe_arena_set_allocated_force( + ::CMsgVector* force); + ::CMsgVector* unsafe_arena_release_force(); + + // optional .CMsgVector forcepos = 4; + bool has_forcepos() const; + private: + bool _internal_has_forcepos() const; + public: + void clear_forcepos(); + const ::CMsgVector& forcepos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_forcepos(); + ::CMsgVector* mutable_forcepos(); + void set_allocated_forcepos(::CMsgVector* forcepos); + private: + const ::CMsgVector& _internal_forcepos() const; + ::CMsgVector* _internal_mutable_forcepos(); + public: + void unsafe_arena_set_allocated_forcepos( + ::CMsgVector* forcepos); + ::CMsgVector* unsafe_arena_release_forcepos(); + + // optional float width = 5; + bool has_width() const; + private: + bool _internal_has_width() const; + public: + void clear_width(); + float width() const; + void set_width(float value); + private: + float _internal_width() const; + void _internal_set_width(float value); + public: + + // optional float height = 6; + bool has_height() const; + private: + bool _internal_has_height() const; + public: + void clear_height(); + float height() const; + void set_height(float value); + private: + float _internal_height() const; + void _internal_set_height(float value); + public: + + // optional float shardsize = 7; + bool has_shardsize() const; + private: + bool _internal_has_shardsize() const; + public: + void clear_shardsize(); + float shardsize() const; + void set_shardsize(float value); + private: + float _internal_shardsize() const; + void _internal_set_shardsize(float value); + public: + + // optional uint32 surfacetype = 8; + bool has_surfacetype() const; + private: + bool _internal_has_surfacetype() const; + public: + void clear_surfacetype(); + uint32_t surfacetype() const; + void set_surfacetype(uint32_t value); + private: + uint32_t _internal_surfacetype() const; + void _internal_set_surfacetype(uint32_t value); + public: + + // optional fixed32 frontcolor = 9; + bool has_frontcolor() const; + private: + bool _internal_has_frontcolor() const; + public: + void clear_frontcolor(); + uint32_t frontcolor() const; + void set_frontcolor(uint32_t value); + private: + uint32_t _internal_frontcolor() const; + void _internal_set_frontcolor(uint32_t value); + public: + + // optional fixed32 backcolor = 10; + bool has_backcolor() const; + private: + bool _internal_has_backcolor() const; + public: + void clear_backcolor(); + uint32_t backcolor() const; + void set_backcolor(uint32_t value); + private: + uint32_t _internal_backcolor() const; + void _internal_set_backcolor(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEShatterSurface) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgQAngle* angles_; + ::CMsgVector* force_; + ::CMsgVector* forcepos_; + float width_; + float height_; + float shardsize_; + uint32_t surfacetype_; + uint32_t frontcolor_; + uint32_t backcolor_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEGlowSprite final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEGlowSprite) */ { + public: + inline CMsgTEGlowSprite() : CMsgTEGlowSprite(nullptr) {} + ~CMsgTEGlowSprite() override; + explicit PROTOBUF_CONSTEXPR CMsgTEGlowSprite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEGlowSprite(const CMsgTEGlowSprite& from); + CMsgTEGlowSprite(CMsgTEGlowSprite&& from) noexcept + : CMsgTEGlowSprite() { + *this = ::std::move(from); + } + + inline CMsgTEGlowSprite& operator=(const CMsgTEGlowSprite& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEGlowSprite& operator=(CMsgTEGlowSprite&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEGlowSprite& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEGlowSprite* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEGlowSprite_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CMsgTEGlowSprite& a, CMsgTEGlowSprite& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEGlowSprite* 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(CMsgTEGlowSprite* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEGlowSprite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEGlowSprite& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEGlowSprite& from) { + CMsgTEGlowSprite::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(CMsgTEGlowSprite* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEGlowSprite"; + } + protected: + explicit CMsgTEGlowSprite(::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 { + kOriginFieldNumber = 1, + kScaleFieldNumber = 2, + kLifeFieldNumber = 3, + kBrightnessFieldNumber = 4, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional float scale = 2; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // optional float life = 3; + bool has_life() const; + private: + bool _internal_has_life() const; + public: + void clear_life(); + float life() const; + void set_life(float value); + private: + float _internal_life() const; + void _internal_set_life(float value); + public: + + // optional uint32 brightness = 4; + bool has_brightness() const; + private: + bool _internal_has_brightness() const; + public: + void clear_brightness(); + uint32_t brightness() const; + void set_brightness(uint32_t value); + private: + uint32_t _internal_brightness() const; + void _internal_set_brightness(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEGlowSprite) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + float scale_; + float life_; + uint32_t brightness_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEImpact final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEImpact) */ { + public: + inline CMsgTEImpact() : CMsgTEImpact(nullptr) {} + ~CMsgTEImpact() override; + explicit PROTOBUF_CONSTEXPR CMsgTEImpact(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEImpact(const CMsgTEImpact& from); + CMsgTEImpact(CMsgTEImpact&& from) noexcept + : CMsgTEImpact() { + *this = ::std::move(from); + } + + inline CMsgTEImpact& operator=(const CMsgTEImpact& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEImpact& operator=(CMsgTEImpact&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEImpact& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEImpact* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEImpact_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CMsgTEImpact& a, CMsgTEImpact& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEImpact* 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(CMsgTEImpact* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEImpact* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEImpact& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEImpact& from) { + CMsgTEImpact::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(CMsgTEImpact* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEImpact"; + } + protected: + explicit CMsgTEImpact(::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 { + kOriginFieldNumber = 1, + kNormalFieldNumber = 2, + kTypeFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector normal = 2; + bool has_normal() const; + private: + bool _internal_has_normal() const; + public: + void clear_normal(); + const ::CMsgVector& normal() const; + PROTOBUF_NODISCARD ::CMsgVector* release_normal(); + ::CMsgVector* mutable_normal(); + void set_allocated_normal(::CMsgVector* normal); + private: + const ::CMsgVector& _internal_normal() const; + ::CMsgVector* _internal_mutable_normal(); + public: + void unsafe_arena_set_allocated_normal( + ::CMsgVector* normal); + ::CMsgVector* unsafe_arena_release_normal(); + + // optional uint32 type = 3; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEImpact) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* normal_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEMuzzleFlash final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEMuzzleFlash) */ { + public: + inline CMsgTEMuzzleFlash() : CMsgTEMuzzleFlash(nullptr) {} + ~CMsgTEMuzzleFlash() override; + explicit PROTOBUF_CONSTEXPR CMsgTEMuzzleFlash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEMuzzleFlash(const CMsgTEMuzzleFlash& from); + CMsgTEMuzzleFlash(CMsgTEMuzzleFlash&& from) noexcept + : CMsgTEMuzzleFlash() { + *this = ::std::move(from); + } + + inline CMsgTEMuzzleFlash& operator=(const CMsgTEMuzzleFlash& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEMuzzleFlash& operator=(CMsgTEMuzzleFlash&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEMuzzleFlash& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEMuzzleFlash* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEMuzzleFlash_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CMsgTEMuzzleFlash& a, CMsgTEMuzzleFlash& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEMuzzleFlash* 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(CMsgTEMuzzleFlash* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEMuzzleFlash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEMuzzleFlash& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEMuzzleFlash& from) { + CMsgTEMuzzleFlash::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(CMsgTEMuzzleFlash* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEMuzzleFlash"; + } + protected: + explicit CMsgTEMuzzleFlash(::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 { + kOriginFieldNumber = 1, + kAnglesFieldNumber = 2, + kScaleFieldNumber = 3, + kTypeFieldNumber = 4, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgQAngle angles = 2; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional float scale = 3; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // optional uint32 type = 4; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + uint32_t type() const; + void set_type(uint32_t value); + private: + uint32_t _internal_type() const; + void _internal_set_type(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEMuzzleFlash) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgQAngle* angles_; + float scale_; + uint32_t type_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEBloodStream final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBloodStream) */ { + public: + inline CMsgTEBloodStream() : CMsgTEBloodStream(nullptr) {} + ~CMsgTEBloodStream() override; + explicit PROTOBUF_CONSTEXPR CMsgTEBloodStream(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEBloodStream(const CMsgTEBloodStream& from); + CMsgTEBloodStream(CMsgTEBloodStream&& from) noexcept + : CMsgTEBloodStream() { + *this = ::std::move(from); + } + + inline CMsgTEBloodStream& operator=(const CMsgTEBloodStream& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEBloodStream& operator=(CMsgTEBloodStream&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEBloodStream& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEBloodStream* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEBloodStream_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CMsgTEBloodStream& a, CMsgTEBloodStream& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEBloodStream* 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(CMsgTEBloodStream* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEBloodStream* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEBloodStream& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEBloodStream& from) { + CMsgTEBloodStream::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(CMsgTEBloodStream* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEBloodStream"; + } + protected: + explicit CMsgTEBloodStream(::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 { + kOriginFieldNumber = 1, + kDirectionFieldNumber = 2, + kColorFieldNumber = 3, + kAmountFieldNumber = 4, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector direction = 2; + bool has_direction() const; + private: + bool _internal_has_direction() const; + public: + void clear_direction(); + const ::CMsgVector& direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_direction(); + ::CMsgVector* mutable_direction(); + void set_allocated_direction(::CMsgVector* direction); + private: + const ::CMsgVector& _internal_direction() const; + ::CMsgVector* _internal_mutable_direction(); + public: + void unsafe_arena_set_allocated_direction( + ::CMsgVector* direction); + ::CMsgVector* unsafe_arena_release_direction(); + + // optional fixed32 color = 3; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional uint32 amount = 4; + bool has_amount() const; + private: + bool _internal_has_amount() const; + public: + void clear_amount(); + uint32_t amount() const; + void set_amount(uint32_t value); + private: + uint32_t _internal_amount() const; + void _internal_set_amount(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEBloodStream) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* direction_; + uint32_t color_; + uint32_t amount_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEExplosion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEExplosion) */ { + public: + inline CMsgTEExplosion() : CMsgTEExplosion(nullptr) {} + ~CMsgTEExplosion() override; + explicit PROTOBUF_CONSTEXPR CMsgTEExplosion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEExplosion(const CMsgTEExplosion& from); + CMsgTEExplosion(CMsgTEExplosion&& from) noexcept + : CMsgTEExplosion() { + *this = ::std::move(from); + } + + inline CMsgTEExplosion& operator=(const CMsgTEExplosion& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEExplosion& operator=(CMsgTEExplosion&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEExplosion& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEExplosion* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEExplosion_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CMsgTEExplosion& a, CMsgTEExplosion& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEExplosion* 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(CMsgTEExplosion* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEExplosion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEExplosion& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEExplosion& from) { + CMsgTEExplosion::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(CMsgTEExplosion* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEExplosion"; + } + protected: + explicit CMsgTEExplosion(::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 { + kSoundNameFieldNumber = 10, + kOriginFieldNumber = 1, + kNormalFieldNumber = 4, + kDebrisOriginFieldNumber = 13, + kFlagsFieldNumber = 3, + kRadiusFieldNumber = 6, + kMagnitudeFieldNumber = 7, + kAffectRagdollsFieldNumber = 9, + kCreateDebrisFieldNumber = 12, + kExplosionTypeFieldNumber = 11, + kDebrisSurfacepropFieldNumber = 14, + }; + // optional string sound_name = 10; + bool has_sound_name() const; + private: + bool _internal_has_sound_name() const; + public: + void clear_sound_name(); + const std::string& sound_name() const; + template + void set_sound_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_sound_name(); + PROTOBUF_NODISCARD std::string* release_sound_name(); + void set_allocated_sound_name(std::string* sound_name); + private: + const std::string& _internal_sound_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_sound_name(const std::string& value); + std::string* _internal_mutable_sound_name(); + public: + + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector normal = 4; + bool has_normal() const; + private: + bool _internal_has_normal() const; + public: + void clear_normal(); + const ::CMsgVector& normal() const; + PROTOBUF_NODISCARD ::CMsgVector* release_normal(); + ::CMsgVector* mutable_normal(); + void set_allocated_normal(::CMsgVector* normal); + private: + const ::CMsgVector& _internal_normal() const; + ::CMsgVector* _internal_mutable_normal(); + public: + void unsafe_arena_set_allocated_normal( + ::CMsgVector* normal); + ::CMsgVector* unsafe_arena_release_normal(); + + // optional .CMsgVector debris_origin = 13; + bool has_debris_origin() const; + private: + bool _internal_has_debris_origin() const; + public: + void clear_debris_origin(); + const ::CMsgVector& debris_origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_debris_origin(); + ::CMsgVector* mutable_debris_origin(); + void set_allocated_debris_origin(::CMsgVector* debris_origin); + private: + const ::CMsgVector& _internal_debris_origin() const; + ::CMsgVector* _internal_mutable_debris_origin(); + public: + void unsafe_arena_set_allocated_debris_origin( + ::CMsgVector* debris_origin); + ::CMsgVector* unsafe_arena_release_debris_origin(); + + // optional uint32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 radius = 6; + bool has_radius() const; + private: + bool _internal_has_radius() const; + public: + void clear_radius(); + uint32_t radius() const; + void set_radius(uint32_t value); + private: + uint32_t _internal_radius() const; + void _internal_set_radius(uint32_t value); + public: + + // optional uint32 magnitude = 7; + bool has_magnitude() const; + private: + bool _internal_has_magnitude() const; + public: + void clear_magnitude(); + uint32_t magnitude() const; + void set_magnitude(uint32_t value); + private: + uint32_t _internal_magnitude() const; + void _internal_set_magnitude(uint32_t value); + public: + + // optional bool affect_ragdolls = 9; + bool has_affect_ragdolls() const; + private: + bool _internal_has_affect_ragdolls() const; + public: + void clear_affect_ragdolls(); + bool affect_ragdolls() const; + void set_affect_ragdolls(bool value); + private: + bool _internal_affect_ragdolls() const; + void _internal_set_affect_ragdolls(bool value); + public: + + // optional bool create_debris = 12; + bool has_create_debris() const; + private: + bool _internal_has_create_debris() const; + public: + void clear_create_debris(); + bool create_debris() const; + void set_create_debris(bool value); + private: + bool _internal_create_debris() const; + void _internal_set_create_debris(bool value); + public: + + // optional uint32 explosion_type = 11; + bool has_explosion_type() const; + private: + bool _internal_has_explosion_type() const; + public: + void clear_explosion_type(); + uint32_t explosion_type() const; + void set_explosion_type(uint32_t value); + private: + uint32_t _internal_explosion_type() const; + void _internal_set_explosion_type(uint32_t value); + public: + + // optional fixed32 debris_surfaceprop = 14; + bool has_debris_surfaceprop() const; + private: + bool _internal_has_debris_surfaceprop() const; + public: + void clear_debris_surfaceprop(); + uint32_t debris_surfaceprop() const; + void set_debris_surfaceprop(uint32_t value); + private: + uint32_t _internal_debris_surfaceprop() const; + void _internal_set_debris_surfaceprop(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEExplosion) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sound_name_; + ::CMsgVector* origin_; + ::CMsgVector* normal_; + ::CMsgVector* debris_origin_; + uint32_t flags_; + uint32_t radius_; + uint32_t magnitude_; + bool affect_ragdolls_; + bool create_debris_; + uint32_t explosion_type_; + uint32_t debris_surfaceprop_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEDust final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEDust) */ { + public: + inline CMsgTEDust() : CMsgTEDust(nullptr) {} + ~CMsgTEDust() override; + explicit PROTOBUF_CONSTEXPR CMsgTEDust(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEDust(const CMsgTEDust& from); + CMsgTEDust(CMsgTEDust&& from) noexcept + : CMsgTEDust() { + *this = ::std::move(from); + } + + inline CMsgTEDust& operator=(const CMsgTEDust& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEDust& operator=(CMsgTEDust&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEDust& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEDust* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEDust_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CMsgTEDust& a, CMsgTEDust& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEDust* 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(CMsgTEDust* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEDust* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEDust& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEDust& from) { + CMsgTEDust::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(CMsgTEDust* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEDust"; + } + protected: + explicit CMsgTEDust(::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 { + kOriginFieldNumber = 1, + kDirectionFieldNumber = 4, + kSizeFieldNumber = 2, + kSpeedFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector direction = 4; + bool has_direction() const; + private: + bool _internal_has_direction() const; + public: + void clear_direction(); + const ::CMsgVector& direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_direction(); + ::CMsgVector* mutable_direction(); + void set_allocated_direction(::CMsgVector* direction); + private: + const ::CMsgVector& _internal_direction() const; + ::CMsgVector* _internal_mutable_direction(); + public: + void unsafe_arena_set_allocated_direction( + ::CMsgVector* direction); + ::CMsgVector* unsafe_arena_release_direction(); + + // optional float size = 2; + bool has_size() const; + private: + bool _internal_has_size() const; + public: + void clear_size(); + float size() const; + void set_size(float value); + private: + float _internal_size() const; + void _internal_set_size(float value); + public: + + // optional float speed = 3; + bool has_speed() const; + private: + bool _internal_has_speed() const; + public: + void clear_speed(); + float speed() const; + void set_speed(float value); + private: + float _internal_speed() const; + void _internal_set_speed(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEDust) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* direction_; + float size_; + float speed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTELargeFunnel final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTELargeFunnel) */ { + public: + inline CMsgTELargeFunnel() : CMsgTELargeFunnel(nullptr) {} + ~CMsgTELargeFunnel() override; + explicit PROTOBUF_CONSTEXPR CMsgTELargeFunnel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTELargeFunnel(const CMsgTELargeFunnel& from); + CMsgTELargeFunnel(CMsgTELargeFunnel&& from) noexcept + : CMsgTELargeFunnel() { + *this = ::std::move(from); + } + + inline CMsgTELargeFunnel& operator=(const CMsgTELargeFunnel& from) { + CopyFrom(from); + return *this; + } + inline CMsgTELargeFunnel& operator=(CMsgTELargeFunnel&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTELargeFunnel& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTELargeFunnel* internal_default_instance() { + return reinterpret_cast( + &_CMsgTELargeFunnel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CMsgTELargeFunnel& a, CMsgTELargeFunnel& b) { + a.Swap(&b); + } + inline void Swap(CMsgTELargeFunnel* 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(CMsgTELargeFunnel* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTELargeFunnel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTELargeFunnel& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTELargeFunnel& from) { + CMsgTELargeFunnel::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(CMsgTELargeFunnel* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTELargeFunnel"; + } + protected: + explicit CMsgTELargeFunnel(::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 { + kOriginFieldNumber = 1, + kReversedFieldNumber = 2, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional uint32 reversed = 2; + bool has_reversed() const; + private: + bool _internal_has_reversed() const; + public: + void clear_reversed(); + uint32_t reversed() const; + void set_reversed(uint32_t value); + private: + uint32_t _internal_reversed() const; + void _internal_set_reversed(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTELargeFunnel) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + uint32_t reversed_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTESparks final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTESparks) */ { + public: + inline CMsgTESparks() : CMsgTESparks(nullptr) {} + ~CMsgTESparks() override; + explicit PROTOBUF_CONSTEXPR CMsgTESparks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTESparks(const CMsgTESparks& from); + CMsgTESparks(CMsgTESparks&& from) noexcept + : CMsgTESparks() { + *this = ::std::move(from); + } + + inline CMsgTESparks& operator=(const CMsgTESparks& from) { + CopyFrom(from); + return *this; + } + inline CMsgTESparks& operator=(CMsgTESparks&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTESparks& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTESparks* internal_default_instance() { + return reinterpret_cast( + &_CMsgTESparks_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CMsgTESparks& a, CMsgTESparks& b) { + a.Swap(&b); + } + inline void Swap(CMsgTESparks* 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(CMsgTESparks* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTESparks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTESparks& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTESparks& from) { + CMsgTESparks::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(CMsgTESparks* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTESparks"; + } + protected: + explicit CMsgTESparks(::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 { + kOriginFieldNumber = 1, + kDirectionFieldNumber = 4, + kMagnitudeFieldNumber = 2, + kLengthFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector direction = 4; + bool has_direction() const; + private: + bool _internal_has_direction() const; + public: + void clear_direction(); + const ::CMsgVector& direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_direction(); + ::CMsgVector* mutable_direction(); + void set_allocated_direction(::CMsgVector* direction); + private: + const ::CMsgVector& _internal_direction() const; + ::CMsgVector* _internal_mutable_direction(); + public: + void unsafe_arena_set_allocated_direction( + ::CMsgVector* direction); + ::CMsgVector* unsafe_arena_release_direction(); + + // optional uint32 magnitude = 2; + bool has_magnitude() const; + private: + bool _internal_has_magnitude() const; + public: + void clear_magnitude(); + uint32_t magnitude() const; + void set_magnitude(uint32_t value); + private: + uint32_t _internal_magnitude() const; + void _internal_set_magnitude(uint32_t value); + public: + + // optional uint32 length = 3; + bool has_length() const; + private: + bool _internal_has_length() const; + public: + void clear_length(); + uint32_t length() const; + void set_length(uint32_t value); + private: + uint32_t _internal_length() const; + void _internal_set_length(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTESparks) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* direction_; + uint32_t magnitude_; + uint32_t length_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEPhysicsProp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEPhysicsProp) */ { + public: + inline CMsgTEPhysicsProp() : CMsgTEPhysicsProp(nullptr) {} + ~CMsgTEPhysicsProp() override; + explicit PROTOBUF_CONSTEXPR CMsgTEPhysicsProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEPhysicsProp(const CMsgTEPhysicsProp& from); + CMsgTEPhysicsProp(CMsgTEPhysicsProp&& from) noexcept + : CMsgTEPhysicsProp() { + *this = ::std::move(from); + } + + inline CMsgTEPhysicsProp& operator=(const CMsgTEPhysicsProp& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEPhysicsProp& operator=(CMsgTEPhysicsProp&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEPhysicsProp& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEPhysicsProp* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEPhysicsProp_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CMsgTEPhysicsProp& a, CMsgTEPhysicsProp& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEPhysicsProp* 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(CMsgTEPhysicsProp* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEPhysicsProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEPhysicsProp& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEPhysicsProp& from) { + CMsgTEPhysicsProp::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(CMsgTEPhysicsProp* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEPhysicsProp"; + } + protected: + explicit CMsgTEPhysicsProp(::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 { + kOriginFieldNumber = 1, + kVelocityFieldNumber = 2, + kAnglesFieldNumber = 3, + kDmgposFieldNumber = 11, + kDmgdirFieldNumber = 12, + kSkinFieldNumber = 4, + kFlagsFieldNumber = 5, + kEffectsFieldNumber = 6, + kColorFieldNumber = 7, + kModelindexFieldNumber = 8, + kUnusedBreakmodelsnottomakeFieldNumber = 9, + kScaleFieldNumber = 10, + kDmgtypeFieldNumber = 13, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector velocity = 2; + bool has_velocity() const; + private: + bool _internal_has_velocity() const; + public: + void clear_velocity(); + const ::CMsgVector& velocity() const; + PROTOBUF_NODISCARD ::CMsgVector* release_velocity(); + ::CMsgVector* mutable_velocity(); + void set_allocated_velocity(::CMsgVector* velocity); + private: + const ::CMsgVector& _internal_velocity() const; + ::CMsgVector* _internal_mutable_velocity(); + public: + void unsafe_arena_set_allocated_velocity( + ::CMsgVector* velocity); + ::CMsgVector* unsafe_arena_release_velocity(); + + // optional .CMsgQAngle angles = 3; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional .CMsgVector dmgpos = 11; + bool has_dmgpos() const; + private: + bool _internal_has_dmgpos() const; + public: + void clear_dmgpos(); + const ::CMsgVector& dmgpos() const; + PROTOBUF_NODISCARD ::CMsgVector* release_dmgpos(); + ::CMsgVector* mutable_dmgpos(); + void set_allocated_dmgpos(::CMsgVector* dmgpos); + private: + const ::CMsgVector& _internal_dmgpos() const; + ::CMsgVector* _internal_mutable_dmgpos(); + public: + void unsafe_arena_set_allocated_dmgpos( + ::CMsgVector* dmgpos); + ::CMsgVector* unsafe_arena_release_dmgpos(); + + // optional .CMsgVector dmgdir = 12; + bool has_dmgdir() const; + private: + bool _internal_has_dmgdir() const; + public: + void clear_dmgdir(); + const ::CMsgVector& dmgdir() const; + PROTOBUF_NODISCARD ::CMsgVector* release_dmgdir(); + ::CMsgVector* mutable_dmgdir(); + void set_allocated_dmgdir(::CMsgVector* dmgdir); + private: + const ::CMsgVector& _internal_dmgdir() const; + ::CMsgVector* _internal_mutable_dmgdir(); + public: + void unsafe_arena_set_allocated_dmgdir( + ::CMsgVector* dmgdir); + ::CMsgVector* unsafe_arena_release_dmgdir(); + + // optional fixed32 skin = 4; + bool has_skin() const; + private: + bool _internal_has_skin() const; + public: + void clear_skin(); + uint32_t skin() const; + void set_skin(uint32_t value); + private: + uint32_t _internal_skin() const; + void _internal_set_skin(uint32_t value); + public: + + // optional uint32 flags = 5; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional uint32 effects = 6; + bool has_effects() const; + private: + bool _internal_has_effects() const; + public: + void clear_effects(); + uint32_t effects() const; + void set_effects(uint32_t value); + private: + uint32_t _internal_effects() const; + void _internal_set_effects(uint32_t value); + public: + + // optional fixed32 color = 7; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional fixed64 modelindex = 8; + bool has_modelindex() const; + private: + bool _internal_has_modelindex() const; + public: + void clear_modelindex(); + uint64_t modelindex() const; + void set_modelindex(uint64_t value); + private: + uint64_t _internal_modelindex() const; + void _internal_set_modelindex(uint64_t value); + public: + + // optional uint32 unused_breakmodelsnottomake = 9; + bool has_unused_breakmodelsnottomake() const; + private: + bool _internal_has_unused_breakmodelsnottomake() const; + public: + void clear_unused_breakmodelsnottomake(); + uint32_t unused_breakmodelsnottomake() const; + void set_unused_breakmodelsnottomake(uint32_t value); + private: + uint32_t _internal_unused_breakmodelsnottomake() const; + void _internal_set_unused_breakmodelsnottomake(uint32_t value); + public: + + // optional float scale = 10; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // optional int32 dmgtype = 13; + bool has_dmgtype() const; + private: + bool _internal_has_dmgtype() const; + public: + void clear_dmgtype(); + int32_t dmgtype() const; + void set_dmgtype(int32_t value); + private: + int32_t _internal_dmgtype() const; + void _internal_set_dmgtype(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEPhysicsProp) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* velocity_; + ::CMsgQAngle* angles_; + ::CMsgVector* dmgpos_; + ::CMsgVector* dmgdir_; + uint32_t skin_; + uint32_t flags_; + uint32_t effects_; + uint32_t color_; + uint64_t modelindex_; + uint32_t unused_breakmodelsnottomake_; + float scale_; + int32_t dmgtype_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTESmoke final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTESmoke) */ { + public: + inline CMsgTESmoke() : CMsgTESmoke(nullptr) {} + ~CMsgTESmoke() override; + explicit PROTOBUF_CONSTEXPR CMsgTESmoke(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTESmoke(const CMsgTESmoke& from); + CMsgTESmoke(CMsgTESmoke&& from) noexcept + : CMsgTESmoke() { + *this = ::std::move(from); + } + + inline CMsgTESmoke& operator=(const CMsgTESmoke& from) { + CopyFrom(from); + return *this; + } + inline CMsgTESmoke& operator=(CMsgTESmoke&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTESmoke& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTESmoke* internal_default_instance() { + return reinterpret_cast( + &_CMsgTESmoke_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CMsgTESmoke& a, CMsgTESmoke& b) { + a.Swap(&b); + } + inline void Swap(CMsgTESmoke* 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(CMsgTESmoke* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTESmoke* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTESmoke& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTESmoke& from) { + CMsgTESmoke::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(CMsgTESmoke* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTESmoke"; + } + protected: + explicit CMsgTESmoke(::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 { + kOriginFieldNumber = 1, + kScaleFieldNumber = 2, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional float scale = 2; + bool has_scale() const; + private: + bool _internal_has_scale() const; + public: + void clear_scale(); + float scale() const; + void set_scale(float value); + private: + float _internal_scale() const; + void _internal_set_scale(float value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTESmoke) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + float scale_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// ------------------------------------------------------------------- + +class CMsgTEWorldDecal final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEWorldDecal) */ { + public: + inline CMsgTEWorldDecal() : CMsgTEWorldDecal(nullptr) {} + ~CMsgTEWorldDecal() override; + explicit PROTOBUF_CONSTEXPR CMsgTEWorldDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CMsgTEWorldDecal(const CMsgTEWorldDecal& from); + CMsgTEWorldDecal(CMsgTEWorldDecal&& from) noexcept + : CMsgTEWorldDecal() { + *this = ::std::move(from); + } + + inline CMsgTEWorldDecal& operator=(const CMsgTEWorldDecal& from) { + CopyFrom(from); + return *this; + } + inline CMsgTEWorldDecal& operator=(CMsgTEWorldDecal&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CMsgTEWorldDecal& default_instance() { + return *internal_default_instance(); + } + static inline const CMsgTEWorldDecal* internal_default_instance() { + return reinterpret_cast( + &_CMsgTEWorldDecal_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CMsgTEWorldDecal& a, CMsgTEWorldDecal& b) { + a.Swap(&b); + } + inline void Swap(CMsgTEWorldDecal* 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(CMsgTEWorldDecal* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CMsgTEWorldDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CMsgTEWorldDecal& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CMsgTEWorldDecal& from) { + CMsgTEWorldDecal::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(CMsgTEWorldDecal* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CMsgTEWorldDecal"; + } + protected: + explicit CMsgTEWorldDecal(::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 { + kOriginFieldNumber = 1, + kNormalFieldNumber = 2, + kIndexFieldNumber = 3, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CMsgVector normal = 2; + bool has_normal() const; + private: + bool _internal_has_normal() const; + public: + void clear_normal(); + const ::CMsgVector& normal() const; + PROTOBUF_NODISCARD ::CMsgVector* release_normal(); + ::CMsgVector* mutable_normal(); + void set_allocated_normal(::CMsgVector* normal); + private: + const ::CMsgVector& _internal_normal() const; + ::CMsgVector* _internal_mutable_normal(); + public: + void unsafe_arena_set_allocated_normal( + ::CMsgVector* normal); + ::CMsgVector* unsafe_arena_release_normal(); + + // optional uint32 index = 3; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + uint32_t index() const; + void set_index(uint32_t value); + private: + uint32_t _internal_index() const; + void _internal_set_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CMsgTEWorldDecal) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CMsgVector* normal_; + uint32_t index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_te_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMsgTEArmorRicochet + +// optional .CMsgVector pos = 1; +inline bool CMsgTEArmorRicochet::_internal_has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline bool CMsgTEArmorRicochet::has_pos() const { + return _internal_has_pos(); +} +inline const ::CMsgVector& CMsgTEArmorRicochet::_internal_pos() const { + const ::CMsgVector* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEArmorRicochet::pos() const { + // @@protoc_insertion_point(field_get:CMsgTEArmorRicochet.pos) + return _internal_pos(); +} +inline void CMsgTEArmorRicochet::unsafe_arena_set_allocated_pos( + ::CMsgVector* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEArmorRicochet.pos) +} +inline ::CMsgVector* CMsgTEArmorRicochet::release_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* 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 ::CMsgVector* CMsgTEArmorRicochet::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:CMsgTEArmorRicochet.pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEArmorRicochet::_internal_mutable_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::CMsgVector* CMsgTEArmorRicochet::mutable_pos() { + ::CMsgVector* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:CMsgTEArmorRicochet.pos) + return _msg; +} +inline void CMsgTEArmorRicochet::set_allocated_pos(::CMsgVector* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:CMsgTEArmorRicochet.pos) +} + +// optional .CMsgVector dir = 2; +inline bool CMsgTEArmorRicochet::_internal_has_dir() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dir_ != nullptr); + return value; +} +inline bool CMsgTEArmorRicochet::has_dir() const { + return _internal_has_dir(); +} +inline const ::CMsgVector& CMsgTEArmorRicochet::_internal_dir() const { + const ::CMsgVector* p = _impl_.dir_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEArmorRicochet::dir() const { + // @@protoc_insertion_point(field_get:CMsgTEArmorRicochet.dir) + return _internal_dir(); +} +inline void CMsgTEArmorRicochet::unsafe_arena_set_allocated_dir( + ::CMsgVector* dir) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); + } + _impl_.dir_ = dir; + if (dir) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEArmorRicochet.dir) +} +inline ::CMsgVector* CMsgTEArmorRicochet::release_dir() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.dir_; + _impl_.dir_ = 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 ::CMsgVector* CMsgTEArmorRicochet::unsafe_arena_release_dir() { + // @@protoc_insertion_point(field_release:CMsgTEArmorRicochet.dir) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.dir_; + _impl_.dir_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEArmorRicochet::_internal_mutable_dir() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.dir_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.dir_ = p; + } + return _impl_.dir_; +} +inline ::CMsgVector* CMsgTEArmorRicochet::mutable_dir() { + ::CMsgVector* _msg = _internal_mutable_dir(); + // @@protoc_insertion_point(field_mutable:CMsgTEArmorRicochet.dir) + return _msg; +} +inline void CMsgTEArmorRicochet::set_allocated_dir(::CMsgVector* dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); + } + if (dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dir)); + if (message_arena != submessage_arena) { + dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dir, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.dir_ = dir; + // @@protoc_insertion_point(field_set_allocated:CMsgTEArmorRicochet.dir) +} + +// ------------------------------------------------------------------- + +// CMsgTEBaseBeam + +// optional fixed64 modelindex = 1; +inline bool CMsgTEBaseBeam::_internal_has_modelindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_modelindex() const { + return _internal_has_modelindex(); +} +inline void CMsgTEBaseBeam::clear_modelindex() { + _impl_.modelindex_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CMsgTEBaseBeam::_internal_modelindex() const { + return _impl_.modelindex_; +} +inline uint64_t CMsgTEBaseBeam::modelindex() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.modelindex) + return _internal_modelindex(); +} +inline void CMsgTEBaseBeam::_internal_set_modelindex(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.modelindex_ = value; +} +inline void CMsgTEBaseBeam::set_modelindex(uint64_t value) { + _internal_set_modelindex(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.modelindex) +} + +// optional fixed64 haloindex = 2; +inline bool CMsgTEBaseBeam::_internal_has_haloindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_haloindex() const { + return _internal_has_haloindex(); +} +inline void CMsgTEBaseBeam::clear_haloindex() { + _impl_.haloindex_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CMsgTEBaseBeam::_internal_haloindex() const { + return _impl_.haloindex_; +} +inline uint64_t CMsgTEBaseBeam::haloindex() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.haloindex) + return _internal_haloindex(); +} +inline void CMsgTEBaseBeam::_internal_set_haloindex(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.haloindex_ = value; +} +inline void CMsgTEBaseBeam::set_haloindex(uint64_t value) { + _internal_set_haloindex(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.haloindex) +} + +// optional uint32 startframe = 3; +inline bool CMsgTEBaseBeam::_internal_has_startframe() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_startframe() const { + return _internal_has_startframe(); +} +inline void CMsgTEBaseBeam::clear_startframe() { + _impl_.startframe_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEBaseBeam::_internal_startframe() const { + return _impl_.startframe_; +} +inline uint32_t CMsgTEBaseBeam::startframe() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.startframe) + return _internal_startframe(); +} +inline void CMsgTEBaseBeam::_internal_set_startframe(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.startframe_ = value; +} +inline void CMsgTEBaseBeam::set_startframe(uint32_t value) { + _internal_set_startframe(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.startframe) +} + +// optional uint32 framerate = 4; +inline bool CMsgTEBaseBeam::_internal_has_framerate() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_framerate() const { + return _internal_has_framerate(); +} +inline void CMsgTEBaseBeam::clear_framerate() { + _impl_.framerate_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEBaseBeam::_internal_framerate() const { + return _impl_.framerate_; +} +inline uint32_t CMsgTEBaseBeam::framerate() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.framerate) + return _internal_framerate(); +} +inline void CMsgTEBaseBeam::_internal_set_framerate(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.framerate_ = value; +} +inline void CMsgTEBaseBeam::set_framerate(uint32_t value) { + _internal_set_framerate(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.framerate) +} + +// optional float life = 5; +inline bool CMsgTEBaseBeam::_internal_has_life() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_life() const { + return _internal_has_life(); +} +inline void CMsgTEBaseBeam::clear_life() { + _impl_.life_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgTEBaseBeam::_internal_life() const { + return _impl_.life_; +} +inline float CMsgTEBaseBeam::life() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.life) + return _internal_life(); +} +inline void CMsgTEBaseBeam::_internal_set_life(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.life_ = value; +} +inline void CMsgTEBaseBeam::set_life(float value) { + _internal_set_life(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.life) +} + +// optional float width = 6; +inline bool CMsgTEBaseBeam::_internal_has_width() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_width() const { + return _internal_has_width(); +} +inline void CMsgTEBaseBeam::clear_width() { + _impl_.width_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgTEBaseBeam::_internal_width() const { + return _impl_.width_; +} +inline float CMsgTEBaseBeam::width() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.width) + return _internal_width(); +} +inline void CMsgTEBaseBeam::_internal_set_width(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.width_ = value; +} +inline void CMsgTEBaseBeam::set_width(float value) { + _internal_set_width(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.width) +} + +// optional float endwidth = 7; +inline bool CMsgTEBaseBeam::_internal_has_endwidth() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_endwidth() const { + return _internal_has_endwidth(); +} +inline void CMsgTEBaseBeam::clear_endwidth() { + _impl_.endwidth_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgTEBaseBeam::_internal_endwidth() const { + return _impl_.endwidth_; +} +inline float CMsgTEBaseBeam::endwidth() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.endwidth) + return _internal_endwidth(); +} +inline void CMsgTEBaseBeam::_internal_set_endwidth(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.endwidth_ = value; +} +inline void CMsgTEBaseBeam::set_endwidth(float value) { + _internal_set_endwidth(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.endwidth) +} + +// optional uint32 fadelength = 8; +inline bool CMsgTEBaseBeam::_internal_has_fadelength() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_fadelength() const { + return _internal_has_fadelength(); +} +inline void CMsgTEBaseBeam::clear_fadelength() { + _impl_.fadelength_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgTEBaseBeam::_internal_fadelength() const { + return _impl_.fadelength_; +} +inline uint32_t CMsgTEBaseBeam::fadelength() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.fadelength) + return _internal_fadelength(); +} +inline void CMsgTEBaseBeam::_internal_set_fadelength(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.fadelength_ = value; +} +inline void CMsgTEBaseBeam::set_fadelength(uint32_t value) { + _internal_set_fadelength(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.fadelength) +} + +// optional float amplitude = 9; +inline bool CMsgTEBaseBeam::_internal_has_amplitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_amplitude() const { + return _internal_has_amplitude(); +} +inline void CMsgTEBaseBeam::clear_amplitude() { + _impl_.amplitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline float CMsgTEBaseBeam::_internal_amplitude() const { + return _impl_.amplitude_; +} +inline float CMsgTEBaseBeam::amplitude() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.amplitude) + return _internal_amplitude(); +} +inline void CMsgTEBaseBeam::_internal_set_amplitude(float value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.amplitude_ = value; +} +inline void CMsgTEBaseBeam::set_amplitude(float value) { + _internal_set_amplitude(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.amplitude) +} + +// optional fixed32 color = 10; +inline bool CMsgTEBaseBeam::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_color() const { + return _internal_has_color(); +} +inline void CMsgTEBaseBeam::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgTEBaseBeam::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CMsgTEBaseBeam::color() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.color) + return _internal_color(); +} +inline void CMsgTEBaseBeam::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.color_ = value; +} +inline void CMsgTEBaseBeam::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.color) +} + +// optional uint32 speed = 11; +inline bool CMsgTEBaseBeam::_internal_has_speed() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_speed() const { + return _internal_has_speed(); +} +inline void CMsgTEBaseBeam::clear_speed() { + _impl_.speed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgTEBaseBeam::_internal_speed() const { + return _impl_.speed_; +} +inline uint32_t CMsgTEBaseBeam::speed() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.speed) + return _internal_speed(); +} +inline void CMsgTEBaseBeam::_internal_set_speed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.speed_ = value; +} +inline void CMsgTEBaseBeam::set_speed(uint32_t value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.speed) +} + +// optional uint32 flags = 12; +inline bool CMsgTEBaseBeam::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgTEBaseBeam::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgTEBaseBeam::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgTEBaseBeam::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgTEBaseBeam::flags() const { + // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.flags) + return _internal_flags(); +} +inline void CMsgTEBaseBeam::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.flags_ = value; +} +inline void CMsgTEBaseBeam::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.flags) +} + +// ------------------------------------------------------------------- + +// CMsgTEBeamEntPoint + +// optional .CMsgTEBaseBeam base = 1; +inline bool CMsgTEBeamEntPoint::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CMsgTEBeamEntPoint::has_base() const { + return _internal_has_base(); +} +inline void CMsgTEBeamEntPoint::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamEntPoint::_internal_base() const { + const ::CMsgTEBaseBeam* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTEBaseBeam_default_instance_); +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamEntPoint::base() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.base) + return _internal_base(); +} +inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.base) +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = 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 ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::mutable_base() { + ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.base) + return _msg; +} +inline void CMsgTEBeamEntPoint::set_allocated_base(::CMsgTEBaseBeam* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.base_; + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.base) +} + +// optional uint32 startentity = 2; +inline bool CMsgTEBeamEntPoint::_internal_has_startentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEBeamEntPoint::has_startentity() const { + return _internal_has_startentity(); +} +inline void CMsgTEBeamEntPoint::clear_startentity() { + _impl_.startentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEBeamEntPoint::_internal_startentity() const { + return _impl_.startentity_; +} +inline uint32_t CMsgTEBeamEntPoint::startentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.startentity) + return _internal_startentity(); +} +inline void CMsgTEBeamEntPoint::_internal_set_startentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.startentity_ = value; +} +inline void CMsgTEBeamEntPoint::set_startentity(uint32_t value) { + _internal_set_startentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamEntPoint.startentity) +} + +// optional uint32 endentity = 3; +inline bool CMsgTEBeamEntPoint::_internal_has_endentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEBeamEntPoint::has_endentity() const { + return _internal_has_endentity(); +} +inline void CMsgTEBeamEntPoint::clear_endentity() { + _impl_.endentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgTEBeamEntPoint::_internal_endentity() const { + return _impl_.endentity_; +} +inline uint32_t CMsgTEBeamEntPoint::endentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.endentity) + return _internal_endentity(); +} +inline void CMsgTEBeamEntPoint::_internal_set_endentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.endentity_ = value; +} +inline void CMsgTEBeamEntPoint::set_endentity(uint32_t value) { + _internal_set_endentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamEntPoint.endentity) +} + +// optional .CMsgVector start = 4; +inline bool CMsgTEBeamEntPoint::_internal_has_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); + return value; +} +inline bool CMsgTEBeamEntPoint::has_start() const { + return _internal_has_start(); +} +inline const ::CMsgVector& CMsgTEBeamEntPoint::_internal_start() const { + const ::CMsgVector* p = _impl_.start_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBeamEntPoint::start() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.start) + return _internal_start(); +} +inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_start( + ::CMsgVector* start) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + _impl_.start_ = start; + if (start) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.start) +} +inline ::CMsgVector* CMsgTEBeamEntPoint::release_start() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = 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 ::CMsgVector* CMsgTEBeamEntPoint::unsafe_arena_release_start() { + // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.start) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBeamEntPoint::_internal_mutable_start() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.start_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.start_ = p; + } + return _impl_.start_; +} +inline ::CMsgVector* CMsgTEBeamEntPoint::mutable_start() { + ::CMsgVector* _msg = _internal_mutable_start(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.start) + return _msg; +} +inline void CMsgTEBeamEntPoint::set_allocated_start(::CMsgVector* start) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + if (start) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); + if (message_arena != submessage_arena) { + start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, start, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.start_ = start; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.start) +} + +// optional .CMsgVector end = 5; +inline bool CMsgTEBeamEntPoint::_internal_has_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.end_ != nullptr); + return value; +} +inline bool CMsgTEBeamEntPoint::has_end() const { + return _internal_has_end(); +} +inline const ::CMsgVector& CMsgTEBeamEntPoint::_internal_end() const { + const ::CMsgVector* p = _impl_.end_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBeamEntPoint::end() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.end) + return _internal_end(); +} +inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_end( + ::CMsgVector* end) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); + } + _impl_.end_ = end; + if (end) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.end) +} +inline ::CMsgVector* CMsgTEBeamEntPoint::release_end() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.end_; + _impl_.end_ = 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 ::CMsgVector* CMsgTEBeamEntPoint::unsafe_arena_release_end() { + // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.end) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.end_; + _impl_.end_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBeamEntPoint::_internal_mutable_end() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.end_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.end_ = p; + } + return _impl_.end_; +} +inline ::CMsgVector* CMsgTEBeamEntPoint::mutable_end() { + ::CMsgVector* _msg = _internal_mutable_end(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.end) + return _msg; +} +inline void CMsgTEBeamEntPoint::set_allocated_end(::CMsgVector* end) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); + } + if (end) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end)); + if (message_arena != submessage_arena) { + end = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, end, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.end_ = end; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.end) +} + +// ------------------------------------------------------------------- + +// CMsgTEBeamEnts + +// optional .CMsgTEBaseBeam base = 1; +inline bool CMsgTEBeamEnts::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CMsgTEBeamEnts::has_base() const { + return _internal_has_base(); +} +inline void CMsgTEBeamEnts::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamEnts::_internal_base() const { + const ::CMsgTEBaseBeam* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTEBaseBeam_default_instance_); +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamEnts::base() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.base) + return _internal_base(); +} +inline void CMsgTEBeamEnts::unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEnts.base) +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = 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 ::CMsgTEBaseBeam* CMsgTEBeamEnts::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CMsgTEBeamEnts.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::mutable_base() { + ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamEnts.base) + return _msg; +} +inline void CMsgTEBeamEnts::set_allocated_base(::CMsgTEBaseBeam* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.base_; + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEnts.base) +} + +// optional uint32 startentity = 2; +inline bool CMsgTEBeamEnts::_internal_has_startentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEBeamEnts::has_startentity() const { + return _internal_has_startentity(); +} +inline void CMsgTEBeamEnts::clear_startentity() { + _impl_.startentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgTEBeamEnts::_internal_startentity() const { + return _impl_.startentity_; +} +inline uint32_t CMsgTEBeamEnts::startentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.startentity) + return _internal_startentity(); +} +inline void CMsgTEBeamEnts::_internal_set_startentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.startentity_ = value; +} +inline void CMsgTEBeamEnts::set_startentity(uint32_t value) { + _internal_set_startentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamEnts.startentity) +} + +// optional uint32 endentity = 3; +inline bool CMsgTEBeamEnts::_internal_has_endentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBeamEnts::has_endentity() const { + return _internal_has_endentity(); +} +inline void CMsgTEBeamEnts::clear_endentity() { + _impl_.endentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEBeamEnts::_internal_endentity() const { + return _impl_.endentity_; +} +inline uint32_t CMsgTEBeamEnts::endentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.endentity) + return _internal_endentity(); +} +inline void CMsgTEBeamEnts::_internal_set_endentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.endentity_ = value; +} +inline void CMsgTEBeamEnts::set_endentity(uint32_t value) { + _internal_set_endentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamEnts.endentity) +} + +// ------------------------------------------------------------------- + +// CMsgTEBeamPoints + +// optional .CMsgTEBaseBeam base = 1; +inline bool CMsgTEBeamPoints::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CMsgTEBeamPoints::has_base() const { + return _internal_has_base(); +} +inline void CMsgTEBeamPoints::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamPoints::_internal_base() const { + const ::CMsgTEBaseBeam* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTEBaseBeam_default_instance_); +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamPoints::base() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.base) + return _internal_base(); +} +inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.base) +} +inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = 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 ::CMsgTEBaseBeam* CMsgTEBeamPoints::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::mutable_base() { + ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.base) + return _msg; +} +inline void CMsgTEBeamPoints::set_allocated_base(::CMsgTEBaseBeam* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.base_; + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.base) +} + +// optional .CMsgVector start = 2; +inline bool CMsgTEBeamPoints::_internal_has_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); + return value; +} +inline bool CMsgTEBeamPoints::has_start() const { + return _internal_has_start(); +} +inline const ::CMsgVector& CMsgTEBeamPoints::_internal_start() const { + const ::CMsgVector* p = _impl_.start_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBeamPoints::start() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.start) + return _internal_start(); +} +inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_start( + ::CMsgVector* start) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + _impl_.start_ = start; + if (start) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.start) +} +inline ::CMsgVector* CMsgTEBeamPoints::release_start() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = 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 ::CMsgVector* CMsgTEBeamPoints::unsafe_arena_release_start() { + // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.start) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBeamPoints::_internal_mutable_start() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.start_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.start_ = p; + } + return _impl_.start_; +} +inline ::CMsgVector* CMsgTEBeamPoints::mutable_start() { + ::CMsgVector* _msg = _internal_mutable_start(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.start) + return _msg; +} +inline void CMsgTEBeamPoints::set_allocated_start(::CMsgVector* start) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + if (start) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); + if (message_arena != submessage_arena) { + start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, start, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.start_ = start; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.start) +} + +// optional .CMsgVector end = 3; +inline bool CMsgTEBeamPoints::_internal_has_end() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.end_ != nullptr); + return value; +} +inline bool CMsgTEBeamPoints::has_end() const { + return _internal_has_end(); +} +inline const ::CMsgVector& CMsgTEBeamPoints::_internal_end() const { + const ::CMsgVector* p = _impl_.end_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBeamPoints::end() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.end) + return _internal_end(); +} +inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_end( + ::CMsgVector* end) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); + } + _impl_.end_ = end; + if (end) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.end) +} +inline ::CMsgVector* CMsgTEBeamPoints::release_end() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.end_; + _impl_.end_ = 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 ::CMsgVector* CMsgTEBeamPoints::unsafe_arena_release_end() { + // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.end) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.end_; + _impl_.end_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBeamPoints::_internal_mutable_end() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.end_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.end_ = p; + } + return _impl_.end_; +} +inline ::CMsgVector* CMsgTEBeamPoints::mutable_end() { + ::CMsgVector* _msg = _internal_mutable_end(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.end) + return _msg; +} +inline void CMsgTEBeamPoints::set_allocated_end(::CMsgVector* end) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); + } + if (end) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end)); + if (message_arena != submessage_arena) { + end = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, end, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.end_ = end; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.end) +} + +// ------------------------------------------------------------------- + +// CMsgTEBeamRing + +// optional .CMsgTEBaseBeam base = 1; +inline bool CMsgTEBeamRing::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CMsgTEBeamRing::has_base() const { + return _internal_has_base(); +} +inline void CMsgTEBeamRing::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamRing::_internal_base() const { + const ::CMsgTEBaseBeam* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgTEBaseBeam_default_instance_); +} +inline const ::CMsgTEBaseBeam& CMsgTEBeamRing::base() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamRing.base) + return _internal_base(); +} +inline void CMsgTEBeamRing::unsafe_arena_set_allocated_base( + ::CMsgTEBaseBeam* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamRing.base) +} +inline ::CMsgTEBaseBeam* CMsgTEBeamRing::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = 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 ::CMsgTEBaseBeam* CMsgTEBeamRing::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CMsgTEBeamRing.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgTEBaseBeam* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamRing::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CMsgTEBaseBeam* CMsgTEBeamRing::mutable_base() { + ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CMsgTEBeamRing.base) + return _msg; +} +inline void CMsgTEBeamRing::set_allocated_base(::CMsgTEBaseBeam* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.base_; + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamRing.base) +} + +// optional uint32 startentity = 2; +inline bool CMsgTEBeamRing::_internal_has_startentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEBeamRing::has_startentity() const { + return _internal_has_startentity(); +} +inline void CMsgTEBeamRing::clear_startentity() { + _impl_.startentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgTEBeamRing::_internal_startentity() const { + return _impl_.startentity_; +} +inline uint32_t CMsgTEBeamRing::startentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamRing.startentity) + return _internal_startentity(); +} +inline void CMsgTEBeamRing::_internal_set_startentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.startentity_ = value; +} +inline void CMsgTEBeamRing::set_startentity(uint32_t value) { + _internal_set_startentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamRing.startentity) +} + +// optional uint32 endentity = 3; +inline bool CMsgTEBeamRing::_internal_has_endentity() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBeamRing::has_endentity() const { + return _internal_has_endentity(); +} +inline void CMsgTEBeamRing::clear_endentity() { + _impl_.endentity_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEBeamRing::_internal_endentity() const { + return _impl_.endentity_; +} +inline uint32_t CMsgTEBeamRing::endentity() const { + // @@protoc_insertion_point(field_get:CMsgTEBeamRing.endentity) + return _internal_endentity(); +} +inline void CMsgTEBeamRing::_internal_set_endentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.endentity_ = value; +} +inline void CMsgTEBeamRing::set_endentity(uint32_t value) { + _internal_set_endentity(value); + // @@protoc_insertion_point(field_set:CMsgTEBeamRing.endentity) +} + +// ------------------------------------------------------------------- + +// CMsgTEBubbles + +// optional .CMsgVector mins = 1; +inline bool CMsgTEBubbles::_internal_has_mins() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.mins_ != nullptr); + return value; +} +inline bool CMsgTEBubbles::has_mins() const { + return _internal_has_mins(); +} +inline const ::CMsgVector& CMsgTEBubbles::_internal_mins() const { + const ::CMsgVector* p = _impl_.mins_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBubbles::mins() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbles.mins) + return _internal_mins(); +} +inline void CMsgTEBubbles::unsafe_arena_set_allocated_mins( + ::CMsgVector* mins) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); + } + _impl_.mins_ = mins; + if (mins) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbles.mins) +} +inline ::CMsgVector* CMsgTEBubbles::release_mins() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.mins_; + _impl_.mins_ = 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 ::CMsgVector* CMsgTEBubbles::unsafe_arena_release_mins() { + // @@protoc_insertion_point(field_release:CMsgTEBubbles.mins) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.mins_; + _impl_.mins_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBubbles::_internal_mutable_mins() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.mins_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.mins_ = p; + } + return _impl_.mins_; +} +inline ::CMsgVector* CMsgTEBubbles::mutable_mins() { + ::CMsgVector* _msg = _internal_mutable_mins(); + // @@protoc_insertion_point(field_mutable:CMsgTEBubbles.mins) + return _msg; +} +inline void CMsgTEBubbles::set_allocated_mins(::CMsgVector* mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); + } + if (mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mins)); + if (message_arena != submessage_arena) { + mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, mins, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.mins_ = mins; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbles.mins) +} + +// optional .CMsgVector maxs = 2; +inline bool CMsgTEBubbles::_internal_has_maxs() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.maxs_ != nullptr); + return value; +} +inline bool CMsgTEBubbles::has_maxs() const { + return _internal_has_maxs(); +} +inline const ::CMsgVector& CMsgTEBubbles::_internal_maxs() const { + const ::CMsgVector* p = _impl_.maxs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBubbles::maxs() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbles.maxs) + return _internal_maxs(); +} +inline void CMsgTEBubbles::unsafe_arena_set_allocated_maxs( + ::CMsgVector* maxs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); + } + _impl_.maxs_ = maxs; + if (maxs) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbles.maxs) +} +inline ::CMsgVector* CMsgTEBubbles::release_maxs() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.maxs_; + _impl_.maxs_ = 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 ::CMsgVector* CMsgTEBubbles::unsafe_arena_release_maxs() { + // @@protoc_insertion_point(field_release:CMsgTEBubbles.maxs) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.maxs_; + _impl_.maxs_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBubbles::_internal_mutable_maxs() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.maxs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.maxs_ = p; + } + return _impl_.maxs_; +} +inline ::CMsgVector* CMsgTEBubbles::mutable_maxs() { + ::CMsgVector* _msg = _internal_mutable_maxs(); + // @@protoc_insertion_point(field_mutable:CMsgTEBubbles.maxs) + return _msg; +} +inline void CMsgTEBubbles::set_allocated_maxs(::CMsgVector* maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); + } + if (maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(maxs)); + if (message_arena != submessage_arena) { + maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, maxs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.maxs_ = maxs; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbles.maxs) +} + +// optional float height = 3; +inline bool CMsgTEBubbles::_internal_has_height() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBubbles::has_height() const { + return _internal_has_height(); +} +inline void CMsgTEBubbles::clear_height() { + _impl_.height_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEBubbles::_internal_height() const { + return _impl_.height_; +} +inline float CMsgTEBubbles::height() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbles.height) + return _internal_height(); +} +inline void CMsgTEBubbles::_internal_set_height(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.height_ = value; +} +inline void CMsgTEBubbles::set_height(float value) { + _internal_set_height(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbles.height) +} + +// optional uint32 count = 4; +inline bool CMsgTEBubbles::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEBubbles::has_count() const { + return _internal_has_count(); +} +inline void CMsgTEBubbles::clear_count() { + _impl_.count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEBubbles::_internal_count() const { + return _impl_.count_; +} +inline uint32_t CMsgTEBubbles::count() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbles.count) + return _internal_count(); +} +inline void CMsgTEBubbles::_internal_set_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.count_ = value; +} +inline void CMsgTEBubbles::set_count(uint32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbles.count) +} + +// optional float speed = 5; +inline bool CMsgTEBubbles::_internal_has_speed() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEBubbles::has_speed() const { + return _internal_has_speed(); +} +inline void CMsgTEBubbles::clear_speed() { + _impl_.speed_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgTEBubbles::_internal_speed() const { + return _impl_.speed_; +} +inline float CMsgTEBubbles::speed() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbles.speed) + return _internal_speed(); +} +inline void CMsgTEBubbles::_internal_set_speed(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.speed_ = value; +} +inline void CMsgTEBubbles::set_speed(float value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbles.speed) +} + +// ------------------------------------------------------------------- + +// CMsgTEBubbleTrail + +// optional .CMsgVector mins = 1; +inline bool CMsgTEBubbleTrail::_internal_has_mins() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.mins_ != nullptr); + return value; +} +inline bool CMsgTEBubbleTrail::has_mins() const { + return _internal_has_mins(); +} +inline const ::CMsgVector& CMsgTEBubbleTrail::_internal_mins() const { + const ::CMsgVector* p = _impl_.mins_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBubbleTrail::mins() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.mins) + return _internal_mins(); +} +inline void CMsgTEBubbleTrail::unsafe_arena_set_allocated_mins( + ::CMsgVector* mins) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); + } + _impl_.mins_ = mins; + if (mins) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbleTrail.mins) +} +inline ::CMsgVector* CMsgTEBubbleTrail::release_mins() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.mins_; + _impl_.mins_ = 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 ::CMsgVector* CMsgTEBubbleTrail::unsafe_arena_release_mins() { + // @@protoc_insertion_point(field_release:CMsgTEBubbleTrail.mins) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.mins_; + _impl_.mins_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBubbleTrail::_internal_mutable_mins() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.mins_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.mins_ = p; + } + return _impl_.mins_; +} +inline ::CMsgVector* CMsgTEBubbleTrail::mutable_mins() { + ::CMsgVector* _msg = _internal_mutable_mins(); + // @@protoc_insertion_point(field_mutable:CMsgTEBubbleTrail.mins) + return _msg; +} +inline void CMsgTEBubbleTrail::set_allocated_mins(::CMsgVector* mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); + } + if (mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mins)); + if (message_arena != submessage_arena) { + mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, mins, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.mins_ = mins; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbleTrail.mins) +} + +// optional .CMsgVector maxs = 2; +inline bool CMsgTEBubbleTrail::_internal_has_maxs() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.maxs_ != nullptr); + return value; +} +inline bool CMsgTEBubbleTrail::has_maxs() const { + return _internal_has_maxs(); +} +inline const ::CMsgVector& CMsgTEBubbleTrail::_internal_maxs() const { + const ::CMsgVector* p = _impl_.maxs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBubbleTrail::maxs() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.maxs) + return _internal_maxs(); +} +inline void CMsgTEBubbleTrail::unsafe_arena_set_allocated_maxs( + ::CMsgVector* maxs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); + } + _impl_.maxs_ = maxs; + if (maxs) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbleTrail.maxs) +} +inline ::CMsgVector* CMsgTEBubbleTrail::release_maxs() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.maxs_; + _impl_.maxs_ = 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 ::CMsgVector* CMsgTEBubbleTrail::unsafe_arena_release_maxs() { + // @@protoc_insertion_point(field_release:CMsgTEBubbleTrail.maxs) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.maxs_; + _impl_.maxs_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBubbleTrail::_internal_mutable_maxs() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.maxs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.maxs_ = p; + } + return _impl_.maxs_; +} +inline ::CMsgVector* CMsgTEBubbleTrail::mutable_maxs() { + ::CMsgVector* _msg = _internal_mutable_maxs(); + // @@protoc_insertion_point(field_mutable:CMsgTEBubbleTrail.maxs) + return _msg; +} +inline void CMsgTEBubbleTrail::set_allocated_maxs(::CMsgVector* maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); + } + if (maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(maxs)); + if (message_arena != submessage_arena) { + maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, maxs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.maxs_ = maxs; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbleTrail.maxs) +} + +// optional float waterz = 3; +inline bool CMsgTEBubbleTrail::_internal_has_waterz() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBubbleTrail::has_waterz() const { + return _internal_has_waterz(); +} +inline void CMsgTEBubbleTrail::clear_waterz() { + _impl_.waterz_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEBubbleTrail::_internal_waterz() const { + return _impl_.waterz_; +} +inline float CMsgTEBubbleTrail::waterz() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.waterz) + return _internal_waterz(); +} +inline void CMsgTEBubbleTrail::_internal_set_waterz(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.waterz_ = value; +} +inline void CMsgTEBubbleTrail::set_waterz(float value) { + _internal_set_waterz(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.waterz) +} + +// optional uint32 count = 4; +inline bool CMsgTEBubbleTrail::_internal_has_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEBubbleTrail::has_count() const { + return _internal_has_count(); +} +inline void CMsgTEBubbleTrail::clear_count() { + _impl_.count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEBubbleTrail::_internal_count() const { + return _impl_.count_; +} +inline uint32_t CMsgTEBubbleTrail::count() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.count) + return _internal_count(); +} +inline void CMsgTEBubbleTrail::_internal_set_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.count_ = value; +} +inline void CMsgTEBubbleTrail::set_count(uint32_t value) { + _internal_set_count(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.count) +} + +// optional float speed = 5; +inline bool CMsgTEBubbleTrail::_internal_has_speed() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEBubbleTrail::has_speed() const { + return _internal_has_speed(); +} +inline void CMsgTEBubbleTrail::clear_speed() { + _impl_.speed_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgTEBubbleTrail::_internal_speed() const { + return _impl_.speed_; +} +inline float CMsgTEBubbleTrail::speed() const { + // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.speed) + return _internal_speed(); +} +inline void CMsgTEBubbleTrail::_internal_set_speed(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.speed_ = value; +} +inline void CMsgTEBubbleTrail::set_speed(float value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.speed) +} + +// ------------------------------------------------------------------- + +// CMsgTEDecal + +// optional .CMsgVector origin = 1; +inline bool CMsgTEDecal::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEDecal::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEDecal::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEDecal::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEDecal.origin) + return _internal_origin(); +} +inline void CMsgTEDecal::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDecal.origin) +} +inline ::CMsgVector* CMsgTEDecal::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEDecal::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEDecal.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEDecal::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEDecal::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEDecal.origin) + return _msg; +} +inline void CMsgTEDecal::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEDecal.origin) +} + +// optional .CMsgVector start = 2; +inline bool CMsgTEDecal::_internal_has_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); + return value; +} +inline bool CMsgTEDecal::has_start() const { + return _internal_has_start(); +} +inline const ::CMsgVector& CMsgTEDecal::_internal_start() const { + const ::CMsgVector* p = _impl_.start_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEDecal::start() const { + // @@protoc_insertion_point(field_get:CMsgTEDecal.start) + return _internal_start(); +} +inline void CMsgTEDecal::unsafe_arena_set_allocated_start( + ::CMsgVector* start) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + _impl_.start_ = start; + if (start) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDecal.start) +} +inline ::CMsgVector* CMsgTEDecal::release_start() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = 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 ::CMsgVector* CMsgTEDecal::unsafe_arena_release_start() { + // @@protoc_insertion_point(field_release:CMsgTEDecal.start) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEDecal::_internal_mutable_start() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.start_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.start_ = p; + } + return _impl_.start_; +} +inline ::CMsgVector* CMsgTEDecal::mutable_start() { + ::CMsgVector* _msg = _internal_mutable_start(); + // @@protoc_insertion_point(field_mutable:CMsgTEDecal.start) + return _msg; +} +inline void CMsgTEDecal::set_allocated_start(::CMsgVector* start) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + if (start) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); + if (message_arena != submessage_arena) { + start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, start, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.start_ = start; + // @@protoc_insertion_point(field_set_allocated:CMsgTEDecal.start) +} + +// optional int32 entity = 3 [default = -1]; +inline bool CMsgTEDecal::_internal_has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEDecal::has_entity() const { + return _internal_has_entity(); +} +inline void CMsgTEDecal::clear_entity() { + _impl_.entity_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CMsgTEDecal::_internal_entity() const { + return _impl_.entity_; +} +inline int32_t CMsgTEDecal::entity() const { + // @@protoc_insertion_point(field_get:CMsgTEDecal.entity) + return _internal_entity(); +} +inline void CMsgTEDecal::_internal_set_entity(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.entity_ = value; +} +inline void CMsgTEDecal::set_entity(int32_t value) { + _internal_set_entity(value); + // @@protoc_insertion_point(field_set:CMsgTEDecal.entity) +} + +// optional uint32 hitbox = 4; +inline bool CMsgTEDecal::_internal_has_hitbox() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEDecal::has_hitbox() const { + return _internal_has_hitbox(); +} +inline void CMsgTEDecal::clear_hitbox() { + _impl_.hitbox_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEDecal::_internal_hitbox() const { + return _impl_.hitbox_; +} +inline uint32_t CMsgTEDecal::hitbox() const { + // @@protoc_insertion_point(field_get:CMsgTEDecal.hitbox) + return _internal_hitbox(); +} +inline void CMsgTEDecal::_internal_set_hitbox(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hitbox_ = value; +} +inline void CMsgTEDecal::set_hitbox(uint32_t value) { + _internal_set_hitbox(value); + // @@protoc_insertion_point(field_set:CMsgTEDecal.hitbox) +} + +// optional uint32 index = 5; +inline bool CMsgTEDecal::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEDecal::has_index() const { + return _internal_has_index(); +} +inline void CMsgTEDecal::clear_index() { + _impl_.index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEDecal::_internal_index() const { + return _impl_.index_; +} +inline uint32_t CMsgTEDecal::index() const { + // @@protoc_insertion_point(field_get:CMsgTEDecal.index) + return _internal_index(); +} +inline void CMsgTEDecal::_internal_set_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.index_ = value; +} +inline void CMsgTEDecal::set_index(uint32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CMsgTEDecal.index) +} + +// ------------------------------------------------------------------- + +// CMsgEffectData + +// optional .CMsgVector origin = 1; +inline bool CMsgEffectData::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgEffectData::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgEffectData::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgEffectData::origin() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.origin) + return _internal_origin(); +} +inline void CMsgEffectData::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.origin) +} +inline ::CMsgVector* CMsgEffectData::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgEffectData::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgEffectData.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgEffectData::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgEffectData::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgEffectData.origin) + return _msg; +} +inline void CMsgEffectData::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.origin) +} + +// optional .CMsgVector start = 2; +inline bool CMsgEffectData::_internal_has_start() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); + return value; +} +inline bool CMsgEffectData::has_start() const { + return _internal_has_start(); +} +inline const ::CMsgVector& CMsgEffectData::_internal_start() const { + const ::CMsgVector* p = _impl_.start_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgEffectData::start() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.start) + return _internal_start(); +} +inline void CMsgEffectData::unsafe_arena_set_allocated_start( + ::CMsgVector* start) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + _impl_.start_ = start; + if (start) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.start) +} +inline ::CMsgVector* CMsgEffectData::release_start() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = 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 ::CMsgVector* CMsgEffectData::unsafe_arena_release_start() { + // @@protoc_insertion_point(field_release:CMsgEffectData.start) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.start_; + _impl_.start_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgEffectData::_internal_mutable_start() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.start_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.start_ = p; + } + return _impl_.start_; +} +inline ::CMsgVector* CMsgEffectData::mutable_start() { + ::CMsgVector* _msg = _internal_mutable_start(); + // @@protoc_insertion_point(field_mutable:CMsgEffectData.start) + return _msg; +} +inline void CMsgEffectData::set_allocated_start(::CMsgVector* start) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); + } + if (start) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); + if (message_arena != submessage_arena) { + start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, start, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.start_ = start; + // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.start) +} + +// optional .CMsgVector normal = 3; +inline bool CMsgEffectData::_internal_has_normal() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); + return value; +} +inline bool CMsgEffectData::has_normal() const { + return _internal_has_normal(); +} +inline const ::CMsgVector& CMsgEffectData::_internal_normal() const { + const ::CMsgVector* p = _impl_.normal_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgEffectData::normal() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.normal) + return _internal_normal(); +} +inline void CMsgEffectData::unsafe_arena_set_allocated_normal( + ::CMsgVector* normal) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + _impl_.normal_ = normal; + if (normal) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.normal) +} +inline ::CMsgVector* CMsgEffectData::release_normal() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = 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 ::CMsgVector* CMsgEffectData::unsafe_arena_release_normal() { + // @@protoc_insertion_point(field_release:CMsgEffectData.normal) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgEffectData::_internal_mutable_normal() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.normal_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.normal_ = p; + } + return _impl_.normal_; +} +inline ::CMsgVector* CMsgEffectData::mutable_normal() { + ::CMsgVector* _msg = _internal_mutable_normal(); + // @@protoc_insertion_point(field_mutable:CMsgEffectData.normal) + return _msg; +} +inline void CMsgEffectData::set_allocated_normal(::CMsgVector* normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + if (normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); + if (message_arena != submessage_arena) { + normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, normal, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.normal_ = normal; + // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.normal) +} + +// optional .CMsgQAngle angles = 4; +inline bool CMsgEffectData::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CMsgEffectData::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CMsgEffectData::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgEffectData::angles() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.angles) + return _internal_angles(); +} +inline void CMsgEffectData::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.angles) +} +inline ::CMsgQAngle* CMsgEffectData::release_angles() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgQAngle* 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 ::CMsgQAngle* CMsgEffectData::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CMsgEffectData.angles) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgEffectData::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CMsgEffectData::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CMsgEffectData.angles) + return _msg; +} +inline void CMsgEffectData::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.angles) +} + +// optional fixed32 entity = 5 [default = 16777215]; +inline bool CMsgEffectData::_internal_has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CMsgEffectData::has_entity() const { + return _internal_has_entity(); +} +inline void CMsgEffectData::clear_entity() { + _impl_.entity_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CMsgEffectData::_internal_entity() const { + return _impl_.entity_; +} +inline uint32_t CMsgEffectData::entity() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.entity) + return _internal_entity(); +} +inline void CMsgEffectData::_internal_set_entity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.entity_ = value; +} +inline void CMsgEffectData::set_entity(uint32_t value) { + _internal_set_entity(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.entity) +} + +// optional fixed32 otherentity = 6 [default = 16777215]; +inline bool CMsgEffectData::_internal_has_otherentity() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + return value; +} +inline bool CMsgEffectData::has_otherentity() const { + return _internal_has_otherentity(); +} +inline void CMsgEffectData::clear_otherentity() { + _impl_.otherentity_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline uint32_t CMsgEffectData::_internal_otherentity() const { + return _impl_.otherentity_; +} +inline uint32_t CMsgEffectData::otherentity() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.otherentity) + return _internal_otherentity(); +} +inline void CMsgEffectData::_internal_set_otherentity(uint32_t value) { + _impl_._has_bits_[0] |= 0x00040000u; + _impl_.otherentity_ = value; +} +inline void CMsgEffectData::set_otherentity(uint32_t value) { + _internal_set_otherentity(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.otherentity) +} + +// optional float scale = 7; +inline bool CMsgEffectData::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgEffectData::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgEffectData::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgEffectData::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgEffectData::scale() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.scale) + return _internal_scale(); +} +inline void CMsgEffectData::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.scale_ = value; +} +inline void CMsgEffectData::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.scale) +} + +// optional float magnitude = 8; +inline bool CMsgEffectData::_internal_has_magnitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgEffectData::has_magnitude() const { + return _internal_has_magnitude(); +} +inline void CMsgEffectData::clear_magnitude() { + _impl_.magnitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgEffectData::_internal_magnitude() const { + return _impl_.magnitude_; +} +inline float CMsgEffectData::magnitude() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.magnitude) + return _internal_magnitude(); +} +inline void CMsgEffectData::_internal_set_magnitude(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.magnitude_ = value; +} +inline void CMsgEffectData::set_magnitude(float value) { + _internal_set_magnitude(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.magnitude) +} + +// optional float radius = 9; +inline bool CMsgEffectData::_internal_has_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgEffectData::has_radius() const { + return _internal_has_radius(); +} +inline void CMsgEffectData::clear_radius() { + _impl_.radius_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgEffectData::_internal_radius() const { + return _impl_.radius_; +} +inline float CMsgEffectData::radius() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.radius) + return _internal_radius(); +} +inline void CMsgEffectData::_internal_set_radius(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.radius_ = value; +} +inline void CMsgEffectData::set_radius(float value) { + _internal_set_radius(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.radius) +} + +// optional fixed32 surfaceprop = 10; +inline bool CMsgEffectData::_internal_has_surfaceprop() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgEffectData::has_surfaceprop() const { + return _internal_has_surfaceprop(); +} +inline void CMsgEffectData::clear_surfaceprop() { + _impl_.surfaceprop_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgEffectData::_internal_surfaceprop() const { + return _impl_.surfaceprop_; +} +inline uint32_t CMsgEffectData::surfaceprop() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.surfaceprop) + return _internal_surfaceprop(); +} +inline void CMsgEffectData::_internal_set_surfaceprop(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.surfaceprop_ = value; +} +inline void CMsgEffectData::set_surfaceprop(uint32_t value) { + _internal_set_surfaceprop(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.surfaceprop) +} + +// optional fixed64 effectindex = 11; +inline bool CMsgEffectData::_internal_has_effectindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgEffectData::has_effectindex() const { + return _internal_has_effectindex(); +} +inline void CMsgEffectData::clear_effectindex() { + _impl_.effectindex_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint64_t CMsgEffectData::_internal_effectindex() const { + return _impl_.effectindex_; +} +inline uint64_t CMsgEffectData::effectindex() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.effectindex) + return _internal_effectindex(); +} +inline void CMsgEffectData::_internal_set_effectindex(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.effectindex_ = value; +} +inline void CMsgEffectData::set_effectindex(uint64_t value) { + _internal_set_effectindex(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.effectindex) +} + +// optional uint32 damagetype = 12; +inline bool CMsgEffectData::_internal_has_damagetype() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgEffectData::has_damagetype() const { + return _internal_has_damagetype(); +} +inline void CMsgEffectData::clear_damagetype() { + _impl_.damagetype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgEffectData::_internal_damagetype() const { + return _impl_.damagetype_; +} +inline uint32_t CMsgEffectData::damagetype() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.damagetype) + return _internal_damagetype(); +} +inline void CMsgEffectData::_internal_set_damagetype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.damagetype_ = value; +} +inline void CMsgEffectData::set_damagetype(uint32_t value) { + _internal_set_damagetype(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.damagetype) +} + +// optional uint32 material = 13; +inline bool CMsgEffectData::_internal_has_material() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgEffectData::has_material() const { + return _internal_has_material(); +} +inline void CMsgEffectData::clear_material() { + _impl_.material_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgEffectData::_internal_material() const { + return _impl_.material_; +} +inline uint32_t CMsgEffectData::material() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.material) + return _internal_material(); +} +inline void CMsgEffectData::_internal_set_material(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.material_ = value; +} +inline void CMsgEffectData::set_material(uint32_t value) { + _internal_set_material(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.material) +} + +// optional uint32 hitbox = 14; +inline bool CMsgEffectData::_internal_has_hitbox() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgEffectData::has_hitbox() const { + return _internal_has_hitbox(); +} +inline void CMsgEffectData::clear_hitbox() { + _impl_.hitbox_ = 0u; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline uint32_t CMsgEffectData::_internal_hitbox() const { + return _impl_.hitbox_; +} +inline uint32_t CMsgEffectData::hitbox() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.hitbox) + return _internal_hitbox(); +} +inline void CMsgEffectData::_internal_set_hitbox(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.hitbox_ = value; +} +inline void CMsgEffectData::set_hitbox(uint32_t value) { + _internal_set_hitbox(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.hitbox) +} + +// optional uint32 color = 15; +inline bool CMsgEffectData::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgEffectData::has_color() const { + return _internal_has_color(); +} +inline void CMsgEffectData::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline uint32_t CMsgEffectData::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CMsgEffectData::color() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.color) + return _internal_color(); +} +inline void CMsgEffectData::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.color_ = value; +} +inline void CMsgEffectData::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.color) +} + +// optional uint32 flags = 16; +inline bool CMsgEffectData::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CMsgEffectData::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgEffectData::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CMsgEffectData::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgEffectData::flags() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.flags) + return _internal_flags(); +} +inline void CMsgEffectData::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.flags_ = value; +} +inline void CMsgEffectData::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.flags) +} + +// optional int32 attachmentindex = 17; +inline bool CMsgEffectData::_internal_has_attachmentindex() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CMsgEffectData::has_attachmentindex() const { + return _internal_has_attachmentindex(); +} +inline void CMsgEffectData::clear_attachmentindex() { + _impl_.attachmentindex_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CMsgEffectData::_internal_attachmentindex() const { + return _impl_.attachmentindex_; +} +inline int32_t CMsgEffectData::attachmentindex() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.attachmentindex) + return _internal_attachmentindex(); +} +inline void CMsgEffectData::_internal_set_attachmentindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.attachmentindex_ = value; +} +inline void CMsgEffectData::set_attachmentindex(int32_t value) { + _internal_set_attachmentindex(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.attachmentindex) +} + +// optional uint32 effectname = 18; +inline bool CMsgEffectData::_internal_has_effectname() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CMsgEffectData::has_effectname() const { + return _internal_has_effectname(); +} +inline void CMsgEffectData::clear_effectname() { + _impl_.effectname_ = 0u; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline uint32_t CMsgEffectData::_internal_effectname() const { + return _impl_.effectname_; +} +inline uint32_t CMsgEffectData::effectname() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.effectname) + return _internal_effectname(); +} +inline void CMsgEffectData::_internal_set_effectname(uint32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.effectname_ = value; +} +inline void CMsgEffectData::set_effectname(uint32_t value) { + _internal_set_effectname(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.effectname) +} + +// optional uint32 attachmentname = 19; +inline bool CMsgEffectData::_internal_has_attachmentname() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CMsgEffectData::has_attachmentname() const { + return _internal_has_attachmentname(); +} +inline void CMsgEffectData::clear_attachmentname() { + _impl_.attachmentname_ = 0u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CMsgEffectData::_internal_attachmentname() const { + return _impl_.attachmentname_; +} +inline uint32_t CMsgEffectData::attachmentname() const { + // @@protoc_insertion_point(field_get:CMsgEffectData.attachmentname) + return _internal_attachmentname(); +} +inline void CMsgEffectData::_internal_set_attachmentname(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.attachmentname_ = value; +} +inline void CMsgEffectData::set_attachmentname(uint32_t value) { + _internal_set_attachmentname(value); + // @@protoc_insertion_point(field_set:CMsgEffectData.attachmentname) +} + +// ------------------------------------------------------------------- + +// CMsgTEEffectDispatch + +// optional .CMsgEffectData effectdata = 1; +inline bool CMsgTEEffectDispatch::_internal_has_effectdata() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.effectdata_ != nullptr); + return value; +} +inline bool CMsgTEEffectDispatch::has_effectdata() const { + return _internal_has_effectdata(); +} +inline void CMsgTEEffectDispatch::clear_effectdata() { + if (_impl_.effectdata_ != nullptr) _impl_.effectdata_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CMsgEffectData& CMsgTEEffectDispatch::_internal_effectdata() const { + const ::CMsgEffectData* p = _impl_.effectdata_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgEffectData_default_instance_); +} +inline const ::CMsgEffectData& CMsgTEEffectDispatch::effectdata() const { + // @@protoc_insertion_point(field_get:CMsgTEEffectDispatch.effectdata) + return _internal_effectdata(); +} +inline void CMsgTEEffectDispatch::unsafe_arena_set_allocated_effectdata( + ::CMsgEffectData* effectdata) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.effectdata_); + } + _impl_.effectdata_ = effectdata; + if (effectdata) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEffectDispatch.effectdata) +} +inline ::CMsgEffectData* CMsgTEEffectDispatch::release_effectdata() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgEffectData* temp = _impl_.effectdata_; + _impl_.effectdata_ = 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 ::CMsgEffectData* CMsgTEEffectDispatch::unsafe_arena_release_effectdata() { + // @@protoc_insertion_point(field_release:CMsgTEEffectDispatch.effectdata) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgEffectData* temp = _impl_.effectdata_; + _impl_.effectdata_ = nullptr; + return temp; +} +inline ::CMsgEffectData* CMsgTEEffectDispatch::_internal_mutable_effectdata() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.effectdata_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgEffectData>(GetArenaForAllocation()); + _impl_.effectdata_ = p; + } + return _impl_.effectdata_; +} +inline ::CMsgEffectData* CMsgTEEffectDispatch::mutable_effectdata() { + ::CMsgEffectData* _msg = _internal_mutable_effectdata(); + // @@protoc_insertion_point(field_mutable:CMsgTEEffectDispatch.effectdata) + return _msg; +} +inline void CMsgTEEffectDispatch::set_allocated_effectdata(::CMsgEffectData* effectdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.effectdata_; + } + if (effectdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(effectdata); + if (message_arena != submessage_arena) { + effectdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, effectdata, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.effectdata_ = effectdata; + // @@protoc_insertion_point(field_set_allocated:CMsgTEEffectDispatch.effectdata) +} + +// ------------------------------------------------------------------- + +// CMsgTEEnergySplash + +// optional .CMsgVector pos = 1; +inline bool CMsgTEEnergySplash::_internal_has_pos() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); + return value; +} +inline bool CMsgTEEnergySplash::has_pos() const { + return _internal_has_pos(); +} +inline const ::CMsgVector& CMsgTEEnergySplash::_internal_pos() const { + const ::CMsgVector* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEEnergySplash::pos() const { + // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.pos) + return _internal_pos(); +} +inline void CMsgTEEnergySplash::unsafe_arena_set_allocated_pos( + ::CMsgVector* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEnergySplash.pos) +} +inline ::CMsgVector* CMsgTEEnergySplash::release_pos() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* 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 ::CMsgVector* CMsgTEEnergySplash::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:CMsgTEEnergySplash.pos) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEEnergySplash::_internal_mutable_pos() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::CMsgVector* CMsgTEEnergySplash::mutable_pos() { + ::CMsgVector* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:CMsgTEEnergySplash.pos) + return _msg; +} +inline void CMsgTEEnergySplash::set_allocated_pos(::CMsgVector* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:CMsgTEEnergySplash.pos) +} + +// optional .CMsgVector dir = 2; +inline bool CMsgTEEnergySplash::_internal_has_dir() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dir_ != nullptr); + return value; +} +inline bool CMsgTEEnergySplash::has_dir() const { + return _internal_has_dir(); +} +inline const ::CMsgVector& CMsgTEEnergySplash::_internal_dir() const { + const ::CMsgVector* p = _impl_.dir_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEEnergySplash::dir() const { + // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.dir) + return _internal_dir(); +} +inline void CMsgTEEnergySplash::unsafe_arena_set_allocated_dir( + ::CMsgVector* dir) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); + } + _impl_.dir_ = dir; + if (dir) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEnergySplash.dir) +} +inline ::CMsgVector* CMsgTEEnergySplash::release_dir() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.dir_; + _impl_.dir_ = 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 ::CMsgVector* CMsgTEEnergySplash::unsafe_arena_release_dir() { + // @@protoc_insertion_point(field_release:CMsgTEEnergySplash.dir) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.dir_; + _impl_.dir_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEEnergySplash::_internal_mutable_dir() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.dir_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.dir_ = p; + } + return _impl_.dir_; +} +inline ::CMsgVector* CMsgTEEnergySplash::mutable_dir() { + ::CMsgVector* _msg = _internal_mutable_dir(); + // @@protoc_insertion_point(field_mutable:CMsgTEEnergySplash.dir) + return _msg; +} +inline void CMsgTEEnergySplash::set_allocated_dir(::CMsgVector* dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); + } + if (dir) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dir)); + if (message_arena != submessage_arena) { + dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dir, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.dir_ = dir; + // @@protoc_insertion_point(field_set_allocated:CMsgTEEnergySplash.dir) +} + +// optional bool explosive = 3; +inline bool CMsgTEEnergySplash::_internal_has_explosive() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEEnergySplash::has_explosive() const { + return _internal_has_explosive(); +} +inline void CMsgTEEnergySplash::clear_explosive() { + _impl_.explosive_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CMsgTEEnergySplash::_internal_explosive() const { + return _impl_.explosive_; +} +inline bool CMsgTEEnergySplash::explosive() const { + // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.explosive) + return _internal_explosive(); +} +inline void CMsgTEEnergySplash::_internal_set_explosive(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.explosive_ = value; +} +inline void CMsgTEEnergySplash::set_explosive(bool value) { + _internal_set_explosive(value); + // @@protoc_insertion_point(field_set:CMsgTEEnergySplash.explosive) +} + +// ------------------------------------------------------------------- + +// CMsgTEFizz + +// optional int32 entity = 1 [default = -1]; +inline bool CMsgTEFizz::_internal_has_entity() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEFizz::has_entity() const { + return _internal_has_entity(); +} +inline void CMsgTEFizz::clear_entity() { + _impl_.entity_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CMsgTEFizz::_internal_entity() const { + return _impl_.entity_; +} +inline int32_t CMsgTEFizz::entity() const { + // @@protoc_insertion_point(field_get:CMsgTEFizz.entity) + return _internal_entity(); +} +inline void CMsgTEFizz::_internal_set_entity(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.entity_ = value; +} +inline void CMsgTEFizz::set_entity(int32_t value) { + _internal_set_entity(value); + // @@protoc_insertion_point(field_set:CMsgTEFizz.entity) +} + +// optional uint32 density = 2; +inline bool CMsgTEFizz::_internal_has_density() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTEFizz::has_density() const { + return _internal_has_density(); +} +inline void CMsgTEFizz::clear_density() { + _impl_.density_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CMsgTEFizz::_internal_density() const { + return _impl_.density_; +} +inline uint32_t CMsgTEFizz::density() const { + // @@protoc_insertion_point(field_get:CMsgTEFizz.density) + return _internal_density(); +} +inline void CMsgTEFizz::_internal_set_density(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.density_ = value; +} +inline void CMsgTEFizz::set_density(uint32_t value) { + _internal_set_density(value); + // @@protoc_insertion_point(field_set:CMsgTEFizz.density) +} + +// optional int32 current = 3; +inline bool CMsgTEFizz::_internal_has_current() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEFizz::has_current() const { + return _internal_has_current(); +} +inline void CMsgTEFizz::clear_current() { + _impl_.current_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CMsgTEFizz::_internal_current() const { + return _impl_.current_; +} +inline int32_t CMsgTEFizz::current() const { + // @@protoc_insertion_point(field_get:CMsgTEFizz.current) + return _internal_current(); +} +inline void CMsgTEFizz::_internal_set_current(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.current_ = value; +} +inline void CMsgTEFizz::set_current(int32_t value) { + _internal_set_current(value); + // @@protoc_insertion_point(field_set:CMsgTEFizz.current) +} + +// ------------------------------------------------------------------- + +// CMsgTEShatterSurface + +// optional .CMsgVector origin = 1; +inline bool CMsgTEShatterSurface::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEShatterSurface::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEShatterSurface::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEShatterSurface::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.origin) + return _internal_origin(); +} +inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.origin) +} +inline ::CMsgVector* CMsgTEShatterSurface::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEShatterSurface::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.origin) + return _msg; +} +inline void CMsgTEShatterSurface::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.origin) +} + +// optional .CMsgQAngle angles = 2; +inline bool CMsgTEShatterSurface::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CMsgTEShatterSurface::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CMsgTEShatterSurface::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgTEShatterSurface::angles() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.angles) + return _internal_angles(); +} +inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.angles) +} +inline ::CMsgQAngle* CMsgTEShatterSurface::release_angles() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* 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 ::CMsgQAngle* CMsgTEShatterSurface::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.angles) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgTEShatterSurface::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CMsgTEShatterSurface::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.angles) + return _msg; +} +inline void CMsgTEShatterSurface::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.angles) +} + +// optional .CMsgVector force = 3; +inline bool CMsgTEShatterSurface::_internal_has_force() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.force_ != nullptr); + return value; +} +inline bool CMsgTEShatterSurface::has_force() const { + return _internal_has_force(); +} +inline const ::CMsgVector& CMsgTEShatterSurface::_internal_force() const { + const ::CMsgVector* p = _impl_.force_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEShatterSurface::force() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.force) + return _internal_force(); +} +inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_force( + ::CMsgVector* force) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.force_); + } + _impl_.force_ = force; + if (force) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.force) +} +inline ::CMsgVector* CMsgTEShatterSurface::release_force() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.force_; + _impl_.force_ = 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 ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_force() { + // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.force) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.force_; + _impl_.force_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_force() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.force_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.force_ = p; + } + return _impl_.force_; +} +inline ::CMsgVector* CMsgTEShatterSurface::mutable_force() { + ::CMsgVector* _msg = _internal_mutable_force(); + // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.force) + return _msg; +} +inline void CMsgTEShatterSurface::set_allocated_force(::CMsgVector* force) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.force_); + } + if (force) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force)); + if (message_arena != submessage_arena) { + force = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, force, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.force_ = force; + // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.force) +} + +// optional .CMsgVector forcepos = 4; +inline bool CMsgTEShatterSurface::_internal_has_forcepos() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.forcepos_ != nullptr); + return value; +} +inline bool CMsgTEShatterSurface::has_forcepos() const { + return _internal_has_forcepos(); +} +inline const ::CMsgVector& CMsgTEShatterSurface::_internal_forcepos() const { + const ::CMsgVector* p = _impl_.forcepos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEShatterSurface::forcepos() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.forcepos) + return _internal_forcepos(); +} +inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_forcepos( + ::CMsgVector* forcepos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forcepos_); + } + _impl_.forcepos_ = forcepos; + if (forcepos) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.forcepos) +} +inline ::CMsgVector* CMsgTEShatterSurface::release_forcepos() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.forcepos_; + _impl_.forcepos_ = 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 ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_forcepos() { + // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.forcepos) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.forcepos_; + _impl_.forcepos_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_forcepos() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.forcepos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.forcepos_ = p; + } + return _impl_.forcepos_; +} +inline ::CMsgVector* CMsgTEShatterSurface::mutable_forcepos() { + ::CMsgVector* _msg = _internal_mutable_forcepos(); + // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.forcepos) + return _msg; +} +inline void CMsgTEShatterSurface::set_allocated_forcepos(::CMsgVector* forcepos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forcepos_); + } + if (forcepos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forcepos)); + if (message_arena != submessage_arena) { + forcepos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, forcepos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.forcepos_ = forcepos; + // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.forcepos) +} + +// optional float width = 5; +inline bool CMsgTEShatterSurface::_internal_has_width() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_width() const { + return _internal_has_width(); +} +inline void CMsgTEShatterSurface::clear_width() { + _impl_.width_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CMsgTEShatterSurface::_internal_width() const { + return _impl_.width_; +} +inline float CMsgTEShatterSurface::width() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.width) + return _internal_width(); +} +inline void CMsgTEShatterSurface::_internal_set_width(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.width_ = value; +} +inline void CMsgTEShatterSurface::set_width(float value) { + _internal_set_width(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.width) +} + +// optional float height = 6; +inline bool CMsgTEShatterSurface::_internal_has_height() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_height() const { + return _internal_has_height(); +} +inline void CMsgTEShatterSurface::clear_height() { + _impl_.height_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CMsgTEShatterSurface::_internal_height() const { + return _impl_.height_; +} +inline float CMsgTEShatterSurface::height() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.height) + return _internal_height(); +} +inline void CMsgTEShatterSurface::_internal_set_height(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.height_ = value; +} +inline void CMsgTEShatterSurface::set_height(float value) { + _internal_set_height(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.height) +} + +// optional float shardsize = 7; +inline bool CMsgTEShatterSurface::_internal_has_shardsize() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_shardsize() const { + return _internal_has_shardsize(); +} +inline void CMsgTEShatterSurface::clear_shardsize() { + _impl_.shardsize_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CMsgTEShatterSurface::_internal_shardsize() const { + return _impl_.shardsize_; +} +inline float CMsgTEShatterSurface::shardsize() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.shardsize) + return _internal_shardsize(); +} +inline void CMsgTEShatterSurface::_internal_set_shardsize(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.shardsize_ = value; +} +inline void CMsgTEShatterSurface::set_shardsize(float value) { + _internal_set_shardsize(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.shardsize) +} + +// optional uint32 surfacetype = 8; +inline bool CMsgTEShatterSurface::_internal_has_surfacetype() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_surfacetype() const { + return _internal_has_surfacetype(); +} +inline void CMsgTEShatterSurface::clear_surfacetype() { + _impl_.surfacetype_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgTEShatterSurface::_internal_surfacetype() const { + return _impl_.surfacetype_; +} +inline uint32_t CMsgTEShatterSurface::surfacetype() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.surfacetype) + return _internal_surfacetype(); +} +inline void CMsgTEShatterSurface::_internal_set_surfacetype(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.surfacetype_ = value; +} +inline void CMsgTEShatterSurface::set_surfacetype(uint32_t value) { + _internal_set_surfacetype(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.surfacetype) +} + +// optional fixed32 frontcolor = 9; +inline bool CMsgTEShatterSurface::_internal_has_frontcolor() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_frontcolor() const { + return _internal_has_frontcolor(); +} +inline void CMsgTEShatterSurface::clear_frontcolor() { + _impl_.frontcolor_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgTEShatterSurface::_internal_frontcolor() const { + return _impl_.frontcolor_; +} +inline uint32_t CMsgTEShatterSurface::frontcolor() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.frontcolor) + return _internal_frontcolor(); +} +inline void CMsgTEShatterSurface::_internal_set_frontcolor(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.frontcolor_ = value; +} +inline void CMsgTEShatterSurface::set_frontcolor(uint32_t value) { + _internal_set_frontcolor(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.frontcolor) +} + +// optional fixed32 backcolor = 10; +inline bool CMsgTEShatterSurface::_internal_has_backcolor() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgTEShatterSurface::has_backcolor() const { + return _internal_has_backcolor(); +} +inline void CMsgTEShatterSurface::clear_backcolor() { + _impl_.backcolor_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgTEShatterSurface::_internal_backcolor() const { + return _impl_.backcolor_; +} +inline uint32_t CMsgTEShatterSurface::backcolor() const { + // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.backcolor) + return _internal_backcolor(); +} +inline void CMsgTEShatterSurface::_internal_set_backcolor(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.backcolor_ = value; +} +inline void CMsgTEShatterSurface::set_backcolor(uint32_t value) { + _internal_set_backcolor(value); + // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.backcolor) +} + +// ------------------------------------------------------------------- + +// CMsgTEGlowSprite + +// optional .CMsgVector origin = 1; +inline bool CMsgTEGlowSprite::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEGlowSprite::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEGlowSprite::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEGlowSprite::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.origin) + return _internal_origin(); +} +inline void CMsgTEGlowSprite::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEGlowSprite.origin) +} +inline ::CMsgVector* CMsgTEGlowSprite::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEGlowSprite::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEGlowSprite.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEGlowSprite::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEGlowSprite::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEGlowSprite.origin) + return _msg; +} +inline void CMsgTEGlowSprite::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEGlowSprite.origin) +} + +// optional float scale = 2; +inline bool CMsgTEGlowSprite::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTEGlowSprite::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgTEGlowSprite::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgTEGlowSprite::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgTEGlowSprite::scale() const { + // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.scale) + return _internal_scale(); +} +inline void CMsgTEGlowSprite::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.scale_ = value; +} +inline void CMsgTEGlowSprite::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.scale) +} + +// optional float life = 3; +inline bool CMsgTEGlowSprite::_internal_has_life() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEGlowSprite::has_life() const { + return _internal_has_life(); +} +inline void CMsgTEGlowSprite::clear_life() { + _impl_.life_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEGlowSprite::_internal_life() const { + return _impl_.life_; +} +inline float CMsgTEGlowSprite::life() const { + // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.life) + return _internal_life(); +} +inline void CMsgTEGlowSprite::_internal_set_life(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.life_ = value; +} +inline void CMsgTEGlowSprite::set_life(float value) { + _internal_set_life(value); + // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.life) +} + +// optional uint32 brightness = 4; +inline bool CMsgTEGlowSprite::_internal_has_brightness() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEGlowSprite::has_brightness() const { + return _internal_has_brightness(); +} +inline void CMsgTEGlowSprite::clear_brightness() { + _impl_.brightness_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEGlowSprite::_internal_brightness() const { + return _impl_.brightness_; +} +inline uint32_t CMsgTEGlowSprite::brightness() const { + // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.brightness) + return _internal_brightness(); +} +inline void CMsgTEGlowSprite::_internal_set_brightness(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.brightness_ = value; +} +inline void CMsgTEGlowSprite::set_brightness(uint32_t value) { + _internal_set_brightness(value); + // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.brightness) +} + +// ------------------------------------------------------------------- + +// CMsgTEImpact + +// optional .CMsgVector origin = 1; +inline bool CMsgTEImpact::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEImpact::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEImpact::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEImpact::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEImpact.origin) + return _internal_origin(); +} +inline void CMsgTEImpact::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEImpact.origin) +} +inline ::CMsgVector* CMsgTEImpact::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEImpact::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEImpact.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEImpact::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEImpact::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEImpact.origin) + return _msg; +} +inline void CMsgTEImpact::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEImpact.origin) +} + +// optional .CMsgVector normal = 2; +inline bool CMsgTEImpact::_internal_has_normal() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); + return value; +} +inline bool CMsgTEImpact::has_normal() const { + return _internal_has_normal(); +} +inline const ::CMsgVector& CMsgTEImpact::_internal_normal() const { + const ::CMsgVector* p = _impl_.normal_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEImpact::normal() const { + // @@protoc_insertion_point(field_get:CMsgTEImpact.normal) + return _internal_normal(); +} +inline void CMsgTEImpact::unsafe_arena_set_allocated_normal( + ::CMsgVector* normal) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + _impl_.normal_ = normal; + if (normal) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEImpact.normal) +} +inline ::CMsgVector* CMsgTEImpact::release_normal() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = 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 ::CMsgVector* CMsgTEImpact::unsafe_arena_release_normal() { + // @@protoc_insertion_point(field_release:CMsgTEImpact.normal) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEImpact::_internal_mutable_normal() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.normal_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.normal_ = p; + } + return _impl_.normal_; +} +inline ::CMsgVector* CMsgTEImpact::mutable_normal() { + ::CMsgVector* _msg = _internal_mutable_normal(); + // @@protoc_insertion_point(field_mutable:CMsgTEImpact.normal) + return _msg; +} +inline void CMsgTEImpact::set_allocated_normal(::CMsgVector* normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + if (normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); + if (message_arena != submessage_arena) { + normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, normal, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.normal_ = normal; + // @@protoc_insertion_point(field_set_allocated:CMsgTEImpact.normal) +} + +// optional uint32 type = 3; +inline bool CMsgTEImpact::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEImpact::has_type() const { + return _internal_has_type(); +} +inline void CMsgTEImpact::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEImpact::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgTEImpact::type() const { + // @@protoc_insertion_point(field_get:CMsgTEImpact.type) + return _internal_type(); +} +inline void CMsgTEImpact::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.type_ = value; +} +inline void CMsgTEImpact::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgTEImpact.type) +} + +// ------------------------------------------------------------------- + +// CMsgTEMuzzleFlash + +// optional .CMsgVector origin = 1; +inline bool CMsgTEMuzzleFlash::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEMuzzleFlash::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEMuzzleFlash::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEMuzzleFlash::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.origin) + return _internal_origin(); +} +inline void CMsgTEMuzzleFlash::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEMuzzleFlash.origin) +} +inline ::CMsgVector* CMsgTEMuzzleFlash::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEMuzzleFlash::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEMuzzleFlash.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEMuzzleFlash::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEMuzzleFlash::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEMuzzleFlash.origin) + return _msg; +} +inline void CMsgTEMuzzleFlash::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEMuzzleFlash.origin) +} + +// optional .CMsgQAngle angles = 2; +inline bool CMsgTEMuzzleFlash::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CMsgTEMuzzleFlash::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CMsgTEMuzzleFlash::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgTEMuzzleFlash::angles() const { + // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.angles) + return _internal_angles(); +} +inline void CMsgTEMuzzleFlash::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEMuzzleFlash.angles) +} +inline ::CMsgQAngle* CMsgTEMuzzleFlash::release_angles() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* 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 ::CMsgQAngle* CMsgTEMuzzleFlash::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CMsgTEMuzzleFlash.angles) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgTEMuzzleFlash::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CMsgTEMuzzleFlash::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CMsgTEMuzzleFlash.angles) + return _msg; +} +inline void CMsgTEMuzzleFlash::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CMsgTEMuzzleFlash.angles) +} + +// optional float scale = 3; +inline bool CMsgTEMuzzleFlash::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEMuzzleFlash::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgTEMuzzleFlash::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEMuzzleFlash::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgTEMuzzleFlash::scale() const { + // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.scale) + return _internal_scale(); +} +inline void CMsgTEMuzzleFlash::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.scale_ = value; +} +inline void CMsgTEMuzzleFlash::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgTEMuzzleFlash.scale) +} + +// optional uint32 type = 4; +inline bool CMsgTEMuzzleFlash::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEMuzzleFlash::has_type() const { + return _internal_has_type(); +} +inline void CMsgTEMuzzleFlash::clear_type() { + _impl_.type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEMuzzleFlash::_internal_type() const { + return _impl_.type_; +} +inline uint32_t CMsgTEMuzzleFlash::type() const { + // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.type) + return _internal_type(); +} +inline void CMsgTEMuzzleFlash::_internal_set_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.type_ = value; +} +inline void CMsgTEMuzzleFlash::set_type(uint32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CMsgTEMuzzleFlash.type) +} + +// ------------------------------------------------------------------- + +// CMsgTEBloodStream + +// optional .CMsgVector origin = 1; +inline bool CMsgTEBloodStream::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEBloodStream::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEBloodStream::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBloodStream::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEBloodStream.origin) + return _internal_origin(); +} +inline void CMsgTEBloodStream::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBloodStream.origin) +} +inline ::CMsgVector* CMsgTEBloodStream::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEBloodStream::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEBloodStream.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBloodStream::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEBloodStream::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEBloodStream.origin) + return _msg; +} +inline void CMsgTEBloodStream::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBloodStream.origin) +} + +// optional .CMsgVector direction = 2; +inline bool CMsgTEBloodStream::_internal_has_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); + return value; +} +inline bool CMsgTEBloodStream::has_direction() const { + return _internal_has_direction(); +} +inline const ::CMsgVector& CMsgTEBloodStream::_internal_direction() const { + const ::CMsgVector* p = _impl_.direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEBloodStream::direction() const { + // @@protoc_insertion_point(field_get:CMsgTEBloodStream.direction) + return _internal_direction(); +} +inline void CMsgTEBloodStream::unsafe_arena_set_allocated_direction( + ::CMsgVector* direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + _impl_.direction_ = direction; + if (direction) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBloodStream.direction) +} +inline ::CMsgVector* CMsgTEBloodStream::release_direction() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = 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 ::CMsgVector* CMsgTEBloodStream::unsafe_arena_release_direction() { + // @@protoc_insertion_point(field_release:CMsgTEBloodStream.direction) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEBloodStream::_internal_mutable_direction() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.direction_ = p; + } + return _impl_.direction_; +} +inline ::CMsgVector* CMsgTEBloodStream::mutable_direction() { + ::CMsgVector* _msg = _internal_mutable_direction(); + // @@protoc_insertion_point(field_mutable:CMsgTEBloodStream.direction) + return _msg; +} +inline void CMsgTEBloodStream::set_allocated_direction(::CMsgVector* direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + if (direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); + if (message_arena != submessage_arena) { + direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.direction_ = direction; + // @@protoc_insertion_point(field_set_allocated:CMsgTEBloodStream.direction) +} + +// optional fixed32 color = 3; +inline bool CMsgTEBloodStream::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEBloodStream::has_color() const { + return _internal_has_color(); +} +inline void CMsgTEBloodStream::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEBloodStream::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CMsgTEBloodStream::color() const { + // @@protoc_insertion_point(field_get:CMsgTEBloodStream.color) + return _internal_color(); +} +inline void CMsgTEBloodStream::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.color_ = value; +} +inline void CMsgTEBloodStream::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CMsgTEBloodStream.color) +} + +// optional uint32 amount = 4; +inline bool CMsgTEBloodStream::_internal_has_amount() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEBloodStream::has_amount() const { + return _internal_has_amount(); +} +inline void CMsgTEBloodStream::clear_amount() { + _impl_.amount_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTEBloodStream::_internal_amount() const { + return _impl_.amount_; +} +inline uint32_t CMsgTEBloodStream::amount() const { + // @@protoc_insertion_point(field_get:CMsgTEBloodStream.amount) + return _internal_amount(); +} +inline void CMsgTEBloodStream::_internal_set_amount(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.amount_ = value; +} +inline void CMsgTEBloodStream::set_amount(uint32_t value) { + _internal_set_amount(value); + // @@protoc_insertion_point(field_set:CMsgTEBloodStream.amount) +} + +// ------------------------------------------------------------------- + +// CMsgTEExplosion + +// optional .CMsgVector origin = 1; +inline bool CMsgTEExplosion::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEExplosion::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEExplosion::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEExplosion::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.origin) + return _internal_origin(); +} +inline void CMsgTEExplosion::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.origin) +} +inline ::CMsgVector* CMsgTEExplosion::release_origin() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEExplosion.origin) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEExplosion::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.origin) + return _msg; +} +inline void CMsgTEExplosion::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.origin) +} + +// optional uint32 flags = 3; +inline bool CMsgTEExplosion::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgTEExplosion::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CMsgTEExplosion::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgTEExplosion::flags() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.flags) + return _internal_flags(); +} +inline void CMsgTEExplosion::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.flags_ = value; +} +inline void CMsgTEExplosion::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.flags) +} + +// optional .CMsgVector normal = 4; +inline bool CMsgTEExplosion::_internal_has_normal() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); + return value; +} +inline bool CMsgTEExplosion::has_normal() const { + return _internal_has_normal(); +} +inline const ::CMsgVector& CMsgTEExplosion::_internal_normal() const { + const ::CMsgVector* p = _impl_.normal_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEExplosion::normal() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.normal) + return _internal_normal(); +} +inline void CMsgTEExplosion::unsafe_arena_set_allocated_normal( + ::CMsgVector* normal) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + _impl_.normal_ = normal; + if (normal) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.normal) +} +inline ::CMsgVector* CMsgTEExplosion::release_normal() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = 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 ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_normal() { + // @@protoc_insertion_point(field_release:CMsgTEExplosion.normal) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_normal() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.normal_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.normal_ = p; + } + return _impl_.normal_; +} +inline ::CMsgVector* CMsgTEExplosion::mutable_normal() { + ::CMsgVector* _msg = _internal_mutable_normal(); + // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.normal) + return _msg; +} +inline void CMsgTEExplosion::set_allocated_normal(::CMsgVector* normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + if (normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); + if (message_arena != submessage_arena) { + normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, normal, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.normal_ = normal; + // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.normal) +} + +// optional uint32 radius = 6; +inline bool CMsgTEExplosion::_internal_has_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_radius() const { + return _internal_has_radius(); +} +inline void CMsgTEExplosion::clear_radius() { + _impl_.radius_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgTEExplosion::_internal_radius() const { + return _impl_.radius_; +} +inline uint32_t CMsgTEExplosion::radius() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.radius) + return _internal_radius(); +} +inline void CMsgTEExplosion::_internal_set_radius(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.radius_ = value; +} +inline void CMsgTEExplosion::set_radius(uint32_t value) { + _internal_set_radius(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.radius) +} + +// optional uint32 magnitude = 7; +inline bool CMsgTEExplosion::_internal_has_magnitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_magnitude() const { + return _internal_has_magnitude(); +} +inline void CMsgTEExplosion::clear_magnitude() { + _impl_.magnitude_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgTEExplosion::_internal_magnitude() const { + return _impl_.magnitude_; +} +inline uint32_t CMsgTEExplosion::magnitude() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.magnitude) + return _internal_magnitude(); +} +inline void CMsgTEExplosion::_internal_set_magnitude(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.magnitude_ = value; +} +inline void CMsgTEExplosion::set_magnitude(uint32_t value) { + _internal_set_magnitude(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.magnitude) +} + +// optional bool affect_ragdolls = 9; +inline bool CMsgTEExplosion::_internal_has_affect_ragdolls() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_affect_ragdolls() const { + return _internal_has_affect_ragdolls(); +} +inline void CMsgTEExplosion::clear_affect_ragdolls() { + _impl_.affect_ragdolls_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CMsgTEExplosion::_internal_affect_ragdolls() const { + return _impl_.affect_ragdolls_; +} +inline bool CMsgTEExplosion::affect_ragdolls() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.affect_ragdolls) + return _internal_affect_ragdolls(); +} +inline void CMsgTEExplosion::_internal_set_affect_ragdolls(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.affect_ragdolls_ = value; +} +inline void CMsgTEExplosion::set_affect_ragdolls(bool value) { + _internal_set_affect_ragdolls(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.affect_ragdolls) +} + +// optional string sound_name = 10; +inline bool CMsgTEExplosion::_internal_has_sound_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_sound_name() const { + return _internal_has_sound_name(); +} +inline void CMsgTEExplosion::clear_sound_name() { + _impl_.sound_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CMsgTEExplosion::sound_name() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.sound_name) + return _internal_sound_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CMsgTEExplosion::set_sound_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sound_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.sound_name) +} +inline std::string* CMsgTEExplosion::mutable_sound_name() { + std::string* _s = _internal_mutable_sound_name(); + // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.sound_name) + return _s; +} +inline const std::string& CMsgTEExplosion::_internal_sound_name() const { + return _impl_.sound_name_.Get(); +} +inline void CMsgTEExplosion::_internal_set_sound_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.sound_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CMsgTEExplosion::_internal_mutable_sound_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.sound_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CMsgTEExplosion::release_sound_name() { + // @@protoc_insertion_point(field_release:CMsgTEExplosion.sound_name) + if (!_internal_has_sound_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.sound_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sound_name_.IsDefault()) { + _impl_.sound_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CMsgTEExplosion::set_allocated_sound_name(std::string* sound_name) { + if (sound_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.sound_name_.SetAllocated(sound_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.sound_name_.IsDefault()) { + _impl_.sound_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.sound_name) +} + +// optional uint32 explosion_type = 11; +inline bool CMsgTEExplosion::_internal_has_explosion_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_explosion_type() const { + return _internal_has_explosion_type(); +} +inline void CMsgTEExplosion::clear_explosion_type() { + _impl_.explosion_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CMsgTEExplosion::_internal_explosion_type() const { + return _impl_.explosion_type_; +} +inline uint32_t CMsgTEExplosion::explosion_type() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.explosion_type) + return _internal_explosion_type(); +} +inline void CMsgTEExplosion::_internal_set_explosion_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.explosion_type_ = value; +} +inline void CMsgTEExplosion::set_explosion_type(uint32_t value) { + _internal_set_explosion_type(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.explosion_type) +} + +// optional bool create_debris = 12; +inline bool CMsgTEExplosion::_internal_has_create_debris() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_create_debris() const { + return _internal_has_create_debris(); +} +inline void CMsgTEExplosion::clear_create_debris() { + _impl_.create_debris_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CMsgTEExplosion::_internal_create_debris() const { + return _impl_.create_debris_; +} +inline bool CMsgTEExplosion::create_debris() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.create_debris) + return _internal_create_debris(); +} +inline void CMsgTEExplosion::_internal_set_create_debris(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.create_debris_ = value; +} +inline void CMsgTEExplosion::set_create_debris(bool value) { + _internal_set_create_debris(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.create_debris) +} + +// optional .CMsgVector debris_origin = 13; +inline bool CMsgTEExplosion::_internal_has_debris_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.debris_origin_ != nullptr); + return value; +} +inline bool CMsgTEExplosion::has_debris_origin() const { + return _internal_has_debris_origin(); +} +inline const ::CMsgVector& CMsgTEExplosion::_internal_debris_origin() const { + const ::CMsgVector* p = _impl_.debris_origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEExplosion::debris_origin() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.debris_origin) + return _internal_debris_origin(); +} +inline void CMsgTEExplosion::unsafe_arena_set_allocated_debris_origin( + ::CMsgVector* debris_origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.debris_origin_); + } + _impl_.debris_origin_ = debris_origin; + if (debris_origin) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.debris_origin) +} +inline ::CMsgVector* CMsgTEExplosion::release_debris_origin() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.debris_origin_; + _impl_.debris_origin_ = 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 ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_debris_origin() { + // @@protoc_insertion_point(field_release:CMsgTEExplosion.debris_origin) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.debris_origin_; + _impl_.debris_origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_debris_origin() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.debris_origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.debris_origin_ = p; + } + return _impl_.debris_origin_; +} +inline ::CMsgVector* CMsgTEExplosion::mutable_debris_origin() { + ::CMsgVector* _msg = _internal_mutable_debris_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.debris_origin) + return _msg; +} +inline void CMsgTEExplosion::set_allocated_debris_origin(::CMsgVector* debris_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.debris_origin_); + } + if (debris_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(debris_origin)); + if (message_arena != submessage_arena) { + debris_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, debris_origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.debris_origin_ = debris_origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.debris_origin) +} + +// optional fixed32 debris_surfaceprop = 14; +inline bool CMsgTEExplosion::_internal_has_debris_surfaceprop() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgTEExplosion::has_debris_surfaceprop() const { + return _internal_has_debris_surfaceprop(); +} +inline void CMsgTEExplosion::clear_debris_surfaceprop() { + _impl_.debris_surfaceprop_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgTEExplosion::_internal_debris_surfaceprop() const { + return _impl_.debris_surfaceprop_; +} +inline uint32_t CMsgTEExplosion::debris_surfaceprop() const { + // @@protoc_insertion_point(field_get:CMsgTEExplosion.debris_surfaceprop) + return _internal_debris_surfaceprop(); +} +inline void CMsgTEExplosion::_internal_set_debris_surfaceprop(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.debris_surfaceprop_ = value; +} +inline void CMsgTEExplosion::set_debris_surfaceprop(uint32_t value) { + _internal_set_debris_surfaceprop(value); + // @@protoc_insertion_point(field_set:CMsgTEExplosion.debris_surfaceprop) +} + +// ------------------------------------------------------------------- + +// CMsgTEDust + +// optional .CMsgVector origin = 1; +inline bool CMsgTEDust::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEDust::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEDust::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEDust::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEDust.origin) + return _internal_origin(); +} +inline void CMsgTEDust::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDust.origin) +} +inline ::CMsgVector* CMsgTEDust::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEDust::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEDust.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEDust::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEDust::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEDust.origin) + return _msg; +} +inline void CMsgTEDust::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEDust.origin) +} + +// optional float size = 2; +inline bool CMsgTEDust::_internal_has_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEDust::has_size() const { + return _internal_has_size(); +} +inline void CMsgTEDust::clear_size() { + _impl_.size_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CMsgTEDust::_internal_size() const { + return _impl_.size_; +} +inline float CMsgTEDust::size() const { + // @@protoc_insertion_point(field_get:CMsgTEDust.size) + return _internal_size(); +} +inline void CMsgTEDust::_internal_set_size(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.size_ = value; +} +inline void CMsgTEDust::set_size(float value) { + _internal_set_size(value); + // @@protoc_insertion_point(field_set:CMsgTEDust.size) +} + +// optional float speed = 3; +inline bool CMsgTEDust::_internal_has_speed() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTEDust::has_speed() const { + return _internal_has_speed(); +} +inline void CMsgTEDust::clear_speed() { + _impl_.speed_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CMsgTEDust::_internal_speed() const { + return _impl_.speed_; +} +inline float CMsgTEDust::speed() const { + // @@protoc_insertion_point(field_get:CMsgTEDust.speed) + return _internal_speed(); +} +inline void CMsgTEDust::_internal_set_speed(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.speed_ = value; +} +inline void CMsgTEDust::set_speed(float value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:CMsgTEDust.speed) +} + +// optional .CMsgVector direction = 4; +inline bool CMsgTEDust::_internal_has_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); + return value; +} +inline bool CMsgTEDust::has_direction() const { + return _internal_has_direction(); +} +inline const ::CMsgVector& CMsgTEDust::_internal_direction() const { + const ::CMsgVector* p = _impl_.direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEDust::direction() const { + // @@protoc_insertion_point(field_get:CMsgTEDust.direction) + return _internal_direction(); +} +inline void CMsgTEDust::unsafe_arena_set_allocated_direction( + ::CMsgVector* direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + _impl_.direction_ = direction; + if (direction) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDust.direction) +} +inline ::CMsgVector* CMsgTEDust::release_direction() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = 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 ::CMsgVector* CMsgTEDust::unsafe_arena_release_direction() { + // @@protoc_insertion_point(field_release:CMsgTEDust.direction) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEDust::_internal_mutable_direction() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.direction_ = p; + } + return _impl_.direction_; +} +inline ::CMsgVector* CMsgTEDust::mutable_direction() { + ::CMsgVector* _msg = _internal_mutable_direction(); + // @@protoc_insertion_point(field_mutable:CMsgTEDust.direction) + return _msg; +} +inline void CMsgTEDust::set_allocated_direction(::CMsgVector* direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + if (direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); + if (message_arena != submessage_arena) { + direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.direction_ = direction; + // @@protoc_insertion_point(field_set_allocated:CMsgTEDust.direction) +} + +// ------------------------------------------------------------------- + +// CMsgTELargeFunnel + +// optional .CMsgVector origin = 1; +inline bool CMsgTELargeFunnel::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTELargeFunnel::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTELargeFunnel::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTELargeFunnel::origin() const { + // @@protoc_insertion_point(field_get:CMsgTELargeFunnel.origin) + return _internal_origin(); +} +inline void CMsgTELargeFunnel::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTELargeFunnel.origin) +} +inline ::CMsgVector* CMsgTELargeFunnel::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTELargeFunnel::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTELargeFunnel.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTELargeFunnel::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTELargeFunnel::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTELargeFunnel.origin) + return _msg; +} +inline void CMsgTELargeFunnel::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTELargeFunnel.origin) +} + +// optional uint32 reversed = 2; +inline bool CMsgTELargeFunnel::_internal_has_reversed() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTELargeFunnel::has_reversed() const { + return _internal_has_reversed(); +} +inline void CMsgTELargeFunnel::clear_reversed() { + _impl_.reversed_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CMsgTELargeFunnel::_internal_reversed() const { + return _impl_.reversed_; +} +inline uint32_t CMsgTELargeFunnel::reversed() const { + // @@protoc_insertion_point(field_get:CMsgTELargeFunnel.reversed) + return _internal_reversed(); +} +inline void CMsgTELargeFunnel::_internal_set_reversed(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.reversed_ = value; +} +inline void CMsgTELargeFunnel::set_reversed(uint32_t value) { + _internal_set_reversed(value); + // @@protoc_insertion_point(field_set:CMsgTELargeFunnel.reversed) +} + +// ------------------------------------------------------------------- + +// CMsgTESparks + +// optional .CMsgVector origin = 1; +inline bool CMsgTESparks::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTESparks::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTESparks::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTESparks::origin() const { + // @@protoc_insertion_point(field_get:CMsgTESparks.origin) + return _internal_origin(); +} +inline void CMsgTESparks::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESparks.origin) +} +inline ::CMsgVector* CMsgTESparks::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTESparks::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTESparks.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTESparks::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTESparks::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTESparks.origin) + return _msg; +} +inline void CMsgTESparks::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTESparks.origin) +} + +// optional uint32 magnitude = 2; +inline bool CMsgTESparks::_internal_has_magnitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTESparks::has_magnitude() const { + return _internal_has_magnitude(); +} +inline void CMsgTESparks::clear_magnitude() { + _impl_.magnitude_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTESparks::_internal_magnitude() const { + return _impl_.magnitude_; +} +inline uint32_t CMsgTESparks::magnitude() const { + // @@protoc_insertion_point(field_get:CMsgTESparks.magnitude) + return _internal_magnitude(); +} +inline void CMsgTESparks::_internal_set_magnitude(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.magnitude_ = value; +} +inline void CMsgTESparks::set_magnitude(uint32_t value) { + _internal_set_magnitude(value); + // @@protoc_insertion_point(field_set:CMsgTESparks.magnitude) +} + +// optional uint32 length = 3; +inline bool CMsgTESparks::_internal_has_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CMsgTESparks::has_length() const { + return _internal_has_length(); +} +inline void CMsgTESparks::clear_length() { + _impl_.length_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CMsgTESparks::_internal_length() const { + return _impl_.length_; +} +inline uint32_t CMsgTESparks::length() const { + // @@protoc_insertion_point(field_get:CMsgTESparks.length) + return _internal_length(); +} +inline void CMsgTESparks::_internal_set_length(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.length_ = value; +} +inline void CMsgTESparks::set_length(uint32_t value) { + _internal_set_length(value); + // @@protoc_insertion_point(field_set:CMsgTESparks.length) +} + +// optional .CMsgVector direction = 4; +inline bool CMsgTESparks::_internal_has_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); + return value; +} +inline bool CMsgTESparks::has_direction() const { + return _internal_has_direction(); +} +inline const ::CMsgVector& CMsgTESparks::_internal_direction() const { + const ::CMsgVector* p = _impl_.direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTESparks::direction() const { + // @@protoc_insertion_point(field_get:CMsgTESparks.direction) + return _internal_direction(); +} +inline void CMsgTESparks::unsafe_arena_set_allocated_direction( + ::CMsgVector* direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + _impl_.direction_ = direction; + if (direction) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESparks.direction) +} +inline ::CMsgVector* CMsgTESparks::release_direction() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = 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 ::CMsgVector* CMsgTESparks::unsafe_arena_release_direction() { + // @@protoc_insertion_point(field_release:CMsgTESparks.direction) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTESparks::_internal_mutable_direction() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.direction_ = p; + } + return _impl_.direction_; +} +inline ::CMsgVector* CMsgTESparks::mutable_direction() { + ::CMsgVector* _msg = _internal_mutable_direction(); + // @@protoc_insertion_point(field_mutable:CMsgTESparks.direction) + return _msg; +} +inline void CMsgTESparks::set_allocated_direction(::CMsgVector* direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + if (direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); + if (message_arena != submessage_arena) { + direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.direction_ = direction; + // @@protoc_insertion_point(field_set_allocated:CMsgTESparks.direction) +} + +// ------------------------------------------------------------------- + +// CMsgTEPhysicsProp + +// optional .CMsgVector origin = 1; +inline bool CMsgTEPhysicsProp::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEPhysicsProp::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.origin) + return _internal_origin(); +} +inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.origin) +} +inline ::CMsgVector* CMsgTEPhysicsProp::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEPhysicsProp::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.origin) + return _msg; +} +inline void CMsgTEPhysicsProp::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.origin) +} + +// optional .CMsgVector velocity = 2; +inline bool CMsgTEPhysicsProp::_internal_has_velocity() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.velocity_ != nullptr); + return value; +} +inline bool CMsgTEPhysicsProp::has_velocity() const { + return _internal_has_velocity(); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_velocity() const { + const ::CMsgVector* p = _impl_.velocity_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::velocity() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.velocity) + return _internal_velocity(); +} +inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_velocity( + ::CMsgVector* velocity) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); + } + _impl_.velocity_ = velocity; + if (velocity) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.velocity) +} +inline ::CMsgVector* CMsgTEPhysicsProp::release_velocity() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.velocity_; + _impl_.velocity_ = 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 ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_velocity() { + // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.velocity) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.velocity_; + _impl_.velocity_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_velocity() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.velocity_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.velocity_ = p; + } + return _impl_.velocity_; +} +inline ::CMsgVector* CMsgTEPhysicsProp::mutable_velocity() { + ::CMsgVector* _msg = _internal_mutable_velocity(); + // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.velocity) + return _msg; +} +inline void CMsgTEPhysicsProp::set_allocated_velocity(::CMsgVector* velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); + } + if (velocity) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity)); + if (message_arena != submessage_arena) { + velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, velocity, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.velocity_ = velocity; + // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.velocity) +} + +// optional .CMsgQAngle angles = 3; +inline bool CMsgTEPhysicsProp::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CMsgTEPhysicsProp::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CMsgTEPhysicsProp::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CMsgTEPhysicsProp::angles() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.angles) + return _internal_angles(); +} +inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.angles) +} +inline ::CMsgQAngle* CMsgTEPhysicsProp::release_angles() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* 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 ::CMsgQAngle* CMsgTEPhysicsProp::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.angles) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CMsgTEPhysicsProp::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CMsgTEPhysicsProp::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.angles) + return _msg; +} +inline void CMsgTEPhysicsProp::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.angles) +} + +// optional fixed32 skin = 4; +inline bool CMsgTEPhysicsProp::_internal_has_skin() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_skin() const { + return _internal_has_skin(); +} +inline void CMsgTEPhysicsProp::clear_skin() { + _impl_.skin_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CMsgTEPhysicsProp::_internal_skin() const { + return _impl_.skin_; +} +inline uint32_t CMsgTEPhysicsProp::skin() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.skin) + return _internal_skin(); +} +inline void CMsgTEPhysicsProp::_internal_set_skin(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.skin_ = value; +} +inline void CMsgTEPhysicsProp::set_skin(uint32_t value) { + _internal_set_skin(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.skin) +} + +// optional uint32 flags = 5; +inline bool CMsgTEPhysicsProp::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_flags() const { + return _internal_has_flags(); +} +inline void CMsgTEPhysicsProp::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CMsgTEPhysicsProp::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CMsgTEPhysicsProp::flags() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.flags) + return _internal_flags(); +} +inline void CMsgTEPhysicsProp::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.flags_ = value; +} +inline void CMsgTEPhysicsProp::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.flags) +} + +// optional uint32 effects = 6; +inline bool CMsgTEPhysicsProp::_internal_has_effects() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_effects() const { + return _internal_has_effects(); +} +inline void CMsgTEPhysicsProp::clear_effects() { + _impl_.effects_ = 0u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CMsgTEPhysicsProp::_internal_effects() const { + return _impl_.effects_; +} +inline uint32_t CMsgTEPhysicsProp::effects() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.effects) + return _internal_effects(); +} +inline void CMsgTEPhysicsProp::_internal_set_effects(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.effects_ = value; +} +inline void CMsgTEPhysicsProp::set_effects(uint32_t value) { + _internal_set_effects(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.effects) +} + +// optional fixed32 color = 7; +inline bool CMsgTEPhysicsProp::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_color() const { + return _internal_has_color(); +} +inline void CMsgTEPhysicsProp::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CMsgTEPhysicsProp::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CMsgTEPhysicsProp::color() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.color) + return _internal_color(); +} +inline void CMsgTEPhysicsProp::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.color_ = value; +} +inline void CMsgTEPhysicsProp::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.color) +} + +// optional fixed64 modelindex = 8; +inline bool CMsgTEPhysicsProp::_internal_has_modelindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_modelindex() const { + return _internal_has_modelindex(); +} +inline void CMsgTEPhysicsProp::clear_modelindex() { + _impl_.modelindex_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint64_t CMsgTEPhysicsProp::_internal_modelindex() const { + return _impl_.modelindex_; +} +inline uint64_t CMsgTEPhysicsProp::modelindex() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.modelindex) + return _internal_modelindex(); +} +inline void CMsgTEPhysicsProp::_internal_set_modelindex(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.modelindex_ = value; +} +inline void CMsgTEPhysicsProp::set_modelindex(uint64_t value) { + _internal_set_modelindex(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.modelindex) +} + +// optional uint32 unused_breakmodelsnottomake = 9; +inline bool CMsgTEPhysicsProp::_internal_has_unused_breakmodelsnottomake() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_unused_breakmodelsnottomake() const { + return _internal_has_unused_breakmodelsnottomake(); +} +inline void CMsgTEPhysicsProp::clear_unused_breakmodelsnottomake() { + _impl_.unused_breakmodelsnottomake_ = 0u; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline uint32_t CMsgTEPhysicsProp::_internal_unused_breakmodelsnottomake() const { + return _impl_.unused_breakmodelsnottomake_; +} +inline uint32_t CMsgTEPhysicsProp::unused_breakmodelsnottomake() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.unused_breakmodelsnottomake) + return _internal_unused_breakmodelsnottomake(); +} +inline void CMsgTEPhysicsProp::_internal_set_unused_breakmodelsnottomake(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.unused_breakmodelsnottomake_ = value; +} +inline void CMsgTEPhysicsProp::set_unused_breakmodelsnottomake(uint32_t value) { + _internal_set_unused_breakmodelsnottomake(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.unused_breakmodelsnottomake) +} + +// optional float scale = 10; +inline bool CMsgTEPhysicsProp::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgTEPhysicsProp::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline float CMsgTEPhysicsProp::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgTEPhysicsProp::scale() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.scale) + return _internal_scale(); +} +inline void CMsgTEPhysicsProp::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.scale_ = value; +} +inline void CMsgTEPhysicsProp::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.scale) +} + +// optional .CMsgVector dmgpos = 11; +inline bool CMsgTEPhysicsProp::_internal_has_dmgpos() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dmgpos_ != nullptr); + return value; +} +inline bool CMsgTEPhysicsProp::has_dmgpos() const { + return _internal_has_dmgpos(); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_dmgpos() const { + const ::CMsgVector* p = _impl_.dmgpos_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::dmgpos() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgpos) + return _internal_dmgpos(); +} +inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_dmgpos( + ::CMsgVector* dmgpos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgpos_); + } + _impl_.dmgpos_ = dmgpos; + if (dmgpos) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.dmgpos) +} +inline ::CMsgVector* CMsgTEPhysicsProp::release_dmgpos() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.dmgpos_; + _impl_.dmgpos_ = 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 ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_dmgpos() { + // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.dmgpos) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.dmgpos_; + _impl_.dmgpos_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_dmgpos() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.dmgpos_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.dmgpos_ = p; + } + return _impl_.dmgpos_; +} +inline ::CMsgVector* CMsgTEPhysicsProp::mutable_dmgpos() { + ::CMsgVector* _msg = _internal_mutable_dmgpos(); + // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.dmgpos) + return _msg; +} +inline void CMsgTEPhysicsProp::set_allocated_dmgpos(::CMsgVector* dmgpos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgpos_); + } + if (dmgpos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dmgpos)); + if (message_arena != submessage_arena) { + dmgpos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dmgpos, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.dmgpos_ = dmgpos; + // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.dmgpos) +} + +// optional .CMsgVector dmgdir = 12; +inline bool CMsgTEPhysicsProp::_internal_has_dmgdir() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.dmgdir_ != nullptr); + return value; +} +inline bool CMsgTEPhysicsProp::has_dmgdir() const { + return _internal_has_dmgdir(); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_dmgdir() const { + const ::CMsgVector* p = _impl_.dmgdir_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEPhysicsProp::dmgdir() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgdir) + return _internal_dmgdir(); +} +inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_dmgdir( + ::CMsgVector* dmgdir) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgdir_); + } + _impl_.dmgdir_ = dmgdir; + if (dmgdir) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.dmgdir) +} +inline ::CMsgVector* CMsgTEPhysicsProp::release_dmgdir() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.dmgdir_; + _impl_.dmgdir_ = 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 ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_dmgdir() { + // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.dmgdir) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.dmgdir_; + _impl_.dmgdir_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_dmgdir() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.dmgdir_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.dmgdir_ = p; + } + return _impl_.dmgdir_; +} +inline ::CMsgVector* CMsgTEPhysicsProp::mutable_dmgdir() { + ::CMsgVector* _msg = _internal_mutable_dmgdir(); + // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.dmgdir) + return _msg; +} +inline void CMsgTEPhysicsProp::set_allocated_dmgdir(::CMsgVector* dmgdir) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgdir_); + } + if (dmgdir) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dmgdir)); + if (message_arena != submessage_arena) { + dmgdir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, dmgdir, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.dmgdir_ = dmgdir; + // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.dmgdir) +} + +// optional int32 dmgtype = 13; +inline bool CMsgTEPhysicsProp::_internal_has_dmgtype() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CMsgTEPhysicsProp::has_dmgtype() const { + return _internal_has_dmgtype(); +} +inline void CMsgTEPhysicsProp::clear_dmgtype() { + _impl_.dmgtype_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t CMsgTEPhysicsProp::_internal_dmgtype() const { + return _impl_.dmgtype_; +} +inline int32_t CMsgTEPhysicsProp::dmgtype() const { + // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgtype) + return _internal_dmgtype(); +} +inline void CMsgTEPhysicsProp::_internal_set_dmgtype(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.dmgtype_ = value; +} +inline void CMsgTEPhysicsProp::set_dmgtype(int32_t value) { + _internal_set_dmgtype(value); + // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.dmgtype) +} + +// ------------------------------------------------------------------- + +// CMsgTESmoke + +// optional .CMsgVector origin = 1; +inline bool CMsgTESmoke::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTESmoke::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTESmoke::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTESmoke::origin() const { + // @@protoc_insertion_point(field_get:CMsgTESmoke.origin) + return _internal_origin(); +} +inline void CMsgTESmoke::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESmoke.origin) +} +inline ::CMsgVector* CMsgTESmoke::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTESmoke::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTESmoke.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTESmoke::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTESmoke::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTESmoke.origin) + return _msg; +} +inline void CMsgTESmoke::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTESmoke.origin) +} + +// optional float scale = 2; +inline bool CMsgTESmoke::_internal_has_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CMsgTESmoke::has_scale() const { + return _internal_has_scale(); +} +inline void CMsgTESmoke::clear_scale() { + _impl_.scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CMsgTESmoke::_internal_scale() const { + return _impl_.scale_; +} +inline float CMsgTESmoke::scale() const { + // @@protoc_insertion_point(field_get:CMsgTESmoke.scale) + return _internal_scale(); +} +inline void CMsgTESmoke::_internal_set_scale(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.scale_ = value; +} +inline void CMsgTESmoke::set_scale(float value) { + _internal_set_scale(value); + // @@protoc_insertion_point(field_set:CMsgTESmoke.scale) +} + +// ------------------------------------------------------------------- + +// CMsgTEWorldDecal + +// optional .CMsgVector origin = 1; +inline bool CMsgTEWorldDecal::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CMsgTEWorldDecal::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CMsgTEWorldDecal::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEWorldDecal::origin() const { + // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.origin) + return _internal_origin(); +} +inline void CMsgTEWorldDecal::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEWorldDecal.origin) +} +inline ::CMsgVector* CMsgTEWorldDecal::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CMsgTEWorldDecal::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CMsgTEWorldDecal.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEWorldDecal::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CMsgTEWorldDecal::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CMsgTEWorldDecal.origin) + return _msg; +} +inline void CMsgTEWorldDecal::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CMsgTEWorldDecal.origin) +} + +// optional .CMsgVector normal = 2; +inline bool CMsgTEWorldDecal::_internal_has_normal() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); + return value; +} +inline bool CMsgTEWorldDecal::has_normal() const { + return _internal_has_normal(); +} +inline const ::CMsgVector& CMsgTEWorldDecal::_internal_normal() const { + const ::CMsgVector* p = _impl_.normal_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CMsgTEWorldDecal::normal() const { + // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.normal) + return _internal_normal(); +} +inline void CMsgTEWorldDecal::unsafe_arena_set_allocated_normal( + ::CMsgVector* normal) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + _impl_.normal_ = normal; + if (normal) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEWorldDecal.normal) +} +inline ::CMsgVector* CMsgTEWorldDecal::release_normal() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = 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 ::CMsgVector* CMsgTEWorldDecal::unsafe_arena_release_normal() { + // @@protoc_insertion_point(field_release:CMsgTEWorldDecal.normal) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.normal_; + _impl_.normal_ = nullptr; + return temp; +} +inline ::CMsgVector* CMsgTEWorldDecal::_internal_mutable_normal() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.normal_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.normal_ = p; + } + return _impl_.normal_; +} +inline ::CMsgVector* CMsgTEWorldDecal::mutable_normal() { + ::CMsgVector* _msg = _internal_mutable_normal(); + // @@protoc_insertion_point(field_mutable:CMsgTEWorldDecal.normal) + return _msg; +} +inline void CMsgTEWorldDecal::set_allocated_normal(::CMsgVector* normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); + } + if (normal) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); + if (message_arena != submessage_arena) { + normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, normal, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.normal_ = normal; + // @@protoc_insertion_point(field_set_allocated:CMsgTEWorldDecal.normal) +} + +// optional uint32 index = 3; +inline bool CMsgTEWorldDecal::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CMsgTEWorldDecal::has_index() const { + return _internal_has_index(); +} +inline void CMsgTEWorldDecal::clear_index() { + _impl_.index_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CMsgTEWorldDecal::_internal_index() const { + return _impl_.index_; +} +inline uint32_t CMsgTEWorldDecal::index() const { + // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.index) + return _internal_index(); +} +inline void CMsgTEWorldDecal::_internal_set_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.index_ = value; +} +inline void CMsgTEWorldDecal::set_index(uint32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CMsgTEWorldDecal.index) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::ETEProtobufIds> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::ETEProtobufIds>() { + return ::ETEProtobufIds_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_te_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc new file mode 100644 index 0000000..08e8e21 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.cc @@ -0,0 +1,872 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: uifontfile_format.proto + +#include "uifontfile_format.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; + +PROTOBUF_CONSTEXPR CUIFontFilePB::CUIFontFilePB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.font_file_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.opentype_font_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUIFontFilePBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUIFontFilePBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUIFontFilePBDefaultTypeInternal() {} + union { + CUIFontFilePB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePBDefaultTypeInternal _CUIFontFilePB_default_instance_; +PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.encrypted_contents_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal() {} + union { + CUIFontFilePackagePB_CUIEncryptedFontFilePB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal _CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_; +PROTOBUF_CONSTEXPR CUIFontFilePackagePB::CUIFontFilePackagePB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.encrypted_font_files_)*/{} + , /*decltype(_impl_.package_version_)*/0u} {} +struct CUIFontFilePackagePBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUIFontFilePackagePBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUIFontFilePackagePBDefaultTypeInternal() {} + union { + CUIFontFilePackagePB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePackagePBDefaultTypeInternal _CUIFontFilePackagePB_default_instance_; +static ::_pb::Metadata file_level_metadata_uifontfile_5fformat_2eproto[3]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_uifontfile_5fformat_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_uifontfile_5fformat_2eproto = nullptr; + +const uint32_t TableStruct_uifontfile_5fformat_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_.font_file_name_), + PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_.opentype_font_data_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _impl_.encrypted_contents_), + 0, + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_.package_version_), + PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_.encrypted_font_files_), + 0, + ~0u, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 8, -1, sizeof(::CUIFontFilePB)}, + { 10, 17, -1, sizeof(::CUIFontFilePackagePB_CUIEncryptedFontFilePB)}, + { 18, 26, -1, sizeof(::CUIFontFilePackagePB)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CUIFontFilePB_default_instance_._instance, + &::_CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_._instance, + &::_CUIFontFilePackagePB_default_instance_._instance, +}; + +const char descriptor_table_protodef_uifontfile_5fformat_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\027uifontfile_format.proto\"C\n\rCUIFontFile" + "PB\022\026\n\016font_file_name\030\001 \001(\t\022\032\n\022opentype_f" + "ont_data\030\002 \001(\014\"\261\001\n\024CUIFontFilePackagePB\022" + "\027\n\017package_version\030\001 \002(\r\022J\n\024encrypted_fo" + "nt_files\030\002 \003(\0132,.CUIFontFilePackagePB.CU" + "IEncryptedFontFilePB\0324\n\026CUIEncryptedFont" + "FilePB\022\032\n\022encrypted_contents\030\001 \001(\014" + ; +static ::_pbi::once_flag descriptor_table_uifontfile_5fformat_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_uifontfile_5fformat_2eproto = { + false, false, 274, descriptor_table_protodef_uifontfile_5fformat_2eproto, + "uifontfile_format.proto", + &descriptor_table_uifontfile_5fformat_2eproto_once, nullptr, 0, 3, + schemas, file_default_instances, TableStruct_uifontfile_5fformat_2eproto::offsets, + file_level_metadata_uifontfile_5fformat_2eproto, file_level_enum_descriptors_uifontfile_5fformat_2eproto, + file_level_service_descriptors_uifontfile_5fformat_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_uifontfile_5fformat_2eproto_getter() { + return &descriptor_table_uifontfile_5fformat_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_uifontfile_5fformat_2eproto(&descriptor_table_uifontfile_5fformat_2eproto); + +// =================================================================== + +class CUIFontFilePB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_font_file_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_opentype_font_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUIFontFilePB::CUIFontFilePB(::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:CUIFontFilePB) +} +CUIFontFilePB::CUIFontFilePB(const CUIFontFilePB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUIFontFilePB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.font_file_name_){} + , decltype(_impl_.opentype_font_data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.font_file_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.font_file_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_font_file_name()) { + _this->_impl_.font_file_name_.Set(from._internal_font_file_name(), + _this->GetArenaForAllocation()); + } + _impl_.opentype_font_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_opentype_font_data()) { + _this->_impl_.opentype_font_data_.Set(from._internal_opentype_font_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUIFontFilePB) +} + +inline void CUIFontFilePB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.font_file_name_){} + , decltype(_impl_.opentype_font_data_){} + }; + _impl_.font_file_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.font_file_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.opentype_font_data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUIFontFilePB::~CUIFontFilePB() { + // @@protoc_insertion_point(destructor:CUIFontFilePB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUIFontFilePB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.font_file_name_.Destroy(); + _impl_.opentype_font_data_.Destroy(); +} + +void CUIFontFilePB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUIFontFilePB::Clear() { +// @@protoc_insertion_point(message_clear_start:CUIFontFilePB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.font_file_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.opentype_font_data_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUIFontFilePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string font_file_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_font_file_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUIFontFilePB.font_file_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes opentype_font_data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_opentype_font_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUIFontFilePB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string font_file_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_font_file_name().data(), static_cast(this->_internal_font_file_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUIFontFilePB.font_file_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_font_file_name(), target); + } + + // optional bytes opentype_font_data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_opentype_font_data(), 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:CUIFontFilePB) + return target; +} + +size_t CUIFontFilePB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string font_file_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_font_file_name()); + } + + // optional bytes opentype_font_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_opentype_font_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUIFontFilePB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePB::GetClassData() const { return &_class_data_; } + + +void CUIFontFilePB::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:CUIFontFilePB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_font_file_name(from._internal_font_file_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_opentype_font_data(from._internal_opentype_font_data()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUIFontFilePB::CopyFrom(const CUIFontFilePB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUIFontFilePB::IsInitialized() const { + return true; +} + +void CUIFontFilePB::InternalSwap(CUIFontFilePB* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.font_file_name_, lhs_arena, + &other->_impl_.font_file_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.opentype_font_data_, lhs_arena, + &other->_impl_.opentype_font_data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, + file_level_metadata_uifontfile_5fformat_2eproto[0]); +} + +// =================================================================== + +class CUIFontFilePackagePB_CUIEncryptedFontFilePB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_encrypted_contents(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB(::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:CUIFontFilePackagePB.CUIEncryptedFontFilePB) +} +CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUIFontFilePackagePB_CUIEncryptedFontFilePB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.encrypted_contents_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.encrypted_contents_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_encrypted_contents()) { + _this->_impl_.encrypted_contents_.Set(from._internal_encrypted_contents(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUIFontFilePackagePB.CUIEncryptedFontFilePB) +} + +inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.encrypted_contents_){} + }; + _impl_.encrypted_contents_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUIFontFilePackagePB_CUIEncryptedFontFilePB::~CUIFontFilePackagePB_CUIEncryptedFontFilePB() { + // @@protoc_insertion_point(destructor:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.encrypted_contents_.Destroy(); +} + +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::Clear() { +// @@protoc_insertion_point(message_clear_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.encrypted_contents_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bytes encrypted_contents = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_encrypted_contents(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bytes encrypted_contents = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_encrypted_contents(), 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:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + return target; +} + +size_t CUIFontFilePackagePB_CUIEncryptedFontFilePB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bytes encrypted_contents = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_encrypted_contents()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePackagePB_CUIEncryptedFontFilePB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUIFontFilePackagePB_CUIEncryptedFontFilePB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePackagePB_CUIEncryptedFontFilePB::GetClassData() const { return &_class_data_; } + + +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::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:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_encrypted_contents()) { + _this->_internal_set_encrypted_contents(from._internal_encrypted_contents()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::CopyFrom(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::IsInitialized() const { + return true; +} + +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::InternalSwap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.encrypted_contents_, lhs_arena, + &other->_impl_.encrypted_contents_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePackagePB_CUIEncryptedFontFilePB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, + file_level_metadata_uifontfile_5fformat_2eproto[1]); +} + +// =================================================================== + +class CUIFontFilePackagePB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_package_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; + } +}; + +CUIFontFilePackagePB::CUIFontFilePackagePB(::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:CUIFontFilePackagePB) +} +CUIFontFilePackagePB::CUIFontFilePackagePB(const CUIFontFilePackagePB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUIFontFilePackagePB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.encrypted_font_files_){from._impl_.encrypted_font_files_} + , decltype(_impl_.package_version_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.package_version_ = from._impl_.package_version_; + // @@protoc_insertion_point(copy_constructor:CUIFontFilePackagePB) +} + +inline void CUIFontFilePackagePB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.encrypted_font_files_){arena} + , decltype(_impl_.package_version_){0u} + }; +} + +CUIFontFilePackagePB::~CUIFontFilePackagePB() { + // @@protoc_insertion_point(destructor:CUIFontFilePackagePB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUIFontFilePackagePB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.encrypted_font_files_.~RepeatedPtrField(); +} + +void CUIFontFilePackagePB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUIFontFilePackagePB::Clear() { +// @@protoc_insertion_point(message_clear_start:CUIFontFilePackagePB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.encrypted_font_files_.Clear(); + _impl_.package_version_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUIFontFilePackagePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required uint32 package_version = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_package_version(&has_bits); + _impl_.package_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_encrypted_font_files(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUIFontFilePackagePB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePackagePB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // required uint32 package_version = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_package_version(), target); + } + + // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_encrypted_font_files_size()); i < n; i++) { + const auto& repfield = this->_internal_encrypted_font_files(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:CUIFontFilePackagePB) + return target; +} + +size_t CUIFontFilePackagePB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePackagePB) + size_t total_size = 0; + + // required uint32 package_version = 1; + if (_internal_has_package_version()) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package_version()); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; + total_size += 1UL * this->_internal_encrypted_font_files_size(); + for (const auto& msg : this->_impl_.encrypted_font_files_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePackagePB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUIFontFilePackagePB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePackagePB::GetClassData() const { return &_class_data_; } + + +void CUIFontFilePackagePB::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:CUIFontFilePackagePB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.encrypted_font_files_.MergeFrom(from._impl_.encrypted_font_files_); + if (from._internal_has_package_version()) { + _this->_internal_set_package_version(from._internal_package_version()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUIFontFilePackagePB::CopyFrom(const CUIFontFilePackagePB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePackagePB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUIFontFilePackagePB::IsInitialized() const { + if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; + return true; +} + +void CUIFontFilePackagePB::InternalSwap(CUIFontFilePackagePB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.encrypted_font_files_.InternalSwap(&other->_impl_.encrypted_font_files_); + swap(_impl_.package_version_, other->_impl_.package_version_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePackagePB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, + file_level_metadata_uifontfile_5fformat_2eproto[2]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CUIFontFilePB* +Arena::CreateMaybeMessage< ::CUIFontFilePB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUIFontFilePB >(arena); +} +template<> PROTOBUF_NOINLINE ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* +Arena::CreateMaybeMessage< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >(arena); +} +template<> PROTOBUF_NOINLINE ::CUIFontFilePackagePB* +Arena::CreateMaybeMessage< ::CUIFontFilePackagePB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUIFontFilePackagePB >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h new file mode 100644 index 0000000..f508b00 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/uifontfile_format.pb.h @@ -0,0 +1,899 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: uifontfile_format.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_uifontfile_5fformat_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_uifontfile_5fformat_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_uifontfile_5fformat_2eproto; +class CUIFontFilePB; +struct CUIFontFilePBDefaultTypeInternal; +extern CUIFontFilePBDefaultTypeInternal _CUIFontFilePB_default_instance_; +class CUIFontFilePackagePB; +struct CUIFontFilePackagePBDefaultTypeInternal; +extern CUIFontFilePackagePBDefaultTypeInternal _CUIFontFilePackagePB_default_instance_; +class CUIFontFilePackagePB_CUIEncryptedFontFilePB; +struct CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal; +extern CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal _CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CUIFontFilePB* Arena::CreateMaybeMessage<::CUIFontFilePB>(Arena*); +template<> ::CUIFontFilePackagePB* Arena::CreateMaybeMessage<::CUIFontFilePackagePB>(Arena*); +template<> ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* Arena::CreateMaybeMessage<::CUIFontFilePackagePB_CUIEncryptedFontFilePB>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CUIFontFilePB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePB) */ { + public: + inline CUIFontFilePB() : CUIFontFilePB(nullptr) {} + ~CUIFontFilePB() override; + explicit PROTOBUF_CONSTEXPR CUIFontFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUIFontFilePB(const CUIFontFilePB& from); + CUIFontFilePB(CUIFontFilePB&& from) noexcept + : CUIFontFilePB() { + *this = ::std::move(from); + } + + inline CUIFontFilePB& operator=(const CUIFontFilePB& from) { + CopyFrom(from); + return *this; + } + inline CUIFontFilePB& operator=(CUIFontFilePB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUIFontFilePB& default_instance() { + return *internal_default_instance(); + } + static inline const CUIFontFilePB* internal_default_instance() { + return reinterpret_cast( + &_CUIFontFilePB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CUIFontFilePB& a, CUIFontFilePB& b) { + a.Swap(&b); + } + inline void Swap(CUIFontFilePB* 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(CUIFontFilePB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUIFontFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUIFontFilePB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUIFontFilePB& from) { + CUIFontFilePB::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(CUIFontFilePB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUIFontFilePB"; + } + protected: + explicit CUIFontFilePB(::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 { + kFontFileNameFieldNumber = 1, + kOpentypeFontDataFieldNumber = 2, + }; + // optional string font_file_name = 1; + bool has_font_file_name() const; + private: + bool _internal_has_font_file_name() const; + public: + void clear_font_file_name(); + const std::string& font_file_name() const; + template + void set_font_file_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_font_file_name(); + PROTOBUF_NODISCARD std::string* release_font_file_name(); + void set_allocated_font_file_name(std::string* font_file_name); + private: + const std::string& _internal_font_file_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_font_file_name(const std::string& value); + std::string* _internal_mutable_font_file_name(); + public: + + // optional bytes opentype_font_data = 2; + bool has_opentype_font_data() const; + private: + bool _internal_has_opentype_font_data() const; + public: + void clear_opentype_font_data(); + const std::string& opentype_font_data() const; + template + void set_opentype_font_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_opentype_font_data(); + PROTOBUF_NODISCARD std::string* release_opentype_font_data(); + void set_allocated_opentype_font_data(std::string* opentype_font_data); + private: + const std::string& _internal_opentype_font_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_opentype_font_data(const std::string& value); + std::string* _internal_mutable_opentype_font_data(); + public: + + // @@protoc_insertion_point(class_scope:CUIFontFilePB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr font_file_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr opentype_font_data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_uifontfile_5fformat_2eproto; +}; +// ------------------------------------------------------------------- + +class CUIFontFilePackagePB_CUIEncryptedFontFilePB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePackagePB.CUIEncryptedFontFilePB) */ { + public: + inline CUIFontFilePackagePB_CUIEncryptedFontFilePB() : CUIFontFilePackagePB_CUIEncryptedFontFilePB(nullptr) {} + ~CUIFontFilePackagePB_CUIEncryptedFontFilePB() override; + explicit PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUIFontFilePackagePB_CUIEncryptedFontFilePB(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from); + CUIFontFilePackagePB_CUIEncryptedFontFilePB(CUIFontFilePackagePB_CUIEncryptedFontFilePB&& from) noexcept + : CUIFontFilePackagePB_CUIEncryptedFontFilePB() { + *this = ::std::move(from); + } + + inline CUIFontFilePackagePB_CUIEncryptedFontFilePB& operator=(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { + CopyFrom(from); + return *this; + } + inline CUIFontFilePackagePB_CUIEncryptedFontFilePB& operator=(CUIFontFilePackagePB_CUIEncryptedFontFilePB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUIFontFilePackagePB_CUIEncryptedFontFilePB& default_instance() { + return *internal_default_instance(); + } + static inline const CUIFontFilePackagePB_CUIEncryptedFontFilePB* internal_default_instance() { + return reinterpret_cast( + &_CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CUIFontFilePackagePB_CUIEncryptedFontFilePB& a, CUIFontFilePackagePB_CUIEncryptedFontFilePB& b) { + a.Swap(&b); + } + inline void Swap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* 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(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUIFontFilePackagePB_CUIEncryptedFontFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { + CUIFontFilePackagePB_CUIEncryptedFontFilePB::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(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUIFontFilePackagePB.CUIEncryptedFontFilePB"; + } + protected: + explicit CUIFontFilePackagePB_CUIEncryptedFontFilePB(::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 { + kEncryptedContentsFieldNumber = 1, + }; + // optional bytes encrypted_contents = 1; + bool has_encrypted_contents() const; + private: + bool _internal_has_encrypted_contents() const; + public: + void clear_encrypted_contents(); + const std::string& encrypted_contents() const; + template + void set_encrypted_contents(ArgT0&& arg0, ArgT... args); + std::string* mutable_encrypted_contents(); + PROTOBUF_NODISCARD std::string* release_encrypted_contents(); + void set_allocated_encrypted_contents(std::string* encrypted_contents); + private: + const std::string& _internal_encrypted_contents() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_contents(const std::string& value); + std::string* _internal_mutable_encrypted_contents(); + public: + + // @@protoc_insertion_point(class_scope:CUIFontFilePackagePB.CUIEncryptedFontFilePB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_contents_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_uifontfile_5fformat_2eproto; +}; +// ------------------------------------------------------------------- + +class CUIFontFilePackagePB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePackagePB) */ { + public: + inline CUIFontFilePackagePB() : CUIFontFilePackagePB(nullptr) {} + ~CUIFontFilePackagePB() override; + explicit PROTOBUF_CONSTEXPR CUIFontFilePackagePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUIFontFilePackagePB(const CUIFontFilePackagePB& from); + CUIFontFilePackagePB(CUIFontFilePackagePB&& from) noexcept + : CUIFontFilePackagePB() { + *this = ::std::move(from); + } + + inline CUIFontFilePackagePB& operator=(const CUIFontFilePackagePB& from) { + CopyFrom(from); + return *this; + } + inline CUIFontFilePackagePB& operator=(CUIFontFilePackagePB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUIFontFilePackagePB& default_instance() { + return *internal_default_instance(); + } + static inline const CUIFontFilePackagePB* internal_default_instance() { + return reinterpret_cast( + &_CUIFontFilePackagePB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CUIFontFilePackagePB& a, CUIFontFilePackagePB& b) { + a.Swap(&b); + } + inline void Swap(CUIFontFilePackagePB* 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(CUIFontFilePackagePB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUIFontFilePackagePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUIFontFilePackagePB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUIFontFilePackagePB& from) { + CUIFontFilePackagePB::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(CUIFontFilePackagePB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUIFontFilePackagePB"; + } + protected: + explicit CUIFontFilePackagePB(::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 ---------------------------------------------------- + + typedef CUIFontFilePackagePB_CUIEncryptedFontFilePB CUIEncryptedFontFilePB; + + // accessors ------------------------------------------------------- + + enum : int { + kEncryptedFontFilesFieldNumber = 2, + kPackageVersionFieldNumber = 1, + }; + // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; + int encrypted_font_files_size() const; + private: + int _internal_encrypted_font_files_size() const; + public: + void clear_encrypted_font_files(); + ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* mutable_encrypted_font_files(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >* + mutable_encrypted_font_files(); + private: + const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& _internal_encrypted_font_files(int index) const; + ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* _internal_add_encrypted_font_files(); + public: + const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& encrypted_font_files(int index) const; + ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* add_encrypted_font_files(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >& + encrypted_font_files() const; + + // required uint32 package_version = 1; + bool has_package_version() const; + private: + bool _internal_has_package_version() const; + public: + void clear_package_version(); + uint32_t package_version() const; + void set_package_version(uint32_t value); + private: + uint32_t _internal_package_version() const; + void _internal_set_package_version(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUIFontFilePackagePB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB > encrypted_font_files_; + uint32_t package_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_uifontfile_5fformat_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CUIFontFilePB + +// optional string font_file_name = 1; +inline bool CUIFontFilePB::_internal_has_font_file_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUIFontFilePB::has_font_file_name() const { + return _internal_has_font_file_name(); +} +inline void CUIFontFilePB::clear_font_file_name() { + _impl_.font_file_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUIFontFilePB::font_file_name() const { + // @@protoc_insertion_point(field_get:CUIFontFilePB.font_file_name) + return _internal_font_file_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUIFontFilePB::set_font_file_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.font_file_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUIFontFilePB.font_file_name) +} +inline std::string* CUIFontFilePB::mutable_font_file_name() { + std::string* _s = _internal_mutable_font_file_name(); + // @@protoc_insertion_point(field_mutable:CUIFontFilePB.font_file_name) + return _s; +} +inline const std::string& CUIFontFilePB::_internal_font_file_name() const { + return _impl_.font_file_name_.Get(); +} +inline void CUIFontFilePB::_internal_set_font_file_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.font_file_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUIFontFilePB::_internal_mutable_font_file_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.font_file_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUIFontFilePB::release_font_file_name() { + // @@protoc_insertion_point(field_release:CUIFontFilePB.font_file_name) + if (!_internal_has_font_file_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.font_file_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.font_file_name_.IsDefault()) { + _impl_.font_file_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUIFontFilePB::set_allocated_font_file_name(std::string* font_file_name) { + if (font_file_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.font_file_name_.SetAllocated(font_file_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.font_file_name_.IsDefault()) { + _impl_.font_file_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUIFontFilePB.font_file_name) +} + +// optional bytes opentype_font_data = 2; +inline bool CUIFontFilePB::_internal_has_opentype_font_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUIFontFilePB::has_opentype_font_data() const { + return _internal_has_opentype_font_data(); +} +inline void CUIFontFilePB::clear_opentype_font_data() { + _impl_.opentype_font_data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUIFontFilePB::opentype_font_data() const { + // @@protoc_insertion_point(field_get:CUIFontFilePB.opentype_font_data) + return _internal_opentype_font_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUIFontFilePB::set_opentype_font_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.opentype_font_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUIFontFilePB.opentype_font_data) +} +inline std::string* CUIFontFilePB::mutable_opentype_font_data() { + std::string* _s = _internal_mutable_opentype_font_data(); + // @@protoc_insertion_point(field_mutable:CUIFontFilePB.opentype_font_data) + return _s; +} +inline const std::string& CUIFontFilePB::_internal_opentype_font_data() const { + return _impl_.opentype_font_data_.Get(); +} +inline void CUIFontFilePB::_internal_set_opentype_font_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.opentype_font_data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUIFontFilePB::_internal_mutable_opentype_font_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.opentype_font_data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUIFontFilePB::release_opentype_font_data() { + // @@protoc_insertion_point(field_release:CUIFontFilePB.opentype_font_data) + if (!_internal_has_opentype_font_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.opentype_font_data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.opentype_font_data_.IsDefault()) { + _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUIFontFilePB::set_allocated_opentype_font_data(std::string* opentype_font_data) { + if (opentype_font_data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.opentype_font_data_.SetAllocated(opentype_font_data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.opentype_font_data_.IsDefault()) { + _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUIFontFilePB.opentype_font_data) +} + +// ------------------------------------------------------------------- + +// CUIFontFilePackagePB_CUIEncryptedFontFilePB + +// optional bytes encrypted_contents = 1; +inline bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_has_encrypted_contents() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::has_encrypted_contents() const { + return _internal_has_encrypted_contents(); +} +inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::clear_encrypted_contents() { + _impl_.encrypted_contents_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUIFontFilePackagePB_CUIEncryptedFontFilePB::encrypted_contents() const { + // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) + return _internal_encrypted_contents(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUIFontFilePackagePB_CUIEncryptedFontFilePB::set_encrypted_contents(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.encrypted_contents_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) +} +inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::mutable_encrypted_contents() { + std::string* _s = _internal_mutable_encrypted_contents(); + // @@protoc_insertion_point(field_mutable:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) + return _s; +} +inline const std::string& CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_encrypted_contents() const { + return _impl_.encrypted_contents_.Get(); +} +inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_set_encrypted_contents(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.encrypted_contents_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_mutable_encrypted_contents() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.encrypted_contents_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::release_encrypted_contents() { + // @@protoc_insertion_point(field_release:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) + if (!_internal_has_encrypted_contents()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.encrypted_contents_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_contents_.IsDefault()) { + _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::set_allocated_encrypted_contents(std::string* encrypted_contents) { + if (encrypted_contents != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.encrypted_contents_.SetAllocated(encrypted_contents, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.encrypted_contents_.IsDefault()) { + _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) +} + +// ------------------------------------------------------------------- + +// CUIFontFilePackagePB + +// required uint32 package_version = 1; +inline bool CUIFontFilePackagePB::_internal_has_package_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUIFontFilePackagePB::has_package_version() const { + return _internal_has_package_version(); +} +inline void CUIFontFilePackagePB::clear_package_version() { + _impl_.package_version_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUIFontFilePackagePB::_internal_package_version() const { + return _impl_.package_version_; +} +inline uint32_t CUIFontFilePackagePB::package_version() const { + // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.package_version) + return _internal_package_version(); +} +inline void CUIFontFilePackagePB::_internal_set_package_version(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.package_version_ = value; +} +inline void CUIFontFilePackagePB::set_package_version(uint32_t value) { + _internal_set_package_version(value); + // @@protoc_insertion_point(field_set:CUIFontFilePackagePB.package_version) +} + +// repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; +inline int CUIFontFilePackagePB::_internal_encrypted_font_files_size() const { + return _impl_.encrypted_font_files_.size(); +} +inline int CUIFontFilePackagePB::encrypted_font_files_size() const { + return _internal_encrypted_font_files_size(); +} +inline void CUIFontFilePackagePB::clear_encrypted_font_files() { + _impl_.encrypted_font_files_.Clear(); +} +inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::mutable_encrypted_font_files(int index) { + // @@protoc_insertion_point(field_mutable:CUIFontFilePackagePB.encrypted_font_files) + return _impl_.encrypted_font_files_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >* +CUIFontFilePackagePB::mutable_encrypted_font_files() { + // @@protoc_insertion_point(field_mutable_list:CUIFontFilePackagePB.encrypted_font_files) + return &_impl_.encrypted_font_files_; +} +inline const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& CUIFontFilePackagePB::_internal_encrypted_font_files(int index) const { + return _impl_.encrypted_font_files_.Get(index); +} +inline const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& CUIFontFilePackagePB::encrypted_font_files(int index) const { + // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.encrypted_font_files) + return _internal_encrypted_font_files(index); +} +inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::_internal_add_encrypted_font_files() { + return _impl_.encrypted_font_files_.Add(); +} +inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::add_encrypted_font_files() { + ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* _add = _internal_add_encrypted_font_files(); + // @@protoc_insertion_point(field_add:CUIFontFilePackagePB.encrypted_font_files) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >& +CUIFontFilePackagePB::encrypted_font_files() const { + // @@protoc_insertion_point(field_list:CUIFontFilePackagePB.encrypted_font_files) + return _impl_.encrypted_font_files_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc new file mode 100644 index 0000000..60c85c7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.cc @@ -0,0 +1,1888 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: usercmd.proto + +#include "usercmd.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; + +PROTOBUF_CONSTEXPR CInButtonStatePB::CInButtonStatePB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.buttonstate1_)*/uint64_t{0u} + , /*decltype(_impl_.buttonstate2_)*/uint64_t{0u} + , /*decltype(_impl_.buttonstate3_)*/uint64_t{0u}} {} +struct CInButtonStatePBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CInButtonStatePBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CInButtonStatePBDefaultTypeInternal() {} + union { + CInButtonStatePB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CInButtonStatePBDefaultTypeInternal _CInButtonStatePB_default_instance_; +PROTOBUF_CONSTEXPR CSubtickMoveStep::CSubtickMoveStep( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.button_)*/uint64_t{0u} + , /*decltype(_impl_.pressed_)*/false + , /*decltype(_impl_.when_)*/0 + , /*decltype(_impl_.analog_forward_delta_)*/0 + , /*decltype(_impl_.analog_left_delta_)*/0 + , /*decltype(_impl_.pitch_delta_)*/0 + , /*decltype(_impl_.yaw_delta_)*/0} {} +struct CSubtickMoveStepDefaultTypeInternal { + PROTOBUF_CONSTEXPR CSubtickMoveStepDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CSubtickMoveStepDefaultTypeInternal() {} + union { + CSubtickMoveStep _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSubtickMoveStepDefaultTypeInternal _CSubtickMoveStep_default_instance_; +PROTOBUF_CONSTEXPR CBaseUserCmdPB::CBaseUserCmdPB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.subtick_moves_)*/{} + , /*decltype(_impl_.move_crc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.buttons_pb_)*/nullptr + , /*decltype(_impl_.viewangles_)*/nullptr + , /*decltype(_impl_.legacy_command_number_)*/0 + , /*decltype(_impl_.client_tick_)*/0 + , /*decltype(_impl_.forwardmove_)*/0 + , /*decltype(_impl_.leftmove_)*/0 + , /*decltype(_impl_.upmove_)*/0 + , /*decltype(_impl_.impulse_)*/0 + , /*decltype(_impl_.weaponselect_)*/0 + , /*decltype(_impl_.random_seed_)*/0 + , /*decltype(_impl_.mousedx_)*/0 + , /*decltype(_impl_.mousedy_)*/0 + , /*decltype(_impl_.prediction_offset_ticks_x256_)*/0u + , /*decltype(_impl_.consumed_server_angle_changes_)*/0u + , /*decltype(_impl_.cmd_flags_)*/0 + , /*decltype(_impl_.pawn_entity_handle_)*/16777215u} {} +struct CBaseUserCmdPBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CBaseUserCmdPBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CBaseUserCmdPBDefaultTypeInternal() {} + union { + CBaseUserCmdPB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBaseUserCmdPBDefaultTypeInternal _CBaseUserCmdPB_default_instance_; +PROTOBUF_CONSTEXPR CUserCmdBasePB::CUserCmdBasePB( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.base_)*/nullptr} {} +struct CUserCmdBasePBDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserCmdBasePBDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserCmdBasePBDefaultTypeInternal() {} + union { + CUserCmdBasePB _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; +static ::_pb::Metadata file_level_metadata_usercmd_2eproto[4]; +static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_usercmd_2eproto = nullptr; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_usercmd_2eproto = nullptr; + +const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate1_), + PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate2_), + PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate3_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.button_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.pressed_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.when_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.analog_forward_delta_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.analog_left_delta_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.pitch_delta_), + PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.yaw_delta_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.legacy_command_number_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.client_tick_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.prediction_offset_ticks_x256_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.buttons_pb_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.viewangles_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.forwardmove_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.leftmove_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.upmove_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.impulse_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.weaponselect_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.random_seed_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.mousedx_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.mousedy_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.pawn_entity_handle_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.subtick_moves_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.move_crc_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.consumed_server_angle_changes_), + PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.cmd_flags_), + 3, + 4, + 13, + 1, + 2, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 16, + ~0u, + 0, + 14, + 15, + PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _impl_.base_), + 0, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 9, -1, sizeof(::CInButtonStatePB)}, + { 12, 25, -1, sizeof(::CSubtickMoveStep)}, + { 32, 56, -1, sizeof(::CBaseUserCmdPB)}, + { 74, 81, -1, sizeof(::CUserCmdBasePB)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CInButtonStatePB_default_instance_._instance, + &::_CSubtickMoveStep_default_instance_._instance, + &::_CBaseUserCmdPB_default_instance_._instance, + &::_CUserCmdBasePB_default_instance_._instance, +}; + +const char descriptor_table_protodef_usercmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\rusercmd.proto\032\026networkbasetypes.proto\"" + "T\n\020CInButtonStatePB\022\024\n\014buttonstate1\030\001 \001(" + "\004\022\024\n\014buttonstate2\030\002 \001(\004\022\024\n\014buttonstate3\030" + "\003 \001(\004\"\242\001\n\020CSubtickMoveStep\022\016\n\006button\030\001 \001" + "(\004\022\017\n\007pressed\030\002 \001(\010\022\014\n\004when\030\003 \001(\002\022\034\n\024ana" + "log_forward_delta\030\004 \001(\002\022\031\n\021analog_left_d" + "elta\030\005 \001(\002\022\023\n\013pitch_delta\030\010 \001(\002\022\021\n\tyaw_d" + "elta\030\t \001(\002\"\343\003\n\016CBaseUserCmdPB\022\035\n\025legacy_" + "command_number\030\001 \001(\005\022\023\n\013client_tick\030\002 \001(" + "\005\022$\n\034prediction_offset_ticks_x256\030\021 \001(\r\022" + "%\n\nbuttons_pb\030\003 \001(\0132\021.CInButtonStatePB\022\037" + "\n\nviewangles\030\004 \001(\0132\013.CMsgQAngle\022\023\n\013forwa" + "rdmove\030\005 \001(\002\022\020\n\010leftmove\030\006 \001(\002\022\016\n\006upmove" + "\030\007 \001(\002\022\017\n\007impulse\030\010 \001(\005\022\024\n\014weaponselect\030" + "\t \001(\005\022\023\n\013random_seed\030\n \001(\005\022\017\n\007mousedx\030\013 " + "\001(\005\022\017\n\007mousedy\030\014 \001(\005\022$\n\022pawn_entity_hand" + "le\030\016 \001(\r:\01016777215\022(\n\rsubtick_moves\030\022 \003(" + "\0132\021.CSubtickMoveStep\022\020\n\010move_crc\030\023 \001(\014\022%" + "\n\035consumed_server_angle_changes\030\024 \001(\r\022\021\n" + "\tcmd_flags\030\025 \001(\005\"/\n\016CUserCmdBasePB\022\035\n\004ba" + "se\030\001 \001(\0132\017.CBaseUserCmdPB" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_usercmd_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_usercmd_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_usercmd_2eproto = { + false, false, 825, descriptor_table_protodef_usercmd_2eproto, + "usercmd.proto", + &descriptor_table_usercmd_2eproto_once, descriptor_table_usercmd_2eproto_deps, 1, 4, + schemas, file_default_instances, TableStruct_usercmd_2eproto::offsets, + file_level_metadata_usercmd_2eproto, file_level_enum_descriptors_usercmd_2eproto, + file_level_service_descriptors_usercmd_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_usercmd_2eproto_getter() { + return &descriptor_table_usercmd_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_usercmd_2eproto(&descriptor_table_usercmd_2eproto); + +// =================================================================== + +class CInButtonStatePB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_buttonstate1(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_buttonstate2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_buttonstate3(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CInButtonStatePB::CInButtonStatePB(::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:CInButtonStatePB) +} +CInButtonStatePB::CInButtonStatePB(const CInButtonStatePB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CInButtonStatePB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.buttonstate1_){} + , decltype(_impl_.buttonstate2_){} + , decltype(_impl_.buttonstate3_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.buttonstate1_, &from._impl_.buttonstate1_, + static_cast(reinterpret_cast(&_impl_.buttonstate3_) - + reinterpret_cast(&_impl_.buttonstate1_)) + sizeof(_impl_.buttonstate3_)); + // @@protoc_insertion_point(copy_constructor:CInButtonStatePB) +} + +inline void CInButtonStatePB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.buttonstate1_){uint64_t{0u}} + , decltype(_impl_.buttonstate2_){uint64_t{0u}} + , decltype(_impl_.buttonstate3_){uint64_t{0u}} + }; +} + +CInButtonStatePB::~CInButtonStatePB() { + // @@protoc_insertion_point(destructor:CInButtonStatePB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CInButtonStatePB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CInButtonStatePB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CInButtonStatePB::Clear() { +// @@protoc_insertion_point(message_clear_start:CInButtonStatePB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.buttonstate1_, 0, static_cast( + reinterpret_cast(&_impl_.buttonstate3_) - + reinterpret_cast(&_impl_.buttonstate1_)) + sizeof(_impl_.buttonstate3_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CInButtonStatePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 buttonstate1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_buttonstate1(&has_bits); + _impl_.buttonstate1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 buttonstate2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_buttonstate2(&has_bits); + _impl_.buttonstate2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 buttonstate3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_buttonstate3(&has_bits); + _impl_.buttonstate3_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CInButtonStatePB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CInButtonStatePB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 buttonstate1 = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_buttonstate1(), target); + } + + // optional uint64 buttonstate2 = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_buttonstate2(), target); + } + + // optional uint64 buttonstate3 = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_buttonstate3(), 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:CInButtonStatePB) + return target; +} + +size_t CInButtonStatePB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CInButtonStatePB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional uint64 buttonstate1 = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate1()); + } + + // optional uint64 buttonstate2 = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate2()); + } + + // optional uint64 buttonstate3 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate3()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CInButtonStatePB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CInButtonStatePB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CInButtonStatePB::GetClassData() const { return &_class_data_; } + + +void CInButtonStatePB::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:CInButtonStatePB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.buttonstate1_ = from._impl_.buttonstate1_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.buttonstate2_ = from._impl_.buttonstate2_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.buttonstate3_ = from._impl_.buttonstate3_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CInButtonStatePB::CopyFrom(const CInButtonStatePB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CInButtonStatePB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CInButtonStatePB::IsInitialized() const { + return true; +} + +void CInButtonStatePB::InternalSwap(CInButtonStatePB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CInButtonStatePB, _impl_.buttonstate3_) + + sizeof(CInButtonStatePB::_impl_.buttonstate3_) + - PROTOBUF_FIELD_OFFSET(CInButtonStatePB, _impl_.buttonstate1_)>( + reinterpret_cast(&_impl_.buttonstate1_), + reinterpret_cast(&other->_impl_.buttonstate1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CInButtonStatePB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, + file_level_metadata_usercmd_2eproto[0]); +} + +// =================================================================== + +class CSubtickMoveStep::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_button(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_pressed(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_when(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_analog_forward_delta(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_analog_left_delta(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_pitch_delta(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_yaw_delta(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } +}; + +CSubtickMoveStep::CSubtickMoveStep(::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:CSubtickMoveStep) +} +CSubtickMoveStep::CSubtickMoveStep(const CSubtickMoveStep& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CSubtickMoveStep* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.button_){} + , decltype(_impl_.pressed_){} + , decltype(_impl_.when_){} + , decltype(_impl_.analog_forward_delta_){} + , decltype(_impl_.analog_left_delta_){} + , decltype(_impl_.pitch_delta_){} + , decltype(_impl_.yaw_delta_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.button_, &from._impl_.button_, + static_cast(reinterpret_cast(&_impl_.yaw_delta_) - + reinterpret_cast(&_impl_.button_)) + sizeof(_impl_.yaw_delta_)); + // @@protoc_insertion_point(copy_constructor:CSubtickMoveStep) +} + +inline void CSubtickMoveStep::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.button_){uint64_t{0u}} + , decltype(_impl_.pressed_){false} + , decltype(_impl_.when_){0} + , decltype(_impl_.analog_forward_delta_){0} + , decltype(_impl_.analog_left_delta_){0} + , decltype(_impl_.pitch_delta_){0} + , decltype(_impl_.yaw_delta_){0} + }; +} + +CSubtickMoveStep::~CSubtickMoveStep() { + // @@protoc_insertion_point(destructor:CSubtickMoveStep) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CSubtickMoveStep::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CSubtickMoveStep::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CSubtickMoveStep::Clear() { +// @@protoc_insertion_point(message_clear_start:CSubtickMoveStep) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + ::memset(&_impl_.button_, 0, static_cast( + reinterpret_cast(&_impl_.yaw_delta_) - + reinterpret_cast(&_impl_.button_)) + sizeof(_impl_.yaw_delta_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CSubtickMoveStep::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 button = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_button(&has_bits); + _impl_.button_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool pressed = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_pressed(&has_bits); + _impl_.pressed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float when = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_when(&has_bits); + _impl_.when_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float analog_forward_delta = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_analog_forward_delta(&has_bits); + _impl_.analog_forward_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float analog_left_delta = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_analog_left_delta(&has_bits); + _impl_.analog_left_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float pitch_delta = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { + _Internal::set_has_pitch_delta(&has_bits); + _impl_.pitch_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float yaw_delta = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_yaw_delta(&has_bits); + _impl_.yaw_delta_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CSubtickMoveStep::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CSubtickMoveStep) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 button = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_button(), target); + } + + // optional bool pressed = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_pressed(), target); + } + + // optional float when = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_when(), target); + } + + // optional float analog_forward_delta = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_analog_forward_delta(), target); + } + + // optional float analog_left_delta = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_analog_left_delta(), target); + } + + // optional float pitch_delta = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_pitch_delta(), target); + } + + // optional float yaw_delta = 9; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_yaw_delta(), 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:CSubtickMoveStep) + return target; +} + +size_t CSubtickMoveStep::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CSubtickMoveStep) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional uint64 button = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_button()); + } + + // optional bool pressed = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional float when = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float analog_forward_delta = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional float analog_left_delta = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional float pitch_delta = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float yaw_delta = 9; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSubtickMoveStep::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CSubtickMoveStep::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSubtickMoveStep::GetClassData() const { return &_class_data_; } + + +void CSubtickMoveStep::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:CSubtickMoveStep) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.button_ = from._impl_.button_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.pressed_ = from._impl_.pressed_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.when_ = from._impl_.when_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.analog_forward_delta_ = from._impl_.analog_forward_delta_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.analog_left_delta_ = from._impl_.analog_left_delta_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.pitch_delta_ = from._impl_.pitch_delta_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.yaw_delta_ = from._impl_.yaw_delta_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CSubtickMoveStep::CopyFrom(const CSubtickMoveStep& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CSubtickMoveStep) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSubtickMoveStep::IsInitialized() const { + return true; +} + +void CSubtickMoveStep::InternalSwap(CSubtickMoveStep* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CSubtickMoveStep, _impl_.yaw_delta_) + + sizeof(CSubtickMoveStep::_impl_.yaw_delta_) + - PROTOBUF_FIELD_OFFSET(CSubtickMoveStep, _impl_.button_)>( + reinterpret_cast(&_impl_.button_), + reinterpret_cast(&other->_impl_.button_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CSubtickMoveStep::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, + file_level_metadata_usercmd_2eproto[1]); +} + +// =================================================================== + +class CBaseUserCmdPB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_legacy_command_number(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_tick(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_prediction_offset_ticks_x256(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static const ::CInButtonStatePB& buttons_pb(const CBaseUserCmdPB* msg); + static void set_has_buttons_pb(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& viewangles(const CBaseUserCmdPB* msg); + static void set_has_viewangles(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_forwardmove(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_leftmove(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_upmove(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_impulse(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_weaponselect(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_random_seed(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_mousedx(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_mousedy(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_pawn_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_move_crc(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_consumed_server_angle_changes(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_cmd_flags(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } +}; + +const ::CInButtonStatePB& +CBaseUserCmdPB::_Internal::buttons_pb(const CBaseUserCmdPB* msg) { + return *msg->_impl_.buttons_pb_; +} +const ::CMsgQAngle& +CBaseUserCmdPB::_Internal::viewangles(const CBaseUserCmdPB* msg) { + return *msg->_impl_.viewangles_; +} +void CBaseUserCmdPB::clear_viewangles() { + if (_impl_.viewangles_ != nullptr) _impl_.viewangles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CBaseUserCmdPB::CBaseUserCmdPB(::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:CBaseUserCmdPB) +} +CBaseUserCmdPB::CBaseUserCmdPB(const CBaseUserCmdPB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CBaseUserCmdPB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.subtick_moves_){from._impl_.subtick_moves_} + , decltype(_impl_.move_crc_){} + , decltype(_impl_.buttons_pb_){nullptr} + , decltype(_impl_.viewangles_){nullptr} + , decltype(_impl_.legacy_command_number_){} + , decltype(_impl_.client_tick_){} + , decltype(_impl_.forwardmove_){} + , decltype(_impl_.leftmove_){} + , decltype(_impl_.upmove_){} + , decltype(_impl_.impulse_){} + , decltype(_impl_.weaponselect_){} + , decltype(_impl_.random_seed_){} + , decltype(_impl_.mousedx_){} + , decltype(_impl_.mousedy_){} + , decltype(_impl_.prediction_offset_ticks_x256_){} + , decltype(_impl_.consumed_server_angle_changes_){} + , decltype(_impl_.cmd_flags_){} + , decltype(_impl_.pawn_entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.move_crc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.move_crc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_move_crc()) { + _this->_impl_.move_crc_.Set(from._internal_move_crc(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_buttons_pb()) { + _this->_impl_.buttons_pb_ = new ::CInButtonStatePB(*from._impl_.buttons_pb_); + } + if (from._internal_has_viewangles()) { + _this->_impl_.viewangles_ = new ::CMsgQAngle(*from._impl_.viewangles_); + } + ::memcpy(&_impl_.legacy_command_number_, &from._impl_.legacy_command_number_, + static_cast(reinterpret_cast(&_impl_.pawn_entity_handle_) - + reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.pawn_entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CBaseUserCmdPB) +} + +inline void CBaseUserCmdPB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.subtick_moves_){arena} + , decltype(_impl_.move_crc_){} + , decltype(_impl_.buttons_pb_){nullptr} + , decltype(_impl_.viewangles_){nullptr} + , decltype(_impl_.legacy_command_number_){0} + , decltype(_impl_.client_tick_){0} + , decltype(_impl_.forwardmove_){0} + , decltype(_impl_.leftmove_){0} + , decltype(_impl_.upmove_){0} + , decltype(_impl_.impulse_){0} + , decltype(_impl_.weaponselect_){0} + , decltype(_impl_.random_seed_){0} + , decltype(_impl_.mousedx_){0} + , decltype(_impl_.mousedy_){0} + , decltype(_impl_.prediction_offset_ticks_x256_){0u} + , decltype(_impl_.consumed_server_angle_changes_){0u} + , decltype(_impl_.cmd_flags_){0} + , decltype(_impl_.pawn_entity_handle_){16777215u} + }; + _impl_.move_crc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.move_crc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CBaseUserCmdPB::~CBaseUserCmdPB() { + // @@protoc_insertion_point(destructor:CBaseUserCmdPB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CBaseUserCmdPB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subtick_moves_.~RepeatedPtrField(); + _impl_.move_crc_.Destroy(); + if (this != internal_default_instance()) delete _impl_.buttons_pb_; + if (this != internal_default_instance()) delete _impl_.viewangles_; +} + +void CBaseUserCmdPB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CBaseUserCmdPB::Clear() { +// @@protoc_insertion_point(message_clear_start:CBaseUserCmdPB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subtick_moves_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.move_crc_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.buttons_pb_ != nullptr); + _impl_.buttons_pb_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.viewangles_ != nullptr); + _impl_.viewangles_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.legacy_command_number_, 0, static_cast( + reinterpret_cast(&_impl_.upmove_) - + reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.upmove_)); + } + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.impulse_, 0, static_cast( + reinterpret_cast(&_impl_.cmd_flags_) - + reinterpret_cast(&_impl_.impulse_)) + sizeof(_impl_.cmd_flags_)); + } + _impl_.pawn_entity_handle_ = 16777215u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CBaseUserCmdPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 legacy_command_number = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_legacy_command_number(&has_bits); + _impl_.legacy_command_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client_tick = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_client_tick(&has_bits); + _impl_.client_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CInButtonStatePB buttons_pb = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_buttons_pb(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle viewangles = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_viewangles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float forwardmove = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_forwardmove(&has_bits); + _impl_.forwardmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float leftmove = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_leftmove(&has_bits); + _impl_.leftmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float upmove = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_upmove(&has_bits); + _impl_.upmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 impulse = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_impulse(&has_bits); + _impl_.impulse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 weaponselect = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_weaponselect(&has_bits); + _impl_.weaponselect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 random_seed = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_random_seed(&has_bits); + _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 mousedx = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_mousedx(&has_bits); + _impl_.mousedx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 mousedy = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_mousedy(&has_bits); + _impl_.mousedy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 pawn_entity_handle = 14 [default = 16777215]; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_pawn_entity_handle(&has_bits); + _impl_.pawn_entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 prediction_offset_ticks_x256 = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_prediction_offset_ticks_x256(&has_bits); + _impl_.prediction_offset_ticks_x256_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CSubtickMoveStep subtick_moves = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr -= 2; + do { + ptr += 2; + ptr = ctx->ParseMessage(_internal_add_subtick_moves(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<146>(ptr)); + } else + goto handle_unusual; + continue; + // optional bytes move_crc = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + auto str = _internal_mutable_move_crc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 consumed_server_angle_changes = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { + _Internal::set_has_consumed_server_angle_changes(&has_bits); + _impl_.consumed_server_angle_changes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 cmd_flags = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { + _Internal::set_has_cmd_flags(&has_bits); + _impl_.cmd_flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CBaseUserCmdPB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CBaseUserCmdPB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 legacy_command_number = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_legacy_command_number(), target); + } + + // optional int32 client_tick = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client_tick(), target); + } + + // optional .CInButtonStatePB buttons_pb = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::buttons_pb(this), + _Internal::buttons_pb(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle viewangles = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::viewangles(this), + _Internal::viewangles(this).GetCachedSize(), target, stream); + } + + // optional float forwardmove = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_forwardmove(), target); + } + + // optional float leftmove = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_leftmove(), target); + } + + // optional float upmove = 7; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_upmove(), target); + } + + // optional int32 impulse = 8; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_impulse(), target); + } + + // optional int32 weaponselect = 9; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_weaponselect(), target); + } + + // optional int32 random_seed = 10; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_random_seed(), target); + } + + // optional int32 mousedx = 11; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_mousedx(), target); + } + + // optional int32 mousedy = 12; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_mousedy(), target); + } + + // optional uint32 pawn_entity_handle = 14 [default = 16777215]; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_pawn_entity_handle(), target); + } + + // optional uint32 prediction_offset_ticks_x256 = 17; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_prediction_offset_ticks_x256(), target); + } + + // repeated .CSubtickMoveStep subtick_moves = 18; + for (unsigned i = 0, + n = static_cast(this->_internal_subtick_moves_size()); i < n; i++) { + const auto& repfield = this->_internal_subtick_moves(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional bytes move_crc = 19; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 19, this->_internal_move_crc(), target); + } + + // optional uint32 consumed_server_angle_changes = 20; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_consumed_server_angle_changes(), target); + } + + // optional int32 cmd_flags = 21; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_cmd_flags(), 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:CBaseUserCmdPB) + return target; +} + +size_t CBaseUserCmdPB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CBaseUserCmdPB) + 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 .CSubtickMoveStep subtick_moves = 18; + total_size += 2UL * this->_internal_subtick_moves_size(); + for (const auto& msg : this->_impl_.subtick_moves_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes move_crc = 19; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_move_crc()); + } + + // optional .CInButtonStatePB buttons_pb = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.buttons_pb_); + } + + // optional .CMsgQAngle viewangles = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.viewangles_); + } + + // optional int32 legacy_command_number = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_legacy_command_number()); + } + + // optional int32 client_tick = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_tick()); + } + + // optional float forwardmove = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float leftmove = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional float upmove = 7; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional int32 impulse = 8; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_impulse()); + } + + // optional int32 weaponselect = 9; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weaponselect()); + } + + // optional int32 random_seed = 10; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); + } + + // optional int32 mousedx = 11; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedx()); + } + + // optional int32 mousedy = 12; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedy()); + } + + // optional uint32 prediction_offset_ticks_x256 = 17; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_prediction_offset_ticks_x256()); + } + + // optional uint32 consumed_server_angle_changes = 20; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_consumed_server_angle_changes()); + } + + // optional int32 cmd_flags = 21; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int32Size( + this->_internal_cmd_flags()); + } + + } + // optional uint32 pawn_entity_handle = 14 [default = 16777215]; + if (cached_has_bits & 0x00010000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pawn_entity_handle()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBaseUserCmdPB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CBaseUserCmdPB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBaseUserCmdPB::GetClassData() const { return &_class_data_; } + + +void CBaseUserCmdPB::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:CBaseUserCmdPB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.subtick_moves_.MergeFrom(from._impl_.subtick_moves_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_move_crc(from._internal_move_crc()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_buttons_pb()->::CInButtonStatePB::MergeFrom( + from._internal_buttons_pb()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_viewangles()->::CMsgQAngle::MergeFrom( + from._internal_viewangles()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.legacy_command_number_ = from._impl_.legacy_command_number_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_tick_ = from._impl_.client_tick_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.forwardmove_ = from._impl_.forwardmove_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.leftmove_ = from._impl_.leftmove_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.upmove_ = from._impl_.upmove_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.impulse_ = from._impl_.impulse_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.weaponselect_ = from._impl_.weaponselect_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.random_seed_ = from._impl_.random_seed_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.mousedx_ = from._impl_.mousedx_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.mousedy_ = from._impl_.mousedy_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.prediction_offset_ticks_x256_ = from._impl_.prediction_offset_ticks_x256_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.consumed_server_angle_changes_ = from._impl_.consumed_server_angle_changes_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.cmd_flags_ = from._impl_.cmd_flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00010000u) { + _this->_internal_set_pawn_entity_handle(from._internal_pawn_entity_handle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CBaseUserCmdPB::CopyFrom(const CBaseUserCmdPB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CBaseUserCmdPB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBaseUserCmdPB::IsInitialized() const { + return true; +} + +void CBaseUserCmdPB::InternalSwap(CBaseUserCmdPB* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.subtick_moves_.InternalSwap(&other->_impl_.subtick_moves_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.move_crc_, lhs_arena, + &other->_impl_.move_crc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CBaseUserCmdPB, _impl_.cmd_flags_) + + sizeof(CBaseUserCmdPB::_impl_.cmd_flags_) + - PROTOBUF_FIELD_OFFSET(CBaseUserCmdPB, _impl_.buttons_pb_)>( + reinterpret_cast(&_impl_.buttons_pb_), + reinterpret_cast(&other->_impl_.buttons_pb_)); + swap(_impl_.pawn_entity_handle_, other->_impl_.pawn_entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CBaseUserCmdPB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, + file_level_metadata_usercmd_2eproto[2]); +} + +// =================================================================== + +class CUserCmdBasePB::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CBaseUserCmdPB& base(const CUserCmdBasePB* msg); + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CBaseUserCmdPB& +CUserCmdBasePB::_Internal::base(const CUserCmdBasePB* msg) { + return *msg->_impl_.base_; +} +CUserCmdBasePB::CUserCmdBasePB(::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:CUserCmdBasePB) +} +CUserCmdBasePB::CUserCmdBasePB(const CUserCmdBasePB& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserCmdBasePB* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_base()) { + _this->_impl_.base_ = new ::CBaseUserCmdPB(*from._impl_.base_); + } + // @@protoc_insertion_point(copy_constructor:CUserCmdBasePB) +} + +inline void CUserCmdBasePB::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.base_){nullptr} + }; +} + +CUserCmdBasePB::~CUserCmdBasePB() { + // @@protoc_insertion_point(destructor:CUserCmdBasePB) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserCmdBasePB::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.base_; +} + +void CUserCmdBasePB::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserCmdBasePB::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserCmdBasePB) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.base_ != nullptr); + _impl_.base_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserCmdBasePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CBaseUserCmdPB base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_base(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserCmdBasePB::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserCmdBasePB) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CBaseUserCmdPB base = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::base(this), + _Internal::base(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:CUserCmdBasePB) + return target; +} + +size_t CUserCmdBasePB::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserCmdBasePB) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CBaseUserCmdPB base = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.base_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserCmdBasePB::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserCmdBasePB::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserCmdBasePB::GetClassData() const { return &_class_data_; } + + +void CUserCmdBasePB::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:CUserCmdBasePB) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_base()) { + _this->_internal_mutable_base()->::CBaseUserCmdPB::MergeFrom( + from._internal_base()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserCmdBasePB::CopyFrom(const CUserCmdBasePB& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserCmdBasePB) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserCmdBasePB::IsInitialized() const { + return true; +} + +void CUserCmdBasePB::InternalSwap(CUserCmdBasePB* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.base_, other->_impl_.base_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserCmdBasePB::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, + file_level_metadata_usercmd_2eproto[3]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CInButtonStatePB* +Arena::CreateMaybeMessage< ::CInButtonStatePB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CInButtonStatePB >(arena); +} +template<> PROTOBUF_NOINLINE ::CSubtickMoveStep* +Arena::CreateMaybeMessage< ::CSubtickMoveStep >(Arena* arena) { + return Arena::CreateMessageInternal< ::CSubtickMoveStep >(arena); +} +template<> PROTOBUF_NOINLINE ::CBaseUserCmdPB* +Arena::CreateMaybeMessage< ::CBaseUserCmdPB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CBaseUserCmdPB >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserCmdBasePB* +Arena::CreateMaybeMessage< ::CUserCmdBasePB >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserCmdBasePB >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h new file mode 100644 index 0000000..bf0a095 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usercmd.pb.h @@ -0,0 +1,2193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: usercmd.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_usercmd_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_usercmd_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_usercmd_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_usercmd_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_usercmd_2eproto; +class CBaseUserCmdPB; +struct CBaseUserCmdPBDefaultTypeInternal; +extern CBaseUserCmdPBDefaultTypeInternal _CBaseUserCmdPB_default_instance_; +class CInButtonStatePB; +struct CInButtonStatePBDefaultTypeInternal; +extern CInButtonStatePBDefaultTypeInternal _CInButtonStatePB_default_instance_; +class CSubtickMoveStep; +struct CSubtickMoveStepDefaultTypeInternal; +extern CSubtickMoveStepDefaultTypeInternal _CSubtickMoveStep_default_instance_; +class CUserCmdBasePB; +struct CUserCmdBasePBDefaultTypeInternal; +extern CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CBaseUserCmdPB* Arena::CreateMaybeMessage<::CBaseUserCmdPB>(Arena*); +template<> ::CInButtonStatePB* Arena::CreateMaybeMessage<::CInButtonStatePB>(Arena*); +template<> ::CSubtickMoveStep* Arena::CreateMaybeMessage<::CSubtickMoveStep>(Arena*); +template<> ::CUserCmdBasePB* Arena::CreateMaybeMessage<::CUserCmdBasePB>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +// =================================================================== + +class CInButtonStatePB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CInButtonStatePB) */ { + public: + inline CInButtonStatePB() : CInButtonStatePB(nullptr) {} + ~CInButtonStatePB() override; + explicit PROTOBUF_CONSTEXPR CInButtonStatePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CInButtonStatePB(const CInButtonStatePB& from); + CInButtonStatePB(CInButtonStatePB&& from) noexcept + : CInButtonStatePB() { + *this = ::std::move(from); + } + + inline CInButtonStatePB& operator=(const CInButtonStatePB& from) { + CopyFrom(from); + return *this; + } + inline CInButtonStatePB& operator=(CInButtonStatePB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CInButtonStatePB& default_instance() { + return *internal_default_instance(); + } + static inline const CInButtonStatePB* internal_default_instance() { + return reinterpret_cast( + &_CInButtonStatePB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CInButtonStatePB& a, CInButtonStatePB& b) { + a.Swap(&b); + } + inline void Swap(CInButtonStatePB* 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(CInButtonStatePB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CInButtonStatePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CInButtonStatePB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CInButtonStatePB& from) { + CInButtonStatePB::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(CInButtonStatePB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CInButtonStatePB"; + } + protected: + explicit CInButtonStatePB(::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 { + kButtonstate1FieldNumber = 1, + kButtonstate2FieldNumber = 2, + kButtonstate3FieldNumber = 3, + }; + // optional uint64 buttonstate1 = 1; + bool has_buttonstate1() const; + private: + bool _internal_has_buttonstate1() const; + public: + void clear_buttonstate1(); + uint64_t buttonstate1() const; + void set_buttonstate1(uint64_t value); + private: + uint64_t _internal_buttonstate1() const; + void _internal_set_buttonstate1(uint64_t value); + public: + + // optional uint64 buttonstate2 = 2; + bool has_buttonstate2() const; + private: + bool _internal_has_buttonstate2() const; + public: + void clear_buttonstate2(); + uint64_t buttonstate2() const; + void set_buttonstate2(uint64_t value); + private: + uint64_t _internal_buttonstate2() const; + void _internal_set_buttonstate2(uint64_t value); + public: + + // optional uint64 buttonstate3 = 3; + bool has_buttonstate3() const; + private: + bool _internal_has_buttonstate3() const; + public: + void clear_buttonstate3(); + uint64_t buttonstate3() const; + void set_buttonstate3(uint64_t value); + private: + uint64_t _internal_buttonstate3() const; + void _internal_set_buttonstate3(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CInButtonStatePB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t buttonstate1_; + uint64_t buttonstate2_; + uint64_t buttonstate3_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CSubtickMoveStep final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSubtickMoveStep) */ { + public: + inline CSubtickMoveStep() : CSubtickMoveStep(nullptr) {} + ~CSubtickMoveStep() override; + explicit PROTOBUF_CONSTEXPR CSubtickMoveStep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CSubtickMoveStep(const CSubtickMoveStep& from); + CSubtickMoveStep(CSubtickMoveStep&& from) noexcept + : CSubtickMoveStep() { + *this = ::std::move(from); + } + + inline CSubtickMoveStep& operator=(const CSubtickMoveStep& from) { + CopyFrom(from); + return *this; + } + inline CSubtickMoveStep& operator=(CSubtickMoveStep&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CSubtickMoveStep& default_instance() { + return *internal_default_instance(); + } + static inline const CSubtickMoveStep* internal_default_instance() { + return reinterpret_cast( + &_CSubtickMoveStep_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CSubtickMoveStep& a, CSubtickMoveStep& b) { + a.Swap(&b); + } + inline void Swap(CSubtickMoveStep* 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(CSubtickMoveStep* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CSubtickMoveStep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CSubtickMoveStep& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CSubtickMoveStep& from) { + CSubtickMoveStep::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(CSubtickMoveStep* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CSubtickMoveStep"; + } + protected: + explicit CSubtickMoveStep(::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 { + kButtonFieldNumber = 1, + kPressedFieldNumber = 2, + kWhenFieldNumber = 3, + kAnalogForwardDeltaFieldNumber = 4, + kAnalogLeftDeltaFieldNumber = 5, + kPitchDeltaFieldNumber = 8, + kYawDeltaFieldNumber = 9, + }; + // optional uint64 button = 1; + bool has_button() const; + private: + bool _internal_has_button() const; + public: + void clear_button(); + uint64_t button() const; + void set_button(uint64_t value); + private: + uint64_t _internal_button() const; + void _internal_set_button(uint64_t value); + public: + + // optional bool pressed = 2; + bool has_pressed() const; + private: + bool _internal_has_pressed() const; + public: + void clear_pressed(); + bool pressed() const; + void set_pressed(bool value); + private: + bool _internal_pressed() const; + void _internal_set_pressed(bool value); + public: + + // optional float when = 3; + bool has_when() const; + private: + bool _internal_has_when() const; + public: + void clear_when(); + float when() const; + void set_when(float value); + private: + float _internal_when() const; + void _internal_set_when(float value); + public: + + // optional float analog_forward_delta = 4; + bool has_analog_forward_delta() const; + private: + bool _internal_has_analog_forward_delta() const; + public: + void clear_analog_forward_delta(); + float analog_forward_delta() const; + void set_analog_forward_delta(float value); + private: + float _internal_analog_forward_delta() const; + void _internal_set_analog_forward_delta(float value); + public: + + // optional float analog_left_delta = 5; + bool has_analog_left_delta() const; + private: + bool _internal_has_analog_left_delta() const; + public: + void clear_analog_left_delta(); + float analog_left_delta() const; + void set_analog_left_delta(float value); + private: + float _internal_analog_left_delta() const; + void _internal_set_analog_left_delta(float value); + public: + + // optional float pitch_delta = 8; + bool has_pitch_delta() const; + private: + bool _internal_has_pitch_delta() const; + public: + void clear_pitch_delta(); + float pitch_delta() const; + void set_pitch_delta(float value); + private: + float _internal_pitch_delta() const; + void _internal_set_pitch_delta(float value); + public: + + // optional float yaw_delta = 9; + bool has_yaw_delta() const; + private: + bool _internal_has_yaw_delta() const; + public: + void clear_yaw_delta(); + float yaw_delta() const; + void set_yaw_delta(float value); + private: + float _internal_yaw_delta() const; + void _internal_set_yaw_delta(float value); + public: + + // @@protoc_insertion_point(class_scope:CSubtickMoveStep) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t button_; + bool pressed_; + float when_; + float analog_forward_delta_; + float analog_left_delta_; + float pitch_delta_; + float yaw_delta_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CBaseUserCmdPB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBaseUserCmdPB) */ { + public: + inline CBaseUserCmdPB() : CBaseUserCmdPB(nullptr) {} + ~CBaseUserCmdPB() override; + explicit PROTOBUF_CONSTEXPR CBaseUserCmdPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CBaseUserCmdPB(const CBaseUserCmdPB& from); + CBaseUserCmdPB(CBaseUserCmdPB&& from) noexcept + : CBaseUserCmdPB() { + *this = ::std::move(from); + } + + inline CBaseUserCmdPB& operator=(const CBaseUserCmdPB& from) { + CopyFrom(from); + return *this; + } + inline CBaseUserCmdPB& operator=(CBaseUserCmdPB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CBaseUserCmdPB& default_instance() { + return *internal_default_instance(); + } + static inline const CBaseUserCmdPB* internal_default_instance() { + return reinterpret_cast( + &_CBaseUserCmdPB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CBaseUserCmdPB& a, CBaseUserCmdPB& b) { + a.Swap(&b); + } + inline void Swap(CBaseUserCmdPB* 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(CBaseUserCmdPB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CBaseUserCmdPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CBaseUserCmdPB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CBaseUserCmdPB& from) { + CBaseUserCmdPB::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(CBaseUserCmdPB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CBaseUserCmdPB"; + } + protected: + explicit CBaseUserCmdPB(::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 { + kSubtickMovesFieldNumber = 18, + kMoveCrcFieldNumber = 19, + kButtonsPbFieldNumber = 3, + kViewanglesFieldNumber = 4, + kLegacyCommandNumberFieldNumber = 1, + kClientTickFieldNumber = 2, + kForwardmoveFieldNumber = 5, + kLeftmoveFieldNumber = 6, + kUpmoveFieldNumber = 7, + kImpulseFieldNumber = 8, + kWeaponselectFieldNumber = 9, + kRandomSeedFieldNumber = 10, + kMousedxFieldNumber = 11, + kMousedyFieldNumber = 12, + kPredictionOffsetTicksX256FieldNumber = 17, + kConsumedServerAngleChangesFieldNumber = 20, + kCmdFlagsFieldNumber = 21, + kPawnEntityHandleFieldNumber = 14, + }; + // repeated .CSubtickMoveStep subtick_moves = 18; + int subtick_moves_size() const; + private: + int _internal_subtick_moves_size() const; + public: + void clear_subtick_moves(); + ::CSubtickMoveStep* mutable_subtick_moves(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >* + mutable_subtick_moves(); + private: + const ::CSubtickMoveStep& _internal_subtick_moves(int index) const; + ::CSubtickMoveStep* _internal_add_subtick_moves(); + public: + const ::CSubtickMoveStep& subtick_moves(int index) const; + ::CSubtickMoveStep* add_subtick_moves(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >& + subtick_moves() const; + + // optional bytes move_crc = 19; + bool has_move_crc() const; + private: + bool _internal_has_move_crc() const; + public: + void clear_move_crc(); + const std::string& move_crc() const; + template + void set_move_crc(ArgT0&& arg0, ArgT... args); + std::string* mutable_move_crc(); + PROTOBUF_NODISCARD std::string* release_move_crc(); + void set_allocated_move_crc(std::string* move_crc); + private: + const std::string& _internal_move_crc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_move_crc(const std::string& value); + std::string* _internal_mutable_move_crc(); + public: + + // optional .CInButtonStatePB buttons_pb = 3; + bool has_buttons_pb() const; + private: + bool _internal_has_buttons_pb() const; + public: + void clear_buttons_pb(); + const ::CInButtonStatePB& buttons_pb() const; + PROTOBUF_NODISCARD ::CInButtonStatePB* release_buttons_pb(); + ::CInButtonStatePB* mutable_buttons_pb(); + void set_allocated_buttons_pb(::CInButtonStatePB* buttons_pb); + private: + const ::CInButtonStatePB& _internal_buttons_pb() const; + ::CInButtonStatePB* _internal_mutable_buttons_pb(); + public: + void unsafe_arena_set_allocated_buttons_pb( + ::CInButtonStatePB* buttons_pb); + ::CInButtonStatePB* unsafe_arena_release_buttons_pb(); + + // optional .CMsgQAngle viewangles = 4; + bool has_viewangles() const; + private: + bool _internal_has_viewangles() const; + public: + void clear_viewangles(); + const ::CMsgQAngle& viewangles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_viewangles(); + ::CMsgQAngle* mutable_viewangles(); + void set_allocated_viewangles(::CMsgQAngle* viewangles); + private: + const ::CMsgQAngle& _internal_viewangles() const; + ::CMsgQAngle* _internal_mutable_viewangles(); + public: + void unsafe_arena_set_allocated_viewangles( + ::CMsgQAngle* viewangles); + ::CMsgQAngle* unsafe_arena_release_viewangles(); + + // optional int32 legacy_command_number = 1; + bool has_legacy_command_number() const; + private: + bool _internal_has_legacy_command_number() const; + public: + void clear_legacy_command_number(); + int32_t legacy_command_number() const; + void set_legacy_command_number(int32_t value); + private: + int32_t _internal_legacy_command_number() const; + void _internal_set_legacy_command_number(int32_t value); + public: + + // optional int32 client_tick = 2; + bool has_client_tick() const; + private: + bool _internal_has_client_tick() const; + public: + void clear_client_tick(); + int32_t client_tick() const; + void set_client_tick(int32_t value); + private: + int32_t _internal_client_tick() const; + void _internal_set_client_tick(int32_t value); + public: + + // optional float forwardmove = 5; + bool has_forwardmove() const; + private: + bool _internal_has_forwardmove() const; + public: + void clear_forwardmove(); + float forwardmove() const; + void set_forwardmove(float value); + private: + float _internal_forwardmove() const; + void _internal_set_forwardmove(float value); + public: + + // optional float leftmove = 6; + bool has_leftmove() const; + private: + bool _internal_has_leftmove() const; + public: + void clear_leftmove(); + float leftmove() const; + void set_leftmove(float value); + private: + float _internal_leftmove() const; + void _internal_set_leftmove(float value); + public: + + // optional float upmove = 7; + bool has_upmove() const; + private: + bool _internal_has_upmove() const; + public: + void clear_upmove(); + float upmove() const; + void set_upmove(float value); + private: + float _internal_upmove() const; + void _internal_set_upmove(float value); + public: + + // optional int32 impulse = 8; + bool has_impulse() const; + private: + bool _internal_has_impulse() const; + public: + void clear_impulse(); + int32_t impulse() const; + void set_impulse(int32_t value); + private: + int32_t _internal_impulse() const; + void _internal_set_impulse(int32_t value); + public: + + // optional int32 weaponselect = 9; + bool has_weaponselect() const; + private: + bool _internal_has_weaponselect() const; + public: + void clear_weaponselect(); + int32_t weaponselect() const; + void set_weaponselect(int32_t value); + private: + int32_t _internal_weaponselect() const; + void _internal_set_weaponselect(int32_t value); + public: + + // optional int32 random_seed = 10; + bool has_random_seed() const; + private: + bool _internal_has_random_seed() const; + public: + void clear_random_seed(); + int32_t random_seed() const; + void set_random_seed(int32_t value); + private: + int32_t _internal_random_seed() const; + void _internal_set_random_seed(int32_t value); + public: + + // optional int32 mousedx = 11; + bool has_mousedx() const; + private: + bool _internal_has_mousedx() const; + public: + void clear_mousedx(); + int32_t mousedx() const; + void set_mousedx(int32_t value); + private: + int32_t _internal_mousedx() const; + void _internal_set_mousedx(int32_t value); + public: + + // optional int32 mousedy = 12; + bool has_mousedy() const; + private: + bool _internal_has_mousedy() const; + public: + void clear_mousedy(); + int32_t mousedy() const; + void set_mousedy(int32_t value); + private: + int32_t _internal_mousedy() const; + void _internal_set_mousedy(int32_t value); + public: + + // optional uint32 prediction_offset_ticks_x256 = 17; + bool has_prediction_offset_ticks_x256() const; + private: + bool _internal_has_prediction_offset_ticks_x256() const; + public: + void clear_prediction_offset_ticks_x256(); + uint32_t prediction_offset_ticks_x256() const; + void set_prediction_offset_ticks_x256(uint32_t value); + private: + uint32_t _internal_prediction_offset_ticks_x256() const; + void _internal_set_prediction_offset_ticks_x256(uint32_t value); + public: + + // optional uint32 consumed_server_angle_changes = 20; + bool has_consumed_server_angle_changes() const; + private: + bool _internal_has_consumed_server_angle_changes() const; + public: + void clear_consumed_server_angle_changes(); + uint32_t consumed_server_angle_changes() const; + void set_consumed_server_angle_changes(uint32_t value); + private: + uint32_t _internal_consumed_server_angle_changes() const; + void _internal_set_consumed_server_angle_changes(uint32_t value); + public: + + // optional int32 cmd_flags = 21; + bool has_cmd_flags() const; + private: + bool _internal_has_cmd_flags() const; + public: + void clear_cmd_flags(); + int32_t cmd_flags() const; + void set_cmd_flags(int32_t value); + private: + int32_t _internal_cmd_flags() const; + void _internal_set_cmd_flags(int32_t value); + public: + + // optional uint32 pawn_entity_handle = 14 [default = 16777215]; + bool has_pawn_entity_handle() const; + private: + bool _internal_has_pawn_entity_handle() const; + public: + void clear_pawn_entity_handle(); + uint32_t pawn_entity_handle() const; + void set_pawn_entity_handle(uint32_t value); + private: + uint32_t _internal_pawn_entity_handle() const; + void _internal_set_pawn_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CBaseUserCmdPB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep > subtick_moves_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr move_crc_; + ::CInButtonStatePB* buttons_pb_; + ::CMsgQAngle* viewangles_; + int32_t legacy_command_number_; + int32_t client_tick_; + float forwardmove_; + float leftmove_; + float upmove_; + int32_t impulse_; + int32_t weaponselect_; + int32_t random_seed_; + int32_t mousedx_; + int32_t mousedy_; + uint32_t prediction_offset_ticks_x256_; + uint32_t consumed_server_angle_changes_; + int32_t cmd_flags_; + uint32_t pawn_entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usercmd_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserCmdBasePB final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserCmdBasePB) */ { + public: + inline CUserCmdBasePB() : CUserCmdBasePB(nullptr) {} + ~CUserCmdBasePB() override; + explicit PROTOBUF_CONSTEXPR CUserCmdBasePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserCmdBasePB(const CUserCmdBasePB& from); + CUserCmdBasePB(CUserCmdBasePB&& from) noexcept + : CUserCmdBasePB() { + *this = ::std::move(from); + } + + inline CUserCmdBasePB& operator=(const CUserCmdBasePB& from) { + CopyFrom(from); + return *this; + } + inline CUserCmdBasePB& operator=(CUserCmdBasePB&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserCmdBasePB& default_instance() { + return *internal_default_instance(); + } + static inline const CUserCmdBasePB* internal_default_instance() { + return reinterpret_cast( + &_CUserCmdBasePB_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CUserCmdBasePB& a, CUserCmdBasePB& b) { + a.Swap(&b); + } + inline void Swap(CUserCmdBasePB* 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(CUserCmdBasePB* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserCmdBasePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserCmdBasePB& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserCmdBasePB& from) { + CUserCmdBasePB::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(CUserCmdBasePB* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserCmdBasePB"; + } + protected: + explicit CUserCmdBasePB(::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 { + kBaseFieldNumber = 1, + }; + // optional .CBaseUserCmdPB base = 1; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + const ::CBaseUserCmdPB& base() const; + PROTOBUF_NODISCARD ::CBaseUserCmdPB* release_base(); + ::CBaseUserCmdPB* mutable_base(); + void set_allocated_base(::CBaseUserCmdPB* base); + private: + const ::CBaseUserCmdPB& _internal_base() const; + ::CBaseUserCmdPB* _internal_mutable_base(); + public: + void unsafe_arena_set_allocated_base( + ::CBaseUserCmdPB* base); + ::CBaseUserCmdPB* unsafe_arena_release_base(); + + // @@protoc_insertion_point(class_scope:CUserCmdBasePB) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CBaseUserCmdPB* base_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usercmd_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CInButtonStatePB + +// optional uint64 buttonstate1 = 1; +inline bool CInButtonStatePB::_internal_has_buttonstate1() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CInButtonStatePB::has_buttonstate1() const { + return _internal_has_buttonstate1(); +} +inline void CInButtonStatePB::clear_buttonstate1() { + _impl_.buttonstate1_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CInButtonStatePB::_internal_buttonstate1() const { + return _impl_.buttonstate1_; +} +inline uint64_t CInButtonStatePB::buttonstate1() const { + // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate1) + return _internal_buttonstate1(); +} +inline void CInButtonStatePB::_internal_set_buttonstate1(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.buttonstate1_ = value; +} +inline void CInButtonStatePB::set_buttonstate1(uint64_t value) { + _internal_set_buttonstate1(value); + // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate1) +} + +// optional uint64 buttonstate2 = 2; +inline bool CInButtonStatePB::_internal_has_buttonstate2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CInButtonStatePB::has_buttonstate2() const { + return _internal_has_buttonstate2(); +} +inline void CInButtonStatePB::clear_buttonstate2() { + _impl_.buttonstate2_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CInButtonStatePB::_internal_buttonstate2() const { + return _impl_.buttonstate2_; +} +inline uint64_t CInButtonStatePB::buttonstate2() const { + // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate2) + return _internal_buttonstate2(); +} +inline void CInButtonStatePB::_internal_set_buttonstate2(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.buttonstate2_ = value; +} +inline void CInButtonStatePB::set_buttonstate2(uint64_t value) { + _internal_set_buttonstate2(value); + // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate2) +} + +// optional uint64 buttonstate3 = 3; +inline bool CInButtonStatePB::_internal_has_buttonstate3() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CInButtonStatePB::has_buttonstate3() const { + return _internal_has_buttonstate3(); +} +inline void CInButtonStatePB::clear_buttonstate3() { + _impl_.buttonstate3_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CInButtonStatePB::_internal_buttonstate3() const { + return _impl_.buttonstate3_; +} +inline uint64_t CInButtonStatePB::buttonstate3() const { + // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate3) + return _internal_buttonstate3(); +} +inline void CInButtonStatePB::_internal_set_buttonstate3(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.buttonstate3_ = value; +} +inline void CInButtonStatePB::set_buttonstate3(uint64_t value) { + _internal_set_buttonstate3(value); + // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate3) +} + +// ------------------------------------------------------------------- + +// CSubtickMoveStep + +// optional uint64 button = 1; +inline bool CSubtickMoveStep::_internal_has_button() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_button() const { + return _internal_has_button(); +} +inline void CSubtickMoveStep::clear_button() { + _impl_.button_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CSubtickMoveStep::_internal_button() const { + return _impl_.button_; +} +inline uint64_t CSubtickMoveStep::button() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.button) + return _internal_button(); +} +inline void CSubtickMoveStep::_internal_set_button(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.button_ = value; +} +inline void CSubtickMoveStep::set_button(uint64_t value) { + _internal_set_button(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.button) +} + +// optional bool pressed = 2; +inline bool CSubtickMoveStep::_internal_has_pressed() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_pressed() const { + return _internal_has_pressed(); +} +inline void CSubtickMoveStep::clear_pressed() { + _impl_.pressed_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CSubtickMoveStep::_internal_pressed() const { + return _impl_.pressed_; +} +inline bool CSubtickMoveStep::pressed() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.pressed) + return _internal_pressed(); +} +inline void CSubtickMoveStep::_internal_set_pressed(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.pressed_ = value; +} +inline void CSubtickMoveStep::set_pressed(bool value) { + _internal_set_pressed(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.pressed) +} + +// optional float when = 3; +inline bool CSubtickMoveStep::_internal_has_when() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_when() const { + return _internal_has_when(); +} +inline void CSubtickMoveStep::clear_when() { + _impl_.when_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CSubtickMoveStep::_internal_when() const { + return _impl_.when_; +} +inline float CSubtickMoveStep::when() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.when) + return _internal_when(); +} +inline void CSubtickMoveStep::_internal_set_when(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.when_ = value; +} +inline void CSubtickMoveStep::set_when(float value) { + _internal_set_when(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.when) +} + +// optional float analog_forward_delta = 4; +inline bool CSubtickMoveStep::_internal_has_analog_forward_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_analog_forward_delta() const { + return _internal_has_analog_forward_delta(); +} +inline void CSubtickMoveStep::clear_analog_forward_delta() { + _impl_.analog_forward_delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CSubtickMoveStep::_internal_analog_forward_delta() const { + return _impl_.analog_forward_delta_; +} +inline float CSubtickMoveStep::analog_forward_delta() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.analog_forward_delta) + return _internal_analog_forward_delta(); +} +inline void CSubtickMoveStep::_internal_set_analog_forward_delta(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.analog_forward_delta_ = value; +} +inline void CSubtickMoveStep::set_analog_forward_delta(float value) { + _internal_set_analog_forward_delta(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.analog_forward_delta) +} + +// optional float analog_left_delta = 5; +inline bool CSubtickMoveStep::_internal_has_analog_left_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_analog_left_delta() const { + return _internal_has_analog_left_delta(); +} +inline void CSubtickMoveStep::clear_analog_left_delta() { + _impl_.analog_left_delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CSubtickMoveStep::_internal_analog_left_delta() const { + return _impl_.analog_left_delta_; +} +inline float CSubtickMoveStep::analog_left_delta() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.analog_left_delta) + return _internal_analog_left_delta(); +} +inline void CSubtickMoveStep::_internal_set_analog_left_delta(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.analog_left_delta_ = value; +} +inline void CSubtickMoveStep::set_analog_left_delta(float value) { + _internal_set_analog_left_delta(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.analog_left_delta) +} + +// optional float pitch_delta = 8; +inline bool CSubtickMoveStep::_internal_has_pitch_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_pitch_delta() const { + return _internal_has_pitch_delta(); +} +inline void CSubtickMoveStep::clear_pitch_delta() { + _impl_.pitch_delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CSubtickMoveStep::_internal_pitch_delta() const { + return _impl_.pitch_delta_; +} +inline float CSubtickMoveStep::pitch_delta() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.pitch_delta) + return _internal_pitch_delta(); +} +inline void CSubtickMoveStep::_internal_set_pitch_delta(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.pitch_delta_ = value; +} +inline void CSubtickMoveStep::set_pitch_delta(float value) { + _internal_set_pitch_delta(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.pitch_delta) +} + +// optional float yaw_delta = 9; +inline bool CSubtickMoveStep::_internal_has_yaw_delta() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CSubtickMoveStep::has_yaw_delta() const { + return _internal_has_yaw_delta(); +} +inline void CSubtickMoveStep::clear_yaw_delta() { + _impl_.yaw_delta_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CSubtickMoveStep::_internal_yaw_delta() const { + return _impl_.yaw_delta_; +} +inline float CSubtickMoveStep::yaw_delta() const { + // @@protoc_insertion_point(field_get:CSubtickMoveStep.yaw_delta) + return _internal_yaw_delta(); +} +inline void CSubtickMoveStep::_internal_set_yaw_delta(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.yaw_delta_ = value; +} +inline void CSubtickMoveStep::set_yaw_delta(float value) { + _internal_set_yaw_delta(value); + // @@protoc_insertion_point(field_set:CSubtickMoveStep.yaw_delta) +} + +// ------------------------------------------------------------------- + +// CBaseUserCmdPB + +// optional int32 legacy_command_number = 1; +inline bool CBaseUserCmdPB::_internal_has_legacy_command_number() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_legacy_command_number() const { + return _internal_has_legacy_command_number(); +} +inline void CBaseUserCmdPB::clear_legacy_command_number() { + _impl_.legacy_command_number_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CBaseUserCmdPB::_internal_legacy_command_number() const { + return _impl_.legacy_command_number_; +} +inline int32_t CBaseUserCmdPB::legacy_command_number() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.legacy_command_number) + return _internal_legacy_command_number(); +} +inline void CBaseUserCmdPB::_internal_set_legacy_command_number(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.legacy_command_number_ = value; +} +inline void CBaseUserCmdPB::set_legacy_command_number(int32_t value) { + _internal_set_legacy_command_number(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.legacy_command_number) +} + +// optional int32 client_tick = 2; +inline bool CBaseUserCmdPB::_internal_has_client_tick() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_client_tick() const { + return _internal_has_client_tick(); +} +inline void CBaseUserCmdPB::clear_client_tick() { + _impl_.client_tick_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CBaseUserCmdPB::_internal_client_tick() const { + return _impl_.client_tick_; +} +inline int32_t CBaseUserCmdPB::client_tick() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.client_tick) + return _internal_client_tick(); +} +inline void CBaseUserCmdPB::_internal_set_client_tick(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_tick_ = value; +} +inline void CBaseUserCmdPB::set_client_tick(int32_t value) { + _internal_set_client_tick(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.client_tick) +} + +// optional uint32 prediction_offset_ticks_x256 = 17; +inline bool CBaseUserCmdPB::_internal_has_prediction_offset_ticks_x256() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_prediction_offset_ticks_x256() const { + return _internal_has_prediction_offset_ticks_x256(); +} +inline void CBaseUserCmdPB::clear_prediction_offset_ticks_x256() { + _impl_.prediction_offset_ticks_x256_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CBaseUserCmdPB::_internal_prediction_offset_ticks_x256() const { + return _impl_.prediction_offset_ticks_x256_; +} +inline uint32_t CBaseUserCmdPB::prediction_offset_ticks_x256() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.prediction_offset_ticks_x256) + return _internal_prediction_offset_ticks_x256(); +} +inline void CBaseUserCmdPB::_internal_set_prediction_offset_ticks_x256(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.prediction_offset_ticks_x256_ = value; +} +inline void CBaseUserCmdPB::set_prediction_offset_ticks_x256(uint32_t value) { + _internal_set_prediction_offset_ticks_x256(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.prediction_offset_ticks_x256) +} + +// optional .CInButtonStatePB buttons_pb = 3; +inline bool CBaseUserCmdPB::_internal_has_buttons_pb() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.buttons_pb_ != nullptr); + return value; +} +inline bool CBaseUserCmdPB::has_buttons_pb() const { + return _internal_has_buttons_pb(); +} +inline void CBaseUserCmdPB::clear_buttons_pb() { + if (_impl_.buttons_pb_ != nullptr) _impl_.buttons_pb_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CInButtonStatePB& CBaseUserCmdPB::_internal_buttons_pb() const { + const ::CInButtonStatePB* p = _impl_.buttons_pb_; + return p != nullptr ? *p : reinterpret_cast( + ::_CInButtonStatePB_default_instance_); +} +inline const ::CInButtonStatePB& CBaseUserCmdPB::buttons_pb() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.buttons_pb) + return _internal_buttons_pb(); +} +inline void CBaseUserCmdPB::unsafe_arena_set_allocated_buttons_pb( + ::CInButtonStatePB* buttons_pb) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.buttons_pb_); + } + _impl_.buttons_pb_ = buttons_pb; + if (buttons_pb) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CBaseUserCmdPB.buttons_pb) +} +inline ::CInButtonStatePB* CBaseUserCmdPB::release_buttons_pb() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CInButtonStatePB* temp = _impl_.buttons_pb_; + _impl_.buttons_pb_ = 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 ::CInButtonStatePB* CBaseUserCmdPB::unsafe_arena_release_buttons_pb() { + // @@protoc_insertion_point(field_release:CBaseUserCmdPB.buttons_pb) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CInButtonStatePB* temp = _impl_.buttons_pb_; + _impl_.buttons_pb_ = nullptr; + return temp; +} +inline ::CInButtonStatePB* CBaseUserCmdPB::_internal_mutable_buttons_pb() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.buttons_pb_ == nullptr) { + auto* p = CreateMaybeMessage<::CInButtonStatePB>(GetArenaForAllocation()); + _impl_.buttons_pb_ = p; + } + return _impl_.buttons_pb_; +} +inline ::CInButtonStatePB* CBaseUserCmdPB::mutable_buttons_pb() { + ::CInButtonStatePB* _msg = _internal_mutable_buttons_pb(); + // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.buttons_pb) + return _msg; +} +inline void CBaseUserCmdPB::set_allocated_buttons_pb(::CInButtonStatePB* buttons_pb) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.buttons_pb_; + } + if (buttons_pb) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(buttons_pb); + if (message_arena != submessage_arena) { + buttons_pb = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, buttons_pb, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.buttons_pb_ = buttons_pb; + // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.buttons_pb) +} + +// optional .CMsgQAngle viewangles = 4; +inline bool CBaseUserCmdPB::_internal_has_viewangles() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.viewangles_ != nullptr); + return value; +} +inline bool CBaseUserCmdPB::has_viewangles() const { + return _internal_has_viewangles(); +} +inline const ::CMsgQAngle& CBaseUserCmdPB::_internal_viewangles() const { + const ::CMsgQAngle* p = _impl_.viewangles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CBaseUserCmdPB::viewangles() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.viewangles) + return _internal_viewangles(); +} +inline void CBaseUserCmdPB::unsafe_arena_set_allocated_viewangles( + ::CMsgQAngle* viewangles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_); + } + _impl_.viewangles_ = viewangles; + if (viewangles) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CBaseUserCmdPB.viewangles) +} +inline ::CMsgQAngle* CBaseUserCmdPB::release_viewangles() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.viewangles_; + _impl_.viewangles_ = 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 ::CMsgQAngle* CBaseUserCmdPB::unsafe_arena_release_viewangles() { + // @@protoc_insertion_point(field_release:CBaseUserCmdPB.viewangles) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.viewangles_; + _impl_.viewangles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CBaseUserCmdPB::_internal_mutable_viewangles() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.viewangles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.viewangles_ = p; + } + return _impl_.viewangles_; +} +inline ::CMsgQAngle* CBaseUserCmdPB::mutable_viewangles() { + ::CMsgQAngle* _msg = _internal_mutable_viewangles(); + // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.viewangles) + return _msg; +} +inline void CBaseUserCmdPB::set_allocated_viewangles(::CMsgQAngle* viewangles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_); + } + if (viewangles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewangles)); + if (message_arena != submessage_arena) { + viewangles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, viewangles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.viewangles_ = viewangles; + // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.viewangles) +} + +// optional float forwardmove = 5; +inline bool CBaseUserCmdPB::_internal_has_forwardmove() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_forwardmove() const { + return _internal_has_forwardmove(); +} +inline void CBaseUserCmdPB::clear_forwardmove() { + _impl_.forwardmove_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CBaseUserCmdPB::_internal_forwardmove() const { + return _impl_.forwardmove_; +} +inline float CBaseUserCmdPB::forwardmove() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.forwardmove) + return _internal_forwardmove(); +} +inline void CBaseUserCmdPB::_internal_set_forwardmove(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.forwardmove_ = value; +} +inline void CBaseUserCmdPB::set_forwardmove(float value) { + _internal_set_forwardmove(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.forwardmove) +} + +// optional float leftmove = 6; +inline bool CBaseUserCmdPB::_internal_has_leftmove() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_leftmove() const { + return _internal_has_leftmove(); +} +inline void CBaseUserCmdPB::clear_leftmove() { + _impl_.leftmove_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CBaseUserCmdPB::_internal_leftmove() const { + return _impl_.leftmove_; +} +inline float CBaseUserCmdPB::leftmove() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.leftmove) + return _internal_leftmove(); +} +inline void CBaseUserCmdPB::_internal_set_leftmove(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.leftmove_ = value; +} +inline void CBaseUserCmdPB::set_leftmove(float value) { + _internal_set_leftmove(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.leftmove) +} + +// optional float upmove = 7; +inline bool CBaseUserCmdPB::_internal_has_upmove() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_upmove() const { + return _internal_has_upmove(); +} +inline void CBaseUserCmdPB::clear_upmove() { + _impl_.upmove_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CBaseUserCmdPB::_internal_upmove() const { + return _impl_.upmove_; +} +inline float CBaseUserCmdPB::upmove() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.upmove) + return _internal_upmove(); +} +inline void CBaseUserCmdPB::_internal_set_upmove(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.upmove_ = value; +} +inline void CBaseUserCmdPB::set_upmove(float value) { + _internal_set_upmove(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.upmove) +} + +// optional int32 impulse = 8; +inline bool CBaseUserCmdPB::_internal_has_impulse() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_impulse() const { + return _internal_has_impulse(); +} +inline void CBaseUserCmdPB::clear_impulse() { + _impl_.impulse_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CBaseUserCmdPB::_internal_impulse() const { + return _impl_.impulse_; +} +inline int32_t CBaseUserCmdPB::impulse() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.impulse) + return _internal_impulse(); +} +inline void CBaseUserCmdPB::_internal_set_impulse(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.impulse_ = value; +} +inline void CBaseUserCmdPB::set_impulse(int32_t value) { + _internal_set_impulse(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.impulse) +} + +// optional int32 weaponselect = 9; +inline bool CBaseUserCmdPB::_internal_has_weaponselect() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_weaponselect() const { + return _internal_has_weaponselect(); +} +inline void CBaseUserCmdPB::clear_weaponselect() { + _impl_.weaponselect_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CBaseUserCmdPB::_internal_weaponselect() const { + return _impl_.weaponselect_; +} +inline int32_t CBaseUserCmdPB::weaponselect() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.weaponselect) + return _internal_weaponselect(); +} +inline void CBaseUserCmdPB::_internal_set_weaponselect(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.weaponselect_ = value; +} +inline void CBaseUserCmdPB::set_weaponselect(int32_t value) { + _internal_set_weaponselect(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.weaponselect) +} + +// optional int32 random_seed = 10; +inline bool CBaseUserCmdPB::_internal_has_random_seed() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_random_seed() const { + return _internal_has_random_seed(); +} +inline void CBaseUserCmdPB::clear_random_seed() { + _impl_.random_seed_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline int32_t CBaseUserCmdPB::_internal_random_seed() const { + return _impl_.random_seed_; +} +inline int32_t CBaseUserCmdPB::random_seed() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.random_seed) + return _internal_random_seed(); +} +inline void CBaseUserCmdPB::_internal_set_random_seed(int32_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.random_seed_ = value; +} +inline void CBaseUserCmdPB::set_random_seed(int32_t value) { + _internal_set_random_seed(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.random_seed) +} + +// optional int32 mousedx = 11; +inline bool CBaseUserCmdPB::_internal_has_mousedx() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_mousedx() const { + return _internal_has_mousedx(); +} +inline void CBaseUserCmdPB::clear_mousedx() { + _impl_.mousedx_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int32_t CBaseUserCmdPB::_internal_mousedx() const { + return _impl_.mousedx_; +} +inline int32_t CBaseUserCmdPB::mousedx() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.mousedx) + return _internal_mousedx(); +} +inline void CBaseUserCmdPB::_internal_set_mousedx(int32_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.mousedx_ = value; +} +inline void CBaseUserCmdPB::set_mousedx(int32_t value) { + _internal_set_mousedx(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.mousedx) +} + +// optional int32 mousedy = 12; +inline bool CBaseUserCmdPB::_internal_has_mousedy() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_mousedy() const { + return _internal_has_mousedy(); +} +inline void CBaseUserCmdPB::clear_mousedy() { + _impl_.mousedy_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t CBaseUserCmdPB::_internal_mousedy() const { + return _impl_.mousedy_; +} +inline int32_t CBaseUserCmdPB::mousedy() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.mousedy) + return _internal_mousedy(); +} +inline void CBaseUserCmdPB::_internal_set_mousedy(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.mousedy_ = value; +} +inline void CBaseUserCmdPB::set_mousedy(int32_t value) { + _internal_set_mousedy(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.mousedy) +} + +// optional uint32 pawn_entity_handle = 14 [default = 16777215]; +inline bool CBaseUserCmdPB::_internal_has_pawn_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_pawn_entity_handle() const { + return _internal_has_pawn_entity_handle(); +} +inline void CBaseUserCmdPB::clear_pawn_entity_handle() { + _impl_.pawn_entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline uint32_t CBaseUserCmdPB::_internal_pawn_entity_handle() const { + return _impl_.pawn_entity_handle_; +} +inline uint32_t CBaseUserCmdPB::pawn_entity_handle() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.pawn_entity_handle) + return _internal_pawn_entity_handle(); +} +inline void CBaseUserCmdPB::_internal_set_pawn_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.pawn_entity_handle_ = value; +} +inline void CBaseUserCmdPB::set_pawn_entity_handle(uint32_t value) { + _internal_set_pawn_entity_handle(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.pawn_entity_handle) +} + +// repeated .CSubtickMoveStep subtick_moves = 18; +inline int CBaseUserCmdPB::_internal_subtick_moves_size() const { + return _impl_.subtick_moves_.size(); +} +inline int CBaseUserCmdPB::subtick_moves_size() const { + return _internal_subtick_moves_size(); +} +inline void CBaseUserCmdPB::clear_subtick_moves() { + _impl_.subtick_moves_.Clear(); +} +inline ::CSubtickMoveStep* CBaseUserCmdPB::mutable_subtick_moves(int index) { + // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.subtick_moves) + return _impl_.subtick_moves_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >* +CBaseUserCmdPB::mutable_subtick_moves() { + // @@protoc_insertion_point(field_mutable_list:CBaseUserCmdPB.subtick_moves) + return &_impl_.subtick_moves_; +} +inline const ::CSubtickMoveStep& CBaseUserCmdPB::_internal_subtick_moves(int index) const { + return _impl_.subtick_moves_.Get(index); +} +inline const ::CSubtickMoveStep& CBaseUserCmdPB::subtick_moves(int index) const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.subtick_moves) + return _internal_subtick_moves(index); +} +inline ::CSubtickMoveStep* CBaseUserCmdPB::_internal_add_subtick_moves() { + return _impl_.subtick_moves_.Add(); +} +inline ::CSubtickMoveStep* CBaseUserCmdPB::add_subtick_moves() { + ::CSubtickMoveStep* _add = _internal_add_subtick_moves(); + // @@protoc_insertion_point(field_add:CBaseUserCmdPB.subtick_moves) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >& +CBaseUserCmdPB::subtick_moves() const { + // @@protoc_insertion_point(field_list:CBaseUserCmdPB.subtick_moves) + return _impl_.subtick_moves_; +} + +// optional bytes move_crc = 19; +inline bool CBaseUserCmdPB::_internal_has_move_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_move_crc() const { + return _internal_has_move_crc(); +} +inline void CBaseUserCmdPB::clear_move_crc() { + _impl_.move_crc_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CBaseUserCmdPB::move_crc() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.move_crc) + return _internal_move_crc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CBaseUserCmdPB::set_move_crc(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.move_crc_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.move_crc) +} +inline std::string* CBaseUserCmdPB::mutable_move_crc() { + std::string* _s = _internal_mutable_move_crc(); + // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.move_crc) + return _s; +} +inline const std::string& CBaseUserCmdPB::_internal_move_crc() const { + return _impl_.move_crc_.Get(); +} +inline void CBaseUserCmdPB::_internal_set_move_crc(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.move_crc_.Set(value, GetArenaForAllocation()); +} +inline std::string* CBaseUserCmdPB::_internal_mutable_move_crc() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.move_crc_.Mutable(GetArenaForAllocation()); +} +inline std::string* CBaseUserCmdPB::release_move_crc() { + // @@protoc_insertion_point(field_release:CBaseUserCmdPB.move_crc) + if (!_internal_has_move_crc()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.move_crc_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.move_crc_.IsDefault()) { + _impl_.move_crc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CBaseUserCmdPB::set_allocated_move_crc(std::string* move_crc) { + if (move_crc != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.move_crc_.SetAllocated(move_crc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.move_crc_.IsDefault()) { + _impl_.move_crc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.move_crc) +} + +// optional uint32 consumed_server_angle_changes = 20; +inline bool CBaseUserCmdPB::_internal_has_consumed_server_angle_changes() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_consumed_server_angle_changes() const { + return _internal_has_consumed_server_angle_changes(); +} +inline void CBaseUserCmdPB::clear_consumed_server_angle_changes() { + _impl_.consumed_server_angle_changes_ = 0u; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline uint32_t CBaseUserCmdPB::_internal_consumed_server_angle_changes() const { + return _impl_.consumed_server_angle_changes_; +} +inline uint32_t CBaseUserCmdPB::consumed_server_angle_changes() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.consumed_server_angle_changes) + return _internal_consumed_server_angle_changes(); +} +inline void CBaseUserCmdPB::_internal_set_consumed_server_angle_changes(uint32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.consumed_server_angle_changes_ = value; +} +inline void CBaseUserCmdPB::set_consumed_server_angle_changes(uint32_t value) { + _internal_set_consumed_server_angle_changes(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.consumed_server_angle_changes) +} + +// optional int32 cmd_flags = 21; +inline bool CBaseUserCmdPB::_internal_has_cmd_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CBaseUserCmdPB::has_cmd_flags() const { + return _internal_has_cmd_flags(); +} +inline void CBaseUserCmdPB::clear_cmd_flags() { + _impl_.cmd_flags_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline int32_t CBaseUserCmdPB::_internal_cmd_flags() const { + return _impl_.cmd_flags_; +} +inline int32_t CBaseUserCmdPB::cmd_flags() const { + // @@protoc_insertion_point(field_get:CBaseUserCmdPB.cmd_flags) + return _internal_cmd_flags(); +} +inline void CBaseUserCmdPB::_internal_set_cmd_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.cmd_flags_ = value; +} +inline void CBaseUserCmdPB::set_cmd_flags(int32_t value) { + _internal_set_cmd_flags(value); + // @@protoc_insertion_point(field_set:CBaseUserCmdPB.cmd_flags) +} + +// ------------------------------------------------------------------- + +// CUserCmdBasePB + +// optional .CBaseUserCmdPB base = 1; +inline bool CUserCmdBasePB::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); + return value; +} +inline bool CUserCmdBasePB::has_base() const { + return _internal_has_base(); +} +inline void CUserCmdBasePB::clear_base() { + if (_impl_.base_ != nullptr) _impl_.base_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CBaseUserCmdPB& CUserCmdBasePB::_internal_base() const { + const ::CBaseUserCmdPB* p = _impl_.base_; + return p != nullptr ? *p : reinterpret_cast( + ::_CBaseUserCmdPB_default_instance_); +} +inline const ::CBaseUserCmdPB& CUserCmdBasePB::base() const { + // @@protoc_insertion_point(field_get:CUserCmdBasePB.base) + return _internal_base(); +} +inline void CUserCmdBasePB::unsafe_arena_set_allocated_base( + ::CBaseUserCmdPB* base) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); + } + _impl_.base_ = base; + if (base) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserCmdBasePB.base) +} +inline ::CBaseUserCmdPB* CUserCmdBasePB::release_base() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CBaseUserCmdPB* temp = _impl_.base_; + _impl_.base_ = 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 ::CBaseUserCmdPB* CUserCmdBasePB::unsafe_arena_release_base() { + // @@protoc_insertion_point(field_release:CUserCmdBasePB.base) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CBaseUserCmdPB* temp = _impl_.base_; + _impl_.base_ = nullptr; + return temp; +} +inline ::CBaseUserCmdPB* CUserCmdBasePB::_internal_mutable_base() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.base_ == nullptr) { + auto* p = CreateMaybeMessage<::CBaseUserCmdPB>(GetArenaForAllocation()); + _impl_.base_ = p; + } + return _impl_.base_; +} +inline ::CBaseUserCmdPB* CUserCmdBasePB::mutable_base() { + ::CBaseUserCmdPB* _msg = _internal_mutable_base(); + // @@protoc_insertion_point(field_mutable:CUserCmdBasePB.base) + return _msg; +} +inline void CUserCmdBasePB::set_allocated_base(::CBaseUserCmdPB* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.base_; + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.base_ = base; + // @@protoc_insertion_point(field_set_allocated:CUserCmdBasePB.base) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_usercmd_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc new file mode 100644 index 0000000..353c543 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.cc @@ -0,0 +1,37480 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: usermessages.proto + +#include "usermessages.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; + +PROTOBUF_CONSTEXPR CUserMessageAchievementEvent::CUserMessageAchievementEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.achievement_)*/0u} {} +struct CUserMessageAchievementEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageAchievementEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageAchievementEventDefaultTypeInternal() {} + union { + CUserMessageAchievementEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAchievementEventDefaultTypeInternal _CUserMessageAchievementEvent_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCloseCaption::CUserMessageCloseCaption( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hash_)*/0u + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.from_player_)*/false + , /*decltype(_impl_.ent_index_)*/-1} {} +struct CUserMessageCloseCaptionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCloseCaptionDefaultTypeInternal() {} + union { + CUserMessageCloseCaption _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionDefaultTypeInternal _CUserMessageCloseCaption_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hash_)*/0u + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.from_player_)*/false + , /*decltype(_impl_.ent_index_)*/-1} {} +struct CUserMessageCloseCaptionDirectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCloseCaptionDirectDefaultTypeInternal() {} + union { + CUserMessageCloseCaptionDirect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionDirectDefaultTypeInternal _CUserMessageCloseCaptionDirect_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.from_player_)*/false + , /*decltype(_impl_.ent_index_)*/-1} {} +struct CUserMessageCloseCaptionPlaceholderDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholderDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCloseCaptionPlaceholderDefaultTypeInternal() {} + union { + CUserMessageCloseCaptionPlaceholder _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionPlaceholderDefaultTypeInternal _CUserMessageCloseCaptionPlaceholder_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCurrentTimescale::CUserMessageCurrentTimescale( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.current_)*/0} {} +struct CUserMessageCurrentTimescaleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCurrentTimescaleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCurrentTimescaleDefaultTypeInternal() {} + union { + CUserMessageCurrentTimescale _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCurrentTimescaleDefaultTypeInternal _CUserMessageCurrentTimescale_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageDesiredTimescale::CUserMessageDesiredTimescale( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.desired_)*/0 + , /*decltype(_impl_.acceleration_)*/0 + , /*decltype(_impl_.minblendrate_)*/0 + , /*decltype(_impl_.blenddeltamultiplier_)*/0} {} +struct CUserMessageDesiredTimescaleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageDesiredTimescaleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageDesiredTimescaleDefaultTypeInternal() {} + union { + CUserMessageDesiredTimescale _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageDesiredTimescaleDefaultTypeInternal _CUserMessageDesiredTimescale_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageFade::CUserMessageFade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.duration_)*/0u + , /*decltype(_impl_.hold_time_)*/0u + , /*decltype(_impl_.flags_)*/0u + , /*decltype(_impl_.color_)*/0u} {} +struct CUserMessageFadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageFadeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageFadeDefaultTypeInternal() {} + union { + CUserMessageFade _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageFadeDefaultTypeInternal _CUserMessageFade_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageShake::CUserMessageShake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.command_)*/0u + , /*decltype(_impl_.amplitude_)*/0 + , /*decltype(_impl_.frequency_)*/0 + , /*decltype(_impl_.duration_)*/0} {} +struct CUserMessageShakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageShakeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageShakeDefaultTypeInternal() {} + union { + CUserMessageShake _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShakeDefaultTypeInternal _CUserMessageShake_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageShakeDir::CUserMessageShakeDir( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.shake_)*/nullptr + , /*decltype(_impl_.direction_)*/nullptr} {} +struct CUserMessageShakeDirDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageShakeDirDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageShakeDirDefaultTypeInternal() {} + union { + CUserMessageShakeDir _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShakeDirDefaultTypeInternal _CUserMessageShakeDir_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageWaterShake::CUserMessageWaterShake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.command_)*/0u + , /*decltype(_impl_.amplitude_)*/0 + , /*decltype(_impl_.frequency_)*/0 + , /*decltype(_impl_.duration_)*/0} {} +struct CUserMessageWaterShakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageWaterShakeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageWaterShakeDefaultTypeInternal() {} + union { + CUserMessageWaterShake _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageWaterShakeDefaultTypeInternal _CUserMessageWaterShake_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageScreenTilt::CUserMessageScreenTilt( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angle_)*/nullptr + , /*decltype(_impl_.command_)*/0u + , /*decltype(_impl_.ease_in_out_)*/false + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.time_)*/0} {} +struct CUserMessageScreenTiltDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageScreenTiltDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageScreenTiltDefaultTypeInternal() {} + union { + CUserMessageScreenTilt _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageScreenTiltDefaultTypeInternal _CUserMessageScreenTilt_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageSayText::CUserMessageSayText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.chat_)*/false + , /*decltype(_impl_.playerindex_)*/-1} {} +struct CUserMessageSayTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageSayTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageSayTextDefaultTypeInternal() {} + union { + CUserMessageSayText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayTextDefaultTypeInternal _CUserMessageSayText_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageSayText2::CUserMessageSayText2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.messagename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.param1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.param2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.param3_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.param4_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.chat_)*/false + , /*decltype(_impl_.entityindex_)*/-1} {} +struct CUserMessageSayText2DefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageSayText2DefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageSayText2DefaultTypeInternal() {} + union { + CUserMessageSayText2 _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayText2DefaultTypeInternal _CUserMessageSayText2_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageHudMsg::CUserMessageHudMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.channel_)*/0u + , /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0 + , /*decltype(_impl_.color1_)*/0u + , /*decltype(_impl_.color2_)*/0u + , /*decltype(_impl_.effect_)*/0u} {} +struct CUserMessageHudMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageHudMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageHudMsgDefaultTypeInternal() {} + union { + CUserMessageHudMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHudMsgDefaultTypeInternal _CUserMessageHudMsg_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageHudText::CUserMessageHudText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMessageHudTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageHudTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageHudTextDefaultTypeInternal() {} + union { + CUserMessageHudText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHudTextDefaultTypeInternal _CUserMessageHudText_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageTextMsg::CUserMessageTextMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.param_)*/{} + , /*decltype(_impl_.dest_)*/0u} {} +struct CUserMessageTextMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageTextMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageTextMsgDefaultTypeInternal() {} + union { + CUserMessageTextMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageTextMsgDefaultTypeInternal _CUserMessageTextMsg_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageGameTitle::CUserMessageGameTitle( + ::_pbi::ConstantInitialized) {} +struct CUserMessageGameTitleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageGameTitleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageGameTitleDefaultTypeInternal() {} + union { + CUserMessageGameTitle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageGameTitleDefaultTypeInternal _CUserMessageGameTitle_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageResetHUD::CUserMessageResetHUD( + ::_pbi::ConstantInitialized) {} +struct CUserMessageResetHUDDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageResetHUDDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageResetHUDDefaultTypeInternal() {} + union { + CUserMessageResetHUD _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageResetHUDDefaultTypeInternal _CUserMessageResetHUD_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageSendAudio::CUserMessageSendAudio( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.soundname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.stop_)*/false} {} +struct CUserMessageSendAudioDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageSendAudioDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageSendAudioDefaultTypeInternal() {} + union { + CUserMessageSendAudio _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSendAudioDefaultTypeInternal _CUserMessageSendAudio_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageAudioParameter::CUserMessageAudioParameter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.parameter_type_)*/0u + , /*decltype(_impl_.name_hash_code_)*/0u + , /*decltype(_impl_.value_)*/0 + , /*decltype(_impl_.int_value_)*/0u} {} +struct CUserMessageAudioParameterDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageAudioParameterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageAudioParameterDefaultTypeInternal() {} + union { + CUserMessageAudioParameter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAudioParameterDefaultTypeInternal _CUserMessageAudioParameter_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageVoiceMask::CUserMessageVoiceMask( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.gamerules_masks_)*/{} + , /*decltype(_impl_.ban_masks_)*/{} + , /*decltype(_impl_.mod_enable_)*/false} {} +struct CUserMessageVoiceMaskDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageVoiceMaskDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageVoiceMaskDefaultTypeInternal() {} + union { + CUserMessageVoiceMask _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageVoiceMaskDefaultTypeInternal _CUserMessageVoiceMask_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestState::CUserMessageRequestState( + ::_pbi::ConstantInitialized) {} +struct CUserMessageRequestStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestStateDefaultTypeInternal() {} + union { + CUserMessageRequestState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestStateDefaultTypeInternal _CUserMessageRequestState_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRumble::CUserMessageRumble( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.data_)*/0 + , /*decltype(_impl_.flags_)*/0} {} +struct CUserMessageRumbleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRumbleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRumbleDefaultTypeInternal() {} + union { + CUserMessageRumble _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRumbleDefaultTypeInternal _CUserMessageRumble_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageSayTextChannel::CUserMessageSayTextChannel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/0 + , /*decltype(_impl_.channel_)*/0} {} +struct CUserMessageSayTextChannelDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageSayTextChannelDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageSayTextChannelDefaultTypeInternal() {} + union { + CUserMessageSayTextChannel _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayTextChannelDefaultTypeInternal _CUserMessageSayTextChannel_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageColoredText::CUserMessageColoredText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.reset_)*/false + , /*decltype(_impl_.context_value_)*/0 + , /*decltype(_impl_.context_team_id_)*/0 + , /*decltype(_impl_.context_player_slot_)*/-1} {} +struct CUserMessageColoredTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageColoredTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageColoredTextDefaultTypeInternal() {} + union { + CUserMessageColoredText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageColoredTextDefaultTypeInternal _CUserMessageColoredText_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageItemPickup::CUserMessageItemPickup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.itemname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMessageItemPickupDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageItemPickupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageItemPickupDefaultTypeInternal() {} + union { + CUserMessageItemPickup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageItemPickupDefaultTypeInternal _CUserMessageItemPickup_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageAmmoDenied::CUserMessageAmmoDenied( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.ammo_id_)*/0u} {} +struct CUserMessageAmmoDeniedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageAmmoDeniedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageAmmoDeniedDefaultTypeInternal() {} + union { + CUserMessageAmmoDenied _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAmmoDeniedDefaultTypeInternal _CUserMessageAmmoDenied_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageShowMenu::CUserMessageShowMenu( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.menustring_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.validslots_)*/0u + , /*decltype(_impl_.displaytime_)*/0u + , /*decltype(_impl_.needmore_)*/false} {} +struct CUserMessageShowMenuDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageShowMenuDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageShowMenuDefaultTypeInternal() {} + union { + CUserMessageShowMenu _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShowMenuDefaultTypeInternal _CUserMessageShowMenu_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCreditsMsg::CUserMessageCreditsMsg( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.logo_length_)*/0 + , /*decltype(_impl_.rolltype_)*/-1} {} +struct CUserMessageCreditsMsgDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCreditsMsgDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCreditsMsgDefaultTypeInternal() {} + union { + CUserMessageCreditsMsg _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCreditsMsgDefaultTypeInternal _CUserMessageCreditsMsg_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessagePlayJingle::CEntityMessagePlayJingle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_msg_)*/nullptr} {} +struct CEntityMessagePlayJingleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessagePlayJingleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessagePlayJingleDefaultTypeInternal() {} + union { + CEntityMessagePlayJingle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessagePlayJingleDefaultTypeInternal _CEntityMessagePlayJingle_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessageScreenOverlay::CEntityMessageScreenOverlay( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_msg_)*/nullptr + , /*decltype(_impl_.start_effect_)*/false} {} +struct CEntityMessageScreenOverlayDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessageScreenOverlayDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessageScreenOverlayDefaultTypeInternal() {} + union { + CEntityMessageScreenOverlay _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageScreenOverlayDefaultTypeInternal _CEntityMessageScreenOverlay_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.entity_msg_)*/nullptr + , /*decltype(_impl_.remove_decals_)*/false} {} +struct CEntityMessageRemoveAllDecalsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecalsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessageRemoveAllDecalsDefaultTypeInternal() {} + union { + CEntityMessageRemoveAllDecals _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageRemoveAllDecalsDefaultTypeInternal _CEntityMessageRemoveAllDecals_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessagePropagateForce::CEntityMessagePropagateForce( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.impulse_)*/nullptr + , /*decltype(_impl_.entity_msg_)*/nullptr} {} +struct CEntityMessagePropagateForceDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessagePropagateForceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessagePropagateForceDefaultTypeInternal() {} + union { + CEntityMessagePropagateForce _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessagePropagateForceDefaultTypeInternal _CEntityMessagePropagateForce_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessageDoSpark::CEntityMessageDoSpark( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.entity_msg_)*/nullptr + , /*decltype(_impl_.radius_)*/0 + , /*decltype(_impl_.color_)*/0u + , /*decltype(_impl_.beams_)*/0u + , /*decltype(_impl_.thick_)*/0 + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.entityindex_)*/-1} {} +struct CEntityMessageDoSparkDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessageDoSparkDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessageDoSparkDefaultTypeInternal() {} + union { + CEntityMessageDoSpark _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageDoSparkDefaultTypeInternal _CEntityMessageDoSpark_default_instance_; +PROTOBUF_CONSTEXPR CEntityMessageFixAngle::CEntityMessageFixAngle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angle_)*/nullptr + , /*decltype(_impl_.entity_msg_)*/nullptr + , /*decltype(_impl_.relative_)*/false} {} +struct CEntityMessageFixAngleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CEntityMessageFixAngleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CEntityMessageFixAngleDefaultTypeInternal() {} + union { + CEntityMessageFixAngle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageFixAngleDefaultTypeInternal _CEntityMessageFixAngle_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.duration_)*/0 + , /*decltype(_impl_.attach_ent_index_)*/-1} {} +struct CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal() {} + union { + CUserMessageCameraTransition_Transition_DataDriven _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal _CUserMessageCameraTransition_Transition_DataDriven_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageCameraTransition::CUserMessageCameraTransition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.params_data_driven_)*/nullptr + , /*decltype(_impl_.camera_type_)*/0u + , /*decltype(_impl_.duration_)*/0} {} +struct CUserMessageCameraTransitionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageCameraTransitionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageCameraTransitionDefaultTypeInternal() {} + union { + CUserMessageCameraTransition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCameraTransitionDefaultTypeInternal _CUserMessageCameraTransition_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex( + ::_pbi::ConstantInitialized) {} +struct CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ReleaseParticleIndex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal _CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.control_point_configuration_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.aggregation_position_)*/nullptr + , /*decltype(_impl_.particle_name_index_)*/uint64_t{0u} + , /*decltype(_impl_.attach_type_)*/0 + , /*decltype(_impl_.team_behavior_)*/0 + , /*decltype(_impl_.apply_voice_ban_rules_)*/false + , /*decltype(_impl_.cluster_)*/false + , /*decltype(_impl_.endcap_time_)*/0 + , /*decltype(_impl_.entity_handle_)*/16777215u + , /*decltype(_impl_.entity_handle_for_modifiers_)*/16777215u} {} +struct CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_CreateParticle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal _CUserMsg_ParticleManager_CreateParticle_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.destroy_immediately_)*/false} {} +struct CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_DestroyParticle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticle_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.destroy_immediately_)*/false + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_DestroyParticleInvolving _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.particle_name_index_)*/uint64_t{0u} + , /*decltype(_impl_.destroy_immediately_)*/false + , /*decltype(_impl_.play_endcap_)*/false + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_DestroyParticleNamed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.forward_)*/nullptr + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.forward_)*/nullptr + , /*decltype(_impl_.deprecated_right_)*/nullptr + , /*decltype(_impl_.up_)*/nullptr + , /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.orientation_)*/nullptr + , /*decltype(_impl_.control_point_)*/0 + , /*decltype(_impl_.interpolation_interval_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleTransform _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleFallback _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_offset_)*/nullptr + , /*decltype(_impl_.angle_offset_)*/nullptr + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleOffset _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fallback_position_)*/nullptr + , /*decltype(_impl_.offset_position_)*/nullptr + , /*decltype(_impl_.offset_angles_)*/nullptr + , /*decltype(_impl_.control_point_)*/0 + , /*decltype(_impl_.attach_type_)*/0 + , /*decltype(_impl_.attachment_)*/0 + , /*decltype(_impl_.include_wearables_)*/false + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleEnt _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.set_frozen_)*/false + , /*decltype(_impl_.transition_duration_)*/0} {} +struct CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleSetFrozen _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.should_draw_)*/false} {} +struct CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateParticleShouldDraw _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.attachment_old_)*/0 + , /*decltype(_impl_.attachment_new_)*/0 + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ChangeControlPointAttachment _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal _CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.position_)*/nullptr + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateEntityPosition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal _CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fow_control_point_)*/0 + , /*decltype(_impl_.fow_control_point2_)*/0 + , /*decltype(_impl_.fow_radius_)*/0} {} +struct CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleFoWProperties _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.check_fow_)*/false} {} +struct CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleShouldCheckFoW _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.model_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetControlPointModel _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointModel_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.snapshot_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.control_point_)*/0} {} +struct CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetControlPointSnapshot _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleText _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleText_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.attribute_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.texture_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetTextureAttribute _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal _CUserMsg_ParticleManager_SetTextureAttribute_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.flag_value_)*/false} {} +struct CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetSceneObjectGenericFlag _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.tint_)*/0u + , /*decltype(_impl_.desat_)*/0} {} +struct CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.skip_to_time_)*/0} {} +struct CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ParticleSkipToTime _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.can_freeze_)*/false} {} +struct CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ParticleCanFreeze _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.freeze_transition_override_)*/0} {} +struct CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.set_frozen_)*/false + , /*decltype(_impl_.transition_duration_)*/0 + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_FreezeParticleInvolving _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.model_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.spawn_probability_)*/0 + , /*decltype(_impl_.groupid_)*/0u} {} +struct CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_AddModellistOverrideElement _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal _CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.groupid_)*/0u} {} +struct CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_ClearModellistOverride _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ClearModellistOverride_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_name_hash_)*/0u + , /*decltype(_impl_.value_)*/0} {} +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_)*/nullptr + , /*decltype(_impl_.value_name_hash_)*/0u} {} +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.translation_)*/nullptr + , /*decltype(_impl_.value_name_hash_)*/0u} {} +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_name_hash_)*/0u + , /*decltype(_impl_.ent_index_)*/16777215u} {} +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.float_values_)*/{} + , /*decltype(_impl_.vector_values_)*/{} + , /*decltype(_impl_.transform_values_)*/{} + , /*decltype(_impl_.ehandle_values_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleNamedValueContext _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.prop_group_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.use_high_quality_simulation_)*/false + , /*decltype(_impl_.max_particle_count_)*/0u} {} +struct CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_CreatePhysicsSim _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim( + ::_pbi::ConstantInitialized) {} +struct CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_DestroyPhysicsSim _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.vdata_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMsg_ParticleManager_SetVDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetVDataDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetVData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetVDataDefaultTypeInternal _CUserMsg_ParticleManager_SetVData_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.material_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.include_children_)*/false} {} +struct CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetMaterialOverride _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal _CUserMsg_ParticleManager_SetMaterialOverride_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fan_force_curve_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attachment_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.bounds_mins_)*/nullptr + , /*decltype(_impl_.bounds_maxs_)*/nullptr + , /*decltype(_impl_.fan_origin_)*/nullptr + , /*decltype(_impl_.fan_origin_offset_)*/nullptr + , /*decltype(_impl_.fan_direction_)*/nullptr + , /*decltype(_impl_.active_)*/false + , /*decltype(_impl_.falloff_)*/false + , /*decltype(_impl_.pull_towards_point_)*/false + , /*decltype(_impl_.force_)*/0 + , /*decltype(_impl_.curve_min_dist_)*/0 + , /*decltype(_impl_.curve_max_dist_)*/0 + , /*decltype(_impl_.fan_type_)*/0u + , /*decltype(_impl_.cone_start_radius_)*/0 + , /*decltype(_impl_.cone_end_radius_)*/0 + , /*decltype(_impl_.cone_length_)*/0 + , /*decltype(_impl_.entity_handle_)*/16777215u} {} +struct CUserMsg_ParticleManager_AddFanDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFanDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_AddFanDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_AddFan _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_AddFanDefaultTypeInternal _CUserMsg_ParticleManager_AddFan_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.fan_origin_)*/nullptr + , /*decltype(_impl_.fan_origin_offset_)*/nullptr + , /*decltype(_impl_.fan_direction_)*/nullptr + , /*decltype(_impl_.bounds_mins_)*/nullptr + , /*decltype(_impl_.bounds_maxs_)*/nullptr + , /*decltype(_impl_.active_)*/false + , /*decltype(_impl_.fan_ramp_ratio_)*/0} {} +struct CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_UpdateFan _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal _CUserMsg_ParticleManager_UpdateFan_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan( + ::_pbi::ConstantInitialized) {} +struct CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_RemoveFan _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal _CUserMsg_ParticleManager_RemoveFan_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.origin_)*/nullptr + , /*decltype(_impl_.duration_)*/0} {} +struct CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager_SetParticleClusterGrowth _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_ParticleManager::CUserMsg_ParticleManager( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._extensions_)*/{} + , /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.release_particle_index_)*/nullptr + , /*decltype(_impl_.create_particle_)*/nullptr + , /*decltype(_impl_.destroy_particle_)*/nullptr + , /*decltype(_impl_.destroy_particle_involving_)*/nullptr + , /*decltype(_impl_.update_particle_)*/nullptr + , /*decltype(_impl_.update_particle_fwd_)*/nullptr + , /*decltype(_impl_.update_particle_orient_)*/nullptr + , /*decltype(_impl_.update_particle_fallback_)*/nullptr + , /*decltype(_impl_.update_particle_offset_)*/nullptr + , /*decltype(_impl_.update_particle_ent_)*/nullptr + , /*decltype(_impl_.update_particle_should_draw_)*/nullptr + , /*decltype(_impl_.update_particle_set_frozen_)*/nullptr + , /*decltype(_impl_.change_control_point_attachment_)*/nullptr + , /*decltype(_impl_.update_entity_position_)*/nullptr + , /*decltype(_impl_.set_particle_fow_properties_)*/nullptr + , /*decltype(_impl_.set_particle_text_)*/nullptr + , /*decltype(_impl_.set_particle_should_check_fow_)*/nullptr + , /*decltype(_impl_.set_control_point_model_)*/nullptr + , /*decltype(_impl_.set_control_point_snapshot_)*/nullptr + , /*decltype(_impl_.set_texture_attribute_)*/nullptr + , /*decltype(_impl_.set_scene_object_generic_flag_)*/nullptr + , /*decltype(_impl_.set_scene_object_tint_and_desat_)*/nullptr + , /*decltype(_impl_.destroy_particle_named_)*/nullptr + , /*decltype(_impl_.particle_skip_to_time_)*/nullptr + , /*decltype(_impl_.particle_can_freeze_)*/nullptr + , /*decltype(_impl_.set_named_value_context_)*/nullptr + , /*decltype(_impl_.update_particle_transform_)*/nullptr + , /*decltype(_impl_.particle_freeze_transition_override_)*/nullptr + , /*decltype(_impl_.freeze_particle_involving_)*/nullptr + , /*decltype(_impl_.add_modellist_override_element_)*/nullptr + , /*decltype(_impl_.clear_modellist_override_)*/nullptr + , /*decltype(_impl_.create_physics_sim_)*/nullptr + , /*decltype(_impl_.destroy_physics_sim_)*/nullptr + , /*decltype(_impl_.set_vdata_)*/nullptr + , /*decltype(_impl_.set_material_override_)*/nullptr + , /*decltype(_impl_.add_fan_)*/nullptr + , /*decltype(_impl_.update_fan_)*/nullptr + , /*decltype(_impl_.set_particle_cluster_growth_)*/nullptr + , /*decltype(_impl_.remove_fan_)*/nullptr + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.index_)*/0u} {} +struct CUserMsg_ParticleManagerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_ParticleManagerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_ParticleManagerDefaultTypeInternal() {} + union { + CUserMsg_ParticleManager _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManagerDefaultTypeInternal _CUserMsg_ParticleManager_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_HudError::CUserMsg_HudError( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.order_id_)*/0} {} +struct CUserMsg_HudErrorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_HudErrorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_HudErrorDefaultTypeInternal() {} + union { + CUserMsg_HudError _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_HudErrorDefaultTypeInternal _CUserMsg_HudError_default_instance_; +PROTOBUF_CONSTEXPR CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} +struct CUserMsg_CustomGameEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMsg_CustomGameEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMsg_CustomGameEventDefaultTypeInternal() {} + union { + CUserMsg_CustomGameEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_CustomGameEventDefaultTypeInternal _CUserMsg_CustomGameEvent_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hand_id_)*/0 + , /*decltype(_impl_.effect_amplitude_)*/0 + , /*decltype(_impl_.effect_frequency_)*/0 + , /*decltype(_impl_.effect_duration_)*/0} {} +struct CUserMessageHapticsManagerPulseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageHapticsManagerPulseDefaultTypeInternal() {} + union { + CUserMessageHapticsManagerPulse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHapticsManagerPulseDefaultTypeInternal _CUserMessageHapticsManagerPulse_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.hand_id_)*/0 + , /*decltype(_impl_.effect_name_hash_code_)*/0u + , /*decltype(_impl_.effect_scale_)*/0} {} +struct CUserMessageHapticsManagerEffectDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffectDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageHapticsManagerEffectDefaultTypeInternal() {} + union { + CUserMessageHapticsManagerEffect _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHapticsManagerEffectDefaultTypeInternal _CUserMessageHapticsManagerEffect_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.entity_index_)*/0} {} +struct CUserMessageAnimStateGraphStateDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphStateDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageAnimStateGraphStateDefaultTypeInternal() {} + union { + CUserMessageAnimStateGraphState _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAnimStateGraphStateDefaultTypeInternal _CUserMessageAnimStateGraphState_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.css_classes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.target_world_panel_)*/0 + , /*decltype(_impl_.is_add_)*/false} {} +struct CUserMessageUpdateCssClassesDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageUpdateCssClassesDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageUpdateCssClassesDefaultTypeInternal() {} + union { + CUserMessageUpdateCssClasses _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageUpdateCssClassesDefaultTypeInternal _CUserMessageUpdateCssClasses_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageServerFrameTime::CUserMessageServerFrameTime( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.frame_time_)*/0} {} +struct CUserMessageServerFrameTimeDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageServerFrameTimeDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageServerFrameTimeDefaultTypeInternal() {} + union { + CUserMessageServerFrameTime _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageServerFrameTimeDefaultTypeInternal _CUserMessageServerFrameTime_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageLagCompensationError::CUserMessageLagCompensationError( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.distance_)*/0} {} +struct CUserMessageLagCompensationErrorDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageLagCompensationErrorDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageLagCompensationErrorDefaultTypeInternal() {} + union { + CUserMessageLagCompensationError _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageLagCompensationErrorDefaultTypeInternal _CUserMessageLagCompensationError_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestDllStatus::CUserMessageRequestDllStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.dll_action_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.full_report_)*/false} {} +struct CUserMessageRequestDllStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestDllStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestDllStatusDefaultTypeInternal() {} + union { + CUserMessageRequestDllStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDllStatusDefaultTypeInternal _CUserMessageRequestDllStatus_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestUtilAction::CUserMessageRequestUtilAction( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.util1_)*/0 + , /*decltype(_impl_.util2_)*/0 + , /*decltype(_impl_.util3_)*/0 + , /*decltype(_impl_.util4_)*/0 + , /*decltype(_impl_.util5_)*/0} {} +struct CUserMessageRequestUtilActionDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestUtilActionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestUtilActionDefaultTypeInternal() {} + union { + CUserMessageRequestUtilAction _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestUtilActionDefaultTypeInternal _CUserMessageRequestUtilAction_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.hash_)*/0 + , /*decltype(_impl_.crc_)*/0} {} +struct CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal() {} + union { + CUserMessage_UtilMsg_Response_ItemDetail _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal _CUserMessage_UtilMsg_Response_ItemDetail_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.crc_part_)*/{} + , /*decltype(_impl_.crc_part2_)*/{} + , /*decltype(_impl_.itemdetails_)*/{} + , /*decltype(_impl_.crc_)*/0u + , /*decltype(_impl_.item_count_)*/0 + , /*decltype(_impl_.crc2_)*/0u + , /*decltype(_impl_.item_count2_)*/0 + , /*decltype(_impl_.client_timestamp_)*/0 + , /*decltype(_impl_.platform_)*/0 + , /*decltype(_impl_.itemgroup_)*/0 + , /*decltype(_impl_.total_count_)*/0 + , /*decltype(_impl_.total_count2_)*/0} {} +struct CUserMessage_UtilMsg_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_UtilMsg_ResponseDefaultTypeInternal() {} + union { + CUserMessage_UtilMsg_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_UtilMsg_ResponseDefaultTypeInternal _CUserMessage_UtilMsg_Response_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.id_)*/0u + , /*decltype(_impl_.extended_)*/0u + , /*decltype(_impl_.value_)*/uint64_t{0u}} {} +struct CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal() {} + union { + CUserMessage_DllStatus_CVDiagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal _CUserMessage_DllStatus_CVDiagnostic_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.base_addr_)*/uint64_t{0u} + , /*decltype(_impl_.size_)*/0u + , /*decltype(_impl_.timestamp_)*/0u} {} +struct CUserMessage_DllStatus_CModuleDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModuleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_DllStatus_CModuleDefaultTypeInternal() {} + union { + CUserMessage_DllStatus_CModule _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatus_CModuleDefaultTypeInternal _CUserMessage_DllStatus_CModule_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_DllStatus::CUserMessage_DllStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.diagnostics_)*/{} + , /*decltype(_impl_.modules_)*/{} + , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.command_line_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.total_files_)*/0u + , /*decltype(_impl_.process_id_)*/0u + , /*decltype(_impl_.client_time_)*/uint64_t{0u} + , /*decltype(_impl_.osversion_)*/0} {} +struct CUserMessage_DllStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_DllStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_DllStatusDefaultTypeInternal() {} + union { + CUserMessage_DllStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatusDefaultTypeInternal _CUserMessage_DllStatus_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestInventory::CUserMessageRequestInventory( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.inventory_)*/0 + , /*decltype(_impl_.offset_)*/0 + , /*decltype(_impl_.options_)*/0} {} +struct CUserMessageRequestInventoryDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestInventoryDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestInventoryDefaultTypeInternal() {} + union { + CUserMessageRequestInventory _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestInventoryDefaultTypeInternal _CUserMessageRequestInventory_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.base_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.primary_)*/int64_t{0} + , /*decltype(_impl_.offset_)*/int64_t{0} + , /*decltype(_impl_.first_)*/int64_t{0} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.base_detail_)*/0 + , /*decltype(_impl_.base_)*/int64_t{0} + , /*decltype(_impl_.base_time_)*/0 + , /*decltype(_impl_.base_hash_)*/0} {} +struct CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal() {} + union { + CUserMessage_Inventory_Response_InventoryDetail _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal _CUserMessage_Inventory_Response_InventoryDetail_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response::CUserMessage_Inventory_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.inventories_)*/{} + , /*decltype(_impl_.inventories2_)*/{} + , /*decltype(_impl_.inventories3_)*/{} + , /*decltype(_impl_.crc_)*/0u + , /*decltype(_impl_.item_count_)*/0 + , /*decltype(_impl_.osversion_)*/0 + , /*decltype(_impl_.perf_time_)*/0 + , /*decltype(_impl_.client_timestamp_)*/0 + , /*decltype(_impl_.platform_)*/0 + , /*decltype(_impl_.inv_type_)*/0 + , /*decltype(_impl_.build_version_)*/0 + , /*decltype(_impl_.start_time_)*/int64_t{0} + , /*decltype(_impl_.instance_)*/0} {} +struct CUserMessage_Inventory_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_Inventory_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_Inventory_ResponseDefaultTypeInternal() {} + union { + CUserMessage_Inventory_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Inventory_ResponseDefaultTypeInternal _CUserMessage_Inventory_Response_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.alias_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.vardetail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.offset_)*/int64_t{0} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.param_)*/0 + , /*decltype(_impl_.length_)*/0 + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.base_)*/int64_t{0} + , /*decltype(_impl_.range_)*/int64_t{0} + , /*decltype(_impl_.extent_)*/int64_t{0} + , /*decltype(_impl_.detail_)*/int64_t{0} + , /*decltype(_impl_.context_)*/0} {} +struct CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal() {} + union { + CUserMessageRequestDiagnostic_Diagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_Diagnostic_default_instance_; +PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.diagnostics_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CUserMessageRequestDiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessageRequestDiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessageRequestDiagnosticDefaultTypeInternal() {} + union { + CUserMessageRequestDiagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.detail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.alias_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.backup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.offset_)*/int64_t{0} + , /*decltype(_impl_.index_)*/0 + , /*decltype(_impl_.param_)*/0 + , /*decltype(_impl_.base_)*/int64_t{0} + , /*decltype(_impl_.length_)*/0 + , /*decltype(_impl_.type_)*/0 + , /*decltype(_impl_.range_)*/int64_t{0} + , /*decltype(_impl_.control_)*/int64_t{0} + , /*decltype(_impl_.augment_)*/int64_t{0} + , /*decltype(_impl_.placebo_)*/int64_t{0} + , /*decltype(_impl_.context_)*/0} {} +struct CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal() {} + union { + CUserMessage_Diagnostic_Response_Diagnostic _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal _CUserMessage_Diagnostic_Response_Diagnostic_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.diagnostics_)*/{} + , /*decltype(_impl_.build_version_)*/0 + , /*decltype(_impl_.instance_)*/0 + , /*decltype(_impl_.start_time_)*/int64_t{0} + , /*decltype(_impl_.osversion_)*/0 + , /*decltype(_impl_.platform_)*/0} {} +struct CUserMessage_Diagnostic_ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_Diagnostic_ResponseDefaultTypeInternal() {} + union { + CUserMessage_Diagnostic_Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Diagnostic_ResponseDefaultTypeInternal _CUserMessage_Diagnostic_Response_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_ExtraUserData::CUserMessage_ExtraUserData( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.detail1_)*/{} + , /*decltype(_impl_.detail2_)*/{} + , /*decltype(_impl_.value1_)*/int64_t{0} + , /*decltype(_impl_.value2_)*/int64_t{0} + , /*decltype(_impl_.item_)*/0} {} +struct CUserMessage_ExtraUserDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_ExtraUserDataDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_ExtraUserDataDefaultTypeInternal() {} + union { + CUserMessage_ExtraUserData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_ExtraUserDataDefaultTypeInternal _CUserMessage_ExtraUserData_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.name_symbol_)*/0u} {} +struct CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal() {} + union { + CUserMessage_NotifyResponseFound_Criteria _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal _CUserMessage_NotifyResponseFound_Criteria_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.criteria_)*/{} + , /*decltype(_impl_.int_criteria_names_)*/{} + , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} + , /*decltype(_impl_.int_criteria_values_)*/{} + , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} + , /*decltype(_impl_.float_criteria_names_)*/{} + , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} + , /*decltype(_impl_.float_criteria_values_)*/{} + , /*decltype(_impl_.symbol_criteria_names_)*/{} + , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} + , /*decltype(_impl_.symbol_criteria_values_)*/{} + , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} + , /*decltype(_impl_.rule_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.response_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.response_concept_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.speak_result_)*/0 + , /*decltype(_impl_.ent_index_)*/-1} {} +struct CUserMessage_NotifyResponseFoundDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFoundDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_NotifyResponseFoundDefaultTypeInternal() {} + union { + CUserMessage_NotifyResponseFound _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_NotifyResponseFoundDefaultTypeInternal _CUserMessage_NotifyResponseFound_default_instance_; +PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_._has_bits_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_.player_slots_)*/{} + , /*decltype(_impl_.response_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ent_origin_)*/nullptr + , /*decltype(_impl_.pre_delay_)*/0 + , /*decltype(_impl_.mix_priority_)*/0 + , /*decltype(_impl_.ent_index_)*/-1} {} +struct CUserMessage_PlayResponseConditionalDefaultTypeInternal { + PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditionalDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CUserMessage_PlayResponseConditionalDefaultTypeInternal() {} + union { + CUserMessage_PlayResponseConditional _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_PlayResponseConditionalDefaultTypeInternal _CUserMessage_PlayResponseConditional_default_instance_; +static ::_pb::Metadata file_level_metadata_usermessages_2eproto[107]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_usermessages_2eproto[5]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_usermessages_2eproto = nullptr; + +const uint32_t TableStruct_usermessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _impl_.achievement_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.hash_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.from_player_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.ent_index_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.hash_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.from_player_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.ent_index_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.string_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.from_player_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.ent_index_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _impl_.current_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.desired_), + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.acceleration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.minblendrate_), + PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.blenddeltamultiplier_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.hold_time_), + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.flags_), + PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.color_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.command_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.amplitude_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.frequency_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.duration_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_.shake_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_.direction_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.command_), + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.amplitude_), + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.frequency_), + PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.duration_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.command_), + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.ease_in_out_), + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.angle_), + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.time_), + 1, + 2, + 0, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.playerindex_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.text_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.chat_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.entityindex_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.chat_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.messagename_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param1_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param2_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param3_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param4_), + 6, + 5, + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.channel_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.color1_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.color2_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.effect_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.message_), + 1, + 2, + 3, + 4, + 5, + 6, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _impl_.message_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_.dest_), + PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_.param_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMessageGameTitle, _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(::CUserMessageResetHUD, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_.soundname_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_.stop_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.parameter_type_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.name_hash_code_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.int_value_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.gamerules_masks_), + PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.ban_masks_), + PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.mod_enable_), + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.data_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.flags_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.channel_), + PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.text_), + 1, + 2, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.text_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.reset_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_player_slot_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_value_), + PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_team_id_), + 1, + 0, + 2, + 5, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _impl_.itemname_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _impl_.ammo_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.validslots_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.displaytime_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.needmore_), + PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.menustring_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_.rolltype_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_.logo_length_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _impl_.entity_msg_), + 0, + PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_.start_effect_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_.entity_msg_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_.remove_decals_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_.entity_msg_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_.impulse_), + PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_.entity_msg_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.origin_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.entityindex_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.radius_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.color_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.beams_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.thick_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.entity_msg_), + 0, + 7, + 2, + 3, + 4, + 5, + 6, + 1, + PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.relative_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.angle_), + PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.entity_msg_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.filename_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.attach_ent_index_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.duration_), + 0, + 2, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.camera_type_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.params_data_driven_), + 1, + 2, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ReleaseParticleIndex, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.particle_name_index_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.attach_type_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.entity_handle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.entity_handle_for_modifiers_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.apply_voice_ban_rules_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.team_behavior_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.control_point_configuration_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.cluster_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.endcap_time_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.aggregation_position_), + 2, + 3, + 8, + 9, + 5, + 4, + 0, + 6, + 7, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _impl_.destroy_immediately_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_.destroy_immediately_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_.entity_handle_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.particle_name_index_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.entity_handle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.destroy_immediately_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.play_endcap_), + 0, + 3, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.position_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.forward_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.forward_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.deprecated_right_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.up_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.left_), + 4, + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.orientation_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.interpolation_interval_), + 2, + 0, + 1, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.position_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.origin_offset_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.angle_offset_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.entity_handle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.attach_type_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.attachment_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.fallback_position_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.include_wearables_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.offset_position_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.offset_angles_), + 3, + 7, + 4, + 5, + 0, + 6, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.set_frozen_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.transition_duration_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _impl_.should_draw_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_old_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_new_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.entity_handle_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_.entity_handle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_.position_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point2_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_radius_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _impl_.check_fow_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_.model_name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_.control_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_.snapshot_name_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _impl_.text_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_.attribute_name_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_.texture_name_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _impl_.flag_value_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.tint_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.desat_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _impl_.skip_to_time_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _impl_.can_freeze_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _impl_.freeze_transition_override_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.set_frozen_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.transition_duration_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.entity_handle_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.model_name_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.spawn_probability_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.groupid_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _impl_.groupid_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_name_hash_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_name_hash_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.value_name_hash_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.translation_), + 2, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_.value_name_hash_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_.ent_index_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.float_values_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.vector_values_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.transform_values_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.ehandle_values_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.prop_group_name_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.use_high_quality_simulation_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.max_particle_count_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyPhysicsSim, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _impl_.vdata_name_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_.material_name_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_.include_children_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.active_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.bounds_mins_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.bounds_maxs_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_origin_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_origin_offset_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_direction_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.force_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_force_curve_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.falloff_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.pull_towards_point_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.curve_min_dist_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.curve_max_dist_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_type_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_start_radius_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_end_radius_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_length_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.entity_handle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.attachment_name_), + 7, + 2, + 3, + 4, + 5, + 6, + 10, + 0, + 8, + 9, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.active_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_offset_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_direction_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_ramp_ratio_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.bounds_mins_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.bounds_maxs_), + 5, + 0, + 1, + 2, + 6, + 3, + 4, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_RemoveFan, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.duration_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.origin_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_._extensions_), + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.release_particle_index_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.create_particle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_involving_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_fwd_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_orient_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_fallback_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_offset_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_ent_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_should_draw_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_set_frozen_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.change_control_point_attachment_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_entity_position_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_fow_properties_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_text_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_should_check_fow_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_control_point_model_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_control_point_snapshot_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_texture_attribute_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_scene_object_generic_flag_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_scene_object_tint_and_desat_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_named_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_skip_to_time_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_can_freeze_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_named_value_context_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_transform_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_freeze_transition_override_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.freeze_particle_involving_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.add_modellist_override_element_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.clear_modellist_override_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.create_physics_sim_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_physics_sim_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_vdata_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_material_override_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.add_fan_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_fan_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_cluster_growth_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.remove_fan_), + 39, + 40, + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _impl_.order_id_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_.event_name_), + PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_.data_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.hand_id_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_amplitude_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_frequency_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_duration_), + 0, + 1, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.hand_id_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.effect_name_hash_code_), + PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.effect_scale_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_.entity_index_), + PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_.data_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.target_world_panel_), + PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.css_classes_), + PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.is_add_), + 1, + 0, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _impl_.frame_time_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _impl_.distance_), + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_.dll_action_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_.full_report_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util1_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util2_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util3_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util4_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util5_), + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.hash_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.crc_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.name_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.item_count_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc2_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.item_count2_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_part_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_part2_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.client_timestamp_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.platform_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.itemdetails_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.itemgroup_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.total_count_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.total_count2_), + 0, + 1, + 2, + 3, + ~0u, + ~0u, + 4, + 5, + ~0u, + 6, + 7, + 8, + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.extended_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.string_value_), + 1, + 2, + 3, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.base_addr_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.size_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.timestamp_), + 1, + 0, + 2, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.file_report_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.command_line_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.total_files_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.process_id_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.osversion_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.client_time_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.diagnostics_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.modules_), + 0, + 1, + 2, + 3, + 5, + 4, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.inventory_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.offset_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.options_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.primary_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.offset_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.first_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_name_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_detail_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_time_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_hash_), + 5, + 2, + 3, + 4, + 7, + 0, + 1, + 6, + 8, + 9, + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.crc_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.item_count_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.osversion_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.perf_time_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.client_timestamp_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.platform_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories2_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories3_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inv_type_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.build_version_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.instance_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.start_time_), + 0, + 1, + 2, + 3, + 4, + 5, + ~0u, + ~0u, + ~0u, + 6, + 7, + 9, + 8, + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.offset_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.param_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.length_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.extent_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.detail_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.alias_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.vardetail_), + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.context_), + 4, + 3, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 0, + 1, + 2, + 12, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic, _impl_.diagnostics_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.offset_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.param_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.length_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.detail_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.base_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.alias_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.backup_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.context_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.control_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.augment_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.placebo_), + 5, + 4, + 6, + 8, + 0, + 7, + 10, + 9, + 1, + 2, + 3, + 14, + 11, + 12, + 13, + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.diagnostics_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.build_version_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.instance_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.start_time_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.osversion_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.platform_), + ~0u, + 0, + 1, + 2, + 3, + 4, + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.value1_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.value2_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.detail1_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.detail2_), + 2, + 0, + 1, + ~0u, + ~0u, + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_.name_symbol_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_.value_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.ent_index_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.rule_name_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.response_value_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.response_concept_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.criteria_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.int_criteria_names_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.int_criteria_values_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.float_criteria_names_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.float_criteria_values_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.symbol_criteria_names_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.symbol_criteria_values_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.speak_result_), + 4, + 0, + 1, + 2, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 3, + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.ent_index_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.player_slots_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.response_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.ent_origin_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.pre_delay_), + PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.mix_priority_), + 4, + ~0u, + 0, + 1, + 2, + 3, +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, 7, -1, sizeof(::CUserMessageAchievementEvent)}, + { 8, 18, -1, sizeof(::CUserMessageCloseCaption)}, + { 22, 32, -1, sizeof(::CUserMessageCloseCaptionDirect)}, + { 36, 46, -1, sizeof(::CUserMessageCloseCaptionPlaceholder)}, + { 50, 57, -1, sizeof(::CUserMessageCurrentTimescale)}, + { 58, 68, -1, sizeof(::CUserMessageDesiredTimescale)}, + { 72, 82, -1, sizeof(::CUserMessageFade)}, + { 86, 96, -1, sizeof(::CUserMessageShake)}, + { 100, 108, -1, sizeof(::CUserMessageShakeDir)}, + { 110, 120, -1, sizeof(::CUserMessageWaterShake)}, + { 124, 135, -1, sizeof(::CUserMessageScreenTilt)}, + { 140, 149, -1, sizeof(::CUserMessageSayText)}, + { 152, 165, -1, sizeof(::CUserMessageSayText2)}, + { 172, 185, -1, sizeof(::CUserMessageHudMsg)}, + { 192, 199, -1, sizeof(::CUserMessageHudText)}, + { 200, 208, -1, sizeof(::CUserMessageTextMsg)}, + { 210, -1, -1, sizeof(::CUserMessageGameTitle)}, + { 216, -1, -1, sizeof(::CUserMessageResetHUD)}, + { 222, 230, -1, sizeof(::CUserMessageSendAudio)}, + { 232, 242, -1, sizeof(::CUserMessageAudioParameter)}, + { 246, 255, -1, sizeof(::CUserMessageVoiceMask)}, + { 258, -1, -1, sizeof(::CUserMessageRequestState)}, + { 264, 273, -1, sizeof(::CUserMessageRumble)}, + { 276, 285, -1, sizeof(::CUserMessageSayTextChannel)}, + { 288, 300, -1, sizeof(::CUserMessageColoredText)}, + { 306, 313, -1, sizeof(::CUserMessageItemPickup)}, + { 314, 321, -1, sizeof(::CUserMessageAmmoDenied)}, + { 322, 332, -1, sizeof(::CUserMessageShowMenu)}, + { 336, 344, -1, sizeof(::CUserMessageCreditsMsg)}, + { 346, 353, -1, sizeof(::CEntityMessagePlayJingle)}, + { 354, 362, -1, sizeof(::CEntityMessageScreenOverlay)}, + { 364, 372, -1, sizeof(::CEntityMessageRemoveAllDecals)}, + { 374, 382, -1, sizeof(::CEntityMessagePropagateForce)}, + { 384, 398, -1, sizeof(::CEntityMessageDoSpark)}, + { 406, 415, -1, sizeof(::CEntityMessageFixAngle)}, + { 418, 427, -1, sizeof(::CUserMessageCameraTransition_Transition_DataDriven)}, + { 430, 439, -1, sizeof(::CUserMessageCameraTransition)}, + { 442, -1, -1, sizeof(::CUserMsg_ParticleManager_ReleaseParticleIndex)}, + { 448, 464, -1, sizeof(::CUserMsg_ParticleManager_CreateParticle)}, + { 474, 481, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticle)}, + { 482, 490, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticleInvolving)}, + { 492, 502, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticleNamed)}, + { 506, 514, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE)}, + { 516, 524, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE)}, + { 526, 537, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE)}, + { 542, 552, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleTransform)}, + { 556, 564, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleFallback)}, + { 566, 575, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleOffset)}, + { 578, 592, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleEnt)}, + { 600, 608, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleSetFrozen)}, + { 610, 617, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleShouldDraw)}, + { 618, 627, -1, sizeof(::CUserMsg_ParticleManager_ChangeControlPointAttachment)}, + { 630, 638, -1, sizeof(::CUserMsg_ParticleManager_UpdateEntityPosition)}, + { 640, 649, -1, sizeof(::CUserMsg_ParticleManager_SetParticleFoWProperties)}, + { 652, 659, -1, sizeof(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW)}, + { 660, 668, -1, sizeof(::CUserMsg_ParticleManager_SetControlPointModel)}, + { 670, 678, -1, sizeof(::CUserMsg_ParticleManager_SetControlPointSnapshot)}, + { 680, 687, -1, sizeof(::CUserMsg_ParticleManager_SetParticleText)}, + { 688, 696, -1, sizeof(::CUserMsg_ParticleManager_SetTextureAttribute)}, + { 698, 705, -1, sizeof(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag)}, + { 706, 714, -1, sizeof(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat)}, + { 716, 723, -1, sizeof(::CUserMsg_ParticleManager_ParticleSkipToTime)}, + { 724, 731, -1, sizeof(::CUserMsg_ParticleManager_ParticleCanFreeze)}, + { 732, 739, -1, sizeof(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride)}, + { 740, 749, -1, sizeof(::CUserMsg_ParticleManager_FreezeParticleInvolving)}, + { 752, 761, -1, sizeof(::CUserMsg_ParticleManager_AddModellistOverrideElement)}, + { 764, 771, -1, sizeof(::CUserMsg_ParticleManager_ClearModellistOverride)}, + { 772, 780, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue)}, + { 782, 790, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue)}, + { 792, 801, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue)}, + { 804, 812, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext)}, + { 814, -1, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext)}, + { 824, 833, -1, sizeof(::CUserMsg_ParticleManager_CreatePhysicsSim)}, + { 836, -1, -1, sizeof(::CUserMsg_ParticleManager_DestroyPhysicsSim)}, + { 842, 849, -1, sizeof(::CUserMsg_ParticleManager_SetVData)}, + { 850, 858, -1, sizeof(::CUserMsg_ParticleManager_SetMaterialOverride)}, + { 860, 884, -1, sizeof(::CUserMsg_ParticleManager_AddFan)}, + { 902, 915, -1, sizeof(::CUserMsg_ParticleManager_UpdateFan)}, + { 922, -1, -1, sizeof(::CUserMsg_ParticleManager_RemoveFan)}, + { 928, 936, -1, sizeof(::CUserMsg_ParticleManager_SetParticleClusterGrowth)}, + { 938, 985, -1, sizeof(::CUserMsg_ParticleManager)}, + { 1026, 1033, -1, sizeof(::CUserMsg_HudError)}, + { 1034, 1042, -1, sizeof(::CUserMsg_CustomGameEvent)}, + { 1044, 1054, -1, sizeof(::CUserMessageHapticsManagerPulse)}, + { 1058, 1067, -1, sizeof(::CUserMessageHapticsManagerEffect)}, + { 1070, 1078, -1, sizeof(::CUserMessageAnimStateGraphState)}, + { 1080, 1089, -1, sizeof(::CUserMessageUpdateCssClasses)}, + { 1092, 1099, -1, sizeof(::CUserMessageServerFrameTime)}, + { 1100, 1107, -1, sizeof(::CUserMessageLagCompensationError)}, + { 1108, 1116, -1, sizeof(::CUserMessageRequestDllStatus)}, + { 1118, 1129, -1, sizeof(::CUserMessageRequestUtilAction)}, + { 1134, 1144, -1, sizeof(::CUserMessage_UtilMsg_Response_ItemDetail)}, + { 1148, 1166, -1, sizeof(::CUserMessage_UtilMsg_Response)}, + { 1178, 1188, -1, sizeof(::CUserMessage_DllStatus_CVDiagnostic)}, + { 1192, 1202, -1, sizeof(::CUserMessage_DllStatus_CModule)}, + { 1206, 1220, -1, sizeof(::CUserMessage_DllStatus)}, + { 1228, 1237, -1, sizeof(::CUserMessageRequestInventory)}, + { 1240, 1256, -1, sizeof(::CUserMessage_Inventory_Response_InventoryDetail)}, + { 1266, 1285, -1, sizeof(::CUserMessage_Inventory_Response)}, + { 1298, 1317, -1, sizeof(::CUserMessageRequestDiagnostic_Diagnostic)}, + { 1330, -1, -1, sizeof(::CUserMessageRequestDiagnostic)}, + { 1337, 1358, -1, sizeof(::CUserMessage_Diagnostic_Response_Diagnostic)}, + { 1373, 1385, -1, sizeof(::CUserMessage_Diagnostic_Response)}, + { 1391, 1402, -1, sizeof(::CUserMessage_ExtraUserData)}, + { 1407, 1415, -1, sizeof(::CUserMessage_NotifyResponseFound_Criteria)}, + { 1417, 1435, -1, sizeof(::CUserMessage_NotifyResponseFound)}, + { 1447, 1459, -1, sizeof(::CUserMessage_PlayResponseConditional)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::_CUserMessageAchievementEvent_default_instance_._instance, + &::_CUserMessageCloseCaption_default_instance_._instance, + &::_CUserMessageCloseCaptionDirect_default_instance_._instance, + &::_CUserMessageCloseCaptionPlaceholder_default_instance_._instance, + &::_CUserMessageCurrentTimescale_default_instance_._instance, + &::_CUserMessageDesiredTimescale_default_instance_._instance, + &::_CUserMessageFade_default_instance_._instance, + &::_CUserMessageShake_default_instance_._instance, + &::_CUserMessageShakeDir_default_instance_._instance, + &::_CUserMessageWaterShake_default_instance_._instance, + &::_CUserMessageScreenTilt_default_instance_._instance, + &::_CUserMessageSayText_default_instance_._instance, + &::_CUserMessageSayText2_default_instance_._instance, + &::_CUserMessageHudMsg_default_instance_._instance, + &::_CUserMessageHudText_default_instance_._instance, + &::_CUserMessageTextMsg_default_instance_._instance, + &::_CUserMessageGameTitle_default_instance_._instance, + &::_CUserMessageResetHUD_default_instance_._instance, + &::_CUserMessageSendAudio_default_instance_._instance, + &::_CUserMessageAudioParameter_default_instance_._instance, + &::_CUserMessageVoiceMask_default_instance_._instance, + &::_CUserMessageRequestState_default_instance_._instance, + &::_CUserMessageRumble_default_instance_._instance, + &::_CUserMessageSayTextChannel_default_instance_._instance, + &::_CUserMessageColoredText_default_instance_._instance, + &::_CUserMessageItemPickup_default_instance_._instance, + &::_CUserMessageAmmoDenied_default_instance_._instance, + &::_CUserMessageShowMenu_default_instance_._instance, + &::_CUserMessageCreditsMsg_default_instance_._instance, + &::_CEntityMessagePlayJingle_default_instance_._instance, + &::_CEntityMessageScreenOverlay_default_instance_._instance, + &::_CEntityMessageRemoveAllDecals_default_instance_._instance, + &::_CEntityMessagePropagateForce_default_instance_._instance, + &::_CEntityMessageDoSpark_default_instance_._instance, + &::_CEntityMessageFixAngle_default_instance_._instance, + &::_CUserMessageCameraTransition_Transition_DataDriven_default_instance_._instance, + &::_CUserMessageCameraTransition_default_instance_._instance, + &::_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_._instance, + &::_CUserMsg_ParticleManager_CreateParticle_default_instance_._instance, + &::_CUserMsg_ParticleManager_DestroyParticle_default_instance_._instance, + &::_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_._instance, + &::_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_._instance, + &::_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetControlPointModel_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleText_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_._instance, + &::_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_._instance, + &::_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_._instance, + &::_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_._instance, + &::_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_._instance, + &::_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_._instance, + &::_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_._instance, + &::_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_._instance, + &::_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetVData_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_._instance, + &::_CUserMsg_ParticleManager_AddFan_default_instance_._instance, + &::_CUserMsg_ParticleManager_UpdateFan_default_instance_._instance, + &::_CUserMsg_ParticleManager_RemoveFan_default_instance_._instance, + &::_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_._instance, + &::_CUserMsg_ParticleManager_default_instance_._instance, + &::_CUserMsg_HudError_default_instance_._instance, + &::_CUserMsg_CustomGameEvent_default_instance_._instance, + &::_CUserMessageHapticsManagerPulse_default_instance_._instance, + &::_CUserMessageHapticsManagerEffect_default_instance_._instance, + &::_CUserMessageAnimStateGraphState_default_instance_._instance, + &::_CUserMessageUpdateCssClasses_default_instance_._instance, + &::_CUserMessageServerFrameTime_default_instance_._instance, + &::_CUserMessageLagCompensationError_default_instance_._instance, + &::_CUserMessageRequestDllStatus_default_instance_._instance, + &::_CUserMessageRequestUtilAction_default_instance_._instance, + &::_CUserMessage_UtilMsg_Response_ItemDetail_default_instance_._instance, + &::_CUserMessage_UtilMsg_Response_default_instance_._instance, + &::_CUserMessage_DllStatus_CVDiagnostic_default_instance_._instance, + &::_CUserMessage_DllStatus_CModule_default_instance_._instance, + &::_CUserMessage_DllStatus_default_instance_._instance, + &::_CUserMessageRequestInventory_default_instance_._instance, + &::_CUserMessage_Inventory_Response_InventoryDetail_default_instance_._instance, + &::_CUserMessage_Inventory_Response_default_instance_._instance, + &::_CUserMessageRequestDiagnostic_Diagnostic_default_instance_._instance, + &::_CUserMessageRequestDiagnostic_default_instance_._instance, + &::_CUserMessage_Diagnostic_Response_Diagnostic_default_instance_._instance, + &::_CUserMessage_Diagnostic_Response_default_instance_._instance, + &::_CUserMessage_ExtraUserData_default_instance_._instance, + &::_CUserMessage_NotifyResponseFound_Criteria_default_instance_._instance, + &::_CUserMessage_NotifyResponseFound_default_instance_._instance, + &::_CUserMessage_PlayResponseConditional_default_instance_._instance, +}; + +const char descriptor_table_protodef_usermessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\022usermessages.proto\032\026networkbasetypes.p" + "roto\"3\n\034CUserMessageAchievementEvent\022\023\n\013" + "achievement\030\001 \001(\r\"f\n\030CUserMessageCloseCa" + "ption\022\014\n\004hash\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n" + "\013from_player\030\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-" + "1\"l\n\036CUserMessageCloseCaptionDirect\022\014\n\004h" + "ash\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_play" + "er\030\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-1\"s\n#CUser" + "MessageCloseCaptionPlaceholder\022\016\n\006string" + "\030\001 \001(\t\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player\030" + "\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-1\"/\n\034CUserMes" + "sageCurrentTimescale\022\017\n\007current\030\001 \001(\002\"y\n" + "\034CUserMessageDesiredTimescale\022\017\n\007desired" + "\030\001 \001(\002\022\024\n\014acceleration\030\002 \001(\002\022\024\n\014minblend" + "rate\030\003 \001(\002\022\034\n\024blenddeltamultiplier\030\004 \001(\002" + "\"U\n\020CUserMessageFade\022\020\n\010duration\030\001 \001(\r\022\021" + "\n\thold_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005colo" + "r\030\004 \001(\007\"\\\n\021CUserMessageShake\022\017\n\007command\030" + "\001 \001(\r\022\021\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 " + "\001(\002\022\020\n\010duration\030\004 \001(\002\"Y\n\024CUserMessageSha" + "keDir\022!\n\005shake\030\001 \001(\0132\022.CUserMessageShake" + "\022\036\n\tdirection\030\002 \001(\0132\013.CMsgVector\"a\n\026CUse" + "rMessageWaterShake\022\017\n\007command\030\001 \001(\r\022\021\n\ta" + "mplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010dur" + "ation\030\004 \001(\002\"z\n\026CUserMessageScreenTilt\022\017\n" + "\007command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022\032\n\005a" + "ngle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030\004 \001(" + "\002\022\014\n\004time\030\005 \001(\002\"J\n\023CUserMessageSayText\022\027" + "\n\013playerindex\030\001 \001(\005:\002-1\022\014\n\004text\030\002 \001(\t\022\014\n" + "\004chat\030\003 \001(\010\"\222\001\n\024CUserMessageSayText2\022\027\n\013" + "entityindex\030\001 \001(\005:\002-1\022\014\n\004chat\030\002 \001(\010\022\023\n\013m" + "essagename\030\003 \001(\t\022\016\n\006param1\030\004 \001(\t\022\016\n\006para" + "m2\030\005 \001(\t\022\016\n\006param3\030\006 \001(\t\022\016\n\006param4\030\007 \001(\t" + "\"|\n\022CUserMessageHudMsg\022\017\n\007channel\030\001 \001(\r\022" + "\t\n\001x\030\002 \001(\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\007\022\016\n" + "\006color2\030\005 \001(\007\022\016\n\006effect\030\006 \001(\r\022\017\n\007message" + "\030\013 \001(\t\"&\n\023CUserMessageHudText\022\017\n\007message" + "\030\001 \001(\t\"2\n\023CUserMessageTextMsg\022\014\n\004dest\030\001 " + "\001(\r\022\r\n\005param\030\002 \003(\t\"\027\n\025CUserMessageGameTi" + "tle\"\026\n\024CUserMessageResetHUD\"8\n\025CUserMess" + "ageSendAudio\022\021\n\tsoundname\030\001 \001(\t\022\014\n\004stop\030" + "\002 \001(\010\"n\n\032CUserMessageAudioParameter\022\026\n\016p" + "arameter_type\030\001 \001(\r\022\026\n\016name_hash_code\030\002 " + "\001(\r\022\r\n\005value\030\003 \001(\002\022\021\n\tint_value\030\004 \001(\r\"W\n" + "\025CUserMessageVoiceMask\022\027\n\017gamerules_mask" + "s\030\001 \003(\r\022\021\n\tban_masks\030\002 \003(\r\022\022\n\nmod_enable" + "\030\003 \001(\010\"\032\n\030CUserMessageRequestState\"@\n\022CU" + "serMessageRumble\022\r\n\005index\030\001 \001(\005\022\014\n\004data\030" + "\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"K\n\032CUserMessageSayT" + "extChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007channel\030\002 " + "\001(\005\022\014\n\004text\030\003 \001(\t\"\226\001\n\027CUserMessageColore" + "dText\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\r\n\005re" + "set\030\003 \001(\010\022\037\n\023context_player_slot\030\004 \001(\005:\002" + "-1\022\025\n\rcontext_value\030\005 \001(\005\022\027\n\017context_tea" + "m_id\030\006 \001(\005\"*\n\026CUserMessageItemPickup\022\020\n\010" + "itemname\030\001 \001(\t\")\n\026CUserMessageAmmoDenied" + "\022\017\n\007ammo_id\030\001 \001(\r\"e\n\024CUserMessageShowMen" + "u\022\022\n\nvalidslots\030\001 \001(\r\022\023\n\013displaytime\030\002 \001" + "(\r\022\020\n\010needmore\030\003 \001(\010\022\022\n\nmenustring\030\004 \001(\t" + "\"V\n\026CUserMessageCreditsMsg\022\'\n\010rolltype\030\001" + " \001(\0162\n.eRollType:\tROLL_NONE\022\023\n\013logo_leng" + "th\030\002 \001(\002\";\n\030CEntityMessagePlayJingle\022\037\n\n" + "entity_msg\030\001 \001(\0132\013.CEntityMsg\"T\n\033CEntity" + "MessageScreenOverlay\022\024\n\014start_effect\030\001 \001" + "(\010\022\037\n\nentity_msg\030\002 \001(\0132\013.CEntityMsg\"W\n\035C" + "EntityMessageRemoveAllDecals\022\025\n\rremove_d" + "ecals\030\001 \001(\010\022\037\n\nentity_msg\030\002 \001(\0132\013.CEntit" + "yMsg\"]\n\034CEntityMessagePropagateForce\022\034\n\007" + "impulse\030\001 \001(\0132\013.CMsgVector\022\037\n\nentity_msg" + "\030\002 \001(\0132\013.CEntityMsg\"\275\001\n\025CEntityMessageDo" + "Spark\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector\022\027\n\013en" + "tityindex\030\002 \001(\005:\002-1\022\016\n\006radius\030\003 \001(\002\022\r\n\005c" + "olor\030\004 \001(\007\022\r\n\005beams\030\005 \001(\r\022\r\n\005thick\030\006 \001(\002" + "\022\020\n\010duration\030\007 \001(\002\022\037\n\nentity_msg\030\010 \001(\0132\013" + ".CEntityMsg\"g\n\026CEntityMessageFixAngle\022\020\n" + "\010relative\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CMsgQAn" + "gle\022\037\n\nentity_msg\030\003 \001(\0132\013.CEntityMsg\"\361\001\n" + "\034CUserMessageCameraTransition\022\023\n\013camera_" + "type\030\001 \001(\r\022\020\n\010duration\030\002 \001(\002\022O\n\022params_d" + "ata_driven\030\003 \001(\01323.CUserMessageCameraTra" + "nsition.Transition_DataDriven\032Y\n\025Transit" + "ion_DataDriven\022\020\n\010filename\030\001 \001(\t\022\034\n\020atta" + "ch_ent_index\030\002 \001(\005:\002-1\022\020\n\010duration\030\003 \001(\002" + "\"\243=\n\030CUserMsg_ParticleManager\022C\n\004type\030\001 " + "\002(\0162\021.PARTICLE_MESSAGE:\"GAME_PARTICLE_MA" + "NAGER_EVENT_CREATE\022\r\n\005index\030\002 \002(\r\022N\n\026rel" + "ease_particle_index\030\003 \001(\0132..CUserMsg_Par" + "ticleManager.ReleaseParticleIndex\022A\n\017cre" + "ate_particle\030\004 \001(\0132(.CUserMsg_ParticleMa" + "nager.CreateParticle\022C\n\020destroy_particle" + "\030\005 \001(\0132).CUserMsg_ParticleManager.Destro" + "yParticle\022V\n\032destroy_particle_involving\030" + "\006 \001(\01322.CUserMsg_ParticleManager.Destroy" + "ParticleInvolving\022J\n\017update_particle\030\007 \001" + "(\01321.CUserMsg_ParticleManager.UpdatePart" + "icle_OBSOLETE\022Q\n\023update_particle_fwd\030\010 \001" + "(\01324.CUserMsg_ParticleManager.UpdatePart" + "icleFwd_OBSOLETE\022W\n\026update_particle_orie" + "nt\030\t \001(\01327.CUserMsg_ParticleManager.Upda" + "teParticleOrient_OBSOLETE\022R\n\030update_part" + "icle_fallback\030\n \001(\01320.CUserMsg_ParticleM" + "anager.UpdateParticleFallback\022N\n\026update_" + "particle_offset\030\013 \001(\0132..CUserMsg_Particl" + "eManager.UpdateParticleOffset\022H\n\023update_" + "particle_ent\030\014 \001(\0132+.CUserMsg_ParticleMa" + "nager.UpdateParticleEnt\022W\n\033update_partic" + "le_should_draw\030\016 \001(\01322.CUserMsg_Particle" + "Manager.UpdateParticleShouldDraw\022U\n\032upda" + "te_particle_set_frozen\030\017 \001(\01321.CUserMsg_" + "ParticleManager.UpdateParticleSetFrozen\022" + "_\n\037change_control_point_attachment\030\020 \001(\013" + "26.CUserMsg_ParticleManager.ChangeContro" + "lPointAttachment\022N\n\026update_entity_positi" + "on\030\021 \001(\0132..CUserMsg_ParticleManager.Upda" + "teEntityPosition\022W\n\033set_particle_fow_pro" + "perties\030\022 \001(\01322.CUserMsg_ParticleManager" + ".SetParticleFoWProperties\022D\n\021set_particl" + "e_text\030\023 \001(\0132).CUserMsg_ParticleManager." + "SetParticleText\022Z\n\035set_particle_should_c" + "heck_fow\030\024 \001(\01323.CUserMsg_ParticleManage" + "r.SetParticleShouldCheckFoW\022O\n\027set_contr" + "ol_point_model\030\025 \001(\0132..CUserMsg_Particle" + "Manager.SetControlPointModel\022U\n\032set_cont" + "rol_point_snapshot\030\026 \001(\01321.CUserMsg_Part" + "icleManager.SetControlPointSnapshot\022L\n\025s" + "et_texture_attribute\030\027 \001(\0132-.CUserMsg_Pa" + "rticleManager.SetTextureAttribute\022Z\n\035set" + "_scene_object_generic_flag\030\030 \001(\01323.CUser" + "Msg_ParticleManager.SetSceneObjectGeneri" + "cFlag\022]\n\037set_scene_object_tint_and_desat" + "\030\031 \001(\01324.CUserMsg_ParticleManager.SetSce" + "neObjectTintAndDesat\022N\n\026destroy_particle" + "_named\030\032 \001(\0132..CUserMsg_ParticleManager." + "DestroyParticleNamed\022K\n\025particle_skip_to" + "_time\030\033 \001(\0132,.CUserMsg_ParticleManager.P" + "articleSkipToTime\022H\n\023particle_can_freeze" + "\030\034 \001(\0132+.CUserMsg_ParticleManager.Partic" + "leCanFreeze\022W\n\027set_named_value_context\030\035" + " \001(\01326.CUserMsg_ParticleManager.SetParti" + "cleNamedValueContext\022T\n\031update_particle_" + "transform\030\036 \001(\01321.CUserMsg_ParticleManag" + "er.UpdateParticleTransform\022g\n#particle_f" + "reeze_transition_override\030\037 \001(\0132:.CUserM" + "sg_ParticleManager.ParticleFreezeTransit" + "ionOverride\022T\n\031freeze_particle_involving" + "\030 \001(\01321.CUserMsg_ParticleManager.Freeze" + "ParticleInvolving\022]\n\036add_modellist_overr" + "ide_element\030! \001(\01325.CUserMsg_ParticleMan" + "ager.AddModellistOverrideElement\022R\n\030clea" + "r_modellist_override\030\" \001(\01320.CUserMsg_Pa" + "rticleManager.ClearModellistOverride\022F\n\022" + "create_physics_sim\030# \001(\0132*.CUserMsg_Part" + "icleManager.CreatePhysicsSim\022H\n\023destroy_" + "physics_sim\030$ \001(\0132+.CUserMsg_ParticleMan" + "ager.DestroyPhysicsSim\0225\n\tset_vdata\030% \001(" + "\0132\".CUserMsg_ParticleManager.SetVData\022L\n" + "\025set_material_override\030& \001(\0132-.CUserMsg_" + "ParticleManager.SetMaterialOverride\0221\n\007a" + "dd_fan\030\' \001(\0132 .CUserMsg_ParticleManager." + "AddFan\0227\n\nupdate_fan\030( \001(\0132#.CUserMsg_Pa" + "rticleManager.UpdateFan\022W\n\033set_particle_" + "cluster_growth\030) \001(\01322.CUserMsg_Particle" + "Manager.SetParticleClusterGrowth\0227\n\nremo" + "ve_fan\030* \001(\0132#.CUserMsg_ParticleManager." + "RemoveFan\032\026\n\024ReleaseParticleIndex\032\276\002\n\016Cr" + "eateParticle\022\033\n\023particle_name_index\030\001 \001(" + "\006\022\023\n\013attach_type\030\002 \001(\005\022\037\n\rentity_handle\030" + "\003 \001(\r:\01016777215\022-\n\033entity_handle_for_mod" + "ifiers\030\004 \001(\r:\01016777215\022\035\n\025apply_voice_ba" + "n_rules\030\005 \001(\010\022\025\n\rteam_behavior\030\006 \001(\005\022#\n\033" + "control_point_configuration\030\007 \001(\t\022\017\n\007clu" + "ster\030\010 \001(\010\022\023\n\013endcap_time\030\t \001(\002\022)\n\024aggre" + "gation_position\030\n \001(\0132\013.CMsgVector\032.\n\017De" + "stroyParticle\022\033\n\023destroy_immediately\030\001 \001" + "(\010\032X\n\030DestroyParticleInvolving\022\033\n\023destro" + "y_immediately\030\001 \001(\010\022\037\n\rentity_handle\030\003 \001" + "(\r:\01016777215\032\206\001\n\024DestroyParticleNamed\022\033\n" + "\023particle_name_index\030\001 \001(\006\022\037\n\rentity_han" + "dle\030\002 \001(\r:\01016777215\022\033\n\023destroy_immediate" + "ly\030\003 \001(\010\022\023\n\013play_endcap\030\004 \001(\010\032O\n\027UpdateP" + "article_OBSOLETE\022\025\n\rcontrol_point\030\001 \001(\005\022" + "\035\n\010position\030\002 \001(\0132\013.CMsgVector\032Q\n\032Update" + "ParticleFwd_OBSOLETE\022\025\n\rcontrol_point\030\001 " + "\001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector\032\257\001\n\035Up" + "dateParticleOrient_OBSOLETE\022\025\n\rcontrol_p" + "oint\030\001 \001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector" + "\022%\n\020deprecated_right\030\003 \001(\0132\013.CMsgVector\022" + "\027\n\002up\030\004 \001(\0132\013.CMsgVector\022\031\n\004left\030\005 \001(\0132\013" + ".CMsgVector\032\225\001\n\027UpdateParticleTransform\022" + "\025\n\rcontrol_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\013" + "2\013.CMsgVector\022$\n\013orientation\030\003 \001(\0132\017.CMs" + "gQuaternion\022\036\n\026interpolation_interval\030\004 " + "\001(\002\032N\n\026UpdateParticleFallback\022\025\n\rcontrol" + "_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\0132\013.CMsgVec" + "tor\032t\n\024UpdateParticleOffset\022\025\n\rcontrol_p" + "oint\030\001 \001(\005\022\"\n\rorigin_offset\030\002 \001(\0132\013.CMsg" + "Vector\022!\n\014angle_offset\030\003 \001(\0132\013.CMsgQAngl" + "e\032\201\002\n\021UpdateParticleEnt\022\025\n\rcontrol_point" + "\030\001 \001(\005\022\037\n\rentity_handle\030\002 \001(\r:\01016777215\022" + "\023\n\013attach_type\030\003 \001(\005\022\022\n\nattachment\030\004 \001(\005" + "\022&\n\021fallback_position\030\005 \001(\0132\013.CMsgVector" + "\022\031\n\021include_wearables\030\006 \001(\010\022$\n\017offset_po" + "sition\030\007 \001(\0132\013.CMsgVector\022\"\n\roffset_angl" + "es\030\010 \001(\0132\013.CMsgQAngle\032J\n\027UpdateParticleS" + "etFrozen\022\022\n\nset_frozen\030\001 \001(\010\022\033\n\023transiti" + "on_duration\030\002 \001(\002\032/\n\030UpdateParticleShoul" + "dDraw\022\023\n\013should_draw\030\001 \001(\010\032o\n\034ChangeCont" + "rolPointAttachment\022\026\n\016attachment_old\030\001 \001" + "(\005\022\026\n\016attachment_new\030\002 \001(\005\022\037\n\rentity_han" + "dle\030\003 \001(\r:\01016777215\032V\n\024UpdateEntityPosit" + "ion\022\037\n\rentity_handle\030\001 \001(\r:\01016777215\022\035\n\010" + "position\030\002 \001(\0132\013.CMsgVector\032e\n\030SetPartic" + "leFoWProperties\022\031\n\021fow_control_point\030\001 \001" + "(\005\022\032\n\022fow_control_point2\030\002 \001(\005\022\022\n\nfow_ra" + "dius\030\003 \001(\002\032.\n\031SetParticleShouldCheckFoW\022" + "\021\n\tcheck_fow\030\001 \001(\010\032A\n\024SetControlPointMod" + "el\022\025\n\rcontrol_point\030\001 \001(\005\022\022\n\nmodel_name\030" + "\002 \001(\t\032G\n\027SetControlPointSnapshot\022\025\n\rcont" + "rol_point\030\001 \001(\005\022\025\n\rsnapshot_name\030\002 \001(\t\032\037" + "\n\017SetParticleText\022\014\n\004text\030\001 \001(\t\032C\n\023SetTe" + "xtureAttribute\022\026\n\016attribute_name\030\001 \001(\t\022\024" + "\n\014texture_name\030\002 \001(\t\032/\n\031SetSceneObjectGe" + "nericFlag\022\022\n\nflag_value\030\001 \001(\010\0329\n\032SetScen" + "eObjectTintAndDesat\022\014\n\004tint\030\001 \001(\007\022\r\n\005des" + "at\030\002 \001(\002\032*\n\022ParticleSkipToTime\022\024\n\014skip_t" + "o_time\030\001 \001(\002\032\'\n\021ParticleCanFreeze\022\022\n\ncan" + "_freeze\030\001 \001(\010\032F\n ParticleFreezeTransitio" + "nOverride\022\"\n\032freeze_transition_override\030" + "\001 \001(\002\032k\n\027FreezeParticleInvolving\022\022\n\nset_" + "frozen\030\001 \001(\010\022\033\n\023transition_duration\030\002 \001(" + "\002\022\037\n\rentity_handle\030\003 \001(\r:\01016777215\032]\n\033Ad" + "dModellistOverrideElement\022\022\n\nmodel_name\030" + "\001 \001(\t\022\031\n\021spawn_probability\030\002 \001(\002\022\017\n\007grou" + "pid\030\003 \001(\r\032)\n\026ClearModellistOverride\022\017\n\007g" + "roupid\030\001 \001(\r\032\350\005\n\034SetParticleNamedValueCo" + "ntext\022^\n\014float_values\030\001 \003(\0132H.CUserMsg_P" + "articleManager.SetParticleNamedValueCont" + "ext.FloatContextValue\022`\n\rvector_values\030\002" + " \003(\0132I.CUserMsg_ParticleManager.SetParti" + "cleNamedValueContext.VectorContextValue\022" + "f\n\020transform_values\030\003 \003(\0132L.CUserMsg_Par" + "ticleManager.SetParticleNamedValueContex" + "t.TransformContextValue\022]\n\016ehandle_value" + "s\030\004 \003(\0132E.CUserMsg_ParticleManager.SetPa" + "rticleNamedValueContext.EHandleContext\032;" + "\n\021FloatContextValue\022\027\n\017value_name_hash\030\001" + " \001(\r\022\r\n\005value\030\002 \001(\002\032I\n\022VectorContextValu" + "e\022\027\n\017value_name_hash\030\001 \001(\r\022\032\n\005value\030\002 \001(" + "\0132\013.CMsgVector\032o\n\025TransformContextValue\022" + "\027\n\017value_name_hash\030\001 \001(\r\022\033\n\006angles\030\002 \001(\013" + "2\013.CMsgQAngle\022 \n\013translation\030\003 \001(\0132\013.CMs" + "gVector\032F\n\016EHandleContext\022\027\n\017value_name_" + "hash\030\001 \001(\r\022\033\n\tent_index\030\002 \001(\r:\01016777215\032" + "l\n\020CreatePhysicsSim\022\027\n\017prop_group_name\030\001" + " \001(\t\022#\n\033use_high_quality_simulation\030\002 \001(" + "\010\022\032\n\022max_particle_count\030\003 \001(\r\032\023\n\021Destroy" + "PhysicsSim\032\036\n\010SetVData\022\022\n\nvdata_name\030\001 \001" + "(\t\032F\n\023SetMaterialOverride\022\025\n\rmaterial_na" + "me\030\001 \001(\t\022\030\n\020include_children\030\002 \001(\010\032\343\003\n\006A" + "ddFan\022\016\n\006active\030\001 \001(\010\022 \n\013bounds_mins\030\002 \001" + "(\0132\013.CMsgVector\022 \n\013bounds_maxs\030\003 \001(\0132\013.C" + "MsgVector\022\037\n\nfan_origin\030\004 \001(\0132\013.CMsgVect" + "or\022&\n\021fan_origin_offset\030\005 \001(\0132\013.CMsgVect" + "or\022\"\n\rfan_direction\030\006 \001(\0132\013.CMsgVector\022\r" + "\n\005force\030\007 \001(\002\022\027\n\017fan_force_curve\030\010 \001(\t\022\017" + "\n\007falloff\030\t \001(\010\022\032\n\022pull_towards_point\030\n " + "\001(\010\022\026\n\016curve_min_dist\030\013 \001(\002\022\026\n\016curve_max" + "_dist\030\014 \001(\002\022\020\n\010fan_type\030\r \001(\r\022\031\n\021cone_st" + "art_radius\030\016 \001(\002\022\027\n\017cone_end_radius\030\017 \001(" + "\002\022\023\n\013cone_length\030\020 \001(\002\022\037\n\rentity_handle\030" + "\021 \001(\r:\01016777215\022\027\n\017attachment_name\030\022 \001(\t" + "\032\344\001\n\tUpdateFan\022\016\n\006active\030\001 \001(\010\022\037\n\nfan_or" + "igin\030\002 \001(\0132\013.CMsgVector\022&\n\021fan_origin_of" + "fset\030\003 \001(\0132\013.CMsgVector\022\"\n\rfan_direction" + "\030\004 \001(\0132\013.CMsgVector\022\026\n\016fan_ramp_ratio\030\007 " + "\001(\002\022 \n\013bounds_mins\030\005 \001(\0132\013.CMsgVector\022 \n" + "\013bounds_maxs\030\006 \001(\0132\013.CMsgVector\032\013\n\tRemov" + "eFan\032I\n\030SetParticleClusterGrowth\022\020\n\010dura" + "tion\030\001 \001(\002\022\033\n\006origin\030\002 \001(\0132\013.CMsgVector*" + "\005\010d\020\312\001\"%\n\021CUserMsg_HudError\022\020\n\010order_id\030" + "\001 \001(\005\"<\n\030CUserMsg_CustomGameEvent\022\022\n\neve" + "nt_name\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\"\177\n\037CUserMess" + "ageHapticsManagerPulse\022\017\n\007hand_id\030\001 \001(\005\022" + "\030\n\020effect_amplitude\030\002 \001(\002\022\030\n\020effect_freq" + "uency\030\003 \001(\002\022\027\n\017effect_duration\030\004 \001(\002\"h\n " + "CUserMessageHapticsManagerEffect\022\017\n\007hand" + "_id\030\001 \001(\005\022\035\n\025effect_name_hash_code\030\002 \001(\r" + "\022\024\n\014effect_scale\030\003 \001(\002\"E\n\037CUserMessageAn" + "imStateGraphState\022\024\n\014entity_index\030\001 \001(\005\022" + "\014\n\004data\030\002 \001(\014\"_\n\034CUserMessageUpdateCssCl" + "asses\022\032\n\022target_world_panel\030\001 \001(\005\022\023\n\013css" + "_classes\030\002 \001(\t\022\016\n\006is_add\030\003 \001(\010\"1\n\033CUserM" + "essageServerFrameTime\022\022\n\nframe_time\030\001 \001(" + "\002\"4\n CUserMessageLagCompensationError\022\020\n" + "\010distance\030\001 \001(\002\"G\n\034CUserMessageRequestDl" + "lStatus\022\022\n\ndll_action\030\001 \001(\t\022\023\n\013full_repo" + "rt\030\002 \001(\010\"j\n\035CUserMessageRequestUtilActio" + "n\022\r\n\005util1\030\002 \001(\005\022\r\n\005util2\030\003 \001(\005\022\r\n\005util3" + "\030\004 \001(\005\022\r\n\005util4\030\005 \001(\005\022\r\n\005util5\030\006 \001(\005\"\370\002\n" + "\035CUserMessage_UtilMsg_Response\022\013\n\003crc\030\001 " + "\001(\007\022\022\n\nitem_count\030\002 \001(\005\022\014\n\004crc2\030\003 \001(\007\022\023\n" + "\013item_count2\030\004 \001(\005\022\020\n\010crc_part\030\005 \003(\005\022\021\n\t" + "crc_part2\030\006 \003(\005\022\030\n\020client_timestamp\030\007 \001(" + "\005\022\020\n\010platform\030\010 \001(\005\022>\n\013itemdetails\030\t \003(\013" + "2).CUserMessage_UtilMsg_Response.ItemDet" + "ail\022\021\n\titemgroup\030\n \001(\005\022\023\n\013total_count\030\013 " + "\001(\005\022\024\n\014total_count2\030\014 \001(\005\032D\n\nItemDetail\022" + "\r\n\005index\030\001 \001(\005\022\014\n\004hash\030\002 \001(\005\022\013\n\003crc\030\003 \001(" + "\005\022\014\n\004name\030\004 \001(\t\"\241\003\n\026CUserMessage_DllStat" + "us\022\023\n\013file_report\030\001 \001(\t\022\024\n\014command_line\030" + "\002 \001(\t\022\023\n\013total_files\030\003 \001(\r\022\022\n\nprocess_id" + "\030\004 \001(\r\022\021\n\tosversion\030\005 \001(\005\022\023\n\013client_time" + "\030\006 \001(\004\0229\n\013diagnostics\030\007 \003(\0132$.CUserMessa" + "ge_DllStatus.CVDiagnostic\0220\n\007modules\030\010 \003" + "(\0132\037.CUserMessage_DllStatus.CModule\032Q\n\014C" + "VDiagnostic\022\n\n\002id\030\001 \001(\r\022\020\n\010extended\030\002 \001(" + "\r\022\r\n\005value\030\003 \001(\004\022\024\n\014string_value\030\004 \001(\t\032K" + "\n\007CModule\022\021\n\tbase_addr\030\001 \001(\004\022\014\n\004name\030\002 \001" + "(\t\022\014\n\004size\030\003 \001(\r\022\021\n\ttimestamp\030\004 \001(\r\"R\n\034C" + "UserMessageRequestInventory\022\021\n\tinventory" + "\030\001 \001(\005\022\016\n\006offset\030\002 \001(\005\022\017\n\007options\030\003 \001(\005\"" + "\367\004\n\037CUserMessage_Inventory_Response\022\013\n\003c" + "rc\030\001 \001(\007\022\022\n\nitem_count\030\002 \001(\005\022\021\n\tosversio" + "n\030\005 \001(\005\022\021\n\tperf_time\030\006 \001(\005\022\030\n\020client_tim" + "estamp\030\007 \001(\005\022\020\n\010platform\030\010 \001(\005\022E\n\013invent" + "ories\030\t \003(\01320.CUserMessage_Inventory_Res" + "ponse.InventoryDetail\022F\n\014inventories2\030\n " + "\003(\01320.CUserMessage_Inventory_Response.In" + "ventoryDetail\022F\n\014inventories3\030\016 \003(\01320.CU" + "serMessage_Inventory_Response.InventoryD" + "etail\022\020\n\010inv_type\030\013 \001(\005\022\025\n\rbuild_version" + "\030\014 \001(\005\022\020\n\010instance\030\r \001(\005\022\022\n\nstart_time\030\017" + " \001(\003\032\272\001\n\017InventoryDetail\022\r\n\005index\030\001 \001(\005\022" + "\017\n\007primary\030\002 \001(\003\022\016\n\006offset\030\003 \001(\003\022\r\n\005firs" + "t\030\004 \001(\003\022\014\n\004base\030\005 \001(\003\022\014\n\004name\030\006 \001(\t\022\021\n\tb" + "ase_name\030\007 \001(\t\022\023\n\013base_detail\030\010 \001(\005\022\021\n\tb" + "ase_time\030\t \001(\005\022\021\n\tbase_hash\030\n \001(\005\"\270\002\n\035CU" + "serMessageRequestDiagnostic\022>\n\013diagnosti" + "cs\030\001 \003(\0132).CUserMessageRequestDiagnostic" + ".Diagnostic\032\326\001\n\nDiagnostic\022\r\n\005index\030\001 \001(" + "\005\022\016\n\006offset\030\002 \001(\003\022\r\n\005param\030\003 \001(\005\022\016\n\006leng" + "th\030\004 \001(\005\022\014\n\004type\030\005 \001(\005\022\014\n\004base\030\006 \001(\003\022\r\n\005" + "range\030\007 \001(\003\022\016\n\006extent\030\010 \001(\003\022\016\n\006detail\030\t " + "\001(\003\022\014\n\004name\030\n \001(\t\022\r\n\005alias\030\013 \001(\t\022\021\n\tvard" + "etail\030\014 \001(\014\022\017\n\007context\030\r \001(\005\"\300\003\n CUserMe" + "ssage_Diagnostic_Response\022A\n\013diagnostics" + "\030\001 \003(\0132,.CUserMessage_Diagnostic_Respons" + "e.Diagnostic\022\025\n\rbuild_version\030\002 \001(\005\022\020\n\010i" + "nstance\030\003 \001(\005\022\022\n\nstart_time\030\004 \001(\003\022\021\n\tosv" + "ersion\030\005 \001(\005\022\020\n\010platform\030\006 \001(\005\032\366\001\n\nDiagn" + "ostic\022\r\n\005index\030\001 \001(\005\022\016\n\006offset\030\002 \001(\003\022\r\n\005" + "param\030\003 \001(\005\022\016\n\006length\030\004 \001(\005\022\016\n\006detail\030\005 " + "\001(\014\022\014\n\004base\030\006 \001(\003\022\r\n\005range\030\007 \001(\003\022\014\n\004type" + "\030\010 \001(\005\022\014\n\004name\030\n \001(\t\022\r\n\005alias\030\013 \001(\t\022\016\n\006b" + "ackup\030\014 \001(\014\022\017\n\007context\030\r \001(\005\022\017\n\007control\030" + "\016 \001(\003\022\017\n\007augment\030\017 \001(\003\022\017\n\007placebo\030\020 \001(\003\"" + "l\n\032CUserMessage_ExtraUserData\022\014\n\004item\030\001 " + "\001(\005\022\016\n\006value1\030\002 \001(\003\022\016\n\006value2\030\003 \001(\003\022\017\n\007d" + "etail1\030\004 \003(\014\022\017\n\007detail2\030\005 \003(\014\"\313\003\n CUserM" + "essage_NotifyResponseFound\022\025\n\tent_index\030" + "\001 \001(\005:\002-1\022\021\n\trule_name\030\002 \001(\t\022\026\n\016response" + "_value\030\003 \001(\t\022\030\n\020response_concept\030\004 \001(\t\022<" + "\n\010criteria\030\005 \003(\0132*.CUserMessage_NotifyRe" + "sponseFound.Criteria\022\036\n\022int_criteria_nam" + "es\030\006 \003(\rB\002\020\001\022\037\n\023int_criteria_values\030\007 \003(" + "\005B\002\020\001\022 \n\024float_criteria_names\030\010 \003(\rB\002\020\001\022" + "\035\n\025float_criteria_values\030\t \003(\002\022!\n\025symbol" + "_criteria_names\030\n \003(\rB\002\020\001\022\"\n\026symbol_crit" + "eria_values\030\013 \003(\rB\002\020\001\022\024\n\014speak_result\030\014 " + "\001(\005\032.\n\010Criteria\022\023\n\013name_symbol\030\001 \001(\r\022\r\n\005" + "value\030\002 \001(\t\"\257\001\n$CUserMessage_PlayRespons" + "eConditional\022\025\n\tent_index\030\001 \001(\005:\002-1\022\024\n\014p" + "layer_slots\030\002 \003(\005\022\020\n\010response\030\003 \001(\t\022\037\n\ne" + "nt_origin\030\004 \001(\0132\013.CMsgVector\022\021\n\tpre_dela" + "y\030\005 \001(\002\022\024\n\014mix_priority\030\006 \001(\005*\221\t\n\021EBaseU" + "serMessages\022\027\n\023UM_AchievementEvent\020e\022\023\n\017" + "UM_CloseCaption\020f\022\031\n\025UM_CloseCaptionDire" + "ct\020g\022\027\n\023UM_CurrentTimescale\020h\022\027\n\023UM_Desi" + "redTimescale\020i\022\013\n\007UM_Fade\020j\022\020\n\014UM_GameTi" + "tle\020k\022\r\n\tUM_HudMsg\020n\022\016\n\nUM_HudText\020o\022\022\n\016" + "UM_ColoredText\020q\022\023\n\017UM_RequestState\020r\022\017\n" + "\013UM_ResetHUD\020s\022\r\n\tUM_Rumble\020t\022\016\n\nUM_SayT" + "ext\020u\022\017\n\013UM_SayText2\020v\022\025\n\021UM_SayTextChan" + "nel\020w\022\014\n\010UM_Shake\020x\022\017\n\013UM_ShakeDir\020y\022\021\n\r" + "UM_WaterShake\020z\022\016\n\nUM_TextMsg\020|\022\021\n\rUM_Sc" + "reenTilt\020}\022\021\n\014UM_VoiceMask\020\200\001\022\021\n\014UM_Send" + "Audio\020\202\001\022\022\n\rUM_ItemPickup\020\203\001\022\022\n\rUM_AmmoD" + "enied\020\204\001\022\020\n\013UM_ShowMenu\020\206\001\022\022\n\rUM_Credits" + "Msg\020\207\001\022\037\n\032UM_CloseCaptionPlaceholder\020\216\001\022" + "\030\n\023UM_CameraTransition\020\217\001\022\026\n\021UM_AudioPar" + "ameter\020\220\001\022\027\n\022UM_ParticleManager\020\221\001\022\020\n\013UM" + "_HudError\020\222\001\022\027\n\022UM_CustomGameEvent\020\224\001\022\027\n" + "\022UM_AnimGraphUpdate\020\225\001\022\033\n\026UM_HapticsMana" + "gerPulse\020\226\001\022\034\n\027UM_HapticsManagerEffect\020\227" + "\001\022\030\n\023UM_UpdateCssClasses\020\231\001\022\027\n\022UM_Server" + "FrameTime\020\232\001\022\034\n\027UM_LagCompensationError\020" + "\233\001\022\030\n\023UM_RequestDllStatus\020\234\001\022\031\n\024UM_Reque" + "stUtilAction\020\235\001\022\032\n\025UM_UtilActionResponse" + "\020\236\001\022\031\n\024UM_DllStatusResponse\020\237\001\022\030\n\023UM_Req" + "uestInventory\020\240\001\022\031\n\024UM_InventoryResponse" + "\020\241\001\022\031\n\024UM_RequestDiagnostic\020\242\001\022\032\n\025UM_Dia" + "gnosticResponse\020\243\001\022\025\n\020UM_ExtraUserData\020\244" + "\001\022\033\n\026UM_NotifyResponseFound\020\245\001\022\037\n\032UM_Pla" + "yResponseConditional\020\246\001\022\020\n\013UM_MAX_BASE\020\310" + "\001*\224\001\n\023EBaseEntityMessages\022\022\n\rEM_PlayJing" + "le\020\210\001\022\025\n\020EM_ScreenOverlay\020\211\001\022\027\n\022EM_Remov" + "eAllDecals\020\212\001\022\026\n\021EM_PropagateForce\020\213\001\022\017\n" + "\nEM_DoSpark\020\214\001\022\020\n\013EM_FixAngle\020\215\001*o\n\teRol" + "lType\022\026\n\tROLL_NONE\020\377\377\377\377\377\377\377\377\377\001\022\016\n\nROLL_ST" + "ATS\020\000\022\020\n\014ROLL_CREDITS\020\001\022\027\n\023ROLL_LATE_JOI" + "N_LOGO\020\002\022\017\n\013ROLL_OUTTRO\020\003*\352\017\n\020PARTICLE_M" + "ESSAGE\022&\n\"GAME_PARTICLE_MANAGER_EVENT_CR" + "EATE\020\000\022&\n\"GAME_PARTICLE_MANAGER_EVENT_UP" + "DATE\020\001\022.\n*GAME_PARTICLE_MANAGER_EVENT_UP" + "DATE_FORWARD\020\002\0222\n.GAME_PARTICLE_MANAGER_" + "EVENT_UPDATE_ORIENTATION\020\003\022/\n+GAME_PARTI" + "CLE_MANAGER_EVENT_UPDATE_FALLBACK\020\004\022*\n&G" + "AME_PARTICLE_MANAGER_EVENT_UPDATE_ENT\020\005\022" + "-\n)GAME_PARTICLE_MANAGER_EVENT_UPDATE_OF" + "FSET\020\006\022\'\n#GAME_PARTICLE_MANAGER_EVENT_DE" + "STROY\020\007\0221\n-GAME_PARTICLE_MANAGER_EVENT_D" + "ESTROY_INVOLVING\020\010\022\'\n#GAME_PARTICLE_MANA" + "GER_EVENT_RELEASE\020\t\022\'\n#GAME_PARTICLE_MAN" + "AGER_EVENT_LATENCY\020\n\022+\n\'GAME_PARTICLE_MA" + "NAGER_EVENT_SHOULD_DRAW\020\013\022&\n\"GAME_PARTIC" + "LE_MANAGER_EVENT_FROZEN\020\014\022\?\n;GAME_PARTIC" + "LE_MANAGER_EVENT_CHANGE_CONTROL_POINT_AT" + "TACHMENT\020\r\0226\n2GAME_PARTICLE_MANAGER_EVEN" + "T_UPDATE_ENTITY_POSITION\020\016\0222\n.GAME_PARTI" + "CLE_MANAGER_EVENT_SET_FOW_PROPERTIES\020\017\022(" + "\n$GAME_PARTICLE_MANAGER_EVENT_SET_TEXT\020\020" + "\0224\n0GAME_PARTICLE_MANAGER_EVENT_SET_SHOU" + "LD_CHECK_FOW\020\021\0227\n3GAME_PARTICLE_MANAGER_" + "EVENT_SET_CONTROL_POINT_MODEL\020\022\022:\n6GAME_" + "PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT" + "_SNAPSHOT\020\023\0225\n1GAME_PARTICLE_MANAGER_EVE" + "NT_SET_TEXTURE_ATTRIBUTE\020\024\022=\n9GAME_PARTI" + "CLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENER" + "IC_FLAG\020\025\022\?\n;GAME_PARTICLE_MANAGER_EVENT" + "_SET_SCENE_OBJECT_TINT_AND_DESAT\020\026\022-\n)GA" + "ME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED\020" + "\027\022,\n(GAME_PARTICLE_MANAGER_EVENT_SKIP_TO" + "_TIME\020\030\022*\n&GAME_PARTICLE_MANAGER_EVENT_C" + "AN_FREEZE\020\031\0227\n3GAME_PARTICLE_MANAGER_EVE" + "NT_SET_NAMED_VALUE_CONTEXT\020\032\0220\n,GAME_PAR" + "TICLE_MANAGER_EVENT_UPDATE_TRANSFORM\020\033\022:" + "\n6GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRA" + "NSITION_OVERRIDE\020\034\0220\n,GAME_PARTICLE_MANA" + "GER_EVENT_FREEZE_INVOLVING\020\035\022>\n:GAME_PAR" + "TICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRI" + "DE_ELEMENT\020\036\0228\n4GAME_PARTICLE_MANAGER_EV" + "ENT_CLEAR_MODELLIST_OVERRIDE\020\037\0222\n.GAME_P" + "ARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM" + "\020 \0223\n/GAME_PARTICLE_MANAGER_EVENT_DESTRO" + "Y_PHYSICS_SIM\020!\022)\n%GAME_PARTICLE_MANAGER" + "_EVENT_SET_VDATA\020\"\0225\n1GAME_PARTICLE_MANA" + "GER_EVENT_SET_MATERIAL_OVERRIDE\020#\022\'\n#GAM" + "E_PARTICLE_MANAGER_EVENT_ADD_FAN\020$\022*\n&GA" + "ME_PARTICLE_MANAGER_EVENT_UPDATE_FAN\020%\0222" + "\n.GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTE" + "R_GROWTH\020&\022*\n&GAME_PARTICLE_MANAGER_EVEN" + "T_REMOVE_FAN\020\'*t\n\020EHapticPulseType\022\036\n\032VR" + "_HAND_HAPTIC_PULSE_LIGHT\020\000\022\037\n\033VR_HAND_HA" + "PTIC_PULSE_MEDIUM\020\001\022\037\n\033VR_HAND_HAPTIC_PU" + "LSE_STRONG\020\002" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_usermessages_2eproto_deps[1] = { + &::descriptor_table_networkbasetypes_2eproto, +}; +static ::_pbi::once_flag descriptor_table_usermessages_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_usermessages_2eproto = { + false, false, 18572, descriptor_table_protodef_usermessages_2eproto, + "usermessages.proto", + &descriptor_table_usermessages_2eproto_once, descriptor_table_usermessages_2eproto_deps, 1, 107, + schemas, file_default_instances, TableStruct_usermessages_2eproto::offsets, + file_level_metadata_usermessages_2eproto, file_level_enum_descriptors_usermessages_2eproto, + file_level_service_descriptors_usermessages_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_usermessages_2eproto_getter() { + return &descriptor_table_usermessages_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_usermessages_2eproto(&descriptor_table_usermessages_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseUserMessages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); + return file_level_enum_descriptors_usermessages_2eproto[0]; +} +bool EBaseUserMessages_IsValid(int value) { + switch (value) { + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 110: + case 111: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 124: + case 125: + case 128: + case 130: + case 131: + case 132: + case 134: + case 135: + case 142: + case 143: + case 144: + case 145: + case 146: + case 148: + case 149: + case 150: + case 151: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: + case 160: + case 161: + case 162: + case 163: + case 164: + case 165: + case 166: + case 200: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseEntityMessages_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); + return file_level_enum_descriptors_usermessages_2eproto[1]; +} +bool EBaseEntityMessages_IsValid(int value) { + switch (value) { + case 136: + case 137: + case 138: + case 139: + case 140: + case 141: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* eRollType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); + return file_level_enum_descriptors_usermessages_2eproto[2]; +} +bool eRollType_IsValid(int value) { + switch (value) { + case -1: + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PARTICLE_MESSAGE_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); + return file_level_enum_descriptors_usermessages_2eproto[3]; +} +bool PARTICLE_MESSAGE_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + return true; + default: + return false; + } +} + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHapticPulseType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); + return file_level_enum_descriptors_usermessages_2eproto[4]; +} +bool EHapticPulseType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +class CUserMessageAchievementEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_achievement(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageAchievementEvent::CUserMessageAchievementEvent(::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:CUserMessageAchievementEvent) +} +CUserMessageAchievementEvent::CUserMessageAchievementEvent(const CUserMessageAchievementEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageAchievementEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.achievement_ = from._impl_.achievement_; + // @@protoc_insertion_point(copy_constructor:CUserMessageAchievementEvent) +} + +inline void CUserMessageAchievementEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.achievement_){0u} + }; +} + +CUserMessageAchievementEvent::~CUserMessageAchievementEvent() { + // @@protoc_insertion_point(destructor:CUserMessageAchievementEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageAchievementEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageAchievementEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageAchievementEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageAchievementEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.achievement_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageAchievementEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 achievement = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_achievement(&has_bits); + _impl_.achievement_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageAchievementEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAchievementEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 achievement = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_achievement(), 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:CUserMessageAchievementEvent) + return target; +} + +size_t CUserMessageAchievementEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageAchievementEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 achievement = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_achievement()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAchievementEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageAchievementEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAchievementEvent::GetClassData() const { return &_class_data_; } + + +void CUserMessageAchievementEvent::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:CUserMessageAchievementEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_achievement()) { + _this->_internal_set_achievement(from._internal_achievement()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageAchievementEvent::CopyFrom(const CUserMessageAchievementEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAchievementEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageAchievementEvent::IsInitialized() const { + return true; +} + +void CUserMessageAchievementEvent::InternalSwap(CUserMessageAchievementEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.achievement_, other->_impl_.achievement_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAchievementEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[0]); +} + +// =================================================================== + +class CUserMessageCloseCaption::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_player(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageCloseCaption::CUserMessageCloseCaption(::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:CUserMessageCloseCaption) +} +CUserMessageCloseCaption::CUserMessageCloseCaption(const CUserMessageCloseCaption& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCloseCaption* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.from_player_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hash_, &from._impl_.hash_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaption) +} + +inline void CUserMessageCloseCaption::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){0u} + , decltype(_impl_.duration_){0} + , decltype(_impl_.from_player_){false} + , decltype(_impl_.ent_index_){-1} + }; +} + +CUserMessageCloseCaption::~CUserMessageCloseCaption() { + // @@protoc_insertion_point(destructor:CUserMessageCloseCaption) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCloseCaption::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageCloseCaption::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCloseCaption::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaption) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.hash_, 0, static_cast( + reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + _impl_.ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCloseCaption::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_hash(&has_bits); + _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bool from_player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_player(&has_bits); + _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ent_index = 4 [default = -1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCloseCaption::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaption) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_hash(), target); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), 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:CUserMessageCloseCaption) + return target; +} + +size_t CUserMessageCloseCaption::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaption) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed32 hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaption::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCloseCaption::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaption::GetClassData() const { return &_class_data_; } + + +void CUserMessageCloseCaption::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:CUserMessageCloseCaption) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hash_ = from._impl_.hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.from_player_ = from._impl_.from_player_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCloseCaption::CopyFrom(const CUserMessageCloseCaption& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaption) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCloseCaption::IsInitialized() const { + return true; +} + +void CUserMessageCloseCaption::InternalSwap(CUserMessageCloseCaption* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaption, _impl_.from_player_) + + sizeof(CUserMessageCloseCaption::_impl_.from_player_) + - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaption, _impl_.hash_)>( + reinterpret_cast(&_impl_.hash_), + reinterpret_cast(&other->_impl_.hash_)); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaption::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[1]); +} + +// =================================================================== + +class CUserMessageCloseCaptionDirect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_player(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect(::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:CUserMessageCloseCaptionDirect) +} +CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect(const CUserMessageCloseCaptionDirect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCloseCaptionDirect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.from_player_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hash_, &from._impl_.hash_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaptionDirect) +} + +inline void CUserMessageCloseCaptionDirect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hash_){0u} + , decltype(_impl_.duration_){0} + , decltype(_impl_.from_player_){false} + , decltype(_impl_.ent_index_){-1} + }; +} + +CUserMessageCloseCaptionDirect::~CUserMessageCloseCaptionDirect() { + // @@protoc_insertion_point(destructor:CUserMessageCloseCaptionDirect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCloseCaptionDirect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageCloseCaptionDirect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCloseCaptionDirect::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaptionDirect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.hash_, 0, static_cast( + reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); + _impl_.ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCloseCaptionDirect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_hash(&has_bits); + _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bool from_player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_player(&has_bits); + _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ent_index = 4 [default = -1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCloseCaptionDirect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaptionDirect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_hash(), target); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), 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:CUserMessageCloseCaptionDirect) + return target; +} + +size_t CUserMessageCloseCaptionDirect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaptionDirect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed32 hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaptionDirect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCloseCaptionDirect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaptionDirect::GetClassData() const { return &_class_data_; } + + +void CUserMessageCloseCaptionDirect::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:CUserMessageCloseCaptionDirect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hash_ = from._impl_.hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.from_player_ = from._impl_.from_player_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCloseCaptionDirect::CopyFrom(const CUserMessageCloseCaptionDirect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaptionDirect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCloseCaptionDirect::IsInitialized() const { + return true; +} + +void CUserMessageCloseCaptionDirect::InternalSwap(CUserMessageCloseCaptionDirect* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionDirect, _impl_.from_player_) + + sizeof(CUserMessageCloseCaptionDirect::_impl_.from_player_) + - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionDirect, _impl_.hash_)>( + reinterpret_cast(&_impl_.hash_), + reinterpret_cast(&other->_impl_.hash_)); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaptionDirect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[2]); +} + +// =================================================================== + +class CUserMessageCloseCaptionPlaceholder::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_string(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_from_player(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder(::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:CUserMessageCloseCaptionPlaceholder) +} +CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder(const CUserMessageCloseCaptionPlaceholder& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCloseCaptionPlaceholder* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.from_player_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string()) { + _this->_impl_.string_.Set(from._internal_string(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.duration_, &from._impl_.duration_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaptionPlaceholder) +} + +inline void CUserMessageCloseCaptionPlaceholder::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_){} + , decltype(_impl_.duration_){0} + , decltype(_impl_.from_player_){false} + , decltype(_impl_.ent_index_){-1} + }; + _impl_.string_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageCloseCaptionPlaceholder::~CUserMessageCloseCaptionPlaceholder() { + // @@protoc_insertion_point(destructor:CUserMessageCloseCaptionPlaceholder) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCloseCaptionPlaceholder::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.string_.Destroy(); +} + +void CUserMessageCloseCaptionPlaceholder::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCloseCaptionPlaceholder::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaptionPlaceholder) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.string_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.duration_, 0, static_cast( + reinterpret_cast(&_impl_.from_player_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.from_player_)); + _impl_.ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCloseCaptionPlaceholder::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string string = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_string(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageCloseCaptionPlaceholder.string"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional bool from_player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_from_player(&has_bits); + _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 ent_index = 4 [default = -1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCloseCaptionPlaceholder::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaptionPlaceholder) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string string = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_string().data(), static_cast(this->_internal_string().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageCloseCaptionPlaceholder.string"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_string(), target); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), 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:CUserMessageCloseCaptionPlaceholder) + return target; +} + +size_t CUserMessageCloseCaptionPlaceholder::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaptionPlaceholder) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string string = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_string()); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional bool from_player = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 ent_index = 4 [default = -1]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaptionPlaceholder::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCloseCaptionPlaceholder::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaptionPlaceholder::GetClassData() const { return &_class_data_; } + + +void CUserMessageCloseCaptionPlaceholder::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:CUserMessageCloseCaptionPlaceholder) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_string(from._internal_string()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.from_player_ = from._impl_.from_player_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCloseCaptionPlaceholder::CopyFrom(const CUserMessageCloseCaptionPlaceholder& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaptionPlaceholder) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCloseCaptionPlaceholder::IsInitialized() const { + return true; +} + +void CUserMessageCloseCaptionPlaceholder::InternalSwap(CUserMessageCloseCaptionPlaceholder* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_, lhs_arena, + &other->_impl_.string_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionPlaceholder, _impl_.from_player_) + + sizeof(CUserMessageCloseCaptionPlaceholder::_impl_.from_player_) + - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionPlaceholder, _impl_.duration_)>( + reinterpret_cast(&_impl_.duration_), + reinterpret_cast(&other->_impl_.duration_)); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaptionPlaceholder::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[3]); +} + +// =================================================================== + +class CUserMessageCurrentTimescale::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_current(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageCurrentTimescale::CUserMessageCurrentTimescale(::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:CUserMessageCurrentTimescale) +} +CUserMessageCurrentTimescale::CUserMessageCurrentTimescale(const CUserMessageCurrentTimescale& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCurrentTimescale* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.current_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.current_ = from._impl_.current_; + // @@protoc_insertion_point(copy_constructor:CUserMessageCurrentTimescale) +} + +inline void CUserMessageCurrentTimescale::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.current_){0} + }; +} + +CUserMessageCurrentTimescale::~CUserMessageCurrentTimescale() { + // @@protoc_insertion_point(destructor:CUserMessageCurrentTimescale) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCurrentTimescale::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageCurrentTimescale::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCurrentTimescale::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCurrentTimescale) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.current_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCurrentTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float current = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_current(&has_bits); + _impl_.current_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCurrentTimescale::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCurrentTimescale) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float current = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_current(), 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:CUserMessageCurrentTimescale) + return target; +} + +size_t CUserMessageCurrentTimescale::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCurrentTimescale) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float current = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCurrentTimescale::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCurrentTimescale::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCurrentTimescale::GetClassData() const { return &_class_data_; } + + +void CUserMessageCurrentTimescale::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:CUserMessageCurrentTimescale) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_current()) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCurrentTimescale::CopyFrom(const CUserMessageCurrentTimescale& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCurrentTimescale) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCurrentTimescale::IsInitialized() const { + return true; +} + +void CUserMessageCurrentTimescale::InternalSwap(CUserMessageCurrentTimescale* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.current_, other->_impl_.current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCurrentTimescale::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[4]); +} + +// =================================================================== + +class CUserMessageDesiredTimescale::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_desired(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_acceleration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_minblendrate(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_blenddeltamultiplier(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageDesiredTimescale::CUserMessageDesiredTimescale(::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:CUserMessageDesiredTimescale) +} +CUserMessageDesiredTimescale::CUserMessageDesiredTimescale(const CUserMessageDesiredTimescale& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageDesiredTimescale* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.desired_){} + , decltype(_impl_.acceleration_){} + , decltype(_impl_.minblendrate_){} + , decltype(_impl_.blenddeltamultiplier_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.desired_, &from._impl_.desired_, + static_cast(reinterpret_cast(&_impl_.blenddeltamultiplier_) - + reinterpret_cast(&_impl_.desired_)) + sizeof(_impl_.blenddeltamultiplier_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageDesiredTimescale) +} + +inline void CUserMessageDesiredTimescale::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.desired_){0} + , decltype(_impl_.acceleration_){0} + , decltype(_impl_.minblendrate_){0} + , decltype(_impl_.blenddeltamultiplier_){0} + }; +} + +CUserMessageDesiredTimescale::~CUserMessageDesiredTimescale() { + // @@protoc_insertion_point(destructor:CUserMessageDesiredTimescale) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageDesiredTimescale::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageDesiredTimescale::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageDesiredTimescale::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageDesiredTimescale) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.desired_, 0, static_cast( + reinterpret_cast(&_impl_.blenddeltamultiplier_) - + reinterpret_cast(&_impl_.desired_)) + sizeof(_impl_.blenddeltamultiplier_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageDesiredTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float desired = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_desired(&has_bits); + _impl_.desired_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float acceleration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_acceleration(&has_bits); + _impl_.acceleration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float minblendrate = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_minblendrate(&has_bits); + _impl_.minblendrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float blenddeltamultiplier = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_blenddeltamultiplier(&has_bits); + _impl_.blenddeltamultiplier_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageDesiredTimescale::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageDesiredTimescale) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float desired = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_desired(), target); + } + + // optional float acceleration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_acceleration(), target); + } + + // optional float minblendrate = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_minblendrate(), target); + } + + // optional float blenddeltamultiplier = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_blenddeltamultiplier(), 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:CUserMessageDesiredTimescale) + return target; +} + +size_t CUserMessageDesiredTimescale::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageDesiredTimescale) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional float desired = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float acceleration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float minblendrate = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float blenddeltamultiplier = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageDesiredTimescale::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageDesiredTimescale::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageDesiredTimescale::GetClassData() const { return &_class_data_; } + + +void CUserMessageDesiredTimescale::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:CUserMessageDesiredTimescale) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.desired_ = from._impl_.desired_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.acceleration_ = from._impl_.acceleration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.minblendrate_ = from._impl_.minblendrate_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.blenddeltamultiplier_ = from._impl_.blenddeltamultiplier_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageDesiredTimescale::CopyFrom(const CUserMessageDesiredTimescale& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageDesiredTimescale) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageDesiredTimescale::IsInitialized() const { + return true; +} + +void CUserMessageDesiredTimescale::InternalSwap(CUserMessageDesiredTimescale* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageDesiredTimescale, _impl_.blenddeltamultiplier_) + + sizeof(CUserMessageDesiredTimescale::_impl_.blenddeltamultiplier_) + - PROTOBUF_FIELD_OFFSET(CUserMessageDesiredTimescale, _impl_.desired_)>( + reinterpret_cast(&_impl_.desired_), + reinterpret_cast(&other->_impl_.desired_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageDesiredTimescale::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[5]); +} + +// =================================================================== + +class CUserMessageFade::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_hold_time(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageFade::CUserMessageFade(::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:CUserMessageFade) +} +CUserMessageFade::CUserMessageFade(const CUserMessageFade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageFade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.duration_){} + , decltype(_impl_.hold_time_){} + , decltype(_impl_.flags_){} + , decltype(_impl_.color_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.duration_, &from._impl_.duration_, + static_cast(reinterpret_cast(&_impl_.color_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.color_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageFade) +} + +inline void CUserMessageFade::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.duration_){0u} + , decltype(_impl_.hold_time_){0u} + , decltype(_impl_.flags_){0u} + , decltype(_impl_.color_){0u} + }; +} + +CUserMessageFade::~CUserMessageFade() { + // @@protoc_insertion_point(destructor:CUserMessageFade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageFade::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageFade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageFade::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageFade) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.duration_, 0, static_cast( + reinterpret_cast(&_impl_.color_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.color_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageFade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 duration = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 hold_time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_hold_time(&has_bits); + _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageFade::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageFade) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); + } + + // optional uint32 hold_time = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_hold_time(), target); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); + } + + // optional fixed32 color = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color(), 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:CUserMessageFade) + return target; +} + +size_t CUserMessageFade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageFade) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 duration = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); + } + + // optional uint32 hold_time = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hold_time()); + } + + // optional uint32 flags = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); + } + + // optional fixed32 color = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageFade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageFade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageFade::GetClassData() const { return &_class_data_; } + + +void CUserMessageFade::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:CUserMessageFade) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.hold_time_ = from._impl_.hold_time_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.color_ = from._impl_.color_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageFade::CopyFrom(const CUserMessageFade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageFade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageFade::IsInitialized() const { + return true; +} + +void CUserMessageFade::InternalSwap(CUserMessageFade* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageFade, _impl_.color_) + + sizeof(CUserMessageFade::_impl_.color_) + - PROTOBUF_FIELD_OFFSET(CUserMessageFade, _impl_.duration_)>( + reinterpret_cast(&_impl_.duration_), + reinterpret_cast(&other->_impl_.duration_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageFade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[6]); +} + +// =================================================================== + +class CUserMessageShake::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_amplitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frequency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageShake::CUserMessageShake(::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:CUserMessageShake) +} +CUserMessageShake::CUserMessageShake(const CUserMessageShake& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageShake* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + , decltype(_impl_.amplitude_){} + , decltype(_impl_.frequency_){} + , decltype(_impl_.duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.command_, &from._impl_.command_, + static_cast(reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageShake) +} + +inline void CUserMessageShake::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){0u} + , decltype(_impl_.amplitude_){0} + , decltype(_impl_.frequency_){0} + , decltype(_impl_.duration_){0} + }; +} + +CUserMessageShake::~CUserMessageShake() { + // @@protoc_insertion_point(destructor:CUserMessageShake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageShake::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageShake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageShake::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageShake) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.command_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageShake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_command(&has_bits); + _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float amplitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_amplitude(&has_bits); + _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frequency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frequency(&has_bits); + _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float duration = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageShake::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShake) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 command = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); + } + + // optional float amplitude = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_amplitude(), target); + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), 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:CUserMessageShake) + return target; +} + +size_t CUserMessageShake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageShake) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 command = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); + } + + // optional float amplitude = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageShake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShake::GetClassData() const { return &_class_data_; } + + +void CUserMessageShake::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:CUserMessageShake) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.command_ = from._impl_.command_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.amplitude_ = from._impl_.amplitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frequency_ = from._impl_.frequency_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageShake::CopyFrom(const CUserMessageShake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageShake::IsInitialized() const { + return true; +} + +void CUserMessageShake::InternalSwap(CUserMessageShake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageShake, _impl_.duration_) + + sizeof(CUserMessageShake::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CUserMessageShake, _impl_.command_)>( + reinterpret_cast(&_impl_.command_), + reinterpret_cast(&other->_impl_.command_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[7]); +} + +// =================================================================== + +class CUserMessageShakeDir::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CUserMessageShake& shake(const CUserMessageShakeDir* msg); + static void set_has_shake(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& direction(const CUserMessageShakeDir* msg); + static void set_has_direction(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CUserMessageShake& +CUserMessageShakeDir::_Internal::shake(const CUserMessageShakeDir* msg) { + return *msg->_impl_.shake_; +} +const ::CMsgVector& +CUserMessageShakeDir::_Internal::direction(const CUserMessageShakeDir* msg) { + return *msg->_impl_.direction_; +} +void CUserMessageShakeDir::clear_direction() { + if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMessageShakeDir::CUserMessageShakeDir(::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:CUserMessageShakeDir) +} +CUserMessageShakeDir::CUserMessageShakeDir(const CUserMessageShakeDir& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageShakeDir* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.shake_){nullptr} + , decltype(_impl_.direction_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_shake()) { + _this->_impl_.shake_ = new ::CUserMessageShake(*from._impl_.shake_); + } + if (from._internal_has_direction()) { + _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); + } + // @@protoc_insertion_point(copy_constructor:CUserMessageShakeDir) +} + +inline void CUserMessageShakeDir::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.shake_){nullptr} + , decltype(_impl_.direction_){nullptr} + }; +} + +CUserMessageShakeDir::~CUserMessageShakeDir() { + // @@protoc_insertion_point(destructor:CUserMessageShakeDir) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageShakeDir::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.shake_; + if (this != internal_default_instance()) delete _impl_.direction_; +} + +void CUserMessageShakeDir::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageShakeDir::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageShakeDir) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.shake_ != nullptr); + _impl_.shake_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.direction_ != nullptr); + _impl_.direction_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageShakeDir::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CUserMessageShake shake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_shake(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector direction = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_direction(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageShakeDir::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShakeDir) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CUserMessageShake shake = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::shake(this), + _Internal::shake(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector direction = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::direction(this), + _Internal::direction(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:CUserMessageShakeDir) + return target; +} + +size_t CUserMessageShakeDir::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageShakeDir) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CUserMessageShake shake = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shake_); + } + + // optional .CMsgVector direction = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.direction_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShakeDir::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageShakeDir::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShakeDir::GetClassData() const { return &_class_data_; } + + +void CUserMessageShakeDir::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:CUserMessageShakeDir) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_shake()->::CUserMessageShake::MergeFrom( + from._internal_shake()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( + from._internal_direction()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageShakeDir::CopyFrom(const CUserMessageShakeDir& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShakeDir) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageShakeDir::IsInitialized() const { + return true; +} + +void CUserMessageShakeDir::InternalSwap(CUserMessageShakeDir* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageShakeDir, _impl_.direction_) + + sizeof(CUserMessageShakeDir::_impl_.direction_) + - PROTOBUF_FIELD_OFFSET(CUserMessageShakeDir, _impl_.shake_)>( + reinterpret_cast(&_impl_.shake_), + reinterpret_cast(&other->_impl_.shake_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShakeDir::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[8]); +} + +// =================================================================== + +class CUserMessageWaterShake::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_amplitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_frequency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageWaterShake::CUserMessageWaterShake(::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:CUserMessageWaterShake) +} +CUserMessageWaterShake::CUserMessageWaterShake(const CUserMessageWaterShake& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageWaterShake* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){} + , decltype(_impl_.amplitude_){} + , decltype(_impl_.frequency_){} + , decltype(_impl_.duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.command_, &from._impl_.command_, + static_cast(reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageWaterShake) +} + +inline void CUserMessageWaterShake::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.command_){0u} + , decltype(_impl_.amplitude_){0} + , decltype(_impl_.frequency_){0} + , decltype(_impl_.duration_){0} + }; +} + +CUserMessageWaterShake::~CUserMessageWaterShake() { + // @@protoc_insertion_point(destructor:CUserMessageWaterShake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageWaterShake::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageWaterShake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageWaterShake::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageWaterShake) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.command_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageWaterShake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_command(&has_bits); + _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float amplitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_amplitude(&has_bits); + _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float frequency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_frequency(&has_bits); + _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float duration = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageWaterShake::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageWaterShake) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 command = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); + } + + // optional float amplitude = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_amplitude(), target); + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), 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:CUserMessageWaterShake) + return target; +} + +size_t CUserMessageWaterShake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageWaterShake) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 command = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); + } + + // optional float amplitude = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float frequency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageWaterShake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageWaterShake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageWaterShake::GetClassData() const { return &_class_data_; } + + +void CUserMessageWaterShake::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:CUserMessageWaterShake) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.command_ = from._impl_.command_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.amplitude_ = from._impl_.amplitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.frequency_ = from._impl_.frequency_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageWaterShake::CopyFrom(const CUserMessageWaterShake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageWaterShake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageWaterShake::IsInitialized() const { + return true; +} + +void CUserMessageWaterShake::InternalSwap(CUserMessageWaterShake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageWaterShake, _impl_.duration_) + + sizeof(CUserMessageWaterShake::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CUserMessageWaterShake, _impl_.command_)>( + reinterpret_cast(&_impl_.command_), + reinterpret_cast(&other->_impl_.command_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageWaterShake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[9]); +} + +// =================================================================== + +class CUserMessageScreenTilt::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_command(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_ease_in_out(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& angle(const CUserMessageScreenTilt* msg); + static void set_has_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgVector& +CUserMessageScreenTilt::_Internal::angle(const CUserMessageScreenTilt* msg) { + return *msg->_impl_.angle_; +} +void CUserMessageScreenTilt::clear_angle() { + if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMessageScreenTilt::CUserMessageScreenTilt(::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:CUserMessageScreenTilt) +} +CUserMessageScreenTilt::CUserMessageScreenTilt(const CUserMessageScreenTilt& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageScreenTilt* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.command_){} + , decltype(_impl_.ease_in_out_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_angle()) { + _this->_impl_.angle_ = new ::CMsgVector(*from._impl_.angle_); + } + ::memcpy(&_impl_.command_, &from._impl_.command_, + static_cast(reinterpret_cast(&_impl_.time_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.time_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageScreenTilt) +} + +inline void CUserMessageScreenTilt::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.command_){0u} + , decltype(_impl_.ease_in_out_){false} + , decltype(_impl_.duration_){0} + , decltype(_impl_.time_){0} + }; +} + +CUserMessageScreenTilt::~CUserMessageScreenTilt() { + // @@protoc_insertion_point(destructor:CUserMessageScreenTilt) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageScreenTilt::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.angle_; +} + +void CUserMessageScreenTilt::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageScreenTilt::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageScreenTilt) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.angle_ != nullptr); + _impl_.angle_->Clear(); + } + if (cached_has_bits & 0x0000001eu) { + ::memset(&_impl_.command_, 0, static_cast( + reinterpret_cast(&_impl_.time_) - + reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.time_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageScreenTilt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 command = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_command(&has_bits); + _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool ease_in_out = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ease_in_out(&has_bits); + _impl_.ease_in_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector angle = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float duration = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float time = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_time(&has_bits); + _impl_.time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageScreenTilt::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageScreenTilt) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 command = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); + } + + // optional bool ease_in_out = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_ease_in_out(), target); + } + + // optional .CMsgVector angle = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::angle(this), + _Internal::angle(this).GetCachedSize(), target, stream); + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), target); + } + + // optional float time = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_time(), 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:CUserMessageScreenTilt) + return target; +} + +size_t CUserMessageScreenTilt::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageScreenTilt) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector angle = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angle_); + } + + // optional uint32 command = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); + } + + // optional bool ease_in_out = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional float duration = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional float time = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageScreenTilt::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageScreenTilt::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageScreenTilt::GetClassData() const { return &_class_data_; } + + +void CUserMessageScreenTilt::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:CUserMessageScreenTilt) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_angle()->::CMsgVector::MergeFrom( + from._internal_angle()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.command_ = from._impl_.command_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.ease_in_out_ = from._impl_.ease_in_out_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.time_ = from._impl_.time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageScreenTilt::CopyFrom(const CUserMessageScreenTilt& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageScreenTilt) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageScreenTilt::IsInitialized() const { + return true; +} + +void CUserMessageScreenTilt::InternalSwap(CUserMessageScreenTilt* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageScreenTilt, _impl_.time_) + + sizeof(CUserMessageScreenTilt::_impl_.time_) + - PROTOBUF_FIELD_OFFSET(CUserMessageScreenTilt, _impl_.angle_)>( + reinterpret_cast(&_impl_.angle_), + reinterpret_cast(&other->_impl_.angle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageScreenTilt::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[10]); +} + +// =================================================================== + +class CUserMessageSayText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_playerindex(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_chat(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMessageSayText::CUserMessageSayText(::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:CUserMessageSayText) +} +CUserMessageSayText::CUserMessageSayText(const CUserMessageSayText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageSayText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.chat_){} + , decltype(_impl_.playerindex_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.chat_, &from._impl_.chat_, + static_cast(reinterpret_cast(&_impl_.playerindex_) - + reinterpret_cast(&_impl_.chat_)) + sizeof(_impl_.playerindex_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageSayText) +} + +inline void CUserMessageSayText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.chat_){false} + , decltype(_impl_.playerindex_){-1} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageSayText::~CUserMessageSayText() { + // @@protoc_insertion_point(destructor:CUserMessageSayText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageSayText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CUserMessageSayText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageSayText::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageSayText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + _impl_.chat_ = false; + _impl_.playerindex_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageSayText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 playerindex = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_playerindex(&has_bits); + _impl_.playerindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText.text"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool chat = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_chat(&has_bits); + _impl_.chat_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageSayText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 playerindex = 1 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_playerindex(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText.text"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_text(), target); + } + + // optional bool chat = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_chat(), 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:CUserMessageSayText) + return target; +} + +size_t CUserMessageSayText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional bool chat = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional int32 playerindex = 1 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageSayText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayText::GetClassData() const { return &_class_data_; } + + +void CUserMessageSayText::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:CUserMessageSayText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.chat_ = from._impl_.chat_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.playerindex_ = from._impl_.playerindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageSayText::CopyFrom(const CUserMessageSayText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageSayText::IsInitialized() const { + return true; +} + +void CUserMessageSayText::InternalSwap(CUserMessageSayText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + swap(_impl_.chat_, other->_impl_.chat_); + swap(_impl_.playerindex_, other->_impl_.playerindex_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[11]); +} + +// =================================================================== + +class CUserMessageSayText2::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entityindex(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_chat(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_messagename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_param1(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_param2(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_param3(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_param4(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CUserMessageSayText2::CUserMessageSayText2(::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:CUserMessageSayText2) +} +CUserMessageSayText2::CUserMessageSayText2(const CUserMessageSayText2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageSayText2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.messagename_){} + , decltype(_impl_.param1_){} + , decltype(_impl_.param2_){} + , decltype(_impl_.param3_){} + , decltype(_impl_.param4_){} + , decltype(_impl_.chat_){} + , decltype(_impl_.entityindex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.messagename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.messagename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_messagename()) { + _this->_impl_.messagename_.Set(from._internal_messagename(), + _this->GetArenaForAllocation()); + } + _impl_.param1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_param1()) { + _this->_impl_.param1_.Set(from._internal_param1(), + _this->GetArenaForAllocation()); + } + _impl_.param2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_param2()) { + _this->_impl_.param2_.Set(from._internal_param2(), + _this->GetArenaForAllocation()); + } + _impl_.param3_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param3_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_param3()) { + _this->_impl_.param3_.Set(from._internal_param3(), + _this->GetArenaForAllocation()); + } + _impl_.param4_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param4_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_param4()) { + _this->_impl_.param4_.Set(from._internal_param4(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.chat_, &from._impl_.chat_, + static_cast(reinterpret_cast(&_impl_.entityindex_) - + reinterpret_cast(&_impl_.chat_)) + sizeof(_impl_.entityindex_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageSayText2) +} + +inline void CUserMessageSayText2::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.messagename_){} + , decltype(_impl_.param1_){} + , decltype(_impl_.param2_){} + , decltype(_impl_.param3_){} + , decltype(_impl_.param4_){} + , decltype(_impl_.chat_){false} + , decltype(_impl_.entityindex_){-1} + }; + _impl_.messagename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.messagename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param1_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param1_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param2_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param2_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param3_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param3_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param4_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.param4_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageSayText2::~CUserMessageSayText2() { + // @@protoc_insertion_point(destructor:CUserMessageSayText2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageSayText2::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.messagename_.Destroy(); + _impl_.param1_.Destroy(); + _impl_.param2_.Destroy(); + _impl_.param3_.Destroy(); + _impl_.param4_.Destroy(); +} + +void CUserMessageSayText2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageSayText2::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageSayText2) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.messagename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.param1_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.param2_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.param3_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000010u) { + _impl_.param4_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000060u) { + _impl_.chat_ = false; + _impl_.entityindex_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageSayText2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entityindex = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entityindex(&has_bits); + _impl_.entityindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool chat = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_chat(&has_bits); + _impl_.chat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string messagename = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_messagename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.messagename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string param1 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_param1(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param1"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string param2 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_param2(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param2"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string param3 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_param3(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param3"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string param4 = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_param4(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param4"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageSayText2::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayText2) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entityindex = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entityindex(), target); + } + + // optional bool chat = 2; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_chat(), target); + } + + // optional string messagename = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_messagename().data(), static_cast(this->_internal_messagename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText2.messagename"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_messagename(), target); + } + + // optional string param1 = 4; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_param1().data(), static_cast(this->_internal_param1().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText2.param1"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_param1(), target); + } + + // optional string param2 = 5; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_param2().data(), static_cast(this->_internal_param2().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText2.param2"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_param2(), target); + } + + // optional string param3 = 6; + if (cached_has_bits & 0x00000008u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_param3().data(), static_cast(this->_internal_param3().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText2.param3"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_param3(), target); + } + + // optional string param4 = 7; + if (cached_has_bits & 0x00000010u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_param4().data(), static_cast(this->_internal_param4().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayText2.param4"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_param4(), 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:CUserMessageSayText2) + return target; +} + +size_t CUserMessageSayText2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayText2) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string messagename = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_messagename()); + } + + // optional string param1 = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_param1()); + } + + // optional string param2 = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_param2()); + } + + // optional string param3 = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_param3()); + } + + // optional string param4 = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_param4()); + } + + // optional bool chat = 2; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional int32 entityindex = 1 [default = -1]; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entityindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayText2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageSayText2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayText2::GetClassData() const { return &_class_data_; } + + +void CUserMessageSayText2::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:CUserMessageSayText2) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_messagename(from._internal_messagename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_param1(from._internal_param1()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_param2(from._internal_param2()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_param3(from._internal_param3()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_set_param4(from._internal_param4()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.chat_ = from._impl_.chat_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.entityindex_ = from._impl_.entityindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageSayText2::CopyFrom(const CUserMessageSayText2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayText2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageSayText2::IsInitialized() const { + return true; +} + +void CUserMessageSayText2::InternalSwap(CUserMessageSayText2* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.messagename_, lhs_arena, + &other->_impl_.messagename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.param1_, lhs_arena, + &other->_impl_.param1_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.param2_, lhs_arena, + &other->_impl_.param2_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.param3_, lhs_arena, + &other->_impl_.param3_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.param4_, lhs_arena, + &other->_impl_.param4_, rhs_arena + ); + swap(_impl_.chat_, other->_impl_.chat_); + swap(_impl_.entityindex_, other->_impl_.entityindex_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayText2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[12]); +} + +// =================================================================== + +class CUserMessageHudMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_channel(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_x(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_y(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_color1(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_color2(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_effect(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageHudMsg::CUserMessageHudMsg(::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:CUserMessageHudMsg) +} +CUserMessageHudMsg::CUserMessageHudMsg(const CUserMessageHudMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageHudMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.channel_){} + , decltype(_impl_.x_){} + , decltype(_impl_.y_){} + , decltype(_impl_.color1_){} + , decltype(_impl_.color2_){} + , decltype(_impl_.effect_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.channel_, &from._impl_.channel_, + static_cast(reinterpret_cast(&_impl_.effect_) - + reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.effect_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageHudMsg) +} + +inline void CUserMessageHudMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + , decltype(_impl_.channel_){0u} + , decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + , decltype(_impl_.color1_){0u} + , decltype(_impl_.color2_){0u} + , decltype(_impl_.effect_){0u} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageHudMsg::~CUserMessageHudMsg() { + // @@protoc_insertion_point(destructor:CUserMessageHudMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageHudMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void CUserMessageHudMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageHudMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageHudMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000007eu) { + ::memset(&_impl_.channel_, 0, static_cast( + reinterpret_cast(&_impl_.effect_) - + reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.effect_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageHudMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 channel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_channel(&has_bits); + _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float x = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_x(&has_bits); + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float y = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_y(&has_bits); + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed32 color1 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_color1(&has_bits); + _impl_.color1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional fixed32 color2 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_color2(&has_bits); + _impl_.color2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 effect = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_effect(&has_bits); + _impl_.effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string message = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageHudMsg.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageHudMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHudMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 channel = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_channel(), target); + } + + // optional float x = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_x(), target); + } + + // optional float y = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_y(), target); + } + + // optional fixed32 color1 = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color1(), target); + } + + // optional fixed32 color2 = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_color2(), target); + } + + // optional uint32 effect = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_effect(), target); + } + + // optional string message = 11; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageHudMsg.message"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_message(), 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:CUserMessageHudMsg) + return target; +} + +size_t CUserMessageHudMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageHudMsg) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional string message = 11; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + // optional uint32 channel = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_channel()); + } + + // optional float x = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float y = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional fixed32 color1 = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + 4; + } + + // optional fixed32 color2 = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional uint32 effect = 6; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effect()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHudMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageHudMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHudMsg::GetClassData() const { return &_class_data_; } + + +void CUserMessageHudMsg::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:CUserMessageHudMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_message(from._internal_message()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.channel_ = from._impl_.channel_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.x_ = from._impl_.x_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.y_ = from._impl_.y_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.color1_ = from._impl_.color1_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.color2_ = from._impl_.color2_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.effect_ = from._impl_.effect_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageHudMsg::CopyFrom(const CUserMessageHudMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHudMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageHudMsg::IsInitialized() const { + return true; +} + +void CUserMessageHudMsg::InternalSwap(CUserMessageHudMsg* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageHudMsg, _impl_.effect_) + + sizeof(CUserMessageHudMsg::_impl_.effect_) + - PROTOBUF_FIELD_OFFSET(CUserMessageHudMsg, _impl_.channel_)>( + reinterpret_cast(&_impl_.channel_), + reinterpret_cast(&other->_impl_.channel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHudMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[13]); +} + +// =================================================================== + +class CUserMessageHudText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_message(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageHudText::CUserMessageHudText(::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:CUserMessageHudText) +} +CUserMessageHudText::CUserMessageHudText(const CUserMessageHudText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageHudText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_message()) { + _this->_impl_.message_.Set(from._internal_message(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMessageHudText) +} + +inline void CUserMessageHudText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.message_){} + }; + _impl_.message_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.message_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageHudText::~CUserMessageHudText() { + // @@protoc_insertion_point(destructor:CUserMessageHudText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageHudText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.message_.Destroy(); +} + +void CUserMessageHudText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageHudText::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageHudText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageHudText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string message = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_message(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageHudText.message"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageHudText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHudText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string message = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_message().data(), static_cast(this->_internal_message().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageHudText.message"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_message(), 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:CUserMessageHudText) + return target; +} + +size_t CUserMessageHudText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageHudText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string message = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_message()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHudText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageHudText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHudText::GetClassData() const { return &_class_data_; } + + +void CUserMessageHudText::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:CUserMessageHudText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_message()) { + _this->_internal_set_message(from._internal_message()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageHudText::CopyFrom(const CUserMessageHudText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHudText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageHudText::IsInitialized() const { + return true; +} + +void CUserMessageHudText::InternalSwap(CUserMessageHudText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.message_, lhs_arena, + &other->_impl_.message_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHudText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[14]); +} + +// =================================================================== + +class CUserMessageTextMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dest(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageTextMsg::CUserMessageTextMsg(::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:CUserMessageTextMsg) +} +CUserMessageTextMsg::CUserMessageTextMsg(const CUserMessageTextMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageTextMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.param_){from._impl_.param_} + , decltype(_impl_.dest_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.dest_ = from._impl_.dest_; + // @@protoc_insertion_point(copy_constructor:CUserMessageTextMsg) +} + +inline void CUserMessageTextMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.param_){arena} + , decltype(_impl_.dest_){0u} + }; +} + +CUserMessageTextMsg::~CUserMessageTextMsg() { + // @@protoc_insertion_point(destructor:CUserMessageTextMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageTextMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.param_.~RepeatedPtrField(); +} + +void CUserMessageTextMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageTextMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageTextMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.param_.Clear(); + _impl_.dest_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 dest = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_dest(&has_bits); + _impl_.dest_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string param = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_param(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageTextMsg.param"); + #endif // !NDEBUG + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageTextMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageTextMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 dest = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dest(), target); + } + + // repeated string param = 2; + for (int i = 0, n = this->_internal_param_size(); i < n; i++) { + const auto& s = this->_internal_param(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageTextMsg.param"); + target = stream->WriteString(2, 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:CUserMessageTextMsg) + return target; +} + +size_t CUserMessageTextMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageTextMsg) + 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 param = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.param_.size()); + for (int i = 0, n = _impl_.param_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.param_.Get(i)); + } + + // optional uint32 dest = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dest()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageTextMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageTextMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageTextMsg::GetClassData() const { return &_class_data_; } + + +void CUserMessageTextMsg::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:CUserMessageTextMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.param_.MergeFrom(from._impl_.param_); + if (from._internal_has_dest()) { + _this->_internal_set_dest(from._internal_dest()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageTextMsg::CopyFrom(const CUserMessageTextMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageTextMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageTextMsg::IsInitialized() const { + return true; +} + +void CUserMessageTextMsg::InternalSwap(CUserMessageTextMsg* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.param_.InternalSwap(&other->_impl_.param_); + swap(_impl_.dest_, other->_impl_.dest_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageTextMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[15]); +} + +// =================================================================== + +class CUserMessageGameTitle::_Internal { + public: +}; + +CUserMessageGameTitle::CUserMessageGameTitle(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMessageGameTitle) +} +CUserMessageGameTitle::CUserMessageGameTitle(const CUserMessageGameTitle& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMessageGameTitle* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMessageGameTitle) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageGameTitle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageGameTitle::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageGameTitle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[16]); +} + +// =================================================================== + +class CUserMessageResetHUD::_Internal { + public: +}; + +CUserMessageResetHUD::CUserMessageResetHUD(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMessageResetHUD) +} +CUserMessageResetHUD::CUserMessageResetHUD(const CUserMessageResetHUD& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMessageResetHUD* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMessageResetHUD) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageResetHUD::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageResetHUD::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageResetHUD::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[17]); +} + +// =================================================================== + +class CUserMessageSendAudio::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_soundname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_stop(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMessageSendAudio::CUserMessageSendAudio(::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:CUserMessageSendAudio) +} +CUserMessageSendAudio::CUserMessageSendAudio(const CUserMessageSendAudio& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageSendAudio* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundname_){} + , decltype(_impl_.stop_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.soundname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.soundname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_soundname()) { + _this->_impl_.soundname_.Set(from._internal_soundname(), + _this->GetArenaForAllocation()); + } + _this->_impl_.stop_ = from._impl_.stop_; + // @@protoc_insertion_point(copy_constructor:CUserMessageSendAudio) +} + +inline void CUserMessageSendAudio::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.soundname_){} + , decltype(_impl_.stop_){false} + }; + _impl_.soundname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.soundname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageSendAudio::~CUserMessageSendAudio() { + // @@protoc_insertion_point(destructor:CUserMessageSendAudio) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageSendAudio::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.soundname_.Destroy(); +} + +void CUserMessageSendAudio::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageSendAudio::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageSendAudio) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.soundname_.ClearNonDefaultToEmpty(); + } + _impl_.stop_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageSendAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string soundname = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_soundname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSendAudio.soundname"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool stop = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_stop(&has_bits); + _impl_.stop_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageSendAudio::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSendAudio) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string soundname = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_soundname().data(), static_cast(this->_internal_soundname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSendAudio.soundname"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_soundname(), target); + } + + // optional bool stop = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_stop(), 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:CUserMessageSendAudio) + return target; +} + +size_t CUserMessageSendAudio::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageSendAudio) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string soundname = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_soundname()); + } + + // optional bool stop = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSendAudio::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageSendAudio::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSendAudio::GetClassData() const { return &_class_data_; } + + +void CUserMessageSendAudio::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:CUserMessageSendAudio) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_soundname(from._internal_soundname()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.stop_ = from._impl_.stop_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageSendAudio::CopyFrom(const CUserMessageSendAudio& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSendAudio) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageSendAudio::IsInitialized() const { + return true; +} + +void CUserMessageSendAudio::InternalSwap(CUserMessageSendAudio* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.soundname_, lhs_arena, + &other->_impl_.soundname_, rhs_arena + ); + swap(_impl_.stop_, other->_impl_.stop_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSendAudio::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[18]); +} + +// =================================================================== + +class CUserMessageAudioParameter::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_parameter_type(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_name_hash_code(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_int_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageAudioParameter::CUserMessageAudioParameter(::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:CUserMessageAudioParameter) +} +CUserMessageAudioParameter::CUserMessageAudioParameter(const CUserMessageAudioParameter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageAudioParameter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.parameter_type_){} + , decltype(_impl_.name_hash_code_){} + , decltype(_impl_.value_){} + , decltype(_impl_.int_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.parameter_type_, &from._impl_.parameter_type_, + static_cast(reinterpret_cast(&_impl_.int_value_) - + reinterpret_cast(&_impl_.parameter_type_)) + sizeof(_impl_.int_value_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageAudioParameter) +} + +inline void CUserMessageAudioParameter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.parameter_type_){0u} + , decltype(_impl_.name_hash_code_){0u} + , decltype(_impl_.value_){0} + , decltype(_impl_.int_value_){0u} + }; +} + +CUserMessageAudioParameter::~CUserMessageAudioParameter() { + // @@protoc_insertion_point(destructor:CUserMessageAudioParameter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageAudioParameter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageAudioParameter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageAudioParameter::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageAudioParameter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.parameter_type_, 0, static_cast( + reinterpret_cast(&_impl_.int_value_) - + reinterpret_cast(&_impl_.parameter_type_)) + sizeof(_impl_.int_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageAudioParameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 parameter_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_parameter_type(&has_bits); + _impl_.parameter_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 name_hash_code = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_name_hash_code(&has_bits); + _impl_.name_hash_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 int_value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_int_value(&has_bits); + _impl_.int_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageAudioParameter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAudioParameter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 parameter_type = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_parameter_type(), target); + } + + // optional uint32 name_hash_code = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_name_hash_code(), target); + } + + // optional float value = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_value(), target); + } + + // optional uint32 int_value = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_int_value(), 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:CUserMessageAudioParameter) + return target; +} + +size_t CUserMessageAudioParameter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageAudioParameter) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional uint32 parameter_type = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_parameter_type()); + } + + // optional uint32 name_hash_code = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_name_hash_code()); + } + + // optional float value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional uint32 int_value = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_int_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAudioParameter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageAudioParameter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAudioParameter::GetClassData() const { return &_class_data_; } + + +void CUserMessageAudioParameter::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:CUserMessageAudioParameter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.parameter_type_ = from._impl_.parameter_type_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.name_hash_code_ = from._impl_.name_hash_code_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.value_ = from._impl_.value_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.int_value_ = from._impl_.int_value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageAudioParameter::CopyFrom(const CUserMessageAudioParameter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAudioParameter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageAudioParameter::IsInitialized() const { + return true; +} + +void CUserMessageAudioParameter::InternalSwap(CUserMessageAudioParameter* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageAudioParameter, _impl_.int_value_) + + sizeof(CUserMessageAudioParameter::_impl_.int_value_) + - PROTOBUF_FIELD_OFFSET(CUserMessageAudioParameter, _impl_.parameter_type_)>( + reinterpret_cast(&_impl_.parameter_type_), + reinterpret_cast(&other->_impl_.parameter_type_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAudioParameter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[19]); +} + +// =================================================================== + +class CUserMessageVoiceMask::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_mod_enable(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageVoiceMask::CUserMessageVoiceMask(::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:CUserMessageVoiceMask) +} +CUserMessageVoiceMask::CUserMessageVoiceMask(const CUserMessageVoiceMask& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageVoiceMask* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gamerules_masks_){from._impl_.gamerules_masks_} + , decltype(_impl_.ban_masks_){from._impl_.ban_masks_} + , decltype(_impl_.mod_enable_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.mod_enable_ = from._impl_.mod_enable_; + // @@protoc_insertion_point(copy_constructor:CUserMessageVoiceMask) +} + +inline void CUserMessageVoiceMask::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.gamerules_masks_){arena} + , decltype(_impl_.ban_masks_){arena} + , decltype(_impl_.mod_enable_){false} + }; +} + +CUserMessageVoiceMask::~CUserMessageVoiceMask() { + // @@protoc_insertion_point(destructor:CUserMessageVoiceMask) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageVoiceMask::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.gamerules_masks_.~RepeatedField(); + _impl_.ban_masks_.~RepeatedField(); +} + +void CUserMessageVoiceMask::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageVoiceMask::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageVoiceMask) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.gamerules_masks_.Clear(); + _impl_.ban_masks_.Clear(); + _impl_.mod_enable_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageVoiceMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated uint32 gamerules_masks = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_gamerules_masks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); + } else if (static_cast(tag) == 10) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_gamerules_masks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 ban_masks = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_ban_masks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_ban_masks(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool mod_enable = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_mod_enable(&has_bits); + _impl_.mod_enable_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageVoiceMask::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageVoiceMask) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated uint32 gamerules_masks = 1; + for (int i = 0, n = this->_internal_gamerules_masks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gamerules_masks(i), target); + } + + // repeated uint32 ban_masks = 2; + for (int i = 0, n = this->_internal_ban_masks_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ban_masks(i), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool mod_enable = 3; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_mod_enable(), 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:CUserMessageVoiceMask) + return target; +} + +size_t CUserMessageVoiceMask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageVoiceMask) + 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 uint32 gamerules_masks = 1; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.gamerules_masks_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_gamerules_masks_size()); + total_size += data_size; + } + + // repeated uint32 ban_masks = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.ban_masks_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_ban_masks_size()); + total_size += data_size; + } + + // optional bool mod_enable = 3; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageVoiceMask::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageVoiceMask::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageVoiceMask::GetClassData() const { return &_class_data_; } + + +void CUserMessageVoiceMask::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:CUserMessageVoiceMask) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.gamerules_masks_.MergeFrom(from._impl_.gamerules_masks_); + _this->_impl_.ban_masks_.MergeFrom(from._impl_.ban_masks_); + if (from._internal_has_mod_enable()) { + _this->_internal_set_mod_enable(from._internal_mod_enable()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageVoiceMask::CopyFrom(const CUserMessageVoiceMask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageVoiceMask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageVoiceMask::IsInitialized() const { + return true; +} + +void CUserMessageVoiceMask::InternalSwap(CUserMessageVoiceMask* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.gamerules_masks_.InternalSwap(&other->_impl_.gamerules_masks_); + _impl_.ban_masks_.InternalSwap(&other->_impl_.ban_masks_); + swap(_impl_.mod_enable_, other->_impl_.mod_enable_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageVoiceMask::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[20]); +} + +// =================================================================== + +class CUserMessageRequestState::_Internal { + public: +}; + +CUserMessageRequestState::CUserMessageRequestState(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMessageRequestState) +} +CUserMessageRequestState::CUserMessageRequestState(const CUserMessageRequestState& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMessageRequestState* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestState) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestState::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[21]); +} + +// =================================================================== + +class CUserMessageRumble::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_flags(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMessageRumble::CUserMessageRumble(::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:CUserMessageRumble) +} +CUserMessageRumble::CUserMessageRumble(const CUserMessageRumble& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRumble* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.index_){} + , decltype(_impl_.data_){} + , decltype(_impl_.flags_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.index_, &from._impl_.index_, + static_cast(reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageRumble) +} + +inline void CUserMessageRumble::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.index_){0} + , decltype(_impl_.data_){0} + , decltype(_impl_.flags_){0} + }; +} + +CUserMessageRumble::~CUserMessageRumble() { + // @@protoc_insertion_point(destructor:CUserMessageRumble) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRumble::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageRumble::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRumble::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRumble) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.index_, 0, static_cast( + reinterpret_cast(&_impl_.flags_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRumble::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_data(&has_bits); + _impl_.data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 flags = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_flags(&has_bits); + _impl_.flags_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageRumble::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRumble) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int32 data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_data(), target); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), 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:CUserMessageRumble) + return target; +} + +size_t CUserMessageRumble::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRumble) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); + } + + // optional int32 flags = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRumble::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRumble::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRumble::GetClassData() const { return &_class_data_; } + + +void CUserMessageRumble::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:CUserMessageRumble) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.data_ = from._impl_.data_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.flags_ = from._impl_.flags_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRumble::CopyFrom(const CUserMessageRumble& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRumble) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRumble::IsInitialized() const { + return true; +} + +void CUserMessageRumble::InternalSwap(CUserMessageRumble* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageRumble, _impl_.flags_) + + sizeof(CUserMessageRumble::_impl_.flags_) + - PROTOBUF_FIELD_OFFSET(CUserMessageRumble, _impl_.index_)>( + reinterpret_cast(&_impl_.index_), + reinterpret_cast(&other->_impl_.index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRumble::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[22]); +} + +// =================================================================== + +class CUserMessageSayTextChannel::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_player(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_channel(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageSayTextChannel::CUserMessageSayTextChannel(::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:CUserMessageSayTextChannel) +} +CUserMessageSayTextChannel::CUserMessageSayTextChannel(const CUserMessageSayTextChannel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageSayTextChannel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.player_){} + , decltype(_impl_.channel_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.player_, &from._impl_.player_, + static_cast(reinterpret_cast(&_impl_.channel_) - + reinterpret_cast(&_impl_.player_)) + sizeof(_impl_.channel_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageSayTextChannel) +} + +inline void CUserMessageSayTextChannel::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.player_){0} + , decltype(_impl_.channel_){0} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageSayTextChannel::~CUserMessageSayTextChannel() { + // @@protoc_insertion_point(destructor:CUserMessageSayTextChannel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageSayTextChannel::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CUserMessageSayTextChannel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageSayTextChannel::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageSayTextChannel) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.player_, 0, static_cast( + reinterpret_cast(&_impl_.channel_) - + reinterpret_cast(&_impl_.player_)) + sizeof(_impl_.channel_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageSayTextChannel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 player = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_player(&has_bits); + _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 channel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_channel(&has_bits); + _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageSayTextChannel.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageSayTextChannel::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayTextChannel) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 player = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player(), target); + } + + // optional int32 channel = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_channel(), target); + } + + // optional string text = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageSayTextChannel.text"); + target = stream->WriteStringMaybeAliased( + 3, 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:CUserMessageSayTextChannel) + return target; +} + +size_t CUserMessageSayTextChannel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayTextChannel) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string text = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional int32 player = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player()); + } + + // optional int32 channel = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayTextChannel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageSayTextChannel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayTextChannel::GetClassData() const { return &_class_data_; } + + +void CUserMessageSayTextChannel::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:CUserMessageSayTextChannel) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.player_ = from._impl_.player_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.channel_ = from._impl_.channel_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageSayTextChannel::CopyFrom(const CUserMessageSayTextChannel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayTextChannel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageSayTextChannel::IsInitialized() const { + return true; +} + +void CUserMessageSayTextChannel::InternalSwap(CUserMessageSayTextChannel* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageSayTextChannel, _impl_.channel_) + + sizeof(CUserMessageSayTextChannel::_impl_.channel_) + - PROTOBUF_FIELD_OFFSET(CUserMessageSayTextChannel, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayTextChannel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[23]); +} + +// =================================================================== + +class CUserMessageColoredText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_reset(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_context_player_slot(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_context_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_context_team_id(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CUserMessageColoredText::CUserMessageColoredText(::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:CUserMessageColoredText) +} +CUserMessageColoredText::CUserMessageColoredText(const CUserMessageColoredText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageColoredText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.color_){} + , decltype(_impl_.reset_){} + , decltype(_impl_.context_value_){} + , decltype(_impl_.context_team_id_){} + , decltype(_impl_.context_player_slot_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.color_, &from._impl_.color_, + static_cast(reinterpret_cast(&_impl_.context_player_slot_) - + reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.context_player_slot_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageColoredText) +} + +inline void CUserMessageColoredText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + , decltype(_impl_.color_){0u} + , decltype(_impl_.reset_){false} + , decltype(_impl_.context_value_){0} + , decltype(_impl_.context_team_id_){0} + , decltype(_impl_.context_player_slot_){-1} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageColoredText::~CUserMessageColoredText() { + // @@protoc_insertion_point(destructor:CUserMessageColoredText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageColoredText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CUserMessageColoredText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageColoredText::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageColoredText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000003eu) { + ::memset(&_impl_.color_, 0, static_cast( + reinterpret_cast(&_impl_.context_team_id_) - + reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.context_team_id_)); + _impl_.context_player_slot_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageColoredText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 color = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string text = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageColoredText.text"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool reset = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_reset(&has_bits); + _impl_.reset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 context_player_slot = 4 [default = -1]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_context_player_slot(&has_bits); + _impl_.context_player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 context_value = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_context_value(&has_bits); + _impl_.context_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 context_team_id = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_context_team_id(&has_bits); + _impl_.context_team_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageColoredText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageColoredText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 color = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_color(), target); + } + + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageColoredText.text"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_text(), target); + } + + // optional bool reset = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_reset(), target); + } + + // optional int32 context_player_slot = 4 [default = -1]; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_context_player_slot(), target); + } + + // optional int32 context_value = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_context_value(), target); + } + + // optional int32 context_team_id = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_context_team_id(), 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:CUserMessageColoredText) + return target; +} + +size_t CUserMessageColoredText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageColoredText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string text = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + // optional uint32 color = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_color()); + } + + // optional bool reset = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional int32 context_value = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_value()); + } + + // optional int32 context_team_id = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_team_id()); + } + + // optional int32 context_player_slot = 4 [default = -1]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_player_slot()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageColoredText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageColoredText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageColoredText::GetClassData() const { return &_class_data_; } + + +void CUserMessageColoredText::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:CUserMessageColoredText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_text(from._internal_text()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.reset_ = from._impl_.reset_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.context_value_ = from._impl_.context_value_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.context_team_id_ = from._impl_.context_team_id_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.context_player_slot_ = from._impl_.context_player_slot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageColoredText::CopyFrom(const CUserMessageColoredText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageColoredText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageColoredText::IsInitialized() const { + return true; +} + +void CUserMessageColoredText::InternalSwap(CUserMessageColoredText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageColoredText, _impl_.context_team_id_) + + sizeof(CUserMessageColoredText::_impl_.context_team_id_) + - PROTOBUF_FIELD_OFFSET(CUserMessageColoredText, _impl_.color_)>( + reinterpret_cast(&_impl_.color_), + reinterpret_cast(&other->_impl_.color_)); + swap(_impl_.context_player_slot_, other->_impl_.context_player_slot_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageColoredText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[24]); +} + +// =================================================================== + +class CUserMessageItemPickup::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_itemname(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageItemPickup::CUserMessageItemPickup(::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:CUserMessageItemPickup) +} +CUserMessageItemPickup::CUserMessageItemPickup(const CUserMessageItemPickup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageItemPickup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemname_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.itemname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.itemname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_itemname()) { + _this->_impl_.itemname_.Set(from._internal_itemname(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMessageItemPickup) +} + +inline void CUserMessageItemPickup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.itemname_){} + }; + _impl_.itemname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.itemname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageItemPickup::~CUserMessageItemPickup() { + // @@protoc_insertion_point(destructor:CUserMessageItemPickup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageItemPickup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.itemname_.Destroy(); +} + +void CUserMessageItemPickup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageItemPickup::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageItemPickup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.itemname_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageItemPickup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string itemname = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_itemname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageItemPickup.itemname"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageItemPickup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageItemPickup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string itemname = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_itemname().data(), static_cast(this->_internal_itemname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageItemPickup.itemname"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_itemname(), 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:CUserMessageItemPickup) + return target; +} + +size_t CUserMessageItemPickup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageItemPickup) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string itemname = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_itemname()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageItemPickup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageItemPickup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageItemPickup::GetClassData() const { return &_class_data_; } + + +void CUserMessageItemPickup::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:CUserMessageItemPickup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_itemname()) { + _this->_internal_set_itemname(from._internal_itemname()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageItemPickup::CopyFrom(const CUserMessageItemPickup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageItemPickup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageItemPickup::IsInitialized() const { + return true; +} + +void CUserMessageItemPickup::InternalSwap(CUserMessageItemPickup* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.itemname_, lhs_arena, + &other->_impl_.itemname_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageItemPickup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[25]); +} + +// =================================================================== + +class CUserMessageAmmoDenied::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ammo_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageAmmoDenied::CUserMessageAmmoDenied(::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:CUserMessageAmmoDenied) +} +CUserMessageAmmoDenied::CUserMessageAmmoDenied(const CUserMessageAmmoDenied& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageAmmoDenied* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ammo_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.ammo_id_ = from._impl_.ammo_id_; + // @@protoc_insertion_point(copy_constructor:CUserMessageAmmoDenied) +} + +inline void CUserMessageAmmoDenied::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.ammo_id_){0u} + }; +} + +CUserMessageAmmoDenied::~CUserMessageAmmoDenied() { + // @@protoc_insertion_point(destructor:CUserMessageAmmoDenied) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageAmmoDenied::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageAmmoDenied::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageAmmoDenied::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageAmmoDenied) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ammo_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageAmmoDenied::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 ammo_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ammo_id(&has_bits); + _impl_.ammo_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageAmmoDenied::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAmmoDenied) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 ammo_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ammo_id(), 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:CUserMessageAmmoDenied) + return target; +} + +size_t CUserMessageAmmoDenied::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageAmmoDenied) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 ammo_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ammo_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAmmoDenied::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageAmmoDenied::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAmmoDenied::GetClassData() const { return &_class_data_; } + + +void CUserMessageAmmoDenied::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:CUserMessageAmmoDenied) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_ammo_id()) { + _this->_internal_set_ammo_id(from._internal_ammo_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageAmmoDenied::CopyFrom(const CUserMessageAmmoDenied& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAmmoDenied) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageAmmoDenied::IsInitialized() const { + return true; +} + +void CUserMessageAmmoDenied::InternalSwap(CUserMessageAmmoDenied* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.ammo_id_, other->_impl_.ammo_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAmmoDenied::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[26]); +} + +// =================================================================== + +class CUserMessageShowMenu::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_validslots(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_displaytime(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_needmore(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_menustring(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageShowMenu::CUserMessageShowMenu(::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:CUserMessageShowMenu) +} +CUserMessageShowMenu::CUserMessageShowMenu(const CUserMessageShowMenu& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageShowMenu* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menustring_){} + , decltype(_impl_.validslots_){} + , decltype(_impl_.displaytime_){} + , decltype(_impl_.needmore_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.menustring_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menustring_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_menustring()) { + _this->_impl_.menustring_.Set(from._internal_menustring(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.validslots_, &from._impl_.validslots_, + static_cast(reinterpret_cast(&_impl_.needmore_) - + reinterpret_cast(&_impl_.validslots_)) + sizeof(_impl_.needmore_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageShowMenu) +} + +inline void CUserMessageShowMenu::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.menustring_){} + , decltype(_impl_.validslots_){0u} + , decltype(_impl_.displaytime_){0u} + , decltype(_impl_.needmore_){false} + }; + _impl_.menustring_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.menustring_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageShowMenu::~CUserMessageShowMenu() { + // @@protoc_insertion_point(destructor:CUserMessageShowMenu) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageShowMenu::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.menustring_.Destroy(); +} + +void CUserMessageShowMenu::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageShowMenu::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageShowMenu) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.menustring_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.validslots_, 0, static_cast( + reinterpret_cast(&_impl_.needmore_) - + reinterpret_cast(&_impl_.validslots_)) + sizeof(_impl_.needmore_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageShowMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 validslots = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_validslots(&has_bits); + _impl_.validslots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 displaytime = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_displaytime(&has_bits); + _impl_.displaytime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool needmore = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_needmore(&has_bits); + _impl_.needmore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string menustring = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_menustring(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageShowMenu.menustring"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageShowMenu::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShowMenu) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 validslots = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_validslots(), target); + } + + // optional uint32 displaytime = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_displaytime(), target); + } + + // optional bool needmore = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_needmore(), target); + } + + // optional string menustring = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_menustring().data(), static_cast(this->_internal_menustring().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageShowMenu.menustring"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_menustring(), 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:CUserMessageShowMenu) + return target; +} + +size_t CUserMessageShowMenu::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageShowMenu) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string menustring = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_menustring()); + } + + // optional uint32 validslots = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_validslots()); + } + + // optional uint32 displaytime = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_displaytime()); + } + + // optional bool needmore = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShowMenu::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageShowMenu::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShowMenu::GetClassData() const { return &_class_data_; } + + +void CUserMessageShowMenu::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:CUserMessageShowMenu) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_menustring(from._internal_menustring()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.validslots_ = from._impl_.validslots_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.displaytime_ = from._impl_.displaytime_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.needmore_ = from._impl_.needmore_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageShowMenu::CopyFrom(const CUserMessageShowMenu& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShowMenu) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageShowMenu::IsInitialized() const { + return true; +} + +void CUserMessageShowMenu::InternalSwap(CUserMessageShowMenu* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.menustring_, lhs_arena, + &other->_impl_.menustring_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageShowMenu, _impl_.needmore_) + + sizeof(CUserMessageShowMenu::_impl_.needmore_) + - PROTOBUF_FIELD_OFFSET(CUserMessageShowMenu, _impl_.validslots_)>( + reinterpret_cast(&_impl_.validslots_), + reinterpret_cast(&other->_impl_.validslots_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShowMenu::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[27]); +} + +// =================================================================== + +class CUserMessageCreditsMsg::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_rolltype(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_logo_length(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageCreditsMsg::CUserMessageCreditsMsg(::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:CUserMessageCreditsMsg) +} +CUserMessageCreditsMsg::CUserMessageCreditsMsg(const CUserMessageCreditsMsg& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCreditsMsg* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.logo_length_){} + , decltype(_impl_.rolltype_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.logo_length_, &from._impl_.logo_length_, + static_cast(reinterpret_cast(&_impl_.rolltype_) - + reinterpret_cast(&_impl_.logo_length_)) + sizeof(_impl_.rolltype_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCreditsMsg) +} + +inline void CUserMessageCreditsMsg::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.logo_length_){0} + , decltype(_impl_.rolltype_){-1} + }; +} + +CUserMessageCreditsMsg::~CUserMessageCreditsMsg() { + // @@protoc_insertion_point(destructor:CUserMessageCreditsMsg) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCreditsMsg::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageCreditsMsg::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCreditsMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCreditsMsg) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.logo_length_ = 0; + _impl_.rolltype_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCreditsMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .eRollType rolltype = 1 [default = ROLL_NONE]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::eRollType_IsValid(val))) { + _internal_set_rolltype(static_cast<::eRollType>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional float logo_length = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_logo_length(&has_bits); + _impl_.logo_length_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCreditsMsg::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCreditsMsg) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .eRollType rolltype = 1 [default = ROLL_NONE]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_rolltype(), target); + } + + // optional float logo_length = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_logo_length(), 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:CUserMessageCreditsMsg) + return target; +} + +size_t CUserMessageCreditsMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCreditsMsg) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional float logo_length = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional .eRollType rolltype = 1 [default = ROLL_NONE]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_rolltype()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCreditsMsg::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCreditsMsg::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCreditsMsg::GetClassData() const { return &_class_data_; } + + +void CUserMessageCreditsMsg::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:CUserMessageCreditsMsg) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.logo_length_ = from._impl_.logo_length_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.rolltype_ = from._impl_.rolltype_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCreditsMsg::CopyFrom(const CUserMessageCreditsMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCreditsMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCreditsMsg::IsInitialized() const { + return true; +} + +void CUserMessageCreditsMsg::InternalSwap(CUserMessageCreditsMsg* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.logo_length_, other->_impl_.logo_length_); + swap(_impl_.rolltype_, other->_impl_.rolltype_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCreditsMsg::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[28]); +} + +// =================================================================== + +class CEntityMessagePlayJingle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CEntityMsg& entity_msg(const CEntityMessagePlayJingle* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEntityMsg& +CEntityMessagePlayJingle::_Internal::entity_msg(const CEntityMessagePlayJingle* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessagePlayJingle::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CEntityMessagePlayJingle::CEntityMessagePlayJingle(::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:CEntityMessagePlayJingle) +} +CEntityMessagePlayJingle::CEntityMessagePlayJingle(const CEntityMessagePlayJingle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessagePlayJingle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + // @@protoc_insertion_point(copy_constructor:CEntityMessagePlayJingle) +} + +inline void CEntityMessagePlayJingle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr} + }; +} + +CEntityMessagePlayJingle::~CEntityMessagePlayJingle() { + // @@protoc_insertion_point(destructor:CEntityMessagePlayJingle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessagePlayJingle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessagePlayJingle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessagePlayJingle::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessagePlayJingle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessagePlayJingle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CEntityMsg entity_msg = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessagePlayJingle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessagePlayJingle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CEntityMsg entity_msg = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessagePlayJingle) + return target; +} + +size_t CEntityMessagePlayJingle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessagePlayJingle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional .CEntityMsg entity_msg = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessagePlayJingle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessagePlayJingle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessagePlayJingle::GetClassData() const { return &_class_data_; } + + +void CEntityMessagePlayJingle::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:CEntityMessagePlayJingle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_entity_msg()) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessagePlayJingle::CopyFrom(const CEntityMessagePlayJingle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessagePlayJingle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessagePlayJingle::IsInitialized() const { + return true; +} + +void CEntityMessagePlayJingle::InternalSwap(CEntityMessagePlayJingle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.entity_msg_, other->_impl_.entity_msg_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessagePlayJingle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[29]); +} + +// =================================================================== + +class CEntityMessageScreenOverlay::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_start_effect(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CEntityMsg& entity_msg(const CEntityMessageScreenOverlay* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEntityMsg& +CEntityMessageScreenOverlay::_Internal::entity_msg(const CEntityMessageScreenOverlay* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessageScreenOverlay::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CEntityMessageScreenOverlay::CEntityMessageScreenOverlay(::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:CEntityMessageScreenOverlay) +} +CEntityMessageScreenOverlay::CEntityMessageScreenOverlay(const CEntityMessageScreenOverlay& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessageScreenOverlay* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.start_effect_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + _this->_impl_.start_effect_ = from._impl_.start_effect_; + // @@protoc_insertion_point(copy_constructor:CEntityMessageScreenOverlay) +} + +inline void CEntityMessageScreenOverlay::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.start_effect_){false} + }; +} + +CEntityMessageScreenOverlay::~CEntityMessageScreenOverlay() { + // @@protoc_insertion_point(destructor:CEntityMessageScreenOverlay) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessageScreenOverlay::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessageScreenOverlay::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessageScreenOverlay::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessageScreenOverlay) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + _impl_.start_effect_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessageScreenOverlay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool start_effect = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_start_effect(&has_bits); + _impl_.start_effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CEntityMsg entity_msg = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessageScreenOverlay::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageScreenOverlay) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool start_effect = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_start_effect(), target); + } + + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessageScreenOverlay) + return target; +} + +size_t CEntityMessageScreenOverlay::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessageScreenOverlay) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + // optional bool start_effect = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageScreenOverlay::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessageScreenOverlay::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageScreenOverlay::GetClassData() const { return &_class_data_; } + + +void CEntityMessageScreenOverlay::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:CEntityMessageScreenOverlay) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.start_effect_ = from._impl_.start_effect_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessageScreenOverlay::CopyFrom(const CEntityMessageScreenOverlay& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageScreenOverlay) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessageScreenOverlay::IsInitialized() const { + return true; +} + +void CEntityMessageScreenOverlay::InternalSwap(CEntityMessageScreenOverlay* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEntityMessageScreenOverlay, _impl_.start_effect_) + + sizeof(CEntityMessageScreenOverlay::_impl_.start_effect_) + - PROTOBUF_FIELD_OFFSET(CEntityMessageScreenOverlay, _impl_.entity_msg_)>( + reinterpret_cast(&_impl_.entity_msg_), + reinterpret_cast(&other->_impl_.entity_msg_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageScreenOverlay::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[30]); +} + +// =================================================================== + +class CEntityMessageRemoveAllDecals::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_remove_decals(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CEntityMsg& entity_msg(const CEntityMessageRemoveAllDecals* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CEntityMsg& +CEntityMessageRemoveAllDecals::_Internal::entity_msg(const CEntityMessageRemoveAllDecals* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessageRemoveAllDecals::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals(::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:CEntityMessageRemoveAllDecals) +} +CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals(const CEntityMessageRemoveAllDecals& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessageRemoveAllDecals* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.remove_decals_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + _this->_impl_.remove_decals_ = from._impl_.remove_decals_; + // @@protoc_insertion_point(copy_constructor:CEntityMessageRemoveAllDecals) +} + +inline void CEntityMessageRemoveAllDecals::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.remove_decals_){false} + }; +} + +CEntityMessageRemoveAllDecals::~CEntityMessageRemoveAllDecals() { + // @@protoc_insertion_point(destructor:CEntityMessageRemoveAllDecals) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessageRemoveAllDecals::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessageRemoveAllDecals::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessageRemoveAllDecals::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessageRemoveAllDecals) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + _impl_.remove_decals_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessageRemoveAllDecals::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool remove_decals = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_remove_decals(&has_bits); + _impl_.remove_decals_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CEntityMsg entity_msg = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessageRemoveAllDecals::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageRemoveAllDecals) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool remove_decals = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_remove_decals(), target); + } + + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessageRemoveAllDecals) + return target; +} + +size_t CEntityMessageRemoveAllDecals::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessageRemoveAllDecals) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + // optional bool remove_decals = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageRemoveAllDecals::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessageRemoveAllDecals::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageRemoveAllDecals::GetClassData() const { return &_class_data_; } + + +void CEntityMessageRemoveAllDecals::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:CEntityMessageRemoveAllDecals) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.remove_decals_ = from._impl_.remove_decals_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessageRemoveAllDecals::CopyFrom(const CEntityMessageRemoveAllDecals& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageRemoveAllDecals) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessageRemoveAllDecals::IsInitialized() const { + return true; +} + +void CEntityMessageRemoveAllDecals::InternalSwap(CEntityMessageRemoveAllDecals* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEntityMessageRemoveAllDecals, _impl_.remove_decals_) + + sizeof(CEntityMessageRemoveAllDecals::_impl_.remove_decals_) + - PROTOBUF_FIELD_OFFSET(CEntityMessageRemoveAllDecals, _impl_.entity_msg_)>( + reinterpret_cast(&_impl_.entity_msg_), + reinterpret_cast(&other->_impl_.entity_msg_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageRemoveAllDecals::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[31]); +} + +// =================================================================== + +class CEntityMessagePropagateForce::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& impulse(const CEntityMessagePropagateForce* msg); + static void set_has_impulse(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CEntityMsg& entity_msg(const CEntityMessagePropagateForce* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CEntityMessagePropagateForce::_Internal::impulse(const CEntityMessagePropagateForce* msg) { + return *msg->_impl_.impulse_; +} +const ::CEntityMsg& +CEntityMessagePropagateForce::_Internal::entity_msg(const CEntityMessagePropagateForce* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessagePropagateForce::clear_impulse() { + if (_impl_.impulse_ != nullptr) _impl_.impulse_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CEntityMessagePropagateForce::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CEntityMessagePropagateForce::CEntityMessagePropagateForce(::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:CEntityMessagePropagateForce) +} +CEntityMessagePropagateForce::CEntityMessagePropagateForce(const CEntityMessagePropagateForce& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessagePropagateForce* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.impulse_){nullptr} + , decltype(_impl_.entity_msg_){nullptr}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_impulse()) { + _this->_impl_.impulse_ = new ::CMsgVector(*from._impl_.impulse_); + } + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + // @@protoc_insertion_point(copy_constructor:CEntityMessagePropagateForce) +} + +inline void CEntityMessagePropagateForce::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.impulse_){nullptr} + , decltype(_impl_.entity_msg_){nullptr} + }; +} + +CEntityMessagePropagateForce::~CEntityMessagePropagateForce() { + // @@protoc_insertion_point(destructor:CEntityMessagePropagateForce) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessagePropagateForce::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.impulse_; + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessagePropagateForce::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessagePropagateForce::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessagePropagateForce) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.impulse_ != nullptr); + _impl_.impulse_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessagePropagateForce::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector impulse = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_impulse(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CEntityMsg entity_msg = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessagePropagateForce::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessagePropagateForce) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector impulse = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::impulse(this), + _Internal::impulse(this).GetCachedSize(), target, stream); + } + + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessagePropagateForce) + return target; +} + +size_t CEntityMessagePropagateForce::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessagePropagateForce) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector impulse = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.impulse_); + } + + // optional .CEntityMsg entity_msg = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessagePropagateForce::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessagePropagateForce::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessagePropagateForce::GetClassData() const { return &_class_data_; } + + +void CEntityMessagePropagateForce::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:CEntityMessagePropagateForce) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_impulse()->::CMsgVector::MergeFrom( + from._internal_impulse()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessagePropagateForce::CopyFrom(const CEntityMessagePropagateForce& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessagePropagateForce) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessagePropagateForce::IsInitialized() const { + return true; +} + +void CEntityMessagePropagateForce::InternalSwap(CEntityMessagePropagateForce* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEntityMessagePropagateForce, _impl_.entity_msg_) + + sizeof(CEntityMessagePropagateForce::_impl_.entity_msg_) + - PROTOBUF_FIELD_OFFSET(CEntityMessagePropagateForce, _impl_.impulse_)>( + reinterpret_cast(&_impl_.impulse_), + reinterpret_cast(&other->_impl_.impulse_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessagePropagateForce::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[32]); +} + +// =================================================================== + +class CEntityMessageDoSpark::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static const ::CMsgVector& origin(const CEntityMessageDoSpark* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_entityindex(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_radius(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_color(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_beams(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_thick(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CEntityMsg& entity_msg(const CEntityMessageDoSpark* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CEntityMessageDoSpark::_Internal::origin(const CEntityMessageDoSpark* msg) { + return *msg->_impl_.origin_; +} +const ::CEntityMsg& +CEntityMessageDoSpark::_Internal::entity_msg(const CEntityMessageDoSpark* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessageDoSpark::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CEntityMessageDoSpark::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CEntityMessageDoSpark::CEntityMessageDoSpark(::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:CEntityMessageDoSpark) +} +CEntityMessageDoSpark::CEntityMessageDoSpark(const CEntityMessageDoSpark& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessageDoSpark* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.radius_){} + , decltype(_impl_.color_){} + , decltype(_impl_.beams_){} + , decltype(_impl_.thick_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.entityindex_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + ::memcpy(&_impl_.radius_, &from._impl_.radius_, + static_cast(reinterpret_cast(&_impl_.entityindex_) - + reinterpret_cast(&_impl_.radius_)) + sizeof(_impl_.entityindex_)); + // @@protoc_insertion_point(copy_constructor:CEntityMessageDoSpark) +} + +inline void CEntityMessageDoSpark::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.radius_){0} + , decltype(_impl_.color_){0u} + , decltype(_impl_.beams_){0u} + , decltype(_impl_.thick_){0} + , decltype(_impl_.duration_){0} + , decltype(_impl_.entityindex_){-1} + }; +} + +CEntityMessageDoSpark::~CEntityMessageDoSpark() { + // @@protoc_insertion_point(destructor:CEntityMessageDoSpark) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessageDoSpark::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessageDoSpark::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessageDoSpark::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessageDoSpark) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.radius_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.radius_)) + sizeof(_impl_.duration_)); + _impl_.entityindex_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessageDoSpark::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional .CMsgVector origin = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 entityindex = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_entityindex(&has_bits); + _impl_.entityindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float radius = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_radius(&has_bits); + _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional fixed32 color = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_color(&has_bits); + _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional uint32 beams = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_beams(&has_bits); + _impl_.beams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float thick = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _Internal::set_has_thick(&has_bits); + _impl_.thick_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float duration = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CEntityMsg entity_msg = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessageDoSpark::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageDoSpark) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::origin(this), + _Internal::origin(this).GetCachedSize(), target, stream); + } + + // optional int32 entityindex = 2 [default = -1]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_entityindex(), target); + } + + // optional float radius = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_radius(), target); + } + + // optional fixed32 color = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color(), target); + } + + // optional uint32 beams = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_beams(), target); + } + + // optional float thick = 6; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_thick(), target); + } + + // optional float duration = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_duration(), target); + } + + // optional .CEntityMsg entity_msg = 8; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessageDoSpark) + return target; +} + +size_t CEntityMessageDoSpark::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessageDoSpark) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector origin = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional .CEntityMsg entity_msg = 8; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + // optional float radius = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional fixed32 color = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + // optional uint32 beams = 5; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_beams()); + } + + // optional float thick = 6; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 4; + } + + // optional float duration = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + // optional int32 entityindex = 2 [default = -1]; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entityindex()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageDoSpark::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessageDoSpark::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageDoSpark::GetClassData() const { return &_class_data_; } + + +void CEntityMessageDoSpark::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:CEntityMessageDoSpark) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.radius_ = from._impl_.radius_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.color_ = from._impl_.color_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.beams_ = from._impl_.beams_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.thick_ = from._impl_.thick_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.entityindex_ = from._impl_.entityindex_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessageDoSpark::CopyFrom(const CEntityMessageDoSpark& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageDoSpark) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessageDoSpark::IsInitialized() const { + return true; +} + +void CEntityMessageDoSpark::InternalSwap(CEntityMessageDoSpark* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEntityMessageDoSpark, _impl_.duration_) + + sizeof(CEntityMessageDoSpark::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CEntityMessageDoSpark, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); + swap(_impl_.entityindex_, other->_impl_.entityindex_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageDoSpark::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[33]); +} + +// =================================================================== + +class CEntityMessageFixAngle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_relative(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgQAngle& angle(const CEntityMessageFixAngle* msg); + static void set_has_angle(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CEntityMsg& entity_msg(const CEntityMessageFixAngle* msg); + static void set_has_entity_msg(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgQAngle& +CEntityMessageFixAngle::_Internal::angle(const CEntityMessageFixAngle* msg) { + return *msg->_impl_.angle_; +} +const ::CEntityMsg& +CEntityMessageFixAngle::_Internal::entity_msg(const CEntityMessageFixAngle* msg) { + return *msg->_impl_.entity_msg_; +} +void CEntityMessageFixAngle::clear_angle() { + if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CEntityMessageFixAngle::clear_entity_msg() { + if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CEntityMessageFixAngle::CEntityMessageFixAngle(::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:CEntityMessageFixAngle) +} +CEntityMessageFixAngle::CEntityMessageFixAngle(const CEntityMessageFixAngle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CEntityMessageFixAngle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.relative_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_angle()) { + _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); + } + if (from._internal_has_entity_msg()) { + _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); + } + _this->_impl_.relative_ = from._impl_.relative_; + // @@protoc_insertion_point(copy_constructor:CEntityMessageFixAngle) +} + +inline void CEntityMessageFixAngle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angle_){nullptr} + , decltype(_impl_.entity_msg_){nullptr} + , decltype(_impl_.relative_){false} + }; +} + +CEntityMessageFixAngle::~CEntityMessageFixAngle() { + // @@protoc_insertion_point(destructor:CEntityMessageFixAngle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CEntityMessageFixAngle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.angle_; + if (this != internal_default_instance()) delete _impl_.entity_msg_; +} + +void CEntityMessageFixAngle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CEntityMessageFixAngle::Clear() { +// @@protoc_insertion_point(message_clear_start:CEntityMessageFixAngle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.angle_ != nullptr); + _impl_.angle_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); + _impl_.entity_msg_->Clear(); + } + } + _impl_.relative_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CEntityMessageFixAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool relative = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_relative(&has_bits); + _impl_.relative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CEntityMsg entity_msg = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CEntityMessageFixAngle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageFixAngle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool relative = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_relative(), target); + } + + // optional .CMsgQAngle angle = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angle(this), + _Internal::angle(this).GetCachedSize(), target, stream); + } + + // optional .CEntityMsg entity_msg = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::entity_msg(this), + _Internal::entity_msg(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:CEntityMessageFixAngle) + return target; +} + +size_t CEntityMessageFixAngle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CEntityMessageFixAngle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgQAngle angle = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angle_); + } + + // optional .CEntityMsg entity_msg = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.entity_msg_); + } + + // optional bool relative = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageFixAngle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CEntityMessageFixAngle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageFixAngle::GetClassData() const { return &_class_data_; } + + +void CEntityMessageFixAngle::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:CEntityMessageFixAngle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( + from._internal_angle()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( + from._internal_entity_msg()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.relative_ = from._impl_.relative_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CEntityMessageFixAngle::CopyFrom(const CEntityMessageFixAngle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageFixAngle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CEntityMessageFixAngle::IsInitialized() const { + return true; +} + +void CEntityMessageFixAngle::InternalSwap(CEntityMessageFixAngle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CEntityMessageFixAngle, _impl_.relative_) + + sizeof(CEntityMessageFixAngle::_impl_.relative_) + - PROTOBUF_FIELD_OFFSET(CEntityMessageFixAngle, _impl_.angle_)>( + reinterpret_cast(&_impl_.angle_), + reinterpret_cast(&other->_impl_.angle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageFixAngle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[34]); +} + +// =================================================================== + +class CUserMessageCameraTransition_Transition_DataDriven::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_filename(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_attach_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven(::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:CUserMessageCameraTransition.Transition_DataDriven) +} +CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven(const CUserMessageCameraTransition_Transition_DataDriven& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCameraTransition_Transition_DataDriven* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.duration_){} + , decltype(_impl_.attach_ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filename()) { + _this->_impl_.filename_.Set(from._internal_filename(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.duration_, &from._impl_.duration_, + static_cast(reinterpret_cast(&_impl_.attach_ent_index_) - + reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.attach_ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCameraTransition.Transition_DataDriven) +} + +inline void CUserMessageCameraTransition_Transition_DataDriven::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.filename_){} + , decltype(_impl_.duration_){0} + , decltype(_impl_.attach_ent_index_){-1} + }; + _impl_.filename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.filename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageCameraTransition_Transition_DataDriven::~CUserMessageCameraTransition_Transition_DataDriven() { + // @@protoc_insertion_point(destructor:CUserMessageCameraTransition.Transition_DataDriven) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCameraTransition_Transition_DataDriven::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.filename_.Destroy(); +} + +void CUserMessageCameraTransition_Transition_DataDriven::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCameraTransition_Transition_DataDriven::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCameraTransition.Transition_DataDriven) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.filename_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + _impl_.duration_ = 0; + _impl_.attach_ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCameraTransition_Transition_DataDriven::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string filename = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_filename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageCameraTransition.Transition_DataDriven.filename"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 attach_ent_index = 2 [default = -1]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_attach_ent_index(&has_bits); + _impl_.attach_ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float duration = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCameraTransition_Transition_DataDriven::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCameraTransition.Transition_DataDriven) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string filename = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_filename().data(), static_cast(this->_internal_filename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageCameraTransition.Transition_DataDriven.filename"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_filename(), target); + } + + // optional int32 attach_ent_index = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attach_ent_index(), target); + } + + // optional float duration = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_duration(), 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:CUserMessageCameraTransition.Transition_DataDriven) + return target; +} + +size_t CUserMessageCameraTransition_Transition_DataDriven::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCameraTransition.Transition_DataDriven) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string filename = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filename()); + } + + // optional float duration = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional int32 attach_ent_index = 2 [default = -1]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCameraTransition_Transition_DataDriven::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCameraTransition_Transition_DataDriven::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCameraTransition_Transition_DataDriven::GetClassData() const { return &_class_data_; } + + +void CUserMessageCameraTransition_Transition_DataDriven::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:CUserMessageCameraTransition.Transition_DataDriven) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_filename(from._internal_filename()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.attach_ent_index_ = from._impl_.attach_ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCameraTransition_Transition_DataDriven::CopyFrom(const CUserMessageCameraTransition_Transition_DataDriven& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCameraTransition.Transition_DataDriven) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCameraTransition_Transition_DataDriven::IsInitialized() const { + return true; +} + +void CUserMessageCameraTransition_Transition_DataDriven::InternalSwap(CUserMessageCameraTransition_Transition_DataDriven* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.filename_, lhs_arena, + &other->_impl_.filename_, rhs_arena + ); + swap(_impl_.duration_, other->_impl_.duration_); + swap(_impl_.attach_ent_index_, other->_impl_.attach_ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCameraTransition_Transition_DataDriven::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[35]); +} + +// =================================================================== + +class CUserMessageCameraTransition::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_camera_type(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CUserMessageCameraTransition_Transition_DataDriven& params_data_driven(const CUserMessageCameraTransition* msg); + static void set_has_params_data_driven(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CUserMessageCameraTransition_Transition_DataDriven& +CUserMessageCameraTransition::_Internal::params_data_driven(const CUserMessageCameraTransition* msg) { + return *msg->_impl_.params_data_driven_; +} +CUserMessageCameraTransition::CUserMessageCameraTransition(::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:CUserMessageCameraTransition) +} +CUserMessageCameraTransition::CUserMessageCameraTransition(const CUserMessageCameraTransition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageCameraTransition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.params_data_driven_){nullptr} + , decltype(_impl_.camera_type_){} + , decltype(_impl_.duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_params_data_driven()) { + _this->_impl_.params_data_driven_ = new ::CUserMessageCameraTransition_Transition_DataDriven(*from._impl_.params_data_driven_); + } + ::memcpy(&_impl_.camera_type_, &from._impl_.camera_type_, + static_cast(reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.camera_type_)) + sizeof(_impl_.duration_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageCameraTransition) +} + +inline void CUserMessageCameraTransition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.params_data_driven_){nullptr} + , decltype(_impl_.camera_type_){0u} + , decltype(_impl_.duration_){0} + }; +} + +CUserMessageCameraTransition::~CUserMessageCameraTransition() { + // @@protoc_insertion_point(destructor:CUserMessageCameraTransition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageCameraTransition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.params_data_driven_; +} + +void CUserMessageCameraTransition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageCameraTransition::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageCameraTransition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.params_data_driven_ != nullptr); + _impl_.params_data_driven_->Clear(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.camera_type_, 0, static_cast( + reinterpret_cast(&_impl_.duration_) - + reinterpret_cast(&_impl_.camera_type_)) + sizeof(_impl_.duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageCameraTransition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 camera_type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_camera_type(&has_bits); + _impl_.camera_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_params_data_driven(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageCameraTransition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCameraTransition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 camera_type = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_camera_type(), target); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); + } + + // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::params_data_driven(this), + _Internal::params_data_driven(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:CUserMessageCameraTransition) + return target; +} + +size_t CUserMessageCameraTransition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageCameraTransition) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.params_data_driven_); + } + + // optional uint32 camera_type = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_camera_type()); + } + + // optional float duration = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCameraTransition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageCameraTransition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCameraTransition::GetClassData() const { return &_class_data_; } + + +void CUserMessageCameraTransition::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:CUserMessageCameraTransition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_params_data_driven()->::CUserMessageCameraTransition_Transition_DataDriven::MergeFrom( + from._internal_params_data_driven()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.camera_type_ = from._impl_.camera_type_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageCameraTransition::CopyFrom(const CUserMessageCameraTransition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCameraTransition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageCameraTransition::IsInitialized() const { + return true; +} + +void CUserMessageCameraTransition::InternalSwap(CUserMessageCameraTransition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageCameraTransition, _impl_.duration_) + + sizeof(CUserMessageCameraTransition::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CUserMessageCameraTransition, _impl_.params_data_driven_)>( + reinterpret_cast(&_impl_.params_data_driven_), + reinterpret_cast(&other->_impl_.params_data_driven_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCameraTransition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[36]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ReleaseParticleIndex::_Internal { + public: +}; + +CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ReleaseParticleIndex) +} +CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMsg_ParticleManager_ReleaseParticleIndex* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ReleaseParticleIndex) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ReleaseParticleIndex::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ReleaseParticleIndex::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ReleaseParticleIndex::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[37]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_CreateParticle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_particle_name_index(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_attach_type(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_entity_handle_for_modifiers(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_apply_voice_ban_rules(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_team_behavior(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_control_point_configuration(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_cluster(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_endcap_time(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgVector& aggregation_position(const CUserMsg_ParticleManager_CreateParticle* msg); + static void set_has_aggregation_position(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_CreateParticle::_Internal::aggregation_position(const CUserMsg_ParticleManager_CreateParticle* msg) { + return *msg->_impl_.aggregation_position_; +} +void CUserMsg_ParticleManager_CreateParticle::clear_aggregation_position() { + if (_impl_.aggregation_position_ != nullptr) _impl_.aggregation_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle(::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:CUserMsg_ParticleManager.CreateParticle) +} +CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle(const CUserMsg_ParticleManager_CreateParticle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_CreateParticle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.control_point_configuration_){} + , decltype(_impl_.aggregation_position_){nullptr} + , decltype(_impl_.particle_name_index_){} + , decltype(_impl_.attach_type_){} + , decltype(_impl_.team_behavior_){} + , decltype(_impl_.apply_voice_ban_rules_){} + , decltype(_impl_.cluster_){} + , decltype(_impl_.endcap_time_){} + , decltype(_impl_.entity_handle_){} + , decltype(_impl_.entity_handle_for_modifiers_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.control_point_configuration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_control_point_configuration()) { + _this->_impl_.control_point_configuration_.Set(from._internal_control_point_configuration(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_aggregation_position()) { + _this->_impl_.aggregation_position_ = new ::CMsgVector(*from._impl_.aggregation_position_); + } + ::memcpy(&_impl_.particle_name_index_, &from._impl_.particle_name_index_, + static_cast(reinterpret_cast(&_impl_.entity_handle_for_modifiers_) - + reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.entity_handle_for_modifiers_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.CreateParticle) +} + +inline void CUserMsg_ParticleManager_CreateParticle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.control_point_configuration_){} + , decltype(_impl_.aggregation_position_){nullptr} + , decltype(_impl_.particle_name_index_){uint64_t{0u}} + , decltype(_impl_.attach_type_){0} + , decltype(_impl_.team_behavior_){0} + , decltype(_impl_.apply_voice_ban_rules_){false} + , decltype(_impl_.cluster_){false} + , decltype(_impl_.endcap_time_){0} + , decltype(_impl_.entity_handle_){16777215u} + , decltype(_impl_.entity_handle_for_modifiers_){16777215u} + }; + _impl_.control_point_configuration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_CreateParticle::~CUserMsg_ParticleManager_CreateParticle() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.CreateParticle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_CreateParticle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.control_point_configuration_.Destroy(); + if (this != internal_default_instance()) delete _impl_.aggregation_position_; +} + +void CUserMsg_ParticleManager_CreateParticle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_CreateParticle::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.CreateParticle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.control_point_configuration_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.aggregation_position_ != nullptr); + _impl_.aggregation_position_->Clear(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.particle_name_index_, 0, static_cast( + reinterpret_cast(&_impl_.endcap_time_) - + reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.endcap_time_)); + } + if (cached_has_bits & 0x00000300u) { + _impl_.entity_handle_ = 16777215u; + _impl_.entity_handle_for_modifiers_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_CreateParticle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 particle_name_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_particle_name_index(&has_bits); + _impl_.particle_name_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional int32 attach_type = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_attach_type(&has_bits); + _impl_.attach_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 3 [default = 16777215]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_entity_handle_for_modifiers(&has_bits); + _impl_.entity_handle_for_modifiers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool apply_voice_ban_rules = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_apply_voice_ban_rules(&has_bits); + _impl_.apply_voice_ban_rules_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 team_behavior = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_team_behavior(&has_bits); + _impl_.team_behavior_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string control_point_configuration = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_control_point_configuration(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.CreateParticle.control_point_configuration"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool cluster = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_cluster(&has_bits); + _impl_.cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float endcap_time = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + _Internal::set_has_endcap_time(&has_bits); + _impl_.endcap_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CMsgVector aggregation_position = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_aggregation_position(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_CreateParticle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.CreateParticle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 particle_name_index = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_particle_name_index(), target); + } + + // optional int32 attach_type = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attach_type(), target); + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), target); + } + + // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_entity_handle_for_modifiers(), target); + } + + // optional bool apply_voice_ban_rules = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_apply_voice_ban_rules(), target); + } + + // optional int32 team_behavior = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_team_behavior(), target); + } + + // optional string control_point_configuration = 7; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_control_point_configuration().data(), static_cast(this->_internal_control_point_configuration().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.CreateParticle.control_point_configuration"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_control_point_configuration(), target); + } + + // optional bool cluster = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_cluster(), target); + } + + // optional float endcap_time = 9; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_endcap_time(), target); + } + + // optional .CMsgVector aggregation_position = 10; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::aggregation_position(this), + _Internal::aggregation_position(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:CUserMsg_ParticleManager.CreateParticle) + return target; +} + +size_t CUserMsg_ParticleManager_CreateParticle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.CreateParticle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string control_point_configuration = 7; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_control_point_configuration()); + } + + // optional .CMsgVector aggregation_position = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.aggregation_position_); + } + + // optional fixed64 particle_name_index = 1; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 8; + } + + // optional int32 attach_type = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_type()); + } + + // optional int32 team_behavior = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_behavior()); + } + + // optional bool apply_voice_ban_rules = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional bool cluster = 8; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional float endcap_time = 9; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00000300u) { + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle_for_modifiers()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_CreateParticle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_CreateParticle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_CreateParticle::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_CreateParticle::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:CUserMsg_ParticleManager.CreateParticle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_control_point_configuration(from._internal_control_point_configuration()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_aggregation_position()->::CMsgVector::MergeFrom( + from._internal_aggregation_position()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.particle_name_index_ = from._impl_.particle_name_index_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.attach_type_ = from._impl_.attach_type_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.team_behavior_ = from._impl_.team_behavior_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.apply_voice_ban_rules_ = from._impl_.apply_voice_ban_rules_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.cluster_ = from._impl_.cluster_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.endcap_time_ = from._impl_.endcap_time_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.entity_handle_for_modifiers_ = from._impl_.entity_handle_for_modifiers_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_CreateParticle::CopyFrom(const CUserMsg_ParticleManager_CreateParticle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.CreateParticle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_CreateParticle::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_CreateParticle::InternalSwap(CUserMsg_ParticleManager_CreateParticle* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.control_point_configuration_, lhs_arena, + &other->_impl_.control_point_configuration_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreateParticle, _impl_.endcap_time_) + + sizeof(CUserMsg_ParticleManager_CreateParticle::_impl_.endcap_time_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreateParticle, _impl_.aggregation_position_)>( + reinterpret_cast(&_impl_.aggregation_position_), + reinterpret_cast(&other->_impl_.aggregation_position_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); + swap(_impl_.entity_handle_for_modifiers_, other->_impl_.entity_handle_for_modifiers_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_CreateParticle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[38]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_DestroyParticle::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_destroy_immediately(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle(::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:CUserMsg_ParticleManager.DestroyParticle) +} +CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle(const CUserMsg_ParticleManager_DestroyParticle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_DestroyParticle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.destroy_immediately_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticle) +} + +inline void CUserMsg_ParticleManager_DestroyParticle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.destroy_immediately_){false} + }; +} + +CUserMsg_ParticleManager_DestroyParticle::~CUserMsg_ParticleManager_DestroyParticle() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_DestroyParticle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_DestroyParticle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_DestroyParticle::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.destroy_immediately_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_DestroyParticle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool destroy_immediately = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_destroy_immediately(&has_bits); + _impl_.destroy_immediately_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_DestroyParticle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool destroy_immediately = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_destroy_immediately(), 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:CUserMsg_ParticleManager.DestroyParticle) + return target; +} + +size_t CUserMsg_ParticleManager_DestroyParticle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool destroy_immediately = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_DestroyParticle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticle::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_DestroyParticle::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:CUserMsg_ParticleManager.DestroyParticle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_destroy_immediately()) { + _this->_internal_set_destroy_immediately(from._internal_destroy_immediately()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_DestroyParticle::CopyFrom(const CUserMsg_ParticleManager_DestroyParticle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_DestroyParticle::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_DestroyParticle::InternalSwap(CUserMsg_ParticleManager_DestroyParticle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.destroy_immediately_, other->_impl_.destroy_immediately_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[39]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_DestroyParticleInvolving::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_destroy_immediately(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving(::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:CUserMsg_ParticleManager.DestroyParticleInvolving) +} +CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_DestroyParticleInvolving* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.destroy_immediately_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.destroy_immediately_, &from._impl_.destroy_immediately_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.destroy_immediately_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticleInvolving) +} + +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.destroy_immediately_){false} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_DestroyParticleInvolving::~CUserMsg_ParticleManager_DestroyParticleInvolving() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticleInvolving) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_DestroyParticleInvolving::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_DestroyParticleInvolving::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticleInvolving) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.destroy_immediately_ = false; + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_DestroyParticleInvolving::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool destroy_immediately = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_destroy_immediately(&has_bits); + _impl_.destroy_immediately_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 3 [default = 16777215]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_DestroyParticleInvolving::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticleInvolving) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool destroy_immediately = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_destroy_immediately(), target); + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), 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:CUserMsg_ParticleManager.DestroyParticleInvolving) + return target; +} + +size_t CUserMsg_ParticleManager_DestroyParticleInvolving::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticleInvolving) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bool destroy_immediately = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticleInvolving::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_DestroyParticleInvolving::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticleInvolving::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_DestroyParticleInvolving::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:CUserMsg_ParticleManager.DestroyParticleInvolving) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_DestroyParticleInvolving::CopyFrom(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticleInvolving) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_DestroyParticleInvolving::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_DestroyParticleInvolving::InternalSwap(CUserMsg_ParticleManager_DestroyParticleInvolving* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.destroy_immediately_, other->_impl_.destroy_immediately_); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticleInvolving::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[40]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_DestroyParticleNamed::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_particle_name_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_destroy_immediately(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_play_endcap(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed(::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:CUserMsg_ParticleManager.DestroyParticleNamed) +} +CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed(const CUserMsg_ParticleManager_DestroyParticleNamed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_DestroyParticleNamed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.particle_name_index_){} + , decltype(_impl_.destroy_immediately_){} + , decltype(_impl_.play_endcap_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.particle_name_index_, &from._impl_.particle_name_index_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticleNamed) +} + +inline void CUserMsg_ParticleManager_DestroyParticleNamed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.particle_name_index_){uint64_t{0u}} + , decltype(_impl_.destroy_immediately_){false} + , decltype(_impl_.play_endcap_){false} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_DestroyParticleNamed::~CUserMsg_ParticleManager_DestroyParticleNamed() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticleNamed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_DestroyParticleNamed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_DestroyParticleNamed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_DestroyParticleNamed::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticleNamed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.particle_name_index_, 0, static_cast( + reinterpret_cast(&_impl_.play_endcap_) - + reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.play_endcap_)); + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_DestroyParticleNamed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed64 particle_name_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { + _Internal::set_has_particle_name_index(&has_bits); + _impl_.particle_name_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint64_t); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 2 [default = 16777215]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool destroy_immediately = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_destroy_immediately(&has_bits); + _impl_.destroy_immediately_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool play_endcap = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_play_endcap(&has_bits); + _impl_.play_endcap_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_DestroyParticleNamed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticleNamed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed64 particle_name_index = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_particle_name_index(), target); + } + + // optional uint32 entity_handle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entity_handle(), target); + } + + // optional bool destroy_immediately = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_destroy_immediately(), target); + } + + // optional bool play_endcap = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_play_endcap(), 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:CUserMsg_ParticleManager.DestroyParticleNamed) + return target; +} + +size_t CUserMsg_ParticleManager_DestroyParticleNamed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticleNamed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional fixed64 particle_name_index = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 8; + } + + // optional bool destroy_immediately = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional bool play_endcap = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + // optional uint32 entity_handle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticleNamed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_DestroyParticleNamed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticleNamed::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_DestroyParticleNamed::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:CUserMsg_ParticleManager.DestroyParticleNamed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.particle_name_index_ = from._impl_.particle_name_index_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.play_endcap_ = from._impl_.play_endcap_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_DestroyParticleNamed::CopyFrom(const CUserMsg_ParticleManager_DestroyParticleNamed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticleNamed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_DestroyParticleNamed::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_DestroyParticleNamed::InternalSwap(CUserMsg_ParticleManager_DestroyParticleNamed* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.play_endcap_) + + sizeof(CUserMsg_ParticleManager_DestroyParticleNamed::_impl_.play_endcap_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.particle_name_index_)>( + reinterpret_cast(&_impl_.particle_name_index_), + reinterpret_cast(&other->_impl_.particle_name_index_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticleNamed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[41]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_Internal::position(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* msg) { + return *msg->_impl_.position_; +} +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::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:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) +} +CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) +} + +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.control_point_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; +} + +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::position(this), + _Internal::position(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:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::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:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.control_point_) + + sizeof(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_impl_.control_point_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[42]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& forward(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* msg); + static void set_has_forward(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_Internal::forward(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* msg) { + return *msg->_impl_.forward_; +} +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::clear_forward() { + if (_impl_.forward_ != nullptr) _impl_.forward_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::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:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) +} +CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.forward_){nullptr} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_forward()) { + _this->_impl_.forward_ = new ::CMsgVector(*from._impl_.forward_); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) +} + +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.forward_){nullptr} + , decltype(_impl_.control_point_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.forward_; +} + +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.forward_ != nullptr); + _impl_.forward_->Clear(); + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector forward = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_forward(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector forward = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::forward(this), + _Internal::forward(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:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector forward = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.forward_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::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:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_forward()->::CMsgVector::MergeFrom( + from._internal_forward()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.control_point_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_impl_.control_point_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.forward_)>( + reinterpret_cast(&_impl_.forward_), + reinterpret_cast(&other->_impl_.forward_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[43]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgVector& forward(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); + static void set_has_forward(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& deprecated_right(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); + static void set_has_deprecated_right(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& up(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); + static void set_has_up(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& left(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); + static void set_has_left(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::forward(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { + return *msg->_impl_.forward_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::deprecated_right(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { + return *msg->_impl_.deprecated_right_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::up(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { + return *msg->_impl_.up_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::left(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { + return *msg->_impl_.left_; +} +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_forward() { + if (_impl_.forward_ != nullptr) _impl_.forward_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_deprecated_right() { + if (_impl_.deprecated_right_ != nullptr) _impl_.deprecated_right_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_up() { + if (_impl_.up_ != nullptr) _impl_.up_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_left() { + if (_impl_.left_ != nullptr) _impl_.left_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::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:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) +} +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.forward_){nullptr} + , decltype(_impl_.deprecated_right_){nullptr} + , decltype(_impl_.up_){nullptr} + , decltype(_impl_.left_){nullptr} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_forward()) { + _this->_impl_.forward_ = new ::CMsgVector(*from._impl_.forward_); + } + if (from._internal_has_deprecated_right()) { + _this->_impl_.deprecated_right_ = new ::CMsgVector(*from._impl_.deprecated_right_); + } + if (from._internal_has_up()) { + _this->_impl_.up_ = new ::CMsgVector(*from._impl_.up_); + } + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::CMsgVector(*from._impl_.left_); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) +} + +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.forward_){nullptr} + , decltype(_impl_.deprecated_right_){nullptr} + , decltype(_impl_.up_){nullptr} + , decltype(_impl_.left_){nullptr} + , decltype(_impl_.control_point_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.forward_; + if (this != internal_default_instance()) delete _impl_.deprecated_right_; + if (this != internal_default_instance()) delete _impl_.up_; + if (this != internal_default_instance()) delete _impl_.left_; +} + +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.forward_ != nullptr); + _impl_.forward_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.deprecated_right_ != nullptr); + _impl_.deprecated_right_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.up_ != nullptr); + _impl_.up_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.left_ != nullptr); + _impl_.left_->Clear(); + } + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector forward = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_forward(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector deprecated_right = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_deprecated_right(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector up = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_up(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector left = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector forward = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::forward(this), + _Internal::forward(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector deprecated_right = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::deprecated_right(this), + _Internal::deprecated_right(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector up = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::up(this), + _Internal::up(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector left = 5; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::left(this), + _Internal::left(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:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional .CMsgVector forward = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.forward_); + } + + // optional .CMsgVector deprecated_right = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.deprecated_right_); + } + + // optional .CMsgVector up = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.up_); + } + + // optional .CMsgVector left = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::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:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_forward()->::CMsgVector::MergeFrom( + from._internal_forward()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_deprecated_right()->::CMsgVector::MergeFrom( + from._internal_deprecated_right()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_up()->::CMsgVector::MergeFrom( + from._internal_up()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_left()->::CMsgVector::MergeFrom( + from._internal_left()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.control_point_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_impl_.control_point_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.forward_)>( + reinterpret_cast(&_impl_.forward_), + reinterpret_cast(&other->_impl_.forward_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[44]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleTransform::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticleTransform* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQuaternion& orientation(const CUserMsg_ParticleManager_UpdateParticleTransform* msg); + static void set_has_orientation(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_interpolation_interval(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleTransform::_Internal::position(const CUserMsg_ParticleManager_UpdateParticleTransform* msg) { + return *msg->_impl_.position_; +} +const ::CMsgQuaternion& +CUserMsg_ParticleManager_UpdateParticleTransform::_Internal::orientation(const CUserMsg_ParticleManager_UpdateParticleTransform* msg) { + return *msg->_impl_.orientation_; +} +void CUserMsg_ParticleManager_UpdateParticleTransform::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_UpdateParticleTransform::clear_orientation() { + if (_impl_.orientation_ != nullptr) _impl_.orientation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform(::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:CUserMsg_ParticleManager.UpdateParticleTransform) +} +CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform(const CUserMsg_ParticleManager_UpdateParticleTransform& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleTransform* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.orientation_){nullptr} + , decltype(_impl_.control_point_){} + , decltype(_impl_.interpolation_interval_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + if (from._internal_has_orientation()) { + _this->_impl_.orientation_ = new ::CMsgQuaternion(*from._impl_.orientation_); + } + ::memcpy(&_impl_.control_point_, &from._impl_.control_point_, + static_cast(reinterpret_cast(&_impl_.interpolation_interval_) - + reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.interpolation_interval_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleTransform) +} + +inline void CUserMsg_ParticleManager_UpdateParticleTransform::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.orientation_){nullptr} + , decltype(_impl_.control_point_){0} + , decltype(_impl_.interpolation_interval_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleTransform::~CUserMsg_ParticleManager_UpdateParticleTransform() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleTransform) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleTransform::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; + if (this != internal_default_instance()) delete _impl_.orientation_; +} + +void CUserMsg_ParticleManager_UpdateParticleTransform::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleTransform::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleTransform) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.orientation_ != nullptr); + _impl_.orientation_->Clear(); + } + } + if (cached_has_bits & 0x0000000cu) { + ::memset(&_impl_.control_point_, 0, static_cast( + reinterpret_cast(&_impl_.interpolation_interval_) - + reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.interpolation_interval_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleTransform::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQuaternion orientation = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_orientation(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float interpolation_interval = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_interpolation_interval(&has_bits); + _impl_.interpolation_interval_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleTransform::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleTransform) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::position(this), + _Internal::position(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQuaternion orientation = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::orientation(this), + _Internal::orientation(this).GetCachedSize(), target, stream); + } + + // optional float interpolation_interval = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_interpolation_interval(), 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:CUserMsg_ParticleManager.UpdateParticleTransform) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleTransform::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleTransform) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional .CMsgQuaternion orientation = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.orientation_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + // optional float interpolation_interval = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleTransform::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleTransform::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleTransform::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleTransform::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:CUserMsg_ParticleManager.UpdateParticleTransform) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_orientation()->::CMsgQuaternion::MergeFrom( + from._internal_orientation()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.interpolation_interval_ = from._impl_.interpolation_interval_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleTransform::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleTransform& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleTransform) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleTransform::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleTransform::InternalSwap(CUserMsg_ParticleManager_UpdateParticleTransform* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.interpolation_interval_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleTransform::_impl_.interpolation_interval_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleTransform::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[45]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleFallback::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticleFallback* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleFallback::_Internal::position(const CUserMsg_ParticleManager_UpdateParticleFallback* msg) { + return *msg->_impl_.position_; +} +void CUserMsg_ParticleManager_UpdateParticleFallback::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback(::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:CUserMsg_ParticleManager.UpdateParticleFallback) +} +CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback(const CUserMsg_ParticleManager_UpdateParticleFallback& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleFallback* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleFallback) +} + +inline void CUserMsg_ParticleManager_UpdateParticleFallback::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.control_point_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleFallback::~CUserMsg_ParticleManager_UpdateParticleFallback() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleFallback) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleFallback::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; +} + +void CUserMsg_ParticleManager_UpdateParticleFallback::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleFallback::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleFallback) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleFallback::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleFallback::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleFallback) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::position(this), + _Internal::position(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:CUserMsg_ParticleManager.UpdateParticleFallback) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleFallback::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleFallback) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleFallback::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleFallback::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleFallback::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleFallback::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:CUserMsg_ParticleManager.UpdateParticleFallback) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleFallback::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFallback& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleFallback) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleFallback::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleFallback::InternalSwap(CUserMsg_ParticleManager_UpdateParticleFallback* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.control_point_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleFallback::_impl_.control_point_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleFallback::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[46]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleOffset::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& origin_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg); + static void set_has_origin_offset(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgQAngle& angle_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg); + static void set_has_angle_offset(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleOffset::_Internal::origin_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg) { + return *msg->_impl_.origin_offset_; +} +const ::CMsgQAngle& +CUserMsg_ParticleManager_UpdateParticleOffset::_Internal::angle_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg) { + return *msg->_impl_.angle_offset_; +} +void CUserMsg_ParticleManager_UpdateParticleOffset::clear_origin_offset() { + if (_impl_.origin_offset_ != nullptr) _impl_.origin_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_UpdateParticleOffset::clear_angle_offset() { + if (_impl_.angle_offset_ != nullptr) _impl_.angle_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset(::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:CUserMsg_ParticleManager.UpdateParticleOffset) +} +CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset(const CUserMsg_ParticleManager_UpdateParticleOffset& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleOffset* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_offset_){nullptr} + , decltype(_impl_.angle_offset_){nullptr} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin_offset()) { + _this->_impl_.origin_offset_ = new ::CMsgVector(*from._impl_.origin_offset_); + } + if (from._internal_has_angle_offset()) { + _this->_impl_.angle_offset_ = new ::CMsgQAngle(*from._impl_.angle_offset_); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleOffset) +} + +inline void CUserMsg_ParticleManager_UpdateParticleOffset::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_offset_){nullptr} + , decltype(_impl_.angle_offset_){nullptr} + , decltype(_impl_.control_point_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleOffset::~CUserMsg_ParticleManager_UpdateParticleOffset() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleOffset) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleOffset::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_offset_; + if (this != internal_default_instance()) delete _impl_.angle_offset_; +} + +void CUserMsg_ParticleManager_UpdateParticleOffset::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleOffset::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleOffset) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_offset_ != nullptr); + _impl_.origin_offset_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.angle_offset_ != nullptr); + _impl_.angle_offset_->Clear(); + } + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleOffset::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector origin_offset = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_origin_offset(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angle_offset = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_angle_offset(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleOffset::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleOffset) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional .CMsgVector origin_offset = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::origin_offset(this), + _Internal::origin_offset(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle angle_offset = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::angle_offset(this), + _Internal::angle_offset(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:CUserMsg_ParticleManager.UpdateParticleOffset) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleOffset::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleOffset) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgVector origin_offset = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_offset_); + } + + // optional .CMsgQAngle angle_offset = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angle_offset_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleOffset::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleOffset::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleOffset::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleOffset::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:CUserMsg_ParticleManager.UpdateParticleOffset) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin_offset()->::CMsgVector::MergeFrom( + from._internal_origin_offset()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_angle_offset()->::CMsgQAngle::MergeFrom( + from._internal_angle_offset()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleOffset::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOffset& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleOffset) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleOffset::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleOffset::InternalSwap(CUserMsg_ParticleManager_UpdateParticleOffset* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.control_point_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleOffset::_impl_.control_point_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.origin_offset_)>( + reinterpret_cast(&_impl_.origin_offset_), + reinterpret_cast(&other->_impl_.origin_offset_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleOffset::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[47]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleEnt::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_attach_type(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_attachment(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgVector& fallback_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); + static void set_has_fallback_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_include_wearables(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgVector& offset_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); + static void set_has_offset_position(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgQAngle& offset_angles(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); + static void set_has_offset_angles(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::fallback_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { + return *msg->_impl_.fallback_position_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::offset_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { + return *msg->_impl_.offset_position_; +} +const ::CMsgQAngle& +CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::offset_angles(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { + return *msg->_impl_.offset_angles_; +} +void CUserMsg_ParticleManager_UpdateParticleEnt::clear_fallback_position() { + if (_impl_.fallback_position_ != nullptr) _impl_.fallback_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_UpdateParticleEnt::clear_offset_position() { + if (_impl_.offset_position_ != nullptr) _impl_.offset_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CUserMsg_ParticleManager_UpdateParticleEnt::clear_offset_angles() { + if (_impl_.offset_angles_ != nullptr) _impl_.offset_angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt(::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:CUserMsg_ParticleManager.UpdateParticleEnt) +} +CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt(const CUserMsg_ParticleManager_UpdateParticleEnt& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleEnt* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fallback_position_){nullptr} + , decltype(_impl_.offset_position_){nullptr} + , decltype(_impl_.offset_angles_){nullptr} + , decltype(_impl_.control_point_){} + , decltype(_impl_.attach_type_){} + , decltype(_impl_.attachment_){} + , decltype(_impl_.include_wearables_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_fallback_position()) { + _this->_impl_.fallback_position_ = new ::CMsgVector(*from._impl_.fallback_position_); + } + if (from._internal_has_offset_position()) { + _this->_impl_.offset_position_ = new ::CMsgVector(*from._impl_.offset_position_); + } + if (from._internal_has_offset_angles()) { + _this->_impl_.offset_angles_ = new ::CMsgQAngle(*from._impl_.offset_angles_); + } + ::memcpy(&_impl_.control_point_, &from._impl_.control_point_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleEnt) +} + +inline void CUserMsg_ParticleManager_UpdateParticleEnt::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fallback_position_){nullptr} + , decltype(_impl_.offset_position_){nullptr} + , decltype(_impl_.offset_angles_){nullptr} + , decltype(_impl_.control_point_){0} + , decltype(_impl_.attach_type_){0} + , decltype(_impl_.attachment_){0} + , decltype(_impl_.include_wearables_){false} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_UpdateParticleEnt::~CUserMsg_ParticleManager_UpdateParticleEnt() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleEnt) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleEnt::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.fallback_position_; + if (this != internal_default_instance()) delete _impl_.offset_position_; + if (this != internal_default_instance()) delete _impl_.offset_angles_; +} + +void CUserMsg_ParticleManager_UpdateParticleEnt::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleEnt::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleEnt) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.fallback_position_ != nullptr); + _impl_.fallback_position_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.offset_position_ != nullptr); + _impl_.offset_position_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.offset_angles_ != nullptr); + _impl_.offset_angles_->Clear(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.control_point_, 0, static_cast( + reinterpret_cast(&_impl_.include_wearables_) - + reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.include_wearables_)); + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleEnt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 2 [default = 16777215]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attach_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_attach_type(&has_bits); + _impl_.attach_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attachment = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_attachment(&has_bits); + _impl_.attachment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fallback_position = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_fallback_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool include_wearables = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_include_wearables(&has_bits); + _impl_.include_wearables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector offset_position = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_offset_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle offset_angles = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_offset_angles(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleEnt::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleEnt) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional uint32 entity_handle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entity_handle(), target); + } + + // optional int32 attach_type = 3; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_attach_type(), target); + } + + // optional int32 attachment = 4; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_attachment(), target); + } + + // optional .CMsgVector fallback_position = 5; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::fallback_position(this), + _Internal::fallback_position(this).GetCachedSize(), target, stream); + } + + // optional bool include_wearables = 6; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_include_wearables(), target); + } + + // optional .CMsgVector offset_position = 7; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::offset_position(this), + _Internal::offset_position(this).GetCachedSize(), target, stream); + } + + // optional .CMsgQAngle offset_angles = 8; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::offset_angles(this), + _Internal::offset_angles(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:CUserMsg_ParticleManager.UpdateParticleEnt) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleEnt::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleEnt) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CMsgVector fallback_position = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fallback_position_); + } + + // optional .CMsgVector offset_position = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.offset_position_); + } + + // optional .CMsgQAngle offset_angles = 8; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.offset_angles_); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + // optional int32 attach_type = 3; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_type()); + } + + // optional int32 attachment = 4; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment()); + } + + // optional bool include_wearables = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 1; + } + + // optional uint32 entity_handle = 2 [default = 16777215]; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleEnt::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleEnt::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleEnt::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleEnt::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:CUserMsg_ParticleManager.UpdateParticleEnt) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_fallback_position()->::CMsgVector::MergeFrom( + from._internal_fallback_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_offset_position()->::CMsgVector::MergeFrom( + from._internal_offset_position()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_offset_angles()->::CMsgQAngle::MergeFrom( + from._internal_offset_angles()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.attach_type_ = from._impl_.attach_type_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.attachment_ = from._impl_.attachment_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.include_wearables_ = from._impl_.include_wearables_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleEnt::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleEnt& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleEnt) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleEnt::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleEnt::InternalSwap(CUserMsg_ParticleManager_UpdateParticleEnt* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.include_wearables_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleEnt::_impl_.include_wearables_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.fallback_position_)>( + reinterpret_cast(&_impl_.fallback_position_), + reinterpret_cast(&other->_impl_.fallback_position_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleEnt::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[48]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleSetFrozen::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_set_frozen(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_transition_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen(::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:CUserMsg_ParticleManager.UpdateParticleSetFrozen) +} +CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleSetFrozen* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.set_frozen_){} + , decltype(_impl_.transition_duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.set_frozen_, &from._impl_.set_frozen_, + static_cast(reinterpret_cast(&_impl_.transition_duration_) - + reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleSetFrozen) +} + +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.set_frozen_){false} + , decltype(_impl_.transition_duration_){0} + }; +} + +CUserMsg_ParticleManager_UpdateParticleSetFrozen::~CUserMsg_ParticleManager_UpdateParticleSetFrozen() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.set_frozen_, 0, static_cast( + reinterpret_cast(&_impl_.transition_duration_) - + reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleSetFrozen::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool set_frozen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_set_frozen(&has_bits); + _impl_.set_frozen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float transition_duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_transition_duration(&has_bits); + _impl_.transition_duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleSetFrozen::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool set_frozen = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_set_frozen(), target); + } + + // optional float transition_duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_transition_duration(), 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:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleSetFrozen::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bool set_frozen = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional float transition_duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleSetFrozen::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleSetFrozen::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleSetFrozen::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:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.set_frozen_ = from._impl_.set_frozen_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.transition_duration_ = from._impl_.transition_duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleSetFrozen::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleSetFrozen::InternalSwap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.transition_duration_) + + sizeof(CUserMsg_ParticleManager_UpdateParticleSetFrozen::_impl_.transition_duration_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.set_frozen_)>( + reinterpret_cast(&_impl_.set_frozen_), + reinterpret_cast(&other->_impl_.set_frozen_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleSetFrozen::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[49]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateParticleShouldDraw::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_should_draw(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw(::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:CUserMsg_ParticleManager.UpdateParticleShouldDraw) +} +CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateParticleShouldDraw* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.should_draw_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.should_draw_ = from._impl_.should_draw_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleShouldDraw) +} + +inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.should_draw_){false} + }; +} + +CUserMsg_ParticleManager_UpdateParticleShouldDraw::~CUserMsg_ParticleManager_UpdateParticleShouldDraw() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.should_draw_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateParticleShouldDraw::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool should_draw = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_should_draw(&has_bits); + _impl_.should_draw_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateParticleShouldDraw::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool should_draw = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_should_draw(), 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:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateParticleShouldDraw::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool should_draw = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleShouldDraw::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleShouldDraw::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateParticleShouldDraw::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:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_should_draw()) { + _this->_internal_set_should_draw(from._internal_should_draw()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateParticleShouldDraw::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateParticleShouldDraw::InternalSwap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.should_draw_, other->_impl_.should_draw_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleShouldDraw::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[50]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ChangeControlPointAttachment::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_attachment_old(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_attachment_new(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment(::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:CUserMsg_ParticleManager.ChangeControlPointAttachment) +} +CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_ChangeControlPointAttachment* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attachment_old_){} + , decltype(_impl_.attachment_new_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.attachment_old_, &from._impl_.attachment_old_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.attachment_old_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ChangeControlPointAttachment) +} + +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attachment_old_){0} + , decltype(_impl_.attachment_new_){0} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_ChangeControlPointAttachment::~CUserMsg_ParticleManager_ChangeControlPointAttachment() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ChangeControlPointAttachment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_ChangeControlPointAttachment::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_ChangeControlPointAttachment::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.attachment_old_, 0, static_cast( + reinterpret_cast(&_impl_.attachment_new_) - + reinterpret_cast(&_impl_.attachment_old_)) + sizeof(_impl_.attachment_new_)); + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_ChangeControlPointAttachment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 attachment_old = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_attachment_old(&has_bits); + _impl_.attachment_old_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 attachment_new = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_attachment_new(&has_bits); + _impl_.attachment_new_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 3 [default = 16777215]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_ChangeControlPointAttachment::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 attachment_old = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_attachment_old(), target); + } + + // optional int32 attachment_new = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attachment_new(), target); + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), 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:CUserMsg_ParticleManager.ChangeControlPointAttachment) + return target; +} + +size_t CUserMsg_ParticleManager_ChangeControlPointAttachment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 attachment_old = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment_old()); + } + + // optional int32 attachment_new = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment_new()); + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ChangeControlPointAttachment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ChangeControlPointAttachment::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_ChangeControlPointAttachment::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:CUserMsg_ParticleManager.ChangeControlPointAttachment) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.attachment_old_ = from._impl_.attachment_old_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.attachment_new_ = from._impl_.attachment_new_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_ChangeControlPointAttachment::CopyFrom(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_ChangeControlPointAttachment::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_ChangeControlPointAttachment::InternalSwap(CUserMsg_ParticleManager_ChangeControlPointAttachment* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_new_) + + sizeof(CUserMsg_ParticleManager_ChangeControlPointAttachment::_impl_.attachment_new_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_old_)>( + reinterpret_cast(&_impl_.attachment_old_), + reinterpret_cast(&other->_impl_.attachment_old_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ChangeControlPointAttachment::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[51]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateEntityPosition::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateEntityPosition* msg); + static void set_has_position(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateEntityPosition::_Internal::position(const CUserMsg_ParticleManager_UpdateEntityPosition* msg) { + return *msg->_impl_.position_; +} +void CUserMsg_ParticleManager_UpdateEntityPosition::clear_position() { + if (_impl_.position_ != nullptr) _impl_.position_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition(::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:CUserMsg_ParticleManager.UpdateEntityPosition) +} +CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition(const CUserMsg_ParticleManager_UpdateEntityPosition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateEntityPosition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_position()) { + _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); + } + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateEntityPosition) +} + +inline void CUserMsg_ParticleManager_UpdateEntityPosition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.position_){nullptr} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_UpdateEntityPosition::~CUserMsg_ParticleManager_UpdateEntityPosition() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateEntityPosition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateEntityPosition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.position_; +} + +void CUserMsg_ParticleManager_UpdateEntityPosition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateEntityPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateEntityPosition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); + } + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateEntityPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 entity_handle = 1 [default = 16777215]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_position(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateEntityPosition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateEntityPosition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 entity_handle = 1 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_entity_handle(), target); + } + + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::position(this), + _Internal::position(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:CUserMsg_ParticleManager.UpdateEntityPosition) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateEntityPosition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateEntityPosition) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector position = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.position_); + } + + // optional uint32 entity_handle = 1 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateEntityPosition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateEntityPosition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateEntityPosition::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateEntityPosition::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:CUserMsg_ParticleManager.UpdateEntityPosition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_position()->::CMsgVector::MergeFrom( + from._internal_position()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateEntityPosition::CopyFrom(const CUserMsg_ParticleManager_UpdateEntityPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateEntityPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateEntityPosition::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateEntityPosition::InternalSwap(CUserMsg_ParticleManager_UpdateEntityPosition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.position_, other->_impl_.position_); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateEntityPosition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[52]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleFoWProperties::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_fow_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_fow_control_point2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_fow_radius(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties(::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:CUserMsg_ParticleManager.SetParticleFoWProperties) +} +CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleFoWProperties* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fow_control_point_){} + , decltype(_impl_.fow_control_point2_){} + , decltype(_impl_.fow_radius_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.fow_control_point_, &from._impl_.fow_control_point_, + static_cast(reinterpret_cast(&_impl_.fow_radius_) - + reinterpret_cast(&_impl_.fow_control_point_)) + sizeof(_impl_.fow_radius_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleFoWProperties) +} + +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fow_control_point_){0} + , decltype(_impl_.fow_control_point2_){0} + , decltype(_impl_.fow_radius_){0} + }; +} + +CUserMsg_ParticleManager_SetParticleFoWProperties::~CUserMsg_ParticleManager_SetParticleFoWProperties() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleFoWProperties) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetParticleFoWProperties::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleFoWProperties::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleFoWProperties) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.fow_control_point_, 0, static_cast( + reinterpret_cast(&_impl_.fow_radius_) - + reinterpret_cast(&_impl_.fow_control_point_)) + sizeof(_impl_.fow_radius_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleFoWProperties::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 fow_control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_fow_control_point(&has_bits); + _impl_.fow_control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 fow_control_point2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_fow_control_point2(&has_bits); + _impl_.fow_control_point2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float fow_radius = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_fow_radius(&has_bits); + _impl_.fow_radius_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleFoWProperties::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleFoWProperties) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 fow_control_point = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_fow_control_point(), target); + } + + // optional int32 fow_control_point2 = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_fow_control_point2(), target); + } + + // optional float fow_radius = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_fow_radius(), 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:CUserMsg_ParticleManager.SetParticleFoWProperties) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleFoWProperties::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleFoWProperties) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 fow_control_point = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fow_control_point()); + } + + // optional int32 fow_control_point2 = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fow_control_point2()); + } + + // optional float fow_radius = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleFoWProperties::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleFoWProperties::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleFoWProperties::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleFoWProperties::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:CUserMsg_ParticleManager.SetParticleFoWProperties) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.fow_control_point_ = from._impl_.fow_control_point_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.fow_control_point2_ = from._impl_.fow_control_point2_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.fow_radius_ = from._impl_.fow_radius_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleFoWProperties::CopyFrom(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleFoWProperties) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleFoWProperties::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleFoWProperties::InternalSwap(CUserMsg_ParticleManager_SetParticleFoWProperties* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_radius_) + + sizeof(CUserMsg_ParticleManager_SetParticleFoWProperties::_impl_.fow_radius_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point_)>( + reinterpret_cast(&_impl_.fow_control_point_), + reinterpret_cast(&other->_impl_.fow_control_point_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleFoWProperties::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[53]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_check_fow(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::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:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) +} +CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleShouldCheckFoW* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.check_fow_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.check_fow_ = from._impl_.check_fow_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) +} + +inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.check_fow_){false} + }; +} + +CUserMsg_ParticleManager_SetParticleShouldCheckFoW::~CUserMsg_ParticleManager_SetParticleShouldCheckFoW() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.check_fow_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool check_fow = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_check_fow(&has_bits); + _impl_.check_fow_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool check_fow = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_check_fow(), 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:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleShouldCheckFoW::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool check_fow = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleShouldCheckFoW::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::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:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_check_fow()) { + _this->_internal_set_check_fow(from._internal_check_fow()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CopyFrom(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::InternalSwap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.check_fow_, other->_impl_.check_fow_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleShouldCheckFoW::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[54]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetControlPointModel::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_model_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel(::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:CUserMsg_ParticleManager.SetControlPointModel) +} +CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel(const CUserMsg_ParticleManager_SetControlPointModel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetControlPointModel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.model_name_){} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.model_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_model_name()) { + _this->_impl_.model_name_.Set(from._internal_model_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetControlPointModel) +} + +inline void CUserMsg_ParticleManager_SetControlPointModel::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.model_name_){} + , decltype(_impl_.control_point_){0} + }; + _impl_.model_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetControlPointModel::~CUserMsg_ParticleManager_SetControlPointModel() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetControlPointModel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetControlPointModel::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.model_name_.Destroy(); +} + +void CUserMsg_ParticleManager_SetControlPointModel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetControlPointModel::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetControlPointModel) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.model_name_.ClearNonDefaultToEmpty(); + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetControlPointModel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string model_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_model_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetControlPointModel.model_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetControlPointModel::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetControlPointModel) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional string model_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_model_name().data(), static_cast(this->_internal_model_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetControlPointModel.model_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_model_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:CUserMsg_ParticleManager.SetControlPointModel) + return target; +} + +size_t CUserMsg_ParticleManager_SetControlPointModel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetControlPointModel) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string model_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_model_name()); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetControlPointModel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetControlPointModel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetControlPointModel::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetControlPointModel::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:CUserMsg_ParticleManager.SetControlPointModel) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_model_name(from._internal_model_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetControlPointModel::CopyFrom(const CUserMsg_ParticleManager_SetControlPointModel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetControlPointModel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetControlPointModel::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetControlPointModel::InternalSwap(CUserMsg_ParticleManager_SetControlPointModel* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.model_name_, lhs_arena, + &other->_impl_.model_name_, rhs_arena + ); + swap(_impl_.control_point_, other->_impl_.control_point_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetControlPointModel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[55]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetControlPointSnapshot::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_control_point(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_snapshot_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot(::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:CUserMsg_ParticleManager.SetControlPointSnapshot) +} +CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetControlPointSnapshot* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.snapshot_name_){} + , decltype(_impl_.control_point_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.snapshot_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.snapshot_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_snapshot_name()) { + _this->_impl_.snapshot_name_.Set(from._internal_snapshot_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.control_point_ = from._impl_.control_point_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetControlPointSnapshot) +} + +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.snapshot_name_){} + , decltype(_impl_.control_point_){0} + }; + _impl_.snapshot_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.snapshot_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetControlPointSnapshot::~CUserMsg_ParticleManager_SetControlPointSnapshot() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetControlPointSnapshot) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.snapshot_name_.Destroy(); +} + +void CUserMsg_ParticleManager_SetControlPointSnapshot::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetControlPointSnapshot::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetControlPointSnapshot) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.snapshot_name_.ClearNonDefaultToEmpty(); + } + _impl_.control_point_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetControlPointSnapshot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 control_point = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_control_point(&has_bits); + _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string snapshot_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_snapshot_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetControlPointSnapshot::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetControlPointSnapshot) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); + } + + // optional string snapshot_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_snapshot_name().data(), static_cast(this->_internal_snapshot_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_snapshot_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:CUserMsg_ParticleManager.SetControlPointSnapshot) + return target; +} + +size_t CUserMsg_ParticleManager_SetControlPointSnapshot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetControlPointSnapshot) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string snapshot_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_snapshot_name()); + } + + // optional int32 control_point = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetControlPointSnapshot::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetControlPointSnapshot::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetControlPointSnapshot::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetControlPointSnapshot::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:CUserMsg_ParticleManager.SetControlPointSnapshot) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_snapshot_name(from._internal_snapshot_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.control_point_ = from._impl_.control_point_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetControlPointSnapshot::CopyFrom(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetControlPointSnapshot) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetControlPointSnapshot::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetControlPointSnapshot::InternalSwap(CUserMsg_ParticleManager_SetControlPointSnapshot* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.snapshot_name_, lhs_arena, + &other->_impl_.snapshot_name_, rhs_arena + ); + swap(_impl_.control_point_, other->_impl_.control_point_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetControlPointSnapshot::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[56]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleText::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_text(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText(::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:CUserMsg_ParticleManager.SetParticleText) +} +CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText(const CUserMsg_ParticleManager_SetParticleText& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleText* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){}}; + + _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_has_text()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleText) +} + +inline void CUserMsg_ParticleManager_SetParticleText::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.text_){} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetParticleText::~CUserMsg_ParticleManager_SetParticleText() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleText) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleText::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CUserMsg_ParticleManager_SetParticleText::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleText::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleText) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.text_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetParticleText.text"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleText::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleText) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string text = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetParticleText.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:CUserMsg_ParticleManager.SetParticleText) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleText::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleText) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string text = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + 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 CUserMsg_ParticleManager_SetParticleText::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleText::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleText::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleText::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:CUserMsg_ParticleManager.SetParticleText) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_text()) { + _this->_internal_set_text(from._internal_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleText::CopyFrom(const CUserMsg_ParticleManager_SetParticleText& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleText) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleText::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleText::InternalSwap(CUserMsg_ParticleManager_SetParticleText* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleText::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[57]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetTextureAttribute::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_attribute_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_texture_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute(::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:CUserMsg_ParticleManager.SetTextureAttribute) +} +CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute(const CUserMsg_ParticleManager_SetTextureAttribute& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetTextureAttribute* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attribute_name_){} + , decltype(_impl_.texture_name_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.attribute_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.attribute_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_attribute_name()) { + _this->_impl_.attribute_name_.Set(from._internal_attribute_name(), + _this->GetArenaForAllocation()); + } + _impl_.texture_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.texture_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_texture_name()) { + _this->_impl_.texture_name_.Set(from._internal_texture_name(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetTextureAttribute) +} + +inline void CUserMsg_ParticleManager_SetTextureAttribute::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.attribute_name_){} + , decltype(_impl_.texture_name_){} + }; + _impl_.attribute_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.attribute_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.texture_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.texture_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetTextureAttribute::~CUserMsg_ParticleManager_SetTextureAttribute() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetTextureAttribute) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetTextureAttribute::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.attribute_name_.Destroy(); + _impl_.texture_name_.Destroy(); +} + +void CUserMsg_ParticleManager_SetTextureAttribute::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetTextureAttribute::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetTextureAttribute) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.attribute_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.texture_name_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetTextureAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string attribute_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_attribute_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetTextureAttribute.attribute_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string texture_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_texture_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetTextureAttribute.texture_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetTextureAttribute::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetTextureAttribute) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string attribute_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_attribute_name().data(), static_cast(this->_internal_attribute_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetTextureAttribute.attribute_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_attribute_name(), target); + } + + // optional string texture_name = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_texture_name().data(), static_cast(this->_internal_texture_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetTextureAttribute.texture_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_texture_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:CUserMsg_ParticleManager.SetTextureAttribute) + return target; +} + +size_t CUserMsg_ParticleManager_SetTextureAttribute::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetTextureAttribute) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string attribute_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_attribute_name()); + } + + // optional string texture_name = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_texture_name()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetTextureAttribute::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetTextureAttribute::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetTextureAttribute::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetTextureAttribute::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:CUserMsg_ParticleManager.SetTextureAttribute) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_attribute_name(from._internal_attribute_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_texture_name(from._internal_texture_name()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetTextureAttribute::CopyFrom(const CUserMsg_ParticleManager_SetTextureAttribute& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetTextureAttribute) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetTextureAttribute::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetTextureAttribute::InternalSwap(CUserMsg_ParticleManager_SetTextureAttribute* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.attribute_name_, lhs_arena, + &other->_impl_.attribute_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.texture_name_, lhs_arena, + &other->_impl_.texture_name_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetTextureAttribute::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[58]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_flag_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::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:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) +} +CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetSceneObjectGenericFlag* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flag_value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.flag_value_ = from._impl_.flag_value_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) +} + +inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.flag_value_){false} + }; +} + +CUserMsg_ParticleManager_SetSceneObjectGenericFlag::~CUserMsg_ParticleManager_SetSceneObjectGenericFlag() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.flag_value_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool flag_value = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_flag_value(&has_bits); + _impl_.flag_value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool flag_value = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_flag_value(), 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:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + return target; +} + +size_t CUserMsg_ParticleManager_SetSceneObjectGenericFlag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool flag_value = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetSceneObjectGenericFlag::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::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:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_flag_value()) { + _this->_internal_set_flag_value(from._internal_flag_value()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::InternalSwap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flag_value_, other->_impl_.flag_value_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetSceneObjectGenericFlag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[59]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_tint(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_desat(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::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:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) +} +CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tint_){} + , decltype(_impl_.desat_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.tint_, &from._impl_.tint_, + static_cast(reinterpret_cast(&_impl_.desat_) - + reinterpret_cast(&_impl_.tint_)) + sizeof(_impl_.desat_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) +} + +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.tint_){0u} + , decltype(_impl_.desat_){0} + }; +} + +CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::~CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.tint_, 0, static_cast( + reinterpret_cast(&_impl_.desat_) - + reinterpret_cast(&_impl_.tint_)) + sizeof(_impl_.desat_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 tint = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_tint(&has_bits); + _impl_.tint_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional float desat = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_desat(&has_bits); + _impl_.desat_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 tint = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_tint(), target); + } + + // optional float desat = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_desat(), 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:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + return target; +} + +size_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional fixed32 tint = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional float desat = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::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:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.tint_ = from._impl_.tint_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.desat_ = from._impl_.desat_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::InternalSwap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.desat_) + + sizeof(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_impl_.desat_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.tint_)>( + reinterpret_cast(&_impl_.tint_), + reinterpret_cast(&other->_impl_.tint_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[60]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ParticleSkipToTime::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_skip_to_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime(::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:CUserMsg_ParticleManager.ParticleSkipToTime) +} +CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime(const CUserMsg_ParticleManager_ParticleSkipToTime& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_ParticleSkipToTime* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.skip_to_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.skip_to_time_ = from._impl_.skip_to_time_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleSkipToTime) +} + +inline void CUserMsg_ParticleManager_ParticleSkipToTime::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.skip_to_time_){0} + }; +} + +CUserMsg_ParticleManager_ParticleSkipToTime::~CUserMsg_ParticleManager_ParticleSkipToTime() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleSkipToTime) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_ParticleSkipToTime::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_ParticleSkipToTime::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_ParticleSkipToTime::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleSkipToTime) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.skip_to_time_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_ParticleSkipToTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float skip_to_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_skip_to_time(&has_bits); + _impl_.skip_to_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_ParticleSkipToTime::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleSkipToTime) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float skip_to_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_skip_to_time(), 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:CUserMsg_ParticleManager.ParticleSkipToTime) + return target; +} + +size_t CUserMsg_ParticleManager_ParticleSkipToTime::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleSkipToTime) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float skip_to_time = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleSkipToTime::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_ParticleSkipToTime::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleSkipToTime::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_ParticleSkipToTime::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:CUserMsg_ParticleManager.ParticleSkipToTime) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_skip_to_time()) { + _this->_internal_set_skip_to_time(from._internal_skip_to_time()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_ParticleSkipToTime::CopyFrom(const CUserMsg_ParticleManager_ParticleSkipToTime& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleSkipToTime) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_ParticleSkipToTime::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_ParticleSkipToTime::InternalSwap(CUserMsg_ParticleManager_ParticleSkipToTime* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.skip_to_time_, other->_impl_.skip_to_time_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleSkipToTime::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[61]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ParticleCanFreeze::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_can_freeze(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze(::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:CUserMsg_ParticleManager.ParticleCanFreeze) +} +CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze(const CUserMsg_ParticleManager_ParticleCanFreeze& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_ParticleCanFreeze* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.can_freeze_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.can_freeze_ = from._impl_.can_freeze_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleCanFreeze) +} + +inline void CUserMsg_ParticleManager_ParticleCanFreeze::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.can_freeze_){false} + }; +} + +CUserMsg_ParticleManager_ParticleCanFreeze::~CUserMsg_ParticleManager_ParticleCanFreeze() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleCanFreeze) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_ParticleCanFreeze::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_ParticleCanFreeze::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_ParticleCanFreeze::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleCanFreeze) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.can_freeze_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_ParticleCanFreeze::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool can_freeze = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_can_freeze(&has_bits); + _impl_.can_freeze_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_ParticleCanFreeze::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleCanFreeze) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool can_freeze = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_can_freeze(), 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:CUserMsg_ParticleManager.ParticleCanFreeze) + return target; +} + +size_t CUserMsg_ParticleManager_ParticleCanFreeze::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleCanFreeze) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional bool can_freeze = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleCanFreeze::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_ParticleCanFreeze::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleCanFreeze::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_ParticleCanFreeze::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:CUserMsg_ParticleManager.ParticleCanFreeze) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_can_freeze()) { + _this->_internal_set_can_freeze(from._internal_can_freeze()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_ParticleCanFreeze::CopyFrom(const CUserMsg_ParticleManager_ParticleCanFreeze& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleCanFreeze) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_ParticleCanFreeze::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_ParticleCanFreeze::InternalSwap(CUserMsg_ParticleManager_ParticleCanFreeze* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.can_freeze_, other->_impl_.can_freeze_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleCanFreeze::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[62]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_freeze_transition_override(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::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:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) +} +CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.freeze_transition_override_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.freeze_transition_override_ = from._impl_.freeze_transition_override_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) +} + +inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.freeze_transition_override_){0} + }; +} + +CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::~CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.freeze_transition_override_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float freeze_transition_override = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_freeze_transition_override(&has_bits); + _impl_.freeze_transition_override_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float freeze_transition_override = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_freeze_transition_override(), 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:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + return target; +} + +size_t CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float freeze_transition_override = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::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:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_freeze_transition_override()) { + _this->_internal_set_freeze_transition_override(from._internal_freeze_transition_override()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CopyFrom(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::InternalSwap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.freeze_transition_override_, other->_impl_.freeze_transition_override_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[63]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_FreezeParticleInvolving::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_set_frozen(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_transition_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving(::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:CUserMsg_ParticleManager.FreezeParticleInvolving) +} +CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_FreezeParticleInvolving* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.set_frozen_){} + , decltype(_impl_.transition_duration_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.set_frozen_, &from._impl_.set_frozen_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.FreezeParticleInvolving) +} + +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.set_frozen_){false} + , decltype(_impl_.transition_duration_){0} + , decltype(_impl_.entity_handle_){16777215u} + }; +} + +CUserMsg_ParticleManager_FreezeParticleInvolving::~CUserMsg_ParticleManager_FreezeParticleInvolving() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.FreezeParticleInvolving) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_FreezeParticleInvolving::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_FreezeParticleInvolving::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.FreezeParticleInvolving) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.set_frozen_, 0, static_cast( + reinterpret_cast(&_impl_.transition_duration_) - + reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_FreezeParticleInvolving::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool set_frozen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_set_frozen(&has_bits); + _impl_.set_frozen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float transition_duration = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_transition_duration(&has_bits); + _impl_.transition_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 3 [default = 16777215]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_FreezeParticleInvolving::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.FreezeParticleInvolving) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool set_frozen = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_set_frozen(), target); + } + + // optional float transition_duration = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_transition_duration(), target); + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), 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:CUserMsg_ParticleManager.FreezeParticleInvolving) + return target; +} + +size_t CUserMsg_ParticleManager_FreezeParticleInvolving::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.FreezeParticleInvolving) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional bool set_frozen = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional float transition_duration = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 entity_handle = 3 [default = 16777215]; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_FreezeParticleInvolving::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_FreezeParticleInvolving::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_FreezeParticleInvolving::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_FreezeParticleInvolving::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:CUserMsg_ParticleManager.FreezeParticleInvolving) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.set_frozen_ = from._impl_.set_frozen_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.transition_duration_ = from._impl_.transition_duration_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_FreezeParticleInvolving::CopyFrom(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.FreezeParticleInvolving) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_FreezeParticleInvolving::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_FreezeParticleInvolving::InternalSwap(CUserMsg_ParticleManager_FreezeParticleInvolving* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.transition_duration_) + + sizeof(CUserMsg_ParticleManager_FreezeParticleInvolving::_impl_.transition_duration_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.set_frozen_)>( + reinterpret_cast(&_impl_.set_frozen_), + reinterpret_cast(&other->_impl_.set_frozen_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_FreezeParticleInvolving::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[64]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_AddModellistOverrideElement::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_model_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_spawn_probability(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_groupid(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement(::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:CUserMsg_ParticleManager.AddModellistOverrideElement) +} +CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_AddModellistOverrideElement* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.model_name_){} + , decltype(_impl_.spawn_probability_){} + , decltype(_impl_.groupid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.model_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_model_name()) { + _this->_impl_.model_name_.Set(from._internal_model_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.spawn_probability_, &from._impl_.spawn_probability_, + static_cast(reinterpret_cast(&_impl_.groupid_) - + reinterpret_cast(&_impl_.spawn_probability_)) + sizeof(_impl_.groupid_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.AddModellistOverrideElement) +} + +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.model_name_){} + , decltype(_impl_.spawn_probability_){0} + , decltype(_impl_.groupid_){0u} + }; + _impl_.model_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_AddModellistOverrideElement::~CUserMsg_ParticleManager_AddModellistOverrideElement() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.AddModellistOverrideElement) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.model_name_.Destroy(); +} + +void CUserMsg_ParticleManager_AddModellistOverrideElement::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_AddModellistOverrideElement::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.AddModellistOverrideElement) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.model_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.spawn_probability_, 0, static_cast( + reinterpret_cast(&_impl_.groupid_) - + reinterpret_cast(&_impl_.spawn_probability_)) + sizeof(_impl_.groupid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_AddModellistOverrideElement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string model_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_model_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddModellistOverrideElement.model_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional float spawn_probability = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_spawn_probability(&has_bits); + _impl_.spawn_probability_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 groupid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_groupid(&has_bits); + _impl_.groupid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_AddModellistOverrideElement::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.AddModellistOverrideElement) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string model_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_model_name().data(), static_cast(this->_internal_model_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.AddModellistOverrideElement.model_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_model_name(), target); + } + + // optional float spawn_probability = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_spawn_probability(), target); + } + + // optional uint32 groupid = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_groupid(), 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:CUserMsg_ParticleManager.AddModellistOverrideElement) + return target; +} + +size_t CUserMsg_ParticleManager_AddModellistOverrideElement::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.AddModellistOverrideElement) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string model_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_model_name()); + } + + // optional float spawn_probability = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional uint32 groupid = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_AddModellistOverrideElement::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_AddModellistOverrideElement::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_AddModellistOverrideElement::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_AddModellistOverrideElement::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:CUserMsg_ParticleManager.AddModellistOverrideElement) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_model_name(from._internal_model_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.spawn_probability_ = from._impl_.spawn_probability_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.groupid_ = from._impl_.groupid_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_AddModellistOverrideElement::CopyFrom(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.AddModellistOverrideElement) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_AddModellistOverrideElement::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_AddModellistOverrideElement::InternalSwap(CUserMsg_ParticleManager_AddModellistOverrideElement* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.model_name_, lhs_arena, + &other->_impl_.model_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.groupid_) + + sizeof(CUserMsg_ParticleManager_AddModellistOverrideElement::_impl_.groupid_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.spawn_probability_)>( + reinterpret_cast(&_impl_.spawn_probability_), + reinterpret_cast(&other->_impl_.spawn_probability_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_AddModellistOverrideElement::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[65]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_ClearModellistOverride::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_groupid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride(::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:CUserMsg_ParticleManager.ClearModellistOverride) +} +CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride(const CUserMsg_ParticleManager_ClearModellistOverride& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_ClearModellistOverride* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.groupid_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.groupid_ = from._impl_.groupid_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ClearModellistOverride) +} + +inline void CUserMsg_ParticleManager_ClearModellistOverride::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.groupid_){0u} + }; +} + +CUserMsg_ParticleManager_ClearModellistOverride::~CUserMsg_ParticleManager_ClearModellistOverride() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ClearModellistOverride) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_ClearModellistOverride::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_ClearModellistOverride::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_ClearModellistOverride::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ClearModellistOverride) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.groupid_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_ClearModellistOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 groupid = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_groupid(&has_bits); + _impl_.groupid_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_ClearModellistOverride::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ClearModellistOverride) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 groupid = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_groupid(), 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:CUserMsg_ParticleManager.ClearModellistOverride) + return target; +} + +size_t CUserMsg_ParticleManager_ClearModellistOverride::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ClearModellistOverride) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional uint32 groupid = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ClearModellistOverride::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_ClearModellistOverride::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ClearModellistOverride::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_ClearModellistOverride::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:CUserMsg_ParticleManager.ClearModellistOverride) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_groupid()) { + _this->_internal_set_groupid(from._internal_groupid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_ClearModellistOverride::CopyFrom(const CUserMsg_ParticleManager_ClearModellistOverride& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ClearModellistOverride) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_ClearModellistOverride::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_ClearModellistOverride::InternalSwap(CUserMsg_ParticleManager_ClearModellistOverride* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.groupid_, other->_impl_.groupid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ClearModellistOverride::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[66]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value_name_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_name_hash_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.value_name_hash_, &from._impl_.value_name_hash_, + static_cast(reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.value_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_name_hash_){0u} + , decltype(_impl_.value_){0} + }; +} + +CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&_impl_.value_name_hash_, 0, static_cast( + reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 value_name_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_value_name_hash(&has_bits); + _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); + } + + // optional float value = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_value(), 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:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); + } + + // optional float value = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_) + + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_name_hash_)>( + reinterpret_cast(&_impl_.value_name_hash_), + reinterpret_cast(&other->_impl_.value_name_hash_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[67]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value_name_hash(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& value(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* msg); + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_Internal::value(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* msg) { + return *msg->_impl_.value_; +} +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::clear_value() { + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){nullptr} + , decltype(_impl_.value_name_hash_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_value()) { + _this->_impl_.value_ = new ::CMsgVector(*from._impl_.value_); + } + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){nullptr} + , decltype(_impl_.value_name_hash_){0u} + }; +} + +CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.value_; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 value_name_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_value_name_hash(&has_bits); + _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_value(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); + } + + // optional .CMsgVector value = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::value(this), + _Internal::value(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:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector value = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.value_); + } + + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_value()->::CMsgVector::MergeFrom( + from._internal_value()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_name_hash_) + + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_impl_.value_name_hash_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_)>( + reinterpret_cast(&_impl_.value_), + reinterpret_cast(&other->_impl_.value_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[68]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value_name_hash(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgQAngle& angles(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg); + static void set_has_angles(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& translation(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg); + static void set_has_translation(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgQAngle& +CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal::angles(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg) { + return *msg->_impl_.angles_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal::translation(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg) { + return *msg->_impl_.translation_; +} +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_angles() { + if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_translation() { + if (_impl_.translation_ != nullptr) _impl_.translation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.translation_){nullptr} + , decltype(_impl_.value_name_hash_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); + } + if (from._internal_has_translation()) { + _this->_impl_.translation_ = new ::CMsgVector(*from._impl_.translation_); + } + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.translation_){nullptr} + , decltype(_impl_.value_name_hash_){0u} + }; +} + +CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.angles_; + if (this != internal_default_instance()) delete _impl_.translation_; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.angles_ != nullptr); + _impl_.angles_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.translation_ != nullptr); + _impl_.translation_->Clear(); + } + } + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 value_name_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_value_name_hash(&has_bits); + _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgQAngle angles = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector translation = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_translation(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); + } + + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector translation = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::translation(this), + _Internal::translation(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:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .CMsgQAngle angles = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // optional .CMsgVector translation = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.translation_); + } + + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( + from._internal_angles()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_translation()->::CMsgVector::MergeFrom( + from._internal_translation()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.value_name_hash_) + + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_impl_.value_name_hash_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.angles_)>( + reinterpret_cast(&_impl_.angles_), + reinterpret_cast(&other->_impl_.angles_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[69]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_value_name_hash(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) +} +CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_name_hash_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.value_name_hash_, &from._impl_.value_name_hash_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_name_hash_){0u} + , decltype(_impl_.ent_index_){16777215u} + }; +} + +CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + _impl_.value_name_hash_ = 0u; + _impl_.ent_index_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 value_name_hash = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_value_name_hash(&has_bits); + _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 ent_index = 2 [default = 16777215]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); + } + + // optional uint32 ent_index = 2 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ent_index(), 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:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional uint32 value_name_hash = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); + } + + // optional uint32 ent_index = 2 [default = 16777215]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::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:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.value_name_hash_, other->_impl_.value_name_hash_); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[70]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleNamedValueContext::_Internal { + public: +}; + +CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext(::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:CUserMsg_ParticleManager.SetParticleNamedValueContext) +} +CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleNamedValueContext* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.float_values_){from._impl_.float_values_} + , decltype(_impl_.vector_values_){from._impl_.vector_values_} + , decltype(_impl_.transform_values_){from._impl_.transform_values_} + , decltype(_impl_.ehandle_values_){from._impl_.ehandle_values_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext) +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.float_values_){arena} + , decltype(_impl_.vector_values_){arena} + , decltype(_impl_.transform_values_){arena} + , decltype(_impl_.ehandle_values_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CUserMsg_ParticleManager_SetParticleNamedValueContext::~CUserMsg_ParticleManager_SetParticleNamedValueContext() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.float_values_.~RepeatedPtrField(); + _impl_.vector_values_.~RepeatedPtrField(); + _impl_.transform_values_.~RepeatedPtrField(); + _impl_.ehandle_values_.~RepeatedPtrField(); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.float_values_.Clear(); + _impl_.vector_values_.Clear(); + _impl_.transform_values_.Clear(); + _impl_.ehandle_values_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleNamedValueContext::_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 .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_float_values(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_vector_values(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_transform_values(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_ehandle_values(), 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* CUserMsg_ParticleManager_SetParticleNamedValueContext::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_float_values_size()); i < n; i++) { + const auto& repfield = this->_internal_float_values(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_vector_values_size()); i < n; i++) { + const auto& repfield = this->_internal_vector_values(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_transform_values_size()); i < n; i++) { + const auto& repfield = this->_internal_transform_values(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_ehandle_values_size()); i < n; i++) { + const auto& repfield = this->_internal_ehandle_values(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:CUserMsg_ParticleManager.SetParticleNamedValueContext) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleNamedValueContext::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) + 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 .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; + total_size += 1UL * this->_internal_float_values_size(); + for (const auto& msg : this->_impl_.float_values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; + total_size += 1UL * this->_internal_vector_values_size(); + for (const auto& msg : this->_impl_.vector_values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; + total_size += 1UL * this->_internal_transform_values_size(); + for (const auto& msg : this->_impl_.transform_values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; + total_size += 1UL * this->_internal_ehandle_values_size(); + for (const auto& msg : this->_impl_.ehandle_values_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleNamedValueContext::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:CUserMsg_ParticleManager.SetParticleNamedValueContext) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.float_values_.MergeFrom(from._impl_.float_values_); + _this->_impl_.vector_values_.MergeFrom(from._impl_.vector_values_); + _this->_impl_.transform_values_.MergeFrom(from._impl_.transform_values_); + _this->_impl_.ehandle_values_.MergeFrom(from._impl_.ehandle_values_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleNamedValueContext::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleNamedValueContext::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.float_values_.InternalSwap(&other->_impl_.float_values_); + _impl_.vector_values_.InternalSwap(&other->_impl_.vector_values_); + _impl_.transform_values_.InternalSwap(&other->_impl_.transform_values_); + _impl_.ehandle_values_.InternalSwap(&other->_impl_.ehandle_values_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[71]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_CreatePhysicsSim::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_prop_group_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_use_high_quality_simulation(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_max_particle_count(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim(::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:CUserMsg_ParticleManager.CreatePhysicsSim) +} +CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim(const CUserMsg_ParticleManager_CreatePhysicsSim& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_CreatePhysicsSim* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.prop_group_name_){} + , decltype(_impl_.use_high_quality_simulation_){} + , decltype(_impl_.max_particle_count_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.prop_group_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.prop_group_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_prop_group_name()) { + _this->_impl_.prop_group_name_.Set(from._internal_prop_group_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.use_high_quality_simulation_, &from._impl_.use_high_quality_simulation_, + static_cast(reinterpret_cast(&_impl_.max_particle_count_) - + reinterpret_cast(&_impl_.use_high_quality_simulation_)) + sizeof(_impl_.max_particle_count_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.CreatePhysicsSim) +} + +inline void CUserMsg_ParticleManager_CreatePhysicsSim::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.prop_group_name_){} + , decltype(_impl_.use_high_quality_simulation_){false} + , decltype(_impl_.max_particle_count_){0u} + }; + _impl_.prop_group_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.prop_group_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_CreatePhysicsSim::~CUserMsg_ParticleManager_CreatePhysicsSim() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.CreatePhysicsSim) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_CreatePhysicsSim::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.prop_group_name_.Destroy(); +} + +void CUserMsg_ParticleManager_CreatePhysicsSim::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_CreatePhysicsSim::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.CreatePhysicsSim) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.prop_group_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.use_high_quality_simulation_, 0, static_cast( + reinterpret_cast(&_impl_.max_particle_count_) - + reinterpret_cast(&_impl_.use_high_quality_simulation_)) + sizeof(_impl_.max_particle_count_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_CreatePhysicsSim::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string prop_group_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_prop_group_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool use_high_quality_simulation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_use_high_quality_simulation(&has_bits); + _impl_.use_high_quality_simulation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 max_particle_count = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_max_particle_count(&has_bits); + _impl_.max_particle_count_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_CreatePhysicsSim::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.CreatePhysicsSim) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string prop_group_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_prop_group_name().data(), static_cast(this->_internal_prop_group_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_prop_group_name(), target); + } + + // optional bool use_high_quality_simulation = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_use_high_quality_simulation(), target); + } + + // optional uint32 max_particle_count = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_max_particle_count(), 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:CUserMsg_ParticleManager.CreatePhysicsSim) + return target; +} + +size_t CUserMsg_ParticleManager_CreatePhysicsSim::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.CreatePhysicsSim) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string prop_group_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_prop_group_name()); + } + + // optional bool use_high_quality_simulation = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + // optional uint32 max_particle_count = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_particle_count()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_CreatePhysicsSim::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_CreatePhysicsSim::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_CreatePhysicsSim::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_CreatePhysicsSim::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:CUserMsg_ParticleManager.CreatePhysicsSim) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_prop_group_name(from._internal_prop_group_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.use_high_quality_simulation_ = from._impl_.use_high_quality_simulation_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.max_particle_count_ = from._impl_.max_particle_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_CreatePhysicsSim::CopyFrom(const CUserMsg_ParticleManager_CreatePhysicsSim& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.CreatePhysicsSim) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_CreatePhysicsSim::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_CreatePhysicsSim::InternalSwap(CUserMsg_ParticleManager_CreatePhysicsSim* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.prop_group_name_, lhs_arena, + &other->_impl_.prop_group_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.max_particle_count_) + + sizeof(CUserMsg_ParticleManager_CreatePhysicsSim::_impl_.max_particle_count_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.use_high_quality_simulation_)>( + reinterpret_cast(&_impl_.use_high_quality_simulation_), + reinterpret_cast(&other->_impl_.use_high_quality_simulation_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_CreatePhysicsSim::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[72]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_DestroyPhysicsSim::_Internal { + public: +}; + +CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.DestroyPhysicsSim) +} +CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMsg_ParticleManager_DestroyPhysicsSim* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyPhysicsSim) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyPhysicsSim::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyPhysicsSim::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyPhysicsSim::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[73]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetVData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_vdata_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData(::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:CUserMsg_ParticleManager.SetVData) +} +CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData(const CUserMsg_ParticleManager_SetVData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetVData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.vdata_name_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.vdata_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vdata_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_vdata_name()) { + _this->_impl_.vdata_name_.Set(from._internal_vdata_name(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetVData) +} + +inline void CUserMsg_ParticleManager_SetVData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.vdata_name_){} + }; + _impl_.vdata_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vdata_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetVData::~CUserMsg_ParticleManager_SetVData() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetVData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetVData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.vdata_name_.Destroy(); +} + +void CUserMsg_ParticleManager_SetVData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetVData::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetVData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.vdata_name_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetVData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string vdata_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_vdata_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetVData.vdata_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetVData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetVData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string vdata_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_vdata_name().data(), static_cast(this->_internal_vdata_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetVData.vdata_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_vdata_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:CUserMsg_ParticleManager.SetVData) + return target; +} + +size_t CUserMsg_ParticleManager_SetVData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetVData) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional string vdata_name = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vdata_name()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetVData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetVData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetVData::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetVData::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:CUserMsg_ParticleManager.SetVData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_vdata_name()) { + _this->_internal_set_vdata_name(from._internal_vdata_name()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetVData::CopyFrom(const CUserMsg_ParticleManager_SetVData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetVData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetVData::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetVData::InternalSwap(CUserMsg_ParticleManager_SetVData* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.vdata_name_, lhs_arena, + &other->_impl_.vdata_name_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetVData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[74]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetMaterialOverride::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_material_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_include_children(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride(::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:CUserMsg_ParticleManager.SetMaterialOverride) +} +CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride(const CUserMsg_ParticleManager_SetMaterialOverride& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetMaterialOverride* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.material_name_){} + , decltype(_impl_.include_children_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.material_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.material_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_material_name()) { + _this->_impl_.material_name_.Set(from._internal_material_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.include_children_ = from._impl_.include_children_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetMaterialOverride) +} + +inline void CUserMsg_ParticleManager_SetMaterialOverride::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.material_name_){} + , decltype(_impl_.include_children_){false} + }; + _impl_.material_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.material_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_SetMaterialOverride::~CUserMsg_ParticleManager_SetMaterialOverride() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetMaterialOverride) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetMaterialOverride::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.material_name_.Destroy(); +} + +void CUserMsg_ParticleManager_SetMaterialOverride::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetMaterialOverride::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetMaterialOverride) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.material_name_.ClearNonDefaultToEmpty(); + } + _impl_.include_children_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetMaterialOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string material_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_material_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetMaterialOverride.material_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool include_children = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_include_children(&has_bits); + _impl_.include_children_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetMaterialOverride::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetMaterialOverride) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string material_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_material_name().data(), static_cast(this->_internal_material_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.SetMaterialOverride.material_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_material_name(), target); + } + + // optional bool include_children = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_include_children(), 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:CUserMsg_ParticleManager.SetMaterialOverride) + return target; +} + +size_t CUserMsg_ParticleManager_SetMaterialOverride::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetMaterialOverride) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string material_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_material_name()); + } + + // optional bool include_children = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetMaterialOverride::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetMaterialOverride::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetMaterialOverride::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetMaterialOverride::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:CUserMsg_ParticleManager.SetMaterialOverride) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_material_name(from._internal_material_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.include_children_ = from._impl_.include_children_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetMaterialOverride::CopyFrom(const CUserMsg_ParticleManager_SetMaterialOverride& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetMaterialOverride) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetMaterialOverride::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetMaterialOverride::InternalSwap(CUserMsg_ParticleManager_SetMaterialOverride* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.material_name_, lhs_arena, + &other->_impl_.material_name_, rhs_arena + ); + swap(_impl_.include_children_, other->_impl_.include_children_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetMaterialOverride::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[75]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_AddFan::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_active(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CMsgVector& bounds_mins(const CUserMsg_ParticleManager_AddFan* msg); + static void set_has_bounds_mins(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CMsgVector& bounds_maxs(const CUserMsg_ParticleManager_AddFan* msg); + static void set_has_bounds_maxs(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& fan_origin(const CUserMsg_ParticleManager_AddFan* msg); + static void set_has_fan_origin(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CMsgVector& fan_origin_offset(const CUserMsg_ParticleManager_AddFan* msg); + static void set_has_fan_origin_offset(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgVector& fan_direction(const CUserMsg_ParticleManager_AddFan* msg); + static void set_has_fan_direction(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_force(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_fan_force_curve(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_falloff(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_pull_towards_point(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_curve_min_dist(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_curve_max_dist(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_fan_type(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static void set_has_cone_start_radius(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_cone_end_radius(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static void set_has_cone_length(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static void set_has_entity_handle(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_attachment_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_AddFan::_Internal::bounds_mins(const CUserMsg_ParticleManager_AddFan* msg) { + return *msg->_impl_.bounds_mins_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_AddFan::_Internal::bounds_maxs(const CUserMsg_ParticleManager_AddFan* msg) { + return *msg->_impl_.bounds_maxs_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_AddFan::_Internal::fan_origin(const CUserMsg_ParticleManager_AddFan* msg) { + return *msg->_impl_.fan_origin_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_AddFan::_Internal::fan_origin_offset(const CUserMsg_ParticleManager_AddFan* msg) { + return *msg->_impl_.fan_origin_offset_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_AddFan::_Internal::fan_direction(const CUserMsg_ParticleManager_AddFan* msg) { + return *msg->_impl_.fan_direction_; +} +void CUserMsg_ParticleManager_AddFan::clear_bounds_mins() { + if (_impl_.bounds_mins_ != nullptr) _impl_.bounds_mins_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CUserMsg_ParticleManager_AddFan::clear_bounds_maxs() { + if (_impl_.bounds_maxs_ != nullptr) _impl_.bounds_maxs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void CUserMsg_ParticleManager_AddFan::clear_fan_origin() { + if (_impl_.fan_origin_ != nullptr) _impl_.fan_origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +void CUserMsg_ParticleManager_AddFan::clear_fan_origin_offset() { + if (_impl_.fan_origin_offset_ != nullptr) _impl_.fan_origin_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +void CUserMsg_ParticleManager_AddFan::clear_fan_direction() { + if (_impl_.fan_direction_ != nullptr) _impl_.fan_direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan(::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:CUserMsg_ParticleManager.AddFan) +} +CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan(const CUserMsg_ParticleManager_AddFan& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_AddFan* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fan_force_curve_){} + , decltype(_impl_.attachment_name_){} + , decltype(_impl_.bounds_mins_){nullptr} + , decltype(_impl_.bounds_maxs_){nullptr} + , decltype(_impl_.fan_origin_){nullptr} + , decltype(_impl_.fan_origin_offset_){nullptr} + , decltype(_impl_.fan_direction_){nullptr} + , decltype(_impl_.active_){} + , decltype(_impl_.falloff_){} + , decltype(_impl_.pull_towards_point_){} + , decltype(_impl_.force_){} + , decltype(_impl_.curve_min_dist_){} + , decltype(_impl_.curve_max_dist_){} + , decltype(_impl_.fan_type_){} + , decltype(_impl_.cone_start_radius_){} + , decltype(_impl_.cone_end_radius_){} + , decltype(_impl_.cone_length_){} + , decltype(_impl_.entity_handle_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.fan_force_curve_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_fan_force_curve()) { + _this->_impl_.fan_force_curve_.Set(from._internal_fan_force_curve(), + _this->GetArenaForAllocation()); + } + _impl_.attachment_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.attachment_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_attachment_name()) { + _this->_impl_.attachment_name_.Set(from._internal_attachment_name(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_bounds_mins()) { + _this->_impl_.bounds_mins_ = new ::CMsgVector(*from._impl_.bounds_mins_); + } + if (from._internal_has_bounds_maxs()) { + _this->_impl_.bounds_maxs_ = new ::CMsgVector(*from._impl_.bounds_maxs_); + } + if (from._internal_has_fan_origin()) { + _this->_impl_.fan_origin_ = new ::CMsgVector(*from._impl_.fan_origin_); + } + if (from._internal_has_fan_origin_offset()) { + _this->_impl_.fan_origin_offset_ = new ::CMsgVector(*from._impl_.fan_origin_offset_); + } + if (from._internal_has_fan_direction()) { + _this->_impl_.fan_direction_ = new ::CMsgVector(*from._impl_.fan_direction_); + } + ::memcpy(&_impl_.active_, &from._impl_.active_, + static_cast(reinterpret_cast(&_impl_.entity_handle_) - + reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.entity_handle_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.AddFan) +} + +inline void CUserMsg_ParticleManager_AddFan::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fan_force_curve_){} + , decltype(_impl_.attachment_name_){} + , decltype(_impl_.bounds_mins_){nullptr} + , decltype(_impl_.bounds_maxs_){nullptr} + , decltype(_impl_.fan_origin_){nullptr} + , decltype(_impl_.fan_origin_offset_){nullptr} + , decltype(_impl_.fan_direction_){nullptr} + , decltype(_impl_.active_){false} + , decltype(_impl_.falloff_){false} + , decltype(_impl_.pull_towards_point_){false} + , decltype(_impl_.force_){0} + , decltype(_impl_.curve_min_dist_){0} + , decltype(_impl_.curve_max_dist_){0} + , decltype(_impl_.fan_type_){0u} + , decltype(_impl_.cone_start_radius_){0} + , decltype(_impl_.cone_end_radius_){0} + , decltype(_impl_.cone_length_){0} + , decltype(_impl_.entity_handle_){16777215u} + }; + _impl_.fan_force_curve_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.attachment_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.attachment_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_ParticleManager_AddFan::~CUserMsg_ParticleManager_AddFan() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.AddFan) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_AddFan::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.fan_force_curve_.Destroy(); + _impl_.attachment_name_.Destroy(); + if (this != internal_default_instance()) delete _impl_.bounds_mins_; + if (this != internal_default_instance()) delete _impl_.bounds_maxs_; + if (this != internal_default_instance()) delete _impl_.fan_origin_; + if (this != internal_default_instance()) delete _impl_.fan_origin_offset_; + if (this != internal_default_instance()) delete _impl_.fan_direction_; +} + +void CUserMsg_ParticleManager_AddFan::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_AddFan::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.AddFan) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.fan_force_curve_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.attachment_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.bounds_mins_ != nullptr); + _impl_.bounds_mins_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.bounds_maxs_ != nullptr); + _impl_.bounds_maxs_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.fan_origin_ != nullptr); + _impl_.fan_origin_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.fan_origin_offset_ != nullptr); + _impl_.fan_origin_offset_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.fan_direction_ != nullptr); + _impl_.fan_direction_->Clear(); + } + } + _impl_.active_ = false; + if (cached_has_bits & 0x0000ff00u) { + ::memset(&_impl_.falloff_, 0, static_cast( + reinterpret_cast(&_impl_.cone_end_radius_) - + reinterpret_cast(&_impl_.falloff_)) + sizeof(_impl_.cone_end_radius_)); + } + if (cached_has_bits & 0x00030000u) { + _impl_.cone_length_ = 0; + _impl_.entity_handle_ = 16777215u; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_AddFan::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool active = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_active(&has_bits); + _impl_.active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector bounds_mins = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_bounds_mins(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector bounds_maxs = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_bounds_maxs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_origin = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_origin_offset = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_origin_offset(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_direction = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_direction(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float force = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_force(&has_bits); + _impl_.force_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional string fan_force_curve = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + auto str = _internal_mutable_fan_force_curve(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddFan.fan_force_curve"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool falloff = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_falloff(&has_bits); + _impl_.falloff_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool pull_towards_point = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_pull_towards_point(&has_bits); + _impl_.pull_towards_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float curve_min_dist = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { + _Internal::set_has_curve_min_dist(&has_bits); + _impl_.curve_min_dist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float curve_max_dist = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { + _Internal::set_has_curve_max_dist(&has_bits); + _impl_.curve_max_dist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 fan_type = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_fan_type(&has_bits); + _impl_.fan_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float cone_start_radius = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { + _Internal::set_has_cone_start_radius(&has_bits); + _impl_.cone_start_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float cone_end_radius = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { + _Internal::set_has_cone_end_radius(&has_bits); + _impl_.cone_end_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float cone_length = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 133)) { + _Internal::set_has_cone_length(&has_bits); + _impl_.cone_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional uint32 entity_handle = 17 [default = 16777215]; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_entity_handle(&has_bits); + _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string attachment_name = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + auto str = _internal_mutable_attachment_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddFan.attachment_name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_AddFan::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.AddFan) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool active = 1; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_active(), target); + } + + // optional .CMsgVector bounds_mins = 2; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::bounds_mins(this), + _Internal::bounds_mins(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector bounds_maxs = 3; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::bounds_maxs(this), + _Internal::bounds_maxs(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector fan_origin = 4; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::fan_origin(this), + _Internal::fan_origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector fan_origin_offset = 5; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::fan_origin_offset(this), + _Internal::fan_origin_offset(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector fan_direction = 6; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::fan_direction(this), + _Internal::fan_direction(this).GetCachedSize(), target, stream); + } + + // optional float force = 7; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_force(), target); + } + + // optional string fan_force_curve = 8; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_fan_force_curve().data(), static_cast(this->_internal_fan_force_curve().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.AddFan.fan_force_curve"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_fan_force_curve(), target); + } + + // optional bool falloff = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_falloff(), target); + } + + // optional bool pull_towards_point = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_pull_towards_point(), target); + } + + // optional float curve_min_dist = 11; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_curve_min_dist(), target); + } + + // optional float curve_max_dist = 12; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_curve_max_dist(), target); + } + + // optional uint32 fan_type = 13; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_fan_type(), target); + } + + // optional float cone_start_radius = 14; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(14, this->_internal_cone_start_radius(), target); + } + + // optional float cone_end_radius = 15; + if (cached_has_bits & 0x00008000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(15, this->_internal_cone_end_radius(), target); + } + + // optional float cone_length = 16; + if (cached_has_bits & 0x00010000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(16, this->_internal_cone_length(), target); + } + + // optional uint32 entity_handle = 17 [default = 16777215]; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_entity_handle(), target); + } + + // optional string attachment_name = 18; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_attachment_name().data(), static_cast(this->_internal_attachment_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_ParticleManager.AddFan.attachment_name"); + target = stream->WriteStringMaybeAliased( + 18, this->_internal_attachment_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:CUserMsg_ParticleManager.AddFan) + return target; +} + +size_t CUserMsg_ParticleManager_AddFan::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.AddFan) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string fan_force_curve = 8; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fan_force_curve()); + } + + // optional string attachment_name = 18; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_attachment_name()); + } + + // optional .CMsgVector bounds_mins = 2; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bounds_mins_); + } + + // optional .CMsgVector bounds_maxs = 3; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bounds_maxs_); + } + + // optional .CMsgVector fan_origin = 4; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_origin_); + } + + // optional .CMsgVector fan_origin_offset = 5; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_origin_offset_); + } + + // optional .CMsgVector fan_direction = 6; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_direction_); + } + + // optional bool active = 1; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + 1; + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional bool falloff = 9; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + 1; + } + + // optional bool pull_towards_point = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + 1; + } + + // optional float force = 7; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + 4; + } + + // optional float curve_min_dist = 11; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + 4; + } + + // optional float curve_max_dist = 12; + if (cached_has_bits & 0x00001000u) { + total_size += 1 + 4; + } + + // optional uint32 fan_type = 13; + if (cached_has_bits & 0x00002000u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fan_type()); + } + + // optional float cone_start_radius = 14; + if (cached_has_bits & 0x00004000u) { + total_size += 1 + 4; + } + + // optional float cone_end_radius = 15; + if (cached_has_bits & 0x00008000u) { + total_size += 1 + 4; + } + + } + if (cached_has_bits & 0x00030000u) { + // optional float cone_length = 16; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + 4; + } + + // optional uint32 entity_handle = 17 [default = 16777215]; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_entity_handle()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_AddFan::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_AddFan::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_AddFan::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_AddFan::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:CUserMsg_ParticleManager.AddFan) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_fan_force_curve(from._internal_fan_force_curve()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_attachment_name(from._internal_attachment_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_bounds_mins()->::CMsgVector::MergeFrom( + from._internal_bounds_mins()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_bounds_maxs()->::CMsgVector::MergeFrom( + from._internal_bounds_maxs()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_fan_origin()->::CMsgVector::MergeFrom( + from._internal_fan_origin()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_fan_origin_offset()->::CMsgVector::MergeFrom( + from._internal_fan_origin_offset()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_fan_direction()->::CMsgVector::MergeFrom( + from._internal_fan_direction()); + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.active_ = from._impl_.active_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.falloff_ = from._impl_.falloff_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.pull_towards_point_ = from._impl_.pull_towards_point_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.force_ = from._impl_.force_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.curve_min_dist_ = from._impl_.curve_min_dist_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.curve_max_dist_ = from._impl_.curve_max_dist_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.fan_type_ = from._impl_.fan_type_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.cone_start_radius_ = from._impl_.cone_start_radius_; + } + if (cached_has_bits & 0x00008000u) { + _this->_impl_.cone_end_radius_ = from._impl_.cone_end_radius_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + _this->_impl_.cone_length_ = from._impl_.cone_length_; + } + if (cached_has_bits & 0x00020000u) { + _this->_impl_.entity_handle_ = from._impl_.entity_handle_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_AddFan::CopyFrom(const CUserMsg_ParticleManager_AddFan& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.AddFan) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_AddFan::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_AddFan::InternalSwap(CUserMsg_ParticleManager_AddFan* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.fan_force_curve_, lhs_arena, + &other->_impl_.fan_force_curve_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.attachment_name_, lhs_arena, + &other->_impl_.attachment_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddFan, _impl_.cone_length_) + + sizeof(CUserMsg_ParticleManager_AddFan::_impl_.cone_length_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddFan, _impl_.bounds_mins_)>( + reinterpret_cast(&_impl_.bounds_mins_), + reinterpret_cast(&other->_impl_.bounds_mins_)); + swap(_impl_.entity_handle_, other->_impl_.entity_handle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_AddFan::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[76]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_UpdateFan::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_active(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CMsgVector& fan_origin(const CUserMsg_ParticleManager_UpdateFan* msg); + static void set_has_fan_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& fan_origin_offset(const CUserMsg_ParticleManager_UpdateFan* msg); + static void set_has_fan_origin_offset(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& fan_direction(const CUserMsg_ParticleManager_UpdateFan* msg); + static void set_has_fan_direction(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_fan_ramp_ratio(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CMsgVector& bounds_mins(const CUserMsg_ParticleManager_UpdateFan* msg); + static void set_has_bounds_mins(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CMsgVector& bounds_maxs(const CUserMsg_ParticleManager_UpdateFan* msg); + static void set_has_bounds_maxs(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateFan::_Internal::fan_origin(const CUserMsg_ParticleManager_UpdateFan* msg) { + return *msg->_impl_.fan_origin_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateFan::_Internal::fan_origin_offset(const CUserMsg_ParticleManager_UpdateFan* msg) { + return *msg->_impl_.fan_origin_offset_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateFan::_Internal::fan_direction(const CUserMsg_ParticleManager_UpdateFan* msg) { + return *msg->_impl_.fan_direction_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateFan::_Internal::bounds_mins(const CUserMsg_ParticleManager_UpdateFan* msg) { + return *msg->_impl_.bounds_mins_; +} +const ::CMsgVector& +CUserMsg_ParticleManager_UpdateFan::_Internal::bounds_maxs(const CUserMsg_ParticleManager_UpdateFan* msg) { + return *msg->_impl_.bounds_maxs_; +} +void CUserMsg_ParticleManager_UpdateFan::clear_fan_origin() { + if (_impl_.fan_origin_ != nullptr) _impl_.fan_origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void CUserMsg_ParticleManager_UpdateFan::clear_fan_origin_offset() { + if (_impl_.fan_origin_offset_ != nullptr) _impl_.fan_origin_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void CUserMsg_ParticleManager_UpdateFan::clear_fan_direction() { + if (_impl_.fan_direction_ != nullptr) _impl_.fan_direction_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +void CUserMsg_ParticleManager_UpdateFan::clear_bounds_mins() { + if (_impl_.bounds_mins_ != nullptr) _impl_.bounds_mins_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +void CUserMsg_ParticleManager_UpdateFan::clear_bounds_maxs() { + if (_impl_.bounds_maxs_ != nullptr) _impl_.bounds_maxs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan(::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:CUserMsg_ParticleManager.UpdateFan) +} +CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan(const CUserMsg_ParticleManager_UpdateFan& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_UpdateFan* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fan_origin_){nullptr} + , decltype(_impl_.fan_origin_offset_){nullptr} + , decltype(_impl_.fan_direction_){nullptr} + , decltype(_impl_.bounds_mins_){nullptr} + , decltype(_impl_.bounds_maxs_){nullptr} + , decltype(_impl_.active_){} + , decltype(_impl_.fan_ramp_ratio_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_fan_origin()) { + _this->_impl_.fan_origin_ = new ::CMsgVector(*from._impl_.fan_origin_); + } + if (from._internal_has_fan_origin_offset()) { + _this->_impl_.fan_origin_offset_ = new ::CMsgVector(*from._impl_.fan_origin_offset_); + } + if (from._internal_has_fan_direction()) { + _this->_impl_.fan_direction_ = new ::CMsgVector(*from._impl_.fan_direction_); + } + if (from._internal_has_bounds_mins()) { + _this->_impl_.bounds_mins_ = new ::CMsgVector(*from._impl_.bounds_mins_); + } + if (from._internal_has_bounds_maxs()) { + _this->_impl_.bounds_maxs_ = new ::CMsgVector(*from._impl_.bounds_maxs_); + } + ::memcpy(&_impl_.active_, &from._impl_.active_, + static_cast(reinterpret_cast(&_impl_.fan_ramp_ratio_) - + reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.fan_ramp_ratio_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateFan) +} + +inline void CUserMsg_ParticleManager_UpdateFan::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.fan_origin_){nullptr} + , decltype(_impl_.fan_origin_offset_){nullptr} + , decltype(_impl_.fan_direction_){nullptr} + , decltype(_impl_.bounds_mins_){nullptr} + , decltype(_impl_.bounds_maxs_){nullptr} + , decltype(_impl_.active_){false} + , decltype(_impl_.fan_ramp_ratio_){0} + }; +} + +CUserMsg_ParticleManager_UpdateFan::~CUserMsg_ParticleManager_UpdateFan() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateFan) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_UpdateFan::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.fan_origin_; + if (this != internal_default_instance()) delete _impl_.fan_origin_offset_; + if (this != internal_default_instance()) delete _impl_.fan_direction_; + if (this != internal_default_instance()) delete _impl_.bounds_mins_; + if (this != internal_default_instance()) delete _impl_.bounds_maxs_; +} + +void CUserMsg_ParticleManager_UpdateFan::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_UpdateFan::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateFan) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.fan_origin_ != nullptr); + _impl_.fan_origin_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.fan_origin_offset_ != nullptr); + _impl_.fan_origin_offset_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.fan_direction_ != nullptr); + _impl_.fan_direction_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.bounds_mins_ != nullptr); + _impl_.bounds_mins_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.bounds_maxs_ != nullptr); + _impl_.bounds_maxs_->Clear(); + } + } + if (cached_has_bits & 0x00000060u) { + ::memset(&_impl_.active_, 0, static_cast( + reinterpret_cast(&_impl_.fan_ramp_ratio_) - + reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.fan_ramp_ratio_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_UpdateFan::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional bool active = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_active(&has_bits); + _impl_.active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_origin = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_origin_offset = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_origin_offset(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector fan_direction = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_fan_direction(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector bounds_mins = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_bounds_mins(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CMsgVector bounds_maxs = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_bounds_maxs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float fan_ramp_ratio = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _Internal::set_has_fan_ramp_ratio(&has_bits); + _impl_.fan_ramp_ratio_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_UpdateFan::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateFan) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional bool active = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_active(), target); + } + + // optional .CMsgVector fan_origin = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::fan_origin(this), + _Internal::fan_origin(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector fan_origin_offset = 3; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::fan_origin_offset(this), + _Internal::fan_origin_offset(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector fan_direction = 4; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::fan_direction(this), + _Internal::fan_direction(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector bounds_mins = 5; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::bounds_mins(this), + _Internal::bounds_mins(this).GetCachedSize(), target, stream); + } + + // optional .CMsgVector bounds_maxs = 6; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::bounds_maxs(this), + _Internal::bounds_maxs(this).GetCachedSize(), target, stream); + } + + // optional float fan_ramp_ratio = 7; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_fan_ramp_ratio(), 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:CUserMsg_ParticleManager.UpdateFan) + return target; +} + +size_t CUserMsg_ParticleManager_UpdateFan::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateFan) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + // optional .CMsgVector fan_origin = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_origin_); + } + + // optional .CMsgVector fan_origin_offset = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_origin_offset_); + } + + // optional .CMsgVector fan_direction = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fan_direction_); + } + + // optional .CMsgVector bounds_mins = 5; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bounds_mins_); + } + + // optional .CMsgVector bounds_maxs = 6; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bounds_maxs_); + } + + // optional bool active = 1; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional float fan_ramp_ratio = 7; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateFan::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_UpdateFan::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateFan::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_UpdateFan::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:CUserMsg_ParticleManager.UpdateFan) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_fan_origin()->::CMsgVector::MergeFrom( + from._internal_fan_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_fan_origin_offset()->::CMsgVector::MergeFrom( + from._internal_fan_origin_offset()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_fan_direction()->::CMsgVector::MergeFrom( + from._internal_fan_direction()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_bounds_mins()->::CMsgVector::MergeFrom( + from._internal_bounds_mins()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_bounds_maxs()->::CMsgVector::MergeFrom( + from._internal_bounds_maxs()); + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.active_ = from._impl_.active_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.fan_ramp_ratio_ = from._impl_.fan_ramp_ratio_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_UpdateFan::CopyFrom(const CUserMsg_ParticleManager_UpdateFan& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateFan) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_UpdateFan::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_UpdateFan::InternalSwap(CUserMsg_ParticleManager_UpdateFan* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateFan, _impl_.fan_ramp_ratio_) + + sizeof(CUserMsg_ParticleManager_UpdateFan::_impl_.fan_ramp_ratio_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_)>( + reinterpret_cast(&_impl_.fan_origin_), + reinterpret_cast(&other->_impl_.fan_origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateFan::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[77]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_RemoveFan::_Internal { + public: +}; + +CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.RemoveFan) +} +CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan(const CUserMsg_ParticleManager_RemoveFan& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CUserMsg_ParticleManager_RemoveFan* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.RemoveFan) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_RemoveFan::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_RemoveFan::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_RemoveFan::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[78]); +} + +// =================================================================== + +class CUserMsg_ParticleManager_SetParticleClusterGrowth::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_duration(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CMsgVector& origin(const CUserMsg_ParticleManager_SetParticleClusterGrowth* msg); + static void set_has_origin(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +const ::CMsgVector& +CUserMsg_ParticleManager_SetParticleClusterGrowth::_Internal::origin(const CUserMsg_ParticleManager_SetParticleClusterGrowth* msg) { + return *msg->_impl_.origin_; +} +void CUserMsg_ParticleManager_SetParticleClusterGrowth::clear_origin() { + if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth(::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:CUserMsg_ParticleManager.SetParticleClusterGrowth) +} +CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager_SetParticleClusterGrowth* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_origin()) { + _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); + } + _this->_impl_.duration_ = from._impl_.duration_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleClusterGrowth) +} + +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.origin_){nullptr} + , decltype(_impl_.duration_){0} + }; +} + +CUserMsg_ParticleManager_SetParticleClusterGrowth::~CUserMsg_ParticleManager_SetParticleClusterGrowth() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleClusterGrowth) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.origin_; +} + +void CUserMsg_ParticleManager_SetParticleClusterGrowth::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager_SetParticleClusterGrowth::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.origin_ != nullptr); + _impl_.origin_->Clear(); + } + _impl_.duration_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager_SetParticleClusterGrowth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float duration = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_duration(&has_bits); + _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional .CMsgVector origin = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_origin(), 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_ParticleManager_SetParticleClusterGrowth::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float duration = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_duration(), target); + } + + // optional .CMsgVector origin = 2; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::origin(this), + _Internal::origin(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:CUserMsg_ParticleManager.SetParticleClusterGrowth) + return target; +} + +size_t CUserMsg_ParticleManager_SetParticleClusterGrowth::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional .CMsgVector origin = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.origin_); + } + + // optional float duration = 1; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleClusterGrowth::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleClusterGrowth::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager_SetParticleClusterGrowth::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:CUserMsg_ParticleManager.SetParticleClusterGrowth) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( + from._internal_origin()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.duration_ = from._impl_.duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager_SetParticleClusterGrowth::CopyFrom(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager_SetParticleClusterGrowth::IsInitialized() const { + return true; +} + +void CUserMsg_ParticleManager_SetParticleClusterGrowth::InternalSwap(CUserMsg_ParticleManager_SetParticleClusterGrowth* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.duration_) + + sizeof(CUserMsg_ParticleManager_SetParticleClusterGrowth::_impl_.duration_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.origin_)>( + reinterpret_cast(&_impl_.origin_), + reinterpret_cast(&other->_impl_.origin_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleClusterGrowth::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[79]); +} + +// =================================================================== + +class CUserMsg_ParticleManager::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_type(HasBits* has_bits) { + (*has_bits)[1] |= 128u; + } + static void set_has_index(HasBits* has_bits) { + (*has_bits)[1] |= 256u; + } + static const ::CUserMsg_ParticleManager_ReleaseParticleIndex& release_particle_index(const CUserMsg_ParticleManager* msg); + static void set_has_release_particle_index(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CUserMsg_ParticleManager_CreateParticle& create_particle(const CUserMsg_ParticleManager* msg); + static void set_has_create_particle(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::CUserMsg_ParticleManager_DestroyParticle& destroy_particle(const CUserMsg_ParticleManager* msg); + static void set_has_destroy_particle(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static const ::CUserMsg_ParticleManager_DestroyParticleInvolving& destroy_particle_involving(const CUserMsg_ParticleManager* msg); + static void set_has_destroy_particle_involving(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& update_particle(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& update_particle_fwd(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_fwd(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& update_particle_orient(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_orient(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleFallback& update_particle_fallback(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_fallback(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleOffset& update_particle_offset(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_offset(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleEnt& update_particle_ent(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_ent(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& update_particle_should_draw(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_should_draw(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_set_frozen(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& change_control_point_attachment(const CUserMsg_ParticleManager* msg); + static void set_has_change_control_point_attachment(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static const ::CUserMsg_ParticleManager_UpdateEntityPosition& update_entity_position(const CUserMsg_ParticleManager* msg); + static void set_has_update_entity_position(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } + static const ::CUserMsg_ParticleManager_SetParticleFoWProperties& set_particle_fow_properties(const CUserMsg_ParticleManager* msg); + static void set_has_set_particle_fow_properties(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static const ::CUserMsg_ParticleManager_SetParticleText& set_particle_text(const CUserMsg_ParticleManager* msg); + static void set_has_set_particle_text(HasBits* has_bits) { + (*has_bits)[0] |= 32768u; + } + static const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& set_particle_should_check_fow(const CUserMsg_ParticleManager* msg); + static void set_has_set_particle_should_check_fow(HasBits* has_bits) { + (*has_bits)[0] |= 65536u; + } + static const ::CUserMsg_ParticleManager_SetControlPointModel& set_control_point_model(const CUserMsg_ParticleManager* msg); + static void set_has_set_control_point_model(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static const ::CUserMsg_ParticleManager_SetControlPointSnapshot& set_control_point_snapshot(const CUserMsg_ParticleManager* msg); + static void set_has_set_control_point_snapshot(HasBits* has_bits) { + (*has_bits)[0] |= 262144u; + } + static const ::CUserMsg_ParticleManager_SetTextureAttribute& set_texture_attribute(const CUserMsg_ParticleManager* msg); + static void set_has_set_texture_attribute(HasBits* has_bits) { + (*has_bits)[0] |= 524288u; + } + static const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& set_scene_object_generic_flag(const CUserMsg_ParticleManager* msg); + static void set_has_set_scene_object_generic_flag(HasBits* has_bits) { + (*has_bits)[0] |= 1048576u; + } + static const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& set_scene_object_tint_and_desat(const CUserMsg_ParticleManager* msg); + static void set_has_set_scene_object_tint_and_desat(HasBits* has_bits) { + (*has_bits)[0] |= 2097152u; + } + static const ::CUserMsg_ParticleManager_DestroyParticleNamed& destroy_particle_named(const CUserMsg_ParticleManager* msg); + static void set_has_destroy_particle_named(HasBits* has_bits) { + (*has_bits)[0] |= 4194304u; + } + static const ::CUserMsg_ParticleManager_ParticleSkipToTime& particle_skip_to_time(const CUserMsg_ParticleManager* msg); + static void set_has_particle_skip_to_time(HasBits* has_bits) { + (*has_bits)[0] |= 8388608u; + } + static const ::CUserMsg_ParticleManager_ParticleCanFreeze& particle_can_freeze(const CUserMsg_ParticleManager* msg); + static void set_has_particle_can_freeze(HasBits* has_bits) { + (*has_bits)[0] |= 16777216u; + } + static const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& set_named_value_context(const CUserMsg_ParticleManager* msg); + static void set_has_set_named_value_context(HasBits* has_bits) { + (*has_bits)[0] |= 33554432u; + } + static const ::CUserMsg_ParticleManager_UpdateParticleTransform& update_particle_transform(const CUserMsg_ParticleManager* msg); + static void set_has_update_particle_transform(HasBits* has_bits) { + (*has_bits)[0] |= 67108864u; + } + static const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& particle_freeze_transition_override(const CUserMsg_ParticleManager* msg); + static void set_has_particle_freeze_transition_override(HasBits* has_bits) { + (*has_bits)[0] |= 134217728u; + } + static const ::CUserMsg_ParticleManager_FreezeParticleInvolving& freeze_particle_involving(const CUserMsg_ParticleManager* msg); + static void set_has_freeze_particle_involving(HasBits* has_bits) { + (*has_bits)[0] |= 268435456u; + } + static const ::CUserMsg_ParticleManager_AddModellistOverrideElement& add_modellist_override_element(const CUserMsg_ParticleManager* msg); + static void set_has_add_modellist_override_element(HasBits* has_bits) { + (*has_bits)[0] |= 536870912u; + } + static const ::CUserMsg_ParticleManager_ClearModellistOverride& clear_modellist_override(const CUserMsg_ParticleManager* msg); + static void set_has_clear_modellist_override(HasBits* has_bits) { + (*has_bits)[0] |= 1073741824u; + } + static const ::CUserMsg_ParticleManager_CreatePhysicsSim& create_physics_sim(const CUserMsg_ParticleManager* msg); + static void set_has_create_physics_sim(HasBits* has_bits) { + (*has_bits)[0] |= 2147483648u; + } + static const ::CUserMsg_ParticleManager_DestroyPhysicsSim& destroy_physics_sim(const CUserMsg_ParticleManager* msg); + static void set_has_destroy_physics_sim(HasBits* has_bits) { + (*has_bits)[1] |= 1u; + } + static const ::CUserMsg_ParticleManager_SetVData& set_vdata(const CUserMsg_ParticleManager* msg); + static void set_has_set_vdata(HasBits* has_bits) { + (*has_bits)[1] |= 2u; + } + static const ::CUserMsg_ParticleManager_SetMaterialOverride& set_material_override(const CUserMsg_ParticleManager* msg); + static void set_has_set_material_override(HasBits* has_bits) { + (*has_bits)[1] |= 4u; + } + static const ::CUserMsg_ParticleManager_AddFan& add_fan(const CUserMsg_ParticleManager* msg); + static void set_has_add_fan(HasBits* has_bits) { + (*has_bits)[1] |= 8u; + } + static const ::CUserMsg_ParticleManager_UpdateFan& update_fan(const CUserMsg_ParticleManager* msg); + static void set_has_update_fan(HasBits* has_bits) { + (*has_bits)[1] |= 16u; + } + static const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& set_particle_cluster_growth(const CUserMsg_ParticleManager* msg); + static void set_has_set_particle_cluster_growth(HasBits* has_bits) { + (*has_bits)[1] |= 32u; + } + static const ::CUserMsg_ParticleManager_RemoveFan& remove_fan(const CUserMsg_ParticleManager* msg); + static void set_has_remove_fan(HasBits* has_bits) { + (*has_bits)[1] |= 64u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[1] & 0x00000180) ^ 0x00000180) != 0; + } +}; + +const ::CUserMsg_ParticleManager_ReleaseParticleIndex& +CUserMsg_ParticleManager::_Internal::release_particle_index(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.release_particle_index_; +} +const ::CUserMsg_ParticleManager_CreateParticle& +CUserMsg_ParticleManager::_Internal::create_particle(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.create_particle_; +} +const ::CUserMsg_ParticleManager_DestroyParticle& +CUserMsg_ParticleManager::_Internal::destroy_particle(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.destroy_particle_; +} +const ::CUserMsg_ParticleManager_DestroyParticleInvolving& +CUserMsg_ParticleManager::_Internal::destroy_particle_involving(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.destroy_particle_involving_; +} +const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& +CUserMsg_ParticleManager::_Internal::update_particle(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_; +} +const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& +CUserMsg_ParticleManager::_Internal::update_particle_fwd(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_fwd_; +} +const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& +CUserMsg_ParticleManager::_Internal::update_particle_orient(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_orient_; +} +const ::CUserMsg_ParticleManager_UpdateParticleFallback& +CUserMsg_ParticleManager::_Internal::update_particle_fallback(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_fallback_; +} +const ::CUserMsg_ParticleManager_UpdateParticleOffset& +CUserMsg_ParticleManager::_Internal::update_particle_offset(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_offset_; +} +const ::CUserMsg_ParticleManager_UpdateParticleEnt& +CUserMsg_ParticleManager::_Internal::update_particle_ent(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_ent_; +} +const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& +CUserMsg_ParticleManager::_Internal::update_particle_should_draw(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_should_draw_; +} +const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& +CUserMsg_ParticleManager::_Internal::update_particle_set_frozen(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_set_frozen_; +} +const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& +CUserMsg_ParticleManager::_Internal::change_control_point_attachment(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.change_control_point_attachment_; +} +const ::CUserMsg_ParticleManager_UpdateEntityPosition& +CUserMsg_ParticleManager::_Internal::update_entity_position(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_entity_position_; +} +const ::CUserMsg_ParticleManager_SetParticleFoWProperties& +CUserMsg_ParticleManager::_Internal::set_particle_fow_properties(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_particle_fow_properties_; +} +const ::CUserMsg_ParticleManager_SetParticleText& +CUserMsg_ParticleManager::_Internal::set_particle_text(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_particle_text_; +} +const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& +CUserMsg_ParticleManager::_Internal::set_particle_should_check_fow(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_particle_should_check_fow_; +} +const ::CUserMsg_ParticleManager_SetControlPointModel& +CUserMsg_ParticleManager::_Internal::set_control_point_model(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_control_point_model_; +} +const ::CUserMsg_ParticleManager_SetControlPointSnapshot& +CUserMsg_ParticleManager::_Internal::set_control_point_snapshot(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_control_point_snapshot_; +} +const ::CUserMsg_ParticleManager_SetTextureAttribute& +CUserMsg_ParticleManager::_Internal::set_texture_attribute(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_texture_attribute_; +} +const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& +CUserMsg_ParticleManager::_Internal::set_scene_object_generic_flag(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_scene_object_generic_flag_; +} +const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& +CUserMsg_ParticleManager::_Internal::set_scene_object_tint_and_desat(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_scene_object_tint_and_desat_; +} +const ::CUserMsg_ParticleManager_DestroyParticleNamed& +CUserMsg_ParticleManager::_Internal::destroy_particle_named(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.destroy_particle_named_; +} +const ::CUserMsg_ParticleManager_ParticleSkipToTime& +CUserMsg_ParticleManager::_Internal::particle_skip_to_time(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.particle_skip_to_time_; +} +const ::CUserMsg_ParticleManager_ParticleCanFreeze& +CUserMsg_ParticleManager::_Internal::particle_can_freeze(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.particle_can_freeze_; +} +const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& +CUserMsg_ParticleManager::_Internal::set_named_value_context(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_named_value_context_; +} +const ::CUserMsg_ParticleManager_UpdateParticleTransform& +CUserMsg_ParticleManager::_Internal::update_particle_transform(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_particle_transform_; +} +const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& +CUserMsg_ParticleManager::_Internal::particle_freeze_transition_override(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.particle_freeze_transition_override_; +} +const ::CUserMsg_ParticleManager_FreezeParticleInvolving& +CUserMsg_ParticleManager::_Internal::freeze_particle_involving(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.freeze_particle_involving_; +} +const ::CUserMsg_ParticleManager_AddModellistOverrideElement& +CUserMsg_ParticleManager::_Internal::add_modellist_override_element(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.add_modellist_override_element_; +} +const ::CUserMsg_ParticleManager_ClearModellistOverride& +CUserMsg_ParticleManager::_Internal::clear_modellist_override(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.clear_modellist_override_; +} +const ::CUserMsg_ParticleManager_CreatePhysicsSim& +CUserMsg_ParticleManager::_Internal::create_physics_sim(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.create_physics_sim_; +} +const ::CUserMsg_ParticleManager_DestroyPhysicsSim& +CUserMsg_ParticleManager::_Internal::destroy_physics_sim(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.destroy_physics_sim_; +} +const ::CUserMsg_ParticleManager_SetVData& +CUserMsg_ParticleManager::_Internal::set_vdata(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_vdata_; +} +const ::CUserMsg_ParticleManager_SetMaterialOverride& +CUserMsg_ParticleManager::_Internal::set_material_override(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_material_override_; +} +const ::CUserMsg_ParticleManager_AddFan& +CUserMsg_ParticleManager::_Internal::add_fan(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.add_fan_; +} +const ::CUserMsg_ParticleManager_UpdateFan& +CUserMsg_ParticleManager::_Internal::update_fan(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.update_fan_; +} +const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& +CUserMsg_ParticleManager::_Internal::set_particle_cluster_growth(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.set_particle_cluster_growth_; +} +const ::CUserMsg_ParticleManager_RemoveFan& +CUserMsg_ParticleManager::_Internal::remove_fan(const CUserMsg_ParticleManager* msg) { + return *msg->_impl_.remove_fan_; +} +CUserMsg_ParticleManager::CUserMsg_ParticleManager(::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:CUserMsg_ParticleManager) +} +CUserMsg_ParticleManager::CUserMsg_ParticleManager(const CUserMsg_ParticleManager& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_ParticleManager* const _this = this; (void)_this; + new (&_impl_) Impl_{ + /*decltype(_impl_._extensions_)*/{} + , decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.release_particle_index_){nullptr} + , decltype(_impl_.create_particle_){nullptr} + , decltype(_impl_.destroy_particle_){nullptr} + , decltype(_impl_.destroy_particle_involving_){nullptr} + , decltype(_impl_.update_particle_){nullptr} + , decltype(_impl_.update_particle_fwd_){nullptr} + , decltype(_impl_.update_particle_orient_){nullptr} + , decltype(_impl_.update_particle_fallback_){nullptr} + , decltype(_impl_.update_particle_offset_){nullptr} + , decltype(_impl_.update_particle_ent_){nullptr} + , decltype(_impl_.update_particle_should_draw_){nullptr} + , decltype(_impl_.update_particle_set_frozen_){nullptr} + , decltype(_impl_.change_control_point_attachment_){nullptr} + , decltype(_impl_.update_entity_position_){nullptr} + , decltype(_impl_.set_particle_fow_properties_){nullptr} + , decltype(_impl_.set_particle_text_){nullptr} + , decltype(_impl_.set_particle_should_check_fow_){nullptr} + , decltype(_impl_.set_control_point_model_){nullptr} + , decltype(_impl_.set_control_point_snapshot_){nullptr} + , decltype(_impl_.set_texture_attribute_){nullptr} + , decltype(_impl_.set_scene_object_generic_flag_){nullptr} + , decltype(_impl_.set_scene_object_tint_and_desat_){nullptr} + , decltype(_impl_.destroy_particle_named_){nullptr} + , decltype(_impl_.particle_skip_to_time_){nullptr} + , decltype(_impl_.particle_can_freeze_){nullptr} + , decltype(_impl_.set_named_value_context_){nullptr} + , decltype(_impl_.update_particle_transform_){nullptr} + , decltype(_impl_.particle_freeze_transition_override_){nullptr} + , decltype(_impl_.freeze_particle_involving_){nullptr} + , decltype(_impl_.add_modellist_override_element_){nullptr} + , decltype(_impl_.clear_modellist_override_){nullptr} + , decltype(_impl_.create_physics_sim_){nullptr} + , decltype(_impl_.destroy_physics_sim_){nullptr} + , decltype(_impl_.set_vdata_){nullptr} + , decltype(_impl_.set_material_override_){nullptr} + , decltype(_impl_.add_fan_){nullptr} + , decltype(_impl_.update_fan_){nullptr} + , decltype(_impl_.set_particle_cluster_growth_){nullptr} + , decltype(_impl_.remove_fan_){nullptr} + , decltype(_impl_.type_){} + , decltype(_impl_.index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); + if (from._internal_has_release_particle_index()) { + _this->_impl_.release_particle_index_ = new ::CUserMsg_ParticleManager_ReleaseParticleIndex(*from._impl_.release_particle_index_); + } + if (from._internal_has_create_particle()) { + _this->_impl_.create_particle_ = new ::CUserMsg_ParticleManager_CreateParticle(*from._impl_.create_particle_); + } + if (from._internal_has_destroy_particle()) { + _this->_impl_.destroy_particle_ = new ::CUserMsg_ParticleManager_DestroyParticle(*from._impl_.destroy_particle_); + } + if (from._internal_has_destroy_particle_involving()) { + _this->_impl_.destroy_particle_involving_ = new ::CUserMsg_ParticleManager_DestroyParticleInvolving(*from._impl_.destroy_particle_involving_); + } + if (from._internal_has_update_particle()) { + _this->_impl_.update_particle_ = new ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(*from._impl_.update_particle_); + } + if (from._internal_has_update_particle_fwd()) { + _this->_impl_.update_particle_fwd_ = new ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(*from._impl_.update_particle_fwd_); + } + if (from._internal_has_update_particle_orient()) { + _this->_impl_.update_particle_orient_ = new ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(*from._impl_.update_particle_orient_); + } + if (from._internal_has_update_particle_fallback()) { + _this->_impl_.update_particle_fallback_ = new ::CUserMsg_ParticleManager_UpdateParticleFallback(*from._impl_.update_particle_fallback_); + } + if (from._internal_has_update_particle_offset()) { + _this->_impl_.update_particle_offset_ = new ::CUserMsg_ParticleManager_UpdateParticleOffset(*from._impl_.update_particle_offset_); + } + if (from._internal_has_update_particle_ent()) { + _this->_impl_.update_particle_ent_ = new ::CUserMsg_ParticleManager_UpdateParticleEnt(*from._impl_.update_particle_ent_); + } + if (from._internal_has_update_particle_should_draw()) { + _this->_impl_.update_particle_should_draw_ = new ::CUserMsg_ParticleManager_UpdateParticleShouldDraw(*from._impl_.update_particle_should_draw_); + } + if (from._internal_has_update_particle_set_frozen()) { + _this->_impl_.update_particle_set_frozen_ = new ::CUserMsg_ParticleManager_UpdateParticleSetFrozen(*from._impl_.update_particle_set_frozen_); + } + if (from._internal_has_change_control_point_attachment()) { + _this->_impl_.change_control_point_attachment_ = new ::CUserMsg_ParticleManager_ChangeControlPointAttachment(*from._impl_.change_control_point_attachment_); + } + if (from._internal_has_update_entity_position()) { + _this->_impl_.update_entity_position_ = new ::CUserMsg_ParticleManager_UpdateEntityPosition(*from._impl_.update_entity_position_); + } + if (from._internal_has_set_particle_fow_properties()) { + _this->_impl_.set_particle_fow_properties_ = new ::CUserMsg_ParticleManager_SetParticleFoWProperties(*from._impl_.set_particle_fow_properties_); + } + if (from._internal_has_set_particle_text()) { + _this->_impl_.set_particle_text_ = new ::CUserMsg_ParticleManager_SetParticleText(*from._impl_.set_particle_text_); + } + if (from._internal_has_set_particle_should_check_fow()) { + _this->_impl_.set_particle_should_check_fow_ = new ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(*from._impl_.set_particle_should_check_fow_); + } + if (from._internal_has_set_control_point_model()) { + _this->_impl_.set_control_point_model_ = new ::CUserMsg_ParticleManager_SetControlPointModel(*from._impl_.set_control_point_model_); + } + if (from._internal_has_set_control_point_snapshot()) { + _this->_impl_.set_control_point_snapshot_ = new ::CUserMsg_ParticleManager_SetControlPointSnapshot(*from._impl_.set_control_point_snapshot_); + } + if (from._internal_has_set_texture_attribute()) { + _this->_impl_.set_texture_attribute_ = new ::CUserMsg_ParticleManager_SetTextureAttribute(*from._impl_.set_texture_attribute_); + } + if (from._internal_has_set_scene_object_generic_flag()) { + _this->_impl_.set_scene_object_generic_flag_ = new ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(*from._impl_.set_scene_object_generic_flag_); + } + if (from._internal_has_set_scene_object_tint_and_desat()) { + _this->_impl_.set_scene_object_tint_and_desat_ = new ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(*from._impl_.set_scene_object_tint_and_desat_); + } + if (from._internal_has_destroy_particle_named()) { + _this->_impl_.destroy_particle_named_ = new ::CUserMsg_ParticleManager_DestroyParticleNamed(*from._impl_.destroy_particle_named_); + } + if (from._internal_has_particle_skip_to_time()) { + _this->_impl_.particle_skip_to_time_ = new ::CUserMsg_ParticleManager_ParticleSkipToTime(*from._impl_.particle_skip_to_time_); + } + if (from._internal_has_particle_can_freeze()) { + _this->_impl_.particle_can_freeze_ = new ::CUserMsg_ParticleManager_ParticleCanFreeze(*from._impl_.particle_can_freeze_); + } + if (from._internal_has_set_named_value_context()) { + _this->_impl_.set_named_value_context_ = new ::CUserMsg_ParticleManager_SetParticleNamedValueContext(*from._impl_.set_named_value_context_); + } + if (from._internal_has_update_particle_transform()) { + _this->_impl_.update_particle_transform_ = new ::CUserMsg_ParticleManager_UpdateParticleTransform(*from._impl_.update_particle_transform_); + } + if (from._internal_has_particle_freeze_transition_override()) { + _this->_impl_.particle_freeze_transition_override_ = new ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(*from._impl_.particle_freeze_transition_override_); + } + if (from._internal_has_freeze_particle_involving()) { + _this->_impl_.freeze_particle_involving_ = new ::CUserMsg_ParticleManager_FreezeParticleInvolving(*from._impl_.freeze_particle_involving_); + } + if (from._internal_has_add_modellist_override_element()) { + _this->_impl_.add_modellist_override_element_ = new ::CUserMsg_ParticleManager_AddModellistOverrideElement(*from._impl_.add_modellist_override_element_); + } + if (from._internal_has_clear_modellist_override()) { + _this->_impl_.clear_modellist_override_ = new ::CUserMsg_ParticleManager_ClearModellistOverride(*from._impl_.clear_modellist_override_); + } + if (from._internal_has_create_physics_sim()) { + _this->_impl_.create_physics_sim_ = new ::CUserMsg_ParticleManager_CreatePhysicsSim(*from._impl_.create_physics_sim_); + } + if (from._internal_has_destroy_physics_sim()) { + _this->_impl_.destroy_physics_sim_ = new ::CUserMsg_ParticleManager_DestroyPhysicsSim(*from._impl_.destroy_physics_sim_); + } + if (from._internal_has_set_vdata()) { + _this->_impl_.set_vdata_ = new ::CUserMsg_ParticleManager_SetVData(*from._impl_.set_vdata_); + } + if (from._internal_has_set_material_override()) { + _this->_impl_.set_material_override_ = new ::CUserMsg_ParticleManager_SetMaterialOverride(*from._impl_.set_material_override_); + } + if (from._internal_has_add_fan()) { + _this->_impl_.add_fan_ = new ::CUserMsg_ParticleManager_AddFan(*from._impl_.add_fan_); + } + if (from._internal_has_update_fan()) { + _this->_impl_.update_fan_ = new ::CUserMsg_ParticleManager_UpdateFan(*from._impl_.update_fan_); + } + if (from._internal_has_set_particle_cluster_growth()) { + _this->_impl_.set_particle_cluster_growth_ = new ::CUserMsg_ParticleManager_SetParticleClusterGrowth(*from._impl_.set_particle_cluster_growth_); + } + if (from._internal_has_remove_fan()) { + _this->_impl_.remove_fan_ = new ::CUserMsg_ParticleManager_RemoveFan(*from._impl_.remove_fan_); + } + ::memcpy(&_impl_.type_, &from._impl_.type_, + static_cast(reinterpret_cast(&_impl_.index_) - + reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.index_)); + // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager) +} + +inline void CUserMsg_ParticleManager::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena} + , decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.release_particle_index_){nullptr} + , decltype(_impl_.create_particle_){nullptr} + , decltype(_impl_.destroy_particle_){nullptr} + , decltype(_impl_.destroy_particle_involving_){nullptr} + , decltype(_impl_.update_particle_){nullptr} + , decltype(_impl_.update_particle_fwd_){nullptr} + , decltype(_impl_.update_particle_orient_){nullptr} + , decltype(_impl_.update_particle_fallback_){nullptr} + , decltype(_impl_.update_particle_offset_){nullptr} + , decltype(_impl_.update_particle_ent_){nullptr} + , decltype(_impl_.update_particle_should_draw_){nullptr} + , decltype(_impl_.update_particle_set_frozen_){nullptr} + , decltype(_impl_.change_control_point_attachment_){nullptr} + , decltype(_impl_.update_entity_position_){nullptr} + , decltype(_impl_.set_particle_fow_properties_){nullptr} + , decltype(_impl_.set_particle_text_){nullptr} + , decltype(_impl_.set_particle_should_check_fow_){nullptr} + , decltype(_impl_.set_control_point_model_){nullptr} + , decltype(_impl_.set_control_point_snapshot_){nullptr} + , decltype(_impl_.set_texture_attribute_){nullptr} + , decltype(_impl_.set_scene_object_generic_flag_){nullptr} + , decltype(_impl_.set_scene_object_tint_and_desat_){nullptr} + , decltype(_impl_.destroy_particle_named_){nullptr} + , decltype(_impl_.particle_skip_to_time_){nullptr} + , decltype(_impl_.particle_can_freeze_){nullptr} + , decltype(_impl_.set_named_value_context_){nullptr} + , decltype(_impl_.update_particle_transform_){nullptr} + , decltype(_impl_.particle_freeze_transition_override_){nullptr} + , decltype(_impl_.freeze_particle_involving_){nullptr} + , decltype(_impl_.add_modellist_override_element_){nullptr} + , decltype(_impl_.clear_modellist_override_){nullptr} + , decltype(_impl_.create_physics_sim_){nullptr} + , decltype(_impl_.destroy_physics_sim_){nullptr} + , decltype(_impl_.set_vdata_){nullptr} + , decltype(_impl_.set_material_override_){nullptr} + , decltype(_impl_.add_fan_){nullptr} + , decltype(_impl_.update_fan_){nullptr} + , decltype(_impl_.set_particle_cluster_growth_){nullptr} + , decltype(_impl_.remove_fan_){nullptr} + , decltype(_impl_.type_){0} + , decltype(_impl_.index_){0u} + }; +} + +CUserMsg_ParticleManager::~CUserMsg_ParticleManager() { + // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_ParticleManager::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_._extensions_.~ExtensionSet(); + if (this != internal_default_instance()) delete _impl_.release_particle_index_; + if (this != internal_default_instance()) delete _impl_.create_particle_; + if (this != internal_default_instance()) delete _impl_.destroy_particle_; + if (this != internal_default_instance()) delete _impl_.destroy_particle_involving_; + if (this != internal_default_instance()) delete _impl_.update_particle_; + if (this != internal_default_instance()) delete _impl_.update_particle_fwd_; + if (this != internal_default_instance()) delete _impl_.update_particle_orient_; + if (this != internal_default_instance()) delete _impl_.update_particle_fallback_; + if (this != internal_default_instance()) delete _impl_.update_particle_offset_; + if (this != internal_default_instance()) delete _impl_.update_particle_ent_; + if (this != internal_default_instance()) delete _impl_.update_particle_should_draw_; + if (this != internal_default_instance()) delete _impl_.update_particle_set_frozen_; + if (this != internal_default_instance()) delete _impl_.change_control_point_attachment_; + if (this != internal_default_instance()) delete _impl_.update_entity_position_; + if (this != internal_default_instance()) delete _impl_.set_particle_fow_properties_; + if (this != internal_default_instance()) delete _impl_.set_particle_text_; + if (this != internal_default_instance()) delete _impl_.set_particle_should_check_fow_; + if (this != internal_default_instance()) delete _impl_.set_control_point_model_; + if (this != internal_default_instance()) delete _impl_.set_control_point_snapshot_; + if (this != internal_default_instance()) delete _impl_.set_texture_attribute_; + if (this != internal_default_instance()) delete _impl_.set_scene_object_generic_flag_; + if (this != internal_default_instance()) delete _impl_.set_scene_object_tint_and_desat_; + if (this != internal_default_instance()) delete _impl_.destroy_particle_named_; + if (this != internal_default_instance()) delete _impl_.particle_skip_to_time_; + if (this != internal_default_instance()) delete _impl_.particle_can_freeze_; + if (this != internal_default_instance()) delete _impl_.set_named_value_context_; + if (this != internal_default_instance()) delete _impl_.update_particle_transform_; + if (this != internal_default_instance()) delete _impl_.particle_freeze_transition_override_; + if (this != internal_default_instance()) delete _impl_.freeze_particle_involving_; + if (this != internal_default_instance()) delete _impl_.add_modellist_override_element_; + if (this != internal_default_instance()) delete _impl_.clear_modellist_override_; + if (this != internal_default_instance()) delete _impl_.create_physics_sim_; + if (this != internal_default_instance()) delete _impl_.destroy_physics_sim_; + if (this != internal_default_instance()) delete _impl_.set_vdata_; + if (this != internal_default_instance()) delete _impl_.set_material_override_; + if (this != internal_default_instance()) delete _impl_.add_fan_; + if (this != internal_default_instance()) delete _impl_.update_fan_; + if (this != internal_default_instance()) delete _impl_.set_particle_cluster_growth_; + if (this != internal_default_instance()) delete _impl_.remove_fan_; +} + +void CUserMsg_ParticleManager::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_ParticleManager::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_._extensions_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.release_particle_index_ != nullptr); + _impl_.release_particle_index_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.create_particle_ != nullptr); + _impl_.create_particle_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.destroy_particle_ != nullptr); + _impl_.destroy_particle_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.destroy_particle_involving_ != nullptr); + _impl_.destroy_particle_involving_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.update_particle_ != nullptr); + _impl_.update_particle_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.update_particle_fwd_ != nullptr); + _impl_.update_particle_fwd_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.update_particle_orient_ != nullptr); + _impl_.update_particle_orient_->Clear(); + } + if (cached_has_bits & 0x00000080u) { + GOOGLE_DCHECK(_impl_.update_particle_fallback_ != nullptr); + _impl_.update_particle_fallback_->Clear(); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + GOOGLE_DCHECK(_impl_.update_particle_offset_ != nullptr); + _impl_.update_particle_offset_->Clear(); + } + if (cached_has_bits & 0x00000200u) { + GOOGLE_DCHECK(_impl_.update_particle_ent_ != nullptr); + _impl_.update_particle_ent_->Clear(); + } + if (cached_has_bits & 0x00000400u) { + GOOGLE_DCHECK(_impl_.update_particle_should_draw_ != nullptr); + _impl_.update_particle_should_draw_->Clear(); + } + if (cached_has_bits & 0x00000800u) { + GOOGLE_DCHECK(_impl_.update_particle_set_frozen_ != nullptr); + _impl_.update_particle_set_frozen_->Clear(); + } + if (cached_has_bits & 0x00001000u) { + GOOGLE_DCHECK(_impl_.change_control_point_attachment_ != nullptr); + _impl_.change_control_point_attachment_->Clear(); + } + if (cached_has_bits & 0x00002000u) { + GOOGLE_DCHECK(_impl_.update_entity_position_ != nullptr); + _impl_.update_entity_position_->Clear(); + } + if (cached_has_bits & 0x00004000u) { + GOOGLE_DCHECK(_impl_.set_particle_fow_properties_ != nullptr); + _impl_.set_particle_fow_properties_->Clear(); + } + if (cached_has_bits & 0x00008000u) { + GOOGLE_DCHECK(_impl_.set_particle_text_ != nullptr); + _impl_.set_particle_text_->Clear(); + } + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + GOOGLE_DCHECK(_impl_.set_particle_should_check_fow_ != nullptr); + _impl_.set_particle_should_check_fow_->Clear(); + } + if (cached_has_bits & 0x00020000u) { + GOOGLE_DCHECK(_impl_.set_control_point_model_ != nullptr); + _impl_.set_control_point_model_->Clear(); + } + if (cached_has_bits & 0x00040000u) { + GOOGLE_DCHECK(_impl_.set_control_point_snapshot_ != nullptr); + _impl_.set_control_point_snapshot_->Clear(); + } + if (cached_has_bits & 0x00080000u) { + GOOGLE_DCHECK(_impl_.set_texture_attribute_ != nullptr); + _impl_.set_texture_attribute_->Clear(); + } + if (cached_has_bits & 0x00100000u) { + GOOGLE_DCHECK(_impl_.set_scene_object_generic_flag_ != nullptr); + _impl_.set_scene_object_generic_flag_->Clear(); + } + if (cached_has_bits & 0x00200000u) { + GOOGLE_DCHECK(_impl_.set_scene_object_tint_and_desat_ != nullptr); + _impl_.set_scene_object_tint_and_desat_->Clear(); + } + if (cached_has_bits & 0x00400000u) { + GOOGLE_DCHECK(_impl_.destroy_particle_named_ != nullptr); + _impl_.destroy_particle_named_->Clear(); + } + if (cached_has_bits & 0x00800000u) { + GOOGLE_DCHECK(_impl_.particle_skip_to_time_ != nullptr); + _impl_.particle_skip_to_time_->Clear(); + } + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + GOOGLE_DCHECK(_impl_.particle_can_freeze_ != nullptr); + _impl_.particle_can_freeze_->Clear(); + } + if (cached_has_bits & 0x02000000u) { + GOOGLE_DCHECK(_impl_.set_named_value_context_ != nullptr); + _impl_.set_named_value_context_->Clear(); + } + if (cached_has_bits & 0x04000000u) { + GOOGLE_DCHECK(_impl_.update_particle_transform_ != nullptr); + _impl_.update_particle_transform_->Clear(); + } + if (cached_has_bits & 0x08000000u) { + GOOGLE_DCHECK(_impl_.particle_freeze_transition_override_ != nullptr); + _impl_.particle_freeze_transition_override_->Clear(); + } + if (cached_has_bits & 0x10000000u) { + GOOGLE_DCHECK(_impl_.freeze_particle_involving_ != nullptr); + _impl_.freeze_particle_involving_->Clear(); + } + if (cached_has_bits & 0x20000000u) { + GOOGLE_DCHECK(_impl_.add_modellist_override_element_ != nullptr); + _impl_.add_modellist_override_element_->Clear(); + } + if (cached_has_bits & 0x40000000u) { + GOOGLE_DCHECK(_impl_.clear_modellist_override_ != nullptr); + _impl_.clear_modellist_override_->Clear(); + } + if (cached_has_bits & 0x80000000u) { + GOOGLE_DCHECK(_impl_.create_physics_sim_ != nullptr); + _impl_.create_physics_sim_->Clear(); + } + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x0000007fu) { + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(_impl_.destroy_physics_sim_ != nullptr); + _impl_.destroy_physics_sim_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.set_vdata_ != nullptr); + _impl_.set_vdata_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(_impl_.set_material_override_ != nullptr); + _impl_.set_material_override_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(_impl_.add_fan_ != nullptr); + _impl_.add_fan_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(_impl_.update_fan_ != nullptr); + _impl_.update_fan_->Clear(); + } + if (cached_has_bits & 0x00000020u) { + GOOGLE_DCHECK(_impl_.set_particle_cluster_growth_ != nullptr); + _impl_.set_particle_cluster_growth_->Clear(); + } + if (cached_has_bits & 0x00000040u) { + GOOGLE_DCHECK(_impl_.remove_fan_ != nullptr); + _impl_.remove_fan_->Clear(); + } + } + _impl_.type_ = 0; + _impl_.index_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_ParticleManager::_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) { + // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::PARTICLE_MESSAGE_IsValid(val))) { + _internal_set_type(static_cast<::PARTICLE_MESSAGE>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // required uint32 index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_index(&_impl_._has_bits_); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_release_particle_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_create_particle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_destroy_particle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_destroy_particle_involving(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_fwd(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_orient(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_fallback(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_offset(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_ent(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_should_draw(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_set_frozen(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + ptr = ctx->ParseMessage(_internal_mutable_change_control_point_attachment(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + ptr = ctx->ParseMessage(_internal_mutable_update_entity_position(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr = ctx->ParseMessage(_internal_mutable_set_particle_fow_properties(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_set_particle_text(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr = ctx->ParseMessage(_internal_mutable_set_particle_should_check_fow(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + ptr = ctx->ParseMessage(_internal_mutable_set_control_point_model(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { + ptr = ctx->ParseMessage(_internal_mutable_set_control_point_snapshot(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { + ptr = ctx->ParseMessage(_internal_mutable_set_texture_attribute(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { + ptr = ctx->ParseMessage(_internal_mutable_set_scene_object_generic_flag(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { + ptr = ctx->ParseMessage(_internal_mutable_set_scene_object_tint_and_desat(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { + ptr = ctx->ParseMessage(_internal_mutable_destroy_particle_named(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { + ptr = ctx->ParseMessage(_internal_mutable_particle_skip_to_time(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { + ptr = ctx->ParseMessage(_internal_mutable_particle_can_freeze(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { + ptr = ctx->ParseMessage(_internal_mutable_set_named_value_context(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { + ptr = ctx->ParseMessage(_internal_mutable_update_particle_transform(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { + ptr = ctx->ParseMessage(_internal_mutable_particle_freeze_transition_override(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { + ptr = ctx->ParseMessage(_internal_mutable_freeze_particle_involving(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_add_modellist_override_element(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_clear_modellist_override(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_create_physics_sim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_destroy_physics_sim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; + case 37: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_set_vdata(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; + case 38: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_set_material_override(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; + case 39: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_add_fan(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_update_fan(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_set_particle_cluster_growth(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_remove_fan(), 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; + } + if ((800u <= tag && tag < 1616u)) { + ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx); + CHK_(ptr != nullptr); + continue; + } + 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* CUserMsg_ParticleManager::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[1]; + // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_type(), target); + } + + // required uint32 index = 2; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_index(), target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::release_particle_index(this), + _Internal::release_particle_index(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::create_particle(this), + _Internal::create_particle(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::destroy_particle(this), + _Internal::destroy_particle(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::destroy_particle_involving(this), + _Internal::destroy_particle_involving(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::update_particle(this), + _Internal::update_particle(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::update_particle_fwd(this), + _Internal::update_particle_fwd(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::update_particle_orient(this), + _Internal::update_particle_orient(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + if (cached_has_bits & 0x00000080u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::update_particle_fallback(this), + _Internal::update_particle_fallback(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + if (cached_has_bits & 0x00000100u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::update_particle_offset(this), + _Internal::update_particle_offset(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + if (cached_has_bits & 0x00000200u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::update_particle_ent(this), + _Internal::update_particle_ent(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + if (cached_has_bits & 0x00000400u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, _Internal::update_particle_should_draw(this), + _Internal::update_particle_should_draw(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + if (cached_has_bits & 0x00000800u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, _Internal::update_particle_set_frozen(this), + _Internal::update_particle_set_frozen(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; + if (cached_has_bits & 0x00001000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(16, _Internal::change_control_point_attachment(this), + _Internal::change_control_point_attachment(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; + if (cached_has_bits & 0x00002000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(17, _Internal::update_entity_position(this), + _Internal::update_entity_position(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; + if (cached_has_bits & 0x00004000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, _Internal::set_particle_fow_properties(this), + _Internal::set_particle_fow_properties(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; + if (cached_has_bits & 0x00008000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, _Internal::set_particle_text(this), + _Internal::set_particle_text(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; + if (cached_has_bits & 0x00010000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, _Internal::set_particle_should_check_fow(this), + _Internal::set_particle_should_check_fow(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; + if (cached_has_bits & 0x00020000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(21, _Internal::set_control_point_model(this), + _Internal::set_control_point_model(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; + if (cached_has_bits & 0x00040000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(22, _Internal::set_control_point_snapshot(this), + _Internal::set_control_point_snapshot(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; + if (cached_has_bits & 0x00080000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(23, _Internal::set_texture_attribute(this), + _Internal::set_texture_attribute(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; + if (cached_has_bits & 0x00100000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(24, _Internal::set_scene_object_generic_flag(this), + _Internal::set_scene_object_generic_flag(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; + if (cached_has_bits & 0x00200000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(25, _Internal::set_scene_object_tint_and_desat(this), + _Internal::set_scene_object_tint_and_desat(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; + if (cached_has_bits & 0x00400000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(26, _Internal::destroy_particle_named(this), + _Internal::destroy_particle_named(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; + if (cached_has_bits & 0x00800000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(27, _Internal::particle_skip_to_time(this), + _Internal::particle_skip_to_time(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; + if (cached_has_bits & 0x01000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(28, _Internal::particle_can_freeze(this), + _Internal::particle_can_freeze(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; + if (cached_has_bits & 0x02000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(29, _Internal::set_named_value_context(this), + _Internal::set_named_value_context(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; + if (cached_has_bits & 0x04000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(30, _Internal::update_particle_transform(this), + _Internal::update_particle_transform(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; + if (cached_has_bits & 0x08000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(31, _Internal::particle_freeze_transition_override(this), + _Internal::particle_freeze_transition_override(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; + if (cached_has_bits & 0x10000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(32, _Internal::freeze_particle_involving(this), + _Internal::freeze_particle_involving(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; + if (cached_has_bits & 0x20000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(33, _Internal::add_modellist_override_element(this), + _Internal::add_modellist_override_element(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; + if (cached_has_bits & 0x40000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(34, _Internal::clear_modellist_override(this), + _Internal::clear_modellist_override(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; + if (cached_has_bits & 0x80000000u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(35, _Internal::create_physics_sim(this), + _Internal::create_physics_sim(this).GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[1]; + // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; + if (cached_has_bits & 0x00000001u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(36, _Internal::destroy_physics_sim(this), + _Internal::destroy_physics_sim(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(37, _Internal::set_vdata(this), + _Internal::set_vdata(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; + if (cached_has_bits & 0x00000004u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(38, _Internal::set_material_override(this), + _Internal::set_material_override(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; + if (cached_has_bits & 0x00000008u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(39, _Internal::add_fan(this), + _Internal::add_fan(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; + if (cached_has_bits & 0x00000010u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(40, _Internal::update_fan(this), + _Internal::update_fan(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; + if (cached_has_bits & 0x00000020u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(41, _Internal::set_particle_cluster_growth(this), + _Internal::set_particle_cluster_growth(this).GetCachedSize(), target, stream); + } + + // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; + if (cached_has_bits & 0x00000040u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(42, _Internal::remove_fan(this), + _Internal::remove_fan(this).GetCachedSize(), target, stream); + } + + // Extension range [100, 202) + target = _impl_._extensions_._InternalSerialize( + internal_default_instance(), 100, 202, 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:CUserMsg_ParticleManager) + return target; +} + +size_t CUserMsg_ParticleManager::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CUserMsg_ParticleManager) + size_t total_size = 0; + + if (_internal_has_type()) { + // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); + } + + if (_internal_has_index()) { + // required uint32 index = 2; + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); + } + + return total_size; +} +size_t CUserMsg_ParticleManager::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager) + size_t total_size = 0; + + total_size += _impl_._extensions_.ByteSize(); + + if (((_impl_._has_bits_[1] & 0x00000180) ^ 0x00000180) == 0) { // All required fields are present. + // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); + + // required uint32 index = 2; + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); + + } else { + total_size += RequiredFieldsByteSizeFallback(); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.release_particle_index_); + } + + // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.create_particle_); + } + + // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.destroy_particle_); + } + + // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.destroy_particle_involving_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; + if (cached_has_bits & 0x00000020u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_fwd_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; + if (cached_has_bits & 0x00000040u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_orient_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + if (cached_has_bits & 0x00000080u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_fallback_); + } + + } + if (cached_has_bits & 0x0000ff00u) { + // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + if (cached_has_bits & 0x00000100u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_offset_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_ent_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_should_draw_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + if (cached_has_bits & 0x00000800u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_set_frozen_); + } + + // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.change_control_point_attachment_); + } + + // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_entity_position_); + } + + // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; + if (cached_has_bits & 0x00004000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_particle_fow_properties_); + } + + // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; + if (cached_has_bits & 0x00008000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_particle_text_); + } + + } + if (cached_has_bits & 0x00ff0000u) { + // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_particle_should_check_fow_); + } + + // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_control_point_model_); + } + + // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; + if (cached_has_bits & 0x00040000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_control_point_snapshot_); + } + + // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; + if (cached_has_bits & 0x00080000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_texture_attribute_); + } + + // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; + if (cached_has_bits & 0x00100000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_scene_object_generic_flag_); + } + + // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; + if (cached_has_bits & 0x00200000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_scene_object_tint_and_desat_); + } + + // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; + if (cached_has_bits & 0x00400000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.destroy_particle_named_); + } + + // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; + if (cached_has_bits & 0x00800000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.particle_skip_to_time_); + } + + } + if (cached_has_bits & 0xff000000u) { + // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; + if (cached_has_bits & 0x01000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.particle_can_freeze_); + } + + // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; + if (cached_has_bits & 0x02000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_named_value_context_); + } + + // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; + if (cached_has_bits & 0x04000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_particle_transform_); + } + + // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; + if (cached_has_bits & 0x08000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.particle_freeze_transition_override_); + } + + // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; + if (cached_has_bits & 0x10000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.freeze_particle_involving_); + } + + // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; + if (cached_has_bits & 0x20000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.add_modellist_override_element_); + } + + // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; + if (cached_has_bits & 0x40000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.clear_modellist_override_); + } + + // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; + if (cached_has_bits & 0x80000000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.create_physics_sim_); + } + + } + cached_has_bits = _impl_._has_bits_[1]; + if (cached_has_bits & 0x0000007fu) { + // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; + if (cached_has_bits & 0x00000001u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.destroy_physics_sim_); + } + + // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; + if (cached_has_bits & 0x00000002u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_vdata_); + } + + // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_material_override_); + } + + // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.add_fan_); + } + + // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; + if (cached_has_bits & 0x00000010u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.update_fan_); + } + + // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; + if (cached_has_bits & 0x00000020u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.set_particle_cluster_growth_); + } + + // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; + if (cached_has_bits & 0x00000040u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.remove_fan_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_ParticleManager::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager::GetClassData() const { return &_class_data_; } + + +void CUserMsg_ParticleManager::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:CUserMsg_ParticleManager) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_release_particle_index()->::CUserMsg_ParticleManager_ReleaseParticleIndex::MergeFrom( + from._internal_release_particle_index()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_create_particle()->::CUserMsg_ParticleManager_CreateParticle::MergeFrom( + from._internal_create_particle()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_destroy_particle()->::CUserMsg_ParticleManager_DestroyParticle::MergeFrom( + from._internal_destroy_particle()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_destroy_particle_involving()->::CUserMsg_ParticleManager_DestroyParticleInvolving::MergeFrom( + from._internal_destroy_particle_involving()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_update_particle()->::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeFrom( + from._internal_update_particle()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_update_particle_fwd()->::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeFrom( + from._internal_update_particle_fwd()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_update_particle_orient()->::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeFrom( + from._internal_update_particle_orient()); + } + if (cached_has_bits & 0x00000080u) { + _this->_internal_mutable_update_particle_fallback()->::CUserMsg_ParticleManager_UpdateParticleFallback::MergeFrom( + from._internal_update_particle_fallback()); + } + } + if (cached_has_bits & 0x0000ff00u) { + if (cached_has_bits & 0x00000100u) { + _this->_internal_mutable_update_particle_offset()->::CUserMsg_ParticleManager_UpdateParticleOffset::MergeFrom( + from._internal_update_particle_offset()); + } + if (cached_has_bits & 0x00000200u) { + _this->_internal_mutable_update_particle_ent()->::CUserMsg_ParticleManager_UpdateParticleEnt::MergeFrom( + from._internal_update_particle_ent()); + } + if (cached_has_bits & 0x00000400u) { + _this->_internal_mutable_update_particle_should_draw()->::CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeFrom( + from._internal_update_particle_should_draw()); + } + if (cached_has_bits & 0x00000800u) { + _this->_internal_mutable_update_particle_set_frozen()->::CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeFrom( + from._internal_update_particle_set_frozen()); + } + if (cached_has_bits & 0x00001000u) { + _this->_internal_mutable_change_control_point_attachment()->::CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeFrom( + from._internal_change_control_point_attachment()); + } + if (cached_has_bits & 0x00002000u) { + _this->_internal_mutable_update_entity_position()->::CUserMsg_ParticleManager_UpdateEntityPosition::MergeFrom( + from._internal_update_entity_position()); + } + if (cached_has_bits & 0x00004000u) { + _this->_internal_mutable_set_particle_fow_properties()->::CUserMsg_ParticleManager_SetParticleFoWProperties::MergeFrom( + from._internal_set_particle_fow_properties()); + } + if (cached_has_bits & 0x00008000u) { + _this->_internal_mutable_set_particle_text()->::CUserMsg_ParticleManager_SetParticleText::MergeFrom( + from._internal_set_particle_text()); + } + } + if (cached_has_bits & 0x00ff0000u) { + if (cached_has_bits & 0x00010000u) { + _this->_internal_mutable_set_particle_should_check_fow()->::CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeFrom( + from._internal_set_particle_should_check_fow()); + } + if (cached_has_bits & 0x00020000u) { + _this->_internal_mutable_set_control_point_model()->::CUserMsg_ParticleManager_SetControlPointModel::MergeFrom( + from._internal_set_control_point_model()); + } + if (cached_has_bits & 0x00040000u) { + _this->_internal_mutable_set_control_point_snapshot()->::CUserMsg_ParticleManager_SetControlPointSnapshot::MergeFrom( + from._internal_set_control_point_snapshot()); + } + if (cached_has_bits & 0x00080000u) { + _this->_internal_mutable_set_texture_attribute()->::CUserMsg_ParticleManager_SetTextureAttribute::MergeFrom( + from._internal_set_texture_attribute()); + } + if (cached_has_bits & 0x00100000u) { + _this->_internal_mutable_set_scene_object_generic_flag()->::CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeFrom( + from._internal_set_scene_object_generic_flag()); + } + if (cached_has_bits & 0x00200000u) { + _this->_internal_mutable_set_scene_object_tint_and_desat()->::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeFrom( + from._internal_set_scene_object_tint_and_desat()); + } + if (cached_has_bits & 0x00400000u) { + _this->_internal_mutable_destroy_particle_named()->::CUserMsg_ParticleManager_DestroyParticleNamed::MergeFrom( + from._internal_destroy_particle_named()); + } + if (cached_has_bits & 0x00800000u) { + _this->_internal_mutable_particle_skip_to_time()->::CUserMsg_ParticleManager_ParticleSkipToTime::MergeFrom( + from._internal_particle_skip_to_time()); + } + } + if (cached_has_bits & 0xff000000u) { + if (cached_has_bits & 0x01000000u) { + _this->_internal_mutable_particle_can_freeze()->::CUserMsg_ParticleManager_ParticleCanFreeze::MergeFrom( + from._internal_particle_can_freeze()); + } + if (cached_has_bits & 0x02000000u) { + _this->_internal_mutable_set_named_value_context()->::CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeFrom( + from._internal_set_named_value_context()); + } + if (cached_has_bits & 0x04000000u) { + _this->_internal_mutable_update_particle_transform()->::CUserMsg_ParticleManager_UpdateParticleTransform::MergeFrom( + from._internal_update_particle_transform()); + } + if (cached_has_bits & 0x08000000u) { + _this->_internal_mutable_particle_freeze_transition_override()->::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeFrom( + from._internal_particle_freeze_transition_override()); + } + if (cached_has_bits & 0x10000000u) { + _this->_internal_mutable_freeze_particle_involving()->::CUserMsg_ParticleManager_FreezeParticleInvolving::MergeFrom( + from._internal_freeze_particle_involving()); + } + if (cached_has_bits & 0x20000000u) { + _this->_internal_mutable_add_modellist_override_element()->::CUserMsg_ParticleManager_AddModellistOverrideElement::MergeFrom( + from._internal_add_modellist_override_element()); + } + if (cached_has_bits & 0x40000000u) { + _this->_internal_mutable_clear_modellist_override()->::CUserMsg_ParticleManager_ClearModellistOverride::MergeFrom( + from._internal_clear_modellist_override()); + } + if (cached_has_bits & 0x80000000u) { + _this->_internal_mutable_create_physics_sim()->::CUserMsg_ParticleManager_CreatePhysicsSim::MergeFrom( + from._internal_create_physics_sim()); + } + } + cached_has_bits = from._impl_._has_bits_[1]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_destroy_physics_sim()->::CUserMsg_ParticleManager_DestroyPhysicsSim::MergeFrom( + from._internal_destroy_physics_sim()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_set_vdata()->::CUserMsg_ParticleManager_SetVData::MergeFrom( + from._internal_set_vdata()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_set_material_override()->::CUserMsg_ParticleManager_SetMaterialOverride::MergeFrom( + from._internal_set_material_override()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_mutable_add_fan()->::CUserMsg_ParticleManager_AddFan::MergeFrom( + from._internal_add_fan()); + } + if (cached_has_bits & 0x00000010u) { + _this->_internal_mutable_update_fan()->::CUserMsg_ParticleManager_UpdateFan::MergeFrom( + from._internal_update_fan()); + } + if (cached_has_bits & 0x00000020u) { + _this->_internal_mutable_set_particle_cluster_growth()->::CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeFrom( + from._internal_set_particle_cluster_growth()); + } + if (cached_has_bits & 0x00000040u) { + _this->_internal_mutable_remove_fan()->::CUserMsg_ParticleManager_RemoveFan::MergeFrom( + from._internal_remove_fan()); + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[1] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_index(from._internal_index()); + } + _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_ParticleManager::CopyFrom(const CUserMsg_ParticleManager& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ParticleManager::IsInitialized() const { + if (!_impl_._extensions_.IsInitialized()) { + return false; + } + + if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; + return true; +} + +void CUserMsg_ParticleManager::InternalSwap(CUserMsg_ParticleManager* other) { + using std::swap; + _impl_._extensions_.InternalSwap(&other->_impl_._extensions_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager, _impl_.index_) + + sizeof(CUserMsg_ParticleManager::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager, _impl_.release_particle_index_)>( + reinterpret_cast(&_impl_.release_particle_index_), + reinterpret_cast(&other->_impl_.release_particle_index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[80]); +} + +// =================================================================== + +class CUserMsg_HudError::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_order_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMsg_HudError::CUserMsg_HudError(::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:CUserMsg_HudError) +} +CUserMsg_HudError::CUserMsg_HudError(const CUserMsg_HudError& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_HudError* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.order_id_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.order_id_ = from._impl_.order_id_; + // @@protoc_insertion_point(copy_constructor:CUserMsg_HudError) +} + +inline void CUserMsg_HudError::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.order_id_){0} + }; +} + +CUserMsg_HudError::~CUserMsg_HudError() { + // @@protoc_insertion_point(destructor:CUserMsg_HudError) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_HudError::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMsg_HudError::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_HudError::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_HudError) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.order_id_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_HudError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 order_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_order_id(&has_bits); + _impl_.order_id_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_HudError::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_HudError) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 order_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_order_id(), 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:CUserMsg_HudError) + return target; +} + +size_t CUserMsg_HudError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_HudError) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 order_id = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_order_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_HudError::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_HudError::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_HudError::GetClassData() const { return &_class_data_; } + + +void CUserMsg_HudError::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:CUserMsg_HudError) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_order_id()) { + _this->_internal_set_order_id(from._internal_order_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_HudError::CopyFrom(const CUserMsg_HudError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_HudError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_HudError::IsInitialized() const { + return true; +} + +void CUserMsg_HudError::InternalSwap(CUserMsg_HudError* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.order_id_, other->_impl_.order_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_HudError::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[81]); +} + +// =================================================================== + +class CUserMsg_CustomGameEvent::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_event_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent(::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:CUserMsg_CustomGameEvent) +} +CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent(const CUserMsg_CustomGameEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMsg_CustomGameEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_event_name()) { + _this->_impl_.event_name_.Set(from._internal_event_name(), + _this->GetArenaForAllocation()); + } + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:CUserMsg_CustomGameEvent) +} + +inline void CUserMsg_CustomGameEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.event_name_){} + , decltype(_impl_.data_){} + }; + _impl_.event_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.event_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMsg_CustomGameEvent::~CUserMsg_CustomGameEvent() { + // @@protoc_insertion_point(destructor:CUserMsg_CustomGameEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMsg_CustomGameEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.event_name_.Destroy(); + _impl_.data_.Destroy(); +} + +void CUserMsg_CustomGameEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMsg_CustomGameEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMsg_CustomGameEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.event_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMsg_CustomGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string event_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_event_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMsg_CustomGameEvent.event_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMsg_CustomGameEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_CustomGameEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMsg_CustomGameEvent.event_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_event_name(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CUserMsg_CustomGameEvent) + return target; +} + +size_t CUserMsg_CustomGameEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMsg_CustomGameEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string event_name = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_event_name()); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_CustomGameEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMsg_CustomGameEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_CustomGameEvent::GetClassData() const { return &_class_data_; } + + +void CUserMsg_CustomGameEvent::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:CUserMsg_CustomGameEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_event_name(from._internal_event_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_data(from._internal_data()); + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMsg_CustomGameEvent::CopyFrom(const CUserMsg_CustomGameEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_CustomGameEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_CustomGameEvent::IsInitialized() const { + return true; +} + +void CUserMsg_CustomGameEvent::InternalSwap(CUserMsg_CustomGameEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.event_name_, lhs_arena, + &other->_impl_.event_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_CustomGameEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[82]); +} + +// =================================================================== + +class CUserMessageHapticsManagerPulse::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hand_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_effect_amplitude(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_effect_frequency(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_effect_duration(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse(::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:CUserMessageHapticsManagerPulse) +} +CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse(const CUserMessageHapticsManagerPulse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageHapticsManagerPulse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hand_id_){} + , decltype(_impl_.effect_amplitude_){} + , decltype(_impl_.effect_frequency_){} + , decltype(_impl_.effect_duration_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hand_id_, &from._impl_.hand_id_, + static_cast(reinterpret_cast(&_impl_.effect_duration_) - + reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_duration_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageHapticsManagerPulse) +} + +inline void CUserMessageHapticsManagerPulse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hand_id_){0} + , decltype(_impl_.effect_amplitude_){0} + , decltype(_impl_.effect_frequency_){0} + , decltype(_impl_.effect_duration_){0} + }; +} + +CUserMessageHapticsManagerPulse::~CUserMessageHapticsManagerPulse() { + // @@protoc_insertion_point(destructor:CUserMessageHapticsManagerPulse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageHapticsManagerPulse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageHapticsManagerPulse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageHapticsManagerPulse::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageHapticsManagerPulse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + ::memset(&_impl_.hand_id_, 0, static_cast( + reinterpret_cast(&_impl_.effect_duration_) - + reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_duration_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageHapticsManagerPulse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 hand_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_hand_id(&has_bits); + _impl_.hand_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float effect_amplitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _Internal::set_has_effect_amplitude(&has_bits); + _impl_.effect_amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float effect_frequency = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_effect_frequency(&has_bits); + _impl_.effect_frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional float effect_duration = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { + _Internal::set_has_effect_duration(&has_bits); + _impl_.effect_duration_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageHapticsManagerPulse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHapticsManagerPulse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 hand_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_hand_id(), target); + } + + // optional float effect_amplitude = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_effect_amplitude(), target); + } + + // optional float effect_frequency = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_effect_frequency(), target); + } + + // optional float effect_duration = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_effect_duration(), 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:CUserMessageHapticsManagerPulse) + return target; +} + +size_t CUserMessageHapticsManagerPulse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageHapticsManagerPulse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional int32 hand_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hand_id()); + } + + // optional float effect_amplitude = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 4; + } + + // optional float effect_frequency = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional float effect_duration = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHapticsManagerPulse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageHapticsManagerPulse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHapticsManagerPulse::GetClassData() const { return &_class_data_; } + + +void CUserMessageHapticsManagerPulse::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:CUserMessageHapticsManagerPulse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hand_id_ = from._impl_.hand_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.effect_amplitude_ = from._impl_.effect_amplitude_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.effect_frequency_ = from._impl_.effect_frequency_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.effect_duration_ = from._impl_.effect_duration_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageHapticsManagerPulse::CopyFrom(const CUserMessageHapticsManagerPulse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHapticsManagerPulse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageHapticsManagerPulse::IsInitialized() const { + return true; +} + +void CUserMessageHapticsManagerPulse::InternalSwap(CUserMessageHapticsManagerPulse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerPulse, _impl_.effect_duration_) + + sizeof(CUserMessageHapticsManagerPulse::_impl_.effect_duration_) + - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerPulse, _impl_.hand_id_)>( + reinterpret_cast(&_impl_.hand_id_), + reinterpret_cast(&other->_impl_.hand_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHapticsManagerPulse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[83]); +} + +// =================================================================== + +class CUserMessageHapticsManagerEffect::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_hand_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_effect_name_hash_code(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_effect_scale(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect(::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:CUserMessageHapticsManagerEffect) +} +CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect(const CUserMessageHapticsManagerEffect& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageHapticsManagerEffect* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hand_id_){} + , decltype(_impl_.effect_name_hash_code_){} + , decltype(_impl_.effect_scale_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.hand_id_, &from._impl_.hand_id_, + static_cast(reinterpret_cast(&_impl_.effect_scale_) - + reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_scale_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageHapticsManagerEffect) +} + +inline void CUserMessageHapticsManagerEffect::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.hand_id_){0} + , decltype(_impl_.effect_name_hash_code_){0u} + , decltype(_impl_.effect_scale_){0} + }; +} + +CUserMessageHapticsManagerEffect::~CUserMessageHapticsManagerEffect() { + // @@protoc_insertion_point(destructor:CUserMessageHapticsManagerEffect) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageHapticsManagerEffect::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageHapticsManagerEffect::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageHapticsManagerEffect::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageHapticsManagerEffect) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.hand_id_, 0, static_cast( + reinterpret_cast(&_impl_.effect_scale_) - + reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_scale_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageHapticsManagerEffect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 hand_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_hand_id(&has_bits); + _impl_.hand_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 effect_name_hash_code = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_effect_name_hash_code(&has_bits); + _impl_.effect_name_hash_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float effect_scale = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_effect_scale(&has_bits); + _impl_.effect_scale_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageHapticsManagerEffect::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHapticsManagerEffect) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 hand_id = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_hand_id(), target); + } + + // optional uint32 effect_name_hash_code = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_effect_name_hash_code(), target); + } + + // optional float effect_scale = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_effect_scale(), 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:CUserMessageHapticsManagerEffect) + return target; +} + +size_t CUserMessageHapticsManagerEffect::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageHapticsManagerEffect) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 hand_id = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hand_id()); + } + + // optional uint32 effect_name_hash_code = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effect_name_hash_code()); + } + + // optional float effect_scale = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHapticsManagerEffect::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageHapticsManagerEffect::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHapticsManagerEffect::GetClassData() const { return &_class_data_; } + + +void CUserMessageHapticsManagerEffect::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:CUserMessageHapticsManagerEffect) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.hand_id_ = from._impl_.hand_id_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.effect_name_hash_code_ = from._impl_.effect_name_hash_code_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.effect_scale_ = from._impl_.effect_scale_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageHapticsManagerEffect::CopyFrom(const CUserMessageHapticsManagerEffect& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHapticsManagerEffect) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageHapticsManagerEffect::IsInitialized() const { + return true; +} + +void CUserMessageHapticsManagerEffect::InternalSwap(CUserMessageHapticsManagerEffect* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerEffect, _impl_.effect_scale_) + + sizeof(CUserMessageHapticsManagerEffect::_impl_.effect_scale_) + - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerEffect, _impl_.hand_id_)>( + reinterpret_cast(&_impl_.hand_id_), + reinterpret_cast(&other->_impl_.hand_id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHapticsManagerEffect::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[84]); +} + +// =================================================================== + +class CUserMessageAnimStateGraphState::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_entity_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_data(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState(::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:CUserMessageAnimStateGraphState) +} +CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState(const CUserMessageAnimStateGraphState& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageAnimStateGraphState* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_data()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + _this->_impl_.entity_index_ = from._impl_.entity_index_; + // @@protoc_insertion_point(copy_constructor:CUserMessageAnimStateGraphState) +} + +inline void CUserMessageAnimStateGraphState::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.data_){} + , decltype(_impl_.entity_index_){0} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageAnimStateGraphState::~CUserMessageAnimStateGraphState() { + // @@protoc_insertion_point(destructor:CUserMessageAnimStateGraphState) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageAnimStateGraphState::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void CUserMessageAnimStateGraphState::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageAnimStateGraphState::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageAnimStateGraphState) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.entity_index_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageAnimStateGraphState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 entity_index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_entity_index(&has_bits); + _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes data = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageAnimStateGraphState::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAnimStateGraphState) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 entity_index = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); + } + + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 2, this->_internal_data(), 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:CUserMessageAnimStateGraphState) + return target; +} + +size_t CUserMessageAnimStateGraphState::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageAnimStateGraphState) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bytes data = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + // optional int32 entity_index = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAnimStateGraphState::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageAnimStateGraphState::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAnimStateGraphState::GetClassData() const { return &_class_data_; } + + +void CUserMessageAnimStateGraphState::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:CUserMessageAnimStateGraphState) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_data(from._internal_data()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.entity_index_ = from._impl_.entity_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageAnimStateGraphState::CopyFrom(const CUserMessageAnimStateGraphState& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAnimStateGraphState) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageAnimStateGraphState::IsInitialized() const { + return true; +} + +void CUserMessageAnimStateGraphState::InternalSwap(CUserMessageAnimStateGraphState* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); + swap(_impl_.entity_index_, other->_impl_.entity_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAnimStateGraphState::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[85]); +} + +// =================================================================== + +class CUserMessageUpdateCssClasses::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_target_world_panel(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_css_classes(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_is_add(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses(::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:CUserMessageUpdateCssClasses) +} +CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses(const CUserMessageUpdateCssClasses& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageUpdateCssClasses* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.css_classes_){} + , decltype(_impl_.target_world_panel_){} + , decltype(_impl_.is_add_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.css_classes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.css_classes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_css_classes()) { + _this->_impl_.css_classes_.Set(from._internal_css_classes(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.target_world_panel_, &from._impl_.target_world_panel_, + static_cast(reinterpret_cast(&_impl_.is_add_) - + reinterpret_cast(&_impl_.target_world_panel_)) + sizeof(_impl_.is_add_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageUpdateCssClasses) +} + +inline void CUserMessageUpdateCssClasses::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.css_classes_){} + , decltype(_impl_.target_world_panel_){0} + , decltype(_impl_.is_add_){false} + }; + _impl_.css_classes_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.css_classes_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageUpdateCssClasses::~CUserMessageUpdateCssClasses() { + // @@protoc_insertion_point(destructor:CUserMessageUpdateCssClasses) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageUpdateCssClasses::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.css_classes_.Destroy(); +} + +void CUserMessageUpdateCssClasses::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageUpdateCssClasses::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageUpdateCssClasses) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.css_classes_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000006u) { + ::memset(&_impl_.target_world_panel_, 0, static_cast( + reinterpret_cast(&_impl_.is_add_) - + reinterpret_cast(&_impl_.target_world_panel_)) + sizeof(_impl_.is_add_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageUpdateCssClasses::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 target_world_panel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_target_world_panel(&has_bits); + _impl_.target_world_panel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string css_classes = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_css_classes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageUpdateCssClasses.css_classes"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool is_add = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_is_add(&has_bits); + _impl_.is_add_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageUpdateCssClasses::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageUpdateCssClasses) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 target_world_panel = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_target_world_panel(), target); + } + + // optional string css_classes = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_css_classes().data(), static_cast(this->_internal_css_classes().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageUpdateCssClasses.css_classes"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_css_classes(), target); + } + + // optional bool is_add = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_add(), 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:CUserMessageUpdateCssClasses) + return target; +} + +size_t CUserMessageUpdateCssClasses::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageUpdateCssClasses) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional string css_classes = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_css_classes()); + } + + // optional int32 target_world_panel = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_target_world_panel()); + } + + // optional bool is_add = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageUpdateCssClasses::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageUpdateCssClasses::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageUpdateCssClasses::GetClassData() const { return &_class_data_; } + + +void CUserMessageUpdateCssClasses::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:CUserMessageUpdateCssClasses) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_css_classes(from._internal_css_classes()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.target_world_panel_ = from._impl_.target_world_panel_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.is_add_ = from._impl_.is_add_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageUpdateCssClasses::CopyFrom(const CUserMessageUpdateCssClasses& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageUpdateCssClasses) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageUpdateCssClasses::IsInitialized() const { + return true; +} + +void CUserMessageUpdateCssClasses::InternalSwap(CUserMessageUpdateCssClasses* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.css_classes_, lhs_arena, + &other->_impl_.css_classes_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageUpdateCssClasses, _impl_.is_add_) + + sizeof(CUserMessageUpdateCssClasses::_impl_.is_add_) + - PROTOBUF_FIELD_OFFSET(CUserMessageUpdateCssClasses, _impl_.target_world_panel_)>( + reinterpret_cast(&_impl_.target_world_panel_), + reinterpret_cast(&other->_impl_.target_world_panel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageUpdateCssClasses::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[86]); +} + +// =================================================================== + +class CUserMessageServerFrameTime::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_frame_time(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageServerFrameTime::CUserMessageServerFrameTime(::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:CUserMessageServerFrameTime) +} +CUserMessageServerFrameTime::CUserMessageServerFrameTime(const CUserMessageServerFrameTime& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageServerFrameTime* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frame_time_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.frame_time_ = from._impl_.frame_time_; + // @@protoc_insertion_point(copy_constructor:CUserMessageServerFrameTime) +} + +inline void CUserMessageServerFrameTime::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.frame_time_){0} + }; +} + +CUserMessageServerFrameTime::~CUserMessageServerFrameTime() { + // @@protoc_insertion_point(destructor:CUserMessageServerFrameTime) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageServerFrameTime::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageServerFrameTime::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageServerFrameTime::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageServerFrameTime) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.frame_time_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageServerFrameTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float frame_time = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_frame_time(&has_bits); + _impl_.frame_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageServerFrameTime::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageServerFrameTime) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float frame_time = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time(), 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:CUserMessageServerFrameTime) + return target; +} + +size_t CUserMessageServerFrameTime::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageServerFrameTime) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float frame_time = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageServerFrameTime::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageServerFrameTime::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageServerFrameTime::GetClassData() const { return &_class_data_; } + + +void CUserMessageServerFrameTime::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:CUserMessageServerFrameTime) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_frame_time()) { + _this->_internal_set_frame_time(from._internal_frame_time()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageServerFrameTime::CopyFrom(const CUserMessageServerFrameTime& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageServerFrameTime) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageServerFrameTime::IsInitialized() const { + return true; +} + +void CUserMessageServerFrameTime::InternalSwap(CUserMessageServerFrameTime* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.frame_time_, other->_impl_.frame_time_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageServerFrameTime::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[87]); +} + +// =================================================================== + +class CUserMessageLagCompensationError::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_distance(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessageLagCompensationError::CUserMessageLagCompensationError(::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:CUserMessageLagCompensationError) +} +CUserMessageLagCompensationError::CUserMessageLagCompensationError(const CUserMessageLagCompensationError& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageLagCompensationError* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.distance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.distance_ = from._impl_.distance_; + // @@protoc_insertion_point(copy_constructor:CUserMessageLagCompensationError) +} + +inline void CUserMessageLagCompensationError::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.distance_){0} + }; +} + +CUserMessageLagCompensationError::~CUserMessageLagCompensationError() { + // @@protoc_insertion_point(destructor:CUserMessageLagCompensationError) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageLagCompensationError::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageLagCompensationError::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageLagCompensationError::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageLagCompensationError) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.distance_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageLagCompensationError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional float distance = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_distance(&has_bits); + _impl_.distance_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageLagCompensationError::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageLagCompensationError) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional float distance = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_distance(), 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:CUserMessageLagCompensationError) + return target; +} + +size_t CUserMessageLagCompensationError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageLagCompensationError) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional float distance = 1; + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageLagCompensationError::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageLagCompensationError::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageLagCompensationError::GetClassData() const { return &_class_data_; } + + +void CUserMessageLagCompensationError::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:CUserMessageLagCompensationError) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_distance()) { + _this->_internal_set_distance(from._internal_distance()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageLagCompensationError::CopyFrom(const CUserMessageLagCompensationError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageLagCompensationError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageLagCompensationError::IsInitialized() const { + return true; +} + +void CUserMessageLagCompensationError::InternalSwap(CUserMessageLagCompensationError* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.distance_, other->_impl_.distance_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageLagCompensationError::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[88]); +} + +// =================================================================== + +class CUserMessageRequestDllStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_dll_action(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_full_report(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMessageRequestDllStatus::CUserMessageRequestDllStatus(::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:CUserMessageRequestDllStatus) +} +CUserMessageRequestDllStatus::CUserMessageRequestDllStatus(const CUserMessageRequestDllStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRequestDllStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dll_action_){} + , decltype(_impl_.full_report_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.dll_action_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dll_action_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_dll_action()) { + _this->_impl_.dll_action_.Set(from._internal_dll_action(), + _this->GetArenaForAllocation()); + } + _this->_impl_.full_report_ = from._impl_.full_report_; + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDllStatus) +} + +inline void CUserMessageRequestDllStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.dll_action_){} + , decltype(_impl_.full_report_){false} + }; + _impl_.dll_action_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dll_action_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageRequestDllStatus::~CUserMessageRequestDllStatus() { + // @@protoc_insertion_point(destructor:CUserMessageRequestDllStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRequestDllStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.dll_action_.Destroy(); +} + +void CUserMessageRequestDllStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRequestDllStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDllStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.dll_action_.ClearNonDefaultToEmpty(); + } + _impl_.full_report_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRequestDllStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string dll_action = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_dll_action(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageRequestDllStatus.dll_action"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bool full_report = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_full_report(&has_bits); + _impl_.full_report_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageRequestDllStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDllStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string dll_action = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_dll_action().data(), static_cast(this->_internal_dll_action().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageRequestDllStatus.dll_action"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_dll_action(), target); + } + + // optional bool full_report = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_full_report(), 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:CUserMessageRequestDllStatus) + return target; +} + +size_t CUserMessageRequestDllStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDllStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string dll_action = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dll_action()); + } + + // optional bool full_report = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + 1; + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDllStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRequestDllStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDllStatus::GetClassData() const { return &_class_data_; } + + +void CUserMessageRequestDllStatus::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:CUserMessageRequestDllStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_dll_action(from._internal_dll_action()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.full_report_ = from._impl_.full_report_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRequestDllStatus::CopyFrom(const CUserMessageRequestDllStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDllStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRequestDllStatus::IsInitialized() const { + return true; +} + +void CUserMessageRequestDllStatus::InternalSwap(CUserMessageRequestDllStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.dll_action_, lhs_arena, + &other->_impl_.dll_action_, rhs_arena + ); + swap(_impl_.full_report_, other->_impl_.full_report_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDllStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[89]); +} + +// =================================================================== + +class CUserMessageRequestUtilAction::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_util1(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_util2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_util3(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_util4(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_util5(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CUserMessageRequestUtilAction::CUserMessageRequestUtilAction(::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:CUserMessageRequestUtilAction) +} +CUserMessageRequestUtilAction::CUserMessageRequestUtilAction(const CUserMessageRequestUtilAction& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRequestUtilAction* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.util1_){} + , decltype(_impl_.util2_){} + , decltype(_impl_.util3_){} + , decltype(_impl_.util4_){} + , decltype(_impl_.util5_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.util1_, &from._impl_.util1_, + static_cast(reinterpret_cast(&_impl_.util5_) - + reinterpret_cast(&_impl_.util1_)) + sizeof(_impl_.util5_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestUtilAction) +} + +inline void CUserMessageRequestUtilAction::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.util1_){0} + , decltype(_impl_.util2_){0} + , decltype(_impl_.util3_){0} + , decltype(_impl_.util4_){0} + , decltype(_impl_.util5_){0} + }; +} + +CUserMessageRequestUtilAction::~CUserMessageRequestUtilAction() { + // @@protoc_insertion_point(destructor:CUserMessageRequestUtilAction) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRequestUtilAction::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageRequestUtilAction::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRequestUtilAction::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRequestUtilAction) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.util1_, 0, static_cast( + reinterpret_cast(&_impl_.util5_) - + reinterpret_cast(&_impl_.util1_)) + sizeof(_impl_.util5_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRequestUtilAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 util1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_util1(&has_bits); + _impl_.util1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 util2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_util2(&has_bits); + _impl_.util2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 util3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_util3(&has_bits); + _impl_.util3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 util4 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_util4(&has_bits); + _impl_.util4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 util5 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_util5(&has_bits); + _impl_.util5_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageRequestUtilAction::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestUtilAction) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 util1 = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_util1(), target); + } + + // optional int32 util2 = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_util2(), target); + } + + // optional int32 util3 = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_util3(), target); + } + + // optional int32 util4 = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_util4(), target); + } + + // optional int32 util5 = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_util5(), 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:CUserMessageRequestUtilAction) + return target; +} + +size_t CUserMessageRequestUtilAction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestUtilAction) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 util1 = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util1()); + } + + // optional int32 util2 = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util2()); + } + + // optional int32 util3 = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util3()); + } + + // optional int32 util4 = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util4()); + } + + // optional int32 util5 = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util5()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestUtilAction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRequestUtilAction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestUtilAction::GetClassData() const { return &_class_data_; } + + +void CUserMessageRequestUtilAction::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:CUserMessageRequestUtilAction) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.util1_ = from._impl_.util1_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.util2_ = from._impl_.util2_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.util3_ = from._impl_.util3_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.util4_ = from._impl_.util4_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.util5_ = from._impl_.util5_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRequestUtilAction::CopyFrom(const CUserMessageRequestUtilAction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestUtilAction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRequestUtilAction::IsInitialized() const { + return true; +} + +void CUserMessageRequestUtilAction::InternalSwap(CUserMessageRequestUtilAction* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageRequestUtilAction, _impl_.util5_) + + sizeof(CUserMessageRequestUtilAction::_impl_.util5_) + - PROTOBUF_FIELD_OFFSET(CUserMessageRequestUtilAction, _impl_.util1_)>( + reinterpret_cast(&_impl_.util1_), + reinterpret_cast(&other->_impl_.util1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestUtilAction::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[90]); +} + +// =================================================================== + +class CUserMessage_UtilMsg_Response_ItemDetail::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_hash(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_crc(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail(::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:CUserMessage_UtilMsg_Response.ItemDetail) +} +CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail(const CUserMessage_UtilMsg_Response_ItemDetail& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_UtilMsg_Response_ItemDetail* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.index_){} + , decltype(_impl_.hash_){} + , decltype(_impl_.crc_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.index_, &from._impl_.index_, + static_cast(reinterpret_cast(&_impl_.crc_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.crc_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_UtilMsg_Response.ItemDetail) +} + +inline void CUserMessage_UtilMsg_Response_ItemDetail::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.index_){0} + , decltype(_impl_.hash_){0} + , decltype(_impl_.crc_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_UtilMsg_Response_ItemDetail::~CUserMessage_UtilMsg_Response_ItemDetail() { + // @@protoc_insertion_point(destructor:CUserMessage_UtilMsg_Response.ItemDetail) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_UtilMsg_Response_ItemDetail::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CUserMessage_UtilMsg_Response_ItemDetail::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_UtilMsg_Response_ItemDetail::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_UtilMsg_Response.ItemDetail) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.index_, 0, static_cast( + reinterpret_cast(&_impl_.crc_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.crc_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_UtilMsg_Response_ItemDetail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 hash = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_hash(&has_bits); + _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 crc = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_crc(&has_bits); + _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string name = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_UtilMsg_Response.ItemDetail.name"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_UtilMsg_Response_ItemDetail::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_UtilMsg_Response.ItemDetail) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int32 hash = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hash(), target); + } + + // optional int32 crc = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_crc(), target); + } + + // optional string name = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_UtilMsg_Response.ItemDetail.name"); + target = stream->WriteStringMaybeAliased( + 4, 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:CUserMessage_UtilMsg_Response.ItemDetail) + return target; +} + +size_t CUserMessage_UtilMsg_Response_ItemDetail::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_UtilMsg_Response.ItemDetail) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional int32 index = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 hash = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hash()); + } + + // optional int32 crc = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_crc()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_UtilMsg_Response_ItemDetail::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_UtilMsg_Response_ItemDetail::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_UtilMsg_Response_ItemDetail::GetClassData() const { return &_class_data_; } + + +void CUserMessage_UtilMsg_Response_ItemDetail::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:CUserMessage_UtilMsg_Response.ItemDetail) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.hash_ = from._impl_.hash_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.crc_ = from._impl_.crc_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_UtilMsg_Response_ItemDetail::CopyFrom(const CUserMessage_UtilMsg_Response_ItemDetail& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_UtilMsg_Response.ItemDetail) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_UtilMsg_Response_ItemDetail::IsInitialized() const { + return true; +} + +void CUserMessage_UtilMsg_Response_ItemDetail::InternalSwap(CUserMessage_UtilMsg_Response_ItemDetail* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response_ItemDetail, _impl_.crc_) + + sizeof(CUserMessage_UtilMsg_Response_ItemDetail::_impl_.crc_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response_ItemDetail, _impl_.index_)>( + reinterpret_cast(&_impl_.index_), + reinterpret_cast(&other->_impl_.index_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_UtilMsg_Response_ItemDetail::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[91]); +} + +// =================================================================== + +class CUserMessage_UtilMsg_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_crc(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_crc2(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_item_count2(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_platform(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_itemgroup(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_total_count(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_total_count2(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_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:CUserMessage_UtilMsg_Response) +} +CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_Response(const CUserMessage_UtilMsg_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_UtilMsg_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crc_part_){from._impl_.crc_part_} + , decltype(_impl_.crc_part2_){from._impl_.crc_part2_} + , decltype(_impl_.itemdetails_){from._impl_.itemdetails_} + , decltype(_impl_.crc_){} + , decltype(_impl_.item_count_){} + , decltype(_impl_.crc2_){} + , decltype(_impl_.item_count2_){} + , decltype(_impl_.client_timestamp_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.itemgroup_){} + , decltype(_impl_.total_count_){} + , decltype(_impl_.total_count2_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.crc_, &from._impl_.crc_, + static_cast(reinterpret_cast(&_impl_.total_count2_) - + reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.total_count2_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_UtilMsg_Response) +} + +inline void CUserMessage_UtilMsg_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.crc_part_){arena} + , decltype(_impl_.crc_part2_){arena} + , decltype(_impl_.itemdetails_){arena} + , decltype(_impl_.crc_){0u} + , decltype(_impl_.item_count_){0} + , decltype(_impl_.crc2_){0u} + , decltype(_impl_.item_count2_){0} + , decltype(_impl_.client_timestamp_){0} + , decltype(_impl_.platform_){0} + , decltype(_impl_.itemgroup_){0} + , decltype(_impl_.total_count_){0} + , decltype(_impl_.total_count2_){0} + }; +} + +CUserMessage_UtilMsg_Response::~CUserMessage_UtilMsg_Response() { + // @@protoc_insertion_point(destructor:CUserMessage_UtilMsg_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_UtilMsg_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.crc_part_.~RepeatedField(); + _impl_.crc_part2_.~RepeatedField(); + _impl_.itemdetails_.~RepeatedPtrField(); +} + +void CUserMessage_UtilMsg_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_UtilMsg_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_UtilMsg_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.crc_part_.Clear(); + _impl_.crc_part2_.Clear(); + _impl_.itemdetails_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.crc_, 0, static_cast( + reinterpret_cast(&_impl_.total_count_) - + reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.total_count_)); + } + _impl_.total_count2_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_UtilMsg_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 crc = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_crc(&has_bits); + _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 item_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_count(&has_bits); + _impl_.item_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional fixed32 crc2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _Internal::set_has_crc2(&has_bits); + _impl_.crc2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 item_count2 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_item_count2(&has_bits); + _impl_.item_count2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 crc_part = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_crc_part(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); + } else if (static_cast(tag) == 42) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_crc_part(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 crc_part2 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_crc_part2(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); + } else if (static_cast(tag) == 50) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_crc_part2(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_client_timestamp(&has_bits); + _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 platform = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_platform(&has_bits); + _impl_.platform_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_itemdetails(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 itemgroup = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_itemgroup(&has_bits); + _impl_.itemgroup_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 total_count = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_total_count(&has_bits); + _impl_.total_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 total_count2 = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_total_count2(&has_bits); + _impl_.total_count2_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_UtilMsg_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_UtilMsg_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 crc = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_crc(), target); + } + + // optional int32 item_count = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_count(), target); + } + + // optional fixed32 crc2 = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_crc2(), target); + } + + // optional int32 item_count2 = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_item_count2(), target); + } + + // repeated int32 crc_part = 5; + for (int i = 0, n = this->_internal_crc_part_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_crc_part(i), target); + } + + // repeated int32 crc_part2 = 6; + for (int i = 0, n = this->_internal_crc_part2_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_crc_part2(i), target); + } + + // optional int32 client_timestamp = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_client_timestamp(), target); + } + + // optional int32 platform = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_platform(), target); + } + + // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; + for (unsigned i = 0, + n = static_cast(this->_internal_itemdetails_size()); i < n; i++) { + const auto& repfield = this->_internal_itemdetails(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 itemgroup = 10; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_itemgroup(), target); + } + + // optional int32 total_count = 11; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_total_count(), target); + } + + // optional int32 total_count2 = 12; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_total_count2(), 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:CUserMessage_UtilMsg_Response) + return target; +} + +size_t CUserMessage_UtilMsg_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_UtilMsg_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; + + // repeated int32 crc_part = 5; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.crc_part_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_crc_part_size()); + total_size += data_size; + } + + // repeated int32 crc_part2 = 6; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.crc_part2_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_crc_part2_size()); + total_size += data_size; + } + + // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; + total_size += 1UL * this->_internal_itemdetails_size(); + for (const auto& msg : this->_impl_.itemdetails_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional fixed32 crc = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional int32 item_count = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count()); + } + + // optional fixed32 crc2 = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 item_count2 = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count2()); + } + + // optional int32 client_timestamp = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_timestamp()); + } + + // optional int32 platform = 8; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); + } + + // optional int32 itemgroup = 10; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_itemgroup()); + } + + // optional int32 total_count = 11; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_count()); + } + + } + // optional int32 total_count2 = 12; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_count2()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_UtilMsg_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_UtilMsg_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_UtilMsg_Response::GetClassData() const { return &_class_data_; } + + +void CUserMessage_UtilMsg_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:CUserMessage_UtilMsg_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.crc_part_.MergeFrom(from._impl_.crc_part_); + _this->_impl_.crc_part2_.MergeFrom(from._impl_.crc_part2_); + _this->_impl_.itemdetails_.MergeFrom(from._impl_.itemdetails_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.crc_ = from._impl_.crc_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_count_ = from._impl_.item_count_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.crc2_ = from._impl_.crc2_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.item_count2_ = from._impl_.item_count2_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.platform_ = from._impl_.platform_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.itemgroup_ = from._impl_.itemgroup_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.total_count_ = from._impl_.total_count_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000100u) { + _this->_internal_set_total_count2(from._internal_total_count2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_UtilMsg_Response::CopyFrom(const CUserMessage_UtilMsg_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_UtilMsg_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_UtilMsg_Response::IsInitialized() const { + return true; +} + +void CUserMessage_UtilMsg_Response::InternalSwap(CUserMessage_UtilMsg_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.crc_part_.InternalSwap(&other->_impl_.crc_part_); + _impl_.crc_part2_.InternalSwap(&other->_impl_.crc_part2_); + _impl_.itemdetails_.InternalSwap(&other->_impl_.itemdetails_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response, _impl_.total_count2_) + + sizeof(CUserMessage_UtilMsg_Response::_impl_.total_count2_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response, _impl_.crc_)>( + reinterpret_cast(&_impl_.crc_), + reinterpret_cast(&other->_impl_.crc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_UtilMsg_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[92]); +} + +// =================================================================== + +class CUserMessage_DllStatus_CVDiagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_id(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_extended(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_string_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic(::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:CUserMessage_DllStatus.CVDiagnostic) +} +CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic(const CUserMessage_DllStatus_CVDiagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_DllStatus_CVDiagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_value_){} + , decltype(_impl_.id_){} + , decltype(_impl_.extended_){} + , decltype(_impl_.value_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_string_value()) { + _this->_impl_.string_value_.Set(from._internal_string_value(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.id_, &from._impl_.id_, + static_cast(reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus.CVDiagnostic) +} + +inline void CUserMessage_DllStatus_CVDiagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.string_value_){} + , decltype(_impl_.id_){0u} + , decltype(_impl_.extended_){0u} + , decltype(_impl_.value_){uint64_t{0u}} + }; + _impl_.string_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.string_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_DllStatus_CVDiagnostic::~CUserMessage_DllStatus_CVDiagnostic() { + // @@protoc_insertion_point(destructor:CUserMessage_DllStatus.CVDiagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_DllStatus_CVDiagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.string_value_.Destroy(); +} + +void CUserMessage_DllStatus_CVDiagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_DllStatus_CVDiagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus.CVDiagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.string_value_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.id_, 0, static_cast( + reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_DllStatus_CVDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_id(&has_bits); + _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 extended = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_extended(&has_bits); + _impl_.extended_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_value(&has_bits); + _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string string_value = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_string_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.CVDiagnostic.string_value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_DllStatus_CVDiagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus.CVDiagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); + } + + // optional uint32 extended = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_extended(), target); + } + + // optional uint64 value = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_value(), target); + } + + // optional string string_value = 4; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_DllStatus.CVDiagnostic.string_value"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_string_value(), 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:CUserMessage_DllStatus.CVDiagnostic) + return target; +} + +size_t CUserMessage_DllStatus_CVDiagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus.CVDiagnostic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string string_value = 4; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_string_value()); + } + + // optional uint32 id = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); + } + + // optional uint32 extended = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended()); + } + + // optional uint64 value = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus_CVDiagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_DllStatus_CVDiagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus_CVDiagnostic::GetClassData() const { return &_class_data_; } + + +void CUserMessage_DllStatus_CVDiagnostic::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:CUserMessage_DllStatus.CVDiagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_string_value(from._internal_string_value()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.id_ = from._impl_.id_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.extended_ = from._impl_.extended_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_DllStatus_CVDiagnostic::CopyFrom(const CUserMessage_DllStatus_CVDiagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus.CVDiagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_DllStatus_CVDiagnostic::IsInitialized() const { + return true; +} + +void CUserMessage_DllStatus_CVDiagnostic::InternalSwap(CUserMessage_DllStatus_CVDiagnostic* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.string_value_, lhs_arena, + &other->_impl_.string_value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CVDiagnostic, _impl_.value_) + + sizeof(CUserMessage_DllStatus_CVDiagnostic::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CVDiagnostic, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus_CVDiagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[93]); +} + +// =================================================================== + +class CUserMessage_DllStatus_CModule::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_base_addr(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_size(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule(::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:CUserMessage_DllStatus.CModule) +} +CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule(const CUserMessage_DllStatus_CModule& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_DllStatus_CModule* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.base_addr_){} + , decltype(_impl_.size_){} + , decltype(_impl_.timestamp_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.base_addr_, &from._impl_.base_addr_, + static_cast(reinterpret_cast(&_impl_.timestamp_) - + reinterpret_cast(&_impl_.base_addr_)) + sizeof(_impl_.timestamp_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus.CModule) +} + +inline void CUserMessage_DllStatus_CModule::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.base_addr_){uint64_t{0u}} + , decltype(_impl_.size_){0u} + , decltype(_impl_.timestamp_){0u} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_DllStatus_CModule::~CUserMessage_DllStatus_CModule() { + // @@protoc_insertion_point(destructor:CUserMessage_DllStatus.CModule) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_DllStatus_CModule::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); +} + +void CUserMessage_DllStatus_CModule::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_DllStatus_CModule::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus.CModule) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x0000000eu) { + ::memset(&_impl_.base_addr_, 0, static_cast( + reinterpret_cast(&_impl_.timestamp_) - + reinterpret_cast(&_impl_.base_addr_)) + sizeof(_impl_.timestamp_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_DllStatus_CModule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint64 base_addr = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_base_addr(&has_bits); + _impl_.base_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.CModule.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 size = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_size(&has_bits); + _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 timestamp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_timestamp(&has_bits); + _impl_.timestamp_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_DllStatus_CModule::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus.CModule) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint64 base_addr = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_base_addr(), target); + } + + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_DllStatus.CModule.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // optional uint32 size = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_size(), target); + } + + // optional uint32 timestamp = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_timestamp(), 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:CUserMessage_DllStatus.CModule) + return target; +} + +size_t CUserMessage_DllStatus_CModule::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus.CModule) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + // optional string name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional uint64 base_addr = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_base_addr()); + } + + // optional uint32 size = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); + } + + // optional uint32 timestamp = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus_CModule::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_DllStatus_CModule::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus_CModule::GetClassData() const { return &_class_data_; } + + +void CUserMessage_DllStatus_CModule::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:CUserMessage_DllStatus.CModule) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.base_addr_ = from._impl_.base_addr_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.size_ = from._impl_.size_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.timestamp_ = from._impl_.timestamp_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_DllStatus_CModule::CopyFrom(const CUserMessage_DllStatus_CModule& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus.CModule) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_DllStatus_CModule::IsInitialized() const { + return true; +} + +void CUserMessage_DllStatus_CModule::InternalSwap(CUserMessage_DllStatus_CModule* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CModule, _impl_.timestamp_) + + sizeof(CUserMessage_DllStatus_CModule::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CModule, _impl_.base_addr_)>( + reinterpret_cast(&_impl_.base_addr_), + reinterpret_cast(&other->_impl_.base_addr_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus_CModule::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[94]); +} + +// =================================================================== + +class CUserMessage_DllStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_file_report(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_command_line(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_total_files(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_process_id(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_osversion(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_client_time(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CUserMessage_DllStatus::CUserMessage_DllStatus(::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:CUserMessage_DllStatus) +} +CUserMessage_DllStatus::CUserMessage_DllStatus(const CUserMessage_DllStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_DllStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} + , decltype(_impl_.modules_){from._impl_.modules_} + , decltype(_impl_.file_report_){} + , decltype(_impl_.command_line_){} + , decltype(_impl_.total_files_){} + , decltype(_impl_.process_id_){} + , decltype(_impl_.client_time_){} + , decltype(_impl_.osversion_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_file_report()) { + _this->_impl_.file_report_.Set(from._internal_file_report(), + _this->GetArenaForAllocation()); + } + _impl_.command_line_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_command_line()) { + _this->_impl_.command_line_.Set(from._internal_command_line(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.total_files_, &from._impl_.total_files_, + static_cast(reinterpret_cast(&_impl_.osversion_) - + reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.osversion_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus) +} + +inline void CUserMessage_DllStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){arena} + , decltype(_impl_.modules_){arena} + , decltype(_impl_.file_report_){} + , decltype(_impl_.command_line_){} + , decltype(_impl_.total_files_){0u} + , decltype(_impl_.process_id_){0u} + , decltype(_impl_.client_time_){uint64_t{0u}} + , decltype(_impl_.osversion_){0} + }; + _impl_.file_report_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.file_report_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.command_line_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_DllStatus::~CUserMessage_DllStatus() { + // @@protoc_insertion_point(destructor:CUserMessage_DllStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_DllStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.diagnostics_.~RepeatedPtrField(); + _impl_.modules_.~RepeatedPtrField(); + _impl_.file_report_.Destroy(); + _impl_.command_line_.Destroy(); +} + +void CUserMessage_DllStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_DllStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.diagnostics_.Clear(); + _impl_.modules_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.file_report_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.command_line_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x0000003cu) { + ::memset(&_impl_.total_files_, 0, static_cast( + reinterpret_cast(&_impl_.osversion_) - + reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.osversion_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_DllStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional string file_report = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_file_report(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.file_report"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string command_line = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_command_line(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.command_line"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional uint32 total_files = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_total_files(&has_bits); + _impl_.total_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 process_id = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_process_id(&has_bits); + _impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 osversion = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_osversion(&has_bits); + _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint64 client_time = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_client_time(&has_bits); + _impl_.client_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_DllStatus.CModule modules = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_modules(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_DllStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_DllStatus.file_report"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_file_report(), target); + } + + // optional string command_line = 2; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_command_line().data(), static_cast(this->_internal_command_line().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_DllStatus.command_line"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_command_line(), target); + } + + // optional uint32 total_files = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_files(), target); + } + + // optional uint32 process_id = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_process_id(), target); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); + } + + // optional uint64 client_time = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_client_time(), target); + } + + // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; + for (unsigned i = 0, + n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { + const auto& repfield = this->_internal_diagnostics(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CUserMessage_DllStatus.CModule modules = 8; + for (unsigned i = 0, + n = static_cast(this->_internal_modules_size()); i < n; i++) { + const auto& repfield = this->_internal_modules(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, 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:CUserMessage_DllStatus) + return target; +} + +size_t CUserMessage_DllStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus) + 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 .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; + total_size += 1UL * this->_internal_diagnostics_size(); + for (const auto& msg : this->_impl_.diagnostics_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMessage_DllStatus.CModule modules = 8; + total_size += 1UL * this->_internal_modules_size(); + for (const auto& msg : this->_impl_.modules_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string file_report = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_file_report()); + } + + // optional string command_line = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_command_line()); + } + + // optional uint32 total_files = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); + } + + // optional uint32 process_id = 4; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); + } + + // optional uint64 client_time = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_client_time()); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_DllStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus::GetClassData() const { return &_class_data_; } + + +void CUserMessage_DllStatus::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:CUserMessage_DllStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); + _this->_impl_.modules_.MergeFrom(from._impl_.modules_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_file_report(from._internal_file_report()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_command_line(from._internal_command_line()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.total_files_ = from._impl_.total_files_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.process_id_ = from._impl_.process_id_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_time_ = from._impl_.client_time_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.osversion_ = from._impl_.osversion_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_DllStatus::CopyFrom(const CUserMessage_DllStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_DllStatus::IsInitialized() const { + return true; +} + +void CUserMessage_DllStatus::InternalSwap(CUserMessage_DllStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); + _impl_.modules_.InternalSwap(&other->_impl_.modules_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.file_report_, lhs_arena, + &other->_impl_.file_report_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.command_line_, lhs_arena, + &other->_impl_.command_line_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus, _impl_.osversion_) + + sizeof(CUserMessage_DllStatus::_impl_.osversion_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus, _impl_.total_files_)>( + reinterpret_cast(&_impl_.total_files_), + reinterpret_cast(&other->_impl_.total_files_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[95]); +} + +// =================================================================== + +class CUserMessageRequestInventory::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_inventory(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_offset(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_options(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +CUserMessageRequestInventory::CUserMessageRequestInventory(::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:CUserMessageRequestInventory) +} +CUserMessageRequestInventory::CUserMessageRequestInventory(const CUserMessageRequestInventory& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRequestInventory* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inventory_){} + , decltype(_impl_.offset_){} + , decltype(_impl_.options_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.inventory_, &from._impl_.inventory_, + static_cast(reinterpret_cast(&_impl_.options_) - + reinterpret_cast(&_impl_.inventory_)) + sizeof(_impl_.options_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestInventory) +} + +inline void CUserMessageRequestInventory::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inventory_){0} + , decltype(_impl_.offset_){0} + , decltype(_impl_.options_){0} + }; +} + +CUserMessageRequestInventory::~CUserMessageRequestInventory() { + // @@protoc_insertion_point(destructor:CUserMessageRequestInventory) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRequestInventory::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CUserMessageRequestInventory::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRequestInventory::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRequestInventory) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.inventory_, 0, static_cast( + reinterpret_cast(&_impl_.options_) - + reinterpret_cast(&_impl_.inventory_)) + sizeof(_impl_.options_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRequestInventory::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 inventory = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_inventory(&has_bits); + _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 offset = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_offset(&has_bits); + _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 options = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_options(&has_bits); + _impl_.options_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageRequestInventory::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestInventory) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 inventory = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_inventory(), target); + } + + // optional int32 offset = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_offset(), target); + } + + // optional int32 options = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_options(), 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:CUserMessageRequestInventory) + return target; +} + +size_t CUserMessageRequestInventory::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestInventory) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int32 inventory = 1; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_inventory()); + } + + // optional int32 offset = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_offset()); + } + + // optional int32 options = 3; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_options()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestInventory::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRequestInventory::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestInventory::GetClassData() const { return &_class_data_; } + + +void CUserMessageRequestInventory::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:CUserMessageRequestInventory) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.inventory_ = from._impl_.inventory_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.offset_ = from._impl_.offset_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.options_ = from._impl_.options_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRequestInventory::CopyFrom(const CUserMessageRequestInventory& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestInventory) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRequestInventory::IsInitialized() const { + return true; +} + +void CUserMessageRequestInventory::InternalSwap(CUserMessageRequestInventory* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageRequestInventory, _impl_.options_) + + sizeof(CUserMessageRequestInventory::_impl_.options_) + - PROTOBUF_FIELD_OFFSET(CUserMessageRequestInventory, _impl_.inventory_)>( + reinterpret_cast(&_impl_.inventory_), + reinterpret_cast(&other->_impl_.inventory_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestInventory::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[96]); +} + +// =================================================================== + +class CUserMessage_Inventory_Response_InventoryDetail::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_primary(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_offset(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_first(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_base_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_base_detail(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_base_time(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_base_hash(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } +}; + +CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail(::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:CUserMessage_Inventory_Response.InventoryDetail) +} +CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail(const CUserMessage_Inventory_Response_InventoryDetail& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_Inventory_Response_InventoryDetail* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.base_name_){} + , decltype(_impl_.primary_){} + , decltype(_impl_.offset_){} + , decltype(_impl_.first_){} + , decltype(_impl_.index_){} + , decltype(_impl_.base_detail_){} + , decltype(_impl_.base_){} + , decltype(_impl_.base_time_){} + , decltype(_impl_.base_hash_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.base_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.base_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_base_name()) { + _this->_impl_.base_name_.Set(from._internal_base_name(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.primary_, &from._impl_.primary_, + static_cast(reinterpret_cast(&_impl_.base_hash_) - + reinterpret_cast(&_impl_.primary_)) + sizeof(_impl_.base_hash_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_Inventory_Response.InventoryDetail) +} + +inline void CUserMessage_Inventory_Response_InventoryDetail::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.base_name_){} + , decltype(_impl_.primary_){int64_t{0}} + , decltype(_impl_.offset_){int64_t{0}} + , decltype(_impl_.first_){int64_t{0}} + , decltype(_impl_.index_){0} + , decltype(_impl_.base_detail_){0} + , decltype(_impl_.base_){int64_t{0}} + , decltype(_impl_.base_time_){0} + , decltype(_impl_.base_hash_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.base_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.base_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_Inventory_Response_InventoryDetail::~CUserMessage_Inventory_Response_InventoryDetail() { + // @@protoc_insertion_point(destructor:CUserMessage_Inventory_Response.InventoryDetail) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_Inventory_Response_InventoryDetail::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.base_name_.Destroy(); +} + +void CUserMessage_Inventory_Response_InventoryDetail::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_Inventory_Response_InventoryDetail::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_Inventory_Response.InventoryDetail) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.base_name_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000fcu) { + ::memset(&_impl_.primary_, 0, static_cast( + reinterpret_cast(&_impl_.base_) - + reinterpret_cast(&_impl_.primary_)) + sizeof(_impl_.base_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.base_time_, 0, static_cast( + reinterpret_cast(&_impl_.base_hash_) - + reinterpret_cast(&_impl_.base_time_)) + sizeof(_impl_.base_hash_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_Inventory_Response_InventoryDetail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 primary = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_primary(&has_bits); + _impl_.primary_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 offset = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_offset(&has_bits); + _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 first = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_first(&has_bits); + _impl_.first_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 base = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_base(&has_bits); + _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional 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); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_Inventory_Response.InventoryDetail.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string base_name = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_base_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_Inventory_Response.InventoryDetail.base_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional int32 base_detail = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_base_detail(&has_bits); + _impl_.base_detail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 base_time = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_base_time(&has_bits); + _impl_.base_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 base_hash = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + _Internal::set_has_base_hash(&has_bits); + _impl_.base_hash_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_Inventory_Response_InventoryDetail::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Inventory_Response.InventoryDetail) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int64 primary = 2; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_primary(), target); + } + + // optional int64 offset = 3; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target); + } + + // optional int64 first = 4; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_first(), target); + } + + // optional int64 base = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_base(), target); + } + + // optional string name = 6; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_Inventory_Response.InventoryDetail.name"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_name(), target); + } + + // optional string base_name = 7; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_base_name().data(), static_cast(this->_internal_base_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_Inventory_Response.InventoryDetail.base_name"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_base_name(), target); + } + + // optional int32 base_detail = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_base_detail(), target); + } + + // optional int32 base_time = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_base_time(), target); + } + + // optional int32 base_hash = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_base_hash(), 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:CUserMessage_Inventory_Response.InventoryDetail) + return target; +} + +size_t CUserMessage_Inventory_Response_InventoryDetail::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Inventory_Response.InventoryDetail) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 6; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string base_name = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_base_name()); + } + + // optional int64 primary = 2; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_primary()); + } + + // optional int64 offset = 3; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); + } + + // optional int64 first = 4; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_first()); + } + + // optional int32 index = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 base_detail = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_detail()); + } + + // optional int64 base = 5; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional int32 base_time = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_time()); + } + + // optional int32 base_hash = 10; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_hash()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Inventory_Response_InventoryDetail::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_Inventory_Response_InventoryDetail::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Inventory_Response_InventoryDetail::GetClassData() const { return &_class_data_; } + + +void CUserMessage_Inventory_Response_InventoryDetail::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:CUserMessage_Inventory_Response.InventoryDetail) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_base_name(from._internal_base_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.primary_ = from._impl_.primary_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.offset_ = from._impl_.offset_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.first_ = from._impl_.first_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.base_detail_ = from._impl_.base_detail_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.base_ = from._impl_.base_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.base_time_ = from._impl_.base_time_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.base_hash_ = from._impl_.base_hash_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_Inventory_Response_InventoryDetail::CopyFrom(const CUserMessage_Inventory_Response_InventoryDetail& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Inventory_Response.InventoryDetail) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_Inventory_Response_InventoryDetail::IsInitialized() const { + return true; +} + +void CUserMessage_Inventory_Response_InventoryDetail::InternalSwap(CUserMessage_Inventory_Response_InventoryDetail* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.base_name_, lhs_arena, + &other->_impl_.base_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_hash_) + + sizeof(CUserMessage_Inventory_Response_InventoryDetail::_impl_.base_hash_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response_InventoryDetail, _impl_.primary_)>( + reinterpret_cast(&_impl_.primary_), + reinterpret_cast(&other->_impl_.primary_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Inventory_Response_InventoryDetail::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[97]); +} + +// =================================================================== + +class CUserMessage_Inventory_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_crc(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_item_count(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_osversion(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_perf_time(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_client_timestamp(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_platform(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_inv_type(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_build_version(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_instance(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_start_time(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } +}; + +CUserMessage_Inventory_Response::CUserMessage_Inventory_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:CUserMessage_Inventory_Response) +} +CUserMessage_Inventory_Response::CUserMessage_Inventory_Response(const CUserMessage_Inventory_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_Inventory_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inventories_){from._impl_.inventories_} + , decltype(_impl_.inventories2_){from._impl_.inventories2_} + , decltype(_impl_.inventories3_){from._impl_.inventories3_} + , decltype(_impl_.crc_){} + , decltype(_impl_.item_count_){} + , decltype(_impl_.osversion_){} + , decltype(_impl_.perf_time_){} + , decltype(_impl_.client_timestamp_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.inv_type_){} + , decltype(_impl_.build_version_){} + , decltype(_impl_.start_time_){} + , decltype(_impl_.instance_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.crc_, &from._impl_.crc_, + static_cast(reinterpret_cast(&_impl_.instance_) - + reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.instance_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_Inventory_Response) +} + +inline void CUserMessage_Inventory_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.inventories_){arena} + , decltype(_impl_.inventories2_){arena} + , decltype(_impl_.inventories3_){arena} + , decltype(_impl_.crc_){0u} + , decltype(_impl_.item_count_){0} + , decltype(_impl_.osversion_){0} + , decltype(_impl_.perf_time_){0} + , decltype(_impl_.client_timestamp_){0} + , decltype(_impl_.platform_){0} + , decltype(_impl_.inv_type_){0} + , decltype(_impl_.build_version_){0} + , decltype(_impl_.start_time_){int64_t{0}} + , decltype(_impl_.instance_){0} + }; +} + +CUserMessage_Inventory_Response::~CUserMessage_Inventory_Response() { + // @@protoc_insertion_point(destructor:CUserMessage_Inventory_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_Inventory_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.inventories_.~RepeatedPtrField(); + _impl_.inventories2_.~RepeatedPtrField(); + _impl_.inventories3_.~RepeatedPtrField(); +} + +void CUserMessage_Inventory_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_Inventory_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_Inventory_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inventories_.Clear(); + _impl_.inventories2_.Clear(); + _impl_.inventories3_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + ::memset(&_impl_.crc_, 0, static_cast( + reinterpret_cast(&_impl_.build_version_) - + reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.build_version_)); + } + if (cached_has_bits & 0x00000300u) { + ::memset(&_impl_.start_time_, 0, static_cast( + reinterpret_cast(&_impl_.instance_) - + reinterpret_cast(&_impl_.start_time_)) + sizeof(_impl_.instance_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_Inventory_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional fixed32 crc = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _Internal::set_has_crc(&has_bits); + _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // optional int32 item_count = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_item_count(&has_bits); + _impl_.item_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 osversion = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_osversion(&has_bits); + _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 perf_time = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_perf_time(&has_bits); + _impl_.perf_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 client_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_client_timestamp(&has_bits); + _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 platform = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_platform(&has_bits); + _impl_.platform_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_inventories(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_inventories2(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 inv_type = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + _Internal::set_has_inv_type(&has_bits); + _impl_.inv_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 build_version = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_build_version(&has_bits); + _impl_.build_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 instance = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_instance(&has_bits); + _impl_.instance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_inventories3(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<114>(ptr)); + } else + goto handle_unusual; + continue; + // optional int64 start_time = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_start_time(&has_bits); + _impl_.start_time_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_Inventory_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Inventory_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional fixed32 crc = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_crc(), target); + } + + // optional int32 item_count = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_count(), target); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); + } + + // optional int32 perf_time = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_perf_time(), target); + } + + // optional int32 client_timestamp = 7; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_client_timestamp(), target); + } + + // optional int32 platform = 8; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_platform(), target); + } + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; + for (unsigned i = 0, + n = static_cast(this->_internal_inventories_size()); i < n; i++) { + const auto& repfield = this->_internal_inventories(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; + for (unsigned i = 0, + n = static_cast(this->_internal_inventories2_size()); i < n; i++) { + const auto& repfield = this->_internal_inventories2(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int32 inv_type = 11; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_inv_type(), target); + } + + // optional int32 build_version = 12; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_build_version(), target); + } + + // optional int32 instance = 13; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_instance(), target); + } + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; + for (unsigned i = 0, + n = static_cast(this->_internal_inventories3_size()); i < n; i++) { + const auto& repfield = this->_internal_inventories3(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, repfield, repfield.GetCachedSize(), target, stream); + } + + // optional int64 start_time = 15; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(15, this->_internal_start_time(), 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:CUserMessage_Inventory_Response) + return target; +} + +size_t CUserMessage_Inventory_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Inventory_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; + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; + total_size += 1UL * this->_internal_inventories_size(); + for (const auto& msg : this->_impl_.inventories_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; + total_size += 1UL * this->_internal_inventories2_size(); + for (const auto& msg : this->_impl_.inventories2_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; + total_size += 1UL * this->_internal_inventories3_size(); + for (const auto& msg : this->_impl_.inventories3_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional fixed32 crc = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 4; + } + + // optional int32 item_count = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count()); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); + } + + // optional int32 perf_time = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_perf_time()); + } + + // optional int32 client_timestamp = 7; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_timestamp()); + } + + // optional int32 platform = 8; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); + } + + // optional int32 inv_type = 11; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_inv_type()); + } + + // optional int32 build_version = 12; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_version()); + } + + } + if (cached_has_bits & 0x00000300u) { + // optional int64 start_time = 15; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_time()); + } + + // optional int32 instance = 13; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_instance()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Inventory_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_Inventory_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Inventory_Response::GetClassData() const { return &_class_data_; } + + +void CUserMessage_Inventory_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:CUserMessage_Inventory_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.inventories_.MergeFrom(from._impl_.inventories_); + _this->_impl_.inventories2_.MergeFrom(from._impl_.inventories2_); + _this->_impl_.inventories3_.MergeFrom(from._impl_.inventories3_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.crc_ = from._impl_.crc_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.item_count_ = from._impl_.item_count_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.osversion_ = from._impl_.osversion_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.perf_time_ = from._impl_.perf_time_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.platform_ = from._impl_.platform_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.inv_type_ = from._impl_.inv_type_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.build_version_ = from._impl_.build_version_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.start_time_ = from._impl_.start_time_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.instance_ = from._impl_.instance_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_Inventory_Response::CopyFrom(const CUserMessage_Inventory_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Inventory_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_Inventory_Response::IsInitialized() const { + return true; +} + +void CUserMessage_Inventory_Response::InternalSwap(CUserMessage_Inventory_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.inventories_.InternalSwap(&other->_impl_.inventories_); + _impl_.inventories2_.InternalSwap(&other->_impl_.inventories2_); + _impl_.inventories3_.InternalSwap(&other->_impl_.inventories3_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response, _impl_.instance_) + + sizeof(CUserMessage_Inventory_Response::_impl_.instance_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response, _impl_.crc_)>( + reinterpret_cast(&_impl_.crc_), + reinterpret_cast(&other->_impl_.crc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Inventory_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[98]); +} + +// =================================================================== + +class CUserMessageRequestDiagnostic_Diagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_offset(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_param(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_length(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_range(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_extent(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_detail(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_alias(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_vardetail(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_context(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } +}; + +CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic(::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:CUserMessageRequestDiagnostic.Diagnostic) +} +CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic(const CUserMessageRequestDiagnostic_Diagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRequestDiagnostic_Diagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.alias_){} + , decltype(_impl_.vardetail_){} + , decltype(_impl_.offset_){} + , decltype(_impl_.index_){} + , decltype(_impl_.param_){} + , decltype(_impl_.length_){} + , decltype(_impl_.type_){} + , decltype(_impl_.base_){} + , decltype(_impl_.range_){} + , decltype(_impl_.extent_){} + , decltype(_impl_.detail_){} + , decltype(_impl_.context_){}}; + + _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_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.alias_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.alias_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_alias()) { + _this->_impl_.alias_.Set(from._internal_alias(), + _this->GetArenaForAllocation()); + } + _impl_.vardetail_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vardetail_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_vardetail()) { + _this->_impl_.vardetail_.Set(from._internal_vardetail(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.offset_, &from._impl_.offset_, + static_cast(reinterpret_cast(&_impl_.context_) - + reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.context_)); + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDiagnostic.Diagnostic) +} + +inline void CUserMessageRequestDiagnostic_Diagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.name_){} + , decltype(_impl_.alias_){} + , decltype(_impl_.vardetail_){} + , decltype(_impl_.offset_){int64_t{0}} + , decltype(_impl_.index_){0} + , decltype(_impl_.param_){0} + , decltype(_impl_.length_){0} + , decltype(_impl_.type_){0} + , decltype(_impl_.base_){int64_t{0}} + , decltype(_impl_.range_){int64_t{0}} + , decltype(_impl_.extent_){int64_t{0}} + , decltype(_impl_.detail_){int64_t{0}} + , decltype(_impl_.context_){0} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.alias_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.alias_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vardetail_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vardetail_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessageRequestDiagnostic_Diagnostic::~CUserMessageRequestDiagnostic_Diagnostic() { + // @@protoc_insertion_point(destructor:CUserMessageRequestDiagnostic.Diagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRequestDiagnostic_Diagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.alias_.Destroy(); + _impl_.vardetail_.Destroy(); +} + +void CUserMessageRequestDiagnostic_Diagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRequestDiagnostic_Diagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDiagnostic.Diagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.alias_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.vardetail_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f8u) { + ::memset(&_impl_.offset_, 0, static_cast( + reinterpret_cast(&_impl_.type_) - + reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.type_)); + } + if (cached_has_bits & 0x00001f00u) { + ::memset(&_impl_.base_, 0, static_cast( + reinterpret_cast(&_impl_.context_) - + reinterpret_cast(&_impl_.base_)) + sizeof(_impl_.context_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRequestDiagnostic_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 offset = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_offset(&has_bits); + _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 param = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_param(&has_bits); + _impl_.param_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 length = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_length(&has_bits); + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 type = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 base = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_base(&has_bits); + _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 range = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_range(&has_bits); + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 extent = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_extent(&has_bits); + _impl_.extent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 detail = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_detail(&has_bits); + _impl_.detail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string name = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageRequestDiagnostic.Diagnostic.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string alias = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_alias(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessageRequestDiagnostic.Diagnostic.alias"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes vardetail = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_vardetail(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 context = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_context(&has_bits); + _impl_.context_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessageRequestDiagnostic_Diagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDiagnostic.Diagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int64 offset = 2; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_offset(), target); + } + + // optional int32 param = 3; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_param(), target); + } + + // optional int32 length = 4; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_length(), target); + } + + // optional int32 type = 5; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_type(), target); + } + + // optional int64 base = 6; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_base(), target); + } + + // optional int64 range = 7; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_range(), target); + } + + // optional int64 extent = 8; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(8, this->_internal_extent(), target); + } + + // optional int64 detail = 9; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(9, this->_internal_detail(), target); + } + + // optional string name = 10; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageRequestDiagnostic.Diagnostic.name"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_name(), target); + } + + // optional string alias = 11; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_alias().data(), static_cast(this->_internal_alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessageRequestDiagnostic.Diagnostic.alias"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_alias(), target); + } + + // optional bytes vardetail = 12; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 12, this->_internal_vardetail(), target); + } + + // optional int32 context = 13; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_context(), 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:CUserMessageRequestDiagnostic.Diagnostic) + return target; +} + +size_t CUserMessageRequestDiagnostic_Diagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDiagnostic.Diagnostic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional string name = 10; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string alias = 11; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_alias()); + } + + // optional bytes vardetail = 12; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_vardetail()); + } + + // optional int64 offset = 2; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); + } + + // optional int32 index = 1; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 param = 3; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_param()); + } + + // optional int32 length = 4; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_length()); + } + + // optional int32 type = 5; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + } + if (cached_has_bits & 0x00001f00u) { + // optional int64 base = 6; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); + } + + // optional int64 range = 7; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range()); + } + + // optional int64 extent = 8; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_extent()); + } + + // optional int64 detail = 9; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_detail()); + } + + // optional int32 context = 13; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDiagnostic_Diagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRequestDiagnostic_Diagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDiagnostic_Diagnostic::GetClassData() const { return &_class_data_; } + + +void CUserMessageRequestDiagnostic_Diagnostic::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:CUserMessageRequestDiagnostic.Diagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_alias(from._internal_alias()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_vardetail(from._internal_vardetail()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.offset_ = from._impl_.offset_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.param_ = from._impl_.param_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.length_ = from._impl_.length_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00001f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.base_ = from._impl_.base_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.range_ = from._impl_.range_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.extent_ = from._impl_.extent_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.detail_ = from._impl_.detail_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.context_ = from._impl_.context_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRequestDiagnostic_Diagnostic::CopyFrom(const CUserMessageRequestDiagnostic_Diagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDiagnostic.Diagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRequestDiagnostic_Diagnostic::IsInitialized() const { + return true; +} + +void CUserMessageRequestDiagnostic_Diagnostic::InternalSwap(CUserMessageRequestDiagnostic_Diagnostic* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.alias_, lhs_arena, + &other->_impl_.alias_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.vardetail_, lhs_arena, + &other->_impl_.vardetail_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessageRequestDiagnostic_Diagnostic, _impl_.context_) + + sizeof(CUserMessageRequestDiagnostic_Diagnostic::_impl_.context_) + - PROTOBUF_FIELD_OFFSET(CUserMessageRequestDiagnostic_Diagnostic, _impl_.offset_)>( + reinterpret_cast(&_impl_.offset_), + reinterpret_cast(&other->_impl_.offset_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDiagnostic_Diagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[99]); +} + +// =================================================================== + +class CUserMessageRequestDiagnostic::_Internal { + public: +}; + +CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic(::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:CUserMessageRequestDiagnostic) +} +CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic(const CUserMessageRequestDiagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessageRequestDiagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.diagnostics_){from._impl_.diagnostics_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDiagnostic) +} + +inline void CUserMessageRequestDiagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.diagnostics_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CUserMessageRequestDiagnostic::~CUserMessageRequestDiagnostic() { + // @@protoc_insertion_point(destructor:CUserMessageRequestDiagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessageRequestDiagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.diagnostics_.~RepeatedPtrField(); +} + +void CUserMessageRequestDiagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessageRequestDiagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDiagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.diagnostics_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessageRequestDiagnostic::_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 .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* CUserMessageRequestDiagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDiagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { + const auto& repfield = this->_internal_diagnostics(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, 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:CUserMessageRequestDiagnostic) + return target; +} + +size_t CUserMessageRequestDiagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDiagnostic) + 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 .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; + total_size += 1UL * this->_internal_diagnostics_size(); + for (const auto& msg : this->_impl_.diagnostics_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDiagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessageRequestDiagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDiagnostic::GetClassData() const { return &_class_data_; } + + +void CUserMessageRequestDiagnostic::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:CUserMessageRequestDiagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessageRequestDiagnostic::CopyFrom(const CUserMessageRequestDiagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDiagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessageRequestDiagnostic::IsInitialized() const { + return true; +} + +void CUserMessageRequestDiagnostic::InternalSwap(CUserMessageRequestDiagnostic* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDiagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[100]); +} + +// =================================================================== + +class CUserMessage_Diagnostic_Response_Diagnostic::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_index(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_offset(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_param(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } + static void set_has_length(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } + static void set_has_detail(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_base(HasBits* has_bits) { + (*has_bits)[0] |= 128u; + } + static void set_has_range(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_type(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_alias(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_backup(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_context(HasBits* has_bits) { + (*has_bits)[0] |= 16384u; + } + static void set_has_control(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_augment(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_placebo(HasBits* has_bits) { + (*has_bits)[0] |= 8192u; + } +}; + +CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic(::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:CUserMessage_Diagnostic_Response.Diagnostic) +} +CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic(const CUserMessage_Diagnostic_Response_Diagnostic& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_Diagnostic_Response_Diagnostic* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.detail_){} + , decltype(_impl_.name_){} + , decltype(_impl_.alias_){} + , decltype(_impl_.backup_){} + , decltype(_impl_.offset_){} + , decltype(_impl_.index_){} + , decltype(_impl_.param_){} + , decltype(_impl_.base_){} + , decltype(_impl_.length_){} + , decltype(_impl_.type_){} + , decltype(_impl_.range_){} + , decltype(_impl_.control_){} + , decltype(_impl_.augment_){} + , decltype(_impl_.placebo_){} + , decltype(_impl_.context_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.detail_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.detail_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_detail()) { + _this->_impl_.detail_.Set(from._internal_detail(), + _this->GetArenaForAllocation()); + } + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_name()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.alias_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.alias_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_alias()) { + _this->_impl_.alias_.Set(from._internal_alias(), + _this->GetArenaForAllocation()); + } + _impl_.backup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.backup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_backup()) { + _this->_impl_.backup_.Set(from._internal_backup(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.offset_, &from._impl_.offset_, + static_cast(reinterpret_cast(&_impl_.context_) - + reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.context_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_Diagnostic_Response.Diagnostic) +} + +inline void CUserMessage_Diagnostic_Response_Diagnostic::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.detail_){} + , decltype(_impl_.name_){} + , decltype(_impl_.alias_){} + , decltype(_impl_.backup_){} + , decltype(_impl_.offset_){int64_t{0}} + , decltype(_impl_.index_){0} + , decltype(_impl_.param_){0} + , decltype(_impl_.base_){int64_t{0}} + , decltype(_impl_.length_){0} + , decltype(_impl_.type_){0} + , decltype(_impl_.range_){int64_t{0}} + , decltype(_impl_.control_){int64_t{0}} + , decltype(_impl_.augment_){int64_t{0}} + , decltype(_impl_.placebo_){int64_t{0}} + , decltype(_impl_.context_){0} + }; + _impl_.detail_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.detail_.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 + _impl_.alias_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.alias_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.backup_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.backup_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_Diagnostic_Response_Diagnostic::~CUserMessage_Diagnostic_Response_Diagnostic() { + // @@protoc_insertion_point(destructor:CUserMessage_Diagnostic_Response.Diagnostic) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_Diagnostic_Response_Diagnostic::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.detail_.Destroy(); + _impl_.name_.Destroy(); + _impl_.alias_.Destroy(); + _impl_.backup_.Destroy(); +} + +void CUserMessage_Diagnostic_Response_Diagnostic::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_Diagnostic_Response_Diagnostic::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_Diagnostic_Response.Diagnostic) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _impl_.detail_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.alias_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + _impl_.backup_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x000000f0u) { + ::memset(&_impl_.offset_, 0, static_cast( + reinterpret_cast(&_impl_.base_) - + reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.base_)); + } + if (cached_has_bits & 0x00007f00u) { + ::memset(&_impl_.length_, 0, static_cast( + reinterpret_cast(&_impl_.context_) - + reinterpret_cast(&_impl_.length_)) + sizeof(_impl_.context_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_Diagnostic_Response_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 index = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_index(&has_bits); + _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 offset = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_offset(&has_bits); + _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 param = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_param(&has_bits); + _impl_.param_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 length = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_length(&has_bits); + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bytes detail = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_detail(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 base = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_base(&has_bits); + _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 range = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_range(&has_bits); + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 type = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_type(&has_bits); + _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string name = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_Diagnostic_Response.Diagnostic.name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string alias = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_alias(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_Diagnostic_Response.Diagnostic.alias"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional bytes backup = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + auto str = _internal_mutable_backup(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 context = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { + _Internal::set_has_context(&has_bits); + _impl_.context_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 control = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + _Internal::set_has_control(&has_bits); + _impl_.control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 augment = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { + _Internal::set_has_augment(&has_bits); + _impl_.augment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 placebo = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_placebo(&has_bits); + _impl_.placebo_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_Diagnostic_Response_Diagnostic::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Diagnostic_Response.Diagnostic) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 index = 1; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); + } + + // optional int64 offset = 2; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_offset(), target); + } + + // optional int32 param = 3; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_param(), target); + } + + // optional int32 length = 4; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_length(), target); + } + + // optional bytes detail = 5; + if (cached_has_bits & 0x00000001u) { + target = stream->WriteBytesMaybeAliased( + 5, this->_internal_detail(), target); + } + + // optional int64 base = 6; + if (cached_has_bits & 0x00000080u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_base(), target); + } + + // optional int64 range = 7; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_range(), target); + } + + // optional int32 type = 8; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_type(), target); + } + + // optional string name = 10; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_Diagnostic_Response.Diagnostic.name"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_name(), target); + } + + // optional string alias = 11; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_alias().data(), static_cast(this->_internal_alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_Diagnostic_Response.Diagnostic.alias"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_alias(), target); + } + + // optional bytes backup = 12; + if (cached_has_bits & 0x00000008u) { + target = stream->WriteBytesMaybeAliased( + 12, this->_internal_backup(), target); + } + + // optional int32 context = 13; + if (cached_has_bits & 0x00004000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_context(), target); + } + + // optional int64 control = 14; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(14, this->_internal_control(), target); + } + + // optional int64 augment = 15; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(15, this->_internal_augment(), target); + } + + // optional int64 placebo = 16; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(16, this->_internal_placebo(), 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:CUserMessage_Diagnostic_Response.Diagnostic) + return target; +} + +size_t CUserMessage_Diagnostic_Response_Diagnostic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Diagnostic_Response.Diagnostic) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + // optional bytes detail = 5; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_detail()); + } + + // optional string name = 10; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // optional string alias = 11; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_alias()); + } + + // optional bytes backup = 12; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_backup()); + } + + // optional int64 offset = 2; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); + } + + // optional int32 index = 1; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); + } + + // optional int32 param = 3; + if (cached_has_bits & 0x00000040u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_param()); + } + + // optional int64 base = 6; + if (cached_has_bits & 0x00000080u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); + } + + } + if (cached_has_bits & 0x00007f00u) { + // optional int32 length = 4; + if (cached_has_bits & 0x00000100u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_length()); + } + + // optional int32 type = 8; + if (cached_has_bits & 0x00000200u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); + } + + // optional int64 range = 7; + if (cached_has_bits & 0x00000400u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range()); + } + + // optional int64 control = 14; + if (cached_has_bits & 0x00000800u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_control()); + } + + // optional int64 augment = 15; + if (cached_has_bits & 0x00001000u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_augment()); + } + + // optional int64 placebo = 16; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::_pbi::WireFormatLite::Int64Size( + this->_internal_placebo()); + } + + // optional int32 context = 13; + if (cached_has_bits & 0x00004000u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Diagnostic_Response_Diagnostic::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_Diagnostic_Response_Diagnostic::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Diagnostic_Response_Diagnostic::GetClassData() const { return &_class_data_; } + + +void CUserMessage_Diagnostic_Response_Diagnostic::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:CUserMessage_Diagnostic_Response.Diagnostic) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x000000ffu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_detail(from._internal_detail()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_name(from._internal_name()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_alias(from._internal_alias()); + } + if (cached_has_bits & 0x00000008u) { + _this->_internal_set_backup(from._internal_backup()); + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.offset_ = from._impl_.offset_; + } + if (cached_has_bits & 0x00000020u) { + _this->_impl_.index_ = from._impl_.index_; + } + if (cached_has_bits & 0x00000040u) { + _this->_impl_.param_ = from._impl_.param_; + } + if (cached_has_bits & 0x00000080u) { + _this->_impl_.base_ = from._impl_.base_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00007f00u) { + if (cached_has_bits & 0x00000100u) { + _this->_impl_.length_ = from._impl_.length_; + } + if (cached_has_bits & 0x00000200u) { + _this->_impl_.type_ = from._impl_.type_; + } + if (cached_has_bits & 0x00000400u) { + _this->_impl_.range_ = from._impl_.range_; + } + if (cached_has_bits & 0x00000800u) { + _this->_impl_.control_ = from._impl_.control_; + } + if (cached_has_bits & 0x00001000u) { + _this->_impl_.augment_ = from._impl_.augment_; + } + if (cached_has_bits & 0x00002000u) { + _this->_impl_.placebo_ = from._impl_.placebo_; + } + if (cached_has_bits & 0x00004000u) { + _this->_impl_.context_ = from._impl_.context_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_Diagnostic_Response_Diagnostic::CopyFrom(const CUserMessage_Diagnostic_Response_Diagnostic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Diagnostic_Response.Diagnostic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_Diagnostic_Response_Diagnostic::IsInitialized() const { + return true; +} + +void CUserMessage_Diagnostic_Response_Diagnostic::InternalSwap(CUserMessage_Diagnostic_Response_Diagnostic* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.detail_, lhs_arena, + &other->_impl_.detail_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.alias_, lhs_arena, + &other->_impl_.alias_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.backup_, lhs_arena, + &other->_impl_.backup_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response_Diagnostic, _impl_.context_) + + sizeof(CUserMessage_Diagnostic_Response_Diagnostic::_impl_.context_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response_Diagnostic, _impl_.offset_)>( + reinterpret_cast(&_impl_.offset_), + reinterpret_cast(&other->_impl_.offset_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Diagnostic_Response_Diagnostic::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[101]); +} + +// =================================================================== + +class CUserMessage_Diagnostic_Response::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_build_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_instance(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_start_time(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_osversion(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_platform(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_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:CUserMessage_Diagnostic_Response) +} +CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_Response(const CUserMessage_Diagnostic_Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_Diagnostic_Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} + , decltype(_impl_.build_version_){} + , decltype(_impl_.instance_){} + , decltype(_impl_.start_time_){} + , decltype(_impl_.osversion_){} + , decltype(_impl_.platform_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.build_version_, &from._impl_.build_version_, + static_cast(reinterpret_cast(&_impl_.platform_) - + reinterpret_cast(&_impl_.build_version_)) + sizeof(_impl_.platform_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_Diagnostic_Response) +} + +inline void CUserMessage_Diagnostic_Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.diagnostics_){arena} + , decltype(_impl_.build_version_){0} + , decltype(_impl_.instance_){0} + , decltype(_impl_.start_time_){int64_t{0}} + , decltype(_impl_.osversion_){0} + , decltype(_impl_.platform_){0} + }; +} + +CUserMessage_Diagnostic_Response::~CUserMessage_Diagnostic_Response() { + // @@protoc_insertion_point(destructor:CUserMessage_Diagnostic_Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_Diagnostic_Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.diagnostics_.~RepeatedPtrField(); +} + +void CUserMessage_Diagnostic_Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_Diagnostic_Response::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_Diagnostic_Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.diagnostics_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + ::memset(&_impl_.build_version_, 0, static_cast( + reinterpret_cast(&_impl_.platform_) - + reinterpret_cast(&_impl_.build_version_)) + sizeof(_impl_.platform_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_Diagnostic_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // optional int32 build_version = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_build_version(&has_bits); + _impl_.build_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 instance = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_instance(&has_bits); + _impl_.instance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 start_time = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_start_time(&has_bits); + _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 osversion = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _Internal::set_has_osversion(&has_bits); + _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 platform = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_platform(&has_bits); + _impl_.platform_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_Diagnostic_Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Diagnostic_Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { + const auto& repfield = this->_internal_diagnostics(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 build_version = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_build_version(), target); + } + + // optional int32 instance = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_instance(), target); + } + + // optional int64 start_time = 4; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_start_time(), target); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); + } + + // optional int32 platform = 6; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_platform(), 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:CUserMessage_Diagnostic_Response) + return target; +} + +size_t CUserMessage_Diagnostic_Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Diagnostic_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; + + // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; + total_size += 1UL * this->_internal_diagnostics_size(); + for (const auto& msg : this->_impl_.diagnostics_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional int32 build_version = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_version()); + } + + // optional int32 instance = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_instance()); + } + + // optional int64 start_time = 4; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_time()); + } + + // optional int32 osversion = 5; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); + } + + // optional int32 platform = 6; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Diagnostic_Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_Diagnostic_Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Diagnostic_Response::GetClassData() const { return &_class_data_; } + + +void CUserMessage_Diagnostic_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:CUserMessage_Diagnostic_Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.build_version_ = from._impl_.build_version_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.instance_ = from._impl_.instance_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.start_time_ = from._impl_.start_time_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.osversion_ = from._impl_.osversion_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.platform_ = from._impl_.platform_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_Diagnostic_Response::CopyFrom(const CUserMessage_Diagnostic_Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Diagnostic_Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_Diagnostic_Response::IsInitialized() const { + return true; +} + +void CUserMessage_Diagnostic_Response::InternalSwap(CUserMessage_Diagnostic_Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response, _impl_.platform_) + + sizeof(CUserMessage_Diagnostic_Response::_impl_.platform_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response, _impl_.build_version_)>( + reinterpret_cast(&_impl_.build_version_), + reinterpret_cast(&other->_impl_.build_version_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Diagnostic_Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[102]); +} + +// =================================================================== + +class CUserMessage_ExtraUserData::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_item(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_value1(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_value2(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +CUserMessage_ExtraUserData::CUserMessage_ExtraUserData(::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:CUserMessage_ExtraUserData) +} +CUserMessage_ExtraUserData::CUserMessage_ExtraUserData(const CUserMessage_ExtraUserData& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_ExtraUserData* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.detail1_){from._impl_.detail1_} + , decltype(_impl_.detail2_){from._impl_.detail2_} + , decltype(_impl_.value1_){} + , decltype(_impl_.value2_){} + , decltype(_impl_.item_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.value1_, &from._impl_.value1_, + static_cast(reinterpret_cast(&_impl_.item_) - + reinterpret_cast(&_impl_.value1_)) + sizeof(_impl_.item_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_ExtraUserData) +} + +inline void CUserMessage_ExtraUserData::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.detail1_){arena} + , decltype(_impl_.detail2_){arena} + , decltype(_impl_.value1_){int64_t{0}} + , decltype(_impl_.value2_){int64_t{0}} + , decltype(_impl_.item_){0} + }; +} + +CUserMessage_ExtraUserData::~CUserMessage_ExtraUserData() { + // @@protoc_insertion_point(destructor:CUserMessage_ExtraUserData) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_ExtraUserData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.detail1_.~RepeatedPtrField(); + _impl_.detail2_.~RepeatedPtrField(); +} + +void CUserMessage_ExtraUserData::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_ExtraUserData::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_ExtraUserData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.detail1_.Clear(); + _impl_.detail2_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&_impl_.value1_, 0, static_cast( + reinterpret_cast(&_impl_.item_) - + reinterpret_cast(&_impl_.value1_)) + sizeof(_impl_.item_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_ExtraUserData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 item = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_item(&has_bits); + _impl_.item_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 value1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_value1(&has_bits); + _impl_.value1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 value2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_value2(&has_bits); + _impl_.value2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated bytes detail1 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_detail1(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + // repeated bytes detail2 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_detail2(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_ExtraUserData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_ExtraUserData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 item = 1; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_item(), target); + } + + // optional int64 value1 = 2; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_value1(), target); + } + + // optional int64 value2 = 3; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_value2(), target); + } + + // repeated bytes detail1 = 4; + for (int i = 0, n = this->_internal_detail1_size(); i < n; i++) { + const auto& s = this->_internal_detail1(i); + target = stream->WriteBytes(4, s, target); + } + + // repeated bytes detail2 = 5; + for (int i = 0, n = this->_internal_detail2_size(); i < n; i++) { + const auto& s = this->_internal_detail2(i); + target = stream->WriteBytes(5, 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:CUserMessage_ExtraUserData) + return target; +} + +size_t CUserMessage_ExtraUserData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_ExtraUserData) + 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 bytes detail1 = 4; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.detail1_.size()); + for (int i = 0, n = _impl_.detail1_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.detail1_.Get(i)); + } + + // repeated bytes detail2 = 5; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.detail2_.size()); + for (int i = 0, n = _impl_.detail2_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + _impl_.detail2_.Get(i)); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional int64 value1 = 2; + if (cached_has_bits & 0x00000001u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value1()); + } + + // optional int64 value2 = 3; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value2()); + } + + // optional int32 item = 1; + if (cached_has_bits & 0x00000004u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_ExtraUserData::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_ExtraUserData::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_ExtraUserData::GetClassData() const { return &_class_data_; } + + +void CUserMessage_ExtraUserData::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:CUserMessage_ExtraUserData) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.detail1_.MergeFrom(from._impl_.detail1_); + _this->_impl_.detail2_.MergeFrom(from._impl_.detail2_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_impl_.value1_ = from._impl_.value1_; + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.value2_ = from._impl_.value2_; + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.item_ = from._impl_.item_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_ExtraUserData::CopyFrom(const CUserMessage_ExtraUserData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_ExtraUserData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_ExtraUserData::IsInitialized() const { + return true; +} + +void CUserMessage_ExtraUserData::InternalSwap(CUserMessage_ExtraUserData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.detail1_.InternalSwap(&other->_impl_.detail1_); + _impl_.detail2_.InternalSwap(&other->_impl_.detail2_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_ExtraUserData, _impl_.item_) + + sizeof(CUserMessage_ExtraUserData::_impl_.item_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_ExtraUserData, _impl_.value1_)>( + reinterpret_cast(&_impl_.value1_), + reinterpret_cast(&other->_impl_.value1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_ExtraUserData::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[103]); +} + +// =================================================================== + +class CUserMessage_NotifyResponseFound_Criteria::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_name_symbol(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_value(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria(::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:CUserMessage_NotifyResponseFound.Criteria) +} +CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria(const CUserMessage_NotifyResponseFound_Criteria& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_NotifyResponseFound_Criteria* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){} + , decltype(_impl_.name_symbol_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_value()) { + _this->_impl_.value_.Set(from._internal_value(), + _this->GetArenaForAllocation()); + } + _this->_impl_.name_symbol_ = from._impl_.name_symbol_; + // @@protoc_insertion_point(copy_constructor:CUserMessage_NotifyResponseFound.Criteria) +} + +inline void CUserMessage_NotifyResponseFound_Criteria::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.value_){} + , decltype(_impl_.name_symbol_){0u} + }; + _impl_.value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_NotifyResponseFound_Criteria::~CUserMessage_NotifyResponseFound_Criteria() { + // @@protoc_insertion_point(destructor:CUserMessage_NotifyResponseFound.Criteria) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_NotifyResponseFound_Criteria::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.value_.Destroy(); +} + +void CUserMessage_NotifyResponseFound_Criteria::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_NotifyResponseFound_Criteria::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_NotifyResponseFound.Criteria) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.value_.ClearNonDefaultToEmpty(); + } + _impl_.name_symbol_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_NotifyResponseFound_Criteria::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional uint32 name_symbol = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_name_symbol(&has_bits); + _impl_.name_symbol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string value = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.Criteria.value"); + #endif // !NDEBUG + } 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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_NotifyResponseFound_Criteria::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_NotifyResponseFound.Criteria) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional uint32 name_symbol = 1; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_name_symbol(), target); + } + + // optional string value = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_value().data(), static_cast(this->_internal_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_NotifyResponseFound.Criteria.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), 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:CUserMessage_NotifyResponseFound.Criteria) + return target; +} + +size_t CUserMessage_NotifyResponseFound_Criteria::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_NotifyResponseFound.Criteria) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string value = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } + + // optional uint32 name_symbol = 1; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_name_symbol()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_NotifyResponseFound_Criteria::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_NotifyResponseFound_Criteria::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_NotifyResponseFound_Criteria::GetClassData() const { return &_class_data_; } + + +void CUserMessage_NotifyResponseFound_Criteria::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:CUserMessage_NotifyResponseFound.Criteria) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_value(from._internal_value()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.name_symbol_ = from._impl_.name_symbol_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_NotifyResponseFound_Criteria::CopyFrom(const CUserMessage_NotifyResponseFound_Criteria& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_NotifyResponseFound.Criteria) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_NotifyResponseFound_Criteria::IsInitialized() const { + return true; +} + +void CUserMessage_NotifyResponseFound_Criteria::InternalSwap(CUserMessage_NotifyResponseFound_Criteria* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.value_, lhs_arena, + &other->_impl_.value_, rhs_arena + ); + swap(_impl_.name_symbol_, other->_impl_.name_symbol_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_NotifyResponseFound_Criteria::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[104]); +} + +// =================================================================== + +class CUserMessage_NotifyResponseFound::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_rule_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_response_value(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_response_concept(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_speak_result(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound(::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:CUserMessage_NotifyResponseFound) +} +CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound(const CUserMessage_NotifyResponseFound& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_NotifyResponseFound* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.criteria_){from._impl_.criteria_} + , decltype(_impl_.int_criteria_names_){from._impl_.int_criteria_names_} + , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.int_criteria_values_){from._impl_.int_criteria_values_} + , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} + , decltype(_impl_.float_criteria_names_){from._impl_.float_criteria_names_} + , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.float_criteria_values_){from._impl_.float_criteria_values_} + , decltype(_impl_.symbol_criteria_names_){from._impl_.symbol_criteria_names_} + , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.symbol_criteria_values_){from._impl_.symbol_criteria_values_} + , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} + , decltype(_impl_.rule_name_){} + , decltype(_impl_.response_value_){} + , decltype(_impl_.response_concept_){} + , decltype(_impl_.speak_result_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.rule_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_rule_name()) { + _this->_impl_.rule_name_.Set(from._internal_rule_name(), + _this->GetArenaForAllocation()); + } + _impl_.response_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_response_value()) { + _this->_impl_.response_value_.Set(from._internal_response_value(), + _this->GetArenaForAllocation()); + } + _impl_.response_concept_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_concept_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_response_concept()) { + _this->_impl_.response_concept_.Set(from._internal_response_concept(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.speak_result_, &from._impl_.speak_result_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.speak_result_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_NotifyResponseFound) +} + +inline void CUserMessage_NotifyResponseFound::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.criteria_){arena} + , decltype(_impl_.int_criteria_names_){arena} + , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.int_criteria_values_){arena} + , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} + , decltype(_impl_.float_criteria_names_){arena} + , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.float_criteria_values_){arena} + , decltype(_impl_.symbol_criteria_names_){arena} + , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} + , decltype(_impl_.symbol_criteria_values_){arena} + , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} + , decltype(_impl_.rule_name_){} + , decltype(_impl_.response_value_){} + , decltype(_impl_.response_concept_){} + , decltype(_impl_.speak_result_){0} + , decltype(_impl_.ent_index_){-1} + }; + _impl_.rule_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.rule_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_value_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_value_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_concept_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_concept_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_NotifyResponseFound::~CUserMessage_NotifyResponseFound() { + // @@protoc_insertion_point(destructor:CUserMessage_NotifyResponseFound) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_NotifyResponseFound::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.criteria_.~RepeatedPtrField(); + _impl_.int_criteria_names_.~RepeatedField(); + _impl_.int_criteria_values_.~RepeatedField(); + _impl_.float_criteria_names_.~RepeatedField(); + _impl_.float_criteria_values_.~RepeatedField(); + _impl_.symbol_criteria_names_.~RepeatedField(); + _impl_.symbol_criteria_values_.~RepeatedField(); + _impl_.rule_name_.Destroy(); + _impl_.response_value_.Destroy(); + _impl_.response_concept_.Destroy(); +} + +void CUserMessage_NotifyResponseFound::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_NotifyResponseFound::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_NotifyResponseFound) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.criteria_.Clear(); + _impl_.int_criteria_names_.Clear(); + _impl_.int_criteria_values_.Clear(); + _impl_.float_criteria_names_.Clear(); + _impl_.float_criteria_values_.Clear(); + _impl_.symbol_criteria_names_.Clear(); + _impl_.symbol_criteria_values_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _impl_.rule_name_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + _impl_.response_value_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + _impl_.response_concept_.ClearNonDefaultToEmpty(); + } + } + if (cached_has_bits & 0x00000018u) { + _impl_.speak_result_ = 0; + _impl_.ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_NotifyResponseFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ent_index = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string rule_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_rule_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.rule_name"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string response_value = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_response_value(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.response_value"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional string response_concept = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_response_concept(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.response_concept"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_criteria(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // repeated uint32 int_criteria_names = 6 [packed = true]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_int_criteria_names(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 48) { + _internal_add_int_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 int_criteria_values = 7 [packed = true]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_int_criteria_values(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 56) { + _internal_add_int_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 float_criteria_names = 8 [packed = true]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_float_criteria_names(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 64) { + _internal_add_float_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated float float_criteria_values = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_float_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<77>(ptr)); + } else if (static_cast(tag) == 74) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_float_criteria_values(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 symbol_criteria_names = 10 [packed = true]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_symbol_criteria_names(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 80) { + _internal_add_symbol_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated uint32 symbol_criteria_values = 11 [packed = true]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_symbol_criteria_values(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 88) { + _internal_add_symbol_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 speak_result = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _Internal::set_has_speak_result(&has_bits); + _impl_.speak_result_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_NotifyResponseFound::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_NotifyResponseFound) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ent_index = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ent_index(), target); + } + + // optional string rule_name = 2; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_rule_name().data(), static_cast(this->_internal_rule_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_NotifyResponseFound.rule_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_rule_name(), target); + } + + // optional string response_value = 3; + if (cached_has_bits & 0x00000002u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_response_value().data(), static_cast(this->_internal_response_value().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_NotifyResponseFound.response_value"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_response_value(), target); + } + + // optional string response_concept = 4; + if (cached_has_bits & 0x00000004u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_response_concept().data(), static_cast(this->_internal_response_concept().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_NotifyResponseFound.response_concept"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_response_concept(), target); + } + + // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_criteria_size()); i < n; i++) { + const auto& repfield = this->_internal_criteria(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated uint32 int_criteria_names = 6 [packed = true]; + { + int byte_size = _impl_._int_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 6, _internal_int_criteria_names(), byte_size, target); + } + } + + // repeated int32 int_criteria_values = 7 [packed = true]; + { + int byte_size = _impl_._int_criteria_values_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 7, _internal_int_criteria_values(), byte_size, target); + } + } + + // repeated uint32 float_criteria_names = 8 [packed = true]; + { + int byte_size = _impl_._float_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 8, _internal_float_criteria_names(), byte_size, target); + } + } + + // repeated float float_criteria_values = 9; + for (int i = 0, n = this->_internal_float_criteria_values_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_float_criteria_values(i), target); + } + + // repeated uint32 symbol_criteria_names = 10 [packed = true]; + { + int byte_size = _impl_._symbol_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 10, _internal_symbol_criteria_names(), byte_size, target); + } + } + + // repeated uint32 symbol_criteria_values = 11 [packed = true]; + { + int byte_size = _impl_._symbol_criteria_values_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 11, _internal_symbol_criteria_values(), byte_size, target); + } + } + + // optional int32 speak_result = 12; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_speak_result(), 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:CUserMessage_NotifyResponseFound) + return target; +} + +size_t CUserMessage_NotifyResponseFound::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_NotifyResponseFound) + 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 .CUserMessage_NotifyResponseFound.Criteria criteria = 5; + total_size += 1UL * this->_internal_criteria_size(); + for (const auto& msg : this->_impl_.criteria_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated uint32 int_criteria_names = 6 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.int_criteria_names_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._int_criteria_names_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated int32 int_criteria_values = 7 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.int_criteria_values_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._int_criteria_values_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated uint32 float_criteria_names = 8 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.float_criteria_names_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._float_criteria_names_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated float float_criteria_values = 9; + { + unsigned int count = static_cast(this->_internal_float_criteria_values_size()); + size_t data_size = 4UL * count; + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_float_criteria_values_size()); + total_size += data_size; + } + + // repeated uint32 symbol_criteria_names = 10 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.symbol_criteria_names_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._symbol_criteria_names_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated uint32 symbol_criteria_values = 11 [packed = true]; + { + size_t data_size = ::_pbi::WireFormatLite:: + UInt32Size(this->_impl_.symbol_criteria_values_); + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _impl_._symbol_criteria_values_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string rule_name = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_rule_name()); + } + + // optional string response_value = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_response_value()); + } + + // optional string response_concept = 4; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_response_concept()); + } + + // optional int32 speak_result = 12; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_speak_result()); + } + + // optional int32 ent_index = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_NotifyResponseFound::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_NotifyResponseFound::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_NotifyResponseFound::GetClassData() const { return &_class_data_; } + + +void CUserMessage_NotifyResponseFound::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:CUserMessage_NotifyResponseFound) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.criteria_.MergeFrom(from._impl_.criteria_); + _this->_impl_.int_criteria_names_.MergeFrom(from._impl_.int_criteria_names_); + _this->_impl_.int_criteria_values_.MergeFrom(from._impl_.int_criteria_values_); + _this->_impl_.float_criteria_names_.MergeFrom(from._impl_.float_criteria_names_); + _this->_impl_.float_criteria_values_.MergeFrom(from._impl_.float_criteria_values_); + _this->_impl_.symbol_criteria_names_.MergeFrom(from._impl_.symbol_criteria_names_); + _this->_impl_.symbol_criteria_values_.MergeFrom(from._impl_.symbol_criteria_values_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_rule_name(from._internal_rule_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_set_response_value(from._internal_response_value()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_set_response_concept(from._internal_response_concept()); + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.speak_result_ = from._impl_.speak_result_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_NotifyResponseFound::CopyFrom(const CUserMessage_NotifyResponseFound& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_NotifyResponseFound) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_NotifyResponseFound::IsInitialized() const { + return true; +} + +void CUserMessage_NotifyResponseFound::InternalSwap(CUserMessage_NotifyResponseFound* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.criteria_.InternalSwap(&other->_impl_.criteria_); + _impl_.int_criteria_names_.InternalSwap(&other->_impl_.int_criteria_names_); + _impl_.int_criteria_values_.InternalSwap(&other->_impl_.int_criteria_values_); + _impl_.float_criteria_names_.InternalSwap(&other->_impl_.float_criteria_names_); + _impl_.float_criteria_values_.InternalSwap(&other->_impl_.float_criteria_values_); + _impl_.symbol_criteria_names_.InternalSwap(&other->_impl_.symbol_criteria_names_); + _impl_.symbol_criteria_values_.InternalSwap(&other->_impl_.symbol_criteria_values_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.rule_name_, lhs_arena, + &other->_impl_.rule_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.response_value_, lhs_arena, + &other->_impl_.response_value_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.response_concept_, lhs_arena, + &other->_impl_.response_concept_, rhs_arena + ); + swap(_impl_.speak_result_, other->_impl_.speak_result_); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_NotifyResponseFound::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[105]); +} + +// =================================================================== + +class CUserMessage_PlayResponseConditional::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static void set_has_ent_index(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_response(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::CMsgVector& ent_origin(const CUserMessage_PlayResponseConditional* msg); + static void set_has_ent_origin(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_pre_delay(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_mix_priority(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } +}; + +const ::CMsgVector& +CUserMessage_PlayResponseConditional::_Internal::ent_origin(const CUserMessage_PlayResponseConditional* msg) { + return *msg->_impl_.ent_origin_; +} +void CUserMessage_PlayResponseConditional::clear_ent_origin() { + if (_impl_.ent_origin_ != nullptr) _impl_.ent_origin_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional(::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:CUserMessage_PlayResponseConditional) +} +CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional(const CUserMessage_PlayResponseConditional& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CUserMessage_PlayResponseConditional* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){from._impl_._has_bits_} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_slots_){from._impl_.player_slots_} + , decltype(_impl_.response_){} + , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.pre_delay_){} + , decltype(_impl_.mix_priority_){} + , decltype(_impl_.ent_index_){}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.response_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_response()) { + _this->_impl_.response_.Set(from._internal_response(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_ent_origin()) { + _this->_impl_.ent_origin_ = new ::CMsgVector(*from._impl_.ent_origin_); + } + ::memcpy(&_impl_.pre_delay_, &from._impl_.pre_delay_, + static_cast(reinterpret_cast(&_impl_.ent_index_) - + reinterpret_cast(&_impl_.pre_delay_)) + sizeof(_impl_.ent_index_)); + // @@protoc_insertion_point(copy_constructor:CUserMessage_PlayResponseConditional) +} + +inline void CUserMessage_PlayResponseConditional::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_._has_bits_){} + , /*decltype(_impl_._cached_size_)*/{} + , decltype(_impl_.player_slots_){arena} + , decltype(_impl_.response_){} + , decltype(_impl_.ent_origin_){nullptr} + , decltype(_impl_.pre_delay_){0} + , decltype(_impl_.mix_priority_){0} + , decltype(_impl_.ent_index_){-1} + }; + _impl_.response_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.response_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CUserMessage_PlayResponseConditional::~CUserMessage_PlayResponseConditional() { + // @@protoc_insertion_point(destructor:CUserMessage_PlayResponseConditional) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CUserMessage_PlayResponseConditional::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.player_slots_.~RepeatedField(); + _impl_.response_.Destroy(); + if (this != internal_default_instance()) delete _impl_.ent_origin_; +} + +void CUserMessage_PlayResponseConditional::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CUserMessage_PlayResponseConditional::Clear() { +// @@protoc_insertion_point(message_clear_start:CUserMessage_PlayResponseConditional) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.player_slots_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _impl_.response_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(_impl_.ent_origin_ != nullptr); + _impl_.ent_origin_->Clear(); + } + } + if (cached_has_bits & 0x0000001cu) { + ::memset(&_impl_.pre_delay_, 0, static_cast( + reinterpret_cast(&_impl_.mix_priority_) - + reinterpret_cast(&_impl_.pre_delay_)) + sizeof(_impl_.mix_priority_)); + _impl_.ent_index_ = -1; + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CUserMessage_PlayResponseConditional::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // optional int32 ent_index = 1 [default = -1]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_ent_index(&has_bits); + _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated int32 player_slots = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + ptr -= 1; + do { + ptr += 1; + _internal_add_player_slots(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); + } else if (static_cast(tag) == 18) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_player_slots(), ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string response = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_response(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + #ifndef NDEBUG + ::_pbi::VerifyUTF8(str, "CUserMessage_PlayResponseConditional.response"); + #endif // !NDEBUG + } else + goto handle_unusual; + continue; + // optional .CMsgVector ent_origin = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_ent_origin(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional float pre_delay = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _Internal::set_has_pre_delay(&has_bits); + _impl_.pre_delay_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // optional int32 mix_priority = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _Internal::set_has_mix_priority(&has_bits); + _impl_.mix_priority_ = ::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: + _impl_._has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CUserMessage_PlayResponseConditional::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_PlayResponseConditional) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // optional int32 ent_index = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ent_index(), target); + } + + // repeated int32 player_slots = 2; + for (int i = 0, n = this->_internal_player_slots_size(); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slots(i), target); + } + + // optional string response = 3; + if (cached_has_bits & 0x00000001u) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( + this->_internal_response().data(), static_cast(this->_internal_response().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + "CUserMessage_PlayResponseConditional.response"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_response(), target); + } + + // optional .CMsgVector ent_origin = 4; + if (cached_has_bits & 0x00000002u) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::ent_origin(this), + _Internal::ent_origin(this).GetCachedSize(), target, stream); + } + + // optional float pre_delay = 5; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_pre_delay(), target); + } + + // optional int32 mix_priority = 6; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_mix_priority(), 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:CUserMessage_PlayResponseConditional) + return target; +} + +size_t CUserMessage_PlayResponseConditional::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:CUserMessage_PlayResponseConditional) + 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 int32 player_slots = 2; + { + size_t data_size = ::_pbi::WireFormatLite:: + Int32Size(this->_impl_.player_slots_); + total_size += 1 * + ::_pbi::FromIntSize(this->_internal_player_slots_size()); + total_size += data_size; + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + // optional string response = 3; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_response()); + } + + // optional .CMsgVector ent_origin = 4; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ent_origin_); + } + + // optional float pre_delay = 5; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + 4; + } + + // optional int32 mix_priority = 6; + if (cached_has_bits & 0x00000008u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mix_priority()); + } + + // optional int32 ent_index = 1 [default = -1]; + if (cached_has_bits & 0x00000010u) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_PlayResponseConditional::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CUserMessage_PlayResponseConditional::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_PlayResponseConditional::GetClassData() const { return &_class_data_; } + + +void CUserMessage_PlayResponseConditional::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:CUserMessage_PlayResponseConditional) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.player_slots_.MergeFrom(from._impl_.player_slots_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_response(from._internal_response()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_ent_origin()->::CMsgVector::MergeFrom( + from._internal_ent_origin()); + } + if (cached_has_bits & 0x00000004u) { + _this->_impl_.pre_delay_ = from._impl_.pre_delay_; + } + if (cached_has_bits & 0x00000008u) { + _this->_impl_.mix_priority_ = from._impl_.mix_priority_; + } + if (cached_has_bits & 0x00000010u) { + _this->_impl_.ent_index_ = from._impl_.ent_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CUserMessage_PlayResponseConditional::CopyFrom(const CUserMessage_PlayResponseConditional& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_PlayResponseConditional) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMessage_PlayResponseConditional::IsInitialized() const { + return true; +} + +void CUserMessage_PlayResponseConditional::InternalSwap(CUserMessage_PlayResponseConditional* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.player_slots_.InternalSwap(&other->_impl_.player_slots_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.response_, lhs_arena, + &other->_impl_.response_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CUserMessage_PlayResponseConditional, _impl_.mix_priority_) + + sizeof(CUserMessage_PlayResponseConditional::_impl_.mix_priority_) + - PROTOBUF_FIELD_OFFSET(CUserMessage_PlayResponseConditional, _impl_.ent_origin_)>( + reinterpret_cast(&_impl_.ent_origin_), + reinterpret_cast(&other->_impl_.ent_origin_)); + swap(_impl_.ent_index_, other->_impl_.ent_index_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_PlayResponseConditional::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, + file_level_metadata_usermessages_2eproto[106]); +} + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::CUserMessageAchievementEvent* +Arena::CreateMaybeMessage< ::CUserMessageAchievementEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageAchievementEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaption* +Arena::CreateMaybeMessage< ::CUserMessageCloseCaption >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCloseCaption >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaptionDirect* +Arena::CreateMaybeMessage< ::CUserMessageCloseCaptionDirect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCloseCaptionDirect >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaptionPlaceholder* +Arena::CreateMaybeMessage< ::CUserMessageCloseCaptionPlaceholder >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCloseCaptionPlaceholder >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCurrentTimescale* +Arena::CreateMaybeMessage< ::CUserMessageCurrentTimescale >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCurrentTimescale >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageDesiredTimescale* +Arena::CreateMaybeMessage< ::CUserMessageDesiredTimescale >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageDesiredTimescale >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageFade* +Arena::CreateMaybeMessage< ::CUserMessageFade >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageFade >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageShake* +Arena::CreateMaybeMessage< ::CUserMessageShake >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageShake >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageShakeDir* +Arena::CreateMaybeMessage< ::CUserMessageShakeDir >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageShakeDir >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageWaterShake* +Arena::CreateMaybeMessage< ::CUserMessageWaterShake >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageWaterShake >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageScreenTilt* +Arena::CreateMaybeMessage< ::CUserMessageScreenTilt >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageScreenTilt >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageSayText* +Arena::CreateMaybeMessage< ::CUserMessageSayText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageSayText >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageSayText2* +Arena::CreateMaybeMessage< ::CUserMessageSayText2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageSayText2 >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageHudMsg* +Arena::CreateMaybeMessage< ::CUserMessageHudMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageHudMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageHudText* +Arena::CreateMaybeMessage< ::CUserMessageHudText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageHudText >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageTextMsg* +Arena::CreateMaybeMessage< ::CUserMessageTextMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageTextMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageGameTitle* +Arena::CreateMaybeMessage< ::CUserMessageGameTitle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageGameTitle >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageResetHUD* +Arena::CreateMaybeMessage< ::CUserMessageResetHUD >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageResetHUD >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageSendAudio* +Arena::CreateMaybeMessage< ::CUserMessageSendAudio >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageSendAudio >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageAudioParameter* +Arena::CreateMaybeMessage< ::CUserMessageAudioParameter >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageAudioParameter >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageVoiceMask* +Arena::CreateMaybeMessage< ::CUserMessageVoiceMask >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageVoiceMask >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestState* +Arena::CreateMaybeMessage< ::CUserMessageRequestState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestState >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRumble* +Arena::CreateMaybeMessage< ::CUserMessageRumble >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRumble >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageSayTextChannel* +Arena::CreateMaybeMessage< ::CUserMessageSayTextChannel >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageSayTextChannel >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageColoredText* +Arena::CreateMaybeMessage< ::CUserMessageColoredText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageColoredText >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageItemPickup* +Arena::CreateMaybeMessage< ::CUserMessageItemPickup >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageItemPickup >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageAmmoDenied* +Arena::CreateMaybeMessage< ::CUserMessageAmmoDenied >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageAmmoDenied >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageShowMenu* +Arena::CreateMaybeMessage< ::CUserMessageShowMenu >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageShowMenu >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCreditsMsg* +Arena::CreateMaybeMessage< ::CUserMessageCreditsMsg >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCreditsMsg >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessagePlayJingle* +Arena::CreateMaybeMessage< ::CEntityMessagePlayJingle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessagePlayJingle >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessageScreenOverlay* +Arena::CreateMaybeMessage< ::CEntityMessageScreenOverlay >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessageScreenOverlay >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessageRemoveAllDecals* +Arena::CreateMaybeMessage< ::CEntityMessageRemoveAllDecals >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessageRemoveAllDecals >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessagePropagateForce* +Arena::CreateMaybeMessage< ::CEntityMessagePropagateForce >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessagePropagateForce >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessageDoSpark* +Arena::CreateMaybeMessage< ::CEntityMessageDoSpark >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessageDoSpark >(arena); +} +template<> PROTOBUF_NOINLINE ::CEntityMessageFixAngle* +Arena::CreateMaybeMessage< ::CEntityMessageFixAngle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CEntityMessageFixAngle >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCameraTransition_Transition_DataDriven* +Arena::CreateMaybeMessage< ::CUserMessageCameraTransition_Transition_DataDriven >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCameraTransition_Transition_DataDriven >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageCameraTransition* +Arena::CreateMaybeMessage< ::CUserMessageCameraTransition >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageCameraTransition >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ReleaseParticleIndex* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ReleaseParticleIndex >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ReleaseParticleIndex >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_CreateParticle* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_CreateParticle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_CreateParticle >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticle* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticle >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticle >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticleInvolving* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticleInvolving >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticleInvolving >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticleNamed* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticleNamed >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticleNamed >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleTransform* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleTransform >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleTransform >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleFallback* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleFallback >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleFallback >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleOffset* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleOffset >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleOffset >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleEnt* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleEnt >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleEnt >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleSetFrozen >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleSetFrozen >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleShouldDraw >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleShouldDraw >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ChangeControlPointAttachment* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ChangeControlPointAttachment >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ChangeControlPointAttachment >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateEntityPosition* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateEntityPosition >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateEntityPosition >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleFoWProperties* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleFoWProperties >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleFoWProperties >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetControlPointModel* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetControlPointModel >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetControlPointModel >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetControlPointSnapshot* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetControlPointSnapshot >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetControlPointSnapshot >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleText* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleText >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleText >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetTextureAttribute* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetTextureAttribute >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetTextureAttribute >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleSkipToTime* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleSkipToTime >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleSkipToTime >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleCanFreeze* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleCanFreeze >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleCanFreeze >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_FreezeParticleInvolving* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_FreezeParticleInvolving >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_FreezeParticleInvolving >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_AddModellistOverrideElement* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_AddModellistOverrideElement >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_AddModellistOverrideElement >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ClearModellistOverride* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ClearModellistOverride >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ClearModellistOverride >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_CreatePhysicsSim* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_CreatePhysicsSim >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_CreatePhysicsSim >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyPhysicsSim* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyPhysicsSim >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyPhysicsSim >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetVData* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetVData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetVData >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetMaterialOverride* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetMaterialOverride >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetMaterialOverride >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_AddFan* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_AddFan >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_AddFan >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateFan* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateFan >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateFan >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_RemoveFan* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_RemoveFan >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_RemoveFan >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleClusterGrowth* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleClusterGrowth >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleClusterGrowth >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager* +Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_HudError* +Arena::CreateMaybeMessage< ::CUserMsg_HudError >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_HudError >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMsg_CustomGameEvent* +Arena::CreateMaybeMessage< ::CUserMsg_CustomGameEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMsg_CustomGameEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageHapticsManagerPulse* +Arena::CreateMaybeMessage< ::CUserMessageHapticsManagerPulse >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageHapticsManagerPulse >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageHapticsManagerEffect* +Arena::CreateMaybeMessage< ::CUserMessageHapticsManagerEffect >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageHapticsManagerEffect >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageAnimStateGraphState* +Arena::CreateMaybeMessage< ::CUserMessageAnimStateGraphState >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageAnimStateGraphState >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageUpdateCssClasses* +Arena::CreateMaybeMessage< ::CUserMessageUpdateCssClasses >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageUpdateCssClasses >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageServerFrameTime* +Arena::CreateMaybeMessage< ::CUserMessageServerFrameTime >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageServerFrameTime >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageLagCompensationError* +Arena::CreateMaybeMessage< ::CUserMessageLagCompensationError >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageLagCompensationError >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestDllStatus* +Arena::CreateMaybeMessage< ::CUserMessageRequestDllStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestDllStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestUtilAction* +Arena::CreateMaybeMessage< ::CUserMessageRequestUtilAction >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestUtilAction >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_UtilMsg_Response_ItemDetail* +Arena::CreateMaybeMessage< ::CUserMessage_UtilMsg_Response_ItemDetail >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_UtilMsg_Response_ItemDetail >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_UtilMsg_Response* +Arena::CreateMaybeMessage< ::CUserMessage_UtilMsg_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_UtilMsg_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus_CVDiagnostic* +Arena::CreateMaybeMessage< ::CUserMessage_DllStatus_CVDiagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_DllStatus_CVDiagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus_CModule* +Arena::CreateMaybeMessage< ::CUserMessage_DllStatus_CModule >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_DllStatus_CModule >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus* +Arena::CreateMaybeMessage< ::CUserMessage_DllStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_DllStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestInventory* +Arena::CreateMaybeMessage< ::CUserMessageRequestInventory >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestInventory >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_Inventory_Response_InventoryDetail* +Arena::CreateMaybeMessage< ::CUserMessage_Inventory_Response_InventoryDetail >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_Inventory_Response_InventoryDetail >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_Inventory_Response* +Arena::CreateMaybeMessage< ::CUserMessage_Inventory_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_Inventory_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestDiagnostic_Diagnostic* +Arena::CreateMaybeMessage< ::CUserMessageRequestDiagnostic_Diagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestDiagnostic_Diagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessageRequestDiagnostic* +Arena::CreateMaybeMessage< ::CUserMessageRequestDiagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessageRequestDiagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_Diagnostic_Response_Diagnostic* +Arena::CreateMaybeMessage< ::CUserMessage_Diagnostic_Response_Diagnostic >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_Diagnostic_Response_Diagnostic >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_Diagnostic_Response* +Arena::CreateMaybeMessage< ::CUserMessage_Diagnostic_Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_Diagnostic_Response >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_ExtraUserData* +Arena::CreateMaybeMessage< ::CUserMessage_ExtraUserData >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_ExtraUserData >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_NotifyResponseFound_Criteria* +Arena::CreateMaybeMessage< ::CUserMessage_NotifyResponseFound_Criteria >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_NotifyResponseFound_Criteria >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_NotifyResponseFound* +Arena::CreateMaybeMessage< ::CUserMessage_NotifyResponseFound >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_NotifyResponseFound >(arena); +} +template<> PROTOBUF_NOINLINE ::CUserMessage_PlayResponseConditional* +Arena::CreateMaybeMessage< ::CUserMessage_PlayResponseConditional >(Arena* arena) { + return Arena::CreateMessageInternal< ::CUserMessage_PlayResponseConditional >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h new file mode 100644 index 0000000..2ebd20f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/usermessages.pb.h @@ -0,0 +1,43268 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: usermessages.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_usermessages_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_usermessages_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 3021008 < 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 "networkbasetypes.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_usermessages_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_usermessages_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_usermessages_2eproto; +class CEntityMessageDoSpark; +struct CEntityMessageDoSparkDefaultTypeInternal; +extern CEntityMessageDoSparkDefaultTypeInternal _CEntityMessageDoSpark_default_instance_; +class CEntityMessageFixAngle; +struct CEntityMessageFixAngleDefaultTypeInternal; +extern CEntityMessageFixAngleDefaultTypeInternal _CEntityMessageFixAngle_default_instance_; +class CEntityMessagePlayJingle; +struct CEntityMessagePlayJingleDefaultTypeInternal; +extern CEntityMessagePlayJingleDefaultTypeInternal _CEntityMessagePlayJingle_default_instance_; +class CEntityMessagePropagateForce; +struct CEntityMessagePropagateForceDefaultTypeInternal; +extern CEntityMessagePropagateForceDefaultTypeInternal _CEntityMessagePropagateForce_default_instance_; +class CEntityMessageRemoveAllDecals; +struct CEntityMessageRemoveAllDecalsDefaultTypeInternal; +extern CEntityMessageRemoveAllDecalsDefaultTypeInternal _CEntityMessageRemoveAllDecals_default_instance_; +class CEntityMessageScreenOverlay; +struct CEntityMessageScreenOverlayDefaultTypeInternal; +extern CEntityMessageScreenOverlayDefaultTypeInternal _CEntityMessageScreenOverlay_default_instance_; +class CUserMessageAchievementEvent; +struct CUserMessageAchievementEventDefaultTypeInternal; +extern CUserMessageAchievementEventDefaultTypeInternal _CUserMessageAchievementEvent_default_instance_; +class CUserMessageAmmoDenied; +struct CUserMessageAmmoDeniedDefaultTypeInternal; +extern CUserMessageAmmoDeniedDefaultTypeInternal _CUserMessageAmmoDenied_default_instance_; +class CUserMessageAnimStateGraphState; +struct CUserMessageAnimStateGraphStateDefaultTypeInternal; +extern CUserMessageAnimStateGraphStateDefaultTypeInternal _CUserMessageAnimStateGraphState_default_instance_; +class CUserMessageAudioParameter; +struct CUserMessageAudioParameterDefaultTypeInternal; +extern CUserMessageAudioParameterDefaultTypeInternal _CUserMessageAudioParameter_default_instance_; +class CUserMessageCameraTransition; +struct CUserMessageCameraTransitionDefaultTypeInternal; +extern CUserMessageCameraTransitionDefaultTypeInternal _CUserMessageCameraTransition_default_instance_; +class CUserMessageCameraTransition_Transition_DataDriven; +struct CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal; +extern CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal _CUserMessageCameraTransition_Transition_DataDriven_default_instance_; +class CUserMessageCloseCaption; +struct CUserMessageCloseCaptionDefaultTypeInternal; +extern CUserMessageCloseCaptionDefaultTypeInternal _CUserMessageCloseCaption_default_instance_; +class CUserMessageCloseCaptionDirect; +struct CUserMessageCloseCaptionDirectDefaultTypeInternal; +extern CUserMessageCloseCaptionDirectDefaultTypeInternal _CUserMessageCloseCaptionDirect_default_instance_; +class CUserMessageCloseCaptionPlaceholder; +struct CUserMessageCloseCaptionPlaceholderDefaultTypeInternal; +extern CUserMessageCloseCaptionPlaceholderDefaultTypeInternal _CUserMessageCloseCaptionPlaceholder_default_instance_; +class CUserMessageColoredText; +struct CUserMessageColoredTextDefaultTypeInternal; +extern CUserMessageColoredTextDefaultTypeInternal _CUserMessageColoredText_default_instance_; +class CUserMessageCreditsMsg; +struct CUserMessageCreditsMsgDefaultTypeInternal; +extern CUserMessageCreditsMsgDefaultTypeInternal _CUserMessageCreditsMsg_default_instance_; +class CUserMessageCurrentTimescale; +struct CUserMessageCurrentTimescaleDefaultTypeInternal; +extern CUserMessageCurrentTimescaleDefaultTypeInternal _CUserMessageCurrentTimescale_default_instance_; +class CUserMessageDesiredTimescale; +struct CUserMessageDesiredTimescaleDefaultTypeInternal; +extern CUserMessageDesiredTimescaleDefaultTypeInternal _CUserMessageDesiredTimescale_default_instance_; +class CUserMessageFade; +struct CUserMessageFadeDefaultTypeInternal; +extern CUserMessageFadeDefaultTypeInternal _CUserMessageFade_default_instance_; +class CUserMessageGameTitle; +struct CUserMessageGameTitleDefaultTypeInternal; +extern CUserMessageGameTitleDefaultTypeInternal _CUserMessageGameTitle_default_instance_; +class CUserMessageHapticsManagerEffect; +struct CUserMessageHapticsManagerEffectDefaultTypeInternal; +extern CUserMessageHapticsManagerEffectDefaultTypeInternal _CUserMessageHapticsManagerEffect_default_instance_; +class CUserMessageHapticsManagerPulse; +struct CUserMessageHapticsManagerPulseDefaultTypeInternal; +extern CUserMessageHapticsManagerPulseDefaultTypeInternal _CUserMessageHapticsManagerPulse_default_instance_; +class CUserMessageHudMsg; +struct CUserMessageHudMsgDefaultTypeInternal; +extern CUserMessageHudMsgDefaultTypeInternal _CUserMessageHudMsg_default_instance_; +class CUserMessageHudText; +struct CUserMessageHudTextDefaultTypeInternal; +extern CUserMessageHudTextDefaultTypeInternal _CUserMessageHudText_default_instance_; +class CUserMessageItemPickup; +struct CUserMessageItemPickupDefaultTypeInternal; +extern CUserMessageItemPickupDefaultTypeInternal _CUserMessageItemPickup_default_instance_; +class CUserMessageLagCompensationError; +struct CUserMessageLagCompensationErrorDefaultTypeInternal; +extern CUserMessageLagCompensationErrorDefaultTypeInternal _CUserMessageLagCompensationError_default_instance_; +class CUserMessageRequestDiagnostic; +struct CUserMessageRequestDiagnosticDefaultTypeInternal; +extern CUserMessageRequestDiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_default_instance_; +class CUserMessageRequestDiagnostic_Diagnostic; +struct CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal; +extern CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_Diagnostic_default_instance_; +class CUserMessageRequestDllStatus; +struct CUserMessageRequestDllStatusDefaultTypeInternal; +extern CUserMessageRequestDllStatusDefaultTypeInternal _CUserMessageRequestDllStatus_default_instance_; +class CUserMessageRequestInventory; +struct CUserMessageRequestInventoryDefaultTypeInternal; +extern CUserMessageRequestInventoryDefaultTypeInternal _CUserMessageRequestInventory_default_instance_; +class CUserMessageRequestState; +struct CUserMessageRequestStateDefaultTypeInternal; +extern CUserMessageRequestStateDefaultTypeInternal _CUserMessageRequestState_default_instance_; +class CUserMessageRequestUtilAction; +struct CUserMessageRequestUtilActionDefaultTypeInternal; +extern CUserMessageRequestUtilActionDefaultTypeInternal _CUserMessageRequestUtilAction_default_instance_; +class CUserMessageResetHUD; +struct CUserMessageResetHUDDefaultTypeInternal; +extern CUserMessageResetHUDDefaultTypeInternal _CUserMessageResetHUD_default_instance_; +class CUserMessageRumble; +struct CUserMessageRumbleDefaultTypeInternal; +extern CUserMessageRumbleDefaultTypeInternal _CUserMessageRumble_default_instance_; +class CUserMessageSayText; +struct CUserMessageSayTextDefaultTypeInternal; +extern CUserMessageSayTextDefaultTypeInternal _CUserMessageSayText_default_instance_; +class CUserMessageSayText2; +struct CUserMessageSayText2DefaultTypeInternal; +extern CUserMessageSayText2DefaultTypeInternal _CUserMessageSayText2_default_instance_; +class CUserMessageSayTextChannel; +struct CUserMessageSayTextChannelDefaultTypeInternal; +extern CUserMessageSayTextChannelDefaultTypeInternal _CUserMessageSayTextChannel_default_instance_; +class CUserMessageScreenTilt; +struct CUserMessageScreenTiltDefaultTypeInternal; +extern CUserMessageScreenTiltDefaultTypeInternal _CUserMessageScreenTilt_default_instance_; +class CUserMessageSendAudio; +struct CUserMessageSendAudioDefaultTypeInternal; +extern CUserMessageSendAudioDefaultTypeInternal _CUserMessageSendAudio_default_instance_; +class CUserMessageServerFrameTime; +struct CUserMessageServerFrameTimeDefaultTypeInternal; +extern CUserMessageServerFrameTimeDefaultTypeInternal _CUserMessageServerFrameTime_default_instance_; +class CUserMessageShake; +struct CUserMessageShakeDefaultTypeInternal; +extern CUserMessageShakeDefaultTypeInternal _CUserMessageShake_default_instance_; +class CUserMessageShakeDir; +struct CUserMessageShakeDirDefaultTypeInternal; +extern CUserMessageShakeDirDefaultTypeInternal _CUserMessageShakeDir_default_instance_; +class CUserMessageShowMenu; +struct CUserMessageShowMenuDefaultTypeInternal; +extern CUserMessageShowMenuDefaultTypeInternal _CUserMessageShowMenu_default_instance_; +class CUserMessageTextMsg; +struct CUserMessageTextMsgDefaultTypeInternal; +extern CUserMessageTextMsgDefaultTypeInternal _CUserMessageTextMsg_default_instance_; +class CUserMessageUpdateCssClasses; +struct CUserMessageUpdateCssClassesDefaultTypeInternal; +extern CUserMessageUpdateCssClassesDefaultTypeInternal _CUserMessageUpdateCssClasses_default_instance_; +class CUserMessageVoiceMask; +struct CUserMessageVoiceMaskDefaultTypeInternal; +extern CUserMessageVoiceMaskDefaultTypeInternal _CUserMessageVoiceMask_default_instance_; +class CUserMessageWaterShake; +struct CUserMessageWaterShakeDefaultTypeInternal; +extern CUserMessageWaterShakeDefaultTypeInternal _CUserMessageWaterShake_default_instance_; +class CUserMessage_Diagnostic_Response; +struct CUserMessage_Diagnostic_ResponseDefaultTypeInternal; +extern CUserMessage_Diagnostic_ResponseDefaultTypeInternal _CUserMessage_Diagnostic_Response_default_instance_; +class CUserMessage_Diagnostic_Response_Diagnostic; +struct CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal; +extern CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal _CUserMessage_Diagnostic_Response_Diagnostic_default_instance_; +class CUserMessage_DllStatus; +struct CUserMessage_DllStatusDefaultTypeInternal; +extern CUserMessage_DllStatusDefaultTypeInternal _CUserMessage_DllStatus_default_instance_; +class CUserMessage_DllStatus_CModule; +struct CUserMessage_DllStatus_CModuleDefaultTypeInternal; +extern CUserMessage_DllStatus_CModuleDefaultTypeInternal _CUserMessage_DllStatus_CModule_default_instance_; +class CUserMessage_DllStatus_CVDiagnostic; +struct CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal; +extern CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal _CUserMessage_DllStatus_CVDiagnostic_default_instance_; +class CUserMessage_ExtraUserData; +struct CUserMessage_ExtraUserDataDefaultTypeInternal; +extern CUserMessage_ExtraUserDataDefaultTypeInternal _CUserMessage_ExtraUserData_default_instance_; +class CUserMessage_Inventory_Response; +struct CUserMessage_Inventory_ResponseDefaultTypeInternal; +extern CUserMessage_Inventory_ResponseDefaultTypeInternal _CUserMessage_Inventory_Response_default_instance_; +class CUserMessage_Inventory_Response_InventoryDetail; +struct CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal; +extern CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal _CUserMessage_Inventory_Response_InventoryDetail_default_instance_; +class CUserMessage_NotifyResponseFound; +struct CUserMessage_NotifyResponseFoundDefaultTypeInternal; +extern CUserMessage_NotifyResponseFoundDefaultTypeInternal _CUserMessage_NotifyResponseFound_default_instance_; +class CUserMessage_NotifyResponseFound_Criteria; +struct CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal; +extern CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal _CUserMessage_NotifyResponseFound_Criteria_default_instance_; +class CUserMessage_PlayResponseConditional; +struct CUserMessage_PlayResponseConditionalDefaultTypeInternal; +extern CUserMessage_PlayResponseConditionalDefaultTypeInternal _CUserMessage_PlayResponseConditional_default_instance_; +class CUserMessage_UtilMsg_Response; +struct CUserMessage_UtilMsg_ResponseDefaultTypeInternal; +extern CUserMessage_UtilMsg_ResponseDefaultTypeInternal _CUserMessage_UtilMsg_Response_default_instance_; +class CUserMessage_UtilMsg_Response_ItemDetail; +struct CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal; +extern CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal _CUserMessage_UtilMsg_Response_ItemDetail_default_instance_; +class CUserMsg_CustomGameEvent; +struct CUserMsg_CustomGameEventDefaultTypeInternal; +extern CUserMsg_CustomGameEventDefaultTypeInternal _CUserMsg_CustomGameEvent_default_instance_; +class CUserMsg_HudError; +struct CUserMsg_HudErrorDefaultTypeInternal; +extern CUserMsg_HudErrorDefaultTypeInternal _CUserMsg_HudError_default_instance_; +class CUserMsg_ParticleManager; +struct CUserMsg_ParticleManagerDefaultTypeInternal; +extern CUserMsg_ParticleManagerDefaultTypeInternal _CUserMsg_ParticleManager_default_instance_; +class CUserMsg_ParticleManager_AddFan; +struct CUserMsg_ParticleManager_AddFanDefaultTypeInternal; +extern CUserMsg_ParticleManager_AddFanDefaultTypeInternal _CUserMsg_ParticleManager_AddFan_default_instance_; +class CUserMsg_ParticleManager_AddModellistOverrideElement; +struct CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal; +extern CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal _CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_; +class CUserMsg_ParticleManager_ChangeControlPointAttachment; +struct CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal; +extern CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal _CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_; +class CUserMsg_ParticleManager_ClearModellistOverride; +struct CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal; +extern CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ClearModellistOverride_default_instance_; +class CUserMsg_ParticleManager_CreateParticle; +struct CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal; +extern CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal _CUserMsg_ParticleManager_CreateParticle_default_instance_; +class CUserMsg_ParticleManager_CreatePhysicsSim; +struct CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal; +extern CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_; +class CUserMsg_ParticleManager_DestroyParticle; +struct CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal; +extern CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticle_default_instance_; +class CUserMsg_ParticleManager_DestroyParticleInvolving; +struct CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal; +extern CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_; +class CUserMsg_ParticleManager_DestroyParticleNamed; +struct CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal; +extern CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_; +class CUserMsg_ParticleManager_DestroyPhysicsSim; +struct CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal; +extern CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_; +class CUserMsg_ParticleManager_FreezeParticleInvolving; +struct CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal; +extern CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_; +class CUserMsg_ParticleManager_ParticleCanFreeze; +struct CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal; +extern CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_; +class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride; +struct CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal; +extern CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_; +class CUserMsg_ParticleManager_ParticleSkipToTime; +struct CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal; +extern CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_; +class CUserMsg_ParticleManager_ReleaseParticleIndex; +struct CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal; +extern CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal _CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_; +class CUserMsg_ParticleManager_RemoveFan; +struct CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal; +extern CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal _CUserMsg_ParticleManager_RemoveFan_default_instance_; +class CUserMsg_ParticleManager_SetControlPointModel; +struct CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointModel_default_instance_; +class CUserMsg_ParticleManager_SetControlPointSnapshot; +struct CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_; +class CUserMsg_ParticleManager_SetMaterialOverride; +struct CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal _CUserMsg_ParticleManager_SetMaterialOverride_default_instance_; +class CUserMsg_ParticleManager_SetParticleClusterGrowth; +struct CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_; +class CUserMsg_ParticleManager_SetParticleFoWProperties; +struct CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_; +class CUserMsg_ParticleManager_SetParticleNamedValueContext; +struct CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_; +class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext; +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_; +class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue; +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_; +class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue; +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_; +class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue; +struct CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_; +class CUserMsg_ParticleManager_SetParticleShouldCheckFoW; +struct CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_; +class CUserMsg_ParticleManager_SetParticleText; +struct CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleText_default_instance_; +class CUserMsg_ParticleManager_SetSceneObjectGenericFlag; +struct CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_; +class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat; +struct CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_; +class CUserMsg_ParticleManager_SetTextureAttribute; +struct CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal _CUserMsg_ParticleManager_SetTextureAttribute_default_instance_; +class CUserMsg_ParticleManager_SetVData; +struct CUserMsg_ParticleManager_SetVDataDefaultTypeInternal; +extern CUserMsg_ParticleManager_SetVDataDefaultTypeInternal _CUserMsg_ParticleManager_SetVData_default_instance_; +class CUserMsg_ParticleManager_UpdateEntityPosition; +struct CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal _CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_; +class CUserMsg_ParticleManager_UpdateFan; +struct CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal _CUserMsg_ParticleManager_UpdateFan_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleEnt; +struct CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleFallback; +struct CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE; +struct CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleOffset; +struct CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE; +struct CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleSetFrozen; +struct CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleShouldDraw; +struct CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_; +class CUserMsg_ParticleManager_UpdateParticleTransform; +struct CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_; +class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE; +struct CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal; +extern CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_; +PROTOBUF_NAMESPACE_OPEN +template<> ::CEntityMessageDoSpark* Arena::CreateMaybeMessage<::CEntityMessageDoSpark>(Arena*); +template<> ::CEntityMessageFixAngle* Arena::CreateMaybeMessage<::CEntityMessageFixAngle>(Arena*); +template<> ::CEntityMessagePlayJingle* Arena::CreateMaybeMessage<::CEntityMessagePlayJingle>(Arena*); +template<> ::CEntityMessagePropagateForce* Arena::CreateMaybeMessage<::CEntityMessagePropagateForce>(Arena*); +template<> ::CEntityMessageRemoveAllDecals* Arena::CreateMaybeMessage<::CEntityMessageRemoveAllDecals>(Arena*); +template<> ::CEntityMessageScreenOverlay* Arena::CreateMaybeMessage<::CEntityMessageScreenOverlay>(Arena*); +template<> ::CUserMessageAchievementEvent* Arena::CreateMaybeMessage<::CUserMessageAchievementEvent>(Arena*); +template<> ::CUserMessageAmmoDenied* Arena::CreateMaybeMessage<::CUserMessageAmmoDenied>(Arena*); +template<> ::CUserMessageAnimStateGraphState* Arena::CreateMaybeMessage<::CUserMessageAnimStateGraphState>(Arena*); +template<> ::CUserMessageAudioParameter* Arena::CreateMaybeMessage<::CUserMessageAudioParameter>(Arena*); +template<> ::CUserMessageCameraTransition* Arena::CreateMaybeMessage<::CUserMessageCameraTransition>(Arena*); +template<> ::CUserMessageCameraTransition_Transition_DataDriven* Arena::CreateMaybeMessage<::CUserMessageCameraTransition_Transition_DataDriven>(Arena*); +template<> ::CUserMessageCloseCaption* Arena::CreateMaybeMessage<::CUserMessageCloseCaption>(Arena*); +template<> ::CUserMessageCloseCaptionDirect* Arena::CreateMaybeMessage<::CUserMessageCloseCaptionDirect>(Arena*); +template<> ::CUserMessageCloseCaptionPlaceholder* Arena::CreateMaybeMessage<::CUserMessageCloseCaptionPlaceholder>(Arena*); +template<> ::CUserMessageColoredText* Arena::CreateMaybeMessage<::CUserMessageColoredText>(Arena*); +template<> ::CUserMessageCreditsMsg* Arena::CreateMaybeMessage<::CUserMessageCreditsMsg>(Arena*); +template<> ::CUserMessageCurrentTimescale* Arena::CreateMaybeMessage<::CUserMessageCurrentTimescale>(Arena*); +template<> ::CUserMessageDesiredTimescale* Arena::CreateMaybeMessage<::CUserMessageDesiredTimescale>(Arena*); +template<> ::CUserMessageFade* Arena::CreateMaybeMessage<::CUserMessageFade>(Arena*); +template<> ::CUserMessageGameTitle* Arena::CreateMaybeMessage<::CUserMessageGameTitle>(Arena*); +template<> ::CUserMessageHapticsManagerEffect* Arena::CreateMaybeMessage<::CUserMessageHapticsManagerEffect>(Arena*); +template<> ::CUserMessageHapticsManagerPulse* Arena::CreateMaybeMessage<::CUserMessageHapticsManagerPulse>(Arena*); +template<> ::CUserMessageHudMsg* Arena::CreateMaybeMessage<::CUserMessageHudMsg>(Arena*); +template<> ::CUserMessageHudText* Arena::CreateMaybeMessage<::CUserMessageHudText>(Arena*); +template<> ::CUserMessageItemPickup* Arena::CreateMaybeMessage<::CUserMessageItemPickup>(Arena*); +template<> ::CUserMessageLagCompensationError* Arena::CreateMaybeMessage<::CUserMessageLagCompensationError>(Arena*); +template<> ::CUserMessageRequestDiagnostic* Arena::CreateMaybeMessage<::CUserMessageRequestDiagnostic>(Arena*); +template<> ::CUserMessageRequestDiagnostic_Diagnostic* Arena::CreateMaybeMessage<::CUserMessageRequestDiagnostic_Diagnostic>(Arena*); +template<> ::CUserMessageRequestDllStatus* Arena::CreateMaybeMessage<::CUserMessageRequestDllStatus>(Arena*); +template<> ::CUserMessageRequestInventory* Arena::CreateMaybeMessage<::CUserMessageRequestInventory>(Arena*); +template<> ::CUserMessageRequestState* Arena::CreateMaybeMessage<::CUserMessageRequestState>(Arena*); +template<> ::CUserMessageRequestUtilAction* Arena::CreateMaybeMessage<::CUserMessageRequestUtilAction>(Arena*); +template<> ::CUserMessageResetHUD* Arena::CreateMaybeMessage<::CUserMessageResetHUD>(Arena*); +template<> ::CUserMessageRumble* Arena::CreateMaybeMessage<::CUserMessageRumble>(Arena*); +template<> ::CUserMessageSayText* Arena::CreateMaybeMessage<::CUserMessageSayText>(Arena*); +template<> ::CUserMessageSayText2* Arena::CreateMaybeMessage<::CUserMessageSayText2>(Arena*); +template<> ::CUserMessageSayTextChannel* Arena::CreateMaybeMessage<::CUserMessageSayTextChannel>(Arena*); +template<> ::CUserMessageScreenTilt* Arena::CreateMaybeMessage<::CUserMessageScreenTilt>(Arena*); +template<> ::CUserMessageSendAudio* Arena::CreateMaybeMessage<::CUserMessageSendAudio>(Arena*); +template<> ::CUserMessageServerFrameTime* Arena::CreateMaybeMessage<::CUserMessageServerFrameTime>(Arena*); +template<> ::CUserMessageShake* Arena::CreateMaybeMessage<::CUserMessageShake>(Arena*); +template<> ::CUserMessageShakeDir* Arena::CreateMaybeMessage<::CUserMessageShakeDir>(Arena*); +template<> ::CUserMessageShowMenu* Arena::CreateMaybeMessage<::CUserMessageShowMenu>(Arena*); +template<> ::CUserMessageTextMsg* Arena::CreateMaybeMessage<::CUserMessageTextMsg>(Arena*); +template<> ::CUserMessageUpdateCssClasses* Arena::CreateMaybeMessage<::CUserMessageUpdateCssClasses>(Arena*); +template<> ::CUserMessageVoiceMask* Arena::CreateMaybeMessage<::CUserMessageVoiceMask>(Arena*); +template<> ::CUserMessageWaterShake* Arena::CreateMaybeMessage<::CUserMessageWaterShake>(Arena*); +template<> ::CUserMessage_Diagnostic_Response* Arena::CreateMaybeMessage<::CUserMessage_Diagnostic_Response>(Arena*); +template<> ::CUserMessage_Diagnostic_Response_Diagnostic* Arena::CreateMaybeMessage<::CUserMessage_Diagnostic_Response_Diagnostic>(Arena*); +template<> ::CUserMessage_DllStatus* Arena::CreateMaybeMessage<::CUserMessage_DllStatus>(Arena*); +template<> ::CUserMessage_DllStatus_CModule* Arena::CreateMaybeMessage<::CUserMessage_DllStatus_CModule>(Arena*); +template<> ::CUserMessage_DllStatus_CVDiagnostic* Arena::CreateMaybeMessage<::CUserMessage_DllStatus_CVDiagnostic>(Arena*); +template<> ::CUserMessage_ExtraUserData* Arena::CreateMaybeMessage<::CUserMessage_ExtraUserData>(Arena*); +template<> ::CUserMessage_Inventory_Response* Arena::CreateMaybeMessage<::CUserMessage_Inventory_Response>(Arena*); +template<> ::CUserMessage_Inventory_Response_InventoryDetail* Arena::CreateMaybeMessage<::CUserMessage_Inventory_Response_InventoryDetail>(Arena*); +template<> ::CUserMessage_NotifyResponseFound* Arena::CreateMaybeMessage<::CUserMessage_NotifyResponseFound>(Arena*); +template<> ::CUserMessage_NotifyResponseFound_Criteria* Arena::CreateMaybeMessage<::CUserMessage_NotifyResponseFound_Criteria>(Arena*); +template<> ::CUserMessage_PlayResponseConditional* Arena::CreateMaybeMessage<::CUserMessage_PlayResponseConditional>(Arena*); +template<> ::CUserMessage_UtilMsg_Response* Arena::CreateMaybeMessage<::CUserMessage_UtilMsg_Response>(Arena*); +template<> ::CUserMessage_UtilMsg_Response_ItemDetail* Arena::CreateMaybeMessage<::CUserMessage_UtilMsg_Response_ItemDetail>(Arena*); +template<> ::CUserMsg_CustomGameEvent* Arena::CreateMaybeMessage<::CUserMsg_CustomGameEvent>(Arena*); +template<> ::CUserMsg_HudError* Arena::CreateMaybeMessage<::CUserMsg_HudError>(Arena*); +template<> ::CUserMsg_ParticleManager* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager>(Arena*); +template<> ::CUserMsg_ParticleManager_AddFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_AddFan>(Arena*); +template<> ::CUserMsg_ParticleManager_AddModellistOverrideElement* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_AddModellistOverrideElement>(Arena*); +template<> ::CUserMsg_ParticleManager_ChangeControlPointAttachment* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ChangeControlPointAttachment>(Arena*); +template<> ::CUserMsg_ParticleManager_ClearModellistOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ClearModellistOverride>(Arena*); +template<> ::CUserMsg_ParticleManager_CreateParticle* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_CreateParticle>(Arena*); +template<> ::CUserMsg_ParticleManager_CreatePhysicsSim* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_CreatePhysicsSim>(Arena*); +template<> ::CUserMsg_ParticleManager_DestroyParticle* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticle>(Arena*); +template<> ::CUserMsg_ParticleManager_DestroyParticleInvolving* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleInvolving>(Arena*); +template<> ::CUserMsg_ParticleManager_DestroyParticleNamed* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleNamed>(Arena*); +template<> ::CUserMsg_ParticleManager_DestroyPhysicsSim* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyPhysicsSim>(Arena*); +template<> ::CUserMsg_ParticleManager_FreezeParticleInvolving* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_FreezeParticleInvolving>(Arena*); +template<> ::CUserMsg_ParticleManager_ParticleCanFreeze* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleCanFreeze>(Arena*); +template<> ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride>(Arena*); +template<> ::CUserMsg_ParticleManager_ParticleSkipToTime* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleSkipToTime>(Arena*); +template<> ::CUserMsg_ParticleManager_ReleaseParticleIndex* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ReleaseParticleIndex>(Arena*); +template<> ::CUserMsg_ParticleManager_RemoveFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_RemoveFan>(Arena*); +template<> ::CUserMsg_ParticleManager_SetControlPointModel* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointModel>(Arena*); +template<> ::CUserMsg_ParticleManager_SetControlPointSnapshot* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointSnapshot>(Arena*); +template<> ::CUserMsg_ParticleManager_SetMaterialOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetMaterialOverride>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleClusterGrowth* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleClusterGrowth>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleFoWProperties* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleFoWProperties>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleShouldCheckFoW>(Arena*); +template<> ::CUserMsg_ParticleManager_SetParticleText* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleText>(Arena*); +template<> ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectGenericFlag>(Arena*); +template<> ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat>(Arena*); +template<> ::CUserMsg_ParticleManager_SetTextureAttribute* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetTextureAttribute>(Arena*); +template<> ::CUserMsg_ParticleManager_SetVData* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetVData>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateEntityPosition* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateEntityPosition>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateFan>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleEnt* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleEnt>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleFallback* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFallback>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleOffset* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOffset>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleSetFrozen>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleShouldDraw>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticleTransform* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleTransform>(Arena*); +template<> ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +enum EBaseUserMessages : int { + UM_AchievementEvent = 101, + UM_CloseCaption = 102, + UM_CloseCaptionDirect = 103, + UM_CurrentTimescale = 104, + UM_DesiredTimescale = 105, + UM_Fade = 106, + UM_GameTitle = 107, + UM_HudMsg = 110, + UM_HudText = 111, + UM_ColoredText = 113, + UM_RequestState = 114, + UM_ResetHUD = 115, + UM_Rumble = 116, + UM_SayText = 117, + UM_SayText2 = 118, + UM_SayTextChannel = 119, + UM_Shake = 120, + UM_ShakeDir = 121, + UM_WaterShake = 122, + UM_TextMsg = 124, + UM_ScreenTilt = 125, + UM_VoiceMask = 128, + UM_SendAudio = 130, + UM_ItemPickup = 131, + UM_AmmoDenied = 132, + UM_ShowMenu = 134, + UM_CreditsMsg = 135, + UM_CloseCaptionPlaceholder = 142, + UM_CameraTransition = 143, + UM_AudioParameter = 144, + UM_ParticleManager = 145, + UM_HudError = 146, + UM_CustomGameEvent = 148, + UM_AnimGraphUpdate = 149, + UM_HapticsManagerPulse = 150, + UM_HapticsManagerEffect = 151, + UM_UpdateCssClasses = 153, + UM_ServerFrameTime = 154, + UM_LagCompensationError = 155, + UM_RequestDllStatus = 156, + UM_RequestUtilAction = 157, + UM_UtilActionResponse = 158, + UM_DllStatusResponse = 159, + UM_RequestInventory = 160, + UM_InventoryResponse = 161, + UM_RequestDiagnostic = 162, + UM_DiagnosticResponse = 163, + UM_ExtraUserData = 164, + UM_NotifyResponseFound = 165, + UM_PlayResponseConditional = 166, + UM_MAX_BASE = 200 +}; +bool EBaseUserMessages_IsValid(int value); +constexpr EBaseUserMessages EBaseUserMessages_MIN = UM_AchievementEvent; +constexpr EBaseUserMessages EBaseUserMessages_MAX = UM_MAX_BASE; +constexpr int EBaseUserMessages_ARRAYSIZE = EBaseUserMessages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseUserMessages_descriptor(); +template +inline const std::string& EBaseUserMessages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EBaseUserMessages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EBaseUserMessages_descriptor(), enum_t_value); +} +inline bool EBaseUserMessages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseUserMessages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EBaseUserMessages_descriptor(), name, value); +} +enum EBaseEntityMessages : int { + EM_PlayJingle = 136, + EM_ScreenOverlay = 137, + EM_RemoveAllDecals = 138, + EM_PropagateForce = 139, + EM_DoSpark = 140, + EM_FixAngle = 141 +}; +bool EBaseEntityMessages_IsValid(int value); +constexpr EBaseEntityMessages EBaseEntityMessages_MIN = EM_PlayJingle; +constexpr EBaseEntityMessages EBaseEntityMessages_MAX = EM_FixAngle; +constexpr int EBaseEntityMessages_ARRAYSIZE = EBaseEntityMessages_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseEntityMessages_descriptor(); +template +inline const std::string& EBaseEntityMessages_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EBaseEntityMessages_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EBaseEntityMessages_descriptor(), enum_t_value); +} +inline bool EBaseEntityMessages_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseEntityMessages* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EBaseEntityMessages_descriptor(), name, value); +} +enum eRollType : int { + ROLL_NONE = -1, + ROLL_STATS = 0, + ROLL_CREDITS = 1, + ROLL_LATE_JOIN_LOGO = 2, + ROLL_OUTTRO = 3 +}; +bool eRollType_IsValid(int value); +constexpr eRollType eRollType_MIN = ROLL_NONE; +constexpr eRollType eRollType_MAX = ROLL_OUTTRO; +constexpr int eRollType_ARRAYSIZE = eRollType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* eRollType_descriptor(); +template +inline const std::string& eRollType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function eRollType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + eRollType_descriptor(), enum_t_value); +} +inline bool eRollType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, eRollType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + eRollType_descriptor(), name, value); +} +enum PARTICLE_MESSAGE : int { + GAME_PARTICLE_MANAGER_EVENT_CREATE = 0, + GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6, + GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7, + GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8, + GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9, + GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10, + GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11, + GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12, + GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14, + GAME_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15, + GAME_PARTICLE_MANAGER_EVENT_SET_TEXT = 16, + GAME_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17, + GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18, + GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19, + GAME_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20, + GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21, + GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22, + GAME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED = 23, + GAME_PARTICLE_MANAGER_EVENT_SKIP_TO_TIME = 24, + GAME_PARTICLE_MANAGER_EVENT_CAN_FREEZE = 25, + GAME_PARTICLE_MANAGER_EVENT_SET_NAMED_VALUE_CONTEXT = 26, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27, + GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28, + GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29, + GAME_PARTICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRIDE_ELEMENT = 30, + GAME_PARTICLE_MANAGER_EVENT_CLEAR_MODELLIST_OVERRIDE = 31, + GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32, + GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33, + GAME_PARTICLE_MANAGER_EVENT_SET_VDATA = 34, + GAME_PARTICLE_MANAGER_EVENT_SET_MATERIAL_OVERRIDE = 35, + GAME_PARTICLE_MANAGER_EVENT_ADD_FAN = 36, + GAME_PARTICLE_MANAGER_EVENT_UPDATE_FAN = 37, + GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTER_GROWTH = 38, + GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN = 39 +}; +bool PARTICLE_MESSAGE_IsValid(int value); +constexpr PARTICLE_MESSAGE PARTICLE_MESSAGE_MIN = GAME_PARTICLE_MANAGER_EVENT_CREATE; +constexpr PARTICLE_MESSAGE PARTICLE_MESSAGE_MAX = GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN; +constexpr int PARTICLE_MESSAGE_ARRAYSIZE = PARTICLE_MESSAGE_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PARTICLE_MESSAGE_descriptor(); +template +inline const std::string& PARTICLE_MESSAGE_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function PARTICLE_MESSAGE_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + PARTICLE_MESSAGE_descriptor(), enum_t_value); +} +inline bool PARTICLE_MESSAGE_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PARTICLE_MESSAGE* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + PARTICLE_MESSAGE_descriptor(), name, value); +} +enum EHapticPulseType : int { + VR_HAND_HAPTIC_PULSE_LIGHT = 0, + VR_HAND_HAPTIC_PULSE_MEDIUM = 1, + VR_HAND_HAPTIC_PULSE_STRONG = 2 +}; +bool EHapticPulseType_IsValid(int value); +constexpr EHapticPulseType EHapticPulseType_MIN = VR_HAND_HAPTIC_PULSE_LIGHT; +constexpr EHapticPulseType EHapticPulseType_MAX = VR_HAND_HAPTIC_PULSE_STRONG; +constexpr int EHapticPulseType_ARRAYSIZE = EHapticPulseType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHapticPulseType_descriptor(); +template +inline const std::string& EHapticPulseType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EHapticPulseType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EHapticPulseType_descriptor(), enum_t_value); +} +inline bool EHapticPulseType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EHapticPulseType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EHapticPulseType_descriptor(), name, value); +} +// =================================================================== + +class CUserMessageAchievementEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAchievementEvent) */ { + public: + inline CUserMessageAchievementEvent() : CUserMessageAchievementEvent(nullptr) {} + ~CUserMessageAchievementEvent() override; + explicit PROTOBUF_CONSTEXPR CUserMessageAchievementEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageAchievementEvent(const CUserMessageAchievementEvent& from); + CUserMessageAchievementEvent(CUserMessageAchievementEvent&& from) noexcept + : CUserMessageAchievementEvent() { + *this = ::std::move(from); + } + + inline CUserMessageAchievementEvent& operator=(const CUserMessageAchievementEvent& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageAchievementEvent& operator=(CUserMessageAchievementEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageAchievementEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageAchievementEvent* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageAchievementEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CUserMessageAchievementEvent& a, CUserMessageAchievementEvent& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageAchievementEvent* 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(CUserMessageAchievementEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageAchievementEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageAchievementEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageAchievementEvent& from) { + CUserMessageAchievementEvent::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(CUserMessageAchievementEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageAchievementEvent"; + } + protected: + explicit CUserMessageAchievementEvent(::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 { + kAchievementFieldNumber = 1, + }; + // optional uint32 achievement = 1; + bool has_achievement() const; + private: + bool _internal_has_achievement() const; + public: + void clear_achievement(); + uint32_t achievement() const; + void set_achievement(uint32_t value); + private: + uint32_t _internal_achievement() const; + void _internal_set_achievement(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageAchievementEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t achievement_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCloseCaption final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaption) */ { + public: + inline CUserMessageCloseCaption() : CUserMessageCloseCaption(nullptr) {} + ~CUserMessageCloseCaption() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCloseCaption(const CUserMessageCloseCaption& from); + CUserMessageCloseCaption(CUserMessageCloseCaption&& from) noexcept + : CUserMessageCloseCaption() { + *this = ::std::move(from); + } + + inline CUserMessageCloseCaption& operator=(const CUserMessageCloseCaption& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCloseCaption& operator=(CUserMessageCloseCaption&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCloseCaption& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCloseCaption* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCloseCaption_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CUserMessageCloseCaption& a, CUserMessageCloseCaption& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCloseCaption* 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(CUserMessageCloseCaption* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCloseCaption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCloseCaption& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCloseCaption& from) { + CUserMessageCloseCaption::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(CUserMessageCloseCaption* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCloseCaption"; + } + protected: + explicit CUserMessageCloseCaption(::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 { + kHashFieldNumber = 1, + kDurationFieldNumber = 2, + kFromPlayerFieldNumber = 3, + kEntIndexFieldNumber = 4, + }; + // optional fixed32 hash = 1; + bool has_hash() const; + private: + bool _internal_has_hash() const; + public: + void clear_hash(); + uint32_t hash() const; + void set_hash(uint32_t value); + private: + uint32_t _internal_hash() const; + void _internal_set_hash(uint32_t value); + public: + + // optional float duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional bool from_player = 3; + bool has_from_player() const; + private: + bool _internal_has_from_player() const; + public: + void clear_from_player(); + bool from_player() const; + void set_from_player(bool value); + private: + bool _internal_from_player() const; + void _internal_set_from_player(bool value); + public: + + // optional int32 ent_index = 4 [default = -1]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + int32_t ent_index() const; + void set_ent_index(int32_t value); + private: + int32_t _internal_ent_index() const; + void _internal_set_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCloseCaption) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t hash_; + float duration_; + bool from_player_; + int32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCloseCaptionDirect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaptionDirect) */ { + public: + inline CUserMessageCloseCaptionDirect() : CUserMessageCloseCaptionDirect(nullptr) {} + ~CUserMessageCloseCaptionDirect() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCloseCaptionDirect(const CUserMessageCloseCaptionDirect& from); + CUserMessageCloseCaptionDirect(CUserMessageCloseCaptionDirect&& from) noexcept + : CUserMessageCloseCaptionDirect() { + *this = ::std::move(from); + } + + inline CUserMessageCloseCaptionDirect& operator=(const CUserMessageCloseCaptionDirect& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCloseCaptionDirect& operator=(CUserMessageCloseCaptionDirect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCloseCaptionDirect& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCloseCaptionDirect* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCloseCaptionDirect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CUserMessageCloseCaptionDirect& a, CUserMessageCloseCaptionDirect& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCloseCaptionDirect* 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(CUserMessageCloseCaptionDirect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCloseCaptionDirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCloseCaptionDirect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCloseCaptionDirect& from) { + CUserMessageCloseCaptionDirect::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(CUserMessageCloseCaptionDirect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCloseCaptionDirect"; + } + protected: + explicit CUserMessageCloseCaptionDirect(::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 { + kHashFieldNumber = 1, + kDurationFieldNumber = 2, + kFromPlayerFieldNumber = 3, + kEntIndexFieldNumber = 4, + }; + // optional fixed32 hash = 1; + bool has_hash() const; + private: + bool _internal_has_hash() const; + public: + void clear_hash(); + uint32_t hash() const; + void set_hash(uint32_t value); + private: + uint32_t _internal_hash() const; + void _internal_set_hash(uint32_t value); + public: + + // optional float duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional bool from_player = 3; + bool has_from_player() const; + private: + bool _internal_has_from_player() const; + public: + void clear_from_player(); + bool from_player() const; + void set_from_player(bool value); + private: + bool _internal_from_player() const; + void _internal_set_from_player(bool value); + public: + + // optional int32 ent_index = 4 [default = -1]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + int32_t ent_index() const; + void set_ent_index(int32_t value); + private: + int32_t _internal_ent_index() const; + void _internal_set_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCloseCaptionDirect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t hash_; + float duration_; + bool from_player_; + int32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCloseCaptionPlaceholder final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaptionPlaceholder) */ { + public: + inline CUserMessageCloseCaptionPlaceholder() : CUserMessageCloseCaptionPlaceholder(nullptr) {} + ~CUserMessageCloseCaptionPlaceholder() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholder(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCloseCaptionPlaceholder(const CUserMessageCloseCaptionPlaceholder& from); + CUserMessageCloseCaptionPlaceholder(CUserMessageCloseCaptionPlaceholder&& from) noexcept + : CUserMessageCloseCaptionPlaceholder() { + *this = ::std::move(from); + } + + inline CUserMessageCloseCaptionPlaceholder& operator=(const CUserMessageCloseCaptionPlaceholder& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCloseCaptionPlaceholder& operator=(CUserMessageCloseCaptionPlaceholder&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCloseCaptionPlaceholder& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCloseCaptionPlaceholder* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCloseCaptionPlaceholder_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CUserMessageCloseCaptionPlaceholder& a, CUserMessageCloseCaptionPlaceholder& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCloseCaptionPlaceholder* 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(CUserMessageCloseCaptionPlaceholder* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCloseCaptionPlaceholder* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCloseCaptionPlaceholder& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCloseCaptionPlaceholder& from) { + CUserMessageCloseCaptionPlaceholder::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(CUserMessageCloseCaptionPlaceholder* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCloseCaptionPlaceholder"; + } + protected: + explicit CUserMessageCloseCaptionPlaceholder(::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 { + kStringFieldNumber = 1, + kDurationFieldNumber = 2, + kFromPlayerFieldNumber = 3, + kEntIndexFieldNumber = 4, + }; + // optional string string = 1; + bool has_string() const; + private: + bool _internal_has_string() const; + public: + void clear_string(); + const std::string& string() const; + template + void set_string(ArgT0&& arg0, ArgT... args); + std::string* mutable_string(); + PROTOBUF_NODISCARD std::string* release_string(); + void set_allocated_string(std::string* string); + private: + const std::string& _internal_string() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string(const std::string& value); + std::string* _internal_mutable_string(); + public: + + // optional float duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional bool from_player = 3; + bool has_from_player() const; + private: + bool _internal_has_from_player() const; + public: + void clear_from_player(); + bool from_player() const; + void set_from_player(bool value); + private: + bool _internal_from_player() const; + void _internal_set_from_player(bool value); + public: + + // optional int32 ent_index = 4 [default = -1]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + int32_t ent_index() const; + void set_ent_index(int32_t value); + private: + int32_t _internal_ent_index() const; + void _internal_set_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCloseCaptionPlaceholder) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_; + float duration_; + bool from_player_; + int32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCurrentTimescale final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCurrentTimescale) */ { + public: + inline CUserMessageCurrentTimescale() : CUserMessageCurrentTimescale(nullptr) {} + ~CUserMessageCurrentTimescale() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCurrentTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCurrentTimescale(const CUserMessageCurrentTimescale& from); + CUserMessageCurrentTimescale(CUserMessageCurrentTimescale&& from) noexcept + : CUserMessageCurrentTimescale() { + *this = ::std::move(from); + } + + inline CUserMessageCurrentTimescale& operator=(const CUserMessageCurrentTimescale& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCurrentTimescale& operator=(CUserMessageCurrentTimescale&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCurrentTimescale& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCurrentTimescale* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCurrentTimescale_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(CUserMessageCurrentTimescale& a, CUserMessageCurrentTimescale& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCurrentTimescale* 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(CUserMessageCurrentTimescale* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCurrentTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCurrentTimescale& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCurrentTimescale& from) { + CUserMessageCurrentTimescale::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(CUserMessageCurrentTimescale* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCurrentTimescale"; + } + protected: + explicit CUserMessageCurrentTimescale(::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 { + kCurrentFieldNumber = 1, + }; + // optional float current = 1; + bool has_current() const; + private: + bool _internal_has_current() const; + public: + void clear_current(); + float current() const; + void set_current(float value); + private: + float _internal_current() const; + void _internal_set_current(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCurrentTimescale) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float current_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageDesiredTimescale final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageDesiredTimescale) */ { + public: + inline CUserMessageDesiredTimescale() : CUserMessageDesiredTimescale(nullptr) {} + ~CUserMessageDesiredTimescale() override; + explicit PROTOBUF_CONSTEXPR CUserMessageDesiredTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageDesiredTimescale(const CUserMessageDesiredTimescale& from); + CUserMessageDesiredTimescale(CUserMessageDesiredTimescale&& from) noexcept + : CUserMessageDesiredTimescale() { + *this = ::std::move(from); + } + + inline CUserMessageDesiredTimescale& operator=(const CUserMessageDesiredTimescale& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageDesiredTimescale& operator=(CUserMessageDesiredTimescale&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageDesiredTimescale& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageDesiredTimescale* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageDesiredTimescale_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(CUserMessageDesiredTimescale& a, CUserMessageDesiredTimescale& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageDesiredTimescale* 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(CUserMessageDesiredTimescale* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageDesiredTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageDesiredTimescale& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageDesiredTimescale& from) { + CUserMessageDesiredTimescale::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(CUserMessageDesiredTimescale* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageDesiredTimescale"; + } + protected: + explicit CUserMessageDesiredTimescale(::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 { + kDesiredFieldNumber = 1, + kAccelerationFieldNumber = 2, + kMinblendrateFieldNumber = 3, + kBlenddeltamultiplierFieldNumber = 4, + }; + // optional float desired = 1; + bool has_desired() const; + private: + bool _internal_has_desired() const; + public: + void clear_desired(); + float desired() const; + void set_desired(float value); + private: + float _internal_desired() const; + void _internal_set_desired(float value); + public: + + // optional float acceleration = 2; + bool has_acceleration() const; + private: + bool _internal_has_acceleration() const; + public: + void clear_acceleration(); + float acceleration() const; + void set_acceleration(float value); + private: + float _internal_acceleration() const; + void _internal_set_acceleration(float value); + public: + + // optional float minblendrate = 3; + bool has_minblendrate() const; + private: + bool _internal_has_minblendrate() const; + public: + void clear_minblendrate(); + float minblendrate() const; + void set_minblendrate(float value); + private: + float _internal_minblendrate() const; + void _internal_set_minblendrate(float value); + public: + + // optional float blenddeltamultiplier = 4; + bool has_blenddeltamultiplier() const; + private: + bool _internal_has_blenddeltamultiplier() const; + public: + void clear_blenddeltamultiplier(); + float blenddeltamultiplier() const; + void set_blenddeltamultiplier(float value); + private: + float _internal_blenddeltamultiplier() const; + void _internal_set_blenddeltamultiplier(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageDesiredTimescale) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float desired_; + float acceleration_; + float minblendrate_; + float blenddeltamultiplier_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageFade final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageFade) */ { + public: + inline CUserMessageFade() : CUserMessageFade(nullptr) {} + ~CUserMessageFade() override; + explicit PROTOBUF_CONSTEXPR CUserMessageFade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageFade(const CUserMessageFade& from); + CUserMessageFade(CUserMessageFade&& from) noexcept + : CUserMessageFade() { + *this = ::std::move(from); + } + + inline CUserMessageFade& operator=(const CUserMessageFade& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageFade& operator=(CUserMessageFade&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageFade& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageFade* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageFade_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(CUserMessageFade& a, CUserMessageFade& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageFade* 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(CUserMessageFade* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageFade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageFade& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageFade& from) { + CUserMessageFade::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(CUserMessageFade* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageFade"; + } + protected: + explicit CUserMessageFade(::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 { + kDurationFieldNumber = 1, + kHoldTimeFieldNumber = 2, + kFlagsFieldNumber = 3, + kColorFieldNumber = 4, + }; + // optional uint32 duration = 1; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + uint32_t duration() const; + void set_duration(uint32_t value); + private: + uint32_t _internal_duration() const; + void _internal_set_duration(uint32_t value); + public: + + // optional uint32 hold_time = 2; + bool has_hold_time() const; + private: + bool _internal_has_hold_time() const; + public: + void clear_hold_time(); + uint32_t hold_time() const; + void set_hold_time(uint32_t value); + private: + uint32_t _internal_hold_time() const; + void _internal_set_hold_time(uint32_t value); + public: + + // optional uint32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + uint32_t flags() const; + void set_flags(uint32_t value); + private: + uint32_t _internal_flags() const; + void _internal_set_flags(uint32_t value); + public: + + // optional fixed32 color = 4; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageFade) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t duration_; + uint32_t hold_time_; + uint32_t flags_; + uint32_t color_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageShake final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShake) */ { + public: + inline CUserMessageShake() : CUserMessageShake(nullptr) {} + ~CUserMessageShake() override; + explicit PROTOBUF_CONSTEXPR CUserMessageShake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageShake(const CUserMessageShake& from); + CUserMessageShake(CUserMessageShake&& from) noexcept + : CUserMessageShake() { + *this = ::std::move(from); + } + + inline CUserMessageShake& operator=(const CUserMessageShake& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageShake& operator=(CUserMessageShake&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageShake& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageShake* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageShake_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(CUserMessageShake& a, CUserMessageShake& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageShake* 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(CUserMessageShake* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageShake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageShake& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageShake& from) { + CUserMessageShake::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(CUserMessageShake* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageShake"; + } + protected: + explicit CUserMessageShake(::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 { + kCommandFieldNumber = 1, + kAmplitudeFieldNumber = 2, + kFrequencyFieldNumber = 3, + kDurationFieldNumber = 4, + }; + // optional uint32 command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + uint32_t command() const; + void set_command(uint32_t value); + private: + uint32_t _internal_command() const; + void _internal_set_command(uint32_t value); + public: + + // optional float amplitude = 2; + bool has_amplitude() const; + private: + bool _internal_has_amplitude() const; + public: + void clear_amplitude(); + float amplitude() const; + void set_amplitude(float value); + private: + float _internal_amplitude() const; + void _internal_set_amplitude(float value); + public: + + // optional float frequency = 3; + bool has_frequency() const; + private: + bool _internal_has_frequency() const; + public: + void clear_frequency(); + float frequency() const; + void set_frequency(float value); + private: + float _internal_frequency() const; + void _internal_set_frequency(float value); + public: + + // optional float duration = 4; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageShake) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t command_; + float amplitude_; + float frequency_; + float duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageShakeDir final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShakeDir) */ { + public: + inline CUserMessageShakeDir() : CUserMessageShakeDir(nullptr) {} + ~CUserMessageShakeDir() override; + explicit PROTOBUF_CONSTEXPR CUserMessageShakeDir(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageShakeDir(const CUserMessageShakeDir& from); + CUserMessageShakeDir(CUserMessageShakeDir&& from) noexcept + : CUserMessageShakeDir() { + *this = ::std::move(from); + } + + inline CUserMessageShakeDir& operator=(const CUserMessageShakeDir& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageShakeDir& operator=(CUserMessageShakeDir&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageShakeDir& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageShakeDir* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageShakeDir_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CUserMessageShakeDir& a, CUserMessageShakeDir& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageShakeDir* 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(CUserMessageShakeDir* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageShakeDir* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageShakeDir& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageShakeDir& from) { + CUserMessageShakeDir::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(CUserMessageShakeDir* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageShakeDir"; + } + protected: + explicit CUserMessageShakeDir(::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 { + kShakeFieldNumber = 1, + kDirectionFieldNumber = 2, + }; + // optional .CUserMessageShake shake = 1; + bool has_shake() const; + private: + bool _internal_has_shake() const; + public: + void clear_shake(); + const ::CUserMessageShake& shake() const; + PROTOBUF_NODISCARD ::CUserMessageShake* release_shake(); + ::CUserMessageShake* mutable_shake(); + void set_allocated_shake(::CUserMessageShake* shake); + private: + const ::CUserMessageShake& _internal_shake() const; + ::CUserMessageShake* _internal_mutable_shake(); + public: + void unsafe_arena_set_allocated_shake( + ::CUserMessageShake* shake); + ::CUserMessageShake* unsafe_arena_release_shake(); + + // optional .CMsgVector direction = 2; + bool has_direction() const; + private: + bool _internal_has_direction() const; + public: + void clear_direction(); + const ::CMsgVector& direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_direction(); + ::CMsgVector* mutable_direction(); + void set_allocated_direction(::CMsgVector* direction); + private: + const ::CMsgVector& _internal_direction() const; + ::CMsgVector* _internal_mutable_direction(); + public: + void unsafe_arena_set_allocated_direction( + ::CMsgVector* direction); + ::CMsgVector* unsafe_arena_release_direction(); + + // @@protoc_insertion_point(class_scope:CUserMessageShakeDir) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CUserMessageShake* shake_; + ::CMsgVector* direction_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageWaterShake final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageWaterShake) */ { + public: + inline CUserMessageWaterShake() : CUserMessageWaterShake(nullptr) {} + ~CUserMessageWaterShake() override; + explicit PROTOBUF_CONSTEXPR CUserMessageWaterShake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageWaterShake(const CUserMessageWaterShake& from); + CUserMessageWaterShake(CUserMessageWaterShake&& from) noexcept + : CUserMessageWaterShake() { + *this = ::std::move(from); + } + + inline CUserMessageWaterShake& operator=(const CUserMessageWaterShake& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageWaterShake& operator=(CUserMessageWaterShake&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageWaterShake& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageWaterShake* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageWaterShake_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(CUserMessageWaterShake& a, CUserMessageWaterShake& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageWaterShake* 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(CUserMessageWaterShake* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageWaterShake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageWaterShake& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageWaterShake& from) { + CUserMessageWaterShake::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(CUserMessageWaterShake* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageWaterShake"; + } + protected: + explicit CUserMessageWaterShake(::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 { + kCommandFieldNumber = 1, + kAmplitudeFieldNumber = 2, + kFrequencyFieldNumber = 3, + kDurationFieldNumber = 4, + }; + // optional uint32 command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + uint32_t command() const; + void set_command(uint32_t value); + private: + uint32_t _internal_command() const; + void _internal_set_command(uint32_t value); + public: + + // optional float amplitude = 2; + bool has_amplitude() const; + private: + bool _internal_has_amplitude() const; + public: + void clear_amplitude(); + float amplitude() const; + void set_amplitude(float value); + private: + float _internal_amplitude() const; + void _internal_set_amplitude(float value); + public: + + // optional float frequency = 3; + bool has_frequency() const; + private: + bool _internal_has_frequency() const; + public: + void clear_frequency(); + float frequency() const; + void set_frequency(float value); + private: + float _internal_frequency() const; + void _internal_set_frequency(float value); + public: + + // optional float duration = 4; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageWaterShake) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t command_; + float amplitude_; + float frequency_; + float duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageScreenTilt final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageScreenTilt) */ { + public: + inline CUserMessageScreenTilt() : CUserMessageScreenTilt(nullptr) {} + ~CUserMessageScreenTilt() override; + explicit PROTOBUF_CONSTEXPR CUserMessageScreenTilt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageScreenTilt(const CUserMessageScreenTilt& from); + CUserMessageScreenTilt(CUserMessageScreenTilt&& from) noexcept + : CUserMessageScreenTilt() { + *this = ::std::move(from); + } + + inline CUserMessageScreenTilt& operator=(const CUserMessageScreenTilt& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageScreenTilt& operator=(CUserMessageScreenTilt&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageScreenTilt& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageScreenTilt* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageScreenTilt_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(CUserMessageScreenTilt& a, CUserMessageScreenTilt& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageScreenTilt* 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(CUserMessageScreenTilt* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageScreenTilt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageScreenTilt& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageScreenTilt& from) { + CUserMessageScreenTilt::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(CUserMessageScreenTilt* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageScreenTilt"; + } + protected: + explicit CUserMessageScreenTilt(::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 { + kAngleFieldNumber = 3, + kCommandFieldNumber = 1, + kEaseInOutFieldNumber = 2, + kDurationFieldNumber = 4, + kTimeFieldNumber = 5, + }; + // optional .CMsgVector angle = 3; + bool has_angle() const; + private: + bool _internal_has_angle() const; + public: + void clear_angle(); + const ::CMsgVector& angle() const; + PROTOBUF_NODISCARD ::CMsgVector* release_angle(); + ::CMsgVector* mutable_angle(); + void set_allocated_angle(::CMsgVector* angle); + private: + const ::CMsgVector& _internal_angle() const; + ::CMsgVector* _internal_mutable_angle(); + public: + void unsafe_arena_set_allocated_angle( + ::CMsgVector* angle); + ::CMsgVector* unsafe_arena_release_angle(); + + // optional uint32 command = 1; + bool has_command() const; + private: + bool _internal_has_command() const; + public: + void clear_command(); + uint32_t command() const; + void set_command(uint32_t value); + private: + uint32_t _internal_command() const; + void _internal_set_command(uint32_t value); + public: + + // optional bool ease_in_out = 2; + bool has_ease_in_out() const; + private: + bool _internal_has_ease_in_out() const; + public: + void clear_ease_in_out(); + bool ease_in_out() const; + void set_ease_in_out(bool value); + private: + bool _internal_ease_in_out() const; + void _internal_set_ease_in_out(bool value); + public: + + // optional float duration = 4; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional float time = 5; + bool has_time() const; + private: + bool _internal_has_time() const; + public: + void clear_time(); + float time() const; + void set_time(float value); + private: + float _internal_time() const; + void _internal_set_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageScreenTilt) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* angle_; + uint32_t command_; + bool ease_in_out_; + float duration_; + float time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageSayText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayText) */ { + public: + inline CUserMessageSayText() : CUserMessageSayText(nullptr) {} + ~CUserMessageSayText() override; + explicit PROTOBUF_CONSTEXPR CUserMessageSayText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageSayText(const CUserMessageSayText& from); + CUserMessageSayText(CUserMessageSayText&& from) noexcept + : CUserMessageSayText() { + *this = ::std::move(from); + } + + inline CUserMessageSayText& operator=(const CUserMessageSayText& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageSayText& operator=(CUserMessageSayText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageSayText& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageSayText* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageSayText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(CUserMessageSayText& a, CUserMessageSayText& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageSayText* 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(CUserMessageSayText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageSayText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageSayText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageSayText& from) { + CUserMessageSayText::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(CUserMessageSayText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageSayText"; + } + protected: + explicit CUserMessageSayText(::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 = 2, + kChatFieldNumber = 3, + kPlayerindexFieldNumber = 1, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional bool chat = 3; + bool has_chat() const; + private: + bool _internal_has_chat() const; + public: + void clear_chat(); + bool chat() const; + void set_chat(bool value); + private: + bool _internal_chat() const; + void _internal_set_chat(bool value); + public: + + // optional int32 playerindex = 1 [default = -1]; + bool has_playerindex() const; + private: + bool _internal_has_playerindex() const; + public: + void clear_playerindex(); + int32_t playerindex() const; + void set_playerindex(int32_t value); + private: + int32_t _internal_playerindex() const; + void _internal_set_playerindex(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageSayText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + bool chat_; + int32_t playerindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageSayText2 final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayText2) */ { + public: + inline CUserMessageSayText2() : CUserMessageSayText2(nullptr) {} + ~CUserMessageSayText2() override; + explicit PROTOBUF_CONSTEXPR CUserMessageSayText2(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageSayText2(const CUserMessageSayText2& from); + CUserMessageSayText2(CUserMessageSayText2&& from) noexcept + : CUserMessageSayText2() { + *this = ::std::move(from); + } + + inline CUserMessageSayText2& operator=(const CUserMessageSayText2& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageSayText2& operator=(CUserMessageSayText2&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageSayText2& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageSayText2* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageSayText2_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(CUserMessageSayText2& a, CUserMessageSayText2& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageSayText2* 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(CUserMessageSayText2* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageSayText2* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageSayText2& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageSayText2& from) { + CUserMessageSayText2::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(CUserMessageSayText2* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageSayText2"; + } + protected: + explicit CUserMessageSayText2(::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 { + kMessagenameFieldNumber = 3, + kParam1FieldNumber = 4, + kParam2FieldNumber = 5, + kParam3FieldNumber = 6, + kParam4FieldNumber = 7, + kChatFieldNumber = 2, + kEntityindexFieldNumber = 1, + }; + // optional string messagename = 3; + bool has_messagename() const; + private: + bool _internal_has_messagename() const; + public: + void clear_messagename(); + const std::string& messagename() const; + template + void set_messagename(ArgT0&& arg0, ArgT... args); + std::string* mutable_messagename(); + PROTOBUF_NODISCARD std::string* release_messagename(); + void set_allocated_messagename(std::string* messagename); + private: + const std::string& _internal_messagename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_messagename(const std::string& value); + std::string* _internal_mutable_messagename(); + public: + + // optional string param1 = 4; + bool has_param1() const; + private: + bool _internal_has_param1() const; + public: + void clear_param1(); + const std::string& param1() const; + template + void set_param1(ArgT0&& arg0, ArgT... args); + std::string* mutable_param1(); + PROTOBUF_NODISCARD std::string* release_param1(); + void set_allocated_param1(std::string* param1); + private: + const std::string& _internal_param1() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_param1(const std::string& value); + std::string* _internal_mutable_param1(); + public: + + // optional string param2 = 5; + bool has_param2() const; + private: + bool _internal_has_param2() const; + public: + void clear_param2(); + const std::string& param2() const; + template + void set_param2(ArgT0&& arg0, ArgT... args); + std::string* mutable_param2(); + PROTOBUF_NODISCARD std::string* release_param2(); + void set_allocated_param2(std::string* param2); + private: + const std::string& _internal_param2() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_param2(const std::string& value); + std::string* _internal_mutable_param2(); + public: + + // optional string param3 = 6; + bool has_param3() const; + private: + bool _internal_has_param3() const; + public: + void clear_param3(); + const std::string& param3() const; + template + void set_param3(ArgT0&& arg0, ArgT... args); + std::string* mutable_param3(); + PROTOBUF_NODISCARD std::string* release_param3(); + void set_allocated_param3(std::string* param3); + private: + const std::string& _internal_param3() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_param3(const std::string& value); + std::string* _internal_mutable_param3(); + public: + + // optional string param4 = 7; + bool has_param4() const; + private: + bool _internal_has_param4() const; + public: + void clear_param4(); + const std::string& param4() const; + template + void set_param4(ArgT0&& arg0, ArgT... args); + std::string* mutable_param4(); + PROTOBUF_NODISCARD std::string* release_param4(); + void set_allocated_param4(std::string* param4); + private: + const std::string& _internal_param4() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_param4(const std::string& value); + std::string* _internal_mutable_param4(); + public: + + // optional bool chat = 2; + bool has_chat() const; + private: + bool _internal_has_chat() const; + public: + void clear_chat(); + bool chat() const; + void set_chat(bool value); + private: + bool _internal_chat() const; + void _internal_set_chat(bool value); + public: + + // optional int32 entityindex = 1 [default = -1]; + bool has_entityindex() const; + private: + bool _internal_has_entityindex() const; + public: + void clear_entityindex(); + int32_t entityindex() const; + void set_entityindex(int32_t value); + private: + int32_t _internal_entityindex() const; + void _internal_set_entityindex(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageSayText2) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr messagename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param1_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param2_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param3_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param4_; + bool chat_; + int32_t entityindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageHudMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHudMsg) */ { + public: + inline CUserMessageHudMsg() : CUserMessageHudMsg(nullptr) {} + ~CUserMessageHudMsg() override; + explicit PROTOBUF_CONSTEXPR CUserMessageHudMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageHudMsg(const CUserMessageHudMsg& from); + CUserMessageHudMsg(CUserMessageHudMsg&& from) noexcept + : CUserMessageHudMsg() { + *this = ::std::move(from); + } + + inline CUserMessageHudMsg& operator=(const CUserMessageHudMsg& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageHudMsg& operator=(CUserMessageHudMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageHudMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageHudMsg* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageHudMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CUserMessageHudMsg& a, CUserMessageHudMsg& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageHudMsg* 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(CUserMessageHudMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageHudMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageHudMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageHudMsg& from) { + CUserMessageHudMsg::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(CUserMessageHudMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageHudMsg"; + } + protected: + explicit CUserMessageHudMsg(::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 { + kMessageFieldNumber = 11, + kChannelFieldNumber = 1, + kXFieldNumber = 2, + kYFieldNumber = 3, + kColor1FieldNumber = 4, + kColor2FieldNumber = 5, + kEffectFieldNumber = 6, + }; + // optional string message = 11; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // optional uint32 channel = 1; + bool has_channel() const; + private: + bool _internal_has_channel() const; + public: + void clear_channel(); + uint32_t channel() const; + void set_channel(uint32_t value); + private: + uint32_t _internal_channel() const; + void _internal_set_channel(uint32_t value); + public: + + // optional float x = 2; + bool has_x() const; + private: + bool _internal_has_x() const; + public: + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // optional float y = 3; + bool has_y() const; + private: + bool _internal_has_y() const; + public: + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // optional fixed32 color1 = 4; + bool has_color1() const; + private: + bool _internal_has_color1() const; + public: + void clear_color1(); + uint32_t color1() const; + void set_color1(uint32_t value); + private: + uint32_t _internal_color1() const; + void _internal_set_color1(uint32_t value); + public: + + // optional fixed32 color2 = 5; + bool has_color2() const; + private: + bool _internal_has_color2() const; + public: + void clear_color2(); + uint32_t color2() const; + void set_color2(uint32_t value); + private: + uint32_t _internal_color2() const; + void _internal_set_color2(uint32_t value); + public: + + // optional uint32 effect = 6; + bool has_effect() const; + private: + bool _internal_has_effect() const; + public: + void clear_effect(); + uint32_t effect() const; + void set_effect(uint32_t value); + private: + uint32_t _internal_effect() const; + void _internal_set_effect(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageHudMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + uint32_t channel_; + float x_; + float y_; + uint32_t color1_; + uint32_t color2_; + uint32_t effect_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageHudText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHudText) */ { + public: + inline CUserMessageHudText() : CUserMessageHudText(nullptr) {} + ~CUserMessageHudText() override; + explicit PROTOBUF_CONSTEXPR CUserMessageHudText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageHudText(const CUserMessageHudText& from); + CUserMessageHudText(CUserMessageHudText&& from) noexcept + : CUserMessageHudText() { + *this = ::std::move(from); + } + + inline CUserMessageHudText& operator=(const CUserMessageHudText& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageHudText& operator=(CUserMessageHudText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageHudText& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageHudText* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageHudText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(CUserMessageHudText& a, CUserMessageHudText& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageHudText* 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(CUserMessageHudText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageHudText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageHudText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageHudText& from) { + CUserMessageHudText::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(CUserMessageHudText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageHudText"; + } + protected: + explicit CUserMessageHudText(::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 { + kMessageFieldNumber = 1, + }; + // optional string message = 1; + bool has_message() const; + private: + bool _internal_has_message() const; + public: + void clear_message(); + const std::string& message() const; + template + void set_message(ArgT0&& arg0, ArgT... args); + std::string* mutable_message(); + PROTOBUF_NODISCARD std::string* release_message(); + void set_allocated_message(std::string* message); + private: + const std::string& _internal_message() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); + std::string* _internal_mutable_message(); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageHudText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageTextMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageTextMsg) */ { + public: + inline CUserMessageTextMsg() : CUserMessageTextMsg(nullptr) {} + ~CUserMessageTextMsg() override; + explicit PROTOBUF_CONSTEXPR CUserMessageTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageTextMsg(const CUserMessageTextMsg& from); + CUserMessageTextMsg(CUserMessageTextMsg&& from) noexcept + : CUserMessageTextMsg() { + *this = ::std::move(from); + } + + inline CUserMessageTextMsg& operator=(const CUserMessageTextMsg& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageTextMsg& operator=(CUserMessageTextMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageTextMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageTextMsg* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageTextMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(CUserMessageTextMsg& a, CUserMessageTextMsg& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageTextMsg* 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(CUserMessageTextMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageTextMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageTextMsg& from) { + CUserMessageTextMsg::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(CUserMessageTextMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageTextMsg"; + } + protected: + explicit CUserMessageTextMsg(::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 { + kParamFieldNumber = 2, + kDestFieldNumber = 1, + }; + // repeated string param = 2; + int param_size() const; + private: + int _internal_param_size() const; + public: + void clear_param(); + const std::string& param(int index) const; + std::string* mutable_param(int index); + void set_param(int index, const std::string& value); + void set_param(int index, std::string&& value); + void set_param(int index, const char* value); + void set_param(int index, const char* value, size_t size); + std::string* add_param(); + void add_param(const std::string& value); + void add_param(std::string&& value); + void add_param(const char* value); + void add_param(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& param() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_param(); + private: + const std::string& _internal_param(int index) const; + std::string* _internal_add_param(); + public: + + // optional uint32 dest = 1; + bool has_dest() const; + private: + bool _internal_has_dest() const; + public: + void clear_dest(); + uint32_t dest() const; + void set_dest(uint32_t value); + private: + uint32_t _internal_dest() const; + void _internal_set_dest(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageTextMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField param_; + uint32_t dest_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageGameTitle final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageGameTitle) */ { + public: + inline CUserMessageGameTitle() : CUserMessageGameTitle(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMessageGameTitle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageGameTitle(const CUserMessageGameTitle& from); + CUserMessageGameTitle(CUserMessageGameTitle&& from) noexcept + : CUserMessageGameTitle() { + *this = ::std::move(from); + } + + inline CUserMessageGameTitle& operator=(const CUserMessageGameTitle& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageGameTitle& operator=(CUserMessageGameTitle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageGameTitle& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageGameTitle* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageGameTitle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CUserMessageGameTitle& a, CUserMessageGameTitle& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageGameTitle* 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(CUserMessageGameTitle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageGameTitle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMessageGameTitle& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMessageGameTitle& 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 "CUserMessageGameTitle"; + } + protected: + explicit CUserMessageGameTitle(::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:CUserMessageGameTitle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageResetHUD final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageResetHUD) */ { + public: + inline CUserMessageResetHUD() : CUserMessageResetHUD(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMessageResetHUD(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageResetHUD(const CUserMessageResetHUD& from); + CUserMessageResetHUD(CUserMessageResetHUD&& from) noexcept + : CUserMessageResetHUD() { + *this = ::std::move(from); + } + + inline CUserMessageResetHUD& operator=(const CUserMessageResetHUD& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageResetHUD& operator=(CUserMessageResetHUD&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageResetHUD& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageResetHUD* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageResetHUD_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(CUserMessageResetHUD& a, CUserMessageResetHUD& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageResetHUD* 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(CUserMessageResetHUD* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageResetHUD* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMessageResetHUD& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMessageResetHUD& 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 "CUserMessageResetHUD"; + } + protected: + explicit CUserMessageResetHUD(::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:CUserMessageResetHUD) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageSendAudio final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSendAudio) */ { + public: + inline CUserMessageSendAudio() : CUserMessageSendAudio(nullptr) {} + ~CUserMessageSendAudio() override; + explicit PROTOBUF_CONSTEXPR CUserMessageSendAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageSendAudio(const CUserMessageSendAudio& from); + CUserMessageSendAudio(CUserMessageSendAudio&& from) noexcept + : CUserMessageSendAudio() { + *this = ::std::move(from); + } + + inline CUserMessageSendAudio& operator=(const CUserMessageSendAudio& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageSendAudio& operator=(CUserMessageSendAudio&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageSendAudio& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageSendAudio* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageSendAudio_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(CUserMessageSendAudio& a, CUserMessageSendAudio& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageSendAudio* 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(CUserMessageSendAudio* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageSendAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageSendAudio& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageSendAudio& from) { + CUserMessageSendAudio::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(CUserMessageSendAudio* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageSendAudio"; + } + protected: + explicit CUserMessageSendAudio(::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 { + kSoundnameFieldNumber = 1, + kStopFieldNumber = 2, + }; + // optional string soundname = 1; + bool has_soundname() const; + private: + bool _internal_has_soundname() const; + public: + void clear_soundname(); + const std::string& soundname() const; + template + void set_soundname(ArgT0&& arg0, ArgT... args); + std::string* mutable_soundname(); + PROTOBUF_NODISCARD std::string* release_soundname(); + void set_allocated_soundname(std::string* soundname); + private: + const std::string& _internal_soundname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_soundname(const std::string& value); + std::string* _internal_mutable_soundname(); + public: + + // optional bool stop = 2; + bool has_stop() const; + private: + bool _internal_has_stop() const; + public: + void clear_stop(); + bool stop() const; + void set_stop(bool value); + private: + bool _internal_stop() const; + void _internal_set_stop(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageSendAudio) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr soundname_; + bool stop_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageAudioParameter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAudioParameter) */ { + public: + inline CUserMessageAudioParameter() : CUserMessageAudioParameter(nullptr) {} + ~CUserMessageAudioParameter() override; + explicit PROTOBUF_CONSTEXPR CUserMessageAudioParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageAudioParameter(const CUserMessageAudioParameter& from); + CUserMessageAudioParameter(CUserMessageAudioParameter&& from) noexcept + : CUserMessageAudioParameter() { + *this = ::std::move(from); + } + + inline CUserMessageAudioParameter& operator=(const CUserMessageAudioParameter& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageAudioParameter& operator=(CUserMessageAudioParameter&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageAudioParameter& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageAudioParameter* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageAudioParameter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(CUserMessageAudioParameter& a, CUserMessageAudioParameter& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageAudioParameter* 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(CUserMessageAudioParameter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageAudioParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageAudioParameter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageAudioParameter& from) { + CUserMessageAudioParameter::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(CUserMessageAudioParameter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageAudioParameter"; + } + protected: + explicit CUserMessageAudioParameter(::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 { + kParameterTypeFieldNumber = 1, + kNameHashCodeFieldNumber = 2, + kValueFieldNumber = 3, + kIntValueFieldNumber = 4, + }; + // optional uint32 parameter_type = 1; + bool has_parameter_type() const; + private: + bool _internal_has_parameter_type() const; + public: + void clear_parameter_type(); + uint32_t parameter_type() const; + void set_parameter_type(uint32_t value); + private: + uint32_t _internal_parameter_type() const; + void _internal_set_parameter_type(uint32_t value); + public: + + // optional uint32 name_hash_code = 2; + bool has_name_hash_code() const; + private: + bool _internal_has_name_hash_code() const; + public: + void clear_name_hash_code(); + uint32_t name_hash_code() const; + void set_name_hash_code(uint32_t value); + private: + uint32_t _internal_name_hash_code() const; + void _internal_set_name_hash_code(uint32_t value); + public: + + // optional float value = 3; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + float value() const; + void set_value(float value); + private: + float _internal_value() const; + void _internal_set_value(float value); + public: + + // optional uint32 int_value = 4; + bool has_int_value() const; + private: + bool _internal_has_int_value() const; + public: + void clear_int_value(); + uint32_t int_value() const; + void set_int_value(uint32_t value); + private: + uint32_t _internal_int_value() const; + void _internal_set_int_value(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageAudioParameter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t parameter_type_; + uint32_t name_hash_code_; + float value_; + uint32_t int_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageVoiceMask final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageVoiceMask) */ { + public: + inline CUserMessageVoiceMask() : CUserMessageVoiceMask(nullptr) {} + ~CUserMessageVoiceMask() override; + explicit PROTOBUF_CONSTEXPR CUserMessageVoiceMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageVoiceMask(const CUserMessageVoiceMask& from); + CUserMessageVoiceMask(CUserMessageVoiceMask&& from) noexcept + : CUserMessageVoiceMask() { + *this = ::std::move(from); + } + + inline CUserMessageVoiceMask& operator=(const CUserMessageVoiceMask& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageVoiceMask& operator=(CUserMessageVoiceMask&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageVoiceMask& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageVoiceMask* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageVoiceMask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(CUserMessageVoiceMask& a, CUserMessageVoiceMask& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageVoiceMask* 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(CUserMessageVoiceMask* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageVoiceMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageVoiceMask& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageVoiceMask& from) { + CUserMessageVoiceMask::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(CUserMessageVoiceMask* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageVoiceMask"; + } + protected: + explicit CUserMessageVoiceMask(::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 { + kGamerulesMasksFieldNumber = 1, + kBanMasksFieldNumber = 2, + kModEnableFieldNumber = 3, + }; + // repeated uint32 gamerules_masks = 1; + int gamerules_masks_size() const; + private: + int _internal_gamerules_masks_size() const; + public: + void clear_gamerules_masks(); + private: + uint32_t _internal_gamerules_masks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_gamerules_masks() const; + void _internal_add_gamerules_masks(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_gamerules_masks(); + public: + uint32_t gamerules_masks(int index) const; + void set_gamerules_masks(int index, uint32_t value); + void add_gamerules_masks(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + gamerules_masks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_gamerules_masks(); + + // repeated uint32 ban_masks = 2; + int ban_masks_size() const; + private: + int _internal_ban_masks_size() const; + public: + void clear_ban_masks(); + private: + uint32_t _internal_ban_masks(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_ban_masks() const; + void _internal_add_ban_masks(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_ban_masks(); + public: + uint32_t ban_masks(int index) const; + void set_ban_masks(int index, uint32_t value); + void add_ban_masks(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + ban_masks() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_ban_masks(); + + // optional bool mod_enable = 3; + bool has_mod_enable() const; + private: + bool _internal_has_mod_enable() const; + public: + void clear_mod_enable(); + bool mod_enable() const; + void set_mod_enable(bool value); + private: + bool _internal_mod_enable() const; + void _internal_set_mod_enable(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageVoiceMask) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gamerules_masks_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ban_masks_; + bool mod_enable_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestState final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageRequestState) */ { + public: + inline CUserMessageRequestState() : CUserMessageRequestState(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMessageRequestState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestState(const CUserMessageRequestState& from); + CUserMessageRequestState(CUserMessageRequestState&& from) noexcept + : CUserMessageRequestState() { + *this = ::std::move(from); + } + + inline CUserMessageRequestState& operator=(const CUserMessageRequestState& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestState& operator=(CUserMessageRequestState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestState& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestState* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(CUserMessageRequestState& a, CUserMessageRequestState& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestState* 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(CUserMessageRequestState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMessageRequestState& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMessageRequestState& 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 "CUserMessageRequestState"; + } + protected: + explicit CUserMessageRequestState(::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:CUserMessageRequestState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRumble final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRumble) */ { + public: + inline CUserMessageRumble() : CUserMessageRumble(nullptr) {} + ~CUserMessageRumble() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRumble(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRumble(const CUserMessageRumble& from); + CUserMessageRumble(CUserMessageRumble&& from) noexcept + : CUserMessageRumble() { + *this = ::std::move(from); + } + + inline CUserMessageRumble& operator=(const CUserMessageRumble& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRumble& operator=(CUserMessageRumble&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRumble& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRumble* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRumble_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(CUserMessageRumble& a, CUserMessageRumble& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRumble* 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(CUserMessageRumble* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRumble* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRumble& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRumble& from) { + CUserMessageRumble::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(CUserMessageRumble* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRumble"; + } + protected: + explicit CUserMessageRumble(::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 { + kIndexFieldNumber = 1, + kDataFieldNumber = 2, + kFlagsFieldNumber = 3, + }; + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + int32_t data() const; + void set_data(int32_t value); + private: + int32_t _internal_data() const; + void _internal_set_data(int32_t value); + public: + + // optional int32 flags = 3; + bool has_flags() const; + private: + bool _internal_has_flags() const; + public: + void clear_flags(); + int32_t flags() const; + void set_flags(int32_t value); + private: + int32_t _internal_flags() const; + void _internal_set_flags(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageRumble) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t index_; + int32_t data_; + int32_t flags_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageSayTextChannel final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayTextChannel) */ { + public: + inline CUserMessageSayTextChannel() : CUserMessageSayTextChannel(nullptr) {} + ~CUserMessageSayTextChannel() override; + explicit PROTOBUF_CONSTEXPR CUserMessageSayTextChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageSayTextChannel(const CUserMessageSayTextChannel& from); + CUserMessageSayTextChannel(CUserMessageSayTextChannel&& from) noexcept + : CUserMessageSayTextChannel() { + *this = ::std::move(from); + } + + inline CUserMessageSayTextChannel& operator=(const CUserMessageSayTextChannel& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageSayTextChannel& operator=(CUserMessageSayTextChannel&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageSayTextChannel& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageSayTextChannel* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageSayTextChannel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(CUserMessageSayTextChannel& a, CUserMessageSayTextChannel& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageSayTextChannel* 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(CUserMessageSayTextChannel* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageSayTextChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageSayTextChannel& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageSayTextChannel& from) { + CUserMessageSayTextChannel::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(CUserMessageSayTextChannel* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageSayTextChannel"; + } + protected: + explicit CUserMessageSayTextChannel(::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 = 3, + kPlayerFieldNumber = 1, + kChannelFieldNumber = 2, + }; + // optional string text = 3; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional int32 player = 1; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + int32_t player() const; + void set_player(int32_t value); + private: + int32_t _internal_player() const; + void _internal_set_player(int32_t value); + public: + + // optional int32 channel = 2; + bool has_channel() const; + private: + bool _internal_has_channel() const; + public: + void clear_channel(); + int32_t channel() const; + void set_channel(int32_t value); + private: + int32_t _internal_channel() const; + void _internal_set_channel(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageSayTextChannel) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + int32_t player_; + int32_t channel_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageColoredText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageColoredText) */ { + public: + inline CUserMessageColoredText() : CUserMessageColoredText(nullptr) {} + ~CUserMessageColoredText() override; + explicit PROTOBUF_CONSTEXPR CUserMessageColoredText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageColoredText(const CUserMessageColoredText& from); + CUserMessageColoredText(CUserMessageColoredText&& from) noexcept + : CUserMessageColoredText() { + *this = ::std::move(from); + } + + inline CUserMessageColoredText& operator=(const CUserMessageColoredText& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageColoredText& operator=(CUserMessageColoredText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageColoredText& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageColoredText* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageColoredText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(CUserMessageColoredText& a, CUserMessageColoredText& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageColoredText* 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(CUserMessageColoredText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageColoredText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageColoredText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageColoredText& from) { + CUserMessageColoredText::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(CUserMessageColoredText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageColoredText"; + } + protected: + explicit CUserMessageColoredText(::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 = 2, + kColorFieldNumber = 1, + kResetFieldNumber = 3, + kContextValueFieldNumber = 5, + kContextTeamIdFieldNumber = 6, + kContextPlayerSlotFieldNumber = 4, + }; + // optional string text = 2; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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: + + // optional uint32 color = 1; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional bool reset = 3; + bool has_reset() const; + private: + bool _internal_has_reset() const; + public: + void clear_reset(); + bool reset() const; + void set_reset(bool value); + private: + bool _internal_reset() const; + void _internal_set_reset(bool value); + public: + + // optional int32 context_value = 5; + bool has_context_value() const; + private: + bool _internal_has_context_value() const; + public: + void clear_context_value(); + int32_t context_value() const; + void set_context_value(int32_t value); + private: + int32_t _internal_context_value() const; + void _internal_set_context_value(int32_t value); + public: + + // optional int32 context_team_id = 6; + bool has_context_team_id() const; + private: + bool _internal_has_context_team_id() const; + public: + void clear_context_team_id(); + int32_t context_team_id() const; + void set_context_team_id(int32_t value); + private: + int32_t _internal_context_team_id() const; + void _internal_set_context_team_id(int32_t value); + public: + + // optional int32 context_player_slot = 4 [default = -1]; + bool has_context_player_slot() const; + private: + bool _internal_has_context_player_slot() const; + public: + void clear_context_player_slot(); + int32_t context_player_slot() const; + void set_context_player_slot(int32_t value); + private: + int32_t _internal_context_player_slot() const; + void _internal_set_context_player_slot(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageColoredText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + uint32_t color_; + bool reset_; + int32_t context_value_; + int32_t context_team_id_; + int32_t context_player_slot_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageItemPickup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageItemPickup) */ { + public: + inline CUserMessageItemPickup() : CUserMessageItemPickup(nullptr) {} + ~CUserMessageItemPickup() override; + explicit PROTOBUF_CONSTEXPR CUserMessageItemPickup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageItemPickup(const CUserMessageItemPickup& from); + CUserMessageItemPickup(CUserMessageItemPickup&& from) noexcept + : CUserMessageItemPickup() { + *this = ::std::move(from); + } + + inline CUserMessageItemPickup& operator=(const CUserMessageItemPickup& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageItemPickup& operator=(CUserMessageItemPickup&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageItemPickup& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageItemPickup* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageItemPickup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(CUserMessageItemPickup& a, CUserMessageItemPickup& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageItemPickup* 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(CUserMessageItemPickup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageItemPickup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageItemPickup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageItemPickup& from) { + CUserMessageItemPickup::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(CUserMessageItemPickup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageItemPickup"; + } + protected: + explicit CUserMessageItemPickup(::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 { + kItemnameFieldNumber = 1, + }; + // optional string itemname = 1; + bool has_itemname() const; + private: + bool _internal_has_itemname() const; + public: + void clear_itemname(); + const std::string& itemname() const; + template + void set_itemname(ArgT0&& arg0, ArgT... args); + std::string* mutable_itemname(); + PROTOBUF_NODISCARD std::string* release_itemname(); + void set_allocated_itemname(std::string* itemname); + private: + const std::string& _internal_itemname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_itemname(const std::string& value); + std::string* _internal_mutable_itemname(); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageItemPickup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr itemname_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageAmmoDenied final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAmmoDenied) */ { + public: + inline CUserMessageAmmoDenied() : CUserMessageAmmoDenied(nullptr) {} + ~CUserMessageAmmoDenied() override; + explicit PROTOBUF_CONSTEXPR CUserMessageAmmoDenied(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageAmmoDenied(const CUserMessageAmmoDenied& from); + CUserMessageAmmoDenied(CUserMessageAmmoDenied&& from) noexcept + : CUserMessageAmmoDenied() { + *this = ::std::move(from); + } + + inline CUserMessageAmmoDenied& operator=(const CUserMessageAmmoDenied& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageAmmoDenied& operator=(CUserMessageAmmoDenied&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageAmmoDenied& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageAmmoDenied* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageAmmoDenied_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(CUserMessageAmmoDenied& a, CUserMessageAmmoDenied& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageAmmoDenied* 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(CUserMessageAmmoDenied* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageAmmoDenied* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageAmmoDenied& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageAmmoDenied& from) { + CUserMessageAmmoDenied::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(CUserMessageAmmoDenied* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageAmmoDenied"; + } + protected: + explicit CUserMessageAmmoDenied(::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 { + kAmmoIdFieldNumber = 1, + }; + // optional uint32 ammo_id = 1; + bool has_ammo_id() const; + private: + bool _internal_has_ammo_id() const; + public: + void clear_ammo_id(); + uint32_t ammo_id() const; + void set_ammo_id(uint32_t value); + private: + uint32_t _internal_ammo_id() const; + void _internal_set_ammo_id(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageAmmoDenied) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t ammo_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageShowMenu final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShowMenu) */ { + public: + inline CUserMessageShowMenu() : CUserMessageShowMenu(nullptr) {} + ~CUserMessageShowMenu() override; + explicit PROTOBUF_CONSTEXPR CUserMessageShowMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageShowMenu(const CUserMessageShowMenu& from); + CUserMessageShowMenu(CUserMessageShowMenu&& from) noexcept + : CUserMessageShowMenu() { + *this = ::std::move(from); + } + + inline CUserMessageShowMenu& operator=(const CUserMessageShowMenu& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageShowMenu& operator=(CUserMessageShowMenu&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageShowMenu& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageShowMenu* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageShowMenu_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(CUserMessageShowMenu& a, CUserMessageShowMenu& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageShowMenu* 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(CUserMessageShowMenu* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageShowMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageShowMenu& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageShowMenu& from) { + CUserMessageShowMenu::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(CUserMessageShowMenu* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageShowMenu"; + } + protected: + explicit CUserMessageShowMenu(::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 { + kMenustringFieldNumber = 4, + kValidslotsFieldNumber = 1, + kDisplaytimeFieldNumber = 2, + kNeedmoreFieldNumber = 3, + }; + // optional string menustring = 4; + bool has_menustring() const; + private: + bool _internal_has_menustring() const; + public: + void clear_menustring(); + const std::string& menustring() const; + template + void set_menustring(ArgT0&& arg0, ArgT... args); + std::string* mutable_menustring(); + PROTOBUF_NODISCARD std::string* release_menustring(); + void set_allocated_menustring(std::string* menustring); + private: + const std::string& _internal_menustring() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_menustring(const std::string& value); + std::string* _internal_mutable_menustring(); + public: + + // optional uint32 validslots = 1; + bool has_validslots() const; + private: + bool _internal_has_validslots() const; + public: + void clear_validslots(); + uint32_t validslots() const; + void set_validslots(uint32_t value); + private: + uint32_t _internal_validslots() const; + void _internal_set_validslots(uint32_t value); + public: + + // optional uint32 displaytime = 2; + bool has_displaytime() const; + private: + bool _internal_has_displaytime() const; + public: + void clear_displaytime(); + uint32_t displaytime() const; + void set_displaytime(uint32_t value); + private: + uint32_t _internal_displaytime() const; + void _internal_set_displaytime(uint32_t value); + public: + + // optional bool needmore = 3; + bool has_needmore() const; + private: + bool _internal_has_needmore() const; + public: + void clear_needmore(); + bool needmore() const; + void set_needmore(bool value); + private: + bool _internal_needmore() const; + void _internal_set_needmore(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageShowMenu) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menustring_; + uint32_t validslots_; + uint32_t displaytime_; + bool needmore_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCreditsMsg final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCreditsMsg) */ { + public: + inline CUserMessageCreditsMsg() : CUserMessageCreditsMsg(nullptr) {} + ~CUserMessageCreditsMsg() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCreditsMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCreditsMsg(const CUserMessageCreditsMsg& from); + CUserMessageCreditsMsg(CUserMessageCreditsMsg&& from) noexcept + : CUserMessageCreditsMsg() { + *this = ::std::move(from); + } + + inline CUserMessageCreditsMsg& operator=(const CUserMessageCreditsMsg& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCreditsMsg& operator=(CUserMessageCreditsMsg&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCreditsMsg& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCreditsMsg* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCreditsMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(CUserMessageCreditsMsg& a, CUserMessageCreditsMsg& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCreditsMsg* 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(CUserMessageCreditsMsg* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCreditsMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCreditsMsg& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCreditsMsg& from) { + CUserMessageCreditsMsg::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(CUserMessageCreditsMsg* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCreditsMsg"; + } + protected: + explicit CUserMessageCreditsMsg(::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 { + kLogoLengthFieldNumber = 2, + kRolltypeFieldNumber = 1, + }; + // optional float logo_length = 2; + bool has_logo_length() const; + private: + bool _internal_has_logo_length() const; + public: + void clear_logo_length(); + float logo_length() const; + void set_logo_length(float value); + private: + float _internal_logo_length() const; + void _internal_set_logo_length(float value); + public: + + // optional .eRollType rolltype = 1 [default = ROLL_NONE]; + bool has_rolltype() const; + private: + bool _internal_has_rolltype() const; + public: + void clear_rolltype(); + ::eRollType rolltype() const; + void set_rolltype(::eRollType value); + private: + ::eRollType _internal_rolltype() const; + void _internal_set_rolltype(::eRollType value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCreditsMsg) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float logo_length_; + int rolltype_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessagePlayJingle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessagePlayJingle) */ { + public: + inline CEntityMessagePlayJingle() : CEntityMessagePlayJingle(nullptr) {} + ~CEntityMessagePlayJingle() override; + explicit PROTOBUF_CONSTEXPR CEntityMessagePlayJingle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessagePlayJingle(const CEntityMessagePlayJingle& from); + CEntityMessagePlayJingle(CEntityMessagePlayJingle&& from) noexcept + : CEntityMessagePlayJingle() { + *this = ::std::move(from); + } + + inline CEntityMessagePlayJingle& operator=(const CEntityMessagePlayJingle& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessagePlayJingle& operator=(CEntityMessagePlayJingle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessagePlayJingle& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessagePlayJingle* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessagePlayJingle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(CEntityMessagePlayJingle& a, CEntityMessagePlayJingle& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessagePlayJingle* 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(CEntityMessagePlayJingle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessagePlayJingle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessagePlayJingle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessagePlayJingle& from) { + CEntityMessagePlayJingle::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(CEntityMessagePlayJingle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessagePlayJingle"; + } + protected: + explicit CEntityMessagePlayJingle(::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 { + kEntityMsgFieldNumber = 1, + }; + // optional .CEntityMsg entity_msg = 1; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // @@protoc_insertion_point(class_scope:CEntityMessagePlayJingle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEntityMsg* entity_msg_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessageScreenOverlay final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageScreenOverlay) */ { + public: + inline CEntityMessageScreenOverlay() : CEntityMessageScreenOverlay(nullptr) {} + ~CEntityMessageScreenOverlay() override; + explicit PROTOBUF_CONSTEXPR CEntityMessageScreenOverlay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessageScreenOverlay(const CEntityMessageScreenOverlay& from); + CEntityMessageScreenOverlay(CEntityMessageScreenOverlay&& from) noexcept + : CEntityMessageScreenOverlay() { + *this = ::std::move(from); + } + + inline CEntityMessageScreenOverlay& operator=(const CEntityMessageScreenOverlay& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessageScreenOverlay& operator=(CEntityMessageScreenOverlay&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessageScreenOverlay& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessageScreenOverlay* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessageScreenOverlay_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(CEntityMessageScreenOverlay& a, CEntityMessageScreenOverlay& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessageScreenOverlay* 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(CEntityMessageScreenOverlay* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessageScreenOverlay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessageScreenOverlay& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessageScreenOverlay& from) { + CEntityMessageScreenOverlay::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(CEntityMessageScreenOverlay* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessageScreenOverlay"; + } + protected: + explicit CEntityMessageScreenOverlay(::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 { + kEntityMsgFieldNumber = 2, + kStartEffectFieldNumber = 1, + }; + // optional .CEntityMsg entity_msg = 2; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // optional bool start_effect = 1; + bool has_start_effect() const; + private: + bool _internal_has_start_effect() const; + public: + void clear_start_effect(); + bool start_effect() const; + void set_start_effect(bool value); + private: + bool _internal_start_effect() const; + void _internal_set_start_effect(bool value); + public: + + // @@protoc_insertion_point(class_scope:CEntityMessageScreenOverlay) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEntityMsg* entity_msg_; + bool start_effect_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessageRemoveAllDecals final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageRemoveAllDecals) */ { + public: + inline CEntityMessageRemoveAllDecals() : CEntityMessageRemoveAllDecals(nullptr) {} + ~CEntityMessageRemoveAllDecals() override; + explicit PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecals(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessageRemoveAllDecals(const CEntityMessageRemoveAllDecals& from); + CEntityMessageRemoveAllDecals(CEntityMessageRemoveAllDecals&& from) noexcept + : CEntityMessageRemoveAllDecals() { + *this = ::std::move(from); + } + + inline CEntityMessageRemoveAllDecals& operator=(const CEntityMessageRemoveAllDecals& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessageRemoveAllDecals& operator=(CEntityMessageRemoveAllDecals&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessageRemoveAllDecals& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessageRemoveAllDecals* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessageRemoveAllDecals_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(CEntityMessageRemoveAllDecals& a, CEntityMessageRemoveAllDecals& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessageRemoveAllDecals* 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(CEntityMessageRemoveAllDecals* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessageRemoveAllDecals* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessageRemoveAllDecals& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessageRemoveAllDecals& from) { + CEntityMessageRemoveAllDecals::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(CEntityMessageRemoveAllDecals* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessageRemoveAllDecals"; + } + protected: + explicit CEntityMessageRemoveAllDecals(::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 { + kEntityMsgFieldNumber = 2, + kRemoveDecalsFieldNumber = 1, + }; + // optional .CEntityMsg entity_msg = 2; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // optional bool remove_decals = 1; + bool has_remove_decals() const; + private: + bool _internal_has_remove_decals() const; + public: + void clear_remove_decals(); + bool remove_decals() const; + void set_remove_decals(bool value); + private: + bool _internal_remove_decals() const; + void _internal_set_remove_decals(bool value); + public: + + // @@protoc_insertion_point(class_scope:CEntityMessageRemoveAllDecals) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CEntityMsg* entity_msg_; + bool remove_decals_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessagePropagateForce final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessagePropagateForce) */ { + public: + inline CEntityMessagePropagateForce() : CEntityMessagePropagateForce(nullptr) {} + ~CEntityMessagePropagateForce() override; + explicit PROTOBUF_CONSTEXPR CEntityMessagePropagateForce(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessagePropagateForce(const CEntityMessagePropagateForce& from); + CEntityMessagePropagateForce(CEntityMessagePropagateForce&& from) noexcept + : CEntityMessagePropagateForce() { + *this = ::std::move(from); + } + + inline CEntityMessagePropagateForce& operator=(const CEntityMessagePropagateForce& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessagePropagateForce& operator=(CEntityMessagePropagateForce&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessagePropagateForce& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessagePropagateForce* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessagePropagateForce_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(CEntityMessagePropagateForce& a, CEntityMessagePropagateForce& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessagePropagateForce* 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(CEntityMessagePropagateForce* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessagePropagateForce* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessagePropagateForce& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessagePropagateForce& from) { + CEntityMessagePropagateForce::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(CEntityMessagePropagateForce* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessagePropagateForce"; + } + protected: + explicit CEntityMessagePropagateForce(::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 { + kImpulseFieldNumber = 1, + kEntityMsgFieldNumber = 2, + }; + // optional .CMsgVector impulse = 1; + bool has_impulse() const; + private: + bool _internal_has_impulse() const; + public: + void clear_impulse(); + const ::CMsgVector& impulse() const; + PROTOBUF_NODISCARD ::CMsgVector* release_impulse(); + ::CMsgVector* mutable_impulse(); + void set_allocated_impulse(::CMsgVector* impulse); + private: + const ::CMsgVector& _internal_impulse() const; + ::CMsgVector* _internal_mutable_impulse(); + public: + void unsafe_arena_set_allocated_impulse( + ::CMsgVector* impulse); + ::CMsgVector* unsafe_arena_release_impulse(); + + // optional .CEntityMsg entity_msg = 2; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // @@protoc_insertion_point(class_scope:CEntityMessagePropagateForce) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* impulse_; + ::CEntityMsg* entity_msg_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessageDoSpark final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageDoSpark) */ { + public: + inline CEntityMessageDoSpark() : CEntityMessageDoSpark(nullptr) {} + ~CEntityMessageDoSpark() override; + explicit PROTOBUF_CONSTEXPR CEntityMessageDoSpark(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessageDoSpark(const CEntityMessageDoSpark& from); + CEntityMessageDoSpark(CEntityMessageDoSpark&& from) noexcept + : CEntityMessageDoSpark() { + *this = ::std::move(from); + } + + inline CEntityMessageDoSpark& operator=(const CEntityMessageDoSpark& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessageDoSpark& operator=(CEntityMessageDoSpark&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessageDoSpark& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessageDoSpark* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessageDoSpark_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(CEntityMessageDoSpark& a, CEntityMessageDoSpark& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessageDoSpark* 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(CEntityMessageDoSpark* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessageDoSpark* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessageDoSpark& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessageDoSpark& from) { + CEntityMessageDoSpark::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(CEntityMessageDoSpark* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessageDoSpark"; + } + protected: + explicit CEntityMessageDoSpark(::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 { + kOriginFieldNumber = 1, + kEntityMsgFieldNumber = 8, + kRadiusFieldNumber = 3, + kColorFieldNumber = 4, + kBeamsFieldNumber = 5, + kThickFieldNumber = 6, + kDurationFieldNumber = 7, + kEntityindexFieldNumber = 2, + }; + // optional .CMsgVector origin = 1; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional .CEntityMsg entity_msg = 8; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // optional float radius = 3; + bool has_radius() const; + private: + bool _internal_has_radius() const; + public: + void clear_radius(); + float radius() const; + void set_radius(float value); + private: + float _internal_radius() const; + void _internal_set_radius(float value); + public: + + // optional fixed32 color = 4; + bool has_color() const; + private: + bool _internal_has_color() const; + public: + void clear_color(); + uint32_t color() const; + void set_color(uint32_t value); + private: + uint32_t _internal_color() const; + void _internal_set_color(uint32_t value); + public: + + // optional uint32 beams = 5; + bool has_beams() const; + private: + bool _internal_has_beams() const; + public: + void clear_beams(); + uint32_t beams() const; + void set_beams(uint32_t value); + private: + uint32_t _internal_beams() const; + void _internal_set_beams(uint32_t value); + public: + + // optional float thick = 6; + bool has_thick() const; + private: + bool _internal_has_thick() const; + public: + void clear_thick(); + float thick() const; + void set_thick(float value); + private: + float _internal_thick() const; + void _internal_set_thick(float value); + public: + + // optional float duration = 7; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional int32 entityindex = 2 [default = -1]; + bool has_entityindex() const; + private: + bool _internal_has_entityindex() const; + public: + void clear_entityindex(); + int32_t entityindex() const; + void set_entityindex(int32_t value); + private: + int32_t _internal_entityindex() const; + void _internal_set_entityindex(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CEntityMessageDoSpark) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + ::CEntityMsg* entity_msg_; + float radius_; + uint32_t color_; + uint32_t beams_; + float thick_; + float duration_; + int32_t entityindex_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CEntityMessageFixAngle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageFixAngle) */ { + public: + inline CEntityMessageFixAngle() : CEntityMessageFixAngle(nullptr) {} + ~CEntityMessageFixAngle() override; + explicit PROTOBUF_CONSTEXPR CEntityMessageFixAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CEntityMessageFixAngle(const CEntityMessageFixAngle& from); + CEntityMessageFixAngle(CEntityMessageFixAngle&& from) noexcept + : CEntityMessageFixAngle() { + *this = ::std::move(from); + } + + inline CEntityMessageFixAngle& operator=(const CEntityMessageFixAngle& from) { + CopyFrom(from); + return *this; + } + inline CEntityMessageFixAngle& operator=(CEntityMessageFixAngle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CEntityMessageFixAngle& default_instance() { + return *internal_default_instance(); + } + static inline const CEntityMessageFixAngle* internal_default_instance() { + return reinterpret_cast( + &_CEntityMessageFixAngle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(CEntityMessageFixAngle& a, CEntityMessageFixAngle& b) { + a.Swap(&b); + } + inline void Swap(CEntityMessageFixAngle* 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(CEntityMessageFixAngle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CEntityMessageFixAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CEntityMessageFixAngle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CEntityMessageFixAngle& from) { + CEntityMessageFixAngle::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(CEntityMessageFixAngle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CEntityMessageFixAngle"; + } + protected: + explicit CEntityMessageFixAngle(::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 { + kAngleFieldNumber = 2, + kEntityMsgFieldNumber = 3, + kRelativeFieldNumber = 1, + }; + // optional .CMsgQAngle angle = 2; + bool has_angle() const; + private: + bool _internal_has_angle() const; + public: + void clear_angle(); + const ::CMsgQAngle& angle() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); + ::CMsgQAngle* mutable_angle(); + void set_allocated_angle(::CMsgQAngle* angle); + private: + const ::CMsgQAngle& _internal_angle() const; + ::CMsgQAngle* _internal_mutable_angle(); + public: + void unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle); + ::CMsgQAngle* unsafe_arena_release_angle(); + + // optional .CEntityMsg entity_msg = 3; + bool has_entity_msg() const; + private: + bool _internal_has_entity_msg() const; + public: + void clear_entity_msg(); + const ::CEntityMsg& entity_msg() const; + PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); + ::CEntityMsg* mutable_entity_msg(); + void set_allocated_entity_msg(::CEntityMsg* entity_msg); + private: + const ::CEntityMsg& _internal_entity_msg() const; + ::CEntityMsg* _internal_mutable_entity_msg(); + public: + void unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg); + ::CEntityMsg* unsafe_arena_release_entity_msg(); + + // optional bool relative = 1; + bool has_relative() const; + private: + bool _internal_has_relative() const; + public: + void clear_relative(); + bool relative() const; + void set_relative(bool value); + private: + bool _internal_relative() const; + void _internal_set_relative(bool value); + public: + + // @@protoc_insertion_point(class_scope:CEntityMessageFixAngle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* angle_; + ::CEntityMsg* entity_msg_; + bool relative_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCameraTransition_Transition_DataDriven final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCameraTransition.Transition_DataDriven) */ { + public: + inline CUserMessageCameraTransition_Transition_DataDriven() : CUserMessageCameraTransition_Transition_DataDriven(nullptr) {} + ~CUserMessageCameraTransition_Transition_DataDriven() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDriven(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCameraTransition_Transition_DataDriven(const CUserMessageCameraTransition_Transition_DataDriven& from); + CUserMessageCameraTransition_Transition_DataDriven(CUserMessageCameraTransition_Transition_DataDriven&& from) noexcept + : CUserMessageCameraTransition_Transition_DataDriven() { + *this = ::std::move(from); + } + + inline CUserMessageCameraTransition_Transition_DataDriven& operator=(const CUserMessageCameraTransition_Transition_DataDriven& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCameraTransition_Transition_DataDriven& operator=(CUserMessageCameraTransition_Transition_DataDriven&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCameraTransition_Transition_DataDriven& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCameraTransition_Transition_DataDriven* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCameraTransition_Transition_DataDriven_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(CUserMessageCameraTransition_Transition_DataDriven& a, CUserMessageCameraTransition_Transition_DataDriven& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCameraTransition_Transition_DataDriven* 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(CUserMessageCameraTransition_Transition_DataDriven* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCameraTransition_Transition_DataDriven* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCameraTransition_Transition_DataDriven& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCameraTransition_Transition_DataDriven& from) { + CUserMessageCameraTransition_Transition_DataDriven::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(CUserMessageCameraTransition_Transition_DataDriven* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCameraTransition.Transition_DataDriven"; + } + protected: + explicit CUserMessageCameraTransition_Transition_DataDriven(::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 { + kFilenameFieldNumber = 1, + kDurationFieldNumber = 3, + kAttachEntIndexFieldNumber = 2, + }; + // optional string filename = 1; + bool has_filename() const; + private: + bool _internal_has_filename() const; + public: + void clear_filename(); + const std::string& filename() const; + template + void set_filename(ArgT0&& arg0, ArgT... args); + std::string* mutable_filename(); + PROTOBUF_NODISCARD std::string* release_filename(); + void set_allocated_filename(std::string* filename); + private: + const std::string& _internal_filename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); + std::string* _internal_mutable_filename(); + public: + + // optional float duration = 3; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // optional int32 attach_ent_index = 2 [default = -1]; + bool has_attach_ent_index() const; + private: + bool _internal_has_attach_ent_index() const; + public: + void clear_attach_ent_index(); + int32_t attach_ent_index() const; + void set_attach_ent_index(int32_t value); + private: + int32_t _internal_attach_ent_index() const; + void _internal_set_attach_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCameraTransition.Transition_DataDriven) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; + float duration_; + int32_t attach_ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageCameraTransition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCameraTransition) */ { + public: + inline CUserMessageCameraTransition() : CUserMessageCameraTransition(nullptr) {} + ~CUserMessageCameraTransition() override; + explicit PROTOBUF_CONSTEXPR CUserMessageCameraTransition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageCameraTransition(const CUserMessageCameraTransition& from); + CUserMessageCameraTransition(CUserMessageCameraTransition&& from) noexcept + : CUserMessageCameraTransition() { + *this = ::std::move(from); + } + + inline CUserMessageCameraTransition& operator=(const CUserMessageCameraTransition& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageCameraTransition& operator=(CUserMessageCameraTransition&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageCameraTransition& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageCameraTransition* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageCameraTransition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(CUserMessageCameraTransition& a, CUserMessageCameraTransition& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageCameraTransition* 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(CUserMessageCameraTransition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageCameraTransition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageCameraTransition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageCameraTransition& from) { + CUserMessageCameraTransition::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(CUserMessageCameraTransition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageCameraTransition"; + } + protected: + explicit CUserMessageCameraTransition(::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 ---------------------------------------------------- + + typedef CUserMessageCameraTransition_Transition_DataDriven Transition_DataDriven; + + // accessors ------------------------------------------------------- + + enum : int { + kParamsDataDrivenFieldNumber = 3, + kCameraTypeFieldNumber = 1, + kDurationFieldNumber = 2, + }; + // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; + bool has_params_data_driven() const; + private: + bool _internal_has_params_data_driven() const; + public: + void clear_params_data_driven(); + const ::CUserMessageCameraTransition_Transition_DataDriven& params_data_driven() const; + PROTOBUF_NODISCARD ::CUserMessageCameraTransition_Transition_DataDriven* release_params_data_driven(); + ::CUserMessageCameraTransition_Transition_DataDriven* mutable_params_data_driven(); + void set_allocated_params_data_driven(::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven); + private: + const ::CUserMessageCameraTransition_Transition_DataDriven& _internal_params_data_driven() const; + ::CUserMessageCameraTransition_Transition_DataDriven* _internal_mutable_params_data_driven(); + public: + void unsafe_arena_set_allocated_params_data_driven( + ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven); + ::CUserMessageCameraTransition_Transition_DataDriven* unsafe_arena_release_params_data_driven(); + + // optional uint32 camera_type = 1; + bool has_camera_type() const; + private: + bool _internal_has_camera_type() const; + public: + void clear_camera_type(); + uint32_t camera_type() const; + void set_camera_type(uint32_t value); + private: + uint32_t _internal_camera_type() const; + void _internal_set_camera_type(uint32_t value); + public: + + // optional float duration = 2; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageCameraTransition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven_; + uint32_t camera_type_; + float duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ReleaseParticleIndex final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ReleaseParticleIndex) */ { + public: + inline CUserMsg_ParticleManager_ReleaseParticleIndex() : CUserMsg_ParticleManager_ReleaseParticleIndex(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ReleaseParticleIndex(const CUserMsg_ParticleManager_ReleaseParticleIndex& from); + CUserMsg_ParticleManager_ReleaseParticleIndex(CUserMsg_ParticleManager_ReleaseParticleIndex&& from) noexcept + : CUserMsg_ParticleManager_ReleaseParticleIndex() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ReleaseParticleIndex& operator=(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ReleaseParticleIndex& operator=(CUserMsg_ParticleManager_ReleaseParticleIndex&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ReleaseParticleIndex& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ReleaseParticleIndex* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(CUserMsg_ParticleManager_ReleaseParticleIndex& a, CUserMsg_ParticleManager_ReleaseParticleIndex& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ReleaseParticleIndex* 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(CUserMsg_ParticleManager_ReleaseParticleIndex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ReleaseParticleIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMsg_ParticleManager_ReleaseParticleIndex& 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 "CUserMsg_ParticleManager.ReleaseParticleIndex"; + } + protected: + explicit CUserMsg_ParticleManager_ReleaseParticleIndex(::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:CUserMsg_ParticleManager.ReleaseParticleIndex) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_CreateParticle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.CreateParticle) */ { + public: + inline CUserMsg_ParticleManager_CreateParticle() : CUserMsg_ParticleManager_CreateParticle(nullptr) {} + ~CUserMsg_ParticleManager_CreateParticle() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_CreateParticle(const CUserMsg_ParticleManager_CreateParticle& from); + CUserMsg_ParticleManager_CreateParticle(CUserMsg_ParticleManager_CreateParticle&& from) noexcept + : CUserMsg_ParticleManager_CreateParticle() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_CreateParticle& operator=(const CUserMsg_ParticleManager_CreateParticle& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_CreateParticle& operator=(CUserMsg_ParticleManager_CreateParticle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_CreateParticle& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_CreateParticle* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_CreateParticle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(CUserMsg_ParticleManager_CreateParticle& a, CUserMsg_ParticleManager_CreateParticle& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_CreateParticle* 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(CUserMsg_ParticleManager_CreateParticle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_CreateParticle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_CreateParticle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_CreateParticle& from) { + CUserMsg_ParticleManager_CreateParticle::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(CUserMsg_ParticleManager_CreateParticle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.CreateParticle"; + } + protected: + explicit CUserMsg_ParticleManager_CreateParticle(::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 { + kControlPointConfigurationFieldNumber = 7, + kAggregationPositionFieldNumber = 10, + kParticleNameIndexFieldNumber = 1, + kAttachTypeFieldNumber = 2, + kTeamBehaviorFieldNumber = 6, + kApplyVoiceBanRulesFieldNumber = 5, + kClusterFieldNumber = 8, + kEndcapTimeFieldNumber = 9, + kEntityHandleFieldNumber = 3, + kEntityHandleForModifiersFieldNumber = 4, + }; + // optional string control_point_configuration = 7; + bool has_control_point_configuration() const; + private: + bool _internal_has_control_point_configuration() const; + public: + void clear_control_point_configuration(); + const std::string& control_point_configuration() const; + template + void set_control_point_configuration(ArgT0&& arg0, ArgT... args); + std::string* mutable_control_point_configuration(); + PROTOBUF_NODISCARD std::string* release_control_point_configuration(); + void set_allocated_control_point_configuration(std::string* control_point_configuration); + private: + const std::string& _internal_control_point_configuration() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_control_point_configuration(const std::string& value); + std::string* _internal_mutable_control_point_configuration(); + public: + + // optional .CMsgVector aggregation_position = 10; + bool has_aggregation_position() const; + private: + bool _internal_has_aggregation_position() const; + public: + void clear_aggregation_position(); + const ::CMsgVector& aggregation_position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_aggregation_position(); + ::CMsgVector* mutable_aggregation_position(); + void set_allocated_aggregation_position(::CMsgVector* aggregation_position); + private: + const ::CMsgVector& _internal_aggregation_position() const; + ::CMsgVector* _internal_mutable_aggregation_position(); + public: + void unsafe_arena_set_allocated_aggregation_position( + ::CMsgVector* aggregation_position); + ::CMsgVector* unsafe_arena_release_aggregation_position(); + + // optional fixed64 particle_name_index = 1; + bool has_particle_name_index() const; + private: + bool _internal_has_particle_name_index() const; + public: + void clear_particle_name_index(); + uint64_t particle_name_index() const; + void set_particle_name_index(uint64_t value); + private: + uint64_t _internal_particle_name_index() const; + void _internal_set_particle_name_index(uint64_t value); + public: + + // optional int32 attach_type = 2; + bool has_attach_type() const; + private: + bool _internal_has_attach_type() const; + public: + void clear_attach_type(); + int32_t attach_type() const; + void set_attach_type(int32_t value); + private: + int32_t _internal_attach_type() const; + void _internal_set_attach_type(int32_t value); + public: + + // optional int32 team_behavior = 6; + bool has_team_behavior() const; + private: + bool _internal_has_team_behavior() const; + public: + void clear_team_behavior(); + int32_t team_behavior() const; + void set_team_behavior(int32_t value); + private: + int32_t _internal_team_behavior() const; + void _internal_set_team_behavior(int32_t value); + public: + + // optional bool apply_voice_ban_rules = 5; + bool has_apply_voice_ban_rules() const; + private: + bool _internal_has_apply_voice_ban_rules() const; + public: + void clear_apply_voice_ban_rules(); + bool apply_voice_ban_rules() const; + void set_apply_voice_ban_rules(bool value); + private: + bool _internal_apply_voice_ban_rules() const; + void _internal_set_apply_voice_ban_rules(bool value); + public: + + // optional bool cluster = 8; + bool has_cluster() const; + private: + bool _internal_has_cluster() const; + public: + void clear_cluster(); + bool cluster() const; + void set_cluster(bool value); + private: + bool _internal_cluster() const; + void _internal_set_cluster(bool value); + public: + + // optional float endcap_time = 9; + bool has_endcap_time() const; + private: + bool _internal_has_endcap_time() const; + public: + void clear_endcap_time(); + float endcap_time() const; + void set_endcap_time(float value); + private: + float _internal_endcap_time() const; + void _internal_set_endcap_time(float value); + public: + + // optional uint32 entity_handle = 3 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; + bool has_entity_handle_for_modifiers() const; + private: + bool _internal_has_entity_handle_for_modifiers() const; + public: + void clear_entity_handle_for_modifiers(); + uint32_t entity_handle_for_modifiers() const; + void set_entity_handle_for_modifiers(uint32_t value); + private: + uint32_t _internal_entity_handle_for_modifiers() const; + void _internal_set_entity_handle_for_modifiers(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.CreateParticle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr control_point_configuration_; + ::CMsgVector* aggregation_position_; + uint64_t particle_name_index_; + int32_t attach_type_; + int32_t team_behavior_; + bool apply_voice_ban_rules_; + bool cluster_; + float endcap_time_; + uint32_t entity_handle_; + uint32_t entity_handle_for_modifiers_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_DestroyParticle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticle) */ { + public: + inline CUserMsg_ParticleManager_DestroyParticle() : CUserMsg_ParticleManager_DestroyParticle(nullptr) {} + ~CUserMsg_ParticleManager_DestroyParticle() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_DestroyParticle(const CUserMsg_ParticleManager_DestroyParticle& from); + CUserMsg_ParticleManager_DestroyParticle(CUserMsg_ParticleManager_DestroyParticle&& from) noexcept + : CUserMsg_ParticleManager_DestroyParticle() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_DestroyParticle& operator=(const CUserMsg_ParticleManager_DestroyParticle& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_DestroyParticle& operator=(CUserMsg_ParticleManager_DestroyParticle&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_DestroyParticle& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_DestroyParticle* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_DestroyParticle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(CUserMsg_ParticleManager_DestroyParticle& a, CUserMsg_ParticleManager_DestroyParticle& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_DestroyParticle* 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(CUserMsg_ParticleManager_DestroyParticle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_DestroyParticle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_DestroyParticle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_DestroyParticle& from) { + CUserMsg_ParticleManager_DestroyParticle::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(CUserMsg_ParticleManager_DestroyParticle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.DestroyParticle"; + } + protected: + explicit CUserMsg_ParticleManager_DestroyParticle(::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 { + kDestroyImmediatelyFieldNumber = 1, + }; + // optional bool destroy_immediately = 1; + bool has_destroy_immediately() const; + private: + bool _internal_has_destroy_immediately() const; + public: + void clear_destroy_immediately(); + bool destroy_immediately() const; + void set_destroy_immediately(bool value); + private: + bool _internal_destroy_immediately() const; + void _internal_set_destroy_immediately(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool destroy_immediately_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_DestroyParticleInvolving final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticleInvolving) */ { + public: + inline CUserMsg_ParticleManager_DestroyParticleInvolving() : CUserMsg_ParticleManager_DestroyParticleInvolving(nullptr) {} + ~CUserMsg_ParticleManager_DestroyParticleInvolving() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolving(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_DestroyParticleInvolving(const CUserMsg_ParticleManager_DestroyParticleInvolving& from); + CUserMsg_ParticleManager_DestroyParticleInvolving(CUserMsg_ParticleManager_DestroyParticleInvolving&& from) noexcept + : CUserMsg_ParticleManager_DestroyParticleInvolving() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_DestroyParticleInvolving& operator=(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_DestroyParticleInvolving& operator=(CUserMsg_ParticleManager_DestroyParticleInvolving&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_DestroyParticleInvolving& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_DestroyParticleInvolving* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(CUserMsg_ParticleManager_DestroyParticleInvolving& a, CUserMsg_ParticleManager_DestroyParticleInvolving& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_DestroyParticleInvolving* 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(CUserMsg_ParticleManager_DestroyParticleInvolving* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_DestroyParticleInvolving* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_DestroyParticleInvolving& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { + CUserMsg_ParticleManager_DestroyParticleInvolving::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(CUserMsg_ParticleManager_DestroyParticleInvolving* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.DestroyParticleInvolving"; + } + protected: + explicit CUserMsg_ParticleManager_DestroyParticleInvolving(::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 { + kDestroyImmediatelyFieldNumber = 1, + kEntityHandleFieldNumber = 3, + }; + // optional bool destroy_immediately = 1; + bool has_destroy_immediately() const; + private: + bool _internal_has_destroy_immediately() const; + public: + void clear_destroy_immediately(); + bool destroy_immediately() const; + void set_destroy_immediately(bool value); + private: + bool _internal_destroy_immediately() const; + void _internal_set_destroy_immediately(bool value); + public: + + // optional uint32 entity_handle = 3 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticleInvolving) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool destroy_immediately_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_DestroyParticleNamed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticleNamed) */ { + public: + inline CUserMsg_ParticleManager_DestroyParticleNamed() : CUserMsg_ParticleManager_DestroyParticleNamed(nullptr) {} + ~CUserMsg_ParticleManager_DestroyParticleNamed() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_DestroyParticleNamed(const CUserMsg_ParticleManager_DestroyParticleNamed& from); + CUserMsg_ParticleManager_DestroyParticleNamed(CUserMsg_ParticleManager_DestroyParticleNamed&& from) noexcept + : CUserMsg_ParticleManager_DestroyParticleNamed() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_DestroyParticleNamed& operator=(const CUserMsg_ParticleManager_DestroyParticleNamed& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_DestroyParticleNamed& operator=(CUserMsg_ParticleManager_DestroyParticleNamed&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_DestroyParticleNamed& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_DestroyParticleNamed* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(CUserMsg_ParticleManager_DestroyParticleNamed& a, CUserMsg_ParticleManager_DestroyParticleNamed& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_DestroyParticleNamed* 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(CUserMsg_ParticleManager_DestroyParticleNamed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_DestroyParticleNamed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_DestroyParticleNamed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_DestroyParticleNamed& from) { + CUserMsg_ParticleManager_DestroyParticleNamed::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(CUserMsg_ParticleManager_DestroyParticleNamed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.DestroyParticleNamed"; + } + protected: + explicit CUserMsg_ParticleManager_DestroyParticleNamed(::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 { + kParticleNameIndexFieldNumber = 1, + kDestroyImmediatelyFieldNumber = 3, + kPlayEndcapFieldNumber = 4, + kEntityHandleFieldNumber = 2, + }; + // optional fixed64 particle_name_index = 1; + bool has_particle_name_index() const; + private: + bool _internal_has_particle_name_index() const; + public: + void clear_particle_name_index(); + uint64_t particle_name_index() const; + void set_particle_name_index(uint64_t value); + private: + uint64_t _internal_particle_name_index() const; + void _internal_set_particle_name_index(uint64_t value); + public: + + // optional bool destroy_immediately = 3; + bool has_destroy_immediately() const; + private: + bool _internal_has_destroy_immediately() const; + public: + void clear_destroy_immediately(); + bool destroy_immediately() const; + void set_destroy_immediately(bool value); + private: + bool _internal_destroy_immediately() const; + void _internal_set_destroy_immediately(bool value); + public: + + // optional bool play_endcap = 4; + bool has_play_endcap() const; + private: + bool _internal_has_play_endcap() const; + public: + void clear_play_endcap(); + bool play_endcap() const; + void set_play_endcap(bool value); + private: + bool _internal_play_endcap() const; + void _internal_set_play_endcap(bool value); + public: + + // optional uint32 entity_handle = 2 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticleNamed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint64_t particle_name_index_; + bool destroy_immediately_; + bool play_endcap_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from); + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* 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(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { + CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::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(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticle_OBSOLETE"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::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 { + kPositionFieldNumber = 2, + kControlPointFieldNumber = 1, + }; + // optional .CMsgVector position = 2; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from); + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* 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(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { + CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::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(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::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 { + kForwardFieldNumber = 2, + kControlPointFieldNumber = 1, + }; + // optional .CMsgVector forward = 2; + bool has_forward() const; + private: + bool _internal_has_forward() const; + public: + void clear_forward(); + const ::CMsgVector& forward() const; + PROTOBUF_NODISCARD ::CMsgVector* release_forward(); + ::CMsgVector* mutable_forward(); + void set_allocated_forward(::CMsgVector* forward); + private: + const ::CMsgVector& _internal_forward() const; + ::CMsgVector* _internal_mutable_forward(); + public: + void unsafe_arena_set_allocated_forward( + ::CMsgVector* forward); + ::CMsgVector* unsafe_arena_release_forward(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* forward_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from); + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* 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(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { + CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::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(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::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 { + kForwardFieldNumber = 2, + kDeprecatedRightFieldNumber = 3, + kUpFieldNumber = 4, + kLeftFieldNumber = 5, + kControlPointFieldNumber = 1, + }; + // optional .CMsgVector forward = 2; + bool has_forward() const; + private: + bool _internal_has_forward() const; + public: + void clear_forward(); + const ::CMsgVector& forward() const; + PROTOBUF_NODISCARD ::CMsgVector* release_forward(); + ::CMsgVector* mutable_forward(); + void set_allocated_forward(::CMsgVector* forward); + private: + const ::CMsgVector& _internal_forward() const; + ::CMsgVector* _internal_mutable_forward(); + public: + void unsafe_arena_set_allocated_forward( + ::CMsgVector* forward); + ::CMsgVector* unsafe_arena_release_forward(); + + // optional .CMsgVector deprecated_right = 3; + bool has_deprecated_right() const; + private: + bool _internal_has_deprecated_right() const; + public: + void clear_deprecated_right(); + const ::CMsgVector& deprecated_right() const; + PROTOBUF_NODISCARD ::CMsgVector* release_deprecated_right(); + ::CMsgVector* mutable_deprecated_right(); + void set_allocated_deprecated_right(::CMsgVector* deprecated_right); + private: + const ::CMsgVector& _internal_deprecated_right() const; + ::CMsgVector* _internal_mutable_deprecated_right(); + public: + void unsafe_arena_set_allocated_deprecated_right( + ::CMsgVector* deprecated_right); + ::CMsgVector* unsafe_arena_release_deprecated_right(); + + // optional .CMsgVector up = 4; + bool has_up() const; + private: + bool _internal_has_up() const; + public: + void clear_up(); + const ::CMsgVector& up() const; + PROTOBUF_NODISCARD ::CMsgVector* release_up(); + ::CMsgVector* mutable_up(); + void set_allocated_up(::CMsgVector* up); + private: + const ::CMsgVector& _internal_up() const; + ::CMsgVector* _internal_mutable_up(); + public: + void unsafe_arena_set_allocated_up( + ::CMsgVector* up); + ::CMsgVector* unsafe_arena_release_up(); + + // optional .CMsgVector left = 5; + bool has_left() const; + private: + bool _internal_has_left() const; + public: + void clear_left(); + const ::CMsgVector& left() const; + PROTOBUF_NODISCARD ::CMsgVector* release_left(); + ::CMsgVector* mutable_left(); + void set_allocated_left(::CMsgVector* left); + private: + const ::CMsgVector& _internal_left() const; + ::CMsgVector* _internal_mutable_left(); + public: + void unsafe_arena_set_allocated_left( + ::CMsgVector* left); + ::CMsgVector* unsafe_arena_release_left(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* forward_; + ::CMsgVector* deprecated_right_; + ::CMsgVector* up_; + ::CMsgVector* left_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleTransform final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleTransform) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleTransform() : CUserMsg_ParticleManager_UpdateParticleTransform(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleTransform() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransform(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleTransform(const CUserMsg_ParticleManager_UpdateParticleTransform& from); + CUserMsg_ParticleManager_UpdateParticleTransform(CUserMsg_ParticleManager_UpdateParticleTransform&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleTransform() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleTransform& operator=(const CUserMsg_ParticleManager_UpdateParticleTransform& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleTransform& operator=(CUserMsg_ParticleManager_UpdateParticleTransform&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleTransform& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleTransform* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleTransform& a, CUserMsg_ParticleManager_UpdateParticleTransform& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleTransform* 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(CUserMsg_ParticleManager_UpdateParticleTransform* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleTransform* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleTransform& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleTransform& from) { + CUserMsg_ParticleManager_UpdateParticleTransform::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(CUserMsg_ParticleManager_UpdateParticleTransform* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleTransform"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleTransform(::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 { + kPositionFieldNumber = 2, + kOrientationFieldNumber = 3, + kControlPointFieldNumber = 1, + kInterpolationIntervalFieldNumber = 4, + }; + // optional .CMsgVector position = 2; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional .CMsgQuaternion orientation = 3; + bool has_orientation() const; + private: + bool _internal_has_orientation() const; + public: + void clear_orientation(); + const ::CMsgQuaternion& orientation() const; + PROTOBUF_NODISCARD ::CMsgQuaternion* release_orientation(); + ::CMsgQuaternion* mutable_orientation(); + void set_allocated_orientation(::CMsgQuaternion* orientation); + private: + const ::CMsgQuaternion& _internal_orientation() const; + ::CMsgQuaternion* _internal_mutable_orientation(); + public: + void unsafe_arena_set_allocated_orientation( + ::CMsgQuaternion* orientation); + ::CMsgQuaternion* unsafe_arena_release_orientation(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // optional float interpolation_interval = 4; + bool has_interpolation_interval() const; + private: + bool _internal_has_interpolation_interval() const; + public: + void clear_interpolation_interval(); + float interpolation_interval() const; + void set_interpolation_interval(float value); + private: + float _internal_interpolation_interval() const; + void _internal_set_interpolation_interval(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleTransform) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + ::CMsgQuaternion* orientation_; + int32_t control_point_; + float interpolation_interval_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleFallback final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleFallback) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleFallback() : CUserMsg_ParticleManager_UpdateParticleFallback(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleFallback() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallback(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleFallback(const CUserMsg_ParticleManager_UpdateParticleFallback& from); + CUserMsg_ParticleManager_UpdateParticleFallback(CUserMsg_ParticleManager_UpdateParticleFallback&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleFallback() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleFallback& operator=(const CUserMsg_ParticleManager_UpdateParticleFallback& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleFallback& operator=(CUserMsg_ParticleManager_UpdateParticleFallback&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleFallback& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleFallback* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleFallback& a, CUserMsg_ParticleManager_UpdateParticleFallback& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleFallback* 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(CUserMsg_ParticleManager_UpdateParticleFallback* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleFallback* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFallback& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleFallback& from) { + CUserMsg_ParticleManager_UpdateParticleFallback::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(CUserMsg_ParticleManager_UpdateParticleFallback* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleFallback"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleFallback(::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 { + kPositionFieldNumber = 2, + kControlPointFieldNumber = 1, + }; + // optional .CMsgVector position = 2; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleFallback) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleOffset final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleOffset) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleOffset() : CUserMsg_ParticleManager_UpdateParticleOffset(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleOffset() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffset(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleOffset(const CUserMsg_ParticleManager_UpdateParticleOffset& from); + CUserMsg_ParticleManager_UpdateParticleOffset(CUserMsg_ParticleManager_UpdateParticleOffset&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleOffset() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleOffset& operator=(const CUserMsg_ParticleManager_UpdateParticleOffset& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleOffset& operator=(CUserMsg_ParticleManager_UpdateParticleOffset&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleOffset& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleOffset* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleOffset& a, CUserMsg_ParticleManager_UpdateParticleOffset& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleOffset* 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(CUserMsg_ParticleManager_UpdateParticleOffset* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleOffset* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOffset& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleOffset& from) { + CUserMsg_ParticleManager_UpdateParticleOffset::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(CUserMsg_ParticleManager_UpdateParticleOffset* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleOffset"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleOffset(::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 { + kOriginOffsetFieldNumber = 2, + kAngleOffsetFieldNumber = 3, + kControlPointFieldNumber = 1, + }; + // optional .CMsgVector origin_offset = 2; + bool has_origin_offset() const; + private: + bool _internal_has_origin_offset() const; + public: + void clear_origin_offset(); + const ::CMsgVector& origin_offset() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin_offset(); + ::CMsgVector* mutable_origin_offset(); + void set_allocated_origin_offset(::CMsgVector* origin_offset); + private: + const ::CMsgVector& _internal_origin_offset() const; + ::CMsgVector* _internal_mutable_origin_offset(); + public: + void unsafe_arena_set_allocated_origin_offset( + ::CMsgVector* origin_offset); + ::CMsgVector* unsafe_arena_release_origin_offset(); + + // optional .CMsgQAngle angle_offset = 3; + bool has_angle_offset() const; + private: + bool _internal_has_angle_offset() const; + public: + void clear_angle_offset(); + const ::CMsgQAngle& angle_offset() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angle_offset(); + ::CMsgQAngle* mutable_angle_offset(); + void set_allocated_angle_offset(::CMsgQAngle* angle_offset); + private: + const ::CMsgQAngle& _internal_angle_offset() const; + ::CMsgQAngle* _internal_mutable_angle_offset(); + public: + void unsafe_arena_set_allocated_angle_offset( + ::CMsgQAngle* angle_offset); + ::CMsgQAngle* unsafe_arena_release_angle_offset(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleOffset) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_offset_; + ::CMsgQAngle* angle_offset_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleEnt final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleEnt) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleEnt() : CUserMsg_ParticleManager_UpdateParticleEnt(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleEnt() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEnt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleEnt(const CUserMsg_ParticleManager_UpdateParticleEnt& from); + CUserMsg_ParticleManager_UpdateParticleEnt(CUserMsg_ParticleManager_UpdateParticleEnt&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleEnt() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleEnt& operator=(const CUserMsg_ParticleManager_UpdateParticleEnt& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleEnt& operator=(CUserMsg_ParticleManager_UpdateParticleEnt&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleEnt& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleEnt* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleEnt& a, CUserMsg_ParticleManager_UpdateParticleEnt& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleEnt* 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(CUserMsg_ParticleManager_UpdateParticleEnt* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleEnt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleEnt& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleEnt& from) { + CUserMsg_ParticleManager_UpdateParticleEnt::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(CUserMsg_ParticleManager_UpdateParticleEnt* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleEnt"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleEnt(::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 { + kFallbackPositionFieldNumber = 5, + kOffsetPositionFieldNumber = 7, + kOffsetAnglesFieldNumber = 8, + kControlPointFieldNumber = 1, + kAttachTypeFieldNumber = 3, + kAttachmentFieldNumber = 4, + kIncludeWearablesFieldNumber = 6, + kEntityHandleFieldNumber = 2, + }; + // optional .CMsgVector fallback_position = 5; + bool has_fallback_position() const; + private: + bool _internal_has_fallback_position() const; + public: + void clear_fallback_position(); + const ::CMsgVector& fallback_position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fallback_position(); + ::CMsgVector* mutable_fallback_position(); + void set_allocated_fallback_position(::CMsgVector* fallback_position); + private: + const ::CMsgVector& _internal_fallback_position() const; + ::CMsgVector* _internal_mutable_fallback_position(); + public: + void unsafe_arena_set_allocated_fallback_position( + ::CMsgVector* fallback_position); + ::CMsgVector* unsafe_arena_release_fallback_position(); + + // optional .CMsgVector offset_position = 7; + bool has_offset_position() const; + private: + bool _internal_has_offset_position() const; + public: + void clear_offset_position(); + const ::CMsgVector& offset_position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_offset_position(); + ::CMsgVector* mutable_offset_position(); + void set_allocated_offset_position(::CMsgVector* offset_position); + private: + const ::CMsgVector& _internal_offset_position() const; + ::CMsgVector* _internal_mutable_offset_position(); + public: + void unsafe_arena_set_allocated_offset_position( + ::CMsgVector* offset_position); + ::CMsgVector* unsafe_arena_release_offset_position(); + + // optional .CMsgQAngle offset_angles = 8; + bool has_offset_angles() const; + private: + bool _internal_has_offset_angles() const; + public: + void clear_offset_angles(); + const ::CMsgQAngle& offset_angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_offset_angles(); + ::CMsgQAngle* mutable_offset_angles(); + void set_allocated_offset_angles(::CMsgQAngle* offset_angles); + private: + const ::CMsgQAngle& _internal_offset_angles() const; + ::CMsgQAngle* _internal_mutable_offset_angles(); + public: + void unsafe_arena_set_allocated_offset_angles( + ::CMsgQAngle* offset_angles); + ::CMsgQAngle* unsafe_arena_release_offset_angles(); + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // optional int32 attach_type = 3; + bool has_attach_type() const; + private: + bool _internal_has_attach_type() const; + public: + void clear_attach_type(); + int32_t attach_type() const; + void set_attach_type(int32_t value); + private: + int32_t _internal_attach_type() const; + void _internal_set_attach_type(int32_t value); + public: + + // optional int32 attachment = 4; + bool has_attachment() const; + private: + bool _internal_has_attachment() const; + public: + void clear_attachment(); + int32_t attachment() const; + void set_attachment(int32_t value); + private: + int32_t _internal_attachment() const; + void _internal_set_attachment(int32_t value); + public: + + // optional bool include_wearables = 6; + bool has_include_wearables() const; + private: + bool _internal_has_include_wearables() const; + public: + void clear_include_wearables(); + bool include_wearables() const; + void set_include_wearables(bool value); + private: + bool _internal_include_wearables() const; + void _internal_set_include_wearables(bool value); + public: + + // optional uint32 entity_handle = 2 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleEnt) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* fallback_position_; + ::CMsgVector* offset_position_; + ::CMsgQAngle* offset_angles_; + int32_t control_point_; + int32_t attach_type_; + int32_t attachment_; + bool include_wearables_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleSetFrozen final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleSetFrozen) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleSetFrozen() : CUserMsg_ParticleManager_UpdateParticleSetFrozen(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleSetFrozen() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozen(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleSetFrozen(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from); + CUserMsg_ParticleManager_UpdateParticleSetFrozen(CUserMsg_ParticleManager_UpdateParticleSetFrozen&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleSetFrozen() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(CUserMsg_ParticleManager_UpdateParticleSetFrozen&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleSetFrozen& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleSetFrozen* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleSetFrozen& a, CUserMsg_ParticleManager_UpdateParticleSetFrozen& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* 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(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleSetFrozen* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { + CUserMsg_ParticleManager_UpdateParticleSetFrozen::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(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleSetFrozen"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleSetFrozen(::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 { + kSetFrozenFieldNumber = 1, + kTransitionDurationFieldNumber = 2, + }; + // optional bool set_frozen = 1; + bool has_set_frozen() const; + private: + bool _internal_has_set_frozen() const; + public: + void clear_set_frozen(); + bool set_frozen() const; + void set_set_frozen(bool value); + private: + bool _internal_set_frozen() const; + void _internal_set_set_frozen(bool value); + public: + + // optional float transition_duration = 2; + bool has_transition_duration() const; + private: + bool _internal_has_transition_duration() const; + public: + void clear_transition_duration(); + float transition_duration() const; + void set_transition_duration(float value); + private: + float _internal_transition_duration() const; + void _internal_set_transition_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleSetFrozen) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool set_frozen_; + float transition_duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateParticleShouldDraw final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleShouldDraw) */ { + public: + inline CUserMsg_ParticleManager_UpdateParticleShouldDraw() : CUserMsg_ParticleManager_UpdateParticleShouldDraw(nullptr) {} + ~CUserMsg_ParticleManager_UpdateParticleShouldDraw() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDraw(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateParticleShouldDraw(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from); + CUserMsg_ParticleManager_UpdateParticleShouldDraw(CUserMsg_ParticleManager_UpdateParticleShouldDraw&& from) noexcept + : CUserMsg_ParticleManager_UpdateParticleShouldDraw() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateParticleShouldDraw& operator=(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateParticleShouldDraw& operator=(CUserMsg_ParticleManager_UpdateParticleShouldDraw&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateParticleShouldDraw& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateParticleShouldDraw* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CUserMsg_ParticleManager_UpdateParticleShouldDraw& a, CUserMsg_ParticleManager_UpdateParticleShouldDraw& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* 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(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateParticleShouldDraw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { + CUserMsg_ParticleManager_UpdateParticleShouldDraw::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(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateParticleShouldDraw"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateParticleShouldDraw(::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 { + kShouldDrawFieldNumber = 1, + }; + // optional bool should_draw = 1; + bool has_should_draw() const; + private: + bool _internal_has_should_draw() const; + public: + void clear_should_draw(); + bool should_draw() const; + void set_should_draw(bool value); + private: + bool _internal_should_draw() const; + void _internal_set_should_draw(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleShouldDraw) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool should_draw_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ChangeControlPointAttachment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ChangeControlPointAttachment) */ { + public: + inline CUserMsg_ParticleManager_ChangeControlPointAttachment() : CUserMsg_ParticleManager_ChangeControlPointAttachment(nullptr) {} + ~CUserMsg_ParticleManager_ChangeControlPointAttachment() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ChangeControlPointAttachment(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from); + CUserMsg_ParticleManager_ChangeControlPointAttachment(CUserMsg_ParticleManager_ChangeControlPointAttachment&& from) noexcept + : CUserMsg_ParticleManager_ChangeControlPointAttachment() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ChangeControlPointAttachment& operator=(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ChangeControlPointAttachment& operator=(CUserMsg_ParticleManager_ChangeControlPointAttachment&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ChangeControlPointAttachment& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ChangeControlPointAttachment* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CUserMsg_ParticleManager_ChangeControlPointAttachment& a, CUserMsg_ParticleManager_ChangeControlPointAttachment& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ChangeControlPointAttachment* 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(CUserMsg_ParticleManager_ChangeControlPointAttachment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ChangeControlPointAttachment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { + CUserMsg_ParticleManager_ChangeControlPointAttachment::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(CUserMsg_ParticleManager_ChangeControlPointAttachment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.ChangeControlPointAttachment"; + } + protected: + explicit CUserMsg_ParticleManager_ChangeControlPointAttachment(::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 { + kAttachmentOldFieldNumber = 1, + kAttachmentNewFieldNumber = 2, + kEntityHandleFieldNumber = 3, + }; + // optional int32 attachment_old = 1; + bool has_attachment_old() const; + private: + bool _internal_has_attachment_old() const; + public: + void clear_attachment_old(); + int32_t attachment_old() const; + void set_attachment_old(int32_t value); + private: + int32_t _internal_attachment_old() const; + void _internal_set_attachment_old(int32_t value); + public: + + // optional int32 attachment_new = 2; + bool has_attachment_new() const; + private: + bool _internal_has_attachment_new() const; + public: + void clear_attachment_new(); + int32_t attachment_new() const; + void set_attachment_new(int32_t value); + private: + int32_t _internal_attachment_new() const; + void _internal_set_attachment_new(int32_t value); + public: + + // optional uint32 entity_handle = 3 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ChangeControlPointAttachment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t attachment_old_; + int32_t attachment_new_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateEntityPosition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateEntityPosition) */ { + public: + inline CUserMsg_ParticleManager_UpdateEntityPosition() : CUserMsg_ParticleManager_UpdateEntityPosition(nullptr) {} + ~CUserMsg_ParticleManager_UpdateEntityPosition() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateEntityPosition(const CUserMsg_ParticleManager_UpdateEntityPosition& from); + CUserMsg_ParticleManager_UpdateEntityPosition(CUserMsg_ParticleManager_UpdateEntityPosition&& from) noexcept + : CUserMsg_ParticleManager_UpdateEntityPosition() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateEntityPosition& operator=(const CUserMsg_ParticleManager_UpdateEntityPosition& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateEntityPosition& operator=(CUserMsg_ParticleManager_UpdateEntityPosition&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateEntityPosition& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateEntityPosition* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CUserMsg_ParticleManager_UpdateEntityPosition& a, CUserMsg_ParticleManager_UpdateEntityPosition& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateEntityPosition* 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(CUserMsg_ParticleManager_UpdateEntityPosition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateEntityPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateEntityPosition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateEntityPosition& from) { + CUserMsg_ParticleManager_UpdateEntityPosition::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(CUserMsg_ParticleManager_UpdateEntityPosition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateEntityPosition"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateEntityPosition(::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 { + kPositionFieldNumber = 2, + kEntityHandleFieldNumber = 1, + }; + // optional .CMsgVector position = 2; + bool has_position() const; + private: + bool _internal_has_position() const; + public: + void clear_position(); + const ::CMsgVector& position() const; + PROTOBUF_NODISCARD ::CMsgVector* release_position(); + ::CMsgVector* mutable_position(); + void set_allocated_position(::CMsgVector* position); + private: + const ::CMsgVector& _internal_position() const; + ::CMsgVector* _internal_mutable_position(); + public: + void unsafe_arena_set_allocated_position( + ::CMsgVector* position); + ::CMsgVector* unsafe_arena_release_position(); + + // optional uint32 entity_handle = 1 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateEntityPosition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* position_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleFoWProperties final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleFoWProperties) */ { + public: + inline CUserMsg_ParticleManager_SetParticleFoWProperties() : CUserMsg_ParticleManager_SetParticleFoWProperties(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleFoWProperties() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWProperties(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleFoWProperties(const CUserMsg_ParticleManager_SetParticleFoWProperties& from); + CUserMsg_ParticleManager_SetParticleFoWProperties(CUserMsg_ParticleManager_SetParticleFoWProperties&& from) noexcept + : CUserMsg_ParticleManager_SetParticleFoWProperties() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleFoWProperties& operator=(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleFoWProperties& operator=(CUserMsg_ParticleManager_SetParticleFoWProperties&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleFoWProperties& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleFoWProperties* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CUserMsg_ParticleManager_SetParticleFoWProperties& a, CUserMsg_ParticleManager_SetParticleFoWProperties& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleFoWProperties* 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(CUserMsg_ParticleManager_SetParticleFoWProperties* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleFoWProperties* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleFoWProperties& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { + CUserMsg_ParticleManager_SetParticleFoWProperties::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(CUserMsg_ParticleManager_SetParticleFoWProperties* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleFoWProperties"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleFoWProperties(::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 { + kFowControlPointFieldNumber = 1, + kFowControlPoint2FieldNumber = 2, + kFowRadiusFieldNumber = 3, + }; + // optional int32 fow_control_point = 1; + bool has_fow_control_point() const; + private: + bool _internal_has_fow_control_point() const; + public: + void clear_fow_control_point(); + int32_t fow_control_point() const; + void set_fow_control_point(int32_t value); + private: + int32_t _internal_fow_control_point() const; + void _internal_set_fow_control_point(int32_t value); + public: + + // optional int32 fow_control_point2 = 2; + bool has_fow_control_point2() const; + private: + bool _internal_has_fow_control_point2() const; + public: + void clear_fow_control_point2(); + int32_t fow_control_point2() const; + void set_fow_control_point2(int32_t value); + private: + int32_t _internal_fow_control_point2() const; + void _internal_set_fow_control_point2(int32_t value); + public: + + // optional float fow_radius = 3; + bool has_fow_radius() const; + private: + bool _internal_has_fow_radius() const; + public: + void clear_fow_radius(); + float fow_radius() const; + void set_fow_radius(float value); + private: + float _internal_fow_radius() const; + void _internal_set_fow_radius(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleFoWProperties) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t fow_control_point_; + int32_t fow_control_point2_; + float fow_radius_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleShouldCheckFoW final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) */ { + public: + inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW() : CUserMsg_ParticleManager_SetParticleShouldCheckFoW(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleShouldCheckFoW() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleShouldCheckFoW(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from); + CUserMsg_ParticleManager_SetParticleShouldCheckFoW(CUserMsg_ParticleManager_SetParticleShouldCheckFoW&& from) noexcept + : CUserMsg_ParticleManager_SetParticleShouldCheckFoW() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW& operator=(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW& operator=(CUserMsg_ParticleManager_SetParticleShouldCheckFoW&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleShouldCheckFoW& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleShouldCheckFoW* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW& a, CUserMsg_ParticleManager_SetParticleShouldCheckFoW& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* 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(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleShouldCheckFoW* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { + CUserMsg_ParticleManager_SetParticleShouldCheckFoW::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(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleShouldCheckFoW"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::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 { + kCheckFowFieldNumber = 1, + }; + // optional bool check_fow = 1; + bool has_check_fow() const; + private: + bool _internal_has_check_fow() const; + public: + void clear_check_fow(); + bool check_fow() const; + void set_check_fow(bool value); + private: + bool _internal_check_fow() const; + void _internal_set_check_fow(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool check_fow_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetControlPointModel final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetControlPointModel) */ { + public: + inline CUserMsg_ParticleManager_SetControlPointModel() : CUserMsg_ParticleManager_SetControlPointModel(nullptr) {} + ~CUserMsg_ParticleManager_SetControlPointModel() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetControlPointModel(const CUserMsg_ParticleManager_SetControlPointModel& from); + CUserMsg_ParticleManager_SetControlPointModel(CUserMsg_ParticleManager_SetControlPointModel&& from) noexcept + : CUserMsg_ParticleManager_SetControlPointModel() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetControlPointModel& operator=(const CUserMsg_ParticleManager_SetControlPointModel& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetControlPointModel& operator=(CUserMsg_ParticleManager_SetControlPointModel&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetControlPointModel& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetControlPointModel* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetControlPointModel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CUserMsg_ParticleManager_SetControlPointModel& a, CUserMsg_ParticleManager_SetControlPointModel& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetControlPointModel* 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(CUserMsg_ParticleManager_SetControlPointModel* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetControlPointModel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetControlPointModel& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetControlPointModel& from) { + CUserMsg_ParticleManager_SetControlPointModel::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(CUserMsg_ParticleManager_SetControlPointModel* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetControlPointModel"; + } + protected: + explicit CUserMsg_ParticleManager_SetControlPointModel(::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 { + kModelNameFieldNumber = 2, + kControlPointFieldNumber = 1, + }; + // optional string model_name = 2; + bool has_model_name() const; + private: + bool _internal_has_model_name() const; + public: + void clear_model_name(); + const std::string& model_name() const; + template + void set_model_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_model_name(); + PROTOBUF_NODISCARD std::string* release_model_name(); + void set_allocated_model_name(std::string* model_name); + private: + const std::string& _internal_model_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value); + std::string* _internal_mutable_model_name(); + public: + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetControlPointModel) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetControlPointSnapshot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetControlPointSnapshot) */ { + public: + inline CUserMsg_ParticleManager_SetControlPointSnapshot() : CUserMsg_ParticleManager_SetControlPointSnapshot(nullptr) {} + ~CUserMsg_ParticleManager_SetControlPointSnapshot() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetControlPointSnapshot(const CUserMsg_ParticleManager_SetControlPointSnapshot& from); + CUserMsg_ParticleManager_SetControlPointSnapshot(CUserMsg_ParticleManager_SetControlPointSnapshot&& from) noexcept + : CUserMsg_ParticleManager_SetControlPointSnapshot() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetControlPointSnapshot& operator=(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetControlPointSnapshot& operator=(CUserMsg_ParticleManager_SetControlPointSnapshot&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetControlPointSnapshot& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetControlPointSnapshot* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CUserMsg_ParticleManager_SetControlPointSnapshot& a, CUserMsg_ParticleManager_SetControlPointSnapshot& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetControlPointSnapshot* 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(CUserMsg_ParticleManager_SetControlPointSnapshot* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetControlPointSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetControlPointSnapshot& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { + CUserMsg_ParticleManager_SetControlPointSnapshot::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(CUserMsg_ParticleManager_SetControlPointSnapshot* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetControlPointSnapshot"; + } + protected: + explicit CUserMsg_ParticleManager_SetControlPointSnapshot(::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 { + kSnapshotNameFieldNumber = 2, + kControlPointFieldNumber = 1, + }; + // optional string snapshot_name = 2; + bool has_snapshot_name() const; + private: + bool _internal_has_snapshot_name() const; + public: + void clear_snapshot_name(); + const std::string& snapshot_name() const; + template + void set_snapshot_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_snapshot_name(); + PROTOBUF_NODISCARD std::string* release_snapshot_name(); + void set_allocated_snapshot_name(std::string* snapshot_name); + private: + const std::string& _internal_snapshot_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_snapshot_name(const std::string& value); + std::string* _internal_mutable_snapshot_name(); + public: + + // optional int32 control_point = 1; + bool has_control_point() const; + private: + bool _internal_has_control_point() const; + public: + void clear_control_point(); + int32_t control_point() const; + void set_control_point(int32_t value); + private: + int32_t _internal_control_point() const; + void _internal_set_control_point(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetControlPointSnapshot) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr snapshot_name_; + int32_t control_point_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleText final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleText) */ { + public: + inline CUserMsg_ParticleManager_SetParticleText() : CUserMsg_ParticleManager_SetParticleText(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleText() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleText(const CUserMsg_ParticleManager_SetParticleText& from); + CUserMsg_ParticleManager_SetParticleText(CUserMsg_ParticleManager_SetParticleText&& from) noexcept + : CUserMsg_ParticleManager_SetParticleText() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleText& operator=(const CUserMsg_ParticleManager_SetParticleText& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleText& operator=(CUserMsg_ParticleManager_SetParticleText&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleText& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleText* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleText_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CUserMsg_ParticleManager_SetParticleText& a, CUserMsg_ParticleManager_SetParticleText& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleText* 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(CUserMsg_ParticleManager_SetParticleText* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleText& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleText& from) { + CUserMsg_ParticleManager_SetParticleText::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(CUserMsg_ParticleManager_SetParticleText* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleText"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleText(::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, + }; + // optional string text = 1; + bool has_text() const; + private: + bool _internal_has_text() const; + public: + 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:CUserMsg_ParticleManager.SetParticleText) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetTextureAttribute final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetTextureAttribute) */ { + public: + inline CUserMsg_ParticleManager_SetTextureAttribute() : CUserMsg_ParticleManager_SetTextureAttribute(nullptr) {} + ~CUserMsg_ParticleManager_SetTextureAttribute() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetTextureAttribute(const CUserMsg_ParticleManager_SetTextureAttribute& from); + CUserMsg_ParticleManager_SetTextureAttribute(CUserMsg_ParticleManager_SetTextureAttribute&& from) noexcept + : CUserMsg_ParticleManager_SetTextureAttribute() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetTextureAttribute& operator=(const CUserMsg_ParticleManager_SetTextureAttribute& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetTextureAttribute& operator=(CUserMsg_ParticleManager_SetTextureAttribute&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetTextureAttribute& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetTextureAttribute* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CUserMsg_ParticleManager_SetTextureAttribute& a, CUserMsg_ParticleManager_SetTextureAttribute& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetTextureAttribute* 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(CUserMsg_ParticleManager_SetTextureAttribute* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetTextureAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetTextureAttribute& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetTextureAttribute& from) { + CUserMsg_ParticleManager_SetTextureAttribute::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(CUserMsg_ParticleManager_SetTextureAttribute* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetTextureAttribute"; + } + protected: + explicit CUserMsg_ParticleManager_SetTextureAttribute(::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 { + kAttributeNameFieldNumber = 1, + kTextureNameFieldNumber = 2, + }; + // optional string attribute_name = 1; + bool has_attribute_name() const; + private: + bool _internal_has_attribute_name() const; + public: + void clear_attribute_name(); + const std::string& attribute_name() const; + template + void set_attribute_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_attribute_name(); + PROTOBUF_NODISCARD std::string* release_attribute_name(); + void set_allocated_attribute_name(std::string* attribute_name); + private: + const std::string& _internal_attribute_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_attribute_name(const std::string& value); + std::string* _internal_mutable_attribute_name(); + public: + + // optional string texture_name = 2; + bool has_texture_name() const; + private: + bool _internal_has_texture_name() const; + public: + void clear_texture_name(); + const std::string& texture_name() const; + template + void set_texture_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_texture_name(); + PROTOBUF_NODISCARD std::string* release_texture_name(); + void set_allocated_texture_name(std::string* texture_name); + private: + const std::string& _internal_texture_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_texture_name(const std::string& value); + std::string* _internal_mutable_texture_name(); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetTextureAttribute) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attribute_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr texture_name_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetSceneObjectGenericFlag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) */ { + public: + inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag() : CUserMsg_ParticleManager_SetSceneObjectGenericFlag(nullptr) {} + ~CUserMsg_ParticleManager_SetSceneObjectGenericFlag() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetSceneObjectGenericFlag(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from); + CUserMsg_ParticleManager_SetSceneObjectGenericFlag(CUserMsg_ParticleManager_SetSceneObjectGenericFlag&& from) noexcept + : CUserMsg_ParticleManager_SetSceneObjectGenericFlag() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag& operator=(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag& operator=(CUserMsg_ParticleManager_SetSceneObjectGenericFlag&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetSceneObjectGenericFlag& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetSceneObjectGenericFlag* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag& a, CUserMsg_ParticleManager_SetSceneObjectGenericFlag& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* 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(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetSceneObjectGenericFlag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { + CUserMsg_ParticleManager_SetSceneObjectGenericFlag::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(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetSceneObjectGenericFlag"; + } + protected: + explicit CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::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 { + kFlagValueFieldNumber = 1, + }; + // optional bool flag_value = 1; + bool has_flag_value() const; + private: + bool _internal_has_flag_value() const; + public: + void clear_flag_value(); + bool flag_value() const; + void set_flag_value(bool value); + private: + bool _internal_flag_value() const; + void _internal_set_flag_value(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool flag_value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) */ { + public: + inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() : CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(nullptr) {} + ~CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from); + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat&& from) noexcept + : CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& operator=(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& operator=(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& a, CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* 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(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { + CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::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(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetSceneObjectTintAndDesat"; + } + protected: + explicit CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::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 { + kTintFieldNumber = 1, + kDesatFieldNumber = 2, + }; + // optional fixed32 tint = 1; + bool has_tint() const; + private: + bool _internal_has_tint() const; + public: + void clear_tint(); + uint32_t tint() const; + void set_tint(uint32_t value); + private: + uint32_t _internal_tint() const; + void _internal_set_tint(uint32_t value); + public: + + // optional float desat = 2; + bool has_desat() const; + private: + bool _internal_has_desat() const; + public: + void clear_desat(); + float desat() const; + void set_desat(float value); + private: + float _internal_desat() const; + void _internal_set_desat(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t tint_; + float desat_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ParticleSkipToTime final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleSkipToTime) */ { + public: + inline CUserMsg_ParticleManager_ParticleSkipToTime() : CUserMsg_ParticleManager_ParticleSkipToTime(nullptr) {} + ~CUserMsg_ParticleManager_ParticleSkipToTime() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ParticleSkipToTime(const CUserMsg_ParticleManager_ParticleSkipToTime& from); + CUserMsg_ParticleManager_ParticleSkipToTime(CUserMsg_ParticleManager_ParticleSkipToTime&& from) noexcept + : CUserMsg_ParticleManager_ParticleSkipToTime() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ParticleSkipToTime& operator=(const CUserMsg_ParticleManager_ParticleSkipToTime& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ParticleSkipToTime& operator=(CUserMsg_ParticleManager_ParticleSkipToTime&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ParticleSkipToTime& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ParticleSkipToTime* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(CUserMsg_ParticleManager_ParticleSkipToTime& a, CUserMsg_ParticleManager_ParticleSkipToTime& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ParticleSkipToTime* 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(CUserMsg_ParticleManager_ParticleSkipToTime* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ParticleSkipToTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_ParticleSkipToTime& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_ParticleSkipToTime& from) { + CUserMsg_ParticleManager_ParticleSkipToTime::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(CUserMsg_ParticleManager_ParticleSkipToTime* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.ParticleSkipToTime"; + } + protected: + explicit CUserMsg_ParticleManager_ParticleSkipToTime(::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 { + kSkipToTimeFieldNumber = 1, + }; + // optional float skip_to_time = 1; + bool has_skip_to_time() const; + private: + bool _internal_has_skip_to_time() const; + public: + void clear_skip_to_time(); + float skip_to_time() const; + void set_skip_to_time(float value); + private: + float _internal_skip_to_time() const; + void _internal_set_skip_to_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleSkipToTime) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float skip_to_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ParticleCanFreeze final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleCanFreeze) */ { + public: + inline CUserMsg_ParticleManager_ParticleCanFreeze() : CUserMsg_ParticleManager_ParticleCanFreeze(nullptr) {} + ~CUserMsg_ParticleManager_ParticleCanFreeze() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreeze(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ParticleCanFreeze(const CUserMsg_ParticleManager_ParticleCanFreeze& from); + CUserMsg_ParticleManager_ParticleCanFreeze(CUserMsg_ParticleManager_ParticleCanFreeze&& from) noexcept + : CUserMsg_ParticleManager_ParticleCanFreeze() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ParticleCanFreeze& operator=(const CUserMsg_ParticleManager_ParticleCanFreeze& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ParticleCanFreeze& operator=(CUserMsg_ParticleManager_ParticleCanFreeze&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ParticleCanFreeze& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ParticleCanFreeze* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(CUserMsg_ParticleManager_ParticleCanFreeze& a, CUserMsg_ParticleManager_ParticleCanFreeze& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ParticleCanFreeze* 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(CUserMsg_ParticleManager_ParticleCanFreeze* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ParticleCanFreeze* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_ParticleCanFreeze& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_ParticleCanFreeze& from) { + CUserMsg_ParticleManager_ParticleCanFreeze::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(CUserMsg_ParticleManager_ParticleCanFreeze* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.ParticleCanFreeze"; + } + protected: + explicit CUserMsg_ParticleManager_ParticleCanFreeze(::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 { + kCanFreezeFieldNumber = 1, + }; + // optional bool can_freeze = 1; + bool has_can_freeze() const; + private: + bool _internal_has_can_freeze() const; + public: + void clear_can_freeze(); + bool can_freeze() const; + void set_can_freeze(bool value); + private: + bool _internal_can_freeze() const; + void _internal_set_can_freeze(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleCanFreeze) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool can_freeze_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) */ { + public: + inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() : CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(nullptr) {} + ~CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from); + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride&& from) noexcept + : CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& operator=(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& operator=(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& a, CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* 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(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { + CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::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(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.ParticleFreezeTransitionOverride"; + } + protected: + explicit CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::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 { + kFreezeTransitionOverrideFieldNumber = 1, + }; + // optional float freeze_transition_override = 1; + bool has_freeze_transition_override() const; + private: + bool _internal_has_freeze_transition_override() const; + public: + void clear_freeze_transition_override(); + float freeze_transition_override() const; + void set_freeze_transition_override(float value); + private: + float _internal_freeze_transition_override() const; + void _internal_set_freeze_transition_override(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float freeze_transition_override_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_FreezeParticleInvolving final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.FreezeParticleInvolving) */ { + public: + inline CUserMsg_ParticleManager_FreezeParticleInvolving() : CUserMsg_ParticleManager_FreezeParticleInvolving(nullptr) {} + ~CUserMsg_ParticleManager_FreezeParticleInvolving() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolving(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_FreezeParticleInvolving(const CUserMsg_ParticleManager_FreezeParticleInvolving& from); + CUserMsg_ParticleManager_FreezeParticleInvolving(CUserMsg_ParticleManager_FreezeParticleInvolving&& from) noexcept + : CUserMsg_ParticleManager_FreezeParticleInvolving() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_FreezeParticleInvolving& operator=(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_FreezeParticleInvolving& operator=(CUserMsg_ParticleManager_FreezeParticleInvolving&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_FreezeParticleInvolving& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_FreezeParticleInvolving* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_); + } + static constexpr int kIndexInFileMessages = + 64; + + friend void swap(CUserMsg_ParticleManager_FreezeParticleInvolving& a, CUserMsg_ParticleManager_FreezeParticleInvolving& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_FreezeParticleInvolving* 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(CUserMsg_ParticleManager_FreezeParticleInvolving* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_FreezeParticleInvolving* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_FreezeParticleInvolving& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { + CUserMsg_ParticleManager_FreezeParticleInvolving::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(CUserMsg_ParticleManager_FreezeParticleInvolving* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.FreezeParticleInvolving"; + } + protected: + explicit CUserMsg_ParticleManager_FreezeParticleInvolving(::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 { + kSetFrozenFieldNumber = 1, + kTransitionDurationFieldNumber = 2, + kEntityHandleFieldNumber = 3, + }; + // optional bool set_frozen = 1; + bool has_set_frozen() const; + private: + bool _internal_has_set_frozen() const; + public: + void clear_set_frozen(); + bool set_frozen() const; + void set_set_frozen(bool value); + private: + bool _internal_set_frozen() const; + void _internal_set_set_frozen(bool value); + public: + + // optional float transition_duration = 2; + bool has_transition_duration() const; + private: + bool _internal_has_transition_duration() const; + public: + void clear_transition_duration(); + float transition_duration() const; + void set_transition_duration(float value); + private: + float _internal_transition_duration() const; + void _internal_set_transition_duration(float value); + public: + + // optional uint32 entity_handle = 3 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.FreezeParticleInvolving) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + bool set_frozen_; + float transition_duration_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_AddModellistOverrideElement final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.AddModellistOverrideElement) */ { + public: + inline CUserMsg_ParticleManager_AddModellistOverrideElement() : CUserMsg_ParticleManager_AddModellistOverrideElement(nullptr) {} + ~CUserMsg_ParticleManager_AddModellistOverrideElement() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_AddModellistOverrideElement(const CUserMsg_ParticleManager_AddModellistOverrideElement& from); + CUserMsg_ParticleManager_AddModellistOverrideElement(CUserMsg_ParticleManager_AddModellistOverrideElement&& from) noexcept + : CUserMsg_ParticleManager_AddModellistOverrideElement() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_AddModellistOverrideElement& operator=(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_AddModellistOverrideElement& operator=(CUserMsg_ParticleManager_AddModellistOverrideElement&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_AddModellistOverrideElement& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_AddModellistOverrideElement* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_); + } + static constexpr int kIndexInFileMessages = + 65; + + friend void swap(CUserMsg_ParticleManager_AddModellistOverrideElement& a, CUserMsg_ParticleManager_AddModellistOverrideElement& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_AddModellistOverrideElement* 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(CUserMsg_ParticleManager_AddModellistOverrideElement* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_AddModellistOverrideElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_AddModellistOverrideElement& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { + CUserMsg_ParticleManager_AddModellistOverrideElement::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(CUserMsg_ParticleManager_AddModellistOverrideElement* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.AddModellistOverrideElement"; + } + protected: + explicit CUserMsg_ParticleManager_AddModellistOverrideElement(::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 { + kModelNameFieldNumber = 1, + kSpawnProbabilityFieldNumber = 2, + kGroupidFieldNumber = 3, + }; + // optional string model_name = 1; + bool has_model_name() const; + private: + bool _internal_has_model_name() const; + public: + void clear_model_name(); + const std::string& model_name() const; + template + void set_model_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_model_name(); + PROTOBUF_NODISCARD std::string* release_model_name(); + void set_allocated_model_name(std::string* model_name); + private: + const std::string& _internal_model_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value); + std::string* _internal_mutable_model_name(); + public: + + // optional float spawn_probability = 2; + bool has_spawn_probability() const; + private: + bool _internal_has_spawn_probability() const; + public: + void clear_spawn_probability(); + float spawn_probability() const; + void set_spawn_probability(float value); + private: + float _internal_spawn_probability() const; + void _internal_set_spawn_probability(float value); + public: + + // optional uint32 groupid = 3; + bool has_groupid() const; + private: + bool _internal_has_groupid() const; + public: + void clear_groupid(); + uint32_t groupid() const; + void set_groupid(uint32_t value); + private: + uint32_t _internal_groupid() const; + void _internal_set_groupid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.AddModellistOverrideElement) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_; + float spawn_probability_; + uint32_t groupid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_ClearModellistOverride final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ClearModellistOverride) */ { + public: + inline CUserMsg_ParticleManager_ClearModellistOverride() : CUserMsg_ParticleManager_ClearModellistOverride(nullptr) {} + ~CUserMsg_ParticleManager_ClearModellistOverride() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_ClearModellistOverride(const CUserMsg_ParticleManager_ClearModellistOverride& from); + CUserMsg_ParticleManager_ClearModellistOverride(CUserMsg_ParticleManager_ClearModellistOverride&& from) noexcept + : CUserMsg_ParticleManager_ClearModellistOverride() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_ClearModellistOverride& operator=(const CUserMsg_ParticleManager_ClearModellistOverride& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_ClearModellistOverride& operator=(CUserMsg_ParticleManager_ClearModellistOverride&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_ClearModellistOverride& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_ClearModellistOverride* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_); + } + static constexpr int kIndexInFileMessages = + 66; + + friend void swap(CUserMsg_ParticleManager_ClearModellistOverride& a, CUserMsg_ParticleManager_ClearModellistOverride& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_ClearModellistOverride* 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(CUserMsg_ParticleManager_ClearModellistOverride* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_ClearModellistOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_ClearModellistOverride& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_ClearModellistOverride& from) { + CUserMsg_ParticleManager_ClearModellistOverride::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(CUserMsg_ParticleManager_ClearModellistOverride* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.ClearModellistOverride"; + } + protected: + explicit CUserMsg_ParticleManager_ClearModellistOverride(::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 { + kGroupidFieldNumber = 1, + }; + // optional uint32 groupid = 1; + bool has_groupid() const; + private: + bool _internal_has_groupid() const; + public: + void clear_groupid(); + uint32_t groupid() const; + void set_groupid(uint32_t value); + private: + uint32_t _internal_groupid() const; + void _internal_set_groupid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ClearModellistOverride) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t groupid_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) */ { + public: + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from); + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue&& from) noexcept + : CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 67; + + friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* 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(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { + CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::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(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::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 { + kValueNameHashFieldNumber = 1, + kValueFieldNumber = 2, + }; + // optional uint32 value_name_hash = 1; + bool has_value_name_hash() const; + private: + bool _internal_has_value_name_hash() const; + public: + void clear_value_name_hash(); + uint32_t value_name_hash() const; + void set_value_name_hash(uint32_t value); + private: + uint32_t _internal_value_name_hash() const; + void _internal_set_value_name_hash(uint32_t value); + public: + + // optional float value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + float value() const; + void set_value(float value); + private: + float _internal_value() const; + void _internal_set_value(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t value_name_hash_; + float value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) */ { + public: + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from); + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue&& from) noexcept + : CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* 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(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { + CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::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(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::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 { + kValueFieldNumber = 2, + kValueNameHashFieldNumber = 1, + }; + // optional .CMsgVector value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const ::CMsgVector& value() const; + PROTOBUF_NODISCARD ::CMsgVector* release_value(); + ::CMsgVector* mutable_value(); + void set_allocated_value(::CMsgVector* value); + private: + const ::CMsgVector& _internal_value() const; + ::CMsgVector* _internal_mutable_value(); + public: + void unsafe_arena_set_allocated_value( + ::CMsgVector* value); + ::CMsgVector* unsafe_arena_release_value(); + + // optional uint32 value_name_hash = 1; + bool has_value_name_hash() const; + private: + bool _internal_has_value_name_hash() const; + public: + void clear_value_name_hash(); + uint32_t value_name_hash() const; + void set_value_name_hash(uint32_t value); + private: + uint32_t _internal_value_name_hash() const; + void _internal_set_value_name_hash(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* value_; + uint32_t value_name_hash_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) */ { + public: + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from); + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue&& from) noexcept + : CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* 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(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { + CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::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(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::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 { + kAnglesFieldNumber = 2, + kTranslationFieldNumber = 3, + kValueNameHashFieldNumber = 1, + }; + // optional .CMsgQAngle angles = 2; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::CMsgQAngle& angles() const; + PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); + ::CMsgQAngle* mutable_angles(); + void set_allocated_angles(::CMsgQAngle* angles); + private: + const ::CMsgQAngle& _internal_angles() const; + ::CMsgQAngle* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles); + ::CMsgQAngle* unsafe_arena_release_angles(); + + // optional .CMsgVector translation = 3; + bool has_translation() const; + private: + bool _internal_has_translation() const; + public: + void clear_translation(); + const ::CMsgVector& translation() const; + PROTOBUF_NODISCARD ::CMsgVector* release_translation(); + ::CMsgVector* mutable_translation(); + void set_allocated_translation(::CMsgVector* translation); + private: + const ::CMsgVector& _internal_translation() const; + ::CMsgVector* _internal_mutable_translation(); + public: + void unsafe_arena_set_allocated_translation( + ::CMsgVector* translation); + ::CMsgVector* unsafe_arena_release_translation(); + + // optional uint32 value_name_hash = 1; + bool has_value_name_hash() const; + private: + bool _internal_has_value_name_hash() const; + public: + void clear_value_name_hash(); + uint32_t value_name_hash() const; + void set_value_name_hash(uint32_t value); + private: + uint32_t _internal_value_name_hash() const; + void _internal_set_value_name_hash(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgQAngle* angles_; + ::CMsgVector* translation_; + uint32_t value_name_hash_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) */ { + public: + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() : CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from); + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext&& from) noexcept + : CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* 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(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { + CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::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(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::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 { + kValueNameHashFieldNumber = 1, + kEntIndexFieldNumber = 2, + }; + // optional uint32 value_name_hash = 1; + bool has_value_name_hash() const; + private: + bool _internal_has_value_name_hash() const; + public: + void clear_value_name_hash(); + uint32_t value_name_hash() const; + void set_value_name_hash(uint32_t value); + private: + uint32_t _internal_value_name_hash() const; + void _internal_set_value_name_hash(uint32_t value); + public: + + // optional uint32 ent_index = 2 [default = 16777215]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + uint32_t ent_index() const; + void set_ent_index(uint32_t value); + private: + uint32_t _internal_ent_index() const; + void _internal_set_ent_index(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t value_name_hash_; + uint32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleNamedValueContext final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext) */ { + public: + inline CUserMsg_ParticleManager_SetParticleNamedValueContext() : CUserMsg_ParticleManager_SetParticleNamedValueContext(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleNamedValueContext() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleNamedValueContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from); + CUserMsg_ParticleManager_SetParticleNamedValueContext(CUserMsg_ParticleManager_SetParticleNamedValueContext&& from) noexcept + : CUserMsg_ParticleManager_SetParticleNamedValueContext() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleNamedValueContext& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleNamedValueContext& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleNamedValueContext& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext& a, CUserMsg_ParticleManager_SetParticleNamedValueContext& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext* 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(CUserMsg_ParticleManager_SetParticleNamedValueContext* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleNamedValueContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { + CUserMsg_ParticleManager_SetParticleNamedValueContext::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(CUserMsg_ParticleManager_SetParticleNamedValueContext* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleNamedValueContext"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleNamedValueContext(::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 ---------------------------------------------------- + + typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue FloatContextValue; + typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue VectorContextValue; + typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue TransformContextValue; + typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext EHandleContext; + + // accessors ------------------------------------------------------- + + enum : int { + kFloatValuesFieldNumber = 1, + kVectorValuesFieldNumber = 2, + kTransformValuesFieldNumber = 3, + kEhandleValuesFieldNumber = 4, + }; + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; + int float_values_size() const; + private: + int _internal_float_values_size() const; + public: + void clear_float_values(); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* mutable_float_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >* + mutable_float_values(); + private: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& _internal_float_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* _internal_add_float_values(); + public: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& float_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* add_float_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >& + float_values() const; + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; + int vector_values_size() const; + private: + int _internal_vector_values_size() const; + public: + void clear_vector_values(); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* mutable_vector_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >* + mutable_vector_values(); + private: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& _internal_vector_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* _internal_add_vector_values(); + public: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& vector_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* add_vector_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >& + vector_values() const; + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; + int transform_values_size() const; + private: + int _internal_transform_values_size() const; + public: + void clear_transform_values(); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* mutable_transform_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >* + mutable_transform_values(); + private: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& _internal_transform_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* _internal_add_transform_values(); + public: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& transform_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* add_transform_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >& + transform_values() const; + + // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; + int ehandle_values_size() const; + private: + int _internal_ehandle_values_size() const; + public: + void clear_ehandle_values(); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* mutable_ehandle_values(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >* + mutable_ehandle_values(); + private: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& _internal_ehandle_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* _internal_add_ehandle_values(); + public: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& ehandle_values(int index) const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* add_ehandle_values(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >& + ehandle_values() const; + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue > float_values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue > vector_values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue > transform_values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext > ehandle_values_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_CreatePhysicsSim final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.CreatePhysicsSim) */ { + public: + inline CUserMsg_ParticleManager_CreatePhysicsSim() : CUserMsg_ParticleManager_CreatePhysicsSim(nullptr) {} + ~CUserMsg_ParticleManager_CreatePhysicsSim() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_CreatePhysicsSim(const CUserMsg_ParticleManager_CreatePhysicsSim& from); + CUserMsg_ParticleManager_CreatePhysicsSim(CUserMsg_ParticleManager_CreatePhysicsSim&& from) noexcept + : CUserMsg_ParticleManager_CreatePhysicsSim() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_CreatePhysicsSim& operator=(const CUserMsg_ParticleManager_CreatePhysicsSim& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_CreatePhysicsSim& operator=(CUserMsg_ParticleManager_CreatePhysicsSim&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_CreatePhysicsSim& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_CreatePhysicsSim* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(CUserMsg_ParticleManager_CreatePhysicsSim& a, CUserMsg_ParticleManager_CreatePhysicsSim& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_CreatePhysicsSim* 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(CUserMsg_ParticleManager_CreatePhysicsSim* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_CreatePhysicsSim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_CreatePhysicsSim& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_CreatePhysicsSim& from) { + CUserMsg_ParticleManager_CreatePhysicsSim::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(CUserMsg_ParticleManager_CreatePhysicsSim* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.CreatePhysicsSim"; + } + protected: + explicit CUserMsg_ParticleManager_CreatePhysicsSim(::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 { + kPropGroupNameFieldNumber = 1, + kUseHighQualitySimulationFieldNumber = 2, + kMaxParticleCountFieldNumber = 3, + }; + // optional string prop_group_name = 1; + bool has_prop_group_name() const; + private: + bool _internal_has_prop_group_name() const; + public: + void clear_prop_group_name(); + const std::string& prop_group_name() const; + template + void set_prop_group_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_prop_group_name(); + PROTOBUF_NODISCARD std::string* release_prop_group_name(); + void set_allocated_prop_group_name(std::string* prop_group_name); + private: + const std::string& _internal_prop_group_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_prop_group_name(const std::string& value); + std::string* _internal_mutable_prop_group_name(); + public: + + // optional bool use_high_quality_simulation = 2; + bool has_use_high_quality_simulation() const; + private: + bool _internal_has_use_high_quality_simulation() const; + public: + void clear_use_high_quality_simulation(); + bool use_high_quality_simulation() const; + void set_use_high_quality_simulation(bool value); + private: + bool _internal_use_high_quality_simulation() const; + void _internal_set_use_high_quality_simulation(bool value); + public: + + // optional uint32 max_particle_count = 3; + bool has_max_particle_count() const; + private: + bool _internal_has_max_particle_count() const; + public: + void clear_max_particle_count(); + uint32_t max_particle_count() const; + void set_max_particle_count(uint32_t value); + private: + uint32_t _internal_max_particle_count() const; + void _internal_set_max_particle_count(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.CreatePhysicsSim) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prop_group_name_; + bool use_high_quality_simulation_; + uint32_t max_particle_count_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_DestroyPhysicsSim final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyPhysicsSim) */ { + public: + inline CUserMsg_ParticleManager_DestroyPhysicsSim() : CUserMsg_ParticleManager_DestroyPhysicsSim(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_DestroyPhysicsSim(const CUserMsg_ParticleManager_DestroyPhysicsSim& from); + CUserMsg_ParticleManager_DestroyPhysicsSim(CUserMsg_ParticleManager_DestroyPhysicsSim&& from) noexcept + : CUserMsg_ParticleManager_DestroyPhysicsSim() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_DestroyPhysicsSim& operator=(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_DestroyPhysicsSim& operator=(CUserMsg_ParticleManager_DestroyPhysicsSim&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_DestroyPhysicsSim& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_DestroyPhysicsSim* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(CUserMsg_ParticleManager_DestroyPhysicsSim& a, CUserMsg_ParticleManager_DestroyPhysicsSim& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_DestroyPhysicsSim* 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(CUserMsg_ParticleManager_DestroyPhysicsSim* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_DestroyPhysicsSim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMsg_ParticleManager_DestroyPhysicsSim& 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 "CUserMsg_ParticleManager.DestroyPhysicsSim"; + } + protected: + explicit CUserMsg_ParticleManager_DestroyPhysicsSim(::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:CUserMsg_ParticleManager.DestroyPhysicsSim) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetVData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetVData) */ { + public: + inline CUserMsg_ParticleManager_SetVData() : CUserMsg_ParticleManager_SetVData(nullptr) {} + ~CUserMsg_ParticleManager_SetVData() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetVData(const CUserMsg_ParticleManager_SetVData& from); + CUserMsg_ParticleManager_SetVData(CUserMsg_ParticleManager_SetVData&& from) noexcept + : CUserMsg_ParticleManager_SetVData() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetVData& operator=(const CUserMsg_ParticleManager_SetVData& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetVData& operator=(CUserMsg_ParticleManager_SetVData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetVData& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetVData* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetVData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CUserMsg_ParticleManager_SetVData& a, CUserMsg_ParticleManager_SetVData& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetVData* 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(CUserMsg_ParticleManager_SetVData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetVData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetVData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetVData& from) { + CUserMsg_ParticleManager_SetVData::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(CUserMsg_ParticleManager_SetVData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetVData"; + } + protected: + explicit CUserMsg_ParticleManager_SetVData(::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 { + kVdataNameFieldNumber = 1, + }; + // optional string vdata_name = 1; + bool has_vdata_name() const; + private: + bool _internal_has_vdata_name() const; + public: + void clear_vdata_name(); + const std::string& vdata_name() const; + template + void set_vdata_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_vdata_name(); + PROTOBUF_NODISCARD std::string* release_vdata_name(); + void set_allocated_vdata_name(std::string* vdata_name); + private: + const std::string& _internal_vdata_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_vdata_name(const std::string& value); + std::string* _internal_mutable_vdata_name(); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetVData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vdata_name_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetMaterialOverride final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetMaterialOverride) */ { + public: + inline CUserMsg_ParticleManager_SetMaterialOverride() : CUserMsg_ParticleManager_SetMaterialOverride(nullptr) {} + ~CUserMsg_ParticleManager_SetMaterialOverride() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetMaterialOverride(const CUserMsg_ParticleManager_SetMaterialOverride& from); + CUserMsg_ParticleManager_SetMaterialOverride(CUserMsg_ParticleManager_SetMaterialOverride&& from) noexcept + : CUserMsg_ParticleManager_SetMaterialOverride() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetMaterialOverride& operator=(const CUserMsg_ParticleManager_SetMaterialOverride& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetMaterialOverride& operator=(CUserMsg_ParticleManager_SetMaterialOverride&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetMaterialOverride& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetMaterialOverride* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_); + } + static constexpr int kIndexInFileMessages = + 75; + + friend void swap(CUserMsg_ParticleManager_SetMaterialOverride& a, CUserMsg_ParticleManager_SetMaterialOverride& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetMaterialOverride* 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(CUserMsg_ParticleManager_SetMaterialOverride* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetMaterialOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetMaterialOverride& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetMaterialOverride& from) { + CUserMsg_ParticleManager_SetMaterialOverride::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(CUserMsg_ParticleManager_SetMaterialOverride* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetMaterialOverride"; + } + protected: + explicit CUserMsg_ParticleManager_SetMaterialOverride(::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 { + kMaterialNameFieldNumber = 1, + kIncludeChildrenFieldNumber = 2, + }; + // optional string material_name = 1; + bool has_material_name() const; + private: + bool _internal_has_material_name() const; + public: + void clear_material_name(); + const std::string& material_name() const; + template + void set_material_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_material_name(); + PROTOBUF_NODISCARD std::string* release_material_name(); + void set_allocated_material_name(std::string* material_name); + private: + const std::string& _internal_material_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_material_name(const std::string& value); + std::string* _internal_mutable_material_name(); + public: + + // optional bool include_children = 2; + bool has_include_children() const; + private: + bool _internal_has_include_children() const; + public: + void clear_include_children(); + bool include_children() const; + void set_include_children(bool value); + private: + bool _internal_include_children() const; + void _internal_set_include_children(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetMaterialOverride) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr material_name_; + bool include_children_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_AddFan final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.AddFan) */ { + public: + inline CUserMsg_ParticleManager_AddFan() : CUserMsg_ParticleManager_AddFan(nullptr) {} + ~CUserMsg_ParticleManager_AddFan() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_AddFan(const CUserMsg_ParticleManager_AddFan& from); + CUserMsg_ParticleManager_AddFan(CUserMsg_ParticleManager_AddFan&& from) noexcept + : CUserMsg_ParticleManager_AddFan() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_AddFan& operator=(const CUserMsg_ParticleManager_AddFan& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_AddFan& operator=(CUserMsg_ParticleManager_AddFan&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_AddFan& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_AddFan* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_AddFan_default_instance_); + } + static constexpr int kIndexInFileMessages = + 76; + + friend void swap(CUserMsg_ParticleManager_AddFan& a, CUserMsg_ParticleManager_AddFan& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_AddFan* 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(CUserMsg_ParticleManager_AddFan* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_AddFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_AddFan& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_AddFan& from) { + CUserMsg_ParticleManager_AddFan::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(CUserMsg_ParticleManager_AddFan* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.AddFan"; + } + protected: + explicit CUserMsg_ParticleManager_AddFan(::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 { + kFanForceCurveFieldNumber = 8, + kAttachmentNameFieldNumber = 18, + kBoundsMinsFieldNumber = 2, + kBoundsMaxsFieldNumber = 3, + kFanOriginFieldNumber = 4, + kFanOriginOffsetFieldNumber = 5, + kFanDirectionFieldNumber = 6, + kActiveFieldNumber = 1, + kFalloffFieldNumber = 9, + kPullTowardsPointFieldNumber = 10, + kForceFieldNumber = 7, + kCurveMinDistFieldNumber = 11, + kCurveMaxDistFieldNumber = 12, + kFanTypeFieldNumber = 13, + kConeStartRadiusFieldNumber = 14, + kConeEndRadiusFieldNumber = 15, + kConeLengthFieldNumber = 16, + kEntityHandleFieldNumber = 17, + }; + // optional string fan_force_curve = 8; + bool has_fan_force_curve() const; + private: + bool _internal_has_fan_force_curve() const; + public: + void clear_fan_force_curve(); + const std::string& fan_force_curve() const; + template + void set_fan_force_curve(ArgT0&& arg0, ArgT... args); + std::string* mutable_fan_force_curve(); + PROTOBUF_NODISCARD std::string* release_fan_force_curve(); + void set_allocated_fan_force_curve(std::string* fan_force_curve); + private: + const std::string& _internal_fan_force_curve() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fan_force_curve(const std::string& value); + std::string* _internal_mutable_fan_force_curve(); + public: + + // optional string attachment_name = 18; + bool has_attachment_name() const; + private: + bool _internal_has_attachment_name() const; + public: + void clear_attachment_name(); + const std::string& attachment_name() const; + template + void set_attachment_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_attachment_name(); + PROTOBUF_NODISCARD std::string* release_attachment_name(); + void set_allocated_attachment_name(std::string* attachment_name); + private: + const std::string& _internal_attachment_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachment_name(const std::string& value); + std::string* _internal_mutable_attachment_name(); + public: + + // optional .CMsgVector bounds_mins = 2; + bool has_bounds_mins() const; + private: + bool _internal_has_bounds_mins() const; + public: + void clear_bounds_mins(); + const ::CMsgVector& bounds_mins() const; + PROTOBUF_NODISCARD ::CMsgVector* release_bounds_mins(); + ::CMsgVector* mutable_bounds_mins(); + void set_allocated_bounds_mins(::CMsgVector* bounds_mins); + private: + const ::CMsgVector& _internal_bounds_mins() const; + ::CMsgVector* _internal_mutable_bounds_mins(); + public: + void unsafe_arena_set_allocated_bounds_mins( + ::CMsgVector* bounds_mins); + ::CMsgVector* unsafe_arena_release_bounds_mins(); + + // optional .CMsgVector bounds_maxs = 3; + bool has_bounds_maxs() const; + private: + bool _internal_has_bounds_maxs() const; + public: + void clear_bounds_maxs(); + const ::CMsgVector& bounds_maxs() const; + PROTOBUF_NODISCARD ::CMsgVector* release_bounds_maxs(); + ::CMsgVector* mutable_bounds_maxs(); + void set_allocated_bounds_maxs(::CMsgVector* bounds_maxs); + private: + const ::CMsgVector& _internal_bounds_maxs() const; + ::CMsgVector* _internal_mutable_bounds_maxs(); + public: + void unsafe_arena_set_allocated_bounds_maxs( + ::CMsgVector* bounds_maxs); + ::CMsgVector* unsafe_arena_release_bounds_maxs(); + + // optional .CMsgVector fan_origin = 4; + bool has_fan_origin() const; + private: + bool _internal_has_fan_origin() const; + public: + void clear_fan_origin(); + const ::CMsgVector& fan_origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin(); + ::CMsgVector* mutable_fan_origin(); + void set_allocated_fan_origin(::CMsgVector* fan_origin); + private: + const ::CMsgVector& _internal_fan_origin() const; + ::CMsgVector* _internal_mutable_fan_origin(); + public: + void unsafe_arena_set_allocated_fan_origin( + ::CMsgVector* fan_origin); + ::CMsgVector* unsafe_arena_release_fan_origin(); + + // optional .CMsgVector fan_origin_offset = 5; + bool has_fan_origin_offset() const; + private: + bool _internal_has_fan_origin_offset() const; + public: + void clear_fan_origin_offset(); + const ::CMsgVector& fan_origin_offset() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin_offset(); + ::CMsgVector* mutable_fan_origin_offset(); + void set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset); + private: + const ::CMsgVector& _internal_fan_origin_offset() const; + ::CMsgVector* _internal_mutable_fan_origin_offset(); + public: + void unsafe_arena_set_allocated_fan_origin_offset( + ::CMsgVector* fan_origin_offset); + ::CMsgVector* unsafe_arena_release_fan_origin_offset(); + + // optional .CMsgVector fan_direction = 6; + bool has_fan_direction() const; + private: + bool _internal_has_fan_direction() const; + public: + void clear_fan_direction(); + const ::CMsgVector& fan_direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_direction(); + ::CMsgVector* mutable_fan_direction(); + void set_allocated_fan_direction(::CMsgVector* fan_direction); + private: + const ::CMsgVector& _internal_fan_direction() const; + ::CMsgVector* _internal_mutable_fan_direction(); + public: + void unsafe_arena_set_allocated_fan_direction( + ::CMsgVector* fan_direction); + ::CMsgVector* unsafe_arena_release_fan_direction(); + + // optional bool active = 1; + bool has_active() const; + private: + bool _internal_has_active() const; + public: + void clear_active(); + bool active() const; + void set_active(bool value); + private: + bool _internal_active() const; + void _internal_set_active(bool value); + public: + + // optional bool falloff = 9; + bool has_falloff() const; + private: + bool _internal_has_falloff() const; + public: + void clear_falloff(); + bool falloff() const; + void set_falloff(bool value); + private: + bool _internal_falloff() const; + void _internal_set_falloff(bool value); + public: + + // optional bool pull_towards_point = 10; + bool has_pull_towards_point() const; + private: + bool _internal_has_pull_towards_point() const; + public: + void clear_pull_towards_point(); + bool pull_towards_point() const; + void set_pull_towards_point(bool value); + private: + bool _internal_pull_towards_point() const; + void _internal_set_pull_towards_point(bool value); + public: + + // optional float force = 7; + bool has_force() const; + private: + bool _internal_has_force() const; + public: + void clear_force(); + float force() const; + void set_force(float value); + private: + float _internal_force() const; + void _internal_set_force(float value); + public: + + // optional float curve_min_dist = 11; + bool has_curve_min_dist() const; + private: + bool _internal_has_curve_min_dist() const; + public: + void clear_curve_min_dist(); + float curve_min_dist() const; + void set_curve_min_dist(float value); + private: + float _internal_curve_min_dist() const; + void _internal_set_curve_min_dist(float value); + public: + + // optional float curve_max_dist = 12; + bool has_curve_max_dist() const; + private: + bool _internal_has_curve_max_dist() const; + public: + void clear_curve_max_dist(); + float curve_max_dist() const; + void set_curve_max_dist(float value); + private: + float _internal_curve_max_dist() const; + void _internal_set_curve_max_dist(float value); + public: + + // optional uint32 fan_type = 13; + bool has_fan_type() const; + private: + bool _internal_has_fan_type() const; + public: + void clear_fan_type(); + uint32_t fan_type() const; + void set_fan_type(uint32_t value); + private: + uint32_t _internal_fan_type() const; + void _internal_set_fan_type(uint32_t value); + public: + + // optional float cone_start_radius = 14; + bool has_cone_start_radius() const; + private: + bool _internal_has_cone_start_radius() const; + public: + void clear_cone_start_radius(); + float cone_start_radius() const; + void set_cone_start_radius(float value); + private: + float _internal_cone_start_radius() const; + void _internal_set_cone_start_radius(float value); + public: + + // optional float cone_end_radius = 15; + bool has_cone_end_radius() const; + private: + bool _internal_has_cone_end_radius() const; + public: + void clear_cone_end_radius(); + float cone_end_radius() const; + void set_cone_end_radius(float value); + private: + float _internal_cone_end_radius() const; + void _internal_set_cone_end_radius(float value); + public: + + // optional float cone_length = 16; + bool has_cone_length() const; + private: + bool _internal_has_cone_length() const; + public: + void clear_cone_length(); + float cone_length() const; + void set_cone_length(float value); + private: + float _internal_cone_length() const; + void _internal_set_cone_length(float value); + public: + + // optional uint32 entity_handle = 17 [default = 16777215]; + bool has_entity_handle() const; + private: + bool _internal_has_entity_handle() const; + public: + void clear_entity_handle(); + uint32_t entity_handle() const; + void set_entity_handle(uint32_t value); + private: + uint32_t _internal_entity_handle() const; + void _internal_set_entity_handle(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.AddFan) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fan_force_curve_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachment_name_; + ::CMsgVector* bounds_mins_; + ::CMsgVector* bounds_maxs_; + ::CMsgVector* fan_origin_; + ::CMsgVector* fan_origin_offset_; + ::CMsgVector* fan_direction_; + bool active_; + bool falloff_; + bool pull_towards_point_; + float force_; + float curve_min_dist_; + float curve_max_dist_; + uint32_t fan_type_; + float cone_start_radius_; + float cone_end_radius_; + float cone_length_; + uint32_t entity_handle_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_UpdateFan final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateFan) */ { + public: + inline CUserMsg_ParticleManager_UpdateFan() : CUserMsg_ParticleManager_UpdateFan(nullptr) {} + ~CUserMsg_ParticleManager_UpdateFan() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_UpdateFan(const CUserMsg_ParticleManager_UpdateFan& from); + CUserMsg_ParticleManager_UpdateFan(CUserMsg_ParticleManager_UpdateFan&& from) noexcept + : CUserMsg_ParticleManager_UpdateFan() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_UpdateFan& operator=(const CUserMsg_ParticleManager_UpdateFan& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_UpdateFan& operator=(CUserMsg_ParticleManager_UpdateFan&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_UpdateFan& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_UpdateFan* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_UpdateFan_default_instance_); + } + static constexpr int kIndexInFileMessages = + 77; + + friend void swap(CUserMsg_ParticleManager_UpdateFan& a, CUserMsg_ParticleManager_UpdateFan& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_UpdateFan* 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(CUserMsg_ParticleManager_UpdateFan* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_UpdateFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_UpdateFan& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_UpdateFan& from) { + CUserMsg_ParticleManager_UpdateFan::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(CUserMsg_ParticleManager_UpdateFan* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.UpdateFan"; + } + protected: + explicit CUserMsg_ParticleManager_UpdateFan(::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 { + kFanOriginFieldNumber = 2, + kFanOriginOffsetFieldNumber = 3, + kFanDirectionFieldNumber = 4, + kBoundsMinsFieldNumber = 5, + kBoundsMaxsFieldNumber = 6, + kActiveFieldNumber = 1, + kFanRampRatioFieldNumber = 7, + }; + // optional .CMsgVector fan_origin = 2; + bool has_fan_origin() const; + private: + bool _internal_has_fan_origin() const; + public: + void clear_fan_origin(); + const ::CMsgVector& fan_origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin(); + ::CMsgVector* mutable_fan_origin(); + void set_allocated_fan_origin(::CMsgVector* fan_origin); + private: + const ::CMsgVector& _internal_fan_origin() const; + ::CMsgVector* _internal_mutable_fan_origin(); + public: + void unsafe_arena_set_allocated_fan_origin( + ::CMsgVector* fan_origin); + ::CMsgVector* unsafe_arena_release_fan_origin(); + + // optional .CMsgVector fan_origin_offset = 3; + bool has_fan_origin_offset() const; + private: + bool _internal_has_fan_origin_offset() const; + public: + void clear_fan_origin_offset(); + const ::CMsgVector& fan_origin_offset() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin_offset(); + ::CMsgVector* mutable_fan_origin_offset(); + void set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset); + private: + const ::CMsgVector& _internal_fan_origin_offset() const; + ::CMsgVector* _internal_mutable_fan_origin_offset(); + public: + void unsafe_arena_set_allocated_fan_origin_offset( + ::CMsgVector* fan_origin_offset); + ::CMsgVector* unsafe_arena_release_fan_origin_offset(); + + // optional .CMsgVector fan_direction = 4; + bool has_fan_direction() const; + private: + bool _internal_has_fan_direction() const; + public: + void clear_fan_direction(); + const ::CMsgVector& fan_direction() const; + PROTOBUF_NODISCARD ::CMsgVector* release_fan_direction(); + ::CMsgVector* mutable_fan_direction(); + void set_allocated_fan_direction(::CMsgVector* fan_direction); + private: + const ::CMsgVector& _internal_fan_direction() const; + ::CMsgVector* _internal_mutable_fan_direction(); + public: + void unsafe_arena_set_allocated_fan_direction( + ::CMsgVector* fan_direction); + ::CMsgVector* unsafe_arena_release_fan_direction(); + + // optional .CMsgVector bounds_mins = 5; + bool has_bounds_mins() const; + private: + bool _internal_has_bounds_mins() const; + public: + void clear_bounds_mins(); + const ::CMsgVector& bounds_mins() const; + PROTOBUF_NODISCARD ::CMsgVector* release_bounds_mins(); + ::CMsgVector* mutable_bounds_mins(); + void set_allocated_bounds_mins(::CMsgVector* bounds_mins); + private: + const ::CMsgVector& _internal_bounds_mins() const; + ::CMsgVector* _internal_mutable_bounds_mins(); + public: + void unsafe_arena_set_allocated_bounds_mins( + ::CMsgVector* bounds_mins); + ::CMsgVector* unsafe_arena_release_bounds_mins(); + + // optional .CMsgVector bounds_maxs = 6; + bool has_bounds_maxs() const; + private: + bool _internal_has_bounds_maxs() const; + public: + void clear_bounds_maxs(); + const ::CMsgVector& bounds_maxs() const; + PROTOBUF_NODISCARD ::CMsgVector* release_bounds_maxs(); + ::CMsgVector* mutable_bounds_maxs(); + void set_allocated_bounds_maxs(::CMsgVector* bounds_maxs); + private: + const ::CMsgVector& _internal_bounds_maxs() const; + ::CMsgVector* _internal_mutable_bounds_maxs(); + public: + void unsafe_arena_set_allocated_bounds_maxs( + ::CMsgVector* bounds_maxs); + ::CMsgVector* unsafe_arena_release_bounds_maxs(); + + // optional bool active = 1; + bool has_active() const; + private: + bool _internal_has_active() const; + public: + void clear_active(); + bool active() const; + void set_active(bool value); + private: + bool _internal_active() const; + void _internal_set_active(bool value); + public: + + // optional float fan_ramp_ratio = 7; + bool has_fan_ramp_ratio() const; + private: + bool _internal_has_fan_ramp_ratio() const; + public: + void clear_fan_ramp_ratio(); + float fan_ramp_ratio() const; + void set_fan_ramp_ratio(float value); + private: + float _internal_fan_ramp_ratio() const; + void _internal_set_fan_ramp_ratio(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateFan) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* fan_origin_; + ::CMsgVector* fan_origin_offset_; + ::CMsgVector* fan_direction_; + ::CMsgVector* bounds_mins_; + ::CMsgVector* bounds_maxs_; + bool active_; + float fan_ramp_ratio_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_RemoveFan final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.RemoveFan) */ { + public: + inline CUserMsg_ParticleManager_RemoveFan() : CUserMsg_ParticleManager_RemoveFan(nullptr) {} + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_RemoveFan(const CUserMsg_ParticleManager_RemoveFan& from); + CUserMsg_ParticleManager_RemoveFan(CUserMsg_ParticleManager_RemoveFan&& from) noexcept + : CUserMsg_ParticleManager_RemoveFan() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_RemoveFan& operator=(const CUserMsg_ParticleManager_RemoveFan& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_RemoveFan& operator=(CUserMsg_ParticleManager_RemoveFan&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_RemoveFan& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_RemoveFan* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_RemoveFan_default_instance_); + } + static constexpr int kIndexInFileMessages = + 78; + + friend void swap(CUserMsg_ParticleManager_RemoveFan& a, CUserMsg_ParticleManager_RemoveFan& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_RemoveFan* 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(CUserMsg_ParticleManager_RemoveFan* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_RemoveFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CUserMsg_ParticleManager_RemoveFan& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CUserMsg_ParticleManager_RemoveFan& 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 "CUserMsg_ParticleManager.RemoveFan"; + } + protected: + explicit CUserMsg_ParticleManager_RemoveFan(::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:CUserMsg_ParticleManager.RemoveFan) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager_SetParticleClusterGrowth final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleClusterGrowth) */ { + public: + inline CUserMsg_ParticleManager_SetParticleClusterGrowth() : CUserMsg_ParticleManager_SetParticleClusterGrowth(nullptr) {} + ~CUserMsg_ParticleManager_SetParticleClusterGrowth() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager_SetParticleClusterGrowth(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from); + CUserMsg_ParticleManager_SetParticleClusterGrowth(CUserMsg_ParticleManager_SetParticleClusterGrowth&& from) noexcept + : CUserMsg_ParticleManager_SetParticleClusterGrowth() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager_SetParticleClusterGrowth& operator=(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager_SetParticleClusterGrowth& operator=(CUserMsg_ParticleManager_SetParticleClusterGrowth&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager_SetParticleClusterGrowth& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager_SetParticleClusterGrowth* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_); + } + static constexpr int kIndexInFileMessages = + 79; + + friend void swap(CUserMsg_ParticleManager_SetParticleClusterGrowth& a, CUserMsg_ParticleManager_SetParticleClusterGrowth& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager_SetParticleClusterGrowth* 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(CUserMsg_ParticleManager_SetParticleClusterGrowth* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager_SetParticleClusterGrowth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { + CUserMsg_ParticleManager_SetParticleClusterGrowth::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(CUserMsg_ParticleManager_SetParticleClusterGrowth* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager.SetParticleClusterGrowth"; + } + protected: + explicit CUserMsg_ParticleManager_SetParticleClusterGrowth(::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 { + kOriginFieldNumber = 2, + kDurationFieldNumber = 1, + }; + // optional .CMsgVector origin = 2; + bool has_origin() const; + private: + bool _internal_has_origin() const; + public: + void clear_origin(); + const ::CMsgVector& origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_origin(); + ::CMsgVector* mutable_origin(); + void set_allocated_origin(::CMsgVector* origin); + private: + const ::CMsgVector& _internal_origin() const; + ::CMsgVector* _internal_mutable_origin(); + public: + void unsafe_arena_set_allocated_origin( + ::CMsgVector* origin); + ::CMsgVector* unsafe_arena_release_origin(); + + // optional float duration = 1; + bool has_duration() const; + private: + bool _internal_has_duration() const; + public: + void clear_duration(); + float duration() const; + void set_duration(float value); + private: + float _internal_duration() const; + void _internal_set_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleClusterGrowth) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CMsgVector* origin_; + float duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ParticleManager final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager) */ { + public: + inline CUserMsg_ParticleManager() : CUserMsg_ParticleManager(nullptr) {} + ~CUserMsg_ParticleManager() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_ParticleManager(const CUserMsg_ParticleManager& from); + CUserMsg_ParticleManager(CUserMsg_ParticleManager&& from) noexcept + : CUserMsg_ParticleManager() { + *this = ::std::move(from); + } + + inline CUserMsg_ParticleManager& operator=(const CUserMsg_ParticleManager& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_ParticleManager& operator=(CUserMsg_ParticleManager&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_ParticleManager& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_ParticleManager* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_ParticleManager_default_instance_); + } + static constexpr int kIndexInFileMessages = + 80; + + friend void swap(CUserMsg_ParticleManager& a, CUserMsg_ParticleManager& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_ParticleManager* 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(CUserMsg_ParticleManager* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_ParticleManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_ParticleManager& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_ParticleManager& from) { + CUserMsg_ParticleManager::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(CUserMsg_ParticleManager* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_ParticleManager"; + } + protected: + explicit CUserMsg_ParticleManager(::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 ---------------------------------------------------- + + typedef CUserMsg_ParticleManager_ReleaseParticleIndex ReleaseParticleIndex; + typedef CUserMsg_ParticleManager_CreateParticle CreateParticle; + typedef CUserMsg_ParticleManager_DestroyParticle DestroyParticle; + typedef CUserMsg_ParticleManager_DestroyParticleInvolving DestroyParticleInvolving; + typedef CUserMsg_ParticleManager_DestroyParticleNamed DestroyParticleNamed; + typedef CUserMsg_ParticleManager_UpdateParticle_OBSOLETE UpdateParticle_OBSOLETE; + typedef CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE UpdateParticleFwd_OBSOLETE; + typedef CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE UpdateParticleOrient_OBSOLETE; + typedef CUserMsg_ParticleManager_UpdateParticleTransform UpdateParticleTransform; + typedef CUserMsg_ParticleManager_UpdateParticleFallback UpdateParticleFallback; + typedef CUserMsg_ParticleManager_UpdateParticleOffset UpdateParticleOffset; + typedef CUserMsg_ParticleManager_UpdateParticleEnt UpdateParticleEnt; + typedef CUserMsg_ParticleManager_UpdateParticleSetFrozen UpdateParticleSetFrozen; + typedef CUserMsg_ParticleManager_UpdateParticleShouldDraw UpdateParticleShouldDraw; + typedef CUserMsg_ParticleManager_ChangeControlPointAttachment ChangeControlPointAttachment; + typedef CUserMsg_ParticleManager_UpdateEntityPosition UpdateEntityPosition; + typedef CUserMsg_ParticleManager_SetParticleFoWProperties SetParticleFoWProperties; + typedef CUserMsg_ParticleManager_SetParticleShouldCheckFoW SetParticleShouldCheckFoW; + typedef CUserMsg_ParticleManager_SetControlPointModel SetControlPointModel; + typedef CUserMsg_ParticleManager_SetControlPointSnapshot SetControlPointSnapshot; + typedef CUserMsg_ParticleManager_SetParticleText SetParticleText; + typedef CUserMsg_ParticleManager_SetTextureAttribute SetTextureAttribute; + typedef CUserMsg_ParticleManager_SetSceneObjectGenericFlag SetSceneObjectGenericFlag; + typedef CUserMsg_ParticleManager_SetSceneObjectTintAndDesat SetSceneObjectTintAndDesat; + typedef CUserMsg_ParticleManager_ParticleSkipToTime ParticleSkipToTime; + typedef CUserMsg_ParticleManager_ParticleCanFreeze ParticleCanFreeze; + typedef CUserMsg_ParticleManager_ParticleFreezeTransitionOverride ParticleFreezeTransitionOverride; + typedef CUserMsg_ParticleManager_FreezeParticleInvolving FreezeParticleInvolving; + typedef CUserMsg_ParticleManager_AddModellistOverrideElement AddModellistOverrideElement; + typedef CUserMsg_ParticleManager_ClearModellistOverride ClearModellistOverride; + typedef CUserMsg_ParticleManager_SetParticleNamedValueContext SetParticleNamedValueContext; + typedef CUserMsg_ParticleManager_CreatePhysicsSim CreatePhysicsSim; + typedef CUserMsg_ParticleManager_DestroyPhysicsSim DestroyPhysicsSim; + typedef CUserMsg_ParticleManager_SetVData SetVData; + typedef CUserMsg_ParticleManager_SetMaterialOverride SetMaterialOverride; + typedef CUserMsg_ParticleManager_AddFan AddFan; + typedef CUserMsg_ParticleManager_UpdateFan UpdateFan; + typedef CUserMsg_ParticleManager_RemoveFan RemoveFan; + typedef CUserMsg_ParticleManager_SetParticleClusterGrowth SetParticleClusterGrowth; + + // accessors ------------------------------------------------------- + + enum : int { + kReleaseParticleIndexFieldNumber = 3, + kCreateParticleFieldNumber = 4, + kDestroyParticleFieldNumber = 5, + kDestroyParticleInvolvingFieldNumber = 6, + kUpdateParticleFieldNumber = 7, + kUpdateParticleFwdFieldNumber = 8, + kUpdateParticleOrientFieldNumber = 9, + kUpdateParticleFallbackFieldNumber = 10, + kUpdateParticleOffsetFieldNumber = 11, + kUpdateParticleEntFieldNumber = 12, + kUpdateParticleShouldDrawFieldNumber = 14, + kUpdateParticleSetFrozenFieldNumber = 15, + kChangeControlPointAttachmentFieldNumber = 16, + kUpdateEntityPositionFieldNumber = 17, + kSetParticleFowPropertiesFieldNumber = 18, + kSetParticleTextFieldNumber = 19, + kSetParticleShouldCheckFowFieldNumber = 20, + kSetControlPointModelFieldNumber = 21, + kSetControlPointSnapshotFieldNumber = 22, + kSetTextureAttributeFieldNumber = 23, + kSetSceneObjectGenericFlagFieldNumber = 24, + kSetSceneObjectTintAndDesatFieldNumber = 25, + kDestroyParticleNamedFieldNumber = 26, + kParticleSkipToTimeFieldNumber = 27, + kParticleCanFreezeFieldNumber = 28, + kSetNamedValueContextFieldNumber = 29, + kUpdateParticleTransformFieldNumber = 30, + kParticleFreezeTransitionOverrideFieldNumber = 31, + kFreezeParticleInvolvingFieldNumber = 32, + kAddModellistOverrideElementFieldNumber = 33, + kClearModellistOverrideFieldNumber = 34, + kCreatePhysicsSimFieldNumber = 35, + kDestroyPhysicsSimFieldNumber = 36, + kSetVdataFieldNumber = 37, + kSetMaterialOverrideFieldNumber = 38, + kAddFanFieldNumber = 39, + kUpdateFanFieldNumber = 40, + kSetParticleClusterGrowthFieldNumber = 41, + kRemoveFanFieldNumber = 42, + kTypeFieldNumber = 1, + kIndexFieldNumber = 2, + }; + // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + bool has_release_particle_index() const; + private: + bool _internal_has_release_particle_index() const; + public: + void clear_release_particle_index(); + const ::CUserMsg_ParticleManager_ReleaseParticleIndex& release_particle_index() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_release_particle_index(); + ::CUserMsg_ParticleManager_ReleaseParticleIndex* mutable_release_particle_index(); + void set_allocated_release_particle_index(::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index); + private: + const ::CUserMsg_ParticleManager_ReleaseParticleIndex& _internal_release_particle_index() const; + ::CUserMsg_ParticleManager_ReleaseParticleIndex* _internal_mutable_release_particle_index(); + public: + void unsafe_arena_set_allocated_release_particle_index( + ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index); + ::CUserMsg_ParticleManager_ReleaseParticleIndex* unsafe_arena_release_release_particle_index(); + + // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; + bool has_create_particle() const; + private: + bool _internal_has_create_particle() const; + public: + void clear_create_particle(); + const ::CUserMsg_ParticleManager_CreateParticle& create_particle() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_CreateParticle* release_create_particle(); + ::CUserMsg_ParticleManager_CreateParticle* mutable_create_particle(); + void set_allocated_create_particle(::CUserMsg_ParticleManager_CreateParticle* create_particle); + private: + const ::CUserMsg_ParticleManager_CreateParticle& _internal_create_particle() const; + ::CUserMsg_ParticleManager_CreateParticle* _internal_mutable_create_particle(); + public: + void unsafe_arena_set_allocated_create_particle( + ::CUserMsg_ParticleManager_CreateParticle* create_particle); + ::CUserMsg_ParticleManager_CreateParticle* unsafe_arena_release_create_particle(); + + // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + bool has_destroy_particle() const; + private: + bool _internal_has_destroy_particle() const; + public: + void clear_destroy_particle(); + const ::CUserMsg_ParticleManager_DestroyParticle& destroy_particle() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticle* release_destroy_particle(); + ::CUserMsg_ParticleManager_DestroyParticle* mutable_destroy_particle(); + void set_allocated_destroy_particle(::CUserMsg_ParticleManager_DestroyParticle* destroy_particle); + private: + const ::CUserMsg_ParticleManager_DestroyParticle& _internal_destroy_particle() const; + ::CUserMsg_ParticleManager_DestroyParticle* _internal_mutable_destroy_particle(); + public: + void unsafe_arena_set_allocated_destroy_particle( + ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle); + ::CUserMsg_ParticleManager_DestroyParticle* unsafe_arena_release_destroy_particle(); + + // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + bool has_destroy_particle_involving() const; + private: + bool _internal_has_destroy_particle_involving() const; + public: + void clear_destroy_particle_involving(); + const ::CUserMsg_ParticleManager_DestroyParticleInvolving& destroy_particle_involving() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticleInvolving* release_destroy_particle_involving(); + ::CUserMsg_ParticleManager_DestroyParticleInvolving* mutable_destroy_particle_involving(); + void set_allocated_destroy_particle_involving(::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving); + private: + const ::CUserMsg_ParticleManager_DestroyParticleInvolving& _internal_destroy_particle_involving() const; + ::CUserMsg_ParticleManager_DestroyParticleInvolving* _internal_mutable_destroy_particle_involving(); + public: + void unsafe_arena_set_allocated_destroy_particle_involving( + ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving); + ::CUserMsg_ParticleManager_DestroyParticleInvolving* unsafe_arena_release_destroy_particle_involving(); + + // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; + bool has_update_particle() const; + private: + bool _internal_has_update_particle() const; + public: + void clear_update_particle(); + const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& update_particle() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* release_update_particle(); + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* mutable_update_particle(); + void set_allocated_update_particle(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle); + private: + const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& _internal_update_particle() const; + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* _internal_mutable_update_particle(); + public: + void unsafe_arena_set_allocated_update_particle( + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle); + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* unsafe_arena_release_update_particle(); + + // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; + bool has_update_particle_fwd() const; + private: + bool _internal_has_update_particle_fwd() const; + public: + void clear_update_particle_fwd(); + const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& update_particle_fwd() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* release_update_particle_fwd(); + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* mutable_update_particle_fwd(); + void set_allocated_update_particle_fwd(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd); + private: + const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& _internal_update_particle_fwd() const; + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* _internal_mutable_update_particle_fwd(); + public: + void unsafe_arena_set_allocated_update_particle_fwd( + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd); + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* unsafe_arena_release_update_particle_fwd(); + + // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; + bool has_update_particle_orient() const; + private: + bool _internal_has_update_particle_orient() const; + public: + void clear_update_particle_orient(); + const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& update_particle_orient() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* release_update_particle_orient(); + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* mutable_update_particle_orient(); + void set_allocated_update_particle_orient(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient); + private: + const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& _internal_update_particle_orient() const; + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* _internal_mutable_update_particle_orient(); + public: + void unsafe_arena_set_allocated_update_particle_orient( + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient); + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* unsafe_arena_release_update_particle_orient(); + + // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + bool has_update_particle_fallback() const; + private: + bool _internal_has_update_particle_fallback() const; + public: + void clear_update_particle_fallback(); + const ::CUserMsg_ParticleManager_UpdateParticleFallback& update_particle_fallback() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleFallback* release_update_particle_fallback(); + ::CUserMsg_ParticleManager_UpdateParticleFallback* mutable_update_particle_fallback(); + void set_allocated_update_particle_fallback(::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback); + private: + const ::CUserMsg_ParticleManager_UpdateParticleFallback& _internal_update_particle_fallback() const; + ::CUserMsg_ParticleManager_UpdateParticleFallback* _internal_mutable_update_particle_fallback(); + public: + void unsafe_arena_set_allocated_update_particle_fallback( + ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback); + ::CUserMsg_ParticleManager_UpdateParticleFallback* unsafe_arena_release_update_particle_fallback(); + + // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + bool has_update_particle_offset() const; + private: + bool _internal_has_update_particle_offset() const; + public: + void clear_update_particle_offset(); + const ::CUserMsg_ParticleManager_UpdateParticleOffset& update_particle_offset() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleOffset* release_update_particle_offset(); + ::CUserMsg_ParticleManager_UpdateParticleOffset* mutable_update_particle_offset(); + void set_allocated_update_particle_offset(::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset); + private: + const ::CUserMsg_ParticleManager_UpdateParticleOffset& _internal_update_particle_offset() const; + ::CUserMsg_ParticleManager_UpdateParticleOffset* _internal_mutable_update_particle_offset(); + public: + void unsafe_arena_set_allocated_update_particle_offset( + ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset); + ::CUserMsg_ParticleManager_UpdateParticleOffset* unsafe_arena_release_update_particle_offset(); + + // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + bool has_update_particle_ent() const; + private: + bool _internal_has_update_particle_ent() const; + public: + void clear_update_particle_ent(); + const ::CUserMsg_ParticleManager_UpdateParticleEnt& update_particle_ent() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleEnt* release_update_particle_ent(); + ::CUserMsg_ParticleManager_UpdateParticleEnt* mutable_update_particle_ent(); + void set_allocated_update_particle_ent(::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent); + private: + const ::CUserMsg_ParticleManager_UpdateParticleEnt& _internal_update_particle_ent() const; + ::CUserMsg_ParticleManager_UpdateParticleEnt* _internal_mutable_update_particle_ent(); + public: + void unsafe_arena_set_allocated_update_particle_ent( + ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent); + ::CUserMsg_ParticleManager_UpdateParticleEnt* unsafe_arena_release_update_particle_ent(); + + // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + bool has_update_particle_should_draw() const; + private: + bool _internal_has_update_particle_should_draw() const; + public: + void clear_update_particle_should_draw(); + const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& update_particle_should_draw() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* release_update_particle_should_draw(); + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* mutable_update_particle_should_draw(); + void set_allocated_update_particle_should_draw(::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw); + private: + const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& _internal_update_particle_should_draw() const; + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* _internal_mutable_update_particle_should_draw(); + public: + void unsafe_arena_set_allocated_update_particle_should_draw( + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw); + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* unsafe_arena_release_update_particle_should_draw(); + + // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + bool has_update_particle_set_frozen() const; + private: + bool _internal_has_update_particle_set_frozen() const; + public: + void clear_update_particle_set_frozen(); + const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* release_update_particle_set_frozen(); + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* mutable_update_particle_set_frozen(); + void set_allocated_update_particle_set_frozen(::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen); + private: + const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& _internal_update_particle_set_frozen() const; + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* _internal_mutable_update_particle_set_frozen(); + public: + void unsafe_arena_set_allocated_update_particle_set_frozen( + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen); + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* unsafe_arena_release_update_particle_set_frozen(); + + // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; + bool has_change_control_point_attachment() const; + private: + bool _internal_has_change_control_point_attachment() const; + public: + void clear_change_control_point_attachment(); + const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& change_control_point_attachment() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ChangeControlPointAttachment* release_change_control_point_attachment(); + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* mutable_change_control_point_attachment(); + void set_allocated_change_control_point_attachment(::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment); + private: + const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& _internal_change_control_point_attachment() const; + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* _internal_mutable_change_control_point_attachment(); + public: + void unsafe_arena_set_allocated_change_control_point_attachment( + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment); + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* unsafe_arena_release_change_control_point_attachment(); + + // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; + bool has_update_entity_position() const; + private: + bool _internal_has_update_entity_position() const; + public: + void clear_update_entity_position(); + const ::CUserMsg_ParticleManager_UpdateEntityPosition& update_entity_position() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateEntityPosition* release_update_entity_position(); + ::CUserMsg_ParticleManager_UpdateEntityPosition* mutable_update_entity_position(); + void set_allocated_update_entity_position(::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position); + private: + const ::CUserMsg_ParticleManager_UpdateEntityPosition& _internal_update_entity_position() const; + ::CUserMsg_ParticleManager_UpdateEntityPosition* _internal_mutable_update_entity_position(); + public: + void unsafe_arena_set_allocated_update_entity_position( + ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position); + ::CUserMsg_ParticleManager_UpdateEntityPosition* unsafe_arena_release_update_entity_position(); + + // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; + bool has_set_particle_fow_properties() const; + private: + bool _internal_has_set_particle_fow_properties() const; + public: + void clear_set_particle_fow_properties(); + const ::CUserMsg_ParticleManager_SetParticleFoWProperties& set_particle_fow_properties() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleFoWProperties* release_set_particle_fow_properties(); + ::CUserMsg_ParticleManager_SetParticleFoWProperties* mutable_set_particle_fow_properties(); + void set_allocated_set_particle_fow_properties(::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties); + private: + const ::CUserMsg_ParticleManager_SetParticleFoWProperties& _internal_set_particle_fow_properties() const; + ::CUserMsg_ParticleManager_SetParticleFoWProperties* _internal_mutable_set_particle_fow_properties(); + public: + void unsafe_arena_set_allocated_set_particle_fow_properties( + ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties); + ::CUserMsg_ParticleManager_SetParticleFoWProperties* unsafe_arena_release_set_particle_fow_properties(); + + // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; + bool has_set_particle_text() const; + private: + bool _internal_has_set_particle_text() const; + public: + void clear_set_particle_text(); + const ::CUserMsg_ParticleManager_SetParticleText& set_particle_text() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleText* release_set_particle_text(); + ::CUserMsg_ParticleManager_SetParticleText* mutable_set_particle_text(); + void set_allocated_set_particle_text(::CUserMsg_ParticleManager_SetParticleText* set_particle_text); + private: + const ::CUserMsg_ParticleManager_SetParticleText& _internal_set_particle_text() const; + ::CUserMsg_ParticleManager_SetParticleText* _internal_mutable_set_particle_text(); + public: + void unsafe_arena_set_allocated_set_particle_text( + ::CUserMsg_ParticleManager_SetParticleText* set_particle_text); + ::CUserMsg_ParticleManager_SetParticleText* unsafe_arena_release_set_particle_text(); + + // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; + bool has_set_particle_should_check_fow() const; + private: + bool _internal_has_set_particle_should_check_fow() const; + public: + void clear_set_particle_should_check_fow(); + const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& set_particle_should_check_fow() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* release_set_particle_should_check_fow(); + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* mutable_set_particle_should_check_fow(); + void set_allocated_set_particle_should_check_fow(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow); + private: + const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& _internal_set_particle_should_check_fow() const; + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* _internal_mutable_set_particle_should_check_fow(); + public: + void unsafe_arena_set_allocated_set_particle_should_check_fow( + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow); + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* unsafe_arena_release_set_particle_should_check_fow(); + + // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; + bool has_set_control_point_model() const; + private: + bool _internal_has_set_control_point_model() const; + public: + void clear_set_control_point_model(); + const ::CUserMsg_ParticleManager_SetControlPointModel& set_control_point_model() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetControlPointModel* release_set_control_point_model(); + ::CUserMsg_ParticleManager_SetControlPointModel* mutable_set_control_point_model(); + void set_allocated_set_control_point_model(::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model); + private: + const ::CUserMsg_ParticleManager_SetControlPointModel& _internal_set_control_point_model() const; + ::CUserMsg_ParticleManager_SetControlPointModel* _internal_mutable_set_control_point_model(); + public: + void unsafe_arena_set_allocated_set_control_point_model( + ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model); + ::CUserMsg_ParticleManager_SetControlPointModel* unsafe_arena_release_set_control_point_model(); + + // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; + bool has_set_control_point_snapshot() const; + private: + bool _internal_has_set_control_point_snapshot() const; + public: + void clear_set_control_point_snapshot(); + const ::CUserMsg_ParticleManager_SetControlPointSnapshot& set_control_point_snapshot() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetControlPointSnapshot* release_set_control_point_snapshot(); + ::CUserMsg_ParticleManager_SetControlPointSnapshot* mutable_set_control_point_snapshot(); + void set_allocated_set_control_point_snapshot(::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot); + private: + const ::CUserMsg_ParticleManager_SetControlPointSnapshot& _internal_set_control_point_snapshot() const; + ::CUserMsg_ParticleManager_SetControlPointSnapshot* _internal_mutable_set_control_point_snapshot(); + public: + void unsafe_arena_set_allocated_set_control_point_snapshot( + ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot); + ::CUserMsg_ParticleManager_SetControlPointSnapshot* unsafe_arena_release_set_control_point_snapshot(); + + // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; + bool has_set_texture_attribute() const; + private: + bool _internal_has_set_texture_attribute() const; + public: + void clear_set_texture_attribute(); + const ::CUserMsg_ParticleManager_SetTextureAttribute& set_texture_attribute() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetTextureAttribute* release_set_texture_attribute(); + ::CUserMsg_ParticleManager_SetTextureAttribute* mutable_set_texture_attribute(); + void set_allocated_set_texture_attribute(::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute); + private: + const ::CUserMsg_ParticleManager_SetTextureAttribute& _internal_set_texture_attribute() const; + ::CUserMsg_ParticleManager_SetTextureAttribute* _internal_mutable_set_texture_attribute(); + public: + void unsafe_arena_set_allocated_set_texture_attribute( + ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute); + ::CUserMsg_ParticleManager_SetTextureAttribute* unsafe_arena_release_set_texture_attribute(); + + // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; + bool has_set_scene_object_generic_flag() const; + private: + bool _internal_has_set_scene_object_generic_flag() const; + public: + void clear_set_scene_object_generic_flag(); + const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& set_scene_object_generic_flag() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* release_set_scene_object_generic_flag(); + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* mutable_set_scene_object_generic_flag(); + void set_allocated_set_scene_object_generic_flag(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag); + private: + const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& _internal_set_scene_object_generic_flag() const; + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* _internal_mutable_set_scene_object_generic_flag(); + public: + void unsafe_arena_set_allocated_set_scene_object_generic_flag( + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag); + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* unsafe_arena_release_set_scene_object_generic_flag(); + + // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; + bool has_set_scene_object_tint_and_desat() const; + private: + bool _internal_has_set_scene_object_tint_and_desat() const; + public: + void clear_set_scene_object_tint_and_desat(); + const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& set_scene_object_tint_and_desat() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* release_set_scene_object_tint_and_desat(); + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* mutable_set_scene_object_tint_and_desat(); + void set_allocated_set_scene_object_tint_and_desat(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat); + private: + const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& _internal_set_scene_object_tint_and_desat() const; + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* _internal_mutable_set_scene_object_tint_and_desat(); + public: + void unsafe_arena_set_allocated_set_scene_object_tint_and_desat( + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat); + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* unsafe_arena_release_set_scene_object_tint_and_desat(); + + // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; + bool has_destroy_particle_named() const; + private: + bool _internal_has_destroy_particle_named() const; + public: + void clear_destroy_particle_named(); + const ::CUserMsg_ParticleManager_DestroyParticleNamed& destroy_particle_named() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticleNamed* release_destroy_particle_named(); + ::CUserMsg_ParticleManager_DestroyParticleNamed* mutable_destroy_particle_named(); + void set_allocated_destroy_particle_named(::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named); + private: + const ::CUserMsg_ParticleManager_DestroyParticleNamed& _internal_destroy_particle_named() const; + ::CUserMsg_ParticleManager_DestroyParticleNamed* _internal_mutable_destroy_particle_named(); + public: + void unsafe_arena_set_allocated_destroy_particle_named( + ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named); + ::CUserMsg_ParticleManager_DestroyParticleNamed* unsafe_arena_release_destroy_particle_named(); + + // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; + bool has_particle_skip_to_time() const; + private: + bool _internal_has_particle_skip_to_time() const; + public: + void clear_particle_skip_to_time(); + const ::CUserMsg_ParticleManager_ParticleSkipToTime& particle_skip_to_time() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleSkipToTime* release_particle_skip_to_time(); + ::CUserMsg_ParticleManager_ParticleSkipToTime* mutable_particle_skip_to_time(); + void set_allocated_particle_skip_to_time(::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time); + private: + const ::CUserMsg_ParticleManager_ParticleSkipToTime& _internal_particle_skip_to_time() const; + ::CUserMsg_ParticleManager_ParticleSkipToTime* _internal_mutable_particle_skip_to_time(); + public: + void unsafe_arena_set_allocated_particle_skip_to_time( + ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time); + ::CUserMsg_ParticleManager_ParticleSkipToTime* unsafe_arena_release_particle_skip_to_time(); + + // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; + bool has_particle_can_freeze() const; + private: + bool _internal_has_particle_can_freeze() const; + public: + void clear_particle_can_freeze(); + const ::CUserMsg_ParticleManager_ParticleCanFreeze& particle_can_freeze() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleCanFreeze* release_particle_can_freeze(); + ::CUserMsg_ParticleManager_ParticleCanFreeze* mutable_particle_can_freeze(); + void set_allocated_particle_can_freeze(::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze); + private: + const ::CUserMsg_ParticleManager_ParticleCanFreeze& _internal_particle_can_freeze() const; + ::CUserMsg_ParticleManager_ParticleCanFreeze* _internal_mutable_particle_can_freeze(); + public: + void unsafe_arena_set_allocated_particle_can_freeze( + ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze); + ::CUserMsg_ParticleManager_ParticleCanFreeze* unsafe_arena_release_particle_can_freeze(); + + // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; + bool has_set_named_value_context() const; + private: + bool _internal_has_set_named_value_context() const; + public: + void clear_set_named_value_context(); + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& set_named_value_context() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleNamedValueContext* release_set_named_value_context(); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* mutable_set_named_value_context(); + void set_allocated_set_named_value_context(::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context); + private: + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& _internal_set_named_value_context() const; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* _internal_mutable_set_named_value_context(); + public: + void unsafe_arena_set_allocated_set_named_value_context( + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context); + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* unsafe_arena_release_set_named_value_context(); + + // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; + bool has_update_particle_transform() const; + private: + bool _internal_has_update_particle_transform() const; + public: + void clear_update_particle_transform(); + const ::CUserMsg_ParticleManager_UpdateParticleTransform& update_particle_transform() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleTransform* release_update_particle_transform(); + ::CUserMsg_ParticleManager_UpdateParticleTransform* mutable_update_particle_transform(); + void set_allocated_update_particle_transform(::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform); + private: + const ::CUserMsg_ParticleManager_UpdateParticleTransform& _internal_update_particle_transform() const; + ::CUserMsg_ParticleManager_UpdateParticleTransform* _internal_mutable_update_particle_transform(); + public: + void unsafe_arena_set_allocated_update_particle_transform( + ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform); + ::CUserMsg_ParticleManager_UpdateParticleTransform* unsafe_arena_release_update_particle_transform(); + + // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; + bool has_particle_freeze_transition_override() const; + private: + bool _internal_has_particle_freeze_transition_override() const; + public: + void clear_particle_freeze_transition_override(); + const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& particle_freeze_transition_override() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* release_particle_freeze_transition_override(); + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* mutable_particle_freeze_transition_override(); + void set_allocated_particle_freeze_transition_override(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override); + private: + const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& _internal_particle_freeze_transition_override() const; + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* _internal_mutable_particle_freeze_transition_override(); + public: + void unsafe_arena_set_allocated_particle_freeze_transition_override( + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override); + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* unsafe_arena_release_particle_freeze_transition_override(); + + // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; + bool has_freeze_particle_involving() const; + private: + bool _internal_has_freeze_particle_involving() const; + public: + void clear_freeze_particle_involving(); + const ::CUserMsg_ParticleManager_FreezeParticleInvolving& freeze_particle_involving() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_FreezeParticleInvolving* release_freeze_particle_involving(); + ::CUserMsg_ParticleManager_FreezeParticleInvolving* mutable_freeze_particle_involving(); + void set_allocated_freeze_particle_involving(::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving); + private: + const ::CUserMsg_ParticleManager_FreezeParticleInvolving& _internal_freeze_particle_involving() const; + ::CUserMsg_ParticleManager_FreezeParticleInvolving* _internal_mutable_freeze_particle_involving(); + public: + void unsafe_arena_set_allocated_freeze_particle_involving( + ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving); + ::CUserMsg_ParticleManager_FreezeParticleInvolving* unsafe_arena_release_freeze_particle_involving(); + + // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; + bool has_add_modellist_override_element() const; + private: + bool _internal_has_add_modellist_override_element() const; + public: + void clear_add_modellist_override_element(); + const ::CUserMsg_ParticleManager_AddModellistOverrideElement& add_modellist_override_element() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_AddModellistOverrideElement* release_add_modellist_override_element(); + ::CUserMsg_ParticleManager_AddModellistOverrideElement* mutable_add_modellist_override_element(); + void set_allocated_add_modellist_override_element(::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element); + private: + const ::CUserMsg_ParticleManager_AddModellistOverrideElement& _internal_add_modellist_override_element() const; + ::CUserMsg_ParticleManager_AddModellistOverrideElement* _internal_mutable_add_modellist_override_element(); + public: + void unsafe_arena_set_allocated_add_modellist_override_element( + ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element); + ::CUserMsg_ParticleManager_AddModellistOverrideElement* unsafe_arena_release_add_modellist_override_element(); + + // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; + bool has_clear_modellist_override() const; + private: + bool _internal_has_clear_modellist_override() const; + public: + void clear_clear_modellist_override(); + const ::CUserMsg_ParticleManager_ClearModellistOverride& clear_modellist_override() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ClearModellistOverride* release_clear_modellist_override(); + ::CUserMsg_ParticleManager_ClearModellistOverride* mutable_clear_modellist_override(); + void set_allocated_clear_modellist_override(::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override); + private: + const ::CUserMsg_ParticleManager_ClearModellistOverride& _internal_clear_modellist_override() const; + ::CUserMsg_ParticleManager_ClearModellistOverride* _internal_mutable_clear_modellist_override(); + public: + void unsafe_arena_set_allocated_clear_modellist_override( + ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override); + ::CUserMsg_ParticleManager_ClearModellistOverride* unsafe_arena_release_clear_modellist_override(); + + // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; + bool has_create_physics_sim() const; + private: + bool _internal_has_create_physics_sim() const; + public: + void clear_create_physics_sim(); + const ::CUserMsg_ParticleManager_CreatePhysicsSim& create_physics_sim() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_CreatePhysicsSim* release_create_physics_sim(); + ::CUserMsg_ParticleManager_CreatePhysicsSim* mutable_create_physics_sim(); + void set_allocated_create_physics_sim(::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim); + private: + const ::CUserMsg_ParticleManager_CreatePhysicsSim& _internal_create_physics_sim() const; + ::CUserMsg_ParticleManager_CreatePhysicsSim* _internal_mutable_create_physics_sim(); + public: + void unsafe_arena_set_allocated_create_physics_sim( + ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim); + ::CUserMsg_ParticleManager_CreatePhysicsSim* unsafe_arena_release_create_physics_sim(); + + // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; + bool has_destroy_physics_sim() const; + private: + bool _internal_has_destroy_physics_sim() const; + public: + void clear_destroy_physics_sim(); + const ::CUserMsg_ParticleManager_DestroyPhysicsSim& destroy_physics_sim() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyPhysicsSim* release_destroy_physics_sim(); + ::CUserMsg_ParticleManager_DestroyPhysicsSim* mutable_destroy_physics_sim(); + void set_allocated_destroy_physics_sim(::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim); + private: + const ::CUserMsg_ParticleManager_DestroyPhysicsSim& _internal_destroy_physics_sim() const; + ::CUserMsg_ParticleManager_DestroyPhysicsSim* _internal_mutable_destroy_physics_sim(); + public: + void unsafe_arena_set_allocated_destroy_physics_sim( + ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim); + ::CUserMsg_ParticleManager_DestroyPhysicsSim* unsafe_arena_release_destroy_physics_sim(); + + // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; + bool has_set_vdata() const; + private: + bool _internal_has_set_vdata() const; + public: + void clear_set_vdata(); + const ::CUserMsg_ParticleManager_SetVData& set_vdata() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetVData* release_set_vdata(); + ::CUserMsg_ParticleManager_SetVData* mutable_set_vdata(); + void set_allocated_set_vdata(::CUserMsg_ParticleManager_SetVData* set_vdata); + private: + const ::CUserMsg_ParticleManager_SetVData& _internal_set_vdata() const; + ::CUserMsg_ParticleManager_SetVData* _internal_mutable_set_vdata(); + public: + void unsafe_arena_set_allocated_set_vdata( + ::CUserMsg_ParticleManager_SetVData* set_vdata); + ::CUserMsg_ParticleManager_SetVData* unsafe_arena_release_set_vdata(); + + // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; + bool has_set_material_override() const; + private: + bool _internal_has_set_material_override() const; + public: + void clear_set_material_override(); + const ::CUserMsg_ParticleManager_SetMaterialOverride& set_material_override() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetMaterialOverride* release_set_material_override(); + ::CUserMsg_ParticleManager_SetMaterialOverride* mutable_set_material_override(); + void set_allocated_set_material_override(::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override); + private: + const ::CUserMsg_ParticleManager_SetMaterialOverride& _internal_set_material_override() const; + ::CUserMsg_ParticleManager_SetMaterialOverride* _internal_mutable_set_material_override(); + public: + void unsafe_arena_set_allocated_set_material_override( + ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override); + ::CUserMsg_ParticleManager_SetMaterialOverride* unsafe_arena_release_set_material_override(); + + // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; + bool has_add_fan() const; + private: + bool _internal_has_add_fan() const; + public: + void clear_add_fan(); + const ::CUserMsg_ParticleManager_AddFan& add_fan() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_AddFan* release_add_fan(); + ::CUserMsg_ParticleManager_AddFan* mutable_add_fan(); + void set_allocated_add_fan(::CUserMsg_ParticleManager_AddFan* add_fan); + private: + const ::CUserMsg_ParticleManager_AddFan& _internal_add_fan() const; + ::CUserMsg_ParticleManager_AddFan* _internal_mutable_add_fan(); + public: + void unsafe_arena_set_allocated_add_fan( + ::CUserMsg_ParticleManager_AddFan* add_fan); + ::CUserMsg_ParticleManager_AddFan* unsafe_arena_release_add_fan(); + + // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; + bool has_update_fan() const; + private: + bool _internal_has_update_fan() const; + public: + void clear_update_fan(); + const ::CUserMsg_ParticleManager_UpdateFan& update_fan() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateFan* release_update_fan(); + ::CUserMsg_ParticleManager_UpdateFan* mutable_update_fan(); + void set_allocated_update_fan(::CUserMsg_ParticleManager_UpdateFan* update_fan); + private: + const ::CUserMsg_ParticleManager_UpdateFan& _internal_update_fan() const; + ::CUserMsg_ParticleManager_UpdateFan* _internal_mutable_update_fan(); + public: + void unsafe_arena_set_allocated_update_fan( + ::CUserMsg_ParticleManager_UpdateFan* update_fan); + ::CUserMsg_ParticleManager_UpdateFan* unsafe_arena_release_update_fan(); + + // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; + bool has_set_particle_cluster_growth() const; + private: + bool _internal_has_set_particle_cluster_growth() const; + public: + void clear_set_particle_cluster_growth(); + const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& set_particle_cluster_growth() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleClusterGrowth* release_set_particle_cluster_growth(); + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* mutable_set_particle_cluster_growth(); + void set_allocated_set_particle_cluster_growth(::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth); + private: + const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& _internal_set_particle_cluster_growth() const; + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* _internal_mutable_set_particle_cluster_growth(); + public: + void unsafe_arena_set_allocated_set_particle_cluster_growth( + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth); + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* unsafe_arena_release_set_particle_cluster_growth(); + + // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; + bool has_remove_fan() const; + private: + bool _internal_has_remove_fan() const; + public: + void clear_remove_fan(); + const ::CUserMsg_ParticleManager_RemoveFan& remove_fan() const; + PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_RemoveFan* release_remove_fan(); + ::CUserMsg_ParticleManager_RemoveFan* mutable_remove_fan(); + void set_allocated_remove_fan(::CUserMsg_ParticleManager_RemoveFan* remove_fan); + private: + const ::CUserMsg_ParticleManager_RemoveFan& _internal_remove_fan() const; + ::CUserMsg_ParticleManager_RemoveFan* _internal_mutable_remove_fan(); + public: + void unsafe_arena_set_allocated_remove_fan( + ::CUserMsg_ParticleManager_RemoveFan* remove_fan); + ::CUserMsg_ParticleManager_RemoveFan* unsafe_arena_release_remove_fan(); + + // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + ::PARTICLE_MESSAGE type() const; + void set_type(::PARTICLE_MESSAGE value); + private: + ::PARTICLE_MESSAGE _internal_type() const; + void _internal_set_type(::PARTICLE_MESSAGE value); + public: + + // required uint32 index = 2; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + uint32_t index() const; + void set_index(uint32_t value); + private: + uint32_t _internal_index() const; + void _internal_set_index(uint32_t value); + public: + + + template + inline bool HasExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { + + return _impl_._extensions_.Has(id.number()); + } + + template + inline void ClearExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + _impl_._extensions_.ClearExtension(id.number()); + + } + + template + inline int ExtensionSize( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { + + return _impl_._extensions_.ExtensionSize(id.number()); + } + + template + inline typename _proto_TypeTraits::Singular::ConstType GetExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { + + return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, + id.default_value()); + } + + template + inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + + return _proto_TypeTraits::Mutable(id.number(), _field_type, + &_impl_._extensions_); + } + + template + inline void SetExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + typename _proto_TypeTraits::Singular::ConstType value) { + _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); + + } + + template + inline void SetAllocatedExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + typename _proto_TypeTraits::Singular::MutableType value) { + _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, + &_impl_._extensions_); + + } + template + inline void UnsafeArenaSetAllocatedExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + typename _proto_TypeTraits::Singular::MutableType value) { + _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, + value, &_impl_._extensions_); + + } + template + PROTOBUF_NODISCARD inline + typename _proto_TypeTraits::Singular::MutableType + ReleaseExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + + return _proto_TypeTraits::Release(id.number(), _field_type, + &_impl_._extensions_); + } + template + inline typename _proto_TypeTraits::Singular::MutableType + UnsafeArenaReleaseExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + + return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, + &_impl_._extensions_); + } + + template + inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + int index) const { + + return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); + } + + template + inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + int index) { + + return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); + } + + template + inline void SetExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + int index, typename _proto_TypeTraits::Repeated::ConstType value) { + _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); + + } + + template + inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + typename _proto_TypeTraits::Repeated::MutableType to_add = + _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); + + return to_add; + } + + template + inline void AddExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, + typename _proto_TypeTraits::Repeated::ConstType value) { + _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, + &_impl_._extensions_); + + } + + template + inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& + GetRepeatedExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { + + return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); + } + + template + inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* + MutableRepeatedExtension( + const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< + CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { + + return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, + _is_packed, &_impl_._extensions_); + } + + // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager) + private: + class _Internal; + + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; + + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index_; + ::CUserMsg_ParticleManager_CreateParticle* create_particle_; + ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle_; + ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving_; + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle_; + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd_; + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient_; + ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback_; + ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset_; + ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent_; + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw_; + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen_; + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment_; + ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position_; + ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties_; + ::CUserMsg_ParticleManager_SetParticleText* set_particle_text_; + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow_; + ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model_; + ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot_; + ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute_; + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag_; + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat_; + ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named_; + ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time_; + ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze_; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context_; + ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform_; + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override_; + ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving_; + ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element_; + ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override_; + ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim_; + ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim_; + ::CUserMsg_ParticleManager_SetVData* set_vdata_; + ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override_; + ::CUserMsg_ParticleManager_AddFan* add_fan_; + ::CUserMsg_ParticleManager_UpdateFan* update_fan_; + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth_; + ::CUserMsg_ParticleManager_RemoveFan* remove_fan_; + int type_; + uint32_t index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_HudError final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_HudError) */ { + public: + inline CUserMsg_HudError() : CUserMsg_HudError(nullptr) {} + ~CUserMsg_HudError() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_HudError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_HudError(const CUserMsg_HudError& from); + CUserMsg_HudError(CUserMsg_HudError&& from) noexcept + : CUserMsg_HudError() { + *this = ::std::move(from); + } + + inline CUserMsg_HudError& operator=(const CUserMsg_HudError& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_HudError& operator=(CUserMsg_HudError&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_HudError& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_HudError* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_HudError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 81; + + friend void swap(CUserMsg_HudError& a, CUserMsg_HudError& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_HudError* 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(CUserMsg_HudError* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_HudError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_HudError& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_HudError& from) { + CUserMsg_HudError::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(CUserMsg_HudError* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_HudError"; + } + protected: + explicit CUserMsg_HudError(::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 { + kOrderIdFieldNumber = 1, + }; + // optional int32 order_id = 1; + bool has_order_id() const; + private: + bool _internal_has_order_id() const; + public: + void clear_order_id(); + int32_t order_id() const; + void set_order_id(int32_t value); + private: + int32_t _internal_order_id() const; + void _internal_set_order_id(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_HudError) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t order_id_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMsg_CustomGameEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_CustomGameEvent) */ { + public: + inline CUserMsg_CustomGameEvent() : CUserMsg_CustomGameEvent(nullptr) {} + ~CUserMsg_CustomGameEvent() override; + explicit PROTOBUF_CONSTEXPR CUserMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMsg_CustomGameEvent(const CUserMsg_CustomGameEvent& from); + CUserMsg_CustomGameEvent(CUserMsg_CustomGameEvent&& from) noexcept + : CUserMsg_CustomGameEvent() { + *this = ::std::move(from); + } + + inline CUserMsg_CustomGameEvent& operator=(const CUserMsg_CustomGameEvent& from) { + CopyFrom(from); + return *this; + } + inline CUserMsg_CustomGameEvent& operator=(CUserMsg_CustomGameEvent&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMsg_CustomGameEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMsg_CustomGameEvent* internal_default_instance() { + return reinterpret_cast( + &_CUserMsg_CustomGameEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 82; + + friend void swap(CUserMsg_CustomGameEvent& a, CUserMsg_CustomGameEvent& b) { + a.Swap(&b); + } + inline void Swap(CUserMsg_CustomGameEvent* 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(CUserMsg_CustomGameEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMsg_CustomGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMsg_CustomGameEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMsg_CustomGameEvent& from) { + CUserMsg_CustomGameEvent::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(CUserMsg_CustomGameEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMsg_CustomGameEvent"; + } + protected: + explicit CUserMsg_CustomGameEvent(::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 { + kEventNameFieldNumber = 1, + kDataFieldNumber = 2, + }; + // optional string event_name = 1; + bool has_event_name() const; + private: + bool _internal_has_event_name() const; + public: + void clear_event_name(); + const std::string& event_name() const; + template + void set_event_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_event_name(); + PROTOBUF_NODISCARD std::string* release_event_name(); + void set_allocated_event_name(std::string* event_name); + private: + const std::string& _internal_event_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); + std::string* _internal_mutable_event_name(); + public: + + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:CUserMsg_CustomGameEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageHapticsManagerPulse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHapticsManagerPulse) */ { + public: + inline CUserMessageHapticsManagerPulse() : CUserMessageHapticsManagerPulse(nullptr) {} + ~CUserMessageHapticsManagerPulse() override; + explicit PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageHapticsManagerPulse(const CUserMessageHapticsManagerPulse& from); + CUserMessageHapticsManagerPulse(CUserMessageHapticsManagerPulse&& from) noexcept + : CUserMessageHapticsManagerPulse() { + *this = ::std::move(from); + } + + inline CUserMessageHapticsManagerPulse& operator=(const CUserMessageHapticsManagerPulse& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageHapticsManagerPulse& operator=(CUserMessageHapticsManagerPulse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageHapticsManagerPulse& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageHapticsManagerPulse* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageHapticsManagerPulse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 83; + + friend void swap(CUserMessageHapticsManagerPulse& a, CUserMessageHapticsManagerPulse& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageHapticsManagerPulse* 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(CUserMessageHapticsManagerPulse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageHapticsManagerPulse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageHapticsManagerPulse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageHapticsManagerPulse& from) { + CUserMessageHapticsManagerPulse::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(CUserMessageHapticsManagerPulse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageHapticsManagerPulse"; + } + protected: + explicit CUserMessageHapticsManagerPulse(::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 { + kHandIdFieldNumber = 1, + kEffectAmplitudeFieldNumber = 2, + kEffectFrequencyFieldNumber = 3, + kEffectDurationFieldNumber = 4, + }; + // optional int32 hand_id = 1; + bool has_hand_id() const; + private: + bool _internal_has_hand_id() const; + public: + void clear_hand_id(); + int32_t hand_id() const; + void set_hand_id(int32_t value); + private: + int32_t _internal_hand_id() const; + void _internal_set_hand_id(int32_t value); + public: + + // optional float effect_amplitude = 2; + bool has_effect_amplitude() const; + private: + bool _internal_has_effect_amplitude() const; + public: + void clear_effect_amplitude(); + float effect_amplitude() const; + void set_effect_amplitude(float value); + private: + float _internal_effect_amplitude() const; + void _internal_set_effect_amplitude(float value); + public: + + // optional float effect_frequency = 3; + bool has_effect_frequency() const; + private: + bool _internal_has_effect_frequency() const; + public: + void clear_effect_frequency(); + float effect_frequency() const; + void set_effect_frequency(float value); + private: + float _internal_effect_frequency() const; + void _internal_set_effect_frequency(float value); + public: + + // optional float effect_duration = 4; + bool has_effect_duration() const; + private: + bool _internal_has_effect_duration() const; + public: + void clear_effect_duration(); + float effect_duration() const; + void set_effect_duration(float value); + private: + float _internal_effect_duration() const; + void _internal_set_effect_duration(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageHapticsManagerPulse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t hand_id_; + float effect_amplitude_; + float effect_frequency_; + float effect_duration_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageHapticsManagerEffect final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHapticsManagerEffect) */ { + public: + inline CUserMessageHapticsManagerEffect() : CUserMessageHapticsManagerEffect(nullptr) {} + ~CUserMessageHapticsManagerEffect() override; + explicit PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageHapticsManagerEffect(const CUserMessageHapticsManagerEffect& from); + CUserMessageHapticsManagerEffect(CUserMessageHapticsManagerEffect&& from) noexcept + : CUserMessageHapticsManagerEffect() { + *this = ::std::move(from); + } + + inline CUserMessageHapticsManagerEffect& operator=(const CUserMessageHapticsManagerEffect& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageHapticsManagerEffect& operator=(CUserMessageHapticsManagerEffect&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageHapticsManagerEffect& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageHapticsManagerEffect* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageHapticsManagerEffect_default_instance_); + } + static constexpr int kIndexInFileMessages = + 84; + + friend void swap(CUserMessageHapticsManagerEffect& a, CUserMessageHapticsManagerEffect& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageHapticsManagerEffect* 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(CUserMessageHapticsManagerEffect* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageHapticsManagerEffect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageHapticsManagerEffect& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageHapticsManagerEffect& from) { + CUserMessageHapticsManagerEffect::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(CUserMessageHapticsManagerEffect* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageHapticsManagerEffect"; + } + protected: + explicit CUserMessageHapticsManagerEffect(::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 { + kHandIdFieldNumber = 1, + kEffectNameHashCodeFieldNumber = 2, + kEffectScaleFieldNumber = 3, + }; + // optional int32 hand_id = 1; + bool has_hand_id() const; + private: + bool _internal_has_hand_id() const; + public: + void clear_hand_id(); + int32_t hand_id() const; + void set_hand_id(int32_t value); + private: + int32_t _internal_hand_id() const; + void _internal_set_hand_id(int32_t value); + public: + + // optional uint32 effect_name_hash_code = 2; + bool has_effect_name_hash_code() const; + private: + bool _internal_has_effect_name_hash_code() const; + public: + void clear_effect_name_hash_code(); + uint32_t effect_name_hash_code() const; + void set_effect_name_hash_code(uint32_t value); + private: + uint32_t _internal_effect_name_hash_code() const; + void _internal_set_effect_name_hash_code(uint32_t value); + public: + + // optional float effect_scale = 3; + bool has_effect_scale() const; + private: + bool _internal_has_effect_scale() const; + public: + void clear_effect_scale(); + float effect_scale() const; + void set_effect_scale(float value); + private: + float _internal_effect_scale() const; + void _internal_set_effect_scale(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageHapticsManagerEffect) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t hand_id_; + uint32_t effect_name_hash_code_; + float effect_scale_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageAnimStateGraphState final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAnimStateGraphState) */ { + public: + inline CUserMessageAnimStateGraphState() : CUserMessageAnimStateGraphState(nullptr) {} + ~CUserMessageAnimStateGraphState() override; + explicit PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageAnimStateGraphState(const CUserMessageAnimStateGraphState& from); + CUserMessageAnimStateGraphState(CUserMessageAnimStateGraphState&& from) noexcept + : CUserMessageAnimStateGraphState() { + *this = ::std::move(from); + } + + inline CUserMessageAnimStateGraphState& operator=(const CUserMessageAnimStateGraphState& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageAnimStateGraphState& operator=(CUserMessageAnimStateGraphState&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageAnimStateGraphState& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageAnimStateGraphState* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageAnimStateGraphState_default_instance_); + } + static constexpr int kIndexInFileMessages = + 85; + + friend void swap(CUserMessageAnimStateGraphState& a, CUserMessageAnimStateGraphState& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageAnimStateGraphState* 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(CUserMessageAnimStateGraphState* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageAnimStateGraphState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageAnimStateGraphState& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageAnimStateGraphState& from) { + CUserMessageAnimStateGraphState::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(CUserMessageAnimStateGraphState* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageAnimStateGraphState"; + } + protected: + explicit CUserMessageAnimStateGraphState(::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 { + kDataFieldNumber = 2, + kEntityIndexFieldNumber = 1, + }; + // optional bytes data = 2; + bool has_data() const; + private: + bool _internal_has_data() const; + public: + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // optional int32 entity_index = 1; + bool has_entity_index() const; + private: + bool _internal_has_entity_index() const; + public: + void clear_entity_index(); + int32_t entity_index() const; + void set_entity_index(int32_t value); + private: + int32_t _internal_entity_index() const; + void _internal_set_entity_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageAnimStateGraphState) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + int32_t entity_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageUpdateCssClasses final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageUpdateCssClasses) */ { + public: + inline CUserMessageUpdateCssClasses() : CUserMessageUpdateCssClasses(nullptr) {} + ~CUserMessageUpdateCssClasses() override; + explicit PROTOBUF_CONSTEXPR CUserMessageUpdateCssClasses(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageUpdateCssClasses(const CUserMessageUpdateCssClasses& from); + CUserMessageUpdateCssClasses(CUserMessageUpdateCssClasses&& from) noexcept + : CUserMessageUpdateCssClasses() { + *this = ::std::move(from); + } + + inline CUserMessageUpdateCssClasses& operator=(const CUserMessageUpdateCssClasses& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageUpdateCssClasses& operator=(CUserMessageUpdateCssClasses&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageUpdateCssClasses& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageUpdateCssClasses* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageUpdateCssClasses_default_instance_); + } + static constexpr int kIndexInFileMessages = + 86; + + friend void swap(CUserMessageUpdateCssClasses& a, CUserMessageUpdateCssClasses& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageUpdateCssClasses* 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(CUserMessageUpdateCssClasses* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageUpdateCssClasses* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageUpdateCssClasses& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageUpdateCssClasses& from) { + CUserMessageUpdateCssClasses::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(CUserMessageUpdateCssClasses* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageUpdateCssClasses"; + } + protected: + explicit CUserMessageUpdateCssClasses(::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 { + kCssClassesFieldNumber = 2, + kTargetWorldPanelFieldNumber = 1, + kIsAddFieldNumber = 3, + }; + // optional string css_classes = 2; + bool has_css_classes() const; + private: + bool _internal_has_css_classes() const; + public: + void clear_css_classes(); + const std::string& css_classes() const; + template + void set_css_classes(ArgT0&& arg0, ArgT... args); + std::string* mutable_css_classes(); + PROTOBUF_NODISCARD std::string* release_css_classes(); + void set_allocated_css_classes(std::string* css_classes); + private: + const std::string& _internal_css_classes() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_css_classes(const std::string& value); + std::string* _internal_mutable_css_classes(); + public: + + // optional int32 target_world_panel = 1; + bool has_target_world_panel() const; + private: + bool _internal_has_target_world_panel() const; + public: + void clear_target_world_panel(); + int32_t target_world_panel() const; + void set_target_world_panel(int32_t value); + private: + int32_t _internal_target_world_panel() const; + void _internal_set_target_world_panel(int32_t value); + public: + + // optional bool is_add = 3; + bool has_is_add() const; + private: + bool _internal_has_is_add() const; + public: + void clear_is_add(); + bool is_add() const; + void set_is_add(bool value); + private: + bool _internal_is_add() const; + void _internal_set_is_add(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageUpdateCssClasses) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr css_classes_; + int32_t target_world_panel_; + bool is_add_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageServerFrameTime final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageServerFrameTime) */ { + public: + inline CUserMessageServerFrameTime() : CUserMessageServerFrameTime(nullptr) {} + ~CUserMessageServerFrameTime() override; + explicit PROTOBUF_CONSTEXPR CUserMessageServerFrameTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageServerFrameTime(const CUserMessageServerFrameTime& from); + CUserMessageServerFrameTime(CUserMessageServerFrameTime&& from) noexcept + : CUserMessageServerFrameTime() { + *this = ::std::move(from); + } + + inline CUserMessageServerFrameTime& operator=(const CUserMessageServerFrameTime& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageServerFrameTime& operator=(CUserMessageServerFrameTime&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageServerFrameTime& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageServerFrameTime* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageServerFrameTime_default_instance_); + } + static constexpr int kIndexInFileMessages = + 87; + + friend void swap(CUserMessageServerFrameTime& a, CUserMessageServerFrameTime& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageServerFrameTime* 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(CUserMessageServerFrameTime* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageServerFrameTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageServerFrameTime& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageServerFrameTime& from) { + CUserMessageServerFrameTime::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(CUserMessageServerFrameTime* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageServerFrameTime"; + } + protected: + explicit CUserMessageServerFrameTime(::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 { + kFrameTimeFieldNumber = 1, + }; + // optional float frame_time = 1; + bool has_frame_time() const; + private: + bool _internal_has_frame_time() const; + public: + void clear_frame_time(); + float frame_time() const; + void set_frame_time(float value); + private: + float _internal_frame_time() const; + void _internal_set_frame_time(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageServerFrameTime) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float frame_time_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageLagCompensationError final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageLagCompensationError) */ { + public: + inline CUserMessageLagCompensationError() : CUserMessageLagCompensationError(nullptr) {} + ~CUserMessageLagCompensationError() override; + explicit PROTOBUF_CONSTEXPR CUserMessageLagCompensationError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageLagCompensationError(const CUserMessageLagCompensationError& from); + CUserMessageLagCompensationError(CUserMessageLagCompensationError&& from) noexcept + : CUserMessageLagCompensationError() { + *this = ::std::move(from); + } + + inline CUserMessageLagCompensationError& operator=(const CUserMessageLagCompensationError& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageLagCompensationError& operator=(CUserMessageLagCompensationError&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageLagCompensationError& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageLagCompensationError* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageLagCompensationError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 88; + + friend void swap(CUserMessageLagCompensationError& a, CUserMessageLagCompensationError& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageLagCompensationError* 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(CUserMessageLagCompensationError* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageLagCompensationError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageLagCompensationError& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageLagCompensationError& from) { + CUserMessageLagCompensationError::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(CUserMessageLagCompensationError* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageLagCompensationError"; + } + protected: + explicit CUserMessageLagCompensationError(::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 { + kDistanceFieldNumber = 1, + }; + // optional float distance = 1; + bool has_distance() const; + private: + bool _internal_has_distance() const; + public: + void clear_distance(); + float distance() const; + void set_distance(float value); + private: + float _internal_distance() const; + void _internal_set_distance(float value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageLagCompensationError) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + float distance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestDllStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDllStatus) */ { + public: + inline CUserMessageRequestDllStatus() : CUserMessageRequestDllStatus(nullptr) {} + ~CUserMessageRequestDllStatus() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRequestDllStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestDllStatus(const CUserMessageRequestDllStatus& from); + CUserMessageRequestDllStatus(CUserMessageRequestDllStatus&& from) noexcept + : CUserMessageRequestDllStatus() { + *this = ::std::move(from); + } + + inline CUserMessageRequestDllStatus& operator=(const CUserMessageRequestDllStatus& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestDllStatus& operator=(CUserMessageRequestDllStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestDllStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestDllStatus* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestDllStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 89; + + friend void swap(CUserMessageRequestDllStatus& a, CUserMessageRequestDllStatus& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestDllStatus* 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(CUserMessageRequestDllStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestDllStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRequestDllStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRequestDllStatus& from) { + CUserMessageRequestDllStatus::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(CUserMessageRequestDllStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRequestDllStatus"; + } + protected: + explicit CUserMessageRequestDllStatus(::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 { + kDllActionFieldNumber = 1, + kFullReportFieldNumber = 2, + }; + // optional string dll_action = 1; + bool has_dll_action() const; + private: + bool _internal_has_dll_action() const; + public: + void clear_dll_action(); + const std::string& dll_action() const; + template + void set_dll_action(ArgT0&& arg0, ArgT... args); + std::string* mutable_dll_action(); + PROTOBUF_NODISCARD std::string* release_dll_action(); + void set_allocated_dll_action(std::string* dll_action); + private: + const std::string& _internal_dll_action() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_dll_action(const std::string& value); + std::string* _internal_mutable_dll_action(); + public: + + // optional bool full_report = 2; + bool has_full_report() const; + private: + bool _internal_has_full_report() const; + public: + void clear_full_report(); + bool full_report() const; + void set_full_report(bool value); + private: + bool _internal_full_report() const; + void _internal_set_full_report(bool value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageRequestDllStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dll_action_; + bool full_report_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestUtilAction final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestUtilAction) */ { + public: + inline CUserMessageRequestUtilAction() : CUserMessageRequestUtilAction(nullptr) {} + ~CUserMessageRequestUtilAction() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRequestUtilAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestUtilAction(const CUserMessageRequestUtilAction& from); + CUserMessageRequestUtilAction(CUserMessageRequestUtilAction&& from) noexcept + : CUserMessageRequestUtilAction() { + *this = ::std::move(from); + } + + inline CUserMessageRequestUtilAction& operator=(const CUserMessageRequestUtilAction& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestUtilAction& operator=(CUserMessageRequestUtilAction&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestUtilAction& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestUtilAction* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestUtilAction_default_instance_); + } + static constexpr int kIndexInFileMessages = + 90; + + friend void swap(CUserMessageRequestUtilAction& a, CUserMessageRequestUtilAction& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestUtilAction* 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(CUserMessageRequestUtilAction* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestUtilAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRequestUtilAction& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRequestUtilAction& from) { + CUserMessageRequestUtilAction::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(CUserMessageRequestUtilAction* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRequestUtilAction"; + } + protected: + explicit CUserMessageRequestUtilAction(::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 { + kUtil1FieldNumber = 2, + kUtil2FieldNumber = 3, + kUtil3FieldNumber = 4, + kUtil4FieldNumber = 5, + kUtil5FieldNumber = 6, + }; + // optional int32 util1 = 2; + bool has_util1() const; + private: + bool _internal_has_util1() const; + public: + void clear_util1(); + int32_t util1() const; + void set_util1(int32_t value); + private: + int32_t _internal_util1() const; + void _internal_set_util1(int32_t value); + public: + + // optional int32 util2 = 3; + bool has_util2() const; + private: + bool _internal_has_util2() const; + public: + void clear_util2(); + int32_t util2() const; + void set_util2(int32_t value); + private: + int32_t _internal_util2() const; + void _internal_set_util2(int32_t value); + public: + + // optional int32 util3 = 4; + bool has_util3() const; + private: + bool _internal_has_util3() const; + public: + void clear_util3(); + int32_t util3() const; + void set_util3(int32_t value); + private: + int32_t _internal_util3() const; + void _internal_set_util3(int32_t value); + public: + + // optional int32 util4 = 5; + bool has_util4() const; + private: + bool _internal_has_util4() const; + public: + void clear_util4(); + int32_t util4() const; + void set_util4(int32_t value); + private: + int32_t _internal_util4() const; + void _internal_set_util4(int32_t value); + public: + + // optional int32 util5 = 6; + bool has_util5() const; + private: + bool _internal_has_util5() const; + public: + void clear_util5(); + int32_t util5() const; + void set_util5(int32_t value); + private: + int32_t _internal_util5() const; + void _internal_set_util5(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageRequestUtilAction) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t util1_; + int32_t util2_; + int32_t util3_; + int32_t util4_; + int32_t util5_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_UtilMsg_Response_ItemDetail final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_UtilMsg_Response.ItemDetail) */ { + public: + inline CUserMessage_UtilMsg_Response_ItemDetail() : CUserMessage_UtilMsg_Response_ItemDetail(nullptr) {} + ~CUserMessage_UtilMsg_Response_ItemDetail() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_UtilMsg_Response_ItemDetail(const CUserMessage_UtilMsg_Response_ItemDetail& from); + CUserMessage_UtilMsg_Response_ItemDetail(CUserMessage_UtilMsg_Response_ItemDetail&& from) noexcept + : CUserMessage_UtilMsg_Response_ItemDetail() { + *this = ::std::move(from); + } + + inline CUserMessage_UtilMsg_Response_ItemDetail& operator=(const CUserMessage_UtilMsg_Response_ItemDetail& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_UtilMsg_Response_ItemDetail& operator=(CUserMessage_UtilMsg_Response_ItemDetail&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_UtilMsg_Response_ItemDetail& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_UtilMsg_Response_ItemDetail* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_UtilMsg_Response_ItemDetail_default_instance_); + } + static constexpr int kIndexInFileMessages = + 91; + + friend void swap(CUserMessage_UtilMsg_Response_ItemDetail& a, CUserMessage_UtilMsg_Response_ItemDetail& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_UtilMsg_Response_ItemDetail* 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(CUserMessage_UtilMsg_Response_ItemDetail* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_UtilMsg_Response_ItemDetail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_UtilMsg_Response_ItemDetail& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_UtilMsg_Response_ItemDetail& from) { + CUserMessage_UtilMsg_Response_ItemDetail::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(CUserMessage_UtilMsg_Response_ItemDetail* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_UtilMsg_Response.ItemDetail"; + } + protected: + explicit CUserMessage_UtilMsg_Response_ItemDetail(::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 = 4, + kIndexFieldNumber = 1, + kHashFieldNumber = 2, + kCrcFieldNumber = 3, + }; + // optional string name = 4; + 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: + + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 hash = 2; + bool has_hash() const; + private: + bool _internal_has_hash() const; + public: + void clear_hash(); + int32_t hash() const; + void set_hash(int32_t value); + private: + int32_t _internal_hash() const; + void _internal_set_hash(int32_t value); + public: + + // optional int32 crc = 3; + bool has_crc() const; + private: + bool _internal_has_crc() const; + public: + void clear_crc(); + int32_t crc() const; + void set_crc(int32_t value); + private: + int32_t _internal_crc() const; + void _internal_set_crc(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_UtilMsg_Response.ItemDetail) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + int32_t index_; + int32_t hash_; + int32_t crc_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_UtilMsg_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_UtilMsg_Response) */ { + public: + inline CUserMessage_UtilMsg_Response() : CUserMessage_UtilMsg_Response(nullptr) {} + ~CUserMessage_UtilMsg_Response() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_UtilMsg_Response(const CUserMessage_UtilMsg_Response& from); + CUserMessage_UtilMsg_Response(CUserMessage_UtilMsg_Response&& from) noexcept + : CUserMessage_UtilMsg_Response() { + *this = ::std::move(from); + } + + inline CUserMessage_UtilMsg_Response& operator=(const CUserMessage_UtilMsg_Response& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_UtilMsg_Response& operator=(CUserMessage_UtilMsg_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_UtilMsg_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_UtilMsg_Response* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_UtilMsg_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 92; + + friend void swap(CUserMessage_UtilMsg_Response& a, CUserMessage_UtilMsg_Response& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_UtilMsg_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(CUserMessage_UtilMsg_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_UtilMsg_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_UtilMsg_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_UtilMsg_Response& from) { + CUserMessage_UtilMsg_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(CUserMessage_UtilMsg_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_UtilMsg_Response"; + } + protected: + explicit CUserMessage_UtilMsg_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 ---------------------------------------------------- + + typedef CUserMessage_UtilMsg_Response_ItemDetail ItemDetail; + + // accessors ------------------------------------------------------- + + enum : int { + kCrcPartFieldNumber = 5, + kCrcPart2FieldNumber = 6, + kItemdetailsFieldNumber = 9, + kCrcFieldNumber = 1, + kItemCountFieldNumber = 2, + kCrc2FieldNumber = 3, + kItemCount2FieldNumber = 4, + kClientTimestampFieldNumber = 7, + kPlatformFieldNumber = 8, + kItemgroupFieldNumber = 10, + kTotalCountFieldNumber = 11, + kTotalCount2FieldNumber = 12, + }; + // repeated int32 crc_part = 5; + int crc_part_size() const; + private: + int _internal_crc_part_size() const; + public: + void clear_crc_part(); + private: + int32_t _internal_crc_part(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_crc_part() const; + void _internal_add_crc_part(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_crc_part(); + public: + int32_t crc_part(int index) const; + void set_crc_part(int index, int32_t value); + void add_crc_part(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + crc_part() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_crc_part(); + + // repeated int32 crc_part2 = 6; + int crc_part2_size() const; + private: + int _internal_crc_part2_size() const; + public: + void clear_crc_part2(); + private: + int32_t _internal_crc_part2(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_crc_part2() const; + void _internal_add_crc_part2(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_crc_part2(); + public: + int32_t crc_part2(int index) const; + void set_crc_part2(int index, int32_t value); + void add_crc_part2(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + crc_part2() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_crc_part2(); + + // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; + int itemdetails_size() const; + private: + int _internal_itemdetails_size() const; + public: + void clear_itemdetails(); + ::CUserMessage_UtilMsg_Response_ItemDetail* mutable_itemdetails(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >* + mutable_itemdetails(); + private: + const ::CUserMessage_UtilMsg_Response_ItemDetail& _internal_itemdetails(int index) const; + ::CUserMessage_UtilMsg_Response_ItemDetail* _internal_add_itemdetails(); + public: + const ::CUserMessage_UtilMsg_Response_ItemDetail& itemdetails(int index) const; + ::CUserMessage_UtilMsg_Response_ItemDetail* add_itemdetails(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >& + itemdetails() const; + + // optional fixed32 crc = 1; + bool has_crc() const; + private: + bool _internal_has_crc() const; + public: + void clear_crc(); + uint32_t crc() const; + void set_crc(uint32_t value); + private: + uint32_t _internal_crc() const; + void _internal_set_crc(uint32_t value); + public: + + // optional int32 item_count = 2; + bool has_item_count() const; + private: + bool _internal_has_item_count() const; + public: + void clear_item_count(); + int32_t item_count() const; + void set_item_count(int32_t value); + private: + int32_t _internal_item_count() const; + void _internal_set_item_count(int32_t value); + public: + + // optional fixed32 crc2 = 3; + bool has_crc2() const; + private: + bool _internal_has_crc2() const; + public: + void clear_crc2(); + uint32_t crc2() const; + void set_crc2(uint32_t value); + private: + uint32_t _internal_crc2() const; + void _internal_set_crc2(uint32_t value); + public: + + // optional int32 item_count2 = 4; + bool has_item_count2() const; + private: + bool _internal_has_item_count2() const; + public: + void clear_item_count2(); + int32_t item_count2() const; + void set_item_count2(int32_t value); + private: + int32_t _internal_item_count2() const; + void _internal_set_item_count2(int32_t value); + public: + + // optional int32 client_timestamp = 7; + bool has_client_timestamp() const; + private: + bool _internal_has_client_timestamp() const; + public: + void clear_client_timestamp(); + int32_t client_timestamp() const; + void set_client_timestamp(int32_t value); + private: + int32_t _internal_client_timestamp() const; + void _internal_set_client_timestamp(int32_t value); + public: + + // optional int32 platform = 8; + bool has_platform() const; + private: + bool _internal_has_platform() const; + public: + void clear_platform(); + int32_t platform() const; + void set_platform(int32_t value); + private: + int32_t _internal_platform() const; + void _internal_set_platform(int32_t value); + public: + + // optional int32 itemgroup = 10; + bool has_itemgroup() const; + private: + bool _internal_has_itemgroup() const; + public: + void clear_itemgroup(); + int32_t itemgroup() const; + void set_itemgroup(int32_t value); + private: + int32_t _internal_itemgroup() const; + void _internal_set_itemgroup(int32_t value); + public: + + // optional int32 total_count = 11; + bool has_total_count() const; + private: + bool _internal_has_total_count() const; + public: + void clear_total_count(); + int32_t total_count() const; + void set_total_count(int32_t value); + private: + int32_t _internal_total_count() const; + void _internal_set_total_count(int32_t value); + public: + + // optional int32 total_count2 = 12; + bool has_total_count2() const; + private: + bool _internal_has_total_count2() const; + public: + void clear_total_count2(); + int32_t total_count2() const; + void set_total_count2(int32_t value); + private: + int32_t _internal_total_count2() const; + void _internal_set_total_count2(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_UtilMsg_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > crc_part_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > crc_part2_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail > itemdetails_; + uint32_t crc_; + int32_t item_count_; + uint32_t crc2_; + int32_t item_count2_; + int32_t client_timestamp_; + int32_t platform_; + int32_t itemgroup_; + int32_t total_count_; + int32_t total_count2_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_DllStatus_CVDiagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus.CVDiagnostic) */ { + public: + inline CUserMessage_DllStatus_CVDiagnostic() : CUserMessage_DllStatus_CVDiagnostic(nullptr) {} + ~CUserMessage_DllStatus_CVDiagnostic() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_DllStatus_CVDiagnostic(const CUserMessage_DllStatus_CVDiagnostic& from); + CUserMessage_DllStatus_CVDiagnostic(CUserMessage_DllStatus_CVDiagnostic&& from) noexcept + : CUserMessage_DllStatus_CVDiagnostic() { + *this = ::std::move(from); + } + + inline CUserMessage_DllStatus_CVDiagnostic& operator=(const CUserMessage_DllStatus_CVDiagnostic& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_DllStatus_CVDiagnostic& operator=(CUserMessage_DllStatus_CVDiagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_DllStatus_CVDiagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_DllStatus_CVDiagnostic* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_DllStatus_CVDiagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 93; + + friend void swap(CUserMessage_DllStatus_CVDiagnostic& a, CUserMessage_DllStatus_CVDiagnostic& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_DllStatus_CVDiagnostic* 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(CUserMessage_DllStatus_CVDiagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_DllStatus_CVDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_DllStatus_CVDiagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_DllStatus_CVDiagnostic& from) { + CUserMessage_DllStatus_CVDiagnostic::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(CUserMessage_DllStatus_CVDiagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_DllStatus.CVDiagnostic"; + } + protected: + explicit CUserMessage_DllStatus_CVDiagnostic(::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 { + kStringValueFieldNumber = 4, + kIdFieldNumber = 1, + kExtendedFieldNumber = 2, + kValueFieldNumber = 3, + }; + // optional string string_value = 4; + bool has_string_value() const; + private: + bool _internal_has_string_value() const; + public: + void clear_string_value(); + const std::string& string_value() const; + template + void set_string_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_string_value(); + PROTOBUF_NODISCARD std::string* release_string_value(); + void set_allocated_string_value(std::string* string_value); + private: + const std::string& _internal_string_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); + std::string* _internal_mutable_string_value(); + public: + + // optional uint32 id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + uint32_t id() const; + void set_id(uint32_t value); + private: + uint32_t _internal_id() const; + void _internal_set_id(uint32_t value); + public: + + // optional uint32 extended = 2; + bool has_extended() const; + private: + bool _internal_has_extended() const; + public: + void clear_extended(); + uint32_t extended() const; + void set_extended(uint32_t value); + private: + uint32_t _internal_extended() const; + void _internal_set_extended(uint32_t value); + public: + + // optional uint64 value = 3; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + uint64_t value() const; + void set_value(uint64_t value); + private: + uint64_t _internal_value() const; + void _internal_set_value(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus.CVDiagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; + uint32_t id_; + uint32_t extended_; + uint64_t value_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_DllStatus_CModule final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus.CModule) */ { + public: + inline CUserMessage_DllStatus_CModule() : CUserMessage_DllStatus_CModule(nullptr) {} + ~CUserMessage_DllStatus_CModule() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_DllStatus_CModule(const CUserMessage_DllStatus_CModule& from); + CUserMessage_DllStatus_CModule(CUserMessage_DllStatus_CModule&& from) noexcept + : CUserMessage_DllStatus_CModule() { + *this = ::std::move(from); + } + + inline CUserMessage_DllStatus_CModule& operator=(const CUserMessage_DllStatus_CModule& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_DllStatus_CModule& operator=(CUserMessage_DllStatus_CModule&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_DllStatus_CModule& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_DllStatus_CModule* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_DllStatus_CModule_default_instance_); + } + static constexpr int kIndexInFileMessages = + 94; + + friend void swap(CUserMessage_DllStatus_CModule& a, CUserMessage_DllStatus_CModule& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_DllStatus_CModule* 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(CUserMessage_DllStatus_CModule* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_DllStatus_CModule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_DllStatus_CModule& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_DllStatus_CModule& from) { + CUserMessage_DllStatus_CModule::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(CUserMessage_DllStatus_CModule* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_DllStatus.CModule"; + } + protected: + explicit CUserMessage_DllStatus_CModule(::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 = 2, + kBaseAddrFieldNumber = 1, + kSizeFieldNumber = 3, + kTimestampFieldNumber = 4, + }; + // optional 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: + + // optional uint64 base_addr = 1; + bool has_base_addr() const; + private: + bool _internal_has_base_addr() const; + public: + void clear_base_addr(); + uint64_t base_addr() const; + void set_base_addr(uint64_t value); + private: + uint64_t _internal_base_addr() const; + void _internal_set_base_addr(uint64_t value); + public: + + // optional uint32 size = 3; + bool has_size() const; + private: + bool _internal_has_size() const; + public: + void clear_size(); + uint32_t size() const; + void set_size(uint32_t value); + private: + uint32_t _internal_size() const; + void _internal_set_size(uint32_t value); + public: + + // optional uint32 timestamp = 4; + bool has_timestamp() const; + private: + bool _internal_has_timestamp() const; + public: + void clear_timestamp(); + uint32_t timestamp() const; + void set_timestamp(uint32_t value); + private: + uint32_t _internal_timestamp() const; + void _internal_set_timestamp(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus.CModule) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint64_t base_addr_; + uint32_t size_; + uint32_t timestamp_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_DllStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus) */ { + public: + inline CUserMessage_DllStatus() : CUserMessage_DllStatus(nullptr) {} + ~CUserMessage_DllStatus() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_DllStatus(const CUserMessage_DllStatus& from); + CUserMessage_DllStatus(CUserMessage_DllStatus&& from) noexcept + : CUserMessage_DllStatus() { + *this = ::std::move(from); + } + + inline CUserMessage_DllStatus& operator=(const CUserMessage_DllStatus& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_DllStatus& operator=(CUserMessage_DllStatus&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_DllStatus& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_DllStatus* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_DllStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 95; + + friend void swap(CUserMessage_DllStatus& a, CUserMessage_DllStatus& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_DllStatus* 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(CUserMessage_DllStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_DllStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_DllStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_DllStatus& from) { + CUserMessage_DllStatus::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(CUserMessage_DllStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_DllStatus"; + } + protected: + explicit CUserMessage_DllStatus(::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 ---------------------------------------------------- + + typedef CUserMessage_DllStatus_CVDiagnostic CVDiagnostic; + typedef CUserMessage_DllStatus_CModule CModule; + + // accessors ------------------------------------------------------- + + enum : int { + kDiagnosticsFieldNumber = 7, + kModulesFieldNumber = 8, + kFileReportFieldNumber = 1, + kCommandLineFieldNumber = 2, + kTotalFilesFieldNumber = 3, + kProcessIdFieldNumber = 4, + kClientTimeFieldNumber = 6, + kOsversionFieldNumber = 5, + }; + // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; + int diagnostics_size() const; + private: + int _internal_diagnostics_size() const; + public: + void clear_diagnostics(); + ::CUserMessage_DllStatus_CVDiagnostic* mutable_diagnostics(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >* + mutable_diagnostics(); + private: + const ::CUserMessage_DllStatus_CVDiagnostic& _internal_diagnostics(int index) const; + ::CUserMessage_DllStatus_CVDiagnostic* _internal_add_diagnostics(); + public: + const ::CUserMessage_DllStatus_CVDiagnostic& diagnostics(int index) const; + ::CUserMessage_DllStatus_CVDiagnostic* add_diagnostics(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >& + diagnostics() const; + + // repeated .CUserMessage_DllStatus.CModule modules = 8; + int modules_size() const; + private: + int _internal_modules_size() const; + public: + void clear_modules(); + ::CUserMessage_DllStatus_CModule* mutable_modules(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >* + mutable_modules(); + private: + const ::CUserMessage_DllStatus_CModule& _internal_modules(int index) const; + ::CUserMessage_DllStatus_CModule* _internal_add_modules(); + public: + const ::CUserMessage_DllStatus_CModule& modules(int index) const; + ::CUserMessage_DllStatus_CModule* add_modules(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >& + modules() const; + + // optional string file_report = 1; + bool has_file_report() const; + private: + bool _internal_has_file_report() const; + public: + void clear_file_report(); + const std::string& file_report() const; + template + void set_file_report(ArgT0&& arg0, ArgT... args); + std::string* mutable_file_report(); + PROTOBUF_NODISCARD std::string* release_file_report(); + void set_allocated_file_report(std::string* file_report); + private: + const std::string& _internal_file_report() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); + std::string* _internal_mutable_file_report(); + public: + + // optional string command_line = 2; + bool has_command_line() const; + private: + bool _internal_has_command_line() const; + public: + void clear_command_line(); + const std::string& command_line() const; + template + void set_command_line(ArgT0&& arg0, ArgT... args); + std::string* mutable_command_line(); + PROTOBUF_NODISCARD std::string* release_command_line(); + void set_allocated_command_line(std::string* command_line); + private: + const std::string& _internal_command_line() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_command_line(const std::string& value); + std::string* _internal_mutable_command_line(); + public: + + // optional uint32 total_files = 3; + bool has_total_files() const; + private: + bool _internal_has_total_files() const; + public: + void clear_total_files(); + uint32_t total_files() const; + void set_total_files(uint32_t value); + private: + uint32_t _internal_total_files() const; + void _internal_set_total_files(uint32_t value); + public: + + // optional uint32 process_id = 4; + bool has_process_id() const; + private: + bool _internal_has_process_id() const; + public: + void clear_process_id(); + uint32_t process_id() const; + void set_process_id(uint32_t value); + private: + uint32_t _internal_process_id() const; + void _internal_set_process_id(uint32_t value); + public: + + // optional uint64 client_time = 6; + bool has_client_time() const; + private: + bool _internal_has_client_time() const; + public: + void clear_client_time(); + uint64_t client_time() const; + void set_client_time(uint64_t value); + private: + uint64_t _internal_client_time() const; + void _internal_set_client_time(uint64_t value); + public: + + // optional int32 osversion = 5; + bool has_osversion() const; + private: + bool _internal_has_osversion() const; + public: + void clear_osversion(); + int32_t osversion() const; + void set_osversion(int32_t value); + private: + int32_t _internal_osversion() const; + void _internal_set_osversion(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic > diagnostics_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule > modules_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_line_; + uint32_t total_files_; + uint32_t process_id_; + uint64_t client_time_; + int32_t osversion_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestInventory final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestInventory) */ { + public: + inline CUserMessageRequestInventory() : CUserMessageRequestInventory(nullptr) {} + ~CUserMessageRequestInventory() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRequestInventory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestInventory(const CUserMessageRequestInventory& from); + CUserMessageRequestInventory(CUserMessageRequestInventory&& from) noexcept + : CUserMessageRequestInventory() { + *this = ::std::move(from); + } + + inline CUserMessageRequestInventory& operator=(const CUserMessageRequestInventory& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestInventory& operator=(CUserMessageRequestInventory&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestInventory& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestInventory* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestInventory_default_instance_); + } + static constexpr int kIndexInFileMessages = + 96; + + friend void swap(CUserMessageRequestInventory& a, CUserMessageRequestInventory& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestInventory* 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(CUserMessageRequestInventory* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestInventory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRequestInventory& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRequestInventory& from) { + CUserMessageRequestInventory::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(CUserMessageRequestInventory* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRequestInventory"; + } + protected: + explicit CUserMessageRequestInventory(::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 { + kInventoryFieldNumber = 1, + kOffsetFieldNumber = 2, + kOptionsFieldNumber = 3, + }; + // optional int32 inventory = 1; + bool has_inventory() const; + private: + bool _internal_has_inventory() const; + public: + void clear_inventory(); + int32_t inventory() const; + void set_inventory(int32_t value); + private: + int32_t _internal_inventory() const; + void _internal_set_inventory(int32_t value); + public: + + // optional int32 offset = 2; + bool has_offset() const; + private: + bool _internal_has_offset() const; + public: + void clear_offset(); + int32_t offset() const; + void set_offset(int32_t value); + private: + int32_t _internal_offset() const; + void _internal_set_offset(int32_t value); + public: + + // optional int32 options = 3; + bool has_options() const; + private: + bool _internal_has_options() const; + public: + void clear_options(); + int32_t options() const; + void set_options(int32_t value); + private: + int32_t _internal_options() const; + void _internal_set_options(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageRequestInventory) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + int32_t inventory_; + int32_t offset_; + int32_t options_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_Inventory_Response_InventoryDetail final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Inventory_Response.InventoryDetail) */ { + public: + inline CUserMessage_Inventory_Response_InventoryDetail() : CUserMessage_Inventory_Response_InventoryDetail(nullptr) {} + ~CUserMessage_Inventory_Response_InventoryDetail() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_Inventory_Response_InventoryDetail(const CUserMessage_Inventory_Response_InventoryDetail& from); + CUserMessage_Inventory_Response_InventoryDetail(CUserMessage_Inventory_Response_InventoryDetail&& from) noexcept + : CUserMessage_Inventory_Response_InventoryDetail() { + *this = ::std::move(from); + } + + inline CUserMessage_Inventory_Response_InventoryDetail& operator=(const CUserMessage_Inventory_Response_InventoryDetail& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_Inventory_Response_InventoryDetail& operator=(CUserMessage_Inventory_Response_InventoryDetail&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_Inventory_Response_InventoryDetail& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_Inventory_Response_InventoryDetail* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_Inventory_Response_InventoryDetail_default_instance_); + } + static constexpr int kIndexInFileMessages = + 97; + + friend void swap(CUserMessage_Inventory_Response_InventoryDetail& a, CUserMessage_Inventory_Response_InventoryDetail& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_Inventory_Response_InventoryDetail* 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(CUserMessage_Inventory_Response_InventoryDetail* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_Inventory_Response_InventoryDetail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_Inventory_Response_InventoryDetail& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_Inventory_Response_InventoryDetail& from) { + CUserMessage_Inventory_Response_InventoryDetail::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(CUserMessage_Inventory_Response_InventoryDetail* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_Inventory_Response.InventoryDetail"; + } + protected: + explicit CUserMessage_Inventory_Response_InventoryDetail(::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 = 6, + kBaseNameFieldNumber = 7, + kPrimaryFieldNumber = 2, + kOffsetFieldNumber = 3, + kFirstFieldNumber = 4, + kIndexFieldNumber = 1, + kBaseDetailFieldNumber = 8, + kBaseFieldNumber = 5, + kBaseTimeFieldNumber = 9, + kBaseHashFieldNumber = 10, + }; + // optional string name = 6; + 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: + + // optional string base_name = 7; + bool has_base_name() const; + private: + bool _internal_has_base_name() const; + public: + void clear_base_name(); + const std::string& base_name() const; + template + void set_base_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_base_name(); + PROTOBUF_NODISCARD std::string* release_base_name(); + void set_allocated_base_name(std::string* base_name); + private: + const std::string& _internal_base_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_base_name(const std::string& value); + std::string* _internal_mutable_base_name(); + public: + + // optional int64 primary = 2; + bool has_primary() const; + private: + bool _internal_has_primary() const; + public: + void clear_primary(); + int64_t primary() const; + void set_primary(int64_t value); + private: + int64_t _internal_primary() const; + void _internal_set_primary(int64_t value); + public: + + // optional int64 offset = 3; + bool has_offset() const; + private: + bool _internal_has_offset() const; + public: + void clear_offset(); + int64_t offset() const; + void set_offset(int64_t value); + private: + int64_t _internal_offset() const; + void _internal_set_offset(int64_t value); + public: + + // optional int64 first = 4; + bool has_first() const; + private: + bool _internal_has_first() const; + public: + void clear_first(); + int64_t first() const; + void set_first(int64_t value); + private: + int64_t _internal_first() const; + void _internal_set_first(int64_t value); + public: + + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 base_detail = 8; + bool has_base_detail() const; + private: + bool _internal_has_base_detail() const; + public: + void clear_base_detail(); + int32_t base_detail() const; + void set_base_detail(int32_t value); + private: + int32_t _internal_base_detail() const; + void _internal_set_base_detail(int32_t value); + public: + + // optional int64 base = 5; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + int64_t base() const; + void set_base(int64_t value); + private: + int64_t _internal_base() const; + void _internal_set_base(int64_t value); + public: + + // optional int32 base_time = 9; + bool has_base_time() const; + private: + bool _internal_has_base_time() const; + public: + void clear_base_time(); + int32_t base_time() const; + void set_base_time(int32_t value); + private: + int32_t _internal_base_time() const; + void _internal_set_base_time(int32_t value); + public: + + // optional int32 base_hash = 10; + bool has_base_hash() const; + private: + bool _internal_has_base_hash() const; + public: + void clear_base_hash(); + int32_t base_hash() const; + void set_base_hash(int32_t value); + private: + int32_t _internal_base_hash() const; + void _internal_set_base_hash(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_Inventory_Response.InventoryDetail) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_name_; + int64_t primary_; + int64_t offset_; + int64_t first_; + int32_t index_; + int32_t base_detail_; + int64_t base_; + int32_t base_time_; + int32_t base_hash_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_Inventory_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Inventory_Response) */ { + public: + inline CUserMessage_Inventory_Response() : CUserMessage_Inventory_Response(nullptr) {} + ~CUserMessage_Inventory_Response() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_Inventory_Response(const CUserMessage_Inventory_Response& from); + CUserMessage_Inventory_Response(CUserMessage_Inventory_Response&& from) noexcept + : CUserMessage_Inventory_Response() { + *this = ::std::move(from); + } + + inline CUserMessage_Inventory_Response& operator=(const CUserMessage_Inventory_Response& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_Inventory_Response& operator=(CUserMessage_Inventory_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_Inventory_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_Inventory_Response* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_Inventory_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 98; + + friend void swap(CUserMessage_Inventory_Response& a, CUserMessage_Inventory_Response& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_Inventory_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(CUserMessage_Inventory_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_Inventory_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_Inventory_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_Inventory_Response& from) { + CUserMessage_Inventory_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(CUserMessage_Inventory_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_Inventory_Response"; + } + protected: + explicit CUserMessage_Inventory_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 ---------------------------------------------------- + + typedef CUserMessage_Inventory_Response_InventoryDetail InventoryDetail; + + // accessors ------------------------------------------------------- + + enum : int { + kInventoriesFieldNumber = 9, + kInventories2FieldNumber = 10, + kInventories3FieldNumber = 14, + kCrcFieldNumber = 1, + kItemCountFieldNumber = 2, + kOsversionFieldNumber = 5, + kPerfTimeFieldNumber = 6, + kClientTimestampFieldNumber = 7, + kPlatformFieldNumber = 8, + kInvTypeFieldNumber = 11, + kBuildVersionFieldNumber = 12, + kStartTimeFieldNumber = 15, + kInstanceFieldNumber = 13, + }; + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; + int inventories_size() const; + private: + int _internal_inventories_size() const; + public: + void clear_inventories(); + ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* + mutable_inventories(); + private: + const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories(); + public: + const ::CUserMessage_Inventory_Response_InventoryDetail& inventories(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& + inventories() const; + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; + int inventories2_size() const; + private: + int _internal_inventories2_size() const; + public: + void clear_inventories2(); + ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories2(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* + mutable_inventories2(); + private: + const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories2(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories2(); + public: + const ::CUserMessage_Inventory_Response_InventoryDetail& inventories2(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories2(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& + inventories2() const; + + // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; + int inventories3_size() const; + private: + int _internal_inventories3_size() const; + public: + void clear_inventories3(); + ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories3(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* + mutable_inventories3(); + private: + const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories3(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories3(); + public: + const ::CUserMessage_Inventory_Response_InventoryDetail& inventories3(int index) const; + ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories3(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& + inventories3() const; + + // optional fixed32 crc = 1; + bool has_crc() const; + private: + bool _internal_has_crc() const; + public: + void clear_crc(); + uint32_t crc() const; + void set_crc(uint32_t value); + private: + uint32_t _internal_crc() const; + void _internal_set_crc(uint32_t value); + public: + + // optional int32 item_count = 2; + bool has_item_count() const; + private: + bool _internal_has_item_count() const; + public: + void clear_item_count(); + int32_t item_count() const; + void set_item_count(int32_t value); + private: + int32_t _internal_item_count() const; + void _internal_set_item_count(int32_t value); + public: + + // optional int32 osversion = 5; + bool has_osversion() const; + private: + bool _internal_has_osversion() const; + public: + void clear_osversion(); + int32_t osversion() const; + void set_osversion(int32_t value); + private: + int32_t _internal_osversion() const; + void _internal_set_osversion(int32_t value); + public: + + // optional int32 perf_time = 6; + bool has_perf_time() const; + private: + bool _internal_has_perf_time() const; + public: + void clear_perf_time(); + int32_t perf_time() const; + void set_perf_time(int32_t value); + private: + int32_t _internal_perf_time() const; + void _internal_set_perf_time(int32_t value); + public: + + // optional int32 client_timestamp = 7; + bool has_client_timestamp() const; + private: + bool _internal_has_client_timestamp() const; + public: + void clear_client_timestamp(); + int32_t client_timestamp() const; + void set_client_timestamp(int32_t value); + private: + int32_t _internal_client_timestamp() const; + void _internal_set_client_timestamp(int32_t value); + public: + + // optional int32 platform = 8; + bool has_platform() const; + private: + bool _internal_has_platform() const; + public: + void clear_platform(); + int32_t platform() const; + void set_platform(int32_t value); + private: + int32_t _internal_platform() const; + void _internal_set_platform(int32_t value); + public: + + // optional int32 inv_type = 11; + bool has_inv_type() const; + private: + bool _internal_has_inv_type() const; + public: + void clear_inv_type(); + int32_t inv_type() const; + void set_inv_type(int32_t value); + private: + int32_t _internal_inv_type() const; + void _internal_set_inv_type(int32_t value); + public: + + // optional int32 build_version = 12; + bool has_build_version() const; + private: + bool _internal_has_build_version() const; + public: + void clear_build_version(); + int32_t build_version() const; + void set_build_version(int32_t value); + private: + int32_t _internal_build_version() const; + void _internal_set_build_version(int32_t value); + public: + + // optional int64 start_time = 15; + bool has_start_time() const; + private: + bool _internal_has_start_time() const; + public: + void clear_start_time(); + int64_t start_time() const; + void set_start_time(int64_t value); + private: + int64_t _internal_start_time() const; + void _internal_set_start_time(int64_t value); + public: + + // optional int32 instance = 13; + bool has_instance() const; + private: + bool _internal_has_instance() const; + public: + void clear_instance(); + int32_t instance() const; + void set_instance(int32_t value); + private: + int32_t _internal_instance() const; + void _internal_set_instance(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_Inventory_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories2_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories3_; + uint32_t crc_; + int32_t item_count_; + int32_t osversion_; + int32_t perf_time_; + int32_t client_timestamp_; + int32_t platform_; + int32_t inv_type_; + int32_t build_version_; + int64_t start_time_; + int32_t instance_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestDiagnostic_Diagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDiagnostic.Diagnostic) */ { + public: + inline CUserMessageRequestDiagnostic_Diagnostic() : CUserMessageRequestDiagnostic_Diagnostic(nullptr) {} + ~CUserMessageRequestDiagnostic_Diagnostic() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestDiagnostic_Diagnostic(const CUserMessageRequestDiagnostic_Diagnostic& from); + CUserMessageRequestDiagnostic_Diagnostic(CUserMessageRequestDiagnostic_Diagnostic&& from) noexcept + : CUserMessageRequestDiagnostic_Diagnostic() { + *this = ::std::move(from); + } + + inline CUserMessageRequestDiagnostic_Diagnostic& operator=(const CUserMessageRequestDiagnostic_Diagnostic& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestDiagnostic_Diagnostic& operator=(CUserMessageRequestDiagnostic_Diagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestDiagnostic_Diagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestDiagnostic_Diagnostic* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestDiagnostic_Diagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 99; + + friend void swap(CUserMessageRequestDiagnostic_Diagnostic& a, CUserMessageRequestDiagnostic_Diagnostic& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestDiagnostic_Diagnostic* 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(CUserMessageRequestDiagnostic_Diagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestDiagnostic_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRequestDiagnostic_Diagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRequestDiagnostic_Diagnostic& from) { + CUserMessageRequestDiagnostic_Diagnostic::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(CUserMessageRequestDiagnostic_Diagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRequestDiagnostic.Diagnostic"; + } + protected: + explicit CUserMessageRequestDiagnostic_Diagnostic(::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 = 10, + kAliasFieldNumber = 11, + kVardetailFieldNumber = 12, + kOffsetFieldNumber = 2, + kIndexFieldNumber = 1, + kParamFieldNumber = 3, + kLengthFieldNumber = 4, + kTypeFieldNumber = 5, + kBaseFieldNumber = 6, + kRangeFieldNumber = 7, + kExtentFieldNumber = 8, + kDetailFieldNumber = 9, + kContextFieldNumber = 13, + }; + // optional string name = 10; + 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: + + // optional string alias = 11; + bool has_alias() const; + private: + bool _internal_has_alias() const; + public: + void clear_alias(); + const std::string& alias() const; + template + void set_alias(ArgT0&& arg0, ArgT... args); + std::string* mutable_alias(); + PROTOBUF_NODISCARD std::string* release_alias(); + void set_allocated_alias(std::string* alias); + private: + const std::string& _internal_alias() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const std::string& value); + std::string* _internal_mutable_alias(); + public: + + // optional bytes vardetail = 12; + bool has_vardetail() const; + private: + bool _internal_has_vardetail() const; + public: + void clear_vardetail(); + const std::string& vardetail() const; + template + void set_vardetail(ArgT0&& arg0, ArgT... args); + std::string* mutable_vardetail(); + PROTOBUF_NODISCARD std::string* release_vardetail(); + void set_allocated_vardetail(std::string* vardetail); + private: + const std::string& _internal_vardetail() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_vardetail(const std::string& value); + std::string* _internal_mutable_vardetail(); + public: + + // optional int64 offset = 2; + bool has_offset() const; + private: + bool _internal_has_offset() const; + public: + void clear_offset(); + int64_t offset() const; + void set_offset(int64_t value); + private: + int64_t _internal_offset() const; + void _internal_set_offset(int64_t value); + public: + + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 param = 3; + bool has_param() const; + private: + bool _internal_has_param() const; + public: + void clear_param(); + int32_t param() const; + void set_param(int32_t value); + private: + int32_t _internal_param() const; + void _internal_set_param(int32_t value); + public: + + // optional int32 length = 4; + bool has_length() const; + private: + bool _internal_has_length() const; + public: + void clear_length(); + int32_t length() const; + void set_length(int32_t value); + private: + int32_t _internal_length() const; + void _internal_set_length(int32_t value); + public: + + // optional int32 type = 5; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int64 base = 6; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + int64_t base() const; + void set_base(int64_t value); + private: + int64_t _internal_base() const; + void _internal_set_base(int64_t value); + public: + + // optional int64 range = 7; + bool has_range() const; + private: + bool _internal_has_range() const; + public: + void clear_range(); + int64_t range() const; + void set_range(int64_t value); + private: + int64_t _internal_range() const; + void _internal_set_range(int64_t value); + public: + + // optional int64 extent = 8; + bool has_extent() const; + private: + bool _internal_has_extent() const; + public: + void clear_extent(); + int64_t extent() const; + void set_extent(int64_t value); + private: + int64_t _internal_extent() const; + void _internal_set_extent(int64_t value); + public: + + // optional int64 detail = 9; + bool has_detail() const; + private: + bool _internal_has_detail() const; + public: + void clear_detail(); + int64_t detail() const; + void set_detail(int64_t value); + private: + int64_t _internal_detail() const; + void _internal_set_detail(int64_t value); + public: + + // optional int32 context = 13; + bool has_context() const; + private: + bool _internal_has_context() const; + public: + void clear_context(); + int32_t context() const; + void set_context(int32_t value); + private: + int32_t _internal_context() const; + void _internal_set_context(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessageRequestDiagnostic.Diagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vardetail_; + int64_t offset_; + int32_t index_; + int32_t param_; + int32_t length_; + int32_t type_; + int64_t base_; + int64_t range_; + int64_t extent_; + int64_t detail_; + int32_t context_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessageRequestDiagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDiagnostic) */ { + public: + inline CUserMessageRequestDiagnostic() : CUserMessageRequestDiagnostic(nullptr) {} + ~CUserMessageRequestDiagnostic() override; + explicit PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessageRequestDiagnostic(const CUserMessageRequestDiagnostic& from); + CUserMessageRequestDiagnostic(CUserMessageRequestDiagnostic&& from) noexcept + : CUserMessageRequestDiagnostic() { + *this = ::std::move(from); + } + + inline CUserMessageRequestDiagnostic& operator=(const CUserMessageRequestDiagnostic& from) { + CopyFrom(from); + return *this; + } + inline CUserMessageRequestDiagnostic& operator=(CUserMessageRequestDiagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessageRequestDiagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessageRequestDiagnostic* internal_default_instance() { + return reinterpret_cast( + &_CUserMessageRequestDiagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 100; + + friend void swap(CUserMessageRequestDiagnostic& a, CUserMessageRequestDiagnostic& b) { + a.Swap(&b); + } + inline void Swap(CUserMessageRequestDiagnostic* 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(CUserMessageRequestDiagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessageRequestDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessageRequestDiagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessageRequestDiagnostic& from) { + CUserMessageRequestDiagnostic::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(CUserMessageRequestDiagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessageRequestDiagnostic"; + } + protected: + explicit CUserMessageRequestDiagnostic(::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 ---------------------------------------------------- + + typedef CUserMessageRequestDiagnostic_Diagnostic Diagnostic; + + // accessors ------------------------------------------------------- + + enum : int { + kDiagnosticsFieldNumber = 1, + }; + // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; + int diagnostics_size() const; + private: + int _internal_diagnostics_size() const; + public: + void clear_diagnostics(); + ::CUserMessageRequestDiagnostic_Diagnostic* mutable_diagnostics(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >* + mutable_diagnostics(); + private: + const ::CUserMessageRequestDiagnostic_Diagnostic& _internal_diagnostics(int index) const; + ::CUserMessageRequestDiagnostic_Diagnostic* _internal_add_diagnostics(); + public: + const ::CUserMessageRequestDiagnostic_Diagnostic& diagnostics(int index) const; + ::CUserMessageRequestDiagnostic_Diagnostic* add_diagnostics(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >& + diagnostics() const; + + // @@protoc_insertion_point(class_scope:CUserMessageRequestDiagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic > diagnostics_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_Diagnostic_Response_Diagnostic final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Diagnostic_Response.Diagnostic) */ { + public: + inline CUserMessage_Diagnostic_Response_Diagnostic() : CUserMessage_Diagnostic_Response_Diagnostic(nullptr) {} + ~CUserMessage_Diagnostic_Response_Diagnostic() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_Diagnostic_Response_Diagnostic(const CUserMessage_Diagnostic_Response_Diagnostic& from); + CUserMessage_Diagnostic_Response_Diagnostic(CUserMessage_Diagnostic_Response_Diagnostic&& from) noexcept + : CUserMessage_Diagnostic_Response_Diagnostic() { + *this = ::std::move(from); + } + + inline CUserMessage_Diagnostic_Response_Diagnostic& operator=(const CUserMessage_Diagnostic_Response_Diagnostic& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_Diagnostic_Response_Diagnostic& operator=(CUserMessage_Diagnostic_Response_Diagnostic&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_Diagnostic_Response_Diagnostic& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_Diagnostic_Response_Diagnostic* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_Diagnostic_Response_Diagnostic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 101; + + friend void swap(CUserMessage_Diagnostic_Response_Diagnostic& a, CUserMessage_Diagnostic_Response_Diagnostic& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_Diagnostic_Response_Diagnostic* 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(CUserMessage_Diagnostic_Response_Diagnostic* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_Diagnostic_Response_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_Diagnostic_Response_Diagnostic& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_Diagnostic_Response_Diagnostic& from) { + CUserMessage_Diagnostic_Response_Diagnostic::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(CUserMessage_Diagnostic_Response_Diagnostic* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_Diagnostic_Response.Diagnostic"; + } + protected: + explicit CUserMessage_Diagnostic_Response_Diagnostic(::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 { + kDetailFieldNumber = 5, + kNameFieldNumber = 10, + kAliasFieldNumber = 11, + kBackupFieldNumber = 12, + kOffsetFieldNumber = 2, + kIndexFieldNumber = 1, + kParamFieldNumber = 3, + kBaseFieldNumber = 6, + kLengthFieldNumber = 4, + kTypeFieldNumber = 8, + kRangeFieldNumber = 7, + kControlFieldNumber = 14, + kAugmentFieldNumber = 15, + kPlaceboFieldNumber = 16, + kContextFieldNumber = 13, + }; + // optional bytes detail = 5; + bool has_detail() const; + private: + bool _internal_has_detail() const; + public: + void clear_detail(); + const std::string& detail() const; + template + void set_detail(ArgT0&& arg0, ArgT... args); + std::string* mutable_detail(); + PROTOBUF_NODISCARD std::string* release_detail(); + void set_allocated_detail(std::string* detail); + private: + const std::string& _internal_detail() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const std::string& value); + std::string* _internal_mutable_detail(); + public: + + // optional string name = 10; + 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: + + // optional string alias = 11; + bool has_alias() const; + private: + bool _internal_has_alias() const; + public: + void clear_alias(); + const std::string& alias() const; + template + void set_alias(ArgT0&& arg0, ArgT... args); + std::string* mutable_alias(); + PROTOBUF_NODISCARD std::string* release_alias(); + void set_allocated_alias(std::string* alias); + private: + const std::string& _internal_alias() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const std::string& value); + std::string* _internal_mutable_alias(); + public: + + // optional bytes backup = 12; + bool has_backup() const; + private: + bool _internal_has_backup() const; + public: + void clear_backup(); + const std::string& backup() const; + template + void set_backup(ArgT0&& arg0, ArgT... args); + std::string* mutable_backup(); + PROTOBUF_NODISCARD std::string* release_backup(); + void set_allocated_backup(std::string* backup); + private: + const std::string& _internal_backup() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_backup(const std::string& value); + std::string* _internal_mutable_backup(); + public: + + // optional int64 offset = 2; + bool has_offset() const; + private: + bool _internal_has_offset() const; + public: + void clear_offset(); + int64_t offset() const; + void set_offset(int64_t value); + private: + int64_t _internal_offset() const; + void _internal_set_offset(int64_t value); + public: + + // optional int32 index = 1; + bool has_index() const; + private: + bool _internal_has_index() const; + public: + void clear_index(); + int32_t index() const; + void set_index(int32_t value); + private: + int32_t _internal_index() const; + void _internal_set_index(int32_t value); + public: + + // optional int32 param = 3; + bool has_param() const; + private: + bool _internal_has_param() const; + public: + void clear_param(); + int32_t param() const; + void set_param(int32_t value); + private: + int32_t _internal_param() const; + void _internal_set_param(int32_t value); + public: + + // optional int64 base = 6; + bool has_base() const; + private: + bool _internal_has_base() const; + public: + void clear_base(); + int64_t base() const; + void set_base(int64_t value); + private: + int64_t _internal_base() const; + void _internal_set_base(int64_t value); + public: + + // optional int32 length = 4; + bool has_length() const; + private: + bool _internal_has_length() const; + public: + void clear_length(); + int32_t length() const; + void set_length(int32_t value); + private: + int32_t _internal_length() const; + void _internal_set_length(int32_t value); + public: + + // optional int32 type = 8; + bool has_type() const; + private: + bool _internal_has_type() const; + public: + void clear_type(); + int32_t type() const; + void set_type(int32_t value); + private: + int32_t _internal_type() const; + void _internal_set_type(int32_t value); + public: + + // optional int64 range = 7; + bool has_range() const; + private: + bool _internal_has_range() const; + public: + void clear_range(); + int64_t range() const; + void set_range(int64_t value); + private: + int64_t _internal_range() const; + void _internal_set_range(int64_t value); + public: + + // optional int64 control = 14; + bool has_control() const; + private: + bool _internal_has_control() const; + public: + void clear_control(); + int64_t control() const; + void set_control(int64_t value); + private: + int64_t _internal_control() const; + void _internal_set_control(int64_t value); + public: + + // optional int64 augment = 15; + bool has_augment() const; + private: + bool _internal_has_augment() const; + public: + void clear_augment(); + int64_t augment() const; + void set_augment(int64_t value); + private: + int64_t _internal_augment() const; + void _internal_set_augment(int64_t value); + public: + + // optional int64 placebo = 16; + bool has_placebo() const; + private: + bool _internal_has_placebo() const; + public: + void clear_placebo(); + int64_t placebo() const; + void set_placebo(int64_t value); + private: + int64_t _internal_placebo() const; + void _internal_set_placebo(int64_t value); + public: + + // optional int32 context = 13; + bool has_context() const; + private: + bool _internal_has_context() const; + public: + void clear_context(); + int32_t context() const; + void set_context(int32_t value); + private: + int32_t _internal_context() const; + void _internal_set_context(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_Diagnostic_Response.Diagnostic) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr detail_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr backup_; + int64_t offset_; + int32_t index_; + int32_t param_; + int64_t base_; + int32_t length_; + int32_t type_; + int64_t range_; + int64_t control_; + int64_t augment_; + int64_t placebo_; + int32_t context_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_Diagnostic_Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Diagnostic_Response) */ { + public: + inline CUserMessage_Diagnostic_Response() : CUserMessage_Diagnostic_Response(nullptr) {} + ~CUserMessage_Diagnostic_Response() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_Diagnostic_Response(const CUserMessage_Diagnostic_Response& from); + CUserMessage_Diagnostic_Response(CUserMessage_Diagnostic_Response&& from) noexcept + : CUserMessage_Diagnostic_Response() { + *this = ::std::move(from); + } + + inline CUserMessage_Diagnostic_Response& operator=(const CUserMessage_Diagnostic_Response& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_Diagnostic_Response& operator=(CUserMessage_Diagnostic_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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_Diagnostic_Response& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_Diagnostic_Response* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_Diagnostic_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 102; + + friend void swap(CUserMessage_Diagnostic_Response& a, CUserMessage_Diagnostic_Response& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_Diagnostic_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(CUserMessage_Diagnostic_Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_Diagnostic_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_Diagnostic_Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_Diagnostic_Response& from) { + CUserMessage_Diagnostic_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(CUserMessage_Diagnostic_Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_Diagnostic_Response"; + } + protected: + explicit CUserMessage_Diagnostic_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 ---------------------------------------------------- + + typedef CUserMessage_Diagnostic_Response_Diagnostic Diagnostic; + + // accessors ------------------------------------------------------- + + enum : int { + kDiagnosticsFieldNumber = 1, + kBuildVersionFieldNumber = 2, + kInstanceFieldNumber = 3, + kStartTimeFieldNumber = 4, + kOsversionFieldNumber = 5, + kPlatformFieldNumber = 6, + }; + // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; + int diagnostics_size() const; + private: + int _internal_diagnostics_size() const; + public: + void clear_diagnostics(); + ::CUserMessage_Diagnostic_Response_Diagnostic* mutable_diagnostics(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >* + mutable_diagnostics(); + private: + const ::CUserMessage_Diagnostic_Response_Diagnostic& _internal_diagnostics(int index) const; + ::CUserMessage_Diagnostic_Response_Diagnostic* _internal_add_diagnostics(); + public: + const ::CUserMessage_Diagnostic_Response_Diagnostic& diagnostics(int index) const; + ::CUserMessage_Diagnostic_Response_Diagnostic* add_diagnostics(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >& + diagnostics() const; + + // optional int32 build_version = 2; + bool has_build_version() const; + private: + bool _internal_has_build_version() const; + public: + void clear_build_version(); + int32_t build_version() const; + void set_build_version(int32_t value); + private: + int32_t _internal_build_version() const; + void _internal_set_build_version(int32_t value); + public: + + // optional int32 instance = 3; + bool has_instance() const; + private: + bool _internal_has_instance() const; + public: + void clear_instance(); + int32_t instance() const; + void set_instance(int32_t value); + private: + int32_t _internal_instance() const; + void _internal_set_instance(int32_t value); + public: + + // optional int64 start_time = 4; + bool has_start_time() const; + private: + bool _internal_has_start_time() const; + public: + void clear_start_time(); + int64_t start_time() const; + void set_start_time(int64_t value); + private: + int64_t _internal_start_time() const; + void _internal_set_start_time(int64_t value); + public: + + // optional int32 osversion = 5; + bool has_osversion() const; + private: + bool _internal_has_osversion() const; + public: + void clear_osversion(); + int32_t osversion() const; + void set_osversion(int32_t value); + private: + int32_t _internal_osversion() const; + void _internal_set_osversion(int32_t value); + public: + + // optional int32 platform = 6; + bool has_platform() const; + private: + bool _internal_has_platform() const; + public: + void clear_platform(); + int32_t platform() const; + void set_platform(int32_t value); + private: + int32_t _internal_platform() const; + void _internal_set_platform(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_Diagnostic_Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic > diagnostics_; + int32_t build_version_; + int32_t instance_; + int64_t start_time_; + int32_t osversion_; + int32_t platform_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_ExtraUserData final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_ExtraUserData) */ { + public: + inline CUserMessage_ExtraUserData() : CUserMessage_ExtraUserData(nullptr) {} + ~CUserMessage_ExtraUserData() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_ExtraUserData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_ExtraUserData(const CUserMessage_ExtraUserData& from); + CUserMessage_ExtraUserData(CUserMessage_ExtraUserData&& from) noexcept + : CUserMessage_ExtraUserData() { + *this = ::std::move(from); + } + + inline CUserMessage_ExtraUserData& operator=(const CUserMessage_ExtraUserData& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_ExtraUserData& operator=(CUserMessage_ExtraUserData&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_ExtraUserData& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_ExtraUserData* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_ExtraUserData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 103; + + friend void swap(CUserMessage_ExtraUserData& a, CUserMessage_ExtraUserData& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_ExtraUserData* 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(CUserMessage_ExtraUserData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_ExtraUserData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_ExtraUserData& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_ExtraUserData& from) { + CUserMessage_ExtraUserData::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(CUserMessage_ExtraUserData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_ExtraUserData"; + } + protected: + explicit CUserMessage_ExtraUserData(::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 { + kDetail1FieldNumber = 4, + kDetail2FieldNumber = 5, + kValue1FieldNumber = 2, + kValue2FieldNumber = 3, + kItemFieldNumber = 1, + }; + // repeated bytes detail1 = 4; + int detail1_size() const; + private: + int _internal_detail1_size() const; + public: + void clear_detail1(); + const std::string& detail1(int index) const; + std::string* mutable_detail1(int index); + void set_detail1(int index, const std::string& value); + void set_detail1(int index, std::string&& value); + void set_detail1(int index, const char* value); + void set_detail1(int index, const void* value, size_t size); + std::string* add_detail1(); + void add_detail1(const std::string& value); + void add_detail1(std::string&& value); + void add_detail1(const char* value); + void add_detail1(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& detail1() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_detail1(); + private: + const std::string& _internal_detail1(int index) const; + std::string* _internal_add_detail1(); + public: + + // repeated bytes detail2 = 5; + int detail2_size() const; + private: + int _internal_detail2_size() const; + public: + void clear_detail2(); + const std::string& detail2(int index) const; + std::string* mutable_detail2(int index); + void set_detail2(int index, const std::string& value); + void set_detail2(int index, std::string&& value); + void set_detail2(int index, const char* value); + void set_detail2(int index, const void* value, size_t size); + std::string* add_detail2(); + void add_detail2(const std::string& value); + void add_detail2(std::string&& value); + void add_detail2(const char* value); + void add_detail2(const void* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& detail2() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_detail2(); + private: + const std::string& _internal_detail2(int index) const; + std::string* _internal_add_detail2(); + public: + + // optional int64 value1 = 2; + bool has_value1() const; + private: + bool _internal_has_value1() const; + public: + void clear_value1(); + int64_t value1() const; + void set_value1(int64_t value); + private: + int64_t _internal_value1() const; + void _internal_set_value1(int64_t value); + public: + + // optional int64 value2 = 3; + bool has_value2() const; + private: + bool _internal_has_value2() const; + public: + void clear_value2(); + int64_t value2() const; + void set_value2(int64_t value); + private: + int64_t _internal_value2() const; + void _internal_set_value2(int64_t value); + public: + + // optional int32 item = 1; + bool has_item() const; + private: + bool _internal_has_item() const; + public: + void clear_item(); + int32_t item() const; + void set_item(int32_t value); + private: + int32_t _internal_item() const; + void _internal_set_item(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_ExtraUserData) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField detail1_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField detail2_; + int64_t value1_; + int64_t value2_; + int32_t item_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_NotifyResponseFound_Criteria final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_NotifyResponseFound.Criteria) */ { + public: + inline CUserMessage_NotifyResponseFound_Criteria() : CUserMessage_NotifyResponseFound_Criteria(nullptr) {} + ~CUserMessage_NotifyResponseFound_Criteria() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_Criteria(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_NotifyResponseFound_Criteria(const CUserMessage_NotifyResponseFound_Criteria& from); + CUserMessage_NotifyResponseFound_Criteria(CUserMessage_NotifyResponseFound_Criteria&& from) noexcept + : CUserMessage_NotifyResponseFound_Criteria() { + *this = ::std::move(from); + } + + inline CUserMessage_NotifyResponseFound_Criteria& operator=(const CUserMessage_NotifyResponseFound_Criteria& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_NotifyResponseFound_Criteria& operator=(CUserMessage_NotifyResponseFound_Criteria&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_NotifyResponseFound_Criteria& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_NotifyResponseFound_Criteria* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_NotifyResponseFound_Criteria_default_instance_); + } + static constexpr int kIndexInFileMessages = + 104; + + friend void swap(CUserMessage_NotifyResponseFound_Criteria& a, CUserMessage_NotifyResponseFound_Criteria& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_NotifyResponseFound_Criteria* 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(CUserMessage_NotifyResponseFound_Criteria* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_NotifyResponseFound_Criteria* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_NotifyResponseFound_Criteria& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_NotifyResponseFound_Criteria& from) { + CUserMessage_NotifyResponseFound_Criteria::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(CUserMessage_NotifyResponseFound_Criteria* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_NotifyResponseFound.Criteria"; + } + protected: + explicit CUserMessage_NotifyResponseFound_Criteria(::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 { + kValueFieldNumber = 2, + kNameSymbolFieldNumber = 1, + }; + // optional string value = 2; + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // optional uint32 name_symbol = 1; + bool has_name_symbol() const; + private: + bool _internal_has_name_symbol() const; + public: + void clear_name_symbol(); + uint32_t name_symbol() const; + void set_name_symbol(uint32_t value); + private: + uint32_t _internal_name_symbol() const; + void _internal_set_name_symbol(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_NotifyResponseFound.Criteria) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + uint32_t name_symbol_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_NotifyResponseFound final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_NotifyResponseFound) */ { + public: + inline CUserMessage_NotifyResponseFound() : CUserMessage_NotifyResponseFound(nullptr) {} + ~CUserMessage_NotifyResponseFound() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_NotifyResponseFound(const CUserMessage_NotifyResponseFound& from); + CUserMessage_NotifyResponseFound(CUserMessage_NotifyResponseFound&& from) noexcept + : CUserMessage_NotifyResponseFound() { + *this = ::std::move(from); + } + + inline CUserMessage_NotifyResponseFound& operator=(const CUserMessage_NotifyResponseFound& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_NotifyResponseFound& operator=(CUserMessage_NotifyResponseFound&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_NotifyResponseFound& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_NotifyResponseFound* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_NotifyResponseFound_default_instance_); + } + static constexpr int kIndexInFileMessages = + 105; + + friend void swap(CUserMessage_NotifyResponseFound& a, CUserMessage_NotifyResponseFound& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_NotifyResponseFound* 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(CUserMessage_NotifyResponseFound* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_NotifyResponseFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_NotifyResponseFound& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_NotifyResponseFound& from) { + CUserMessage_NotifyResponseFound::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(CUserMessage_NotifyResponseFound* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_NotifyResponseFound"; + } + protected: + explicit CUserMessage_NotifyResponseFound(::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 ---------------------------------------------------- + + typedef CUserMessage_NotifyResponseFound_Criteria Criteria; + + // accessors ------------------------------------------------------- + + enum : int { + kCriteriaFieldNumber = 5, + kIntCriteriaNamesFieldNumber = 6, + kIntCriteriaValuesFieldNumber = 7, + kFloatCriteriaNamesFieldNumber = 8, + kFloatCriteriaValuesFieldNumber = 9, + kSymbolCriteriaNamesFieldNumber = 10, + kSymbolCriteriaValuesFieldNumber = 11, + kRuleNameFieldNumber = 2, + kResponseValueFieldNumber = 3, + kResponseConceptFieldNumber = 4, + kSpeakResultFieldNumber = 12, + kEntIndexFieldNumber = 1, + }; + // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; + int criteria_size() const; + private: + int _internal_criteria_size() const; + public: + void clear_criteria(); + ::CUserMessage_NotifyResponseFound_Criteria* mutable_criteria(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >* + mutable_criteria(); + private: + const ::CUserMessage_NotifyResponseFound_Criteria& _internal_criteria(int index) const; + ::CUserMessage_NotifyResponseFound_Criteria* _internal_add_criteria(); + public: + const ::CUserMessage_NotifyResponseFound_Criteria& criteria(int index) const; + ::CUserMessage_NotifyResponseFound_Criteria* add_criteria(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >& + criteria() const; + + // repeated uint32 int_criteria_names = 6 [packed = true]; + int int_criteria_names_size() const; + private: + int _internal_int_criteria_names_size() const; + public: + void clear_int_criteria_names(); + private: + uint32_t _internal_int_criteria_names(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_int_criteria_names() const; + void _internal_add_int_criteria_names(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_int_criteria_names(); + public: + uint32_t int_criteria_names(int index) const; + void set_int_criteria_names(int index, uint32_t value); + void add_int_criteria_names(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + int_criteria_names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_int_criteria_names(); + + // repeated int32 int_criteria_values = 7 [packed = true]; + int int_criteria_values_size() const; + private: + int _internal_int_criteria_values_size() const; + public: + void clear_int_criteria_values(); + private: + int32_t _internal_int_criteria_values(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_int_criteria_values() const; + void _internal_add_int_criteria_values(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_int_criteria_values(); + public: + int32_t int_criteria_values(int index) const; + void set_int_criteria_values(int index, int32_t value); + void add_int_criteria_values(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + int_criteria_values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_int_criteria_values(); + + // repeated uint32 float_criteria_names = 8 [packed = true]; + int float_criteria_names_size() const; + private: + int _internal_float_criteria_names_size() const; + public: + void clear_float_criteria_names(); + private: + uint32_t _internal_float_criteria_names(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_float_criteria_names() const; + void _internal_add_float_criteria_names(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_float_criteria_names(); + public: + uint32_t float_criteria_names(int index) const; + void set_float_criteria_names(int index, uint32_t value); + void add_float_criteria_names(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + float_criteria_names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_float_criteria_names(); + + // repeated float float_criteria_values = 9; + int float_criteria_values_size() const; + private: + int _internal_float_criteria_values_size() const; + public: + void clear_float_criteria_values(); + private: + float _internal_float_criteria_values(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + _internal_float_criteria_values() const; + void _internal_add_float_criteria_values(float value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + _internal_mutable_float_criteria_values(); + public: + float float_criteria_values(int index) const; + void set_float_criteria_values(int index, float value); + void add_float_criteria_values(float value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& + float_criteria_values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* + mutable_float_criteria_values(); + + // repeated uint32 symbol_criteria_names = 10 [packed = true]; + int symbol_criteria_names_size() const; + private: + int _internal_symbol_criteria_names_size() const; + public: + void clear_symbol_criteria_names(); + private: + uint32_t _internal_symbol_criteria_names(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_symbol_criteria_names() const; + void _internal_add_symbol_criteria_names(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_symbol_criteria_names(); + public: + uint32_t symbol_criteria_names(int index) const; + void set_symbol_criteria_names(int index, uint32_t value); + void add_symbol_criteria_names(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + symbol_criteria_names() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_symbol_criteria_names(); + + // repeated uint32 symbol_criteria_values = 11 [packed = true]; + int symbol_criteria_values_size() const; + private: + int _internal_symbol_criteria_values_size() const; + public: + void clear_symbol_criteria_values(); + private: + uint32_t _internal_symbol_criteria_values(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + _internal_symbol_criteria_values() const; + void _internal_add_symbol_criteria_values(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + _internal_mutable_symbol_criteria_values(); + public: + uint32_t symbol_criteria_values(int index) const; + void set_symbol_criteria_values(int index, uint32_t value); + void add_symbol_criteria_values(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& + symbol_criteria_values() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* + mutable_symbol_criteria_values(); + + // optional string rule_name = 2; + bool has_rule_name() const; + private: + bool _internal_has_rule_name() const; + public: + void clear_rule_name(); + const std::string& rule_name() const; + template + void set_rule_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_rule_name(); + PROTOBUF_NODISCARD std::string* release_rule_name(); + void set_allocated_rule_name(std::string* rule_name); + private: + const std::string& _internal_rule_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_name(const std::string& value); + std::string* _internal_mutable_rule_name(); + public: + + // optional string response_value = 3; + bool has_response_value() const; + private: + bool _internal_has_response_value() const; + public: + void clear_response_value(); + const std::string& response_value() const; + template + void set_response_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_response_value(); + PROTOBUF_NODISCARD std::string* release_response_value(); + void set_allocated_response_value(std::string* response_value); + private: + const std::string& _internal_response_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_value(const std::string& value); + std::string* _internal_mutable_response_value(); + public: + + // optional string response_concept = 4; + bool has_response_concept() const; + private: + bool _internal_has_response_concept() const; + public: + void clear_response_concept(); + const std::string& response_concept() const; + template + void set_response_concept(ArgT0&& arg0, ArgT... args); + std::string* mutable_response_concept(); + PROTOBUF_NODISCARD std::string* release_response_concept(); + void set_allocated_response_concept(std::string* response_concept); + private: + const std::string& _internal_response_concept() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_concept(const std::string& value); + std::string* _internal_mutable_response_concept(); + public: + + // optional int32 speak_result = 12; + bool has_speak_result() const; + private: + bool _internal_has_speak_result() const; + public: + void clear_speak_result(); + int32_t speak_result() const; + void set_speak_result(int32_t value); + private: + int32_t _internal_speak_result() const; + void _internal_set_speak_result(int32_t value); + public: + + // optional int32 ent_index = 1 [default = -1]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + int32_t ent_index() const; + void set_ent_index(int32_t value); + private: + int32_t _internal_ent_index() const; + void _internal_set_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_NotifyResponseFound) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria > criteria_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > int_criteria_names_; + mutable std::atomic _int_criteria_names_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > int_criteria_values_; + mutable std::atomic _int_criteria_values_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > float_criteria_names_; + mutable std::atomic _float_criteria_names_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_criteria_values_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > symbol_criteria_names_; + mutable std::atomic _symbol_criteria_names_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > symbol_criteria_values_; + mutable std::atomic _symbol_criteria_values_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_value_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_concept_; + int32_t speak_result_; + int32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// ------------------------------------------------------------------- + +class CUserMessage_PlayResponseConditional final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_PlayResponseConditional) */ { + public: + inline CUserMessage_PlayResponseConditional() : CUserMessage_PlayResponseConditional(nullptr) {} + ~CUserMessage_PlayResponseConditional() override; + explicit PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditional(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CUserMessage_PlayResponseConditional(const CUserMessage_PlayResponseConditional& from); + CUserMessage_PlayResponseConditional(CUserMessage_PlayResponseConditional&& from) noexcept + : CUserMessage_PlayResponseConditional() { + *this = ::std::move(from); + } + + inline CUserMessage_PlayResponseConditional& operator=(const CUserMessage_PlayResponseConditional& from) { + CopyFrom(from); + return *this; + } + inline CUserMessage_PlayResponseConditional& operator=(CUserMessage_PlayResponseConditional&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CUserMessage_PlayResponseConditional& default_instance() { + return *internal_default_instance(); + } + static inline const CUserMessage_PlayResponseConditional* internal_default_instance() { + return reinterpret_cast( + &_CUserMessage_PlayResponseConditional_default_instance_); + } + static constexpr int kIndexInFileMessages = + 106; + + friend void swap(CUserMessage_PlayResponseConditional& a, CUserMessage_PlayResponseConditional& b) { + a.Swap(&b); + } + inline void Swap(CUserMessage_PlayResponseConditional* 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(CUserMessage_PlayResponseConditional* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CUserMessage_PlayResponseConditional* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CUserMessage_PlayResponseConditional& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CUserMessage_PlayResponseConditional& from) { + CUserMessage_PlayResponseConditional::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(CUserMessage_PlayResponseConditional* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "CUserMessage_PlayResponseConditional"; + } + protected: + explicit CUserMessage_PlayResponseConditional(::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 { + kPlayerSlotsFieldNumber = 2, + kResponseFieldNumber = 3, + kEntOriginFieldNumber = 4, + kPreDelayFieldNumber = 5, + kMixPriorityFieldNumber = 6, + kEntIndexFieldNumber = 1, + }; + // repeated int32 player_slots = 2; + int player_slots_size() const; + private: + int _internal_player_slots_size() const; + public: + void clear_player_slots(); + private: + int32_t _internal_player_slots(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + _internal_player_slots() const; + void _internal_add_player_slots(int32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + _internal_mutable_player_slots(); + public: + int32_t player_slots(int index) const; + void set_player_slots(int index, int32_t value); + void add_player_slots(int32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& + player_slots() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* + mutable_player_slots(); + + // optional string response = 3; + bool has_response() const; + private: + bool _internal_has_response() const; + public: + void clear_response(); + const std::string& response() const; + template + void set_response(ArgT0&& arg0, ArgT... args); + std::string* mutable_response(); + PROTOBUF_NODISCARD std::string* release_response(); + void set_allocated_response(std::string* response); + private: + const std::string& _internal_response() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_response(const std::string& value); + std::string* _internal_mutable_response(); + public: + + // optional .CMsgVector ent_origin = 4; + bool has_ent_origin() const; + private: + bool _internal_has_ent_origin() const; + public: + void clear_ent_origin(); + const ::CMsgVector& ent_origin() const; + PROTOBUF_NODISCARD ::CMsgVector* release_ent_origin(); + ::CMsgVector* mutable_ent_origin(); + void set_allocated_ent_origin(::CMsgVector* ent_origin); + private: + const ::CMsgVector& _internal_ent_origin() const; + ::CMsgVector* _internal_mutable_ent_origin(); + public: + void unsafe_arena_set_allocated_ent_origin( + ::CMsgVector* ent_origin); + ::CMsgVector* unsafe_arena_release_ent_origin(); + + // optional float pre_delay = 5; + bool has_pre_delay() const; + private: + bool _internal_has_pre_delay() const; + public: + void clear_pre_delay(); + float pre_delay() const; + void set_pre_delay(float value); + private: + float _internal_pre_delay() const; + void _internal_set_pre_delay(float value); + public: + + // optional int32 mix_priority = 6; + bool has_mix_priority() const; + private: + bool _internal_has_mix_priority() const; + public: + void clear_mix_priority(); + int32_t mix_priority() const; + void set_mix_priority(int32_t value); + private: + int32_t _internal_mix_priority() const; + void _internal_set_mix_priority(int32_t value); + public: + + // optional int32 ent_index = 1 [default = -1]; + bool has_ent_index() const; + private: + bool _internal_has_ent_index() const; + public: + void clear_ent_index(); + int32_t ent_index() const; + void set_ent_index(int32_t value); + private: + int32_t _internal_ent_index() const; + void _internal_set_ent_index(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:CUserMessage_PlayResponseConditional) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > player_slots_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_; + ::CMsgVector* ent_origin_; + float pre_delay_; + int32_t mix_priority_; + int32_t ent_index_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_usermessages_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CUserMessageAchievementEvent + +// optional uint32 achievement = 1; +inline bool CUserMessageAchievementEvent::_internal_has_achievement() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageAchievementEvent::has_achievement() const { + return _internal_has_achievement(); +} +inline void CUserMessageAchievementEvent::clear_achievement() { + _impl_.achievement_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageAchievementEvent::_internal_achievement() const { + return _impl_.achievement_; +} +inline uint32_t CUserMessageAchievementEvent::achievement() const { + // @@protoc_insertion_point(field_get:CUserMessageAchievementEvent.achievement) + return _internal_achievement(); +} +inline void CUserMessageAchievementEvent::_internal_set_achievement(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.achievement_ = value; +} +inline void CUserMessageAchievementEvent::set_achievement(uint32_t value) { + _internal_set_achievement(value); + // @@protoc_insertion_point(field_set:CUserMessageAchievementEvent.achievement) +} + +// ------------------------------------------------------------------- + +// CUserMessageCloseCaption + +// optional fixed32 hash = 1; +inline bool CUserMessageCloseCaption::_internal_has_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCloseCaption::has_hash() const { + return _internal_has_hash(); +} +inline void CUserMessageCloseCaption::clear_hash() { + _impl_.hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageCloseCaption::_internal_hash() const { + return _impl_.hash_; +} +inline uint32_t CUserMessageCloseCaption::hash() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.hash) + return _internal_hash(); +} +inline void CUserMessageCloseCaption::_internal_set_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hash_ = value; +} +inline void CUserMessageCloseCaption::set_hash(uint32_t value) { + _internal_set_hash(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.hash) +} + +// optional float duration = 2; +inline bool CUserMessageCloseCaption::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCloseCaption::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageCloseCaption::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageCloseCaption::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageCloseCaption::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.duration) + return _internal_duration(); +} +inline void CUserMessageCloseCaption::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CUserMessageCloseCaption::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.duration) +} + +// optional bool from_player = 3; +inline bool CUserMessageCloseCaption::_internal_has_from_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageCloseCaption::has_from_player() const { + return _internal_has_from_player(); +} +inline void CUserMessageCloseCaption::clear_from_player() { + _impl_.from_player_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageCloseCaption::_internal_from_player() const { + return _impl_.from_player_; +} +inline bool CUserMessageCloseCaption::from_player() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.from_player) + return _internal_from_player(); +} +inline void CUserMessageCloseCaption::_internal_set_from_player(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_player_ = value; +} +inline void CUserMessageCloseCaption::set_from_player(bool value) { + _internal_set_from_player(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.from_player) +} + +// optional int32 ent_index = 4 [default = -1]; +inline bool CUserMessageCloseCaption::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageCloseCaption::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMessageCloseCaption::clear_ent_index() { + _impl_.ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessageCloseCaption::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline int32_t CUserMessageCloseCaption::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.ent_index) + return _internal_ent_index(); +} +inline void CUserMessageCloseCaption::_internal_set_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ent_index_ = value; +} +inline void CUserMessageCloseCaption::set_ent_index(int32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.ent_index) +} + +// ------------------------------------------------------------------- + +// CUserMessageCloseCaptionDirect + +// optional fixed32 hash = 1; +inline bool CUserMessageCloseCaptionDirect::_internal_has_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionDirect::has_hash() const { + return _internal_has_hash(); +} +inline void CUserMessageCloseCaptionDirect::clear_hash() { + _impl_.hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageCloseCaptionDirect::_internal_hash() const { + return _impl_.hash_; +} +inline uint32_t CUserMessageCloseCaptionDirect::hash() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.hash) + return _internal_hash(); +} +inline void CUserMessageCloseCaptionDirect::_internal_set_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hash_ = value; +} +inline void CUserMessageCloseCaptionDirect::set_hash(uint32_t value) { + _internal_set_hash(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.hash) +} + +// optional float duration = 2; +inline bool CUserMessageCloseCaptionDirect::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionDirect::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageCloseCaptionDirect::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageCloseCaptionDirect::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageCloseCaptionDirect::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.duration) + return _internal_duration(); +} +inline void CUserMessageCloseCaptionDirect::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CUserMessageCloseCaptionDirect::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.duration) +} + +// optional bool from_player = 3; +inline bool CUserMessageCloseCaptionDirect::_internal_has_from_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionDirect::has_from_player() const { + return _internal_has_from_player(); +} +inline void CUserMessageCloseCaptionDirect::clear_from_player() { + _impl_.from_player_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageCloseCaptionDirect::_internal_from_player() const { + return _impl_.from_player_; +} +inline bool CUserMessageCloseCaptionDirect::from_player() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.from_player) + return _internal_from_player(); +} +inline void CUserMessageCloseCaptionDirect::_internal_set_from_player(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_player_ = value; +} +inline void CUserMessageCloseCaptionDirect::set_from_player(bool value) { + _internal_set_from_player(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.from_player) +} + +// optional int32 ent_index = 4 [default = -1]; +inline bool CUserMessageCloseCaptionDirect::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionDirect::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMessageCloseCaptionDirect::clear_ent_index() { + _impl_.ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessageCloseCaptionDirect::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline int32_t CUserMessageCloseCaptionDirect::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.ent_index) + return _internal_ent_index(); +} +inline void CUserMessageCloseCaptionDirect::_internal_set_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ent_index_ = value; +} +inline void CUserMessageCloseCaptionDirect::set_ent_index(int32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.ent_index) +} + +// ------------------------------------------------------------------- + +// CUserMessageCloseCaptionPlaceholder + +// optional string string = 1; +inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_string() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionPlaceholder::has_string() const { + return _internal_has_string(); +} +inline void CUserMessageCloseCaptionPlaceholder::clear_string() { + _impl_.string_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageCloseCaptionPlaceholder::string() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.string) + return _internal_string(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageCloseCaptionPlaceholder::set_string(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.string) +} +inline std::string* CUserMessageCloseCaptionPlaceholder::mutable_string() { + std::string* _s = _internal_mutable_string(); + // @@protoc_insertion_point(field_mutable:CUserMessageCloseCaptionPlaceholder.string) + return _s; +} +inline const std::string& CUserMessageCloseCaptionPlaceholder::_internal_string() const { + return _impl_.string_.Get(); +} +inline void CUserMessageCloseCaptionPlaceholder::_internal_set_string(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageCloseCaptionPlaceholder::_internal_mutable_string() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.string_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageCloseCaptionPlaceholder::release_string() { + // @@protoc_insertion_point(field_release:CUserMessageCloseCaptionPlaceholder.string) + if (!_internal_has_string()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.string_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_.IsDefault()) { + _impl_.string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageCloseCaptionPlaceholder::set_allocated_string(std::string* string) { + if (string != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.string_.SetAllocated(string, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_.IsDefault()) { + _impl_.string_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageCloseCaptionPlaceholder.string) +} + +// optional float duration = 2; +inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionPlaceholder::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageCloseCaptionPlaceholder::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageCloseCaptionPlaceholder::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageCloseCaptionPlaceholder::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.duration) + return _internal_duration(); +} +inline void CUserMessageCloseCaptionPlaceholder::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CUserMessageCloseCaptionPlaceholder::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.duration) +} + +// optional bool from_player = 3; +inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_from_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionPlaceholder::has_from_player() const { + return _internal_has_from_player(); +} +inline void CUserMessageCloseCaptionPlaceholder::clear_from_player() { + _impl_.from_player_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageCloseCaptionPlaceholder::_internal_from_player() const { + return _impl_.from_player_; +} +inline bool CUserMessageCloseCaptionPlaceholder::from_player() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.from_player) + return _internal_from_player(); +} +inline void CUserMessageCloseCaptionPlaceholder::_internal_set_from_player(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.from_player_ = value; +} +inline void CUserMessageCloseCaptionPlaceholder::set_from_player(bool value) { + _internal_set_from_player(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.from_player) +} + +// optional int32 ent_index = 4 [default = -1]; +inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageCloseCaptionPlaceholder::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMessageCloseCaptionPlaceholder::clear_ent_index() { + _impl_.ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessageCloseCaptionPlaceholder::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline int32_t CUserMessageCloseCaptionPlaceholder::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.ent_index) + return _internal_ent_index(); +} +inline void CUserMessageCloseCaptionPlaceholder::_internal_set_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.ent_index_ = value; +} +inline void CUserMessageCloseCaptionPlaceholder::set_ent_index(int32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.ent_index) +} + +// ------------------------------------------------------------------- + +// CUserMessageCurrentTimescale + +// optional float current = 1; +inline bool CUserMessageCurrentTimescale::_internal_has_current() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCurrentTimescale::has_current() const { + return _internal_has_current(); +} +inline void CUserMessageCurrentTimescale::clear_current() { + _impl_.current_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMessageCurrentTimescale::_internal_current() const { + return _impl_.current_; +} +inline float CUserMessageCurrentTimescale::current() const { + // @@protoc_insertion_point(field_get:CUserMessageCurrentTimescale.current) + return _internal_current(); +} +inline void CUserMessageCurrentTimescale::_internal_set_current(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.current_ = value; +} +inline void CUserMessageCurrentTimescale::set_current(float value) { + _internal_set_current(value); + // @@protoc_insertion_point(field_set:CUserMessageCurrentTimescale.current) +} + +// ------------------------------------------------------------------- + +// CUserMessageDesiredTimescale + +// optional float desired = 1; +inline bool CUserMessageDesiredTimescale::_internal_has_desired() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageDesiredTimescale::has_desired() const { + return _internal_has_desired(); +} +inline void CUserMessageDesiredTimescale::clear_desired() { + _impl_.desired_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMessageDesiredTimescale::_internal_desired() const { + return _impl_.desired_; +} +inline float CUserMessageDesiredTimescale::desired() const { + // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.desired) + return _internal_desired(); +} +inline void CUserMessageDesiredTimescale::_internal_set_desired(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.desired_ = value; +} +inline void CUserMessageDesiredTimescale::set_desired(float value) { + _internal_set_desired(value); + // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.desired) +} + +// optional float acceleration = 2; +inline bool CUserMessageDesiredTimescale::_internal_has_acceleration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageDesiredTimescale::has_acceleration() const { + return _internal_has_acceleration(); +} +inline void CUserMessageDesiredTimescale::clear_acceleration() { + _impl_.acceleration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageDesiredTimescale::_internal_acceleration() const { + return _impl_.acceleration_; +} +inline float CUserMessageDesiredTimescale::acceleration() const { + // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.acceleration) + return _internal_acceleration(); +} +inline void CUserMessageDesiredTimescale::_internal_set_acceleration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.acceleration_ = value; +} +inline void CUserMessageDesiredTimescale::set_acceleration(float value) { + _internal_set_acceleration(value); + // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.acceleration) +} + +// optional float minblendrate = 3; +inline bool CUserMessageDesiredTimescale::_internal_has_minblendrate() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageDesiredTimescale::has_minblendrate() const { + return _internal_has_minblendrate(); +} +inline void CUserMessageDesiredTimescale::clear_minblendrate() { + _impl_.minblendrate_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageDesiredTimescale::_internal_minblendrate() const { + return _impl_.minblendrate_; +} +inline float CUserMessageDesiredTimescale::minblendrate() const { + // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.minblendrate) + return _internal_minblendrate(); +} +inline void CUserMessageDesiredTimescale::_internal_set_minblendrate(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.minblendrate_ = value; +} +inline void CUserMessageDesiredTimescale::set_minblendrate(float value) { + _internal_set_minblendrate(value); + // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.minblendrate) +} + +// optional float blenddeltamultiplier = 4; +inline bool CUserMessageDesiredTimescale::_internal_has_blenddeltamultiplier() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageDesiredTimescale::has_blenddeltamultiplier() const { + return _internal_has_blenddeltamultiplier(); +} +inline void CUserMessageDesiredTimescale::clear_blenddeltamultiplier() { + _impl_.blenddeltamultiplier_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageDesiredTimescale::_internal_blenddeltamultiplier() const { + return _impl_.blenddeltamultiplier_; +} +inline float CUserMessageDesiredTimescale::blenddeltamultiplier() const { + // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.blenddeltamultiplier) + return _internal_blenddeltamultiplier(); +} +inline void CUserMessageDesiredTimescale::_internal_set_blenddeltamultiplier(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.blenddeltamultiplier_ = value; +} +inline void CUserMessageDesiredTimescale::set_blenddeltamultiplier(float value) { + _internal_set_blenddeltamultiplier(value); + // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.blenddeltamultiplier) +} + +// ------------------------------------------------------------------- + +// CUserMessageFade + +// optional uint32 duration = 1; +inline bool CUserMessageFade::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageFade::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageFade::clear_duration() { + _impl_.duration_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageFade::_internal_duration() const { + return _impl_.duration_; +} +inline uint32_t CUserMessageFade::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageFade.duration) + return _internal_duration(); +} +inline void CUserMessageFade::_internal_set_duration(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.duration_ = value; +} +inline void CUserMessageFade::set_duration(uint32_t value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageFade.duration) +} + +// optional uint32 hold_time = 2; +inline bool CUserMessageFade::_internal_has_hold_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageFade::has_hold_time() const { + return _internal_has_hold_time(); +} +inline void CUserMessageFade::clear_hold_time() { + _impl_.hold_time_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageFade::_internal_hold_time() const { + return _impl_.hold_time_; +} +inline uint32_t CUserMessageFade::hold_time() const { + // @@protoc_insertion_point(field_get:CUserMessageFade.hold_time) + return _internal_hold_time(); +} +inline void CUserMessageFade::_internal_set_hold_time(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.hold_time_ = value; +} +inline void CUserMessageFade::set_hold_time(uint32_t value) { + _internal_set_hold_time(value); + // @@protoc_insertion_point(field_set:CUserMessageFade.hold_time) +} + +// optional uint32 flags = 3; +inline bool CUserMessageFade::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageFade::has_flags() const { + return _internal_has_flags(); +} +inline void CUserMessageFade::clear_flags() { + _impl_.flags_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessageFade::_internal_flags() const { + return _impl_.flags_; +} +inline uint32_t CUserMessageFade::flags() const { + // @@protoc_insertion_point(field_get:CUserMessageFade.flags) + return _internal_flags(); +} +inline void CUserMessageFade::_internal_set_flags(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.flags_ = value; +} +inline void CUserMessageFade::set_flags(uint32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CUserMessageFade.flags) +} + +// optional fixed32 color = 4; +inline bool CUserMessageFade::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageFade::has_color() const { + return _internal_has_color(); +} +inline void CUserMessageFade::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CUserMessageFade::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CUserMessageFade::color() const { + // @@protoc_insertion_point(field_get:CUserMessageFade.color) + return _internal_color(); +} +inline void CUserMessageFade::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.color_ = value; +} +inline void CUserMessageFade::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CUserMessageFade.color) +} + +// ------------------------------------------------------------------- + +// CUserMessageShake + +// optional uint32 command = 1; +inline bool CUserMessageShake::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageShake::has_command() const { + return _internal_has_command(); +} +inline void CUserMessageShake::clear_command() { + _impl_.command_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageShake::_internal_command() const { + return _impl_.command_; +} +inline uint32_t CUserMessageShake::command() const { + // @@protoc_insertion_point(field_get:CUserMessageShake.command) + return _internal_command(); +} +inline void CUserMessageShake::_internal_set_command(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_ = value; +} +inline void CUserMessageShake::set_command(uint32_t value) { + _internal_set_command(value); + // @@protoc_insertion_point(field_set:CUserMessageShake.command) +} + +// optional float amplitude = 2; +inline bool CUserMessageShake::_internal_has_amplitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageShake::has_amplitude() const { + return _internal_has_amplitude(); +} +inline void CUserMessageShake::clear_amplitude() { + _impl_.amplitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageShake::_internal_amplitude() const { + return _impl_.amplitude_; +} +inline float CUserMessageShake::amplitude() const { + // @@protoc_insertion_point(field_get:CUserMessageShake.amplitude) + return _internal_amplitude(); +} +inline void CUserMessageShake::_internal_set_amplitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.amplitude_ = value; +} +inline void CUserMessageShake::set_amplitude(float value) { + _internal_set_amplitude(value); + // @@protoc_insertion_point(field_set:CUserMessageShake.amplitude) +} + +// optional float frequency = 3; +inline bool CUserMessageShake::_internal_has_frequency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageShake::has_frequency() const { + return _internal_has_frequency(); +} +inline void CUserMessageShake::clear_frequency() { + _impl_.frequency_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageShake::_internal_frequency() const { + return _impl_.frequency_; +} +inline float CUserMessageShake::frequency() const { + // @@protoc_insertion_point(field_get:CUserMessageShake.frequency) + return _internal_frequency(); +} +inline void CUserMessageShake::_internal_set_frequency(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frequency_ = value; +} +inline void CUserMessageShake::set_frequency(float value) { + _internal_set_frequency(value); + // @@protoc_insertion_point(field_set:CUserMessageShake.frequency) +} + +// optional float duration = 4; +inline bool CUserMessageShake::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageShake::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageShake::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageShake::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageShake::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageShake.duration) + return _internal_duration(); +} +inline void CUserMessageShake::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.duration_ = value; +} +inline void CUserMessageShake::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageShake.duration) +} + +// ------------------------------------------------------------------- + +// CUserMessageShakeDir + +// optional .CUserMessageShake shake = 1; +inline bool CUserMessageShakeDir::_internal_has_shake() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.shake_ != nullptr); + return value; +} +inline bool CUserMessageShakeDir::has_shake() const { + return _internal_has_shake(); +} +inline void CUserMessageShakeDir::clear_shake() { + if (_impl_.shake_ != nullptr) _impl_.shake_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CUserMessageShake& CUserMessageShakeDir::_internal_shake() const { + const ::CUserMessageShake* p = _impl_.shake_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMessageShake_default_instance_); +} +inline const ::CUserMessageShake& CUserMessageShakeDir::shake() const { + // @@protoc_insertion_point(field_get:CUserMessageShakeDir.shake) + return _internal_shake(); +} +inline void CUserMessageShakeDir::unsafe_arena_set_allocated_shake( + ::CUserMessageShake* shake) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shake_); + } + _impl_.shake_ = shake; + if (shake) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageShakeDir.shake) +} +inline ::CUserMessageShake* CUserMessageShakeDir::release_shake() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMessageShake* temp = _impl_.shake_; + _impl_.shake_ = 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 ::CUserMessageShake* CUserMessageShakeDir::unsafe_arena_release_shake() { + // @@protoc_insertion_point(field_release:CUserMessageShakeDir.shake) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMessageShake* temp = _impl_.shake_; + _impl_.shake_ = nullptr; + return temp; +} +inline ::CUserMessageShake* CUserMessageShakeDir::_internal_mutable_shake() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.shake_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMessageShake>(GetArenaForAllocation()); + _impl_.shake_ = p; + } + return _impl_.shake_; +} +inline ::CUserMessageShake* CUserMessageShakeDir::mutable_shake() { + ::CUserMessageShake* _msg = _internal_mutable_shake(); + // @@protoc_insertion_point(field_mutable:CUserMessageShakeDir.shake) + return _msg; +} +inline void CUserMessageShakeDir::set_allocated_shake(::CUserMessageShake* shake) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.shake_; + } + if (shake) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(shake); + if (message_arena != submessage_arena) { + shake = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, shake, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.shake_ = shake; + // @@protoc_insertion_point(field_set_allocated:CUserMessageShakeDir.shake) +} + +// optional .CMsgVector direction = 2; +inline bool CUserMessageShakeDir::_internal_has_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); + return value; +} +inline bool CUserMessageShakeDir::has_direction() const { + return _internal_has_direction(); +} +inline const ::CMsgVector& CUserMessageShakeDir::_internal_direction() const { + const ::CMsgVector* p = _impl_.direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMessageShakeDir::direction() const { + // @@protoc_insertion_point(field_get:CUserMessageShakeDir.direction) + return _internal_direction(); +} +inline void CUserMessageShakeDir::unsafe_arena_set_allocated_direction( + ::CMsgVector* direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + _impl_.direction_ = direction; + if (direction) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageShakeDir.direction) +} +inline ::CMsgVector* CUserMessageShakeDir::release_direction() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = 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 ::CMsgVector* CUserMessageShakeDir::unsafe_arena_release_direction() { + // @@protoc_insertion_point(field_release:CUserMessageShakeDir.direction) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.direction_; + _impl_.direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMessageShakeDir::_internal_mutable_direction() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.direction_ = p; + } + return _impl_.direction_; +} +inline ::CMsgVector* CUserMessageShakeDir::mutable_direction() { + ::CMsgVector* _msg = _internal_mutable_direction(); + // @@protoc_insertion_point(field_mutable:CUserMessageShakeDir.direction) + return _msg; +} +inline void CUserMessageShakeDir::set_allocated_direction(::CMsgVector* direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); + } + if (direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); + if (message_arena != submessage_arena) { + direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.direction_ = direction; + // @@protoc_insertion_point(field_set_allocated:CUserMessageShakeDir.direction) +} + +// ------------------------------------------------------------------- + +// CUserMessageWaterShake + +// optional uint32 command = 1; +inline bool CUserMessageWaterShake::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageWaterShake::has_command() const { + return _internal_has_command(); +} +inline void CUserMessageWaterShake::clear_command() { + _impl_.command_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageWaterShake::_internal_command() const { + return _impl_.command_; +} +inline uint32_t CUserMessageWaterShake::command() const { + // @@protoc_insertion_point(field_get:CUserMessageWaterShake.command) + return _internal_command(); +} +inline void CUserMessageWaterShake::_internal_set_command(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.command_ = value; +} +inline void CUserMessageWaterShake::set_command(uint32_t value) { + _internal_set_command(value); + // @@protoc_insertion_point(field_set:CUserMessageWaterShake.command) +} + +// optional float amplitude = 2; +inline bool CUserMessageWaterShake::_internal_has_amplitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageWaterShake::has_amplitude() const { + return _internal_has_amplitude(); +} +inline void CUserMessageWaterShake::clear_amplitude() { + _impl_.amplitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageWaterShake::_internal_amplitude() const { + return _impl_.amplitude_; +} +inline float CUserMessageWaterShake::amplitude() const { + // @@protoc_insertion_point(field_get:CUserMessageWaterShake.amplitude) + return _internal_amplitude(); +} +inline void CUserMessageWaterShake::_internal_set_amplitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.amplitude_ = value; +} +inline void CUserMessageWaterShake::set_amplitude(float value) { + _internal_set_amplitude(value); + // @@protoc_insertion_point(field_set:CUserMessageWaterShake.amplitude) +} + +// optional float frequency = 3; +inline bool CUserMessageWaterShake::_internal_has_frequency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageWaterShake::has_frequency() const { + return _internal_has_frequency(); +} +inline void CUserMessageWaterShake::clear_frequency() { + _impl_.frequency_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageWaterShake::_internal_frequency() const { + return _impl_.frequency_; +} +inline float CUserMessageWaterShake::frequency() const { + // @@protoc_insertion_point(field_get:CUserMessageWaterShake.frequency) + return _internal_frequency(); +} +inline void CUserMessageWaterShake::_internal_set_frequency(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.frequency_ = value; +} +inline void CUserMessageWaterShake::set_frequency(float value) { + _internal_set_frequency(value); + // @@protoc_insertion_point(field_set:CUserMessageWaterShake.frequency) +} + +// optional float duration = 4; +inline bool CUserMessageWaterShake::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageWaterShake::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageWaterShake::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageWaterShake::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageWaterShake::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageWaterShake.duration) + return _internal_duration(); +} +inline void CUserMessageWaterShake::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.duration_ = value; +} +inline void CUserMessageWaterShake::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageWaterShake.duration) +} + +// ------------------------------------------------------------------- + +// CUserMessageScreenTilt + +// optional uint32 command = 1; +inline bool CUserMessageScreenTilt::_internal_has_command() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageScreenTilt::has_command() const { + return _internal_has_command(); +} +inline void CUserMessageScreenTilt::clear_command() { + _impl_.command_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageScreenTilt::_internal_command() const { + return _impl_.command_; +} +inline uint32_t CUserMessageScreenTilt::command() const { + // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.command) + return _internal_command(); +} +inline void CUserMessageScreenTilt::_internal_set_command(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.command_ = value; +} +inline void CUserMessageScreenTilt::set_command(uint32_t value) { + _internal_set_command(value); + // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.command) +} + +// optional bool ease_in_out = 2; +inline bool CUserMessageScreenTilt::_internal_has_ease_in_out() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageScreenTilt::has_ease_in_out() const { + return _internal_has_ease_in_out(); +} +inline void CUserMessageScreenTilt::clear_ease_in_out() { + _impl_.ease_in_out_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageScreenTilt::_internal_ease_in_out() const { + return _impl_.ease_in_out_; +} +inline bool CUserMessageScreenTilt::ease_in_out() const { + // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.ease_in_out) + return _internal_ease_in_out(); +} +inline void CUserMessageScreenTilt::_internal_set_ease_in_out(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.ease_in_out_ = value; +} +inline void CUserMessageScreenTilt::set_ease_in_out(bool value) { + _internal_set_ease_in_out(value); + // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.ease_in_out) +} + +// optional .CMsgVector angle = 3; +inline bool CUserMessageScreenTilt::_internal_has_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); + return value; +} +inline bool CUserMessageScreenTilt::has_angle() const { + return _internal_has_angle(); +} +inline const ::CMsgVector& CUserMessageScreenTilt::_internal_angle() const { + const ::CMsgVector* p = _impl_.angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMessageScreenTilt::angle() const { + // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.angle) + return _internal_angle(); +} +inline void CUserMessageScreenTilt::unsafe_arena_set_allocated_angle( + ::CMsgVector* angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + _impl_.angle_ = angle; + if (angle) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageScreenTilt.angle) +} +inline ::CMsgVector* CUserMessageScreenTilt::release_angle() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.angle_; + _impl_.angle_ = 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 ::CMsgVector* CUserMessageScreenTilt::unsafe_arena_release_angle() { + // @@protoc_insertion_point(field_release:CUserMessageScreenTilt.angle) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.angle_; + _impl_.angle_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMessageScreenTilt::_internal_mutable_angle() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.angle_ = p; + } + return _impl_.angle_; +} +inline ::CMsgVector* CUserMessageScreenTilt::mutable_angle() { + ::CMsgVector* _msg = _internal_mutable_angle(); + // @@protoc_insertion_point(field_mutable:CUserMessageScreenTilt.angle) + return _msg; +} +inline void CUserMessageScreenTilt::set_allocated_angle(::CMsgVector* angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + if (angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); + if (message_arena != submessage_arena) { + angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.angle_ = angle; + // @@protoc_insertion_point(field_set_allocated:CUserMessageScreenTilt.angle) +} + +// optional float duration = 4; +inline bool CUserMessageScreenTilt::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageScreenTilt::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageScreenTilt::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageScreenTilt::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageScreenTilt::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.duration) + return _internal_duration(); +} +inline void CUserMessageScreenTilt::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.duration_ = value; +} +inline void CUserMessageScreenTilt::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.duration) +} + +// optional float time = 5; +inline bool CUserMessageScreenTilt::_internal_has_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageScreenTilt::has_time() const { + return _internal_has_time(); +} +inline void CUserMessageScreenTilt::clear_time() { + _impl_.time_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline float CUserMessageScreenTilt::_internal_time() const { + return _impl_.time_; +} +inline float CUserMessageScreenTilt::time() const { + // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.time) + return _internal_time(); +} +inline void CUserMessageScreenTilt::_internal_set_time(float value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.time_ = value; +} +inline void CUserMessageScreenTilt::set_time(float value) { + _internal_set_time(value); + // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.time) +} + +// ------------------------------------------------------------------- + +// CUserMessageSayText + +// optional int32 playerindex = 1 [default = -1]; +inline bool CUserMessageSayText::_internal_has_playerindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageSayText::has_playerindex() const { + return _internal_has_playerindex(); +} +inline void CUserMessageSayText::clear_playerindex() { + _impl_.playerindex_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageSayText::_internal_playerindex() const { + return _impl_.playerindex_; +} +inline int32_t CUserMessageSayText::playerindex() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText.playerindex) + return _internal_playerindex(); +} +inline void CUserMessageSayText::_internal_set_playerindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.playerindex_ = value; +} +inline void CUserMessageSayText::set_playerindex(int32_t value) { + _internal_set_playerindex(value); + // @@protoc_insertion_point(field_set:CUserMessageSayText.playerindex) +} + +// optional string text = 2; +inline bool CUserMessageSayText::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageSayText::has_text() const { + return _internal_has_text(); +} +inline void CUserMessageSayText::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageSayText::text() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText.text) +} +inline std::string* CUserMessageSayText::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText.text) + return _s; +} +inline const std::string& CUserMessageSayText::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CUserMessageSayText::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText::release_text() { + // @@protoc_insertion_point(field_release:CUserMessageSayText.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessageSayText.text) +} + +// optional bool chat = 3; +inline bool CUserMessageSayText::_internal_has_chat() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageSayText::has_chat() const { + return _internal_has_chat(); +} +inline void CUserMessageSayText::clear_chat() { + _impl_.chat_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMessageSayText::_internal_chat() const { + return _impl_.chat_; +} +inline bool CUserMessageSayText::chat() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText.chat) + return _internal_chat(); +} +inline void CUserMessageSayText::_internal_set_chat(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.chat_ = value; +} +inline void CUserMessageSayText::set_chat(bool value) { + _internal_set_chat(value); + // @@protoc_insertion_point(field_set:CUserMessageSayText.chat) +} + +// ------------------------------------------------------------------- + +// CUserMessageSayText2 + +// optional int32 entityindex = 1 [default = -1]; +inline bool CUserMessageSayText2::_internal_has_entityindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_entityindex() const { + return _internal_has_entityindex(); +} +inline void CUserMessageSayText2::clear_entityindex() { + _impl_.entityindex_ = -1; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessageSayText2::_internal_entityindex() const { + return _impl_.entityindex_; +} +inline int32_t CUserMessageSayText2::entityindex() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.entityindex) + return _internal_entityindex(); +} +inline void CUserMessageSayText2::_internal_set_entityindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.entityindex_ = value; +} +inline void CUserMessageSayText2::set_entityindex(int32_t value) { + _internal_set_entityindex(value); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.entityindex) +} + +// optional bool chat = 2; +inline bool CUserMessageSayText2::_internal_has_chat() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_chat() const { + return _internal_has_chat(); +} +inline void CUserMessageSayText2::clear_chat() { + _impl_.chat_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CUserMessageSayText2::_internal_chat() const { + return _impl_.chat_; +} +inline bool CUserMessageSayText2::chat() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.chat) + return _internal_chat(); +} +inline void CUserMessageSayText2::_internal_set_chat(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.chat_ = value; +} +inline void CUserMessageSayText2::set_chat(bool value) { + _internal_set_chat(value); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.chat) +} + +// optional string messagename = 3; +inline bool CUserMessageSayText2::_internal_has_messagename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_messagename() const { + return _internal_has_messagename(); +} +inline void CUserMessageSayText2::clear_messagename() { + _impl_.messagename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageSayText2::messagename() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.messagename) + return _internal_messagename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText2::set_messagename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.messagename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.messagename) +} +inline std::string* CUserMessageSayText2::mutable_messagename() { + std::string* _s = _internal_mutable_messagename(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.messagename) + return _s; +} +inline const std::string& CUserMessageSayText2::_internal_messagename() const { + return _impl_.messagename_.Get(); +} +inline void CUserMessageSayText2::_internal_set_messagename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.messagename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::_internal_mutable_messagename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.messagename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::release_messagename() { + // @@protoc_insertion_point(field_release:CUserMessageSayText2.messagename) + if (!_internal_has_messagename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.messagename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.messagename_.IsDefault()) { + _impl_.messagename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText2::set_allocated_messagename(std::string* messagename) { + if (messagename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.messagename_.SetAllocated(messagename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.messagename_.IsDefault()) { + _impl_.messagename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.messagename) +} + +// optional string param1 = 4; +inline bool CUserMessageSayText2::_internal_has_param1() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_param1() const { + return _internal_has_param1(); +} +inline void CUserMessageSayText2::clear_param1() { + _impl_.param1_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessageSayText2::param1() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.param1) + return _internal_param1(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText2::set_param1(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.param1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.param1) +} +inline std::string* CUserMessageSayText2::mutable_param1() { + std::string* _s = _internal_mutable_param1(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param1) + return _s; +} +inline const std::string& CUserMessageSayText2::_internal_param1() const { + return _impl_.param1_.Get(); +} +inline void CUserMessageSayText2::_internal_set_param1(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.param1_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::_internal_mutable_param1() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.param1_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::release_param1() { + // @@protoc_insertion_point(field_release:CUserMessageSayText2.param1) + if (!_internal_has_param1()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.param1_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param1_.IsDefault()) { + _impl_.param1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText2::set_allocated_param1(std::string* param1) { + if (param1 != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.param1_.SetAllocated(param1, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param1_.IsDefault()) { + _impl_.param1_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param1) +} + +// optional string param2 = 5; +inline bool CUserMessageSayText2::_internal_has_param2() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_param2() const { + return _internal_has_param2(); +} +inline void CUserMessageSayText2::clear_param2() { + _impl_.param2_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CUserMessageSayText2::param2() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.param2) + return _internal_param2(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText2::set_param2(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.param2_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.param2) +} +inline std::string* CUserMessageSayText2::mutable_param2() { + std::string* _s = _internal_mutable_param2(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param2) + return _s; +} +inline const std::string& CUserMessageSayText2::_internal_param2() const { + return _impl_.param2_.Get(); +} +inline void CUserMessageSayText2::_internal_set_param2(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.param2_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::_internal_mutable_param2() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.param2_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::release_param2() { + // @@protoc_insertion_point(field_release:CUserMessageSayText2.param2) + if (!_internal_has_param2()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.param2_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param2_.IsDefault()) { + _impl_.param2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText2::set_allocated_param2(std::string* param2) { + if (param2 != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.param2_.SetAllocated(param2, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param2_.IsDefault()) { + _impl_.param2_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param2) +} + +// optional string param3 = 6; +inline bool CUserMessageSayText2::_internal_has_param3() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_param3() const { + return _internal_has_param3(); +} +inline void CUserMessageSayText2::clear_param3() { + _impl_.param3_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CUserMessageSayText2::param3() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.param3) + return _internal_param3(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText2::set_param3(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.param3_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.param3) +} +inline std::string* CUserMessageSayText2::mutable_param3() { + std::string* _s = _internal_mutable_param3(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param3) + return _s; +} +inline const std::string& CUserMessageSayText2::_internal_param3() const { + return _impl_.param3_.Get(); +} +inline void CUserMessageSayText2::_internal_set_param3(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.param3_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::_internal_mutable_param3() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.param3_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::release_param3() { + // @@protoc_insertion_point(field_release:CUserMessageSayText2.param3) + if (!_internal_has_param3()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.param3_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param3_.IsDefault()) { + _impl_.param3_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText2::set_allocated_param3(std::string* param3) { + if (param3 != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.param3_.SetAllocated(param3, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param3_.IsDefault()) { + _impl_.param3_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param3) +} + +// optional string param4 = 7; +inline bool CUserMessageSayText2::_internal_has_param4() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageSayText2::has_param4() const { + return _internal_has_param4(); +} +inline void CUserMessageSayText2::clear_param4() { + _impl_.param4_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const std::string& CUserMessageSayText2::param4() const { + // @@protoc_insertion_point(field_get:CUserMessageSayText2.param4) + return _internal_param4(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayText2::set_param4(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.param4_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayText2.param4) +} +inline std::string* CUserMessageSayText2::mutable_param4() { + std::string* _s = _internal_mutable_param4(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param4) + return _s; +} +inline const std::string& CUserMessageSayText2::_internal_param4() const { + return _impl_.param4_.Get(); +} +inline void CUserMessageSayText2::_internal_set_param4(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.param4_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::_internal_mutable_param4() { + _impl_._has_bits_[0] |= 0x00000010u; + return _impl_.param4_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayText2::release_param4() { + // @@protoc_insertion_point(field_release:CUserMessageSayText2.param4) + if (!_internal_has_param4()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000010u; + auto* p = _impl_.param4_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param4_.IsDefault()) { + _impl_.param4_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayText2::set_allocated_param4(std::string* param4) { + if (param4 != nullptr) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.param4_.SetAllocated(param4, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.param4_.IsDefault()) { + _impl_.param4_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param4) +} + +// ------------------------------------------------------------------- + +// CUserMessageHudMsg + +// optional uint32 channel = 1; +inline bool CUserMessageHudMsg::_internal_has_channel() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_channel() const { + return _internal_has_channel(); +} +inline void CUserMessageHudMsg::clear_channel() { + _impl_.channel_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageHudMsg::_internal_channel() const { + return _impl_.channel_; +} +inline uint32_t CUserMessageHudMsg::channel() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.channel) + return _internal_channel(); +} +inline void CUserMessageHudMsg::_internal_set_channel(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.channel_ = value; +} +inline void CUserMessageHudMsg::set_channel(uint32_t value) { + _internal_set_channel(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.channel) +} + +// optional float x = 2; +inline bool CUserMessageHudMsg::_internal_has_x() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_x() const { + return _internal_has_x(); +} +inline void CUserMessageHudMsg::clear_x() { + _impl_.x_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageHudMsg::_internal_x() const { + return _impl_.x_; +} +inline float CUserMessageHudMsg::x() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.x) + return _internal_x(); +} +inline void CUserMessageHudMsg::_internal_set_x(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.x_ = value; +} +inline void CUserMessageHudMsg::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.x) +} + +// optional float y = 3; +inline bool CUserMessageHudMsg::_internal_has_y() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_y() const { + return _internal_has_y(); +} +inline void CUserMessageHudMsg::clear_y() { + _impl_.y_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageHudMsg::_internal_y() const { + return _impl_.y_; +} +inline float CUserMessageHudMsg::y() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.y) + return _internal_y(); +} +inline void CUserMessageHudMsg::_internal_set_y(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.y_ = value; +} +inline void CUserMessageHudMsg::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.y) +} + +// optional fixed32 color1 = 4; +inline bool CUserMessageHudMsg::_internal_has_color1() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_color1() const { + return _internal_has_color1(); +} +inline void CUserMessageHudMsg::clear_color1() { + _impl_.color1_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CUserMessageHudMsg::_internal_color1() const { + return _impl_.color1_; +} +inline uint32_t CUserMessageHudMsg::color1() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.color1) + return _internal_color1(); +} +inline void CUserMessageHudMsg::_internal_set_color1(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.color1_ = value; +} +inline void CUserMessageHudMsg::set_color1(uint32_t value) { + _internal_set_color1(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.color1) +} + +// optional fixed32 color2 = 5; +inline bool CUserMessageHudMsg::_internal_has_color2() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_color2() const { + return _internal_has_color2(); +} +inline void CUserMessageHudMsg::clear_color2() { + _impl_.color2_ = 0u; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline uint32_t CUserMessageHudMsg::_internal_color2() const { + return _impl_.color2_; +} +inline uint32_t CUserMessageHudMsg::color2() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.color2) + return _internal_color2(); +} +inline void CUserMessageHudMsg::_internal_set_color2(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.color2_ = value; +} +inline void CUserMessageHudMsg::set_color2(uint32_t value) { + _internal_set_color2(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.color2) +} + +// optional uint32 effect = 6; +inline bool CUserMessageHudMsg::_internal_has_effect() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_effect() const { + return _internal_has_effect(); +} +inline void CUserMessageHudMsg::clear_effect() { + _impl_.effect_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline uint32_t CUserMessageHudMsg::_internal_effect() const { + return _impl_.effect_; +} +inline uint32_t CUserMessageHudMsg::effect() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.effect) + return _internal_effect(); +} +inline void CUserMessageHudMsg::_internal_set_effect(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.effect_ = value; +} +inline void CUserMessageHudMsg::set_effect(uint32_t value) { + _internal_set_effect(value); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.effect) +} + +// optional string message = 11; +inline bool CUserMessageHudMsg::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageHudMsg::has_message() const { + return _internal_has_message(); +} +inline void CUserMessageHudMsg::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageHudMsg::message() const { + // @@protoc_insertion_point(field_get:CUserMessageHudMsg.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageHudMsg::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageHudMsg.message) +} +inline std::string* CUserMessageHudMsg::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CUserMessageHudMsg.message) + return _s; +} +inline const std::string& CUserMessageHudMsg::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CUserMessageHudMsg::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageHudMsg::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageHudMsg::release_message() { + // @@protoc_insertion_point(field_release:CUserMessageHudMsg.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageHudMsg::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageHudMsg.message) +} + +// ------------------------------------------------------------------- + +// CUserMessageHudText + +// optional string message = 1; +inline bool CUserMessageHudText::_internal_has_message() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageHudText::has_message() const { + return _internal_has_message(); +} +inline void CUserMessageHudText::clear_message() { + _impl_.message_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageHudText::message() const { + // @@protoc_insertion_point(field_get:CUserMessageHudText.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageHudText::set_message(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageHudText.message) +} +inline std::string* CUserMessageHudText::mutable_message() { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:CUserMessageHudText.message) + return _s; +} +inline const std::string& CUserMessageHudText::_internal_message() const { + return _impl_.message_.Get(); +} +inline void CUserMessageHudText::_internal_set_message(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.message_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageHudText::_internal_mutable_message() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.message_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageHudText::release_message() { + // @@protoc_insertion_point(field_release:CUserMessageHudText.message) + if (!_internal_has_message()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.message_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageHudText::set_allocated_message(std::string* message) { + if (message != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.message_.SetAllocated(message, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageHudText.message) +} + +// ------------------------------------------------------------------- + +// CUserMessageTextMsg + +// optional uint32 dest = 1; +inline bool CUserMessageTextMsg::_internal_has_dest() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageTextMsg::has_dest() const { + return _internal_has_dest(); +} +inline void CUserMessageTextMsg::clear_dest() { + _impl_.dest_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageTextMsg::_internal_dest() const { + return _impl_.dest_; +} +inline uint32_t CUserMessageTextMsg::dest() const { + // @@protoc_insertion_point(field_get:CUserMessageTextMsg.dest) + return _internal_dest(); +} +inline void CUserMessageTextMsg::_internal_set_dest(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dest_ = value; +} +inline void CUserMessageTextMsg::set_dest(uint32_t value) { + _internal_set_dest(value); + // @@protoc_insertion_point(field_set:CUserMessageTextMsg.dest) +} + +// repeated string param = 2; +inline int CUserMessageTextMsg::_internal_param_size() const { + return _impl_.param_.size(); +} +inline int CUserMessageTextMsg::param_size() const { + return _internal_param_size(); +} +inline void CUserMessageTextMsg::clear_param() { + _impl_.param_.Clear(); +} +inline std::string* CUserMessageTextMsg::add_param() { + std::string* _s = _internal_add_param(); + // @@protoc_insertion_point(field_add_mutable:CUserMessageTextMsg.param) + return _s; +} +inline const std::string& CUserMessageTextMsg::_internal_param(int index) const { + return _impl_.param_.Get(index); +} +inline const std::string& CUserMessageTextMsg::param(int index) const { + // @@protoc_insertion_point(field_get:CUserMessageTextMsg.param) + return _internal_param(index); +} +inline std::string* CUserMessageTextMsg::mutable_param(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessageTextMsg.param) + return _impl_.param_.Mutable(index); +} +inline void CUserMessageTextMsg::set_param(int index, const std::string& value) { + _impl_.param_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::set_param(int index, std::string&& value) { + _impl_.param_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::set_param(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.param_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::set_param(int index, const char* value, size_t size) { + _impl_.param_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CUserMessageTextMsg.param) +} +inline std::string* CUserMessageTextMsg::_internal_add_param() { + return _impl_.param_.Add(); +} +inline void CUserMessageTextMsg::add_param(const std::string& value) { + _impl_.param_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::add_param(std::string&& value) { + _impl_.param_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::add_param(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.param_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CUserMessageTextMsg.param) +} +inline void CUserMessageTextMsg::add_param(const char* value, size_t size) { + _impl_.param_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CUserMessageTextMsg.param) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CUserMessageTextMsg::param() const { + // @@protoc_insertion_point(field_list:CUserMessageTextMsg.param) + return _impl_.param_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CUserMessageTextMsg::mutable_param() { + // @@protoc_insertion_point(field_mutable_list:CUserMessageTextMsg.param) + return &_impl_.param_; +} + +// ------------------------------------------------------------------- + +// CUserMessageGameTitle + +// ------------------------------------------------------------------- + +// CUserMessageResetHUD + +// ------------------------------------------------------------------- + +// CUserMessageSendAudio + +// optional string soundname = 1; +inline bool CUserMessageSendAudio::_internal_has_soundname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageSendAudio::has_soundname() const { + return _internal_has_soundname(); +} +inline void CUserMessageSendAudio::clear_soundname() { + _impl_.soundname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageSendAudio::soundname() const { + // @@protoc_insertion_point(field_get:CUserMessageSendAudio.soundname) + return _internal_soundname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSendAudio::set_soundname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.soundname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSendAudio.soundname) +} +inline std::string* CUserMessageSendAudio::mutable_soundname() { + std::string* _s = _internal_mutable_soundname(); + // @@protoc_insertion_point(field_mutable:CUserMessageSendAudio.soundname) + return _s; +} +inline const std::string& CUserMessageSendAudio::_internal_soundname() const { + return _impl_.soundname_.Get(); +} +inline void CUserMessageSendAudio::_internal_set_soundname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.soundname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSendAudio::_internal_mutable_soundname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.soundname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSendAudio::release_soundname() { + // @@protoc_insertion_point(field_release:CUserMessageSendAudio.soundname) + if (!_internal_has_soundname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.soundname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.soundname_.IsDefault()) { + _impl_.soundname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSendAudio::set_allocated_soundname(std::string* soundname) { + if (soundname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.soundname_.SetAllocated(soundname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.soundname_.IsDefault()) { + _impl_.soundname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageSendAudio.soundname) +} + +// optional bool stop = 2; +inline bool CUserMessageSendAudio::_internal_has_stop() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageSendAudio::has_stop() const { + return _internal_has_stop(); +} +inline void CUserMessageSendAudio::clear_stop() { + _impl_.stop_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMessageSendAudio::_internal_stop() const { + return _impl_.stop_; +} +inline bool CUserMessageSendAudio::stop() const { + // @@protoc_insertion_point(field_get:CUserMessageSendAudio.stop) + return _internal_stop(); +} +inline void CUserMessageSendAudio::_internal_set_stop(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.stop_ = value; +} +inline void CUserMessageSendAudio::set_stop(bool value) { + _internal_set_stop(value); + // @@protoc_insertion_point(field_set:CUserMessageSendAudio.stop) +} + +// ------------------------------------------------------------------- + +// CUserMessageAudioParameter + +// optional uint32 parameter_type = 1; +inline bool CUserMessageAudioParameter::_internal_has_parameter_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageAudioParameter::has_parameter_type() const { + return _internal_has_parameter_type(); +} +inline void CUserMessageAudioParameter::clear_parameter_type() { + _impl_.parameter_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageAudioParameter::_internal_parameter_type() const { + return _impl_.parameter_type_; +} +inline uint32_t CUserMessageAudioParameter::parameter_type() const { + // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.parameter_type) + return _internal_parameter_type(); +} +inline void CUserMessageAudioParameter::_internal_set_parameter_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.parameter_type_ = value; +} +inline void CUserMessageAudioParameter::set_parameter_type(uint32_t value) { + _internal_set_parameter_type(value); + // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.parameter_type) +} + +// optional uint32 name_hash_code = 2; +inline bool CUserMessageAudioParameter::_internal_has_name_hash_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageAudioParameter::has_name_hash_code() const { + return _internal_has_name_hash_code(); +} +inline void CUserMessageAudioParameter::clear_name_hash_code() { + _impl_.name_hash_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageAudioParameter::_internal_name_hash_code() const { + return _impl_.name_hash_code_; +} +inline uint32_t CUserMessageAudioParameter::name_hash_code() const { + // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.name_hash_code) + return _internal_name_hash_code(); +} +inline void CUserMessageAudioParameter::_internal_set_name_hash_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.name_hash_code_ = value; +} +inline void CUserMessageAudioParameter::set_name_hash_code(uint32_t value) { + _internal_set_name_hash_code(value); + // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.name_hash_code) +} + +// optional float value = 3; +inline bool CUserMessageAudioParameter::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageAudioParameter::has_value() const { + return _internal_has_value(); +} +inline void CUserMessageAudioParameter::clear_value() { + _impl_.value_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageAudioParameter::_internal_value() const { + return _impl_.value_; +} +inline float CUserMessageAudioParameter::value() const { + // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.value) + return _internal_value(); +} +inline void CUserMessageAudioParameter::_internal_set_value(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.value_ = value; +} +inline void CUserMessageAudioParameter::set_value(float value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.value) +} + +// optional uint32 int_value = 4; +inline bool CUserMessageAudioParameter::_internal_has_int_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageAudioParameter::has_int_value() const { + return _internal_has_int_value(); +} +inline void CUserMessageAudioParameter::clear_int_value() { + _impl_.int_value_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CUserMessageAudioParameter::_internal_int_value() const { + return _impl_.int_value_; +} +inline uint32_t CUserMessageAudioParameter::int_value() const { + // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.int_value) + return _internal_int_value(); +} +inline void CUserMessageAudioParameter::_internal_set_int_value(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.int_value_ = value; +} +inline void CUserMessageAudioParameter::set_int_value(uint32_t value) { + _internal_set_int_value(value); + // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.int_value) +} + +// ------------------------------------------------------------------- + +// CUserMessageVoiceMask + +// repeated uint32 gamerules_masks = 1; +inline int CUserMessageVoiceMask::_internal_gamerules_masks_size() const { + return _impl_.gamerules_masks_.size(); +} +inline int CUserMessageVoiceMask::gamerules_masks_size() const { + return _internal_gamerules_masks_size(); +} +inline void CUserMessageVoiceMask::clear_gamerules_masks() { + _impl_.gamerules_masks_.Clear(); +} +inline uint32_t CUserMessageVoiceMask::_internal_gamerules_masks(int index) const { + return _impl_.gamerules_masks_.Get(index); +} +inline uint32_t CUserMessageVoiceMask::gamerules_masks(int index) const { + // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.gamerules_masks) + return _internal_gamerules_masks(index); +} +inline void CUserMessageVoiceMask::set_gamerules_masks(int index, uint32_t value) { + _impl_.gamerules_masks_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.gamerules_masks) +} +inline void CUserMessageVoiceMask::_internal_add_gamerules_masks(uint32_t value) { + _impl_.gamerules_masks_.Add(value); +} +inline void CUserMessageVoiceMask::add_gamerules_masks(uint32_t value) { + _internal_add_gamerules_masks(value); + // @@protoc_insertion_point(field_add:CUserMessageVoiceMask.gamerules_masks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessageVoiceMask::_internal_gamerules_masks() const { + return _impl_.gamerules_masks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessageVoiceMask::gamerules_masks() const { + // @@protoc_insertion_point(field_list:CUserMessageVoiceMask.gamerules_masks) + return _internal_gamerules_masks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessageVoiceMask::_internal_mutable_gamerules_masks() { + return &_impl_.gamerules_masks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessageVoiceMask::mutable_gamerules_masks() { + // @@protoc_insertion_point(field_mutable_list:CUserMessageVoiceMask.gamerules_masks) + return _internal_mutable_gamerules_masks(); +} + +// repeated uint32 ban_masks = 2; +inline int CUserMessageVoiceMask::_internal_ban_masks_size() const { + return _impl_.ban_masks_.size(); +} +inline int CUserMessageVoiceMask::ban_masks_size() const { + return _internal_ban_masks_size(); +} +inline void CUserMessageVoiceMask::clear_ban_masks() { + _impl_.ban_masks_.Clear(); +} +inline uint32_t CUserMessageVoiceMask::_internal_ban_masks(int index) const { + return _impl_.ban_masks_.Get(index); +} +inline uint32_t CUserMessageVoiceMask::ban_masks(int index) const { + // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.ban_masks) + return _internal_ban_masks(index); +} +inline void CUserMessageVoiceMask::set_ban_masks(int index, uint32_t value) { + _impl_.ban_masks_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.ban_masks) +} +inline void CUserMessageVoiceMask::_internal_add_ban_masks(uint32_t value) { + _impl_.ban_masks_.Add(value); +} +inline void CUserMessageVoiceMask::add_ban_masks(uint32_t value) { + _internal_add_ban_masks(value); + // @@protoc_insertion_point(field_add:CUserMessageVoiceMask.ban_masks) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessageVoiceMask::_internal_ban_masks() const { + return _impl_.ban_masks_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessageVoiceMask::ban_masks() const { + // @@protoc_insertion_point(field_list:CUserMessageVoiceMask.ban_masks) + return _internal_ban_masks(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessageVoiceMask::_internal_mutable_ban_masks() { + return &_impl_.ban_masks_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessageVoiceMask::mutable_ban_masks() { + // @@protoc_insertion_point(field_mutable_list:CUserMessageVoiceMask.ban_masks) + return _internal_mutable_ban_masks(); +} + +// optional bool mod_enable = 3; +inline bool CUserMessageVoiceMask::_internal_has_mod_enable() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageVoiceMask::has_mod_enable() const { + return _internal_has_mod_enable(); +} +inline void CUserMessageVoiceMask::clear_mod_enable() { + _impl_.mod_enable_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMessageVoiceMask::_internal_mod_enable() const { + return _impl_.mod_enable_; +} +inline bool CUserMessageVoiceMask::mod_enable() const { + // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.mod_enable) + return _internal_mod_enable(); +} +inline void CUserMessageVoiceMask::_internal_set_mod_enable(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.mod_enable_ = value; +} +inline void CUserMessageVoiceMask::set_mod_enable(bool value) { + _internal_set_mod_enable(value); + // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.mod_enable) +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestState + +// ------------------------------------------------------------------- + +// CUserMessageRumble + +// optional int32 index = 1; +inline bool CUserMessageRumble::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageRumble::has_index() const { + return _internal_has_index(); +} +inline void CUserMessageRumble::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessageRumble::_internal_index() const { + return _impl_.index_; +} +inline int32_t CUserMessageRumble::index() const { + // @@protoc_insertion_point(field_get:CUserMessageRumble.index) + return _internal_index(); +} +inline void CUserMessageRumble::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.index_ = value; +} +inline void CUserMessageRumble::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMessageRumble.index) +} + +// optional int32 data = 2; +inline bool CUserMessageRumble::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageRumble::has_data() const { + return _internal_has_data(); +} +inline void CUserMessageRumble::clear_data() { + _impl_.data_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageRumble::_internal_data() const { + return _impl_.data_; +} +inline int32_t CUserMessageRumble::data() const { + // @@protoc_insertion_point(field_get:CUserMessageRumble.data) + return _internal_data(); +} +inline void CUserMessageRumble::_internal_set_data(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_ = value; +} +inline void CUserMessageRumble::set_data(int32_t value) { + _internal_set_data(value); + // @@protoc_insertion_point(field_set:CUserMessageRumble.data) +} + +// optional int32 flags = 3; +inline bool CUserMessageRumble::_internal_has_flags() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageRumble::has_flags() const { + return _internal_has_flags(); +} +inline void CUserMessageRumble::clear_flags() { + _impl_.flags_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageRumble::_internal_flags() const { + return _impl_.flags_; +} +inline int32_t CUserMessageRumble::flags() const { + // @@protoc_insertion_point(field_get:CUserMessageRumble.flags) + return _internal_flags(); +} +inline void CUserMessageRumble::_internal_set_flags(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.flags_ = value; +} +inline void CUserMessageRumble::set_flags(int32_t value) { + _internal_set_flags(value); + // @@protoc_insertion_point(field_set:CUserMessageRumble.flags) +} + +// ------------------------------------------------------------------- + +// CUserMessageSayTextChannel + +// optional int32 player = 1; +inline bool CUserMessageSayTextChannel::_internal_has_player() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageSayTextChannel::has_player() const { + return _internal_has_player(); +} +inline void CUserMessageSayTextChannel::clear_player() { + _impl_.player_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageSayTextChannel::_internal_player() const { + return _impl_.player_; +} +inline int32_t CUserMessageSayTextChannel::player() const { + // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.player) + return _internal_player(); +} +inline void CUserMessageSayTextChannel::_internal_set_player(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.player_ = value; +} +inline void CUserMessageSayTextChannel::set_player(int32_t value) { + _internal_set_player(value); + // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.player) +} + +// optional int32 channel = 2; +inline bool CUserMessageSayTextChannel::_internal_has_channel() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageSayTextChannel::has_channel() const { + return _internal_has_channel(); +} +inline void CUserMessageSayTextChannel::clear_channel() { + _impl_.channel_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageSayTextChannel::_internal_channel() const { + return _impl_.channel_; +} +inline int32_t CUserMessageSayTextChannel::channel() const { + // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.channel) + return _internal_channel(); +} +inline void CUserMessageSayTextChannel::_internal_set_channel(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.channel_ = value; +} +inline void CUserMessageSayTextChannel::set_channel(int32_t value) { + _internal_set_channel(value); + // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.channel) +} + +// optional string text = 3; +inline bool CUserMessageSayTextChannel::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageSayTextChannel::has_text() const { + return _internal_has_text(); +} +inline void CUserMessageSayTextChannel::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageSayTextChannel::text() const { + // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageSayTextChannel::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.text) +} +inline std::string* CUserMessageSayTextChannel::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CUserMessageSayTextChannel.text) + return _s; +} +inline const std::string& CUserMessageSayTextChannel::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CUserMessageSayTextChannel::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageSayTextChannel::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageSayTextChannel::release_text() { + // @@protoc_insertion_point(field_release:CUserMessageSayTextChannel.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageSayTextChannel::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessageSayTextChannel.text) +} + +// ------------------------------------------------------------------- + +// CUserMessageColoredText + +// optional uint32 color = 1; +inline bool CUserMessageColoredText::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_color() const { + return _internal_has_color(); +} +inline void CUserMessageColoredText::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageColoredText::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CUserMessageColoredText::color() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.color) + return _internal_color(); +} +inline void CUserMessageColoredText::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.color_ = value; +} +inline void CUserMessageColoredText::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.color) +} + +// optional string text = 2; +inline bool CUserMessageColoredText::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_text() const { + return _internal_has_text(); +} +inline void CUserMessageColoredText::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageColoredText::text() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageColoredText::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.text) +} +inline std::string* CUserMessageColoredText::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CUserMessageColoredText.text) + return _s; +} +inline const std::string& CUserMessageColoredText::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CUserMessageColoredText::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageColoredText::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageColoredText::release_text() { + // @@protoc_insertion_point(field_release:CUserMessageColoredText.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageColoredText::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessageColoredText.text) +} + +// optional bool reset = 3; +inline bool CUserMessageColoredText::_internal_has_reset() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_reset() const { + return _internal_has_reset(); +} +inline void CUserMessageColoredText::clear_reset() { + _impl_.reset_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageColoredText::_internal_reset() const { + return _impl_.reset_; +} +inline bool CUserMessageColoredText::reset() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.reset) + return _internal_reset(); +} +inline void CUserMessageColoredText::_internal_set_reset(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.reset_ = value; +} +inline void CUserMessageColoredText::set_reset(bool value) { + _internal_set_reset(value); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.reset) +} + +// optional int32 context_player_slot = 4 [default = -1]; +inline bool CUserMessageColoredText::_internal_has_context_player_slot() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_context_player_slot() const { + return _internal_has_context_player_slot(); +} +inline void CUserMessageColoredText::clear_context_player_slot() { + _impl_.context_player_slot_ = -1; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessageColoredText::_internal_context_player_slot() const { + return _impl_.context_player_slot_; +} +inline int32_t CUserMessageColoredText::context_player_slot() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_player_slot) + return _internal_context_player_slot(); +} +inline void CUserMessageColoredText::_internal_set_context_player_slot(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.context_player_slot_ = value; +} +inline void CUserMessageColoredText::set_context_player_slot(int32_t value) { + _internal_set_context_player_slot(value); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_player_slot) +} + +// optional int32 context_value = 5; +inline bool CUserMessageColoredText::_internal_has_context_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_context_value() const { + return _internal_has_context_value(); +} +inline void CUserMessageColoredText::clear_context_value() { + _impl_.context_value_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessageColoredText::_internal_context_value() const { + return _impl_.context_value_; +} +inline int32_t CUserMessageColoredText::context_value() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_value) + return _internal_context_value(); +} +inline void CUserMessageColoredText::_internal_set_context_value(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.context_value_ = value; +} +inline void CUserMessageColoredText::set_context_value(int32_t value) { + _internal_set_context_value(value); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_value) +} + +// optional int32 context_team_id = 6; +inline bool CUserMessageColoredText::_internal_has_context_team_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageColoredText::has_context_team_id() const { + return _internal_has_context_team_id(); +} +inline void CUserMessageColoredText::clear_context_team_id() { + _impl_.context_team_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessageColoredText::_internal_context_team_id() const { + return _impl_.context_team_id_; +} +inline int32_t CUserMessageColoredText::context_team_id() const { + // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_team_id) + return _internal_context_team_id(); +} +inline void CUserMessageColoredText::_internal_set_context_team_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.context_team_id_ = value; +} +inline void CUserMessageColoredText::set_context_team_id(int32_t value) { + _internal_set_context_team_id(value); + // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_team_id) +} + +// ------------------------------------------------------------------- + +// CUserMessageItemPickup + +// optional string itemname = 1; +inline bool CUserMessageItemPickup::_internal_has_itemname() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageItemPickup::has_itemname() const { + return _internal_has_itemname(); +} +inline void CUserMessageItemPickup::clear_itemname() { + _impl_.itemname_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageItemPickup::itemname() const { + // @@protoc_insertion_point(field_get:CUserMessageItemPickup.itemname) + return _internal_itemname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageItemPickup::set_itemname(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.itemname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageItemPickup.itemname) +} +inline std::string* CUserMessageItemPickup::mutable_itemname() { + std::string* _s = _internal_mutable_itemname(); + // @@protoc_insertion_point(field_mutable:CUserMessageItemPickup.itemname) + return _s; +} +inline const std::string& CUserMessageItemPickup::_internal_itemname() const { + return _impl_.itemname_.Get(); +} +inline void CUserMessageItemPickup::_internal_set_itemname(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.itemname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageItemPickup::_internal_mutable_itemname() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.itemname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageItemPickup::release_itemname() { + // @@protoc_insertion_point(field_release:CUserMessageItemPickup.itemname) + if (!_internal_has_itemname()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.itemname_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.itemname_.IsDefault()) { + _impl_.itemname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageItemPickup::set_allocated_itemname(std::string* itemname) { + if (itemname != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.itemname_.SetAllocated(itemname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.itemname_.IsDefault()) { + _impl_.itemname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageItemPickup.itemname) +} + +// ------------------------------------------------------------------- + +// CUserMessageAmmoDenied + +// optional uint32 ammo_id = 1; +inline bool CUserMessageAmmoDenied::_internal_has_ammo_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageAmmoDenied::has_ammo_id() const { + return _internal_has_ammo_id(); +} +inline void CUserMessageAmmoDenied::clear_ammo_id() { + _impl_.ammo_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessageAmmoDenied::_internal_ammo_id() const { + return _impl_.ammo_id_; +} +inline uint32_t CUserMessageAmmoDenied::ammo_id() const { + // @@protoc_insertion_point(field_get:CUserMessageAmmoDenied.ammo_id) + return _internal_ammo_id(); +} +inline void CUserMessageAmmoDenied::_internal_set_ammo_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.ammo_id_ = value; +} +inline void CUserMessageAmmoDenied::set_ammo_id(uint32_t value) { + _internal_set_ammo_id(value); + // @@protoc_insertion_point(field_set:CUserMessageAmmoDenied.ammo_id) +} + +// ------------------------------------------------------------------- + +// CUserMessageShowMenu + +// optional uint32 validslots = 1; +inline bool CUserMessageShowMenu::_internal_has_validslots() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageShowMenu::has_validslots() const { + return _internal_has_validslots(); +} +inline void CUserMessageShowMenu::clear_validslots() { + _impl_.validslots_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageShowMenu::_internal_validslots() const { + return _impl_.validslots_; +} +inline uint32_t CUserMessageShowMenu::validslots() const { + // @@protoc_insertion_point(field_get:CUserMessageShowMenu.validslots) + return _internal_validslots(); +} +inline void CUserMessageShowMenu::_internal_set_validslots(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.validslots_ = value; +} +inline void CUserMessageShowMenu::set_validslots(uint32_t value) { + _internal_set_validslots(value); + // @@protoc_insertion_point(field_set:CUserMessageShowMenu.validslots) +} + +// optional uint32 displaytime = 2; +inline bool CUserMessageShowMenu::_internal_has_displaytime() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageShowMenu::has_displaytime() const { + return _internal_has_displaytime(); +} +inline void CUserMessageShowMenu::clear_displaytime() { + _impl_.displaytime_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessageShowMenu::_internal_displaytime() const { + return _impl_.displaytime_; +} +inline uint32_t CUserMessageShowMenu::displaytime() const { + // @@protoc_insertion_point(field_get:CUserMessageShowMenu.displaytime) + return _internal_displaytime(); +} +inline void CUserMessageShowMenu::_internal_set_displaytime(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.displaytime_ = value; +} +inline void CUserMessageShowMenu::set_displaytime(uint32_t value) { + _internal_set_displaytime(value); + // @@protoc_insertion_point(field_set:CUserMessageShowMenu.displaytime) +} + +// optional bool needmore = 3; +inline bool CUserMessageShowMenu::_internal_has_needmore() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageShowMenu::has_needmore() const { + return _internal_has_needmore(); +} +inline void CUserMessageShowMenu::clear_needmore() { + _impl_.needmore_ = false; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline bool CUserMessageShowMenu::_internal_needmore() const { + return _impl_.needmore_; +} +inline bool CUserMessageShowMenu::needmore() const { + // @@protoc_insertion_point(field_get:CUserMessageShowMenu.needmore) + return _internal_needmore(); +} +inline void CUserMessageShowMenu::_internal_set_needmore(bool value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.needmore_ = value; +} +inline void CUserMessageShowMenu::set_needmore(bool value) { + _internal_set_needmore(value); + // @@protoc_insertion_point(field_set:CUserMessageShowMenu.needmore) +} + +// optional string menustring = 4; +inline bool CUserMessageShowMenu::_internal_has_menustring() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageShowMenu::has_menustring() const { + return _internal_has_menustring(); +} +inline void CUserMessageShowMenu::clear_menustring() { + _impl_.menustring_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageShowMenu::menustring() const { + // @@protoc_insertion_point(field_get:CUserMessageShowMenu.menustring) + return _internal_menustring(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageShowMenu::set_menustring(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menustring_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageShowMenu.menustring) +} +inline std::string* CUserMessageShowMenu::mutable_menustring() { + std::string* _s = _internal_mutable_menustring(); + // @@protoc_insertion_point(field_mutable:CUserMessageShowMenu.menustring) + return _s; +} +inline const std::string& CUserMessageShowMenu::_internal_menustring() const { + return _impl_.menustring_.Get(); +} +inline void CUserMessageShowMenu::_internal_set_menustring(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.menustring_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageShowMenu::_internal_mutable_menustring() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.menustring_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageShowMenu::release_menustring() { + // @@protoc_insertion_point(field_release:CUserMessageShowMenu.menustring) + if (!_internal_has_menustring()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.menustring_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menustring_.IsDefault()) { + _impl_.menustring_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageShowMenu::set_allocated_menustring(std::string* menustring) { + if (menustring != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.menustring_.SetAllocated(menustring, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.menustring_.IsDefault()) { + _impl_.menustring_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageShowMenu.menustring) +} + +// ------------------------------------------------------------------- + +// CUserMessageCreditsMsg + +// optional .eRollType rolltype = 1 [default = ROLL_NONE]; +inline bool CUserMessageCreditsMsg::_internal_has_rolltype() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCreditsMsg::has_rolltype() const { + return _internal_has_rolltype(); +} +inline void CUserMessageCreditsMsg::clear_rolltype() { + _impl_.rolltype_ = -1; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline ::eRollType CUserMessageCreditsMsg::_internal_rolltype() const { + return static_cast< ::eRollType >(_impl_.rolltype_); +} +inline ::eRollType CUserMessageCreditsMsg::rolltype() const { + // @@protoc_insertion_point(field_get:CUserMessageCreditsMsg.rolltype) + return _internal_rolltype(); +} +inline void CUserMessageCreditsMsg::_internal_set_rolltype(::eRollType value) { + assert(::eRollType_IsValid(value)); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.rolltype_ = value; +} +inline void CUserMessageCreditsMsg::set_rolltype(::eRollType value) { + _internal_set_rolltype(value); + // @@protoc_insertion_point(field_set:CUserMessageCreditsMsg.rolltype) +} + +// optional float logo_length = 2; +inline bool CUserMessageCreditsMsg::_internal_has_logo_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCreditsMsg::has_logo_length() const { + return _internal_has_logo_length(); +} +inline void CUserMessageCreditsMsg::clear_logo_length() { + _impl_.logo_length_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMessageCreditsMsg::_internal_logo_length() const { + return _impl_.logo_length_; +} +inline float CUserMessageCreditsMsg::logo_length() const { + // @@protoc_insertion_point(field_get:CUserMessageCreditsMsg.logo_length) + return _internal_logo_length(); +} +inline void CUserMessageCreditsMsg::_internal_set_logo_length(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.logo_length_ = value; +} +inline void CUserMessageCreditsMsg::set_logo_length(float value) { + _internal_set_logo_length(value); + // @@protoc_insertion_point(field_set:CUserMessageCreditsMsg.logo_length) +} + +// ------------------------------------------------------------------- + +// CEntityMessagePlayJingle + +// optional .CEntityMsg entity_msg = 1; +inline bool CEntityMessagePlayJingle::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessagePlayJingle::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessagePlayJingle::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessagePlayJingle::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessagePlayJingle.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessagePlayJingle::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePlayJingle.entity_msg) +} +inline ::CEntityMsg* CEntityMessagePlayJingle::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessagePlayJingle::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessagePlayJingle.entity_msg) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessagePlayJingle::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessagePlayJingle::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessagePlayJingle.entity_msg) + return _msg; +} +inline void CEntityMessagePlayJingle::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessagePlayJingle.entity_msg) +} + +// ------------------------------------------------------------------- + +// CEntityMessageScreenOverlay + +// optional bool start_effect = 1; +inline bool CEntityMessageScreenOverlay::_internal_has_start_effect() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CEntityMessageScreenOverlay::has_start_effect() const { + return _internal_has_start_effect(); +} +inline void CEntityMessageScreenOverlay::clear_start_effect() { + _impl_.start_effect_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CEntityMessageScreenOverlay::_internal_start_effect() const { + return _impl_.start_effect_; +} +inline bool CEntityMessageScreenOverlay::start_effect() const { + // @@protoc_insertion_point(field_get:CEntityMessageScreenOverlay.start_effect) + return _internal_start_effect(); +} +inline void CEntityMessageScreenOverlay::_internal_set_start_effect(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.start_effect_ = value; +} +inline void CEntityMessageScreenOverlay::set_start_effect(bool value) { + _internal_set_start_effect(value); + // @@protoc_insertion_point(field_set:CEntityMessageScreenOverlay.start_effect) +} + +// optional .CEntityMsg entity_msg = 2; +inline bool CEntityMessageScreenOverlay::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessageScreenOverlay::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessageScreenOverlay::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessageScreenOverlay::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessageScreenOverlay.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessageScreenOverlay::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageScreenOverlay.entity_msg) +} +inline ::CEntityMsg* CEntityMessageScreenOverlay::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessageScreenOverlay::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessageScreenOverlay.entity_msg) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessageScreenOverlay::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessageScreenOverlay::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessageScreenOverlay.entity_msg) + return _msg; +} +inline void CEntityMessageScreenOverlay::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageScreenOverlay.entity_msg) +} + +// ------------------------------------------------------------------- + +// CEntityMessageRemoveAllDecals + +// optional bool remove_decals = 1; +inline bool CEntityMessageRemoveAllDecals::_internal_has_remove_decals() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CEntityMessageRemoveAllDecals::has_remove_decals() const { + return _internal_has_remove_decals(); +} +inline void CEntityMessageRemoveAllDecals::clear_remove_decals() { + _impl_.remove_decals_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CEntityMessageRemoveAllDecals::_internal_remove_decals() const { + return _impl_.remove_decals_; +} +inline bool CEntityMessageRemoveAllDecals::remove_decals() const { + // @@protoc_insertion_point(field_get:CEntityMessageRemoveAllDecals.remove_decals) + return _internal_remove_decals(); +} +inline void CEntityMessageRemoveAllDecals::_internal_set_remove_decals(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.remove_decals_ = value; +} +inline void CEntityMessageRemoveAllDecals::set_remove_decals(bool value) { + _internal_set_remove_decals(value); + // @@protoc_insertion_point(field_set:CEntityMessageRemoveAllDecals.remove_decals) +} + +// optional .CEntityMsg entity_msg = 2; +inline bool CEntityMessageRemoveAllDecals::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessageRemoveAllDecals::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessageRemoveAllDecals::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessageRemoveAllDecals::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessageRemoveAllDecals.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessageRemoveAllDecals::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageRemoveAllDecals.entity_msg) +} +inline ::CEntityMsg* CEntityMessageRemoveAllDecals::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessageRemoveAllDecals::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessageRemoveAllDecals.entity_msg) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessageRemoveAllDecals::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessageRemoveAllDecals::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessageRemoveAllDecals.entity_msg) + return _msg; +} +inline void CEntityMessageRemoveAllDecals::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageRemoveAllDecals.entity_msg) +} + +// ------------------------------------------------------------------- + +// CEntityMessagePropagateForce + +// optional .CMsgVector impulse = 1; +inline bool CEntityMessagePropagateForce::_internal_has_impulse() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.impulse_ != nullptr); + return value; +} +inline bool CEntityMessagePropagateForce::has_impulse() const { + return _internal_has_impulse(); +} +inline const ::CMsgVector& CEntityMessagePropagateForce::_internal_impulse() const { + const ::CMsgVector* p = _impl_.impulse_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CEntityMessagePropagateForce::impulse() const { + // @@protoc_insertion_point(field_get:CEntityMessagePropagateForce.impulse) + return _internal_impulse(); +} +inline void CEntityMessagePropagateForce::unsafe_arena_set_allocated_impulse( + ::CMsgVector* impulse) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.impulse_); + } + _impl_.impulse_ = impulse; + if (impulse) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePropagateForce.impulse) +} +inline ::CMsgVector* CEntityMessagePropagateForce::release_impulse() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.impulse_; + _impl_.impulse_ = 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 ::CMsgVector* CEntityMessagePropagateForce::unsafe_arena_release_impulse() { + // @@protoc_insertion_point(field_release:CEntityMessagePropagateForce.impulse) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.impulse_; + _impl_.impulse_ = nullptr; + return temp; +} +inline ::CMsgVector* CEntityMessagePropagateForce::_internal_mutable_impulse() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.impulse_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.impulse_ = p; + } + return _impl_.impulse_; +} +inline ::CMsgVector* CEntityMessagePropagateForce::mutable_impulse() { + ::CMsgVector* _msg = _internal_mutable_impulse(); + // @@protoc_insertion_point(field_mutable:CEntityMessagePropagateForce.impulse) + return _msg; +} +inline void CEntityMessagePropagateForce::set_allocated_impulse(::CMsgVector* impulse) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.impulse_); + } + if (impulse) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(impulse)); + if (message_arena != submessage_arena) { + impulse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, impulse, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.impulse_ = impulse; + // @@protoc_insertion_point(field_set_allocated:CEntityMessagePropagateForce.impulse) +} + +// optional .CEntityMsg entity_msg = 2; +inline bool CEntityMessagePropagateForce::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessagePropagateForce::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessagePropagateForce::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessagePropagateForce::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessagePropagateForce.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessagePropagateForce::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePropagateForce.entity_msg) +} +inline ::CEntityMsg* CEntityMessagePropagateForce::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessagePropagateForce::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessagePropagateForce.entity_msg) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessagePropagateForce::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessagePropagateForce::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessagePropagateForce.entity_msg) + return _msg; +} +inline void CEntityMessagePropagateForce::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessagePropagateForce.entity_msg) +} + +// ------------------------------------------------------------------- + +// CEntityMessageDoSpark + +// optional .CMsgVector origin = 1; +inline bool CEntityMessageDoSpark::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CEntityMessageDoSpark::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CEntityMessageDoSpark::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CEntityMessageDoSpark::origin() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.origin) + return _internal_origin(); +} +inline void CEntityMessageDoSpark::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageDoSpark.origin) +} +inline ::CMsgVector* CEntityMessageDoSpark::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CEntityMessageDoSpark::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CEntityMessageDoSpark.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CEntityMessageDoSpark::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CEntityMessageDoSpark::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CEntityMessageDoSpark.origin) + return _msg; +} +inline void CEntityMessageDoSpark::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageDoSpark.origin) +} + +// optional int32 entityindex = 2 [default = -1]; +inline bool CEntityMessageDoSpark::_internal_has_entityindex() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_entityindex() const { + return _internal_has_entityindex(); +} +inline void CEntityMessageDoSpark::clear_entityindex() { + _impl_.entityindex_ = -1; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CEntityMessageDoSpark::_internal_entityindex() const { + return _impl_.entityindex_; +} +inline int32_t CEntityMessageDoSpark::entityindex() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.entityindex) + return _internal_entityindex(); +} +inline void CEntityMessageDoSpark::_internal_set_entityindex(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.entityindex_ = value; +} +inline void CEntityMessageDoSpark::set_entityindex(int32_t value) { + _internal_set_entityindex(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.entityindex) +} + +// optional float radius = 3; +inline bool CEntityMessageDoSpark::_internal_has_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_radius() const { + return _internal_has_radius(); +} +inline void CEntityMessageDoSpark::clear_radius() { + _impl_.radius_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CEntityMessageDoSpark::_internal_radius() const { + return _impl_.radius_; +} +inline float CEntityMessageDoSpark::radius() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.radius) + return _internal_radius(); +} +inline void CEntityMessageDoSpark::_internal_set_radius(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.radius_ = value; +} +inline void CEntityMessageDoSpark::set_radius(float value) { + _internal_set_radius(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.radius) +} + +// optional fixed32 color = 4; +inline bool CEntityMessageDoSpark::_internal_has_color() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_color() const { + return _internal_has_color(); +} +inline void CEntityMessageDoSpark::clear_color() { + _impl_.color_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CEntityMessageDoSpark::_internal_color() const { + return _impl_.color_; +} +inline uint32_t CEntityMessageDoSpark::color() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.color) + return _internal_color(); +} +inline void CEntityMessageDoSpark::_internal_set_color(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.color_ = value; +} +inline void CEntityMessageDoSpark::set_color(uint32_t value) { + _internal_set_color(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.color) +} + +// optional uint32 beams = 5; +inline bool CEntityMessageDoSpark::_internal_has_beams() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_beams() const { + return _internal_has_beams(); +} +inline void CEntityMessageDoSpark::clear_beams() { + _impl_.beams_ = 0u; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint32_t CEntityMessageDoSpark::_internal_beams() const { + return _impl_.beams_; +} +inline uint32_t CEntityMessageDoSpark::beams() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.beams) + return _internal_beams(); +} +inline void CEntityMessageDoSpark::_internal_set_beams(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.beams_ = value; +} +inline void CEntityMessageDoSpark::set_beams(uint32_t value) { + _internal_set_beams(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.beams) +} + +// optional float thick = 6; +inline bool CEntityMessageDoSpark::_internal_has_thick() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_thick() const { + return _internal_has_thick(); +} +inline void CEntityMessageDoSpark::clear_thick() { + _impl_.thick_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline float CEntityMessageDoSpark::_internal_thick() const { + return _impl_.thick_; +} +inline float CEntityMessageDoSpark::thick() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.thick) + return _internal_thick(); +} +inline void CEntityMessageDoSpark::_internal_set_thick(float value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.thick_ = value; +} +inline void CEntityMessageDoSpark::set_thick(float value) { + _internal_set_thick(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.thick) +} + +// optional float duration = 7; +inline bool CEntityMessageDoSpark::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CEntityMessageDoSpark::has_duration() const { + return _internal_has_duration(); +} +inline void CEntityMessageDoSpark::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CEntityMessageDoSpark::_internal_duration() const { + return _impl_.duration_; +} +inline float CEntityMessageDoSpark::duration() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.duration) + return _internal_duration(); +} +inline void CEntityMessageDoSpark::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.duration_ = value; +} +inline void CEntityMessageDoSpark::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.duration) +} + +// optional .CEntityMsg entity_msg = 8; +inline bool CEntityMessageDoSpark::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessageDoSpark::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessageDoSpark::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessageDoSpark::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessageDoSpark::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageDoSpark.entity_msg) +} +inline ::CEntityMsg* CEntityMessageDoSpark::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessageDoSpark::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessageDoSpark.entity_msg) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessageDoSpark::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessageDoSpark::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessageDoSpark.entity_msg) + return _msg; +} +inline void CEntityMessageDoSpark::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageDoSpark.entity_msg) +} + +// ------------------------------------------------------------------- + +// CEntityMessageFixAngle + +// optional bool relative = 1; +inline bool CEntityMessageFixAngle::_internal_has_relative() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CEntityMessageFixAngle::has_relative() const { + return _internal_has_relative(); +} +inline void CEntityMessageFixAngle::clear_relative() { + _impl_.relative_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CEntityMessageFixAngle::_internal_relative() const { + return _impl_.relative_; +} +inline bool CEntityMessageFixAngle::relative() const { + // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.relative) + return _internal_relative(); +} +inline void CEntityMessageFixAngle::_internal_set_relative(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.relative_ = value; +} +inline void CEntityMessageFixAngle::set_relative(bool value) { + _internal_set_relative(value); + // @@protoc_insertion_point(field_set:CEntityMessageFixAngle.relative) +} + +// optional .CMsgQAngle angle = 2; +inline bool CEntityMessageFixAngle::_internal_has_angle() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); + return value; +} +inline bool CEntityMessageFixAngle::has_angle() const { + return _internal_has_angle(); +} +inline const ::CMsgQAngle& CEntityMessageFixAngle::_internal_angle() const { + const ::CMsgQAngle* p = _impl_.angle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CEntityMessageFixAngle::angle() const { + // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.angle) + return _internal_angle(); +} +inline void CEntityMessageFixAngle::unsafe_arena_set_allocated_angle( + ::CMsgQAngle* angle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + _impl_.angle_ = angle; + if (angle) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageFixAngle.angle) +} +inline ::CMsgQAngle* CEntityMessageFixAngle::release_angle() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = 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 ::CMsgQAngle* CEntityMessageFixAngle::unsafe_arena_release_angle() { + // @@protoc_insertion_point(field_release:CEntityMessageFixAngle.angle) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angle_; + _impl_.angle_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CEntityMessageFixAngle::_internal_mutable_angle() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.angle_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angle_ = p; + } + return _impl_.angle_; +} +inline ::CMsgQAngle* CEntityMessageFixAngle::mutable_angle() { + ::CMsgQAngle* _msg = _internal_mutable_angle(); + // @@protoc_insertion_point(field_mutable:CEntityMessageFixAngle.angle) + return _msg; +} +inline void CEntityMessageFixAngle::set_allocated_angle(::CMsgQAngle* angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); + } + if (angle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); + if (message_arena != submessage_arena) { + angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.angle_ = angle; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageFixAngle.angle) +} + +// optional .CEntityMsg entity_msg = 3; +inline bool CEntityMessageFixAngle::_internal_has_entity_msg() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); + return value; +} +inline bool CEntityMessageFixAngle::has_entity_msg() const { + return _internal_has_entity_msg(); +} +inline const ::CEntityMsg& CEntityMessageFixAngle::_internal_entity_msg() const { + const ::CEntityMsg* p = _impl_.entity_msg_; + return p != nullptr ? *p : reinterpret_cast( + ::_CEntityMsg_default_instance_); +} +inline const ::CEntityMsg& CEntityMessageFixAngle::entity_msg() const { + // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.entity_msg) + return _internal_entity_msg(); +} +inline void CEntityMessageFixAngle::unsafe_arena_set_allocated_entity_msg( + ::CEntityMsg* entity_msg) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + _impl_.entity_msg_ = entity_msg; + if (entity_msg) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageFixAngle.entity_msg) +} +inline ::CEntityMsg* CEntityMessageFixAngle::release_entity_msg() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = 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 ::CEntityMsg* CEntityMessageFixAngle::unsafe_arena_release_entity_msg() { + // @@protoc_insertion_point(field_release:CEntityMessageFixAngle.entity_msg) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CEntityMsg* temp = _impl_.entity_msg_; + _impl_.entity_msg_ = nullptr; + return temp; +} +inline ::CEntityMsg* CEntityMessageFixAngle::_internal_mutable_entity_msg() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.entity_msg_ == nullptr) { + auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); + _impl_.entity_msg_ = p; + } + return _impl_.entity_msg_; +} +inline ::CEntityMsg* CEntityMessageFixAngle::mutable_entity_msg() { + ::CEntityMsg* _msg = _internal_mutable_entity_msg(); + // @@protoc_insertion_point(field_mutable:CEntityMessageFixAngle.entity_msg) + return _msg; +} +inline void CEntityMessageFixAngle::set_allocated_entity_msg(::CEntityMsg* entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); + } + if (entity_msg) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); + if (message_arena != submessage_arena) { + entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, entity_msg, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.entity_msg_ = entity_msg; + // @@protoc_insertion_point(field_set_allocated:CEntityMessageFixAngle.entity_msg) +} + +// ------------------------------------------------------------------- + +// CUserMessageCameraTransition_Transition_DataDriven + +// optional string filename = 1; +inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_filename() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageCameraTransition_Transition_DataDriven::has_filename() const { + return _internal_has_filename(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::clear_filename() { + _impl_.filename_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageCameraTransition_Transition_DataDriven::filename() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.filename) + return _internal_filename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageCameraTransition_Transition_DataDriven::set_filename(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.filename) +} +inline std::string* CUserMessageCameraTransition_Transition_DataDriven::mutable_filename() { + std::string* _s = _internal_mutable_filename(); + // @@protoc_insertion_point(field_mutable:CUserMessageCameraTransition.Transition_DataDriven.filename) + return _s; +} +inline const std::string& CUserMessageCameraTransition_Transition_DataDriven::_internal_filename() const { + return _impl_.filename_.Get(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_filename(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.filename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageCameraTransition_Transition_DataDriven::_internal_mutable_filename() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.filename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageCameraTransition_Transition_DataDriven::release_filename() { + // @@protoc_insertion_point(field_release:CUserMessageCameraTransition.Transition_DataDriven.filename) + if (!_internal_has_filename()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.filename_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageCameraTransition_Transition_DataDriven::set_allocated_filename(std::string* filename) { + if (filename != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.filename_.IsDefault()) { + _impl_.filename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageCameraTransition.Transition_DataDriven.filename) +} + +// optional int32 attach_ent_index = 2 [default = -1]; +inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_attach_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageCameraTransition_Transition_DataDriven::has_attach_ent_index() const { + return _internal_has_attach_ent_index(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::clear_attach_ent_index() { + _impl_.attach_ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageCameraTransition_Transition_DataDriven::_internal_attach_ent_index() const { + return _impl_.attach_ent_index_; +} +inline int32_t CUserMessageCameraTransition_Transition_DataDriven::attach_ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.attach_ent_index) + return _internal_attach_ent_index(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_attach_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.attach_ent_index_ = value; +} +inline void CUserMessageCameraTransition_Transition_DataDriven::set_attach_ent_index(int32_t value) { + _internal_set_attach_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.attach_ent_index) +} + +// optional float duration = 3; +inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCameraTransition_Transition_DataDriven::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageCameraTransition_Transition_DataDriven::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageCameraTransition_Transition_DataDriven::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.duration) + return _internal_duration(); +} +inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CUserMessageCameraTransition_Transition_DataDriven::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.duration) +} + +// ------------------------------------------------------------------- + +// CUserMessageCameraTransition + +// optional uint32 camera_type = 1; +inline bool CUserMessageCameraTransition::_internal_has_camera_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageCameraTransition::has_camera_type() const { + return _internal_has_camera_type(); +} +inline void CUserMessageCameraTransition::clear_camera_type() { + _impl_.camera_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageCameraTransition::_internal_camera_type() const { + return _impl_.camera_type_; +} +inline uint32_t CUserMessageCameraTransition::camera_type() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.camera_type) + return _internal_camera_type(); +} +inline void CUserMessageCameraTransition::_internal_set_camera_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.camera_type_ = value; +} +inline void CUserMessageCameraTransition::set_camera_type(uint32_t value) { + _internal_set_camera_type(value); + // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.camera_type) +} + +// optional float duration = 2; +inline bool CUserMessageCameraTransition::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageCameraTransition::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMessageCameraTransition::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageCameraTransition::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMessageCameraTransition::duration() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.duration) + return _internal_duration(); +} +inline void CUserMessageCameraTransition::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.duration_ = value; +} +inline void CUserMessageCameraTransition::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.duration) +} + +// optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; +inline bool CUserMessageCameraTransition::_internal_has_params_data_driven() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.params_data_driven_ != nullptr); + return value; +} +inline bool CUserMessageCameraTransition::has_params_data_driven() const { + return _internal_has_params_data_driven(); +} +inline void CUserMessageCameraTransition::clear_params_data_driven() { + if (_impl_.params_data_driven_ != nullptr) _impl_.params_data_driven_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CUserMessageCameraTransition_Transition_DataDriven& CUserMessageCameraTransition::_internal_params_data_driven() const { + const ::CUserMessageCameraTransition_Transition_DataDriven* p = _impl_.params_data_driven_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMessageCameraTransition_Transition_DataDriven_default_instance_); +} +inline const ::CUserMessageCameraTransition_Transition_DataDriven& CUserMessageCameraTransition::params_data_driven() const { + // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.params_data_driven) + return _internal_params_data_driven(); +} +inline void CUserMessageCameraTransition::unsafe_arena_set_allocated_params_data_driven( + ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.params_data_driven_); + } + _impl_.params_data_driven_ = params_data_driven; + if (params_data_driven) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageCameraTransition.params_data_driven) +} +inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::release_params_data_driven() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMessageCameraTransition_Transition_DataDriven* temp = _impl_.params_data_driven_; + _impl_.params_data_driven_ = 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 ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::unsafe_arena_release_params_data_driven() { + // @@protoc_insertion_point(field_release:CUserMessageCameraTransition.params_data_driven) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMessageCameraTransition_Transition_DataDriven* temp = _impl_.params_data_driven_; + _impl_.params_data_driven_ = nullptr; + return temp; +} +inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::_internal_mutable_params_data_driven() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.params_data_driven_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMessageCameraTransition_Transition_DataDriven>(GetArenaForAllocation()); + _impl_.params_data_driven_ = p; + } + return _impl_.params_data_driven_; +} +inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::mutable_params_data_driven() { + ::CUserMessageCameraTransition_Transition_DataDriven* _msg = _internal_mutable_params_data_driven(); + // @@protoc_insertion_point(field_mutable:CUserMessageCameraTransition.params_data_driven) + return _msg; +} +inline void CUserMessageCameraTransition::set_allocated_params_data_driven(::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.params_data_driven_; + } + if (params_data_driven) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(params_data_driven); + if (message_arena != submessage_arena) { + params_data_driven = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, params_data_driven, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.params_data_driven_ = params_data_driven; + // @@protoc_insertion_point(field_set_allocated:CUserMessageCameraTransition.params_data_driven) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ReleaseParticleIndex + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_CreateParticle + +// optional fixed64 particle_name_index = 1; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_particle_name_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_particle_name_index() const { + return _internal_has_particle_name_index(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_particle_name_index() { + _impl_.particle_name_index_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint64_t CUserMsg_ParticleManager_CreateParticle::_internal_particle_name_index() const { + return _impl_.particle_name_index_; +} +inline uint64_t CUserMsg_ParticleManager_CreateParticle::particle_name_index() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.particle_name_index) + return _internal_particle_name_index(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_particle_name_index(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.particle_name_index_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_particle_name_index(uint64_t value) { + _internal_set_particle_name_index(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.particle_name_index) +} + +// optional int32 attach_type = 2; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_attach_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_attach_type() const { + return _internal_has_attach_type(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_attach_type() { + _impl_.attach_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMsg_ParticleManager_CreateParticle::_internal_attach_type() const { + return _impl_.attach_type_; +} +inline int32_t CUserMsg_ParticleManager_CreateParticle::attach_type() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.attach_type) + return _internal_attach_type(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_attach_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.attach_type_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_attach_type(int32_t value) { + _internal_set_attach_type(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.attach_type) +} + +// optional uint32 entity_handle = 3 [default = 16777215]; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline uint32_t CUserMsg_ParticleManager_CreateParticle::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_CreateParticle::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.entity_handle) +} + +// optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_entity_handle_for_modifiers() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_entity_handle_for_modifiers() const { + return _internal_has_entity_handle_for_modifiers(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_entity_handle_for_modifiers() { + _impl_.entity_handle_for_modifiers_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline uint32_t CUserMsg_ParticleManager_CreateParticle::_internal_entity_handle_for_modifiers() const { + return _impl_.entity_handle_for_modifiers_; +} +inline uint32_t CUserMsg_ParticleManager_CreateParticle::entity_handle_for_modifiers() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.entity_handle_for_modifiers) + return _internal_entity_handle_for_modifiers(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_entity_handle_for_modifiers(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.entity_handle_for_modifiers_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_entity_handle_for_modifiers(uint32_t value) { + _internal_set_entity_handle_for_modifiers(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.entity_handle_for_modifiers) +} + +// optional bool apply_voice_ban_rules = 5; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_apply_voice_ban_rules() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_apply_voice_ban_rules() const { + return _internal_has_apply_voice_ban_rules(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_apply_voice_ban_rules() { + _impl_.apply_voice_ban_rules_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_apply_voice_ban_rules() const { + return _impl_.apply_voice_ban_rules_; +} +inline bool CUserMsg_ParticleManager_CreateParticle::apply_voice_ban_rules() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.apply_voice_ban_rules) + return _internal_apply_voice_ban_rules(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_apply_voice_ban_rules(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.apply_voice_ban_rules_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_apply_voice_ban_rules(bool value) { + _internal_set_apply_voice_ban_rules(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.apply_voice_ban_rules) +} + +// optional int32 team_behavior = 6; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_team_behavior() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_team_behavior() const { + return _internal_has_team_behavior(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_team_behavior() { + _impl_.team_behavior_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMsg_ParticleManager_CreateParticle::_internal_team_behavior() const { + return _impl_.team_behavior_; +} +inline int32_t CUserMsg_ParticleManager_CreateParticle::team_behavior() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.team_behavior) + return _internal_team_behavior(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_team_behavior(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.team_behavior_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_team_behavior(int32_t value) { + _internal_set_team_behavior(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.team_behavior) +} + +// optional string control_point_configuration = 7; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_control_point_configuration() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_control_point_configuration() const { + return _internal_has_control_point_configuration(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_control_point_configuration() { + _impl_.control_point_configuration_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_CreateParticle::control_point_configuration() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) + return _internal_control_point_configuration(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_CreateParticle::set_control_point_configuration(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.control_point_configuration_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) +} +inline std::string* CUserMsg_ParticleManager_CreateParticle::mutable_control_point_configuration() { + std::string* _s = _internal_mutable_control_point_configuration(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_CreateParticle::_internal_control_point_configuration() const { + return _impl_.control_point_configuration_.Get(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_control_point_configuration(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.control_point_configuration_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_CreateParticle::_internal_mutable_control_point_configuration() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.control_point_configuration_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_CreateParticle::release_control_point_configuration() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) + if (!_internal_has_control_point_configuration()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.control_point_configuration_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.control_point_configuration_.IsDefault()) { + _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_allocated_control_point_configuration(std::string* control_point_configuration) { + if (control_point_configuration != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.control_point_configuration_.SetAllocated(control_point_configuration, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.control_point_configuration_.IsDefault()) { + _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) +} + +// optional bool cluster = 8; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_cluster() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_cluster() const { + return _internal_has_cluster(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_cluster() { + _impl_.cluster_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_cluster() const { + return _impl_.cluster_; +} +inline bool CUserMsg_ParticleManager_CreateParticle::cluster() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.cluster) + return _internal_cluster(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_cluster(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.cluster_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_cluster(bool value) { + _internal_set_cluster(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.cluster) +} + +// optional float endcap_time = 9; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_endcap_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_endcap_time() const { + return _internal_has_endcap_time(); +} +inline void CUserMsg_ParticleManager_CreateParticle::clear_endcap_time() { + _impl_.endcap_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline float CUserMsg_ParticleManager_CreateParticle::_internal_endcap_time() const { + return _impl_.endcap_time_; +} +inline float CUserMsg_ParticleManager_CreateParticle::endcap_time() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.endcap_time) + return _internal_endcap_time(); +} +inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_endcap_time(float value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.endcap_time_ = value; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_endcap_time(float value) { + _internal_set_endcap_time(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.endcap_time) +} + +// optional .CMsgVector aggregation_position = 10; +inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_aggregation_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.aggregation_position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_CreateParticle::has_aggregation_position() const { + return _internal_has_aggregation_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_CreateParticle::_internal_aggregation_position() const { + const ::CMsgVector* p = _impl_.aggregation_position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_CreateParticle::aggregation_position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.aggregation_position) + return _internal_aggregation_position(); +} +inline void CUserMsg_ParticleManager_CreateParticle::unsafe_arena_set_allocated_aggregation_position( + ::CMsgVector* aggregation_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_position_); + } + _impl_.aggregation_position_ = aggregation_position; + if (aggregation_position) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.CreateParticle.aggregation_position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::release_aggregation_position() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.aggregation_position_; + _impl_.aggregation_position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::unsafe_arena_release_aggregation_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreateParticle.aggregation_position) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.aggregation_position_; + _impl_.aggregation_position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::_internal_mutable_aggregation_position() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.aggregation_position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.aggregation_position_ = p; + } + return _impl_.aggregation_position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::mutable_aggregation_position() { + ::CMsgVector* _msg = _internal_mutable_aggregation_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreateParticle.aggregation_position) + return _msg; +} +inline void CUserMsg_ParticleManager_CreateParticle::set_allocated_aggregation_position(::CMsgVector* aggregation_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_position_); + } + if (aggregation_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aggregation_position)); + if (message_arena != submessage_arena) { + aggregation_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, aggregation_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.aggregation_position_ = aggregation_position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreateParticle.aggregation_position) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_DestroyParticle + +// optional bool destroy_immediately = 1; +inline bool CUserMsg_ParticleManager_DestroyParticle::_internal_has_destroy_immediately() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticle::has_destroy_immediately() const { + return _internal_has_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticle::clear_destroy_immediately() { + _impl_.destroy_immediately_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_DestroyParticle::_internal_destroy_immediately() const { + return _impl_.destroy_immediately_; +} +inline bool CUserMsg_ParticleManager_DestroyParticle::destroy_immediately() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticle.destroy_immediately) + return _internal_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticle::_internal_set_destroy_immediately(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.destroy_immediately_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticle::set_destroy_immediately(bool value) { + _internal_set_destroy_immediately(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticle.destroy_immediately) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_DestroyParticleInvolving + +// optional bool destroy_immediately = 1; +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_has_destroy_immediately() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::has_destroy_immediately() const { + return _internal_has_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::clear_destroy_immediately() { + _impl_.destroy_immediately_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_destroy_immediately() const { + return _impl_.destroy_immediately_; +} +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::destroy_immediately() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleInvolving.destroy_immediately) + return _internal_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_set_destroy_immediately(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.destroy_immediately_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::set_destroy_immediately(bool value) { + _internal_set_destroy_immediately(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleInvolving.destroy_immediately) +} + +// optional uint32 entity_handle = 3 [default = 16777215]; +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_DestroyParticleInvolving::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleInvolving.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleInvolving::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleInvolving.entity_handle) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_DestroyParticleNamed + +// optional fixed64 particle_name_index = 1; +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_particle_name_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_particle_name_index() const { + return _internal_has_particle_name_index(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_particle_name_index() { + _impl_.particle_name_index_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint64_t CUserMsg_ParticleManager_DestroyParticleNamed::_internal_particle_name_index() const { + return _impl_.particle_name_index_; +} +inline uint64_t CUserMsg_ParticleManager_DestroyParticleNamed::particle_name_index() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.particle_name_index) + return _internal_particle_name_index(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_particle_name_index(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.particle_name_index_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_particle_name_index(uint64_t value) { + _internal_set_particle_name_index(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.particle_name_index) +} + +// optional uint32 entity_handle = 2 [default = 16777215]; +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CUserMsg_ParticleManager_DestroyParticleNamed::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_DestroyParticleNamed::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.entity_handle) +} + +// optional bool destroy_immediately = 3; +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_destroy_immediately() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_destroy_immediately() const { + return _internal_has_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_destroy_immediately() { + _impl_.destroy_immediately_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_destroy_immediately() const { + return _impl_.destroy_immediately_; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::destroy_immediately() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.destroy_immediately) + return _internal_destroy_immediately(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_destroy_immediately(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.destroy_immediately_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_destroy_immediately(bool value) { + _internal_set_destroy_immediately(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.destroy_immediately) +} + +// optional bool play_endcap = 4; +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_play_endcap() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_play_endcap() const { + return _internal_has_play_endcap(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_play_endcap() { + _impl_.play_endcap_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_play_endcap() const { + return _impl_.play_endcap_; +} +inline bool CUserMsg_ParticleManager_DestroyParticleNamed::play_endcap() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.play_endcap) + return _internal_play_endcap(); +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_play_endcap(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.play_endcap_ = value; +} +inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_play_endcap(bool value) { + _internal_set_play_endcap(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.play_endcap) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticle_OBSOLETE + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.control_point) +} + +// optional .CMsgVector position = 2; +inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::has_position() const { + return _internal_has_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) + return _internal_position(); +} +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.control_point) +} + +// optional .CMsgVector forward = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_has_forward() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.forward_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::has_forward() const { + return _internal_has_forward(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_forward() const { + const ::CMsgVector* p = _impl_.forward_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::forward() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) + return _internal_forward(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::unsafe_arena_set_allocated_forward( + ::CMsgVector* forward) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); + } + _impl_.forward_ = forward; + if (forward) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::release_forward() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.forward_; + _impl_.forward_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::unsafe_arena_release_forward() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.forward_; + _impl_.forward_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_mutable_forward() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.forward_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.forward_ = p; + } + return _impl_.forward_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::mutable_forward() { + ::CMsgVector* _msg = _internal_mutable_forward(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::set_allocated_forward(::CMsgVector* forward) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); + } + if (forward) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forward)); + if (message_arena != submessage_arena) { + forward = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, forward, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.forward_ = forward; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.control_point) +} + +// optional .CMsgVector forward = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_forward() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.forward_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_forward() const { + return _internal_has_forward(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_forward() const { + const ::CMsgVector* p = _impl_.forward_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::forward() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) + return _internal_forward(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_forward( + ::CMsgVector* forward) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); + } + _impl_.forward_ = forward; + if (forward) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_forward() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.forward_; + _impl_.forward_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_forward() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.forward_; + _impl_.forward_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_forward() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.forward_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.forward_ = p; + } + return _impl_.forward_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_forward() { + ::CMsgVector* _msg = _internal_mutable_forward(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_forward(::CMsgVector* forward) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); + } + if (forward) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forward)); + if (message_arena != submessage_arena) { + forward = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, forward, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.forward_ = forward; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) +} + +// optional .CMsgVector deprecated_right = 3; +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_deprecated_right() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.deprecated_right_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_deprecated_right() const { + return _internal_has_deprecated_right(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_deprecated_right() const { + const ::CMsgVector* p = _impl_.deprecated_right_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::deprecated_right() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) + return _internal_deprecated_right(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_deprecated_right( + ::CMsgVector* deprecated_right) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.deprecated_right_); + } + _impl_.deprecated_right_ = deprecated_right; + if (deprecated_right) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_deprecated_right() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.deprecated_right_; + _impl_.deprecated_right_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_deprecated_right() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.deprecated_right_; + _impl_.deprecated_right_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_deprecated_right() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.deprecated_right_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.deprecated_right_ = p; + } + return _impl_.deprecated_right_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_deprecated_right() { + ::CMsgVector* _msg = _internal_mutable_deprecated_right(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_deprecated_right(::CMsgVector* deprecated_right) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.deprecated_right_); + } + if (deprecated_right) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(deprecated_right)); + if (message_arena != submessage_arena) { + deprecated_right = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, deprecated_right, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.deprecated_right_ = deprecated_right; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) +} + +// optional .CMsgVector up = 4; +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_up() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.up_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_up() const { + return _internal_has_up(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_up() const { + const ::CMsgVector* p = _impl_.up_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::up() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) + return _internal_up(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_up( + ::CMsgVector* up) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.up_); + } + _impl_.up_ = up; + if (up) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_up() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.up_; + _impl_.up_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_up() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.up_; + _impl_.up_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_up() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.up_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.up_ = p; + } + return _impl_.up_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_up() { + ::CMsgVector* _msg = _internal_mutable_up(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_up(::CMsgVector* up) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.up_); + } + if (up) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(up)); + if (message_arena != submessage_arena) { + up = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, up, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.up_ = up; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) +} + +// optional .CMsgVector left = 5; +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_left() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.left_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_left() const { + return _internal_has_left(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_left() const { + const ::CMsgVector* p = _impl_.left_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::left() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) + return _internal_left(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_left( + ::CMsgVector* left) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); + } + _impl_.left_ = left; + if (left) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_left() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.left_; + _impl_.left_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_left() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.left_; + _impl_.left_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_left() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.left_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.left_ = p; + } + return _impl_.left_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_left() { + ::CMsgVector* _msg = _internal_mutable_left(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_left(::CMsgVector* left) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); + } + if (left) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(left)); + if (message_arena != submessage_arena) { + left = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, left, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.left_ = left; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleTransform + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleTransform::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleTransform::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleTransform.control_point) +} + +// optional .CMsgVector position = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_position() const { + return _internal_has_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleTransform::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleTransform::position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.position) + return _internal_position(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleTransform.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleTransform.position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.position) +} + +// optional .CMsgQuaternion orientation = 3; +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_orientation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.orientation_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_orientation() const { + return _internal_has_orientation(); +} +inline const ::CMsgQuaternion& CUserMsg_ParticleManager_UpdateParticleTransform::_internal_orientation() const { + const ::CMsgQuaternion* p = _impl_.orientation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQuaternion_default_instance_); +} +inline const ::CMsgQuaternion& CUserMsg_ParticleManager_UpdateParticleTransform::orientation() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) + return _internal_orientation(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_set_allocated_orientation( + ::CMsgQuaternion* orientation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); + } + _impl_.orientation_ = orientation; + if (orientation) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) +} +inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::release_orientation() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQuaternion* temp = _impl_.orientation_; + _impl_.orientation_ = 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 ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_release_orientation() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQuaternion* temp = _impl_.orientation_; + _impl_.orientation_ = nullptr; + return temp; +} +inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::_internal_mutable_orientation() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.orientation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQuaternion>(GetArenaForAllocation()); + _impl_.orientation_ = p; + } + return _impl_.orientation_; +} +inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::mutable_orientation() { + ::CMsgQuaternion* _msg = _internal_mutable_orientation(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_allocated_orientation(::CMsgQuaternion* orientation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); + } + if (orientation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation)); + if (message_arena != submessage_arena) { + orientation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, orientation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.orientation_ = orientation; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) +} + +// optional float interpolation_interval = 4; +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_interpolation_interval() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_interpolation_interval() const { + return _internal_has_interpolation_interval(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::clear_interpolation_interval() { + _impl_.interpolation_interval_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMsg_ParticleManager_UpdateParticleTransform::_internal_interpolation_interval() const { + return _impl_.interpolation_interval_; +} +inline float CUserMsg_ParticleManager_UpdateParticleTransform::interpolation_interval() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.interpolation_interval) + return _internal_interpolation_interval(); +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::_internal_set_interpolation_interval(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.interpolation_interval_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_interpolation_interval(float value) { + _internal_set_interpolation_interval(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleTransform.interpolation_interval) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleFallback + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleFallback::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleFallback::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFallback::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleFallback::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleFallback::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFallback.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFallback::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleFallback::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleFallback.control_point) +} + +// optional .CMsgVector position = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleFallback::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleFallback::has_position() const { + return _internal_has_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFallback::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFallback::position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFallback.position) + return _internal_position(); +} +inline void CUserMsg_ParticleManager_UpdateParticleFallback::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleFallback.position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleFallback.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleFallback.position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleFallback::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleFallback.position) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleOffset + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleOffset::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleOffset::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleOffset.control_point) +} + +// optional .CMsgVector origin_offset = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_origin_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_offset_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_origin_offset() const { + return _internal_has_origin_offset(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOffset::_internal_origin_offset() const { + const ::CMsgVector* p = _impl_.origin_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOffset::origin_offset() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) + return _internal_origin_offset(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_set_allocated_origin_offset( + ::CMsgVector* origin_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_offset_); + } + _impl_.origin_offset_ = origin_offset; + if (origin_offset) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::release_origin_offset() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_offset_; + _impl_.origin_offset_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_release_origin_offset() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_offset_; + _impl_.origin_offset_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::_internal_mutable_origin_offset() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_offset_ = p; + } + return _impl_.origin_offset_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::mutable_origin_offset() { + ::CMsgVector* _msg = _internal_mutable_origin_offset(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_allocated_origin_offset(::CMsgVector* origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_offset_); + } + if (origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin_offset)); + if (message_arena != submessage_arena) { + origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_offset_ = origin_offset; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) +} + +// optional .CMsgQAngle angle_offset = 3; +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_angle_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angle_offset_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_angle_offset() const { + return _internal_has_angle_offset(); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleOffset::_internal_angle_offset() const { + const ::CMsgQAngle* p = _impl_.angle_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleOffset::angle_offset() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) + return _internal_angle_offset(); +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_set_allocated_angle_offset( + ::CMsgQAngle* angle_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_offset_); + } + _impl_.angle_offset_ = angle_offset; + if (angle_offset) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::release_angle_offset() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angle_offset_; + _impl_.angle_offset_ = 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 ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_release_angle_offset() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgQAngle* temp = _impl_.angle_offset_; + _impl_.angle_offset_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::_internal_mutable_angle_offset() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.angle_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angle_offset_ = p; + } + return _impl_.angle_offset_; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::mutable_angle_offset() { + ::CMsgQAngle* _msg = _internal_mutable_angle_offset(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_allocated_angle_offset(::CMsgQAngle* angle_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_offset_); + } + if (angle_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle_offset)); + if (message_arena != submessage_arena) { + angle_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angle_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.angle_offset_ = angle_offset; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleEnt + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.control_point) +} + +// optional uint32 entity_handle = 2 [default = 16777215]; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline uint32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_UpdateParticleEnt::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.entity_handle) +} + +// optional int32 attach_type = 3; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_attach_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_attach_type() const { + return _internal_has_attach_type(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_attach_type() { + _impl_.attach_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_attach_type() const { + return _impl_.attach_type_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::attach_type() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.attach_type) + return _internal_attach_type(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_attach_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.attach_type_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_attach_type(int32_t value) { + _internal_set_attach_type(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.attach_type) +} + +// optional int32 attachment = 4; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_attachment() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_attachment() const { + return _internal_has_attachment(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_attachment() { + _impl_.attachment_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_attachment() const { + return _impl_.attachment_; +} +inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::attachment() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.attachment) + return _internal_attachment(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_attachment(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.attachment_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_attachment(int32_t value) { + _internal_set_attachment(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.attachment) +} + +// optional .CMsgVector fallback_position = 5; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_fallback_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fallback_position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_fallback_position() const { + return _internal_has_fallback_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_fallback_position() const { + const ::CMsgVector* p = _impl_.fallback_position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::fallback_position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) + return _internal_fallback_position(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_fallback_position( + ::CMsgVector* fallback_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fallback_position_); + } + _impl_.fallback_position_ = fallback_position; + if (fallback_position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::release_fallback_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.fallback_position_; + _impl_.fallback_position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_fallback_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.fallback_position_; + _impl_.fallback_position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_fallback_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.fallback_position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fallback_position_ = p; + } + return _impl_.fallback_position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_fallback_position() { + ::CMsgVector* _msg = _internal_mutable_fallback_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_fallback_position(::CMsgVector* fallback_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fallback_position_); + } + if (fallback_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fallback_position)); + if (message_arena != submessage_arena) { + fallback_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fallback_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.fallback_position_ = fallback_position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) +} + +// optional bool include_wearables = 6; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_include_wearables() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_include_wearables() const { + return _internal_has_include_wearables(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_include_wearables() { + _impl_.include_wearables_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_include_wearables() const { + return _impl_.include_wearables_; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::include_wearables() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.include_wearables) + return _internal_include_wearables(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_include_wearables(bool value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.include_wearables_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_include_wearables(bool value) { + _internal_set_include_wearables(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.include_wearables) +} + +// optional .CMsgVector offset_position = 7; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_offset_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.offset_position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_offset_position() const { + return _internal_has_offset_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_offset_position() const { + const ::CMsgVector* p = _impl_.offset_position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::offset_position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) + return _internal_offset_position(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_offset_position( + ::CMsgVector* offset_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_position_); + } + _impl_.offset_position_ = offset_position; + if (offset_position) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::release_offset_position() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.offset_position_; + _impl_.offset_position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_offset_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.offset_position_; + _impl_.offset_position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_offset_position() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.offset_position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.offset_position_ = p; + } + return _impl_.offset_position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_offset_position() { + ::CMsgVector* _msg = _internal_mutable_offset_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_offset_position(::CMsgVector* offset_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_position_); + } + if (offset_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(offset_position)); + if (message_arena != submessage_arena) { + offset_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, offset_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.offset_position_ = offset_position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) +} + +// optional .CMsgQAngle offset_angles = 8; +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_offset_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.offset_angles_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_offset_angles() const { + return _internal_has_offset_angles(); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_offset_angles() const { + const ::CMsgQAngle* p = _impl_.offset_angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleEnt::offset_angles() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) + return _internal_offset_angles(); +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_offset_angles( + ::CMsgQAngle* offset_angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_angles_); + } + _impl_.offset_angles_ = offset_angles; + if (offset_angles) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::release_offset_angles() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.offset_angles_; + _impl_.offset_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 ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_offset_angles() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgQAngle* temp = _impl_.offset_angles_; + _impl_.offset_angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_offset_angles() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.offset_angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.offset_angles_ = p; + } + return _impl_.offset_angles_; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_offset_angles() { + ::CMsgQAngle* _msg = _internal_mutable_offset_angles(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_offset_angles(::CMsgQAngle* offset_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_angles_); + } + if (offset_angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(offset_angles)); + if (message_arena != submessage_arena) { + offset_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, offset_angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.offset_angles_ = offset_angles; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleSetFrozen + +// optional bool set_frozen = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_has_set_frozen() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::has_set_frozen() const { + return _internal_has_set_frozen(); +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_set_frozen() { + _impl_.set_frozen_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_frozen() const { + return _impl_.set_frozen_; +} +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_frozen() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleSetFrozen.set_frozen) + return _internal_set_frozen(); +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_set_frozen(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.set_frozen_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_set_frozen(bool value) { + _internal_set_set_frozen(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleSetFrozen.set_frozen) +} + +// optional float transition_duration = 2; +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_has_transition_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::has_transition_duration() const { + return _internal_has_transition_duration(); +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_transition_duration() { + _impl_.transition_duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_transition_duration() const { + return _impl_.transition_duration_; +} +inline float CUserMsg_ParticleManager_UpdateParticleSetFrozen::transition_duration() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleSetFrozen.transition_duration) + return _internal_transition_duration(); +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_transition_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.transition_duration_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_transition_duration(float value) { + _internal_set_transition_duration(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleSetFrozen.transition_duration) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateParticleShouldDraw + +// optional bool should_draw = 1; +inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_has_should_draw() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::has_should_draw() const { + return _internal_has_should_draw(); +} +inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::clear_should_draw() { + _impl_.should_draw_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_should_draw() const { + return _impl_.should_draw_; +} +inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::should_draw() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleShouldDraw.should_draw) + return _internal_should_draw(); +} +inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_set_should_draw(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.should_draw_ = value; +} +inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::set_should_draw(bool value) { + _internal_set_should_draw(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleShouldDraw.should_draw) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ChangeControlPointAttachment + +// optional int32 attachment_old = 1; +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_attachment_old() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_attachment_old() const { + return _internal_has_attachment_old(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_attachment_old() { + _impl_.attachment_old_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_attachment_old() const { + return _impl_.attachment_old_; +} +inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::attachment_old() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_old) + return _internal_attachment_old(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_attachment_old(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.attachment_old_ = value; +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_attachment_old(int32_t value) { + _internal_set_attachment_old(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_old) +} + +// optional int32 attachment_new = 2; +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_attachment_new() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_attachment_new() const { + return _internal_has_attachment_new(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_attachment_new() { + _impl_.attachment_new_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_attachment_new() const { + return _impl_.attachment_new_; +} +inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::attachment_new() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_new) + return _internal_attachment_new(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_attachment_new(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attachment_new_ = value; +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_attachment_new(int32_t value) { + _internal_set_attachment_new(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_new) +} + +// optional uint32 entity_handle = 3 [default = 16777215]; +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.entity_handle) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateEntityPosition + +// optional uint32 entity_handle = 1 [default = 16777215]; +inline bool CUserMsg_ParticleManager_UpdateEntityPosition::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateEntityPosition::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_UpdateEntityPosition::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMsg_ParticleManager_UpdateEntityPosition::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_UpdateEntityPosition::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateEntityPosition.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_UpdateEntityPosition::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_UpdateEntityPosition::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateEntityPosition.entity_handle) +} + +// optional .CMsgVector position = 2; +inline bool CUserMsg_ParticleManager_UpdateEntityPosition::_internal_has_position() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateEntityPosition::has_position() const { + return _internal_has_position(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateEntityPosition::_internal_position() const { + const ::CMsgVector* p = _impl_.position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateEntityPosition::position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateEntityPosition.position) + return _internal_position(); +} +inline void CUserMsg_ParticleManager_UpdateEntityPosition::unsafe_arena_set_allocated_position( + ::CMsgVector* position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + _impl_.position_ = position; + if (position) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateEntityPosition.position) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::release_position() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::unsafe_arena_release_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateEntityPosition.position) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.position_; + _impl_.position_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::_internal_mutable_position() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.position_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.position_ = p; + } + return _impl_.position_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::mutable_position() { + ::CMsgVector* _msg = _internal_mutable_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateEntityPosition.position) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateEntityPosition::set_allocated_position(::CMsgVector* position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); + } + if (position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); + if (message_arena != submessage_arena) { + position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.position_ = position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateEntityPosition.position) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleFoWProperties + +// optional int32 fow_control_point = 1; +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_control_point() const { + return _internal_has_fow_control_point(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_control_point() { + _impl_.fow_control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_control_point() const { + return _impl_.fow_control_point_; +} +inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::fow_control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point) + return _internal_fow_control_point(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.fow_control_point_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_control_point(int32_t value) { + _internal_set_fow_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point) +} + +// optional int32 fow_control_point2 = 2; +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_control_point2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_control_point2() const { + return _internal_has_fow_control_point2(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_control_point2() { + _impl_.fow_control_point2_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_control_point2() const { + return _impl_.fow_control_point2_; +} +inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::fow_control_point2() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point2) + return _internal_fow_control_point2(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_control_point2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.fow_control_point2_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_control_point2(int32_t value) { + _internal_set_fow_control_point2(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point2) +} + +// optional float fow_radius = 3; +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_radius() const { + return _internal_has_fow_radius(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_radius() { + _impl_.fow_radius_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_radius() const { + return _impl_.fow_radius_; +} +inline float CUserMsg_ParticleManager_SetParticleFoWProperties::fow_radius() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_radius) + return _internal_fow_radius(); +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_radius(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.fow_radius_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_radius(float value) { + _internal_set_fow_radius(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_radius) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleShouldCheckFoW + +// optional bool check_fow = 1; +inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_has_check_fow() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::has_check_fow() const { + return _internal_has_check_fow(); +} +inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::clear_check_fow() { + _impl_.check_fow_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_check_fow() const { + return _impl_.check_fow_; +} +inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::check_fow() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleShouldCheckFoW.check_fow) + return _internal_check_fow(); +} +inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_set_check_fow(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.check_fow_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::set_check_fow(bool value) { + _internal_set_check_fow(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleShouldCheckFoW.check_fow) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetControlPointModel + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_SetControlPointModel::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetControlPointModel::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_SetControlPointModel::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_SetControlPointModel::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_SetControlPointModel::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointModel.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_SetControlPointModel::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_SetControlPointModel::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointModel.control_point) +} + +// optional string model_name = 2; +inline bool CUserMsg_ParticleManager_SetControlPointModel::_internal_has_model_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetControlPointModel::has_model_name() const { + return _internal_has_model_name(); +} +inline void CUserMsg_ParticleManager_SetControlPointModel::clear_model_name() { + _impl_.model_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetControlPointModel::model_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointModel.model_name) + return _internal_model_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetControlPointModel::set_model_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.model_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointModel.model_name) +} +inline std::string* CUserMsg_ParticleManager_SetControlPointModel::mutable_model_name() { + std::string* _s = _internal_mutable_model_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetControlPointModel.model_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetControlPointModel::_internal_model_name() const { + return _impl_.model_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetControlPointModel::_internal_set_model_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.model_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetControlPointModel::_internal_mutable_model_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.model_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetControlPointModel::release_model_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetControlPointModel.model_name) + if (!_internal_has_model_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.model_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.model_name_.IsDefault()) { + _impl_.model_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetControlPointModel::set_allocated_model_name(std::string* model_name) { + if (model_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.model_name_.SetAllocated(model_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.model_name_.IsDefault()) { + _impl_.model_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetControlPointModel.model_name) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetControlPointSnapshot + +// optional int32 control_point = 1; +inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_has_control_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::has_control_point() const { + return _internal_has_control_point(); +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::clear_control_point() { + _impl_.control_point_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_control_point() const { + return _impl_.control_point_; +} +inline int32_t CUserMsg_ParticleManager_SetControlPointSnapshot::control_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointSnapshot.control_point) + return _internal_control_point(); +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_set_control_point(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.control_point_ = value; +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::set_control_point(int32_t value) { + _internal_set_control_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointSnapshot.control_point) +} + +// optional string snapshot_name = 2; +inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_has_snapshot_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::has_snapshot_name() const { + return _internal_has_snapshot_name(); +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::clear_snapshot_name() { + _impl_.snapshot_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetControlPointSnapshot::snapshot_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) + return _internal_snapshot_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetControlPointSnapshot::set_snapshot_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.snapshot_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) +} +inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::mutable_snapshot_name() { + std::string* _s = _internal_mutable_snapshot_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_snapshot_name() const { + return _impl_.snapshot_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_set_snapshot_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.snapshot_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_mutable_snapshot_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.snapshot_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::release_snapshot_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) + if (!_internal_has_snapshot_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.snapshot_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.snapshot_name_.IsDefault()) { + _impl_.snapshot_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetControlPointSnapshot::set_allocated_snapshot_name(std::string* snapshot_name) { + if (snapshot_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.snapshot_name_.SetAllocated(snapshot_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.snapshot_name_.IsDefault()) { + _impl_.snapshot_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleText + +// optional string text = 1; +inline bool CUserMsg_ParticleManager_SetParticleText::_internal_has_text() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleText::has_text() const { + return _internal_has_text(); +} +inline void CUserMsg_ParticleManager_SetParticleText::clear_text() { + _impl_.text_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetParticleText::text() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleText.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetParticleText::set_text(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleText.text) +} +inline std::string* CUserMsg_ParticleManager_SetParticleText::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleText.text) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetParticleText::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CUserMsg_ParticleManager_SetParticleText::_internal_set_text(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetParticleText::_internal_mutable_text() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetParticleText::release_text() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleText.text) + if (!_internal_has_text()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.text_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetParticleText::set_allocated_text(std::string* text) { + if (text != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMsg_ParticleManager.SetParticleText.text) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetTextureAttribute + +// optional string attribute_name = 1; +inline bool CUserMsg_ParticleManager_SetTextureAttribute::_internal_has_attribute_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetTextureAttribute::has_attribute_name() const { + return _internal_has_attribute_name(); +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::clear_attribute_name() { + _impl_.attribute_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::attribute_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) + return _internal_attribute_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetTextureAttribute::set_attribute_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.attribute_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::mutable_attribute_name() { + std::string* _s = _internal_mutable_attribute_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::_internal_attribute_name() const { + return _impl_.attribute_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::_internal_set_attribute_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.attribute_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::_internal_mutable_attribute_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.attribute_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::release_attribute_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) + if (!_internal_has_attribute_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.attribute_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.attribute_name_.IsDefault()) { + _impl_.attribute_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::set_allocated_attribute_name(std::string* attribute_name) { + if (attribute_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.attribute_name_.SetAllocated(attribute_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.attribute_name_.IsDefault()) { + _impl_.attribute_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) +} + +// optional string texture_name = 2; +inline bool CUserMsg_ParticleManager_SetTextureAttribute::_internal_has_texture_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetTextureAttribute::has_texture_name() const { + return _internal_has_texture_name(); +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::clear_texture_name() { + _impl_.texture_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::texture_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) + return _internal_texture_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetTextureAttribute::set_texture_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.texture_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::mutable_texture_name() { + std::string* _s = _internal_mutable_texture_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::_internal_texture_name() const { + return _impl_.texture_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::_internal_set_texture_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.texture_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::_internal_mutable_texture_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.texture_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::release_texture_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) + if (!_internal_has_texture_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.texture_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.texture_name_.IsDefault()) { + _impl_.texture_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetTextureAttribute::set_allocated_texture_name(std::string* texture_name) { + if (texture_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.texture_name_.SetAllocated(texture_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.texture_name_.IsDefault()) { + _impl_.texture_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetSceneObjectGenericFlag + +// optional bool flag_value = 1; +inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_has_flag_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::has_flag_value() const { + return _internal_has_flag_value(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::clear_flag_value() { + _impl_.flag_value_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_flag_value() const { + return _impl_.flag_value_; +} +inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::flag_value() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectGenericFlag.flag_value) + return _internal_flag_value(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_set_flag_value(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.flag_value_ = value; +} +inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::set_flag_value(bool value) { + _internal_set_flag_value(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectGenericFlag.flag_value) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetSceneObjectTintAndDesat + +// optional fixed32 tint = 1; +inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_has_tint() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::has_tint() const { + return _internal_has_tint(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::clear_tint() { + _impl_.tint_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_tint() const { + return _impl_.tint_; +} +inline uint32_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::tint() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.tint) + return _internal_tint(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_set_tint(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.tint_ = value; +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::set_tint(uint32_t value) { + _internal_set_tint(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.tint) +} + +// optional float desat = 2; +inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_has_desat() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::has_desat() const { + return _internal_has_desat(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::clear_desat() { + _impl_.desat_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_desat() const { + return _impl_.desat_; +} +inline float CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::desat() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.desat) + return _internal_desat(); +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_set_desat(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.desat_ = value; +} +inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::set_desat(float value) { + _internal_set_desat(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.desat) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ParticleSkipToTime + +// optional float skip_to_time = 1; +inline bool CUserMsg_ParticleManager_ParticleSkipToTime::_internal_has_skip_to_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ParticleSkipToTime::has_skip_to_time() const { + return _internal_has_skip_to_time(); +} +inline void CUserMsg_ParticleManager_ParticleSkipToTime::clear_skip_to_time() { + _impl_.skip_to_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMsg_ParticleManager_ParticleSkipToTime::_internal_skip_to_time() const { + return _impl_.skip_to_time_; +} +inline float CUserMsg_ParticleManager_ParticleSkipToTime::skip_to_time() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleSkipToTime.skip_to_time) + return _internal_skip_to_time(); +} +inline void CUserMsg_ParticleManager_ParticleSkipToTime::_internal_set_skip_to_time(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.skip_to_time_ = value; +} +inline void CUserMsg_ParticleManager_ParticleSkipToTime::set_skip_to_time(float value) { + _internal_set_skip_to_time(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleSkipToTime.skip_to_time) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ParticleCanFreeze + +// optional bool can_freeze = 1; +inline bool CUserMsg_ParticleManager_ParticleCanFreeze::_internal_has_can_freeze() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ParticleCanFreeze::has_can_freeze() const { + return _internal_has_can_freeze(); +} +inline void CUserMsg_ParticleManager_ParticleCanFreeze::clear_can_freeze() { + _impl_.can_freeze_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_ParticleCanFreeze::_internal_can_freeze() const { + return _impl_.can_freeze_; +} +inline bool CUserMsg_ParticleManager_ParticleCanFreeze::can_freeze() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleCanFreeze.can_freeze) + return _internal_can_freeze(); +} +inline void CUserMsg_ParticleManager_ParticleCanFreeze::_internal_set_can_freeze(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.can_freeze_ = value; +} +inline void CUserMsg_ParticleManager_ParticleCanFreeze::set_can_freeze(bool value) { + _internal_set_can_freeze(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleCanFreeze.can_freeze) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ParticleFreezeTransitionOverride + +// optional float freeze_transition_override = 1; +inline bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_has_freeze_transition_override() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::has_freeze_transition_override() const { + return _internal_has_freeze_transition_override(); +} +inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::clear_freeze_transition_override() { + _impl_.freeze_transition_override_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_freeze_transition_override() const { + return _impl_.freeze_transition_override_; +} +inline float CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::freeze_transition_override() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride.freeze_transition_override) + return _internal_freeze_transition_override(); +} +inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_set_freeze_transition_override(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.freeze_transition_override_ = value; +} +inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::set_freeze_transition_override(float value) { + _internal_set_freeze_transition_override(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride.freeze_transition_override) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_FreezeParticleInvolving + +// optional bool set_frozen = 1; +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_set_frozen() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_set_frozen() const { + return _internal_has_set_frozen(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_set_frozen() { + _impl_.set_frozen_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_frozen() const { + return _impl_.set_frozen_; +} +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::set_frozen() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.set_frozen) + return _internal_set_frozen(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_set_frozen(bool value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.set_frozen_ = value; +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_set_frozen(bool value) { + _internal_set_set_frozen(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.set_frozen) +} + +// optional float transition_duration = 2; +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_transition_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_transition_duration() const { + return _internal_has_transition_duration(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_transition_duration() { + _impl_.transition_duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_transition_duration() const { + return _impl_.transition_duration_; +} +inline float CUserMsg_ParticleManager_FreezeParticleInvolving::transition_duration() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.transition_duration) + return _internal_transition_duration(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_transition_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.transition_duration_ = value; +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_transition_duration(float value) { + _internal_set_transition_duration(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.transition_duration) +} + +// optional uint32 entity_handle = 3 [default = 16777215]; +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_FreezeParticleInvolving::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.entity_handle) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_AddModellistOverrideElement + +// optional string model_name = 1; +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_model_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_model_name() const { + return _internal_has_model_name(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_model_name() { + _impl_.model_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_AddModellistOverrideElement::model_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) + return _internal_model_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_AddModellistOverrideElement::set_model_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.model_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) +} +inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::mutable_model_name() { + std::string* _s = _internal_mutable_model_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_model_name() const { + return _impl_.model_name_.Get(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_model_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.model_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_mutable_model_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.model_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::release_model_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) + if (!_internal_has_model_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.model_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.model_name_.IsDefault()) { + _impl_.model_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_allocated_model_name(std::string* model_name) { + if (model_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.model_name_.SetAllocated(model_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.model_name_.IsDefault()) { + _impl_.model_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) +} + +// optional float spawn_probability = 2; +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_spawn_probability() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_spawn_probability() const { + return _internal_has_spawn_probability(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_spawn_probability() { + _impl_.spawn_probability_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_spawn_probability() const { + return _impl_.spawn_probability_; +} +inline float CUserMsg_ParticleManager_AddModellistOverrideElement::spawn_probability() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.spawn_probability) + return _internal_spawn_probability(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_spawn_probability(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.spawn_probability_ = value; +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_spawn_probability(float value) { + _internal_set_spawn_probability(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.spawn_probability) +} + +// optional uint32 groupid = 3; +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_groupid() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_groupid() const { + return _internal_has_groupid(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_groupid() { + _impl_.groupid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_groupid() const { + return _impl_.groupid_; +} +inline uint32_t CUserMsg_ParticleManager_AddModellistOverrideElement::groupid() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.groupid) + return _internal_groupid(); +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_groupid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.groupid_ = value; +} +inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_groupid(uint32_t value) { + _internal_set_groupid(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.groupid) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_ClearModellistOverride + +// optional uint32 groupid = 1; +inline bool CUserMsg_ParticleManager_ClearModellistOverride::_internal_has_groupid() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_ClearModellistOverride::has_groupid() const { + return _internal_has_groupid(); +} +inline void CUserMsg_ParticleManager_ClearModellistOverride::clear_groupid() { + _impl_.groupid_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMsg_ParticleManager_ClearModellistOverride::_internal_groupid() const { + return _impl_.groupid_; +} +inline uint32_t CUserMsg_ParticleManager_ClearModellistOverride::groupid() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ClearModellistOverride.groupid) + return _internal_groupid(); +} +inline void CUserMsg_ParticleManager_ClearModellistOverride::_internal_set_groupid(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.groupid_ = value; +} +inline void CUserMsg_ParticleManager_ClearModellistOverride::set_groupid(uint32_t value) { + _internal_set_groupid(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ClearModellistOverride.groupid) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue + +// optional uint32 value_name_hash = 1; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_has_value_name_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::has_value_name_hash() const { + return _internal_has_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::clear_value_name_hash() { + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_value_name_hash() const { + return _impl_.value_name_hash_; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::value_name_hash() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value_name_hash) + return _internal_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_set_value_name_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_name_hash_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::set_value_name_hash(uint32_t value) { + _internal_set_value_name_hash(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value_name_hash) +} + +// optional float value = 2; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::has_value() const { + return _internal_has_value(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::clear_value() { + _impl_.value_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_value() const { + return _impl_.value_; +} +inline float CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::value() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value) + return _internal_value(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_set_value(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::set_value(float value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue + +// optional uint32 value_name_hash = 1; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_has_value_name_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::has_value_name_hash() const { + return _internal_has_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::clear_value_name_hash() { + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_value_name_hash() const { + return _impl_.value_name_hash_; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::value_name_hash() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value_name_hash) + return _internal_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_set_value_name_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value_name_hash_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::set_value_name_hash(uint32_t value) { + _internal_set_value_name_hash(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value_name_hash) +} + +// optional .CMsgVector value = 2; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::has_value() const { + return _internal_has_value(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_value() const { + const ::CMsgVector* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::value() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) + return _internal_value(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::unsafe_arena_set_allocated_value( + ::CMsgVector* value) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); + } + _impl_.value_ = value; + if (value) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::release_value() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.value_; + _impl_.value_ = 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 ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::unsafe_arena_release_value() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.value_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.value_ = p; + } + return _impl_.value_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::mutable_value() { + ::CMsgVector* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) + return _msg; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::set_allocated_value(::CMsgVector* value) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); + } + if (value) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(value)); + if (message_arena != submessage_arena) { + value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.value_ = value; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue + +// optional uint32 value_name_hash = 1; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_value_name_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_value_name_hash() const { + return _internal_has_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_value_name_hash() { + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_value_name_hash() const { + return _impl_.value_name_hash_; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::value_name_hash() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.value_name_hash) + return _internal_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_set_value_name_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.value_name_hash_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_value_name_hash(uint32_t value) { + _internal_set_value_name_hash(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.value_name_hash) +} + +// optional .CMsgQAngle angles = 2; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_angles() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_angles() const { + return _internal_has_angles(); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_angles() const { + const ::CMsgQAngle* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgQAngle_default_instance_); +} +inline const ::CMsgQAngle& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::angles() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) + return _internal_angles(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_set_allocated_angles( + ::CMsgQAngle* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::release_angles() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* 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 ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgQAngle* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_mutable_angles() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::mutable_angles() { + ::CMsgQAngle* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) + return _msg; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_allocated_angles(::CMsgQAngle* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) +} + +// optional .CMsgVector translation = 3; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_translation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.translation_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_translation() const { + return _internal_has_translation(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_translation() const { + const ::CMsgVector* p = _impl_.translation_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::translation() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) + return _internal_translation(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_set_allocated_translation( + ::CMsgVector* translation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.translation_); + } + _impl_.translation_ = translation; + if (translation) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::release_translation() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.translation_; + _impl_.translation_ = 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 ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_release_translation() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.translation_; + _impl_.translation_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_mutable_translation() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.translation_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.translation_ = p; + } + return _impl_.translation_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::mutable_translation() { + ::CMsgVector* _msg = _internal_mutable_translation(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) + return _msg; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_allocated_translation(::CMsgVector* translation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.translation_); + } + if (translation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(translation)); + if (message_arena != submessage_arena) { + translation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, translation, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.translation_ = translation; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext + +// optional uint32 value_name_hash = 1; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_has_value_name_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::has_value_name_hash() const { + return _internal_has_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::clear_value_name_hash() { + _impl_.value_name_hash_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_value_name_hash() const { + return _impl_.value_name_hash_; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::value_name_hash() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.value_name_hash) + return _internal_value_name_hash(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_set_value_name_hash(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_name_hash_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::set_value_name_hash(uint32_t value) { + _internal_set_value_name_hash(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.value_name_hash) +} + +// optional uint32 ent_index = 2 [default = 16777215]; +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::clear_ent_index() { + _impl_.ent_index_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.ent_index) + return _internal_ent_index(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_set_ent_index(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.ent_index_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::set_ent_index(uint32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.ent_index) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleNamedValueContext + +// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_float_values_size() const { + return _impl_.float_values_.size(); +} +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values_size() const { + return _internal_float_values_size(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_float_values() { + _impl_.float_values_.Clear(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_float_values(int index) { + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) + return _impl_.float_values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >* +CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_float_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) + return &_impl_.float_values_; +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_float_values(int index) const { + return _impl_.float_values_.Get(index); +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) + return _internal_float_values(index); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_float_values() { + return _impl_.float_values_.Add(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_float_values() { + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* _add = _internal_add_float_values(); + // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >& +CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values() const { + // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) + return _impl_.float_values_; +} + +// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_vector_values_size() const { + return _impl_.vector_values_.size(); +} +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values_size() const { + return _internal_vector_values_size(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_vector_values() { + _impl_.vector_values_.Clear(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_vector_values(int index) { + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) + return _impl_.vector_values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >* +CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_vector_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) + return &_impl_.vector_values_; +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_vector_values(int index) const { + return _impl_.vector_values_.Get(index); +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) + return _internal_vector_values(index); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_vector_values() { + return _impl_.vector_values_.Add(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_vector_values() { + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* _add = _internal_add_vector_values(); + // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >& +CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values() const { + // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) + return _impl_.vector_values_; +} + +// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_transform_values_size() const { + return _impl_.transform_values_.size(); +} +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values_size() const { + return _internal_transform_values_size(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_transform_values() { + _impl_.transform_values_.Clear(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_transform_values(int index) { + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) + return _impl_.transform_values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >* +CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_transform_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) + return &_impl_.transform_values_; +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_transform_values(int index) const { + return _impl_.transform_values_.Get(index); +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) + return _internal_transform_values(index); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_transform_values() { + return _impl_.transform_values_.Add(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_transform_values() { + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* _add = _internal_add_transform_values(); + // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >& +CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values() const { + // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) + return _impl_.transform_values_; +} + +// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_ehandle_values_size() const { + return _impl_.ehandle_values_.size(); +} +inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values_size() const { + return _internal_ehandle_values_size(); +} +inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_ehandle_values() { + _impl_.ehandle_values_.Clear(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_ehandle_values(int index) { + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) + return _impl_.ehandle_values_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >* +CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_ehandle_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) + return &_impl_.ehandle_values_; +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_ehandle_values(int index) const { + return _impl_.ehandle_values_.Get(index); +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) + return _internal_ehandle_values(index); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_ehandle_values() { + return _impl_.ehandle_values_.Add(); +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_ehandle_values() { + ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* _add = _internal_add_ehandle_values(); + // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >& +CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values() const { + // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) + return _impl_.ehandle_values_; +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_CreatePhysicsSim + +// optional string prop_group_name = 1; +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_prop_group_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_prop_group_name() const { + return _internal_has_prop_group_name(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_prop_group_name() { + _impl_.prop_group_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_CreatePhysicsSim::prop_group_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) + return _internal_prop_group_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_CreatePhysicsSim::set_prop_group_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.prop_group_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) +} +inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::mutable_prop_group_name() { + std::string* _s = _internal_mutable_prop_group_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_CreatePhysicsSim::_internal_prop_group_name() const { + return _impl_.prop_group_name_.Get(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_prop_group_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.prop_group_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::_internal_mutable_prop_group_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.prop_group_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::release_prop_group_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) + if (!_internal_has_prop_group_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.prop_group_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.prop_group_name_.IsDefault()) { + _impl_.prop_group_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_allocated_prop_group_name(std::string* prop_group_name) { + if (prop_group_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.prop_group_name_.SetAllocated(prop_group_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.prop_group_name_.IsDefault()) { + _impl_.prop_group_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) +} + +// optional bool use_high_quality_simulation = 2; +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_use_high_quality_simulation() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_use_high_quality_simulation() const { + return _internal_has_use_high_quality_simulation(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_use_high_quality_simulation() { + _impl_.use_high_quality_simulation_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_use_high_quality_simulation() const { + return _impl_.use_high_quality_simulation_; +} +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::use_high_quality_simulation() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.use_high_quality_simulation) + return _internal_use_high_quality_simulation(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_use_high_quality_simulation(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.use_high_quality_simulation_ = value; +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_use_high_quality_simulation(bool value) { + _internal_set_use_high_quality_simulation(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.use_high_quality_simulation) +} + +// optional uint32 max_particle_count = 3; +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_max_particle_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_max_particle_count() const { + return _internal_has_max_particle_count(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_max_particle_count() { + _impl_.max_particle_count_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMsg_ParticleManager_CreatePhysicsSim::_internal_max_particle_count() const { + return _impl_.max_particle_count_; +} +inline uint32_t CUserMsg_ParticleManager_CreatePhysicsSim::max_particle_count() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.max_particle_count) + return _internal_max_particle_count(); +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_max_particle_count(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.max_particle_count_ = value; +} +inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_max_particle_count(uint32_t value) { + _internal_set_max_particle_count(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.max_particle_count) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_DestroyPhysicsSim + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetVData + +// optional string vdata_name = 1; +inline bool CUserMsg_ParticleManager_SetVData::_internal_has_vdata_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetVData::has_vdata_name() const { + return _internal_has_vdata_name(); +} +inline void CUserMsg_ParticleManager_SetVData::clear_vdata_name() { + _impl_.vdata_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetVData::vdata_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetVData.vdata_name) + return _internal_vdata_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetVData::set_vdata_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.vdata_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetVData.vdata_name) +} +inline std::string* CUserMsg_ParticleManager_SetVData::mutable_vdata_name() { + std::string* _s = _internal_mutable_vdata_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetVData.vdata_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetVData::_internal_vdata_name() const { + return _impl_.vdata_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetVData::_internal_set_vdata_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.vdata_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetVData::_internal_mutable_vdata_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.vdata_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetVData::release_vdata_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetVData.vdata_name) + if (!_internal_has_vdata_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.vdata_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.vdata_name_.IsDefault()) { + _impl_.vdata_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetVData::set_allocated_vdata_name(std::string* vdata_name) { + if (vdata_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.vdata_name_.SetAllocated(vdata_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.vdata_name_.IsDefault()) { + _impl_.vdata_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetVData.vdata_name) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetMaterialOverride + +// optional string material_name = 1; +inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_has_material_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetMaterialOverride::has_material_name() const { + return _internal_has_material_name(); +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::clear_material_name() { + _impl_.material_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_SetMaterialOverride::material_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetMaterialOverride.material_name) + return _internal_material_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_SetMaterialOverride::set_material_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.material_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetMaterialOverride.material_name) +} +inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::mutable_material_name() { + std::string* _s = _internal_mutable_material_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetMaterialOverride.material_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_SetMaterialOverride::_internal_material_name() const { + return _impl_.material_name_.Get(); +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::_internal_set_material_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.material_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::_internal_mutable_material_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.material_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::release_material_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetMaterialOverride.material_name) + if (!_internal_has_material_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.material_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.material_name_.IsDefault()) { + _impl_.material_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::set_allocated_material_name(std::string* material_name) { + if (material_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.material_name_.SetAllocated(material_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.material_name_.IsDefault()) { + _impl_.material_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetMaterialOverride.material_name) +} + +// optional bool include_children = 2; +inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_has_include_children() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetMaterialOverride::has_include_children() const { + return _internal_has_include_children(); +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::clear_include_children() { + _impl_.include_children_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_include_children() const { + return _impl_.include_children_; +} +inline bool CUserMsg_ParticleManager_SetMaterialOverride::include_children() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetMaterialOverride.include_children) + return _internal_include_children(); +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::_internal_set_include_children(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.include_children_ = value; +} +inline void CUserMsg_ParticleManager_SetMaterialOverride::set_include_children(bool value) { + _internal_set_include_children(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetMaterialOverride.include_children) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_AddFan + +// optional bool active = 1; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_active() const { + return _internal_has_active(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_active() { + _impl_.active_ = false; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline bool CUserMsg_ParticleManager_AddFan::_internal_active() const { + return _impl_.active_; +} +inline bool CUserMsg_ParticleManager_AddFan::active() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.active) + return _internal_active(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_active(bool value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.active_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_active(bool value) { + _internal_set_active(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.active) +} + +// optional .CMsgVector bounds_mins = 2; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_bounds_mins() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bounds_mins_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_bounds_mins() const { + return _internal_has_bounds_mins(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_bounds_mins() const { + const ::CMsgVector* p = _impl_.bounds_mins_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::bounds_mins() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.bounds_mins) + return _internal_bounds_mins(); +} +inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_bounds_mins( + ::CMsgVector* bounds_mins) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); + } + _impl_.bounds_mins_ = bounds_mins; + if (bounds_mins) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_mins) +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_bounds_mins() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.bounds_mins_; + _impl_.bounds_mins_ = 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 ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_bounds_mins() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.bounds_mins) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.bounds_mins_; + _impl_.bounds_mins_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_bounds_mins() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.bounds_mins_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.bounds_mins_ = p; + } + return _impl_.bounds_mins_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_bounds_mins() { + ::CMsgVector* _msg = _internal_mutable_bounds_mins(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.bounds_mins) + return _msg; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_bounds_mins(::CMsgVector* bounds_mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); + } + if (bounds_mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_mins)); + if (message_arena != submessage_arena) { + bounds_mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, bounds_mins, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.bounds_mins_ = bounds_mins; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_mins) +} + +// optional .CMsgVector bounds_maxs = 3; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_bounds_maxs() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bounds_maxs_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_bounds_maxs() const { + return _internal_has_bounds_maxs(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_bounds_maxs() const { + const ::CMsgVector* p = _impl_.bounds_maxs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::bounds_maxs() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.bounds_maxs) + return _internal_bounds_maxs(); +} +inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_bounds_maxs( + ::CMsgVector* bounds_maxs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); + } + _impl_.bounds_maxs_ = bounds_maxs; + if (bounds_maxs) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_maxs) +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_bounds_maxs() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.bounds_maxs_; + _impl_.bounds_maxs_ = 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 ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_bounds_maxs() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.bounds_maxs) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.bounds_maxs_; + _impl_.bounds_maxs_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_bounds_maxs() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.bounds_maxs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.bounds_maxs_ = p; + } + return _impl_.bounds_maxs_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_bounds_maxs() { + ::CMsgVector* _msg = _internal_mutable_bounds_maxs(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.bounds_maxs) + return _msg; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_bounds_maxs(::CMsgVector* bounds_maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); + } + if (bounds_maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_maxs)); + if (message_arena != submessage_arena) { + bounds_maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, bounds_maxs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.bounds_maxs_ = bounds_maxs; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_maxs) +} + +// optional .CMsgVector fan_origin = 4; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_origin_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_fan_origin() const { + return _internal_has_fan_origin(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_origin() const { + const ::CMsgVector* p = _impl_.fan_origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_origin() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_origin) + return _internal_fan_origin(); +} +inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_origin( + ::CMsgVector* fan_origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); + } + _impl_.fan_origin_ = fan_origin; + if (fan_origin) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin) +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_origin() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.fan_origin_; + _impl_.fan_origin_ = 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 ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_origin() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_origin) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.fan_origin_; + _impl_.fan_origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_origin() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.fan_origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_origin_ = p; + } + return _impl_.fan_origin_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_origin() { + ::CMsgVector* _msg = _internal_mutable_fan_origin(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_origin) + return _msg; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_origin(::CMsgVector* fan_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); + } + if (fan_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin)); + if (message_arena != submessage_arena) { + fan_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.fan_origin_ = fan_origin; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin) +} + +// optional .CMsgVector fan_origin_offset = 5; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_origin_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_origin_offset_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_fan_origin_offset() const { + return _internal_has_fan_origin_offset(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_origin_offset() const { + const ::CMsgVector* p = _impl_.fan_origin_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_origin_offset() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_origin_offset) + return _internal_fan_origin_offset(); +} +inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_origin_offset( + ::CMsgVector* fan_origin_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); + } + _impl_.fan_origin_offset_ = fan_origin_offset; + if (fan_origin_offset) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin_offset) +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_origin_offset() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgVector* temp = _impl_.fan_origin_offset_; + _impl_.fan_origin_offset_ = 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 ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_origin_offset() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_origin_offset) + _impl_._has_bits_[0] &= ~0x00000020u; + ::CMsgVector* temp = _impl_.fan_origin_offset_; + _impl_.fan_origin_offset_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_origin_offset() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.fan_origin_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_origin_offset_ = p; + } + return _impl_.fan_origin_offset_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_origin_offset() { + ::CMsgVector* _msg = _internal_mutable_fan_origin_offset(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_origin_offset) + return _msg; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); + } + if (fan_origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin_offset)); + if (message_arena != submessage_arena) { + fan_origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_origin_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.fan_origin_offset_ = fan_origin_offset; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin_offset) +} + +// optional .CMsgVector fan_direction = 6; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_direction_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_fan_direction() const { + return _internal_has_fan_direction(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_direction() const { + const ::CMsgVector* p = _impl_.fan_direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_direction() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_direction) + return _internal_fan_direction(); +} +inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_direction( + ::CMsgVector* fan_direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); + } + _impl_.fan_direction_ = fan_direction; + if (fan_direction) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_direction) +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_direction() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgVector* temp = _impl_.fan_direction_; + _impl_.fan_direction_ = 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 ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_direction() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_direction) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CMsgVector* temp = _impl_.fan_direction_; + _impl_.fan_direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_direction() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.fan_direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_direction_ = p; + } + return _impl_.fan_direction_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_direction() { + ::CMsgVector* _msg = _internal_mutable_fan_direction(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_direction) + return _msg; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_direction(::CMsgVector* fan_direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); + } + if (fan_direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_direction)); + if (message_arena != submessage_arena) { + fan_direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.fan_direction_ = fan_direction; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_direction) +} + +// optional float force = 7; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_force() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_force() const { + return _internal_has_force(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_force() { + _impl_.force_ = 0; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_force() const { + return _impl_.force_; +} +inline float CUserMsg_ParticleManager_AddFan::force() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.force) + return _internal_force(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_force(float value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.force_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_force(float value) { + _internal_set_force(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.force) +} + +// optional string fan_force_curve = 8; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_force_curve() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_fan_force_curve() const { + return _internal_has_fan_force_curve(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_fan_force_curve() { + _impl_.fan_force_curve_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_ParticleManager_AddFan::fan_force_curve() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_force_curve) + return _internal_fan_force_curve(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_AddFan::set_fan_force_curve(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.fan_force_curve_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.fan_force_curve) +} +inline std::string* CUserMsg_ParticleManager_AddFan::mutable_fan_force_curve() { + std::string* _s = _internal_mutable_fan_force_curve(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_force_curve) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_AddFan::_internal_fan_force_curve() const { + return _impl_.fan_force_curve_.Get(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_fan_force_curve(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.fan_force_curve_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_force_curve() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.fan_force_curve_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddFan::release_fan_force_curve() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_force_curve) + if (!_internal_has_fan_force_curve()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.fan_force_curve_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.fan_force_curve_.IsDefault()) { + _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_force_curve(std::string* fan_force_curve) { + if (fan_force_curve != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.fan_force_curve_.SetAllocated(fan_force_curve, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.fan_force_curve_.IsDefault()) { + _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_force_curve) +} + +// optional bool falloff = 9; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_falloff() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_falloff() const { + return _internal_has_falloff(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_falloff() { + _impl_.falloff_ = false; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline bool CUserMsg_ParticleManager_AddFan::_internal_falloff() const { + return _impl_.falloff_; +} +inline bool CUserMsg_ParticleManager_AddFan::falloff() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.falloff) + return _internal_falloff(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_falloff(bool value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.falloff_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_falloff(bool value) { + _internal_set_falloff(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.falloff) +} + +// optional bool pull_towards_point = 10; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_pull_towards_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_pull_towards_point() const { + return _internal_has_pull_towards_point(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_pull_towards_point() { + _impl_.pull_towards_point_ = false; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline bool CUserMsg_ParticleManager_AddFan::_internal_pull_towards_point() const { + return _impl_.pull_towards_point_; +} +inline bool CUserMsg_ParticleManager_AddFan::pull_towards_point() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.pull_towards_point) + return _internal_pull_towards_point(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_pull_towards_point(bool value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.pull_towards_point_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_pull_towards_point(bool value) { + _internal_set_pull_towards_point(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.pull_towards_point) +} + +// optional float curve_min_dist = 11; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_curve_min_dist() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_curve_min_dist() const { + return _internal_has_curve_min_dist(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_curve_min_dist() { + _impl_.curve_min_dist_ = 0; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_curve_min_dist() const { + return _impl_.curve_min_dist_; +} +inline float CUserMsg_ParticleManager_AddFan::curve_min_dist() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.curve_min_dist) + return _internal_curve_min_dist(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_curve_min_dist(float value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.curve_min_dist_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_curve_min_dist(float value) { + _internal_set_curve_min_dist(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.curve_min_dist) +} + +// optional float curve_max_dist = 12; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_curve_max_dist() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_curve_max_dist() const { + return _internal_has_curve_max_dist(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_curve_max_dist() { + _impl_.curve_max_dist_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_curve_max_dist() const { + return _impl_.curve_max_dist_; +} +inline float CUserMsg_ParticleManager_AddFan::curve_max_dist() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.curve_max_dist) + return _internal_curve_max_dist(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_curve_max_dist(float value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.curve_max_dist_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_curve_max_dist(float value) { + _internal_set_curve_max_dist(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.curve_max_dist) +} + +// optional uint32 fan_type = 13; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_type() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_fan_type() const { + return _internal_has_fan_type(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_fan_type() { + _impl_.fan_type_ = 0u; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline uint32_t CUserMsg_ParticleManager_AddFan::_internal_fan_type() const { + return _impl_.fan_type_; +} +inline uint32_t CUserMsg_ParticleManager_AddFan::fan_type() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_type) + return _internal_fan_type(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_fan_type(uint32_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.fan_type_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_fan_type(uint32_t value) { + _internal_set_fan_type(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.fan_type) +} + +// optional float cone_start_radius = 14; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_start_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_cone_start_radius() const { + return _internal_has_cone_start_radius(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_cone_start_radius() { + _impl_.cone_start_radius_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_cone_start_radius() const { + return _impl_.cone_start_radius_; +} +inline float CUserMsg_ParticleManager_AddFan::cone_start_radius() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_start_radius) + return _internal_cone_start_radius(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_start_radius(float value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.cone_start_radius_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_cone_start_radius(float value) { + _internal_set_cone_start_radius(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_start_radius) +} + +// optional float cone_end_radius = 15; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_end_radius() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_cone_end_radius() const { + return _internal_has_cone_end_radius(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_cone_end_radius() { + _impl_.cone_end_radius_ = 0; + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_cone_end_radius() const { + return _impl_.cone_end_radius_; +} +inline float CUserMsg_ParticleManager_AddFan::cone_end_radius() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_end_radius) + return _internal_cone_end_radius(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_end_radius(float value) { + _impl_._has_bits_[0] |= 0x00008000u; + _impl_.cone_end_radius_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_cone_end_radius(float value) { + _internal_set_cone_end_radius(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_end_radius) +} + +// optional float cone_length = 16; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_length() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_cone_length() const { + return _internal_has_cone_length(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_cone_length() { + _impl_.cone_length_ = 0; + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline float CUserMsg_ParticleManager_AddFan::_internal_cone_length() const { + return _impl_.cone_length_; +} +inline float CUserMsg_ParticleManager_AddFan::cone_length() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_length) + return _internal_cone_length(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_length(float value) { + _impl_._has_bits_[0] |= 0x00010000u; + _impl_.cone_length_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_cone_length(float value) { + _internal_set_cone_length(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_length) +} + +// optional uint32 entity_handle = 17 [default = 16777215]; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_entity_handle() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_entity_handle() const { + return _internal_has_entity_handle(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_entity_handle() { + _impl_.entity_handle_ = 16777215u; + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline uint32_t CUserMsg_ParticleManager_AddFan::_internal_entity_handle() const { + return _impl_.entity_handle_; +} +inline uint32_t CUserMsg_ParticleManager_AddFan::entity_handle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.entity_handle) + return _internal_entity_handle(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_entity_handle(uint32_t value) { + _impl_._has_bits_[0] |= 0x00020000u; + _impl_.entity_handle_ = value; +} +inline void CUserMsg_ParticleManager_AddFan::set_entity_handle(uint32_t value) { + _internal_set_entity_handle(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.entity_handle) +} + +// optional string attachment_name = 18; +inline bool CUserMsg_ParticleManager_AddFan::_internal_has_attachment_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_AddFan::has_attachment_name() const { + return _internal_has_attachment_name(); +} +inline void CUserMsg_ParticleManager_AddFan::clear_attachment_name() { + _impl_.attachment_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMsg_ParticleManager_AddFan::attachment_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.attachment_name) + return _internal_attachment_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_ParticleManager_AddFan::set_attachment_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attachment_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.attachment_name) +} +inline std::string* CUserMsg_ParticleManager_AddFan::mutable_attachment_name() { + std::string* _s = _internal_mutable_attachment_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.attachment_name) + return _s; +} +inline const std::string& CUserMsg_ParticleManager_AddFan::_internal_attachment_name() const { + return _impl_.attachment_name_.Get(); +} +inline void CUserMsg_ParticleManager_AddFan::_internal_set_attachment_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.attachment_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddFan::_internal_mutable_attachment_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.attachment_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_ParticleManager_AddFan::release_attachment_name() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.attachment_name) + if (!_internal_has_attachment_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.attachment_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.attachment_name_.IsDefault()) { + _impl_.attachment_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_ParticleManager_AddFan::set_allocated_attachment_name(std::string* attachment_name) { + if (attachment_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.attachment_name_.SetAllocated(attachment_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.attachment_name_.IsDefault()) { + _impl_.attachment_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.attachment_name) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_UpdateFan + +// optional bool active = 1; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_active() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_active() const { + return _internal_has_active(); +} +inline void CUserMsg_ParticleManager_UpdateFan::clear_active() { + _impl_.active_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_active() const { + return _impl_.active_; +} +inline bool CUserMsg_ParticleManager_UpdateFan::active() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.active) + return _internal_active(); +} +inline void CUserMsg_ParticleManager_UpdateFan::_internal_set_active(bool value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.active_ = value; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_active(bool value) { + _internal_set_active(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateFan.active) +} + +// optional .CMsgVector fan_origin = 2; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_origin_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_origin() const { + return _internal_has_fan_origin(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_origin() const { + const ::CMsgVector* p = _impl_.fan_origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_origin() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_origin) + return _internal_fan_origin(); +} +inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_origin( + ::CMsgVector* fan_origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); + } + _impl_.fan_origin_ = fan_origin; + if (fan_origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.fan_origin_; + _impl_.fan_origin_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_origin() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.fan_origin_; + _impl_.fan_origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.fan_origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_origin_ = p; + } + return _impl_.fan_origin_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_origin() { + ::CMsgVector* _msg = _internal_mutable_fan_origin(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_origin) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_origin(::CMsgVector* fan_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); + } + if (fan_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin)); + if (message_arena != submessage_arena) { + fan_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.fan_origin_ = fan_origin; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin) +} + +// optional .CMsgVector fan_origin_offset = 3; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_origin_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_origin_offset_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_origin_offset() const { + return _internal_has_fan_origin_offset(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_origin_offset() const { + const ::CMsgVector* p = _impl_.fan_origin_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_origin_offset() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) + return _internal_fan_origin_offset(); +} +inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_origin_offset( + ::CMsgVector* fan_origin_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); + } + _impl_.fan_origin_offset_ = fan_origin_offset; + if (fan_origin_offset) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_origin_offset() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.fan_origin_offset_; + _impl_.fan_origin_offset_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_origin_offset() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.fan_origin_offset_; + _impl_.fan_origin_offset_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_origin_offset() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.fan_origin_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_origin_offset_ = p; + } + return _impl_.fan_origin_offset_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_origin_offset() { + ::CMsgVector* _msg = _internal_mutable_fan_origin_offset(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); + } + if (fan_origin_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin_offset)); + if (message_arena != submessage_arena) { + fan_origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_origin_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.fan_origin_offset_ = fan_origin_offset; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) +} + +// optional .CMsgVector fan_direction = 4; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_direction() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.fan_direction_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_direction() const { + return _internal_has_fan_direction(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_direction() const { + const ::CMsgVector* p = _impl_.fan_direction_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_direction() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_direction) + return _internal_fan_direction(); +} +inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_direction( + ::CMsgVector* fan_direction) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); + } + _impl_.fan_direction_ = fan_direction; + if (fan_direction) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_direction) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_direction() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.fan_direction_; + _impl_.fan_direction_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_direction() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_direction) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CMsgVector* temp = _impl_.fan_direction_; + _impl_.fan_direction_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_direction() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.fan_direction_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.fan_direction_ = p; + } + return _impl_.fan_direction_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_direction() { + ::CMsgVector* _msg = _internal_mutable_fan_direction(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_direction) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_direction(::CMsgVector* fan_direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); + } + if (fan_direction) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_direction)); + if (message_arena != submessage_arena) { + fan_direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fan_direction, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.fan_direction_ = fan_direction; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_direction) +} + +// optional float fan_ramp_ratio = 7; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_ramp_ratio() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_ramp_ratio() const { + return _internal_has_fan_ramp_ratio(); +} +inline void CUserMsg_ParticleManager_UpdateFan::clear_fan_ramp_ratio() { + _impl_.fan_ramp_ratio_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline float CUserMsg_ParticleManager_UpdateFan::_internal_fan_ramp_ratio() const { + return _impl_.fan_ramp_ratio_; +} +inline float CUserMsg_ParticleManager_UpdateFan::fan_ramp_ratio() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_ramp_ratio) + return _internal_fan_ramp_ratio(); +} +inline void CUserMsg_ParticleManager_UpdateFan::_internal_set_fan_ramp_ratio(float value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.fan_ramp_ratio_ = value; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_fan_ramp_ratio(float value) { + _internal_set_fan_ramp_ratio(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateFan.fan_ramp_ratio) +} + +// optional .CMsgVector bounds_mins = 5; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_bounds_mins() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bounds_mins_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_bounds_mins() const { + return _internal_has_bounds_mins(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_bounds_mins() const { + const ::CMsgVector* p = _impl_.bounds_mins_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::bounds_mins() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.bounds_mins) + return _internal_bounds_mins(); +} +inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_bounds_mins( + ::CMsgVector* bounds_mins) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); + } + _impl_.bounds_mins_ = bounds_mins; + if (bounds_mins) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_mins) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_bounds_mins() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.bounds_mins_; + _impl_.bounds_mins_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_bounds_mins() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.bounds_mins) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CMsgVector* temp = _impl_.bounds_mins_; + _impl_.bounds_mins_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_bounds_mins() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.bounds_mins_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.bounds_mins_ = p; + } + return _impl_.bounds_mins_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_bounds_mins() { + ::CMsgVector* _msg = _internal_mutable_bounds_mins(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.bounds_mins) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_bounds_mins(::CMsgVector* bounds_mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); + } + if (bounds_mins) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_mins)); + if (message_arena != submessage_arena) { + bounds_mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, bounds_mins, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.bounds_mins_ = bounds_mins; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_mins) +} + +// optional .CMsgVector bounds_maxs = 6; +inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_bounds_maxs() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bounds_maxs_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_UpdateFan::has_bounds_maxs() const { + return _internal_has_bounds_maxs(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_bounds_maxs() const { + const ::CMsgVector* p = _impl_.bounds_maxs_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::bounds_maxs() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) + return _internal_bounds_maxs(); +} +inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_bounds_maxs( + ::CMsgVector* bounds_maxs) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); + } + _impl_.bounds_maxs_ = bounds_maxs; + if (bounds_maxs) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_bounds_maxs() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.bounds_maxs_; + _impl_.bounds_maxs_ = 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 ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_bounds_maxs() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CMsgVector* temp = _impl_.bounds_maxs_; + _impl_.bounds_maxs_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_bounds_maxs() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.bounds_maxs_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.bounds_maxs_ = p; + } + return _impl_.bounds_maxs_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_bounds_maxs() { + ::CMsgVector* _msg = _internal_mutable_bounds_maxs(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) + return _msg; +} +inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_bounds_maxs(::CMsgVector* bounds_maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); + } + if (bounds_maxs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_maxs)); + if (message_arena != submessage_arena) { + bounds_maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, bounds_maxs, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.bounds_maxs_ = bounds_maxs; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_RemoveFan + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager_SetParticleClusterGrowth + +// optional float duration = 1; +inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_has_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::has_duration() const { + return _internal_has_duration(); +} +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::clear_duration() { + _impl_.duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_duration() const { + return _impl_.duration_; +} +inline float CUserMsg_ParticleManager_SetParticleClusterGrowth::duration() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleClusterGrowth.duration) + return _internal_duration(); +} +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_set_duration(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.duration_ = value; +} +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::set_duration(float value) { + _internal_set_duration(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleClusterGrowth.duration) +} + +// optional .CMsgVector origin = 2; +inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_has_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::has_origin() const { + return _internal_has_origin(); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_origin() const { + const ::CMsgVector* p = _impl_.origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleClusterGrowth::origin() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) + return _internal_origin(); +} +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::unsafe_arena_set_allocated_origin( + ::CMsgVector* origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + _impl_.origin_ = origin; + if (origin) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::release_origin() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = 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 ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::unsafe_arena_release_origin() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CMsgVector* temp = _impl_.origin_; + _impl_.origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_mutable_origin() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.origin_ = p; + } + return _impl_.origin_; +} +inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::mutable_origin() { + ::CMsgVector* _msg = _internal_mutable_origin(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) + return _msg; +} +inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::set_allocated_origin(::CMsgVector* origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); + } + if (origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); + if (message_arena != submessage_arena) { + origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.origin_ = origin; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) +} + +// ------------------------------------------------------------------- + +// CUserMsg_ParticleManager + +// required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; +inline bool CUserMsg_ParticleManager::_internal_has_type() const { + bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager::has_type() const { + return _internal_has_type(); +} +inline void CUserMsg_ParticleManager::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[1] &= ~0x00000080u; +} +inline ::PARTICLE_MESSAGE CUserMsg_ParticleManager::_internal_type() const { + return static_cast< ::PARTICLE_MESSAGE >(_impl_.type_); +} +inline ::PARTICLE_MESSAGE CUserMsg_ParticleManager::type() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.type) + return _internal_type(); +} +inline void CUserMsg_ParticleManager::_internal_set_type(::PARTICLE_MESSAGE value) { + assert(::PARTICLE_MESSAGE_IsValid(value)); + _impl_._has_bits_[1] |= 0x00000080u; + _impl_.type_ = value; +} +inline void CUserMsg_ParticleManager::set_type(::PARTICLE_MESSAGE value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.type) +} + +// required uint32 index = 2; +inline bool CUserMsg_ParticleManager::_internal_has_index() const { + bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; + return value; +} +inline bool CUserMsg_ParticleManager::has_index() const { + return _internal_has_index(); +} +inline void CUserMsg_ParticleManager::clear_index() { + _impl_.index_ = 0u; + _impl_._has_bits_[1] &= ~0x00000100u; +} +inline uint32_t CUserMsg_ParticleManager::_internal_index() const { + return _impl_.index_; +} +inline uint32_t CUserMsg_ParticleManager::index() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.index) + return _internal_index(); +} +inline void CUserMsg_ParticleManager::_internal_set_index(uint32_t value) { + _impl_._has_bits_[1] |= 0x00000100u; + _impl_.index_ = value; +} +inline void CUserMsg_ParticleManager::set_index(uint32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.index) +} + +// optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; +inline bool CUserMsg_ParticleManager::_internal_has_release_particle_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.release_particle_index_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_release_particle_index() const { + return _internal_has_release_particle_index(); +} +inline void CUserMsg_ParticleManager::clear_release_particle_index() { + if (_impl_.release_particle_index_ != nullptr) _impl_.release_particle_index_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::CUserMsg_ParticleManager_ReleaseParticleIndex& CUserMsg_ParticleManager::_internal_release_particle_index() const { + const ::CUserMsg_ParticleManager_ReleaseParticleIndex* p = _impl_.release_particle_index_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ReleaseParticleIndex& CUserMsg_ParticleManager::release_particle_index() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.release_particle_index) + return _internal_release_particle_index(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_release_particle_index( + ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.release_particle_index_); + } + _impl_.release_particle_index_ = release_particle_index; + if (release_particle_index) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.release_particle_index) +} +inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::release_release_particle_index() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMsg_ParticleManager_ReleaseParticleIndex* temp = _impl_.release_particle_index_; + _impl_.release_particle_index_ = 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 ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::unsafe_arena_release_release_particle_index() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.release_particle_index) + _impl_._has_bits_[0] &= ~0x00000001u; + ::CUserMsg_ParticleManager_ReleaseParticleIndex* temp = _impl_.release_particle_index_; + _impl_.release_particle_index_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::_internal_mutable_release_particle_index() { + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.release_particle_index_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ReleaseParticleIndex>(GetArenaForAllocation()); + _impl_.release_particle_index_ = p; + } + return _impl_.release_particle_index_; +} +inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::mutable_release_particle_index() { + ::CUserMsg_ParticleManager_ReleaseParticleIndex* _msg = _internal_mutable_release_particle_index(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.release_particle_index) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_release_particle_index(::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.release_particle_index_; + } + if (release_particle_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(release_particle_index); + if (message_arena != submessage_arena) { + release_particle_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, release_particle_index, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.release_particle_index_ = release_particle_index; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.release_particle_index) +} + +// optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; +inline bool CUserMsg_ParticleManager::_internal_has_create_particle() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.create_particle_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_create_particle() const { + return _internal_has_create_particle(); +} +inline void CUserMsg_ParticleManager::clear_create_particle() { + if (_impl_.create_particle_ != nullptr) _impl_.create_particle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::CUserMsg_ParticleManager_CreateParticle& CUserMsg_ParticleManager::_internal_create_particle() const { + const ::CUserMsg_ParticleManager_CreateParticle* p = _impl_.create_particle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_CreateParticle_default_instance_); +} +inline const ::CUserMsg_ParticleManager_CreateParticle& CUserMsg_ParticleManager::create_particle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.create_particle) + return _internal_create_particle(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_create_particle( + ::CUserMsg_ParticleManager_CreateParticle* create_particle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_particle_); + } + _impl_.create_particle_ = create_particle; + if (create_particle) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.create_particle) +} +inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::release_create_particle() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CUserMsg_ParticleManager_CreateParticle* temp = _impl_.create_particle_; + _impl_.create_particle_ = 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 ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::unsafe_arena_release_create_particle() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.create_particle) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CUserMsg_ParticleManager_CreateParticle* temp = _impl_.create_particle_; + _impl_.create_particle_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::_internal_mutable_create_particle() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.create_particle_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_CreateParticle>(GetArenaForAllocation()); + _impl_.create_particle_ = p; + } + return _impl_.create_particle_; +} +inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::mutable_create_particle() { + ::CUserMsg_ParticleManager_CreateParticle* _msg = _internal_mutable_create_particle(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.create_particle) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_create_particle(::CUserMsg_ParticleManager_CreateParticle* create_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.create_particle_; + } + if (create_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create_particle); + if (message_arena != submessage_arena) { + create_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, create_particle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.create_particle_ = create_particle; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.create_particle) +} + +// optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; +inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.destroy_particle_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_destroy_particle() const { + return _internal_has_destroy_particle(); +} +inline void CUserMsg_ParticleManager::clear_destroy_particle() { + if (_impl_.destroy_particle_ != nullptr) _impl_.destroy_particle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::CUserMsg_ParticleManager_DestroyParticle& CUserMsg_ParticleManager::_internal_destroy_particle() const { + const ::CUserMsg_ParticleManager_DestroyParticle* p = _impl_.destroy_particle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_DestroyParticle_default_instance_); +} +inline const ::CUserMsg_ParticleManager_DestroyParticle& CUserMsg_ParticleManager::destroy_particle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle) + return _internal_destroy_particle(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle( + ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_); + } + _impl_.destroy_particle_ = destroy_particle; + if (destroy_particle) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle) +} +inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::release_destroy_particle() { + _impl_._has_bits_[0] &= ~0x00000004u; + ::CUserMsg_ParticleManager_DestroyParticle* temp = _impl_.destroy_particle_; + _impl_.destroy_particle_ = 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 ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle) + _impl_._has_bits_[0] &= ~0x00000004u; + ::CUserMsg_ParticleManager_DestroyParticle* temp = _impl_.destroy_particle_; + _impl_.destroy_particle_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::_internal_mutable_destroy_particle() { + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.destroy_particle_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticle>(GetArenaForAllocation()); + _impl_.destroy_particle_ = p; + } + return _impl_.destroy_particle_; +} +inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::mutable_destroy_particle() { + ::CUserMsg_ParticleManager_DestroyParticle* _msg = _internal_mutable_destroy_particle(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_destroy_particle(::CUserMsg_ParticleManager_DestroyParticle* destroy_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.destroy_particle_; + } + if (destroy_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle); + if (message_arena != submessage_arena) { + destroy_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, destroy_particle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.destroy_particle_ = destroy_particle; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle) +} + +// optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; +inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle_involving() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.destroy_particle_involving_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_destroy_particle_involving() const { + return _internal_has_destroy_particle_involving(); +} +inline void CUserMsg_ParticleManager::clear_destroy_particle_involving() { + if (_impl_.destroy_particle_involving_ != nullptr) _impl_.destroy_particle_involving_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::CUserMsg_ParticleManager_DestroyParticleInvolving& CUserMsg_ParticleManager::_internal_destroy_particle_involving() const { + const ::CUserMsg_ParticleManager_DestroyParticleInvolving* p = _impl_.destroy_particle_involving_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_); +} +inline const ::CUserMsg_ParticleManager_DestroyParticleInvolving& CUserMsg_ParticleManager::destroy_particle_involving() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle_involving) + return _internal_destroy_particle_involving(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle_involving( + ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_involving_); + } + _impl_.destroy_particle_involving_ = destroy_particle_involving; + if (destroy_particle_involving) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle_involving) +} +inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::release_destroy_particle_involving() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::CUserMsg_ParticleManager_DestroyParticleInvolving* temp = _impl_.destroy_particle_involving_; + _impl_.destroy_particle_involving_ = 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 ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle_involving() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle_involving) + _impl_._has_bits_[0] &= ~0x00000008u; + ::CUserMsg_ParticleManager_DestroyParticleInvolving* temp = _impl_.destroy_particle_involving_; + _impl_.destroy_particle_involving_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::_internal_mutable_destroy_particle_involving() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.destroy_particle_involving_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleInvolving>(GetArenaForAllocation()); + _impl_.destroy_particle_involving_ = p; + } + return _impl_.destroy_particle_involving_; +} +inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::mutable_destroy_particle_involving() { + ::CUserMsg_ParticleManager_DestroyParticleInvolving* _msg = _internal_mutable_destroy_particle_involving(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle_involving) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_destroy_particle_involving(::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.destroy_particle_involving_; + } + if (destroy_particle_involving) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle_involving); + if (message_arena != submessage_arena) { + destroy_particle_involving = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, destroy_particle_involving, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.destroy_particle_involving_ = destroy_particle_involving; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle_involving) +} + +// optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle() const { + return _internal_has_update_particle(); +} +inline void CUserMsg_ParticleManager::clear_update_particle() { + if (_impl_.update_particle_ != nullptr) _impl_.update_particle_->Clear(); + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle() const { + const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* p = _impl_.update_particle_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& CUserMsg_ParticleManager::update_particle() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle) + return _internal_update_particle(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle( + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_); + } + _impl_.update_particle_ = update_particle; + if (update_particle) { + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle) +} +inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::release_update_particle() { + _impl_._has_bits_[0] &= ~0x00000010u; + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* temp = _impl_.update_particle_; + _impl_.update_particle_ = 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 ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle) + _impl_._has_bits_[0] &= ~0x00000010u; + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* temp = _impl_.update_particle_; + _impl_.update_particle_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle() { + _impl_._has_bits_[0] |= 0x00000010u; + if (_impl_.update_particle_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE>(GetArenaForAllocation()); + _impl_.update_particle_ = p; + } + return _impl_.update_particle_; +} +inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle() { + ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* _msg = _internal_mutable_update_particle(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_; + } + if (update_particle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle); + if (message_arena != submessage_arena) { + update_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000010u; + } else { + _impl_._has_bits_[0] &= ~0x00000010u; + } + _impl_.update_particle_ = update_particle; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_fwd() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_fwd_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_fwd() const { + return _internal_has_update_particle_fwd(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_fwd() { + if (_impl_.update_particle_fwd_ != nullptr) _impl_.update_particle_fwd_->Clear(); + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle_fwd() const { + const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* p = _impl_.update_particle_fwd_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& CUserMsg_ParticleManager::update_particle_fwd() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_fwd) + return _internal_update_particle_fwd(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_fwd( + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_fwd_); + } + _impl_.update_particle_fwd_ = update_particle_fwd; + if (update_particle_fwd) { + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_fwd) +} +inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::release_update_particle_fwd() { + _impl_._has_bits_[0] &= ~0x00000020u; + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* temp = _impl_.update_particle_fwd_; + _impl_.update_particle_fwd_ = 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 ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_fwd() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_fwd) + _impl_._has_bits_[0] &= ~0x00000020u; + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* temp = _impl_.update_particle_fwd_; + _impl_.update_particle_fwd_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle_fwd() { + _impl_._has_bits_[0] |= 0x00000020u; + if (_impl_.update_particle_fwd_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE>(GetArenaForAllocation()); + _impl_.update_particle_fwd_ = p; + } + return _impl_.update_particle_fwd_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle_fwd() { + ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* _msg = _internal_mutable_update_particle_fwd(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_fwd) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_fwd(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_fwd_; + } + if (update_particle_fwd) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_fwd); + if (message_arena != submessage_arena) { + update_particle_fwd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_fwd, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000020u; + } else { + _impl_._has_bits_[0] &= ~0x00000020u; + } + _impl_.update_particle_fwd_ = update_particle_fwd; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_fwd) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_orient() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_orient_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_orient() const { + return _internal_has_update_particle_orient(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_orient() { + if (_impl_.update_particle_orient_ != nullptr) _impl_.update_particle_orient_->Clear(); + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle_orient() const { + const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* p = _impl_.update_particle_orient_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& CUserMsg_ParticleManager::update_particle_orient() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_orient) + return _internal_update_particle_orient(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_orient( + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_orient_); + } + _impl_.update_particle_orient_ = update_particle_orient; + if (update_particle_orient) { + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_orient) +} +inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::release_update_particle_orient() { + _impl_._has_bits_[0] &= ~0x00000040u; + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* temp = _impl_.update_particle_orient_; + _impl_.update_particle_orient_ = 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 ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_orient() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_orient) + _impl_._has_bits_[0] &= ~0x00000040u; + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* temp = _impl_.update_particle_orient_; + _impl_.update_particle_orient_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle_orient() { + _impl_._has_bits_[0] |= 0x00000040u; + if (_impl_.update_particle_orient_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE>(GetArenaForAllocation()); + _impl_.update_particle_orient_ = p; + } + return _impl_.update_particle_orient_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle_orient() { + ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* _msg = _internal_mutable_update_particle_orient(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_orient) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_orient(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_orient_; + } + if (update_particle_orient) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_orient); + if (message_arena != submessage_arena) { + update_particle_orient = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_orient, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000040u; + } else { + _impl_._has_bits_[0] &= ~0x00000040u; + } + _impl_.update_particle_orient_ = update_particle_orient; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_orient) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_fallback() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_fallback_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_fallback() const { + return _internal_has_update_particle_fallback(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_fallback() { + if (_impl_.update_particle_fallback_ != nullptr) _impl_.update_particle_fallback_->Clear(); + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleFallback& CUserMsg_ParticleManager::_internal_update_particle_fallback() const { + const ::CUserMsg_ParticleManager_UpdateParticleFallback* p = _impl_.update_particle_fallback_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleFallback& CUserMsg_ParticleManager::update_particle_fallback() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_fallback) + return _internal_update_particle_fallback(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_fallback( + ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_fallback_); + } + _impl_.update_particle_fallback_ = update_particle_fallback; + if (update_particle_fallback) { + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_fallback) +} +inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::release_update_particle_fallback() { + _impl_._has_bits_[0] &= ~0x00000080u; + ::CUserMsg_ParticleManager_UpdateParticleFallback* temp = _impl_.update_particle_fallback_; + _impl_.update_particle_fallback_ = 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 ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_fallback() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_fallback) + _impl_._has_bits_[0] &= ~0x00000080u; + ::CUserMsg_ParticleManager_UpdateParticleFallback* temp = _impl_.update_particle_fallback_; + _impl_.update_particle_fallback_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::_internal_mutable_update_particle_fallback() { + _impl_._has_bits_[0] |= 0x00000080u; + if (_impl_.update_particle_fallback_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFallback>(GetArenaForAllocation()); + _impl_.update_particle_fallback_ = p; + } + return _impl_.update_particle_fallback_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::mutable_update_particle_fallback() { + ::CUserMsg_ParticleManager_UpdateParticleFallback* _msg = _internal_mutable_update_particle_fallback(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_fallback) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_fallback(::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_fallback_; + } + if (update_particle_fallback) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_fallback); + if (message_arena != submessage_arena) { + update_particle_fallback = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_fallback, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000080u; + } else { + _impl_._has_bits_[0] &= ~0x00000080u; + } + _impl_.update_particle_fallback_ = update_particle_fallback; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_fallback) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_offset_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_offset() const { + return _internal_has_update_particle_offset(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_offset() { + if (_impl_.update_particle_offset_ != nullptr) _impl_.update_particle_offset_->Clear(); + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleOffset& CUserMsg_ParticleManager::_internal_update_particle_offset() const { + const ::CUserMsg_ParticleManager_UpdateParticleOffset* p = _impl_.update_particle_offset_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleOffset& CUserMsg_ParticleManager::update_particle_offset() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_offset) + return _internal_update_particle_offset(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_offset( + ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_offset_); + } + _impl_.update_particle_offset_ = update_particle_offset; + if (update_particle_offset) { + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_offset) +} +inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::release_update_particle_offset() { + _impl_._has_bits_[0] &= ~0x00000100u; + ::CUserMsg_ParticleManager_UpdateParticleOffset* temp = _impl_.update_particle_offset_; + _impl_.update_particle_offset_ = 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 ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_offset() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_offset) + _impl_._has_bits_[0] &= ~0x00000100u; + ::CUserMsg_ParticleManager_UpdateParticleOffset* temp = _impl_.update_particle_offset_; + _impl_.update_particle_offset_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::_internal_mutable_update_particle_offset() { + _impl_._has_bits_[0] |= 0x00000100u; + if (_impl_.update_particle_offset_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOffset>(GetArenaForAllocation()); + _impl_.update_particle_offset_ = p; + } + return _impl_.update_particle_offset_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::mutable_update_particle_offset() { + ::CUserMsg_ParticleManager_UpdateParticleOffset* _msg = _internal_mutable_update_particle_offset(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_offset) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_offset(::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_offset_; + } + if (update_particle_offset) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_offset); + if (message_arena != submessage_arena) { + update_particle_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_offset, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000100u; + } else { + _impl_._has_bits_[0] &= ~0x00000100u; + } + _impl_.update_particle_offset_ = update_particle_offset; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_offset) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_ent() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_ent_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_ent() const { + return _internal_has_update_particle_ent(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_ent() { + if (_impl_.update_particle_ent_ != nullptr) _impl_.update_particle_ent_->Clear(); + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleEnt& CUserMsg_ParticleManager::_internal_update_particle_ent() const { + const ::CUserMsg_ParticleManager_UpdateParticleEnt* p = _impl_.update_particle_ent_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleEnt& CUserMsg_ParticleManager::update_particle_ent() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_ent) + return _internal_update_particle_ent(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_ent( + ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_ent_); + } + _impl_.update_particle_ent_ = update_particle_ent; + if (update_particle_ent) { + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_ent) +} +inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::release_update_particle_ent() { + _impl_._has_bits_[0] &= ~0x00000200u; + ::CUserMsg_ParticleManager_UpdateParticleEnt* temp = _impl_.update_particle_ent_; + _impl_.update_particle_ent_ = 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 ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_ent() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_ent) + _impl_._has_bits_[0] &= ~0x00000200u; + ::CUserMsg_ParticleManager_UpdateParticleEnt* temp = _impl_.update_particle_ent_; + _impl_.update_particle_ent_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::_internal_mutable_update_particle_ent() { + _impl_._has_bits_[0] |= 0x00000200u; + if (_impl_.update_particle_ent_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleEnt>(GetArenaForAllocation()); + _impl_.update_particle_ent_ = p; + } + return _impl_.update_particle_ent_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::mutable_update_particle_ent() { + ::CUserMsg_ParticleManager_UpdateParticleEnt* _msg = _internal_mutable_update_particle_ent(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_ent) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_ent(::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_ent_; + } + if (update_particle_ent) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_ent); + if (message_arena != submessage_arena) { + update_particle_ent = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_ent, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000200u; + } else { + _impl_._has_bits_[0] &= ~0x00000200u; + } + _impl_.update_particle_ent_ = update_particle_ent; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_ent) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_should_draw() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_should_draw_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_should_draw() const { + return _internal_has_update_particle_should_draw(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_should_draw() { + if (_impl_.update_particle_should_draw_ != nullptr) _impl_.update_particle_should_draw_->Clear(); + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& CUserMsg_ParticleManager::_internal_update_particle_should_draw() const { + const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* p = _impl_.update_particle_should_draw_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& CUserMsg_ParticleManager::update_particle_should_draw() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_should_draw) + return _internal_update_particle_should_draw(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_should_draw( + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_should_draw_); + } + _impl_.update_particle_should_draw_ = update_particle_should_draw; + if (update_particle_should_draw) { + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_should_draw) +} +inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::release_update_particle_should_draw() { + _impl_._has_bits_[0] &= ~0x00000400u; + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* temp = _impl_.update_particle_should_draw_; + _impl_.update_particle_should_draw_ = 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 ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_should_draw() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_should_draw) + _impl_._has_bits_[0] &= ~0x00000400u; + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* temp = _impl_.update_particle_should_draw_; + _impl_.update_particle_should_draw_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::_internal_mutable_update_particle_should_draw() { + _impl_._has_bits_[0] |= 0x00000400u; + if (_impl_.update_particle_should_draw_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleShouldDraw>(GetArenaForAllocation()); + _impl_.update_particle_should_draw_ = p; + } + return _impl_.update_particle_should_draw_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::mutable_update_particle_should_draw() { + ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* _msg = _internal_mutable_update_particle_should_draw(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_should_draw) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_should_draw(::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_should_draw_; + } + if (update_particle_should_draw) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_should_draw); + if (message_arena != submessage_arena) { + update_particle_should_draw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_should_draw, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000400u; + } else { + _impl_._has_bits_[0] &= ~0x00000400u; + } + _impl_.update_particle_should_draw_ = update_particle_should_draw; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_should_draw) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_set_frozen() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_set_frozen_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_set_frozen() const { + return _internal_has_update_particle_set_frozen(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_set_frozen() { + if (_impl_.update_particle_set_frozen_ != nullptr) _impl_.update_particle_set_frozen_->Clear(); + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& CUserMsg_ParticleManager::_internal_update_particle_set_frozen() const { + const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* p = _impl_.update_particle_set_frozen_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& CUserMsg_ParticleManager::update_particle_set_frozen() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_set_frozen) + return _internal_update_particle_set_frozen(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_set_frozen( + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_set_frozen_); + } + _impl_.update_particle_set_frozen_ = update_particle_set_frozen; + if (update_particle_set_frozen) { + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_set_frozen) +} +inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::release_update_particle_set_frozen() { + _impl_._has_bits_[0] &= ~0x00000800u; + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = _impl_.update_particle_set_frozen_; + _impl_.update_particle_set_frozen_ = 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 ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_set_frozen() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_set_frozen) + _impl_._has_bits_[0] &= ~0x00000800u; + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = _impl_.update_particle_set_frozen_; + _impl_.update_particle_set_frozen_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::_internal_mutable_update_particle_set_frozen() { + _impl_._has_bits_[0] |= 0x00000800u; + if (_impl_.update_particle_set_frozen_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleSetFrozen>(GetArenaForAllocation()); + _impl_.update_particle_set_frozen_ = p; + } + return _impl_.update_particle_set_frozen_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::mutable_update_particle_set_frozen() { + ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* _msg = _internal_mutable_update_particle_set_frozen(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_set_frozen) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_set_frozen(::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_set_frozen_; + } + if (update_particle_set_frozen) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_set_frozen); + if (message_arena != submessage_arena) { + update_particle_set_frozen = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_set_frozen, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000800u; + } else { + _impl_._has_bits_[0] &= ~0x00000800u; + } + _impl_.update_particle_set_frozen_ = update_particle_set_frozen; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_set_frozen) +} + +// optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; +inline bool CUserMsg_ParticleManager::_internal_has_change_control_point_attachment() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.change_control_point_attachment_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_change_control_point_attachment() const { + return _internal_has_change_control_point_attachment(); +} +inline void CUserMsg_ParticleManager::clear_change_control_point_attachment() { + if (_impl_.change_control_point_attachment_ != nullptr) _impl_.change_control_point_attachment_->Clear(); + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& CUserMsg_ParticleManager::_internal_change_control_point_attachment() const { + const ::CUserMsg_ParticleManager_ChangeControlPointAttachment* p = _impl_.change_control_point_attachment_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& CUserMsg_ParticleManager::change_control_point_attachment() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.change_control_point_attachment) + return _internal_change_control_point_attachment(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_change_control_point_attachment( + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.change_control_point_attachment_); + } + _impl_.change_control_point_attachment_ = change_control_point_attachment; + if (change_control_point_attachment) { + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.change_control_point_attachment) +} +inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::release_change_control_point_attachment() { + _impl_._has_bits_[0] &= ~0x00001000u; + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* temp = _impl_.change_control_point_attachment_; + _impl_.change_control_point_attachment_ = 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 ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::unsafe_arena_release_change_control_point_attachment() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.change_control_point_attachment) + _impl_._has_bits_[0] &= ~0x00001000u; + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* temp = _impl_.change_control_point_attachment_; + _impl_.change_control_point_attachment_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::_internal_mutable_change_control_point_attachment() { + _impl_._has_bits_[0] |= 0x00001000u; + if (_impl_.change_control_point_attachment_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ChangeControlPointAttachment>(GetArenaForAllocation()); + _impl_.change_control_point_attachment_ = p; + } + return _impl_.change_control_point_attachment_; +} +inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::mutable_change_control_point_attachment() { + ::CUserMsg_ParticleManager_ChangeControlPointAttachment* _msg = _internal_mutable_change_control_point_attachment(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.change_control_point_attachment) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_change_control_point_attachment(::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.change_control_point_attachment_; + } + if (change_control_point_attachment) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(change_control_point_attachment); + if (message_arena != submessage_arena) { + change_control_point_attachment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, change_control_point_attachment, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00001000u; + } else { + _impl_._has_bits_[0] &= ~0x00001000u; + } + _impl_.change_control_point_attachment_ = change_control_point_attachment; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.change_control_point_attachment) +} + +// optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; +inline bool CUserMsg_ParticleManager::_internal_has_update_entity_position() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_entity_position_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_entity_position() const { + return _internal_has_update_entity_position(); +} +inline void CUserMsg_ParticleManager::clear_update_entity_position() { + if (_impl_.update_entity_position_ != nullptr) _impl_.update_entity_position_->Clear(); + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline const ::CUserMsg_ParticleManager_UpdateEntityPosition& CUserMsg_ParticleManager::_internal_update_entity_position() const { + const ::CUserMsg_ParticleManager_UpdateEntityPosition* p = _impl_.update_entity_position_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateEntityPosition& CUserMsg_ParticleManager::update_entity_position() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_entity_position) + return _internal_update_entity_position(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_entity_position( + ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_entity_position_); + } + _impl_.update_entity_position_ = update_entity_position; + if (update_entity_position) { + _impl_._has_bits_[0] |= 0x00002000u; + } else { + _impl_._has_bits_[0] &= ~0x00002000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_entity_position) +} +inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::release_update_entity_position() { + _impl_._has_bits_[0] &= ~0x00002000u; + ::CUserMsg_ParticleManager_UpdateEntityPosition* temp = _impl_.update_entity_position_; + _impl_.update_entity_position_ = 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 ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::unsafe_arena_release_update_entity_position() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_entity_position) + _impl_._has_bits_[0] &= ~0x00002000u; + ::CUserMsg_ParticleManager_UpdateEntityPosition* temp = _impl_.update_entity_position_; + _impl_.update_entity_position_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::_internal_mutable_update_entity_position() { + _impl_._has_bits_[0] |= 0x00002000u; + if (_impl_.update_entity_position_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateEntityPosition>(GetArenaForAllocation()); + _impl_.update_entity_position_ = p; + } + return _impl_.update_entity_position_; +} +inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::mutable_update_entity_position() { + ::CUserMsg_ParticleManager_UpdateEntityPosition* _msg = _internal_mutable_update_entity_position(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_entity_position) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_entity_position(::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_entity_position_; + } + if (update_entity_position) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_entity_position); + if (message_arena != submessage_arena) { + update_entity_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_entity_position, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00002000u; + } else { + _impl_._has_bits_[0] &= ~0x00002000u; + } + _impl_.update_entity_position_ = update_entity_position; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_entity_position) +} + +// optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; +inline bool CUserMsg_ParticleManager::_internal_has_set_particle_fow_properties() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_particle_fow_properties_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_particle_fow_properties() const { + return _internal_has_set_particle_fow_properties(); +} +inline void CUserMsg_ParticleManager::clear_set_particle_fow_properties() { + if (_impl_.set_particle_fow_properties_ != nullptr) _impl_.set_particle_fow_properties_->Clear(); + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline const ::CUserMsg_ParticleManager_SetParticleFoWProperties& CUserMsg_ParticleManager::_internal_set_particle_fow_properties() const { + const ::CUserMsg_ParticleManager_SetParticleFoWProperties* p = _impl_.set_particle_fow_properties_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetParticleFoWProperties& CUserMsg_ParticleManager::set_particle_fow_properties() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_fow_properties) + return _internal_set_particle_fow_properties(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_fow_properties( + ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_fow_properties_); + } + _impl_.set_particle_fow_properties_ = set_particle_fow_properties; + if (set_particle_fow_properties) { + _impl_._has_bits_[0] |= 0x00004000u; + } else { + _impl_._has_bits_[0] &= ~0x00004000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_fow_properties) +} +inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::release_set_particle_fow_properties() { + _impl_._has_bits_[0] &= ~0x00004000u; + ::CUserMsg_ParticleManager_SetParticleFoWProperties* temp = _impl_.set_particle_fow_properties_; + _impl_.set_particle_fow_properties_ = 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 ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_fow_properties() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_fow_properties) + _impl_._has_bits_[0] &= ~0x00004000u; + ::CUserMsg_ParticleManager_SetParticleFoWProperties* temp = _impl_.set_particle_fow_properties_; + _impl_.set_particle_fow_properties_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::_internal_mutable_set_particle_fow_properties() { + _impl_._has_bits_[0] |= 0x00004000u; + if (_impl_.set_particle_fow_properties_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleFoWProperties>(GetArenaForAllocation()); + _impl_.set_particle_fow_properties_ = p; + } + return _impl_.set_particle_fow_properties_; +} +inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::mutable_set_particle_fow_properties() { + ::CUserMsg_ParticleManager_SetParticleFoWProperties* _msg = _internal_mutable_set_particle_fow_properties(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_fow_properties) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_particle_fow_properties(::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_particle_fow_properties_; + } + if (set_particle_fow_properties) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_fow_properties); + if (message_arena != submessage_arena) { + set_particle_fow_properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_particle_fow_properties, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00004000u; + } else { + _impl_._has_bits_[0] &= ~0x00004000u; + } + _impl_.set_particle_fow_properties_ = set_particle_fow_properties; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_fow_properties) +} + +// optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; +inline bool CUserMsg_ParticleManager::_internal_has_set_particle_text() const { + bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_particle_text_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_particle_text() const { + return _internal_has_set_particle_text(); +} +inline void CUserMsg_ParticleManager::clear_set_particle_text() { + if (_impl_.set_particle_text_ != nullptr) _impl_.set_particle_text_->Clear(); + _impl_._has_bits_[0] &= ~0x00008000u; +} +inline const ::CUserMsg_ParticleManager_SetParticleText& CUserMsg_ParticleManager::_internal_set_particle_text() const { + const ::CUserMsg_ParticleManager_SetParticleText* p = _impl_.set_particle_text_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetParticleText_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetParticleText& CUserMsg_ParticleManager::set_particle_text() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_text) + return _internal_set_particle_text(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_text( + ::CUserMsg_ParticleManager_SetParticleText* set_particle_text) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_text_); + } + _impl_.set_particle_text_ = set_particle_text; + if (set_particle_text) { + _impl_._has_bits_[0] |= 0x00008000u; + } else { + _impl_._has_bits_[0] &= ~0x00008000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_text) +} +inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::release_set_particle_text() { + _impl_._has_bits_[0] &= ~0x00008000u; + ::CUserMsg_ParticleManager_SetParticleText* temp = _impl_.set_particle_text_; + _impl_.set_particle_text_ = 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 ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_text() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_text) + _impl_._has_bits_[0] &= ~0x00008000u; + ::CUserMsg_ParticleManager_SetParticleText* temp = _impl_.set_particle_text_; + _impl_.set_particle_text_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::_internal_mutable_set_particle_text() { + _impl_._has_bits_[0] |= 0x00008000u; + if (_impl_.set_particle_text_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleText>(GetArenaForAllocation()); + _impl_.set_particle_text_ = p; + } + return _impl_.set_particle_text_; +} +inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::mutable_set_particle_text() { + ::CUserMsg_ParticleManager_SetParticleText* _msg = _internal_mutable_set_particle_text(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_text) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_particle_text(::CUserMsg_ParticleManager_SetParticleText* set_particle_text) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_particle_text_; + } + if (set_particle_text) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_text); + if (message_arena != submessage_arena) { + set_particle_text = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_particle_text, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00008000u; + } else { + _impl_._has_bits_[0] &= ~0x00008000u; + } + _impl_.set_particle_text_ = set_particle_text; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_text) +} + +// optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; +inline bool CUserMsg_ParticleManager::_internal_has_set_particle_should_check_fow() const { + bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_particle_should_check_fow_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_particle_should_check_fow() const { + return _internal_has_set_particle_should_check_fow(); +} +inline void CUserMsg_ParticleManager::clear_set_particle_should_check_fow() { + if (_impl_.set_particle_should_check_fow_ != nullptr) _impl_.set_particle_should_check_fow_->Clear(); + _impl_._has_bits_[0] &= ~0x00010000u; +} +inline const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& CUserMsg_ParticleManager::_internal_set_particle_should_check_fow() const { + const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* p = _impl_.set_particle_should_check_fow_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& CUserMsg_ParticleManager::set_particle_should_check_fow() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_should_check_fow) + return _internal_set_particle_should_check_fow(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_should_check_fow( + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_should_check_fow_); + } + _impl_.set_particle_should_check_fow_ = set_particle_should_check_fow; + if (set_particle_should_check_fow) { + _impl_._has_bits_[0] |= 0x00010000u; + } else { + _impl_._has_bits_[0] &= ~0x00010000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_should_check_fow) +} +inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::release_set_particle_should_check_fow() { + _impl_._has_bits_[0] &= ~0x00010000u; + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* temp = _impl_.set_particle_should_check_fow_; + _impl_.set_particle_should_check_fow_ = 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 ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_should_check_fow() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_should_check_fow) + _impl_._has_bits_[0] &= ~0x00010000u; + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* temp = _impl_.set_particle_should_check_fow_; + _impl_.set_particle_should_check_fow_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::_internal_mutable_set_particle_should_check_fow() { + _impl_._has_bits_[0] |= 0x00010000u; + if (_impl_.set_particle_should_check_fow_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleShouldCheckFoW>(GetArenaForAllocation()); + _impl_.set_particle_should_check_fow_ = p; + } + return _impl_.set_particle_should_check_fow_; +} +inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::mutable_set_particle_should_check_fow() { + ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* _msg = _internal_mutable_set_particle_should_check_fow(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_should_check_fow) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_particle_should_check_fow(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_particle_should_check_fow_; + } + if (set_particle_should_check_fow) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_should_check_fow); + if (message_arena != submessage_arena) { + set_particle_should_check_fow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_particle_should_check_fow, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00010000u; + } else { + _impl_._has_bits_[0] &= ~0x00010000u; + } + _impl_.set_particle_should_check_fow_ = set_particle_should_check_fow; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_should_check_fow) +} + +// optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; +inline bool CUserMsg_ParticleManager::_internal_has_set_control_point_model() const { + bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_control_point_model_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_control_point_model() const { + return _internal_has_set_control_point_model(); +} +inline void CUserMsg_ParticleManager::clear_set_control_point_model() { + if (_impl_.set_control_point_model_ != nullptr) _impl_.set_control_point_model_->Clear(); + _impl_._has_bits_[0] &= ~0x00020000u; +} +inline const ::CUserMsg_ParticleManager_SetControlPointModel& CUserMsg_ParticleManager::_internal_set_control_point_model() const { + const ::CUserMsg_ParticleManager_SetControlPointModel* p = _impl_.set_control_point_model_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetControlPointModel_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetControlPointModel& CUserMsg_ParticleManager::set_control_point_model() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_control_point_model) + return _internal_set_control_point_model(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_control_point_model( + ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_control_point_model_); + } + _impl_.set_control_point_model_ = set_control_point_model; + if (set_control_point_model) { + _impl_._has_bits_[0] |= 0x00020000u; + } else { + _impl_._has_bits_[0] &= ~0x00020000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_control_point_model) +} +inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::release_set_control_point_model() { + _impl_._has_bits_[0] &= ~0x00020000u; + ::CUserMsg_ParticleManager_SetControlPointModel* temp = _impl_.set_control_point_model_; + _impl_.set_control_point_model_ = 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 ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::unsafe_arena_release_set_control_point_model() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_control_point_model) + _impl_._has_bits_[0] &= ~0x00020000u; + ::CUserMsg_ParticleManager_SetControlPointModel* temp = _impl_.set_control_point_model_; + _impl_.set_control_point_model_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::_internal_mutable_set_control_point_model() { + _impl_._has_bits_[0] |= 0x00020000u; + if (_impl_.set_control_point_model_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointModel>(GetArenaForAllocation()); + _impl_.set_control_point_model_ = p; + } + return _impl_.set_control_point_model_; +} +inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::mutable_set_control_point_model() { + ::CUserMsg_ParticleManager_SetControlPointModel* _msg = _internal_mutable_set_control_point_model(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_control_point_model) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_control_point_model(::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_control_point_model_; + } + if (set_control_point_model) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_control_point_model); + if (message_arena != submessage_arena) { + set_control_point_model = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_control_point_model, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00020000u; + } else { + _impl_._has_bits_[0] &= ~0x00020000u; + } + _impl_.set_control_point_model_ = set_control_point_model; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_control_point_model) +} + +// optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; +inline bool CUserMsg_ParticleManager::_internal_has_set_control_point_snapshot() const { + bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_control_point_snapshot_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_control_point_snapshot() const { + return _internal_has_set_control_point_snapshot(); +} +inline void CUserMsg_ParticleManager::clear_set_control_point_snapshot() { + if (_impl_.set_control_point_snapshot_ != nullptr) _impl_.set_control_point_snapshot_->Clear(); + _impl_._has_bits_[0] &= ~0x00040000u; +} +inline const ::CUserMsg_ParticleManager_SetControlPointSnapshot& CUserMsg_ParticleManager::_internal_set_control_point_snapshot() const { + const ::CUserMsg_ParticleManager_SetControlPointSnapshot* p = _impl_.set_control_point_snapshot_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetControlPointSnapshot& CUserMsg_ParticleManager::set_control_point_snapshot() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_control_point_snapshot) + return _internal_set_control_point_snapshot(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_control_point_snapshot( + ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_control_point_snapshot_); + } + _impl_.set_control_point_snapshot_ = set_control_point_snapshot; + if (set_control_point_snapshot) { + _impl_._has_bits_[0] |= 0x00040000u; + } else { + _impl_._has_bits_[0] &= ~0x00040000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_control_point_snapshot) +} +inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::release_set_control_point_snapshot() { + _impl_._has_bits_[0] &= ~0x00040000u; + ::CUserMsg_ParticleManager_SetControlPointSnapshot* temp = _impl_.set_control_point_snapshot_; + _impl_.set_control_point_snapshot_ = 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 ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::unsafe_arena_release_set_control_point_snapshot() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_control_point_snapshot) + _impl_._has_bits_[0] &= ~0x00040000u; + ::CUserMsg_ParticleManager_SetControlPointSnapshot* temp = _impl_.set_control_point_snapshot_; + _impl_.set_control_point_snapshot_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::_internal_mutable_set_control_point_snapshot() { + _impl_._has_bits_[0] |= 0x00040000u; + if (_impl_.set_control_point_snapshot_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointSnapshot>(GetArenaForAllocation()); + _impl_.set_control_point_snapshot_ = p; + } + return _impl_.set_control_point_snapshot_; +} +inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::mutable_set_control_point_snapshot() { + ::CUserMsg_ParticleManager_SetControlPointSnapshot* _msg = _internal_mutable_set_control_point_snapshot(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_control_point_snapshot) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_control_point_snapshot(::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_control_point_snapshot_; + } + if (set_control_point_snapshot) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_control_point_snapshot); + if (message_arena != submessage_arena) { + set_control_point_snapshot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_control_point_snapshot, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00040000u; + } else { + _impl_._has_bits_[0] &= ~0x00040000u; + } + _impl_.set_control_point_snapshot_ = set_control_point_snapshot; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_control_point_snapshot) +} + +// optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; +inline bool CUserMsg_ParticleManager::_internal_has_set_texture_attribute() const { + bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_texture_attribute_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_texture_attribute() const { + return _internal_has_set_texture_attribute(); +} +inline void CUserMsg_ParticleManager::clear_set_texture_attribute() { + if (_impl_.set_texture_attribute_ != nullptr) _impl_.set_texture_attribute_->Clear(); + _impl_._has_bits_[0] &= ~0x00080000u; +} +inline const ::CUserMsg_ParticleManager_SetTextureAttribute& CUserMsg_ParticleManager::_internal_set_texture_attribute() const { + const ::CUserMsg_ParticleManager_SetTextureAttribute* p = _impl_.set_texture_attribute_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetTextureAttribute& CUserMsg_ParticleManager::set_texture_attribute() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_texture_attribute) + return _internal_set_texture_attribute(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_texture_attribute( + ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_texture_attribute_); + } + _impl_.set_texture_attribute_ = set_texture_attribute; + if (set_texture_attribute) { + _impl_._has_bits_[0] |= 0x00080000u; + } else { + _impl_._has_bits_[0] &= ~0x00080000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_texture_attribute) +} +inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::release_set_texture_attribute() { + _impl_._has_bits_[0] &= ~0x00080000u; + ::CUserMsg_ParticleManager_SetTextureAttribute* temp = _impl_.set_texture_attribute_; + _impl_.set_texture_attribute_ = 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 ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::unsafe_arena_release_set_texture_attribute() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_texture_attribute) + _impl_._has_bits_[0] &= ~0x00080000u; + ::CUserMsg_ParticleManager_SetTextureAttribute* temp = _impl_.set_texture_attribute_; + _impl_.set_texture_attribute_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::_internal_mutable_set_texture_attribute() { + _impl_._has_bits_[0] |= 0x00080000u; + if (_impl_.set_texture_attribute_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetTextureAttribute>(GetArenaForAllocation()); + _impl_.set_texture_attribute_ = p; + } + return _impl_.set_texture_attribute_; +} +inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::mutable_set_texture_attribute() { + ::CUserMsg_ParticleManager_SetTextureAttribute* _msg = _internal_mutable_set_texture_attribute(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_texture_attribute) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_texture_attribute(::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_texture_attribute_; + } + if (set_texture_attribute) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_texture_attribute); + if (message_arena != submessage_arena) { + set_texture_attribute = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_texture_attribute, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00080000u; + } else { + _impl_._has_bits_[0] &= ~0x00080000u; + } + _impl_.set_texture_attribute_ = set_texture_attribute; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_texture_attribute) +} + +// optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; +inline bool CUserMsg_ParticleManager::_internal_has_set_scene_object_generic_flag() const { + bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_scene_object_generic_flag_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_scene_object_generic_flag() const { + return _internal_has_set_scene_object_generic_flag(); +} +inline void CUserMsg_ParticleManager::clear_set_scene_object_generic_flag() { + if (_impl_.set_scene_object_generic_flag_ != nullptr) _impl_.set_scene_object_generic_flag_->Clear(); + _impl_._has_bits_[0] &= ~0x00100000u; +} +inline const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& CUserMsg_ParticleManager::_internal_set_scene_object_generic_flag() const { + const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* p = _impl_.set_scene_object_generic_flag_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& CUserMsg_ParticleManager::set_scene_object_generic_flag() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_scene_object_generic_flag) + return _internal_set_scene_object_generic_flag(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_scene_object_generic_flag( + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_scene_object_generic_flag_); + } + _impl_.set_scene_object_generic_flag_ = set_scene_object_generic_flag; + if (set_scene_object_generic_flag) { + _impl_._has_bits_[0] |= 0x00100000u; + } else { + _impl_._has_bits_[0] &= ~0x00100000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_scene_object_generic_flag) +} +inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::release_set_scene_object_generic_flag() { + _impl_._has_bits_[0] &= ~0x00100000u; + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* temp = _impl_.set_scene_object_generic_flag_; + _impl_.set_scene_object_generic_flag_ = 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 ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::unsafe_arena_release_set_scene_object_generic_flag() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_scene_object_generic_flag) + _impl_._has_bits_[0] &= ~0x00100000u; + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* temp = _impl_.set_scene_object_generic_flag_; + _impl_.set_scene_object_generic_flag_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::_internal_mutable_set_scene_object_generic_flag() { + _impl_._has_bits_[0] |= 0x00100000u; + if (_impl_.set_scene_object_generic_flag_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectGenericFlag>(GetArenaForAllocation()); + _impl_.set_scene_object_generic_flag_ = p; + } + return _impl_.set_scene_object_generic_flag_; +} +inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::mutable_set_scene_object_generic_flag() { + ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* _msg = _internal_mutable_set_scene_object_generic_flag(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_scene_object_generic_flag) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_scene_object_generic_flag(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_scene_object_generic_flag_; + } + if (set_scene_object_generic_flag) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_scene_object_generic_flag); + if (message_arena != submessage_arena) { + set_scene_object_generic_flag = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_scene_object_generic_flag, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00100000u; + } else { + _impl_._has_bits_[0] &= ~0x00100000u; + } + _impl_.set_scene_object_generic_flag_ = set_scene_object_generic_flag; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_scene_object_generic_flag) +} + +// optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; +inline bool CUserMsg_ParticleManager::_internal_has_set_scene_object_tint_and_desat() const { + bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_scene_object_tint_and_desat_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_scene_object_tint_and_desat() const { + return _internal_has_set_scene_object_tint_and_desat(); +} +inline void CUserMsg_ParticleManager::clear_set_scene_object_tint_and_desat() { + if (_impl_.set_scene_object_tint_and_desat_ != nullptr) _impl_.set_scene_object_tint_and_desat_->Clear(); + _impl_._has_bits_[0] &= ~0x00200000u; +} +inline const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& CUserMsg_ParticleManager::_internal_set_scene_object_tint_and_desat() const { + const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* p = _impl_.set_scene_object_tint_and_desat_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& CUserMsg_ParticleManager::set_scene_object_tint_and_desat() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) + return _internal_set_scene_object_tint_and_desat(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_scene_object_tint_and_desat( + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_scene_object_tint_and_desat_); + } + _impl_.set_scene_object_tint_and_desat_ = set_scene_object_tint_and_desat; + if (set_scene_object_tint_and_desat) { + _impl_._has_bits_[0] |= 0x00200000u; + } else { + _impl_._has_bits_[0] &= ~0x00200000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) +} +inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::release_set_scene_object_tint_and_desat() { + _impl_._has_bits_[0] &= ~0x00200000u; + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* temp = _impl_.set_scene_object_tint_and_desat_; + _impl_.set_scene_object_tint_and_desat_ = 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 ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::unsafe_arena_release_set_scene_object_tint_and_desat() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) + _impl_._has_bits_[0] &= ~0x00200000u; + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* temp = _impl_.set_scene_object_tint_and_desat_; + _impl_.set_scene_object_tint_and_desat_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::_internal_mutable_set_scene_object_tint_and_desat() { + _impl_._has_bits_[0] |= 0x00200000u; + if (_impl_.set_scene_object_tint_and_desat_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat>(GetArenaForAllocation()); + _impl_.set_scene_object_tint_and_desat_ = p; + } + return _impl_.set_scene_object_tint_and_desat_; +} +inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::mutable_set_scene_object_tint_and_desat() { + ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* _msg = _internal_mutable_set_scene_object_tint_and_desat(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_scene_object_tint_and_desat(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_scene_object_tint_and_desat_; + } + if (set_scene_object_tint_and_desat) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_scene_object_tint_and_desat); + if (message_arena != submessage_arena) { + set_scene_object_tint_and_desat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_scene_object_tint_and_desat, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00200000u; + } else { + _impl_._has_bits_[0] &= ~0x00200000u; + } + _impl_.set_scene_object_tint_and_desat_ = set_scene_object_tint_and_desat; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) +} + +// optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; +inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle_named() const { + bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.destroy_particle_named_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_destroy_particle_named() const { + return _internal_has_destroy_particle_named(); +} +inline void CUserMsg_ParticleManager::clear_destroy_particle_named() { + if (_impl_.destroy_particle_named_ != nullptr) _impl_.destroy_particle_named_->Clear(); + _impl_._has_bits_[0] &= ~0x00400000u; +} +inline const ::CUserMsg_ParticleManager_DestroyParticleNamed& CUserMsg_ParticleManager::_internal_destroy_particle_named() const { + const ::CUserMsg_ParticleManager_DestroyParticleNamed* p = _impl_.destroy_particle_named_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_); +} +inline const ::CUserMsg_ParticleManager_DestroyParticleNamed& CUserMsg_ParticleManager::destroy_particle_named() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle_named) + return _internal_destroy_particle_named(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle_named( + ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_named_); + } + _impl_.destroy_particle_named_ = destroy_particle_named; + if (destroy_particle_named) { + _impl_._has_bits_[0] |= 0x00400000u; + } else { + _impl_._has_bits_[0] &= ~0x00400000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle_named) +} +inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::release_destroy_particle_named() { + _impl_._has_bits_[0] &= ~0x00400000u; + ::CUserMsg_ParticleManager_DestroyParticleNamed* temp = _impl_.destroy_particle_named_; + _impl_.destroy_particle_named_ = 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 ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle_named() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle_named) + _impl_._has_bits_[0] &= ~0x00400000u; + ::CUserMsg_ParticleManager_DestroyParticleNamed* temp = _impl_.destroy_particle_named_; + _impl_.destroy_particle_named_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::_internal_mutable_destroy_particle_named() { + _impl_._has_bits_[0] |= 0x00400000u; + if (_impl_.destroy_particle_named_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleNamed>(GetArenaForAllocation()); + _impl_.destroy_particle_named_ = p; + } + return _impl_.destroy_particle_named_; +} +inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::mutable_destroy_particle_named() { + ::CUserMsg_ParticleManager_DestroyParticleNamed* _msg = _internal_mutable_destroy_particle_named(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle_named) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_destroy_particle_named(::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.destroy_particle_named_; + } + if (destroy_particle_named) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle_named); + if (message_arena != submessage_arena) { + destroy_particle_named = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, destroy_particle_named, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00400000u; + } else { + _impl_._has_bits_[0] &= ~0x00400000u; + } + _impl_.destroy_particle_named_ = destroy_particle_named; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle_named) +} + +// optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; +inline bool CUserMsg_ParticleManager::_internal_has_particle_skip_to_time() const { + bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.particle_skip_to_time_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_particle_skip_to_time() const { + return _internal_has_particle_skip_to_time(); +} +inline void CUserMsg_ParticleManager::clear_particle_skip_to_time() { + if (_impl_.particle_skip_to_time_ != nullptr) _impl_.particle_skip_to_time_->Clear(); + _impl_._has_bits_[0] &= ~0x00800000u; +} +inline const ::CUserMsg_ParticleManager_ParticleSkipToTime& CUserMsg_ParticleManager::_internal_particle_skip_to_time() const { + const ::CUserMsg_ParticleManager_ParticleSkipToTime* p = _impl_.particle_skip_to_time_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ParticleSkipToTime& CUserMsg_ParticleManager::particle_skip_to_time() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_skip_to_time) + return _internal_particle_skip_to_time(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_skip_to_time( + ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_skip_to_time_); + } + _impl_.particle_skip_to_time_ = particle_skip_to_time; + if (particle_skip_to_time) { + _impl_._has_bits_[0] |= 0x00800000u; + } else { + _impl_._has_bits_[0] &= ~0x00800000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_skip_to_time) +} +inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::release_particle_skip_to_time() { + _impl_._has_bits_[0] &= ~0x00800000u; + ::CUserMsg_ParticleManager_ParticleSkipToTime* temp = _impl_.particle_skip_to_time_; + _impl_.particle_skip_to_time_ = 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 ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::unsafe_arena_release_particle_skip_to_time() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_skip_to_time) + _impl_._has_bits_[0] &= ~0x00800000u; + ::CUserMsg_ParticleManager_ParticleSkipToTime* temp = _impl_.particle_skip_to_time_; + _impl_.particle_skip_to_time_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::_internal_mutable_particle_skip_to_time() { + _impl_._has_bits_[0] |= 0x00800000u; + if (_impl_.particle_skip_to_time_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleSkipToTime>(GetArenaForAllocation()); + _impl_.particle_skip_to_time_ = p; + } + return _impl_.particle_skip_to_time_; +} +inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::mutable_particle_skip_to_time() { + ::CUserMsg_ParticleManager_ParticleSkipToTime* _msg = _internal_mutable_particle_skip_to_time(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_skip_to_time) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_particle_skip_to_time(::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.particle_skip_to_time_; + } + if (particle_skip_to_time) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_skip_to_time); + if (message_arena != submessage_arena) { + particle_skip_to_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, particle_skip_to_time, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00800000u; + } else { + _impl_._has_bits_[0] &= ~0x00800000u; + } + _impl_.particle_skip_to_time_ = particle_skip_to_time; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_skip_to_time) +} + +// optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; +inline bool CUserMsg_ParticleManager::_internal_has_particle_can_freeze() const { + bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.particle_can_freeze_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_particle_can_freeze() const { + return _internal_has_particle_can_freeze(); +} +inline void CUserMsg_ParticleManager::clear_particle_can_freeze() { + if (_impl_.particle_can_freeze_ != nullptr) _impl_.particle_can_freeze_->Clear(); + _impl_._has_bits_[0] &= ~0x01000000u; +} +inline const ::CUserMsg_ParticleManager_ParticleCanFreeze& CUserMsg_ParticleManager::_internal_particle_can_freeze() const { + const ::CUserMsg_ParticleManager_ParticleCanFreeze* p = _impl_.particle_can_freeze_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ParticleCanFreeze& CUserMsg_ParticleManager::particle_can_freeze() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_can_freeze) + return _internal_particle_can_freeze(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_can_freeze( + ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_can_freeze_); + } + _impl_.particle_can_freeze_ = particle_can_freeze; + if (particle_can_freeze) { + _impl_._has_bits_[0] |= 0x01000000u; + } else { + _impl_._has_bits_[0] &= ~0x01000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_can_freeze) +} +inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::release_particle_can_freeze() { + _impl_._has_bits_[0] &= ~0x01000000u; + ::CUserMsg_ParticleManager_ParticleCanFreeze* temp = _impl_.particle_can_freeze_; + _impl_.particle_can_freeze_ = 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 ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::unsafe_arena_release_particle_can_freeze() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_can_freeze) + _impl_._has_bits_[0] &= ~0x01000000u; + ::CUserMsg_ParticleManager_ParticleCanFreeze* temp = _impl_.particle_can_freeze_; + _impl_.particle_can_freeze_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::_internal_mutable_particle_can_freeze() { + _impl_._has_bits_[0] |= 0x01000000u; + if (_impl_.particle_can_freeze_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleCanFreeze>(GetArenaForAllocation()); + _impl_.particle_can_freeze_ = p; + } + return _impl_.particle_can_freeze_; +} +inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::mutable_particle_can_freeze() { + ::CUserMsg_ParticleManager_ParticleCanFreeze* _msg = _internal_mutable_particle_can_freeze(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_can_freeze) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_particle_can_freeze(::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.particle_can_freeze_; + } + if (particle_can_freeze) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_can_freeze); + if (message_arena != submessage_arena) { + particle_can_freeze = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, particle_can_freeze, submessage_arena); + } + _impl_._has_bits_[0] |= 0x01000000u; + } else { + _impl_._has_bits_[0] &= ~0x01000000u; + } + _impl_.particle_can_freeze_ = particle_can_freeze; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_can_freeze) +} + +// optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; +inline bool CUserMsg_ParticleManager::_internal_has_set_named_value_context() const { + bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_named_value_context_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_named_value_context() const { + return _internal_has_set_named_value_context(); +} +inline void CUserMsg_ParticleManager::clear_set_named_value_context() { + if (_impl_.set_named_value_context_ != nullptr) _impl_.set_named_value_context_->Clear(); + _impl_._has_bits_[0] &= ~0x02000000u; +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& CUserMsg_ParticleManager::_internal_set_named_value_context() const { + const ::CUserMsg_ParticleManager_SetParticleNamedValueContext* p = _impl_.set_named_value_context_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& CUserMsg_ParticleManager::set_named_value_context() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_named_value_context) + return _internal_set_named_value_context(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_named_value_context( + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_named_value_context_); + } + _impl_.set_named_value_context_ = set_named_value_context; + if (set_named_value_context) { + _impl_._has_bits_[0] |= 0x02000000u; + } else { + _impl_._has_bits_[0] &= ~0x02000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_named_value_context) +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::release_set_named_value_context() { + _impl_._has_bits_[0] &= ~0x02000000u; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* temp = _impl_.set_named_value_context_; + _impl_.set_named_value_context_ = 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 ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::unsafe_arena_release_set_named_value_context() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_named_value_context) + _impl_._has_bits_[0] &= ~0x02000000u; + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* temp = _impl_.set_named_value_context_; + _impl_.set_named_value_context_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::_internal_mutable_set_named_value_context() { + _impl_._has_bits_[0] |= 0x02000000u; + if (_impl_.set_named_value_context_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext>(GetArenaForAllocation()); + _impl_.set_named_value_context_ = p; + } + return _impl_.set_named_value_context_; +} +inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::mutable_set_named_value_context() { + ::CUserMsg_ParticleManager_SetParticleNamedValueContext* _msg = _internal_mutable_set_named_value_context(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_named_value_context) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_named_value_context(::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_named_value_context_; + } + if (set_named_value_context) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_named_value_context); + if (message_arena != submessage_arena) { + set_named_value_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_named_value_context, submessage_arena); + } + _impl_._has_bits_[0] |= 0x02000000u; + } else { + _impl_._has_bits_[0] &= ~0x02000000u; + } + _impl_.set_named_value_context_ = set_named_value_context; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_named_value_context) +} + +// optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; +inline bool CUserMsg_ParticleManager::_internal_has_update_particle_transform() const { + bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_particle_transform_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_particle_transform() const { + return _internal_has_update_particle_transform(); +} +inline void CUserMsg_ParticleManager::clear_update_particle_transform() { + if (_impl_.update_particle_transform_ != nullptr) _impl_.update_particle_transform_->Clear(); + _impl_._has_bits_[0] &= ~0x04000000u; +} +inline const ::CUserMsg_ParticleManager_UpdateParticleTransform& CUserMsg_ParticleManager::_internal_update_particle_transform() const { + const ::CUserMsg_ParticleManager_UpdateParticleTransform* p = _impl_.update_particle_transform_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateParticleTransform& CUserMsg_ParticleManager::update_particle_transform() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_transform) + return _internal_update_particle_transform(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_transform( + ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_transform_); + } + _impl_.update_particle_transform_ = update_particle_transform; + if (update_particle_transform) { + _impl_._has_bits_[0] |= 0x04000000u; + } else { + _impl_._has_bits_[0] &= ~0x04000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_transform) +} +inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::release_update_particle_transform() { + _impl_._has_bits_[0] &= ~0x04000000u; + ::CUserMsg_ParticleManager_UpdateParticleTransform* temp = _impl_.update_particle_transform_; + _impl_.update_particle_transform_ = 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 ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_transform() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_transform) + _impl_._has_bits_[0] &= ~0x04000000u; + ::CUserMsg_ParticleManager_UpdateParticleTransform* temp = _impl_.update_particle_transform_; + _impl_.update_particle_transform_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::_internal_mutable_update_particle_transform() { + _impl_._has_bits_[0] |= 0x04000000u; + if (_impl_.update_particle_transform_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleTransform>(GetArenaForAllocation()); + _impl_.update_particle_transform_ = p; + } + return _impl_.update_particle_transform_; +} +inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::mutable_update_particle_transform() { + ::CUserMsg_ParticleManager_UpdateParticleTransform* _msg = _internal_mutable_update_particle_transform(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_transform) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_particle_transform(::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_particle_transform_; + } + if (update_particle_transform) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_transform); + if (message_arena != submessage_arena) { + update_particle_transform = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_particle_transform, submessage_arena); + } + _impl_._has_bits_[0] |= 0x04000000u; + } else { + _impl_._has_bits_[0] &= ~0x04000000u; + } + _impl_.update_particle_transform_ = update_particle_transform; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_transform) +} + +// optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; +inline bool CUserMsg_ParticleManager::_internal_has_particle_freeze_transition_override() const { + bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.particle_freeze_transition_override_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_particle_freeze_transition_override() const { + return _internal_has_particle_freeze_transition_override(); +} +inline void CUserMsg_ParticleManager::clear_particle_freeze_transition_override() { + if (_impl_.particle_freeze_transition_override_ != nullptr) _impl_.particle_freeze_transition_override_->Clear(); + _impl_._has_bits_[0] &= ~0x08000000u; +} +inline const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& CUserMsg_ParticleManager::_internal_particle_freeze_transition_override() const { + const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* p = _impl_.particle_freeze_transition_override_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& CUserMsg_ParticleManager::particle_freeze_transition_override() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_freeze_transition_override) + return _internal_particle_freeze_transition_override(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_freeze_transition_override( + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_freeze_transition_override_); + } + _impl_.particle_freeze_transition_override_ = particle_freeze_transition_override; + if (particle_freeze_transition_override) { + _impl_._has_bits_[0] |= 0x08000000u; + } else { + _impl_._has_bits_[0] &= ~0x08000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_freeze_transition_override) +} +inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::release_particle_freeze_transition_override() { + _impl_._has_bits_[0] &= ~0x08000000u; + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* temp = _impl_.particle_freeze_transition_override_; + _impl_.particle_freeze_transition_override_ = 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 ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::unsafe_arena_release_particle_freeze_transition_override() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_freeze_transition_override) + _impl_._has_bits_[0] &= ~0x08000000u; + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* temp = _impl_.particle_freeze_transition_override_; + _impl_.particle_freeze_transition_override_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::_internal_mutable_particle_freeze_transition_override() { + _impl_._has_bits_[0] |= 0x08000000u; + if (_impl_.particle_freeze_transition_override_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride>(GetArenaForAllocation()); + _impl_.particle_freeze_transition_override_ = p; + } + return _impl_.particle_freeze_transition_override_; +} +inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::mutable_particle_freeze_transition_override() { + ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* _msg = _internal_mutable_particle_freeze_transition_override(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_freeze_transition_override) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_particle_freeze_transition_override(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.particle_freeze_transition_override_; + } + if (particle_freeze_transition_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_freeze_transition_override); + if (message_arena != submessage_arena) { + particle_freeze_transition_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, particle_freeze_transition_override, submessage_arena); + } + _impl_._has_bits_[0] |= 0x08000000u; + } else { + _impl_._has_bits_[0] &= ~0x08000000u; + } + _impl_.particle_freeze_transition_override_ = particle_freeze_transition_override; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_freeze_transition_override) +} + +// optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; +inline bool CUserMsg_ParticleManager::_internal_has_freeze_particle_involving() const { + bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.freeze_particle_involving_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_freeze_particle_involving() const { + return _internal_has_freeze_particle_involving(); +} +inline void CUserMsg_ParticleManager::clear_freeze_particle_involving() { + if (_impl_.freeze_particle_involving_ != nullptr) _impl_.freeze_particle_involving_->Clear(); + _impl_._has_bits_[0] &= ~0x10000000u; +} +inline const ::CUserMsg_ParticleManager_FreezeParticleInvolving& CUserMsg_ParticleManager::_internal_freeze_particle_involving() const { + const ::CUserMsg_ParticleManager_FreezeParticleInvolving* p = _impl_.freeze_particle_involving_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_); +} +inline const ::CUserMsg_ParticleManager_FreezeParticleInvolving& CUserMsg_ParticleManager::freeze_particle_involving() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.freeze_particle_involving) + return _internal_freeze_particle_involving(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_freeze_particle_involving( + ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.freeze_particle_involving_); + } + _impl_.freeze_particle_involving_ = freeze_particle_involving; + if (freeze_particle_involving) { + _impl_._has_bits_[0] |= 0x10000000u; + } else { + _impl_._has_bits_[0] &= ~0x10000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.freeze_particle_involving) +} +inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::release_freeze_particle_involving() { + _impl_._has_bits_[0] &= ~0x10000000u; + ::CUserMsg_ParticleManager_FreezeParticleInvolving* temp = _impl_.freeze_particle_involving_; + _impl_.freeze_particle_involving_ = 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 ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::unsafe_arena_release_freeze_particle_involving() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.freeze_particle_involving) + _impl_._has_bits_[0] &= ~0x10000000u; + ::CUserMsg_ParticleManager_FreezeParticleInvolving* temp = _impl_.freeze_particle_involving_; + _impl_.freeze_particle_involving_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::_internal_mutable_freeze_particle_involving() { + _impl_._has_bits_[0] |= 0x10000000u; + if (_impl_.freeze_particle_involving_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_FreezeParticleInvolving>(GetArenaForAllocation()); + _impl_.freeze_particle_involving_ = p; + } + return _impl_.freeze_particle_involving_; +} +inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::mutable_freeze_particle_involving() { + ::CUserMsg_ParticleManager_FreezeParticleInvolving* _msg = _internal_mutable_freeze_particle_involving(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.freeze_particle_involving) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_freeze_particle_involving(::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.freeze_particle_involving_; + } + if (freeze_particle_involving) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(freeze_particle_involving); + if (message_arena != submessage_arena) { + freeze_particle_involving = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, freeze_particle_involving, submessage_arena); + } + _impl_._has_bits_[0] |= 0x10000000u; + } else { + _impl_._has_bits_[0] &= ~0x10000000u; + } + _impl_.freeze_particle_involving_ = freeze_particle_involving; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.freeze_particle_involving) +} + +// optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; +inline bool CUserMsg_ParticleManager::_internal_has_add_modellist_override_element() const { + bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.add_modellist_override_element_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_add_modellist_override_element() const { + return _internal_has_add_modellist_override_element(); +} +inline void CUserMsg_ParticleManager::clear_add_modellist_override_element() { + if (_impl_.add_modellist_override_element_ != nullptr) _impl_.add_modellist_override_element_->Clear(); + _impl_._has_bits_[0] &= ~0x20000000u; +} +inline const ::CUserMsg_ParticleManager_AddModellistOverrideElement& CUserMsg_ParticleManager::_internal_add_modellist_override_element() const { + const ::CUserMsg_ParticleManager_AddModellistOverrideElement* p = _impl_.add_modellist_override_element_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_); +} +inline const ::CUserMsg_ParticleManager_AddModellistOverrideElement& CUserMsg_ParticleManager::add_modellist_override_element() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.add_modellist_override_element) + return _internal_add_modellist_override_element(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_add_modellist_override_element( + ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_modellist_override_element_); + } + _impl_.add_modellist_override_element_ = add_modellist_override_element; + if (add_modellist_override_element) { + _impl_._has_bits_[0] |= 0x20000000u; + } else { + _impl_._has_bits_[0] &= ~0x20000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.add_modellist_override_element) +} +inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::release_add_modellist_override_element() { + _impl_._has_bits_[0] &= ~0x20000000u; + ::CUserMsg_ParticleManager_AddModellistOverrideElement* temp = _impl_.add_modellist_override_element_; + _impl_.add_modellist_override_element_ = 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 ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::unsafe_arena_release_add_modellist_override_element() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.add_modellist_override_element) + _impl_._has_bits_[0] &= ~0x20000000u; + ::CUserMsg_ParticleManager_AddModellistOverrideElement* temp = _impl_.add_modellist_override_element_; + _impl_.add_modellist_override_element_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::_internal_mutable_add_modellist_override_element() { + _impl_._has_bits_[0] |= 0x20000000u; + if (_impl_.add_modellist_override_element_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_AddModellistOverrideElement>(GetArenaForAllocation()); + _impl_.add_modellist_override_element_ = p; + } + return _impl_.add_modellist_override_element_; +} +inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::mutable_add_modellist_override_element() { + ::CUserMsg_ParticleManager_AddModellistOverrideElement* _msg = _internal_mutable_add_modellist_override_element(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.add_modellist_override_element) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_add_modellist_override_element(::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.add_modellist_override_element_; + } + if (add_modellist_override_element) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_modellist_override_element); + if (message_arena != submessage_arena) { + add_modellist_override_element = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, add_modellist_override_element, submessage_arena); + } + _impl_._has_bits_[0] |= 0x20000000u; + } else { + _impl_._has_bits_[0] &= ~0x20000000u; + } + _impl_.add_modellist_override_element_ = add_modellist_override_element; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.add_modellist_override_element) +} + +// optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; +inline bool CUserMsg_ParticleManager::_internal_has_clear_modellist_override() const { + bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.clear_modellist_override_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_clear_modellist_override() const { + return _internal_has_clear_modellist_override(); +} +inline void CUserMsg_ParticleManager::clear_clear_modellist_override() { + if (_impl_.clear_modellist_override_ != nullptr) _impl_.clear_modellist_override_->Clear(); + _impl_._has_bits_[0] &= ~0x40000000u; +} +inline const ::CUserMsg_ParticleManager_ClearModellistOverride& CUserMsg_ParticleManager::_internal_clear_modellist_override() const { + const ::CUserMsg_ParticleManager_ClearModellistOverride* p = _impl_.clear_modellist_override_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_); +} +inline const ::CUserMsg_ParticleManager_ClearModellistOverride& CUserMsg_ParticleManager::clear_modellist_override() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.clear_modellist_override) + return _internal_clear_modellist_override(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_clear_modellist_override( + ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clear_modellist_override_); + } + _impl_.clear_modellist_override_ = clear_modellist_override; + if (clear_modellist_override) { + _impl_._has_bits_[0] |= 0x40000000u; + } else { + _impl_._has_bits_[0] &= ~0x40000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.clear_modellist_override) +} +inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::release_clear_modellist_override() { + _impl_._has_bits_[0] &= ~0x40000000u; + ::CUserMsg_ParticleManager_ClearModellistOverride* temp = _impl_.clear_modellist_override_; + _impl_.clear_modellist_override_ = 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 ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::unsafe_arena_release_clear_modellist_override() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.clear_modellist_override) + _impl_._has_bits_[0] &= ~0x40000000u; + ::CUserMsg_ParticleManager_ClearModellistOverride* temp = _impl_.clear_modellist_override_; + _impl_.clear_modellist_override_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::_internal_mutable_clear_modellist_override() { + _impl_._has_bits_[0] |= 0x40000000u; + if (_impl_.clear_modellist_override_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ClearModellistOverride>(GetArenaForAllocation()); + _impl_.clear_modellist_override_ = p; + } + return _impl_.clear_modellist_override_; +} +inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::mutable_clear_modellist_override() { + ::CUserMsg_ParticleManager_ClearModellistOverride* _msg = _internal_mutable_clear_modellist_override(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.clear_modellist_override) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_clear_modellist_override(::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.clear_modellist_override_; + } + if (clear_modellist_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(clear_modellist_override); + if (message_arena != submessage_arena) { + clear_modellist_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, clear_modellist_override, submessage_arena); + } + _impl_._has_bits_[0] |= 0x40000000u; + } else { + _impl_._has_bits_[0] &= ~0x40000000u; + } + _impl_.clear_modellist_override_ = clear_modellist_override; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.clear_modellist_override) +} + +// optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; +inline bool CUserMsg_ParticleManager::_internal_has_create_physics_sim() const { + bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; + PROTOBUF_ASSUME(!value || _impl_.create_physics_sim_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_create_physics_sim() const { + return _internal_has_create_physics_sim(); +} +inline void CUserMsg_ParticleManager::clear_create_physics_sim() { + if (_impl_.create_physics_sim_ != nullptr) _impl_.create_physics_sim_->Clear(); + _impl_._has_bits_[0] &= ~0x80000000u; +} +inline const ::CUserMsg_ParticleManager_CreatePhysicsSim& CUserMsg_ParticleManager::_internal_create_physics_sim() const { + const ::CUserMsg_ParticleManager_CreatePhysicsSim* p = _impl_.create_physics_sim_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_); +} +inline const ::CUserMsg_ParticleManager_CreatePhysicsSim& CUserMsg_ParticleManager::create_physics_sim() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.create_physics_sim) + return _internal_create_physics_sim(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_create_physics_sim( + ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_physics_sim_); + } + _impl_.create_physics_sim_ = create_physics_sim; + if (create_physics_sim) { + _impl_._has_bits_[0] |= 0x80000000u; + } else { + _impl_._has_bits_[0] &= ~0x80000000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.create_physics_sim) +} +inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::release_create_physics_sim() { + _impl_._has_bits_[0] &= ~0x80000000u; + ::CUserMsg_ParticleManager_CreatePhysicsSim* temp = _impl_.create_physics_sim_; + _impl_.create_physics_sim_ = 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 ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::unsafe_arena_release_create_physics_sim() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.create_physics_sim) + _impl_._has_bits_[0] &= ~0x80000000u; + ::CUserMsg_ParticleManager_CreatePhysicsSim* temp = _impl_.create_physics_sim_; + _impl_.create_physics_sim_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::_internal_mutable_create_physics_sim() { + _impl_._has_bits_[0] |= 0x80000000u; + if (_impl_.create_physics_sim_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_CreatePhysicsSim>(GetArenaForAllocation()); + _impl_.create_physics_sim_ = p; + } + return _impl_.create_physics_sim_; +} +inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::mutable_create_physics_sim() { + ::CUserMsg_ParticleManager_CreatePhysicsSim* _msg = _internal_mutable_create_physics_sim(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.create_physics_sim) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_create_physics_sim(::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.create_physics_sim_; + } + if (create_physics_sim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create_physics_sim); + if (message_arena != submessage_arena) { + create_physics_sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, create_physics_sim, submessage_arena); + } + _impl_._has_bits_[0] |= 0x80000000u; + } else { + _impl_._has_bits_[0] &= ~0x80000000u; + } + _impl_.create_physics_sim_ = create_physics_sim; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.create_physics_sim) +} + +// optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; +inline bool CUserMsg_ParticleManager::_internal_has_destroy_physics_sim() const { + bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.destroy_physics_sim_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_destroy_physics_sim() const { + return _internal_has_destroy_physics_sim(); +} +inline void CUserMsg_ParticleManager::clear_destroy_physics_sim() { + if (_impl_.destroy_physics_sim_ != nullptr) _impl_.destroy_physics_sim_->Clear(); + _impl_._has_bits_[1] &= ~0x00000001u; +} +inline const ::CUserMsg_ParticleManager_DestroyPhysicsSim& CUserMsg_ParticleManager::_internal_destroy_physics_sim() const { + const ::CUserMsg_ParticleManager_DestroyPhysicsSim* p = _impl_.destroy_physics_sim_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_); +} +inline const ::CUserMsg_ParticleManager_DestroyPhysicsSim& CUserMsg_ParticleManager::destroy_physics_sim() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_physics_sim) + return _internal_destroy_physics_sim(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_physics_sim( + ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_physics_sim_); + } + _impl_.destroy_physics_sim_ = destroy_physics_sim; + if (destroy_physics_sim) { + _impl_._has_bits_[1] |= 0x00000001u; + } else { + _impl_._has_bits_[1] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_physics_sim) +} +inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::release_destroy_physics_sim() { + _impl_._has_bits_[1] &= ~0x00000001u; + ::CUserMsg_ParticleManager_DestroyPhysicsSim* temp = _impl_.destroy_physics_sim_; + _impl_.destroy_physics_sim_ = 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 ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::unsafe_arena_release_destroy_physics_sim() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_physics_sim) + _impl_._has_bits_[1] &= ~0x00000001u; + ::CUserMsg_ParticleManager_DestroyPhysicsSim* temp = _impl_.destroy_physics_sim_; + _impl_.destroy_physics_sim_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::_internal_mutable_destroy_physics_sim() { + _impl_._has_bits_[1] |= 0x00000001u; + if (_impl_.destroy_physics_sim_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyPhysicsSim>(GetArenaForAllocation()); + _impl_.destroy_physics_sim_ = p; + } + return _impl_.destroy_physics_sim_; +} +inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::mutable_destroy_physics_sim() { + ::CUserMsg_ParticleManager_DestroyPhysicsSim* _msg = _internal_mutable_destroy_physics_sim(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_physics_sim) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_destroy_physics_sim(::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.destroy_physics_sim_; + } + if (destroy_physics_sim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_physics_sim); + if (message_arena != submessage_arena) { + destroy_physics_sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, destroy_physics_sim, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000001u; + } else { + _impl_._has_bits_[1] &= ~0x00000001u; + } + _impl_.destroy_physics_sim_ = destroy_physics_sim; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_physics_sim) +} + +// optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; +inline bool CUserMsg_ParticleManager::_internal_has_set_vdata() const { + bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_vdata_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_vdata() const { + return _internal_has_set_vdata(); +} +inline void CUserMsg_ParticleManager::clear_set_vdata() { + if (_impl_.set_vdata_ != nullptr) _impl_.set_vdata_->Clear(); + _impl_._has_bits_[1] &= ~0x00000002u; +} +inline const ::CUserMsg_ParticleManager_SetVData& CUserMsg_ParticleManager::_internal_set_vdata() const { + const ::CUserMsg_ParticleManager_SetVData* p = _impl_.set_vdata_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetVData_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetVData& CUserMsg_ParticleManager::set_vdata() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_vdata) + return _internal_set_vdata(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_vdata( + ::CUserMsg_ParticleManager_SetVData* set_vdata) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_vdata_); + } + _impl_.set_vdata_ = set_vdata; + if (set_vdata) { + _impl_._has_bits_[1] |= 0x00000002u; + } else { + _impl_._has_bits_[1] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_vdata) +} +inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::release_set_vdata() { + _impl_._has_bits_[1] &= ~0x00000002u; + ::CUserMsg_ParticleManager_SetVData* temp = _impl_.set_vdata_; + _impl_.set_vdata_ = 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 ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::unsafe_arena_release_set_vdata() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_vdata) + _impl_._has_bits_[1] &= ~0x00000002u; + ::CUserMsg_ParticleManager_SetVData* temp = _impl_.set_vdata_; + _impl_.set_vdata_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::_internal_mutable_set_vdata() { + _impl_._has_bits_[1] |= 0x00000002u; + if (_impl_.set_vdata_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetVData>(GetArenaForAllocation()); + _impl_.set_vdata_ = p; + } + return _impl_.set_vdata_; +} +inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::mutable_set_vdata() { + ::CUserMsg_ParticleManager_SetVData* _msg = _internal_mutable_set_vdata(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_vdata) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_vdata(::CUserMsg_ParticleManager_SetVData* set_vdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_vdata_; + } + if (set_vdata) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_vdata); + if (message_arena != submessage_arena) { + set_vdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_vdata, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000002u; + } else { + _impl_._has_bits_[1] &= ~0x00000002u; + } + _impl_.set_vdata_ = set_vdata; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_vdata) +} + +// optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; +inline bool CUserMsg_ParticleManager::_internal_has_set_material_override() const { + bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_material_override_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_material_override() const { + return _internal_has_set_material_override(); +} +inline void CUserMsg_ParticleManager::clear_set_material_override() { + if (_impl_.set_material_override_ != nullptr) _impl_.set_material_override_->Clear(); + _impl_._has_bits_[1] &= ~0x00000004u; +} +inline const ::CUserMsg_ParticleManager_SetMaterialOverride& CUserMsg_ParticleManager::_internal_set_material_override() const { + const ::CUserMsg_ParticleManager_SetMaterialOverride* p = _impl_.set_material_override_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetMaterialOverride& CUserMsg_ParticleManager::set_material_override() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_material_override) + return _internal_set_material_override(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_material_override( + ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_material_override_); + } + _impl_.set_material_override_ = set_material_override; + if (set_material_override) { + _impl_._has_bits_[1] |= 0x00000004u; + } else { + _impl_._has_bits_[1] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_material_override) +} +inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::release_set_material_override() { + _impl_._has_bits_[1] &= ~0x00000004u; + ::CUserMsg_ParticleManager_SetMaterialOverride* temp = _impl_.set_material_override_; + _impl_.set_material_override_ = 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 ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::unsafe_arena_release_set_material_override() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_material_override) + _impl_._has_bits_[1] &= ~0x00000004u; + ::CUserMsg_ParticleManager_SetMaterialOverride* temp = _impl_.set_material_override_; + _impl_.set_material_override_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::_internal_mutable_set_material_override() { + _impl_._has_bits_[1] |= 0x00000004u; + if (_impl_.set_material_override_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetMaterialOverride>(GetArenaForAllocation()); + _impl_.set_material_override_ = p; + } + return _impl_.set_material_override_; +} +inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::mutable_set_material_override() { + ::CUserMsg_ParticleManager_SetMaterialOverride* _msg = _internal_mutable_set_material_override(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_material_override) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_material_override(::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_material_override_; + } + if (set_material_override) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_material_override); + if (message_arena != submessage_arena) { + set_material_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_material_override, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000004u; + } else { + _impl_._has_bits_[1] &= ~0x00000004u; + } + _impl_.set_material_override_ = set_material_override; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_material_override) +} + +// optional .CUserMsg_ParticleManager.AddFan add_fan = 39; +inline bool CUserMsg_ParticleManager::_internal_has_add_fan() const { + bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.add_fan_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_add_fan() const { + return _internal_has_add_fan(); +} +inline void CUserMsg_ParticleManager::clear_add_fan() { + if (_impl_.add_fan_ != nullptr) _impl_.add_fan_->Clear(); + _impl_._has_bits_[1] &= ~0x00000008u; +} +inline const ::CUserMsg_ParticleManager_AddFan& CUserMsg_ParticleManager::_internal_add_fan() const { + const ::CUserMsg_ParticleManager_AddFan* p = _impl_.add_fan_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_AddFan_default_instance_); +} +inline const ::CUserMsg_ParticleManager_AddFan& CUserMsg_ParticleManager::add_fan() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.add_fan) + return _internal_add_fan(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_add_fan( + ::CUserMsg_ParticleManager_AddFan* add_fan) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_fan_); + } + _impl_.add_fan_ = add_fan; + if (add_fan) { + _impl_._has_bits_[1] |= 0x00000008u; + } else { + _impl_._has_bits_[1] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.add_fan) +} +inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::release_add_fan() { + _impl_._has_bits_[1] &= ~0x00000008u; + ::CUserMsg_ParticleManager_AddFan* temp = _impl_.add_fan_; + _impl_.add_fan_ = 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 ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::unsafe_arena_release_add_fan() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.add_fan) + _impl_._has_bits_[1] &= ~0x00000008u; + ::CUserMsg_ParticleManager_AddFan* temp = _impl_.add_fan_; + _impl_.add_fan_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::_internal_mutable_add_fan() { + _impl_._has_bits_[1] |= 0x00000008u; + if (_impl_.add_fan_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_AddFan>(GetArenaForAllocation()); + _impl_.add_fan_ = p; + } + return _impl_.add_fan_; +} +inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::mutable_add_fan() { + ::CUserMsg_ParticleManager_AddFan* _msg = _internal_mutable_add_fan(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.add_fan) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_add_fan(::CUserMsg_ParticleManager_AddFan* add_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.add_fan_; + } + if (add_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_fan); + if (message_arena != submessage_arena) { + add_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, add_fan, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000008u; + } else { + _impl_._has_bits_[1] &= ~0x00000008u; + } + _impl_.add_fan_ = add_fan; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.add_fan) +} + +// optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; +inline bool CUserMsg_ParticleManager::_internal_has_update_fan() const { + bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; + PROTOBUF_ASSUME(!value || _impl_.update_fan_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_update_fan() const { + return _internal_has_update_fan(); +} +inline void CUserMsg_ParticleManager::clear_update_fan() { + if (_impl_.update_fan_ != nullptr) _impl_.update_fan_->Clear(); + _impl_._has_bits_[1] &= ~0x00000010u; +} +inline const ::CUserMsg_ParticleManager_UpdateFan& CUserMsg_ParticleManager::_internal_update_fan() const { + const ::CUserMsg_ParticleManager_UpdateFan* p = _impl_.update_fan_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_UpdateFan_default_instance_); +} +inline const ::CUserMsg_ParticleManager_UpdateFan& CUserMsg_ParticleManager::update_fan() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_fan) + return _internal_update_fan(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_fan( + ::CUserMsg_ParticleManager_UpdateFan* update_fan) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_fan_); + } + _impl_.update_fan_ = update_fan; + if (update_fan) { + _impl_._has_bits_[1] |= 0x00000010u; + } else { + _impl_._has_bits_[1] &= ~0x00000010u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_fan) +} +inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::release_update_fan() { + _impl_._has_bits_[1] &= ~0x00000010u; + ::CUserMsg_ParticleManager_UpdateFan* temp = _impl_.update_fan_; + _impl_.update_fan_ = 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 ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::unsafe_arena_release_update_fan() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_fan) + _impl_._has_bits_[1] &= ~0x00000010u; + ::CUserMsg_ParticleManager_UpdateFan* temp = _impl_.update_fan_; + _impl_.update_fan_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::_internal_mutable_update_fan() { + _impl_._has_bits_[1] |= 0x00000010u; + if (_impl_.update_fan_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateFan>(GetArenaForAllocation()); + _impl_.update_fan_ = p; + } + return _impl_.update_fan_; +} +inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::mutable_update_fan() { + ::CUserMsg_ParticleManager_UpdateFan* _msg = _internal_mutable_update_fan(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_fan) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_update_fan(::CUserMsg_ParticleManager_UpdateFan* update_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.update_fan_; + } + if (update_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_fan); + if (message_arena != submessage_arena) { + update_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, update_fan, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000010u; + } else { + _impl_._has_bits_[1] &= ~0x00000010u; + } + _impl_.update_fan_ = update_fan; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_fan) +} + +// optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; +inline bool CUserMsg_ParticleManager::_internal_has_set_particle_cluster_growth() const { + bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; + PROTOBUF_ASSUME(!value || _impl_.set_particle_cluster_growth_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_set_particle_cluster_growth() const { + return _internal_has_set_particle_cluster_growth(); +} +inline void CUserMsg_ParticleManager::clear_set_particle_cluster_growth() { + if (_impl_.set_particle_cluster_growth_ != nullptr) _impl_.set_particle_cluster_growth_->Clear(); + _impl_._has_bits_[1] &= ~0x00000020u; +} +inline const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& CUserMsg_ParticleManager::_internal_set_particle_cluster_growth() const { + const ::CUserMsg_ParticleManager_SetParticleClusterGrowth* p = _impl_.set_particle_cluster_growth_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_); +} +inline const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& CUserMsg_ParticleManager::set_particle_cluster_growth() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_cluster_growth) + return _internal_set_particle_cluster_growth(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_cluster_growth( + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_cluster_growth_); + } + _impl_.set_particle_cluster_growth_ = set_particle_cluster_growth; + if (set_particle_cluster_growth) { + _impl_._has_bits_[1] |= 0x00000020u; + } else { + _impl_._has_bits_[1] &= ~0x00000020u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_cluster_growth) +} +inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::release_set_particle_cluster_growth() { + _impl_._has_bits_[1] &= ~0x00000020u; + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* temp = _impl_.set_particle_cluster_growth_; + _impl_.set_particle_cluster_growth_ = 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 ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_cluster_growth() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_cluster_growth) + _impl_._has_bits_[1] &= ~0x00000020u; + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* temp = _impl_.set_particle_cluster_growth_; + _impl_.set_particle_cluster_growth_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::_internal_mutable_set_particle_cluster_growth() { + _impl_._has_bits_[1] |= 0x00000020u; + if (_impl_.set_particle_cluster_growth_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleClusterGrowth>(GetArenaForAllocation()); + _impl_.set_particle_cluster_growth_ = p; + } + return _impl_.set_particle_cluster_growth_; +} +inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::mutable_set_particle_cluster_growth() { + ::CUserMsg_ParticleManager_SetParticleClusterGrowth* _msg = _internal_mutable_set_particle_cluster_growth(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_cluster_growth) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_set_particle_cluster_growth(::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.set_particle_cluster_growth_; + } + if (set_particle_cluster_growth) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_cluster_growth); + if (message_arena != submessage_arena) { + set_particle_cluster_growth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_particle_cluster_growth, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000020u; + } else { + _impl_._has_bits_[1] &= ~0x00000020u; + } + _impl_.set_particle_cluster_growth_ = set_particle_cluster_growth; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_cluster_growth) +} + +// optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; +inline bool CUserMsg_ParticleManager::_internal_has_remove_fan() const { + bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; + PROTOBUF_ASSUME(!value || _impl_.remove_fan_ != nullptr); + return value; +} +inline bool CUserMsg_ParticleManager::has_remove_fan() const { + return _internal_has_remove_fan(); +} +inline void CUserMsg_ParticleManager::clear_remove_fan() { + if (_impl_.remove_fan_ != nullptr) _impl_.remove_fan_->Clear(); + _impl_._has_bits_[1] &= ~0x00000040u; +} +inline const ::CUserMsg_ParticleManager_RemoveFan& CUserMsg_ParticleManager::_internal_remove_fan() const { + const ::CUserMsg_ParticleManager_RemoveFan* p = _impl_.remove_fan_; + return p != nullptr ? *p : reinterpret_cast( + ::_CUserMsg_ParticleManager_RemoveFan_default_instance_); +} +inline const ::CUserMsg_ParticleManager_RemoveFan& CUserMsg_ParticleManager::remove_fan() const { + // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.remove_fan) + return _internal_remove_fan(); +} +inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_remove_fan( + ::CUserMsg_ParticleManager_RemoveFan* remove_fan) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remove_fan_); + } + _impl_.remove_fan_ = remove_fan; + if (remove_fan) { + _impl_._has_bits_[1] |= 0x00000040u; + } else { + _impl_._has_bits_[1] &= ~0x00000040u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.remove_fan) +} +inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::release_remove_fan() { + _impl_._has_bits_[1] &= ~0x00000040u; + ::CUserMsg_ParticleManager_RemoveFan* temp = _impl_.remove_fan_; + _impl_.remove_fan_ = 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 ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::unsafe_arena_release_remove_fan() { + // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.remove_fan) + _impl_._has_bits_[1] &= ~0x00000040u; + ::CUserMsg_ParticleManager_RemoveFan* temp = _impl_.remove_fan_; + _impl_.remove_fan_ = nullptr; + return temp; +} +inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::_internal_mutable_remove_fan() { + _impl_._has_bits_[1] |= 0x00000040u; + if (_impl_.remove_fan_ == nullptr) { + auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_RemoveFan>(GetArenaForAllocation()); + _impl_.remove_fan_ = p; + } + return _impl_.remove_fan_; +} +inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::mutable_remove_fan() { + ::CUserMsg_ParticleManager_RemoveFan* _msg = _internal_mutable_remove_fan(); + // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.remove_fan) + return _msg; +} +inline void CUserMsg_ParticleManager::set_allocated_remove_fan(::CUserMsg_ParticleManager_RemoveFan* remove_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.remove_fan_; + } + if (remove_fan) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remove_fan); + if (message_arena != submessage_arena) { + remove_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, remove_fan, submessage_arena); + } + _impl_._has_bits_[1] |= 0x00000040u; + } else { + _impl_._has_bits_[1] &= ~0x00000040u; + } + _impl_.remove_fan_ = remove_fan; + // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.remove_fan) +} + +// ------------------------------------------------------------------- + +// CUserMsg_HudError + +// optional int32 order_id = 1; +inline bool CUserMsg_HudError::_internal_has_order_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_HudError::has_order_id() const { + return _internal_has_order_id(); +} +inline void CUserMsg_HudError::clear_order_id() { + _impl_.order_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMsg_HudError::_internal_order_id() const { + return _impl_.order_id_; +} +inline int32_t CUserMsg_HudError::order_id() const { + // @@protoc_insertion_point(field_get:CUserMsg_HudError.order_id) + return _internal_order_id(); +} +inline void CUserMsg_HudError::_internal_set_order_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.order_id_ = value; +} +inline void CUserMsg_HudError::set_order_id(int32_t value) { + _internal_set_order_id(value); + // @@protoc_insertion_point(field_set:CUserMsg_HudError.order_id) +} + +// ------------------------------------------------------------------- + +// CUserMsg_CustomGameEvent + +// optional string event_name = 1; +inline bool CUserMsg_CustomGameEvent::_internal_has_event_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMsg_CustomGameEvent::has_event_name() const { + return _internal_has_event_name(); +} +inline void CUserMsg_CustomGameEvent::clear_event_name() { + _impl_.event_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMsg_CustomGameEvent::event_name() const { + // @@protoc_insertion_point(field_get:CUserMsg_CustomGameEvent.event_name) + return _internal_event_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_CustomGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_CustomGameEvent.event_name) +} +inline std::string* CUserMsg_CustomGameEvent::mutable_event_name() { + std::string* _s = _internal_mutable_event_name(); + // @@protoc_insertion_point(field_mutable:CUserMsg_CustomGameEvent.event_name) + return _s; +} +inline const std::string& CUserMsg_CustomGameEvent::_internal_event_name() const { + return _impl_.event_name_.Get(); +} +inline void CUserMsg_CustomGameEvent::_internal_set_event_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.event_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_CustomGameEvent::_internal_mutable_event_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.event_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_CustomGameEvent::release_event_name() { + // @@protoc_insertion_point(field_release:CUserMsg_CustomGameEvent.event_name) + if (!_internal_has_event_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.event_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_CustomGameEvent::set_allocated_event_name(std::string* event_name) { + if (event_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.event_name_.IsDefault()) { + _impl_.event_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_CustomGameEvent.event_name) +} + +// optional bytes data = 2; +inline bool CUserMsg_CustomGameEvent::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMsg_CustomGameEvent::has_data() const { + return _internal_has_data(); +} +inline void CUserMsg_CustomGameEvent::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMsg_CustomGameEvent::data() const { + // @@protoc_insertion_point(field_get:CUserMsg_CustomGameEvent.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMsg_CustomGameEvent::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMsg_CustomGameEvent.data) +} +inline std::string* CUserMsg_CustomGameEvent::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CUserMsg_CustomGameEvent.data) + return _s; +} +inline const std::string& CUserMsg_CustomGameEvent::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CUserMsg_CustomGameEvent::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMsg_CustomGameEvent::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMsg_CustomGameEvent::release_data() { + // @@protoc_insertion_point(field_release:CUserMsg_CustomGameEvent.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMsg_CustomGameEvent::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMsg_CustomGameEvent.data) +} + +// ------------------------------------------------------------------- + +// CUserMessageHapticsManagerPulse + +// optional int32 hand_id = 1; +inline bool CUserMessageHapticsManagerPulse::_internal_has_hand_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerPulse::has_hand_id() const { + return _internal_has_hand_id(); +} +inline void CUserMessageHapticsManagerPulse::clear_hand_id() { + _impl_.hand_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessageHapticsManagerPulse::_internal_hand_id() const { + return _impl_.hand_id_; +} +inline int32_t CUserMessageHapticsManagerPulse::hand_id() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.hand_id) + return _internal_hand_id(); +} +inline void CUserMessageHapticsManagerPulse::_internal_set_hand_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hand_id_ = value; +} +inline void CUserMessageHapticsManagerPulse::set_hand_id(int32_t value) { + _internal_set_hand_id(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.hand_id) +} + +// optional float effect_amplitude = 2; +inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_amplitude() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerPulse::has_effect_amplitude() const { + return _internal_has_effect_amplitude(); +} +inline void CUserMessageHapticsManagerPulse::clear_effect_amplitude() { + _impl_.effect_amplitude_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline float CUserMessageHapticsManagerPulse::_internal_effect_amplitude() const { + return _impl_.effect_amplitude_; +} +inline float CUserMessageHapticsManagerPulse::effect_amplitude() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_amplitude) + return _internal_effect_amplitude(); +} +inline void CUserMessageHapticsManagerPulse::_internal_set_effect_amplitude(float value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.effect_amplitude_ = value; +} +inline void CUserMessageHapticsManagerPulse::set_effect_amplitude(float value) { + _internal_set_effect_amplitude(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_amplitude) +} + +// optional float effect_frequency = 3; +inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_frequency() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerPulse::has_effect_frequency() const { + return _internal_has_effect_frequency(); +} +inline void CUserMessageHapticsManagerPulse::clear_effect_frequency() { + _impl_.effect_frequency_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageHapticsManagerPulse::_internal_effect_frequency() const { + return _impl_.effect_frequency_; +} +inline float CUserMessageHapticsManagerPulse::effect_frequency() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_frequency) + return _internal_effect_frequency(); +} +inline void CUserMessageHapticsManagerPulse::_internal_set_effect_frequency(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.effect_frequency_ = value; +} +inline void CUserMessageHapticsManagerPulse::set_effect_frequency(float value) { + _internal_set_effect_frequency(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_frequency) +} + +// optional float effect_duration = 4; +inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_duration() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerPulse::has_effect_duration() const { + return _internal_has_effect_duration(); +} +inline void CUserMessageHapticsManagerPulse::clear_effect_duration() { + _impl_.effect_duration_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline float CUserMessageHapticsManagerPulse::_internal_effect_duration() const { + return _impl_.effect_duration_; +} +inline float CUserMessageHapticsManagerPulse::effect_duration() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_duration) + return _internal_effect_duration(); +} +inline void CUserMessageHapticsManagerPulse::_internal_set_effect_duration(float value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.effect_duration_ = value; +} +inline void CUserMessageHapticsManagerPulse::set_effect_duration(float value) { + _internal_set_effect_duration(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_duration) +} + +// ------------------------------------------------------------------- + +// CUserMessageHapticsManagerEffect + +// optional int32 hand_id = 1; +inline bool CUserMessageHapticsManagerEffect::_internal_has_hand_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerEffect::has_hand_id() const { + return _internal_has_hand_id(); +} +inline void CUserMessageHapticsManagerEffect::clear_hand_id() { + _impl_.hand_id_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessageHapticsManagerEffect::_internal_hand_id() const { + return _impl_.hand_id_; +} +inline int32_t CUserMessageHapticsManagerEffect::hand_id() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.hand_id) + return _internal_hand_id(); +} +inline void CUserMessageHapticsManagerEffect::_internal_set_hand_id(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.hand_id_ = value; +} +inline void CUserMessageHapticsManagerEffect::set_hand_id(int32_t value) { + _internal_set_hand_id(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.hand_id) +} + +// optional uint32 effect_name_hash_code = 2; +inline bool CUserMessageHapticsManagerEffect::_internal_has_effect_name_hash_code() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerEffect::has_effect_name_hash_code() const { + return _internal_has_effect_name_hash_code(); +} +inline void CUserMessageHapticsManagerEffect::clear_effect_name_hash_code() { + _impl_.effect_name_hash_code_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessageHapticsManagerEffect::_internal_effect_name_hash_code() const { + return _impl_.effect_name_hash_code_; +} +inline uint32_t CUserMessageHapticsManagerEffect::effect_name_hash_code() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.effect_name_hash_code) + return _internal_effect_name_hash_code(); +} +inline void CUserMessageHapticsManagerEffect::_internal_set_effect_name_hash_code(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.effect_name_hash_code_ = value; +} +inline void CUserMessageHapticsManagerEffect::set_effect_name_hash_code(uint32_t value) { + _internal_set_effect_name_hash_code(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.effect_name_hash_code) +} + +// optional float effect_scale = 3; +inline bool CUserMessageHapticsManagerEffect::_internal_has_effect_scale() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageHapticsManagerEffect::has_effect_scale() const { + return _internal_has_effect_scale(); +} +inline void CUserMessageHapticsManagerEffect::clear_effect_scale() { + _impl_.effect_scale_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessageHapticsManagerEffect::_internal_effect_scale() const { + return _impl_.effect_scale_; +} +inline float CUserMessageHapticsManagerEffect::effect_scale() const { + // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.effect_scale) + return _internal_effect_scale(); +} +inline void CUserMessageHapticsManagerEffect::_internal_set_effect_scale(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.effect_scale_ = value; +} +inline void CUserMessageHapticsManagerEffect::set_effect_scale(float value) { + _internal_set_effect_scale(value); + // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.effect_scale) +} + +// ------------------------------------------------------------------- + +// CUserMessageAnimStateGraphState + +// optional int32 entity_index = 1; +inline bool CUserMessageAnimStateGraphState::_internal_has_entity_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageAnimStateGraphState::has_entity_index() const { + return _internal_has_entity_index(); +} +inline void CUserMessageAnimStateGraphState::clear_entity_index() { + _impl_.entity_index_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageAnimStateGraphState::_internal_entity_index() const { + return _impl_.entity_index_; +} +inline int32_t CUserMessageAnimStateGraphState::entity_index() const { + // @@protoc_insertion_point(field_get:CUserMessageAnimStateGraphState.entity_index) + return _internal_entity_index(); +} +inline void CUserMessageAnimStateGraphState::_internal_set_entity_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.entity_index_ = value; +} +inline void CUserMessageAnimStateGraphState::set_entity_index(int32_t value) { + _internal_set_entity_index(value); + // @@protoc_insertion_point(field_set:CUserMessageAnimStateGraphState.entity_index) +} + +// optional bytes data = 2; +inline bool CUserMessageAnimStateGraphState::_internal_has_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageAnimStateGraphState::has_data() const { + return _internal_has_data(); +} +inline void CUserMessageAnimStateGraphState::clear_data() { + _impl_.data_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageAnimStateGraphState::data() const { + // @@protoc_insertion_point(field_get:CUserMessageAnimStateGraphState.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageAnimStateGraphState::set_data(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageAnimStateGraphState.data) +} +inline std::string* CUserMessageAnimStateGraphState::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:CUserMessageAnimStateGraphState.data) + return _s; +} +inline const std::string& CUserMessageAnimStateGraphState::_internal_data() const { + return _impl_.data_.Get(); +} +inline void CUserMessageAnimStateGraphState::_internal_set_data(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageAnimStateGraphState::_internal_mutable_data() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageAnimStateGraphState::release_data() { + // @@protoc_insertion_point(field_release:CUserMessageAnimStateGraphState.data) + if (!_internal_has_data()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.data_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageAnimStateGraphState::set_allocated_data(std::string* data) { + if (data != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageAnimStateGraphState.data) +} + +// ------------------------------------------------------------------- + +// CUserMessageUpdateCssClasses + +// optional int32 target_world_panel = 1; +inline bool CUserMessageUpdateCssClasses::_internal_has_target_world_panel() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageUpdateCssClasses::has_target_world_panel() const { + return _internal_has_target_world_panel(); +} +inline void CUserMessageUpdateCssClasses::clear_target_world_panel() { + _impl_.target_world_panel_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageUpdateCssClasses::_internal_target_world_panel() const { + return _impl_.target_world_panel_; +} +inline int32_t CUserMessageUpdateCssClasses::target_world_panel() const { + // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.target_world_panel) + return _internal_target_world_panel(); +} +inline void CUserMessageUpdateCssClasses::_internal_set_target_world_panel(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.target_world_panel_ = value; +} +inline void CUserMessageUpdateCssClasses::set_target_world_panel(int32_t value) { + _internal_set_target_world_panel(value); + // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.target_world_panel) +} + +// optional string css_classes = 2; +inline bool CUserMessageUpdateCssClasses::_internal_has_css_classes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageUpdateCssClasses::has_css_classes() const { + return _internal_has_css_classes(); +} +inline void CUserMessageUpdateCssClasses::clear_css_classes() { + _impl_.css_classes_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageUpdateCssClasses::css_classes() const { + // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.css_classes) + return _internal_css_classes(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageUpdateCssClasses::set_css_classes(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.css_classes_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.css_classes) +} +inline std::string* CUserMessageUpdateCssClasses::mutable_css_classes() { + std::string* _s = _internal_mutable_css_classes(); + // @@protoc_insertion_point(field_mutable:CUserMessageUpdateCssClasses.css_classes) + return _s; +} +inline const std::string& CUserMessageUpdateCssClasses::_internal_css_classes() const { + return _impl_.css_classes_.Get(); +} +inline void CUserMessageUpdateCssClasses::_internal_set_css_classes(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.css_classes_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageUpdateCssClasses::_internal_mutable_css_classes() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.css_classes_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageUpdateCssClasses::release_css_classes() { + // @@protoc_insertion_point(field_release:CUserMessageUpdateCssClasses.css_classes) + if (!_internal_has_css_classes()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.css_classes_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.css_classes_.IsDefault()) { + _impl_.css_classes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageUpdateCssClasses::set_allocated_css_classes(std::string* css_classes) { + if (css_classes != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.css_classes_.SetAllocated(css_classes, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.css_classes_.IsDefault()) { + _impl_.css_classes_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageUpdateCssClasses.css_classes) +} + +// optional bool is_add = 3; +inline bool CUserMessageUpdateCssClasses::_internal_has_is_add() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageUpdateCssClasses::has_is_add() const { + return _internal_has_is_add(); +} +inline void CUserMessageUpdateCssClasses::clear_is_add() { + _impl_.is_add_ = false; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline bool CUserMessageUpdateCssClasses::_internal_is_add() const { + return _impl_.is_add_; +} +inline bool CUserMessageUpdateCssClasses::is_add() const { + // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.is_add) + return _internal_is_add(); +} +inline void CUserMessageUpdateCssClasses::_internal_set_is_add(bool value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.is_add_ = value; +} +inline void CUserMessageUpdateCssClasses::set_is_add(bool value) { + _internal_set_is_add(value); + // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.is_add) +} + +// ------------------------------------------------------------------- + +// CUserMessageServerFrameTime + +// optional float frame_time = 1; +inline bool CUserMessageServerFrameTime::_internal_has_frame_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageServerFrameTime::has_frame_time() const { + return _internal_has_frame_time(); +} +inline void CUserMessageServerFrameTime::clear_frame_time() { + _impl_.frame_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMessageServerFrameTime::_internal_frame_time() const { + return _impl_.frame_time_; +} +inline float CUserMessageServerFrameTime::frame_time() const { + // @@protoc_insertion_point(field_get:CUserMessageServerFrameTime.frame_time) + return _internal_frame_time(); +} +inline void CUserMessageServerFrameTime::_internal_set_frame_time(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.frame_time_ = value; +} +inline void CUserMessageServerFrameTime::set_frame_time(float value) { + _internal_set_frame_time(value); + // @@protoc_insertion_point(field_set:CUserMessageServerFrameTime.frame_time) +} + +// ------------------------------------------------------------------- + +// CUserMessageLagCompensationError + +// optional float distance = 1; +inline bool CUserMessageLagCompensationError::_internal_has_distance() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageLagCompensationError::has_distance() const { + return _internal_has_distance(); +} +inline void CUserMessageLagCompensationError::clear_distance() { + _impl_.distance_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline float CUserMessageLagCompensationError::_internal_distance() const { + return _impl_.distance_; +} +inline float CUserMessageLagCompensationError::distance() const { + // @@protoc_insertion_point(field_get:CUserMessageLagCompensationError.distance) + return _internal_distance(); +} +inline void CUserMessageLagCompensationError::_internal_set_distance(float value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.distance_ = value; +} +inline void CUserMessageLagCompensationError::set_distance(float value) { + _internal_set_distance(value); + // @@protoc_insertion_point(field_set:CUserMessageLagCompensationError.distance) +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestDllStatus + +// optional string dll_action = 1; +inline bool CUserMessageRequestDllStatus::_internal_has_dll_action() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageRequestDllStatus::has_dll_action() const { + return _internal_has_dll_action(); +} +inline void CUserMessageRequestDllStatus::clear_dll_action() { + _impl_.dll_action_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageRequestDllStatus::dll_action() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDllStatus.dll_action) + return _internal_dll_action(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageRequestDllStatus::set_dll_action(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dll_action_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageRequestDllStatus.dll_action) +} +inline std::string* CUserMessageRequestDllStatus::mutable_dll_action() { + std::string* _s = _internal_mutable_dll_action(); + // @@protoc_insertion_point(field_mutable:CUserMessageRequestDllStatus.dll_action) + return _s; +} +inline const std::string& CUserMessageRequestDllStatus::_internal_dll_action() const { + return _impl_.dll_action_.Get(); +} +inline void CUserMessageRequestDllStatus::_internal_set_dll_action(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.dll_action_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDllStatus::_internal_mutable_dll_action() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.dll_action_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDllStatus::release_dll_action() { + // @@protoc_insertion_point(field_release:CUserMessageRequestDllStatus.dll_action) + if (!_internal_has_dll_action()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.dll_action_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dll_action_.IsDefault()) { + _impl_.dll_action_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageRequestDllStatus::set_allocated_dll_action(std::string* dll_action) { + if (dll_action != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.dll_action_.SetAllocated(dll_action, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.dll_action_.IsDefault()) { + _impl_.dll_action_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDllStatus.dll_action) +} + +// optional bool full_report = 2; +inline bool CUserMessageRequestDllStatus::_internal_has_full_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageRequestDllStatus::has_full_report() const { + return _internal_has_full_report(); +} +inline void CUserMessageRequestDllStatus::clear_full_report() { + _impl_.full_report_ = false; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline bool CUserMessageRequestDllStatus::_internal_full_report() const { + return _impl_.full_report_; +} +inline bool CUserMessageRequestDllStatus::full_report() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDllStatus.full_report) + return _internal_full_report(); +} +inline void CUserMessageRequestDllStatus::_internal_set_full_report(bool value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.full_report_ = value; +} +inline void CUserMessageRequestDllStatus::set_full_report(bool value) { + _internal_set_full_report(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDllStatus.full_report) +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestUtilAction + +// optional int32 util1 = 2; +inline bool CUserMessageRequestUtilAction::_internal_has_util1() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageRequestUtilAction::has_util1() const { + return _internal_has_util1(); +} +inline void CUserMessageRequestUtilAction::clear_util1() { + _impl_.util1_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessageRequestUtilAction::_internal_util1() const { + return _impl_.util1_; +} +inline int32_t CUserMessageRequestUtilAction::util1() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util1) + return _internal_util1(); +} +inline void CUserMessageRequestUtilAction::_internal_set_util1(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.util1_ = value; +} +inline void CUserMessageRequestUtilAction::set_util1(int32_t value) { + _internal_set_util1(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util1) +} + +// optional int32 util2 = 3; +inline bool CUserMessageRequestUtilAction::_internal_has_util2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageRequestUtilAction::has_util2() const { + return _internal_has_util2(); +} +inline void CUserMessageRequestUtilAction::clear_util2() { + _impl_.util2_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageRequestUtilAction::_internal_util2() const { + return _impl_.util2_; +} +inline int32_t CUserMessageRequestUtilAction::util2() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util2) + return _internal_util2(); +} +inline void CUserMessageRequestUtilAction::_internal_set_util2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.util2_ = value; +} +inline void CUserMessageRequestUtilAction::set_util2(int32_t value) { + _internal_set_util2(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util2) +} + +// optional int32 util3 = 4; +inline bool CUserMessageRequestUtilAction::_internal_has_util3() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageRequestUtilAction::has_util3() const { + return _internal_has_util3(); +} +inline void CUserMessageRequestUtilAction::clear_util3() { + _impl_.util3_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageRequestUtilAction::_internal_util3() const { + return _impl_.util3_; +} +inline int32_t CUserMessageRequestUtilAction::util3() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util3) + return _internal_util3(); +} +inline void CUserMessageRequestUtilAction::_internal_set_util3(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.util3_ = value; +} +inline void CUserMessageRequestUtilAction::set_util3(int32_t value) { + _internal_set_util3(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util3) +} + +// optional int32 util4 = 5; +inline bool CUserMessageRequestUtilAction::_internal_has_util4() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageRequestUtilAction::has_util4() const { + return _internal_has_util4(); +} +inline void CUserMessageRequestUtilAction::clear_util4() { + _impl_.util4_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessageRequestUtilAction::_internal_util4() const { + return _impl_.util4_; +} +inline int32_t CUserMessageRequestUtilAction::util4() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util4) + return _internal_util4(); +} +inline void CUserMessageRequestUtilAction::_internal_set_util4(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.util4_ = value; +} +inline void CUserMessageRequestUtilAction::set_util4(int32_t value) { + _internal_set_util4(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util4) +} + +// optional int32 util5 = 6; +inline bool CUserMessageRequestUtilAction::_internal_has_util5() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageRequestUtilAction::has_util5() const { + return _internal_has_util5(); +} +inline void CUserMessageRequestUtilAction::clear_util5() { + _impl_.util5_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessageRequestUtilAction::_internal_util5() const { + return _impl_.util5_; +} +inline int32_t CUserMessageRequestUtilAction::util5() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util5) + return _internal_util5(); +} +inline void CUserMessageRequestUtilAction::_internal_set_util5(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.util5_ = value; +} +inline void CUserMessageRequestUtilAction::set_util5(int32_t value) { + _internal_set_util5(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util5) +} + +// ------------------------------------------------------------------- + +// CUserMessage_UtilMsg_Response_ItemDetail + +// optional int32 index = 1; +inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_index() const { + return _internal_has_index(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_index() const { + return _impl_.index_; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::index() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.index) + return _internal_index(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.index_ = value; +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.index) +} + +// optional int32 hash = 2; +inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_hash() const { + return _internal_has_hash(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_hash() { + _impl_.hash_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_hash() const { + return _impl_.hash_; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::hash() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.hash) + return _internal_hash(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_hash(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.hash_ = value; +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::set_hash(int32_t value) { + _internal_set_hash(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.hash) +} + +// optional int32 crc = 3; +inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_crc() const { + return _internal_has_crc(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_crc() { + _impl_.crc_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_crc() const { + return _impl_.crc_; +} +inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::crc() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.crc) + return _internal_crc(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_crc(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.crc_ = value; +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::set_crc(int32_t value) { + _internal_set_crc(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.crc) +} + +// optional string name = 4; +inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_name() const { + return _internal_has_name(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_UtilMsg_Response_ItemDetail::name() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_UtilMsg_Response_ItemDetail::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.name) +} +inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_UtilMsg_Response.ItemDetail.name) + return _s; +} +inline const std::string& CUserMessage_UtilMsg_Response_ItemDetail::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::release_name() { + // @@protoc_insertion_point(field_release:CUserMessage_UtilMsg_Response.ItemDetail.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_UtilMsg_Response_ItemDetail::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessage_UtilMsg_Response.ItemDetail.name) +} + +// ------------------------------------------------------------------- + +// CUserMessage_UtilMsg_Response + +// optional fixed32 crc = 1; +inline bool CUserMessage_UtilMsg_Response::_internal_has_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_crc() const { + return _internal_has_crc(); +} +inline void CUserMessage_UtilMsg_Response::clear_crc() { + _impl_.crc_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessage_UtilMsg_Response::_internal_crc() const { + return _impl_.crc_; +} +inline uint32_t CUserMessage_UtilMsg_Response::crc() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc) + return _internal_crc(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_crc(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.crc_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_crc(uint32_t value) { + _internal_set_crc(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc) +} + +// optional int32 item_count = 2; +inline bool CUserMessage_UtilMsg_Response::_internal_has_item_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_item_count() const { + return _internal_has_item_count(); +} +inline void CUserMessage_UtilMsg_Response::clear_item_count() { + _impl_.item_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_item_count() const { + return _impl_.item_count_; +} +inline int32_t CUserMessage_UtilMsg_Response::item_count() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.item_count) + return _internal_item_count(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_item_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_count_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_item_count(int32_t value) { + _internal_set_item_count(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.item_count) +} + +// optional fixed32 crc2 = 3; +inline bool CUserMessage_UtilMsg_Response::_internal_has_crc2() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_crc2() const { + return _internal_has_crc2(); +} +inline void CUserMessage_UtilMsg_Response::clear_crc2() { + _impl_.crc2_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessage_UtilMsg_Response::_internal_crc2() const { + return _impl_.crc2_; +} +inline uint32_t CUserMessage_UtilMsg_Response::crc2() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc2) + return _internal_crc2(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_crc2(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.crc2_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_crc2(uint32_t value) { + _internal_set_crc2(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc2) +} + +// optional int32 item_count2 = 4; +inline bool CUserMessage_UtilMsg_Response::_internal_has_item_count2() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_item_count2() const { + return _internal_has_item_count2(); +} +inline void CUserMessage_UtilMsg_Response::clear_item_count2() { + _impl_.item_count2_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_item_count2() const { + return _impl_.item_count2_; +} +inline int32_t CUserMessage_UtilMsg_Response::item_count2() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.item_count2) + return _internal_item_count2(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_item_count2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.item_count2_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_item_count2(int32_t value) { + _internal_set_item_count2(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.item_count2) +} + +// repeated int32 crc_part = 5; +inline int CUserMessage_UtilMsg_Response::_internal_crc_part_size() const { + return _impl_.crc_part_.size(); +} +inline int CUserMessage_UtilMsg_Response::crc_part_size() const { + return _internal_crc_part_size(); +} +inline void CUserMessage_UtilMsg_Response::clear_crc_part() { + _impl_.crc_part_.Clear(); +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_crc_part(int index) const { + return _impl_.crc_part_.Get(index); +} +inline int32_t CUserMessage_UtilMsg_Response::crc_part(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc_part) + return _internal_crc_part(index); +} +inline void CUserMessage_UtilMsg_Response::set_crc_part(int index, int32_t value) { + _impl_.crc_part_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc_part) +} +inline void CUserMessage_UtilMsg_Response::_internal_add_crc_part(int32_t value) { + _impl_.crc_part_.Add(value); +} +inline void CUserMessage_UtilMsg_Response::add_crc_part(int32_t value) { + _internal_add_crc_part(value); + // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.crc_part) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_UtilMsg_Response::_internal_crc_part() const { + return _impl_.crc_part_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_UtilMsg_Response::crc_part() const { + // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.crc_part) + return _internal_crc_part(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_UtilMsg_Response::_internal_mutable_crc_part() { + return &_impl_.crc_part_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_UtilMsg_Response::mutable_crc_part() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.crc_part) + return _internal_mutable_crc_part(); +} + +// repeated int32 crc_part2 = 6; +inline int CUserMessage_UtilMsg_Response::_internal_crc_part2_size() const { + return _impl_.crc_part2_.size(); +} +inline int CUserMessage_UtilMsg_Response::crc_part2_size() const { + return _internal_crc_part2_size(); +} +inline void CUserMessage_UtilMsg_Response::clear_crc_part2() { + _impl_.crc_part2_.Clear(); +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_crc_part2(int index) const { + return _impl_.crc_part2_.Get(index); +} +inline int32_t CUserMessage_UtilMsg_Response::crc_part2(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc_part2) + return _internal_crc_part2(index); +} +inline void CUserMessage_UtilMsg_Response::set_crc_part2(int index, int32_t value) { + _impl_.crc_part2_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc_part2) +} +inline void CUserMessage_UtilMsg_Response::_internal_add_crc_part2(int32_t value) { + _impl_.crc_part2_.Add(value); +} +inline void CUserMessage_UtilMsg_Response::add_crc_part2(int32_t value) { + _internal_add_crc_part2(value); + // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.crc_part2) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_UtilMsg_Response::_internal_crc_part2() const { + return _impl_.crc_part2_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_UtilMsg_Response::crc_part2() const { + // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.crc_part2) + return _internal_crc_part2(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_UtilMsg_Response::_internal_mutable_crc_part2() { + return &_impl_.crc_part2_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_UtilMsg_Response::mutable_crc_part2() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.crc_part2) + return _internal_mutable_crc_part2(); +} + +// optional int32 client_timestamp = 7; +inline bool CUserMessage_UtilMsg_Response::_internal_has_client_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_client_timestamp() const { + return _internal_has_client_timestamp(); +} +inline void CUserMessage_UtilMsg_Response::clear_client_timestamp() { + _impl_.client_timestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_client_timestamp() const { + return _impl_.client_timestamp_; +} +inline int32_t CUserMessage_UtilMsg_Response::client_timestamp() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.client_timestamp) + return _internal_client_timestamp(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_client_timestamp(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_timestamp_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_client_timestamp(int32_t value) { + _internal_set_client_timestamp(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.client_timestamp) +} + +// optional int32 platform = 8; +inline bool CUserMessage_UtilMsg_Response::_internal_has_platform() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_platform() const { + return _internal_has_platform(); +} +inline void CUserMessage_UtilMsg_Response::clear_platform() { + _impl_.platform_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_platform() const { + return _impl_.platform_; +} +inline int32_t CUserMessage_UtilMsg_Response::platform() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.platform) + return _internal_platform(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_platform(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.platform_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_platform(int32_t value) { + _internal_set_platform(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.platform) +} + +// repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; +inline int CUserMessage_UtilMsg_Response::_internal_itemdetails_size() const { + return _impl_.itemdetails_.size(); +} +inline int CUserMessage_UtilMsg_Response::itemdetails_size() const { + return _internal_itemdetails_size(); +} +inline void CUserMessage_UtilMsg_Response::clear_itemdetails() { + _impl_.itemdetails_.Clear(); +} +inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::mutable_itemdetails(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_UtilMsg_Response.itemdetails) + return _impl_.itemdetails_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >* +CUserMessage_UtilMsg_Response::mutable_itemdetails() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.itemdetails) + return &_impl_.itemdetails_; +} +inline const ::CUserMessage_UtilMsg_Response_ItemDetail& CUserMessage_UtilMsg_Response::_internal_itemdetails(int index) const { + return _impl_.itemdetails_.Get(index); +} +inline const ::CUserMessage_UtilMsg_Response_ItemDetail& CUserMessage_UtilMsg_Response::itemdetails(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.itemdetails) + return _internal_itemdetails(index); +} +inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::_internal_add_itemdetails() { + return _impl_.itemdetails_.Add(); +} +inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::add_itemdetails() { + ::CUserMessage_UtilMsg_Response_ItemDetail* _add = _internal_add_itemdetails(); + // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.itemdetails) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >& +CUserMessage_UtilMsg_Response::itemdetails() const { + // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.itemdetails) + return _impl_.itemdetails_; +} + +// optional int32 itemgroup = 10; +inline bool CUserMessage_UtilMsg_Response::_internal_has_itemgroup() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_itemgroup() const { + return _internal_has_itemgroup(); +} +inline void CUserMessage_UtilMsg_Response::clear_itemgroup() { + _impl_.itemgroup_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_itemgroup() const { + return _impl_.itemgroup_; +} +inline int32_t CUserMessage_UtilMsg_Response::itemgroup() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.itemgroup) + return _internal_itemgroup(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_itemgroup(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.itemgroup_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_itemgroup(int32_t value) { + _internal_set_itemgroup(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.itemgroup) +} + +// optional int32 total_count = 11; +inline bool CUserMessage_UtilMsg_Response::_internal_has_total_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_total_count() const { + return _internal_has_total_count(); +} +inline void CUserMessage_UtilMsg_Response::clear_total_count() { + _impl_.total_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_total_count() const { + return _impl_.total_count_; +} +inline int32_t CUserMessage_UtilMsg_Response::total_count() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.total_count) + return _internal_total_count(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_total_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.total_count_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_total_count(int32_t value) { + _internal_set_total_count(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.total_count) +} + +// optional int32 total_count2 = 12; +inline bool CUserMessage_UtilMsg_Response::_internal_has_total_count2() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMessage_UtilMsg_Response::has_total_count2() const { + return _internal_has_total_count2(); +} +inline void CUserMessage_UtilMsg_Response::clear_total_count2() { + _impl_.total_count2_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CUserMessage_UtilMsg_Response::_internal_total_count2() const { + return _impl_.total_count2_; +} +inline int32_t CUserMessage_UtilMsg_Response::total_count2() const { + // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.total_count2) + return _internal_total_count2(); +} +inline void CUserMessage_UtilMsg_Response::_internal_set_total_count2(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.total_count2_ = value; +} +inline void CUserMessage_UtilMsg_Response::set_total_count2(int32_t value) { + _internal_set_total_count2(value); + // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.total_count2) +} + +// ------------------------------------------------------------------- + +// CUserMessage_DllStatus_CVDiagnostic + +// optional uint32 id = 1; +inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CVDiagnostic::has_id() const { + return _internal_has_id(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::clear_id() { + _impl_.id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessage_DllStatus_CVDiagnostic::_internal_id() const { + return _impl_.id_; +} +inline uint32_t CUserMessage_DllStatus_CVDiagnostic::id() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.id) + return _internal_id(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.id_ = value; +} +inline void CUserMessage_DllStatus_CVDiagnostic::set_id(uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.id) +} + +// optional uint32 extended = 2; +inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_extended() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CVDiagnostic::has_extended() const { + return _internal_has_extended(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::clear_extended() { + _impl_.extended_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessage_DllStatus_CVDiagnostic::_internal_extended() const { + return _impl_.extended_; +} +inline uint32_t CUserMessage_DllStatus_CVDiagnostic::extended() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.extended) + return _internal_extended(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_extended(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.extended_ = value; +} +inline void CUserMessage_DllStatus_CVDiagnostic::set_extended(uint32_t value) { + _internal_set_extended(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.extended) +} + +// optional uint64 value = 3; +inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CVDiagnostic::has_value() const { + return _internal_has_value(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::clear_value() { + _impl_.value_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint64_t CUserMessage_DllStatus_CVDiagnostic::_internal_value() const { + return _impl_.value_; +} +inline uint64_t CUserMessage_DllStatus_CVDiagnostic::value() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.value) + return _internal_value(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_value(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.value_ = value; +} +inline void CUserMessage_DllStatus_CVDiagnostic::set_value(uint64_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.value) +} + +// optional string string_value = 4; +inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_string_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CVDiagnostic::has_string_value() const { + return _internal_has_string_value(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::clear_string_value() { + _impl_.string_value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_DllStatus_CVDiagnostic::string_value() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.string_value) + return _internal_string_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_DllStatus_CVDiagnostic::set_string_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.string_value) +} +inline std::string* CUserMessage_DllStatus_CVDiagnostic::mutable_string_value() { + std::string* _s = _internal_mutable_string_value(); + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.CVDiagnostic.string_value) + return _s; +} +inline const std::string& CUserMessage_DllStatus_CVDiagnostic::_internal_string_value() const { + return _impl_.string_value_.Get(); +} +inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_string_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.string_value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus_CVDiagnostic::_internal_mutable_string_value() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.string_value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus_CVDiagnostic::release_string_value() { + // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.CVDiagnostic.string_value) + if (!_internal_has_string_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.string_value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_DllStatus_CVDiagnostic::set_allocated_string_value(std::string* string_value) { + if (string_value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.string_value_.IsDefault()) { + _impl_.string_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.CVDiagnostic.string_value) +} + +// ------------------------------------------------------------------- + +// CUserMessage_DllStatus_CModule + +// optional uint64 base_addr = 1; +inline bool CUserMessage_DllStatus_CModule::_internal_has_base_addr() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CModule::has_base_addr() const { + return _internal_has_base_addr(); +} +inline void CUserMessage_DllStatus_CModule::clear_base_addr() { + _impl_.base_addr_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CUserMessage_DllStatus_CModule::_internal_base_addr() const { + return _impl_.base_addr_; +} +inline uint64_t CUserMessage_DllStatus_CModule::base_addr() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.base_addr) + return _internal_base_addr(); +} +inline void CUserMessage_DllStatus_CModule::_internal_set_base_addr(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.base_addr_ = value; +} +inline void CUserMessage_DllStatus_CModule::set_base_addr(uint64_t value) { + _internal_set_base_addr(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.base_addr) +} + +// optional string name = 2; +inline bool CUserMessage_DllStatus_CModule::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CModule::has_name() const { + return _internal_has_name(); +} +inline void CUserMessage_DllStatus_CModule::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_DllStatus_CModule::name() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_DllStatus_CModule::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.name) +} +inline std::string* CUserMessage_DllStatus_CModule::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.CModule.name) + return _s; +} +inline const std::string& CUserMessage_DllStatus_CModule::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CUserMessage_DllStatus_CModule::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus_CModule::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus_CModule::release_name() { + // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.CModule.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_DllStatus_CModule::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessage_DllStatus.CModule.name) +} + +// optional uint32 size = 3; +inline bool CUserMessage_DllStatus_CModule::_internal_has_size() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CModule::has_size() const { + return _internal_has_size(); +} +inline void CUserMessage_DllStatus_CModule::clear_size() { + _impl_.size_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessage_DllStatus_CModule::_internal_size() const { + return _impl_.size_; +} +inline uint32_t CUserMessage_DllStatus_CModule::size() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.size) + return _internal_size(); +} +inline void CUserMessage_DllStatus_CModule::_internal_set_size(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.size_ = value; +} +inline void CUserMessage_DllStatus_CModule::set_size(uint32_t value) { + _internal_set_size(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.size) +} + +// optional uint32 timestamp = 4; +inline bool CUserMessage_DllStatus_CModule::_internal_has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_DllStatus_CModule::has_timestamp() const { + return _internal_has_timestamp(); +} +inline void CUserMessage_DllStatus_CModule::clear_timestamp() { + _impl_.timestamp_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CUserMessage_DllStatus_CModule::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint32_t CUserMessage_DllStatus_CModule::timestamp() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.timestamp) + return _internal_timestamp(); +} +inline void CUserMessage_DllStatus_CModule::_internal_set_timestamp(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.timestamp_ = value; +} +inline void CUserMessage_DllStatus_CModule::set_timestamp(uint32_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.timestamp) +} + +// ------------------------------------------------------------------- + +// CUserMessage_DllStatus + +// optional string file_report = 1; +inline bool CUserMessage_DllStatus::_internal_has_file_report() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_file_report() const { + return _internal_has_file_report(); +} +inline void CUserMessage_DllStatus::clear_file_report() { + _impl_.file_report_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_DllStatus::file_report() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.file_report) + return _internal_file_report(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_DllStatus::set_file_report(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.file_report) +} +inline std::string* CUserMessage_DllStatus::mutable_file_report() { + std::string* _s = _internal_mutable_file_report(); + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.file_report) + return _s; +} +inline const std::string& CUserMessage_DllStatus::_internal_file_report() const { + return _impl_.file_report_.Get(); +} +inline void CUserMessage_DllStatus::_internal_set_file_report(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.file_report_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus::_internal_mutable_file_report() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.file_report_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus::release_file_report() { + // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.file_report) + if (!_internal_has_file_report()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.file_report_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_DllStatus::set_allocated_file_report(std::string* file_report) { + if (file_report != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.file_report_.IsDefault()) { + _impl_.file_report_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.file_report) +} + +// optional string command_line = 2; +inline bool CUserMessage_DllStatus::_internal_has_command_line() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_command_line() const { + return _internal_has_command_line(); +} +inline void CUserMessage_DllStatus::clear_command_line() { + _impl_.command_line_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessage_DllStatus::command_line() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.command_line) + return _internal_command_line(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_DllStatus::set_command_line(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.command_line_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.command_line) +} +inline std::string* CUserMessage_DllStatus::mutable_command_line() { + std::string* _s = _internal_mutable_command_line(); + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.command_line) + return _s; +} +inline const std::string& CUserMessage_DllStatus::_internal_command_line() const { + return _impl_.command_line_.Get(); +} +inline void CUserMessage_DllStatus::_internal_set_command_line(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.command_line_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus::_internal_mutable_command_line() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.command_line_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_DllStatus::release_command_line() { + // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.command_line) + if (!_internal_has_command_line()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.command_line_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_line_.IsDefault()) { + _impl_.command_line_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_DllStatus::set_allocated_command_line(std::string* command_line) { + if (command_line != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.command_line_.SetAllocated(command_line, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.command_line_.IsDefault()) { + _impl_.command_line_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.command_line) +} + +// optional uint32 total_files = 3; +inline bool CUserMessage_DllStatus::_internal_has_total_files() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_total_files() const { + return _internal_has_total_files(); +} +inline void CUserMessage_DllStatus::clear_total_files() { + _impl_.total_files_ = 0u; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline uint32_t CUserMessage_DllStatus::_internal_total_files() const { + return _impl_.total_files_; +} +inline uint32_t CUserMessage_DllStatus::total_files() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.total_files) + return _internal_total_files(); +} +inline void CUserMessage_DllStatus::_internal_set_total_files(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.total_files_ = value; +} +inline void CUserMessage_DllStatus::set_total_files(uint32_t value) { + _internal_set_total_files(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.total_files) +} + +// optional uint32 process_id = 4; +inline bool CUserMessage_DllStatus::_internal_has_process_id() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_process_id() const { + return _internal_has_process_id(); +} +inline void CUserMessage_DllStatus::clear_process_id() { + _impl_.process_id_ = 0u; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline uint32_t CUserMessage_DllStatus::_internal_process_id() const { + return _impl_.process_id_; +} +inline uint32_t CUserMessage_DllStatus::process_id() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.process_id) + return _internal_process_id(); +} +inline void CUserMessage_DllStatus::_internal_set_process_id(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.process_id_ = value; +} +inline void CUserMessage_DllStatus::set_process_id(uint32_t value) { + _internal_set_process_id(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.process_id) +} + +// optional int32 osversion = 5; +inline bool CUserMessage_DllStatus::_internal_has_osversion() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_osversion() const { + return _internal_has_osversion(); +} +inline void CUserMessage_DllStatus::clear_osversion() { + _impl_.osversion_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessage_DllStatus::_internal_osversion() const { + return _impl_.osversion_; +} +inline int32_t CUserMessage_DllStatus::osversion() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.osversion) + return _internal_osversion(); +} +inline void CUserMessage_DllStatus::_internal_set_osversion(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.osversion_ = value; +} +inline void CUserMessage_DllStatus::set_osversion(int32_t value) { + _internal_set_osversion(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.osversion) +} + +// optional uint64 client_time = 6; +inline bool CUserMessage_DllStatus::_internal_has_client_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_DllStatus::has_client_time() const { + return _internal_has_client_time(); +} +inline void CUserMessage_DllStatus::clear_client_time() { + _impl_.client_time_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline uint64_t CUserMessage_DllStatus::_internal_client_time() const { + return _impl_.client_time_; +} +inline uint64_t CUserMessage_DllStatus::client_time() const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.client_time) + return _internal_client_time(); +} +inline void CUserMessage_DllStatus::_internal_set_client_time(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_time_ = value; +} +inline void CUserMessage_DllStatus::set_client_time(uint64_t value) { + _internal_set_client_time(value); + // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.client_time) +} + +// repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; +inline int CUserMessage_DllStatus::_internal_diagnostics_size() const { + return _impl_.diagnostics_.size(); +} +inline int CUserMessage_DllStatus::diagnostics_size() const { + return _internal_diagnostics_size(); +} +inline void CUserMessage_DllStatus::clear_diagnostics() { + _impl_.diagnostics_.Clear(); +} +inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::mutable_diagnostics(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.diagnostics) + return _impl_.diagnostics_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >* +CUserMessage_DllStatus::mutable_diagnostics() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_DllStatus.diagnostics) + return &_impl_.diagnostics_; +} +inline const ::CUserMessage_DllStatus_CVDiagnostic& CUserMessage_DllStatus::_internal_diagnostics(int index) const { + return _impl_.diagnostics_.Get(index); +} +inline const ::CUserMessage_DllStatus_CVDiagnostic& CUserMessage_DllStatus::diagnostics(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.diagnostics) + return _internal_diagnostics(index); +} +inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::_internal_add_diagnostics() { + return _impl_.diagnostics_.Add(); +} +inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::add_diagnostics() { + ::CUserMessage_DllStatus_CVDiagnostic* _add = _internal_add_diagnostics(); + // @@protoc_insertion_point(field_add:CUserMessage_DllStatus.diagnostics) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >& +CUserMessage_DllStatus::diagnostics() const { + // @@protoc_insertion_point(field_list:CUserMessage_DllStatus.diagnostics) + return _impl_.diagnostics_; +} + +// repeated .CUserMessage_DllStatus.CModule modules = 8; +inline int CUserMessage_DllStatus::_internal_modules_size() const { + return _impl_.modules_.size(); +} +inline int CUserMessage_DllStatus::modules_size() const { + return _internal_modules_size(); +} +inline void CUserMessage_DllStatus::clear_modules() { + _impl_.modules_.Clear(); +} +inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::mutable_modules(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.modules) + return _impl_.modules_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >* +CUserMessage_DllStatus::mutable_modules() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_DllStatus.modules) + return &_impl_.modules_; +} +inline const ::CUserMessage_DllStatus_CModule& CUserMessage_DllStatus::_internal_modules(int index) const { + return _impl_.modules_.Get(index); +} +inline const ::CUserMessage_DllStatus_CModule& CUserMessage_DllStatus::modules(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.modules) + return _internal_modules(index); +} +inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::_internal_add_modules() { + return _impl_.modules_.Add(); +} +inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::add_modules() { + ::CUserMessage_DllStatus_CModule* _add = _internal_add_modules(); + // @@protoc_insertion_point(field_add:CUserMessage_DllStatus.modules) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >& +CUserMessage_DllStatus::modules() const { + // @@protoc_insertion_point(field_list:CUserMessage_DllStatus.modules) + return _impl_.modules_; +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestInventory + +// optional int32 inventory = 1; +inline bool CUserMessageRequestInventory::_internal_has_inventory() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageRequestInventory::has_inventory() const { + return _internal_has_inventory(); +} +inline void CUserMessageRequestInventory::clear_inventory() { + _impl_.inventory_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessageRequestInventory::_internal_inventory() const { + return _impl_.inventory_; +} +inline int32_t CUserMessageRequestInventory::inventory() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.inventory) + return _internal_inventory(); +} +inline void CUserMessageRequestInventory::_internal_set_inventory(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.inventory_ = value; +} +inline void CUserMessageRequestInventory::set_inventory(int32_t value) { + _internal_set_inventory(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.inventory) +} + +// optional int32 offset = 2; +inline bool CUserMessageRequestInventory::_internal_has_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageRequestInventory::has_offset() const { + return _internal_has_offset(); +} +inline void CUserMessageRequestInventory::clear_offset() { + _impl_.offset_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessageRequestInventory::_internal_offset() const { + return _impl_.offset_; +} +inline int32_t CUserMessageRequestInventory::offset() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.offset) + return _internal_offset(); +} +inline void CUserMessageRequestInventory::_internal_set_offset(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.offset_ = value; +} +inline void CUserMessageRequestInventory::set_offset(int32_t value) { + _internal_set_offset(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.offset) +} + +// optional int32 options = 3; +inline bool CUserMessageRequestInventory::_internal_has_options() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageRequestInventory::has_options() const { + return _internal_has_options(); +} +inline void CUserMessageRequestInventory::clear_options() { + _impl_.options_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessageRequestInventory::_internal_options() const { + return _impl_.options_; +} +inline int32_t CUserMessageRequestInventory::options() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.options) + return _internal_options(); +} +inline void CUserMessageRequestInventory::_internal_set_options(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.options_ = value; +} +inline void CUserMessageRequestInventory::set_options(int32_t value) { + _internal_set_options(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.options) +} + +// ------------------------------------------------------------------- + +// CUserMessage_Inventory_Response_InventoryDetail + +// optional int32 index = 1; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_index() const { + return _internal_has_index(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_index() const { + return _impl_.index_; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::index() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.index) + return _internal_index(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.index_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.index) +} + +// optional int64 primary = 2; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_primary() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_primary() const { + return _internal_has_primary(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_primary() { + _impl_.primary_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_primary() const { + return _impl_.primary_; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::primary() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.primary) + return _internal_primary(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_primary(int64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.primary_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_primary(int64_t value) { + _internal_set_primary(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.primary) +} + +// optional int64 offset = 3; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_offset() const { + return _internal_has_offset(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_offset() { + _impl_.offset_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_offset() const { + return _impl_.offset_; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::offset() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.offset) + return _internal_offset(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_offset(int64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.offset_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_offset(int64_t value) { + _internal_set_offset(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.offset) +} + +// optional int64 first = 4; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_first() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_first() const { + return _internal_has_first(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_first() { + _impl_.first_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_first() const { + return _impl_.first_; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::first() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.first) + return _internal_first(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_first(int64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.first_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_first(int64_t value) { + _internal_set_first(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.first) +} + +// optional int64 base = 5; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base() const { + return _internal_has_base(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base() { + _impl_.base_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base() const { + return _impl_.base_; +} +inline int64_t CUserMessage_Inventory_Response_InventoryDetail::base() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base) + return _internal_base(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base(int64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.base_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_base(int64_t value) { + _internal_set_base(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base) +} + +// optional string name = 6; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_name() const { + return _internal_has_name(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::name() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Inventory_Response_InventoryDetail::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.name) +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.InventoryDetail.name) + return _s; +} +inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::release_name() { + // @@protoc_insertion_point(field_release:CUserMessage_Inventory_Response.InventoryDetail.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessage_Inventory_Response.InventoryDetail.name) +} + +// optional string base_name = 7; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_name() const { + return _internal_has_base_name(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_name() { + _impl_.base_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::base_name() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_name) + return _internal_base_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Inventory_Response_InventoryDetail::set_base_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.base_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_name) +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::mutable_base_name() { + std::string* _s = _internal_mutable_base_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.InventoryDetail.base_name) + return _s; +} +inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::_internal_base_name() const { + return _impl_.base_name_.Get(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.base_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::_internal_mutable_base_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.base_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Inventory_Response_InventoryDetail::release_base_name() { + // @@protoc_insertion_point(field_release:CUserMessage_Inventory_Response.InventoryDetail.base_name) + if (!_internal_has_base_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.base_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.base_name_.IsDefault()) { + _impl_.base_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_allocated_base_name(std::string* base_name) { + if (base_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.base_name_.SetAllocated(base_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.base_name_.IsDefault()) { + _impl_.base_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_Inventory_Response.InventoryDetail.base_name) +} + +// optional int32 base_detail = 8; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_detail() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_detail() const { + return _internal_has_base_detail(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_detail() { + _impl_.base_detail_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_detail() const { + return _impl_.base_detail_; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_detail() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_detail) + return _internal_base_detail(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_detail(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.base_detail_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_detail(int32_t value) { + _internal_set_base_detail(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_detail) +} + +// optional int32 base_time = 9; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_time() const { + return _internal_has_base_time(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_time() { + _impl_.base_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_time() const { + return _impl_.base_time_; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_time() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_time) + return _internal_base_time(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_time(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.base_time_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_time(int32_t value) { + _internal_set_base_time(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_time) +} + +// optional int32 base_hash = 10; +inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_hash() const { + return _internal_has_base_hash(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_hash() { + _impl_.base_hash_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_hash() const { + return _impl_.base_hash_; +} +inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_hash() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_hash) + return _internal_base_hash(); +} +inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_hash(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.base_hash_ = value; +} +inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_hash(int32_t value) { + _internal_set_base_hash(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_hash) +} + +// ------------------------------------------------------------------- + +// CUserMessage_Inventory_Response + +// optional fixed32 crc = 1; +inline bool CUserMessage_Inventory_Response::_internal_has_crc() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_crc() const { + return _internal_has_crc(); +} +inline void CUserMessage_Inventory_Response::clear_crc() { + _impl_.crc_ = 0u; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline uint32_t CUserMessage_Inventory_Response::_internal_crc() const { + return _impl_.crc_; +} +inline uint32_t CUserMessage_Inventory_Response::crc() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.crc) + return _internal_crc(); +} +inline void CUserMessage_Inventory_Response::_internal_set_crc(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.crc_ = value; +} +inline void CUserMessage_Inventory_Response::set_crc(uint32_t value) { + _internal_set_crc(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.crc) +} + +// optional int32 item_count = 2; +inline bool CUserMessage_Inventory_Response::_internal_has_item_count() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_item_count() const { + return _internal_has_item_count(); +} +inline void CUserMessage_Inventory_Response::clear_item_count() { + _impl_.item_count_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_item_count() const { + return _impl_.item_count_; +} +inline int32_t CUserMessage_Inventory_Response::item_count() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.item_count) + return _internal_item_count(); +} +inline void CUserMessage_Inventory_Response::_internal_set_item_count(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.item_count_ = value; +} +inline void CUserMessage_Inventory_Response::set_item_count(int32_t value) { + _internal_set_item_count(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.item_count) +} + +// optional int32 osversion = 5; +inline bool CUserMessage_Inventory_Response::_internal_has_osversion() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_osversion() const { + return _internal_has_osversion(); +} +inline void CUserMessage_Inventory_Response::clear_osversion() { + _impl_.osversion_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_osversion() const { + return _impl_.osversion_; +} +inline int32_t CUserMessage_Inventory_Response::osversion() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.osversion) + return _internal_osversion(); +} +inline void CUserMessage_Inventory_Response::_internal_set_osversion(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.osversion_ = value; +} +inline void CUserMessage_Inventory_Response::set_osversion(int32_t value) { + _internal_set_osversion(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.osversion) +} + +// optional int32 perf_time = 6; +inline bool CUserMessage_Inventory_Response::_internal_has_perf_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_perf_time() const { + return _internal_has_perf_time(); +} +inline void CUserMessage_Inventory_Response::clear_perf_time() { + _impl_.perf_time_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_perf_time() const { + return _impl_.perf_time_; +} +inline int32_t CUserMessage_Inventory_Response::perf_time() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.perf_time) + return _internal_perf_time(); +} +inline void CUserMessage_Inventory_Response::_internal_set_perf_time(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.perf_time_ = value; +} +inline void CUserMessage_Inventory_Response::set_perf_time(int32_t value) { + _internal_set_perf_time(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.perf_time) +} + +// optional int32 client_timestamp = 7; +inline bool CUserMessage_Inventory_Response::_internal_has_client_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_client_timestamp() const { + return _internal_has_client_timestamp(); +} +inline void CUserMessage_Inventory_Response::clear_client_timestamp() { + _impl_.client_timestamp_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_client_timestamp() const { + return _impl_.client_timestamp_; +} +inline int32_t CUserMessage_Inventory_Response::client_timestamp() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.client_timestamp) + return _internal_client_timestamp(); +} +inline void CUserMessage_Inventory_Response::_internal_set_client_timestamp(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.client_timestamp_ = value; +} +inline void CUserMessage_Inventory_Response::set_client_timestamp(int32_t value) { + _internal_set_client_timestamp(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.client_timestamp) +} + +// optional int32 platform = 8; +inline bool CUserMessage_Inventory_Response::_internal_has_platform() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_platform() const { + return _internal_has_platform(); +} +inline void CUserMessage_Inventory_Response::clear_platform() { + _impl_.platform_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_platform() const { + return _impl_.platform_; +} +inline int32_t CUserMessage_Inventory_Response::platform() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.platform) + return _internal_platform(); +} +inline void CUserMessage_Inventory_Response::_internal_set_platform(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.platform_ = value; +} +inline void CUserMessage_Inventory_Response::set_platform(int32_t value) { + _internal_set_platform(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.platform) +} + +// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; +inline int CUserMessage_Inventory_Response::_internal_inventories_size() const { + return _impl_.inventories_.size(); +} +inline int CUserMessage_Inventory_Response::inventories_size() const { + return _internal_inventories_size(); +} +inline void CUserMessage_Inventory_Response::clear_inventories() { + _impl_.inventories_.Clear(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories) + return _impl_.inventories_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* +CUserMessage_Inventory_Response::mutable_inventories() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories) + return &_impl_.inventories_; +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories(int index) const { + return _impl_.inventories_.Get(index); +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories) + return _internal_inventories(index); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories() { + return _impl_.inventories_.Add(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories() { + ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories(); + // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& +CUserMessage_Inventory_Response::inventories() const { + // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories) + return _impl_.inventories_; +} + +// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; +inline int CUserMessage_Inventory_Response::_internal_inventories2_size() const { + return _impl_.inventories2_.size(); +} +inline int CUserMessage_Inventory_Response::inventories2_size() const { + return _internal_inventories2_size(); +} +inline void CUserMessage_Inventory_Response::clear_inventories2() { + _impl_.inventories2_.Clear(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories2(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories2) + return _impl_.inventories2_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* +CUserMessage_Inventory_Response::mutable_inventories2() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories2) + return &_impl_.inventories2_; +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories2(int index) const { + return _impl_.inventories2_.Get(index); +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories2(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories2) + return _internal_inventories2(index); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories2() { + return _impl_.inventories2_.Add(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories2() { + ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories2(); + // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories2) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& +CUserMessage_Inventory_Response::inventories2() const { + // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories2) + return _impl_.inventories2_; +} + +// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; +inline int CUserMessage_Inventory_Response::_internal_inventories3_size() const { + return _impl_.inventories3_.size(); +} +inline int CUserMessage_Inventory_Response::inventories3_size() const { + return _internal_inventories3_size(); +} +inline void CUserMessage_Inventory_Response::clear_inventories3() { + _impl_.inventories3_.Clear(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories3(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories3) + return _impl_.inventories3_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* +CUserMessage_Inventory_Response::mutable_inventories3() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories3) + return &_impl_.inventories3_; +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories3(int index) const { + return _impl_.inventories3_.Get(index); +} +inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories3(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories3) + return _internal_inventories3(index); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories3() { + return _impl_.inventories3_.Add(); +} +inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories3() { + ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories3(); + // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories3) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& +CUserMessage_Inventory_Response::inventories3() const { + // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories3) + return _impl_.inventories3_; +} + +// optional int32 inv_type = 11; +inline bool CUserMessage_Inventory_Response::_internal_has_inv_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_inv_type() const { + return _internal_has_inv_type(); +} +inline void CUserMessage_Inventory_Response::clear_inv_type() { + _impl_.inv_type_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_inv_type() const { + return _impl_.inv_type_; +} +inline int32_t CUserMessage_Inventory_Response::inv_type() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inv_type) + return _internal_inv_type(); +} +inline void CUserMessage_Inventory_Response::_internal_set_inv_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.inv_type_ = value; +} +inline void CUserMessage_Inventory_Response::set_inv_type(int32_t value) { + _internal_set_inv_type(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.inv_type) +} + +// optional int32 build_version = 12; +inline bool CUserMessage_Inventory_Response::_internal_has_build_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_build_version() const { + return _internal_has_build_version(); +} +inline void CUserMessage_Inventory_Response::clear_build_version() { + _impl_.build_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_build_version() const { + return _impl_.build_version_; +} +inline int32_t CUserMessage_Inventory_Response::build_version() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.build_version) + return _internal_build_version(); +} +inline void CUserMessage_Inventory_Response::_internal_set_build_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.build_version_ = value; +} +inline void CUserMessage_Inventory_Response::set_build_version(int32_t value) { + _internal_set_build_version(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.build_version) +} + +// optional int32 instance = 13; +inline bool CUserMessage_Inventory_Response::_internal_has_instance() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_instance() const { + return _internal_has_instance(); +} +inline void CUserMessage_Inventory_Response::clear_instance() { + _impl_.instance_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CUserMessage_Inventory_Response::_internal_instance() const { + return _impl_.instance_; +} +inline int32_t CUserMessage_Inventory_Response::instance() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.instance) + return _internal_instance(); +} +inline void CUserMessage_Inventory_Response::_internal_set_instance(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.instance_ = value; +} +inline void CUserMessage_Inventory_Response::set_instance(int32_t value) { + _internal_set_instance(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.instance) +} + +// optional int64 start_time = 15; +inline bool CUserMessage_Inventory_Response::_internal_has_start_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMessage_Inventory_Response::has_start_time() const { + return _internal_has_start_time(); +} +inline void CUserMessage_Inventory_Response::clear_start_time() { + _impl_.start_time_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int64_t CUserMessage_Inventory_Response::_internal_start_time() const { + return _impl_.start_time_; +} +inline int64_t CUserMessage_Inventory_Response::start_time() const { + // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.start_time) + return _internal_start_time(); +} +inline void CUserMessage_Inventory_Response::_internal_set_start_time(int64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.start_time_ = value; +} +inline void CUserMessage_Inventory_Response::set_start_time(int64_t value) { + _internal_set_start_time(value); + // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.start_time) +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestDiagnostic_Diagnostic + +// optional int32 index = 1; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_index() const { + return _internal_has_index(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_index() const { + return _impl_.index_; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::index() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.index) + return _internal_index(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.index_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.index) +} + +// optional int64 offset = 2; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_offset() const { + return _internal_has_offset(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_offset() { + _impl_.offset_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_offset() const { + return _impl_.offset_; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::offset() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.offset) + return _internal_offset(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_offset(int64_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.offset_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_offset(int64_t value) { + _internal_set_offset(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.offset) +} + +// optional int32 param = 3; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_param() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_param() const { + return _internal_has_param(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_param() { + _impl_.param_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_param() const { + return _impl_.param_; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::param() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.param) + return _internal_param(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_param(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.param_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_param(int32_t value) { + _internal_set_param(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.param) +} + +// optional int32 length = 4; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_length() const { + return _internal_has_length(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_length() { + _impl_.length_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_length() const { + return _impl_.length_; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::length() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.length) + return _internal_length(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_length(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.length_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_length(int32_t value) { + _internal_set_length(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.length) +} + +// optional int32 type = 5; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_type() const { + return _internal_has_type(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_type() const { + return _impl_.type_; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::type() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.type) + return _internal_type(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.type_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.type) +} + +// optional int64 base = 6; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_base() const { + return _internal_has_base(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_base() { + _impl_.base_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_base() const { + return _impl_.base_; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::base() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.base) + return _internal_base(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_base(int64_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.base_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_base(int64_t value) { + _internal_set_base(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.base) +} + +// optional int64 range = 7; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_range() const { + return _internal_has_range(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_range() { + _impl_.range_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_range() const { + return _impl_.range_; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::range() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.range) + return _internal_range(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_range(int64_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.range_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_range(int64_t value) { + _internal_set_range(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.range) +} + +// optional int64 extent = 8; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_extent() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_extent() const { + return _internal_has_extent(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_extent() { + _impl_.extent_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_extent() const { + return _impl_.extent_; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::extent() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.extent) + return _internal_extent(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_extent(int64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.extent_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_extent(int64_t value) { + _internal_set_extent(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.extent) +} + +// optional int64 detail = 9; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_detail() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_detail() const { + return _internal_has_detail(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_detail() { + _impl_.detail_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_detail() const { + return _impl_.detail_; +} +inline int64_t CUserMessageRequestDiagnostic_Diagnostic::detail() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.detail) + return _internal_detail(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_detail(int64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.detail_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_detail(int64_t value) { + _internal_set_detail(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.detail) +} + +// optional string name = 10; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_name() const { + return _internal_has_name(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::name() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageRequestDiagnostic_Diagnostic::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.name) +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.name) + return _s; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_name() { + // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:CUserMessageRequestDiagnostic.Diagnostic.name) +} + +// optional string alias = 11; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_alias() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_alias() const { + return _internal_has_alias(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_alias() { + _impl_.alias_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::alias() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.alias) + return _internal_alias(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageRequestDiagnostic_Diagnostic::set_alias(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.alias_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.alias) +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_alias() { + std::string* _s = _internal_mutable_alias(); + // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.alias) + return _s; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_alias() const { + return _impl_.alias_.Get(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_alias(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.alias_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_alias() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.alias_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_alias() { + // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.alias) + if (!_internal_has_alias()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.alias_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.alias_.IsDefault()) { + _impl_.alias_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_alias(std::string* alias) { + if (alias != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.alias_.SetAllocated(alias, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.alias_.IsDefault()) { + _impl_.alias_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDiagnostic.Diagnostic.alias) +} + +// optional bytes vardetail = 12; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_vardetail() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_vardetail() const { + return _internal_has_vardetail(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_vardetail() { + _impl_.vardetail_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::vardetail() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.vardetail) + return _internal_vardetail(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessageRequestDiagnostic_Diagnostic::set_vardetail(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.vardetail_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.vardetail) +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_vardetail() { + std::string* _s = _internal_mutable_vardetail(); + // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.vardetail) + return _s; +} +inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_vardetail() const { + return _impl_.vardetail_.Get(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_vardetail(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.vardetail_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_vardetail() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.vardetail_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_vardetail() { + // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.vardetail) + if (!_internal_has_vardetail()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.vardetail_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.vardetail_.IsDefault()) { + _impl_.vardetail_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_vardetail(std::string* vardetail) { + if (vardetail != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.vardetail_.SetAllocated(vardetail, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.vardetail_.IsDefault()) { + _impl_.vardetail_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDiagnostic.Diagnostic.vardetail) +} + +// optional int32 context = 13; +inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_context() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CUserMessageRequestDiagnostic_Diagnostic::has_context() const { + return _internal_has_context(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::clear_context() { + _impl_.context_ = 0; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_context() const { + return _impl_.context_; +} +inline int32_t CUserMessageRequestDiagnostic_Diagnostic::context() const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.context) + return _internal_context(); +} +inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_context(int32_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.context_ = value; +} +inline void CUserMessageRequestDiagnostic_Diagnostic::set_context(int32_t value) { + _internal_set_context(value); + // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.context) +} + +// ------------------------------------------------------------------- + +// CUserMessageRequestDiagnostic + +// repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; +inline int CUserMessageRequestDiagnostic::_internal_diagnostics_size() const { + return _impl_.diagnostics_.size(); +} +inline int CUserMessageRequestDiagnostic::diagnostics_size() const { + return _internal_diagnostics_size(); +} +inline void CUserMessageRequestDiagnostic::clear_diagnostics() { + _impl_.diagnostics_.Clear(); +} +inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::mutable_diagnostics(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.diagnostics) + return _impl_.diagnostics_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >* +CUserMessageRequestDiagnostic::mutable_diagnostics() { + // @@protoc_insertion_point(field_mutable_list:CUserMessageRequestDiagnostic.diagnostics) + return &_impl_.diagnostics_; +} +inline const ::CUserMessageRequestDiagnostic_Diagnostic& CUserMessageRequestDiagnostic::_internal_diagnostics(int index) const { + return _impl_.diagnostics_.Get(index); +} +inline const ::CUserMessageRequestDiagnostic_Diagnostic& CUserMessageRequestDiagnostic::diagnostics(int index) const { + // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.diagnostics) + return _internal_diagnostics(index); +} +inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::_internal_add_diagnostics() { + return _impl_.diagnostics_.Add(); +} +inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::add_diagnostics() { + ::CUserMessageRequestDiagnostic_Diagnostic* _add = _internal_add_diagnostics(); + // @@protoc_insertion_point(field_add:CUserMessageRequestDiagnostic.diagnostics) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >& +CUserMessageRequestDiagnostic::diagnostics() const { + // @@protoc_insertion_point(field_list:CUserMessageRequestDiagnostic.diagnostics) + return _impl_.diagnostics_; +} + +// ------------------------------------------------------------------- + +// CUserMessage_Diagnostic_Response_Diagnostic + +// optional int32 index = 1; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_index() const { + return _internal_has_index(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_index() { + _impl_.index_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_index() const { + return _impl_.index_; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::index() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.index) + return _internal_index(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000020u; + _impl_.index_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_index(int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.index) +} + +// optional int64 offset = 2; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_offset() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_offset() const { + return _internal_has_offset(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_offset() { + _impl_.offset_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_offset() const { + return _impl_.offset_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::offset() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.offset) + return _internal_offset(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_offset(int64_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.offset_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_offset(int64_t value) { + _internal_set_offset(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.offset) +} + +// optional int32 param = 3; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_param() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_param() const { + return _internal_has_param(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_param() { + _impl_.param_ = 0; + _impl_._has_bits_[0] &= ~0x00000040u; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_param() const { + return _impl_.param_; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::param() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.param) + return _internal_param(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_param(int32_t value) { + _impl_._has_bits_[0] |= 0x00000040u; + _impl_.param_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_param(int32_t value) { + _internal_set_param(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.param) +} + +// optional int32 length = 4; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_length() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_length() const { + return _internal_has_length(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_length() { + _impl_.length_ = 0; + _impl_._has_bits_[0] &= ~0x00000100u; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_length() const { + return _impl_.length_; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::length() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.length) + return _internal_length(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_length(int32_t value) { + _impl_._has_bits_[0] |= 0x00000100u; + _impl_.length_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_length(int32_t value) { + _internal_set_length(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.length) +} + +// optional bytes detail = 5; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_detail() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_detail() const { + return _internal_has_detail(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_detail() { + _impl_.detail_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::detail() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.detail) + return _internal_detail(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Diagnostic_Response_Diagnostic::set_detail(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.detail_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.detail) +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_detail() { + std::string* _s = _internal_mutable_detail(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.detail) + return _s; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_detail() const { + return _impl_.detail_.Get(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_detail(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.detail_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_detail() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.detail_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_detail() { + // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.detail) + if (!_internal_has_detail()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.detail_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.detail_.IsDefault()) { + _impl_.detail_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_detail(std::string* detail) { + if (detail != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.detail_.SetAllocated(detail, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.detail_.IsDefault()) { + _impl_.detail_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.detail) +} + +// optional int64 base = 6; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_base() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_base() const { + return _internal_has_base(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_base() { + _impl_.base_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000080u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_base() const { + return _impl_.base_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::base() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.base) + return _internal_base(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_base(int64_t value) { + _impl_._has_bits_[0] |= 0x00000080u; + _impl_.base_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_base(int64_t value) { + _internal_set_base(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.base) +} + +// optional int64 range = 7; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_range() const { + bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_range() const { + return _internal_has_range(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_range() { + _impl_.range_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000400u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_range() const { + return _impl_.range_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::range() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.range) + return _internal_range(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_range(int64_t value) { + _impl_._has_bits_[0] |= 0x00000400u; + _impl_.range_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_range(int64_t value) { + _internal_set_range(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.range) +} + +// optional int32 type = 8; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_type() const { + return _internal_has_type(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_type() { + _impl_.type_ = 0; + _impl_._has_bits_[0] &= ~0x00000200u; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_type() const { + return _impl_.type_; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::type() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.type) + return _internal_type(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_type(int32_t value) { + _impl_._has_bits_[0] |= 0x00000200u; + _impl_.type_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_type(int32_t value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.type) +} + +// optional string name = 10; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_name() const { + return _internal_has_name(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::name() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Diagnostic_Response_Diagnostic::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.name) +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.name) + return _s; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_name() { + // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _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:CUserMessage_Diagnostic_Response.Diagnostic.name) +} + +// optional string alias = 11; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_alias() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_alias() const { + return _internal_has_alias(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_alias() { + _impl_.alias_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::alias() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.alias) + return _internal_alias(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Diagnostic_Response_Diagnostic::set_alias(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.alias_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.alias) +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_alias() { + std::string* _s = _internal_mutable_alias(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.alias) + return _s; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_alias() const { + return _impl_.alias_.Get(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_alias(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.alias_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_alias() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.alias_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_alias() { + // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.alias) + if (!_internal_has_alias()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.alias_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.alias_.IsDefault()) { + _impl_.alias_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_alias(std::string* alias) { + if (alias != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.alias_.SetAllocated(alias, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.alias_.IsDefault()) { + _impl_.alias_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.alias) +} + +// optional bytes backup = 12; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_backup() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_backup() const { + return _internal_has_backup(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_backup() { + _impl_.backup_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::backup() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.backup) + return _internal_backup(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_Diagnostic_Response_Diagnostic::set_backup(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.backup_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.backup) +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_backup() { + std::string* _s = _internal_mutable_backup(); + // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.backup) + return _s; +} +inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_backup() const { + return _impl_.backup_.Get(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_backup(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.backup_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_backup() { + _impl_._has_bits_[0] |= 0x00000008u; + return _impl_.backup_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_backup() { + // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.backup) + if (!_internal_has_backup()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000008u; + auto* p = _impl_.backup_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.backup_.IsDefault()) { + _impl_.backup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_backup(std::string* backup) { + if (backup != nullptr) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.backup_.SetAllocated(backup, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.backup_.IsDefault()) { + _impl_.backup_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.backup) +} + +// optional int32 context = 13; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_context() const { + bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_context() const { + return _internal_has_context(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_context() { + _impl_.context_ = 0; + _impl_._has_bits_[0] &= ~0x00004000u; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_context() const { + return _impl_.context_; +} +inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::context() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.context) + return _internal_context(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_context(int32_t value) { + _impl_._has_bits_[0] |= 0x00004000u; + _impl_.context_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_context(int32_t value) { + _internal_set_context(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.context) +} + +// optional int64 control = 14; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_control() const { + bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_control() const { + return _internal_has_control(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_control() { + _impl_.control_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000800u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_control() const { + return _impl_.control_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::control() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.control) + return _internal_control(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_control(int64_t value) { + _impl_._has_bits_[0] |= 0x00000800u; + _impl_.control_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_control(int64_t value) { + _internal_set_control(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.control) +} + +// optional int64 augment = 15; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_augment() const { + bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_augment() const { + return _internal_has_augment(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_augment() { + _impl_.augment_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00001000u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_augment() const { + return _impl_.augment_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::augment() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.augment) + return _internal_augment(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_augment(int64_t value) { + _impl_._has_bits_[0] |= 0x00001000u; + _impl_.augment_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_augment(int64_t value) { + _internal_set_augment(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.augment) +} + +// optional int64 placebo = 16; +inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_placebo() const { + bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_placebo() const { + return _internal_has_placebo(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_placebo() { + _impl_.placebo_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00002000u; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_placebo() const { + return _impl_.placebo_; +} +inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::placebo() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.placebo) + return _internal_placebo(); +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_placebo(int64_t value) { + _impl_._has_bits_[0] |= 0x00002000u; + _impl_.placebo_ = value; +} +inline void CUserMessage_Diagnostic_Response_Diagnostic::set_placebo(int64_t value) { + _internal_set_placebo(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.placebo) +} + +// ------------------------------------------------------------------- + +// CUserMessage_Diagnostic_Response + +// repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; +inline int CUserMessage_Diagnostic_Response::_internal_diagnostics_size() const { + return _impl_.diagnostics_.size(); +} +inline int CUserMessage_Diagnostic_Response::diagnostics_size() const { + return _internal_diagnostics_size(); +} +inline void CUserMessage_Diagnostic_Response::clear_diagnostics() { + _impl_.diagnostics_.Clear(); +} +inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::mutable_diagnostics(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.diagnostics) + return _impl_.diagnostics_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >* +CUserMessage_Diagnostic_Response::mutable_diagnostics() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_Diagnostic_Response.diagnostics) + return &_impl_.diagnostics_; +} +inline const ::CUserMessage_Diagnostic_Response_Diagnostic& CUserMessage_Diagnostic_Response::_internal_diagnostics(int index) const { + return _impl_.diagnostics_.Get(index); +} +inline const ::CUserMessage_Diagnostic_Response_Diagnostic& CUserMessage_Diagnostic_Response::diagnostics(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.diagnostics) + return _internal_diagnostics(index); +} +inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::_internal_add_diagnostics() { + return _impl_.diagnostics_.Add(); +} +inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::add_diagnostics() { + ::CUserMessage_Diagnostic_Response_Diagnostic* _add = _internal_add_diagnostics(); + // @@protoc_insertion_point(field_add:CUserMessage_Diagnostic_Response.diagnostics) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >& +CUserMessage_Diagnostic_Response::diagnostics() const { + // @@protoc_insertion_point(field_list:CUserMessage_Diagnostic_Response.diagnostics) + return _impl_.diagnostics_; +} + +// optional int32 build_version = 2; +inline bool CUserMessage_Diagnostic_Response::_internal_has_build_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response::has_build_version() const { + return _internal_has_build_version(); +} +inline void CUserMessage_Diagnostic_Response::clear_build_version() { + _impl_.build_version_ = 0; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int32_t CUserMessage_Diagnostic_Response::_internal_build_version() const { + return _impl_.build_version_; +} +inline int32_t CUserMessage_Diagnostic_Response::build_version() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.build_version) + return _internal_build_version(); +} +inline void CUserMessage_Diagnostic_Response::_internal_set_build_version(int32_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.build_version_ = value; +} +inline void CUserMessage_Diagnostic_Response::set_build_version(int32_t value) { + _internal_set_build_version(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.build_version) +} + +// optional int32 instance = 3; +inline bool CUserMessage_Diagnostic_Response::_internal_has_instance() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response::has_instance() const { + return _internal_has_instance(); +} +inline void CUserMessage_Diagnostic_Response::clear_instance() { + _impl_.instance_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t CUserMessage_Diagnostic_Response::_internal_instance() const { + return _impl_.instance_; +} +inline int32_t CUserMessage_Diagnostic_Response::instance() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.instance) + return _internal_instance(); +} +inline void CUserMessage_Diagnostic_Response::_internal_set_instance(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.instance_ = value; +} +inline void CUserMessage_Diagnostic_Response::set_instance(int32_t value) { + _internal_set_instance(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.instance) +} + +// optional int64 start_time = 4; +inline bool CUserMessage_Diagnostic_Response::_internal_has_start_time() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response::has_start_time() const { + return _internal_has_start_time(); +} +inline void CUserMessage_Diagnostic_Response::clear_start_time() { + _impl_.start_time_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int64_t CUserMessage_Diagnostic_Response::_internal_start_time() const { + return _impl_.start_time_; +} +inline int64_t CUserMessage_Diagnostic_Response::start_time() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.start_time) + return _internal_start_time(); +} +inline void CUserMessage_Diagnostic_Response::_internal_set_start_time(int64_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.start_time_ = value; +} +inline void CUserMessage_Diagnostic_Response::set_start_time(int64_t value) { + _internal_set_start_time(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.start_time) +} + +// optional int32 osversion = 5; +inline bool CUserMessage_Diagnostic_Response::_internal_has_osversion() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response::has_osversion() const { + return _internal_has_osversion(); +} +inline void CUserMessage_Diagnostic_Response::clear_osversion() { + _impl_.osversion_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_Diagnostic_Response::_internal_osversion() const { + return _impl_.osversion_; +} +inline int32_t CUserMessage_Diagnostic_Response::osversion() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.osversion) + return _internal_osversion(); +} +inline void CUserMessage_Diagnostic_Response::_internal_set_osversion(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.osversion_ = value; +} +inline void CUserMessage_Diagnostic_Response::set_osversion(int32_t value) { + _internal_set_osversion(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.osversion) +} + +// optional int32 platform = 6; +inline bool CUserMessage_Diagnostic_Response::_internal_has_platform() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_Diagnostic_Response::has_platform() const { + return _internal_has_platform(); +} +inline void CUserMessage_Diagnostic_Response::clear_platform() { + _impl_.platform_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessage_Diagnostic_Response::_internal_platform() const { + return _impl_.platform_; +} +inline int32_t CUserMessage_Diagnostic_Response::platform() const { + // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.platform) + return _internal_platform(); +} +inline void CUserMessage_Diagnostic_Response::_internal_set_platform(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.platform_ = value; +} +inline void CUserMessage_Diagnostic_Response::set_platform(int32_t value) { + _internal_set_platform(value); + // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.platform) +} + +// ------------------------------------------------------------------- + +// CUserMessage_ExtraUserData + +// optional int32 item = 1; +inline bool CUserMessage_ExtraUserData::_internal_has_item() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_ExtraUserData::has_item() const { + return _internal_has_item(); +} +inline void CUserMessage_ExtraUserData::clear_item() { + _impl_.item_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t CUserMessage_ExtraUserData::_internal_item() const { + return _impl_.item_; +} +inline int32_t CUserMessage_ExtraUserData::item() const { + // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.item) + return _internal_item(); +} +inline void CUserMessage_ExtraUserData::_internal_set_item(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.item_ = value; +} +inline void CUserMessage_ExtraUserData::set_item(int32_t value) { + _internal_set_item(value); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.item) +} + +// optional int64 value1 = 2; +inline bool CUserMessage_ExtraUserData::_internal_has_value1() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_ExtraUserData::has_value1() const { + return _internal_has_value1(); +} +inline void CUserMessage_ExtraUserData::clear_value1() { + _impl_.value1_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline int64_t CUserMessage_ExtraUserData::_internal_value1() const { + return _impl_.value1_; +} +inline int64_t CUserMessage_ExtraUserData::value1() const { + // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.value1) + return _internal_value1(); +} +inline void CUserMessage_ExtraUserData::_internal_set_value1(int64_t value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value1_ = value; +} +inline void CUserMessage_ExtraUserData::set_value1(int64_t value) { + _internal_set_value1(value); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.value1) +} + +// optional int64 value2 = 3; +inline bool CUserMessage_ExtraUserData::_internal_has_value2() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_ExtraUserData::has_value2() const { + return _internal_has_value2(); +} +inline void CUserMessage_ExtraUserData::clear_value2() { + _impl_.value2_ = int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int64_t CUserMessage_ExtraUserData::_internal_value2() const { + return _impl_.value2_; +} +inline int64_t CUserMessage_ExtraUserData::value2() const { + // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.value2) + return _internal_value2(); +} +inline void CUserMessage_ExtraUserData::_internal_set_value2(int64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.value2_ = value; +} +inline void CUserMessage_ExtraUserData::set_value2(int64_t value) { + _internal_set_value2(value); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.value2) +} + +// repeated bytes detail1 = 4; +inline int CUserMessage_ExtraUserData::_internal_detail1_size() const { + return _impl_.detail1_.size(); +} +inline int CUserMessage_ExtraUserData::detail1_size() const { + return _internal_detail1_size(); +} +inline void CUserMessage_ExtraUserData::clear_detail1() { + _impl_.detail1_.Clear(); +} +inline std::string* CUserMessage_ExtraUserData::add_detail1() { + std::string* _s = _internal_add_detail1(); + // @@protoc_insertion_point(field_add_mutable:CUserMessage_ExtraUserData.detail1) + return _s; +} +inline const std::string& CUserMessage_ExtraUserData::_internal_detail1(int index) const { + return _impl_.detail1_.Get(index); +} +inline const std::string& CUserMessage_ExtraUserData::detail1(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.detail1) + return _internal_detail1(index); +} +inline std::string* CUserMessage_ExtraUserData::mutable_detail1(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_ExtraUserData.detail1) + return _impl_.detail1_.Mutable(index); +} +inline void CUserMessage_ExtraUserData::set_detail1(int index, const std::string& value) { + _impl_.detail1_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::set_detail1(int index, std::string&& value) { + _impl_.detail1_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::set_detail1(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.detail1_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::set_detail1(int index, const void* value, size_t size) { + _impl_.detail1_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CUserMessage_ExtraUserData.detail1) +} +inline std::string* CUserMessage_ExtraUserData::_internal_add_detail1() { + return _impl_.detail1_.Add(); +} +inline void CUserMessage_ExtraUserData::add_detail1(const std::string& value) { + _impl_.detail1_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::add_detail1(std::string&& value) { + _impl_.detail1_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::add_detail1(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.detail1_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CUserMessage_ExtraUserData.detail1) +} +inline void CUserMessage_ExtraUserData::add_detail1(const void* value, size_t size) { + _impl_.detail1_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CUserMessage_ExtraUserData.detail1) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CUserMessage_ExtraUserData::detail1() const { + // @@protoc_insertion_point(field_list:CUserMessage_ExtraUserData.detail1) + return _impl_.detail1_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CUserMessage_ExtraUserData::mutable_detail1() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_ExtraUserData.detail1) + return &_impl_.detail1_; +} + +// repeated bytes detail2 = 5; +inline int CUserMessage_ExtraUserData::_internal_detail2_size() const { + return _impl_.detail2_.size(); +} +inline int CUserMessage_ExtraUserData::detail2_size() const { + return _internal_detail2_size(); +} +inline void CUserMessage_ExtraUserData::clear_detail2() { + _impl_.detail2_.Clear(); +} +inline std::string* CUserMessage_ExtraUserData::add_detail2() { + std::string* _s = _internal_add_detail2(); + // @@protoc_insertion_point(field_add_mutable:CUserMessage_ExtraUserData.detail2) + return _s; +} +inline const std::string& CUserMessage_ExtraUserData::_internal_detail2(int index) const { + return _impl_.detail2_.Get(index); +} +inline const std::string& CUserMessage_ExtraUserData::detail2(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.detail2) + return _internal_detail2(index); +} +inline std::string* CUserMessage_ExtraUserData::mutable_detail2(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_ExtraUserData.detail2) + return _impl_.detail2_.Mutable(index); +} +inline void CUserMessage_ExtraUserData::set_detail2(int index, const std::string& value) { + _impl_.detail2_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::set_detail2(int index, std::string&& value) { + _impl_.detail2_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::set_detail2(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.detail2_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::set_detail2(int index, const void* value, size_t size) { + _impl_.detail2_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CUserMessage_ExtraUserData.detail2) +} +inline std::string* CUserMessage_ExtraUserData::_internal_add_detail2() { + return _impl_.detail2_.Add(); +} +inline void CUserMessage_ExtraUserData::add_detail2(const std::string& value) { + _impl_.detail2_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::add_detail2(std::string&& value) { + _impl_.detail2_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::add_detail2(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.detail2_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CUserMessage_ExtraUserData.detail2) +} +inline void CUserMessage_ExtraUserData::add_detail2(const void* value, size_t size) { + _impl_.detail2_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CUserMessage_ExtraUserData.detail2) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CUserMessage_ExtraUserData::detail2() const { + // @@protoc_insertion_point(field_list:CUserMessage_ExtraUserData.detail2) + return _impl_.detail2_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CUserMessage_ExtraUserData::mutable_detail2() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_ExtraUserData.detail2) + return &_impl_.detail2_; +} + +// ------------------------------------------------------------------- + +// CUserMessage_NotifyResponseFound_Criteria + +// optional uint32 name_symbol = 1; +inline bool CUserMessage_NotifyResponseFound_Criteria::_internal_has_name_symbol() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound_Criteria::has_name_symbol() const { + return _internal_has_name_symbol(); +} +inline void CUserMessage_NotifyResponseFound_Criteria::clear_name_symbol() { + _impl_.name_symbol_ = 0u; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint32_t CUserMessage_NotifyResponseFound_Criteria::_internal_name_symbol() const { + return _impl_.name_symbol_; +} +inline uint32_t CUserMessage_NotifyResponseFound_Criteria::name_symbol() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.Criteria.name_symbol) + return _internal_name_symbol(); +} +inline void CUserMessage_NotifyResponseFound_Criteria::_internal_set_name_symbol(uint32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.name_symbol_ = value; +} +inline void CUserMessage_NotifyResponseFound_Criteria::set_name_symbol(uint32_t value) { + _internal_set_name_symbol(value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.Criteria.name_symbol) +} + +// optional string value = 2; +inline bool CUserMessage_NotifyResponseFound_Criteria::_internal_has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound_Criteria::has_value() const { + return _internal_has_value(); +} +inline void CUserMessage_NotifyResponseFound_Criteria::clear_value() { + _impl_.value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_NotifyResponseFound_Criteria::value() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.Criteria.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_NotifyResponseFound_Criteria::set_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.Criteria.value) +} +inline std::string* CUserMessage_NotifyResponseFound_Criteria::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.Criteria.value) + return _s; +} +inline const std::string& CUserMessage_NotifyResponseFound_Criteria::_internal_value() const { + return _impl_.value_.Get(); +} +inline void CUserMessage_NotifyResponseFound_Criteria::_internal_set_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound_Criteria::_internal_mutable_value() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound_Criteria::release_value() { + // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.Criteria.value) + if (!_internal_has_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_NotifyResponseFound_Criteria::set_allocated_value(std::string* value) { + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.Criteria.value) +} + +// ------------------------------------------------------------------- + +// CUserMessage_NotifyResponseFound + +// optional int32 ent_index = 1 [default = -1]; +inline bool CUserMessage_NotifyResponseFound::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMessage_NotifyResponseFound::clear_ent_index() { + _impl_.ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessage_NotifyResponseFound::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline int32_t CUserMessage_NotifyResponseFound::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.ent_index) + return _internal_ent_index(); +} +inline void CUserMessage_NotifyResponseFound::_internal_set_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ent_index_ = value; +} +inline void CUserMessage_NotifyResponseFound::set_ent_index(int32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.ent_index) +} + +// optional string rule_name = 2; +inline bool CUserMessage_NotifyResponseFound::_internal_has_rule_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound::has_rule_name() const { + return _internal_has_rule_name(); +} +inline void CUserMessage_NotifyResponseFound::clear_rule_name() { + _impl_.rule_name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_NotifyResponseFound::rule_name() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.rule_name) + return _internal_rule_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_NotifyResponseFound::set_rule_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.rule_name) +} +inline std::string* CUserMessage_NotifyResponseFound::mutable_rule_name() { + std::string* _s = _internal_mutable_rule_name(); + // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.rule_name) + return _s; +} +inline const std::string& CUserMessage_NotifyResponseFound::_internal_rule_name() const { + return _impl_.rule_name_.Get(); +} +inline void CUserMessage_NotifyResponseFound::_internal_set_rule_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.rule_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_rule_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.rule_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::release_rule_name() { + // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.rule_name) + if (!_internal_has_rule_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.rule_name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_name_.IsDefault()) { + _impl_.rule_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_NotifyResponseFound::set_allocated_rule_name(std::string* rule_name) { + if (rule_name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.rule_name_.SetAllocated(rule_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.rule_name_.IsDefault()) { + _impl_.rule_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.rule_name) +} + +// optional string response_value = 3; +inline bool CUserMessage_NotifyResponseFound::_internal_has_response_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound::has_response_value() const { + return _internal_has_response_value(); +} +inline void CUserMessage_NotifyResponseFound::clear_response_value() { + _impl_.response_value_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CUserMessage_NotifyResponseFound::response_value() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.response_value) + return _internal_response_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_NotifyResponseFound::set_response_value(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.response_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.response_value) +} +inline std::string* CUserMessage_NotifyResponseFound::mutable_response_value() { + std::string* _s = _internal_mutable_response_value(); + // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.response_value) + return _s; +} +inline const std::string& CUserMessage_NotifyResponseFound::_internal_response_value() const { + return _impl_.response_value_.Get(); +} +inline void CUserMessage_NotifyResponseFound::_internal_set_response_value(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.response_value_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_response_value() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.response_value_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::release_response_value() { + // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.response_value) + if (!_internal_has_response_value()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.response_value_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_value_.IsDefault()) { + _impl_.response_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_NotifyResponseFound::set_allocated_response_value(std::string* response_value) { + if (response_value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.response_value_.SetAllocated(response_value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_value_.IsDefault()) { + _impl_.response_value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.response_value) +} + +// optional string response_concept = 4; +inline bool CUserMessage_NotifyResponseFound::_internal_has_response_concept() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound::has_response_concept() const { + return _internal_has_response_concept(); +} +inline void CUserMessage_NotifyResponseFound::clear_response_concept() { + _impl_.response_concept_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CUserMessage_NotifyResponseFound::response_concept() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.response_concept) + return _internal_response_concept(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_NotifyResponseFound::set_response_concept(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.response_concept_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.response_concept) +} +inline std::string* CUserMessage_NotifyResponseFound::mutable_response_concept() { + std::string* _s = _internal_mutable_response_concept(); + // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.response_concept) + return _s; +} +inline const std::string& CUserMessage_NotifyResponseFound::_internal_response_concept() const { + return _impl_.response_concept_.Get(); +} +inline void CUserMessage_NotifyResponseFound::_internal_set_response_concept(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.response_concept_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_response_concept() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.response_concept_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_NotifyResponseFound::release_response_concept() { + // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.response_concept) + if (!_internal_has_response_concept()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.response_concept_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_concept_.IsDefault()) { + _impl_.response_concept_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_NotifyResponseFound::set_allocated_response_concept(std::string* response_concept) { + if (response_concept != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.response_concept_.SetAllocated(response_concept, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_concept_.IsDefault()) { + _impl_.response_concept_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.response_concept) +} + +// repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; +inline int CUserMessage_NotifyResponseFound::_internal_criteria_size() const { + return _impl_.criteria_.size(); +} +inline int CUserMessage_NotifyResponseFound::criteria_size() const { + return _internal_criteria_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_criteria() { + _impl_.criteria_.Clear(); +} +inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::mutable_criteria(int index) { + // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.criteria) + return _impl_.criteria_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >* +CUserMessage_NotifyResponseFound::mutable_criteria() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.criteria) + return &_impl_.criteria_; +} +inline const ::CUserMessage_NotifyResponseFound_Criteria& CUserMessage_NotifyResponseFound::_internal_criteria(int index) const { + return _impl_.criteria_.Get(index); +} +inline const ::CUserMessage_NotifyResponseFound_Criteria& CUserMessage_NotifyResponseFound::criteria(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.criteria) + return _internal_criteria(index); +} +inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::_internal_add_criteria() { + return _impl_.criteria_.Add(); +} +inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::add_criteria() { + ::CUserMessage_NotifyResponseFound_Criteria* _add = _internal_add_criteria(); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.criteria) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >& +CUserMessage_NotifyResponseFound::criteria() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.criteria) + return _impl_.criteria_; +} + +// repeated uint32 int_criteria_names = 6 [packed = true]; +inline int CUserMessage_NotifyResponseFound::_internal_int_criteria_names_size() const { + return _impl_.int_criteria_names_.size(); +} +inline int CUserMessage_NotifyResponseFound::int_criteria_names_size() const { + return _internal_int_criteria_names_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_int_criteria_names() { + _impl_.int_criteria_names_.Clear(); +} +inline uint32_t CUserMessage_NotifyResponseFound::_internal_int_criteria_names(int index) const { + return _impl_.int_criteria_names_.Get(index); +} +inline uint32_t CUserMessage_NotifyResponseFound::int_criteria_names(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.int_criteria_names) + return _internal_int_criteria_names(index); +} +inline void CUserMessage_NotifyResponseFound::set_int_criteria_names(int index, uint32_t value) { + _impl_.int_criteria_names_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.int_criteria_names) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_int_criteria_names(uint32_t value) { + _impl_.int_criteria_names_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_int_criteria_names(uint32_t value) { + _internal_add_int_criteria_names(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.int_criteria_names) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::_internal_int_criteria_names() const { + return _impl_.int_criteria_names_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::int_criteria_names() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.int_criteria_names) + return _internal_int_criteria_names(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::_internal_mutable_int_criteria_names() { + return &_impl_.int_criteria_names_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::mutable_int_criteria_names() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.int_criteria_names) + return _internal_mutable_int_criteria_names(); +} + +// repeated int32 int_criteria_values = 7 [packed = true]; +inline int CUserMessage_NotifyResponseFound::_internal_int_criteria_values_size() const { + return _impl_.int_criteria_values_.size(); +} +inline int CUserMessage_NotifyResponseFound::int_criteria_values_size() const { + return _internal_int_criteria_values_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_int_criteria_values() { + _impl_.int_criteria_values_.Clear(); +} +inline int32_t CUserMessage_NotifyResponseFound::_internal_int_criteria_values(int index) const { + return _impl_.int_criteria_values_.Get(index); +} +inline int32_t CUserMessage_NotifyResponseFound::int_criteria_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.int_criteria_values) + return _internal_int_criteria_values(index); +} +inline void CUserMessage_NotifyResponseFound::set_int_criteria_values(int index, int32_t value) { + _impl_.int_criteria_values_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.int_criteria_values) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_int_criteria_values(int32_t value) { + _impl_.int_criteria_values_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_int_criteria_values(int32_t value) { + _internal_add_int_criteria_values(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.int_criteria_values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_NotifyResponseFound::_internal_int_criteria_values() const { + return _impl_.int_criteria_values_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_NotifyResponseFound::int_criteria_values() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.int_criteria_values) + return _internal_int_criteria_values(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_NotifyResponseFound::_internal_mutable_int_criteria_values() { + return &_impl_.int_criteria_values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_NotifyResponseFound::mutable_int_criteria_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.int_criteria_values) + return _internal_mutable_int_criteria_values(); +} + +// repeated uint32 float_criteria_names = 8 [packed = true]; +inline int CUserMessage_NotifyResponseFound::_internal_float_criteria_names_size() const { + return _impl_.float_criteria_names_.size(); +} +inline int CUserMessage_NotifyResponseFound::float_criteria_names_size() const { + return _internal_float_criteria_names_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_float_criteria_names() { + _impl_.float_criteria_names_.Clear(); +} +inline uint32_t CUserMessage_NotifyResponseFound::_internal_float_criteria_names(int index) const { + return _impl_.float_criteria_names_.Get(index); +} +inline uint32_t CUserMessage_NotifyResponseFound::float_criteria_names(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.float_criteria_names) + return _internal_float_criteria_names(index); +} +inline void CUserMessage_NotifyResponseFound::set_float_criteria_names(int index, uint32_t value) { + _impl_.float_criteria_names_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.float_criteria_names) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_float_criteria_names(uint32_t value) { + _impl_.float_criteria_names_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_float_criteria_names(uint32_t value) { + _internal_add_float_criteria_names(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.float_criteria_names) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::_internal_float_criteria_names() const { + return _impl_.float_criteria_names_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::float_criteria_names() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.float_criteria_names) + return _internal_float_criteria_names(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::_internal_mutable_float_criteria_names() { + return &_impl_.float_criteria_names_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::mutable_float_criteria_names() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.float_criteria_names) + return _internal_mutable_float_criteria_names(); +} + +// repeated float float_criteria_values = 9; +inline int CUserMessage_NotifyResponseFound::_internal_float_criteria_values_size() const { + return _impl_.float_criteria_values_.size(); +} +inline int CUserMessage_NotifyResponseFound::float_criteria_values_size() const { + return _internal_float_criteria_values_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_float_criteria_values() { + _impl_.float_criteria_values_.Clear(); +} +inline float CUserMessage_NotifyResponseFound::_internal_float_criteria_values(int index) const { + return _impl_.float_criteria_values_.Get(index); +} +inline float CUserMessage_NotifyResponseFound::float_criteria_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.float_criteria_values) + return _internal_float_criteria_values(index); +} +inline void CUserMessage_NotifyResponseFound::set_float_criteria_values(int index, float value) { + _impl_.float_criteria_values_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.float_criteria_values) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_float_criteria_values(float value) { + _impl_.float_criteria_values_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_float_criteria_values(float value) { + _internal_add_float_criteria_values(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.float_criteria_values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CUserMessage_NotifyResponseFound::_internal_float_criteria_values() const { + return _impl_.float_criteria_values_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& +CUserMessage_NotifyResponseFound::float_criteria_values() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.float_criteria_values) + return _internal_float_criteria_values(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CUserMessage_NotifyResponseFound::_internal_mutable_float_criteria_values() { + return &_impl_.float_criteria_values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* +CUserMessage_NotifyResponseFound::mutable_float_criteria_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.float_criteria_values) + return _internal_mutable_float_criteria_values(); +} + +// repeated uint32 symbol_criteria_names = 10 [packed = true]; +inline int CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names_size() const { + return _impl_.symbol_criteria_names_.size(); +} +inline int CUserMessage_NotifyResponseFound::symbol_criteria_names_size() const { + return _internal_symbol_criteria_names_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_symbol_criteria_names() { + _impl_.symbol_criteria_names_.Clear(); +} +inline uint32_t CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names(int index) const { + return _impl_.symbol_criteria_names_.Get(index); +} +inline uint32_t CUserMessage_NotifyResponseFound::symbol_criteria_names(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.symbol_criteria_names) + return _internal_symbol_criteria_names(index); +} +inline void CUserMessage_NotifyResponseFound::set_symbol_criteria_names(int index, uint32_t value) { + _impl_.symbol_criteria_names_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.symbol_criteria_names) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_symbol_criteria_names(uint32_t value) { + _impl_.symbol_criteria_names_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_symbol_criteria_names(uint32_t value) { + _internal_add_symbol_criteria_names(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.symbol_criteria_names) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names() const { + return _impl_.symbol_criteria_names_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::symbol_criteria_names() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.symbol_criteria_names) + return _internal_symbol_criteria_names(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::_internal_mutable_symbol_criteria_names() { + return &_impl_.symbol_criteria_names_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::mutable_symbol_criteria_names() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.symbol_criteria_names) + return _internal_mutable_symbol_criteria_names(); +} + +// repeated uint32 symbol_criteria_values = 11 [packed = true]; +inline int CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values_size() const { + return _impl_.symbol_criteria_values_.size(); +} +inline int CUserMessage_NotifyResponseFound::symbol_criteria_values_size() const { + return _internal_symbol_criteria_values_size(); +} +inline void CUserMessage_NotifyResponseFound::clear_symbol_criteria_values() { + _impl_.symbol_criteria_values_.Clear(); +} +inline uint32_t CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values(int index) const { + return _impl_.symbol_criteria_values_.Get(index); +} +inline uint32_t CUserMessage_NotifyResponseFound::symbol_criteria_values(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.symbol_criteria_values) + return _internal_symbol_criteria_values(index); +} +inline void CUserMessage_NotifyResponseFound::set_symbol_criteria_values(int index, uint32_t value) { + _impl_.symbol_criteria_values_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.symbol_criteria_values) +} +inline void CUserMessage_NotifyResponseFound::_internal_add_symbol_criteria_values(uint32_t value) { + _impl_.symbol_criteria_values_.Add(value); +} +inline void CUserMessage_NotifyResponseFound::add_symbol_criteria_values(uint32_t value) { + _internal_add_symbol_criteria_values(value); + // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.symbol_criteria_values) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values() const { + return _impl_.symbol_criteria_values_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& +CUserMessage_NotifyResponseFound::symbol_criteria_values() const { + // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.symbol_criteria_values) + return _internal_symbol_criteria_values(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::_internal_mutable_symbol_criteria_values() { + return &_impl_.symbol_criteria_values_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* +CUserMessage_NotifyResponseFound::mutable_symbol_criteria_values() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.symbol_criteria_values) + return _internal_mutable_symbol_criteria_values(); +} + +// optional int32 speak_result = 12; +inline bool CUserMessage_NotifyResponseFound::_internal_has_speak_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_NotifyResponseFound::has_speak_result() const { + return _internal_has_speak_result(); +} +inline void CUserMessage_NotifyResponseFound::clear_speak_result() { + _impl_.speak_result_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_NotifyResponseFound::_internal_speak_result() const { + return _impl_.speak_result_; +} +inline int32_t CUserMessage_NotifyResponseFound::speak_result() const { + // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.speak_result) + return _internal_speak_result(); +} +inline void CUserMessage_NotifyResponseFound::_internal_set_speak_result(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.speak_result_ = value; +} +inline void CUserMessage_NotifyResponseFound::set_speak_result(int32_t value) { + _internal_set_speak_result(value); + // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.speak_result) +} + +// ------------------------------------------------------------------- + +// CUserMessage_PlayResponseConditional + +// optional int32 ent_index = 1 [default = -1]; +inline bool CUserMessage_PlayResponseConditional::_internal_has_ent_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool CUserMessage_PlayResponseConditional::has_ent_index() const { + return _internal_has_ent_index(); +} +inline void CUserMessage_PlayResponseConditional::clear_ent_index() { + _impl_.ent_index_ = -1; + _impl_._has_bits_[0] &= ~0x00000010u; +} +inline int32_t CUserMessage_PlayResponseConditional::_internal_ent_index() const { + return _impl_.ent_index_; +} +inline int32_t CUserMessage_PlayResponseConditional::ent_index() const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.ent_index) + return _internal_ent_index(); +} +inline void CUserMessage_PlayResponseConditional::_internal_set_ent_index(int32_t value) { + _impl_._has_bits_[0] |= 0x00000010u; + _impl_.ent_index_ = value; +} +inline void CUserMessage_PlayResponseConditional::set_ent_index(int32_t value) { + _internal_set_ent_index(value); + // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.ent_index) +} + +// repeated int32 player_slots = 2; +inline int CUserMessage_PlayResponseConditional::_internal_player_slots_size() const { + return _impl_.player_slots_.size(); +} +inline int CUserMessage_PlayResponseConditional::player_slots_size() const { + return _internal_player_slots_size(); +} +inline void CUserMessage_PlayResponseConditional::clear_player_slots() { + _impl_.player_slots_.Clear(); +} +inline int32_t CUserMessage_PlayResponseConditional::_internal_player_slots(int index) const { + return _impl_.player_slots_.Get(index); +} +inline int32_t CUserMessage_PlayResponseConditional::player_slots(int index) const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.player_slots) + return _internal_player_slots(index); +} +inline void CUserMessage_PlayResponseConditional::set_player_slots(int index, int32_t value) { + _impl_.player_slots_.Set(index, value); + // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.player_slots) +} +inline void CUserMessage_PlayResponseConditional::_internal_add_player_slots(int32_t value) { + _impl_.player_slots_.Add(value); +} +inline void CUserMessage_PlayResponseConditional::add_player_slots(int32_t value) { + _internal_add_player_slots(value); + // @@protoc_insertion_point(field_add:CUserMessage_PlayResponseConditional.player_slots) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_PlayResponseConditional::_internal_player_slots() const { + return _impl_.player_slots_; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& +CUserMessage_PlayResponseConditional::player_slots() const { + // @@protoc_insertion_point(field_list:CUserMessage_PlayResponseConditional.player_slots) + return _internal_player_slots(); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_PlayResponseConditional::_internal_mutable_player_slots() { + return &_impl_.player_slots_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* +CUserMessage_PlayResponseConditional::mutable_player_slots() { + // @@protoc_insertion_point(field_mutable_list:CUserMessage_PlayResponseConditional.player_slots) + return _internal_mutable_player_slots(); +} + +// optional string response = 3; +inline bool CUserMessage_PlayResponseConditional::_internal_has_response() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CUserMessage_PlayResponseConditional::has_response() const { + return _internal_has_response(); +} +inline void CUserMessage_PlayResponseConditional::clear_response() { + _impl_.response_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CUserMessage_PlayResponseConditional::response() const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.response) + return _internal_response(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CUserMessage_PlayResponseConditional::set_response(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.response_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.response) +} +inline std::string* CUserMessage_PlayResponseConditional::mutable_response() { + std::string* _s = _internal_mutable_response(); + // @@protoc_insertion_point(field_mutable:CUserMessage_PlayResponseConditional.response) + return _s; +} +inline const std::string& CUserMessage_PlayResponseConditional::_internal_response() const { + return _impl_.response_.Get(); +} +inline void CUserMessage_PlayResponseConditional::_internal_set_response(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.response_.Set(value, GetArenaForAllocation()); +} +inline std::string* CUserMessage_PlayResponseConditional::_internal_mutable_response() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.response_.Mutable(GetArenaForAllocation()); +} +inline std::string* CUserMessage_PlayResponseConditional::release_response() { + // @@protoc_insertion_point(field_release:CUserMessage_PlayResponseConditional.response) + if (!_internal_has_response()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.response_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_.IsDefault()) { + _impl_.response_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CUserMessage_PlayResponseConditional::set_allocated_response(std::string* response) { + if (response != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.response_.SetAllocated(response, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_.IsDefault()) { + _impl_.response_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CUserMessage_PlayResponseConditional.response) +} + +// optional .CMsgVector ent_origin = 4; +inline bool CUserMessage_PlayResponseConditional::_internal_has_ent_origin() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ent_origin_ != nullptr); + return value; +} +inline bool CUserMessage_PlayResponseConditional::has_ent_origin() const { + return _internal_has_ent_origin(); +} +inline const ::CMsgVector& CUserMessage_PlayResponseConditional::_internal_ent_origin() const { + const ::CMsgVector* p = _impl_.ent_origin_; + return p != nullptr ? *p : reinterpret_cast( + ::_CMsgVector_default_instance_); +} +inline const ::CMsgVector& CUserMessage_PlayResponseConditional::ent_origin() const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.ent_origin) + return _internal_ent_origin(); +} +inline void CUserMessage_PlayResponseConditional::unsafe_arena_set_allocated_ent_origin( + ::CMsgVector* ent_origin) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); + } + _impl_.ent_origin_ = ent_origin; + if (ent_origin) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessage_PlayResponseConditional.ent_origin) +} +inline ::CMsgVector* CUserMessage_PlayResponseConditional::release_ent_origin() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.ent_origin_; + _impl_.ent_origin_ = 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 ::CMsgVector* CUserMessage_PlayResponseConditional::unsafe_arena_release_ent_origin() { + // @@protoc_insertion_point(field_release:CUserMessage_PlayResponseConditional.ent_origin) + _impl_._has_bits_[0] &= ~0x00000002u; + ::CMsgVector* temp = _impl_.ent_origin_; + _impl_.ent_origin_ = nullptr; + return temp; +} +inline ::CMsgVector* CUserMessage_PlayResponseConditional::_internal_mutable_ent_origin() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.ent_origin_ == nullptr) { + auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); + _impl_.ent_origin_ = p; + } + return _impl_.ent_origin_; +} +inline ::CMsgVector* CUserMessage_PlayResponseConditional::mutable_ent_origin() { + ::CMsgVector* _msg = _internal_mutable_ent_origin(); + // @@protoc_insertion_point(field_mutable:CUserMessage_PlayResponseConditional.ent_origin) + return _msg; +} +inline void CUserMessage_PlayResponseConditional::set_allocated_ent_origin(::CMsgVector* ent_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); + } + if (ent_origin) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ent_origin)); + if (message_arena != submessage_arena) { + ent_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ent_origin, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.ent_origin_ = ent_origin; + // @@protoc_insertion_point(field_set_allocated:CUserMessage_PlayResponseConditional.ent_origin) +} + +// optional float pre_delay = 5; +inline bool CUserMessage_PlayResponseConditional::_internal_has_pre_delay() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CUserMessage_PlayResponseConditional::has_pre_delay() const { + return _internal_has_pre_delay(); +} +inline void CUserMessage_PlayResponseConditional::clear_pre_delay() { + _impl_.pre_delay_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline float CUserMessage_PlayResponseConditional::_internal_pre_delay() const { + return _impl_.pre_delay_; +} +inline float CUserMessage_PlayResponseConditional::pre_delay() const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.pre_delay) + return _internal_pre_delay(); +} +inline void CUserMessage_PlayResponseConditional::_internal_set_pre_delay(float value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.pre_delay_ = value; +} +inline void CUserMessage_PlayResponseConditional::set_pre_delay(float value) { + _internal_set_pre_delay(value); + // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.pre_delay) +} + +// optional int32 mix_priority = 6; +inline bool CUserMessage_PlayResponseConditional::_internal_has_mix_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool CUserMessage_PlayResponseConditional::has_mix_priority() const { + return _internal_has_mix_priority(); +} +inline void CUserMessage_PlayResponseConditional::clear_mix_priority() { + _impl_.mix_priority_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t CUserMessage_PlayResponseConditional::_internal_mix_priority() const { + return _impl_.mix_priority_; +} +inline int32_t CUserMessage_PlayResponseConditional::mix_priority() const { + // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.mix_priority) + return _internal_mix_priority(); +} +inline void CUserMessage_PlayResponseConditional::_internal_set_mix_priority(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.mix_priority_ = value; +} +inline void CUserMessage_PlayResponseConditional::set_mix_priority(int32_t value) { + _internal_set_mix_priority(value); + // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.mix_priority) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EBaseUserMessages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EBaseUserMessages>() { + return ::EBaseUserMessages_descriptor(); +} +template <> struct is_proto_enum< ::EBaseEntityMessages> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EBaseEntityMessages>() { + return ::EBaseEntityMessages_descriptor(); +} +template <> struct is_proto_enum< ::eRollType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::eRollType>() { + return ::eRollType_descriptor(); +} +template <> struct is_proto_enum< ::PARTICLE_MESSAGE> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::PARTICLE_MESSAGE>() { + return ::PARTICLE_MESSAGE_descriptor(); +} +template <> struct is_proto_enum< ::EHapticPulseType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EHapticPulseType>() { + return ::EHapticPulseType_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_usermessages_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.cc b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.cc new file mode 100644 index 0000000..93cee76 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.cc @@ -0,0 +1,133 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: valveextensions.proto + +#include "valveextensions.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; + +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_valveextensions_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_valveextensions_2eproto = nullptr; +const uint32_t TableStruct_valveextensions_2eproto::offsets[1] = {}; +static constexpr ::_pbi::MigrationSchema* schemas = nullptr; +static constexpr ::_pb::Message* const* file_default_instances = nullptr; + +const char descriptor_table_protodef_valveextensions_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\025valveextensions.proto\032 google/protobuf" + "/descriptor.proto*\312\001\n\024EProtoDebugVisibli" + "ty\022\"\n\036k_EProtoDebugVisibility_Always\020\000\022\"" + "\n\036k_EProtoDebugVisibility_Server\020F\022\'\n#k_" + "EProtoDebugVisibility_ValveServer\020P\022\036\n\032k" + "_EProtoDebugVisibility_GC\020Z\022!\n\035k_EProtoD" + "ebugVisibility_Never\020d:\?\n\017valve_map_fiel" + "d\022\035.google.protobuf.FieldOptions\030\310\334\003 \001(\010" + ":\005false:=\n\rvalve_map_key\022\035.google.protob" + "uf.FieldOptions\030\311\334\003 \001(\010:\005false:=\n\021diff_e" + "ncode_field\022\035.google.protobuf.FieldOptio" + "ns\030\312\334\003 \001(\005:\0010:<\n\014delta_ignore\022\035.google.p" + "rotobuf.FieldOptions\030\313\334\003 \001(\010:\005false:\?\n\023s" + "teamml_max_entries\022\035.google.protobuf.Fie" + "ldOptions\030\314\334\003 \001(\r:\0010:D\n\024steamml_is_times" + "tamp\022\035.google.protobuf.FieldOptions\030\315\334\003 " + "\001(\010:\005false:<\n\020steamlearn_count\022\035.google." + "protobuf.FieldOptions\030\316\334\003 \001(\r:\0010:u\n\025debu" + "gprint_visibility\022\035.google.protobuf.Fiel" + "dOptions\030\317\334\003 \001(\0162\025.EProtoDebugVisiblity:" + "\036k_EProtoDebugVisibility_Always:@\n\024schem" + "a_friendly_name\022!.google.protobuf.EnumVa" + "lueOptions\030\350\007 \001(\t:>\n\022schema_description\022" + "!.google.protobuf.EnumValueOptions\030\351\007 \001(" + "\t:F\n\032schema_suppress_enumerator\022!.google" + ".protobuf.EnumValueOptions\030\352\007 \001(\010" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_valveextensions_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, +}; +static ::_pbi::once_flag descriptor_table_valveextensions_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_valveextensions_2eproto = { + false, false, 1033, descriptor_table_protodef_valveextensions_2eproto, + "valveextensions.proto", + &descriptor_table_valveextensions_2eproto_once, descriptor_table_valveextensions_2eproto_deps, 1, 0, + schemas, file_default_instances, TableStruct_valveextensions_2eproto::offsets, + nullptr, file_level_enum_descriptors_valveextensions_2eproto, + file_level_service_descriptors_valveextensions_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_valveextensions_2eproto_getter() { + return &descriptor_table_valveextensions_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_valveextensions_2eproto(&descriptor_table_valveextensions_2eproto); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoDebugVisiblity_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_valveextensions_2eproto); + return file_level_enum_descriptors_valveextensions_2eproto[0]; +} +bool EProtoDebugVisiblity_IsValid(int value) { + switch (value) { + case 0: + case 70: + case 80: + case 90: + case 100: + return true; + default: + return false; + } +} + +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + valve_map_field(kValveMapFieldFieldNumber, false, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + valve_map_key(kValveMapKeyFieldNumber, false, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> + diff_encode_field(kDiffEncodeFieldFieldNumber, 0, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + delta_ignore(kDeltaIgnoreFieldNumber, false, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false> + steamml_max_entries(kSteammlMaxEntriesFieldNumber, 0u, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + steamml_is_timestamp(kSteammlIsTimestampFieldNumber, false, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false> + steamlearn_count(kSteamlearnCountFieldNumber, 0u, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoDebugVisiblity, ::EProtoDebugVisiblity_IsValid>, 14, false> + debugprint_visibility(kDebugprintVisibilityFieldNumber, static_cast< ::EProtoDebugVisiblity >(0), nullptr); +const std::string schema_friendly_name_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + schema_friendly_name(kSchemaFriendlyNameFieldNumber, schema_friendly_name_default, nullptr); +const std::string schema_description_default(""); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> + schema_description(kSchemaDescriptionFieldNumber, schema_description_default, nullptr); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> + schema_suppress_enumerator(kSchemaSuppressEnumeratorFieldNumber, false, nullptr); + +// @@protoc_insertion_point(namespace_scope) +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.h new file mode 100644 index 0000000..846cf89 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Protobuf/valveextensions.pb.h @@ -0,0 +1,152 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: valveextensions.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_valveextensions_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_valveextensions_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_valveextensions_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_valveextensions_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_valveextensions_2eproto; +PROTOBUF_NAMESPACE_OPEN +PROTOBUF_NAMESPACE_CLOSE + +enum EProtoDebugVisiblity : int { + k_EProtoDebugVisibility_Always = 0, + k_EProtoDebugVisibility_Server = 70, + k_EProtoDebugVisibility_ValveServer = 80, + k_EProtoDebugVisibility_GC = 90, + k_EProtoDebugVisibility_Never = 100 +}; +bool EProtoDebugVisiblity_IsValid(int value); +constexpr EProtoDebugVisiblity EProtoDebugVisiblity_MIN = k_EProtoDebugVisibility_Always; +constexpr EProtoDebugVisiblity EProtoDebugVisiblity_MAX = k_EProtoDebugVisibility_Never; +constexpr int EProtoDebugVisiblity_ARRAYSIZE = EProtoDebugVisiblity_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoDebugVisiblity_descriptor(); +template +inline const std::string& EProtoDebugVisiblity_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function EProtoDebugVisiblity_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + EProtoDebugVisiblity_descriptor(), enum_t_value); +} +inline bool EProtoDebugVisiblity_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EProtoDebugVisiblity* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + EProtoDebugVisiblity_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + +static const int kValveMapFieldFieldNumber = 61000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + valve_map_field; +static const int kValveMapKeyFieldNumber = 61001; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + valve_map_key; +static const int kDiffEncodeFieldFieldNumber = 61002; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > + diff_encode_field; +static const int kDeltaIgnoreFieldNumber = 61003; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + delta_ignore; +static const int kSteammlMaxEntriesFieldNumber = 61004; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false > + steamml_max_entries; +static const int kSteammlIsTimestampFieldNumber = 61005; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + steamml_is_timestamp; +static const int kSteamlearnCountFieldNumber = 61006; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false > + steamlearn_count; +static const int kDebugprintVisibilityFieldNumber = 61007; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, + ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoDebugVisiblity, ::EProtoDebugVisiblity_IsValid>, 14, false > + debugprint_visibility; +static const int kSchemaFriendlyNameFieldNumber = 1000; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + schema_friendly_name; +static const int kSchemaDescriptionFieldNumber = 1001; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > + schema_description; +static const int kSchemaSuppressEnumeratorFieldNumber = 1002; +extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, + ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > + schema_suppress_enumerator; + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::EProtoDebugVisiblity> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EProtoDebugVisiblity>() { + return ::EProtoDebugVisiblity_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_valveextensions_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/AppFramework/IAppSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/AppFramework/IAppSystem.hpp new file mode 100644 index 0000000..4423309 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/AppFramework/IAppSystem.hpp @@ -0,0 +1,56 @@ +#pragma once + +#include + +enum InitReturnVal_t +{ + INIT_FAILED = 0 , + INIT_OK , + INIT_LAST_VAL , +}; + +enum AppSystemTier_t +{ + APP_SYSTEM_TIER0 = 0 , + APP_SYSTEM_TIER1 , + APP_SYSTEM_TIER2 , + APP_SYSTEM_TIER3 , + + APP_SYSTEM_TIER_OTHER , +}; + +struct AppSystemInfo_t +{ + const char* m_pModuleName; + const char* m_pInterfaceName; +}; + +class IAppSystem +{ +public: + // Here's where the app systems get to learn about each other + virtual bool Connect( CreateInterfaceFn factory ) = 0; + virtual void Disconnect() = 0; + + // Here's where systems can access other interfaces implemented by this object + // Returns NULL if it doesn't implement the requested interface + virtual void* QueryInterface( const char* pInterfaceName ) = 0; + + // Init, shutdown + virtual InitReturnVal_t Init() = 0; + virtual void Shutdown() = 0; + virtual void PreShutdown() = 0; + + // Returns all dependent libraries + virtual const AppSystemInfo_t* GetDependencies() = 0; + + // Returns the tier + virtual AppSystemTier_t GetTier() = 0; + + // Reconnect to a particular interface + virtual void Reconnect( CreateInterfaceFn factory , const char* pInterfaceName ) = 0; + + // Returns whether or not the app system is a singleton + virtual bool IsSingleton() = 0; + virtual int GetBuildType() = 0; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp new file mode 100644 index 0000000..6d59915 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.cpp @@ -0,0 +1,64 @@ +#include "CFunctionList.hpp" + +static CFunctionList g_CFunctionList{}; + +auto CFunctionList::OnInit() -> bool +{ + std::vector vPatterns = + { + &CGameEntitySystem_GetBaseEntity, + &CGameEntitySystem_GetLocalPlayerController, + &CCSInventoryManager_Get, + &CCSInventoryManager_EquipItemInLoadout, + &CCSPlayerInventory_GetItemInLoadout, + &CGCClientSharedObjectCache_CreateBaseTypeCache, + &CGCClientSharedObjectCache_FindTypeCache, + &CreateSharedObjectSubclassEconItem, + &CEconItemSchema_GetAttributeDefinitionInterface, + &CEconItem_SetDynamicAttributeValueUint, + &IGameEvent_GetName, + &IGameEvent_GetInt64, + &IGameEvent_GetPlayerController, + &IGameEvent_GetString, + &IGameEvent_SetString, + &C_EconItemView_GetStaticData, + &C_EconItemView_GetBasePlayerWeaponVData, + &C_BaseModelEntity_SetModel, + &CGameSceneNode_SetMeshGroupMask, + &C_CSWeaponBase_UpdateSubclass, + &C_CSWeaponBase_UpdateSkin, + &C_CSWeaponBase_UpdateCompositeMaterial, + &CEconItem_SerializeToProtoBufItem, + &C_BaseEntity_SetBodyGroup, + &CCSGO_HudWeaponSelection_ClearHudWeaponIcon, + &FindHudElement, + &GetCUserCmdTick, + &GetCUserCmdArray, + &GetCUserCmdBySequenceNumber, + &CTraceFilter_Constructor, + &C_BaseEntity_ComputeHitboxSurroundingBox, + &CSkeletonInstance_CalcWorldSpaceBones, + &C_BaseEntity_GetBoneIdByName, + &ScreenTransform, + &CreateSubtickMoveStep, + &ProtobufAddToRepeatedPtrElement, + &IGamePhysicsQuery_TraceShape, + &CCSGOInput_GetViewAngles, + &CCSGOInput_SetViewAngles, + }; + + auto Searched = true; + + for ( auto& Pattern : vPatterns ) + { + if ( !Pattern->Search() ) + Searched = false; + } + + return Searched; +} + +auto GetFunctionList() -> CFunctionList* +{ + return &g_CFunctionList; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp new file mode 100644 index 0000000..e1743ee --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CFunctionList.hpp @@ -0,0 +1,126 @@ +#pragma once + +#include +#include + +#include +#include + +#define DECLARATE_CS2_FUNCTION_SDK_FASTCALL(Ret,Function,Param,UsingParam,CallParam)\ +inline Ret Function Param\ +{\ + using Fn = Ret ( __fastcall* ) UsingParam;\ + Fn Original = static_cast( GetFunctionList()->##Function##.GetFunction() );\ + return Original##CallParam##;\ +} + +class CFunctionList final +{ +public: + auto OnInit() -> bool; + +public: + CBasePattern CGameEntitySystem_GetBaseEntity = { VmpStr( "CGameEntitySystem::GetBaseEntity" ) , VmpStr( "4C 8D 49 10 81 FA ?? ?? 00 00 77 ?? 8B CA C1 F9 09" ) , CLIENT_DLL }; + CBasePattern CGameEntitySystem_GetLocalPlayerController = { VmpStr( "CGameEntitySystem::GetLocalPlayerController" ) , VmpStr( "E8 ? ? ? ? 48 8B E8 48 85 C0 74 ? 33 DB 39 1D" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern CCSInventoryManager_Get = { VmpStr( "CCSInventoryManager::Get" ) , VmpStr( "E8 ? ? ? ? 48 8B D8 E8 ? ? ? ? 8B 70" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + + /* String -> "\nLOADOUT ACTION BATCH #%i\n" */ + CBasePattern CCSInventoryManager_EquipItemInLoadout = { VmpStr( "CCSInventoryManager::EquipItemInLoadout" ) , VmpStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 89 54 24 ? 57 41 54 41 55 41 56 41 57 48 83 EC ? 0F B7 F2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + /* String -> "item_sub_position2" */ + CBasePattern CCSPlayerInventory_GetItemInLoadout = { VmpStr( "CCSPlayerInventory::GetItemInLoadout" ) , VmpStr( "40 55 48 83 EC ? 49 63 E8" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + // 66 66 66 0F 1F 84 00 00 00 00 00 49 8B 42 28 0F B7 CF 48 8B 5C C8 08 49 8B CF 8B 53 30 E8 + /*E8 ? ? ? ? 33 ED C6 05 ? ? ? ? ? + 00007FF8EEEC826 | 666666:0F1F8400 00000000 | nop word ptr ds:[rax+rax],ax | + 00007FF8EEEC827 | 49:8B42 28 | mov rax,qword ptr ds:[r10+0x28] | + 00007FF8EEEC827 | 0FB7CF | movzx ecx,di | + 00007FF8EEEC827 | 48:8B5CC8 08 | mov rbx,qword ptr ds:[rax+rcx*8+0x8] | + 00007FF8EEEC827 | 49:8BCF | mov rcx,r15 | + 00007FF8EEEC827 | 8B53 30 | mov edx,dword ptr ds:[rbx+0x30] | + 00007FF8EEEC828 | E8 59FFFEFF | call | CreateBaseTypeCache + */ + CBasePattern CGCClientSharedObjectCache_CreateBaseTypeCache = { VmpStr( "CGCClientSharedObjectCache::CreateBaseTypeCache" ) , VmpStr( "E8 ? ? ? ? 41 8B D5 49 8B CD 44 89 68 30" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern CGCClientSharedObjectCache_FindTypeCache = { VmpStr( "CGCClientSharedObjectCache::FindTypeCache" ) , VmpStr( "4C 8B 49 18 44 8B D2 4C 63 41 10 4F 8D 1C C1 49 8B C3" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + /* + 00007FF866438B2 | 48:8D05 DD8D6D00 | lea rax,qword ptr ds:[0x7FF866B11908] | 00007FF866B11908:"Update(CEconItem)" + 00007FF866438B2 | 45:33C0 | xor r8d,r8d | + 00007FF866438B2 | 48:894424 30 | mov qword ptr ss:[rsp+0x30],rax | + 00007FF866438B3 | 4C:8D0D 1E8E6D00 | lea r9,qword ptr ds:[0x7FF866B11958] | 00007FF866B11958:"CEconItem" + 00007FF866438B3 | 48:8D05 DF8D6D00 | lea rax,qword ptr ds:[0x7FF866B11920] | 00007FF866B11920:"Create(CEconItem)" + 00007FF866438B4 | 48:894424 28 | mov qword ptr ss:[rsp+0x28],rax | + 00007FF866438B4 | 48:8D15 634AFBFF | lea rdx,qword ptr ds:[0x7FF8663ED5B0] | CreateSharedObjectSubclassEconItem + */ + CBasePattern CreateSharedObjectSubclassEconItem = { VmpStr( "CreateSharedObjectSubclassEconItem" ) , VmpStr( "48 83 EC 28 B9 48 00 00 00 E8 ? ? ? ? 48 85 C0 74 3A 48 8D ? ? ? ? ? C7 40 32 00 00 FF 00 48 89 08 48 8D ? ? ? ? ? 48 89 48 08" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + /* + 00007FF9D272C96 | 85D2 | test edx,edx | GetAttributeDefinitionInterface + 00007FF9D272C96 | 78 17 | js client.7FF9D272C97B | + 00007FF9D272C96 | 3B91 58010000 | cmp edx,dword ptr ds:[rcx+0x158] | + 00007FF9D272C96 | 7D 0F | jge client.7FF9D272C97B | + 00007FF9D272C96 | 48:8B81 60010000 | mov rax,qword ptr ds:[rcx+0x160] | + 00007FF9D272C97 | 48:63D2 | movsxd rdx,edx | + 00007FF9D272C97 | 48:8B04D0 | mov rax,qword ptr ds:[rax+rdx*8] | + 00007FF9D272C97 | C3 | ret | + 00007FF9D272C97 | 33C0 | xor eax,eax | + 00007FF9D272C97 | C3 | ret | + 00007FF9D272C97 | CC | int3 | + 00007FF9D272C97 | CC | int3 | + 00007FF9D272C98 | 40:55 | push rbp | + 00007FF9D272C98 | 48:83EC 40 | sub rsp,0x40 | + 00007FF9D272C98 | 48:895C24 50 | mov qword ptr ss:[rsp+0x50],rbx | + 00007FF9D272C98 | 48:897424 58 | mov qword ptr ss:[rsp+0x58],rsi | + 00007FF9D272C99 | 48:8BF1 | mov rsi,rcx | + 00007FF9D272C99 | 48:8B0D 960D5900 | mov rcx,qword ptr ds:[] | + 00007FF9D272C99 | 4C:897424 38 | mov qword ptr ss:[rsp+0x38],r14 | + 00007FF9D272C99 | 4C:897C24 30 | mov qword ptr ss:[rsp+0x30],r15 | + 00007FF9D272C9A | 4C:8BFA | mov r15,rdx | + 00007FF9D272C9A | 44:8BB1 20100000 | mov r14d,dword ptr ds:[rcx+0x1020] | + 00007FF9D272C9A | 45:85F6 | test r14d,r14d | + 00007FF9D272C9B | 74 24 | je client.7FF9D272C9D7 | + 00007FF9D272C9B | C74424 28 04000000 | mov dword ptr ss:[rsp+0x28],0x4 | + 00007FF9D272C9B | 4C:8D0D 0A847B00 | lea r9,qword ptr ds:[0x7FF9D2EE4DCC] | 00007FF9D2EE4DCC:"Steam" + 00007FF9D272C9C | 45:33C0 | xor r8d,r8d | + 00007FF9D272C9C | C64424 20 00 | mov byte ptr ss:[rsp+0x20],0x0 | + 00007FF9D272C9C | 48:8D15 C70F7C00 | lea rdx,qword ptr ds:[0x7FF9D2EED998] | 00007FF9D2EED998:"CEconItemSchema::GetAttributeDefinitionByName" + */ + CBasePattern CEconItemSchema_GetAttributeDefinitionInterface = { VmpStr( "CEconItemSchema::GetAttributeDefinitionInterface" ) , VmpStr( "E8 ? ? ? ? 48 85 C0 74 ? E8 ? ? ? ? 0F B7 14 3B 48 8B C8 E8 ? ? ? ? 0F B6 48" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern CEconItem_SetDynamicAttributeValueUint = { VmpStr( "CEconItem::SetDynamicAttributeValueUint" ) , VmpStr( "E9 ? ? ? ? CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 49 8B C0 48 8B CA 48 8B D0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + + CBasePattern IGameEvent_GetName = { VmpStr( "IGameEvent::GetName" ) , VmpStr( "8B 41 14 0F BA E0 1E 73 05 48 8D 41 18 C3" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGameEvent_GetInt64 = { VmpStr( "IGameEvent::GetInt64" ) , VmpStr( "48 89 5C 24 08 48 89 74 24 10 48 89 7C 24 18 41 56 48 83 EC 30 48 8B 01 41 8B F0 4C 8B F1 41 B0 01 48 8D 4C 24 20 48 8B DA 48 8B 78" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGameEvent_GetPlayerController = { VmpStr( "IGameEvent::GetPlayerController" ) , VmpStr( "48 83 EC 38 8B 02 4C 8D 44 24 20" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGameEvent_GetString = { VmpStr( "IGameEvent::GetString" ) , VmpStr( "48 83 EC 38 8B 02 48 83 C1 58 89 44 24 20 8B 42 04 89 44 24 24 48 8B 42 08 48 8D 54 24 20 48 89 44 24 28 E8 ? ? ? ? 48 83 C4 38 C3 CC CC CC 33 C9" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGameEvent_SetString = { VmpStr( "IGameEvent::SetString" ) , VmpStr( "48 83 EC 38 8B 02 48 83 C1 58 89 44 24 20 41 B1 1A" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + CBasePattern C_EconItemView_GetStaticData = { VmpStr( "C_EconItemView::GetStaticData" ) , VmpStr( "40 56 48 83 EC ? 48 89 5C 24 ? 48 8B F1 48 8B 1D ? ? ? ? 48 85 DB 75 ? B9 ? ? ? ? 48 89 7C 24 ? E8 ? ? ? ? 33 FF 48 8B D8 48 85 C0 74 ? 48 8D 05 ? ? ? ? 48 89 7B ? B9 ? ? ? ? 48 89 03 E8 ? ? ? ? 48 85 C0 74 ? 48 8B C8 E8 ? ? ? ? 48 8B F8 48 8D 05 ? ? ? ? 48 89 7B ? 48 89 03 EB ? 48 8B DF 48 8B 7C 24 ? 48 89 1D ? ? ? ? 48 8B 4B ? 48 8B 5C 24 ? 48 85 C9 75" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_EconItemView_GetBasePlayerWeaponVData = { VmpStr( "C_EconItemView::GetBasePlayerWeaponVData" ) , VmpStr( "48 81 EC ? ? ? ? 48 85 C9 75 ? 33 C0 48 81 C4 ? ? ? ? C3 48 89 9C 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_BaseModelEntity_SetModel = { VmpStr( "C_BaseModelEntity::SetModel" ) , VmpStr( "40 53 48 83 EC ? 48 8B D9 4C 8B C2 48 8B 0D ? ? ? ? 48 8D 54 24 40" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + CBasePattern CGameSceneNode_SetMeshGroupMask = { VmpStr( "CGameSceneNode::SetMeshGroupMask" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 48 8D 99 ? ? ? ? 48 8B 71" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + + CBasePattern C_CSWeaponBase_UpdateSubclass = { VmpStr( "C_CSWeaponBase::UpdateSubclass" ) , VmpStr( "40 53 48 83 EC 30 48 8B 41 10 48 8B D9 8B 50 30" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBase_UpdateSkin = { VmpStr( "C_CSWeaponBase::UpdateSkin" ) , VmpStr( "48 89 5C 24 08 48 89 74 24 10 57 48 83 EC 20 8B DA 48 8B F9 E8" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_CSWeaponBase_UpdateCompositeMaterial = { VmpStr( "C_CSWeaponBase::UpdateCompositeMaterial" ) , VmpStr( "E8 ? ? ? ? 48 8D 8B ? ? ? ? 48 89 BC 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + + CBasePattern CEconItem_SerializeToProtoBufItem = { VmpStr( "CEconItem::SerializeToProtoBufItem" ) , VmpStr( "40 55 56 48 83 EC ? 48 8B 41 ? 48 8B F2" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_BaseEntity_SetBodyGroup = { VmpStr( "C_BaseEntity::SetBodyGroup" ) , VmpStr( "85 D2 0F 88 5C" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CCSGO_HudWeaponSelection_ClearHudWeaponIcon = { VmpStr( "CCSGO_HudWeaponSelection::ClearHudWeaponIcon" ) , VmpStr( "E8 ? ? ? ? 8B F8 C6 84 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern FindHudElement = { VmpStr( "FindHudElement" ) , VmpStr( "4C 8B DC 53 48 83 EC 50 48 8B 05" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdTick = { VmpStr( "GetCUserCmdTick" ) , VmpStr( "48 83 EC ? 4C 8B 0D ? ? ? ? 4C 8B DA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdArray = { VmpStr( "GetCUserCmdArray" ) , VmpStr( "48 89 4C 24 ? 41 56 41 57" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern GetCUserCmdBySequenceNumber = { VmpStr( "GetCUserCmdBySequenceNumber" ) , VmpStr( "40 53 48 83 EC ? 8B DA E8 ? ? ? ? 4C 8B C0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CTraceFilter_Constructor = { VmpStr( "CTraceFilter::Constructor" ) , VmpStr( "48 89 5C 24 ? 48 89 74 24 ? 57 48 83 EC ? 0F B6 41 ? 33 FF 24" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_BaseEntity_ComputeHitboxSurroundingBox = { VmpStr( "C_BaseEntity::ComputeHitboxSurroundingBox" ) , VmpStr( "48 89 5C 24 10 48 89 6C 24 18 56 57 41 56 B8 A0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CSkeletonInstance_CalcWorldSpaceBones = { VmpStr( "CSkeletonInstance::CalcWorldSpaceBones" ) , VmpStr( "48 89 4C 24 ? 55 53 56 57 41 54 41 55 41 56 41 57 B8 ? ? ? ? E8 ? ? ? ? 48 2B E0 48 8D 6C 24 ? 48 8B 81" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern C_BaseEntity_GetBoneIdByName = { VmpStr( "C_BaseEntity::GetBoneIdByName" ) , VmpStr( "E8 ? ? ? ? 48 8B CF 85 C0 78 ? 44 8B C0" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern ScreenTransform = { VmpStr( "ScreenTransform" ) , VmpStr( "48 89 74 24 ? 57 48 83 EC ? 48 8B 05 ? ? ? ? 48 8B FA" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CreateSubtickMoveStep = { VmpStr( "CreateSubtickMoveStep" ) , VmpStr( "E8 ? ? ? ? 48 8B D0 49 8D 4E 18 E8 ? ? ? ? 4C 8B C8 4C 8D 43 02 49 8B D1 48 8B CE E8 ? ? ? ? 48 8B D8 48 85 C0 0F 84 ? ? ? ? 48 3B 06 0F 83 ? ? ? ? 0F B7 00 66 C7 45 67 ? ? 66 3B 45 67 74 ? E9 ? ? ? ? 40 80 FF ? 0F 85 ? ? ? ? 41 83 4E 10 ?" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern ProtobufAddToRepeatedPtrElement = { VmpStr( "ProtobufAddToRepeatedPtrElement" ) , VmpStr( "48 89 5C 24 ? 57 48 83 EC ? 48 8B D9 48 8B FA 48 8B 49 ? 48 85 C9 74 ? 8B 01" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern IGamePhysicsQuery_TraceShape = { VmpStr( "IGamePhysicsQuery::TraceShape" ) , VmpStr( "48 89 5C 24 ? 48 89 4C 24 ? 55 57" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; + CBasePattern CCSGOInput_GetViewAngles = { VmpStr( "CCSGOInput::GetViewAngles" ) , VmpStr( "E8 ? ? ? ? EB ? 48 8B 01 48 8D 54 24 ?" ) , CLIENT_DLL , 0 , SEARCH_TYPE_CALL }; + CBasePattern CCSGOInput_SetViewAngles = { VmpStr( "CCSGOInput::SetViewAngles" ) , VmpStr( "85 D2 75 ? 48 63 81" ) , CLIENT_DLL , 0 , SEARCH_TYPE_NONE }; +}; + +auto GetFunctionList() -> CFunctionList*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.cpp new file mode 100644 index 0000000..888778c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.cpp @@ -0,0 +1,117 @@ +#include "CSchemaOffset.hpp" + +#include +#include + +#include +#include + +static CShcemaOffset g_CShcemaOffset{}; + +auto CShcemaOffset::Init() -> void +{ + std::vector m_ScopeList; + + m_ScopeList.push_back( SDK::Interfaces::SchemaSystem()->GlobalTypeScope() ); + + CSchemaSystemTypeScope* m_pCurrentScope = SDK::Interfaces::SchemaSystem()->GetAllTypeScope()[0]; + + for ( auto idx = 0; idx < SDK::Interfaces::SchemaSystem()->GetAllTypeScopeSize(); idx++ ) + { + m_pCurrentScope = SDK::Interfaces::SchemaSystem()->GetAllTypeScope()[idx]; + + if ( m_pCurrentScope ) + { + m_ScopeList.push_back( m_pCurrentScope ); + } + } + +#if DUMP_SCHEMA_SCOPE_LIST == 1 + + DEV_LOG( "\n" ); + + for ( auto& Scope : m_ScopeList ) + DEV_LOG( "Scope: %p\n" , Scope ); + + DEV_LOG( "\n" ); + +#endif + +#if DUMP_SCHEMA_ALL_OFFSET == 1 + DEV_LOG( "\n" ); +#endif + + for ( auto& Scope : m_ScopeList ) + { + auto pClassContainer = Scope->GetClassContainer(); + + if ( pClassContainer ) + { + int BlockIndex = 0; + + for ( auto& SchemaBlock : pClassContainer->GetBlockContainers() ) + { + for ( auto Block = SchemaBlock.GetFirstBlock(); Block && BlockIndex < pClassContainer->GetNumSchema(); Block = Block->Next() , BlockIndex++ ) + { + auto pBinding = Block->GetBinding(); + + if ( !pBinding ) + continue; + +#if DUMP_SCHEMA_ALL_OFFSET == 1 + + auto pBaseClass = pBinding->m_baseClass(); + + if ( pBaseClass ) + { + auto pBaseClassInfo = pBaseClass->m_classInfo(); + + if ( pBaseClassInfo ) + { + DEV_LOG( "class %s : public %s // %s\n{\n" , pBinding->m_bindingName() , pBaseClassInfo->m_bindingName() , pBinding->m_dllName() ); + } + } + else + { + DEV_LOG( "class %s // %s\n{\n" , pBinding->m_bindingName() , pBinding->m_dllName() ); + } + +#endif + + for ( auto idx = 0; idx < pBinding->m_DataArraySize(); idx++ ) + { + auto pClassData = pBinding->m_DataArray()[idx]; + + if ( pClassData.FieldName && pClassData.FieldType ) + { +#if DUMP_SCHEMA_ALL_OFFSET == 1 + + DEV_LOG( "\t%s %s; // 0x%04X\n" , + pClassData.FieldType->szTypeName , pClassData.FieldName , pClassData.FieldOffset ); + +#endif + + m_SchemaData[pBinding->m_bindingName()][pClassData.FieldName].m_ClassName = pBinding->m_bindingName(); + m_SchemaData[pBinding->m_bindingName()][pClassData.FieldName].m_PropertyName = pClassData.FieldName; + m_SchemaData[pBinding->m_bindingName()][pClassData.FieldName].m_Offset = pClassData.FieldOffset; + } + } + +#if DUMP_SCHEMA_ALL_OFFSET == 1 + DEV_LOG( "};\n" ); +#endif + } + } + } + } +} + +auto CShcemaOffset::GetOffset( std::string ClassName , std::string PropertyName ) -> uint32_t +{ + return m_SchemaData[ClassName][PropertyName].m_Offset; +} + +auto GetSchemaOffset() -> CShcemaOffset* +{ + return &g_CShcemaOffset; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.hpp new file mode 100644 index 0000000..a5d16c4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/CSchemaOffset.hpp @@ -0,0 +1,47 @@ +#pragma once + +#include + +#include +#include + +struct SchemaOffset_t +{ + std::string m_ClassName; + std::string m_PropertyName; + uint32_t m_Offset = 0; +}; + +class CShcemaOffset final +{ +public: + auto Init() -> void; + +public: + auto GetOffset( std::string ClassName , std::string PropertyName ) -> uint32_t; + +private: + std::unordered_map> m_SchemaData; +}; + +#define SCHEMA_OFFSET(class_name, property_name, function, type) \ +__forceinline type& function() \ +{ \ + uint32_t offset = GetSchemaOffset()->GetOffset(class_name, property_name); \ + return *reinterpret_cast(reinterpret_cast(this) + offset); \ +} + +#define PSCHEMA_OFFSET(class_name, property_name, function, type) \ +__forceinline type* function() \ +{ \ + uint32_t offset = GetSchemaOffset()->GetOffset(class_name, property_name); \ + return reinterpret_cast(reinterpret_cast(this) + offset); \ +} + +#define SCHEMA_OFFSET_CUSTOM(function, offset, type) \ +__forceinline type& function() \ +{ \ + return *reinterpret_cast(reinterpret_cast(this) + offset); \ +} + +auto GetSchemaOffset() -> CShcemaOffset*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.cpp new file mode 100644 index 0000000..5665669 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.cpp @@ -0,0 +1,21 @@ +#include "CCSInventoryManager.hpp" + +#include + +#include +#include + +auto CCSInventoryManager::Get() ->CCSInventoryManager* +{ + return CCSInventoryManager_Get(); +} + +auto CCSInventoryManager::EquipItemInLoadout( int iTeam , int iSlot , uint64_t iItemID ) -> bool +{ + return CCSInventoryManager_EquipItemInLoadout( this , iTeam , iSlot , iItemID ); +} + +auto CCSInventoryManager::GetLocalInventory() -> CCSPlayerInventory* +{ + return CUSTOM_OFFSET( CCSPlayerInventory* , g_CCSInventoryManager_GetLocalInventory ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.hpp new file mode 100644 index 0000000..d58f90c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSInventoryManager.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include + +class CCSPlayerInventory; + +class CCSInventoryManager +{ +public: + static auto Get() -> CCSInventoryManager*; + +public: + // Function String -> "\nLOADOUT ACTION BATCH #%i\n" + auto EquipItemInLoadout( int iTeam , int iSlot , uint64_t iItemID ) -> bool; + +public: + // Vmt Index -> "59" -> "mov rax,qword ptr ds:[rcx+0x3D1A0]" + auto GetLocalInventory() -> CCSPlayerInventory*; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.cpp new file mode 100644 index 0000000..12237f6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.cpp @@ -0,0 +1,171 @@ +#include "CCSPlayerInventory.hpp" + +#include +#include +#include + +#include +#include + +#include +#include + +#include + +auto CCSPlayerInventory::Get() ->CCSPlayerInventory* +{ + auto* pCCSInventoryManager = CCSInventoryManager::Get(); + + if ( !pCCSInventoryManager ) + { + DEV_LOG( "[error] CCSInventoryManager::Get\n" ); + return nullptr; + } + + auto* pCCSPlayerInventory = pCCSInventoryManager->GetLocalInventory(); + + if ( !pCCSPlayerInventory ) + { + DEV_LOG( "[error] CCSInventoryManager::GetLocalInventory\n" ); + return nullptr; + } + + return pCCSPlayerInventory; +} + +auto CCSPlayerInventory::AddEconItem( CEconItem* pItem ) -> bool +{ + if ( !pItem ) + return false; + + auto* pSOTypeCache = GetBaseTypeCache(); + + if ( !pSOTypeCache || !pSOTypeCache->AddObject( (CSharedObject*)pItem ) ) + return false; + + SOCreated( GetOwner() , (CSharedObject*)pItem , GCSDK::eSOCacheEvent_Incremental ); + + return true; +} + +auto CCSPlayerInventory::RemoveEconItem( CEconItem* pItem ) -> void +{ + if ( !pItem ) + return; + + auto* pSOTypeCache = GetBaseTypeCache(); + + if ( !pSOTypeCache ) + return; + + const CUtlVector& pSharedObjects = pSOTypeCache->GetVecObjects(); + + if ( !pSharedObjects.Exists( pItem ) ) + return; + + SODestroyed( GetOwner() , (CSharedObject*)pItem , GCSDK::eSOCacheEvent_Incremental ); + + pSOTypeCache->RemoveObject( (CSharedObject*)pItem ); + + pItem->Destruct(); +} + +auto CCSPlayerInventory::GetItemInLoadout( int iClass , int iSlot ) -> C_EconItemView* +{ + return CCSPlayerInventory_GetItemInLoadout( this , iClass , iSlot ); +} + +auto CCSPlayerInventory::GetHighestIDs() -> std::pair +{ + uint64_t maxItemID = 0; + uint32_t maxInventoryID = 0; + + auto* pSOTypeCache = GetBaseTypeCache(); + + if ( pSOTypeCache ) + { + const CUtlVector& vecItems = pSOTypeCache->GetVecObjects(); + + for ( CEconItem* it : vecItems ) + { + if ( !it ) continue; + + // Checks if item is default. + if ( ( it->m_ulID & 0xF000000000000000 ) != 0 ) + continue; + + maxItemID = max( maxItemID , it->m_ulID ); + maxInventoryID = max( maxInventoryID , it->m_unInventory ); + } + } + + return std::make_pair( maxItemID , maxInventoryID ); +} + +auto CCSPlayerInventory::GetItemViewForItem( uint64_t itemID ) -> C_EconItemView* +{ + C_EconItemView* pEconItemView = nullptr; + + const CUtlVector& pItems = GetItemVector(); + + for ( C_EconItemView* it : pItems ) + { + if ( it && it->m_iItemID() == itemID ) + { + pEconItemView = it; + break; + } + } + + return pEconItemView; +} + +auto CCSPlayerInventory::GetSOCDataForItem( uint64_t itemID ) -> CEconItem* +{ + CEconItem* pSOCData = nullptr; + + CGCClientSharedObjectTypeCache* pSOTypeCache = GetBaseTypeCache(); + + if ( pSOTypeCache ) + { + const CUtlVector& vecItems = pSOTypeCache->GetVecObjects(); + + for ( CEconItem* it : vecItems ) + { + if ( it && it->m_ulID == itemID ) + { + pSOCData = it; + break; + } + } + } + + return pSOCData; +} + +auto CCSPlayerInventory::GetOwner() -> GCSDK::SOID_t +{ + return CUSTOM_OFFSET( GCSDK::SOID_t , 0x10 ); +} + +auto CCSPlayerInventory::GetItemVector() -> CUtlVector +{ + return CUSTOM_OFFSET( CUtlVector , 0x20 ); +} + +auto CCSPlayerInventory::GetBaseTypeCache() -> CGCClientSharedObjectTypeCache* +{ + auto* pCGCClientSharedObjectCache = CUSTOM_OFFSET( CGCClientSharedObjectCache* , g_CCSPlayerInventory_CGCClientSharedObjectCache ); + + if ( pCGCClientSharedObjectCache ) + { + auto* pSOTypeCache = pCGCClientSharedObjectCache->FindTypeCache( k_EEconTypeItem ); + + if ( !pSOTypeCache ) + return pCGCClientSharedObjectCache->CreateBaseTypeCache( k_EEconTypeItem ); + + return pSOTypeCache; + } + + return nullptr; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.hpp new file mode 100644 index 0000000..cf6a8a0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Cstrike15/CCSPlayerInventory.hpp @@ -0,0 +1,48 @@ +#pragma once + +#include + +#include +#include + +class CSharedObject; +class C_EconItemView; +class CGCClientSharedObjectCache; +class CGCClientSharedObjectTypeCache; +class CEconItem; + +class CPlayerInventory : public ISharedObjectListener +{ +public: +}; + +class CCSPlayerInventory : public CPlayerInventory +{ +public: + static auto Get() -> CCSPlayerInventory*; + +public: + auto AddEconItem( CEconItem* pItem ) -> bool; + auto RemoveEconItem( CEconItem* pItem ) -> void; + +public: + // Vmt Index -> "8" + /* Client.dll -> Strings: + 00007FF8F71C4D7 | 48:8D15 C521C800 | lea rdx,qword ptr ds:[0x7FF8F7E46F48] | 00007FF8F7E46F48:"item_sub_position2" + 00007FF8F71C4D8 | FF15 A767B500 | call qword ptr ds:[ C_EconItemView*; + +public: + auto GetHighestIDs() -> std::pair; + auto GetItemViewForItem( uint64_t itemID ) -> C_EconItemView*; + auto GetSOCDataForItem( uint64_t itemID ) -> CEconItem*; + +public: + auto GetOwner() -> GCSDK::SOID_t; + auto GetItemVector() -> CUtlVector; + +private: + auto GetBaseTypeCache() -> CGCClientSharedObjectTypeCache*; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.cpp new file mode 100644 index 0000000..f77df9b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.cpp @@ -0,0 +1,47 @@ +#include "CEconItem.hpp" + +#include +#include + +#include +#include + +#include + +auto CEconItem::SetDynamicAttributeValue( int index , void* value ) -> void +{ + auto* pEconItemSchema = SDK::Interfaces::Source2Client()->GetEconItemSystem()->GetEconItemSchema(); + + if ( !pEconItemSchema ) + { + DEV_LOG( "[error] GetEconItemSchema\n" ); + return; + } + + auto* pAttributeDefinitionInterface = pEconItemSchema->GetAttributeDefinitionInterface( index ); + + if ( !pAttributeDefinitionInterface ) + { + DEV_LOG( "[error] GetAttributeDefinitionInterface\n" ); + return; + } + + return CEconItem_SetDynamicAttributeValueUint( this , pAttributeDefinitionInterface , value ); +} + +auto CEconItem::Create() -> CEconItem* +{ + return CreateSharedObjectSubclassEconItem(); +} + +auto CEconItem::SerializeToProtoBufItem( CSOEconItem* pCSOEconItem ) -> void* +{ + return CEconItem_SerializeToProtoBufItem( this , pCSOEconItem ); +} + +auto CEconItem::Destruct() -> void +{ + VirtualFn( void )( CEconItem* , bool ); + + return vget< Fn >( this , Idx_Destruct )( this , true ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.hpp new file mode 100644 index 0000000..454a4e6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItem.hpp @@ -0,0 +1,97 @@ +#pragma once + +#include +#include + +class CSOEconItem; + +enum EEconItemAttributes : uint32_t +{ + ATTRIBUTE_PAINT_KIT = 6 , + ATTRIBUTE_PAINT_SEED = 7 , + ATTRIBUTE_PAINT_WEAR = 8 , + ATTRIBUTE_STAT_TRACK = 80 , + ATTRIBUTE_STAT_TRACK_TYPE = 81 , + ATTRIBUTE_STICKER_ID = 113 , + ATTRIBUTE_STICKER_WEAR = 114 , + ATTRIBUTE_STICKER_SCALE = 115 , + ATTRIBUTE_STICKER_ROTATION = 116 , + ATTRIBUTE_STICKER_ROTATION_X = 278 , + ATTRIBUTE_STICKER_ROTATION_Y = 279 , + ATTRIBUTE_MUSIC_ID = 166 , + ATTRIBUTE_KEYCHAIN_SLOT_ID_0 = 299, +}; + +class CEconItem +{ + constexpr static auto Idx_Destruct = 1; + +private: + auto SetDynamicAttributeValue( int index , void* value ) -> void; + +public: + static auto Create() -> CEconItem*; + +public: + auto Destruct() -> void; + +public: + void SetPaintKit( float kit ) { SetDynamicAttributeValue( ATTRIBUTE_PAINT_KIT , &kit ); } + void SetPaintSeed( float seed ) { SetDynamicAttributeValue( ATTRIBUTE_PAINT_SEED , &seed ); } + void SetPaintWear( float wear ) { SetDynamicAttributeValue( ATTRIBUTE_PAINT_WEAR , &wear ); } + void SetStatTrak( int count ) { SetDynamicAttributeValue( ATTRIBUTE_STAT_TRACK , &count ); } + void SetStatTrakType( int type ) { SetDynamicAttributeValue( ATTRIBUTE_STAT_TRACK_TYPE , &type ); } + + auto SetSticker( int slot , int id ) -> void + { + if ( slot < 0 || slot > 5 ) + return; + + SetDynamicAttributeValue( ATTRIBUTE_STICKER_ID + ( slot * 4 ) , &id ); + } + + auto SetSticker( int slot , int id , float wear , float scale , float rotation , float x , float y ) -> void + { + if ( slot < 0 || slot > 5 ) + return; + + SetDynamicAttributeValue( ATTRIBUTE_STICKER_ID + ( slot * 4 ) , &id ); + SetDynamicAttributeValue( ATTRIBUTE_STICKER_WEAR + ( slot * 4 ) , &wear ); + SetDynamicAttributeValue( ATTRIBUTE_STICKER_SCALE + ( slot * 4 ) , &scale ); + SetDynamicAttributeValue( ATTRIBUTE_STICKER_ROTATION + ( slot * 4 ) , &rotation ); + + SetDynamicAttributeValue( ATTRIBUTE_STICKER_ROTATION_X + ( slot * 2 ) , &x ); + SetDynamicAttributeValue( ATTRIBUTE_STICKER_ROTATION_Y + ( slot * 2 ) , &y ); + } + + auto SetMusicId( int id ) -> void + { + SetDynamicAttributeValue( ATTRIBUTE_MUSIC_ID , &id ); // "music id" + } + + auto SetKeyChainId( int id ) -> void + { + SetDynamicAttributeValue( ATTRIBUTE_KEYCHAIN_SLOT_ID_0 , &id ); // "keychain slot 0 id" + } + + auto SerializeToProtoBufItem( CSOEconItem* pCSOEconItem ) -> void*; + +private: + PAD( 0x10 ); + +public: + uint64_t m_ulID; + uint64_t m_ulOriginalID; + void* m_pCustomDataOptimizedObject; + uint32_t m_unAccountID; + uint32_t m_unInventory; + uint16_t m_unDefIndex; + uint16_t m_unOrigin : 5; + uint16_t m_nQuality : 4; + uint16_t m_unLevel : 2; + uint16_t m_nRarity : 4; + uint16_t m_dirtybitInUse : 1; + int16_t m_iItemSet; + int m_bSOUpdateFrame; + uint8_t m_unFlags; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.cpp new file mode 100644 index 0000000..f782548 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.cpp @@ -0,0 +1,42 @@ +#include "CEconItemDefinition.hpp" + +#include + +auto CEconItemDefinition::IsWeapon() -> bool +{ + return m_nStickerSupportCount() >= 4; +} + +auto CEconItemDefinition::IsKnife( bool excludeDefault ) -> bool +{ + static constexpr auto CSGO_Type_Knife = hash_32_fnv1a_const( "#CSGO_Type_Knife" ); + + if ( hash_32_fnv1a_const( m_pszItemTypeName() ) != CSGO_Type_Knife ) + return false; + + return excludeDefault ? m_nDefIndex() >= 500 : true; +} + +auto CEconItemDefinition::IsGlove( bool excludeDefault ) -> bool +{ + static constexpr auto Type_Hands = hash_32_fnv1a_const( "#Type_Hands" ); + + if ( hash_32_fnv1a_const( m_pszItemTypeName() ) != Type_Hands ) + return false; + + const bool defaultGlove = m_nDefIndex() == 5028 || m_nDefIndex() == 5029; + + return excludeDefault ? !defaultGlove : true; +} + +auto CEconItemDefinition::IsAgent( bool excludeDefault ) -> bool +{ + static constexpr auto Type_CustomPlayer = hash_32_fnv1a_const( "#Type_CustomPlayer" ); + + if ( hash_32_fnv1a_const( m_pszItemTypeName() ) != Type_CustomPlayer ) + return false; + + const bool defaultGlove = m_nDefIndex() == 5036 || m_nDefIndex() == 5037; + + return excludeDefault ? !defaultGlove : true; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.hpp new file mode 100644 index 0000000..4b6423f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemDefinition.hpp @@ -0,0 +1,80 @@ +#pragma once + +#include +#include + +#include +#include + +/* +Simple Dump: + +DEV_LOG( "pItem: %p , %d , %d , %s , %s , %s , %d , %s , %s , %d\n" , pItem , + pItem->m_nDefIndex() , + pItem->m_nItemRarity() , + pItem->m_pszItemBaseName() ? pItem->m_pszItemBaseName() : "null" , + pItem->m_pszItemTypeName() ? pItem->m_pszItemTypeName() : "null" , + pItem->m_pszModelName() ? pItem->m_pszModelName() : "null" , + pItem->m_nStickerSupportCount() , + pItem->m_pszIconName() ? pItem->m_pszIconName() : "null" , + pItem->m_pszWeaponName() ? pItem->m_pszWeaponName() : "null" , + pItem->LoadoutSlot() +); + +pItem: 000005F0BC74B400 , 1 , 2 , #SFUI_WPNHUD_DesertEagle , #CSGO_Type_Pistol , weapons/models/deagle/weapon_pist_deagle.vmdl , 5 , pist_deagle , weapon_deagle , 6 +pItem: 000005F0BC74BC00 , 2 , 1 , #SFUI_WPNHUD_Elites , #CSGO_Type_Pistol , weapons/models/elite/weapon_pist_elite.vmdl , 5 , pist_elite , weapon_elite , 3 +pItem: 000005F0BC74C000 , 3 , 1 , #SFUI_WPNHUD_FiveSeven , #CSGO_Type_Pistol , weapons/models/fiveseven/weapon_pist_fiveseven.vmdl , 5 , pist_fiveseven , weapon_fiveseven , 5 +pItem: 000005F0BC74C400 , 4 , 2 , #SFUI_WPNHUD_Glock18 , #CSGO_Type_Pistol , weapons/models/glock18/weapon_pist_glock18.vmdl , 5 , pist_glock18 , weapon_glock , 2 +pItem: 000005F0BC74C800 , 7 , 2 , #SFUI_WPNHUD_AK47 , #CSGO_Type_Rifle , weapons/models/ak47/weapon_rif_ak47.vmdl , 5 , rif_ak47 , weapon_ak47 , 15 +pItem: 000005F0BC74CC00 , 8 , 1 , #SFUI_WPNHUD_Aug , #CSGO_Type_Rifle , weapons/models/aug/weapon_rif_aug.vmdl , 5 , rif_aug , weapon_aug , 17 +pItem: 000005F0BC74D000 , 9 , 2 , #SFUI_WPNHUD_AWP , #CSGO_Type_SniperRifle , weapons/models/awp/weapon_snip_awp.vmdl , 5 , snip_awp , weapon_awp , 18 +pItem: 000005F0BC74D400 , 10 , 1 , #SFUI_WPNHUD_Famas , #CSGO_Type_Rifle , weapons/models/famas/weapon_rif_famas.vmdl , 5 , rif_famas , weapon_famas , 14 +pItem: 000005F0BC74D800 , 11 , 1 , #SFUI_WPNHUD_G3SG1 , #CSGO_Type_SniperRifle , weapons/models/g3sg1/weapon_snip_g3sg1.vmdl , 5 , snip_g3sg1 , weapon_g3sg1 , 14 +pItem: 000005F0BC74DC00 , 13 , 1 , #SFUI_WPNHUD_GalilAR , #CSGO_Type_Rifle , weapons/models/galilar/weapon_rif_galilar.vmdl , 5 , rif_galilar , weapon_galilar , 14 +pItem: 000005F0BC74E000 , 14 , 1 , #SFUI_WPNHUD_M249 , #CSGO_Type_Machinegun , weapons/models/m249/weapon_mach_m249.vmdl , 5 , mach_m249para , weapon_m249 , 8 +pItem: 000005F0BC74E400 , 16 , 2 , #SFUI_WPNHUD_M4A1 , #CSGO_Type_Rifle , weapons/models/m4a4/weapon_rif_m4a4.vmdl , 5 , rif_m4a1 , weapon_m4a1 , 14 +pItem: 000005F0BC74E800 , 17 , 1 , #SFUI_WPNHUD_MAC10 , #CSGO_Type_SMG , weapons/models/mac10/weapon_smg_mac10.vmdl , 5 , smg_mac10 , weapon_mac10 , 12 +pItem: 000005F0BC74EC00 , 19 , 1 , #SFUI_WPNHUD_P90 , #CSGO_Type_SMG , weapons/models/p90/weapon_smg_p90.vmdl , 5 , smg_p90 , weapon_p90 , 11 +pItem: 000005F0BC74F000 , 23 , 1 , #SFUI_WPNHUD_MP5SD , #CSGO_Type_SMG , weapons/models/mp5sd/weapon_smg_mp5sd.vmdl , 5 , smg_mp5sd , weapon_mp5sd , 10 +pItem: 000005F0BC74F400 , 24 , 1 , #SFUI_WPNHUD_UMP45 , #CSGO_Type_SMG , weapons/models/ump45/weapon_smg_ump45.vmdl , 5 , smg_ump45 , weapon_ump45 , 8 +pItem: 000005F0BC74F800 , 25 , 1 , #SFUI_WPNHUD_xm1014 , #CSGO_Type_Shotgun , weapons/models/xm1014/weapon_shot_xm1014.vmdl , 5 , shot_xm1014 , weapon_xm1014 , 9 +pItem: 000005F09A55A000 , 26 , 1 , #SFUI_WPNHUD_Bizon , #CSGO_Type_SMG , weapons/models/bizon/weapon_smg_bizon.vmdl , 5 , smg_bizon , weapon_bizon , 8 +pItem: 000005F080E49400 , 27 , 1 , #SFUI_WPNHUD_Mag7 , #CSGO_Type_Shotgun , weapons/models/mag7/weapon_shot_mag7.vmdl , 5 , shot_mag7 , weapon_mag7 , 8 +pItem: 000005F080660C00 , 28 , 1 , #SFUI_WPNHUD_Negev , #CSGO_Type_Machinegun , weapons/models/negev/weapon_mach_negev.vmdl , 5 , mach_negev , weapon_negev , 8 +pItem: 000005F0BCF51000 , 29 , 1 , #SFUI_WPNHUD_Sawedoff , #CSGO_Type_Shotgun , weapons/models/sawedoff/weapon_shot_sawedoff.vmdl , 5 , shot_sawedoff , weapon_sawedoff , 8 +pItem: 000005F0BCF50C00 , 30 , 1 , #SFUI_WPNHUD_Tec9 , #CSGO_Type_Pistol , weapons/models/tec9/weapon_pist_tec9.vmdl , 5 , pist_tec9 , weapon_tec9 , 5 +pItem: 000005F0BCF59400 , 31 , 1 , #SFUI_WPNHUD_Taser , #CSGO_Type_Equipment , weapons/models/taser/weapon_pist_taser.vmdl , 5 , null , weapon_taser , 34 +pItem: 000005F0BCF53800 , 32 , 2 , #SFUI_WPNHUD_HKP2000 , #CSGO_Type_Pistol , weapons/models/hkp2000/weapon_pist_hkp2000.vmdl , 5 , pist_hkp2000 , weapon_hkp2000 , 2 +pItem: 000005F0BCF52800 , 33 , 1 , #SFUI_WPNHUD_MP7 , #CSGO_Type_SMG , weapons/models/mp7/weapon_smg_mp7.vmdl , 5 , smg_mp7 , weapon_mp7 , 8 +pItem: 000005F0BCF52C00 , 34 , 1 , #SFUI_WPNHUD_MP9 , #CSGO_Type_SMG , weapons/models/mp9/weapon_smg_mp9.vmdl , 5 , smg_mp9 , weapon_mp9 , 12 +pItem: 000005F0BCF56400 , 35 , 1 , #SFUI_WPNHUD_Nova , #CSGO_Type_Shotgun , weapons/models/nova/weapon_shot_nova.vmdl , 5 , shot_nova , weapon_nova , 8 +pItem: 000005F0BCF56000 , 36 , 1 , #SFUI_WPNHUD_P250 , #CSGO_Type_Pistol , weapons/models/p250/weapon_pist_p250.vmdl , 5 , pist_p250 , weapon_p250 , 4 +pItem: 000005F0BCF57400 , 38 , 1 , #SFUI_WPNHUD_SCAR20 , #CSGO_Type_SniperRifle , weapons/models/scar20/weapon_snip_scar20.vmdl , 5 , snip_scar20 , weapon_scar20 , 14 +pItem: 000005F0BCF57000 , 39 , 1 , #SFUI_WPNHUD_SG556 , #CSGO_Type_Rifle , weapons/models/sg556/weapon_rif_sg556.vmdl , 5 , rif_sg556 , weapon_sg556 , 17 +pItem: 000005F0BCF56C00 , 40 , 1 , #SFUI_WPNHUD_SSG08 , #CSGO_Type_SniperRifle , weapons/models/ssg08/weapon_snip_ssg08.vmdl , 5 , snip_ssg08 , weapon_ssg08 , 16 +pItem: 000005F0BCF53000 , 60 , 2 , #SFUI_WPNHUD_M4_SILENCER , #CSGO_Type_Rifle , weapons/models/m4a1_silencer/weapon_rif_m4a1_silencer.vmdl , 5 , rif_m4a1_s , weapon_m4a1_silencer , 15 +pItem: 000005F0C55CA800 , 61 , 2 , #SFUI_WPNHUD_USP_SILENCER , #CSGO_Type_Pistol , weapons/models/usp_silencer/weapon_pist_usp_silencer.vmdl , 5 , pist_223 , weapon_usp_silencer , 2 +pItem: 000005F0C55C9C00 , 63 , 1 , #SFUI_WPNHUD_CZ75 , #CSGO_Type_Pistol , weapons/models/cz75a/weapon_pist_cz75a.vmdl , 5 , pist_cz_75 , weapon_cz75a , 3 +pItem: 000005F0C55CE000 , 64 , 1 , #SFUI_WPNHUD_REVOLVER , #CSGO_Type_Pistol , weapons/models/revolver/weapon_pist_revolver.vmdl , 5 , pist_revolver , weapon_revolver , 3 +pItem: 000005F0C55C8800 , 500 , 6 , #SFUI_WPNHUD_KnifeBayonet , #CSGO_Type_Knife , weapons/models/knife/knife_bayonet/weapon_knife_bayonet.vmdl , 0 , knife_bayonet , weapon_bayonet , 0 +*/ + +class CEconItemDefinition +{ +public: + auto IsWeapon() -> bool; + auto IsKnife( bool excludeDefault ) -> bool; + auto IsGlove( bool excludeDefault ) -> bool; + auto IsAgent( bool excludeDefault ) -> bool; + +public: + CUSTOM_OFFSET_FIELD( uint16_t , m_nDefIndex , 0x10 ); + CUSTOM_OFFSET_FIELD( uint8_t , m_nItemRarity , 0x42 ); + CUSTOM_OFFSET_FIELD( const char* , m_pszItemBaseName , 0x70 ); + CUSTOM_OFFSET_FIELD( const char* , m_pszItemTypeName , 0x80 ); + CUSTOM_OFFSET_FIELD( const char* , m_pszModelName , 0x148 ); + CUSTOM_OFFSET_FIELD( int32_t , m_nStickerSupportCount , 0x168 ); + CUSTOM_OFFSET_FIELD( const char* , m_pszIconName , 0x230 ); + CUSTOM_OFFSET_FIELD( const char* , m_pszWeaponName , 0x260 ); + CUSTOM_OFFSET_FIELD( uint32_t , LoadoutSlot , g_CEconItemDefinition_GetLoadoutSlot ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.cpp new file mode 100644 index 0000000..3a0ef16 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.cpp @@ -0,0 +1,8 @@ +#include "CEconItemSchema.hpp" + +#include + +auto CEconItemSchema::GetAttributeDefinitionInterface( int iAttribIndex ) -> void* +{ + return CEconItemSchema_GetAttributeDefinitionInterface( this , iAttribIndex ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.hpp new file mode 100644 index 0000000..add7960 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSchema.hpp @@ -0,0 +1,61 @@ +#pragma once + +#include +#include + +#include +#include + +class CEconItemDefinition; + +class CPaintKit +{ +public: + int nID; + const char* sName; + const char* sDescriptionString; + const char* sDescriptionTag; + char pad0[0x8]; // no idea + char pad1[0x8]; // no idea + char pad2[0x8]; // no idea + char pad3[0x8]; // no idea + char pad4[0x4]; // no idea + int nRarity; +}; + +class CMusicKit +{ +public: + int32_t nID; + int32_t unk0; + const char* sName; + const char* sNameLocToken; + const char* sLocDescription; + const char* sPedestalDisplayModel; + const char* sInventoryImage; +private: + PAD( 0x10 ); +}; + +class CEconItemSchema +{ +public: + // Index -> "27" + auto GetAttributeDefinitionInterface( int iAttribIndex ) -> void*; + +public: + auto& GetSortedItemDefinitionMap() + { + return *reinterpret_cast*>( (uintptr_t)( this ) + g_CEconItemSchema_GetSortedItemDefinitionMap ); + } + + auto& GetPaintKits() + { + return *reinterpret_cast*>( (uintptr_t)( this ) + g_CEconItemSchema_GetPaintKits ); + } + + auto& GetMusicKitDefinitions() + { + return *reinterpret_cast*>( (uintptr_t)( this ) + g_CEconItemSchema_GetMusicKitDefinitions ); + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.cpp new file mode 100644 index 0000000..13190d2 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.cpp @@ -0,0 +1,8 @@ +#include "CEconItemSystem.hpp" + +#include + +auto CEconItemSystem::GetEconItemSchema() -> CEconItemSchema* +{ + return CUSTOM_OFFSET( CEconItemSchema* , 0x8 ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.hpp new file mode 100644 index 0000000..dda05cf --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Econ/CEconItemSystem.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include + +class CEconItemSchema; + +class CEconItemSystem +{ +public: + auto GetEconItemSchema() -> CEconItemSchema*; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp new file mode 100644 index 0000000..2e38fc4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/FunctionListSDK.hpp @@ -0,0 +1,97 @@ +#pragma once + +#include + +#include +#include +#include +#include +#include + +class CGameEntitySystem; +class CCSPlayerController; +class CCSInventoryManager; +class C_EconItemView; +class CCSPlayerInventory; +class CGCClientSharedObjectCache; +class CGCClient; +class CGCClientSharedObjectTypeCache; +class CGCClientSharedObjectCache; +class CEconItem; +class CEconItemSchema; +class IGameEvent; +class CEconItemDefinition; +class CCSWeaponBaseVData; +class C_BaseModelEntity; +class CGameSceneNode; +class C_CSWeaponBase; +class CCompositeMaterialOwner; +class C_BaseEntity; +class CSOEconItem; +class CCSGO_HudWeaponSelection; +class CUserCmdArray; +class CUserCmd; +class CTraceFilter; +class CGameTrace; +class CSkeletonInstance; +class CSubtickMoveStep; +class IVPhysics2World; +class CCSGOInput; +struct Ray_t; + +// Declarations: + +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( PVOID , CGameEntitySystem_GetBaseEntity , ( CGameEntitySystem* pGameEntitySystem , int iIndex ) , ( CGameEntitySystem* , int ) , ( pGameEntitySystem , iIndex ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSPlayerController* , CGameEntitySystem_GetLocalPlayerController , ( int Unk ) , ( int ) , ( Unk ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSInventoryManager* , CCSInventoryManager_Get , ( ) , ( ) , ( ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , CCSInventoryManager_EquipItemInLoadout , ( CCSInventoryManager* pCCSInventoryManager , int iTeam , int iSlot , uint64_t iItemID ) , ( CCSInventoryManager* , int , int , uint64_t ) , ( pCCSInventoryManager , iTeam , iSlot , iItemID ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( C_EconItemView* , CCSPlayerInventory_GetItemInLoadout , ( CCSPlayerInventory* pCCSPlayerInventory , int iClass , int iSlot ) , ( CCSPlayerInventory* , int , int ) , ( pCCSPlayerInventory , iClass , iSlot ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CGCClientSharedObjectTypeCache* , CGCClientSharedObjectCache_CreateBaseTypeCache , ( CGCClientSharedObjectCache* pCGCClientSharedObjectCache , int nClassID ) , ( CGCClientSharedObjectCache* , int ) , ( pCGCClientSharedObjectCache , nClassID ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CGCClientSharedObjectTypeCache* , CGCClientSharedObjectCache_FindTypeCache , ( CGCClientSharedObjectCache* pCGCClientSharedObjectCache , int nClassID ) , ( CGCClientSharedObjectCache* , int ) , ( pCGCClientSharedObjectCache , nClassID ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CEconItem* , CreateSharedObjectSubclassEconItem , ( ) , ( ) , ( ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , CEconItemSchema_GetAttributeDefinitionInterface , ( CEconItemSchema* pEconItemSchema , int iAttribIndex ) , ( CEconItemSchema* , int ) , ( pEconItemSchema , iAttribIndex ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CEconItem_SetDynamicAttributeValueUint , ( CEconItem* pEconItem , void* pAttributeDefinitionInterface , void* pValue ) , ( CEconItem* , void* , void* ) , ( pEconItem , pAttributeDefinitionInterface , pValue ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , IGameEvent_GetName , ( IGameEvent* pIGameEvent ) , ( IGameEvent* ) , ( pIGameEvent ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int64_t , IGameEvent_GetInt64 , ( IGameEvent* pIGameEvent , const char* szEventName ) , ( IGameEvent* , const char* ) , ( pIGameEvent , szEventName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSPlayerController* , IGameEvent_GetPlayerController , ( IGameEvent* pIGameEvent , void* pEventNameHash ) , ( IGameEvent* , void* ) , ( pIGameEvent , pEventNameHash ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , IGameEvent_GetString , ( IGameEvent* pIGameEvent , void* pEventNameHash ) , ( IGameEvent* , void* , void* ) , ( pIGameEvent , pEventNameHash , nullptr ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( const char* , IGameEvent_SetString , ( IGameEvent* pIGameEvent , void* pEventNameHash , const char* pEventValue ) , ( IGameEvent* , void* , const char* , int ) , ( pIGameEvent , pEventNameHash , pEventValue , 0 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CEconItemDefinition* , C_EconItemView_GetStaticData , ( C_EconItemView* pEconItemView ) , ( C_EconItemView* ) , ( pEconItemView ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CCSWeaponBaseVData* , C_EconItemView_GetBasePlayerWeaponVData , ( C_EconItemView* pC_EconItemView ) , ( C_EconItemView* ) , ( pC_EconItemView ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseModelEntity_SetModel , ( C_BaseModelEntity* pBaseModelEntity , const char* szModelName ) , ( C_BaseModelEntity* , const char* ) , ( pBaseModelEntity , szModelName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CGameSceneNode_SetMeshGroupMask , ( CGameSceneNode* pGameSceneNode , uint64_t MeshGroupMask ) , ( CGameSceneNode* , uint64_t ) , ( pGameSceneNode , MeshGroupMask ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSubclass , ( C_CSWeaponBase* pWeaponBase ) , ( C_CSWeaponBase* ) , ( pWeaponBase ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateSkin , ( C_CSWeaponBase* pWeaponBase , uint32_t Update ) , ( C_CSWeaponBase* , uint32_t ) , ( pWeaponBase , Update ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_CSWeaponBase_UpdateCompositeMaterial , ( CCompositeMaterialOwner* pCompositeMaterialOwner , bool unk1 ) , ( CCompositeMaterialOwner* , bool ) , ( pCompositeMaterialOwner , unk1 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , CEconItem_SerializeToProtoBufItem , ( CEconItem* pCEconItem , CSOEconItem* pCSOEconItem ) , ( CEconItem* , CSOEconItem* ) , ( pCEconItem , pCSOEconItem ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , C_BaseEntity_SetBodyGroup , ( C_BaseEntity* pC_BaseEntity , int unk1 , unsigned int unk2 ) , ( C_BaseEntity* , int , unsigned int ) , ( pC_BaseEntity , unk1 , unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CCSGO_HudWeaponSelection_ClearHudWeaponIcon , ( CCSGO_HudWeaponSelection* pCCSGO_HudWeaponSelection , int unk1 , int64_t unk2 ) , ( CCSGO_HudWeaponSelection* , int , int64_t ) , ( pCCSGO_HudWeaponSelection , unk1 , unk2 ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , FindHudElement , ( const char* szHudName ) , ( const char* ) , ( szHudName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , GetCUserCmdTick , ( CCSPlayerController* pPlayerController , int32_t* pOutputTick ) , ( CCSPlayerController* , int32_t* ) , ( pPlayerController , pOutputTick ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmdArray* , GetCUserCmdArray , ( CUserCmd** ppCUserCmd , int Tick ) , ( CUserCmd** , int ) , ( ppCUserCmd , Tick ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CUserCmd* , GetCUserCmdBySequenceNumber , ( CCSPlayerController* pPlayerController , uint32_t SequenceNumber ) , ( CCSPlayerController* , uint32_t ) , ( pPlayerController , SequenceNumber ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CTraceFilter_Constructor , ( CTraceFilter* pThis , uint64_t uMask , void* pSkip1 , int nLayer , uint16_t unkNum ) , ( CTraceFilter* , void* , uint64_t , int , uint16_t ) , ( pThis , pSkip1 , uMask , nLayer , unkNum ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , C_BaseEntity_ComputeHitboxSurroundingBox , ( C_BaseEntity* pBaseEntity , Vector3& mins , Vector3& maxs ) , ( C_BaseEntity* , Vector3& , Vector3& ) , ( pBaseEntity , mins , maxs ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CSkeletonInstance_CalcWorldSpaceBones , ( CSkeletonInstance* pCSkeletonInstance , unsigned int mask ) , ( CSkeletonInstance* , unsigned int ) , ( pCSkeletonInstance , mask ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( int , C_BaseEntity_GetBoneIdByName , ( C_BaseEntity* pC_BaseEntity , const char* szName ) , ( C_BaseEntity* , const char* ) , ( pC_BaseEntity , szName ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , ScreenTransform , ( const Vector3& vOrigin , Vector3& vOut ) , ( const Vector3& , Vector3& ) , ( vOrigin , vOut ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( CSubtickMoveStep* , CreateSubtickMoveStep , ( void* pArena ) , ( void* ) , ( pArena ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void* , ProtobufAddToRepeatedPtrElement , ( void* pRepeatedPtrField_t , void* pElement ) , ( void* , void* ) , ( pRepeatedPtrField_t , pElement ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( bool , IGamePhysicsQuery_TraceShape , ( IVPhysics2World** pIVPhysics2World , const Ray_t& ray , const Vector3& vecAbsStart , const Vector3& vecAbsEnd , const CTraceFilter* pFilter , CGameTrace* pTrace ) , ( IVPhysics2World** , const Ray_t& , const Vector3& , const Vector3& , const CTraceFilter* , CGameTrace* ) , ( pIVPhysics2World , ray , vecAbsStart , vecAbsEnd , pFilter , pTrace ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( QAngle* , CCSGOInput_GetViewAngles , ( CCSGOInput* pCCSGOInput , int32_t slot ) , ( CCSGOInput* , int32_t ) , ( pCCSGOInput , slot ) ); +DECLARATE_CS2_FUNCTION_SDK_FASTCALL( void , CCSGOInput_SetViewAngles , ( CCSGOInput* pCCSGOInput , int32_t slot , QAngle& Angles ) , ( CCSGOInput* , int32_t , QAngle& ) , ( pCCSGOInput , slot , Angles ) ); + +namespace CCSGOHudElement +{ + template + inline auto Find( const char* szHudName ) -> T* + { + return reinterpret_cast( FindHudElement( szHudName ) ); + } +} + +inline auto CGameEntitySystem_GetHighestEntityIndex( CGameEntitySystem* pGameEntitySystem , int& HighestIdx ) -> void +{ + // FF 81 ? ? ? ? 48 85 D2 + HighestIdx = *(int32_t*)( (uintptr_t)pGameEntitySystem + g_OFFSET_CGameEntitySystem_GetHighestEntityIndex ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.cpp new file mode 100644 index 0000000..ebf15d9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.cpp @@ -0,0 +1,13 @@ +#include "CGCClientSharedObjectCache.hpp" + +#include + +auto CGCClientSharedObjectCache::CreateBaseTypeCache( int nClassID ) -> CGCClientSharedObjectTypeCache* +{ + return CGCClientSharedObjectCache_CreateBaseTypeCache( this , nClassID ); +} + +auto CGCClientSharedObjectCache::FindTypeCache( int nClassID ) -> CGCClientSharedObjectTypeCache* +{ + return CGCClientSharedObjectCache_FindTypeCache( this , nClassID ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.hpp new file mode 100644 index 0000000..f31171b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectCache.hpp @@ -0,0 +1,44 @@ +#pragma once + +class CGCClientSharedObjectTypeCache; +class CSharedObject; + +#include +#include + +class ISharedObjectListener +{ +public: + + /// Called when a new object is created in a cache we are currently subscribed to, or when we are added + /// as a listener to a cache which already has objects in it + /// + /// eEvent will be one of: + /// - eSOCacheEvent_Subscribed + /// - eSOCacheEvent_Resubscribed + /// - eSOCacheEvent_Incremental + /// - eSOCacheEvent_ListenerAdded + virtual void SOCreated( GCSDK::SOID_t owner , const CSharedObject* pObject , GCSDK::ESOCacheEvent eEvent ) = 0; + + /// Called when an object is updated in a cache we are currently subscribed to. + /// + /// eEvent will be one of: + /// - eSOCacheEvent_Resubscribed + /// - eSOCacheEvent_Incremental + virtual void SOUpdated( GCSDK::SOID_t owner , const CSharedObject* pObject , GCSDK::ESOCacheEvent eEvent ) = 0; + + /// Called when an object is about to be deleted in a cache we are currently subscribed to. + /// The object will have already been removed from the cache, but is still valid. + /// + /// eEvent will be one of: + /// - eSOCacheEvent_Incremental + /// - eSOCacheEvent_Resubscribed + virtual void SODestroyed( GCSDK::SOID_t owner , const CSharedObject* pObject , GCSDK::ESOCacheEvent eEvent ) = 0; +}; + +class CGCClientSharedObjectCache +{ +public: + auto CreateBaseTypeCache( int nClassID ) -> CGCClientSharedObjectTypeCache*; + auto FindTypeCache( int nClassID ) -> CGCClientSharedObjectTypeCache*; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.cpp new file mode 100644 index 0000000..0d7f1fd --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.cpp @@ -0,0 +1,17 @@ +#include "CGCClientSharedObjectTypeCache.hpp" + +#include + +auto CGCClientSharedObjectTypeCache::AddObject( CSharedObject* pObject ) -> bool +{ + VirtualFn( bool )( CGCClientSharedObjectTypeCache* , CSharedObject* ); + + return vget< Fn >( this , Idx_AddObject )( this , pObject ); +} + +auto CGCClientSharedObjectTypeCache::RemoveObject( CSharedObject* pObject ) -> bool +{ + VirtualFn( bool )( CGCClientSharedObjectTypeCache* , CSharedObject* ); + + return vget< Fn >( this , Idx_RemoveObject )( this , pObject ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.hpp new file mode 100644 index 0000000..973975d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/CGCClientSharedObjectTypeCache.hpp @@ -0,0 +1,25 @@ +#pragma once + +#include +#include + +#include + +class CSharedObject; + +class CGCClientSharedObjectTypeCache +{ + constexpr static auto Idx_AddObject = 1; + constexpr static auto Idx_RemoveObject = 3; + +public: + auto AddObject( CSharedObject* pObject ) -> bool; + auto RemoveObject( CSharedObject* pObject ) -> bool; + +public: + template + auto& GetVecObjects() + { + return CUSTOM_OFFSET( CUtlVector , 0x8 ); + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/ESOCacheEvent.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/ESOCacheEvent.hpp new file mode 100644 index 0000000..ff289aa --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/ESOCacheEvent.hpp @@ -0,0 +1,34 @@ +#pragma once + +namespace GCSDK +{ + enum ESOCacheEvent + { + /// Dummy sentinel value + eSOCacheEvent_None = 0 , + + /// We received a our first update from the GC and are subscribed + eSOCacheEvent_Subscribed = 1 , + + /// We lost connection to GC or GC notified us that we are no longer + /// subscribed. Objects stay in the cache, but we no longer receive updates + eSOCacheEvent_Unsubscribed = 2 , + + /// We received a full update from the GC on a cache for which we were + /// already subscribed. This can happen if connectivity is lost, and then + /// restored before we realized it was lost. + eSOCacheEvent_Resubscribed = 3 , + + /// We received an incremental update from the GC about specific object(s) + /// being added, updated, or removed from the cache + eSOCacheEvent_Incremental = 4 , + + /// A lister was added to the cache + /// @see CGCClientSharedObjectCache::AddListener + eSOCacheEvent_ListenerAdded = 5 , + + /// A lister was removed from the cache + /// @see CGCClientSharedObjectCache::RemoveListener + eSOCacheEvent_ListenerRemoved = 6 , + }; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/EconItemConstants.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/EconItemConstants.hpp new file mode 100644 index 0000000..8d2a2f3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/EconItemConstants.hpp @@ -0,0 +1,46 @@ +#pragma once + +enum EEconItemQuality +{ + IQ_UNDEFINED = -1 , + IQ_NORMAL , + IQ_GENUINE , + IQ_VINTAGE , + IQ_UNUSUAL , + IQ_UNIQUE , + IQ_COMMUNITY , + IQ_DEVELOPER , + IQ_SELFMADE , + IQ_CUSTOMIZED , + IQ_STRANGE , + IQ_COMPLETED , + IQ_HAUNTED , + IQ_TOURNAMENT , + IQ_FAVORED +}; + +enum EEconItemRarity +{ + IR_DEFAULT , + IR_COMMON , + IR_UNCOMMON , + IR_RARE , + IR_MYTHICAL , + IR_LEGENDARY , + IR_ANCIENT , + IR_IMMORTAL +}; + +// https://gitlab.com/KittenPopo/csgo-2018-source/-/blob/main/game/shared/econ/econ_item_constants.h#L39 +enum EEconTypeID +{ + k_EEconTypeItem = 1 , + k_EEconTypePersonaDataPublic = 2 , + k_EEconTypeGameAccountClient = 7 , + k_EEconTypeGameAccount = 8 , + k_EEconTypeEquipInstance = 31 , + k_EEconTypeDefaultEquippedDefinitionInstance = 42 , + k_EEconTypeDefaultEquippedDefinitionInstanceClient = 43 , + k_EEconTypeCoupon = 45 , + k_EEconTypeQuest = 46 , +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/SOID_t.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/SOID_t.hpp new file mode 100644 index 0000000..71a9a50 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/GCSDK/GCSDKTypes/SOID_t.hpp @@ -0,0 +1,69 @@ +#pragma once + +#include +#include + +namespace GCSDK +{ + struct SOID_t + { + SOID_t() + : m_type( 0 ) + , m_id( 0 ) + , m_padding( 0 ) + { + } + + SOID_t( std::uint32_t type , std::uint64_t id ) + : m_type( type ) + , m_id( id ) + , m_padding( 0 ) + { + } + + //initializes the soid fields + void Init( std::uint32_t type , std::uint64_t id ) + { + m_type = type; + m_id = id; + } + + uint64 ID() const + { + return m_id; + } + + uint32 Type() const + { + return m_type; + } + + bool IsValid() + { + return m_type != 0; + } + + bool operator==( const SOID_t& rhs ) const + { + return m_type == rhs.m_type && m_id == rhs.m_id; + } + + bool operator!=( const SOID_t& rhs ) const + { + return m_type != rhs.m_type || m_id != rhs.m_id; + } + + bool operator<( const SOID_t& rhs ) const + { + if ( m_type == rhs.m_type ) + { + return m_id < rhs.m_id; + } + return m_type < rhs.m_type; + } + + std::uint64_t m_id; + std::uint32_t m_type; + std::uint32_t m_padding; + }; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CGameEntitySystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CGameEntitySystem.hpp new file mode 100644 index 0000000..c126358 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CGameEntitySystem.hpp @@ -0,0 +1,46 @@ +#pragma once + +#include + +#include + +class C_BaseEntity; +class CCSPlayerController; + +class CGameEntitySystem +{ +public: + template + auto GetBaseEntity( int iIndex ) -> T* + { + return (T*)CGameEntitySystem_GetBaseEntity( this , iIndex ); + } + +public: + auto GetHighestEntityIndex() -> int + { + auto HighestIdx = -1; + + CGameEntitySystem_GetHighestEntityIndex( this , HighestIdx ); + + return HighestIdx; + } + +public: + /* + 00007FF9BBF1312 | E8 B6EBDDFF | call client.7FF9BBCF1CE0 | GetLocalPlayerController + 00007FF9BBF1312 | 45:8B4E 78 | mov r9d,dword ptr ds:[r14+0x78] | + 00007FF9BBF1312 | 4C:8D05 1B2FBA00 | lea r8,qword ptr ds:[0x7FF9BCAB6050] | 00007FF9BCAB6050:"preentitypacket:ack %d cmds" + 00007FF9BBF1313 | 33D2 | xor edx,edx | + 00007FF9BBF1313 | 49:8946 08 | mov qword ptr ds:[r14+0x8],rax | + 00007FF9BBF1313 | 48:8D4C24 20 | lea rcx,qword ptr ss:[rsp+0x20] | + 00007FF9BBF1314 | E8 2BF8E8FF | call client.7FF9BBDA2970 | + */ + static auto GetLocalPlayerController() -> CCSPlayerController* + { + return CGameEntitySystem_GetLocalPlayerController( -1 ); + } +}; + +#define FOR_EACH_ENTITY( idx_name ) \ + for ( auto idx_name = 0; idx_name <= SDK::Interfaces::GameEntitySystem()->GetHighestEntityIndex(); idx_name++ ) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CInputSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CInputSystem.hpp new file mode 100644 index 0000000..3d8a9e2 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CInputSystem.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +#define INPUT_SYSTEM_INTERFACE_VERSION "InputSystemVersion001" + +class CInputSystem +{ +public: +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CLocalize.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CLocalize.hpp new file mode 100644 index 0000000..932fe24 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CLocalize.hpp @@ -0,0 +1,21 @@ +#pragma once + +#include + +#include +#include + +#define LOCALIZE_INTERFACE_VERSION "Localize_001" + +namespace CLocalize_Search +{ + // string -> ds:[0000018CC7750E78]:"CLocalize::FindSafe" + inline CBasePattern FindSafeFn = { VmpStr( "CLocalize::FindSafe" ) , VmpStr( "40 56 57 48 83 EC ? 48 8B F2 48 8B F9 48 85 D2 0F 84 ? ? ? ? 0F B6 02" ) , LOCALIZE_DLL }; +} + +class CLocalize +{ +public: + // Index -> "17" + DECLARATE_CS2_FUNCTION( const char* , FindSafe , ( const char* TokenName ) , CLocalize , ( CLocalize* , const char* ) , ( this , TokenName ) ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CMaterialSystem2.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CMaterialSystem2.hpp new file mode 100644 index 0000000..076decc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CMaterialSystem2.hpp @@ -0,0 +1,32 @@ +#pragma once + +#include +#include + +#include +#include +#include + +#define MATERIAL_SYSTEM2_INTERFACE_VERSION "VMaterialSystem2_001" + +namespace CMaterialSystem2_Search +{ + inline CBasePattern CreateMaterialFn = { VmpStr( "CMaterialSystem2::CreateMaterial" ) , VmpStr( "48 89 5C 24 08 48 89 6C 24 18 56 57 41 56 48 81 EC ? ? ? ?" ) , MATERIALSYSTEM2_DLL }; +} + +class CMaterial2 +{ +public: + auto GetName() -> const char* + { + VirtualFn( const char* )( CMaterial2* ); + return vget< Fn >( this , 0 )( this ); + } +}; + +class CMaterialSystem2 +{ +public: + // Index -> "29" + DECLARATE_CS2_FUNCTION( CMaterial2** , CreateMaterial , ( CMaterial2*** pEmptyMaterial , const char* szNewMaterialName , void* pMaterialData ) , CMaterialSystem2 , ( CMaterialSystem2* , CMaterial2*** , const char* , void* , int , int , int , int , int , int ) , ( this , pEmptyMaterial , szNewMaterialName , pMaterialData , 0 , 1 , 0 , 0 , 0 , 1 ) ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp new file mode 100644 index 0000000..095acdc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CShemaSystemSDK.hpp @@ -0,0 +1,160 @@ +#pragma once + +#include +#include + +#include +#include + +#define SCHEMA_SYSTEM_INTERFACE_VERSION "SchemaSystem_001" + +#pragma region CSchemaSystemIndex + +namespace index +{ + namespace CSchemaSystem + { + constexpr auto GlobalTypeScope = 11; + constexpr auto SchemaClassInfo = 42; + } +} + +#pragma endregion + +#pragma region GeneratorOffset + +namespace GeneratorOffset +{ + constexpr auto GetNumSchema = 0x74; + constexpr auto GetClassContainer = 0x580; // 49 8D 9F ? ? ? ? 48 8B CB E8 ? ? ? ? 48 8B 43 ? 48 8B CB 48 89 43 ? E8 ? ? ? ? 48 83 C3 ? 48 83 EF +} + +#pragma endregion + +#pragma region CSchemaSystemClasses + +class CSchemaClassBinding; +class CSchemaType; +class CSchemaSystemTypeScope; + +#pragma endregion + +#pragma region CSchemaSystemImpl + +class SchemaClassFieldDataArray_t +{ +public: + char* FieldName; + CSchemaType* FieldType; + int FieldOffset; +private: + PAD( 0xC ); +}; + +class CSchemaClassBinding +{ +public: + class CBaseClass_t + { + public: + CUSTOM_OFFSET_FIELD( CSchemaClassBinding* , m_classInfo , 0x8 ); + }; + + CUSTOM_OFFSET_FIELD( const char* , m_bindingName , 0x8 ); + CUSTOM_OFFSET_FIELD( const char* , m_dllName , 0x10 ); + CUSTOM_OFFSET_FIELD( int , m_SizeOf , 0x18 ); + CUSTOM_OFFSET_FIELD( unsigned short int , m_DataArraySize , 0x1C ); + CUSTOM_OFFSET_FIELD( SchemaClassFieldDataArray_t* , m_DataArray , 0x28 ); + CUSTOM_OFFSET_FIELD( CBaseClass_t* , m_baseClass , 0x30 ); + CUSTOM_OFFSET_FIELD( CSchemaSystemTypeScope* , m_TypeScope , 0x48 ); + CUSTOM_OFFSET_FIELD( CSchemaType* , m_Type , 0x50 ); +}; + +class CSchemaType +{ +public: + void* ptable; + char* szTypeName; +}; + +template +class CSchemaList +{ +public: + class SchemaBlock + { + public: + SchemaBlock* Next() const + { + return m_nextBlock; + } + T* GetBinding() const + { + return m_classBinding; + } + private: + void* unkn0; + SchemaBlock* m_nextBlock; + T* m_classBinding; + }; + + class BlockContainer + { + public: + SchemaBlock* GetFirstBlock() const + { + return m_firstBlock; + } + private: + void* unkn[2]; + SchemaBlock* m_firstBlock; + }; + + typedef std::array BlockContainers; + + int GetNumSchema() + { + return CUSTOM_OFFSET( int , -GeneratorOffset::GetNumSchema ); + } + + const BlockContainers& GetBlockContainers() + { + return CUSTOM_OFFSET( const BlockContainers , 0x0 ); + } +}; + +#pragma endregion + +class CSchemaSystemTypeScope +{ +public: + CSchemaList* GetClassContainer() + { + return CUSTOM_OFFSET_RAW( CSchemaList , GeneratorOffset::GetClassContainer ); + } +}; + +namespace CSchemaSystem_Search +{ + inline CBasePattern GetAllTypeScopeFn = { VmpStr( "CSchemaSystem::GetAllTypeScope" ) , VmpStr( "48 8B 05 ? ? ? ? 48 8B D6 0F B7 CB 48 8B 3C C8" ) , SCHEMASYSTEM_DLL , 0 , SEARCH_TYPE_PTR2 }; +} + +class CSchemaSystem +{ +public: + auto GlobalTypeScope() -> CSchemaSystemTypeScope* + { + VirtualFn( CSchemaSystemTypeScope* )( CSchemaSystem* ); + return vget< Fn >( this , index::CSchemaSystem::GlobalTypeScope )( this ); + } + + auto GetAllTypeScope() -> CSchemaSystemTypeScope** + { + return *reinterpret_cast( CSchemaSystem_Search::GetAllTypeScopeFn.GetFunction() ); + } + + auto GetAllTypeScopeSize() -> uint16_t + { + return *reinterpret_cast( (uintptr_t)CSchemaSystem_Search::GetAllTypeScopeFn.GetFunction() - 0x8 ); + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSoundOpSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSoundOpSystem.hpp new file mode 100644 index 0000000..2adb9ed --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSoundOpSystem.hpp @@ -0,0 +1,25 @@ +#pragma once + +#include +#include + +#include + +#define INTERFACE_SOUNDOPSYSTEM "SoundOpSystem001" + +class CSoundEventManager +{ +public: + virtual uint32 GetSoundEventHash( const char* szSound ) = 0; + virtual bool IsValidSoundEventHash( uint32 hash ) = 0; + virtual const char* GetSoundEventName( uint32 hash ) = 0; +}; + +class CSoundOpSystem +{ +public: + inline auto GetCSoundEventManager() -> CSoundEventManager* + { + return CUSTOM_OFFSET_RAW( CSoundEventManager , 0x8 ); + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSource2Client.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSource2Client.hpp new file mode 100644 index 0000000..c67703d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/CSource2Client.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include + +#include + +#define SOURCE2_CLIENT_INTERFACE_VERSION "Source2Client002" + +class CEconItemSystem; + +namespace CSource2Client_Search +{ + inline CBasePattern GetEconItemSystemFn = { VmpStr( "CSource2Client::GetEconItemSystem" ) , VmpStr( "48 83 EC 28 48 8B 05 ? ? ? ? 48 85 C0 0F 85 81" ) , CLIENT_DLL }; +} + +class CSource2Client +{ +public: + DECLARATE_CS2_FUNCTION( CEconItemSystem* , GetEconItemSystem , ( ) , CSource2Client , ( CSource2Client* ) , ( this ) ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IBaseFileSystem.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IBaseFileSystem.hpp new file mode 100644 index 0000000..eac9849 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IBaseFileSystem.hpp @@ -0,0 +1,53 @@ +#pragma once + +#include + +#define FILE_SYSTEM_INTERFACE_VERSION "VFileSystem017" + +#define FILESYSTEM_MAX_SEARCH_PATHS 128 +#define FILESYSTEM_INVALID_HANDLE ( FileHandle_t )0 + +class CUtlBuffer; + +typedef void* FileHandle_t; + +enum FileSystemSeek_t +{ + FILESYSTEM_SEEK_HEAD = SEEK_SET , + FILESYSTEM_SEEK_CURRENT = SEEK_CUR , + FILESYSTEM_SEEK_TAIL = SEEK_END , +}; + +typedef void* ( *FSAllocFunc_t )( const char* pszFilename , unsigned nBytes ); + +class IBaseFileSystem : public IAppSystem +{ +public: + virtual int Read( void* pOutput , int size , FileHandle_t file ) = 0; + virtual int Write( void const* pInput , int size , FileHandle_t file ) = 0; + + // if pathID is NULL, all paths will be searched for the file + virtual FileHandle_t Open( const char* pFileName , const char* pOptions , const char* pathID = 0 ) = 0; + virtual void Close( FileHandle_t file ) = 0; + + virtual void Seek( FileHandle_t file , int pos , FileSystemSeek_t seekType ) = 0; + virtual unsigned int Tell( FileHandle_t file ) = 0; + virtual unsigned int Size( FileHandle_t file ) = 0; + virtual unsigned int Size( const char* pFileName , const char* pPathID = 0 ) = 0; + + virtual void Flush( FileHandle_t file ) = 0; + virtual bool Precache( const char* pFileName , const char* pPathID = 0 ) = 0; + + virtual bool FileExists( const char* pFileName , const char* pPathID = 0 ) = 0; + virtual bool IsFileWritable( char const* pFileName , const char* pPathID = 0 ) = 0; + virtual bool SetFileWritable( char const* pFileName , bool writable , const char* pPathID = 0 ) = 0; + + virtual long GetFileTime( const char* pFileName , const char* pPathID = 0 ) = 0; + + //-------------------------------------------------------- + // Reads/writes files to utlbuffers. Use this for optimal read performance when doing open/read/close + //-------------------------------------------------------- + virtual bool ReadFile( const char* pFileName , const char* pPath , CUtlBuffer& buf , int nMaxBytes = 0 , int nStartingByte = 0 , FSAllocFunc_t pfnAlloc = NULL ) = 0; + virtual bool WriteFile( const char* pFileName , const char* pPath , CUtlBuffer& buf ) = 0; + virtual bool UnzipFile( const char* pFileName , const char* pPath , const char* pDestination ) = 0; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp new file mode 100644 index 0000000..f9b8ed4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineCvar.hpp @@ -0,0 +1,171 @@ +#pragma once + +#include +#include + +#include + +#include +#include + +#include +#include +#include +#include + +#define ENGINE_CVAR_INTERFACE_VERSION "VEngineCvar007" + +// command to convars and concommands +enum EConVarFlag : int +{ + // convar systems + FCVAR_NONE = 0 , + FCVAR_UNREGISTERED = ( 1 << 0 ) , // if this is set, don't add to linked list, etc + FCVAR_DEVELOPMENTONLY = ( 1 << 1 ) , // hidden in released products. flag is removed automatically if allow_development_cvars is defined + FCVAR_GAMEDLL = ( 1 << 2 ) , // defined by the game dll + FCVAR_CLIENTDLL = ( 1 << 3 ) , // defined by the client dll + FCVAR_HIDDEN = ( 1 << 4 ) , // hidden. doesn't appear in find or autocomplete. like developmentonly, but can't be compiled out + + // convar only + FCVAR_PROTECTED = ( 1 << 5 ) , // it's a server cvar, but we don't send the data since it's a password, etc. sends 1 if it's not bland/zero, 0 otherwise as value + FCVAR_SPONLY = ( 1 << 6 ) , // this cvar cannot be changed by clients connected to a multiplayer server + FCVAR_ARCHIVE = ( 1 << 7 ) , // set to cause it to be saved to vars.rc + FCVAR_NOTIFY = ( 1 << 8 ) , // notifies players when changed + FCVAR_USERINFO = ( 1 << 9 ) , // changes the client's info string + FCVAR_CHEAT = ( 1 << 14 ) , // only useable in singleplayer/debug/multiplayer & sv_cheats + FCVAR_PRINTABLEONLY = ( 1 << 10 ) , // this cvar's string cannot contain unprintable characters (e.g., used for player name etc) + FCVAR_UNLOGGED = ( 1 << 11 ) , // if this is a fcvar_server, don't log changes to the log file / console if we are creating a log + FCVAR_NEVER_AS_STRING = ( 1 << 12 ) , // never try to print that cvar + + // it's a convar that's shared between the client and the server. + // at signon, the values of all such convars are sent from the server to the client (skipped for local client, ofc) + // if a change is requested it must come from the console (i.e., no remote client changes) + // if a value is changed while a server is active, it's replicated to all connected clients + FCVAR_REPLICATED = ( 1 << 13 ) , // server setting enforced on clients, replicated + // @todo: (1 << 14) used by the game, probably used as modification detection + FCVAR_DEMO = ( 1 << 16 ) , // record this cvar when starting a demo file + FCVAR_DONTRECORD = ( 1 << 17 ) , // don't record these command in demofiles + FCVAR_RELOAD_MATERIALS = ( 1 << 20 ) , // if this cvar changes, it forces a material reload + FCVAR_RELOAD_TEXTURES = ( 1 << 21 ) , // if this cvar changes, if forces a texture reload + FCVAR_NOT_CONNECTED = ( 1 << 22 ) , // cvar cannot be changed by a client that is connected to a server + FCVAR_MATERIAL_SYSTEM_THREAD = ( 1 << 23 ) , // indicates this cvar is read from the material system thread + FCVAR_ARCHIVE_XBOX = ( 1 << 24 ) , // cvar written to config.cfg on the xbox + FCVAR_ACCESSIBLE_FROM_THREADS = ( 1 << 25 ) , // used as a debugging tool necessary to check material system thread convars + FCVAR_SERVER_CAN_EXECUTE = ( 1 << 28 ) , // the server is allowed to execute this command on clients via clientcommand/net_stringcmd/cbaseclientstate::processstringcmd + FCVAR_SERVER_CANNOT_QUERY = ( 1 << 29 ) , // if this is set, then the server is not allowed to query this cvar's value (via iserverpluginhelpers::startquerycvarvalue) + FCVAR_CLIENTCMD_CAN_EXECUTE = ( 1 << 30 ) , // ivengineclient::clientcmd is allowed to execute this command + FCVAR_MATERIAL_THREAD_MASK = ( FCVAR_RELOAD_MATERIALS | FCVAR_RELOAD_TEXTURES | FCVAR_MATERIAL_SYSTEM_THREAD ) +}; + +enum EConVarType : short +{ + EConVarType_Invalid = -1 , + EConVarType_Bool , + EConVarType_Int16 , + EConVarType_UInt16 , + EConVarType_Int32 , + EConVarType_UInt32 , + EConVarType_Int64 , + EConVarType_UInt64 , + EConVarType_Float32 , + EConVarType_Float64 , + EConVarType_String , + EConVarType_Color , + EConVarType_Vector2 , + EConVarType_Vector3 , + EConVarType_Vector4 , + EConVarType_Qangle , + EConVarType_MAX +}; + +#pragma endregion + +union CVValue_t +{ + bool i1; + short i16; + uint16_t u16; + int i32; + uint32_t u32; + int64_t i64; + uint64_t u64; + float fl; + double db; + const char* sz; + Color clr; + Vector2 vec2; + Vector3 vec3; + Vector4 vec4; + QAngle ang; +}; + +class CConVar +{ +public: + const char* szName; // 0x0000 + CVValue_t* m_pDefaultValue; // 0x0008 + PAD( 0x10 ); // 0x0010 + const char* szDescription; // 0x0020 + uint32_t nType; // 0x28 + uint32_t nRegistered; // 0x2C + uint32_t nFlags; // 0x30 + PAD( 0x1C ); // 0x34 + CVValue_t value; // 0x50 +}; + +namespace IEngineCVar_Search +{ + inline CBasePattern GetFirstCvarIteratorFn = { VmpStr( "IEngineCVar::GetFirstCvarIterator" ) , VmpStr( "48 89 74 24 10 57 48 83 EC 30 0F B7 41 50 48 8B F1 B9 FF FF 00 00" ) , TIER0_DLL }; + inline CBasePattern GetNextCvarIteratorFn = { VmpStr( "IEngineCVar::GetNextCvarIterator" ) , VmpStr( "48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 41 56 41 57 48 83 EC 30 BD FF FF 00 00 49 8B D8 4C 8B F2 48 8B F1 66 44 3B C5 74 5B 41 BF FF 7F 00 00 66 44 85 7E 42" ) , TIER0_DLL }; + inline CBasePattern FindVarByIndexFn = { VmpStr( "IEngineCVar::FindVarByIndex" ) , VmpStr( "B8 FF FF 00 00 66 3B D0 74 27 B8 FF 7F 00 00 66 85 41 42 75 0D 33 C9 0F B7 C2 48 03 C0 48 8B 04 C1 C3" ) , TIER0_DLL }; +} + +class IEngineCVar +{ +public: + DECLARATE_CS2_FUNCTION( void , GetFirstCvarIterator , ( uint64_t& idx ) , IEngineCVar , ( IEngineCVar* , uint64_t& ) , ( this , idx ) ); + DECLARATE_CS2_FUNCTION( void , GetNextCvarIterator , ( uint64_t& idx ) , IEngineCVar , ( IEngineCVar* , uint64_t* , uint64_t ) , ( this , &idx , idx ) ); + DECLARATE_CS2_FUNCTION( CConVar* , FindVarByIndex , ( uint64_t idx ) , IEngineCVar , ( IEngineCVar* , uint64_t ) , ( this , idx ) ); + +public: + auto Find( const char* pszName ) -> CConVar* + { + uint64_t i = 0; + GetFirstCvarIterator( i ); + + while ( i != 0xFFFFFFFF ) + { + auto* pConVar = FindVarByIndex( i ); + + if ( pConVar && strcmp( pConVar->szName , pszName ) == 0 ) + return pConVar; + + GetNextCvarIterator( i ); + } + + return nullptr; + } + + void UnlockHiddenCVars() + { + uint64_t i = 0; + GetFirstCvarIterator( i ); + + while ( i != 0xFFFFFFFF ) + { + auto* pConVar = FindVarByIndex( i ); + + if ( pConVar ) + { + if ( pConVar->nFlags & FCVAR_HIDDEN ) + { + pConVar->nFlags &= ~FCVAR_HIDDEN; + + //DEV_LOG( "Unlocked ConVar FCVAR_HIDDEN: %s\n" , pConVar->szName ); + } + } + + GetNextCvarIterator( i ); + } + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp new file mode 100644 index 0000000..4507996 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IEngineToClient.hpp @@ -0,0 +1,25 @@ +#pragma once + +#include + +#include +#include + +#define IVENGINE_TO_CLIENT_INTERFACE_VERSION "Source2EngineToClient001" + +namespace IVEngineToClient_Search +{ + inline CBasePattern IsInGameFn = { VmpStr( "IVEngineToClient::IsInGame" ) , VmpStr( "48 8B ? ? ? ? ? 48 85 C0 74 15 80 B8 ? ? ? ? ? 75 0C 83 B8 ? ? ? ? 06" ) , ENGINE2_DLL }; + inline CBasePattern GetLevelNameFn = { VmpStr( "IVEngineToClient::GetLevelName" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 20 02 00 00 02 7C 1A 48 8B 89 00 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; + inline CBasePattern GetLevelNameShortFn = { VmpStr( "IVEngineToClient::GetLevelNameShort" ) , VmpStr( "48 83 EC 28 E8 ? ? ? ? 84 C0 74 0C 48 8D ? ? ? ? ? 48 83 C4 28 C3 48 8B ? ? ? ? ? 48 85 C9 74 23 83 B9 20 02 00 00 02 7C 1A 48 8B 89 08 02 00 00 48 8D ? ? ? ? ? 48 85 C9 48 0F 45 C1 48 83 C4 28 C3 48 8D ? ? ? ? ? 48 83 C4 28 C3" ) , ENGINE2_DLL }; +} + +class IVEngineToClient +{ +public: + DECLARATE_CS2_FUNCTION( bool , IsInGame , ( ) , IVEngineToClient , ( IVEngineToClient* ) , ( this ) ); + // Index -> "60" + DECLARATE_CS2_FUNCTION( const char* , GetLevelName , ( ) , IVEngineToClient , ( IVEngineToClient* ) , ( this ) ); + // Index -> "61" + DECLARATE_CS2_FUNCTION( const char* , GetLevelNameShort , ( ) , IVEngineToClient , ( IVEngineToClient* ) , ( this ) ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.cpp new file mode 100644 index 0000000..c9fef39 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.cpp @@ -0,0 +1,35 @@ +#include "IGameEvent.hpp" + +#include +#include + +auto IGameEvent::GetName() -> const char* +{ + return IGameEvent_GetName( this ); +} + +auto IGameEvent::GetInt64( const std::string_view Name ) -> int64_t +{ + return IGameEvent_GetInt64( this , Name.data() ); +} + +auto IGameEvent::GetPlayerController( const std::string_view Name ) -> CCSPlayerController* +{ + CUtlStringToken Token( Name.data() ); + + return IGameEvent_GetPlayerController( this , &Token ); +} + +auto IGameEvent::GetString( const std::string_view Name ) -> const char* +{ + CUtlStringToken Token( Name.data() ); + + return IGameEvent_GetString( this , &Token ); +} + +auto IGameEvent::SetString( const std::string_view Name , const std::string_view Value ) -> const char* +{ + CUtlStringToken Token( Name.data() ); + + return IGameEvent_SetString( this , &Token , Value.data() ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.hpp new file mode 100644 index 0000000..7e6ce20 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/IGameEvent.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include + +class CCSPlayerController; + +class IGameEvent +{ +public: + auto GetName() -> const char*; + auto GetInt64( const std::string_view Name ) -> int64_t; + auto GetPlayerController( const std::string_view Name ) -> CCSPlayerController*; + auto GetString( const std::string_view Name ) -> const char*; + auto SetString( const std::string_view Name, const std::string_view Value ) -> const char*; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.cpp new file mode 100644 index 0000000..84e911c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.cpp @@ -0,0 +1,22 @@ +#include "Interface.hpp" + +InterfaceReg* s_pInterfaceRegs = nullptr; + +InterfaceReg::InterfaceReg( InstantiateInterfaceFn fn , const char* pName ) : m_pName( pName ) +{ + m_CreateFn = fn; + m_pNext = s_pInterfaceRegs; + s_pInterfaceRegs = this; +} + +CreateInterfaceFn CaptureFactory( const char* FactoryModule ) +{ + CreateInterfaceFn Interface = 0; + + HMODULE hFactoryModule = GetModuleHandleA( FactoryModule ); + + if ( hFactoryModule ) + Interface = (CreateInterfaceFn)( GetProcAddress( hFactoryModule , XorStr( CREATEINTERFACE_PROCNAME ) ) ); + + return Interface; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.hpp new file mode 100644 index 0000000..e89deec --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Interface/Interface.hpp @@ -0,0 +1,37 @@ +#pragma once + +#include + +// All interfaces derive from this. +class IBaseInterface +{ +public: + virtual ~IBaseInterface() {} +}; + +#define CREATEINTERFACE_PROCNAME "CreateInterface" + +typedef void* ( *CreateInterfaceFn )( const char* pName , int* pReturnCode ); +typedef void* ( *InstantiateInterfaceFn )( ); + +// Used internally to register classes. +class InterfaceReg +{ +public: + InterfaceReg( InstantiateInterfaceFn fn , const char* pName ); + +public: + InstantiateInterfaceFn m_CreateFn; + const char* m_pName; + + InterfaceReg* m_pNext; // For the global list. +}; + +CreateInterfaceFn CaptureFactory( const char* FactoryModule ); + +template +T* CaptureInterface( CreateInterfaceFn Interface , const char* InterfaceName ) +{ + T* dwPointer = (T*)( Interface( InterfaceName , 0 ) ); + return dwPointer; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.cpp new file mode 100644 index 0000000..264ac61 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.cpp @@ -0,0 +1,257 @@ +#include "Math.hpp" + +#include +#include + +#include + +namespace Math +{ + auto WorldToScreen( const Vector3& vIn , ImVec2& vOut ) -> bool + { + auto ret = false; + + Vector3 Out; + + ret = !( ScreenTransform( vIn , Out ) ); + + if ( ImGui::GetCurrentContext() ) + { + vOut.x = ( ( Out.m_x + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.x; + vOut.y = ImGui::GetIO().DisplaySize.y - ( ( ( Out.m_y + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.y ); + } + + return ret; + } + + auto WorldToScreen( const Vector3& vIn , Vector2& vOut ) -> bool + { + auto ret = false; + + Vector3 Out; + + ret = !( ScreenTransform( vIn , Out ) ); + + if ( ImGui::GetCurrentContext() ) + { + vOut.m_x = ( ( Out.m_x + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.x; + vOut.m_y = ImGui::GetIO().DisplaySize.y - ( ( ( Out.m_y + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.y ); + } + + return ret; + } + + auto WorldToScreen( const Vector3& vIn , Vector3& vOut ) -> bool + { + auto ret = false; + + ret = !( ScreenTransform( vIn , vOut ) ); + + if ( ImGui::GetCurrentContext() ) + { + vOut.m_x = ( ( vOut.m_x + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.x; + vOut.m_y = ImGui::GetIO().DisplaySize.y - ( ( ( vOut.m_y + 1.0f ) * 0.5f ) * ImGui::GetIO().DisplaySize.y ); + } + + return ret; + } + + auto AngleNormalize( float angle ) -> float + { + angle = std::fmod( angle , 360.f ); + + if ( angle > 180.f ) + angle -= 360.f; + else if ( angle < -180.f ) + angle += 360.f; + + return angle; + } + + auto NormalizeAngles( QAngle& QAngle ) -> void + { + for ( auto i = 0; i < 3; i++ ) + { + while ( QAngle[i] < -180.0f ) QAngle[i] += 360.0f; + while ( QAngle[i] > 180.0f ) QAngle[i] -= 360.0f; + } + } + + auto ClampAngles( QAngle& QAngle ) -> void + { + if ( QAngle.m_x > 89.0f ) QAngle.m_x = 89.0f; + else if ( QAngle.m_x < -89.0f ) QAngle.m_x = -89.0f; + + if ( QAngle.m_y > 180.0f ) QAngle.m_y = 180.0f; + else if ( QAngle.m_y < -180.0f ) QAngle.m_y = -180.0f; + + QAngle.m_z = 0; + } + + auto CalcAngle( const Vector3& src , const Vector3& dst ) -> QAngle + { + QAngle vAngle; + + Vector3 delta( ( src.m_x - dst.m_x ) , ( src.m_y - dst.m_y ) , ( src.m_z - dst.m_z ) ); + double hyp = sqrt( delta.m_x * delta.m_x + delta.m_y * delta.m_y ); + + vAngle.m_x = float( atanf( float( delta.m_z / hyp ) ) * 57.295779513082f ); + vAngle.m_y = float( atanf( float( delta.m_y / delta.m_x ) ) * 57.295779513082f ); + vAngle.m_z = 0.0f; + + if ( delta.m_x >= 0.0 ) + vAngle.m_y += 180.0f; + + return vAngle; + } + + auto VectorTransform( const Vector3& vIn1 , matrix3x4_t& vIn2 , Vector3& vOut ) -> void + { + vOut.m_x = vIn1.m_x * vIn2[0][0] + vIn1.m_y * vIn2[0][1] + vIn1.m_z * vIn2[0][2] + vIn2[0][3]; + vOut.m_y = vIn1.m_x * vIn2[1][0] + vIn1.m_y * vIn2[1][1] + vIn1.m_z * vIn2[1][2] + vIn2[1][3]; + vOut.m_z = vIn1.m_x * vIn2[2][0] + vIn1.m_y * vIn2[2][1] + vIn1.m_z * vIn2[2][2] + vIn2[2][3]; + } + + auto AngleVectors( const QAngle& QAngle , Vector3& vForward ) -> void + { + vec_t sp , sy , cp , cy; + + sp = sinf( DEG2RAD( QAngle[0] ) ); + cp = cosf( DEG2RAD( QAngle[0] ) ); + + sy = sinf( DEG2RAD( QAngle[1] ) ); + cy = cosf( DEG2RAD( QAngle[1] ) ); + + vForward.m_x = cp * cy; + vForward.m_y = cp * sy; + vForward.m_z = -sp; + } + + auto AngleVectors( const QAngle& QAngle , Vector3& vForward , Vector3& vRight , Vector3& vUp ) -> void + { + vec_t sr , sp , sy , cr , cp , cy; + + sp = sinf( DEG2RAD( QAngle[0] ) ); + cp = cosf( DEG2RAD( QAngle[0] ) ); + + sy = sinf( DEG2RAD( QAngle[1] ) ); + cy = cosf( DEG2RAD( QAngle[1] ) ); + + sr = sinf( DEG2RAD( QAngle[2] ) ); + cr = cosf( DEG2RAD( QAngle[2] ) ); + + vForward.m_x = ( cp * cy ); + vForward.m_y = ( cp * sy ); + vForward.m_z = ( -sp ); + + vRight.m_x = ( -1 * sr * sp * cy + -1 * cr * -sy ); + vRight.m_y = ( -1 * sr * sp * sy + -1 * cr * cy ); + vRight.m_z = ( -1 * sr * cp ); + + vUp.m_x = ( cr * sp * cy + -sr * -sy ); + vUp.m_y = ( cr * sp * sy + -sr * cy ); + vUp.m_z = ( cr * cp ); + } + + auto VectorAngles( const Vector3& vForward , QAngle& QAngle ) -> void + { + float tmp , yaw , pitch; + + if ( vForward[1] == 0.f && vForward[0] == 0.f ) + { + yaw = 0.f; + + if ( vForward[2] > 0 ) + pitch = 270.f; + else + pitch = 90.f; + } + else + { + yaw = ( atan2f( vForward[1] , vForward[0] ) * 180.f / M_PI_F ); + + if ( yaw < 0 ) + yaw += 360.f; + + tmp = sqrtf( vForward[0] * vForward[0] + vForward[1] * vForward[1] ); + pitch = ( atan2f( -vForward[2] , tmp ) * 180.f / M_PI_F ); + + if ( pitch < 0 ) + pitch += 360.f; + } + + QAngle[0] = pitch; + QAngle[1] = yaw; + QAngle[2] = 0; + } + + auto SmoothAngles( QAngle QViewAngles , QAngle QAimAngles , QAngle& QOutAngles , float Smoothing ) -> void + { + if ( Smoothing < 1.f ) + Smoothing = 1.f; + + QAngle qDiffAngles = QAimAngles - QViewAngles; + + NormalizeAngles( qDiffAngles ); + ClampAngles( qDiffAngles ); + + QOutAngles = qDiffAngles / Smoothing + QViewAngles; + + NormalizeAngles( QOutAngles ); + ClampAngles( QOutAngles ); + } + + auto RotateTriangle( std::array& points , float rotation ) -> void + { + const auto points_center = ( points.at( 0 ) + points.at( 1 ) + points.at( 2 ) ) / 3; + + for ( auto& point : points ) + { + point -= points_center; + + const auto temp_x = point.m_x; + const auto temp_y = point.m_y; + + const auto theta = DEG2RAD( rotation ); + const auto c = cosf( theta ); + const auto s = sinf( theta ); + + point.m_x = temp_x * c - temp_y * s; + point.m_y = temp_x * s + temp_y * c; + + point += points_center; + } + } + + auto CalculateCameraPosition( Vector3 anchorPos , float distance , QAngle viewAngles ) -> Vector3 + { + float yaw = DEG2RAD( viewAngles.m_y ); + float pitch = DEG2RAD( viewAngles.m_x ); + + float x = anchorPos.m_x + distance * cosf( yaw ) * cosf( pitch ); + float y = anchorPos.m_y + distance * sinf( yaw ) * cosf( pitch ); + float z = anchorPos.m_z + distance * sinf( pitch ); + + return { x, y, z }; + } + + auto AnglesToPixels( QAngle SourceAngles , QAngle FinalAngles , float Sensitivity , float Pitch , float Yaw ) -> Vector3 + { + QAngle delta = SourceAngles - FinalAngles; + + delta.Normalize(); + + float xMove = ( -delta.m_x ) / ( Yaw * Sensitivity ); + float yMove = ( delta.m_y ) / ( Pitch * Sensitivity ); + + return Vector3( yMove , xMove , 0.0f ); + } + + auto PixelsDeltaToAnglesDelta( Vector3 PixelsDelta , float Sensitivity , float Pitch , float Yaw ) -> QAngle + { + float xMove = ( -PixelsDelta.m_x ) * ( Yaw * Sensitivity ); + float yMove = ( PixelsDelta.m_y ) * ( Pitch * Sensitivity ); + + return QAngle( yMove , xMove , 0.0f ); + } +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.hpp new file mode 100644 index 0000000..e465f29 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Math.hpp @@ -0,0 +1,52 @@ +#pragma once + +#include +#include + +#include + +#include "Matrix.hpp" +#include "Vector2.hpp" +#include "Vector3.hpp" +#include "QAngle.hpp" + +typedef float vec_t; + +#define X_INDEX 0 +#define Y_INDEX 1 +#define Z_INDEX 2 + +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + +#define M_PI_F ((float)(M_PI)) + +#ifndef RAD2DEG +#define RAD2DEG( x ) ( (float)(x) * (float)(180.f / M_PI_F) ) +#endif + +#ifndef DEG2RAD +#define DEG2RAD( x ) ( (float)(x) * (float)(M_PI_F / 180.f) ) +#endif + +namespace Math +{ + auto WorldToScreen( const Vector3& vIn , ImVec2& vOut ) -> bool; + auto WorldToScreen( const Vector3& vIn , Vector2& vOut ) -> bool; + auto WorldToScreen( const Vector3& vIn , Vector3& vOut ) -> bool; + + auto AngleNormalize( float angle ) -> float; + auto NormalizeAngles( QAngle& QAngle ) -> void; + auto ClampAngles( QAngle& QAngle ) -> void; + auto CalcAngle( const Vector3& src , const Vector3& dst ) -> QAngle; + auto VectorTransform( const Vector3& vIn1 , matrix3x4_t& vIn2 , Vector3& vOut ) -> void; + auto AngleVectors( const QAngle& QAngle , Vector3& vForward ) -> void; + auto AngleVectors( const QAngle& QAngle , Vector3& vForward , Vector3& vRight , Vector3& vUp ) -> void; + auto VectorAngles( const Vector3& vForward , QAngle& QAngle ) -> void; + auto SmoothAngles( QAngle QViewAngles , QAngle QAimAngles , QAngle& QOutAngles , float Smoothing = 1.f ) -> void; + auto RotateTriangle( std::array& points , float rotation ) -> void; + auto CalculateCameraPosition( Vector3 anchorPos , float distance , QAngle viewAngles ) -> Vector3; + auto AnglesToPixels( QAngle SourceAngles , QAngle FinalAngles , float Sensitivity , float Pitch , float Yaw ) -> Vector3; + auto PixelsDeltaToAnglesDelta( Vector3 PixelsDelta , float Sensitivity , float Pitch , float Yaw ) -> QAngle; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.cpp new file mode 100644 index 0000000..34c1bd9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.cpp @@ -0,0 +1,95 @@ +#include "Matrix.hpp" +#include "QAngle.hpp" +#include "Vector3.hpp" + +#include + +auto matrix3x4_t::At( unsigned int index ) -> float* +{ + return m_data[index]; +} + +auto matrix3x4_t::At( unsigned int index ) const -> const float* +{ + return m_data[index]; +} + +auto matrix3x4_t::operator [] ( unsigned int index ) -> float* +{ + return At( index ); +} + +auto matrix3x4_t::operator [] ( unsigned int index ) const -> const float* +{ + return At( index ); +} + +auto VMatrix::At( unsigned int index ) -> float* +{ + return m_data[index]; +} + +auto VMatrix::At( unsigned int index ) const -> const float* +{ + return m_data[index]; +} + +auto VMatrix::Reset()-> void +{ + memset( &m_data[0][0] , 0 , sizeof( m_data ) ); +} + +auto VMatrix::operator [] ( unsigned int index ) -> float* +{ + return At( index ); +} + +auto VMatrix::operator [] ( unsigned int index ) const -> const float* +{ + return At( index ); +} + +typedef float VMatrixRaw_t[4]; + +void MatrixCopy( const VMatrix& src , VMatrix& dst ) +{ + if ( &src != &dst ) + memcpy( dst.m_data , src.m_data , 16 * sizeof( float ) ); +} + +void MatrixMultiply( const VMatrix& src1 , const VMatrix& src2 , VMatrix& dst ) +{ + // Make sure it works if src1 == dst or src2 == dst + VMatrix tmp1 , tmp2; + const VMatrixRaw_t* s1 = ( &src1 == &dst ) ? tmp1.m_data : src1.m_data; + const VMatrixRaw_t* s2 = ( &src2 == &dst ) ? tmp2.m_data : src2.m_data; + + if ( &src1 == &dst ) + { + MatrixCopy( src1 , tmp1 ); + } + if ( &src2 == &dst ) + { + MatrixCopy( src2 , tmp2 ); + } + + dst[0][0] = s1[0][0] * s2[0][0] + s1[0][1] * s2[1][0] + s1[0][2] * s2[2][0] + s1[0][3] * s2[3][0]; + dst[0][1] = s1[0][0] * s2[0][1] + s1[0][1] * s2[1][1] + s1[0][2] * s2[2][1] + s1[0][3] * s2[3][1]; + dst[0][2] = s1[0][0] * s2[0][2] + s1[0][1] * s2[1][2] + s1[0][2] * s2[2][2] + s1[0][3] * s2[3][2]; + dst[0][3] = s1[0][0] * s2[0][3] + s1[0][1] * s2[1][3] + s1[0][2] * s2[2][3] + s1[0][3] * s2[3][3]; + + dst[1][0] = s1[1][0] * s2[0][0] + s1[1][1] * s2[1][0] + s1[1][2] * s2[2][0] + s1[1][3] * s2[3][0]; + dst[1][1] = s1[1][0] * s2[0][1] + s1[1][1] * s2[1][1] + s1[1][2] * s2[2][1] + s1[1][3] * s2[3][1]; + dst[1][2] = s1[1][0] * s2[0][2] + s1[1][1] * s2[1][2] + s1[1][2] * s2[2][2] + s1[1][3] * s2[3][2]; + dst[1][3] = s1[1][0] * s2[0][3] + s1[1][1] * s2[1][3] + s1[1][2] * s2[2][3] + s1[1][3] * s2[3][3]; + + dst[2][0] = s1[2][0] * s2[0][0] + s1[2][1] * s2[1][0] + s1[2][2] * s2[2][0] + s1[2][3] * s2[3][0]; + dst[2][1] = s1[2][0] * s2[0][1] + s1[2][1] * s2[1][1] + s1[2][2] * s2[2][1] + s1[2][3] * s2[3][1]; + dst[2][2] = s1[2][0] * s2[0][2] + s1[2][1] * s2[1][2] + s1[2][2] * s2[2][2] + s1[2][3] * s2[3][2]; + dst[2][3] = s1[2][0] * s2[0][3] + s1[2][1] * s2[1][3] + s1[2][2] * s2[2][3] + s1[2][3] * s2[3][3]; + + dst[3][0] = s1[3][0] * s2[0][0] + s1[3][1] * s2[1][0] + s1[3][2] * s2[2][0] + s1[3][3] * s2[3][0]; + dst[3][1] = s1[3][0] * s2[0][1] + s1[3][1] * s2[1][1] + s1[3][2] * s2[2][1] + s1[3][3] * s2[3][1]; + dst[3][2] = s1[3][0] * s2[0][2] + s1[3][1] * s2[1][2] + s1[3][2] * s2[2][2] + s1[3][3] * s2[3][2]; + dst[3][3] = s1[3][0] * s2[0][3] + s1[3][1] * s2[1][3] + s1[3][2] * s2[2][3] + s1[3][3] * s2[3][3]; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.hpp new file mode 100644 index 0000000..db2a38a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Matrix.hpp @@ -0,0 +1,75 @@ +#pragma once + +struct matrix3x4_t +{ +public: + auto At( unsigned int index ) -> float*; + auto At( unsigned int index ) const -> const float*; + +public: + auto operator [] ( unsigned int index ) -> float*; + auto operator [] ( unsigned int index ) const -> const float*; + +private: + float m_data[3][4] = { }; +}; + +class VMatrix +{ +public: + VMatrix() = default; + + auto At( unsigned int index ) -> float*; + auto At( unsigned int index ) const -> const float*; + auto Reset() -> void; + + inline void Init( + float m00 , float m01 , float m02 , float m03 , + float m10 , float m11 , float m12 , float m13 , + float m20 , float m21 , float m22 , float m23 , + float m30 , float m31 , float m32 , float m33 + ) + { + m_data[0][0] = m00; + m_data[0][1] = m01; + m_data[0][2] = m02; + m_data[0][3] = m03; + + m_data[1][0] = m10; + m_data[1][1] = m11; + m_data[1][2] = m12; + m_data[1][3] = m13; + + m_data[2][0] = m20; + m_data[2][1] = m21; + m_data[2][2] = m22; + m_data[2][3] = m23; + + m_data[3][0] = m30; + m_data[3][1] = m31; + m_data[3][2] = m32; + m_data[3][3] = m33; + } + + inline VMatrix( + float m00 , float m01 , float m02 , float m03 , + float m10 , float m11 , float m12 , float m13 , + float m20 , float m21 , float m22 , float m23 , + float m30 , float m31 , float m32 , float m33 ) + { + Init( + m00 , m01 , m02 , m03 , + m10 , m11 , m12 , m13 , + m20 , m21 , m22 , m23 , + m30 , m31 , m32 , m33 + ); + } + +public: + auto operator [] ( unsigned int index ) -> float*; + auto operator [] ( unsigned int index ) const -> const float*; + + float m_data[4][4] = { }; +}; + +void MatrixMultiply( const VMatrix& src1 , const VMatrix& src2 , VMatrix& dst ); diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.cpp new file mode 100644 index 0000000..d92fe51 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.cpp @@ -0,0 +1,292 @@ +#include "Matrix.hpp" +#include "QAngle.hpp" +#include "Vector3.hpp" +#include "Math.hpp" + +#include +#include + +QAngle::QAngle( const float* angles ) + : m_x( angles[0] ) + , m_y( angles[1] ) + , m_z( angles[2] ) +{ +} + +auto QAngle::Init( float x /* = 0.f */ , float y /* = 0.f */ , float z /* = 0.f */ ) -> void +{ + m_x = x; + m_y = y; + m_z = z; +} + +auto QAngle::ToArray() -> float* +{ + return reinterpret_cast( this ); +} + +auto QAngle::ToArray() const -> const float* +{ + return reinterpret_cast( this ); +} + +auto QAngle::At( unsigned int index ) -> float& +{ + auto data = ToArray(); + return data[index]; +} + +auto QAngle::At( unsigned int index ) const -> const float +{ + auto data = ToArray(); + return data[index]; +} + +auto QAngle::IsEqual( const QAngle& angles ) const -> bool +{ + return ( m_x == angles[0] && + m_y == angles[1] && + m_z == angles[2] ); +} + +auto QAngle::IsZero() const -> bool +{ + return IsEqual( QAngle::Zero ); +} + +auto QAngle::Negate() -> void +{ + m_x = -m_x; + m_y = -m_y; + m_z = -m_z; +} + +auto QAngle::Dot( const QAngle& angles ) const -> float +{ + return ( m_x * angles[0] + + m_y * angles[1] + + m_z * angles[2] ); +} + +auto QAngle::LengthSquared() const -> float +{ + return Dot( *this ); +} + +auto QAngle::Length() const -> float +{ + return std::sqrt( LengthSquared() ); +} + +auto QAngle::Add( const QAngle& angles ) -> void +{ + m_x += angles[0]; + m_y += angles[1]; + m_z += angles[2]; +} + +auto QAngle::Subtract( const QAngle& angles ) -> void +{ + m_x -= angles[0]; + m_y -= angles[1]; + m_z -= angles[2]; +} + +auto QAngle::Multiply( const QAngle& angles ) -> void +{ + m_x *= angles[0]; + m_y *= angles[1]; + m_z *= angles[2]; +} + +auto QAngle::Divide( const QAngle& angles ) -> void +{ + m_x /= angles[0]; + m_y /= angles[1]; + m_z /= angles[2]; +} + +auto QAngle::Add( float value ) -> void +{ + m_x += value; + m_y += value; + m_z += value; +} + +auto QAngle::Subtract( float value ) -> void +{ + m_x -= value; + m_y -= value; + m_z -= value; +} + +auto QAngle::Multiply( float value ) -> void +{ + m_x *= value; + m_y *= value; + m_z *= value; +} + +auto QAngle::Divide( float value ) -> void +{ + m_x /= value; + m_y /= value; + m_z /= value; +} + +auto QAngle::DistanceSquared( const QAngle& angles ) const -> float +{ + auto data = *this; + data.Subtract( angles ); + return data.LengthSquared(); +} + +auto QAngle::Distance( const QAngle& angles ) const -> float +{ + auto data = *this; + data.Subtract( angles ); + return data.Length(); +} + +auto QAngle::Normalize() -> void +{ + Math::NormalizeAngles( *this ); +} + +auto QAngle::Clamp() -> void +{ + m_x = std::clamp( m_x , -89.f , 89.f ); + m_y = std::clamp( m_y , -180.f , 180.f ); + m_z = std::clamp( m_z , -50.f , 50.f ); +} + +auto QAngle::operator [] ( unsigned int index ) -> float& +{ + return At( index ); +} + +auto QAngle::operator [] ( unsigned int index ) const -> const float +{ + return At( index ); +} + +auto QAngle::operator == ( const QAngle& angles ) const -> bool +{ + return IsEqual( angles ); +} + +auto QAngle::operator != ( const QAngle& angles ) const -> bool +{ + return !IsEqual( angles ); +} + +auto QAngle::operator += ( const QAngle& angles ) -> QAngle& +{ + Add( angles ); + return *this; +} + +auto QAngle::operator -= ( const QAngle& angles ) -> QAngle& +{ + Subtract( angles ); + return *this; +} + +auto QAngle::operator *= ( const QAngle& angles ) -> QAngle& +{ + Multiply( angles ); + return *this; +} + +auto QAngle::operator /= ( const QAngle& angles ) -> QAngle& +{ + Divide( angles ); + return *this; +} + +auto QAngle::operator += ( float value ) -> QAngle& +{ + Add( value ); + return *this; +} + +auto QAngle::operator -= ( float value ) -> QAngle& +{ + Subtract( value ); + return *this; +} + +auto QAngle::operator *= ( float value ) -> QAngle& +{ + Multiply( value ); + return *this; +} + +auto QAngle::operator /= ( float value ) -> QAngle& +{ + Divide( value ); + return *this; +} + +auto QAngle::operator + ( const QAngle& angles ) const -> QAngle +{ + auto data = *this; + data.Add( angles ); + return data; +} + +auto QAngle::operator - ( const QAngle& angles ) const -> QAngle +{ + auto data = *this; + data.Subtract( angles ); + return data; +} + +auto QAngle::operator * ( const QAngle& angles ) const -> QAngle +{ + auto data = *this; + data.Multiply( angles ); + return data; +} + +auto QAngle::operator / ( const QAngle& angles ) const -> QAngle +{ + auto data = *this; + data.Divide( angles ); + return data; +} + +auto QAngle::operator + ( float value ) const -> QAngle +{ + auto data = *this; + data.Add( value ); + return data; +} + +auto QAngle::operator - ( float value ) const -> QAngle +{ + auto data = *this; + data.Subtract( value ); + return data; +} + +auto QAngle::operator * ( float value ) const -> QAngle +{ + auto data = *this; + data.Multiply( value ); + return data; +} + +auto QAngle::operator / ( float value ) const -> QAngle +{ + auto data = *this; + data.Divide( value ); + return data; +} + +std::string QAngle::__tostring() +{ + return std::string( "" ); +} + +QAngle QAngle::Zero = { 0.f, 0.f, 0.f }; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.hpp new file mode 100644 index 0000000..22ea841 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/QAngle.hpp @@ -0,0 +1,101 @@ +#pragma once + +#include + +class Vector3; + +class QAngle +{ +public: + constexpr QAngle() = default; + + constexpr QAngle( float x , float y , float z ) : + m_x( x ) , m_y( y ) , m_z( z ) + { + } + + constexpr QAngle( const QAngle& angles ) = default; + constexpr QAngle( QAngle&& ) = default; + + constexpr QAngle& operator=( const QAngle& angles ) = default; + constexpr QAngle& operator=( QAngle&& ) = default; + + QAngle( const float* angles ); + + auto Init( float x = 0.f , float y = 0.f , float z = 0.f ) -> void; + + auto ToArray() -> float*; + auto ToArray() const -> const float*; + + auto At( unsigned int index ) -> float&; + auto At( unsigned int index ) const -> const float; + + auto IsEqual( const QAngle& angles ) const -> bool; + auto IsZero() const -> bool; + + auto Add( const QAngle& angles ) -> void; + auto Subtract( const QAngle& angles ) -> void; + auto Multiply( const QAngle& angles ) -> void; + auto Divide( const QAngle& angles ) -> void; + + auto Add( float value ) -> void; + auto Subtract( float value ) -> void; + auto Multiply( float value ) -> void; + auto Divide( float value ) -> void; + + auto Negate() -> void; + auto Dot( const QAngle& angles ) const -> float; + + auto LengthSquared() const -> float; + auto Length() const -> float; + + auto DistanceSquared( const QAngle& angles ) const -> float; + auto Distance( const QAngle& angles ) const -> float; + + auto Normalize() -> void; + auto Clamp() -> void; + +public: + + auto operator [] ( unsigned int index ) -> float&; + auto operator [] ( unsigned int index ) const -> const float; + + auto operator == ( const QAngle& angles ) const -> bool; + auto operator != ( const QAngle& angles ) const -> bool; + +public: + auto operator += ( const QAngle& angles )->QAngle&; + auto operator -= ( const QAngle& angles )->QAngle&; + auto operator *= ( const QAngle& angles )->QAngle&; + auto operator /= ( const QAngle& angles )->QAngle&; + + auto operator += ( float value )->QAngle&; + auto operator -= ( float value )->QAngle&; + auto operator *= ( float value )->QAngle&; + auto operator /= ( float value )->QAngle&; + + auto operator + ( const QAngle& angles ) const->QAngle; + auto operator - ( const QAngle& angles ) const->QAngle; + auto operator * ( const QAngle& angles ) const->QAngle; + auto operator / ( const QAngle& angles ) const->QAngle; + + auto operator + ( float value ) const->QAngle; + auto operator - ( float value ) const->QAngle; + auto operator * ( float value ) const->QAngle; + auto operator / ( float value ) const->QAngle; + + std::string __tostring(); + +public: + static QAngle Zero; + +public: + float m_x = 0.f; + float m_y = 0.f; + float m_z = 0.f; +}; + +inline auto operator * ( float value , const QAngle& angles ) -> QAngle +{ + return ( value * angles ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Rect_t.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Rect_t.hpp new file mode 100644 index 0000000..1f2e6a6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Rect_t.hpp @@ -0,0 +1,36 @@ +#pragma once + +#include "Vector2.hpp" + +struct Rect_t +{ +public: + inline auto Center() const -> Vector2 + { + return Vector2( x + w / 2.f , y + h / 2.f ); + } + +public: + inline auto GetMin() const -> Vector2 + { + return Vector2( x , y ); + } + +public: + inline auto GetMax() const -> Vector2 + { + return Vector2( x + w , y + h ); + } + +public: + inline auto GetSize() const -> Vector2 + { + return Vector2( w , h ); + } + +public: + float x = 0.f; + float y = 0.f; + float w = 0.f; + float h = 0.f; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector2.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector2.hpp new file mode 100644 index 0000000..4c2da36 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector2.hpp @@ -0,0 +1,262 @@ +#pragma once + +#include +#include + +class Vector2 +{ +public: + constexpr Vector2() = default; + + constexpr Vector2( float x , float y ) : + m_x( x ) , m_y( y ) + { + } + + constexpr Vector2( const Vector2& ) = default; + constexpr Vector2( Vector2&& ) = default; + constexpr Vector2& operator=( const Vector2& ) = default; + constexpr Vector2& operator=( Vector2&& ) = default; + + constexpr Vector2( const float* vector ) + : m_x( vector[0] ) + , m_y( vector[1] ) + { + } + + constexpr auto Init( float x /* = 0.f */ , float y /* = 0.f */ ) -> void + { + m_x = x; + m_y = y; + } + + constexpr auto ToArray() -> float* { return &m_x; } + constexpr auto ToArray() const -> const float* { return &m_x; } + + constexpr auto At( unsigned int index ) -> float& + { + auto data = ToArray(); + return data[index]; + } + + constexpr auto At( unsigned int index ) const -> const float + { + auto data = ToArray(); + return data[index]; + } + + constexpr auto IsEqual( const Vector2& vector ) const -> bool { return ( m_x == vector.m_x && m_y == vector.m_y ); } + + constexpr auto Add( const Vector2& vector ) -> void + { + m_x += vector[0]; + m_y += vector[1]; + } + + constexpr auto Subtract( const Vector2& vector ) -> void + { + m_x -= vector[0]; + m_y -= vector[1]; + } + + constexpr auto Multiply( const Vector2& vector ) -> void + { + m_x *= vector[0]; + m_y *= vector[1]; + } + + constexpr auto Divide( const Vector2& vector ) -> void + { + m_x /= vector[0]; + m_y /= vector[1]; + } + + constexpr auto Add( float value ) -> void + { + m_x += value; + m_y += value; + } + + constexpr auto Subtract( float value ) -> void + { + m_x -= value; + m_y -= value; + } + + constexpr auto Multiply( float value ) -> void + { + m_x *= value; + m_y *= value; + } + + constexpr auto Divide( float value ) -> void + { + m_x /= value; + m_y /= value; + } + + constexpr auto Negate() -> void + { + m_x = -m_x; + m_y = -m_y; + } + + constexpr auto IsZero() const -> bool { return IsEqual( Vector2{} ); } + + constexpr auto operator[]( unsigned int index ) -> float& { return At( index ); } + + constexpr auto operator[]( unsigned int index ) const -> const float { return At( index ); } + + constexpr auto operator==( const Vector2& vector ) const -> bool { return IsEqual( vector ); } + + constexpr auto operator!=( const Vector2& vector ) const -> bool { return !IsEqual( vector ); } + + constexpr auto operator+=( const Vector2& vector ) -> Vector2& + { + Add( vector ); + return *this; + } + + constexpr auto operator-=( const Vector2& vector ) -> Vector2& + { + Subtract( vector ); + return *this; + } + + constexpr auto operator*=( const Vector2& vector ) -> Vector2& + { + Multiply( vector ); + return *this; + } + + constexpr auto operator/=( const Vector2& vector ) -> Vector2& + { + Divide( vector ); + return *this; + } + + constexpr auto operator+=( float value ) -> Vector2& + { + Add( value ); + return *this; + } + + constexpr auto operator-=( float value ) -> Vector2& + { + Subtract( value ); + return *this; + } + + constexpr auto operator*=( float value ) -> Vector2& + { + Multiply( value ); + return *this; + } + + constexpr auto operator/=( float value ) -> Vector2& + { + Divide( value ); + return *this; + } + + constexpr auto operator+( const Vector2& vector ) const -> Vector2 + { + auto data = *this; + data.Add( vector ); + return data; + } + + constexpr auto operator-( const Vector2& vector ) const -> Vector2 + { + auto data = *this; + data.Subtract( vector ); + return data; + } + + constexpr auto operator*( const Vector2& vector ) const -> Vector2 + { + auto data = *this; + data.Multiply( vector ); + return data; + } + + constexpr auto operator/( const Vector2& vector ) const -> Vector2 + { + auto data = *this; + data.Divide( vector ); + return data; + } + + constexpr auto operator+( float value ) const -> Vector2 + { + auto data = *this; + data.Add( value ); + return data; + } + + constexpr auto operator-( float value ) const -> Vector2 + { + auto data = *this; + data.Subtract( value ); + return data; + } + + constexpr auto operator*( float value ) const -> Vector2 + { + auto data = *this; + data.Multiply( value ); + return data; + } + + constexpr auto operator/( float value ) const -> Vector2 + { + auto data = *this; + data.Divide( value ); + return data; + } + + constexpr auto Dot( const Vector2& vector ) const -> float { return ( m_x * vector[0] + m_y * vector[1] ); } + + constexpr auto LengthSquared() const -> float { return Dot( *this ); } + + constexpr auto DistanceSquared( const Vector2& vector ) const -> float + { + auto data = *this; + data.Subtract( vector ); + return data.LengthSquared(); + } + + inline auto Length() const -> float { return std::sqrt( LengthSquared() ); } + + inline auto Distance( const Vector2& vector ) const -> float + { + auto data = *this; + data.Subtract( vector ); + return data.Length(); + } + + inline auto Normalize() -> float + { + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + + return length; + } + + inline auto NormalizeFast() -> void + { + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + } + + float m_x = 0.f; + float m_y = 0.f; +}; + +inline auto operator*( float value , const Vector2& vector ) -> Vector2 { return ( value * vector ); } diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.cpp new file mode 100644 index 0000000..5f2f645 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.cpp @@ -0,0 +1,364 @@ +#include "Matrix.hpp" +#include "QAngle.hpp" +#include "Vector3.hpp" +#include "Vector4.hpp" + +#include + +Vector3::Vector3( const float* vector ) + : m_x( vector[0] ) + , m_y( vector[1] ) + , m_z( vector[2] ) +{ +} + +auto Vector3::Init( float x /* = 0.f */ , float y /* = 0.f */ , float z /* = 0.f */ ) -> void +{ + m_x = x; + m_y = y; + m_z = z; +} + +auto Vector3::ToArray() -> float* +{ + return reinterpret_cast( this ); +} + +auto Vector3::ToArray() const -> const float* +{ + return reinterpret_cast( this ); +} + +auto Vector3::At( unsigned int index ) -> float& +{ + auto data = ToArray(); + return data[index]; +} + +auto Vector3::At( unsigned int index ) const -> const float +{ + auto data = ToArray(); + return data[index]; +} + +auto Vector3::IsEqual( const Vector3& vector ) const -> bool +{ + return ( m_x == vector[0] && + m_y == vector[1] && + m_z == vector[2] ); +} + +auto Vector3::Dot( const Vector3& vector ) const -> float +{ + return ( m_x * vector[0] + + m_y * vector[1] + + m_z * vector[2] ); +} + +auto Vector3::Dot2D( const Vector3& vector ) const -> float +{ + return ( m_x * vector[0] + + m_y * vector[1] ); +} + +auto Vector3::LengthSquared() const -> float +{ + return Dot( *this ); +} + +auto Vector3::Length() const -> float +{ + return std::sqrt( LengthSquared() ); +} + +auto Vector3::Length2DSquared() const -> float +{ + return ( m_x * m_x + + m_y * m_y ); +} + +auto Vector3::Length2D() const -> float +{ + return std::sqrt( Length2DSquared() ); +} + +auto Vector3::Add( const Vector3& vector ) -> void +{ + m_x += vector[0]; + m_y += vector[1]; + m_z += vector[2]; +} + +auto Vector3::Subtract( const Vector3& vector ) -> void +{ + m_x -= vector[0]; + m_y -= vector[1]; + m_z -= vector[2]; +} + +auto Vector3::Multiply( const Vector3& vector ) -> void +{ + m_x *= vector[0]; + m_y *= vector[1]; + m_z *= vector[2]; +} + +auto Vector3::Divide( const Vector3& vector ) -> void +{ + m_x /= vector[0]; + m_y /= vector[1]; + m_z /= vector[2]; +} + +auto Vector3::Addf( float value ) -> void +{ + m_x += value; + m_y += value; + m_z += value; +} + +auto Vector3::Subtractf( float value ) -> void +{ + m_x -= value; + m_y -= value; + m_z -= value; +} + +auto Vector3::Multiplyf( float value ) -> void +{ + m_x *= value; + m_y *= value; + m_z *= value; +} + +auto Vector3::Dividef( float value ) -> void +{ + m_x /= value; + m_y /= value; + m_z /= value; +} + +auto Vector3::DistanceSquared( const Vector3& vector ) const -> float +{ + auto data = *this; + data.Subtract( vector ); + return data.LengthSquared(); +} + +auto Vector3::Distance( const Vector3& vector ) const -> float +{ + auto data = *this; + data.Subtract( vector ); + return data.Length(); +} + +auto Vector3::Distance2D( const Vector3& vector ) const -> float +{ + auto data = *this; + data.Subtract( vector ); + return data.Length2D(); +} + +auto Vector3::Normalize() -> float +{ + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + m_z *= length_normal; + + return length; +} + +auto Vector3::NormalizeFast() -> void +{ + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + m_z *= length_normal; +} + +auto Vector3::Normalized()->Vector3 +{ + auto inv_len = static_cast( 1.0 / sqrt( pow( this->m_x , 2 ) + pow( this->m_y , 2 ) + pow( this->m_z , 2 ) ) ); + return Vector3( this->m_x * inv_len , this->m_y * inv_len , this->m_z * inv_len ); +} + +auto Vector3::MoveForward( const QAngle& angle , int distance ) -> Vector3 +{ + Vector3 k = Vector3( cos( angle.m_y / 57.3f ) , sin( angle.m_y / 57.3f ) , 0 ); + k.Multiplyf( static_cast( distance ) ); + k += *this; + + return Vector3( k.m_x , k.m_y , this->m_z ); +} + +auto Vector3::Rotated( float rad ) -> Vector3 +{ + return Vector3( m_x * cos( rad ) - m_y * sin( rad ) , m_y * cos( rad ) + m_x * sin( rad ) , this->m_z ); +} + +auto Vector3::Transform( const matrix3x4_t& transform ) const -> Vector3 +{ + return { Dot( transform[0] ) + transform[0][3], + Dot( transform[1] ) + transform[1][3], + Dot( transform[2] ) + transform[2][3] }; +} + +auto Vector3::IsZero() const -> bool +{ + return IsEqual( Vector3::Zero ); +} + +auto Vector3::Cross( const Vector3& vector ) -> Vector3 +{ + return { m_y * vector[2] - m_z * vector[1], + m_z * vector[0] - m_x * vector[2], + m_x * vector[1] - m_y * vector[0] }; +} + +auto Vector3::ToVector4D( float w /*= 0.f*/ ) const -> Vector4 +{ + return { m_x, m_y, m_z, w }; +} + +auto Vector3::operator [] ( unsigned int index ) -> float& +{ + return At( index ); +} + +auto Vector3::operator [] ( unsigned int index ) const -> const float +{ + return At( index ); +} + +auto Vector3::operator == ( const Vector3& vector ) const -> bool +{ + return IsEqual( vector ); +} + +auto Vector3::operator != ( const Vector3& vector ) const -> bool +{ + return !IsEqual( vector ); +} + +auto Vector3::operator += ( const Vector3& vector ) -> Vector3& +{ + Add( vector ); + return *this; +} + +auto Vector3::operator -= ( const Vector3& vector ) -> Vector3& +{ + Subtract( vector ); + return *this; +} + +auto Vector3::operator *= ( const Vector3& vector ) -> Vector3& +{ + Multiply( vector ); + return *this; +} + +auto Vector3::operator /= ( const Vector3& vector ) -> Vector3& +{ + Divide( vector ); + return *this; +} + +auto Vector3::operator += ( float value ) -> Vector3& +{ + Addf( value ); + return *this; +} + +auto Vector3::operator -= ( float value ) -> Vector3& +{ + Subtractf( value ); + return *this; +} + +auto Vector3::operator *= ( float value ) -> Vector3& +{ + Multiplyf( value ); + return *this; +} + +auto Vector3::operator /= ( float value ) -> Vector3& +{ + Dividef( value ); + return *this; +} + +auto Vector3::operator + ( const Vector3& vector ) const -> Vector3 +{ + auto data = *this; + data.Add( vector ); + return data; +} + +auto Vector3::operator - ( const Vector3& vector ) const -> Vector3 +{ + auto data = *this; + data.Subtract( vector ); + return data; +} + +auto Vector3::operator * ( const Vector3& vector ) const -> Vector3 +{ + auto data = *this; + data.Multiply( vector ); + return data; +} + +auto Vector3::operator / ( const Vector3& vector ) const -> Vector3 +{ + auto data = *this; + data.Divide( vector ); + return data; +} + +auto Vector3::operator + ( float value ) const -> Vector3 +{ + auto data = *this; + data.Addf( value ); + return data; +} + +auto Vector3::operator - ( float value ) const -> Vector3 +{ + auto data = *this; + data.Subtractf( value ); + return data; +} + +auto Vector3::operator * ( float value ) const -> Vector3 +{ + auto data = *this; + data.Multiplyf( value ); + return data; +} + +auto Vector3::operator / ( float value ) const -> Vector3 +{ + auto data = *this; + data.Dividef( value ); + return data; +} + +std::string Vector3::__tostring() const +{ + return std::string( "" ); +} + +auto Vector3::IsInvalid() const -> bool +{ + return m_x == FLT_MAX + && m_y == FLT_MAX + && m_z == FLT_MAX; +} + +Vector3 Vector3::Zero = { 0.f, 0.f, 0.f }; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.hpp new file mode 100644 index 0000000..de39190 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector3.hpp @@ -0,0 +1,149 @@ +#pragma once + +#include + +struct matrix3x4_t; + +class QAngle; +class Vector4; + +class Vector3 +{ +public: + constexpr Vector3() = default; + + constexpr Vector3( float x , float y , float z ) : + m_x( x ) , m_y( y ) , m_z( z ) + { + } + + constexpr Vector3( const Vector3& vector ) = default; + constexpr Vector3( Vector3&& ) = default; + + constexpr Vector3& operator=( const Vector3& ) = default; + constexpr Vector3& operator=( Vector3&& ) = default; + + Vector3( const float* vector ); + + auto Init( float x = 0.f , float y = 0.f , float z = 0.f ) -> void; + + auto ToArray() -> float*; + auto ToArray() const -> const float*; + + auto At( unsigned int index ) -> float&; + auto At( unsigned int index ) const -> const float; + + auto IsEqual( const Vector3& vector ) const -> bool; + + auto Add( const Vector3& vector ) -> void; + auto Subtract( const Vector3& vector ) -> void; + auto Multiply( const Vector3& vector ) -> void; + auto Divide( const Vector3& vector ) -> void; + + auto Addf( float value ) -> void; + auto Subtractf( float value ) -> void; + auto Multiplyf( float value ) -> void; + auto Dividef( float value ) -> void; + + auto IsZero() const -> bool; + + auto Dot( const Vector3& vector ) const -> float; + auto Dot2D( const Vector3& vector ) const -> float; + + auto LengthSquared() const -> float; + auto Length() const -> float; + + auto Length2DSquared() const -> float; + auto Length2D() const -> float; + + auto DistanceSquared( const Vector3& vector ) const -> float; + auto Distance( const Vector3& vector ) const -> float; + auto Distance2D( const Vector3& vector ) const -> float; + + auto Normalize() -> float; + auto NormalizeFast() -> void; + auto Normalized() -> Vector3; + + auto MoveForward( const QAngle& angle , int distance ) -> Vector3; + + auto Rotated( float rad ) -> Vector3; + + auto Transform( const matrix3x4_t& transform ) const->Vector3; + auto Cross( const Vector3& vector ) -> Vector3; + + auto ToVector4D( float w = 0.f ) const->Vector4; + + auto IsInvalid() const -> bool; + +public: + //auto operator = ( const Vector3& vector )->Vector3&; + + auto operator [] ( unsigned int index ) -> float&; + auto operator [] ( unsigned int index ) const -> const float; + + auto operator == ( const Vector3& vector ) const -> bool; + auto operator != ( const Vector3& vector ) const -> bool; + +public: + auto operator += ( const Vector3& vector )->Vector3&; + auto operator -= ( const Vector3& vector )->Vector3&; + auto operator *= ( const Vector3& vector )->Vector3&; + auto operator /= ( const Vector3& vector )->Vector3&; + + auto operator += ( float value )->Vector3&; + auto operator -= ( float value )->Vector3&; + auto operator *= ( float value )->Vector3&; + auto operator /= ( float value )->Vector3&; + + auto operator + ( const Vector3& vector ) const->Vector3; + auto operator - ( const Vector3& vector ) const->Vector3; + auto operator * ( const Vector3& vector ) const->Vector3; + auto operator / ( const Vector3& vector ) const->Vector3; + + auto operator + ( float value ) const->Vector3; + auto operator - ( float value ) const->Vector3; + auto operator * ( float value ) const->Vector3; + auto operator / ( float value ) const->Vector3; + + std::string __tostring() const; + +public: + static Vector3 Zero; + +public: + float m_x = 0.f; + float m_y = 0.f; + float m_z = 0.f; +}; + +#pragma pack(push, 16) + +class Vector3Aligned : public Vector3 +{ +public: + inline Vector3Aligned() = default; + inline Vector3Aligned( float X , float Y , float Z ) + { + Init( X , Y , Z ); + } + + explicit Vector3Aligned( const Vector3& vOther ) + { + Init( vOther.m_x , vOther.m_y , vOther.m_z ); + } + + Vector3Aligned& operator=( const Vector3& vOther ) + { + Init( vOther.m_x , vOther.m_y , vOther.m_z ); + return *this; + } + + void Clear() + { + this->m_x = this->m_y = this->m_z = this->m_w = 0.f; + } + + float m_w = 0.f; // this space is used anyway +}; + +#pragma pack(pop) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.cpp new file mode 100644 index 0000000..86d97bd --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.cpp @@ -0,0 +1,327 @@ +#include "Matrix.hpp" +#include "Vector4.hpp" + +#include + +Vector4::Vector4() + : m_x( 0.f ) + , m_y( 0.f ) + , m_z( 0.f ) + , m_w( 0.f ) +{ +} + +Vector4::Vector4( float x , float y , float z , float w ) + : m_x( x ) + , m_y( y ) + , m_z( z ) + , m_w( w ) +{ +} + +Vector4::Vector4( const Vector4& vector ) + : m_x( vector[0] ) + , m_y( vector[1] ) + , m_z( vector[2] ) + , m_w( vector[3] ) +{ +} + +Vector4::Vector4( const float* vector ) + : m_x( vector[0] ) + , m_y( vector[1] ) + , m_z( vector[2] ) + , m_w( vector[3] ) +{ +} + +auto Vector4::Init( float x /* = 0.f */ , float y /* = 0.f */ , float z /* = 0.f */ , float w /*= 0.f*/ ) -> void +{ + m_x = x; + m_y = y; + m_z = z; + m_w = w; +} + +auto Vector4::ToArray() -> float* +{ + return reinterpret_cast( this ); +} + +auto Vector4::ToArray() const -> const float* +{ + return reinterpret_cast( this ); +} + +auto Vector4::At( unsigned int index ) -> float& +{ + auto data = ToArray(); + return data[index]; +} + +auto Vector4::At( unsigned int index ) const -> const float +{ + auto data = ToArray(); + return data[index]; +} + +auto Vector4::IsEqual( const Vector4& vector ) const -> bool +{ + return ( m_x == vector[0] && + m_y == vector[1] && + m_z == vector[2] && + m_w == vector[3] ); +} + +auto Vector4::Dot( const Vector4& vector ) const -> float +{ + return ( m_x * vector[0] + + m_y * vector[1] + + m_z * vector[2] + + m_w * vector[3] ); +} + +auto Vector4::LengthSquared() const -> float +{ + return Dot( *this ); +} + +auto Vector4::Length() const -> float +{ + return std::sqrt( LengthSquared() ); +} + +auto Vector4::Add( const Vector4& vector ) -> void +{ + m_x += vector[0]; + m_y += vector[1]; + m_z += vector[2]; + m_w += vector[3]; +} + +auto Vector4::Subtract( const Vector4& vector ) -> void +{ + m_x -= vector[0]; + m_y -= vector[1]; + m_z -= vector[2]; + m_w -= vector[3]; +} + +auto Vector4::Multiply( const Vector4& vector ) -> void +{ + m_x *= vector[0]; + m_y *= vector[1]; + m_z *= vector[2]; + m_w *= vector[3]; +} + +auto Vector4::Divide( const Vector4& vector ) -> void +{ + m_x /= vector[0]; + m_y /= vector[1]; + m_z /= vector[2]; + m_w /= vector[3]; +} + +auto Vector4::Add( float value ) -> void +{ + m_x += value; + m_y += value; + m_z += value; + m_w += value; +} + +auto Vector4::Subtract( float value ) -> void +{ + m_x -= value; + m_y -= value; + m_z -= value; + m_w -= value; +} + +auto Vector4::Multiply( float value ) -> void +{ + m_x *= value; + m_y *= value; + m_z *= value; + m_w *= value; +} + +auto Vector4::Divide( float value ) -> void +{ + m_x /= value; + m_y /= value; + m_z /= value; + m_w /= value; +} + +auto Vector4::DistanceSquared( const Vector4& vector ) const -> float +{ + auto data = *this; + data.Subtract( vector ); + return data.LengthSquared(); +} + +auto Vector4::Distance( const Vector4& vector ) const -> float +{ + auto data = *this; + data.Subtract( vector ); + return data.Length(); +} + +auto Vector4::Normalize() -> float +{ + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + m_z *= length_normal; + m_w *= length_normal; + + return length; +} + +auto Vector4::NormalizeFast() -> void +{ + auto length = Length(); + auto length_normal = 1.f / length; + + m_x *= length_normal; + m_y *= length_normal; + m_z *= length_normal; + m_w *= length_normal; +} + + +auto Vector4::operator = ( const Vector4& vector ) -> Vector4& +{ + Init( vector[0] , vector[1] , vector[2] , vector[3] ); + return *this; +} + +auto Vector4::operator [] ( unsigned int index ) -> float& +{ + return At( index ); +} + +auto Vector4::operator [] ( unsigned int index ) const -> const float +{ + return At( index ); +} + +auto Vector4::operator == ( const Vector4& vector ) const -> bool +{ + return IsEqual( vector ); +} + +auto Vector4::operator != ( const Vector4& vector ) const -> bool +{ + return !IsEqual( vector ); +} + +auto Vector4::operator += ( const Vector4& vector ) -> Vector4& +{ + Add( vector ); + return *this; +} + +auto Vector4::operator -= ( const Vector4& vector ) -> Vector4& +{ + Subtract( vector ); + return *this; +} + +auto Vector4::operator *= ( const Vector4& vector ) -> Vector4& +{ + Multiply( vector ); + return *this; +} + +auto Vector4::operator /= ( const Vector4& vector ) -> Vector4& +{ + Divide( vector ); + return *this; +} + +auto Vector4::operator += ( float value ) -> Vector4& +{ + Add( value ); + return *this; +} + +auto Vector4::operator -= ( float value ) -> Vector4& +{ + Subtract( value ); + return *this; +} + +auto Vector4::operator *= ( float value ) -> Vector4& +{ + Multiply( value ); + return *this; +} + +auto Vector4::operator /= ( float value ) -> Vector4& +{ + Divide( value ); + return *this; +} + +auto Vector4::operator + ( const Vector4& vector ) const -> Vector4 +{ + auto data = *this; + data.Add( vector ); + return data; +} + +auto Vector4::operator - ( const Vector4& vector ) const -> Vector4 +{ + auto data = *this; + data.Subtract( vector ); + return data; +} + +auto Vector4::operator * ( const Vector4& vector ) const -> Vector4 +{ + auto data = *this; + data.Multiply( vector ); + return data; +} + +auto Vector4::operator / ( const Vector4& vector ) const -> Vector4 +{ + auto data = *this; + data.Divide( vector ); + return data; +} + +auto Vector4::operator + ( float value ) const -> Vector4 +{ + auto data = *this; + data.Add( value ); + return data; +} + +auto Vector4::operator - ( float value ) const -> Vector4 +{ + auto data = *this; + data.Subtract( value ); + return data; +} + +auto Vector4::operator * ( float value ) const -> Vector4 +{ + auto data = *this; + data.Multiply( value ); + return data; +} + +auto Vector4::operator / ( float value ) const -> Vector4 +{ + auto data = *this; + data.Divide( value ); + return data; +} + +Vector4 Vector4::Zero = { 0.f, 0.f, 0.f, 0.f }; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.hpp new file mode 100644 index 0000000..fd94fa1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Math/Vector4.hpp @@ -0,0 +1,85 @@ +#pragma once + +class Vector4 +{ +public: + Vector4(); + Vector4( float x , float y , float z , float w ); + Vector4( const Vector4& vector ); + Vector4( const float* vector ); + + auto Init( float x = 0.f , float y = 0.f , float z = 0.f , float w = 0.f ) -> void; + + auto ToArray() -> float*; + auto ToArray() const -> const float*; + + auto At( unsigned int index ) -> float&; + auto At( unsigned int index ) const -> const float; + + auto IsEqual( const Vector4& vector ) const -> bool; + + auto Add( const Vector4& vector ) -> void; + auto Subtract( const Vector4& vector ) -> void; + auto Multiply( const Vector4& vector ) -> void; + auto Divide( const Vector4& vector ) -> void; + + auto Add( float value ) -> void; + auto Subtract( float value ) -> void; + auto Multiply( float value ) -> void; + auto Divide( float value ) -> void; + + auto Dot( const Vector4& vector ) const -> float; + + auto LengthSquared() const -> float; + auto Length() const -> float; + + auto DistanceSquared( const Vector4& vector ) const -> float; + auto Distance( const Vector4& vector ) const -> float; + + auto Normalize() -> float; + auto NormalizeFast() -> void; + +public: + auto operator = ( const Vector4& vector )->Vector4&; + + auto operator [] ( unsigned int index ) -> float&; + auto operator [] ( unsigned int index ) const -> const float; + + auto operator == ( const Vector4& vector ) const -> bool; + auto operator != ( const Vector4& vector ) const -> bool; + +public: + auto operator += ( const Vector4& vector )->Vector4&; + auto operator -= ( const Vector4& vector )->Vector4&; + auto operator *= ( const Vector4& vector )->Vector4&; + auto operator /= ( const Vector4& vector )->Vector4&; + + auto operator += ( float value )->Vector4&; + auto operator -= ( float value )->Vector4&; + auto operator *= ( float value )->Vector4&; + auto operator /= ( float value )->Vector4&; + + auto operator + ( const Vector4& vector ) const->Vector4; + auto operator - ( const Vector4& vector ) const->Vector4; + auto operator * ( const Vector4& vector ) const->Vector4; + auto operator / ( const Vector4& vector ) const->Vector4; + + auto operator + ( float value ) const->Vector4; + auto operator - ( float value ) const->Vector4; + auto operator * ( float value ) const->Vector4; + auto operator / ( float value ) const->Vector4; + +public: + static Vector4 Zero; + +private: + float m_x = 0.f; + float m_y = 0.f; + float m_z = 0.f; + float m_w = 0.f; +}; + +inline auto operator * ( float value , const Vector4& vector ) -> Vector4 +{ + return ( value * vector ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Network/CNetworkMessages.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Network/CNetworkMessages.hpp new file mode 100644 index 0000000..1dbcb19 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Network/CNetworkMessages.hpp @@ -0,0 +1,37 @@ +#pragma once + +#include +#include + +struct NetMessageInfo_t; +class CNetMessagePB; + +class CNetMessagePB : public google::protobuf::Message +{ +public: +}; + +class CNetworkSerializerPB +{ +public: + virtual ~CNetworkSerializerPB() = 0; + virtual const char* GetUnscopedName() = 0; + virtual NetMessageInfo_t* GetNetMessageInfo() = 0; + virtual void SetMessageID( unsigned int messageID ) = 0; + virtual void AddCategoryMask( unsigned int bitflag , bool applyToAnotherMember ) = 0; + virtual void SwitchMode( int networkValidationMode_t ) = 0; + virtual google::protobuf::Message* AllocateMessage() = 0; + virtual void DeallocateMessage( void* protobuff_msg ) = 0; + virtual void* AllocateAndCopyConstructNetMessage( google::protobuf::Message* ) = 0; + virtual bool Serialize( bf_write& buffer , void* InputProtobuffMessage , int NetworkSerializationMode_t ) = 0; + virtual bool UnSerialize( bf_read& buffer , void* OutputProtobuffMessage , int NetworkSerializationMode_t ) = 0; + + const char* unscopedName; + uint32_t categoryMask; + int unk; + CNetMessagePB* protobuffBinding; + const char* groupName; + short messageID; + uint8_t groupID; + uint8_t defaultBufferType; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp new file mode 100644 index 0000000..878b18a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.cpp @@ -0,0 +1,296 @@ +#include "SDK.hpp" + +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define INCLUDE_CS2_SEARCH_FUNCTION(Interface,FuncName)\ +if ( !##Interface##_Search::##FuncName##Fn.Search() )\ + bIsReady = false; + +namespace SDK +{ + IVEngineToClient* Interfaces::g_pEngineToClient = nullptr; + CGameEntitySystem* Interfaces::g_pGameEntitySystem = nullptr; + CSchemaSystem* Interfaces::g_pSchemaSystem = nullptr; + CSource2Client* Interfaces::g_pSource2Client = nullptr; + CLocalize* Interfaces::g_pLocalize = nullptr; + CSoundOpSystem* Interfaces::g_pSoundOpSystem = nullptr; + IBaseFileSystem* Interfaces::g_pBaseFileSystem = nullptr; + CMaterialSystem2* Interfaces::g_pMaterialSystem2 = nullptr; + IEngineCVar* Interfaces::g_pEngineCvar = nullptr; + CInputSystem* Interfaces::g_pInputSystem = nullptr; + + CGlobalVarsBase** Pointers::g_ppCGlobalVarsBase = nullptr; + IVPhysics2World** Pointers::g_ppIVPhysics2World = nullptr; + CUserCmd** Pointers::g_ppCUserCmd = nullptr; + + IVEngineToClient* Interfaces::EngineToClient() + { + if ( !g_pEngineToClient ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( ENGINE2_DLL ); + g_pEngineToClient = CaptureInterface( pfnFactory , XorStr( IVENGINE_TO_CLIENT_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( IVEngineToClient , IsInGame ); + INCLUDE_CS2_SEARCH_FUNCTION( IVEngineToClient , GetLevelName ); + INCLUDE_CS2_SEARCH_FUNCTION( IVEngineToClient , GetLevelNameShort ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pEngineToClient; + } + + CGameEntitySystem* Interfaces::GameEntitySystem() + { + if ( !g_pGameEntitySystem ) + { + /* + 00007FFBA0D9B6E | E8 817AEBFF | call client.7FFBA0C53170 | CGameEntitySystem->GetHighestEntityIndex + 00007FFBA0D9B6E | 8B08 | mov ecx,dword ptr ds:[rax] | + 00007FFBA0D9B6F | FFC1 | inc ecx | + 00007FFBA0D9B6F | 85C9 | test ecx,ecx | + 00007FFBA0D9B6F | 0F8E FC000000 | jle client.7FFBA0D9B7F7 | + 00007FFBA0D9B6F | 48:89BC24 40020000 | mov qword ptr ss:[rsp+0x240],rdi | + 00007FFBA0D9B70 | 0F1F40 00 | nop dword ptr ds:[rax],eax | + 00007FFBA0D9B70 | 66:0F1F8400 00000000 | nop word ptr ds:[rax+rax],ax | + 00007FFB90DBB71 | 48:8B0D 8968F500 | mov rcx,qword ptr ds:[0x7FFB91D11FA0] | ppCGameEntitySystem + 00007FFB90DBB71 | 8BD3 | mov edx,ebx | + 00007FFB90DBB71 | E8 E22FECFF | call client.7FFB90C7E700 | CGameEntitySystem->GetBaseEntity + 00007FFB90DBB71 | 48:8BF8 | mov rdi,rax | + 00007FFB90DBB72 | 48:85C0 | test rax,rax | + 00007FFB90DBB72 | 74 76 | je client.7FFB90DBB79C | + 00007FFB90DBB72 | C64424 30 00 | mov byte ptr ss:[rsp+0x30],0x0 | + 00007FFB90DBB72 | 48:8BC8 | mov rcx,rax | + 00007FFB90DBB72 | 48:8B10 | mov rdx,qword ptr ds:[rax] | + 00007FFB90DBB73 | FF92 20010000 | call qword ptr ds:[rdx+0x120] | + 00007FFB90DBB73 | 4C:8D05 6AAD9500 | lea r8,qword ptr ds:[0x7FFB917164A8] | 00007FFB917164A8:"'%s'" + 00007FFB90DBB73 | BA 00010000 | mov edx,0x100 | + 00007FFB90DBB74 | 48:8D8C24 30010000 | lea rcx,qword ptr ss:[rsp+0x130] | + 00007FFB90DBB74 | 4C:8B48 08 | mov r9,qword ptr ds:[rax+0x8] | + 00007FFB90DBB74 | FF15 7B2A9100 | call qword ptr ds:[] | + 00007FFB90DBB75 | 48:8B47 10 | mov rax,qword ptr ds:[rdi+0x10] | + 00007FFB90DBB75 | 48:8D15 20199200 | lea rdx,qword ptr ds:[0x7FFB916DD080] | + 00007FFB90DBB76 | 4C:8D8C24 30010000 | lea r9,qword ptr ss:[rsp+0x130] | + 00007FFB90DBB76 | 4C:8D4424 30 | lea r8,qword ptr ss:[rsp+0x30] | + 00007FFB90DBB76 | 48:8B48 18 | mov rcx,qword ptr ds:[rax+0x18] | + 00007FFB90DBB77 | 48:8D05 08199200 | lea rax,qword ptr ds:[0x7FFB916DD080] | + 00007FFB90DBB77 | 48:85C9 | test rcx,rcx | + 00007FFB90DBB77 | 48:0F45D1 | cmovne rdx,rcx | + 00007FFB90DBB77 | 48:8D0D 92E8A800 | lea rcx,qword ptr ds:[0x7FFB9184A018] | 00007FFB9184A018:"Ent %3d: %s class %s name %s\n" + */ + + auto ppGameEntitySystem = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? 8B D3 E8 ? ? ? ? 48 8B F0" ) ) ); + + if ( !ppGameEntitySystem ) + return nullptr; + +GetGameEntitySystemPointer:; + + g_pGameEntitySystem = *GetPtrAddress( ppGameEntitySystem ); + + if ( !g_pGameEntitySystem ) + { + Sleep( 500 ); + goto GetGameEntitySystemPointer; + } + } + + return g_pGameEntitySystem; + } + + CSchemaSystem* Interfaces::SchemaSystem() + { + if ( !g_pSchemaSystem ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( SCHEMASYSTEM_DLL ); + g_pSchemaSystem = CaptureInterface( pfnFactory , XorStr( SCHEMA_SYSTEM_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( CSchemaSystem , GetAllTypeScope ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pSchemaSystem; + } + + CSource2Client* Interfaces::Source2Client() + { + if ( !g_pSource2Client ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( CLIENT_DLL ); + g_pSource2Client = CaptureInterface( pfnFactory , XorStr( SOURCE2_CLIENT_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( CSource2Client , GetEconItemSystem ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pSource2Client; + } + + CLocalize* Interfaces::Localize() + { + if ( !g_pLocalize ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( LOCALIZE_DLL ); + g_pLocalize = CaptureInterface( pfnFactory , XorStr( LOCALIZE_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( CLocalize , FindSafe ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pLocalize; + } + + CSoundOpSystem* Interfaces::SoundOpSystem() + { + if ( !g_pSoundOpSystem ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( SOUNDSYSTEM_DLL ); + g_pSoundOpSystem = CaptureInterface( pfnFactory , XorStr( INTERFACE_SOUNDOPSYSTEM ) ); + } + + return g_pSoundOpSystem; + } + + IBaseFileSystem* Interfaces::BaseFileSystem() + { + if ( !g_pBaseFileSystem ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( FILESYSTEM_STDIO_DLL ); + g_pBaseFileSystem = CaptureInterface( pfnFactory , XorStr( FILE_SYSTEM_INTERFACE_VERSION ) ); + } + + return g_pBaseFileSystem; + } + + CMaterialSystem2* Interfaces::MaterialSystem2() + { + if ( !g_pMaterialSystem2 ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( MATERIALSYSTEM2_DLL ); + g_pMaterialSystem2 = CaptureInterface( pfnFactory , XorStr( MATERIAL_SYSTEM2_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( CMaterialSystem2 , CreateMaterial ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pMaterialSystem2; + } + + IEngineCVar* Interfaces::EngineCvar() + { + if ( !g_pEngineCvar ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( TIER0_DLL ); + g_pEngineCvar = CaptureInterface( pfnFactory , XorStr( ENGINE_CVAR_INTERFACE_VERSION ) ); + + bool bIsReady = true; + + INCLUDE_CS2_SEARCH_FUNCTION( IEngineCVar , GetFirstCvarIterator ); + INCLUDE_CS2_SEARCH_FUNCTION( IEngineCVar , GetNextCvarIterator ); + INCLUDE_CS2_SEARCH_FUNCTION( IEngineCVar , FindVarByIndex ); + + if ( !bIsReady ) + return nullptr; + } + + return g_pEngineCvar; + } + + CInputSystem* Interfaces::InputSystem() + { + if ( !g_pInputSystem ) + { + CreateInterfaceFn pfnFactory = CaptureFactory( INPUTSYSTEM_DLL ); + g_pInputSystem = CaptureInterface( pfnFactory , XorStr( INPUT_SYSTEM_INTERFACE_VERSION ) ); + } + + return g_pInputSystem; + } + + auto Pointers::GlobalVarsBase() -> CGlobalVarsBase* + { + if ( !g_ppCGlobalVarsBase ) + { + auto ppCGlobalVarsBase = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B ? ? ? ? ? 44 8B B7 08 01 00 00 8B 70 04 B8 FF FF 00 00 89 B7 08 01 00 00 66 01 87 FC 00 00 00" ) ) ); + + if ( !ppCGlobalVarsBase ) + return nullptr; + + g_ppCGlobalVarsBase = GetPtrAddress( ppCGlobalVarsBase ); + } + + return *g_ppCGlobalVarsBase; + } + + auto Pointers::CVPhys2World() -> IVPhysics2World** + { + if ( !g_ppIVPhysics2World ) + { + auto ppIVPhysics2World = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? 48 8D 45 ? 48 89 44 24 ? 4C 8D 4C 24 ? 48 8D 45 ? 4C 8D 44 24 ? 48 89 44 24 ? 48 8D 95 ? ? ? ? E8 ? ? ? ? F2 0F 10 45" ) ) ); + + if ( !ppIVPhysics2World ) + return nullptr; + + g_ppIVPhysics2World = *GetPtrAddress( ppIVPhysics2World ); + } + + return g_ppIVPhysics2World; + } + + // 48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 4C 8B F8 + /* + 00007FFC70ED89BC | mov rcx,qword ptr ds:[0x7FFC7228C710] | CUserCmd** + 00007FFC70ED89C3 | call client.7FFC70CF0BD0 | GetCUserCmdArray + 00007FFC70ED89C8 | mov rcx,rdi | + 00007FFC70ED89CB | mov r15,rax | + 00007FFC70ED89CE | mov r14d,dword ptr ds:[rax+0x59A8] | offset SequenceNumber + 00007FFC70ED89D5 | mov edx,r14d | + 00007FFC70ED89D8 | call client.7FFC70CF0960 | GetUserCmdBySequenceNumber + */ + auto Pointers::GetFirstCUserCmdArray() -> CUserCmd** + { + if ( !g_ppCUserCmd ) + { + auto ppCUserCmd = reinterpret_cast( FindPattern( CLIENT_DLL , XorStr( "48 8B 0D ? ? ? ? E8 ? ? ? ? 48 8B CF 4C 8B F8" ) ) ); + + if ( !ppCUserCmd ) + return nullptr; + + g_ppCUserCmd = *GetPtrAddress( ppCUserCmd ); + } + + return g_ppCUserCmd; + } +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.hpp new file mode 100644 index 0000000..8a34c7f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDK.hpp @@ -0,0 +1,82 @@ +#pragma once + +#include + +class IVEngineToClient; +class CInputStackSystem; +class CGameEntitySystem; +class CSchemaSystem; +class CSource2Client; +class CLocalize; +class CSoundOpSystem; +class IBaseFileSystem; +class CMaterialSystem2; +class CInputSystem; + +class CGlobalVarsBase; +class IVPhysics2World; +class IEngineCVar; +class CUserCmd; + +#define CLIENT_DLL "client.dll" +#define ENGINE2_DLL "engine2.dll" +#define INPUTSYSTEM_DLL "inputsystem.dll" +#define NAVSYSTEM_DLL "navsystem.dll" +#define GAMEOVERLAYRENDER64_DLL "gameoverlayrenderer64.dll" +#define SCHEMASYSTEM_DLL "schemasystem.dll" +#define LOCALIZE_DLL "localize.dll" +#define NETWORKSYSTEM_DLL "networksystem.dll" +#define SOUNDSYSTEM_DLL "soundsystem.dll" +#define FILESYSTEM_STDIO_DLL "filesystem_stdio.dll" +#define SCENESYSTEM_DLL "scenesystem.dll" +#define MATERIALSYSTEM2_DLL "materialsystem2.dll" +#define PARTICLES_DLL "particles.dll" +#define TIER0_DLL "tier0.dll" +#define DXGI_DLL "dxgi.dll" +#define ANIMATIONSYSTEM_DLL "animationsystem.dll" +#define V8_DLL "v8.dll" +#define PANORAMA_DLL "panorama.dll" +#define WORLDRENDERER_DLL "worldrenderer.dll" + +namespace SDK +{ + class Interfaces + { + public: + static IVEngineToClient* EngineToClient(); + static CGameEntitySystem* GameEntitySystem(); + static CSchemaSystem* SchemaSystem(); + static CSource2Client* Source2Client(); + static CLocalize* Localize(); + static CSoundOpSystem* SoundOpSystem(); + static IBaseFileSystem* BaseFileSystem(); + static CMaterialSystem2* MaterialSystem2(); + static IEngineCVar* EngineCvar(); + static CInputSystem* InputSystem(); + + private: + static IVEngineToClient* g_pEngineToClient; + static CGameEntitySystem* g_pGameEntitySystem; + static CSchemaSystem* g_pSchemaSystem; + static CSource2Client* g_pSource2Client; + static CLocalize* g_pLocalize; + static CSoundOpSystem* g_pSoundOpSystem; + static IBaseFileSystem* g_pBaseFileSystem; + static CMaterialSystem2* g_pMaterialSystem2; + static IEngineCVar* g_pEngineCvar; + static CInputSystem* g_pInputSystem; + }; + + class Pointers + { + public: + static auto GlobalVarsBase() -> CGlobalVarsBase*; + static auto CVPhys2World() -> IVPhysics2World**; + static auto GetFirstCUserCmdArray() -> CUserCmd**; + + private: + static CGlobalVarsBase** g_ppCGlobalVarsBase; + static IVPhysics2World** g_ppIVPhysics2World; + static CUserCmd** g_ppCUserCmd; + }; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.cpp new file mode 100644 index 0000000..a5526e7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.cpp @@ -0,0 +1,29 @@ +#include "SDL3_Functions.hpp" + +static CSDL3Functions g_CSDL3Functions{}; + +auto CSDL3Functions::OnInit() -> bool +{ + auto hSDL3Module = GetModuleHandleA( XorStr( "SDL3.dll" ) ); + + if ( !hSDL3Module ) + { + DEV_LOG( "[error] SDL3.dll Module\n" ); + return false; + } + + SDL_WarpMouseInWindow_o = (SDL_WarpMouseInWindow_t)GetProcAddress( hSDL3Module , XorStr( "SDL_WarpMouseInWindow" ) ); + + if ( !SDL_WarpMouseInWindow_o ) + { + DEV_LOG( "[error] SDL3 SDL_WarpMouseInWindow\n" ); + return false; + } + + return true; +} + +auto GetSDL3Functions() -> CSDL3Functions* +{ + return &g_CSDL3Functions; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.hpp new file mode 100644 index 0000000..cfbcc31 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/SDL3/SDL3_Functions.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include + +class CSDL3Functions final +{ +public: + auto OnInit() -> bool; + +public: + using SDL_WarpMouseInWindow_t = int( __stdcall* )( void* , float , float ); + +public: + SDL_WarpMouseInWindow_t SDL_WarpMouseInWindow_o = nullptr; +}; + +auto GetSDL3Functions() -> CSDL3Functions*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.cpp new file mode 100644 index 0000000..821d501 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.cpp @@ -0,0 +1,29 @@ +#include "TIER0_Functions.hpp" + +static CTIER0Functions g_CTIER0Functions{}; + +auto CTIER0Functions::OnInit() -> bool +{ + auto hTier0Module = GetModuleHandleA( XorStr( "tier0.dll" ) ); + + if ( !hTier0Module ) + { + DEV_LOG( "[error] tier0.dll Module\n" ); + return false; + } + + RandomFloat_o = (RandomFloat_t)GetProcAddress( hTier0Module , XorStr( "RandomFloat" ) ); + + if ( !RandomFloat_o ) + { + DEV_LOG( "[error] tier0 RandomFloat\n" ); + return false; + } + + return true; +} + +auto GetTIER0Functions() -> CTIER0Functions* +{ + return &g_CTIER0Functions; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.hpp new file mode 100644 index 0000000..e5963b6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/TIER0/TIER0_Functions.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include + +class CTIER0Functions final +{ +public: + auto OnInit() -> bool; + +public: + using RandomFloat_t = float( __fastcall* )( float , float ); + +public: + RandomFloat_t RandomFloat_o = nullptr; +}; + +auto GetTIER0Functions() -> CTIER0Functions*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CBaseTypes.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CBaseTypes.hpp new file mode 100644 index 0000000..50aa449 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CBaseTypes.hpp @@ -0,0 +1,210 @@ +#pragma once + +#include + +#if defined(__x86_64__) || defined(_WIN64) +#define X64BITS +#endif + +typedef unsigned char uint8; +typedef signed char int8; +typedef float float32; + +#if defined( _WIN32 ) + +typedef __int16 int16; +typedef unsigned __int16 uint16; +typedef __int32 int32; +typedef unsigned __int32 uint32; +typedef __int64 int64; +typedef unsigned __int64 uint64; + +typedef uint32 uint; +typedef int64 lint64; +typedef uint64 ulint64; + +#ifdef X64BITS +typedef __int64 intp; +typedef unsigned __int64 uintp; +#else +typedef __int32 intp; +typedef unsigned __int32 uintp; +#endif + +#else // _WIN32 + +#ifdef X64BITS +typedef long long intp; +typedef unsigned long long uintp; +#else +typedef int intp; +typedef unsigned int uintp; +#endif + +#endif + +struct bf_read; +struct bf_write; + +using HSequence = int; +using CEntityIndex = int; +using PlayerID_t = int; +using CGlobalSymbol = const char*; + +#define C_NetworkUtlVectorBase CUtlVector +#define C_UtlVectorEmbeddedNetworkVar CUtlVector +#define CNetworkViewOffsetVector Vector3 + +enum NetChannelBufType_t : uint8 +{ + BUF_DEFAULT = 0xFF, + BUF_UNRELIABLE = 0x0, + BUF_RELIABLE = 0x01, + BUF_VOICE = 0x02, +}; + +enum ObserverMode_t : uint32_t +{ + OBS_MODE_NONE = 0x0 , + OBS_MODE_FIXED = 0x1 , + OBS_MODE_IN_EYE = 0x2 , + OBS_MODE_CHASE = 0x3 , + OBS_MODE_ROAMING = 0x4 , + OBS_MODE_DIRECTED = 0x5 , + NUM_OBSERVER_MODES = 0x6 , +}; + +enum class CSWeaponType_t : int32_t +{ + WEAPONTYPE_KNIFE = 0 , + WEAPONTYPE_PISTOL = 1 , + WEAPONTYPE_SUBMACHINEGUN = 2 , + WEAPONTYPE_RIFLE = 3 , + WEAPONTYPE_SHOTGUN = 4 , + WEAPONTYPE_SNIPER_RIFLE = 5 , + WEAPONTYPE_MACHINEGUN = 6 , + WEAPONTYPE_C4 = 7 , + WEAPONTYPE_TASER = 8 , + WEAPONTYPE_GRENADE = 9 , + WEAPONTYPE_EQUIPMENT = 10 , + WEAPONTYPE_STACKABLEITEM = 11 , + WEAPONTYPE_FISTS = 12 , + WEAPONTYPE_BREACHCHARGE = 13 , + WEAPONTYPE_BUMPMINE = 14 , + WEAPONTYPE_TABLET = 15 , + WEAPONTYPE_MELEE = 16 , + WEAPONTYPE_SHIELD = 17 , + WEAPONTYPE_ZONE_REPULSOR = 18 , + WEAPONTYPE_UNKNOWN = 19 +}; + +enum TeamNum_t : int32_t +{ + TEAM_UNKNOWN , + TEAM_SPECTATOR , + TEAM_TT = 2 , + TEAM_CT = 3 , +}; + +enum EFlags : int +{ + FL_ONGROUND = ( 1 << 0 ) , // entity is at rest / on the ground + FL_DUCKING = ( 1 << 1 ) , // player is fully crouched/uncrouched + FL_ANIMDUCKING = ( 1 << 2 ) , // player is in the process of crouching or uncrouching but could be in transition + FL_WATERJUMP = ( 1 << 3 ) , // player is jumping out of water + FL_ONTRAIN = ( 1 << 4 ) , // player is controlling a train, so movement commands should be ignored on client during prediction + FL_INRAIN = ( 1 << 5 ) , // entity is standing in rain + FL_FROZEN = ( 1 << 6 ) , // player is frozen for 3rd-person camera + FL_ATCONTROLS = ( 1 << 7 ) , // player can't move, but keeps key inputs for controlling another entity + FL_CLIENT = ( 1 << 8 ) , // entity is a client (player) + FL_FAKECLIENT = ( 1 << 9 ) , // entity is a fake client, simulated server side; don't send network messages to them + FL_INWATER = ( 1 << 10 ) , // entity is in water + FL_FLY = ( 1 << 11 ) , + FL_SWIM = ( 1 << 12 ) , + FL_CONVEYOR = ( 1 << 13 ) , + FL_NPC = ( 1 << 14 ) , + FL_GODMODE = ( 1 << 15 ) , + FL_NOTARGET = ( 1 << 16 ) , + FL_AIMTARGET = ( 1 << 17 ) , + FL_PARTIALGROUND = ( 1 << 18 ) , // entity is standing on a place where not all corners are valid + FL_STATICPROP = ( 1 << 19 ) , // entity is a static property + FL_GRAPHED = ( 1 << 20 ) , + FL_GRENADE = ( 1 << 21 ) , + FL_STEPMOVEMENT = ( 1 << 22 ) , + FL_DONTTOUCH = ( 1 << 23 ) , + FL_BASEVELOCITY = ( 1 << 24 ) , // entity have applied base velocity this frame + FL_WORLDBRUSH = ( 1 << 25 ) , // entity is not moveable/removeable brush (part of the world, but represented as an entity for transparency or something) + FL_OBJECT = ( 1 << 26 ) , + FL_KILLME = ( 1 << 27 ) , // entity is marked for death and will be freed by the game + FL_ONFIRE = ( 1 << 28 ) , + FL_DISSOLVING = ( 1 << 29 ) , + FL_TRANSRAGDOLL = ( 1 << 30 ) , // entity is turning into client-side ragdoll + FL_UNBLOCKABLE_BY_PLAYER = ( 1 << 31 ) +}; + +enum MoveType_t : uint8_t +{ + MOVETYPE_NONE = 0x00 , + MOVETYPE_OBSOLETE = 0x01 , + MOVETYPE_WALK = 0x02 , + MOVETYPE_FLY = 0x03 , + MOVETYPE_FLYGRAVITY = 0x04 , + MOVETYPE_VPHYSICS = 0x05 , + MOVETYPE_PUSH = 0x06 , + MOVETYPE_NOCLIP = 0x07 , + MOVETYPE_OBSERVER = 0x08 , + MOVETYPE_LADDER = 0x09 , + MOVETYPE_CUSTOM = 0x0A , + MOVETYPE_LAST = 0x0B , + MOVETYPE_INVALID = 0x0B , + MOVETYPE_MAX_BITS = 0x05 , +}; + +enum EBoneFlags : uint32_t +{ + FLAG_NO_BONE_FLAGS = 0x0 , + FLAG_BONEFLEXDRIVER = 0x4 , + FLAG_CLOTH = 0x8 , + FLAG_PHYSICS = 0x10 , + FLAG_ATTACHMENT = 0x20 , + FLAG_ANIMATION = 0x40 , + FLAG_MESH = 0x80 , + FLAG_HITBOX = 0x100 , + FLAG_BONE_USED_BY_VERTEX_LOD0 = 0x400 , + FLAG_BONE_USED_BY_VERTEX_LOD1 = 0x800 , + FLAG_BONE_USED_BY_VERTEX_LOD2 = 0x1000 , + FLAG_BONE_USED_BY_VERTEX_LOD3 = 0x2000 , + FLAG_BONE_USED_BY_VERTEX_LOD4 = 0x4000 , + FLAG_BONE_USED_BY_VERTEX_LOD5 = 0x8000 , + FLAG_BONE_USED_BY_VERTEX_LOD6 = 0x10000 , + FLAG_BONE_USED_BY_VERTEX_LOD7 = 0x20000 , + FLAG_BONE_MERGE_READ = 0x40000 , + FLAG_BONE_MERGE_WRITE = 0x80000 , + FLAG_ALL_BONE_FLAGS = 0xfffff , + BLEND_PREALIGNED = 0x100000 , + FLAG_RIGIDLENGTH = 0x200000 , + FLAG_PROCEDURAL = 0x400000 , +}; + +class GameTime_t // (0 , server , 0x0004) +{ +public: + float32 m_Value; // 0x0000 +}; + +class GameTick_t // server +{ +public: + int32 m_Value; // 0x0000 +}; + +class CSWeaponType +{ +public: + CSWeaponType_t m_Type; // 0x0000 +}; + +struct ResourceBindingBase_t +{ + void* data; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.cpp new file mode 100644 index 0000000..48d1f12 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.cpp @@ -0,0 +1,336 @@ +#include "CEntityData.hpp" + +#include +#include +#include + +#include + +auto C_BaseEntity::IsBasePlayerController() -> bool +{ + auto DesingerName = this->pEntityIdentity()->DesingerName().String(); + + if ( DesingerName && strcmp( DesingerName , XorStr( "cs_player_controller" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsBasePlayerWeapon() -> bool +{ + auto DesingerName = this->pEntityIdentity()->DesingerName().String(); + + if ( DesingerName && strstr( DesingerName , XorStr( "weapon_" ) ) ) + return true; + + return false; +} + +auto C_BaseEntity::IsObserverPawn() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_CSObserverPawn" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsPlayerPawn() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_CSPlayerPawn" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsPlantedC4() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_PlantedC4" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsC4() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_C4" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsSmokeGrenadeProjectile() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_SmokeGrenadeProjectile" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::IsGrenadeProjectile() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName ) + { + if ( strcmp( m_bindingName , XorStr( "C_HEGrenadeProjectile" ) ) == 0 ) + return true; + + if ( strcmp( m_bindingName , XorStr( "C_FlashbangProjectile" ) ) == 0 ) + return true; + + if ( strcmp( m_bindingName , XorStr( "C_SmokeGrenadeProjectile" ) ) == 0 ) + return true; + + if ( strcmp( m_bindingName , XorStr( "C_DecoyProjectile" ) ) == 0 ) + return true; + + if ( strcmp( m_bindingName , XorStr( "C_MolotovProjectile" ) ) == 0 ) + return true; + } + + return false; +} + +auto C_BaseEntity::IsCS2HudModelWeapon() -> bool +{ + auto m_bindingName = this->GetSchemaClassBinding()->m_bindingName(); + + if ( m_bindingName && strcmp( m_bindingName , XorStr( "C_CS2HudModelWeapon" ) ) == 0 ) + return true; + + return false; +} + +auto C_BaseEntity::GetOrigin() -> const Vector3& +{ + auto pGameSceneNode = m_pGameSceneNode(); + + if ( !pGameSceneNode ) + return Vector3::Zero; + + return pGameSceneNode->m_vecAbsOrigin(); +} + +auto C_BaseEntity::GetBoundingBox( Rect_t& out , bool computeSurroundingBox ) -> bool +{ + auto pCollision = m_pCollision(); + + if ( !pCollision ) + return false; + + Vector3 mins; + Vector3 maxs; + + if ( computeSurroundingBox ) + { + if ( !ComputeHitboxSurroundingBox( mins , maxs ) ) + return false; + } + else + { + const auto absOrigin = GetOrigin(); + + mins = pCollision->m_vecMins() + absOrigin; + maxs = pCollision->m_vecMaxs() + absOrigin; + } + +#undef max +#undef min + + out.x = out.y = std::numeric_limits::max(); + out.w = out.h = -std::numeric_limits::max(); + + for ( int i = 0; i < 8; ++i ) + { + const Vector3 point_list[8] = + { + Vector3( mins.m_x, mins.m_y, mins.m_z ), Vector3( mins.m_x, maxs.m_y, mins.m_z ), + Vector3( maxs.m_x, maxs.m_y, mins.m_z ), Vector3( maxs.m_x, mins.m_y, mins.m_z ), + Vector3( maxs.m_x, maxs.m_y, maxs.m_z ), Vector3( mins.m_x, maxs.m_y, maxs.m_z ), + Vector3( mins.m_x, mins.m_y, maxs.m_z ), Vector3( maxs.m_x, mins.m_y, maxs.m_z ) + }; + + const Vector3 Point = point_list[i]; + + ImVec2 Screen; + + if ( !Math::WorldToScreen( Point , Screen ) ) + return false; + + out.x = std::min( out.x , Screen.x ); + out.y = std::min( out.y , Screen.y ); + out.w = std::max( out.w , Screen.x ); + out.h = std::max( out.h , Screen.y ); + } + + return true; +} + +auto C_BaseEntity::ComputeHitboxSurroundingBox( Vector3& mins , Vector3& maxs ) -> bool +{ + return C_BaseEntity_ComputeHitboxSurroundingBox( this , mins , maxs ); +} + +auto C_BaseEntity::SetBodyGroup() -> void +{ + return C_BaseEntity_SetBodyGroup( this , 0 , 1 ); +} + +auto C_BaseEntity::GetBoneIdByName( const char* szName ) -> int +{ + return C_BaseEntity_GetBoneIdByName( this , szName ); +} + +auto C_CSPlayerPawn::GetViewModels() -> std::vector +{ + auto* pC_CS2HudModelArms = m_hHudModelArms().Get(); + + std::vector vecViewModels; + + if ( pC_CS2HudModelArms ) + { + auto* pCGameSceneNode = pC_CS2HudModelArms->m_pGameSceneNode(); + + if ( pCGameSceneNode ) + { + for ( auto* pChild = pCGameSceneNode->m_pChild(); pChild; pChild = pChild->m_pNextSibling() ) + { + auto* pOwner = reinterpret_cast( pChild->m_pOwner() ); + + if ( pOwner && pOwner->IsCS2HudModelWeapon() ) + { + vecViewModels.push_back( reinterpret_cast( pOwner ) ); + } + } + } + } + + return vecViewModels; +} + +auto C_CSPlayerPawn::GetViewModel() -> C_CS2HudModelWeapon* +{ + auto* pC_CSWeaponBaseGun = GetCL_Weapons()->GetLocalActiveWeapon(); + + if ( pC_CSWeaponBaseGun ) + { + const auto& ViewModels = GetViewModels(); + + if ( !ViewModels.empty() ) + { + for ( auto pViewModel : ViewModels ) + { + auto* pOwnerEntity = pViewModel->m_hOwnerEntity().Get(); + + if ( pOwnerEntity == pC_CSWeaponBaseGun ) + return pViewModel; + } + } + } + + return nullptr; +} + +auto C_CSPlayerPawn::GetKnifeModel() -> C_CS2HudModelWeapon* +{ + auto vecViewModels = GetViewModels(); + + if ( vecViewModels.empty() ) + return nullptr; + + for ( auto model : vecViewModels ) + { + CGameSceneNode* pGameSceneNode = model->m_pGameSceneNode(); + + if ( pGameSceneNode && pGameSceneNode->GetSkeletonInstance() ) + { + auto& pModelState = pGameSceneNode->GetSkeletonInstance()->m_modelState(); + + std::string modelName = pModelState.m_ModelName().String(); + + if ( modelName.find( "knife" ) != std::string::npos ) + return model; + } + } + + return nullptr; +} + +auto C_EconItemView::GetSOCData() -> CEconItem* +{ + auto pInventory = CCSPlayerInventory::Get(); + + if ( !pInventory ) + return nullptr; + + return pInventory->GetSOCDataForItem( m_iItemID() ); +} + +auto C_EconItemView::GetStaticData() -> CEconItemDefinition* +{ + return C_EconItemView_GetStaticData( this ); +} + +auto C_EconItemView::GetBasePlayerWeaponVData() -> CCSWeaponBaseVData* +{ + return C_EconItemView_GetBasePlayerWeaponVData( this ); +} + +auto C_BaseModelEntity::SetModel( const char* szModel ) -> void +{ + return C_BaseModelEntity_SetModel( this , szModel ); +} + +auto CGameSceneNode::SetMeshGroupMask( uint64_t meshGroupMask ) -> void +{ + return CGameSceneNode_SetMeshGroupMask( this , meshGroupMask ); +} + +auto C_CSWeaponBase::UpdateCompositeMaterial( CCompositeMaterialOwner* pCCompositeMaterialOwner ) -> void +{ + C_CSWeaponBase_UpdateCompositeMaterial( pCCompositeMaterialOwner , true ); +} + +auto C_CSWeaponBase::UpdateSubclass() -> void +{ + return C_CSWeaponBase_UpdateSubclass( this ); +} + +auto C_CSWeaponBase::UpdateSkin() -> void +{ + C_CSWeaponBase_UpdateSkin( this , true ); +} + +auto CGameSceneNode::GetBonePosition( int32 BoneIndex , Vector3& BonePos ) -> bool +{ + if ( auto* pSkeletonInstance = GetSkeletonInstance(); pSkeletonInstance && BoneIndex != -1 ) + { + CModelState ModelState = pSkeletonInstance->m_modelState(); + + if ( const CBoneData* pBones = ModelState.m_pBones; pBones ) + { + const CBoneData& Data = pBones[BoneIndex]; + + BonePos = Data.position; + + return true; + } + } + + return false; +} + +auto CSkeletonInstance::CalcWorldSpaceBones( unsigned int Mask ) -> void +{ + return CSkeletonInstance_CalcWorldSpaceBones( this , Mask ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp new file mode 100644 index 0000000..4dacda7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CEntityData.hpp @@ -0,0 +1,596 @@ +#pragma once + +#include + +#include "Color.hpp" + +#include "CBaseTypes.hpp" +#include "CHandle.hpp" + +#include "CUtlMemory.hpp" +#include "CUtlString.hpp" +#include "CUtlSymbol.hpp" +#include "CUtlSymbolLarge.hpp" +#include "CUtlVector.hpp" +#include "CStrongHandle.hpp" +#include "CUtlStringToken.hpp" + +#include +#include +#include +#include + +namespace index +{ + namespace CEntityInstance + { + constexpr auto PostDataUpdate = 7; + } +} + +class C_BaseEntity; +class CEconItem; +class CEconItemDefinition; +class CSkeletonInstance; +class CCompositeMaterialOwner; + +class IHandleEntity +{ +public: + virtual ~IHandleEntity() {} +}; + +class IEconItemInterface +{ +public: + virtual ~IEconItemInterface() {} +}; + +class CPlayerControllerComponent +{ +public: +}; + +class CPlayerPawnComponent +{ +public: +}; + +class CEntitySubclassVDataBase +{ +public: +}; + +struct alignas( 16 ) CBoneData +{ + Vector3 position; + float scale; + Vector3 rotation; +}; + +class CModel +{ +private: + PAD( 0x130 + 0x38 ); +public: + const char** m_szBoneNames; + uint32 m_nBoneCount; +}; + +class CModelState +{ +private: + PAD( 0x80 ); + +public: + CBoneData* m_pBones; + +public: + SCHEMA_OFFSET( "CModelState" , "m_hModel" , m_hModel , CStrongHandle ); + SCHEMA_OFFSET( "CModelState" , "m_ModelName" , m_ModelName , CUtlSymbolLarge ); +}; + +class EntitySpottedState_t +{ +public: + SCHEMA_OFFSET( "EntitySpottedState_t" , "m_bSpotted" , m_bSpotted , bool ); +}; + +class CEntityIdentity +{ +public: + SCHEMA_OFFSET_CUSTOM( pBaseEntity , 0x0 , C_BaseEntity* ); + SCHEMA_OFFSET_CUSTOM( Handle , 0x10 , CHandle ); + +public: + SCHEMA_OFFSET( "CEntityIdentity" , "m_name" , Name , CUtlSymbolLarge ); + SCHEMA_OFFSET( "CEntityIdentity" , "m_designerName" , DesingerName , CUtlSymbolLarge ); +}; + +class CEntityInstance : public IHandleEntity +{ +public: + auto GetSchemaClassBinding() -> CSchemaClassBinding* + { + CSchemaClassBinding* pBinding = nullptr; + + VirtualFn( void )( CEntityInstance* , CSchemaClassBinding** ); + vget< Fn >( this , index::CSchemaSystem::SchemaClassInfo )( this , &pBinding ); + + return pBinding; + } + +public: + auto PostDataUpdate() -> void + { + VirtualFn( void )( CEntityInstance* , int UpdateType ); + return vget< Fn >( this , index::CEntityInstance::PostDataUpdate )( this , 1 ); + } + +public: + SCHEMA_OFFSET( "CEntityInstance" , "m_pEntity" , pEntityIdentity , CEntityIdentity* ); +}; + +class CCollisionProperty +{ +public: + inline auto GetUnknownMask() -> uint16 { return CUSTOM_OFFSET( uint16 , g_CCollisionProperty_UnknownMask ); } + +public: + SCHEMA_OFFSET( "CCollisionProperty" , "m_vecMins" , m_vecMins , Vector3 ); + SCHEMA_OFFSET( "CCollisionProperty" , "m_vecMaxs" , m_vecMaxs , Vector3 ); + SCHEMA_OFFSET( "CCollisionProperty" , "m_usSolidFlags" , m_usSolidFlags , uint8 ); +}; + +class CGameSceneNode +{ +public: + SCHEMA_OFFSET( "CGameSceneNode" , "m_pOwner" , m_pOwner , CEntityInstance* ); + SCHEMA_OFFSET( "CGameSceneNode" , "m_pChild" , m_pChild , CGameSceneNode* ); + SCHEMA_OFFSET( "CGameSceneNode" , "m_pNextSibling" , m_pNextSibling , CGameSceneNode* ); + SCHEMA_OFFSET( "CGameSceneNode" , "m_vecAbsOrigin" , m_vecAbsOrigin , Vector3 ); + SCHEMA_OFFSET( "CGameSceneNode" , "m_bDormant" , m_bDormant , bool ); + +public: + auto SetMeshGroupMask( uint64_t meshGroupMask ) -> void; + auto GetBonePosition( int32 BoneIndex , Vector3& BonePos ) -> bool; + +public: + auto GetSkeletonInstance() -> CSkeletonInstance* + { + return reinterpret_cast( this ); + } +}; + +class CSkeletonInstance : public CGameSceneNode +{ +public: + SCHEMA_OFFSET( "CSkeletonInstance" , "m_modelState" , m_modelState , CModelState ); + SCHEMA_OFFSET( "CSkeletonInstance" , "m_nHitboxSet" , m_nHitboxSet , uint8 ); + +public: + auto CalcWorldSpaceBones( unsigned int Mask ) -> void; +}; + +class CBasePlayerWeaponVData : public CEntitySubclassVDataBase +{ +public: + SCHEMA_OFFSET( "CBasePlayerWeaponVData" , "m_iMaxClip1" , m_iMaxClip1 , int32 ); +}; + +class CCSWeaponBaseVData : public CBasePlayerWeaponVData +{ +public: + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_WeaponType" , m_WeaponType , CSWeaponType ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_szName" , m_szName , CGlobalSymbol ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_nDamage" , m_nDamage , int32 ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_flHeadshotMultiplier" , m_flHeadshotMultiplier , float32 ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_flArmorRatio" , m_flArmorRatio , float32 ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_flPenetration" , m_flPenetration , float32 ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_flRange" , m_flRange , float32 ); + SCHEMA_OFFSET( "CCSWeaponBaseVData" , "m_flRangeModifier" , m_flRangeModifier , float32 ); +}; + +class C_EconItemView : public IEconItemInterface +{ +public: + auto GetSOCData() -> CEconItem*; + auto GetStaticData() -> CEconItemDefinition*; + auto GetBasePlayerWeaponVData() -> CCSWeaponBaseVData*; + +public: + SCHEMA_OFFSET( "C_EconItemView" , "m_bRestoreCustomMaterialAfterPrecache" , m_bRestoreCustomMaterialAfterPrecache , bool ); + SCHEMA_OFFSET( "C_EconItemView" , "m_iItemDefinitionIndex" , m_iItemDefinitionIndex , uint16 ); + SCHEMA_OFFSET( "C_EconItemView" , "m_iItemID" , m_iItemID , uint64 ); + SCHEMA_OFFSET( "C_EconItemView" , "m_iItemIDLow" , m_iItemIDLow , uint32 ); + SCHEMA_OFFSET( "C_EconItemView" , "m_iItemIDHigh" , m_iItemIDHigh , uint32 ); + SCHEMA_OFFSET( "C_EconItemView" , "m_iAccountID" , m_iAccountID , uint32 ); + SCHEMA_OFFSET( "C_EconItemView" , "m_bInitialized" , m_bInitialized , bool ); + SCHEMA_OFFSET( "C_EconItemView" , "m_bDisallowSOC" , m_bDisallowSOC , bool ); + +public: + CUSTOM_OFFSET_FIELD( uintptr_t , pCEconItemDescription , 0x200 ); +}; + +class C_AttributeContainer +{ +public: + PSCHEMA_OFFSET( "C_AttributeContainer" , "m_Item" , m_Item , C_EconItemView ); +}; + +class C_BaseEntity : public CEntityInstance +{ +public: + auto IsBasePlayerController() -> bool; + auto IsBasePlayerWeapon() -> bool; + auto IsObserverPawn() -> bool; + auto IsPlayerPawn() -> bool; + auto IsPlantedC4() -> bool; + auto IsC4() -> bool; + auto IsSmokeGrenadeProjectile() -> bool; + auto IsGrenadeProjectile() -> bool; + auto IsCS2HudModelWeapon() -> bool; + +public: + auto GetOrigin() -> const Vector3&; + +public: + auto GetBoundingBox( Rect_t& out , bool computeSurroundingBox = false ) -> bool; + auto ComputeHitboxSurroundingBox( Vector3& mins , Vector3& maxs ) -> bool; + auto SetBodyGroup() -> void; + auto GetBoneIdByName( const char* szName ) -> int; + +public: + SCHEMA_OFFSET( "C_BaseEntity" , "m_pGameSceneNode" , m_pGameSceneNode , CGameSceneNode* ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_pCollision" , m_pCollision , CCollisionProperty* ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_iMaxHealth" , m_iMaxHealth , int32 ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_iHealth" , m_iHealth , int32 ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_iTeamNum" , m_iTeamNum , uint8 ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_fFlags" , m_fFlags , uint32 ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_MoveType" , m_MoveType , MoveType_t ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_hOwnerEntity" , m_hOwnerEntity , CHandle ); + SCHEMA_OFFSET( "C_BaseEntity" , "m_nSubclassID" , m_nSubclassID , CUtlStringToken ); +}; + +class CGlowProperty +{ +public: + CUSTOM_OFFSET_FIELD( CEntityInstance* , m_pOwner , 0x18 ); + +public: + SCHEMA_OFFSET( "CGlowProperty" , "m_glowColorOverride" , m_glowColorOverride , Color ); + SCHEMA_OFFSET( "CGlowProperty" , "m_bGlowing" , m_bGlowing , bool ); +}; + +class C_BaseModelEntity : public C_BaseEntity +{ +public: + SCHEMA_OFFSET( "C_BaseModelEntity" , "m_vecViewOffset" , m_vecViewOffset , CNetworkViewOffsetVector ); + SCHEMA_OFFSET( "C_BaseModelEntity" , "m_Collision" , m_Collision , CCollisionProperty ); + SCHEMA_OFFSET( "C_BaseModelEntity" , "m_Glow" , m_Glow , CGlowProperty ); + +public: + auto SetModel( const char* szModel ) -> void; +}; + +class CBaseAnimGraph : public C_BaseModelEntity +{ +public: +}; + +class C_BaseViewModel : public CBaseAnimGraph +{ +public: + SCHEMA_OFFSET( "C_BaseViewModel" , "m_hWeapon" , m_hWeapon , CHandle ); // C_BasePlayerWeapon +}; + +class C_PredictedViewModel : public C_BaseViewModel +{ +public: +}; + +class C_CSGOViewModel : public C_PredictedViewModel +{ +public: +}; + +class CBasePlayerController : public C_BaseEntity +{ +public: + SCHEMA_OFFSET( "CBasePlayerController" , "m_nTickBase" , m_nTickBase , uint32 ); + SCHEMA_OFFSET( "CBasePlayerController" , "m_hPawn" , m_hPawn , CHandle ); // C_CSPlayerPawn,C_CSObserverPawn + SCHEMA_OFFSET( "CBasePlayerController" , "m_steamID" , m_steamID , uint64 ); + SCHEMA_OFFSET( "CBasePlayerController" , "m_bIsLocalPlayerController" , m_bIsLocalPlayerController , bool ); +}; + +class CCSPlayerController_InGameMoneyServices : public CPlayerControllerComponent +{ +public: + SCHEMA_OFFSET( "CCSPlayerController_InGameMoneyServices" , "m_iAccount" , m_iAccount , int32 ); +}; + +class CCSPlayerController_InventoryServices : public CPlayerControllerComponent +{ +public: + SCHEMA_OFFSET( "CCSPlayerController_InventoryServices" , "m_unMusicID" , m_unMusicID , uint16 ); +}; + +class CCSPlayerController : public CBasePlayerController +{ +public: + SCHEMA_OFFSET( "CCSPlayerController" , "m_pInGameMoneyServices" , m_pInGameMoneyServices , CCSPlayerController_InGameMoneyServices* ); + SCHEMA_OFFSET( "CCSPlayerController" , "m_pInventoryServices" , m_pInventoryServices , CCSPlayerController_InventoryServices* ); + SCHEMA_OFFSET( "CCSPlayerController" , "m_sSanitizedPlayerName" , m_sSanitizedPlayerName , const char* ); + SCHEMA_OFFSET( "CCSPlayerController" , "m_bPawnIsAlive" , m_bPawnIsAlive , bool ); +}; + +class CPlayer_WeaponServices : public CPlayerPawnComponent +{ +public: + SCHEMA_OFFSET( "CPlayer_WeaponServices" , "m_hActiveWeapon" , m_hActiveWeapon , CHandle ); // C_CSWeaponBaseGun + SCHEMA_OFFSET( "CPlayer_WeaponServices" , "m_hMyWeapons" , m_hMyWeapons , C_NetworkUtlVectorBase< CHandle > ); // C_BasePlayerWeapon +}; + +class CCSPlayer_WeaponServices : public CPlayer_WeaponServices +{ +public: +}; + +class CPlayer_ItemServices : public CPlayerPawnComponent +{ +public: +}; + +class CCSPlayer_ItemServices : public CPlayer_ItemServices +{ +public: + SCHEMA_OFFSET( "CCSPlayer_ItemServices" , "m_bHasDefuser" , m_bHasDefuser , bool ); + SCHEMA_OFFSET( "CCSPlayer_ItemServices" , "m_bHasHelmet" , m_bHasHelmet , bool ); + SCHEMA_OFFSET( "CCSPlayer_ItemServices" , "m_bHasHeavyArmor" , m_bHasHeavyArmor , bool ); +}; + +class CPlayer_ObserverServices : public CPlayerPawnComponent +{ +public: + SCHEMA_OFFSET( "CPlayer_ObserverServices" , "m_iObserverMode" , m_iObserverMode , uint8 ); + SCHEMA_OFFSET( "CPlayer_ObserverServices" , "m_hObserverTarget" , m_hObserverTarget , CHandle ); // C_CSPlayerPawn,C_PlantedC4 +}; + +class C_BaseToggle : public C_BaseModelEntity +{ +public: +}; + +class C_BaseTrigger : public C_BaseToggle +{ +public: +}; + +class C_BaseFlex : public CBaseAnimGraph +{ +public: +}; + +class C_LateUpdatedAnimating : public CBaseAnimGraph +{ +public: +}; + +class C_CS2HudModelBase : public C_LateUpdatedAnimating +{ +public: +}; + +class C_CS2HudModelWeapon : public C_CS2HudModelBase +{ +public: +}; + +class C_CS2HudModelArms : public C_CS2HudModelBase +{ +public: +}; + +class C_PostProcessingVolume : public C_BaseTrigger +{ +public: + SCHEMA_OFFSET( "C_PostProcessingVolume" , "m_flMinExposure" , m_flMinExposure , float32 ); + SCHEMA_OFFSET( "C_PostProcessingVolume" , "m_flMaxExposure" , m_flMaxExposure , float32 ); + SCHEMA_OFFSET( "C_PostProcessingVolume" , "m_bExposureControl" , m_bExposureControl , bool ); +}; + +class CPlayer_ViewModelServices : public CPlayerPawnComponent +{ +public: +}; + +class CCSPlayer_ViewModelServices : public CPlayer_ViewModelServices +{ +public: + PSCHEMA_OFFSET( "CCSPlayer_ViewModelServices" , "m_hViewModel" , m_hViewModel , CHandle ); // C_CSGOViewModel +}; + +class CPlayer_CameraServices : public CPlayerPawnComponent +{ +public: + SCHEMA_OFFSET( "CPlayer_CameraServices" , "m_vecCsViewPunchAngle" , m_vecCsViewPunchAngle , QAngle ); + SCHEMA_OFFSET( "CPlayer_CameraServices" , "m_hActivePostProcessingVolume" , m_hActivePostProcessingVolume , CHandle ); // C_PostProcessingVolume +}; + +class CCSPlayerBase_CameraServices : public CPlayer_CameraServices +{ +public: + SCHEMA_OFFSET( "CCSPlayerBase_CameraServices" , "m_iFOV" , m_iFOV , uint32 ); +}; + +class C_BasePlayerPawn : public C_BaseModelEntity +{ +public: + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_pWeaponServices" , m_pWeaponServices , CCSPlayer_WeaponServices* ); + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_pItemServices" , m_pItemServices , CCSPlayer_ItemServices* ); + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_pObserverServices" , m_pObserverServices , CPlayer_ObserverServices* ); + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_pCameraServices" , m_pCameraServices , CCSPlayerBase_CameraServices* ); + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_vOldOrigin" , m_vOldOrigin , Vector3 ); + SCHEMA_OFFSET( "C_BasePlayerPawn" , "m_hController" , m_hController , CHandle ); // CCSPlayerController +}; + +class C_CSPlayerPawnBase : public C_BasePlayerPawn +{ +public: + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_pViewModelServices" , m_pViewModelServices , CCSPlayer_ViewModelServices* ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_flFlashBangTime" , m_flFlashBangTime , float32 ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_flFlashMaxAlpha" , m_flFlashMaxAlpha , float32 ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_flFlashDuration" , m_flFlashDuration , float32 ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_flLastSpawnTimeIndex" , m_flLastSpawnTimeIndex , GameTime_t ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_bGunGameImmunity" , m_bGunGameImmunity , bool ); + SCHEMA_OFFSET( "C_CSPlayerPawnBase" , "m_angEyeAngles" , m_angEyeAngles , QAngle ); +}; + +class C_CSObserverPawn : public C_CSPlayerPawnBase +{ +public: +}; + +class C_CSPlayerPawn : public C_CSPlayerPawnBase +{ +public: + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_aimPunchCache" , m_aimPunchCache , CUtlVector< QAngle > ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_ArmorValue" , m_ArmorValue , int32 ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_iShotsFired" , m_iShotsFired , int32 ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_bIsDefusing" , m_bIsDefusing , bool ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_bIsScoped" , m_bIsScoped , bool ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_bWaitForNoAttack" , m_bWaitForNoAttack , bool ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_bNeedToReApplyGloves" , m_bNeedToReApplyGloves , bool ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_entitySpottedState" , m_entitySpottedState , EntitySpottedState_t ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_EconGloves" , m_EconGloves , C_EconItemView ); + SCHEMA_OFFSET( "C_CSPlayerPawn" , "m_hHudModelArms" , m_hHudModelArms , CHandle ); // C_CS2HudModelArms + +public: + auto GetViewModels() -> std::vector; + auto GetViewModel() -> C_CS2HudModelWeapon*; + auto GetKnifeModel() -> C_CS2HudModelWeapon*; + +public: + inline auto IsAlive() -> bool + { + return m_iHealth() > 0; + } + + inline auto HasArmor( int HitGroup ) -> bool + { + if ( HitGroup == 1 ) + return m_pItemServices()->m_bHasHelmet(); + + return m_ArmorValue(); + } + +public: + inline auto GetCollisionMask() -> uint16 + { + return m_Collision().GetUnknownMask(); + } + +public: + inline auto GetOwnerHandle() -> uint32 + { + uint32 Result = INVALID_EHANDLE_INDEX; + + if ( !( m_Collision().m_usSolidFlags() & 4 ) ) + { + auto pC_BaseEntity = m_hOwnerEntity().Get(); + + if ( pC_BaseEntity ) + Result = pC_BaseEntity->pEntityIdentity()->Handle().GetEntryIndex(); + } + + return Result; + } +}; + +class C_EconEntity : public C_BaseFlex +{ +public: + PSCHEMA_OFFSET( "C_EconEntity" , "m_AttributeManager" , m_AttributeManager , C_AttributeContainer ); + SCHEMA_OFFSET( "C_EconEntity" , "m_OriginalOwnerXuidLow" , m_OriginalOwnerXuidLow , uint32 ); + SCHEMA_OFFSET( "C_EconEntity" , "m_OriginalOwnerXuidHigh" , m_OriginalOwnerXuidHigh , uint32 ); + + inline auto GetOriginalOwnerXuid() -> uint64_t + { + return ( (uint64_t)( m_OriginalOwnerXuidHigh() ) << 32 ) | m_OriginalOwnerXuidLow(); + } +}; + +class C_BasePlayerWeapon : public C_EconEntity +{ +public: + SCHEMA_OFFSET( "C_BasePlayerWeapon" , "m_nNextPrimaryAttackTick" , m_nNextPrimaryAttackTick , GameTick_t ); + SCHEMA_OFFSET( "C_BasePlayerWeapon" , "m_nNextSecondaryAttackTick" , m_nNextSecondaryAttackTick , GameTick_t ); + SCHEMA_OFFSET( "C_BasePlayerWeapon" , "m_iClip1" , m_iClip1 , int32 ); +}; + +class C_CSWeaponBase : public C_BasePlayerWeapon +{ +public: + SCHEMA_OFFSET( "C_CSWeaponBase" , "m_bInReload" , m_bInReload , bool ); + SCHEMA_OFFSET( "C_CSWeaponBase" , "m_bBurstMode" , m_bBurstMode , bool ); + SCHEMA_OFFSET( "C_CSWeaponBase" , "m_iOriginalTeamNumber" , m_iOriginalTeamNumber , int32 ); + +public: + auto UpdateCompositeMaterial( CCompositeMaterialOwner* pCCompositeMaterialOwner ) -> void; + auto UpdateSubclass() -> void; + auto UpdateSkin() -> void; +}; + +class C_CSWeaponBaseGun : public C_CSWeaponBase +{ +public: + SCHEMA_OFFSET( "C_CSWeaponBaseGun" , "m_iBurstShotsRemaining" , m_iBurstShotsRemaining , int32 ); +}; + +class C_BaseGrenade : public C_BaseFlex +{ +public: +}; + +class C_BaseCSGrenade : public C_CSWeaponBase +{ +public: +}; + +class C_BaseCSGrenadeProjectile : public C_BaseGrenade +{ +public: + +}; + +class C_SmokeGrenadeProjectile : public C_BaseCSGrenadeProjectile +{ +public: + SCHEMA_OFFSET( "C_SmokeGrenadeProjectile" , "m_bDidSmokeEffect" , m_bDidSmokeEffect , bool ); + SCHEMA_OFFSET( "C_SmokeGrenadeProjectile" , "m_vSmokeColor" , m_vSmokeColor , Vector3 ); +}; + +class C_PlantedC4 : public CBaseAnimGraph +{ +public: + SCHEMA_OFFSET( "C_PlantedC4" , "m_nBombSite" , m_nBombSite , int32 ); + SCHEMA_OFFSET( "C_PlantedC4" , "m_flC4Blow" , m_flC4Blow , GameTime_t ); + SCHEMA_OFFSET( "C_PlantedC4" , "m_bHasExploded" , m_bHasExploded , bool ); + SCHEMA_OFFSET( "C_PlantedC4" , "m_bBeingDefused" , m_bBeingDefused , bool ); + SCHEMA_OFFSET( "C_PlantedC4" , "m_bBombDefused" , m_bBombDefused , bool ); +}; + +class C_C4 : public C_CSWeaponBase +{ +public: + SCHEMA_OFFSET( "C_C4" , "m_bStartedArming" , m_bStartedArming , bool ); + SCHEMA_OFFSET( "C_C4" , "m_bBombPlacedAnimation" , m_bBombPlacedAnimation , bool ); + SCHEMA_OFFSET( "C_C4" , "m_bBombPlanted" , m_bBombPlanted , bool ); +}; + +class C_EnvSky : public C_BaseModelEntity +{ +public: + SCHEMA_OFFSET( "C_EnvSky" , "m_vTintColor" , m_vTintColor , Color ); + SCHEMA_OFFSET( "C_EnvSky" , "m_vTintColorLightingOnly" , m_vTintColorLightingOnly , Color ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.cpp new file mode 100644 index 0000000..25df48f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.cpp @@ -0,0 +1,12 @@ +#include "CHandle.hpp" + +#include +#include + +auto CHandle::GetBaseEntity() const -> C_BaseEntity* +{ + if ( auto pEntity = (C_BaseEntity*)SDK::Interfaces::GameEntitySystem()->GetBaseEntity( GetEntryIndex() ); pEntity ) + return pEntity; + + return nullptr; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.hpp new file mode 100644 index 0000000..a3d0d6f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CHandle.hpp @@ -0,0 +1,30 @@ +#pragma once + +#include + +#define INVALID_EHANDLE_INDEX 0xFFFFFFFF +#define ENT_ENTRY_MASK 0x7fff + +class C_BaseEntity; + +class CHandle +{ +private: + auto GetBaseEntity() const -> C_BaseEntity*; + +public: + auto operator==( CHandle rhs ) const -> bool { return m_Index == rhs.m_Index; } + +public: + auto IsValid() const -> bool { return m_Index != INVALID_EHANDLE_INDEX; } + auto GetEntryIndex() const -> int { return m_Index & ENT_ENTRY_MASK; } + +public: + template + T* Get() const + { + return reinterpret_cast( GetBaseEntity() ); + } + + uint32_t m_Index; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CStrongHandle.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CStrongHandle.hpp new file mode 100644 index 0000000..d9b2082 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CStrongHandle.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include "CBaseTypes.hpp" + +template +class CStrongHandle +{ +public: + explicit operator T* ( ) const + { + return is_valid() ? reinterpret_cast( binding_->data ) : nullptr; + } + + T* operator->() const + { + return is_valid() ? reinterpret_cast( binding_->data ) : nullptr; + } + + [[nodiscard]] bool is_valid() const { return ( binding_ && binding_->data != nullptr ); } + +private: + const ResourceBindingBase_t* binding_; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlFixedMemory.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlFixedMemory.hpp new file mode 100644 index 0000000..41e839c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlFixedMemory.hpp @@ -0,0 +1,229 @@ +#pragma once + +#include + +#include "CUtlMemory.hpp" +#include "TIer0Memory.hpp" + +template +class CUtlFixedMemory +{ +protected: + struct BlockHeader_t + { + BlockHeader_t* pNext; + std::intptr_t nBlockSize; + }; + +public: + class Iterator_t + { + public: + Iterator_t( BlockHeader_t* pBlockHeader , const std::intptr_t nIndex ) : + pBlockHeader( pBlockHeader ) , nIndex( nIndex ) + { + } + + bool operator==( const Iterator_t it ) const + { + return pBlockHeader == it.pBlockHeader && nIndex == it.nIndex; + } + + bool operator!=( const Iterator_t it ) const + { + return pBlockHeader != it.pBlockHeader || nIndex != it.nIndex; + } + + BlockHeader_t* pBlockHeader; + std::intptr_t nIndex; + }; + + CUtlFixedMemory( const int nGrowSize = 0 , const int nInitAllocationCount = 0 ) : + pBlocks( nullptr ) , nAllocationCount( 0 ) , nGrowSize( nGrowSize ) + { + Purge(); + Grow( nInitAllocationCount ); + } + + ~CUtlFixedMemory() + { + Purge(); + } + + CS_CLASS_NO_ASSIGNMENT( CUtlFixedMemory ) + + [[nodiscard]] T* Base() + { + return nullptr; + } + + [[nodiscard]] const T* Base() const + { + return nullptr; + } + + T& operator[]( std::intptr_t nIndex ) + { + return *reinterpret_cast( nIndex ); + } + + const T& operator[]( std::intptr_t nIndex ) const + { + return *reinterpret_cast( nIndex ); + } + + [[nodiscard]] T& Element( const std::intptr_t nIndex ) + { + return *reinterpret_cast( nIndex ); + } + + [[nodiscard]] const T& Element( const std::intptr_t nIndex ) const + { + return *reinterpret_cast( nIndex ); + } + + [[nodiscard]] Iterator_t First() const + { + return ( pBlocks != nullptr ? Iterator_t( pBlocks , InvalidIndex() ) : InvalidIterator() ); + } + + [[nodiscard]] Iterator_t Next( const Iterator_t& it ) const + { + if ( !IsValidIterator( it ) ) + return InvalidIterator(); + + BlockHeader_t* pHeader = it.pBlockHeader; + + if ( it.nIndex + 1 < pHeader->nBlockSize ) + return Iterator_t( pHeader , it.nIndex + 1 ); + + return ( pHeader->pNext != nullptr ? Iterator_t( pHeader->pNext , InvalidIndex() ) : InvalidIterator() ); + } + + [[nodiscard]] std::intptr_t GetIndex( const Iterator_t& it ) const + { + if ( !IsValidIterator( it ) ) + return InvalidIndex(); + + return reinterpret_cast( HeaderToBlock( it.pBlockHeader ) + it.nIndex ); + } + + [[nodiscard]] bool IsIndexAfter( std::intptr_t nIndex , const Iterator_t& it ) const + { + if ( !IsValidIterator( it ) ) + return false; + + if ( IsInBlock( nIndex , it.pBlockHeader ) ) + return nIndex > GetIndex( it ); + + for ( BlockHeader_t* pBlockHeader = it.pBlockHeader->pNext; pBlockHeader != nullptr; pBlockHeader = pBlockHeader->pNext ) + { + if ( IsInBlock( nIndex , pBlockHeader ) ) + return true; + } + + return false; + } + + [[nodiscard]] bool IsValidIterator( const Iterator_t& it ) const + { + return it.pBlockHeader != nullptr && it.nIndex >= 0 && it.nIndex < it.pBlockHeader->nBlockSize; + } + + [[nodiscard]] Iterator_t InvalidIterator() const + { + return Iterator_t( nullptr , InvalidIndex() ); + } + + [[nodiscard]] bool IsValidIndex( const std::intptr_t nIndex ) const + { + return nIndex != InvalidIndex(); + } + + [[nodiscard]] static std::intptr_t InvalidIndex() + { + return 0; + } + + [[nodiscard]] int Count() const + { + return nAllocationCount; + } + + void EnsureCapacity( const int nCapacity ) + { + Grow( nCapacity - Count() ); + } + + void Grow( const int nCount = 1 ) + { + if ( nCount <= 0 ) + return; + + int nBlockSize = ( nGrowSize == 0 ? ( nAllocationCount > 0 ? nAllocationCount : ( 31 + sizeof( T ) ) / sizeof( T ) ) : nGrowSize ); + + if ( nBlockSize < nCount ) + nBlockSize *= ( nCount + nBlockSize - 1 ) / nBlockSize; + + nAllocationCount += nBlockSize; + + BlockHeader_t* pNewBlockHeader = static_cast( GetMemAlloc()->Alloc( sizeof( BlockHeader_t ) + nBlockSize * sizeof( T ) ) ); + + pNewBlockHeader->pNext = nullptr; + pNewBlockHeader->nBlockSize = nBlockSize; + + if ( pBlocks == nullptr ) + pBlocks = pNewBlockHeader; + else + { + BlockHeader_t* pBlockHeader = pBlocks; + + while ( pBlockHeader->pNext != nullptr ) + pBlockHeader = pBlockHeader->pNext; + + pBlockHeader->pNext = pNewBlockHeader; + } + } + + void Purge() + { + if ( pBlocks == nullptr ) + return; + + for ( BlockHeader_t* pBlockHeader = pBlocks; pBlockHeader != nullptr;) + { + BlockHeader_t* pFree = pBlockHeader; + pBlockHeader = pBlockHeader->pNext; + + GetMemAlloc()->Free( pFree ); + } + + pBlocks = nullptr; + nAllocationCount = 0; + } + +protected: + [[nodiscard]] bool IsInBlock( std::intptr_t nIndex , BlockHeader_t* pBlockHeader ) const + { + T* pCurrent = reinterpret_cast( nIndex ); + + const T* pStart = HeaderToBlock( pBlockHeader ); + const T* pEnd = pStart + pBlockHeader->nBlockSize; + + return ( pCurrent >= pStart && pCurrent < pEnd ); + } + + [[nodiscard]] const T* HeaderToBlock( const BlockHeader_t* pHeader ) const + { + return reinterpret_cast( pHeader + 1 ); + } + + [[nodiscard]] const BlockHeader_t* BlockToHeader( const T* pBlock ) const + { + return reinterpret_cast( pBlock ) - 1; + } + + BlockHeader_t* pBlocks; + int nAllocationCount; + int nGrowSize; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMap.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMap.hpp new file mode 100644 index 0000000..eeea49b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMap.hpp @@ -0,0 +1,54 @@ +#pragma once + +#include + +#include + +template +class CUtlMap +{ +public: + struct Node_t + { + int m_left; + int m_right; + int m_parent; + int m_tag; + K m_key; + V m_value; + }; + + auto begin() const { return m_data; } + auto end() const { return m_data + m_size; } + + auto FindByKey( K key ) const -> std::optional + { + int current = m_root; + + while ( current != -1 ) + { + const Node_t& element = m_data[current]; + + if ( element.m_key < key ) + { + current = element.m_right; + } + else if ( element.m_key > key ) + { + current = element.m_left; + } + else + { + return element.m_value; + } + } + + return std::nullopt; + } + +public: + int m_size; + int m_unknown; + Node_t* m_data; + int m_root; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMemory.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMemory.hpp new file mode 100644 index 0000000..ec9a96c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlMemory.hpp @@ -0,0 +1,266 @@ +#pragma once + +#include +#include + +inline int UtlMemory_CalcNewAllocationCount( int nAllocationCount , int nGrowSize , int nNewSize , int nBytesItem ) +{ + if ( nGrowSize ) + nAllocationCount = ( ( 1 + ( ( nNewSize - 1 ) / nGrowSize ) ) * nGrowSize ); + else + { + if ( !nAllocationCount ) + nAllocationCount = ( 31 + nBytesItem ) / nBytesItem; + + while ( nAllocationCount < nNewSize ) + nAllocationCount *= 2; + } + + return nAllocationCount; +} + +template< class T , class I = int > +class CUtlMemory +{ + enum + { + EXTERNAL_BUFFER_MARKER = -1 , + EXTERNAL_CONST_BUFFER_MARKER = -2 , + }; + +public: + class Iterator_t + { + public: + Iterator_t( const I nIndex ) : + nIndex( nIndex ) + { + } + + bool operator==( const Iterator_t it ) const + { + return nIndex == it.nIndex; + } + + bool operator!=( const Iterator_t it ) const + { + return nIndex != it.nIndex; + } + + I nIndex; + }; + +public: + CUtlMemory( int nGrowSize = 0 , int nInitSize = 0 ) : m_pMemory( 0 ) , m_nAllocationCount( nInitSize ) , m_nGrowSize( nGrowSize ) + { + if ( m_nAllocationCount ) + { + m_pMemory = (T*)malloc( m_nAllocationCount * sizeof( T ) ); + } + } + + void Init( int nGrowSize = 0 , int nInitSize = 0 ) + { + Purge(); + + m_nGrowSize = nGrowSize; + m_nAllocationCount = nInitSize; + + if ( m_nAllocationCount ) + { + m_pMemory = (T*)malloc( m_nAllocationCount * sizeof( T ) ); + } + } + + T& operator[]( I i ) + { + return m_pMemory[i]; + } + + const T& operator[]( I i ) const + { + return m_pMemory[i]; + } + + T* Base() + { + return m_pMemory; + } + + const T* Base() const + { + return m_pMemory; + } + + void ConvertToGrowableMemory( int nGrowSize ) + { + if ( !IsExternallyAllocated() ) + return; + + m_nGrowSize = nGrowSize; + if ( m_nAllocationCount ) + { + int nNumBytes = m_nAllocationCount * sizeof( T ); + T* pMemory = (T*)malloc( nNumBytes ); + memcpy( pMemory , m_pMemory , nNumBytes ); + m_pMemory = pMemory; + } + else + { + m_pMemory = NULL; + } + } + + int NumAllocated() const + { + return m_nAllocationCount; + } + + void Grow( int num = 1 ) + { + if ( IsExternallyAllocated() ) + return; + + int nAllocationRequested = m_nAllocationCount + num; + int nNewAllocationCount = UtlMemory_CalcNewAllocationCount( m_nAllocationCount , m_nGrowSize , nAllocationRequested , sizeof( T ) ); + + if ( (int)(I)nNewAllocationCount < nAllocationRequested ) + { + if ( (int)(I)nNewAllocationCount == 0 && (int)(I)( nNewAllocationCount - 1 ) >= nAllocationRequested ) + --nNewAllocationCount; + else + { + if ( (int)(I)nAllocationRequested != nAllocationRequested ) + return; + + while ( (int)(I)nNewAllocationCount < nAllocationRequested ) + nNewAllocationCount = ( nNewAllocationCount + nAllocationRequested ) / 2; + } + } + + m_nAllocationCount = nNewAllocationCount; + + if ( m_pMemory ) + m_pMemory = (T*)realloc( m_pMemory , m_nAllocationCount * sizeof( T ) ); + else + m_pMemory = (T*)malloc( m_nAllocationCount * sizeof( T ) ); + } + + void Purge() + { + if ( m_pMemory ) + { + GetMemAlloc()->Free( m_pMemory ); + + //static const auto g_pMemAlloc = *reinterpret_cast( GetProcAddress( GetModuleHandleA( "tier0.dll" ) , "g_pMemAlloc" ) ); + // free memory + //( *( __int64( __fastcall** )( std::uintptr_t* , T* ) )( *g_pMemAlloc + 3i64 ) )( g_pMemAlloc , m_pMemory ); + + m_pMemory = nullptr; + } + + m_nAllocationCount = 0; + } + + [[nodiscard]] bool IsExternallyAllocated() const + { + return m_nGrowSize <= EXTERNAL_BUFFER_MARKER; + } + + [[nodiscard]] static I InvalidIndex() + { + return static_cast( -1 ); + } + + [[nodiscard]] bool IsValidIndex( I nIndex ) const + { + return ( nIndex >= 0 ) && ( nIndex < m_nAllocationCount ); + } + + [[nodiscard]] Iterator_t First() const + { + return Iterator_t( IsValidIndex( 0 ) ? 0 : InvalidIndex() ); + } + + [[nodiscard]] Iterator_t Next( const Iterator_t& it ) const + { + return Iterator_t( IsValidIndex( it.nIndex + 1 ) ? it.nIndex + 1 : InvalidIndex() ); + } + + [[nodiscard]] I GetIndex( const Iterator_t& it ) const + { + return it.nIndex; + } + + [[nodiscard]] bool IsIndexAfter( I nIndex , const Iterator_t& it ) const + { + return nIndex > it.nIndex; + } + + [[nodiscard]] bool IsValidIterator( const Iterator_t& it ) const + { + return IsValidIndex( it.index ); + } + + [[nodiscard]] Iterator_t InvalidIterator() const + { + return Iterator_t( InvalidIndex() ); + } + +protected: + T* m_pMemory; + int m_nAllocationCount; + int m_nGrowSize; +}; + +template +inline T* Construct( T* pMemory ) +{ + return ::new( pMemory ) T; +} + +template +inline void Destruct( T* pMemory ) +{ + pMemory->~T(); +} + +template< class T , size_t SIZE , class I = int > +class CUtlMemoryFixedGrowable : public CUtlMemory< T , I > +{ + typedef CUtlMemory< T , I > BaseClass; + +public: + CUtlMemoryFixedGrowable( int nGrowSize = 0 , int nInitSize = SIZE ) : BaseClass( m_pFixedMemory , SIZE ) + { + Assert( nInitSize == 0 || nInitSize == SIZE ); + m_nMallocGrowSize = nGrowSize; + } + + void Grow( int nCount = 1 ) + { + if ( this->IsExternallyAllocated() ) + { + this->ConvertToGrowableMemory( m_nMallocGrowSize ); + } + BaseClass::Grow( nCount ); + } + + void EnsureCapacity( int num ) + { + if ( CUtlMemory::m_nAllocationCount >= num ) + return; + + if ( this->IsExternallyAllocated() ) + { + // Can't grow a buffer whose memory was externally allocated + this->ConvertToGrowableMemory( m_nMallocGrowSize ); + } + + BaseClass::EnsureCapacity( num ); + } + +private: + int m_nMallocGrowSize; + T m_pFixedMemory[SIZE]; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlString.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlString.hpp new file mode 100644 index 0000000..f635e89 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlString.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include "CUtlMemory.hpp" + +class CUtlString +{ +public: + CUtlString() = default; + + ~CUtlString() + { + m_Memory.Purge(); + m_nActualLength = 0; + } + + const char* Get() + { + return reinterpret_cast( m_Memory.Base() ); + } + + CUtlMemory m_Memory; + int m_nActualLength; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlStringToken.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlStringToken.hpp new file mode 100644 index 0000000..c2ad933 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlStringToken.hpp @@ -0,0 +1,113 @@ +#pragma once + +#include +#include "CBaseTypes.hpp" + +#define STRINGTOKEN_MURMURHASH_SEED 0x31415926 + +FORCEINLINE uint32_t MurmurHash2( const void* key , int len , uint32_t seed ) +{ + /* 'm' and 'r' are mixing constants generated offline. + They're not really 'magic', they just happen to work well. */ + + const uint32_t m = 0x5bd1e995; + const int r = 24; + + /* Initialize the hash to a 'random' value */ + + uint32_t h = seed ^ len; + + /* Mix 4 bytes at a time into the hash */ + + const unsigned char* data = (const unsigned char*)key; + + while ( len >= 4 ) + { + uint32_t k = *(uint32_t*)data; + + k *= m; + k ^= k >> r; + k *= m; + + h *= m; + h ^= k; + + data += 4; + len -= 4; + } + + /* Handle the last few bytes of the input array */ + + switch ( len ) + { + case 3: h ^= data[2] << 16; + case 2: h ^= data[1] << 8; + case 1: h ^= data[0]; + h *= m; + }; + + /* Do a few final mixes of the hash to ensure the last few + // bytes are well-incorporated. */ + + h ^= h >> 13; + h *= m; + h ^= h >> 15; + + return h; +} + +#define TOLOWERU( c ) ( ( uint32_t ) ( ( ( c >= 'A' ) && ( c <= 'Z' ) )? c + 32 : c ) ) + +FORCEINLINE uint32_t MurmurHash2LowerCaseA( char const* pString , int len , uint32_t nSeed ) +{ + char* p = (char*)malloc( len + 1 ); + + for ( int i = 0; i < len; i++ ) + p[i] = TOLOWERU( pString[i] ); + + return MurmurHash2( p , len , nSeed ); +} + +class CUtlStringToken +{ +public: + uint32 m_nHashCode; + const char* m_szDebugName; + + CUtlStringToken() { m_nHashCode = 0; m_szDebugName = nullptr; } + + CUtlStringToken( char const* szString ) + { + this->SetHashCode( this->MakeStringToken( szString ) ); + m_szDebugName = szString; + } + + FORCEINLINE std::uint32_t MakeStringToken( char const* szString , int nLen ) + { + std::uint32_t nHashCode = MurmurHash2LowerCaseA( szString , nLen , STRINGTOKEN_MURMURHASH_SEED ); + return nHashCode; + } + + FORCEINLINE std::uint32_t MakeStringToken( char const* szString ) + { + return MakeStringToken( szString , (int)strlen( szString ) ); + } + + FORCEINLINE bool operator==( CUtlStringToken const& other ) const + { + return ( other.m_nHashCode == m_nHashCode ); + } + + FORCEINLINE bool operator!=( CUtlStringToken const& other ) const + { + return ( other.m_nHashCode != m_nHashCode ); + } + + FORCEINLINE bool operator<( CUtlStringToken const& other ) const + { + return ( m_nHashCode < other.m_nHashCode ); + } + + FORCEINLINE uint32 GetHashCode( void ) const { return m_nHashCode; } + FORCEINLINE void SetHashCode( uint32 nCode ) { m_nHashCode = nCode; } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbol.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbol.hpp new file mode 100644 index 0000000..4843400 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbol.hpp @@ -0,0 +1,31 @@ +#pragma once + +typedef unsigned short UtlSymId_t; + +#define UTL_INVAL_SYMBOL ((UtlSymId_t)~0) + +class CUtlSymbol +{ +public: + // constructor, destructor + CUtlSymbol() : m_Id( UTL_INVAL_SYMBOL ) {} + CUtlSymbol( UtlSymId_t id ) : m_Id( id ) {} + CUtlSymbol( CUtlSymbol const& sym ) : m_Id( sym.m_Id ) {} + + // operator= + CUtlSymbol& operator=( CUtlSymbol const& src ) { m_Id = src.m_Id; return *this; } + + // operator== + bool operator==( CUtlSymbol const& src ) const { return m_Id == src.m_Id; } + + // Is valid? + bool IsValid() const { return m_Id != UTL_INVAL_SYMBOL; } + + // Gets at the symbol + operator UtlSymId_t const( ) const { return m_Id; } + + UtlSymId_t GetID() const { return m_Id; } + +protected: + UtlSymId_t m_Id; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbolLarge.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbolLarge.hpp new file mode 100644 index 0000000..229dba0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlSymbolLarge.hpp @@ -0,0 +1,87 @@ +#pragma once + +#include "CBaseTypes.hpp" + +#define UTL_INVAL_SYMBOL_LARGE 0 + +using UtlSymLargeId_t = intp; + +class CUtlSymbolLarge +{ +public: + // constructor, destructor + CUtlSymbolLarge() + { + u.m_Id = UTL_INVAL_SYMBOL_LARGE; + } + + CUtlSymbolLarge( UtlSymLargeId_t id ) + { + u.m_Id = id; + } + CUtlSymbolLarge( CUtlSymbolLarge const& sym ) + { + u.m_Id = sym.u.m_Id; + } + + // operator= + CUtlSymbolLarge& operator=( CUtlSymbolLarge const& src ) + { + u.m_Id = src.u.m_Id; + return *this; + } + + // operator== + bool operator==( CUtlSymbolLarge const& src ) const + { + return u.m_Id == src.u.m_Id; + } + + // operator== + bool operator==( UtlSymLargeId_t const& src ) const + { + return u.m_Id == src; + } + + // operator== + bool operator!=( CUtlSymbolLarge const& src ) const + { + return u.m_Id != src.u.m_Id; + } + + // operator== + bool operator!=( UtlSymLargeId_t const& src ) const + { + return u.m_Id != src; + } + + // Gets at the symbol + operator UtlSymLargeId_t const( ) const + { + return u.m_Id; + } + + // Gets the string associated with the symbol + inline const char* String() const + { + if ( u.m_Id == UTL_INVAL_SYMBOL_LARGE || u.m_pAsString == nullptr ) + return ""; + + return u.m_pAsString; + } + + inline bool IsValid() const + { + return u.m_Id != UTL_INVAL_SYMBOL_LARGE ? true : false; + } + +private: + // Disallowed + CUtlSymbolLarge( const char* pStr ); + + union + { + UtlSymLargeId_t m_Id; + char const* m_pAsString = nullptr; + } u; +}; \ No newline at end of file diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlVector.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlVector.hpp new file mode 100644 index 0000000..20dd8a6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/CUtlVector.hpp @@ -0,0 +1,178 @@ +#pragma once + +#include "CUtlMemory.hpp" + +template< class T , class A = CUtlMemory > +class CUtlVector +{ + typedef A CAllocator; +public: + typedef T* iterator; + typedef const T* const_iterator; + +public: + T& operator[]( int i ) + { + return m_Memory[i]; + } + + const T& operator[]( int i ) const + { + return m_Memory[i]; + } + + T& Element( int i ) + { + return m_Memory[i]; + } + + T* Base() { return m_Memory.Base(); } + const T* Base() const { return m_Memory.Base(); } + + iterator begin() { return Base(); } + const_iterator begin() const { return Base(); } + iterator end() { return Base() + Count(); } + const_iterator end() const { return Base() + Count(); } + + int Count() const + { + return m_Size; + } + + inline bool IsEmpty( void ) const + { + return ( Count() == 0 ); + } + + inline bool IsValidIndex( int i ) const + { + return ( i >= 0 ) && ( i < m_Size ); + } + + static int InvalidIndex() { return -1; } + + inline bool Exists( T val ) const + { + for ( const auto& it : *this ) + if ( it == val ) return true; + + return false; + } + + void RemoveAll() + { + if ( Count() ) + { + for ( int i = m_Size; --i >= 0; ) + Destruct( &Element( i ) ); + + m_Size = 0; + } + } + + int AddToTail() + { + return InsertBefore( m_Size ); + } + + int InsertBefore( int elem ) + { + GrowVector(); + ShiftElementsRight( elem ); + Construct( &Element( elem ) ); + + return elem; + } + + void Purge() + { + RemoveAll(); + m_Memory.Purge(); + } + + void PurgeAndDeleteElements() + { + for ( int i = 0; i < m_Size; i++ ) + delete Element( i ); + + Purge(); + } + +protected: + void GrowVector( int num = 1 ) + { + if ( m_Size + num > m_Memory.NumAllocated() ) + m_Memory.Grow( m_Size + num - m_Memory.NumAllocated() ); + + m_Size += num; + } + + void ShiftElementsRight( int elem , int num = 1 ) + { + int numToMove = m_Size - elem - num; + + if ( ( numToMove > 0 ) && ( num > 0 ) ) + memmove( &Element( elem + num ) , &Element( elem ) , numToMove * sizeof( T ) ); + } + + int m_Size; + int m_DbgInfo; + CAllocator m_Memory; +}; + +template< class T , size_t MAX_SIZE > +class CUtlVectorFixedGrowable : public CUtlVector< T , CUtlMemoryFixedGrowable > +{ + typedef CUtlVector< T , CUtlMemoryFixedGrowable > BaseClass; + +public: + // constructor, destructor + explicit CUtlVectorFixedGrowable( int growSize = 0 ) : BaseClass( growSize , MAX_SIZE ) {} +}; + +#pragma pack(push, 1) +template< class T = void > +class CUtlVectorFixed +{ +public: + std::int32_t size; //0x0000 +private: + char pad_0x0004[0x4]; //0x0004 +public: + T* m_pMemory; //0x0008 +private: + char pad_0x0010[0x8]; //0x0010 +public: + CUtlVectorFixed() + { + size = 0; + m_pMemory = nullptr; + } + + T* begin() const + { + return m_pMemory; + } + + T* end() const + { + return m_pMemory + size; + } + + T operator []( int i ) const + { + return m_pMemory == nullptr ? T() : m_pMemory[i]; + } + + void purge() + { + if ( m_pMemory ) + { + static const auto g_pMemAlloc = *reinterpret_cast( GetProcAddress( GetModuleHandleA( "tier0.dll" ) , "g_pMemAlloc" ) ); + // free memory + ( *( __int64( __fastcall** )( std::uintptr_t* , T* ) )( *g_pMemAlloc + 40i64 ) )( g_pMemAlloc , m_pMemory ); + m_pMemory = nullptr; + } + } +}; //Size=0x0018 +#pragma pack(pop) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/Color.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/Color.hpp new file mode 100644 index 0000000..76777e3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/Color.hpp @@ -0,0 +1,178 @@ +#pragma once + +#include + +#include +#include + +struct hsv_t +{ + constexpr hsv_t( float t_h , float t_s , float t_v ) noexcept :h( t_h ) , s( t_s ) , v( t_v ) {} + constexpr hsv_t() noexcept = default; + + bool operator==( hsv_t& a ) noexcept + { + return this->h == a.h && this->s == a.s && this->v == a.v; + } + + float h = 0.f , s = 0.f , v = 0.f; +}; + +struct Color +{ +public: + Color() + { + r = g = b = a = 0; + } + + Color( BYTE red , BYTE green , BYTE blue , BYTE alpha = 255 ) + { + r = red; + g = green; + b = blue; + a = alpha; + } + + Color( int red , int gren , int blue , int alpha = 255 ) + { + r = static_cast( red ); + g = static_cast( gren ); + b = static_cast( blue ); + a = static_cast( alpha ); + } + + void SetColor( int red , int gren , int blue , int alpha = 255 ) + { + r = static_cast( red ); + g = static_cast( gren ); + b = static_cast( blue ); + a = static_cast( alpha ); + } + + uint32_t GetABGR() const + { + return (uint32_t)( a << 24 ) | ( b << 16 ) | ( g << 8 ) | r; + } + + operator uint32_t() const noexcept { return rgba; } + + Vector3 Vec3() const + { + return Vector3( r , g , b ); + } + + static Color None() { return Color( 0 , 0 , 0 , 0 ); } + static Color White() { return Color( 255 , 255 , 255 ); } + static Color Black() { return Color( 0 , 0 , 0 ); } + static Color Red() { return Color( 255 , 0 , 0 ); } + static Color Green() { return Color( 0 , 255 , 0 ); } + static Color Blue() { return Color( 0 , 0 , 255 ); } + static Color Cyan() { return Color( 0 , 255 , 255 ); } + static Color Yellow() { return Color( 255 , 255 , 0 ); } + + void FromString( const char* str ) + { + this->a = 255; + + BYTE* pValue = &this->r; + std::string strValue; + + size_t len = strlen( str ); + + for ( size_t i = 0u; i < len; i++ ) + { + if ( pValue == &this->a ) + break; + + if ( isspace( str[i] ) ) + { + *pValue = static_cast( std::stoi( strValue ) ); + pValue++; + strValue.clear(); + } + else if ( isdigit( str[i] ) != 0 ) + strValue.push_back( str[i] ); + } + + if ( !strValue.empty() ) + *pValue = static_cast( std::stoi( strValue ) ); + } + + template + static inline void SWAP( T& a , T& b ) + { + T tmp = a; + a = b; + b = tmp; + } + + hsv_t ToValveHSV() + { + struct float_clr_t + { + float r , g , b; + } in; + + in.r = this->r / 255.f; + in.g = this->g / 255.f; + in.b = this->b / 255.f; + + hsv_t out; + float K = 0.f; + + if ( in.g < in.b ) + { + SWAP( in.g , in.b ); + K = -1.f; + } + + if ( in.r < in.g ) + { + SWAP( in.r , in.g ); + K = -2.f / 6.f - K; + } + + const float chroma = in.r - ( in.g < in.b ? in.g : in.b ); + + out.h = fabsf( K + ( in.g - in.b ) / ( 6.f * chroma + 1e-20f ) ) * 360.f; + out.s = chroma / ( in.r + 1e-20f ); + out.v = in.r; + + return out; + } + + bool operator==( Color& a ) noexcept + { + return this->r == a.r + && this->g == a.g + && this->b == a.b + && this->a == a.a; + } + + bool operator!=( Color& a ) noexcept + { + return !( *this == a ); + } + + static Color lerp( const Color& a , const Color& b , float t ) noexcept + { + return Color( + static_cast( std::lerp( a.r , b.r , t ) ) , + static_cast( std::lerp( a.g , b.g , t ) ) , + static_cast( std::lerp( a.b , b.b , t ) ) , + static_cast( std::lerp( a.a , b.a , t ) ) + ); + } + +public: + union + { + struct + { + byte r , g , b , a; + }; + + uint32_t rgba = { 0 }; + }; +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/TIer0Memory.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/TIer0Memory.hpp new file mode 100644 index 0000000..4261c73 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Types/TIer0Memory.hpp @@ -0,0 +1,33 @@ +#pragma once + +#include + +class IMemAlloc +{ +public: + void* Alloc( std::size_t size ) + { + return vget( this , 1 )( this , size ); + } + + void* ReAlloc( const void* p , std::size_t size ) + { + return vget( this , 2 )( this , p , size ); + } + + void Free( const void* p ) + { + return vget( this , 3 )( this , p ); + } + + std::size_t GetSize( const void* p ) + { + return vget( this , 21 )( this , p ); + } +}; + +inline IMemAlloc* GetMemAlloc() +{ + static auto p_mem_alloc = *reinterpret_cast( GetProcAddress( GetModuleHandleA( "tier0.dll" ) , "g_pMemAlloc" ) ); + return p_mem_alloc; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CCSGOInput.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CCSGOInput.hpp new file mode 100644 index 0000000..21fb2c1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CCSGOInput.hpp @@ -0,0 +1,54 @@ +#pragma once + +#include "CUserCmd.hpp" + +#include + +#include +#include +#include +#include + +#include + +class CCSInputMoves +{ +public: + CUSTOM_OFFSET_FIELD( Vector3 , m_vecViewAngles , g_CCSInputMoves_m_vecViewAngles ); +}; + +class CCSGOInput +{ +public: + CUSTOM_OFFSET_FIELD( bool , m_bInThirdPerson , g_CCSGOInput_m_bInThirdPerson ); + CUSTOM_OFFSET_FIELD( CCSInputMoves* , m_pInputMoves , g_CCSGOInput_m_pInputMoves ); + +public: + auto GetSequenceNumber( CCSPlayerController* pLocalPlayerController ) -> uint32_t + { + int32_t OutputTick = 0; + GetCUserCmdTick( pLocalPlayerController , &OutputTick ); + + int32_t Tick = OutputTick - 1; + + if ( OutputTick == -1 ) + Tick = -1; + + auto* pCUserCmdArray = GetCUserCmdArray( SDK::Pointers::GetFirstCUserCmdArray() , Tick ); + + if ( pCUserCmdArray ) + return pCUserCmdArray->m_nSequenceNumber(); + + return 0; + } + + auto GetUserCmd( CCSPlayerController* pLocalPlayerController ) -> CUserCmd* + { + const auto SequenceNumber = GetSequenceNumber( pLocalPlayerController ); + + if ( SequenceNumber ) + return GetCUserCmdBySequenceNumber( pLocalPlayerController , SequenceNumber ); + + return nullptr; + } +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CGlobalVarsBase.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CGlobalVarsBase.hpp new file mode 100644 index 0000000..4380bcc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CGlobalVarsBase.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include + +// 44 89 7B ? 45 33 FF 44 89 7B ? F3 0F 11 73 ? F3 0F 11 73 ? F3 44 0F 11 5B ? 48 8B 06 +/* +00007FFD2B4809E | 44:897B 48 | mov dword ptr ds:[rbx+0x48],r15d | offset m_nTickCount +00007FFD2B4809F | 45:33FF | xor r15d,r15d | +00007FFD2B4809F | 44:897B 54 | mov dword ptr ds:[rbx+0x54],r15d | +00007FFD2B4809F | F3:0F1173 34 | movss dword ptr ds:[rbx+0x34],xmm6 | offset m_flCurrentTime +00007FFD2B4809F | F3:0F1173 38 | movss dword ptr ds:[rbx+0x38],xmm6 | offset m_flCurrentTime2 +00007FFD2B480A0 | F344:0F115B 30 | movss dword ptr ds:[rbx+0x30],xmm11 | offset m_flIntervalPerSubTick +00007FFD2B480A0 | 48:8B06 | mov rax,qword ptr ds:[rsi] | +*/ + +class CGlobalVarsBase +{ +public: + CUSTOM_OFFSET_FIELD( float , m_flCurrentTime , 0x30 ); + CUSTOM_OFFSET_FIELD( float , m_flIntervalPerSubTick , 0x34 ); + CUSTOM_OFFSET_FIELD( int32_t , m_nTickCount , 0x48 ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CUserCmd.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CUserCmd.hpp new file mode 100644 index 0000000..4c7649d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/CUserCmd.hpp @@ -0,0 +1,83 @@ +#pragma once + +#include +#include + +#include +#include + +#include + +// https://cs2.poggu.me/reverse-engineering/enums/in-buttons +enum : uint64_t +{ + IN_ATTACK = 1 << 0 , + IN_JUMP = 1 << 1 , + IN_DUCK = 1 << 2 , + IN_FORWARD = 1 << 3 , + IN_BACK = 1 << 4 , + IN_USE = 1 << 5 , + IN_TURNLEFT = 1 << 7 , + IN_TURNRIGHT = 1 << 8 , + IN_MOVELEFT = 1 << 9 , + IN_MOVERIGHT = 1 << 10 , + IN_ATTACK2 = 1 << 11 , + IN_RELOAD = 1 << 13 , + IN_SPEED = 1 << 16 , + IN_JOYAUTOSPRINT = 1 << 17 , +}; + +class CInButtonState // maybe CInButtonStatePB didn't check +{ + void* vtable; +public: + uint64_t buttonstate1; + uint64_t buttonstate2; + uint64_t buttonstate3; +}; + +class CUserCmdArray +{ +public: + CUSTOM_OFFSET_FIELD( uint32 , m_nSequenceNumber , g_CUserCmdArray_m_nSequenceNumber ); +}; + +/* +class CUserCmd: CCSGOUserCmd +check first func for sizeof CUserCmd +*/ +#pragma pack(push, 1) +class CUserCmd +{ +private: + PAD( 0x10 ); +public: + CSGOUserCmdPB cmd; + CInButtonState button_states; +private: + PAD( 0x20 ); +}; +#pragma pack(pop) + +namespace google +{ + namespace protobuf + { +#undef max + + template + struct RepeatedPtrField_t + { + struct Rep_t + { + int m_nAllocatedSize; + T* m_tElements[( std::numeric_limits::max() - 2 * sizeof( int ) ) / sizeof( void* )]; + }; + + void* m_pArena; + int m_nCurrentSize; + int m_nTotalSize; + Rep_t* m_pRep; + }; + } +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/GameTrace.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/GameTrace.hpp new file mode 100644 index 0000000..4f6ee34 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/GameTrace.hpp @@ -0,0 +1,149 @@ +#pragma once + +#include +#include + +#include +#include +#include + +class C_BaseEntity; + +struct Ray_t +{ + Vector3 Start; + Vector3 End; + Vector3 Mins; + Vector3 Maxs; +private: + PAD( 0x4 ); +public: + uint8_t Type; +}; + +class CTraceInfo +{ +public: + float m_flUnk; + float m_flDistance; + float m_flDamage; + uint32_t m_nPenCount; + uint32_t m_nHandle; + uint32_t m_nPenetrationFlags; +}; + +struct TraceData_t +{ +private: + PAD( 0x8 ); +public: + void* m_pArrayPtr; +private: + PAD( 0x1810 ); +public: + int m_nCurrentSurface; + CTraceInfo* m_pTraceInfo; + int m_nTotalSurfaces; + void* m_pUnkPtr; +private: + PAD( 0xB8 ); +public: + Vector3 Start; + Vector3 End; +private: + PAD( 0x50 ); +}; + +class CHitBox +{ +public: + const char* szName; // 0x0 + const char* szSurfaceProperty; // 0x8 + const char* szBoneName; // 0x10 + Vector3 vecMinBounds; // 0x18 + Vector3 vecMaxBounds; // 0x24 + float flShapeRadius; // 0x30 + uint32_t uBoneNameHash; // 0x34 + int nGroupId; // 0x38 + uint8_t nShapeType; // 0x3C + bool bTranslationOnly; // 0x3D +private: + PAD( 0x2 ); // 0x3E +public: + uint32_t uCRC; // 0x40 + uint32_t colRender; // 0x44 + uint16_t nHitBoxIndex; // 0x48 +}; + +class CGameTrace +{ +public: + void* pSurfaceProperties; // 0x00 + C_BaseEntity* pHitEntity; // 0x08 + CHitBox* pHitBox; // 0x10 +private: + PAD( 0x38 ); // 0x18 +public: + uint32_t nSurfaceFlags; // 0x50 +private: + PAD( 0x24 ); // 0x54 +public: + Vector3 vecStart; // 0x78 // initial position + Vector3 vecEnd; // 0x84 // final position + Vector3 vecNormal; // 0x90 // surface normal at impact + Vector3 vecPosition; +private: + PAD( 0x4 ); +public: + float flFraction; // 0xAC // time completed, 1.0 = didn't hit anything +private: + PAD( 0x6 ); // 0xB0 +public: + uint8_t nShapeType; // 0xB6 + bool bStartSolid; // 0xB7 // if true, the initial point was in a solid area +private: + PAD( 0x9 ); +public: + + inline bool DidHit() const + { + return ( flFraction < 1.0f || bStartSolid ); + } + + inline bool IsVisible() const + { + return ( flFraction > 0.97f ); + } + + inline int GetHitGroup() + { + if ( pHitBox ) + return pHitBox->nGroupId; + + return 0; + } + + inline int GetHitBoxID() + { + if ( pHitBox ) + return static_cast( pHitBox->nHitBoxIndex ); + + return 0; + } +}; + +class CTraceFilter +{ +public: + CTraceFilter( std::uint64_t uMask , C_CSPlayerPawn* pPassEntity , int nLayer , uint16_t unkNum ) + { + CTraceFilter_Constructor( this , uMask , pPassEntity , nLayer , unkNum ); + } + +public: + virtual ~CTraceFilter() {} + virtual bool ShouldHitEntity( CEntityInstance* pEntity ) { return true; } + +private: + PAD( 0x38 ); +}; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp new file mode 100644 index 0000000..39cea83 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/SDK/Update/Offsets.hpp @@ -0,0 +1,66 @@ +#pragma once + +// 0F B7 40 ? 48 83 C4 20 5B C3 33 C0 48 83 C4 20 5B C3 +static constexpr auto g_CCollisionProperty_UnknownMask = 0x38; + +// Client.dll -> UpdateCompositeMaterial + offset == 48 81 C1 ? ? ? ? B2 ? E8 ? ? ? ? 48 8D 8B +static constexpr auto g_CompositeMaterialOffset = 0x5F8; + +// 48 8D 58 ? 49 89 4B +static constexpr auto g_CEconItemSchema_GetSortedItemDefinitionMap = 0x128; +static constexpr auto g_CEconItemSchema_GetPaintKits = 0x2F0; + +// E8 ? ? ? ? 48 85 C0 74 ? 48 8B 40 ? 4C 8B C7 +static constexpr auto g_CEconItemSchema_GetMusicKitDefinitions = 0x4D8; + +// Client.dll +/* +00007FFC381C3E9 | mov esi,dword ptr ds:[rax+0x2D8] | offset +00007FFC381C3E9 | cmp ebp,0x38 | 38:'8' +00007FFC381C3EA | jne client.7FFC381C3F12 | +00007FFC381C3EA | cmp esi,0x37 | 37:'7' +00007FFC381C3EA | jne client.7FFC381C3F12 | +00007FFC381C3EA | mov rcx,rdi | +00007FFC381C3EA | call client.7FFC38910F00 | +00007FFC381C3EA | mov rcx,rax | +00007FFC381C3EB | mov rdx,qword ptr ds:[rax] | +00007FFC381C3EB | call qword ptr ds:[rdx+0x48] | +00007FFC381C3EB | mov rcx,rax | +00007FFC381C3EB | lea rdx,qword ptr ds:[0x7FFC38FE39F8] | 00007FFC38FE39F8:"item_sub_position2" +*/ +// 8B B0 ? ? ? ? 83 FD ? 75 70 83 FE ? 75 6B 48 8B CF E8 +static constexpr auto g_CEconItemDefinition_GetLoadoutSlot = 0x338; + +// Vmt Index -> "67" -> "mov rax, qword ptr ds:[rcx+0x3FC60]" +static constexpr auto g_CCSInventoryManager_GetLocalInventory = 0x3FC60; + +static constexpr auto g_CCSPlayerInventory_CGCClientSharedObjectCache = 0x68; + +// 44 38 67 ? 0F 84 ? ? ? ? 48 8B 05 +static constexpr auto g_CCSGOInput_m_bInThirdPerson = 0x251; + +// 44 8B B0 ? ? ? ? 41 8B D6 +static constexpr auto g_CUserCmdArray_m_nSequenceNumber = 0x59A8; + +// 48 8B 8F ? ? ? ? 48 69 D0 +static constexpr auto g_CCSGOInput_m_pInputMoves = 0xB80; + +// F2 0F 11 84 1F +static constexpr auto g_CCSInputMoves_m_vecViewAngles = 0x430; + +/* +* CViewSetup: +00007FFD92B5A41 | 48:8D96 F8040000 | lea rdx,qword ptr ds:[rsi+0x4F8] | offset angView +00007FFD92B5A41 | 48:8D8E E0040000 | lea rcx,qword ptr ds:[rsi+0x4E0] | offset vecOrigin +00007FFD92B5A42 | E8 2850FFFF | call client.7FFD92B4F450 | +00007FFD92B5A42 | EB 38 | jmp client.7FFD92B5A462 | +00007FFD92B5A42 | F2:0F1086 E0040000 | movsd xmm0,qword ptr ds:[rsi+0x4E0] | +00007FFD92B5A43 | F2:0F1105 D6302301 | movsd qword ptr ds:[0x7FFD93D8D510],xmm0 | +00007FFD92B5A43 | 8B86 E8040000 | mov eax,dword ptr ds:[rsi+0x4E8] | +*/ +// 48 8D 96 ? ? ? ? 48 8D 8E ? ? ? ? E8 ? ? ? ? EB 38 F2 0F 10 86 ? ? ? ? F2 0F 11 ? ? ? ? ? 8B 86 +static constexpr auto g_CViewSetup_vecOrigin = 0x04E0; +static constexpr auto g_CViewSetup_angView = 0x04F8; + +// client.dll -> FF 81 ? ? ? ? 48 85 D2 +static constexpr auto g_OFFSET_CGameEntitySystem_GetHighestEntityIndex = 0x20F0; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Base64.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Base64.h new file mode 100644 index 0000000..aff85ff --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Base64.h @@ -0,0 +1,155 @@ +#pragma once + +#ifndef BASE64_H +#define BASE64_H + +#include +#include + +// maps A=>0,B=>1.. +const static unsigned char unb64[] = +{ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //10 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //20 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //30 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //40 + 0, 0, 0, 62, 0, 0, 0, 63, 52, 53, //50 + 54, 55, 56, 57, 58, 59, 60, 61, 0, 0, //60 + 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, //70 + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, //80 + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, //90 + 25, 0, 0, 0, 0, 0, 0, 26, 27, 28, //100 + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, //110 + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, //120 + 49, 50, 51, 0, 0, 0, 0, 0, 0, 0, //130 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //140 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //150 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //160 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //170 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //180 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //190 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //200 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //210 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //220 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //230 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //240 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //250 + 0, 0, 0, 0, 0, 0, +}; // This array has 256 elements + +__forceinline char* base64( const void* binaryData , int len , int* flen ) +{ + const unsigned char* bin = (const unsigned char*)binaryData; + char* res; + + int rc = 0; // result counter + int byteNo; // I need this after the loop + + int modulusLen = len % 3; + int pad = ( ( modulusLen & 1 ) << 1 ) + ( ( modulusLen & 2 ) >> 1 ); // 2 gives 1 and 1 gives 2, but 0 gives 0. + + *flen = 4 * ( len + pad ) / 3; + res = (char*)malloc( *flen + 1 ); // and one for the null + + if ( !res ) + { + puts( VmpStr( "ERROR: base64 could not allocate enough memory." ) ); + puts( VmpStr( "I must stop because I could not get enough" ) ); + return 0; + } + + const char* b64 = VmpStr( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" ); + + for ( byteNo = 0; byteNo <= len - 3; byteNo += 3 ) + { + unsigned char BYTE0 = bin[byteNo]; + unsigned char BYTE1 = bin[byteNo + 1]; + unsigned char BYTE2 = bin[byteNo + 2]; + res[rc++] = b64[BYTE0 >> 2]; + res[rc++] = b64[( ( 0x3 & BYTE0 ) << 4 ) + ( BYTE1 >> 4 )]; + res[rc++] = b64[( ( 0x0f & BYTE1 ) << 2 ) + ( BYTE2 >> 6 )]; + res[rc++] = b64[0x3f & BYTE2]; + } + + if ( pad == 2 ) + { + res[rc++] = b64[bin[byteNo] >> 2]; + res[rc++] = b64[( 0x3 & bin[byteNo] ) << 4]; + res[rc++] = '='; + res[rc++] = '='; + } + else if ( pad == 1 ) + { + res[rc++] = b64[bin[byteNo] >> 2]; + res[rc++] = b64[( ( 0x3 & bin[byteNo] ) << 4 ) + ( bin[byteNo + 1] >> 4 )]; + res[rc++] = b64[( 0x0f & bin[byteNo + 1] ) << 2]; + res[rc++] = '='; + } + + res[rc] = 0; // NULL TERMINATOR! ;) + return res; +} + +__forceinline char* unbase64( const char* ascii , int len , int* flen ) +{ + const unsigned char* safeAsciiPtr = (const unsigned char*)ascii; + char* bin = nullptr; + + int cb = 0; + int charNo; + int pad = 0; + + if ( len < 2 ) + { + puts( VmpStr( "ERROR: You passed an invalid base64 string (too short). You get NULL back." ) ); + *flen = 0; + return 0; + } + + if ( safeAsciiPtr[len - 1] == '=' ) ++pad; + if ( safeAsciiPtr[len - 2] == '=' ) ++pad; + + *flen = 3 * len / 4 - pad; + bin = (char*)malloc( *flen ); + + if ( !bin ) + { + puts( VmpStr( "ERROR: unbase64 could not allocate enough memory." ) ); + puts( VmpStr( "I must stop because I could not get enough" ) ); + + return 0; + } + + for ( charNo = 0; charNo <= len - 4 - pad; charNo += 4 ) + { + int A = unb64[safeAsciiPtr[charNo]]; + int B = unb64[safeAsciiPtr[charNo + 1]]; + int C = unb64[safeAsciiPtr[charNo + 2]]; + int D = unb64[safeAsciiPtr[charNo + 3]]; + + bin[cb++] = ( A << 2 ) | ( B >> 4 ); + bin[cb++] = ( B << 4 ) | ( C >> 2 ); + bin[cb++] = ( C << 6 ) | ( D ); + } + + if ( pad == 1 ) + { + int A = unb64[safeAsciiPtr[charNo]]; + int B = unb64[safeAsciiPtr[charNo + 1]]; + int C = unb64[safeAsciiPtr[charNo + 2]]; + + bin[cb++] = ( A << 2 ) | ( B >> 4 ); + bin[cb++] = ( B << 4 ) | ( C >> 2 ); + } + else if ( pad == 2 ) + { + int A = unb64[safeAsciiPtr[charNo]]; + int B = unb64[safeAsciiPtr[charNo + 1]]; + + bin[cb++] = ( A << 2 ) | ( B >> 4 ); + } + + return bin; +} + +#endif diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Common.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Common.hpp new file mode 100644 index 0000000..07b69bf --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Common.hpp @@ -0,0 +1,36 @@ +#pragma once + +#include +#include + +#include "Include/Config.hpp" +#include "Include/XorStr/XorStr.hpp" +#include "Include/VMProtect/VMProtectSDK.h" + +#include "DevLog.hpp" + +#if ENABLE_XOR_STR == 1 + +#define XorStr(str) xorstr_(str) + +#else + +#define XorStr(str) str + +#endif + +#if ENABLE_XOR_VMP_STR == 1 + +#define VmpStr(str) VMProtectDecryptStringA(str) + +#else + +#define VmpStr(str) str + +#endif + +#define CS_CLASS_NO_ASSIGNMENT(CLASS) \ + CLASS& operator=(CLASS&&) = delete; \ + CLASS& operator=(const CLASS&) = delete; + +#define IS_KEY_DOWN( KeyNum ) ( GetKeyState(KeyNum) & 0x100 ) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.cpp new file mode 100644 index 0000000..90df697 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.cpp @@ -0,0 +1,284 @@ +#include "CrashLog.hpp" +#include "DllLauncher.hpp" + +#include + +static CCrashLog g_CCrashLog{}; + +auto IsBadPtr( PVOID Ptr ) -> bool +{ + MEMORY_BASIC_INFORMATION mbi = { 0 }; + + if ( VirtualQuery( Ptr , &mbi , sizeof( mbi ) ) ) + { + DWORD mask = ( PAGE_READONLY | PAGE_READWRITE | PAGE_WRITECOPY | PAGE_EXECUTE_READ | PAGE_EXECUTE_READWRITE | PAGE_EXECUTE_WRITECOPY ); + + bool b = !( mbi.Protect & mask ); + + if ( mbi.Protect & ( PAGE_GUARD | PAGE_NOACCESS ) ) + b = true; + + return b; + } + + return true; +} + +auto CCrashLog::InitVectorExceptionHandler() -> void +{ + m_pVecExcHandler = AddVectoredExceptionHandler( 1 , VectoredExceptionHandler ); + + if ( !m_pVecExcHandler ) + MessageBoxW( 0 , L"Error AddVectoredExceptionHandler" , L"Error" , MB_ICONERROR ); +} + +auto CCrashLog::DestroyVectorExceptionHandler() -> void +{ + RemoveVectoredExceptionHandler( m_pVecExcHandler ); +} + +auto WINAPI CCrashLog::VectoredExceptionHandler( PEXCEPTION_POINTERS pExceptionInfo )->LONG +{ + const auto ExceptionCode = pExceptionInfo->ExceptionRecord->ExceptionCode; + auto ExceptionAddress = pExceptionInfo->ExceptionRecord->ExceptionAddress; + const auto CheatHinstance = GetDllLauncher()->GetDllImage(); + +#if ENABLE_CPP_EH_EXCEPTION == 1 + bool CPP_EH_EXCEPTION = false; + + CPP_EH_EXCEPTION_INFO* pCppExceptionInfo = nullptr; + + if ( ExceptionCode == 0xE06D7363 && pExceptionInfo->ExceptionRecord->NumberParameters == 4 ) + { + if ( pExceptionInfo->ExceptionRecord->ExceptionInformation[3] == (ULONG_PTR)CheatHinstance ) + { + pCppExceptionInfo = (CPP_EH_EXCEPTION_INFO*)pExceptionInfo->ExceptionRecord->ExceptionInformation[1]; + ExceptionAddress = pCppExceptionInfo->pExceptionAddress[0]; + + CPP_EH_EXCEPTION = true; + } + } +#endif + + if ( ExceptionCode == STATUS_ACCESS_VIOLATION ) + { + auto hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ , false , GetCurrentProcessId() ); + + if ( hProcess ) + { + char RaxModuleName[MAX_PATH] = { 0 }; + + if ( GetMappedFileNameA( hProcess , (PVOID)pExceptionInfo->ContextRecord->Rcx , RaxModuleName , MAX_PATH ) > 0 ) + { + if ( strstr( RaxModuleName , XorStr( "DiscordHook64.dll" ) ) != nullptr ) + { + CloseHandle( hProcess ); + + return EXCEPTION_CONTINUE_SEARCH; + } + } + + CloseHandle( hProcess ); + } + } + + std::string CrashModuleName; + std::string ModuleName; + +#if ENABLE_CPP_EH_EXCEPTION == 1 + if ( ExceptionCode == STATUS_ACCESS_VIOLATION || + ExceptionCode == STATUS_STACK_BUFFER_OVERRUN || + ExceptionCode == STATUS_STACK_OVERFLOW || + ExceptionCode == STATUS_BREAKPOINT || + CPP_EH_EXCEPTION ) +#else + if ( ExceptionCode == STATUS_ACCESS_VIOLATION || + ExceptionCode == STATUS_STACK_BUFFER_OVERRUN || + ExceptionCode == STATUS_STACK_OVERFLOW || + ExceptionCode == STATUS_BREAKPOINT ) +#endif + { + auto hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ , false , GetCurrentProcessId() ); + + if ( hProcess ) + { + GetCrashLog()->WriteCrashLogFile( XorStr( "Cheat Name: %s\n" ) , CHEAT_NAME ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Cheat Version: %s\n" ) , CHEAT_VERSION ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Cheat Hinstance: %p\n\n" ) , CheatHinstance ); + + char CrashModuleNameTmp[MAX_PATH] = { 0 }; + + if ( GetMappedFileNameA( hProcess , (PVOID)ExceptionAddress , CrashModuleNameTmp , MAX_PATH ) > 0 ) + { + CrashModuleName = CrashModuleNameTmp; + CrashModuleName = CrashModuleName.substr( CrashModuleName.find_last_of( '\\' ) + 1 ); + + const auto ModuleHinstance = GetModuleHandleA( CrashModuleName.c_str() ); + const auto ModuleCrashOffset = (uintptr_t)ExceptionAddress - (uintptr_t)ModuleHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Handle: %p\n" ) , ModuleHinstance ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Module: %s\n" ) , CrashModuleName.c_str() ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Offset: %X\n" ) , ModuleCrashOffset ); + } + + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Code: %X\n" ) , ExceptionCode ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Thread: %X\n" ) , GetCurrentThreadId() ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Exception Address: %p\n\n" ) , ExceptionAddress ); + +#if ENABLE_CPP_EH_EXCEPTION == 1 + if ( CPP_EH_EXCEPTION && pCppExceptionInfo ) + GetCrashLog()->WriteCrashLogFile( XorStr( "\nCPP_EH_EXCEPTION: %s\n\n" ) , pCppExceptionInfo->ExceptionInfo ); +#endif + + GetCrashLog()->WriteCrashLogFile( XorStr( "Rax: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rax ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rcx: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rcx ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rdx: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rdx ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rbx: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rbx ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rsp: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rsp ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rbp: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rbp ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rsi: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rsi ); + GetCrashLog()->WriteCrashLogFile( XorStr( "Rdi: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->Rdi ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R8: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R8 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R9: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R9 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R10: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R10 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R11: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R11 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R12: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R12 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R13: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R13 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R14: %p\n" ) , (PVOID)pExceptionInfo->ContextRecord->R14 ); + GetCrashLog()->WriteCrashLogFile( XorStr( "R15: %p\n\n" ) , (PVOID)pExceptionInfo->ContextRecord->R15 ); + + if ( GetCrashLog()->IsCrashCheat( ExceptionAddress ) ) + { + auto CheatOffset = (uintptr_t)ExceptionAddress - (uintptr_t)CheatHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "%s Offset: %X\n" ) , CHEAT_NAME , (uint32_t)CheatOffset ); + } + + PVOID pCallStackList[MAX_CALLSTACK_AND_STACK_LOG_COUNT] = { 0 }; + const auto NumFrameCaptured = RtlCaptureStackBackTrace( 4 , MAX_CALLSTACK_AND_STACK_LOG_COUNT , pCallStackList , nullptr ); + + if ( NumFrameCaptured ) + { + GetCrashLog()->WriteCrashLogFile( XorStr( "\nCALLSTACK:\n" ) ); + + for ( uint32_t i = 0; i < NumFrameCaptured; i++ ) + { + auto pStack = pCallStackList[i]; + + if ( GetCrashLog()->IsCrashCheat( pStack ) ) + { + const auto CheatOffset = (uintptr_t)pStack - (uintptr_t)CheatHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "CallStack (%i): %p (%s) -> %X\n" ) , i , pStack , CHEAT_NAME , (uint32_t)CheatOffset ); + } + else + { + char ModuleNameTmp[MAX_PATH] = { 0 }; + + if ( pStack && GetMappedFileNameA( hProcess , (PVOID)pStack , ModuleNameTmp , MAX_PATH ) > 0 ) + { + ModuleName = ModuleNameTmp; + ModuleName = ModuleName.substr( ModuleName.find_last_of( '\\' ) + 1 ); + + const auto ModuleHinstance = GetModuleHandleA( ModuleName.c_str() ); + const auto ModuleCrashOffset = (uintptr_t)pStack - (uintptr_t)ModuleHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "CallStack (%i): %p (%s) -> %X\n" ) , i , pStack , ModuleName.c_str() , (uint32_t)ModuleCrashOffset ); + } + } + } + } + + GetCrashLog()->WriteCrashLogFile( XorStr( "\n\nFULLSTACK:\n" ) ); + + for ( uint32_t i = 0; i < MAX_CALLSTACK_AND_STACK_LOG_COUNT; i++ ) + { + const auto RSP = pExceptionInfo->ContextRecord->Rsp; + const auto RSP_Ptr = (uintptr_t)RSP + ( i * sizeof( PVOID ) ); + + if ( IsBadPtr( (PVOID)RSP_Ptr ) == false ) + { + const auto RSP_Data = *(uintptr_t*)RSP_Ptr; + + if ( GetCrashLog()->IsCrashCheat( (PVOID)RSP_Data ) ) + { + const auto CheatOffset = (uintptr_t)RSP_Data - (uintptr_t)CheatHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "Stack (%i): %p (%s) -> %X\n" ) , i , (PVOID)RSP_Data , CHEAT_NAME , (uint32_t)CheatOffset ); + } + else + { + char ModuleNameTmp[MAX_PATH] = { 0 }; + + if ( GetMappedFileNameA( hProcess , (PVOID)RSP_Data , ModuleNameTmp , MAX_PATH ) > 0 ) + { + ModuleName = ModuleNameTmp; + ModuleName = ModuleName.substr( ModuleName.find_last_of( '\\' ) + 1 ); + + const auto ModuleHinstance = GetModuleHandleA( ModuleName.c_str() ); + const auto ModuleCrashOffset = (uintptr_t)RSP_Data - (uintptr_t)ModuleHinstance; + + GetCrashLog()->WriteCrashLogFile( XorStr( "Stack (%i): %p (%s) -> %X\n" ) , i , (PVOID)RSP_Data , ModuleName.c_str() , (uint32_t)ModuleCrashOffset ); + } + else + { + GetCrashLog()->WriteCrashLogFile( XorStr( "Stack (%i): %p\n" ) , i , (PVOID)RSP_Data ); + } + } + } + else + { + break; + } + } + + CloseHandle( hProcess ); + } + } + + return EXCEPTION_CONTINUE_SEARCH; +} + +auto CCrashLog::WriteCrashLogFile( const char* fmt , ... ) -> void +{ + std::lock_guard lk( m_Lock ); + + char buff[4096] = { 0 }; + + va_list args; + va_start( args , fmt ); + vsnprintf( buff , sizeof( buff ) - 1 , fmt , args ); + va_end( args ); + + DEV_LOG( "%s" , buff ); +} + +auto CCrashLog::IsCrashCheat( PVOID Address ) -> bool +{ + const auto CheatStart = GetDllLauncher()->GetDllImage(); + const auto CheatEnd = CheatStart + GetDllLauncher()->GetSizeOfImage(); + + if ( (uintptr_t)Address > (uintptr_t)CheatStart && (uintptr_t)Address < (uintptr_t)CheatEnd ) + return true; + + return false; +} + +auto CCrashLog::GetCurrentDateTime() -> std::wstring +{ + time_t now = time( 0 ); + tm tstruct = { 0 }; + char buf[80] = { 0 }; + + localtime_s( &tstruct , &now ); + strftime( buf , sizeof( buf ) , XorStr( "%d.%m.%Y.%H.%M.%S" ) , &tstruct ); + + std::string StrBuf( buf ); + + return std::wstring( StrBuf.begin() , StrBuf.end() ); +} + +auto GetCrashLog() -> CCrashLog* +{ + return &g_CCrashLog; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.hpp new file mode 100644 index 0000000..2540c0a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/CrashLog.hpp @@ -0,0 +1,39 @@ +#pragma once + +#include "Common.hpp" + +struct CPP_EH_EXCEPTION_INFO +{ + PVOID* pExceptionAddress = nullptr; + const char* ExceptionInfo = nullptr; + int AddressCount = 0; +}; + +class CCrashLog final +{ +public: + auto InitVectorExceptionHandler() -> void; + auto DestroyVectorExceptionHandler() -> void; + +private: + static auto WINAPI VectoredExceptionHandler( PEXCEPTION_POINTERS pExceptionInfo ) -> LONG; + +private: + auto WriteCrashLogFile( const char* fmt , ... ) -> void; + +private: + auto IsCrashCheat( PVOID Address ) -> bool; + +private: + auto GetCurrentDateTime() -> std::wstring; + +private: + PVOID m_pVecExcHandler = nullptr; + +public: + std::recursive_mutex m_Lock; + + static constexpr auto MAX_CALLSTACK_AND_STACK_LOG_COUNT = 256; +}; + +auto GetCrashLog() -> CCrashLog*; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.cpp new file mode 100644 index 0000000..8252efb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.cpp @@ -0,0 +1,89 @@ +#include "DevLog.hpp" + +#include "Include/Config.hpp" +#include "DllLauncher.hpp" + +#if ENABLE_CONSOLE_DEBUG == 1 + +#include +#include +#include +#include + +#endif + +static CDevLog g_DevLog{}; + +auto CDevLog::Init() -> void +{ +#if ENABLE_CONSOLE_DEBUG == 1 + AllocConsole(); + + SetConsoleCP( CP_UTF8 ); + SetConsoleOutputCP( CP_UTF8 ); + + // Get STDOUT handle + HANDLE ConsoleOutput = GetStdHandle( STD_OUTPUT_HANDLE ); + int SystemOutput = _open_osfhandle( intptr_t( ConsoleOutput ) , _O_TEXT ); + COutputHandle = _fdopen( SystemOutput , XorStr( "w" ) ); + + // Get STDERR handle + HANDLE ConsoleError = GetStdHandle( STD_ERROR_HANDLE ); + int SystemError = _open_osfhandle( intptr_t( ConsoleError ) , _O_TEXT ); + CErrorHandle = _fdopen( SystemError , XorStr( "w" ) ); + + // Redirect the CRT standard input, output, and error handles to the console + freopen_s( &COutputHandle , XorStr( "CONOUT$" ) , XorStr( "w" ) , stdout ); + freopen_s( &CErrorHandle , XorStr( "CONOUT$" ) , XorStr( "w" ) , stderr ); + + std::wcout.clear(); + std::cout.clear(); + std::wcerr.clear(); + std::cerr.clear(); +#endif + + const auto LogFile = GetDllDir() + LOG_FILE; + + hLogFile = CreateFileA( LogFile.c_str() , GENERIC_WRITE , FILE_SHARE_READ , 0 , CREATE_ALWAYS , FILE_ATTRIBUTE_NORMAL , 0 ); +} + +auto CDevLog::Destroy() -> void +{ +#if ENABLE_CONSOLE_DEBUG == 1 + if ( CErrorHandle && COutputHandle ) + { + fflush( CErrorHandle ); + fflush( COutputHandle ); + + FreeConsole(); + + fclose( CErrorHandle ); + fclose( COutputHandle ); + } +#endif + + CloseHandle( hLogFile ); +} + +auto CDevLog::AddLog( const char* fmt , ... ) -> void +{ + std::lock_guard lk( m_Lock ); + + char buff[4096] = { 0 }; + + va_list args; + va_start( args , fmt ); + vsnprintf( buff , sizeof( buff ) - 1 , fmt , args ); + va_end( args ); + +#if ENABLE_CONSOLE_DEBUG == 1 + printf( XorStr( "%s" ) , buff ); +#endif + + WriteFile( hLogFile , (PVOID)buff , lstrlenA( buff ) , 0 , 0 ); +} + +auto GetDevLog() -> CDevLog* +{ + return &g_DevLog; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.hpp new file mode 100644 index 0000000..41c663e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/DevLog.hpp @@ -0,0 +1,34 @@ +#pragma once + +#include "Common.hpp" + +#include +#include + +class CDevLog final +{ +public: + auto Init() -> void; + auto Destroy() -> void; + +public: + auto AddLog( const char* fmt , ... ) -> void; + +private: + +#if ENABLE_CONSOLE_DEBUG == 1 + FILE* COutputHandle = nullptr; + FILE* CErrorHandle = nullptr; +#endif + +public: + HANDLE hLogFile = INVALID_HANDLE_VALUE; + +private: + std::recursive_mutex m_Lock; +}; + +auto GetDevLog() -> CDevLog*; + +#define DEV_LOG( fmt , ... ) \ + GetDevLog()->AddLog( XorStr( fmt ) , __VA_ARGS__ ) diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.cpp new file mode 100644 index 0000000..7c8e852 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.cpp @@ -0,0 +1,24 @@ +#include "ModuleLoaderHelper.hpp" + +auto IsModuleLoad( const char* szModule , DWORD dwMsec ) -> bool +{ + HMODULE hModule = GetModuleHandleA( szModule ); + + if ( !hModule ) + { + DWORD dwMsecFind = 0; + + while ( !hModule ) + { + if ( dwMsecFind == dwMsec ) + return false; + + hModule = GetModuleHandleA( szModule ); + + Sleep( 1000 ); + dwMsecFind++; + } + } + + return true; +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.hpp new file mode 100644 index 0000000..8424ede --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/ModuleLoaderHelper.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include "Common/Common.hpp" + +auto IsModuleLoad( const char* szModule , DWORD dwMsec = 120 ) -> bool; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.cpp new file mode 100644 index 0000000..70f7905 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.cpp @@ -0,0 +1,69 @@ +#include "StringHelper.hpp" + +auto unicode_to_utf8( const std::wstring& str ) -> std::string +{ + char utf8[2048] = { 0 }; + WideCharToMultiByte( CP_UTF8 , 0u , str.c_str() , -1 , utf8 , 2048 , nullptr , nullptr); + return utf8; +} + +auto unicode_to_ansi( const std::wstring& str ) -> std::string +{ + char ansi[2048] = { 0 }; + WideCharToMultiByte( CP_ACP , 0u , str.c_str() , -1 , ansi , 2048 , nullptr , nullptr); + return ansi; +} + +auto ansi_to_unicode( const std::string& str )->std::wstring +{ + wchar_t unicode[2048] = { 0 }; + MultiByteToWideChar( CP_UTF8 , 0 , str.c_str() , -1 , unicode , 2048 ); + return unicode; +} + +auto ansi_to_utf8( const std::string& str ) -> std::string +{ + // ansi to unicode + wchar_t unicode[2048] = { 0 }; + MultiByteToWideChar( CP_ACP , 0u , str.c_str() , -1 , unicode , 2048 ); + // unicode to utf8 + return unicode_to_utf8( unicode ); +} + +auto utf8_to_ansi( const std::string& str ) -> std::string +{ + // utf8 to unicode + wchar_t unicode[2048] = { 0 }; + MultiByteToWideChar( CP_UTF8 , 0u , str.c_str() , -1 , unicode , 2048 ); + // unicode to ansi + return unicode_to_ansi( unicode ); +} + +auto SplitString( const std::string& text , const std::string& delims ) -> std::vector +{ + std::vector tokens; + size_t start = text.find_first_not_of( delims ) , end = 0; + + while ( ( end = text.find_first_of( delims , start ) ) != std::string::npos ) + { + tokens.push_back( text.substr( start , end - start ) ); + start = text.find_first_not_of( delims , end ); + } + + if ( start != std::string::npos ) + tokens.push_back( text.substr( start ) ); + + return tokens; +} + +auto GetBufferFmtString( const char* fmt , ... ) -> std::string +{ + char Buffer[256] = { 0 }; + + va_list va_alist; + va_start( va_alist , fmt ); + vsnprintf( Buffer , sizeof( Buffer ) , fmt , va_alist ); + va_end( va_alist ); + + return std::string( Buffer ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.hpp new file mode 100644 index 0000000..4256bad --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Helpers/StringHelper.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include +#include + +auto unicode_to_utf8( const std::wstring& unicode )->std::string; +auto unicode_to_ansi( const std::wstring& str )->std::string; + +auto ansi_to_unicode( const std::string& str )->std::wstring; + +auto ansi_to_utf8( const std::string& str ) -> std::string; +auto utf8_to_ansi( const std::string& str ) -> std::string; + +auto SplitString( const std::string& text , const std::string& delims ) -> std::vector; +auto GetBufferFmtString( const char* fmt , ... ) -> std::string; diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp new file mode 100644 index 0000000..baf1c26 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Config.hpp @@ -0,0 +1,31 @@ +#pragma once + +// Project Configuration: + +#define LOG_FILE "debug.log" +#define GUI_FILE "gui.ini" +#define CONFIG_FILE "config.json" + +#define CHEAT_NAME "Andromeda CS2 Base" +#define CHEAT_VERSION "1.0.0" + +// Project Buid Config: + +#ifdef RELEASE_BUILD + +#define ENABLE_CONSOLE_DEBUG 1 +#define ENABLE_MANUAL_MAP 0 +#define ENABLE_CPP_EH_EXCEPTION 0 + +#define DISABLE_INVENTORY 1 + +#define LOG_SDK 0 +#define LOG_SDK_PATTERN 0 + +#define ENABLE_XOR_STR 0 +#define ENABLE_XOR_VMP_STR 0 + +#define DUMP_SCHEMA_SCOPE_LIST 0 +#define DUMP_SCHEMA_ALL_OFFSET 0 + +#endif // RELEASE_BUILD diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1ColorRGBA.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1ColorRGBA.h new file mode 100644 index 0000000..43918b7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1ColorRGBA.h @@ -0,0 +1,45 @@ +// CFW1ColorRGBA.h + +#ifndef IncludeGuard__FW1_CFW1ColorRGBA +#define IncludeGuard__FW1_CFW1ColorRGBA + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// A color +class CFW1ColorRGBA : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1Color32 + virtual void STDMETHODCALLTYPE SetColor(UINT32 Color); + virtual void STDMETHODCALLTYPE SetColor(FLOAT Red, FLOAT Green, FLOAT Blue, FLOAT Alpha); + virtual void STDMETHODCALLTYPE SetColor(const FLOAT *pColor); + virtual void STDMETHODCALLTYPE SetColor(const BYTE *pColor); + + virtual UINT32 STDMETHODCALLTYPE GetColor32(); + + // Public functions + public: + CFW1ColorRGBA(); + + HRESULT initColor(IFW1Factory *pFW1Factory, UINT32 initialColor32); + + // Internal functions + private: + virtual ~CFW1ColorRGBA(); + + // Internal data + private: + UINT32 m_color32; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1ColorRGBA diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1DWriteRenderTarget.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1DWriteRenderTarget.h new file mode 100644 index 0000000..540fecb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1DWriteRenderTarget.h @@ -0,0 +1,82 @@ +// CFW1DWriteRenderTarget.h + +#ifndef IncludeGuard__FW1_CFW1DWriteRenderTarget +#define IncludeGuard__FW1_CFW1DWriteRenderTarget + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Render target that provides pixels of one glyph-image at a time +class CFW1DWriteRenderTarget : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1DWriteRenderTarget + virtual HRESULT STDMETHODCALLTYPE DrawGlyphTemp( + IDWriteFontFace *pFontFace, + UINT16 GlyphIndex, + FLOAT FontSize, + DWRITE_RENDERING_MODE RenderingMode, + DWRITE_MEASURING_MODE MeasuringMode, + FW1_GLYPHIMAGEDATA *pOutData + ); + + // Public functions + public: + CFW1DWriteRenderTarget(); + + HRESULT initRenderTarget( + IFW1Factory *pFW1Factory, + IDWriteFactory *pDWriteFactory, + UINT renderTargetWidth, + UINT renderTargetHeight + ); + + // Internal types + private: + struct DWGlyphData { + FLOAT offsetX; + FLOAT offsetY; + LONG maxWidth; + LONG maxHeight; + }; + + typedef std::map RenderingParamsMap; + + // Internal functions + private: + virtual ~CFW1DWriteRenderTarget(); + + HRESULT createRenderTarget(IDWriteFactory *pDWriteFactory); + + void initGlyphData( + const DWRITE_FONT_METRICS *fontMetrics, + const DWRITE_GLYPH_METRICS *glyphMetrics, + FLOAT fontSize, + DWGlyphData *outGlyphData + ); + + // Internal data + private: + std::wstring m_lastError; + + IDWriteBitmapRenderTarget *m_pRenderTarget; + HDC m_hDC; + HBRUSH m_hBlackBrush; + LPVOID m_bmBits; + UINT m_bmWidthBytes; + UINT m_bmBytesPixel; + UINT m_renderTargetWidth; + UINT m_renderTargetHeight; + RenderingParamsMap m_renderingParams; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1DWriteRenderTarget diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Factory.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Factory.h new file mode 100644 index 0000000..2afae3b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Factory.h @@ -0,0 +1,128 @@ +// CFW1Factory.h + +#ifndef IncludeGuard__FW1_CFW1Factory +#define IncludeGuard__FW1_CFW1Factory + + +namespace FW1FontWrapper { + + +// Factory that creates FW1 objects +class CFW1Factory : public IFW1Factory { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); + + // IFW1Factory + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + ID3D11Device *pDevice, + LPCWSTR pszFontFamily, + IFW1FontWrapper **ppFontWrapper + ); + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + ID3D11Device *pDevice, + IDWriteFactory *pDWriteFactory, + const FW1_FONTWRAPPERCREATEPARAMS *pCreateParams, + IFW1FontWrapper **ppFontWrapper + ); + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + ID3D11Device *pDevice, + IFW1GlyphAtlas *pGlyphAtlas, + IFW1GlyphProvider *pGlyphProvider, + IFW1GlyphVertexDrawer *pGlyphVertexDrawer, + IFW1GlyphRenderStates *pGlyphRenderStates, + IDWriteFactory *pDWriteFactory, + const FW1_DWRITEFONTPARAMS *pDefaultFontParams, + IFW1FontWrapper **ppFontWrapper + ); + virtual HRESULT STDMETHODCALLTYPE CreateGlyphVertexDrawer( + ID3D11Device *pDevice, + UINT VertexBufferSize, + IFW1GlyphVertexDrawer **ppGlyphVertexDrawer + ); + virtual HRESULT STDMETHODCALLTYPE CreateGlyphRenderStates( + ID3D11Device *pDevice, + BOOL DisableGeometryShader, + BOOL AnisotropicFiltering, + IFW1GlyphRenderStates **ppGlyphRenderStates + ); + virtual HRESULT STDMETHODCALLTYPE CreateTextRenderer( + IFW1GlyphProvider *pGlyphProvider, + IFW1TextRenderer **ppTextRenderer + ); + virtual HRESULT STDMETHODCALLTYPE CreateTextGeometry( + IFW1TextGeometry **ppTextGeometry + ); + virtual HRESULT STDMETHODCALLTYPE CreateGlyphProvider( + IFW1GlyphAtlas *pGlyphAtlas, + IDWriteFactory *pDWriteFactory, + IDWriteFontCollection *pFontCollection, + UINT MaxGlyphWidth, + UINT MaxGlyphHeight, + IFW1GlyphProvider **ppGlyphProvider + ); + virtual HRESULT STDMETHODCALLTYPE CreateDWriteRenderTarget( + IDWriteFactory *pDWriteFactory, + UINT RenderTargetWidth, + UINT RenderTargetHeight, + IFW1DWriteRenderTarget **ppRenderTarget + ); + virtual HRESULT STDMETHODCALLTYPE CreateGlyphAtlas( + ID3D11Device *pDevice, + UINT GlyphSheetWidth, + UINT GlyphSheetHeight, + BOOL HardwareCoordBuffer, + BOOL AllowOversizedGlyph, + UINT MaxGlyphCountPerSheet, + UINT MipLevels, + UINT MaxGlyphSheetCount, + IFW1GlyphAtlas **ppGlyphAtlas + ); + virtual HRESULT STDMETHODCALLTYPE CreateGlyphSheet( + ID3D11Device *pDevice, + UINT GlyphSheetWidth, + UINT GlyphSheetHeight, + BOOL HardwareCoordBuffer, + BOOL AllowOversizedGlyph, + UINT MaxGlyphCount, + UINT MipLevels, + IFW1GlyphSheet **ppGlyphSheet + ); + virtual HRESULT STDMETHODCALLTYPE CreateColor( + UINT32 Color, + IFW1ColorRGBA **ppColor + ); + + // Public functions + public: + CFW1Factory(); + + HRESULT initFactory(); + + // Internal functions + private: + virtual ~CFW1Factory(); + + HRESULT createDWriteFactory(IDWriteFactory **ppDWriteFactory); + + void setErrorString(const wchar_t *str); + + // Internal data + private: + ULONG m_cRefCount; + + std::wstring m_lastError; + CRITICAL_SECTION m_errorStringCriticalSection; + + private: + CFW1Factory(const CFW1Factory&); + CFW1Factory& operator=(const CFW1Factory&); +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1Factory diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1FontWrapper.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1FontWrapper.h new file mode 100644 index 0000000..370e799 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1FontWrapper.h @@ -0,0 +1,171 @@ +// CFW1FontWrapper.h + +#ifndef IncludeGuard__FW1_CFW1FontWrapper +#define IncludeGuard__FW1_CFW1FontWrapper + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Font-wrapper simplifying drawing strings and text-layouts +class CFW1FontWrapper : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1FontWrapper + virtual HRESULT STDMETHODCALLTYPE GetFactory(IFW1Factory **ppFactory); + + virtual HRESULT STDMETHODCALLTYPE GetDevice(ID3D11Device **ppDevice); + virtual HRESULT STDMETHODCALLTYPE GetDWriteFactory(IDWriteFactory **ppDWriteFactory); + virtual HRESULT STDMETHODCALLTYPE GetGlyphAtlas(IFW1GlyphAtlas **ppGlyphAtlas); + virtual HRESULT STDMETHODCALLTYPE GetGlyphProvider(IFW1GlyphProvider **ppGlyphProvider); + virtual HRESULT STDMETHODCALLTYPE GetRenderStates(IFW1GlyphRenderStates **ppRenderStates); + virtual HRESULT STDMETHODCALLTYPE GetVertexDrawer(IFW1GlyphVertexDrawer **ppVertexDrawer); + + virtual void STDMETHODCALLTYPE DrawTextLayout( + ID3D11DeviceContext *pContext, + IDWriteTextLayout *pTextLayout, + FLOAT OriginX, + FLOAT OriginY, + UINT32 Color, + UINT Flags + ); + virtual void STDMETHODCALLTYPE DrawTextLayout( + ID3D11DeviceContext *pContext, + IDWriteTextLayout *pTextLayout, + FLOAT OriginX, + FLOAT OriginY, + UINT32 Color, + const FW1_RECTF *pClipRect, + const FLOAT *pTransformMatrix, + UINT Flags + ); + + virtual void STDMETHODCALLTYPE DrawString( + ID3D11DeviceContext *pContext, + const WCHAR *pszString, + FLOAT FontSize, + FLOAT X, + FLOAT Y, + UINT32 Color, + UINT Flags + ); + virtual void STDMETHODCALLTYPE DrawString( + ID3D11DeviceContext *pContext, + const WCHAR *pszString, + const WCHAR *pszFontFamily, + FLOAT FontSize, + FLOAT X, + FLOAT Y, + UINT32 Color, + UINT Flags + ); + virtual void STDMETHODCALLTYPE DrawString( + ID3D11DeviceContext *pContext, + const WCHAR *pszString, + const WCHAR *pszFontFamily, + FLOAT FontSize, + const FW1_RECTF *pLayoutRect, + UINT32 Color, + const FW1_RECTF *pClipRect, + const FLOAT *pTransformMatrix, + UINT Flags + ); + + virtual FW1_RECTF STDMETHODCALLTYPE MeasureString( + const WCHAR *pszString, + const WCHAR *pszFontFamily, + FLOAT FontSize, + const FW1_RECTF *pLayoutRect, + UINT Flags + ); + + virtual void STDMETHODCALLTYPE AnalyzeString( + ID3D11DeviceContext *pContext, + const WCHAR *pszString, + const WCHAR *pszFontFamily, + FLOAT FontSize, + const FW1_RECTF *pLayoutRect, + UINT32 Color, + UINT Flags, + IFW1TextGeometry *pTextGeometry + ); + + virtual void STDMETHODCALLTYPE AnalyzeTextLayout( + ID3D11DeviceContext *pContext, + IDWriteTextLayout *pTextLayout, + FLOAT OriginX, + FLOAT OriginY, + UINT32 Color, + UINT Flags, + IFW1TextGeometry *pTextGeometry + ); + + virtual void STDMETHODCALLTYPE DrawGeometry( + ID3D11DeviceContext *pContext, + IFW1TextGeometry *pGeometry, + const FW1_RECTF *pClipRect, + const FLOAT *pTransformMatrix, + UINT Flags + ); + + virtual void STDMETHODCALLTYPE Flush(ID3D11DeviceContext *pContext); + + // Public functions + public: + CFW1FontWrapper(); + + HRESULT initFontWrapper( + IFW1Factory *pFW1Factory, + ID3D11Device *pDevice, + IFW1GlyphAtlas *pGlyphAtlas, + IFW1GlyphProvider *pGlyphProvider, + IFW1GlyphVertexDrawer *pGlyphVertexDrawer, + IFW1GlyphRenderStates *pGlyphRenderStates, + IDWriteFactory *pDWriteFactory, + const FW1_DWRITEFONTPARAMS *pDefaultFontParams + ); + + // Internal functions + private: + virtual ~CFW1FontWrapper(); + + IDWriteTextLayout* createTextLayout( + const WCHAR *pszString, + const WCHAR *pszFontFamily, + FLOAT fontSize, + const FW1_RECTF *pLayoutRect, + UINT flags + ); + + // Internal data + private: + std::wstring m_lastError; + + ID3D11Device *m_pDevice; + D3D_FEATURE_LEVEL m_featureLevel; + IDWriteFactory *m_pDWriteFactory; + + IFW1GlyphAtlas *m_pGlyphAtlas; + IFW1GlyphProvider *m_pGlyphProvider; + + IFW1GlyphRenderStates *m_pGlyphRenderStates; + IFW1GlyphVertexDrawer *m_pGlyphVertexDrawer; + + CRITICAL_SECTION m_textRenderersCriticalSection; + std::stack m_textRenderers; + CRITICAL_SECTION m_textGeometriesCriticalSection; + std::stack m_textGeometries; + + bool m_defaultTextInited; + IDWriteTextFormat *m_pDefaultTextFormat; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1FontWrapper diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphAtlas.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphAtlas.h new file mode 100644 index 0000000..5e23bd9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphAtlas.h @@ -0,0 +1,83 @@ +// CFW1GlyphAtlas.h + +#ifndef IncludeGuard__FW1_CFW1GlyphAtlas +#define IncludeGuard__FW1_CFW1GlyphAtlas + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +class CFW1GlyphAtlas : public CFW1Object { + // Interface + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1GlyphAtlas + virtual HRESULT STDMETHODCALLTYPE GetDevice(ID3D11Device **ppDevice); + + virtual UINT STDMETHODCALLTYPE GetTotalGlyphCount(); + virtual UINT STDMETHODCALLTYPE GetSheetCount(); + + virtual HRESULT STDMETHODCALLTYPE GetSheet(UINT SheetIndex, IFW1GlyphSheet **ppGlyphSheet); + + virtual const FW1_GLYPHCOORDS* STDMETHODCALLTYPE GetGlyphCoords(UINT SheetIndex); + virtual HRESULT STDMETHODCALLTYPE BindSheet(ID3D11DeviceContext *pContext, UINT SheetIndex, UINT Flags); + + virtual UINT STDMETHODCALLTYPE InsertGlyph( + const FW1_GLYPHMETRICS *pGlyphMetrics, + const void *pGlyphData, + UINT RowPitch, + UINT PixelStride + ); + virtual UINT STDMETHODCALLTYPE InsertSheet(IFW1GlyphSheet *pGlyphSheet); + virtual void STDMETHODCALLTYPE Flush(ID3D11DeviceContext *pContext); + + // Public functions + public: + CFW1GlyphAtlas(); + + HRESULT initGlyphAtlas( + IFW1Factory *pFW1Factory, + ID3D11Device *pDevice, + UINT sheetWidth, + UINT sheetHeight, + bool coordBuffer, + bool allowOversizedTexture, + UINT maxGlyphCountPerSheet, + UINT mipLevelCount, + UINT maxSheetCount + ); + + // Internal functions + private: + virtual ~CFW1GlyphAtlas(); + + HRESULT createGlyphSheet(IFW1GlyphSheet **ppGlyphSheet); + + // Internal data + private: + ID3D11Device *m_pDevice; + UINT m_sheetWidth; + UINT m_sheetHeight; + bool m_hardwareCoordBuffer; + bool m_allowOversizedGlyph; + UINT m_maxGlyphCount; + UINT m_mipLevelCount; + + IFW1GlyphSheet **m_glyphSheets; + UINT m_sheetCount; + UINT m_maxSheetCount; + UINT m_currentSheetIndex; + UINT m_flushedSheetIndex; + + CRITICAL_SECTION m_glyphSheetsCriticalSection; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1GlyphAtlas diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphProvider.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphProvider.h new file mode 100644 index 0000000..c05b1d9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphProvider.h @@ -0,0 +1,104 @@ +// CFW1GlyphProvider.h + +#ifndef IncludeGuard__FW1_CFW1GlyphProvider +#define IncludeGuard__FW1_CFW1GlyphProvider + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Fonts and glyphs-maps collection to match glyphs to images in a glyph-atlas +class CFW1GlyphProvider : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1GlyphProvider + virtual HRESULT STDMETHODCALLTYPE GetGlyphAtlas(IFW1GlyphAtlas **ppGlyphAtlas); + virtual HRESULT STDMETHODCALLTYPE GetDWriteFactory(IDWriteFactory **ppDWriteFactory); + virtual HRESULT STDMETHODCALLTYPE GetDWriteFontCollection(IDWriteFontCollection **ppFontCollection); + + virtual const void* STDMETHODCALLTYPE GetGlyphMapFromFont( + IDWriteFontFace *pFontFace, + FLOAT FontSize, + UINT FontFlags + ); + virtual UINT STDMETHODCALLTYPE GetAtlasIdFromGlyphIndex( + const void* pGlyphMap, + UINT16 GlyphIndex, + IDWriteFontFace *pFontFace, + UINT FontFlags + ); + + // Public functions + public: + CFW1GlyphProvider(); + + HRESULT initGlyphProvider( + IFW1Factory *pFW1Factory, + IFW1GlyphAtlas *pGlyphAtlas, + IDWriteFactory *pDWriteFactory, + IDWriteFontCollection *pFontCollection, + UINT maxGlyphWidth, + UINT maxGlyphHeight + ); + + // Internal types + private: + struct GlyphMap { + FLOAT fontSize; + UINT fontFlags; + + UINT *glyphs; + UINT glyphCount; + }; + + struct FontInfo { + IDWriteFontFace *pFontFace; + std::wstring uniqueName; + }; + + typedef std::pair > FontId; + typedef std::map FontMap; + + FontId makeFontId(UINT fontIndex, UINT fontFlags, FLOAT fontSize) { + UINT relevantFlags = (fontFlags & (FW1_ALIASED)); + return std::make_pair(fontIndex, std::make_pair(relevantFlags, fontSize)); + } + + // Internal functions + private: + virtual ~CFW1GlyphProvider(); + + UINT getFontIndexFromFontFace(IDWriteFontFace *pFontFace); + std::wstring getUniqueNameFromFontFace(IDWriteFontFace *pFontFace); + + UINT insertNewGlyph(GlyphMap *glyphMap, UINT16 glyphIndex, IDWriteFontFace *pFontFace); + + // Internal data + private: + IFW1GlyphAtlas *m_pGlyphAtlas; + + IDWriteFactory *m_pDWriteFactory; + UINT m_maxGlyphWidth; + UINT m_maxGlyphHeight; + std::stack m_glyphRenderTargets; + + IDWriteFontCollection *m_pFontCollection; + std::vector m_fonts; + + FontMap m_fontMap; + + CRITICAL_SECTION m_renderTargetsCriticalSection; + CRITICAL_SECTION m_glyphMapsCriticalSection; + CRITICAL_SECTION m_fontsCriticalSection; + CRITICAL_SECTION m_insertGlyphCriticalSection; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1GlyphProvider diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphRenderStates.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphRenderStates.h new file mode 100644 index 0000000..2427a64 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphRenderStates.h @@ -0,0 +1,91 @@ +// CFW1GlyphRenderStates.h + +#ifndef IncludeGuard__FW1_CFW1GlyphRenderStates +#define IncludeGuard__FW1_CFW1GlyphRenderStates + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Shader etc. needed to draw glyphs +class CFW1GlyphRenderStates : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1GlyphRenderStates + virtual HRESULT STDMETHODCALLTYPE GetDevice(ID3D11Device **ppDevice); + + virtual void STDMETHODCALLTYPE SetStates(ID3D11DeviceContext *pContext, UINT Flags); + virtual void STDMETHODCALLTYPE UpdateShaderConstants( + ID3D11DeviceContext *pContext, + const FW1_RECTF *pClipRect, + const FLOAT *pTransformMatrix + ); + virtual BOOL STDMETHODCALLTYPE HasGeometryShader(); + + // Public functions + public: + CFW1GlyphRenderStates(); + + HRESULT initRenderResources( + IFW1Factory *pFW1Factory, + ID3D11Device *pDevice, + bool wantGeometryShader, + bool anisotropicFiltering + ); + + // Internal types + private: + struct ShaderConstants { + FLOAT TransformMatrix[16]; + FLOAT ClipRect[4]; + }; + + // Internal functions + private: + virtual ~CFW1GlyphRenderStates(); + + HRESULT createQuadShaders(); + HRESULT createGlyphShaders(); + HRESULT createPixelShaders(); + HRESULT createConstantBuffer(); + HRESULT createRenderStates(bool anisotropicFiltering); + + // Internal data + private: + std::wstring m_lastError; + + pD3DCompile m_pfnD3DCompile; + + ID3D11Device *m_pDevice; + D3D_FEATURE_LEVEL m_featureLevel; + + ID3D11VertexShader *m_pVertexShaderQuad; + ID3D11VertexShader *m_pVertexShaderClipQuad; + ID3D11InputLayout *m_pQuadInputLayout; + + ID3D11VertexShader *m_pVertexShaderPoint; + ID3D11InputLayout *m_pPointInputLayout; + ID3D11GeometryShader *m_pGeometryShaderPoint; + ID3D11GeometryShader *m_pGeometryShaderClipPoint; + bool m_hasGeometryShader; + + ID3D11PixelShader *m_pPixelShader; + ID3D11PixelShader *m_pPixelShaderClip; + + ID3D11Buffer *m_pConstantBuffer; + + ID3D11BlendState *m_pBlendState; + ID3D11SamplerState *m_pSamplerState; + ID3D11RasterizerState *m_pRasterizerState; + ID3D11DepthStencilState *m_pDepthStencilState; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1GlyphRenderStates diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphSheet.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphSheet.h new file mode 100644 index 0000000..8663a0b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphSheet.h @@ -0,0 +1,141 @@ +// CFW1GlyphSheet.h + +#ifndef IncludeGuard__FW1_CFW1GlyphSheet +#define IncludeGuard__FW1_CFW1GlyphSheet + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// A texture containing multiple glyphimages +class CFW1GlyphSheet : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1GlyphSheet + virtual HRESULT STDMETHODCALLTYPE GetDevice(ID3D11Device **ppDevice); + virtual void STDMETHODCALLTYPE GetDesc(FW1_GLYPHSHEETDESC *pDesc); + + virtual HRESULT STDMETHODCALLTYPE GetSheetTexture(ID3D11ShaderResourceView **ppSheetTextureSRV); + virtual HRESULT STDMETHODCALLTYPE GetCoordBuffer(ID3D11ShaderResourceView **ppCoordBufferSRV); + + virtual const FW1_GLYPHCOORDS* STDMETHODCALLTYPE GetGlyphCoords(); + virtual HRESULT STDMETHODCALLTYPE BindSheet(ID3D11DeviceContext *pContext, UINT Flags); + + virtual UINT STDMETHODCALLTYPE InsertGlyph( + const FW1_GLYPHMETRICS *pGlyphMetrics, + const void *pGlyphData, + UINT RowPitch, + UINT PixelStride + ); + virtual void STDMETHODCALLTYPE CloseSheet(); + virtual void STDMETHODCALLTYPE Flush(ID3D11DeviceContext *pContext); + + // Public functions + public: + CFW1GlyphSheet(); + + HRESULT initGlyphSheet( + IFW1Factory *pFW1Factory, + ID3D11Device *pDevice, + UINT sheetWidth, + UINT sheetHeight, + bool coordBuffer, + bool allowOversizedGlyph, + UINT maxGlyphCount, + UINT mipLevelCount + ); + + // Internal types + private: + struct RectUI { + UINT left; + UINT top; + UINT right; + UINT bottom; + }; + + class HeightRange { + public: + HeightRange(UINT totalWidth); + ~HeightRange(); + + UINT findMin(UINT width, UINT *outMin); + void update(UINT startX, UINT width, UINT newHeight); + + private: + HeightRange(); + HeightRange(const HeightRange&); + HeightRange& operator=(const HeightRange&); + + UINT findMax(UINT startX, UINT width); + + UINT *m_heights; + UINT m_totalWidth; + }; + + class CriticalSectionLock { + public: + CriticalSectionLock(LPCRITICAL_SECTION pCriticalSection) : m_pCriticalSection(pCriticalSection) { + EnterCriticalSection(m_pCriticalSection); + } + ~CriticalSectionLock() { + LeaveCriticalSection(m_pCriticalSection); + } + + private: + CriticalSectionLock(); + CriticalSectionLock(const CriticalSectionLock&); + CriticalSectionLock& operator=(const CriticalSectionLock&); + + LPCRITICAL_SECTION m_pCriticalSection; + }; + + // Internal functions + private: + virtual ~CFW1GlyphSheet(); + + HRESULT createDeviceResources(); + + // Internal data + private: + std::wstring m_lastError; + + UINT m_sheetWidth; + UINT m_sheetHeight; + bool m_hardwareCoordBuffer; + bool m_allowOversizedGlyph; + UINT m_mipLevelCount; + UINT m_alignWidth; + + UINT8 *m_textureData; + FW1_GLYPHCOORDS *m_glyphCoords; + UINT m_maxGlyphCount; + UINT m_glyphCount; + + ID3D11Device *m_pDevice; + + ID3D11Texture2D *m_pTexture; + ID3D11ShaderResourceView *m_pTextureSRV; + ID3D11Buffer *m_pCoordBuffer; + ID3D11ShaderResourceView *m_pCoordBufferSRV; + + bool m_closed; + bool m_static; + + HeightRange *m_heightRange; + + UINT m_updatedGlyphCount; + RectUI m_dirtyRect; + CRITICAL_SECTION m_sheetCriticalSection; + CRITICAL_SECTION m_flushCriticalSection; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1GlyphSheet diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphVertexDrawer.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphVertexDrawer.h new file mode 100644 index 0000000..d980c71 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1GlyphVertexDrawer.h @@ -0,0 +1,80 @@ +// CFW1GlyphVertexDrawer.h + +#ifndef IncludeGuard__FW1_CFW1GlyphVertexDrawer +#define IncludeGuard__FW1_CFW1GlyphVertexDrawer + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Draws glyph-vertices from system memory using a dynamic vertex buffer +class CFW1GlyphVertexDrawer : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1GlyphVertexDrawer + virtual HRESULT STDMETHODCALLTYPE GetDevice(ID3D11Device **ppDevice); + + virtual UINT STDMETHODCALLTYPE DrawVertices( + ID3D11DeviceContext *pContext, + IFW1GlyphAtlas *pGlyphAtlas, + const FW1_VERTEXDATA *pVertexData, + UINT Flags, + UINT PreboundSheet + ); + + // Public functions + public: + CFW1GlyphVertexDrawer(); + + HRESULT initVertexDrawer(IFW1Factory *pFW1Factory, ID3D11Device *pDevice, UINT vertexBufferSize); + + // Internal types + private: + struct QuadVertex { + FLOAT positionX; + FLOAT positionY; + FLOAT texCoordX; + FLOAT texCoordY; + UINT32 color; + }; + + // Internal functions + private: + virtual ~CFW1GlyphVertexDrawer(); + + HRESULT createBuffers(); + + UINT drawVertices( + ID3D11DeviceContext *pContext, + IFW1GlyphAtlas *pGlyphAtlas, + const FW1_VERTEXDATA *vertexData, + UINT preboundSheet + ); + UINT drawGlyphsAsQuads( + ID3D11DeviceContext *pContext, + IFW1GlyphAtlas *pGlyphAtlas, + const FW1_VERTEXDATA *vertexData, + UINT preboundSheet + ); + + // Internal data + private: + std::wstring m_lastError; + + ID3D11Device *m_pDevice; + + ID3D11Buffer *m_pVertexBuffer; + ID3D11Buffer *m_pIndexBuffer; + UINT m_vertexBufferSize; + UINT m_maxIndexCount; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1GlyphVertexDrawer diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Object.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Object.h new file mode 100644 index 0000000..99b7183 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1Object.h @@ -0,0 +1,98 @@ +// CFW1Object.h + +#ifndef IncludeGuard__FW1_CFW1Object +#define IncludeGuard__FW1_CFW1Object + + +namespace FW1FontWrapper { + + +// Helper baseclass to avoid writing IUnknown and IFW1Object implementations once per class +template +class CFW1Object : public IBase { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) = 0 { + if(ppvObject == NULL) + return E_INVALIDARG; + + if(IsEqualIID(riid, __uuidof(IUnknown))) { + *ppvObject = static_cast(this); + AddRef(); + return S_OK; + } + else if(IsEqualIID(riid, __uuidof(IFW1Object))) { + *ppvObject = static_cast(this); + AddRef(); + return S_OK; + } + + *ppvObject = NULL; + return E_NOINTERFACE; + } + + virtual ULONG STDMETHODCALLTYPE AddRef() { + return static_cast(InterlockedIncrement(reinterpret_cast(&m_cRefCount))); + } + + virtual ULONG STDMETHODCALLTYPE Release() { + ULONG newCount = static_cast(InterlockedDecrement(reinterpret_cast(&m_cRefCount))); + + if(newCount == 0) + delete this; + + return newCount; + } + + // IFW1Object + virtual HRESULT STDMETHODCALLTYPE GetFactory(IFW1Factory **ppFW1Factory) { + if(ppFW1Factory == NULL) + return E_INVALIDARG; + + m_pFW1Factory->AddRef(); + *ppFW1Factory = m_pFW1Factory; + + return S_OK; + } + + // Internal functions + protected: + CFW1Object() : + m_cRefCount(1), + + m_pFW1Factory(NULL) + { + } + + virtual ~CFW1Object() { + if(m_pFW1Factory != NULL) + m_pFW1Factory->Release(); + } + + HRESULT initBaseObject(IFW1Factory *pFW1Factory) { + if(pFW1Factory == NULL) + return E_INVALIDARG; + + pFW1Factory->AddRef(); + m_pFW1Factory = pFW1Factory; + + return S_OK; + } + + // Internal data + protected: + IFW1Factory *m_pFW1Factory; + + private: + ULONG m_cRefCount; + + private: + CFW1Object(const CFW1Object&); + CFW1Object& operator=(const CFW1Object&); +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1Object diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1StateSaver.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1StateSaver.h new file mode 100644 index 0000000..ce27236 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1StateSaver.h @@ -0,0 +1,70 @@ +// CFW1StateSaver.h + +#ifndef IncludeGuard__FW1_CFW1StateSaver +#define IncludeGuard__FW1_CFW1StateSaver + + +namespace FW1FontWrapper { + + +// Saves all the states that can be changed when drawing a string +class CFW1StateSaver { + // Public functions + public: + CFW1StateSaver(); + ~CFW1StateSaver(); + + HRESULT saveCurrentState(ID3D11DeviceContext *pContext); + HRESULT restoreSavedState(); + void releaseSavedState(); + + // Internal data + private: + bool m_savedState; + D3D_FEATURE_LEVEL m_featureLevel; + ID3D11DeviceContext *m_pContext; + D3D11_PRIMITIVE_TOPOLOGY m_primitiveTopology; + ID3D11InputLayout *m_pInputLayout; + ID3D11BlendState *m_pBlendState; + FLOAT m_blendFactor[4]; + UINT m_sampleMask; + ID3D11DepthStencilState *m_pDepthStencilState; + UINT m_stencilRef; + ID3D11RasterizerState *m_pRasterizerState; + ID3D11ShaderResourceView *m_pPSSRV; + ID3D11SamplerState *m_pSamplerState; + ID3D11VertexShader *m_pVS; + ID3D11ClassInstance *m_pVSClassInstances[256]; + UINT m_numVSClassInstances; + ID3D11Buffer *m_pVSConstantBuffer; + ID3D11GeometryShader *m_pGS; + ID3D11ClassInstance *m_pGSClassInstances[256]; + UINT m_numGSClassInstances; + ID3D11Buffer *m_pGSConstantBuffer; + ID3D11ShaderResourceView *m_pGSSRV; + ID3D11PixelShader *m_pPS; + ID3D11ClassInstance *m_pPSClassInstances[256]; + UINT m_numPSClassInstances; + ID3D11HullShader *m_pHS; + ID3D11ClassInstance *m_pHSClassInstances[256]; + UINT m_numHSClassInstances; + ID3D11DomainShader *m_pDS; + ID3D11ClassInstance *m_pDSClassInstances[256]; + UINT m_numDSClassInstances; + ID3D11Buffer *m_pVB; + UINT m_vertexStride; + UINT m_vertexOffset; + ID3D11Buffer *m_pIndexBuffer; + DXGI_FORMAT m_indexFormat; + UINT m_indexOffset; + + private: + CFW1StateSaver(const CFW1StateSaver&); + CFW1StateSaver& operator=(const CFW1StateSaver&); +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1StateSaver diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextGeometry.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextGeometry.h new file mode 100644 index 0000000..a7980c5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextGeometry.h @@ -0,0 +1,49 @@ +// CFW1TextGeometry.h + +#ifndef IncludeGuard__FW1_CFW1TextGeometry +#define IncludeGuard__FW1_CFW1TextGeometry + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Vector of vertices with sorting per glyph sheet +class CFW1TextGeometry : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1TextGeometry + virtual void STDMETHODCALLTYPE Clear(); + virtual void STDMETHODCALLTYPE AddGlyphVertex(const FW1_GLYPHVERTEX *pVertex); + + virtual FW1_VERTEXDATA STDMETHODCALLTYPE GetGlyphVerticesTemp(); + + // Public functions + public: + CFW1TextGeometry(); + + HRESULT initTextGeometry(IFW1Factory *pFW1Factory); + + // Internal functions + private: + virtual ~CFW1TextGeometry(); + + // Internal data + private: + std::vector m_vertices; + std::vector m_sortedVertices; + + UINT m_maxSheetIndex; + std::vector m_vertexCounts; + std::vector m_vertexStartIndices; + bool m_sorted; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1TextGeometry diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextRenderer.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextRenderer.h new file mode 100644 index 0000000..941daa3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/CFW1TextRenderer.h @@ -0,0 +1,147 @@ +// CFW1TextRenderer.h + +#ifndef IncludeGuard__FW1_CFW1TextRenderer +#define IncludeGuard__FW1_CFW1TextRenderer + +#include "CFW1Object.h" + + +namespace FW1FontWrapper { + + +// Converts a DWrite text layout to vertices +class CFW1TextRenderer : public CFW1Object { + public: + // IUnknown + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); + + // IFW1DWriteTextRenderer + virtual HRESULT STDMETHODCALLTYPE GetGlyphProvider(IFW1GlyphProvider **ppGlyphProvider); + + virtual HRESULT STDMETHODCALLTYPE DrawTextLayout( + IDWriteTextLayout *pTextLayout, + FLOAT OriginX, + FLOAT OriginY, + UINT32 Color, + UINT Flags, + IFW1TextGeometry *pTextGeometry + ); + + // Public functions + public: + CFW1TextRenderer(); + + HRESULT initTextRenderer( + IFW1Factory *pFW1Factory, + IFW1GlyphProvider *pGlyphProvider + ); + + // Internal functions + private: + virtual ~CFW1TextRenderer(); + + // IDWritePixelSnapping interface (called via proxy) + HRESULT IsPixelSnappingDisabled(void *clientDrawingContext, BOOL *isDisabled); + HRESULT GetCurrentTransform(void *clientDrawingContext, DWRITE_MATRIX *transform); + HRESULT GetPixelsPerDip(void *clientDrawingContext, FLOAT *pixelsPerDip); + + // IDWriteTextRenderer interface (called via proxy) + HRESULT DrawGlyphRun( + void *clientDrawingContext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + DWRITE_MEASURING_MODE measuringMode, + const DWRITE_GLYPH_RUN *glyphRun, + const DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription, + IUnknown *clientDrawingEffect + ); + HRESULT DrawUnderline( + void *clientDrawingContext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_UNDERLINE *underline, + IUnknown *clientDrawingEffect + ); + HRESULT DrawStrikethrough( + void *clientDrawingContext, + FLOAT baselineOriginX, + FLOAT baselineOriginY, + const DWRITE_STRIKETHROUGH *strikethrough, + IUnknown *clientDrawingEffect + ); + HRESULT DrawInlineObject( + void *clientDrawingContext, + FLOAT originX, + FLOAT originY, + IDWriteInlineObject *inlineObject, + BOOL isSideways, + BOOL isRightToLeft, + IUnknown *clientDrawingEffect + ); + + // Internal data + private: + IFW1GlyphProvider *m_pGlyphProvider; + + UINT m_currentFlags; + UINT32 m_currentColor; + + const void *m_cachedGlyphMap; + IDWriteFontFace *m_pCachedGlyphMapFontFace; + FLOAT m_cachedGlyphMapFontSize; + + + // Proxy for IDWriteTextRenderer interface + private: + class CDWriteTextRendererProxy : public IDWriteTextRenderer { + public: + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) { + return m_realObject->QueryInterface(riid, ppvObject); + } + virtual ULONG STDMETHODCALLTYPE AddRef() { + return m_realObject->AddRef(); + } + virtual ULONG STDMETHODCALLTYPE Release() { + return m_realObject->Release(); + } + + virtual HRESULT STDMETHODCALLTYPE IsPixelSnappingDisabled(void *clientDrawingContext, BOOL *isDisabled) { + return m_realObject->IsPixelSnappingDisabled(clientDrawingContext, isDisabled); + } + virtual HRESULT STDMETHODCALLTYPE GetCurrentTransform(void *clientDrawingContext, DWRITE_MATRIX *transform) { + return m_realObject->GetCurrentTransform(clientDrawingContext, transform); + } + virtual HRESULT STDMETHODCALLTYPE GetPixelsPerDip(void *clientDrawingContext, FLOAT *pixelsPerDip) { + return m_realObject->GetPixelsPerDip(clientDrawingContext, pixelsPerDip); + } + + virtual HRESULT STDMETHODCALLTYPE DrawGlyphRun(void *clientDrawingContext, FLOAT baselineOriginX, FLOAT baselineOriginY, DWRITE_MEASURING_MODE measuringMode, const DWRITE_GLYPH_RUN *glyphRun, const DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription, IUnknown *clientDrawingEffect) { + return m_realObject->DrawGlyphRun(clientDrawingContext, baselineOriginX, baselineOriginY, measuringMode, glyphRun, glyphRunDescription, clientDrawingEffect); + } + virtual HRESULT STDMETHODCALLTYPE DrawUnderline(void *clientDrawingContext, FLOAT baselineOriginX, FLOAT baselineOriginY, const DWRITE_UNDERLINE *underline, IUnknown *clientDrawingEffect) { + return m_realObject->DrawUnderline(clientDrawingContext, baselineOriginX, baselineOriginY, underline, clientDrawingEffect); + } + virtual HRESULT STDMETHODCALLTYPE DrawStrikethrough(void *clientDrawingContext, FLOAT baselineOriginX, FLOAT baselineOriginY, const DWRITE_STRIKETHROUGH *strikethrough, IUnknown *clientDrawingEffect) { + return m_realObject->DrawStrikethrough(clientDrawingContext, baselineOriginX, baselineOriginY, strikethrough, clientDrawingEffect); + } + virtual HRESULT STDMETHODCALLTYPE DrawInlineObject(void *clientDrawingContext, FLOAT originX, FLOAT originY, IDWriteInlineObject *inlineObject, BOOL isSideways, BOOL isRightToLeft, IUnknown *clientDrawingEffect) { + return m_realObject->DrawInlineObject(clientDrawingContext, originX, originY, inlineObject, isSideways, isRightToLeft, clientDrawingEffect); + } + + public: + CDWriteTextRendererProxy(CFW1TextRenderer *realObject) : m_realObject(realObject) {} + + private: + CDWriteTextRendererProxy(const CDWriteTextRendererProxy&); + CDWriteTextRendererProxy& operator=(const CDWriteTextRendererProxy&); + + private: + CFW1TextRenderer *m_realObject; + } *m_pDWriteTextRendererProxy; +}; + + +}// namespace FW1FontWrapper + + +#endif// IncludeGuard__FW1_CFW1TextRenderer diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1CompileSettings.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1CompileSettings.h new file mode 100644 index 0000000..7de103a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1CompileSettings.h @@ -0,0 +1,15 @@ +// FW1CompileSettings.h + +#ifndef IncludeGuard__FW1_FW1CompileSettings_h +#define IncludeGuard__FW1_FW1CompileSettings_h + + +// Define if building a DLL for the font-wrapper +// #define FW1_COMPILETODLL + +// Define to use LoadLibrary instead of linking to DLLs +#define FW1_DELAYLOAD_DWRITE_DLL +#define FW1_DELAYLOAD_D3DCOMPILER_XX_DLL + + +#endif// IncludeGuard__FW1_FW1CompileSettings_h diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1FontWrapper.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1FontWrapper.h new file mode 100644 index 0000000..369e0ff --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1FontWrapper.h @@ -0,0 +1,1214 @@ +// FW1FontWrapper.h + +// v1.1, October 2011 +// Written by Erik Rufelt + +#ifndef IncludeGuard__FW1_FW1FontWrapper_h +#define IncludeGuard__FW1_FW1FontWrapper_h + +#include +#include + + +/// The current FW1 version. +/// This constant should be used when calling FW1CreateFactory to make sure the library version matches the headers. +#define FW1_VERSION 0x110f + +#define FW1_DLL_W L"FW1FontWrapper.dll" +#define FW1_DLL_A "FW1FontWrapper.dll" + +#ifdef UNICODE + #define FW1_DLL FW1_DLL_W +#else + #define FW1_DLL FW1_DLL_A +#endif + +/// Describes overrides for how an FW1 operation is performed. +/// These flags can be used for any FW1 methods that take a flags parameter. Not all flags have any meaning for all methods however. +/// Consult the documentation page for a particular method for information on what flags are valid. +enum FW1_TEXT_FLAG { + /// Text is left-aligned. This is the default. + FW1_LEFT = 0x0, + + /// Text is centered horizontally. + FW1_CENTER = 0x1, + + /// Text is right-aligned. + FW1_RIGHT = 0x2, + + /// Text is aligned at the top of the layout-box. This is the default. + FW1_TOP = 0x0, + + /// Text is centered vertically. + FW1_VCENTER = 0x4, + + /// Text is aligned at the bottom of the layout-box. + FW1_BOTTOM = 0x8, + + /// No automatic wrapping when the text overflows the layout-box. + FW1_NOWORDWRAP = 0x10, + + /// Text is drawn without anti-aliasing. + FW1_ALIASED = 0x20, + + /// If a clip-rect is specified together with this flag, all text is clipped to inside the specified rectangle. + FW1_CLIPRECT = 0x40, + + /// No geometry shader is used when drawing glyphs. Indexed quads are constructed on the CPU instead of in the geometry shader. + FW1_NOGEOMETRYSHADER = 0x80, + + /// The transform matrix and the clip-rect is not updated in the internal constant-buffer. Can be used as an optimization when a previous call has already set the correct data. + FW1_CONSTANTSPREPARED = 0x100, + + /// The internal vertex and index buffer (if used) are assumed to already be bound. Can be used as an optimization when a previous call has already set the buffers. + FW1_BUFFERSPREPARED = 0x200, + + /// The correct shaders/constant-buffer etc. are assumed to already be bound. Can be used as an optimization when a previous call has already set the states, or to override the default states. + FW1_STATEPREPARED = 0x400, + + /// Can be used as an optimization on subsequent calls, when drawing several strings with the same settings. + FW1_IMMEDIATECALL = FW1_CONSTANTSPREPARED | FW1_BUFFERSPREPARED | FW1_STATEPREPARED, + + /// When a draw method returns, the device-context will have been restored to the same state as before the call. + FW1_RESTORESTATE = 0x800, + + /// Any new glyphs added during a call are not flushed to the device-resources. + /// It is a good idea to use this flag for text-operations on deferred contexts, when drawing text on multiple threads simultaneously, in order to guarantee the proper order of operations. + FW1_NOFLUSH = 0x1000, + + /// Any new glyphs will be cached in the atlas and glyph-maps, but no geometry is drawn. + FW1_CACHEONLY = 0x2000, + + /// No new glyphs will be added to the atlas or glyph-maps. Any glyphs not already present in the atlas will be replaced with a default fall-back glyph (empty box). + FW1_NONEWGLYPHS = 0x4000, + + /// A text-layout will be run through DirectWrite and new fonts will be prepared, but no actual drawing will take place, and no additional glyphs will be cached. + FW1_ANALYZEONLY = 0x8000, + + /// Don't use. + FW1_UNUSED = 0xffffffff +}; + +/// Coordinates for a single glyph in the atlas. +/// Each glyph image inserted in a glyph sheet texture gets a unique index in that sheet, and a corresponding FW1_GLYPHCOORDS entry in the sheet's coord buffer, describing its location in the sheet as well as its dimensions. +struct FW1_GLYPHCOORDS { + /// The left texture coordinate. + FLOAT TexCoordLeft; + + /// The top texture coordinate. + FLOAT TexCoordTop; + + /// The right texture coordinate. + FLOAT TexCoordRight; + + /// The bottom texture coordinate. + FLOAT TexCoordBottom; + + /// The offset of the left edge of the glyph image, relative its offset in the text. + FLOAT PositionLeft; + + /// The offset of the top edge of the glyph image, relative its offset in the text. + FLOAT PositionTop; + + /// The offset of the right edge of the glyph image, relative its offset in the text. + FLOAT PositionRight; + + /// The offset of the bottom edge of the glyph image, relative its offset in the text. + FLOAT PositionBottom; +}; + +/// Description of a glyph sheet. +/// +struct FW1_GLYPHSHEETDESC { + /// The number of glyphs currently stored in this sheet. + UINT GlyphCount; + + /// The width of this sheet's texture, in pixels. + UINT Width; + + /// The height of this sheet's texture, in pixels. + UINT Height; + + /// The number of mip-levels for this sheet's texture. + UINT MipLevels; +}; + +/// Metrics for a glyph image. +/// This structure is filled in as part of the FW1_GLYPHIMAGEDATA structure when a glyph-image is rendered by IFW1DWriteRenderTarget::DrawGlyphTemp. +struct FW1_GLYPHMETRICS { + /// The horizontal offset from a glyph's position in text to the left edge of its image. + FLOAT OffsetX; + + /// The vertical offset form a glyph's position in text to the top edge of its image. + FLOAT OffsetY; + + /// The width of the glyph image, in pixels. + UINT Width; + + /// The height of the glyph image, in pixels. + UINT Height; +}; + +/// Image data for a glyph. +/// This structure is filled by the IFW1DWriteRenderTarget::DrawGlyphTemp Method. +struct FW1_GLYPHIMAGEDATA { + /// Metrics for the glyph. + FW1_GLYPHMETRICS Metrics; + + /// Pointer to the pixels of the glyph-image. + const void *pGlyphPixels; + + /// The number of bytes in a row of the image data. + UINT RowPitch; + + /// The number of bytes between the start of one pixel and the next. + UINT PixelStride; +}; + +/// A vertex corresponding to a single glyph. +/// When an IFW1TextRenderer draws a string, each output glyph is converted to an FW1_GLYPHVERTEX entry in an IFW1TextGeometry object. +struct FW1_GLYPHVERTEX { + /// The base X position of the glyph. + FLOAT PositionX; + + /// The base Y position of the glyph. + FLOAT PositionY; + + /// The index of the glyph. + UINT32 GlyphIndex; + + /// The color of the glyph, as 0xAaBbGgRr. + UINT32 GlyphColor; +}; + +/// An array of vertices, sorted by glyph-sheet. +/// This structure is returned by the IFW1TextGeometry::GetGlyphVerticesTemp Method. +struct FW1_VERTEXDATA { + /// The number of sheets in the glyph-atlas that are used, starting with the first sheet in the atlas. + UINT SheetCount; + + /// An array of SheetCount unsigned integers, which specify the number of glyphs using each sheet. + /// The sum of all counts is TotalVertexCount. Some counts may be zero. + const UINT *pVertexCounts; + + /// The total number of vertices. + UINT TotalVertexCount; + + /// An array of TotalVertexCount vertices, sorted by sheet. + const FW1_GLYPHVERTEX *pVertices; +}; + +/// A rectangle. +/// +struct FW1_RECTF { + /// The X coordinate of the left edge of the rectangle. + FLOAT Left; + + /// The Y coordinate of the top edge of the rectangle. + FLOAT Top; + + /// The X coordinate of the right edge of the rectangle. + FLOAT Right; + + /// The Y coordinate of the bottom edge of the rectangle. + FLOAT Bottom; +}; + +/// Describes a single font. This structure is used in the FW1_FONTWRAPPERCREATEPARAMS structure. +/// If pszFontFamily is NULL when creating an IFW1FontWrapper object, no default font will be set up. +/// This is perfectly valid when drawing text using one of the DrawTextLayout methods. +/// However, the DrawString methods will silently fail if no default font is set up.
+/// If pszFontFamily is not NULL, the FontWeight, FontStyle and FontStretch members must be set to valid values according to the DirectWrite documentation. +/// Zero is not a valid value for these.
+struct FW1_DWRITEFONTPARAMS { + /// The name of the font-family. Valid values include Arial, Courier New, etc. as long as the specified font is installed. + /// Unavailable fonts will automatically fall back to a different font. + /// This member can be set to NULL, if no default font is desired when using the structure to create a font-wrapper. + LPCWSTR pszFontFamily; + + /// The font weight. See DirectWrite documentation. + DWRITE_FONT_WEIGHT FontWeight; + + /// The font style. See DirectWrite documentation. + DWRITE_FONT_STYLE FontStyle; + + /// The font stretch. See DirectWrite documentation. + DWRITE_FONT_STRETCH FontStretch; + + /// The locale. NULL for default. + LPCWSTR pszLocale; +}; + +/// The FW1_FONTWRAPPERCREATEPARAMS is used with the IFW1Factory::CreateFontWrapper method, and describes settings for the created IFW1FontWrapper object. +/// If a member has the value zero, the default value will be chosen instead. See FW1_DWRITEFONTPARAMS for requirements for its members. +struct FW1_FONTWRAPPERCREATEPARAMS { + /// The width of the glyph sheet textures to store glyph images in. 0 defaults to 512. + UINT GlyphSheetWidth; + + /// The height of the glyph sheet textures to store glyph images in. 0 defaults to 512. + UINT GlyphSheetHeight; + + /// The maximum number of glyphs per texture. A buffer of MaxGlyphCountPerSheet * 32 bytes is preallocated for each sheet. 0 defaults to 2048. + UINT MaxGlyphCountPerSheet; + + /// The number of mip-levels for the glyph sheet textures. 0 defaults to 1. + UINT SheetMipLevels; + + /// If set to TRUE, the sampler-state is created with anisotropic filtering. + BOOL AnisotropicFiltering; + + /// The maximum width of a single glyph. + /// This value is used to decide how large the DirectWrite render target needs to be, which is used when drawing glyph images to put in the atlas. + /// 0 defaults to 384. + UINT MaxGlyphWidth; + + /// The maximum height of a single glyph. + /// This value is used to decide how large the DirectWrite render target needs to be, which is used when drawing glyph images to put in the atlas. + /// 0 defaults to 384. + UINT MaxGlyphHeight; + + /// If set to TRUE, no geometry shader is used. + BOOL DisableGeometryShader; + + /// The size in bytes of the dynamic vertex buffer to upload glyph vertices to when drawing a string. 0 defaults to 4096 * 16.
+ /// Each glyph vertex is either 16 or 20 bytes in size, and each glyph requires either 1 or 4 vertices depending on if the geometry shader is used.
+ UINT VertexBufferSize; + + /// Description of the default font. See FW1_DWRITEFONTPARAMS. + FW1_DWRITEFONTPARAMS DefaultFontParams; +}; + +interface IFW1Factory; +/// All FW1 interfaces (except for IFW1Factory) inherits from IFW1Object. +/// Since all interfaces inhert from IFW1Object, the factory which created an object can always be queried with its GetFactory method. +MIDL_INTERFACE("8D3C3FB1-F2CC-4331-A623-031F74C06617") IFW1Object : public IUnknown { + public: + /// Get the factory that created an object. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1Factory. + virtual HRESULT STDMETHODCALLTYPE GetFactory( + __out IFW1Factory **ppFactory + ) = 0; +}; + +/// A sheet contains a texture with glyph images, and a coord-buffer with an FW1_GLYPHCOORDS entry for each glyph. +MIDL_INTERFACE("60CAB266-C805-461d-82C0-392472EECEFA") IFW1GlyphSheet : public IFW1Object { + public: + /// Get the ID3D11Device the sheet is created on. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11Device. + virtual HRESULT STDMETHODCALLTYPE GetDevice( + __out ID3D11Device **ppDevice + ) = 0; + + /// Get the properties of a glyph sheet. + /// + /// Returns nothing. + /// Pointer to a sheet description. + virtual void STDMETHODCALLTYPE GetDesc( + __out FW1_GLYPHSHEETDESC *pDesc + ) = 0; + + /// Get the ID3D11ShaderResourceView for the sheet's texture. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11ShaderResourceView. + virtual HRESULT STDMETHODCALLTYPE GetSheetTexture( + __out ID3D11ShaderResourceView **ppSheetTextureSRV + ) = 0; + + /// Get the ID3D11ShaderResourceView for the sheet's coord buffer. + /// The coord buffer contains 32 bytes per glyph, stored as two float4, representing the data in an FW1_GLYPHCOORDS structure.
+ /// If the sheet is created without a hardware coord buffer, the method will return success and set the coord buffer to NULL. + /// See IFW1Factory::CreateGlyphSheet.
+ /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11ShaderResourceView. + virtual HRESULT STDMETHODCALLTYPE GetCoordBuffer( + __out ID3D11ShaderResourceView **ppCoordBufferSRV + ) = 0; + + /// Get a sheet's coord-buffer, as an array of FW1_GLYPHCOORDS. + /// The returned buffer is valid for the lifetime of the sheet, and may only be read and never altered. + /// The maximum valid index at any given time is one less than the number of glyphs in the sheet, which can be queried using IFW1GlyphSheet::GetDesc. + /// Returns a constant pointer to the sheet's coord-buffer. + virtual const FW1_GLYPHCOORDS* STDMETHODCALLTYPE GetGlyphCoords( + ) = 0; + + /// Set the sheet shader resources on the provided context. + /// This method sets the sheet texture as a pixelshader resource for slot 0, and optionally the coord buffer as geometryshader resource for slot 0. + /// Standard HRESULT error code. + /// The context to set the sheet shader resources on. + /// This parameter can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_NOGEOMETRYSHADER: don't bind the coord buffer as a shader-resource for the geometry shader, even if it's available. + /// + virtual HRESULT STDMETHODCALLTYPE BindSheet( + __in ID3D11DeviceContext *pContext, + __in UINT Flags + ) = 0; + + /// Insert a glyph into the sheet. + /// The parameters for this method can be obtained as part of the FW1_GLYPHIMAGEDATA structure filled in by the IFW1DWriteRenderTarget::DrawGlyphTemp method. + /// If the glyph is inserted, the index of the new glyph in the sheet is returned. This index can be used to get the glyph's coordinates from the sheet coord buffer. See IFW1GlyphSheet::GetCoordBuffer and IFW1GlyphSheet::GetGlyphCoords.
+ /// If the method fails to insert the glyph, the returned value is 0xFFFFFFFF.
+ /// A pointer to an FW1_GLYPHMETRICS structure, specifying the metrics of the glyph to be inserted. + /// A pointer to image data. + /// The number of bytes in a row of image data. + /// The number of bytes between successive pixels. + virtual UINT STDMETHODCALLTYPE InsertGlyph( + __in const FW1_GLYPHMETRICS *pGlyphMetrics, + __in const void *pGlyphData, + __in UINT RowPitch, + __in UINT PixelStride + ) = 0; + + /// Close the sheet for additional glyphs. + /// After calling this method any subsequent attempts to insert new glyphs into the sheet will fail. + /// Calling this method can save some memory as the RAM copy of the texture can be released after the next call to IFW1GlyphSheet::Flush. + /// No return value. + virtual void STDMETHODCALLTYPE CloseSheet( + ) = 0; + + /// Flush any new glyphs to the internal D3D11 buffers. + /// When glyphs are inserted into the sheet only the CPU-memory resources are updated. + /// In order for these to be available for use by the GPU, they must be flushed to the device using a device-context. + /// No return value. + /// The context to use when updating device resources. + virtual void STDMETHODCALLTYPE Flush( + __in ID3D11DeviceContext *pContext + ) = 0; +}; + +/// A glyph-atlas is a collection of glyph-sheets. +/// +MIDL_INTERFACE("A31EB6A2-7458-4e24-82B3-945A95623B1F") IFW1GlyphAtlas : public IFW1Object { + /// Get the ID3D11Device the atlas is created on. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11Device. + virtual HRESULT STDMETHODCALLTYPE GetDevice( + __out ID3D11Device **ppDevice + ) = 0; + + /// Get the total number of glyphs in all the atlas' sheets. + /// + /// The total number of glyphs in the atlas. + virtual UINT STDMETHODCALLTYPE GetTotalGlyphCount( + ) = 0; + + /// Get the number of texture sheets in the atlas. + /// + /// The number of sheets in the atlas. + virtual UINT STDMETHODCALLTYPE GetSheetCount( + ) = 0; + + /// Get a pointer to an IFW1GlyphSheet in the atlas. + /// + /// Standard HRESULT error code. + /// The index of the sheet to be obtained. + /// Address of a pointer to an IFW1GlyphSheet. + virtual HRESULT STDMETHODCALLTYPE GetSheet( + __in UINT SheetIndex, + __out IFW1GlyphSheet **ppGlyphSheet + ) = 0; + + /// Get a pointer to a sheet's glyph-coord buffer. + /// + /// If SheetIndex is valid, returns a pointer to a coord buffer. See IFW1GlyphSheet::GetGlyphCoords. + /// The index of the sheet which coord buffer is to be obtained. + virtual const FW1_GLYPHCOORDS* STDMETHODCALLTYPE GetGlyphCoords( + __in UINT SheetIndex + ) = 0; + + /// Bind a sheet's shader resources on a device context. + /// + /// Standard HRESULT error code. + /// The context to set the shader resources on. + /// The index of the sheet to bind. + /// Flags that specify whether to set the geometry shader coord buffer. See IFW1GlyphSheet::BindSheet. + virtual HRESULT STDMETHODCALLTYPE BindSheet( + __in ID3D11DeviceContext *pContext, + __in UINT SheetIndex, + __in UINT Flags + ) = 0; + + /// Insert a glyph into the atlas. + /// The parameters for this method can be obtained as part of the FW1_GLYPHIMAGEDATA structure filled in by the IFW1DWriteRenderTarget::DrawGlyphTemp method. + /// If the glyph is inserted, the ID of the new glyph in the atlas is returned. + /// The ID is always ((SheetIndex << 16) | GlyphIndex), where SheetIndex is the index of the sheet texture the glyph is place in, and GlyphIndex is the index of the glyph in that sheet.
+ /// If the method fails to insert the glyph, the returned value is 0xFFFFFFFF.
+ /// A pointer to an FW1_GLYPHMETRICS structure, specifying the metrics of the glyph to be inserted. + /// A pointer to image data. + /// The number of bytes in a row of image data. + /// The number of bytes between successive pixels. + virtual UINT STDMETHODCALLTYPE InsertGlyph( + __in const FW1_GLYPHMETRICS *pGlyphMetrics, + __in const void *pGlyphData, + __in UINT RowPitch, + __in UINT PixelStride + ) = 0; + + /// Insert a sheet into the atlas. + /// This method is used internally whenever new glyphs no longer fits in existing sheets. The atlas will hold a reference to the sheet for the remainder of its lifetime. + /// On success, eturns the index of the sheet in the atlas after insertion.
If the method fails, 0xFFFFFFFF is returned.
+ /// A pointer ot the glyph sheet to insert. + virtual UINT STDMETHODCALLTYPE InsertSheet( + __in IFW1GlyphSheet *pGlyphSheet + ) = 0; + + /// Flush all new or internally updated sheets. + /// See IFW1GlyphSheet::Flush. + /// No return value. + /// The context to use when updating device resources. + virtual void STDMETHODCALLTYPE Flush( + __in ID3D11DeviceContext *pContext + ) = 0; +}; + +/// Collection of glyph-maps, mapping font/size/glyph information to an ID in a glyph atlas. +/// Whenever a glyph or glyphmap is queried from the glyph-provider, it will be dynamically inserted if it does not already exist. +MIDL_INTERFACE("F8360043-329D-4EC9-B0F8-ACB00FA77420") IFW1GlyphProvider : public IFW1Object { + /// Get the IFW1GlyphAtlas this glyph-provider references. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphAtlas. + virtual HRESULT STDMETHODCALLTYPE GetGlyphAtlas( + __out IFW1GlyphAtlas **ppGlyphAtlas + ) = 0; + + /// Get the DirectWrite factory a glyph-provider references. + /// The DirectWrite factory is used internally to create render-targets needed to draw glyph-images that are put in the glyph-atlas. + /// Standard HRESULT error code. + /// Address of a pointer to an IDWriteFactory. + virtual HRESULT STDMETHODCALLTYPE GetDWriteFactory( + __out IDWriteFactory **ppDWriteFactory + ) = 0; + + /// Get the DirectWrite font-collection referenced by a glyph-provider. + /// The DirectWrite font collection is used internally only to match font-faces to unique names. + /// Since different IDWriteFontFace objects can reference the same font, a reliable method of identifying a font is required. + /// This is the only function of the font-collection in the scope of the glyph-provider. + /// A font-face not from the same collection can still be used when requesting glyphs, in which case it will only be identified by its pointer value. + /// Standard HRESULT error code. + /// Address of a pointer to an IDWriteFontCollection. + virtual HRESULT STDMETHODCALLTYPE GetDWriteFontCollection( + __out IDWriteFontCollection **ppFontCollection + ) = 0; + + /// Get a pointer identifying a glyph-map matching the specified font. + /// If the FW1_NONEWGLYPHS flag is not specified, new glyph-maps are created on demand. + /// The glyph-map returned from this method is not meaningful outside of the glyph provider internals, but is needed for subsequent calls to IFW1GlyphProvider::GetAtlasIdFromGlyphIndex. + /// A constant pointer identifying a glyph-map. + /// This pointer should only be used in subsequent calls to IFW1GlyphProvider::GetAtlasIdFromGlyphIndex, and remains valid for the lifetime of the IFW1GlyphProvider.
+ /// A NULL pointer may be returned, if using the FW1_NONEWGLYPHS flag and a matching glyph-map does not exist.
+ /// A DirectWrite font face. + /// The size of the font. + /// Can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_ALIASED - No anti-aliasing is used when drawing the glyphs.
+ /// FW1_NONEWGLYPHS - No new glyph-maps are created. + virtual const void* STDMETHODCALLTYPE GetGlyphMapFromFont( + __in IDWriteFontFace *pFontFace, + __in FLOAT FontSize, + __in UINT FontFlags + ) = 0; + + /// Get the ID of the specified glyph in the glyph-atlas. + /// If FW1_NONEWGLYPHS is not specified, any glyph not currently in the atlas will be inserted before the method returns. + /// The ID of the specified glyph in the glyph-atlas. + /// The ID is always ((SheetIndex << 16) | GlyphIndex), where SheetIndex is the index of the sheet texture the glyph is placed in, and GlyphIndex is the index of the glyph in that sheet.
+ /// If the specified glyph does not exist and can not be inserted on demand, the ID of a fallback glyph is returned.
+ /// A pointer identifying a glyph-map, previously obtained using IFW1GlyphProvider::GetGlyphMapFromFont. + /// If this parameter is NULL, the ID of the last-resort fallback glyph is returned, which will be zero. + /// The index of the glyph in the DirectWrite font face. + /// Glyph indices can be obtained from DirectWrite using IDWriteFontFace::GetGlyphIndices. + /// The DirectWrite font face that contains the glyph referenced by GlyphIndex. + /// Can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_NONEWGLYPHS - No new glyphs are inserted. + virtual UINT STDMETHODCALLTYPE GetAtlasIdFromGlyphIndex( + __in const void *pGlyphMap, + __in UINT16 GlyphIndex, + __in IDWriteFontFace *pFontFace, + __in UINT FontFlags + ) = 0; +}; + +/// Container for a DirectWrite render-target, used to draw glyph images that are to be inserted in a glyph atlas. +/// +MIDL_INTERFACE("A1EB4141-9A66-4097-A5B0-6FC84F8B162C") IFW1DWriteRenderTarget : public IFW1Object { + /// Draw a glyph-image. + /// The data returned in the FW1_GLYPHIMAGEDATA should only be read, and is valid until the next call to a method in the IFW1DWriteRenderTarget.
+ /// This method is not thread-safe.
+ /// Standard HRESULT error code. + /// The DirectWrite font face containing the glyph. + /// The index of the glyph in the font face. + /// The size of the font. + /// The DirectWrite rendering mode. See DirectWrite documentation. + /// The DirectWrite measuring mode. See DirectWrite documentation.. + /// A pointer to an FW1_GLYPHIMAGEDATA structure that will be filled in with the glyph image data on success. + virtual HRESULT STDMETHODCALLTYPE DrawGlyphTemp( + __in IDWriteFontFace *pFontFace, + __in UINT16 GlyphIndex, + __in FLOAT FontSize, + __in DWRITE_RENDERING_MODE RenderingMode, + __in DWRITE_MEASURING_MODE MeasuringMode, + __out FW1_GLYPHIMAGEDATA *pOutData + ) = 0; +}; + +/// An RGBA color. +/// An IFW1ColorRGBA object can be set as the drawing effect for a range in an IDWriteTextLayout, to override the default color of the text. +MIDL_INTERFACE("A0EA03A0-441D-49BE-9D2C-4AE27BB7A327") IFW1ColorRGBA : public IFW1Object { + /// Set the color. + /// + /// No return value. + /// The color to set, as 0xAaBbGgRr. + virtual void STDMETHODCALLTYPE SetColor( + __in UINT32 Color + ) = 0; + + /// Set the color. + /// + /// No return value. + /// The red component, in [0, 1]. + /// The green component, in [0, 1]. + /// The blue component, in [0, 1]. + /// The alpha component, in [0, 1]. + virtual void STDMETHODCALLTYPE SetColor( + __in FLOAT Red, + __in FLOAT Green, + __in FLOAT Blue, + __in FLOAT Alpha + ) = 0; + + /// Set the color. + /// + /// No return value. + /// Pointer to an array of four floats in [0, 1], specifying the red, green, blue and alpha components at indices 0 to 3. + virtual void STDMETHODCALLTYPE SetColor( + __in const FLOAT *pColor + ) = 0; + + /// Set the color. + /// + /// No return value. + /// Pointer to an array of four bytes in [0, 255], specifying the red, green, blue and alpha components at indices 0 to 3. + virtual void STDMETHODCALLTYPE SetColor( + __in const BYTE *pColor + ) = 0; + + /// Get the color. + /// + /// Returns the color, as 0xAaBbGgRr. + virtual UINT32 STDMETHODCALLTYPE GetColor32( + ) = 0; +}; + +/// A dynamic list of vertices. Note that this object is a simple array without synchronization and not safe to use simultaneously on more than one thread. +/// When rendering a string, a vertex is inserted into an IFW1TextGeometry object for each glyph. +/// The vertices in an IFW1TextGeometry can be drawn by the IFW1FontWrapper::DrawGeometry method.
+/// A pointer to the actual vertices can be obtained with the IFW1TextGeometry::GetGlyphVerticesTemp method.
+MIDL_INTERFACE("51E05736-6AFF-44A8-9745-77605C99E8F2") IFW1TextGeometry : public IFW1Object { + /// Clear any vertices currently contained in the geometry object. + /// This method is not thread-safe. + /// No return value. + virtual void STDMETHODCALLTYPE Clear( + ) = 0; + + /// Adds a vertex to the geometry. + /// The GlyphIndex member of the FW1_GLYPHVERTEX specified when inserting a vertex should be the atlas ID of the desired glyph, as ((SheetIndex << 16) | GlyphIndex). + /// See IFW1GlyphAtlas::InsertGlyph.
+ /// This method is not thread-safe.
+ /// No return value. + /// Pointer to an FW1_GLYPHVERTEX structure describing the vertex. + virtual void STDMETHODCALLTYPE AddGlyphVertex( + __in const FW1_GLYPHVERTEX *pVertex + ) = 0; + + /// Get the vertices in the geometry, sorted by glyph sheet. + /// When glyphs are inserted into the geometry they contain their glyph atlas ID. + /// The glyphs are internally sorted by glyph sheet, and glyphs returned by GetGlyphVerticesTemp contain the index of the glyph in its containing sheet, and not the atlas ID.
+ /// This method is not thread-safe.
+ /// An FW1_VERTEXDATA structure containing the glyph vertices. + /// The pointers in this structure are owned by the geometry object and should not be modified. + /// They are valid until the next call to a method in the IFW1TextGeometry. + virtual FW1_VERTEXDATA STDMETHODCALLTYPE GetGlyphVerticesTemp( + ) = 0; +}; + +/// A text-renderer converts DirectWrite text layouts into glyph-vertices. +/// +MIDL_INTERFACE("51E05736-6AFF-44A8-9745-77605C99E8F2") IFW1TextRenderer : public IFW1Object { + /// Get the IFW1GlyphProvider used by a text-renderer. + /// The glyph provider is used internally to get the atlas IDs for any glyphs needed when drawing a text layout. + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphProvider. + virtual HRESULT STDMETHODCALLTYPE GetGlyphProvider( + __out IFW1GlyphProvider **ppGlyphProvider + ) = 0; + + /// Convert a text layout to vertices. + /// This method internally calls the IDWriteTextLayout::Draw method, and handles callbacks to convert the formatted text into vertices, which will be stored in the passed IFW1TextGeometry object. + /// This method is not thread-safe. + /// Standard HRESULT error code. + /// A DirectWrite text layout. See the DirectWrite documentation. + /// The X origin of the text. + /// The Y origin of the text. + /// The default text color, as 0xAaGgBbRr. + /// Can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_ALIASED - No anti-aliasing is used when drawing the glyphs.
+ /// FW1_NONEWGLYPHS - No new glyphs are inserted into the atlas. Not previously cached glyphs are replaced with a fallback glyph (usually an empty box).
+ /// FW1_CACHEONLY - All glyphs are queried from the glyph-provider and cached in the glyph-atlas, but no geometry is produced.
+ /// FW1_ANALYZEONLY - The text-layout is analyzed and glyph-maps are prepared, but the glyphs in the string are not cached and no geometry is produced.
+ /// + /// An IFW1TextGeometry object that the output vertices will be appended to. + virtual HRESULT STDMETHODCALLTYPE DrawTextLayout( + __in IDWriteTextLayout *pTextLayout, + __in FLOAT OriginX, + __in FLOAT OriginY, + __in UINT32 Color, + __in UINT Flags, + __in IFW1TextGeometry *pTextGeometry + ) = 0; +}; + +/// This interface contains all render states and shaders needed to draw glyphs. +/// +MIDL_INTERFACE("906928B6-79D8-4b42-8CE4-DC7D7046F206") IFW1GlyphRenderStates : public IFW1Object { + /// Get the ID3D11Device that all render states are created on. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11Device. + virtual HRESULT STDMETHODCALLTYPE GetDevice( + __out ID3D11Device **ppDevice + ) = 0; + + /// Set the internal states on a context. + /// + /// No return value. + /// The context to set the states on. + /// Can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_NOGEOMETRYSHADER - States are set up to draw indexed quads instead of constructing quads in the geometry shader.
+ /// FW1_CLIPRECT - Shaders will be set up to clip any drawn glyphs to the clip-rect set in IFW1GlyphRenderStates::UpdateShaderConstants. + /// + virtual void STDMETHODCALLTYPE SetStates( + __in ID3D11DeviceContext *pContext, + __in UINT Flags + ) = 0; + + /// Update the internal constant buffer. + /// + /// No return value. + /// The context to use to update the constant buffer. + /// A pointer to a rectangle to clip drawn glyphs to. + /// An array of 16 floats, representing a matrix which all glyph vertices will be multiplied with, in the geometry or vertex shader. + virtual void STDMETHODCALLTYPE UpdateShaderConstants( + __in ID3D11DeviceContext *pContext, + __in const FW1_RECTF *pClipRect, + __in const FLOAT *pTransformMatrix + ) = 0; + + /// Returns whether a geometry shader is available. + /// When an IFW1GlyphRenderStates object is created, it may attempt to create a geometry shader, depending on the parameters passed to IFW1Factory::CreateRenderStates. + /// If a geometry shader is not created, either because of the specified parameters or because the device feature level does not support geometry shaders, this method will return FALSE. + /// Returns TRUE if a geometry shader is available, and otherwise returns FALSE. + virtual BOOL STDMETHODCALLTYPE HasGeometryShader( + ) = 0; +}; + +/// A container for a dynamic vertex and index buffer, used to draw glyph vertices. +/// +MIDL_INTERFACE("E6CD7A32-5B59-463c-9B1B-D44074FF655B") IFW1GlyphVertexDrawer : public IFW1Object { + /// Get the ID3D11Device that the buffers are created on. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11Device. + virtual HRESULT STDMETHODCALLTYPE GetDevice( + __out ID3D11Device **ppDevice + ) = 0; + + /// Upload the specified vertices to the device buffers and draw them. + /// + /// Returns the index of the sheet in the atlas that was last bound to the device context during the operation. + /// The context to use to draw. + /// The glyph atlas containg the glyphs referenced by the vertices. + /// Pointer to an FW1_VERTEXDATA structure, containing vertices to be drawn, sorted by glyph sheet. + /// These are easiest obtained from an IFW1TextGeometry object. + /// Can include zero or more of the following values, ORd together. Any additional values are ignored.
+ /// FW1_NOGEOMETRYSHADER - Vertices are converted to quads on the fly on the CPU, instead of being sent directly to the device for the geometry shader.
+ /// FW1_BUFFERSPREPARED - The internal buffers are assumed to already be set on the device context from a previous call. (Avoids redundant state changes when drawing multiple times). + /// + /// If a sheet in the atlas is known to already be correctly set on the device context, specify its index in the atlas with this parameter, to avoid redundant state changes. + /// If no sheet is known to already be set, specify 0xFFFFFFFF, or another value greater than the number of sheets in the atlas. + /// + virtual UINT STDMETHODCALLTYPE DrawVertices( + __in ID3D11DeviceContext *pContext, + __in IFW1GlyphAtlas *pGlyphAtlas, + __in const FW1_VERTEXDATA *pVertexData, + __in UINT Flags, + __in UINT PreboundSheet + ) = 0; +}; + +/// The IFW1FontWrapper interface is the main interface used to draw text. +/// It holds references to all objects needed to format and convert text to vertices, as well as the D3D11 states and buffers needed to draw them. +/// Create a font-wrapper using IFW1Factory::CreateFontWrapper +MIDL_INTERFACE("83347A5C-B0B1-460e-A35C-427E8B85F9F4") IFW1FontWrapper : public IFW1Object { + /// Get the ID3D11Device that is used by the font-wrapper. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an ID3D11Device. + virtual HRESULT STDMETHODCALLTYPE GetDevice( + __out ID3D11Device **ppDevice + ) = 0; + + /// Get the DirectWrite factory used by the font-wrapper. + /// The DirectWrite factory is used internally to create text-layouts when drawing strings using any of the DrawString methods. + /// Standard HRESULT error code. + /// Address of a pointer to an IDWriteFactory. + virtual HRESULT STDMETHODCALLTYPE GetDWriteFactory( + __out IDWriteFactory **ppDWriteFactory + ) = 0; + + /// Get the IFW1GlyphAtlas used to cache glyphs. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphAtlas. + virtual HRESULT STDMETHODCALLTYPE GetGlyphAtlas( + __out IFW1GlyphAtlas **ppGlyphAtlas + ) = 0; + + /// Get the IFW1GlyphProvider used to map glyphs to atlas IDs. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphProvider. + virtual HRESULT STDMETHODCALLTYPE GetGlyphProvider( + __out IFW1GlyphProvider **ppGlyphProvider + ) = 0; + + /// Get the IFW1GlyphRenderStates containing the render states needed to draw glyphs. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphRenderStates. + virtual HRESULT STDMETHODCALLTYPE GetRenderStates( + __out IFW1GlyphRenderStates **ppRenderStates + ) = 0; + + /// Get the IFW1GlyphVertexDrawer used to draw glyph vertices. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1GlyphVertexDrawer. + virtual HRESULT STDMETHODCALLTYPE GetVertexDrawer( + __out IFW1GlyphVertexDrawer **ppVertexDrawer + ) = 0; + + /// Draw a DirectWrite text layout. + /// Consult the DirectWrite documentation for details on how to construct a text-layout.
+ /// The pContext parameter can be NULL only if the FW1_NOFLUSH and either the FW1_ANALYZEONLY or the FW1_CACHEONLY flags are specified.
+ /// No return value. + /// The device context to draw on. + /// The text layout to draw. + /// The X origin of the text in the layout. + /// The Y origin of the text in the layout. + /// The default color of the text, as 0xAaBbGgRr. + /// See FW1_TEXT_FLAG. The alignment and word-wrapping flags have no meaning when drawing a preconstructed text layout. + virtual void STDMETHODCALLTYPE DrawTextLayout( + __in ID3D11DeviceContext *pContext, + __in IDWriteTextLayout *pTextLayout, + __in FLOAT OriginX, + __in FLOAT OriginY, + __in UINT32 Color, + __in UINT Flags + ) = 0; + + /// Draw a DirectWrite text layout. + /// Consult the DirectWrite documentation for details on how to construct a text-layout.
+ /// The pContext parameter can be NULL only if the FW1_NOFLUSH and either the FW1_ANALYZEONLY or the FW1_CACHEONLY flags are specified.
+ /// No return value. + /// The device context to draw on. + /// The text layout to draw. + /// The X origin of the text in the layout. + /// The Y origin of the text in the layout. + /// The default color of the text, as 0xAaBbGgRr. + /// A pointer to a rectangle to clip the text to if also using the FW1_CLIPRECT flag, or NULL to not clip. + /// An array of 16 floats, representing a matrix which the text will be transformed by. + /// See FW1_TEXT_FLAG. The alignment and word-wrapping flags have no meaning when drawing a preconstructed text layout. + virtual void STDMETHODCALLTYPE DrawTextLayout( + __in ID3D11DeviceContext *pContext, + __in IDWriteTextLayout *pTextLayout, + __in FLOAT OriginX, + __in FLOAT OriginY, + __in UINT32 Color, + __in const FW1_RECTF *pClipRect, + __in const FLOAT *pTransformMatrix, + __in UINT Flags + ) = 0; + + /// Draw a string. + /// The pContext parameter can be NULL only if the FW1_NOFLUSH and either the FW1_ANALYZEONLY or the FW1_CACHEONLY flags are specified. + /// No return value. + /// The device context to draw on. + /// The NULL-terminated string to draw. + /// The size of the font. + /// The X origin of the text. + /// The Y origin of the text . + /// The color of the text, as 0xAaBbGgRr. + /// See the FW1_TEXT_FLAG enumeration. + virtual void STDMETHODCALLTYPE DrawString( + __in ID3D11DeviceContext *pContext, + __in const WCHAR *pszString, + __in FLOAT FontSize, + __in FLOAT X, + __in FLOAT Y, + __in UINT32 Color, + __in UINT Flags + ) = 0; + + /// Draw a string. + /// The pContext parameter can be NULL only if the FW1_NOFLUSH and either the FW1_ANALYZEONLY or the FW1_CACHEONLY flags are specified. + /// No return value. + /// The device context to draw on. + /// The NULL-terminated string to draw. + /// The font family to use, such as Arial or Courier New. + /// The size of the font. + /// The X origin of the text. + /// The Y origin of the text . + /// The color of the text, as 0xAaBbGgRr. + /// See the FW1_TEXT_FLAG enumeration. + virtual void STDMETHODCALLTYPE DrawString( + __in ID3D11DeviceContext *pContext, + __in const WCHAR *pszString, + __in const WCHAR *pszFontFamily, + __in FLOAT FontSize, + __in FLOAT X, + __in FLOAT Y, + __in UINT32 Color, + __in UINT Flags + ) = 0; + + /// Draw a string. + /// The pContext parameter can be NULL only if the FW1_NOFLUSH and either the FW1_ANALYZEONLY or the FW1_CACHEONLY flags are specified. + /// No return value. + /// The device context to draw on. + /// The NULL-terminated string to draw. + /// The font family to use, such as Arial or Courier New. + /// The size of the font. + /// A pointer to a rectangle to format the text in. + /// The color of the text, as 0xAaBbGgRr. + /// A pointer to a rectangle to clip the text to if also using the FW1_CLIPRECT flag, or NULL to not clip. + /// An array of 16 floats, representing a matrix which the text will be transformed by, or NULL to draw in screen-space. + /// See the FW1_TEXT_FLAG enumeration. + virtual void STDMETHODCALLTYPE DrawString( + __in ID3D11DeviceContext *pContext, + __in const WCHAR *pszString, + __in const WCHAR *pszFontFamily, + __in FLOAT FontSize, + __in const FW1_RECTF *pLayoutRect, + __in UINT32 Color, + __in const FW1_RECTF *pClipRect, + __in const FLOAT *pTransformMatrix, + __in UINT Flags + ) = 0; + + /// Measure a string. + /// This function uses the IDWriteTextLayout::GetOverhangMetrics to obtain the size of the string. + /// The smallest rectangle that completely contains the string if drawn with DrawString and the same parameters as used with MeasureString. + /// The NULL-terminated string to measure. + /// The font family to use, such as Arial or Courier New. + /// The size of the font. + /// A pointer to a rectangle to format the text in. + /// See the FW1_TEXT_FLAG enumeration. + virtual FW1_RECTF STDMETHODCALLTYPE MeasureString( + __in const WCHAR *pszString, + __in const WCHAR *pszFontFamily, + __in FLOAT FontSize, + __in const FW1_RECTF *pLayoutRect, + __in UINT Flags + ) = 0; + + /// Analyze a string and generate geometry to draw it. + /// pTextGeometry can be NULL if the FW1_ANALYZEONLY or FW1_CACHEONLY flags are specified, as no actual geometry will be generated. + /// pContext can be NULL if the FW1_NOFLUSH flag is used, as any new glyphs will not be flushed to the device buffers. + /// No return value. + /// A device context to use to update device buffers when new glyphs are added to the glyph-atlas. + /// The NULL-terminated string to create geometry from. + /// The font family to use, such as Arial or Courier New. + /// The size of the font. + /// A pointer to a rectangle to format the text in. + /// The color of the text, as 0xAaBbGgRr. + /// See the FW1_TEXT_FLAG enumeration. + /// An IFW1TextGeometry object that the output vertices will be appended to. + virtual void STDMETHODCALLTYPE AnalyzeString( + __in ID3D11DeviceContext *pContext, + __in const WCHAR *pszString, + __in const WCHAR *pszFontFamily, + __in FLOAT FontSize, + __in const FW1_RECTF *pLayoutRect, + __in UINT32 Color, + __in UINT Flags, + __in IFW1TextGeometry *pTextGeometry + ) = 0; + + /// Analyze a text layout and generate geometry to draw it. + /// Consult the DirectWrite documentation for details on how to construct a text-layout. + /// pTextGeometry can be NULL if the FW1_ANALYZEONLY or FW1_CACHEONLY flags are specified, as no actual geometry will be generated. + /// pContext can be NULL if the FW1_NOFLUSH flag is used, as any new glyphs will not be flushed to the device buffers. + /// No return value. + /// A device context to use to update device buffers when new glyphs are added to the glyph-atlas. + /// The DirectWrite text layout to create geometry from. + /// The X origin of the text in the layout. + /// The Y origin of the text in the layout. + /// The default color of the text, as 0xAaBbGgRr. + /// See FW1_TEXT_FLAG. The alignment and word-wrapping flags have no meaning when using a preconstructed text layout. + /// An IFW1TextGeometry object that the output vertices will be appended to. + virtual void STDMETHODCALLTYPE AnalyzeTextLayout( + __in ID3D11DeviceContext *pContext, + __in IDWriteTextLayout *pTextLayout, + __in FLOAT OriginX, + __in FLOAT OriginY, + __in UINT32 Color, + __in UINT Flags, + __in IFW1TextGeometry *pTextGeometry + ) = 0; + + /// Draw geometry. + /// + /// No return value. + /// The device context to draw on. + /// The geometry to draw. + /// A pointer to a rectangle to clip the text to if also using the FW1_CLIPRECT flag, or NULL to not clip. This rect is in text-space, and clipping is performed prior to any transformation. + /// An array of 16 floats, representing a matrix which the text will be transformed by, or NULL to draw in screen-space. + /// See the FW1_TEXT_FLAG enumeration. + virtual void STDMETHODCALLTYPE DrawGeometry( + __in ID3D11DeviceContext *pContext, + __in IFW1TextGeometry *pGeometry, + __in const FW1_RECTF *pClipRect, + __in const FLOAT *pTransformMatrix, + __in UINT Flags + ) = 0; + + /// Flush any new glyphs to GPU resources. + /// This method calls IFW1GlyphAtlas::Flush to flush any newly cached glyphs. + /// This method is only needed if drawing text using the FW1_NOFLUSH flag and delaying flushing data to the device, as otherwise it is implicitly called whenever a string is drawn. See IFW1GlyphAtlas::Flush. + /// No return value. + /// The device context to use to update device resources. + virtual void STDMETHODCALLTYPE Flush( + __in ID3D11DeviceContext *pContext + ) = 0; +}; + +/// +/// Used to create all subsequent FW1 objects. +/// An IFW1Factory can be created using FW1CreateFactory. +/// +/// +/// Any and all FW1 objects are always created through a factory. All FW1 objects inherit from IFW1Object, and holds a reference to the factory that created them. +/// If an object in turn creates new objects, it uses the same factory that created the object itself. +/// For example, a glyph-atlas will ask the factory that created it to create new glyph-sheets as glyphs are added to the atlas. +/// +MIDL_INTERFACE("8004DB2B-B5F9-4420-A6A2-E17E15E4C336") IFW1Factory : public IUnknown { + public: + /// Create an IFW1FontWrapper object with default settings. + /// Standard HRESULT error code. + /// + /// The ID3D11Device the font-wrapper will be used with. + /// The default font-family to use when drawing strings. + /// Valid values include for example L"Arial" and L"Courier New", provided that the fonts are installed on the system. + /// Font-fallback will automatically choose a different font if the specified one is not available. + /// Address of a pointer to a font-wrapper (See IFW1FontWrapper). + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + __in ID3D11Device *pDevice, + __in LPCWSTR pszFontFamily, + __out IFW1FontWrapper **ppFontWrapper + ) = 0; + + /// Create an IFW1FontWrapper object. + /// + /// Standard HRESULT error code. + /// The ID3D11Device that the font-wrapper will be used with. + /// Pointer to an FW1_FONTWRAPPERCREATEPARAMS structure that describes the settings for the new font-wrapper. + /// Address of a pointer to a font-wrapper (See IFW1FontWrapper). + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + __in ID3D11Device *pDevice, + __in IDWriteFactory *pDWriteFactory, + __in const FW1_FONTWRAPPERCREATEPARAMS *pCreateParams, + __out IFW1FontWrapper **ppFontWrapper + ) = 0; + + /// Create an IFW1FontWrapper object. + /// + /// Standard HRESULT error code. + /// The ID3D11Device that the font-wrapper will be used with. + /// An IFW1GlyphAtlas that glyph-images will be stored in. + /// An IFW1GlyphProvider that handles fonts and glyphmaps. + /// An IFW1GlyphVertexDrawer that handles drawing glyph-vertices. + /// An IFW1GlyphRenderStates that handles all needed context states when drawing glyphs. + /// An IDWriteFactory that is used to create render-targets to draw glyphs with. + /// Pointer to an FW1_DWRITEFONTPARAMS that describes the default font. + /// Can be NULL if only drawing preconstructed DirectWrite text layouts. + /// Address of a pointer to a font-wrapper (See IFW1FontWrapper). + virtual HRESULT STDMETHODCALLTYPE CreateFontWrapper( + __in ID3D11Device *pDevice, + __in IFW1GlyphAtlas *pGlyphAtlas, + __in IFW1GlyphProvider *pGlyphProvider, + __in IFW1GlyphVertexDrawer *pGlyphVertexDrawer, + __in IFW1GlyphRenderStates *pGlyphRenderStates, + __in IDWriteFactory *pDWriteFactory, + __in const FW1_DWRITEFONTPARAMS *pDefaultFontParams, + __out IFW1FontWrapper **ppFontWrapper + ) = 0; + + /// Create an IFW1GlyphVertexDrawer object. + /// + /// Standard HRESULT error code. + /// The ID3D11Device that the vertex drawer will be used with. + /// The size in bytes of the dynamic vertex buffer. An index buffer will be created with a matching size. + /// Address of a pointer to a glyph-vertex drawer (See IFW1GlyphVertexDrawer). + virtual HRESULT STDMETHODCALLTYPE CreateGlyphVertexDrawer( + __in ID3D11Device *pDevice, + __in UINT VertexBufferSize, + __out IFW1GlyphVertexDrawer **ppGlyphVertexDrawer + ) = 0; + + /// Create an IFW1GlyphRenderStates object. + /// + /// Standard HRESULT error code. + /// The ID3D11Device that the render-states will be used with. + /// If TRUE, no geometry shader will be created. + /// If TRUE, a sampler state enabling anisotropic filtering will be created. + /// Address of a pointer to a glyph render-states object (See IFW1GlyphRenderStates). + virtual HRESULT STDMETHODCALLTYPE CreateGlyphRenderStates( + __in ID3D11Device *pDevice, + __in BOOL DisableGeometryShader, + __in BOOL AnisotropicFiltering, + __out IFW1GlyphRenderStates **ppGlyphRenderStates + ) = 0; + + /// Create an IFW1TextRenderer object. + /// + /// Standard HRESULT error code. + /// The IFW1GlyphProvider that provides glyph-information for the text-renderer. + /// Address of a pointer to a IFW1TextRenderer. + virtual HRESULT STDMETHODCALLTYPE CreateTextRenderer( + __in IFW1GlyphProvider *pGlyphProvider, + __out IFW1TextRenderer **ppTextRenderer + ) = 0; + + /// Create an IFW1TextGeometry object. + /// + /// Standard HRESULT error code. + /// Address of a pointer to an IFW1TextGeometry. + virtual HRESULT STDMETHODCALLTYPE CreateTextGeometry( + __out IFW1TextGeometry **ppTextGeometry + ) = 0; + + /// Create an IFW1GlyphProvider object. + /// + /// Standard HRESULT error code. + /// A glyph atlas to store glyph images in. + /// A DirectWrite factory, used to create glyph render targets. + /// A font collection used to identify fonts from DirectWrite font-face objects. + /// The maximum width of a single glyph. + /// The maximum height of a single glyph. + /// Address of a pointer to an IFW1GlyphProvider. + virtual HRESULT STDMETHODCALLTYPE CreateGlyphProvider( + __in IFW1GlyphAtlas *pGlyphAtlas, + __in IDWriteFactory *pDWriteFactory, + __in IDWriteFontCollection *pFontCollection, + __in UINT MaxGlyphWidth, + __in UINT MaxGlyphHeight, + __out IFW1GlyphProvider **ppGlyphProvider + ) = 0; + + /// Create an IFW1DWriteRenderTarget object. + /// + /// Standard HRESULT error code. + /// A DirectWrite factory used to create the internal render target. + /// The width of the render target. + /// The height of the render target. + /// Address of a pointer to an IFW1DWriteRenderTarget. + virtual HRESULT STDMETHODCALLTYPE CreateDWriteRenderTarget( + __in IDWriteFactory *pDWriteFactory, + __in UINT RenderTargetWidth, + __in UINT RenderTargetHeight, + __out IFW1DWriteRenderTarget **ppRenderTarget + ) = 0; + + /// Create an IFW1GlyphAtlas object. + /// + /// Standard HRESULT error code. + /// A D3D11 device used to create device resources. + /// Width of the atlas textures. + /// Height of the atlas textures. + /// If TRUE, create a D3D11 buffer with glyph coordinates for each sheet, for use with the geometry shader. + /// If FALSE, glyphs that are larger than the atlas textures will be rejected instead of partially inserted. + /// The maximum number of glyphs in a single sheet texture. + /// The number of mip levels for the textures. + /// The maximum number of sheet textures. + /// Address of a pointer to an IFW1GlyphAtlas. + virtual HRESULT STDMETHODCALLTYPE CreateGlyphAtlas( + __in ID3D11Device *pDevice, + __in UINT GlyphSheetWidth, + __in UINT GlyphSheetHeight, + __in BOOL HardwareCoordBuffer, + __in BOOL AllowOversizedGlyph, + __in UINT MaxGlyphCountPerSheet, + __in UINT MipLevels, + __in UINT MaxGlyphSheetCount, + __out IFW1GlyphAtlas **ppGlyphAtlas + ) = 0; + + /// Create an IFW1GlyphSheet object. + /// + /// Standard HRESULT error code. + /// A D3D11 device used to create device resources. + /// Width of the sheet texture. + /// Height of the sheet texture. + /// If TRUE, create a D3D11 buffer with glyph coordinates, for use with the geometry shader. + /// If FALSE, glyphs that are larger than the sheet texture will be rejected instead of partially inserted. + /// The maximum number of glyphs in the sheet. + /// The number of mip levels for the texture. + /// Address of a pointer to an IFW1GlyphSheet. + virtual HRESULT STDMETHODCALLTYPE CreateGlyphSheet( + __in ID3D11Device *pDevice, + __in UINT GlyphSheetWidth, + __in UINT GlyphSheetHeight, + __in BOOL HardwareCoordBuffer, + __in BOOL AllowOversizedGlyph, + __in UINT MaxGlyphCount, + __in UINT MipLevels, + __out IFW1GlyphSheet **ppGlyphSheet + ) = 0; + + /// Create an IFW1ColorRGBA object. + /// An IFW1ColorRGBA can be set as the drawing effect for a range in a DirectWrite text layout to override the default color. + /// Standard HRESULT error code. + /// The initial color, as 0xAaBbGgRr. + /// Address of a pointer to an IFW1ColorRGBA. + virtual HRESULT STDMETHODCALLTYPE CreateColor( + __in UINT32 Color, + __out IFW1ColorRGBA **ppColor + ) = 0; +}; + +#ifdef FW1_COMPILETODLL + extern "C" __declspec(dllexport) HRESULT STDMETHODCALLTYPE FW1CreateFactory( + __in UINT32 Version, + __out IFW1Factory **ppFactory + ); +#else + /// The FW1CreateFactory method creates an IFWFactory object, that can subsequently be used to create any and all FW1 objects. + /// + /// Standard HRESULT error code. + /// Set to FW1_VERSION. Is used to make sure the header matches the library version. + /// Address of a pointer to an IFW1Factory. + extern "C" HRESULT STDMETHODCALLTYPE FW1CreateFactory( + __in UINT32 Version, + __out IFW1Factory **ppFactory + ); +#endif + +typedef HRESULT (STDMETHODCALLTYPE * PFN_FW1CREATEFACTORY) (UINT32 Version, IFW1Factory **ppFactory); + + +#endif// IncludeGuard__FW1_FW1FontWrapper_h diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1Precompiled.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1Precompiled.h new file mode 100644 index 0000000..f0fd35f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/FW1FontWrapper/FW1Precompiled.h @@ -0,0 +1,24 @@ +// FW1Precompiled.h + +#ifndef IncludeGuard__FW1_FW1Precompiled_h +#define IncludeGuard__FW1_FW1Precompiled_h + + +#define NOMINMAX +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "FW1CompileSettings.h" +#include "FW1FontWrapper.h" + + +#endif// IncludeGuard__FW1_FW1Precompiled_h diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Fnv1a/Hash_Fnv1a_Constexpr.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Fnv1a/Hash_Fnv1a_Constexpr.hpp new file mode 100644 index 0000000..8917f92 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/Fnv1a/Hash_Fnv1a_Constexpr.hpp @@ -0,0 +1,25 @@ +#pragma once + +#include + +// FNV1a c++11 constexpr compile time hash functions, 32 and 64 bit +// str should be a null terminated string literal, value should be left out +// e.g hash_32_fnv1a_const("example") +// code license: public domain or equivalent +// post: https://notes.underscorediscovery.com/constexpr-fnv1a/ + +constexpr uint32_t val_32_const = 0x811c9dc5; +constexpr uint32_t prime_32_const = 0x1000193; + +constexpr uint64_t val_64_const = 0xcbf29ce484222325; +constexpr uint64_t prime_64_const = 0x100000001b3; + +inline constexpr uint32_t hash_32_fnv1a_const( const char* const str , const uint32_t value = val_32_const ) noexcept +{ + return ( str[0] == '\0' ) ? value : hash_32_fnv1a_const( &str[1] , ( value ^ uint32_t( (uint8_t)str[0] ) ) * prime_32_const ); +} + +inline constexpr uint64_t hash_64_fnv1a_const( const char* const str , const uint64_t value = val_64_const ) noexcept +{ + return ( str[0] == '\0' ) ? value : hash_64_fnv1a_const( &str[1] , ( value ^ uint64_t( (uint8_t)str[0] ) ) * prime_64_const ); +} diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.cpp new file mode 100644 index 0000000..7dcd5bf --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.cpp @@ -0,0 +1,969 @@ +// dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder) +// (code) + +// Get the latest version at https://github.com/ocornut/imgui/tree/master/misc/freetype +// Original code by @vuhdo (Aleksei Skriabin). Improvements by @mikesart. Maintained since 2019 by @ocornut. + +// CHANGELOG +// (minor and older changes stripped away, please see git history for details) +// 2024/10/17: added plutosvg support for SVG Fonts (seems faster/better than lunasvg). Enable by using '#define IMGUI_ENABLE_FREETYPE_PLUTOSVG'. (#7927) +// 2023/11/13: added support for ImFontConfig::RasterizationDensity field for scaling render density without scaling metrics. +// 2023/08/01: added support for SVG fonts, enable by using '#define IMGUI_ENABLE_FREETYPE_LUNASVG'. (#6591) +// 2023/01/04: fixed a packing issue which in some occurrences would prevent large amount of glyphs from being packed correctly. +// 2021/08/23: fixed crash when FT_Render_Glyph() fails to render a glyph and returns nullptr. +// 2021/03/05: added ImGuiFreeTypeBuilderFlags_Bitmap to load bitmap glyphs. +// 2021/03/02: set 'atlas->TexPixelsUseColors = true' to help some backends with deciding of a preferred texture format. +// 2021/01/28: added support for color-layered glyphs via ImGuiFreeTypeBuilderFlags_LoadColor (require Freetype 2.10+). +// 2021/01/26: simplified integration by using '#define IMGUI_ENABLE_FREETYPE'. renamed ImGuiFreeType::XXX flags to ImGuiFreeTypeBuilderFlags_XXX for consistency with other API. removed ImGuiFreeType::BuildFontAtlas(). +// 2020/06/04: fix for rare case where FT_Get_Char_Index() succeed but FT_Load_Glyph() fails. +// 2019/02/09: added RasterizerFlags::Monochrome flag to disable font anti-aliasing (combine with ::MonoHinting for best results!) +// 2019/01/15: added support for imgui allocators + added FreeType only override function SetAllocatorFunctions(). +// 2019/01/10: re-factored to match big update in STB builder. fixed texture height waste. fixed redundant glyphs when merging. support for glyph padding. +// 2018/06/08: added support for ImFontConfig::GlyphMinAdvanceX, GlyphMaxAdvanceX. +// 2018/02/04: moved to main imgui repository (away from http://www.github.com/ocornut/imgui_club) +// 2018/01/22: fix for addition of ImFontAtlas::TexUvscale member. +// 2017/10/22: minor inconsequential change to match change in master (removed an unnecessary statement). +// 2017/09/26: fixes for imgui internal changes. +// 2017/08/26: cleanup, optimizations, support for ImFontConfig::RasterizerFlags, ImFontConfig::RasterizerMultiply. +// 2017/08/16: imported from https://github.com/Vuhdo/imgui_freetype into http://www.github.com/ocornut/imgui_club, updated for latest changes in ImFontAtlas, minor tweaks. + +// About Gamma Correct Blending: +// - FreeType assumes blending in linear space rather than gamma space. +// - See https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Render_Glyph +// - For correct results you need to be using sRGB and convert to linear space in the pixel shader output. +// - The default dear imgui styles will be impacted by this change (alpha values will need tweaking). + +// FIXME: cfg.OversampleH, OversampleV are not supported, but generally not necessary with this rasterizer because Hinting makes everything look better. + +#include +#ifndef IMGUI_DISABLE +#include "imgui_freetype.h" +#include // ImMin,ImMax,ImFontAtlasBuild*, +#include +#include +#include FT_FREETYPE_H // +#include FT_MODULE_H // +#include FT_GLYPH_H // +#include FT_SYNTHESIS_H // + +// Handle LunaSVG and PlutoSVG +#if defined(IMGUI_ENABLE_FREETYPE_LUNASVG) && defined(IMGUI_ENABLE_FREETYPE_PLUTOSVG) +#error "Cannot enable both IMGUI_ENABLE_FREETYPE_LUNASVG and IMGUI_ENABLE_FREETYPE_PLUTOSVG" +#endif +#ifdef IMGUI_ENABLE_FREETYPE_LUNASVG +#include FT_OTSVG_H // +#include FT_BBOX_H // +#include +#endif +#ifdef IMGUI_ENABLE_FREETYPE_PLUTOSVG +#include +#endif +#if defined(IMGUI_ENABLE_FREETYPE_LUNASVG) || defined (IMGUI_ENABLE_FREETYPE_PLUTOSVG) +#if !((FREETYPE_MAJOR >= 2) && (FREETYPE_MINOR >= 12)) +#error IMGUI_ENABLE_FREETYPE_PLUTOSVG or IMGUI_ENABLE_FREETYPE_LUNASVG requires FreeType version >= 2.12 +#endif +#endif + +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) +#pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). +#endif + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wsubobject-linkage" // warning: 'xxxx' has a field 'xxxx' whose type uses the anonymous namespace +#endif +#endif + +//------------------------------------------------------------------------- +// Data +//------------------------------------------------------------------------- + +// Default memory allocators +static void* ImGuiFreeTypeDefaultAllocFunc(size_t size, void* user_data) { IM_UNUSED(user_data); return IM_ALLOC(size); } +static void ImGuiFreeTypeDefaultFreeFunc(void* ptr, void* user_data) { IM_UNUSED(user_data); IM_FREE(ptr); } + +// Current memory allocators +static void* (*GImGuiFreeTypeAllocFunc)(size_t size, void* user_data) = ImGuiFreeTypeDefaultAllocFunc; +static void (*GImGuiFreeTypeFreeFunc)(void* ptr, void* user_data) = ImGuiFreeTypeDefaultFreeFunc; +static void* GImGuiFreeTypeAllocatorUserData = nullptr; + +// Lunasvg support +#ifdef IMGUI_ENABLE_FREETYPE_LUNASVG +static FT_Error ImGuiLunasvgPortInit(FT_Pointer* state); +static void ImGuiLunasvgPortFree(FT_Pointer* state); +static FT_Error ImGuiLunasvgPortRender(FT_GlyphSlot slot, FT_Pointer* _state); +static FT_Error ImGuiLunasvgPortPresetSlot(FT_GlyphSlot slot, FT_Bool cache, FT_Pointer* _state); +#endif + +//------------------------------------------------------------------------- +// Code +//------------------------------------------------------------------------- + +#define FT_CEIL(X) (((X + 63) & -64) / 64) // From SDL_ttf: Handy routines for converting from fixed point +#define FT_SCALEFACTOR 64.0f + +namespace +{ + // Glyph metrics: + // -------------- + // + // xmin xmax + // | | + // |<-------- width -------->| + // | | + // | +-------------------------+----------------- ymax + // | | ggggggggg ggggg | ^ ^ + // | | g:::::::::ggg::::g | | | + // | | g:::::::::::::::::g | | | + // | | g::::::ggggg::::::gg | | | + // | | g:::::g g:::::g | | | + // offsetX -|-------->| g:::::g g:::::g | offsetY | + // | | g:::::g g:::::g | | | + // | | g::::::g g:::::g | | | + // | | g:::::::ggggg:::::g | | | + // | | g::::::::::::::::g | | height + // | | gg::::::::::::::g | | | + // baseline ---*---------|---- gggggggg::::::g-----*-------- | + // / | | g:::::g | | + // origin | | gggggg g:::::g | | + // | | g:::::gg gg:::::g | | + // | | g::::::ggg:::::::g | | + // | | gg:::::::::::::g | | + // | | ggg::::::ggg | | + // | | gggggg | v + // | +-------------------------+----------------- ymin + // | | + // |------------- advanceX ----------->| + + // A structure that describe a glyph. + struct GlyphInfo + { + int Width; // Glyph's width in pixels. + int Height; // Glyph's height in pixels. + FT_Int OffsetX; // The distance from the origin ("pen position") to the left of the glyph. + FT_Int OffsetY; // The distance from the origin to the top of the glyph. This is usually a value < 0. + float AdvanceX; // The distance from the origin to the origin of the next glyph. This is usually a value > 0. + bool IsColored; // The glyph is colored + }; + + // Font parameters and metrics. + struct FontInfo + { + uint32_t PixelHeight; // Size this font was generated with. + float Ascender; // The pixel extents above the baseline in pixels (typically positive). + float Descender; // The extents below the baseline in pixels (typically negative). + float LineSpacing; // The baseline-to-baseline distance. Note that it usually is larger than the sum of the ascender and descender taken as absolute values. There is also no guarantee that no glyphs extend above or below subsequent baselines when using this distance. Think of it as a value the designer of the font finds appropriate. + float LineGap; // The spacing in pixels between one row's descent and the next row's ascent. + float MaxAdvanceWidth; // This field gives the maximum horizontal cursor advance for all glyphs in the font. + }; + + // FreeType glyph rasterizer. + // NB: No ctor/dtor, explicitly call Init()/Shutdown() + struct FreeTypeFont + { + bool InitFont(FT_Library ft_library, const ImFontConfig& src, unsigned int extra_user_flags); // Initialize from an external data buffer. Doesn't copy data, and you must ensure it stays valid up to this object lifetime. + void CloseFont(); + void SetPixelHeight(int pixel_height); // Change font pixel size. All following calls to RasterizeGlyph() will use this size + const FT_Glyph_Metrics* LoadGlyph(uint32_t in_codepoint); + const FT_Bitmap* RenderGlyphAndGetInfo(GlyphInfo* out_glyph_info); + void BlitGlyph(const FT_Bitmap* ft_bitmap, uint32_t* dst, uint32_t dst_pitch, unsigned char* multiply_table = nullptr); + FreeTypeFont() { memset((void*)this, 0, sizeof(*this)); } + ~FreeTypeFont() { CloseFont(); } + + // [Internals] + FontInfo Info; // Font descriptor of the current font. + FT_Face Face; + unsigned int UserFlags; // = ImFontConfig::RasterizerFlags + FT_Int32 LoadFlags; + FT_Render_Mode RenderMode; + float RasterizationDensity; + float InvRasterizationDensity; + }; + + bool FreeTypeFont::InitFont(FT_Library ft_library, const ImFontConfig& src, unsigned int extra_font_builder_flags) + { + FT_Error error = FT_New_Memory_Face(ft_library, (uint8_t*)src.FontData, (uint32_t)src.FontDataSize, (uint32_t)src.FontNo, &Face); + if (error != 0) + return false; + error = FT_Select_Charmap(Face, FT_ENCODING_UNICODE); + if (error != 0) + return false; + + // Convert to FreeType flags (NB: Bold and Oblique are processed separately) + UserFlags = src.FontBuilderFlags | extra_font_builder_flags; + + LoadFlags = 0; + if ((UserFlags & ImGuiFreeTypeBuilderFlags_Bitmap) == 0) + LoadFlags |= FT_LOAD_NO_BITMAP; + + if (UserFlags & ImGuiFreeTypeBuilderFlags_NoHinting) + LoadFlags |= FT_LOAD_NO_HINTING; + if (UserFlags & ImGuiFreeTypeBuilderFlags_NoAutoHint) + LoadFlags |= FT_LOAD_NO_AUTOHINT; + if (UserFlags & ImGuiFreeTypeBuilderFlags_ForceAutoHint) + LoadFlags |= FT_LOAD_FORCE_AUTOHINT; + if (UserFlags & ImGuiFreeTypeBuilderFlags_LightHinting) + LoadFlags |= FT_LOAD_TARGET_LIGHT; + else if (UserFlags & ImGuiFreeTypeBuilderFlags_MonoHinting) + LoadFlags |= FT_LOAD_TARGET_MONO; + else + LoadFlags |= FT_LOAD_TARGET_NORMAL; + + if (UserFlags & ImGuiFreeTypeBuilderFlags_Monochrome) + RenderMode = FT_RENDER_MODE_MONO; + else + RenderMode = FT_RENDER_MODE_NORMAL; + + if (UserFlags & ImGuiFreeTypeBuilderFlags_LoadColor) + LoadFlags |= FT_LOAD_COLOR; + + RasterizationDensity = src.RasterizerDensity; + InvRasterizationDensity = 1.0f / RasterizationDensity; + + memset(&Info, 0, sizeof(Info)); + SetPixelHeight((uint32_t)src.SizePixels); + + return true; + } + + void FreeTypeFont::CloseFont() + { + if (Face) + { + FT_Done_Face(Face); + Face = nullptr; + } + } + + void FreeTypeFont::SetPixelHeight(int pixel_height) + { + // Vuhdo: I'm not sure how to deal with font sizes properly. As far as I understand, currently ImGui assumes that the 'pixel_height' + // is a maximum height of an any given glyph, i.e. it's the sum of font's ascender and descender. Seems strange to me. + // NB: FT_Set_Pixel_Sizes() doesn't seem to get us the same result. + FT_Size_RequestRec req; + req.type = (UserFlags & ImGuiFreeTypeBuilderFlags_Bitmap) ? FT_SIZE_REQUEST_TYPE_NOMINAL : FT_SIZE_REQUEST_TYPE_REAL_DIM; + req.width = 0; + req.height = (uint32_t)(pixel_height * 64 * RasterizationDensity); + req.horiResolution = 0; + req.vertResolution = 0; + FT_Request_Size(Face, &req); + + // Update font info + FT_Size_Metrics metrics = Face->size->metrics; + Info.PixelHeight = (uint32_t)(pixel_height * InvRasterizationDensity); + Info.Ascender = (float)FT_CEIL(metrics.ascender) * InvRasterizationDensity; + Info.Descender = (float)FT_CEIL(metrics.descender) * InvRasterizationDensity; + Info.LineSpacing = (float)FT_CEIL(metrics.height) * InvRasterizationDensity; + Info.LineGap = (float)FT_CEIL(metrics.height - metrics.ascender + metrics.descender) * InvRasterizationDensity; + Info.MaxAdvanceWidth = (float)FT_CEIL(metrics.max_advance) * InvRasterizationDensity; + } + + const FT_Glyph_Metrics* FreeTypeFont::LoadGlyph(uint32_t codepoint) + { + uint32_t glyph_index = FT_Get_Char_Index(Face, codepoint); + if (glyph_index == 0) + return nullptr; + + // If this crash for you: FreeType 2.11.0 has a crash bug on some bitmap/colored fonts. + // - https://gitlab.freedesktop.org/freetype/freetype/-/issues/1076 + // - https://github.com/ocornut/imgui/issues/4567 + // - https://github.com/ocornut/imgui/issues/4566 + // You can use FreeType 2.10, or the patched version of 2.11.0 in VcPkg, or probably any upcoming FreeType version. + FT_Error error = FT_Load_Glyph(Face, glyph_index, LoadFlags); + if (error) + return nullptr; + + // Need an outline for this to work + FT_GlyphSlot slot = Face->glyph; +#if defined(IMGUI_ENABLE_FREETYPE_LUNASVG) || defined(IMGUI_ENABLE_FREETYPE_PLUTOSVG) + IM_ASSERT(slot->format == FT_GLYPH_FORMAT_OUTLINE || slot->format == FT_GLYPH_FORMAT_BITMAP || slot->format == FT_GLYPH_FORMAT_SVG); +#else +#if ((FREETYPE_MAJOR >= 2) && (FREETYPE_MINOR >= 12)) + IM_ASSERT(slot->format != FT_GLYPH_FORMAT_SVG && "The font contains SVG glyphs, you'll need to enable IMGUI_ENABLE_FREETYPE_PLUTOSVG or IMGUI_ENABLE_FREETYPE_LUNASVG in imconfig.h and install required libraries in order to use this font"); +#endif + IM_ASSERT(slot->format == FT_GLYPH_FORMAT_OUTLINE || slot->format == FT_GLYPH_FORMAT_BITMAP); +#endif // IMGUI_ENABLE_FREETYPE_LUNASVG + + // Apply convenience transform (this is not picking from real "Bold"/"Italic" fonts! Merely applying FreeType helper transform. Oblique == Slanting) + if (UserFlags & ImGuiFreeTypeBuilderFlags_Bold) + FT_GlyphSlot_Embolden(slot); + if (UserFlags & ImGuiFreeTypeBuilderFlags_Oblique) + { + FT_GlyphSlot_Oblique(slot); + //FT_BBox bbox; + //FT_Outline_Get_BBox(&slot->outline, &bbox); + //slot->metrics.width = bbox.xMax - bbox.xMin; + //slot->metrics.height = bbox.yMax - bbox.yMin; + } + + return &slot->metrics; + } + + const FT_Bitmap* FreeTypeFont::RenderGlyphAndGetInfo(GlyphInfo* out_glyph_info) + { + FT_GlyphSlot slot = Face->glyph; + FT_Error error = FT_Render_Glyph(slot, RenderMode); + if (error != 0) + return nullptr; + + FT_Bitmap* ft_bitmap = &Face->glyph->bitmap; + out_glyph_info->Width = (int)ft_bitmap->width; + out_glyph_info->Height = (int)ft_bitmap->rows; + out_glyph_info->OffsetX = Face->glyph->bitmap_left; + out_glyph_info->OffsetY = -Face->glyph->bitmap_top; + out_glyph_info->AdvanceX = (float)slot->advance.x / FT_SCALEFACTOR; + out_glyph_info->IsColored = (ft_bitmap->pixel_mode == FT_PIXEL_MODE_BGRA); + + return ft_bitmap; + } + + void FreeTypeFont::BlitGlyph(const FT_Bitmap* ft_bitmap, uint32_t* dst, uint32_t dst_pitch, unsigned char* multiply_table) + { + IM_ASSERT(ft_bitmap != nullptr); + const uint32_t w = ft_bitmap->width; + const uint32_t h = ft_bitmap->rows; + const uint8_t* src = ft_bitmap->buffer; + const uint32_t src_pitch = ft_bitmap->pitch; + + switch (ft_bitmap->pixel_mode) + { + case FT_PIXEL_MODE_GRAY: // Grayscale image, 1 byte per pixel. + { + if (multiply_table == nullptr) + { + for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) + for (uint32_t x = 0; x < w; x++) + dst[x] = IM_COL32(255, 255, 255, src[x]); + } + else + { + for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) + for (uint32_t x = 0; x < w; x++) + dst[x] = IM_COL32(255, 255, 255, multiply_table[src[x]]); + } + break; + } + case FT_PIXEL_MODE_MONO: // Monochrome image, 1 bit per pixel. The bits in each byte are ordered from MSB to LSB. + { + uint8_t color0 = multiply_table ? multiply_table[0] : 0; + uint8_t color1 = multiply_table ? multiply_table[255] : 255; + for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) + { + uint8_t bits = 0; + const uint8_t* bits_ptr = src; + for (uint32_t x = 0; x < w; x++, bits <<= 1) + { + if ((x & 7) == 0) + bits = *bits_ptr++; + dst[x] = IM_COL32(255, 255, 255, (bits & 0x80) ? color1 : color0); + } + } + break; + } + case FT_PIXEL_MODE_BGRA: + { + // FIXME: Converting pre-multiplied alpha to straight. Doesn't smell good. + #define DE_MULTIPLY(color, alpha) ImMin((ImU32)(255.0f * (float)color / (float)(alpha + FLT_MIN) + 0.5f), 255u) + if (multiply_table == nullptr) + { + for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) + for (uint32_t x = 0; x < w; x++) + { + uint8_t r = src[x * 4 + 2], g = src[x * 4 + 1], b = src[x * 4], a = src[x * 4 + 3]; + dst[x] = IM_COL32(DE_MULTIPLY(r, a), DE_MULTIPLY(g, a), DE_MULTIPLY(b, a), a); + } + } + else + { + for (uint32_t y = 0; y < h; y++, src += src_pitch, dst += dst_pitch) + { + for (uint32_t x = 0; x < w; x++) + { + uint8_t r = src[x * 4 + 2], g = src[x * 4 + 1], b = src[x * 4], a = src[x * 4 + 3]; + dst[x] = IM_COL32(multiply_table[DE_MULTIPLY(r, a)], multiply_table[DE_MULTIPLY(g, a)], multiply_table[DE_MULTIPLY(b, a)], multiply_table[a]); + } + } + } + #undef DE_MULTIPLY + break; + } + default: + IM_ASSERT(0 && "FreeTypeFont::BlitGlyph(): Unknown bitmap pixel mode!"); + } + } +} // namespace + +#ifndef STB_RECT_PACK_IMPLEMENTATION // in case the user already have an implementation in the _same_ compilation unit (e.g. unity builds) +#ifndef IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION +#define STBRP_ASSERT(x) do { IM_ASSERT(x); } while (0) +#define STBRP_STATIC +#define STB_RECT_PACK_IMPLEMENTATION +#endif +#ifdef IMGUI_STB_RECT_PACK_FILENAME +#include IMGUI_STB_RECT_PACK_FILENAME +#else +#include +#endif +#endif + +struct ImFontBuildSrcGlyphFT +{ + GlyphInfo Info; + uint32_t Codepoint; + unsigned int* BitmapData; // Point within one of the dst_tmp_bitmap_buffers[] array + + ImFontBuildSrcGlyphFT() { memset((void*)this, 0, sizeof(*this)); } +}; + +struct ImFontBuildSrcDataFT +{ + FreeTypeFont Font; + stbrp_rect* Rects; // Rectangle to pack. We first fill in their size and the packer will give us their position. + const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x0020..0xFFFF) + int DstIndex; // Index into atlas->Fonts[] and dst_tmp_array[] + int GlyphsHighest; // Highest requested codepoint + int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font) + ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB) + ImVector GlyphsList; +}; + +// Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont) +struct ImFontBuildDstDataFT +{ + int SrcCount; // Number of source fonts targeting this destination font. + int GlyphsHighest; + int GlyphsCount; + ImBitVector GlyphsSet; // This is used to resolve collision when multiple sources are merged into a same destination font. +}; + +bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, unsigned int extra_flags) +{ + IM_ASSERT(atlas->Sources.Size > 0); + + ImFontAtlasBuildInit(atlas); + + // Clear atlas + atlas->TexID = 0; + atlas->TexWidth = atlas->TexHeight = 0; + atlas->TexUvScale = ImVec2(0.0f, 0.0f); + atlas->TexUvWhitePixel = ImVec2(0.0f, 0.0f); + atlas->ClearTexData(); + + // Temporary storage for building + bool src_load_color = false; + ImVector src_tmp_array; + ImVector dst_tmp_array; + src_tmp_array.resize(atlas->Sources.Size); + dst_tmp_array.resize(atlas->Fonts.Size); + memset((void*)src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); + memset((void*)dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); + + // 1. Initialize font loading structure, check font data validity + for (int src_i = 0; src_i < atlas->Sources.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + ImFontConfig& src = atlas->Sources[src_i]; + FreeTypeFont& font_face = src_tmp.Font; + IM_ASSERT(src.DstFont && (!src.DstFont->IsLoaded() || src.DstFont->ContainerAtlas == atlas)); + + // Find index from src.DstFont (we allow the user to set cfg.DstFont. Also it makes casual debugging nicer than when storing indices) + src_tmp.DstIndex = -1; + for (int output_i = 0; output_i < atlas->Fonts.Size && src_tmp.DstIndex == -1; output_i++) + if (src.DstFont == atlas->Fonts[output_i]) + src_tmp.DstIndex = output_i; + IM_ASSERT(src_tmp.DstIndex != -1); // src.DstFont not pointing within atlas->Fonts[] array? + if (src_tmp.DstIndex == -1) + return false; + + // Load font + if (!font_face.InitFont(ft_library, src, extra_flags)) + return false; + + // Measure highest codepoints + src_load_color |= (src.FontBuilderFlags & ImGuiFreeTypeBuilderFlags_LoadColor) != 0; + ImFontBuildDstDataFT& dst_tmp = dst_tmp_array[src_tmp.DstIndex]; + src_tmp.SrcRanges = src.GlyphRanges ? src.GlyphRanges : atlas->GetGlyphRangesDefault(); + for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) + { + // Check for valid range. This may also help detect *some* dangling pointers, because a common + // user error is to setup ImFontConfig::GlyphRanges with a pointer to data that isn't persistent, + // or to forget to zero-terminate the glyph range array. + IM_ASSERT(src_range[0] <= src_range[1] && "Invalid range: is your glyph range array persistent? it is zero-terminated?"); + src_tmp.GlyphsHighest = ImMax(src_tmp.GlyphsHighest, (int)src_range[1]); + } + dst_tmp.SrcCount++; + dst_tmp.GlyphsHighest = ImMax(dst_tmp.GlyphsHighest, src_tmp.GlyphsHighest); + } + + // 2. For every requested codepoint, check for their presence in the font data, and handle redundancy or overlaps between source fonts to avoid unused glyphs. + int total_glyphs_count = 0; + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + ImFontBuildDstDataFT& dst_tmp = dst_tmp_array[src_tmp.DstIndex]; + src_tmp.GlyphsSet.Create(src_tmp.GlyphsHighest + 1); + if (dst_tmp.GlyphsSet.Storage.empty()) + dst_tmp.GlyphsSet.Create(dst_tmp.GlyphsHighest + 1); + + for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) + for (int codepoint = src_range[0]; codepoint <= (int)src_range[1]; codepoint++) + { + if (dst_tmp.GlyphsSet.TestBit(codepoint)) // Don't overwrite existing glyphs. We could make this an option (e.g. MergeOverwrite) + continue; + uint32_t glyph_index = FT_Get_Char_Index(src_tmp.Font.Face, codepoint); // It is actually in the font? (FIXME-OPT: We are not storing the glyph_index..) + if (glyph_index == 0) + continue; + + // Add to avail set/counters + src_tmp.GlyphsCount++; + dst_tmp.GlyphsCount++; + src_tmp.GlyphsSet.SetBit(codepoint); + dst_tmp.GlyphsSet.SetBit(codepoint); + total_glyphs_count++; + } + } + + // 3. Unpack our bit map into a flat list (we now have all the Unicode points that we know are requested _and_ available _and_ not overlapping another) + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + src_tmp.GlyphsList.reserve(src_tmp.GlyphsCount); + + IM_ASSERT(sizeof(src_tmp.GlyphsSet.Storage.Data[0]) == sizeof(ImU32)); + const ImU32* it_begin = src_tmp.GlyphsSet.Storage.begin(); + const ImU32* it_end = src_tmp.GlyphsSet.Storage.end(); + for (const ImU32* it = it_begin; it < it_end; it++) + if (ImU32 entries_32 = *it) + for (ImU32 bit_n = 0; bit_n < 32; bit_n++) + if (entries_32 & ((ImU32)1 << bit_n)) + { + ImFontBuildSrcGlyphFT src_glyph; + src_glyph.Codepoint = (ImWchar)(((it - it_begin) << 5) + bit_n); + //src_glyph.GlyphIndex = 0; // FIXME-OPT: We had this info in the previous step and lost it.. + src_tmp.GlyphsList.push_back(src_glyph); + } + src_tmp.GlyphsSet.Clear(); + IM_ASSERT(src_tmp.GlyphsList.Size == src_tmp.GlyphsCount); + } + for (int dst_i = 0; dst_i < dst_tmp_array.Size; dst_i++) + dst_tmp_array[dst_i].GlyphsSet.Clear(); + dst_tmp_array.clear(); + + // Allocate packing character data and flag packed characters buffer as non-packed (x0=y0=x1=y1=0) + // (We technically don't need to zero-clear buf_rects, but let's do it for the sake of sanity) + ImVector buf_rects; + buf_rects.resize(total_glyphs_count); + memset(buf_rects.Data, 0, (size_t)buf_rects.size_in_bytes()); + + // Allocate temporary rasterization data buffers. + // We could not find a way to retrieve accurate glyph size without rendering them. + // (e.g. slot->metrics->width not always matching bitmap->width, especially considering the Oblique transform) + // We allocate in chunks of 256 KB to not waste too much extra memory ahead. Hopefully users of FreeType won't mind the temporary allocations. + const int BITMAP_BUFFERS_CHUNK_SIZE = 256 * 1024; + int buf_bitmap_current_used_bytes = 0; + ImVector buf_bitmap_buffers; + buf_bitmap_buffers.push_back((unsigned char*)IM_ALLOC(BITMAP_BUFFERS_CHUNK_SIZE)); + + // 4. Gather glyphs sizes so we can pack them in our virtual canvas. + // 8. Render/rasterize font characters into the texture + int total_surface = 0; + int buf_rects_out_n = 0; + const int pack_padding = atlas->TexGlyphPadding; + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + ImFontConfig& src = atlas->Sources[src_i]; + if (src_tmp.GlyphsCount == 0) + continue; + + src_tmp.Rects = &buf_rects[buf_rects_out_n]; + buf_rects_out_n += src_tmp.GlyphsCount; + + // Compute multiply table if requested + const bool multiply_enabled = (src.RasterizerMultiply != 1.0f); + unsigned char multiply_table[256]; + if (multiply_enabled) + ImFontAtlasBuildMultiplyCalcLookupTable(multiply_table, src.RasterizerMultiply); + + // Gather the sizes of all rectangles we will need to pack + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsList.Size; glyph_i++) + { + ImFontBuildSrcGlyphFT& src_glyph = src_tmp.GlyphsList[glyph_i]; + + const FT_Glyph_Metrics* metrics = src_tmp.Font.LoadGlyph(src_glyph.Codepoint); + if (metrics == nullptr) + continue; + + // Render glyph into a bitmap (currently held by FreeType) + const FT_Bitmap* ft_bitmap = src_tmp.Font.RenderGlyphAndGetInfo(&src_glyph.Info); + if (ft_bitmap == nullptr) + continue; + + // Allocate new temporary chunk if needed + const int bitmap_size_in_bytes = src_glyph.Info.Width * src_glyph.Info.Height * 4; + if (buf_bitmap_current_used_bytes + bitmap_size_in_bytes > BITMAP_BUFFERS_CHUNK_SIZE) + { + buf_bitmap_current_used_bytes = 0; + buf_bitmap_buffers.push_back((unsigned char*)IM_ALLOC(BITMAP_BUFFERS_CHUNK_SIZE)); + } + IM_ASSERT(buf_bitmap_current_used_bytes + bitmap_size_in_bytes <= BITMAP_BUFFERS_CHUNK_SIZE); // We could probably allocate custom-sized buffer instead. + + // Blit rasterized pixels to our temporary buffer and keep a pointer to it. + src_glyph.BitmapData = (unsigned int*)(buf_bitmap_buffers.back() + buf_bitmap_current_used_bytes); + buf_bitmap_current_used_bytes += bitmap_size_in_bytes; + src_tmp.Font.BlitGlyph(ft_bitmap, src_glyph.BitmapData, src_glyph.Info.Width, multiply_enabled ? multiply_table : nullptr); + + src_tmp.Rects[glyph_i].w = (stbrp_coord)(src_glyph.Info.Width + pack_padding); + src_tmp.Rects[glyph_i].h = (stbrp_coord)(src_glyph.Info.Height + pack_padding); + total_surface += src_tmp.Rects[glyph_i].w * src_tmp.Rects[glyph_i].h; + } + } + for (int i = 0; i < atlas->CustomRects.Size; i++) + total_surface += (atlas->CustomRects[i].Width + pack_padding) * (atlas->CustomRects[i].Height + pack_padding); + + // We need a width for the skyline algorithm, any width! + // The exact width doesn't really matter much, but some API/GPU have texture size limitations and increasing width can decrease height. + // User can override TexDesiredWidth and TexGlyphPadding if they wish, otherwise we use a simple heuristic to select the width based on expected surface. + const int surface_sqrt = (int)ImSqrt((float)total_surface) + 1; + atlas->TexHeight = 0; + if (atlas->TexDesiredWidth > 0) + atlas->TexWidth = atlas->TexDesiredWidth; + else + atlas->TexWidth = (surface_sqrt >= 4096 * 0.7f) ? 4096 : (surface_sqrt >= 2048 * 0.7f) ? 2048 : (surface_sqrt >= 1024 * 0.7f) ? 1024 : 512; + + // 5. Start packing + // Pack our extra data rectangles first, so it will be on the upper-left corner of our texture (UV will have small values). + const int TEX_HEIGHT_MAX = 1024 * 32; + const int num_nodes_for_packing_algorithm = atlas->TexWidth - atlas->TexGlyphPadding; + ImVector pack_nodes; + pack_nodes.resize(num_nodes_for_packing_algorithm); + stbrp_context pack_context; + stbrp_init_target(&pack_context, atlas->TexWidth - atlas->TexGlyphPadding, TEX_HEIGHT_MAX - atlas->TexGlyphPadding, pack_nodes.Data, pack_nodes.Size); + ImFontAtlasBuildPackCustomRects(atlas, &pack_context); + + // 6. Pack each source font. No rendering yet, we are working with rectangles in an infinitely tall texture at this point. + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + if (src_tmp.GlyphsCount == 0) + continue; + + stbrp_pack_rects(&pack_context, src_tmp.Rects, src_tmp.GlyphsCount); + + // Extend texture height and mark missing glyphs as non-packed so we won't render them. + // FIXME: We are not handling packing failure here (would happen if we got off TEX_HEIGHT_MAX or if a single if larger than TexWidth?) + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++) + if (src_tmp.Rects[glyph_i].was_packed) + atlas->TexHeight = ImMax(atlas->TexHeight, src_tmp.Rects[glyph_i].y + src_tmp.Rects[glyph_i].h); + } + + // 7. Allocate texture + atlas->TexHeight = (atlas->Flags & ImFontAtlasFlags_NoPowerOfTwoHeight) ? (atlas->TexHeight + 1) : ImUpperPowerOfTwo(atlas->TexHeight); + atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); + if (src_load_color) + { + size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 4; + atlas->TexPixelsRGBA32 = (unsigned int*)IM_ALLOC(tex_size); + memset(atlas->TexPixelsRGBA32, 0, tex_size); + } + else + { + size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 1; + atlas->TexPixelsAlpha8 = (unsigned char*)IM_ALLOC(tex_size); + memset(atlas->TexPixelsAlpha8, 0, tex_size); + } + + // 8. Copy rasterized font characters back into the main texture + // 9. Setup ImFont and glyphs for runtime + bool tex_use_colors = false; + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcDataFT& src_tmp = src_tmp_array[src_i]; + + // When merging fonts with MergeMode=true: + // - We can have multiple input fonts writing into a same destination font. + // - dst_font->Sources is != from src which is our source configuration. + ImFontConfig& src = atlas->Sources[src_i]; + ImFont* dst_font = src.DstFont; + + const float ascent = src_tmp.Font.Info.Ascender; + const float descent = src_tmp.Font.Info.Descender; + ImFontAtlasBuildSetupFont(atlas, dst_font, &src, ascent, descent); + + if (src_tmp.GlyphsCount == 0) + continue; + const float font_off_x = src.GlyphOffset.x; + const float font_off_y = src.GlyphOffset.y + IM_ROUND(dst_font->Ascent); + + const int padding = atlas->TexGlyphPadding; + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++) + { + ImFontBuildSrcGlyphFT& src_glyph = src_tmp.GlyphsList[glyph_i]; + stbrp_rect& pack_rect = src_tmp.Rects[glyph_i]; + IM_ASSERT(pack_rect.was_packed); + if (pack_rect.w == 0 && pack_rect.h == 0) + continue; + + GlyphInfo& info = src_glyph.Info; + IM_ASSERT(info.Width + padding <= pack_rect.w); + IM_ASSERT(info.Height + padding <= pack_rect.h); + const int tx = pack_rect.x + padding; + const int ty = pack_rect.y + padding; + + // Register glyph + float x0 = info.OffsetX * src_tmp.Font.InvRasterizationDensity + font_off_x; + float y0 = info.OffsetY * src_tmp.Font.InvRasterizationDensity + font_off_y; + float x1 = x0 + info.Width * src_tmp.Font.InvRasterizationDensity; + float y1 = y0 + info.Height * src_tmp.Font.InvRasterizationDensity; + float u0 = (tx) / (float)atlas->TexWidth; + float v0 = (ty) / (float)atlas->TexHeight; + float u1 = (tx + info.Width) / (float)atlas->TexWidth; + float v1 = (ty + info.Height) / (float)atlas->TexHeight; + dst_font->AddGlyph(&src, (ImWchar)src_glyph.Codepoint, x0, y0, x1, y1, u0, v0, u1, v1, info.AdvanceX * src_tmp.Font.InvRasterizationDensity); + + ImFontGlyph* dst_glyph = &dst_font->Glyphs.back(); + IM_ASSERT(dst_glyph->Codepoint == src_glyph.Codepoint); + if (src_glyph.Info.IsColored) + dst_glyph->Colored = tex_use_colors = true; + + // Blit from temporary buffer to final texture + size_t blit_src_stride = (size_t)src_glyph.Info.Width; + size_t blit_dst_stride = (size_t)atlas->TexWidth; + unsigned int* blit_src = src_glyph.BitmapData; + if (atlas->TexPixelsAlpha8 != nullptr) + { + unsigned char* blit_dst = atlas->TexPixelsAlpha8 + (ty * blit_dst_stride) + tx; + for (int y = 0; y < info.Height; y++, blit_dst += blit_dst_stride, blit_src += blit_src_stride) + for (int x = 0; x < info.Width; x++) + blit_dst[x] = (unsigned char)((blit_src[x] >> IM_COL32_A_SHIFT) & 0xFF); + } + else + { + unsigned int* blit_dst = atlas->TexPixelsRGBA32 + (ty * blit_dst_stride) + tx; + for (int y = 0; y < info.Height; y++, blit_dst += blit_dst_stride, blit_src += blit_src_stride) + for (int x = 0; x < info.Width; x++) + blit_dst[x] = blit_src[x]; + } + } + + src_tmp.Rects = nullptr; + } + atlas->TexPixelsUseColors = tex_use_colors; + + // Cleanup + for (int buf_i = 0; buf_i < buf_bitmap_buffers.Size; buf_i++) + IM_FREE(buf_bitmap_buffers[buf_i]); + src_tmp_array.clear_destruct(); + + ImFontAtlasBuildFinish(atlas); + + return true; +} + +// FreeType memory allocation callbacks +static void* FreeType_Alloc(FT_Memory /*memory*/, long size) +{ + return GImGuiFreeTypeAllocFunc((size_t)size, GImGuiFreeTypeAllocatorUserData); +} + +static void FreeType_Free(FT_Memory /*memory*/, void* block) +{ + GImGuiFreeTypeFreeFunc(block, GImGuiFreeTypeAllocatorUserData); +} + +static void* FreeType_Realloc(FT_Memory /*memory*/, long cur_size, long new_size, void* block) +{ + // Implement realloc() as we don't ask user to provide it. + if (block == nullptr) + return GImGuiFreeTypeAllocFunc((size_t)new_size, GImGuiFreeTypeAllocatorUserData); + + if (new_size == 0) + { + GImGuiFreeTypeFreeFunc(block, GImGuiFreeTypeAllocatorUserData); + return nullptr; + } + + if (new_size > cur_size) + { + void* new_block = GImGuiFreeTypeAllocFunc((size_t)new_size, GImGuiFreeTypeAllocatorUserData); + memcpy(new_block, block, (size_t)cur_size); + GImGuiFreeTypeFreeFunc(block, GImGuiFreeTypeAllocatorUserData); + return new_block; + } + + return block; +} + +static bool ImFontAtlasBuildWithFreeType(ImFontAtlas* atlas) +{ + // FreeType memory management: https://www.freetype.org/freetype2/docs/design/design-4.html + FT_MemoryRec_ memory_rec = {}; + memory_rec.user = nullptr; + memory_rec.alloc = &FreeType_Alloc; + memory_rec.free = &FreeType_Free; + memory_rec.realloc = &FreeType_Realloc; + + // https://www.freetype.org/freetype2/docs/reference/ft2-module_management.html#FT_New_Library + FT_Library ft_library; + FT_Error error = FT_New_Library(&memory_rec, &ft_library); + if (error != 0) + return false; + + // If you don't call FT_Add_Default_Modules() the rest of code may work, but FreeType won't use our custom allocator. + FT_Add_Default_Modules(ft_library); + +#ifdef IMGUI_ENABLE_FREETYPE_LUNASVG + // Install svg hooks for FreeType + // https://freetype.org/freetype2/docs/reference/ft2-properties.html#svg-hooks + // https://freetype.org/freetype2/docs/reference/ft2-svg_fonts.html#svg_fonts + SVG_RendererHooks hooks = { ImGuiLunasvgPortInit, ImGuiLunasvgPortFree, ImGuiLunasvgPortRender, ImGuiLunasvgPortPresetSlot }; + FT_Property_Set(ft_library, "ot-svg", "svg-hooks", &hooks); +#endif // IMGUI_ENABLE_FREETYPE_LUNASVG +#ifdef IMGUI_ENABLE_FREETYPE_PLUTOSVG + // With plutosvg, use provided hooks + FT_Property_Set(ft_library, "ot-svg", "svg-hooks", plutosvg_ft_svg_hooks()); +#endif // IMGUI_ENABLE_FREETYPE_PLUTOSVG + + bool ret = ImFontAtlasBuildWithFreeTypeEx(ft_library, atlas, atlas->FontBuilderFlags); + FT_Done_Library(ft_library); + + return ret; +} + +const ImFontBuilderIO* ImGuiFreeType::GetBuilderForFreeType() +{ + static ImFontBuilderIO io; + io.FontBuilder_Build = ImFontAtlasBuildWithFreeType; + return &io; +} + +void ImGuiFreeType::SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), void (*free_func)(void* ptr, void* user_data), void* user_data) +{ + GImGuiFreeTypeAllocFunc = alloc_func; + GImGuiFreeTypeFreeFunc = free_func; + GImGuiFreeTypeAllocatorUserData = user_data; +} + +#ifdef IMGUI_ENABLE_FREETYPE_LUNASVG +// For more details, see https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/rsvg-port.c +// The original code from the demo is licensed under CeCILL-C Free Software License Agreement (https://gitlab.freedesktop.org/freetype/freetype/-/blob/master/LICENSE.TXT) +struct LunasvgPortState +{ + FT_Error err = FT_Err_Ok; + lunasvg::Matrix matrix; + std::unique_ptr svg = nullptr; +}; + +static FT_Error ImGuiLunasvgPortInit(FT_Pointer* _state) +{ + *_state = IM_NEW(LunasvgPortState)(); + return FT_Err_Ok; +} + +static void ImGuiLunasvgPortFree(FT_Pointer* _state) +{ + IM_DELETE(*(LunasvgPortState**)_state); +} + +static FT_Error ImGuiLunasvgPortRender(FT_GlyphSlot slot, FT_Pointer* _state) +{ + LunasvgPortState* state = *(LunasvgPortState**)_state; + + // If there was an error while loading the svg in ImGuiLunasvgPortPresetSlot(), the renderer hook still get called, so just returns the error. + if (state->err != FT_Err_Ok) + return state->err; + + // rows is height, pitch (or stride) equals to width * sizeof(int32) + lunasvg::Bitmap bitmap((uint8_t*)slot->bitmap.buffer, slot->bitmap.width, slot->bitmap.rows, slot->bitmap.pitch); + state->svg->setMatrix(state->svg->matrix().identity()); // Reset the svg matrix to the default value + state->svg->render(bitmap, state->matrix); // state->matrix is already scaled and translated + state->err = FT_Err_Ok; + return state->err; +} + +static FT_Error ImGuiLunasvgPortPresetSlot(FT_GlyphSlot slot, FT_Bool cache, FT_Pointer* _state) +{ + FT_SVG_Document document = (FT_SVG_Document)slot->other; + LunasvgPortState* state = *(LunasvgPortState**)_state; + FT_Size_Metrics& metrics = document->metrics; + + // This function is called twice, once in the FT_Load_Glyph() and another right before ImGuiLunasvgPortRender(). + // If it's the latter, don't do anything because it's // already done in the former. + if (cache) + return state->err; + + state->svg = lunasvg::Document::loadFromData((const char*)document->svg_document, document->svg_document_length); + if (state->svg == nullptr) + { + state->err = FT_Err_Invalid_SVG_Document; + return state->err; + } + + lunasvg::Box box = state->svg->box(); + double scale = std::min(metrics.x_ppem / box.w, metrics.y_ppem / box.h); + double xx = (double)document->transform.xx / (1 << 16); + double xy = -(double)document->transform.xy / (1 << 16); + double yx = -(double)document->transform.yx / (1 << 16); + double yy = (double)document->transform.yy / (1 << 16); + double x0 = (double)document->delta.x / 64 * box.w / metrics.x_ppem; + double y0 = -(double)document->delta.y / 64 * box.h / metrics.y_ppem; + + // Scale and transform, we don't translate the svg yet + state->matrix.identity(); + state->matrix.scale(scale, scale); + state->matrix.transform(xx, xy, yx, yy, x0, y0); + state->svg->setMatrix(state->matrix); + + // Pre-translate the matrix for the rendering step + state->matrix.translate(-box.x, -box.y); + + // Get the box again after the transformation + box = state->svg->box(); + + // Calculate the bitmap size + slot->bitmap_left = FT_Int(box.x); + slot->bitmap_top = FT_Int(-box.y); + slot->bitmap.rows = (unsigned int)(ImCeil((float)box.h)); + slot->bitmap.width = (unsigned int)(ImCeil((float)box.w)); + slot->bitmap.pitch = slot->bitmap.width * 4; + slot->bitmap.pixel_mode = FT_PIXEL_MODE_BGRA; + + // Compute all the bearings and set them correctly. The outline is scaled already, we just need to use the bounding box. + double metrics_width = box.w; + double metrics_height = box.h; + double horiBearingX = box.x; + double horiBearingY = -box.y; + double vertBearingX = slot->metrics.horiBearingX / 64.0 - slot->metrics.horiAdvance / 64.0 / 2.0; + double vertBearingY = (slot->metrics.vertAdvance / 64.0 - slot->metrics.height / 64.0) / 2.0; + slot->metrics.width = FT_Pos(IM_ROUND(metrics_width * 64.0)); // Using IM_ROUND() assume width and height are positive + slot->metrics.height = FT_Pos(IM_ROUND(metrics_height * 64.0)); + slot->metrics.horiBearingX = FT_Pos(horiBearingX * 64); + slot->metrics.horiBearingY = FT_Pos(horiBearingY * 64); + slot->metrics.vertBearingX = FT_Pos(vertBearingX * 64); + slot->metrics.vertBearingY = FT_Pos(vertBearingY * 64); + + if (slot->metrics.vertAdvance == 0) + slot->metrics.vertAdvance = FT_Pos(metrics_height * 1.2 * 64.0); + + state->err = FT_Err_Ok; + return state->err; +} + +#endif // #ifdef IMGUI_ENABLE_FREETYPE_LUNASVG + +//----------------------------------------------------------------------------- + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + +#ifdef _MSC_VER +#pragma warning (pop) +#endif + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.h new file mode 100644 index 0000000..1d9b43c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/Misc/freetype/imgui_freetype.h @@ -0,0 +1,58 @@ +// dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder) +// (headers) + +#pragma once +#include +#ifndef IMGUI_DISABLE + +// Usage: +// - Add '#define IMGUI_ENABLE_FREETYPE' in your imconfig to enable support for imgui_freetype in imgui. + +// Optional support for OpenType SVG fonts: +// - Add '#define IMGUI_ENABLE_FREETYPE_PLUTOSVG' to use plutosvg (not provided). See #7927. +// - Add '#define IMGUI_ENABLE_FREETYPE_LUNASVG' to use lunasvg (not provided). See #6591. + +// Forward declarations +struct ImFontAtlas; +struct ImFontBuilderIO; + +// Hinting greatly impacts visuals (and glyph sizes). +// - By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter. +// - When disabled, FreeType generates blurrier glyphs, more or less matches the stb_truetype.h +// - The Default hinting mode usually looks good, but may distort glyphs in an unusual way. +// - The Light hinting mode generates fuzzier glyphs but better matches Microsoft's rasterizer. +// You can set those flags globaly in ImFontAtlas::FontBuilderFlags +// You can set those flags on a per font basis in ImFontConfig::FontBuilderFlags +enum ImGuiFreeTypeBuilderFlags +{ + ImGuiFreeTypeBuilderFlags_NoHinting = 1 << 0, // Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of the anti-aliased modes. + ImGuiFreeTypeBuilderFlags_NoAutoHint = 1 << 1, // Disable auto-hinter. + ImGuiFreeTypeBuilderFlags_ForceAutoHint = 1 << 2, // Indicates that the auto-hinter is preferred over the font's native hinter. + ImGuiFreeTypeBuilderFlags_LightHinting = 1 << 3, // A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble their original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph spacing in horizontal text. + ImGuiFreeTypeBuilderFlags_MonoHinting = 1 << 4, // Strong hinting algorithm that should only be used for monochrome output. + ImGuiFreeTypeBuilderFlags_Bold = 1 << 5, // Styling: Should we artificially embolden the font? + ImGuiFreeTypeBuilderFlags_Oblique = 1 << 6, // Styling: Should we slant the font, emulating italic style? + ImGuiFreeTypeBuilderFlags_Monochrome = 1 << 7, // Disable anti-aliasing. Combine this with MonoHinting for best results! + ImGuiFreeTypeBuilderFlags_LoadColor = 1 << 8, // Enable FreeType color-layered glyphs + ImGuiFreeTypeBuilderFlags_Bitmap = 1 << 9 // Enable FreeType bitmap glyphs +}; + +namespace ImGuiFreeType +{ + // This is automatically assigned when using '#define IMGUI_ENABLE_FREETYPE'. + // If you need to dynamically select between multiple builders: + // - you can manually assign this builder with 'atlas->FontBuilderIO = ImGuiFreeType::GetBuilderForFreeType()' + // - prefer deep-copying this into your own ImFontBuilderIO instance if you use hot-reloading that messes up static data. + IMGUI_API const ImFontBuilderIO* GetBuilderForFreeType(); + + // Override allocators. By default ImGuiFreeType will use IM_ALLOC()/IM_FREE() + // However, as FreeType does lots of allocations we provide a way for the user to redirect it to a separate memory heap if desired. + IMGUI_API void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), void (*free_func)(void* ptr, void* user_data), void* user_data = nullptr); + + // Obsolete names (will be removed soon) +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + //static inline bool BuildFontAtlas(ImFontAtlas* atlas, unsigned int flags = 0) { atlas->FontBuilderIO = GetBuilderForFreeType(); atlas->FontBuilderFlags = flags; return atlas->Build(); } // Prefer using '#define IMGUI_ENABLE_FREETYPE' +#endif +} + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imconfig.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imconfig.h new file mode 100644 index 0000000..c59227e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imconfig.h @@ -0,0 +1,122 @@ +//----------------------------------------------------------------------------- +// COMPILE-TIME OPTIONS FOR DEAR IMGUI +// Runtime options (clipboard callbacks, enabling various features, etc.) can generally be set via the ImGuiIO structure. +// You can use ImGui::SetAllocatorFunctions() before calling ImGui::CreateContext() to rewire memory allocation functions. +//----------------------------------------------------------------------------- +// A) You may edit imconfig.h (and not overwrite it when updating Dear ImGui, or maintain a patch/rebased branch with your modifications to it) +// B) or '#define IMGUI_USER_CONFIG "my_imgui_config.h"' in your project and then add directives in your own file without touching this template. +//----------------------------------------------------------------------------- +// You need to make sure that configuration settings are defined consistently _everywhere_ Dear ImGui is used, which include the imgui*.cpp +// files but also _any_ of your code that uses Dear ImGui. This is because some compile-time options have an affect on data structures. +// Defining those options in imconfig.h will ensure every compilation unit gets to see the same data structure layouts. +// Call IMGUI_CHECKVERSION() from your .cpp files to verify that the data structures your files are using are matching the ones imgui.cpp is using. +//----------------------------------------------------------------------------- + +#pragma once + +//---- Define assertion handler. Defaults to calling assert(). +// If your macro uses multiple statements, make sure is enclosed in a 'do { .. } while (0)' block so it can be used as a single statement. +//#define IM_ASSERT(_EXPR) MyAssert(_EXPR) +//#define IM_ASSERT(_EXPR) ((void)(_EXPR)) // Disable asserts + +//---- Define attributes of all API symbols declarations, e.g. for DLL under Windows +// Using Dear ImGui via a shared library is not recommended, because of function call overhead and because we don't guarantee backward nor forward ABI compatibility. +// DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() +// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details. +//#define IMGUI_API __declspec( dllexport ) +//#define IMGUI_API __declspec( dllimport ) + +//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names. +//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS +//#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.87: disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This will be folded into IMGUI_DISABLE_OBSOLETE_FUNCTIONS in a few versions. + +//---- Disable all of Dear ImGui or don't implement standard windows/tools. +// It is very strongly recommended to NOT disable the demo windows and debug tool during development. They are extremely useful in day to day work. Please read comments in imgui_demo.cpp. +//#define IMGUI_DISABLE // Disable everything: all headers and source files will be empty. +//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. +//#define IMGUI_DISABLE_DEBUG_TOOLS // Disable metrics/debugger and other debug tools: ShowMetricsWindow(), ShowDebugLogWindow() and ShowStackToolWindow() will be empty (this was called IMGUI_DISABLE_METRICS_WINDOW before 1.88). + +//---- Don't implement some functions to reduce linkage requirements. +//#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS // [Win32] Don't implement default clipboard handler. Won't use and link with OpenClipboard/GetClipboardData/CloseClipboard etc. (user32.lib/.a, kernel32.lib/.a) +//#define IMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS // [Win32] [Default with Visual Studio] Implement default IME handler (require imm32.lib/.a, auto-link for Visual Studio, -limm32 on command-line for MinGW) +//#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS // [Win32] [Default with non-Visual Studio compilers] Don't implement default IME handler (won't require imm32.lib/.a) +//#define IMGUI_DISABLE_WIN32_FUNCTIONS // [Win32] Won't use and link with any Win32 function (clipboard, ime). +//#define IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS // [OSX] Implement default OSX clipboard handler (need to link with '-framework ApplicationServices', this is why this is not the default). +//#define IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS // Don't implement ImFormatString/ImFormatStringV so you can implement them yourself (e.g. if you don't want to link with vsnprintf) +//#define IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS // Don't implement ImFabs/ImSqrt/ImPow/ImFmod/ImCos/ImSin/ImAcos/ImAtan2 so you can implement them yourself. +//#define IMGUI_DISABLE_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle at all (replace them with dummies) +//#define IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle so you can implement them yourself if you don't want to link with fopen/fclose/fread/fwrite. This will also disable the LogToTTY() function. +//#define IMGUI_DISABLE_DEFAULT_ALLOCATORS // Don't implement default allocators calling malloc()/free() to avoid linking with them. You will need to call ImGui::SetAllocatorFunctions(). +//#define IMGUI_DISABLE_SSE // Disable use of SSE intrinsics even if available + +//---- Include imgui_user.h at the end of imgui.h as a convenience +//#define IMGUI_INCLUDE_IMGUI_USER_H + +//---- Pack colors to BGRA8 instead of RGBA8 (to avoid converting from one to another) +//#define IMGUI_USE_BGRA_PACKED_COLOR + +//---- Use 32-bit for ImWchar (default is 16-bit) to support unicode planes 1-16. (e.g. point beyond 0xFFFF like emoticons, dingbats, symbols, shapes, ancient languages, etc...) +//#define IMGUI_USE_WCHAR32 + +//---- Avoid multiple STB libraries implementations, or redefine path/filenames to prioritize another version +// By default the embedded implementations are declared static and not available outside of Dear ImGui sources files. +//#define IMGUI_STB_TRUETYPE_FILENAME "my_folder/stb_truetype.h" +//#define IMGUI_STB_RECT_PACK_FILENAME "my_folder/stb_rect_pack.h" +//#define IMGUI_STB_SPRINTF_FILENAME "my_folder/stb_sprintf.h" // only used if enabled +//#define IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION +//#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION + +//---- Use stb_sprintf.h for a faster implementation of vsnprintf instead of the one from libc (unless IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS is defined) +// Compatibility checks of arguments and formats done by clang and GCC will be disabled in order to support the extra formats provided by stb_sprintf.h. +//#define IMGUI_USE_STB_SPRINTF + +//---- Use FreeType to build and rasterize the font atlas (instead of stb_truetype which is embedded by default in Dear ImGui) +// Requires FreeType headers to be available in the include path. Requires program to be compiled with 'misc/freetype/imgui_freetype.cpp' (in this repository) + the FreeType library (not provided). +// On Windows you may use vcpkg with 'vcpkg install freetype --triplet=x64-windows' + 'vcpkg integrate install'. +#define IMGUI_ENABLE_FREETYPE + +//---- Use stb_truetype to build and rasterize the font atlas (default) +// The only purpose of this define is if you want force compilation of the stb_truetype backend ALONG with the FreeType backend. +//#define IMGUI_ENABLE_STB_TRUETYPE + +//---- Define constructor and implicit cast operators to convert back<>forth between your math types and ImVec2/ImVec4. +// This will be inlined as part of ImVec2 and ImVec4 class declarations. +/* +#define IM_VEC2_CLASS_EXTRA \ + constexpr ImVec2(const MyVec2& f) : x(f.x), y(f.y) {} \ + operator MyVec2() const { return MyVec2(x,y); } + +#define IM_VEC4_CLASS_EXTRA \ + constexpr ImVec4(const MyVec4& f) : x(f.x), y(f.y), z(f.z), w(f.w) {} \ + operator MyVec4() const { return MyVec4(x,y,z,w); } +*/ +//---- ...Or use Dear ImGui's own very basic math operators. +#define IMGUI_DEFINE_MATH_OPERATORS + +//---- Use 32-bit vertex indices (default is 16-bit) is one way to allow large meshes with more than 64K vertices. +// Your renderer backend will need to support it (most example renderer backends support both 16/32-bit indices). +// Another way to allow large meshes while keeping 16-bit indices is to handle ImDrawCmd::VtxOffset in your renderer. +// Read about ImGuiBackendFlags_RendererHasVtxOffset for details. +//#define ImDrawIdx unsigned int + +//---- Override ImDrawCallback signature (will need to modify renderer backends accordingly) +//struct ImDrawList; +//struct ImDrawCmd; +//typedef void (*MyImDrawCallback)(const ImDrawList* draw_list, const ImDrawCmd* cmd, void* my_renderer_user_data); +//#define ImDrawCallback MyImDrawCallback + +//---- Debug Tools: Macro to break in Debugger +// (use 'Metrics->Tools->Item Picker' to pick widgets with the mouse and break into them for easy debugging.) +//#define IM_DEBUG_BREAK IM_ASSERT(0) +//#define IM_DEBUG_BREAK __debugbreak() + +//---- Debug Tools: Enable slower asserts +//#define IMGUI_DEBUG_PARANOID + +//---- Tip: You can add extra functions within the ImGui:: namespace, here or in your own headers files. +/* +namespace ImGui +{ + void MyFunction(const char* name, const MyMatrix44& v); +} +*/ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.cpp new file mode 100644 index 0000000..648734f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.cpp @@ -0,0 +1,17042 @@ +// dear imgui, v1.91.9 WIP +// (main code and documentation) + +// Help: +// - See links below. +// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. +// - Read top of imgui.cpp for more details, links and comments. + +// Resources: +// - FAQ ........................ https://dearimgui.com/faq (in repository as docs/FAQ.md) +// - Homepage ................... https://github.com/ocornut/imgui +// - Releases & changelog ....... https://github.com/ocornut/imgui/releases +// - Gallery .................... https://github.com/ocornut/imgui/issues?q=label%3Agallery (please post your screenshots/video there!) +// - Wiki ....................... https://github.com/ocornut/imgui/wiki (lots of good stuff there) +// - Getting Started https://github.com/ocornut/imgui/wiki/Getting-Started (how to integrate in an existing app by adding ~25 lines of code) +// - Third-party Extensions https://github.com/ocornut/imgui/wiki/Useful-Extensions (ImPlot & many more) +// - Bindings/Backends https://github.com/ocornut/imgui/wiki/Bindings (language bindings, backends for various tech/engines) +// - Glossary https://github.com/ocornut/imgui/wiki/Glossary +// - Debug Tools https://github.com/ocornut/imgui/wiki/Debug-Tools +// - Software using Dear ImGui https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui +// - Issues & support ........... https://github.com/ocornut/imgui/issues +// - Test Engine & Automation ... https://github.com/ocornut/imgui_test_engine (test suite, test engine to automate your apps) + +// For first-time users having issues compiling/linking/running/loading fonts: +// please post in https://github.com/ocornut/imgui/discussions if you cannot find a solution in resources above. +// Everything else should be asked in 'Issues'! We are building a database of cross-linked knowledge there. + +// Copyright (c) 2014-2025 Omar Cornut +// Developed by Omar Cornut and every direct or indirect contributors to the GitHub. +// See LICENSE.txt for copyright and licensing details (standard MIT License). +// This library is free but needs your support to sustain development and maintenance. +// Businesses: you can support continued development via B2B invoiced technical support, maintenance and sponsoring contracts. +// PLEASE reach out at omar AT dearimgui DOT com. See https://github.com/ocornut/imgui/wiki/Funding +// Businesses: you can also purchase licenses for the Dear ImGui Automation/Test Engine. + +// It is recommended that you don't modify imgui.cpp! It will become difficult for you to update the library. +// Note that 'ImGui::' being a namespace, you can add functions into the namespace from your own source files, without +// modifying imgui.h or imgui.cpp. You may include imgui_internal.h to access internal data structures, but it doesn't +// come with any guarantee of forward compatibility. Discussing your changes on the GitHub Issue Tracker may lead you +// to a better solution or official support for them. + +/* + +Index of this file: + +DOCUMENTATION + +- MISSION STATEMENT +- CONTROLS GUIDE +- PROGRAMMER GUIDE + - READ FIRST + - HOW TO UPDATE TO A NEWER VERSION OF DEAR IMGUI + - GETTING STARTED WITH INTEGRATING DEAR IMGUI IN YOUR CODE/ENGINE + - HOW A SIMPLE APPLICATION MAY LOOK LIKE + - HOW A SIMPLE RENDERING FUNCTION MAY LOOK LIKE +- API BREAKING CHANGES (read me when you update!) +- FREQUENTLY ASKED QUESTIONS (FAQ) + - Read all answers online: https://www.dearimgui.com/faq, or in docs/FAQ.md (with a Markdown viewer) + +CODE +(search for "[SECTION]" in the code to find them) + +// [SECTION] INCLUDES +// [SECTION] FORWARD DECLARATIONS +// [SECTION] CONTEXT AND MEMORY ALLOCATORS +// [SECTION] USER FACING STRUCTURES (ImGuiStyle, ImGuiIO, ImGuiPlatformIO) +// [SECTION] MISC HELPERS/UTILITIES (Geometry functions) +// [SECTION] MISC HELPERS/UTILITIES (String, Format, Hash functions) +// [SECTION] MISC HELPERS/UTILITIES (File functions) +// [SECTION] MISC HELPERS/UTILITIES (ImText* functions) +// [SECTION] MISC HELPERS/UTILITIES (Color functions) +// [SECTION] ImGuiStorage +// [SECTION] ImGuiTextFilter +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex +// [SECTION] ImGuiListClipper +// [SECTION] STYLING +// [SECTION] RENDER HELPERS +// [SECTION] INITIALIZATION, SHUTDOWN +// [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) +// [SECTION] ID STACK +// [SECTION] INPUTS +// [SECTION] ERROR CHECKING, STATE RECOVERY +// [SECTION] ITEM SUBMISSION +// [SECTION] LAYOUT +// [SECTION] SCROLLING +// [SECTION] TOOLTIPS +// [SECTION] POPUPS +// [SECTION] WINDOW FOCUS +// [SECTION] KEYBOARD/GAMEPAD NAVIGATION +// [SECTION] DRAG AND DROP +// [SECTION] LOGGING/CAPTURING +// [SECTION] SETTINGS +// [SECTION] LOCALIZATION +// [SECTION] VIEWPORTS, PLATFORM WINDOWS +// [SECTION] PLATFORM DEPENDENT HELPERS +// [SECTION] METRICS/DEBUGGER WINDOW +// [SECTION] DEBUG LOG WINDOW +// [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, ID STACK TOOL) + +*/ + +//----------------------------------------------------------------------------- +// DOCUMENTATION +//----------------------------------------------------------------------------- + +/* + + MISSION STATEMENT + ================= + + - Easy to use to create code-driven and data-driven tools. + - Easy to use to create ad hoc short-lived tools and long-lived, more elaborate tools. + - Easy to hack and improve. + - Minimize setup and maintenance. + - Minimize state storage on user side. + - Minimize state synchronization. + - Portable, minimize dependencies, run on target (consoles, phones, etc.). + - Efficient runtime and memory consumption. + + Designed primarily for developers and content-creators, not the typical end-user! + Some of the current weaknesses (which we aim to address in the future) includes: + + - Doesn't look fancy. + - Limited layout features, intricate layouts are typically crafted in code. + + + CONTROLS GUIDE + ============== + + - MOUSE CONTROLS + - Mouse wheel: Scroll vertically. + - SHIFT+Mouse wheel: Scroll horizontally. + - Click [X]: Close a window, available when 'bool* p_open' is passed to ImGui::Begin(). + - Click ^, Double-Click title: Collapse window. + - Drag on corner/border: Resize window (double-click to auto fit window to its contents). + - Drag on any empty space: Move window (unless io.ConfigWindowsMoveFromTitleBarOnly = true). + - Left-click outside popup: Close popup stack (right-click over underlying popup: Partially close popup stack). + + - TEXT EDITOR + - Hold SHIFT or Drag Mouse: Select text. + - CTRL+Left/Right: Word jump. + - CTRL+Shift+Left/Right: Select words. + - CTRL+A or Double-Click: Select All. + - CTRL+X, CTRL+C, CTRL+V: Use OS clipboard. + - CTRL+Z Undo. + - CTRL+Y or CTRL+Shift+Z: Redo. + - ESCAPE: Revert text to its original value. + - On OSX, controls are automatically adjusted to match standard OSX text editing 2ts and behaviors. + + - KEYBOARD CONTROLS + - Basic: + - Tab, SHIFT+Tab Cycle through text editable fields. + - CTRL+Tab, CTRL+Shift+Tab Cycle through windows. + - CTRL+Click Input text into a Slider or Drag widget. + - Extended features with `io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard`: + - Tab, SHIFT+Tab: Cycle through every items. + - Arrow keys Move through items using directional navigation. Tweak value. + - Arrow keys + Alt, Shift Tweak slower, tweak faster (when using arrow keys). + - Enter Activate item (prefer text input when possible). + - Space Activate item (prefer tweaking with arrows when possible). + - Escape Deactivate item, leave child window, close popup. + - Page Up, Page Down Previous page, next page. + - Home, End Scroll to top, scroll to bottom. + - Alt Toggle between scrolling layer and menu layer. + - CTRL+Tab then Ctrl+Arrows Move window. Hold SHIFT to resize instead of moving. + - Output when ImGuiConfigFlags_NavEnableKeyboard set, + - io.WantCaptureKeyboard flag is set when keyboard is claimed. + - io.NavActive: true when a window is focused and it doesn't have the ImGuiWindowFlags_NoNavInputs flag set. + - io.NavVisible: true when the navigation cursor is visible (usually goes to back false when mouse is used). + + - GAMEPAD CONTROLS + - Enable with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'. + - Particularly useful to use Dear ImGui on a console system (e.g. PlayStation, Switch, Xbox) without a mouse! + - Download controller mapping PNG/PSD at http://dearimgui.com/controls_sheets + - Backend support: backend needs to: + - Set 'io.BackendFlags |= ImGuiBackendFlags_HasGamepad' + call io.AddKeyEvent/AddKeyAnalogEvent() with ImGuiKey_Gamepad_XXX keys. + - For analog values (0.0f to 1.0f), backend is responsible to handling a dead-zone and rescaling inputs accordingly. + Backend code will probably need to transform your raw inputs (such as e.g. remapping your 0.2..0.9 raw input range to 0.0..1.0 imgui range, etc.). + - If you need to share inputs between your game and the Dear ImGui interface, the easiest approach is to go all-or-nothing, + with a buttons combo to toggle the target. Please reach out if you think the game vs navigation input sharing could be improved. + + - REMOTE INPUTS SHARING & MOUSE EMULATION + - PS4/PS5 users: Consider emulating a mouse cursor with DualShock touch pad or a spare analog stick as a mouse-emulation fallback. + - Consoles/Tablet/Phone users: Consider using a Synergy 1.x server (on your PC) + run examples/libs/synergy/uSynergy.c (on your console/tablet/phone app) + in order to share your PC mouse/keyboard. + - See https://github.com/ocornut/imgui/wiki/Useful-Extensions#remoting for other remoting solutions. + - On a TV/console system where readability may be lower or mouse inputs may be awkward, you may want to set the io.ConfigNavMoveSetMousePos flag. + Enabling io.ConfigNavMoveSetMousePos + ImGuiBackendFlags_HasSetMousePos instructs Dear ImGui to move your mouse cursor along with navigation movements. + When enabled, the NewFrame() function may alter 'io.MousePos' and set 'io.WantSetMousePos' to notify you that it wants the mouse cursor to be moved. + When that happens your backend NEEDS to move the OS or underlying mouse cursor on the next frame. Some of the backends in examples/ do that. + (If you set the NavEnableSetMousePos flag but don't honor 'io.WantSetMousePos' properly, Dear ImGui will misbehave as it will see your mouse moving back & forth!) + (In a setup when you may not have easy control over the mouse cursor, e.g. uSynergy.c doesn't expose moving remote mouse cursor, you may want + to set a boolean to ignore your other external mouse positions until the external source is moved again.) + + + PROGRAMMER GUIDE + ================ + + READ FIRST + ---------- + - Remember to check the wonderful Wiki (https://github.com/ocornut/imgui/wiki) + - Your code creates the UI every frame of your application loop, if your code doesn't run the UI is gone! + The UI can be highly dynamic, there are no construction or destruction steps, less superfluous + data retention on your side, less state duplication, less state synchronization, fewer bugs. + - Call and read ImGui::ShowDemoWindow() for demo code demonstrating most features. + Or browse https://pthom.github.io/imgui_manual_online/manual/imgui_manual.html for interactive web version. + - The library is designed to be built from sources. Avoid pre-compiled binaries and packaged versions. See imconfig.h to configure your build. + - Dear ImGui is an implementation of the IMGUI paradigm (immediate-mode graphical user interface, a term coined by Casey Muratori). + You can learn about IMGUI principles at http://www.johno.se/book/imgui.html, http://mollyrocket.com/861 & more links in Wiki. + - Dear ImGui is a "single pass" rasterizing implementation of the IMGUI paradigm, aimed at ease of use and high-performances. + For every application frame, your UI code will be called only once. This is in contrast to e.g. Unity's implementation of an IMGUI, + where the UI code is called multiple times ("multiple passes") from a single entry point. There are pros and cons to both approaches. + - Our origin is on the top-left. In axis aligned bounding boxes, Min = top-left, Max = bottom-right. + - Please make sure you have asserts enabled (IM_ASSERT redirects to assert() by default, but can be redirected). + If you get an assert, read the messages and comments around the assert. + - This codebase aims to be highly optimized: + - A typical idle frame should never call malloc/free. + - We rely on a maximum of constant-time or O(N) algorithms. Limiting searches/scans as much as possible. + - We put particular energy in making sure performances are decent with typical "Debug" build settings as well. + Which mean we tend to avoid over-relying on "zero-cost abstraction" as they aren't zero-cost at all. + - This codebase aims to be both highly opinionated and highly flexible: + - This code works because of the things it choose to solve or not solve. + - C++: this is a pragmatic C-ish codebase: we don't use fancy C++ features, we don't include C++ headers, + and ImGui:: is a namespace. We rarely use member functions (and when we did, I am mostly regretting it now). + This is to increase compatibility, increase maintainability and facilitate use from other languages. + - C++: ImVec2/ImVec4 do not expose math operators by default, because it is expected that you use your own math types. + See FAQ "How can I use my own math types instead of ImVec2/ImVec4?" for details about setting up imconfig.h for that. + We can can optionally export math operators for ImVec2/ImVec4 using IMGUI_DEFINE_MATH_OPERATORS, which we use internally. + - C++: pay attention that ImVector<> manipulates plain-old-data and does not honor construction/destruction + (so don't use ImVector in your code or at our own risk!). + - Building: We don't use nor mandate a build system for the main library. + This is in an effort to ensure that it works in the real world aka with any esoteric build setup. + This is also because providing a build system for the main library would be of little-value. + The build problems are almost never coming from the main library but from specific backends. + + + HOW TO UPDATE TO A NEWER VERSION OF DEAR IMGUI + ---------------------------------------------- + - Update submodule or copy/overwrite every file. + - About imconfig.h: + - You may modify your copy of imconfig.h, in this case don't overwrite it. + - or you may locally branch to modify imconfig.h and merge/rebase latest. + - or you may '#define IMGUI_USER_CONFIG "my_config_file.h"' globally from your build system to + specify a custom path for your imconfig.h file and instead not have to modify the default one. + + - Overwrite all the sources files except for imconfig.h (if you have modified your copy of imconfig.h) + - Or maintain your own branch where you have imconfig.h modified as a top-most commit which you can regularly rebase over "master". + - You can also use '#define IMGUI_USER_CONFIG "my_config_file.h" to redirect configuration to your own file. + - Read the "API BREAKING CHANGES" section (below). This is where we list occasional API breaking changes. + If a function/type has been renamed / or marked obsolete, try to fix the name in your code before it is permanently removed + from the public API. If you have a problem with a missing function/symbols, search for its name in the code, there will + likely be a comment about it. Please report any issue to the GitHub page! + - To find out usage of old API, you can add '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' in your configuration file. + - Try to keep your copy of Dear ImGui reasonably up to date! + + + GETTING STARTED WITH INTEGRATING DEAR IMGUI IN YOUR CODE/ENGINE + --------------------------------------------------------------- + - See https://github.com/ocornut/imgui/wiki/Getting-Started. + - Run and study the examples and demo in imgui_demo.cpp to get acquainted with the library. + - In the majority of cases you should be able to use unmodified backends files available in the backends/ folder. + - Add the Dear ImGui source files + selected backend source files to your projects or using your preferred build system. + It is recommended you build and statically link the .cpp files as part of your project and NOT as a shared library (DLL). + - You can later customize the imconfig.h file to tweak some compile-time behavior, such as integrating Dear ImGui types with your own maths types. + - When using Dear ImGui, your programming IDE is your friend: follow the declaration of variables, functions and types to find comments about them. + - Dear ImGui never touches or knows about your GPU state. The only function that knows about GPU is the draw function that you provide. + Effectively it means you can create widgets at any time in your code, regardless of considerations of being in "update" vs "render" + phases of your own application. All rendering information is stored into command-lists that you will retrieve after calling ImGui::Render(). + - Refer to the backends and demo applications in the examples/ folder for instruction on how to setup your code. + - If you are running over a standard OS with a common graphics API, you should be able to use unmodified imgui_impl_*** files from the examples/ folder. + + + HOW A SIMPLE APPLICATION MAY LOOK LIKE + -------------------------------------- + EXHIBIT 1: USING THE EXAMPLE BACKENDS (= imgui_impl_XXX.cpp files from the backends/ folder). + The sub-folders in examples/ contain examples applications following this structure. + + // Application init: create a dear imgui context, setup some options, load fonts + ImGui::CreateContext(); + ImGuiIO& io = ImGui::GetIO(); + // TODO: Set optional io.ConfigFlags values, e.g. 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard' to enable keyboard controls. + // TODO: Fill optional fields of the io structure later. + // TODO: Load TTF/OTF fonts if you don't want to use the default font. + + // Initialize helper Platform and Renderer backends (here we are using imgui_impl_win32.cpp and imgui_impl_dx11.cpp) + ImGui_ImplWin32_Init(hwnd); + ImGui_ImplDX11_Init(g_pd3dDevice, g_pd3dDeviceContext); + + // Application main loop + while (true) + { + // Feed inputs to dear imgui, start new frame + ImGui_ImplDX11_NewFrame(); + ImGui_ImplWin32_NewFrame(); + ImGui::NewFrame(); + + // Any application code here + ImGui::Text("Hello, world!"); + + // Render dear imgui into screen + ImGui::Render(); + ImGui_ImplDX11_RenderDrawData(ImGui::GetDrawData()); + g_pSwapChain->Present(1, 0); + } + + // Shutdown + ImGui_ImplDX11_Shutdown(); + ImGui_ImplWin32_Shutdown(); + ImGui::DestroyContext(); + + EXHIBIT 2: IMPLEMENTING CUSTOM BACKEND / CUSTOM ENGINE + + // Application init: create a dear imgui context, setup some options, load fonts + ImGui::CreateContext(); + ImGuiIO& io = ImGui::GetIO(); + // TODO: Set optional io.ConfigFlags values, e.g. 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard' to enable keyboard controls. + // TODO: Fill optional fields of the io structure later. + // TODO: Load TTF/OTF fonts if you don't want to use the default font. + + // Build and load the texture atlas into a texture + // (In the examples/ app this is usually done within the ImGui_ImplXXX_Init() function from one of the demo Renderer) + int width, height; + unsigned char* pixels = nullptr; + io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); + + // At this point you've got the texture data and you need to upload that to your graphic system: + // After we have created the texture, store its pointer/identifier (_in whichever format your engine uses_) in 'io.Fonts->TexID'. + // This will be passed back to your via the renderer. Basically ImTextureID == void*. Read FAQ for details about ImTextureID. + MyTexture* texture = MyEngine::CreateTextureFromMemoryPixels(pixels, width, height, TEXTURE_TYPE_RGBA32) + io.Fonts->SetTexID((void*)texture); + + // Application main loop + while (true) + { + // Setup low-level inputs, e.g. on Win32: calling GetKeyboardState(), or write to those fields from your Windows message handlers, etc. + // (In the examples/ app this is usually done within the ImGui_ImplXXX_NewFrame() function from one of the demo Platform Backends) + io.DeltaTime = 1.0f/60.0f; // set the time elapsed since the previous frame (in seconds) + io.DisplaySize.x = 1920.0f; // set the current display width + io.DisplaySize.y = 1280.0f; // set the current display height here + io.AddMousePosEvent(mouse_x, mouse_y); // update mouse position + io.AddMouseButtonEvent(0, mouse_b[0]); // update mouse button states + io.AddMouseButtonEvent(1, mouse_b[1]); // update mouse button states + + // Call NewFrame(), after this point you can use ImGui::* functions anytime + // (So you want to try calling NewFrame() as early as you can in your main loop to be able to use Dear ImGui everywhere) + ImGui::NewFrame(); + + // Most of your application code here + ImGui::Text("Hello, world!"); + MyGameUpdate(); // may use any Dear ImGui functions, e.g. ImGui::Begin("My window"); ImGui::Text("Hello, world!"); ImGui::End(); + MyGameRender(); // may use any Dear ImGui functions as well! + + // Render dear imgui, swap buffers + // (You want to try calling EndFrame/Render as late as you can, to be able to use Dear ImGui in your own game rendering code) + ImGui::EndFrame(); + ImGui::Render(); + ImDrawData* draw_data = ImGui::GetDrawData(); + MyImGuiRenderFunction(draw_data); + SwapBuffers(); + } + + // Shutdown + ImGui::DestroyContext(); + + To decide whether to dispatch mouse/keyboard inputs to Dear ImGui to the rest of your application, + you should read the 'io.WantCaptureMouse', 'io.WantCaptureKeyboard' and 'io.WantTextInput' flags! + Please read the FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" about this. + + + HOW A SIMPLE RENDERING FUNCTION MAY LOOK LIKE + --------------------------------------------- + The backends in impl_impl_XXX.cpp files contain many working implementations of a rendering function. + + void MyImGuiRenderFunction(ImDrawData* draw_data) + { + // TODO: Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor enabled + // TODO: Setup texture sampling state: sample with bilinear filtering (NOT point/nearest filtering). Use 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines;' to allow point/nearest filtering. + // TODO: Setup viewport covering draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize + // TODO: Setup orthographic projection matrix cover draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize + // TODO: Setup shader: vertex { float2 pos, float2 uv, u32 color }, fragment shader sample color from 1 texture, multiply by vertex color. + ImVec2 clip_off = draw_data->DisplayPos; + for (int n = 0; n < draw_data->CmdListsCount; n++) + { + const ImDrawList* cmd_list = draw_data->CmdLists[n]; + const ImDrawVert* vtx_buffer = cmd_list->VtxBuffer.Data; // vertex buffer generated by Dear ImGui + const ImDrawIdx* idx_buffer = cmd_list->IdxBuffer.Data; // index buffer generated by Dear ImGui + for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++) + { + const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; + if (pcmd->UserCallback) + { + pcmd->UserCallback(cmd_list, pcmd); + } + else + { + // Project scissor/clipping rectangles into framebuffer space + ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); + ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); + if (clip_max.x <= clip_min.x || clip_max.y <= clip_min.y) + continue; + + // We are using scissoring to clip some objects. All low-level graphics API should support it. + // - If your engine doesn't support scissoring yet, you may ignore this at first. You will get some small glitches + // (some elements visible outside their bounds) but you can fix that once everything else works! + // - Clipping coordinates are provided in imgui coordinates space: + // - For a given viewport, draw_data->DisplayPos == viewport->Pos and draw_data->DisplaySize == viewport->Size + // - In a single viewport application, draw_data->DisplayPos == (0,0) and draw_data->DisplaySize == io.DisplaySize, but always use GetMainViewport()->Pos/Size instead of hardcoding those values. + // - In the interest of supporting multi-viewport applications (see 'docking' branch on github), + // always subtract draw_data->DisplayPos from clipping bounds to convert them to your viewport space. + // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) + MyEngineSetScissor(clip_min.x, clip_min.y, clip_max.x, clip_max.y); + + // The texture for the draw call is specified by pcmd->GetTexID(). + // The vast majority of draw calls will use the Dear ImGui texture atlas, which value you have set yourself during initialization. + MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); + + // Render 'pcmd->ElemCount/3' indexed triangles. + // By default the indices ImDrawIdx are 16-bit, you can change them to 32-bit in imconfig.h if your engine doesn't support 16-bit indices. + MyEngineDrawIndexedTriangles(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer + pcmd->IdxOffset, vtx_buffer, pcmd->VtxOffset); + } + } + } + } + + + API BREAKING CHANGES + ==================== + + Occasionally introducing changes that are breaking the API. We try to make the breakage minor and easy to fix. + Below is a change-log of API breaking changes only. If you are using one of the functions listed, expect to have to fix some code. + When you are not sure about an old symbol or function name, try using the Search/Find function of your IDE to look for comments or references in all imgui files. + You can read releases logs https://github.com/ocornut/imgui/releases for more details. + + - 2025/02/27 (1.91.9) - Image(): removed 'tint_col' and 'border_col' parameter from Image() function. Added ImageWithBg() replacement. (#8131, #8238) + - old: void Image (ImTextureID tex_id, ImVec2 image_size, ImVec2 uv0 = (0,0), ImVec2 uv1 = (1,1), ImVec4 tint_col = (1,1,1,1), ImVec4 border_col = (0,0,0,0)); + - new: void Image (ImTextureID tex_id, ImVec2 image_size, ImVec2 uv0 = (0,0), ImVec2 uv1 = (1,1)); + - new: void ImageWithBg(ImTextureID tex_id, ImVec2 image_size, ImVec2 uv0 = (0,0), ImVec2 uv1 = (1,1), ImVec4 bg_col = (0,0,0,0), ImVec4 tint_col = (1,1,1,1)); + - TL;DR: 'border_col' had misleading side-effect on layout, 'bg_col' was missing, parameter order couldn't be consistent with ImageButton(). + - new behavior always use ImGuiCol_Border color + style.ImageBorderSize / ImGuiStyleVar_ImageBorderSize. + - old behavior altered border size (and therefore layout) based on border color's alpha, which caused variety of problems + old behavior a fixed 1.0f for border size which was not tweakable. + - kept legacy signature (will obsolete), which mimics the old behavior, but uses Max(1.0f, style.ImageBorderSize) when border_col is specified. + - added ImageWithBg() function which has both 'bg_col' (which was missing) and 'tint_col'. It was impossible to add 'bg_col' to Image() with a parameter order consistent with other functions, so we decided to remove 'tint_col' and introduce ImageWithBg(). + - 2025/02/06 (1.91.9) - renamed ImFontConfig::GlyphExtraSpacing.x to ImFontConfig::GlyphExtraAdvanceX. + - 2025/01/22 (1.91.8) - removed ImGuiColorEditFlags_AlphaPreview (made value 0): it is now the default behavior. + prior to 1.91.8: alpha was made opaque in the preview by default _unless_ using ImGuiColorEditFlags_AlphaPreview. We now display the preview as transparent by default. You can use ImGuiColorEditFlags_AlphaOpaque to use old behavior. + the new flags (ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg + existing ImGuiColorEditFlags_AlphaPreviewHalf) may be combined better and allow finer controls: + - 2025/01/14 (1.91.7) - renamed ImGuiTreeNodeFlags_SpanTextWidth to ImGuiTreeNodeFlags_SpanLabelWidth for consistency with other names. Kept redirection enum (will obsolete). (#6937) + - 2024/11/27 (1.91.6) - changed CRC32 table from CRC32-adler to CRC32c polynomial in order to be compatible with the result of SSE 4.2 instructions. + As a result, old .ini data may be partially lost (docking and tables information particularly). + Because some users have crafted and storing .ini data as a way to workaround limitations of the docking API, we are providing a '#define IMGUI_USE_LEGACY_CRC32_ADLER' compile-time option to keep using old CRC32 tables if you cannot afford invalidating old .ini data. + - 2024/11/06 (1.91.5) - commented/obsoleted out pre-1.87 IO system (equivalent to using IMGUI_DISABLE_OBSOLETE_KEYIO or IMGUI_DISABLE_OBSOLETE_FUNCTIONS before) + - io.KeyMap[] and io.KeysDown[] are removed (obsoleted February 2022). + - io.NavInputs[] and ImGuiNavInput are removed (obsoleted July 2022). + - pre-1.87 backends are not supported: + - backends need to call io.AddKeyEvent(), io.AddMouseEvent() instead of writing to io.KeysDown[], io.MouseDown[] fields. + - backends need to call io.AddKeyAnalogEvent() for gamepad values instead of writing to io.NavInputs[] fields. + - for more reference: + - read 1.87 and 1.88 part of this section or read Changelog for 1.87 and 1.88. + - read https://github.com/ocornut/imgui/issues/4921 + - if you have trouble updating a very old codebase using legacy backend-specific key codes: consider updating to 1.91.4 first, then #define IMGUI_DISABLE_OBSOLETE_KEYIO, then update to latest. + - obsoleted ImGuiKey_COUNT (it is unusually error-prone/misleading since valid keys don't start at 0). probably use ImGuiKey_NamedKey_BEGIN/ImGuiKey_NamedKey_END? + - fonts: removed const qualifiers from most font functions in prevision for upcoming font improvements. + - 2024/10/18 (1.91.4) - renamed ImGuiCol_NavHighlight to ImGuiCol_NavCursor (for consistency with newly exposed and reworked features). Kept inline redirection enum (will obsolete). + - 2024/10/14 (1.91.4) - moved ImGuiConfigFlags_NavEnableSetMousePos to standalone io.ConfigNavMoveSetMousePos bool. + moved ImGuiConfigFlags_NavNoCaptureKeyboard to standalone io.ConfigNavCaptureKeyboard bool (note the inverted value!). + kept legacy names (will obsolete) + code that copies settings once the first time. Dynamically changing the old value won't work. Switch to using the new value! + - 2024/10/10 (1.91.4) - the typedef for ImTextureID now defaults to ImU64 instead of void*. (#1641) + this removes the requirement to redefine it for backends which are e.g. storing descriptor sets or other 64-bits structures when building on 32-bits archs. It therefore simplify various building scripts/helpers. + you may have compile-time issues if you were casting to 'void*' instead of 'ImTextureID' when passing your types to functions taking ImTextureID values, e.g. ImGui::Image(). + in doubt it is almost always better to do an intermediate intptr_t cast, since it allows casting any pointer/integer type without warning: + - May warn: ImGui::Image((void*)MyTextureData, ...); + - May warn: ImGui::Image((void*)(intptr_t)MyTextureData, ...); + - Won't warn: ImGui::Image((ImTextureID)(intptr_t)MyTextureData), ...); + - note that you can always define ImTextureID to be your own high-level structures (with dedicated constructors) if you like. + - 2024/10/03 (1.91.3) - drags: treat v_min==v_max as a valid clamping range when != 0.0f. Zero is a still special value due to legacy reasons, unless using ImGuiSliderFlags_ClampZeroRange. (#7968, #3361, #76) + - drags: extended behavior of ImGuiSliderFlags_AlwaysClamp to include _ClampZeroRange. It considers v_min==v_max==0.0f as a valid clamping range (aka edits not allowed). + although unlikely, it you wish to only clamp on text input but want v_min==v_max==0.0f to mean unclamped drags, you can use _ClampOnInput instead of _AlwaysClamp. (#7968, #3361, #76) + - 2024/09/10 (1.91.2) - internals: using multiple overlayed ButtonBehavior() with same ID will now have io.ConfigDebugHighlightIdConflicts=true feature emit a warning. (#8030) + it was one of the rare case where using same ID is legal. workarounds: (1) use single ButtonBehavior() call with multiple _MouseButton flags, or (2) surround the calls with PushItemFlag(ImGuiItemFlags_AllowDuplicateId, true); ... PopItemFlag() + - 2024/08/23 (1.91.1) - renamed ImGuiChildFlags_Border to ImGuiChildFlags_Borders for consistency. kept inline redirection flag. + - 2024/08/22 (1.91.1) - moved some functions from ImGuiIO to ImGuiPlatformIO structure: + - io.GetClipboardTextFn -> platform_io.Platform_GetClipboardTextFn + changed 'void* user_data' to 'ImGuiContext* ctx'. Pull your user data from platform_io.ClipboardUserData. + - io.SetClipboardTextFn -> platform_io.Platform_SetClipboardTextFn + same as above line. + - io.PlatformOpenInShellFn -> platform_io.Platform_OpenInShellFn (#7660) + - io.PlatformSetImeDataFn -> platform_io.Platform_SetImeDataFn + - io.PlatformLocaleDecimalPoint -> platform_io.Platform_LocaleDecimalPoint (#7389, #6719, #2278) + - access those via GetPlatformIO() instead of GetIO(). + some were introduced very recently and often automatically setup by core library and backends, so for those we are exceptionally not maintaining a legacy redirection symbol. + - commented the old ImageButton() signature obsoleted in 1.89 (~August 2022). As a reminder: + - old ImageButton() before 1.89 used ImTextureId as item id (created issue with e.g. multiple buttons in same scope, transient texture id values, opaque computation of ID) + - new ImageButton() since 1.89 requires an explicit 'const char* str_id' + - old ImageButton() before 1.89 had frame_padding' override argument. + - new ImageButton() since 1.89 always use style.FramePadding, which you can freely override with PushStyleVar()/PopStyleVar(). + - 2024/07/25 (1.91.0) - obsoleted GetContentRegionMax(), GetWindowContentRegionMin() and GetWindowContentRegionMax(). (see #7838 on GitHub for more info) + you should never need those functions. you can do everything with GetCursorScreenPos() and GetContentRegionAvail() in a more simple way. + - instead of: GetWindowContentRegionMax().x - GetCursorPos().x + - you can use: GetContentRegionAvail().x + - instead of: GetWindowContentRegionMax().x + GetWindowPos().x + - you can use: GetCursorScreenPos().x + GetContentRegionAvail().x // when called from left edge of window + - instead of: GetContentRegionMax() + - you can use: GetContentRegionAvail() + GetCursorScreenPos() - GetWindowPos() // right edge in local coordinates + - instead of: GetWindowContentRegionMax().x - GetWindowContentRegionMin().x + - you can use: GetContentRegionAvail() // when called from left edge of window + - 2024/07/15 (1.91.0) - renamed ImGuiSelectableFlags_DontClosePopups to ImGuiSelectableFlags_NoAutoClosePopups. (#1379, #1468, #2200, #4936, #5216, #7302, #7573) + (internals: also renamed ImGuiItemFlags_SelectableDontClosePopup into ImGuiItemFlags_AutoClosePopups with inverted behaviors) + - 2024/07/15 (1.91.0) - obsoleted PushButtonRepeat()/PopButtonRepeat() in favor of using new PushItemFlag(ImGuiItemFlags_ButtonRepeat, ...)/PopItemFlag(). + - 2024/07/02 (1.91.0) - commented out obsolete ImGuiModFlags (renamed to ImGuiKeyChord in 1.89). (#4921, #456) + - commented out obsolete ImGuiModFlags_XXX values (renamed to ImGuiMod_XXX in 1.89). (#4921, #456) + - ImGuiModFlags_Ctrl -> ImGuiMod_Ctrl, ImGuiModFlags_Shift -> ImGuiMod_Shift etc. + - 2024/07/02 (1.91.0) - IO, IME: renamed platform IME hook and added explicit context for consistency and future-proofness. + - old: io.SetPlatformImeDataFn(ImGuiViewport* viewport, ImGuiPlatformImeData* data); + - new: io.PlatformSetImeDataFn(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data); + - 2024/06/21 (1.90.9) - BeginChild: added ImGuiChildFlags_NavFlattened as a replacement for the window flag ImGuiWindowFlags_NavFlattened: the feature only ever made sense for BeginChild() anyhow. + - old: BeginChild("Name", size, 0, ImGuiWindowFlags_NavFlattened); + - new: BeginChild("Name", size, ImGuiChildFlags_NavFlattened, 0); + - 2024/06/21 (1.90.9) - io: ClearInputKeys() (first exposed in 1.89.8) doesn't clear mouse data, newly added ClearInputMouse() does. + - 2024/06/20 (1.90.9) - renamed ImGuiDragDropFlags_SourceAutoExpirePayload to ImGuiDragDropFlags_PayloadAutoExpire. + - 2024/06/18 (1.90.9) - style: renamed ImGuiCol_TabActive -> ImGuiCol_TabSelected, ImGuiCol_TabUnfocused -> ImGuiCol_TabDimmed, ImGuiCol_TabUnfocusedActive -> ImGuiCol_TabDimmedSelected. + - 2024/06/10 (1.90.9) - removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages). + - 2024/06/06 (1.90.8) - reordered ImGuiInputTextFlags values. This should not be breaking unless you are using generated headers that have values not matching the main library. + - 2024/06/06 (1.90.8) - removed 'ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft', was mostly unused and misleading. + - 2024/05/27 (1.90.7) - commented out obsolete symbols marked obsolete in 1.88 (May 2022): + - old: CaptureKeyboardFromApp(bool) + - new: SetNextFrameWantCaptureKeyboard(bool) + - old: CaptureMouseFromApp(bool) + - new: SetNextFrameWantCaptureMouse(bool) + - 2024/05/22 (1.90.7) - inputs (internals): renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner, to make use more explicit and reduce confusion with the default it is a non-zero value and cannot be the default value (never made public, but disclosing as I expect a few users caught on owner-aware inputs). + - inputs (internals): renamed ImGuiInputFlags_RouteGlobalLow -> ImGuiInputFlags_RouteGlobal, ImGuiInputFlags_RouteGlobal -> ImGuiInputFlags_RouteGlobalOverFocused, ImGuiInputFlags_RouteGlobalHigh -> ImGuiInputFlags_RouteGlobalHighest. + - inputs (internals): Shortcut(), SetShortcutRouting(): swapped last two parameters order in function signatures: + - old: Shortcut(ImGuiKeyChord key_chord, ImGuiID owner_id = 0, ImGuiInputFlags flags = 0); + - new: Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags = 0, ImGuiID owner_id = 0); + - inputs (internals): owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(): swapped last two parameters order in function signatures. + - old: IsKeyPressed(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); + - new: IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, ImGuiID owner_id = 0); + - old: IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags = 0); + - new: IsMouseClicked(ImGuiMouseButton button, ImGuiInputFlags flags, ImGuiID owner_id = 0); + for various reasons those changes makes sense. They are being made because making some of those API public. + only past users of imgui_internal.h with the extra parameters will be affected. Added asserts for valid flags in various functions to detect _some_ misuses, BUT NOT ALL. + - 2024/05/16 (1.90.7) - inputs: on macOS X, Cmd and Ctrl keys are now automatically swapped by io.AddKeyEvent() as this naturally align with how macOS X uses those keys. + - it shouldn't really affect you unless you had custom shortcut swapping in place for macOS X apps. + - removed ImGuiMod_Shortcut which was previously dynamically remapping to Ctrl or Cmd/Super. It is now unnecessary to specific cross-platform idiomatic shortcuts. (#2343, #4084, #5923, #456) + - 2024/05/14 (1.90.7) - backends: SDL_Renderer2 and SDL_Renderer3 backend now take a SDL_Renderer* in their RenderDrawData() functions. + - 2024/04/18 (1.90.6) - TreeNode: Fixed a layout inconsistency when using an empty/hidden label followed by a SameLine() call. (#7505, #282) + - old: TreeNode("##Hidden"); SameLine(); Text("Hello"); // <-- This was actually incorrect! BUT appeared to look ok with the default style where ItemSpacing.x == FramePadding.x * 2 (it didn't look aligned otherwise). + - new: TreeNode("##Hidden"); SameLine(0, 0); Text("Hello"); // <-- This is correct for all styles values. + with the fix, IF you were successfully using TreeNode("")+SameLine(); you will now have extra spacing between your TreeNode and the following item. + You'll need to change the SameLine() call to SameLine(0,0) to remove this extraneous spacing. This seemed like the more sensible fix that's not making things less consistent. + (Note: when using this idiom you are likely to also use ImGuiTreeNodeFlags_SpanAvailWidth). + - 2024/03/18 (1.90.5) - merged the radius_x/radius_y parameters in ImDrawList::AddEllipse(), AddEllipseFilled() and PathEllipticalArcTo() into a single ImVec2 parameter. Exceptionally, because those functions were added in 1.90, we are not adding inline redirection functions. The transition is easy and should affect few users. (#2743, #7417) + - 2024/03/08 (1.90.5) - inputs: more formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set. It has been unnecessary and a no-op since 1.87 (it returns the same value as passed when used with a 1.87+ backend using io.AddKeyEvent() function). (#4921) + - IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX) + - 2024/01/15 (1.90.2) - commented out obsolete ImGuiIO::ImeWindowHandle marked obsolete in 1.87, favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'. + - 2023/12/19 (1.90.1) - commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. + - 2023/11/06 (1.90.1) - removed CalcListClipping() marked obsolete in 1.86. Prefer using ImGuiListClipper which can return non-contiguous ranges. + - 2023/11/05 (1.90.1) - imgui_freetype: commented out ImGuiFreeType::BuildFontAtlas() obsoleted in 1.81. prefer using #define IMGUI_ENABLE_FREETYPE or see commented code for manual calls. + - 2023/11/05 (1.90.1) - internals,columns: commented out legacy ImGuiColumnsFlags_XXX symbols redirecting to ImGuiOldColumnsFlags_XXX, obsoleted from imgui_internal.h in 1.80. + - 2023/11/09 (1.90.0) - removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define (will obsolete). + - 2023/11/07 (1.90.0) - removed BeginChildFrame()/EndChildFrame() in favor of using BeginChild() with the ImGuiChildFlags_FrameStyle flag. kept inline redirection function (will obsolete). + those functions were merely PushStyle/PopStyle helpers, the removal isn't so much motivated by needing to add the feature in BeginChild(), but by the necessity to avoid BeginChildFrame() signature mismatching BeginChild() signature and features. + - 2023/11/02 (1.90.0) - BeginChild: upgraded 'bool border = true' parameter to 'ImGuiChildFlags flags' type, added ImGuiChildFlags_Border equivalent. As with our prior "bool-to-flags" API updates, the ImGuiChildFlags_Border value is guaranteed to be == true forever to ensure a smoother transition, meaning all existing calls will still work. + - old: BeginChild("Name", size, true) + - new: BeginChild("Name", size, ImGuiChildFlags_Border) + - old: BeginChild("Name", size, false) + - new: BeginChild("Name", size) or BeginChild("Name", 0) or BeginChild("Name", size, ImGuiChildFlags_None) + **AMEND FROM THE FUTURE: from 1.91.1, 'ImGuiChildFlags_Border' is called 'ImGuiChildFlags_Borders'** + - 2023/11/02 (1.90.0) - BeginChild: added child-flag ImGuiChildFlags_AlwaysUseWindowPadding as a replacement for the window-flag ImGuiWindowFlags_AlwaysUseWindowPadding: the feature only ever made sense for BeginChild() anyhow. + - old: BeginChild("Name", size, 0, ImGuiWindowFlags_AlwaysUseWindowPadding); + - new: BeginChild("Name", size, ImGuiChildFlags_AlwaysUseWindowPadding, 0); + - 2023/09/27 (1.90.0) - io: removed io.MetricsActiveAllocations introduced in 1.63. Same as 'g.DebugMemAllocCount - g.DebugMemFreeCount' (still displayed in Metrics, unlikely to be accessed by end-user). + - 2023/09/26 (1.90.0) - debug tools: Renamed ShowStackToolWindow() ("Stack Tool") to ShowIDStackToolWindow() ("ID Stack Tool"), as earlier name was misleading. Kept inline redirection function. (#4631) + - 2023/09/15 (1.90.0) - ListBox, Combo: changed signature of "name getter" callback in old one-liner ListBox()/Combo() apis. kept inline redirection function (will obsolete). + - old: bool Combo(const char* label, int* current_item, bool (*getter)(void* user_data, int idx, const char** out_text), ...) + - new: bool Combo(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), ...); + - old: bool ListBox(const char* label, int* current_item, bool (*getting)(void* user_data, int idx, const char** out_text), ...); + - new: bool ListBox(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), ...); + - 2023/09/08 (1.90.0) - commented out obsolete redirecting functions: + - GetWindowContentRegionWidth() -> use GetWindowContentRegionMax().x - GetWindowContentRegionMin().x. Consider that generally 'GetContentRegionAvail().x' is more useful. + - ImDrawCornerFlags_XXX -> use ImDrawFlags_RoundCornersXXX flags. Read 1.82 Changelog for details + grep commented names in sources. + - commented out runtime support for hardcoded ~0 or 0x01..0x0F rounding flags values for AddRect()/AddRectFilled()/PathRect()/AddImageRounded() -> use ImDrawFlags_RoundCornersXXX flags. Read 1.82 Changelog for details + - 2023/08/25 (1.89.9) - clipper: Renamed IncludeRangeByIndices() (also called ForceDisplayRangeByIndices() before 1.89.6) to IncludeItemsByIndex(). Kept inline redirection function. Sorry! + - 2023/07/12 (1.89.8) - ImDrawData: CmdLists now owned, changed from ImDrawList** to ImVector. Majority of users shouldn't be affected, but you cannot compare to NULL nor reassign manually anymore. Instead use AddDrawList(). (#6406, #4879, #1878) + - 2023/06/28 (1.89.7) - overlapping items: obsoleted 'SetItemAllowOverlap()' (called after item) in favor of calling 'SetNextItemAllowOverlap()' (called before item). 'SetItemAllowOverlap()' didn't and couldn't work reliably since 1.89 (2022-11-15). + - 2023/06/28 (1.89.7) - overlapping items: renamed 'ImGuiTreeNodeFlags_AllowItemOverlap' to 'ImGuiTreeNodeFlags_AllowOverlap', 'ImGuiSelectableFlags_AllowItemOverlap' to 'ImGuiSelectableFlags_AllowOverlap'. Kept redirecting enums (will obsolete). + - 2023/06/28 (1.89.7) - overlapping items: IsItemHovered() now by default return false when querying an item using AllowOverlap mode which is being overlapped. Use ImGuiHoveredFlags_AllowWhenOverlappedByItem to revert to old behavior. + - 2023/06/28 (1.89.7) - overlapping items: Selectable and TreeNode don't allow overlap when active so overlapping widgets won't appear as hovered. While this fixes a common small visual issue, it also means that calling IsItemHovered() after a non-reactive elements - e.g. Text() - overlapping an active one may fail if you don't use IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem). (#6610) + - 2023/06/20 (1.89.7) - moved io.HoverDelayShort/io.HoverDelayNormal to style.HoverDelayShort/style.HoverDelayNormal. As the fields were added in 1.89 and expected to be left unchanged by most users, or only tweaked once during app initialization, we are exceptionally accepting the breakage. + - 2023/05/30 (1.89.6) - backends: renamed "imgui_impl_sdlrenderer.cpp" to "imgui_impl_sdlrenderer2.cpp" and "imgui_impl_sdlrenderer.h" to "imgui_impl_sdlrenderer2.h". This is in prevision for the future release of SDL3. + - 2023/05/22 (1.89.6) - listbox: commented out obsolete/redirecting functions that were marked obsolete more than two years ago: + - ListBoxHeader() -> use BeginListBox() (note how two variants of ListBoxHeader() existed. Check commented versions in imgui.h for reference) + - ListBoxFooter() -> use EndListBox() + - 2023/05/15 (1.89.6) - clipper: commented out obsolete redirection constructor 'ImGuiListClipper(int items_count, float items_height = -1.0f)' that was marked obsolete in 1.79. Use default constructor + clipper.Begin(). + - 2023/05/15 (1.89.6) - clipper: renamed ImGuiListClipper::ForceDisplayRangeByIndices() to ImGuiListClipper::IncludeRangeByIndices(). + - 2023/03/14 (1.89.4) - commented out redirecting enums/functions names that were marked obsolete two years ago: + - ImGuiSliderFlags_ClampOnInput -> use ImGuiSliderFlags_AlwaysClamp + - ImGuiInputTextFlags_AlwaysInsertMode -> use ImGuiInputTextFlags_AlwaysOverwrite + - ImDrawList::AddBezierCurve() -> use ImDrawList::AddBezierCubic() + - ImDrawList::PathBezierCurveTo() -> use ImDrawList::PathBezierCubicCurveTo() + - 2023/03/09 (1.89.4) - renamed PushAllowKeyboardFocus()/PopAllowKeyboardFocus() to PushTabStop()/PopTabStop(). Kept inline redirection functions (will obsolete). + - 2023/03/09 (1.89.4) - tooltips: Added 'bool' return value to BeginTooltip() for API consistency. Please only submit contents and call EndTooltip() if BeginTooltip() returns true. In reality the function will _currently_ always return true, but further changes down the line may change this, best to clarify API sooner. + - 2023/02/15 (1.89.4) - moved the optional "courtesy maths operators" implementation from imgui_internal.h in imgui.h. + Even though we encourage using your own maths types and operators by setting up IM_VEC2_CLASS_EXTRA, + it has been frequently requested by people to use our own. We had an opt-in define which was + previously fulfilled in imgui_internal.h. It is now fulfilled in imgui.h. (#6164) + - OK: #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui.h" / #include "imgui_internal.h" + - Error: #include "imgui.h" / #define IMGUI_DEFINE_MATH_OPERATORS / #include "imgui_internal.h" + - 2023/02/07 (1.89.3) - backends: renamed "imgui_impl_sdl.cpp" to "imgui_impl_sdl2.cpp" and "imgui_impl_sdl.h" to "imgui_impl_sdl2.h". (#6146) This is in prevision for the future release of SDL3. + - 2022/10/26 (1.89) - commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. + - 2022/10/12 (1.89) - removed runtime patching of invalid "%f"/"%0.f" format strings for DragInt()/SliderInt(). This was obsoleted in 1.61 (May 2018). See 1.61 changelog for details. + - 2022/09/26 (1.89) - renamed and merged keyboard modifiers key enums and flags into a same set. Kept inline redirection enums (will obsolete). + - ImGuiKey_ModCtrl and ImGuiModFlags_Ctrl -> ImGuiMod_Ctrl + - ImGuiKey_ModShift and ImGuiModFlags_Shift -> ImGuiMod_Shift + - ImGuiKey_ModAlt and ImGuiModFlags_Alt -> ImGuiMod_Alt + - ImGuiKey_ModSuper and ImGuiModFlags_Super -> ImGuiMod_Super + the ImGuiKey_ModXXX were introduced in 1.87 and mostly used by backends. + the ImGuiModFlags_XXX have been exposed in imgui.h but not really used by any public api only by third-party extensions. + exceptionally commenting out the older ImGuiKeyModFlags_XXX names ahead of obsolescence schedule to reduce confusion and because they were not meant to be used anyway. + - 2022/09/20 (1.89) - ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. + this will require uses of legacy backend-dependent indices to be casted, e.g. + - with imgui_impl_glfw: IsKeyPressed(GLFW_KEY_A) -> IsKeyPressed((ImGuiKey)GLFW_KEY_A); + - with imgui_impl_win32: IsKeyPressed('A') -> IsKeyPressed((ImGuiKey)'A') + - etc. However if you are upgrading code you might well use the better, backend-agnostic IsKeyPressed(ImGuiKey_A) now! + - 2022/09/12 (1.89) - removed the bizarre legacy default argument for 'TreePush(const void* ptr = NULL)', always pass a pointer value explicitly. NULL/nullptr is ok but require cast, e.g. TreePush((void*)nullptr); + - 2022/09/05 (1.89) - commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): + - DragScalar(), DragScalarN(), DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - SliderScalar(), SliderScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - BeginPopupContextWindow(const char*, ImGuiMouseButton, bool) -> use BeginPopupContextWindow(const char*, ImGuiPopupFlags) + - 2022/09/02 (1.89) - obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. + this relates to when moving the cursor position beyond current boundaries WITHOUT submitting an item. + - previously this would make the window content size ~200x200: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); + - instead, please submit an item: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); + - alternative: + Begin(...) + Dummy(ImVec2(200,200)) + End(); + - content size is now only extended when submitting an item! + - with '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will now be detected and assert. + - without '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will silently be fixed until we obsolete it. + - 2022/08/03 (1.89) - changed signature of ImageButton() function. Kept redirection function (will obsolete). + - added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. + - old signature: bool ImageButton(ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), int frame_padding = -1, ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - used the ImTextureID value to create an ID. This was inconsistent with other functions, led to ID conflicts, and caused problems with engines using transient ImTextureID values. + - had a FramePadding override which was inconsistent with other functions and made the already-long signature even longer. + - new signature: bool ImageButton(const char* str_id, ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - requires an explicit identifier. You may still use e.g. PushID() calls and then pass an empty identifier. + - always uses style.FramePadding for padding, to be consistent with other buttons. You may use PushStyleVar() to alter this. + - 2022/07/08 (1.89) - inputs: removed io.NavInputs[] and ImGuiNavInput enum (following 1.87 changes). + - Official backends from 1.87+ -> no issue. + - Official backends from 1.60 to 1.86 -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need updating! + - Custom backends not writing to io.NavInputs[] -> no issue. + - Custom backends writing to io.NavInputs[] -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need fixing! + - TL;DR: Backends should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values instead of filling io.NavInput[]. + - 2022/06/15 (1.88) - renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness. kept support for old define (will obsolete). + - 2022/05/03 (1.88) - backends: osx: removed ImGui_ImplOSX_HandleEvent() from backend API in favor of backend automatically handling event capture. All ImGui_ImplOSX_HandleEvent() calls should be removed as they are now unnecessary. + - 2022/04/05 (1.88) - inputs: renamed ImGuiKeyModFlags to ImGuiModFlags. Kept inline redirection enums (will obsolete). This was never used in public API functions but technically present in imgui.h and ImGuiIO. + - 2022/01/20 (1.87) - inputs: reworded gamepad IO. + - Backend writing to io.NavInputs[] -> backend should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values. + - 2022/01/19 (1.87) - sliders, drags: removed support for legacy arithmetic operators (+,+-,*,/) when inputing text. This doesn't break any api/code but a feature that used to be accessible by end-users (which seemingly no one used). + - 2022/01/17 (1.87) - inputs: reworked mouse IO. + - Backend writing to io.MousePos -> backend should call io.AddMousePosEvent() + - Backend writing to io.MouseDown[] -> backend should call io.AddMouseButtonEvent() + - Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent() + - Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only] + note: for all calls to IO new functions, the Dear ImGui context should be bound/current. + read https://github.com/ocornut/imgui/issues/4921 for details. + - 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(), ImGui::IsKeyDown(). Removed GetKeyIndex(), now unnecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details. + - IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX) + - IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX) + - Backend writing to io.KeyMap[],io.KeysDown[] -> backend should call io.AddKeyEvent() (+ call io.SetKeyEventNativeData() if you want legacy user code to stil function with legacy key codes). + - Backend writing to io.KeyCtrl, io.KeyShift.. -> backend should call io.AddKeyEvent() with ImGuiMod_XXX values. *IF YOU PULLED CODE BETWEEN 2021/01/10 and 2021/01/27: We used to have a io.AddKeyModsEvent() function which was now replaced by io.AddKeyEvent() with ImGuiMod_XXX values.* + - one case won't work with backward compatibility: if your custom backend used ImGuiKey as mock native indices (e.g. "io.KeyMap[ImGuiKey_A] = ImGuiKey_A") because those values are now larger than the legacy KeyDown[] array. Will assert. + - inputs: added ImGuiKey_ModCtrl/ImGuiKey_ModShift/ImGuiKey_ModAlt/ImGuiKey_ModSuper values to submit keyboard modifiers using io.AddKeyEvent(), instead of writing directly to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper. + - 2022/01/05 (1.87) - inputs: renamed ImGuiKey_KeyPadEnter to ImGuiKey_KeypadEnter to align with new symbols. Kept redirection enum. + - 2022/01/05 (1.87) - removed io.ImeSetInputScreenPosFn() in favor of more flexible io.SetPlatformImeDataFn(). Removed 'void* io.ImeWindowHandle' in favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'. + - 2022/01/01 (1.87) - commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72 (March-July 2019) + - ImGui::SetNextTreeNodeOpen() -> use ImGui::SetNextItemOpen() + - ImGui::GetContentRegionAvailWidth() -> use ImGui::GetContentRegionAvail().x + - ImGui::TreeAdvanceToLabelPos() -> use ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetTreeNodeToLabelSpacing()); + - ImFontAtlas::CustomRect -> use ImFontAtlasCustomRect + - ImGuiColorEditFlags_RGB/HSV/HEX -> use ImGuiColorEditFlags_DisplayRGB/HSV/Hex + - 2021/12/20 (1.86) - backends: removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. Find last supported version at https://github.com/ocornut/imgui/wiki/Bindings + - 2021/11/04 (1.86) - removed CalcListClipping() function. Prefer using ImGuiListClipper which can return non-contiguous ranges. Please open an issue if you think you really need this function. + - 2021/08/23 (1.85) - removed GetWindowContentRegionWidth() function. keep inline redirection helper. can use 'GetWindowContentRegionMax().x - GetWindowContentRegionMin().x' instead for generally 'GetContentRegionAvail().x' is more useful. + - 2021/07/26 (1.84) - commented out redirecting functions/enums names that were marked obsolete in 1.67 and 1.69 (March 2019): + - ImGui::GetOverlayDrawList() -> use ImGui::GetForegroundDrawList() + - ImFont::GlyphRangesBuilder -> use ImFontGlyphRangesBuilder + - 2021/05/19 (1.83) - backends: obsoleted direct access to ImDrawCmd::TextureId in favor of calling ImDrawCmd::GetTexID(). + - if you are using official backends from the source tree: you have nothing to do. + - if you have copied old backend code or using your own: change access to draw_cmd->TextureId to draw_cmd->GetTexID(). + - 2021/03/12 (1.82) - upgraded ImDrawList::AddRect(), AddRectFilled(), PathRect() to use ImDrawFlags instead of ImDrawCornersFlags. + - ImDrawCornerFlags_TopLeft -> use ImDrawFlags_RoundCornersTopLeft + - ImDrawCornerFlags_BotRight -> use ImDrawFlags_RoundCornersBottomRight + - ImDrawCornerFlags_None -> use ImDrawFlags_RoundCornersNone etc. + flags now sanely defaults to 0 instead of 0x0F, consistent with all other flags in the API. + breaking: the default with rounding > 0.0f is now "round all corners" vs old implicit "round no corners": + - rounding == 0.0f + flags == 0 --> meant no rounding --> unchanged (common use) + - rounding > 0.0f + flags != 0 --> meant rounding --> unchanged (common use) + - rounding == 0.0f + flags != 0 --> meant no rounding --> unchanged (unlikely use) + - rounding > 0.0f + flags == 0 --> meant no rounding --> BREAKING (unlikely use): will now round all corners --> use ImDrawFlags_RoundCornersNone or rounding == 0.0f. + this ONLY matters for hard coded use of 0 + rounding > 0.0f. Use of named ImDrawFlags_RoundCornersNone (new) or ImDrawCornerFlags_None (old) are ok. + the old ImDrawCornersFlags used awkward default values of ~0 or 0xF (4 lower bits set) to signify "round all corners" and we sometimes encouraged using them as shortcuts. + legacy path still support use of hard coded ~0 or any value from 0x1 or 0xF. They will behave the same with legacy paths enabled (will assert otherwise). + - 2021/03/11 (1.82) - removed redirecting functions/enums names that were marked obsolete in 1.66 (September 2018): + - ImGui::SetScrollHere() -> use ImGui::SetScrollHereY() + - 2021/03/11 (1.82) - clarified that ImDrawList::PathArcTo(), ImDrawList::PathArcToFast() won't render with radius < 0.0f. Previously it sorts of accidentally worked but would generally lead to counter-clockwise paths and have an effect on anti-aliasing. + - 2021/03/10 (1.82) - upgraded ImDrawList::AddPolyline() and PathStroke() "bool closed" parameter to "ImDrawFlags flags". The matching ImDrawFlags_Closed value is guaranteed to always stay == 1 in the future. + - 2021/02/22 (1.82) - (*undone in 1.84*) win32+mingw: Re-enabled IME functions by default even under MinGW. In July 2016, issue #738 had me incorrectly disable those default functions for MinGW. MinGW users should: either link with -limm32, either set their imconfig file with '#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS'. + - 2021/02/17 (1.82) - renamed rarely used style.CircleSegmentMaxError (old default = 1.60f) to style.CircleTessellationMaxError (new default = 0.30f) as the meaning of the value changed. + - 2021/02/03 (1.81) - renamed ListBoxHeader(const char* label, ImVec2 size) to BeginListBox(). Kept inline redirection function (will obsolete). + - removed ListBoxHeader(const char* label, int items_count, int height_in_items = -1) in favor of specifying size. Kept inline redirection function (will obsolete). + - renamed ListBoxFooter() to EndListBox(). Kept inline redirection function (will obsolete). + - 2021/01/26 (1.81) - removed ImGuiFreeType::BuildFontAtlas(). Kept inline redirection function. Prefer using '#define IMGUI_ENABLE_FREETYPE', but there's a runtime selection path available too. The shared extra flags parameters (very rarely used) are now stored in ImFontAtlas::FontBuilderFlags. + - renamed ImFontConfig::RasterizerFlags (used by FreeType) to ImFontConfig::FontBuilderFlags. + - renamed ImGuiFreeType::XXX flags to ImGuiFreeTypeBuilderFlags_XXX for consistency with other API. + - 2020/10/12 (1.80) - removed redirecting functions/enums that were marked obsolete in 1.63 (August 2018): + - ImGui::IsItemDeactivatedAfterChange() -> use ImGui::IsItemDeactivatedAfterEdit(). + - ImGuiCol_ModalWindowDarkening -> use ImGuiCol_ModalWindowDimBg + - ImGuiInputTextCallback -> use ImGuiTextEditCallback + - ImGuiInputTextCallbackData -> use ImGuiTextEditCallbackData + - 2020/12/21 (1.80) - renamed ImDrawList::AddBezierCurve() to AddBezierCubic(), and PathBezierCurveTo() to PathBezierCubicCurveTo(). Kept inline redirection function (will obsolete). + - 2020/12/04 (1.80) - added imgui_tables.cpp file! Manually constructed project files will need the new file added! + - 2020/11/18 (1.80) - renamed undocumented/internals ImGuiColumnsFlags_* to ImGuiOldColumnFlags_* in prevision of incoming Tables API. + - 2020/11/03 (1.80) - renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature will apply to other data structures + - 2020/10/14 (1.80) - backends: moved all backends files (imgui_impl_XXXX.cpp, imgui_impl_XXXX.h) from examples/ to backends/. + - 2020/10/12 (1.80) - removed redirecting functions/enums that were marked obsolete in 1.60 (April 2018): + - io.RenderDrawListsFn pointer -> use ImGui::GetDrawData() value and call the render function of your backend + - ImGui::IsAnyWindowFocused() -> use ImGui::IsWindowFocused(ImGuiFocusedFlags_AnyWindow) + - ImGui::IsAnyWindowHovered() -> use ImGui::IsWindowHovered(ImGuiHoveredFlags_AnyWindow) + - ImGuiStyleVar_Count_ -> use ImGuiStyleVar_COUNT + - ImGuiMouseCursor_Count_ -> use ImGuiMouseCursor_COUNT + - removed redirecting functions names that were marked obsolete in 1.61 (May 2018): + - InputFloat (... int decimal_precision ...) -> use InputFloat (... const char* format ...) with format = "%.Xf" where X is your value for decimal_precision. + - same for InputFloat2()/InputFloat3()/InputFloat4() variants taking a `int decimal_precision` parameter. + - 2020/10/05 (1.79) - removed ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using the ImGuiListClipper::Begin() function, with misleading edge cases (note: imgui_memory_editor <0.40 from imgui_club/ used this old clipper API. Update your copy if needed). + - 2020/09/25 (1.79) - renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. Kept redirection enum (will obsolete sooner because previous name was added recently). + - 2020/09/25 (1.79) - renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton. + - 2020/09/21 (1.79) - renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting the change from 1.77. For varieties of reason this is more self-explanatory. + - 2020/09/21 (1.79) - removed return value from OpenPopupOnItemClick() - returned true on mouse release on an item - because it is inconsistent with other popup APIs and makes others misleading. It's also and unnecessary: you can use IsWindowAppearing() after BeginPopup() for a similar result. + - 2020/09/17 (1.79) - removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. DisplayOffset was applied after scaling and not very meaningful/useful outside of being needed by the default ProggyClean font. If you scaled this value after calling AddFontDefault(), this is now done automatically. It was also getting in the way of better font scaling, so let's get rid of it now! + - 2020/08/17 (1.78) - obsoleted use of the trailing 'float power=1.0f' parameter for DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(), DragFloatRange2(), DragScalar(), DragScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(), SliderScalar(), SliderScalarN(), VSliderFloat() and VSliderScalar(). + replaced the 'float power=1.0f' argument with integer-based flags defaulting to 0 (as with all our flags). + worked out a backward-compatibility scheme so hopefully most C++ codebase should not be affected. in short, when calling those functions: + - if you omitted the 'power' parameter (likely!), you are not affected. + - if you set the 'power' parameter to 1.0f (same as previous default value): 1/ your compiler may warn on float>int conversion, 2/ everything else will work. 3/ you can replace the 1.0f value with 0 to fix the warning, and be technically correct. + - if you set the 'power' parameter to >1.0f (to enable non-linear editing): 1/ your compiler may warn on float>int conversion, 2/ code will assert at runtime, 3/ in case asserts are disabled, the code will not crash and enable the _Logarithmic flag. 4/ you can replace the >1.0f value with ImGuiSliderFlags_Logarithmic to fix the warning/assert and get a _similar_ effect as previous uses of power >1.0f. + see https://github.com/ocornut/imgui/issues/3361 for all details. + kept inline redirection functions (will obsolete) apart for: DragFloatRange2(), VSliderFloat(), VSliderScalar(). For those three the 'float power=1.0f' version was removed directly as they were most unlikely ever used. + for shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`. + - obsoleted use of v_min > v_max in DragInt, DragFloat, DragScalar to lock edits (introduced in 1.73, was not demoed nor documented very), will be replaced by a more generic ReadOnly feature. You may use the ImGuiSliderFlags_ReadOnly internal flag in the meantime. + - 2020/06/23 (1.77) - removed BeginPopupContextWindow(const char*, int mouse_button, bool also_over_items) in favor of BeginPopupContextWindow(const char*, ImGuiPopupFlags flags) with ImGuiPopupFlags_NoOverItems. + - 2020/06/15 (1.77) - renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). [NOTE: THIS WAS REVERTED IN 1.79] + - 2020/06/15 (1.77) - removed CalcItemRectClosestPoint() entry point which was made obsolete and asserting in December 2017. + - 2020/04/23 (1.77) - removed unnecessary ID (first arg) of ImFontAtlas::AddCustomRectRegular(). + - 2020/01/22 (1.75) - ImDrawList::AddCircle()/AddCircleFilled() functions don't accept negative radius any more. + - 2019/12/17 (1.75) - [undid this change in 1.76] made Columns() limited to 64 columns by asserting above that limit. While the current code technically supports it, future code may not so we're putting the restriction ahead. + - 2019/12/13 (1.75) - [imgui_internal.h] changed ImRect() default constructor initializes all fields to 0.0f instead of (FLT_MAX,FLT_MAX,-FLT_MAX,-FLT_MAX). If you used ImRect::Add() to create bounding boxes by adding multiple points into it, you may need to fix your initial value. + - 2019/12/08 (1.75) - removed redirecting functions/enums that were marked obsolete in 1.53 (December 2017): + - ShowTestWindow() -> use ShowDemoWindow() + - IsRootWindowFocused() -> use IsWindowFocused(ImGuiFocusedFlags_RootWindow) + - IsRootWindowOrAnyChildFocused() -> use IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows) + - SetNextWindowContentWidth(w) -> use SetNextWindowContentSize(ImVec2(w, 0.0f) + - GetItemsLineHeightWithSpacing() -> use GetFrameHeightWithSpacing() + - ImGuiCol_ChildWindowBg -> use ImGuiCol_ChildBg + - ImGuiStyleVar_ChildWindowRounding -> use ImGuiStyleVar_ChildRounding + - ImGuiTreeNodeFlags_AllowOverlapMode -> use ImGuiTreeNodeFlags_AllowItemOverlap + - IMGUI_DISABLE_TEST_WINDOWS -> use IMGUI_DISABLE_DEMO_WINDOWS + - 2019/12/08 (1.75) - obsoleted calling ImDrawList::PrimReserve() with a negative count (which was vaguely documented and rarely if ever used). Instead, we added an explicit PrimUnreserve() API. + - 2019/12/06 (1.75) - removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent with other mouse functions (none of the other functions have it). + - 2019/11/21 (1.74) - ImFontAtlas::AddCustomRectRegular() now requires an ID larger than 0x110000 (instead of 0x10000) to conform with supporting Unicode planes 1-16 in a future update. ID below 0x110000 will now assert. + - 2019/11/19 (1.74) - renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS for consistency. + - 2019/11/19 (1.74) - renamed IMGUI_DISABLE_MATH_FUNCTIONS to IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS for consistency. + - 2019/10/22 (1.74) - removed redirecting functions/enums that were marked obsolete in 1.52 (October 2017): + - Begin() [old 5 args version] -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed + - IsRootWindowOrAnyChildHovered() -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows) + - AlignFirstTextHeightToWidgets() -> use AlignTextToFramePadding() + - SetNextWindowPosCenter() -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f) + - ImFont::Glyph -> use ImFontGlyph + - 2019/10/14 (1.74) - inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function. + if you were using a non-default value for io.KeyRepeatRate (previous default was 0.250), you can add +io.KeyRepeatDelay to it to compensate for the fix. + The function was triggering on: 0.0 and (delay+rate*N) where (N>=1). Fixed formula responds to (N>=0). Effectively it made io.KeyRepeatRate behave like it was set to (io.KeyRepeatRate + io.KeyRepeatDelay). + If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you. + - 2019/07/15 (1.72) - removed TreeAdvanceToLabelPos() which is rarely used and only does SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()). Kept redirection function (will obsolete). + - 2019/07/12 (1.72) - renamed ImFontAtlas::CustomRect to ImFontAtlasCustomRect. Kept redirection typedef (will obsolete). + - 2019/06/14 (1.72) - removed redirecting functions/enums names that were marked obsolete in 1.51 (June 2017): ImGuiCol_Column*, ImGuiSetCond_*, IsItemHoveredRect(), IsPosHoveringAnyWindow(), IsMouseHoveringAnyWindow(), IsMouseHoveringWindow(), IMGUI_ONCE_UPON_A_FRAME. Grep this log for details and new names, or see how they were implemented until 1.71. + - 2019/06/07 (1.71) - rendering of child window outer decorations (bg color, border, scrollbars) is now performed as part of the parent window. If you have + overlapping child windows in a same parent, and relied on their relative z-order to be mapped to their submission order, this will affect your rendering. + This optimization is disabled if the parent window has no visual output, because it appears to be the most common situation leading to the creation of overlapping child windows. + Please reach out if you are affected. + - 2019/05/13 (1.71) - renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Kept inline redirection function (will obsolete). + - 2019/05/11 (1.71) - changed io.AddInputCharacter(unsigned short c) signature to io.AddInputCharacter(unsigned int c). + - 2019/04/29 (1.70) - improved ImDrawList thick strokes (>1.0f) preserving correct thickness up to 90 degrees angles (e.g. rectangles). If you have custom rendering using thick lines, they will appear thicker now. + - 2019/04/29 (1.70) - removed GetContentRegionAvailWidth(), use GetContentRegionAvail().x instead. Kept inline redirection function (will obsolete). + - 2019/03/04 (1.69) - renamed GetOverlayDrawList() to GetForegroundDrawList(). Kept redirection function (will obsolete). + - 2019/02/26 (1.69) - renamed ImGuiColorEditFlags_RGB/ImGuiColorEditFlags_HSV/ImGuiColorEditFlags_HEX to ImGuiColorEditFlags_DisplayRGB/ImGuiColorEditFlags_DisplayHSV/ImGuiColorEditFlags_DisplayHex. Kept redirection enums (will obsolete). + - 2019/02/14 (1.68) - made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). If for some reason your time step calculation gives you a zero value, replace it with an arbitrarily small value! + - 2019/02/01 (1.68) - removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already). + - 2019/01/06 (1.67) - renamed io.InputCharacters[], marked internal as was always intended. Please don't access directly, and use AddInputCharacter() instead! + - 2019/01/06 (1.67) - renamed ImFontAtlas::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Kept redirection typedef (will obsolete). + - 2018/12/20 (1.67) - made it illegal to call Begin("") with an empty string. This somehow half-worked before but had various undesirable side-effects. + - 2018/12/10 (1.67) - renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges as we are doing a large pass on configuration flags. + - 2018/10/12 (1.66) - renamed misc/stl/imgui_stl.* to misc/cpp/imgui_stdlib.* in prevision for other C++ helper files. + - 2018/09/28 (1.66) - renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete). + - 2018/09/06 (1.65) - renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. + If you were conveniently using the imgui copy of those STB headers in your project you will have to update your include paths. + - 2018/09/05 (1.65) - renamed io.OptCursorBlink/io.ConfigCursorBlink to io.ConfigInputTextCursorBlink. (#1427) + - 2018/08/31 (1.64) - added imgui_widgets.cpp file, extracted and moved widgets code out of imgui.cpp into imgui_widgets.cpp. Re-ordered some of the code remaining in imgui.cpp. + NONE OF THE FUNCTIONS HAVE CHANGED. THE CODE IS SEMANTICALLY 100% IDENTICAL, BUT _EVERY_ FUNCTION HAS BEEN MOVED. + Because of this, any local modifications to imgui.cpp will likely conflict when you update. Read docs/CHANGELOG.txt for suggestions. + - 2018/08/22 (1.63) - renamed IsItemDeactivatedAfterChange() to IsItemDeactivatedAfterEdit() for consistency with new IsItemEdited() API. Kept redirection function (will obsolete soonish as IsItemDeactivatedAfterChange() is very recent). + - 2018/08/21 (1.63) - renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData for consistency. Kept redirection types (will obsolete). + - 2018/08/21 (1.63) - removed ImGuiInputTextCallbackData::ReadOnly since it is a duplication of (ImGuiInputTextCallbackData::Flags & ImGuiInputTextFlags_ReadOnly). + - 2018/08/01 (1.63) - removed per-window ImGuiWindowFlags_ResizeFromAnySide beta flag in favor of a global io.ConfigResizeWindowsFromEdges [update 1.67 renamed to ConfigWindowsResizeFromEdges] to enable the feature. + - 2018/08/01 (1.63) - renamed io.OptCursorBlink to io.ConfigCursorBlink [-> io.ConfigInputTextCursorBlink in 1.65], io.OptMacOSXBehaviors to ConfigMacOSXBehaviors for consistency. + - 2018/07/22 (1.63) - changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time. + - 2018/07/08 (1.63) - style: renamed ImGuiCol_ModalWindowDarkening to ImGuiCol_ModalWindowDimBg for consistency with other features. Kept redirection enum (will obsolete). + - 2018/06/08 (1.62) - examples: the imgui_impl_XXX files have been split to separate platform (Win32, GLFW, SDL2, etc.) from renderer (DX11, OpenGL, Vulkan, etc.). + old backends will still work as is, however prefer using the separated backends as they will be updated to support multi-viewports. + when adopting new backends follow the main.cpp code of your preferred examples/ folder to know which functions to call. + in particular, note that old backends called ImGui::NewFrame() at the end of their ImGui_ImplXXXX_NewFrame() function. + - 2018/06/06 (1.62) - renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set. + - 2018/06/06 (1.62) - TreeNodeEx()/TreeNodeBehavior(): the ImGuiTreeNodeFlags_CollapsingHeader helper now include the ImGuiTreeNodeFlags_NoTreePushOnOpen flag. See Changelog for details. + - 2018/05/03 (1.61) - DragInt(): the default compile-time format string has been changed from "%.0f" to "%d", as we are not using integers internally any more. + If you used DragInt() with custom format strings, make sure you change them to use %d or an integer-compatible format. + To honor backward-compatibility, the DragInt() code will currently parse and modify format strings to replace %*f with %d, giving time to users to upgrade their code. + If you have IMGUI_DISABLE_OBSOLETE_FUNCTIONS enabled, the code will instead assert! You may run a reg-exp search on your codebase for e.g. "DragInt.*%f" to help you find them. + - 2018/04/28 (1.61) - obsoleted InputFloat() functions taking an optional "int decimal_precision" in favor of an equivalent and more flexible "const char* format", + consistent with other functions. Kept redirection functions (will obsolete). + - 2018/04/09 (1.61) - IM_DELETE() helper function added in 1.60 doesn't clear the input _pointer_ reference, more consistent with expectation and allows passing r-value. + - 2018/03/20 (1.60) - renamed io.WantMoveMouse to io.WantSetMousePos for consistency and ease of understanding (was added in 1.52, _not_ used by core and only honored by some backend ahead of merging the Nav branch). + - 2018/03/12 (1.60) - removed ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered as the closing cross uses regular button colors now. + - 2018/03/08 (1.60) - changed ImFont::DisplayOffset.y to default to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer. If you were adding or subtracting to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. + - 2018/03/03 (1.60) - renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT and ImGuiMouseCursor_Count_ to ImGuiMouseCursor_COUNT for consistency with other public enums. + - 2018/02/18 (1.60) - BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is not really usable in many situations at the moment. + - 2018/02/16 (1.60) - obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display. + - 2018/02/07 (1.60) - reorganized context handling to be more explicit, + - YOU NOW NEED TO CALL ImGui::CreateContext() AT THE BEGINNING OF YOUR APP, AND CALL ImGui::DestroyContext() AT THE END. + - removed Shutdown() function, as DestroyContext() serve this purpose. + - you may pass a ImFontAtlas* pointer to CreateContext() to share a font atlas between contexts. Otherwise CreateContext() will create its own font atlas instance. + - removed allocator parameters from CreateContext(), they are now setup with SetAllocatorFunctions(), and shared by all contexts. + - removed the default global context and font atlas instance, which were confusing for users of DLL reloading and users of multiple contexts. + - 2018/01/31 (1.60) - moved sample TTF files from extra_fonts/ to misc/fonts/. If you loaded files directly from the imgui repo you may need to update your paths. + - 2018/01/11 (1.60) - obsoleted IsAnyWindowHovered() in favor of IsWindowHovered(ImGuiHoveredFlags_AnyWindow). Kept redirection function (will obsolete). + - 2018/01/11 (1.60) - obsoleted IsAnyWindowFocused() in favor of IsWindowFocused(ImGuiFocusedFlags_AnyWindow). Kept redirection function (will obsolete). + - 2018/01/03 (1.60) - renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. + - 2017/12/29 (1.60) - removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. + - 2017/12/24 (1.53) - renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). + - 2017/12/21 (1.53) - ImDrawList: renamed style.AntiAliasedShapes to style.AntiAliasedFill for consistency and as a way to explicitly break code that manipulate those flag at runtime. You can now manipulate ImDrawList::Flags + - 2017/12/21 (1.53) - ImDrawList: removed 'bool anti_aliased = true' final parameter of ImDrawList::AddPolyline() and ImDrawList::AddConvexPolyFilled(). Prefer manipulating ImDrawList::Flags if you need to toggle them during the frame. + - 2017/12/14 (1.53) - using the ImGuiWindowFlags_NoScrollWithMouse flag on a child window forwards the mouse wheel event to the parent window, unless either ImGuiWindowFlags_NoInputs or ImGuiWindowFlags_NoScrollbar are also set. + - 2017/12/13 (1.53) - renamed GetItemsLineHeightWithSpacing() to GetFrameHeightWithSpacing(). Kept redirection function (will obsolete). + - 2017/12/13 (1.53) - obsoleted IsRootWindowFocused() in favor of using IsWindowFocused(ImGuiFocusedFlags_RootWindow). Kept redirection function (will obsolete). + - obsoleted IsRootWindowOrAnyChildFocused() in favor of using IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows). Kept redirection function (will obsolete). + - 2017/12/12 (1.53) - renamed ImGuiTreeNodeFlags_AllowOverlapMode to ImGuiTreeNodeFlags_AllowItemOverlap. Kept redirection enum (will obsolete). + - 2017/12/10 (1.53) - removed SetNextWindowContentWidth(), prefer using SetNextWindowContentSize(). Kept redirection function (will obsolete). + - 2017/11/27 (1.53) - renamed ImGuiTextBuffer::append() helper to appendf(), appendv() to appendfv(). If you copied the 'Log' demo in your code, it uses appendv() so that needs to be renamed. + - 2017/11/18 (1.53) - Style, Begin: removed ImGuiWindowFlags_ShowBorders window flag. Borders are now fully set up in the ImGuiStyle structure (see e.g. style.FrameBorderSize, style.WindowBorderSize). Use ImGui::ShowStyleEditor() to look them up. + Please note that the style system will keep evolving (hopefully stabilizing in Q1 2018), and so custom styles will probably subtly break over time. It is recommended you use the StyleColorsClassic(), StyleColorsDark(), StyleColorsLight() functions. + - 2017/11/18 (1.53) - Style: removed ImGuiCol_ComboBg in favor of combo boxes using ImGuiCol_PopupBg for consistency. + - 2017/11/18 (1.53) - Style: renamed ImGuiCol_ChildWindowBg to ImGuiCol_ChildBg. + - 2017/11/18 (1.53) - Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding. + - 2017/11/02 (1.53) - obsoleted IsRootWindowOrAnyChildHovered() in favor of using IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows); + - 2017/10/24 (1.52) - renamed IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS/IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS to IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS/IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS for consistency. + - 2017/10/20 (1.52) - changed IsWindowHovered() default parameters behavior to return false if an item is active in another window (e.g. click-dragging item from another window to this window). You can use the newly introduced IsWindowHovered() flags to requests this specific behavior if you need it. + - 2017/10/20 (1.52) - marked IsItemHoveredRect()/IsMouseHoveringWindow() as obsolete, in favor of using the newly introduced flags for IsItemHovered() and IsWindowHovered(). See https://github.com/ocornut/imgui/issues/1382 for details. + removed the IsItemRectHovered()/IsWindowRectHovered() names introduced in 1.51 since they were merely more consistent names for the two functions we are now obsoleting. + IsItemHoveredRect() --> IsItemHovered(ImGuiHoveredFlags_RectOnly) + IsMouseHoveringAnyWindow() --> IsWindowHovered(ImGuiHoveredFlags_AnyWindow) + IsMouseHoveringWindow() --> IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem) [weird, old behavior] + - 2017/10/17 (1.52) - marked the old 5-parameters version of Begin() as obsolete (still available). Use SetNextWindowSize()+Begin() instead! + - 2017/10/11 (1.52) - renamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete). + - 2017/09/26 (1.52) - renamed ImFont::Glyph to ImFontGlyph. Kept redirection typedef (will obsolete). + - 2017/09/25 (1.52) - removed SetNextWindowPosCenter() because SetNextWindowPos() now has the optional pivot information to do the same and more. Kept redirection function (will obsolete). + - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we now accept negative mouse coordinates. In your backend if you need to support unavailable mouse, make sure to replace "io.MousePos = ImVec2(-1,-1)" with "io.MousePos = ImVec2(-FLT_MAX,-FLT_MAX)". + - 2017/08/22 (1.51) - renamed IsItemHoveredRect() to IsItemRectHovered(). Kept inline redirection function (will obsolete). -> (1.52) use IsItemHovered(ImGuiHoveredFlags_RectOnly)! + - renamed IsMouseHoveringAnyWindow() to IsAnyWindowHovered() for consistency. Kept inline redirection function (will obsolete). + - renamed IsMouseHoveringWindow() to IsWindowRectHovered() for consistency. Kept inline redirection function (will obsolete). + - 2017/08/20 (1.51) - renamed GetStyleColName() to GetStyleColorName() for consistency. + - 2017/08/20 (1.51) - added PushStyleColor(ImGuiCol idx, ImU32 col) overload, which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicily to fix. + - 2017/08/15 (1.51) - marked the weird IMGUI_ONCE_UPON_A_FRAME helper macro as obsolete. prefer using the more explicit ImGuiOnceUponAFrame type. + - 2017/08/15 (1.51) - changed parameter order for BeginPopupContextWindow() from (const char*,int buttons,bool also_over_items) to (const char*,int buttons,bool also_over_items). Note that most calls relied on default parameters completely. + - 2017/08/13 (1.51) - renamed ImGuiCol_Column to ImGuiCol_Separator, ImGuiCol_ColumnHovered to ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive to ImGuiCol_SeparatorActive. Kept redirection enums (will obsolete). + - 2017/08/11 (1.51) - renamed ImGuiSetCond_Always to ImGuiCond_Always, ImGuiSetCond_Once to ImGuiCond_Once, ImGuiSetCond_FirstUseEver to ImGuiCond_FirstUseEver, ImGuiSetCond_Appearing to ImGuiCond_Appearing. Kept redirection enums (will obsolete). + - 2017/08/09 (1.51) - removed ValueColor() helpers, they are equivalent to calling Text(label) + SameLine() + ColorButton(). + - 2017/08/08 (1.51) - removed ColorEditMode() and ImGuiColorEditMode in favor of ImGuiColorEditFlags and parameters to the various Color*() functions. The SetColorEditOptions() allows to initialize default but the user can still change them with right-click context menu. + - changed prototype of 'ColorEdit4(const char* label, float col[4], bool show_alpha = true)' to 'ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0)', where passing flags = 0x01 is a safe no-op (hello dodgy backward compatibility!). - check and run the demo window, under "Color/Picker Widgets", to understand the various new options. + - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0, 0))' + - 2017/07/20 (1.51) - removed IsPosHoveringAnyWindow(ImVec2), which was partly broken and misleading. ASSERT + redirect user to io.WantCaptureMouse + - 2017/05/26 (1.50) - removed ImFontConfig::MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. + - 2017/05/01 (1.50) - renamed ImDrawList::PathFill() (rarely used directly) to ImDrawList::PathFillConvex() for clarity. + - 2016/11/06 (1.50) - BeginChild(const char*) now applies the stack id to the provided label, consistently with other functions as it should always have been. It shouldn't affect you unless (extremely unlikely) you were appending multiple times to a same child from different locations of the stack id. If that's the case, generate an id with GetID() and use it instead of passing string to BeginChild(). + - 2016/10/15 (1.50) - avoid 'void* user_data' parameter to io.SetClipboardTextFn/io.GetClipboardTextFn pointers. We pass io.ClipboardUserData to it. + - 2016/09/25 (1.50) - style.WindowTitleAlign is now a ImVec2 (ImGuiAlign enum was removed). set to (0.5f,0.5f) for horizontal+vertical centering, (0.0f,0.0f) for upper-left, etc. + - 2016/07/30 (1.50) - SameLine(x) with x>0.0f is now relative to left of column/group if any, and not always to left of window. This was sort of always the intent and hopefully, breakage should be minimal. + - 2016/05/12 (1.49) - title bar (using ImGuiCol_TitleBg/ImGuiCol_TitleBgActive colors) isn't rendered over a window background (ImGuiCol_WindowBg color) anymore. + If your TitleBg/TitleBgActive alpha was 1.0f or you are using the default theme it will not affect you, otherwise if <1.0f you need to tweak your custom theme to readjust for the fact that we don't draw a WindowBg background behind the title bar. + This helper function will convert an old TitleBg/TitleBgActive color into a new one with the same visual output, given the OLD color and the OLD WindowBg color: + ImVec4 ConvertTitleBgCol(const ImVec4& win_bg_col, const ImVec4& title_bg_col) { float new_a = 1.0f - ((1.0f - win_bg_col.w) * (1.0f - title_bg_col.w)), k = title_bg_col.w / new_a; return ImVec4((win_bg_col.x * win_bg_col.w + title_bg_col.x) * k, (win_bg_col.y * win_bg_col.w + title_bg_col.y) * k, (win_bg_col.z * win_bg_col.w + title_bg_col.z) * k, new_a); } + If this is confusing, pick the RGB value from title bar from an old screenshot and apply this as TitleBg/TitleBgActive. Or you may just create TitleBgActive from a tweaked TitleBg color. + - 2016/05/07 (1.49) - removed confusing set of GetInternalState(), GetInternalStateSize(), SetInternalState() functions. Now using CreateContext(), DestroyContext(), GetCurrentContext(), SetCurrentContext(). + - 2016/05/02 (1.49) - renamed SetNextTreeNodeOpened() to SetNextTreeNodeOpen(), no redirection. + - 2016/05/01 (1.49) - obsoleted old signature of CollapsingHeader(const char* label, const char* str_id = NULL, bool display_frame = true, bool default_open = false) as extra parameters were badly designed and rarely used. You can replace the "default_open = true" flag in new API with CollapsingHeader(label, ImGuiTreeNodeFlags_DefaultOpen). + - 2016/04/26 (1.49) - changed ImDrawList::PushClipRect(ImVec4 rect) to ImDrawList::PushClipRect(Imvec2 min,ImVec2 max,bool intersect_with_current_clip_rect=false). Note that higher-level ImGui::PushClipRect() is preferable because it will clip at logic/widget level, whereas ImDrawList::PushClipRect() only affect your renderer. + - 2016/04/03 (1.48) - removed style.WindowFillAlphaDefault setting which was redundant. Bake default BG alpha inside style.Colors[ImGuiCol_WindowBg] and all other Bg color values. (ref GitHub issue #337). + - 2016/04/03 (1.48) - renamed ImGuiCol_TooltipBg to ImGuiCol_PopupBg, used by popups/menus and tooltips. popups/menus were previously using ImGuiCol_WindowBg. (ref github issue #337) + - 2016/03/21 (1.48) - renamed GetWindowFont() to GetFont(), GetWindowFontSize() to GetFontSize(). Kept inline redirection function (will obsolete). + - 2016/03/02 (1.48) - InputText() completion/history/always callbacks: if you modify the text buffer manually (without using DeleteChars()/InsertChars() helper) you need to maintain the BufTextLen field. added an assert. + - 2016/01/23 (1.48) - fixed not honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. if you had manual pixel-perfect alignment in place it might affect you. + - 2015/12/27 (1.48) - fixed ImDrawList::AddRect() which used to render a rectangle 1 px too large on each axis. + - 2015/12/04 (1.47) - renamed Color() helpers to ValueColor() - dangerously named, rarely used and probably to be made obsolete. + - 2015/08/29 (1.45) - with the addition of horizontal scrollbar we made various fixes to inconsistencies with dealing with cursor position. + GetCursorPos()/SetCursorPos() functions now include the scrolled amount. It shouldn't affect the majority of users, but take note that SetCursorPosX(100.0f) puts you at +100 from the starting x position which may include scrolling, not at +100 from the window left side. + GetContentRegionMax()/GetWindowContentRegionMin()/GetWindowContentRegionMax() functions allow include the scrolled amount. Typically those were used in cases where no scrolling would happen so it may not be a problem, but watch out! + - 2015/08/29 (1.45) - renamed style.ScrollbarWidth to style.ScrollbarSize + - 2015/08/05 (1.44) - split imgui.cpp into extra files: imgui_demo.cpp imgui_draw.cpp imgui_internal.h that you need to add to your project. + - 2015/07/18 (1.44) - fixed angles in ImDrawList::PathArcTo(), PathArcToFast() (introduced in 1.43) being off by an extra PI for no justifiable reason + - 2015/07/14 (1.43) - add new ImFontAtlas::AddFont() API. For the old AddFont***, moved the 'font_no' parameter of ImFontAtlas::AddFont** functions to the ImFontConfig structure. + you need to render your textured triangles with bilinear filtering to benefit from sub-pixel positioning of text. + - 2015/07/08 (1.43) - switched rendering data to use indexed rendering. this is saving a fair amount of CPU/GPU and enables us to get anti-aliasing for a marginal cost. + this necessary change will break your rendering function! the fix should be very easy. sorry for that :( + - if you are using a vanilla copy of one of the imgui_impl_XXX.cpp provided in the example, you just need to update your copy and you can ignore the rest. + - the signature of the io.RenderDrawListsFn handler has changed! + old: ImGui_XXXX_RenderDrawLists(ImDrawList** const cmd_lists, int cmd_lists_count) + new: ImGui_XXXX_RenderDrawLists(ImDrawData* draw_data). + parameters: 'cmd_lists' becomes 'draw_data->CmdLists', 'cmd_lists_count' becomes 'draw_data->CmdListsCount' + ImDrawList: 'commands' becomes 'CmdBuffer', 'vtx_buffer' becomes 'VtxBuffer', 'IdxBuffer' is new. + ImDrawCmd: 'vtx_count' becomes 'ElemCount', 'clip_rect' becomes 'ClipRect', 'user_callback' becomes 'UserCallback', 'texture_id' becomes 'TextureId'. + - each ImDrawList now contains both a vertex buffer and an index buffer. For each command, render ElemCount/3 triangles using indices from the index buffer. + - if you REALLY cannot render indexed primitives, you can call the draw_data->DeIndexAllBuffers() method to de-index the buffers. This is slow and a waste of CPU/GPU. Prefer using indexed rendering! + - refer to code in the examples/ folder or ask on the GitHub if you are unsure of how to upgrade. please upgrade! + - 2015/07/10 (1.43) - changed SameLine() parameters from int to float. + - 2015/07/02 (1.42) - renamed SetScrollPosHere() to SetScrollFromCursorPos(). Kept inline redirection function (will obsolete). + - 2015/07/02 (1.42) - renamed GetScrollPosY() to GetScrollY(). Necessary to reduce confusion along with other scrolling functions, because positions (e.g. cursor position) are not equivalent to scrolling amount. + - 2015/06/14 (1.41) - changed ImageButton() default bg_col parameter from (0,0,0,1) (black) to (0,0,0,0) (transparent) - makes a difference when texture have transparence + - 2015/06/14 (1.41) - changed Selectable() API from (label, selected, size) to (label, selected, flags, size). Size override should have been rarely used. Sorry! + - 2015/05/31 (1.40) - renamed GetWindowCollapsed() to IsWindowCollapsed() for consistency. Kept inline redirection function (will obsolete). + - 2015/05/31 (1.40) - renamed IsRectClipped() to IsRectVisible() for consistency. Note that return value is opposite! Kept inline redirection function (will obsolete). + - 2015/05/27 (1.40) - removed the third 'repeat_if_held' parameter from Button() - sorry! it was rarely used and inconsistent. Use PushButtonRepeat(true) / PopButtonRepeat() to enable repeat on desired buttons. + - 2015/05/11 (1.40) - changed BeginPopup() API, takes a string identifier instead of a bool. ImGui needs to manage the open/closed state of popups. Call OpenPopup() to actually set the "open" state of a popup. BeginPopup() returns true if the popup is opened. + - 2015/05/03 (1.40) - removed style.AutoFitPadding, using style.WindowPadding makes more sense (the default values were already the same). + - 2015/04/13 (1.38) - renamed IsClipped() to IsRectClipped(). Kept inline redirection function until 1.50. + - 2015/04/09 (1.38) - renamed ImDrawList::AddArc() to ImDrawList::AddArcFast() for compatibility with future API + - 2015/04/03 (1.38) - removed ImGuiCol_CheckHovered, ImGuiCol_CheckActive, replaced with the more general ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive. + - 2014/04/03 (1.38) - removed support for passing -FLT_MAX..+FLT_MAX as the range for a SliderFloat(). Use DragFloat() or Inputfloat() instead. + - 2015/03/17 (1.36) - renamed GetItemBoxMin()/GetItemBoxMax()/IsMouseHoveringBox() to GetItemRectMin()/GetItemRectMax()/IsMouseHoveringRect(). Kept inline redirection function until 1.50. + - 2015/03/15 (1.36) - renamed style.TreeNodeSpacing to style.IndentSpacing, ImGuiStyleVar_TreeNodeSpacing to ImGuiStyleVar_IndentSpacing + - 2015/03/13 (1.36) - renamed GetWindowIsFocused() to IsWindowFocused(). Kept inline redirection function until 1.50. + - 2015/03/08 (1.35) - renamed style.ScrollBarWidth to style.ScrollbarWidth (casing) + - 2015/02/27 (1.34) - renamed OpenNextNode(bool) to SetNextTreeNodeOpened(bool, ImGuiSetCond). Kept inline redirection function until 1.50. + - 2015/02/27 (1.34) - renamed ImGuiSetCondition_*** to ImGuiSetCond_***, and _FirstUseThisSession becomes _Once. + - 2015/02/11 (1.32) - changed text input callback ImGuiTextEditCallback return type from void-->int. reserved for future use, return 0 for now. + - 2015/02/10 (1.32) - renamed GetItemWidth() to CalcItemWidth() to clarify its evolving behavior + - 2015/02/08 (1.31) - renamed GetTextLineSpacing() to GetTextLineHeightWithSpacing() + - 2015/02/01 (1.31) - removed IO.MemReallocFn (unused) + - 2015/01/19 (1.30) - renamed ImGuiStorage::GetIntPtr()/GetFloatPtr() to GetIntRef()/GetIntRef() because Ptr was conflicting with actual pointer storage functions. + - 2015/01/11 (1.30) - big font/image API change! now loads TTF file. allow for multiple fonts. no need for a PNG loader. + - 2015/01/11 (1.30) - removed GetDefaultFontData(). uses io.Fonts->GetTextureData*() API to retrieve uncompressed pixels. + - old: const void* png_data; unsigned int png_size; ImGui::GetDefaultFontData(NULL, NULL, &png_data, &png_size); [..Upload texture to GPU..]; + - new: unsigned char* pixels; int width, height; io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); [..Upload texture to GPU..]; io.Fonts->SetTexID(YourTexIdentifier); + you now have more flexibility to load multiple TTF fonts and manage the texture buffer for internal needs. It is now recommended that you sample the font texture with bilinear interpolation. + - 2015/01/11 (1.30) - added texture identifier in ImDrawCmd passed to your render function (we can now render images). make sure to call io.Fonts->SetTexID() + - 2015/01/11 (1.30) - removed IO.PixelCenterOffset (unnecessary, can be handled in user projection matrix) + - 2015/01/11 (1.30) - removed ImGui::IsItemFocused() in favor of ImGui::IsItemActive() which handles all widgets + - 2014/12/10 (1.18) - removed SetNewWindowDefaultPos() in favor of new generic API SetNextWindowPos(pos, ImGuiSetCondition_FirstUseEver) + - 2014/11/28 (1.17) - moved IO.Font*** options to inside the IO.Font-> structure (FontYOffset, FontTexUvForWhite, FontBaseScale, FontFallbackGlyph) + - 2014/11/26 (1.17) - reworked syntax of IMGUI_ONCE_UPON_A_FRAME helper macro to increase compiler compatibility + - 2014/11/07 (1.15) - renamed IsHovered() to IsItemHovered() + - 2014/10/02 (1.14) - renamed IMGUI_INCLUDE_IMGUI_USER_CPP to IMGUI_INCLUDE_IMGUI_USER_INL and imgui_user.cpp to imgui_user.inl (more IDE friendly) + - 2014/09/25 (1.13) - removed 'text_end' parameter from IO.SetClipboardTextFn (the string is now always zero-terminated for simplicity) + - 2014/09/24 (1.12) - renamed SetFontScale() to SetWindowFontScale() + - 2014/09/24 (1.12) - moved IM_MALLOC/IM_REALLOC/IM_FREE preprocessor defines to IO.MemAllocFn/IO.MemReallocFn/IO.MemFreeFn + - 2014/08/30 (1.09) - removed IO.FontHeight (now computed automatically) + - 2014/08/30 (1.09) - moved IMGUI_FONT_TEX_UV_FOR_WHITE preprocessor define to IO.FontTexUvForWhite + - 2014/08/28 (1.09) - changed the behavior of IO.PixelCenterOffset following various rendering fixes + + + FREQUENTLY ASKED QUESTIONS (FAQ) + ================================ + + Read all answers online: + https://www.dearimgui.com/faq or https://github.com/ocornut/imgui/blob/master/docs/FAQ.md (same url) + Read all answers locally (with a text editor or ideally a Markdown viewer): + docs/FAQ.md + Some answers are copied down here to facilitate searching in code. + + Q&A: Basics + =========== + + Q: Where is the documentation? + A: This library is poorly documented at the moment and expects the user to be acquainted with C/C++. + - Run the examples/ applications and explore them. + - Read Getting Started (https://github.com/ocornut/imgui/wiki/Getting-Started) guide. + - See demo code in imgui_demo.cpp and particularly the ImGui::ShowDemoWindow() function. + - The demo covers most features of Dear ImGui, so you can read the code and see its output. + - See documentation and comments at the top of imgui.cpp + effectively imgui.h. + - 20+ standalone example applications using e.g. OpenGL/DirectX are provided in the + examples/ folder to explain how to integrate Dear ImGui with your own engine/application. + - The Wiki (https://github.com/ocornut/imgui/wiki) has many resources and links. + - The Glossary (https://github.com/ocornut/imgui/wiki/Glossary) page also may be useful. + - Your programming IDE is your friend, find the type or function declaration to find comments + associated with it. + + Q: What is this library called? + Q: Which version should I get? + >> This library is called "Dear ImGui", please don't call it "ImGui" :) + >> See https://www.dearimgui.com/faq for details. + + Q&A: Integration + ================ + + Q: How to get started? + A: Read https://github.com/ocornut/imgui/wiki/Getting-Started. Read 'PROGRAMMER GUIDE' above. Read examples/README.txt. + + Q: How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application? + A: You should read the 'io.WantCaptureMouse', 'io.WantCaptureKeyboard' and 'io.WantTextInput' flags! + >> See https://www.dearimgui.com/faq for a fully detailed answer. You really want to read this. + + Q. How can I enable keyboard or gamepad controls? + Q: How can I use this on a machine without mouse, keyboard or screen? (input share, remote display) + Q: I integrated Dear ImGui in my engine and little squares are showing instead of text... + Q: I integrated Dear ImGui in my engine and some elements are clipping or disappearing when I move windows around... + Q: I integrated Dear ImGui in my engine and some elements are displaying outside their expected windows boundaries... + >> See https://www.dearimgui.com/faq + + Q&A: Usage + ---------- + + Q: About the ID Stack system.. + - Why is my widget not reacting when I click on it? + - How can I have widgets with an empty label? + - How can I have multiple widgets with the same label? + - How can I have multiple windows with the same label? + Q: How can I display an image? What is ImTextureID, how does it work? + Q: How can I use my own math types instead of ImVec2? + Q: How can I interact with standard C++ types (such as std::string and std::vector)? + Q: How can I display custom shapes? (using low-level ImDrawList API) + >> See https://www.dearimgui.com/faq + + Q&A: Fonts, Text + ================ + + Q: How should I handle DPI in my application? + Q: How can I load a different font than the default? + Q: How can I easily use icons in my application? + Q: How can I load multiple fonts? + Q: How can I display and input non-Latin characters such as Chinese, Japanese, Korean, Cyrillic? + >> See https://www.dearimgui.com/faq and https://github.com/ocornut/imgui/blob/master/docs/FONTS.md + + Q&A: Concerns + ============= + + Q: Who uses Dear ImGui? + Q: Can you create elaborate/serious tools with Dear ImGui? + Q: Can you reskin the look of Dear ImGui? + Q: Why using C++ (as opposed to C)? + >> See https://www.dearimgui.com/faq + + Q&A: Community + ============== + + Q: How can I help? + A: - Businesses: please reach out to "omar AT dearimgui DOT com" if you work in a place using Dear ImGui! + We can discuss ways for your company to fund development via invoiced technical support, maintenance or sponsoring contacts. + This is among the most useful thing you can do for Dear ImGui. With increased funding, we sustain and grow work on this project. + >>> See https://github.com/ocornut/imgui/wiki/Funding + - Businesses: you can also purchase licenses for the Dear ImGui Automation/Test Engine. + - If you are experienced with Dear ImGui and C++, look at the GitHub issues, look at the Wiki, and see how you want to help and can help! + - Disclose your usage of Dear ImGui via a dev blog post, a tweet, a screenshot, a mention somewhere etc. + You may post screenshot or links in the gallery threads. Visuals are ideal as they inspire other programmers. + But even without visuals, disclosing your use of dear imgui helps the library grow credibility, and help other teams and programmers with taking decisions. + - If you have issues or if you need to hack into the library, even if you don't expect any support it is useful that you share your issues (on GitHub or privately). + +*/ + +//------------------------------------------------------------------------- +// [SECTION] INCLUDES +//------------------------------------------------------------------------- + +#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) +#define _CRT_SECURE_NO_WARNINGS +#endif + +#ifndef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS +#endif + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_internal.h" + +// System includes +#include // vsnprintf, sscanf, printf +#include // intptr_t + +// [Windows] On non-Visual Studio compilers, we default to IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS unless explicitly enabled +#if defined(_WIN32) && !defined(_MSC_VER) && !defined(IMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS) +#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS +#endif + +// [Windows] OS specific includes (optional) +#if defined(_WIN32) && defined(IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS) && defined(IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS) && defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS) && defined(IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) +#define IMGUI_DISABLE_WIN32_FUNCTIONS +#endif +#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#ifndef NOMINMAX +#define NOMINMAX +#endif +#ifndef __MINGW32__ +#include // _wfopen, OpenClipboard +#else +#include +#endif +#if defined(WINAPI_FAMILY) && ((defined(WINAPI_FAMILY_APP) && WINAPI_FAMILY == WINAPI_FAMILY_APP) || (defined(WINAPI_FAMILY_GAMES) && WINAPI_FAMILY == WINAPI_FAMILY_GAMES)) +// The UWP and GDK Win32 API subsets don't support clipboard nor IME functions +#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS +#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS +#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#endif +#endif + +// [Apple] OS specific includes +#if defined(__APPLE__) +#include +#endif + +// Visual Studio warnings +#ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant +#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen +#if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later +#pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types +#endif +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to an 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). +#pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants (typically 0.0f) is ok. +#pragma clang diagnostic ignored "-Wformat-nonliteral" // warning: format string is not a string literal // passing non-literal to vsnformat(). yes, user passing incorrect format strings can crash the code. +#pragma clang diagnostic ignored "-Wexit-time-destructors" // warning: declaration requires an exit-time destructor // exit-time destruction order is undefined. if MemFree() leads to users code that has been disabled before exit it might cause problems. ImGui coding style welcomes static/globals. +#pragma clang diagnostic ignored "-Wglobal-constructors" // warning: declaration requires a global destructor // similar to above, not sure what the exact difference is. +#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness +#pragma clang diagnostic ignored "-Wformat-pedantic" // warning: format specifies type 'void *' but the argument has type 'xxxx *' // unreasonable, would lead to casting every %p arg to void*. probably enabled by -pedantic. +#pragma clang diagnostic ignored "-Wint-to-void-pointer-cast" // warning: cast to 'void *' from smaller integer type 'int' +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant // some standard header variations use #define NULL 0 +#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. +#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#elif defined(__GNUC__) +// We disable -Wpragmas because GCC doesn't provide a has_warning equivalent and some forks/patches may not follow the warning/version association. +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used +#pragma GCC diagnostic ignored "-Wint-to-pointer-cast" // warning: cast to pointer from integer of different size +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wformat" // warning: format '%p' expects argument of type 'int'/'void*', but argument X has type 'unsigned int'/'ImGuiWindow*' +#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function +#pragma GCC diagnostic ignored "-Wconversion" // warning: conversion to 'xxxx' from 'xxxx' may alter its value +#pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked +#pragma GCC diagnostic ignored "-Wstrict-overflow" // warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wcast-qual" // warning: cast from type 'const xxxx *' to type 'xxxx *' casts away qualifiers +#endif + +// Debug options +#define IMGUI_DEBUG_NAV_SCORING 0 // Display navigation scoring preview when hovering items. Hold CTRL to display for all candidates. CTRL+Arrow to change last direction. +#define IMGUI_DEBUG_NAV_RECTS 0 // Display the reference navigation rectangle for each window + +// When using CTRL+TAB (or Gamepad Square+L/R) we delay the visual a little in order to reduce visual noise doing a fast switch. +static const float NAV_WINDOWING_HIGHLIGHT_DELAY = 0.20f; // Time before the highlight and screen dimming starts fading in +static const float NAV_WINDOWING_LIST_APPEAR_DELAY = 0.15f; // Time before the window list starts to appear +static const float NAV_ACTIVATE_HIGHLIGHT_TIMER = 0.10f; // Time to highlight an item activated by a shortcut. +static const float WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER = 0.04f; // Reduce visual noise by only highlighting the border after a certain time. +static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 0.70f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved. + +// Tooltip offset +static const ImVec2 TOOLTIP_DEFAULT_OFFSET_MOUSE = ImVec2(16, 10); // Multiplied by g.Style.MouseCursorScale +static const ImVec2 TOOLTIP_DEFAULT_OFFSET_TOUCH = ImVec2(0, -20); // Multiplied by g.Style.MouseCursorScale +static const ImVec2 TOOLTIP_DEFAULT_PIVOT_TOUCH = ImVec2(0.5f, 1.0f); // Multiplied by g.Style.MouseCursorScale + +//------------------------------------------------------------------------- +// [SECTION] FORWARD DECLARATIONS +//------------------------------------------------------------------------- + +static void SetCurrentWindow(ImGuiWindow* window); +static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags); +static ImVec2 CalcNextScrollFromScrollTargetAndClamp(ImGuiWindow* window); + +static void AddWindowToSortBuffer(ImVector* out_sorted_windows, ImGuiWindow* window); + +// Settings +static void WindowSettingsHandler_ClearAll(ImGuiContext*, ImGuiSettingsHandler*); +static void* WindowSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name); +static void WindowSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line); +static void WindowSettingsHandler_ApplyAll(ImGuiContext*, ImGuiSettingsHandler*); +static void WindowSettingsHandler_WriteAll(ImGuiContext*, ImGuiSettingsHandler*, ImGuiTextBuffer* buf); + +// Platform Dependents default implementation for ImGuiPlatformIO functions +static const char* Platform_GetClipboardTextFn_DefaultImpl(ImGuiContext* ctx); +static void Platform_SetClipboardTextFn_DefaultImpl(ImGuiContext* ctx, const char* text); +static void Platform_SetImeDataFn_DefaultImpl(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data); +static bool Platform_OpenInShellFn_DefaultImpl(ImGuiContext* ctx, const char* path); + +namespace ImGui +{ +// Item +static void ItemHandleShortcut(ImGuiID id); + +// Window Focus +static int FindWindowFocusIndex(ImGuiWindow* window); +static void UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, ImGuiWindowFlags new_flags); + +// Navigation +static void NavUpdate(); +static void NavUpdateWindowing(); +static void NavUpdateWindowingApplyFocus(ImGuiWindow* window); +static void NavUpdateWindowingOverlay(); +static void NavUpdateCancelRequest(); +static void NavUpdateCreateMoveRequest(); +static void NavUpdateCreateTabbingRequest(); +static float NavUpdatePageUpPageDown(); +static inline void NavUpdateAnyRequestFlag(); +static void NavUpdateCreateWrappingRequest(); +static void NavEndFrame(); +static bool NavScoreItem(ImGuiNavItemData* result); +static void NavApplyItemToResult(ImGuiNavItemData* result); +static void NavProcessItem(); +static void NavProcessItemForTabbingRequest(ImGuiID id, ImGuiItemFlags item_flags, ImGuiNavMoveFlags move_flags); +static ImGuiInputSource NavCalcPreferredRefPosSource(); +static ImVec2 NavCalcPreferredRefPos(); +static void NavSaveLastChildNavWindowIntoParent(ImGuiWindow* nav_window); +static ImGuiWindow* NavRestoreLastChildNavWindow(ImGuiWindow* window); +static void NavRestoreLayer(ImGuiNavLayer layer); + +// Error Checking and Debug Tools +static void ErrorCheckNewFrameSanityChecks(); +static void ErrorCheckEndFrameSanityChecks(); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS +static void UpdateDebugToolItemPicker(); +static void UpdateDebugToolStackQueries(); +static void UpdateDebugToolFlashStyleColor(); +#endif + +// Inputs +static void UpdateKeyboardInputs(); +static void UpdateMouseInputs(); +static void UpdateMouseWheel(); +static void UpdateKeyRoutingTable(ImGuiKeyRoutingTable* rt); + +// Misc +static void UpdateSettings(); +static int UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_hovered, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect); +static void RenderWindowShadow(ImGuiWindow* window); +static void RenderWindowOuterBorders(ImGuiWindow* window); +static void RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar_rect, bool title_bar_is_highlight, bool handle_borders_and_resize_grips, int resize_grip_count, const ImU32 resize_grip_col[4], float resize_grip_draw_size); +static void RenderWindowTitleBarContents(ImGuiWindow* window, const ImRect& title_bar_rect, const char* name, bool* p_open); +static void RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 col); +static void RenderDimmedBackgrounds(); +static void SetLastItemDataForWindow(ImGuiWindow* window, const ImRect& rect); +static void SetLastItemDataForChildWindowItem(ImGuiWindow* window, const ImRect& rect); + +// Viewports +const ImGuiID IMGUI_VIEWPORT_DEFAULT_ID = 0x11111111; // Using an arbitrary constant instead of e.g. ImHashStr("ViewportDefault", 0); so it's easier to spot in the debugger. The exact value doesn't matter. +static void UpdateViewportsNewFrame(); + +} + +//----------------------------------------------------------------------------- +// [SECTION] CONTEXT AND MEMORY ALLOCATORS +//----------------------------------------------------------------------------- + +// DLL users: +// - Heaps and globals are not shared across DLL boundaries! +// - You will need to call SetCurrentContext() + SetAllocatorFunctions() for each static/DLL boundary you are calling from. +// - Same applies for hot-reloading mechanisms that are reliant on reloading DLL (note that many hot-reloading mechanisms work without DLL). +// - Using Dear ImGui via a shared library is not recommended, because of function call overhead and because we don't guarantee backward nor forward ABI compatibility. +// - Confused? In a debugger: add GImGui to your watch window and notice how its value changes depending on your current location (which DLL boundary you are in). + +// Current context pointer. Implicitly used by all Dear ImGui functions. Always assumed to be != NULL. +// - ImGui::CreateContext() will automatically set this pointer if it is NULL. +// Change to a different context by calling ImGui::SetCurrentContext(). +// - Important: Dear ImGui functions are not thread-safe because of this pointer. +// If you want thread-safety to allow N threads to access N different contexts: +// - Change this variable to use thread local storage so each thread can refer to a different context, in your imconfig.h: +// struct ImGuiContext; +// extern thread_local ImGuiContext* MyImGuiTLS; +// #define GImGui MyImGuiTLS +// And then define MyImGuiTLS in one of your cpp files. Note that thread_local is a C++11 keyword, earlier C++ uses compiler-specific keyword. +// - Future development aims to make this context pointer explicit to all calls. Also read https://github.com/ocornut/imgui/issues/586 +// - If you need a finite number of contexts, you may compile and use multiple instances of the ImGui code from a different namespace. +// - DLL users: read comments above. +#ifndef GImGui +ImGuiContext* GImGui = NULL; +#endif + +// Memory Allocator functions. Use SetAllocatorFunctions() to change them. +// - You probably don't want to modify that mid-program, and if you use global/static e.g. ImVector<> instances you may need to keep them accessible during program destruction. +// - DLL users: read comments above. +#ifndef IMGUI_DISABLE_DEFAULT_ALLOCATORS +static void* MallocWrapper(size_t size, void* user_data) { IM_UNUSED(user_data); return malloc(size); } +static void FreeWrapper(void* ptr, void* user_data) { IM_UNUSED(user_data); free(ptr); } +#else +static void* MallocWrapper(size_t size, void* user_data) { IM_UNUSED(user_data); IM_UNUSED(size); IM_ASSERT(0); return NULL; } +static void FreeWrapper(void* ptr, void* user_data) { IM_UNUSED(user_data); IM_UNUSED(ptr); IM_ASSERT(0); } +#endif +static ImGuiMemAllocFunc GImAllocatorAllocFunc = MallocWrapper; +static ImGuiMemFreeFunc GImAllocatorFreeFunc = FreeWrapper; +static void* GImAllocatorUserData = NULL; + +//----------------------------------------------------------------------------- +// [SECTION] USER FACING STRUCTURES (ImGuiStyle, ImGuiIO, ImGuiPlatformIO) +//----------------------------------------------------------------------------- + +ImGuiStyle::ImGuiStyle() +{ + Alpha = 1.0f; // Global alpha applies to everything in Dear ImGui. + DisabledAlpha = 0.60f; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha. + WindowPadding = ImVec2(8,8); // Padding within a window + WindowRounding = 0.0f; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. + WindowBorderSize = 1.0f; // Thickness of border around windows. Generally set to 0.0f or 1.0f. Other values not well tested. + WindowBorderHoverPadding = 4.0f; // Hit-testing extent outside/inside resizing border. Also extend determination of hovered window. Generally meaningfully larger than WindowBorderSize to make it easy to reach borders. + WindowMinSize = ImVec2(32,32); // Minimum window size + WindowTitleAlign = ImVec2(0.0f,0.5f);// Alignment for title bar text + WindowMenuButtonPosition = ImGuiDir_Left; // Position of the collapsing/docking button in the title bar (left/right). Defaults to ImGuiDir_Left. + ChildRounding = 0.0f; // Radius of child window corners rounding. Set to 0.0f to have rectangular child windows + ChildBorderSize = 1.0f; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. Other values not well tested. + PopupRounding = 0.0f; // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows + PopupBorderSize = 1.0f; // Thickness of border around popup or tooltip windows. Generally set to 0.0f or 1.0f. Other values not well tested. + FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most widgets) + FrameRounding = 0.0f; // Radius of frame corners rounding. Set to 0.0f to have rectangular frames (used by most widgets). + FrameBorderSize = 0.0f; // Thickness of border around frames. Generally set to 0.0f or 1.0f. Other values not well tested. + ItemSpacing = ImVec2(8,4); // Horizontal and vertical spacing between widgets/lines + ItemInnerSpacing = ImVec2(4,4); // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label) + CellPadding = ImVec2(4,2); // Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows. + TouchExtraPadding = ImVec2(0,0); // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + IndentSpacing = 21.0f; // Horizontal spacing when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1). + ScrollbarSize = 14.0f; // Width of the vertical scrollbar, Height of the horizontal scrollbar + ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar + GrabMinSize = 12.0f; // Minimum width/height of a grab box for slider/scrollbar + GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + LogSliderDeadzone = 4.0f; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. + ImageBorderSize = 0.0f; // Thickness of border around tabs. + TabRounding = 5.0f; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. + TabBorderSize = 0.0f; // Thickness of border around tabs. + TabCloseButtonMinWidthSelected = -1.0f; // -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width. + TabCloseButtonMinWidthUnselected = 0.0f; // -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width. FLT_MAX: never show close button when unselected. + TabBarBorderSize = 1.0f; // Thickness of tab-bar separator, which takes on the tab active color to denote focus. + TabBarOverlineSize = 1.0f; // Thickness of tab-bar overline, which highlights the selected tab-bar. + TableAngledHeadersAngle = 35.0f * (IM_PI / 180.0f); // Angle of angled headers (supported values range from -50 degrees to +50 degrees). + TableAngledHeadersTextAlign = ImVec2(0.5f,0.0f);// Alignment of angled headers within the cell + ColorButtonPosition = ImGuiDir_Right; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. + ButtonTextAlign = ImVec2(0.5f,0.5f);// Alignment of button text when button is larger than text. + SelectableTextAlign = ImVec2(0.0f,0.0f);// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. + SeparatorTextBorderSize = 3.0f; // Thickness of border in SeparatorText() + SeparatorTextAlign = ImVec2(0.0f,0.5f);// Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center). + SeparatorTextPadding = ImVec2(20.0f,3.f);// Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small values. .y is recommended to be == FramePadding.y. + DisplayWindowPadding = ImVec2(19,19); // Window position are clamped to be visible within the display area or monitors by at least this amount. Only applies to regular windows. + DisplaySafeAreaPadding = ImVec2(3,3); // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. + MouseCursorScale = 1.0f; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. + AntiAliasedLines = true; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. + AntiAliasedLinesUseTex = true; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). + AntiAliasedFill = true; // Enable anti-aliased filled shapes (rounded rectangles, circles, etc.). + CurveTessellationTol = 1.25f; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + CircleTessellationMaxError = 0.30f; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. + WindowShadowSize = 100.0f; // Size (in pixels) of window shadows. + WindowShadowOffsetDist = 0.0f; // Offset distance (in pixels) of window shadows from casting window. + WindowShadowOffsetAngle = IM_PI * 0.25f; // Offset angle of window shadows from casting window (0.0f = left, 0.5f*PI = bottom, 1.0f*PI = right, 1.5f*PI = top). + + // Behaviors + HoverStationaryDelay = 0.15f; // Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary. + HoverDelayShort = 0.15f; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay. + HoverDelayNormal = 0.40f; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). " + HoverFlagsForTooltipMouse = ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_AllowWhenDisabled; // Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using mouse. + HoverFlagsForTooltipNav = ImGuiHoveredFlags_NoSharedDelay | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_AllowWhenDisabled; // Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad. + + // Default theme + ImGui::StyleColorsDark(this); +} + +// To scale your entire UI (e.g. if you want your app to use High DPI or generally be DPI aware) you may use this helper function. Scaling the fonts is done separately and is up to you. +// Important: This operation is lossy because we round all sizes to integer. If you need to change your scale multiples, call this over a freshly initialized ImGuiStyle structure rather than scaling multiple times. +void ImGuiStyle::ScaleAllSizes(float scale_factor) +{ + WindowPadding = ImTrunc(WindowPadding * scale_factor); + WindowRounding = ImTrunc(WindowRounding * scale_factor); + WindowMinSize = ImTrunc(WindowMinSize * scale_factor); + WindowBorderHoverPadding = ImTrunc(WindowBorderHoverPadding * scale_factor); + ChildRounding = ImTrunc(ChildRounding * scale_factor); + PopupRounding = ImTrunc(PopupRounding * scale_factor); + FramePadding = ImTrunc(FramePadding * scale_factor); + FrameRounding = ImTrunc(FrameRounding * scale_factor); + ItemSpacing = ImTrunc(ItemSpacing * scale_factor); + ItemInnerSpacing = ImTrunc(ItemInnerSpacing * scale_factor); + CellPadding = ImTrunc(CellPadding * scale_factor); + TouchExtraPadding = ImTrunc(TouchExtraPadding * scale_factor); + IndentSpacing = ImTrunc(IndentSpacing * scale_factor); + ColumnsMinSpacing = ImTrunc(ColumnsMinSpacing * scale_factor); + ScrollbarSize = ImTrunc(ScrollbarSize * scale_factor); + ScrollbarRounding = ImTrunc(ScrollbarRounding * scale_factor); + GrabMinSize = ImTrunc(GrabMinSize * scale_factor); + GrabRounding = ImTrunc(GrabRounding * scale_factor); + LogSliderDeadzone = ImTrunc(LogSliderDeadzone * scale_factor); + ImageBorderSize = ImTrunc(ImageBorderSize * scale_factor); + TabRounding = ImTrunc(TabRounding * scale_factor); + TabCloseButtonMinWidthSelected = (TabCloseButtonMinWidthSelected > 0.0f && TabCloseButtonMinWidthSelected != FLT_MAX) ? ImTrunc(TabCloseButtonMinWidthSelected * scale_factor) : TabCloseButtonMinWidthSelected; + TabCloseButtonMinWidthUnselected = (TabCloseButtonMinWidthUnselected > 0.0f && TabCloseButtonMinWidthUnselected != FLT_MAX) ? ImTrunc(TabCloseButtonMinWidthUnselected * scale_factor) : TabCloseButtonMinWidthUnselected; + TabBarOverlineSize = ImTrunc(TabBarOverlineSize * scale_factor); + SeparatorTextPadding = ImTrunc(SeparatorTextPadding * scale_factor); + DisplayWindowPadding = ImTrunc(DisplayWindowPadding * scale_factor); + DisplaySafeAreaPadding = ImTrunc(DisplaySafeAreaPadding * scale_factor); + MouseCursorScale = ImTrunc(MouseCursorScale * scale_factor); +} + +ImGuiIO::ImGuiIO() +{ + // Most fields are initialized with zero + memset(this, 0, sizeof(*this)); + IM_STATIC_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); + + // Settings + ConfigFlags = ImGuiConfigFlags_None; + BackendFlags = ImGuiBackendFlags_None; + DisplaySize = ImVec2(-1.0f, -1.0f); + DeltaTime = 1.0f / 60.0f; + IniSavingRate = 5.0f; + IniFilename = "imgui.ini"; // Important: "imgui.ini" is relative to current working dir, most apps will want to lock this to an absolute path (e.g. same path as executables). + LogFilename = "imgui_log.txt"; + UserData = NULL; + + Fonts = NULL; + FontGlobalScale = 1.0f; + FontDefault = NULL; + FontAllowUserScaling = false; + DisplayFramebufferScale = ImVec2(1.0f, 1.0f); + + // Keyboard/Gamepad Navigation options + ConfigNavSwapGamepadButtons = false; + ConfigNavMoveSetMousePos = false; + ConfigNavCaptureKeyboard = true; + ConfigNavEscapeClearFocusItem = true; + ConfigNavEscapeClearFocusWindow = false; + ConfigNavCursorVisibleAuto = true; + ConfigNavCursorVisibleAlways = false; + + // Miscellaneous options + MouseDrawCursor = false; +#ifdef __APPLE__ + ConfigMacOSXBehaviors = true; // Set Mac OS X style defaults based on __APPLE__ compile time flag +#else + ConfigMacOSXBehaviors = false; +#endif + ConfigInputTrickleEventQueue = true; + ConfigInputTextCursorBlink = true; + ConfigInputTextEnterKeepActive = false; + ConfigDragClickToInputText = false; + ConfigWindowsResizeFromEdges = true; + ConfigWindowsMoveFromTitleBarOnly = false; + ConfigWindowsCopyContentsWithCtrlC = false; + ConfigScrollbarScrollByPage = true; + ConfigMemoryCompactTimer = 60.0f; + ConfigDebugIsDebuggerPresent = false; + ConfigDebugHighlightIdConflicts = true; + ConfigDebugHighlightIdConflictsShowItemPicker = true; + ConfigDebugBeginReturnValueOnce = false; + ConfigDebugBeginReturnValueLoop = false; + + ConfigErrorRecovery = true; + ConfigErrorRecoveryEnableAssert = true; + ConfigErrorRecoveryEnableDebugLog = true; + ConfigErrorRecoveryEnableTooltip = true; + + // Inputs Behaviors + MouseDoubleClickTime = 0.30f; + MouseDoubleClickMaxDist = 6.0f; + MouseDragThreshold = 6.0f; + KeyRepeatDelay = 0.275f; + KeyRepeatRate = 0.050f; + + // Platform Functions + // Note: Initialize() will setup default clipboard/ime handlers. + BackendPlatformName = BackendRendererName = NULL; + BackendPlatformUserData = BackendRendererUserData = BackendLanguageUserData = NULL; + + // Input (NB: we already have memset zero the entire structure!) + MousePos = ImVec2(-FLT_MAX, -FLT_MAX); + MousePosPrev = ImVec2(-FLT_MAX, -FLT_MAX); + MouseSource = ImGuiMouseSource_Mouse; + for (int i = 0; i < IM_ARRAYSIZE(MouseDownDuration); i++) MouseDownDuration[i] = MouseDownDurationPrev[i] = -1.0f; + for (int i = 0; i < IM_ARRAYSIZE(KeysData); i++) { KeysData[i].DownDuration = KeysData[i].DownDurationPrev = -1.0f; } + AppAcceptingEvents = true; +} + +// Pass in translated ASCII characters for text input. +// - with glfw you can get those from the callback set in glfwSetCharCallback() +// - on Windows you can get those using ToAscii+keyboard state, or via the WM_CHAR message +// FIXME: Should in theory be called "AddCharacterEvent()" to be consistent with new API +void ImGuiIO::AddInputCharacter(unsigned int c) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + if (c == 0 || !AppAcceptingEvents) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Text; + e.Source = ImGuiInputSource_Keyboard; + e.EventId = g.InputEventsNextEventId++; + e.Text.Char = c; + g.InputEventsQueue.push_back(e); +} + +// UTF16 strings use surrogate pairs to encode codepoints >= 0x10000, so +// we should save the high surrogate. +void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) +{ + if ((c == 0 && InputQueueSurrogate == 0) || !AppAcceptingEvents) + return; + + if ((c & 0xFC00) == 0xD800) // High surrogate, must save + { + if (InputQueueSurrogate != 0) + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); + InputQueueSurrogate = c; + return; + } + + ImWchar cp = c; + if (InputQueueSurrogate != 0) + { + if ((c & 0xFC00) != 0xDC00) // Invalid low surrogate + { + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); + } + else + { +#if IM_UNICODE_CODEPOINT_MAX == 0xFFFF + cp = IM_UNICODE_CODEPOINT_INVALID; // Codepoint will not fit in ImWchar +#else + cp = (ImWchar)(((InputQueueSurrogate - 0xD800) << 10) + (c - 0xDC00) + 0x10000); +#endif + } + + InputQueueSurrogate = 0; + } + AddInputCharacter((unsigned)cp); +} + +void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars) +{ + if (!AppAcceptingEvents) + return; + while (*utf8_chars != 0) + { + unsigned int c = 0; + utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL); + AddInputCharacter(c); + } +} + +// Clear all incoming events. +void ImGuiIO::ClearEventsQueue() +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + g.InputEventsQueue.clear(); +} + +// Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. +void ImGuiIO::ClearInputKeys() +{ + ImGuiContext& g = *Ctx; + for (int key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key++) + { + if (ImGui::IsMouseKey((ImGuiKey)key)) + continue; + ImGuiKeyData* key_data = &g.IO.KeysData[key - ImGuiKey_NamedKey_BEGIN]; + key_data->Down = false; + key_data->DownDuration = -1.0f; + key_data->DownDurationPrev = -1.0f; + } + KeyCtrl = KeyShift = KeyAlt = KeySuper = false; + KeyMods = ImGuiMod_None; + InputQueueCharacters.resize(0); // Behavior of old ClearInputCharacters(). +} + +void ImGuiIO::ClearInputMouse() +{ + for (ImGuiKey key = ImGuiKey_Mouse_BEGIN; key < ImGuiKey_Mouse_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyData* key_data = &KeysData[key - ImGuiKey_NamedKey_BEGIN]; + key_data->Down = false; + key_data->DownDuration = -1.0f; + key_data->DownDurationPrev = -1.0f; + } + MousePos = ImVec2(-FLT_MAX, -FLT_MAX); + for (int n = 0; n < IM_ARRAYSIZE(MouseDown); n++) + { + MouseDown[n] = false; + MouseDownDuration[n] = MouseDownDurationPrev[n] = -1.0f; + } + MouseWheel = MouseWheelH = 0.0f; +} + +// Removed this as it is ambiguous/misleading and generally incorrect to use with the existence of a higher-level input queue. +// Current frame character buffer is now also cleared by ClearInputKeys(). +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +void ImGuiIO::ClearInputCharacters() +{ + InputQueueCharacters.resize(0); +} +#endif + +static ImGuiInputEvent* FindLatestInputEvent(ImGuiContext* ctx, ImGuiInputEventType type, int arg = -1) +{ + ImGuiContext& g = *ctx; + for (int n = g.InputEventsQueue.Size - 1; n >= 0; n--) + { + ImGuiInputEvent* e = &g.InputEventsQueue[n]; + if (e->Type != type) + continue; + if (type == ImGuiInputEventType_Key && e->Key.Key != arg) + continue; + if (type == ImGuiInputEventType_MouseButton && e->MouseButton.Button != arg) + continue; + return e; + } + return NULL; +} + +// Queue a new key down/up event. +// - ImGuiKey key: Translated key (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) +// - bool down: Is the key down? use false to signify a key release. +// - float analog_value: 0.0f..1.0f +// IMPORTANT: THIS FUNCTION AND OTHER "ADD" GRABS THE CONTEXT FROM OUR INSTANCE. +// WE NEED TO ENSURE THAT ALL FUNCTION CALLS ARE FULFILLING THIS, WHICH IS WHY GetKeyData() HAS AN EXPLICIT CONTEXT. +void ImGuiIO::AddKeyAnalogEvent(ImGuiKey key, bool down, float analog_value) +{ + //if (e->Down) { IMGUI_DEBUG_LOG_IO("AddKeyEvent() Key='%s' %d, NativeKeycode = %d, NativeScancode = %d\n", ImGui::GetKeyName(e->Key), e->Down, e->NativeKeycode, e->NativeScancode); } + IM_ASSERT(Ctx != NULL); + if (key == ImGuiKey_None || !AppAcceptingEvents) + return; + ImGuiContext& g = *Ctx; + IM_ASSERT(ImGui::IsNamedKeyOrMod(key)); // Backend needs to pass a valid ImGuiKey_ constant. 0..511 values are legacy native key codes which are not accepted by this API. + IM_ASSERT(ImGui::IsAliasKey(key) == false); // Backend cannot submit ImGuiKey_MouseXXX values they are automatically inferred from AddMouseXXX() events. + + // MacOS: swap Cmd(Super) and Ctrl + if (g.IO.ConfigMacOSXBehaviors) + { + if (key == ImGuiMod_Super) { key = ImGuiMod_Ctrl; } + else if (key == ImGuiMod_Ctrl) { key = ImGuiMod_Super; } + else if (key == ImGuiKey_LeftSuper) { key = ImGuiKey_LeftCtrl; } + else if (key == ImGuiKey_RightSuper){ key = ImGuiKey_RightCtrl; } + else if (key == ImGuiKey_LeftCtrl) { key = ImGuiKey_LeftSuper; } + else if (key == ImGuiKey_RightCtrl) { key = ImGuiKey_RightSuper; } + } + + // Filter duplicate (in particular: key mods and gamepad analog values are commonly spammed) + const ImGuiInputEvent* latest_event = FindLatestInputEvent(&g, ImGuiInputEventType_Key, (int)key); + const ImGuiKeyData* key_data = ImGui::GetKeyData(&g, key); + const bool latest_key_down = latest_event ? latest_event->Key.Down : key_data->Down; + const float latest_key_analog = latest_event ? latest_event->Key.AnalogValue : key_data->AnalogValue; + if (latest_key_down == down && latest_key_analog == analog_value) + return; + + // Add event + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Key; + e.Source = ImGui::IsGamepadKey(key) ? ImGuiInputSource_Gamepad : ImGuiInputSource_Keyboard; + e.EventId = g.InputEventsNextEventId++; + e.Key.Key = key; + e.Key.Down = down; + e.Key.AnalogValue = analog_value; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down) +{ + if (!AppAcceptingEvents) + return; + AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f); +} + +// [Optional] Call after AddKeyEvent(). +// Specify native keycode, scancode + Specify index for legacy <1.87 IsKeyXXX() functions with native indices. +// If you are writing a backend in 2022 or don't use IsKeyXXX() with native values that are not ImGuiKey values, you can avoid calling this. +void ImGuiIO::SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index) +{ + if (key == ImGuiKey_None) + return; + IM_ASSERT(ImGui::IsNamedKey(key)); // >= 512 + IM_ASSERT(native_legacy_index == -1 || ImGui::IsLegacyKey((ImGuiKey)native_legacy_index)); // >= 0 && <= 511 + IM_UNUSED(key); // Yet unused + IM_UNUSED(native_keycode); // Yet unused + IM_UNUSED(native_scancode); // Yet unused + IM_UNUSED(native_legacy_index); // Yet unused +} + +// Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. +void ImGuiIO::SetAppAcceptingEvents(bool accepting_events) +{ + AppAcceptingEvents = accepting_events; +} + +// Queue a mouse move event +void ImGuiIO::AddMousePosEvent(float x, float y) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + if (!AppAcceptingEvents) + return; + + // Apply same flooring as UpdateMouseInputs() + ImVec2 pos((x > -FLT_MAX) ? ImFloor(x) : x, (y > -FLT_MAX) ? ImFloor(y) : y); + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(&g, ImGuiInputEventType_MousePos); + const ImVec2 latest_pos = latest_event ? ImVec2(latest_event->MousePos.PosX, latest_event->MousePos.PosY) : g.IO.MousePos; + if (latest_pos.x == pos.x && latest_pos.y == pos.y) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MousePos; + e.Source = ImGuiInputSource_Mouse; + e.EventId = g.InputEventsNextEventId++; + e.MousePos.PosX = pos.x; + e.MousePos.PosY = pos.y; + e.MousePos.MouseSource = g.InputEventsNextMouseSource; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddMouseButtonEvent(int mouse_button, bool down) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT); + if (!AppAcceptingEvents) + return; + + // On MacOS X: Convert Ctrl(Super)+Left click into Right-click: handle held button. + if (ConfigMacOSXBehaviors && mouse_button == 0 && MouseCtrlLeftAsRightClick) + { + // Order of both statements matterns: this event will still release mouse button 1 + mouse_button = 1; + if (!down) + MouseCtrlLeftAsRightClick = false; + } + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(&g, ImGuiInputEventType_MouseButton, (int)mouse_button); + const bool latest_button_down = latest_event ? latest_event->MouseButton.Down : g.IO.MouseDown[mouse_button]; + if (latest_button_down == down) + return; + + // On MacOS X: Convert Ctrl(Super)+Left click into Right-click. + // - Note that this is actual physical Ctrl which is ImGuiMod_Super for us. + // - At this point we want from !down to down, so this is handling the initial press. + if (ConfigMacOSXBehaviors && mouse_button == 0 && down) + { + const ImGuiInputEvent* latest_super_event = FindLatestInputEvent(&g, ImGuiInputEventType_Key, (int)ImGuiMod_Super); + if (latest_super_event ? latest_super_event->Key.Down : g.IO.KeySuper) + { + IMGUI_DEBUG_LOG_IO("[io] Super+Left Click aliased into Right Click\n"); + MouseCtrlLeftAsRightClick = true; + AddMouseButtonEvent(1, true); // This is just quicker to write that passing through, as we need to filter duplicate again. + return; + } + } + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseButton; + e.Source = ImGuiInputSource_Mouse; + e.EventId = g.InputEventsNextEventId++; + e.MouseButton.Button = mouse_button; + e.MouseButton.Down = down; + e.MouseButton.MouseSource = g.InputEventsNextMouseSource; + g.InputEventsQueue.push_back(e); +} + +// Queue a mouse wheel event (some mouse/API may only have a Y component) +void ImGuiIO::AddMouseWheelEvent(float wheel_x, float wheel_y) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + + // Filter duplicate (unlike most events, wheel values are relative and easy to filter) + if (!AppAcceptingEvents || (wheel_x == 0.0f && wheel_y == 0.0f)) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseWheel; + e.Source = ImGuiInputSource_Mouse; + e.EventId = g.InputEventsNextEventId++; + e.MouseWheel.WheelX = wheel_x; + e.MouseWheel.WheelY = wheel_y; + e.MouseWheel.MouseSource = g.InputEventsNextMouseSource; + g.InputEventsQueue.push_back(e); +} + +// This is not a real event, the data is latched in order to be stored in actual Mouse events. +// This is so that duplicate events (e.g. Windows sending extraneous WM_MOUSEMOVE) gets filtered and are not leading to actual source changes. +void ImGuiIO::AddMouseSourceEvent(ImGuiMouseSource source) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + g.InputEventsNextMouseSource = source; +} + +void ImGuiIO::AddFocusEvent(bool focused) +{ + IM_ASSERT(Ctx != NULL); + ImGuiContext& g = *Ctx; + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(&g, ImGuiInputEventType_Focus); + const bool latest_focused = latest_event ? latest_event->AppFocused.Focused : !g.IO.AppFocusLost; + if (latest_focused == focused || (ConfigDebugIgnoreFocusLoss && !focused)) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Focus; + e.EventId = g.InputEventsNextEventId++; + e.AppFocused.Focused = focused; + g.InputEventsQueue.push_back(e); +} + +ImGuiPlatformIO::ImGuiPlatformIO() +{ + // Most fields are initialized with zero + memset(this, 0, sizeof(*this)); + Platform_LocaleDecimalPoint = '.'; +} + +//----------------------------------------------------------------------------- +// [SECTION] MISC HELPERS/UTILITIES (Geometry functions) +//----------------------------------------------------------------------------- + +ImVec2 ImBezierCubicClosestPoint(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& p, int num_segments) +{ + IM_ASSERT(num_segments > 0); // Use ImBezierCubicClosestPointCasteljau() + ImVec2 p_last = p1; + ImVec2 p_closest; + float p_closest_dist2 = FLT_MAX; + float t_step = 1.0f / (float)num_segments; + for (int i_step = 1; i_step <= num_segments; i_step++) + { + ImVec2 p_current = ImBezierCubicCalc(p1, p2, p3, p4, t_step * i_step); + ImVec2 p_line = ImLineClosestPoint(p_last, p_current, p); + float dist2 = ImLengthSqr(p - p_line); + if (dist2 < p_closest_dist2) + { + p_closest = p_line; + p_closest_dist2 = dist2; + } + p_last = p_current; + } + return p_closest; +} + +// Closely mimics PathBezierToCasteljau() in imgui_draw.cpp +static void ImBezierCubicClosestPointCasteljauStep(const ImVec2& p, ImVec2& p_closest, ImVec2& p_last, float& p_closest_dist2, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float tess_tol, int level) +{ + float dx = x4 - x1; + float dy = y4 - y1; + float d2 = ((x2 - x4) * dy - (y2 - y4) * dx); + float d3 = ((x3 - x4) * dy - (y3 - y4) * dx); + d2 = (d2 >= 0) ? d2 : -d2; + d3 = (d3 >= 0) ? d3 : -d3; + if ((d2 + d3) * (d2 + d3) < tess_tol * (dx * dx + dy * dy)) + { + ImVec2 p_current(x4, y4); + ImVec2 p_line = ImLineClosestPoint(p_last, p_current, p); + float dist2 = ImLengthSqr(p - p_line); + if (dist2 < p_closest_dist2) + { + p_closest = p_line; + p_closest_dist2 = dist2; + } + p_last = p_current; + } + else if (level < 10) + { + float x12 = (x1 + x2)*0.5f, y12 = (y1 + y2)*0.5f; + float x23 = (x2 + x3)*0.5f, y23 = (y2 + y3)*0.5f; + float x34 = (x3 + x4)*0.5f, y34 = (y3 + y4)*0.5f; + float x123 = (x12 + x23)*0.5f, y123 = (y12 + y23)*0.5f; + float x234 = (x23 + x34)*0.5f, y234 = (y23 + y34)*0.5f; + float x1234 = (x123 + x234)*0.5f, y1234 = (y123 + y234)*0.5f; + ImBezierCubicClosestPointCasteljauStep(p, p_closest, p_last, p_closest_dist2, x1, y1, x12, y12, x123, y123, x1234, y1234, tess_tol, level + 1); + ImBezierCubicClosestPointCasteljauStep(p, p_closest, p_last, p_closest_dist2, x1234, y1234, x234, y234, x34, y34, x4, y4, tess_tol, level + 1); + } +} + +// tess_tol is generally the same value you would find in ImGui::GetStyle().CurveTessellationTol +// Because those ImXXX functions are lower-level than ImGui:: we cannot access this value automatically. +ImVec2 ImBezierCubicClosestPointCasteljau(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& p, float tess_tol) +{ + IM_ASSERT(tess_tol > 0.0f); + ImVec2 p_last = p1; + ImVec2 p_closest; + float p_closest_dist2 = FLT_MAX; + ImBezierCubicClosestPointCasteljauStep(p, p_closest, p_last, p_closest_dist2, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, tess_tol, 0); + return p_closest; +} + +ImVec2 ImLineClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& p) +{ + ImVec2 ap = p - a; + ImVec2 ab_dir = b - a; + float dot = ap.x * ab_dir.x + ap.y * ab_dir.y; + if (dot < 0.0f) + return a; + float ab_len_sqr = ab_dir.x * ab_dir.x + ab_dir.y * ab_dir.y; + if (dot > ab_len_sqr) + return b; + return a + ab_dir * dot / ab_len_sqr; +} + +bool ImTriangleContainsPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p) +{ + bool b1 = ((p.x - b.x) * (a.y - b.y) - (p.y - b.y) * (a.x - b.x)) < 0.0f; + bool b2 = ((p.x - c.x) * (b.y - c.y) - (p.y - c.y) * (b.x - c.x)) < 0.0f; + bool b3 = ((p.x - a.x) * (c.y - a.y) - (p.y - a.y) * (c.x - a.x)) < 0.0f; + return ((b1 == b2) && (b2 == b3)); +} + +void ImTriangleBarycentricCoords(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p, float& out_u, float& out_v, float& out_w) +{ + ImVec2 v0 = b - a; + ImVec2 v1 = c - a; + ImVec2 v2 = p - a; + const float denom = v0.x * v1.y - v1.x * v0.y; + out_v = (v2.x * v1.y - v1.x * v2.y) / denom; + out_w = (v0.x * v2.y - v2.x * v0.y) / denom; + out_u = 1.0f - out_v - out_w; +} + +ImVec2 ImTriangleClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p) +{ + ImVec2 proj_ab = ImLineClosestPoint(a, b, p); + ImVec2 proj_bc = ImLineClosestPoint(b, c, p); + ImVec2 proj_ca = ImLineClosestPoint(c, a, p); + float dist2_ab = ImLengthSqr(p - proj_ab); + float dist2_bc = ImLengthSqr(p - proj_bc); + float dist2_ca = ImLengthSqr(p - proj_ca); + float m = ImMin(dist2_ab, ImMin(dist2_bc, dist2_ca)); + if (m == dist2_ab) + return proj_ab; + if (m == dist2_bc) + return proj_bc; + return proj_ca; +} + +//----------------------------------------------------------------------------- +// [SECTION] MISC HELPERS/UTILITIES (String, Format, Hash functions) +//----------------------------------------------------------------------------- + +// Consider using _stricmp/_strnicmp under Windows or strcasecmp/strncasecmp. We don't actually use either ImStricmp/ImStrnicmp in the codebase any more. +int ImStricmp(const char* str1, const char* str2) +{ + int d; + while ((d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; } + return d; +} + +int ImStrnicmp(const char* str1, const char* str2, size_t count) +{ + int d = 0; + while (count > 0 && (d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; count--; } + return d; +} + +void ImStrncpy(char* dst, const char* src, size_t count) +{ + if (count < 1) + return; + if (count > 1) + strncpy(dst, src, count - 1); + dst[count - 1] = 0; +} + +char* ImStrdup(const char* str) +{ + size_t len = strlen(str); + void* buf = IM_ALLOC(len + 1); + return (char*)memcpy(buf, (const void*)str, len + 1); +} + +char* ImStrdupcpy(char* dst, size_t* p_dst_size, const char* src) +{ + size_t dst_buf_size = p_dst_size ? *p_dst_size : strlen(dst) + 1; + size_t src_size = strlen(src) + 1; + if (dst_buf_size < src_size) + { + IM_FREE(dst); + dst = (char*)IM_ALLOC(src_size); + if (p_dst_size) + *p_dst_size = src_size; + } + return (char*)memcpy(dst, (const void*)src, src_size); +} + +const char* ImStrchrRange(const char* str, const char* str_end, char c) +{ + const char* p = (const char*)memchr(str, (int)c, str_end - str); + return p; +} + +int ImStrlenW(const ImWchar* str) +{ + //return (int)wcslen((const wchar_t*)str); // FIXME-OPT: Could use this when wchar_t are 16-bit + int n = 0; + while (*str++) n++; + return n; +} + +// Find end-of-line. Return pointer will point to either first \n, either str_end. +const char* ImStreolRange(const char* str, const char* str_end) +{ + const char* p = (const char*)memchr(str, '\n', str_end - str); + return p ? p : str_end; +} + +const char* ImStrbol(const char* buf_mid_line, const char* buf_begin) // find beginning-of-line +{ + IM_ASSERT_PARANOID(buf_mid_line >= buf_begin && buf_mid_line <= buf_begin + strlen(buf_begin)); + while (buf_mid_line > buf_begin && buf_mid_line[-1] != '\n') + buf_mid_line--; + return buf_mid_line; +} + +const char* ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end) +{ + if (!needle_end) + needle_end = needle + strlen(needle); + + const char un0 = (char)ImToUpper(*needle); + while ((!haystack_end && *haystack) || (haystack_end && haystack < haystack_end)) + { + if (ImToUpper(*haystack) == un0) + { + const char* b = needle + 1; + for (const char* a = haystack + 1; b < needle_end; a++, b++) + if (ImToUpper(*a) != ImToUpper(*b)) + break; + if (b == needle_end) + return haystack; + } + haystack++; + } + return NULL; +} + +// Trim str by offsetting contents when there's leading data + writing a \0 at the trailing position. We use this in situation where the cost is negligible. +void ImStrTrimBlanks(char* buf) +{ + char* p = buf; + while (p[0] == ' ' || p[0] == '\t') // Leading blanks + p++; + char* p_start = p; + while (*p != 0) // Find end of string + p++; + while (p > p_start && (p[-1] == ' ' || p[-1] == '\t')) // Trailing blanks + p--; + if (p_start != buf) // Copy memory if we had leading blanks + memmove(buf, p_start, p - p_start); + buf[p - p_start] = 0; // Zero terminate +} + +const char* ImStrSkipBlank(const char* str) +{ + while (str[0] == ' ' || str[0] == '\t') + str++; + return str; +} + +// A) MSVC version appears to return -1 on overflow, whereas glibc appears to return total count (which may be >= buf_size). +// Ideally we would test for only one of those limits at runtime depending on the behavior the vsnprintf(), but trying to deduct it at compile time sounds like a pandora can of worm. +// B) When buf==NULL vsnprintf() will return the output size. +#ifndef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS + +// We support stb_sprintf which is much faster (see: https://github.com/nothings/stb/blob/master/stb_sprintf.h) +// You may set IMGUI_USE_STB_SPRINTF to use our default wrapper, or set IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +// and setup the wrapper yourself. (FIXME-OPT: Some of our high-level operations such as ImGuiTextBuffer::appendfv() are +// designed using two-passes worst case, which probably could be improved using the stbsp_vsprintfcb() function.) +#ifdef IMGUI_USE_STB_SPRINTF +#ifndef IMGUI_DISABLE_STB_SPRINTF_IMPLEMENTATION +#define STB_SPRINTF_IMPLEMENTATION +#endif +#ifdef IMGUI_STB_SPRINTF_FILENAME +#include IMGUI_STB_SPRINTF_FILENAME +#else +#include "stb_sprintf.h" +#endif +#endif // #ifdef IMGUI_USE_STB_SPRINTF + +#if defined(_MSC_VER) && !defined(vsnprintf) +#define vsnprintf _vsnprintf +#endif + +int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); +#ifdef IMGUI_USE_STB_SPRINTF + int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args); +#else + int w = vsnprintf(buf, buf_size, fmt, args); +#endif + va_end(args); + if (buf == NULL) + return w; + if (w == -1 || w >= (int)buf_size) + w = (int)buf_size - 1; + buf[w] = 0; + return w; +} + +int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) +{ +#ifdef IMGUI_USE_STB_SPRINTF + int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args); +#else + int w = vsnprintf(buf, buf_size, fmt, args); +#endif + if (buf == NULL) + return w; + if (w == -1 || w >= (int)buf_size) + w = (int)buf_size - 1; + buf[w] = 0; + return w; +} +#endif // #ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS + +void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + ImFormatStringToTempBufferV(out_buf, out_buf_end, fmt, args); + va_end(args); +} + +// FIXME: Should rework API toward allowing multiple in-flight temp buffers (easier and safer for caller) +// by making the caller acquire a temp buffer token, with either explicit or destructor release, e.g. +// ImGuiTempBufferToken token; +// ImFormatStringToTempBuffer(token, ...); +void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + if (fmt[0] == '%' && fmt[1] == 's' && fmt[2] == 0) + { + const char* buf = va_arg(args, const char*); // Skip formatting when using "%s" + if (buf == NULL) + buf = "(null)"; + *out_buf = buf; + if (out_buf_end) { *out_buf_end = buf + strlen(buf); } + } + else if (fmt[0] == '%' && fmt[1] == '.' && fmt[2] == '*' && fmt[3] == 's' && fmt[4] == 0) + { + int buf_len = va_arg(args, int); // Skip formatting when using "%.*s" + const char* buf = va_arg(args, const char*); + if (buf == NULL) + { + buf = "(null)"; + buf_len = ImMin(buf_len, 6); + } + *out_buf = buf; + *out_buf_end = buf + buf_len; // Disallow not passing 'out_buf_end' here. User is expected to use it. + } + else + { + int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); + *out_buf = g.TempBuffer.Data; + if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } + } +} + +#ifndef IMGUI_ENABLE_SSE4_2_CRC +// CRC32 needs a 1KB lookup table (not cache friendly) +// Although the code to generate the table is simple and shorter than the table itself, using a const table allows us to easily: +// - avoid an unnecessary branch/memory tap, - keep the ImHashXXX functions usable by static constructors, - make it thread-safe. +static const ImU32 GCrc32LookupTable[256] = +{ +#ifdef IMGUI_USE_LEGACY_CRC32_ADLER + // Legacy CRC32-adler table used pre 1.91.6 (before 2024/11/27). Only use if you cannot afford invalidating old .ini data. + 0x00000000,0x77073096,0xEE0E612C,0x990951BA,0x076DC419,0x706AF48F,0xE963A535,0x9E6495A3,0x0EDB8832,0x79DCB8A4,0xE0D5E91E,0x97D2D988,0x09B64C2B,0x7EB17CBD,0xE7B82D07,0x90BF1D91, + 0x1DB71064,0x6AB020F2,0xF3B97148,0x84BE41DE,0x1ADAD47D,0x6DDDE4EB,0xF4D4B551,0x83D385C7,0x136C9856,0x646BA8C0,0xFD62F97A,0x8A65C9EC,0x14015C4F,0x63066CD9,0xFA0F3D63,0x8D080DF5, + 0x3B6E20C8,0x4C69105E,0xD56041E4,0xA2677172,0x3C03E4D1,0x4B04D447,0xD20D85FD,0xA50AB56B,0x35B5A8FA,0x42B2986C,0xDBBBC9D6,0xACBCF940,0x32D86CE3,0x45DF5C75,0xDCD60DCF,0xABD13D59, + 0x26D930AC,0x51DE003A,0xC8D75180,0xBFD06116,0x21B4F4B5,0x56B3C423,0xCFBA9599,0xB8BDA50F,0x2802B89E,0x5F058808,0xC60CD9B2,0xB10BE924,0x2F6F7C87,0x58684C11,0xC1611DAB,0xB6662D3D, + 0x76DC4190,0x01DB7106,0x98D220BC,0xEFD5102A,0x71B18589,0x06B6B51F,0x9FBFE4A5,0xE8B8D433,0x7807C9A2,0x0F00F934,0x9609A88E,0xE10E9818,0x7F6A0DBB,0x086D3D2D,0x91646C97,0xE6635C01, + 0x6B6B51F4,0x1C6C6162,0x856530D8,0xF262004E,0x6C0695ED,0x1B01A57B,0x8208F4C1,0xF50FC457,0x65B0D9C6,0x12B7E950,0x8BBEB8EA,0xFCB9887C,0x62DD1DDF,0x15DA2D49,0x8CD37CF3,0xFBD44C65, + 0x4DB26158,0x3AB551CE,0xA3BC0074,0xD4BB30E2,0x4ADFA541,0x3DD895D7,0xA4D1C46D,0xD3D6F4FB,0x4369E96A,0x346ED9FC,0xAD678846,0xDA60B8D0,0x44042D73,0x33031DE5,0xAA0A4C5F,0xDD0D7CC9, + 0x5005713C,0x270241AA,0xBE0B1010,0xC90C2086,0x5768B525,0x206F85B3,0xB966D409,0xCE61E49F,0x5EDEF90E,0x29D9C998,0xB0D09822,0xC7D7A8B4,0x59B33D17,0x2EB40D81,0xB7BD5C3B,0xC0BA6CAD, + 0xEDB88320,0x9ABFB3B6,0x03B6E20C,0x74B1D29A,0xEAD54739,0x9DD277AF,0x04DB2615,0x73DC1683,0xE3630B12,0x94643B84,0x0D6D6A3E,0x7A6A5AA8,0xE40ECF0B,0x9309FF9D,0x0A00AE27,0x7D079EB1, + 0xF00F9344,0x8708A3D2,0x1E01F268,0x6906C2FE,0xF762575D,0x806567CB,0x196C3671,0x6E6B06E7,0xFED41B76,0x89D32BE0,0x10DA7A5A,0x67DD4ACC,0xF9B9DF6F,0x8EBEEFF9,0x17B7BE43,0x60B08ED5, + 0xD6D6A3E8,0xA1D1937E,0x38D8C2C4,0x4FDFF252,0xD1BB67F1,0xA6BC5767,0x3FB506DD,0x48B2364B,0xD80D2BDA,0xAF0A1B4C,0x36034AF6,0x41047A60,0xDF60EFC3,0xA867DF55,0x316E8EEF,0x4669BE79, + 0xCB61B38C,0xBC66831A,0x256FD2A0,0x5268E236,0xCC0C7795,0xBB0B4703,0x220216B9,0x5505262F,0xC5BA3BBE,0xB2BD0B28,0x2BB45A92,0x5CB36A04,0xC2D7FFA7,0xB5D0CF31,0x2CD99E8B,0x5BDEAE1D, + 0x9B64C2B0,0xEC63F226,0x756AA39C,0x026D930A,0x9C0906A9,0xEB0E363F,0x72076785,0x05005713,0x95BF4A82,0xE2B87A14,0x7BB12BAE,0x0CB61B38,0x92D28E9B,0xE5D5BE0D,0x7CDCEFB7,0x0BDBDF21, + 0x86D3D2D4,0xF1D4E242,0x68DDB3F8,0x1FDA836E,0x81BE16CD,0xF6B9265B,0x6FB077E1,0x18B74777,0x88085AE6,0xFF0F6A70,0x66063BCA,0x11010B5C,0x8F659EFF,0xF862AE69,0x616BFFD3,0x166CCF45, + 0xA00AE278,0xD70DD2EE,0x4E048354,0x3903B3C2,0xA7672661,0xD06016F7,0x4969474D,0x3E6E77DB,0xAED16A4A,0xD9D65ADC,0x40DF0B66,0x37D83BF0,0xA9BCAE53,0xDEBB9EC5,0x47B2CF7F,0x30B5FFE9, + 0xBDBDF21C,0xCABAC28A,0x53B39330,0x24B4A3A6,0xBAD03605,0xCDD70693,0x54DE5729,0x23D967BF,0xB3667A2E,0xC4614AB8,0x5D681B02,0x2A6F2B94,0xB40BBE37,0xC30C8EA1,0x5A05DF1B,0x2D02EF8D, +#else + // CRC32c table compatible with SSE 4.2 instructions + 0x00000000,0xF26B8303,0xE13B70F7,0x1350F3F4,0xC79A971F,0x35F1141C,0x26A1E7E8,0xD4CA64EB,0x8AD958CF,0x78B2DBCC,0x6BE22838,0x9989AB3B,0x4D43CFD0,0xBF284CD3,0xAC78BF27,0x5E133C24, + 0x105EC76F,0xE235446C,0xF165B798,0x030E349B,0xD7C45070,0x25AFD373,0x36FF2087,0xC494A384,0x9A879FA0,0x68EC1CA3,0x7BBCEF57,0x89D76C54,0x5D1D08BF,0xAF768BBC,0xBC267848,0x4E4DFB4B, + 0x20BD8EDE,0xD2D60DDD,0xC186FE29,0x33ED7D2A,0xE72719C1,0x154C9AC2,0x061C6936,0xF477EA35,0xAA64D611,0x580F5512,0x4B5FA6E6,0xB93425E5,0x6DFE410E,0x9F95C20D,0x8CC531F9,0x7EAEB2FA, + 0x30E349B1,0xC288CAB2,0xD1D83946,0x23B3BA45,0xF779DEAE,0x05125DAD,0x1642AE59,0xE4292D5A,0xBA3A117E,0x4851927D,0x5B016189,0xA96AE28A,0x7DA08661,0x8FCB0562,0x9C9BF696,0x6EF07595, + 0x417B1DBC,0xB3109EBF,0xA0406D4B,0x522BEE48,0x86E18AA3,0x748A09A0,0x67DAFA54,0x95B17957,0xCBA24573,0x39C9C670,0x2A993584,0xD8F2B687,0x0C38D26C,0xFE53516F,0xED03A29B,0x1F682198, + 0x5125DAD3,0xA34E59D0,0xB01EAA24,0x42752927,0x96BF4DCC,0x64D4CECF,0x77843D3B,0x85EFBE38,0xDBFC821C,0x2997011F,0x3AC7F2EB,0xC8AC71E8,0x1C661503,0xEE0D9600,0xFD5D65F4,0x0F36E6F7, + 0x61C69362,0x93AD1061,0x80FDE395,0x72966096,0xA65C047D,0x5437877E,0x4767748A,0xB50CF789,0xEB1FCBAD,0x197448AE,0x0A24BB5A,0xF84F3859,0x2C855CB2,0xDEEEDFB1,0xCDBE2C45,0x3FD5AF46, + 0x7198540D,0x83F3D70E,0x90A324FA,0x62C8A7F9,0xB602C312,0x44694011,0x5739B3E5,0xA55230E6,0xFB410CC2,0x092A8FC1,0x1A7A7C35,0xE811FF36,0x3CDB9BDD,0xCEB018DE,0xDDE0EB2A,0x2F8B6829, + 0x82F63B78,0x709DB87B,0x63CD4B8F,0x91A6C88C,0x456CAC67,0xB7072F64,0xA457DC90,0x563C5F93,0x082F63B7,0xFA44E0B4,0xE9141340,0x1B7F9043,0xCFB5F4A8,0x3DDE77AB,0x2E8E845F,0xDCE5075C, + 0x92A8FC17,0x60C37F14,0x73938CE0,0x81F80FE3,0x55326B08,0xA759E80B,0xB4091BFF,0x466298FC,0x1871A4D8,0xEA1A27DB,0xF94AD42F,0x0B21572C,0xDFEB33C7,0x2D80B0C4,0x3ED04330,0xCCBBC033, + 0xA24BB5A6,0x502036A5,0x4370C551,0xB11B4652,0x65D122B9,0x97BAA1BA,0x84EA524E,0x7681D14D,0x2892ED69,0xDAF96E6A,0xC9A99D9E,0x3BC21E9D,0xEF087A76,0x1D63F975,0x0E330A81,0xFC588982, + 0xB21572C9,0x407EF1CA,0x532E023E,0xA145813D,0x758FE5D6,0x87E466D5,0x94B49521,0x66DF1622,0x38CC2A06,0xCAA7A905,0xD9F75AF1,0x2B9CD9F2,0xFF56BD19,0x0D3D3E1A,0x1E6DCDEE,0xEC064EED, + 0xC38D26C4,0x31E6A5C7,0x22B65633,0xD0DDD530,0x0417B1DB,0xF67C32D8,0xE52CC12C,0x1747422F,0x49547E0B,0xBB3FFD08,0xA86F0EFC,0x5A048DFF,0x8ECEE914,0x7CA56A17,0x6FF599E3,0x9D9E1AE0, + 0xD3D3E1AB,0x21B862A8,0x32E8915C,0xC083125F,0x144976B4,0xE622F5B7,0xF5720643,0x07198540,0x590AB964,0xAB613A67,0xB831C993,0x4A5A4A90,0x9E902E7B,0x6CFBAD78,0x7FAB5E8C,0x8DC0DD8F, + 0xE330A81A,0x115B2B19,0x020BD8ED,0xF0605BEE,0x24AA3F05,0xD6C1BC06,0xC5914FF2,0x37FACCF1,0x69E9F0D5,0x9B8273D6,0x88D28022,0x7AB90321,0xAE7367CA,0x5C18E4C9,0x4F48173D,0xBD23943E, + 0xF36E6F75,0x0105EC76,0x12551F82,0xE03E9C81,0x34F4F86A,0xC69F7B69,0xD5CF889D,0x27A40B9E,0x79B737BA,0x8BDCB4B9,0x988C474D,0x6AE7C44E,0xBE2DA0A5,0x4C4623A6,0x5F16D052,0xAD7D5351 +#endif +}; +#endif + +// Known size hash +// It is ok to call ImHashData on a string with known length but the ### operator won't be supported. +// FIXME-OPT: Replace with e.g. FNV1a hash? CRC32 pretty much randomly access 1KB. Need to do proper measurements. +ImGuiID ImHashData(const void* data_p, size_t data_size, ImGuiID seed) +{ + ImU32 crc = ~seed; + const unsigned char* data = (const unsigned char*)data_p; + const unsigned char *data_end = (const unsigned char*)data_p + data_size; +#ifndef IMGUI_ENABLE_SSE4_2_CRC + const ImU32* crc32_lut = GCrc32LookupTable; + while (data < data_end) + crc = (crc >> 8) ^ crc32_lut[(crc & 0xFF) ^ *data++]; + return ~crc; +#else + while (data + 4 <= data_end) + { + crc = _mm_crc32_u32(crc, *(ImU32*)data); + data += 4; + } + while (data < data_end) + crc = _mm_crc32_u8(crc, *data++); + return ~crc; +#endif +} + +// Zero-terminated string hash, with support for ### to reset back to seed value +// We support a syntax of "label###id" where only "###id" is included in the hash, and only "label" gets displayed. +// Because this syntax is rarely used we are optimizing for the common case. +// - If we reach ### in the string we discard the hash so far and reset to the seed. +// - We don't do 'current += 2; continue;' after handling ### to keep the code smaller/faster (measured ~10% diff in Debug build) +// FIXME-OPT: Replace with e.g. FNV1a hash? CRC32 pretty much randomly access 1KB. Need to do proper measurements. +ImGuiID ImHashStr(const char* data_p, size_t data_size, ImGuiID seed) +{ + seed = ~seed; + ImU32 crc = seed; + const unsigned char* data = (const unsigned char*)data_p; +#ifndef IMGUI_ENABLE_SSE4_2_CRC + const ImU32* crc32_lut = GCrc32LookupTable; +#endif + if (data_size != 0) + { + while (data_size-- != 0) + { + unsigned char c = *data++; + if (c == '#' && data_size >= 2 && data[0] == '#' && data[1] == '#') + crc = seed; +#ifndef IMGUI_ENABLE_SSE4_2_CRC + crc = (crc >> 8) ^ crc32_lut[(crc & 0xFF) ^ c]; +#else + crc = _mm_crc32_u8(crc, c); +#endif + } + } + else + { + while (unsigned char c = *data++) + { + if (c == '#' && data[0] == '#' && data[1] == '#') + crc = seed; +#ifndef IMGUI_ENABLE_SSE4_2_CRC + crc = (crc >> 8) ^ crc32_lut[(crc & 0xFF) ^ c]; +#else + crc = _mm_crc32_u8(crc, c); +#endif + } + } + return ~crc; +} + +//----------------------------------------------------------------------------- +// [SECTION] MISC HELPERS/UTILITIES (File functions) +//----------------------------------------------------------------------------- + +// Default file functions +#ifndef IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS + +ImFileHandle ImFileOpen(const char* filename, const char* mode) +{ +#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) && (defined(__MINGW32__) || (!defined(__CYGWIN__) && !defined(__GNUC__))) + // We need a fopen() wrapper because MSVC/Windows fopen doesn't handle UTF-8 filenames. + // Previously we used ImTextCountCharsFromUtf8/ImTextStrFromUtf8 here but we now need to support ImWchar16 and ImWchar32! + const int filename_wsize = ::MultiByteToWideChar(CP_UTF8, 0, filename, -1, NULL, 0); + const int mode_wsize = ::MultiByteToWideChar(CP_UTF8, 0, mode, -1, NULL, 0); + + // Use stack buffer if possible, otherwise heap buffer. Sizes include zero terminator. + // We don't rely on current ImGuiContext as this is implied to be a helper function which doesn't depend on it (see #7314). + wchar_t local_temp_stack[FILENAME_MAX]; + ImVector local_temp_heap; + if (filename_wsize + mode_wsize > IM_ARRAYSIZE(local_temp_stack)) + local_temp_heap.resize(filename_wsize + mode_wsize); + wchar_t* filename_wbuf = local_temp_heap.Data ? local_temp_heap.Data : local_temp_stack; + wchar_t* mode_wbuf = filename_wbuf + filename_wsize; + ::MultiByteToWideChar(CP_UTF8, 0, filename, -1, filename_wbuf, filename_wsize); + ::MultiByteToWideChar(CP_UTF8, 0, mode, -1, mode_wbuf, mode_wsize); + return ::_wfopen(filename_wbuf, mode_wbuf); +#else + return fopen(filename, mode); +#endif +} + +// We should in theory be using fseeko()/ftello() with off_t and _fseeki64()/_ftelli64() with __int64, waiting for the PR that does that in a very portable pre-C++11 zero-warnings way. +bool ImFileClose(ImFileHandle f) { return fclose(f) == 0; } +ImU64 ImFileGetSize(ImFileHandle f) { long off = 0, sz = 0; return ((off = ftell(f)) != -1 && !fseek(f, 0, SEEK_END) && (sz = ftell(f)) != -1 && !fseek(f, off, SEEK_SET)) ? (ImU64)sz : (ImU64)-1; } +ImU64 ImFileRead(void* data, ImU64 sz, ImU64 count, ImFileHandle f) { return fread(data, (size_t)sz, (size_t)count, f); } +ImU64 ImFileWrite(const void* data, ImU64 sz, ImU64 count, ImFileHandle f) { return fwrite(data, (size_t)sz, (size_t)count, f); } +#endif // #ifndef IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS + +// Helper: Load file content into memory +// Memory allocated with IM_ALLOC(), must be freed by user using IM_FREE() == ImGui::MemFree() +// This can't really be used with "rt" because fseek size won't match read size. +void* ImFileLoadToMemory(const char* filename, const char* mode, size_t* out_file_size, int padding_bytes) +{ + IM_ASSERT(filename && mode); + if (out_file_size) + *out_file_size = 0; + + ImFileHandle f; + if ((f = ImFileOpen(filename, mode)) == NULL) + return NULL; + + size_t file_size = (size_t)ImFileGetSize(f); + if (file_size == (size_t)-1) + { + ImFileClose(f); + return NULL; + } + + void* file_data = IM_ALLOC(file_size + padding_bytes); + if (file_data == NULL) + { + ImFileClose(f); + return NULL; + } + if (ImFileRead(file_data, 1, file_size, f) != file_size) + { + ImFileClose(f); + IM_FREE(file_data); + return NULL; + } + if (padding_bytes > 0) + memset((void*)(((char*)file_data) + file_size), 0, (size_t)padding_bytes); + + ImFileClose(f); + if (out_file_size) + *out_file_size = file_size; + + return file_data; +} + +//----------------------------------------------------------------------------- +// [SECTION] MISC HELPERS/UTILITIES (ImText* functions) +//----------------------------------------------------------------------------- + +IM_MSVC_RUNTIME_CHECKS_OFF + +// Convert UTF-8 to 32-bit character, process single character input. +// A nearly-branchless UTF-8 decoder, based on work of Christopher Wellons (https://github.com/skeeto/branchless-utf8). +// We handle UTF-8 decoding error by skipping forward. +int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end) +{ + static const char lengths[32] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0 }; + static const int masks[] = { 0x00, 0x7f, 0x1f, 0x0f, 0x07 }; + static const uint32_t mins[] = { 0x400000, 0, 0x80, 0x800, 0x10000 }; + static const int shiftc[] = { 0, 18, 12, 6, 0 }; + static const int shifte[] = { 0, 6, 4, 2, 0 }; + int len = lengths[*(const unsigned char*)in_text >> 3]; + int wanted = len + (len ? 0 : 1); + + if (in_text_end == NULL) + in_text_end = in_text + wanted; // Max length, nulls will be taken into account. + + // Copy at most 'len' bytes, stop copying at 0 or past in_text_end. Branch predictor does a good job here, + // so it is fast even with excessive branching. + unsigned char s[4]; + s[0] = in_text + 0 < in_text_end ? in_text[0] : 0; + s[1] = in_text + 1 < in_text_end ? in_text[1] : 0; + s[2] = in_text + 2 < in_text_end ? in_text[2] : 0; + s[3] = in_text + 3 < in_text_end ? in_text[3] : 0; + + // Assume a four-byte character and load four bytes. Unused bits are shifted out. + *out_char = (uint32_t)(s[0] & masks[len]) << 18; + *out_char |= (uint32_t)(s[1] & 0x3f) << 12; + *out_char |= (uint32_t)(s[2] & 0x3f) << 6; + *out_char |= (uint32_t)(s[3] & 0x3f) << 0; + *out_char >>= shiftc[len]; + + // Accumulate the various error conditions. + int e = 0; + e = (*out_char < mins[len]) << 6; // non-canonical encoding + e |= ((*out_char >> 11) == 0x1b) << 7; // surrogate half? + e |= (*out_char > IM_UNICODE_CODEPOINT_MAX) << 8; // out of range we can store in ImWchar (FIXME: May evolve) + e |= (s[1] & 0xc0) >> 2; + e |= (s[2] & 0xc0) >> 4; + e |= (s[3] ) >> 6; + e ^= 0x2a; // top two bits of each tail byte correct? + e >>= shifte[len]; + + if (e) + { + // No bytes are consumed when *in_text == 0 || in_text == in_text_end. + // One byte is consumed in case of invalid first byte of in_text. + // All available bytes (at most `len` bytes) are consumed on incomplete/invalid second to last bytes. + // Invalid or incomplete input may consume less bytes than wanted, therefore every byte has to be inspected in s. + wanted = ImMin(wanted, !!s[0] + !!s[1] + !!s[2] + !!s[3]); + *out_char = IM_UNICODE_CODEPOINT_INVALID; + } + + return wanted; +} + +int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_text_remaining) +{ + ImWchar* buf_out = buf; + ImWchar* buf_end = buf + buf_size; + while (buf_out < buf_end - 1 && (!in_text_end || in_text < in_text_end) && *in_text) + { + unsigned int c; + in_text += ImTextCharFromUtf8(&c, in_text, in_text_end); + *buf_out++ = (ImWchar)c; + } + *buf_out = 0; + if (in_text_remaining) + *in_text_remaining = in_text; + return (int)(buf_out - buf); +} + +int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end) +{ + int char_count = 0; + while ((!in_text_end || in_text < in_text_end) && *in_text) + { + unsigned int c; + in_text += ImTextCharFromUtf8(&c, in_text, in_text_end); + char_count++; + } + return char_count; +} + +// Based on stb_to_utf8() from github.com/nothings/stb/ +static inline int ImTextCharToUtf8_inline(char* buf, int buf_size, unsigned int c) +{ + if (c < 0x80) + { + buf[0] = (char)c; + return 1; + } + if (c < 0x800) + { + if (buf_size < 2) return 0; + buf[0] = (char)(0xc0 + (c >> 6)); + buf[1] = (char)(0x80 + (c & 0x3f)); + return 2; + } + if (c < 0x10000) + { + if (buf_size < 3) return 0; + buf[0] = (char)(0xe0 + (c >> 12)); + buf[1] = (char)(0x80 + ((c >> 6) & 0x3f)); + buf[2] = (char)(0x80 + ((c ) & 0x3f)); + return 3; + } + if (c <= 0x10FFFF) + { + if (buf_size < 4) return 0; + buf[0] = (char)(0xf0 + (c >> 18)); + buf[1] = (char)(0x80 + ((c >> 12) & 0x3f)); + buf[2] = (char)(0x80 + ((c >> 6) & 0x3f)); + buf[3] = (char)(0x80 + ((c ) & 0x3f)); + return 4; + } + // Invalid code point, the max unicode is 0x10FFFF + return 0; +} + +const char* ImTextCharToUtf8(char out_buf[5], unsigned int c) +{ + int count = ImTextCharToUtf8_inline(out_buf, 5, c); + out_buf[count] = 0; + return out_buf; +} + +// Not optimal but we very rarely use this function. +int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end) +{ + unsigned int unused = 0; + return ImTextCharFromUtf8(&unused, in_text, in_text_end); +} + +static inline int ImTextCountUtf8BytesFromChar(unsigned int c) +{ + if (c < 0x80) return 1; + if (c < 0x800) return 2; + if (c < 0x10000) return 3; + if (c <= 0x10FFFF) return 4; + return 3; +} + +int ImTextStrToUtf8(char* out_buf, int out_buf_size, const ImWchar* in_text, const ImWchar* in_text_end) +{ + char* buf_p = out_buf; + const char* buf_end = out_buf + out_buf_size; + while (buf_p < buf_end - 1 && (!in_text_end || in_text < in_text_end) && *in_text) + { + unsigned int c = (unsigned int)(*in_text++); + if (c < 0x80) + *buf_p++ = (char)c; + else + buf_p += ImTextCharToUtf8_inline(buf_p, (int)(buf_end - buf_p - 1), c); + } + *buf_p = 0; + return (int)(buf_p - out_buf); +} + +int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end) +{ + int bytes_count = 0; + while ((!in_text_end || in_text < in_text_end) && *in_text) + { + unsigned int c = (unsigned int)(*in_text++); + if (c < 0x80) + bytes_count++; + else + bytes_count += ImTextCountUtf8BytesFromChar(c); + } + return bytes_count; +} + +const char* ImTextFindPreviousUtf8Codepoint(const char* in_text_start, const char* in_text_curr) +{ + while (in_text_curr > in_text_start) + { + in_text_curr--; + if ((*in_text_curr & 0xC0) != 0x80) + return in_text_curr; + } + return in_text_start; +} + +int ImTextCountLines(const char* in_text, const char* in_text_end) +{ + if (in_text_end == NULL) + in_text_end = in_text + strlen(in_text); // FIXME-OPT: Not optimal approach, discourage use for now. + int count = 0; + while (in_text < in_text_end) + { + const char* line_end = (const char*)memchr(in_text, '\n', in_text_end - in_text); + in_text = line_end ? line_end + 1 : in_text_end; + count++; + } + return count; +} + +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] MISC HELPERS/UTILITIES (Color functions) +// Note: The Convert functions are early design which are not consistent with other API. +//----------------------------------------------------------------------------- + +IMGUI_API ImU32 ImAlphaBlendColors(ImU32 col_a, ImU32 col_b) +{ + float t = ((col_b >> IM_COL32_A_SHIFT) & 0xFF) / 255.f; + int r = ImLerp((int)(col_a >> IM_COL32_R_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_R_SHIFT) & 0xFF, t); + int g = ImLerp((int)(col_a >> IM_COL32_G_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_G_SHIFT) & 0xFF, t); + int b = ImLerp((int)(col_a >> IM_COL32_B_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_B_SHIFT) & 0xFF, t); + return IM_COL32(r, g, b, 0xFF); +} + +ImVec4 ImGui::ColorConvertU32ToFloat4(ImU32 in) +{ + float s = 1.0f / 255.0f; + return ImVec4( + ((in >> IM_COL32_R_SHIFT) & 0xFF) * s, + ((in >> IM_COL32_G_SHIFT) & 0xFF) * s, + ((in >> IM_COL32_B_SHIFT) & 0xFF) * s, + ((in >> IM_COL32_A_SHIFT) & 0xFF) * s); +} + +ImU32 ImGui::ColorConvertFloat4ToU32(const ImVec4& in) +{ + ImU32 out; + out = ((ImU32)IM_F32_TO_INT8_SAT(in.x)) << IM_COL32_R_SHIFT; + out |= ((ImU32)IM_F32_TO_INT8_SAT(in.y)) << IM_COL32_G_SHIFT; + out |= ((ImU32)IM_F32_TO_INT8_SAT(in.z)) << IM_COL32_B_SHIFT; + out |= ((ImU32)IM_F32_TO_INT8_SAT(in.w)) << IM_COL32_A_SHIFT; + return out; +} + +// Convert rgb floats ([0-1],[0-1],[0-1]) to hsv floats ([0-1],[0-1],[0-1]), from Foley & van Dam p592 +// Optimized http://lolengine.net/blog/2013/01/13/fast-rgb-to-hsv +void ImGui::ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s, float& out_v) +{ + float K = 0.f; + if (g < b) + { + ImSwap(g, b); + K = -1.f; + } + if (r < g) + { + ImSwap(r, g); + K = -2.f / 6.f - K; + } + + const float chroma = r - (g < b ? g : b); + out_h = ImFabs(K + (g - b) / (6.f * chroma + 1e-20f)); + out_s = chroma / (r + 1e-20f); + out_v = r; +} + +// Convert hsv floats ([0-1],[0-1],[0-1]) to rgb floats ([0-1],[0-1],[0-1]), from Foley & van Dam p593 +// also http://en.wikipedia.org/wiki/HSL_and_HSV +void ImGui::ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g, float& out_b) +{ + if (s == 0.0f) + { + // gray + out_r = out_g = out_b = v; + return; + } + + h = ImFmod(h, 1.0f) / (60.0f / 360.0f); + int i = (int)h; + float f = h - (float)i; + float p = v * (1.0f - s); + float q = v * (1.0f - s * f); + float t = v * (1.0f - s * (1.0f - f)); + + switch (i) + { + case 0: out_r = v; out_g = t; out_b = p; break; + case 1: out_r = q; out_g = v; out_b = p; break; + case 2: out_r = p; out_g = v; out_b = t; break; + case 3: out_r = p; out_g = q; out_b = v; break; + case 4: out_r = t; out_g = p; out_b = v; break; + case 5: default: out_r = v; out_g = p; out_b = q; break; + } +} + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiStorage +// Helper: Key->value storage +//----------------------------------------------------------------------------- + +// std::lower_bound but without the bullshit +ImGuiStoragePair* ImLowerBound(ImGuiStoragePair* in_begin, ImGuiStoragePair* in_end, ImGuiID key) +{ + ImGuiStoragePair* in_p = in_begin; + for (size_t count = (size_t)(in_end - in_p); count > 0; ) + { + size_t count2 = count >> 1; + ImGuiStoragePair* mid = in_p + count2; + if (mid->key < key) + { + in_p = ++mid; + count -= count2 + 1; + } + else + { + count = count2; + } + } + return in_p; +} + +IM_MSVC_RUNTIME_CHECKS_OFF +static int IMGUI_CDECL PairComparerByID(const void* lhs, const void* rhs) +{ + // We can't just do a subtraction because qsort uses signed integers and subtracting our ID doesn't play well with that. + ImGuiID lhs_v = ((const ImGuiStoragePair*)lhs)->key; + ImGuiID rhs_v = ((const ImGuiStoragePair*)rhs)->key; + return (lhs_v > rhs_v ? +1 : lhs_v < rhs_v ? -1 : 0); +} + +// For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. +void ImGuiStorage::BuildSortByKey() +{ + ImQsort(Data.Data, (size_t)Data.Size, sizeof(ImGuiStoragePair), PairComparerByID); +} + +int ImGuiStorage::GetInt(ImGuiID key, int default_val) const +{ + ImGuiStoragePair* it = ImLowerBound(const_cast(Data.Data), const_cast(Data.Data + Data.Size), key); + if (it == Data.Data + Data.Size || it->key != key) + return default_val; + return it->val_i; +} + +bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const +{ + return GetInt(key, default_val ? 1 : 0) != 0; +} + +float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const +{ + ImGuiStoragePair* it = ImLowerBound(const_cast(Data.Data), const_cast(Data.Data + Data.Size), key); + if (it == Data.Data + Data.Size || it->key != key) + return default_val; + return it->val_f; +} + +void* ImGuiStorage::GetVoidPtr(ImGuiID key) const +{ + ImGuiStoragePair* it = ImLowerBound(const_cast(Data.Data), const_cast(Data.Data + Data.Size), key); + if (it == Data.Data + Data.Size || it->key != key) + return NULL; + return it->val_p; +} + +// References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. +int* ImGuiStorage::GetIntRef(ImGuiID key, int default_val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + it = Data.insert(it, ImGuiStoragePair(key, default_val)); + return &it->val_i; +} + +bool* ImGuiStorage::GetBoolRef(ImGuiID key, bool default_val) +{ + return (bool*)GetIntRef(key, default_val ? 1 : 0); +} + +float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + it = Data.insert(it, ImGuiStoragePair(key, default_val)); + return &it->val_f; +} + +void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + it = Data.insert(it, ImGuiStoragePair(key, default_val)); + return &it->val_p; +} + +// FIXME-OPT: Need a way to reuse the result of lower_bound when doing GetInt()/SetInt() - not too bad because it only happens on explicit interaction (maximum one a frame) +void ImGuiStorage::SetInt(ImGuiID key, int val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + Data.insert(it, ImGuiStoragePair(key, val)); + else + it->val_i = val; +} + +void ImGuiStorage::SetBool(ImGuiID key, bool val) +{ + SetInt(key, val ? 1 : 0); +} + +void ImGuiStorage::SetFloat(ImGuiID key, float val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + Data.insert(it, ImGuiStoragePair(key, val)); + else + it->val_f = val; +} + +void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) +{ + ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key); + if (it == Data.Data + Data.Size || it->key != key) + Data.insert(it, ImGuiStoragePair(key, val)); + else + it->val_p = val; +} + +void ImGuiStorage::SetAllInt(int v) +{ + for (int i = 0; i < Data.Size; i++) + Data[i].val_i = v; +} +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiTextFilter +//----------------------------------------------------------------------------- + +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) //-V1077 +{ + InputBuf[0] = 0; + CountGrep = 0; + if (default_filter) + { + ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf)); + Build(); + } +} + +bool ImGuiTextFilter::Draw(const char* label, float width) +{ + if (width != 0.0f) + ImGui::SetNextItemWidth(width); + bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf)); + if (value_changed) + Build(); + return value_changed; +} + +void ImGuiTextFilter::ImGuiTextRange::split(char separator, ImVector* out) const +{ + out->resize(0); + const char* wb = b; + const char* we = wb; + while (we < e) + { + if (*we == separator) + { + out->push_back(ImGuiTextRange(wb, we)); + wb = we + 1; + } + we++; + } + if (wb != we) + out->push_back(ImGuiTextRange(wb, we)); +} + +void ImGuiTextFilter::Build() +{ + Filters.resize(0); + ImGuiTextRange input_range(InputBuf, InputBuf + strlen(InputBuf)); + input_range.split(',', &Filters); + + CountGrep = 0; + for (ImGuiTextRange& f : Filters) + { + while (f.b < f.e && ImCharIsBlankA(f.b[0])) + f.b++; + while (f.e > f.b && ImCharIsBlankA(f.e[-1])) + f.e--; + if (f.empty()) + continue; + if (f.b[0] != '-') + CountGrep += 1; + } +} + +bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const +{ + if (Filters.Size == 0) + return true; + + if (text == NULL) + text = text_end = ""; + + for (const ImGuiTextRange& f : Filters) + { + if (f.b == f.e) + continue; + if (f.b[0] == '-') + { + // Subtract + if (ImStristr(text, text_end, f.b + 1, f.e) != NULL) + return false; + } + else + { + // Grep + if (ImStristr(text, text_end, f.b, f.e) != NULL) + return true; + } + } + + // Implicit * grep + if (CountGrep == 0) + return true; + + return false; +} + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex +//----------------------------------------------------------------------------- + +// On some platform vsnprintf() takes va_list by reference and modifies it. +// va_copy is the 'correct' way to copy a va_list but Visual Studio prior to 2013 doesn't have it. +#ifndef va_copy +#if defined(__GNUC__) || defined(__clang__) +#define va_copy(dest, src) __builtin_va_copy(dest, src) +#else +#define va_copy(dest, src) (dest = src) +#endif +#endif + +char ImGuiTextBuffer::EmptyString[1] = { 0 }; + +void ImGuiTextBuffer::append(const char* str, const char* str_end) +{ + int len = str_end ? (int)(str_end - str) : (int)strlen(str); + + // Add zero-terminator the first time + const int write_off = (Buf.Size != 0) ? Buf.Size : 1; + const int needed_sz = write_off + len; + if (write_off + len >= Buf.Capacity) + { + int new_capacity = Buf.Capacity * 2; + Buf.reserve(needed_sz > new_capacity ? needed_sz : new_capacity); + } + + Buf.resize(needed_sz); + memcpy(&Buf[write_off - 1], str, (size_t)len); + Buf[write_off - 1 + len] = 0; +} + +void ImGuiTextBuffer::appendf(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + appendfv(fmt, args); + va_end(args); +} + +// Helper: Text buffer for logging/accumulating text +void ImGuiTextBuffer::appendfv(const char* fmt, va_list args) +{ + va_list args_copy; + va_copy(args_copy, args); + + int len = ImFormatStringV(NULL, 0, fmt, args); // FIXME-OPT: could do a first pass write attempt, likely successful on first pass. + if (len <= 0) + { + va_end(args_copy); + return; + } + + // Add zero-terminator the first time + const int write_off = (Buf.Size != 0) ? Buf.Size : 1; + const int needed_sz = write_off + len; + if (write_off + len >= Buf.Capacity) + { + int new_capacity = Buf.Capacity * 2; + Buf.reserve(needed_sz > new_capacity ? needed_sz : new_capacity); + } + + Buf.resize(needed_sz); + ImFormatStringV(&Buf[write_off - 1], (size_t)len + 1, fmt, args_copy); + va_end(args_copy); +} + +void ImGuiTextIndex::append(const char* base, int old_size, int new_size) +{ + IM_ASSERT(old_size >= 0 && new_size >= old_size && new_size >= EndOffset); + if (old_size == new_size) + return; + if (EndOffset == 0 || base[EndOffset - 1] == '\n') + LineOffsets.push_back(EndOffset); + const char* base_end = base + new_size; + for (const char* p = base + old_size; (p = (const char*)memchr(p, '\n', base_end - p)) != 0; ) + if (++p < base_end) // Don't push a trailing offset on last \n + LineOffsets.push_back((int)(intptr_t)(p - base)); + EndOffset = ImMax(EndOffset, new_size); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiListClipper +//----------------------------------------------------------------------------- + +// FIXME-TABLE: This prevents us from using ImGuiListClipper _inside_ a table cell. +// The problem we have is that without a Begin/End scheme for rows using the clipper is ambiguous. +static bool GetSkipItemForListClipping() +{ + ImGuiContext& g = *GImGui; + return (g.CurrentTable ? g.CurrentTable->HostSkipItems : g.CurrentWindow->SkipItems); +} + +static void ImGuiListClipper_SortAndFuseRanges(ImVector& ranges, int offset = 0) +{ + if (ranges.Size - offset <= 1) + return; + + // Helper to order ranges and fuse them together if possible (bubble sort is fine as we are only sorting 2-3 entries) + for (int sort_end = ranges.Size - offset - 1; sort_end > 0; --sort_end) + for (int i = offset; i < sort_end + offset; ++i) + if (ranges[i].Min > ranges[i + 1].Min) + ImSwap(ranges[i], ranges[i + 1]); + + // Now fuse ranges together as much as possible. + for (int i = 1 + offset; i < ranges.Size; i++) + { + IM_ASSERT(!ranges[i].PosToIndexConvert && !ranges[i - 1].PosToIndexConvert); + if (ranges[i - 1].Max < ranges[i].Min) + continue; + ranges[i - 1].Min = ImMin(ranges[i - 1].Min, ranges[i].Min); + ranges[i - 1].Max = ImMax(ranges[i - 1].Max, ranges[i].Max); + ranges.erase(ranges.Data + i); + i--; + } +} + +static void ImGuiListClipper_SeekCursorAndSetupPrevLine(float pos_y, float line_height) +{ + // Set cursor position and a few other things so that SetScrollHereY() and Columns() can work when seeking cursor. + // FIXME: It is problematic that we have to do that here, because custom/equivalent end-user code would stumble on the same issue. + // The clipper should probably have a final step to display the last item in a regular manner, maybe with an opt-out flag for data sets which may have costly seek? + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + float off_y = pos_y - window->DC.CursorPos.y; + window->DC.CursorPos.y = pos_y; + window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, pos_y - g.Style.ItemSpacing.y); + window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage. + window->DC.PrevLineSize.y = (line_height - g.Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list. + if (ImGuiOldColumns* columns = window->DC.CurrentColumns) + columns->LineMinY = window->DC.CursorPos.y; // Setting this so that cell Y position are set properly + if (ImGuiTable* table = g.CurrentTable) + { + if (table->IsInsideRow) + ImGui::TableEndRow(table); + table->RowPosY2 = window->DC.CursorPos.y; + const int row_increase = (int)((off_y / line_height) + 0.5f); + //table->CurrentRow += row_increase; // Can't do without fixing TableEndRow() + table->RowBgColorCounter += row_increase; + } +} + +ImGuiListClipper::ImGuiListClipper() +{ + memset(this, 0, sizeof(*this)); +} + +ImGuiListClipper::~ImGuiListClipper() +{ + End(); +} + +void ImGuiListClipper::Begin(int items_count, float items_height) +{ + if (Ctx == NULL) + Ctx = ImGui::GetCurrentContext(); + + ImGuiContext& g = *Ctx; + ImGuiWindow* window = g.CurrentWindow; + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Begin(%d,%.2f) in '%s'\n", items_count, items_height, window->Name); + + if (ImGuiTable* table = g.CurrentTable) + if (table->IsInsideRow) + ImGui::TableEndRow(table); + + StartPosY = window->DC.CursorPos.y; + ItemsHeight = items_height; + ItemsCount = items_count; + DisplayStart = -1; + DisplayEnd = 0; + + // Acquire temporary buffer + if (++g.ClipperTempDataStacked > g.ClipperTempData.Size) + g.ClipperTempData.resize(g.ClipperTempDataStacked, ImGuiListClipperData()); + ImGuiListClipperData* data = &g.ClipperTempData[g.ClipperTempDataStacked - 1]; + data->Reset(this); + data->LossynessOffset = window->DC.CursorStartPosLossyness.y; + TempData = data; + StartSeekOffsetY = data->LossynessOffset; +} + +void ImGuiListClipper::End() +{ + if (ImGuiListClipperData* data = (ImGuiListClipperData*)TempData) + { + // In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user. + ImGuiContext& g = *Ctx; + IMGUI_DEBUG_LOG_CLIPPER("Clipper: End() in '%s'\n", g.CurrentWindow->Name); + if (ItemsCount >= 0 && ItemsCount < INT_MAX && DisplayStart >= 0) + SeekCursorForItem(ItemsCount); + + // Restore temporary buffer and fix back pointers which may be invalidated when nesting + IM_ASSERT(data->ListClipper == this); + data->StepNo = data->Ranges.Size; + if (--g.ClipperTempDataStacked > 0) + { + data = &g.ClipperTempData[g.ClipperTempDataStacked - 1]; + data->ListClipper->TempData = data; + } + TempData = NULL; + } + ItemsCount = -1; +} + +void ImGuiListClipper::IncludeItemsByIndex(int item_begin, int item_end) +{ + ImGuiListClipperData* data = (ImGuiListClipperData*)TempData; + IM_ASSERT(DisplayStart < 0); // Only allowed after Begin() and if there has not been a specified range yet. + IM_ASSERT(item_begin <= item_end); + if (item_begin < item_end) + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(item_begin, item_end)); +} + +// This is already called while stepping. +// The ONLY reason you may want to call this is if you passed INT_MAX to ImGuiListClipper::Begin() because you couldn't step item count beforehand. +void ImGuiListClipper::SeekCursorForItem(int item_n) +{ + // - Perform the add and multiply with double to allow seeking through larger ranges. + // - StartPosY starts from ItemsFrozen, by adding SeekOffsetY we generally cancel that out (SeekOffsetY == LossynessOffset - ItemsFrozen * ItemsHeight). + // - The reason we store SeekOffsetY instead of inferring it, is because we want to allow user to perform Seek after the last step, where ImGuiListClipperData is already done. + float pos_y = (float)((double)StartPosY + StartSeekOffsetY + (double)item_n * ItemsHeight); + ImGuiListClipper_SeekCursorAndSetupPrevLine(pos_y, ItemsHeight); +} + +static bool ImGuiListClipper_StepInternal(ImGuiListClipper* clipper) +{ + ImGuiContext& g = *clipper->Ctx; + ImGuiWindow* window = g.CurrentWindow; + ImGuiListClipperData* data = (ImGuiListClipperData*)clipper->TempData; + IM_ASSERT(data != NULL && "Called ImGuiListClipper::Step() too many times, or before ImGuiListClipper::Begin() ?"); + + ImGuiTable* table = g.CurrentTable; + if (table && table->IsInsideRow) + ImGui::TableEndRow(table); + + // No items + if (clipper->ItemsCount == 0 || GetSkipItemForListClipping()) + return false; + + // While we are in frozen row state, keep displaying items one by one, unclipped + // FIXME: Could be stored as a table-agnostic state. + if (data->StepNo == 0 && table != NULL && !table->IsUnfrozenRows) + { + clipper->DisplayStart = data->ItemsFrozen; + clipper->DisplayEnd = ImMin(data->ItemsFrozen + 1, clipper->ItemsCount); + if (clipper->DisplayStart < clipper->DisplayEnd) + data->ItemsFrozen++; + return true; + } + + // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element height) + bool calc_clipping = false; + if (data->StepNo == 0) + { + clipper->StartPosY = window->DC.CursorPos.y; + if (clipper->ItemsHeight <= 0.0f) + { + // Submit the first item (or range) so we can measure its height (generally the first range is 0..1) + data->Ranges.push_front(ImGuiListClipperRange::FromIndices(data->ItemsFrozen, data->ItemsFrozen + 1)); + clipper->DisplayStart = ImMax(data->Ranges[0].Min, data->ItemsFrozen); + clipper->DisplayEnd = ImMin(data->Ranges[0].Max, clipper->ItemsCount); + data->StepNo = 1; + return true; + } + calc_clipping = true; // If on the first step with known item height, calculate clipping. + } + + // Step 1: Let the clipper infer height from first range + if (clipper->ItemsHeight <= 0.0f) + { + IM_ASSERT(data->StepNo == 1); + if (table) + IM_ASSERT(table->RowPosY1 == clipper->StartPosY && table->RowPosY2 == window->DC.CursorPos.y); + + clipper->ItemsHeight = (window->DC.CursorPos.y - clipper->StartPosY) / (float)(clipper->DisplayEnd - clipper->DisplayStart); + bool affected_by_floating_point_precision = ImIsFloatAboveGuaranteedIntegerPrecision(clipper->StartPosY) || ImIsFloatAboveGuaranteedIntegerPrecision(window->DC.CursorPos.y); + if (affected_by_floating_point_precision) + clipper->ItemsHeight = window->DC.PrevLineSize.y + g.Style.ItemSpacing.y; // FIXME: Technically wouldn't allow multi-line entries. + if (clipper->ItemsHeight == 0.0f && clipper->ItemsCount == INT_MAX) // Accept that no item have been submitted if in indeterminate mode. + return false; + IM_ASSERT(clipper->ItemsHeight > 0.0f && "Unable to calculate item height! First item hasn't moved the cursor vertically!"); + calc_clipping = true; // If item height had to be calculated, calculate clipping afterwards. + } + + // Step 0 or 1: Calculate the actual ranges of visible elements. + const int already_submitted = clipper->DisplayEnd; + if (calc_clipping) + { + // Record seek offset, this is so ImGuiListClipper::Seek() can be called after ImGuiListClipperData is done + clipper->StartSeekOffsetY = (double)data->LossynessOffset - data->ItemsFrozen * (double)clipper->ItemsHeight; + + if (g.LogEnabled) + { + // If logging is active, do not perform any clipping + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(0, clipper->ItemsCount)); + } + else + { + // Add range selected to be included for navigation + const bool is_nav_request = (g.NavMoveScoringItems && g.NavWindow && g.NavWindow->RootWindowForNav == window->RootWindowForNav); + if (is_nav_request) + data->Ranges.push_back(ImGuiListClipperRange::FromPositions(g.NavScoringNoClipRect.Min.y, g.NavScoringNoClipRect.Max.y, 0, 0)); + if (is_nav_request && (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) && g.NavTabbingDir == -1) + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(clipper->ItemsCount - 1, clipper->ItemsCount)); + + // Add focused/active item + ImRect nav_rect_abs = ImGui::WindowRectRelToAbs(window, window->NavRectRel[0]); + if (g.NavId != 0 && window->NavLastIds[0] == g.NavId) + data->Ranges.push_back(ImGuiListClipperRange::FromPositions(nav_rect_abs.Min.y, nav_rect_abs.Max.y, 0, 0)); + + // Add visible range + float min_y = window->ClipRect.Min.y; + float max_y = window->ClipRect.Max.y; + + // Add box selection range + ImGuiBoxSelectState* bs = &g.BoxSelectState; + if (bs->IsActive && bs->Window == window) + { + // FIXME: Selectable() use of half-ItemSpacing isn't consistent in matter of layout, as ItemAdd(bb) stray above ItemSize()'s CursorPos. + // RangeSelect's BoxSelect relies on comparing overlap of previous and current rectangle and is sensitive to that. + // As a workaround we currently half ItemSpacing worth on each side. + min_y -= g.Style.ItemSpacing.y; + max_y += g.Style.ItemSpacing.y; + + // Box-select on 2D area requires different clipping. + if (bs->UnclipMode) + data->Ranges.push_back(ImGuiListClipperRange::FromPositions(bs->UnclipRect.Min.y, bs->UnclipRect.Max.y, 0, 0)); + } + + const int off_min = (is_nav_request && g.NavMoveClipDir == ImGuiDir_Up) ? -1 : 0; + const int off_max = (is_nav_request && g.NavMoveClipDir == ImGuiDir_Down) ? 1 : 0; + data->Ranges.push_back(ImGuiListClipperRange::FromPositions(min_y, max_y, off_min, off_max)); + } + + // Convert position ranges to item index ranges + // - Very important: when a starting position is after our maximum item, we set Min to (ItemsCount - 1). This allows us to handle most forms of wrapping. + // - Due to how Selectable extra padding they tend to be "unaligned" with exact unit in the item list, + // which with the flooring/ceiling tend to lead to 2 items instead of one being submitted. + for (ImGuiListClipperRange& range : data->Ranges) + if (range.PosToIndexConvert) + { + int m1 = (int)(((double)range.Min - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight); + int m2 = (int)((((double)range.Max - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight) + 0.999999f); + range.Min = ImClamp(already_submitted + m1 + range.PosToIndexOffsetMin, already_submitted, clipper->ItemsCount - 1); + range.Max = ImClamp(already_submitted + m2 + range.PosToIndexOffsetMax, range.Min + 1, clipper->ItemsCount); + range.PosToIndexConvert = false; + } + ImGuiListClipper_SortAndFuseRanges(data->Ranges, data->StepNo); + } + + // Step 0+ (if item height is given in advance) or 1+: Display the next range in line. + while (data->StepNo < data->Ranges.Size) + { + clipper->DisplayStart = ImMax(data->Ranges[data->StepNo].Min, already_submitted); + clipper->DisplayEnd = ImMin(data->Ranges[data->StepNo].Max, clipper->ItemsCount); + data->StepNo++; + if (clipper->DisplayStart >= clipper->DisplayEnd) + continue; + if (clipper->DisplayStart > already_submitted) + clipper->SeekCursorForItem(clipper->DisplayStart); + return true; + } + + // After the last step: Let the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), + // Advance the cursor to the end of the list and then returns 'false' to end the loop. + if (clipper->ItemsCount < INT_MAX) + clipper->SeekCursorForItem(clipper->ItemsCount); + + return false; +} + +bool ImGuiListClipper::Step() +{ + ImGuiContext& g = *Ctx; + bool need_items_height = (ItemsHeight <= 0.0f); + bool ret = ImGuiListClipper_StepInternal(this); + if (ret && (DisplayStart >= DisplayEnd)) + ret = false; + if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n"); + if (need_items_height && ItemsHeight > 0.0f) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight); + if (ret) + { + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd); + } + else + { + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n"); + End(); + } + return ret; +} + +//----------------------------------------------------------------------------- +// [SECTION] STYLING +//----------------------------------------------------------------------------- + +ImGuiStyle& ImGui::GetStyle() +{ + IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"); + return GImGui->Style; +} + +ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul) +{ + ImGuiStyle& style = GImGui->Style; + ImVec4 c = style.Colors[idx]; + c.w *= style.Alpha * alpha_mul; + return ColorConvertFloat4ToU32(c); +} + +ImU32 ImGui::GetColorU32(const ImVec4& col) +{ + ImGuiStyle& style = GImGui->Style; + ImVec4 c = col; + c.w *= style.Alpha; + return ColorConvertFloat4ToU32(c); +} + +const ImVec4& ImGui::GetStyleColorVec4(ImGuiCol idx) +{ + ImGuiStyle& style = GImGui->Style; + return style.Colors[idx]; +} + +ImU32 ImGui::GetColorU32(ImU32 col, float alpha_mul) +{ + ImGuiStyle& style = GImGui->Style; + alpha_mul *= style.Alpha; + if (alpha_mul >= 1.0f) + return col; + ImU32 a = (col & IM_COL32_A_MASK) >> IM_COL32_A_SHIFT; + a = (ImU32)(a * alpha_mul); // We don't need to clamp 0..255 because alpha is in 0..1 range. + return (col & ~IM_COL32_A_MASK) | (a << IM_COL32_A_SHIFT); +} + +// FIXME: This may incur a round-trip (if the end user got their data from a float4) but eventually we aim to store the in-flight colors as ImU32 +void ImGui::PushStyleColor(ImGuiCol idx, ImU32 col) +{ + ImGuiContext& g = *GImGui; + ImGuiColorMod backup; + backup.Col = idx; + backup.BackupValue = g.Style.Colors[idx]; + g.ColorStack.push_back(backup); + if (g.DebugFlashStyleColorIdx != idx) + g.Style.Colors[idx] = ColorConvertU32ToFloat4(col); +} + +void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col) +{ + ImGuiContext& g = *GImGui; + ImGuiColorMod backup; + backup.Col = idx; + backup.BackupValue = g.Style.Colors[idx]; + g.ColorStack.push_back(backup); + if (g.DebugFlashStyleColorIdx != idx) + g.Style.Colors[idx] = col; +} + +void ImGui::PopStyleColor(int count) +{ + ImGuiContext& g = *GImGui; + if (g.ColorStack.Size < count) + { + IM_ASSERT_USER_ERROR(0, "Calling PopStyleColor() too many times!"); + count = g.ColorStack.Size; + } + while (count > 0) + { + ImGuiColorMod& backup = g.ColorStack.back(); + g.Style.Colors[backup.Col] = backup.BackupValue; + g.ColorStack.pop_back(); + count--; + } +} + +static const ImGuiStyleVarInfo GStyleVarsInfo[] = +{ + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, Alpha) }, // ImGuiStyleVar_Alpha + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, DisabledAlpha) }, // ImGuiStyleVar_DisabledAlpha + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, WindowPadding) }, // ImGuiStyleVar_WindowPadding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, WindowRounding) }, // ImGuiStyleVar_WindowRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, WindowBorderSize) }, // ImGuiStyleVar_WindowBorderSize + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, WindowMinSize) }, // ImGuiStyleVar_WindowMinSize + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, WindowTitleAlign) }, // ImGuiStyleVar_WindowTitleAlign + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ChildRounding) }, // ImGuiStyleVar_ChildRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ChildBorderSize) }, // ImGuiStyleVar_ChildBorderSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, PopupRounding) }, // ImGuiStyleVar_PopupRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, PopupBorderSize) }, // ImGuiStyleVar_PopupBorderSize + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, FramePadding) }, // ImGuiStyleVar_FramePadding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, FrameRounding) }, // ImGuiStyleVar_FrameRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, FrameBorderSize) }, // ImGuiStyleVar_FrameBorderSize + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ItemSpacing) }, // ImGuiStyleVar_ItemSpacing + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ItemInnerSpacing) }, // ImGuiStyleVar_ItemInnerSpacing + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, IndentSpacing) }, // ImGuiStyleVar_IndentSpacing + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, CellPadding) }, // ImGuiStyleVar_CellPadding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ScrollbarSize) }, // ImGuiStyleVar_ScrollbarSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ScrollbarRounding) }, // ImGuiStyleVar_ScrollbarRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, GrabMinSize) }, // ImGuiStyleVar_GrabMinSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, GrabRounding) }, // ImGuiStyleVar_GrabRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ImageBorderSize) }, // ImGuiStyleVar_ImageBorderSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TabRounding) }, // ImGuiStyleVar_TabRounding + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TabBorderSize) }, // ImGuiStyleVar_TabBorderSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TabBarBorderSize) }, // ImGuiStyleVar_TabBarBorderSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TabBarOverlineSize) }, // ImGuiStyleVar_TabBarOverlineSize + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TableAngledHeadersAngle)}, // ImGuiStyleVar_TableAngledHeadersAngle + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, TableAngledHeadersTextAlign)},// ImGuiStyleVar_TableAngledHeadersTextAlign + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, ButtonTextAlign) }, // ImGuiStyleVar_ButtonTextAlign + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, SelectableTextAlign) }, // ImGuiStyleVar_SelectableTextAlign + { 1, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, SeparatorTextBorderSize)}, // ImGuiStyleVar_SeparatorTextBorderSize + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, SeparatorTextAlign) }, // ImGuiStyleVar_SeparatorTextAlign + { 2, ImGuiDataType_Float, (ImU32)offsetof(ImGuiStyle, SeparatorTextPadding) }, // ImGuiStyleVar_SeparatorTextPadding +}; + +const ImGuiStyleVarInfo* ImGui::GetStyleVarInfo(ImGuiStyleVar idx) +{ + IM_ASSERT(idx >= 0 && idx < ImGuiStyleVar_COUNT); + IM_STATIC_ASSERT(IM_ARRAYSIZE(GStyleVarsInfo) == ImGuiStyleVar_COUNT); + return &GStyleVarsInfo[idx]; +} + +void ImGui::PushStyleVar(ImGuiStyleVar idx, float val) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx); + if (var_info->DataType != ImGuiDataType_Float || var_info->Count != 1) + { + IM_ASSERT_USER_ERROR(0, "Calling PushStyleVar() variant with wrong type!"); + return; + } + float* pvar = (float*)var_info->GetVarPtr(&g.Style); + g.StyleVarStack.push_back(ImGuiStyleMod(idx, *pvar)); + *pvar = val; +} + +void ImGui::PushStyleVarX(ImGuiStyleVar idx, float val_x) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx); + if (var_info->DataType != ImGuiDataType_Float || var_info->Count != 2) + { + IM_ASSERT_USER_ERROR(0, "Calling PushStyleVar() variant with wrong type!"); + return; + } + ImVec2* pvar = (ImVec2*)var_info->GetVarPtr(&g.Style); + g.StyleVarStack.push_back(ImGuiStyleMod(idx, *pvar)); + pvar->x = val_x; +} + +void ImGui::PushStyleVarY(ImGuiStyleVar idx, float val_y) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx); + if (var_info->DataType != ImGuiDataType_Float || var_info->Count != 2) + { + IM_ASSERT_USER_ERROR(0, "Calling PushStyleVar() variant with wrong type!"); + return; + } + ImVec2* pvar = (ImVec2*)var_info->GetVarPtr(&g.Style); + g.StyleVarStack.push_back(ImGuiStyleMod(idx, *pvar)); + pvar->y = val_y; +} + +void ImGui::PushStyleVar(ImGuiStyleVar idx, const ImVec2& val) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx); + if (var_info->DataType != ImGuiDataType_Float || var_info->Count != 2) + { + IM_ASSERT_USER_ERROR(0, "Calling PushStyleVar() variant with wrong type!"); + return; + } + ImVec2* pvar = (ImVec2*)var_info->GetVarPtr(&g.Style); + g.StyleVarStack.push_back(ImGuiStyleMod(idx, *pvar)); + *pvar = val; +} + +void ImGui::PopStyleVar(int count) +{ + ImGuiContext& g = *GImGui; + if (g.StyleVarStack.Size < count) + { + IM_ASSERT_USER_ERROR(0, "Calling PopStyleVar() too many times!"); + count = g.StyleVarStack.Size; + } + while (count > 0) + { + // We avoid a generic memcpy(data, &backup.Backup.., GDataTypeSize[info->Type] * info->Count), the overhead in Debug is not worth it. + ImGuiStyleMod& backup = g.StyleVarStack.back(); + const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(backup.VarIdx); + void* data = var_info->GetVarPtr(&g.Style); + if (var_info->DataType == ImGuiDataType_Float && var_info->Count == 1) { ((float*)data)[0] = backup.BackupFloat[0]; } + else if (var_info->DataType == ImGuiDataType_Float && var_info->Count == 2) { ((float*)data)[0] = backup.BackupFloat[0]; ((float*)data)[1] = backup.BackupFloat[1]; } + g.StyleVarStack.pop_back(); + count--; + } +} + +const char* ImGui::GetStyleColorName(ImGuiCol idx) +{ + // Create switch-case from enum with regexp: ImGuiCol_{.*}, --> case ImGuiCol_\1: return "\1"; + switch (idx) + { + case ImGuiCol_Text: return "Text"; + case ImGuiCol_TextDisabled: return "TextDisabled"; + case ImGuiCol_WindowBg: return "WindowBg"; + case ImGuiCol_ChildBg: return "ChildBg"; + case ImGuiCol_PopupBg: return "PopupBg"; + case ImGuiCol_Border: return "Border"; + case ImGuiCol_BorderShadow: return "BorderShadow"; + case ImGuiCol_FrameBg: return "FrameBg"; + case ImGuiCol_FrameBgHovered: return "FrameBgHovered"; + case ImGuiCol_FrameBgActive: return "FrameBgActive"; + case ImGuiCol_TitleBg: return "TitleBg"; + case ImGuiCol_TitleBgActive: return "TitleBgActive"; + case ImGuiCol_TitleBgCollapsed: return "TitleBgCollapsed"; + case ImGuiCol_MenuBarBg: return "MenuBarBg"; + case ImGuiCol_ScrollbarBg: return "ScrollbarBg"; + case ImGuiCol_ScrollbarGrab: return "ScrollbarGrab"; + case ImGuiCol_ScrollbarGrabHovered: return "ScrollbarGrabHovered"; + case ImGuiCol_ScrollbarGrabActive: return "ScrollbarGrabActive"; + case ImGuiCol_CheckMark: return "CheckMark"; + case ImGuiCol_SliderGrab: return "SliderGrab"; + case ImGuiCol_SliderGrabActive: return "SliderGrabActive"; + case ImGuiCol_Button: return "Button"; + case ImGuiCol_ButtonHovered: return "ButtonHovered"; + case ImGuiCol_ButtonActive: return "ButtonActive"; + case ImGuiCol_Header: return "Header"; + case ImGuiCol_HeaderHovered: return "HeaderHovered"; + case ImGuiCol_HeaderActive: return "HeaderActive"; + case ImGuiCol_Separator: return "Separator"; + case ImGuiCol_SeparatorHovered: return "SeparatorHovered"; + case ImGuiCol_SeparatorActive: return "SeparatorActive"; + case ImGuiCol_ResizeGrip: return "ResizeGrip"; + case ImGuiCol_ResizeGripHovered: return "ResizeGripHovered"; + case ImGuiCol_ResizeGripActive: return "ResizeGripActive"; + case ImGuiCol_TabHovered: return "TabHovered"; + case ImGuiCol_Tab: return "Tab"; + case ImGuiCol_TabSelected: return "TabSelected"; + case ImGuiCol_TabSelectedOverline: return "TabSelectedOverline"; + case ImGuiCol_TabDimmed: return "TabDimmed"; + case ImGuiCol_TabDimmedSelected: return "TabDimmedSelected"; + case ImGuiCol_TabDimmedSelectedOverline: return "TabDimmedSelectedOverline"; + case ImGuiCol_PlotLines: return "PlotLines"; + case ImGuiCol_PlotLinesHovered: return "PlotLinesHovered"; + case ImGuiCol_PlotHistogram: return "PlotHistogram"; + case ImGuiCol_PlotHistogramHovered: return "PlotHistogramHovered"; + case ImGuiCol_TableHeaderBg: return "TableHeaderBg"; + case ImGuiCol_TableBorderStrong: return "TableBorderStrong"; + case ImGuiCol_TableBorderLight: return "TableBorderLight"; + case ImGuiCol_TableRowBg: return "TableRowBg"; + case ImGuiCol_TableRowBgAlt: return "TableRowBgAlt"; + case ImGuiCol_TextLink: return "TextLink"; + case ImGuiCol_TextSelectedBg: return "TextSelectedBg"; + case ImGuiCol_DragDropTarget: return "DragDropTarget"; + case ImGuiCol_NavCursor: return "NavCursor"; + case ImGuiCol_NavWindowingHighlight: return "NavWindowingHighlight"; + case ImGuiCol_NavWindowingDimBg: return "NavWindowingDimBg"; + case ImGuiCol_ModalWindowDimBg: return "ModalWindowDimBg"; + case ImGuiCol_WindowShadow: return "WindowShadow"; + } + IM_ASSERT(0); + return "Unknown"; +} + +//----------------------------------------------------------------------------- +// [SECTION] RENDER HELPERS +// Some of those (internal) functions are currently quite a legacy mess - their signature and behavior will change, +// we need a nicer separation between low-level functions and high-level functions relying on the ImGui context. +// Also see imgui_draw.cpp for some more which have been reworked to not rely on ImGui:: context. +//----------------------------------------------------------------------------- + +const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end) +{ + const char* text_display_end = text; + if (!text_end) + text_end = (const char*)-1; + + while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#')) + text_display_end++; + return text_display_end; +} + +// Internal ImGui functions to render text +// RenderText***() functions calls ImDrawList::AddText() calls ImBitmapFont::RenderText() +void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // Hide anything after a '##' string + const char* text_display_end; + if (hide_text_after_hash) + { + text_display_end = FindRenderedTextEnd(text, text_end); + } + else + { + if (!text_end) + text_end = text + strlen(text); // FIXME-OPT + text_display_end = text_end; + } + + if (text != text_display_end) + { + window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end); + if (g.LogEnabled) + LogRenderedText(&pos, text, text_display_end); + } +} + +void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + if (!text_end) + text_end = text + strlen(text); // FIXME-OPT + + if (text != text_end) + { + window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width); + if (g.LogEnabled) + LogRenderedText(&pos, text, text_end); + } +} + +// Default clip_rect uses (pos_min,pos_max) +// Handle clipping on CPU immediately (vs typically let the GPU clip the triangles that are overlapping the clipping rectangle edges) +// FIXME-OPT: Since we have or calculate text_size we could coarse clip whole block immediately, especally for text above draw_list->DrawList. +// Effectively as this is called from widget doing their own coarse clipping it's not very valuable presently. Next time function will take +// better advantage of the render function taking size into account for coarse clipping. +void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) +{ + // Perform CPU side clipping for single clipped element to avoid using scissor state + ImVec2 pos = pos_min; + const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_display_end, false, 0.0f); + + const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min; + const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; + bool need_clipping = (pos.x + text_size.x >= clip_max->x) || (pos.y + text_size.y >= clip_max->y); + if (clip_rect) // If we had no explicit clipping rectangle then pos==clip_min + need_clipping |= (pos.x < clip_min->x) || (pos.y < clip_min->y); + + // Align whole block. We should defer that to the better rendering function when we'll have support for individual line alignment. + if (align.x > 0.0f) pos.x = ImMax(pos.x, pos.x + (pos_max.x - pos.x - text_size.x) * align.x); + if (align.y > 0.0f) pos.y = ImMax(pos.y, pos.y + (pos_max.y - pos.y - text_size.y) * align.y); + + // Render + if (need_clipping) + { + ImVec4 fine_clip_rect(clip_min->x, clip_min->y, clip_max->x, clip_max->y); + draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fine_clip_rect); + } + else + { + draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL); + } +} + +void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) +{ + // Hide anything after a '##' string + const char* text_display_end = FindRenderedTextEnd(text, text_end); + const int text_len = (int)(text_display_end - text); + if (text_len == 0) + return; + + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect); + if (g.LogEnabled) + LogRenderedText(&pos_min, text, text_display_end); +} + +// Another overly complex function until we reorganize everything into a nice all-in-one helper. +// This is made more complex because we have dissociated the layout rectangle (pos_min..pos_max) which define _where_ the ellipsis is, from actual clipping of text and limit of the ellipsis display. +// This is because in the context of tabs we selectively hide part of the text when the Close Button appears, but we don't want the ellipsis to move. +void ImGui::RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end_full, const ImVec2* text_size_if_known) +{ + ImGuiContext& g = *GImGui; + if (text_end_full == NULL) + text_end_full = FindRenderedTextEnd(text); + const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_end_full, false, 0.0f); + + //draw_list->AddLine(ImVec2(pos_max.x, pos_min.y - 4), ImVec2(pos_max.x, pos_max.y + 4), IM_COL32(0, 0, 255, 255)); + //draw_list->AddLine(ImVec2(ellipsis_max_x, pos_min.y-2), ImVec2(ellipsis_max_x, pos_max.y+2), IM_COL32(0, 255, 0, 255)); + //draw_list->AddLine(ImVec2(clip_max_x, pos_min.y), ImVec2(clip_max_x, pos_max.y), IM_COL32(255, 0, 0, 255)); + // FIXME: We could technically remove (last_glyph->AdvanceX - last_glyph->X1) from text_size.x here and save a few pixels. + if (text_size.x > pos_max.x - pos_min.x) + { + // Hello wo... + // | | | + // min max ellipsis_max + // <-> this is generally some padding value + + ImFont* font = draw_list->_Data->Font; + const float font_size = draw_list->_Data->FontSize; + const float font_scale = draw_list->_Data->FontScale; + const char* text_end_ellipsis = NULL; + const float ellipsis_width = font->EllipsisWidth * font_scale; + + // We can now claim the space between pos_max.x and ellipsis_max.x + const float text_avail_width = ImMax((ImMax(pos_max.x, ellipsis_max_x) - ellipsis_width) - pos_min.x, 1.0f); + float text_size_clipped_x = font->CalcTextSizeA(font_size, text_avail_width, 0.0f, text, text_end_full, &text_end_ellipsis).x; + if (text == text_end_ellipsis && text_end_ellipsis < text_end_full) + { + // Always display at least 1 character if there's no room for character + ellipsis + text_end_ellipsis = text + ImTextCountUtf8BytesFromChar(text, text_end_full); + text_size_clipped_x = font->CalcTextSizeA(font_size, FLT_MAX, 0.0f, text, text_end_ellipsis).x; + } + while (text_end_ellipsis > text && ImCharIsBlankA(text_end_ellipsis[-1])) + { + // Trim trailing space before ellipsis (FIXME: Supporting non-ascii blanks would be nice, for this we need a function to backtrack in UTF-8 text) + text_end_ellipsis--; + text_size_clipped_x -= font->CalcTextSizeA(font_size, FLT_MAX, 0.0f, text_end_ellipsis, text_end_ellipsis + 1).x; // Ascii blanks are always 1 byte + } + + // Render text, render ellipsis + RenderTextClippedEx(draw_list, pos_min, ImVec2(clip_max_x, pos_max.y), text, text_end_ellipsis, &text_size, ImVec2(0.0f, 0.0f)); + ImVec2 ellipsis_pos = ImTrunc(ImVec2(pos_min.x + text_size_clipped_x, pos_min.y)); + if (ellipsis_pos.x + ellipsis_width <= ellipsis_max_x) + for (int i = 0; i < font->EllipsisCharCount; i++, ellipsis_pos.x += font->EllipsisCharStep * font_scale) + font->RenderChar(draw_list, font_size, ellipsis_pos, GetColorU32(ImGuiCol_Text), font->EllipsisChar); + } + else + { + RenderTextClippedEx(draw_list, pos_min, ImVec2(clip_max_x, pos_max.y), text, text_end_full, &text_size, ImVec2(0.0f, 0.0f)); + } + + if (g.LogEnabled) + LogRenderedText(&pos_min, text, text_end_full); +} + +// Render a rectangle shaped with optional rounding and borders +void ImGui::RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool borders, float rounding) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + window->DrawList->AddRectFilled(p_min, p_max, fill_col, rounding); + const float border_size = g.Style.FrameBorderSize; + if (borders && border_size > 0.0f) + { + window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); + window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); + } +} + +void ImGui::RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + const float border_size = g.Style.FrameBorderSize; + if (border_size > 0.0f) + { + window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); + window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); + } +} + +void ImGui::RenderNavCursor(const ImRect& bb, ImGuiID id, ImGuiNavRenderCursorFlags flags) +{ + ImGuiContext& g = *GImGui; + if (id != g.NavId) + return; + if (!g.NavCursorVisible && !(flags & ImGuiNavRenderCursorFlags_AlwaysDraw)) + return; + if (id == g.LastItemData.ID && (g.LastItemData.ItemFlags & ImGuiItemFlags_NoNav)) + return; + ImGuiWindow* window = g.CurrentWindow; + if (window->DC.NavHideHighlightOneFrame) + return; + + float rounding = (flags & ImGuiNavRenderCursorFlags_NoRounding) ? 0.0f : g.Style.FrameRounding; + ImRect display_rect = bb; + display_rect.ClipWith(window->ClipRect); + const float thickness = 2.0f; + if (flags & ImGuiNavRenderCursorFlags_Compact) + { + window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavCursor), rounding, 0, thickness); + } + else + { + const float distance = 3.0f + thickness * 0.5f; + display_rect.Expand(ImVec2(distance, distance)); + bool fully_visible = window->ClipRect.Contains(display_rect); + if (!fully_visible) + window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); + window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavCursor), rounding, 0, thickness); + if (!fully_visible) + window->DrawList->PopClipRect(); + } +} + +void ImGui::RenderMouseCursor(ImVec2 base_pos, float base_scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow) +{ + ImGuiContext& g = *GImGui; + if (mouse_cursor <= ImGuiMouseCursor_None || mouse_cursor >= ImGuiMouseCursor_COUNT) // We intentionally accept out of bound values. + mouse_cursor = ImGuiMouseCursor_Arrow; + ImFontAtlas* font_atlas = g.DrawListSharedData.Font->ContainerAtlas; + for (ImGuiViewportP* viewport : g.Viewports) + { + // We scale cursor with current viewport/monitor, however Windows 10 for its own hardware cursor seems to be using a different scale factor. + ImVec2 offset, size, uv[4]; + if (!ImFontAtlasGetMouseCursorTexData(font_atlas, mouse_cursor, &offset, &size, &uv[0], &uv[2])) + continue; + const ImVec2 pos = base_pos - offset; + const float scale = base_scale; + if (!viewport->GetMainRect().Overlaps(ImRect(pos, pos + ImVec2(size.x + 2, size.y + 2) * scale))) + continue; + ImDrawList* draw_list = GetForegroundDrawList(viewport); + ImTextureID tex_id = font_atlas->TexID; + draw_list->PushTextureID(tex_id); + draw_list->AddImage(tex_id, pos + ImVec2(1, 0) * scale, pos + (ImVec2(1, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos + ImVec2(2, 0) * scale, pos + (ImVec2(2, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[2], uv[3], col_border); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[0], uv[1], col_fill); + if (mouse_cursor == ImGuiMouseCursor_Wait || mouse_cursor == ImGuiMouseCursor_Progress) + { + float a_min = ImFmod((float)g.Time * 5.0f, 2.0f * IM_PI); + float a_max = a_min + IM_PI * 1.65f; + draw_list->PathArcTo(pos + ImVec2(14, -1) * scale, 6.0f * scale, a_min, a_max); + draw_list->PathStroke(col_fill, ImDrawFlags_None, 3.0f * scale); + } + draw_list->PopTextureID(); + } +} + +//----------------------------------------------------------------------------- +// [SECTION] INITIALIZATION, SHUTDOWN +//----------------------------------------------------------------------------- + +// Internal state access - if you want to share Dear ImGui state between modules (e.g. DLL) or allocate it yourself +// Note that we still point to some static data and members (such as GFontAtlas), so the state instance you end up using will point to the static data within its module +ImGuiContext* ImGui::GetCurrentContext() +{ + return GImGui; +} + +void ImGui::SetCurrentContext(ImGuiContext* ctx) +{ +#ifdef IMGUI_SET_CURRENT_CONTEXT_FUNC + IMGUI_SET_CURRENT_CONTEXT_FUNC(ctx); // For custom thread-based hackery you may want to have control over this. +#else + GImGui = ctx; +#endif +} + +void ImGui::SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data) +{ + GImAllocatorAllocFunc = alloc_func; + GImAllocatorFreeFunc = free_func; + GImAllocatorUserData = user_data; +} + +// This is provided to facilitate copying allocators from one static/DLL boundary to another (e.g. retrieve default allocator of your executable address space) +void ImGui::GetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func, ImGuiMemFreeFunc* p_free_func, void** p_user_data) +{ + *p_alloc_func = GImAllocatorAllocFunc; + *p_free_func = GImAllocatorFreeFunc; + *p_user_data = GImAllocatorUserData; +} + +ImGuiContext* ImGui::CreateContext(ImFontAtlas* shared_font_atlas) +{ + ImGuiContext* prev_ctx = GetCurrentContext(); + ImGuiContext* ctx = IM_NEW(ImGuiContext)(shared_font_atlas); + SetCurrentContext(ctx); + Initialize(); + if (prev_ctx != NULL) + SetCurrentContext(prev_ctx); // Restore previous context if any, else keep new one. + return ctx; +} + +void ImGui::DestroyContext(ImGuiContext* ctx) +{ + ImGuiContext* prev_ctx = GetCurrentContext(); + if (ctx == NULL) //-V1051 + ctx = prev_ctx; + SetCurrentContext(ctx); + Shutdown(); + SetCurrentContext((prev_ctx != ctx) ? prev_ctx : NULL); + IM_DELETE(ctx); +} + +// IMPORTANT: interactive elements requires a fixed ###xxx suffix, it must be same in ALL languages to allow for automation. +static const ImGuiLocEntry GLocalizationEntriesEnUS[] = +{ + { ImGuiLocKey_VersionStr, "Dear ImGui " IMGUI_VERSION " (" IM_STRINGIFY(IMGUI_VERSION_NUM) ")" }, + { ImGuiLocKey_TableSizeOne, "Size column to fit###SizeOne" }, + { ImGuiLocKey_TableSizeAllFit, "Size all columns to fit###SizeAll" }, + { ImGuiLocKey_TableSizeAllDefault, "Size all columns to default###SizeAll" }, + { ImGuiLocKey_TableResetOrder, "Reset order###ResetOrder" }, + { ImGuiLocKey_WindowingMainMenuBar, "(Main menu bar)" }, + { ImGuiLocKey_WindowingPopup, "(Popup)" }, + { ImGuiLocKey_WindowingUntitled, "(Untitled)" }, + { ImGuiLocKey_OpenLink_s, "Open '%s'" }, + { ImGuiLocKey_CopyLink, "Copy Link###CopyLink" }, +}; + +ImGuiContext::ImGuiContext(ImFontAtlas* shared_font_atlas) +{ + IO.Ctx = this; + InputTextState.Ctx = this; + + Initialized = false; + FontAtlasOwnedByContext = shared_font_atlas ? false : true; + Font = NULL; + FontSize = FontBaseSize = FontScale = CurrentDpiScale = 0.0f; + IO.Fonts = shared_font_atlas ? shared_font_atlas : IM_NEW(ImFontAtlas)(); + Time = 0.0f; + FrameCount = 0; + FrameCountEnded = FrameCountRendered = -1; + WithinEndChildID = 0; + WithinFrameScope = WithinFrameScopeWithImplicitWindow = false; + GcCompactAll = false; + TestEngineHookItems = false; + TestEngine = NULL; + memset(ContextName, 0, sizeof(ContextName)); + + InputEventsNextMouseSource = ImGuiMouseSource_Mouse; + InputEventsNextEventId = 1; + + WindowsActiveCount = 0; + WindowsBorderHoverPadding = 0.0f; + CurrentWindow = NULL; + HoveredWindow = NULL; + HoveredWindowUnderMovingWindow = NULL; + HoveredWindowBeforeClear = NULL; + MovingWindow = NULL; + WheelingWindow = NULL; + WheelingWindowStartFrame = WheelingWindowScrolledFrame = -1; + WheelingWindowReleaseTimer = 0.0f; + + DebugDrawIdConflicts = 0; + DebugHookIdInfo = 0; + HoveredId = HoveredIdPreviousFrame = 0; + HoveredIdPreviousFrameItemCount = 0; + HoveredIdAllowOverlap = false; + HoveredIdIsDisabled = false; + HoveredIdTimer = HoveredIdNotActiveTimer = 0.0f; + ItemUnclipByLog = false; + ActiveId = 0; + ActiveIdIsAlive = 0; + ActiveIdTimer = 0.0f; + ActiveIdIsJustActivated = false; + ActiveIdAllowOverlap = false; + ActiveIdNoClearOnFocusLoss = false; + ActiveIdHasBeenPressedBefore = false; + ActiveIdHasBeenEditedBefore = false; + ActiveIdHasBeenEditedThisFrame = false; + ActiveIdFromShortcut = false; + ActiveIdClickOffset = ImVec2(-1, -1); + ActiveIdWindow = NULL; + ActiveIdSource = ImGuiInputSource_None; + ActiveIdMouseButton = -1; + ActiveIdPreviousFrame = 0; + memset(&DeactivatedItemData, 0, sizeof(DeactivatedItemData)); + memset(&ActiveIdValueOnActivation, 0, sizeof(ActiveIdValueOnActivation)); + LastActiveId = 0; + LastActiveIdTimer = 0.0f; + + LastKeyboardKeyPressTime = LastKeyModsChangeTime = LastKeyModsChangeFromNoneTime = -1.0; + + ActiveIdUsingNavDirMask = 0x00; + ActiveIdUsingAllKeyboardKeys = false; + + CurrentFocusScopeId = 0; + CurrentItemFlags = ImGuiItemFlags_None; + DebugShowGroupRects = false; + + NavCursorVisible = false; + NavHighlightItemUnderNav = false; + NavMousePosDirty = false; + NavIdIsAlive = false; + NavId = 0; + NavWindow = NULL; + NavFocusScopeId = NavActivateId = NavActivateDownId = NavActivatePressedId = 0; + NavLayer = ImGuiNavLayer_Main; + NavNextActivateId = 0; + NavActivateFlags = NavNextActivateFlags = ImGuiActivateFlags_None; + NavHighlightActivatedId = 0; + NavHighlightActivatedTimer = 0.0f; + NavInputSource = ImGuiInputSource_Keyboard; + NavLastValidSelectionUserData = ImGuiSelectionUserData_Invalid; + NavCursorHideFrames = 0; + + NavAnyRequest = false; + NavInitRequest = false; + NavInitRequestFromMove = false; + NavMoveSubmitted = false; + NavMoveScoringItems = false; + NavMoveForwardToNextFrame = false; + NavMoveFlags = ImGuiNavMoveFlags_None; + NavMoveScrollFlags = ImGuiScrollFlags_None; + NavMoveKeyMods = ImGuiMod_None; + NavMoveDir = NavMoveDirForDebug = NavMoveClipDir = ImGuiDir_None; + NavScoringDebugCount = 0; + NavTabbingDir = 0; + NavTabbingCounter = 0; + + NavJustMovedFromFocusScopeId = NavJustMovedToId = NavJustMovedToFocusScopeId = 0; + NavJustMovedToKeyMods = ImGuiMod_None; + NavJustMovedToIsTabbing = false; + NavJustMovedToHasSelectionData = false; + + // All platforms use Ctrl+Tab but Ctrl<>Super are swapped on Mac... + // FIXME: Because this value is stored, it annoyingly interfere with toggling io.ConfigMacOSXBehaviors updating this.. + ConfigNavWindowingKeyNext = IO.ConfigMacOSXBehaviors ? (ImGuiMod_Super | ImGuiKey_Tab) : (ImGuiMod_Ctrl | ImGuiKey_Tab); + ConfigNavWindowingKeyPrev = IO.ConfigMacOSXBehaviors ? (ImGuiMod_Super | ImGuiMod_Shift | ImGuiKey_Tab) : (ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab); + NavWindowingTarget = NavWindowingTargetAnim = NavWindowingListWindow = NULL; + NavWindowingTimer = NavWindowingHighlightAlpha = 0.0f; + NavWindowingToggleLayer = false; + NavWindowingToggleKey = ImGuiKey_None; + + DimBgRatio = 0.0f; + + DragDropActive = DragDropWithinSource = DragDropWithinTarget = false; + DragDropSourceFlags = ImGuiDragDropFlags_None; + DragDropSourceFrameCount = -1; + DragDropMouseButton = -1; + DragDropTargetId = 0; + DragDropAcceptFlags = ImGuiDragDropFlags_None; + DragDropAcceptIdCurrRectSurface = 0.0f; + DragDropAcceptIdPrev = DragDropAcceptIdCurr = 0; + DragDropAcceptFrameCount = -1; + DragDropHoldJustPressedId = 0; + memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal)); + + ClipperTempDataStacked = 0; + + CurrentTable = NULL; + TablesTempDataStacked = 0; + CurrentTabBar = NULL; + CurrentMultiSelect = NULL; + MultiSelectTempDataStacked = 0; + + HoverItemDelayId = HoverItemDelayIdPreviousFrame = HoverItemUnlockedStationaryId = HoverWindowUnlockedStationaryId = 0; + HoverItemDelayTimer = HoverItemDelayClearTimer = 0.0f; + + MouseCursor = ImGuiMouseCursor_Arrow; + MouseStationaryTimer = 0.0f; + + TempInputId = 0; + memset(&DataTypeZeroValue, 0, sizeof(DataTypeZeroValue)); + BeginMenuDepth = BeginComboDepth = 0; + ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_; + ColorEditCurrentID = ColorEditSavedID = 0; + ColorEditSavedHue = ColorEditSavedSat = 0.0f; + ColorEditSavedColor = 0; + WindowResizeRelativeMode = false; + ScrollbarSeekMode = 0; + ScrollbarClickDeltaToGrabCenter = 0.0f; + SliderGrabClickOffset = 0.0f; + SliderCurrentAccum = 0.0f; + SliderCurrentAccumDirty = false; + DragCurrentAccumDirty = false; + DragCurrentAccum = 0.0f; + DragSpeedDefaultRatio = 1.0f / 100.0f; + DisabledAlphaBackup = 0.0f; + DisabledStackSize = 0; + TooltipOverrideCount = 0; + TooltipPreviousWindow = NULL; + + PlatformImeData.InputPos = ImVec2(0.0f, 0.0f); + PlatformImeDataPrev.InputPos = ImVec2(-1.0f, -1.0f); // Different to ensure initial submission + + SettingsLoaded = false; + SettingsDirtyTimer = 0.0f; + HookIdNext = 0; + + memset(LocalizationTable, 0, sizeof(LocalizationTable)); + + LogEnabled = false; + LogFlags = ImGuiLogFlags_None; + LogWindow = NULL; + LogNextPrefix = LogNextSuffix = NULL; + LogFile = NULL; + LogLinePosY = FLT_MAX; + LogLineFirstItem = false; + LogDepthRef = 0; + LogDepthToExpand = LogDepthToExpandDefault = 2; + + ErrorCallback = NULL; + ErrorCallbackUserData = NULL; + ErrorFirst = true; + ErrorCountCurrentFrame = 0; + StackSizesInBeginForCurrentWindow = NULL; + + DebugDrawIdConflictsCount = 0; + DebugLogFlags = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_OutputToTTY; + DebugLocateId = 0; + DebugLogSkippedErrors = 0; + DebugLogAutoDisableFlags = ImGuiDebugLogFlags_None; + DebugLogAutoDisableFrames = 0; + DebugLocateFrames = 0; + DebugBeginReturnValueCullDepth = -1; + DebugItemPickerActive = false; + DebugItemPickerMouseButton = ImGuiMouseButton_Left; + DebugItemPickerBreakId = 0; + DebugFlashStyleColorTime = 0.0f; + DebugFlashStyleColorIdx = ImGuiCol_COUNT; + + // Same as DebugBreakClearData(). Those fields are scattered in their respective subsystem to stay in hot-data locations + DebugBreakInWindow = 0; + DebugBreakInTable = 0; + DebugBreakInLocateId = false; + DebugBreakKeyChord = ImGuiKey_Pause; + DebugBreakInShortcutRouting = ImGuiKey_None; + + memset(FramerateSecPerFrame, 0, sizeof(FramerateSecPerFrame)); + FramerateSecPerFrameIdx = FramerateSecPerFrameCount = 0; + FramerateSecPerFrameAccum = 0.0f; + WantCaptureMouseNextFrame = WantCaptureKeyboardNextFrame = WantTextInputNextFrame = -1; + memset(TempKeychordName, 0, sizeof(TempKeychordName)); +} + +void ImGui::Initialize() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(!g.Initialized && !g.SettingsLoaded); + + // Add .ini handle for ImGuiWindow and ImGuiTable types + { + ImGuiSettingsHandler ini_handler; + ini_handler.TypeName = "Window"; + ini_handler.TypeHash = ImHashStr("Window"); + ini_handler.ClearAllFn = WindowSettingsHandler_ClearAll; + ini_handler.ReadOpenFn = WindowSettingsHandler_ReadOpen; + ini_handler.ReadLineFn = WindowSettingsHandler_ReadLine; + ini_handler.ApplyAllFn = WindowSettingsHandler_ApplyAll; + ini_handler.WriteAllFn = WindowSettingsHandler_WriteAll; + AddSettingsHandler(&ini_handler); + } + TableSettingsAddSettingsHandler(); + + // Setup default localization table + LocalizeRegisterEntries(GLocalizationEntriesEnUS, IM_ARRAYSIZE(GLocalizationEntriesEnUS)); + + // Setup default ImGuiPlatformIO clipboard/IME handlers. + g.PlatformIO.Platform_GetClipboardTextFn = Platform_GetClipboardTextFn_DefaultImpl; // Platform dependent default implementations + g.PlatformIO.Platform_SetClipboardTextFn = Platform_SetClipboardTextFn_DefaultImpl; + g.PlatformIO.Platform_OpenInShellFn = Platform_OpenInShellFn_DefaultImpl; + g.PlatformIO.Platform_SetImeDataFn = Platform_SetImeDataFn_DefaultImpl; + + // Create default viewport + ImGuiViewportP* viewport = IM_NEW(ImGuiViewportP)(); + viewport->ID = IMGUI_VIEWPORT_DEFAULT_ID; + g.Viewports.push_back(viewport); + g.TempBuffer.resize(1024 * 3 + 1, 0); + + // Build KeysMayBeCharInput[] lookup table (1 bool per named key) + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + if ((key >= ImGuiKey_0 && key <= ImGuiKey_9) || (key >= ImGuiKey_A && key <= ImGuiKey_Z) || (key >= ImGuiKey_Keypad0 && key <= ImGuiKey_Keypad9) + || key == ImGuiKey_Tab || key == ImGuiKey_Space || key == ImGuiKey_Apostrophe || key == ImGuiKey_Comma || key == ImGuiKey_Minus || key == ImGuiKey_Period + || key == ImGuiKey_Slash || key == ImGuiKey_Semicolon || key == ImGuiKey_Equal || key == ImGuiKey_LeftBracket || key == ImGuiKey_RightBracket || key == ImGuiKey_GraveAccent + || key == ImGuiKey_KeypadDecimal || key == ImGuiKey_KeypadDivide || key == ImGuiKey_KeypadMultiply || key == ImGuiKey_KeypadSubtract || key == ImGuiKey_KeypadAdd || key == ImGuiKey_KeypadEqual) + g.KeysMayBeCharInput.SetBit(key); + +#ifdef IMGUI_HAS_DOCK +#endif + + g.Initialized = true; +} + +// This function is merely here to free heap allocations. +void ImGui::Shutdown() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT_USER_ERROR(g.IO.BackendPlatformUserData == NULL, "Forgot to shutdown Platform backend?"); + IM_ASSERT_USER_ERROR(g.IO.BackendRendererUserData == NULL, "Forgot to shutdown Renderer backend?"); + + // The fonts atlas can be used prior to calling NewFrame(), so we clear it even if g.Initialized is FALSE (which would happen if we never called NewFrame) + if (g.IO.Fonts && g.FontAtlasOwnedByContext) + { + g.IO.Fonts->Locked = false; + IM_DELETE(g.IO.Fonts); + } + g.IO.Fonts = NULL; + g.DrawListSharedData.TempBuffer.clear(); + + // Cleanup of other data are conditional on actually having initialized Dear ImGui. + if (!g.Initialized) + return; + + // Save settings (unless we haven't attempted to load them: CreateContext/DestroyContext without a call to NewFrame shouldn't save an empty file) + if (g.SettingsLoaded && g.IO.IniFilename != NULL) + SaveIniSettingsToDisk(g.IO.IniFilename); + + CallContextHooks(&g, ImGuiContextHookType_Shutdown); + + // Clear everything else + g.Windows.clear_delete(); + g.WindowsFocusOrder.clear(); + g.WindowsTempSortBuffer.clear(); + g.CurrentWindow = NULL; + g.CurrentWindowStack.clear(); + g.WindowsById.Clear(); + g.NavWindow = NULL; + g.HoveredWindow = g.HoveredWindowUnderMovingWindow = NULL; + g.ActiveIdWindow = NULL; + g.MovingWindow = NULL; + + g.KeysRoutingTable.Clear(); + + g.ColorStack.clear(); + g.StyleVarStack.clear(); + g.FontStack.clear(); + g.OpenPopupStack.clear(); + g.BeginPopupStack.clear(); + g.TreeNodeStack.clear(); + + g.Viewports.clear_delete(); + + g.TabBars.Clear(); + g.CurrentTabBarStack.clear(); + g.ShrinkWidthBuffer.clear(); + + g.ClipperTempData.clear_destruct(); + + g.Tables.Clear(); + g.TablesTempData.clear_destruct(); + g.DrawChannelsTempMergeBuffer.clear(); + + g.MultiSelectStorage.Clear(); + g.MultiSelectTempData.clear_destruct(); + + g.ClipboardHandlerData.clear(); + g.MenusIdSubmittedThisFrame.clear(); + g.InputTextState.ClearFreeMemory(); + g.InputTextDeactivatedState.ClearFreeMemory(); + + g.SettingsWindows.clear(); + g.SettingsHandlers.clear(); + + if (g.LogFile) + { +#ifndef IMGUI_DISABLE_TTY_FUNCTIONS + if (g.LogFile != stdout) +#endif + ImFileClose(g.LogFile); + g.LogFile = NULL; + } + g.LogBuffer.clear(); + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); + + g.Initialized = false; +} + +// No specific ordering/dependency support, will see as needed +ImGuiID ImGui::AddContextHook(ImGuiContext* ctx, const ImGuiContextHook* hook) +{ + ImGuiContext& g = *ctx; + IM_ASSERT(hook->Callback != NULL && hook->HookId == 0 && hook->Type != ImGuiContextHookType_PendingRemoval_); + g.Hooks.push_back(*hook); + g.Hooks.back().HookId = ++g.HookIdNext; + return g.HookIdNext; +} + +// Deferred removal, avoiding issue with changing vector while iterating it +void ImGui::RemoveContextHook(ImGuiContext* ctx, ImGuiID hook_id) +{ + ImGuiContext& g = *ctx; + IM_ASSERT(hook_id != 0); + for (ImGuiContextHook& hook : g.Hooks) + if (hook.HookId == hook_id) + hook.Type = ImGuiContextHookType_PendingRemoval_; +} + +// Call context hooks (used by e.g. test engine) +// We assume a small number of hooks so all stored in same array +void ImGui::CallContextHooks(ImGuiContext* ctx, ImGuiContextHookType hook_type) +{ + ImGuiContext& g = *ctx; + for (ImGuiContextHook& hook : g.Hooks) + if (hook.Type == hook_type) + hook.Callback(&g, &hook); +} + +//----------------------------------------------------------------------------- +// [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) +//----------------------------------------------------------------------------- + +// ImGuiWindow is mostly a dumb struct. It merely has a constructor and a few helper methods +ImGuiWindow::ImGuiWindow(ImGuiContext* ctx, const char* name) : DrawListInst(NULL) +{ + memset(this, 0, sizeof(*this)); + Ctx = ctx; + Name = ImStrdup(name); + NameBufLen = (int)strlen(name) + 1; + ID = ImHashStr(name); + IDStack.push_back(ID); + MoveId = GetID("#MOVE"); + ScrollTarget = ImVec2(FLT_MAX, FLT_MAX); + ScrollTargetCenterRatio = ImVec2(0.5f, 0.5f); + AutoFitFramesX = AutoFitFramesY = -1; + AutoPosLastDirection = ImGuiDir_None; + SetWindowPosAllowFlags = SetWindowSizeAllowFlags = SetWindowCollapsedAllowFlags = 0; + SetWindowPosVal = SetWindowPosPivot = ImVec2(FLT_MAX, FLT_MAX); + LastFrameActive = -1; + LastTimeActive = -1.0f; + FontRefSize = 0.0f; + FontWindowScale = FontWindowScaleParents = 1.0f; + SettingsOffset = -1; + DrawList = &DrawListInst; + DrawList->_OwnerName = Name; + DrawList->_Data = &Ctx->DrawListSharedData; + NavPreferredScoringPosRel[0] = NavPreferredScoringPosRel[1] = ImVec2(FLT_MAX, FLT_MAX); +} + +ImGuiWindow::~ImGuiWindow() +{ + IM_ASSERT(DrawList == &DrawListInst); + IM_DELETE(Name); + ColumnsStorage.clear_destruct(); +} + +static void SetCurrentWindow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + g.CurrentWindow = window; + g.StackSizesInBeginForCurrentWindow = g.CurrentWindow ? &g.CurrentWindowStack.back().StackSizesInBegin : NULL; + g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL; + g.CurrentDpiScale = 1.0f; // FIXME-DPI: WIP this is modified in docking + if (window) + { + g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize(); + g.FontScale = g.DrawListSharedData.FontScale = g.FontSize / g.Font->FontSize; + ImGui::NavUpdateCurrentWindowIsScrollPushableX(); + } +} + +void ImGui::GcCompactTransientMiscBuffers() +{ + ImGuiContext& g = *GImGui; + g.ItemFlagsStack.clear(); + g.GroupStack.clear(); + g.MultiSelectTempDataStacked = 0; + g.MultiSelectTempData.clear_destruct(); + TableGcCompactSettings(); +} + +// Free up/compact internal window buffers, we can use this when a window becomes unused. +// Not freed: +// - ImGuiWindow, ImGuiWindowSettings, Name, StateStorage, ColumnsStorage (may hold useful data) +// This should have no noticeable visual effect. When the window reappear however, expect new allocation/buffer growth/copy cost. +void ImGui::GcCompactTransientWindowBuffers(ImGuiWindow* window) +{ + window->MemoryCompacted = true; + window->MemoryDrawListIdxCapacity = window->DrawList->IdxBuffer.Capacity; + window->MemoryDrawListVtxCapacity = window->DrawList->VtxBuffer.Capacity; + window->IDStack.clear(); + window->DrawList->_ClearFreeMemory(); + window->DC.ChildWindows.clear(); + window->DC.ItemWidthStack.clear(); + window->DC.TextWrapPosStack.clear(); +} + +void ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow* window) +{ + // We stored capacity of the ImDrawList buffer to reduce growth-caused allocation/copy when awakening. + // The other buffers tends to amortize much faster. + window->MemoryCompacted = false; + window->DrawList->IdxBuffer.reserve(window->MemoryDrawListIdxCapacity); + window->DrawList->VtxBuffer.reserve(window->MemoryDrawListVtxCapacity); + window->MemoryDrawListIdxCapacity = window->MemoryDrawListVtxCapacity = 0; +} + +void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + + // Clear previous active id + if (g.ActiveId != 0) + { + // While most behaved code would make an effort to not steal active id during window move/drag operations, + // we at least need to be resilient to it. Canceling the move is rather aggressive and users of 'master' branch + // may prefer the weird ill-defined half working situation ('docking' did assert), so may need to rework that. + if (g.MovingWindow != NULL && g.ActiveId == g.MovingWindow->MoveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() cancel MovingWindow\n"); + g.MovingWindow = NULL; + } + + // Store deactivate data + ImGuiDeactivatedItemData* deactivated_data = &g.DeactivatedItemData; + deactivated_data->ID = g.ActiveId; + deactivated_data->ElapseFrame = (g.LastItemData.ID == g.ActiveId) ? g.FrameCount : g.FrameCount + 1; // FIXME: OK to use LastItemData? + deactivated_data->HasBeenEditedBefore = g.ActiveIdHasBeenEditedBefore; + deactivated_data->IsAlive = (g.ActiveIdIsAlive == g.ActiveId); + + // This could be written in a more general way (e.g associate a hook to ActiveId), + // but since this is currently quite an exception we'll leave it as is. + // One common scenario leading to this is: pressing Key ->NavMoveRequestApplyResult() -> ClearActiveID() + if (g.InputTextState.ID == g.ActiveId) + InputTextDeactivateHook(g.ActiveId); + } + + // Set active id + g.ActiveIdIsJustActivated = (g.ActiveId != id); + if (g.ActiveIdIsJustActivated) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() old:0x%08X (window \"%s\") -> new:0x%08X (window \"%s\")\n", g.ActiveId, g.ActiveIdWindow ? g.ActiveIdWindow->Name : "", id, window ? window->Name : ""); + g.ActiveIdTimer = 0.0f; + g.ActiveIdHasBeenPressedBefore = false; + g.ActiveIdHasBeenEditedBefore = false; + g.ActiveIdMouseButton = -1; + if (id != 0) + { + g.LastActiveId = id; + g.LastActiveIdTimer = 0.0f; + } + } + g.ActiveId = id; + g.ActiveIdAllowOverlap = false; + g.ActiveIdNoClearOnFocusLoss = false; + g.ActiveIdWindow = window; + g.ActiveIdHasBeenEditedThisFrame = false; + g.ActiveIdFromShortcut = false; + if (id) + { + g.ActiveIdIsAlive = id; + g.ActiveIdSource = (g.NavActivateId == id || g.NavJustMovedToId == id) ? g.NavInputSource : ImGuiInputSource_Mouse; + IM_ASSERT(g.ActiveIdSource != ImGuiInputSource_None); + } + + // Clear declaration of inputs claimed by the widget + // (Please note that this is WIP and not all keys/inputs are thoroughly declared by all widgets yet) + g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; +} + +void ImGui::ClearActiveID() +{ + SetActiveID(0, NULL); // g.ActiveId = 0; +} + +void ImGui::SetHoveredID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + g.HoveredId = id; + g.HoveredIdAllowOverlap = false; + if (id != 0 && g.HoveredIdPreviousFrame != id) + g.HoveredIdTimer = g.HoveredIdNotActiveTimer = 0.0f; +} + +ImGuiID ImGui::GetHoveredID() +{ + ImGuiContext& g = *GImGui; + return g.HoveredId ? g.HoveredId : g.HoveredIdPreviousFrame; +} + +void ImGui::MarkItemEdited(ImGuiID id) +{ + // This marking is to be able to provide info for IsItemDeactivatedAfterEdit(). + // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need to fill the data. + ImGuiContext& g = *GImGui; + if (g.LastItemData.ItemFlags & ImGuiItemFlags_NoMarkEdited) + return; + if (g.ActiveId == id || g.ActiveId == 0) + { + // FIXME: Can't we fully rely on LastItemData yet? + g.ActiveIdHasBeenEditedThisFrame = true; + g.ActiveIdHasBeenEditedBefore = true; + if (g.DeactivatedItemData.ID == id) + g.DeactivatedItemData.HasBeenEditedBefore = true; + } + + // We accept a MarkItemEdited() on drag and drop targets (see https://github.com/ocornut/imgui/issues/1875#issuecomment-978243343) + // We accept 'ActiveIdPreviousFrame == id' for InputText() returning an edit after it has been taken ActiveId away (#4714) + IM_ASSERT(g.DragDropActive || g.ActiveId == id || g.ActiveId == 0 || g.ActiveIdPreviousFrame == id || (g.CurrentMultiSelect != NULL && g.BoxSelectState.IsActive)); + + //IM_ASSERT(g.CurrentWindow->DC.LastItemId == id); + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Edited; +} + +bool ImGui::IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFlags flags) +{ + // An active popup disable hovering on other windows (apart from its own children) + // FIXME-OPT: This could be cached/stored within the window. + ImGuiContext& g = *GImGui; + if (g.NavWindow) + if (ImGuiWindow* focused_root_window = g.NavWindow->RootWindow) + if (focused_root_window->WasActive && focused_root_window != window->RootWindow) + { + // For the purpose of those flags we differentiate "standard popup" from "modal popup" + // NB: The 'else' is important because Modal windows are also Popups. + bool want_inhibit = false; + if (focused_root_window->Flags & ImGuiWindowFlags_Modal) + want_inhibit = true; + else if ((focused_root_window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + want_inhibit = true; + + // Inhibit hover unless the window is within the stack of our modal/popup + if (want_inhibit) + if (!IsWindowWithinBeginStackOf(window->RootWindow, focused_root_window)) + return false; + } + return true; +} + +static inline float CalcDelayFromHoveredFlags(ImGuiHoveredFlags flags) +{ + ImGuiContext& g = *GImGui; + if (flags & ImGuiHoveredFlags_DelayNormal) + return g.Style.HoverDelayNormal; + if (flags & ImGuiHoveredFlags_DelayShort) + return g.Style.HoverDelayShort; + return 0.0f; +} + +static ImGuiHoveredFlags ApplyHoverFlagsForTooltip(ImGuiHoveredFlags user_flags, ImGuiHoveredFlags shared_flags) +{ + // Allow instance flags to override shared flags + if (user_flags & (ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal)) + shared_flags &= ~(ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal); + return user_flags | shared_flags; +} + +// This is roughly matching the behavior of internal-facing ItemHoverable() +// - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered() +// - this should work even for non-interactive items that have no ID, so we cannot use LastItemId +bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT_USER_ERROR((flags & ~ImGuiHoveredFlags_AllowedMaskForIsItemHovered) == 0, "Invalid flags for IsItemHovered()!"); + + if (g.NavHighlightItemUnderNav && g.NavCursorVisible && !(flags & ImGuiHoveredFlags_NoNavOverride)) + { + if (!IsItemFocused()) + return false; + if ((g.LastItemData.ItemFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisabled)) + return false; + + if (flags & ImGuiHoveredFlags_ForTooltip) + flags = ApplyHoverFlagsForTooltip(flags, g.Style.HoverFlagsForTooltipNav); + } + else + { + // Test for bounding box overlap, as updated as ItemAdd() + ImGuiItemStatusFlags status_flags = g.LastItemData.StatusFlags; + if (!(status_flags & ImGuiItemStatusFlags_HoveredRect)) + return false; + + if (flags & ImGuiHoveredFlags_ForTooltip) + flags = ApplyHoverFlagsForTooltip(flags, g.Style.HoverFlagsForTooltipMouse); + + // Done with rectangle culling so we can perform heavier checks now + // Test if we are hovering the right window (our window could be behind another window) + // [2021/03/02] Reworked / reverted the revert, finally. Note we want e.g. BeginGroup/ItemAdd/EndGroup to work as well. (#3851) + // [2017/10/16] Reverted commit 344d48be3 and testing RootWindow instead. I believe it is correct to NOT test for RootWindow but this leaves us unable + // to use IsItemHovered() after EndChild() itself. Until a solution is found I believe reverting to the test from 2017/09/27 is safe since this was + // the test that has been running for a long while. + if (g.HoveredWindow != window && (status_flags & ImGuiItemStatusFlags_HoveredWindow) == 0) + if ((flags & ImGuiHoveredFlags_AllowWhenOverlappedByWindow) == 0) + return false; + + // Test if another item is active (e.g. being dragged) + const ImGuiID id = g.LastItemData.ID; + if ((flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem) == 0) + if (g.ActiveId != 0 && g.ActiveId != id && !g.ActiveIdAllowOverlap) + if (g.ActiveId != window->MoveId) + return false; + + // Test if interactions on this window are blocked by an active popup or modal. + // The ImGuiHoveredFlags_AllowWhenBlockedByPopup flag will be tested here. + if (!IsWindowContentHoverable(window, flags) && !(g.LastItemData.ItemFlags & ImGuiItemFlags_NoWindowHoverableCheck)) + return false; + + // Test if the item is disabled + if ((g.LastItemData.ItemFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisabled)) + return false; + + // Special handling for calling after Begin() which represent the title bar or tab. + // When the window is skipped/collapsed (SkipItems==true) that last item (always ->MoveId submitted by Begin) + // will never be overwritten so we need to detect the case. + if (id == window->MoveId && window->WriteAccessed) + return false; + + // Test if using AllowOverlap and overlapped + if ((g.LastItemData.ItemFlags & ImGuiItemFlags_AllowOverlap) && id != 0) + if ((flags & ImGuiHoveredFlags_AllowWhenOverlappedByItem) == 0) + if (g.HoveredIdPreviousFrame != g.LastItemData.ID) + return false; + } + + // Handle hover delay + // (some ideas: https://www.nngroup.com/articles/timing-exposing-content) + const float delay = CalcDelayFromHoveredFlags(flags); + if (delay > 0.0f || (flags & ImGuiHoveredFlags_Stationary)) + { + ImGuiID hover_delay_id = (g.LastItemData.ID != 0) ? g.LastItemData.ID : window->GetIDFromPos(g.LastItemData.Rect.Min); + if ((flags & ImGuiHoveredFlags_NoSharedDelay) && (g.HoverItemDelayIdPreviousFrame != hover_delay_id)) + g.HoverItemDelayTimer = 0.0f; + g.HoverItemDelayId = hover_delay_id; + + // When changing hovered item we requires a bit of stationary delay before activating hover timer, + // but once unlocked on a given item we also moving. + //if (g.HoverDelayTimer >= delay && (g.HoverDelayTimer - g.IO.DeltaTime < delay || g.MouseStationaryTimer - g.IO.DeltaTime < g.Style.HoverStationaryDelay)) { IMGUI_DEBUG_LOG("HoverDelayTimer = %f/%f, MouseStationaryTimer = %f\n", g.HoverDelayTimer, delay, g.MouseStationaryTimer); } + if ((flags & ImGuiHoveredFlags_Stationary) != 0 && g.HoverItemUnlockedStationaryId != hover_delay_id) + return false; + + if (g.HoverItemDelayTimer < delay) + return false; + } + + return true; +} + +// Internal facing ItemHoverable() used when submitting widgets. Differs slightly from IsItemHovered(). +// (this does not rely on LastItemData it can be called from a ButtonBehavior() call not following an ItemAdd() call) +// FIXME-LEGACY: the 'ImGuiItemFlags item_flags' parameter was added on 2023-06-28. +// If you used this in your legacy/custom widgets code: +// - Commonly: if your ItemHoverable() call comes after an ItemAdd() call: pass 'item_flags = g.LastItemData.ItemFlags'. +// - Rare: otherwise you may pass 'item_flags = 0' (ImGuiItemFlags_None) unless you want to benefit from special behavior handled by ItemHoverable. +bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id, ImGuiItemFlags item_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // Detect ID conflicts +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (id != 0 && g.HoveredIdPreviousFrame == id && (item_flags & ImGuiItemFlags_AllowDuplicateId) == 0) + { + g.HoveredIdPreviousFrameItemCount++; + if (g.DebugDrawIdConflicts == id) + window->DrawList->AddRect(bb.Min - ImVec2(1,1), bb.Max + ImVec2(1,1), IM_COL32(255, 0, 0, 255), 0.0f, ImDrawFlags_None, 2.0f); + } +#endif + + if (g.HoveredWindow != window) + return false; + if (!IsMouseHoveringRect(bb.Min, bb.Max)) + return false; + + if (g.HoveredId != 0 && g.HoveredId != id && !g.HoveredIdAllowOverlap) + return false; + if (g.ActiveId != 0 && g.ActiveId != id && !g.ActiveIdAllowOverlap) + if (!g.ActiveIdFromShortcut) + return false; + + // Done with rectangle culling so we can perform heavier checks now. + if (!(item_flags & ImGuiItemFlags_NoWindowHoverableCheck) && !IsWindowContentHoverable(window, ImGuiHoveredFlags_None)) + { + g.HoveredIdIsDisabled = true; + return false; + } + + // We exceptionally allow this function to be called with id==0 to allow using it for easy high-level + // hover test in widgets code. We could also decide to split this function is two. + if (id != 0) + { + // Drag source doesn't report as hovered + if (g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoDisableHover)) + return false; + + SetHoveredID(id); + + // AllowOverlap mode (rarely used) requires previous frame HoveredId to be null or to match. + // This allows using patterns where a later submitted widget overlaps a previous one. Generally perceived as a front-to-back hit-test. + if (item_flags & ImGuiItemFlags_AllowOverlap) + { + g.HoveredIdAllowOverlap = true; + if (g.HoveredIdPreviousFrame != id) + return false; + } + + // Display shortcut (only works with mouse) + // (ImGuiItemStatusFlags_HasShortcut in LastItemData denotes we want a tooltip) + if (id == g.LastItemData.ID && (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasShortcut) && g.ActiveId != id) + if (IsItemHovered(ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_DelayNormal)) + SetTooltip("%s", GetKeyChordName(g.LastItemData.Shortcut)); + } + + // When disabled we'll return false but still set HoveredId + if (item_flags & ImGuiItemFlags_Disabled) + { + // Release active id if turning disabled + if (g.ActiveId == id && id != 0) + ClearActiveID(); + g.HoveredIdIsDisabled = true; + return false; + } + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (id != 0) + { + // [DEBUG] Item Picker tool! + // We perform the check here because reaching is path is rare (1~ time a frame), + // making the cost of this tool near-zero! We could get better call-stack and support picking non-hovered + // items if we performed the test in ItemAdd(), but that would incur a bigger runtime cost. + if (g.DebugItemPickerActive && g.HoveredIdPreviousFrame == id) + GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(255, 255, 0, 255)); + if (g.DebugItemPickerBreakId == id) + IM_DEBUG_BREAK(); + } +#endif + + if (g.NavHighlightItemUnderNav && (item_flags & ImGuiItemFlags_NoNavDisableMouseHover) == 0) + return false; + + return true; +} + +// FIXME: This is inlined/duplicated in ItemAdd() +// FIXME: The id != 0 path is not used by our codebase, may get rid of it? +bool ImGui::IsClippedEx(const ImRect& bb, ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (!bb.Overlaps(window->ClipRect)) + if (id == 0 || (id != g.ActiveId && id != g.ActiveIdPreviousFrame && id != g.NavId && id != g.NavActivateId)) + if (!g.ItemUnclipByLog) + return true; + return false; +} + +// This is also inlined in ItemAdd() +// Note: if ImGuiItemStatusFlags_HasDisplayRect is set, user needs to set g.LastItemData.DisplayRect. +void ImGui::SetLastItemData(ImGuiID item_id, ImGuiItemFlags item_flags, ImGuiItemStatusFlags status_flags, const ImRect& item_rect) +{ + ImGuiContext& g = *GImGui; + g.LastItemData.ID = item_id; + g.LastItemData.ItemFlags = item_flags; + g.LastItemData.StatusFlags = status_flags; + g.LastItemData.Rect = g.LastItemData.NavRect = item_rect; +} + +static void ImGui::SetLastItemDataForWindow(ImGuiWindow* window, const ImRect& rect) +{ + ImGuiContext& g = *GImGui; + SetLastItemData(window->MoveId, g.CurrentItemFlags, window->DC.WindowItemStatusFlags, rect); +} + +static void ImGui::SetLastItemDataForChildWindowItem(ImGuiWindow* window, const ImRect& rect) +{ + ImGuiContext& g = *GImGui; + SetLastItemData(window->ChildId, g.CurrentItemFlags, window->DC.ChildItemStatusFlags, rect); +} + +float ImGui::CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x) +{ + if (wrap_pos_x < 0.0f) + return 0.0f; + + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (wrap_pos_x == 0.0f) + { + // We could decide to setup a default wrapping max point for auto-resizing windows, + // or have auto-wrap (with unspecified wrapping pos) behave as a ContentSize extending function? + //if (window->Hidden && (window->Flags & ImGuiWindowFlags_AlwaysAutoResize)) + // wrap_pos_x = ImMax(window->WorkRect.Min.x + g.FontSize * 10.0f, window->WorkRect.Max.x); + //else + wrap_pos_x = window->WorkRect.Max.x; + } + else if (wrap_pos_x > 0.0f) + { + wrap_pos_x += window->Pos.x - window->Scroll.x; // wrap_pos_x is provided is window local space + } + + return ImMax(wrap_pos_x - pos.x, 1.0f); +} + +// IM_ALLOC() == ImGui::MemAlloc() +void* ImGui::MemAlloc(size_t size) +{ + void* ptr = (*GImAllocatorAllocFunc)(size, GImAllocatorUserData); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (ImGuiContext* ctx = GImGui) + DebugAllocHook(&ctx->DebugAllocInfo, ctx->FrameCount, ptr, size); +#endif + return ptr; +} + +// IM_FREE() == ImGui::MemFree() +void ImGui::MemFree(void* ptr) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (ptr != NULL) + if (ImGuiContext* ctx = GImGui) + DebugAllocHook(&ctx->DebugAllocInfo, ctx->FrameCount, ptr, (size_t)-1); +#endif + return (*GImAllocatorFreeFunc)(ptr, GImAllocatorUserData); +} + +// We record the number of allocation in recent frames, as a way to audit/sanitize our guiding principles of "no allocations on idle/repeating frames" +void ImGui::DebugAllocHook(ImGuiDebugAllocInfo* info, int frame_count, void* ptr, size_t size) +{ + ImGuiDebugAllocEntry* entry = &info->LastEntriesBuf[info->LastEntriesIdx]; + IM_UNUSED(ptr); + if (entry->FrameCount != frame_count) + { + info->LastEntriesIdx = (info->LastEntriesIdx + 1) % IM_ARRAYSIZE(info->LastEntriesBuf); + entry = &info->LastEntriesBuf[info->LastEntriesIdx]; + entry->FrameCount = frame_count; + entry->AllocCount = entry->FreeCount = 0; + } + if (size != (size_t)-1) + { + //printf("[%05d] MemAlloc(%d) -> 0x%p\n", frame_count, (int)size, ptr); + entry->AllocCount++; + info->TotalAllocCount++; + } + else + { + //printf("[%05d] MemFree(0x%p)\n", frame_count, ptr); + entry->FreeCount++; + info->TotalFreeCount++; + } +} + +const char* ImGui::GetClipboardText() +{ + ImGuiContext& g = *GImGui; + return g.PlatformIO.Platform_GetClipboardTextFn ? g.PlatformIO.Platform_GetClipboardTextFn(&g) : ""; +} + +void ImGui::SetClipboardText(const char* text) +{ + ImGuiContext& g = *GImGui; + if (g.PlatformIO.Platform_SetClipboardTextFn != NULL) + g.PlatformIO.Platform_SetClipboardTextFn(&g, text); +} + +const char* ImGui::GetVersion() +{ + return IMGUI_VERSION; +} + +ImGuiIO& ImGui::GetIO() +{ + IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"); + return GImGui->IO; +} + +// This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856) +ImGuiIO& ImGui::GetIO(ImGuiContext* ctx) +{ + IM_ASSERT(ctx != NULL); + return ctx->IO; +} + +ImGuiPlatformIO& ImGui::GetPlatformIO() +{ + IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext()?"); + return GImGui->PlatformIO; +} + +// This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856) +ImGuiPlatformIO& ImGui::GetPlatformIO(ImGuiContext* ctx) +{ + IM_ASSERT(ctx != NULL); + return ctx->PlatformIO; +} + +// Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame() +ImDrawData* ImGui::GetDrawData() +{ + ImGuiContext& g = *GImGui; + ImGuiViewportP* viewport = g.Viewports[0]; + return viewport->DrawDataP.Valid ? &viewport->DrawDataP : NULL; +} + +double ImGui::GetTime() +{ + return GImGui->Time; +} + +int ImGui::GetFrameCount() +{ + return GImGui->FrameCount; +} + +static ImDrawList* GetViewportBgFgDrawList(ImGuiViewportP* viewport, size_t drawlist_no, const char* drawlist_name) +{ + // Create the draw list on demand, because they are not frequently used for all viewports + ImGuiContext& g = *GImGui; + IM_ASSERT(drawlist_no < IM_ARRAYSIZE(viewport->BgFgDrawLists)); + ImDrawList* draw_list = viewport->BgFgDrawLists[drawlist_no]; + if (draw_list == NULL) + { + draw_list = IM_NEW(ImDrawList)(&g.DrawListSharedData); + draw_list->_OwnerName = drawlist_name; + viewport->BgFgDrawLists[drawlist_no] = draw_list; + } + + // Our ImDrawList system requires that there is always a command + if (viewport->BgFgDrawListsLastFrame[drawlist_no] != g.FrameCount) + { + draw_list->_ResetForNewFrame(); + draw_list->PushTextureID(g.IO.Fonts->TexID); + draw_list->PushClipRect(viewport->Pos, viewport->Pos + viewport->Size, false); + viewport->BgFgDrawListsLastFrame[drawlist_no] = g.FrameCount; + } + return draw_list; +} + +ImDrawList* ImGui::GetBackgroundDrawList(ImGuiViewport* viewport) +{ + return GetViewportBgFgDrawList((ImGuiViewportP*)viewport, 0, "##Background"); +} + +ImDrawList* ImGui::GetBackgroundDrawList() +{ + ImGuiContext& g = *GImGui; + return GetBackgroundDrawList(g.Viewports[0]); +} + +ImDrawList* ImGui::GetForegroundDrawList(ImGuiViewport* viewport) +{ + return GetViewportBgFgDrawList((ImGuiViewportP*)viewport, 1, "##Foreground"); +} + +ImDrawList* ImGui::GetForegroundDrawList() +{ + ImGuiContext& g = *GImGui; + return GetForegroundDrawList(g.Viewports[0]); +} + +ImDrawListSharedData* ImGui::GetDrawListSharedData() +{ + return &GImGui->DrawListSharedData; +} + +void ImGui::StartMouseMovingWindow(ImGuiWindow* window) +{ + // Set ActiveId even if the _NoMove flag is set. Without it, dragging away from a window with _NoMove would activate hover on other windows. + // We _also_ call this when clicking in a window empty space when io.ConfigWindowsMoveFromTitleBarOnly is set, but clear g.MovingWindow afterward. + // This is because we want ActiveId to be set even when the window is not permitted to move. + ImGuiContext& g = *GImGui; + FocusWindow(window); + SetActiveID(window->MoveId, window); + if (g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = false; + g.ActiveIdClickOffset = g.IO.MouseClickedPos[0] - window->RootWindow->Pos; + g.ActiveIdNoClearOnFocusLoss = true; + SetActiveIdUsingAllKeyboardKeys(); + + bool can_move_window = true; + if ((window->Flags & ImGuiWindowFlags_NoMove) || (window->RootWindow->Flags & ImGuiWindowFlags_NoMove)) + can_move_window = false; + if (can_move_window) + g.MovingWindow = window; +} + +// Handle mouse moving window +// Note: moving window with the navigation keys (Square + d-pad / CTRL+TAB + Arrows) are processed in NavUpdateWindowing() +// FIXME: We don't have strong guarantee that g.MovingWindow stay synched with g.ActiveId == g.MovingWindow->MoveId. +// This is currently enforced by the fact that BeginDragDropSource() is setting all g.ActiveIdUsingXXXX flags to inhibit navigation inputs, +// but if we should more thoroughly test cases where g.ActiveId or g.MovingWindow gets changed and not the other. +void ImGui::UpdateMouseMovingWindowNewFrame() +{ + ImGuiContext& g = *GImGui; + if (g.MovingWindow != NULL) + { + // We actually want to move the root window. g.MovingWindow == window we clicked on (could be a child window). + // We track it to preserve Focus and so that generally ActiveIdWindow == MovingWindow and ActiveId == MovingWindow->MoveId for consistency. + KeepAliveID(g.ActiveId); + IM_ASSERT(g.MovingWindow && g.MovingWindow->RootWindow); + ImGuiWindow* moving_window = g.MovingWindow->RootWindow; + if (g.IO.MouseDown[0] && IsMousePosValid(&g.IO.MousePos)) + { + ImVec2 pos = g.IO.MousePos - g.ActiveIdClickOffset; + SetWindowPos(moving_window, pos, ImGuiCond_Always); + FocusWindow(g.MovingWindow); + } + else + { + g.MovingWindow = NULL; + ClearActiveID(); + } + } + else + { + // When clicking/dragging from a window that has the _NoMove flag, we still set the ActiveId in order to prevent hovering others. + if (g.ActiveIdWindow && g.ActiveIdWindow->MoveId == g.ActiveId) + { + KeepAliveID(g.ActiveId); + if (!g.IO.MouseDown[0]) + ClearActiveID(); + } + } +} + +// Initiate focusing and moving window when clicking on empty space or title bar. +// Initiate focusing window when clicking on a disabled item. +// Handle left-click and right-click focus. +void ImGui::UpdateMouseMovingWindowEndFrame() +{ + ImGuiContext& g = *GImGui; + if (g.ActiveId != 0 || (g.HoveredId != 0 && !g.HoveredIdIsDisabled)) + return; + + // Unless we just made a window/popup appear + if (g.NavWindow && g.NavWindow->Appearing) + return; + + // Click on empty space to focus window and start moving + // (after we're done with all our widgets) + if (g.IO.MouseClicked[0]) + { + // Handle the edge case of a popup being closed while clicking in its empty space. + // If we try to focus it, FocusWindow() > ClosePopupsOverWindow() will accidentally close any parent popups because they are not linked together any more. + ImGuiWindow* root_window = g.HoveredWindow ? g.HoveredWindow->RootWindow : NULL; + const bool is_closed_popup = root_window && (root_window->Flags & ImGuiWindowFlags_Popup) && !IsPopupOpen(root_window->PopupId, ImGuiPopupFlags_AnyPopupLevel); + + if (root_window != NULL && !is_closed_popup) + { + StartMouseMovingWindow(g.HoveredWindow); //-V595 + + // Cancel moving if clicked outside of title bar + if (g.IO.ConfigWindowsMoveFromTitleBarOnly) + if (!(root_window->Flags & ImGuiWindowFlags_NoTitleBar)) + if (!root_window->TitleBarRect().Contains(g.IO.MouseClickedPos[0])) + g.MovingWindow = NULL; + + // Cancel moving if clicked over an item which was disabled or inhibited by popups + // (when g.HoveredIdIsDisabled == true && g.HoveredId == 0 we are inhibited by popups, when g.HoveredIdIsDisabled == true && g.HoveredId != 0 we are over a disabled item)0 already) + if (g.HoveredIdIsDisabled) + g.MovingWindow = NULL; + } + else if (root_window == NULL && g.NavWindow != NULL) + { + // Clicking on void disable focus + FocusWindow(NULL, ImGuiFocusRequestFlags_UnlessBelowModal); + } + } + + // With right mouse button we close popups without changing focus based on where the mouse is aimed + // Instead, focus will be restored to the window under the bottom-most closed popup. + // (The left mouse button path calls FocusWindow on the hovered window, which will lead NewFrame->ClosePopupsOverWindow to trigger) + if (g.IO.MouseClicked[1] && g.HoveredId == 0) + { + // Find the top-most window between HoveredWindow and the top-most Modal Window. + // This is where we can trim the popup stack. + ImGuiWindow* modal = GetTopMostPopupModal(); + bool hovered_window_above_modal = g.HoveredWindow && (modal == NULL || IsWindowAbove(g.HoveredWindow, modal)); + ClosePopupsOverWindow(hovered_window_above_modal ? g.HoveredWindow : modal, true); + } +} + +static bool IsWindowActiveAndVisible(ImGuiWindow* window) +{ + return (window->Active) && (!window->Hidden); +} + +// The reason this is exposed in imgui_internal.h is: on touch-based system that don't have hovering, we want to dispatch inputs to the right target (imgui vs imgui+app) +void ImGui::UpdateHoveredWindowAndCaptureFlags() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // FIXME-DPI: This storage was added on 2021/03/31 for test engine, but if we want to multiply WINDOWS_HOVER_PADDING + // by DpiScale, we need to make this window-agnostic anyhow, maybe need storing inside ImGuiWindow. + g.WindowsBorderHoverPadding = ImMax(ImMax(g.Style.TouchExtraPadding.x, g.Style.TouchExtraPadding.y), g.Style.WindowBorderHoverPadding); + + // Find the window hovered by mouse: + // - Child windows can extend beyond the limit of their parent so we need to derive HoveredRootWindow from HoveredWindow. + // - When moving a window we can skip the search, which also conveniently bypasses the fact that window->WindowRectClipped is lagging as this point of the frame. + // - We also support the moved window toggling the NoInputs flag after moving has started in order to be able to detect windows below it, which is useful for e.g. docking mechanisms. + bool clear_hovered_windows = false; + FindHoveredWindowEx(g.IO.MousePos, false, &g.HoveredWindow, &g.HoveredWindowUnderMovingWindow); + g.HoveredWindowBeforeClear = g.HoveredWindow; + + // Modal windows prevents mouse from hovering behind them. + ImGuiWindow* modal_window = GetTopMostPopupModal(); + if (modal_window && g.HoveredWindow && !IsWindowWithinBeginStackOf(g.HoveredWindow->RootWindow, modal_window)) + clear_hovered_windows = true; + + // Disabled mouse hovering (we don't currently clear MousePos, we could) + if (io.ConfigFlags & ImGuiConfigFlags_NoMouse) + clear_hovered_windows = true; + + // We track click ownership. When clicked outside of a window the click is owned by the application and + // won't report hovering nor request capture even while dragging over our windows afterward. + const bool has_open_popup = (g.OpenPopupStack.Size > 0); + const bool has_open_modal = (modal_window != NULL); + int mouse_earliest_down = -1; + bool mouse_any_down = false; + for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) + { + if (io.MouseClicked[i]) + { + io.MouseDownOwned[i] = (g.HoveredWindow != NULL) || has_open_popup; + io.MouseDownOwnedUnlessPopupClose[i] = (g.HoveredWindow != NULL) || has_open_modal; + } + mouse_any_down |= io.MouseDown[i]; + if (io.MouseDown[i] || io.MouseReleased[i]) // Increase release frame for our evaluation of earliest button (#1392) + if (mouse_earliest_down == -1 || io.MouseClickedTime[i] < io.MouseClickedTime[mouse_earliest_down]) + mouse_earliest_down = i; + } + const bool mouse_avail = (mouse_earliest_down == -1) || io.MouseDownOwned[mouse_earliest_down]; + const bool mouse_avail_unless_popup_close = (mouse_earliest_down == -1) || io.MouseDownOwnedUnlessPopupClose[mouse_earliest_down]; + + // If mouse was first clicked outside of ImGui bounds we also cancel out hovering. + // FIXME: For patterns of drag and drop across OS windows, we may need to rework/remove this test (first committed 311c0ca9 on 2015/02) + const bool mouse_dragging_extern_payload = g.DragDropActive && (g.DragDropSourceFlags & ImGuiDragDropFlags_SourceExtern) != 0; + if (!mouse_avail && !mouse_dragging_extern_payload) + clear_hovered_windows = true; + + if (clear_hovered_windows) + g.HoveredWindow = g.HoveredWindowUnderMovingWindow = NULL; + + // Update io.WantCaptureMouse for the user application (true = dispatch mouse info to Dear ImGui only, false = dispatch mouse to Dear ImGui + underlying app) + // Update io.WantCaptureMouseAllowPopupClose (experimental) to give a chance for app to react to popup closure with a drag + if (g.WantCaptureMouseNextFrame != -1) + { + io.WantCaptureMouse = io.WantCaptureMouseUnlessPopupClose = (g.WantCaptureMouseNextFrame != 0); + } + else + { + io.WantCaptureMouse = (mouse_avail && (g.HoveredWindow != NULL || mouse_any_down)) || has_open_popup; + io.WantCaptureMouseUnlessPopupClose = (mouse_avail_unless_popup_close && (g.HoveredWindow != NULL || mouse_any_down)) || has_open_modal; + } + + // Update io.WantCaptureKeyboard for the user application (true = dispatch keyboard info to Dear ImGui only, false = dispatch keyboard info to Dear ImGui + underlying app) + io.WantCaptureKeyboard = false; + if ((io.ConfigFlags & ImGuiConfigFlags_NoKeyboard) == 0) + { + if ((g.ActiveId != 0) || (modal_window != NULL)) + io.WantCaptureKeyboard = true; + else if (io.NavActive && (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) && io.ConfigNavCaptureKeyboard) + io.WantCaptureKeyboard = true; + } + if (g.WantCaptureKeyboardNextFrame != -1) // Manual override + io.WantCaptureKeyboard = (g.WantCaptureKeyboardNextFrame != 0); + + // Update io.WantTextInput flag, this is to allow systems without a keyboard (e.g. mobile, hand-held) to show a software keyboard if possible + io.WantTextInput = (g.WantTextInputNextFrame != -1) ? (g.WantTextInputNextFrame != 0) : false; +} + +// Called once a frame. Followed by SetCurrentFont() which sets up the remaining data. +// FIXME-VIEWPORT: the concept of a single ClipRectFullscreen is not ideal! +static void SetupDrawListSharedData() +{ + ImGuiContext& g = *GImGui; + ImRect virtual_space(FLT_MAX, FLT_MAX, -FLT_MAX, -FLT_MAX); + for (ImGuiViewportP* viewport : g.Viewports) + virtual_space.Add(viewport->GetMainRect()); + g.DrawListSharedData.ClipRectFullscreen = virtual_space.ToVec4(); + g.DrawListSharedData.CurveTessellationTol = g.Style.CurveTessellationTol; + g.DrawListSharedData.SetCircleTessellationMaxError(g.Style.CircleTessellationMaxError); + g.DrawListSharedData.InitialFlags = ImDrawListFlags_None; + if (g.Style.AntiAliasedLines) + g.DrawListSharedData.InitialFlags |= ImDrawListFlags_AntiAliasedLines; + if (g.Style.AntiAliasedLinesUseTex && !(g.IO.Fonts->Flags & ImFontAtlasFlags_NoBakedLines)) + g.DrawListSharedData.InitialFlags |= ImDrawListFlags_AntiAliasedLinesUseTex; + if (g.Style.AntiAliasedFill) + g.DrawListSharedData.InitialFlags |= ImDrawListFlags_AntiAliasedFill; + if (g.IO.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset) + g.DrawListSharedData.InitialFlags |= ImDrawListFlags_AllowVtxOffset; + g.DrawListSharedData.InitialFringeScale = 1.0f; // FIXME-DPI: Change this for some DPI scaling experiments. +} + +void ImGui::NewFrame() +{ + IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"); + ImGuiContext& g = *GImGui; + + // Remove pending delete hooks before frame start. + // This deferred removal avoid issues of removal while iterating the hook vector + for (int n = g.Hooks.Size - 1; n >= 0; n--) + if (g.Hooks[n].Type == ImGuiContextHookType_PendingRemoval_) + g.Hooks.erase(&g.Hooks[n]); + + CallContextHooks(&g, ImGuiContextHookType_NewFramePre); + + // Check and assert for various common IO and Configuration mistakes + ErrorCheckNewFrameSanityChecks(); + + // Load settings on first frame, save settings when modified (after a delay) + UpdateSettings(); + + g.Time += g.IO.DeltaTime; + g.WithinFrameScope = true; + g.FrameCount += 1; + g.TooltipOverrideCount = 0; + g.WindowsActiveCount = 0; + g.MenusIdSubmittedThisFrame.resize(0); + + // Calculate frame-rate for the user, as a purely luxurious feature + g.FramerateSecPerFrameAccum += g.IO.DeltaTime - g.FramerateSecPerFrame[g.FramerateSecPerFrameIdx]; + g.FramerateSecPerFrame[g.FramerateSecPerFrameIdx] = g.IO.DeltaTime; + g.FramerateSecPerFrameIdx = (g.FramerateSecPerFrameIdx + 1) % IM_ARRAYSIZE(g.FramerateSecPerFrame); + g.FramerateSecPerFrameCount = ImMin(g.FramerateSecPerFrameCount + 1, IM_ARRAYSIZE(g.FramerateSecPerFrame)); + g.IO.Framerate = (g.FramerateSecPerFrameAccum > 0.0f) ? (1.0f / (g.FramerateSecPerFrameAccum / (float)g.FramerateSecPerFrameCount)) : FLT_MAX; + + // Process input queue (trickle as many events as possible), turn events into writes to IO structure + g.InputEventsTrail.resize(0); + UpdateInputEvents(g.IO.ConfigInputTrickleEventQueue); + + // Update viewports (after processing input queue, so io.MouseHoveredViewport is set) + UpdateViewportsNewFrame(); + + // Setup current font and draw list shared data + g.IO.Fonts->Locked = true; + SetupDrawListSharedData(); + SetCurrentFont(GetDefaultFont()); + IM_ASSERT(g.Font->IsLoaded()); + + // Mark rendering data as invalid to prevent user who may have a handle on it to use it. + for (ImGuiViewportP* viewport : g.Viewports) + viewport->DrawDataP.Valid = false; + + // Drag and drop keep the source ID alive so even if the source disappear our state is consistent + if (g.DragDropActive && g.DragDropPayload.SourceId == g.ActiveId) + KeepAliveID(g.DragDropPayload.SourceId); + + // [DEBUG] + if (!g.IO.ConfigDebugHighlightIdConflicts || !g.IO.KeyCtrl) // Count is locked while holding CTRL + g.DebugDrawIdConflicts = 0; + if (g.IO.ConfigDebugHighlightIdConflicts && g.HoveredIdPreviousFrameItemCount > 1) + g.DebugDrawIdConflicts = g.HoveredIdPreviousFrame; + + // Update HoveredId data + if (!g.HoveredIdPreviousFrame) + g.HoveredIdTimer = 0.0f; + if (!g.HoveredIdPreviousFrame || (g.HoveredId && g.ActiveId == g.HoveredId)) + g.HoveredIdNotActiveTimer = 0.0f; + if (g.HoveredId) + g.HoveredIdTimer += g.IO.DeltaTime; + if (g.HoveredId && g.ActiveId != g.HoveredId) + g.HoveredIdNotActiveTimer += g.IO.DeltaTime; + g.HoveredIdPreviousFrame = g.HoveredId; + g.HoveredIdPreviousFrameItemCount = 0; + g.HoveredId = 0; + g.HoveredIdAllowOverlap = false; + g.HoveredIdIsDisabled = false; + + // Clear ActiveID if the item is not alive anymore. + // In 1.87, the common most call to KeepAliveID() was moved from GetID() to ItemAdd(). + // As a result, custom widget using ButtonBehavior() _without_ ItemAdd() need to call KeepAliveID() themselves. + if (g.ActiveId != 0 && g.ActiveIdIsAlive != g.ActiveId && g.ActiveIdPreviousFrame == g.ActiveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("NewFrame(): ClearActiveID() because it isn't marked alive anymore!\n"); + ClearActiveID(); + } + + // Update ActiveId data (clear reference to active widget if the widget isn't alive anymore) + if (g.ActiveId) + g.ActiveIdTimer += g.IO.DeltaTime; + g.LastActiveIdTimer += g.IO.DeltaTime; + g.ActiveIdPreviousFrame = g.ActiveId; + g.ActiveIdIsAlive = 0; + g.ActiveIdHasBeenEditedThisFrame = false; + g.ActiveIdIsJustActivated = false; + if (g.TempInputId != 0 && g.ActiveId != g.TempInputId) + g.TempInputId = 0; + if (g.ActiveId == 0) + { + g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; + } + if (g.DeactivatedItemData.ElapseFrame < g.FrameCount) + g.DeactivatedItemData.ID = 0; + g.DeactivatedItemData.IsAlive = false; + + // Record when we have been stationary as this state is preserved while over same item. + // FIXME: The way this is expressed means user cannot alter HoverStationaryDelay during the frame to use varying values. + // To allow this we should store HoverItemMaxStationaryTime+ID and perform the >= check in IsItemHovered() function. + if (g.HoverItemDelayId != 0 && g.MouseStationaryTimer >= g.Style.HoverStationaryDelay) + g.HoverItemUnlockedStationaryId = g.HoverItemDelayId; + else if (g.HoverItemDelayId == 0) + g.HoverItemUnlockedStationaryId = 0; + if (g.HoveredWindow != NULL && g.MouseStationaryTimer >= g.Style.HoverStationaryDelay) + g.HoverWindowUnlockedStationaryId = g.HoveredWindow->ID; + else if (g.HoveredWindow == NULL) + g.HoverWindowUnlockedStationaryId = 0; + + // Update hover delay for IsItemHovered() with delays and tooltips + g.HoverItemDelayIdPreviousFrame = g.HoverItemDelayId; + if (g.HoverItemDelayId != 0) + { + g.HoverItemDelayTimer += g.IO.DeltaTime; + g.HoverItemDelayClearTimer = 0.0f; + g.HoverItemDelayId = 0; + } + else if (g.HoverItemDelayTimer > 0.0f) + { + // This gives a little bit of leeway before clearing the hover timer, allowing mouse to cross gaps + // We could expose 0.25f as style.HoverClearDelay but I am not sure of the logic yet, this is particularly subtle. + g.HoverItemDelayClearTimer += g.IO.DeltaTime; + if (g.HoverItemDelayClearTimer >= ImMax(0.25f, g.IO.DeltaTime * 2.0f)) // ~7 frames at 30 Hz + allow for low framerate + g.HoverItemDelayTimer = g.HoverItemDelayClearTimer = 0.0f; // May want a decaying timer, in which case need to clamp at max first, based on max of caller last requested timer. + } + + // Drag and drop + g.DragDropAcceptIdPrev = g.DragDropAcceptIdCurr; + g.DragDropAcceptIdCurr = 0; + g.DragDropAcceptIdCurrRectSurface = FLT_MAX; + g.DragDropWithinSource = false; + g.DragDropWithinTarget = false; + g.DragDropHoldJustPressedId = 0; + g.TooltipPreviousWindow = NULL; + + // Close popups on focus lost (currently wip/opt-in) + //if (g.IO.AppFocusLost) + // ClosePopupsExceptModals(); + + // Update keyboard input state + UpdateKeyboardInputs(); + + //IM_ASSERT(g.IO.KeyCtrl == IsKeyDown(ImGuiKey_LeftCtrl) || IsKeyDown(ImGuiKey_RightCtrl)); + //IM_ASSERT(g.IO.KeyShift == IsKeyDown(ImGuiKey_LeftShift) || IsKeyDown(ImGuiKey_RightShift)); + //IM_ASSERT(g.IO.KeyAlt == IsKeyDown(ImGuiKey_LeftAlt) || IsKeyDown(ImGuiKey_RightAlt)); + //IM_ASSERT(g.IO.KeySuper == IsKeyDown(ImGuiKey_LeftSuper) || IsKeyDown(ImGuiKey_RightSuper)); + + // Update keyboard/gamepad navigation + NavUpdate(); + + // Update mouse input state + UpdateMouseInputs(); + + // Mark all windows as not visible and compact unused memory. + IM_ASSERT(g.WindowsFocusOrder.Size <= g.Windows.Size); + const float memory_compact_start_time = (g.GcCompactAll || g.IO.ConfigMemoryCompactTimer < 0.0f) ? FLT_MAX : (float)g.Time - g.IO.ConfigMemoryCompactTimer; + for (ImGuiWindow* window : g.Windows) + { + window->WasActive = window->Active; + window->Active = false; + window->WriteAccessed = false; + window->BeginCountPreviousFrame = window->BeginCount; + window->BeginCount = 0; + + // Garbage collect transient buffers of recently unused windows + if (!window->WasActive && !window->MemoryCompacted && window->LastTimeActive < memory_compact_start_time) + GcCompactTransientWindowBuffers(window); + } + + // Find hovered window + // (needs to be before UpdateMouseMovingWindowNewFrame so we fill g.HoveredWindowUnderMovingWindow on the mouse release frame) + // (currently needs to be done after the WasActive=Active loop and FindHoveredWindowEx uses ->Active) + UpdateHoveredWindowAndCaptureFlags(); + + // Handle user moving window with mouse (at the beginning of the frame to avoid input lag or sheering) + UpdateMouseMovingWindowNewFrame(); + + // Background darkening/whitening + if (GetTopMostPopupModal() != NULL || (g.NavWindowingTarget != NULL && g.NavWindowingHighlightAlpha > 0.0f)) + g.DimBgRatio = ImMin(g.DimBgRatio + g.IO.DeltaTime * 6.0f, 1.0f); + else + g.DimBgRatio = ImMax(g.DimBgRatio - g.IO.DeltaTime * 10.0f, 0.0f); + + g.MouseCursor = ImGuiMouseCursor_Arrow; + g.WantCaptureMouseNextFrame = g.WantCaptureKeyboardNextFrame = g.WantTextInputNextFrame = -1; + + // Platform IME data: reset for the frame + g.PlatformImeDataPrev = g.PlatformImeData; + g.PlatformImeData.WantVisible = false; + + // Mouse wheel scrolling, scale + UpdateMouseWheel(); + + // Garbage collect transient buffers of recently unused tables + for (int i = 0; i < g.TablesLastTimeActive.Size; i++) + if (g.TablesLastTimeActive[i] >= 0.0f && g.TablesLastTimeActive[i] < memory_compact_start_time) + TableGcCompactTransientBuffers(g.Tables.GetByIndex(i)); + for (ImGuiTableTempData& table_temp_data : g.TablesTempData) + if (table_temp_data.LastTimeActive >= 0.0f && table_temp_data.LastTimeActive < memory_compact_start_time) + TableGcCompactTransientBuffers(&table_temp_data); + if (g.GcCompactAll) + GcCompactTransientMiscBuffers(); + g.GcCompactAll = false; + + // Closing the focused window restore focus to the first active root window in descending z-order + if (g.NavWindow && !g.NavWindow->WasActive) + FocusTopMostWindowUnderOne(NULL, NULL, NULL, ImGuiFocusRequestFlags_RestoreFocusedChild); + + // No window should be open at the beginning of the frame. + // But in order to allow the user to call NewFrame() multiple times without calling Render(), we are doing an explicit clear. + g.CurrentWindowStack.resize(0); + g.BeginPopupStack.resize(0); + g.ItemFlagsStack.resize(0); + g.ItemFlagsStack.push_back(ImGuiItemFlags_AutoClosePopups); // Default flags + g.CurrentItemFlags = g.ItemFlagsStack.back(); + g.GroupStack.resize(0); + + // [DEBUG] Update debug features +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + UpdateDebugToolItemPicker(); + UpdateDebugToolStackQueries(); + UpdateDebugToolFlashStyleColor(); + if (g.DebugLocateFrames > 0 && --g.DebugLocateFrames == 0) + { + g.DebugLocateId = 0; + g.DebugBreakInLocateId = false; + } + if (g.DebugLogAutoDisableFrames > 0 && --g.DebugLogAutoDisableFrames == 0) + { + DebugLog("(Debug Log: Auto-disabled some ImGuiDebugLogFlags after 2 frames)\n"); + g.DebugLogFlags &= ~g.DebugLogAutoDisableFlags; + g.DebugLogAutoDisableFlags = ImGuiDebugLogFlags_None; + } +#endif + + // Create implicit/fallback window - which we will only render it if the user has added something to it. + // We don't use "Debug" to avoid colliding with user trying to create a "Debug" window with custom flags. + // This fallback is particularly important as it prevents ImGui:: calls from crashing. + g.WithinFrameScopeWithImplicitWindow = true; + SetNextWindowSize(ImVec2(400, 400), ImGuiCond_FirstUseEver); + Begin("Debug##Default"); + IM_ASSERT(g.CurrentWindow->IsFallbackWindow == true); + + // Store stack sizes + g.ErrorCountCurrentFrame = 0; + ErrorRecoveryStoreState(&g.StackSizesInNewFrame); + + // [DEBUG] When io.ConfigDebugBeginReturnValue is set, we make Begin()/BeginChild() return false at different level of the window-stack, + // allowing to validate correct Begin/End behavior in user code. +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (g.IO.ConfigDebugBeginReturnValueLoop) + g.DebugBeginReturnValueCullDepth = (g.DebugBeginReturnValueCullDepth == -1) ? 0 : ((g.DebugBeginReturnValueCullDepth + ((g.FrameCount % 4) == 0 ? 1 : 0)) % 10); + else + g.DebugBeginReturnValueCullDepth = -1; +#endif + + CallContextHooks(&g, ImGuiContextHookType_NewFramePost); +} + +// FIXME: Add a more explicit sort order in the window structure. +static int IMGUI_CDECL ChildWindowComparer(const void* lhs, const void* rhs) +{ + const ImGuiWindow* const a = *(const ImGuiWindow* const *)lhs; + const ImGuiWindow* const b = *(const ImGuiWindow* const *)rhs; + if (int d = (a->Flags & ImGuiWindowFlags_Popup) - (b->Flags & ImGuiWindowFlags_Popup)) + return d; + if (int d = (a->Flags & ImGuiWindowFlags_Tooltip) - (b->Flags & ImGuiWindowFlags_Tooltip)) + return d; + return (a->BeginOrderWithinParent - b->BeginOrderWithinParent); +} + +static void AddWindowToSortBuffer(ImVector* out_sorted_windows, ImGuiWindow* window) +{ + out_sorted_windows->push_back(window); + if (window->Active) + { + int count = window->DC.ChildWindows.Size; + ImQsort(window->DC.ChildWindows.Data, (size_t)count, sizeof(ImGuiWindow*), ChildWindowComparer); + for (int i = 0; i < count; i++) + { + ImGuiWindow* child = window->DC.ChildWindows[i]; + if (child->Active) + AddWindowToSortBuffer(out_sorted_windows, child); + } + } +} + +static void AddWindowToDrawData(ImGuiWindow* window, int layer) +{ + ImGuiContext& g = *GImGui; + ImGuiViewportP* viewport = g.Viewports[0]; + g.IO.MetricsRenderWindows++; + if (window->DrawList->_Splitter._Count > 1) + window->DrawList->ChannelsMerge(); // Merge if user forgot to merge back. Also required in Docking branch for ImGuiWindowFlags_DockNodeHost windows. + ImGui::AddDrawListToDrawDataEx(&viewport->DrawDataP, viewport->DrawDataBuilder.Layers[layer], window->DrawList); + for (ImGuiWindow* child : window->DC.ChildWindows) + if (IsWindowActiveAndVisible(child)) // Clipped children may have been marked not active + AddWindowToDrawData(child, layer); +} + +static inline int GetWindowDisplayLayer(ImGuiWindow* window) +{ + return (window->Flags & ImGuiWindowFlags_Tooltip) ? 1 : 0; +} + +// Layer is locked for the root window, however child windows may use a different viewport (e.g. extruding menu) +static inline void AddRootWindowToDrawData(ImGuiWindow* window) +{ + AddWindowToDrawData(window, GetWindowDisplayLayer(window)); +} + +static void FlattenDrawDataIntoSingleLayer(ImDrawDataBuilder* builder) +{ + int n = builder->Layers[0]->Size; + int full_size = n; + for (int i = 1; i < IM_ARRAYSIZE(builder->Layers); i++) + full_size += builder->Layers[i]->Size; + builder->Layers[0]->resize(full_size); + for (int layer_n = 1; layer_n < IM_ARRAYSIZE(builder->Layers); layer_n++) + { + ImVector* layer = builder->Layers[layer_n]; + if (layer->empty()) + continue; + memcpy(builder->Layers[0]->Data + n, layer->Data, layer->Size * sizeof(ImDrawList*)); + n += layer->Size; + layer->resize(0); + } +} + +static void InitViewportDrawData(ImGuiViewportP* viewport) +{ + ImGuiIO& io = ImGui::GetIO(); + ImDrawData* draw_data = &viewport->DrawDataP; + + viewport->DrawDataBuilder.Layers[0] = &draw_data->CmdLists; + viewport->DrawDataBuilder.Layers[1] = &viewport->DrawDataBuilder.LayerData1; + viewport->DrawDataBuilder.Layers[0]->resize(0); + viewport->DrawDataBuilder.Layers[1]->resize(0); + + draw_data->Valid = true; + draw_data->CmdListsCount = 0; + draw_data->TotalVtxCount = draw_data->TotalIdxCount = 0; + draw_data->DisplayPos = viewport->Pos; + draw_data->DisplaySize = viewport->Size; + draw_data->FramebufferScale = io.DisplayFramebufferScale; + draw_data->OwnerViewport = viewport; +} + +// Push a clipping rectangle for both ImGui logic (hit-testing etc.) and low-level ImDrawList rendering. +// - When using this function it is sane to ensure that float are perfectly rounded to integer values, +// so that e.g. (int)(max.x-min.x) in user's render produce correct result. +// - If the code here changes, may need to update code of functions like NextColumn() and PushColumnClipRect(): +// some frequently called functions which to modify both channels and clipping simultaneously tend to use the +// more specialized SetWindowClipRectBeforeSetChannel() to avoid extraneous updates of underlying ImDrawCmds. +// - This is analoguous to PushFont()/PopFont() in the sense that are a mixing a global stack and a window stack, +// which in the case of ClipRect is not so problematic but tends to be more restrictive for fonts. +void ImGui::PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect) +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DrawList->PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect); + window->ClipRect = window->DrawList->_ClipRectStack.back(); +} + +void ImGui::PopClipRect() +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DrawList->PopClipRect(); + window->ClipRect = window->DrawList->_ClipRectStack.back(); +} + +static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 col) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + ImGuiViewportP* viewport = (ImGuiViewportP*)GetMainViewport(); + ImRect viewport_rect = viewport->GetMainRect(); + + // Draw behind window by moving the draw command at the FRONT of the draw list + { + // We've already called AddWindowToDrawData() which called DrawList->ChannelsMerge() on DockNodeHost windows, + // and draw list have been trimmed already, hence the explicit recreation of a draw command if missing. + // FIXME: This is creating complication, might be simpler if we could inject a drawlist in drawdata at a given position and not attempt to manipulate ImDrawCmd order. + ImDrawList* draw_list = window->RootWindow->DrawList; + if (draw_list->CmdBuffer.Size == 0) + draw_list->AddDrawCmd(); + draw_list->PushClipRect(viewport_rect.Min - ImVec2(1, 1), viewport_rect.Max + ImVec2(1, 1), false); // FIXME: Need to stricty ensure ImDrawCmd are not merged (ElemCount==6 checks below will verify that) + draw_list->AddRectFilled(viewport_rect.Min, viewport_rect.Max, col); + ImDrawCmd cmd = draw_list->CmdBuffer.back(); + IM_ASSERT(cmd.ElemCount == 6); + draw_list->CmdBuffer.pop_back(); + draw_list->CmdBuffer.push_front(cmd); + draw_list->AddDrawCmd(); // We need to create a command as CmdBuffer.back().IdxOffset won't be correct if we append to same command. + draw_list->PopClipRect(); + } +} + +ImGuiWindow* ImGui::FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* parent_window) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* bottom_most_visible_window = parent_window; + for (int i = FindWindowDisplayIndex(parent_window); i >= 0; i--) + { + ImGuiWindow* window = g.Windows[i]; + if (window->Flags & ImGuiWindowFlags_ChildWindow) + continue; + if (!IsWindowWithinBeginStackOf(window, parent_window)) + break; + if (IsWindowActiveAndVisible(window) && GetWindowDisplayLayer(window) <= GetWindowDisplayLayer(parent_window)) + bottom_most_visible_window = window; + } + return bottom_most_visible_window; +} + +static void ImGui::RenderDimmedBackgrounds() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* modal_window = GetTopMostAndVisiblePopupModal(); + if (g.DimBgRatio <= 0.0f && g.NavWindowingHighlightAlpha <= 0.0f) + return; + const bool dim_bg_for_modal = (modal_window != NULL); + const bool dim_bg_for_window_list = (g.NavWindowingTargetAnim != NULL && g.NavWindowingTargetAnim->Active); + if (!dim_bg_for_modal && !dim_bg_for_window_list) + return; + + if (dim_bg_for_modal) + { + // Draw dimming behind modal or a begin stack child, whichever comes first in draw order. + ImGuiWindow* dim_behind_window = FindBottomMostVisibleWindowWithinBeginStack(modal_window); + RenderDimmedBackgroundBehindWindow(dim_behind_window, GetColorU32(modal_window->DC.ModalDimBgColor, g.DimBgRatio)); + } + else if (dim_bg_for_window_list) + { + // Draw dimming behind CTRL+Tab target window and behind CTRL+Tab UI window + RenderDimmedBackgroundBehindWindow(g.NavWindowingTargetAnim, GetColorU32(ImGuiCol_NavWindowingDimBg, g.DimBgRatio)); + + // Draw border around CTRL+Tab target window + ImGuiWindow* window = g.NavWindowingTargetAnim; + ImGuiViewport* viewport = GetMainViewport(); + float distance = g.FontSize; + ImRect bb = window->Rect(); + bb.Expand(distance); + if (bb.GetWidth() >= viewport->Size.x && bb.GetHeight() >= viewport->Size.y) + bb.Expand(-distance - 1.0f); // If a window fits the entire viewport, adjust its highlight inward + if (window->DrawList->CmdBuffer.Size == 0) + window->DrawList->AddDrawCmd(); + window->DrawList->PushClipRect(viewport->Pos, viewport->Pos + viewport->Size); + window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_NavWindowingHighlight, g.NavWindowingHighlightAlpha), window->WindowRounding, 0, 3.0f); + window->DrawList->PopClipRect(); + } +} + +// This is normally called by Render(). You may want to call it directly if you want to avoid calling Render() but the gain will be very minimal. +void ImGui::EndFrame() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.Initialized); + + // Don't process EndFrame() multiple times. + if (g.FrameCountEnded == g.FrameCount) + return; + IM_ASSERT(g.WithinFrameScope && "Forgot to call ImGui::NewFrame()?"); + + CallContextHooks(&g, ImGuiContextHookType_EndFramePre); + + // [EXPERIMENTAL] Recover from errors + if (g.IO.ConfigErrorRecovery) + ErrorRecoveryTryToRecoverState(&g.StackSizesInNewFrame); + ErrorCheckEndFrameSanityChecks(); + ErrorCheckEndFrameFinalizeErrorTooltip(); + + // Notify Platform/OS when our Input Method Editor cursor has moved (e.g. CJK inputs using Microsoft IME) + ImGuiPlatformImeData* ime_data = &g.PlatformImeData; + if (g.PlatformIO.Platform_SetImeDataFn != NULL && memcmp(ime_data, &g.PlatformImeDataPrev, sizeof(ImGuiPlatformImeData)) != 0) + { + IMGUI_DEBUG_LOG_IO("[io] Calling Platform_SetImeDataFn(): WantVisible: %d, InputPos (%.2f,%.2f)\n", ime_data->WantVisible, ime_data->InputPos.x, ime_data->InputPos.y); + ImGuiViewport* viewport = GetMainViewport(); + g.PlatformIO.Platform_SetImeDataFn(&g, viewport, ime_data); + } + + // Hide implicit/fallback "Debug" window if it hasn't been used + g.WithinFrameScopeWithImplicitWindow = false; + if (g.CurrentWindow && !g.CurrentWindow->WriteAccessed) + g.CurrentWindow->Active = false; + End(); + + // Update navigation: CTRL+Tab, wrap-around requests + NavEndFrame(); + + // Drag and Drop: Elapse payload (if delivered, or if source stops being submitted) + if (g.DragDropActive) + { + bool is_delivered = g.DragDropPayload.Delivery; + bool is_elapsed = (g.DragDropSourceFrameCount + 1 < g.FrameCount) && ((g.DragDropSourceFlags & ImGuiDragDropFlags_PayloadAutoExpire) || g.DragDropMouseButton == -1 || !IsMouseDown(g.DragDropMouseButton)); + if (is_delivered || is_elapsed) + ClearDragDrop(); + } + + // Drag and Drop: Fallback for missing source tooltip. This is not ideal but better than nothing. + // If you want to handle source item disappearing: instead of submitting your description tooltip + // in the BeginDragDropSource() block of the dragged item, you can submit them from a safe single spot + // (e.g. end of your item loop, or before EndFrame) by reading payload data. + // In the typical case, the contents of drag tooltip should be possible to infer solely from payload data. + if (g.DragDropActive && g.DragDropSourceFrameCount + 1 < g.FrameCount && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoPreviewTooltip)) + { + g.DragDropWithinSource = true; + SetTooltip("..."); + g.DragDropWithinSource = false; + } + + // End frame + g.WithinFrameScope = false; + g.FrameCountEnded = g.FrameCount; + + // Initiate moving window + handle left-click and right-click focus + UpdateMouseMovingWindowEndFrame(); + + // Sort the window list so that all child windows are after their parent + // We cannot do that on FocusWindow() because children may not exist yet + g.WindowsTempSortBuffer.resize(0); + g.WindowsTempSortBuffer.reserve(g.Windows.Size); + for (ImGuiWindow* window : g.Windows) + { + if (window->Active && (window->Flags & ImGuiWindowFlags_ChildWindow)) // if a child is active its parent will add it + continue; + AddWindowToSortBuffer(&g.WindowsTempSortBuffer, window); + } + + // This usually assert if there is a mismatch between the ImGuiWindowFlags_ChildWindow / ParentWindow values and DC.ChildWindows[] in parents, aka we've done something wrong. + IM_ASSERT(g.Windows.Size == g.WindowsTempSortBuffer.Size); + g.Windows.swap(g.WindowsTempSortBuffer); + g.IO.MetricsActiveWindows = g.WindowsActiveCount; + + // Unlock font atlas + g.IO.Fonts->Locked = false; + + // Clear Input data for next frame + g.IO.MousePosPrev = g.IO.MousePos; + g.IO.AppFocusLost = false; + g.IO.MouseWheel = g.IO.MouseWheelH = 0.0f; + g.IO.InputQueueCharacters.resize(0); + + CallContextHooks(&g, ImGuiContextHookType_EndFramePost); +} + +// Prepare the data for rendering so you can call GetDrawData() +// (As with anything within the ImGui:: namspace this doesn't touch your GPU or graphics API at all: +// it is the role of the ImGui_ImplXXXX_RenderDrawData() function provided by the renderer backend) +void ImGui::Render() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.Initialized); + + if (g.FrameCountEnded != g.FrameCount) + EndFrame(); + if (g.FrameCountRendered == g.FrameCount) + return; + g.FrameCountRendered = g.FrameCount; + + g.IO.MetricsRenderWindows = 0; + CallContextHooks(&g, ImGuiContextHookType_RenderPre); + + // Add background ImDrawList (for each active viewport) + for (ImGuiViewportP* viewport : g.Viewports) + { + InitViewportDrawData(viewport); + if (viewport->BgFgDrawLists[0] != NULL) + AddDrawListToDrawDataEx(&viewport->DrawDataP, viewport->DrawDataBuilder.Layers[0], GetBackgroundDrawList(viewport)); + } + + // Draw modal/window whitening backgrounds + RenderDimmedBackgrounds(); + + // Add ImDrawList to render + ImGuiWindow* windows_to_render_top_most[2]; + windows_to_render_top_most[0] = (g.NavWindowingTarget && !(g.NavWindowingTarget->Flags & ImGuiWindowFlags_NoBringToFrontOnFocus)) ? g.NavWindowingTarget->RootWindow : NULL; + windows_to_render_top_most[1] = (g.NavWindowingTarget ? g.NavWindowingListWindow : NULL); + for (ImGuiWindow* window : g.Windows) + { + IM_MSVC_WARNING_SUPPRESS(6011); // Static Analysis false positive "warning C6011: Dereferencing NULL pointer 'window'" + if (IsWindowActiveAndVisible(window) && (window->Flags & ImGuiWindowFlags_ChildWindow) == 0 && window != windows_to_render_top_most[0] && window != windows_to_render_top_most[1]) + AddRootWindowToDrawData(window); + } + for (int n = 0; n < IM_ARRAYSIZE(windows_to_render_top_most); n++) + if (windows_to_render_top_most[n] && IsWindowActiveAndVisible(windows_to_render_top_most[n])) // NavWindowingTarget is always temporarily displayed as the top-most window + AddRootWindowToDrawData(windows_to_render_top_most[n]); + + // Draw software mouse cursor if requested by io.MouseDrawCursor flag + if (g.IO.MouseDrawCursor && g.MouseCursor != ImGuiMouseCursor_None) + RenderMouseCursor(g.IO.MousePos, g.Style.MouseCursorScale, g.MouseCursor, IM_COL32_WHITE, IM_COL32_BLACK, IM_COL32(0, 0, 0, 48)); + + // Setup ImDrawData structures for end-user + g.IO.MetricsRenderVertices = g.IO.MetricsRenderIndices = 0; + for (ImGuiViewportP* viewport : g.Viewports) + { + FlattenDrawDataIntoSingleLayer(&viewport->DrawDataBuilder); + + // Add foreground ImDrawList (for each active viewport) + if (viewport->BgFgDrawLists[1] != NULL) + AddDrawListToDrawDataEx(&viewport->DrawDataP, viewport->DrawDataBuilder.Layers[0], GetForegroundDrawList(viewport)); + + // We call _PopUnusedDrawCmd() last thing, as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). + ImDrawData* draw_data = &viewport->DrawDataP; + IM_ASSERT(draw_data->CmdLists.Size == draw_data->CmdListsCount); + for (ImDrawList* draw_list : draw_data->CmdLists) + draw_list->_PopUnusedDrawCmd(); + + g.IO.MetricsRenderVertices += draw_data->TotalVtxCount; + g.IO.MetricsRenderIndices += draw_data->TotalIdxCount; + } + + CallContextHooks(&g, ImGuiContextHookType_RenderPost); +} + +// Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker. +// CalcTextSize("") should return ImVec2(0.0f, g.FontSize) +ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width) +{ + ImGuiContext& g = *GImGui; + + const char* text_display_end; + if (hide_text_after_double_hash) + text_display_end = FindRenderedTextEnd(text, text_end); // Hide anything after a '##' string + else + text_display_end = text_end; + + ImFont* font = g.Font; + const float font_size = g.FontSize; + if (text == text_display_end) + return ImVec2(0.0f, font_size); + ImVec2 text_size = font->CalcTextSizeA(font_size, FLT_MAX, wrap_width, text, text_display_end, NULL); + + // Round + // FIXME: This has been here since Dec 2015 (7b0bf230) but down the line we want this out. + // FIXME: Investigate using ceilf or e.g. + // - https://git.musl-libc.org/cgit/musl/tree/src/math/ceilf.c + // - https://embarkstudios.github.io/rust-gpu/api/src/libm/math/ceilf.rs.html + text_size.x = IM_TRUNC(text_size.x + 0.99999f); + + return text_size; +} + +// Find window given position, search front-to-back +// - Typically write output back to g.HoveredWindow and g.HoveredWindowUnderMovingWindow. +// - FIXME: Note that we have an inconsequential lag here: OuterRectClipped is updated in Begin(), so windows moved programmatically +// with SetWindowPos() and not SetNextWindowPos() will have that rectangle lagging by a frame at the time FindHoveredWindow() is +// called, aka before the next Begin(). Moving window isn't affected. +// - The 'find_first_and_in_any_viewport = true' mode is only used by TestEngine. It is simpler to maintain here. +void ImGui::FindHoveredWindowEx(const ImVec2& pos, bool find_first_and_in_any_viewport, ImGuiWindow** out_hovered_window, ImGuiWindow** out_hovered_window_under_moving_window) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* hovered_window = NULL; + ImGuiWindow* hovered_window_under_moving_window = NULL; + + if (find_first_and_in_any_viewport == false && g.MovingWindow && !(g.MovingWindow->Flags & ImGuiWindowFlags_NoMouseInputs)) + hovered_window = g.MovingWindow; + + ImVec2 padding_regular = g.Style.TouchExtraPadding; + ImVec2 padding_for_resize = ImMax(g.Style.TouchExtraPadding, ImVec2(g.Style.WindowBorderHoverPadding, g.Style.WindowBorderHoverPadding)); + for (int i = g.Windows.Size - 1; i >= 0; i--) + { + ImGuiWindow* window = g.Windows[i]; + IM_MSVC_WARNING_SUPPRESS(28182); // [Static Analyzer] Dereferencing NULL pointer. + if (!window->WasActive || window->Hidden) + continue; + if (window->Flags & ImGuiWindowFlags_NoMouseInputs) + continue; + + // Using the clipped AABB, a child window will typically be clipped by its parent (not always) + ImVec2 hit_padding = (window->Flags & (ImGuiWindowFlags_NoResize | ImGuiWindowFlags_AlwaysAutoResize)) ? padding_regular : padding_for_resize; + if (!window->OuterRectClipped.ContainsWithPad(pos, hit_padding)) + continue; + + // Support for one rectangular hole in any given window + // FIXME: Consider generalizing hit-testing override (with more generic data, callback, etc.) (#1512) + if (window->HitTestHoleSize.x != 0) + { + ImVec2 hole_pos(window->Pos.x + (float)window->HitTestHoleOffset.x, window->Pos.y + (float)window->HitTestHoleOffset.y); + ImVec2 hole_size((float)window->HitTestHoleSize.x, (float)window->HitTestHoleSize.y); + if (ImRect(hole_pos, hole_pos + hole_size).Contains(pos)) + continue; + } + + if (find_first_and_in_any_viewport) + { + hovered_window = window; + break; + } + else + { + if (hovered_window == NULL) + hovered_window = window; + IM_MSVC_WARNING_SUPPRESS(28182); // [Static Analyzer] Dereferencing NULL pointer. + if (hovered_window_under_moving_window == NULL && (!g.MovingWindow || window->RootWindow != g.MovingWindow->RootWindow)) + hovered_window_under_moving_window = window; + if (hovered_window && hovered_window_under_moving_window) + break; + } + } + + *out_hovered_window = hovered_window; + if (out_hovered_window_under_moving_window != NULL) + *out_hovered_window_under_moving_window = hovered_window_under_moving_window; +} + +bool ImGui::IsItemActive() +{ + ImGuiContext& g = *GImGui; + if (g.ActiveId) + return g.ActiveId == g.LastItemData.ID; + return false; +} + +bool ImGui::IsItemActivated() +{ + ImGuiContext& g = *GImGui; + if (g.ActiveId) + if (g.ActiveId == g.LastItemData.ID && g.ActiveIdPreviousFrame != g.LastItemData.ID) + return true; + return false; +} + +bool ImGui::IsItemDeactivated() +{ + ImGuiContext& g = *GImGui; + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasDeactivated) + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Deactivated) != 0; + return (g.DeactivatedItemData.ID == g.LastItemData.ID && g.LastItemData.ID != 0 && g.DeactivatedItemData.ElapseFrame >= g.FrameCount); +} + +bool ImGui::IsItemDeactivatedAfterEdit() +{ + ImGuiContext& g = *GImGui; + return IsItemDeactivated() && g.DeactivatedItemData.HasBeenEditedBefore; +} + +// == (GetItemID() == GetFocusID() && GetFocusID() != 0) +bool ImGui::IsItemFocused() +{ + ImGuiContext& g = *GImGui; + return g.NavId == g.LastItemData.ID && g.NavId != 0; +} + +// Important: this can be useful but it is NOT equivalent to the behavior of e.g.Button()! +// Most widgets have specific reactions based on mouse-up/down state, mouse position etc. +bool ImGui::IsItemClicked(ImGuiMouseButton mouse_button) +{ + return IsMouseClicked(mouse_button) && IsItemHovered(ImGuiHoveredFlags_None); +} + +bool ImGui::IsItemToggledOpen() +{ + ImGuiContext& g = *GImGui; + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_ToggledOpen) ? true : false; +} + +// Call after a Selectable() or TreeNode() involved in multi-selection. +// Useful if you need the per-item information before reaching EndMultiSelect(), e.g. for rendering purpose. +// This is only meant to be called inside a BeginMultiSelect()/EndMultiSelect() block. +// (Outside of multi-select, it would be misleading/ambiguous to report this signal, as widgets +// return e.g. a pressed event and user code is in charge of altering selection in ways we cannot predict.) +bool ImGui::IsItemToggledSelection() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.CurrentMultiSelect != NULL); // Can only be used inside a BeginMultiSelect()/EndMultiSelect() + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_ToggledSelection) ? true : false; +} + +// IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, +// you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! +// Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. +bool ImGui::IsAnyItemHovered() +{ + ImGuiContext& g = *GImGui; + return g.HoveredId != 0 || g.HoveredIdPreviousFrame != 0; +} + +bool ImGui::IsAnyItemActive() +{ + ImGuiContext& g = *GImGui; + return g.ActiveId != 0; +} + +bool ImGui::IsAnyItemFocused() +{ + ImGuiContext& g = *GImGui; + return g.NavId != 0 && g.NavCursorVisible; +} + +bool ImGui::IsItemVisible() +{ + ImGuiContext& g = *GImGui; + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) != 0; +} + +bool ImGui::IsItemEdited() +{ + ImGuiContext& g = *GImGui; + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Edited) != 0; +} + +// Allow next item to be overlapped by subsequent items. +// This works by requiring HoveredId to match for two subsequent frames, +// so if a following items overwrite it our interactions will naturally be disabled. +void ImGui::SetNextItemAllowOverlap() +{ + ImGuiContext& g = *GImGui; + g.NextItemData.ItemFlags |= ImGuiItemFlags_AllowOverlap; +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// Allow last item to be overlapped by a subsequent item. Both may be activated during the same frame before the later one takes priority. +// FIXME-LEGACY: Use SetNextItemAllowOverlap() *before* your item instead. +void ImGui::SetItemAllowOverlap() +{ + ImGuiContext& g = *GImGui; + ImGuiID id = g.LastItemData.ID; + if (g.HoveredId == id) + g.HoveredIdAllowOverlap = true; + if (g.ActiveId == id) // Before we made this obsolete, most calls to SetItemAllowOverlap() used to avoid this path by testing g.ActiveId != id. + g.ActiveIdAllowOverlap = true; +} +#endif + +// This is a shortcut for not taking ownership of 100+ keys, frequently used by drag operations. +// FIXME: It might be undesirable that this will likely disable KeyOwner-aware shortcuts systems. Consider a more fine-tuned version if needed? +void ImGui::SetActiveIdUsingAllKeyboardKeys() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.ActiveId != 0); + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_COUNT) - 1; + g.ActiveIdUsingAllKeyboardKeys = true; + NavMoveRequestCancel(); +} + +ImGuiID ImGui::GetItemID() +{ + ImGuiContext& g = *GImGui; + return g.LastItemData.ID; +} + +ImVec2 ImGui::GetItemRectMin() +{ + ImGuiContext& g = *GImGui; + return g.LastItemData.Rect.Min; +} + +ImVec2 ImGui::GetItemRectMax() +{ + ImGuiContext& g = *GImGui; + return g.LastItemData.Rect.Max; +} + +ImVec2 ImGui::GetItemRectSize() +{ + ImGuiContext& g = *GImGui; + return g.LastItemData.Rect.GetSize(); +} + +// Prior to v1.90 2023/10/16, the BeginChild() function took a 'bool border = false' parameter instead of 'ImGuiChildFlags child_flags = 0'. +// ImGuiChildFlags_Borders is defined as always == 1 in order to allow old code passing 'true'. Read comments in imgui.h for details! +bool ImGui::BeginChild(const char* str_id, const ImVec2& size_arg, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) +{ + ImGuiID id = GetCurrentWindow()->GetID(str_id); + return BeginChildEx(str_id, id, size_arg, child_flags, window_flags); +} + +bool ImGui::BeginChild(ImGuiID id, const ImVec2& size_arg, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) +{ + return BeginChildEx(NULL, id, size_arg, child_flags, window_flags); +} + +bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* parent_window = g.CurrentWindow; + IM_ASSERT(id != 0); + + // Sanity check as it is likely that some user will accidentally pass ImGuiWindowFlags into the ImGuiChildFlags argument. + const ImGuiChildFlags ImGuiChildFlags_SupportedMask_ = ImGuiChildFlags_Borders | ImGuiChildFlags_AlwaysUseWindowPadding | ImGuiChildFlags_ResizeX | ImGuiChildFlags_ResizeY | ImGuiChildFlags_AutoResizeX | ImGuiChildFlags_AutoResizeY | ImGuiChildFlags_AlwaysAutoResize | ImGuiChildFlags_FrameStyle | ImGuiChildFlags_NavFlattened; + IM_UNUSED(ImGuiChildFlags_SupportedMask_); + IM_ASSERT((child_flags & ~ImGuiChildFlags_SupportedMask_) == 0 && "Illegal ImGuiChildFlags value. Did you pass ImGuiWindowFlags values instead of ImGuiChildFlags?"); + IM_ASSERT((window_flags & ImGuiWindowFlags_AlwaysAutoResize) == 0 && "Cannot specify ImGuiWindowFlags_AlwaysAutoResize for BeginChild(). Use ImGuiChildFlags_AlwaysAutoResize!"); + if (child_flags & ImGuiChildFlags_AlwaysAutoResize) + { + IM_ASSERT((child_flags & (ImGuiChildFlags_ResizeX | ImGuiChildFlags_ResizeY)) == 0 && "Cannot use ImGuiChildFlags_ResizeX or ImGuiChildFlags_ResizeY with ImGuiChildFlags_AlwaysAutoResize!"); + IM_ASSERT((child_flags & (ImGuiChildFlags_AutoResizeX | ImGuiChildFlags_AutoResizeY)) != 0 && "Must use ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY with ImGuiChildFlags_AlwaysAutoResize!"); + } +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (window_flags & ImGuiWindowFlags_AlwaysUseWindowPadding) + child_flags |= ImGuiChildFlags_AlwaysUseWindowPadding; + if (window_flags & ImGuiWindowFlags_NavFlattened) + child_flags |= ImGuiChildFlags_NavFlattened; +#endif + if (child_flags & ImGuiChildFlags_AutoResizeX) + child_flags &= ~ImGuiChildFlags_ResizeX; + if (child_flags & ImGuiChildFlags_AutoResizeY) + child_flags &= ~ImGuiChildFlags_ResizeY; + + // Set window flags + window_flags |= ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_NoTitleBar; + window_flags |= (parent_window->Flags & ImGuiWindowFlags_NoMove); // Inherit the NoMove flag + if (child_flags & (ImGuiChildFlags_AutoResizeX | ImGuiChildFlags_AutoResizeY | ImGuiChildFlags_AlwaysAutoResize)) + window_flags |= ImGuiWindowFlags_AlwaysAutoResize; + if ((child_flags & (ImGuiChildFlags_ResizeX | ImGuiChildFlags_ResizeY)) == 0) + window_flags |= ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings; + + // Special framed style + if (child_flags & ImGuiChildFlags_FrameStyle) + { + PushStyleColor(ImGuiCol_ChildBg, g.Style.Colors[ImGuiCol_FrameBg]); + PushStyleVar(ImGuiStyleVar_ChildRounding, g.Style.FrameRounding); + PushStyleVar(ImGuiStyleVar_ChildBorderSize, g.Style.FrameBorderSize); + PushStyleVar(ImGuiStyleVar_WindowPadding, g.Style.FramePadding); + child_flags |= ImGuiChildFlags_Borders | ImGuiChildFlags_AlwaysUseWindowPadding; + window_flags |= ImGuiWindowFlags_NoMove; + } + + // Forward size + // Important: Begin() has special processing to switch condition to ImGuiCond_FirstUseEver for a given axis when ImGuiChildFlags_ResizeXXX is set. + // (the alternative would to store conditional flags per axis, which is possible but more code) + const ImVec2 size_avail = GetContentRegionAvail(); + const ImVec2 size_default((child_flags & ImGuiChildFlags_AutoResizeX) ? 0.0f : size_avail.x, (child_flags & ImGuiChildFlags_AutoResizeY) ? 0.0f : size_avail.y); + ImVec2 size = CalcItemSize(size_arg, size_default.x, size_default.y); + + // A SetNextWindowSize() call always has priority (#8020) + // (since the code in Begin() never supported SizeVal==0.0f aka auto-resize via SetNextWindowSize() call, we don't support it here for now) + // FIXME: We only support ImGuiCond_Always in this path. Supporting other paths would requires to obtain window pointer. + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) != 0 && (g.NextWindowData.SizeCond & ImGuiCond_Always) != 0) + { + if (g.NextWindowData.SizeVal.x > 0.0f) + { + size.x = g.NextWindowData.SizeVal.x; + child_flags &= ~ImGuiChildFlags_ResizeX; + } + if (g.NextWindowData.SizeVal.y > 0.0f) + { + size.y = g.NextWindowData.SizeVal.y; + child_flags &= ~ImGuiChildFlags_ResizeY; + } + } + SetNextWindowSize(size); + + // Forward child flags (we allow prior settings to merge but it'll only work for adding flags) + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasChildFlags) + g.NextWindowData.ChildFlags |= child_flags; + else + g.NextWindowData.ChildFlags = child_flags; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasChildFlags; + + // Build up name. If you need to append to a same child from multiple location in the ID stack, use BeginChild(ImGuiID id) with a stable value. + // FIXME: 2023/11/14: commented out shorted version. We had an issue with multiple ### in child window path names, which the trailing hash helped workaround. + // e.g. "ParentName###ParentIdentifier/ChildName###ChildIdentifier" would get hashed incorrectly by ImHashStr(), trailing _%08X somehow fixes it. + const char* temp_window_name; + /*if (name && parent_window->IDStack.back() == parent_window->ID) + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%s", parent_window->Name, name); // May omit ID if in root of ID stack + else*/ + if (name) + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%s_%08X", parent_window->Name, name, id); + else + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%08X", parent_window->Name, id); + + // Set style + const float backup_border_size = g.Style.ChildBorderSize; + if ((child_flags & ImGuiChildFlags_Borders) == 0) + g.Style.ChildBorderSize = 0.0f; + + // Begin into window + const bool ret = Begin(temp_window_name, NULL, window_flags); + + // Restore style + g.Style.ChildBorderSize = backup_border_size; + if (child_flags & ImGuiChildFlags_FrameStyle) + { + PopStyleVar(3); + PopStyleColor(); + } + + ImGuiWindow* child_window = g.CurrentWindow; + child_window->ChildId = id; + + // Set the cursor to handle case where the user called SetNextWindowPos()+BeginChild() manually. + // While this is not really documented/defined, it seems that the expected thing to do. + if (child_window->BeginCount == 1) + parent_window->DC.CursorPos = child_window->Pos; + + // Process navigation-in immediately so NavInit can run on first frame + // Can enter a child if (A) it has navigable items or (B) it can be scrolled. + const ImGuiID temp_id_for_activation = ImHashStr("##Child", 0, id); + if (g.ActiveId == temp_id_for_activation) + ClearActiveID(); + if (g.NavActivateId == id && !(child_flags & ImGuiChildFlags_NavFlattened) && (child_window->DC.NavLayersActiveMask != 0 || child_window->DC.NavWindowHasScrollY)) + { + FocusWindow(child_window); + NavInitWindow(child_window, false); + SetActiveID(temp_id_for_activation, child_window); // Steal ActiveId with another arbitrary id so that key-press won't activate child item + g.ActiveIdSource = g.NavInputSource; + } + return ret; +} + +void ImGui::EndChild() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* child_window = g.CurrentWindow; + + const ImGuiID backup_within_end_child_id = g.WithinEndChildID; + IM_ASSERT(child_window->Flags & ImGuiWindowFlags_ChildWindow); // Mismatched BeginChild()/EndChild() calls + + g.WithinEndChildID = child_window->ID; + ImVec2 child_size = child_window->Size; + End(); + if (child_window->BeginCount == 1) + { + ImGuiWindow* parent_window = g.CurrentWindow; + ImRect bb(parent_window->DC.CursorPos, parent_window->DC.CursorPos + child_size); + ItemSize(child_size); + const bool nav_flattened = (child_window->ChildFlags & ImGuiChildFlags_NavFlattened) != 0; + if ((child_window->DC.NavLayersActiveMask != 0 || child_window->DC.NavWindowHasScrollY) && !nav_flattened) + { + ItemAdd(bb, child_window->ChildId); + RenderNavCursor(bb, child_window->ChildId); + + // When browsing a window that has no activable items (scroll only) we keep a highlight on the child (pass g.NavId to trick into always displaying) + if (child_window->DC.NavLayersActiveMask == 0 && child_window == g.NavWindow) + RenderNavCursor(ImRect(bb.Min - ImVec2(2, 2), bb.Max + ImVec2(2, 2)), g.NavId, ImGuiNavRenderCursorFlags_Compact); + } + else + { + // Not navigable into + // - This is a bit of a fringe use case, mostly useful for undecorated, non-scrolling contents childs, or empty childs. + // - We could later decide to not apply this path if ImGuiChildFlags_FrameStyle or ImGuiChildFlags_Borders is set. + ItemAdd(bb, child_window->ChildId, NULL, ImGuiItemFlags_NoNav); + + // But when flattened we directly reach items, adjust active layer mask accordingly + if (nav_flattened) + parent_window->DC.NavLayersActiveMaskNext |= child_window->DC.NavLayersActiveMaskNext; + } + if (g.HoveredWindow == child_window) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredWindow; + child_window->DC.ChildItemStatusFlags = g.LastItemData.StatusFlags; + //SetLastItemDataForChildWindowItem(child_window, child_window->Rect()); // Not needed, effectively done by ItemAdd() + } + else + { + SetLastItemDataForChildWindowItem(child_window, child_window->Rect()); + } + + g.WithinEndChildID = backup_within_end_child_id; + g.LogLinePosY = -FLT_MAX; // To enforce a carriage return +} + +static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled) +{ + window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags); + window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags); + window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags); +} + +ImGuiWindow* ImGui::FindWindowByID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + return (ImGuiWindow*)g.WindowsById.GetVoidPtr(id); +} + +ImGuiWindow* ImGui::FindWindowByName(const char* name) +{ + ImGuiID id = ImHashStr(name); + return FindWindowByID(id); +} + +static void ApplyWindowSettings(ImGuiWindow* window, ImGuiWindowSettings* settings) +{ + window->Pos = ImTrunc(ImVec2(settings->Pos.x, settings->Pos.y)); + if (settings->Size.x > 0 && settings->Size.y > 0) + window->Size = window->SizeFull = ImTrunc(ImVec2(settings->Size.x, settings->Size.y)); + window->Collapsed = settings->Collapsed; +} + +static void InitOrLoadWindowSettings(ImGuiWindow* window, ImGuiWindowSettings* settings) +{ + // Initial window state with e.g. default/arbitrary window position + // Use SetNextWindowPos() with the appropriate condition flag to change the initial position of a window. + const ImGuiViewport* main_viewport = ImGui::GetMainViewport(); + window->Pos = main_viewport->Pos + ImVec2(60, 60); + window->Size = window->SizeFull = ImVec2(0, 0); + window->SetWindowPosAllowFlags = window->SetWindowSizeAllowFlags = window->SetWindowCollapsedAllowFlags = ImGuiCond_Always | ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing; + + if (settings != NULL) + { + SetWindowConditionAllowFlags(window, ImGuiCond_FirstUseEver, false); + ApplyWindowSettings(window, settings); + } + window->DC.CursorStartPos = window->DC.CursorMaxPos = window->DC.IdealMaxPos = window->Pos; // So first call to CalcWindowContentSizes() doesn't return crazy values + + if ((window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0) + { + window->AutoFitFramesX = window->AutoFitFramesY = 2; + window->AutoFitOnlyGrows = false; + } + else + { + if (window->Size.x <= 0.0f) + window->AutoFitFramesX = 2; + if (window->Size.y <= 0.0f) + window->AutoFitFramesY = 2; + window->AutoFitOnlyGrows = (window->AutoFitFramesX > 0) || (window->AutoFitFramesY > 0); + } +} + +static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags) +{ + // Create window the first time + //IMGUI_DEBUG_LOG("CreateNewWindow '%s', flags = 0x%08X\n", name, flags); + ImGuiContext& g = *GImGui; + ImGuiWindow* window = IM_NEW(ImGuiWindow)(&g, name); + window->Flags = flags; + g.WindowsById.SetVoidPtr(window->ID, window); + + ImGuiWindowSettings* settings = NULL; + if (!(flags & ImGuiWindowFlags_NoSavedSettings)) + if ((settings = ImGui::FindWindowSettingsByWindow(window)) != 0) + window->SettingsOffset = g.SettingsWindows.offset_from_ptr(settings); + + InitOrLoadWindowSettings(window, settings); + + if (flags & ImGuiWindowFlags_NoBringToFrontOnFocus) + g.Windows.push_front(window); // Quite slow but rare and only once + else + g.Windows.push_back(window); + + return window; +} + +static inline ImVec2 CalcWindowMinSize(ImGuiWindow* window) +{ + // We give windows non-zero minimum size to facilitate understanding problematic cases (e.g. empty popups) + // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be smaller. + // Perhaps should tend further a neater test for this. + ImGuiContext& g = *GImGui; + ImVec2 size_min; + if ((window->Flags & ImGuiWindowFlags_ChildWindow) && !(window->Flags & ImGuiWindowFlags_Popup)) + { + size_min.x = (window->ChildFlags & ImGuiChildFlags_ResizeX) ? g.Style.WindowMinSize.x : 4.0f; + size_min.y = (window->ChildFlags & ImGuiChildFlags_ResizeY) ? g.Style.WindowMinSize.y : 4.0f; + } + else + { + size_min.x = ((window->Flags & ImGuiWindowFlags_AlwaysAutoResize) == 0) ? g.Style.WindowMinSize.x : 4.0f; + size_min.y = ((window->Flags & ImGuiWindowFlags_AlwaysAutoResize) == 0) ? g.Style.WindowMinSize.y : 4.0f; + } + + // Reduce artifacts with very small windows + ImGuiWindow* window_for_height = window; + size_min.y = ImMax(size_min.y, window_for_height->TitleBarHeight + window_for_height->MenuBarHeight + ImMax(0.0f, g.Style.WindowRounding - 1.0f)); + return size_min; +} + +static ImVec2 CalcWindowSizeAfterConstraint(ImGuiWindow* window, const ImVec2& size_desired) +{ + ImGuiContext& g = *GImGui; + ImVec2 new_size = size_desired; + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSizeConstraint) + { + // See comments in SetNextWindowSizeConstraints() for details about setting size_min an size_max. + ImRect cr = g.NextWindowData.SizeConstraintRect; + new_size.x = (cr.Min.x >= 0 && cr.Max.x >= 0) ? ImClamp(new_size.x, cr.Min.x, cr.Max.x) : window->SizeFull.x; + new_size.y = (cr.Min.y >= 0 && cr.Max.y >= 0) ? ImClamp(new_size.y, cr.Min.y, cr.Max.y) : window->SizeFull.y; + if (g.NextWindowData.SizeCallback) + { + ImGuiSizeCallbackData data; + data.UserData = g.NextWindowData.SizeCallbackUserData; + data.Pos = window->Pos; + data.CurrentSize = window->SizeFull; + data.DesiredSize = new_size; + g.NextWindowData.SizeCallback(&data); + new_size = data.DesiredSize; + } + new_size.x = IM_TRUNC(new_size.x); + new_size.y = IM_TRUNC(new_size.y); + } + + // Minimum size + ImVec2 size_min = CalcWindowMinSize(window); + return ImMax(new_size, size_min); +} + +static void CalcWindowContentSizes(ImGuiWindow* window, ImVec2* content_size_current, ImVec2* content_size_ideal) +{ + bool preserve_old_content_sizes = false; + if (window->Collapsed && window->AutoFitFramesX <= 0 && window->AutoFitFramesY <= 0) + preserve_old_content_sizes = true; + else if (window->Hidden && window->HiddenFramesCannotSkipItems == 0 && window->HiddenFramesCanSkipItems > 0) + preserve_old_content_sizes = true; + if (preserve_old_content_sizes) + { + *content_size_current = window->ContentSize; + *content_size_ideal = window->ContentSizeIdeal; + return; + } + + content_size_current->x = (window->ContentSizeExplicit.x != 0.0f) ? window->ContentSizeExplicit.x : IM_TRUNC(window->DC.CursorMaxPos.x - window->DC.CursorStartPos.x); + content_size_current->y = (window->ContentSizeExplicit.y != 0.0f) ? window->ContentSizeExplicit.y : IM_TRUNC(window->DC.CursorMaxPos.y - window->DC.CursorStartPos.y); + content_size_ideal->x = (window->ContentSizeExplicit.x != 0.0f) ? window->ContentSizeExplicit.x : IM_TRUNC(ImMax(window->DC.CursorMaxPos.x, window->DC.IdealMaxPos.x) - window->DC.CursorStartPos.x); + content_size_ideal->y = (window->ContentSizeExplicit.y != 0.0f) ? window->ContentSizeExplicit.y : IM_TRUNC(ImMax(window->DC.CursorMaxPos.y, window->DC.IdealMaxPos.y) - window->DC.CursorStartPos.y); +} + +static ImVec2 CalcWindowAutoFitSize(ImGuiWindow* window, const ImVec2& size_contents) +{ + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + const float decoration_w_without_scrollbars = window->DecoOuterSizeX1 + window->DecoOuterSizeX2 - window->ScrollbarSizes.x; + const float decoration_h_without_scrollbars = window->DecoOuterSizeY1 + window->DecoOuterSizeY2 - window->ScrollbarSizes.y; + ImVec2 size_pad = window->WindowPadding * 2.0f; + ImVec2 size_desired = size_contents + size_pad + ImVec2(decoration_w_without_scrollbars, decoration_h_without_scrollbars); + if (window->Flags & ImGuiWindowFlags_Tooltip) + { + // Tooltip always resize + return size_desired; + } + else + { + // Maximum window size is determined by the viewport size or monitor size + ImVec2 size_min = CalcWindowMinSize(window); + ImVec2 size_max = ((window->Flags & ImGuiWindowFlags_ChildWindow) && !(window->Flags & ImGuiWindowFlags_Popup)) ? ImVec2(FLT_MAX, FLT_MAX) : ImGui::GetMainViewport()->WorkSize - style.DisplaySafeAreaPadding * 2.0f; + ImVec2 size_auto_fit = ImClamp(size_desired, size_min, size_max); + + // FIXME: CalcWindowAutoFitSize() doesn't take into account that only one axis may be auto-fit when calculating scrollbars, + // we may need to compute/store three variants of size_auto_fit, for x/y/xy. + // Here we implement a workaround for child windows only, but a full solution would apply to normal windows as well: + if ((window->ChildFlags & ImGuiChildFlags_ResizeX) && !(window->ChildFlags & ImGuiChildFlags_ResizeY)) + size_auto_fit.y = window->SizeFull.y; + else if (!(window->ChildFlags & ImGuiChildFlags_ResizeX) && (window->ChildFlags & ImGuiChildFlags_ResizeY)) + size_auto_fit.x = window->SizeFull.x; + + // When the window cannot fit all contents (either because of constraints, either because screen is too small), + // we are growing the size on the other axis to compensate for expected scrollbar. FIXME: Might turn bigger than ViewportSize-WindowPadding. + ImVec2 size_auto_fit_after_constraint = CalcWindowSizeAfterConstraint(window, size_auto_fit); + bool will_have_scrollbar_x = (size_auto_fit_after_constraint.x - size_pad.x - decoration_w_without_scrollbars < size_contents.x && !(window->Flags & ImGuiWindowFlags_NoScrollbar) && (window->Flags & ImGuiWindowFlags_HorizontalScrollbar)) || (window->Flags & ImGuiWindowFlags_AlwaysHorizontalScrollbar); + bool will_have_scrollbar_y = (size_auto_fit_after_constraint.y - size_pad.y - decoration_h_without_scrollbars < size_contents.y && !(window->Flags & ImGuiWindowFlags_NoScrollbar)) || (window->Flags & ImGuiWindowFlags_AlwaysVerticalScrollbar); + if (will_have_scrollbar_x) + size_auto_fit.y += style.ScrollbarSize; + if (will_have_scrollbar_y) + size_auto_fit.x += style.ScrollbarSize; + return size_auto_fit; + } +} + +ImVec2 ImGui::CalcWindowNextAutoFitSize(ImGuiWindow* window) +{ + ImVec2 size_contents_current; + ImVec2 size_contents_ideal; + CalcWindowContentSizes(window, &size_contents_current, &size_contents_ideal); + ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, size_contents_ideal); + ImVec2 size_final = CalcWindowSizeAfterConstraint(window, size_auto_fit); + return size_final; +} + +static ImGuiCol GetWindowBgColorIdx(ImGuiWindow* window) +{ + if (window->Flags & (ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_Popup)) + return ImGuiCol_PopupBg; + if (window->Flags & ImGuiWindowFlags_ChildWindow) + return ImGuiCol_ChildBg; + return ImGuiCol_WindowBg; +} + +static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size) +{ + ImVec2 pos_min = ImLerp(corner_target, window->Pos, corner_norm); // Expected window upper-left + ImVec2 pos_max = ImLerp(window->Pos + window->Size, corner_target, corner_norm); // Expected window lower-right + ImVec2 size_expected = pos_max - pos_min; + ImVec2 size_constrained = CalcWindowSizeAfterConstraint(window, size_expected); + *out_pos = pos_min; + if (corner_norm.x == 0.0f) + out_pos->x -= (size_constrained.x - size_expected.x); + if (corner_norm.y == 0.0f) + out_pos->y -= (size_constrained.y - size_expected.y); + *out_size = size_constrained; +} + +// Data for resizing from resize grip / corner +struct ImGuiResizeGripDef +{ + ImVec2 CornerPosN; + ImVec2 InnerDir; + int AngleMin12, AngleMax12; +}; +static const ImGuiResizeGripDef resize_grip_def[4] = +{ + { ImVec2(1, 1), ImVec2(-1, -1), 0, 3 }, // Lower-right + { ImVec2(0, 1), ImVec2(+1, -1), 3, 6 }, // Lower-left + { ImVec2(0, 0), ImVec2(+1, +1), 6, 9 }, // Upper-left (Unused) + { ImVec2(1, 0), ImVec2(-1, +1), 9, 12 } // Upper-right (Unused) +}; + +// Data for resizing from borders +struct ImGuiResizeBorderDef +{ + ImVec2 InnerDir; // Normal toward inside + ImVec2 SegmentN1, SegmentN2; // End positions, normalized (0,0: upper left) + float OuterAngle; // Angle toward outside +}; +static const ImGuiResizeBorderDef resize_border_def[4] = +{ + { ImVec2(+1, 0), ImVec2(0, 1), ImVec2(0, 0), IM_PI * 1.00f }, // Left + { ImVec2(-1, 0), ImVec2(1, 0), ImVec2(1, 1), IM_PI * 0.00f }, // Right + { ImVec2(0, +1), ImVec2(0, 0), ImVec2(1, 0), IM_PI * 1.50f }, // Up + { ImVec2(0, -1), ImVec2(1, 1), ImVec2(0, 1), IM_PI * 0.50f } // Down +}; + +static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness) +{ + ImRect rect = window->Rect(); + if (thickness == 0.0f) + rect.Max -= ImVec2(1, 1); + if (border_n == ImGuiDir_Left) { return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x + thickness, rect.Max.y - perp_padding); } + if (border_n == ImGuiDir_Right) { return ImRect(rect.Max.x - thickness, rect.Min.y + perp_padding, rect.Max.x + thickness, rect.Max.y - perp_padding); } + if (border_n == ImGuiDir_Up) { return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); } + if (border_n == ImGuiDir_Down) { return ImRect(rect.Min.x + perp_padding, rect.Max.y - thickness, rect.Max.x - perp_padding, rect.Max.y + thickness); } + IM_ASSERT(0); + return ImRect(); +} + +// 0..3: corners (Lower-right, Lower-left, Unused, Unused) +ImGuiID ImGui::GetWindowResizeCornerID(ImGuiWindow* window, int n) +{ + IM_ASSERT(n >= 0 && n < 4); + ImGuiID id = window->ID; + id = ImHashStr("#RESIZE", 0, id); + id = ImHashData(&n, sizeof(int), id); + return id; +} + +// Borders (Left, Right, Up, Down) +ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) +{ + IM_ASSERT(dir >= 0 && dir < 4); + int n = (int)dir + 4; + ImGuiID id = window->ID; + id = ImHashStr("#RESIZE", 0, id); + id = ImHashData(&n, sizeof(int), id); + return id; +} + +// Handle resize for: Resize Grips, Borders, Gamepad +// Return true when using auto-fit (double-click on resize grip) +static int ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_hovered, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect) +{ + ImGuiContext& g = *GImGui; + ImGuiWindowFlags flags = window->Flags; + + if ((flags & ImGuiWindowFlags_NoResize) || (flags & ImGuiWindowFlags_AlwaysAutoResize) || window->AutoFitFramesX > 0 || window->AutoFitFramesY > 0) + return false; + if (window->WasActive == false) // Early out to avoid running this code for e.g. a hidden implicit/fallback Debug window. + return false; + + int ret_auto_fit_mask = 0x00; + const float grip_draw_size = IM_TRUNC(ImMax(g.FontSize * 1.35f, window->WindowRounding + 1.0f + g.FontSize * 0.2f)); + const float grip_hover_inner_size = (resize_grip_count > 0) ? IM_TRUNC(grip_draw_size * 0.75f) : 0.0f; + const float grip_hover_outer_size = g.WindowsBorderHoverPadding; + + ImRect clamp_rect = visibility_rect; + const bool window_move_from_title_bar = g.IO.ConfigWindowsMoveFromTitleBarOnly && !(window->Flags & ImGuiWindowFlags_NoTitleBar); + if (window_move_from_title_bar) + clamp_rect.Min.y -= window->TitleBarHeight; + + ImVec2 pos_target(FLT_MAX, FLT_MAX); + ImVec2 size_target(FLT_MAX, FLT_MAX); + + // Resize grips and borders are on layer 1 + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + + // Manual resize grips + PushID("#RESIZE"); + for (int resize_grip_n = 0; resize_grip_n < resize_grip_count; resize_grip_n++) + { + const ImGuiResizeGripDef& def = resize_grip_def[resize_grip_n]; + const ImVec2 corner = ImLerp(window->Pos, window->Pos + window->Size, def.CornerPosN); + + // Using the FlattenChilds button flag we make the resize button accessible even if we are hovering over a child window + bool hovered, held; + ImRect resize_rect(corner - def.InnerDir * grip_hover_outer_size, corner + def.InnerDir * grip_hover_inner_size); + if (resize_rect.Min.x > resize_rect.Max.x) ImSwap(resize_rect.Min.x, resize_rect.Max.x); + if (resize_rect.Min.y > resize_rect.Max.y) ImSwap(resize_rect.Min.y, resize_rect.Max.y); + ImGuiID resize_grip_id = window->GetID(resize_grip_n); // == GetWindowResizeCornerID() + ItemAdd(resize_rect, resize_grip_id, NULL, ImGuiItemFlags_NoNav); + ButtonBehavior(resize_rect, resize_grip_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); + //GetForegroundDrawList(window)->AddRect(resize_rect.Min, resize_rect.Max, IM_COL32(255, 255, 0, 255)); + if (hovered || held) + SetMouseCursor((resize_grip_n & 1) ? ImGuiMouseCursor_ResizeNESW : ImGuiMouseCursor_ResizeNWSE); + + if (held && g.IO.MouseDoubleClicked[0]) + { + // Auto-fit when double-clicking + size_target = CalcWindowSizeAfterConstraint(window, size_auto_fit); + ret_auto_fit_mask = 0x03; // Both axises + ClearActiveID(); + } + else if (held) + { + // Resize from any of the four corners + // We don't use an incremental MouseDelta but rather compute an absolute target size based on mouse position + ImVec2 clamp_min = ImVec2(def.CornerPosN.x == 1.0f ? clamp_rect.Min.x : -FLT_MAX, (def.CornerPosN.y == 1.0f || (def.CornerPosN.y == 0.0f && window_move_from_title_bar)) ? clamp_rect.Min.y : -FLT_MAX); + ImVec2 clamp_max = ImVec2(def.CornerPosN.x == 0.0f ? clamp_rect.Max.x : +FLT_MAX, def.CornerPosN.y == 0.0f ? clamp_rect.Max.y : +FLT_MAX); + ImVec2 corner_target = g.IO.MousePos - g.ActiveIdClickOffset + ImLerp(def.InnerDir * grip_hover_outer_size, def.InnerDir * -grip_hover_inner_size, def.CornerPosN); // Corner of the window corresponding to our corner grip + corner_target = ImClamp(corner_target, clamp_min, clamp_max); + CalcResizePosSizeFromAnyCorner(window, corner_target, def.CornerPosN, &pos_target, &size_target); + } + + // Only lower-left grip is visible before hovering/activating + if (resize_grip_n == 0 || held || hovered) + resize_grip_col[resize_grip_n] = GetColorU32(held ? ImGuiCol_ResizeGripActive : hovered ? ImGuiCol_ResizeGripHovered : ImGuiCol_ResizeGrip); + } + + int resize_border_mask = 0x00; + if (window->Flags & ImGuiWindowFlags_ChildWindow) + resize_border_mask |= ((window->ChildFlags & ImGuiChildFlags_ResizeX) ? 0x02 : 0) | ((window->ChildFlags & ImGuiChildFlags_ResizeY) ? 0x08 : 0); + else + resize_border_mask = g.IO.ConfigWindowsResizeFromEdges ? 0x0F : 0x00; + for (int border_n = 0; border_n < 4; border_n++) + { + if ((resize_border_mask & (1 << border_n)) == 0) + continue; + const ImGuiResizeBorderDef& def = resize_border_def[border_n]; + const ImGuiAxis axis = (border_n == ImGuiDir_Left || border_n == ImGuiDir_Right) ? ImGuiAxis_X : ImGuiAxis_Y; + + bool hovered, held; + ImRect border_rect = GetResizeBorderRect(window, border_n, grip_hover_inner_size, g.WindowsBorderHoverPadding); + ImGuiID border_id = window->GetID(border_n + 4); // == GetWindowResizeBorderID() + ItemAdd(border_rect, border_id, NULL, ImGuiItemFlags_NoNav); + ButtonBehavior(border_rect, border_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); + //GetForegroundDrawList(window)->AddRect(border_rect.Min, border_rect.Max, IM_COL32(255, 255, 0, 255)); + if (hovered && g.HoveredIdTimer <= WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER) + hovered = false; + if (hovered || held) + SetMouseCursor((axis == ImGuiAxis_X) ? ImGuiMouseCursor_ResizeEW : ImGuiMouseCursor_ResizeNS); + if (held && g.IO.MouseDoubleClicked[0]) + { + // Double-clicking bottom or right border auto-fit on this axis + // FIXME: CalcWindowAutoFitSize() doesn't take into account that only one side may be auto-fit when calculating scrollbars. + // FIXME: Support top and right borders: rework CalcResizePosSizeFromAnyCorner() to be reusable in both cases. + if (border_n == 1 || border_n == 3) // Right and bottom border + { + size_target[axis] = CalcWindowSizeAfterConstraint(window, size_auto_fit)[axis]; + ret_auto_fit_mask |= (1 << axis); + hovered = held = false; // So border doesn't show highlighted at new position + } + ClearActiveID(); + } + else if (held) + { + // Switch to relative resizing mode when border geometry moved (e.g. resizing a child altering parent scroll), in order to avoid resizing feedback loop. + // Currently only using relative mode on resizable child windows, as the problem to solve is more likely noticeable for them, but could apply for all windows eventually. + // FIXME: May want to generalize this idiom at lower-level, so more widgets can use it! + const bool just_scrolled_manually_while_resizing = (g.WheelingWindow != NULL && g.WheelingWindowScrolledFrame == g.FrameCount && IsWindowChildOf(window, g.WheelingWindow, false)); + if (g.ActiveIdIsJustActivated || just_scrolled_manually_while_resizing) + { + g.WindowResizeBorderExpectedRect = border_rect; + g.WindowResizeRelativeMode = false; + } + if ((window->Flags & ImGuiWindowFlags_ChildWindow) && memcmp(&g.WindowResizeBorderExpectedRect, &border_rect, sizeof(ImRect)) != 0) + g.WindowResizeRelativeMode = true; + + const ImVec2 border_curr = (window->Pos + ImMin(def.SegmentN1, def.SegmentN2) * window->Size); + const float border_target_rel_mode_for_axis = border_curr[axis] + g.IO.MouseDelta[axis]; + const float border_target_abs_mode_for_axis = g.IO.MousePos[axis] - g.ActiveIdClickOffset[axis] + g.WindowsBorderHoverPadding; // Match ButtonBehavior() padding above. + + // Use absolute mode position + ImVec2 border_target = window->Pos; + border_target[axis] = border_target_abs_mode_for_axis; + + // Use relative mode target for child window, ignore resize when moving back toward the ideal absolute position. + bool ignore_resize = false; + if (g.WindowResizeRelativeMode) + { + //GetForegroundDrawList()->AddText(GetMainViewport()->WorkPos, IM_COL32_WHITE, "Relative Mode"); + border_target[axis] = border_target_rel_mode_for_axis; + if (g.IO.MouseDelta[axis] == 0.0f || (g.IO.MouseDelta[axis] > 0.0f) == (border_target_rel_mode_for_axis > border_target_abs_mode_for_axis)) + ignore_resize = true; + } + + // Clamp, apply + ImVec2 clamp_min(border_n == ImGuiDir_Right ? clamp_rect.Min.x : -FLT_MAX, border_n == ImGuiDir_Down || (border_n == ImGuiDir_Up && window_move_from_title_bar) ? clamp_rect.Min.y : -FLT_MAX); + ImVec2 clamp_max(border_n == ImGuiDir_Left ? clamp_rect.Max.x : +FLT_MAX, border_n == ImGuiDir_Up ? clamp_rect.Max.y : +FLT_MAX); + border_target = ImClamp(border_target, clamp_min, clamp_max); + if (flags & ImGuiWindowFlags_ChildWindow) // Clamp resizing of childs within parent + { + ImGuiWindow* parent_window = window->ParentWindow; + ImGuiWindowFlags parent_flags = parent_window->Flags; + ImRect border_limit_rect = parent_window->InnerRect; + border_limit_rect.Expand(ImVec2(-ImMax(parent_window->WindowPadding.x, parent_window->WindowBorderSize), -ImMax(parent_window->WindowPadding.y, parent_window->WindowBorderSize))); + if ((axis == ImGuiAxis_X) && ((parent_flags & (ImGuiWindowFlags_HorizontalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar)) == 0 || (parent_flags & ImGuiWindowFlags_NoScrollbar))) + border_target.x = ImClamp(border_target.x, border_limit_rect.Min.x, border_limit_rect.Max.x); + if ((axis == ImGuiAxis_Y) && (parent_flags & ImGuiWindowFlags_NoScrollbar)) + border_target.y = ImClamp(border_target.y, border_limit_rect.Min.y, border_limit_rect.Max.y); + } + if (!ignore_resize) + CalcResizePosSizeFromAnyCorner(window, border_target, ImMin(def.SegmentN1, def.SegmentN2), &pos_target, &size_target); + } + if (hovered) + *border_hovered = border_n; + if (held) + *border_held = border_n; + } + PopID(); + + // Restore nav layer + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + + // Navigation resize (keyboard/gamepad) + // FIXME: This cannot be moved to NavUpdateWindowing() because CalcWindowSizeAfterConstraint() need to callback into user. + // Not even sure the callback works here. + if (g.NavWindowingTarget && g.NavWindowingTarget->RootWindow == window) + { + ImVec2 nav_resize_dir; + if (g.NavInputSource == ImGuiInputSource_Keyboard && g.IO.KeyShift) + nav_resize_dir = GetKeyMagnitude2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); + if (g.NavInputSource == ImGuiInputSource_Gamepad) + nav_resize_dir = GetKeyMagnitude2d(ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown); + if (nav_resize_dir.x != 0.0f || nav_resize_dir.y != 0.0f) + { + const float NAV_RESIZE_SPEED = 600.0f; + const float resize_step = NAV_RESIZE_SPEED * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaSize += nav_resize_dir * resize_step; + g.NavWindowingAccumDeltaSize = ImMax(g.NavWindowingAccumDeltaSize, clamp_rect.Min - window->Pos - window->Size); // We need Pos+Size >= clmap_rect.Min, so Size >= clmap_rect.Min - Pos, so size_delta >= clmap_rect.Min - window->Pos - window->Size + g.NavWindowingToggleLayer = false; + g.NavHighlightItemUnderNav = true; + resize_grip_col[0] = GetColorU32(ImGuiCol_ResizeGripActive); + ImVec2 accum_floored = ImTrunc(g.NavWindowingAccumDeltaSize); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + // FIXME-NAV: Should store and accumulate into a separate size buffer to handle sizing constraints properly, right now a constraint will make us stuck. + size_target = CalcWindowSizeAfterConstraint(window, window->SizeFull + accum_floored); + g.NavWindowingAccumDeltaSize -= accum_floored; + } + } + } + + // Apply back modified position/size to window + const ImVec2 curr_pos = window->Pos; + const ImVec2 curr_size = window->SizeFull; + if (size_target.x != FLT_MAX && (window->Size.x != size_target.x || window->SizeFull.x != size_target.x)) + window->Size.x = window->SizeFull.x = size_target.x; + if (size_target.y != FLT_MAX && (window->Size.y != size_target.y || window->SizeFull.y != size_target.y)) + window->Size.y = window->SizeFull.y = size_target.y; + if (pos_target.x != FLT_MAX && window->Pos.x != ImTrunc(pos_target.x)) + window->Pos.x = ImTrunc(pos_target.x); + if (pos_target.y != FLT_MAX && window->Pos.y != ImTrunc(pos_target.y)) + window->Pos.y = ImTrunc(pos_target.y); + if (curr_pos.x != window->Pos.x || curr_pos.y != window->Pos.y || curr_size.x != window->SizeFull.x || curr_size.y != window->SizeFull.y) + MarkIniSettingsDirty(window); + + // Recalculate next expected border expected coordinates + if (*border_held != -1) + g.WindowResizeBorderExpectedRect = GetResizeBorderRect(window, *border_held, grip_hover_inner_size, g.WindowsBorderHoverPadding); + + return ret_auto_fit_mask; +} + +static inline void ClampWindowPos(ImGuiWindow* window, const ImRect& visibility_rect) +{ + ImGuiContext& g = *GImGui; + ImVec2 size_for_clamping = window->Size; + if (g.IO.ConfigWindowsMoveFromTitleBarOnly && !(window->Flags & ImGuiWindowFlags_NoTitleBar)) + size_for_clamping.y = window->TitleBarHeight; + window->Pos = ImClamp(window->Pos, visibility_rect.Min - size_for_clamping, visibility_rect.Max); +} + +static void RenderWindowOuterSingleBorder(ImGuiWindow* window, int border_n, ImU32 border_col, float border_size) +{ + const ImGuiResizeBorderDef& def = resize_border_def[border_n]; + const float rounding = window->WindowRounding; + const ImRect border_r = GetResizeBorderRect(window, border_n, rounding, 0.0f); + window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.SegmentN1) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle - IM_PI * 0.25f, def.OuterAngle); + window->DrawList->PathArcTo(ImLerp(border_r.Min, border_r.Max, def.SegmentN2) + ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle, def.OuterAngle + IM_PI * 0.25f); + window->DrawList->PathStroke(border_col, ImDrawFlags_None, border_size); +} + +static void ImGui::RenderWindowOuterBorders(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + const float border_size = window->WindowBorderSize; + const ImU32 border_col = GetColorU32(ImGuiCol_Border); + if (border_size > 0.0f && (window->Flags & ImGuiWindowFlags_NoBackground) == 0) + window->DrawList->AddRect(window->Pos, window->Pos + window->Size, border_col, window->WindowRounding, 0, window->WindowBorderSize); + else if (border_size > 0.0f) + { + if (window->ChildFlags & ImGuiChildFlags_ResizeX) // Similar code as 'resize_border_mask' computation in UpdateWindowManualResize() but we specifically only always draw explicit child resize border. + RenderWindowOuterSingleBorder(window, 1, border_col, border_size); + if (window->ChildFlags & ImGuiChildFlags_ResizeY) + RenderWindowOuterSingleBorder(window, 3, border_col, border_size); + } + if (window->ResizeBorderHovered != -1 || window->ResizeBorderHeld != -1) + { + const int border_n = (window->ResizeBorderHeld != -1) ? window->ResizeBorderHeld : window->ResizeBorderHovered; + const ImU32 border_col_resizing = GetColorU32((window->ResizeBorderHeld != -1) ? ImGuiCol_SeparatorActive : ImGuiCol_SeparatorHovered); + RenderWindowOuterSingleBorder(window, border_n, border_col_resizing, ImMax(2.0f, window->WindowBorderSize)); // Thicker than usual + } + if (g.Style.FrameBorderSize > 0 && !(window->Flags & ImGuiWindowFlags_NoTitleBar)) + { + float y = window->Pos.y + window->TitleBarHeight - 1; + window->DrawList->AddLine(ImVec2(window->Pos.x + border_size * 0.5f, y), ImVec2(window->Pos.x + window->Size.x - border_size * 0.5f, y), border_col, g.Style.FrameBorderSize); + } +} + +// Draw background and borders +// Draw and handle scrollbars +void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar_rect, bool title_bar_is_highlight, bool handle_borders_and_resize_grips, int resize_grip_count, const ImU32 resize_grip_col[4], float resize_grip_draw_size) +{ + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + ImGuiWindowFlags flags = window->Flags; + + // Ensure that Scrollbar() doesn't read last frame's SkipItems + IM_ASSERT(window->BeginCount == 0); + window->SkipItems = false; + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + + // Draw window + handle manual resize + // As we highlight the title bar when want_focus is set, multiple reappearing windows will have their title bar highlighted on their reappearing frame. + const float window_rounding = window->WindowRounding; + const float window_border_size = window->WindowBorderSize; + if (window->Collapsed) + { + // Title bar only + const float backup_border_size = style.FrameBorderSize; + g.Style.FrameBorderSize = window->WindowBorderSize; + ImU32 title_bar_col = GetColorU32((title_bar_is_highlight && g.NavCursorVisible) ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBgCollapsed); + RenderFrame(title_bar_rect.Min, title_bar_rect.Max, title_bar_col, true, window_rounding); + g.Style.FrameBorderSize = backup_border_size; + } + else + { + // Window background + if (!(flags & ImGuiWindowFlags_NoBackground)) + { + ImU32 bg_col = GetColorU32(GetWindowBgColorIdx(window)); + bool override_alpha = false; + float alpha = 1.0f; + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasBgAlpha) + { + alpha = g.NextWindowData.BgAlphaVal; + override_alpha = true; + } + if (override_alpha) + bg_col = (bg_col & ~IM_COL32_A_MASK) | (IM_F32_TO_INT8_SAT(alpha) << IM_COL32_A_SHIFT); + window->DrawList->AddRectFilled(window->Pos + ImVec2(0, window->TitleBarHeight), window->Pos + window->Size, bg_col, window_rounding, (flags & ImGuiWindowFlags_NoTitleBar) ? 0 : ImDrawFlags_RoundCornersBottom); + } + + // Draw window shadow + if (style.WindowShadowSize > 0.0f && (!(flags & ImGuiWindowFlags_ChildWindow) || (flags & ImGuiWindowFlags_Popup))) + if (style.Colors[ImGuiCol_WindowShadow].w > 0.0f) + RenderWindowShadow(window); + + // Title bar + if (!(flags & ImGuiWindowFlags_NoTitleBar)) + { + ImU32 title_bar_col = GetColorU32(title_bar_is_highlight ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBg); + window->DrawList->AddRectFilled(title_bar_rect.Min, title_bar_rect.Max, title_bar_col, window_rounding, ImDrawFlags_RoundCornersTop); + } + + // Menu bar + if (flags & ImGuiWindowFlags_MenuBar) + { + ImRect menu_bar_rect = window->MenuBarRect(); + menu_bar_rect.ClipWith(window->Rect()); // Soft clipping, in particular child window don't have minimum size covering the menu bar so this is useful for them. + window->DrawList->AddRectFilled(menu_bar_rect.Min, menu_bar_rect.Max, GetColorU32(ImGuiCol_MenuBarBg), (flags & ImGuiWindowFlags_NoTitleBar) ? window_rounding : 0.0f, ImDrawFlags_RoundCornersTop); + if (style.FrameBorderSize > 0.0f && menu_bar_rect.Max.y < window->Pos.y + window->Size.y) + window->DrawList->AddLine(menu_bar_rect.GetBL() + ImVec2(window_border_size * 0.5f, 0.0f), menu_bar_rect.GetBR() - ImVec2(window_border_size * 0.5f, 0.0f), GetColorU32(ImGuiCol_Border), style.FrameBorderSize); + } + + // Scrollbars + if (window->ScrollbarX) + Scrollbar(ImGuiAxis_X); + if (window->ScrollbarY) + Scrollbar(ImGuiAxis_Y); + + // Render resize grips (after their input handling so we don't have a frame of latency) + if (handle_borders_and_resize_grips && !(flags & ImGuiWindowFlags_NoResize)) + { + for (int resize_grip_n = 0; resize_grip_n < resize_grip_count; resize_grip_n++) + { + const ImU32 col = resize_grip_col[resize_grip_n]; + if ((col & IM_COL32_A_MASK) == 0) + continue; + const ImGuiResizeGripDef& grip = resize_grip_def[resize_grip_n]; + const ImVec2 corner = ImLerp(window->Pos, window->Pos + window->Size, grip.CornerPosN); + const float border_inner = IM_ROUND(window_border_size * 0.5f); + window->DrawList->PathLineTo(corner + grip.InnerDir * ((resize_grip_n & 1) ? ImVec2(border_inner, resize_grip_draw_size) : ImVec2(resize_grip_draw_size, border_inner))); + window->DrawList->PathLineTo(corner + grip.InnerDir * ((resize_grip_n & 1) ? ImVec2(resize_grip_draw_size, border_inner) : ImVec2(border_inner, resize_grip_draw_size))); + window->DrawList->PathArcToFast(ImVec2(corner.x + grip.InnerDir.x * (window_rounding + border_inner), corner.y + grip.InnerDir.y * (window_rounding + border_inner)), window_rounding, grip.AngleMin12, grip.AngleMax12); + window->DrawList->PathFillConvex(col); + } + } + + // Borders + if (handle_borders_and_resize_grips) + RenderWindowOuterBorders(window); + } + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; +} + +void ImGui::RenderWindowShadow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + float shadow_size = style.WindowShadowSize; + ImU32 shadow_col = GetColorU32(ImGuiCol_WindowShadow); + ImVec2 shadow_offset = ImVec2(ImCos(style.WindowShadowOffsetAngle), ImSin(style.WindowShadowOffsetAngle)) * style.WindowShadowOffsetDist; + window->DrawList->AddShadowRect(window->Pos, window->Pos + window->Size, shadow_col, shadow_size, shadow_offset, ImDrawFlags_ShadowCutOutShapeBackground, window->WindowRounding); +} + +// Render title text, collapse button, close button +void ImGui::RenderWindowTitleBarContents(ImGuiWindow* window, const ImRect& title_bar_rect, const char* name, bool* p_open) +{ + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + ImGuiWindowFlags flags = window->Flags; + + const bool has_close_button = (p_open != NULL); + const bool has_collapse_button = !(flags & ImGuiWindowFlags_NoCollapse) && (style.WindowMenuButtonPosition != ImGuiDir_None); + + // Close & Collapse button are on the Menu NavLayer and don't default focus (unless there's nothing else on that layer) + // FIXME-NAV: Might want (or not?) to set the equivalent of ImGuiButtonFlags_NoNavFocus so that mouse clicks on standard title bar items don't necessarily set nav/keyboard ref? + const ImGuiItemFlags item_flags_backup = g.CurrentItemFlags; + g.CurrentItemFlags |= ImGuiItemFlags_NoNavDefaultFocus; + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + + // Layout buttons + // FIXME: Would be nice to generalize the subtleties expressed here into reusable code. + float pad_l = style.FramePadding.x; + float pad_r = style.FramePadding.x; + float button_sz = g.FontSize; + ImVec2 close_button_pos; + ImVec2 collapse_button_pos; + if (has_close_button) + { + close_button_pos = ImVec2(title_bar_rect.Max.x - pad_r - button_sz, title_bar_rect.Min.y + style.FramePadding.y); + pad_r += button_sz + style.ItemInnerSpacing.x; + } + if (has_collapse_button && style.WindowMenuButtonPosition == ImGuiDir_Right) + { + collapse_button_pos = ImVec2(title_bar_rect.Max.x - pad_r - button_sz, title_bar_rect.Min.y + style.FramePadding.y); + pad_r += button_sz + style.ItemInnerSpacing.x; + } + if (has_collapse_button && style.WindowMenuButtonPosition == ImGuiDir_Left) + { + collapse_button_pos = ImVec2(title_bar_rect.Min.x + pad_l, title_bar_rect.Min.y + style.FramePadding.y); + pad_l += button_sz + style.ItemInnerSpacing.x; + } + + // Collapse button (submitting first so it gets priority when choosing a navigation init fallback) + if (has_collapse_button) + if (CollapseButton(window->GetID("#COLLAPSE"), collapse_button_pos)) + window->WantCollapseToggle = true; // Defer actual collapsing to next frame as we are too far in the Begin() function + + // Close button + if (has_close_button) + if (CloseButton(window->GetID("#CLOSE"), close_button_pos)) + *p_open = false; + + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + g.CurrentItemFlags = item_flags_backup; + + // Title bar text (with: horizontal alignment, avoiding collapse/close button, optional "unsaved document" marker) + // FIXME: Refactor text alignment facilities along with RenderText helpers, this is WAY too much messy code.. + const float marker_size_x = (flags & ImGuiWindowFlags_UnsavedDocument) ? button_sz * 0.80f : 0.0f; + const ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f); + + // As a nice touch we try to ensure that centered title text doesn't get affected by visibility of Close/Collapse button, + // while uncentered title text will still reach edges correctly. + if (pad_l > style.FramePadding.x) + pad_l += g.Style.ItemInnerSpacing.x; + if (pad_r > style.FramePadding.x) + pad_r += g.Style.ItemInnerSpacing.x; + if (style.WindowTitleAlign.x > 0.0f && style.WindowTitleAlign.x < 1.0f) + { + float centerness = ImSaturate(1.0f - ImFabs(style.WindowTitleAlign.x - 0.5f) * 2.0f); // 0.0f on either edges, 1.0f on center + float pad_extend = ImMin(ImMax(pad_l, pad_r), title_bar_rect.GetWidth() - pad_l - pad_r - text_size.x); + pad_l = ImMax(pad_l, pad_extend * centerness); + pad_r = ImMax(pad_r, pad_extend * centerness); + } + + ImRect layout_r(title_bar_rect.Min.x + pad_l, title_bar_rect.Min.y, title_bar_rect.Max.x - pad_r, title_bar_rect.Max.y); + ImRect clip_r(layout_r.Min.x, layout_r.Min.y, ImMin(layout_r.Max.x + g.Style.ItemInnerSpacing.x, title_bar_rect.Max.x), layout_r.Max.y); + if (flags & ImGuiWindowFlags_UnsavedDocument) + { + ImVec2 marker_pos; + marker_pos.x = ImClamp(layout_r.Min.x + (layout_r.GetWidth() - text_size.x) * style.WindowTitleAlign.x + text_size.x, layout_r.Min.x, layout_r.Max.x); + marker_pos.y = (layout_r.Min.y + layout_r.Max.y) * 0.5f; + if (marker_pos.x > layout_r.Min.x) + { + RenderBullet(window->DrawList, marker_pos, GetColorU32(ImGuiCol_Text)); + clip_r.Max.x = ImMin(clip_r.Max.x, marker_pos.x - (int)(marker_size_x * 0.5f)); + } + } + //if (g.IO.KeyShift) window->DrawList->AddRect(layout_r.Min, layout_r.Max, IM_COL32(255, 128, 0, 255)); // [DEBUG] + //if (g.IO.KeyCtrl) window->DrawList->AddRect(clip_r.Min, clip_r.Max, IM_COL32(255, 128, 0, 255)); // [DEBUG] + RenderTextClipped(layout_r.Min, layout_r.Max, name, NULL, &text_size, style.WindowTitleAlign, &clip_r); +} + +void ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parent_window) +{ + window->ParentWindow = parent_window; + window->RootWindow = window->RootWindowPopupTree = window->RootWindowForTitleBarHighlight = window->RootWindowForNav = window; + if (parent_window && (flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_Tooltip)) + window->RootWindow = parent_window->RootWindow; + if (parent_window && (flags & ImGuiWindowFlags_Popup)) + window->RootWindowPopupTree = parent_window->RootWindowPopupTree; + if (parent_window && !(flags & ImGuiWindowFlags_Modal) && (flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Popup))) + window->RootWindowForTitleBarHighlight = parent_window->RootWindowForTitleBarHighlight; + while (window->RootWindowForNav->ChildFlags & ImGuiChildFlags_NavFlattened) + { + IM_ASSERT(window->RootWindowForNav->ParentWindow != NULL); + window->RootWindowForNav = window->RootWindowForNav->ParentWindow; + } +} + +// [EXPERIMENTAL] Called by Begin(). NextWindowData is valid at this point. +// This is designed as a toy/test-bed for +void ImGui::UpdateWindowSkipRefresh(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + window->SkipRefresh = false; + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasRefreshPolicy) == 0) + return; + if (g.NextWindowData.RefreshFlagsVal & ImGuiWindowRefreshFlags_TryToAvoidRefresh) + { + // FIXME-IDLE: Tests for e.g. mouse clicks or keyboard while focused. + if (window->Appearing) // If currently appearing + return; + if (window->Hidden) // If was hidden (previous frame) + return; + if ((g.NextWindowData.RefreshFlagsVal & ImGuiWindowRefreshFlags_RefreshOnHover) && g.HoveredWindow) + if (window->RootWindow == g.HoveredWindow->RootWindow || IsWindowWithinBeginStackOf(g.HoveredWindow->RootWindow, window)) + return; + if ((g.NextWindowData.RefreshFlagsVal & ImGuiWindowRefreshFlags_RefreshOnFocus) && g.NavWindow) + if (window->RootWindow == g.NavWindow->RootWindow || IsWindowWithinBeginStackOf(g.NavWindow->RootWindow, window)) + return; + window->DrawList = NULL; + window->SkipRefresh = true; + } +} + +static void SetWindowActiveForSkipRefresh(ImGuiWindow* window) +{ + window->Active = true; + for (ImGuiWindow* child : window->DC.ChildWindows) + if (!child->Hidden) + { + child->Active = child->SkipRefresh = true; + SetWindowActiveForSkipRefresh(child); + } +} + +// Push a new Dear ImGui window to add widgets to. +// - A default window called "Debug" is automatically stacked at the beginning of every frame so you can use widgets without explicitly calling a Begin/End pair. +// - Begin/End can be called multiple times during the frame with the same window name to append content. +// - The window name is used as a unique identifier to preserve window information across frames (and save rudimentary information to the .ini file). +// You can use the "##" or "###" markers to use the same label with different id, or same id with different label. See documentation at the top of this file. +// - Return false when window is collapsed, so you can early out in your code. You always need to call ImGui::End() even if false is returned. +// - Passing 'bool* p_open' displays a Close button on the upper-right corner of the window, the pointed value will be set to false when the button is pressed. +bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + IM_ASSERT(name != NULL && name[0] != '\0'); // Window name required + IM_ASSERT(g.WithinFrameScope); // Forgot to call ImGui::NewFrame() + IM_ASSERT(g.FrameCountEnded != g.FrameCount); // Called ImGui::Render() or ImGui::EndFrame() and haven't called ImGui::NewFrame() again yet + + // Find or create + ImGuiWindow* window = FindWindowByName(name); + const bool window_just_created = (window == NULL); + if (window_just_created) + window = CreateNewWindow(name, flags); + + // [DEBUG] Debug break requested by user + if (g.DebugBreakInWindow == window->ID) + IM_DEBUG_BREAK(); + + // Automatically disable manual moving/resizing when NoInputs is set + if ((flags & ImGuiWindowFlags_NoInputs) == ImGuiWindowFlags_NoInputs) + flags |= ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize; + + const int current_frame = g.FrameCount; + const bool first_begin_of_the_frame = (window->LastFrameActive != current_frame); + window->IsFallbackWindow = (g.CurrentWindowStack.Size == 0 && g.WithinFrameScopeWithImplicitWindow); + + // Update the Appearing flag + bool window_just_activated_by_user = (window->LastFrameActive < current_frame - 1); // Not using !WasActive because the implicit "Debug" window would always toggle off->on + if (flags & ImGuiWindowFlags_Popup) + { + ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; + window_just_activated_by_user |= (window->PopupId != popup_ref.PopupId); // We recycle popups so treat window as activated if popup id changed + window_just_activated_by_user |= (window != popup_ref.Window); + } + window->Appearing = window_just_activated_by_user; + if (window->Appearing) + SetWindowConditionAllowFlags(window, ImGuiCond_Appearing, true); + + // Update Flags, LastFrameActive, BeginOrderXXX fields + if (first_begin_of_the_frame) + { + UpdateWindowInFocusOrderList(window, window_just_created, flags); + window->Flags = (ImGuiWindowFlags)flags; + window->ChildFlags = (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasChildFlags) ? g.NextWindowData.ChildFlags : 0; + window->LastFrameActive = current_frame; + window->LastTimeActive = (float)g.Time; + window->BeginOrderWithinParent = 0; + window->BeginOrderWithinContext = (short)(g.WindowsActiveCount++); + } + else + { + flags = window->Flags; + } + + // Parent window is latched only on the first call to Begin() of the frame, so further append-calls can be done from a different window stack + ImGuiWindow* parent_window_in_stack = g.CurrentWindowStack.empty() ? NULL : g.CurrentWindowStack.back().Window; + ImGuiWindow* parent_window = first_begin_of_the_frame ? ((flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Popup)) ? parent_window_in_stack : NULL) : window->ParentWindow; + IM_ASSERT(parent_window != NULL || !(flags & ImGuiWindowFlags_ChildWindow)); + + // We allow window memory to be compacted so recreate the base stack when needed. + if (window->IDStack.Size == 0) + window->IDStack.push_back(window->ID); + + // Add to stack + g.CurrentWindow = window; + g.CurrentWindowStack.resize(g.CurrentWindowStack.Size + 1); + ImGuiWindowStackData& window_stack_data = g.CurrentWindowStack.back(); + window_stack_data.Window = window; + window_stack_data.ParentLastItemDataBackup = g.LastItemData; + window_stack_data.DisabledOverrideReenable = (flags & ImGuiWindowFlags_Tooltip) && (g.CurrentItemFlags & ImGuiItemFlags_Disabled); + ErrorRecoveryStoreState(&window_stack_data.StackSizesInBegin); + g.StackSizesInBeginForCurrentWindow = &window_stack_data.StackSizesInBegin; + if (flags & ImGuiWindowFlags_ChildMenu) + g.BeginMenuDepth++; + + // Update ->RootWindow and others pointers (before any possible call to FocusWindow) + if (first_begin_of_the_frame) + { + UpdateWindowParentAndRootLinks(window, flags, parent_window); + window->ParentWindowInBeginStack = parent_window_in_stack; + + // There's little point to expose a flag to set this: because the interesting cases won't be using parent_window_in_stack, + // e.g. linking a tool window in a standalone viewport to a document window, regardless of their Begin() stack parenting. (#6798) + window->ParentWindowForFocusRoute = (flags & ImGuiWindowFlags_ChildWindow) ? parent_window_in_stack : NULL; + + // Inherent SetWindowFontScale() from parent until we fix this system... + window->FontWindowScaleParents = parent_window ? parent_window->FontWindowScaleParents * parent_window->FontWindowScale : 1.0f; + } + + // Add to focus scope stack + PushFocusScope((window->ChildFlags & ImGuiChildFlags_NavFlattened) ? g.CurrentFocusScopeId : window->ID); + window->NavRootFocusScopeId = g.CurrentFocusScopeId; + + // Add to popup stacks: update OpenPopupStack[] data, push to BeginPopupStack[] + if (flags & ImGuiWindowFlags_Popup) + { + ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; + popup_ref.Window = window; + popup_ref.ParentNavLayer = parent_window_in_stack->DC.NavLayerCurrent; + g.BeginPopupStack.push_back(popup_ref); + window->PopupId = popup_ref.PopupId; + } + + // Process SetNextWindow***() calls + // (FIXME: Consider splitting the HasXXX flags into X/Y components + bool window_pos_set_by_api = false; + bool window_size_x_set_by_api = false, window_size_y_set_by_api = false; + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasPos) + { + window_pos_set_by_api = (window->SetWindowPosAllowFlags & g.NextWindowData.PosCond) != 0; + if (window_pos_set_by_api && ImLengthSqr(g.NextWindowData.PosPivotVal) > 0.00001f) + { + // May be processed on the next frame if this is our first frame and we are measuring size + // FIXME: Look into removing the branch so everything can go through this same code path for consistency. + window->SetWindowPosVal = g.NextWindowData.PosVal; + window->SetWindowPosPivot = g.NextWindowData.PosPivotVal; + window->SetWindowPosAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); + } + else + { + SetWindowPos(window, g.NextWindowData.PosVal, g.NextWindowData.PosCond); + } + } + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) + { + window_size_x_set_by_api = (window->SetWindowSizeAllowFlags & g.NextWindowData.SizeCond) != 0 && (g.NextWindowData.SizeVal.x > 0.0f); + window_size_y_set_by_api = (window->SetWindowSizeAllowFlags & g.NextWindowData.SizeCond) != 0 && (g.NextWindowData.SizeVal.y > 0.0f); + if ((window->ChildFlags & ImGuiChildFlags_ResizeX) && (window->SetWindowSizeAllowFlags & ImGuiCond_FirstUseEver) == 0) // Axis-specific conditions for BeginChild() + g.NextWindowData.SizeVal.x = window->SizeFull.x; + if ((window->ChildFlags & ImGuiChildFlags_ResizeY) && (window->SetWindowSizeAllowFlags & ImGuiCond_FirstUseEver) == 0) + g.NextWindowData.SizeVal.y = window->SizeFull.y; + SetWindowSize(window, g.NextWindowData.SizeVal, g.NextWindowData.SizeCond); + } + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasScroll) + { + if (g.NextWindowData.ScrollVal.x >= 0.0f) + { + window->ScrollTarget.x = g.NextWindowData.ScrollVal.x; + window->ScrollTargetCenterRatio.x = 0.0f; + } + if (g.NextWindowData.ScrollVal.y >= 0.0f) + { + window->ScrollTarget.y = g.NextWindowData.ScrollVal.y; + window->ScrollTargetCenterRatio.y = 0.0f; + } + } + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasContentSize) + window->ContentSizeExplicit = g.NextWindowData.ContentSizeVal; + else if (first_begin_of_the_frame) + window->ContentSizeExplicit = ImVec2(0.0f, 0.0f); + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasCollapsed) + SetWindowCollapsed(window, g.NextWindowData.CollapsedVal, g.NextWindowData.CollapsedCond); + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasFocus) + FocusWindow(window); + if (window->Appearing) + SetWindowConditionAllowFlags(window, ImGuiCond_Appearing, false); + + // [EXPERIMENTAL] Skip Refresh mode + UpdateWindowSkipRefresh(window); + + // Nested root windows (typically tooltips) override disabled state + if (window_stack_data.DisabledOverrideReenable && window->RootWindow == window) + BeginDisabledOverrideReenable(); + + // We intentionally set g.CurrentWindow to NULL to prevent usage until when the viewport is set, then will call SetCurrentWindow() + g.CurrentWindow = NULL; + + // When reusing window again multiple times a frame, just append content (don't need to setup again) + if (first_begin_of_the_frame && !window->SkipRefresh) + { + // Initialize + const bool window_is_child_tooltip = (flags & ImGuiWindowFlags_ChildWindow) && (flags & ImGuiWindowFlags_Tooltip); // FIXME-WIP: Undocumented behavior of Child+Tooltip for pinned tooltip (#1345) + const bool window_just_appearing_after_hidden_for_resize = (window->HiddenFramesCannotSkipItems > 0); + window->Active = true; + window->HasCloseButton = (p_open != NULL); + window->ClipRect = ImVec4(-FLT_MAX, -FLT_MAX, +FLT_MAX, +FLT_MAX); + window->IDStack.resize(1); + window->DrawList->_ResetForNewFrame(); + window->DC.CurrentTableIdx = -1; + + // Restore buffer capacity when woken from a compacted state, to avoid + if (window->MemoryCompacted) + GcAwakeTransientWindowBuffers(window); + + // Update stored window name when it changes (which can _only_ happen with the "###" operator, so the ID would stay unchanged). + // The title bar always display the 'name' parameter, so we only update the string storage if it needs to be visible to the end-user elsewhere. + bool window_title_visible_elsewhere = false; + if (g.NavWindowingListWindow != NULL && (window->Flags & ImGuiWindowFlags_NoNavFocus) == 0) // Window titles visible when using CTRL+TAB + window_title_visible_elsewhere = true; + if (window_title_visible_elsewhere && !window_just_created && strcmp(name, window->Name) != 0) + { + size_t buf_len = (size_t)window->NameBufLen; + window->Name = ImStrdupcpy(window->Name, &buf_len, name); + window->NameBufLen = (int)buf_len; + } + + // UPDATE CONTENTS SIZE, UPDATE HIDDEN STATUS + + // Update contents size from last frame for auto-fitting (or use explicit size) + CalcWindowContentSizes(window, &window->ContentSize, &window->ContentSizeIdeal); + if (window->HiddenFramesCanSkipItems > 0) + window->HiddenFramesCanSkipItems--; + if (window->HiddenFramesCannotSkipItems > 0) + window->HiddenFramesCannotSkipItems--; + if (window->HiddenFramesForRenderOnly > 0) + window->HiddenFramesForRenderOnly--; + + // Hide new windows for one frame until they calculate their size + if (window_just_created && (!window_size_x_set_by_api || !window_size_y_set_by_api)) + window->HiddenFramesCannotSkipItems = 1; + + // Hide popup/tooltip window when re-opening while we measure size (because we recycle the windows) + // We reset Size/ContentSize for reappearing popups/tooltips early in this function, so further code won't be tempted to use the old size. + if (window_just_activated_by_user && (flags & (ImGuiWindowFlags_Popup | ImGuiWindowFlags_Tooltip)) != 0) + { + window->HiddenFramesCannotSkipItems = 1; + if (flags & ImGuiWindowFlags_AlwaysAutoResize) + { + if (!window_size_x_set_by_api) + window->Size.x = window->SizeFull.x = 0.f; + if (!window_size_y_set_by_api) + window->Size.y = window->SizeFull.y = 0.f; + window->ContentSize = window->ContentSizeIdeal = ImVec2(0.f, 0.f); + } + } + + // SELECT VIEWPORT + // FIXME-VIEWPORT: In the docking/viewport branch, this is the point where we select the current viewport (which may affect the style) + + ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)GetMainViewport(); + SetWindowViewport(window, viewport); + SetCurrentWindow(window); + + // LOCK BORDER SIZE AND PADDING FOR THE FRAME (so that altering them doesn't cause inconsistencies) + + if (flags & ImGuiWindowFlags_ChildWindow) + window->WindowBorderSize = style.ChildBorderSize; + else + window->WindowBorderSize = ((flags & (ImGuiWindowFlags_Popup | ImGuiWindowFlags_Tooltip)) && !(flags & ImGuiWindowFlags_Modal)) ? style.PopupBorderSize : style.WindowBorderSize; + window->WindowPadding = style.WindowPadding; + if ((flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_Popup) && !(window->ChildFlags & ImGuiChildFlags_AlwaysUseWindowPadding) && window->WindowBorderSize == 0.0f) + window->WindowPadding = ImVec2(0.0f, (flags & ImGuiWindowFlags_MenuBar) ? style.WindowPadding.y : 0.0f); + + // Lock menu offset so size calculation can use it as menu-bar windows need a minimum size. + window->DC.MenuBarOffset.x = ImMax(ImMax(window->WindowPadding.x, style.ItemSpacing.x), g.NextWindowData.MenuBarOffsetMinVal.x); + window->DC.MenuBarOffset.y = g.NextWindowData.MenuBarOffsetMinVal.y; + window->TitleBarHeight = (flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : g.FontSize + g.Style.FramePadding.y * 2.0f; + window->MenuBarHeight = (flags & ImGuiWindowFlags_MenuBar) ? window->DC.MenuBarOffset.y + g.FontSize + g.Style.FramePadding.y * 2.0f : 0.0f; + window->FontRefSize = g.FontSize; // Lock this to discourage calling window->CalcFontSize() outside of current window. + + // Depending on condition we use previous or current window size to compare against contents size to decide if a scrollbar should be visible. + // Those flags will be altered further down in the function depending on more conditions. + bool use_current_size_for_scrollbar_x = window_just_created; + bool use_current_size_for_scrollbar_y = window_just_created; + if (window_size_x_set_by_api && window->ContentSizeExplicit.x != 0.0f) + use_current_size_for_scrollbar_x = true; + if (window_size_y_set_by_api && window->ContentSizeExplicit.y != 0.0f) // #7252 + use_current_size_for_scrollbar_y = true; + + // Collapse window by double-clicking on title bar + // At this point we don't have a clipping rectangle setup yet, so we can use the title bar area for hit detection and drawing + if (!(flags & ImGuiWindowFlags_NoTitleBar) && !(flags & ImGuiWindowFlags_NoCollapse)) + { + // We don't use a regular button+id to test for double-click on title bar (mostly due to legacy reason, could be fixed), + // so verify that we don't have items over the title bar. + ImRect title_bar_rect = window->TitleBarRect(); + if (g.HoveredWindow == window && g.HoveredId == 0 && g.HoveredIdPreviousFrame == 0 && g.ActiveId == 0 && IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max)) + if (g.IO.MouseClickedCount[0] == 2 && GetKeyOwner(ImGuiKey_MouseLeft) == ImGuiKeyOwner_NoOwner) + window->WantCollapseToggle = true; + if (window->WantCollapseToggle) + { + window->Collapsed = !window->Collapsed; + if (!window->Collapsed) + use_current_size_for_scrollbar_y = true; + MarkIniSettingsDirty(window); + } + } + else + { + window->Collapsed = false; + } + window->WantCollapseToggle = false; + + // SIZE + + // Outer Decoration Sizes + // (we need to clear ScrollbarSize immediately as CalcWindowAutoFitSize() needs it and can be called from other locations). + const ImVec2 scrollbar_sizes_from_last_frame = window->ScrollbarSizes; + window->DecoOuterSizeX1 = 0.0f; + window->DecoOuterSizeX2 = 0.0f; + window->DecoOuterSizeY1 = window->TitleBarHeight + window->MenuBarHeight; + window->DecoOuterSizeY2 = 0.0f; + window->ScrollbarSizes = ImVec2(0.0f, 0.0f); + + // Calculate auto-fit size, handle automatic resize + const ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, window->ContentSizeIdeal); + if ((flags & ImGuiWindowFlags_AlwaysAutoResize) && !window->Collapsed) + { + // Using SetNextWindowSize() overrides ImGuiWindowFlags_AlwaysAutoResize, so it can be used on tooltips/popups, etc. + if (!window_size_x_set_by_api) + { + window->SizeFull.x = size_auto_fit.x; + use_current_size_for_scrollbar_x = true; + } + if (!window_size_y_set_by_api) + { + window->SizeFull.y = size_auto_fit.y; + use_current_size_for_scrollbar_y = true; + } + } + else if (window->AutoFitFramesX > 0 || window->AutoFitFramesY > 0) + { + // Auto-fit may only grow window during the first few frames + // We still process initial auto-fit on collapsed windows to get a window width, but otherwise don't honor ImGuiWindowFlags_AlwaysAutoResize when collapsed. + if (!window_size_x_set_by_api && window->AutoFitFramesX > 0) + { + window->SizeFull.x = window->AutoFitOnlyGrows ? ImMax(window->SizeFull.x, size_auto_fit.x) : size_auto_fit.x; + use_current_size_for_scrollbar_x = true; + } + if (!window_size_y_set_by_api && window->AutoFitFramesY > 0) + { + window->SizeFull.y = window->AutoFitOnlyGrows ? ImMax(window->SizeFull.y, size_auto_fit.y) : size_auto_fit.y; + use_current_size_for_scrollbar_y = true; + } + if (!window->Collapsed) + MarkIniSettingsDirty(window); + } + + // Apply minimum/maximum window size constraints and final size + window->SizeFull = CalcWindowSizeAfterConstraint(window, window->SizeFull); + window->Size = window->Collapsed && !(flags & ImGuiWindowFlags_ChildWindow) ? window->TitleBarRect().GetSize() : window->SizeFull; + + // POSITION + + // Popup latch its initial position, will position itself when it appears next frame + if (window_just_activated_by_user) + { + window->AutoPosLastDirection = ImGuiDir_None; + if ((flags & ImGuiWindowFlags_Popup) != 0 && !(flags & ImGuiWindowFlags_Modal) && !window_pos_set_by_api) // FIXME: BeginPopup() could use SetNextWindowPos() + window->Pos = g.BeginPopupStack.back().OpenPopupPos; + } + + // Position child window + if (flags & ImGuiWindowFlags_ChildWindow) + { + IM_ASSERT(parent_window && parent_window->Active); + window->BeginOrderWithinParent = (short)parent_window->DC.ChildWindows.Size; + parent_window->DC.ChildWindows.push_back(window); + if (!(flags & ImGuiWindowFlags_Popup) && !window_pos_set_by_api && !window_is_child_tooltip) + window->Pos = parent_window->DC.CursorPos; + } + + const bool window_pos_with_pivot = (window->SetWindowPosVal.x != FLT_MAX && window->HiddenFramesCannotSkipItems == 0); + if (window_pos_with_pivot) + SetWindowPos(window, window->SetWindowPosVal - window->Size * window->SetWindowPosPivot, 0); // Position given a pivot (e.g. for centering) + else if ((flags & ImGuiWindowFlags_ChildMenu) != 0) + window->Pos = FindBestWindowPosForPopup(window); + else if ((flags & ImGuiWindowFlags_Popup) != 0 && !window_pos_set_by_api && window_just_appearing_after_hidden_for_resize) + window->Pos = FindBestWindowPosForPopup(window); + else if ((flags & ImGuiWindowFlags_Tooltip) != 0 && !window_pos_set_by_api && !window_is_child_tooltip) + window->Pos = FindBestWindowPosForPopup(window); + + // Calculate the range of allowed position for that window (to be movable and visible past safe area padding) + // When clamping to stay visible, we will enforce that window->Pos stays inside of visibility_rect. + ImRect viewport_rect(viewport->GetMainRect()); + ImRect viewport_work_rect(viewport->GetWorkRect()); + ImVec2 visibility_padding = ImMax(style.DisplayWindowPadding, style.DisplaySafeAreaPadding); + ImRect visibility_rect(viewport_work_rect.Min + visibility_padding, viewport_work_rect.Max - visibility_padding); + + // Clamp position/size so window stays visible within its viewport or monitor + // Ignore zero-sized display explicitly to avoid losing positions if a window manager reports zero-sized window when initializing or minimizing. + if (!window_pos_set_by_api && !(flags & ImGuiWindowFlags_ChildWindow)) + if (viewport_rect.GetWidth() > 0.0f && viewport_rect.GetHeight() > 0.0f) + ClampWindowPos(window, visibility_rect); + window->Pos = ImTrunc(window->Pos); + + // Lock window rounding for the frame (so that altering them doesn't cause inconsistencies) + // Large values tend to lead to variety of artifacts and are not recommended. + window->WindowRounding = (flags & ImGuiWindowFlags_ChildWindow) ? style.ChildRounding : ((flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiWindowFlags_Modal)) ? style.PopupRounding : style.WindowRounding; + + // For windows with title bar or menu bar, we clamp to FrameHeight(FontSize + FramePadding.y * 2.0f) to completely hide artifacts. + //if ((window->Flags & ImGuiWindowFlags_MenuBar) || !(window->Flags & ImGuiWindowFlags_NoTitleBar)) + // window->WindowRounding = ImMin(window->WindowRounding, g.FontSize + style.FramePadding.y * 2.0f); + + // Apply window focus (new and reactivated windows are moved to front) + bool want_focus = false; + if (window_just_activated_by_user && !(flags & ImGuiWindowFlags_NoFocusOnAppearing)) + { + if (flags & ImGuiWindowFlags_Popup) + want_focus = true; + else if ((flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Tooltip)) == 0) + want_focus = true; + } + + // [Test Engine] Register whole window in the item system (before submitting further decorations) +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (g.TestEngineHookItems) + { + IM_ASSERT(window->IDStack.Size == 1); + window->IDStack.Size = 0; // As window->IDStack[0] == window->ID here, make sure TestEngine doesn't erroneously see window as parent of itself. + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + IMGUI_TEST_ENGINE_ITEM_ADD(window->ID, window->Rect(), NULL); + IMGUI_TEST_ENGINE_ITEM_INFO(window->ID, window->Name, (g.HoveredWindow == window) ? ImGuiItemStatusFlags_HoveredRect : 0); + window->IDStack.Size = 1; + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + + } +#endif + + // Handle manual resize: Resize Grips, Borders, Gamepad + int border_hovered = -1, border_held = -1; + ImU32 resize_grip_col[4] = {}; + const int resize_grip_count = ((flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_Popup)) ? 0 : g.IO.ConfigWindowsResizeFromEdges ? 2 : 1; // Allow resize from lower-left if we have the mouse cursor feedback for it. + const float resize_grip_draw_size = IM_TRUNC(ImMax(g.FontSize * 1.10f, window->WindowRounding + 1.0f + g.FontSize * 0.2f)); + if (!window->Collapsed) + if (int auto_fit_mask = UpdateWindowManualResize(window, size_auto_fit, &border_hovered, &border_held, resize_grip_count, &resize_grip_col[0], visibility_rect)) + { + if (auto_fit_mask & (1 << ImGuiAxis_X)) + use_current_size_for_scrollbar_x = true; + if (auto_fit_mask & (1 << ImGuiAxis_Y)) + use_current_size_for_scrollbar_y = true; + } + window->ResizeBorderHovered = (signed char)border_hovered; + window->ResizeBorderHeld = (signed char)border_held; + + // SCROLLBAR VISIBILITY + + // Update scrollbar visibility (based on the Size that was effective during last frame or the auto-resized Size). + if (!window->Collapsed) + { + // When reading the current size we need to read it after size constraints have been applied. + // Intentionally use previous frame values for InnerRect and ScrollbarSizes. + // And when we use window->DecorationUp here it doesn't have ScrollbarSizes.y applied yet. + ImVec2 avail_size_from_current_frame = ImVec2(window->SizeFull.x, window->SizeFull.y - (window->DecoOuterSizeY1 + window->DecoOuterSizeY2)); + ImVec2 avail_size_from_last_frame = window->InnerRect.GetSize() + scrollbar_sizes_from_last_frame; + ImVec2 needed_size_from_last_frame = window_just_created ? ImVec2(0, 0) : window->ContentSize + window->WindowPadding * 2.0f; + float size_x_for_scrollbars = use_current_size_for_scrollbar_x ? avail_size_from_current_frame.x : avail_size_from_last_frame.x; + float size_y_for_scrollbars = use_current_size_for_scrollbar_y ? avail_size_from_current_frame.y : avail_size_from_last_frame.y; + //bool scrollbar_y_from_last_frame = window->ScrollbarY; // FIXME: May want to use that in the ScrollbarX expression? How many pros vs cons? + window->ScrollbarY = (flags & ImGuiWindowFlags_AlwaysVerticalScrollbar) || ((needed_size_from_last_frame.y > size_y_for_scrollbars) && !(flags & ImGuiWindowFlags_NoScrollbar)); + window->ScrollbarX = (flags & ImGuiWindowFlags_AlwaysHorizontalScrollbar) || ((needed_size_from_last_frame.x > size_x_for_scrollbars - (window->ScrollbarY ? style.ScrollbarSize : 0.0f)) && !(flags & ImGuiWindowFlags_NoScrollbar) && (flags & ImGuiWindowFlags_HorizontalScrollbar)); + if (window->ScrollbarX && !window->ScrollbarY) + window->ScrollbarY = (needed_size_from_last_frame.y > size_y_for_scrollbars - style.ScrollbarSize) && !(flags & ImGuiWindowFlags_NoScrollbar); + window->ScrollbarSizes = ImVec2(window->ScrollbarY ? style.ScrollbarSize : 0.0f, window->ScrollbarX ? style.ScrollbarSize : 0.0f); + + // Amend the partially filled window->DecorationXXX values. + window->DecoOuterSizeX2 += window->ScrollbarSizes.x; + window->DecoOuterSizeY2 += window->ScrollbarSizes.y; + } + + // UPDATE RECTANGLES (1- THOSE NOT AFFECTED BY SCROLLING) + // Update various regions. Variables they depend on should be set above in this function. + // We set this up after processing the resize grip so that our rectangles doesn't lag by a frame. + + // Outer rectangle + // Not affected by window border size. Used by: + // - FindHoveredWindow() (w/ extra padding when border resize is enabled) + // - Begin() initial clipping rect for drawing window background and borders. + // - Begin() clipping whole child + const ImRect host_rect = ((flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_Popup) && !window_is_child_tooltip) ? parent_window->ClipRect : viewport_rect; + const ImRect outer_rect = window->Rect(); + const ImRect title_bar_rect = window->TitleBarRect(); + window->OuterRectClipped = outer_rect; + window->OuterRectClipped.ClipWith(host_rect); + + // Inner rectangle + // Not affected by window border size. Used by: + // - InnerClipRect + // - ScrollToRectEx() + // - NavUpdatePageUpPageDown() + // - Scrollbar() + window->InnerRect.Min.x = window->Pos.x + window->DecoOuterSizeX1; + window->InnerRect.Min.y = window->Pos.y + window->DecoOuterSizeY1; + window->InnerRect.Max.x = window->Pos.x + window->Size.x - window->DecoOuterSizeX2; + window->InnerRect.Max.y = window->Pos.y + window->Size.y - window->DecoOuterSizeY2; + + // Inner clipping rectangle. + // - Extend a outside of normal work region up to borders. + // - This is to allow e.g. Selectable or CollapsingHeader or some separators to cover that space. + // - It also makes clipped items be more noticeable. + // - And is consistent on both axis (prior to 2024/05/03 ClipRect used WindowPadding.x * 0.5f on left and right edge), see #3312 + // - Force round operator last to ensure that e.g. (int)(max.x-min.x) in user's render code produce correct result. + // Note that if our window is collapsed we will end up with an inverted (~null) clipping rectangle which is the correct behavior. + // Affected by window/frame border size. Used by: + // - Begin() initial clip rect + float top_border_size = (((flags & ImGuiWindowFlags_MenuBar) || !(flags & ImGuiWindowFlags_NoTitleBar)) ? style.FrameBorderSize : window->WindowBorderSize); + + // Try to match the fact that our border is drawn centered over the window rectangle, rather than inner. + // This is why we do a *0.5f here. We don't currently even technically support large values for WindowBorderSize, + // see e.g #7887 #7888, but may do after we move the window border to become an inner border (and then we can remove the 0.5f here). + window->InnerClipRect.Min.x = ImFloor(0.5f + window->InnerRect.Min.x + window->WindowBorderSize * 0.5f); + window->InnerClipRect.Min.y = ImFloor(0.5f + window->InnerRect.Min.y + top_border_size * 0.5f); + window->InnerClipRect.Max.x = ImFloor(window->InnerRect.Max.x - window->WindowBorderSize * 0.5f); + window->InnerClipRect.Max.y = ImFloor(window->InnerRect.Max.y - window->WindowBorderSize * 0.5f); + window->InnerClipRect.ClipWithFull(host_rect); + + // Default item width. Make it proportional to window size if window manually resizes + if (window->Size.x > 0.0f && !(flags & ImGuiWindowFlags_Tooltip) && !(flags & ImGuiWindowFlags_AlwaysAutoResize)) + window->ItemWidthDefault = ImTrunc(window->Size.x * 0.65f); + else + window->ItemWidthDefault = ImTrunc(g.FontSize * 16.0f); + + // SCROLLING + + // Lock down maximum scrolling + // The value of ScrollMax are ahead from ScrollbarX/ScrollbarY which is intentionally using InnerRect from previous rect in order to accommodate + // for right/bottom aligned items without creating a scrollbar. + window->ScrollMax.x = ImMax(0.0f, window->ContentSize.x + window->WindowPadding.x * 2.0f - window->InnerRect.GetWidth()); + window->ScrollMax.y = ImMax(0.0f, window->ContentSize.y + window->WindowPadding.y * 2.0f - window->InnerRect.GetHeight()); + + // Apply scrolling + window->Scroll = CalcNextScrollFromScrollTargetAndClamp(window); + window->ScrollTarget = ImVec2(FLT_MAX, FLT_MAX); + window->DecoInnerSizeX1 = window->DecoInnerSizeY1 = 0.0f; + + // DRAWING + + // Setup draw list and outer clipping rectangle + IM_ASSERT(window->DrawList->CmdBuffer.Size == 1 && window->DrawList->CmdBuffer[0].ElemCount == 0); + window->DrawList->PushTextureID(g.Font->ContainerAtlas->TexID); + PushClipRect(host_rect.Min, host_rect.Max, false); + + // Child windows can render their decoration (bg color, border, scrollbars, etc.) within their parent to save a draw call (since 1.71) + // When using overlapping child windows, this will break the assumption that child z-order is mapped to submission order. + // FIXME: User code may rely on explicit sorting of overlapping child window and would need to disable this somehow. Please get in contact if you are affected (github #4493) + { + bool render_decorations_in_parent = false; + if ((flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_Popup) && !window_is_child_tooltip) + { + // - We test overlap with the previous child window only (testing all would end up being O(log N) not a good investment here) + // - We disable this when the parent window has zero vertices, which is a common pattern leading to laying out multiple overlapping childs + ImGuiWindow* previous_child = parent_window->DC.ChildWindows.Size >= 2 ? parent_window->DC.ChildWindows[parent_window->DC.ChildWindows.Size - 2] : NULL; + bool previous_child_overlapping = previous_child ? previous_child->Rect().Overlaps(window->Rect()) : false; + bool parent_is_empty = (parent_window->DrawList->VtxBuffer.Size == 0); + if (window->DrawList->CmdBuffer.back().ElemCount == 0 && !parent_is_empty && !previous_child_overlapping) + render_decorations_in_parent = true; + } + if (render_decorations_in_parent) + window->DrawList = parent_window->DrawList; + + // Handle title bar, scrollbar, resize grips and resize borders + const ImGuiWindow* window_to_highlight = g.NavWindowingTarget ? g.NavWindowingTarget : g.NavWindow; + const bool title_bar_is_highlight = want_focus || (window_to_highlight && window->RootWindowForTitleBarHighlight == window_to_highlight->RootWindowForTitleBarHighlight); + const bool handle_borders_and_resize_grips = true; // This exists to facilitate merge with 'docking' branch. + RenderWindowDecorations(window, title_bar_rect, title_bar_is_highlight, handle_borders_and_resize_grips, resize_grip_count, resize_grip_col, resize_grip_draw_size); + + if (render_decorations_in_parent) + window->DrawList = &window->DrawListInst; + } + + // UPDATE RECTANGLES (2- THOSE AFFECTED BY SCROLLING) + + // Work rectangle. + // Affected by window padding and border size. Used by: + // - Columns() for right-most edge + // - TreeNode(), CollapsingHeader() for right-most edge + // - BeginTabBar() for right-most edge + const bool allow_scrollbar_x = !(flags & ImGuiWindowFlags_NoScrollbar) && (flags & ImGuiWindowFlags_HorizontalScrollbar); + const bool allow_scrollbar_y = !(flags & ImGuiWindowFlags_NoScrollbar); + const float work_rect_size_x = (window->ContentSizeExplicit.x != 0.0f ? window->ContentSizeExplicit.x : ImMax(allow_scrollbar_x ? window->ContentSize.x : 0.0f, window->Size.x - window->WindowPadding.x * 2.0f - (window->DecoOuterSizeX1 + window->DecoOuterSizeX2))); + const float work_rect_size_y = (window->ContentSizeExplicit.y != 0.0f ? window->ContentSizeExplicit.y : ImMax(allow_scrollbar_y ? window->ContentSize.y : 0.0f, window->Size.y - window->WindowPadding.y * 2.0f - (window->DecoOuterSizeY1 + window->DecoOuterSizeY2))); + window->WorkRect.Min.x = ImTrunc(window->InnerRect.Min.x - window->Scroll.x + ImMax(window->WindowPadding.x, window->WindowBorderSize)); + window->WorkRect.Min.y = ImTrunc(window->InnerRect.Min.y - window->Scroll.y + ImMax(window->WindowPadding.y, window->WindowBorderSize)); + window->WorkRect.Max.x = window->WorkRect.Min.x + work_rect_size_x; + window->WorkRect.Max.y = window->WorkRect.Min.y + work_rect_size_y; + window->ParentWorkRect = window->WorkRect; + + // [LEGACY] Content Region + // FIXME-OBSOLETE: window->ContentRegionRect.Max is currently very misleading / partly faulty, but some BeginChild() patterns relies on it. + // Unless explicit content size is specified by user, this currently represent the region leading to no scrolling. + // Used by: + // - Mouse wheel scrolling + many other things + window->ContentRegionRect.Min.x = window->Pos.x - window->Scroll.x + window->WindowPadding.x + window->DecoOuterSizeX1; + window->ContentRegionRect.Min.y = window->Pos.y - window->Scroll.y + window->WindowPadding.y + window->DecoOuterSizeY1; + window->ContentRegionRect.Max.x = window->ContentRegionRect.Min.x + (window->ContentSizeExplicit.x != 0.0f ? window->ContentSizeExplicit.x : (window->Size.x - window->WindowPadding.x * 2.0f - (window->DecoOuterSizeX1 + window->DecoOuterSizeX2))); + window->ContentRegionRect.Max.y = window->ContentRegionRect.Min.y + (window->ContentSizeExplicit.y != 0.0f ? window->ContentSizeExplicit.y : (window->Size.y - window->WindowPadding.y * 2.0f - (window->DecoOuterSizeY1 + window->DecoOuterSizeY2))); + + // Setup drawing context + // (NB: That term "drawing context / DC" lost its meaning a long time ago. Initially was meant to hold transient data only. Nowadays difference between window-> and window->DC-> is dubious.) + window->DC.Indent.x = window->DecoOuterSizeX1 + window->WindowPadding.x - window->Scroll.x; + window->DC.GroupOffset.x = 0.0f; + window->DC.ColumnsOffset.x = 0.0f; + + // Record the loss of precision of CursorStartPos which can happen due to really large scrolling amount. + // This is used by clipper to compensate and fix the most common use case of large scroll area. Easy and cheap, next best thing compared to switching everything to double or ImU64. + double start_pos_highp_x = (double)window->Pos.x + window->WindowPadding.x - (double)window->Scroll.x + window->DecoOuterSizeX1 + window->DC.ColumnsOffset.x; + double start_pos_highp_y = (double)window->Pos.y + window->WindowPadding.y - (double)window->Scroll.y + window->DecoOuterSizeY1; + window->DC.CursorStartPos = ImVec2((float)start_pos_highp_x, (float)start_pos_highp_y); + window->DC.CursorStartPosLossyness = ImVec2((float)(start_pos_highp_x - window->DC.CursorStartPos.x), (float)(start_pos_highp_y - window->DC.CursorStartPos.y)); + window->DC.CursorPos = window->DC.CursorStartPos; + window->DC.CursorPosPrevLine = window->DC.CursorPos; + window->DC.CursorMaxPos = window->DC.CursorStartPos; + window->DC.IdealMaxPos = window->DC.CursorStartPos; + window->DC.CurrLineSize = window->DC.PrevLineSize = ImVec2(0.0f, 0.0f); + window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; + + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + window->DC.NavLayersActiveMask = window->DC.NavLayersActiveMaskNext; + window->DC.NavLayersActiveMaskNext = 0x00; + window->DC.NavIsScrollPushableX = true; + window->DC.NavHideHighlightOneFrame = false; + window->DC.NavWindowHasScrollY = (window->ScrollMax.y > 0.0f); + + window->DC.MenuBarAppending = false; + window->DC.MenuColumns.Update(style.ItemSpacing.x, window_just_activated_by_user); + window->DC.TreeDepth = 0; + window->DC.TreeHasStackDataDepthMask = 0x00; + window->DC.ChildWindows.resize(0); + window->DC.StateStorage = &window->StateStorage; + window->DC.CurrentColumns = NULL; + window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.ParentLayoutType = parent_window ? parent_window->DC.LayoutType : ImGuiLayoutType_Vertical; + + window->DC.ItemWidth = window->ItemWidthDefault; + window->DC.TextWrapPos = -1.0f; // disabled + window->DC.ItemWidthStack.resize(0); + window->DC.TextWrapPosStack.resize(0); + if (flags & ImGuiWindowFlags_Modal) + window->DC.ModalDimBgColor = ColorConvertFloat4ToU32(GetStyleColorVec4(ImGuiCol_ModalWindowDimBg)); + + if (window->AutoFitFramesX > 0) + window->AutoFitFramesX--; + if (window->AutoFitFramesY > 0) + window->AutoFitFramesY--; + + // Apply focus (we need to call FocusWindow() AFTER setting DC.CursorStartPos so our initial navigation reference rectangle can start around there) + // We ImGuiFocusRequestFlags_UnlessBelowModal to: + // - Avoid focusing a window that is created outside of a modal. This will prevent active modal from being closed. + // - Position window behind the modal that is not a begin-parent of this window. + if (want_focus) + FocusWindow(window, ImGuiFocusRequestFlags_UnlessBelowModal); + if (want_focus && window == g.NavWindow) + NavInitWindow(window, false); // <-- this is in the way for us to be able to defer and sort reappearing FocusWindow() calls + + // Pressing CTRL+C copy window content into the clipboard + // [EXPERIMENTAL] Breaks on nested Begin/End pairs. We need to work that out and add better logging scope. + // [EXPERIMENTAL] Text outputs has many issues. + if (g.IO.ConfigWindowsCopyContentsWithCtrlC) + if (g.NavWindow && g.NavWindow->RootWindow == window && g.ActiveId == 0 && Shortcut(ImGuiMod_Ctrl | ImGuiKey_C)) + LogToClipboard(0); + + // Title bar + if (!(flags & ImGuiWindowFlags_NoTitleBar)) + RenderWindowTitleBarContents(window, ImRect(title_bar_rect.Min.x + window->WindowBorderSize, title_bar_rect.Min.y, title_bar_rect.Max.x - window->WindowBorderSize, title_bar_rect.Max.y), name, p_open); + + // Clear hit test shape every frame + window->HitTestHoleSize.x = window->HitTestHoleSize.y = 0; + + if (flags & ImGuiWindowFlags_Tooltip) + g.TooltipPreviousWindow = window; + + // We fill last item data based on Title Bar/Tab, in order for IsItemHovered() and IsItemActive() to be usable after Begin(). + // This is useful to allow creating context menus on title bar only, etc. + window->DC.WindowItemStatusFlags = ImGuiItemStatusFlags_None; + window->DC.WindowItemStatusFlags |= IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max, false) ? ImGuiItemStatusFlags_HoveredRect : 0; + SetLastItemDataForWindow(window, title_bar_rect); + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (g.DebugLocateId != 0 && (window->ID == g.DebugLocateId || window->MoveId == g.DebugLocateId)) + DebugLocateItemResolveWithLastItem(); +#endif + + // [Test Engine] Register title bar / tab with MoveId. +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (!(window->Flags & ImGuiWindowFlags_NoTitleBar)) + { + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + IMGUI_TEST_ENGINE_ITEM_ADD(g.LastItemData.ID, g.LastItemData.Rect, &g.LastItemData); + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + } +#endif + } + else + { + // Skip refresh always mark active + if (window->SkipRefresh) + SetWindowActiveForSkipRefresh(window); + + // Append + SetCurrentWindow(window); + SetLastItemDataForWindow(window, window->TitleBarRect()); + } + + if (!window->SkipRefresh) + PushClipRect(window->InnerClipRect.Min, window->InnerClipRect.Max, true); + + // Clear 'accessed' flag last thing (After PushClipRect which will set the flag. We want the flag to stay false when the default "Debug" window is unused) + window->WriteAccessed = false; + window->BeginCount++; + g.NextWindowData.ClearFlags(); + + // Update visibility + if (first_begin_of_the_frame && !window->SkipRefresh) + { + if ((flags & ImGuiWindowFlags_ChildWindow) && !(flags & ImGuiWindowFlags_ChildMenu)) + { + // Child window can be out of sight and have "negative" clip windows. + // Mark them as collapsed so commands are skipped earlier (we can't manually collapse them because they have no title bar). + IM_ASSERT((flags & ImGuiWindowFlags_NoTitleBar) != 0); + const bool nav_request = (window->ChildFlags & ImGuiChildFlags_NavFlattened) && (g.NavAnyRequest && g.NavWindow && g.NavWindow->RootWindowForNav == window->RootWindowForNav); + if (!g.LogEnabled && !nav_request) + if (window->OuterRectClipped.Min.x >= window->OuterRectClipped.Max.x || window->OuterRectClipped.Min.y >= window->OuterRectClipped.Max.y) + { + if (window->AutoFitFramesX > 0 || window->AutoFitFramesY > 0) + window->HiddenFramesCannotSkipItems = 1; + else + window->HiddenFramesCanSkipItems = 1; + } + + // Hide along with parent or if parent is collapsed + if (parent_window && (parent_window->Collapsed || parent_window->HiddenFramesCanSkipItems > 0)) + window->HiddenFramesCanSkipItems = 1; + if (parent_window && parent_window->HiddenFramesCannotSkipItems > 0) + window->HiddenFramesCannotSkipItems = 1; + } + + // Don't render if style alpha is 0.0 at the time of Begin(). This is arbitrary and inconsistent but has been there for a long while (may remove at some point) + if (style.Alpha <= 0.0f) + window->HiddenFramesCanSkipItems = 1; + + // Update the Hidden flag + bool hidden_regular = (window->HiddenFramesCanSkipItems > 0) || (window->HiddenFramesCannotSkipItems > 0); + window->Hidden = hidden_regular || (window->HiddenFramesForRenderOnly > 0); + + // Disable inputs for requested number of frames + if (window->DisableInputsFrames > 0) + { + window->DisableInputsFrames--; + window->Flags |= ImGuiWindowFlags_NoInputs; + } + + // Update the SkipItems flag, used to early out of all items functions (no layout required) + bool skip_items = false; + if (window->Collapsed || !window->Active || hidden_regular) + if (window->AutoFitFramesX <= 0 && window->AutoFitFramesY <= 0 && window->HiddenFramesCannotSkipItems <= 0) + skip_items = true; + window->SkipItems = skip_items; + } + else if (first_begin_of_the_frame) + { + // Skip refresh mode + window->SkipItems = true; + } + + // [DEBUG] io.ConfigDebugBeginReturnValue override return value to test Begin/End and BeginChild/EndChild behaviors. + // (The implicit fallback window is NOT automatically ended allowing it to always be able to receive commands without crashing) +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (!window->IsFallbackWindow) + if ((g.IO.ConfigDebugBeginReturnValueOnce && window_just_created) || (g.IO.ConfigDebugBeginReturnValueLoop && g.DebugBeginReturnValueCullDepth == g.CurrentWindowStack.Size)) + { + if (window->AutoFitFramesX > 0) { window->AutoFitFramesX++; } + if (window->AutoFitFramesY > 0) { window->AutoFitFramesY++; } + return false; + } +#endif + + return !window->SkipItems; +} + +void ImGui::End() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // Error checking: verify that user hasn't called End() too many times! + if (g.CurrentWindowStack.Size <= 1 && g.WithinFrameScopeWithImplicitWindow) + { + IM_ASSERT_USER_ERROR(g.CurrentWindowStack.Size > 1, "Calling End() too many times!"); + return; + } + ImGuiWindowStackData& window_stack_data = g.CurrentWindowStack.back(); + + // Error checking: verify that user doesn't directly call End() on a child window. + if (window->Flags & ImGuiWindowFlags_ChildWindow) + IM_ASSERT_USER_ERROR(g.WithinEndChildID == window->ID, "Must call EndChild() and not End()!"); + + // Close anything that is open + if (window->DC.CurrentColumns) + EndColumns(); + if (!window->SkipRefresh) + PopClipRect(); // Inner window clip rectangle + PopFocusScope(); + if (window_stack_data.DisabledOverrideReenable && window->RootWindow == window) + EndDisabledOverrideReenable(); + + if (window->SkipRefresh) + { + IM_ASSERT(window->DrawList == NULL); + window->DrawList = &window->DrawListInst; + } + + // Stop logging + if (g.LogWindow == window) // FIXME: add more options for scope of logging + LogFinish(); + + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + + // Pop from window stack + g.LastItemData = window_stack_data.ParentLastItemDataBackup; + if (window->Flags & ImGuiWindowFlags_ChildMenu) + g.BeginMenuDepth--; + if (window->Flags & ImGuiWindowFlags_Popup) + g.BeginPopupStack.pop_back(); + + // Error handling, state recovery + if (g.IO.ConfigErrorRecovery) + ErrorRecoveryTryToRecoverWindowState(&window_stack_data.StackSizesInBegin); + + g.CurrentWindowStack.pop_back(); + SetCurrentWindow(g.CurrentWindowStack.Size == 0 ? NULL : g.CurrentWindowStack.back().Window); +} + +// Important: this alone doesn't alter current ImDrawList state. This is called by PushFont/PopFont only. +void ImGui::SetCurrentFont(ImFont* font) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(font && font->IsLoaded()); // Font Atlas not created. Did you call io.Fonts->GetTexDataAsRGBA32 / GetTexDataAsAlpha8 ? + IM_ASSERT(font->Scale > 0.0f); + g.Font = font; + g.FontBaseSize = ImMax(1.0f, g.IO.FontGlobalScale * g.Font->FontSize * g.Font->Scale); + g.FontSize = g.CurrentWindow ? g.CurrentWindow->CalcFontSize() : 0.0f; + g.FontScale = g.FontSize / g.Font->FontSize; + + ImFontAtlas* atlas = g.Font->ContainerAtlas; + g.DrawListSharedData.TexUvWhitePixel = atlas->TexUvWhitePixel; + g.DrawListSharedData.TexUvLines = atlas->TexUvLines; + g.DrawListSharedData.Font = g.Font; + g.DrawListSharedData.FontSize = g.FontSize; + g.DrawListSharedData.FontScale = g.FontScale; + g.DrawListSharedData.ShadowRectIds = &atlas->ShadowRectIds[0]; + g.DrawListSharedData.ShadowRectUvs = &atlas->ShadowRectUvs[0]; +} + +// Use ImDrawList::_SetTextureID(), making our shared g.FontStack[] authorative against window-local ImDrawList. +// - Whereas ImDrawList::PushTextureID()/PopTextureID() is not to be used across Begin() calls. +// - Note that we don't propagate current texture id when e.g. Begin()-ing into a new window, we never really did... +// - Some code paths never really fully worked with multiple atlas textures. +// - The right-ish solution may be to remove _SetTextureID() and make AddText/RenderText lazily call PushTextureID()/PopTextureID() +// the same way AddImage() does, but then all other primitives would also need to? I don't think we should tackle this problem +// because we have a concrete need and a test bed for multiple atlas textures. +void ImGui::PushFont(ImFont* font) +{ + ImGuiContext& g = *GImGui; + if (font == NULL) + font = GetDefaultFont(); + g.FontStack.push_back(font); + SetCurrentFont(font); + g.CurrentWindow->DrawList->_SetTextureID(font->ContainerAtlas->TexID); +} + +void ImGui::PopFont() +{ + ImGuiContext& g = *GImGui; + if (g.FontStack.Size <= 0) + { + IM_ASSERT_USER_ERROR(0, "Calling PopFont() too many times!"); + return; + } + g.FontStack.pop_back(); + ImFont* font = g.FontStack.Size == 0 ? GetDefaultFont() : g.FontStack.back(); + SetCurrentFont(font); + g.CurrentWindow->DrawList->_SetTextureID(font->ContainerAtlas->TexID); +} + +void ImGui::PushItemFlag(ImGuiItemFlags option, bool enabled) +{ + ImGuiContext& g = *GImGui; + ImGuiItemFlags item_flags = g.CurrentItemFlags; + IM_ASSERT(item_flags == g.ItemFlagsStack.back()); + if (enabled) + item_flags |= option; + else + item_flags &= ~option; + g.CurrentItemFlags = item_flags; + g.ItemFlagsStack.push_back(item_flags); +} + +void ImGui::PopItemFlag() +{ + ImGuiContext& g = *GImGui; + if (g.ItemFlagsStack.Size <= 1) + { + IM_ASSERT_USER_ERROR(0, "Calling PopItemFlag() too many times!"); + return; + } + g.ItemFlagsStack.pop_back(); + g.CurrentItemFlags = g.ItemFlagsStack.back(); +} + +// BeginDisabled()/EndDisabled() +// - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled) +// - Visually this is currently altering alpha, but it is expected that in a future styling system this would work differently. +// - Feedback welcome at https://github.com/ocornut/imgui/issues/211 +// - BeginDisabled(false)/EndDisabled() essentially does nothing but is provided to facilitate use of boolean expressions. +// (as a micro-optimization: if you have tens of thousands of BeginDisabled(false)/EndDisabled() pairs, you might want to reformulate your code to avoid making those calls) +// - Note: mixing up BeginDisabled() and PushItemFlag(ImGuiItemFlags_Disabled) is currently NOT SUPPORTED. +void ImGui::BeginDisabled(bool disabled) +{ + ImGuiContext& g = *GImGui; + bool was_disabled = (g.CurrentItemFlags & ImGuiItemFlags_Disabled) != 0; + if (!was_disabled && disabled) + { + g.DisabledAlphaBackup = g.Style.Alpha; + g.Style.Alpha *= g.Style.DisabledAlpha; // PushStyleVar(ImGuiStyleVar_Alpha, g.Style.Alpha * g.Style.DisabledAlpha); + } + if (was_disabled || disabled) + g.CurrentItemFlags |= ImGuiItemFlags_Disabled; + g.ItemFlagsStack.push_back(g.CurrentItemFlags); // FIXME-OPT: can we simply skip this and use DisabledStackSize? + g.DisabledStackSize++; +} + +void ImGui::EndDisabled() +{ + ImGuiContext& g = *GImGui; + if (g.DisabledStackSize <= 0) + { + IM_ASSERT_USER_ERROR(0, "Calling EndDisabled() too many times!"); + return; + } + g.DisabledStackSize--; + bool was_disabled = (g.CurrentItemFlags & ImGuiItemFlags_Disabled) != 0; + //PopItemFlag(); + g.ItemFlagsStack.pop_back(); + g.CurrentItemFlags = g.ItemFlagsStack.back(); + if (was_disabled && (g.CurrentItemFlags & ImGuiItemFlags_Disabled) == 0) + g.Style.Alpha = g.DisabledAlphaBackup; //PopStyleVar(); +} + +// Could have been called BeginDisabledDisable() but it didn't want to be award nominated for most awkward function name. +// Ideally we would use a shared e.g. BeginDisabled()->BeginDisabledEx() but earlier needs to be optimal. +// The whole code for this is awkward, will reevaluate if we find a way to implement SetNextItemDisabled(). +void ImGui::BeginDisabledOverrideReenable() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.CurrentItemFlags & ImGuiItemFlags_Disabled); + g.Style.Alpha = g.DisabledAlphaBackup; + g.CurrentItemFlags &= ~ImGuiItemFlags_Disabled; + g.ItemFlagsStack.push_back(g.CurrentItemFlags); + g.DisabledStackSize++; +} + +void ImGui::EndDisabledOverrideReenable() +{ + ImGuiContext& g = *GImGui; + g.DisabledStackSize--; + IM_ASSERT(g.DisabledStackSize > 0); + g.ItemFlagsStack.pop_back(); + g.CurrentItemFlags = g.ItemFlagsStack.back(); + g.Style.Alpha = g.DisabledAlphaBackup * g.Style.DisabledAlpha; +} + +void ImGui::PushTextWrapPos(float wrap_pos_x) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + window->DC.TextWrapPosStack.push_back(window->DC.TextWrapPos); + window->DC.TextWrapPos = wrap_pos_x; +} + +void ImGui::PopTextWrapPos() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->DC.TextWrapPosStack.Size <= 0) + { + IM_ASSERT_USER_ERROR(0, "Calling PopTextWrapPos() too many times!"); + return; + } + window->DC.TextWrapPos = window->DC.TextWrapPosStack.back(); + window->DC.TextWrapPosStack.pop_back(); +} + +static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy) +{ + ImGuiWindow* last_window = NULL; + while (last_window != window) + { + last_window = window; + window = window->RootWindow; + if (popup_hierarchy) + window = window->RootWindowPopupTree; + } + return window; +} + +bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy) +{ + ImGuiWindow* window_root = GetCombinedRootWindow(window, popup_hierarchy); + if (window_root == potential_parent) + return true; + while (window != NULL) + { + if (window == potential_parent) + return true; + if (window == window_root) // end of chain + return false; + window = window->ParentWindow; + } + return false; +} + +bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent) +{ + if (window->RootWindow == potential_parent) + return true; + while (window != NULL) + { + if (window == potential_parent) + return true; + window = window->ParentWindowInBeginStack; + } + return false; +} + +bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below) +{ + ImGuiContext& g = *GImGui; + + // It would be saner to ensure that display layer is always reflected in the g.Windows[] order, which would likely requires altering all manipulations of that array + const int display_layer_delta = GetWindowDisplayLayer(potential_above) - GetWindowDisplayLayer(potential_below); + if (display_layer_delta != 0) + return display_layer_delta > 0; + + for (int i = g.Windows.Size - 1; i >= 0; i--) + { + ImGuiWindow* candidate_window = g.Windows[i]; + if (candidate_window == potential_above) + return true; + if (candidate_window == potential_below) + return false; + } + return false; +} + +// Is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. +// IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, +// you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! +// Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. +bool ImGui::IsWindowHovered(ImGuiHoveredFlags flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT_USER_ERROR((flags & ~ImGuiHoveredFlags_AllowedMaskForIsWindowHovered) == 0, "Invalid flags for IsWindowHovered()!"); + + ImGuiWindow* ref_window = g.HoveredWindow; + ImGuiWindow* cur_window = g.CurrentWindow; + if (ref_window == NULL) + return false; + + if ((flags & ImGuiHoveredFlags_AnyWindow) == 0) + { + IM_ASSERT(cur_window); // Not inside a Begin()/End() + const bool popup_hierarchy = (flags & ImGuiHoveredFlags_NoPopupHierarchy) == 0; + if (flags & ImGuiHoveredFlags_RootWindow) + cur_window = GetCombinedRootWindow(cur_window, popup_hierarchy); + + bool result; + if (flags & ImGuiHoveredFlags_ChildWindows) + result = IsWindowChildOf(ref_window, cur_window, popup_hierarchy); + else + result = (ref_window == cur_window); + if (!result) + return false; + } + + if (!IsWindowContentHoverable(ref_window, flags)) + return false; + if (!(flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem)) + if (g.ActiveId != 0 && !g.ActiveIdAllowOverlap && g.ActiveId != ref_window->MoveId) + return false; + + // When changing hovered window we requires a bit of stationary delay before activating hover timer. + // FIXME: We don't support delay other than stationary one for now, other delay would need a way + // to fulfill the possibility that multiple IsWindowHovered() with varying flag could return true + // for different windows of the hierarchy. Possibly need a Hash(Current+Flags) ==> (Timer) cache. + // We can implement this for _Stationary because the data is linked to HoveredWindow rather than CurrentWindow. + if (flags & ImGuiHoveredFlags_ForTooltip) + flags = ApplyHoverFlagsForTooltip(flags, g.Style.HoverFlagsForTooltipMouse); + if ((flags & ImGuiHoveredFlags_Stationary) != 0 && g.HoverWindowUnlockedStationaryId != ref_window->ID) + return false; + + return true; +} + +float ImGui::GetWindowWidth() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->Size.x; +} + +float ImGui::GetWindowHeight() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->Size.y; +} + +ImVec2 ImGui::GetWindowPos() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + return window->Pos; +} + +void ImGui::SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond) +{ + // Test condition (NB: bit 0 is always true) and clear flags for next time + if (cond && (window->SetWindowPosAllowFlags & cond) == 0) + return; + + IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. + window->SetWindowPosAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); + window->SetWindowPosVal = ImVec2(FLT_MAX, FLT_MAX); + + // Set + const ImVec2 old_pos = window->Pos; + window->Pos = ImTrunc(pos); + ImVec2 offset = window->Pos - old_pos; + if (offset.x == 0.0f && offset.y == 0.0f) + return; + MarkIniSettingsDirty(window); + window->DC.CursorPos += offset; // As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor + window->DC.CursorMaxPos += offset; // And more importantly we need to offset CursorMaxPos/CursorStartPos this so ContentSize calculation doesn't get affected. + window->DC.IdealMaxPos += offset; + window->DC.CursorStartPos += offset; +} + +void ImGui::SetWindowPos(const ImVec2& pos, ImGuiCond cond) +{ + ImGuiWindow* window = GetCurrentWindowRead(); + SetWindowPos(window, pos, cond); +} + +void ImGui::SetWindowPos(const char* name, const ImVec2& pos, ImGuiCond cond) +{ + if (ImGuiWindow* window = FindWindowByName(name)) + SetWindowPos(window, pos, cond); +} + +ImVec2 ImGui::GetWindowSize() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->Size; +} + +void ImGui::SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond cond) +{ + // Test condition (NB: bit 0 is always true) and clear flags for next time + if (cond && (window->SetWindowSizeAllowFlags & cond) == 0) + return; + + IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. + window->SetWindowSizeAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); + + // Enable auto-fit (not done in BeginChild() path unless appearing or combined with ImGuiChildFlags_AlwaysAutoResize) + if ((window->Flags & ImGuiWindowFlags_ChildWindow) == 0 || window->Appearing || (window->ChildFlags & ImGuiChildFlags_AlwaysAutoResize) != 0) + window->AutoFitFramesX = (size.x <= 0.0f) ? 2 : 0; + if ((window->Flags & ImGuiWindowFlags_ChildWindow) == 0 || window->Appearing || (window->ChildFlags & ImGuiChildFlags_AlwaysAutoResize) != 0) + window->AutoFitFramesY = (size.y <= 0.0f) ? 2 : 0; + + // Set + ImVec2 old_size = window->SizeFull; + if (size.x <= 0.0f) + window->AutoFitOnlyGrows = false; + else + window->SizeFull.x = IM_TRUNC(size.x); + if (size.y <= 0.0f) + window->AutoFitOnlyGrows = false; + else + window->SizeFull.y = IM_TRUNC(size.y); + if (old_size.x != window->SizeFull.x || old_size.y != window->SizeFull.y) + MarkIniSettingsDirty(window); +} + +void ImGui::SetWindowSize(const ImVec2& size, ImGuiCond cond) +{ + SetWindowSize(GImGui->CurrentWindow, size, cond); +} + +void ImGui::SetWindowSize(const char* name, const ImVec2& size, ImGuiCond cond) +{ + if (ImGuiWindow* window = FindWindowByName(name)) + SetWindowSize(window, size, cond); +} + +void ImGui::SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiCond cond) +{ + // Test condition (NB: bit 0 is always true) and clear flags for next time + if (cond && (window->SetWindowCollapsedAllowFlags & cond) == 0) + return; + window->SetWindowCollapsedAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); + + // Set + window->Collapsed = collapsed; +} + +void ImGui::SetWindowHitTestHole(ImGuiWindow* window, const ImVec2& pos, const ImVec2& size) +{ + IM_ASSERT(window->HitTestHoleSize.x == 0); // We don't support multiple holes/hit test filters + window->HitTestHoleSize = ImVec2ih(size); + window->HitTestHoleOffset = ImVec2ih(pos - window->Pos); +} + +void ImGui::SetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window) +{ + window->Hidden = window->SkipItems = true; + window->HiddenFramesCanSkipItems = 1; +} + +void ImGui::SetWindowCollapsed(bool collapsed, ImGuiCond cond) +{ + SetWindowCollapsed(GImGui->CurrentWindow, collapsed, cond); +} + +bool ImGui::IsWindowCollapsed() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->Collapsed; +} + +bool ImGui::IsWindowAppearing() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->Appearing; +} + +void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond) +{ + if (ImGuiWindow* window = FindWindowByName(name)) + SetWindowCollapsed(window, collapsed, cond); +} + +void ImGui::SetNextWindowPos(const ImVec2& pos, ImGuiCond cond, const ImVec2& pivot) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasPos; + g.NextWindowData.PosVal = pos; + g.NextWindowData.PosPivotVal = pivot; + g.NextWindowData.PosCond = cond ? cond : ImGuiCond_Always; +} + +void ImGui::SetNextWindowSize(const ImVec2& size, ImGuiCond cond) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasSize; + g.NextWindowData.SizeVal = size; + g.NextWindowData.SizeCond = cond ? cond : ImGuiCond_Always; +} + +// For each axis: +// - Use 0.0f as min or FLT_MAX as max if you don't want limits, e.g. size_min = (500.0f, 0.0f), size_max = (FLT_MAX, FLT_MAX) sets a minimum width. +// - Use -1 for both min and max of same axis to preserve current size which itself is a constraint. +// - See "Demo->Examples->Constrained-resizing window" for examples. +void ImGui::SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback, void* custom_callback_user_data) +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasSizeConstraint; + g.NextWindowData.SizeConstraintRect = ImRect(size_min, size_max); + g.NextWindowData.SizeCallback = custom_callback; + g.NextWindowData.SizeCallbackUserData = custom_callback_user_data; +} + +// Content size = inner scrollable rectangle, padded with WindowPadding. +// SetNextWindowContentSize(ImVec2(100,100) + ImGuiWindowFlags_AlwaysAutoResize will always allow submitting a 100x100 item. +void ImGui::SetNextWindowContentSize(const ImVec2& size) +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasContentSize; + g.NextWindowData.ContentSizeVal = ImTrunc(size); +} + +void ImGui::SetNextWindowScroll(const ImVec2& scroll) +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasScroll; + g.NextWindowData.ScrollVal = scroll; +} + +void ImGui::SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasCollapsed; + g.NextWindowData.CollapsedVal = collapsed; + g.NextWindowData.CollapsedCond = cond ? cond : ImGuiCond_Always; +} + +void ImGui::SetNextWindowBgAlpha(float alpha) +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasBgAlpha; + g.NextWindowData.BgAlphaVal = alpha; +} + +// This is experimental and meant to be a toy for exploring a future/wider range of features. +void ImGui::SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags) +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasRefreshPolicy; + g.NextWindowData.RefreshFlagsVal = flags; +} + +ImDrawList* ImGui::GetWindowDrawList() +{ + ImGuiWindow* window = GetCurrentWindow(); + return window->DrawList; +} + +ImFont* ImGui::GetFont() +{ + return GImGui->Font; +} + +float ImGui::GetFontSize() +{ + return GImGui->FontSize; +} + +ImVec2 ImGui::GetFontTexUvWhitePixel() +{ + return GImGui->DrawListSharedData.TexUvWhitePixel; +} + +void ImGui::SetWindowFontScale(float scale) +{ + IM_ASSERT(scale > 0.0f); + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + window->FontWindowScale = scale; + g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize(); + g.FontScale = g.DrawListSharedData.FontScale = g.FontSize / g.Font->FontSize; +} + +void ImGui::PushFocusScope(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiFocusScopeData data; + data.ID = id; + data.WindowID = g.CurrentWindow->ID; + g.FocusScopeStack.push_back(data); + g.CurrentFocusScopeId = id; +} + +void ImGui::PopFocusScope() +{ + ImGuiContext& g = *GImGui; + if (g.FocusScopeStack.Size <= g.StackSizesInBeginForCurrentWindow->SizeOfFocusScopeStack) + { + IM_ASSERT_USER_ERROR(0, "Calling PopFocusScope() too many times!"); + return; + } + g.FocusScopeStack.pop_back(); + g.CurrentFocusScopeId = g.FocusScopeStack.Size ? g.FocusScopeStack.back().ID : 0; +} + +void ImGui::SetNavFocusScope(ImGuiID focus_scope_id) +{ + ImGuiContext& g = *GImGui; + g.NavFocusScopeId = focus_scope_id; + g.NavFocusRoute.resize(0); // Invalidate + if (focus_scope_id == 0) + return; + IM_ASSERT(g.NavWindow != NULL); + + // Store current path (in reverse order) + if (focus_scope_id == g.CurrentFocusScopeId) + { + // Top of focus stack contains local focus scopes inside current window + for (int n = g.FocusScopeStack.Size - 1; n >= 0 && g.FocusScopeStack.Data[n].WindowID == g.CurrentWindow->ID; n--) + g.NavFocusRoute.push_back(g.FocusScopeStack.Data[n]); + } + else if (focus_scope_id == g.NavWindow->NavRootFocusScopeId) + g.NavFocusRoute.push_back({ focus_scope_id, g.NavWindow->ID }); + else + return; + + // Then follow on manually set ParentWindowForFocusRoute field (#6798) + for (ImGuiWindow* window = g.NavWindow->ParentWindowForFocusRoute; window != NULL; window = window->ParentWindowForFocusRoute) + g.NavFocusRoute.push_back({ window->NavRootFocusScopeId, window->ID }); + IM_ASSERT(g.NavFocusRoute.Size < 100); // Maximum depth is technically 251 as per CalcRoutingScore(): 254 - 3 +} + +// Focus = move navigation cursor, set scrolling, set focus window. +void ImGui::FocusItem() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IMGUI_DEBUG_LOG_FOCUS("FocusItem(0x%08x) in window \"%s\"\n", g.LastItemData.ID, window->Name); + if (g.DragDropActive || g.MovingWindow != NULL) // FIXME: Opt-in flags for this? + { + IMGUI_DEBUG_LOG_FOCUS("FocusItem() ignored while DragDropActive!\n"); + return; + } + + ImGuiNavMoveFlags move_flags = ImGuiNavMoveFlags_IsTabbing | ImGuiNavMoveFlags_FocusApi | ImGuiNavMoveFlags_NoSetNavCursorVisible | ImGuiNavMoveFlags_NoSelect; + ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; + SetNavWindow(window); + NavMoveRequestSubmit(ImGuiDir_None, ImGuiDir_Up, move_flags, scroll_flags); + NavMoveRequestResolveWithLastItem(&g.NavMoveResultLocal); +} + +void ImGui::ActivateItemByID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + g.NavNextActivateId = id; + g.NavNextActivateFlags = ImGuiActivateFlags_None; +} + +// Note: this will likely be called ActivateItem() once we rework our Focus/Activation system! +// But ActivateItem() should function without altering scroll/focus? +void ImGui::SetKeyboardFocusHere(int offset) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(offset >= -1); // -1 is allowed but not below + IMGUI_DEBUG_LOG_FOCUS("SetKeyboardFocusHere(%d) in window \"%s\"\n", offset, window->Name); + + // It makes sense in the vast majority of cases to never interrupt a drag and drop. + // When we refactor this function into ActivateItem() we may want to make this an option. + // MovingWindow is protected from most user inputs using SetActiveIdUsingNavAndKeys(), but + // is also automatically dropped in the event g.ActiveId is stolen. + if (g.DragDropActive || g.MovingWindow != NULL) + { + IMGUI_DEBUG_LOG_FOCUS("SetKeyboardFocusHere() ignored while DragDropActive!\n"); + return; + } + + SetNavWindow(window); + + ImGuiNavMoveFlags move_flags = ImGuiNavMoveFlags_IsTabbing | ImGuiNavMoveFlags_Activate | ImGuiNavMoveFlags_FocusApi | ImGuiNavMoveFlags_NoSetNavCursorVisible; + ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; + NavMoveRequestSubmit(ImGuiDir_None, offset < 0 ? ImGuiDir_Up : ImGuiDir_Down, move_flags, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. + if (offset == -1) + { + NavMoveRequestResolveWithLastItem(&g.NavMoveResultLocal); + } + else + { + g.NavTabbingDir = 1; + g.NavTabbingCounter = offset + 1; + } +} + +void ImGui::SetItemDefaultFocus() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (!window->Appearing) + return; + if (g.NavWindow != window->RootWindowForNav || (!g.NavInitRequest && g.NavInitResult.ID == 0) || g.NavLayer != window->DC.NavLayerCurrent) + return; + + g.NavInitRequest = false; + NavApplyItemToResult(&g.NavInitResult); + NavUpdateAnyRequestFlag(); + + // Scroll could be done in NavInitRequestApplyResult() via an opt-in flag (we however don't want regular init requests to scroll) + if (!window->ClipRect.Contains(g.LastItemData.Rect)) + ScrollToRectEx(window, g.LastItemData.Rect, ImGuiScrollFlags_None); +} + +void ImGui::SetStateStorage(ImGuiStorage* tree) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + window->DC.StateStorage = tree ? tree : &window->StateStorage; +} + +ImGuiStorage* ImGui::GetStateStorage() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->DC.StateStorage; +} + +bool ImGui::IsRectVisible(const ImVec2& size) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size)); +} + +bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ClipRect.Overlaps(ImRect(rect_min, rect_max)); +} + +//----------------------------------------------------------------------------- +// [SECTION] ID STACK +//----------------------------------------------------------------------------- + +// This is one of the very rare legacy case where we use ImGuiWindow methods, +// it should ideally be flattened at some point but it's been used a lots by widgets. +IM_MSVC_RUNTIME_CHECKS_OFF +ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) +{ + ImGuiID seed = IDStack.back(); + ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *Ctx; + if (g.DebugHookIdInfo == id) + ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); +#endif + return id; +} + +ImGuiID ImGuiWindow::GetID(const void* ptr) +{ + ImGuiID seed = IDStack.back(); + ImGuiID id = ImHashData(&ptr, sizeof(void*), seed); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *Ctx; + if (g.DebugHookIdInfo == id) + ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL); +#endif + return id; +} + +ImGuiID ImGuiWindow::GetID(int n) +{ + ImGuiID seed = IDStack.back(); + ImGuiID id = ImHashData(&n, sizeof(n), seed); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *Ctx; + if (g.DebugHookIdInfo == id) + ImGui::DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL); +#endif + return id; +} + +// This is only used in rare/specific situations to manufacture an ID out of nowhere. +// FIXME: Consider instead storing last non-zero ID + count of successive zero-ID, and combine those? +ImGuiID ImGuiWindow::GetIDFromPos(const ImVec2& p_abs) +{ + ImGuiID seed = IDStack.back(); + ImVec2 p_rel = ImGui::WindowPosAbsToRel(this, p_abs); + ImGuiID id = ImHashData(&p_rel, sizeof(p_rel), seed); + return id; +} + +// " +ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) +{ + ImGuiID seed = IDStack.back(); + ImRect r_rel = ImGui::WindowRectAbsToRel(this, r_abs); + ImGuiID id = ImHashData(&r_rel, sizeof(r_rel), seed); + return id; +} + +void ImGui::PushID(const char* str_id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiID id = window->GetID(str_id); + window->IDStack.push_back(id); +} + +void ImGui::PushID(const char* str_id_begin, const char* str_id_end) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiID id = window->GetID(str_id_begin, str_id_end); + window->IDStack.push_back(id); +} + +void ImGui::PushID(const void* ptr_id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiID id = window->GetID(ptr_id); + window->IDStack.push_back(id); +} + +void ImGui::PushID(int int_id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiID id = window->GetID(int_id); + window->IDStack.push_back(id); +} + +// Push a given id value ignoring the ID stack as a seed. +void ImGui::PushOverrideID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (g.DebugHookIdInfo == id) + DebugHookIdInfo(id, ImGuiDataType_ID, NULL, NULL); +#endif + window->IDStack.push_back(id); +} + +// Helper to avoid a common series of PushOverrideID -> GetID() -> PopID() call +// (note that when using this pattern, ID Stack Tool will tend to not display the intermediate stack level. +// for that to work we would need to do PushOverrideID() -> ItemAdd() -> PopID() which would alter widget code a little more) +ImGuiID ImGui::GetIDWithSeed(const char* str, const char* str_end, ImGuiID seed) +{ + ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + if (g.DebugHookIdInfo == id) + DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); +#endif + return id; +} + +ImGuiID ImGui::GetIDWithSeed(int n, ImGuiID seed) +{ + ImGuiID id = ImHashData(&n, sizeof(n), seed); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + if (g.DebugHookIdInfo == id) + DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL); +#endif + return id; +} + +void ImGui::PopID() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + if (window->IDStack.Size <= 1) + { + IM_ASSERT_USER_ERROR(0, "Calling PopID() too many times!"); + return; + } + window->IDStack.pop_back(); +} + +ImGuiID ImGui::GetID(const char* str_id) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->GetID(str_id); +} + +ImGuiID ImGui::GetID(const char* str_id_begin, const char* str_id_end) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->GetID(str_id_begin, str_id_end); +} + +ImGuiID ImGui::GetID(const void* ptr_id) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->GetID(ptr_id); +} + +ImGuiID ImGui::GetID(int int_id) +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->GetID(int_id); +} +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] INPUTS +//----------------------------------------------------------------------------- +// - GetModForLRModKey() [Internal] +// - FixupKeyChord() [Internal] +// - GetKeyData() [Internal] +// - GetKeyIndex() [Internal] +// - GetKeyName() +// - GetKeyChordName() [Internal] +// - CalcTypematicRepeatAmount() [Internal] +// - GetTypematicRepeatRate() [Internal] +// - GetKeyPressedAmount() [Internal] +// - GetKeyMagnitude2d() [Internal] +//----------------------------------------------------------------------------- +// - UpdateKeyRoutingTable() [Internal] +// - GetRoutingIdFromOwnerId() [Internal] +// - GetShortcutRoutingData() [Internal] +// - CalcRoutingScore() [Internal] +// - SetShortcutRouting() [Internal] +// - TestShortcutRouting() [Internal] +//----------------------------------------------------------------------------- +// - IsKeyDown() +// - IsKeyPressed() +// - IsKeyReleased() +//----------------------------------------------------------------------------- +// - IsMouseDown() +// - IsMouseClicked() +// - IsMouseReleased() +// - IsMouseDoubleClicked() +// - GetMouseClickedCount() +// - IsMouseHoveringRect() [Internal] +// - IsMouseDragPastThreshold() [Internal] +// - IsMouseDragging() +// - GetMousePos() +// - SetMousePos() [Internal] +// - GetMousePosOnOpeningCurrentPopup() +// - IsMousePosValid() +// - IsAnyMouseDown() +// - GetMouseDragDelta() +// - ResetMouseDragDelta() +// - GetMouseCursor() +// - SetMouseCursor() +//----------------------------------------------------------------------------- +// - UpdateAliasKey() +// - GetMergedModsFromKeys() +// - UpdateKeyboardInputs() +// - UpdateMouseInputs() +//----------------------------------------------------------------------------- +// - LockWheelingWindow [Internal] +// - FindBestWheelingWindow [Internal] +// - UpdateMouseWheel() [Internal] +//----------------------------------------------------------------------------- +// - SetNextFrameWantCaptureKeyboard() +// - SetNextFrameWantCaptureMouse() +//----------------------------------------------------------------------------- +// - GetInputSourceName() [Internal] +// - DebugPrintInputEvent() [Internal] +// - UpdateInputEvents() [Internal] +//----------------------------------------------------------------------------- +// - GetKeyOwner() [Internal] +// - TestKeyOwner() [Internal] +// - SetKeyOwner() [Internal] +// - SetItemKeyOwner() [Internal] +// - Shortcut() [Internal] +//----------------------------------------------------------------------------- + +static ImGuiKeyChord GetModForLRModKey(ImGuiKey key) +{ + if (key == ImGuiKey_LeftCtrl || key == ImGuiKey_RightCtrl) + return ImGuiMod_Ctrl; + if (key == ImGuiKey_LeftShift || key == ImGuiKey_RightShift) + return ImGuiMod_Shift; + if (key == ImGuiKey_LeftAlt || key == ImGuiKey_RightAlt) + return ImGuiMod_Alt; + if (key == ImGuiKey_LeftSuper || key == ImGuiKey_RightSuper) + return ImGuiMod_Super; + return ImGuiMod_None; +} + +ImGuiKeyChord ImGui::FixupKeyChord(ImGuiKeyChord key_chord) +{ + // Add ImGuiMod_XXXX when a corresponding ImGuiKey_LeftXXX/ImGuiKey_RightXXX is specified. + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + if (IsLRModKey(key)) + key_chord |= GetModForLRModKey(key); + return key_chord; +} + +ImGuiKeyData* ImGui::GetKeyData(ImGuiContext* ctx, ImGuiKey key) +{ + ImGuiContext& g = *ctx; + + // Special storage location for mods + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + + IM_ASSERT(IsNamedKey(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend & user code."); + return &g.IO.KeysData[key - ImGuiKey_NamedKey_BEGIN]; +} + +// Those names a provided for debugging purpose and are not meant to be saved persistently not compared. +static const char* const GKeyNames[] = +{ + "Tab", "LeftArrow", "RightArrow", "UpArrow", "DownArrow", "PageUp", "PageDown", + "Home", "End", "Insert", "Delete", "Backspace", "Space", "Enter", "Escape", + "LeftCtrl", "LeftShift", "LeftAlt", "LeftSuper", "RightCtrl", "RightShift", "RightAlt", "RightSuper", "Menu", + "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", + "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", + "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", + "F13", "F14", "F15", "F16", "F17", "F18", "F19", "F20", "F21", "F22", "F23", "F24", + "Apostrophe", "Comma", "Minus", "Period", "Slash", "Semicolon", "Equal", "LeftBracket", + "Backslash", "RightBracket", "GraveAccent", "CapsLock", "ScrollLock", "NumLock", "PrintScreen", + "Pause", "Keypad0", "Keypad1", "Keypad2", "Keypad3", "Keypad4", "Keypad5", "Keypad6", + "Keypad7", "Keypad8", "Keypad9", "KeypadDecimal", "KeypadDivide", "KeypadMultiply", + "KeypadSubtract", "KeypadAdd", "KeypadEnter", "KeypadEqual", + "AppBack", "AppForward", + "GamepadStart", "GamepadBack", + "GamepadFaceLeft", "GamepadFaceRight", "GamepadFaceUp", "GamepadFaceDown", + "GamepadDpadLeft", "GamepadDpadRight", "GamepadDpadUp", "GamepadDpadDown", + "GamepadL1", "GamepadR1", "GamepadL2", "GamepadR2", "GamepadL3", "GamepadR3", + "GamepadLStickLeft", "GamepadLStickRight", "GamepadLStickUp", "GamepadLStickDown", + "GamepadRStickLeft", "GamepadRStickRight", "GamepadRStickUp", "GamepadRStickDown", + "MouseLeft", "MouseRight", "MouseMiddle", "MouseX1", "MouseX2", "MouseWheelX", "MouseWheelY", + "ModCtrl", "ModShift", "ModAlt", "ModSuper", // ReservedForModXXX are showing the ModXXX names. +}; +IM_STATIC_ASSERT(ImGuiKey_NamedKey_COUNT == IM_ARRAYSIZE(GKeyNames)); + +const char* ImGui::GetKeyName(ImGuiKey key) +{ + if (key == ImGuiKey_None) + return "None"; + IM_ASSERT(IsNamedKeyOrMod(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend and user code."); + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + if (!IsNamedKey(key)) + return "Unknown"; + + return GKeyNames[key - ImGuiKey_NamedKey_BEGIN]; +} + +// Return untranslated names: on macOS, Cmd key will show as Ctrl, Ctrl key will show as super. +// Lifetime of return value: valid until next call to same function. +const char* ImGui::GetKeyChordName(ImGuiKeyChord key_chord) +{ + ImGuiContext& g = *GImGui; + + const ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + if (IsLRModKey(key)) + key_chord &= ~GetModForLRModKey(key); // Return "Ctrl+LeftShift" instead of "Ctrl+Shift+LeftShift" + ImFormatString(g.TempKeychordName, IM_ARRAYSIZE(g.TempKeychordName), "%s%s%s%s%s", + (key_chord & ImGuiMod_Ctrl) ? "Ctrl+" : "", + (key_chord & ImGuiMod_Shift) ? "Shift+" : "", + (key_chord & ImGuiMod_Alt) ? "Alt+" : "", + (key_chord & ImGuiMod_Super) ? "Super+" : "", + (key != ImGuiKey_None || key_chord == ImGuiKey_None) ? GetKeyName(key) : ""); + size_t len; + if (key == ImGuiKey_None && key_chord != 0) + if ((len = strlen(g.TempKeychordName)) != 0) // Remove trailing '+' + g.TempKeychordName[len - 1] = 0; + return g.TempKeychordName; +} + +// t0 = previous time (e.g.: g.Time - g.IO.DeltaTime) +// t1 = current time (e.g.: g.Time) +// An event is triggered at: +// t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N +int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) +{ + if (t1 == 0.0f) + return 1; + if (t0 >= t1) + return 0; + if (repeat_rate <= 0.0f) + return (t0 < repeat_delay) && (t1 >= repeat_delay); + const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); + const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); + const int count = count_t1 - count_t0; + return count; +} + +void ImGui::GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate) +{ + ImGuiContext& g = *GImGui; + switch (flags & ImGuiInputFlags_RepeatRateMask_) + { + case ImGuiInputFlags_RepeatRateNavMove: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.80f; return; + case ImGuiInputFlags_RepeatRateNavTweak: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.30f; return; + case ImGuiInputFlags_RepeatRateDefault: default: *repeat_delay = g.IO.KeyRepeatDelay * 1.00f; *repeat_rate = g.IO.KeyRepeatRate * 1.00f; return; + } +} + +// Return value representing the number of presses in the last time period, for the given repeat rate +// (most often returns 0 or 1. The result is generally only >1 when RepeatRate is smaller than DeltaTime, aka large DeltaTime or fast RepeatRate) +int ImGui::GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float repeat_rate) +{ + ImGuiContext& g = *GImGui; + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return 0; + const float t = key_data->DownDuration; + return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); +} + +// Return 2D vector representing the combination of four cardinal direction, with analog value support (for e.g. ImGuiKey_GamepadLStick* values). +ImVec2 ImGui::GetKeyMagnitude2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down) +{ + return ImVec2( + GetKeyData(key_right)->AnalogValue - GetKeyData(key_left)->AnalogValue, + GetKeyData(key_down)->AnalogValue - GetKeyData(key_up)->AnalogValue); +} + +// Rewrite routing data buffers to strip old entries + sort by key to make queries not touch scattered data. +// Entries D,A,B,B,A,C,B --> A,A,B,B,B,C,D +// Index A:1 B:2 C:5 D:0 --> A:0 B:2 C:5 D:6 +// See 'Metrics->Key Owners & Shortcut Routing' to visualize the result of that operation. +static void ImGui::UpdateKeyRoutingTable(ImGuiKeyRoutingTable* rt) +{ + ImGuiContext& g = *GImGui; + rt->EntriesNext.resize(0); + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + const int new_routing_start_idx = rt->EntriesNext.Size; + ImGuiKeyRoutingData* routing_entry; + for (int old_routing_idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; old_routing_idx != -1; old_routing_idx = routing_entry->NextEntryIndex) + { + routing_entry = &rt->Entries[old_routing_idx]; + routing_entry->RoutingCurrScore = routing_entry->RoutingNextScore; + routing_entry->RoutingCurr = routing_entry->RoutingNext; // Update entry + routing_entry->RoutingNext = ImGuiKeyOwner_NoOwner; + routing_entry->RoutingNextScore = 255; + if (routing_entry->RoutingCurr == ImGuiKeyOwner_NoOwner) + continue; + rt->EntriesNext.push_back(*routing_entry); // Write alive ones into new buffer + + // Apply routing to owner if there's no owner already (RoutingCurr == None at this point) + // This is the result of previous frame's SetShortcutRouting() call. + if (routing_entry->Mods == g.IO.KeyMods) + { + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(&g, key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_NoOwner) + { + owner_data->OwnerCurr = routing_entry->RoutingCurr; + //IMGUI_DEBUG_LOG("SetKeyOwner(%s, owner_id=0x%08X) via Routing\n", GetKeyName(key), routing_entry->RoutingCurr); + } + } + } + + // Rewrite linked-list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = (ImGuiKeyRoutingIndex)(new_routing_start_idx < rt->EntriesNext.Size ? new_routing_start_idx : -1); + for (int n = new_routing_start_idx; n < rt->EntriesNext.Size; n++) + rt->EntriesNext[n].NextEntryIndex = (ImGuiKeyRoutingIndex)((n + 1 < rt->EntriesNext.Size) ? n + 1 : -1); + } + rt->Entries.swap(rt->EntriesNext); // Swap new and old indexes +} + +// owner_id may be None/Any, but routing_id needs to be always be set, so we default to GetCurrentFocusScope(). +static inline ImGuiID GetRoutingIdFromOwnerId(ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + return (owner_id != ImGuiKeyOwner_NoOwner && owner_id != ImGuiKeyOwner_Any) ? owner_id : g.CurrentFocusScopeId; +} + +ImGuiKeyRoutingData* ImGui::GetShortcutRoutingData(ImGuiKeyChord key_chord) +{ + // Majority of shortcuts will be Key + any number of Mods + // We accept _Single_ mod with ImGuiKey_None. + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl | ImGuiMod_Shift); // Legal + // - Shortcut(ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiMod_Ctrl | ImGuiMod_Shift); // Not legal + ImGuiContext& g = *GImGui; + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + ImGuiKeyRoutingData* routing_data; + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + IM_ASSERT(IsNamedKey(key)); + + // Get (in the majority of case, the linked list will have one element so this should be 2 reads. + // Subsequent elements will be contiguous in memory as list is sorted/rebuilt in NewFrame). + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; idx = routing_data->NextEntryIndex) + { + routing_data = &rt->Entries[idx]; + if (routing_data->Mods == mods) + return routing_data; + } + + // Add to linked-list + ImGuiKeyRoutingIndex routing_data_idx = (ImGuiKeyRoutingIndex)rt->Entries.Size; + rt->Entries.push_back(ImGuiKeyRoutingData()); + routing_data = &rt->Entries[routing_data_idx]; + routing_data->Mods = (ImU16)mods; + routing_data->NextEntryIndex = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; // Setup linked list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = routing_data_idx; + return routing_data; +} + +// Current score encoding (lower is highest priority): +// - 0: ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteOverActive +// - 1: ImGuiInputFlags_ActiveItem or ImGuiInputFlags_RouteFocused (if item active) +// - 2: ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteOverFocused +// - 3+: ImGuiInputFlags_RouteFocused (if window in focus-stack) +// - 254: ImGuiInputFlags_RouteGlobal +// - 255: never route +// 'flags' should include an explicit routing policy +static int CalcRoutingScore(ImGuiID focus_scope_id, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + if (flags & ImGuiInputFlags_RouteFocused) + { + // ActiveID gets top priority + // (we don't check g.ActiveIdUsingAllKeys here. Routing is applied but if input ownership is tested later it may discard it) + if (owner_id != 0 && g.ActiveId == owner_id) + return 1; + + // Score based on distance to focused window (lower is better) + // Assuming both windows are submitting a routing request, + // - When Window....... is focused -> Window scores 3 (best), Window/ChildB scores 255 (no match) + // - When Window/ChildB is focused -> Window scores 4, Window/ChildB scores 3 (best) + // Assuming only WindowA is submitting a routing request, + // - When Window/ChildB is focused -> Window scores 4 (best), Window/ChildB doesn't have a score. + // This essentially follow the window->ParentWindowForFocusRoute chain. + if (focus_scope_id == 0) + return 255; + for (int index_in_focus_path = 0; index_in_focus_path < g.NavFocusRoute.Size; index_in_focus_path++) + if (g.NavFocusRoute.Data[index_in_focus_path].ID == focus_scope_id) + return 3 + index_in_focus_path; + return 255; + } + else if (flags & ImGuiInputFlags_RouteActive) + { + if (owner_id != 0 && g.ActiveId == owner_id) + return 1; + return 255; + } + else if (flags & ImGuiInputFlags_RouteGlobal) + { + if (flags & ImGuiInputFlags_RouteOverActive) + return 0; + if (flags & ImGuiInputFlags_RouteOverFocused) + return 2; + return 254; + } + IM_ASSERT(0); + return 0; +} + +// - We need this to filter some Shortcut() routes when an item e.g. an InputText() is active +// e.g. ImGuiKey_G won't be considered a shortcut when item is active, but ImGuiMod|ImGuiKey_G can be. +// - This is also used by UpdateInputEvents() to avoid trickling in the most common case of e.g. pressing ImGuiKey_G also emitting a G character. +static bool IsKeyChordPotentiallyCharInput(ImGuiKeyChord key_chord) +{ + // Mimic 'ignore_char_inputs' logic in InputText() + ImGuiContext& g = *GImGui; + + // When the right mods are pressed it cannot be a char input so we won't filter the shortcut out. + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + const bool ignore_char_inputs = ((mods & ImGuiMod_Ctrl) && !(mods & ImGuiMod_Alt)) || (g.IO.ConfigMacOSXBehaviors && (mods & ImGuiMod_Ctrl)); + if (ignore_char_inputs) + return false; + + // Return true for A-Z, 0-9 and other keys associated to char inputs. Other keys such as F1-F12 won't be filtered. + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + if (key == ImGuiKey_None) + return false; + return g.KeysMayBeCharInput.TestBit(key); +} + +// Request a desired route for an input chord (key + mods). +// Return true if the route is available this frame. +// - Routes and key ownership are attributed at the beginning of next frame based on best score and mod state. +// (Conceptually this does a "Submit for next frame" + "Test for current frame". +// As such, it could be called TrySetXXX or SubmitXXX, or the Submit and Test operations should be separate.) +bool ImGui::SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + if ((flags & ImGuiInputFlags_RouteTypeMask_) == 0) + flags |= ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive; // IMPORTANT: This is the default for SetShortcutRouting() but NOT Shortcut() + else + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiInputFlags_RouteTypeMask_)); // Check that only 1 routing flag is used + IM_ASSERT(owner_id != ImGuiKeyOwner_Any && owner_id != ImGuiKeyOwner_NoOwner); + if (flags & (ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused)) + IM_ASSERT(flags & ImGuiInputFlags_RouteGlobal); + + // Add ImGuiMod_XXXX when a corresponding ImGuiKey_LeftXXX/ImGuiKey_RightXXX is specified. + key_chord = FixupKeyChord(key_chord); + + // [DEBUG] Debug break requested by user + if (g.DebugBreakInShortcutRouting == key_chord) + IM_DEBUG_BREAK(); + + if (flags & ImGuiInputFlags_RouteUnlessBgFocused) + if (g.NavWindow == NULL) + return false; + + // Note how ImGuiInputFlags_RouteAlways won't set routing and thus won't set owner. May want to rework this? + if (flags & ImGuiInputFlags_RouteAlways) + { + IMGUI_DEBUG_LOG_INPUTROUTING("SetShortcutRouting(%s, flags=%04X, owner_id=0x%08X) -> always, no register\n", GetKeyChordName(key_chord), flags, owner_id); + return true; + } + + // Specific culling when there's an active item. + if (g.ActiveId != 0 && g.ActiveId != owner_id) + { + if (flags & ImGuiInputFlags_RouteActive) + return false; + + // Cull shortcuts with no modifiers when it could generate a character. + // e.g. Shortcut(ImGuiKey_G) also generates 'g' character, should not trigger when InputText() is active. + // but Shortcut(Ctrl+G) should generally trigger when InputText() is active. + // TL;DR: lettered shortcut with no mods or with only Alt mod will not trigger while an item reading text input is active. + // (We cannot filter based on io.InputQueueCharacters[] contents because of trickling and key<>chars submission order are undefined) + if (g.IO.WantTextInput && IsKeyChordPotentiallyCharInput(key_chord)) + { + IMGUI_DEBUG_LOG_INPUTROUTING("SetShortcutRouting(%s, flags=%04X, owner_id=0x%08X) -> filtered as potential char input\n", GetKeyChordName(key_chord), flags, owner_id); + return false; + } + + // ActiveIdUsingAllKeyboardKeys trumps all for ActiveId + if ((flags & ImGuiInputFlags_RouteOverActive) == 0 && g.ActiveIdUsingAllKeyboardKeys) + { + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey((ImGuiKey)(key_chord & ImGuiMod_Mask_)); + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return false; + } + } + + // Where do we evaluate route for? + ImGuiID focus_scope_id = g.CurrentFocusScopeId; + if (flags & ImGuiInputFlags_RouteFromRootWindow) + focus_scope_id = g.CurrentWindow->RootWindow->ID; // See PushFocusScope() call in Begin() + + const int score = CalcRoutingScore(focus_scope_id, owner_id, flags); + IMGUI_DEBUG_LOG_INPUTROUTING("SetShortcutRouting(%s, flags=%04X, owner_id=0x%08X) -> score %d\n", GetKeyChordName(key_chord), flags, owner_id, score); + if (score == 255) + return false; + + // Submit routing for NEXT frame (assuming score is sufficient) + // FIXME: Could expose a way to use a "serve last" policy for same score resolution (using <= instead of <). + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); + //const bool set_route = (flags & ImGuiInputFlags_ServeLast) ? (score <= routing_data->RoutingNextScore) : (score < routing_data->RoutingNextScore); + if (score < routing_data->RoutingNextScore) + { + routing_data->RoutingNext = owner_id; + routing_data->RoutingNextScore = (ImU8)score; + } + + // Return routing state for CURRENT frame + if (routing_data->RoutingCurr == owner_id) + IMGUI_DEBUG_LOG_INPUTROUTING("--> granting current route\n"); + return routing_data->RoutingCurr == owner_id; +} + +// Currently unused by core (but used by tests) +// Note: this cannot be turned into GetShortcutRouting() because we do the owner_id->routing_id translation, name would be more misleading. +bool ImGui::TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id) +{ + const ImGuiID routing_id = GetRoutingIdFromOwnerId(owner_id); + key_chord = FixupKeyChord(key_chord); + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); // FIXME: Could avoid creating entry. + return routing_data->RoutingCurr == routing_id; +} + +// Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes. +// Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87) +bool ImGui::IsKeyDown(ImGuiKey key) +{ + return IsKeyDown(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyDown(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat) +{ + return IsKeyPressed(key, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None, ImGuiKeyOwner_Any); +} + +// Important: unlike legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat. +bool ImGui::IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = key_data->DownDuration; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsKeyPressed) == 0); // Passing flags not supported by this function! + if (flags & (ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_)) // Setting any _RepeatXXX option enables _Repeat + flags |= ImGuiInputFlags_Repeat; + + bool pressed = (t == 0.0f); + if (!pressed && (flags & ImGuiInputFlags_Repeat) != 0) + { + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(flags, &repeat_delay, &repeat_rate); + pressed = (t > repeat_delay) && GetKeyPressedAmount(key, repeat_delay, repeat_rate) > 0; + if (pressed && (flags & ImGuiInputFlags_RepeatUntilMask_)) + { + // Slightly bias 'key_pressed_time' as DownDuration is an accumulation of DeltaTime which we compare to an absolute time value. + // Ideally we'd replace DownDuration with KeyPressedTime but it would break user's code. + ImGuiContext& g = *GImGui; + double key_pressed_time = g.Time - t + 0.00001f; + if ((flags & ImGuiInputFlags_RepeatUntilKeyModsChange) && (g.LastKeyModsChangeTime > key_pressed_time)) + pressed = false; + if ((flags & ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone) && (g.LastKeyModsChangeFromNoneTime > key_pressed_time)) + pressed = false; + if ((flags & ImGuiInputFlags_RepeatUntilOtherKeyPress) && (g.LastKeyboardKeyPressTime > key_pressed_time)) + pressed = false; + } + } + if (!pressed) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyReleased(ImGuiKey key) +{ + return IsKeyReleased(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyReleased(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (key_data->DownDurationPrev < 0.0f || key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // should be same as IsKeyDown(MouseButtonToKey(button), ImGuiKeyOwner_Any), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyDown(MouseButtonToKey(button), owner_id), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat) +{ + return IsMouseClicked(button, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None, ImGuiKeyOwner_Any); +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, ImGuiInputFlags flags, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = g.IO.MouseDownDuration[button]; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsMouseClicked) == 0); // Passing flags not supported by this function! // FIXME: Could support RepeatRate and RepeatUntil flags here. + + const bool repeat = (flags & ImGuiInputFlags_Repeat) != 0; + const bool pressed = (t == 0.0f) || (repeat && t > g.IO.KeyRepeatDelay && CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0); + if (!pressed) + return false; + + if (!TestKeyOwner(MouseButtonToKey(button), owner_id)) + return false; + + return true; +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any) +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyReleased(MouseButtonToKey(button), owner_id) +} + +// Use if you absolutely need to distinguish single-click from double-click by introducing a delay. +// Generally use with 'delay >= io.MouseDoubleClickTime' + combined with a 'io.MouseClickedLastCount == 1' test. +// This is a very rarely used UI idiom, but some apps use this: e.g. MS Explorer single click on an icon to rename. +bool ImGui::IsMouseReleasedWithDelay(ImGuiMouseButton button, float delay) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + const float time_since_release = (float)(g.Time - g.IO.MouseReleasedTime[button]); + return !IsMouseDown(button) && (time_since_release - g.IO.DeltaTime < delay) && (time_since_release >= delay); +} + +bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); +} + +bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), owner_id); +} + +int ImGui::GetMouseClickedCount(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button]; +} + +// Test if mouse cursor is hovering given rectangle +// NB- Rectangle is clipped by our current clip setting +// NB- Expand the rectangle to be generous on imprecise inputs systems (g.Style.TouchExtraPadding) +bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip) +{ + ImGuiContext& g = *GImGui; + + // Clip + ImRect rect_clipped(r_min, r_max); + if (clip) + rect_clipped.ClipWith(g.CurrentWindow->ClipRect); + + // Hit testing, expanded for touch input + if (!rect_clipped.ContainsWithPad(g.IO.MousePos, g.Style.TouchExtraPadding)) + return false; + return true; +} + +// Return if a mouse click/drag went past the given threshold. Valid to call during the MouseReleased frame. +// [Internal] This doesn't test if the button is pressed +bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; +} + +bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) + return false; + return IsMouseDragPastThreshold(button, lock_threshold); +} + +ImVec2 ImGui::GetMousePos() +{ + ImGuiContext& g = *GImGui; + return g.IO.MousePos; +} + +// This is called TeleportMousePos() and not SetMousePos() to emphasis that setting MousePosPrev will effectively clear mouse delta as well. +// It is expected you only call this if (io.BackendFlags & ImGuiBackendFlags_HasSetMousePos) is set and supported by backend. +void ImGui::TeleportMousePos(const ImVec2& pos) +{ + ImGuiContext& g = *GImGui; + g.IO.MousePos = g.IO.MousePosPrev = pos; + g.IO.MouseDelta = ImVec2(0.0f, 0.0f); + g.IO.WantSetMousePos = true; + //IMGUI_DEBUG_LOG_IO("TeleportMousePos: (%.1f,%.1f)\n", io.MousePos.x, io.MousePos.y); +} + +// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed! +ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup() +{ + ImGuiContext& g = *GImGui; + if (g.BeginPopupStack.Size > 0) + return g.OpenPopupStack[g.BeginPopupStack.Size - 1].OpenMousePos; + return g.IO.MousePos; +} + +// We typically use ImVec2(-FLT_MAX,-FLT_MAX) to denote an invalid mouse position. +bool ImGui::IsMousePosValid(const ImVec2* mouse_pos) +{ + // The assert is only to silence a false-positive in XCode Static Analysis. + // Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions). + IM_ASSERT(GImGui != NULL); + const float MOUSE_INVALID = -256000.0f; + ImVec2 p = mouse_pos ? *mouse_pos : GImGui->IO.MousePos; + return p.x >= MOUSE_INVALID && p.y >= MOUSE_INVALID; +} + +// [WILL OBSOLETE] This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. +bool ImGui::IsAnyMouseDown() +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++) + if (g.IO.MouseDown[n]) + return true; + return false; +} + +// Return the delta from the initial clicking position while the mouse button is clicked or was just released. +// This is locked and return 0.0f until the mouse moves past a distance threshold at least once. +// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window. +ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + if (g.IO.MouseDown[button] || g.IO.MouseReleased[button]) + if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) + if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MouseClickedPos[button])) + return g.IO.MousePos - g.IO.MouseClickedPos[button]; + return ImVec2(0.0f, 0.0f); +} + +void ImGui::ResetMouseDragDelta(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + // NB: We don't need to reset g.IO.MouseDragMaxDistanceSqr + g.IO.MouseClickedPos[button] = g.IO.MousePos; +} + +// Get desired mouse cursor shape. +// Important: this is meant to be used by a platform backend, it is reset in ImGui::NewFrame(), +// updated during the frame, and locked in EndFrame()/Render(). +// If you use software rendering by setting io.MouseDrawCursor then Dear ImGui will render those for you +ImGuiMouseCursor ImGui::GetMouseCursor() +{ + ImGuiContext& g = *GImGui; + return g.MouseCursor; +} + +// We intentionally accept values of ImGuiMouseCursor that are outside our bounds, in case users needs to hack-in a custom cursor value. +// Custom cursors may be handled by custom backends. If you are using a standard backend and want to hack in a custom cursor, you may +// handle it before the backend _NewFrame() call and temporarily set ImGuiConfigFlags_NoMouseCursorChange during the backend _NewFrame() call. +void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) +{ + ImGuiContext& g = *GImGui; + g.MouseCursor = cursor_type; +} + +static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value) +{ + IM_ASSERT(ImGui::IsAliasKey(key)); + ImGuiKeyData* key_data = ImGui::GetKeyData(key); + key_data->Down = v; + key_data->AnalogValue = analog_value; +} + +// [Internal] Do not use directly +static ImGuiKeyChord GetMergedModsFromKeys() +{ + ImGuiKeyChord mods = 0; + if (ImGui::IsKeyDown(ImGuiMod_Ctrl)) { mods |= ImGuiMod_Ctrl; } + if (ImGui::IsKeyDown(ImGuiMod_Shift)) { mods |= ImGuiMod_Shift; } + if (ImGui::IsKeyDown(ImGuiMod_Alt)) { mods |= ImGuiMod_Alt; } + if (ImGui::IsKeyDown(ImGuiMod_Super)) { mods |= ImGuiMod_Super; } + return mods; +} + +static void ImGui::UpdateKeyboardInputs() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + if (io.ConfigFlags & ImGuiConfigFlags_NoKeyboard) + io.ClearInputKeys(); + + // Update aliases + for (int n = 0; n < ImGuiMouseButton_COUNT; n++) + UpdateAliasKey(MouseButtonToKey(n), io.MouseDown[n], io.MouseDown[n] ? 1.0f : 0.0f); + UpdateAliasKey(ImGuiKey_MouseWheelX, io.MouseWheelH != 0.0f, io.MouseWheelH); + UpdateAliasKey(ImGuiKey_MouseWheelY, io.MouseWheel != 0.0f, io.MouseWheel); + + // Synchronize io.KeyMods and io.KeyCtrl/io.KeyShift/etc. values. + // - New backends (1.87+): send io.AddKeyEvent(ImGuiMod_XXX) -> -> (here) deriving io.KeyMods + io.KeyXXX from key array. + // - Legacy backends: set io.KeyXXX bools -> (above) set key array from io.KeyXXX -> (here) deriving io.KeyMods + io.KeyXXX from key array. + // So with legacy backends the 4 values will do a unnecessary back-and-forth but it makes the code simpler and future facing. + const ImGuiKeyChord prev_key_mods = io.KeyMods; + io.KeyMods = GetMergedModsFromKeys(); + io.KeyCtrl = (io.KeyMods & ImGuiMod_Ctrl) != 0; + io.KeyShift = (io.KeyMods & ImGuiMod_Shift) != 0; + io.KeyAlt = (io.KeyMods & ImGuiMod_Alt) != 0; + io.KeySuper = (io.KeyMods & ImGuiMod_Super) != 0; + if (prev_key_mods != io.KeyMods) + g.LastKeyModsChangeTime = g.Time; + if (prev_key_mods != io.KeyMods && prev_key_mods == 0) + g.LastKeyModsChangeFromNoneTime = g.Time; + + // Clear gamepad data if disabled + if ((io.BackendFlags & ImGuiBackendFlags_HasGamepad) == 0) + for (int key = ImGuiKey_Gamepad_BEGIN; key < ImGuiKey_Gamepad_END; key++) + { + io.KeysData[key - ImGuiKey_NamedKey_BEGIN].Down = false; + io.KeysData[key - ImGuiKey_NamedKey_BEGIN].AnalogValue = 0.0f; + } + + // Update keys + for (int key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key++) + { + ImGuiKeyData* key_data = &io.KeysData[key - ImGuiKey_NamedKey_BEGIN]; + key_data->DownDurationPrev = key_data->DownDuration; + key_data->DownDuration = key_data->Down ? (key_data->DownDuration < 0.0f ? 0.0f : key_data->DownDuration + io.DeltaTime) : -1.0f; + if (key_data->DownDuration == 0.0f) + { + if (IsKeyboardKey((ImGuiKey)key)) + g.LastKeyboardKeyPressTime = g.Time; + else if (key == ImGuiKey_ReservedForModCtrl || key == ImGuiKey_ReservedForModShift || key == ImGuiKey_ReservedForModAlt || key == ImGuiKey_ReservedForModSuper) + g.LastKeyboardKeyPressTime = g.Time; + } + } + + // Update keys/input owner (named keys only): one entry per key + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyData* key_data = &io.KeysData[key - ImGuiKey_NamedKey_BEGIN]; + ImGuiKeyOwnerData* owner_data = &g.KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; + owner_data->OwnerCurr = owner_data->OwnerNext; + if (!key_data->Down) // Important: ownership is released on the frame after a release. Ensure a 'MouseDown -> CloseWindow -> MouseUp' chain doesn't lead to someone else seeing the MouseUp. + owner_data->OwnerNext = ImGuiKeyOwner_NoOwner; + owner_data->LockThisFrame = owner_data->LockUntilRelease = owner_data->LockUntilRelease && key_data->Down; // Clear LockUntilRelease when key is not Down anymore + } + + // Update key routing (for e.g. shortcuts) + UpdateKeyRoutingTable(&g.KeysRoutingTable); +} + +static void ImGui::UpdateMouseInputs() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Mouse Wheel swapping flag + // As a standard behavior holding SHIFT while using Vertical Mouse Wheel triggers Horizontal scroll instead + // - We avoid doing it on OSX as it the OS input layer handles this already. + // - FIXME: However this means when running on OSX over Emscripten, Shift+WheelY will incur two swapping (1 in OS, 1 here), canceling the feature. + // - FIXME: When we can distinguish e.g. touchpad scroll events from mouse ones, we'll set this accordingly based on input source. + io.MouseWheelRequestAxisSwap = io.KeyShift && !io.ConfigMacOSXBehaviors; + + // Round mouse position to avoid spreading non-rounded position (e.g. UpdateManualResize doesn't support them well) + if (IsMousePosValid(&io.MousePos)) + io.MousePos = g.MouseLastValidPos = ImFloor(io.MousePos); + + // If mouse just appeared or disappeared (usually denoted by -FLT_MAX components) we cancel out movement in MouseDelta + if (IsMousePosValid(&io.MousePos) && IsMousePosValid(&io.MousePosPrev)) + io.MouseDelta = io.MousePos - io.MousePosPrev; + else + io.MouseDelta = ImVec2(0.0f, 0.0f); + + // Update stationary timer. + // FIXME: May need to rework again to have some tolerance for occasional small movement, while being functional on high-framerates. + const float mouse_stationary_threshold = (io.MouseSource == ImGuiMouseSource_Mouse) ? 2.0f : 3.0f; // Slightly higher threshold for ImGuiMouseSource_TouchScreen/ImGuiMouseSource_Pen, may need rework. + const bool mouse_stationary = (ImLengthSqr(io.MouseDelta) <= mouse_stationary_threshold * mouse_stationary_threshold); + g.MouseStationaryTimer = mouse_stationary ? (g.MouseStationaryTimer + io.DeltaTime) : 0.0f; + //IMGUI_DEBUG_LOG("%.4f\n", g.MouseStationaryTimer); + + // If mouse moved we re-enable mouse hovering in case it was disabled by keyboard/gamepad. In theory should use a >0.0f threshold but would need to reset in everywhere we set this to true. + if (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f) + g.NavHighlightItemUnderNav = false; + + for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) + { + io.MouseClicked[i] = io.MouseDown[i] && io.MouseDownDuration[i] < 0.0f; + io.MouseClickedCount[i] = 0; // Will be filled below + io.MouseReleased[i] = !io.MouseDown[i] && io.MouseDownDuration[i] >= 0.0f; + if (io.MouseReleased[i]) + io.MouseReleasedTime[i] = g.Time; + io.MouseDownDurationPrev[i] = io.MouseDownDuration[i]; + io.MouseDownDuration[i] = io.MouseDown[i] ? (io.MouseDownDuration[i] < 0.0f ? 0.0f : io.MouseDownDuration[i] + io.DeltaTime) : -1.0f; + if (io.MouseClicked[i]) + { + bool is_repeated_click = false; + if ((float)(g.Time - io.MouseClickedTime[i]) < io.MouseDoubleClickTime) + { + ImVec2 delta_from_click_pos = IsMousePosValid(&io.MousePos) ? (io.MousePos - io.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); + if (ImLengthSqr(delta_from_click_pos) < io.MouseDoubleClickMaxDist * io.MouseDoubleClickMaxDist) + is_repeated_click = true; + } + if (is_repeated_click) + io.MouseClickedLastCount[i]++; + else + io.MouseClickedLastCount[i] = 1; + io.MouseClickedTime[i] = g.Time; + io.MouseClickedPos[i] = io.MousePos; + io.MouseClickedCount[i] = io.MouseClickedLastCount[i]; + io.MouseDragMaxDistanceSqr[i] = 0.0f; + } + else if (io.MouseDown[i]) + { + // Maintain the maximum distance we reaching from the initial click position, which is used with dragging threshold + float delta_sqr_click_pos = IsMousePosValid(&io.MousePos) ? ImLengthSqr(io.MousePos - io.MouseClickedPos[i]) : 0.0f; + io.MouseDragMaxDistanceSqr[i] = ImMax(io.MouseDragMaxDistanceSqr[i], delta_sqr_click_pos); + } + + // We provide io.MouseDoubleClicked[] as a legacy service + io.MouseDoubleClicked[i] = (io.MouseClickedCount[i] == 2); + + // Clicking any mouse button reactivate mouse hovering which may have been deactivated by keyboard/gamepad navigation + if (io.MouseClicked[i]) + g.NavHighlightItemUnderNav = false; + } +} + +static void LockWheelingWindow(ImGuiWindow* window, float wheel_amount) +{ + ImGuiContext& g = *GImGui; + if (window) + g.WheelingWindowReleaseTimer = ImMin(g.WheelingWindowReleaseTimer + ImAbs(wheel_amount) * WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER, WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER); + else + g.WheelingWindowReleaseTimer = 0.0f; + if (g.WheelingWindow == window) + return; + IMGUI_DEBUG_LOG_IO("[io] LockWheelingWindow() \"%s\"\n", window ? window->Name : "NULL"); + g.WheelingWindow = window; + g.WheelingWindowRefMousePos = g.IO.MousePos; + if (window == NULL) + { + g.WheelingWindowStartFrame = -1; + g.WheelingAxisAvg = ImVec2(0.0f, 0.0f); + } +} + +static ImGuiWindow* FindBestWheelingWindow(const ImVec2& wheel) +{ + // For each axis, find window in the hierarchy that may want to use scrolling + ImGuiContext& g = *GImGui; + ImGuiWindow* windows[2] = { NULL, NULL }; + for (int axis = 0; axis < 2; axis++) + if (wheel[axis] != 0.0f) + for (ImGuiWindow* window = windows[axis] = g.HoveredWindow; window->Flags & ImGuiWindowFlags_ChildWindow; window = windows[axis] = window->ParentWindow) + { + // Bubble up into parent window if: + // - a child window doesn't allow any scrolling. + // - a child window has the ImGuiWindowFlags_NoScrollWithMouse flag. + //// - a child window doesn't need scrolling because it is already at the edge for the direction we are going in (FIXME-WIP) + const bool has_scrolling = (window->ScrollMax[axis] != 0.0f); + const bool inputs_disabled = (window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs); + //const bool scrolling_past_limits = (wheel_v < 0.0f) ? (window->Scroll[axis] <= 0.0f) : (window->Scroll[axis] >= window->ScrollMax[axis]); + if (has_scrolling && !inputs_disabled) // && !scrolling_past_limits) + break; // select this window + } + if (windows[0] == NULL && windows[1] == NULL) + return NULL; + + // If there's only one window or only one axis then there's no ambiguity + if (windows[0] == windows[1] || windows[0] == NULL || windows[1] == NULL) + return windows[1] ? windows[1] : windows[0]; + + // If candidate are different windows we need to decide which one to prioritize + // - First frame: only find a winner if one axis is zero. + // - Subsequent frames: only find a winner when one is more than the other. + if (g.WheelingWindowStartFrame == -1) + g.WheelingWindowStartFrame = g.FrameCount; + if ((g.WheelingWindowStartFrame == g.FrameCount && wheel.x != 0.0f && wheel.y != 0.0f) || (g.WheelingAxisAvg.x == g.WheelingAxisAvg.y)) + { + g.WheelingWindowWheelRemainder = wheel; + return NULL; + } + return (g.WheelingAxisAvg.x > g.WheelingAxisAvg.y) ? windows[0] : windows[1]; +} + +// Called by NewFrame() +void ImGui::UpdateMouseWheel() +{ + // Reset the locked window if we move the mouse or after the timer elapses. + // FIXME: Ideally we could refactor to have one timer for "changing window w/ same axis" and a shorter timer for "changing window or axis w/ other axis" (#3795) + ImGuiContext& g = *GImGui; + if (g.WheelingWindow != NULL) + { + g.WheelingWindowReleaseTimer -= g.IO.DeltaTime; + if (IsMousePosValid() && ImLengthSqr(g.IO.MousePos - g.WheelingWindowRefMousePos) > g.IO.MouseDragThreshold * g.IO.MouseDragThreshold) + g.WheelingWindowReleaseTimer = 0.0f; + if (g.WheelingWindowReleaseTimer <= 0.0f) + LockWheelingWindow(NULL, 0.0f); + } + + ImVec2 wheel; + wheel.x = TestKeyOwner(ImGuiKey_MouseWheelX, ImGuiKeyOwner_NoOwner) ? g.IO.MouseWheelH : 0.0f; + wheel.y = TestKeyOwner(ImGuiKey_MouseWheelY, ImGuiKeyOwner_NoOwner) ? g.IO.MouseWheel : 0.0f; + + //IMGUI_DEBUG_LOG("MouseWheel X:%.3f Y:%.3f\n", wheel_x, wheel_y); + ImGuiWindow* mouse_window = g.WheelingWindow ? g.WheelingWindow : g.HoveredWindow; + if (!mouse_window || mouse_window->Collapsed) + return; + + // Zoom / Scale window + // FIXME-OBSOLETE: This is an old feature, it still works but pretty much nobody is using it and may be best redesigned. + if (wheel.y != 0.0f && g.IO.KeyCtrl && g.IO.FontAllowUserScaling) + { + LockWheelingWindow(mouse_window, wheel.y); + ImGuiWindow* window = mouse_window; + const float new_font_scale = ImClamp(window->FontWindowScale + g.IO.MouseWheel * 0.10f, 0.50f, 2.50f); + const float scale = new_font_scale / window->FontWindowScale; + window->FontWindowScale = new_font_scale; + if (window == window->RootWindow) + { + const ImVec2 offset = window->Size * (1.0f - scale) * (g.IO.MousePos - window->Pos) / window->Size; + SetWindowPos(window, window->Pos + offset, 0); + window->Size = ImTrunc(window->Size * scale); + window->SizeFull = ImTrunc(window->SizeFull * scale); + } + return; + } + if (g.IO.KeyCtrl) + return; + + // Mouse wheel scrolling + // Read about io.MouseWheelRequestAxisSwap and its issue on Mac+Emscripten in UpdateMouseInputs() + if (g.IO.MouseWheelRequestAxisSwap) + wheel = ImVec2(wheel.y, 0.0f); + + // Maintain a rough average of moving magnitude on both axises + // FIXME: should by based on wall clock time rather than frame-counter + g.WheelingAxisAvg.x = ImExponentialMovingAverage(g.WheelingAxisAvg.x, ImAbs(wheel.x), 30); + g.WheelingAxisAvg.y = ImExponentialMovingAverage(g.WheelingAxisAvg.y, ImAbs(wheel.y), 30); + + // In the rare situation where FindBestWheelingWindow() had to defer first frame of wheeling due to ambiguous main axis, reinject it now. + wheel += g.WheelingWindowWheelRemainder; + g.WheelingWindowWheelRemainder = ImVec2(0.0f, 0.0f); + if (wheel.x == 0.0f && wheel.y == 0.0f) + return; + + // Mouse wheel scrolling: find target and apply + // - don't renew lock if axis doesn't apply on the window. + // - select a main axis when both axises are being moved. + if (ImGuiWindow* window = (g.WheelingWindow ? g.WheelingWindow : FindBestWheelingWindow(wheel))) + if (!(window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)) + { + bool do_scroll[2] = { wheel.x != 0.0f && window->ScrollMax.x != 0.0f, wheel.y != 0.0f && window->ScrollMax.y != 0.0f }; + if (do_scroll[ImGuiAxis_X] && do_scroll[ImGuiAxis_Y]) + do_scroll[(g.WheelingAxisAvg.x > g.WheelingAxisAvg.y) ? ImGuiAxis_Y : ImGuiAxis_X] = false; + if (do_scroll[ImGuiAxis_X]) + { + LockWheelingWindow(window, wheel.x); + float max_step = window->InnerRect.GetWidth() * 0.67f; + float scroll_step = ImTrunc(ImMin(2 * window->FontRefSize, max_step)); + SetScrollX(window, window->Scroll.x - wheel.x * scroll_step); + g.WheelingWindowScrolledFrame = g.FrameCount; + } + if (do_scroll[ImGuiAxis_Y]) + { + LockWheelingWindow(window, wheel.y); + float max_step = window->InnerRect.GetHeight() * 0.67f; + float scroll_step = ImTrunc(ImMin(5 * window->FontRefSize, max_step)); + SetScrollY(window, window->Scroll.y - wheel.y * scroll_step); + g.WheelingWindowScrolledFrame = g.FrameCount; + } + } +} + +void ImGui::SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureKeyboardNextFrame = want_capture_keyboard ? 1 : 0; +} + +void ImGui::SetNextFrameWantCaptureMouse(bool want_capture_mouse) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureMouseNextFrame = want_capture_mouse ? 1 : 0; +} + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS +static const char* GetInputSourceName(ImGuiInputSource source) +{ + const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad" }; + IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT && source >= 0 && source < ImGuiInputSource_COUNT); + return input_source_names[source]; +} +static const char* GetMouseSourceName(ImGuiMouseSource source) +{ + const char* mouse_source_names[] = { "Mouse", "TouchScreen", "Pen" }; + IM_ASSERT(IM_ARRAYSIZE(mouse_source_names) == ImGuiMouseSource_COUNT && source >= 0 && source < ImGuiMouseSource_COUNT); + return mouse_source_names[source]; +} +static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e) +{ + ImGuiContext& g = *GImGui; + if (e->Type == ImGuiInputEventType_MousePos) { if (e->MousePos.PosX == -FLT_MAX && e->MousePos.PosY == -FLT_MAX) IMGUI_DEBUG_LOG_IO("[io] %s: MousePos (-FLT_MAX, -FLT_MAX)\n", prefix); else IMGUI_DEBUG_LOG_IO("[io] %s: MousePos (%.1f, %.1f) (%s)\n", prefix, e->MousePos.PosX, e->MousePos.PosY, GetMouseSourceName(e->MousePos.MouseSource)); return; } + if (e->Type == ImGuiInputEventType_MouseButton) { IMGUI_DEBUG_LOG_IO("[io] %s: MouseButton %d %s (%s)\n", prefix, e->MouseButton.Button, e->MouseButton.Down ? "Down" : "Up", GetMouseSourceName(e->MouseButton.MouseSource)); return; } + if (e->Type == ImGuiInputEventType_MouseWheel) { IMGUI_DEBUG_LOG_IO("[io] %s: MouseWheel (%.3f, %.3f) (%s)\n", prefix, e->MouseWheel.WheelX, e->MouseWheel.WheelY, GetMouseSourceName(e->MouseWheel.MouseSource)); return; } + if (e->Type == ImGuiInputEventType_Key) { IMGUI_DEBUG_LOG_IO("[io] %s: Key \"%s\" %s\n", prefix, ImGui::GetKeyName(e->Key.Key), e->Key.Down ? "Down" : "Up"); return; } + if (e->Type == ImGuiInputEventType_Text) { IMGUI_DEBUG_LOG_IO("[io] %s: Text: %c (U+%08X)\n", prefix, e->Text.Char, e->Text.Char); return; } + if (e->Type == ImGuiInputEventType_Focus) { IMGUI_DEBUG_LOG_IO("[io] %s: AppFocused %d\n", prefix, e->AppFocused.Focused); return; } +} +#endif + +// Process input queue +// We always call this with the value of 'bool g.IO.ConfigInputTrickleEventQueue'. +// - trickle_fast_inputs = false : process all events, turn into flattened input state (e.g. successive down/up/down/up will be lost) +// - trickle_fast_inputs = true : process as many events as possible (successive down/up/down/up will be trickled over several frames so nothing is lost) (new feature in 1.87) +void ImGui::UpdateInputEvents(bool trickle_fast_inputs) +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Only trickle chars<>key when working with InputText() + // FIXME: InputText() could parse event trail? + // FIXME: Could specialize chars<>keys trickling rules for control keys (those not typically associated to characters) + const bool trickle_interleaved_nonchar_keys_and_text = (trickle_fast_inputs && g.WantTextInputNextFrame == 1); + + bool mouse_moved = false, mouse_wheeled = false, key_changed = false, key_changed_nonchar = false, text_inputted = false; + int mouse_button_changed = 0x00; + ImBitArray key_changed_mask; + + int event_n = 0; + for (; event_n < g.InputEventsQueue.Size; event_n++) + { + ImGuiInputEvent* e = &g.InputEventsQueue[event_n]; + if (e->Type == ImGuiInputEventType_MousePos) + { + if (g.IO.WantSetMousePos) + continue; + // Trickling Rule: Stop processing queued events if we already handled a mouse button change + ImVec2 event_pos(e->MousePos.PosX, e->MousePos.PosY); + if (trickle_fast_inputs && (mouse_button_changed != 0 || mouse_wheeled || key_changed || text_inputted)) + break; + io.MousePos = event_pos; + io.MouseSource = e->MousePos.MouseSource; + mouse_moved = true; + } + else if (e->Type == ImGuiInputEventType_MouseButton) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + const ImGuiMouseButton button = e->MouseButton.Button; + IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); + if (trickle_fast_inputs && ((mouse_button_changed & (1 << button)) || mouse_wheeled)) + break; + if (trickle_fast_inputs && e->MouseButton.MouseSource == ImGuiMouseSource_TouchScreen && mouse_moved) // #2702: TouchScreen have no initial hover. + break; + io.MouseDown[button] = e->MouseButton.Down; + io.MouseSource = e->MouseButton.MouseSource; + mouse_button_changed |= (1 << button); + } + else if (e->Type == ImGuiInputEventType_MouseWheel) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the event + if (trickle_fast_inputs && (mouse_moved || mouse_button_changed != 0)) + break; + io.MouseWheelH += e->MouseWheel.WheelX; + io.MouseWheel += e->MouseWheel.WheelY; + io.MouseSource = e->MouseWheel.MouseSource; + mouse_wheeled = true; + } + else if (e->Type == ImGuiInputEventType_Key) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + if (io.ConfigFlags & ImGuiConfigFlags_NoKeyboard) + continue; + ImGuiKey key = e->Key.Key; + IM_ASSERT(key != ImGuiKey_None); + ImGuiKeyData* key_data = GetKeyData(key); + const int key_data_index = (int)(key_data - g.IO.KeysData); + if (trickle_fast_inputs && key_data->Down != e->Key.Down && (key_changed_mask.TestBit(key_data_index) || mouse_button_changed != 0)) + break; + + const bool key_is_potentially_for_char_input = IsKeyChordPotentiallyCharInput(GetMergedModsFromKeys() | key); + if (trickle_interleaved_nonchar_keys_and_text && (text_inputted && !key_is_potentially_for_char_input)) + break; + + key_data->Down = e->Key.Down; + key_data->AnalogValue = e->Key.AnalogValue; + key_changed = true; + key_changed_mask.SetBit(key_data_index); + if (trickle_interleaved_nonchar_keys_and_text && !key_is_potentially_for_char_input) + key_changed_nonchar = true; + } + else if (e->Type == ImGuiInputEventType_Text) + { + if (io.ConfigFlags & ImGuiConfigFlags_NoKeyboard) + continue; + // Trickling Rule: Stop processing queued events if keys/mouse have been interacted with + if (trickle_fast_inputs && (mouse_button_changed != 0 || mouse_moved || mouse_wheeled)) + break; + if (trickle_interleaved_nonchar_keys_and_text && key_changed_nonchar) + break; + unsigned int c = e->Text.Char; + io.InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_INVALID); + if (trickle_interleaved_nonchar_keys_and_text) + text_inputted = true; + } + else if (e->Type == ImGuiInputEventType_Focus) + { + // We intentionally overwrite this and process in NewFrame(), in order to give a chance + // to multi-viewports backends to queue AddFocusEvent(false) + AddFocusEvent(true) in same frame. + const bool focus_lost = !e->AppFocused.Focused; + io.AppFocusLost = focus_lost; + } + else + { + IM_ASSERT(0 && "Unknown event!"); + } + } + + // Record trail (for domain-specific applications wanting to access a precise trail) + //if (event_n != 0) IMGUI_DEBUG_LOG_IO("Processed: %d / Remaining: %d\n", event_n, g.InputEventsQueue.Size - event_n); + for (int n = 0; n < event_n; n++) + g.InputEventsTrail.push_back(g.InputEventsQueue[n]); + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (event_n != 0 && (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO)) + for (int n = 0; n < g.InputEventsQueue.Size; n++) + DebugPrintInputEvent(n < event_n ? "Processed" : "Remaining", &g.InputEventsQueue[n]); +#endif + + // Remaining events will be processed on the next frame + if (event_n == g.InputEventsQueue.Size) + g.InputEventsQueue.resize(0); + else + g.InputEventsQueue.erase(g.InputEventsQueue.Data, g.InputEventsQueue.Data + event_n); + + // Clear buttons state when focus is lost + // - this is useful so e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger the Alt menu toggle. + // - we clear in EndFrame() and not now in order allow application/user code polling this flag + // (e.g. custom backend may want to clear additional data, custom widgets may want to react with a "canceling" event). + if (g.IO.AppFocusLost) + { + g.IO.ClearInputKeys(); + g.IO.ClearInputMouse(); + } +} + +ImGuiID ImGui::GetKeyOwner(ImGuiKey key) +{ + if (!IsNamedKeyOrMod(key)) + return ImGuiKeyOwner_NoOwner; + + ImGuiContext& g = *GImGui; + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(&g, key); + ImGuiID owner_id = owner_data->OwnerCurr; + + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return ImGuiKeyOwner_NoOwner; + + return owner_id; +} + +// TestKeyOwner(..., ID) : (owner == None || owner == ID) +// TestKeyOwner(..., None) : (owner == None) +// TestKeyOwner(..., Any) : no owner test +// All paths are also testing for key not being locked, for the rare cases that key have been locked with using ImGuiInputFlags_LockXXX flags. +bool ImGui::TestKeyOwner(ImGuiKey key, ImGuiID owner_id) +{ + if (!IsNamedKeyOrMod(key)) + return true; + + ImGuiContext& g = *GImGui; + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return false; + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(&g, key); + if (owner_id == ImGuiKeyOwner_Any) + return (owner_data->LockThisFrame == false); + + // Note: SetKeyOwner() sets OwnerCurr. It is not strictly required for most mouse routing overlap (because of ActiveId/HoveredId + // are acting as filter before this has a chance to filter), but sane as soon as user tries to look into things. + // Setting OwnerCurr in SetKeyOwner() is more consistent than testing OwnerNext here: would be inconsistent with getter and other functions. + if (owner_data->OwnerCurr != owner_id) + { + if (owner_data->LockThisFrame) + return false; + if (owner_data->OwnerCurr != ImGuiKeyOwner_NoOwner) + return false; + } + + return true; +} + +// _LockXXX flags are useful to lock keys away from code which is not input-owner aware. +// When using _LockXXX flags, you can use ImGuiKeyOwner_Any to lock keys from everyone. +// - SetKeyOwner(..., None) : clears owner +// - SetKeyOwner(..., Any, !Lock) : illegal (assert) +// - SetKeyOwner(..., Any or None, Lock) : set lock +void ImGui::SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(IsNamedKeyOrMod(key) && (owner_id != ImGuiKeyOwner_Any || (flags & (ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease)))); // Can only use _Any with _LockXXX flags (to eat a key away without an ID to retrieve it) + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetKeyOwner) == 0); // Passing flags not supported by this function! + //IMGUI_DEBUG_LOG("SetKeyOwner(%s, owner_id=0x%08X, flags=%08X)\n", GetKeyName(key), owner_id, flags); + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(&g, key); + owner_data->OwnerCurr = owner_data->OwnerNext = owner_id; + + // We cannot lock by default as it would likely break lots of legacy code. + // In the case of using LockUntilRelease while key is not down we still lock during the frame (no key_data->Down test) + owner_data->LockUntilRelease = (flags & ImGuiInputFlags_LockUntilRelease) != 0; + owner_data->LockThisFrame = (flags & ImGuiInputFlags_LockThisFrame) != 0 || (owner_data->LockUntilRelease); +} + +// Rarely used helper +void ImGui::SetKeyOwnersForKeyChord(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) +{ + if (key_chord & ImGuiMod_Ctrl) { SetKeyOwner(ImGuiMod_Ctrl, owner_id, flags); } + if (key_chord & ImGuiMod_Shift) { SetKeyOwner(ImGuiMod_Shift, owner_id, flags); } + if (key_chord & ImGuiMod_Alt) { SetKeyOwner(ImGuiMod_Alt, owner_id, flags); } + if (key_chord & ImGuiMod_Super) { SetKeyOwner(ImGuiMod_Super, owner_id, flags); } + if (key_chord & ~ImGuiMod_Mask_) { SetKeyOwner((ImGuiKey)(key_chord & ~ImGuiMod_Mask_), owner_id, flags); } +} + +// This is more or less equivalent to: +// if (IsItemHovered() || IsItemActive()) +// SetKeyOwner(key, GetItemID()); +// Extensive uses of that (e.g. many calls for a single item) may want to manually perform the tests once and then call SetKeyOwner() multiple times. +// More advanced usage scenarios may want to call SetKeyOwner() manually based on different condition. +// Worth noting is that only one item can be hovered and only one item can be active, therefore this usage pattern doesn't need to bother with routing and priority. +void ImGui::SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiID id = g.LastItemData.ID; + if (id == 0 || (g.HoveredId != id && g.ActiveId != id)) + return; + if ((flags & ImGuiInputFlags_CondMask_) == 0) + flags |= ImGuiInputFlags_CondDefault_; + if ((g.HoveredId == id && (flags & ImGuiInputFlags_CondHovered)) || (g.ActiveId == id && (flags & ImGuiInputFlags_CondActive))) + { + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetItemKeyOwner) == 0); // Passing flags not supported by this function! + SetKeyOwner(key, id, flags & ~ImGuiInputFlags_CondMask_); + } +} + +void ImGui::SetItemKeyOwner(ImGuiKey key) +{ + SetItemKeyOwner(key, ImGuiInputFlags_None); +} + +// This is the only public API until we expose owner_id versions of the API as replacements. +bool ImGui::IsKeyChordPressed(ImGuiKeyChord key_chord) +{ + return IsKeyChordPressed(key_chord, ImGuiInputFlags_None, ImGuiKeyOwner_Any); +} + +// This is equivalent to comparing KeyMods + doing a IsKeyPressed() +bool ImGui::IsKeyChordPressed(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + key_chord = FixupKeyChord(key_chord); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (g.IO.KeyMods != mods) + return false; + + // Special storage location for mods + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + if (!IsKeyPressed(key, (flags & ImGuiInputFlags_RepeatMask_), owner_id)) + return false; + return true; +} + +void ImGui::SetNextItemShortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasShortcut; + g.NextItemData.Shortcut = key_chord; + g.NextItemData.ShortcutFlags = flags; +} + +// Called from within ItemAdd: at this point we can read from NextItemData and write to LastItemData +void ImGui::ItemHandleShortcut(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiInputFlags flags = g.NextItemData.ShortcutFlags; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetNextItemShortcut) == 0); // Passing flags not supported by SetNextItemShortcut()! + + if (g.LastItemData.ItemFlags & ImGuiItemFlags_Disabled) + return; + if (flags & ImGuiInputFlags_Tooltip) + { + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HasShortcut; + g.LastItemData.Shortcut = g.NextItemData.Shortcut; + } + if (!Shortcut(g.NextItemData.Shortcut, flags & ImGuiInputFlags_SupportedByShortcut, id) || g.NavActivateId != 0) + return; + + // FIXME: Generalize Activation queue? + g.NavActivateId = id; // Will effectively disable clipping. + g.NavActivateFlags = ImGuiActivateFlags_PreferInput | ImGuiActivateFlags_FromShortcut; + //if (g.ActiveId == 0 || g.ActiveId == id) + g.NavActivateDownId = g.NavActivatePressedId = id; + NavHighlightActivated(id); +} + +bool ImGui::Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags) +{ + return Shortcut(key_chord, flags, ImGuiKeyOwner_Any); +} + +bool ImGui::Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + //IMGUI_DEBUG_LOG("Shortcut(%s, flags=%X, owner_id=0x%08X)\n", GetKeyChordName(key_chord, g.TempBuffer.Data, g.TempBuffer.Size), flags, owner_id); + + // When using (owner_id == 0/Any): SetShortcutRouting() will use CurrentFocusScopeId and filter with this, so IsKeyPressed() is fine with he 0/Any. + if ((flags & ImGuiInputFlags_RouteTypeMask_) == 0) + flags |= ImGuiInputFlags_RouteFocused; + + // Using 'owner_id == ImGuiKeyOwner_Any/0': auto-assign an owner based on current focus scope (each window has its focus scope by default) + // Effectively makes Shortcut() always input-owner aware. + if (owner_id == ImGuiKeyOwner_Any || owner_id == ImGuiKeyOwner_NoOwner) + owner_id = GetRoutingIdFromOwnerId(owner_id); + + if (g.CurrentItemFlags & ImGuiItemFlags_Disabled) + return false; + + // Submit route + if (!SetShortcutRouting(key_chord, flags, owner_id)) + return false; + + // Default repeat behavior for Shortcut() + // So e.g. pressing Ctrl+W and releasing Ctrl while holding W will not trigger the W shortcut. + if ((flags & ImGuiInputFlags_Repeat) != 0 && (flags & ImGuiInputFlags_RepeatUntilMask_) == 0) + flags |= ImGuiInputFlags_RepeatUntilKeyModsChange; + + if (!IsKeyChordPressed(key_chord, flags, owner_id)) + return false; + + // Claim mods during the press + SetKeyOwnersForKeyChord(key_chord & ImGuiMod_Mask_, owner_id); + + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByShortcut) == 0); // Passing flags not supported by this function! + return true; +} + +//----------------------------------------------------------------------------- +// [SECTION] ERROR CHECKING, STATE RECOVERY +//----------------------------------------------------------------------------- +// - DebugCheckVersionAndDataLayout() (called via IMGUI_CHECKVERSION() macros) +// - ErrorCheckUsingSetCursorPosToExtendParentBoundaries() +// - ErrorCheckNewFrameSanityChecks() +// - ErrorCheckEndFrameSanityChecks() +// - ErrorRecoveryStoreState() +// - ErrorRecoveryTryToRecoverState() +// - ErrorRecoveryTryToRecoverWindowState() +// - ErrorLog() +//----------------------------------------------------------------------------- + +// Verify ABI compatibility between caller code and compiled version of Dear ImGui. This helps detects some build issues. +// Called by IMGUI_CHECKVERSION(). +// Verify that the type sizes are matching between the calling file's compilation unit and imgui.cpp's compilation unit +// If this triggers you have mismatched headers and compiled code versions. +// - It could be because of a build issue (using new headers with old compiled code) +// - It could be because of mismatched configuration #define, compilation settings, packing pragma etc. +// THE CONFIGURATION SETTINGS MENTIONED IN imconfig.h MUST BE SET FOR ALL COMPILATION UNITS INVOLVED WITH DEAR IMGUI. +// Which is why it is required you put them in your imconfig file (and NOT only before including imgui.h). +// Otherwise it is possible that different compilation units would see different structure layout. +// If you don't want to modify imconfig.h you can use the IMGUI_USER_CONFIG define to change filename. +bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_vert, size_t sz_idx) +{ + bool error = false; + if (strcmp(version, IMGUI_VERSION) != 0) { error = true; IM_ASSERT(strcmp(version, IMGUI_VERSION) == 0 && "Mismatched version string!"); } + if (sz_io != sizeof(ImGuiIO)) { error = true; IM_ASSERT(sz_io == sizeof(ImGuiIO) && "Mismatched struct layout!"); } + if (sz_style != sizeof(ImGuiStyle)) { error = true; IM_ASSERT(sz_style == sizeof(ImGuiStyle) && "Mismatched struct layout!"); } + if (sz_vec2 != sizeof(ImVec2)) { error = true; IM_ASSERT(sz_vec2 == sizeof(ImVec2) && "Mismatched struct layout!"); } + if (sz_vec4 != sizeof(ImVec4)) { error = true; IM_ASSERT(sz_vec4 == sizeof(ImVec4) && "Mismatched struct layout!"); } + if (sz_vert != sizeof(ImDrawVert)) { error = true; IM_ASSERT(sz_vert == sizeof(ImDrawVert) && "Mismatched struct layout!"); } + if (sz_idx != sizeof(ImDrawIdx)) { error = true; IM_ASSERT(sz_idx == sizeof(ImDrawIdx) && "Mismatched struct layout!"); } + return !error; +} + +// Until 1.89 (IMGUI_VERSION_NUM < 18814) it was legal to use SetCursorPos() to extend the boundary of a parent (e.g. window or table cell) +// This is causing issues and ambiguity and we need to retire that. +// See https://github.com/ocornut/imgui/issues/5548 for more details. +// [Scenario 1] +// Previously this would make the window content size ~200x200: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); // NOT OK +// Instead, please submit an item: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); // OK +// Alternative: +// Begin(...) + Dummy(ImVec2(200,200)) + End(); // OK +// [Scenario 2] +// For reference this is one of the issue what we aim to fix with this change: +// BeginGroup() + SomeItem("foobar") + SetCursorScreenPos(GetCursorScreenPos()) + EndGroup() +// The previous logic made SetCursorScreenPos(GetCursorScreenPos()) have a side-effect! It would erroneously incorporate ItemSpacing.y after the item into content size, making the group taller! +// While this code is a little twisted, no-one would expect SetXXX(GetXXX()) to have a side-effect. Using vertical alignment patterns could trigger this issue. +void ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window->DC.IsSetPos); + window->DC.IsSetPos = false; +#ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (window->DC.CursorPos.x <= window->DC.CursorMaxPos.x && window->DC.CursorPos.y <= window->DC.CursorMaxPos.y) + return; + if (window->SkipItems) + return; + IM_ASSERT(0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent."); +#else + window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); +#endif +} + +static void ImGui::ErrorCheckNewFrameSanityChecks() +{ + ImGuiContext& g = *GImGui; + + // Check user IM_ASSERT macro + // (IF YOU GET A WARNING OR COMPILE ERROR HERE: it means your assert macro is incorrectly defined! + // If your macro uses multiple statements, it NEEDS to be surrounded by a 'do { ... } while (0)' block. + // This is a common C/C++ idiom to allow multiple statements macros to be used in control flow blocks.) + // #define IM_ASSERT(EXPR) if (SomeCode(EXPR)) SomeMoreCode(); // Wrong! + // #define IM_ASSERT(EXPR) do { if (SomeCode(EXPR)) SomeMoreCode(); } while (0) // Correct! + if (true) IM_ASSERT(1); else IM_ASSERT(0); + + // Emscripten backends are often imprecise in their submission of DeltaTime. (#6114, #3644) + // Ideally the Emscripten app/backend should aim to fix or smooth this value and avoid feeding zero, but we tolerate it. +#ifdef __EMSCRIPTEN__ + if (g.IO.DeltaTime <= 0.0f && g.FrameCount > 0) + g.IO.DeltaTime = 0.00001f; +#endif + + // Check user data + // (We pass an error message in the assert expression to make it visible to programmers who are not using a debugger, as most assert handlers display their argument) + IM_ASSERT(g.Initialized); + IM_ASSERT((g.IO.DeltaTime > 0.0f || g.FrameCount == 0) && "Need a positive DeltaTime!"); + IM_ASSERT((g.FrameCount == 0 || g.FrameCountEnded == g.FrameCount) && "Forgot to call Render() or EndFrame() at the end of the previous frame?"); + IM_ASSERT(g.IO.DisplaySize.x >= 0.0f && g.IO.DisplaySize.y >= 0.0f && "Invalid DisplaySize value!"); + IM_ASSERT(g.IO.Fonts->IsBuilt() && "Font Atlas not built! Make sure you called ImGui_ImplXXXX_NewFrame() function for renderer backend, which should call io.Fonts->GetTexDataAsRGBA32() / GetTexDataAsAlpha8()"); + IM_ASSERT(g.Style.CurveTessellationTol > 0.0f && "Invalid style setting!"); + IM_ASSERT(g.Style.CircleTessellationMaxError > 0.0f && "Invalid style setting!"); + IM_ASSERT(g.Style.Alpha >= 0.0f && g.Style.Alpha <= 1.0f && "Invalid style setting!"); // Allows us to avoid a few clamps in color computations + IM_ASSERT(g.Style.WindowMinSize.x >= 1.0f && g.Style.WindowMinSize.y >= 1.0f && "Invalid style setting!"); + IM_ASSERT(g.Style.WindowBorderHoverPadding > 0.0f && "Invalid style setting!"); // Required otherwise cannot resize from borders. + IM_ASSERT(g.Style.WindowMenuButtonPosition == ImGuiDir_None || g.Style.WindowMenuButtonPosition == ImGuiDir_Left || g.Style.WindowMenuButtonPosition == ImGuiDir_Right); + IM_ASSERT(g.Style.ColorButtonPosition == ImGuiDir_Left || g.Style.ColorButtonPosition == ImGuiDir_Right); + + // Error handling: we do not accept 100% silent recovery! Please contact me if you feel this is getting in your way. + if (g.IO.ConfigErrorRecovery) + IM_ASSERT(g.IO.ConfigErrorRecoveryEnableAssert || g.IO.ConfigErrorRecoveryEnableDebugLog || g.IO.ConfigErrorRecoveryEnableTooltip || g.ErrorCallback != NULL); + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + // Remap legacy names + if (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableSetMousePos) + { + g.IO.ConfigNavMoveSetMousePos = true; + g.IO.ConfigFlags &= ~ImGuiConfigFlags_NavEnableSetMousePos; + } + if (g.IO.ConfigFlags & ImGuiConfigFlags_NavNoCaptureKeyboard) + { + g.IO.ConfigNavCaptureKeyboard = false; + g.IO.ConfigFlags &= ~ImGuiConfigFlags_NavNoCaptureKeyboard; + } + + // Remap legacy clipboard handlers (OBSOLETED in 1.91.1, August 2024) + if (g.IO.GetClipboardTextFn != NULL && (g.PlatformIO.Platform_GetClipboardTextFn == NULL || g.PlatformIO.Platform_GetClipboardTextFn == Platform_GetClipboardTextFn_DefaultImpl)) + g.PlatformIO.Platform_GetClipboardTextFn = [](ImGuiContext* ctx) { return ctx->IO.GetClipboardTextFn(ctx->IO.ClipboardUserData); }; + if (g.IO.SetClipboardTextFn != NULL && (g.PlatformIO.Platform_SetClipboardTextFn == NULL || g.PlatformIO.Platform_SetClipboardTextFn == Platform_SetClipboardTextFn_DefaultImpl)) + g.PlatformIO.Platform_SetClipboardTextFn = [](ImGuiContext* ctx, const char* text) { return ctx->IO.SetClipboardTextFn(ctx->IO.ClipboardUserData, text); }; +#endif +} + +static void ImGui::ErrorCheckEndFrameSanityChecks() +{ + // Verify that io.KeyXXX fields haven't been tampered with. Key mods should not be modified between NewFrame() and EndFrame() + // One possible reason leading to this assert is that your backends update inputs _AFTER_ NewFrame(). + // It is known that when some modal native windows called mid-frame takes focus away, some backends such as GLFW will + // send key release events mid-frame. This would normally trigger this assertion and lead to sheared inputs. + // We silently accommodate for this case by ignoring the case where all io.KeyXXX modifiers were released (aka key_mod_flags == 0), + // while still correctly asserting on mid-frame key press events. + ImGuiContext& g = *GImGui; + const ImGuiKeyChord key_mods = GetMergedModsFromKeys(); + IM_UNUSED(g); + IM_UNUSED(key_mods); + IM_ASSERT((key_mods == 0 || g.IO.KeyMods == key_mods) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); + IM_UNUSED(key_mods); + + IM_ASSERT(g.CurrentWindowStack.Size == 1); + IM_ASSERT(g.CurrentWindowStack[0].Window->IsFallbackWindow); +} + +// Save current stack sizes. Called e.g. by NewFrame() and by Begin() but may be called for manual recovery. +void ImGui::ErrorRecoveryStoreState(ImGuiErrorRecoveryState* state_out) +{ + ImGuiContext& g = *GImGui; + state_out->SizeOfWindowStack = (short)g.CurrentWindowStack.Size; + state_out->SizeOfIDStack = (short)g.CurrentWindow->IDStack.Size; + state_out->SizeOfTreeStack = (short)g.CurrentWindow->DC.TreeDepth; // NOT g.TreeNodeStack.Size which is a partial stack! + state_out->SizeOfColorStack = (short)g.ColorStack.Size; + state_out->SizeOfStyleVarStack = (short)g.StyleVarStack.Size; + state_out->SizeOfFontStack = (short)g.FontStack.Size; + state_out->SizeOfFocusScopeStack = (short)g.FocusScopeStack.Size; + state_out->SizeOfGroupStack = (short)g.GroupStack.Size; + state_out->SizeOfItemFlagsStack = (short)g.ItemFlagsStack.Size; + state_out->SizeOfBeginPopupStack = (short)g.BeginPopupStack.Size; + state_out->SizeOfDisabledStack = (short)g.DisabledStackSize; +} + +// Chosen name "Try to recover" over e.g. "Restore" to suggest this is not a 100% guaranteed recovery. +// Called by e.g. EndFrame() but may be called for manual recovery. +// Attempt to recover full window stack. +void ImGui::ErrorRecoveryTryToRecoverState(const ImGuiErrorRecoveryState* state_in) +{ + // PVS-Studio V1044 is "Loop break conditions do not depend on the number of iterations" + ImGuiContext& g = *GImGui; + while (g.CurrentWindowStack.Size > state_in->SizeOfWindowStack) //-V1044 + { + // Recap: + // - Begin()/BeginChild() return false to indicate the window is collapsed or fully clipped. + // - Always call a matching End() for each Begin() call, regardless of its return value! + // - Begin/End and BeginChild/EndChild logic is KNOWN TO BE INCONSISTENT WITH ALL OTHER BEGIN/END FUNCTIONS. + // - We will fix that in a future major update. + ImGuiWindow* window = g.CurrentWindow; + if (window->Flags & ImGuiWindowFlags_ChildWindow) + { + if (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow) + { + IM_ASSERT_USER_ERROR(0, "Missing EndTable()"); + EndTable(); + } + else + { + IM_ASSERT_USER_ERROR(0, "Missing EndChild()"); + EndChild(); + } + } + else + { + IM_ASSERT_USER_ERROR(0, "Missing End()"); + End(); + } + } + if (g.CurrentWindowStack.Size == state_in->SizeOfWindowStack) + ErrorRecoveryTryToRecoverWindowState(state_in); +} + +// Called by e.g. End() but may be called for manual recovery. +// Read '// Error Handling [BETA]' block in imgui_internal.h for details. +// Attempt to recover from incorrect usage of BeginXXX/EndXXX/PushXXX/PopXXX calls. +void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryState* state_in) +{ + ImGuiContext& g = *GImGui; + + while (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndTable()"); + EndTable(); + } + + ImGuiWindow* window = g.CurrentWindow; + + // FIXME: Can't recover from inside BeginTabItem/EndTabItem yet. + while (g.CurrentTabBar != NULL && g.CurrentTabBar->Window == window) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndTabBar()"); + EndTabBar(); + } + while (g.CurrentMultiSelect != NULL && g.CurrentMultiSelect->Storage->Window == window) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndMultiSelect()"); + EndMultiSelect(); + } + if (window->DC.MenuBarAppending) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndMenuBar()"); + EndMenuBar(); + } + while (window->DC.TreeDepth > state_in->SizeOfTreeStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing TreePop()"); + TreePop(); + } + while (g.GroupStack.Size > state_in->SizeOfGroupStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndGroup()"); + EndGroup(); + } + IM_ASSERT(g.GroupStack.Size == state_in->SizeOfGroupStack); + while (window->IDStack.Size > state_in->SizeOfIDStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopID()"); + PopID(); + } + while (g.DisabledStackSize > state_in->SizeOfDisabledStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing EndDisabled()"); + if (g.CurrentItemFlags & ImGuiItemFlags_Disabled) + EndDisabled(); + else + { + EndDisabledOverrideReenable(); + g.CurrentWindowStack.back().DisabledOverrideReenable = false; + } + } + IM_ASSERT(g.DisabledStackSize == state_in->SizeOfDisabledStack); + while (g.ColorStack.Size > state_in->SizeOfColorStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopStyleColor()"); + PopStyleColor(); + } + while (g.ItemFlagsStack.Size > state_in->SizeOfItemFlagsStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopItemFlag()"); + PopItemFlag(); + } + while (g.StyleVarStack.Size > state_in->SizeOfStyleVarStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopStyleVar()"); + PopStyleVar(); + } + while (g.FontStack.Size > state_in->SizeOfFontStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopFont()"); + PopFont(); + } + while (g.FocusScopeStack.Size > state_in->SizeOfFocusScopeStack) //-V1044 + { + IM_ASSERT_USER_ERROR(0, "Missing PopFocusScope()"); + PopFocusScope(); + } + //IM_ASSERT(g.FocusScopeStack.Size == state_in->SizeOfFocusScopeStack); +} + +bool ImGui::ErrorLog(const char* msg) +{ + ImGuiContext& g = *GImGui; + + // Output to debug log +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiWindow* window = g.CurrentWindow; + + if (g.IO.ConfigErrorRecoveryEnableDebugLog) + { + if (g.ErrorFirst) + IMGUI_DEBUG_LOG_ERROR("[imgui-error] (current settings: Assert=%d, Log=%d, Tooltip=%d)\n", + g.IO.ConfigErrorRecoveryEnableAssert, g.IO.ConfigErrorRecoveryEnableDebugLog, g.IO.ConfigErrorRecoveryEnableTooltip); + IMGUI_DEBUG_LOG_ERROR("[imgui-error] In window '%s': %s\n", window ? window->Name : "NULL", msg); + } + g.ErrorFirst = false; + + // Output to tooltip + if (g.IO.ConfigErrorRecoveryEnableTooltip) + { + if (g.WithinFrameScope && BeginErrorTooltip()) + { + if (g.ErrorCountCurrentFrame < 20) + { + Text("In window '%s': %s", window ? window->Name : "NULL", msg); + if (window && (!window->IsFallbackWindow || window->WasActive)) + GetForegroundDrawList(window)->AddRect(window->Pos, window->Pos + window->Size, IM_COL32(255, 0, 0, 255)); + } + if (g.ErrorCountCurrentFrame == 20) + Text("(and more errors)"); + // EndFrame() will amend debug buttons to this window, after all errors have been submitted. + EndErrorTooltip(); + } + g.ErrorCountCurrentFrame++; + } +#endif + + // Output to callback + if (g.ErrorCallback != NULL) + g.ErrorCallback(&g, g.ErrorCallbackUserData, msg); + + // Return whether we should assert + return g.IO.ConfigErrorRecoveryEnableAssert; +} + +void ImGui::ErrorCheckEndFrameFinalizeErrorTooltip() +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + if (g.DebugDrawIdConflicts != 0 && g.IO.KeyCtrl == false) + g.DebugDrawIdConflictsCount = g.HoveredIdPreviousFrameItemCount; + if (g.DebugDrawIdConflicts != 0 && g.DebugItemPickerActive == false && BeginErrorTooltip()) + { + Text("Programmer error: %d visible items with conflicting ID!", g.DebugDrawIdConflictsCount); + BulletText("Code should use PushID()/PopID() in loops, or append \"##xx\" to same-label identifiers!"); + BulletText("Empty label e.g. Button(\"\") == same ID as parent widget/node. Use Button(\"##xx\") instead!"); + //BulletText("Code intending to use duplicate ID may use e.g. PushItemFlag(ImGuiItemFlags_AllowDuplicateId, true); ... PopItemFlag()"); // Not making this too visible for fear of it being abused. + BulletText("Set io.ConfigDebugHighlightIdConflicts=false to disable this warning in non-programmers builds."); + Separator(); + if (g.IO.ConfigDebugHighlightIdConflictsShowItemPicker) + { + Text("(Hold CTRL to: use "); + SameLine(0.0f, 0.0f); + if (SmallButton("Item Picker")) + DebugStartItemPicker(); + SameLine(0.0f, 0.0f); + Text(" to break in item call-stack, or "); + } + else + { + Text("(Hold CTRL to "); + } + SameLine(0.0f, 0.0f); + if (SmallButton("Open FAQ->About ID Stack System") && g.PlatformIO.Platform_OpenInShellFn != NULL) + g.PlatformIO.Platform_OpenInShellFn(&g, "https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#qa-usage"); + SameLine(0.0f, 0.0f); + Text(")"); + EndErrorTooltip(); + } + + if (g.ErrorCountCurrentFrame > 0 && BeginErrorTooltip()) // Amend at end of frame + { + Separator(); + Text("(Hold CTRL to:"); + SameLine(); + if (SmallButton("Enable Asserts")) + g.IO.ConfigErrorRecoveryEnableAssert = true; + //SameLine(); + //if (SmallButton("Hide Error Tooltips")) + // g.IO.ConfigErrorRecoveryEnableTooltip = false; // Too dangerous + SameLine(0, 0); + Text(")"); + EndErrorTooltip(); + } +#endif +} + +// Pseudo-tooltip. Follow mouse until CTRL is held. When CTRL is held we lock position, allowing to click it. +bool ImGui::BeginErrorTooltip() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = FindWindowByName("##Tooltip_Error"); + const bool use_locked_pos = (g.IO.KeyCtrl && window && window->WasActive); + PushStyleColor(ImGuiCol_PopupBg, ImLerp(g.Style.Colors[ImGuiCol_PopupBg], ImVec4(1.0f, 0.0f, 0.0f, 1.0f), 0.15f)); + if (use_locked_pos) + SetNextWindowPos(g.ErrorTooltipLockedPos); + bool is_visible = Begin("##Tooltip_Error", NULL, ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize); + PopStyleColor(); + if (is_visible && g.CurrentWindow->BeginCount == 1) + { + SeparatorText("MESSAGE FROM DEAR IMGUI"); + BringWindowToDisplayFront(g.CurrentWindow); + BringWindowToFocusFront(g.CurrentWindow); + g.ErrorTooltipLockedPos = GetWindowPos(); + } + else if (!is_visible) + { + End(); + } + return is_visible; +} + +void ImGui::EndErrorTooltip() +{ + End(); +} + +//----------------------------------------------------------------------------- +// [SECTION] ITEM SUBMISSION +//----------------------------------------------------------------------------- +// - KeepAliveID() +// - ItemAdd() +//----------------------------------------------------------------------------- + +// Code not using ItemAdd() may need to call this manually otherwise ActiveId will be cleared. In IMGUI_VERSION_NUM < 18717 this was called by GetID(). +void ImGui::KeepAliveID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + if (g.ActiveId == id) + g.ActiveIdIsAlive = id; + if (g.DeactivatedItemData.ID == id) + g.DeactivatedItemData.IsAlive = true; +} + +// Declare item bounding box for clipping and interaction. +// Note that the size can be different than the one provided to ItemSize(). Typically, widgets that spread over available surface +// declare their minimum size requirement to ItemSize() and provide a larger region to ItemAdd() which is used drawing/interaction. +// THIS IS IN THE PERFORMANCE CRITICAL PATH (UNTIL THE CLIPPING TEST AND EARLY-RETURN) +IM_MSVC_RUNTIME_CHECKS_OFF +bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGuiItemFlags extra_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // Set item data + // (DisplayRect is left untouched, made valid when ImGuiItemStatusFlags_HasDisplayRect is set) + g.LastItemData.ID = id; + g.LastItemData.Rect = bb; + g.LastItemData.NavRect = nav_bb_arg ? *nav_bb_arg : bb; + g.LastItemData.ItemFlags = g.CurrentItemFlags | g.NextItemData.ItemFlags | extra_flags; + g.LastItemData.StatusFlags = ImGuiItemStatusFlags_None; + // Note: we don't copy 'g.NextItemData.SelectionUserData' to an hypothetical g.LastItemData.SelectionUserData: since the former is not cleared. + + if (id != 0) + { + KeepAliveID(id); + + // Directional navigation processing + // Runs prior to clipping early-out + // (a) So that NavInitRequest can be honored, for newly opened windows to select a default widget + // (b) So that we can scroll up/down past clipped items. This adds a small O(N) cost to regular navigation requests + // unfortunately, but it is still limited to one window. It may not scale very well for windows with ten of + // thousands of item, but at least NavMoveRequest is only set on user interaction, aka maximum once a frame. + // We could early out with "if (is_clipped && !g.NavInitRequest) return false;" but when we wouldn't be able + // to reach unclipped widgets. This would work if user had explicit scrolling control (e.g. mapped on a stick). + // We intentionally don't check if g.NavWindow != NULL because g.NavAnyRequest should only be set when it is non null. + // If we crash on a NULL g.NavWindow we need to fix the bug elsewhere. + if (!(g.LastItemData.ItemFlags & ImGuiItemFlags_NoNav)) + { + // FIMXE-NAV: investigate changing the window tests into a simple 'if (g.NavFocusScopeId == g.CurrentFocusScopeId)' test. + window->DC.NavLayersActiveMaskNext |= (1 << window->DC.NavLayerCurrent); + if (g.NavId == id || g.NavAnyRequest) + if (g.NavWindow->RootWindowForNav == window->RootWindowForNav) + if (window == g.NavWindow || ((window->ChildFlags | g.NavWindow->ChildFlags) & ImGuiChildFlags_NavFlattened)) + NavProcessItem(); + } + + if (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasShortcut) + ItemHandleShortcut(id); + } + + // Lightweight clear of SetNextItemXXX data. + g.NextItemData.HasFlags = ImGuiNextItemDataFlags_None; + g.NextItemData.ItemFlags = ImGuiItemFlags_None; + +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (id != 0) + IMGUI_TEST_ENGINE_ITEM_ADD(id, g.LastItemData.NavRect, &g.LastItemData); +#endif + + // Clipping test + // (this is an inline copy of IsClippedEx() so we can reuse the is_rect_visible value, otherwise we'd do 'if (IsClippedEx(bb, id)) return false') + // g.NavActivateId is not necessarily == g.NavId, in the case of remote activation (e.g. shortcuts) + const bool is_rect_visible = bb.Overlaps(window->ClipRect); + if (!is_rect_visible) + if (id == 0 || (id != g.ActiveId && id != g.ActiveIdPreviousFrame && id != g.NavId && id != g.NavActivateId)) + if (!g.ItemUnclipByLog) + return false; + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (id != 0) + { + if (id == g.DebugLocateId) + DebugLocateItemResolveWithLastItem(); + + // [DEBUG] People keep stumbling on this problem and using "" as identifier in the root of a window instead of "##something". + // Empty identifier are valid and useful in a small amount of cases, but 99.9% of the time you want to use "##something". + // READ THE FAQ: https://dearimgui.com/faq + IM_ASSERT(id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"); + } + //if (g.IO.KeyAlt) window->DrawList->AddRect(bb.Min, bb.Max, IM_COL32(255,255,0,120)); // [DEBUG] + //if ((g.LastItemData.ItemFlags & ImGuiItemFlags_NoNav) == 0) + // window->DrawList->AddRect(g.LastItemData.NavRect.Min, g.LastItemData.NavRect.Max, IM_COL32(255,255,0,255)); // [DEBUG] +#endif + + if (id != 0 && g.DeactivatedItemData.ID == id) + g.DeactivatedItemData.ElapseFrame = g.FrameCount; + + // We need to calculate this now to take account of the current clipping rectangle (as items like Selectable may change them) + if (is_rect_visible) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Visible; + if (IsMouseHoveringRect(bb.Min, bb.Max)) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredRect; + return true; +} +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] LAYOUT +//----------------------------------------------------------------------------- +// - ItemSize() +// - SameLine() +// - GetCursorScreenPos() +// - SetCursorScreenPos() +// - GetCursorPos(), GetCursorPosX(), GetCursorPosY() +// - SetCursorPos(), SetCursorPosX(), SetCursorPosY() +// - GetCursorStartPos() +// - Indent() +// - Unindent() +// - SetNextItemWidth() +// - PushItemWidth() +// - PushMultiItemsWidths() +// - PopItemWidth() +// - CalcItemWidth() +// - CalcItemSize() +// - GetTextLineHeight() +// - GetTextLineHeightWithSpacing() +// - GetFrameHeight() +// - GetFrameHeightWithSpacing() +// - GetContentRegionMax() +// - GetContentRegionAvail(), +// - BeginGroup() +// - EndGroup() +// Also see in imgui_widgets: tab bars, and in imgui_tables: tables, columns. +//----------------------------------------------------------------------------- + +// Advance cursor given item size for layout. +// Register minimum needed size so it can extend the bounding box used for auto-fit calculation. +// See comments in ItemAdd() about how/why the size provided to ItemSize() vs ItemAdd() may often different. +// THIS IS IN THE PERFORMANCE CRITICAL PATH. +IM_MSVC_RUNTIME_CHECKS_OFF +void ImGui::ItemSize(const ImVec2& size, float text_baseline_y) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + // We increase the height in this function to accommodate for baseline offset. + // In theory we should be offsetting the starting position (window->DC.CursorPos), that will be the topic of a larger refactor, + // but since ItemSize() is not yet an API that moves the cursor (to handle e.g. wrapping) enlarging the height has the same effect. + const float offset_to_match_baseline_y = (text_baseline_y >= 0) ? ImMax(0.0f, window->DC.CurrLineTextBaseOffset - text_baseline_y) : 0.0f; + + const float line_y1 = window->DC.IsSameLine ? window->DC.CursorPosPrevLine.y : window->DC.CursorPos.y; + const float line_height = ImMax(window->DC.CurrLineSize.y, /*ImMax(*/window->DC.CursorPos.y - line_y1/*, 0.0f)*/ + size.y + offset_to_match_baseline_y); + + // Always align ourselves on pixel boundaries + //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG] + window->DC.CursorPosPrevLine.x = window->DC.CursorPos.x + size.x; + window->DC.CursorPosPrevLine.y = line_y1; + window->DC.CursorPos.x = IM_TRUNC(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); // Next line + window->DC.CursorPos.y = IM_TRUNC(line_y1 + line_height + g.Style.ItemSpacing.y); // Next line + window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPosPrevLine.x); + window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.ItemSpacing.y); + //if (g.IO.KeyAlt) window->DrawList->AddCircle(window->DC.CursorMaxPos, 3.0f, IM_COL32(255,0,0,255), 4); // [DEBUG] + + window->DC.PrevLineSize.y = line_height; + window->DC.CurrLineSize.y = 0.0f; + window->DC.PrevLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, text_baseline_y); + window->DC.CurrLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; + + // Horizontal layout mode + if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) + SameLine(); +} +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Gets back to previous line and continue with horizontal layout +// offset_from_start_x == 0 : follow right after previous item +// offset_from_start_x != 0 : align to specified x position (relative to window/group left) +// spacing_w < 0 : use default spacing if offset_from_start_x == 0, no spacing if offset_from_start_x != 0 +// spacing_w >= 0 : enforce spacing amount +void ImGui::SameLine(float offset_from_start_x, float spacing_w) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + if (offset_from_start_x != 0.0f) + { + if (spacing_w < 0.0f) + spacing_w = 0.0f; + window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + offset_from_start_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x; + window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; + } + else + { + if (spacing_w < 0.0f) + spacing_w = g.Style.ItemSpacing.x; + window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; + window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; + } + window->DC.CurrLineSize = window->DC.PrevLineSize; + window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset; + window->DC.IsSameLine = true; +} + +ImVec2 ImGui::GetCursorScreenPos() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CursorPos; +} + +void ImGui::SetCursorScreenPos(const ImVec2& pos) +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DC.CursorPos = pos; + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; +} + +// User generally sees positions in window coordinates. Internally we store CursorPos in absolute screen coordinates because it is more convenient. +// Conversion happens as we pass the value to user, but it makes our naming convention confusing because GetCursorPos() == (DC.CursorPos - window.Pos). May want to rename 'DC.CursorPos'. +ImVec2 ImGui::GetCursorPos() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CursorPos - window->Pos + window->Scroll; +} + +float ImGui::GetCursorPosX() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CursorPos.x - window->Pos.x + window->Scroll.x; +} + +float ImGui::GetCursorPosY() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CursorPos.y - window->Pos.y + window->Scroll.y; +} + +void ImGui::SetCursorPos(const ImVec2& local_pos) +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DC.CursorPos = window->Pos - window->Scroll + local_pos; + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; +} + +void ImGui::SetCursorPosX(float x) +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + x; + //window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); + window->DC.IsSetPos = true; +} + +void ImGui::SetCursorPosY(float y) +{ + ImGuiWindow* window = GetCurrentWindow(); + window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y; + //window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); + window->DC.IsSetPos = true; +} + +ImVec2 ImGui::GetCursorStartPos() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CursorStartPos - window->Pos; +} + +void ImGui::Indent(float indent_w) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + window->DC.Indent.x += (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing; + window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x; +} + +void ImGui::Unindent(float indent_w) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + window->DC.Indent.x -= (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing; + window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x; +} + +// Affect large frame+labels widgets only. +void ImGui::SetNextItemWidth(float item_width) +{ + ImGuiContext& g = *GImGui; + g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasWidth; + g.NextItemData.Width = item_width; +} + +// FIXME: Remove the == 0.0f behavior? +void ImGui::PushItemWidth(float item_width) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + window->DC.ItemWidthStack.push_back(window->DC.ItemWidth); // Backup current width + window->DC.ItemWidth = (item_width == 0.0f ? window->ItemWidthDefault : item_width); + g.NextItemData.HasFlags &= ~ImGuiNextItemDataFlags_HasWidth; +} + +void ImGui::PushMultiItemsWidths(int components, float w_full) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(components > 0); + const ImGuiStyle& style = g.Style; + window->DC.ItemWidthStack.push_back(window->DC.ItemWidth); // Backup current width + float w_items = w_full - style.ItemInnerSpacing.x * (components - 1); + float prev_split = w_items; + for (int i = components - 1; i > 0; i--) + { + float next_split = IM_TRUNC(w_items * i / components); + window->DC.ItemWidthStack.push_back(ImMax(prev_split - next_split, 1.0f)); + prev_split = next_split; + } + window->DC.ItemWidth = ImMax(prev_split, 1.0f); + g.NextItemData.HasFlags &= ~ImGuiNextItemDataFlags_HasWidth; +} + +void ImGui::PopItemWidth() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->DC.ItemWidthStack.Size <= 0) + { + IM_ASSERT_USER_ERROR(0, "Calling PopItemWidth() too many times!"); + return; + } + window->DC.ItemWidth = window->DC.ItemWidthStack.back(); + window->DC.ItemWidthStack.pop_back(); +} + +// Calculate default item width given value passed to PushItemWidth() or SetNextItemWidth(). +// The SetNextItemWidth() data is generally cleared/consumed by ItemAdd() or NextItemData.ClearFlags() +float ImGui::CalcItemWidth() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + float w; + if (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasWidth) + w = g.NextItemData.Width; + else + w = window->DC.ItemWidth; + if (w < 0.0f) + { + float region_avail_x = GetContentRegionAvail().x; + w = ImMax(1.0f, region_avail_x + w); + } + w = IM_TRUNC(w); + return w; +} + +// [Internal] Calculate full item size given user provided 'size' parameter and default width/height. Default width is often == CalcItemWidth(). +// Those two functions CalcItemWidth vs CalcItemSize are awkwardly named because they are not fully symmetrical. +// Note that only CalcItemWidth() is publicly exposed. +// The 4.0f here may be changed to match CalcItemWidth() and/or BeginChild() (right now we have a mismatch which is harmless but undesirable) +ImVec2 ImGui::CalcItemSize(ImVec2 size, float default_w, float default_h) +{ + ImVec2 avail; + if (size.x < 0.0f || size.y < 0.0f) + avail = GetContentRegionAvail(); + + if (size.x == 0.0f) + size.x = default_w; + else if (size.x < 0.0f) + size.x = ImMax(4.0f, avail.x + size.x); // <-- size.x is negative here so we are subtracting + + if (size.y == 0.0f) + size.y = default_h; + else if (size.y < 0.0f) + size.y = ImMax(4.0f, avail.y + size.y); // <-- size.y is negative here so we are subtracting + + return size; +} + +float ImGui::GetTextLineHeight() +{ + ImGuiContext& g = *GImGui; + return g.FontSize; +} + +float ImGui::GetTextLineHeightWithSpacing() +{ + ImGuiContext& g = *GImGui; + return g.FontSize + g.Style.ItemSpacing.y; +} + +float ImGui::GetFrameHeight() +{ + ImGuiContext& g = *GImGui; + return g.FontSize + g.Style.FramePadding.y * 2.0f; +} + +float ImGui::GetFrameHeightWithSpacing() +{ + ImGuiContext& g = *GImGui; + return g.FontSize + g.Style.FramePadding.y * 2.0f + g.Style.ItemSpacing.y; +} + +ImVec2 ImGui::GetContentRegionAvail() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImVec2 mx = (window->DC.CurrentColumns || g.CurrentTable) ? window->WorkRect.Max : window->ContentRegionRect.Max; + return mx - window->DC.CursorPos; +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +// You should never need those functions. Always use GetCursorScreenPos() and GetContentRegionAvail()! +// They are bizarre local-coordinates which don't play well with scrolling. +ImVec2 ImGui::GetContentRegionMax() +{ + return GetContentRegionAvail() + GetCursorScreenPos() - GetWindowPos(); +} + +ImVec2 ImGui::GetWindowContentRegionMin() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ContentRegionRect.Min - window->Pos; +} + +ImVec2 ImGui::GetWindowContentRegionMax() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ContentRegionRect.Max - window->Pos; +} +#endif + +// Lock horizontal starting position + capture group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) +// Groups are currently a mishmash of functionalities which should perhaps be clarified and separated. +// FIXME-OPT: Could we safely early out on ->SkipItems? +void ImGui::BeginGroup() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + g.GroupStack.resize(g.GroupStack.Size + 1); + ImGuiGroupData& group_data = g.GroupStack.back(); + group_data.WindowID = window->ID; + group_data.BackupCursorPos = window->DC.CursorPos; + group_data.BackupCursorPosPrevLine = window->DC.CursorPosPrevLine; + group_data.BackupCursorMaxPos = window->DC.CursorMaxPos; + group_data.BackupIndent = window->DC.Indent; + group_data.BackupGroupOffset = window->DC.GroupOffset; + group_data.BackupCurrLineSize = window->DC.CurrLineSize; + group_data.BackupCurrLineTextBaseOffset = window->DC.CurrLineTextBaseOffset; + group_data.BackupActiveIdIsAlive = g.ActiveIdIsAlive; + group_data.BackupHoveredIdIsAlive = g.HoveredId != 0; + group_data.BackupIsSameLine = window->DC.IsSameLine; + group_data.BackupDeactivatedIdIsAlive = g.DeactivatedItemData.IsAlive; + group_data.EmitItem = true; + + window->DC.GroupOffset.x = window->DC.CursorPos.x - window->Pos.x - window->DC.ColumnsOffset.x; + window->DC.Indent = window->DC.GroupOffset; + window->DC.CursorMaxPos = window->DC.CursorPos; + window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); + if (g.LogEnabled) + g.LogLinePosY = -FLT_MAX; // To enforce a carriage return +} + +void ImGui::EndGroup() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(g.GroupStack.Size > 0); // Mismatched BeginGroup()/EndGroup() calls + + ImGuiGroupData& group_data = g.GroupStack.back(); + IM_ASSERT(group_data.WindowID == window->ID); // EndGroup() in wrong window? + + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + + // Include LastItemData.Rect.Max as a workaround for e.g. EndTable() undershooting with CursorMaxPos report. (#7543) + ImRect group_bb(group_data.BackupCursorPos, ImMax(ImMax(window->DC.CursorMaxPos, g.LastItemData.Rect.Max), group_data.BackupCursorPos)); + window->DC.CursorPos = group_data.BackupCursorPos; + window->DC.CursorPosPrevLine = group_data.BackupCursorPosPrevLine; + window->DC.CursorMaxPos = ImMax(group_data.BackupCursorMaxPos, group_bb.Max); + window->DC.Indent = group_data.BackupIndent; + window->DC.GroupOffset = group_data.BackupGroupOffset; + window->DC.CurrLineSize = group_data.BackupCurrLineSize; + window->DC.CurrLineTextBaseOffset = group_data.BackupCurrLineTextBaseOffset; + window->DC.IsSameLine = group_data.BackupIsSameLine; + if (g.LogEnabled) + g.LogLinePosY = -FLT_MAX; // To enforce a carriage return + + if (!group_data.EmitItem) + { + g.GroupStack.pop_back(); + return; + } + + window->DC.CurrLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now. + ItemSize(group_bb.GetSize()); + ItemAdd(group_bb, 0, NULL, ImGuiItemFlags_NoTabStop); + + // If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group. + // It would be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets. + // Also if you grep for LastItemId you'll notice it is only used in that context. + // (The two tests not the same because ActiveIdIsAlive is an ID itself, in order to be able to handle ActiveId being overwritten during the frame.) + const bool group_contains_curr_active_id = (group_data.BackupActiveIdIsAlive != g.ActiveId) && (g.ActiveIdIsAlive == g.ActiveId) && g.ActiveId; + const bool group_contains_deactivated_id = (group_data.BackupDeactivatedIdIsAlive == false) && (g.DeactivatedItemData.IsAlive == true); + if (group_contains_curr_active_id) + g.LastItemData.ID = g.ActiveId; + else if (group_contains_deactivated_id) + g.LastItemData.ID = g.DeactivatedItemData.ID; + g.LastItemData.Rect = group_bb; + + // Forward Hovered flag + const bool group_contains_curr_hovered_id = (group_data.BackupHoveredIdIsAlive == false) && g.HoveredId != 0; + if (group_contains_curr_hovered_id) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredWindow; + + // Forward Edited flag + if (group_contains_curr_active_id && g.ActiveIdHasBeenEditedThisFrame) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Edited; + + // Forward Deactivated flag + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HasDeactivated; + if (group_contains_deactivated_id) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Deactivated; + + g.GroupStack.pop_back(); + if (g.DebugShowGroupRects) + window->DrawList->AddRect(group_bb.Min, group_bb.Max, IM_COL32(255,0,255,255)); // [Debug] +} + + +//----------------------------------------------------------------------------- +// [SECTION] SCROLLING +//----------------------------------------------------------------------------- + +// Helper to snap on edges when aiming at an item very close to the edge, +// So the difference between WindowPadding and ItemSpacing will be in the visible area after scrolling. +// When we refactor the scrolling API this may be configurable with a flag? +// Note that the effect for this won't be visible on X axis with default Style settings as WindowPadding.x == ItemSpacing.x by default. +static float CalcScrollEdgeSnap(float target, float snap_min, float snap_max, float snap_threshold, float center_ratio) +{ + if (target <= snap_min + snap_threshold) + return ImLerp(snap_min, target, center_ratio); + if (target >= snap_max - snap_threshold) + return ImLerp(target, snap_max, center_ratio); + return target; +} + +static ImVec2 CalcNextScrollFromScrollTargetAndClamp(ImGuiWindow* window) +{ + ImVec2 scroll = window->Scroll; + ImVec2 decoration_size(window->DecoOuterSizeX1 + window->DecoInnerSizeX1 + window->DecoOuterSizeX2, window->DecoOuterSizeY1 + window->DecoInnerSizeY1 + window->DecoOuterSizeY2); + for (int axis = 0; axis < 2; axis++) + { + if (window->ScrollTarget[axis] < FLT_MAX) + { + float center_ratio = window->ScrollTargetCenterRatio[axis]; + float scroll_target = window->ScrollTarget[axis]; + if (window->ScrollTargetEdgeSnapDist[axis] > 0.0f) + { + float snap_min = 0.0f; + float snap_max = window->ScrollMax[axis] + window->SizeFull[axis] - decoration_size[axis]; + scroll_target = CalcScrollEdgeSnap(scroll_target, snap_min, snap_max, window->ScrollTargetEdgeSnapDist[axis], center_ratio); + } + scroll[axis] = scroll_target - center_ratio * (window->SizeFull[axis] - decoration_size[axis]); + } + scroll[axis] = IM_ROUND(ImMax(scroll[axis], 0.0f)); + if (!window->Collapsed && !window->SkipItems) + scroll[axis] = ImMin(scroll[axis], window->ScrollMax[axis]); + } + return scroll; +} + +void ImGui::ScrollToItem(ImGuiScrollFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ScrollToRectEx(window, g.LastItemData.NavRect, flags); +} + +void ImGui::ScrollToRect(ImGuiWindow* window, const ImRect& item_rect, ImGuiScrollFlags flags) +{ + ScrollToRectEx(window, item_rect, flags); +} + +// Scroll to keep newly navigated item fully into view +ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGuiScrollFlags flags) +{ + ImGuiContext& g = *GImGui; + ImRect scroll_rect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1)); + scroll_rect.Min.x = ImMin(scroll_rect.Min.x + window->DecoInnerSizeX1, scroll_rect.Max.x); + scroll_rect.Min.y = ImMin(scroll_rect.Min.y + window->DecoInnerSizeY1, scroll_rect.Max.y); + //GetForegroundDrawList(window)->AddRect(item_rect.Min, item_rect.Max, IM_COL32(255,0,0,255), 0.0f, 0, 5.0f); // [DEBUG] + //GetForegroundDrawList(window)->AddRect(scroll_rect.Min, scroll_rect.Max, IM_COL32_WHITE); // [DEBUG] + + // Check that only one behavior is selected per axis + IM_ASSERT((flags & ImGuiScrollFlags_MaskX_) == 0 || ImIsPowerOfTwo(flags & ImGuiScrollFlags_MaskX_)); + IM_ASSERT((flags & ImGuiScrollFlags_MaskY_) == 0 || ImIsPowerOfTwo(flags & ImGuiScrollFlags_MaskY_)); + + // Defaults + ImGuiScrollFlags in_flags = flags; + if ((flags & ImGuiScrollFlags_MaskX_) == 0 && window->ScrollbarX) + flags |= ImGuiScrollFlags_KeepVisibleEdgeX; + if ((flags & ImGuiScrollFlags_MaskY_) == 0) + flags |= window->Appearing ? ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeY; + + const bool fully_visible_x = item_rect.Min.x >= scroll_rect.Min.x && item_rect.Max.x <= scroll_rect.Max.x; + const bool fully_visible_y = item_rect.Min.y >= scroll_rect.Min.y && item_rect.Max.y <= scroll_rect.Max.y; + const bool can_be_fully_visible_x = (item_rect.GetWidth() + g.Style.ItemSpacing.x * 2.0f) <= scroll_rect.GetWidth() || (window->AutoFitFramesX > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; + const bool can_be_fully_visible_y = (item_rect.GetHeight() + g.Style.ItemSpacing.y * 2.0f) <= scroll_rect.GetHeight() || (window->AutoFitFramesY > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; + + if ((flags & ImGuiScrollFlags_KeepVisibleEdgeX) && !fully_visible_x) + { + if (item_rect.Min.x < scroll_rect.Min.x || !can_be_fully_visible_x) + SetScrollFromPosX(window, item_rect.Min.x - g.Style.ItemSpacing.x - window->Pos.x, 0.0f); + else if (item_rect.Max.x >= scroll_rect.Max.x) + SetScrollFromPosX(window, item_rect.Max.x + g.Style.ItemSpacing.x - window->Pos.x, 1.0f); + } + else if (((flags & ImGuiScrollFlags_KeepVisibleCenterX) && !fully_visible_x) || (flags & ImGuiScrollFlags_AlwaysCenterX)) + { + if (can_be_fully_visible_x) + SetScrollFromPosX(window, ImTrunc((item_rect.Min.x + item_rect.Max.x) * 0.5f) - window->Pos.x, 0.5f); + else + SetScrollFromPosX(window, item_rect.Min.x - window->Pos.x, 0.0f); + } + + if ((flags & ImGuiScrollFlags_KeepVisibleEdgeY) && !fully_visible_y) + { + if (item_rect.Min.y < scroll_rect.Min.y || !can_be_fully_visible_y) + SetScrollFromPosY(window, item_rect.Min.y - g.Style.ItemSpacing.y - window->Pos.y, 0.0f); + else if (item_rect.Max.y >= scroll_rect.Max.y) + SetScrollFromPosY(window, item_rect.Max.y + g.Style.ItemSpacing.y - window->Pos.y, 1.0f); + } + else if (((flags & ImGuiScrollFlags_KeepVisibleCenterY) && !fully_visible_y) || (flags & ImGuiScrollFlags_AlwaysCenterY)) + { + if (can_be_fully_visible_y) + SetScrollFromPosY(window, ImTrunc((item_rect.Min.y + item_rect.Max.y) * 0.5f) - window->Pos.y, 0.5f); + else + SetScrollFromPosY(window, item_rect.Min.y - window->Pos.y, 0.0f); + } + + ImVec2 next_scroll = CalcNextScrollFromScrollTargetAndClamp(window); + ImVec2 delta_scroll = next_scroll - window->Scroll; + + // Also scroll parent window to keep us into view if necessary + if (!(flags & ImGuiScrollFlags_NoScrollParent) && (window->Flags & ImGuiWindowFlags_ChildWindow)) + { + // FIXME-SCROLL: May be an option? + if ((in_flags & (ImGuiScrollFlags_AlwaysCenterX | ImGuiScrollFlags_KeepVisibleCenterX)) != 0) + in_flags = (in_flags & ~ImGuiScrollFlags_MaskX_) | ImGuiScrollFlags_KeepVisibleEdgeX; + if ((in_flags & (ImGuiScrollFlags_AlwaysCenterY | ImGuiScrollFlags_KeepVisibleCenterY)) != 0) + in_flags = (in_flags & ~ImGuiScrollFlags_MaskY_) | ImGuiScrollFlags_KeepVisibleEdgeY; + delta_scroll += ScrollToRectEx(window->ParentWindow, ImRect(item_rect.Min - delta_scroll, item_rect.Max - delta_scroll), in_flags); + } + + return delta_scroll; +} + +float ImGui::GetScrollX() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->Scroll.x; +} + +float ImGui::GetScrollY() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->Scroll.y; +} + +float ImGui::GetScrollMaxX() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ScrollMax.x; +} + +float ImGui::GetScrollMaxY() +{ + ImGuiWindow* window = GImGui->CurrentWindow; + return window->ScrollMax.y; +} + +void ImGui::SetScrollX(ImGuiWindow* window, float scroll_x) +{ + window->ScrollTarget.x = scroll_x; + window->ScrollTargetCenterRatio.x = 0.0f; + window->ScrollTargetEdgeSnapDist.x = 0.0f; +} + +void ImGui::SetScrollY(ImGuiWindow* window, float scroll_y) +{ + window->ScrollTarget.y = scroll_y; + window->ScrollTargetCenterRatio.y = 0.0f; + window->ScrollTargetEdgeSnapDist.y = 0.0f; +} + +void ImGui::SetScrollX(float scroll_x) +{ + ImGuiContext& g = *GImGui; + SetScrollX(g.CurrentWindow, scroll_x); +} + +void ImGui::SetScrollY(float scroll_y) +{ + ImGuiContext& g = *GImGui; + SetScrollY(g.CurrentWindow, scroll_y); +} + +// Note that a local position will vary depending on initial scroll value, +// This is a little bit confusing so bear with us: +// - local_pos = (absolution_pos - window->Pos) +// - So local_x/local_y are 0.0f for a position at the upper-left corner of a window, +// and generally local_x/local_y are >(padding+decoration) && <(size-padding-decoration) when in the visible area. +// - They mostly exist because of legacy API. +// Following the rules above, when trying to work with scrolling code, consider that: +// - SetScrollFromPosY(0.0f) == SetScrollY(0.0f + scroll.y) == has no effect! +// - SetScrollFromPosY(-scroll.y) == SetScrollY(-scroll.y + scroll.y) == SetScrollY(0.0f) == reset scroll. Of course writing SetScrollY(0.0f) directly then makes more sense +// We store a target position so centering and clamping can occur on the next frame when we are guaranteed to have a known window size +void ImGui::SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio) +{ + IM_ASSERT(center_x_ratio >= 0.0f && center_x_ratio <= 1.0f); + window->ScrollTarget.x = IM_TRUNC(local_x - window->DecoOuterSizeX1 - window->DecoInnerSizeX1 + window->Scroll.x); // Convert local position to scroll offset + window->ScrollTargetCenterRatio.x = center_x_ratio; + window->ScrollTargetEdgeSnapDist.x = 0.0f; +} + +void ImGui::SetScrollFromPosY(ImGuiWindow* window, float local_y, float center_y_ratio) +{ + IM_ASSERT(center_y_ratio >= 0.0f && center_y_ratio <= 1.0f); + window->ScrollTarget.y = IM_TRUNC(local_y - window->DecoOuterSizeY1 - window->DecoInnerSizeY1 + window->Scroll.y); // Convert local position to scroll offset + window->ScrollTargetCenterRatio.y = center_y_ratio; + window->ScrollTargetEdgeSnapDist.y = 0.0f; +} + +void ImGui::SetScrollFromPosX(float local_x, float center_x_ratio) +{ + ImGuiContext& g = *GImGui; + SetScrollFromPosX(g.CurrentWindow, local_x, center_x_ratio); +} + +void ImGui::SetScrollFromPosY(float local_y, float center_y_ratio) +{ + ImGuiContext& g = *GImGui; + SetScrollFromPosY(g.CurrentWindow, local_y, center_y_ratio); +} + +// center_x_ratio: 0.0f left of last item, 0.5f horizontal center of last item, 1.0f right of last item. +void ImGui::SetScrollHereX(float center_x_ratio) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + float spacing_x = ImMax(window->WindowPadding.x, g.Style.ItemSpacing.x); + float target_pos_x = ImLerp(g.LastItemData.Rect.Min.x - spacing_x, g.LastItemData.Rect.Max.x + spacing_x, center_x_ratio); + SetScrollFromPosX(window, target_pos_x - window->Pos.x, center_x_ratio); // Convert from absolute to local pos + + // Tweak: snap on edges when aiming at an item very close to the edge + window->ScrollTargetEdgeSnapDist.x = ImMax(0.0f, window->WindowPadding.x - spacing_x); +} + +// center_y_ratio: 0.0f top of last item, 0.5f vertical center of last item, 1.0f bottom of last item. +void ImGui::SetScrollHereY(float center_y_ratio) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + float spacing_y = ImMax(window->WindowPadding.y, g.Style.ItemSpacing.y); + float target_pos_y = ImLerp(window->DC.CursorPosPrevLine.y - spacing_y, window->DC.CursorPosPrevLine.y + window->DC.PrevLineSize.y + spacing_y, center_y_ratio); + SetScrollFromPosY(window, target_pos_y - window->Pos.y, center_y_ratio); // Convert from absolute to local pos + + // Tweak: snap on edges when aiming at an item very close to the edge + window->ScrollTargetEdgeSnapDist.y = ImMax(0.0f, window->WindowPadding.y - spacing_y); +} + +//----------------------------------------------------------------------------- +// [SECTION] TOOLTIPS +//----------------------------------------------------------------------------- + +bool ImGui::BeginTooltip() +{ + return BeginTooltipEx(ImGuiTooltipFlags_None, ImGuiWindowFlags_None); +} + +bool ImGui::BeginItemTooltip() +{ + if (!IsItemHovered(ImGuiHoveredFlags_ForTooltip)) + return false; + return BeginTooltipEx(ImGuiTooltipFlags_None, ImGuiWindowFlags_None); +} + +bool ImGui::BeginTooltipEx(ImGuiTooltipFlags tooltip_flags, ImGuiWindowFlags extra_window_flags) +{ + ImGuiContext& g = *GImGui; + + const bool is_dragdrop_tooltip = g.DragDropWithinSource || g.DragDropWithinTarget; + if (is_dragdrop_tooltip) + { + // Drag and Drop tooltips are positioning differently than other tooltips: + // - offset visibility to increase visibility around mouse. + // - never clamp within outer viewport boundary. + // We call SetNextWindowPos() to enforce position and disable clamping. + // See FindBestWindowPosForPopup() for positionning logic of other tooltips (not drag and drop ones). + //ImVec2 tooltip_pos = g.IO.MousePos - g.ActiveIdClickOffset - g.Style.WindowPadding; + const bool is_touchscreen = (g.IO.MouseSource == ImGuiMouseSource_TouchScreen); + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasPos) == 0) + { + ImVec2 tooltip_pos = is_touchscreen ? (g.IO.MousePos + TOOLTIP_DEFAULT_OFFSET_TOUCH * g.Style.MouseCursorScale) : (g.IO.MousePos + TOOLTIP_DEFAULT_OFFSET_MOUSE * g.Style.MouseCursorScale); + ImVec2 tooltip_pivot = is_touchscreen ? TOOLTIP_DEFAULT_PIVOT_TOUCH : ImVec2(0.0f, 0.0f); + SetNextWindowPos(tooltip_pos, ImGuiCond_None, tooltip_pivot); + } + + SetNextWindowBgAlpha(g.Style.Colors[ImGuiCol_PopupBg].w * 0.60f); + //PushStyleVar(ImGuiStyleVar_Alpha, g.Style.Alpha * 0.60f); // This would be nice but e.g ColorButton with checkboard has issue with transparent colors :( + tooltip_flags |= ImGuiTooltipFlags_OverridePrevious; + } + + const char* window_name_template = is_dragdrop_tooltip ? "##Tooltip_DragDrop_%02d" : "##Tooltip_%02d"; + char window_name[32]; + ImFormatString(window_name, IM_ARRAYSIZE(window_name), window_name_template, g.TooltipOverrideCount); + if ((tooltip_flags & ImGuiTooltipFlags_OverridePrevious) && g.TooltipPreviousWindow != NULL && g.TooltipPreviousWindow->Active) + { + // Hide previous tooltip from being displayed. We can't easily "reset" the content of a window so we create a new one. + //IMGUI_DEBUG_LOG("[tooltip] '%s' already active, using +1 for this frame\n", window_name); + SetWindowHiddenAndSkipItemsForCurrentFrame(g.TooltipPreviousWindow); + ImFormatString(window_name, IM_ARRAYSIZE(window_name), window_name_template, ++g.TooltipOverrideCount); + } + ImGuiWindowFlags flags = ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize; + Begin(window_name, NULL, flags | extra_window_flags); + // 2023-03-09: Added bool return value to the API, but currently always returning true. + // If this ever returns false we need to update BeginDragDropSource() accordingly. + //if (!ret) + // End(); + //return ret; + return true; +} + +void ImGui::EndTooltip() +{ + IM_ASSERT(GetCurrentWindowRead()->Flags & ImGuiWindowFlags_Tooltip); // Mismatched BeginTooltip()/EndTooltip() calls + End(); +} + +void ImGui::SetTooltip(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + SetTooltipV(fmt, args); + va_end(args); +} + +void ImGui::SetTooltipV(const char* fmt, va_list args) +{ + if (!BeginTooltipEx(ImGuiTooltipFlags_OverridePrevious, ImGuiWindowFlags_None)) + return; + TextV(fmt, args); + EndTooltip(); +} + +// Shortcut to use 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav'. +// Defaults to == ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort when using the mouse. +void ImGui::SetItemTooltip(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) + SetTooltipV(fmt, args); + va_end(args); +} + +void ImGui::SetItemTooltipV(const char* fmt, va_list args) +{ + if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) + SetTooltipV(fmt, args); +} + + +//----------------------------------------------------------------------------- +// [SECTION] POPUPS +//----------------------------------------------------------------------------- + +// Supported flags: ImGuiPopupFlags_AnyPopupId, ImGuiPopupFlags_AnyPopupLevel +bool ImGui::IsPopupOpen(ImGuiID id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + if (popup_flags & ImGuiPopupFlags_AnyPopupId) + { + // Return true if any popup is open at the current BeginPopup() level of the popup stack + // This may be used to e.g. test for another popups already opened to handle popups priorities at the same level. + IM_ASSERT(id == 0); + if (popup_flags & ImGuiPopupFlags_AnyPopupLevel) + return g.OpenPopupStack.Size > 0; + else + return g.OpenPopupStack.Size > g.BeginPopupStack.Size; + } + else + { + if (popup_flags & ImGuiPopupFlags_AnyPopupLevel) + { + // Return true if the popup is open anywhere in the popup stack + for (int n = 0; n < g.OpenPopupStack.Size; n++) + if (g.OpenPopupStack[n].PopupId == id) + return true; + return false; + } + else + { + // Return true if the popup is open at the current BeginPopup() level of the popup stack (this is the most-common query) + return g.OpenPopupStack.Size > g.BeginPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].PopupId == id; + } + } +} + +bool ImGui::IsPopupOpen(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiID id = (popup_flags & ImGuiPopupFlags_AnyPopupId) ? 0 : g.CurrentWindow->GetID(str_id); + if ((popup_flags & ImGuiPopupFlags_AnyPopupLevel) && id != 0) + IM_ASSERT(0 && "Cannot use IsPopupOpen() with a string id and ImGuiPopupFlags_AnyPopupLevel."); // But non-string version is legal and used internally + return IsPopupOpen(id, popup_flags); +} + +// Also see FindBlockingModal(NULL) +ImGuiWindow* ImGui::GetTopMostPopupModal() +{ + ImGuiContext& g = *GImGui; + for (int n = g.OpenPopupStack.Size - 1; n >= 0; n--) + if (ImGuiWindow* popup = g.OpenPopupStack.Data[n].Window) + if (popup->Flags & ImGuiWindowFlags_Modal) + return popup; + return NULL; +} + +// See Demo->Stacked Modal to confirm what this is for. +ImGuiWindow* ImGui::GetTopMostAndVisiblePopupModal() +{ + ImGuiContext& g = *GImGui; + for (int n = g.OpenPopupStack.Size - 1; n >= 0; n--) + if (ImGuiWindow* popup = g.OpenPopupStack.Data[n].Window) + if ((popup->Flags & ImGuiWindowFlags_Modal) && IsWindowActiveAndVisible(popup)) + return popup; + return NULL; +} + + +// When a modal popup is open, newly created windows that want focus (i.e. are not popups and do not specify ImGuiWindowFlags_NoFocusOnAppearing) +// should be positioned behind that modal window, unless the window was created inside the modal begin-stack. +// In case of multiple stacked modals newly created window honors begin stack order and does not go below its own modal parent. +// - WindowA // FindBlockingModal() returns Modal1 +// - WindowB // .. returns Modal1 +// - Modal1 // .. returns Modal2 +// - WindowC // .. returns Modal2 +// - WindowD // .. returns Modal2 +// - Modal2 // .. returns Modal2 +// - WindowE // .. returns NULL +// Notes: +// - FindBlockingModal(NULL) == NULL is generally equivalent to GetTopMostPopupModal() == NULL. +// Only difference is here we check for ->Active/WasActive but it may be unnecessary. +ImGuiWindow* ImGui::FindBlockingModal(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (g.OpenPopupStack.Size <= 0) + return NULL; + + // Find a modal that has common parent with specified window. Specified window should be positioned behind that modal. + for (ImGuiPopupData& popup_data : g.OpenPopupStack) + { + ImGuiWindow* popup_window = popup_data.Window; + if (popup_window == NULL || !(popup_window->Flags & ImGuiWindowFlags_Modal)) + continue; + if (!popup_window->Active && !popup_window->WasActive) // Check WasActive, because this code may run before popup renders on current frame, also check Active to handle newly created windows. + continue; + if (window == NULL) // FindBlockingModal(NULL) test for if FocusWindow(NULL) is naturally possible via a mouse click. + return popup_window; + if (IsWindowWithinBeginStackOf(window, popup_window)) // Window may be over modal + continue; + return popup_window; // Place window right below first block modal + } + return NULL; +} + +void ImGui::OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiID id = g.CurrentWindow->GetID(str_id); + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopup(\"%s\" -> 0x%08X)\n", str_id, id); + OpenPopupEx(id, popup_flags); +} + +void ImGui::OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags) +{ + OpenPopupEx(id, popup_flags); +} + +// Mark popup as open (toggle toward open state). +// Popups are closed when user click outside, or activate a pressable item, or CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. +// Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level). +// One open popup per level of the popup hierarchy (NB: when assigning we reset the Window member of ImGuiPopupRef to NULL) +void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* parent_window = g.CurrentWindow; + const int current_stack_size = g.BeginPopupStack.Size; + + if (popup_flags & ImGuiPopupFlags_NoOpenOverExistingPopup) + if (IsPopupOpen((ImGuiID)0, ImGuiPopupFlags_AnyPopupId)) + return; + + ImGuiPopupData popup_ref; // Tagged as new ref as Window will be set back to NULL if we write this into OpenPopupStack. + popup_ref.PopupId = id; + popup_ref.Window = NULL; + popup_ref.RestoreNavWindow = g.NavWindow; // When popup closes focus may be restored to NavWindow (depend on window type). + popup_ref.OpenFrameCount = g.FrameCount; + popup_ref.OpenParentId = parent_window->IDStack.back(); + popup_ref.OpenPopupPos = NavCalcPreferredRefPos(); + popup_ref.OpenMousePos = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : popup_ref.OpenPopupPos; + + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopupEx(0x%08X)\n", id); + if (g.OpenPopupStack.Size < current_stack_size + 1) + { + g.OpenPopupStack.push_back(popup_ref); + } + else + { + // Gently handle the user mistakenly calling OpenPopup() every frames: it is likely a programming mistake! + // However, if we were to run the regular code path, the ui would become completely unusable because the popup will always be + // in hidden-while-calculating-size state _while_ claiming focus. Which is extremely confusing situation for the programmer. + // Instead, for successive frames calls to OpenPopup(), we silently avoid reopening even if ImGuiPopupFlags_NoReopen is not specified. + bool keep_existing = false; + if (g.OpenPopupStack[current_stack_size].PopupId == id) + if ((g.OpenPopupStack[current_stack_size].OpenFrameCount == g.FrameCount - 1) || (popup_flags & ImGuiPopupFlags_NoReopen)) + keep_existing = true; + if (keep_existing) + { + // No reopen + g.OpenPopupStack[current_stack_size].OpenFrameCount = popup_ref.OpenFrameCount; + } + else + { + // Reopen: close child popups if any, then flag popup for open/reopen (set position, focus, init navigation) + ClosePopupToLevel(current_stack_size, true); + g.OpenPopupStack.push_back(popup_ref); + } + + // When reopening a popup we first refocus its parent, otherwise if its parent is itself a popup it would get closed by ClosePopupsOverWindow(). + // This is equivalent to what ClosePopupToLevel() does. + //if (g.OpenPopupStack[current_stack_size].PopupId == id) + // FocusWindow(parent_window); + } +} + +// When popups are stacked, clicking on a lower level popups puts focus back to it and close popups above it. +// This function closes any popups that are over 'ref_window'. +void ImGui::ClosePopupsOverWindow(ImGuiWindow* ref_window, bool restore_focus_to_window_under_popup) +{ + ImGuiContext& g = *GImGui; + if (g.OpenPopupStack.Size == 0) + return; + + // Don't close our own child popup windows. + //IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupsOverWindow(\"%s\") restore_under=%d\n", ref_window ? ref_window->Name : "", restore_focus_to_window_under_popup); + int popup_count_to_keep = 0; + if (ref_window) + { + // Find the highest popup which is a descendant of the reference window (generally reference window = NavWindow) + for (; popup_count_to_keep < g.OpenPopupStack.Size; popup_count_to_keep++) + { + ImGuiPopupData& popup = g.OpenPopupStack[popup_count_to_keep]; + if (!popup.Window) + continue; + IM_ASSERT((popup.Window->Flags & ImGuiWindowFlags_Popup) != 0); + + // Trim the stack unless the popup is a direct parent of the reference window (the reference window is often the NavWindow) + // - Clicking/Focusing Window2 won't close Popup1: + // Window -> Popup1 -> Window2(Ref) + // - Clicking/focusing Popup1 will close Popup2 and Popup3: + // Window -> Popup1(Ref) -> Popup2 -> Popup3 + // - Each popups may contain child windows, which is why we compare ->RootWindow! + // Window -> Popup1 -> Popup1_Child -> Popup2 -> Popup2_Child + // We step through every popup from bottom to top to validate their position relative to reference window. + bool ref_window_is_descendent_of_popup = false; + for (int n = popup_count_to_keep; n < g.OpenPopupStack.Size; n++) + if (ImGuiWindow* popup_window = g.OpenPopupStack[n].Window) + if (IsWindowWithinBeginStackOf(ref_window, popup_window)) + { + ref_window_is_descendent_of_popup = true; + break; + } + if (!ref_window_is_descendent_of_popup) + break; + } + } + if (popup_count_to_keep < g.OpenPopupStack.Size) // This test is not required but it allows to set a convenient breakpoint on the statement below + { + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupsOverWindow(\"%s\")\n", ref_window ? ref_window->Name : ""); + ClosePopupToLevel(popup_count_to_keep, restore_focus_to_window_under_popup); + } +} + +void ImGui::ClosePopupsExceptModals() +{ + ImGuiContext& g = *GImGui; + + int popup_count_to_keep; + for (popup_count_to_keep = g.OpenPopupStack.Size; popup_count_to_keep > 0; popup_count_to_keep--) + { + ImGuiWindow* window = g.OpenPopupStack[popup_count_to_keep - 1].Window; + if (!window || (window->Flags & ImGuiWindowFlags_Modal)) + break; + } + if (popup_count_to_keep < g.OpenPopupStack.Size) // This test is not required but it allows to set a convenient breakpoint on the statement below + ClosePopupToLevel(popup_count_to_keep, true); +} + +void ImGui::ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup) +{ + ImGuiContext& g = *GImGui; + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupToLevel(%d), restore_under=%d\n", remaining, restore_focus_to_window_under_popup); + IM_ASSERT(remaining >= 0 && remaining < g.OpenPopupStack.Size); + if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) + for (int n = remaining; n < g.OpenPopupStack.Size; n++) + IMGUI_DEBUG_LOG_POPUP("[popup] - Closing PopupID 0x%08X Window \"%s\"\n", g.OpenPopupStack[n].PopupId, g.OpenPopupStack[n].Window ? g.OpenPopupStack[n].Window->Name : NULL); + + // Trim open popup stack + ImGuiPopupData prev_popup = g.OpenPopupStack[remaining]; + g.OpenPopupStack.resize(remaining); + + // Restore focus (unless popup window was not yet submitted, and didn't have a chance to take focus anyhow. See #7325 for an edge case) + if (restore_focus_to_window_under_popup && prev_popup.Window) + { + ImGuiWindow* popup_window = prev_popup.Window; + ImGuiWindow* focus_window = (popup_window->Flags & ImGuiWindowFlags_ChildMenu) ? popup_window->ParentWindow : prev_popup.RestoreNavWindow; + if (focus_window && !focus_window->WasActive) + FocusTopMostWindowUnderOne(popup_window, NULL, NULL, ImGuiFocusRequestFlags_RestoreFocusedChild); // Fallback + else + FocusWindow(focus_window, (g.NavLayer == ImGuiNavLayer_Main) ? ImGuiFocusRequestFlags_RestoreFocusedChild : ImGuiFocusRequestFlags_None); + } +} + +// Close the popup we have begin-ed into. +void ImGui::CloseCurrentPopup() +{ + ImGuiContext& g = *GImGui; + int popup_idx = g.BeginPopupStack.Size - 1; + if (popup_idx < 0 || popup_idx >= g.OpenPopupStack.Size || g.BeginPopupStack[popup_idx].PopupId != g.OpenPopupStack[popup_idx].PopupId) + return; + + // Closing a menu closes its top-most parent popup (unless a modal) + while (popup_idx > 0) + { + ImGuiWindow* popup_window = g.OpenPopupStack[popup_idx].Window; + ImGuiWindow* parent_popup_window = g.OpenPopupStack[popup_idx - 1].Window; + bool close_parent = false; + if (popup_window && (popup_window->Flags & ImGuiWindowFlags_ChildMenu)) + if (parent_popup_window && !(parent_popup_window->Flags & ImGuiWindowFlags_MenuBar)) + close_parent = true; + if (!close_parent) + break; + popup_idx--; + } + IMGUI_DEBUG_LOG_POPUP("[popup] CloseCurrentPopup %d -> %d\n", g.BeginPopupStack.Size - 1, popup_idx); + ClosePopupToLevel(popup_idx, true); + + // A common pattern is to close a popup when selecting a menu item/selectable that will open another window. + // To improve this usage pattern, we avoid nav highlight for a single frame in the parent window. + // Similarly, we could avoid mouse hover highlight in this window but it is less visually problematic. + if (ImGuiWindow* window = g.NavWindow) + window->DC.NavHideHighlightOneFrame = true; +} + +// Attention! BeginPopup() adds default flags when calling BeginPopupEx()! +bool ImGui::BeginPopupEx(ImGuiID id, ImGuiWindowFlags extra_window_flags) +{ + ImGuiContext& g = *GImGui; + if (!IsPopupOpen(id, ImGuiPopupFlags_None)) + { + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + return false; + } + + char name[20]; + if (extra_window_flags & ImGuiWindowFlags_ChildMenu) + ImFormatString(name, IM_ARRAYSIZE(name), "##Menu_%02d", g.BeginMenuDepth); // Recycle windows based on depth + else + ImFormatString(name, IM_ARRAYSIZE(name), "##Popup_%08x", id); // Not recycling, so we can close/open during the same frame + + bool is_open = Begin(name, NULL, extra_window_flags | ImGuiWindowFlags_Popup); + if (!is_open) // NB: Begin can return false when the popup is completely clipped (e.g. zero size display) + EndPopup(); + + //g.CurrentWindow->FocusRouteParentWindow = g.CurrentWindow->ParentWindowInBeginStack; + + return is_open; +} + +bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) +{ + ImGuiContext& g = *GImGui; + if (g.OpenPopupStack.Size <= g.BeginPopupStack.Size) // Early out for performance + { + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + return false; + } + flags |= ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings; + ImGuiID id = g.CurrentWindow->GetID(str_id); + return BeginPopupEx(id, flags); +} + +// If 'p_open' is specified for a modal popup window, the popup will have a regular close button which will close the popup. +// Note that popup visibility status is owned by Dear ImGui (and manipulated with e.g. OpenPopup). +// - *p_open set back to false in BeginPopupModal() when popup is not open. +// - if you set *p_open to false before calling BeginPopupModal(), it will close the popup. +bool ImGui::BeginPopupModal(const char* name, bool* p_open, ImGuiWindowFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + const ImGuiID id = window->GetID(name); + if (!IsPopupOpen(id, ImGuiPopupFlags_None)) + { + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + if (p_open && *p_open) + *p_open = false; + return false; + } + + // Center modal windows by default for increased visibility + // (this won't really last as settings will kick in, and is mostly for backward compatibility. user may do the same themselves) + // FIXME: Should test for (PosCond & window->SetWindowPosAllowFlags) with the upcoming window. + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasPos) == 0) + { + const ImGuiViewport* viewport = GetMainViewport(); + SetNextWindowPos(viewport->GetCenter(), ImGuiCond_FirstUseEver, ImVec2(0.5f, 0.5f)); + } + + flags |= ImGuiWindowFlags_Popup | ImGuiWindowFlags_Modal | ImGuiWindowFlags_NoCollapse; + const bool is_open = Begin(name, p_open, flags); + if (!is_open || (p_open && !*p_open)) // NB: is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + { + EndPopup(); + if (is_open) + ClosePopupToLevel(g.BeginPopupStack.Size, true); + return false; + } + return is_open; +} + +void ImGui::EndPopup() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls + IM_ASSERT(g.BeginPopupStack.Size > 0); + + // Make all menus and popups wrap around for now, may need to expose that policy (e.g. focus scope could include wrap/loop policy flags used by new move requests) + if (g.NavWindow == window) + NavMoveRequestTryWrapping(window, ImGuiNavMoveFlags_LoopY); + + // Child-popups don't need to be laid out + const ImGuiID backup_within_end_child_id = g.WithinEndChildID; + if (window->Flags & ImGuiWindowFlags_ChildWindow) + g.WithinEndChildID = window->ID; + End(); + g.WithinEndChildID = backup_within_end_child_id; +} + +// Helper to open a popup if mouse button is released over the item +// - This is essentially the same as BeginPopupContextItem() but without the trailing BeginPopup() +void ImGui::OpenPopupOnItemClick(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_); + if (IsMouseReleased(mouse_button) && IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + { + ImGuiID id = str_id ? window->GetID(str_id) : g.LastItemData.ID; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict! + IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item) + OpenPopupEx(id, popup_flags); + } +} + +// This is a helper to handle the simplest case of associating one named popup to one given widget. +// - To create a popup associated to the last item, you generally want to pass a NULL value to str_id. +// - To create a popup with a specific identifier, pass it in str_id. +// - This is useful when using using BeginPopupContextItem() on an item which doesn't have an identifier, e.g. a Text() call. +// - This is useful when multiple code locations may want to manipulate/open the same popup, given an explicit id. +// - You may want to handle the whole on user side if you have specific needs (e.g. tweaking IsItemHovered() parameters). +// This is essentially the same as: +// id = str_id ? GetID(str_id) : GetItemID(); +// OpenPopupOnItemClick(str_id, ImGuiPopupFlags_MouseButtonRight); +// return BeginPopup(id); +// Which is essentially the same as: +// id = str_id ? GetID(str_id) : GetItemID(); +// if (IsItemHovered() && IsMouseReleased(ImGuiMouseButton_Right)) +// OpenPopup(id); +// return BeginPopup(id); +// The main difference being that this is tweaked to avoid computing the ID twice. +bool ImGui::BeginPopupContextItem(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + ImGuiID id = str_id ? window->GetID(str_id) : g.LastItemData.ID; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict! + IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item) + int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_); + if (IsMouseReleased(mouse_button) && IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + OpenPopupEx(id, popup_flags); + return BeginPopupEx(id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings); +} + +bool ImGui::BeginPopupContextWindow(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (!str_id) + str_id = "window_context"; + ImGuiID id = window->GetID(str_id); + int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_); + if (IsMouseReleased(mouse_button) && IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + if (!(popup_flags & ImGuiPopupFlags_NoOpenOverItems) || !IsAnyItemHovered()) + OpenPopupEx(id, popup_flags); + return BeginPopupEx(id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings); +} + +bool ImGui::BeginPopupContextVoid(const char* str_id, ImGuiPopupFlags popup_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (!str_id) + str_id = "void_context"; + ImGuiID id = window->GetID(str_id); + int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_); + if (IsMouseReleased(mouse_button) && !IsWindowHovered(ImGuiHoveredFlags_AnyWindow)) + if (GetTopMostPopupModal() == NULL) + OpenPopupEx(id, popup_flags); + return BeginPopupEx(id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings); +} + +// r_avoid = the rectangle to avoid (e.g. for tooltip it is a rectangle around the mouse cursor which we want to avoid. for popups it's a small point around the cursor.) +// r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it. +// (r_outer is usually equivalent to the viewport rectangle minus padding, but when multi-viewports are enabled and monitor +// information are available, it may represent the entire platform monitor from the frame of reference of the current viewport. +// this allows us to have tooltips/popups displayed out of the parent viewport.) +ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy) +{ + ImVec2 base_pos_clamped = ImClamp(ref_pos, r_outer.Min, r_outer.Max - size); + //GetForegroundDrawList()->AddRect(r_avoid.Min, r_avoid.Max, IM_COL32(255,0,0,255)); + //GetForegroundDrawList()->AddRect(r_outer.Min, r_outer.Max, IM_COL32(0,255,0,255)); + + // Combo Box policy (we want a connecting edge) + if (policy == ImGuiPopupPositionPolicy_ComboBox) + { + const ImGuiDir dir_prefered_order[ImGuiDir_COUNT] = { ImGuiDir_Down, ImGuiDir_Right, ImGuiDir_Left, ImGuiDir_Up }; + for (int n = (*last_dir != ImGuiDir_None) ? -1 : 0; n < ImGuiDir_COUNT; n++) + { + const ImGuiDir dir = (n == -1) ? *last_dir : dir_prefered_order[n]; + if (n != -1 && dir == *last_dir) // Already tried this direction? + continue; + ImVec2 pos; + if (dir == ImGuiDir_Down) pos = ImVec2(r_avoid.Min.x, r_avoid.Max.y); // Below, Toward Right (default) + if (dir == ImGuiDir_Right) pos = ImVec2(r_avoid.Min.x, r_avoid.Min.y - size.y); // Above, Toward Right + if (dir == ImGuiDir_Left) pos = ImVec2(r_avoid.Max.x - size.x, r_avoid.Max.y); // Below, Toward Left + if (dir == ImGuiDir_Up) pos = ImVec2(r_avoid.Max.x - size.x, r_avoid.Min.y - size.y); // Above, Toward Left + if (!r_outer.Contains(ImRect(pos, pos + size))) + continue; + *last_dir = dir; + return pos; + } + } + + // Tooltip and Default popup policy + // (Always first try the direction we used on the last frame, if any) + if (policy == ImGuiPopupPositionPolicy_Tooltip || policy == ImGuiPopupPositionPolicy_Default) + { + const ImGuiDir dir_prefered_order[ImGuiDir_COUNT] = { ImGuiDir_Right, ImGuiDir_Down, ImGuiDir_Up, ImGuiDir_Left }; + for (int n = (*last_dir != ImGuiDir_None) ? -1 : 0; n < ImGuiDir_COUNT; n++) + { + const ImGuiDir dir = (n == -1) ? *last_dir : dir_prefered_order[n]; + if (n != -1 && dir == *last_dir) // Already tried this direction? + continue; + + const float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.x : r_outer.Min.x); + const float avail_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer.Max.y) - (dir == ImGuiDir_Down ? r_avoid.Max.y : r_outer.Min.y); + + // If there's not enough room on one axis, there's no point in positioning on a side on this axis (e.g. when not enough width, use a top/bottom position to maximize available width) + if (avail_w < size.x && (dir == ImGuiDir_Left || dir == ImGuiDir_Right)) + continue; + if (avail_h < size.y && (dir == ImGuiDir_Up || dir == ImGuiDir_Down)) + continue; + + ImVec2 pos; + pos.x = (dir == ImGuiDir_Left) ? r_avoid.Min.x - size.x : (dir == ImGuiDir_Right) ? r_avoid.Max.x : base_pos_clamped.x; + pos.y = (dir == ImGuiDir_Up) ? r_avoid.Min.y - size.y : (dir == ImGuiDir_Down) ? r_avoid.Max.y : base_pos_clamped.y; + + // Clamp top-left corner of popup + pos.x = ImMax(pos.x, r_outer.Min.x); + pos.y = ImMax(pos.y, r_outer.Min.y); + + *last_dir = dir; + return pos; + } + } + + // Fallback when not enough room: + *last_dir = ImGuiDir_None; + + // For tooltip we prefer avoiding the cursor at all cost even if it means that part of the tooltip won't be visible. + if (policy == ImGuiPopupPositionPolicy_Tooltip) + return ref_pos + ImVec2(2, 2); + + // Otherwise try to keep within display + ImVec2 pos = ref_pos; + pos.x = ImMax(ImMin(pos.x + size.x, r_outer.Max.x) - size.x, r_outer.Min.x); + pos.y = ImMax(ImMin(pos.y + size.y, r_outer.Max.y) - size.y, r_outer.Min.y); + return pos; +} + +// Note that this is used for popups, which can overlap the non work-area of individual viewports. +ImRect ImGui::GetPopupAllowedExtentRect(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + IM_UNUSED(window); + ImRect r_screen = ((ImGuiViewportP*)(void*)GetMainViewport())->GetMainRect(); + ImVec2 padding = g.Style.DisplaySafeAreaPadding; + r_screen.Expand(ImVec2((r_screen.GetWidth() > padding.x * 2) ? -padding.x : 0.0f, (r_screen.GetHeight() > padding.y * 2) ? -padding.y : 0.0f)); + return r_screen; +} + +ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + + ImRect r_outer = GetPopupAllowedExtentRect(window); + if (window->Flags & ImGuiWindowFlags_ChildMenu) + { + // Child menus typically request _any_ position within the parent menu item, and then we move the new menu outside the parent bounds. + // This is how we end up with child menus appearing (most-commonly) on the right of the parent menu. + IM_ASSERT(g.CurrentWindow == window); + ImGuiWindow* parent_window = g.CurrentWindowStack[g.CurrentWindowStack.Size - 2].Window; + float horizontal_overlap = g.Style.ItemInnerSpacing.x; // We want some overlap to convey the relative depth of each menu (currently the amount of overlap is hard-coded to style.ItemSpacing.x). + ImRect r_avoid; + if (parent_window->DC.MenuBarAppending) + r_avoid = ImRect(-FLT_MAX, parent_window->ClipRect.Min.y, FLT_MAX, parent_window->ClipRect.Max.y); // Avoid parent menu-bar. If we wanted multi-line menu-bar, we may instead want to have the calling window setup e.g. a NextWindowData.PosConstraintAvoidRect field + else + r_avoid = ImRect(parent_window->Pos.x + horizontal_overlap, -FLT_MAX, parent_window->Pos.x + parent_window->Size.x - horizontal_overlap - parent_window->ScrollbarSizes.x, FLT_MAX); + return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid, ImGuiPopupPositionPolicy_Default); + } + if (window->Flags & ImGuiWindowFlags_Popup) + { + return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, ImRect(window->Pos, window->Pos), ImGuiPopupPositionPolicy_Default); // Ideally we'd disable r_avoid here + } + if (window->Flags & ImGuiWindowFlags_Tooltip) + { + // Position tooltip (always follows mouse + clamp within outer boundaries) + // FIXME: + // - Too many paths. One problem is that FindBestWindowPosForPopupEx() doesn't allow passing a suggested position (so touch screen path doesn't use it by default). + // - Drag and drop tooltips are not using this path either: BeginTooltipEx() manually sets their position. + // - Require some tidying up. In theory we could handle both cases in same location, but requires a bit of shuffling + // as drag and drop tooltips are calling SetNextWindowPos() leading to 'window_pos_set_by_api' being set in Begin(). + IM_ASSERT(g.CurrentWindow == window); + const float scale = g.Style.MouseCursorScale; + const ImVec2 ref_pos = NavCalcPreferredRefPos(); + + if (g.IO.MouseSource == ImGuiMouseSource_TouchScreen && NavCalcPreferredRefPosSource() == ImGuiInputSource_Mouse) + { + ImVec2 tooltip_pos = ref_pos + TOOLTIP_DEFAULT_OFFSET_TOUCH * scale - (TOOLTIP_DEFAULT_PIVOT_TOUCH * window->Size); + if (r_outer.Contains(ImRect(tooltip_pos, tooltip_pos + window->Size))) + return tooltip_pos; + } + + ImVec2 tooltip_pos = ref_pos + TOOLTIP_DEFAULT_OFFSET_MOUSE * scale; + ImRect r_avoid; + if (g.NavCursorVisible && g.NavHighlightItemUnderNav && !g.IO.ConfigNavMoveSetMousePos) + r_avoid = ImRect(ref_pos.x - 16, ref_pos.y - 8, ref_pos.x + 16, ref_pos.y + 8); + else + r_avoid = ImRect(ref_pos.x - 16, ref_pos.y - 8, ref_pos.x + 24 * scale, ref_pos.y + 24 * scale); // FIXME: Hard-coded based on mouse cursor shape expectation. Exact dimension not very important. + //GetForegroundDrawList()->AddRect(r_avoid.Min, r_avoid.Max, IM_COL32(255, 0, 255, 255)); + + return FindBestWindowPosForPopupEx(tooltip_pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid, ImGuiPopupPositionPolicy_Tooltip); + } + IM_ASSERT(0); + return window->Pos; +} + +//----------------------------------------------------------------------------- +// [SECTION] WINDOW FOCUS +//---------------------------------------------------------------------------- +// - SetWindowFocus() +// - SetNextWindowFocus() +// - IsWindowFocused() +// - UpdateWindowInFocusOrderList() [Internal] +// - BringWindowToFocusFront() [Internal] +// - BringWindowToDisplayFront() [Internal] +// - BringWindowToDisplayBack() [Internal] +// - BringWindowToDisplayBehind() [Internal] +// - FindWindowDisplayIndex() [Internal] +// - FocusWindow() [Internal] +// - FocusTopMostWindowUnderOne() [Internal] +//----------------------------------------------------------------------------- + +void ImGui::SetWindowFocus() +{ + FocusWindow(GImGui->CurrentWindow); +} + +void ImGui::SetWindowFocus(const char* name) +{ + if (name) + { + if (ImGuiWindow* window = FindWindowByName(name)) + FocusWindow(window); + } + else + { + FocusWindow(NULL); + } +} + +void ImGui::SetNextWindowFocus() +{ + ImGuiContext& g = *GImGui; + g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasFocus; +} + +// Similar to IsWindowHovered() +bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* ref_window = g.NavWindow; + ImGuiWindow* cur_window = g.CurrentWindow; + + if (ref_window == NULL) + return false; + if (flags & ImGuiFocusedFlags_AnyWindow) + return true; + + IM_ASSERT(cur_window); // Not inside a Begin()/End() + const bool popup_hierarchy = (flags & ImGuiFocusedFlags_NoPopupHierarchy) == 0; + if (flags & ImGuiHoveredFlags_RootWindow) + cur_window = GetCombinedRootWindow(cur_window, popup_hierarchy); + + if (flags & ImGuiHoveredFlags_ChildWindows) + return IsWindowChildOf(ref_window, cur_window, popup_hierarchy); + else + return (ref_window == cur_window); +} + +static int ImGui::FindWindowFocusIndex(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + IM_UNUSED(g); + int order = window->FocusOrder; + IM_ASSERT(window->RootWindow == window); // No child window (not testing _ChildWindow because of docking) + IM_ASSERT(g.WindowsFocusOrder[order] == window); + return order; +} + +static void ImGui::UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, ImGuiWindowFlags new_flags) +{ + ImGuiContext& g = *GImGui; + + const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0 && ((new_flags & ImGuiWindowFlags_Popup) == 0 || (new_flags & ImGuiWindowFlags_ChildMenu) != 0); + const bool child_flag_changed = new_is_explicit_child != window->IsExplicitChild; + if ((just_created || child_flag_changed) && !new_is_explicit_child) + { + IM_ASSERT(!g.WindowsFocusOrder.contains(window)); + g.WindowsFocusOrder.push_back(window); + window->FocusOrder = (short)(g.WindowsFocusOrder.Size - 1); + } + else if (!just_created && child_flag_changed && new_is_explicit_child) + { + IM_ASSERT(g.WindowsFocusOrder[window->FocusOrder] == window); + for (int n = window->FocusOrder + 1; n < g.WindowsFocusOrder.Size; n++) + g.WindowsFocusOrder[n]->FocusOrder--; + g.WindowsFocusOrder.erase(g.WindowsFocusOrder.Data + window->FocusOrder); + window->FocusOrder = -1; + } + window->IsExplicitChild = new_is_explicit_child; +} + +void ImGui::BringWindowToFocusFront(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(window == window->RootWindow); + + const int cur_order = window->FocusOrder; + IM_ASSERT(g.WindowsFocusOrder[cur_order] == window); + if (g.WindowsFocusOrder.back() == window) + return; + + const int new_order = g.WindowsFocusOrder.Size - 1; + for (int n = cur_order; n < new_order; n++) + { + g.WindowsFocusOrder[n] = g.WindowsFocusOrder[n + 1]; + g.WindowsFocusOrder[n]->FocusOrder--; + IM_ASSERT(g.WindowsFocusOrder[n]->FocusOrder == n); + } + g.WindowsFocusOrder[new_order] = window; + window->FocusOrder = (short)new_order; +} + +// Note technically focus related but rather adjacent and close to BringWindowToFocusFront() +void ImGui::BringWindowToDisplayFront(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* current_front_window = g.Windows.back(); + if (current_front_window == window || current_front_window->RootWindow == window) // Cheap early out (could be better) + return; + for (int i = g.Windows.Size - 2; i >= 0; i--) // We can ignore the top-most window + if (g.Windows[i] == window) + { + memmove(&g.Windows[i], &g.Windows[i + 1], (size_t)(g.Windows.Size - i - 1) * sizeof(ImGuiWindow*)); + g.Windows[g.Windows.Size - 1] = window; + break; + } +} + +void ImGui::BringWindowToDisplayBack(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (g.Windows[0] == window) + return; + for (int i = 0; i < g.Windows.Size; i++) + if (g.Windows[i] == window) + { + memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*)); + g.Windows[0] = window; + break; + } +} + +void ImGui::BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* behind_window) +{ + IM_ASSERT(window != NULL && behind_window != NULL); + ImGuiContext& g = *GImGui; + window = window->RootWindow; + behind_window = behind_window->RootWindow; + int pos_wnd = FindWindowDisplayIndex(window); + int pos_beh = FindWindowDisplayIndex(behind_window); + if (pos_wnd < pos_beh) + { + size_t copy_bytes = (pos_beh - pos_wnd - 1) * sizeof(ImGuiWindow*); + memmove(&g.Windows.Data[pos_wnd], &g.Windows.Data[pos_wnd + 1], copy_bytes); + g.Windows[pos_beh - 1] = window; + } + else + { + size_t copy_bytes = (pos_wnd - pos_beh) * sizeof(ImGuiWindow*); + memmove(&g.Windows.Data[pos_beh + 1], &g.Windows.Data[pos_beh], copy_bytes); + g.Windows[pos_beh] = window; + } +} + +int ImGui::FindWindowDisplayIndex(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + return g.Windows.index_from_ptr(g.Windows.find(window)); +} + +// Moving window to front of display and set focus (which happens to be back of our sorted list) +void ImGui::FocusWindow(ImGuiWindow* window, ImGuiFocusRequestFlags flags) +{ + ImGuiContext& g = *GImGui; + + // Modal check? + if ((flags & ImGuiFocusRequestFlags_UnlessBelowModal) && (g.NavWindow != window)) // Early out in common case. + if (ImGuiWindow* blocking_modal = FindBlockingModal(window)) + { + // This block would typically be reached in two situations: + // - API call to FocusWindow() with a window under a modal and ImGuiFocusRequestFlags_UnlessBelowModal flag. + // - User clicking on void or anything behind a modal while a modal is open (window == NULL) + IMGUI_DEBUG_LOG_FOCUS("[focus] FocusWindow(\"%s\", UnlessBelowModal): prevented by \"%s\".\n", window ? window->Name : "", blocking_modal->Name); + if (window && window == window->RootWindow && (window->Flags & ImGuiWindowFlags_NoBringToFrontOnFocus) == 0) + BringWindowToDisplayBehind(window, blocking_modal); // Still bring right under modal. (FIXME: Could move in focus list too?) + ClosePopupsOverWindow(GetTopMostPopupModal(), false); // Note how we need to use GetTopMostPopupModal() aad NOT blocking_modal, to handle nested modals + return; + } + + // Find last focused child (if any) and focus it instead. + if ((flags & ImGuiFocusRequestFlags_RestoreFocusedChild) && window != NULL) + window = NavRestoreLastChildNavWindow(window); + + // Apply focus + if (g.NavWindow != window) + { + SetNavWindow(window); + if (window && g.NavHighlightItemUnderNav) + g.NavMousePosDirty = true; + g.NavId = window ? window->NavLastIds[0] : 0; // Restore NavId + g.NavLayer = ImGuiNavLayer_Main; + SetNavFocusScope(window ? window->NavRootFocusScopeId : 0); + g.NavIdIsAlive = false; + g.NavLastValidSelectionUserData = ImGuiSelectionUserData_Invalid; + + // Close popups if any + ClosePopupsOverWindow(window, false); + } + + // Move the root window to the top of the pile + IM_ASSERT(window == NULL || window->RootWindow != NULL); + ImGuiWindow* focus_front_window = window ? window->RootWindow : NULL; // NB: In docking branch this is window->RootWindowDockStop + ImGuiWindow* display_front_window = window ? window->RootWindow : NULL; + + // Steal active widgets. Some of the cases it triggers includes: + // - Focus a window while an InputText in another window is active, if focus happens before the old InputText can run. + // - When using Nav to activate menu items (due to timing of activating on press->new window appears->losing ActiveId) + if (g.ActiveId != 0 && g.ActiveIdWindow && g.ActiveIdWindow->RootWindow != focus_front_window) + if (!g.ActiveIdNoClearOnFocusLoss) + ClearActiveID(); + + // Passing NULL allow to disable keyboard focus + if (!window) + return; + + // Bring to front + BringWindowToFocusFront(focus_front_window); + if (((window->Flags | display_front_window->Flags) & ImGuiWindowFlags_NoBringToFrontOnFocus) == 0) + BringWindowToDisplayFront(display_front_window); +} + +void ImGui::FocusTopMostWindowUnderOne(ImGuiWindow* under_this_window, ImGuiWindow* ignore_window, ImGuiViewport* filter_viewport, ImGuiFocusRequestFlags flags) +{ + ImGuiContext& g = *GImGui; + IM_UNUSED(filter_viewport); // Unused in master branch. + int start_idx = g.WindowsFocusOrder.Size - 1; + if (under_this_window != NULL) + { + // Aim at root window behind us, if we are in a child window that's our own root (see #4640) + int offset = -1; + while (under_this_window->Flags & ImGuiWindowFlags_ChildWindow) + { + under_this_window = under_this_window->ParentWindow; + offset = 0; + } + start_idx = FindWindowFocusIndex(under_this_window) + offset; + } + for (int i = start_idx; i >= 0; i--) + { + // We may later decide to test for different NoXXXInputs based on the active navigation input (mouse vs nav) but that may feel more confusing to the user. + ImGuiWindow* window = g.WindowsFocusOrder[i]; + if (window == ignore_window || !window->WasActive) + continue; + if ((window->Flags & (ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs)) != (ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs)) + { + FocusWindow(window, flags); + return; + } + } + FocusWindow(NULL, flags); +} + +//----------------------------------------------------------------------------- +// [SECTION] KEYBOARD/GAMEPAD NAVIGATION +//----------------------------------------------------------------------------- + +// FIXME-NAV: The existence of SetNavID vs SetFocusID vs FocusWindow() needs to be clarified/reworked. +// In our terminology those should be interchangeable, yet right now this is super confusing. +// Those two functions are merely a legacy artifact, so at minimum naming should be clarified. + +void ImGui::SetNavCursorVisible(bool visible) +{ + ImGuiContext& g = *GImGui; + if (g.IO.ConfigNavCursorVisibleAlways) + visible = true; + g.NavCursorVisible = visible; +} + +// (was called NavRestoreHighlightAfterMove() before 1.91.4) +void ImGui::SetNavCursorVisibleAfterMove() +{ + ImGuiContext& g = *GImGui; + if (g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = true; + g.NavHighlightItemUnderNav = g.NavMousePosDirty = true; +} + +void ImGui::SetNavWindow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (g.NavWindow != window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] SetNavWindow(\"%s\")\n", window ? window->Name : ""); + g.NavWindow = window; + g.NavLastValidSelectionUserData = ImGuiSelectionUserData_Invalid; + } + g.NavInitRequest = g.NavMoveSubmitted = g.NavMoveScoringItems = false; + NavUpdateAnyRequestFlag(); +} + +void ImGui::NavHighlightActivated(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + g.NavHighlightActivatedId = id; + g.NavHighlightActivatedTimer = NAV_ACTIVATE_HIGHLIGHT_TIMER; +} + +void ImGui::NavClearPreferredPosForAxis(ImGuiAxis axis) +{ + ImGuiContext& g = *GImGui; + g.NavWindow->RootWindowForNav->NavPreferredScoringPosRel[g.NavLayer][axis] = FLT_MAX; +} + +void ImGui::SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.NavWindow != NULL); + IM_ASSERT(nav_layer == ImGuiNavLayer_Main || nav_layer == ImGuiNavLayer_Menu); + g.NavId = id; + g.NavLayer = nav_layer; + SetNavFocusScope(focus_scope_id); + g.NavWindow->NavLastIds[nav_layer] = id; + g.NavWindow->NavRectRel[nav_layer] = rect_rel; + + // Clear preferred scoring position (NavMoveRequestApplyResult() will tend to restore it) + NavClearPreferredPosForAxis(ImGuiAxis_X); + NavClearPreferredPosForAxis(ImGuiAxis_Y); +} + +void ImGui::SetFocusID(ImGuiID id, ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(id != 0); + + if (g.NavWindow != window) + SetNavWindow(window); + + // Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and g.CurrentFocusScopeId are valid. + // Note that window may be != g.CurrentWindow (e.g. SetFocusID call in InputTextEx for multi-line text) + const ImGuiNavLayer nav_layer = window->DC.NavLayerCurrent; + g.NavId = id; + g.NavLayer = nav_layer; + SetNavFocusScope(g.CurrentFocusScopeId); + window->NavLastIds[nav_layer] = id; + if (g.LastItemData.ID == id) + window->NavRectRel[nav_layer] = WindowRectAbsToRel(window, g.LastItemData.NavRect); + + if (g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad) + g.NavHighlightItemUnderNav = true; + else if (g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = false; + + // Clear preferred scoring position (NavMoveRequestApplyResult() will tend to restore it) + NavClearPreferredPosForAxis(ImGuiAxis_X); + NavClearPreferredPosForAxis(ImGuiAxis_Y); +} + +static ImGuiDir ImGetDirQuadrantFromDelta(float dx, float dy) +{ + if (ImFabs(dx) > ImFabs(dy)) + return (dx > 0.0f) ? ImGuiDir_Right : ImGuiDir_Left; + return (dy > 0.0f) ? ImGuiDir_Down : ImGuiDir_Up; +} + +static float inline NavScoreItemDistInterval(float cand_min, float cand_max, float curr_min, float curr_max) +{ + if (cand_max < curr_min) + return cand_max - curr_min; + if (curr_max < cand_min) + return cand_min - curr_max; + return 0.0f; +} + +// Scoring function for keyboard/gamepad directional navigation. Based on https://gist.github.com/rygorous/6981057 +static bool ImGui::NavScoreItem(ImGuiNavItemData* result) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (g.NavLayer != window->DC.NavLayerCurrent) + return false; + + // FIXME: Those are not good variables names + ImRect cand = g.LastItemData.NavRect; // Current item nav rectangle + const ImRect curr = g.NavScoringRect; // Current modified source rect (NB: we've applied Max.x = Min.x in NavUpdate() to inhibit the effect of having varied item width) + g.NavScoringDebugCount++; + + // When entering through a NavFlattened border, we consider child window items as fully clipped for scoring + if (window->ParentWindow == g.NavWindow) + { + IM_ASSERT((window->ChildFlags | g.NavWindow->ChildFlags) & ImGuiChildFlags_NavFlattened); + if (!window->ClipRect.Overlaps(cand)) + return false; + cand.ClipWithFull(window->ClipRect); // This allows the scored item to not overlap other candidates in the parent window + } + + // Compute distance between boxes + // FIXME-NAV: Introducing biases for vertical navigation, needs to be removed. + float dbx = NavScoreItemDistInterval(cand.Min.x, cand.Max.x, curr.Min.x, curr.Max.x); + float dby = NavScoreItemDistInterval(ImLerp(cand.Min.y, cand.Max.y, 0.2f), ImLerp(cand.Min.y, cand.Max.y, 0.8f), ImLerp(curr.Min.y, curr.Max.y, 0.2f), ImLerp(curr.Min.y, curr.Max.y, 0.8f)); // Scale down on Y to keep using box-distance for vertically touching items + if (dby != 0.0f && dbx != 0.0f) + dbx = (dbx / 1000.0f) + ((dbx > 0.0f) ? +1.0f : -1.0f); + float dist_box = ImFabs(dbx) + ImFabs(dby); + + // Compute distance between centers (this is off by a factor of 2, but we only compare center distances with each other so it doesn't matter) + float dcx = (cand.Min.x + cand.Max.x) - (curr.Min.x + curr.Max.x); + float dcy = (cand.Min.y + cand.Max.y) - (curr.Min.y + curr.Max.y); + float dist_center = ImFabs(dcx) + ImFabs(dcy); // L1 metric (need this for our connectedness guarantee) + + // Determine which quadrant of 'curr' our candidate item 'cand' lies in based on distance + ImGuiDir quadrant; + float dax = 0.0f, day = 0.0f, dist_axial = 0.0f; + if (dbx != 0.0f || dby != 0.0f) + { + // For non-overlapping boxes, use distance between boxes + // FIXME-NAV: Quadrant may be incorrect because of (1) dbx bias and (2) curr.Max.y bias applied by NavBiasScoringRect() where typically curr.Max.y==curr.Min.y + // One typical case where this happens, with style.WindowMenuButtonPosition == ImGuiDir_Right, pressing Left to navigate from Close to Collapse tends to fail. + // Also see #6344. Calling ImGetDirQuadrantFromDelta() with unbiased values may be good but side-effects are plenty. + dax = dbx; + day = dby; + dist_axial = dist_box; + quadrant = ImGetDirQuadrantFromDelta(dbx, dby); + } + else if (dcx != 0.0f || dcy != 0.0f) + { + // For overlapping boxes with different centers, use distance between centers + dax = dcx; + day = dcy; + dist_axial = dist_center; + quadrant = ImGetDirQuadrantFromDelta(dcx, dcy); + } + else + { + // Degenerate case: two overlapping buttons with same center, break ties arbitrarily (note that LastItemId here is really the _previous_ item order, but it doesn't matter) + quadrant = (g.LastItemData.ID < g.NavId) ? ImGuiDir_Left : ImGuiDir_Right; + } + + const ImGuiDir move_dir = g.NavMoveDir; +#if IMGUI_DEBUG_NAV_SCORING + char buf[200]; + if (g.IO.KeyCtrl) // Hold CTRL to preview score in matching quadrant. CTRL+Arrow to rotate. + { + if (quadrant == move_dir) + { + ImFormatString(buf, IM_ARRAYSIZE(buf), "%.0f/%.0f", dist_box, dist_center); + ImDrawList* draw_list = GetForegroundDrawList(window); + draw_list->AddRectFilled(cand.Min, cand.Max, IM_COL32(255, 0, 0, 80)); + draw_list->AddRectFilled(cand.Min, cand.Min + CalcTextSize(buf), IM_COL32(255, 0, 0, 200)); + draw_list->AddText(cand.Min, IM_COL32(255, 255, 255, 255), buf); + } + } + const bool debug_hovering = IsMouseHoveringRect(cand.Min, cand.Max); + const bool debug_tty = (g.IO.KeyCtrl && IsKeyPressed(ImGuiKey_Space)); + if (debug_hovering || debug_tty) + { + ImFormatString(buf, IM_ARRAYSIZE(buf), + "d-box (%7.3f,%7.3f) -> %7.3f\nd-center (%7.3f,%7.3f) -> %7.3f\nd-axial (%7.3f,%7.3f) -> %7.3f\nnav %c, quadrant %c", + dbx, dby, dist_box, dcx, dcy, dist_center, dax, day, dist_axial, "-WENS"[move_dir+1], "-WENS"[quadrant+1]); + if (debug_hovering) + { + ImDrawList* draw_list = GetForegroundDrawList(window); + draw_list->AddRect(curr.Min, curr.Max, IM_COL32(255, 200, 0, 100)); + draw_list->AddRect(cand.Min, cand.Max, IM_COL32(255, 255, 0, 200)); + draw_list->AddRectFilled(cand.Max - ImVec2(4, 4), cand.Max + CalcTextSize(buf) + ImVec2(4, 4), IM_COL32(40, 0, 0, 200)); + draw_list->AddText(cand.Max, ~0U, buf); + } + if (debug_tty) { IMGUI_DEBUG_LOG_NAV("id 0x%08X\n%s\n", g.LastItemData.ID, buf); } + } +#endif + + // Is it in the quadrant we're interested in moving to? + bool new_best = false; + if (quadrant == move_dir) + { + // Does it beat the current best candidate? + if (dist_box < result->DistBox) + { + result->DistBox = dist_box; + result->DistCenter = dist_center; + return true; + } + if (dist_box == result->DistBox) + { + // Try using distance between center points to break ties + if (dist_center < result->DistCenter) + { + result->DistCenter = dist_center; + new_best = true; + } + else if (dist_center == result->DistCenter) + { + // Still tied! we need to be extra-careful to make sure everything gets linked properly. We consistently break ties by symbolically moving "later" items + // (with higher index) to the right/downwards by an infinitesimal amount since we the current "best" button already (so it must have a lower index), + // this is fairly easy. This rule ensures that all buttons with dx==dy==0 will end up being linked in order of appearance along the x axis. + if (((move_dir == ImGuiDir_Up || move_dir == ImGuiDir_Down) ? dby : dbx) < 0.0f) // moving bj to the right/down decreases distance + new_best = true; + } + } + } + + // Axial check: if 'curr' has no link at all in some direction and 'cand' lies roughly in that direction, add a tentative link. This will only be kept if no "real" matches + // are found, so it only augments the graph produced by the above method using extra links. (important, since it doesn't guarantee strong connectedness) + // This is just to avoid buttons having no links in a particular direction when there's a suitable neighbor. you get good graphs without this too. + // 2017/09/29: FIXME: This now currently only enabled inside menu bars, ideally we'd disable it everywhere. Menus in particular need to catch failure. For general navigation it feels awkward. + // Disabling it may lead to disconnected graphs when nodes are very spaced out on different axis. Perhaps consider offering this as an option? + if (result->DistBox == FLT_MAX && dist_axial < result->DistAxial) // Check axial match + if (g.NavLayer == ImGuiNavLayer_Menu && !(g.NavWindow->Flags & ImGuiWindowFlags_ChildMenu)) + if ((move_dir == ImGuiDir_Left && dax < 0.0f) || (move_dir == ImGuiDir_Right && dax > 0.0f) || (move_dir == ImGuiDir_Up && day < 0.0f) || (move_dir == ImGuiDir_Down && day > 0.0f)) + { + result->DistAxial = dist_axial; + new_best = true; + } + + return new_best; +} + +static void ImGui::NavApplyItemToResult(ImGuiNavItemData* result) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + result->Window = window; + result->ID = g.LastItemData.ID; + result->FocusScopeId = g.CurrentFocusScopeId; + result->ItemFlags = g.LastItemData.ItemFlags; + result->RectRel = WindowRectAbsToRel(window, g.LastItemData.NavRect); + if (result->ItemFlags & ImGuiItemFlags_HasSelectionUserData) + { + IM_ASSERT(g.NextItemData.SelectionUserData != ImGuiSelectionUserData_Invalid); + result->SelectionUserData = g.NextItemData.SelectionUserData; // INTENTIONAL: At this point this field is not cleared in NextItemData. Avoid unnecessary copy to LastItemData. + } +} + +// True when current work location may be scrolled horizontally when moving left / right. +// This is generally always true UNLESS within a column. We don't have a vertical equivalent. +void ImGui::NavUpdateCurrentWindowIsScrollPushableX() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + window->DC.NavIsScrollPushableX = (g.CurrentTable == NULL && window->DC.CurrentColumns == NULL); +} + +// We get there when either NavId == id, or when g.NavAnyRequest is set (which is updated by NavUpdateAnyRequestFlag above) +// This is called after LastItemData is set, but NextItemData is also still valid. +static void ImGui::NavProcessItem() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + const ImGuiID id = g.LastItemData.ID; + const ImGuiItemFlags item_flags = g.LastItemData.ItemFlags; + + // When inside a container that isn't scrollable with Left<>Right, clip NavRect accordingly (#2221) + if (window->DC.NavIsScrollPushableX == false) + { + g.LastItemData.NavRect.Min.x = ImClamp(g.LastItemData.NavRect.Min.x, window->ClipRect.Min.x, window->ClipRect.Max.x); + g.LastItemData.NavRect.Max.x = ImClamp(g.LastItemData.NavRect.Max.x, window->ClipRect.Min.x, window->ClipRect.Max.x); + } + const ImRect nav_bb = g.LastItemData.NavRect; + + // Process Init Request + if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent && (item_flags & ImGuiItemFlags_Disabled) == 0) + { + // Even if 'ImGuiItemFlags_NoNavDefaultFocus' is on (typically collapse/close button) we record the first ResultId so they can be used as a fallback + const bool candidate_for_nav_default_focus = (item_flags & ImGuiItemFlags_NoNavDefaultFocus) == 0; + if (candidate_for_nav_default_focus || g.NavInitResult.ID == 0) + { + NavApplyItemToResult(&g.NavInitResult); + } + if (candidate_for_nav_default_focus) + { + g.NavInitRequest = false; // Found a match, clear request + NavUpdateAnyRequestFlag(); + } + } + + // Process Move Request (scoring for navigation) + // FIXME-NAV: Consider policy for double scoring (scoring from NavScoringRect + scoring from a rect wrapped according to current wrapping policy) + if (g.NavMoveScoringItems && (item_flags & ImGuiItemFlags_Disabled) == 0) + { + if ((g.NavMoveFlags & ImGuiNavMoveFlags_FocusApi) || (window->Flags & ImGuiWindowFlags_NoNavInputs) == 0) + { + const bool is_tabbing = (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) != 0; + if (is_tabbing) + { + NavProcessItemForTabbingRequest(id, item_flags, g.NavMoveFlags); + } + else if (g.NavId != id || (g.NavMoveFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) + { + ImGuiNavItemData* result = (window == g.NavWindow) ? &g.NavMoveResultLocal : &g.NavMoveResultOther; + if (NavScoreItem(result)) + NavApplyItemToResult(result); + + // Features like PageUp/PageDown need to maintain a separate score for the visible set of items. + const float VISIBLE_RATIO = 0.70f; + if ((g.NavMoveFlags & ImGuiNavMoveFlags_AlsoScoreVisibleSet) && window->ClipRect.Overlaps(nav_bb)) + if (ImClamp(nav_bb.Max.y, window->ClipRect.Min.y, window->ClipRect.Max.y) - ImClamp(nav_bb.Min.y, window->ClipRect.Min.y, window->ClipRect.Max.y) >= (nav_bb.Max.y - nav_bb.Min.y) * VISIBLE_RATIO) + if (NavScoreItem(&g.NavMoveResultLocalVisible)) + NavApplyItemToResult(&g.NavMoveResultLocalVisible); + } + } + } + + // Update information for currently focused/navigated item + if (g.NavId == id) + { + if (g.NavWindow != window) + SetNavWindow(window); // Always refresh g.NavWindow, because some operations such as FocusItem() may not have a window. + g.NavLayer = window->DC.NavLayerCurrent; + SetNavFocusScope(g.CurrentFocusScopeId); // Will set g.NavFocusScopeId AND store g.NavFocusScopePath + g.NavFocusScopeId = g.CurrentFocusScopeId; + g.NavIdIsAlive = true; + if (g.LastItemData.ItemFlags & ImGuiItemFlags_HasSelectionUserData) + { + IM_ASSERT(g.NextItemData.SelectionUserData != ImGuiSelectionUserData_Invalid); + g.NavLastValidSelectionUserData = g.NextItemData.SelectionUserData; // INTENTIONAL: At this point this field is not cleared in NextItemData. Avoid unnecessary copy to LastItemData. + } + window->NavRectRel[window->DC.NavLayerCurrent] = WindowRectAbsToRel(window, nav_bb); // Store item bounding box (relative to window position) + } +} + +// Handle "scoring" of an item for a tabbing/focusing request initiated by NavUpdateCreateTabbingRequest(). +// Note that SetKeyboardFocusHere() API calls are considered tabbing requests! +// - Case 1: no nav/active id: set result to first eligible item, stop storing. +// - Case 2: tab forward: on ref id set counter, on counter elapse store result +// - Case 3: tab forward wrap: set result to first eligible item (preemptively), on ref id set counter, on next frame if counter hasn't elapsed store result. // FIXME-TABBING: Could be done as a next-frame forwarded request +// - Case 4: tab backward: store all results, on ref id pick prev, stop storing +// - Case 5: tab backward wrap: store all results, on ref id if no result keep storing until last // FIXME-TABBING: Could be done as next-frame forwarded requested +void ImGui::NavProcessItemForTabbingRequest(ImGuiID id, ImGuiItemFlags item_flags, ImGuiNavMoveFlags move_flags) +{ + ImGuiContext& g = *GImGui; + + if ((move_flags & ImGuiNavMoveFlags_FocusApi) == 0) + { + if (g.NavLayer != g.CurrentWindow->DC.NavLayerCurrent) + return; + if (g.NavFocusScopeId != g.CurrentFocusScopeId) + return; + } + + // - Can always land on an item when using API call. + // - Tabbing with _NavEnableKeyboard (space/enter/arrows): goes through every item. + // - Tabbing without _NavEnableKeyboard: goes through inputable items only. + bool can_stop; + if (move_flags & ImGuiNavMoveFlags_FocusApi) + can_stop = true; + else + can_stop = (item_flags & ImGuiItemFlags_NoTabStop) == 0 && ((g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) || (item_flags & ImGuiItemFlags_Inputable)); + + // Always store in NavMoveResultLocal (unlike directional request which uses NavMoveResultOther on sibling/flattened windows) + ImGuiNavItemData* result = &g.NavMoveResultLocal; + if (g.NavTabbingDir == +1) + { + // Tab Forward or SetKeyboardFocusHere() with >= 0 + if (can_stop && g.NavTabbingResultFirst.ID == 0) + NavApplyItemToResult(&g.NavTabbingResultFirst); + if (can_stop && g.NavTabbingCounter > 0 && --g.NavTabbingCounter == 0) + NavMoveRequestResolveWithLastItem(result); + else if (g.NavId == id) + g.NavTabbingCounter = 1; + } + else if (g.NavTabbingDir == -1) + { + // Tab Backward + if (g.NavId == id) + { + if (result->ID) + { + g.NavMoveScoringItems = false; + NavUpdateAnyRequestFlag(); + } + } + else if (can_stop) + { + // Keep applying until reaching NavId + NavApplyItemToResult(result); + } + } + else if (g.NavTabbingDir == 0) + { + if (can_stop && g.NavId == id) + NavMoveRequestResolveWithLastItem(result); + if (can_stop && g.NavTabbingResultFirst.ID == 0) // Tab init + NavApplyItemToResult(&g.NavTabbingResultFirst); + } +} + +bool ImGui::NavMoveRequestButNoResultYet() +{ + ImGuiContext& g = *GImGui; + return g.NavMoveScoringItems && g.NavMoveResultLocal.ID == 0 && g.NavMoveResultOther.ID == 0; +} + +// FIXME: ScoringRect is not set +void ImGui::NavMoveRequestSubmit(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavMoveFlags move_flags, ImGuiScrollFlags scroll_flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.NavWindow != NULL); + //IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequestSubmit: dir %c, window \"%s\"\n", "-WENS"[move_dir + 1], g.NavWindow->Name); + + if (move_flags & ImGuiNavMoveFlags_IsTabbing) + move_flags |= ImGuiNavMoveFlags_AllowCurrentNavId; + + g.NavMoveSubmitted = g.NavMoveScoringItems = true; + g.NavMoveDir = move_dir; + g.NavMoveDirForDebug = move_dir; + g.NavMoveClipDir = clip_dir; + g.NavMoveFlags = move_flags; + g.NavMoveScrollFlags = scroll_flags; + g.NavMoveForwardToNextFrame = false; + g.NavMoveKeyMods = (move_flags & ImGuiNavMoveFlags_FocusApi) ? 0 : g.IO.KeyMods; + g.NavMoveResultLocal.Clear(); + g.NavMoveResultLocalVisible.Clear(); + g.NavMoveResultOther.Clear(); + g.NavTabbingCounter = 0; + g.NavTabbingResultFirst.Clear(); + NavUpdateAnyRequestFlag(); +} + +void ImGui::NavMoveRequestResolveWithLastItem(ImGuiNavItemData* result) +{ + ImGuiContext& g = *GImGui; + g.NavMoveScoringItems = false; // Ensure request doesn't need more processing + NavApplyItemToResult(result); + NavUpdateAnyRequestFlag(); +} + +// Called by TreePop() to implement ImGuiTreeNodeFlags_NavLeftJumpsBackHere +void ImGui::NavMoveRequestResolveWithPastTreeNode(ImGuiNavItemData* result, ImGuiTreeNodeStackData* tree_node_data) +{ + ImGuiContext& g = *GImGui; + g.NavMoveScoringItems = false; + g.LastItemData.ID = tree_node_data->ID; + g.LastItemData.ItemFlags = tree_node_data->ItemFlags & ~ImGuiItemFlags_HasSelectionUserData; // Losing SelectionUserData, recovered next-frame (cheaper). + g.LastItemData.NavRect = tree_node_data->NavRect; + NavApplyItemToResult(result); // Result this instead of implementing a NavApplyPastTreeNodeToResult() + NavClearPreferredPosForAxis(ImGuiAxis_Y); + NavUpdateAnyRequestFlag(); +} + +void ImGui::NavMoveRequestCancel() +{ + ImGuiContext& g = *GImGui; + g.NavMoveSubmitted = g.NavMoveScoringItems = false; + NavUpdateAnyRequestFlag(); +} + +// Forward will reuse the move request again on the next frame (generally with modifications done to it) +void ImGui::NavMoveRequestForward(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavMoveFlags move_flags, ImGuiScrollFlags scroll_flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.NavMoveForwardToNextFrame == false); + NavMoveRequestCancel(); + g.NavMoveForwardToNextFrame = true; + g.NavMoveDir = move_dir; + g.NavMoveClipDir = clip_dir; + g.NavMoveFlags = move_flags | ImGuiNavMoveFlags_Forwarded; + g.NavMoveScrollFlags = scroll_flags; +} + +// Navigation wrap-around logic is delayed to the end of the frame because this operation is only valid after entire +// popup is assembled and in case of appended popups it is not clear which EndPopup() call is final. +void ImGui::NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags wrap_flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT((wrap_flags & ImGuiNavMoveFlags_WrapMask_ ) != 0 && (wrap_flags & ~ImGuiNavMoveFlags_WrapMask_) == 0); // Call with _WrapX, _WrapY, _LoopX, _LoopY + + // In theory we should test for NavMoveRequestButNoResultYet() but there's no point doing it: + // as NavEndFrame() will do the same test. It will end up calling NavUpdateCreateWrappingRequest(). + if (g.NavWindow == window && g.NavMoveScoringItems && g.NavLayer == ImGuiNavLayer_Main) + g.NavMoveFlags = (g.NavMoveFlags & ~ImGuiNavMoveFlags_WrapMask_) | wrap_flags; +} + +// FIXME: This could be replaced by updating a frame number in each window when (window == NavWindow) and (NavLayer == 0). +// This way we could find the last focused window among our children. It would be much less confusing this way? +static void ImGui::NavSaveLastChildNavWindowIntoParent(ImGuiWindow* nav_window) +{ + ImGuiWindow* parent = nav_window; + while (parent && parent->RootWindow != parent && (parent->Flags & (ImGuiWindowFlags_Popup | ImGuiWindowFlags_ChildMenu)) == 0) + parent = parent->ParentWindow; + if (parent && parent != nav_window) + parent->NavLastChildNavWindow = nav_window; +} + +// Restore the last focused child. +// Call when we are expected to land on the Main Layer (0) after FocusWindow() +static ImGuiWindow* ImGui::NavRestoreLastChildNavWindow(ImGuiWindow* window) +{ + if (window->NavLastChildNavWindow && window->NavLastChildNavWindow->WasActive) + return window->NavLastChildNavWindow; + return window; +} + +void ImGui::NavRestoreLayer(ImGuiNavLayer layer) +{ + ImGuiContext& g = *GImGui; + if (layer == ImGuiNavLayer_Main) + { + ImGuiWindow* prev_nav_window = g.NavWindow; + g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow); // FIXME-NAV: Should clear ongoing nav requests? + g.NavLastValidSelectionUserData = ImGuiSelectionUserData_Invalid; + if (prev_nav_window) + IMGUI_DEBUG_LOG_FOCUS("[focus] NavRestoreLayer: from \"%s\" to SetNavWindow(\"%s\")\n", prev_nav_window->Name, g.NavWindow->Name); + } + ImGuiWindow* window = g.NavWindow; + if (window->NavLastIds[layer] != 0) + { + SetNavID(window->NavLastIds[layer], layer, 0, window->NavRectRel[layer]); + } + else + { + g.NavLayer = layer; + NavInitWindow(window, true); + } +} + +static inline void ImGui::NavUpdateAnyRequestFlag() +{ + ImGuiContext& g = *GImGui; + g.NavAnyRequest = g.NavMoveScoringItems || g.NavInitRequest || (IMGUI_DEBUG_NAV_SCORING && g.NavWindow != NULL); + if (g.NavAnyRequest) + IM_ASSERT(g.NavWindow != NULL); +} + +// This needs to be called before we submit any widget (aka in or before Begin) +void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(window == g.NavWindow); + + if (window->Flags & ImGuiWindowFlags_NoNavInputs) + { + g.NavId = 0; + SetNavFocusScope(window->NavRootFocusScopeId); + return; + } + + bool init_for_nav = false; + if (window == window->RootWindow || (window->Flags & ImGuiWindowFlags_Popup) || (window->NavLastIds[0] == 0) || force_reinit) + init_for_nav = true; + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from NavInitWindow(), init_for_nav=%d, window=\"%s\", layer=%d\n", init_for_nav, window->Name, g.NavLayer); + if (init_for_nav) + { + SetNavID(0, g.NavLayer, window->NavRootFocusScopeId, ImRect()); + g.NavInitRequest = true; + g.NavInitRequestFromMove = false; + g.NavInitResult.ID = 0; + NavUpdateAnyRequestFlag(); + } + else + { + g.NavId = window->NavLastIds[0]; + SetNavFocusScope(window->NavRootFocusScopeId); + } +} + +static ImGuiInputSource ImGui::NavCalcPreferredRefPosSource() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.NavWindow; + const bool activated_shortcut = g.ActiveId != 0 && g.ActiveIdFromShortcut && g.ActiveId == g.LastItemData.ID; + + // Testing for !activated_shortcut here could in theory be removed if we decided that activating a remote shortcut altered one of the g.NavDisableXXX flag. + if ((!g.NavCursorVisible || !g.NavHighlightItemUnderNav || !window) && !activated_shortcut) + return ImGuiInputSource_Mouse; + else + return ImGuiInputSource_Keyboard; // or Nav in general +} + +static ImVec2 ImGui::NavCalcPreferredRefPos() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.NavWindow; + ImGuiInputSource source = NavCalcPreferredRefPosSource(); + + const bool activated_shortcut = g.ActiveId != 0 && g.ActiveIdFromShortcut && g.ActiveId == g.LastItemData.ID; + + // Testing for !activated_shortcut here could in theory be removed if we decided that activating a remote shortcut altered one of the g.NavDisableXXX flag. + if (source == ImGuiInputSource_Mouse) + { + // Mouse (we need a fallback in case the mouse becomes invalid after being used) + // The +1.0f offset when stored by OpenPopupEx() allows reopening this or another popup (same or another mouse button) while not moving the mouse, it is pretty standard. + // In theory we could move that +1.0f offset in OpenPopupEx() + ImVec2 p = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : g.MouseLastValidPos; + return ImVec2(p.x + 1.0f, p.y); + } + else + { + // When navigation is active and mouse is disabled, pick a position around the bottom left of the currently navigated item + ImRect ref_rect; + if (activated_shortcut) + ref_rect = g.LastItemData.NavRect; + else + ref_rect = WindowRectRelToAbs(window, window->NavRectRel[g.NavLayer]); + + // Take account of upcoming scrolling (maybe set mouse pos should be done in EndFrame?) + if (window->LastFrameActive != g.FrameCount && (window->ScrollTarget.x != FLT_MAX || window->ScrollTarget.y != FLT_MAX)) + { + ImVec2 next_scroll = CalcNextScrollFromScrollTargetAndClamp(window); + ref_rect.Translate(window->Scroll - next_scroll); + } + ImVec2 pos = ImVec2(ref_rect.Min.x + ImMin(g.Style.FramePadding.x * 4, ref_rect.GetWidth()), ref_rect.Max.y - ImMin(g.Style.FramePadding.y, ref_rect.GetHeight())); + ImGuiViewport* viewport = GetMainViewport(); + return ImTrunc(ImClamp(pos, viewport->Pos, viewport->Pos + viewport->Size)); // ImTrunc() is important because non-integer mouse position application in backend might be lossy and result in undesirable non-zero delta. + } +} + +float ImGui::GetNavTweakPressedAmount(ImGuiAxis axis) +{ + ImGuiContext& g = *GImGui; + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(ImGuiInputFlags_RepeatRateNavTweak, &repeat_delay, &repeat_rate); + + ImGuiKey key_less, key_more; + if (g.NavInputSource == ImGuiInputSource_Gamepad) + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadLeft : ImGuiKey_GamepadDpadUp; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadRight : ImGuiKey_GamepadDpadDown; + } + else + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_LeftArrow : ImGuiKey_UpArrow; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_RightArrow : ImGuiKey_DownArrow; + } + float amount = (float)GetKeyPressedAmount(key_more, repeat_delay, repeat_rate) - (float)GetKeyPressedAmount(key_less, repeat_delay, repeat_rate); + if (amount != 0.0f && IsKeyDown(key_less) && IsKeyDown(key_more)) // Cancel when opposite directions are held, regardless of repeat phase + amount = 0.0f; + return amount; +} + +static void ImGui::NavUpdate() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + io.WantSetMousePos = false; + //if (g.NavScoringDebugCount > 0) IMGUI_DEBUG_LOG_NAV("[nav] NavScoringDebugCount %d for '%s' layer %d (Init:%d, Move:%d)\n", g.NavScoringDebugCount, g.NavWindow ? g.NavWindow->Name : "NULL", g.NavLayer, g.NavInitRequest || g.NavInitResultId != 0, g.NavMoveRequest); + + // Set input source based on which keys are last pressed (as some features differs when used with Gamepad vs Keyboard) + // FIXME-NAV: Now that keys are separated maybe we can get rid of NavInputSource? + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const ImGuiKey nav_gamepad_keys_to_change_source[] = { ImGuiKey_GamepadFaceRight, ImGuiKey_GamepadFaceLeft, ImGuiKey_GamepadFaceUp, ImGuiKey_GamepadFaceDown, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown }; + if (nav_gamepad_active) + for (ImGuiKey key : nav_gamepad_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Gamepad; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const ImGuiKey nav_keyboard_keys_to_change_source[] = { ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, ImGuiKey_RightArrow, ImGuiKey_LeftArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow }; + if (nav_keyboard_active) + for (ImGuiKey key : nav_keyboard_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Keyboard; + + // Process navigation init request (select first/default focus) + g.NavJustMovedToId = 0; + g.NavJustMovedToFocusScopeId = g.NavJustMovedFromFocusScopeId = 0; + if (g.NavInitResult.ID != 0) + NavInitRequestApplyResult(); + g.NavInitRequest = false; + g.NavInitRequestFromMove = false; + g.NavInitResult.ID = 0; + + // Process navigation move request + if (g.NavMoveSubmitted) + NavMoveRequestApplyResult(); + g.NavTabbingCounter = 0; + g.NavMoveSubmitted = g.NavMoveScoringItems = false; + if (g.NavCursorHideFrames > 0) + if (--g.NavCursorHideFrames == 0) + g.NavCursorVisible = true; + + // Schedule mouse position update (will be done at the bottom of this function, after 1) processing all move requests and 2) updating scrolling) + bool set_mouse_pos = false; + if (g.NavMousePosDirty && g.NavIdIsAlive) + if (g.NavCursorVisible && g.NavHighlightItemUnderNav && g.NavWindow) + set_mouse_pos = true; + g.NavMousePosDirty = false; + IM_ASSERT(g.NavLayer == ImGuiNavLayer_Main || g.NavLayer == ImGuiNavLayer_Menu); + + // Store our return window (for returning from Menu Layer to Main Layer) and clear it as soon as we step back in our own Layer 0 + if (g.NavWindow) + NavSaveLastChildNavWindowIntoParent(g.NavWindow); + if (g.NavWindow && g.NavWindow->NavLastChildNavWindow != NULL && g.NavLayer == ImGuiNavLayer_Main) + g.NavWindow->NavLastChildNavWindow = NULL; + + // Update CTRL+TAB and Windowing features (hold Square to move/resize/etc.) + NavUpdateWindowing(); + + // Set output flags for user application + io.NavActive = (nav_keyboard_active || nav_gamepad_active) && g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs); + io.NavVisible = (io.NavActive && g.NavId != 0 && g.NavCursorVisible) || (g.NavWindowingTarget != NULL); + + // Process NavCancel input (to close a popup, get back to parent, clear focus) + NavUpdateCancelRequest(); + + // Process manual activation request + g.NavActivateId = g.NavActivateDownId = g.NavActivatePressedId = 0; + g.NavActivateFlags = ImGuiActivateFlags_None; + if (g.NavId != 0 && g.NavCursorVisible && !g.NavWindowingTarget && g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs)) + { + const bool activate_down = (nav_keyboard_active && IsKeyDown(ImGuiKey_Space, ImGuiKeyOwner_NoOwner)) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadActivate, ImGuiKeyOwner_NoOwner)); + const bool activate_pressed = activate_down && ((nav_keyboard_active && IsKeyPressed(ImGuiKey_Space, 0, ImGuiKeyOwner_NoOwner)) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadActivate, 0, ImGuiKeyOwner_NoOwner))); + const bool input_down = (nav_keyboard_active && (IsKeyDown(ImGuiKey_Enter, ImGuiKeyOwner_NoOwner) || IsKeyDown(ImGuiKey_KeypadEnter, ImGuiKeyOwner_NoOwner))) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadInput, ImGuiKeyOwner_NoOwner)); + const bool input_pressed = input_down && ((nav_keyboard_active && (IsKeyPressed(ImGuiKey_Enter, 0, ImGuiKeyOwner_NoOwner) || IsKeyPressed(ImGuiKey_KeypadEnter, 0, ImGuiKeyOwner_NoOwner))) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadInput, 0, ImGuiKeyOwner_NoOwner))); + if (g.ActiveId == 0 && activate_pressed) + { + g.NavActivateId = g.NavId; + g.NavActivateFlags = ImGuiActivateFlags_PreferTweak; + } + if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && input_pressed) + { + g.NavActivateId = g.NavId; + g.NavActivateFlags = ImGuiActivateFlags_PreferInput; + } + if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && (activate_down || input_down)) + g.NavActivateDownId = g.NavId; + if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && (activate_pressed || input_pressed)) + { + g.NavActivatePressedId = g.NavId; + NavHighlightActivated(g.NavId); + } + } + if (g.NavWindow && (g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs)) + g.NavCursorVisible = false; + else if (g.IO.ConfigNavCursorVisibleAlways && g.NavCursorHideFrames == 0) + g.NavCursorVisible = true; + if (g.NavActivateId != 0) + IM_ASSERT(g.NavActivateDownId == g.NavActivateId); + + // Highlight + if (g.NavHighlightActivatedTimer > 0.0f) + g.NavHighlightActivatedTimer = ImMax(0.0f, g.NavHighlightActivatedTimer - io.DeltaTime); + if (g.NavHighlightActivatedTimer == 0.0f) + g.NavHighlightActivatedId = 0; + + // Process programmatic activation request + // FIXME-NAV: Those should eventually be queued (unlike focus they don't cancel each others) + if (g.NavNextActivateId != 0) + { + g.NavActivateId = g.NavActivateDownId = g.NavActivatePressedId = g.NavNextActivateId; + g.NavActivateFlags = g.NavNextActivateFlags; + } + g.NavNextActivateId = 0; + + // Process move requests + NavUpdateCreateMoveRequest(); + if (g.NavMoveDir == ImGuiDir_None) + NavUpdateCreateTabbingRequest(); + NavUpdateAnyRequestFlag(); + g.NavIdIsAlive = false; + + // Scrolling + if (g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs) && !g.NavWindowingTarget) + { + // *Fallback* manual-scroll with Nav directional keys when window has no navigable item + ImGuiWindow* window = g.NavWindow; + const float scroll_speed = IM_ROUND(window->FontRefSize * 100 * io.DeltaTime); // We need round the scrolling speed because sub-pixel scroll isn't reliably supported. + const ImGuiDir move_dir = g.NavMoveDir; + if (window->DC.NavLayersActiveMask == 0x00 && window->DC.NavWindowHasScrollY && move_dir != ImGuiDir_None) + { + if (move_dir == ImGuiDir_Left || move_dir == ImGuiDir_Right) + SetScrollX(window, ImTrunc(window->Scroll.x + ((move_dir == ImGuiDir_Left) ? -1.0f : +1.0f) * scroll_speed)); + if (move_dir == ImGuiDir_Up || move_dir == ImGuiDir_Down) + SetScrollY(window, ImTrunc(window->Scroll.y + ((move_dir == ImGuiDir_Up) ? -1.0f : +1.0f) * scroll_speed)); + } + + // *Normal* Manual scroll with LStick + // Next movement request will clamp the NavId reference rectangle to the visible area, so navigation will resume within those bounds. + if (nav_gamepad_active) + { + const ImVec2 scroll_dir = GetKeyMagnitude2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + const float tweak_factor = IsKeyDown(ImGuiKey_NavGamepadTweakSlow) ? 1.0f / 10.0f : IsKeyDown(ImGuiKey_NavGamepadTweakFast) ? 10.0f : 1.0f; + if (scroll_dir.x != 0.0f && window->ScrollbarX) + SetScrollX(window, ImTrunc(window->Scroll.x + scroll_dir.x * scroll_speed * tweak_factor)); + if (scroll_dir.y != 0.0f) + SetScrollY(window, ImTrunc(window->Scroll.y + scroll_dir.y * scroll_speed * tweak_factor)); + } + } + + // Always prioritize mouse highlight if navigation is disabled + if (!nav_keyboard_active && !nav_gamepad_active) + { + g.NavCursorVisible = false; + g.NavHighlightItemUnderNav = set_mouse_pos = false; + } + + // Update mouse position if requested + // (This will take into account the possibility that a Scroll was queued in the window to offset our absolute mouse position before scroll has been applied) + if (set_mouse_pos && io.ConfigNavMoveSetMousePos && (io.BackendFlags & ImGuiBackendFlags_HasSetMousePos)) + TeleportMousePos(NavCalcPreferredRefPos()); + + // [DEBUG] + g.NavScoringDebugCount = 0; +#if IMGUI_DEBUG_NAV_RECTS + if (ImGuiWindow* debug_window = g.NavWindow) + { + ImDrawList* draw_list = GetForegroundDrawList(debug_window); + int layer = g.NavLayer; /* for (int layer = 0; layer < 2; layer++)*/ { ImRect r = WindowRectRelToAbs(debug_window, debug_window->NavRectRel[layer]); draw_list->AddRect(r.Min, r.Max, IM_COL32(255, 200, 0, 255)); } + //if (1) { ImU32 col = (!debug_window->Hidden) ? IM_COL32(255,0,255,255) : IM_COL32(255,0,0,255); ImVec2 p = NavCalcPreferredRefPos(); char buf[32]; ImFormatString(buf, 32, "%d", g.NavLayer); draw_list->AddCircleFilled(p, 3.0f, col); draw_list->AddText(NULL, 13.0f, p + ImVec2(8,-4), col, buf); } + } +#endif +} + +void ImGui::NavInitRequestApplyResult() +{ + // In very rare cases g.NavWindow may be null (e.g. clearing focus after requesting an init request, which does happen when releasing Alt while clicking on void) + ImGuiContext& g = *GImGui; + if (!g.NavWindow) + return; + + ImGuiNavItemData* result = &g.NavInitResult; + if (g.NavId != result->ID) + { + g.NavJustMovedFromFocusScopeId = g.NavFocusScopeId; + g.NavJustMovedToId = result->ID; + g.NavJustMovedToFocusScopeId = result->FocusScopeId; + g.NavJustMovedToKeyMods = 0; + g.NavJustMovedToIsTabbing = false; + g.NavJustMovedToHasSelectionData = (result->ItemFlags & ImGuiItemFlags_HasSelectionUserData) != 0; + } + + // Apply result from previous navigation init request (will typically select the first item, unless SetItemDefaultFocus() has been called) + // FIXME-NAV: On _NavFlattened windows, g.NavWindow will only be updated during subsequent frame. Not a problem currently. + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: ApplyResult: NavID 0x%08X in Layer %d Window \"%s\"\n", result->ID, g.NavLayer, g.NavWindow->Name); + SetNavID(result->ID, g.NavLayer, result->FocusScopeId, result->RectRel); + g.NavIdIsAlive = true; // Mark as alive from previous frame as we got a result + if (result->SelectionUserData != ImGuiSelectionUserData_Invalid) + g.NavLastValidSelectionUserData = result->SelectionUserData; + if (g.NavInitRequestFromMove) + SetNavCursorVisibleAfterMove(); +} + +// Bias scoring rect ahead of scoring + update preferred pos (if missing) using source position +static void NavBiasScoringRect(ImRect& r, ImVec2& preferred_pos_rel, ImGuiDir move_dir, ImGuiNavMoveFlags move_flags) +{ + // Bias initial rect + ImGuiContext& g = *GImGui; + const ImVec2 rel_to_abs_offset = g.NavWindow->DC.CursorStartPos; + + // Initialize bias on departure if we don't have any. So mouse-click + arrow will record bias. + // - We default to L/U bias, so moving down from a large source item into several columns will land on left-most column. + // - But each successful move sets new bias on one axis, only cleared when using mouse. + if ((move_flags & ImGuiNavMoveFlags_Forwarded) == 0) + { + if (preferred_pos_rel.x == FLT_MAX) + preferred_pos_rel.x = ImMin(r.Min.x + 1.0f, r.Max.x) - rel_to_abs_offset.x; + if (preferred_pos_rel.y == FLT_MAX) + preferred_pos_rel.y = r.GetCenter().y - rel_to_abs_offset.y; + } + + // Apply general bias on the other axis + if ((move_dir == ImGuiDir_Up || move_dir == ImGuiDir_Down) && preferred_pos_rel.x != FLT_MAX) + r.Min.x = r.Max.x = preferred_pos_rel.x + rel_to_abs_offset.x; + else if ((move_dir == ImGuiDir_Left || move_dir == ImGuiDir_Right) && preferred_pos_rel.y != FLT_MAX) + r.Min.y = r.Max.y = preferred_pos_rel.y + rel_to_abs_offset.y; +} + +void ImGui::NavUpdateCreateMoveRequest() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + ImGuiWindow* window = g.NavWindow; + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + + if (g.NavMoveForwardToNextFrame && window != NULL) + { + // Forwarding previous request (which has been modified, e.g. wrap around menus rewrite the requests with a starting rectangle at the other side of the window) + // (preserve most state, which were already set by the NavMoveRequestForward() function) + IM_ASSERT(g.NavMoveDir != ImGuiDir_None && g.NavMoveClipDir != ImGuiDir_None); + IM_ASSERT(g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded); + IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequestForward %d\n", g.NavMoveDir); + } + else + { + // Initiate directional inputs request + g.NavMoveDir = ImGuiDir_None; + g.NavMoveFlags = ImGuiNavMoveFlags_None; + g.NavMoveScrollFlags = ImGuiScrollFlags_None; + if (window && !g.NavWindowingTarget && !(window->Flags & ImGuiWindowFlags_NoNavInputs)) + { + const ImGuiInputFlags repeat_mode = ImGuiInputFlags_Repeat | (ImGuiInputFlags)ImGuiInputFlags_RepeatRateNavMove; + if (!IsActiveIdUsingNavDir(ImGuiDir_Left) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadLeft, repeat_mode, ImGuiKeyOwner_NoOwner)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_LeftArrow, repeat_mode, ImGuiKeyOwner_NoOwner)))) { g.NavMoveDir = ImGuiDir_Left; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Right) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadRight, repeat_mode, ImGuiKeyOwner_NoOwner)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_RightArrow, repeat_mode, ImGuiKeyOwner_NoOwner)))) { g.NavMoveDir = ImGuiDir_Right; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Up) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadUp, repeat_mode, ImGuiKeyOwner_NoOwner)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_UpArrow, repeat_mode, ImGuiKeyOwner_NoOwner)))) { g.NavMoveDir = ImGuiDir_Up; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Down) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadDown, repeat_mode, ImGuiKeyOwner_NoOwner)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_DownArrow, repeat_mode, ImGuiKeyOwner_NoOwner)))) { g.NavMoveDir = ImGuiDir_Down; } + } + g.NavMoveClipDir = g.NavMoveDir; + g.NavScoringNoClipRect = ImRect(+FLT_MAX, +FLT_MAX, -FLT_MAX, -FLT_MAX); + } + + // Update PageUp/PageDown/Home/End scroll + // FIXME-NAV: Consider enabling those keys even without the master ImGuiConfigFlags_NavEnableKeyboard flag? + float scoring_rect_offset_y = 0.0f; + if (window && g.NavMoveDir == ImGuiDir_None && nav_keyboard_active) + scoring_rect_offset_y = NavUpdatePageUpPageDown(); + if (scoring_rect_offset_y != 0.0f) + { + g.NavScoringNoClipRect = window->InnerRect; + g.NavScoringNoClipRect.TranslateY(scoring_rect_offset_y); + } + + // [DEBUG] Always send a request when holding CTRL. Hold CTRL + Arrow change the direction. +#if IMGUI_DEBUG_NAV_SCORING + //if (io.KeyCtrl && IsKeyPressed(ImGuiKey_C)) + // g.NavMoveDirForDebug = (ImGuiDir)((g.NavMoveDirForDebug + 1) & 3); + if (io.KeyCtrl) + { + if (g.NavMoveDir == ImGuiDir_None) + g.NavMoveDir = g.NavMoveDirForDebug; + g.NavMoveClipDir = g.NavMoveDir; + g.NavMoveFlags |= ImGuiNavMoveFlags_DebugNoResult; + } +#endif + + // Submit + g.NavMoveForwardToNextFrame = false; + if (g.NavMoveDir != ImGuiDir_None) + NavMoveRequestSubmit(g.NavMoveDir, g.NavMoveClipDir, g.NavMoveFlags, g.NavMoveScrollFlags); + + // Moving with no reference triggers an init request (will be used as a fallback if the direction fails to find a match) + if (g.NavMoveSubmitted && g.NavId == 0) + { + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from move, window \"%s\", layer=%d\n", window ? window->Name : "", g.NavLayer); + g.NavInitRequest = g.NavInitRequestFromMove = true; + g.NavInitResult.ID = 0; + if (g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = true; + } + + // When using gamepad, we project the reference nav bounding box into window visible area. + // This is to allow resuming navigation inside the visible area after doing a large amount of scrolling, + // since with gamepad all movements are relative (can't focus a visible object like we can with the mouse). + if (g.NavMoveSubmitted && g.NavInputSource == ImGuiInputSource_Gamepad && g.NavLayer == ImGuiNavLayer_Main && window != NULL)// && (g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded)) + { + bool clamp_x = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_WrapX)) == 0; + bool clamp_y = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapY)) == 0; + ImRect inner_rect_rel = WindowRectAbsToRel(window, ImRect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1))); + + // Take account of changing scroll to handle triggering a new move request on a scrolling frame. (#6171) + // Otherwise 'inner_rect_rel' would be off on the move result frame. + inner_rect_rel.Translate(CalcNextScrollFromScrollTargetAndClamp(window) - window->Scroll); + + if ((clamp_x || clamp_y) && !inner_rect_rel.Contains(window->NavRectRel[g.NavLayer])) + { + IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: clamp NavRectRel for gamepad move\n"); + float pad_x = ImMin(inner_rect_rel.GetWidth(), window->FontRefSize * 0.5f); + float pad_y = ImMin(inner_rect_rel.GetHeight(), window->FontRefSize * 0.5f); // Terrible approximation for the intent of starting navigation from first fully visible item + inner_rect_rel.Min.x = clamp_x ? (inner_rect_rel.Min.x + pad_x) : -FLT_MAX; + inner_rect_rel.Max.x = clamp_x ? (inner_rect_rel.Max.x - pad_x) : +FLT_MAX; + inner_rect_rel.Min.y = clamp_y ? (inner_rect_rel.Min.y + pad_y) : -FLT_MAX; + inner_rect_rel.Max.y = clamp_y ? (inner_rect_rel.Max.y - pad_y) : +FLT_MAX; + window->NavRectRel[g.NavLayer].ClipWithFull(inner_rect_rel); + g.NavId = 0; + } + } + + // For scoring we use a single segment on the left side our current item bounding box (not touching the edge to avoid box overlap with zero-spaced items) + ImRect scoring_rect; + if (window != NULL) + { + ImRect nav_rect_rel = !window->NavRectRel[g.NavLayer].IsInverted() ? window->NavRectRel[g.NavLayer] : ImRect(0, 0, 0, 0); + scoring_rect = WindowRectRelToAbs(window, nav_rect_rel); + scoring_rect.TranslateY(scoring_rect_offset_y); + if (g.NavMoveSubmitted) + NavBiasScoringRect(scoring_rect, window->RootWindowForNav->NavPreferredScoringPosRel[g.NavLayer], g.NavMoveDir, g.NavMoveFlags); + IM_ASSERT(!scoring_rect.IsInverted()); // Ensure we have a non-inverted bounding box here will allow us to remove extraneous ImFabs() calls in NavScoreItem(). + //GetForegroundDrawList()->AddRect(scoring_rect.Min, scoring_rect.Max, IM_COL32(255,200,0,255)); // [DEBUG] + //if (!g.NavScoringNoClipRect.IsInverted()) { GetForegroundDrawList()->AddRect(g.NavScoringNoClipRect.Min, g.NavScoringNoClipRect.Max, IM_COL32(255, 200, 0, 255)); } // [DEBUG] + } + g.NavScoringRect = scoring_rect; + g.NavScoringNoClipRect.Add(scoring_rect); +} + +void ImGui::NavUpdateCreateTabbingRequest() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.NavWindow; + IM_ASSERT(g.NavMoveDir == ImGuiDir_None); + if (window == NULL || g.NavWindowingTarget != NULL || (window->Flags & ImGuiWindowFlags_NoNavInputs)) + return; + + const bool tab_pressed = IsKeyPressed(ImGuiKey_Tab, ImGuiInputFlags_Repeat, ImGuiKeyOwner_NoOwner) && !g.IO.KeyCtrl && !g.IO.KeyAlt; + if (!tab_pressed) + return; + + // Initiate tabbing request + // (this is ALWAYS ENABLED, regardless of ImGuiConfigFlags_NavEnableKeyboard flag!) + // See NavProcessItemForTabbingRequest() for a description of the various forward/backward tabbing cases with and without wrapping. + const bool nav_keyboard_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + if (nav_keyboard_active) + g.NavTabbingDir = g.IO.KeyShift ? -1 : (g.NavCursorVisible == false && g.ActiveId == 0) ? 0 : +1; + else + g.NavTabbingDir = g.IO.KeyShift ? -1 : (g.ActiveId == 0) ? 0 : +1; + ImGuiNavMoveFlags move_flags = ImGuiNavMoveFlags_IsTabbing | ImGuiNavMoveFlags_Activate; + ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; + ImGuiDir clip_dir = (g.NavTabbingDir < 0) ? ImGuiDir_Up : ImGuiDir_Down; + NavMoveRequestSubmit(ImGuiDir_None, clip_dir, move_flags, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. + g.NavTabbingCounter = -1; +} + +// Apply result from previous frame navigation directional move request. Always called from NavUpdate() +void ImGui::NavMoveRequestApplyResult() +{ + ImGuiContext& g = *GImGui; +#if IMGUI_DEBUG_NAV_SCORING + if (g.NavMoveFlags & ImGuiNavMoveFlags_DebugNoResult) // [DEBUG] Scoring all items in NavWindow at all times + return; +#endif + + // Select which result to use + ImGuiNavItemData* result = (g.NavMoveResultLocal.ID != 0) ? &g.NavMoveResultLocal : (g.NavMoveResultOther.ID != 0) ? &g.NavMoveResultOther : NULL; + + // Tabbing forward wrap + if ((g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) && result == NULL) + if ((g.NavTabbingCounter == 1 || g.NavTabbingDir == 0) && g.NavTabbingResultFirst.ID) + result = &g.NavTabbingResultFirst; + + // In a situation when there are no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result) + const ImGuiAxis axis = (g.NavMoveDir == ImGuiDir_Up || g.NavMoveDir == ImGuiDir_Down) ? ImGuiAxis_Y : ImGuiAxis_X; + if (result == NULL) + { + if (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) + g.NavMoveFlags |= ImGuiNavMoveFlags_NoSetNavCursorVisible; + if (g.NavId != 0 && (g.NavMoveFlags & ImGuiNavMoveFlags_NoSetNavCursorVisible) == 0) + SetNavCursorVisibleAfterMove(); + NavClearPreferredPosForAxis(axis); // On a failed move, clear preferred pos for this axis. + IMGUI_DEBUG_LOG_NAV("[nav] NavMoveSubmitted but not led to a result!\n"); + return; + } + + // PageUp/PageDown behavior first jumps to the bottom/top mostly visible item, _otherwise_ use the result from the previous/next page. + if (g.NavMoveFlags & ImGuiNavMoveFlags_AlsoScoreVisibleSet) + if (g.NavMoveResultLocalVisible.ID != 0 && g.NavMoveResultLocalVisible.ID != g.NavId) + result = &g.NavMoveResultLocalVisible; + + // Maybe entering a flattened child from the outside? In this case solve the tie using the regular scoring rules. + if (result != &g.NavMoveResultOther && g.NavMoveResultOther.ID != 0 && g.NavMoveResultOther.Window->ParentWindow == g.NavWindow) + if ((g.NavMoveResultOther.DistBox < result->DistBox) || (g.NavMoveResultOther.DistBox == result->DistBox && g.NavMoveResultOther.DistCenter < result->DistCenter)) + result = &g.NavMoveResultOther; + IM_ASSERT(g.NavWindow && result->Window); + + // Scroll to keep newly navigated item fully into view. + if (g.NavLayer == ImGuiNavLayer_Main) + { + ImRect rect_abs = WindowRectRelToAbs(result->Window, result->RectRel); + ScrollToRectEx(result->Window, rect_abs, g.NavMoveScrollFlags); + + if (g.NavMoveFlags & ImGuiNavMoveFlags_ScrollToEdgeY) + { + // FIXME: Should remove this? Or make more precise: use ScrollToRectEx() with edge? + float scroll_target = (g.NavMoveDir == ImGuiDir_Up) ? result->Window->ScrollMax.y : 0.0f; + SetScrollY(result->Window, scroll_target); + } + } + + if (g.NavWindow != result->Window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] NavMoveRequest: SetNavWindow(\"%s\")\n", result->Window->Name); + g.NavWindow = result->Window; + g.NavLastValidSelectionUserData = ImGuiSelectionUserData_Invalid; + } + + // Clear active id unless requested not to + // FIXME: ImGuiNavMoveFlags_NoClearActiveId is currently unused as we don't have a clear strategy to preserve active id after interaction, + // so this is mostly provided as a gateway for further experiments (see #1418, #2890) + if (g.ActiveId != result->ID && (g.NavMoveFlags & ImGuiNavMoveFlags_NoClearActiveId) == 0) + ClearActiveID(); + + // Don't set NavJustMovedToId if just landed on the same spot (which may happen with ImGuiNavMoveFlags_AllowCurrentNavId) + // PageUp/PageDown however sets always set NavJustMovedTo (vs Home/End which doesn't) mimicking Windows behavior. + if ((g.NavId != result->ID || (g.NavMoveFlags & ImGuiNavMoveFlags_IsPageMove)) && (g.NavMoveFlags & ImGuiNavMoveFlags_NoSelect) == 0) + { + g.NavJustMovedFromFocusScopeId = g.NavFocusScopeId; + g.NavJustMovedToId = result->ID; + g.NavJustMovedToFocusScopeId = result->FocusScopeId; + g.NavJustMovedToKeyMods = g.NavMoveKeyMods; + g.NavJustMovedToIsTabbing = (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) != 0; + g.NavJustMovedToHasSelectionData = (result->ItemFlags & ImGuiItemFlags_HasSelectionUserData) != 0; + //IMGUI_DEBUG_LOG_NAV("[nav] NavJustMovedFromFocusScopeId = 0x%08X, NavJustMovedToFocusScopeId = 0x%08X\n", g.NavJustMovedFromFocusScopeId, g.NavJustMovedToFocusScopeId); + } + + // Apply new NavID/Focus + IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: result NavID 0x%08X in Layer %d Window \"%s\"\n", result->ID, g.NavLayer, g.NavWindow->Name); + ImVec2 preferred_scoring_pos_rel = g.NavWindow->RootWindowForNav->NavPreferredScoringPosRel[g.NavLayer]; + SetNavID(result->ID, g.NavLayer, result->FocusScopeId, result->RectRel); + if (result->SelectionUserData != ImGuiSelectionUserData_Invalid) + g.NavLastValidSelectionUserData = result->SelectionUserData; + + // Restore last preferred position for current axis + // (storing in RootWindowForNav-> as the info is desirable at the beginning of a Move Request. In theory all storage should use RootWindowForNav..) + if ((g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) == 0) + { + preferred_scoring_pos_rel[axis] = result->RectRel.GetCenter()[axis]; + g.NavWindow->RootWindowForNav->NavPreferredScoringPosRel[g.NavLayer] = preferred_scoring_pos_rel; + } + + // Tabbing: Activates Inputable, otherwise only Focus + if ((g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) && (result->ItemFlags & ImGuiItemFlags_Inputable) == 0) + g.NavMoveFlags &= ~ImGuiNavMoveFlags_Activate; + + // Activate + if (g.NavMoveFlags & ImGuiNavMoveFlags_Activate) + { + g.NavNextActivateId = result->ID; + g.NavNextActivateFlags = ImGuiActivateFlags_None; + if (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) + g.NavNextActivateFlags |= ImGuiActivateFlags_PreferInput | ImGuiActivateFlags_TryToPreserveState | ImGuiActivateFlags_FromTabbing; + } + + // Make nav cursor visible + if ((g.NavMoveFlags & ImGuiNavMoveFlags_NoSetNavCursorVisible) == 0) + SetNavCursorVisibleAfterMove(); +} + +// Process Escape/NavCancel input (to close a popup, get back to parent, clear focus) +// FIXME: In order to support e.g. Escape to clear a selection we'll need: +// - either to store the equivalent of ActiveIdUsingKeyInputMask for a FocusScope and test for it. +// - either to move most/all of those tests to the epilogue/end functions of the scope they are dealing with (e.g. exit child window in EndChild()) or in EndFrame(), to allow an earlier intercept +static void ImGui::NavUpdateCancelRequest() +{ + ImGuiContext& g = *GImGui; + const bool nav_gamepad_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (g.IO.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + if (!(nav_keyboard_active && IsKeyPressed(ImGuiKey_Escape, 0, ImGuiKeyOwner_NoOwner)) && !(nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadCancel, 0, ImGuiKeyOwner_NoOwner))) + return; + + IMGUI_DEBUG_LOG_NAV("[nav] NavUpdateCancelRequest()\n"); + if (g.ActiveId != 0) + { + ClearActiveID(); + } + else if (g.NavLayer != ImGuiNavLayer_Main) + { + // Leave the "menu" layer + NavRestoreLayer(ImGuiNavLayer_Main); + SetNavCursorVisibleAfterMove(); + } + else if (g.NavWindow && g.NavWindow != g.NavWindow->RootWindow && !(g.NavWindow->RootWindowForNav->Flags & ImGuiWindowFlags_Popup) && g.NavWindow->RootWindowForNav->ParentWindow) + { + // Exit child window + ImGuiWindow* child_window = g.NavWindow->RootWindowForNav; + ImGuiWindow* parent_window = child_window->ParentWindow; + IM_ASSERT(child_window->ChildId != 0); + FocusWindow(parent_window); + SetNavID(child_window->ChildId, ImGuiNavLayer_Main, 0, WindowRectAbsToRel(parent_window, child_window->Rect())); + SetNavCursorVisibleAfterMove(); + } + else if (g.OpenPopupStack.Size > 0 && g.OpenPopupStack.back().Window != NULL && !(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) + { + // Close open popup/menu + ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); + } + else + { + // Clear NavLastId for popups but keep it for regular child window so we can leave one and come back where we were + // FIXME-NAV: This should happen on window appearing. + if (g.IO.ConfigNavEscapeClearFocusItem || g.IO.ConfigNavEscapeClearFocusWindow) + if (g.NavWindow && ((g.NavWindow->Flags & ImGuiWindowFlags_Popup)))// || !(g.NavWindow->Flags & ImGuiWindowFlags_ChildWindow))) + g.NavWindow->NavLastIds[0] = 0; + + // Clear nav focus + if (g.IO.ConfigNavEscapeClearFocusItem || g.IO.ConfigNavEscapeClearFocusWindow) + g.NavId = 0; + if (g.IO.ConfigNavEscapeClearFocusWindow) + FocusWindow(NULL); + } +} + +// Handle PageUp/PageDown/Home/End keys +// Called from NavUpdateCreateMoveRequest() which will use our output to create a move request +// FIXME-NAV: This doesn't work properly with NavFlattened siblings as we use NavWindow rectangle for reference +// FIXME-NAV: how to get Home/End to aim at the beginning/end of a 2D grid? +static float ImGui::NavUpdatePageUpPageDown() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.NavWindow; + if ((window->Flags & ImGuiWindowFlags_NoNavInputs) || g.NavWindowingTarget != NULL) + return 0.0f; + + const bool page_up_held = IsKeyDown(ImGuiKey_PageUp, ImGuiKeyOwner_NoOwner); + const bool page_down_held = IsKeyDown(ImGuiKey_PageDown, ImGuiKeyOwner_NoOwner); + const bool home_pressed = IsKeyPressed(ImGuiKey_Home, ImGuiInputFlags_Repeat, ImGuiKeyOwner_NoOwner); + const bool end_pressed = IsKeyPressed(ImGuiKey_End, ImGuiInputFlags_Repeat, ImGuiKeyOwner_NoOwner); + if (page_up_held == page_down_held && home_pressed == end_pressed) // Proceed if either (not both) are pressed, otherwise early out + return 0.0f; + + if (g.NavLayer != ImGuiNavLayer_Main) + NavRestoreLayer(ImGuiNavLayer_Main); + + if (window->DC.NavLayersActiveMask == 0x00 && window->DC.NavWindowHasScrollY) + { + // Fallback manual-scroll when window has no navigable item + if (IsKeyPressed(ImGuiKey_PageUp, ImGuiInputFlags_Repeat, ImGuiKeyOwner_NoOwner)) + SetScrollY(window, window->Scroll.y - window->InnerRect.GetHeight()); + else if (IsKeyPressed(ImGuiKey_PageDown, ImGuiInputFlags_Repeat, ImGuiKeyOwner_NoOwner)) + SetScrollY(window, window->Scroll.y + window->InnerRect.GetHeight()); + else if (home_pressed) + SetScrollY(window, 0.0f); + else if (end_pressed) + SetScrollY(window, window->ScrollMax.y); + } + else + { + ImRect& nav_rect_rel = window->NavRectRel[g.NavLayer]; + const float page_offset_y = ImMax(0.0f, window->InnerRect.GetHeight() - window->FontRefSize * 1.0f + nav_rect_rel.GetHeight()); + float nav_scoring_rect_offset_y = 0.0f; + if (IsKeyPressed(ImGuiKey_PageUp, true)) + { + nav_scoring_rect_offset_y = -page_offset_y; + g.NavMoveDir = ImGuiDir_Down; // Because our scoring rect is offset up, we request the down direction (so we can always land on the last item) + g.NavMoveClipDir = ImGuiDir_Up; + g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_AlsoScoreVisibleSet | ImGuiNavMoveFlags_IsPageMove; + } + else if (IsKeyPressed(ImGuiKey_PageDown, true)) + { + nav_scoring_rect_offset_y = +page_offset_y; + g.NavMoveDir = ImGuiDir_Up; // Because our scoring rect is offset down, we request the up direction (so we can always land on the last item) + g.NavMoveClipDir = ImGuiDir_Down; + g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_AlsoScoreVisibleSet | ImGuiNavMoveFlags_IsPageMove; + } + else if (home_pressed) + { + // FIXME-NAV: handling of Home/End is assuming that the top/bottom most item will be visible with Scroll.y == 0/ScrollMax.y + // Scrolling will be handled via the ImGuiNavMoveFlags_ScrollToEdgeY flag, we don't scroll immediately to avoid scrolling happening before nav result. + // Preserve current horizontal position if we have any. + nav_rect_rel.Min.y = nav_rect_rel.Max.y = 0.0f; + if (nav_rect_rel.IsInverted()) + nav_rect_rel.Min.x = nav_rect_rel.Max.x = 0.0f; + g.NavMoveDir = ImGuiDir_Down; + g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_ScrollToEdgeY; + // FIXME-NAV: MoveClipDir left to _None, intentional? + } + else if (end_pressed) + { + nav_rect_rel.Min.y = nav_rect_rel.Max.y = window->ContentSize.y; + if (nav_rect_rel.IsInverted()) + nav_rect_rel.Min.x = nav_rect_rel.Max.x = 0.0f; + g.NavMoveDir = ImGuiDir_Up; + g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_ScrollToEdgeY; + // FIXME-NAV: MoveClipDir left to _None, intentional? + } + return nav_scoring_rect_offset_y; + } + return 0.0f; +} + +static void ImGui::NavEndFrame() +{ + ImGuiContext& g = *GImGui; + + // Show CTRL+TAB list window + if (g.NavWindowingTarget != NULL) + NavUpdateWindowingOverlay(); + + // Perform wrap-around in menus + // FIXME-NAV: Wrap may need to apply a weight bias on the other axis. e.g. 4x4 grid with 2 last items missing on last item won't handle LoopY/WrapY correctly. + // FIXME-NAV: Wrap (not Loop) support could be handled by the scoring function and then WrapX would function without an extra frame. + if (g.NavWindow && NavMoveRequestButNoResultYet() && (g.NavMoveFlags & ImGuiNavMoveFlags_WrapMask_) && (g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded) == 0) + NavUpdateCreateWrappingRequest(); +} + +static void ImGui::NavUpdateCreateWrappingRequest() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.NavWindow; + + bool do_forward = false; + ImRect bb_rel = window->NavRectRel[g.NavLayer]; + ImGuiDir clip_dir = g.NavMoveDir; + + const ImGuiNavMoveFlags move_flags = g.NavMoveFlags; + //const ImGuiAxis move_axis = (g.NavMoveDir == ImGuiDir_Up || g.NavMoveDir == ImGuiDir_Down) ? ImGuiAxis_Y : ImGuiAxis_X; + if (g.NavMoveDir == ImGuiDir_Left && (move_flags & (ImGuiNavMoveFlags_WrapX | ImGuiNavMoveFlags_LoopX))) + { + bb_rel.Min.x = bb_rel.Max.x = window->ContentSize.x + window->WindowPadding.x; + if (move_flags & ImGuiNavMoveFlags_WrapX) + { + bb_rel.TranslateY(-bb_rel.GetHeight()); // Previous row + clip_dir = ImGuiDir_Up; + } + do_forward = true; + } + if (g.NavMoveDir == ImGuiDir_Right && (move_flags & (ImGuiNavMoveFlags_WrapX | ImGuiNavMoveFlags_LoopX))) + { + bb_rel.Min.x = bb_rel.Max.x = -window->WindowPadding.x; + if (move_flags & ImGuiNavMoveFlags_WrapX) + { + bb_rel.TranslateY(+bb_rel.GetHeight()); // Next row + clip_dir = ImGuiDir_Down; + } + do_forward = true; + } + if (g.NavMoveDir == ImGuiDir_Up && (move_flags & (ImGuiNavMoveFlags_WrapY | ImGuiNavMoveFlags_LoopY))) + { + bb_rel.Min.y = bb_rel.Max.y = window->ContentSize.y + window->WindowPadding.y; + if (move_flags & ImGuiNavMoveFlags_WrapY) + { + bb_rel.TranslateX(-bb_rel.GetWidth()); // Previous column + clip_dir = ImGuiDir_Left; + } + do_forward = true; + } + if (g.NavMoveDir == ImGuiDir_Down && (move_flags & (ImGuiNavMoveFlags_WrapY | ImGuiNavMoveFlags_LoopY))) + { + bb_rel.Min.y = bb_rel.Max.y = -window->WindowPadding.y; + if (move_flags & ImGuiNavMoveFlags_WrapY) + { + bb_rel.TranslateX(+bb_rel.GetWidth()); // Next column + clip_dir = ImGuiDir_Right; + } + do_forward = true; + } + if (!do_forward) + return; + window->NavRectRel[g.NavLayer] = bb_rel; + NavClearPreferredPosForAxis(ImGuiAxis_X); + NavClearPreferredPosForAxis(ImGuiAxis_Y); + NavMoveRequestForward(g.NavMoveDir, clip_dir, move_flags, g.NavMoveScrollFlags); +} + +// Can we focus this window with CTRL+TAB (or PadMenu + PadFocusPrev/PadFocusNext) +// Note that NoNavFocus makes the window not reachable with CTRL+TAB but it can still be focused with mouse or programmatically. +// If you want a window to never be focused, you may use the e.g. NoInputs flag. +bool ImGui::IsWindowNavFocusable(ImGuiWindow* window) +{ + return window->WasActive && window == window->RootWindow && !(window->Flags & ImGuiWindowFlags_NoNavFocus); +} + +static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N) +{ + ImGuiContext& g = *GImGui; + for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir) + if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i])) + return g.WindowsFocusOrder[i]; + return NULL; +} + +static void NavUpdateWindowingTarget(int focus_change_dir) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.NavWindowingTarget); + if (g.NavWindowingTarget->Flags & ImGuiWindowFlags_Modal) + return; + + const int i_current = ImGui::FindWindowFocusIndex(g.NavWindowingTarget); + ImGuiWindow* window_target = FindWindowNavFocusable(i_current + focus_change_dir, -INT_MAX, focus_change_dir); + if (!window_target) + window_target = FindWindowNavFocusable((focus_change_dir < 0) ? (g.WindowsFocusOrder.Size - 1) : 0, i_current, focus_change_dir); + if (window_target) // Don't reset windowing target if there's a single window in the list + { + g.NavWindowingTarget = g.NavWindowingTargetAnim = window_target; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); + } + g.NavWindowingToggleLayer = false; +} + +// Apply focus and close overlay +static void ImGui::NavUpdateWindowingApplyFocus(ImGuiWindow* apply_focus_window) +{ + ImGuiContext& g = *GImGui; + if (g.NavWindow == NULL || apply_focus_window != g.NavWindow->RootWindow) + { + ClearActiveID(); + SetNavCursorVisibleAfterMove(); + ClosePopupsOverWindow(apply_focus_window, false); + FocusWindow(apply_focus_window, ImGuiFocusRequestFlags_RestoreFocusedChild); + apply_focus_window = g.NavWindow; + if (apply_focus_window->NavLastIds[0] == 0) + NavInitWindow(apply_focus_window, false); + + // If the window has ONLY a menu layer (no main layer), select it directly + // Use NavLayersActiveMaskNext since windows didn't have a chance to be Begin()-ed on this frame, + // so CTRL+Tab where the keys are only held for 1 frame will be able to use correct layers mask since + // the target window as already been previewed once. + // FIXME-NAV: This should be done in NavInit.. or in FocusWindow... However in both of those cases, + // we won't have a guarantee that windows has been visible before and therefore NavLayersActiveMask* + // won't be valid. + if (apply_focus_window->DC.NavLayersActiveMaskNext == (1 << ImGuiNavLayer_Menu)) + g.NavLayer = ImGuiNavLayer_Menu; + } + g.NavWindowingTarget = NULL; +} + +// Windowing management mode +// Keyboard: CTRL+Tab (change focus/move/resize), Alt (toggle menu layer) +// Gamepad: Hold Menu/Square (change focus/move/resize), Tap Menu/Square (toggle menu layer) +static void ImGui::NavUpdateWindowing() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + ImGuiWindow* apply_focus_window = NULL; + bool apply_toggle_layer = false; + + ImGuiWindow* modal_window = GetTopMostPopupModal(); + bool allow_windowing = (modal_window == NULL); // FIXME: This prevent CTRL+TAB from being usable with windows that are inside the Begin-stack of that modal. + if (!allow_windowing) + g.NavWindowingTarget = NULL; + + // Fade out + if (g.NavWindowingTargetAnim && g.NavWindowingTarget == NULL) + { + g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha - io.DeltaTime * 10.0f, 0.0f); + if (g.DimBgRatio <= 0.0f && g.NavWindowingHighlightAlpha <= 0.0f) + g.NavWindowingTargetAnim = NULL; + } + + // Start CTRL+Tab or Square+L/R window selection + // (g.ConfigNavWindowingKeyNext/g.ConfigNavWindowingKeyPrev defaults are ImGuiMod_Ctrl|ImGuiKey_Tab and ImGuiMod_Ctrl|ImGuiMod_Shift|ImGuiKey_Tab) + const ImGuiID owner_id = ImHashStr("##NavUpdateWindowing"); + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const bool keyboard_next_window = allow_windowing && g.ConfigNavWindowingKeyNext && Shortcut(g.ConfigNavWindowingKeyNext, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways, owner_id); + const bool keyboard_prev_window = allow_windowing && g.ConfigNavWindowingKeyPrev && Shortcut(g.ConfigNavWindowingKeyPrev, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways, owner_id); + const bool start_windowing_with_gamepad = allow_windowing && nav_gamepad_active && !g.NavWindowingTarget && IsKeyPressed(ImGuiKey_NavGamepadMenu, ImGuiInputFlags_None); + const bool start_windowing_with_keyboard = allow_windowing && !g.NavWindowingTarget && (keyboard_next_window || keyboard_prev_window); // Note: enabled even without NavEnableKeyboard! + bool just_started_windowing_from_null_focus = false; + if (start_windowing_with_gamepad || start_windowing_with_keyboard) + if (ImGuiWindow* window = g.NavWindow ? g.NavWindow : FindWindowNavFocusable(g.WindowsFocusOrder.Size - 1, -INT_MAX, -1)) + { + g.NavWindowingTarget = g.NavWindowingTargetAnim = window->RootWindow; // Current location + g.NavWindowingTimer = g.NavWindowingHighlightAlpha = 0.0f; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); + g.NavWindowingToggleLayer = start_windowing_with_gamepad ? true : false; // Gamepad starts toggling layer + g.NavInputSource = start_windowing_with_keyboard ? ImGuiInputSource_Keyboard : ImGuiInputSource_Gamepad; + if (g.NavWindow == NULL) + just_started_windowing_from_null_focus = true; + + // Manually register ownership of our mods. Using a global route in the Shortcut() calls instead would probably be correct but may have more side-effects. + if (keyboard_next_window || keyboard_prev_window) + SetKeyOwnersForKeyChord((g.ConfigNavWindowingKeyNext | g.ConfigNavWindowingKeyPrev) & ImGuiMod_Mask_, owner_id); + } + + // Gamepad update + g.NavWindowingTimer += io.DeltaTime; + if (g.NavWindowingTarget && g.NavInputSource == ImGuiInputSource_Gamepad) + { + // Highlight only appears after a brief time holding the button, so that a fast tap on PadMenu (to toggle NavLayer) doesn't add visual noise + g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); + + // Select window to focus + const int focus_change_dir = (int)IsKeyPressed(ImGuiKey_GamepadL1) - (int)IsKeyPressed(ImGuiKey_GamepadR1); + if (focus_change_dir != 0 && !just_started_windowing_from_null_focus) + { + NavUpdateWindowingTarget(focus_change_dir); + g.NavWindowingHighlightAlpha = 1.0f; + } + + // Single press toggles NavLayer, long press with L/R apply actual focus on release (until then the window was merely rendered top-most) + if (!IsKeyDown(ImGuiKey_NavGamepadMenu)) + { + g.NavWindowingToggleLayer &= (g.NavWindowingHighlightAlpha < 1.0f); // Once button was held long enough we don't consider it a tap-to-toggle-layer press anymore. + if (g.NavWindowingToggleLayer && g.NavWindow) + apply_toggle_layer = true; + else if (!g.NavWindowingToggleLayer) + apply_focus_window = g.NavWindowingTarget; + g.NavWindowingTarget = NULL; + } + } + + // Keyboard: Focus + if (g.NavWindowingTarget && g.NavInputSource == ImGuiInputSource_Keyboard) + { + // Visuals only appears after a brief time after pressing TAB the first time, so that a fast CTRL+TAB doesn't add visual noise + ImGuiKeyChord shared_mods = ((g.ConfigNavWindowingKeyNext ? g.ConfigNavWindowingKeyNext : ImGuiMod_Mask_) & (g.ConfigNavWindowingKeyPrev ? g.ConfigNavWindowingKeyPrev : ImGuiMod_Mask_)) & ImGuiMod_Mask_; + IM_ASSERT(shared_mods != 0); // Next/Prev shortcut currently needs a shared modifier to "hold", otherwise Prev actions would keep cycling between two windows. + g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); // 1.0f + if ((keyboard_next_window || keyboard_prev_window) && !just_started_windowing_from_null_focus) + NavUpdateWindowingTarget(keyboard_next_window ? -1 : +1); + else if ((io.KeyMods & shared_mods) != shared_mods) + apply_focus_window = g.NavWindowingTarget; + } + + // Keyboard: Press and Release ALT to toggle menu layer + const ImGuiKey windowing_toggle_keys[] = { ImGuiKey_LeftAlt, ImGuiKey_RightAlt }; + bool windowing_toggle_layer_start = false; + if (g.NavWindow != NULL && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs)) + for (ImGuiKey windowing_toggle_key : windowing_toggle_keys) + if (nav_keyboard_active && IsKeyPressed(windowing_toggle_key, 0, ImGuiKeyOwner_NoOwner)) + { + windowing_toggle_layer_start = true; + g.NavWindowingToggleLayer = true; + g.NavWindowingToggleKey = windowing_toggle_key; + g.NavInputSource = ImGuiInputSource_Keyboard; + break; + } + if (g.NavWindowingToggleLayer && g.NavInputSource == ImGuiInputSource_Keyboard) + { + // We cancel toggling nav layer when any text has been typed (generally while holding Alt). (See #370) + // We cancel toggling nav layer when other modifiers are pressed. (See #4439) + // - AltGR is Alt+Ctrl on some layout but we can't reliably detect it (not all backends/systems/layout emit it as Alt+Ctrl). + // We cancel toggling nav layer if an owner has claimed the key. + if (io.InputQueueCharacters.Size > 0 || io.KeyCtrl || io.KeyShift || io.KeySuper) + g.NavWindowingToggleLayer = false; + else if (windowing_toggle_layer_start == false && g.LastKeyboardKeyPressTime == g.Time) + g.NavWindowingToggleLayer = false; + else if (TestKeyOwner(g.NavWindowingToggleKey, ImGuiKeyOwner_NoOwner) == false || TestKeyOwner(ImGuiMod_Alt, ImGuiKeyOwner_NoOwner) == false) + g.NavWindowingToggleLayer = false; + + // Apply layer toggle on Alt release + // Important: as before version <18314 we lacked an explicit IO event for focus gain/loss, we also compare mouse validity to detect old backends clearing mouse pos on focus loss. + if (IsKeyReleased(g.NavWindowingToggleKey) && g.NavWindowingToggleLayer) + if (g.ActiveId == 0 || g.ActiveIdAllowOverlap) + if (IsMousePosValid(&io.MousePos) == IsMousePosValid(&io.MousePosPrev)) + apply_toggle_layer = true; + if (!IsKeyDown(g.NavWindowingToggleKey)) + g.NavWindowingToggleLayer = false; + } + + // Move window + if (g.NavWindowingTarget && !(g.NavWindowingTarget->Flags & ImGuiWindowFlags_NoMove)) + { + ImVec2 nav_move_dir; + if (g.NavInputSource == ImGuiInputSource_Keyboard && !io.KeyShift) + nav_move_dir = GetKeyMagnitude2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); + if (g.NavInputSource == ImGuiInputSource_Gamepad) + nav_move_dir = GetKeyMagnitude2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + if (nav_move_dir.x != 0.0f || nav_move_dir.y != 0.0f) + { + const float NAV_MOVE_SPEED = 800.0f; + const float move_step = NAV_MOVE_SPEED * io.DeltaTime * ImMin(io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaPos += nav_move_dir * move_step; + g.NavHighlightItemUnderNav = true; + ImVec2 accum_floored = ImTrunc(g.NavWindowingAccumDeltaPos); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + ImGuiWindow* moving_window = g.NavWindowingTarget->RootWindow; + SetWindowPos(moving_window, moving_window->Pos + accum_floored, ImGuiCond_Always); + g.NavWindowingAccumDeltaPos -= accum_floored; + } + } + } + + // Apply final focus + if (apply_focus_window) + NavUpdateWindowingApplyFocus(apply_focus_window); + + // Apply menu/layer toggle + if (apply_toggle_layer && g.NavWindow) + { + ClearActiveID(); + + // Move to parent menu if necessary + ImGuiWindow* new_nav_window = g.NavWindow; + while (new_nav_window->ParentWindow + && (new_nav_window->DC.NavLayersActiveMask & (1 << ImGuiNavLayer_Menu)) == 0 + && (new_nav_window->Flags & ImGuiWindowFlags_ChildWindow) != 0 + && (new_nav_window->Flags & (ImGuiWindowFlags_Popup | ImGuiWindowFlags_ChildMenu)) == 0) + new_nav_window = new_nav_window->ParentWindow; + if (new_nav_window != g.NavWindow) + { + ImGuiWindow* old_nav_window = g.NavWindow; + FocusWindow(new_nav_window); + new_nav_window->NavLastChildNavWindow = old_nav_window; + } + + // Toggle layer + const ImGuiNavLayer new_nav_layer = (g.NavWindow->DC.NavLayersActiveMask & (1 << ImGuiNavLayer_Menu)) ? (ImGuiNavLayer)((int)g.NavLayer ^ 1) : ImGuiNavLayer_Main; + if (new_nav_layer != g.NavLayer) + { + // Reinitialize navigation when entering menu bar with the Alt key (FIXME: could be a properly of the layer?) + if (new_nav_layer == ImGuiNavLayer_Menu) + g.NavWindow->NavLastIds[new_nav_layer] = 0; + NavRestoreLayer(new_nav_layer); + SetNavCursorVisibleAfterMove(); + } + } +} + +// Window has already passed the IsWindowNavFocusable() +static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window) +{ + if (window->Flags & ImGuiWindowFlags_Popup) + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup); + if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0) + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar); + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled); +} + +// Overlay displayed when using CTRL+TAB. Called by EndFrame(). +void ImGui::NavUpdateWindowingOverlay() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.NavWindowingTarget != NULL); + + if (g.NavWindowingTimer < NAV_WINDOWING_LIST_APPEAR_DELAY) + return; + + if (g.NavWindowingListWindow == NULL) + g.NavWindowingListWindow = FindWindowByName("##NavWindowingOverlay"); + const ImGuiViewport* viewport = GetMainViewport(); + SetNextWindowSizeConstraints(ImVec2(viewport->Size.x * 0.20f, viewport->Size.y * 0.20f), ImVec2(FLT_MAX, FLT_MAX)); + SetNextWindowPos(viewport->GetCenter(), ImGuiCond_Always, ImVec2(0.5f, 0.5f)); + PushStyleVar(ImGuiStyleVar_WindowPadding, g.Style.WindowPadding * 2.0f); + Begin("##NavWindowingOverlay", NULL, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings); + if (g.ContextName[0] != 0) + SeparatorText(g.ContextName); + for (int n = g.WindowsFocusOrder.Size - 1; n >= 0; n--) + { + ImGuiWindow* window = g.WindowsFocusOrder[n]; + IM_ASSERT(window != NULL); // Fix static analyzers + if (!IsWindowNavFocusable(window)) + continue; + const char* label = window->Name; + if (label == FindRenderedTextEnd(label)) + label = GetFallbackWindowNameForWindowingList(window); + Selectable(label, g.NavWindowingTarget == window); + } + End(); + PopStyleVar(); +} + +//----------------------------------------------------------------------------- +// [SECTION] DRAG AND DROP +//----------------------------------------------------------------------------- + +bool ImGui::IsDragDropActive() +{ + ImGuiContext& g = *GImGui; + return g.DragDropActive; +} + +void ImGui::ClearDragDrop() +{ + ImGuiContext& g = *GImGui; + if (g.DragDropActive) + IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n"); + g.DragDropActive = false; + g.DragDropPayload.Clear(); + g.DragDropAcceptFlags = ImGuiDragDropFlags_None; + g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0; + g.DragDropAcceptIdCurrRectSurface = FLT_MAX; + g.DragDropAcceptFrameCount = -1; + + g.DragDropPayloadBufHeap.clear(); + memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); +} + +bool ImGui::BeginTooltipHidden() +{ + ImGuiContext& g = *GImGui; + bool ret = Begin("##Tooltip_Hidden", NULL, ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize); + SetWindowHiddenAndSkipItemsForCurrentFrame(g.CurrentWindow); + return ret; +} + +// When this returns true you need to: a) call SetDragDropPayload() exactly once, b) you may render the payload visual/description, c) call EndDragDropSource() +// If the item has an identifier: +// - This assume/require the item to be activated (typically via ButtonBehavior). +// - Therefore if you want to use this with a mouse button other than left mouse button, it is up to the item itself to activate with another button. +// - We then pull and use the mouse button that was used to activate the item and use it to carry on the drag. +// If the item has no identifier: +// - Currently always assume left mouse button. +bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // FIXME-DRAGDROP: While in the common-most "drag from non-zero active id" case we can tell the mouse button, + // in both SourceExtern and id==0 cases we may requires something else (explicit flags or some heuristic). + ImGuiMouseButton mouse_button = ImGuiMouseButton_Left; + + bool source_drag_active = false; + ImGuiID source_id = 0; + ImGuiID source_parent_id = 0; + if ((flags & ImGuiDragDropFlags_SourceExtern) == 0) + { + source_id = g.LastItemData.ID; + if (source_id != 0) + { + // Common path: items with ID + if (g.ActiveId != source_id) + return false; + if (g.ActiveIdMouseButton != -1) + mouse_button = g.ActiveIdMouseButton; + if (g.IO.MouseDown[mouse_button] == false || window->SkipItems) + return false; + g.ActiveIdAllowOverlap = false; + } + else + { + // Uncommon path: items without ID + if (g.IO.MouseDown[mouse_button] == false || window->SkipItems) + return false; + if ((g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredRect) == 0 && (g.ActiveId == 0 || g.ActiveIdWindow != window)) + return false; + + // If you want to use BeginDragDropSource() on an item with no unique identifier for interaction, such as Text() or Image(), you need to: + // A) Read the explanation below, B) Use the ImGuiDragDropFlags_SourceAllowNullID flag. + if (!(flags & ImGuiDragDropFlags_SourceAllowNullID)) + { + IM_ASSERT(0); + return false; + } + + // Magic fallback to handle items with no assigned ID, e.g. Text(), Image() + // We build a throwaway ID based on current ID stack + relative AABB of items in window. + // THE IDENTIFIER WON'T SURVIVE ANY REPOSITIONING/RESIZINGG OF THE WIDGET, so if your widget moves your dragging operation will be canceled. + // We don't need to maintain/call ClearActiveID() as releasing the button will early out this function and trigger !ActiveIdIsAlive. + // Rely on keeping other window->LastItemXXX fields intact. + source_id = g.LastItemData.ID = window->GetIDFromRectangle(g.LastItemData.Rect); + KeepAliveID(source_id); + bool is_hovered = ItemHoverable(g.LastItemData.Rect, source_id, g.LastItemData.ItemFlags); + if (is_hovered && g.IO.MouseClicked[mouse_button]) + { + SetActiveID(source_id, window); + FocusWindow(window); + } + if (g.ActiveId == source_id) // Allow the underlying widget to display/return hovered during the mouse release frame, else we would get a flicker. + g.ActiveIdAllowOverlap = is_hovered; + } + if (g.ActiveId != source_id) + return false; + source_parent_id = window->IDStack.back(); + source_drag_active = IsMouseDragging(mouse_button); + + // Disable navigation and key inputs while dragging + cancel existing request if any + SetActiveIdUsingAllKeyboardKeys(); + } + else + { + // When ImGuiDragDropFlags_SourceExtern is set: + window = NULL; + source_id = ImHashStr("#SourceExtern"); + source_drag_active = true; + mouse_button = g.IO.MouseDown[0] ? 0 : -1; + KeepAliveID(source_id); + SetActiveID(source_id, NULL); + } + + IM_ASSERT(g.DragDropWithinTarget == false); // Can't nest BeginDragDropSource() and BeginDragDropTarget() + if (!source_drag_active) + return false; + + // Activate drag and drop + if (!g.DragDropActive) + { + IM_ASSERT(source_id != 0); + ClearDragDrop(); + IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] BeginDragDropSource() DragDropActive = true, source_id = 0x%08X%s\n", + source_id, (flags & ImGuiDragDropFlags_SourceExtern) ? " (EXTERN)" : ""); + ImGuiPayload& payload = g.DragDropPayload; + payload.SourceId = source_id; + payload.SourceParentId = source_parent_id; + g.DragDropActive = true; + g.DragDropSourceFlags = flags; + g.DragDropMouseButton = mouse_button; + if (payload.SourceId == g.ActiveId) + g.ActiveIdNoClearOnFocusLoss = true; + } + g.DragDropSourceFrameCount = g.FrameCount; + g.DragDropWithinSource = true; + + if (!(flags & ImGuiDragDropFlags_SourceNoPreviewTooltip)) + { + // Target can request the Source to not display its tooltip (we use a dedicated flag to make this request explicit) + // We unfortunately can't just modify the source flags and skip the call to BeginTooltip, as caller may be emitting contents. + bool ret; + if (g.DragDropAcceptIdPrev && (g.DragDropAcceptFlags & ImGuiDragDropFlags_AcceptNoPreviewTooltip)) + ret = BeginTooltipHidden(); + else + ret = BeginTooltip(); + IM_ASSERT(ret); // FIXME-NEWBEGIN: If this ever becomes false, we need to Begin("##Hidden", NULL, ImGuiWindowFlags_NoSavedSettings) + SetWindowHiddendAndSkipItemsForCurrentFrame(). + IM_UNUSED(ret); + } + + if (!(flags & ImGuiDragDropFlags_SourceNoDisableHover) && !(flags & ImGuiDragDropFlags_SourceExtern)) + g.LastItemData.StatusFlags &= ~ImGuiItemStatusFlags_HoveredRect; + + return true; +} + +void ImGui::EndDragDropSource() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.DragDropActive); + IM_ASSERT(g.DragDropWithinSource && "Not after a BeginDragDropSource()?"); + + if (!(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoPreviewTooltip)) + EndTooltip(); + + // Discard the drag if have not called SetDragDropPayload() + if (g.DragDropPayload.DataFrameCount == -1) + ClearDragDrop(); + g.DragDropWithinSource = false; +} + +// Use 'cond' to choose to submit payload on drag start or every frame +bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_size, ImGuiCond cond) +{ + ImGuiContext& g = *GImGui; + ImGuiPayload& payload = g.DragDropPayload; + if (cond == 0) + cond = ImGuiCond_Always; + + IM_ASSERT(type != NULL); + IM_ASSERT(strlen(type) < IM_ARRAYSIZE(payload.DataType) && "Payload type can be at most 32 characters long"); + IM_ASSERT((data != NULL && data_size > 0) || (data == NULL && data_size == 0)); + IM_ASSERT(cond == ImGuiCond_Always || cond == ImGuiCond_Once); + IM_ASSERT(payload.SourceId != 0); // Not called between BeginDragDropSource() and EndDragDropSource() + + if (cond == ImGuiCond_Always || payload.DataFrameCount == -1) + { + // Copy payload + ImStrncpy(payload.DataType, type, IM_ARRAYSIZE(payload.DataType)); + g.DragDropPayloadBufHeap.resize(0); + if (data_size > sizeof(g.DragDropPayloadBufLocal)) + { + // Store in heap + g.DragDropPayloadBufHeap.resize((int)data_size); + payload.Data = g.DragDropPayloadBufHeap.Data; + memcpy(payload.Data, data, data_size); + } + else if (data_size > 0) + { + // Store locally + memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); + payload.Data = g.DragDropPayloadBufLocal; + memcpy(payload.Data, data, data_size); + } + else + { + payload.Data = NULL; + } + payload.DataSize = (int)data_size; + } + payload.DataFrameCount = g.FrameCount; + + // Return whether the payload has been accepted + return (g.DragDropAcceptFrameCount == g.FrameCount) || (g.DragDropAcceptFrameCount == g.FrameCount - 1); +} + +bool ImGui::BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id) +{ + ImGuiContext& g = *GImGui; + if (!g.DragDropActive) + return false; + + ImGuiWindow* window = g.CurrentWindow; + ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWindow; + if (hovered_window == NULL || window->RootWindow != hovered_window->RootWindow) + return false; + IM_ASSERT(id != 0); + if (!IsMouseHoveringRect(bb.Min, bb.Max) || (id == g.DragDropPayload.SourceId)) + return false; + if (window->SkipItems) + return false; + + IM_ASSERT(g.DragDropWithinTarget == false && g.DragDropWithinSource == false); // Can't nest BeginDragDropSource() and BeginDragDropTarget() + g.DragDropTargetRect = bb; + g.DragDropTargetClipRect = window->ClipRect; // May want to be overridden by user depending on use case? + g.DragDropTargetId = id; + g.DragDropWithinTarget = true; + return true; +} + +// We don't use BeginDragDropTargetCustom() and duplicate its code because: +// 1) we use LastItemData's ImGuiItemStatusFlags_HoveredRect which handles items that push a temporarily clip rectangle in their code. Calling BeginDragDropTargetCustom(LastItemRect) would not handle them. +// 2) and it's faster. as this code may be very frequently called, we want to early out as fast as we can. +// Also note how the HoveredWindow test is positioned differently in both functions (in both functions we optimize for the cheapest early out case) +bool ImGui::BeginDragDropTarget() +{ + ImGuiContext& g = *GImGui; + if (!g.DragDropActive) + return false; + + ImGuiWindow* window = g.CurrentWindow; + if (!(g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredRect)) + return false; + ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWindow; + if (hovered_window == NULL || window->RootWindow != hovered_window->RootWindow || window->SkipItems) + return false; + + const ImRect& display_rect = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? g.LastItemData.DisplayRect : g.LastItemData.Rect; + ImGuiID id = g.LastItemData.ID; + if (id == 0) + { + id = window->GetIDFromRectangle(display_rect); + KeepAliveID(id); + } + if (g.DragDropPayload.SourceId == id) + return false; + + IM_ASSERT(g.DragDropWithinTarget == false && g.DragDropWithinSource == false); // Can't nest BeginDragDropSource() and BeginDragDropTarget() + g.DragDropTargetRect = display_rect; + g.DragDropTargetClipRect = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasClipRect) ? g.LastItemData.ClipRect : window->ClipRect; + g.DragDropTargetId = id; + g.DragDropWithinTarget = true; + return true; +} + +bool ImGui::IsDragDropPayloadBeingAccepted() +{ + ImGuiContext& g = *GImGui; + return g.DragDropActive && g.DragDropAcceptIdPrev != 0; +} + +const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiPayload& payload = g.DragDropPayload; + IM_ASSERT(g.DragDropActive); // Not called between BeginDragDropTarget() and EndDragDropTarget() ? + IM_ASSERT(payload.DataFrameCount != -1); // Forgot to call EndDragDropTarget() ? + if (type != NULL && !payload.IsDataType(type)) + return NULL; + + // Accept smallest drag target bounding box, this allows us to nest drag targets conveniently without ordering constraints. + // NB: We currently accept NULL id as target. However, overlapping targets requires a unique ID to function! + const bool was_accepted_previously = (g.DragDropAcceptIdPrev == g.DragDropTargetId); + ImRect r = g.DragDropTargetRect; + float r_surface = r.GetWidth() * r.GetHeight(); + if (r_surface > g.DragDropAcceptIdCurrRectSurface) + return NULL; + + g.DragDropAcceptFlags = flags; + g.DragDropAcceptIdCurr = g.DragDropTargetId; + g.DragDropAcceptIdCurrRectSurface = r_surface; + //IMGUI_DEBUG_LOG("AcceptDragDropPayload(): %08X: accept\n", g.DragDropTargetId); + + // Render default drop visuals + payload.Preview = was_accepted_previously; + flags |= (g.DragDropSourceFlags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect); // Source can also inhibit the preview (useful for external sources that live for 1 frame) + if (!(flags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect) && payload.Preview) + RenderDragDropTargetRect(r, g.DragDropTargetClipRect); + + g.DragDropAcceptFrameCount = g.FrameCount; + if ((g.DragDropSourceFlags & ImGuiDragDropFlags_SourceExtern) && g.DragDropMouseButton == -1) + payload.Delivery = was_accepted_previously && (g.DragDropSourceFrameCount < g.FrameCount); + else + payload.Delivery = was_accepted_previously && !IsMouseDown(g.DragDropMouseButton); // For extern drag sources affecting OS window focus, it's easier to just test !IsMouseDown() instead of IsMouseReleased() + if (!payload.Delivery && !(flags & ImGuiDragDropFlags_AcceptBeforeDelivery)) + return NULL; + + if (payload.Delivery) + IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] AcceptDragDropPayload(): 0x%08X: payload delivery\n", g.DragDropTargetId); + return &payload; +} + +// FIXME-STYLE FIXME-DRAGDROP: Settle on a proper default visuals for drop target. +void ImGui::RenderDragDropTargetRect(const ImRect& bb, const ImRect& item_clip_rect) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImRect bb_display = bb; + bb_display.ClipWith(item_clip_rect); // Clip THEN expand so we have a way to visualize that target is not entirely visible. + bb_display.Expand(3.5f); + bool push_clip_rect = !window->ClipRect.Contains(bb_display); + if (push_clip_rect) + window->DrawList->PushClipRectFullScreen(); + window->DrawList->AddRect(bb_display.Min, bb_display.Max, GetColorU32(ImGuiCol_DragDropTarget), 0.0f, 0, 2.0f); + if (push_clip_rect) + window->DrawList->PopClipRect(); +} + +const ImGuiPayload* ImGui::GetDragDropPayload() +{ + ImGuiContext& g = *GImGui; + return (g.DragDropActive && g.DragDropPayload.DataFrameCount != -1) ? &g.DragDropPayload : NULL; +} + +void ImGui::EndDragDropTarget() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.DragDropActive); + IM_ASSERT(g.DragDropWithinTarget); + g.DragDropWithinTarget = false; + + // Clear drag and drop state payload right after delivery + if (g.DragDropPayload.Delivery) + ClearDragDrop(); +} + +//----------------------------------------------------------------------------- +// [SECTION] LOGGING/CAPTURING +//----------------------------------------------------------------------------- +// All text output from the interface can be captured into tty/file/clipboard. +// By default, tree nodes are automatically opened during logging. +//----------------------------------------------------------------------------- + +// Pass text data straight to log (without being displayed) +static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args) +{ + if (g.LogFile) + { + g.LogBuffer.Buf.resize(0); + g.LogBuffer.appendfv(fmt, args); + ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile); + } + else + { + g.LogBuffer.appendfv(fmt, args); + } +} + +void ImGui::LogText(const char* fmt, ...) +{ + ImGuiContext& g = *GImGui; + if (!g.LogEnabled) + return; + + va_list args; + va_start(args, fmt); + LogTextV(g, fmt, args); + va_end(args); +} + +void ImGui::LogTextV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + if (!g.LogEnabled) + return; + + LogTextV(g, fmt, args); +} + +// Internal version that takes a position to decide on newline placement and pad items according to their depth. +// We split text into individual lines to add current tree level padding +// FIXME: This code is a little complicated perhaps, considering simplifying the whole system. +void ImGui::LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + const char* prefix = g.LogNextPrefix; + const char* suffix = g.LogNextSuffix; + g.LogNextPrefix = g.LogNextSuffix = NULL; + + if (!text_end) + text_end = FindRenderedTextEnd(text, text_end); + + const bool log_new_line = ref_pos && (ref_pos->y > g.LogLinePosY + g.Style.FramePadding.y + 1); + if (ref_pos) + g.LogLinePosY = ref_pos->y; + if (log_new_line) + { + LogText(IM_NEWLINE); + g.LogLineFirstItem = true; + } + + if (prefix) + LogRenderedText(ref_pos, prefix, prefix + strlen(prefix)); // Calculate end ourself to ensure "##" are included here. + + // Re-adjust padding if we have popped out of our starting depth + if (g.LogDepthRef > window->DC.TreeDepth) + g.LogDepthRef = window->DC.TreeDepth; + const int tree_depth = (window->DC.TreeDepth - g.LogDepthRef); + + const char* text_remaining = text; + for (;;) + { + // Split the string. Each new line (after a '\n') is followed by indentation corresponding to the current depth of our log entry. + // We don't add a trailing \n yet to allow a subsequent item on the same line to be captured. + const char* line_start = text_remaining; + const char* line_end = ImStreolRange(line_start, text_end); + const bool is_last_line = (line_end == text_end); + if (line_start != line_end || !is_last_line) + { + const int line_length = (int)(line_end - line_start); + const int indentation = g.LogLineFirstItem ? tree_depth * 4 : 1; + LogText("%*s%.*s", indentation, "", line_length, line_start); + g.LogLineFirstItem = false; + if (*line_end == '\n') + { + LogText(IM_NEWLINE); + g.LogLineFirstItem = true; + } + } + if (is_last_line) + break; + text_remaining = line_end + 1; + } + + if (suffix) + LogRenderedText(ref_pos, suffix, suffix + strlen(suffix)); +} + +// Start logging/capturing text output +void ImGui::LogBegin(ImGuiLogFlags flags, int auto_open_depth) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(g.LogEnabled == false); + IM_ASSERT(g.LogFile == NULL && g.LogBuffer.empty()); + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiLogFlags_OutputMask_)); // Check that only 1 type flag is used + + g.LogEnabled = g.ItemUnclipByLog = true; + g.LogFlags = flags; + g.LogWindow = window; + g.LogNextPrefix = g.LogNextSuffix = NULL; + g.LogDepthRef = window->DC.TreeDepth; + g.LogDepthToExpand = ((auto_open_depth >= 0) ? auto_open_depth : g.LogDepthToExpandDefault); + g.LogLinePosY = FLT_MAX; + g.LogLineFirstItem = true; +} + +// Important: doesn't copy underlying data, use carefully (prefix/suffix must be in scope at the time of the next LogRenderedText) +void ImGui::LogSetNextTextDecoration(const char* prefix, const char* suffix) +{ + ImGuiContext& g = *GImGui; + g.LogNextPrefix = prefix; + g.LogNextSuffix = suffix; +} + +void ImGui::LogToTTY(int auto_open_depth) +{ + ImGuiContext& g = *GImGui; + if (g.LogEnabled) + return; + IM_UNUSED(auto_open_depth); +#ifndef IMGUI_DISABLE_TTY_FUNCTIONS + LogBegin(ImGuiLogFlags_OutputTTY, auto_open_depth); + g.LogFile = stdout; +#endif +} + +// Start logging/capturing text output to given file +void ImGui::LogToFile(int auto_open_depth, const char* filename) +{ + ImGuiContext& g = *GImGui; + if (g.LogEnabled) + return; + + // FIXME: We could probably open the file in text mode "at", however note that clipboard/buffer logging will still + // be subject to outputting OS-incompatible carriage return if within strings the user doesn't use IM_NEWLINE. + // By opening the file in binary mode "ab" we have consistent output everywhere. + if (!filename) + filename = g.IO.LogFilename; + if (!filename || !filename[0]) + return; + ImFileHandle f = ImFileOpen(filename, "ab"); + if (!f) + { + IM_ASSERT(0); + return; + } + + LogBegin(ImGuiLogFlags_OutputFile, auto_open_depth); + g.LogFile = f; +} + +// Start logging/capturing text output to clipboard +void ImGui::LogToClipboard(int auto_open_depth) +{ + ImGuiContext& g = *GImGui; + if (g.LogEnabled) + return; + LogBegin(ImGuiLogFlags_OutputClipboard, auto_open_depth); +} + +void ImGui::LogToBuffer(int auto_open_depth) +{ + ImGuiContext& g = *GImGui; + if (g.LogEnabled) + return; + LogBegin(ImGuiLogFlags_OutputBuffer, auto_open_depth); +} + +void ImGui::LogFinish() +{ + ImGuiContext& g = *GImGui; + if (!g.LogEnabled) + return; + + LogText(IM_NEWLINE); + switch (g.LogFlags & ImGuiLogFlags_OutputMask_) + { + case ImGuiLogFlags_OutputTTY: +#ifndef IMGUI_DISABLE_TTY_FUNCTIONS + fflush(g.LogFile); +#endif + break; + case ImGuiLogFlags_OutputFile: + ImFileClose(g.LogFile); + break; + case ImGuiLogFlags_OutputBuffer: + break; + case ImGuiLogFlags_OutputClipboard: + if (!g.LogBuffer.empty()) + SetClipboardText(g.LogBuffer.begin()); + break; + default: + IM_ASSERT(0); + break; + } + + g.LogEnabled = g.ItemUnclipByLog = false; + g.LogFlags = ImGuiLogFlags_None; + g.LogFile = NULL; + g.LogBuffer.clear(); +} + +// Helper to display logging buttons +// FIXME-OBSOLETE: We should probably obsolete this and let the user have their own helper (this is one of the oldest function alive!) +void ImGui::LogButtons() +{ + ImGuiContext& g = *GImGui; + + PushID("LogButtons"); +#ifndef IMGUI_DISABLE_TTY_FUNCTIONS + const bool log_to_tty = Button("Log To TTY"); SameLine(); +#else + const bool log_to_tty = false; +#endif + const bool log_to_file = Button("Log To File"); SameLine(); + const bool log_to_clipboard = Button("Log To Clipboard"); SameLine(); + PushItemFlag(ImGuiItemFlags_NoTabStop, true); + SetNextItemWidth(80.0f); + SliderInt("Default Depth", &g.LogDepthToExpandDefault, 0, 9, NULL); + PopItemFlag(); + PopID(); + + // Start logging at the end of the function so that the buttons don't appear in the log + if (log_to_tty) + LogToTTY(); + if (log_to_file) + LogToFile(); + if (log_to_clipboard) + LogToClipboard(); +} + +//----------------------------------------------------------------------------- +// [SECTION] SETTINGS +//----------------------------------------------------------------------------- +// - UpdateSettings() [Internal] +// - MarkIniSettingsDirty() [Internal] +// - FindSettingsHandler() [Internal] +// - ClearIniSettings() [Internal] +// - LoadIniSettingsFromDisk() +// - LoadIniSettingsFromMemory() +// - SaveIniSettingsToDisk() +// - SaveIniSettingsToMemory() +//----------------------------------------------------------------------------- +// - CreateNewWindowSettings() [Internal] +// - FindWindowSettingsByID() [Internal] +// - FindWindowSettingsByWindow() [Internal] +// - ClearWindowSettings() [Internal] +// - WindowSettingsHandler_***() [Internal] +//----------------------------------------------------------------------------- + +// Called by NewFrame() +void ImGui::UpdateSettings() +{ + // Load settings on first frame (if not explicitly loaded manually before) + ImGuiContext& g = *GImGui; + if (!g.SettingsLoaded) + { + IM_ASSERT(g.SettingsWindows.empty()); + if (g.IO.IniFilename) + LoadIniSettingsFromDisk(g.IO.IniFilename); + g.SettingsLoaded = true; + } + + // Save settings (with a delay after the last modification, so we don't spam disk too much) + if (g.SettingsDirtyTimer > 0.0f) + { + g.SettingsDirtyTimer -= g.IO.DeltaTime; + if (g.SettingsDirtyTimer <= 0.0f) + { + if (g.IO.IniFilename != NULL) + SaveIniSettingsToDisk(g.IO.IniFilename); + else + g.IO.WantSaveIniSettings = true; // Let user know they can call SaveIniSettingsToMemory(). user will need to clear io.WantSaveIniSettings themselves. + g.SettingsDirtyTimer = 0.0f; + } + } +} + +void ImGui::MarkIniSettingsDirty() +{ + ImGuiContext& g = *GImGui; + if (g.SettingsDirtyTimer <= 0.0f) + g.SettingsDirtyTimer = g.IO.IniSavingRate; +} + +void ImGui::MarkIniSettingsDirty(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (!(window->Flags & ImGuiWindowFlags_NoSavedSettings)) + if (g.SettingsDirtyTimer <= 0.0f) + g.SettingsDirtyTimer = g.IO.IniSavingRate; +} + +void ImGui::AddSettingsHandler(const ImGuiSettingsHandler* handler) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(FindSettingsHandler(handler->TypeName) == NULL); + g.SettingsHandlers.push_back(*handler); +} + +void ImGui::RemoveSettingsHandler(const char* type_name) +{ + ImGuiContext& g = *GImGui; + if (ImGuiSettingsHandler* handler = FindSettingsHandler(type_name)) + g.SettingsHandlers.erase(handler); +} + +ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name) +{ + ImGuiContext& g = *GImGui; + const ImGuiID type_hash = ImHashStr(type_name); + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + if (handler.TypeHash == type_hash) + return &handler; + return NULL; +} + +// Clear all settings (windows, tables, docking etc.) +void ImGui::ClearIniSettings() +{ + ImGuiContext& g = *GImGui; + g.SettingsIniData.clear(); + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + if (handler.ClearAllFn != NULL) + handler.ClearAllFn(&g, &handler); +} + +void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) +{ + size_t file_data_size = 0; + char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size); + if (!file_data) + return; + if (file_data_size > 0) + LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); + IM_FREE(file_data); +} + +// Zero-tolerance, no error reporting, cheap .ini parsing +// Set ini_size==0 to let us use strlen(ini_data). Do not call this function with a 0 if your buffer is actually empty! +void ImGui::LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.Initialized); + //IM_ASSERT(!g.WithinFrameScope && "Cannot be called between NewFrame() and EndFrame()"); + //IM_ASSERT(g.SettingsLoaded == false && g.FrameCount == 0); + + // For user convenience, we allow passing a non zero-terminated string (hence the ini_size parameter). + // For our convenience and to make the code simpler, we'll also write zero-terminators within the buffer. So let's create a writable copy.. + if (ini_size == 0) + ini_size = strlen(ini_data); + g.SettingsIniData.Buf.resize((int)ini_size + 1); + char* const buf = g.SettingsIniData.Buf.Data; + char* const buf_end = buf + ini_size; + memcpy(buf, ini_data, ini_size); + buf_end[0] = 0; + + // Call pre-read handlers + // Some types will clear their data (e.g. dock information) some types will allow merge/override (window) + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + if (handler.ReadInitFn != NULL) + handler.ReadInitFn(&g, &handler); + + void* entry_data = NULL; + ImGuiSettingsHandler* entry_handler = NULL; + + char* line_end = NULL; + for (char* line = buf; line < buf_end; line = line_end + 1) + { + // Skip new lines markers, then find end of the line + while (*line == '\n' || *line == '\r') + line++; + line_end = line; + while (line_end < buf_end && *line_end != '\n' && *line_end != '\r') + line_end++; + line_end[0] = 0; + if (line[0] == ';') + continue; + if (line[0] == '[' && line_end > line && line_end[-1] == ']') + { + // Parse "[Type][Name]". Note that 'Name' can itself contains [] characters, which is acceptable with the current format and parsing code. + line_end[-1] = 0; + const char* name_end = line_end - 1; + const char* type_start = line + 1; + char* type_end = (char*)(void*)ImStrchrRange(type_start, name_end, ']'); + const char* name_start = type_end ? ImStrchrRange(type_end + 1, name_end, '[') : NULL; + if (!type_end || !name_start) + continue; + *type_end = 0; // Overwrite first ']' + name_start++; // Skip second '[' + entry_handler = FindSettingsHandler(type_start); + entry_data = entry_handler ? entry_handler->ReadOpenFn(&g, entry_handler, name_start) : NULL; + } + else if (entry_handler != NULL && entry_data != NULL) + { + // Let type handler parse the line + entry_handler->ReadLineFn(&g, entry_handler, entry_data, line); + } + } + g.SettingsLoaded = true; + + // [DEBUG] Restore untouched copy so it can be browsed in Metrics (not strictly necessary) + memcpy(buf, ini_data, ini_size); + + // Call post-read handlers + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + if (handler.ApplyAllFn != NULL) + handler.ApplyAllFn(&g, &handler); +} + +void ImGui::SaveIniSettingsToDisk(const char* ini_filename) +{ + ImGuiContext& g = *GImGui; + g.SettingsDirtyTimer = 0.0f; + if (!ini_filename) + return; + + size_t ini_data_size = 0; + const char* ini_data = SaveIniSettingsToMemory(&ini_data_size); + ImFileHandle f = ImFileOpen(ini_filename, "wt"); + if (!f) + return; + ImFileWrite(ini_data, sizeof(char), ini_data_size, f); + ImFileClose(f); +} + +// Call registered handlers (e.g. SettingsHandlerWindow_WriteAll() + custom handlers) to write their stuff into a text buffer +const char* ImGui::SaveIniSettingsToMemory(size_t* out_size) +{ + ImGuiContext& g = *GImGui; + g.SettingsDirtyTimer = 0.0f; + g.SettingsIniData.Buf.resize(0); + g.SettingsIniData.Buf.push_back(0); + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + handler.WriteAllFn(&g, &handler, &g.SettingsIniData); + if (out_size) + *out_size = (size_t)g.SettingsIniData.size(); + return g.SettingsIniData.c_str(); +} + +ImGuiWindowSettings* ImGui::CreateNewWindowSettings(const char* name) +{ + ImGuiContext& g = *GImGui; + + if (g.IO.ConfigDebugIniSettings == false) + { + // Skip to the "###" marker if any. We don't skip past to match the behavior of GetID() + // Preserve the full string when ConfigDebugVerboseIniSettings is set to make .ini inspection easier. + if (const char* p = strstr(name, "###")) + name = p; + } + const size_t name_len = strlen(name); + + // Allocate chunk + const size_t chunk_size = sizeof(ImGuiWindowSettings) + name_len + 1; + ImGuiWindowSettings* settings = g.SettingsWindows.alloc_chunk(chunk_size); + IM_PLACEMENT_NEW(settings) ImGuiWindowSettings(); + settings->ID = ImHashStr(name, name_len); + memcpy(settings->GetName(), name, name_len + 1); // Store with zero terminator + + return settings; +} + +// We don't provide a FindWindowSettingsByName() because Docking system doesn't always hold on names. +// This is called once per window .ini entry + once per newly instantiated window. +ImGuiWindowSettings* ImGui::FindWindowSettingsByID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) + if (settings->ID == id && !settings->WantDelete) + return settings; + return NULL; +} + +// This is faster if you are holding on a Window already as we don't need to perform a search. +ImGuiWindowSettings* ImGui::FindWindowSettingsByWindow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (window->SettingsOffset != -1) + return g.SettingsWindows.ptr_from_offset(window->SettingsOffset); + return FindWindowSettingsByID(window->ID); +} + +// This will revert window to its initial state, including enabling the ImGuiCond_FirstUseEver/ImGuiCond_Once conditions once more. +void ImGui::ClearWindowSettings(const char* name) +{ + //IMGUI_DEBUG_LOG("ClearWindowSettings('%s')\n", name); + ImGuiWindow* window = FindWindowByName(name); + if (window != NULL) + { + window->Flags |= ImGuiWindowFlags_NoSavedSettings; + InitOrLoadWindowSettings(window, NULL); + } + if (ImGuiWindowSettings* settings = window ? FindWindowSettingsByWindow(window) : FindWindowSettingsByID(ImHashStr(name))) + settings->WantDelete = true; +} + +static void WindowSettingsHandler_ClearAll(ImGuiContext* ctx, ImGuiSettingsHandler*) +{ + ImGuiContext& g = *ctx; + for (ImGuiWindow* window : g.Windows) + window->SettingsOffset = -1; + g.SettingsWindows.clear(); +} + +static void* WindowSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name) +{ + ImGuiID id = ImHashStr(name); + ImGuiWindowSettings* settings = ImGui::FindWindowSettingsByID(id); + if (settings) + *settings = ImGuiWindowSettings(); // Clear existing if recycling previous entry + else + settings = ImGui::CreateNewWindowSettings(name); + settings->ID = id; + settings->WantApply = true; + return (void*)settings; +} + +static void WindowSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line) +{ + ImGuiWindowSettings* settings = (ImGuiWindowSettings*)entry; + int x, y; + int i; + if (sscanf(line, "Pos=%i,%i", &x, &y) == 2) { settings->Pos = ImVec2ih((short)x, (short)y); } + else if (sscanf(line, "Size=%i,%i", &x, &y) == 2) { settings->Size = ImVec2ih((short)x, (short)y); } + else if (sscanf(line, "Collapsed=%d", &i) == 1) { settings->Collapsed = (i != 0); } + else if (sscanf(line, "IsChild=%d", &i) == 1) { settings->IsChild = (i != 0); } +} + +// Apply to existing windows (if any) +static void WindowSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*) +{ + ImGuiContext& g = *ctx; + for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) + if (settings->WantApply) + { + if (ImGuiWindow* window = ImGui::FindWindowByID(settings->ID)) + ApplyWindowSettings(window, settings); + settings->WantApply = false; + } +} + +static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf) +{ + // Gather data from windows that were active during this session + // (if a window wasn't opened in this session we preserve its settings) + ImGuiContext& g = *ctx; + for (ImGuiWindow* window : g.Windows) + { + if (window->Flags & ImGuiWindowFlags_NoSavedSettings) + continue; + + ImGuiWindowSettings* settings = ImGui::FindWindowSettingsByWindow(window); + if (!settings) + { + settings = ImGui::CreateNewWindowSettings(window->Name); + window->SettingsOffset = g.SettingsWindows.offset_from_ptr(settings); + } + IM_ASSERT(settings->ID == window->ID); + settings->Pos = ImVec2ih(window->Pos); + settings->Size = ImVec2ih(window->SizeFull); + settings->IsChild = (window->Flags & ImGuiWindowFlags_ChildWindow) != 0; + settings->Collapsed = window->Collapsed; + settings->WantDelete = false; + } + + // Write to text buffer + buf->reserve(buf->size() + g.SettingsWindows.size() * 6); // ballpark reserve + for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) + { + if (settings->WantDelete) + continue; + const char* settings_name = settings->GetName(); + buf->appendf("[%s][%s]\n", handler->TypeName, settings_name); + if (settings->IsChild) + { + buf->appendf("IsChild=1\n"); + buf->appendf("Size=%d,%d\n", settings->Size.x, settings->Size.y); + } + else + { + buf->appendf("Pos=%d,%d\n", settings->Pos.x, settings->Pos.y); + buf->appendf("Size=%d,%d\n", settings->Size.x, settings->Size.y); + if (settings->Collapsed) + buf->appendf("Collapsed=1\n"); + } + buf->append("\n"); + } +} + +//----------------------------------------------------------------------------- +// [SECTION] LOCALIZATION +//----------------------------------------------------------------------------- + +void ImGui::LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count) +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < count; n++) + g.LocalizationTable[entries[n].Key] = entries[n].Text; +} + +//----------------------------------------------------------------------------- +// [SECTION] VIEWPORTS, PLATFORM WINDOWS +//----------------------------------------------------------------------------- +// - GetMainViewport() +// - SetWindowViewport() [Internal] +// - ScaleWindowsInViewport() [Internal] +// - UpdateViewportsNewFrame() [Internal] +// (this section is more complete in the 'docking' branch) +//----------------------------------------------------------------------------- + +ImGuiViewport* ImGui::GetMainViewport() +{ + ImGuiContext& g = *GImGui; + return g.Viewports[0]; +} + +void ImGui::SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport) +{ + window->Viewport = viewport; +} + +static void ScaleWindow(ImGuiWindow* window, float scale) +{ + ImVec2 origin = window->Viewport->Pos; + window->Pos = ImFloor((window->Pos - origin) * scale + origin); + window->Size = ImTrunc(window->Size * scale); + window->SizeFull = ImTrunc(window->SizeFull * scale); + window->ContentSize = ImTrunc(window->ContentSize * scale); +} + +// Scale all windows (position, size). Use when e.g. changing DPI. (This is a lossy operation!) +void ImGui::ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale) +{ + ImGuiContext& g = *GImGui; + for (ImGuiWindow* window : g.Windows) + if (window->Viewport == viewport) + ScaleWindow(window, scale); +} + +// Update viewports and monitor infos +static void ImGui::UpdateViewportsNewFrame() +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.Viewports.Size == 1); + + // Update main viewport with current platform position. + // FIXME-VIEWPORT: Size is driven by backend/user code for backward-compatibility but we should aim to make this more consistent. + ImGuiViewportP* main_viewport = g.Viewports[0]; + main_viewport->Flags = ImGuiViewportFlags_IsPlatformWindow | ImGuiViewportFlags_OwnedByApp; + main_viewport->Pos = ImVec2(0.0f, 0.0f); + main_viewport->Size = g.IO.DisplaySize; + + for (ImGuiViewportP* viewport : g.Viewports) + { + // Lock down space taken by menu bars and status bars + // Setup initial value for functions like BeginMainMenuBar(), DockSpaceOverViewport() etc. + viewport->WorkInsetMin = viewport->BuildWorkInsetMin; + viewport->WorkInsetMax = viewport->BuildWorkInsetMax; + viewport->BuildWorkInsetMin = viewport->BuildWorkInsetMax = ImVec2(0.0f, 0.0f); + viewport->UpdateWorkRect(); + } +} + +//----------------------------------------------------------------------------- +// [SECTION] DOCKING +//----------------------------------------------------------------------------- + +// (this section is filled in the 'docking' branch) + + +//----------------------------------------------------------------------------- +// [SECTION] PLATFORM DEPENDENT HELPERS +//----------------------------------------------------------------------------- +// - Default clipboard handlers +// - Default shell function handlers +// - Default IME handlers +//----------------------------------------------------------------------------- + +#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS) + +#ifdef _MSC_VER +#pragma comment(lib, "user32") +#pragma comment(lib, "kernel32") +#endif + +// Win32 clipboard implementation +// We use g.ClipboardHandlerData for temporary storage to ensure it is freed on Shutdown() +static const char* Platform_GetClipboardTextFn_DefaultImpl(ImGuiContext* ctx) +{ + ImGuiContext& g = *ctx; + g.ClipboardHandlerData.clear(); + if (!::OpenClipboard(NULL)) + return NULL; + HANDLE wbuf_handle = ::GetClipboardData(CF_UNICODETEXT); + if (wbuf_handle == NULL) + { + ::CloseClipboard(); + return NULL; + } + if (const WCHAR* wbuf_global = (const WCHAR*)::GlobalLock(wbuf_handle)) + { + int buf_len = ::WideCharToMultiByte(CP_UTF8, 0, wbuf_global, -1, NULL, 0, NULL, NULL); + g.ClipboardHandlerData.resize(buf_len); + ::WideCharToMultiByte(CP_UTF8, 0, wbuf_global, -1, g.ClipboardHandlerData.Data, buf_len, NULL, NULL); + } + ::GlobalUnlock(wbuf_handle); + ::CloseClipboard(); + return g.ClipboardHandlerData.Data; +} + +static void Platform_SetClipboardTextFn_DefaultImpl(ImGuiContext*, const char* text) +{ + if (!::OpenClipboard(NULL)) + return; + const int wbuf_length = ::MultiByteToWideChar(CP_UTF8, 0, text, -1, NULL, 0); + HGLOBAL wbuf_handle = ::GlobalAlloc(GMEM_MOVEABLE, (SIZE_T)wbuf_length * sizeof(WCHAR)); + if (wbuf_handle == NULL) + { + ::CloseClipboard(); + return; + } + WCHAR* wbuf_global = (WCHAR*)::GlobalLock(wbuf_handle); + ::MultiByteToWideChar(CP_UTF8, 0, text, -1, wbuf_global, wbuf_length); + ::GlobalUnlock(wbuf_handle); + ::EmptyClipboard(); + if (::SetClipboardData(CF_UNICODETEXT, wbuf_handle) == NULL) + ::GlobalFree(wbuf_handle); + ::CloseClipboard(); +} + +#elif defined(__APPLE__) && TARGET_OS_OSX && defined(IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS) + +#include // Use old API to avoid need for separate .mm file +static PasteboardRef main_clipboard = 0; + +// OSX clipboard implementation +// If you enable this you will need to add '-framework ApplicationServices' to your linker command-line! +static void Platform_SetClipboardTextFn_DefaultImpl(ImGuiContext*, const char* text) +{ + if (!main_clipboard) + PasteboardCreate(kPasteboardClipboard, &main_clipboard); + PasteboardClear(main_clipboard); + CFDataRef cf_data = CFDataCreate(kCFAllocatorDefault, (const UInt8*)text, strlen(text)); + if (cf_data) + { + PasteboardPutItemFlavor(main_clipboard, (PasteboardItemID)1, CFSTR("public.utf8-plain-text"), cf_data, 0); + CFRelease(cf_data); + } +} + +static const char* Platform_GetClipboardTextFn_DefaultImpl(ImGuiContext* ctx) +{ + ImGuiContext& g = *ctx; + if (!main_clipboard) + PasteboardCreate(kPasteboardClipboard, &main_clipboard); + PasteboardSynchronize(main_clipboard); + + ItemCount item_count = 0; + PasteboardGetItemCount(main_clipboard, &item_count); + for (ItemCount i = 0; i < item_count; i++) + { + PasteboardItemID item_id = 0; + PasteboardGetItemIdentifier(main_clipboard, i + 1, &item_id); + CFArrayRef flavor_type_array = 0; + PasteboardCopyItemFlavors(main_clipboard, item_id, &flavor_type_array); + for (CFIndex j = 0, nj = CFArrayGetCount(flavor_type_array); j < nj; j++) + { + CFDataRef cf_data; + if (PasteboardCopyItemFlavorData(main_clipboard, item_id, CFSTR("public.utf8-plain-text"), &cf_data) == noErr) + { + g.ClipboardHandlerData.clear(); + int length = (int)CFDataGetLength(cf_data); + g.ClipboardHandlerData.resize(length + 1); + CFDataGetBytes(cf_data, CFRangeMake(0, length), (UInt8*)g.ClipboardHandlerData.Data); + g.ClipboardHandlerData[length] = 0; + CFRelease(cf_data); + return g.ClipboardHandlerData.Data; + } + } + } + return NULL; +} + +#else + +// Local Dear ImGui-only clipboard implementation, if user hasn't defined better clipboard handlers. +static const char* Platform_GetClipboardTextFn_DefaultImpl(ImGuiContext* ctx) +{ + ImGuiContext& g = *ctx; + return g.ClipboardHandlerData.empty() ? NULL : g.ClipboardHandlerData.begin(); +} + +static void Platform_SetClipboardTextFn_DefaultImpl(ImGuiContext* ctx, const char* text) +{ + ImGuiContext& g = *ctx; + g.ClipboardHandlerData.clear(); + const char* text_end = text + strlen(text); + g.ClipboardHandlerData.resize((int)(text_end - text) + 1); + memcpy(&g.ClipboardHandlerData[0], text, (size_t)(text_end - text)); + g.ClipboardHandlerData[(int)(text_end - text)] = 0; +} + +#endif // Default clipboard handlers + +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#if defined(__APPLE__) && TARGET_OS_IPHONE +#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#endif + +#if defined(_WIN32) && defined(IMGUI_DISABLE_WIN32_FUNCTIONS) +#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#endif +#endif + +#ifndef IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#ifdef _WIN32 +#include // ShellExecuteA() +#ifdef _MSC_VER +#pragma comment(lib, "shell32") +#endif +static bool Platform_OpenInShellFn_DefaultImpl(ImGuiContext*, const char* path) +{ + const int path_wsize = ::MultiByteToWideChar(CP_UTF8, 0, path, -1, NULL, 0); + ImVector path_wbuf; + path_wbuf.resize(path_wsize); + ::MultiByteToWideChar(CP_UTF8, 0, path, -1, path_wbuf.Data, path_wsize); + return (INT_PTR)::ShellExecuteW(NULL, L"open", path_wbuf.Data, NULL, NULL, SW_SHOWDEFAULT) > 32; +} +#else +#include +#include +static bool Platform_OpenInShellFn_DefaultImpl(ImGuiContext*, const char* path) +{ +#if defined(__APPLE__) + const char* args[] { "open", "--", path, NULL }; +#else + const char* args[] { "xdg-open", path, NULL }; +#endif + pid_t pid = fork(); + if (pid < 0) + return false; + if (!pid) + { + execvp(args[0], const_cast(args)); + exit(-1); + } + else + { + int status; + waitpid(pid, &status, 0); + return WEXITSTATUS(status) == 0; + } +} +#endif +#else +static bool Platform_OpenInShellFn_DefaultImpl(ImGuiContext*, const char*) { return false; } +#endif // Default shell handlers + +//----------------------------------------------------------------------------- + +// Win32 API IME support (for Asian languages, etc.) +#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS) + +#include +#ifdef _MSC_VER +#pragma comment(lib, "imm32") +#endif + +static void Platform_SetImeDataFn_DefaultImpl(ImGuiContext*, ImGuiViewport* viewport, ImGuiPlatformImeData* data) +{ + // Notify OS Input Method Editor of text input position + HWND hwnd = (HWND)viewport->PlatformHandleRaw; + if (hwnd == 0) + return; + + //::ImmAssociateContextEx(hwnd, NULL, data->WantVisible ? IACE_DEFAULT : 0); + if (HIMC himc = ::ImmGetContext(hwnd)) + { + COMPOSITIONFORM composition_form = {}; + composition_form.ptCurrentPos.x = (LONG)data->InputPos.x; + composition_form.ptCurrentPos.y = (LONG)data->InputPos.y; + composition_form.dwStyle = CFS_FORCE_POSITION; + ::ImmSetCompositionWindow(himc, &composition_form); + CANDIDATEFORM candidate_form = {}; + candidate_form.dwStyle = CFS_CANDIDATEPOS; + candidate_form.ptCurrentPos.x = (LONG)data->InputPos.x; + candidate_form.ptCurrentPos.y = (LONG)data->InputPos.y; + ::ImmSetCandidateWindow(himc, &candidate_form); + ::ImmReleaseContext(hwnd, himc); + } +} + +#else + +static void Platform_SetImeDataFn_DefaultImpl(ImGuiContext*, ImGuiViewport*, ImGuiPlatformImeData*) {} + +#endif // Default IME handlers + +//----------------------------------------------------------------------------- +// [SECTION] METRICS/DEBUGGER WINDOW +//----------------------------------------------------------------------------- +// - DebugRenderViewportThumbnail() [Internal] +// - RenderViewportsThumbnails() [Internal] +// - DebugTextEncoding() +// - MetricsHelpMarker() [Internal] +// - ShowFontAtlas() [Internal] +// - ShowMetricsWindow() +// - DebugNodeColumns() [Internal] +// - DebugNodeDrawList() [Internal] +// - DebugNodeDrawCmdShowMeshAndBoundingBox() [Internal] +// - DebugNodeFont() [Internal] +// - DebugNodeFontGlyph() [Internal] +// - DebugNodeStorage() [Internal] +// - DebugNodeTabBar() [Internal] +// - DebugNodeViewport() [Internal] +// - DebugNodeWindow() [Internal] +// - DebugNodeWindowSettings() [Internal] +// - DebugNodeWindowsList() [Internal] +// - DebugNodeWindowsListByBeginStackParent() [Internal] +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + +void ImGui::DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + ImVec2 scale = bb.GetSize() / viewport->Size; + ImVec2 off = bb.Min - viewport->Pos * scale; + float alpha_mul = 1.0f; + window->DrawList->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_Border, alpha_mul * 0.40f)); + for (ImGuiWindow* thumb_window : g.Windows) + { + if (!thumb_window->WasActive || (thumb_window->Flags & ImGuiWindowFlags_ChildWindow)) + continue; + + ImRect thumb_r = thumb_window->Rect(); + ImRect title_r = thumb_window->TitleBarRect(); + thumb_r = ImRect(ImTrunc(off + thumb_r.Min * scale), ImTrunc(off + thumb_r.Max * scale)); + title_r = ImRect(ImTrunc(off + title_r.Min * scale), ImTrunc(off + ImVec2(title_r.Max.x, title_r.Min.y + title_r.GetHeight() * 3.0f) * scale)); // Exaggerate title bar height + thumb_r.ClipWithFull(bb); + title_r.ClipWithFull(bb); + const bool window_is_focused = (g.NavWindow && thumb_window->RootWindowForTitleBarHighlight == g.NavWindow->RootWindowForTitleBarHighlight); + window->DrawList->AddRectFilled(thumb_r.Min, thumb_r.Max, GetColorU32(ImGuiCol_WindowBg, alpha_mul)); + window->DrawList->AddRectFilled(title_r.Min, title_r.Max, GetColorU32(window_is_focused ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBg, alpha_mul)); + window->DrawList->AddRect(thumb_r.Min, thumb_r.Max, GetColorU32(ImGuiCol_Border, alpha_mul)); + window->DrawList->AddText(g.Font, g.FontSize * 1.0f, title_r.Min, GetColorU32(ImGuiCol_Text, alpha_mul), thumb_window->Name, FindRenderedTextEnd(thumb_window->Name)); + } + draw_list->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_Border, alpha_mul)); + if (viewport->ID == g.DebugMetricsConfig.HighlightViewportID) + window->DrawList->AddRect(bb.Min, bb.Max, IM_COL32(255, 255, 0, 255)); +} + +static void RenderViewportsThumbnails() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + float SCALE = 1.0f / 8.0f; + ImRect bb_full(g.Viewports[0]->Pos, g.Viewports[0]->Pos + g.Viewports[0]->Size); + ImVec2 p = window->DC.CursorPos; + ImVec2 off = p - bb_full.Min * SCALE; + + // Draw viewports + for (ImGuiViewportP* viewport : g.Viewports) + { + ImRect viewport_draw_bb(off + (viewport->Pos) * SCALE, off + (viewport->Pos + viewport->Size) * SCALE); + ImGui::DebugRenderViewportThumbnail(window->DrawList, viewport, viewport_draw_bb); + } + ImGui::Dummy(bb_full.GetSize() * SCALE); +} + +// Draw an arbitrary US keyboard layout to visualize translated keys +void ImGui::DebugRenderKeyboardPreview(ImDrawList* draw_list) +{ + const float scale = ImGui::GetFontSize() / 13.0f; + const ImVec2 key_size = ImVec2(35.0f, 35.0f) * scale; + const float key_rounding = 3.0f * scale; + const ImVec2 key_face_size = ImVec2(25.0f, 25.0f) * scale; + const ImVec2 key_face_pos = ImVec2(5.0f, 3.0f) * scale; + const float key_face_rounding = 2.0f * scale; + const ImVec2 key_label_pos = ImVec2(7.0f, 4.0f) * scale; + const ImVec2 key_step = ImVec2(key_size.x - 1.0f, key_size.y - 1.0f); + const float key_row_offset = 9.0f * scale; + + ImVec2 board_min = GetCursorScreenPos(); + ImVec2 board_max = ImVec2(board_min.x + 3 * key_step.x + 2 * key_row_offset + 10.0f, board_min.y + 3 * key_step.y + 10.0f); + ImVec2 start_pos = ImVec2(board_min.x + 5.0f - key_step.x, board_min.y); + + struct KeyLayoutData { int Row, Col; const char* Label; ImGuiKey Key; }; + const KeyLayoutData keys_to_display[] = + { + { 0, 0, "", ImGuiKey_Tab }, { 0, 1, "Q", ImGuiKey_Q }, { 0, 2, "W", ImGuiKey_W }, { 0, 3, "E", ImGuiKey_E }, { 0, 4, "R", ImGuiKey_R }, + { 1, 0, "", ImGuiKey_CapsLock }, { 1, 1, "A", ImGuiKey_A }, { 1, 2, "S", ImGuiKey_S }, { 1, 3, "D", ImGuiKey_D }, { 1, 4, "F", ImGuiKey_F }, + { 2, 0, "", ImGuiKey_LeftShift },{ 2, 1, "Z", ImGuiKey_Z }, { 2, 2, "X", ImGuiKey_X }, { 2, 3, "C", ImGuiKey_C }, { 2, 4, "V", ImGuiKey_V } + }; + + // Elements rendered manually via ImDrawList API are not clipped automatically. + // While not strictly necessary, here IsItemVisible() is used to avoid rendering these shapes when they are out of view. + Dummy(board_max - board_min); + if (!IsItemVisible()) + return; + draw_list->PushClipRect(board_min, board_max, true); + for (int n = 0; n < IM_ARRAYSIZE(keys_to_display); n++) + { + const KeyLayoutData* key_data = &keys_to_display[n]; + ImVec2 key_min = ImVec2(start_pos.x + key_data->Col * key_step.x + key_data->Row * key_row_offset, start_pos.y + key_data->Row * key_step.y); + ImVec2 key_max = key_min + key_size; + draw_list->AddRectFilled(key_min, key_max, IM_COL32(204, 204, 204, 255), key_rounding); + draw_list->AddRect(key_min, key_max, IM_COL32(24, 24, 24, 255), key_rounding); + ImVec2 face_min = ImVec2(key_min.x + key_face_pos.x, key_min.y + key_face_pos.y); + ImVec2 face_max = ImVec2(face_min.x + key_face_size.x, face_min.y + key_face_size.y); + draw_list->AddRect(face_min, face_max, IM_COL32(193, 193, 193, 255), key_face_rounding, ImDrawFlags_None, 2.0f); + draw_list->AddRectFilled(face_min, face_max, IM_COL32(252, 252, 252, 255), key_face_rounding); + ImVec2 label_min = ImVec2(key_min.x + key_label_pos.x, key_min.y + key_label_pos.y); + draw_list->AddText(label_min, IM_COL32(64, 64, 64, 255), key_data->Label); + if (IsKeyDown(key_data->Key)) + draw_list->AddRectFilled(key_min, key_max, IM_COL32(255, 0, 0, 128), key_rounding); + } + draw_list->PopClipRect(); +} + +// Helper tool to diagnose between text encoding issues and font loading issues. Pass your UTF-8 string and verify that there are correct. +void ImGui::DebugTextEncoding(const char* str) +{ + Text("Text: \"%s\"", str); + if (!BeginTable("##DebugTextEncoding", 4, ImGuiTableFlags_Borders | ImGuiTableFlags_RowBg | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_Resizable)) + return; + TableSetupColumn("Offset"); + TableSetupColumn("UTF-8"); + TableSetupColumn("Glyph"); + TableSetupColumn("Codepoint"); + TableHeadersRow(); + for (const char* p = str; *p != 0; ) + { + unsigned int c; + const int c_utf8_len = ImTextCharFromUtf8(&c, p, NULL); + TableNextColumn(); + Text("%d", (int)(p - str)); + TableNextColumn(); + for (int byte_index = 0; byte_index < c_utf8_len; byte_index++) + { + if (byte_index > 0) + SameLine(); + Text("0x%02X", (int)(unsigned char)p[byte_index]); + } + TableNextColumn(); + if (GetFont()->FindGlyphNoFallback((ImWchar)c)) + TextUnformatted(p, p + c_utf8_len); + else + TextUnformatted((c == IM_UNICODE_CODEPOINT_INVALID) ? "[invalid]" : "[missing]"); + TableNextColumn(); + Text("U+%04X", (int)c); + p += c_utf8_len; + } + EndTable(); +} + +static void DebugFlashStyleColorStop() +{ + ImGuiContext& g = *GImGui; + if (g.DebugFlashStyleColorIdx != ImGuiCol_COUNT) + g.Style.Colors[g.DebugFlashStyleColorIdx] = g.DebugFlashStyleColorBackup; + g.DebugFlashStyleColorIdx = ImGuiCol_COUNT; +} + +// Flash a given style color for some + inhibit modifications of this color via PushStyleColor() calls. +void ImGui::DebugFlashStyleColor(ImGuiCol idx) +{ + ImGuiContext& g = *GImGui; + DebugFlashStyleColorStop(); + g.DebugFlashStyleColorTime = 0.5f; + g.DebugFlashStyleColorIdx = idx; + g.DebugFlashStyleColorBackup = g.Style.Colors[idx]; +} + +void ImGui::UpdateDebugToolFlashStyleColor() +{ + ImGuiContext& g = *GImGui; + if (g.DebugFlashStyleColorTime <= 0.0f) + return; + ColorConvertHSVtoRGB(ImCos(g.DebugFlashStyleColorTime * 6.0f) * 0.5f + 0.5f, 0.5f, 0.5f, g.Style.Colors[g.DebugFlashStyleColorIdx].x, g.Style.Colors[g.DebugFlashStyleColorIdx].y, g.Style.Colors[g.DebugFlashStyleColorIdx].z); + g.Style.Colors[g.DebugFlashStyleColorIdx].w = 1.0f; + if ((g.DebugFlashStyleColorTime -= g.IO.DeltaTime) <= 0.0f) + DebugFlashStyleColorStop(); +} + +static const char* FormatTextureIDForDebugDisplay(char* buf, int buf_size, ImTextureID tex_id) +{ + union { void* ptr; int integer; } tex_id_opaque; + memcpy(&tex_id_opaque, &tex_id, ImMin(sizeof(void*), sizeof(tex_id))); + if (sizeof(tex_id) >= sizeof(void*)) + ImFormatString(buf, buf_size, "0x%p", tex_id_opaque.ptr); + else + ImFormatString(buf, buf_size, "0x%04X", tex_id_opaque.integer); + return buf; +} + +// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds. +static void MetricsHelpMarker(const char* desc) +{ + ImGui::TextDisabled("(?)"); + if (ImGui::BeginItemTooltip()) + { + ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); + ImGui::TextUnformatted(desc); + ImGui::PopTextWrapPos(); + ImGui::EndTooltip(); + } +} + +// [DEBUG] List fonts in a font atlas and display its texture +void ImGui::ShowFontAtlas(ImFontAtlas* atlas) +{ + for (ImFont* font : atlas->Fonts) + { + PushID(font); + DebugNodeFont(font); + PopID(); + } + if (TreeNode("Font Atlas", "Font Atlas (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) + { + ImGuiContext& g = *GImGui; + PushStyleVar(ImGuiStyleVar_ImageBorderSize, ImMax(1.0f, g.Style.ImageBorderSize)); + ImageWithBg(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), ImVec4(0.0f, 0.0f, 0.0f, 1.0f)); + PopStyleVar(); + TreePop(); + } +} + +void ImGui::ShowMetricsWindow(bool* p_open) +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig; + if (cfg->ShowDebugLog) + ShowDebugLogWindow(&cfg->ShowDebugLog); + if (cfg->ShowIDStackTool) + ShowIDStackToolWindow(&cfg->ShowIDStackTool); + + if (!Begin("Dear ImGui Metrics/Debugger", p_open) || GetCurrentWindow()->BeginCount > 1) + { + End(); + return; + } + + // [DEBUG] Clear debug breaks hooks after exactly one cycle. + DebugBreakClearData(); + + // Basic info + Text("Dear ImGui %s (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM); + if (g.ContextName[0] != 0) + { + SameLine(); + Text("(Context Name: \"%s\")", g.ContextName); + } + Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate); + Text("%d vertices, %d indices (%d triangles)", io.MetricsRenderVertices, io.MetricsRenderIndices, io.MetricsRenderIndices / 3); + Text("%d visible windows, %d current allocations", io.MetricsRenderWindows, g.DebugAllocInfo.TotalAllocCount - g.DebugAllocInfo.TotalFreeCount); + //SameLine(); if (SmallButton("GC")) { g.GcCompactAll = true; } + + Separator(); + + // Debugging enums + enum { WRT_OuterRect, WRT_OuterRectClipped, WRT_InnerRect, WRT_InnerClipRect, WRT_WorkRect, WRT_Content, WRT_ContentIdeal, WRT_ContentRegionRect, WRT_Count }; // Windows Rect Type + const char* wrt_rects_names[WRT_Count] = { "OuterRect", "OuterRectClipped", "InnerRect", "InnerClipRect", "WorkRect", "Content", "ContentIdeal", "ContentRegionRect" }; + enum { TRT_OuterRect, TRT_InnerRect, TRT_WorkRect, TRT_HostClipRect, TRT_InnerClipRect, TRT_BackgroundClipRect, TRT_ColumnsRect, TRT_ColumnsWorkRect, TRT_ColumnsClipRect, TRT_ColumnsContentHeadersUsed, TRT_ColumnsContentHeadersIdeal, TRT_ColumnsContentFrozen, TRT_ColumnsContentUnfrozen, TRT_Count }; // Tables Rect Type + const char* trt_rects_names[TRT_Count] = { "OuterRect", "InnerRect", "WorkRect", "HostClipRect", "InnerClipRect", "BackgroundClipRect", "ColumnsRect", "ColumnsWorkRect", "ColumnsClipRect", "ColumnsContentHeadersUsed", "ColumnsContentHeadersIdeal", "ColumnsContentFrozen", "ColumnsContentUnfrozen" }; + if (cfg->ShowWindowsRectsType < 0) + cfg->ShowWindowsRectsType = WRT_WorkRect; + if (cfg->ShowTablesRectsType < 0) + cfg->ShowTablesRectsType = TRT_WorkRect; + + struct Funcs + { + static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n) + { + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); // Always using last submitted instance + if (rect_type == TRT_OuterRect) { return table->OuterRect; } + else if (rect_type == TRT_InnerRect) { return table->InnerRect; } + else if (rect_type == TRT_WorkRect) { return table->WorkRect; } + else if (rect_type == TRT_HostClipRect) { return table->HostClipRect; } + else if (rect_type == TRT_InnerClipRect) { return table->InnerClipRect; } + else if (rect_type == TRT_BackgroundClipRect) { return table->BgClipRect; } + else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table_instance->LastOuterHeight); } + else if (rect_type == TRT_ColumnsWorkRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->WorkRect.Min.y, c->WorkMaxX, table->WorkRect.Max.y); } + else if (rect_type == TRT_ColumnsClipRect) { ImGuiTableColumn* c = &table->Columns[n]; return c->ClipRect; } + else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table_instance->LastTopHeadersRowHeight); } // Note: y1/y2 not always accurate + else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table_instance->LastTopHeadersRowHeight); } + else if (rect_type == TRT_ColumnsContentFrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table_instance->LastFrozenHeight); } + else if (rect_type == TRT_ColumnsContentUnfrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table_instance->LastFrozenHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); } + IM_ASSERT(0); + return ImRect(); + } + + static ImRect GetWindowRect(ImGuiWindow* window, int rect_type) + { + if (rect_type == WRT_OuterRect) { return window->Rect(); } + else if (rect_type == WRT_OuterRectClipped) { return window->OuterRectClipped; } + else if (rect_type == WRT_InnerRect) { return window->InnerRect; } + else if (rect_type == WRT_InnerClipRect) { return window->InnerClipRect; } + else if (rect_type == WRT_WorkRect) { return window->WorkRect; } + else if (rect_type == WRT_Content) { ImVec2 min = window->InnerRect.Min - window->Scroll + window->WindowPadding; return ImRect(min, min + window->ContentSize); } + else if (rect_type == WRT_ContentIdeal) { ImVec2 min = window->InnerRect.Min - window->Scroll + window->WindowPadding; return ImRect(min, min + window->ContentSizeIdeal); } + else if (rect_type == WRT_ContentRegionRect) { return window->ContentRegionRect; } + IM_ASSERT(0); + return ImRect(); + } + }; + + // Tools + if (TreeNode("Tools")) + { + // Debug Break features + // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted. + SeparatorTextEx(0, "Debug breaks", NULL, CalcTextSize("(?)").x + g.Style.SeparatorTextPadding.x); + SameLine(); + MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash."); + if (Checkbox("Show Item Picker", &g.DebugItemPickerActive) && g.DebugItemPickerActive) + DebugStartItemPicker(); + Checkbox("Show \"Debug Break\" buttons in other sections (io.ConfigDebugIsDebuggerPresent)", &g.IO.ConfigDebugIsDebuggerPresent); + + SeparatorText("Visualize"); + + Checkbox("Show Debug Log", &cfg->ShowDebugLog); + SameLine(); + MetricsHelpMarker("You can also call ImGui::ShowDebugLogWindow() from your code."); + + Checkbox("Show ID Stack Tool", &cfg->ShowIDStackTool); + SameLine(); + MetricsHelpMarker("You can also call ImGui::ShowIDStackToolWindow() from your code."); + + Checkbox("Show windows begin order", &cfg->ShowWindowsBeginOrder); + Checkbox("Show windows rectangles", &cfg->ShowWindowsRects); + SameLine(); + SetNextItemWidth(GetFontSize() * 12); + cfg->ShowWindowsRects |= Combo("##show_windows_rect_type", &cfg->ShowWindowsRectsType, wrt_rects_names, WRT_Count, WRT_Count); + if (cfg->ShowWindowsRects && g.NavWindow != NULL) + { + BulletText("'%s':", g.NavWindow->Name); + Indent(); + for (int rect_n = 0; rect_n < WRT_Count; rect_n++) + { + ImRect r = Funcs::GetWindowRect(g.NavWindow, rect_n); + Text("(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), wrt_rects_names[rect_n]); + } + Unindent(); + } + + Checkbox("Show tables rectangles", &cfg->ShowTablesRects); + SameLine(); + SetNextItemWidth(GetFontSize() * 12); + cfg->ShowTablesRects |= Combo("##show_table_rects_type", &cfg->ShowTablesRectsType, trt_rects_names, TRT_Count, TRT_Count); + if (cfg->ShowTablesRects && g.NavWindow != NULL) + { + for (int table_n = 0; table_n < g.Tables.GetMapSize(); table_n++) + { + ImGuiTable* table = g.Tables.TryGetMapData(table_n); + if (table == NULL || table->LastFrameActive < g.FrameCount - 1 || (table->OuterWindow != g.NavWindow && table->InnerWindow != g.NavWindow)) + continue; + + BulletText("Table 0x%08X (%d columns, in '%s')", table->ID, table->ColumnsCount, table->OuterWindow->Name); + if (IsItemHovered()) + GetForegroundDrawList()->AddRect(table->OuterRect.Min - ImVec2(1, 1), table->OuterRect.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, 0, 2.0f); + Indent(); + char buf[128]; + for (int rect_n = 0; rect_n < TRT_Count; rect_n++) + { + if (rect_n >= TRT_ColumnsRect) + { + if (rect_n != TRT_ColumnsRect && rect_n != TRT_ColumnsClipRect) + continue; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImRect r = Funcs::GetTableRect(table, rect_n, column_n); + ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) Col %d %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), column_n, trt_rects_names[rect_n]); + Selectable(buf); + if (IsItemHovered()) + GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, 0, 2.0f); + } + } + else + { + ImRect r = Funcs::GetTableRect(table, rect_n, -1); + ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), trt_rects_names[rect_n]); + Selectable(buf); + if (IsItemHovered()) + GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, 0, 2.0f); + } + } + Unindent(); + } + } + Checkbox("Show groups rectangles", &g.DebugShowGroupRects); // Storing in context as this is used by group code and prefers to be in hot-data + + SeparatorText("Validate"); + + Checkbox("Debug Begin/BeginChild return value", &io.ConfigDebugBeginReturnValueLoop); + SameLine(); + MetricsHelpMarker("Some calls to Begin()/BeginChild() will return false.\n\nWill cycle through window depths then repeat. Windows should be flickering while running."); + + Checkbox("UTF-8 Encoding viewer", &cfg->ShowTextEncodingViewer); + SameLine(); + MetricsHelpMarker("You can also call ImGui::DebugTextEncoding() from your code with a given string to test that your UTF-8 encoding settings are correct."); + if (cfg->ShowTextEncodingViewer) + { + static char buf[64] = ""; + SetNextItemWidth(-FLT_MIN); + InputText("##DebugTextEncodingBuf", buf, IM_ARRAYSIZE(buf)); + if (buf[0] != 0) + DebugTextEncoding(buf); + } + + TreePop(); + } + + // Windows + if (TreeNode("Windows", "Windows (%d)", g.Windows.Size)) + { + //SetNextItemOpen(true, ImGuiCond_Once); + DebugNodeWindowsList(&g.Windows, "By display order"); + DebugNodeWindowsList(&g.WindowsFocusOrder, "By focus order (root windows)"); + if (TreeNode("By submission order (begin stack)")) + { + // Here we display windows in their submitted order/hierarchy, however note that the Begin stack doesn't constitute a Parent<>Child relationship! + ImVector& temp_buffer = g.WindowsTempSortBuffer; + temp_buffer.resize(0); + for (ImGuiWindow* window : g.Windows) + if (window->LastFrameActive + 1 >= g.FrameCount) + temp_buffer.push_back(window); + struct Func { static int IMGUI_CDECL WindowComparerByBeginOrder(const void* lhs, const void* rhs) { return ((int)(*(const ImGuiWindow* const *)lhs)->BeginOrderWithinContext - (*(const ImGuiWindow* const*)rhs)->BeginOrderWithinContext); } }; + ImQsort(temp_buffer.Data, (size_t)temp_buffer.Size, sizeof(ImGuiWindow*), Func::WindowComparerByBeginOrder); + DebugNodeWindowsListByBeginStackParent(temp_buffer.Data, temp_buffer.Size, NULL); + TreePop(); + } + + TreePop(); + } + + // DrawLists + int drawlist_count = 0; + for (ImGuiViewportP* viewport : g.Viewports) + drawlist_count += viewport->DrawDataP.CmdLists.Size; + if (TreeNode("DrawLists", "DrawLists (%d)", drawlist_count)) + { + Checkbox("Show ImDrawCmd mesh when hovering", &cfg->ShowDrawCmdMesh); + Checkbox("Show ImDrawCmd bounding boxes when hovering", &cfg->ShowDrawCmdBoundingBoxes); + for (ImGuiViewportP* viewport : g.Viewports) + for (ImDrawList* draw_list : viewport->DrawDataP.CmdLists) + DebugNodeDrawList(NULL, viewport, draw_list, "DrawList"); + TreePop(); + } + + // Viewports + if (TreeNode("Viewports", "Viewports (%d)", g.Viewports.Size)) + { + SetNextItemOpen(true, ImGuiCond_Once); + if (TreeNode("Windows Minimap")) + { + RenderViewportsThumbnails(); + TreePop(); + } + cfg->HighlightViewportID = 0; + + for (ImGuiViewportP* viewport : g.Viewports) + DebugNodeViewport(viewport); + TreePop(); + } + + // Details for Popups + if (TreeNode("Popups", "Popups (%d)", g.OpenPopupStack.Size)) + { + for (const ImGuiPopupData& popup_data : g.OpenPopupStack) + { + // As it's difficult to interact with tree nodes while popups are open, we display everything inline. + ImGuiWindow* window = popup_data.Window; + BulletText("PopupID: %08x, Window: '%s' (%s%s), RestoreNavWindow '%s', ParentWindow '%s'", + popup_data.PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? "Child;" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? "Menu;" : "", + popup_data.RestoreNavWindow ? popup_data.RestoreNavWindow->Name : "NULL", window && window->ParentWindow ? window->ParentWindow->Name : "NULL"); + } + TreePop(); + } + + // Details for TabBars + if (TreeNode("TabBars", "Tab Bars (%d)", g.TabBars.GetAliveCount())) + { + for (int n = 0; n < g.TabBars.GetMapSize(); n++) + if (ImGuiTabBar* tab_bar = g.TabBars.TryGetMapData(n)) + { + PushID(tab_bar); + DebugNodeTabBar(tab_bar, "TabBar"); + PopID(); + } + TreePop(); + } + + // Details for Tables + if (TreeNode("Tables", "Tables (%d)", g.Tables.GetAliveCount())) + { + for (int n = 0; n < g.Tables.GetMapSize(); n++) + if (ImGuiTable* table = g.Tables.TryGetMapData(n)) + DebugNodeTable(table); + TreePop(); + } + + // Details for Fonts + ImFontAtlas* atlas = g.IO.Fonts; + if (TreeNode("Fonts", "Fonts (%d)", atlas->Fonts.Size)) + { + ShowFontAtlas(atlas); + TreePop(); + } + + // Details for InputText + if (TreeNode("InputText")) + { + DebugNodeInputTextState(&g.InputTextState); + TreePop(); + } + + // Details for TypingSelect + if (TreeNode("TypingSelect", "TypingSelect (%d)", g.TypingSelectState.SearchBuffer[0] != 0 ? 1 : 0)) + { + DebugNodeTypingSelectState(&g.TypingSelectState); + TreePop(); + } + + // Details for MultiSelect + if (TreeNode("MultiSelect", "MultiSelect (%d)", g.MultiSelectStorage.GetAliveCount())) + { + ImGuiBoxSelectState* bs = &g.BoxSelectState; + BulletText("BoxSelect ID=0x%08X, Starting = %d, Active %d", bs->ID, bs->IsStarting, bs->IsActive); + for (int n = 0; n < g.MultiSelectStorage.GetMapSize(); n++) + if (ImGuiMultiSelectState* state = g.MultiSelectStorage.TryGetMapData(n)) + DebugNodeMultiSelectState(state); + TreePop(); + } + + // Details for Docking +#ifdef IMGUI_HAS_DOCK + if (TreeNode("Docking")) + { + TreePop(); + } +#endif // #ifdef IMGUI_HAS_DOCK + + // Settings + if (TreeNode("Settings")) + { + if (SmallButton("Clear")) + ClearIniSettings(); + SameLine(); + if (SmallButton("Save to memory")) + SaveIniSettingsToMemory(); + SameLine(); + if (SmallButton("Save to disk")) + SaveIniSettingsToDisk(g.IO.IniFilename); + SameLine(); + if (g.IO.IniFilename) + Text("\"%s\"", g.IO.IniFilename); + else + TextUnformatted(""); + Checkbox("io.ConfigDebugIniSettings", &io.ConfigDebugIniSettings); + Text("SettingsDirtyTimer %.2f", g.SettingsDirtyTimer); + if (TreeNode("SettingsHandlers", "Settings handlers: (%d)", g.SettingsHandlers.Size)) + { + for (ImGuiSettingsHandler& handler : g.SettingsHandlers) + BulletText("\"%s\"", handler.TypeName); + TreePop(); + } + if (TreeNode("SettingsWindows", "Settings packed data: Windows: %d bytes", g.SettingsWindows.size())) + { + for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) + DebugNodeWindowSettings(settings); + TreePop(); + } + + if (TreeNode("SettingsTables", "Settings packed data: Tables: %d bytes", g.SettingsTables.size())) + { + for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) + DebugNodeTableSettings(settings); + TreePop(); + } + +#ifdef IMGUI_HAS_DOCK +#endif // #ifdef IMGUI_HAS_DOCK + + if (TreeNode("SettingsIniData", "Settings unpacked data (.ini): %d bytes", g.SettingsIniData.size())) + { + InputTextMultiline("##Ini", (char*)(void*)g.SettingsIniData.c_str(), g.SettingsIniData.Buf.Size, ImVec2(-FLT_MIN, GetTextLineHeight() * 20), ImGuiInputTextFlags_ReadOnly); + TreePop(); + } + TreePop(); + } + + // Settings + if (TreeNode("Memory allocations")) + { + ImGuiDebugAllocInfo* info = &g.DebugAllocInfo; + Text("%d current allocations", info->TotalAllocCount - info->TotalFreeCount); + if (SmallButton("GC now")) { g.GcCompactAll = true; } + Text("Recent frames with allocations:"); + int buf_size = IM_ARRAYSIZE(info->LastEntriesBuf); + for (int n = buf_size - 1; n >= 0; n--) + { + ImGuiDebugAllocEntry* entry = &info->LastEntriesBuf[(info->LastEntriesIdx - n + buf_size) % buf_size]; + BulletText("Frame %06d: %+3d ( %2d alloc, %2d free )", entry->FrameCount, entry->AllocCount - entry->FreeCount, entry->AllocCount, entry->FreeCount); + if (n == 0) + { + SameLine(); + Text("<- %d frames ago", g.FrameCount - entry->FrameCount); + } + } + TreePop(); + } + + if (TreeNode("Inputs")) + { + Text("KEYBOARD/GAMEPAD/MOUSE KEYS"); + { + // User code should never have to go through such hoops! You can generally iterate between ImGuiKey_NamedKey_BEGIN and ImGuiKey_NamedKey_END. + Indent(); + Text("Keys down:"); for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) { if (!IsKeyDown(key)) continue; SameLine(); Text(IsNamedKey(key) ? "\"%s\"" : "\"%s\" %d", GetKeyName(key), key); SameLine(); Text("(%.02f)", GetKeyData(key)->DownDuration); } + Text("Keys pressed:"); for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) { if (!IsKeyPressed(key)) continue; SameLine(); Text(IsNamedKey(key) ? "\"%s\"" : "\"%s\" %d", GetKeyName(key), key); } + Text("Keys released:"); for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) { if (!IsKeyReleased(key)) continue; SameLine(); Text(IsNamedKey(key) ? "\"%s\"" : "\"%s\" %d", GetKeyName(key), key); } + Text("Keys mods: %s%s%s%s", io.KeyCtrl ? "CTRL " : "", io.KeyShift ? "SHIFT " : "", io.KeyAlt ? "ALT " : "", io.KeySuper ? "SUPER " : ""); + Text("Chars queue:"); for (int i = 0; i < io.InputQueueCharacters.Size; i++) { ImWchar c = io.InputQueueCharacters[i]; SameLine(); Text("\'%c\' (0x%04X)", (c > ' ' && c <= 255) ? (char)c : '?', c); } // FIXME: We should convert 'c' to UTF-8 here but the functions are not public. + DebugRenderKeyboardPreview(GetWindowDrawList()); + Unindent(); + } + + Text("MOUSE STATE"); + { + Indent(); + if (IsMousePosValid()) + Text("Mouse pos: (%g, %g)", io.MousePos.x, io.MousePos.y); + else + Text("Mouse pos: "); + Text("Mouse delta: (%g, %g)", io.MouseDelta.x, io.MouseDelta.y); + int count = IM_ARRAYSIZE(io.MouseDown); + Text("Mouse down:"); for (int i = 0; i < count; i++) if (IsMouseDown(i)) { SameLine(); Text("b%d (%.02f secs)", i, io.MouseDownDuration[i]); } + Text("Mouse clicked:"); for (int i = 0; i < count; i++) if (IsMouseClicked(i)) { SameLine(); Text("b%d (%d)", i, io.MouseClickedCount[i]); } + Text("Mouse released:"); for (int i = 0; i < count; i++) if (IsMouseReleased(i)) { SameLine(); Text("b%d", i); } + Text("Mouse wheel: %.1f", io.MouseWheel); + Text("MouseStationaryTimer: %.2f", g.MouseStationaryTimer); + Text("Mouse source: %s", GetMouseSourceName(io.MouseSource)); + Text("Pen Pressure: %.1f", io.PenPressure); // Note: currently unused + Unindent(); + } + + Text("MOUSE WHEELING"); + { + Indent(); + Text("WheelingWindow: '%s'", g.WheelingWindow ? g.WheelingWindow->Name : "NULL"); + Text("WheelingWindowReleaseTimer: %.2f", g.WheelingWindowReleaseTimer); + Text("WheelingAxisAvg[] = { %.3f, %.3f }, Main Axis: %s", g.WheelingAxisAvg.x, g.WheelingAxisAvg.y, (g.WheelingAxisAvg.x > g.WheelingAxisAvg.y) ? "X" : (g.WheelingAxisAvg.x < g.WheelingAxisAvg.y) ? "Y" : ""); + Unindent(); + } + + Text("KEY OWNERS"); + { + Indent(); + if (BeginChild("##owners", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8), ImGuiChildFlags_FrameStyle | ImGuiChildFlags_ResizeY, ImGuiWindowFlags_NoSavedSettings)) + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(&g, key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_NoOwner) + continue; + Text("%s: 0x%08X%s", GetKeyName(key), owner_data->OwnerCurr, + owner_data->LockUntilRelease ? " LockUntilRelease" : owner_data->LockThisFrame ? " LockThisFrame" : ""); + DebugLocateItemOnHover(owner_data->OwnerCurr); + } + EndChild(); + Unindent(); + } + Text("SHORTCUT ROUTING"); + SameLine(); + MetricsHelpMarker("Declared shortcut routes automatically set key owner when mods matches."); + { + Indent(); + if (BeginChild("##routes", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8), ImGuiChildFlags_FrameStyle | ImGuiChildFlags_ResizeY, ImGuiWindowFlags_NoSavedSettings)) + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; ) + { + ImGuiKeyRoutingData* routing_data = &rt->Entries[idx]; + ImGuiKeyChord key_chord = key | routing_data->Mods; + Text("%s: 0x%08X (scored %d)", GetKeyChordName(key_chord), routing_data->RoutingCurr, routing_data->RoutingCurrScore); + DebugLocateItemOnHover(routing_data->RoutingCurr); + if (g.IO.ConfigDebugIsDebuggerPresent) + { + SameLine(); + if (DebugBreakButton("**DebugBreak**", "in SetShortcutRouting() for this KeyChord")) + g.DebugBreakInShortcutRouting = key_chord; + } + idx = routing_data->NextEntryIndex; + } + } + EndChild(); + Text("(ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: 0x%X)", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); + Unindent(); + } + TreePop(); + } + + if (TreeNode("Internal state")) + { + Text("WINDOWING"); + Indent(); + Text("HoveredWindow: '%s'", g.HoveredWindow ? g.HoveredWindow->Name : "NULL"); + Text("HoveredWindow->Root: '%s'", g.HoveredWindow ? g.HoveredWindow->RootWindow->Name : "NULL"); + Text("HoveredWindowUnderMovingWindow: '%s'", g.HoveredWindowUnderMovingWindow ? g.HoveredWindowUnderMovingWindow->Name : "NULL"); + Text("MovingWindow: '%s'", g.MovingWindow ? g.MovingWindow->Name : "NULL"); + Unindent(); + + Text("ITEMS"); + Indent(); + Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, GetInputSourceName(g.ActiveIdSource)); + DebugLocateItemOnHover(g.ActiveId); + Text("ActiveIdWindow: '%s'", g.ActiveIdWindow ? g.ActiveIdWindow->Name : "NULL"); + Text("ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: %X", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); + Text("HoveredId: 0x%08X (%.2f sec), AllowOverlap: %d", g.HoveredIdPreviousFrame, g.HoveredIdTimer, g.HoveredIdAllowOverlap); // Not displaying g.HoveredId as it is update mid-frame + Text("HoverItemDelayId: 0x%08X, Timer: %.2f, ClearTimer: %.2f", g.HoverItemDelayId, g.HoverItemDelayTimer, g.HoverItemDelayClearTimer); + Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize); + DebugLocateItemOnHover(g.DragDropPayload.SourceId); + Unindent(); + + Text("NAV,FOCUS"); + Indent(); + Text("NavWindow: '%s'", g.NavWindow ? g.NavWindow->Name : "NULL"); + Text("NavId: 0x%08X, NavLayer: %d", g.NavId, g.NavLayer); + DebugLocateItemOnHover(g.NavId); + Text("NavInputSource: %s", GetInputSourceName(g.NavInputSource)); + Text("NavLastValidSelectionUserData = %" IM_PRId64 " (0x%" IM_PRIX64 ")", g.NavLastValidSelectionUserData, g.NavLastValidSelectionUserData); + Text("NavActive: %d, NavVisible: %d", g.IO.NavActive, g.IO.NavVisible); + Text("NavActivateId/DownId/PressedId: %08X/%08X/%08X", g.NavActivateId, g.NavActivateDownId, g.NavActivatePressedId); + Text("NavActivateFlags: %04X", g.NavActivateFlags); + Text("NavCursorVisible: %d, NavHighlightItemUnderNav: %d", g.NavCursorVisible, g.NavHighlightItemUnderNav); + Text("NavFocusScopeId = 0x%08X", g.NavFocusScopeId); + Text("NavFocusRoute[] = "); + for (int path_n = g.NavFocusRoute.Size - 1; path_n >= 0; path_n--) + { + const ImGuiFocusScopeData& focus_scope = g.NavFocusRoute[path_n]; + SameLine(0.0f, 0.0f); + Text("0x%08X/", focus_scope.ID); + SetItemTooltip("In window \"%s\"", FindWindowByID(focus_scope.WindowID)->Name); + } + Text("NavWindowingTarget: '%s'", g.NavWindowingTarget ? g.NavWindowingTarget->Name : "NULL"); + Unindent(); + + TreePop(); + } + + // Overlay: Display windows Rectangles and Begin Order + if (cfg->ShowWindowsRects || cfg->ShowWindowsBeginOrder) + { + for (ImGuiWindow* window : g.Windows) + { + if (!window->WasActive) + continue; + ImDrawList* draw_list = GetForegroundDrawList(window); + if (cfg->ShowWindowsRects) + { + ImRect r = Funcs::GetWindowRect(window, cfg->ShowWindowsRectsType); + draw_list->AddRect(r.Min, r.Max, IM_COL32(255, 0, 128, 255)); + } + if (cfg->ShowWindowsBeginOrder && !(window->Flags & ImGuiWindowFlags_ChildWindow)) + { + char buf[32]; + ImFormatString(buf, IM_ARRAYSIZE(buf), "%d", window->BeginOrderWithinContext); + float font_size = GetFontSize(); + draw_list->AddRectFilled(window->Pos, window->Pos + ImVec2(font_size, font_size), IM_COL32(200, 100, 100, 255)); + draw_list->AddText(window->Pos, IM_COL32(255, 255, 255, 255), buf); + } + } + } + + // Overlay: Display Tables Rectangles + if (cfg->ShowTablesRects) + { + for (int table_n = 0; table_n < g.Tables.GetMapSize(); table_n++) + { + ImGuiTable* table = g.Tables.TryGetMapData(table_n); + if (table == NULL || table->LastFrameActive < g.FrameCount - 1) + continue; + ImDrawList* draw_list = GetForegroundDrawList(table->OuterWindow); + if (cfg->ShowTablesRectsType >= TRT_ColumnsRect) + { + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImRect r = Funcs::GetTableRect(table, cfg->ShowTablesRectsType, column_n); + ImU32 col = (table->HoveredColumnBody == column_n) ? IM_COL32(255, 255, 128, 255) : IM_COL32(255, 0, 128, 255); + float thickness = (table->HoveredColumnBody == column_n) ? 3.0f : 1.0f; + draw_list->AddRect(r.Min, r.Max, col, 0.0f, 0, thickness); + } + } + else + { + ImRect r = Funcs::GetTableRect(table, cfg->ShowTablesRectsType, -1); + draw_list->AddRect(r.Min, r.Max, IM_COL32(255, 0, 128, 255)); + } + } + } + +#ifdef IMGUI_HAS_DOCK + // Overlay: Display Docking info + if (show_docking_nodes && g.IO.KeyCtrl) + { + } +#endif // #ifdef IMGUI_HAS_DOCK + + End(); +} + +void ImGui::DebugBreakClearData() +{ + // Those fields are scattered in their respective subsystem to stay in hot-data locations + ImGuiContext& g = *GImGui; + g.DebugBreakInWindow = 0; + g.DebugBreakInTable = 0; + g.DebugBreakInShortcutRouting = ImGuiKey_None; +} + +void ImGui::DebugBreakButtonTooltip(bool keyboard_only, const char* description_of_location) +{ + if (!BeginItemTooltip()) + return; + Text("To call IM_DEBUG_BREAK() %s:", description_of_location); + Separator(); + TextUnformatted(keyboard_only ? "- Press 'Pause/Break' on keyboard." : "- Press 'Pause/Break' on keyboard.\n- or Click (may alter focus/active id).\n- or navigate using keyboard and press space."); + Separator(); + TextUnformatted("Choose one way that doesn't interfere with what you are trying to debug!\nYou need a debugger attached or this will crash!"); + EndTooltip(); +} + +// Special button that doesn't take focus, doesn't take input owner, and can be activated without a click etc. +// In order to reduce interferences with the contents we are trying to debug into. +bool ImGui::DebugBreakButton(const char* label, const char* description_of_location) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiID id = window->GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + ImVec2 pos = window->DC.CursorPos + ImVec2(0.0f, window->DC.CurrLineTextBaseOffset); + ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x * 2.0f, label_size.y); + + const ImRect bb(pos, pos + size); + ItemSize(size, 0.0f); + if (!ItemAdd(bb, id)) + return false; + + // WE DO NOT USE ButtonEx() or ButtonBehavior() in order to reduce our side-effects. + bool hovered = ItemHoverable(bb, id, g.CurrentItemFlags); + bool pressed = hovered && (IsKeyChordPressed(g.DebugBreakKeyChord) || IsMouseClicked(0) || g.NavActivateId == id); + DebugBreakButtonTooltip(false, description_of_location); + + ImVec4 col4f = GetStyleColorVec4(hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + ImVec4 hsv; + ColorConvertRGBtoHSV(col4f.x, col4f.y, col4f.z, hsv.x, hsv.y, hsv.z); + ColorConvertHSVtoRGB(hsv.x + 0.20f, hsv.y, hsv.z, col4f.x, col4f.y, col4f.z); + + RenderNavCursor(bb, id); + RenderFrame(bb.Min, bb.Max, GetColorU32(col4f), true, g.Style.FrameRounding); + RenderTextClipped(bb.Min, bb.Max, label, NULL, &label_size, g.Style.ButtonTextAlign, &bb); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + return pressed; +} + +// [DEBUG] Display contents of Columns +void ImGui::DebugNodeColumns(ImGuiOldColumns* columns) +{ + if (!TreeNode((void*)(uintptr_t)columns->ID, "Columns Id: 0x%08X, Count: %d, Flags: 0x%04X", columns->ID, columns->Count, columns->Flags)) + return; + BulletText("Width: %.1f (MinX: %.1f, MaxX: %.1f)", columns->OffMaxX - columns->OffMinX, columns->OffMinX, columns->OffMaxX); + for (ImGuiOldColumnData& column : columns->Columns) + BulletText("Column %02d: OffsetNorm %.3f (= %.1f px)", (int)columns->Columns.index_from_ptr(&column), column.OffsetNorm, GetColumnOffsetFromNorm(columns, column.OffsetNorm)); + TreePop(); +} + +// [DEBUG] Display contents of ImDrawList +void ImGui::DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, const ImDrawList* draw_list, const char* label) +{ + ImGuiContext& g = *GImGui; + IM_UNUSED(viewport); // Used in docking branch + ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig; + int cmd_count = draw_list->CmdBuffer.Size; + if (cmd_count > 0 && draw_list->CmdBuffer.back().ElemCount == 0 && draw_list->CmdBuffer.back().UserCallback == NULL) + cmd_count--; + bool node_open = TreeNode(draw_list, "%s: '%s' %d vtx, %d indices, %d cmds", label, draw_list->_OwnerName ? draw_list->_OwnerName : "", draw_list->VtxBuffer.Size, draw_list->IdxBuffer.Size, cmd_count); + if (draw_list == GetWindowDrawList()) + { + SameLine(); + TextColored(ImVec4(1.0f, 0.4f, 0.4f, 1.0f), "CURRENTLY APPENDING"); // Can't display stats for active draw list! (we don't have the data double-buffered) + if (node_open) + TreePop(); + return; + } + + ImDrawList* fg_draw_list = GetForegroundDrawList(window); // Render additional visuals into the top-most draw list + if (window && IsItemHovered() && fg_draw_list) + fg_draw_list->AddRect(window->Pos, window->Pos + window->Size, IM_COL32(255, 255, 0, 255)); + if (!node_open) + return; + + if (window && !window->WasActive) + TextDisabled("Warning: owning Window is inactive. This DrawList is not being rendered!"); + + for (const ImDrawCmd* pcmd = draw_list->CmdBuffer.Data; pcmd < draw_list->CmdBuffer.Data + cmd_count; pcmd++) + { + if (pcmd->UserCallback) + { + BulletText("Callback %p, user_data %p", pcmd->UserCallback, pcmd->UserCallbackData); + continue; + } + + char texid_desc[20]; + FormatTextureIDForDebugDisplay(texid_desc, IM_ARRAYSIZE(texid_desc), pcmd->TextureId); + char buf[300]; + ImFormatString(buf, IM_ARRAYSIZE(buf), "DrawCmd:%5d tris, Tex %s, ClipRect (%4.0f,%4.0f)-(%4.0f,%4.0f)", + pcmd->ElemCount / 3, texid_desc, pcmd->ClipRect.x, pcmd->ClipRect.y, pcmd->ClipRect.z, pcmd->ClipRect.w); + bool pcmd_node_open = TreeNode((void*)(pcmd - draw_list->CmdBuffer.begin()), "%s", buf); + if (IsItemHovered() && (cfg->ShowDrawCmdMesh || cfg->ShowDrawCmdBoundingBoxes) && fg_draw_list) + DebugNodeDrawCmdShowMeshAndBoundingBox(fg_draw_list, draw_list, pcmd, cfg->ShowDrawCmdMesh, cfg->ShowDrawCmdBoundingBoxes); + if (!pcmd_node_open) + continue; + + // Calculate approximate coverage area (touched pixel count) + // This will be in pixels squared as long there's no post-scaling happening to the renderer output. + const ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; + const ImDrawVert* vtx_buffer = draw_list->VtxBuffer.Data + pcmd->VtxOffset; + float total_area = 0.0f; + for (unsigned int idx_n = pcmd->IdxOffset; idx_n < pcmd->IdxOffset + pcmd->ElemCount; ) + { + ImVec2 triangle[3]; + for (int n = 0; n < 3; n++, idx_n++) + triangle[n] = vtx_buffer[idx_buffer ? idx_buffer[idx_n] : idx_n].pos; + total_area += ImTriangleArea(triangle[0], triangle[1], triangle[2]); + } + + // Display vertex information summary. Hover to get all triangles drawn in wire-frame + ImFormatString(buf, IM_ARRAYSIZE(buf), "Mesh: ElemCount: %d, VtxOffset: +%d, IdxOffset: +%d, Area: ~%0.f px", pcmd->ElemCount, pcmd->VtxOffset, pcmd->IdxOffset, total_area); + Selectable(buf); + if (IsItemHovered() && fg_draw_list) + DebugNodeDrawCmdShowMeshAndBoundingBox(fg_draw_list, draw_list, pcmd, true, false); + + // Display individual triangles/vertices. Hover on to get the corresponding triangle highlighted. + ImGuiListClipper clipper; + clipper.Begin(pcmd->ElemCount / 3); // Manually coarse clip our print out of individual vertices to save CPU, only items that may be visible. + while (clipper.Step()) + for (int prim = clipper.DisplayStart, idx_i = pcmd->IdxOffset + clipper.DisplayStart * 3; prim < clipper.DisplayEnd; prim++) + { + char* buf_p = buf, * buf_end = buf + IM_ARRAYSIZE(buf); + ImVec2 triangle[3]; + for (int n = 0; n < 3; n++, idx_i++) + { + const ImDrawVert& v = vtx_buffer[idx_buffer ? idx_buffer[idx_i] : idx_i]; + triangle[n] = v.pos; + buf_p += ImFormatString(buf_p, buf_end - buf_p, "%s %04d: pos (%8.2f,%8.2f), uv (%.6f,%.6f), col %08X\n", + (n == 0) ? "Vert:" : " ", idx_i, v.pos.x, v.pos.y, v.uv.x, v.uv.y, v.col); + } + + Selectable(buf, false); + if (fg_draw_list && IsItemHovered()) + { + ImDrawListFlags backup_flags = fg_draw_list->Flags; + fg_draw_list->Flags &= ~ImDrawListFlags_AntiAliasedLines; // Disable AA on triangle outlines is more readable for very large and thin triangles. + fg_draw_list->AddPolyline(triangle, 3, IM_COL32(255, 255, 0, 255), ImDrawFlags_Closed, 1.0f); + fg_draw_list->Flags = backup_flags; + } + } + TreePop(); + } + TreePop(); +} + +// [DEBUG] Display mesh/aabb of a ImDrawCmd +void ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, bool show_aabb) +{ + IM_ASSERT(show_mesh || show_aabb); + + // Draw wire-frame version of all triangles + ImRect clip_rect = draw_cmd->ClipRect; + ImRect vtxs_rect(FLT_MAX, FLT_MAX, -FLT_MAX, -FLT_MAX); + ImDrawListFlags backup_flags = out_draw_list->Flags; + out_draw_list->Flags &= ~ImDrawListFlags_AntiAliasedLines; // Disable AA on triangle outlines is more readable for very large and thin triangles. + for (unsigned int idx_n = draw_cmd->IdxOffset, idx_end = draw_cmd->IdxOffset + draw_cmd->ElemCount; idx_n < idx_end; ) + { + ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL; // We don't hold on those pointers past iterations as ->AddPolyline() may invalidate them if out_draw_list==draw_list + ImDrawVert* vtx_buffer = draw_list->VtxBuffer.Data + draw_cmd->VtxOffset; + + ImVec2 triangle[3]; + for (int n = 0; n < 3; n++, idx_n++) + vtxs_rect.Add((triangle[n] = vtx_buffer[idx_buffer ? idx_buffer[idx_n] : idx_n].pos)); + if (show_mesh) + out_draw_list->AddPolyline(triangle, 3, IM_COL32(255, 255, 0, 255), ImDrawFlags_Closed, 1.0f); // In yellow: mesh triangles + } + // Draw bounding boxes + if (show_aabb) + { + out_draw_list->AddRect(ImTrunc(clip_rect.Min), ImTrunc(clip_rect.Max), IM_COL32(255, 0, 255, 255)); // In pink: clipping rectangle submitted to GPU + out_draw_list->AddRect(ImTrunc(vtxs_rect.Min), ImTrunc(vtxs_rect.Max), IM_COL32(0, 255, 255, 255)); // In cyan: bounding box of triangles + } + out_draw_list->Flags = backup_flags; +} + +// [DEBUG] Display details for a single font, called by ShowStyleEditor(). +void ImGui::DebugNodeFont(ImFont* font) +{ + bool opened = TreeNode(font, "Font: \"%s\": %.2f px, %d glyphs, %d sources(s)", + font->Sources ? font->Sources[0].Name : "", font->FontSize, font->Glyphs.Size, font->SourcesCount); + + // Display preview text + if (!opened) + Indent(); + Indent(); + PushFont(font); + Text("The quick brown fox jumps over the lazy dog"); + PopFont(); + if (!opened) + { + Unindent(); + Unindent(); + return; + } + if (SmallButton("Set as default")) + GetIO().FontDefault = font; + + // Display details + SetNextItemWidth(GetFontSize() * 8); + DragFloat("Font scale", &font->Scale, 0.005f, 0.3f, 2.0f, "%.1f"); + SameLine(); MetricsHelpMarker( + "Note that the default embedded font is NOT meant to be scaled.\n\n" + "Font are currently rendered into bitmaps at a given size at the time of building the atlas. " + "You may oversample them to get some flexibility with scaling. " + "You can also render at multiple sizes and select which one to use at runtime.\n\n" + "(Glimmer of hope: the atlas system will be rewritten in the future to make scaling more flexible.)"); + Text("Ascent: %f, Descent: %f, Height: %f", font->Ascent, font->Descent, font->Ascent - font->Descent); + char c_str[5]; + Text("Fallback character: '%s' (U+%04X)", ImTextCharToUtf8(c_str, font->FallbackChar), font->FallbackChar); + Text("Ellipsis character: '%s' (U+%04X)", ImTextCharToUtf8(c_str, font->EllipsisChar), font->EllipsisChar); + const int surface_sqrt = (int)ImSqrt((float)font->MetricsTotalSurface); + Text("Texture Area: about %d px ~%dx%d px", font->MetricsTotalSurface, surface_sqrt, surface_sqrt); + for (int config_i = 0; config_i < font->SourcesCount; config_i++) + if (font->Sources) + { + const ImFontConfig* src = &font->Sources[config_i]; + int oversample_h, oversample_v; + ImFontAtlasBuildGetOversampleFactors(src, &oversample_h, &oversample_v); + BulletText("Input %d: \'%s\', Oversample: (%d=>%d,%d=>%d), PixelSnapH: %d, Offset: (%.1f,%.1f)", + config_i, src->Name, src->OversampleH, oversample_h, src->OversampleV, oversample_v, src->PixelSnapH, src->GlyphOffset.x, src->GlyphOffset.y); + } + + // Display all glyphs of the fonts in separate pages of 256 characters + { + if (TreeNode("Glyphs", "Glyphs (%d)", font->Glyphs.Size)) + { + ImDrawList* draw_list = GetWindowDrawList(); + const ImU32 glyph_col = GetColorU32(ImGuiCol_Text); + const float cell_size = font->FontSize * 1; + const float cell_spacing = GetStyle().ItemSpacing.y; + for (unsigned int base = 0; base <= IM_UNICODE_CODEPOINT_MAX; base += 256) + { + // Skip ahead if a large bunch of glyphs are not present in the font (test in chunks of 4k) + // This is only a small optimization to reduce the number of iterations when IM_UNICODE_MAX_CODEPOINT + // is large // (if ImWchar==ImWchar32 we will do at least about 272 queries here) + if (!(base & 8191) && font->IsGlyphRangeUnused(base, base + 8191)) + { + base += 8192 - 256; + continue; + } + + int count = 0; + for (unsigned int n = 0; n < 256; n++) + if (font->FindGlyphNoFallback((ImWchar)(base + n))) + count++; + if (count <= 0) + continue; + if (!TreeNode((void*)(intptr_t)base, "U+%04X..U+%04X (%d %s)", base, base + 255, count, count > 1 ? "glyphs" : "glyph")) + continue; + + // Draw a 16x16 grid of glyphs + ImVec2 base_pos = GetCursorScreenPos(); + for (unsigned int n = 0; n < 256; n++) + { + // We use ImFont::RenderChar as a shortcut because we don't have UTF-8 conversion functions + // available here and thus cannot easily generate a zero-terminated UTF-8 encoded string. + ImVec2 cell_p1(base_pos.x + (n % 16) * (cell_size + cell_spacing), base_pos.y + (n / 16) * (cell_size + cell_spacing)); + ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size); + const ImFontGlyph* glyph = font->FindGlyphNoFallback((ImWchar)(base + n)); + draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255, 50)); + if (!glyph) + continue; + font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n)); + if (IsMouseHoveringRect(cell_p1, cell_p2) && BeginTooltip()) + { + DebugNodeFontGlyph(font, glyph); + EndTooltip(); + } + } + Dummy(ImVec2((cell_size + cell_spacing) * 16, (cell_size + cell_spacing) * 16)); + TreePop(); + } + TreePop(); + } + } + TreePop(); + Unindent(); +} + +void ImGui::DebugNodeFontGlyph(ImFont*, const ImFontGlyph* glyph) +{ + Text("Codepoint: U+%04X", glyph->Codepoint); + Separator(); + Text("Visible: %d", glyph->Visible); + Text("AdvanceX: %.1f", glyph->AdvanceX); + Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1); + Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1); +} + +// [DEBUG] Display contents of ImGuiStorage +void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label) +{ + if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes())) + return; + for (const ImGuiStoragePair& p : storage->Data) + { + BulletText("Key 0x%08X Value { i: %d }", p.key, p.val_i); // Important: we currently don't store a type, real value may not be integer. + DebugLocateItemOnHover(p.key); + } + TreePop(); +} + +// [DEBUG] Display contents of ImGuiTabBar +void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) +{ + // Standalone tab bars (not associated to docking/windows functionality) currently hold no discernible strings. + char buf[256]; + char* p = buf; + const char* buf_end = buf + IM_ARRAYSIZE(buf); + const bool is_active = (tab_bar->PrevFrameVisible >= GetFrameCount() - 2); + p += ImFormatString(p, buf_end - p, "%s 0x%08X (%d tabs)%s {", label, tab_bar->ID, tab_bar->Tabs.Size, is_active ? "" : " *Inactive*"); + for (int tab_n = 0; tab_n < ImMin(tab_bar->Tabs.Size, 3); tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_n]; + p += ImFormatString(p, buf_end - p, "%s'%s'", tab_n > 0 ? ", " : "", TabBarGetTabName(tab_bar, tab)); + } + p += ImFormatString(p, buf_end - p, (tab_bar->Tabs.Size > 3) ? " ... }" : " } "); + if (!is_active) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } + bool open = TreeNode(label, "%s", buf); + if (!is_active) { PopStyleColor(); } + if (is_active && IsItemHovered()) + { + ImDrawList* draw_list = GetForegroundDrawList(); + draw_list->AddRect(tab_bar->BarRect.Min, tab_bar->BarRect.Max, IM_COL32(255, 255, 0, 255)); + draw_list->AddLine(ImVec2(tab_bar->ScrollingRectMinX, tab_bar->BarRect.Min.y), ImVec2(tab_bar->ScrollingRectMinX, tab_bar->BarRect.Max.y), IM_COL32(0, 255, 0, 255)); + draw_list->AddLine(ImVec2(tab_bar->ScrollingRectMaxX, tab_bar->BarRect.Min.y), ImVec2(tab_bar->ScrollingRectMaxX, tab_bar->BarRect.Max.y), IM_COL32(0, 255, 0, 255)); + } + if (open) + { + for (int tab_n = 0; tab_n < tab_bar->Tabs.Size; tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_n]; + PushID(tab); + if (SmallButton("<")) { TabBarQueueReorder(tab_bar, tab, -1); } SameLine(0, 2); + if (SmallButton(">")) { TabBarQueueReorder(tab_bar, tab, +1); } SameLine(); + Text("%02d%c Tab 0x%08X '%s' Offset: %.2f, Width: %.2f/%.2f", + tab_n, (tab->ID == tab_bar->SelectedTabId) ? '*' : ' ', tab->ID, TabBarGetTabName(tab_bar, tab), tab->Offset, tab->Width, tab->ContentWidth); + PopID(); + } + TreePop(); + } +} + +void ImGui::DebugNodeViewport(ImGuiViewportP* viewport) +{ + ImGuiContext& g = *GImGui; + SetNextItemOpen(true, ImGuiCond_Once); + bool open = TreeNode("viewport0", "Viewport #%d", 0); + if (IsItemHovered()) + g.DebugMetricsConfig.HighlightViewportID = viewport->ID; + if (open) + { + ImGuiWindowFlags flags = viewport->Flags; + BulletText("Main Pos: (%.0f,%.0f), Size: (%.0f,%.0f)\nWorkArea Inset Left: %.0f Top: %.0f, Right: %.0f, Bottom: %.0f", + viewport->Pos.x, viewport->Pos.y, viewport->Size.x, viewport->Size.y, + viewport->WorkInsetMin.x, viewport->WorkInsetMin.y, viewport->WorkInsetMax.x, viewport->WorkInsetMax.y); + BulletText("Flags: 0x%04X =%s%s%s", viewport->Flags, + (flags & ImGuiViewportFlags_IsPlatformWindow) ? " IsPlatformWindow" : "", + (flags & ImGuiViewportFlags_IsPlatformMonitor) ? " IsPlatformMonitor" : "", + (flags & ImGuiViewportFlags_OwnedByApp) ? " OwnedByApp" : ""); + for (ImDrawList* draw_list : viewport->DrawDataP.CmdLists) + DebugNodeDrawList(NULL, viewport, draw_list, "DrawList"); + TreePop(); + } +} + +void ImGui::DebugNodeWindow(ImGuiWindow* window, const char* label) +{ + if (window == NULL) + { + BulletText("%s: NULL", label); + return; + } + + ImGuiContext& g = *GImGui; + const bool is_active = window->WasActive; + ImGuiTreeNodeFlags tree_node_flags = (window == g.NavWindow) ? ImGuiTreeNodeFlags_Selected : ImGuiTreeNodeFlags_None; + if (!is_active) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } + const bool open = TreeNodeEx(label, tree_node_flags, "%s '%s'%s", label, window->Name, is_active ? "" : " *Inactive*"); + if (!is_active) { PopStyleColor(); } + if (IsItemHovered() && is_active) + GetForegroundDrawList(window)->AddRect(window->Pos, window->Pos + window->Size, IM_COL32(255, 255, 0, 255)); + if (!open) + return; + + if (window->MemoryCompacted) + TextDisabled("Note: some memory buffers have been compacted/freed."); + + if (g.IO.ConfigDebugIsDebuggerPresent && DebugBreakButton("**DebugBreak**", "in Begin()")) + g.DebugBreakInWindow = window->ID; + + ImGuiWindowFlags flags = window->Flags; + DebugNodeDrawList(window, window->Viewport, window->DrawList, "DrawList"); + BulletText("Pos: (%.1f,%.1f), Size: (%.1f,%.1f), ContentSize (%.1f,%.1f) Ideal (%.1f,%.1f)", window->Pos.x, window->Pos.y, window->Size.x, window->Size.y, window->ContentSize.x, window->ContentSize.y, window->ContentSizeIdeal.x, window->ContentSizeIdeal.y); + BulletText("Flags: 0x%08X (%s%s%s%s%s%s%s%s%s..)", flags, + (flags & ImGuiWindowFlags_ChildWindow) ? "Child " : "", (flags & ImGuiWindowFlags_Tooltip) ? "Tooltip " : "", (flags & ImGuiWindowFlags_Popup) ? "Popup " : "", + (flags & ImGuiWindowFlags_Modal) ? "Modal " : "", (flags & ImGuiWindowFlags_ChildMenu) ? "ChildMenu " : "", (flags & ImGuiWindowFlags_NoSavedSettings) ? "NoSavedSettings " : "", + (flags & ImGuiWindowFlags_NoMouseInputs)? "NoMouseInputs":"", (flags & ImGuiWindowFlags_NoNavInputs) ? "NoNavInputs" : "", (flags & ImGuiWindowFlags_AlwaysAutoResize) ? "AlwaysAutoResize" : ""); + if (flags & ImGuiWindowFlags_ChildWindow) + BulletText("ChildFlags: 0x%08X (%s%s%s%s..)", window->ChildFlags, + (window->ChildFlags & ImGuiChildFlags_Borders) ? "Borders " : "", + (window->ChildFlags & ImGuiChildFlags_ResizeX) ? "ResizeX " : "", + (window->ChildFlags & ImGuiChildFlags_ResizeY) ? "ResizeY " : "", + (window->ChildFlags & ImGuiChildFlags_NavFlattened) ? "NavFlattened " : ""); + BulletText("Scroll: (%.2f/%.2f,%.2f/%.2f) Scrollbar:%s%s", window->Scroll.x, window->ScrollMax.x, window->Scroll.y, window->ScrollMax.y, window->ScrollbarX ? "X" : "", window->ScrollbarY ? "Y" : ""); + BulletText("Active: %d/%d, WriteAccessed: %d, BeginOrderWithinContext: %d", window->Active, window->WasActive, window->WriteAccessed, (window->Active || window->WasActive) ? window->BeginOrderWithinContext : -1); + BulletText("Appearing: %d, Hidden: %d (CanSkip %d Cannot %d), SkipItems: %d", window->Appearing, window->Hidden, window->HiddenFramesCanSkipItems, window->HiddenFramesCannotSkipItems, window->SkipItems); + for (int layer = 0; layer < ImGuiNavLayer_COUNT; layer++) + { + ImRect r = window->NavRectRel[layer]; + if (r.Min.x >= r.Max.x && r.Min.y >= r.Max.y) + BulletText("NavLastIds[%d]: 0x%08X", layer, window->NavLastIds[layer]); + else + BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y); + DebugLocateItemOnHover(window->NavLastIds[layer]); + } + const ImVec2* pr = window->NavPreferredScoringPosRel; + for (int layer = 0; layer < ImGuiNavLayer_COUNT; layer++) + BulletText("NavPreferredScoringPosRel[%d] = {%.1f,%.1f)", layer, (pr[layer].x == FLT_MAX ? -99999.0f : pr[layer].x), (pr[layer].y == FLT_MAX ? -99999.0f : pr[layer].y)); // Display as 99999.0f so it looks neater. + BulletText("NavLayersActiveMask: %X, NavLastChildNavWindow: %s", window->DC.NavLayersActiveMask, window->NavLastChildNavWindow ? window->NavLastChildNavWindow->Name : "NULL"); + if (window->RootWindow != window) { DebugNodeWindow(window->RootWindow, "RootWindow"); } + if (window->ParentWindow != NULL) { DebugNodeWindow(window->ParentWindow, "ParentWindow"); } + if (window->ParentWindowForFocusRoute != NULL) { DebugNodeWindow(window->ParentWindowForFocusRoute, "ParentWindowForFocusRoute"); } + if (window->DC.ChildWindows.Size > 0) { DebugNodeWindowsList(&window->DC.ChildWindows, "ChildWindows"); } + if (window->ColumnsStorage.Size > 0 && TreeNode("Columns", "Columns sets (%d)", window->ColumnsStorage.Size)) + { + for (ImGuiOldColumns& columns : window->ColumnsStorage) + DebugNodeColumns(&columns); + TreePop(); + } + DebugNodeStorage(&window->StateStorage, "Storage"); + TreePop(); +} + +void ImGui::DebugNodeWindowSettings(ImGuiWindowSettings* settings) +{ + if (settings->WantDelete) + BeginDisabled(); + Text("0x%08X \"%s\" Pos (%d,%d) Size (%d,%d) Collapsed=%d", + settings->ID, settings->GetName(), settings->Pos.x, settings->Pos.y, settings->Size.x, settings->Size.y, settings->Collapsed); + if (settings->WantDelete) + EndDisabled(); +} + +void ImGui::DebugNodeWindowsList(ImVector* windows, const char* label) +{ + if (!TreeNode(label, "%s (%d)", label, windows->Size)) + return; + for (int i = windows->Size - 1; i >= 0; i--) // Iterate front to back + { + PushID((*windows)[i]); + DebugNodeWindow((*windows)[i], "Window"); + PopID(); + } + TreePop(); +} + +// FIXME-OPT: This is technically suboptimal, but it is simpler this way. +void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack) +{ + for (int i = 0; i < windows_size; i++) + { + ImGuiWindow* window = windows[i]; + if (window->ParentWindowInBeginStack != parent_in_begin_stack) + continue; + char buf[20]; + ImFormatString(buf, IM_ARRAYSIZE(buf), "[%04d] Window", window->BeginOrderWithinContext); + //BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name); + DebugNodeWindow(window, buf); + Indent(); + DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window); + Unindent(); + } +} + +//----------------------------------------------------------------------------- +// [SECTION] DEBUG LOG WINDOW +//----------------------------------------------------------------------------- + +void ImGui::DebugLog(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + DebugLogV(fmt, args); + va_end(args); +} + +void ImGui::DebugLogV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + const int old_size = g.DebugLogBuf.size(); + if (g.ContextName[0] != 0) + g.DebugLogBuf.appendf("[%s] [%05d] ", g.ContextName, g.FrameCount); + else + g.DebugLogBuf.appendf("[%05d] ", g.FrameCount); + g.DebugLogBuf.appendfv(fmt, args); + g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size()); + if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY) + IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size); +#ifdef IMGUI_ENABLE_TEST_ENGINE + // IMGUI_TEST_ENGINE_LOG() adds a trailing \n automatically + const int new_size = g.DebugLogBuf.size(); + const bool trailing_carriage_return = (g.DebugLogBuf[new_size - 1] == '\n'); + if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTestEngine) + IMGUI_TEST_ENGINE_LOG("%.*s", new_size - old_size - (trailing_carriage_return ? 1 : 0), g.DebugLogBuf.begin() + old_size); +#endif +} + +// FIXME-LAYOUT: To be done automatically via layout mode once we rework ItemSize/ItemAdd into ItemLayout. +static void SameLineOrWrap(const ImVec2& size) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImVec2 pos(window->DC.CursorPosPrevLine.x + g.Style.ItemSpacing.x, window->DC.CursorPosPrevLine.y); + if (window->WorkRect.Contains(ImRect(pos, pos + size))) + ImGui::SameLine(); +} + +static void ShowDebugLogFlag(const char* name, ImGuiDebugLogFlags flags) +{ + ImGuiContext& g = *GImGui; + ImVec2 size(ImGui::GetFrameHeight() + g.Style.ItemInnerSpacing.x + ImGui::CalcTextSize(name).x, ImGui::GetFrameHeight()); + SameLineOrWrap(size); // FIXME-LAYOUT: To be done automatically once we rework ItemSize/ItemAdd into ItemLayout. + + bool highlight_errors = (flags == ImGuiDebugLogFlags_EventError && g.DebugLogSkippedErrors > 0); + if (highlight_errors) + ImGui::PushStyleColor(ImGuiCol_Text, ImLerp(g.Style.Colors[ImGuiCol_Text], ImVec4(1.0f, 0.0f, 0.0f, 1.0f), 0.30f)); + if (ImGui::CheckboxFlags(name, &g.DebugLogFlags, flags) && g.IO.KeyShift && (g.DebugLogFlags & flags) != 0) + { + g.DebugLogAutoDisableFrames = 2; + g.DebugLogAutoDisableFlags |= flags; + } + if (highlight_errors) + { + ImGui::PopStyleColor(); + ImGui::SetItemTooltip("%d past errors skipped.", g.DebugLogSkippedErrors); + } + else + { + ImGui::SetItemTooltip("Hold SHIFT when clicking to enable for 2 frames only (useful for spammy log entries)"); + } +} + +void ImGui::ShowDebugLogWindow(bool* p_open) +{ + ImGuiContext& g = *GImGui; + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) == 0) + SetNextWindowSize(ImVec2(0.0f, GetFontSize() * 12.0f), ImGuiCond_FirstUseEver); + if (!Begin("Dear ImGui Debug Log", p_open) || GetCurrentWindow()->BeginCount > 1) + { + End(); + return; + } + + ImGuiDebugLogFlags all_enable_flags = ImGuiDebugLogFlags_EventMask_ & ~ImGuiDebugLogFlags_EventInputRouting; + CheckboxFlags("All", &g.DebugLogFlags, all_enable_flags); + SetItemTooltip("(except InputRouting which is spammy)"); + + ShowDebugLogFlag("Errors", ImGuiDebugLogFlags_EventError); + ShowDebugLogFlag("ActiveId", ImGuiDebugLogFlags_EventActiveId); + ShowDebugLogFlag("Clipper", ImGuiDebugLogFlags_EventClipper); + ShowDebugLogFlag("Focus", ImGuiDebugLogFlags_EventFocus); + ShowDebugLogFlag("IO", ImGuiDebugLogFlags_EventIO); + //ShowDebugLogFlag("Font", ImGuiDebugLogFlags_EventFont); + ShowDebugLogFlag("Nav", ImGuiDebugLogFlags_EventNav); + ShowDebugLogFlag("Popup", ImGuiDebugLogFlags_EventPopup); + ShowDebugLogFlag("Selection", ImGuiDebugLogFlags_EventSelection); + ShowDebugLogFlag("InputRouting", ImGuiDebugLogFlags_EventInputRouting); + + if (SmallButton("Clear")) + { + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); + g.DebugLogSkippedErrors = 0; + } + SameLine(); + if (SmallButton("Copy")) + SetClipboardText(g.DebugLogBuf.c_str()); + SameLine(); + if (SmallButton("Configure Outputs..")) + OpenPopup("Outputs"); + if (BeginPopup("Outputs")) + { + CheckboxFlags("OutputToTTY", &g.DebugLogFlags, ImGuiDebugLogFlags_OutputToTTY); +#ifndef IMGUI_ENABLE_TEST_ENGINE + BeginDisabled(); +#endif + CheckboxFlags("OutputToTestEngine", &g.DebugLogFlags, ImGuiDebugLogFlags_OutputToTestEngine); +#ifndef IMGUI_ENABLE_TEST_ENGINE + EndDisabled(); +#endif + EndPopup(); + } + + BeginChild("##log", ImVec2(0.0f, 0.0f), ImGuiChildFlags_Borders, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar); + + const ImGuiDebugLogFlags backup_log_flags = g.DebugLogFlags; + g.DebugLogFlags &= ~ImGuiDebugLogFlags_EventClipper; + + ImGuiListClipper clipper; + clipper.Begin(g.DebugLogIndex.size()); + while (clipper.Step()) + for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + DebugTextUnformattedWithLocateItem(g.DebugLogIndex.get_line_begin(g.DebugLogBuf.c_str(), line_no), g.DebugLogIndex.get_line_end(g.DebugLogBuf.c_str(), line_no)); + g.DebugLogFlags = backup_log_flags; + if (GetScrollY() >= GetScrollMaxY()) + SetScrollHereY(1.0f); + EndChild(); + + End(); +} + +// Display line, search for 0xXXXXXXXX identifiers and call DebugLocateItemOnHover() when hovered. +void ImGui::DebugTextUnformattedWithLocateItem(const char* line_begin, const char* line_end) +{ + TextUnformatted(line_begin, line_end); + if (!IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem)) + return; + ImGuiContext& g = *GImGui; + ImRect text_rect = g.LastItemData.Rect; + for (const char* p = line_begin; p <= line_end - 10; p++) + { + ImGuiID id = 0; + if (p[0] != '0' || (p[1] != 'x' && p[1] != 'X') || sscanf(p + 2, "%X", &id) != 1 || ImCharIsXdigitA(p[10])) + continue; + ImVec2 p0 = CalcTextSize(line_begin, p); + ImVec2 p1 = CalcTextSize(p, p + 10); + g.LastItemData.Rect = ImRect(text_rect.Min + ImVec2(p0.x, 0.0f), text_rect.Min + ImVec2(p0.x + p1.x, p1.y)); + if (IsMouseHoveringRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, true)) + DebugLocateItemOnHover(id); + p += 10; + } +} + +//----------------------------------------------------------------------------- +// [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, ID STACK TOOL) +//----------------------------------------------------------------------------- + +// Draw a small cross at current CursorPos in current window's DrawList +void ImGui::DebugDrawCursorPos(ImU32 col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImVec2 pos = window->DC.CursorPos; + window->DrawList->AddLine(ImVec2(pos.x, pos.y - 3.0f), ImVec2(pos.x, pos.y + 4.0f), col, 1.0f); + window->DrawList->AddLine(ImVec2(pos.x - 3.0f, pos.y), ImVec2(pos.x + 4.0f, pos.y), col, 1.0f); +} + +// Draw a 10px wide rectangle around CurposPos.x using Line Y1/Y2 in current window's DrawList +void ImGui::DebugDrawLineExtents(ImU32 col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + float curr_x = window->DC.CursorPos.x; + float line_y1 = (window->DC.IsSameLine ? window->DC.CursorPosPrevLine.y : window->DC.CursorPos.y); + float line_y2 = line_y1 + (window->DC.IsSameLine ? window->DC.PrevLineSize.y : window->DC.CurrLineSize.y); + window->DrawList->AddLine(ImVec2(curr_x - 5.0f, line_y1), ImVec2(curr_x + 5.0f, line_y1), col, 1.0f); + window->DrawList->AddLine(ImVec2(curr_x - 0.5f, line_y1), ImVec2(curr_x - 0.5f, line_y2), col, 1.0f); + window->DrawList->AddLine(ImVec2(curr_x - 5.0f, line_y2), ImVec2(curr_x + 5.0f, line_y2), col, 1.0f); +} + +// Draw last item rect in ForegroundDrawList (so it is always visible) +void ImGui::DebugDrawItemRect(ImU32 col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + GetForegroundDrawList(window)->AddRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, col); +} + +// [DEBUG] Locate item position/rectangle given an ID. +static const ImU32 DEBUG_LOCATE_ITEM_COLOR = IM_COL32(0, 255, 0, 255); // Green + +void ImGui::DebugLocateItem(ImGuiID target_id) +{ + ImGuiContext& g = *GImGui; + g.DebugLocateId = target_id; + g.DebugLocateFrames = 2; + g.DebugBreakInLocateId = false; +} + +// FIXME: Doesn't work over through a modal window, because they clear HoveredWindow. +void ImGui::DebugLocateItemOnHover(ImGuiID target_id) +{ + if (target_id == 0 || !IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + return; + ImGuiContext& g = *GImGui; + DebugLocateItem(target_id); + GetForegroundDrawList(g.CurrentWindow)->AddRect(g.LastItemData.Rect.Min - ImVec2(3.0f, 3.0f), g.LastItemData.Rect.Max + ImVec2(3.0f, 3.0f), DEBUG_LOCATE_ITEM_COLOR); + + // Can't easily use a context menu here because it will mess with focus, active id etc. + if (g.IO.ConfigDebugIsDebuggerPresent && g.MouseStationaryTimer > 1.0f) + { + DebugBreakButtonTooltip(false, "in ItemAdd()"); + if (IsKeyChordPressed(g.DebugBreakKeyChord)) + g.DebugBreakInLocateId = true; + } +} + +void ImGui::DebugLocateItemResolveWithLastItem() +{ + ImGuiContext& g = *GImGui; + + // [DEBUG] Debug break requested by user + if (g.DebugBreakInLocateId) + IM_DEBUG_BREAK(); + + ImGuiLastItemData item_data = g.LastItemData; + g.DebugLocateId = 0; + ImDrawList* draw_list = GetForegroundDrawList(g.CurrentWindow); + ImRect r = item_data.Rect; + r.Expand(3.0f); + ImVec2 p1 = g.IO.MousePos; + ImVec2 p2 = ImVec2((p1.x < r.Min.x) ? r.Min.x : (p1.x > r.Max.x) ? r.Max.x : p1.x, (p1.y < r.Min.y) ? r.Min.y : (p1.y > r.Max.y) ? r.Max.y : p1.y); + draw_list->AddRect(r.Min, r.Max, DEBUG_LOCATE_ITEM_COLOR); + draw_list->AddLine(p1, p2, DEBUG_LOCATE_ITEM_COLOR); +} + +void ImGui::DebugStartItemPicker() +{ + ImGuiContext& g = *GImGui; + g.DebugItemPickerActive = true; +} + +// [DEBUG] Item picker tool - start with DebugStartItemPicker() - useful to visually select an item and break into its call-stack. +void ImGui::UpdateDebugToolItemPicker() +{ + ImGuiContext& g = *GImGui; + g.DebugItemPickerBreakId = 0; + if (!g.DebugItemPickerActive) + return; + + const ImGuiID hovered_id = g.HoveredIdPreviousFrame; + SetMouseCursor(ImGuiMouseCursor_Hand); + if (IsKeyPressed(ImGuiKey_Escape)) + g.DebugItemPickerActive = false; + const bool change_mapping = g.IO.KeyMods == (ImGuiMod_Ctrl | ImGuiMod_Shift); + if (!change_mapping && IsMouseClicked(g.DebugItemPickerMouseButton) && hovered_id) + { + g.DebugItemPickerBreakId = hovered_id; + g.DebugItemPickerActive = false; + } + for (int mouse_button = 0; mouse_button < 3; mouse_button++) + if (change_mapping && IsMouseClicked(mouse_button)) + g.DebugItemPickerMouseButton = (ImU8)mouse_button; + SetNextWindowBgAlpha(0.70f); + if (!BeginTooltip()) + return; + Text("HoveredId: 0x%08X", hovered_id); + Text("Press ESC to abort picking."); + const char* mouse_button_names[] = { "Left", "Right", "Middle" }; + if (change_mapping) + Text("Remap w/ Ctrl+Shift: click anywhere to select new mouse button."); + else + TextColored(GetStyleColorVec4(hovered_id ? ImGuiCol_Text : ImGuiCol_TextDisabled), "Click %s Button to break in debugger! (remap w/ Ctrl+Shift)", mouse_button_names[g.DebugItemPickerMouseButton]); + EndTooltip(); +} + +// [DEBUG] ID Stack Tool: update queries. Called by NewFrame() +void ImGui::UpdateDebugToolStackQueries() +{ + ImGuiContext& g = *GImGui; + ImGuiIDStackTool* tool = &g.DebugIDStackTool; + + // Clear hook when id stack tool is not visible + g.DebugHookIdInfo = 0; + if (g.FrameCount != tool->LastActiveFrame + 1) + return; + + // Update queries. The steps are: -1: query Stack, >= 0: query each stack item + // We can only perform 1 ID Info query every frame. This is designed so the GetID() tests are cheap and constant-time + const ImGuiID query_id = g.HoveredIdPreviousFrame ? g.HoveredIdPreviousFrame : g.ActiveId; + if (tool->QueryId != query_id) + { + tool->QueryId = query_id; + tool->StackLevel = -1; + tool->Results.resize(0); + } + if (query_id == 0) + return; + + // Advance to next stack level when we got our result, or after 2 frames (in case we never get a result) + int stack_level = tool->StackLevel; + if (stack_level >= 0 && stack_level < tool->Results.Size) + if (tool->Results[stack_level].QuerySuccess || tool->Results[stack_level].QueryFrameCount > 2) + tool->StackLevel++; + + // Update hook + stack_level = tool->StackLevel; + if (stack_level == -1) + g.DebugHookIdInfo = query_id; + if (stack_level >= 0 && stack_level < tool->Results.Size) + { + g.DebugHookIdInfo = tool->Results[stack_level].ID; + tool->Results[stack_level].QueryFrameCount++; + } +} + +// [DEBUG] ID Stack tool: hooks called by GetID() family functions +void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiIDStackTool* tool = &g.DebugIDStackTool; + + // Step 0: stack query + // This assumes that the ID was computed with the current ID stack, which tends to be the case for our widget. + if (tool->StackLevel == -1) + { + tool->StackLevel++; + tool->Results.resize(window->IDStack.Size + 1, ImGuiStackLevelInfo()); + for (int n = 0; n < window->IDStack.Size + 1; n++) + tool->Results[n].ID = (n < window->IDStack.Size) ? window->IDStack[n] : id; + return; + } + + // Step 1+: query for individual level + IM_ASSERT(tool->StackLevel >= 0); + if (tool->StackLevel != window->IDStack.Size) + return; + ImGuiStackLevelInfo* info = &tool->Results[tool->StackLevel]; + IM_ASSERT(info->ID == id && info->QueryFrameCount > 0); + + switch (data_type) + { + case ImGuiDataType_S32: + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%d", (int)(intptr_t)data_id); + break; + case ImGuiDataType_String: + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%.*s", data_id_end ? (int)((const char*)data_id_end - (const char*)data_id) : (int)strlen((const char*)data_id), (const char*)data_id); + break; + case ImGuiDataType_Pointer: + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "(void*)0x%p", data_id); + break; + case ImGuiDataType_ID: + if (info->Desc[0] != 0) // PushOverrideID() is often used to avoid hashing twice, which would lead to 2 calls to DebugHookIdInfo(). We prioritize the first one. + return; + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "0x%08X [override]", id); + break; + default: + IM_ASSERT(0); + } + info->QuerySuccess = true; + info->DataType = data_type; +} + +static int StackToolFormatLevelInfo(ImGuiIDStackTool* tool, int n, bool format_for_ui, char* buf, size_t buf_size) +{ + ImGuiStackLevelInfo* info = &tool->Results[n]; + ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? ImGui::FindWindowByID(info->ID) : NULL; + if (window) // Source: window name (because the root ID don't call GetID() and so doesn't get hooked) + return ImFormatString(buf, buf_size, format_for_ui ? "\"%s\" [window]" : "%s", window->Name); + if (info->QuerySuccess) // Source: GetID() hooks (prioritize over ItemInfo() because we frequently use patterns like: PushID(str), Button("") where they both have same id) + return ImFormatString(buf, buf_size, (format_for_ui && info->DataType == ImGuiDataType_String) ? "\"%s\"" : "%s", info->Desc); + if (tool->StackLevel < tool->Results.Size) // Only start using fallback below when all queries are done, so during queries we don't flickering ??? markers. + return (*buf = 0); +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (const char* label = ImGuiTestEngine_FindItemDebugLabel(GImGui, info->ID)) // Source: ImGuiTestEngine's ItemInfo() + return ImFormatString(buf, buf_size, format_for_ui ? "??? \"%s\"" : "%s", label); +#endif + return ImFormatString(buf, buf_size, "???"); +} + +// ID Stack Tool: Display UI +void ImGui::ShowIDStackToolWindow(bool* p_open) +{ + ImGuiContext& g = *GImGui; + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) == 0) + SetNextWindowSize(ImVec2(0.0f, GetFontSize() * 8.0f), ImGuiCond_FirstUseEver); + if (!Begin("Dear ImGui ID Stack Tool", p_open) || GetCurrentWindow()->BeginCount > 1) + { + End(); + return; + } + + // Display hovered/active status + ImGuiIDStackTool* tool = &g.DebugIDStackTool; + const ImGuiID hovered_id = g.HoveredIdPreviousFrame; + const ImGuiID active_id = g.ActiveId; +#ifdef IMGUI_ENABLE_TEST_ENGINE + Text("HoveredId: 0x%08X (\"%s\"), ActiveId: 0x%08X (\"%s\")", hovered_id, hovered_id ? ImGuiTestEngine_FindItemDebugLabel(&g, hovered_id) : "", active_id, active_id ? ImGuiTestEngine_FindItemDebugLabel(&g, active_id) : ""); +#else + Text("HoveredId: 0x%08X, ActiveId: 0x%08X", hovered_id, active_id); +#endif + SameLine(); + MetricsHelpMarker("Hover an item with the mouse to display elements of the ID Stack leading to the item's final ID.\nEach level of the stack correspond to a PushID() call.\nAll levels of the stack are hashed together to make the final ID of a widget (ID displayed at the bottom level of the stack).\nRead FAQ entry about the ID stack for details."); + + // CTRL+C to copy path + const float time_since_copy = (float)g.Time - tool->CopyToClipboardLastTime; + Checkbox("Ctrl+C: copy path to clipboard", &tool->CopyToClipboardOnCtrlC); + SameLine(); + TextColored((time_since_copy >= 0.0f && time_since_copy < 0.75f && ImFmod(time_since_copy, 0.25f) < 0.25f * 0.5f) ? ImVec4(1.f, 1.f, 0.3f, 1.f) : ImVec4(), "*COPIED*"); + if (tool->CopyToClipboardOnCtrlC && Shortcut(ImGuiMod_Ctrl | ImGuiKey_C, ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteOverFocused)) + { + tool->CopyToClipboardLastTime = (float)g.Time; + char* p = g.TempBuffer.Data; + char* p_end = p + g.TempBuffer.Size; + for (int stack_n = 0; stack_n < tool->Results.Size && p + 3 < p_end; stack_n++) + { + *p++ = '/'; + char level_desc[256]; + StackToolFormatLevelInfo(tool, stack_n, false, level_desc, IM_ARRAYSIZE(level_desc)); + for (int n = 0; level_desc[n] && p + 2 < p_end; n++) + { + if (level_desc[n] == '/') + *p++ = '\\'; + *p++ = level_desc[n]; + } + } + *p = '\0'; + SetClipboardText(g.TempBuffer.Data); + } + + // Display decorated stack + tool->LastActiveFrame = g.FrameCount; + if (tool->Results.Size > 0 && BeginTable("##table", 3, ImGuiTableFlags_Borders)) + { + const float id_width = CalcTextSize("0xDDDDDDDD").x; + TableSetupColumn("Seed", ImGuiTableColumnFlags_WidthFixed, id_width); + TableSetupColumn("PushID", ImGuiTableColumnFlags_WidthStretch); + TableSetupColumn("Result", ImGuiTableColumnFlags_WidthFixed, id_width); + TableHeadersRow(); + for (int n = 0; n < tool->Results.Size; n++) + { + ImGuiStackLevelInfo* info = &tool->Results[n]; + TableNextColumn(); + Text("0x%08X", (n > 0) ? tool->Results[n - 1].ID : 0); + TableNextColumn(); + StackToolFormatLevelInfo(tool, n, true, g.TempBuffer.Data, g.TempBuffer.Size); + TextUnformatted(g.TempBuffer.Data); + TableNextColumn(); + Text("0x%08X", info->ID); + if (n == tool->Results.Size - 1) + TableSetBgColor(ImGuiTableBgTarget_CellBg, GetColorU32(ImGuiCol_Header)); + } + EndTable(); + } + End(); +} + +#else + +void ImGui::ShowMetricsWindow(bool*) {} +void ImGui::ShowFontAtlas(ImFontAtlas*) {} +void ImGui::DebugNodeColumns(ImGuiOldColumns*) {} +void ImGui::DebugNodeDrawList(ImGuiWindow*, ImGuiViewportP*, const ImDrawList*, const char*) {} +void ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList*, const ImDrawList*, const ImDrawCmd*, bool, bool) {} +void ImGui::DebugNodeFont(ImFont*) {} +void ImGui::DebugNodeStorage(ImGuiStorage*, const char*) {} +void ImGui::DebugNodeTabBar(ImGuiTabBar*, const char*) {} +void ImGui::DebugNodeWindow(ImGuiWindow*, const char*) {} +void ImGui::DebugNodeWindowSettings(ImGuiWindowSettings*) {} +void ImGui::DebugNodeWindowsList(ImVector*, const char*) {} +void ImGui::DebugNodeViewport(ImGuiViewportP*) {} + +void ImGui::ShowDebugLogWindow(bool*) {} +void ImGui::ShowIDStackToolWindow(bool*) {} +void ImGui::DebugStartItemPicker() {} +void ImGui::DebugHookIdInfo(ImGuiID, ImGuiDataType, const void*, const void*) {} + +#endif // #ifndef IMGUI_DISABLE_DEBUG_TOOLS + +//----------------------------------------------------------------------------- + +// Include imgui_user.inl at the end of imgui.cpp to access private data/functions that aren't exposed. +// Prefer just including imgui_internal.h from your code rather than using this define. If a declaration is missing from imgui_internal.h add it or request it on the github. +#ifdef IMGUI_INCLUDE_IMGUI_USER_INL +#include "imgui_user.inl" +#endif + +//----------------------------------------------------------------------------- + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.h new file mode 100644 index 0000000..957057c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui.h @@ -0,0 +1,3809 @@ +// dear imgui, v1.91.9 WIP +// (headers) + +// Help: +// - See links below. +// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. +// - Read top of imgui.cpp for more details, links and comments. +// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4. + +// Resources: +// - FAQ ........................ https://dearimgui.com/faq (in repository as docs/FAQ.md) +// - Homepage ................... https://github.com/ocornut/imgui +// - Releases & changelog ....... https://github.com/ocornut/imgui/releases +// - Gallery .................... https://github.com/ocornut/imgui/issues?q=label%3Agallery (please post your screenshots/video there!) +// - Wiki ....................... https://github.com/ocornut/imgui/wiki (lots of good stuff there) +// - Getting Started https://github.com/ocornut/imgui/wiki/Getting-Started (how to integrate in an existing app by adding ~25 lines of code) +// - Third-party Extensions https://github.com/ocornut/imgui/wiki/Useful-Extensions (ImPlot & many more) +// - Bindings/Backends https://github.com/ocornut/imgui/wiki/Bindings (language bindings, backends for various tech/engines) +// - Glossary https://github.com/ocornut/imgui/wiki/Glossary +// - Debug Tools https://github.com/ocornut/imgui/wiki/Debug-Tools +// - Software using Dear ImGui https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui +// - Issues & support ........... https://github.com/ocornut/imgui/issues +// - Test Engine & Automation ... https://github.com/ocornut/imgui_test_engine (test suite, test engine to automate your apps) + +// For first-time users having issues compiling/linking/running/loading fonts: +// please post in https://github.com/ocornut/imgui/discussions if you cannot find a solution in resources above. +// Everything else should be asked in 'Issues'! We are building a database of cross-linked knowledge there. + +// Library Version +// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345') +#define IMGUI_VERSION "1.91.9 WIP" +#define IMGUI_VERSION_NUM 19186 +#define IMGUI_HAS_TABLE + +/* + +Index of this file: +// [SECTION] Header mess +// [SECTION] Forward declarations and basic types +// [SECTION] Dear ImGui end-user API functions +// [SECTION] Flags & Enumerations +// [SECTION] Tables API flags and structures (ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableRowFlags, ImGuiTableBgTarget, ImGuiTableSortSpecs, ImGuiTableColumnSortSpecs) +// [SECTION] Helpers: Debug log, Memory allocations macros, ImVector<> +// [SECTION] ImGuiStyle +// [SECTION] ImGuiIO +// [SECTION] Misc data structures (ImGuiInputTextCallbackData, ImGuiSizeCallbackData, ImGuiPayload) +// [SECTION] Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, Math Operators, ImColor) +// [SECTION] Multi-Select API flags and structures (ImGuiMultiSelectFlags, ImGuiMultiSelectIO, ImGuiSelectionRequest, ImGuiSelectionBasicStorage, ImGuiSelectionExternalStorage) +// [SECTION] Drawing API (ImDrawCallback, ImDrawCmd, ImDrawIdx, ImDrawVert, ImDrawChannel, ImDrawListSplitter, ImDrawFlags, ImDrawListFlags, ImDrawList, ImDrawData) +// [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) +// [SECTION] Viewports (ImGuiViewportFlags, ImGuiViewport) +// [SECTION] ImGuiPlatformIO + other Platform Dependent Interfaces (ImGuiPlatformImeData) +// [SECTION] Obsolete functions and types + +*/ + +#pragma once + +// Configuration file with compile-time options +// (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system) +#ifdef IMGUI_USER_CONFIG +#include IMGUI_USER_CONFIG +#endif +#include "imconfig.h" + +#ifndef IMGUI_DISABLE + +//----------------------------------------------------------------------------- +// [SECTION] Header mess +//----------------------------------------------------------------------------- + +// Includes +#include // FLT_MIN, FLT_MAX +#include // va_list, va_start, va_end +#include // ptrdiff_t, NULL +#include // memset, memmove, memcpy, strlen, strchr, strcpy, strcmp + +// Define attributes of all API symbols declarations (e.g. for DLL under Windows) +// IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default backends files (imgui_impl_xxx.h) +// Using dear imgui via a shared library is not recommended: we don't guarantee backward nor forward ABI compatibility + this is a call-heavy library and function call overhead adds up. +#ifndef IMGUI_API +#define IMGUI_API +#endif +#ifndef IMGUI_IMPL_API +#define IMGUI_IMPL_API IMGUI_API +#endif + +// Helper Macros +#ifndef IM_ASSERT +#include +#define IM_ASSERT(_EXPR) assert(_EXPR) // You can override the default assert handler by editing imconfig.h +#endif +#define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR)))) // Size of a static C-style array. Don't use on pointers! +#define IM_UNUSED(_VAR) ((void)(_VAR)) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds. + +// Check that version and structures layouts are matching between compiled imgui code and caller. Read comments above DebugCheckVersionAndDataLayout() for details. +#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) + +// Helper Macros - IM_FMTARGS, IM_FMTLIST: Apply printf-style warnings to our formatting functions. +// (MSVC provides an equivalent mechanism via SAL Annotations but it would require the macros in a different +// location. e.g. #include + void myprintf(_Printf_format_string_ const char* format, ...)) +#if !defined(IMGUI_USE_STB_SPRINTF) && defined(__MINGW32__) && !defined(__clang__) +#define IM_FMTARGS(FMT) __attribute__((format(gnu_printf, FMT, FMT+1))) +#define IM_FMTLIST(FMT) __attribute__((format(gnu_printf, FMT, 0))) +#elif !defined(IMGUI_USE_STB_SPRINTF) && (defined(__clang__) || defined(__GNUC__)) +#define IM_FMTARGS(FMT) __attribute__((format(printf, FMT, FMT+1))) +#define IM_FMTLIST(FMT) __attribute__((format(printf, FMT, 0))) +#else +#define IM_FMTARGS(FMT) +#define IM_FMTLIST(FMT) +#endif + +// Disable some of MSVC most aggressive Debug runtime checks in function header/footer (used in some simple/low-level functions) +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(IMGUI_DEBUG_PARANOID) +#define IM_MSVC_RUNTIME_CHECKS_OFF __pragma(runtime_checks("",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off)) +#define IM_MSVC_RUNTIME_CHECKS_RESTORE __pragma(runtime_checks("",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop)) +#else +#define IM_MSVC_RUNTIME_CHECKS_OFF +#define IM_MSVC_RUNTIME_CHECKS_RESTORE +#endif + +// Warnings +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). +#endif +#if defined(__clang__) +#pragma clang diagnostic push +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant +#pragma clang diagnostic ignored "-Wreserved-identifier" // warning: identifier '_Xxx' is reserved because it starts with '_' followed by a capital letter +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#elif defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Forward declarations and basic types +//----------------------------------------------------------------------------- + +// Scalar data types +typedef unsigned int ImGuiID;// A unique ID used by widgets (typically the result of hashing a stack of string) +typedef signed char ImS8; // 8-bit signed integer +typedef unsigned char ImU8; // 8-bit unsigned integer +typedef signed short ImS16; // 16-bit signed integer +typedef unsigned short ImU16; // 16-bit unsigned integer +typedef signed int ImS32; // 32-bit signed integer == int +typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer + +// Forward declarations: ImDrawList, ImFontAtlas layer +struct ImDrawChannel; // Temporary storage to output draw commands out of order, used by ImDrawListSplitter and ImDrawList::ChannelsSplit() +struct ImDrawCmd; // A single draw command within a parent ImDrawList (generally maps to 1 GPU draw call, unless it is a callback) +struct ImDrawData; // All draw command lists required to render the frame + pos/size coordinates to use for the projection matrix. +struct ImDrawList; // A single draw command list (generally one per window, conceptually you may see this as a dynamic "mesh" builder) +struct ImDrawListSharedData; // Data shared among multiple draw lists (typically owned by parent ImGui context, but you may create one yourself) +struct ImDrawListSplitter; // Helper to split a draw list into different layers which can be drawn into out of order, then flattened back. +struct ImDrawVert; // A single vertex (pos + uv + col = 20 bytes by default. Override layout with IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT) +struct ImFont; // Runtime data for a single font within a parent ImFontAtlas +struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader +struct ImFontBuilderIO; // Opaque interface to a font builder (stb_truetype or FreeType). +struct ImFontConfig; // Configuration data when adding a font or merging fonts +struct ImFontGlyph; // A single font glyph (code point + coordinates within in ImFontAtlas + offset) +struct ImFontGlyphRangesBuilder; // Helper to build glyph ranges from text/string data +struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*OBSOLETE* please avoid using) + +// Forward declarations: ImGui layer +struct ImGuiContext; // Dear ImGui context (opaque structure, unless including imgui_internal.h) +struct ImGuiIO; // Main configuration and I/O between your application and ImGui (also see: ImGuiPlatformIO) +struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) +struct ImGuiKeyData; // Storage for ImGuiIO and IsKeyDown(), IsKeyPressed() etc functions. +struct ImGuiListClipper; // Helper to manually clip large list of items +struct ImGuiMultiSelectIO; // Structure to interact with a BeginMultiSelect()/EndMultiSelect() block +struct ImGuiOnceUponAFrame; // Helper for running a block of code not more than once a frame +struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiPlatformIO; // Interface between platform/renderer backends and ImGui (e.g. Clipboard, IME hooks). Extends ImGuiIO. In docking branch, this gets extended to support multi-viewports. +struct ImGuiPlatformImeData; // Platform IME data for io.PlatformSetImeDataFn() function. +struct ImGuiSelectionBasicStorage; // Optional helper to store multi-selection state + apply multi-selection requests. +struct ImGuiSelectionExternalStorage;//Optional helper to apply multi-selection requests to existing randomly accessible storage. +struct ImGuiSelectionRequest; // A selection request (stored in ImGuiMultiSelectIO) +struct ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use) +struct ImGuiStorage; // Helper for key->value storage (container sorted by key) +struct ImGuiStoragePair; // Helper for key->value storage (pair) +struct ImGuiStyle; // Runtime data for styling/colors +struct ImGuiTableSortSpecs; // Sorting specifications for a table (often handling sort specs for a single column, occasionally more) +struct ImGuiTableColumnSortSpecs; // Sorting specification for one column of a table +struct ImGuiTextBuffer; // Helper to hold and append into a text buffer (~string builder) +struct ImGuiTextFilter; // Helper to parse and apply text filters (e.g. "aaaaa[,bbbbb][,ccccc]") +struct ImGuiViewport; // A Platform Window (always only one in 'master' branch), in the future may represent Platform Monitor + +// Enumerations +// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +enum ImGuiDir : int; // -> enum ImGuiDir // Enum: A cardinal direction (Left, Right, Up, Down) +enum ImGuiKey : int; // -> enum ImGuiKey // Enum: A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) +enum ImGuiMouseSource : int; // -> enum ImGuiMouseSource // Enum; A mouse input source identifier (Mouse, TouchScreen, Pen) +enum ImGuiSortDirection : ImU8; // -> enum ImGuiSortDirection // Enum: A sorting direction (ascending or descending) +typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling +typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for many Set*() functions +typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type +typedef int ImGuiMouseButton; // -> enum ImGuiMouseButton_ // Enum: A mouse button identifier (0=left, 1=right, 2=middle) +typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor shape +typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling +typedef int ImGuiTableBgTarget; // -> enum ImGuiTableBgTarget_ // Enum: A color target for TableSetBgColor() + +// Flags (declared as int to allow using as flags without overhead, and to not pollute the top of this file) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +typedef int ImDrawFlags; // -> enum ImDrawFlags_ // Flags: for ImDrawList functions +typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList instance +typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas build +typedef int ImGuiBackendFlags; // -> enum ImGuiBackendFlags_ // Flags: for io.BackendFlags +typedef int ImGuiButtonFlags; // -> enum ImGuiButtonFlags_ // Flags: for InvisibleButton() +typedef int ImGuiChildFlags; // -> enum ImGuiChildFlags_ // Flags: for BeginChild() +typedef int ImGuiColorEditFlags; // -> enum ImGuiColorEditFlags_ // Flags: for ColorEdit4(), ColorPicker4() etc. +typedef int ImGuiConfigFlags; // -> enum ImGuiConfigFlags_ // Flags: for io.ConfigFlags +typedef int ImGuiComboFlags; // -> enum ImGuiComboFlags_ // Flags: for BeginCombo() +typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: for BeginDragDropSource(), AcceptDragDropPayload() +typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused() +typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc. +typedef int ImGuiInputFlags; // -> enum ImGuiInputFlags_ // Flags: for Shortcut(), SetNextItemShortcut() +typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText(), InputTextMultiline() +typedef int ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag(), shared by all items +typedef int ImGuiKeyChord; // -> ImGuiKey | ImGuiMod_XXX // Flags: for IsKeyChordPressed(), Shortcut() etc. an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values. +typedef int ImGuiPopupFlags; // -> enum ImGuiPopupFlags_ // Flags: for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() +typedef int ImGuiMultiSelectFlags; // -> enum ImGuiMultiSelectFlags_// Flags: for BeginMultiSelect() +typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable() +typedef int ImGuiSliderFlags; // -> enum ImGuiSliderFlags_ // Flags: for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. +typedef int ImGuiTabBarFlags; // -> enum ImGuiTabBarFlags_ // Flags: for BeginTabBar() +typedef int ImGuiTabItemFlags; // -> enum ImGuiTabItemFlags_ // Flags: for BeginTabItem() +typedef int ImGuiTableFlags; // -> enum ImGuiTableFlags_ // Flags: For BeginTable() +typedef int ImGuiTableColumnFlags; // -> enum ImGuiTableColumnFlags_// Flags: For TableSetupColumn() +typedef int ImGuiTableRowFlags; // -> enum ImGuiTableRowFlags_ // Flags: For TableNextRow() +typedef int ImGuiTreeNodeFlags; // -> enum ImGuiTreeNodeFlags_ // Flags: for TreeNode(), TreeNodeEx(), CollapsingHeader() +typedef int ImGuiViewportFlags; // -> enum ImGuiViewportFlags_ // Flags: for ImGuiViewport +typedef int ImGuiWindowFlags; // -> enum ImGuiWindowFlags_ // Flags: for Begin(), BeginChild() + +// ImTexture: user data for renderer backend to identify a texture [Compile-time configurable type] +// - To use something else than an opaque void* pointer: override with e.g. '#define ImTextureID MyTextureType*' in your imconfig.h file. +// - This can be whatever to you want it to be! read the FAQ about ImTextureID for details. +// - You can make this a structure with various constructors if you need. You will have to implement ==/!= operators. +// - (note: before v1.91.4 (2024/10/08) the default type for ImTextureID was void*. Use intermediary intptr_t cast and read FAQ if you have casting warnings) +#ifndef ImTextureID +typedef ImU64 ImTextureID; // Default: store a pointer or an integer fitting in a pointer (most renderer backends are ok with that) +#endif + +// ImDrawIdx: vertex index. [Compile-time configurable type] +// - To use 16-bit indices + allow large meshes: backend need to set 'io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset' and handle ImDrawCmd::VtxOffset (recommended). +// - To use 32-bit indices: override with '#define ImDrawIdx unsigned int' in your imconfig.h file. +#ifndef ImDrawIdx +typedef unsigned short ImDrawIdx; // Default: 16-bit (for maximum compatibility with renderer backends) +#endif + +// Character types +// (we generally use UTF-8 encoded string in the API. This is storage specifically for a decoded character used for keyboard input and display) +typedef unsigned int ImWchar32; // A single decoded U32 character/code point. We encode them as multi bytes UTF-8 when used in strings. +typedef unsigned short ImWchar16; // A single decoded U16 character/code point. We encode them as multi bytes UTF-8 when used in strings. +#ifdef IMGUI_USE_WCHAR32 // ImWchar [configurable type: override in imconfig.h with '#define IMGUI_USE_WCHAR32' to support Unicode planes 1-16] +typedef ImWchar32 ImWchar; +#else +typedef ImWchar16 ImWchar; +#endif + +// Multi-Selection item index or identifier when using BeginMultiSelect() +// - Used by SetNextItemSelectionUserData() + and inside ImGuiMultiSelectIO structure. +// - Most users are likely to use this store an item INDEX but this may be used to store a POINTER/ID as well. Read comments near ImGuiMultiSelectIO for details. +typedef ImS64 ImGuiSelectionUserData; + +// Callback and functions types +typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data); // Callback function for ImGui::InputText() +typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); // Callback function for ImGui::SetNextWindowSizeConstraints() +typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data); // Function signature for ImGui::SetAllocatorFunctions() +typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data); // Function signature for ImGui::SetAllocatorFunctions() + +// ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type] +// - This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type. +// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4. +IM_MSVC_RUNTIME_CHECKS_OFF +struct ImVec2 +{ + float x, y; + constexpr ImVec2() : x(0.0f), y(0.0f) { } + constexpr ImVec2(float _x, float _y) : x(_x), y(_y) { } + float& operator[] (size_t idx) { IM_ASSERT(idx == 0 || idx == 1); return ((float*)(void*)(char*)this)[idx]; } // We very rarely use this [] operator, so the assert overhead is fine. + float operator[] (size_t idx) const { IM_ASSERT(idx == 0 || idx == 1); return ((const float*)(const void*)(const char*)this)[idx]; } +#ifdef IM_VEC2_CLASS_EXTRA + IM_VEC2_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec2. +#endif +}; + +// ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type] +struct ImVec4 +{ + float x, y, z, w; + constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { } + constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { } +#ifdef IM_VEC4_CLASS_EXTRA + IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. +#endif +}; +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] Dear ImGui end-user API functions +// (Note that ImGui:: being a namespace, you can add extra ImGui:: functions in your own separate file. Please don't modify imgui source files!) +//----------------------------------------------------------------------------- + +namespace ImGui +{ + // Context creation and access + // - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts. + // - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() + // for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for details. + IMGUI_API ImGuiContext* CreateContext(ImFontAtlas* shared_font_atlas = NULL); + IMGUI_API void DestroyContext(ImGuiContext* ctx = NULL); // NULL = destroy current context + IMGUI_API ImGuiContext* GetCurrentContext(); + IMGUI_API void SetCurrentContext(ImGuiContext* ctx); + + // Main + IMGUI_API ImGuiIO& GetIO(); // access the ImGuiIO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags) + IMGUI_API ImGuiPlatformIO& GetPlatformIO(); // access the ImGuiPlatformIO structure (mostly hooks/functions to connect to platform/renderer and OS Clipboard, IME etc.) + IMGUI_API ImGuiStyle& GetStyle(); // access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame! + IMGUI_API void NewFrame(); // start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame(). + IMGUI_API void EndFrame(); // ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all! + IMGUI_API void Render(); // ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData(). + IMGUI_API ImDrawData* GetDrawData(); // valid after Render() and until the next call to NewFrame(). this is what you have to render. + + // Demo, Debug, Information + IMGUI_API void ShowDemoWindow(bool* p_open = NULL); // create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! + IMGUI_API void ShowMetricsWindow(bool* p_open = NULL); // create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. + IMGUI_API void ShowDebugLogWindow(bool* p_open = NULL); // create Debug Log window. display a simplified log of important dear imgui events. + IMGUI_API void ShowIDStackToolWindow(bool* p_open = NULL); // create Stack Tool window. hover items with mouse to query information about the source of their unique ID. + IMGUI_API void ShowAboutWindow(bool* p_open = NULL); // create About window. display Dear ImGui version, credits and build/system information. + IMGUI_API void ShowStyleEditor(ImGuiStyle* ref = NULL); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) + IMGUI_API bool ShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. + IMGUI_API void ShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. + IMGUI_API void ShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). + IMGUI_API const char* GetVersion(); // get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) + + // Styles + IMGUI_API void StyleColorsDark(ImGuiStyle* dst = NULL); // new, recommended style (default) + IMGUI_API void StyleColorsLight(ImGuiStyle* dst = NULL); // best used with borders and a custom, thicker font + IMGUI_API void StyleColorsClassic(ImGuiStyle* dst = NULL); // classic imgui style + + // Windows + // - Begin() = push window to the stack and start appending to it. End() = pop window from the stack. + // - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window, + // which clicking will set the boolean to false when clicked. + // - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times. + // Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin(). + // - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting + // anything to the window. Always call a matching End() for each Begin() call, regardless of its return value! + // [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions + // such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding + // BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.] + // - Note that the bottom of window stack always contains a window called "Debug". + IMGUI_API bool Begin(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0); + IMGUI_API void End(); + + // Child Windows + // - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child. + // - Before 1.90 (November 2023), the "ImGuiChildFlags child_flags = 0" parameter was "bool border = false". + // This API is backward compatible with old code, as we guarantee that ImGuiChildFlags_Borders == true. + // Consider updating your old code: + // BeginChild("Name", size, false) -> Begin("Name", size, 0); or Begin("Name", size, ImGuiChildFlags_None); + // BeginChild("Name", size, true) -> Begin("Name", size, ImGuiChildFlags_Borders); + // - Manual sizing (each axis can use a different setting e.g. ImVec2(0.0f, 400.0f)): + // == 0.0f: use remaining parent window size for this axis. + // > 0.0f: use specified size for this axis. + // < 0.0f: right/bottom-align to specified distance from available content boundaries. + // - Specifying ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY makes the sizing automatic based on child contents. + // Combining both ImGuiChildFlags_AutoResizeX _and_ ImGuiChildFlags_AutoResizeY defeats purpose of a scrolling region and is NOT recommended. + // - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting + // anything to the window. Always call a matching EndChild() for each BeginChild() call, regardless of its return value. + // [Important: due to legacy reason, Begin/End and BeginChild/EndChild are inconsistent with all other functions + // such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding + // BeginXXX function returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.] + IMGUI_API bool BeginChild(const char* str_id, const ImVec2& size = ImVec2(0, 0), ImGuiChildFlags child_flags = 0, ImGuiWindowFlags window_flags = 0); + IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2(0, 0), ImGuiChildFlags child_flags = 0, ImGuiWindowFlags window_flags = 0); + IMGUI_API void EndChild(); + + // Windows Utilities + // - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into. + IMGUI_API bool IsWindowAppearing(); + IMGUI_API bool IsWindowCollapsed(); + IMGUI_API bool IsWindowFocused(ImGuiFocusedFlags flags=0); // is current window focused? or its root/child, depending on flags. see flags for options. + IMGUI_API bool IsWindowHovered(ImGuiHoveredFlags flags=0); // is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. + IMGUI_API ImDrawList* GetWindowDrawList(); // get draw list associated to the current window, to append your own drawing primitives + IMGUI_API ImVec2 GetWindowPos(); // get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead) + IMGUI_API ImVec2 GetWindowSize(); // get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead) + IMGUI_API float GetWindowWidth(); // get current window width (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().x. + IMGUI_API float GetWindowHeight(); // get current window height (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().y. + + // Window manipulation + // - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin). + IMGUI_API void SetNextWindowPos(const ImVec2& pos, ImGuiCond cond = 0, const ImVec2& pivot = ImVec2(0, 0)); // set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. + IMGUI_API void SetNextWindowSize(const ImVec2& size, ImGuiCond cond = 0); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() + IMGUI_API void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback = NULL, void* custom_callback_data = NULL); // set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. + IMGUI_API void SetNextWindowContentSize(const ImVec2& size); // set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() + IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond = 0); // set next window collapsed state. call before Begin() + IMGUI_API void SetNextWindowFocus(); // set next window to be focused / top-most. call before Begin() + IMGUI_API void SetNextWindowScroll(const ImVec2& scroll); // set next window scrolling value (use < 0.0f to not affect a given axis). + IMGUI_API void SetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground. + IMGUI_API void SetWindowPos(const ImVec2& pos, ImGuiCond cond = 0); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. + IMGUI_API void SetWindowSize(const ImVec2& size, ImGuiCond cond = 0); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. + IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond = 0); // (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). + IMGUI_API void SetWindowFocus(); // (not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus(). + IMGUI_API void SetWindowFontScale(float scale); // [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes(). + IMGUI_API void SetWindowPos(const char* name, const ImVec2& pos, ImGuiCond cond = 0); // set named window position. + IMGUI_API void SetWindowSize(const char* name, const ImVec2& size, ImGuiCond cond = 0); // set named window size. set axis to 0.0f to force an auto-fit on this axis. + IMGUI_API void SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond = 0); // set named window collapsed state + IMGUI_API void SetWindowFocus(const char* name); // set named window to be focused / top-most. use NULL to remove focus. + + // Windows Scrolling + // - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin(). + // - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY(). + IMGUI_API float GetScrollX(); // get scrolling amount [0 .. GetScrollMaxX()] + IMGUI_API float GetScrollY(); // get scrolling amount [0 .. GetScrollMaxY()] + IMGUI_API void SetScrollX(float scroll_x); // set scrolling amount [0 .. GetScrollMaxX()] + IMGUI_API void SetScrollY(float scroll_y); // set scrolling amount [0 .. GetScrollMaxY()] + IMGUI_API float GetScrollMaxX(); // get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x + IMGUI_API float GetScrollMaxY(); // get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y + IMGUI_API void SetScrollHereX(float center_x_ratio = 0.5f); // adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. + IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. + IMGUI_API void SetScrollFromPosX(float local_x, float center_x_ratio = 0.5f); // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. + IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio = 0.5f); // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. + + // Parameters stacks (shared) + IMGUI_API void PushFont(ImFont* font); // use NULL as a shortcut to push default font + IMGUI_API void PopFont(); + IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col); // modify a style color. always use this if you modify the style after NewFrame(). + IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col); + IMGUI_API void PopStyleColor(int count = 1); + IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val); // modify a style float variable. always use this if you modify the style after NewFrame()! + IMGUI_API void PushStyleVar(ImGuiStyleVar idx, const ImVec2& val); // modify a style ImVec2 variable. " + IMGUI_API void PushStyleVarX(ImGuiStyleVar idx, float val_x); // modify X component of a style ImVec2 variable. " + IMGUI_API void PushStyleVarY(ImGuiStyleVar idx, float val_y); // modify Y component of a style ImVec2 variable. " + IMGUI_API void PopStyleVar(int count = 1); + IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled); // modify specified shared item flag, e.g. PushItemFlag(ImGuiItemFlags_NoTabStop, true) + IMGUI_API void PopItemFlag(); + + // Parameters stacks (current window) + IMGUI_API void PushItemWidth(float item_width); // push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side). + IMGUI_API void PopItemWidth(); + IMGUI_API void SetNextItemWidth(float item_width); // set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side) + IMGUI_API float CalcItemWidth(); // width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions. + IMGUI_API void PushTextWrapPos(float wrap_local_pos_x = 0.0f); // push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space + IMGUI_API void PopTextWrapPos(); + + // Style read access + // - Use the ShowStyleEditor() function to interactively see/edit the colors. + IMGUI_API ImFont* GetFont(); // get current font + IMGUI_API float GetFontSize(); // get current font size (= height in pixels) of current font with current scale applied + IMGUI_API ImVec2 GetFontTexUvWhitePixel(); // get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API + IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList + IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList + IMGUI_API ImU32 GetColorU32(ImU32 col, float alpha_mul = 1.0f); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList + IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. + + // Layout cursor positioning + // - By "cursor" we mean the current output position. + // - The typical widget behavior is to output themselves at the current cursor position, then move the cursor one line down. + // - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget. + // - YOU CAN DO 99% OF WHAT YOU NEED WITH ONLY GetCursorScreenPos() and GetContentRegionAvail(). + // - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API: + // - Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. -> this is the preferred way forward. + // - Window-local coordinates: SameLine(offset), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), PushTextWrapPos() + // - Window-local coordinates: GetContentRegionMax(), GetWindowContentRegionMin(), GetWindowContentRegionMax() --> all obsoleted. YOU DON'T NEED THEM. + // - GetCursorScreenPos() = GetCursorPos() + GetWindowPos(). GetWindowPos() is almost only ever useful to convert from window-local to absolute coordinates. Try not to use it. + IMGUI_API ImVec2 GetCursorScreenPos(); // cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API). + IMGUI_API void SetCursorScreenPos(const ImVec2& pos); // cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND. + IMGUI_API ImVec2 GetContentRegionAvail(); // available space from current position. THIS IS YOUR BEST FRIEND. + IMGUI_API ImVec2 GetCursorPos(); // [window-local] cursor position in window-local coordinates. This is not your best friend. + IMGUI_API float GetCursorPosX(); // [window-local] " + IMGUI_API float GetCursorPosY(); // [window-local] " + IMGUI_API void SetCursorPos(const ImVec2& local_pos); // [window-local] " + IMGUI_API void SetCursorPosX(float local_x); // [window-local] " + IMGUI_API void SetCursorPosY(float local_y); // [window-local] " + IMGUI_API ImVec2 GetCursorStartPos(); // [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version. + + // Other layout functions + IMGUI_API void Separator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. + IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f); // call between widgets or groups to layout them horizontally. X position given in window coordinates. + IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in a horizontal-layout context. + IMGUI_API void Spacing(); // add vertical spacing. + IMGUI_API void Dummy(const ImVec2& size); // add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. + IMGUI_API void Indent(float indent_w = 0.0f); // move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0 + IMGUI_API void Unindent(float indent_w = 0.0f); // move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0 + IMGUI_API void BeginGroup(); // lock horizontal starting position + IMGUI_API void EndGroup(); // unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) + IMGUI_API void AlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) + IMGUI_API float GetTextLineHeight(); // ~ FontSize + IMGUI_API float GetTextLineHeightWithSpacing(); // ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) + IMGUI_API float GetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 + IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) + + // ID stack/scopes + // Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui. + // - Those questions are answered and impacted by understanding of the ID stack system: + // - "Q: Why is my widget not reacting when I click on it?" + // - "Q: How can I have widgets with an empty label?" + // - "Q: How can I have multiple widgets with the same label?" + // - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely + // want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them. + // - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others. + // - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID, + // whereas "str_id" denote a string that is only used as an ID and not normally displayed. + IMGUI_API void PushID(const char* str_id); // push string into the ID stack (will hash string). + IMGUI_API void PushID(const char* str_id_begin, const char* str_id_end); // push string into the ID stack (will hash string). + IMGUI_API void PushID(const void* ptr_id); // push pointer into the ID stack (will hash pointer). + IMGUI_API void PushID(int int_id); // push integer into the ID stack (will hash integer). + IMGUI_API void PopID(); // pop from the ID stack. + IMGUI_API ImGuiID GetID(const char* str_id); // calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself + IMGUI_API ImGuiID GetID(const char* str_id_begin, const char* str_id_end); + IMGUI_API ImGuiID GetID(const void* ptr_id); + IMGUI_API ImGuiID GetID(int int_id); + + // Widgets: Text + IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); // raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. + IMGUI_API void Text(const char* fmt, ...) IM_FMTARGS(1); // formatted text + IMGUI_API void TextV(const char* fmt, va_list args) IM_FMTLIST(1); + IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS(2); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); + IMGUI_API void TextColoredV(const ImVec4& col, const char* fmt, va_list args) IM_FMTLIST(2); + IMGUI_API void TextDisabled(const char* fmt, ...) IM_FMTARGS(1); // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); + IMGUI_API void TextDisabledV(const char* fmt, va_list args) IM_FMTLIST(1); + IMGUI_API void TextWrapped(const char* fmt, ...) IM_FMTARGS(1); // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). + IMGUI_API void TextWrappedV(const char* fmt, va_list args) IM_FMTLIST(1); + IMGUI_API void LabelText(const char* label, const char* fmt, ...) IM_FMTARGS(2); // display text+label aligned the same way as value+label widgets + IMGUI_API void LabelTextV(const char* label, const char* fmt, va_list args) IM_FMTLIST(2); + IMGUI_API void BulletText(const char* fmt, ...) IM_FMTARGS(1); // shortcut for Bullet()+Text() + IMGUI_API void BulletTextV(const char* fmt, va_list args) IM_FMTLIST(1); + IMGUI_API void SeparatorText(const char* label); // currently: formatted text with an horizontal line + + // Widgets: Main + // - Most widgets return true when the value has been changed or when pressed/selected + // - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state. + IMGUI_API bool Button(const char* label, const ImVec2& size = ImVec2(0, 0)); // button + IMGUI_API bool SmallButton(const char* label); // button with (FramePadding.y == 0) to easily embed within text + IMGUI_API bool InvisibleButton(const char* str_id, const ImVec2& size, ImGuiButtonFlags flags = 0); // flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) + IMGUI_API bool ArrowButton(const char* str_id, ImGuiDir dir); // square button with an arrow shape + IMGUI_API bool Checkbox(const char* label, bool* v); + IMGUI_API bool CheckboxFlags(const char* label, int* flags, int flags_value); + IMGUI_API bool CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_value); + IMGUI_API bool RadioButton(const char* label, bool active); // use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; } + IMGUI_API bool RadioButton(const char* label, int* v, int v_button); // shortcut to handle the above pattern when value is an integer + IMGUI_API void ProgressBar(float fraction, const ImVec2& size_arg = ImVec2(-FLT_MIN, 0), const char* overlay = NULL); + IMGUI_API void Bullet(); // draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses + IMGUI_API bool TextLink(const char* label); // hyperlink text button, return true when clicked + IMGUI_API void TextLinkOpenURL(const char* label, const char* url = NULL); // hyperlink text button, automatically open file/url when clicked + + // Widgets: Images + // - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples + // - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above. + // - Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side. + // - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified. + IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1)); + IMGUI_API void ImageWithBg(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); + IMGUI_API bool ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); + + // Widgets: Combo Box (Dropdown) + // - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. + // - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. + IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags = 0); + IMGUI_API void EndCombo(); // only call EndCombo() if BeginCombo() returns true! + IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1); + IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items = -1); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" + IMGUI_API bool Combo(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items = -1); + + // Widgets: Drag Sliders + // - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. + // - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every function, note that a 'float v[X]' function argument is the same as 'float* v', + // the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // - Format string may also be set to NULL or use the default format ("%f" or "%d"). + // - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For keyboard/gamepad navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). + // - Use v_min < v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used. + // - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum. + // - We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. + // - Legacy: Pre-1.78 there are DragXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 + IMGUI_API bool DragFloat(const char* label, float* v, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // If v_min >= v_max we have no bound + IMGUI_API bool DragFloat2(const char* label, float v[2], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragFloat3(const char* label, float v[3], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragFloat4(const char* label, float v[4], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragFloatRange2(const char* label, float* v_current_min, float* v_current_max, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", const char* format_max = NULL, ImGuiSliderFlags flags = 0); + IMGUI_API bool DragInt(const char* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* format = "%d", ImGuiSliderFlags flags = 0); // If v_min >= v_max we have no bound + IMGUI_API bool DragInt2(const char* label, int v[2], float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragInt3(const char* label, int v[3], float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragInt4(const char* label, int v[4], float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* format = "%d", const char* format_max = NULL, ImGuiSliderFlags flags = 0); + IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed = 1.0f, const void* p_min = NULL, const void* p_max = NULL, const char* format = NULL, ImGuiSliderFlags flags = 0); + IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed = 1.0f, const void* p_min = NULL, const void* p_max = NULL, const char* format = NULL, ImGuiSliderFlags flags = 0); + + // Widgets: Regular Sliders + // - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. + // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. + // - Format string may also be set to NULL or use the default format ("%f" or "%d"). + // - Legacy: Pre-1.78 there are SliderXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 + IMGUI_API bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. + IMGUI_API bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderAngle(const char* label, float* v_rad, float v_degrees_min = -360.0f, float v_degrees_max = +360.0f, const char* format = "%.0f deg", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderInt(const char* label, int* v, int v_min, int v_max, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderInt2(const char* label, int v[2], int v_min, int v_max, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderInt3(const char* label, int v[3], int v_min, int v_max, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderInt4(const char* label, int v[4], int v_min, int v_max, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format = NULL, ImGuiSliderFlags flags = 0); + IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format = NULL, ImGuiSliderFlags flags = 0); + IMGUI_API bool VSliderFloat(const char* label, const ImVec2& size, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); + IMGUI_API bool VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, int v_max, const char* format = "%d", ImGuiSliderFlags flags = 0); + IMGUI_API bool VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format = NULL, ImGuiSliderFlags flags = 0); + + // Widgets: Input with Keyboard + // - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp. + // - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc. + IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); + IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_size, const ImVec2& size = ImVec2(0, 0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); + IMGUI_API bool InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); + IMGUI_API bool InputFloat(const char* label, float* v, float step = 0.0f, float step_fast = 0.0f, const char* format = "%.3f", ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputFloat2(const char* label, float v[2], const char* format = "%.3f", ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputFloat3(const char* label, float v[3], const char* format = "%.3f", ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputFloat4(const char* label, float v[4], const char* format = "%.3f", ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputInt(const char* label, int* v, int step = 1, int step_fast = 100, ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputInt3(const char* label, int v[3], ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputInt4(const char* label, int v[4], ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputDouble(const char* label, double* v, double step = 0.0, double step_fast = 0.0, const char* format = "%.6f", ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_step = NULL, const void* p_step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0); + IMGUI_API bool InputScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_step = NULL, const void* p_step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0); + + // Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little color square that can be left-clicked to open a picker, and right-clicked to open an option menu.) + // - Note that in C++ a 'float v[X]' function argument is the _same_ as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. + // - You can pass the address of a first float element out of a contiguous structure, e.g. &myvector.x + IMGUI_API bool ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags = 0); + IMGUI_API bool ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0); + IMGUI_API bool ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags = 0); + IMGUI_API bool ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags = 0, const float* ref_col = NULL); + IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags = 0, const ImVec2& size = ImVec2(0, 0)); // display a color square/button, hover for details, return true when pressed. + IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. + + // Widgets: Trees + // - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents. + IMGUI_API bool TreeNode(const char* label); + IMGUI_API bool TreeNode(const char* str_id, const char* fmt, ...) IM_FMTARGS(2); // helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). + IMGUI_API bool TreeNode(const void* ptr_id, const char* fmt, ...) IM_FMTARGS(2); // " + IMGUI_API bool TreeNodeV(const char* str_id, const char* fmt, va_list args) IM_FMTLIST(2); + IMGUI_API bool TreeNodeV(const void* ptr_id, const char* fmt, va_list args) IM_FMTLIST(2); + IMGUI_API bool TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags = 0); + IMGUI_API bool TreeNodeEx(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) IM_FMTARGS(3); + IMGUI_API bool TreeNodeEx(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) IM_FMTARGS(3); + IMGUI_API bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); + IMGUI_API bool TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); + IMGUI_API void TreePush(const char* str_id); // ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. + IMGUI_API void TreePush(const void* ptr_id); // " + IMGUI_API void TreePop(); // ~ Unindent()+PopID() + IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode + IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). + IMGUI_API bool CollapsingHeader(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags = 0); // when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. + IMGUI_API void SetNextItemOpen(bool is_open, ImGuiCond cond = 0); // set next TreeNode/CollapsingHeader open state. + IMGUI_API void SetNextItemStorageID(ImGuiID storage_id); // set id to use for open/close storage (default to same as item id). + + // Widgets: Selectables + // - A selectable highlights when hovered, and can display another color when selected. + // - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous. + IMGUI_API bool Selectable(const char* label, bool selected = false, ImGuiSelectableFlags flags = 0, const ImVec2& size = ImVec2(0, 0)); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height + IMGUI_API bool Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags = 0, const ImVec2& size = ImVec2(0, 0)); // "bool* p_selected" point to the selection state (read-write), as a convenient helper. + + // Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA] + // - This enables standard multi-selection/range-selection idioms (CTRL+Mouse/Keyboard, SHIFT+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used. + // - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else). + // - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo->Widgets->Selection State & Multi-Select' for demo. + // - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree, + // which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo. + // - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them. + IMGUI_API ImGuiMultiSelectIO* BeginMultiSelect(ImGuiMultiSelectFlags flags, int selection_size = -1, int items_count = -1); + IMGUI_API ImGuiMultiSelectIO* EndMultiSelect(); + IMGUI_API void SetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data); + IMGUI_API bool IsItemToggledSelection(); // Was the last item selection state toggled? Useful if you need the per-item information _before_ reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly. + + // Widgets: List Boxes + // - This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label. + // - If you don't need a label you can probably simply use BeginChild() with the ImGuiChildFlags_FrameStyle flag for the same result. + // - You can submit contents and manage your selection state however you want it, by creating e.g. Selectable() or any other items. + // - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analoguous to how Combos are created. + // - Choose frame width: size.x > 0.0f: custom / size.x < 0.0f or -FLT_MIN: right-align / size.x = 0.0f (default): use current ItemWidth + // - Choose frame height: size.y > 0.0f: custom / size.y < 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items + IMGUI_API bool BeginListBox(const char* label, const ImVec2& size = ImVec2(0, 0)); // open a framed scrolling region + IMGUI_API void EndListBox(); // only call EndListBox() if BeginListBox() returned true! + IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items = -1); + IMGUI_API bool ListBox(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int height_in_items = -1); + + // Widgets: Data Plotting + // - Consider using ImPlot (https://github.com/epezent/implot) which is much better! + IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0), int stride = sizeof(float)); + IMGUI_API void PlotLines(const char* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0)); + IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0), int stride = sizeof(float)); + IMGUI_API void PlotHistogram(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0)); + + // Widgets: Value() Helpers. + // - Those are merely shortcut to calling Text() with a format string. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace) + IMGUI_API void Value(const char* prefix, bool b); + IMGUI_API void Value(const char* prefix, int v); + IMGUI_API void Value(const char* prefix, unsigned int v); + IMGUI_API void Value(const char* prefix, float v, const char* float_format = NULL); + + // Widgets: Menus + // - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar. + // - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it. + // - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it. + // - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment. + IMGUI_API bool BeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). + IMGUI_API void EndMenuBar(); // only call EndMenuBar() if BeginMenuBar() returns true! + IMGUI_API bool BeginMainMenuBar(); // create and append to a full screen menu-bar. + IMGUI_API void EndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true! + IMGUI_API bool BeginMenu(const char* label, bool enabled = true); // create a sub-menu entry. only call EndMenu() if this returns true! + IMGUI_API void EndMenu(); // only call EndMenu() if BeginMenu() returns true! + IMGUI_API bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = false, bool enabled = true); // return true when activated. + IMGUI_API bool MenuItem(const char* label, const char* shortcut, bool* p_selected, bool enabled = true); // return true when activated + toggle (*p_selected) if p_selected != NULL + + // Tooltips + // - Tooltips are windows following the mouse. They do not take focus away. + // - A tooltip window can contain items of any types. + // - SetTooltip() is more or less a shortcut for the 'if (BeginTooltip()) { Text(...); EndTooltip(); }' idiom (with a subtlety that it discard any previously submitted tooltip) + IMGUI_API bool BeginTooltip(); // begin/append a tooltip window. + IMGUI_API void EndTooltip(); // only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true! + IMGUI_API void SetTooltip(const char* fmt, ...) IM_FMTARGS(1); // set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip(). + IMGUI_API void SetTooltipV(const char* fmt, va_list args) IM_FMTLIST(1); + + // Tooltips: helpers for showing a tooltip when hovering an item + // - BeginItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip) && BeginTooltip())' idiom. + // - SetItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) { SetTooltip(...); }' idiom. + // - Where 'ImGuiHoveredFlags_ForTooltip' itself is a shortcut to use 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' depending on active input type. For mouse it defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'. + IMGUI_API bool BeginItemTooltip(); // begin/append a tooltip window if preceding item was hovered. + IMGUI_API void SetItemTooltip(const char* fmt, ...) IM_FMTARGS(1); // set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip(). + IMGUI_API void SetItemTooltipV(const char* fmt, va_list args) IM_FMTLIST(1); + + // Popups, Modals + // - They block normal mouse hovering detection (and therefore most mouse interactions) behind them. + // - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE. + // - Their visibility state (~bool) is held internally instead of being held by the programmer as we are used to with regular Begin*() calls. + // - The 3 properties above are related: we need to retain popup visibility state in the library because popups may be closed as any time. + // - You can bypass the hovering restriction by using ImGuiHoveredFlags_AllowWhenBlockedByPopup when calling IsItemHovered() or IsWindowHovered(). + // - IMPORTANT: Popup identifiers are relative to the current ID stack, so OpenPopup and BeginPopup generally needs to be at the same level of the stack. + // This is sometimes leading to confusing mistakes. May rework this in the future. + // - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards if returned true. ImGuiWindowFlags are forwarded to the window. + // - BeginPopupModal(): block every interaction behind the window, cannot be closed by user, add a dimming background, has a title bar. + IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); // return true if the popup is open, and you can start outputting to it. + IMGUI_API bool BeginPopupModal(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0); // return true if the modal is open, and you can start outputting to it. + IMGUI_API void EndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! + + // Popups: open/close functions + // - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options. + // - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE. + // - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually. + // - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options). + // - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup(). + // - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened. + // - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter + IMGUI_API void OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags = 0); // call to mark popup as open (don't call every frame!). + IMGUI_API void OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags = 0); // id overload to facilitate calling from nested stacks + IMGUI_API void OpenPopupOnItemClick(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) + IMGUI_API void CloseCurrentPopup(); // manually close the popup we have begin-ed into. + + // Popups: open+begin combined functions helpers + // - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking. + // - They are convenient to easily create context menus, hence the name. + // - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future. + // - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. + IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! + IMGUI_API bool BeginPopupContextWindow(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1);// open+begin popup when clicked on current window. + IMGUI_API bool BeginPopupContextVoid(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked in void (where there are no windows). + + // Popups: query functions + // - IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack. + // - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack. + // - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open. + IMGUI_API bool IsPopupOpen(const char* str_id, ImGuiPopupFlags flags = 0); // return true if the popup is open. + + // Tables + // - Full-featured replacement for old Columns API. + // - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary. + // - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags. + // The typical call flow is: + // - 1. Call BeginTable(), early out if returning false. + // - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults. + // - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows. + // - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data. + // - 5. Populate contents: + // - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column. + // - If you are using tables as a sort of grid, where every column is holding the same type of contents, + // you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex(). + // TableNextColumn() will automatically wrap-around into the next row if needed. + // - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column! + // - Summary of possible call flow: + // - TableNextRow() -> TableSetColumnIndex(0) -> Text("Hello 0") -> TableSetColumnIndex(1) -> Text("Hello 1") // OK + // - TableNextRow() -> TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK + // - TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK: TableNextColumn() automatically gets to next row! + // - TableNextRow() -> Text("Hello 0") // Not OK! Missing TableSetColumnIndex() or TableNextColumn()! Text will not appear! + // - 5. Call EndTable() + IMGUI_API bool BeginTable(const char* str_id, int columns, ImGuiTableFlags flags = 0, const ImVec2& outer_size = ImVec2(0.0f, 0.0f), float inner_width = 0.0f); + IMGUI_API void EndTable(); // only call EndTable() if BeginTable() returns true! + IMGUI_API void TableNextRow(ImGuiTableRowFlags row_flags = 0, float min_row_height = 0.0f); // append into the first cell of a new row. + IMGUI_API bool TableNextColumn(); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. + IMGUI_API bool TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. + + // Tables: Headers & Columns declaration + // - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc. + // - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column. + // Headers are required to perform: reordering, sorting, and opening the context menu. + // The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody. + // - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in + // some advanced use cases (e.g. adding custom widgets in header row). + // - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. + IMGUI_API void TableSetupColumn(const char* label, ImGuiTableColumnFlags flags = 0, float init_width_or_weight = 0.0f, ImGuiID user_id = 0); + IMGUI_API void TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. + IMGUI_API void TableHeader(const char* label); // submit one header cell manually (rarely used) + IMGUI_API void TableHeadersRow(); // submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu + IMGUI_API void TableAngledHeadersRow(); // submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW. + + // Tables: Sorting & Miscellaneous functions + // - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. + // When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have + // changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, + // else you may wastefully sort your data every frame! + // - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index. + IMGUI_API ImGuiTableSortSpecs* TableGetSortSpecs(); // get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). + IMGUI_API int TableGetColumnCount(); // return number of columns (value passed to BeginTable) + IMGUI_API int TableGetColumnIndex(); // return current column index. + IMGUI_API int TableGetRowIndex(); // return current row index. + IMGUI_API const char* TableGetColumnName(int column_n = -1); // return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. + IMGUI_API ImGuiTableColumnFlags TableGetColumnFlags(int column_n = -1); // return column flags so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column. + IMGUI_API void TableSetColumnEnabled(int column_n, bool v);// change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody) + IMGUI_API int TableGetHoveredColumn(); // return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead. + IMGUI_API void TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n = -1); // change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. + + // Legacy Columns API (prefer using Tables!) + // - You can also use SameLine(pos_x) to mimic simplified columns. + IMGUI_API void Columns(int count = 1, const char* id = NULL, bool borders = true); + IMGUI_API void NextColumn(); // next column, defaults to current row or next row if the current row is finished + IMGUI_API int GetColumnIndex(); // get current column index + IMGUI_API float GetColumnWidth(int column_index = -1); // get column width (in pixels). pass -1 to use current column + IMGUI_API void SetColumnWidth(int column_index, float width); // set column width (in pixels). pass -1 to use current column + IMGUI_API float GetColumnOffset(int column_index = -1); // get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f + IMGUI_API void SetColumnOffset(int column_index, float offset_x); // set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column + IMGUI_API int GetColumnsCount(); + + // Tab Bars, Tabs + // - Note: Tabs are automatically created by the docking system (when in 'docking' branch). Use this to create tab bars/tabs yourself. + IMGUI_API bool BeginTabBar(const char* str_id, ImGuiTabBarFlags flags = 0); // create and append into a TabBar + IMGUI_API void EndTabBar(); // only call EndTabBar() if BeginTabBar() returns true! + IMGUI_API bool BeginTabItem(const char* label, bool* p_open = NULL, ImGuiTabItemFlags flags = 0); // create a Tab. Returns true if the Tab is selected. + IMGUI_API void EndTabItem(); // only call EndTabItem() if BeginTabItem() returns true! + IMGUI_API bool TabItemButton(const char* label, ImGuiTabItemFlags flags = 0); // create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. + IMGUI_API void SetTabItemClosed(const char* tab_or_docked_window_label); // notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name. + + // Logging/Capture + // - All text output from the interface can be captured into tty/file/clipboard. By default, tree nodes are automatically opened during logging. + IMGUI_API void LogToTTY(int auto_open_depth = -1); // start logging to tty (stdout) + IMGUI_API void LogToFile(int auto_open_depth = -1, const char* filename = NULL); // start logging to file + IMGUI_API void LogToClipboard(int auto_open_depth = -1); // start logging to OS clipboard + IMGUI_API void LogFinish(); // stop logging (close file, etc.) + IMGUI_API void LogButtons(); // helper to display buttons for logging to tty/file/clipboard + IMGUI_API void LogText(const char* fmt, ...) IM_FMTARGS(1); // pass text data straight to log (without being displayed) + IMGUI_API void LogTextV(const char* fmt, va_list args) IM_FMTLIST(1); + + // Drag and Drop + // - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource(). + // - On target candidates, call BeginDragDropTarget(), if it returns true also call AcceptDragDropPayload() + EndDragDropTarget(). + // - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725) + // - An item can be both drag source and drop target. + IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); // call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource() + IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. + IMGUI_API void EndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! + IMGUI_API bool BeginDragDropTarget(); // call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() + IMGUI_API const ImGuiPayload* AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags = 0); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. + IMGUI_API void EndDragDropTarget(); // only call EndDragDropTarget() if BeginDragDropTarget() returns true! + IMGUI_API const ImGuiPayload* GetDragDropPayload(); // peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type. + + // Disabling [BETA API] + // - Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) + // - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled) + // - Tooltips windows by exception are opted out of disabling. + // - BeginDisabled(false)/EndDisabled() essentially does nothing but is provided to facilitate use of boolean expressions (as a micro-optimization: if you have tens of thousands of BeginDisabled(false)/EndDisabled() pairs, you might want to reformulate your code to avoid making those calls) + IMGUI_API void BeginDisabled(bool disabled = true); + IMGUI_API void EndDisabled(); + + // Clipping + // - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only. + IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect); + IMGUI_API void PopClipRect(); + + // Focus, Activation + IMGUI_API void SetItemDefaultFocus(); // make last item the default focused item of a newly appearing window. + IMGUI_API void SetKeyboardFocusHere(int offset = 0); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. + + // Keyboard/Gamepad Navigation + IMGUI_API void SetNavCursorVisible(bool visible); // alter visibility of keyboard/gamepad cursor. by default: show when using an arrow key, hide when clicking with mouse. + + // Overlapping mode + IMGUI_API void SetNextItemAllowOverlap(); // allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this. + + // Item/Widgets Utilities and Query Functions + // - Most of the functions are referring to the previous Item that has been submitted. + // - See Demo Window under "Widgets->Querying Status" for an interactive visualization of most of those functions. + IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags = 0); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. + IMGUI_API bool IsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) + IMGUI_API bool IsItemFocused(); // is the last item focused for keyboard/gamepad navigation? + IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button = 0); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. + IMGUI_API bool IsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) + IMGUI_API bool IsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. + IMGUI_API bool IsItemActivated(); // was the last item just made active (item was previously inactive). + IMGUI_API bool IsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. + IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). + IMGUI_API bool IsItemToggledOpen(); // was the last item open state toggled? set by TreeNode(). + IMGUI_API bool IsAnyItemHovered(); // is any item hovered? + IMGUI_API bool IsAnyItemActive(); // is any item active? + IMGUI_API bool IsAnyItemFocused(); // is any item focused? + IMGUI_API ImGuiID GetItemID(); // get ID of last item (~~ often same ImGui::GetID(label) beforehand) + IMGUI_API ImVec2 GetItemRectMin(); // get upper-left bounding rectangle of the last item (screen space) + IMGUI_API ImVec2 GetItemRectMax(); // get lower-right bounding rectangle of the last item (screen space) + IMGUI_API ImVec2 GetItemRectSize(); // get size of last item + + // Viewports + // - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. + // - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports. + // - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. + IMGUI_API ImGuiViewport* GetMainViewport(); // return primary/default viewport. This can never be NULL. + + // Background/Foreground Draw Lists + IMGUI_API ImDrawList* GetBackgroundDrawList(); // this draw list will be the first rendered one. Useful to quickly draw shapes/text behind dear imgui contents. + IMGUI_API ImDrawList* GetForegroundDrawList(); // this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. + + // Miscellaneous Utilities + IMGUI_API bool IsRectVisible(const ImVec2& size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. + IMGUI_API bool IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. + IMGUI_API double GetTime(); // get global imgui time. incremented by io.DeltaTime every frame. + IMGUI_API int GetFrameCount(); // get global imgui frame count. incremented by 1 every frame. + IMGUI_API ImDrawListSharedData* GetDrawListSharedData(); // you may use this when creating your own ImDrawList instances. + IMGUI_API const char* GetStyleColorName(ImGuiCol idx); // get a string corresponding to the enum value (for display, saving, etc.). + IMGUI_API void SetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) + IMGUI_API ImGuiStorage* GetStateStorage(); + + // Text Utilities + IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f); + + // Color Utilities + IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in); + IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in); + IMGUI_API void ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s, float& out_v); + IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g, float& out_b); + + // Inputs Utilities: Keyboard/Mouse/Gamepad + // - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...). + // - (legacy: before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. This was obsoleted in 1.87 (2022-02) and completely removed in 1.91.5 (2024-11). See https://github.com/ocornut/imgui/issues/4921) + // - (legacy: any use of ImGuiKey will assert when key < 512 to detect passing legacy native/user indices) + IMGUI_API bool IsKeyDown(ImGuiKey key); // is key being held. + IMGUI_API bool IsKeyPressed(ImGuiKey key, bool repeat = true); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate + IMGUI_API bool IsKeyReleased(ImGuiKey key); // was key released (went from Down to !Down)? + IMGUI_API bool IsKeyChordPressed(ImGuiKeyChord key_chord); // was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead. + IMGUI_API int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate + IMGUI_API const char* GetKeyName(ImGuiKey key); // [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. + IMGUI_API void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); // Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. + + // Inputs Utilities: Shortcut Testing & Routing [BETA] + // - ImGuiKeyChord = a ImGuiKey + optional ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super. + // ImGuiKey_C // Accepted by functions taking ImGuiKey or ImGuiKeyChord arguments) + // ImGuiMod_Ctrl | ImGuiKey_C // Accepted by functions taking ImGuiKeyChord arguments) + // only ImGuiMod_XXX values are legal to combine with an ImGuiKey. You CANNOT combine two ImGuiKey values. + // - The general idea is that several callers may register interest in a shortcut, and only one owner gets it. + // Parent -> call Shortcut(Ctrl+S) // When Parent is focused, Parent gets the shortcut. + // Child1 -> call Shortcut(Ctrl+S) // When Child1 is focused, Child1 gets the shortcut (Child1 overrides Parent shortcuts) + // Child2 -> no call // When Child2 is focused, Parent gets the shortcut. + // The whole system is order independent, so if Child1 makes its calls before Parent, results will be identical. + // This is an important property as it facilitate working with foreign code or larger codebase. + // - To understand the difference: + // - IsKeyChordPressed() compares mods and call IsKeyPressed() -> function has no side-effect. + // - Shortcut() submits a route, routes are resolved, if it currently can be routed it calls IsKeyChordPressed() -> function has (desirable) side-effects as it can prevents another call from getting the route. + // - Visualize registered routes in 'Metrics/Debugger->Inputs'. + IMGUI_API bool Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags = 0); + IMGUI_API void SetNextItemShortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags = 0); + + // Inputs Utilities: Key/Input Ownership [BETA] + // - One common use case would be to allow your items to disable standard inputs behaviors such + // as Tab or Alt key handling, Mouse Wheel scrolling, etc. + // e.g. Button(...); SetItemKeyOwner(ImGuiKey_MouseWheelY); to make hovering/activating a button disable wheel for scrolling. + // - Reminder ImGuiKey enum include access to mouse buttons and gamepad, so key ownership can apply to them. + // - Many related features are still in imgui_internal.h. For instance, most IsKeyXXX()/IsMouseXXX() functions have an owner-id-aware version. + IMGUI_API void SetItemKeyOwner(ImGuiKey key); // Set key owner to last item ID if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) { SetKeyOwner(key, GetItemID());'. + + // Inputs Utilities: Mouse + // - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right. + // - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle. + // - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold') + IMGUI_API bool IsMouseDown(ImGuiMouseButton button); // is mouse button held? + IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, bool repeat = false); // did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1. + IMGUI_API bool IsMouseReleased(ImGuiMouseButton button); // did mouse button released? (went from Down to !Down) + IMGUI_API bool IsMouseDoubleClicked(ImGuiMouseButton button); // did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true) + IMGUI_API bool IsMouseReleasedWithDelay(ImGuiMouseButton button, float delay); // delayed mouse release (use very sparingly!). Generally used with 'delay >= io.MouseDoubleClickTime' + combined with a 'io.MouseClickedLastCount==1' test. This is a very rarely used UI idiom, but some apps use this: e.g. MS Explorer single click on an icon to rename. + IMGUI_API int GetMouseClickedCount(ImGuiMouseButton button); // return the number of successive mouse-clicks at the time where a click happen (otherwise 0). + IMGUI_API bool IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip = true);// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. + IMGUI_API bool IsMousePosValid(const ImVec2* mouse_pos = NULL); // by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available + IMGUI_API bool IsAnyMouseDown(); // [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. + IMGUI_API ImVec2 GetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls + IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves) + IMGUI_API bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold = -1.0f); // is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f) + IMGUI_API ImVec2 GetMouseDragDelta(ImGuiMouseButton button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f) + IMGUI_API void ResetMouseDragDelta(ImGuiMouseButton button = 0); // + IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you + IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired mouse cursor shape + IMGUI_API void SetNextFrameWantCaptureMouse(bool want_capture_mouse); // Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. + + // Clipboard Utilities + // - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard. + IMGUI_API const char* GetClipboardText(); + IMGUI_API void SetClipboardText(const char* text); + + // Settings/.Ini Utilities + // - The disk functions are automatically called if io.IniFilename != NULL (default is "imgui.ini"). + // - Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually. + // - Important: default value "imgui.ini" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables). + IMGUI_API void LoadIniSettingsFromDisk(const char* ini_filename); // call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). + IMGUI_API void LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size=0); // call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. + IMGUI_API void SaveIniSettingsToDisk(const char* ini_filename); // this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext). + IMGUI_API const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. + + // Debug Utilities + // - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger + IMGUI_API void DebugTextEncoding(const char* text); + IMGUI_API void DebugFlashStyleColor(ImGuiCol idx); + IMGUI_API void DebugStartItemPicker(); + IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx); // This is called by IMGUI_CHECKVERSION() macro. +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + IMGUI_API void DebugLog(const char* fmt, ...) IM_FMTARGS(1); // Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code! + IMGUI_API void DebugLogV(const char* fmt, va_list args) IM_FMTLIST(1); +#endif + + // Memory Allocators + // - Those functions are not reliant on the current context. + // - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() + // for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details. + IMGUI_API void SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data = NULL); + IMGUI_API void GetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func, ImGuiMemFreeFunc* p_free_func, void** p_user_data); + IMGUI_API void* MemAlloc(size_t size); + IMGUI_API void MemFree(void* ptr); + +} // namespace ImGui + +//----------------------------------------------------------------------------- +// [SECTION] Flags & Enumerations +//----------------------------------------------------------------------------- + +// Flags for ImGui::Begin() +// (Those are per-window flags. There are shared flags in ImGuiIO: io.ConfigWindowsResizeFromEdges and io.ConfigWindowsMoveFromTitleBarOnly) +enum ImGuiWindowFlags_ +{ + ImGuiWindowFlags_None = 0, + ImGuiWindowFlags_NoTitleBar = 1 << 0, // Disable title-bar + ImGuiWindowFlags_NoResize = 1 << 1, // Disable user resizing with the lower-right grip + ImGuiWindowFlags_NoMove = 1 << 2, // Disable user moving the window + ImGuiWindowFlags_NoScrollbar = 1 << 3, // Disable scrollbars (window can still scroll with mouse or programmatically) + ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set. + ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node). + ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame + ImGuiWindowFlags_NoBackground = 1 << 7, // Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f). + ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file + ImGuiWindowFlags_NoMouseInputs = 1 << 9, // Disable catching mouse, hovering test with pass through. + ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar + ImGuiWindowFlags_HorizontalScrollbar = 1 << 11, // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section. + ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12, // Disable taking focus when transitioning from hidden to visible state + ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, // Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus) + ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y) + ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x) + ImGuiWindowFlags_NoNavInputs = 1 << 16, // No keyboard/gamepad navigation within the window + ImGuiWindowFlags_NoNavFocus = 1 << 17, // No focusing toward this window with keyboard/gamepad navigation (e.g. skipped by CTRL+TAB) + ImGuiWindowFlags_UnsavedDocument = 1 << 18, // Display a dot next to the title. When used in a tab/docking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar. + ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse, + ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus, + + // [Internal] + ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild() + ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() + ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() + ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() + ImGuiWindowFlags_ChildMenu = 1 << 28, // Don't use! For internal use by BeginMenu() + + // Obsolete names +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiWindowFlags_NavFlattened = 1 << 29, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call. + ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 30, // Obsoleted in 1.90.0: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call. +#endif +}; + +// Flags for ImGui::BeginChild() +// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. +// About using AutoResizeX/AutoResizeY flags: +// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). +// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. +// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. +// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. +// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. +// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. +enum ImGuiChildFlags_ +{ + ImGuiChildFlags_None = 0, + ImGuiChildFlags_Borders = 1 << 0, // Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason) + ImGuiChildFlags_AlwaysUseWindowPadding = 1 << 1, // Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense) + ImGuiChildFlags_ResizeX = 1 << 2, // Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags) + ImGuiChildFlags_ResizeY = 1 << 3, // Allow resize from bottom border (layout direction). " + ImGuiChildFlags_AutoResizeX = 1 << 4, // Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above. + ImGuiChildFlags_AutoResizeY = 1 << 5, // Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above. + ImGuiChildFlags_AlwaysAutoResize = 1 << 6, // Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED. + ImGuiChildFlags_FrameStyle = 1 << 7, // Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding. + ImGuiChildFlags_NavFlattened = 1 << 8, // [BETA] Share focus scope, allow keyboard/gamepad navigation to cross over parent border to this child or between sibling child windows. + + // Obsolete names +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiChildFlags_Border = ImGuiChildFlags_Borders, // Renamed in 1.91.1 (August 2024) for consistency. +#endif +}; + +// Flags for ImGui::PushItemFlag() +// (Those are shared by all items) +enum ImGuiItemFlags_ +{ + ImGuiItemFlags_None = 0, // (Default) + ImGuiItemFlags_NoTabStop = 1 << 0, // false // Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav. + ImGuiItemFlags_NoNav = 1 << 1, // false // Disable any form of focusing (keyboard/gamepad directional navigation and SetKeyboardFocusHere() calls). + ImGuiItemFlags_NoNavDefaultFocus = 1 << 2, // false // Disable item being a candidate for default focus (e.g. used by title bar items). + ImGuiItemFlags_ButtonRepeat = 1 << 3, // false // Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held. + ImGuiItemFlags_AutoClosePopups = 1 << 4, // true // MenuItem()/Selectable() automatically close their parent popup window. + ImGuiItemFlags_AllowDuplicateId = 1 << 5, // false // Allow submitting an item with the same identifier as an item already submitted this frame without triggering a warning tooltip if io.ConfigDebugHighlightIdConflicts is set. +}; + +// Flags for ImGui::InputText() +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive) +enum ImGuiInputTextFlags_ +{ + // Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter) + ImGuiInputTextFlags_None = 0, + ImGuiInputTextFlags_CharsDecimal = 1 << 0, // Allow 0123456789.+-*/ + ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, // Allow 0123456789ABCDEFabcdef + ImGuiInputTextFlags_CharsScientific = 1 << 2, // Allow 0123456789.+-*/eE (Scientific notation input) + ImGuiInputTextFlags_CharsUppercase = 1 << 3, // Turn a..z into A..Z + ImGuiInputTextFlags_CharsNoBlank = 1 << 4, // Filter out spaces, tabs + + // Inputs + ImGuiInputTextFlags_AllowTabInput = 1 << 5, // Pressing TAB input a '\t' character into the text field + ImGuiInputTextFlags_EnterReturnsTrue = 1 << 6, // Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead! + ImGuiInputTextFlags_EscapeClearsAll = 1 << 7, // Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape to revert) + ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 8, // In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter). + + // Other options + ImGuiInputTextFlags_ReadOnly = 1 << 9, // Read-only mode + ImGuiInputTextFlags_Password = 1 << 10, // Password mode, display all characters as '*', disable copy + ImGuiInputTextFlags_AlwaysOverwrite = 1 << 11, // Overwrite mode + ImGuiInputTextFlags_AutoSelectAll = 1 << 12, // Select entire text when first taking mouse focus + ImGuiInputTextFlags_ParseEmptyRefVal = 1 << 13, // InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value. + ImGuiInputTextFlags_DisplayEmptyRefVal = 1 << 14, // InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used with ImGuiInputTextFlags_ParseEmptyRefVal. + ImGuiInputTextFlags_NoHorizontalScroll = 1 << 15, // Disable following the cursor horizontally + ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). + + // Elide display / Alignment + ImGuiInputTextFlags_ElideLeft = 1 << 17, // When text doesn't fit, elide left side to ensure right side stays visible. Useful for path/filenames. Single-line only! + + // Callback features + ImGuiInputTextFlags_CallbackCompletion = 1 << 18, // Callback on pressing TAB (for completion handling) + ImGuiInputTextFlags_CallbackHistory = 1 << 19, // Callback on pressing Up/Down arrows (for history handling) + ImGuiInputTextFlags_CallbackAlways = 1 << 20, // Callback on each iteration. User code may query cursor position, modify text buffer. + ImGuiInputTextFlags_CallbackCharFilter = 1 << 21, // Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard. + ImGuiInputTextFlags_CallbackResize = 1 << 22, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this) + ImGuiInputTextFlags_CallbackEdit = 1 << 23, // Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active. + + // Obsolete names + //ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior +}; + +// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*() +enum ImGuiTreeNodeFlags_ +{ + ImGuiTreeNodeFlags_None = 0, + ImGuiTreeNodeFlags_Selected = 1 << 0, // Draw as selected + ImGuiTreeNodeFlags_Framed = 1 << 1, // Draw frame with background (e.g. for CollapsingHeader) + ImGuiTreeNodeFlags_AllowOverlap = 1 << 2, // Hit testing to allow subsequent widgets to overlap this one + ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3, // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack + ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4, // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes) + ImGuiTreeNodeFlags_DefaultOpen = 1 << 5, // Default node to be open + ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6, // Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined. + ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7, // Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined. + ImGuiTreeNodeFlags_Leaf = 1 << 8, // No collapsing, no arrow (use as a convenience for leaf nodes). + ImGuiTreeNodeFlags_Bullet = 1 << 9, // Display a bullet instead of arrow. IMPORTANT: node can still be marked open/close if you don't set the _Leaf flag! + ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node. + ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11, // Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode. + ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, // Extend hit box to the left-most and right-most edges (cover the indent area). + ImGuiTreeNodeFlags_SpanLabelWidth = 1 << 13, // Narrow hit box + narrow hovering highlight, will only cover the label text. + ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14, // Frame will span all columns of its container table (label will still fit in current column) + ImGuiTreeNodeFlags_LabelSpanAllColumns = 1 << 15, // Label will span all columns of its container table + //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 16, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible + ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 17, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiTreeNodeFlags_AllowItemOverlap = ImGuiTreeNodeFlags_AllowOverlap, // Renamed in 1.89.7 + ImGuiTreeNodeFlags_SpanTextWidth = ImGuiTreeNodeFlags_SpanLabelWidth,// Renamed in 1.90.7 +#endif +}; + +// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions. +// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags', +// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags. +// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags. +// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0. +// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter +// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly. +// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later). +enum ImGuiPopupFlags_ +{ + ImGuiPopupFlags_None = 0, + ImGuiPopupFlags_MouseButtonLeft = 0, // For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left) + ImGuiPopupFlags_MouseButtonRight = 1, // For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right) + ImGuiPopupFlags_MouseButtonMiddle = 2, // For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle) + ImGuiPopupFlags_MouseButtonMask_ = 0x1F, + ImGuiPopupFlags_MouseButtonDefault_ = 1, + ImGuiPopupFlags_NoReopen = 1 << 5, // For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation) + //ImGuiPopupFlags_NoReopenAlwaysNavInit = 1 << 6, // For OpenPopup*(), BeginPopupContext*(): focus and initialize navigation even when not reopening. + ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 7, // For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack + ImGuiPopupFlags_NoOpenOverItems = 1 << 8, // For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space + ImGuiPopupFlags_AnyPopupId = 1 << 10, // For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup. + ImGuiPopupFlags_AnyPopupLevel = 1 << 11, // For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level) + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, +}; + +// Flags for ImGui::Selectable() +enum ImGuiSelectableFlags_ +{ + ImGuiSelectableFlags_None = 0, + ImGuiSelectableFlags_NoAutoClosePopups = 1 << 0, // Clicking this doesn't close parent popup window (overrides ImGuiItemFlags_AutoClosePopups) + ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Frame will span all columns of its container table (text will still fit in current column) + ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, // Generate press events on double clicks too + ImGuiSelectableFlags_Disabled = 1 << 3, // Cannot be selected, display grayed out text + ImGuiSelectableFlags_AllowOverlap = 1 << 4, // (WIP) Hit testing to allow subsequent widgets to overlap this one + ImGuiSelectableFlags_Highlight = 1 << 5, // Make the item be displayed as if it is hovered + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiSelectableFlags_DontClosePopups = ImGuiSelectableFlags_NoAutoClosePopups, // Renamed in 1.91.0 + ImGuiSelectableFlags_AllowItemOverlap = ImGuiSelectableFlags_AllowOverlap, // Renamed in 1.89.7 +#endif +}; + +// Flags for ImGui::BeginCombo() +enum ImGuiComboFlags_ +{ + ImGuiComboFlags_None = 0, + ImGuiComboFlags_PopupAlignLeft = 1 << 0, // Align the popup toward the left by default + ImGuiComboFlags_HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() + ImGuiComboFlags_HeightRegular = 1 << 2, // Max ~8 items visible (default) + ImGuiComboFlags_HeightLarge = 1 << 3, // Max ~20 items visible + ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible + ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button + ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button + ImGuiComboFlags_WidthFitPreview = 1 << 7, // Width dynamically calculated from preview contents + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, +}; + +// Flags for ImGui::BeginTabBar() +enum ImGuiTabBarFlags_ +{ + ImGuiTabBarFlags_None = 0, + ImGuiTabBarFlags_Reorderable = 1 << 0, // Allow manually dragging tabs to re-order them + New tabs are appended at the end of list + ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1, // Automatically select new tabs when they appear + ImGuiTabBarFlags_TabListPopupButton = 1 << 2, // Disable buttons to open the tab list popup + ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 1 << 3, // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false. + ImGuiTabBarFlags_NoTabListScrollingButtons = 1 << 4, // Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll) + ImGuiTabBarFlags_NoTooltip = 1 << 5, // Disable tooltips when hovering a tab + ImGuiTabBarFlags_DrawSelectedOverline = 1 << 6, // Draw selected overline markers over selected tab + ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 7, // Resize tabs when they don't fit + ImGuiTabBarFlags_FittingPolicyScroll = 1 << 8, // Add scroll buttons when tabs don't fit + ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, +}; + +// Flags for ImGui::BeginTabItem() +enum ImGuiTabItemFlags_ +{ + ImGuiTabItemFlags_None = 0, + ImGuiTabItemFlags_UnsavedDocument = 1 << 0, // Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure. + ImGuiTabItemFlags_SetSelected = 1 << 1, // Trigger flag to programmatically make the tab selected when calling BeginTabItem() + ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2, // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false. + ImGuiTabItemFlags_NoPushId = 1 << 3, // Don't call PushID()/PopID() on BeginTabItem()/EndTabItem() + ImGuiTabItemFlags_NoTooltip = 1 << 4, // Disable tooltip for the given tab + ImGuiTabItemFlags_NoReorder = 1 << 5, // Disable reordering this tab or having another tab cross over this tab + ImGuiTabItemFlags_Leading = 1 << 6, // Enforce the tab position to the left of the tab bar (after the tab list popup button) + ImGuiTabItemFlags_Trailing = 1 << 7, // Enforce the tab position to the right of the tab bar (before the scrolling buttons) + ImGuiTabItemFlags_NoAssumedClosure = 1 << 8, // Tab is selected when trying to close + closure is not immediately assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar. +}; + +// Flags for ImGui::IsWindowFocused() +enum ImGuiFocusedFlags_ +{ + ImGuiFocusedFlags_None = 0, + ImGuiFocusedFlags_ChildWindows = 1 << 0, // Return true if any children of the window is focused + ImGuiFocusedFlags_RootWindow = 1 << 1, // Test from root window (top most parent of the current hierarchy) + ImGuiFocusedFlags_AnyWindow = 1 << 2, // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ! + ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3, // Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) + //ImGuiFocusedFlags_DockHierarchy = 1 << 4, // Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, +}; + +// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() +// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ! +// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls. +enum ImGuiHoveredFlags_ +{ + ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them. + ImGuiHoveredFlags_ChildWindows = 1 << 0, // IsWindowHovered() only: Return true if any children of the window is hovered + ImGuiHoveredFlags_RootWindow = 1 << 1, // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy) + ImGuiHoveredFlags_AnyWindow = 1 << 2, // IsWindowHovered() only: Return true if any window is hovered + ImGuiHoveredFlags_NoPopupHierarchy = 1 << 3, // IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) + //ImGuiHoveredFlags_DockHierarchy = 1 << 4, // IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) + ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 5, // Return true even if a popup window is normally blocking access to this item/window + //ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 6, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet. + ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. + ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1 << 8, // IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item. + ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 1 << 9, // IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window. + ImGuiHoveredFlags_AllowWhenDisabled = 1 << 10, // IsItemHovered() only: Return true even if the item is disabled + ImGuiHoveredFlags_NoNavOverride = 1 << 11, // IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse + ImGuiHoveredFlags_AllowWhenOverlapped = ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow, + ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + + // Tooltips mode + // - typically used in IsItemHovered() + SetTooltip() sequence. + // - this is a shortcut to pull flags from 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' where you can reconfigure desired behavior. + // e.g. 'TooltipHoveredFlagsForMouse' defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'. + // - for frequently actioned or hovered items providing a tooltip, you want may to use ImGuiHoveredFlags_ForTooltip (stationary + delay) so the tooltip doesn't show too often. + // - for items which main purpose is to be hovered, or items with low affordance, or in less consistent apps, prefer no delay or shorter delay. + ImGuiHoveredFlags_ForTooltip = 1 << 12, // Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence. + + // (Advanced) Mouse Hovering delays. + // - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags. + // - use those if you need specific overrides. + ImGuiHoveredFlags_Stationary = 1 << 13, // Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay. + ImGuiHoveredFlags_DelayNone = 1 << 14, // IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this. + ImGuiHoveredFlags_DelayShort = 1 << 15, // IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). + ImGuiHoveredFlags_DelayNormal = 1 << 16, // IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item). + ImGuiHoveredFlags_NoSharedDelay = 1 << 17, // IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays) +}; + +// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() +enum ImGuiDragDropFlags_ +{ + ImGuiDragDropFlags_None = 0, + // BeginDragDropSource() flags + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. + ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. + ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. + ImGuiDragDropFlags_PayloadAutoExpire = 1 << 5, // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged) + ImGuiDragDropFlags_PayloadNoCrossContext = 1 << 6, // Hint to specify that the payload may not be copied outside current dear imgui context. + ImGuiDragDropFlags_PayloadNoCrossProcess = 1 << 7, // Hint to specify that the payload may not be copied outside current process. + // AcceptDragDropPayload() flags + ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. + ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. + ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, // For peeking ahead and inspecting the payload before delivery. + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiDragDropFlags_SourceAutoExpirePayload = ImGuiDragDropFlags_PayloadAutoExpire, // Renamed in 1.90.9 +#endif +}; + +// Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. +#define IMGUI_PAYLOAD_TYPE_COLOR_3F "_COL3F" // float[3]: Standard type for colors, without alpha. User code may use this type. +#define IMGUI_PAYLOAD_TYPE_COLOR_4F "_COL4F" // float[4]: Standard type for colors. User code may use this type. + +// A primary data type +enum ImGuiDataType_ +{ + ImGuiDataType_S8, // signed char / char (with sensible compilers) + ImGuiDataType_U8, // unsigned char + ImGuiDataType_S16, // short + ImGuiDataType_U16, // unsigned short + ImGuiDataType_S32, // int + ImGuiDataType_U32, // unsigned int + ImGuiDataType_S64, // long long / __int64 + ImGuiDataType_U64, // unsigned long long / unsigned __int64 + ImGuiDataType_Float, // float + ImGuiDataType_Double, // double + ImGuiDataType_Bool, // bool (provided for user convenience, not supported by scalar widgets) + ImGuiDataType_String, // char* (provided for user convenience, not supported by scalar widgets) + ImGuiDataType_COUNT +}; + +// A cardinal direction +enum ImGuiDir : int +{ + ImGuiDir_None = -1, + ImGuiDir_Left = 0, + ImGuiDir_Right = 1, + ImGuiDir_Up = 2, + ImGuiDir_Down = 3, + ImGuiDir_COUNT +}; + +// A sorting direction +enum ImGuiSortDirection : ImU8 +{ + ImGuiSortDirection_None = 0, + ImGuiSortDirection_Ascending = 1, // Ascending = 0->9, A->Z etc. + ImGuiSortDirection_Descending = 2 // Descending = 9->0, Z->A etc. +}; + +// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value): can represent Keyboard, Mouse and Gamepad values. +// All our named keys are >= 512. Keys value 0 to 511 are left unused and were legacy native/opaque key values (< 1.87). +// Support for legacy keys was completely removed in 1.91.5. +// Read details about the 1.87+ transition : https://github.com/ocornut/imgui/issues/4921 +// Note that "Keys" related to physical keys and are not the same concept as input "Characters", the later are submitted via io.AddInputCharacter(). +// The keyboard key enum values are named after the keys on a standard US keyboard, and on other keyboard types the keys reported may not match the keycaps. +enum ImGuiKey : int +{ + // Keyboard + ImGuiKey_None = 0, + ImGuiKey_NamedKey_BEGIN = 512, // First valid key value (other than 0) + + ImGuiKey_Tab = 512, // == ImGuiKey_NamedKey_BEGIN + ImGuiKey_LeftArrow, + ImGuiKey_RightArrow, + ImGuiKey_UpArrow, + ImGuiKey_DownArrow, + ImGuiKey_PageUp, + ImGuiKey_PageDown, + ImGuiKey_Home, + ImGuiKey_End, + ImGuiKey_Insert, + ImGuiKey_Delete, + ImGuiKey_Backspace, + ImGuiKey_Space, + ImGuiKey_Enter, + ImGuiKey_Escape, + ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_LeftAlt, ImGuiKey_LeftSuper, + ImGuiKey_RightCtrl, ImGuiKey_RightShift, ImGuiKey_RightAlt, ImGuiKey_RightSuper, + ImGuiKey_Menu, + ImGuiKey_0, ImGuiKey_1, ImGuiKey_2, ImGuiKey_3, ImGuiKey_4, ImGuiKey_5, ImGuiKey_6, ImGuiKey_7, ImGuiKey_8, ImGuiKey_9, + ImGuiKey_A, ImGuiKey_B, ImGuiKey_C, ImGuiKey_D, ImGuiKey_E, ImGuiKey_F, ImGuiKey_G, ImGuiKey_H, ImGuiKey_I, ImGuiKey_J, + ImGuiKey_K, ImGuiKey_L, ImGuiKey_M, ImGuiKey_N, ImGuiKey_O, ImGuiKey_P, ImGuiKey_Q, ImGuiKey_R, ImGuiKey_S, ImGuiKey_T, + ImGuiKey_U, ImGuiKey_V, ImGuiKey_W, ImGuiKey_X, ImGuiKey_Y, ImGuiKey_Z, + ImGuiKey_F1, ImGuiKey_F2, ImGuiKey_F3, ImGuiKey_F4, ImGuiKey_F5, ImGuiKey_F6, + ImGuiKey_F7, ImGuiKey_F8, ImGuiKey_F9, ImGuiKey_F10, ImGuiKey_F11, ImGuiKey_F12, + ImGuiKey_F13, ImGuiKey_F14, ImGuiKey_F15, ImGuiKey_F16, ImGuiKey_F17, ImGuiKey_F18, + ImGuiKey_F19, ImGuiKey_F20, ImGuiKey_F21, ImGuiKey_F22, ImGuiKey_F23, ImGuiKey_F24, + ImGuiKey_Apostrophe, // ' + ImGuiKey_Comma, // , + ImGuiKey_Minus, // - + ImGuiKey_Period, // . + ImGuiKey_Slash, // / + ImGuiKey_Semicolon, // ; + ImGuiKey_Equal, // = + ImGuiKey_LeftBracket, // [ + ImGuiKey_Backslash, // \ (this text inhibit multiline comment caused by backslash) + ImGuiKey_RightBracket, // ] + ImGuiKey_GraveAccent, // ` + ImGuiKey_CapsLock, + ImGuiKey_ScrollLock, + ImGuiKey_NumLock, + ImGuiKey_PrintScreen, + ImGuiKey_Pause, + ImGuiKey_Keypad0, ImGuiKey_Keypad1, ImGuiKey_Keypad2, ImGuiKey_Keypad3, ImGuiKey_Keypad4, + ImGuiKey_Keypad5, ImGuiKey_Keypad6, ImGuiKey_Keypad7, ImGuiKey_Keypad8, ImGuiKey_Keypad9, + ImGuiKey_KeypadDecimal, + ImGuiKey_KeypadDivide, + ImGuiKey_KeypadMultiply, + ImGuiKey_KeypadSubtract, + ImGuiKey_KeypadAdd, + ImGuiKey_KeypadEnter, + ImGuiKey_KeypadEqual, + ImGuiKey_AppBack, // Available on some keyboard/mouses. Often referred as "Browser Back" + ImGuiKey_AppForward, + + // Gamepad (some of those are analog values, 0.0f to 1.0f) // NAVIGATION ACTION + // (download controller mapping PNG/PSD at http://dearimgui.com/controls_sheets) + ImGuiKey_GamepadStart, // Menu (Xbox) + (Switch) Start/Options (PS) + ImGuiKey_GamepadBack, // View (Xbox) - (Switch) Share (PS) + ImGuiKey_GamepadFaceLeft, // X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows) + ImGuiKey_GamepadFaceRight, // B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit + ImGuiKey_GamepadFaceUp, // Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard + ImGuiKey_GamepadFaceDown, // A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak + ImGuiKey_GamepadDpadLeft, // D-pad Left // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadRight, // D-pad Right // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadUp, // D-pad Up // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadDown, // D-pad Down // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadL1, // L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode) + ImGuiKey_GamepadR1, // R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode) + ImGuiKey_GamepadL2, // L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog] + ImGuiKey_GamepadR2, // R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog] + ImGuiKey_GamepadL3, // L Stick (Xbox) L3 (Switch) L3 (PS) + ImGuiKey_GamepadR3, // R Stick (Xbox) R3 (Switch) R3 (PS) + ImGuiKey_GamepadLStickLeft, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickRight, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickUp, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickDown, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadRStickLeft, // [Analog] + ImGuiKey_GamepadRStickRight, // [Analog] + ImGuiKey_GamepadRStickUp, // [Analog] + ImGuiKey_GamepadRStickDown, // [Analog] + + // Aliases: Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) + // - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API. + ImGuiKey_MouseLeft, ImGuiKey_MouseRight, ImGuiKey_MouseMiddle, ImGuiKey_MouseX1, ImGuiKey_MouseX2, ImGuiKey_MouseWheelX, ImGuiKey_MouseWheelY, + + // [Internal] Reserved for mod storage + ImGuiKey_ReservedForModCtrl, ImGuiKey_ReservedForModShift, ImGuiKey_ReservedForModAlt, ImGuiKey_ReservedForModSuper, + ImGuiKey_NamedKey_END, + + // Keyboard Modifiers (explicitly submitted by backend via AddKeyEvent() calls) + // - This is mirroring the data also written to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper, in a format allowing + // them to be accessed via standard key API, allowing calls such as IsKeyPressed(), IsKeyReleased(), querying duration etc. + // - Code polling every key (e.g. an interface to detect a key press for input mapping) might want to ignore those + // and prefer using the real keys (e.g. ImGuiKey_LeftCtrl, ImGuiKey_RightCtrl instead of ImGuiMod_Ctrl). + // - In theory the value of keyboard modifiers should be roughly equivalent to a logical or of the equivalent left/right keys. + // In practice: it's complicated; mods are often provided from different sources. Keyboard layout, IME, sticky keys and + // backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user... + // - On macOS, we swap Cmd(Super) and Ctrl keys at the time of the io.AddKeyEvent() call. + ImGuiMod_None = 0, + ImGuiMod_Ctrl = 1 << 12, // Ctrl (non-macOS), Cmd (macOS) + ImGuiMod_Shift = 1 << 13, // Shift + ImGuiMod_Alt = 1 << 14, // Option/Menu + ImGuiMod_Super = 1 << 15, // Windows/Super (non-macOS), Ctrl (macOS) + ImGuiMod_Mask_ = 0xF000, // 4-bits + + // [Internal] If you need to iterate all keys (for e.g. an input mapper) you may use ImGuiKey_NamedKey_BEGIN..ImGuiKey_NamedKey_END. + ImGuiKey_NamedKey_COUNT = ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN, + //ImGuiKey_KeysData_SIZE = ImGuiKey_NamedKey_COUNT, // Size of KeysData[]: only hold named keys + //ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN, // Accesses to io.KeysData[] must use (key - ImGuiKey_NamedKey_BEGIN) index. + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiKey_COUNT = ImGuiKey_NamedKey_END, // Obsoleted in 1.91.5 because it was extremely misleading (since named keys don't start at 0 anymore) + ImGuiMod_Shortcut = ImGuiMod_Ctrl, // Removed in 1.90.7, you can now simply use ImGuiMod_Ctrl + ImGuiKey_ModCtrl = ImGuiMod_Ctrl, ImGuiKey_ModShift = ImGuiMod_Shift, ImGuiKey_ModAlt = ImGuiMod_Alt, ImGuiKey_ModSuper = ImGuiMod_Super, // Renamed in 1.89 + //ImGuiKey_KeyPadEnter = ImGuiKey_KeypadEnter, // Renamed in 1.87 +#endif +}; + +// Flags for Shortcut(), SetNextItemShortcut(), +// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h) +// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function) +enum ImGuiInputFlags_ +{ + ImGuiInputFlags_None = 0, + ImGuiInputFlags_Repeat = 1 << 0, // Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1. + + // Flags for Shortcut(), SetNextItemShortcut() + // - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal. + // - Default policy is RouteFocused. Can select only 1 policy among all available. + ImGuiInputFlags_RouteActive = 1 << 10, // Route to active item only. + ImGuiInputFlags_RouteFocused = 1 << 11, // Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes inputs over deep-most focused window. + ImGuiInputFlags_RouteGlobal = 1 << 12, // Global route (unless a focused window or active item registered the route). + ImGuiInputFlags_RouteAlways = 1 << 13, // Do not register route, poll keys directly. + // - Routing options + ImGuiInputFlags_RouteOverFocused = 1 << 14, // Option: global route: higher priority than focused route (unless active item in focused route). + ImGuiInputFlags_RouteOverActive = 1 << 15, // Option: global route: higher priority than active item. Unlikely you need to use that: will interfere with every active items, e.g. CTRL+A registered by InputText will be overridden by this. May not be fully honored as user/internal code is likely to always assume they can access keys when active. + ImGuiInputFlags_RouteUnlessBgFocused = 1 << 16, // Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications. + ImGuiInputFlags_RouteFromRootWindow = 1 << 17, // Option: route evaluated from the point of view of root window rather than current window. + + // Flags for SetNextItemShortcut() + ImGuiInputFlags_Tooltip = 1 << 18, // Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out) +}; + +// Configuration flags stored in io.ConfigFlags. Set by user/application. +enum ImGuiConfigFlags_ +{ + ImGuiConfigFlags_None = 0, + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct dear imgui to disable mouse inputs and interactions. + ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. + ImGuiConfigFlags_NoKeyboard = 1 << 6, // Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states. + + // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui) + ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. + ImGuiConfigFlags_IsTouchScreen = 1 << 21, // Application is using a touch screen instead of a mouse. + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // [moved/renamed in 1.91.4] -> use bool io.ConfigNavMoveSetMousePos + ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // [moved/renamed in 1.91.4] -> use bool io.ConfigNavCaptureKeyboard +#endif +}; + +// Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. +enum ImGuiBackendFlags_ +{ + ImGuiBackendFlags_None = 0, + ImGuiBackendFlags_HasGamepad = 1 << 0, // Backend Platform supports gamepad and currently has one connected. + ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape. + ImGuiBackendFlags_HasSetMousePos = 1 << 2, // Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set). + ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3, // Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices. +}; + +// Enumeration for PushStyleColor() / PopStyleColor() +enum ImGuiCol_ +{ + ImGuiCol_Text, + ImGuiCol_TextDisabled, + ImGuiCol_WindowBg, // Background of normal windows + ImGuiCol_ChildBg, // Background of child windows + ImGuiCol_PopupBg, // Background of popups, menus, tooltips windows + ImGuiCol_Border, + ImGuiCol_BorderShadow, + ImGuiCol_FrameBg, // Background of checkbox, radio button, plot, slider, text input + ImGuiCol_FrameBgHovered, + ImGuiCol_FrameBgActive, + ImGuiCol_TitleBg, // Title bar + ImGuiCol_TitleBgActive, // Title bar when focused + ImGuiCol_TitleBgCollapsed, // Title bar when collapsed + ImGuiCol_MenuBarBg, + ImGuiCol_ScrollbarBg, + ImGuiCol_ScrollbarGrab, + ImGuiCol_ScrollbarGrabHovered, + ImGuiCol_ScrollbarGrabActive, + ImGuiCol_CheckMark, // Checkbox tick and RadioButton circle + ImGuiCol_SliderGrab, + ImGuiCol_SliderGrabActive, + ImGuiCol_Button, + ImGuiCol_ButtonHovered, + ImGuiCol_ButtonActive, + ImGuiCol_Header, // Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem + ImGuiCol_HeaderHovered, + ImGuiCol_HeaderActive, + ImGuiCol_Separator, + ImGuiCol_SeparatorHovered, + ImGuiCol_SeparatorActive, + ImGuiCol_ResizeGrip, // Resize grip in lower-right and lower-left corners of windows. + ImGuiCol_ResizeGripHovered, + ImGuiCol_ResizeGripActive, + ImGuiCol_TabHovered, // Tab background, when hovered + ImGuiCol_Tab, // Tab background, when tab-bar is focused & tab is unselected + ImGuiCol_TabSelected, // Tab background, when tab-bar is focused & tab is selected + ImGuiCol_TabSelectedOverline, // Tab horizontal overline, when tab-bar is focused & tab is selected + ImGuiCol_TabDimmed, // Tab background, when tab-bar is unfocused & tab is unselected + ImGuiCol_TabDimmedSelected, // Tab background, when tab-bar is unfocused & tab is selected + ImGuiCol_TabDimmedSelectedOverline,//..horizontal overline, when tab-bar is unfocused & tab is selected + ImGuiCol_PlotLines, + ImGuiCol_PlotLinesHovered, + ImGuiCol_PlotHistogram, + ImGuiCol_PlotHistogramHovered, + ImGuiCol_TableHeaderBg, // Table header background + ImGuiCol_TableBorderStrong, // Table outer and header borders (prefer using Alpha=1.0 here) + ImGuiCol_TableBorderLight, // Table inner borders (prefer using Alpha=1.0 here) + ImGuiCol_TableRowBg, // Table row background (even rows) + ImGuiCol_TableRowBgAlt, // Table row background (odd rows) + ImGuiCol_TextLink, // Hyperlink color + ImGuiCol_TextSelectedBg, + ImGuiCol_DragDropTarget, // Rectangle highlighting a drop target + ImGuiCol_NavCursor, // Color of keyboard/gamepad navigation cursor/rectangle, when visible + ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB + ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active + ImGuiCol_ModalWindowDimBg, // Darken/colorize entire screen behind a modal window, when one is active + ImGuiCol_WindowShadow, // Window shadows + ImGuiCol_COUNT, + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiCol_TabActive = ImGuiCol_TabSelected, // [renamed in 1.90.9] + ImGuiCol_TabUnfocused = ImGuiCol_TabDimmed, // [renamed in 1.90.9] + ImGuiCol_TabUnfocusedActive = ImGuiCol_TabDimmedSelected, // [renamed in 1.90.9] + ImGuiCol_NavHighlight = ImGuiCol_NavCursor, // [renamed in 1.91.4] +#endif +}; + +// Enumeration for PushStyleVar() / PopStyleVar() to temporarily modify the ImGuiStyle structure. +// - The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. +// During initialization or between frames, feel free to just poke into ImGuiStyle directly. +// - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description. +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. +// - When changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. +enum ImGuiStyleVar_ +{ + // Enum name -------------------------- // Member in ImGuiStyle structure (see ImGuiStyle for descriptions) + ImGuiStyleVar_Alpha, // float Alpha + ImGuiStyleVar_DisabledAlpha, // float DisabledAlpha + ImGuiStyleVar_WindowPadding, // ImVec2 WindowPadding + ImGuiStyleVar_WindowRounding, // float WindowRounding + ImGuiStyleVar_WindowBorderSize, // float WindowBorderSize + ImGuiStyleVar_WindowMinSize, // ImVec2 WindowMinSize + ImGuiStyleVar_WindowTitleAlign, // ImVec2 WindowTitleAlign + ImGuiStyleVar_ChildRounding, // float ChildRounding + ImGuiStyleVar_ChildBorderSize, // float ChildBorderSize + ImGuiStyleVar_PopupRounding, // float PopupRounding + ImGuiStyleVar_PopupBorderSize, // float PopupBorderSize + ImGuiStyleVar_FramePadding, // ImVec2 FramePadding + ImGuiStyleVar_FrameRounding, // float FrameRounding + ImGuiStyleVar_FrameBorderSize, // float FrameBorderSize + ImGuiStyleVar_ItemSpacing, // ImVec2 ItemSpacing + ImGuiStyleVar_ItemInnerSpacing, // ImVec2 ItemInnerSpacing + ImGuiStyleVar_IndentSpacing, // float IndentSpacing + ImGuiStyleVar_CellPadding, // ImVec2 CellPadding + ImGuiStyleVar_ScrollbarSize, // float ScrollbarSize + ImGuiStyleVar_ScrollbarRounding, // float ScrollbarRounding + ImGuiStyleVar_GrabMinSize, // float GrabMinSize + ImGuiStyleVar_GrabRounding, // float GrabRounding + ImGuiStyleVar_ImageBorderSize, // float ImageBorderSize + ImGuiStyleVar_TabRounding, // float TabRounding + ImGuiStyleVar_TabBorderSize, // float TabBorderSize + ImGuiStyleVar_TabBarBorderSize, // float TabBarBorderSize + ImGuiStyleVar_TabBarOverlineSize, // float TabBarOverlineSize + ImGuiStyleVar_TableAngledHeadersAngle, // float TableAngledHeadersAngle + ImGuiStyleVar_TableAngledHeadersTextAlign,// ImVec2 TableAngledHeadersTextAlign + ImGuiStyleVar_ButtonTextAlign, // ImVec2 ButtonTextAlign + ImGuiStyleVar_SelectableTextAlign, // ImVec2 SelectableTextAlign + ImGuiStyleVar_SeparatorTextBorderSize, // float SeparatorTextBorderSize + ImGuiStyleVar_SeparatorTextAlign, // ImVec2 SeparatorTextAlign + ImGuiStyleVar_SeparatorTextPadding, // ImVec2 SeparatorTextPadding + ImGuiStyleVar_COUNT +}; + +// Flags for InvisibleButton() [extended in imgui_internal.h] +enum ImGuiButtonFlags_ +{ + ImGuiButtonFlags_None = 0, + ImGuiButtonFlags_MouseButtonLeft = 1 << 0, // React on left mouse button (default) + ImGuiButtonFlags_MouseButtonRight = 1 << 1, // React on right mouse button + ImGuiButtonFlags_MouseButtonMiddle = 1 << 2, // React on center mouse button + ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, // [Internal] + ImGuiButtonFlags_EnableNav = 1 << 3, // InvisibleButton(): do not disable navigation/tabbing. Otherwise disabled by default. +}; + +// Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() +enum ImGuiColorEditFlags_ +{ + ImGuiColorEditFlags_None = 0, + ImGuiColorEditFlags_NoAlpha = 1 << 1, // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer). + ImGuiColorEditFlags_NoPicker = 1 << 2, // // ColorEdit: disable picker when clicking on color square. + ImGuiColorEditFlags_NoOptions = 1 << 3, // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview. + ImGuiColorEditFlags_NoSmallPreview = 1 << 4, // // ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs) + ImGuiColorEditFlags_NoInputs = 1 << 5, // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square). + ImGuiColorEditFlags_NoTooltip = 1 << 6, // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview. + ImGuiColorEditFlags_NoLabel = 1 << 7, // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker). + ImGuiColorEditFlags_NoSidePreview = 1 << 8, // // ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead. + ImGuiColorEditFlags_NoDragDrop = 1 << 9, // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source. + ImGuiColorEditFlags_NoBorder = 1 << 10, // // ColorButton: disable border (which is enforced by default) + + // Alpha preview + // - Prior to 1.91.8 (2025/01/21): alpha was made opaque in the preview by default using old name ImGuiColorEditFlags_AlphaPreview. + // - We now display the preview as transparent by default. You can use ImGuiColorEditFlags_AlphaOpaque to use old behavior. + // - The new flags may be combined better and allow finer controls. + ImGuiColorEditFlags_AlphaOpaque = 1 << 11, // // ColorEdit, ColorPicker, ColorButton: disable alpha in the preview,. Contrary to _NoAlpha it may still be edited when calling ColorEdit4()/ColorPicker4(). For ColorButton() this does the same as _NoAlpha. + ImGuiColorEditFlags_AlphaNoBg = 1 << 12, // // ColorEdit, ColorPicker, ColorButton: disable rendering a checkerboard background behind transparent color. + ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 13, // // ColorEdit, ColorPicker, ColorButton: display half opaque / half transparent preview. + + // User Options (right-click on widget to change some of them). + ImGuiColorEditFlags_AlphaBar = 1 << 16, // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker. + ImGuiColorEditFlags_HDR = 1 << 19, // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well). + ImGuiColorEditFlags_DisplayRGB = 1 << 20, // [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex. + ImGuiColorEditFlags_DisplayHSV = 1 << 21, // [Display] // " + ImGuiColorEditFlags_DisplayHex = 1 << 22, // [Display] // " + ImGuiColorEditFlags_Uint8 = 1 << 23, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255. + ImGuiColorEditFlags_Float = 1 << 24, // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers. + ImGuiColorEditFlags_PickerHueBar = 1 << 25, // [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value. + ImGuiColorEditFlags_PickerHueWheel = 1 << 26, // [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value. + ImGuiColorEditFlags_InputRGB = 1 << 27, // [Input] // ColorEdit, ColorPicker: input and output data in RGB format. + ImGuiColorEditFlags_InputHSV = 1 << 28, // [Input] // ColorEdit, ColorPicker: input and output data in HSV format. + + // Defaults Options. You can set application defaults using SetColorEditOptions(). The intent is that you probably don't want to + // override them in most of your calls. Let the user choose via the option menu and/or call SetColorEditOptions() once during startup. + ImGuiColorEditFlags_DefaultOptions_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar, + + // [Internal] Masks + ImGuiColorEditFlags_AlphaMask_ = ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaOpaque | ImGuiColorEditFlags_AlphaNoBg | ImGuiColorEditFlags_AlphaPreviewHalf, + ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, + ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, + ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, + + // Obsolete names +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiColorEditFlags_AlphaPreview = 0, // [Removed in 1.91.8] This is the default now. Will display a checkerboard unless ImGuiColorEditFlags_AlphaNoBg is set. +#endif + //ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] +}; + +// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. +// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. +// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText) +enum ImGuiSliderFlags_ +{ + ImGuiSliderFlags_None = 0, + ImGuiSliderFlags_Logarithmic = 1 << 5, // Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits. + ImGuiSliderFlags_NoRoundToFormat = 1 << 6, // Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits). + ImGuiSliderFlags_NoInput = 1 << 7, // Disable CTRL+Click or Enter key allowing to input text directly into the widget. + ImGuiSliderFlags_WrapAround = 1 << 8, // Enable wrapping around from max to min and from min to max. Only supported by DragXXX() functions for now. + ImGuiSliderFlags_ClampOnInput = 1 << 9, // Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds. + ImGuiSliderFlags_ClampZeroRange = 1 << 10, // Clamp even if min==max==0.0f. Otherwise due to legacy reason DragXXX functions don't clamp with those values. When your clamping limits are dynamic you almost always want to use it. + ImGuiSliderFlags_NoSpeedTweaks = 1 << 11, // Disable keyboard modifiers altering tweak speed. Useful if you want to alter tweak speed yourself based on your own logic. + ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange, + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed. +}; + +// Identify a mouse button. +// Those values are guaranteed to be stable and we frequently use 0/1 directly. Named enums provided for convenience. +enum ImGuiMouseButton_ +{ + ImGuiMouseButton_Left = 0, + ImGuiMouseButton_Right = 1, + ImGuiMouseButton_Middle = 2, + ImGuiMouseButton_COUNT = 5 +}; + +// Enumeration for GetMouseCursor() +// User code may request backend to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here +enum ImGuiMouseCursor_ +{ + ImGuiMouseCursor_None = -1, + ImGuiMouseCursor_Arrow = 0, + ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. + ImGuiMouseCursor_ResizeAll, // (Unused by Dear ImGui functions) + ImGuiMouseCursor_ResizeNS, // When hovering over a horizontal border + ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column + ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window + ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window + ImGuiMouseCursor_Hand, // (Unused by Dear ImGui functions. Use for e.g. hyperlinks) + ImGuiMouseCursor_Wait, // When waiting for something to process/load. + ImGuiMouseCursor_Progress, // When waiting for something to process/load, but application is still interactive. + ImGuiMouseCursor_NotAllowed, // When hovering something with disallowed interaction. Usually a crossed circle. + ImGuiMouseCursor_COUNT +}; + +// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data. +// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent() +// But that "Mouse" data can come from different source which occasionally may be useful for application to know about. +// You can submit a change of pointer type using io.AddMouseSourceEvent(). +enum ImGuiMouseSource : int +{ + ImGuiMouseSource_Mouse = 0, // Input is coming from an actual mouse. + ImGuiMouseSource_TouchScreen, // Input is coming from a touch screen (no hovering prior to initial press, less precise initial press aiming, dual-axis wheeling possible). + ImGuiMouseSource_Pen, // Input is coming from a pressure/magnetic pen (often used in conjunction with high-sampling rates). + ImGuiMouseSource_COUNT +}; + +// Enumeration for ImGui::SetNextWindow***(), SetWindow***(), SetNextItem***() functions +// Represent a condition. +// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always. +enum ImGuiCond_ +{ + ImGuiCond_None = 0, // No condition (always set the variable), same as _Always + ImGuiCond_Always = 1 << 0, // No condition (always set the variable), same as _None + ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call will succeed) + ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) + ImGuiCond_Appearing = 1 << 3, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) +}; + +//----------------------------------------------------------------------------- +// [SECTION] Tables API flags and structures (ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableRowFlags, ImGuiTableBgTarget, ImGuiTableSortSpecs, ImGuiTableColumnSortSpecs) +//----------------------------------------------------------------------------- + +// Flags for ImGui::BeginTable() +// - Important! Sizing policies have complex and subtle side effects, much more so than you would expect. +// Read comments/demos carefully + experiment with live demos to get acquainted with them. +// - The DEFAULT sizing policies are: +// - Default to ImGuiTableFlags_SizingFixedFit if ScrollX is on, or if host window has ImGuiWindowFlags_AlwaysAutoResize. +// - Default to ImGuiTableFlags_SizingStretchSame if ScrollX is off. +// - When ScrollX is off: +// - Table defaults to ImGuiTableFlags_SizingStretchSame -> all Columns defaults to ImGuiTableColumnFlags_WidthStretch with same weight. +// - Columns sizing policy allowed: Stretch (default), Fixed/Auto. +// - Fixed Columns (if any) will generally obtain their requested width (unless the table cannot fit them all). +// - Stretch Columns will share the remaining width according to their respective weight. +// - Mixed Fixed/Stretch columns is possible but has various side-effects on resizing behaviors. +// The typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns. +// (this is because the visible order of columns have subtle but necessary effects on how they react to manual resizing). +// - When ScrollX is on: +// - Table defaults to ImGuiTableFlags_SizingFixedFit -> all Columns defaults to ImGuiTableColumnFlags_WidthFixed +// - Columns sizing policy allowed: Fixed/Auto mostly. +// - Fixed Columns can be enlarged as needed. Table will show a horizontal scrollbar if needed. +// - When using auto-resizing (non-resizable) fixed columns, querying the content width to use item right-alignment e.g. SetNextItemWidth(-FLT_MIN) doesn't make sense, would create a feedback loop. +// - Using Stretch columns OFTEN DOES NOT MAKE SENSE if ScrollX is on, UNLESS you have specified a value for 'inner_width' in BeginTable(). +// If you specify a value for 'inner_width' then effectively the scrolling space is known and Stretch or mixed Fixed/Stretch columns become meaningful again. +// - Read on documentation at the top of imgui_tables.cpp for details. +enum ImGuiTableFlags_ +{ + // Features + ImGuiTableFlags_None = 0, + ImGuiTableFlags_Resizable = 1 << 0, // Enable resizing columns. + ImGuiTableFlags_Reorderable = 1 << 1, // Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers) + ImGuiTableFlags_Hideable = 1 << 2, // Enable hiding/disabling columns in context menu. + ImGuiTableFlags_Sortable = 1 << 3, // Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate. + ImGuiTableFlags_NoSavedSettings = 1 << 4, // Disable persisting columns order, width and sort settings in the .ini file. + ImGuiTableFlags_ContextMenuInBody = 1 << 5, // Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow(). + // Decorations + ImGuiTableFlags_RowBg = 1 << 6, // Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually) + ImGuiTableFlags_BordersInnerH = 1 << 7, // Draw horizontal borders between rows. + ImGuiTableFlags_BordersOuterH = 1 << 8, // Draw horizontal borders at the top and bottom. + ImGuiTableFlags_BordersInnerV = 1 << 9, // Draw vertical borders between columns. + ImGuiTableFlags_BordersOuterV = 1 << 10, // Draw vertical borders on the left and right sides. + ImGuiTableFlags_BordersH = ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH, // Draw horizontal borders. + ImGuiTableFlags_BordersV = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV, // Draw vertical borders. + ImGuiTableFlags_BordersInner = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH, // Draw inner borders. + ImGuiTableFlags_BordersOuter = ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH, // Draw outer borders. + ImGuiTableFlags_Borders = ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter, // Draw all borders. + ImGuiTableFlags_NoBordersInBody = 1 << 11, // [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style + // Sizing Policy (read above for defaults) + ImGuiTableFlags_SizingFixedFit = 1 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width. + ImGuiTableFlags_SizingFixedSame = 2 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible. + ImGuiTableFlags_SizingStretchProp = 3 << 13, // Columns default to _WidthStretch with default weights proportional to each columns contents widths. + ImGuiTableFlags_SizingStretchSame = 4 << 13, // Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn(). + // Sizing Extra Options + ImGuiTableFlags_NoHostExtendX = 1 << 16, // Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollX/ScrollY are disabled and Stretch columns are not used. + ImGuiTableFlags_NoHostExtendY = 1 << 17, // Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY are disabled. Data below the limit will be clipped and not visible. + ImGuiTableFlags_NoKeepColumnsVisible = 1 << 18, // Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable. + ImGuiTableFlags_PreciseWidths = 1 << 19, // Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth. + // Clipping + ImGuiTableFlags_NoClip = 1 << 20, // Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze(). + // Padding + ImGuiTableFlags_PadOuterX = 1 << 21, // Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers. + ImGuiTableFlags_NoPadOuterX = 1 << 22, // Default if BordersOuterV is off. Disable outermost padding. + ImGuiTableFlags_NoPadInnerX = 1 << 23, // Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off). + // Scrolling + ImGuiTableFlags_ScrollX = 1 << 24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX. + ImGuiTableFlags_ScrollY = 1 << 25, // Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. + // Sorting + ImGuiTableFlags_SortMulti = 1 << 26, // Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1). + ImGuiTableFlags_SortTristate = 1 << 27, // Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0). + // Miscellaneous + ImGuiTableFlags_HighlightHoveredColumn = 1 << 28, // Highlight column headers when hovered (may evolve into a fuller highlight) + + // [Internal] Combinations and masks + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, +}; + +// Flags for ImGui::TableSetupColumn() +enum ImGuiTableColumnFlags_ +{ + // Input configuration flags + ImGuiTableColumnFlags_None = 0, + ImGuiTableColumnFlags_Disabled = 1 << 0, // Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state) + ImGuiTableColumnFlags_DefaultHide = 1 << 1, // Default as a hidden/disabled column. + ImGuiTableColumnFlags_DefaultSort = 1 << 2, // Default as a sorting column. + ImGuiTableColumnFlags_WidthStretch = 1 << 3, // Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp). + ImGuiTableColumnFlags_WidthFixed = 1 << 4, // Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable). + ImGuiTableColumnFlags_NoResize = 1 << 5, // Disable manual resizing. + ImGuiTableColumnFlags_NoReorder = 1 << 6, // Disable manual reordering this column, this will also prevent other columns from crossing over this column. + ImGuiTableColumnFlags_NoHide = 1 << 7, // Disable ability to hide/disable this column. + ImGuiTableColumnFlags_NoClip = 1 << 8, // Disable clipping for this column (all NoClip columns will render in a same draw command). + ImGuiTableColumnFlags_NoSort = 1 << 9, // Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table). + ImGuiTableColumnFlags_NoSortAscending = 1 << 10, // Disable ability to sort in the ascending direction. + ImGuiTableColumnFlags_NoSortDescending = 1 << 11, // Disable ability to sort in the descending direction. + ImGuiTableColumnFlags_NoHeaderLabel = 1 << 12, // TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call. + ImGuiTableColumnFlags_NoHeaderWidth = 1 << 13, // Disable header text width contribution to automatic column width. + ImGuiTableColumnFlags_PreferSortAscending = 1 << 14, // Make the initial sort direction Ascending when first sorting on this column (default). + ImGuiTableColumnFlags_PreferSortDescending = 1 << 15, // Make the initial sort direction Descending when first sorting on this column. + ImGuiTableColumnFlags_IndentEnable = 1 << 16, // Use current Indent value when entering cell (default for column 0). + ImGuiTableColumnFlags_IndentDisable = 1 << 17, // Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored. + ImGuiTableColumnFlags_AngledHeader = 1 << 18, // TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row. + + // Output status flags, read-only via TableGetColumnFlags() + ImGuiTableColumnFlags_IsEnabled = 1 << 24, // Status: is enabled == not hidden by user/api (referred to as "Hide" in _DefaultHide and _NoHide) flags. + ImGuiTableColumnFlags_IsVisible = 1 << 25, // Status: is visible == is enabled AND not clipped by scrolling. + ImGuiTableColumnFlags_IsSorted = 1 << 26, // Status: is currently part of the sort specs + ImGuiTableColumnFlags_IsHovered = 1 << 27, // Status: is hovered by mouse + + // [Internal] Combinations and masks + ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, + ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, + ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, + ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30, // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) +}; + +// Flags for ImGui::TableNextRow() +enum ImGuiTableRowFlags_ +{ + ImGuiTableRowFlags_None = 0, + ImGuiTableRowFlags_Headers = 1 << 0, // Identify header row (set default background color + width of its contents accounted differently for auto column width) +}; + +// Enum for ImGui::TableSetBgColor() +// Background colors are rendering in 3 layers: +// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set. +// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set. +// - Layer 2: draw with CellBg color if set. +// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color. +// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows. +// If you set the color of RowBg0 target, your color will override the existing RowBg0 color. +// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color. +enum ImGuiTableBgTarget_ +{ + ImGuiTableBgTarget_None = 0, + ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) + ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) + ImGuiTableBgTarget_CellBg = 3, // Set cell background color (top-most color) +}; + +// Sorting specifications for a table (often handling sort specs for a single column, occasionally more) +// Obtained by calling TableGetSortSpecs(). +// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time. +// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame! +struct ImGuiTableSortSpecs +{ + const ImGuiTableColumnSortSpecs* Specs; // Pointer to sort spec array. + int SpecsCount; // Sort spec count. Most often 1. May be > 1 when ImGuiTableFlags_SortMulti is enabled. May be == 0 when ImGuiTableFlags_SortTristate is enabled. + bool SpecsDirty; // Set to true when specs have changed since last time! Use this to sort again, then clear the flag. + + ImGuiTableSortSpecs() { memset(this, 0, sizeof(*this)); } +}; + +// Sorting specification for one column of a table (sizeof == 12 bytes) +struct ImGuiTableColumnSortSpecs +{ + ImGuiID ColumnUserID; // User id of the column (if specified by a TableSetupColumn() call) + ImS16 ColumnIndex; // Index of the column + ImS16 SortOrder; // Index within parent ImGuiTableSortSpecs (always stored in order starting from 0, tables sorted on a single criteria will always have a 0 here) + ImGuiSortDirection SortDirection; // ImGuiSortDirection_Ascending or ImGuiSortDirection_Descending + + ImGuiTableColumnSortSpecs() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Helpers: Debug log, memory allocations macros, ImVector<> +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Debug Logging into ShowDebugLogWindow(), tty and more. +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS +#define IMGUI_DEBUG_LOG(...) ImGui::DebugLog(__VA_ARGS__) +#else +#define IMGUI_DEBUG_LOG(...) ((void)0) +#endif + +//----------------------------------------------------------------------------- +// IM_MALLOC(), IM_FREE(), IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() +// We call C++ constructor on own allocated memory via the placement "new(ptr) Type()" syntax. +// Defining a custom placement new() with a custom parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. +//----------------------------------------------------------------------------- + +struct ImNewWrapper {}; +inline void* operator new(size_t, ImNewWrapper, void* ptr) { return ptr; } +inline void operator delete(void*, ImNewWrapper, void*) {} // This is only required so we can use the symmetrical new() +#define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE) +#define IM_FREE(_PTR) ImGui::MemFree(_PTR) +#define IM_PLACEMENT_NEW(_PTR) new(ImNewWrapper(), _PTR) +#define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE +template void IM_DELETE(T* p) { if (p) { p->~T(); ImGui::MemFree(p); } } + +//----------------------------------------------------------------------------- +// ImVector<> +// Lightweight std::vector<>-like class to avoid dragging dependencies (also, some implementations of STL with debug enabled are absurdly slow, we bypass it so our code runs fast in debug). +//----------------------------------------------------------------------------- +// - You generally do NOT need to care or use this ever. But we need to make it available in imgui.h because some of our public structures are relying on it. +// - We use std-like naming convention here, which is a little unusual for this codebase. +// - Important: clear() frees memory, resize(0) keep the allocated buffer. We use resize(0) a lot to intentionally recycle allocated buffers across frames and amortize our costs. +// - Important: our implementation does NOT call C++ constructors/destructors, we treat everything as raw data! This is intentional but be extra mindful of that, +// Do NOT use this class as a std::vector replacement in your own code! Many of the structures used by dear imgui can be safely initialized by a zero-memset. +//----------------------------------------------------------------------------- + +IM_MSVC_RUNTIME_CHECKS_OFF +template +struct ImVector +{ + int Size; + int Capacity; + T* Data; + + // Provide standard typedefs but we don't use them ourselves. + typedef T value_type; + typedef value_type* iterator; + typedef const value_type* const_iterator; + + // Constructors, destructor + inline ImVector() { Size = Capacity = 0; Data = NULL; } + inline ImVector(const ImVector& src) { Size = Capacity = 0; Data = NULL; operator=(src); } + inline ImVector& operator=(const ImVector& src) { clear(); resize(src.Size); if (src.Data) memcpy(Data, src.Data, (size_t)Size * sizeof(T)); return *this; } + inline ~ImVector() { if (Data) IM_FREE(Data); } // Important: does not destruct anything + + inline void clear() { if (Data) { Size = Capacity = 0; IM_FREE(Data); Data = NULL; } } // Important: does not destruct anything + inline void clear_delete() { for (int n = 0; n < Size; n++) IM_DELETE(Data[n]); clear(); } // Important: never called automatically! always explicit. + inline void clear_destruct() { for (int n = 0; n < Size; n++) Data[n].~T(); clear(); } // Important: never called automatically! always explicit. + + inline bool empty() const { return Size == 0; } + inline int size() const { return Size; } + inline int size_in_bytes() const { return Size * (int)sizeof(T); } + inline int max_size() const { return 0x7FFFFFFF / (int)sizeof(T); } + inline int capacity() const { return Capacity; } + inline T& operator[](int i) { IM_ASSERT(i >= 0 && i < Size); return Data[i]; } + inline const T& operator[](int i) const { IM_ASSERT(i >= 0 && i < Size); return Data[i]; } + + inline T* begin() { return Data; } + inline const T* begin() const { return Data; } + inline T* end() { return Data + Size; } + inline const T* end() const { return Data + Size; } + inline T& front() { IM_ASSERT(Size > 0); return Data[0]; } + inline const T& front() const { IM_ASSERT(Size > 0); return Data[0]; } + inline T& back() { IM_ASSERT(Size > 0); return Data[Size - 1]; } + inline const T& back() const { IM_ASSERT(Size > 0); return Data[Size - 1]; } + inline void swap(ImVector& rhs) { int rhs_size = rhs.Size; rhs.Size = Size; Size = rhs_size; int rhs_cap = rhs.Capacity; rhs.Capacity = Capacity; Capacity = rhs_cap; T* rhs_data = rhs.Data; rhs.Data = Data; Data = rhs_data; } + + inline int _grow_capacity(int sz) const { int new_capacity = Capacity ? (Capacity + Capacity / 2) : 8; return new_capacity > sz ? new_capacity : sz; } + inline void resize(int new_size) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); Size = new_size; } + inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } + inline void shrink(int new_size) { IM_ASSERT(new_size <= Size); Size = new_size; } // Resize a vector to a smaller size, guaranteed not to cause a reallocation + inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } + inline void reserve_discard(int new_capacity) { if (new_capacity <= Capacity) return; if (Data) IM_FREE(Data); Data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); Capacity = new_capacity; } + + // NB: It is illegal to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. + inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } + inline void pop_back() { IM_ASSERT(Size > 0); Size--; } + inline void push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } + inline T* erase(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off - 1) * sizeof(T)); Size--; return Data + off; } + inline T* erase(const T* it, const T* it_last){ IM_ASSERT(it >= Data && it < Data + Size && it_last >= it && it_last <= Data + Size); const ptrdiff_t count = it_last - it; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + count, ((size_t)Size - (size_t)off - (size_t)count) * sizeof(T)); Size -= (int)count; return Data + off; } + inline T* erase_unsorted(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; if (it < Data + Size - 1) memcpy(Data + off, Data + Size - 1, sizeof(T)); Size--; return Data + off; } + inline T* insert(const T* it, const T& v) { IM_ASSERT(it >= Data && it <= Data + Size); const ptrdiff_t off = it - Data; if (Size == Capacity) reserve(_grow_capacity(Size + 1)); if (off < (int)Size) memmove(Data + off + 1, Data + off, ((size_t)Size - (size_t)off) * sizeof(T)); memcpy(&Data[off], &v, sizeof(v)); Size++; return Data + off; } + inline bool contains(const T& v) const { const T* data = Data; const T* data_end = Data + Size; while (data < data_end) if (*data++ == v) return true; return false; } + inline T* find(const T& v) { T* data = Data; const T* data_end = Data + Size; while (data < data_end) if (*data == v) break; else ++data; return data; } + inline const T* find(const T& v) const { const T* data = Data; const T* data_end = Data + Size; while (data < data_end) if (*data == v) break; else ++data; return data; } + inline int find_index(const T& v) const { const T* data_end = Data + Size; const T* it = find(v); if (it == data_end) return -1; const ptrdiff_t off = it - Data; return (int)off; } + inline bool find_erase(const T& v) { const T* it = find(v); if (it < Data + Size) { erase(it); return true; } return false; } + inline bool find_erase_unsorted(const T& v) { const T* it = find(v); if (it < Data + Size) { erase_unsorted(it); return true; } return false; } + inline int index_from_ptr(const T* it) const { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; return (int)off; } +}; +IM_MSVC_RUNTIME_CHECKS_RESTORE + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiStyle +//----------------------------------------------------------------------------- +// You may modify the ImGui::GetStyle() main instance during initialization and before NewFrame(). +// During the frame, use ImGui::PushStyleVar(ImGuiStyleVar_XXXX)/PopStyleVar() to alter the main style values, +// and ImGui::PushStyleColor(ImGuiCol_XXX)/PopStyleColor() for colors. +//----------------------------------------------------------------------------- + +struct ImGuiStyle +{ + float Alpha; // Global alpha applies to everything in Dear ImGui. + float DisabledAlpha; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha. + ImVec2 WindowPadding; // Padding within a window. + float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. + float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float WindowBorderHoverPadding; // Hit-testing extent outside/inside resizing border. Also extend determination of hovered window. Generally meaningfully larger than WindowBorderSize to make it easy to reach borders. + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constrain individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. + ImGuiDir WindowMenuButtonPosition; // Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left. + float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. + float ChildBorderSize; // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + float PopupRounding; // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding) + float PopupBorderSize; // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). + float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). + float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). + ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines. + ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). + ImVec2 CellPadding; // Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows. + ImVec2 TouchExtraPadding; // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much! + float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). + float ColumnsMinSpacing; // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1). + float ScrollbarSize; // Width of the vertical scrollbar, Height of the horizontal scrollbar. + float ScrollbarRounding; // Radius of grab corners for scrollbar. + float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar. + float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. + float LogSliderDeadzone; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. + float ImageBorderSize; // Thickness of border around Image() calls. + float TabRounding; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. + float TabBorderSize; // Thickness of border around tabs. + float TabCloseButtonMinWidthSelected; // -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width. + float TabCloseButtonMinWidthUnselected; // -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width. FLT_MAX: never show close button when unselected. + float TabBarBorderSize; // Thickness of tab-bar separator, which takes on the tab active color to denote focus. + float TabBarOverlineSize; // Thickness of tab-bar overline, which highlights the selected tab-bar. + float TableAngledHeadersAngle; // Angle of angled headers (supported values range from -50.0f degrees to +50.0f degrees). + ImVec2 TableAngledHeadersTextAlign;// Alignment of angled headers within the cell + ImGuiDir ColorButtonPosition; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. + ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered). + ImVec2 SelectableTextAlign; // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. + float SeparatorTextBorderSize; // Thickness of border in SeparatorText() + ImVec2 SeparatorTextAlign; // Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center). + ImVec2 SeparatorTextPadding; // Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small values. .y is recommended to be == FramePadding.y. + ImVec2 DisplayWindowPadding; // Apply to regular windows: amount which we enforce to keep visible when moving near edges of your screen. + ImVec2 DisplaySafeAreaPadding; // Apply to every windows, menus, popups, tooltips: amount where we avoid displaying contents. Adjust if you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured). + float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI scaling over this scale. May be removed later. + bool AntiAliasedLines; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedFill; // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. + float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. + + float WindowShadowSize; // Size (in pixels) of window shadows. Set this to zero to disable shadows. + float WindowShadowOffsetDist; // Offset distance (in pixels) of window shadows from casting window. + float WindowShadowOffsetAngle; // Offset angle of window shadows from casting window (0.0f = left, 0.5f*PI = bottom, 1.0f*PI = right, 1.5f*PI = top). + + // Colors + ImVec4 Colors[ImGuiCol_COUNT]; + + // Behaviors + // (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO) + float HoverStationaryDelay; // Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary. + float HoverDelayShort; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay. + float HoverDelayNormal; // Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). " + ImGuiHoveredFlags HoverFlagsForTooltipMouse;// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using mouse. + ImGuiHoveredFlags HoverFlagsForTooltipNav; // Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad. + + IMGUI_API ImGuiStyle(); + IMGUI_API void ScaleAllSizes(float scale_factor); + + // Obsolete names +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + // TabMinWidthForCloseButton = TabCloseButtonMinWidthUnselected // Renamed in 1.91.9. +#endif +}; + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiIO +//----------------------------------------------------------------------------- +// Communicate most settings and inputs/outputs to Dear ImGui using this structure. +// Access via ImGui::GetIO(). Read 'Programmer guide' section in .cpp file for general usage. +// It is generally expected that: +// - initialization: backends and user code writes to ImGuiIO. +// - main loop: backends writes to ImGuiIO, user code and imgui code reads from ImGuiIO. +//----------------------------------------------------------------------------- +// Also see ImGui::GetPlatformIO() and ImGuiPlatformIO struct for OS/platform related functions: clipboard, IME etc. +//----------------------------------------------------------------------------- + +// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions. +// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration. +struct ImGuiKeyData +{ + bool Down; // True for if key is down + float DownDuration; // Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held) + float DownDurationPrev; // Last frame duration the key has been down + float AnalogValue; // 0.0f..1.0f for gamepad values +}; + +struct ImGuiIO +{ + //------------------------------------------------------------------ + // Configuration // Default value + //------------------------------------------------------------------ + + ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Keyboard/Gamepad navigation options, etc. + ImGuiBackendFlags BackendFlags; // = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend) to communicate features supported by the backend. + ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size). May change every frame. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame. + float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. + const char* IniFilename; // = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call LoadIniSettingsXXX() / SaveIniSettingsXXX() functions. + const char* LogFilename; // = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified). + void* UserData; // = NULL // Store your own data. + + // Font system + ImFontAtlas*Fonts; // // Font atlas: load, rasterize and pack one or more fonts into a single texture. + float FontGlobalScale; // = 1.0f // Global scale all fonts + bool FontAllowUserScaling; // = false // [OBSOLETE] Allow user scaling text of individual window with CTRL+Wheel. + ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. + ImVec2 DisplayFramebufferScale; // = (1, 1) // For retina display or other situations where window coordinates are different from framebuffer coordinates. This generally ends up in ImDrawData::FramebufferScale. + + // Keyboard/Gamepad Navigation options + bool ConfigNavSwapGamepadButtons; // = false // Swap Activate<>Cancel (A<>B) buttons, matching typical "Nintendo/Japanese style" gamepad layout. + bool ConfigNavMoveSetMousePos; // = false // Directional/tabbing navigation teleports the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is difficult. Will update io.MousePos and set io.WantSetMousePos=true. + bool ConfigNavCaptureKeyboard; // = true // Sets io.WantCaptureKeyboard when io.NavActive is set. + bool ConfigNavEscapeClearFocusItem; // = true // Pressing Escape can clear focused item + navigation id/highlight. Set to false if you want to always keep highlight on. + bool ConfigNavEscapeClearFocusWindow;// = false // Pressing Escape can clear focused window as well (super set of io.ConfigNavEscapeClearFocusItem). + bool ConfigNavCursorVisibleAuto; // = true // Using directional navigation key makes the cursor visible. Mouse click hides the cursor. + bool ConfigNavCursorVisibleAlways; // = false // Navigation cursor is always visible. + + // Miscellaneous options + // (you can visualize and interact with all options in 'Demo->Configuration') + bool MouseDrawCursor; // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend implementations. + bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // Swap Cmd<>Ctrl keys + OS X style text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl. + bool ConfigInputTrickleEventQueue; // = true // Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates. + bool ConfigInputTextCursorBlink; // = true // Enable blinking cursor (optional as some users consider it to be distracting). + bool ConfigInputTextEnterKeepActive; // = false // [BETA] Pressing Enter will keep item active and select contents (single-line only). + bool ConfigDragClickToInputText; // = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). Not desirable on devices without a keyboard. + bool ConfigWindowsResizeFromEdges; // = true // Enable resizing of windows from their edges and from the lower-left corner. This requires ImGuiBackendFlags_HasMouseCursors for better mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag) + bool ConfigWindowsMoveFromTitleBarOnly; // = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to windows without a title bar. + bool ConfigWindowsCopyContentsWithCtrlC; // = false // [EXPERIMENTAL] CTRL+C copy the contents of focused window into the clipboard. Experimental because: (1) has known issues with nested Begin/End pairs (2) text output quality varies (3) text output is in submission order rather than spatial order. + bool ConfigScrollbarScrollByPage; // = true // Enable scrolling page by page when clicking outside the scrollbar grab. When disabled, always scroll to clicked location. When enabled, Shift+Click scrolls to clicked location. + float ConfigMemoryCompactTimer; // = 60.0f // Timer (in seconds) to free transient windows/tables memory buffers when unused. Set to -1.0f to disable. + + // Inputs Behaviors + // (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle) + float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. + float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. + float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. + float KeyRepeatDelay; // = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + + //------------------------------------------------------------------ + // Debug options + //------------------------------------------------------------------ + + // Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL] + // - Error recovery is provided as a way to facilitate: + // - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running). + // - Recovery after running an exception handler or any error processing which may skip code after an error has been detected. + // - Error recovery is not perfect nor guaranteed! It is a feature to ease development. + // You not are not supposed to rely on it in the course of a normal application run. + // - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT(). + // - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked! + // - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls! + // Otherwise it would severely hinder your ability to catch and correct mistakes! + // Read https://github.com/ocornut/imgui/wiki/Error-Handling for details. + // - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!) + // - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.) + // - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings. + bool ConfigErrorRecovery; // = true // Enable error recovery support. Some errors won't be detected and lead to direct crashes if recovery is disabled. + bool ConfigErrorRecoveryEnableAssert; // = true // Enable asserts on recoverable error. By default call IM_ASSERT() when returning from a failing IM_ASSERT_USER_ERROR() + bool ConfigErrorRecoveryEnableDebugLog; // = true // Enable debug log output on recoverable errors. + bool ConfigErrorRecoveryEnableTooltip; // = true // Enable tooltip on recoverable errors. The tooltip include a way to enable asserts if they were disabled. + + // Option to enable various debug tools showing buttons that will call the IM_DEBUG_BREAK() macro. + // - The Item Picker tool will be available regardless of this being enabled, in order to maximize its discoverability. + // - Requires a debugger being attached, otherwise IM_DEBUG_BREAK() options will appear to crash your application. + // e.g. io.ConfigDebugIsDebuggerPresent = ::IsDebuggerPresent() on Win32, or refer to ImOsIsDebuggerPresent() imgui_test_engine/imgui_te_utils.cpp for a Unix compatible version). + bool ConfigDebugIsDebuggerPresent; // = false // Enable various tools calling IM_DEBUG_BREAK(). + + // Tools to detect code submitting items with conflicting/duplicate IDs + // - Code should use PushID()/PopID() in loops, or append "##xx" to same-label identifiers. + // - Empty label e.g. Button("") == same ID as parent widget/node. Use Button("##xx") instead! + // - See FAQ https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-about-the-id-stack-system + bool ConfigDebugHighlightIdConflicts;// = true // Highlight and show an error message popup when multiple items have conflicting identifiers. + bool ConfigDebugHighlightIdConflictsShowItemPicker;//=true // Show "Item Picker" button in aforementioned popup. + + // Tools to test correct Begin/End and BeginChild/EndChild behaviors. + // - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX() + // - This is inconsistent with other BeginXXX functions and create confusion for many users. + // - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior. + bool ConfigDebugBeginReturnValueOnce;// = false // First-time calls to Begin()/BeginChild() will return false. NEEDS TO BE SET AT APPLICATION BOOT TIME if you don't want to miss windows. + bool ConfigDebugBeginReturnValueLoop;// = false // Some calls to Begin()/BeginChild() will return false. Will cycle through window depths then repeat. Suggested use: add "io.ConfigDebugBeginReturnValue = io.KeyShift" in your main loop then occasionally press SHIFT. Windows should be flickering while running. + + // Option to deactivate io.AddFocusEvent(false) handling. + // - May facilitate interactions with a debugger when focus loss leads to clearing inputs data. + // - Backends may have other side-effects on focus loss, so this will reduce side-effects but not necessary remove all of them. + bool ConfigDebugIgnoreFocusLoss; // = false // Ignore io.AddFocusEvent(false), consequently not calling io.ClearInputKeys()/io.ClearInputMouse() in input processing. + + // Option to audit .ini data + bool ConfigDebugIniSettings; // = false // Save .ini data with extra comments (particularly helpful for Docking, but makes saving slower) + + //------------------------------------------------------------------ + // Platform Identifiers + // (the imgui_impl_xxxx backend files are setting those up for you) + //------------------------------------------------------------------ + + // Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons. + // Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff. + const char* BackendPlatformName; // = NULL + const char* BackendRendererName; // = NULL + void* BackendPlatformUserData; // = NULL // User data for platform backend + void* BackendRendererUserData; // = NULL // User data for renderer backend + void* BackendLanguageUserData; // = NULL // User data for non C++ programming language backend + + //------------------------------------------------------------------ + // Input - Call before calling NewFrame() + //------------------------------------------------------------------ + + // Input Functions + IMGUI_API void AddKeyEvent(ImGuiKey key, bool down); // Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) + IMGUI_API void AddKeyAnalogEvent(ImGuiKey key, bool down, float v); // Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend. + IMGUI_API void AddMousePosEvent(float x, float y); // Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered) + IMGUI_API void AddMouseButtonEvent(int button, bool down); // Queue a mouse button change + IMGUI_API void AddMouseWheelEvent(float wheel_x, float wheel_y); // Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left. + IMGUI_API void AddMouseSourceEvent(ImGuiMouseSource source); // Queue a mouse source change (Mouse/TouchScreen/Pen) + IMGUI_API void AddFocusEvent(bool focused); // Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) + IMGUI_API void AddInputCharacter(unsigned int c); // Queue a new character input + IMGUI_API void AddInputCharacterUTF16(ImWchar16 c); // Queue a new character input from a UTF-16 character, it can be a surrogate + IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue a new characters input from a UTF-8 string + + IMGUI_API void SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index = -1); // [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. + IMGUI_API void SetAppAcceptingEvents(bool accepting_events); // Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. + IMGUI_API void ClearEventsQueue(); // Clear all incoming events. + IMGUI_API void ClearInputKeys(); // Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. + IMGUI_API void ClearInputMouse(); // Clear current mouse state. +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + IMGUI_API void ClearInputCharacters(); // [Obsoleted in 1.89.8] Clear the current frame text input buffer. Now included within ClearInputKeys(). +#endif + + //------------------------------------------------------------------ + // Output - Updated by NewFrame() or EndFrame()/Render() + // (when reading from the io.WantCaptureMouse, io.WantCaptureKeyboard flags to dispatch your inputs, it is + // generally easier and more correct to use their state BEFORE calling NewFrame(). See FAQ for details!) + //------------------------------------------------------------------ + + bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when io.ConfigNavMoveSetMousePos is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! + bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Keyboard/Gamepad navigation highlight is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per second. Solely for convenience. Slow applications may not want to use a moving average or may want to reset underlying buffers occasionally. + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsRenderWindows; // Number of visible windows + int MetricsActiveWindows; // Number of active windows + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + + //------------------------------------------------------------------ + // [Internal] Dear ImGui will maintain those fields. Forward compatibility not guaranteed! + //------------------------------------------------------------------ + + ImGuiContext* Ctx; // Parent UI context (needs to be set explicitly by parent). + + // Main Input State + // (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead) + // (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere) + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Other buttons allow us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. >0 scrolls Up, <0 scrolls Down. Hold SHIFT to turn vertical scroll into horizontal scroll. + float MouseWheelH; // Mouse wheel Horizontal. >0 scrolls Left, <0 scrolls Right. Most users don't have a mouse with a horizontal wheel, may not be filled by all backends. + ImGuiMouseSource MouseSource; // Mouse actual input peripheral (Mouse/TouchScreen/Pen). + bool KeyCtrl; // Keyboard modifier down: Control + bool KeyShift; // Keyboard modifier down: Shift + bool KeyAlt; // Keyboard modifier down: Alt + bool KeySuper; // Keyboard modifier down: Cmd/Super/Windows + + // Other state maintained from data above + IO function calls + ImGuiKeyChord KeyMods; // Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags. Read-only, updated by NewFrame() + ImGuiKeyData KeysData[ImGuiKey_NamedKey_COUNT];// Key state for all known keys. Use IsKeyXXX() functions to access this. + bool WantCaptureMouseUnlessPopupClose; // Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. + ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + double MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) + ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down + ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. + bool MouseReleased[5]; // Mouse button went from Down to !Down + double MouseReleasedTime[5]; // Time of last released (rarely used! but useful to handle delayed single-click when trying to disambiguate them from double-click). + bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. + bool MouseDownOwnedUnlessPopupClose[5]; // Track if button was clicked inside a dear imgui window. + bool MouseWheelRequestAxisSwap; // On a non-Mac system, holding SHIFT requests WheelY to perform the equivalent of a WheelX event. On a Mac system this is already enforced by the system. + bool MouseCtrlLeftAsRightClick; // (OSX) Set to true when the current click was a ctrl-click that spawned a simulated right click + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point (used for moving thresholds) + float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. + bool AppFocusLost; // Only modify via AddFocusEvent() + bool AppAcceptingEvents; // Only modify via SetAppAcceptingEvents() + ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16() + ImVector InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. + + // Legacy: before 1.87, we required backend to fill io.KeyMap[] (imgui->native map) during initialization and io.KeysDown[] (native indices) every frame. + // This is still temporarily supported as a legacy feature. However the new preferred scheme is for backend to call io.AddKeyEvent(). + // Old (<1.87): ImGui::IsKeyPressed(ImGui::GetIO().KeyMap[ImGuiKey_Space]) --> New (1.87+) ImGui::IsKeyPressed(ImGuiKey_Space) + // Old (<1.87): ImGui::IsKeyPressed(MYPLATFORM_KEY_SPACE) --> New (1.87+) ImGui::IsKeyPressed(ImGuiKey_Space) + // Read https://github.com/ocornut/imgui/issues/4921 for details. + //int KeyMap[ImGuiKey_COUNT]; // [LEGACY] Input: map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. The first 512 are now unused and should be kept zero. Legacy backend will write into KeyMap[] using ImGuiKey_ indices which are always >512. + //bool KeysDown[ImGuiKey_COUNT]; // [LEGACY] Input: Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). This used to be [512] sized. It is now ImGuiKey_COUNT to allow legacy io.KeysDown[GetKeyIndex(...)] to work without an overflow. + //float NavInputs[ImGuiNavInput_COUNT]; // [LEGACY] Since 1.88, NavInputs[] was removed. Backends from 1.60 to 1.86 won't build. Feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. + //void* ImeWindowHandle; // [Obsoleted in 1.87] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning. + + // Legacy: before 1.91.1, clipboard functions were stored in ImGuiIO instead of ImGuiPlatformIO. + // As this is will affect all users of custom engines/backends, we are providing proper legacy redirection (will obsolete). +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + const char* (*GetClipboardTextFn)(void* user_data); + void (*SetClipboardTextFn)(void* user_data, const char* text); + void* ClipboardUserData; +#endif + + IMGUI_API ImGuiIO(); +}; + +//----------------------------------------------------------------------------- +// [SECTION] Misc data structures (ImGuiInputTextCallbackData, ImGuiSizeCallbackData, ImGuiPayload) +//----------------------------------------------------------------------------- + +// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used. +// The callback function should return 0 by default. +// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details) +// - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active. +// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration +// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB +// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing Up/Down arrows +// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard. +// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. +struct ImGuiInputTextCallbackData +{ + ImGuiContext* Ctx; // Parent UI context + ImGuiInputTextFlags EventFlag; // One ImGuiInputTextFlags_Callback* // Read-only + ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only + void* UserData; // What user passed to InputText() // Read-only + + // Arguments for the different callback events + // - During Resize callback, Buf will be same as your input buffer. + // - However, during Completion/History/Always callback, Buf always points to our own internal data (it is not the same as your buffer)! Changes to it will be reflected into your own buffer shortly after the callback. + // - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary. + // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state. + ImWchar EventChar; // Character input // Read-write // [CharFilter] Replace character with another one, or set to zero to drop. return 1 is equivalent to setting EventChar=0; + ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only // [Completion,History] + char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer! + int BufTextLen; // Text length (in bytes) // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length() + int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 + bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always] + int CursorPos; // // Read-write // [Completion,History,Always] + int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection) + int SelectionEnd; // // Read-write // [Completion,History,Always] + + // Helper functions for text manipulation. + // Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. + IMGUI_API ImGuiInputTextCallbackData(); + IMGUI_API void DeleteChars(int pos, int bytes_count); + IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL); + void SelectAll() { SelectionStart = 0; SelectionEnd = BufTextLen; } + void ClearSelection() { SelectionStart = SelectionEnd = BufTextLen; } + bool HasSelection() const { return SelectionStart != SelectionEnd; } +}; + +// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). +// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. +struct ImGuiSizeCallbackData +{ + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>). + ImVec2 Pos; // Read-only. Window position, for reference. + ImVec2 CurrentSize; // Read-only. Current window size. + ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. +}; + +// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload() +struct ImGuiPayload +{ + // Members + void* Data; // Data (copied and owned by dear imgui) + int DataSize; // Data size + + // [Internal] + ImGuiID SourceId; // Source item id + ImGuiID SourceParentId; // Source parent id (if available) + int DataFrameCount; // Data timestamp + char DataType[32 + 1]; // Data type tag (short user-supplied string, 32 characters max) + bool Preview; // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets) + bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. + + ImGuiPayload() { Clear(); } + void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; } + bool IsDataType(const char* type) const { return DataFrameCount != -1 && strcmp(type, DataType) == 0; } + bool IsPreview() const { return Preview; } + bool IsDelivery() const { return Delivery; } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, Math Operators, ImColor) +//----------------------------------------------------------------------------- + +// Helper: Unicode defines +#define IM_UNICODE_CODEPOINT_INVALID 0xFFFD // Invalid Unicode code point (standard value). +#ifdef IMGUI_USE_WCHAR32 +#define IM_UNICODE_CODEPOINT_MAX 0x10FFFF // Maximum Unicode code point supported by this build. +#else +#define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Maximum Unicode code point supported by this build. +#endif + +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame. +// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); +struct ImGuiOnceUponAFrame +{ + ImGuiOnceUponAFrame() { RefFrame = -1; } + mutable int RefFrame; + operator bool() const { int current_frame = ImGui::GetFrameCount(); if (RefFrame == current_frame) return false; RefFrame = current_frame; return true; } +}; + +// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" +struct ImGuiTextFilter +{ + IMGUI_API ImGuiTextFilter(const char* default_filter = ""); + IMGUI_API bool Draw(const char* label = "Filter (inc,-exc)", float width = 0.0f); // Helper calling InputText+Build + IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const; + IMGUI_API void Build(); + void Clear() { InputBuf[0] = 0; Build(); } + bool IsActive() const { return !Filters.empty(); } + + // [Internal] + struct ImGuiTextRange + { + const char* b; + const char* e; + + ImGuiTextRange() { b = e = NULL; } + ImGuiTextRange(const char* _b, const char* _e) { b = _b; e = _e; } + bool empty() const { return b == e; } + IMGUI_API void split(char separator, ImVector* out) const; + }; + char InputBuf[256]; + ImVectorFilters; + int CountGrep; +}; + +// Helper: Growable text buffer for logging/accumulating text +// (this could be called 'ImGuiTextBuilder' / 'ImGuiStringBuilder') +struct ImGuiTextBuffer +{ + ImVector Buf; + IMGUI_API static char EmptyString[1]; + + ImGuiTextBuffer() { } + inline char operator[](int i) const { IM_ASSERT(Buf.Data != NULL); return Buf.Data[i]; } + const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; } + const char* end() const { return Buf.Data ? &Buf.back() : EmptyString; } // Buf is zero-terminated, so end() will point on the zero-terminator + int size() const { return Buf.Size ? Buf.Size - 1 : 0; } + bool empty() const { return Buf.Size <= 1; } + void clear() { Buf.clear(); } + void reserve(int capacity) { Buf.reserve(capacity); } + const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; } + IMGUI_API void append(const char* str, const char* str_end = NULL); + IMGUI_API void appendf(const char* fmt, ...) IM_FMTARGS(2); + IMGUI_API void appendfv(const char* fmt, va_list args) IM_FMTLIST(2); +}; + +// [Internal] Key+Value for ImGuiStorage +struct ImGuiStoragePair +{ + ImGuiID key; + union { int val_i; float val_f; void* val_p; }; + ImGuiStoragePair(ImGuiID _key, int _val) { key = _key; val_i = _val; } + ImGuiStoragePair(ImGuiID _key, float _val) { key = _key; val_f = _val; } + ImGuiStoragePair(ImGuiID _key, void* _val) { key = _key; val_p = _val; } +}; + +// Helper: Key->Value storage +// Typically you don't have to worry about this since a storage is held within each Window. +// We use it to e.g. store collapse state for a tree (Int 0/1) +// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame) +// You can use it as custom user storage for temporary values. Declare your own storage if, for example: +// - You want to manipulate the open/close state of a particular sub-tree in your interface (tree node uses Int 0/1 to store their state). +// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient) +// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types. +struct ImGuiStorage +{ + // [Internal] + ImVector Data; + + // - Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) + // - Set***() functions find pair, insertion on demand if missing. + // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair. + void Clear() { Data.clear(); } + IMGUI_API int GetInt(ImGuiID key, int default_val = 0) const; + IMGUI_API void SetInt(ImGuiID key, int val); + IMGUI_API bool GetBool(ImGuiID key, bool default_val = false) const; + IMGUI_API void SetBool(ImGuiID key, bool val); + IMGUI_API float GetFloat(ImGuiID key, float default_val = 0.0f) const; + IMGUI_API void SetFloat(ImGuiID key, float val); + IMGUI_API void* GetVoidPtr(ImGuiID key) const; // default_val is NULL + IMGUI_API void SetVoidPtr(ImGuiID key, void* val); + + // - Get***Ref() functions finds pair, insert on demand if missing, return pointer. Useful if you intend to do Get+Set. + // - References are only valid until a new value is added to the storage. Calling a Set***() function or a Get***Ref() function invalidates the pointer. + // - A typical use case where this is convenient for quick hacking (e.g. add storage during a live Edit&Continue session if you can't modify existing struct) + // float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat("var", pvar, 0, 100.0f); some_var += *pvar; + IMGUI_API int* GetIntRef(ImGuiID key, int default_val = 0); + IMGUI_API bool* GetBoolRef(ImGuiID key, bool default_val = false); + IMGUI_API float* GetFloatRef(ImGuiID key, float default_val = 0.0f); + IMGUI_API void** GetVoidPtrRef(ImGuiID key, void* default_val = NULL); + + // Advanced: for quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once. + IMGUI_API void BuildSortByKey(); + // Obsolete: use on your own storage if you know only integer are being stored (open/close all tree nodes) + IMGUI_API void SetAllInt(int val); + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + //typedef ::ImGuiStoragePair ImGuiStoragePair; // 1.90.8: moved type outside struct +#endif +}; + +// Helper: Manually clip large list of items. +// If you have lots evenly spaced items and you have random access to the list, you can perform coarse +// clipping based on visibility to only submit items that are in view. +// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. +// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally +// fetching/submitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily +// scale using lists with tens of thousands of items without a problem) +// Usage: +// ImGuiListClipper clipper; +// clipper.Begin(1000); // We have 1000 elements, evenly spaced. +// while (clipper.Step()) +// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) +// ImGui::Text("line number %d", i); +// Generally what happens is: +// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not. +// - User code submit that one element. +// - Clipper can measure the height of the first element +// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element. +// - User code submit visible elements. +// - The clipper also handles various subtleties related to keyboard/gamepad navigation, wrapping etc. +struct ImGuiListClipper +{ + ImGuiContext* Ctx; // Parent UI context + int DisplayStart; // First item to display, updated by each call to Step() + int DisplayEnd; // End of items to display (exclusive) + int ItemsCount; // [Internal] Number of items + float ItemsHeight; // [Internal] Height of item after a first step and item submission can calculate it + float StartPosY; // [Internal] Cursor position at the time of Begin() or after table frozen rows are all processed + double StartSeekOffsetY; // [Internal] Account for frozen rows in a table and initial loss of precision in very large windows. + void* TempData; // [Internal] Internal data + + // items_count: Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step, and you can call SeekCursorForItem() manually if you need) + // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing(). + IMGUI_API ImGuiListClipper(); + IMGUI_API ~ImGuiListClipper(); + IMGUI_API void Begin(int items_count, float items_height = -1.0f); + IMGUI_API void End(); // Automatically called on the last call of Step() that returns false. + IMGUI_API bool Step(); // Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. + + // Call IncludeItemByIndex() or IncludeItemsByIndex() *BEFORE* first call to Step() if you need a range of items to not be clipped, regardless of their visibility. + // (Due to alignment / padding of certain items it is possible that an extra item may be included on either end of the display range). + inline void IncludeItemByIndex(int item_index) { IncludeItemsByIndex(item_index, item_index + 1); } + IMGUI_API void IncludeItemsByIndex(int item_begin, int item_end); // item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped. + + // Seek cursor toward given item. This is automatically called while stepping. + // - The only reason to call this is: you can use ImGuiListClipper::Begin(INT_MAX) if you don't know item count ahead of time. + // - In this case, after all steps are done, you'll want to call SeekCursorForItem(item_count). + IMGUI_API void SeekCursorForItem(int item_index); + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + inline void IncludeRangeByIndices(int item_begin, int item_end) { IncludeItemsByIndex(item_begin, item_end); } // [renamed in 1.89.9] + inline void ForceDisplayRangeByIndices(int item_begin, int item_end) { IncludeItemsByIndex(item_begin, item_end); } // [renamed in 1.89.6] + //inline ImGuiListClipper(int items_count, float items_height = -1.0f) { memset(this, 0, sizeof(*this)); ItemsCount = -1; Begin(items_count, items_height); } // [removed in 1.79] +#endif +}; + +// Helpers: ImVec2/ImVec4 operators +// - It is important that we are keeping those disabled by default so they don't leak in user space. +// - This is in order to allow user enabling implicit cast operators between ImVec2/ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h) +// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4. +// - We intentionally provide ImVec2*float but not float*ImVec2: this is rare enough and we want to reduce the surface for possible user mistake. +#ifdef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS_IMPLEMENTED +IM_MSVC_RUNTIME_CHECKS_OFF +static inline ImVec2 operator*(const ImVec2& lhs, const float rhs) { return ImVec2(lhs.x * rhs, lhs.y * rhs); } +static inline ImVec2 operator/(const ImVec2& lhs, const float rhs) { return ImVec2(lhs.x / rhs, lhs.y / rhs); } +static inline ImVec2 operator+(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x + rhs.x, lhs.y + rhs.y); } +static inline ImVec2 operator-(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x - rhs.x, lhs.y - rhs.y); } +static inline ImVec2 operator*(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x * rhs.x, lhs.y * rhs.y); } +static inline ImVec2 operator/(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x / rhs.x, lhs.y / rhs.y); } +static inline ImVec2 operator-(const ImVec2& lhs) { return ImVec2(-lhs.x, -lhs.y); } +static inline ImVec2& operator*=(ImVec2& lhs, const float rhs) { lhs.x *= rhs; lhs.y *= rhs; return lhs; } +static inline ImVec2& operator/=(ImVec2& lhs, const float rhs) { lhs.x /= rhs; lhs.y /= rhs; return lhs; } +static inline ImVec2& operator+=(ImVec2& lhs, const ImVec2& rhs) { lhs.x += rhs.x; lhs.y += rhs.y; return lhs; } +static inline ImVec2& operator-=(ImVec2& lhs, const ImVec2& rhs) { lhs.x -= rhs.x; lhs.y -= rhs.y; return lhs; } +static inline ImVec2& operator*=(ImVec2& lhs, const ImVec2& rhs) { lhs.x *= rhs.x; lhs.y *= rhs.y; return lhs; } +static inline ImVec2& operator/=(ImVec2& lhs, const ImVec2& rhs) { lhs.x /= rhs.x; lhs.y /= rhs.y; return lhs; } +static inline bool operator==(const ImVec2& lhs, const ImVec2& rhs) { return lhs.x == rhs.x && lhs.y == rhs.y; } +static inline bool operator!=(const ImVec2& lhs, const ImVec2& rhs) { return lhs.x != rhs.x || lhs.y != rhs.y; } +static inline ImVec4 operator+(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x + rhs.x, lhs.y + rhs.y, lhs.z + rhs.z, lhs.w + rhs.w); } +static inline ImVec4 operator-(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z, lhs.w - rhs.w); } +static inline ImVec4 operator*(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z, lhs.w * rhs.w); } +static inline bool operator==(const ImVec4& lhs, const ImVec4& rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && lhs.z == rhs.z && lhs.w == rhs.w; } +static inline bool operator!=(const ImVec4& lhs, const ImVec4& rhs) { return lhs.x != rhs.x || lhs.y != rhs.y || lhs.z != rhs.z || lhs.w != rhs.w; } +IM_MSVC_RUNTIME_CHECKS_RESTORE +#endif + +// Helpers macros to generate 32-bit encoded colors +// - User can declare their own format by #defining the 5 _SHIFT/_MASK macros in their imconfig file. +// - Any setting other than the default will need custom backend support. The only standard backend that supports anything else than the default is DirectX9. +#ifndef IM_COL32_R_SHIFT +#ifdef IMGUI_USE_BGRA_PACKED_COLOR +#define IM_COL32_R_SHIFT 16 +#define IM_COL32_G_SHIFT 8 +#define IM_COL32_B_SHIFT 0 +#define IM_COL32_A_SHIFT 24 +#define IM_COL32_A_MASK 0xFF000000 +#else +#define IM_COL32_R_SHIFT 0 +#define IM_COL32_G_SHIFT 8 +#define IM_COL32_B_SHIFT 16 +#define IM_COL32_A_SHIFT 24 +#define IM_COL32_A_MASK 0xFF000000 +#endif +#endif +#define IM_COL32(R,G,B,A) (((ImU32)(A)<> IM_COL32_R_SHIFT) & 0xFF) * (1.0f / 255.0f), (float)((rgba >> IM_COL32_G_SHIFT) & 0xFF) * (1.0f / 255.0f), (float)((rgba >> IM_COL32_B_SHIFT) & 0xFF) * (1.0f / 255.0f), (float)((rgba >> IM_COL32_A_SHIFT) & 0xFF) * (1.0f / 255.0f)) {} + inline operator ImU32() const { return ImGui::ColorConvertFloat4ToU32(Value); } + inline operator ImVec4() const { return Value; } + + // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers. + inline void SetHSV(float h, float s, float v, float a = 1.0f){ ImGui::ColorConvertHSVtoRGB(h, s, v, Value.x, Value.y, Value.z); Value.w = a; } + static ImColor HSV(float h, float s, float v, float a = 1.0f) { float r, g, b; ImGui::ColorConvertHSVtoRGB(h, s, v, r, g, b); return ImColor(r, g, b, a); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Multi-Select API flags and structures (ImGuiMultiSelectFlags, ImGuiSelectionRequestType, ImGuiSelectionRequest, ImGuiMultiSelectIO, ImGuiSelectionBasicStorage) +//----------------------------------------------------------------------------- + +// Multi-selection system +// Documentation at: https://github.com/ocornut/imgui/wiki/Multi-Select +// - Refer to 'Demo->Widgets->Selection State & Multi-Select' for demos using this. +// - This system implements standard multi-selection idioms (CTRL+Mouse/Keyboard, SHIFT+Mouse/Keyboard, etc) +// with support for clipper (skipping non-visible items), box-select and many other details. +// - Selectable(), Checkbox() are supported but custom widgets may use it as well. +// - TreeNode() is technically supported but... using this correctly is more complicated: you need some sort of linear/random access to your tree, +// which is suited to advanced trees setups also implementing filters and clipper. We will work toward simplifying and demoing it. +// - In the spirit of Dear ImGui design, your code owns actual selection data. +// This is designed to allow all kinds of selection storage you may use in your application e.g. set/map/hash. +// About ImGuiSelectionBasicStorage: +// - This is an optional helper to store a selection state and apply selection requests. +// - It is used by our demos and provided as a convenience to quickly implement multi-selection. +// Usage: +// - Identify submitted items with SetNextItemSelectionUserData(), most likely using an index into your current data-set. +// - Store and maintain actual selection data using persistent object identifiers. +// - Usage flow: +// BEGIN - (1) Call BeginMultiSelect() and retrieve the ImGuiMultiSelectIO* result. +// - (2) Honor request list (SetAll/SetRange requests) by updating your selection data. Same code as Step 6. +// - (3) [If using clipper] You need to make sure RangeSrcItem is always submitted. Calculate its index and pass to clipper.IncludeItemByIndex(). If storing indices in ImGuiSelectionUserData, a simple clipper.IncludeItemByIndex(ms_io->RangeSrcItem) call will work. +// LOOP - (4) Submit your items with SetNextItemSelectionUserData() + Selectable()/TreeNode() calls. +// END - (5) Call EndMultiSelect() and retrieve the ImGuiMultiSelectIO* result. +// - (6) Honor request list (SetAll/SetRange requests) by updating your selection data. Same code as Step 2. +// If you submit all items (no clipper), Step 2 and 3 are optional and will be handled by each item themselves. It is fine to always honor those steps. +// About ImGuiSelectionUserData: +// - This can store an application-defined identifier (e.g. index or pointer) submitted via SetNextItemSelectionUserData(). +// - In return we store them into RangeSrcItem/RangeFirstItem/RangeLastItem and other fields in ImGuiMultiSelectIO. +// - Most applications will store an object INDEX, hence the chosen name and type. Storing an index is natural, because +// SetRange requests will give you two end-points and you will need to iterate/interpolate between them to update your selection. +// - However it is perfectly possible to store a POINTER or another IDENTIFIER inside ImGuiSelectionUserData. +// Our system never assume that you identify items by indices, it never attempts to interpolate between two values. +// - If you enable ImGuiMultiSelectFlags_NoRangeSelect then it is guaranteed that you will never have to interpolate +// between two ImGuiSelectionUserData, which may be a convenient way to use part of the feature with less code work. +// - As most users will want to store an index, for convenience and to reduce confusion we use ImS64 instead of void*, +// being syntactically easier to downcast. Feel free to reinterpret_cast and store a pointer inside. + +// Flags for BeginMultiSelect() +enum ImGuiMultiSelectFlags_ +{ + ImGuiMultiSelectFlags_None = 0, + ImGuiMultiSelectFlags_SingleSelect = 1 << 0, // Disable selecting more than one item. This is available to allow single-selection code to share same code/logic if desired. It essentially disables the main purpose of BeginMultiSelect() tho! + ImGuiMultiSelectFlags_NoSelectAll = 1 << 1, // Disable CTRL+A shortcut to select all. + ImGuiMultiSelectFlags_NoRangeSelect = 1 << 2, // Disable Shift+selection mouse/keyboard support (useful for unordered 2D selection). With BoxSelect is also ensure contiguous SetRange requests are not combined into one. This allows not handling interpolation in SetRange requests. + ImGuiMultiSelectFlags_NoAutoSelect = 1 << 3, // Disable selecting items when navigating (useful for e.g. supporting range-select in a list of checkboxes). + ImGuiMultiSelectFlags_NoAutoClear = 1 << 4, // Disable clearing selection when navigating or selecting another one (generally used with ImGuiMultiSelectFlags_NoAutoSelect. useful for e.g. supporting range-select in a list of checkboxes). + ImGuiMultiSelectFlags_NoAutoClearOnReselect = 1 << 5, // Disable clearing selection when clicking/selecting an already selected item. + ImGuiMultiSelectFlags_BoxSelect1d = 1 << 6, // Enable box-selection with same width and same x pos items (e.g. full row Selectable()). Box-selection works better with little bit of spacing between items hit-box in order to be able to aim at empty space. + ImGuiMultiSelectFlags_BoxSelect2d = 1 << 7, // Enable box-selection with varying width or varying x pos items support (e.g. different width labels, or 2D layout/grid). This is slower: alters clipping logic so that e.g. horizontal movements will update selection of normally clipped items. + ImGuiMultiSelectFlags_BoxSelectNoScroll = 1 << 8, // Disable scrolling when box-selecting near edges of scope. + ImGuiMultiSelectFlags_ClearOnEscape = 1 << 9, // Clear selection when pressing Escape while scope is focused. + ImGuiMultiSelectFlags_ClearOnClickVoid = 1 << 10, // Clear selection when clicking on empty location within scope. + ImGuiMultiSelectFlags_ScopeWindow = 1 << 11, // Scope for _BoxSelect and _ClearOnClickVoid is whole window (Default). Use if BeginMultiSelect() covers a whole window or used a single time in same window. + ImGuiMultiSelectFlags_ScopeRect = 1 << 12, // Scope for _BoxSelect and _ClearOnClickVoid is rectangle encompassing BeginMultiSelect()/EndMultiSelect(). Use if BeginMultiSelect() is called multiple times in same window. + ImGuiMultiSelectFlags_SelectOnClick = 1 << 13, // Apply selection on mouse down when clicking on unselected item. (Default) + ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 14, // Apply selection on mouse release when clicking an unselected item. Allow dragging an unselected item without altering selection. + //ImGuiMultiSelectFlags_RangeSelect2d = 1 << 15, // Shift+Selection uses 2d geometry instead of linear sequence, so possible to use Shift+up/down to select vertically in grid. Analogous to what BoxSelect does. + ImGuiMultiSelectFlags_NavWrapX = 1 << 16, // [Temporary] Enable navigation wrapping on X axis. Provided as a convenience because we don't have a design for the general Nav API for this yet. When the more general feature be public we may obsolete this flag in favor of new one. +}; + +// Main IO structure returned by BeginMultiSelect()/EndMultiSelect(). +// This mainly contains a list of selection requests. +// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen. +// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo) +// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code. +struct ImGuiMultiSelectIO +{ + //------------------------------------------// BeginMultiSelect / EndMultiSelect + ImVector Requests; // ms:w, app:r / ms:w app:r // Requests to apply to your selection data. + ImGuiSelectionUserData RangeSrcItem; // ms:w app:r / // (If using clipper) Begin: Source item (often the first selected item) must never be clipped: use clipper.IncludeItemByIndex() to ensure it is submitted. + ImGuiSelectionUserData NavIdItem; // ms:w, app:r / // (If using deletion) Last known SetNextItemSelectionUserData() value for NavId (if part of submitted items). + bool NavIdSelected; // ms:w, app:r / app:r // (If using deletion) Last known selection state for NavId (if part of submitted items). + bool RangeSrcReset; // app:w / ms:r // (If using deletion) Set before EndMultiSelect() to reset ResetSrcItem (e.g. if deleted selection). + int ItemsCount; // ms:w, app:r / app:r // 'int items_count' parameter to BeginMultiSelect() is copied here for convenience, allowing simpler calls to your ApplyRequests handler. Not used internally. +}; + +// Selection request type +enum ImGuiSelectionRequestType +{ + ImGuiSelectionRequestType_None = 0, + ImGuiSelectionRequestType_SetAll, // Request app to clear selection (if Selected==false) or select all items (if Selected==true). We cannot set RangeFirstItem/RangeLastItem as its contents is entirely up to user (not necessarily an index) + ImGuiSelectionRequestType_SetRange, // Request app to select/unselect [RangeFirstItem..RangeLastItem] items (inclusive) based on value of Selected. Only EndMultiSelect() request this, app code can read after BeginMultiSelect() and it will always be false. +}; + +// Selection request item +struct ImGuiSelectionRequest +{ + //------------------------------------------// BeginMultiSelect / EndMultiSelect + ImGuiSelectionRequestType Type; // ms:w, app:r / ms:w, app:r // Request type. You'll most often receive 1 Clear + 1 SetRange with a single-item range. + bool Selected; // ms:w, app:r / ms:w, app:r // Parameter for SetAll/SetRange requests (true = select, false = unselect) + ImS8 RangeDirection; // / ms:w app:r // Parameter for SetRange request: +1 when RangeFirstItem comes before RangeLastItem, -1 otherwise. Useful if you want to preserve selection order on a backward Shift+Click. + ImGuiSelectionUserData RangeFirstItem; // / ms:w, app:r // Parameter for SetRange request (this is generally == RangeSrcItem when shift selecting from top to bottom). + ImGuiSelectionUserData RangeLastItem; // / ms:w, app:r // Parameter for SetRange request (this is generally == RangeSrcItem when shift selecting from bottom to top). Inclusive! +}; + +// Optional helper to store multi-selection state + apply multi-selection requests. +// - Used by our demos and provided as a convenience to easily implement basic multi-selection. +// - Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) { ... }' +// Or you can check 'if (Contains(id)) { ... }' for each possible object if their number is not too high to iterate. +// - USING THIS IS NOT MANDATORY. This is only a helper and not a required API. +// To store a multi-selection, in your application you could: +// - Use this helper as a convenience. We use our simple key->value ImGuiStorage as a std::set replacement. +// - Use your own external storage: e.g. std::set, std::vector, interval trees, intrusively stored selection etc. +// In ImGuiSelectionBasicStorage we: +// - always use indices in the multi-selection API (passed to SetNextItemSelectionUserData(), retrieved in ImGuiMultiSelectIO) +// - use the AdapterIndexToStorageId() indirection layer to abstract how persistent selection data is derived from an index. +// - use decently optimized logic to allow queries and insertion of very large selection sets. +// - do not preserve selection order. +// Many combinations are possible depending on how you prefer to store your items and how you prefer to store your selection. +// Large applications are likely to eventually want to get rid of this indirection layer and do their own thing. +// See https://github.com/ocornut/imgui/wiki/Multi-Select for details and pseudo-code using this helper. +struct ImGuiSelectionBasicStorage +{ + // Members + int Size; // // Number of selected items, maintained by this helper. + bool PreserveOrder; // = false // GetNextSelectedItem() will return ordered selection (currently implemented by two additional sorts of selection. Could be improved) + void* UserData; // = NULL // User data for use by adapter function // e.g. selection.UserData = (void*)my_items; + ImGuiID (*AdapterIndexToStorageId)(ImGuiSelectionBasicStorage* self, int idx); // e.g. selection.AdapterIndexToStorageId = [](ImGuiSelectionBasicStorage* self, int idx) { return ((MyItems**)self->UserData)[idx]->ID; }; + int _SelectionOrder;// [Internal] Increasing counter to store selection order + ImGuiStorage _Storage; // [Internal] Selection set. Think of this as similar to e.g. std::set. Prefer not accessing directly: iterate with GetNextSelectedItem(). + + // Methods + IMGUI_API ImGuiSelectionBasicStorage(); + IMGUI_API void ApplyRequests(ImGuiMultiSelectIO* ms_io); // Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect() + IMGUI_API bool Contains(ImGuiID id) const; // Query if an item id is in selection. + IMGUI_API void Clear(); // Clear selection + IMGUI_API void Swap(ImGuiSelectionBasicStorage& r); // Swap two selections + IMGUI_API void SetItemSelected(ImGuiID id, bool selected); // Add/remove an item from selection (generally done by ApplyRequests() function) + IMGUI_API bool GetNextSelectedItem(void** opaque_it, ImGuiID* out_id); // Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) { ... }' + inline ImGuiID GetStorageIdFromIndex(int idx) { return AdapterIndexToStorageId(this, idx); } // Convert index to item id based on provided adapter. +}; + +// Optional helper to apply multi-selection requests to existing randomly accessible storage. +// Convenient if you want to quickly wire multi-select API on e.g. an array of bool or items storing their own selection state. +struct ImGuiSelectionExternalStorage +{ + // Members + void* UserData; // User data for use by adapter function // e.g. selection.UserData = (void*)my_items; + void (*AdapterSetItemSelected)(ImGuiSelectionExternalStorage* self, int idx, bool selected); // e.g. AdapterSetItemSelected = [](ImGuiSelectionExternalStorage* self, int idx, bool selected) { ((MyItems**)self->UserData)[idx]->Selected = selected; } + + // Methods + IMGUI_API ImGuiSelectionExternalStorage(); + IMGUI_API void ApplyRequests(ImGuiMultiSelectIO* ms_io); // Apply selection requests by using AdapterSetItemSelected() calls +}; + +//----------------------------------------------------------------------------- +// [SECTION] Drawing API (ImDrawCmd, ImDrawIdx, ImDrawVert, ImDrawChannel, ImDrawListSplitter, ImDrawListFlags, ImDrawList, ImDrawData) +// Hold a series of drawing commands. The user provides a renderer for ImDrawData which essentially contains an array of ImDrawList. +//----------------------------------------------------------------------------- + +// The maximum line width to bake anti-aliased textures for. Build atlas with ImFontAtlasFlags_NoBakedLines to disable baking. +#ifndef IM_DRAWLIST_TEX_LINES_WIDTH_MAX +#define IM_DRAWLIST_TEX_LINES_WIDTH_MAX (32) +#endif + +// ImDrawCallback: Draw callbacks for advanced uses [configurable type: override in imconfig.h] +// NB: You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering, +// you can poke into the draw list for that! Draw callback may be useful for example to: +// A) Change your GPU render state, +// B) render a complex 3D scene inside a UI element without an intermediate texture/render target, etc. +// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) { cmd.UserCallback(parent_list, cmd); } else { RenderTriangles() }' +// If you want to override the signature of ImDrawCallback, you can simply use e.g. '#define ImDrawCallback MyDrawCallback' (in imconfig.h) + update rendering backend accordingly. +#ifndef ImDrawCallback +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); +#endif + +// Special Draw callback value to request renderer backend to reset the graphics/render state. +// The renderer backend needs to handle this special value, otherwise it will crash trying to call a function at this address. +// This is useful, for example, if you submitted callbacks which you know have altered the render state and you want it to be restored. +// Render state is not reset by default because they are many perfectly useful way of altering render state (e.g. changing shader/blending settings before an Image call). +#define ImDrawCallback_ResetRenderState (ImDrawCallback)(-8) + +// Typically, 1 command = 1 GPU draw call (unless command is a callback) +// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled, +// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. +// Backends made for <1.71. will typically ignore the VtxOffset fields. +// - The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for). +struct ImDrawCmd +{ + ImVec4 ClipRect; // 4*4 // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates + ImTextureID TextureId; // 4-8 // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. + unsigned int VtxOffset; // 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices. + unsigned int IdxOffset; // 4 // Start offset in index buffer. + unsigned int ElemCount; // 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. + ImDrawCallback UserCallback; // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. + void* UserCallbackData; // 4-8 // Callback user data (when UserCallback != NULL). If called AddCallback() with size == 0, this is a copy of the AddCallback() argument. If called AddCallback() with size > 0, this is pointing to a buffer where data is stored. + int UserCallbackDataSize; // 4 // Size of callback user data when using storage, otherwise 0. + int UserCallbackDataOffset;// 4 // [Internal] Offset of callback user data when using storage, otherwise -1. + + ImDrawCmd() { memset(this, 0, sizeof(*this)); } // Also ensure our padding fields are zeroed + + // Since 1.83: returns ImTextureID associated with this draw call. Warning: DO NOT assume this is always same as 'TextureId' (we will change this function for an upcoming feature) + inline ImTextureID GetTexID() const { return TextureId; } +}; + +// Vertex layout +#ifndef IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT +struct ImDrawVert +{ + ImVec2 pos; + ImVec2 uv; + ImU32 col; +}; +#else +// You can override the vertex format layout by defining IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT in imconfig.h +// The code expect ImVec2 pos (8 bytes), ImVec2 uv (8 bytes), ImU32 col (4 bytes), but you can re-order them or add other fields as needed to simplify integration in your engine. +// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared at the time you'd want to set your type up. +// NOTE: IMGUI DOESN'T CLEAR THE STRUCTURE AND DOESN'T CALL A CONSTRUCTOR SO ANY CUSTOM FIELD WILL BE UNINITIALIZED. IF YOU ADD EXTRA FIELDS (SUCH AS A 'Z' COORDINATES) YOU WILL NEED TO CLEAR THEM DURING RENDER OR TO IGNORE THEM. +IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT; +#endif + +// [Internal] For use by ImDrawList +struct ImDrawCmdHeader +{ + ImVec4 ClipRect; + ImTextureID TextureId; + unsigned int VtxOffset; +}; + +// [Internal] For use by ImDrawListSplitter +struct ImDrawChannel +{ + ImVector _CmdBuffer; + ImVector _IdxBuffer; +}; + +// Split/Merge functions are used to split the draw list into different layers which can be drawn into out of order. +// This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call. +struct ImDrawListSplitter +{ + int _Current; // Current channel number (0) + int _Count; // Number of active channels (1+) + ImVector _Channels; // Draw channels (not resized down so _Count might be < Channels.Size) + + inline ImDrawListSplitter() { memset(this, 0, sizeof(*this)); } + inline ~ImDrawListSplitter() { ClearFreeMemory(); } + inline void Clear() { _Current = 0; _Count = 1; } // Do not clear Channels[] so our allocations are reused next frame + IMGUI_API void ClearFreeMemory(); + IMGUI_API void Split(ImDrawList* draw_list, int count); + IMGUI_API void Merge(ImDrawList* draw_list); + IMGUI_API void SetCurrentChannel(ImDrawList* draw_list, int channel_idx); +}; + +// Flags for ImDrawList functions +// (Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused) +enum ImDrawFlags_ +{ + ImDrawFlags_None = 0, + ImDrawFlags_Closed = 1 << 0, // PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason) + ImDrawFlags_RoundCornersTopLeft = 1 << 4, // AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01. + ImDrawFlags_RoundCornersTopRight = 1 << 5, // AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02. + ImDrawFlags_RoundCornersBottomLeft = 1 << 6, // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04. + ImDrawFlags_RoundCornersBottomRight = 1 << 7, // AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08. + ImDrawFlags_RoundCornersNone = 1 << 8, // AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag! + ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight, + ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, + ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft, + ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, + ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, + ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, // Default to ALL corners if none of the _RoundCornersXX flags are specified. + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, + ImDrawFlags_ShadowCutOutShapeBackground = 1 << 9, // Do not render the shadow shape under the objects to be shadowed to save on fill-rate or facilitate blending. Slower on CPU. +}; + +// Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. +// It is however possible to temporarily alter flags between calls to ImDrawList:: functions. +enum ImDrawListFlags_ +{ + ImDrawListFlags_None = 0, + ImDrawListFlags_AntiAliasedLines = 1 << 0, // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles) + ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). + ImDrawListFlags_AntiAliasedFill = 1 << 2, // Enable anti-aliased edge around filled shapes (rounded rectangles, circles). + ImDrawListFlags_AllowVtxOffset = 1 << 3, // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. +}; + +// Draw command list +// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame, +// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering. +// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to +// access the current window draw list and draw custom primitives. +// You can interleave normal ImGui:: calls and adding primitives to the current draw list. +// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize). +// You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!) +// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects. +struct ImDrawList +{ + // This is what you have to render + ImVector CmdBuffer; // Draw commands. Typically 1 command = 1 GPU draw call, unless the command is a callback. + ImVector IdxBuffer; // Index buffer. Each command consume ImDrawCmd::ElemCount of those + ImVector VtxBuffer; // Vertex buffer. + ImDrawListFlags Flags; // Flags, you may poke into these to adjust anti-aliasing settings per-primitive. + + // [Internal, used while building lists] + unsigned int _VtxCurrentIdx; // [Internal] generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0. + ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) + ImVector _Path; // [Internal] current path building + ImDrawCmdHeader _CmdHeader; // [Internal] template of active commands. Fields should match those of CmdBuffer.back(). + ImDrawListSplitter _Splitter; // [Internal] for channels api (note: prefer using your own persistent instance of ImDrawListSplitter!) + ImVector _ClipRectStack; // [Internal] + ImVector _TextureIdStack; // [Internal] + ImVector _CallbacksDataBuf; // [Internal] + float _FringeScale; // [Internal] anti-alias fringe is scaled by this value, this helps to keep things sharp while zooming at vertex buffer content + const char* _OwnerName; // Pointer to owner window's name for debugging + + // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData(). + // (advanced: you may create and use your own ImDrawListSharedData so you can use ImDrawList without ImGui, but that's more involved) + IMGUI_API ImDrawList(ImDrawListSharedData* shared_data); + IMGUI_API ~ImDrawList(); + + IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect = false); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) + IMGUI_API void PushClipRectFullScreen(); + IMGUI_API void PopClipRect(); + IMGUI_API void PushTextureID(ImTextureID texture_id); + IMGUI_API void PopTextureID(); + inline ImVec2 GetClipRectMin() const { const ImVec4& cr = _ClipRectStack.back(); return ImVec2(cr.x, cr.y); } + inline ImVec2 GetClipRectMax() const { const ImVec4& cr = _ClipRectStack.back(); return ImVec2(cr.z, cr.w); } + + // Primitives + // - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. + // - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. + // - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). + // In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. + // In future versions we will use textures to provide cheaper and higher-quality circles. + // Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. + IMGUI_API void AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness = 1.0f); + IMGUI_API void AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f); // a: upper-left, b: lower-right (== upper-left + size) + IMGUI_API void AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0); // a: upper-left, b: lower-right (== upper-left + size) + IMGUI_API void AddRectFilledMultiColor(const ImVec2& p_min, const ImVec2& p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left); + IMGUI_API void AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness = 1.0f); + IMGUI_API void AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col); + IMGUI_API void AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness = 1.0f); + IMGUI_API void AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col); + IMGUI_API void AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments = 0, float thickness = 1.0f); + IMGUI_API void AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments = 0); + IMGUI_API void AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness = 1.0f); + IMGUI_API void AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments); + IMGUI_API void AddEllipse(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot = 0.0f, int num_segments = 0, float thickness = 1.0f); + IMGUI_API void AddEllipseFilled(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot = 0.0f, int num_segments = 0); + IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL); + IMGUI_API void AddText(ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); + IMGUI_API void AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0); // Cubic Bezier (4 control points) + IMGUI_API void AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments = 0); // Quadratic Bezier (3 control points) + + // General polygon + // - Only simple polygons are supported by filling functions (no self-intersections, no holes). + // - Concave polygon fill is more expensive than convex one: it has O(N^2) complexity. Provided as a convenience for the user but not used by the main library. + IMGUI_API void AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness); + IMGUI_API void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col); + IMGUI_API void AddConcavePolyFilled(const ImVec2* points, int num_points, ImU32 col); + + // Image primitives + // - Read FAQ to understand what ImTextureID is. + // - "p_min" and "p_max" represent the upper-left and lower-right corners of the rectangle. + // - "uv_min" and "uv_max" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture. + IMGUI_API void AddImage(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min = ImVec2(0, 0), const ImVec2& uv_max = ImVec2(1, 1), ImU32 col = IM_COL32_WHITE); + IMGUI_API void AddImageQuad(ImTextureID user_texture_id, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1 = ImVec2(0, 0), const ImVec2& uv2 = ImVec2(1, 0), const ImVec2& uv3 = ImVec2(1, 1), const ImVec2& uv4 = ImVec2(0, 1), ImU32 col = IM_COL32_WHITE); + IMGUI_API void AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags = 0); + + // Shadows primitives + // [BETA] API + // - Add shadow for a object, with min/max or center/radius describing the object extents, and offset shifting the shadow. + // - Rounding parameters refer to the object itself, not the shadow! + // - By default, the area under the object is filled, because this is simpler to process. + // Using the ImDrawFlags_ShadowCutOutShapeBackground flag makes the function not render this area and leave a hole under the object. + // - Shadows w/ fill under the object: a bit faster for CPU, more pixels rendered, visible/darkening if used behind a transparent shape. + // Typically used by: small, frequent objects, opaque objects, transparent objects if shadow darkening isn't an issue. + // - Shadows w/ hole under the object: a bit slower for CPU, less pixels rendered, no difference if used behind a transparent shape. + // Typically used by: large, infrequent objects, transparent objects if exact blending/color matter. + // - FIXME-SHADOWS: 'offset' + ImDrawFlags_ShadowCutOutShapeBackground are not currently supported together with AddShadowCircle(), AddShadowConvexPoly(), AddShadowNGon(). + #define IMGUI_HAS_SHADOWS 1 + IMGUI_API void AddShadowRect(const ImVec2& obj_min, const ImVec2& obj_max, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags = 0, float obj_rounding = 0.0f); + IMGUI_API void AddShadowCircle(const ImVec2& obj_center, float obj_radius, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags = 0, int obj_num_segments = 12); + IMGUI_API void AddShadowConvexPoly(const ImVec2* points, int points_count, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags = 0); + IMGUI_API void AddShadowNGon(const ImVec2& obj_center, float obj_radius, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags, int obj_num_segments); + + // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // - Important: filled shapes must always use clockwise winding order! The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. + // so e.g. 'PathArcTo(center, radius, PI * -0.5f, PI)' is ok, whereas 'PathArcTo(center, radius, PI, PI * -0.5f)' won't have correct anti-aliasing when followed by PathFillConvex(). + inline void PathClear() { _Path.Size = 0; } + inline void PathLineTo(const ImVec2& pos) { _Path.push_back(pos); } + inline void PathLineToMergeDuplicate(const ImVec2& pos) { if (_Path.Size == 0 || memcmp(&_Path.Data[_Path.Size - 1], &pos, 8) != 0) _Path.push_back(pos); } + inline void PathFillConvex(ImU32 col) { AddConvexPolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } + inline void PathFillConcave(ImU32 col) { AddConcavePolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } + inline void PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, flags, thickness); _Path.Size = 0; } + IMGUI_API void PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments = 0); + IMGUI_API void PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12); // Use precomputed angles for a 12 steps circle + IMGUI_API void PathEllipticalArcTo(const ImVec2& center, const ImVec2& radius, float rot, float a_min, float a_max, int num_segments = 0); // Ellipse + IMGUI_API void PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0); // Cubic Bezier (4 control points) + IMGUI_API void PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments = 0); // Quadratic Bezier (3 control points) + IMGUI_API void PathRect(const ImVec2& rect_min, const ImVec2& rect_max, float rounding = 0.0f, ImDrawFlags flags = 0); + + // Advanced: Draw Callbacks + // - May be used to alter render state (change sampler, blending, current shader). May be used to emit custom rendering commands (difficult to do correctly, but possible). + // - Use special ImDrawCallback_ResetRenderState callback to instruct backend to reset its render state to the default. + // - Your rendering loop must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. All standard backends are honoring this. + // - For some backends, the callback may access selected render-states exposed by the backend in a ImGui_ImplXXXX_RenderState structure pointed to by platform_io.Renderer_RenderState. + // - IMPORTANT: please be mindful of the different level of indirection between using size==0 (copying argument) and using size>0 (copying pointed data into a buffer). + // - If userdata_size == 0: we copy/store the 'userdata' argument as-is. It will be available unmodified in ImDrawCmd::UserCallbackData during render. + // - If userdata_size > 0, we copy/store 'userdata_size' bytes pointed to by 'userdata'. We store them in a buffer stored inside the drawlist. ImDrawCmd::UserCallbackData will point inside that buffer so you have to retrieve data from there. Your callback may need to use ImDrawCmd::UserCallbackDataSize if you expect dynamically-sized data. + // - Support for userdata_size > 0 was added in v1.91.4, October 2024. So earlier code always only allowed to copy/store a simple void*. + IMGUI_API void AddCallback(ImDrawCallback callback, void* userdata, size_t userdata_size = 0); + + // Advanced: Miscellaneous + IMGUI_API void AddDrawCmd(); // This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible + IMGUI_API ImDrawList* CloneOutput() const; // Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. + + // Advanced: Channels + // - Use to split render into layers. By switching channels to can render out-of-order (e.g. submit FG primitives before BG primitives) + // - Use to minimize draw calls (e.g. if going back-and-forth between multiple clipping rectangles, prefer to append into separate channels then merge at the end) + // - This API shouldn't have been in ImDrawList in the first place! + // Prefer using your own persistent instance of ImDrawListSplitter as you can stack them. + // Using the ImDrawList::ChannelsXXXX you cannot stack a split over another. + inline void ChannelsSplit(int count) { _Splitter.Split(this, count); } + inline void ChannelsMerge() { _Splitter.Merge(this); } + inline void ChannelsSetCurrent(int n) { _Splitter.SetCurrentChannel(this, n); } + + // Advanced: Primitives allocations + // - We render triangles (three vertices) + // - All primitives needs to be reserved via PrimReserve() beforehand. + IMGUI_API void PrimReserve(int idx_count, int vtx_count); + IMGUI_API void PrimUnreserve(int idx_count, int vtx_count); + IMGUI_API void PrimRect(const ImVec2& a, const ImVec2& b, ImU32 col); // Axis aligned rectangle (composed of two triangles) + IMGUI_API void PrimRectUV(const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, ImU32 col); + IMGUI_API void PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col); + inline void PrimWriteVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) { _VtxWritePtr->pos = pos; _VtxWritePtr->uv = uv; _VtxWritePtr->col = col; _VtxWritePtr++; _VtxCurrentIdx++; } + inline void PrimWriteIdx(ImDrawIdx idx) { *_IdxWritePtr = idx; _IdxWritePtr++; } + inline void PrimVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) { PrimWriteIdx((ImDrawIdx)_VtxCurrentIdx); PrimWriteVtx(pos, uv, col); } // Write vertex with unique index + + // Obsolete names + //inline void AddEllipse(const ImVec2& center, float radius_x, float radius_y, ImU32 col, float rot = 0.0f, int num_segments = 0, float thickness = 1.0f) { AddEllipse(center, ImVec2(radius_x, radius_y), col, rot, num_segments, thickness); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void AddEllipseFilled(const ImVec2& center, float radius_x, float radius_y, ImU32 col, float rot = 0.0f, int num_segments = 0) { AddEllipseFilled(center, ImVec2(radius_x, radius_y), col, rot, num_segments); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void PathEllipticalArcTo(const ImVec2& center, float radius_x, float radius_y, float rot, float a_min, float a_max, int num_segments = 0) { PathEllipticalArcTo(center, ImVec2(radius_x, radius_y), rot, a_min, a_max, num_segments); } // OBSOLETED in 1.90.5 (Mar 2024) + //inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } // OBSOLETED in 1.80 (Jan 2021) + //inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } // OBSOLETED in 1.80 (Jan 2021) + + // [Internal helpers] + IMGUI_API void _ResetForNewFrame(); + IMGUI_API void _ClearFreeMemory(); + IMGUI_API void _PopUnusedDrawCmd(); + IMGUI_API void _TryMergeDrawCmds(); + IMGUI_API void _OnChangedClipRect(); + IMGUI_API void _OnChangedTextureID(); + IMGUI_API void _OnChangedVtxOffset(); + IMGUI_API void _SetTextureID(ImTextureID texture_id); + IMGUI_API int _CalcCircleAutoSegmentCount(float radius) const; + IMGUI_API void _PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step); + IMGUI_API void _PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments); +}; + +// All draw data to render a Dear ImGui frame +// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose, +// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList) +struct ImDrawData +{ + bool Valid; // Only valid after Render() is called and before the next NewFrame() is called. + int CmdListsCount; // Number of ImDrawList* to render (should always be == CmdLists.size) + int TotalIdxCount; // For convenience, sum of all ImDrawList's IdxBuffer.Size + int TotalVtxCount; // For convenience, sum of all ImDrawList's VtxBuffer.Size + ImVector CmdLists; // Array of ImDrawList* to render. The ImDrawLists are owned by ImGuiContext and only pointed to from here. + ImVec2 DisplayPos; // Top-left position of the viewport to render (== top-left of the orthogonal projection matrix to use) (== GetMainViewport()->Pos for the main viewport, == (0.0) in most single-viewport applications) + ImVec2 DisplaySize; // Size of the viewport to render (== GetMainViewport()->Size for the main viewport, == io.DisplaySize in most single-viewport applications) + ImVec2 FramebufferScale; // Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display. + ImGuiViewport* OwnerViewport; // Viewport carrying the ImDrawData instance, might be of use to the renderer (generally not). + + // Functions + ImDrawData() { Clear(); } + IMGUI_API void Clear(); + IMGUI_API void AddDrawList(ImDrawList* draw_list); // Helper to add an external draw list into an existing ImDrawData. + IMGUI_API void DeIndexAllBuffers(); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! + IMGUI_API void ScaleClipRects(const ImVec2& fb_scale); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. +}; + +//----------------------------------------------------------------------------- +// [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontAtlasFlags, ImFontAtlas, ImFontGlyphRangesBuilder, ImFont) +//----------------------------------------------------------------------------- + +// [Internal] Shadow texture baking config +struct ImFontAtlasShadowTexConfig +{ + int TexCornerSize; // Size of the corner areas. + int TexEdgeSize; // Size of the edge areas (and by extension the center). Changing this is normally unnecessary. + float TexFalloffPower; // The power factor for the shadow falloff curve. + float TexDistanceFieldOffset; // How much to offset the distance field by (allows over/under-shadowing, potentially useful for accommodating rounded corners on the "casting" shape). + bool TexBlur; // Do we want to Gaussian blur the shadow texture? + + inline ImFontAtlasShadowTexConfig() { memset(this, 0, sizeof(*this)); } + IMGUI_API void SetupDefaults(); + int GetRectTexPadding() const { return 2; } // Number of pixels of padding to add to the rectangular texture to avoid sampling artifacts at the edges. + int CalcRectTexSize() const { return TexCornerSize + TexEdgeSize + GetRectTexPadding(); } // The size of the texture area required for the actual 2x2 rectangle shadow texture (after the redundant corners have been removed). Padding is required here to avoid sampling artifacts at the edge adjoining the removed corners. int CalcConvexTexWidth() const; // The width of the texture area required for the convex shape shadow texture. + int GetConvexTexPadding() const { return 8; } // Number of pixels of padding to add to the convex shape texture to avoid sampling artifacts at the edges. This also acts as padding for the expanded corner triangles. + int CalcConvexTexWidth() const; // The width of the texture area required for the convex shape shadow texture. + int CalcConvexTexHeight() const; // The height of the texture area required for the convex shape shadow texture. +}; + +// A font input/source (we may rename this to ImFontSource in the future) +struct ImFontConfig +{ + void* FontData; // // TTF/OTF data + int FontDataSize; // // TTF/OTF data size + bool FontDataOwnedByAtlas; // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself). + bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. + bool PixelSnapH; // false // Align every glyph AdvanceX to pixel boundaries. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1. + int FontNo; // 0 // Index of font within TTF/OTF file + int OversampleH; // 0 (2) // Rasterize at higher quality for sub-pixel positioning. 0 == auto == 1 or 2 depending on size. Note the difference between 2 and 3 is minimal. You can reduce this to 1 for large glyphs save memory. Read https://github.com/nothings/stb/blob/master/tests/oversample/README.md for details. + int OversampleV; // 0 (1) // Rasterize at higher quality for sub-pixel positioning. 0 == auto == 1. This is not really useful as we don't use sub-pixel positions on the Y axis. + float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height). + //ImVec2 GlyphExtraSpacing; // 0, 0 // (REMOVED IN 1.91.9: use GlyphExtraAdvanceX) + ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input. + const ImWchar* GlyphRanges; // NULL // THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). + float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font + float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs + float GlyphExtraAdvanceX; // 0 // Extra spacing (in pixels) between glyphs. Please contact us if you are using this. + unsigned int FontBuilderFlags; // 0 // Settings for custom font builder. THIS IS BUILDER IMPLEMENTATION DEPENDENT. Leave as zero if unsure. + float RasterizerMultiply; // 1.0f // Linearly brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. This is a silly thing we may remove in the future. + float RasterizerDensity; // 1.0f // DPI scale for rasterization, not altering other font metrics: make it easy to swap between e.g. a 100% and a 400% fonts for a zooming display. IMPORTANT: If you increase this it is expected that you increase font scale accordingly, otherwise quality may look lowered. + ImWchar EllipsisChar; // 0 // Explicitly specify Unicode codepoint of ellipsis character. When fonts are being merged first specified ellipsis will be used. + + // [Internal] + char Name[40]; // Name (strictly to ease debugging) + ImFont* DstFont; + + IMGUI_API ImFontConfig(); +}; + +// Hold rendering data for one glyph. +// (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this) +struct ImFontGlyph +{ + unsigned int Colored : 1; // Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops) + unsigned int Visible : 1; // Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering. + unsigned int Codepoint : 30; // 0x0000..0x10FFFF + float AdvanceX; // Horizontal distance to advance layout with + float X0, Y0, X1, Y1; // Glyph corners + float U0, V0, U1, V1; // Texture coordinates +}; + +// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges(). +// This is essentially a tightly packed of vector of 64k booleans = 8KB storage. +struct ImFontGlyphRangesBuilder +{ + ImVector UsedChars; // Store 1-bit per Unicode code point (0=unused, 1=used) + + ImFontGlyphRangesBuilder() { Clear(); } + inline void Clear() { int size_in_bytes = (IM_UNICODE_CODEPOINT_MAX + 1) / 8; UsedChars.resize(size_in_bytes / (int)sizeof(ImU32)); memset(UsedChars.Data, 0, (size_t)size_in_bytes); } + inline bool GetBit(size_t n) const { int off = (int)(n >> 5); ImU32 mask = 1u << (n & 31); return (UsedChars[off] & mask) != 0; } // Get bit n in the array + inline void SetBit(size_t n) { int off = (int)(n >> 5); ImU32 mask = 1u << (n & 31); UsedChars[off] |= mask; } // Set bit n in the array + inline void AddChar(ImWchar c) { SetBit(c); } // Add character + IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each character of the UTF-8 string are added) + IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext + IMGUI_API void BuildRanges(ImVector* out_ranges); // Output new ranges +}; + +// See ImFontAtlas::AddCustomRectXXX functions. +struct ImFontAtlasCustomRect +{ + unsigned short X, Y; // Output // Packed position in Atlas + + // [Internal] + unsigned short Width, Height; // Input // Desired rectangle dimension + unsigned int GlyphID : 31; // Input // For custom font glyphs only (ID < 0x110000) + unsigned int GlyphColored : 1; // Input // For custom font glyphs only: glyph is colored, removed tinting. + float GlyphAdvanceX; // Input // For custom font glyphs only: glyph xadvance + ImVec2 GlyphOffset; // Input // For custom font glyphs only: glyph display offset + ImFont* Font; // Input // For custom font glyphs only: target font + ImFontAtlasCustomRect() { X = Y = 0xFFFF; Width = Height = 0; GlyphID = 0; GlyphColored = 0; GlyphAdvanceX = 0.0f; GlyphOffset = ImVec2(0, 0); Font = NULL; } + bool IsPacked() const { return X != 0xFFFF; } +}; + +// Flags for ImFontAtlas build +enum ImFontAtlasFlags_ +{ + ImFontAtlasFlags_None = 0, + ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two + ImFontAtlasFlags_NoMouseCursors = 1 << 1, // Don't build software mouse cursors into the atlas (save a little texture memory) + ImFontAtlasFlags_NoBakedLines = 1 << 2, // Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). +}; + +// Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding: +// - One or more fonts. +// - Custom graphics data needed to render the shapes needed by Dear ImGui. +// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas). +// It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api. +// - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you. +// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. +// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples) +// - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API. +// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details. +// Common pitfalls: +// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the +// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data. +// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction. +// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed, +// - Even though many functions are suffixed with "TTF", OTF data is supported just as well. +// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future! +struct ImFontAtlas +{ + IMGUI_API ImFontAtlas(); + IMGUI_API ~ImFontAtlas(); + IMGUI_API ImFont* AddFont(const ImFontConfig* font_cfg); + IMGUI_API ImFont* AddFontDefault(const ImFontConfig* font_cfg = NULL); + IMGUI_API ImFont* AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); + IMGUI_API ImFont* AddFontFromMemoryTTF(void* font_data, int font_data_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed. + IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(const void* compressed_font_data, int compressed_font_data_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. + IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(const char* compressed_font_data_base85, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. + IMGUI_API void ClearInputData(); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. + IMGUI_API void ClearFonts(); // Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates). + IMGUI_API void ClearTexData(); // Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. + IMGUI_API void Clear(); // Clear all input and output. + + // Build atlas, retrieve pixel data. + // User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID(). + // The pitch is always = Width * BytesPerPixels (1 or 4) + // Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into + // the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste. + IMGUI_API bool Build(); // Build pixels data. This is called automatically for you by the GetTexData*** functions. + IMGUI_API void GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 1 byte per-pixel + IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 4 bytes-per-pixel + bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent... + void SetTexID(ImTextureID id) { TexID = id; } + + //------------------------------------------- + // Glyph Ranges + //------------------------------------------- + + // Helpers to retrieve list of common Unicode ranges (2 value per range, values are inclusive, zero-terminated list) + // NB: Make sure that your string are UTF-8 and NOT in your local code page. + // Read https://github.com/ocornut/imgui/blob/master/docs/FONTS.md/#about-utf-8-encoding for details. + // NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data. + IMGUI_API const ImWchar* GetGlyphRangesDefault(); // Basic Latin, Extended Latin + IMGUI_API const ImWchar* GetGlyphRangesGreek(); // Default + Greek and Coptic + IMGUI_API const ImWchar* GetGlyphRangesKorean(); // Default + Korean characters + IMGUI_API const ImWchar* GetGlyphRangesJapanese(); // Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs + IMGUI_API const ImWchar* GetGlyphRangesChineseFull(); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs + IMGUI_API const ImWchar* GetGlyphRangesChineseSimplifiedCommon();// Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese + IMGUI_API const ImWchar* GetGlyphRangesCyrillic(); // Default + about 400 Cyrillic characters + IMGUI_API const ImWchar* GetGlyphRangesThai(); // Default + Thai characters + IMGUI_API const ImWchar* GetGlyphRangesVietnamese(); // Default + Vietnamese characters + + //------------------------------------------- + // [ALPHA] Custom Rectangles/Glyphs API + //------------------------------------------- + + // You can request arbitrary rectangles to be packed into the atlas, for your own purposes. + // - After calling Build(), you can query the rectangle position and render your pixels. + // - If you render colored output, set 'atlas->TexPixelsUseColors = true' as this may help some backends decide of preferred texture format. + // - You can also request your rectangles to be mapped as font glyph (given a font + Unicode point), + // so you can render e.g. custom colorful icons and use them as regular glyphs. + // - Read docs/FONTS.md for more details about using colorful icons. + // - Note: this API may be redesigned later in order to support multi-monitor varying DPI settings. + IMGUI_API int AddCustomRectRegular(int width, int height); + IMGUI_API int AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset = ImVec2(0, 0)); + ImFontAtlasCustomRect* GetCustomRectByIndex(int index) { IM_ASSERT(index >= 0); return &CustomRects[index]; } + + // [Internal] + IMGUI_API void CalcCustomRectUV(const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max) const; + + //------------------------------------------- + // Members + //------------------------------------------- + + // Input + ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) + ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. + int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. + int TexGlyphPadding; // FIXME: Should be called "TexPackPadding". Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0 (will also need to set AntiAliasedLinesUseTex = false). + void* UserData; // Store your own atlas related user-data (if e.g. you have multiple font atlas). + + // [Internal] + // NB: Access texture data via GetTexData*() calls! Which will setup a default font for you. + bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert. + bool TexReady; // Set when texture was built matching current font input + bool TexPixelsUseColors; // Tell whether our texture data is known to use colors (rather than just alpha channel), in order to help backend select a format. + unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight + unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4 + int TexWidth; // Texture width calculated during Build(). + int TexHeight; // Texture height calculated during Build(). + ImVec2 TexUvScale; // = (1.0f/TexWidth, 1.0f/TexHeight) + ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel + ImVector Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font. + ImVector CustomRects; // Rectangles for packing custom texture data into the atlas. + ImVector Sources; // Source/configuration data + ImVec4 TexUvLines[IM_DRAWLIST_TEX_LINES_WIDTH_MAX + 1]; // UVs for baked anti-aliased lines + + // [Internal] Font builder + const ImFontBuilderIO* FontBuilderIO; // Opaque interface to a font builder (default to stb_truetype, can be changed to use FreeType by defining IMGUI_ENABLE_FREETYPE). + unsigned int FontBuilderFlags; // Shared flags (for all fonts) for custom font builder. THIS IS BUILD IMPLEMENTATION DEPENDENT. Per-font override is also available in ImFontConfig. + + // [Internal] Packing data + int PackIdMouseCursors; // Custom texture rectangle ID for white pixel and mouse cursors + int PackIdLines; // Custom texture rectangle ID for baked anti-aliased lines + + // [Internal] Shadow data + int ShadowRectIds[2]; // IDs of rect for shadow textures + ImVec4 ShadowRectUvs[10]; // UV coordinates for shadow textures, 9 for the rectangle shadows and the final entry for the convex shape shadows + ImFontAtlasShadowTexConfig ShadowTexConfig; // Shadow texture baking config + + // [Obsolete] + //typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ + //typedef ImFontGlyphRangesBuilder GlyphRangesBuilder; // OBSOLETED in 1.67+ +}; + +// Font runtime data and rendering +// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32(). +struct ImFont +{ + // [Internal] Members: Hot ~20/24 bytes (for CalcTextSize) + ImVector IndexAdvanceX; // 12-16 // out // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this info, and are often bottleneck in large UI). + float FallbackAdvanceX; // 4 // out // = FallbackGlyph->AdvanceX + float FontSize; // 4 // in // Height of characters/line, set during loading (don't change after loading) + + // [Internal] Members: Hot ~28/40 bytes (for RenderText loop) + ImVector IndexLookup; // 12-16 // out // Sparse. Index glyphs by Unicode code-point. + ImVector Glyphs; // 12-16 // out // All glyphs. + ImFontGlyph* FallbackGlyph; // 4-8 // out // = FindGlyph(FontFallbackChar) + + // [Internal] Members: Cold ~32/40 bytes + // Conceptually Sources[] is the list of font sources merged to create this font. + ImFontAtlas* ContainerAtlas; // 4-8 // out // What we has been loaded into + ImFontConfig* Sources; // 4-8 // in // Pointer within ContainerAtlas->Sources[], to SourcesCount instances + short SourcesCount; // 2 // in // Number of ImFontConfig involved in creating this font. Usually 1, or >1 when merging multiple font sources into one ImFont. + short EllipsisCharCount; // 1 // out // 1 or 3 + ImWchar EllipsisChar; // 2-4 // out // Character used for ellipsis rendering ('...'). + ImWchar FallbackChar; // 2-4 // out // Character used if a glyph isn't found (U+FFFD, '?') + float EllipsisWidth; // 4 // out // Total ellipsis Width + float EllipsisCharStep; // 4 // out // Step between characters when EllipsisCount > 0 + float Scale; // 4 // in // Base font scale (1.0f), multiplied by the per-window font scale which you can adjust with SetWindowFontScale() + float Ascent, Descent; // 4+4 // out // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] (unscaled) + int MetricsTotalSurface;// 4 // out // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs) + bool DirtyLookupTables; // 1 // out // + ImU8 Used8kPagesMap[(IM_UNICODE_CODEPOINT_MAX+1)/8192/8]; // 1 bytes if ImWchar=ImWchar16, 16 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints. + + // Methods + IMGUI_API ImFont(); + IMGUI_API ~ImFont(); + IMGUI_API ImFontGlyph* FindGlyph(ImWchar c); + IMGUI_API ImFontGlyph* FindGlyphNoFallback(ImWchar c); + float GetCharAdvance(ImWchar c) { return ((int)c < IndexAdvanceX.Size) ? IndexAdvanceX[(int)c] : FallbackAdvanceX; } + bool IsLoaded() const { return ContainerAtlas != NULL; } + const char* GetDebugName() const { return Sources ? Sources->Name : ""; } + + // [Internal] Don't use! + // 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable. + // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. + IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL); // utf8 + IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width); + IMGUI_API void RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c); + IMGUI_API void RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false); + + // [Internal] Don't use! + IMGUI_API void BuildLookupTable(); + IMGUI_API void ClearOutputData(); + IMGUI_API void GrowIndex(int new_size); + IMGUI_API void AddGlyph(const ImFontConfig* src_cfg, ImWchar c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x); + IMGUI_API void AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst = true); // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. + IMGUI_API bool IsGlyphRangeUnused(unsigned int c_begin, unsigned int c_last); +}; + +//----------------------------------------------------------------------------- +// [SECTION] Viewports +//----------------------------------------------------------------------------- + +// Flags stored in ImGuiViewport::Flags, giving indications to the platform backends. +enum ImGuiViewportFlags_ +{ + ImGuiViewportFlags_None = 0, + ImGuiViewportFlags_IsPlatformWindow = 1 << 0, // Represent a Platform Window + ImGuiViewportFlags_IsPlatformMonitor = 1 << 1, // Represent a Platform Monitor (unused yet) + ImGuiViewportFlags_OwnedByApp = 1 << 2, // Platform Window: Is created/managed by the application (rather than a dear imgui backend) +}; + +// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. +// - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports. +// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. +// - About Main Area vs Work Area: +// - Main Area = entire viewport. +// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor). +// - Windows are generally trying to stay within the Work Area of their host viewport. +struct ImGuiViewport +{ + ImGuiID ID; // Unique identifier for the viewport + ImGuiViewportFlags Flags; // See ImGuiViewportFlags_ + ImVec2 Pos; // Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native coordinates) + ImVec2 Size; // Main Area: Size of the viewport. + ImVec2 WorkPos; // Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos) + ImVec2 WorkSize; // Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size) + + // Platform/Backend Dependent Data + void* PlatformHandle; // void* to hold higher-level, platform window handle (e.g. HWND, GLFWWindow*, SDL_Window*) + void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms) + + ImGuiViewport() { memset(this, 0, sizeof(*this)); } + + // Helpers + ImVec2 GetCenter() const { return ImVec2(Pos.x + Size.x * 0.5f, Pos.y + Size.y * 0.5f); } + ImVec2 GetWorkCenter() const { return ImVec2(WorkPos.x + WorkSize.x * 0.5f, WorkPos.y + WorkSize.y * 0.5f); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Platform Dependent Interfaces +//----------------------------------------------------------------------------- + +// Access via ImGui::GetPlatformIO() +struct ImGuiPlatformIO +{ + IMGUI_API ImGuiPlatformIO(); + + //------------------------------------------------------------------ + // Input - Interface with OS and Platform backend (most common stuff) + //------------------------------------------------------------------ + + // Optional: Access OS clipboard + // (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures) + const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx); + void (*Platform_SetClipboardTextFn)(ImGuiContext* ctx, const char* text); + void* Platform_ClipboardUserData; + + // Optional: Open link/folder/file in OS Shell + // (default to use ShellExecuteW() on Windows, system() on Linux/Mac) + bool (*Platform_OpenInShellFn)(ImGuiContext* ctx, const char* path); + void* Platform_OpenInShellUserData; + + // Optional: Notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME on Windows) + // (default to use native imm32 api on Windows) + void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data); + void* Platform_ImeUserData; + //void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); // [Renamed to platform_io.PlatformSetImeDataFn in 1.91.1] + + // Optional: Platform locale + // [Experimental] Configure decimal point e.g. '.' or ',' useful for some languages (e.g. German), generally pulled from *localeconv()->decimal_point + ImWchar Platform_LocaleDecimalPoint; // '.' + + //------------------------------------------------------------------ + // Input - Interface with Renderer Backend + //------------------------------------------------------------------ + + // Written by some backends during ImGui_ImplXXXX_RenderDrawData() call to point backend_specific ImGui_ImplXXXX_RenderState* structure. + void* Renderer_RenderState; +}; + +// (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function. +struct ImGuiPlatformImeData +{ + bool WantVisible; // A widget wants the IME to be visible + ImVec2 InputPos; // Position of the input cursor + float InputLineHeight; // Line height + + ImGuiPlatformImeData() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Obsolete functions and types +// (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) +// Please keep your copy of dear imgui up to date! Occasionally set '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' in imconfig.h to stay ahead. +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +namespace ImGui +{ + // OBSOLETED in 1.91.9 (from February 2025) + IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col); // <-- border_col was removed in favor of ImGuiCol_ImageBorder. + // OBSOLETED in 1.91.0 (from July 2024) + static inline void PushButtonRepeat(bool repeat) { PushItemFlag(ImGuiItemFlags_ButtonRepeat, repeat); } + static inline void PopButtonRepeat() { PopItemFlag(); } + static inline void PushTabStop(bool tab_stop) { PushItemFlag(ImGuiItemFlags_NoTabStop, !tab_stop); } + static inline void PopTabStop() { PopItemFlag(); } + IMGUI_API ImVec2 GetContentRegionMax(); // Content boundaries max (e.g. window boundaries including scrolling, or current column boundaries). You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()! + IMGUI_API ImVec2 GetWindowContentRegionMin(); // Content boundaries min for the window (roughly (0,0)-Scroll), in window-local coordinates. You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()! + IMGUI_API ImVec2 GetWindowContentRegionMax(); // Content boundaries max for the window (roughly (0,0)+Size-Scroll), in window-local coordinates. You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()! + // OBSOLETED in 1.90.0 (from September 2023) + static inline bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags window_flags = 0) { return BeginChild(id, size, ImGuiChildFlags_FrameStyle, window_flags); } + static inline void EndChildFrame() { EndChild(); } + //static inline bool BeginChild(const char* str_id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags){ return BeginChild(str_id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders + //static inline bool BeginChild(ImGuiID id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders + static inline void ShowStackToolWindow(bool* p_open = NULL) { ShowIDStackToolWindow(p_open); } + IMGUI_API bool Combo(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int popup_max_height_in_items = -1); + IMGUI_API bool ListBox(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int height_in_items = -1); + // OBSOLETED in 1.89.7 (from June 2023) + IMGUI_API void SetItemAllowOverlap(); // Use SetNextItemAllowOverlap() before item. + // OBSOLETED in 1.89.4 (from March 2023) + static inline void PushAllowKeyboardFocus(bool tab_stop) { PushItemFlag(ImGuiItemFlags_NoTabStop, !tab_stop); } + static inline void PopAllowKeyboardFocus() { PopItemFlag(); } + + // Some of the older obsolete names along with their replacement (commented out so they are not reported in IDE) + //-- OBSOLETED in 1.89 (from August 2022) + //IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); // --> Use new ImageButton() signature (explicit item id, regular FramePadding). Refer to code in 1.91 if you want to grab a copy of this version. + //-- OBSOLETED in 1.88 (from May 2022) + //static inline void CaptureKeyboardFromApp(bool want_capture_keyboard = true) { SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } // Renamed as name was misleading + removed default value. + //static inline void CaptureMouseFromApp(bool want_capture_mouse = true) { SetNextFrameWantCaptureMouse(want_capture_mouse); } // Renamed as name was misleading + removed default value. + //-- OBSOLETED in 1.87 (from February 2022, more formally obsoleted April 2024) + //IMGUI_API ImGuiKey GetKeyIndex(ImGuiKey key); { IM_ASSERT(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END); const ImGuiKeyData* key_data = GetKeyData(key); return (ImGuiKey)(key_data - g.IO.KeysData); } // Map ImGuiKey_* values into legacy native key index. == io.KeyMap[key]. When using a 1.87+ backend using io.AddKeyEvent(), calling GetKeyIndex() with ANY ImGuiKey_XXXX values will return the same value! + //static inline ImGuiKey GetKeyIndex(ImGuiKey key) { IM_ASSERT(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END); return key; } + //-- OBSOLETED in 1.86 (from November 2021) + //IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // Code removed, see 1.90 for last version of the code. Calculate range of visible items for large list of evenly sized items. Prefer using ImGuiListClipper. + //-- OBSOLETED in 1.85 (from August 2021) + //static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } + //-- OBSOLETED in 1.81 (from February 2021) + //static inline bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0, 0)) { return BeginListBox(label, size); } + //static inline bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1) { float height = GetTextLineHeightWithSpacing() * ((height_in_items < 0 ? ImMin(items_count, 7) : height_in_items) + 0.25f) + GetStyle().FramePadding.y * 2.0f; return BeginListBox(label, ImVec2(0.0f, height)); } // Helper to calculate size from items_count and height_in_items + //static inline void ListBoxFooter() { EndListBox(); } + //-- OBSOLETED in 1.79 (from August 2020) + //static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! + //-- OBSOLETED in 1.78 (from June 2020): Old drag/sliders functions that took a 'float power > 1.0f' argument instead of ImGuiSliderFlags_Logarithmic. See github.com/ocornut/imgui/issues/3361 for details. + //IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f) // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //-- OBSOLETED in 1.77 and before + //static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } // OBSOLETED in 1.77 (from June 2020) + //static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } // OBSOLETED in 1.72 (from July 2019) + //static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } // OBSOLETED in 1.71 (from June 2019) + //static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } // OBSOLETED in 1.70 (from May 2019) + //static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) + //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) + //static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) + //-- OBSOLETED in 1.60 and before + //static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) + //static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) + //static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //IMGUI_API bool Begin(char* name, bool* p_open, ImVec2 size_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags=0); // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017): Equivalent of using SetNextWindowSize(size, ImGuiCond_FirstUseEver) and SetNextWindowBgAlpha(). + //static inline bool IsRootWindowOrAnyChildHovered() { return IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void AlignFirstTextHeightToWidgets() { AlignTextToFramePadding(); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void SetNextWindowPosCenter(ImGuiCond c=0) { SetNextWindowPos(GetMainViewport()->GetCenter(), c, ImVec2(0.5f,0.5f)); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline bool IsItemHoveredRect() { return IsItemHovered(ImGuiHoveredFlags_RectOnly); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsPosHoveringAnyWindow(const ImVec2&) { IM_ASSERT(0); return false; } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017): This was misleading and partly broken. You probably want to use the io.WantCaptureMouse flag instead. + //static inline bool IsMouseHoveringAnyWindow() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsMouseHoveringWindow() { return IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //-- OBSOLETED in 1.50 and before + //static inline bool CollapsingHeader(char* label, const char* str_id, bool framed = true, bool default_open = false) { return CollapsingHeader(label, (default_open ? (1 << 5) : 0)); } // OBSOLETED in 1.49 + //static inline ImFont*GetWindowFont() { return GetFont(); } // OBSOLETED in 1.48 + //static inline float GetWindowFontSize() { return GetFontSize(); } // OBSOLETED in 1.48 + //static inline void SetScrollPosHere() { SetScrollHere(); } // OBSOLETED in 1.42 +} + +//-- OBSOLETED in 1.82 (from Mars 2021): flags for AddRect(), AddRectFilled(), AddImageRounded(), PathRect() +//typedef ImDrawFlags ImDrawCornerFlags; +//enum ImDrawCornerFlags_ +//{ +// ImDrawCornerFlags_None = ImDrawFlags_RoundCornersNone, // Was == 0 prior to 1.82, this is now == ImDrawFlags_RoundCornersNone which is != 0 and not implicit +// ImDrawCornerFlags_TopLeft = ImDrawFlags_RoundCornersTopLeft, // Was == 0x01 (1 << 0) prior to 1.82. Order matches ImDrawFlags_NoRoundCorner* flag (we exploit this internally). +// ImDrawCornerFlags_TopRight = ImDrawFlags_RoundCornersTopRight, // Was == 0x02 (1 << 1) prior to 1.82. +// ImDrawCornerFlags_BotLeft = ImDrawFlags_RoundCornersBottomLeft, // Was == 0x04 (1 << 2) prior to 1.82. +// ImDrawCornerFlags_BotRight = ImDrawFlags_RoundCornersBottomRight, // Was == 0x08 (1 << 3) prior to 1.82. +// ImDrawCornerFlags_All = ImDrawFlags_RoundCornersAll, // Was == 0x0F prior to 1.82 +// ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, +// ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, +// ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, +// ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, +//}; + +// RENAMED and MERGED both ImGuiKey_ModXXX and ImGuiModFlags_XXX into ImGuiMod_XXX (from September 2022) +// RENAMED ImGuiKeyModFlags -> ImGuiModFlags in 1.88 (from April 2022). Exceptionally commented out ahead of obscolescence schedule to reduce confusion and because they were not meant to be used in the first place. +//typedef ImGuiKeyChord ImGuiModFlags; // == int. We generally use ImGuiKeyChord to mean "a ImGuiKey or-ed with any number of ImGuiMod_XXX value", so you may store mods in there. +//enum ImGuiModFlags_ { ImGuiModFlags_None = 0, ImGuiModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiModFlags_Shift = ImGuiMod_Shift, ImGuiModFlags_Alt = ImGuiMod_Alt, ImGuiModFlags_Super = ImGuiMod_Super }; +//typedef ImGuiKeyChord ImGuiKeyModFlags; // == int +//enum ImGuiKeyModFlags_ { ImGuiKeyModFlags_None = 0, ImGuiKeyModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiKeyModFlags_Shift = ImGuiMod_Shift, ImGuiKeyModFlags_Alt = ImGuiMod_Alt, ImGuiKeyModFlags_Super = ImGuiMod_Super }; + +#define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // OBSOLETED IN 1.90 (now using C++11 standard version) + +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +// RENAMED IMGUI_DISABLE_METRICS_WINDOW > IMGUI_DISABLE_DEBUG_TOOLS in 1.88 (from June 2022) +#ifdef IMGUI_DISABLE_METRICS_WINDOW +#error IMGUI_DISABLE_METRICS_WINDOW was renamed to IMGUI_DISABLE_DEBUG_TOOLS, please use new name. +#endif + +//----------------------------------------------------------------------------- + +#if defined(__clang__) +#pragma clang diagnostic pop +#elif defined(__GNUC__) +#pragma GCC diagnostic pop +#endif + +#ifdef _MSC_VER +#pragma warning (pop) +#endif + +// Include imgui_user.h at the end of imgui.h +// May be convenient for some users to only explicitly include vanilla imgui.h and have extra stuff included. +#ifdef IMGUI_INCLUDE_IMGUI_USER_H +#ifdef IMGUI_USER_H_FILENAME +#include IMGUI_USER_H_FILENAME +#else +#include "imgui_user.h" +#endif +#endif + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_draw.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_draw.cpp new file mode 100644 index 0000000..5394161 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_draw.cpp @@ -0,0 +1,5797 @@ +// dear imgui, v1.91.9 WIP +// (drawing and font code) + +/* + +Index of this file: + +// [SECTION] STB libraries implementation +// [SECTION] Style functions +// [SECTION] ImDrawList +// [SECTION] ImTriangulator, ImDrawList concave polygon fill +// [SECTION] ImDrawList Shadow Primitives +// [SECTION] ImDrawListSplitter +// [SECTION] ImDrawData +// [SECTION] Helpers ShadeVertsXXX functions +// [SECTION] ImFontAtlasShadowTexConfig +// [SECTION] ImFontConfig +// [SECTION] ImFontAtlas +// [SECTION] ImFontAtlas: glyph ranges helpers +// [SECTION] ImFontGlyphRangesBuilder +// [SECTION] ImFont +// [SECTION] ImGui Internal Render Helpers +// [SECTION] Decompression code +// [SECTION] Default font data (ProggyClean.ttf) + +*/ + +#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) +#define _CRT_SECURE_NO_WARNINGS +#endif + +#ifndef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS +#endif + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_internal.h" +#ifdef IMGUI_ENABLE_FREETYPE +#include "misc/freetype/imgui_freetype.h" +#endif + +#include // vsnprintf, sscanf, printf + +// Visual Studio warnings +#ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant +#pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) +#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). [MSVC Static Analyzer) +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants ok. +#pragma clang diagnostic ignored "-Wglobal-constructors" // warning: declaration requires a global destructor // similar to above, not sure what the exact difference is. +#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant // some standard header variations use #define NULL 0 +#pragma clang diagnostic ignored "-Wcomma" // warning: possible misuse of comma operator here +#pragma clang diagnostic ignored "-Wreserved-id-macro" // warning: macro name is a reserved identifier +#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. +#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision +#pragma clang diagnostic ignored "-Wreserved-identifier" // warning: identifier '_Xxx' is reserved because it starts with '_' followed by a capital letter +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#pragma clang diagnostic ignored "-Wcast-qual" // warning: cast from 'const xxxx *' to 'xxx *' drops const qualifier +#elif defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function +#pragma GCC diagnostic ignored "-Wconversion" // warning: conversion to 'xxxx' from 'xxxx' may alter its value +#pragma GCC diagnostic ignored "-Wstack-protector" // warning: stack protector not protecting local variables: variable length buffer +#pragma GCC diagnostic ignored "-Wstrict-overflow" // warning: assuming signed overflow does not occur when simplifying division / ..when changing X +- C1 cmp C2 to X cmp C2 -+ C1 +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wcast-qual" // warning: cast from type 'const xxxx *' to type 'xxxx *' casts away qualifiers +#endif + +//------------------------------------------------------------------------- +// [SECTION] STB libraries implementation (for stb_truetype and stb_rect_pack) +//------------------------------------------------------------------------- + +// Compile time options: +//#define IMGUI_STB_NAMESPACE ImStb +//#define IMGUI_STB_TRUETYPE_FILENAME "my_folder/stb_truetype.h" +//#define IMGUI_STB_RECT_PACK_FILENAME "my_folder/stb_rect_pack.h" +//#define IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION +//#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION + +#ifdef IMGUI_STB_NAMESPACE +namespace IMGUI_STB_NAMESPACE +{ +#endif + +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 4456) // declaration of 'xx' hides previous local declaration +#pragma warning (disable: 6011) // (stb_rectpack) Dereferencing NULL pointer 'cur->next'. +#pragma warning (disable: 6385) // (stb_truetype) Reading invalid data from 'buffer': the readable size is '_Old_3`kernel_width' bytes, but '3' bytes may be read. +#pragma warning (disable: 28182) // (stb_rectpack) Dereferencing NULL pointer. 'cur' contains the same NULL value as 'cur->next' did. +#endif + +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used +#pragma clang diagnostic ignored "-Wmissing-prototypes" +#pragma clang diagnostic ignored "-Wimplicit-fallthrough" +#endif + +#if defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wtype-limits" // warning: comparison is always true due to limited range of data type [-Wtype-limits] +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" // warning: this statement may fall through +#endif + +#ifndef STB_RECT_PACK_IMPLEMENTATION // in case the user already have an implementation in the _same_ compilation unit (e.g. unity builds) +#ifndef IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION // in case the user already have an implementation in another compilation unit +#define STBRP_STATIC +#define STBRP_ASSERT(x) do { IM_ASSERT(x); } while (0) +#define STBRP_SORT ImQsort +#define STB_RECT_PACK_IMPLEMENTATION +#endif +#ifdef IMGUI_STB_RECT_PACK_FILENAME +#include IMGUI_STB_RECT_PACK_FILENAME +#else +#include "imstb_rectpack.h" +#endif +#endif + +#ifdef IMGUI_ENABLE_STB_TRUETYPE +#ifndef STB_TRUETYPE_IMPLEMENTATION // in case the user already have an implementation in the _same_ compilation unit (e.g. unity builds) +#ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION // in case the user already have an implementation in another compilation unit +#define STBTT_malloc(x,u) ((void)(u), IM_ALLOC(x)) +#define STBTT_free(x,u) ((void)(u), IM_FREE(x)) +#define STBTT_assert(x) do { IM_ASSERT(x); } while(0) +#define STBTT_fmod(x,y) ImFmod(x,y) +#define STBTT_sqrt(x) ImSqrt(x) +#define STBTT_pow(x,y) ImPow(x,y) +#define STBTT_fabs(x) ImFabs(x) +#define STBTT_ifloor(x) ((int)ImFloor(x)) +#define STBTT_iceil(x) ((int)ImCeil(x)) +#define STBTT_STATIC +#define STB_TRUETYPE_IMPLEMENTATION +#else +#define STBTT_DEF extern +#endif +#ifdef IMGUI_STB_TRUETYPE_FILENAME +#include IMGUI_STB_TRUETYPE_FILENAME +#else +#include "imstb_truetype.h" +#endif +#endif +#endif // IMGUI_ENABLE_STB_TRUETYPE + +#if defined(__GNUC__) +#pragma GCC diagnostic pop +#endif + +#if defined(__clang__) +#pragma clang diagnostic pop +#endif + +#if defined(_MSC_VER) +#pragma warning (pop) +#endif + +#ifdef IMGUI_STB_NAMESPACE +} // namespace ImStb +using namespace IMGUI_STB_NAMESPACE; +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Style functions +//----------------------------------------------------------------------------- + +void ImGui::StyleColorsDark(ImGuiStyle* dst) +{ + ImGuiStyle* style = dst ? dst : &ImGui::GetStyle(); + ImVec4* colors = style->Colors; + + colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); + colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f); + colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.94f); + colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f); + colors[ImGuiCol_Border] = ImVec4(0.43f, 0.43f, 0.50f, 0.50f); + colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_FrameBg] = ImVec4(0.16f, 0.29f, 0.48f, 0.54f); + colors[ImGuiCol_FrameBgHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.40f); + colors[ImGuiCol_FrameBgActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.67f); + colors[ImGuiCol_TitleBg] = ImVec4(0.04f, 0.04f, 0.04f, 1.00f); + colors[ImGuiCol_TitleBgActive] = ImVec4(0.16f, 0.29f, 0.48f, 1.00f); + colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.00f, 0.00f, 0.00f, 0.51f); + colors[ImGuiCol_MenuBarBg] = ImVec4(0.14f, 0.14f, 0.14f, 1.00f); + colors[ImGuiCol_ScrollbarBg] = ImVec4(0.02f, 0.02f, 0.02f, 0.53f); + colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.31f, 0.31f, 0.31f, 1.00f); + colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.41f, 0.41f, 0.41f, 1.00f); + colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.51f, 0.51f, 0.51f, 1.00f); + colors[ImGuiCol_CheckMark] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_SliderGrab] = ImVec4(0.24f, 0.52f, 0.88f, 1.00f); + colors[ImGuiCol_SliderGrabActive] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_Button] = ImVec4(0.26f, 0.59f, 0.98f, 0.40f); + colors[ImGuiCol_ButtonHovered] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_ButtonActive] = ImVec4(0.06f, 0.53f, 0.98f, 1.00f); + colors[ImGuiCol_Header] = ImVec4(0.26f, 0.59f, 0.98f, 0.31f); + colors[ImGuiCol_HeaderHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.80f); + colors[ImGuiCol_HeaderActive] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_Separator] = colors[ImGuiCol_Border]; + colors[ImGuiCol_SeparatorHovered] = ImVec4(0.10f, 0.40f, 0.75f, 0.78f); + colors[ImGuiCol_SeparatorActive] = ImVec4(0.10f, 0.40f, 0.75f, 1.00f); + colors[ImGuiCol_ResizeGrip] = ImVec4(0.26f, 0.59f, 0.98f, 0.20f); + colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.67f); + colors[ImGuiCol_ResizeGripActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.95f); + colors[ImGuiCol_TabHovered] = colors[ImGuiCol_HeaderHovered]; + colors[ImGuiCol_Tab] = ImLerp(colors[ImGuiCol_Header], colors[ImGuiCol_TitleBgActive], 0.80f); + colors[ImGuiCol_TabSelected] = ImLerp(colors[ImGuiCol_HeaderActive], colors[ImGuiCol_TitleBgActive], 0.60f); + colors[ImGuiCol_TabSelectedOverline] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TabDimmed] = ImLerp(colors[ImGuiCol_Tab], colors[ImGuiCol_TitleBg], 0.80f); + colors[ImGuiCol_TabDimmedSelected] = ImLerp(colors[ImGuiCol_TabSelected], colors[ImGuiCol_TitleBg], 0.40f); + colors[ImGuiCol_TabDimmedSelectedOverline] = ImVec4(0.50f, 0.50f, 0.50f, 0.00f); + colors[ImGuiCol_PlotLines] = ImVec4(0.61f, 0.61f, 0.61f, 1.00f); + colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.43f, 0.35f, 1.00f); + colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f); + colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.60f, 0.00f, 1.00f); + colors[ImGuiCol_TableHeaderBg] = ImVec4(0.19f, 0.19f, 0.20f, 1.00f); + colors[ImGuiCol_TableBorderStrong] = ImVec4(0.31f, 0.31f, 0.35f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableBorderLight] = ImVec4(0.23f, 0.23f, 0.25f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableRowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_TableRowBgAlt] = ImVec4(1.00f, 1.00f, 1.00f, 0.06f); + colors[ImGuiCol_TextLink] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TextSelectedBg] = ImVec4(0.26f, 0.59f, 0.98f, 0.35f); + colors[ImGuiCol_DragDropTarget] = ImVec4(1.00f, 1.00f, 0.00f, 0.90f); + colors[ImGuiCol_NavCursor] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_NavWindowingHighlight] = ImVec4(1.00f, 1.00f, 1.00f, 0.70f); + colors[ImGuiCol_NavWindowingDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.20f); + colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.35f); + colors[ImGuiCol_WindowShadow] = ImVec4(0.08f, 0.08f, 0.08f, 0.35f); +} + +void ImGui::StyleColorsClassic(ImGuiStyle* dst) +{ + ImGuiStyle* style = dst ? dst : &ImGui::GetStyle(); + ImVec4* colors = style->Colors; + + colors[ImGuiCol_Text] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); + colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f); + colors[ImGuiCol_WindowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.85f); + colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_PopupBg] = ImVec4(0.11f, 0.11f, 0.14f, 0.92f); + colors[ImGuiCol_Border] = ImVec4(0.50f, 0.50f, 0.50f, 0.50f); + colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_FrameBg] = ImVec4(0.43f, 0.43f, 0.43f, 0.39f); + colors[ImGuiCol_FrameBgHovered] = ImVec4(0.47f, 0.47f, 0.69f, 0.40f); + colors[ImGuiCol_FrameBgActive] = ImVec4(0.42f, 0.41f, 0.64f, 0.69f); + colors[ImGuiCol_TitleBg] = ImVec4(0.27f, 0.27f, 0.54f, 0.83f); + colors[ImGuiCol_TitleBgActive] = ImVec4(0.32f, 0.32f, 0.63f, 0.87f); + colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.40f, 0.40f, 0.80f, 0.20f); + colors[ImGuiCol_MenuBarBg] = ImVec4(0.40f, 0.40f, 0.55f, 0.80f); + colors[ImGuiCol_ScrollbarBg] = ImVec4(0.20f, 0.25f, 0.30f, 0.60f); + colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.40f, 0.40f, 0.80f, 0.30f); + colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.40f, 0.40f, 0.80f, 0.40f); + colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.41f, 0.39f, 0.80f, 0.60f); + colors[ImGuiCol_CheckMark] = ImVec4(0.90f, 0.90f, 0.90f, 0.50f); + colors[ImGuiCol_SliderGrab] = ImVec4(1.00f, 1.00f, 1.00f, 0.30f); + colors[ImGuiCol_SliderGrabActive] = ImVec4(0.41f, 0.39f, 0.80f, 0.60f); + colors[ImGuiCol_Button] = ImVec4(0.35f, 0.40f, 0.61f, 0.62f); + colors[ImGuiCol_ButtonHovered] = ImVec4(0.40f, 0.48f, 0.71f, 0.79f); + colors[ImGuiCol_ButtonActive] = ImVec4(0.46f, 0.54f, 0.80f, 1.00f); + colors[ImGuiCol_Header] = ImVec4(0.40f, 0.40f, 0.90f, 0.45f); + colors[ImGuiCol_HeaderHovered] = ImVec4(0.45f, 0.45f, 0.90f, 0.80f); + colors[ImGuiCol_HeaderActive] = ImVec4(0.53f, 0.53f, 0.87f, 0.80f); + colors[ImGuiCol_Separator] = ImVec4(0.50f, 0.50f, 0.50f, 0.60f); + colors[ImGuiCol_SeparatorHovered] = ImVec4(0.60f, 0.60f, 0.70f, 1.00f); + colors[ImGuiCol_SeparatorActive] = ImVec4(0.70f, 0.70f, 0.90f, 1.00f); + colors[ImGuiCol_ResizeGrip] = ImVec4(1.00f, 1.00f, 1.00f, 0.10f); + colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.78f, 0.82f, 1.00f, 0.60f); + colors[ImGuiCol_ResizeGripActive] = ImVec4(0.78f, 0.82f, 1.00f, 0.90f); + colors[ImGuiCol_TabHovered] = colors[ImGuiCol_HeaderHovered]; + colors[ImGuiCol_Tab] = ImLerp(colors[ImGuiCol_Header], colors[ImGuiCol_TitleBgActive], 0.80f); + colors[ImGuiCol_TabSelected] = ImLerp(colors[ImGuiCol_HeaderActive], colors[ImGuiCol_TitleBgActive], 0.60f); + colors[ImGuiCol_TabSelectedOverline] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TabDimmed] = ImLerp(colors[ImGuiCol_Tab], colors[ImGuiCol_TitleBg], 0.80f); + colors[ImGuiCol_TabDimmedSelected] = ImLerp(colors[ImGuiCol_TabSelected], colors[ImGuiCol_TitleBg], 0.40f); + colors[ImGuiCol_TabDimmedSelectedOverline] = ImVec4(0.53f, 0.53f, 0.87f, 0.00f); + colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); + colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f); + colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f); + colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.60f, 0.00f, 1.00f); + colors[ImGuiCol_TableHeaderBg] = ImVec4(0.27f, 0.27f, 0.38f, 1.00f); + colors[ImGuiCol_TableBorderStrong] = ImVec4(0.31f, 0.31f, 0.45f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableBorderLight] = ImVec4(0.26f, 0.26f, 0.28f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableRowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_TableRowBgAlt] = ImVec4(1.00f, 1.00f, 1.00f, 0.07f); + colors[ImGuiCol_TextLink] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TextSelectedBg] = ImVec4(0.00f, 0.00f, 1.00f, 0.35f); + colors[ImGuiCol_DragDropTarget] = ImVec4(1.00f, 1.00f, 0.00f, 0.90f); + colors[ImGuiCol_NavCursor] = colors[ImGuiCol_HeaderHovered]; + colors[ImGuiCol_NavWindowingHighlight] = ImVec4(1.00f, 1.00f, 1.00f, 0.70f); + colors[ImGuiCol_NavWindowingDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.20f); + colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.20f, 0.20f, 0.20f, 0.35f); + colors[ImGuiCol_WindowShadow] = ImVec4(0.08f, 0.08f, 0.08f, 0.35f); +} + +// Those light colors are better suited with a thicker font than the default one + FrameBorder +void ImGui::StyleColorsLight(ImGuiStyle* dst) +{ + ImGuiStyle* style = dst ? dst : &ImGui::GetStyle(); + ImVec4* colors = style->Colors; + + colors[ImGuiCol_Text] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f); + colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f); + colors[ImGuiCol_WindowBg] = ImVec4(0.94f, 0.94f, 0.94f, 1.00f); + colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_PopupBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.98f); + colors[ImGuiCol_Border] = ImVec4(0.00f, 0.00f, 0.00f, 0.30f); + colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_FrameBg] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); + colors[ImGuiCol_FrameBgHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.40f); + colors[ImGuiCol_FrameBgActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.67f); + colors[ImGuiCol_TitleBg] = ImVec4(0.96f, 0.96f, 0.96f, 1.00f); + colors[ImGuiCol_TitleBgActive] = ImVec4(0.82f, 0.82f, 0.82f, 1.00f); + colors[ImGuiCol_TitleBgCollapsed] = ImVec4(1.00f, 1.00f, 1.00f, 0.51f); + colors[ImGuiCol_MenuBarBg] = ImVec4(0.86f, 0.86f, 0.86f, 1.00f); + colors[ImGuiCol_ScrollbarBg] = ImVec4(0.98f, 0.98f, 0.98f, 0.53f); + colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.69f, 0.69f, 0.69f, 0.80f); + colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.49f, 0.49f, 0.49f, 0.80f); + colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.49f, 0.49f, 0.49f, 1.00f); + colors[ImGuiCol_CheckMark] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_SliderGrab] = ImVec4(0.26f, 0.59f, 0.98f, 0.78f); + colors[ImGuiCol_SliderGrabActive] = ImVec4(0.46f, 0.54f, 0.80f, 0.60f); + colors[ImGuiCol_Button] = ImVec4(0.26f, 0.59f, 0.98f, 0.40f); + colors[ImGuiCol_ButtonHovered] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_ButtonActive] = ImVec4(0.06f, 0.53f, 0.98f, 1.00f); + colors[ImGuiCol_Header] = ImVec4(0.26f, 0.59f, 0.98f, 0.31f); + colors[ImGuiCol_HeaderHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.80f); + colors[ImGuiCol_HeaderActive] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); + colors[ImGuiCol_Separator] = ImVec4(0.39f, 0.39f, 0.39f, 0.62f); + colors[ImGuiCol_SeparatorHovered] = ImVec4(0.14f, 0.44f, 0.80f, 0.78f); + colors[ImGuiCol_SeparatorActive] = ImVec4(0.14f, 0.44f, 0.80f, 1.00f); + colors[ImGuiCol_ResizeGrip] = ImVec4(0.35f, 0.35f, 0.35f, 0.17f); + colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.67f); + colors[ImGuiCol_ResizeGripActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.95f); + colors[ImGuiCol_TabHovered] = colors[ImGuiCol_HeaderHovered]; + colors[ImGuiCol_Tab] = ImLerp(colors[ImGuiCol_Header], colors[ImGuiCol_TitleBgActive], 0.90f); + colors[ImGuiCol_TabSelected] = ImLerp(colors[ImGuiCol_HeaderActive], colors[ImGuiCol_TitleBgActive], 0.60f); + colors[ImGuiCol_TabSelectedOverline] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TabDimmed] = ImLerp(colors[ImGuiCol_Tab], colors[ImGuiCol_TitleBg], 0.80f); + colors[ImGuiCol_TabDimmedSelected] = ImLerp(colors[ImGuiCol_TabSelected], colors[ImGuiCol_TitleBg], 0.40f); + colors[ImGuiCol_TabDimmedSelectedOverline] = ImVec4(0.26f, 0.59f, 1.00f, 0.00f); + colors[ImGuiCol_PlotLines] = ImVec4(0.39f, 0.39f, 0.39f, 1.00f); + colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.43f, 0.35f, 1.00f); + colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f); + colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.45f, 0.00f, 1.00f); + colors[ImGuiCol_TableHeaderBg] = ImVec4(0.78f, 0.87f, 0.98f, 1.00f); + colors[ImGuiCol_TableBorderStrong] = ImVec4(0.57f, 0.57f, 0.64f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableBorderLight] = ImVec4(0.68f, 0.68f, 0.74f, 1.00f); // Prefer using Alpha=1.0 here + colors[ImGuiCol_TableRowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); + colors[ImGuiCol_TableRowBgAlt] = ImVec4(0.30f, 0.30f, 0.30f, 0.09f); + colors[ImGuiCol_TextLink] = colors[ImGuiCol_HeaderActive]; + colors[ImGuiCol_TextSelectedBg] = ImVec4(0.26f, 0.59f, 0.98f, 0.35f); + colors[ImGuiCol_DragDropTarget] = ImVec4(0.26f, 0.59f, 0.98f, 0.95f); + colors[ImGuiCol_NavCursor] = colors[ImGuiCol_HeaderHovered]; + colors[ImGuiCol_NavWindowingHighlight] = ImVec4(0.70f, 0.70f, 0.70f, 0.70f); + colors[ImGuiCol_NavWindowingDimBg] = ImVec4(0.20f, 0.20f, 0.20f, 0.20f); + colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.20f, 0.20f, 0.20f, 0.35f); + colors[ImGuiCol_WindowShadow] = ImVec4(0.08f, 0.08f, 0.08f, 0.35f); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImFontAtlasShadowTexConfig +//----------------------------------------------------------------------------- + +void ImFontAtlasShadowTexConfig::SetupDefaults() +{ + TexCornerSize = 16; + TexEdgeSize = 1; + TexFalloffPower = 4.8f; + TexDistanceFieldOffset = 3.8f; + TexBlur = true; +} + +int ImFontAtlasShadowTexConfig::CalcConvexTexWidth() const +{ + // We have to pad the texture enough that we don't go off the edges when we expand the corner triangles + return (int)((TexCornerSize / ImCos(IM_PI * 0.25f)) + (GetConvexTexPadding() * 2)); +} + +int ImFontAtlasShadowTexConfig::CalcConvexTexHeight() const +{ + return CalcConvexTexWidth(); // Same value +} + +//----------------------------------------------------------------------------- +// [SECTION] ImDrawList +//----------------------------------------------------------------------------- + +ImDrawListSharedData::ImDrawListSharedData() +{ + memset(this, 0, sizeof(*this)); + InitialFringeScale = 1.0f; + for (int i = 0; i < IM_ARRAYSIZE(ArcFastVtx); i++) + { + const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(ArcFastVtx); + ArcFastVtx[i] = ImVec2(ImCos(a), ImSin(a)); + } + ArcFastRadiusCutoff = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(IM_DRAWLIST_ARCFAST_SAMPLE_MAX, CircleSegmentMaxError); +} + +void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error) +{ + if (CircleSegmentMaxError == max_error) + return; + + IM_ASSERT(max_error > 0.0f); + CircleSegmentMaxError = max_error; + for (int i = 0; i < IM_ARRAYSIZE(CircleSegmentCounts); i++) + { + const float radius = (float)i; + CircleSegmentCounts[i] = (ImU8)((i > 0) ? IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, CircleSegmentMaxError) : IM_DRAWLIST_ARCFAST_SAMPLE_MAX); + } + ArcFastRadiusCutoff = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(IM_DRAWLIST_ARCFAST_SAMPLE_MAX, CircleSegmentMaxError); +} + +ImDrawList::ImDrawList(ImDrawListSharedData* shared_data) +{ + memset(this, 0, sizeof(*this)); + _Data = shared_data; +} + +ImDrawList::~ImDrawList() +{ + _ClearFreeMemory(); +} + +// Initialize before use in a new frame. We always have a command ready in the buffer. +// In the majority of cases, you would want to call PushClipRect() and PushTextureID() after this. +void ImDrawList::_ResetForNewFrame() +{ + // Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory. + IM_STATIC_ASSERT(offsetof(ImDrawCmd, ClipRect) == 0); + IM_STATIC_ASSERT(offsetof(ImDrawCmd, TextureId) == sizeof(ImVec4)); + IM_STATIC_ASSERT(offsetof(ImDrawCmd, VtxOffset) == sizeof(ImVec4) + sizeof(ImTextureID)); + if (_Splitter._Count > 1) + _Splitter.Merge(this); + + CmdBuffer.resize(0); + IdxBuffer.resize(0); + VtxBuffer.resize(0); + Flags = _Data->InitialFlags; + memset(&_CmdHeader, 0, sizeof(_CmdHeader)); + _VtxCurrentIdx = 0; + _VtxWritePtr = NULL; + _IdxWritePtr = NULL; + _ClipRectStack.resize(0); + _TextureIdStack.resize(0); + _CallbacksDataBuf.resize(0); + _Path.resize(0); + _Splitter.Clear(); + CmdBuffer.push_back(ImDrawCmd()); + _FringeScale = _Data->InitialFringeScale; +} + +void ImDrawList::_ClearFreeMemory() +{ + CmdBuffer.clear(); + IdxBuffer.clear(); + VtxBuffer.clear(); + Flags = ImDrawListFlags_None; + _VtxCurrentIdx = 0; + _VtxWritePtr = NULL; + _IdxWritePtr = NULL; + _ClipRectStack.clear(); + _TextureIdStack.clear(); + _CallbacksDataBuf.clear(); + _Path.clear(); + _Splitter.ClearFreeMemory(); +} + +ImDrawList* ImDrawList::CloneOutput() const +{ + ImDrawList* dst = IM_NEW(ImDrawList(_Data)); + dst->CmdBuffer = CmdBuffer; + dst->IdxBuffer = IdxBuffer; + dst->VtxBuffer = VtxBuffer; + dst->Flags = Flags; + return dst; +} + +void ImDrawList::AddDrawCmd() +{ + ImDrawCmd draw_cmd; + draw_cmd.ClipRect = _CmdHeader.ClipRect; // Same as calling ImDrawCmd_HeaderCopy() + draw_cmd.TextureId = _CmdHeader.TextureId; + draw_cmd.VtxOffset = _CmdHeader.VtxOffset; + draw_cmd.IdxOffset = IdxBuffer.Size; + + IM_ASSERT(draw_cmd.ClipRect.x <= draw_cmd.ClipRect.z && draw_cmd.ClipRect.y <= draw_cmd.ClipRect.w); + CmdBuffer.push_back(draw_cmd); +} + +// Pop trailing draw command (used before merging or presenting to user) +// Note that this leaves the ImDrawList in a state unfit for further commands, as most code assume that CmdBuffer.Size > 0 && CmdBuffer.back().UserCallback == NULL +void ImDrawList::_PopUnusedDrawCmd() +{ + while (CmdBuffer.Size > 0) + { + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + if (curr_cmd->ElemCount != 0 || curr_cmd->UserCallback != NULL) + return;// break; + CmdBuffer.pop_back(); + } +} + +void ImDrawList::AddCallback(ImDrawCallback callback, void* userdata, size_t userdata_size) +{ + IM_ASSERT_PARANOID(CmdBuffer.Size > 0); + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + IM_ASSERT(curr_cmd->UserCallback == NULL); + if (curr_cmd->ElemCount != 0) + { + AddDrawCmd(); + curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + } + + curr_cmd->UserCallback = callback; + if (userdata_size == 0) + { + // Store user data directly in command (no indirection) + curr_cmd->UserCallbackData = userdata; + curr_cmd->UserCallbackDataSize = 0; + curr_cmd->UserCallbackDataOffset = -1; + } + else + { + // Copy and store user data in a buffer + IM_ASSERT(userdata != NULL); + IM_ASSERT(userdata_size < (1u << 31)); + curr_cmd->UserCallbackData = NULL; // Will be resolved during Render() + curr_cmd->UserCallbackDataSize = (int)userdata_size; + curr_cmd->UserCallbackDataOffset = _CallbacksDataBuf.Size; + _CallbacksDataBuf.resize(_CallbacksDataBuf.Size + (int)userdata_size); + memcpy(_CallbacksDataBuf.Data + (size_t)curr_cmd->UserCallbackDataOffset, userdata, userdata_size); + } + + AddDrawCmd(); // Force a new command after us (see comment below) +} + +// Compare ClipRect, TextureId and VtxOffset with a single memcmp() +#define ImDrawCmd_HeaderSize (offsetof(ImDrawCmd, VtxOffset) + sizeof(unsigned int)) +#define ImDrawCmd_HeaderCompare(CMD_LHS, CMD_RHS) (memcmp(CMD_LHS, CMD_RHS, ImDrawCmd_HeaderSize)) // Compare ClipRect, TextureId, VtxOffset +#define ImDrawCmd_HeaderCopy(CMD_DST, CMD_SRC) (memcpy(CMD_DST, CMD_SRC, ImDrawCmd_HeaderSize)) // Copy ClipRect, TextureId, VtxOffset +#define ImDrawCmd_AreSequentialIdxOffset(CMD_0, CMD_1) (CMD_0->IdxOffset + CMD_0->ElemCount == CMD_1->IdxOffset) + +// Try to merge two last draw commands +void ImDrawList::_TryMergeDrawCmds() +{ + IM_ASSERT_PARANOID(CmdBuffer.Size > 0); + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + ImDrawCmd* prev_cmd = curr_cmd - 1; + if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && curr_cmd->UserCallback == NULL && prev_cmd->UserCallback == NULL) + { + prev_cmd->ElemCount += curr_cmd->ElemCount; + CmdBuffer.pop_back(); + } +} + +// Our scheme may appears a bit unusual, basically we want the most-common calls AddLine AddRect etc. to not have to perform any check so we always have a command ready in the stack. +// The cost of figuring out if a new command has to be added or if we can merge is paid in those Update** functions only. +void ImDrawList::_OnChangedClipRect() +{ + // If current command is used with different settings we need to add a new command + IM_ASSERT_PARANOID(CmdBuffer.Size > 0); + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + if (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &_CmdHeader.ClipRect, sizeof(ImVec4)) != 0) + { + AddDrawCmd(); + return; + } + IM_ASSERT(curr_cmd->UserCallback == NULL); + + // Try to merge with previous command if it matches, else use current command + ImDrawCmd* prev_cmd = curr_cmd - 1; + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) + { + CmdBuffer.pop_back(); + return; + } + curr_cmd->ClipRect = _CmdHeader.ClipRect; +} + +void ImDrawList::_OnChangedTextureID() +{ + // If current command is used with different settings we need to add a new command + IM_ASSERT_PARANOID(CmdBuffer.Size > 0); + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + if (curr_cmd->ElemCount != 0 && curr_cmd->TextureId != _CmdHeader.TextureId) + { + AddDrawCmd(); + return; + } + IM_ASSERT(curr_cmd->UserCallback == NULL); + + // Try to merge with previous command if it matches, else use current command + ImDrawCmd* prev_cmd = curr_cmd - 1; + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) + { + CmdBuffer.pop_back(); + return; + } + curr_cmd->TextureId = _CmdHeader.TextureId; +} + +void ImDrawList::_OnChangedVtxOffset() +{ + // We don't need to compare curr_cmd->VtxOffset != _CmdHeader.VtxOffset because we know it'll be different at the time we call this. + _VtxCurrentIdx = 0; + IM_ASSERT_PARANOID(CmdBuffer.Size > 0); + ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + //IM_ASSERT(curr_cmd->VtxOffset != _CmdHeader.VtxOffset); // See #3349 + if (curr_cmd->ElemCount != 0) + { + AddDrawCmd(); + return; + } + IM_ASSERT(curr_cmd->UserCallback == NULL); + curr_cmd->VtxOffset = _CmdHeader.VtxOffset; +} + +int ImDrawList::_CalcCircleAutoSegmentCount(float radius) const +{ + // Automatic segment count + const int radius_idx = (int)(radius + 0.999999f); // ceil to never reduce accuracy + if (radius_idx >= 0 && radius_idx < IM_ARRAYSIZE(_Data->CircleSegmentCounts)) + return _Data->CircleSegmentCounts[radius_idx]; // Use cached value + else + return IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, _Data->CircleSegmentMaxError); +} + +// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) +void ImDrawList::PushClipRect(const ImVec2& cr_min, const ImVec2& cr_max, bool intersect_with_current_clip_rect) +{ + ImVec4 cr(cr_min.x, cr_min.y, cr_max.x, cr_max.y); + if (intersect_with_current_clip_rect) + { + ImVec4 current = _CmdHeader.ClipRect; + if (cr.x < current.x) cr.x = current.x; + if (cr.y < current.y) cr.y = current.y; + if (cr.z > current.z) cr.z = current.z; + if (cr.w > current.w) cr.w = current.w; + } + cr.z = ImMax(cr.x, cr.z); + cr.w = ImMax(cr.y, cr.w); + + _ClipRectStack.push_back(cr); + _CmdHeader.ClipRect = cr; + _OnChangedClipRect(); +} + +void ImDrawList::PushClipRectFullScreen() +{ + PushClipRect(ImVec2(_Data->ClipRectFullscreen.x, _Data->ClipRectFullscreen.y), ImVec2(_Data->ClipRectFullscreen.z, _Data->ClipRectFullscreen.w)); +} + +void ImDrawList::PopClipRect() +{ + _ClipRectStack.pop_back(); + _CmdHeader.ClipRect = (_ClipRectStack.Size == 0) ? _Data->ClipRectFullscreen : _ClipRectStack.Data[_ClipRectStack.Size - 1]; + _OnChangedClipRect(); +} + +void ImDrawList::PushTextureID(ImTextureID texture_id) +{ + _TextureIdStack.push_back(texture_id); + _CmdHeader.TextureId = texture_id; + _OnChangedTextureID(); +} + +void ImDrawList::PopTextureID() +{ + _TextureIdStack.pop_back(); + _CmdHeader.TextureId = (_TextureIdStack.Size == 0) ? (ImTextureID)NULL : _TextureIdStack.Data[_TextureIdStack.Size - 1]; + _OnChangedTextureID(); +} + +// This is used by ImGui::PushFont()/PopFont(). It works because we never use _TextureIdStack[] elsewhere than in PushTextureID()/PopTextureID(). +void ImDrawList::_SetTextureID(ImTextureID texture_id) +{ + if (_CmdHeader.TextureId == texture_id) + return; + _CmdHeader.TextureId = texture_id; + _OnChangedTextureID(); +} + +// Reserve space for a number of vertices and indices. +// You must finish filling your reserved data before calling PrimReserve() again, as it may reallocate or +// submit the intermediate results. PrimUnreserve() can be used to release unused allocations. +void ImDrawList::PrimReserve(int idx_count, int vtx_count) +{ + // Large mesh support (when enabled) + IM_ASSERT_PARANOID(idx_count >= 0 && vtx_count >= 0); + if (sizeof(ImDrawIdx) == 2 && (_VtxCurrentIdx + vtx_count >= (1 << 16)) && (Flags & ImDrawListFlags_AllowVtxOffset)) + { + // FIXME: In theory we should be testing that vtx_count <64k here. + // In practice, RenderText() relies on reserving ahead for a worst case scenario so it is currently useful for us + // to not make that check until we rework the text functions to handle clipping and large horizontal lines better. + _CmdHeader.VtxOffset = VtxBuffer.Size; + _OnChangedVtxOffset(); + } + + ImDrawCmd* draw_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + draw_cmd->ElemCount += idx_count; + + int vtx_buffer_old_size = VtxBuffer.Size; + VtxBuffer.resize(vtx_buffer_old_size + vtx_count); + _VtxWritePtr = VtxBuffer.Data + vtx_buffer_old_size; + + int idx_buffer_old_size = IdxBuffer.Size; + IdxBuffer.resize(idx_buffer_old_size + idx_count); + _IdxWritePtr = IdxBuffer.Data + idx_buffer_old_size; +} + +// Release the number of reserved vertices/indices from the end of the last reservation made with PrimReserve(). +void ImDrawList::PrimUnreserve(int idx_count, int vtx_count) +{ + IM_ASSERT_PARANOID(idx_count >= 0 && vtx_count >= 0); + + ImDrawCmd* draw_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; + draw_cmd->ElemCount -= idx_count; + VtxBuffer.shrink(VtxBuffer.Size - vtx_count); + IdxBuffer.shrink(IdxBuffer.Size - idx_count); +} + +// Fully unrolled with inline call to keep our debug builds decently fast. +void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) +{ + ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel); + ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; + _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); + _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); + _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; + _VtxWritePtr[1].pos = b; _VtxWritePtr[1].uv = uv; _VtxWritePtr[1].col = col; + _VtxWritePtr[2].pos = c; _VtxWritePtr[2].uv = uv; _VtxWritePtr[2].col = col; + _VtxWritePtr[3].pos = d; _VtxWritePtr[3].uv = uv; _VtxWritePtr[3].col = col; + _VtxWritePtr += 4; + _VtxCurrentIdx += 4; + _IdxWritePtr += 6; +} + +void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col) +{ + ImVec2 b(c.x, a.y), d(a.x, c.y), uv_b(uv_c.x, uv_a.y), uv_d(uv_a.x, uv_c.y); + ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; + _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); + _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); + _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv_a; _VtxWritePtr[0].col = col; + _VtxWritePtr[1].pos = b; _VtxWritePtr[1].uv = uv_b; _VtxWritePtr[1].col = col; + _VtxWritePtr[2].pos = c; _VtxWritePtr[2].uv = uv_c; _VtxWritePtr[2].col = col; + _VtxWritePtr[3].pos = d; _VtxWritePtr[3].uv = uv_d; _VtxWritePtr[3].col = col; + _VtxWritePtr += 4; + _VtxCurrentIdx += 4; + _IdxWritePtr += 6; +} + +void ImDrawList::PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col) +{ + ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx; + _IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2); + _IdxWritePtr[3] = idx; _IdxWritePtr[4] = (ImDrawIdx)(idx+2); _IdxWritePtr[5] = (ImDrawIdx)(idx+3); + _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv_a; _VtxWritePtr[0].col = col; + _VtxWritePtr[1].pos = b; _VtxWritePtr[1].uv = uv_b; _VtxWritePtr[1].col = col; + _VtxWritePtr[2].pos = c; _VtxWritePtr[2].uv = uv_c; _VtxWritePtr[2].col = col; + _VtxWritePtr[3].pos = d; _VtxWritePtr[3].uv = uv_d; _VtxWritePtr[3].col = col; + _VtxWritePtr += 4; + _VtxCurrentIdx += 4; + _IdxWritePtr += 6; +} + +// On AddPolyline() and AddConvexPolyFilled() we intentionally avoid using ImVec2 and superfluous function calls to optimize debug/non-inlined builds. +// - Those macros expects l-values and need to be used as their own statement. +// - Those macros are intentionally not surrounded by the 'do {} while (0)' idiom because even that translates to runtime with debug compilers. +#define IM_NORMALIZE2F_OVER_ZERO(VX,VY) { float d2 = VX*VX + VY*VY; if (d2 > 0.0f) { float inv_len = ImRsqrt(d2); VX *= inv_len; VY *= inv_len; } } (void)0 +#define IM_FIXNORMAL2F_MAX_INVLEN2 100.0f // 500.0f (see #4053, #3366) +#define IM_FIXNORMAL2F(VX,VY) { float d2 = VX*VX + VY*VY; if (d2 > 0.000001f) { float inv_len2 = 1.0f / d2; if (inv_len2 > IM_FIXNORMAL2F_MAX_INVLEN2) inv_len2 = IM_FIXNORMAL2F_MAX_INVLEN2; VX *= inv_len2; VY *= inv_len2; } } (void)0 + +// TODO: Thickness anti-aliased lines cap are missing their AA fringe. +// We avoid using the ImVec2 math operators here to reduce cost to a minimum for debug/non-inlined builds. +void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, ImDrawFlags flags, float thickness) +{ + if (points_count < 2 || (col & IM_COL32_A_MASK) == 0) + return; + + const bool closed = (flags & ImDrawFlags_Closed) != 0; + const ImVec2 opaque_uv = _Data->TexUvWhitePixel; + const int count = closed ? points_count : points_count - 1; // The number of line segments we need to draw + const bool thick_line = (thickness > _FringeScale); + + if (Flags & ImDrawListFlags_AntiAliasedLines) + { + // Anti-aliased stroke + const float AA_SIZE = _FringeScale; + const ImU32 col_trans = col & ~IM_COL32_A_MASK; + + // Thicknesses <1.0 should behave like thickness 1.0 + thickness = ImMax(thickness, 1.0f); + const int integer_thickness = (int)thickness; + const float fractional_thickness = thickness - integer_thickness; + + // Do we want to draw this line using a texture? + // - For now, only draw integer-width lines using textures to avoid issues with the way scaling occurs, could be improved. + // - If AA_SIZE is not 1.0f we cannot use the texture path. + const bool use_texture = (Flags & ImDrawListFlags_AntiAliasedLinesUseTex) && (integer_thickness < IM_DRAWLIST_TEX_LINES_WIDTH_MAX) && (fractional_thickness <= 0.00001f) && (AA_SIZE == 1.0f); + + // We should never hit this, because NewFrame() doesn't set ImDrawListFlags_AntiAliasedLinesUseTex unless ImFontAtlasFlags_NoBakedLines is off + IM_ASSERT_PARANOID(!use_texture || !(_Data->Font->ContainerAtlas->Flags & ImFontAtlasFlags_NoBakedLines)); + + const int idx_count = use_texture ? (count * 6) : (thick_line ? count * 18 : count * 12); + const int vtx_count = use_texture ? (points_count * 2) : (thick_line ? points_count * 4 : points_count * 3); + PrimReserve(idx_count, vtx_count); + + // Temporary buffer + // The first items are normals at each line point, then after that there are either 2 or 4 temp points for each line point + _Data->TempBuffer.reserve_discard(points_count * ((use_texture || !thick_line) ? 3 : 5)); + ImVec2* temp_normals = _Data->TempBuffer.Data; + ImVec2* temp_points = temp_normals + points_count; + + // Calculate normals (tangents) for each line segment + for (int i1 = 0; i1 < count; i1++) + { + const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1; + float dx = points[i2].x - points[i1].x; + float dy = points[i2].y - points[i1].y; + IM_NORMALIZE2F_OVER_ZERO(dx, dy); + temp_normals[i1].x = dy; + temp_normals[i1].y = -dx; + } + if (!closed) + temp_normals[points_count - 1] = temp_normals[points_count - 2]; + + // If we are drawing a one-pixel-wide line without a texture, or a textured line of any width, we only need 2 or 3 vertices per point + if (use_texture || !thick_line) + { + // [PATH 1] Texture-based lines (thick or non-thick) + // [PATH 2] Non texture-based lines (non-thick) + + // The width of the geometry we need to draw - this is essentially pixels for the line itself, plus "one pixel" for AA. + // - In the texture-based path, we don't use AA_SIZE here because the +1 is tied to the generated texture + // (see ImFontAtlasBuildRenderLinesTexData() function), and so alternate values won't work without changes to that code. + // - In the non texture-based paths, we would allow AA_SIZE to potentially be != 1.0f with a patch (e.g. fringe_scale patch to + // allow scaling geometry while preserving one-screen-pixel AA fringe). + const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; + + // If line is not closed, the first and last points need to be generated differently as there are no normals to blend + if (!closed) + { + temp_points[0] = points[0] + temp_normals[0] * half_draw_size; + temp_points[1] = points[0] - temp_normals[0] * half_draw_size; + temp_points[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * half_draw_size; + temp_points[(points_count-1)*2+1] = points[points_count-1] - temp_normals[points_count-1] * half_draw_size; + } + + // Generate the indices to form a number of triangles for each line segment, and the vertices for the line edges + // This takes points n and n+1 and writes into n+1, with the first point in a closed line being generated from the final one (as n+1 wraps) + // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. + unsigned int idx1 = _VtxCurrentIdx; // Vertex index for start of line segment + for (int i1 = 0; i1 < count; i1++) // i1 is the first point of the line segment + { + const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1; // i2 is the second point of the line segment + const unsigned int idx2 = ((i1 + 1) == points_count) ? _VtxCurrentIdx : (idx1 + (use_texture ? 2 : 3)); // Vertex index for end of segment + + // Average normals + float dm_x = (temp_normals[i1].x + temp_normals[i2].x) * 0.5f; + float dm_y = (temp_normals[i1].y + temp_normals[i2].y) * 0.5f; + IM_FIXNORMAL2F(dm_x, dm_y); + dm_x *= half_draw_size; // dm_x, dm_y are offset to the outer edge of the AA area + dm_y *= half_draw_size; + + // Add temporary vertexes for the outer edges + ImVec2* out_vtx = &temp_points[i2 * 2]; + out_vtx[0].x = points[i2].x + dm_x; + out_vtx[0].y = points[i2].y + dm_y; + out_vtx[1].x = points[i2].x - dm_x; + out_vtx[1].y = points[i2].y - dm_y; + + if (use_texture) + { + // Add indices for two triangles + _IdxWritePtr[0] = (ImDrawIdx)(idx2 + 0); _IdxWritePtr[1] = (ImDrawIdx)(idx1 + 0); _IdxWritePtr[2] = (ImDrawIdx)(idx1 + 1); // Right tri + _IdxWritePtr[3] = (ImDrawIdx)(idx2 + 1); _IdxWritePtr[4] = (ImDrawIdx)(idx1 + 1); _IdxWritePtr[5] = (ImDrawIdx)(idx2 + 0); // Left tri + _IdxWritePtr += 6; + } + else + { + // Add indexes for four triangles + _IdxWritePtr[0] = (ImDrawIdx)(idx2 + 0); _IdxWritePtr[1] = (ImDrawIdx)(idx1 + 0); _IdxWritePtr[2] = (ImDrawIdx)(idx1 + 2); // Right tri 1 + _IdxWritePtr[3] = (ImDrawIdx)(idx1 + 2); _IdxWritePtr[4] = (ImDrawIdx)(idx2 + 2); _IdxWritePtr[5] = (ImDrawIdx)(idx2 + 0); // Right tri 2 + _IdxWritePtr[6] = (ImDrawIdx)(idx2 + 1); _IdxWritePtr[7] = (ImDrawIdx)(idx1 + 1); _IdxWritePtr[8] = (ImDrawIdx)(idx1 + 0); // Left tri 1 + _IdxWritePtr[9] = (ImDrawIdx)(idx1 + 0); _IdxWritePtr[10] = (ImDrawIdx)(idx2 + 0); _IdxWritePtr[11] = (ImDrawIdx)(idx2 + 1); // Left tri 2 + _IdxWritePtr += 12; + } + + idx1 = idx2; + } + + // Add vertexes for each point on the line + if (use_texture) + { + // If we're using textures we only need to emit the left/right edge vertices + ImVec4 tex_uvs = _Data->TexUvLines[integer_thickness]; + /*if (fractional_thickness != 0.0f) // Currently always zero when use_texture==false! + { + const ImVec4 tex_uvs_1 = _Data->TexUvLines[integer_thickness + 1]; + tex_uvs.x = tex_uvs.x + (tex_uvs_1.x - tex_uvs.x) * fractional_thickness; // inlined ImLerp() + tex_uvs.y = tex_uvs.y + (tex_uvs_1.y - tex_uvs.y) * fractional_thickness; + tex_uvs.z = tex_uvs.z + (tex_uvs_1.z - tex_uvs.z) * fractional_thickness; + tex_uvs.w = tex_uvs.w + (tex_uvs_1.w - tex_uvs.w) * fractional_thickness; + }*/ + ImVec2 tex_uv0(tex_uvs.x, tex_uvs.y); + ImVec2 tex_uv1(tex_uvs.z, tex_uvs.w); + for (int i = 0; i < points_count; i++) + { + _VtxWritePtr[0].pos = temp_points[i * 2 + 0]; _VtxWritePtr[0].uv = tex_uv0; _VtxWritePtr[0].col = col; // Left-side outer edge + _VtxWritePtr[1].pos = temp_points[i * 2 + 1]; _VtxWritePtr[1].uv = tex_uv1; _VtxWritePtr[1].col = col; // Right-side outer edge + _VtxWritePtr += 2; + } + } + else + { + // If we're not using a texture, we need the center vertex as well + for (int i = 0; i < points_count; i++) + { + _VtxWritePtr[0].pos = points[i]; _VtxWritePtr[0].uv = opaque_uv; _VtxWritePtr[0].col = col; // Center of line + _VtxWritePtr[1].pos = temp_points[i * 2 + 0]; _VtxWritePtr[1].uv = opaque_uv; _VtxWritePtr[1].col = col_trans; // Left-side outer edge + _VtxWritePtr[2].pos = temp_points[i * 2 + 1]; _VtxWritePtr[2].uv = opaque_uv; _VtxWritePtr[2].col = col_trans; // Right-side outer edge + _VtxWritePtr += 3; + } + } + } + else + { + // [PATH 2] Non texture-based lines (thick): we need to draw the solid line core and thus require four vertices per point + const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f; + + // If line is not closed, the first and last points need to be generated differently as there are no normals to blend + if (!closed) + { + const int points_last = points_count - 1; + temp_points[0] = points[0] + temp_normals[0] * (half_inner_thickness + AA_SIZE); + temp_points[1] = points[0] + temp_normals[0] * (half_inner_thickness); + temp_points[2] = points[0] - temp_normals[0] * (half_inner_thickness); + temp_points[3] = points[0] - temp_normals[0] * (half_inner_thickness + AA_SIZE); + temp_points[points_last * 4 + 0] = points[points_last] + temp_normals[points_last] * (half_inner_thickness + AA_SIZE); + temp_points[points_last * 4 + 1] = points[points_last] + temp_normals[points_last] * (half_inner_thickness); + temp_points[points_last * 4 + 2] = points[points_last] - temp_normals[points_last] * (half_inner_thickness); + temp_points[points_last * 4 + 3] = points[points_last] - temp_normals[points_last] * (half_inner_thickness + AA_SIZE); + } + + // Generate the indices to form a number of triangles for each line segment, and the vertices for the line edges + // This takes points n and n+1 and writes into n+1, with the first point in a closed line being generated from the final one (as n+1 wraps) + // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. + unsigned int idx1 = _VtxCurrentIdx; // Vertex index for start of line segment + for (int i1 = 0; i1 < count; i1++) // i1 is the first point of the line segment + { + const int i2 = (i1 + 1) == points_count ? 0 : (i1 + 1); // i2 is the second point of the line segment + const unsigned int idx2 = (i1 + 1) == points_count ? _VtxCurrentIdx : (idx1 + 4); // Vertex index for end of segment + + // Average normals + float dm_x = (temp_normals[i1].x + temp_normals[i2].x) * 0.5f; + float dm_y = (temp_normals[i1].y + temp_normals[i2].y) * 0.5f; + IM_FIXNORMAL2F(dm_x, dm_y); + float dm_out_x = dm_x * (half_inner_thickness + AA_SIZE); + float dm_out_y = dm_y * (half_inner_thickness + AA_SIZE); + float dm_in_x = dm_x * half_inner_thickness; + float dm_in_y = dm_y * half_inner_thickness; + + // Add temporary vertices + ImVec2* out_vtx = &temp_points[i2 * 4]; + out_vtx[0].x = points[i2].x + dm_out_x; + out_vtx[0].y = points[i2].y + dm_out_y; + out_vtx[1].x = points[i2].x + dm_in_x; + out_vtx[1].y = points[i2].y + dm_in_y; + out_vtx[2].x = points[i2].x - dm_in_x; + out_vtx[2].y = points[i2].y - dm_in_y; + out_vtx[3].x = points[i2].x - dm_out_x; + out_vtx[3].y = points[i2].y - dm_out_y; + + // Add indexes + _IdxWritePtr[0] = (ImDrawIdx)(idx2 + 1); _IdxWritePtr[1] = (ImDrawIdx)(idx1 + 1); _IdxWritePtr[2] = (ImDrawIdx)(idx1 + 2); + _IdxWritePtr[3] = (ImDrawIdx)(idx1 + 2); _IdxWritePtr[4] = (ImDrawIdx)(idx2 + 2); _IdxWritePtr[5] = (ImDrawIdx)(idx2 + 1); + _IdxWritePtr[6] = (ImDrawIdx)(idx2 + 1); _IdxWritePtr[7] = (ImDrawIdx)(idx1 + 1); _IdxWritePtr[8] = (ImDrawIdx)(idx1 + 0); + _IdxWritePtr[9] = (ImDrawIdx)(idx1 + 0); _IdxWritePtr[10] = (ImDrawIdx)(idx2 + 0); _IdxWritePtr[11] = (ImDrawIdx)(idx2 + 1); + _IdxWritePtr[12] = (ImDrawIdx)(idx2 + 2); _IdxWritePtr[13] = (ImDrawIdx)(idx1 + 2); _IdxWritePtr[14] = (ImDrawIdx)(idx1 + 3); + _IdxWritePtr[15] = (ImDrawIdx)(idx1 + 3); _IdxWritePtr[16] = (ImDrawIdx)(idx2 + 3); _IdxWritePtr[17] = (ImDrawIdx)(idx2 + 2); + _IdxWritePtr += 18; + + idx1 = idx2; + } + + // Add vertices + for (int i = 0; i < points_count; i++) + { + _VtxWritePtr[0].pos = temp_points[i * 4 + 0]; _VtxWritePtr[0].uv = opaque_uv; _VtxWritePtr[0].col = col_trans; + _VtxWritePtr[1].pos = temp_points[i * 4 + 1]; _VtxWritePtr[1].uv = opaque_uv; _VtxWritePtr[1].col = col; + _VtxWritePtr[2].pos = temp_points[i * 4 + 2]; _VtxWritePtr[2].uv = opaque_uv; _VtxWritePtr[2].col = col; + _VtxWritePtr[3].pos = temp_points[i * 4 + 3]; _VtxWritePtr[3].uv = opaque_uv; _VtxWritePtr[3].col = col_trans; + _VtxWritePtr += 4; + } + } + _VtxCurrentIdx += (ImDrawIdx)vtx_count; + } + else + { + // [PATH 4] Non texture-based, Non anti-aliased lines + const int idx_count = count * 6; + const int vtx_count = count * 4; // FIXME-OPT: Not sharing edges + PrimReserve(idx_count, vtx_count); + + for (int i1 = 0; i1 < count; i1++) + { + const int i2 = (i1 + 1) == points_count ? 0 : i1 + 1; + const ImVec2& p1 = points[i1]; + const ImVec2& p2 = points[i2]; + + float dx = p2.x - p1.x; + float dy = p2.y - p1.y; + IM_NORMALIZE2F_OVER_ZERO(dx, dy); + dx *= (thickness * 0.5f); + dy *= (thickness * 0.5f); + + _VtxWritePtr[0].pos.x = p1.x + dy; _VtxWritePtr[0].pos.y = p1.y - dx; _VtxWritePtr[0].uv = opaque_uv; _VtxWritePtr[0].col = col; + _VtxWritePtr[1].pos.x = p2.x + dy; _VtxWritePtr[1].pos.y = p2.y - dx; _VtxWritePtr[1].uv = opaque_uv; _VtxWritePtr[1].col = col; + _VtxWritePtr[2].pos.x = p2.x - dy; _VtxWritePtr[2].pos.y = p2.y + dx; _VtxWritePtr[2].uv = opaque_uv; _VtxWritePtr[2].col = col; + _VtxWritePtr[3].pos.x = p1.x - dy; _VtxWritePtr[3].pos.y = p1.y + dx; _VtxWritePtr[3].uv = opaque_uv; _VtxWritePtr[3].col = col; + _VtxWritePtr += 4; + + _IdxWritePtr[0] = (ImDrawIdx)(_VtxCurrentIdx); _IdxWritePtr[1] = (ImDrawIdx)(_VtxCurrentIdx + 1); _IdxWritePtr[2] = (ImDrawIdx)(_VtxCurrentIdx + 2); + _IdxWritePtr[3] = (ImDrawIdx)(_VtxCurrentIdx); _IdxWritePtr[4] = (ImDrawIdx)(_VtxCurrentIdx + 2); _IdxWritePtr[5] = (ImDrawIdx)(_VtxCurrentIdx + 3); + _IdxWritePtr += 6; + _VtxCurrentIdx += 4; + } + } +} + +// - We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. +// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. +void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) +{ + if (points_count < 3 || (col & IM_COL32_A_MASK) == 0) + return; + + const ImVec2 uv = _Data->TexUvWhitePixel; + + if (Flags & ImDrawListFlags_AntiAliasedFill) + { + // Anti-aliased Fill + const float AA_SIZE = _FringeScale; + const ImU32 col_trans = col & ~IM_COL32_A_MASK; + const int idx_count = (points_count - 2)*3 + points_count * 6; + const int vtx_count = (points_count * 2); + PrimReserve(idx_count, vtx_count); + + // Add indexes for fill + unsigned int vtx_inner_idx = _VtxCurrentIdx; + unsigned int vtx_outer_idx = _VtxCurrentIdx + 1; + for (int i = 2; i < points_count; i++) + { + _IdxWritePtr[0] = (ImDrawIdx)(vtx_inner_idx); _IdxWritePtr[1] = (ImDrawIdx)(vtx_inner_idx + ((i - 1) << 1)); _IdxWritePtr[2] = (ImDrawIdx)(vtx_inner_idx + (i << 1)); + _IdxWritePtr += 3; + } + + // Compute normals + _Data->TempBuffer.reserve_discard(points_count); + ImVec2* temp_normals = _Data->TempBuffer.Data; + for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) + { + const ImVec2& p0 = points[i0]; + const ImVec2& p1 = points[i1]; + float dx = p1.x - p0.x; + float dy = p1.y - p0.y; + IM_NORMALIZE2F_OVER_ZERO(dx, dy); + temp_normals[i0].x = dy; + temp_normals[i0].y = -dx; + } + + for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) + { + // Average normals + const ImVec2& n0 = temp_normals[i0]; + const ImVec2& n1 = temp_normals[i1]; + float dm_x = (n0.x + n1.x) * 0.5f; + float dm_y = (n0.y + n1.y) * 0.5f; + IM_FIXNORMAL2F(dm_x, dm_y); + dm_x *= AA_SIZE * 0.5f; + dm_y *= AA_SIZE * 0.5f; + + // Add vertices + _VtxWritePtr[0].pos.x = (points[i1].x - dm_x); _VtxWritePtr[0].pos.y = (points[i1].y - dm_y); _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; // Inner + _VtxWritePtr[1].pos.x = (points[i1].x + dm_x); _VtxWritePtr[1].pos.y = (points[i1].y + dm_y); _VtxWritePtr[1].uv = uv; _VtxWritePtr[1].col = col_trans; // Outer + _VtxWritePtr += 2; + + // Add indexes for fringes + _IdxWritePtr[0] = (ImDrawIdx)(vtx_inner_idx + (i1 << 1)); _IdxWritePtr[1] = (ImDrawIdx)(vtx_inner_idx + (i0 << 1)); _IdxWritePtr[2] = (ImDrawIdx)(vtx_outer_idx + (i0 << 1)); + _IdxWritePtr[3] = (ImDrawIdx)(vtx_outer_idx + (i0 << 1)); _IdxWritePtr[4] = (ImDrawIdx)(vtx_outer_idx + (i1 << 1)); _IdxWritePtr[5] = (ImDrawIdx)(vtx_inner_idx + (i1 << 1)); + _IdxWritePtr += 6; + } + _VtxCurrentIdx += (ImDrawIdx)vtx_count; + } + else + { + // Non Anti-aliased Fill + const int idx_count = (points_count - 2)*3; + const int vtx_count = points_count; + PrimReserve(idx_count, vtx_count); + for (int i = 0; i < vtx_count; i++) + { + _VtxWritePtr[0].pos = points[i]; _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; + _VtxWritePtr++; + } + for (int i = 2; i < points_count; i++) + { + _IdxWritePtr[0] = (ImDrawIdx)(_VtxCurrentIdx); _IdxWritePtr[1] = (ImDrawIdx)(_VtxCurrentIdx + i - 1); _IdxWritePtr[2] = (ImDrawIdx)(_VtxCurrentIdx + i); + _IdxWritePtr += 3; + } + _VtxCurrentIdx += (ImDrawIdx)vtx_count; + } +} + +void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step) +{ + if (radius < 0.5f) + { + _Path.push_back(center); + return; + } + + // Calculate arc auto segment step size + if (a_step <= 0) + a_step = IM_DRAWLIST_ARCFAST_SAMPLE_MAX / _CalcCircleAutoSegmentCount(radius); + + // Make sure we never do steps larger than one quarter of the circle + a_step = ImClamp(a_step, 1, IM_DRAWLIST_ARCFAST_TABLE_SIZE / 4); + + const int sample_range = ImAbs(a_max_sample - a_min_sample); + const int a_next_step = a_step; + + int samples = sample_range + 1; + bool extra_max_sample = false; + if (a_step > 1) + { + samples = sample_range / a_step + 1; + const int overstep = sample_range % a_step; + + if (overstep > 0) + { + extra_max_sample = true; + samples++; + + // When we have overstep to avoid awkwardly looking one long line and one tiny one at the end, + // distribute first step range evenly between them by reducing first step size. + if (sample_range > 0) + a_step -= (a_step - overstep) / 2; + } + } + + _Path.resize(_Path.Size + samples); + ImVec2* out_ptr = _Path.Data + (_Path.Size - samples); + + int sample_index = a_min_sample; + if (sample_index < 0 || sample_index >= IM_DRAWLIST_ARCFAST_SAMPLE_MAX) + { + sample_index = sample_index % IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + if (sample_index < 0) + sample_index += IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + } + + if (a_max_sample >= a_min_sample) + { + for (int a = a_min_sample; a <= a_max_sample; a += a_step, sample_index += a_step, a_step = a_next_step) + { + // a_step is clamped to IM_DRAWLIST_ARCFAST_SAMPLE_MAX, so we have guaranteed that it will not wrap over range twice or more + if (sample_index >= IM_DRAWLIST_ARCFAST_SAMPLE_MAX) + sample_index -= IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + + const ImVec2 s = _Data->ArcFastVtx[sample_index]; + out_ptr->x = center.x + s.x * radius; + out_ptr->y = center.y + s.y * radius; + out_ptr++; + } + } + else + { + for (int a = a_min_sample; a >= a_max_sample; a -= a_step, sample_index -= a_step, a_step = a_next_step) + { + // a_step is clamped to IM_DRAWLIST_ARCFAST_SAMPLE_MAX, so we have guaranteed that it will not wrap over range twice or more + if (sample_index < 0) + sample_index += IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + + const ImVec2 s = _Data->ArcFastVtx[sample_index]; + out_ptr->x = center.x + s.x * radius; + out_ptr->y = center.y + s.y * radius; + out_ptr++; + } + } + + if (extra_max_sample) + { + int normalized_max_sample = a_max_sample % IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + if (normalized_max_sample < 0) + normalized_max_sample += IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + + const ImVec2 s = _Data->ArcFastVtx[normalized_max_sample]; + out_ptr->x = center.x + s.x * radius; + out_ptr->y = center.y + s.y * radius; + out_ptr++; + } + + IM_ASSERT_PARANOID(_Path.Data + _Path.Size == out_ptr); +} + +void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) +{ + if (radius < 0.5f) + { + _Path.push_back(center); + return; + } + + // Note that we are adding a point at both a_min and a_max. + // If you are trying to draw a full closed circle you don't want the overlapping points! + _Path.reserve(_Path.Size + (num_segments + 1)); + for (int i = 0; i <= num_segments; i++) + { + const float a = a_min + ((float)i / (float)num_segments) * (a_max - a_min); + _Path.push_back(ImVec2(center.x + ImCos(a) * radius, center.y + ImSin(a) * radius)); + } +} + +// 0: East, 3: South, 6: West, 9: North, 12: East +void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12) +{ + if (radius < 0.5f) + { + _Path.push_back(center); + return; + } + _PathArcToFastEx(center, radius, a_min_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, a_max_of_12 * IM_DRAWLIST_ARCFAST_SAMPLE_MAX / 12, 0); +} + +void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) +{ + if (radius < 0.5f) + { + _Path.push_back(center); + return; + } + + if (num_segments > 0) + { + _PathArcToN(center, radius, a_min, a_max, num_segments); + return; + } + + // Automatic segment count + if (radius <= _Data->ArcFastRadiusCutoff) + { + const bool a_is_reverse = a_max < a_min; + + // We are going to use precomputed values for mid samples. + // Determine first and last sample in lookup table that belong to the arc. + const float a_min_sample_f = IM_DRAWLIST_ARCFAST_SAMPLE_MAX * a_min / (IM_PI * 2.0f); + const float a_max_sample_f = IM_DRAWLIST_ARCFAST_SAMPLE_MAX * a_max / (IM_PI * 2.0f); + + const int a_min_sample = a_is_reverse ? (int)ImFloor(a_min_sample_f) : (int)ImCeil(a_min_sample_f); + const int a_max_sample = a_is_reverse ? (int)ImCeil(a_max_sample_f) : (int)ImFloor(a_max_sample_f); + const int a_mid_samples = a_is_reverse ? ImMax(a_min_sample - a_max_sample, 0) : ImMax(a_max_sample - a_min_sample, 0); + + const float a_min_segment_angle = a_min_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + const float a_max_segment_angle = a_max_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; + const bool a_emit_start = ImAbs(a_min_segment_angle - a_min) >= 1e-5f; + const bool a_emit_end = ImAbs(a_max - a_max_segment_angle) >= 1e-5f; + + _Path.reserve(_Path.Size + (a_mid_samples + 1 + (a_emit_start ? 1 : 0) + (a_emit_end ? 1 : 0))); + if (a_emit_start) + _Path.push_back(ImVec2(center.x + ImCos(a_min) * radius, center.y + ImSin(a_min) * radius)); + if (a_mid_samples > 0) + _PathArcToFastEx(center, radius, a_min_sample, a_max_sample, 0); + if (a_emit_end) + _Path.push_back(ImVec2(center.x + ImCos(a_max) * radius, center.y + ImSin(a_max) * radius)); + } + else + { + const float arc_length = ImAbs(a_max - a_min); + const int circle_segment_count = _CalcCircleAutoSegmentCount(radius); + const int arc_segment_count = ImMax((int)ImCeil(circle_segment_count * arc_length / (IM_PI * 2.0f)), (int)(2.0f * IM_PI / arc_length)); + _PathArcToN(center, radius, a_min, a_max, arc_segment_count); + } +} + +void ImDrawList::PathEllipticalArcTo(const ImVec2& center, const ImVec2& radius, float rot, float a_min, float a_max, int num_segments) +{ + if (num_segments <= 0) + num_segments = _CalcCircleAutoSegmentCount(ImMax(radius.x, radius.y)); // A bit pessimistic, maybe there's a better computation to do here. + + _Path.reserve(_Path.Size + (num_segments + 1)); + + const float cos_rot = ImCos(rot); + const float sin_rot = ImSin(rot); + for (int i = 0; i <= num_segments; i++) + { + const float a = a_min + ((float)i / (float)num_segments) * (a_max - a_min); + ImVec2 point(ImCos(a) * radius.x, ImSin(a) * radius.y); + const ImVec2 rel((point.x * cos_rot) - (point.y * sin_rot), (point.x * sin_rot) + (point.y * cos_rot)); + point.x = rel.x + center.x; + point.y = rel.y + center.y; + _Path.push_back(point); + } +} + +ImVec2 ImBezierCubicCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, float t) +{ + float u = 1.0f - t; + float w1 = u * u * u; + float w2 = 3 * u * u * t; + float w3 = 3 * u * t * t; + float w4 = t * t * t; + return ImVec2(w1 * p1.x + w2 * p2.x + w3 * p3.x + w4 * p4.x, w1 * p1.y + w2 * p2.y + w3 * p3.y + w4 * p4.y); +} + +ImVec2 ImBezierQuadraticCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, float t) +{ + float u = 1.0f - t; + float w1 = u * u; + float w2 = 2 * u * t; + float w3 = t * t; + return ImVec2(w1 * p1.x + w2 * p2.x + w3 * p3.x, w1 * p1.y + w2 * p2.y + w3 * p3.y); +} + +// Closely mimics ImBezierCubicClosestPointCasteljau() in imgui.cpp +static void PathBezierCubicCurveToCasteljau(ImVector* path, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float tess_tol, int level) +{ + float dx = x4 - x1; + float dy = y4 - y1; + float d2 = (x2 - x4) * dy - (y2 - y4) * dx; + float d3 = (x3 - x4) * dy - (y3 - y4) * dx; + d2 = (d2 >= 0) ? d2 : -d2; + d3 = (d3 >= 0) ? d3 : -d3; + if ((d2 + d3) * (d2 + d3) < tess_tol * (dx * dx + dy * dy)) + { + path->push_back(ImVec2(x4, y4)); + } + else if (level < 10) + { + float x12 = (x1 + x2) * 0.5f, y12 = (y1 + y2) * 0.5f; + float x23 = (x2 + x3) * 0.5f, y23 = (y2 + y3) * 0.5f; + float x34 = (x3 + x4) * 0.5f, y34 = (y3 + y4) * 0.5f; + float x123 = (x12 + x23) * 0.5f, y123 = (y12 + y23) * 0.5f; + float x234 = (x23 + x34) * 0.5f, y234 = (y23 + y34) * 0.5f; + float x1234 = (x123 + x234) * 0.5f, y1234 = (y123 + y234) * 0.5f; + PathBezierCubicCurveToCasteljau(path, x1, y1, x12, y12, x123, y123, x1234, y1234, tess_tol, level + 1); + PathBezierCubicCurveToCasteljau(path, x1234, y1234, x234, y234, x34, y34, x4, y4, tess_tol, level + 1); + } +} + +static void PathBezierQuadraticCurveToCasteljau(ImVector* path, float x1, float y1, float x2, float y2, float x3, float y3, float tess_tol, int level) +{ + float dx = x3 - x1, dy = y3 - y1; + float det = (x2 - x3) * dy - (y2 - y3) * dx; + if (det * det * 4.0f < tess_tol * (dx * dx + dy * dy)) + { + path->push_back(ImVec2(x3, y3)); + } + else if (level < 10) + { + float x12 = (x1 + x2) * 0.5f, y12 = (y1 + y2) * 0.5f; + float x23 = (x2 + x3) * 0.5f, y23 = (y2 + y3) * 0.5f; + float x123 = (x12 + x23) * 0.5f, y123 = (y12 + y23) * 0.5f; + PathBezierQuadraticCurveToCasteljau(path, x1, y1, x12, y12, x123, y123, tess_tol, level + 1); + PathBezierQuadraticCurveToCasteljau(path, x123, y123, x23, y23, x3, y3, tess_tol, level + 1); + } +} + +void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments) +{ + ImVec2 p1 = _Path.back(); + if (num_segments == 0) + { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); + PathBezierCubicCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, _Data->CurveTessellationTol, 0); // Auto-tessellated + } + else + { + float t_step = 1.0f / (float)num_segments; + for (int i_step = 1; i_step <= num_segments; i_step++) + _Path.push_back(ImBezierCubicCalc(p1, p2, p3, p4, t_step * i_step)); + } +} + +void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments) +{ + ImVec2 p1 = _Path.back(); + if (num_segments == 0) + { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); + PathBezierQuadraticCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, _Data->CurveTessellationTol, 0);// Auto-tessellated + } + else + { + float t_step = 1.0f / (float)num_segments; + for (int i_step = 1; i_step <= num_segments; i_step++) + _Path.push_back(ImBezierQuadraticCalc(p1, p2, p3, t_step * i_step)); + } +} + +static inline ImDrawFlags FixRectCornerFlags(ImDrawFlags flags) +{ + /* + IM_STATIC_ASSERT(ImDrawFlags_RoundCornersTopLeft == (1 << 4)); +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + // Obsoleted in 1.82 (from February 2021). This code was stripped/simplified and mostly commented in 1.90 (from September 2023) + // - Legacy Support for hard coded ~0 (used to be a suggested equivalent to ImDrawCornerFlags_All) + if (flags == ~0) { return ImDrawFlags_RoundCornersAll; } + // - Legacy Support for hard coded 0x01 to 0x0F (matching 15 out of 16 old flags combinations). Read details in older version of this code. + if (flags >= 0x01 && flags <= 0x0F) { return (flags << 4); } + // We cannot support hard coded 0x00 with 'float rounding > 0.0f' --> replace with ImDrawFlags_RoundCornersNone or use 'float rounding = 0.0f' +#endif + */ + // If this assert triggers, please update your code replacing hardcoded values with new ImDrawFlags_RoundCorners* values. + // Note that ImDrawFlags_Closed (== 0x01) is an invalid flag for AddRect(), AddRectFilled(), PathRect() etc. anyway. + // See details in 1.82 Changelog as well as 2021/03/12 and 2023/09/08 entries in "API BREAKING CHANGES" section. + IM_ASSERT((flags & 0x0F) == 0 && "Misuse of legacy hardcoded ImDrawCornerFlags values!"); + + if ((flags & ImDrawFlags_RoundCornersMask_) == 0) + flags |= ImDrawFlags_RoundCornersAll; + + return flags; +} + +void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, ImDrawFlags flags) +{ + if (rounding >= 0.5f) + { + flags = FixRectCornerFlags(flags); + rounding = ImMin(rounding, ImFabs(b.x - a.x) * (((flags & ImDrawFlags_RoundCornersTop) == ImDrawFlags_RoundCornersTop) || ((flags & ImDrawFlags_RoundCornersBottom) == ImDrawFlags_RoundCornersBottom) ? 0.5f : 1.0f) - 1.0f); + rounding = ImMin(rounding, ImFabs(b.y - a.y) * (((flags & ImDrawFlags_RoundCornersLeft) == ImDrawFlags_RoundCornersLeft) || ((flags & ImDrawFlags_RoundCornersRight) == ImDrawFlags_RoundCornersRight) ? 0.5f : 1.0f) - 1.0f); + } + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + { + PathLineTo(a); + PathLineTo(ImVec2(b.x, a.y)); + PathLineTo(b); + PathLineTo(ImVec2(a.x, b.y)); + } + else + { + const float rounding_tl = (flags & ImDrawFlags_RoundCornersTopLeft) ? rounding : 0.0f; + const float rounding_tr = (flags & ImDrawFlags_RoundCornersTopRight) ? rounding : 0.0f; + const float rounding_br = (flags & ImDrawFlags_RoundCornersBottomRight) ? rounding : 0.0f; + const float rounding_bl = (flags & ImDrawFlags_RoundCornersBottomLeft) ? rounding : 0.0f; + PathArcToFast(ImVec2(a.x + rounding_tl, a.y + rounding_tl), rounding_tl, 6, 9); + PathArcToFast(ImVec2(b.x - rounding_tr, a.y + rounding_tr), rounding_tr, 9, 12); + PathArcToFast(ImVec2(b.x - rounding_br, b.y - rounding_br), rounding_br, 0, 3); + PathArcToFast(ImVec2(a.x + rounding_bl, b.y - rounding_bl), rounding_bl, 3, 6); + } +} + +void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + PathLineTo(p1 + ImVec2(0.5f, 0.5f)); + PathLineTo(p2 + ImVec2(0.5f, 0.5f)); + PathStroke(col, 0, thickness); +} + +// p_min = upper-left, p_max = lower-right +// Note we don't render 1 pixels sized rectangles properly. +void ImDrawList::AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + if (Flags & ImDrawListFlags_AntiAliasedLines) + PathRect(p_min + ImVec2(0.50f, 0.50f), p_max - ImVec2(0.50f, 0.50f), rounding, flags); + else + PathRect(p_min + ImVec2(0.50f, 0.50f), p_max - ImVec2(0.49f, 0.49f), rounding, flags); // Better looking lower-right corner and rounded non-AA shapes. + PathStroke(col, ImDrawFlags_Closed, thickness); +} + +void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + { + PrimReserve(6, 4); + PrimRect(p_min, p_max, col); + } + else + { + PathRect(p_min, p_max, rounding, flags); + PathFillConvex(col); + } +} + +// p_min = upper-left, p_max = lower-right +void ImDrawList::AddRectFilledMultiColor(const ImVec2& p_min, const ImVec2& p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left) +{ + if (((col_upr_left | col_upr_right | col_bot_right | col_bot_left) & IM_COL32_A_MASK) == 0) + return; + + const ImVec2 uv = _Data->TexUvWhitePixel; + PrimReserve(6, 4); + PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 1)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 2)); + PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 2)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 3)); + PrimWriteVtx(p_min, uv, col_upr_left); + PrimWriteVtx(ImVec2(p_max.x, p_min.y), uv, col_upr_right); + PrimWriteVtx(p_max, uv, col_bot_right); + PrimWriteVtx(ImVec2(p_min.x, p_max.y), uv, col_bot_left); +} + +void ImDrawList::AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathLineTo(p2); + PathLineTo(p3); + PathLineTo(p4); + PathStroke(col, ImDrawFlags_Closed, thickness); +} + +void ImDrawList::AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathLineTo(p2); + PathLineTo(p3); + PathLineTo(p4); + PathFillConvex(col); +} + +void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathLineTo(p2); + PathLineTo(p3); + PathStroke(col, ImDrawFlags_Closed, thickness); +} + +void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathLineTo(p2); + PathLineTo(p3); + PathFillConvex(col); +} + +void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) + return; + + if (num_segments <= 0) + { + // Use arc with automatic segment count + _PathArcToFastEx(center, radius - 0.5f, 0, IM_DRAWLIST_ARCFAST_SAMPLE_MAX, 0); + _Path.Size--; + } + else + { + // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes) + num_segments = ImClamp(num_segments, 3, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX); + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments; + PathArcTo(center, radius - 0.5f, 0.0f, a_max, num_segments - 1); + } + + PathStroke(col, ImDrawFlags_Closed, thickness); +} + +void ImDrawList::AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments) +{ + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) + return; + + if (num_segments <= 0) + { + // Use arc with automatic segment count + _PathArcToFastEx(center, radius, 0, IM_DRAWLIST_ARCFAST_SAMPLE_MAX, 0); + _Path.Size--; + } + else + { + // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes) + num_segments = ImClamp(num_segments, 3, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX); + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments; + PathArcTo(center, radius, 0.0f, a_max, num_segments - 1); + } + + PathFillConvex(col); +} + +// Guaranteed to honor 'num_segments' +void ImDrawList::AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2) + return; + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments; + PathArcTo(center, radius - 0.5f, 0.0f, a_max, num_segments - 1); + PathStroke(col, ImDrawFlags_Closed, thickness); +} + +// Guaranteed to honor 'num_segments' +void ImDrawList::AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments) +{ + if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2) + return; + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments; + PathArcTo(center, radius, 0.0f, a_max, num_segments - 1); + PathFillConvex(col); +} + +// Ellipse +void ImDrawList::AddEllipse(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot, int num_segments, float thickness) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + if (num_segments <= 0) + num_segments = _CalcCircleAutoSegmentCount(ImMax(radius.x, radius.y)); // A bit pessimistic, maybe there's a better computation to do here. + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = IM_PI * 2.0f * ((float)num_segments - 1.0f) / (float)num_segments; + PathEllipticalArcTo(center, radius, rot, 0.0f, a_max, num_segments - 1); + PathStroke(col, true, thickness); +} + +void ImDrawList::AddEllipseFilled(const ImVec2& center, const ImVec2& radius, ImU32 col, float rot, int num_segments) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + if (num_segments <= 0) + num_segments = _CalcCircleAutoSegmentCount(ImMax(radius.x, radius.y)); // A bit pessimistic, maybe there's a better computation to do here. + + // Because we are filling a closed shape we remove 1 from the count of segments/points + const float a_max = IM_PI * 2.0f * ((float)num_segments - 1.0f) / (float)num_segments; + PathEllipticalArcTo(center, radius, rot, 0.0f, a_max, num_segments - 1); + PathFillConvex(col); +} + +// Cubic Bezier takes 4 controls points +void ImDrawList::AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathBezierCubicCurveTo(p2, p3, p4, num_segments); + PathStroke(col, 0, thickness); +} + +// Quadratic Bezier takes 3 controls points +void ImDrawList::AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + PathLineTo(p1); + PathBezierQuadraticCurveTo(p2, p3, num_segments); + PathStroke(col, 0, thickness); +} + +void ImDrawList::AddText(ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + // Accept null ranges + if (text_begin == text_end || text_begin[0] == 0) + return; + // No need to strlen() here: font->RenderText() will do it and may early out. + + // Pull default font/size from the shared ImDrawListSharedData instance + if (font == NULL) + font = _Data->Font; + if (font_size == 0.0f) + font_size = _Data->FontSize; + + IM_ASSERT(font->ContainerAtlas->TexID == _CmdHeader.TextureId); // Use high-level ImGui::PushFont() or low-level ImDrawList::PushTextureId() to change font. + + ImVec4 clip_rect = _CmdHeader.ClipRect; + if (cpu_fine_clip_rect) + { + clip_rect.x = ImMax(clip_rect.x, cpu_fine_clip_rect->x); + clip_rect.y = ImMax(clip_rect.y, cpu_fine_clip_rect->y); + clip_rect.z = ImMin(clip_rect.z, cpu_fine_clip_rect->z); + clip_rect.w = ImMin(clip_rect.w, cpu_fine_clip_rect->w); + } + font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip_rect != NULL); +} + +void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) +{ + AddText(_Data->Font, _Data->FontSize, pos, col, text_begin, text_end); +} + +void ImDrawList::AddImage(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + const bool push_texture_id = user_texture_id != _CmdHeader.TextureId; + if (push_texture_id) + PushTextureID(user_texture_id); + + PrimReserve(6, 4); + PrimRectUV(p_min, p_max, uv_min, uv_max, col); + + if (push_texture_id) + PopTextureID(); +} + +void ImDrawList::AddImageQuad(ImTextureID user_texture_id, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1, const ImVec2& uv2, const ImVec2& uv3, const ImVec2& uv4, ImU32 col) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + const bool push_texture_id = user_texture_id != _CmdHeader.TextureId; + if (push_texture_id) + PushTextureID(user_texture_id); + + PrimReserve(6, 4); + PrimQuadUV(p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + + if (push_texture_id) + PopTextureID(); +} + +void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags) +{ + if ((col & IM_COL32_A_MASK) == 0) + return; + + flags = FixRectCornerFlags(flags); + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + { + AddImage(user_texture_id, p_min, p_max, uv_min, uv_max, col); + return; + } + + const bool push_texture_id = user_texture_id != _CmdHeader.TextureId; + if (push_texture_id) + PushTextureID(user_texture_id); + + int vert_start_idx = VtxBuffer.Size; + PathRect(p_min, p_max, rounding, flags); + PathFillConvex(col); + int vert_end_idx = VtxBuffer.Size; + ImGui::ShadeVertsLinearUV(this, vert_start_idx, vert_end_idx, p_min, p_max, uv_min, uv_max, true); + + if (push_texture_id) + PopTextureID(); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImTriangulator, ImDrawList concave polygon fill +//----------------------------------------------------------------------------- +// Triangulate concave polygons. Based on "Triangulation by Ear Clipping" paper, O(N^2) complexity. +// Reference: https://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf +// Provided as a convenience for user but not used by main library. +//----------------------------------------------------------------------------- +// - ImTriangulator [Internal] +// - AddConcavePolyFilled() +//----------------------------------------------------------------------------- + +enum ImTriangulatorNodeType +{ + ImTriangulatorNodeType_Convex, + ImTriangulatorNodeType_Ear, + ImTriangulatorNodeType_Reflex +}; + +struct ImTriangulatorNode +{ + ImTriangulatorNodeType Type; + int Index; + ImVec2 Pos; + ImTriangulatorNode* Next; + ImTriangulatorNode* Prev; + + void Unlink() { Next->Prev = Prev; Prev->Next = Next; } +}; + +struct ImTriangulatorNodeSpan +{ + ImTriangulatorNode** Data = NULL; + int Size = 0; + + void push_back(ImTriangulatorNode* node) { Data[Size++] = node; } + void find_erase_unsorted(int idx) { for (int i = Size - 1; i >= 0; i--) if (Data[i]->Index == idx) { Data[i] = Data[Size - 1]; Size--; return; } } +}; + +struct ImTriangulator +{ + static int EstimateTriangleCount(int points_count) { return (points_count < 3) ? 0 : points_count - 2; } + static int EstimateScratchBufferSize(int points_count) { return sizeof(ImTriangulatorNode) * points_count + sizeof(ImTriangulatorNode*) * points_count * 2; } + + void Init(const ImVec2* points, int points_count, void* scratch_buffer); + void GetNextTriangle(unsigned int out_triangle[3]); // Return relative indexes for next triangle + + // Internal functions + void BuildNodes(const ImVec2* points, int points_count); + void BuildReflexes(); + void BuildEars(); + void FlipNodeList(); + bool IsEar(int i0, int i1, int i2, const ImVec2& v0, const ImVec2& v1, const ImVec2& v2) const; + void ReclassifyNode(ImTriangulatorNode* node); + + // Internal members + int _TrianglesLeft = 0; + ImTriangulatorNode* _Nodes = NULL; + ImTriangulatorNodeSpan _Ears; + ImTriangulatorNodeSpan _Reflexes; +}; + +// Distribute storage for nodes, ears and reflexes. +// FIXME-OPT: if everything is convex, we could report it to caller and let it switch to an convex renderer +// (this would require first building reflexes to bail to convex if empty, without even building nodes) +void ImTriangulator::Init(const ImVec2* points, int points_count, void* scratch_buffer) +{ + IM_ASSERT(scratch_buffer != NULL && points_count >= 3); + _TrianglesLeft = EstimateTriangleCount(points_count); + _Nodes = (ImTriangulatorNode*)scratch_buffer; // points_count x Node + _Ears.Data = (ImTriangulatorNode**)(_Nodes + points_count); // points_count x Node* + _Reflexes.Data = (ImTriangulatorNode**)(_Nodes + points_count) + points_count; // points_count x Node* + BuildNodes(points, points_count); + BuildReflexes(); + BuildEars(); +} + +void ImTriangulator::BuildNodes(const ImVec2* points, int points_count) +{ + for (int i = 0; i < points_count; i++) + { + _Nodes[i].Type = ImTriangulatorNodeType_Convex; + _Nodes[i].Index = i; + _Nodes[i].Pos = points[i]; + _Nodes[i].Next = _Nodes + i + 1; + _Nodes[i].Prev = _Nodes + i - 1; + } + _Nodes[0].Prev = _Nodes + points_count - 1; + _Nodes[points_count - 1].Next = _Nodes; +} + +void ImTriangulator::BuildReflexes() +{ + ImTriangulatorNode* n1 = _Nodes; + for (int i = _TrianglesLeft; i >= 0; i--, n1 = n1->Next) + { + if (ImTriangleIsClockwise(n1->Prev->Pos, n1->Pos, n1->Next->Pos)) + continue; + n1->Type = ImTriangulatorNodeType_Reflex; + _Reflexes.push_back(n1); + } +} + +void ImTriangulator::BuildEars() +{ + ImTriangulatorNode* n1 = _Nodes; + for (int i = _TrianglesLeft; i >= 0; i--, n1 = n1->Next) + { + if (n1->Type != ImTriangulatorNodeType_Convex) + continue; + if (!IsEar(n1->Prev->Index, n1->Index, n1->Next->Index, n1->Prev->Pos, n1->Pos, n1->Next->Pos)) + continue; + n1->Type = ImTriangulatorNodeType_Ear; + _Ears.push_back(n1); + } +} + +void ImTriangulator::GetNextTriangle(unsigned int out_triangle[3]) +{ + if (_Ears.Size == 0) + { + FlipNodeList(); + + ImTriangulatorNode* node = _Nodes; + for (int i = _TrianglesLeft; i >= 0; i--, node = node->Next) + node->Type = ImTriangulatorNodeType_Convex; + _Reflexes.Size = 0; + BuildReflexes(); + BuildEars(); + + // If we still don't have ears, it means geometry is degenerated. + if (_Ears.Size == 0) + { + // Return first triangle available, mimicking the behavior of convex fill. + IM_ASSERT(_TrianglesLeft > 0); // Geometry is degenerated + _Ears.Data[0] = _Nodes; + _Ears.Size = 1; + } + } + + ImTriangulatorNode* ear = _Ears.Data[--_Ears.Size]; + out_triangle[0] = ear->Prev->Index; + out_triangle[1] = ear->Index; + out_triangle[2] = ear->Next->Index; + + ear->Unlink(); + if (ear == _Nodes) + _Nodes = ear->Next; + + ReclassifyNode(ear->Prev); + ReclassifyNode(ear->Next); + _TrianglesLeft--; +} + +void ImTriangulator::FlipNodeList() +{ + ImTriangulatorNode* prev = _Nodes; + ImTriangulatorNode* temp = _Nodes; + ImTriangulatorNode* current = _Nodes->Next; + prev->Next = prev; + prev->Prev = prev; + while (current != _Nodes) + { + temp = current->Next; + + current->Next = prev; + prev->Prev = current; + _Nodes->Next = current; + current->Prev = _Nodes; + + prev = current; + current = temp; + } + _Nodes = prev; +} + +// A triangle is an ear is no other vertex is inside it. We can test reflexes vertices only (see reference algorithm) +bool ImTriangulator::IsEar(int i0, int i1, int i2, const ImVec2& v0, const ImVec2& v1, const ImVec2& v2) const +{ + ImTriangulatorNode** p_end = _Reflexes.Data + _Reflexes.Size; + for (ImTriangulatorNode** p = _Reflexes.Data; p < p_end; p++) + { + ImTriangulatorNode* reflex = *p; + if (reflex->Index != i0 && reflex->Index != i1 && reflex->Index != i2) + if (ImTriangleContainsPoint(v0, v1, v2, reflex->Pos)) + return false; + } + return true; +} + +void ImTriangulator::ReclassifyNode(ImTriangulatorNode* n1) +{ + // Classify node + ImTriangulatorNodeType type; + const ImTriangulatorNode* n0 = n1->Prev; + const ImTriangulatorNode* n2 = n1->Next; + if (!ImTriangleIsClockwise(n0->Pos, n1->Pos, n2->Pos)) + type = ImTriangulatorNodeType_Reflex; + else if (IsEar(n0->Index, n1->Index, n2->Index, n0->Pos, n1->Pos, n2->Pos)) + type = ImTriangulatorNodeType_Ear; + else + type = ImTriangulatorNodeType_Convex; + + // Update lists when a type changes + if (type == n1->Type) + return; + if (n1->Type == ImTriangulatorNodeType_Reflex) + _Reflexes.find_erase_unsorted(n1->Index); + else if (n1->Type == ImTriangulatorNodeType_Ear) + _Ears.find_erase_unsorted(n1->Index); + if (type == ImTriangulatorNodeType_Reflex) + _Reflexes.push_back(n1); + else if (type == ImTriangulatorNodeType_Ear) + _Ears.push_back(n1); + n1->Type = type; +} + +// Use ear-clipping algorithm to triangulate a simple polygon (no self-interaction, no holes). +// (Reminder: we don't perform any coarse clipping/culling in ImDrawList layer! +// It is up to caller to ensure not making costly calls that will be outside of visible area. +// As concave fill is noticeably more expensive than other primitives, be mindful of this... +// Caller can build AABB of points, and avoid filling if 'draw_list->_CmdHeader.ClipRect.Overlays(points_bb) == false') +void ImDrawList::AddConcavePolyFilled(const ImVec2* points, const int points_count, ImU32 col) +{ + if (points_count < 3 || (col & IM_COL32_A_MASK) == 0) + return; + + const ImVec2 uv = _Data->TexUvWhitePixel; + ImTriangulator triangulator; + unsigned int triangle[3]; + if (Flags & ImDrawListFlags_AntiAliasedFill) + { + // Anti-aliased Fill + const float AA_SIZE = _FringeScale; + const ImU32 col_trans = col & ~IM_COL32_A_MASK; + const int idx_count = (points_count - 2) * 3 + points_count * 6; + const int vtx_count = (points_count * 2); + PrimReserve(idx_count, vtx_count); + + // Add indexes for fill + unsigned int vtx_inner_idx = _VtxCurrentIdx; + unsigned int vtx_outer_idx = _VtxCurrentIdx + 1; + + _Data->TempBuffer.reserve_discard((ImTriangulator::EstimateScratchBufferSize(points_count) + sizeof(ImVec2)) / sizeof(ImVec2)); + triangulator.Init(points, points_count, _Data->TempBuffer.Data); + while (triangulator._TrianglesLeft > 0) + { + triangulator.GetNextTriangle(triangle); + _IdxWritePtr[0] = (ImDrawIdx)(vtx_inner_idx + (triangle[0] << 1)); _IdxWritePtr[1] = (ImDrawIdx)(vtx_inner_idx + (triangle[1] << 1)); _IdxWritePtr[2] = (ImDrawIdx)(vtx_inner_idx + (triangle[2] << 1)); + _IdxWritePtr += 3; + } + + // Compute normals + _Data->TempBuffer.reserve_discard(points_count); + ImVec2* temp_normals = _Data->TempBuffer.Data; + for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) + { + const ImVec2& p0 = points[i0]; + const ImVec2& p1 = points[i1]; + float dx = p1.x - p0.x; + float dy = p1.y - p0.y; + IM_NORMALIZE2F_OVER_ZERO(dx, dy); + temp_normals[i0].x = dy; + temp_normals[i0].y = -dx; + } + + for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) + { + // Average normals + const ImVec2& n0 = temp_normals[i0]; + const ImVec2& n1 = temp_normals[i1]; + float dm_x = (n0.x + n1.x) * 0.5f; + float dm_y = (n0.y + n1.y) * 0.5f; + IM_FIXNORMAL2F(dm_x, dm_y); + dm_x *= AA_SIZE * 0.5f; + dm_y *= AA_SIZE * 0.5f; + + // Add vertices + _VtxWritePtr[0].pos.x = (points[i1].x - dm_x); _VtxWritePtr[0].pos.y = (points[i1].y - dm_y); _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; // Inner + _VtxWritePtr[1].pos.x = (points[i1].x + dm_x); _VtxWritePtr[1].pos.y = (points[i1].y + dm_y); _VtxWritePtr[1].uv = uv; _VtxWritePtr[1].col = col_trans; // Outer + _VtxWritePtr += 2; + + // Add indexes for fringes + _IdxWritePtr[0] = (ImDrawIdx)(vtx_inner_idx + (i1 << 1)); _IdxWritePtr[1] = (ImDrawIdx)(vtx_inner_idx + (i0 << 1)); _IdxWritePtr[2] = (ImDrawIdx)(vtx_outer_idx + (i0 << 1)); + _IdxWritePtr[3] = (ImDrawIdx)(vtx_outer_idx + (i0 << 1)); _IdxWritePtr[4] = (ImDrawIdx)(vtx_outer_idx + (i1 << 1)); _IdxWritePtr[5] = (ImDrawIdx)(vtx_inner_idx + (i1 << 1)); + _IdxWritePtr += 6; + } + _VtxCurrentIdx += (ImDrawIdx)vtx_count; + } + else + { + // Non Anti-aliased Fill + const int idx_count = (points_count - 2) * 3; + const int vtx_count = points_count; + PrimReserve(idx_count, vtx_count); + for (int i = 0; i < vtx_count; i++) + { + _VtxWritePtr[0].pos = points[i]; _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; + _VtxWritePtr++; + } + _Data->TempBuffer.reserve_discard((ImTriangulator::EstimateScratchBufferSize(points_count) + sizeof(ImVec2)) / sizeof(ImVec2)); + triangulator.Init(points, points_count, _Data->TempBuffer.Data); + while (triangulator._TrianglesLeft > 0) + { + triangulator.GetNextTriangle(triangle); + _IdxWritePtr[0] = (ImDrawIdx)(_VtxCurrentIdx + triangle[0]); _IdxWritePtr[1] = (ImDrawIdx)(_VtxCurrentIdx + triangle[1]); _IdxWritePtr[2] = (ImDrawIdx)(_VtxCurrentIdx + triangle[2]); + _IdxWritePtr += 3; + } + _VtxCurrentIdx += (ImDrawIdx)vtx_count; + } +} + +//----------------------------------------------------------------------------- +// [SECTION] ImDrawList Shadow Primitives +//----------------------------------------------------------------------------- +// - AddSubtractedRect() [Internal] +// - ClipPolygonShape() [Internal] +// - AddSubtractedRect() [Internal] +// - AddRectShadow() +//----------------------------------------------------------------------------- + +// Adds a rectangle (A) with another rectangle (B) subtracted from it (i.e. the portion of A covered by B is not drawn). Does not handle rounded corners (use the version that takes a convex polygon for that). +static void AddSubtractedRect(ImDrawList* draw_list, const ImVec2& a_min, const ImVec2& a_max, const ImVec2& a_min_uv, const ImVec2& a_max_uv, ImVec2 b_min, ImVec2 b_max, ImU32 col) +{ + // Early out without drawing anything if A is zero-size + if (a_min.x >= a_max.x || a_min.y >= a_max.y) + return; + + // Early out without drawing anything if B covers A entirely + if (a_min.x >= b_min.x && a_max.x <= b_max.x && a_min.y >= b_min.y && a_max.y <= b_max.y) + return; + + // First clip the extents of B to A + b_min = ImMax(b_min, a_min); + b_max = ImMin(b_max, a_max); + if (b_min.x >= b_max.x || b_min.y >= b_max.y) + { + // B is entirely outside A, so just draw A as-is + draw_list->PrimReserve(6, 4); + draw_list->PrimRectUV(a_min, a_max, a_min_uv, a_max_uv, col); + return; + } + + // Otherwise we need to emit (up to) four quads to cover the visible area... + // Our layout looks like this (numbers are vertex indices, letters are quads): + // + // 0---8------9-----1 + // | | B | | + // + 4------5 + + // | A |xxxxxx| C | + // | |xxxxxx| | + // + 7------6 + + // | | D | | + // 3---11-----10----2 + + const int max_verts = 12; + const int max_indices = 6 * 4; // At most four quads + draw_list->PrimReserve(max_indices, max_verts); + + ImDrawIdx* idx_write = draw_list->_IdxWritePtr; + ImDrawVert* vtx_write = draw_list->_VtxWritePtr; + ImDrawIdx idx = (ImDrawIdx)draw_list->_VtxCurrentIdx; + + // Write vertices + vtx_write[0].pos = ImVec2(a_min.x, a_min.y); vtx_write[0].uv = ImVec2(a_min_uv.x, a_min_uv.y); vtx_write[0].col = col; + vtx_write[1].pos = ImVec2(a_max.x, a_min.y); vtx_write[1].uv = ImVec2(a_max_uv.x, a_min_uv.y); vtx_write[1].col = col; + vtx_write[2].pos = ImVec2(a_max.x, a_max.y); vtx_write[2].uv = ImVec2(a_max_uv.x, a_max_uv.y); vtx_write[2].col = col; + vtx_write[3].pos = ImVec2(a_min.x, a_max.y); vtx_write[3].uv = ImVec2(a_min_uv.x, a_max_uv.y); vtx_write[3].col = col; + + const ImVec2 pos_to_uv_scale = (a_max_uv - a_min_uv) / (a_max - a_min); // Guaranteed never to be a /0 because we check for zero-size A above + const ImVec2 pos_to_uv_offset = (a_min_uv / pos_to_uv_scale) - a_min; + + // Helper that generates an interpolated UV based on position +#define LERP_UV(x_pos, y_pos) (ImVec2(((x_pos) + pos_to_uv_offset.x) * pos_to_uv_scale.x, ((y_pos) + pos_to_uv_offset.y) * pos_to_uv_scale.y)) + vtx_write[4].pos = ImVec2(b_min.x, b_min.y); vtx_write[4].uv = LERP_UV(b_min.x, b_min.y); vtx_write[4].col = col; + vtx_write[5].pos = ImVec2(b_max.x, b_min.y); vtx_write[5].uv = LERP_UV(b_max.x, b_min.y); vtx_write[5].col = col; + vtx_write[6].pos = ImVec2(b_max.x, b_max.y); vtx_write[6].uv = LERP_UV(b_max.x, b_max.y); vtx_write[6].col = col; + vtx_write[7].pos = ImVec2(b_min.x, b_max.y); vtx_write[7].uv = LERP_UV(b_min.x, b_max.y); vtx_write[7].col = col; + vtx_write[8].pos = ImVec2(b_min.x, a_min.y); vtx_write[8].uv = LERP_UV(b_min.x, a_min.y); vtx_write[8].col = col; + vtx_write[9].pos = ImVec2(b_max.x, a_min.y); vtx_write[9].uv = LERP_UV(b_max.x, a_min.y); vtx_write[9].col = col; + vtx_write[10].pos = ImVec2(b_max.x, a_max.y); vtx_write[10].uv = LERP_UV(b_max.x, a_max.y); vtx_write[10].col = col; + vtx_write[11].pos = ImVec2(b_min.x, a_max.y); vtx_write[11].uv = LERP_UV(b_min.x, a_max.y); vtx_write[11].col = col; +#undef LERP_UV + draw_list->_VtxWritePtr += 12; + draw_list->_VtxCurrentIdx += 12; + + // Write indices for each quad (if it is visible) + if (b_min.x > a_min.x) // A + { + idx_write[0] = (ImDrawIdx)(idx + 0); idx_write[1] = (ImDrawIdx)(idx + 8); idx_write[2] = (ImDrawIdx)(idx + 11); + idx_write[3] = (ImDrawIdx)(idx + 0); idx_write[4] = (ImDrawIdx)(idx + 11); idx_write[5] = (ImDrawIdx)(idx + 3); + idx_write += 6; + } + if (b_min.y > a_min.y) // B + { + idx_write[0] = (ImDrawIdx)(idx + 8); idx_write[1] = (ImDrawIdx)(idx + 9); idx_write[2] = (ImDrawIdx)(idx + 5); + idx_write[3] = (ImDrawIdx)(idx + 8); idx_write[4] = (ImDrawIdx)(idx + 5); idx_write[5] = (ImDrawIdx)(idx + 4); + idx_write += 6; + } + if (a_max.x > b_max.x) // C + { + idx_write[0] = (ImDrawIdx)(idx + 9); idx_write[1] = (ImDrawIdx)(idx + 1); idx_write[2] = (ImDrawIdx)(idx + 2); + idx_write[3] = (ImDrawIdx)(idx + 9); idx_write[4] = (ImDrawIdx)(idx + 2); idx_write[5] = (ImDrawIdx)(idx + 10); + idx_write += 6; + } + if (a_max.y > b_max.y) // D + { + idx_write[0] = (ImDrawIdx)(idx + 7); idx_write[1] = (ImDrawIdx)(idx + 6); idx_write[2] = (ImDrawIdx)(idx + 10); + idx_write[3] = (ImDrawIdx)(idx + 7); idx_write[4] = (ImDrawIdx)(idx + 10); idx_write[5] = (ImDrawIdx)(idx + 11); + idx_write += 6; + } + + const int used_indices = (int)(idx_write - draw_list->_IdxWritePtr); + draw_list->_IdxWritePtr = idx_write; + draw_list->PrimUnreserve(max_indices - used_indices, 0); +} + +// Clip a polygonal shape to a rectangle, writing the results into dest_points. The number of points emitted is returned (may be zero if the polygon was entirely outside the rectangle, or the source polygon was not valid). dest_points may still be written to even if zero was returned. +// allocated_dest_points should contain the number of allocated points in dest_points - in general this should be the number of source points + 4 to accommodate the worst case. If this is exceeded data will be truncated and -1 returned. Stack space work area is allocated based on this value so it shouldn't be too large. +static int ClipPolygonShape(ImVec2* src_points, int num_src_points, ImVec2* dest_points, int allocated_dest_points, ImVec2 clip_rect_min, ImVec2 clip_rect_max) +{ + // Early-out with an empty result if clipping region is zero-sized + if (clip_rect_max.x <= clip_rect_min.x || clip_rect_max.y <= clip_rect_min.y) + return 0; + + // Early-out if there is no source geometry + if (num_src_points < 3) + return 0; + + // The four clip planes here are indexed as: + // 0 = X-, 1 = X+, 2 = Y-, 3 = Y+ + ImU8* outflags[2]; // Double-buffered flags for each vertex indicating which of the four clip planes it is outside of + outflags[0] = (ImU8*)alloca(2 * allocated_dest_points * sizeof(ImU8)); + outflags[1] = outflags[0] + allocated_dest_points; + + // Calculate initial outflags + ImU8 outflags_anded = 0xFF; + ImU8 outflags_ored = 0; + for (int point_idx = 0; point_idx < num_src_points; point_idx++) + { + const ImVec2 pos = src_points[point_idx]; + const ImU8 point_outflags = (pos.x < clip_rect_min.x ? 1 : 0) | (pos.x > clip_rect_max.x ? 2 : 0) | (pos.y < clip_rect_min.y ? 4 : 0) | (pos.y > clip_rect_max.y ? 8 : 0); + outflags[0][point_idx] = point_outflags; // Writing to buffer 0 + outflags_anded &= point_outflags; + outflags_ored |= point_outflags; + } + if (outflags_anded != 0) // Entirely clipped by any one plane, so nothing remains + return 0; + + if (outflags_ored == 0) // Entirely within bounds, so trivial accept + { + if (allocated_dest_points < num_src_points) + return -1; // Not sure what the caller was thinking if this happens, but we should handle it gracefully + + memcpy(dest_points, src_points, num_src_points * sizeof(ImVec2)); + return num_src_points; + } + + // Shape needs clipping + ImVec2* clip_buf[2]; // Double-buffered work area + clip_buf[0] = (ImVec2*)alloca(2 * allocated_dest_points * sizeof(ImVec2)); //-V630 + clip_buf[1] = clip_buf[0] + allocated_dest_points; + + memcpy(clip_buf[0], src_points, num_src_points * sizeof(ImVec2)); + int clip_buf_size = num_src_points; // Number of vertices currently in the clip buffer + + int read_buffer_idx = 0; // The index of the clip buffer/out-flags we are reading (0 or 1) + + for (int clip_plane = 0; clip_plane < 4; clip_plane++) // 0 = X-, 1 = X+, 2 = Y-, 3 = Y+ + { + const int clip_plane_bit = 1 << clip_plane; // Bit mask for our current plane in out-flags + if ((outflags_ored & clip_plane_bit) == 0) + continue; // All vertices are inside this plane, so no need to clip + + ImVec2* read_vert = &clip_buf[read_buffer_idx][0]; // Clip buffer vertex we are currently reading + ImVec2* write_vert = &clip_buf[1 - read_buffer_idx][0]; // Clip buffer vertex we are currently writing + ImVec2* write_vert_end = write_vert + allocated_dest_points; // End of the write buffer + ImU8* read_outflags = &outflags[read_buffer_idx][0]; // Out-flag we are currently reading + ImU8* write_outflags = &outflags[1 - read_buffer_idx][0]; // Out-flag we are currently writing + + // Keep track of the last vertex visited, initially the last in the list + ImVec2* last_vert = &read_vert[clip_buf_size - 1]; + ImU8 last_outflags = read_outflags[clip_buf_size - 1]; + + for (int vert = 0; vert < clip_buf_size; vert++) + { + ImU8 current_outflags = *(read_outflags++); + bool out = (current_outflags & clip_plane_bit) != 0; + if (((current_outflags ^ last_outflags) & clip_plane_bit) == 0) // We haven't crossed the clip plane + { + if (!out) + { + // Emit vertex as-is + if (write_vert >= write_vert_end) + return -1; // Ran out of buffer space, so abort + *(write_vert++) = *read_vert; + *(write_outflags++) = current_outflags; + } + } + else + { + // Emit a vertex at the intersection point + float t = 0.0f; + ImVec2 pos0 = *last_vert; + ImVec2 pos1 = *read_vert; + ImVec2 intersect_pos; + switch (clip_plane) + { + case 0: t = (clip_rect_min.x - pos0.x) / (pos1.x - pos0.x); intersect_pos = ImVec2(clip_rect_min.x, pos0.y + ((pos1.y - pos0.y) * t)); break; // X- + case 1: t = (clip_rect_max.x - pos0.x) / (pos1.x - pos0.x); intersect_pos = ImVec2(clip_rect_max.x, pos0.y + ((pos1.y - pos0.y) * t)); break; // X+ + case 2: t = (clip_rect_min.y - pos0.y) / (pos1.y - pos0.y); intersect_pos = ImVec2(pos0.x + ((pos1.x - pos0.x) * t), clip_rect_min.y); break; // Y- + case 3: t = (clip_rect_max.y - pos0.y) / (pos1.y - pos0.y); intersect_pos = ImVec2(pos0.x + ((pos1.x - pos0.x) * t), clip_rect_max.y); break; // Y+ + } + + if (write_vert >= write_vert_end) + return -1; // Ran out of buffer space, so abort + + // Write new out-flags for the vertex we just emitted + *(write_vert++) = intersect_pos; + *(write_outflags++) = (intersect_pos.x < clip_rect_min.x ? 1 : 0) | (intersect_pos.x > clip_rect_max.x ? 2 : 0) | (intersect_pos.y < clip_rect_min.y ? 4 : 0) | (intersect_pos.y > clip_rect_max.y ? 8 : 0); + + if (!out) + { + // When coming back in, also emit the actual vertex + if (write_vert >= write_vert_end) + return -1; // Ran out of buffer space, so abort + *(write_vert++) = *read_vert; + *(write_outflags++) = current_outflags; + } + + last_outflags = current_outflags; + } + + last_vert = read_vert; + read_vert++; // Advance to next vertex + } + + clip_buf_size = (int)(write_vert - &clip_buf[1 - read_buffer_idx][0]); // Update buffer size + read_buffer_idx = 1 - read_buffer_idx; // Swap buffers + } + + if (clip_buf_size < 3) + return 0; // Nothing to return + + // Copy results to output buffer, removing any redundant vertices + int num_out_verts = 0; + ImVec2 last_vert = clip_buf[read_buffer_idx][clip_buf_size - 1]; + for (int i = 0; i < clip_buf_size; i++) + { + ImVec2 vert = clip_buf[read_buffer_idx][i]; + if (ImLengthSqr(vert - last_vert) <= 0.00001f) + continue; + dest_points[num_out_verts++] = vert; + last_vert = vert; + } + + // Return size (IF this is still a valid shape) + return (num_out_verts > 2) ? num_out_verts : 0; +} + +// Adds a rectangle (A) with a convex shape (B) subtracted from it (i.e. the portion of A covered by B is not drawn). +static void AddSubtractedRect(ImDrawList* draw_list, const ImVec2& a_min, const ImVec2& a_max, const ImVec2& a_min_uv, const ImVec2& a_max_uv, ImVec2* b_points, int num_b_points, ImU32 col) +{ + // Early out without drawing anything if A is zero-size + if (a_min.x >= a_max.x || a_min.y >= a_max.y) + return; + + // First clip B to A + const int max_clipped_points = num_b_points + 4; + ImVec2* clipped_b_points = (ImVec2*)alloca(max_clipped_points * sizeof(ImVec2)); //-V630 + const int num_clipped_points = ClipPolygonShape(b_points, num_b_points, clipped_b_points, max_clipped_points, a_min, a_max); + IM_ASSERT(num_clipped_points >= 0); // -1 would indicate max_clipped_points was too small, which shouldn't happen + + b_points = clipped_b_points; + num_b_points = num_clipped_points; + + if (num_clipped_points == 0) + { + // B is entirely outside A, so just draw A as-is + draw_list->PrimReserve(6, 4); + draw_list->PrimRectUV(a_min, a_max, a_min_uv, a_max_uv, col); + } + else + { + // We need to generate clipped geometry + // To do this we walk the inner polygon and connect each edge to one of the four corners of our rectangle based on the quadrant their normal points at + const int max_verts = num_b_points + 4; // Inner points plus the four corners + const int max_indices = (num_b_points * 3) + (4 * 3); // Worst case is one triangle per inner edge and then four filler triangles + draw_list->PrimReserve(max_indices, max_verts); + + ImDrawIdx* idx_write = draw_list->_IdxWritePtr; + ImDrawVert* vtx_write = draw_list->_VtxWritePtr; + ImDrawIdx inner_idx = (ImDrawIdx)draw_list->_VtxCurrentIdx; // Starting index for inner vertices + + // Write inner vertices + const ImVec2 pos_to_uv_scale = (a_max_uv - a_min_uv) / (a_max - a_min); // Guaranteed never to be a /0 because we check for zero-size A above + const ImVec2 pos_to_uv_offset = (a_min_uv / pos_to_uv_scale) - a_min; + + // Helper that generates an interpolated UV based on position +#define LERP_UV(x_pos, y_pos) (ImVec2(((x_pos) + pos_to_uv_offset.x) * pos_to_uv_scale.x, ((y_pos) + pos_to_uv_offset.y) * pos_to_uv_scale.y)) + for (int i = 0; i < num_b_points; i++) + { + vtx_write[i].pos = b_points[i]; + vtx_write[i].uv = LERP_UV(b_points[i].x, b_points[i].y); + vtx_write[i].col = col; + } +#undef LERP_UV + + vtx_write += num_b_points; + + // Write outer vertices + ImDrawIdx outer_idx = (ImDrawIdx)(inner_idx + num_b_points); // Starting index for outer vertices + + ImVec2 outer_verts[4]; + outer_verts[0] = ImVec2(a_min.x, a_min.y); // X- Y- (quadrant 0, top left) + outer_verts[1] = ImVec2(a_max.x, a_min.y); // X+ Y- (quadrant 1, top right) + outer_verts[2] = ImVec2(a_max.x, a_max.y); // X+ Y+ (quadrant 2, bottom right) + outer_verts[3] = ImVec2(a_min.x, a_max.y); // X- Y+ (quadrant 3, bottom left) + + vtx_write[0].pos = outer_verts[0]; vtx_write[0].uv = ImVec2(a_min_uv.x, a_min_uv.y); vtx_write[0].col = col; + vtx_write[1].pos = outer_verts[1]; vtx_write[1].uv = ImVec2(a_max_uv.x, a_min_uv.y); vtx_write[1].col = col; + vtx_write[2].pos = outer_verts[2]; vtx_write[2].uv = ImVec2(a_max_uv.x, a_max_uv.y); vtx_write[2].col = col; + vtx_write[3].pos = outer_verts[3]; vtx_write[3].uv = ImVec2(a_min_uv.x, a_max_uv.y); vtx_write[3].col = col; + + draw_list->_VtxCurrentIdx += num_b_points + 4; + draw_list->_VtxWritePtr += num_b_points + 4; + + // Now walk the inner vertices in order + ImVec2 last_inner_vert = b_points[num_b_points - 1]; + int last_inner_vert_idx = num_b_points - 1; + int last_outer_vert_idx = -1; + int first_outer_vert_idx = -1; + + // Triangle-area based check for degenerate triangles + // Min area (0.1f) is doubled (* 2.0f) because we're calculating (area * 2) here +#define IS_DEGENERATE(a, b, c) (ImFabs((((a).x * ((b).y - (c).y)) + ((b).x * ((c).y - (a).y)) + ((c).x * ((a).y - (b).y)))) < (0.1f * 2.0f)) + + // Check the winding order of the inner vertices using the sign of the triangle area, and set the outer vertex winding to match + int outer_vertex_winding = (((b_points[0].x * (b_points[1].y - b_points[2].y)) + (b_points[1].x * (b_points[2].y - b_points[0].y)) + (b_points[2].x * (b_points[0].y - b_points[1].y))) < 0.0f) ? -1 : 1; + for (int inner_vert_idx = 0; inner_vert_idx < num_b_points; inner_vert_idx++) + { + ImVec2 current_inner_vert = b_points[inner_vert_idx]; + + // Calculate normal (not actually normalized, as for our purposes here it doesn't need to be) + ImVec2 normal(current_inner_vert.y - last_inner_vert.y, -(current_inner_vert.x - last_inner_vert.x)); + + // Calculate the outer vertex index based on the quadrant the normal points at (0=top left, 1=top right, 2=bottom right, 3=bottom left) + int outer_vert_idx = (ImFabs(normal.x) > ImFabs(normal.y)) ? ((normal.x >= 0.0f) ? ((normal.y > 0.0f) ? 2 : 1) : ((normal.y > 0.0f) ? 3 : 0)) : ((normal.y >= 0.0f) ? ((normal.x > 0.0f) ? 2 : 3) : ((normal.x > 0.0f) ? 1 : 0)); + ImVec2 outer_vert = outer_verts[outer_vert_idx]; + + // Write the main triangle (connecting the inner edge to the corner) + if (!IS_DEGENERATE(last_inner_vert, current_inner_vert, outer_vert)) + { + idx_write[0] = (ImDrawIdx)(inner_idx + last_inner_vert_idx); + idx_write[1] = (ImDrawIdx)(inner_idx + inner_vert_idx); + idx_write[2] = (ImDrawIdx)(outer_idx + outer_vert_idx); + idx_write += 3; + } + + // We don't initially know which outer vertex we are going to start from, so set that here when processing the first inner vertex + if (first_outer_vert_idx == -1) + { + first_outer_vert_idx = outer_vert_idx; + last_outer_vert_idx = outer_vert_idx; + } + + // Now walk the outer edge and write any filler triangles needed (connecting outer edges to the inner vertex) + while (outer_vert_idx != last_outer_vert_idx) + { + int next_outer_vert_idx = (last_outer_vert_idx + outer_vertex_winding) & 3; + if (!IS_DEGENERATE(outer_verts[last_outer_vert_idx], outer_verts[next_outer_vert_idx], last_inner_vert)) + { + idx_write[0] = (ImDrawIdx)(outer_idx + last_outer_vert_idx); + idx_write[1] = (ImDrawIdx)(outer_idx + next_outer_vert_idx); + idx_write[2] = (ImDrawIdx)(inner_idx + last_inner_vert_idx); + idx_write += 3; + } + last_outer_vert_idx = next_outer_vert_idx; + } + + last_inner_vert = current_inner_vert; + last_inner_vert_idx = inner_vert_idx; + } + + // Write remaining filler triangles for any un-traversed outer edges + if (first_outer_vert_idx != -1) + { + while (first_outer_vert_idx != last_outer_vert_idx) + { + int next_outer_vert_idx = (last_outer_vert_idx + outer_vertex_winding) & 3; + if (!IS_DEGENERATE(outer_verts[last_outer_vert_idx], outer_verts[next_outer_vert_idx], last_inner_vert)) + { + idx_write[0] = (ImDrawIdx)(outer_idx + last_outer_vert_idx); + idx_write[1] = (ImDrawIdx)(outer_idx + next_outer_vert_idx); + idx_write[2] = (ImDrawIdx)(inner_idx + last_inner_vert_idx); + idx_write += 3; + } + last_outer_vert_idx = next_outer_vert_idx; + } + } +#undef IS_DEGENERATE + + int used_indices = (int)(idx_write - draw_list->_IdxWritePtr); + draw_list->_IdxWritePtr = idx_write; + draw_list->PrimUnreserve(max_indices - used_indices, 0); + } +} + +void ImDrawList::AddShadowRect(const ImVec2& obj_min, const ImVec2& obj_max, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags, float obj_rounding) +{ + if ((shadow_col & IM_COL32_A_MASK) == 0) + return; + + ImVec2* inner_rect_points = NULL; // Points that make up the shape of the inner rectangle (used when it has rounded corners) + int inner_rect_points_count = 0; + + // Generate a path describing the inner rectangle and copy it to our buffer + const bool is_filled = (flags & ImDrawFlags_ShadowCutOutShapeBackground) == 0; + const bool is_rounded = (obj_rounding > 0.0f) && ((flags & ImDrawFlags_RoundCornersMask_) != ImDrawFlags_RoundCornersNone); // Do we have rounded corners? + if (is_rounded && !is_filled) + { + IM_ASSERT(_Path.Size == 0); + PathRect(obj_min, obj_max, obj_rounding, flags); + inner_rect_points_count = _Path.Size; + inner_rect_points = (ImVec2*)alloca(inner_rect_points_count * sizeof(ImVec2)); //-V630 + memcpy(inner_rect_points, _Path.Data, inner_rect_points_count * sizeof(ImVec2)); + _Path.Size = 0; + } + + if (is_filled) + PrimReserve(6 * 9, 4 * 9); // Reserve space for adding unclipped chunks + + // Draw the relevant chunks of the texture (the texture is split into a 3x3 grid) + // FIXME-OPT: Might make sense to optimize/unroll for the fast paths (filled or not rounded) + for (int x = 0; x < 3; x++) + { + for (int y = 0; y < 3; y++) + { + const int uv_index = x + (y + y + y); // y*3 formatted so as to ensure the compiler avoids an actual multiply + const ImVec4 uvs = _Data->ShadowRectUvs[uv_index]; + + ImVec2 draw_min, draw_max; + switch (x) + { + case 0: draw_min.x = obj_min.x - shadow_thickness; draw_max.x = obj_min.x; break; + case 1: draw_min.x = obj_min.x; draw_max.x = obj_max.x; break; + case 2: draw_min.x = obj_max.x; draw_max.x = obj_max.x + shadow_thickness; break; + } + switch (y) + { + case 0: draw_min.y = obj_min.y - shadow_thickness; draw_max.y = obj_min.y; break; + case 1: draw_min.y = obj_min.y; draw_max.y = obj_max.y; break; + case 2: draw_min.y = obj_max.y; draw_max.y = obj_max.y + shadow_thickness; break; + } + + ImVec2 uv_min(uvs.x, uvs.y); + ImVec2 uv_max(uvs.z, uvs.w); + if (is_filled) + PrimRectUV(draw_min + shadow_offset, draw_max + shadow_offset, uv_min, uv_max, shadow_col); // No clipping path (draw entire shadow) + else if (is_rounded) + AddSubtractedRect(this, draw_min + shadow_offset, draw_max + shadow_offset, uv_min, uv_max, inner_rect_points, inner_rect_points_count, shadow_col); // Complex path for rounded rectangles + else + AddSubtractedRect(this, draw_min + shadow_offset, draw_max + shadow_offset, uv_min, uv_max, obj_min, obj_max, shadow_col); // Simple fast path for non-rounded rectangles + } + } +} + +// Add a shadow for a convex shape described by points and num_points +void ImDrawList::AddShadowConvexPoly(const ImVec2* points, int points_count, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags) +{ + const bool is_filled = (flags & ImDrawFlags_ShadowCutOutShapeBackground) == 0; + IM_ASSERT((is_filled || (ImLengthSqr(shadow_offset) < 0.00001f)) && "Drawing circle/convex shape shadows with no center fill and an offset is not currently supported"); + IM_ASSERT(points_count >= 3); + + // Calculate poly vertex order + const int vertex_winding = (((points[0].x * (points[1].y - points[2].y)) + (points[1].x * (points[2].y - points[0].y)) + (points[2].x * (points[0].y - points[1].y))) < 0.0f) ? -1 : 1; + + // If we're using anti-aliasing, then inset the shadow by 0.5 pixels to avoid unpleasant fringing artifacts + const bool use_inset_distance = (Flags & ImDrawListFlags_AntiAliasedFill) && (!is_filled); + const float inset_distance = 0.5f; + + const ImVec4 uvs = _Data->ShadowRectUvs[9]; + + int tex_width = _Data->Font->ContainerAtlas->TexWidth; + int tex_height = _Data->Font->ContainerAtlas->TexHeight; + float inv_tex_width = 1.0f / (float)tex_width; + float inv_tex_height = 1.0f / (float)tex_height; + + ImVec2 solid_uv = ImVec2(uvs.z, uvs.w); // UV at the inside of an edge + ImVec2 edge_uv = ImVec2(uvs.x, uvs.w); // UV at the outside of an edge + + ImVec2 solid_to_edge_delta_texels = edge_uv - solid_uv; // Delta between the solid/edge points in texel-space (we need this in pixels - or, to be more precise, to be at a 1:1 aspect ratio - for the rotation to work) + solid_to_edge_delta_texels.x *= (float)tex_width; + solid_to_edge_delta_texels.y *= (float)tex_height; + + // Our basic algorithm here is that we generate a straight section along each edge, and then either one or two curved corner triangles at the corners, + // which use an appropriate chunk of the texture to generate a smooth curve. + const int num_edges = points_count; + + // Normalize a vector +#define NORMALIZE(vec) ((vec) / ImLength((vec), 0.001f)) + + const int required_stack_mem = (num_edges * sizeof(ImVec2)) + (num_edges * sizeof(float)); + ImU8* base_mem_for_normals_and_edges = (ImU8*)alloca(required_stack_mem); + ImU8* mem_for_normals_and_edges = (ImU8*)base_mem_for_normals_and_edges; + + // Calculate edge normals + ImVec2* edge_normals = (ImVec2*)(void*)mem_for_normals_and_edges; + mem_for_normals_and_edges += num_edges * sizeof(ImVec2); + + for (int edge_index = 0; edge_index < num_edges; edge_index++) + { + ImVec2 edge_start = points[edge_index]; // No need to apply offset here because the normal is unaffected + ImVec2 edge_end = points[(edge_index + 1) % num_edges]; + ImVec2 edge_normal = NORMALIZE(ImVec2(edge_end.y - edge_start.y, -(edge_end.x - edge_start.x))); + edge_normals[edge_index] = edge_normal * (float)vertex_winding; // Flip normals for reverse winding + } + + // Pre-calculate edge scales + // We need to do this because we need the edge strips to have widths that match up with the corner sections, otherwise pixel cracking can occur along the boundaries + float* edge_size_scales = (float*)(void*)mem_for_normals_and_edges; + mem_for_normals_and_edges += num_edges * sizeof(float); + IM_ASSERT_PARANOID(mem_for_normals_and_edges == (base_mem_for_normals_and_edges + required_stack_mem)); // Check we used exactly what we allocated + + { + ImVec2 prev_edge_normal = edge_normals[num_edges - 1]; + for (int edge_index = 0; edge_index < num_edges; edge_index++) + { + ImVec2 edge_normal = edge_normals[edge_index]; + float cos_angle_coverage = ImDot(edge_normal, prev_edge_normal); + + if (cos_angle_coverage < 0.999999f) + { + // If we are covering more than 90 degrees we need an intermediate vertex to stop the required expansion tending towards infinity. + // And thus the effective angle will be halved (matches the similar code in loop below) + float angle_coverage = ImAcos(cos_angle_coverage); + if (cos_angle_coverage <= 0.0f) // -V1051 + angle_coverage *= 0.5f; + edge_size_scales[edge_index] = 1.0f / ImCos(angle_coverage * 0.5f); // How much we need to expand our size by to avoid clipping the corner of the texture off + } + else + { + edge_size_scales[edge_index] = 1.0f; // No corner, thus default scale + } + + prev_edge_normal = edge_normal; + } + } + + const int max_vertices = (4 + (3 * 2) + (is_filled ? 1 : 0)) * num_edges; // 4 vertices per edge plus 3*2 for potentially two corner triangles, plus one per vertex for fill + const int max_indices = ((6 + (3 * 2)) * num_edges) + (is_filled ? ((num_edges - 2) * 3) : 0); // 2 tris per edge plus up to two corner triangles, plus fill triangles + PrimReserve(max_indices, max_vertices); + ImDrawIdx* idx_write = _IdxWritePtr; + ImDrawVert* vtx_write = _VtxWritePtr; + ImDrawIdx current_idx = (ImDrawIdx)_VtxCurrentIdx; + + //ImVec2 previous_edge_start = points[0] + offset; + ImVec2 prev_edge_normal = edge_normals[num_edges - 1]; + ImVec2 edge_start = points[0] + shadow_offset; + + if (use_inset_distance) + edge_start -= NORMALIZE(edge_normals[0] + prev_edge_normal) * inset_distance; + + for (int edge_index = 0; edge_index < num_edges; edge_index++) + { + ImVec2 edge_end = points[(edge_index + 1) % num_edges] + shadow_offset; + ImVec2 edge_normal = edge_normals[edge_index]; + const float size_scale_start = edge_size_scales[edge_index]; + const float size_scale_end = edge_size_scales[(edge_index + 1) % num_edges]; + + if (use_inset_distance) + edge_end -= NORMALIZE(edge_normals[(edge_index + 1) % num_edges] + edge_normal) * inset_distance; + + // Add corner section + float cos_angle_coverage = ImDot(edge_normal, prev_edge_normal); + if (cos_angle_coverage < 0.999999f) // Don't fill if the corner is actually straight + { + // If we are covering more than 90 degrees we need an intermediate vertex to stop the required expansion tending towards infinity. + // And thus the effective angle has been halved (matches the similar code in loop above) + int num_steps = (cos_angle_coverage <= 0.0f) ? 2 : 1; + + for (int step = 0; step < num_steps; step++) + { + if (num_steps > 1) + { + if (step == 0) + edge_normal = NORMALIZE(edge_normal + prev_edge_normal); // Use half-way normal for first step + else + edge_normal = edge_normals[edge_index]; // Then use the "real" next edge normal for the second + + cos_angle_coverage = ImDot(edge_normal, prev_edge_normal); // Recalculate angle + } + + // Calculate UV for the section of the curved texture + + const float angle_coverage = ImAcos(cos_angle_coverage); + const float sin_angle_coverage = ImSin(angle_coverage); + + ImVec2 edge_delta = solid_to_edge_delta_texels; + edge_delta *= size_scale_start; + + ImVec2 rotated_edge_delta = ImVec2((edge_delta.x * cos_angle_coverage) + (edge_delta.y * sin_angle_coverage), (edge_delta.x * sin_angle_coverage) + (edge_delta.y * cos_angle_coverage)); + + // Convert from texels back into UV space + edge_delta.x *= inv_tex_width; + edge_delta.y *= inv_tex_height; + rotated_edge_delta.x *= inv_tex_width; + rotated_edge_delta.y *= inv_tex_height; + + ImVec2 expanded_edge_uv = solid_uv + edge_delta; + ImVec2 other_edge_uv = solid_uv + rotated_edge_delta; // Rotated UV to encompass the necessary section of the curve + + float expanded_thickness = shadow_thickness * size_scale_start; + + // Add a triangle to fill the corner + ImVec2 outer_edge_start = edge_start + (prev_edge_normal * expanded_thickness); + ImVec2 outer_edge_end = edge_start + (edge_normal * expanded_thickness); + + vtx_write->pos = edge_start; vtx_write->col = shadow_col; vtx_write->uv = solid_uv; vtx_write++; + vtx_write->pos = outer_edge_end; vtx_write->col = shadow_col; vtx_write->uv = expanded_edge_uv; vtx_write++; + vtx_write->pos = outer_edge_start; vtx_write->col = shadow_col; vtx_write->uv = other_edge_uv; vtx_write++; + + *(idx_write++) = current_idx; + *(idx_write++) = current_idx + 1; + *(idx_write++) = current_idx + 2; + current_idx += 3; + + prev_edge_normal = edge_normal; + } + } + + // Add section along edge + const float edge_length = ImLength(edge_end - edge_start, 0.0f); + if (edge_length > 0.00001f) // Don't try and process degenerate edges + { + ImVec2 outer_edge_start = edge_start + (edge_normal * shadow_thickness * size_scale_start); + ImVec2 outer_edge_end = edge_end + (edge_normal * shadow_thickness * size_scale_end); + ImVec2 scaled_edge_uv_start = solid_uv + ((edge_uv - solid_uv) * size_scale_start); + ImVec2 scaled_edge_uv_end = solid_uv + ((edge_uv - solid_uv) * size_scale_end); + + // Write vertices, inner first, then outer + vtx_write->pos = edge_start; vtx_write->col = shadow_col; vtx_write->uv = solid_uv; vtx_write++; + vtx_write->pos = edge_end; vtx_write->col = shadow_col; vtx_write->uv = solid_uv; vtx_write++; + vtx_write->pos = outer_edge_end; vtx_write->col = shadow_col; vtx_write->uv = scaled_edge_uv_end; vtx_write++; + vtx_write->pos = outer_edge_start; vtx_write->col = shadow_col; vtx_write->uv = scaled_edge_uv_start; vtx_write++; + + *(idx_write++) = current_idx; + *(idx_write++) = current_idx + 1; + *(idx_write++) = current_idx + 2; + *(idx_write++) = current_idx; + *(idx_write++) = current_idx + 2; + *(idx_write++) = current_idx + 3; + current_idx += 4; + } + + edge_start = edge_end; + } + + // Fill if requested + if (is_filled) + { + // Add vertices + for (int edge_index = 0; edge_index < num_edges; edge_index++) + { + vtx_write->pos = points[edge_index] + shadow_offset; + vtx_write->col = shadow_col; + vtx_write->uv = solid_uv; + vtx_write++; + } + + // Add triangles + for (int edge_index = 2; edge_index < num_edges; edge_index++) + { + *(idx_write++) = current_idx; + *(idx_write++) = (ImDrawIdx)(current_idx + edge_index - 1); + *(idx_write++) = (ImDrawIdx)(current_idx + edge_index); + } + + current_idx += (ImDrawIdx)num_edges; + } + + // Release any unused vertices/indices + int used_indices = (int)(idx_write - _IdxWritePtr); + int used_vertices = (int)(vtx_write - _VtxWritePtr); + _IdxWritePtr = idx_write; + _VtxWritePtr = vtx_write; + _VtxCurrentIdx = current_idx; + PrimUnreserve(max_indices - used_indices, max_vertices - used_vertices); +#undef NORMALIZE +} + +// Draw a shadow for a circular object +// Uses the draw path and so wipes any existing data there +void ImDrawList::AddShadowCircle(const ImVec2& obj_center, float obj_radius, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags, int num_segments) +{ + // Obtain segment count + if (num_segments <= 0) + { + // Automatic segment count + const int radius_idx = (int)obj_radius - 1; + if (radius_idx < IM_ARRAYSIZE(_Data->CircleSegmentCounts)) + num_segments = _Data->CircleSegmentCounts[radius_idx]; // Use cached value + else + num_segments = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(obj_radius, _Data->CircleSegmentMaxError); + } + else + { + // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes) + num_segments = ImClamp(num_segments, 3, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX); + } + + // Generate a path describing the inner circle and copy it to our buffer + IM_ASSERT(_Path.Size == 0); + const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments; + if (num_segments == 12) + PathArcToFast(obj_center, obj_radius, 0, 12 - 1); + else + PathArcTo(obj_center, obj_radius, 0.0f, a_max, num_segments - 1); + + // Draw the shadow using the convex shape code + AddShadowConvexPoly(_Path.Data, _Path.Size, shadow_col, shadow_thickness, shadow_offset, flags); + _Path.Size = 0; +} + +void ImDrawList::AddShadowNGon(const ImVec2& obj_center, float obj_radius, ImU32 shadow_col, float shadow_thickness, const ImVec2& shadow_offset, ImDrawFlags flags, int num_segments) +{ + IM_ASSERT(num_segments != 0); + AddShadowCircle(obj_center, obj_radius, shadow_col, shadow_thickness, shadow_offset, flags, num_segments); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImDrawListSplitter +//----------------------------------------------------------------------------- +// FIXME: This may be a little confusing, trying to be a little too low-level/optimal instead of just doing vector swap.. +//----------------------------------------------------------------------------- + +void ImDrawListSplitter::ClearFreeMemory() +{ + for (int i = 0; i < _Channels.Size; i++) + { + if (i == _Current) + memset(&_Channels[i], 0, sizeof(_Channels[i])); // Current channel is a copy of CmdBuffer/IdxBuffer, don't destruct again + _Channels[i]._CmdBuffer.clear(); + _Channels[i]._IdxBuffer.clear(); + } + _Current = 0; + _Count = 1; + _Channels.clear(); +} + +void ImDrawListSplitter::Split(ImDrawList* draw_list, int channels_count) +{ + IM_UNUSED(draw_list); + IM_ASSERT(_Current == 0 && _Count <= 1 && "Nested channel splitting is not supported. Please use separate instances of ImDrawListSplitter."); + int old_channels_count = _Channels.Size; + if (old_channels_count < channels_count) + { + _Channels.reserve(channels_count); // Avoid over reserving since this is likely to stay stable + _Channels.resize(channels_count); + } + _Count = channels_count; + + // Channels[] (24/32 bytes each) hold storage that we'll swap with draw_list->_CmdBuffer/_IdxBuffer + // The content of Channels[0] at this point doesn't matter. We clear it to make state tidy in a debugger but we don't strictly need to. + // When we switch to the next channel, we'll copy draw_list->_CmdBuffer/_IdxBuffer into Channels[0] and then Channels[1] into draw_list->CmdBuffer/_IdxBuffer + memset(&_Channels[0], 0, sizeof(ImDrawChannel)); + for (int i = 1; i < channels_count; i++) + { + if (i >= old_channels_count) + { + IM_PLACEMENT_NEW(&_Channels[i]) ImDrawChannel(); + } + else + { + _Channels[i]._CmdBuffer.resize(0); + _Channels[i]._IdxBuffer.resize(0); + } + } +} + +void ImDrawListSplitter::Merge(ImDrawList* draw_list) +{ + // Note that we never use or rely on _Channels.Size because it is merely a buffer that we never shrink back to 0 to keep all sub-buffers ready for use. + if (_Count <= 1) + return; + + SetCurrentChannel(draw_list, 0); + draw_list->_PopUnusedDrawCmd(); + + // Calculate our final buffer sizes. Also fix the incorrect IdxOffset values in each command. + int new_cmd_buffer_count = 0; + int new_idx_buffer_count = 0; + ImDrawCmd* last_cmd = (_Count > 0 && draw_list->CmdBuffer.Size > 0) ? &draw_list->CmdBuffer.back() : NULL; + int idx_offset = last_cmd ? last_cmd->IdxOffset + last_cmd->ElemCount : 0; + for (int i = 1; i < _Count; i++) + { + ImDrawChannel& ch = _Channels[i]; + if (ch._CmdBuffer.Size > 0 && ch._CmdBuffer.back().ElemCount == 0 && ch._CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() + ch._CmdBuffer.pop_back(); + + if (ch._CmdBuffer.Size > 0 && last_cmd != NULL) + { + // Do not include ImDrawCmd_AreSequentialIdxOffset() in the compare as we rebuild IdxOffset values ourselves. + // Manipulating IdxOffset (e.g. by reordering draw commands like done by RenderDimmedBackgroundBehindWindow()) is not supported within a splitter. + ImDrawCmd* next_cmd = &ch._CmdBuffer[0]; + if (ImDrawCmd_HeaderCompare(last_cmd, next_cmd) == 0 && last_cmd->UserCallback == NULL && next_cmd->UserCallback == NULL) + { + // Merge previous channel last draw command with current channel first draw command if matching. + last_cmd->ElemCount += next_cmd->ElemCount; + idx_offset += next_cmd->ElemCount; + ch._CmdBuffer.erase(ch._CmdBuffer.Data); // FIXME-OPT: Improve for multiple merges. + } + } + if (ch._CmdBuffer.Size > 0) + last_cmd = &ch._CmdBuffer.back(); + new_cmd_buffer_count += ch._CmdBuffer.Size; + new_idx_buffer_count += ch._IdxBuffer.Size; + for (int cmd_n = 0; cmd_n < ch._CmdBuffer.Size; cmd_n++) + { + ch._CmdBuffer.Data[cmd_n].IdxOffset = idx_offset; + idx_offset += ch._CmdBuffer.Data[cmd_n].ElemCount; + } + } + draw_list->CmdBuffer.resize(draw_list->CmdBuffer.Size + new_cmd_buffer_count); + draw_list->IdxBuffer.resize(draw_list->IdxBuffer.Size + new_idx_buffer_count); + + // Write commands and indices in order (they are fairly small structures, we don't copy vertices only indices) + ImDrawCmd* cmd_write = draw_list->CmdBuffer.Data + draw_list->CmdBuffer.Size - new_cmd_buffer_count; + ImDrawIdx* idx_write = draw_list->IdxBuffer.Data + draw_list->IdxBuffer.Size - new_idx_buffer_count; + for (int i = 1; i < _Count; i++) + { + ImDrawChannel& ch = _Channels[i]; + if (int sz = ch._CmdBuffer.Size) { memcpy(cmd_write, ch._CmdBuffer.Data, sz * sizeof(ImDrawCmd)); cmd_write += sz; } + if (int sz = ch._IdxBuffer.Size) { memcpy(idx_write, ch._IdxBuffer.Data, sz * sizeof(ImDrawIdx)); idx_write += sz; } + } + draw_list->_IdxWritePtr = idx_write; + + // Ensure there's always a non-callback draw command trailing the command-buffer + if (draw_list->CmdBuffer.Size == 0 || draw_list->CmdBuffer.back().UserCallback != NULL) + draw_list->AddDrawCmd(); + + // If current command is used with different settings we need to add a new command + ImDrawCmd* curr_cmd = &draw_list->CmdBuffer.Data[draw_list->CmdBuffer.Size - 1]; + if (curr_cmd->ElemCount == 0) + ImDrawCmd_HeaderCopy(curr_cmd, &draw_list->_CmdHeader); // Copy ClipRect, TextureId, VtxOffset + else if (ImDrawCmd_HeaderCompare(curr_cmd, &draw_list->_CmdHeader) != 0) + draw_list->AddDrawCmd(); + + _Count = 1; +} + +void ImDrawListSplitter::SetCurrentChannel(ImDrawList* draw_list, int idx) +{ + IM_ASSERT(idx >= 0 && idx < _Count); + if (_Current == idx) + return; + + // Overwrite ImVector (12/16 bytes), four times. This is merely a silly optimization instead of doing .swap() + memcpy(&_Channels.Data[_Current]._CmdBuffer, &draw_list->CmdBuffer, sizeof(draw_list->CmdBuffer)); + memcpy(&_Channels.Data[_Current]._IdxBuffer, &draw_list->IdxBuffer, sizeof(draw_list->IdxBuffer)); + _Current = idx; + memcpy(&draw_list->CmdBuffer, &_Channels.Data[idx]._CmdBuffer, sizeof(draw_list->CmdBuffer)); + memcpy(&draw_list->IdxBuffer, &_Channels.Data[idx]._IdxBuffer, sizeof(draw_list->IdxBuffer)); + draw_list->_IdxWritePtr = draw_list->IdxBuffer.Data + draw_list->IdxBuffer.Size; + + // If current command is used with different settings we need to add a new command + ImDrawCmd* curr_cmd = (draw_list->CmdBuffer.Size == 0) ? NULL : &draw_list->CmdBuffer.Data[draw_list->CmdBuffer.Size - 1]; + if (curr_cmd == NULL) + draw_list->AddDrawCmd(); + else if (curr_cmd->ElemCount == 0) + ImDrawCmd_HeaderCopy(curr_cmd, &draw_list->_CmdHeader); // Copy ClipRect, TextureId, VtxOffset + else if (ImDrawCmd_HeaderCompare(curr_cmd, &draw_list->_CmdHeader) != 0) + draw_list->AddDrawCmd(); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImDrawData +//----------------------------------------------------------------------------- + +void ImDrawData::Clear() +{ + Valid = false; + CmdListsCount = TotalIdxCount = TotalVtxCount = 0; + CmdLists.resize(0); // The ImDrawList are NOT owned by ImDrawData but e.g. by ImGuiContext, so we don't clear them. + DisplayPos = DisplaySize = FramebufferScale = ImVec2(0.0f, 0.0f); + OwnerViewport = NULL; +} + +// Important: 'out_list' is generally going to be draw_data->CmdLists, but may be another temporary list +// as long at it is expected that the result will be later merged into draw_data->CmdLists[]. +void ImGui::AddDrawListToDrawDataEx(ImDrawData* draw_data, ImVector* out_list, ImDrawList* draw_list) +{ + if (draw_list->CmdBuffer.Size == 0) + return; + if (draw_list->CmdBuffer.Size == 1 && draw_list->CmdBuffer[0].ElemCount == 0 && draw_list->CmdBuffer[0].UserCallback == NULL) + return; + + // Draw list sanity check. Detect mismatch between PrimReserve() calls and incrementing _VtxCurrentIdx, _VtxWritePtr etc. + // May trigger for you if you are using PrimXXX functions incorrectly. + IM_ASSERT(draw_list->VtxBuffer.Size == 0 || draw_list->_VtxWritePtr == draw_list->VtxBuffer.Data + draw_list->VtxBuffer.Size); + IM_ASSERT(draw_list->IdxBuffer.Size == 0 || draw_list->_IdxWritePtr == draw_list->IdxBuffer.Data + draw_list->IdxBuffer.Size); + if (!(draw_list->Flags & ImDrawListFlags_AllowVtxOffset)) + IM_ASSERT((int)draw_list->_VtxCurrentIdx == draw_list->VtxBuffer.Size); + + // Check that draw_list doesn't use more vertices than indexable (default ImDrawIdx = unsigned short = 2 bytes = 64K vertices per ImDrawList = per window) + // If this assert triggers because you are drawing lots of stuff manually: + // - First, make sure you are coarse clipping yourself and not trying to draw many things outside visible bounds. + // Be mindful that the lower-level ImDrawList API doesn't filter vertices. Use the Metrics/Debugger window to inspect draw list contents. + // - If you want large meshes with more than 64K vertices, you can either: + // (A) Handle the ImDrawCmd::VtxOffset value in your renderer backend, and set 'io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset'. + // Most example backends already support this from 1.71. Pre-1.71 backends won't. + // Some graphics API such as GL ES 1/2 don't have a way to offset the starting vertex so it is not supported for them. + // (B) Or handle 32-bit indices in your renderer backend, and uncomment '#define ImDrawIdx unsigned int' line in imconfig.h. + // Most example backends already support this. For example, the OpenGL example code detect index size at compile-time: + // glDrawElements(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer_offset); + // Your own engine or render API may use different parameters or function calls to specify index sizes. + // 2 and 4 bytes indices are generally supported by most graphics API. + // - If for some reason neither of those solutions works for you, a workaround is to call BeginChild()/EndChild() before reaching + // the 64K limit to split your draw commands in multiple draw lists. + if (sizeof(ImDrawIdx) == 2) + IM_ASSERT(draw_list->_VtxCurrentIdx < (1 << 16) && "Too many vertices in ImDrawList using 16-bit indices. Read comment above"); + + // Resolve callback data pointers + if (draw_list->_CallbacksDataBuf.Size > 0) + for (ImDrawCmd& cmd : draw_list->CmdBuffer) + if (cmd.UserCallback != NULL && cmd.UserCallbackDataOffset != -1 && cmd.UserCallbackDataSize > 0) + cmd.UserCallbackData = draw_list->_CallbacksDataBuf.Data + cmd.UserCallbackDataOffset; + + // Add to output list + records state in ImDrawData + out_list->push_back(draw_list); + draw_data->CmdListsCount++; + draw_data->TotalVtxCount += draw_list->VtxBuffer.Size; + draw_data->TotalIdxCount += draw_list->IdxBuffer.Size; +} + +void ImDrawData::AddDrawList(ImDrawList* draw_list) +{ + IM_ASSERT(CmdLists.Size == CmdListsCount); + draw_list->_PopUnusedDrawCmd(); + ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list); +} + +// For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! +void ImDrawData::DeIndexAllBuffers() +{ + ImVector new_vtx_buffer; + TotalVtxCount = TotalIdxCount = 0; + for (int i = 0; i < CmdListsCount; i++) + { + ImDrawList* cmd_list = CmdLists[i]; + if (cmd_list->IdxBuffer.empty()) + continue; + new_vtx_buffer.resize(cmd_list->IdxBuffer.Size); + for (int j = 0; j < cmd_list->IdxBuffer.Size; j++) + new_vtx_buffer[j] = cmd_list->VtxBuffer[cmd_list->IdxBuffer[j]]; + cmd_list->VtxBuffer.swap(new_vtx_buffer); + cmd_list->IdxBuffer.resize(0); + TotalVtxCount += cmd_list->VtxBuffer.Size; + } +} + +// Helper to scale the ClipRect field of each ImDrawCmd. +// Use if your final output buffer is at a different scale than draw_data->DisplaySize, +// or if there is a difference between your window resolution and framebuffer resolution. +void ImDrawData::ScaleClipRects(const ImVec2& fb_scale) +{ + for (ImDrawList* draw_list : CmdLists) + for (ImDrawCmd& cmd : draw_list->CmdBuffer) + cmd.ClipRect = ImVec4(cmd.ClipRect.x * fb_scale.x, cmd.ClipRect.y * fb_scale.y, cmd.ClipRect.z * fb_scale.x, cmd.ClipRect.w * fb_scale.y); +} + +//----------------------------------------------------------------------------- +// [SECTION] Helpers ShadeVertsXXX functions +//----------------------------------------------------------------------------- + +// Generic linear color gradient, write to RGB fields, leave A untouched. +void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1) +{ + ImVec2 gradient_extent = gradient_p1 - gradient_p0; + float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); + ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; + ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; + const int col0_r = (int)(col0 >> IM_COL32_R_SHIFT) & 0xFF; + const int col0_g = (int)(col0 >> IM_COL32_G_SHIFT) & 0xFF; + const int col0_b = (int)(col0 >> IM_COL32_B_SHIFT) & 0xFF; + const int col_delta_r = ((int)(col1 >> IM_COL32_R_SHIFT) & 0xFF) - col0_r; + const int col_delta_g = ((int)(col1 >> IM_COL32_G_SHIFT) & 0xFF) - col0_g; + const int col_delta_b = ((int)(col1 >> IM_COL32_B_SHIFT) & 0xFF) - col0_b; + for (ImDrawVert* vert = vert_start; vert < vert_end; vert++) + { + float d = ImDot(vert->pos - gradient_p0, gradient_extent); + float t = ImClamp(d * gradient_inv_length2, 0.0f, 1.0f); + int r = (int)(col0_r + col_delta_r * t); + int g = (int)(col0_g + col_delta_g * t); + int b = (int)(col0_b + col_delta_b * t); + vert->col = (r << IM_COL32_R_SHIFT) | (g << IM_COL32_G_SHIFT) | (b << IM_COL32_B_SHIFT) | (vert->col & IM_COL32_A_MASK); + } +} + +// Distribute UV over (a, b) rectangle +void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp) +{ + const ImVec2 size = b - a; + const ImVec2 uv_size = uv_b - uv_a; + const ImVec2 scale = ImVec2( + size.x != 0.0f ? (uv_size.x / size.x) : 0.0f, + size.y != 0.0f ? (uv_size.y / size.y) : 0.0f); + + ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; + ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; + if (clamp) + { + const ImVec2 min = ImMin(uv_a, uv_b); + const ImVec2 max = ImMax(uv_a, uv_b); + for (ImDrawVert* vertex = vert_start; vertex < vert_end; ++vertex) + vertex->uv = ImClamp(uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale), min, max); + } + else + { + for (ImDrawVert* vertex = vert_start; vertex < vert_end; ++vertex) + vertex->uv = uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale); + } +} + +void ImGui::ShadeVertsTransformPos(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& pivot_in, float cos_a, float sin_a, const ImVec2& pivot_out) +{ + ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; + ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; + for (ImDrawVert* vertex = vert_start; vertex < vert_end; ++vertex) + vertex->pos = ImRotate(vertex->pos- pivot_in, cos_a, sin_a) + pivot_out; +} + +//----------------------------------------------------------------------------- +// [SECTION] ImFontConfig +//----------------------------------------------------------------------------- + +ImFontConfig::ImFontConfig() +{ + memset(this, 0, sizeof(*this)); + FontDataOwnedByAtlas = true; + OversampleH = 0; // Auto == 1 or 2 depending on size + OversampleV = 0; // Auto == 1 + GlyphMaxAdvanceX = FLT_MAX; + RasterizerMultiply = 1.0f; + RasterizerDensity = 1.0f; + EllipsisChar = 0; +} + +//----------------------------------------------------------------------------- +// [SECTION] ImFontAtlas +//----------------------------------------------------------------------------- +// - Default texture data encoded in ASCII +// - ImFontAtlas::ClearInputData() +// - ImFontAtlas::ClearTexData() +// - ImFontAtlas::ClearFonts() +// - ImFontAtlas::Clear() +// - ImFontAtlas::GetTexDataAsAlpha8() +// - ImFontAtlas::GetTexDataAsRGBA32() +// - ImFontAtlas::AddFont() +// - ImFontAtlas::AddFontDefault() +// - ImFontAtlas::AddFontFromFileTTF() +// - ImFontAtlas::AddFontFromMemoryTTF() +// - ImFontAtlas::AddFontFromMemoryCompressedTTF() +// - ImFontAtlas::AddFontFromMemoryCompressedBase85TTF() +// - ImFontAtlas::AddCustomRectRegular() +// - ImFontAtlas::AddCustomRectFontGlyph() +// - ImFontAtlas::CalcCustomRectUV() +// - ImFontAtlasGetMouseCursorTexData() +// - ImFontAtlas::Build() +// - ImFontAtlasBuildMultiplyCalcLookupTable() +// - ImFontAtlasBuildMultiplyRectAlpha8() +// - ImFontAtlasBuildWithStbTruetype() +// - ImFontAtlasGetBuilderForStbTruetype() +// - ImFontAtlasUpdateSourcesPointers() +// - ImFontAtlasBuildSetupFont() +// - ImFontAtlasBuildPackCustomRects() +// - ImFontAtlasBuildRender8bppRectFromString() +// - ImFontAtlasBuildRender32bppRectFromString() +// - ImFontAtlasBuildRenderDefaultTexData() +// - ImFontAtlasBuildRenderLinesTexData() +// - ImFontAtlasBuildInit() +// - ImFontAtlasBuildFinish() +//----------------------------------------------------------------------------- + +// A work of art lies ahead! (. = white layer, X = black layer, others are blank) +// The 2x2 white texels on the top left are the ones we'll use everywhere in Dear ImGui to render filled shapes. +// (This is used when io.MouseDrawCursor = true) +const int FONT_ATLAS_DEFAULT_TEX_DATA_W = 122; // Actual texture will be 2 times that + 1 spacing. +const int FONT_ATLAS_DEFAULT_TEX_DATA_H = 27; +static const char FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS[FONT_ATLAS_DEFAULT_TEX_DATA_W * FONT_ATLAS_DEFAULT_TEX_DATA_H + 1] = +{ + "..- -XXXXXXX- X - X -XXXXXXX - XXXXXXX- XX - XX XX " + "..- -X.....X- X.X - X.X -X.....X - X.....X- X..X -X..X X..X" + "--- -XXX.XXX- X...X - X...X -X....X - X....X- X..X -X...X X...X" + "X - X.X - X.....X - X.....X -X...X - X...X- X..X - X...X X...X " + "XX - X.X -X.......X- X.......X -X..X.X - X.X..X- X..X - X...X...X " + "X.X - X.X -XXXX.XXXX- XXXX.XXXX -X.X X.X - X.X X.X- X..XXX - X.....X " + "X..X - X.X - X.X - X.X -XX X.X - X.X XX- X..X..XXX - X...X " + "X...X - X.X - X.X - XX X.X XX - X.X - X.X - X..X..X..XX - X.X " + "X....X - X.X - X.X - X.X X.X X.X - X.X - X.X - X..X..X..X.X - X...X " + "X.....X - X.X - X.X - X..X X.X X..X - X.X - X.X -XXX X..X..X..X..X- X.....X " + "X......X - X.X - X.X - X...XXXXXX.XXXXXX...X - X.X XX-XX X.X -X..XX........X..X- X...X...X " + "X.......X - X.X - X.X -X.....................X- X.X X.X-X.X X.X -X...X...........X- X...X X...X " + "X........X - X.X - X.X - X...XXXXXX.XXXXXX...X - X.X..X-X..X.X - X..............X-X...X X...X" + "X.........X -XXX.XXX- X.X - X..X X.X X..X - X...X-X...X - X.............X-X..X X..X" + "X..........X-X.....X- X.X - X.X X.X X.X - X....X-X....X - X.............X- XX XX " + "X......XXXXX-XXXXXXX- X.X - XX X.X XX - X.....X-X.....X - X............X--------------" + "X...X..X --------- X.X - X.X - XXXXXXX-XXXXXXX - X...........X - " + "X..X X..X - -XXXX.XXXX- XXXX.XXXX ------------------------------------- X..........X - " + "X.X X..X - -X.......X- X.......X - XX XX - - X..........X - " + "XX X..X - - X.....X - X.....X - X.X X.X - - X........X - " + " X..X - - X...X - X...X - X..X X..X - - X........X - " + " XX - - X.X - X.X - X...XXXXXXXXXXXXX...X - - XXXXXXXXXX - " + "------------- - X - X -X.....................X- ------------------- " + " ----------------------------------- X...XXXXXXXXXXXXX...X - " + " - X..X X..X - " + " - X.X X.X - " + " - XX XX - " +}; + +static const ImVec2 FONT_ATLAS_DEFAULT_TEX_CURSOR_DATA[ImGuiMouseCursor_COUNT][3] = +{ + // Pos ........ Size ......... Offset ...... + { ImVec2( 0,3), ImVec2(12,19), ImVec2( 0, 0) }, // ImGuiMouseCursor_Arrow + { ImVec2(13,0), ImVec2( 7,16), ImVec2( 1, 8) }, // ImGuiMouseCursor_TextInput + { ImVec2(31,0), ImVec2(23,23), ImVec2(11,11) }, // ImGuiMouseCursor_ResizeAll + { ImVec2(21,0), ImVec2( 9,23), ImVec2( 4,11) }, // ImGuiMouseCursor_ResizeNS + { ImVec2(55,18),ImVec2(23, 9), ImVec2(11, 4) }, // ImGuiMouseCursor_ResizeEW + { ImVec2(73,0), ImVec2(17,17), ImVec2( 8, 8) }, // ImGuiMouseCursor_ResizeNESW + { ImVec2(55,0), ImVec2(17,17), ImVec2( 8, 8) }, // ImGuiMouseCursor_ResizeNWSE + { ImVec2(91,0), ImVec2(17,22), ImVec2( 5, 0) }, // ImGuiMouseCursor_Hand + { ImVec2(0,3), ImVec2(12,19), ImVec2(0, 0) }, // ImGuiMouseCursor_Wait // Arrow + custom code in ImGui::RenderMouseCursor() + { ImVec2(0,3), ImVec2(12,19), ImVec2(0, 0) }, // ImGuiMouseCursor_Progress // Arrow + custom code in ImGui::RenderMouseCursor() + { ImVec2(109,0),ImVec2(13,15), ImVec2( 6, 7) }, // ImGuiMouseCursor_NotAllowed +}; + +ImFontAtlas::ImFontAtlas() +{ + memset(this, 0, sizeof(*this)); + TexGlyphPadding = 1; + PackIdMouseCursors = PackIdLines = -1; + ShadowRectIds[0] = ShadowRectIds[1] = -1; + ShadowTexConfig.SetupDefaults(); +} + +ImFontAtlas::~ImFontAtlas() +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + Clear(); +} + +void ImFontAtlas::ClearInputData() +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + for (ImFontConfig& font_cfg : Sources) + if (font_cfg.FontData && font_cfg.FontDataOwnedByAtlas) + { + IM_FREE(font_cfg.FontData); + font_cfg.FontData = NULL; + } + + // When clearing this we lose access to the font name and other information used to build the font. + for (ImFont* font : Fonts) + if (font->Sources >= Sources.Data && font->Sources < Sources.Data + Sources.Size) + { + font->Sources = NULL; + font->SourcesCount = 0; + } + Sources.clear(); + CustomRects.clear(); + PackIdMouseCursors = PackIdLines = -1; + ShadowRectIds[0] = ShadowRectIds[1] = -1; + // Important: we leave TexReady untouched +} + +void ImFontAtlas::ClearTexData() +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + if (TexPixelsAlpha8) + IM_FREE(TexPixelsAlpha8); + if (TexPixelsRGBA32) + IM_FREE(TexPixelsRGBA32); + TexPixelsAlpha8 = NULL; + TexPixelsRGBA32 = NULL; + TexPixelsUseColors = false; + // Important: we leave TexReady untouched +} + +void ImFontAtlas::ClearFonts() +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + ClearInputData(); + Fonts.clear_delete(); + TexReady = false; +} + +void ImFontAtlas::Clear() +{ + ClearInputData(); + ClearTexData(); + ClearFonts(); +} + +void ImFontAtlas::GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel) +{ + // Build atlas on demand + if (TexPixelsAlpha8 == NULL) + Build(); + + *out_pixels = TexPixelsAlpha8; + if (out_width) *out_width = TexWidth; + if (out_height) *out_height = TexHeight; + if (out_bytes_per_pixel) *out_bytes_per_pixel = 1; +} + +void ImFontAtlas::GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel) +{ + // Convert to RGBA32 format on demand + // Although it is likely to be the most commonly used format, our font rendering is 1 channel / 8 bpp + if (!TexPixelsRGBA32) + { + unsigned char* pixels = NULL; + GetTexDataAsAlpha8(&pixels, NULL, NULL); + if (pixels) + { + TexPixelsRGBA32 = (unsigned int*)IM_ALLOC((size_t)TexWidth * (size_t)TexHeight * 4); + const unsigned char* src = pixels; + unsigned int* dst = TexPixelsRGBA32; + for (int n = TexWidth * TexHeight; n > 0; n--) + *dst++ = IM_COL32(255, 255, 255, (unsigned int)(*src++)); + } + } + + *out_pixels = (unsigned char*)TexPixelsRGBA32; + if (out_width) *out_width = TexWidth; + if (out_height) *out_height = TexHeight; + if (out_bytes_per_pixel) *out_bytes_per_pixel = 4; +} + +ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg) +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + IM_ASSERT(font_cfg->FontData != NULL && font_cfg->FontDataSize > 0); + IM_ASSERT(font_cfg->SizePixels > 0.0f && "Is ImFontConfig struct correctly initialized?"); + IM_ASSERT(font_cfg->RasterizerDensity > 0.0f && "Is ImFontConfig struct correctly initialized?"); + + // Create new font + if (!font_cfg->MergeMode) + Fonts.push_back(IM_NEW(ImFont)); + else + IM_ASSERT(Fonts.Size > 0 && "Cannot use MergeMode for the first font"); // When using MergeMode make sure that a font has already been added before. You can use ImGui::GetIO().Fonts->AddFontDefault() to add the default imgui font. + + Sources.push_back(*font_cfg); + ImFontConfig& new_font_cfg = Sources.back(); + if (new_font_cfg.DstFont == NULL) + new_font_cfg.DstFont = Fonts.back(); + if (!new_font_cfg.FontDataOwnedByAtlas) + { + new_font_cfg.FontData = IM_ALLOC(new_font_cfg.FontDataSize); + new_font_cfg.FontDataOwnedByAtlas = true; + memcpy(new_font_cfg.FontData, font_cfg->FontData, (size_t)new_font_cfg.FontDataSize); + } + + // Round font size + // - We started rounding in 1.90 WIP (18991) as our layout system currently doesn't support non-rounded font size well yet. + // - Note that using io.FontGlobalScale or SetWindowFontScale(), with are legacy-ish, partially supported features, can still lead to unrounded sizes. + // - We may support it better later and remove this rounding. + new_font_cfg.SizePixels = ImTrunc(new_font_cfg.SizePixels); + + // Pointers to Sources data are otherwise dangling + ImFontAtlasUpdateSourcesPointers(this); + + // Invalidate texture + TexReady = false; + ClearTexData(); + return new_font_cfg.DstFont; +} + +// Default font TTF is compressed with stb_compress then base85 encoded (see misc/fonts/binary_to_compressed_c.cpp for encoder) +static unsigned int stb_decompress_length(const unsigned char* input); +static unsigned int stb_decompress(unsigned char* output, const unsigned char* input, unsigned int length); +static unsigned int Decode85Byte(char c) { return c >= '\\' ? c-36 : c-35; } +static void Decode85(const unsigned char* src, unsigned char* dst) +{ + while (*src) + { + unsigned int tmp = Decode85Byte(src[0]) + 85 * (Decode85Byte(src[1]) + 85 * (Decode85Byte(src[2]) + 85 * (Decode85Byte(src[3]) + 85 * Decode85Byte(src[4])))); + dst[0] = ((tmp >> 0) & 0xFF); dst[1] = ((tmp >> 8) & 0xFF); dst[2] = ((tmp >> 16) & 0xFF); dst[3] = ((tmp >> 24) & 0xFF); // We can't assume little-endianness. + src += 5; + dst += 4; + } +} +#ifndef IMGUI_DISABLE_DEFAULT_FONT +static const char* GetDefaultCompressedFontDataTTF(int* out_size); +#endif + +// Load embedded ProggyClean.ttf at size 13, disable oversampling +ImFont* ImFontAtlas::AddFontDefault(const ImFontConfig* font_cfg_template) +{ +#ifndef IMGUI_DISABLE_DEFAULT_FONT + ImFontConfig font_cfg = font_cfg_template ? *font_cfg_template : ImFontConfig(); + if (!font_cfg_template) + { + font_cfg.OversampleH = font_cfg.OversampleV = 1; + font_cfg.PixelSnapH = true; + } + if (font_cfg.SizePixels <= 0.0f) + font_cfg.SizePixels = 13.0f * 1.0f; + if (font_cfg.Name[0] == '\0') + ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "ProggyClean.ttf, %dpx", (int)font_cfg.SizePixels); + font_cfg.EllipsisChar = (ImWchar)0x0085; + font_cfg.GlyphOffset.y = 1.0f * IM_TRUNC(font_cfg.SizePixels / 13.0f); // Add +1 offset per 13 units + + int ttf_compressed_size = 0; + const char* ttf_compressed = GetDefaultCompressedFontDataTTF(&ttf_compressed_size); + const ImWchar* glyph_ranges = font_cfg.GlyphRanges != NULL ? font_cfg.GlyphRanges : GetGlyphRangesDefault(); + ImFont* font = AddFontFromMemoryCompressedTTF(ttf_compressed, ttf_compressed_size, font_cfg.SizePixels, &font_cfg, glyph_ranges); + return font; +#else + IM_ASSERT(0 && "AddFontDefault() disabled in this build."); + IM_UNUSED(font_cfg_template); + return NULL; +#endif // #ifndef IMGUI_DISABLE_DEFAULT_FONT +} + +ImFont* ImFontAtlas::AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + size_t data_size = 0; + void* data = ImFileLoadToMemory(filename, "rb", &data_size, 0); + if (!data) + { + IM_ASSERT_USER_ERROR(0, "Could not load font file!"); + return NULL; + } + ImFontConfig font_cfg = font_cfg_template ? *font_cfg_template : ImFontConfig(); + if (font_cfg.Name[0] == '\0') + { + // Store a short copy of filename into into the font name for convenience + const char* p; + for (p = filename + strlen(filename); p > filename && p[-1] != '/' && p[-1] != '\\'; p--) {} + ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "%s, %.0fpx", p, size_pixels); + } + return AddFontFromMemoryTTF(data, (int)data_size, size_pixels, &font_cfg, glyph_ranges); +} + +// NB: Transfer ownership of 'ttf_data' to ImFontAtlas, unless font_cfg_template->FontDataOwnedByAtlas == false. Owned TTF buffer will be deleted after Build(). +ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* font_data, int font_data_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + ImFontConfig font_cfg = font_cfg_template ? *font_cfg_template : ImFontConfig(); + IM_ASSERT(font_cfg.FontData == NULL); + IM_ASSERT(font_data_size > 100 && "Incorrect value for font_data_size!"); // Heuristic to prevent accidentally passing a wrong value to font_data_size. + font_cfg.FontData = font_data; + font_cfg.FontDataSize = font_data_size; + font_cfg.SizePixels = size_pixels > 0.0f ? size_pixels : font_cfg.SizePixels; + if (glyph_ranges) + font_cfg.GlyphRanges = glyph_ranges; + return AddFont(&font_cfg); +} + +ImFont* ImFontAtlas::AddFontFromMemoryCompressedTTF(const void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) +{ + const unsigned int buf_decompressed_size = stb_decompress_length((const unsigned char*)compressed_ttf_data); + unsigned char* buf_decompressed_data = (unsigned char*)IM_ALLOC(buf_decompressed_size); + stb_decompress(buf_decompressed_data, (const unsigned char*)compressed_ttf_data, (unsigned int)compressed_ttf_size); + + ImFontConfig font_cfg = font_cfg_template ? *font_cfg_template : ImFontConfig(); + IM_ASSERT(font_cfg.FontData == NULL); + font_cfg.FontDataOwnedByAtlas = true; + return AddFontFromMemoryTTF(buf_decompressed_data, (int)buf_decompressed_size, size_pixels, &font_cfg, glyph_ranges); +} + +ImFont* ImFontAtlas::AddFontFromMemoryCompressedBase85TTF(const char* compressed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges) +{ + int compressed_ttf_size = (((int)strlen(compressed_ttf_data_base85) + 4) / 5) * 4; + void* compressed_ttf = IM_ALLOC((size_t)compressed_ttf_size); + Decode85((const unsigned char*)compressed_ttf_data_base85, (unsigned char*)compressed_ttf); + ImFont* font = AddFontFromMemoryCompressedTTF(compressed_ttf, compressed_ttf_size, size_pixels, font_cfg, glyph_ranges); + IM_FREE(compressed_ttf); + return font; +} + +int ImFontAtlas::AddCustomRectRegular(int width, int height) +{ + IM_ASSERT(width > 0 && width <= 0xFFFF); + IM_ASSERT(height > 0 && height <= 0xFFFF); + ImFontAtlasCustomRect r; + r.Width = (unsigned short)width; + r.Height = (unsigned short)height; + CustomRects.push_back(r); + return CustomRects.Size - 1; // Return index +} + +int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset) +{ +#ifdef IMGUI_USE_WCHAR32 + IM_ASSERT(id <= IM_UNICODE_CODEPOINT_MAX); +#endif + IM_ASSERT(font != NULL); + IM_ASSERT(width > 0 && width <= 0xFFFF); + IM_ASSERT(height > 0 && height <= 0xFFFF); + ImFontAtlasCustomRect r; + r.Width = (unsigned short)width; + r.Height = (unsigned short)height; + r.GlyphID = id; + r.GlyphColored = 0; // Set to 1 manually to mark glyph as colored // FIXME: No official API for that (#8133) + r.GlyphAdvanceX = advance_x; + r.GlyphOffset = offset; + r.Font = font; + CustomRects.push_back(r); + return CustomRects.Size - 1; // Return index +} + +void ImFontAtlas::CalcCustomRectUV(const ImFontAtlasCustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_max) const +{ + IM_ASSERT(TexWidth > 0 && TexHeight > 0); // Font atlas needs to be built before we can calculate UV coordinates + IM_ASSERT(rect->IsPacked()); // Make sure the rectangle has been packed + *out_uv_min = ImVec2((float)rect->X * TexUvScale.x, (float)rect->Y * TexUvScale.y); + *out_uv_max = ImVec2((float)(rect->X + rect->Width) * TexUvScale.x, (float)(rect->Y + rect->Height) * TexUvScale.y); +} + +bool ImFontAtlasGetMouseCursorTexData(ImFontAtlas* atlas, ImGuiMouseCursor cursor_type, ImVec2* out_offset, ImVec2* out_size, ImVec2 out_uv_border[2], ImVec2 out_uv_fill[2]) +{ + if (cursor_type <= ImGuiMouseCursor_None || cursor_type >= ImGuiMouseCursor_COUNT) + return false; + if (atlas->Flags & ImFontAtlasFlags_NoMouseCursors) + return false; + + IM_ASSERT(atlas->PackIdMouseCursors != -1); + ImFontAtlasCustomRect* r = atlas->GetCustomRectByIndex(atlas->PackIdMouseCursors); + ImVec2 pos = FONT_ATLAS_DEFAULT_TEX_CURSOR_DATA[cursor_type][0] + ImVec2((float)r->X, (float)r->Y); + ImVec2 size = FONT_ATLAS_DEFAULT_TEX_CURSOR_DATA[cursor_type][1]; + *out_size = size; + *out_offset = FONT_ATLAS_DEFAULT_TEX_CURSOR_DATA[cursor_type][2]; + out_uv_border[0] = (pos) * atlas->TexUvScale; + out_uv_border[1] = (pos + size) * atlas->TexUvScale; + pos.x += FONT_ATLAS_DEFAULT_TEX_DATA_W + 1; + out_uv_fill[0] = (pos) * atlas->TexUvScale; + out_uv_fill[1] = (pos + size) * atlas->TexUvScale; + return true; +} + +bool ImFontAtlas::Build() +{ + IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); + + // Default font is none are specified + if (Sources.Size == 0) + AddFontDefault(); + + // Select builder + // - Note that we do not reassign to atlas->FontBuilderIO, since it is likely to point to static data which + // may mess with some hot-reloading schemes. If you need to assign to this (for dynamic selection) AND are + // using a hot-reloading scheme that messes up static data, store your own instance of ImFontBuilderIO somewhere + // and point to it instead of pointing directly to return value of the GetBuilderXXX functions. + const ImFontBuilderIO* builder_io = FontBuilderIO; + if (builder_io == NULL) + { +#ifdef IMGUI_ENABLE_FREETYPE + builder_io = ImGuiFreeType::GetBuilderForFreeType(); +#elif defined(IMGUI_ENABLE_STB_TRUETYPE) + builder_io = ImFontAtlasGetBuilderForStbTruetype(); +#else + IM_ASSERT(0); // Invalid Build function +#endif + } + + // Build + return builder_io->FontBuilder_Build(this); +} + +void ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], float in_brighten_factor) +{ + for (unsigned int i = 0; i < 256; i++) + { + unsigned int value = (unsigned int)(i * in_brighten_factor); + out_table[i] = value > 255 ? 255 : (value & 0xFF); + } +} + +void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char* pixels, int x, int y, int w, int h, int stride) +{ + IM_ASSERT_PARANOID(w <= stride); + unsigned char* data = pixels + x + y * stride; + for (int j = h; j > 0; j--, data += stride - w) + for (int i = w; i > 0; i--, data++) + *data = table[*data]; +} + +void ImFontAtlasBuildGetOversampleFactors(const ImFontConfig* src, int* out_oversample_h, int* out_oversample_v) +{ + // Automatically disable horizontal oversampling over size 36 + *out_oversample_h = (src->OversampleH != 0) ? src->OversampleH : (src->SizePixels * src->RasterizerDensity > 36.0f || src->PixelSnapH) ? 1 : 2; + *out_oversample_v = (src->OversampleV != 0) ? src->OversampleV : 1; +} + +#ifdef IMGUI_ENABLE_STB_TRUETYPE +// Temporary data for one source font (multiple source fonts can be merged into one destination ImFont) +// (C++03 doesn't allow instancing ImVector<> with function-local types so we declare the type here.) +struct ImFontBuildSrcData +{ + stbtt_fontinfo FontInfo; + stbtt_pack_range PackRange; // Hold the list of codepoints to pack (essentially points to Codepoints.Data) + stbrp_rect* Rects; // Rectangle to pack. We first fill in their size and the packer will give us their position. + stbtt_packedchar* PackedChars; // Output glyphs + const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x0020..0xFFFF) + int DstIndex; // Index into atlas->Fonts[] and dst_tmp_array[] + int GlyphsHighest; // Highest requested codepoint + int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font) + ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB) + ImVector GlyphsList; // Glyph codepoints list (flattened version of GlyphsSet) +}; + +// Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont) +struct ImFontBuildDstData +{ + int SrcCount; // Number of source fonts targeting this destination font. + int GlyphsHighest; + int GlyphsCount; + ImBitVector GlyphsSet; // This is used to resolve collision when multiple sources are merged into a same destination font. +}; + +static void UnpackBitVectorToFlatIndexList(const ImBitVector* in, ImVector* out) +{ + IM_ASSERT(sizeof(in->Storage.Data[0]) == sizeof(int)); + const ImU32* it_begin = in->Storage.begin(); + const ImU32* it_end = in->Storage.end(); + for (const ImU32* it = it_begin; it < it_end; it++) + if (ImU32 entries_32 = *it) + for (ImU32 bit_n = 0; bit_n < 32; bit_n++) + if (entries_32 & ((ImU32)1 << bit_n)) + out->push_back((int)(((it - it_begin) << 5) + bit_n)); +} + +static bool ImFontAtlasBuildWithStbTruetype(ImFontAtlas* atlas) +{ + IM_ASSERT(atlas->Sources.Size > 0); + + ImFontAtlasBuildInit(atlas); + + // Clear atlas + atlas->TexID = (ImTextureID)NULL; + atlas->TexWidth = atlas->TexHeight = 0; + atlas->TexUvScale = ImVec2(0.0f, 0.0f); + atlas->TexUvWhitePixel = ImVec2(0.0f, 0.0f); + atlas->ClearTexData(); + + // Temporary storage for building + ImVector src_tmp_array; + ImVector dst_tmp_array; + src_tmp_array.resize(atlas->Sources.Size); + dst_tmp_array.resize(atlas->Fonts.Size); + memset(src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); + memset(dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); + + // 1. Initialize font loading structure, check font data validity + for (int src_i = 0; src_i < atlas->Sources.Size; src_i++) + { + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + ImFontConfig& src = atlas->Sources[src_i]; + IM_ASSERT(src.DstFont && (!src.DstFont->IsLoaded() || src.DstFont->ContainerAtlas == atlas)); + + // Find index from src.DstFont (we allow the user to set cfg.DstFont. Also it makes casual debugging nicer than when storing indices) + src_tmp.DstIndex = -1; + for (int output_i = 0; output_i < atlas->Fonts.Size && src_tmp.DstIndex == -1; output_i++) + if (src.DstFont == atlas->Fonts[output_i]) + src_tmp.DstIndex = output_i; + if (src_tmp.DstIndex == -1) + { + IM_ASSERT(src_tmp.DstIndex != -1); // src.DstFont not pointing within atlas->Fonts[] array? + return false; + } + // Initialize helper structure for font loading and verify that the TTF/OTF data is correct + const int font_offset = stbtt_GetFontOffsetForIndex((unsigned char*)src.FontData, src.FontNo); + IM_ASSERT(font_offset >= 0 && "FontData is incorrect, or FontNo cannot be found."); + if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)src.FontData, font_offset)) + { + IM_ASSERT(0 && "stbtt_InitFont(): failed to parse FontData. It is correct and complete? Check FontDataSize."); + return false; + } + + // Measure highest codepoints + ImFontBuildDstData& dst_tmp = dst_tmp_array[src_tmp.DstIndex]; + src_tmp.SrcRanges = src.GlyphRanges ? src.GlyphRanges : atlas->GetGlyphRangesDefault(); + for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) + { + // Check for valid range. This may also help detect *some* dangling pointers, because a common + // user error is to setup ImFontConfig::GlyphRanges with a pointer to data that isn't persistent, + // or to forget to zero-terminate the glyph range array. + IM_ASSERT(src_range[0] <= src_range[1] && "Invalid range: is your glyph range array persistent? it is zero-terminated?"); + src_tmp.GlyphsHighest = ImMax(src_tmp.GlyphsHighest, (int)src_range[1]); + } + dst_tmp.SrcCount++; + dst_tmp.GlyphsHighest = ImMax(dst_tmp.GlyphsHighest, src_tmp.GlyphsHighest); + } + + // 2. For every requested codepoint, check for their presence in the font data, and handle redundancy or overlaps between source fonts to avoid unused glyphs. + int total_glyphs_count = 0; + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + ImFontBuildDstData& dst_tmp = dst_tmp_array[src_tmp.DstIndex]; + src_tmp.GlyphsSet.Create(src_tmp.GlyphsHighest + 1); + if (dst_tmp.GlyphsSet.Storage.empty()) + dst_tmp.GlyphsSet.Create(dst_tmp.GlyphsHighest + 1); + + for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) + for (unsigned int codepoint = src_range[0]; codepoint <= src_range[1]; codepoint++) + { + if (dst_tmp.GlyphsSet.TestBit(codepoint)) // Don't overwrite existing glyphs. We could make this an option for MergeMode (e.g. MergeOverwrite==true) + continue; + if (!stbtt_FindGlyphIndex(&src_tmp.FontInfo, codepoint)) // It is actually in the font? + continue; + + // Add to avail set/counters + src_tmp.GlyphsCount++; + dst_tmp.GlyphsCount++; + src_tmp.GlyphsSet.SetBit(codepoint); + dst_tmp.GlyphsSet.SetBit(codepoint); + total_glyphs_count++; + } + } + + // 3. Unpack our bit map into a flat list (we now have all the Unicode points that we know are requested _and_ available _and_ not overlapping another) + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + src_tmp.GlyphsList.reserve(src_tmp.GlyphsCount); + UnpackBitVectorToFlatIndexList(&src_tmp.GlyphsSet, &src_tmp.GlyphsList); + src_tmp.GlyphsSet.Clear(); + IM_ASSERT(src_tmp.GlyphsList.Size == src_tmp.GlyphsCount); + } + for (int dst_i = 0; dst_i < dst_tmp_array.Size; dst_i++) + dst_tmp_array[dst_i].GlyphsSet.Clear(); + dst_tmp_array.clear(); + + // Allocate packing character data and flag packed characters buffer as non-packed (x0=y0=x1=y1=0) + // (We technically don't need to zero-clear buf_rects, but let's do it for the sake of sanity) + ImVector buf_rects; + ImVector buf_packedchars; + buf_rects.resize(total_glyphs_count); + buf_packedchars.resize(total_glyphs_count); + memset(buf_rects.Data, 0, (size_t)buf_rects.size_in_bytes()); + memset(buf_packedchars.Data, 0, (size_t)buf_packedchars.size_in_bytes()); + + // 4. Gather glyphs sizes so we can pack them in our virtual canvas. + int total_surface = 0; + int buf_rects_out_n = 0; + int buf_packedchars_out_n = 0; + const int pack_padding = atlas->TexGlyphPadding; + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + if (src_tmp.GlyphsCount == 0) + continue; + + src_tmp.Rects = &buf_rects[buf_rects_out_n]; + src_tmp.PackedChars = &buf_packedchars[buf_packedchars_out_n]; + buf_rects_out_n += src_tmp.GlyphsCount; + buf_packedchars_out_n += src_tmp.GlyphsCount; + + // Automatic selection of oversampling parameters + ImFontConfig& src = atlas->Sources[src_i]; + int oversample_h, oversample_v; + ImFontAtlasBuildGetOversampleFactors(&src, &oversample_h, &oversample_v); + + // Convert our ranges in the format stb_truetype wants + src_tmp.PackRange.font_size = src.SizePixels * src.RasterizerDensity; + src_tmp.PackRange.first_unicode_codepoint_in_range = 0; + src_tmp.PackRange.array_of_unicode_codepoints = src_tmp.GlyphsList.Data; + src_tmp.PackRange.num_chars = src_tmp.GlyphsList.Size; + src_tmp.PackRange.chardata_for_range = src_tmp.PackedChars; + src_tmp.PackRange.h_oversample = (unsigned char)oversample_h; + src_tmp.PackRange.v_oversample = (unsigned char)oversample_v; + + // Gather the sizes of all rectangles we will need to pack (this loop is based on stbtt_PackFontRangesGatherRects) + const float scale = (src.SizePixels > 0.0f) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, src.SizePixels * src.RasterizerDensity) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -src.SizePixels * src.RasterizerDensity); + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsList.Size; glyph_i++) + { + int x0, y0, x1, y1; + const int glyph_index_in_font = stbtt_FindGlyphIndex(&src_tmp.FontInfo, src_tmp.GlyphsList[glyph_i]); + IM_ASSERT(glyph_index_in_font != 0); + stbtt_GetGlyphBitmapBoxSubpixel(&src_tmp.FontInfo, glyph_index_in_font, scale * oversample_h, scale * oversample_v, 0, 0, &x0, &y0, &x1, &y1); + src_tmp.Rects[glyph_i].w = (stbrp_coord)(x1 - x0 + pack_padding + oversample_h - 1); + src_tmp.Rects[glyph_i].h = (stbrp_coord)(y1 - y0 + pack_padding + oversample_v - 1); + total_surface += src_tmp.Rects[glyph_i].w * src_tmp.Rects[glyph_i].h; + } + } + for (int i = 0; i < atlas->CustomRects.Size; i++) + total_surface += (atlas->CustomRects[i].Width + pack_padding) * (atlas->CustomRects[i].Height + pack_padding); + + // We need a width for the skyline algorithm, any width! + // The exact width doesn't really matter much, but some API/GPU have texture size limitations and increasing width can decrease height. + // User can override TexDesiredWidth and TexGlyphPadding if they wish, otherwise we use a simple heuristic to select the width based on expected surface. + const int surface_sqrt = (int)ImSqrt((float)total_surface) + 1; + atlas->TexHeight = 0; + if (atlas->TexDesiredWidth > 0) + atlas->TexWidth = atlas->TexDesiredWidth; + else + atlas->TexWidth = (surface_sqrt >= 4096 * 0.7f) ? 4096 : (surface_sqrt >= 2048 * 0.7f) ? 2048 : (surface_sqrt >= 1024 * 0.7f) ? 1024 : 512; + + // 5. Start packing + // Pack our extra data rectangles first, so it will be on the upper-left corner of our texture (UV will have small values). + const int TEX_HEIGHT_MAX = 1024 * 32; + stbtt_pack_context spc = {}; + stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, 0, NULL); + spc.padding = atlas->TexGlyphPadding; // Because we mixup stbtt_PackXXX and stbrp_PackXXX there's a bit of a hack here, not passing the value to stbtt_PackBegin() allows us to still pack a TexWidth-1 wide item. (#8107) + ImFontAtlasBuildPackCustomRects(atlas, spc.pack_info); + + // 6. Pack each source font. No rendering yet, we are working with rectangles in an infinitely tall texture at this point. + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + if (src_tmp.GlyphsCount == 0) + continue; + + stbrp_pack_rects((stbrp_context*)spc.pack_info, src_tmp.Rects, src_tmp.GlyphsCount); + + // Extend texture height and mark missing glyphs as non-packed so we won't render them. + // FIXME: We are not handling packing failure here (would happen if we got off TEX_HEIGHT_MAX or if a single if larger than TexWidth?) + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++) + if (src_tmp.Rects[glyph_i].was_packed) + atlas->TexHeight = ImMax(atlas->TexHeight, src_tmp.Rects[glyph_i].y + src_tmp.Rects[glyph_i].h); + } + + // 7. Allocate texture + atlas->TexHeight = (atlas->Flags & ImFontAtlasFlags_NoPowerOfTwoHeight) ? (atlas->TexHeight + 1) : ImUpperPowerOfTwo(atlas->TexHeight); + atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight); + atlas->TexPixelsAlpha8 = (unsigned char*)IM_ALLOC(atlas->TexWidth * atlas->TexHeight); + memset(atlas->TexPixelsAlpha8, 0, atlas->TexWidth * atlas->TexHeight); + spc.pixels = atlas->TexPixelsAlpha8; + spc.height = atlas->TexHeight; + + // 8. Render/rasterize font characters into the texture + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + ImFontConfig& src = atlas->Sources[src_i]; + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + if (src_tmp.GlyphsCount == 0) + continue; + + stbtt_PackFontRangesRenderIntoRects(&spc, &src_tmp.FontInfo, &src_tmp.PackRange, 1, src_tmp.Rects); + + // Apply multiply operator + if (src.RasterizerMultiply != 1.0f) + { + unsigned char multiply_table[256]; + ImFontAtlasBuildMultiplyCalcLookupTable(multiply_table, src.RasterizerMultiply); + stbrp_rect* r = &src_tmp.Rects[0]; + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++, r++) + if (r->was_packed) + ImFontAtlasBuildMultiplyRectAlpha8(multiply_table, atlas->TexPixelsAlpha8, r->x, r->y, r->w, r->h, atlas->TexWidth * 1); + } + src_tmp.Rects = NULL; + } + + // End packing + stbtt_PackEnd(&spc); + buf_rects.clear(); + + // 9. Setup ImFont and glyphs for runtime + for (int src_i = 0; src_i < src_tmp_array.Size; src_i++) + { + // When merging fonts with MergeMode=true: + // - We can have multiple input fonts writing into a same destination font. + // - dst_font->Sources is != from src which is our source configuration. + ImFontBuildSrcData& src_tmp = src_tmp_array[src_i]; + ImFontConfig& src = atlas->Sources[src_i]; + ImFont* dst_font = src.DstFont; + + const float font_scale = stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, src.SizePixels); + int unscaled_ascent, unscaled_descent, unscaled_line_gap; + stbtt_GetFontVMetrics(&src_tmp.FontInfo, &unscaled_ascent, &unscaled_descent, &unscaled_line_gap); + + const float ascent = ImCeil(unscaled_ascent * font_scale); + const float descent = ImFloor(unscaled_descent * font_scale); + ImFontAtlasBuildSetupFont(atlas, dst_font, &src, ascent, descent); + const float font_off_x = src.GlyphOffset.x; + const float font_off_y = src.GlyphOffset.y + IM_ROUND(dst_font->Ascent); + + const float inv_rasterization_scale = 1.0f / src.RasterizerDensity; + + for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++) + { + // Register glyph + const int codepoint = src_tmp.GlyphsList[glyph_i]; + const stbtt_packedchar& pc = src_tmp.PackedChars[glyph_i]; + stbtt_aligned_quad q; + float unused_x = 0.0f, unused_y = 0.0f; + stbtt_GetPackedQuad(src_tmp.PackedChars, atlas->TexWidth, atlas->TexHeight, glyph_i, &unused_x, &unused_y, &q, 0); + float x0 = q.x0 * inv_rasterization_scale + font_off_x; + float y0 = q.y0 * inv_rasterization_scale + font_off_y; + float x1 = q.x1 * inv_rasterization_scale + font_off_x; + float y1 = q.y1 * inv_rasterization_scale + font_off_y; + dst_font->AddGlyph(&src, (ImWchar)codepoint, x0, y0, x1, y1, q.s0, q.t0, q.s1, q.t1, pc.xadvance * inv_rasterization_scale); + } + } + + // Cleanup + src_tmp_array.clear_destruct(); + + ImFontAtlasBuildFinish(atlas); + return true; +} + +const ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype() +{ + static ImFontBuilderIO io; + io.FontBuilder_Build = ImFontAtlasBuildWithStbTruetype; + return &io; +} + +#endif // IMGUI_ENABLE_STB_TRUETYPE + +void ImFontAtlasUpdateSourcesPointers(ImFontAtlas* atlas) +{ + for (ImFontConfig& src : atlas->Sources) + { + ImFont* font = src.DstFont; + if (!src.MergeMode) + { + font->Sources = &src; + font->SourcesCount = 0; + } + font->SourcesCount++; + } +} + +void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent) +{ + if (!font_config->MergeMode) + { + font->ClearOutputData(); + font->FontSize = font_config->SizePixels; + IM_ASSERT(font->Sources == font_config); + font->ContainerAtlas = atlas; + font->Ascent = ascent; + font->Descent = descent; + } +} + +void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opaque) +{ + stbrp_context* pack_context = (stbrp_context*)stbrp_context_opaque; + IM_ASSERT(pack_context != NULL); + + ImVector& user_rects = atlas->CustomRects; + IM_ASSERT(user_rects.Size >= 1); // We expect at least the default custom rects to be registered, else something went wrong. +#ifdef __GNUC__ + if (user_rects.Size < 1) { __builtin_unreachable(); } // Workaround for GCC bug if IM_ASSERT() is defined to conditionally throw (see #5343) +#endif + + const int pack_padding = atlas->TexGlyphPadding; + ImVector pack_rects; + pack_rects.resize(user_rects.Size); + memset(pack_rects.Data, 0, (size_t)pack_rects.size_in_bytes()); + for (int i = 0; i < user_rects.Size; i++) + { + pack_rects[i].w = user_rects[i].Width + pack_padding; + pack_rects[i].h = user_rects[i].Height + pack_padding; + } + stbrp_pack_rects(pack_context, &pack_rects[0], pack_rects.Size); + for (int i = 0; i < pack_rects.Size; i++) + if (pack_rects[i].was_packed) + { + user_rects[i].X = (unsigned short)pack_rects[i].x; + user_rects[i].Y = (unsigned short)pack_rects[i].y; + IM_ASSERT(pack_rects[i].w == user_rects[i].Width + pack_padding && pack_rects[i].h == user_rects[i].Height + pack_padding); + atlas->TexHeight = ImMax(atlas->TexHeight, pack_rects[i].y + pack_rects[i].h); + } +} + +void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned char in_marker_pixel_value) +{ + IM_ASSERT(x >= 0 && x + w <= atlas->TexWidth); + IM_ASSERT(y >= 0 && y + h <= atlas->TexHeight); + unsigned char* out_pixel = atlas->TexPixelsAlpha8 + x + (y * atlas->TexWidth); + for (int off_y = 0; off_y < h; off_y++, out_pixel += atlas->TexWidth, in_str += w) + for (int off_x = 0; off_x < w; off_x++) + out_pixel[off_x] = (in_str[off_x] == in_marker_char) ? in_marker_pixel_value : 0x00; +} + +void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned int in_marker_pixel_value) +{ + IM_ASSERT(x >= 0 && x + w <= atlas->TexWidth); + IM_ASSERT(y >= 0 && y + h <= atlas->TexHeight); + unsigned int* out_pixel = atlas->TexPixelsRGBA32 + x + (y * atlas->TexWidth); + for (int off_y = 0; off_y < h; off_y++, out_pixel += atlas->TexWidth, in_str += w) + for (int off_x = 0; off_x < w; off_x++) + out_pixel[off_x] = (in_str[off_x] == in_marker_char) ? in_marker_pixel_value : IM_COL32_BLACK_TRANS; +} + +static void ImFontAtlasBuildRenderDefaultTexData(ImFontAtlas* atlas) +{ + ImFontAtlasCustomRect* r = atlas->GetCustomRectByIndex(atlas->PackIdMouseCursors); + IM_ASSERT(r->IsPacked()); + + const int w = atlas->TexWidth; + if (atlas->Flags & ImFontAtlasFlags_NoMouseCursors) + { + // White pixels only + IM_ASSERT(r->Width == 2 && r->Height == 2); + const int offset = (int)r->X + (int)r->Y * w; + if (atlas->TexPixelsAlpha8 != NULL) + { + atlas->TexPixelsAlpha8[offset] = atlas->TexPixelsAlpha8[offset + 1] = atlas->TexPixelsAlpha8[offset + w] = atlas->TexPixelsAlpha8[offset + w + 1] = 0xFF; + } + else + { + atlas->TexPixelsRGBA32[offset] = atlas->TexPixelsRGBA32[offset + 1] = atlas->TexPixelsRGBA32[offset + w] = atlas->TexPixelsRGBA32[offset + w + 1] = IM_COL32_WHITE; + } + } + else + { + // White pixels and mouse cursor + IM_ASSERT(r->Width == FONT_ATLAS_DEFAULT_TEX_DATA_W * 2 + 1 && r->Height == FONT_ATLAS_DEFAULT_TEX_DATA_H); + const int x_for_white = r->X; + const int x_for_black = r->X + FONT_ATLAS_DEFAULT_TEX_DATA_W + 1; + if (atlas->TexPixelsAlpha8 != NULL) + { + ImFontAtlasBuildRender8bppRectFromString(atlas, x_for_white, r->Y, FONT_ATLAS_DEFAULT_TEX_DATA_W, FONT_ATLAS_DEFAULT_TEX_DATA_H, FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS, '.', 0xFF); + ImFontAtlasBuildRender8bppRectFromString(atlas, x_for_black, r->Y, FONT_ATLAS_DEFAULT_TEX_DATA_W, FONT_ATLAS_DEFAULT_TEX_DATA_H, FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS, 'X', 0xFF); + } + else + { + ImFontAtlasBuildRender32bppRectFromString(atlas, x_for_white, r->Y, FONT_ATLAS_DEFAULT_TEX_DATA_W, FONT_ATLAS_DEFAULT_TEX_DATA_H, FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS, '.', IM_COL32_WHITE); + ImFontAtlasBuildRender32bppRectFromString(atlas, x_for_black, r->Y, FONT_ATLAS_DEFAULT_TEX_DATA_W, FONT_ATLAS_DEFAULT_TEX_DATA_H, FONT_ATLAS_DEFAULT_TEX_DATA_PIXELS, 'X', IM_COL32_WHITE); + } + } + atlas->TexUvWhitePixel = ImVec2((r->X + 0.5f) * atlas->TexUvScale.x, (r->Y + 0.5f) * atlas->TexUvScale.y); +} + +static void ImFontAtlasBuildRenderLinesTexData(ImFontAtlas* atlas) +{ + if (atlas->Flags & ImFontAtlasFlags_NoBakedLines) + return; + + // This generates a triangular shape in the texture, with the various line widths stacked on top of each other to allow interpolation between them + ImFontAtlasCustomRect* r = atlas->GetCustomRectByIndex(atlas->PackIdLines); + IM_ASSERT(r->IsPacked()); + for (int n = 0; n < IM_DRAWLIST_TEX_LINES_WIDTH_MAX + 1; n++) // +1 because of the zero-width row + { + // Each line consists of at least two empty pixels at the ends, with a line of solid pixels in the middle + int y = n; + int line_width = n; + int pad_left = (r->Width - line_width) / 2; + int pad_right = r->Width - (pad_left + line_width); + + // Write each slice + IM_ASSERT(pad_left + line_width + pad_right == r->Width && y < r->Height); // Make sure we're inside the texture bounds before we start writing pixels + if (atlas->TexPixelsAlpha8 != NULL) + { + unsigned char* write_ptr = &atlas->TexPixelsAlpha8[r->X + ((r->Y + y) * atlas->TexWidth)]; + for (int i = 0; i < pad_left; i++) + *(write_ptr + i) = 0x00; + + for (int i = 0; i < line_width; i++) + *(write_ptr + pad_left + i) = 0xFF; + + for (int i = 0; i < pad_right; i++) + *(write_ptr + pad_left + line_width + i) = 0x00; + } + else + { + unsigned int* write_ptr = &atlas->TexPixelsRGBA32[r->X + ((r->Y + y) * atlas->TexWidth)]; + for (int i = 0; i < pad_left; i++) + *(write_ptr + i) = IM_COL32(255, 255, 255, 0); + + for (int i = 0; i < line_width; i++) + *(write_ptr + pad_left + i) = IM_COL32_WHITE; + + for (int i = 0; i < pad_right; i++) + *(write_ptr + pad_left + line_width + i) = IM_COL32(255, 255, 255, 0); + } + + // Calculate UVs for this line + ImVec2 uv0 = ImVec2((float)(r->X + pad_left - 1), (float)(r->Y + y)) * atlas->TexUvScale; + ImVec2 uv1 = ImVec2((float)(r->X + pad_left + line_width + 1), (float)(r->Y + y + 1)) * atlas->TexUvScale; + float half_v = (uv0.y + uv1.y) * 0.5f; // Calculate a constant V in the middle of the row to avoid sampling artifacts + atlas->TexUvLines[n] = ImVec4(uv0.x, half_v, uv1.x, half_v); + } +} + +// Register the rectangles we need for the rounded corner images +static void ImFontAtlasBuildRegisterShadowCustomRects(ImFontAtlas* atlas) +{ + if (atlas->ShadowRectIds[0] >= 0) + return; + + // ShadowRectIds[0] is the rectangle for rectangular shadows + // ShadowRectIds[1] is the rectangle for convex shadows + + // The actual size we want to reserve, including padding + const ImFontAtlasShadowTexConfig* shadow_cfg = &atlas->ShadowTexConfig; + const unsigned int effective_size = shadow_cfg->CalcRectTexSize() + shadow_cfg->GetRectTexPadding(); + atlas->ShadowRectIds[0] = atlas->AddCustomRectRegular(effective_size, effective_size); + atlas->ShadowRectIds[1] = atlas->AddCustomRectRegular(shadow_cfg->CalcConvexTexWidth() + shadow_cfg->GetConvexTexPadding(), shadow_cfg->CalcConvexTexHeight() + shadow_cfg->GetConvexTexPadding()); +} + +// Calculates the signed distance from sample_pos to the nearest point on the rectangle defined by rect_min->rect_max +static float DistanceFromRectangle(const ImVec2& sample_pos, const ImVec2& rect_min, const ImVec2& rect_max) +{ + ImVec2 rect_centre = (rect_min + rect_max) * 0.5f; + ImVec2 rect_half_size = (rect_max - rect_min) * 0.5f; + ImVec2 local_sample_pos = sample_pos - rect_centre; + ImVec2 axis_dist = ImVec2(ImFabs(local_sample_pos.x), ImFabs(local_sample_pos.y)) - rect_half_size; + float out_dist = ImLength(ImVec2(ImMax(axis_dist.x, 0.0f), ImMax(axis_dist.y, 0.0f)), 0.00001f); + float in_dist = ImMin(ImMax(axis_dist.x, axis_dist.y), 0.0f); + return out_dist + in_dist; +} + +// Calculates the signed distance from sample_pos to the point given +static float DistanceFromPoint(const ImVec2& sample_pos, const ImVec2& point) +{ + return ImLength(sample_pos - point, 0.0f); +} + +// Perform a single Gaussian blur pass with a fixed kernel size and sigma +static void GaussianBlurPass(float* src, float* dest, int size, bool horizontal) +{ + // See http://dev.theomader.com/gaussian-kernel-calculator/ + const float coefficients[] = { 0.0f, 0.0f, 0.000003f, 0.000229f, 0.005977f, 0.060598f, 0.24173f, 0.382925f, 0.24173f, 0.060598f, 0.005977f, 0.000229f, 0.000003f, 0.0f, 0.0f }; + const int kernel_size = IM_ARRAYSIZE(coefficients); + const int sample_step = horizontal ? 1 : size; + + float* read_ptr = src; + float* write_ptr = dest; + for (int y = 0; y < size; y++) + for (int x = 0; x < size; x++) + { + float result = 0.0f; + int current_offset = (horizontal ? x : y) - ((kernel_size - 1) >> 1); + float* sample_ptr = read_ptr - (((kernel_size - 1) >> 1) * sample_step); + for (int j = 0; j < kernel_size; j++) + { + if (current_offset >= 0 && current_offset < size) + result += (*sample_ptr) * coefficients[j]; + current_offset++; + sample_ptr += sample_step; + } + read_ptr++; + *(write_ptr++) = result; + } +} + +// Perform an in-place Gaussian blur of a square array of floats with a fixed kernel size and sigma +// Uses a stack allocation for the temporary data so potentially dangerous with large size values +static void GaussianBlur(float* data, int size) +{ + // Do two passes, one from data into temp and then the second back to data again + float* temp = (float*)alloca(size * size * sizeof(float)); + GaussianBlurPass(data, temp, size, true); + GaussianBlurPass(temp, data, size, false); +} + +// Generate the actual pixel data for rounded corners in the atlas +static void ImFontAtlasBuildRenderShadowTexData(ImFontAtlas* atlas) +{ + IM_ASSERT(atlas->TexPixelsAlpha8 != NULL || atlas->TexPixelsRGBA32 != NULL); + IM_ASSERT(atlas->ShadowRectIds[0] >= 0 && atlas->ShadowRectIds[1] >= 0); + + // Because of the blur, we have to generate the full 3x3 texture here, and then we chop that down to just the 2x2 section we need later. + // 'size' correspond to the our 3x3 size, whereas 'shadow_tex_size' correspond to our 2x2 version where duplicate mirrored corners are not stored. + const ImFontAtlasShadowTexConfig* shadow_cfg = &atlas->ShadowTexConfig; + + // The rectangular shadow texture + { + const int size = shadow_cfg->TexCornerSize + shadow_cfg->TexEdgeSize + shadow_cfg->TexCornerSize; + const int corner_size = shadow_cfg->TexCornerSize; + const int edge_size = shadow_cfg->TexEdgeSize; + + // The bounds of the rectangle we are generating the shadow from + const ImVec2 shadow_rect_min((float)corner_size, (float)corner_size); + const ImVec2 shadow_rect_max((float)(corner_size + edge_size), (float)(corner_size + edge_size)); + + // Remove the padding we added + ImFontAtlasCustomRect r = atlas->CustomRects[atlas->ShadowRectIds[0]]; + const int padding = shadow_cfg->GetRectTexPadding(); + r.X += (unsigned short)padding; + r.Y += (unsigned short)padding; + r.Width -= (unsigned short)padding * 2; + r.Height -= (unsigned short)padding * 2; + + // Generate distance field + // We draw the actual texture content by evaluating the distance field for the inner rectangle + float* tex_data = (float*)alloca(size * size * sizeof(float)); + for (int y = 0; y < size; y++) + for (int x = 0; x < size; x++) + { + float dist = DistanceFromRectangle(ImVec2((float)x, (float)y), shadow_rect_min, shadow_rect_max); + float alpha = 1.0f - ImMin(ImMax(dist + shadow_cfg->TexDistanceFieldOffset, 0.0f) / ImMax(shadow_cfg->TexCornerSize + shadow_cfg->TexDistanceFieldOffset, 0.001f), 1.0f); + alpha = ImPow(alpha, shadow_cfg->TexFalloffPower); // Apply power curve to give a nicer falloff + tex_data[x + (y * size)] = alpha; + } + + // Blur + if (shadow_cfg->TexBlur) + GaussianBlur(tex_data, size); + + // Copy to texture, truncating to the actual required texture size (the bottom/right of the source data is chopped off, as we don't need it - see below). The truncated size is essentially the top 2x2 of our data, plus a little bit of padding for sampling. + const int tex_w = atlas->TexWidth; + const int shadow_tex_size = shadow_cfg->CalcRectTexSize(); + for (int y = 0; y < shadow_tex_size; y++) + for (int x = 0; x < shadow_tex_size; x++) + { + const unsigned int offset = (int)(r.X + x) + (int)(r.Y + y) * tex_w; + const float alpha_f = tex_data[x + (y * size)]; + const unsigned char alpha_8 = (unsigned char)(0xFF * alpha_f); + if (atlas->TexPixelsAlpha8) + atlas->TexPixelsAlpha8[offset] = alpha_8; + else + atlas->TexPixelsRGBA32[offset] = IM_COL32(255, 255, 255, alpha_8); + } + + // Generate UVs for each of the nine sections, which are arranged in a 3x3 grid starting from 0 in the top-left and going across then down + for (int i = 0; i < 9; i++) + { + // The third row/column of the 3x3 grid are generated by flipping the appropriate chunks of the upper 2x2 grid. + bool flip_h = false; // Do we need to flip the UVs horizontally? + bool flip_v = false; // Do we need to flip the UVs vertically? + + ImFontAtlasCustomRect sub_rect = r; + switch (i % 3) + { + case 0: sub_rect.Width = (unsigned short)corner_size; break; + case 1: sub_rect.X += (unsigned short)corner_size; sub_rect.Width = (unsigned short)edge_size; break; + case 2: sub_rect.Width = (unsigned short)corner_size; flip_h = true; break; + } + + switch (i / 3) + { + case 0: sub_rect.Height = (unsigned short)corner_size; break; + case 1: sub_rect.Y += (unsigned short)corner_size; sub_rect.Height = (unsigned short)edge_size; break; + case 2: sub_rect.Height = (unsigned short)corner_size; flip_v = true; break; + } + + ImVec2 uv0, uv1; + atlas->CalcCustomRectUV(&sub_rect, &uv0, &uv1); + atlas->ShadowRectUvs[i] = ImVec4(flip_h ? uv1.x : uv0.x, flip_v ? uv1.y : uv0.y, flip_h ? uv0.x : uv1.x, flip_v ? uv0.y : uv1.y); + } + } + + // The convex shape shadow texture + { + const int size = shadow_cfg->TexCornerSize * 2; + const int padding = shadow_cfg->GetConvexTexPadding(); + + // Generate distance field + // We draw the actual texture content by evaluating the distance field for the distance from a center point + ImFontAtlasCustomRect r = atlas->CustomRects[atlas->ShadowRectIds[1]]; + ImVec2 center_point(size * 0.5f, size * 0.5f); + float* tex_data = (float*)alloca(size * size * sizeof(float)); + for (int y = 0; y < size; y++) + for (int x = 0; x < size; x++) + { + float dist = DistanceFromPoint(ImVec2((float)x, (float)y), center_point); + float alpha = 1.0f - ImMin(ImMax((float)dist + shadow_cfg->TexDistanceFieldOffset, 0.0f) / ImMax((float)shadow_cfg->TexCornerSize + shadow_cfg->TexDistanceFieldOffset, 0.001f), 1.0f); + alpha = ImPow(alpha, shadow_cfg->TexFalloffPower); // Apply power curve to give a nicer falloff + tex_data[x + (y * size)] = alpha; + } + + // Blur + if (shadow_cfg->TexBlur) + GaussianBlur(tex_data, size); + + // Copy to texture, truncating to the actual required texture size (the bottom/right of the source data is chopped off, as we don't need it - see below) + // We push the data down and right by the amount we padded the top of the texture (see CalcConvexTexWidth/CalcConvexTexHeight) for details + const int padded_size = (int)(shadow_cfg->TexCornerSize / ImCos(IM_PI * 0.25f)); + const int src_x_offset = padding + (padded_size - shadow_cfg->TexCornerSize); + const int src_y_offset = padding + (padded_size - shadow_cfg->TexCornerSize); + + const int tex_width = shadow_cfg->CalcConvexTexWidth(); + const int tex_height = shadow_cfg->CalcConvexTexHeight(); + const int tex_w = atlas->TexWidth; + for (int y = 0; y < tex_height; y++) + for (int x = 0; x < tex_width; x++) + { + const int src_x = ImClamp(x - src_x_offset, 0, size - 1); + const int src_y = ImClamp(y - src_y_offset, 0, size - 1); + const float alpha_f = tex_data[src_x + (src_y * size)]; + const unsigned char alpha_8 = (unsigned char)(0xFF * alpha_f); + const unsigned int offset = (int)(r.X + x) + (int)(r.Y + y) * tex_w; + if (atlas->TexPixelsAlpha8) + atlas->TexPixelsAlpha8[offset] = alpha_8; + else + atlas->TexPixelsRGBA32[offset] = IM_COL32(255, 255, 255, alpha_8); + } + + // Remove the padding we added + r.X += (unsigned short)padding; + r.Y += (unsigned short)padding; + r.Width = (unsigned short)(tex_width - (padding * 2)); + r.Height = (unsigned short)(tex_height - (padding * 2)); + + // Generate UVs + ImVec2 uv0, uv1; + atlas->CalcCustomRectUV(&r, &uv0, &uv1); + atlas->ShadowRectUvs[9] = ImVec4(uv0.x, uv0.y, uv1.x, uv1.y); + } +} + +// Note: this is called / shared by both the stb_truetype and the FreeType builder +void ImFontAtlasBuildInit(ImFontAtlas* atlas) +{ + // Register texture region for mouse cursors or standard white pixels + if (atlas->PackIdMouseCursors < 0) + { + if (!(atlas->Flags & ImFontAtlasFlags_NoMouseCursors)) + atlas->PackIdMouseCursors = atlas->AddCustomRectRegular(FONT_ATLAS_DEFAULT_TEX_DATA_W * 2 + 1, FONT_ATLAS_DEFAULT_TEX_DATA_H); + else + atlas->PackIdMouseCursors = atlas->AddCustomRectRegular(2, 2); + } + + // Register texture region for thick lines + // The +2 here is to give space for the end caps, whilst height +1 is to accommodate the fact we have a zero-width row + if (atlas->PackIdLines < 0) + { + if (!(atlas->Flags & ImFontAtlasFlags_NoBakedLines)) + atlas->PackIdLines = atlas->AddCustomRectRegular(IM_DRAWLIST_TEX_LINES_WIDTH_MAX + 2, IM_DRAWLIST_TEX_LINES_WIDTH_MAX + 1); + } + + ImFontAtlasBuildRegisterShadowCustomRects(atlas); +} + +// This is called/shared by both the stb_truetype and the FreeType builder. +void ImFontAtlasBuildFinish(ImFontAtlas* atlas) +{ + // Render into our custom data blocks + IM_ASSERT(atlas->TexPixelsAlpha8 != NULL || atlas->TexPixelsRGBA32 != NULL); + ImFontAtlasBuildRenderDefaultTexData(atlas); + ImFontAtlasBuildRenderLinesTexData(atlas); + ImFontAtlasBuildRenderShadowTexData(atlas); + + // Register custom rectangle glyphs + for (int i = 0; i < atlas->CustomRects.Size; i++) + { + const ImFontAtlasCustomRect* r = &atlas->CustomRects[i]; + if (r->Font == NULL || r->GlyphID == 0) + continue; + + // Will ignore ImFontConfig settings: GlyphMinAdvanceX, GlyphMinAdvanceY, PixelSnapH + IM_ASSERT(r->Font->ContainerAtlas == atlas); + ImVec2 uv0, uv1; + atlas->CalcCustomRectUV(r, &uv0, &uv1); + r->Font->AddGlyph(NULL, (ImWchar)r->GlyphID, r->GlyphOffset.x, r->GlyphOffset.y, r->GlyphOffset.x + r->Width, r->GlyphOffset.y + r->Height, uv0.x, uv0.y, uv1.x, uv1.y, r->GlyphAdvanceX); + if (r->GlyphColored) + r->Font->Glyphs.back().Colored = 1; + } + + // Build all fonts lookup tables + for (ImFont* font : atlas->Fonts) + if (font->DirtyLookupTables) + font->BuildLookupTable(); + + atlas->TexReady = true; +} + +//------------------------------------------------------------------------- +// [SECTION] ImFontAtlas: glyph ranges helpers +//------------------------------------------------------------------------- +// - GetGlyphRangesDefault() +// - GetGlyphRangesGreek() +// - GetGlyphRangesKorean() +// - GetGlyphRangesChineseFull() +// - GetGlyphRangesChineseSimplifiedCommon() +// - GetGlyphRangesJapanese() +// - GetGlyphRangesCyrillic() +// - GetGlyphRangesThai() +// - GetGlyphRangesVietnamese() +//----------------------------------------------------------------------------- + +// Retrieve list of range (2 int per range, values are inclusive) +const ImWchar* ImFontAtlas::GetGlyphRangesDefault() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0, + }; + return &ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesGreek() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0370, 0x03FF, // Greek and Coptic + 0, + }; + return &ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesKorean() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x3131, 0x3163, // Korean alphabets + 0xAC00, 0xD7A3, // Korean characters + 0xFFFD, 0xFFFD, // Invalid + 0, + }; + return &ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesChineseFull() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x2000, 0x206F, // General Punctuation + 0x3000, 0x30FF, // CJK Symbols and Punctuations, Hiragana, Katakana + 0x31F0, 0x31FF, // Katakana Phonetic Extensions + 0xFF00, 0xFFEF, // Half-width characters + 0xFFFD, 0xFFFD, // Invalid + 0x4e00, 0x9FAF, // CJK Ideograms + 0, + }; + return &ranges[0]; +} + +static void UnpackAccumulativeOffsetsIntoRanges(int base_codepoint, const short* accumulative_offsets, int accumulative_offsets_count, ImWchar* out_ranges) +{ + for (int n = 0; n < accumulative_offsets_count; n++, out_ranges += 2) + { + out_ranges[0] = out_ranges[1] = (ImWchar)(base_codepoint + accumulative_offsets[n]); + base_codepoint += accumulative_offsets[n]; + } + out_ranges[0] = 0; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesChineseSimplifiedCommon() +{ + // Store 2500 regularly used characters for Simplified Chinese. + // Sourced from https://zh.wiktionary.org/wiki/%E9%99%84%E5%BD%95:%E7%8E%B0%E4%BB%A3%E6%B1%89%E8%AF%AD%E5%B8%B8%E7%94%A8%E5%AD%97%E8%A1%A8 + // This table covers 97.97% of all characters used during the month in July, 1987. + // You can use ImFontGlyphRangesBuilder to create your own ranges derived from this, by merging existing ranges or adding new characters. + // (Stored as accumulative offsets from the initial unicode codepoint 0x4E00. This encoding is designed to helps us compact the source code size.) + static const short accumulative_offsets_from_0x4E00[] = + { + 0,1,2,4,1,1,1,1,2,1,3,2,1,2,2,1,1,1,1,1,5,2,1,2,3,3,3,2,2,4,1,1,1,2,1,5,2,3,1,2,1,2,1,1,2,1,1,2,2,1,4,1,1,1,1,5,10,1,2,19,2,1,2,1,2,1,2,1,2, + 1,5,1,6,3,2,1,2,2,1,1,1,4,8,5,1,1,4,1,1,3,1,2,1,5,1,2,1,1,1,10,1,1,5,2,4,6,1,4,2,2,2,12,2,1,1,6,1,1,1,4,1,1,4,6,5,1,4,2,2,4,10,7,1,1,4,2,4, + 2,1,4,3,6,10,12,5,7,2,14,2,9,1,1,6,7,10,4,7,13,1,5,4,8,4,1,1,2,28,5,6,1,1,5,2,5,20,2,2,9,8,11,2,9,17,1,8,6,8,27,4,6,9,20,11,27,6,68,2,2,1,1, + 1,2,1,2,2,7,6,11,3,3,1,1,3,1,2,1,1,1,1,1,3,1,1,8,3,4,1,5,7,2,1,4,4,8,4,2,1,2,1,1,4,5,6,3,6,2,12,3,1,3,9,2,4,3,4,1,5,3,3,1,3,7,1,5,1,1,1,1,2, + 3,4,5,2,3,2,6,1,1,2,1,7,1,7,3,4,5,15,2,2,1,5,3,22,19,2,1,1,1,1,2,5,1,1,1,6,1,1,12,8,2,9,18,22,4,1,1,5,1,16,1,2,7,10,15,1,1,6,2,4,1,2,4,1,6, + 1,1,3,2,4,1,6,4,5,1,2,1,1,2,1,10,3,1,3,2,1,9,3,2,5,7,2,19,4,3,6,1,1,1,1,1,4,3,2,1,1,1,2,5,3,1,1,1,2,2,1,1,2,1,1,2,1,3,1,1,1,3,7,1,4,1,1,2,1, + 1,2,1,2,4,4,3,8,1,1,1,2,1,3,5,1,3,1,3,4,6,2,2,14,4,6,6,11,9,1,15,3,1,28,5,2,5,5,3,1,3,4,5,4,6,14,3,2,3,5,21,2,7,20,10,1,2,19,2,4,28,28,2,3, + 2,1,14,4,1,26,28,42,12,40,3,52,79,5,14,17,3,2,2,11,3,4,6,3,1,8,2,23,4,5,8,10,4,2,7,3,5,1,1,6,3,1,2,2,2,5,28,1,1,7,7,20,5,3,29,3,17,26,1,8,4, + 27,3,6,11,23,5,3,4,6,13,24,16,6,5,10,25,35,7,3,2,3,3,14,3,6,2,6,1,4,2,3,8,2,1,1,3,3,3,4,1,1,13,2,2,4,5,2,1,14,14,1,2,2,1,4,5,2,3,1,14,3,12, + 3,17,2,16,5,1,2,1,8,9,3,19,4,2,2,4,17,25,21,20,28,75,1,10,29,103,4,1,2,1,1,4,2,4,1,2,3,24,2,2,2,1,1,2,1,3,8,1,1,1,2,1,1,3,1,1,1,6,1,5,3,1,1, + 1,3,4,1,1,5,2,1,5,6,13,9,16,1,1,1,1,3,2,3,2,4,5,2,5,2,2,3,7,13,7,2,2,1,1,1,1,2,3,3,2,1,6,4,9,2,1,14,2,14,2,1,18,3,4,14,4,11,41,15,23,15,23, + 176,1,3,4,1,1,1,1,5,3,1,2,3,7,3,1,1,2,1,2,4,4,6,2,4,1,9,7,1,10,5,8,16,29,1,1,2,2,3,1,3,5,2,4,5,4,1,1,2,2,3,3,7,1,6,10,1,17,1,44,4,6,2,1,1,6, + 5,4,2,10,1,6,9,2,8,1,24,1,2,13,7,8,8,2,1,4,1,3,1,3,3,5,2,5,10,9,4,9,12,2,1,6,1,10,1,1,7,7,4,10,8,3,1,13,4,3,1,6,1,3,5,2,1,2,17,16,5,2,16,6, + 1,4,2,1,3,3,6,8,5,11,11,1,3,3,2,4,6,10,9,5,7,4,7,4,7,1,1,4,2,1,3,6,8,7,1,6,11,5,5,3,24,9,4,2,7,13,5,1,8,82,16,61,1,1,1,4,2,2,16,10,3,8,1,1, + 6,4,2,1,3,1,1,1,4,3,8,4,2,2,1,1,1,1,1,6,3,5,1,1,4,6,9,2,1,1,1,2,1,7,2,1,6,1,5,4,4,3,1,8,1,3,3,1,3,2,2,2,2,3,1,6,1,2,1,2,1,3,7,1,8,2,1,2,1,5, + 2,5,3,5,10,1,2,1,1,3,2,5,11,3,9,3,5,1,1,5,9,1,2,1,5,7,9,9,8,1,3,3,3,6,8,2,3,2,1,1,32,6,1,2,15,9,3,7,13,1,3,10,13,2,14,1,13,10,2,1,3,10,4,15, + 2,15,15,10,1,3,9,6,9,32,25,26,47,7,3,2,3,1,6,3,4,3,2,8,5,4,1,9,4,2,2,19,10,6,2,3,8,1,2,2,4,2,1,9,4,4,4,6,4,8,9,2,3,1,1,1,1,3,5,5,1,3,8,4,6, + 2,1,4,12,1,5,3,7,13,2,5,8,1,6,1,2,5,14,6,1,5,2,4,8,15,5,1,23,6,62,2,10,1,1,8,1,2,2,10,4,2,2,9,2,1,1,3,2,3,1,5,3,3,2,1,3,8,1,1,1,11,3,1,1,4, + 3,7,1,14,1,2,3,12,5,2,5,1,6,7,5,7,14,11,1,3,1,8,9,12,2,1,11,8,4,4,2,6,10,9,13,1,1,3,1,5,1,3,2,4,4,1,18,2,3,14,11,4,29,4,2,7,1,3,13,9,2,2,5, + 3,5,20,7,16,8,5,72,34,6,4,22,12,12,28,45,36,9,7,39,9,191,1,1,1,4,11,8,4,9,2,3,22,1,1,1,1,4,17,1,7,7,1,11,31,10,2,4,8,2,3,2,1,4,2,16,4,32,2, + 3,19,13,4,9,1,5,2,14,8,1,1,3,6,19,6,5,1,16,6,2,10,8,5,1,2,3,1,5,5,1,11,6,6,1,3,3,2,6,3,8,1,1,4,10,7,5,7,7,5,8,9,2,1,3,4,1,1,3,1,3,3,2,6,16, + 1,4,6,3,1,10,6,1,3,15,2,9,2,10,25,13,9,16,6,2,2,10,11,4,3,9,1,2,6,6,5,4,30,40,1,10,7,12,14,33,6,3,6,7,3,1,3,1,11,14,4,9,5,12,11,49,18,51,31, + 140,31,2,2,1,5,1,8,1,10,1,4,4,3,24,1,10,1,3,6,6,16,3,4,5,2,1,4,2,57,10,6,22,2,22,3,7,22,6,10,11,36,18,16,33,36,2,5,5,1,1,1,4,10,1,4,13,2,7, + 5,2,9,3,4,1,7,43,3,7,3,9,14,7,9,1,11,1,1,3,7,4,18,13,1,14,1,3,6,10,73,2,2,30,6,1,11,18,19,13,22,3,46,42,37,89,7,3,16,34,2,2,3,9,1,7,1,1,1,2, + 2,4,10,7,3,10,3,9,5,28,9,2,6,13,7,3,1,3,10,2,7,2,11,3,6,21,54,85,2,1,4,2,2,1,39,3,21,2,2,5,1,1,1,4,1,1,3,4,15,1,3,2,4,4,2,3,8,2,20,1,8,7,13, + 4,1,26,6,2,9,34,4,21,52,10,4,4,1,5,12,2,11,1,7,2,30,12,44,2,30,1,1,3,6,16,9,17,39,82,2,2,24,7,1,7,3,16,9,14,44,2,1,2,1,2,3,5,2,4,1,6,7,5,3, + 2,6,1,11,5,11,2,1,18,19,8,1,3,24,29,2,1,3,5,2,2,1,13,6,5,1,46,11,3,5,1,1,5,8,2,10,6,12,6,3,7,11,2,4,16,13,2,5,1,1,2,2,5,2,28,5,2,23,10,8,4, + 4,22,39,95,38,8,14,9,5,1,13,5,4,3,13,12,11,1,9,1,27,37,2,5,4,4,63,211,95,2,2,2,1,3,5,2,1,1,2,2,1,1,1,3,2,4,1,2,1,1,5,2,2,1,1,2,3,1,3,1,1,1, + 3,1,4,2,1,3,6,1,1,3,7,15,5,3,2,5,3,9,11,4,2,22,1,6,3,8,7,1,4,28,4,16,3,3,25,4,4,27,27,1,4,1,2,2,7,1,3,5,2,28,8,2,14,1,8,6,16,25,3,3,3,14,3, + 3,1,1,2,1,4,6,3,8,4,1,1,1,2,3,6,10,6,2,3,18,3,2,5,5,4,3,1,5,2,5,4,23,7,6,12,6,4,17,11,9,5,1,1,10,5,12,1,1,11,26,33,7,3,6,1,17,7,1,5,12,1,11, + 2,4,1,8,14,17,23,1,2,1,7,8,16,11,9,6,5,2,6,4,16,2,8,14,1,11,8,9,1,1,1,9,25,4,11,19,7,2,15,2,12,8,52,7,5,19,2,16,4,36,8,1,16,8,24,26,4,6,2,9, + 5,4,36,3,28,12,25,15,37,27,17,12,59,38,5,32,127,1,2,9,17,14,4,1,2,1,1,8,11,50,4,14,2,19,16,4,17,5,4,5,26,12,45,2,23,45,104,30,12,8,3,10,2,2, + 3,3,1,4,20,7,2,9,6,15,2,20,1,3,16,4,11,15,6,134,2,5,59,1,2,2,2,1,9,17,3,26,137,10,211,59,1,2,4,1,4,1,1,1,2,6,2,3,1,1,2,3,2,3,1,3,4,4,2,3,3, + 1,4,3,1,7,2,2,3,1,2,1,3,3,3,2,2,3,2,1,3,14,6,1,3,2,9,6,15,27,9,34,145,1,1,2,1,1,1,1,2,1,1,1,1,2,2,2,3,1,2,1,1,1,2,3,5,8,3,5,2,4,1,3,2,2,2,12, + 4,1,1,1,10,4,5,1,20,4,16,1,15,9,5,12,2,9,2,5,4,2,26,19,7,1,26,4,30,12,15,42,1,6,8,172,1,1,4,2,1,1,11,2,2,4,2,1,2,1,10,8,1,2,1,4,5,1,2,5,1,8, + 4,1,3,4,2,1,6,2,1,3,4,1,2,1,1,1,1,12,5,7,2,4,3,1,1,1,3,3,6,1,2,2,3,3,3,2,1,2,12,14,11,6,6,4,12,2,8,1,7,10,1,35,7,4,13,15,4,3,23,21,28,52,5, + 26,5,6,1,7,10,2,7,53,3,2,1,1,1,2,163,532,1,10,11,1,3,3,4,8,2,8,6,2,2,23,22,4,2,2,4,2,1,3,1,3,3,5,9,8,2,1,2,8,1,10,2,12,21,20,15,105,2,3,1,1, + 3,2,3,1,1,2,5,1,4,15,11,19,1,1,1,1,5,4,5,1,1,2,5,3,5,12,1,2,5,1,11,1,1,15,9,1,4,5,3,26,8,2,1,3,1,1,15,19,2,12,1,2,5,2,7,2,19,2,20,6,26,7,5, + 2,2,7,34,21,13,70,2,128,1,1,2,1,1,2,1,1,3,2,2,2,15,1,4,1,3,4,42,10,6,1,49,85,8,1,2,1,1,4,4,2,3,6,1,5,7,4,3,211,4,1,2,1,2,5,1,2,4,2,2,6,5,6, + 10,3,4,48,100,6,2,16,296,5,27,387,2,2,3,7,16,8,5,38,15,39,21,9,10,3,7,59,13,27,21,47,5,21,6 + }; + static ImWchar base_ranges[] = // not zero-terminated + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x2000, 0x206F, // General Punctuation + 0x3000, 0x30FF, // CJK Symbols and Punctuations, Hiragana, Katakana + 0x31F0, 0x31FF, // Katakana Phonetic Extensions + 0xFF00, 0xFFEF, // Half-width characters + 0xFFFD, 0xFFFD // Invalid + }; + static ImWchar full_ranges[IM_ARRAYSIZE(base_ranges) + IM_ARRAYSIZE(accumulative_offsets_from_0x4E00) * 2 + 1] = { 0 }; + if (!full_ranges[0]) + { + memcpy(full_ranges, base_ranges, sizeof(base_ranges)); + UnpackAccumulativeOffsetsIntoRanges(0x4E00, accumulative_offsets_from_0x4E00, IM_ARRAYSIZE(accumulative_offsets_from_0x4E00), full_ranges + IM_ARRAYSIZE(base_ranges)); + } + return &full_ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesJapanese() +{ + // 2999 ideograms code points for Japanese + // - 2136 Joyo (meaning "for regular use" or "for common use") Kanji code points + // - 863 Jinmeiyo (meaning "for personal name") Kanji code points + // - Sourced from official information provided by the government agencies of Japan: + // - List of Joyo Kanji by the Agency for Cultural Affairs + // - https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kijun/naikaku/kanji/ + // - List of Jinmeiyo Kanji by the Ministry of Justice + // - http://www.moj.go.jp/MINJI/minji86.html + // - Available under the terms of the Creative Commons Attribution 4.0 International (CC BY 4.0). + // - https://creativecommons.org/licenses/by/4.0/legalcode + // - You can generate this code by the script at: + // - https://github.com/vaiorabbit/everyday_use_kanji + // - References: + // - List of Joyo Kanji + // - (Wikipedia) https://en.wikipedia.org/wiki/List_of_j%C5%8Dy%C5%8D_kanji + // - List of Jinmeiyo Kanji + // - (Wikipedia) https://en.wikipedia.org/wiki/Jinmeiy%C5%8D_kanji + // - Missing 1 Joyo Kanji: U+20B9F (Kun'yomi: Shikaru, On'yomi: Shitsu,shichi), see https://github.com/ocornut/imgui/pull/3627 for details. + // You can use ImFontGlyphRangesBuilder to create your own ranges derived from this, by merging existing ranges or adding new characters. + // (Stored as accumulative offsets from the initial unicode codepoint 0x4E00. This encoding is designed to helps us compact the source code size.) + static const short accumulative_offsets_from_0x4E00[] = + { + 0,1,2,4,1,1,1,1,2,1,3,3,2,2,1,5,3,5,7,5,6,1,2,1,7,2,6,3,1,8,1,1,4,1,1,18,2,11,2,6,2,1,2,1,5,1,2,1,3,1,2,1,2,3,3,1,1,2,3,1,1,1,12,7,9,1,4,5,1, + 1,2,1,10,1,1,9,2,2,4,5,6,9,3,1,1,1,1,9,3,18,5,2,2,2,2,1,6,3,7,1,1,1,1,2,2,4,2,1,23,2,10,4,3,5,2,4,10,2,4,13,1,6,1,9,3,1,1,6,6,7,6,3,1,2,11,3, + 2,2,3,2,15,2,2,5,4,3,6,4,1,2,5,2,12,16,6,13,9,13,2,1,1,7,16,4,7,1,19,1,5,1,2,2,7,7,8,2,6,5,4,9,18,7,4,5,9,13,11,8,15,2,1,1,1,2,1,2,2,1,2,2,8, + 2,9,3,3,1,1,4,4,1,1,1,4,9,1,4,3,5,5,2,7,5,3,4,8,2,1,13,2,3,3,1,14,1,1,4,5,1,3,6,1,5,2,1,1,3,3,3,3,1,1,2,7,6,6,7,1,4,7,6,1,1,1,1,1,12,3,3,9,5, + 2,6,1,5,6,1,2,3,18,2,4,14,4,1,3,6,1,1,6,3,5,5,3,2,2,2,2,12,3,1,4,2,3,2,3,11,1,7,4,1,2,1,3,17,1,9,1,24,1,1,4,2,2,4,1,2,7,1,1,1,3,1,2,2,4,15,1, + 1,2,1,1,2,1,5,2,5,20,2,5,9,1,10,8,7,6,1,1,1,1,1,1,6,2,1,2,8,1,1,1,1,5,1,1,3,1,1,1,1,3,1,1,12,4,1,3,1,1,1,1,1,10,3,1,7,5,13,1,2,3,4,6,1,1,30, + 2,9,9,1,15,38,11,3,1,8,24,7,1,9,8,10,2,1,9,31,2,13,6,2,9,4,49,5,2,15,2,1,10,2,1,1,1,2,2,6,15,30,35,3,14,18,8,1,16,10,28,12,19,45,38,1,3,2,3, + 13,2,1,7,3,6,5,3,4,3,1,5,7,8,1,5,3,18,5,3,6,1,21,4,24,9,24,40,3,14,3,21,3,2,1,2,4,2,3,1,15,15,6,5,1,1,3,1,5,6,1,9,7,3,3,2,1,4,3,8,21,5,16,4, + 5,2,10,11,11,3,6,3,2,9,3,6,13,1,2,1,1,1,1,11,12,6,6,1,4,2,6,5,2,1,1,3,3,6,13,3,1,1,5,1,2,3,3,14,2,1,2,2,2,5,1,9,5,1,1,6,12,3,12,3,4,13,2,14, + 2,8,1,17,5,1,16,4,2,2,21,8,9,6,23,20,12,25,19,9,38,8,3,21,40,25,33,13,4,3,1,4,1,2,4,1,2,5,26,2,1,1,2,1,3,6,2,1,1,1,1,1,1,2,3,1,1,1,9,2,3,1,1, + 1,3,6,3,2,1,1,6,6,1,8,2,2,2,1,4,1,2,3,2,7,3,2,4,1,2,1,2,2,1,1,1,1,1,3,1,2,5,4,10,9,4,9,1,1,1,1,1,1,5,3,2,1,6,4,9,6,1,10,2,31,17,8,3,7,5,40,1, + 7,7,1,6,5,2,10,7,8,4,15,39,25,6,28,47,18,10,7,1,3,1,1,2,1,1,1,3,3,3,1,1,1,3,4,2,1,4,1,3,6,10,7,8,6,2,2,1,3,3,2,5,8,7,9,12,2,15,1,1,4,1,2,1,1, + 1,3,2,1,3,3,5,6,2,3,2,10,1,4,2,8,1,1,1,11,6,1,21,4,16,3,1,3,1,4,2,3,6,5,1,3,1,1,3,3,4,6,1,1,10,4,2,7,10,4,7,4,2,9,4,3,1,1,1,4,1,8,3,4,1,3,1, + 6,1,4,2,1,4,7,2,1,8,1,4,5,1,1,2,2,4,6,2,7,1,10,1,1,3,4,11,10,8,21,4,6,1,3,5,2,1,2,28,5,5,2,3,13,1,2,3,1,4,2,1,5,20,3,8,11,1,3,3,3,1,8,10,9,2, + 10,9,2,3,1,1,2,4,1,8,3,6,1,7,8,6,11,1,4,29,8,4,3,1,2,7,13,1,4,1,6,2,6,12,12,2,20,3,2,3,6,4,8,9,2,7,34,5,1,18,6,1,1,4,4,5,7,9,1,2,2,4,3,4,1,7, + 2,2,2,6,2,3,25,5,3,6,1,4,6,7,4,2,1,4,2,13,6,4,4,3,1,5,3,4,4,3,2,1,1,4,1,2,1,1,3,1,11,1,6,3,1,7,3,6,2,8,8,6,9,3,4,11,3,2,10,12,2,5,11,1,6,4,5, + 3,1,8,5,4,6,6,3,5,1,1,3,2,1,2,2,6,17,12,1,10,1,6,12,1,6,6,19,9,6,16,1,13,4,4,15,7,17,6,11,9,15,12,6,7,2,1,2,2,15,9,3,21,4,6,49,18,7,3,2,3,1, + 6,8,2,2,6,2,9,1,3,6,4,4,1,2,16,2,5,2,1,6,2,3,5,3,1,2,5,1,2,1,9,3,1,8,6,4,8,11,3,1,1,1,1,3,1,13,8,4,1,3,2,2,1,4,1,11,1,5,2,1,5,2,5,8,6,1,1,7, + 4,3,8,3,2,7,2,1,5,1,5,2,4,7,6,2,8,5,1,11,4,5,3,6,18,1,2,13,3,3,1,21,1,1,4,1,4,1,1,1,8,1,2,2,7,1,2,4,2,2,9,2,1,1,1,4,3,6,3,12,5,1,1,1,5,6,3,2, + 4,8,2,2,4,2,7,1,8,9,5,2,3,2,1,3,2,13,7,14,6,5,1,1,2,1,4,2,23,2,1,1,6,3,1,4,1,15,3,1,7,3,9,14,1,3,1,4,1,1,5,8,1,3,8,3,8,15,11,4,14,4,4,2,5,5, + 1,7,1,6,14,7,7,8,5,15,4,8,6,5,6,2,1,13,1,20,15,11,9,2,5,6,2,11,2,6,2,5,1,5,8,4,13,19,25,4,1,1,11,1,34,2,5,9,14,6,2,2,6,1,1,14,1,3,14,13,1,6, + 12,21,14,14,6,32,17,8,32,9,28,1,2,4,11,8,3,1,14,2,5,15,1,1,1,1,3,6,4,1,3,4,11,3,1,1,11,30,1,5,1,4,1,5,8,1,1,3,2,4,3,17,35,2,6,12,17,3,1,6,2, + 1,1,12,2,7,3,3,2,1,16,2,8,3,6,5,4,7,3,3,8,1,9,8,5,1,2,1,3,2,8,1,2,9,12,1,1,2,3,8,3,24,12,4,3,7,5,8,3,3,3,3,3,3,1,23,10,3,1,2,2,6,3,1,16,1,16, + 22,3,10,4,11,6,9,7,7,3,6,2,2,2,4,10,2,1,1,2,8,7,1,6,4,1,3,3,3,5,10,12,12,2,3,12,8,15,1,1,16,6,6,1,5,9,11,4,11,4,2,6,12,1,17,5,13,1,4,9,5,1,11, + 2,1,8,1,5,7,28,8,3,5,10,2,17,3,38,22,1,2,18,12,10,4,38,18,1,4,44,19,4,1,8,4,1,12,1,4,31,12,1,14,7,75,7,5,10,6,6,13,3,2,11,11,3,2,5,28,15,6,18, + 18,5,6,4,3,16,1,7,18,7,36,3,5,3,1,7,1,9,1,10,7,2,4,2,6,2,9,7,4,3,32,12,3,7,10,2,23,16,3,1,12,3,31,4,11,1,3,8,9,5,1,30,15,6,12,3,2,2,11,19,9, + 14,2,6,2,3,19,13,17,5,3,3,25,3,14,1,1,1,36,1,3,2,19,3,13,36,9,13,31,6,4,16,34,2,5,4,2,3,3,5,1,1,1,4,3,1,17,3,2,3,5,3,1,3,2,3,5,6,3,12,11,1,3, + 1,2,26,7,12,7,2,14,3,3,7,7,11,25,25,28,16,4,36,1,2,1,6,2,1,9,3,27,17,4,3,4,13,4,1,3,2,2,1,10,4,2,4,6,3,8,2,1,18,1,1,24,2,2,4,33,2,3,63,7,1,6, + 40,7,3,4,4,2,4,15,18,1,16,1,1,11,2,41,14,1,3,18,13,3,2,4,16,2,17,7,15,24,7,18,13,44,2,2,3,6,1,1,7,5,1,7,1,4,3,3,5,10,8,2,3,1,8,1,1,27,4,2,1, + 12,1,2,1,10,6,1,6,7,5,2,3,7,11,5,11,3,6,6,2,3,15,4,9,1,1,2,1,2,11,2,8,12,8,5,4,2,3,1,5,2,2,1,14,1,12,11,4,1,11,17,17,4,3,2,5,5,7,3,1,5,9,9,8, + 2,5,6,6,13,13,2,1,2,6,1,2,2,49,4,9,1,2,10,16,7,8,4,3,2,23,4,58,3,29,1,14,19,19,11,11,2,7,5,1,3,4,6,2,18,5,12,12,17,17,3,3,2,4,1,6,2,3,4,3,1, + 1,1,1,5,1,1,9,1,3,1,3,6,1,8,1,1,2,6,4,14,3,1,4,11,4,1,3,32,1,2,4,13,4,1,2,4,2,1,3,1,11,1,4,2,1,4,4,6,3,5,1,6,5,7,6,3,23,3,5,3,5,3,3,13,3,9,10, + 1,12,10,2,3,18,13,7,160,52,4,2,2,3,2,14,5,4,12,4,6,4,1,20,4,11,6,2,12,27,1,4,1,2,2,7,4,5,2,28,3,7,25,8,3,19,3,6,10,2,2,1,10,2,5,4,1,3,4,1,5, + 3,2,6,9,3,6,2,16,3,3,16,4,5,5,3,2,1,2,16,15,8,2,6,21,2,4,1,22,5,8,1,1,21,11,2,1,11,11,19,13,12,4,2,3,2,3,6,1,8,11,1,4,2,9,5,2,1,11,2,9,1,1,2, + 14,31,9,3,4,21,14,4,8,1,7,2,2,2,5,1,4,20,3,3,4,10,1,11,9,8,2,1,4,5,14,12,14,2,17,9,6,31,4,14,1,20,13,26,5,2,7,3,6,13,2,4,2,19,6,2,2,18,9,3,5, + 12,12,14,4,6,2,3,6,9,5,22,4,5,25,6,4,8,5,2,6,27,2,35,2,16,3,7,8,8,6,6,5,9,17,2,20,6,19,2,13,3,1,1,1,4,17,12,2,14,7,1,4,18,12,38,33,2,10,1,1, + 2,13,14,17,11,50,6,33,20,26,74,16,23,45,50,13,38,33,6,6,7,4,4,2,1,3,2,5,8,7,8,9,3,11,21,9,13,1,3,10,6,7,1,2,2,18,5,5,1,9,9,2,68,9,19,13,2,5, + 1,4,4,7,4,13,3,9,10,21,17,3,26,2,1,5,2,4,5,4,1,7,4,7,3,4,2,1,6,1,1,20,4,1,9,2,2,1,3,3,2,3,2,1,1,1,20,2,3,1,6,2,3,6,2,4,8,1,3,2,10,3,5,3,4,4, + 3,4,16,1,6,1,10,2,4,2,1,1,2,10,11,2,2,3,1,24,31,4,10,10,2,5,12,16,164,15,4,16,7,9,15,19,17,1,2,1,1,5,1,1,1,1,1,3,1,4,3,1,3,1,3,1,2,1,1,3,3,7, + 2,8,1,2,2,2,1,3,4,3,7,8,12,92,2,10,3,1,3,14,5,25,16,42,4,7,7,4,2,21,5,27,26,27,21,25,30,31,2,1,5,13,3,22,5,6,6,11,9,12,1,5,9,7,5,5,22,60,3,5, + 13,1,1,8,1,1,3,3,2,1,9,3,3,18,4,1,2,3,7,6,3,1,2,3,9,1,3,1,3,2,1,3,1,1,1,2,1,11,3,1,6,9,1,3,2,3,1,2,1,5,1,1,4,3,4,1,2,2,4,4,1,7,2,1,2,2,3,5,13, + 18,3,4,14,9,9,4,16,3,7,5,8,2,6,48,28,3,1,1,4,2,14,8,2,9,2,1,15,2,4,3,2,10,16,12,8,7,1,1,3,1,1,1,2,7,4,1,6,4,38,39,16,23,7,15,15,3,2,12,7,21, + 37,27,6,5,4,8,2,10,8,8,6,5,1,2,1,3,24,1,16,17,9,23,10,17,6,1,51,55,44,13,294,9,3,6,2,4,2,2,15,1,1,1,13,21,17,68,14,8,9,4,1,4,9,3,11,7,1,1,1, + 5,6,3,2,1,1,1,2,3,8,1,2,2,4,1,5,5,2,1,4,3,7,13,4,1,4,1,3,1,1,1,5,5,10,1,6,1,5,2,1,5,2,4,1,4,5,7,3,18,2,9,11,32,4,3,3,2,4,7,11,16,9,11,8,13,38, + 32,8,4,2,1,1,2,1,2,4,4,1,1,1,4,1,21,3,11,1,16,1,1,6,1,3,2,4,9,8,57,7,44,1,3,3,13,3,10,1,1,7,5,2,7,21,47,63,3,15,4,7,1,16,1,1,2,8,2,3,42,15,4, + 1,29,7,22,10,3,78,16,12,20,18,4,67,11,5,1,3,15,6,21,31,32,27,18,13,71,35,5,142,4,10,1,2,50,19,33,16,35,37,16,19,27,7,1,133,19,1,4,8,7,20,1,4, + 4,1,10,3,1,6,1,2,51,5,40,15,24,43,22928,11,1,13,154,70,3,1,1,7,4,10,1,2,1,1,2,1,2,1,2,2,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1, + 3,2,1,1,1,1,2,1,1, + }; + static ImWchar base_ranges[] = // not zero-terminated + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x3000, 0x30FF, // CJK Symbols and Punctuations, Hiragana, Katakana + 0x31F0, 0x31FF, // Katakana Phonetic Extensions + 0xFF00, 0xFFEF, // Half-width characters + 0xFFFD, 0xFFFD // Invalid + }; + static ImWchar full_ranges[IM_ARRAYSIZE(base_ranges) + IM_ARRAYSIZE(accumulative_offsets_from_0x4E00)*2 + 1] = { 0 }; + if (!full_ranges[0]) + { + memcpy(full_ranges, base_ranges, sizeof(base_ranges)); + UnpackAccumulativeOffsetsIntoRanges(0x4E00, accumulative_offsets_from_0x4E00, IM_ARRAYSIZE(accumulative_offsets_from_0x4E00), full_ranges + IM_ARRAYSIZE(base_ranges)); + } + return &full_ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesCyrillic() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0400, 0x052F, // Cyrillic + Cyrillic Supplement + 0x2DE0, 0x2DFF, // Cyrillic Extended-A + 0xA640, 0xA69F, // Cyrillic Extended-B + 0, + }; + return &ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesThai() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + 0x2010, 0x205E, // Punctuations + 0x0E00, 0x0E7F, // Thai + 0, + }; + return &ranges[0]; +} + +const ImWchar* ImFontAtlas::GetGlyphRangesVietnamese() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + 0x0102, 0x0103, + 0x0110, 0x0111, + 0x0128, 0x0129, + 0x0168, 0x0169, + 0x01A0, 0x01A1, + 0x01AF, 0x01B0, + 0x1EA0, 0x1EF9, + 0, + }; + return &ranges[0]; +} + +//----------------------------------------------------------------------------- +// [SECTION] ImFontGlyphRangesBuilder +//----------------------------------------------------------------------------- + +void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) +{ + while (text_end ? (text < text_end) : *text) + { + unsigned int c = 0; + int c_len = ImTextCharFromUtf8(&c, text, text_end); + text += c_len; + if (c_len == 0) + break; + AddChar((ImWchar)c); + } +} + +void ImFontGlyphRangesBuilder::AddRanges(const ImWchar* ranges) +{ + for (; ranges[0]; ranges += 2) + for (unsigned int c = ranges[0]; c <= ranges[1] && c <= IM_UNICODE_CODEPOINT_MAX; c++) //-V560 + AddChar((ImWchar)c); +} + +void ImFontGlyphRangesBuilder::BuildRanges(ImVector* out_ranges) +{ + const int max_codepoint = IM_UNICODE_CODEPOINT_MAX; + for (int n = 0; n <= max_codepoint; n++) + if (GetBit(n)) + { + out_ranges->push_back((ImWchar)n); + while (n < max_codepoint && GetBit(n + 1)) + n++; + out_ranges->push_back((ImWchar)n); + } + out_ranges->push_back(0); +} + +//----------------------------------------------------------------------------- +// [SECTION] ImFont +//----------------------------------------------------------------------------- + +ImFont::ImFont() +{ + memset(this, 0, sizeof(*this)); + Scale = 1.0f; +} + +ImFont::~ImFont() +{ + ClearOutputData(); +} + +void ImFont::ClearOutputData() +{ + FontSize = 0.0f; + FallbackAdvanceX = 0.0f; + Glyphs.clear(); + IndexAdvanceX.clear(); + IndexLookup.clear(); + FallbackGlyph = NULL; + ContainerAtlas = NULL; + DirtyLookupTables = true; + Ascent = Descent = 0.0f; + MetricsTotalSurface = 0; + memset(Used8kPagesMap, 0, sizeof(Used8kPagesMap)); +} + +static ImWchar FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count) +{ + for (int n = 0; n < candidate_chars_count; n++) + if (font->FindGlyphNoFallback(candidate_chars[n]) != NULL) + return candidate_chars[n]; + return 0; +} + +void ImFont::BuildLookupTable() +{ + int max_codepoint = 0; + for (int i = 0; i != Glyphs.Size; i++) + max_codepoint = ImMax(max_codepoint, (int)Glyphs[i].Codepoint); + + // Build lookup table + IM_ASSERT(Glyphs.Size > 0 && "Font has not loaded glyph!"); + IM_ASSERT(Glyphs.Size < 0xFFFF); // -1 is reserved + IndexAdvanceX.clear(); + IndexLookup.clear(); + DirtyLookupTables = false; + memset(Used8kPagesMap, 0, sizeof(Used8kPagesMap)); + GrowIndex(max_codepoint + 1); + for (int i = 0; i < Glyphs.Size; i++) + { + int codepoint = (int)Glyphs[i].Codepoint; + IndexAdvanceX[codepoint] = Glyphs[i].AdvanceX; + IndexLookup[codepoint] = (ImU16)i; + + // Mark 4K page as used + const int page_n = codepoint / 8192; + Used8kPagesMap[page_n >> 3] |= 1 << (page_n & 7); + } + + // Create a glyph to handle TAB + // FIXME: Needs proper TAB handling but it needs to be contextualized (or we could arbitrary say that each string starts at "column 0" ?) + if (FindGlyph((ImWchar)' ')) + { + if (Glyphs.back().Codepoint != '\t') // So we can call this function multiple times (FIXME: Flaky) + Glyphs.resize(Glyphs.Size + 1); + ImFontGlyph& tab_glyph = Glyphs.back(); + tab_glyph = *FindGlyph((ImWchar)' '); + tab_glyph.Codepoint = '\t'; + tab_glyph.AdvanceX *= IM_TABSIZE; + IndexAdvanceX[(int)tab_glyph.Codepoint] = (float)tab_glyph.AdvanceX; + IndexLookup[(int)tab_glyph.Codepoint] = (ImU16)(Glyphs.Size - 1); + } + + // Mark special glyphs as not visible (note that AddGlyph already mark as non-visible glyphs with zero-size polygons) + if (ImFontGlyph* glyph = (ImFontGlyph*)(void*)FindGlyph((ImWchar)' ')) + glyph->Visible = false; + if (ImFontGlyph* glyph = (ImFontGlyph*)(void*)FindGlyph((ImWchar)'\t')) + glyph->Visible = false; + + // Setup Fallback character + const ImWchar fallback_chars[] = { (ImWchar)IM_UNICODE_CODEPOINT_INVALID, (ImWchar)'?', (ImWchar)' ' }; + FallbackGlyph = FindGlyphNoFallback(FallbackChar); + if (FallbackGlyph == NULL) + { + FallbackChar = FindFirstExistingGlyph(this, fallback_chars, IM_ARRAYSIZE(fallback_chars)); + FallbackGlyph = FindGlyphNoFallback(FallbackChar); + if (FallbackGlyph == NULL) + { + FallbackGlyph = &Glyphs.back(); + FallbackChar = (ImWchar)FallbackGlyph->Codepoint; + } + } + FallbackAdvanceX = FallbackGlyph->AdvanceX; + for (int i = 0; i < max_codepoint + 1; i++) + if (IndexAdvanceX[i] < 0.0f) + IndexAdvanceX[i] = FallbackAdvanceX; + + // Setup Ellipsis character. It is required for rendering elided text. We prefer using U+2026 (horizontal ellipsis). + // However some old fonts may contain ellipsis at U+0085. Here we auto-detect most suitable ellipsis character. + // FIXME: Note that 0x2026 is rarely included in our font ranges. Because of this we are more likely to use three individual dots. + const ImWchar ellipsis_chars[] = { Sources->EllipsisChar, (ImWchar)0x2026, (ImWchar)0x0085 }; + const ImWchar dots_chars[] = { (ImWchar)'.', (ImWchar)0xFF0E }; + if (EllipsisChar == 0) + EllipsisChar = FindFirstExistingGlyph(this, ellipsis_chars, IM_ARRAYSIZE(ellipsis_chars)); + const ImWchar dot_char = FindFirstExistingGlyph(this, dots_chars, IM_ARRAYSIZE(dots_chars)); + if (EllipsisChar != 0) + { + EllipsisCharCount = 1; + EllipsisWidth = EllipsisCharStep = FindGlyph(EllipsisChar)->X1; + } + else if (dot_char != 0) + { + const ImFontGlyph* dot_glyph = FindGlyph(dot_char); + EllipsisChar = dot_char; + EllipsisCharCount = 3; + EllipsisCharStep = (float)(int)(dot_glyph->X1 - dot_glyph->X0) + 1.0f; + EllipsisWidth = ImMax(dot_glyph->AdvanceX, dot_glyph->X0 + EllipsisCharStep * 3.0f - 1.0f); // FIXME: Slightly odd for normally mono-space fonts but since this is used for trailing contents. + } +} + +// API is designed this way to avoid exposing the 8K page size +// e.g. use with IsGlyphRangeUnused(0, 255) +bool ImFont::IsGlyphRangeUnused(unsigned int c_begin, unsigned int c_last) +{ + unsigned int page_begin = (c_begin / 8192); + unsigned int page_last = (c_last / 8192); + for (unsigned int page_n = page_begin; page_n <= page_last; page_n++) + if ((page_n >> 3) < sizeof(Used8kPagesMap)) + if (Used8kPagesMap[page_n >> 3] & (1 << (page_n & 7))) + return false; + return true; +} + +void ImFont::GrowIndex(int new_size) +{ + IM_ASSERT(IndexAdvanceX.Size == IndexLookup.Size); + if (new_size <= IndexLookup.Size) + return; + IndexAdvanceX.resize(new_size, -1.0f); + IndexLookup.resize(new_size, (ImU16)-1); +} + +// x0/y0/x1/y1 are offset from the character upper-left layout position, in pixels. Therefore x0/y0 are often fairly close to zero. +// Not to be mistaken with texture coordinates, which are held by u0/v0/u1/v1 in normalized format (0.0..1.0 on each texture axis). +// 'src' is not necessarily == 'this->Sources' because multiple source fonts+configs can be used to build one target font. +void ImFont::AddGlyph(const ImFontConfig* src, ImWchar codepoint, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x) +{ + if (src != NULL) + { + // Clamp & recenter if needed + const float advance_x_original = advance_x; + advance_x = ImClamp(advance_x, src->GlyphMinAdvanceX, src->GlyphMaxAdvanceX); + if (advance_x != advance_x_original) + { + float char_off_x = src->PixelSnapH ? ImTrunc((advance_x - advance_x_original) * 0.5f) : (advance_x - advance_x_original) * 0.5f; + x0 += char_off_x; + x1 += char_off_x; + } + + // Snap to pixel + if (src->PixelSnapH) + advance_x = IM_ROUND(advance_x); + + // Bake extra spacing + advance_x += src->GlyphExtraAdvanceX; + } + + int glyph_idx = Glyphs.Size; + Glyphs.resize(Glyphs.Size + 1); + ImFontGlyph& glyph = Glyphs[glyph_idx]; + glyph.Codepoint = (unsigned int)codepoint; + glyph.Visible = (x0 != x1) && (y0 != y1); + glyph.Colored = false; + glyph.X0 = x0; + glyph.Y0 = y0; + glyph.X1 = x1; + glyph.Y1 = y1; + glyph.U0 = u0; + glyph.V0 = v0; + glyph.U1 = u1; + glyph.V1 = v1; + glyph.AdvanceX = advance_x; + IM_ASSERT(Glyphs.Size < 0xFFFF); // IndexLookup[] hold 16-bit values and -1 is reserved. + + // Compute rough surface usage metrics (+1 to account for average padding, +0.99 to round) + // We use (U1-U0)*TexWidth instead of X1-X0 to account for oversampling. + float pad = ContainerAtlas->TexGlyphPadding + 0.99f; + DirtyLookupTables = true; + MetricsTotalSurface += (int)((glyph.U1 - glyph.U0) * ContainerAtlas->TexWidth + pad) * (int)((glyph.V1 - glyph.V0) * ContainerAtlas->TexHeight + pad); +} + +void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst) +{ + IM_ASSERT(IndexLookup.Size > 0); // Currently this can only be called AFTER the font has been built, aka after calling ImFontAtlas::GetTexDataAs*() function. + unsigned int index_size = (unsigned int)IndexLookup.Size; + + if (dst < index_size && IndexLookup.Data[dst] == (ImU16)-1 && !overwrite_dst) // 'dst' already exists + return; + if (src >= index_size && dst >= index_size) // both 'dst' and 'src' don't exist -> no-op + return; + + GrowIndex(dst + 1); + IndexLookup[dst] = (src < index_size) ? IndexLookup.Data[src] : (ImU16)-1; + IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f; +} + +// Find glyph, return fallback if missing +ImFontGlyph* ImFont::FindGlyph(ImWchar c) +{ + if (c >= (size_t)IndexLookup.Size) + return FallbackGlyph; + const ImU16 i = IndexLookup.Data[c]; + if (i == (ImU16)-1) + return FallbackGlyph; + return &Glyphs.Data[i]; +} + +ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) +{ + if (c >= (size_t)IndexLookup.Size) + return NULL; + const ImU16 i = IndexLookup.Data[c]; + if (i == (ImU16)-1) + return NULL; + return &Glyphs.Data[i]; +} + +// Trim trailing space and find beginning of next line +static inline const char* CalcWordWrapNextLineStartA(const char* text, const char* text_end) +{ + while (text < text_end && ImCharIsBlankA(*text)) + text++; + if (*text == '\n') + text++; + return text; +} + +#define ImFontGetCharAdvanceX(_FONT, _CH) ((int)(_CH) < (_FONT)->IndexAdvanceX.Size ? (_FONT)->IndexAdvanceX.Data[_CH] : (_FONT)->FallbackAdvanceX) + +// Simple word-wrapping for English, not full-featured. Please submit failing cases! +// This will return the next location to wrap from. If no wrapping if necessary, this will fast-forward to e.g. text_end. +// FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.) +const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) +{ + // For references, possible wrap point marked with ^ + // "aaa bbb, ccc,ddd. eee fff. ggg!" + // ^ ^ ^ ^ ^__ ^ ^ + + // List of hardcoded separators: .,;!?'" + + // Skip extra blanks after a line returns (that includes not counting them in width computation) + // e.g. "Hello world" --> "Hello" "World" + + // Cut words that cannot possibly fit within one line. + // e.g.: "The tropical fish" with ~5 characters worth of width --> "The tr" "opical" "fish" + float line_width = 0.0f; + float word_width = 0.0f; + float blank_width = 0.0f; + wrap_width /= scale; // We work with unscaled widths to avoid scaling every characters + + const char* word_end = text; + const char* prev_word_end = NULL; + bool inside_word = true; + + const char* s = text; + IM_ASSERT(text_end != NULL); + while (s < text_end) + { + unsigned int c = (unsigned int)*s; + const char* next_s; + if (c < 0x80) + next_s = s + 1; + else + next_s = s + ImTextCharFromUtf8(&c, s, text_end); + + if (c < 32) + { + if (c == '\n') + { + line_width = word_width = blank_width = 0.0f; + inside_word = true; + s = next_s; + continue; + } + if (c == '\r') + { + s = next_s; + continue; + } + } + + const float char_width = ImFontGetCharAdvanceX(this, c); + if (ImCharIsBlankW(c)) + { + if (inside_word) + { + line_width += blank_width; + blank_width = 0.0f; + word_end = s; + } + blank_width += char_width; + inside_word = false; + } + else + { + word_width += char_width; + if (inside_word) + { + word_end = next_s; + } + else + { + prev_word_end = word_end; + line_width += word_width + blank_width; + word_width = blank_width = 0.0f; + } + + // Allow wrapping after punctuation. + inside_word = (c != '.' && c != ',' && c != ';' && c != '!' && c != '?' && c != '\"'); + } + + // We ignore blank width at the end of the line (they can be skipped) + if (line_width + word_width > wrap_width) + { + // Words that cannot possibly fit within an entire line will be cut anywhere. + if (word_width < wrap_width) + s = prev_word_end ? prev_word_end : word_end; + break; + } + + s = next_s; + } + + // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. + // +1 may not be a character start point in UTF-8 but it's ok because caller loops use (text >= word_wrap_eol). + if (s == text && text < text_end) + return s + 1; + return s; +} + +ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end, const char** remaining) +{ + if (!text_end) + text_end = text_begin + strlen(text_begin); // FIXME-OPT: Need to avoid this. + + const float line_height = size; + const float scale = size / FontSize; + + ImVec2 text_size = ImVec2(0, 0); + float line_width = 0.0f; + + const bool word_wrap_enabled = (wrap_width > 0.0f); + const char* word_wrap_eol = NULL; + + const char* s = text_begin; + while (s < text_end) + { + if (word_wrap_enabled) + { + // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. + if (!word_wrap_eol) + word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); + + if (s >= word_wrap_eol) + { + if (text_size.x < line_width) + text_size.x = line_width; + text_size.y += line_height; + line_width = 0.0f; + word_wrap_eol = NULL; + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks + continue; + } + } + + // Decode and advance source + const char* prev_s = s; + unsigned int c = (unsigned int)*s; + if (c < 0x80) + s += 1; + else + s += ImTextCharFromUtf8(&c, s, text_end); + + if (c < 32) + { + if (c == '\n') + { + text_size.x = ImMax(text_size.x, line_width); + text_size.y += line_height; + line_width = 0.0f; + continue; + } + if (c == '\r') + continue; + } + + const float char_width = ImFontGetCharAdvanceX(this, c) * scale; + if (line_width + char_width >= max_width) + { + s = prev_s; + break; + } + + line_width += char_width; + } + + if (text_size.x < line_width) + text_size.x = line_width; + + if (line_width > 0 || text_size.y == 0.0f) + text_size.y += line_height; + + if (remaining) + *remaining = s; + + return text_size; +} + +// Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. +void ImFont::RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c) +{ + const ImFontGlyph* glyph = FindGlyph(c); + if (!glyph || !glyph->Visible) + return; + if (glyph->Colored) + col |= ~IM_COL32_A_MASK; + float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f; + float x = IM_TRUNC(pos.x); + float y = IM_TRUNC(pos.y); + draw_list->PrimReserve(6, 4); + draw_list->PrimRectUV(ImVec2(x + glyph->X0 * scale, y + glyph->Y0 * scale), ImVec2(x + glyph->X1 * scale, y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col); +} + +// Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. +void ImFont::RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) +{ + // Align to be pixel perfect + float x = IM_TRUNC(pos.x); + float y = IM_TRUNC(pos.y); + if (y > clip_rect.w) + return; + + if (!text_end) + text_end = text_begin + strlen(text_begin); // ImGui:: functions generally already provides a valid text_end, so this is merely to handle direct calls. + + const float scale = size / FontSize; + const float line_height = FontSize * scale; + const float origin_x = x; + const bool word_wrap_enabled = (wrap_width > 0.0f); + + // Fast-forward to first visible line + const char* s = text_begin; + if (y + line_height < clip_rect.y) + while (y + line_height < clip_rect.y && s < text_end) + { + const char* line_end = (const char*)memchr(s, '\n', text_end - s); + if (word_wrap_enabled) + { + // FIXME-OPT: This is not optimal as do first do a search for \n before calling CalcWordWrapPositionA(). + // If the specs for CalcWordWrapPositionA() were reworked to optionally return on \n we could combine both. + // However it is still better than nothing performing the fast-forward! + s = CalcWordWrapPositionA(scale, s, line_end ? line_end : text_end, wrap_width); + s = CalcWordWrapNextLineStartA(s, text_end); + } + else + { + s = line_end ? line_end + 1 : text_end; + } + y += line_height; + } + + // For large text, scan for the last visible line in order to avoid over-reserving in the call to PrimReserve() + // Note that very large horizontal line will still be affected by the issue (e.g. a one megabyte string buffer without a newline will likely crash atm) + if (text_end - s > 10000 && !word_wrap_enabled) + { + const char* s_end = s; + float y_end = y; + while (y_end < clip_rect.w && s_end < text_end) + { + s_end = (const char*)memchr(s_end, '\n', text_end - s_end); + s_end = s_end ? s_end + 1 : text_end; + y_end += line_height; + } + text_end = s_end; + } + if (s == text_end) + return; + + // Reserve vertices for remaining worse case (over-reserving is useful and easily amortized) + const int vtx_count_max = (int)(text_end - s) * 4; + const int idx_count_max = (int)(text_end - s) * 6; + const int idx_expected_size = draw_list->IdxBuffer.Size + idx_count_max; + draw_list->PrimReserve(idx_count_max, vtx_count_max); + ImDrawVert* vtx_write = draw_list->_VtxWritePtr; + ImDrawIdx* idx_write = draw_list->_IdxWritePtr; + unsigned int vtx_index = draw_list->_VtxCurrentIdx; + + const ImU32 col_untinted = col | ~IM_COL32_A_MASK; + const char* word_wrap_eol = NULL; + + while (s < text_end) + { + if (word_wrap_enabled) + { + // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. + if (!word_wrap_eol) + word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - origin_x)); + + if (s >= word_wrap_eol) + { + x = origin_x; + y += line_height; + if (y > clip_rect.w) + break; // break out of main loop + word_wrap_eol = NULL; + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks + continue; + } + } + + // Decode and advance source + unsigned int c = (unsigned int)*s; + if (c < 0x80) + s += 1; + else + s += ImTextCharFromUtf8(&c, s, text_end); + + if (c < 32) + { + if (c == '\n') + { + x = origin_x; + y += line_height; + if (y > clip_rect.w) + break; // break out of main loop + continue; + } + if (c == '\r') + continue; + } + + const ImFontGlyph* glyph = FindGlyph((ImWchar)c); + if (glyph == NULL) + continue; + + float char_width = glyph->AdvanceX * scale; + if (glyph->Visible) + { + // We don't do a second finer clipping test on the Y axis as we've already skipped anything before clip_rect.y and exit once we pass clip_rect.w + float x1 = x + glyph->X0 * scale; + float x2 = x + glyph->X1 * scale; + float y1 = y + glyph->Y0 * scale; + float y2 = y + glyph->Y1 * scale; + if (x1 <= clip_rect.z && x2 >= clip_rect.x) + { + // Render a character + float u1 = glyph->U0; + float v1 = glyph->V0; + float u2 = glyph->U1; + float v2 = glyph->V1; + + // CPU side clipping used to fit text in their frame when the frame is too small. Only does clipping for axis aligned quads. + if (cpu_fine_clip) + { + if (x1 < clip_rect.x) + { + u1 = u1 + (1.0f - (x2 - clip_rect.x) / (x2 - x1)) * (u2 - u1); + x1 = clip_rect.x; + } + if (y1 < clip_rect.y) + { + v1 = v1 + (1.0f - (y2 - clip_rect.y) / (y2 - y1)) * (v2 - v1); + y1 = clip_rect.y; + } + if (x2 > clip_rect.z) + { + u2 = u1 + ((clip_rect.z - x1) / (x2 - x1)) * (u2 - u1); + x2 = clip_rect.z; + } + if (y2 > clip_rect.w) + { + v2 = v1 + ((clip_rect.w - y1) / (y2 - y1)) * (v2 - v1); + y2 = clip_rect.w; + } + if (y1 >= y2) + { + x += char_width; + continue; + } + } + + // Support for untinted glyphs + ImU32 glyph_col = glyph->Colored ? col_untinted : col; + + // We are NOT calling PrimRectUV() here because non-inlined causes too much overhead in a debug builds. Inlined here: + { + vtx_write[0].pos.x = x1; vtx_write[0].pos.y = y1; vtx_write[0].col = glyph_col; vtx_write[0].uv.x = u1; vtx_write[0].uv.y = v1; + vtx_write[1].pos.x = x2; vtx_write[1].pos.y = y1; vtx_write[1].col = glyph_col; vtx_write[1].uv.x = u2; vtx_write[1].uv.y = v1; + vtx_write[2].pos.x = x2; vtx_write[2].pos.y = y2; vtx_write[2].col = glyph_col; vtx_write[2].uv.x = u2; vtx_write[2].uv.y = v2; + vtx_write[3].pos.x = x1; vtx_write[3].pos.y = y2; vtx_write[3].col = glyph_col; vtx_write[3].uv.x = u1; vtx_write[3].uv.y = v2; + idx_write[0] = (ImDrawIdx)(vtx_index); idx_write[1] = (ImDrawIdx)(vtx_index + 1); idx_write[2] = (ImDrawIdx)(vtx_index + 2); + idx_write[3] = (ImDrawIdx)(vtx_index); idx_write[4] = (ImDrawIdx)(vtx_index + 2); idx_write[5] = (ImDrawIdx)(vtx_index + 3); + vtx_write += 4; + vtx_index += 4; + idx_write += 6; + } + } + } + x += char_width; + } + + // Give back unused vertices (clipped ones, blanks) ~ this is essentially a PrimUnreserve() action. + draw_list->VtxBuffer.Size = (int)(vtx_write - draw_list->VtxBuffer.Data); // Same as calling shrink() + draw_list->IdxBuffer.Size = (int)(idx_write - draw_list->IdxBuffer.Data); + draw_list->CmdBuffer[draw_list->CmdBuffer.Size - 1].ElemCount -= (idx_expected_size - draw_list->IdxBuffer.Size); + draw_list->_VtxWritePtr = vtx_write; + draw_list->_IdxWritePtr = idx_write; + draw_list->_VtxCurrentIdx = vtx_index; +} + +//----------------------------------------------------------------------------- +// [SECTION] ImGui Internal Render Helpers +//----------------------------------------------------------------------------- +// Vaguely redesigned to stop accessing ImGui global state: +// - RenderArrow() +// - RenderBullet() +// - RenderCheckMark() +// - RenderArrowPointingAt() +// - RenderRectFilledRangeH() +// - RenderRectFilledWithHole() +//----------------------------------------------------------------------------- +// Function in need of a redesign (legacy mess) +// - RenderColorRectWithAlphaCheckerboard() +//----------------------------------------------------------------------------- + +// Render an arrow aimed to be aligned with text (p_min is a position in the same space text would be positioned). To e.g. denote expanded/collapsed state +void ImGui::RenderArrow(ImDrawList* draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale) +{ + const float h = draw_list->_Data->FontSize * 1.00f; + float r = h * 0.40f * scale; + ImVec2 center = pos + ImVec2(h * 0.50f, h * 0.50f * scale); + + ImVec2 a, b, c; + switch (dir) + { + case ImGuiDir_Up: + case ImGuiDir_Down: + if (dir == ImGuiDir_Up) r = -r; + a = ImVec2(+0.000f, +0.750f) * r; + b = ImVec2(-0.866f, -0.750f) * r; + c = ImVec2(+0.866f, -0.750f) * r; + break; + case ImGuiDir_Left: + case ImGuiDir_Right: + if (dir == ImGuiDir_Left) r = -r; + a = ImVec2(+0.750f, +0.000f) * r; + b = ImVec2(-0.750f, +0.866f) * r; + c = ImVec2(-0.750f, -0.866f) * r; + break; + case ImGuiDir_None: + case ImGuiDir_COUNT: + IM_ASSERT(0); + break; + } + draw_list->AddTriangleFilled(center + a, center + b, center + c, col); +} + +void ImGui::RenderBullet(ImDrawList* draw_list, ImVec2 pos, ImU32 col) +{ + // FIXME-OPT: This should be baked in font. + draw_list->AddCircleFilled(pos, draw_list->_Data->FontSize * 0.20f, col, 8); +} + +void ImGui::RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz) +{ + float thickness = ImMax(sz / 5.0f, 1.0f); + sz -= thickness * 0.5f; + pos += ImVec2(thickness * 0.25f, thickness * 0.25f); + + float third = sz / 3.0f; + float bx = pos.x + third; + float by = pos.y + sz - third * 0.5f; + draw_list->PathLineTo(ImVec2(bx - third, by - third)); + draw_list->PathLineTo(ImVec2(bx, by)); + draw_list->PathLineTo(ImVec2(bx + third * 2.0f, by - third * 2.0f)); + draw_list->PathStroke(col, 0, thickness); +} + +// Render an arrow. 'pos' is position of the arrow tip. half_sz.x is length from base to tip. half_sz.y is length on each side. +void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col) +{ + switch (direction) + { + case ImGuiDir_Left: draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), pos, col); return; + case ImGuiDir_Right: draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), pos, col); return; + case ImGuiDir_Up: draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), pos, col); return; + case ImGuiDir_Down: draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), pos, col); return; + case ImGuiDir_None: case ImGuiDir_COUNT: break; // Fix warnings + } +} + +static inline float ImAcos01(float x) +{ + if (x <= 0.0f) return IM_PI * 0.5f; + if (x >= 1.0f) return 0.0f; + return ImAcos(x); + //return (-0.69813170079773212f * x * x - 0.87266462599716477f) * x + 1.5707963267948966f; // Cheap approximation, may be enough for what we do. +} + +// FIXME: Cleanup and move code to ImDrawList. +void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding) +{ + if (x_end_norm == x_start_norm) + return; + if (x_start_norm > x_end_norm) + ImSwap(x_start_norm, x_end_norm); + + ImVec2 p0 = ImVec2(ImLerp(rect.Min.x, rect.Max.x, x_start_norm), rect.Min.y); + ImVec2 p1 = ImVec2(ImLerp(rect.Min.x, rect.Max.x, x_end_norm), rect.Max.y); + if (rounding == 0.0f) + { + draw_list->AddRectFilled(p0, p1, col, 0.0f); + return; + } + + rounding = ImClamp(ImMin((rect.Max.x - rect.Min.x) * 0.5f, (rect.Max.y - rect.Min.y) * 0.5f) - 1.0f, 0.0f, rounding); + const float inv_rounding = 1.0f / rounding; + const float arc0_b = ImAcos01(1.0f - (p0.x - rect.Min.x) * inv_rounding); + const float arc0_e = ImAcos01(1.0f - (p1.x - rect.Min.x) * inv_rounding); + const float half_pi = IM_PI * 0.5f; // We will == compare to this because we know this is the exact value ImAcos01 can return. + const float x0 = ImMax(p0.x, rect.Min.x + rounding); + if (arc0_b == arc0_e) + { + draw_list->PathLineTo(ImVec2(x0, p1.y)); + draw_list->PathLineTo(ImVec2(x0, p0.y)); + } + else if (arc0_b == 0.0f && arc0_e == half_pi) + { + draw_list->PathArcToFast(ImVec2(x0, p1.y - rounding), rounding, 3, 6); // BL + draw_list->PathArcToFast(ImVec2(x0, p0.y + rounding), rounding, 6, 9); // TR + } + else + { + draw_list->PathArcTo(ImVec2(x0, p1.y - rounding), rounding, IM_PI - arc0_e, IM_PI - arc0_b); // BL + draw_list->PathArcTo(ImVec2(x0, p0.y + rounding), rounding, IM_PI + arc0_b, IM_PI + arc0_e); // TR + } + if (p1.x > rect.Min.x + rounding) + { + const float arc1_b = ImAcos01(1.0f - (rect.Max.x - p1.x) * inv_rounding); + const float arc1_e = ImAcos01(1.0f - (rect.Max.x - p0.x) * inv_rounding); + const float x1 = ImMin(p1.x, rect.Max.x - rounding); + if (arc1_b == arc1_e) + { + draw_list->PathLineTo(ImVec2(x1, p0.y)); + draw_list->PathLineTo(ImVec2(x1, p1.y)); + } + else if (arc1_b == 0.0f && arc1_e == half_pi) + { + draw_list->PathArcToFast(ImVec2(x1, p0.y + rounding), rounding, 9, 12); // TR + draw_list->PathArcToFast(ImVec2(x1, p1.y - rounding), rounding, 0, 3); // BR + } + else + { + draw_list->PathArcTo(ImVec2(x1, p0.y + rounding), rounding, -arc1_e, -arc1_b); // TR + draw_list->PathArcTo(ImVec2(x1, p1.y - rounding), rounding, +arc1_b, +arc1_e); // BR + } + } + draw_list->PathFillConvex(col); +} + +void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding) +{ + const bool fill_L = (inner.Min.x > outer.Min.x); + const bool fill_R = (inner.Max.x < outer.Max.x); + const bool fill_U = (inner.Min.y > outer.Min.y); + const bool fill_D = (inner.Max.y < outer.Max.y); + if (fill_L) draw_list->AddRectFilled(ImVec2(outer.Min.x, inner.Min.y), ImVec2(inner.Min.x, inner.Max.y), col, rounding, ImDrawFlags_RoundCornersNone | (fill_U ? 0 : ImDrawFlags_RoundCornersTopLeft) | (fill_D ? 0 : ImDrawFlags_RoundCornersBottomLeft)); + if (fill_R) draw_list->AddRectFilled(ImVec2(inner.Max.x, inner.Min.y), ImVec2(outer.Max.x, inner.Max.y), col, rounding, ImDrawFlags_RoundCornersNone | (fill_U ? 0 : ImDrawFlags_RoundCornersTopRight) | (fill_D ? 0 : ImDrawFlags_RoundCornersBottomRight)); + if (fill_U) draw_list->AddRectFilled(ImVec2(inner.Min.x, outer.Min.y), ImVec2(inner.Max.x, inner.Min.y), col, rounding, ImDrawFlags_RoundCornersNone | (fill_L ? 0 : ImDrawFlags_RoundCornersTopLeft) | (fill_R ? 0 : ImDrawFlags_RoundCornersTopRight)); + if (fill_D) draw_list->AddRectFilled(ImVec2(inner.Min.x, inner.Max.y), ImVec2(inner.Max.x, outer.Max.y), col, rounding, ImDrawFlags_RoundCornersNone | (fill_L ? 0 : ImDrawFlags_RoundCornersBottomLeft) | (fill_R ? 0 : ImDrawFlags_RoundCornersBottomRight)); + if (fill_L && fill_U) draw_list->AddRectFilled(ImVec2(outer.Min.x, outer.Min.y), ImVec2(inner.Min.x, inner.Min.y), col, rounding, ImDrawFlags_RoundCornersTopLeft); + if (fill_R && fill_U) draw_list->AddRectFilled(ImVec2(inner.Max.x, outer.Min.y), ImVec2(outer.Max.x, inner.Min.y), col, rounding, ImDrawFlags_RoundCornersTopRight); + if (fill_L && fill_D) draw_list->AddRectFilled(ImVec2(outer.Min.x, inner.Max.y), ImVec2(inner.Min.x, outer.Max.y), col, rounding, ImDrawFlags_RoundCornersBottomLeft); + if (fill_R && fill_D) draw_list->AddRectFilled(ImVec2(inner.Max.x, inner.Max.y), ImVec2(outer.Max.x, outer.Max.y), col, rounding, ImDrawFlags_RoundCornersBottomRight); +} + +// Helper for ColorPicker4() +// NB: This is rather brittle and will show artifact when rounding this enabled if rounded corners overlap multiple cells. Caller currently responsible for avoiding that. +// Spent a non reasonable amount of time trying to getting this right for ColorButton with rounding+anti-aliasing+ImGuiColorEditFlags_HalfAlphaPreview flag + various grid sizes and offsets, and eventually gave up... probably more reasonable to disable rounding altogether. +// FIXME: uses ImGui::GetColorU32 +void ImGui::RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 col, float grid_step, ImVec2 grid_off, float rounding, ImDrawFlags flags) +{ + if ((flags & ImDrawFlags_RoundCornersMask_) == 0) + flags = ImDrawFlags_RoundCornersDefault_; + if (((col & IM_COL32_A_MASK) >> IM_COL32_A_SHIFT) < 0xFF) + { + ImU32 col_bg1 = GetColorU32(ImAlphaBlendColors(IM_COL32(204, 204, 204, 255), col)); + ImU32 col_bg2 = GetColorU32(ImAlphaBlendColors(IM_COL32(128, 128, 128, 255), col)); + draw_list->AddRectFilled(p_min, p_max, col_bg1, rounding, flags); + + int yi = 0; + for (float y = p_min.y + grid_off.y; y < p_max.y; y += grid_step, yi++) + { + float y1 = ImClamp(y, p_min.y, p_max.y), y2 = ImMin(y + grid_step, p_max.y); + if (y2 <= y1) + continue; + for (float x = p_min.x + grid_off.x + (yi & 1) * grid_step; x < p_max.x; x += grid_step * 2.0f) + { + float x1 = ImClamp(x, p_min.x, p_max.x), x2 = ImMin(x + grid_step, p_max.x); + if (x2 <= x1) + continue; + ImDrawFlags cell_flags = ImDrawFlags_RoundCornersNone; + if (y1 <= p_min.y) { if (x1 <= p_min.x) cell_flags |= ImDrawFlags_RoundCornersTopLeft; if (x2 >= p_max.x) cell_flags |= ImDrawFlags_RoundCornersTopRight; } + if (y2 >= p_max.y) { if (x1 <= p_min.x) cell_flags |= ImDrawFlags_RoundCornersBottomLeft; if (x2 >= p_max.x) cell_flags |= ImDrawFlags_RoundCornersBottomRight; } + + // Combine flags + cell_flags = (flags == ImDrawFlags_RoundCornersNone || cell_flags == ImDrawFlags_RoundCornersNone) ? ImDrawFlags_RoundCornersNone : (cell_flags & flags); + draw_list->AddRectFilled(ImVec2(x1, y1), ImVec2(x2, y2), col_bg2, rounding, cell_flags); + } + } + } + else + { + draw_list->AddRectFilled(p_min, p_max, col, rounding, flags); + } +} + +//----------------------------------------------------------------------------- +// [SECTION] Decompression code +//----------------------------------------------------------------------------- +// Compressed with stb_compress() then converted to a C array and encoded as base85. +// Use the program in misc/fonts/binary_to_compressed_c.cpp to create the array from a TTF file. +// The purpose of encoding as base85 instead of "0x00,0x01,..." style is only save on _source code_ size. +// Decompression from stb.h (public domain) by Sean Barrett https://github.com/nothings/stb/blob/master/stb.h +//----------------------------------------------------------------------------- + +static unsigned int stb_decompress_length(const unsigned char *input) +{ + return (input[8] << 24) + (input[9] << 16) + (input[10] << 8) + input[11]; +} + +static unsigned char *stb__barrier_out_e, *stb__barrier_out_b; +static const unsigned char *stb__barrier_in_b; +static unsigned char *stb__dout; +static void stb__match(const unsigned char *data, unsigned int length) +{ + // INVERSE of memmove... write each byte before copying the next... + IM_ASSERT(stb__dout + length <= stb__barrier_out_e); + if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; } + if (data < stb__barrier_out_b) { stb__dout = stb__barrier_out_e+1; return; } + while (length--) *stb__dout++ = *data++; +} + +static void stb__lit(const unsigned char *data, unsigned int length) +{ + IM_ASSERT(stb__dout + length <= stb__barrier_out_e); + if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; } + if (data < stb__barrier_in_b) { stb__dout = stb__barrier_out_e+1; return; } + memcpy(stb__dout, data, length); + stb__dout += length; +} + +#define stb__in2(x) ((i[x] << 8) + i[(x)+1]) +#define stb__in3(x) ((i[x] << 16) + stb__in2((x)+1)) +#define stb__in4(x) ((i[x] << 24) + stb__in3((x)+1)) + +static const unsigned char *stb_decompress_token(const unsigned char *i) +{ + if (*i >= 0x20) { // use fewer if's for cases that expand small + if (*i >= 0x80) stb__match(stb__dout-i[1]-1, i[0] - 0x80 + 1), i += 2; + else if (*i >= 0x40) stb__match(stb__dout-(stb__in2(0) - 0x4000 + 1), i[2]+1), i += 3; + else /* *i >= 0x20 */ stb__lit(i+1, i[0] - 0x20 + 1), i += 1 + (i[0] - 0x20 + 1); + } else { // more ifs for cases that expand large, since overhead is amortized + if (*i >= 0x18) stb__match(stb__dout-(stb__in3(0) - 0x180000 + 1), i[3]+1), i += 4; + else if (*i >= 0x10) stb__match(stb__dout-(stb__in3(0) - 0x100000 + 1), stb__in2(3)+1), i += 5; + else if (*i >= 0x08) stb__lit(i+2, stb__in2(0) - 0x0800 + 1), i += 2 + (stb__in2(0) - 0x0800 + 1); + else if (*i == 0x07) stb__lit(i+3, stb__in2(1) + 1), i += 3 + (stb__in2(1) + 1); + else if (*i == 0x06) stb__match(stb__dout-(stb__in3(1)+1), i[4]+1), i += 5; + else if (*i == 0x04) stb__match(stb__dout-(stb__in3(1)+1), stb__in2(4)+1), i += 6; + } + return i; +} + +static unsigned int stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) +{ + const unsigned long ADLER_MOD = 65521; + unsigned long s1 = adler32 & 0xffff, s2 = adler32 >> 16; + unsigned long blocklen = buflen % 5552; + + unsigned long i; + while (buflen) { + for (i=0; i + 7 < blocklen; i += 8) { + s1 += buffer[0], s2 += s1; + s1 += buffer[1], s2 += s1; + s1 += buffer[2], s2 += s1; + s1 += buffer[3], s2 += s1; + s1 += buffer[4], s2 += s1; + s1 += buffer[5], s2 += s1; + s1 += buffer[6], s2 += s1; + s1 += buffer[7], s2 += s1; + + buffer += 8; + } + + for (; i < blocklen; ++i) + s1 += *buffer++, s2 += s1; + + s1 %= ADLER_MOD, s2 %= ADLER_MOD; + buflen -= blocklen; + blocklen = 5552; + } + return (unsigned int)(s2 << 16) + (unsigned int)s1; +} + +static unsigned int stb_decompress(unsigned char *output, const unsigned char *i, unsigned int /*length*/) +{ + if (stb__in4(0) != 0x57bC0000) return 0; + if (stb__in4(4) != 0) return 0; // error! stream is > 4GB + const unsigned int olen = stb_decompress_length(i); + stb__barrier_in_b = i; + stb__barrier_out_e = output + olen; + stb__barrier_out_b = output; + i += 16; + + stb__dout = output; + for (;;) { + const unsigned char *old_i = i; + i = stb_decompress_token(i); + if (i == old_i) { + if (*i == 0x05 && i[1] == 0xfa) { + IM_ASSERT(stb__dout == output + olen); + if (stb__dout != output + olen) return 0; + if (stb_adler32(1, output, olen) != (unsigned int) stb__in4(2)) + return 0; + return olen; + } else { + IM_ASSERT(0); /* NOTREACHED */ + return 0; + } + } + IM_ASSERT(stb__dout <= output + olen); + if (stb__dout > output + olen) + return 0; + } +} + +//----------------------------------------------------------------------------- +// [SECTION] Default font data (ProggyClean.ttf) +//----------------------------------------------------------------------------- +// ProggyClean.ttf +// Copyright (c) 2004, 2005 Tristan Grimmer +// MIT license (see License.txt in http://www.proggyfonts.net/index.php?menu=download) +// Download and more information at http://www.proggyfonts.net or http://upperboundsinteractive.com/fonts.php +//----------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_DEFAULT_FONT + +// File: 'ProggyClean.ttf' (41208 bytes) +// Exported using binary_to_compressed_c.exe -u8 "ProggyClean.ttf" proggy_clean_ttf +static const unsigned int proggy_clean_ttf_compressed_size = 9583; +static const unsigned char proggy_clean_ttf_compressed_data[9583] = +{ + 87,188,0,0,0,0,0,0,0,0,160,248,0,4,0,0,55,0,1,0,0,0,12,0,128,0,3,0,64,79,83,47,50,136,235,116,144,0,0,1,72,130,21,44,78,99,109,97,112,2,18,35,117,0,0,3,160,130,19,36,82,99,118,116, + 32,130,23,130,2,33,4,252,130,4,56,2,103,108,121,102,18,175,137,86,0,0,7,4,0,0,146,128,104,101,97,100,215,145,102,211,130,27,32,204,130,3,33,54,104,130,16,39,8,66,1,195,0,0,1,4,130, + 15,59,36,104,109,116,120,138,0,126,128,0,0,1,152,0,0,2,6,108,111,99,97,140,115,176,216,0,0,5,130,30,41,2,4,109,97,120,112,1,174,0,218,130,31,32,40,130,16,44,32,110,97,109,101,37,89, + 187,150,0,0,153,132,130,19,44,158,112,111,115,116,166,172,131,239,0,0,155,36,130,51,44,210,112,114,101,112,105,2,1,18,0,0,4,244,130,47,32,8,132,203,46,1,0,0,60,85,233,213,95,15,60, + 245,0,3,8,0,131,0,34,183,103,119,130,63,43,0,0,189,146,166,215,0,0,254,128,3,128,131,111,130,241,33,2,0,133,0,32,1,130,65,38,192,254,64,0,0,3,128,131,16,130,5,32,1,131,7,138,3,33,2, + 0,130,17,36,1,1,0,144,0,130,121,130,23,38,2,0,8,0,64,0,10,130,9,32,118,130,9,130,6,32,0,130,59,33,1,144,131,200,35,2,188,2,138,130,16,32,143,133,7,37,1,197,0,50,2,0,131,0,33,4,9,131, + 5,145,3,43,65,108,116,115,0,64,0,0,32,172,8,0,131,0,35,5,0,1,128,131,77,131,3,33,3,128,191,1,33,1,128,130,184,35,0,0,128,0,130,3,131,11,32,1,130,7,33,0,128,131,1,32,1,136,9,32,0,132, + 15,135,5,32,1,131,13,135,27,144,35,32,1,149,25,131,21,32,0,130,0,32,128,132,103,130,35,132,39,32,0,136,45,136,97,133,17,130,5,33,0,0,136,19,34,0,128,1,133,13,133,5,32,128,130,15,132, + 131,32,3,130,5,32,3,132,27,144,71,32,0,133,27,130,29,130,31,136,29,131,63,131,3,65,63,5,132,5,132,205,130,9,33,0,0,131,9,137,119,32,3,132,19,138,243,130,55,32,1,132,35,135,19,131,201, + 136,11,132,143,137,13,130,41,32,0,131,3,144,35,33,128,0,135,1,131,223,131,3,141,17,134,13,136,63,134,15,136,53,143,15,130,96,33,0,3,131,4,130,3,34,28,0,1,130,5,34,0,0,76,130,17,131, + 9,36,28,0,4,0,48,130,17,46,8,0,8,0,2,0,0,0,127,0,255,32,172,255,255,130,9,34,0,0,129,132,9,130,102,33,223,213,134,53,132,22,33,1,6,132,6,64,4,215,32,129,165,216,39,177,0,1,141,184, + 1,255,133,134,45,33,198,0,193,1,8,190,244,1,28,1,158,2,20,2,136,2,252,3,20,3,88,3,156,3,222,4,20,4,50,4,80,4,98,4,162,5,22,5,102,5,188,6,18,6,116,6,214,7,56,7,126,7,236,8,78,8,108, + 8,150,8,208,9,16,9,74,9,136,10,22,10,128,11,4,11,86,11,200,12,46,12,130,12,234,13,94,13,164,13,234,14,80,14,150,15,40,15,176,16,18,16,116,16,224,17,82,17,182,18,4,18,110,18,196,19, + 76,19,172,19,246,20,88,20,174,20,234,21,64,21,128,21,166,21,184,22,18,22,126,22,198,23,52,23,142,23,224,24,86,24,186,24,238,25,54,25,150,25,212,26,72,26,156,26,240,27,92,27,200,28, + 4,28,76,28,150,28,234,29,42,29,146,29,210,30,64,30,142,30,224,31,36,31,118,31,166,31,166,32,16,130,1,52,46,32,138,32,178,32,200,33,20,33,116,33,152,33,238,34,98,34,134,35,12,130,1, + 33,128,35,131,1,60,152,35,176,35,216,36,0,36,74,36,104,36,144,36,174,37,6,37,96,37,130,37,248,37,248,38,88,38,170,130,1,8,190,216,39,64,39,154,40,10,40,104,40,168,41,14,41,32,41,184, + 41,248,42,54,42,96,42,96,43,2,43,42,43,94,43,172,43,230,44,32,44,52,44,154,45,40,45,92,45,120,45,170,45,232,46,38,46,166,47,38,47,182,47,244,48,94,48,200,49,62,49,180,50,30,50,158, + 51,30,51,130,51,238,52,92,52,206,53,58,53,134,53,212,54,38,54,114,54,230,55,118,55,216,56,58,56,166,57,18,57,116,57,174,58,46,58,154,59,6,59,124,59,232,60,58,60,150,61,34,61,134,61, + 236,62,86,62,198,63,42,63,154,64,18,64,106,64,208,65,54,65,162,66,8,66,64,66,122,66,184,66,240,67,98,67,204,68,42,68,138,68,238,69,88,69,182,69,226,70,84,70,180,71,20,71,122,71,218, + 72,84,72,198,73,64,0,36,70,21,8,8,77,3,0,7,0,11,0,15,0,19,0,23,0,27,0,31,0,35,0,39,0,43,0,47,0,51,0,55,0,59,0,63,0,67,0,71,0,75,0,79,0,83,0,87,0,91,0,95,0,99,0,103,0,107,0,111,0,115, + 0,119,0,123,0,127,0,131,0,135,0,139,0,143,0,0,17,53,51,21,49,150,3,32,5,130,23,32,33,130,3,211,7,151,115,32,128,133,0,37,252,128,128,2,128,128,190,5,133,74,32,4,133,6,206,5,42,0,7, + 1,128,0,0,2,0,4,0,0,65,139,13,37,0,1,53,51,21,7,146,3,32,3,130,19,32,1,141,133,32,3,141,14,131,13,38,255,0,128,128,0,6,1,130,84,35,2,128,4,128,140,91,132,89,32,51,65,143,6,139,7,33, + 1,0,130,57,32,254,130,3,32,128,132,4,32,4,131,14,138,89,35,0,0,24,0,130,0,33,3,128,144,171,66,55,33,148,115,65,187,19,32,5,130,151,143,155,163,39,32,1,136,182,32,253,134,178,132,7, + 132,200,145,17,32,3,65,48,17,165,17,39,0,0,21,0,128,255,128,3,65,175,17,65,3,27,132,253,131,217,139,201,155,233,155,27,131,67,131,31,130,241,33,255,0,131,181,137,232,132,15,132,4,138, + 247,34,255,0,128,179,238,32,0,130,0,32,20,65,239,48,33,0,19,67,235,10,32,51,65,203,14,65,215,11,32,7,154,27,135,39,32,33,130,35,33,128,128,130,231,32,253,132,231,32,128,132,232,34, + 128,128,254,133,13,136,8,32,253,65,186,5,130,36,130,42,176,234,133,231,34,128,0,0,66,215,44,33,0,1,68,235,6,68,211,19,32,49,68,239,14,139,207,139,47,66,13,7,32,51,130,47,33,1,0,130, + 207,35,128,128,1,0,131,222,131,5,130,212,130,6,131,212,32,0,130,10,133,220,130,233,130,226,32,254,133,255,178,233,39,3,1,128,3,0,2,0,4,68,15,7,68,99,12,130,89,130,104,33,128,4,133, + 93,130,10,38,0,0,11,1,0,255,0,68,63,16,70,39,9,66,215,8,32,7,68,77,6,68,175,14,32,29,68,195,6,132,7,35,2,0,128,255,131,91,132,4,65,178,5,141,111,67,129,23,165,135,140,107,142,135,33, + 21,5,69,71,6,131,7,33,1,0,140,104,132,142,130,4,137,247,140,30,68,255,12,39,11,0,128,0,128,3,0,3,69,171,15,67,251,7,65,15,8,66,249,11,65,229,7,67,211,7,66,13,7,35,1,128,128,254,133, + 93,32,254,131,145,132,4,132,18,32,2,151,128,130,23,34,0,0,9,154,131,65,207,8,68,107,15,68,51,7,32,7,70,59,7,135,121,130,82,32,128,151,111,41,0,0,4,0,128,255,0,1,128,1,137,239,33,0, + 37,70,145,10,65,77,10,65,212,14,37,0,0,0,5,0,128,66,109,5,70,123,10,33,0,19,72,33,18,133,237,70,209,11,33,0,2,130,113,137,119,136,115,33,1,0,133,43,130,5,34,0,0,10,69,135,6,70,219, + 13,66,155,7,65,9,12,66,157,11,66,9,11,32,7,130,141,132,252,66,151,9,137,9,66,15,30,36,0,20,0,128,0,130,218,71,11,42,68,51,8,65,141,7,73,19,15,69,47,23,143,39,66,81,7,32,1,66,55,6,34, + 1,128,128,68,25,5,69,32,6,137,6,136,25,32,254,131,42,32,3,66,88,26,148,26,32,0,130,0,32,14,164,231,70,225,12,66,233,7,67,133,19,71,203,15,130,161,32,255,130,155,32,254,139,127,134, + 12,164,174,33,0,15,164,159,33,59,0,65,125,20,66,25,7,32,5,68,191,6,66,29,7,144,165,65,105,9,35,128,128,255,0,137,2,133,182,164,169,33,128,128,197,171,130,155,68,235,7,32,21,70,77,19, + 66,21,10,68,97,8,66,30,5,66,4,43,34,0,17,0,71,19,41,65,253,20,71,25,23,65,91,15,65,115,7,34,2,128,128,66,9,8,130,169,33,1,0,66,212,13,132,28,72,201,43,35,0,0,0,18,66,27,38,76,231,5, + 68,157,20,135,157,32,7,68,185,13,65,129,28,66,20,5,32,253,66,210,11,65,128,49,133,61,32,0,65,135,6,74,111,37,72,149,12,66,203,19,65,147,19,68,93,7,68,85,8,76,4,5,33,255,0,133,129,34, + 254,0,128,68,69,8,181,197,34,0,0,12,65,135,32,65,123,20,69,183,27,133,156,66,50,5,72,87,10,67,137,32,33,0,19,160,139,78,251,13,68,55,20,67,119,19,65,91,36,69,177,15,32,254,143,16,65, + 98,53,32,128,130,0,32,0,66,43,54,70,141,23,66,23,15,131,39,69,47,11,131,15,70,129,19,74,161,9,36,128,255,0,128,254,130,153,65,148,32,67,41,9,34,0,0,4,79,15,5,73,99,10,71,203,8,32,3, + 72,123,6,72,43,8,32,2,133,56,131,99,130,9,34,0,0,6,72,175,5,73,159,14,144,63,135,197,132,189,133,66,33,255,0,73,6,7,70,137,12,35,0,0,0,10,130,3,73,243,25,67,113,12,65,73,7,69,161,7, + 138,7,37,21,2,0,128,128,254,134,3,73,116,27,33,128,128,130,111,39,12,0,128,1,0,3,128,2,72,219,21,35,43,0,47,0,67,47,20,130,111,33,21,1,68,167,13,81,147,8,133,230,32,128,77,73,6,32, + 128,131,142,134,18,130,6,32,255,75,18,12,131,243,37,128,0,128,3,128,3,74,231,21,135,123,32,29,134,107,135,7,32,21,74,117,7,135,7,134,96,135,246,74,103,23,132,242,33,0,10,67,151,28, + 67,133,20,66,141,11,131,11,32,3,77,71,6,32,128,130,113,32,1,81,4,6,134,218,66,130,24,131,31,34,0,26,0,130,0,77,255,44,83,15,11,148,155,68,13,7,32,49,78,231,18,79,7,11,73,243,11,32, + 33,65,187,10,130,63,65,87,8,73,239,19,35,0,128,1,0,131,226,32,252,65,100,6,32,128,139,8,33,1,0,130,21,32,253,72,155,44,73,255,20,32,128,71,67,8,81,243,39,67,15,20,74,191,23,68,121, + 27,32,1,66,150,6,32,254,79,19,11,131,214,32,128,130,215,37,2,0,128,253,0,128,136,5,65,220,24,147,212,130,210,33,0,24,72,219,42,84,255,13,67,119,16,69,245,19,72,225,19,65,3,15,69,93, + 19,131,55,132,178,71,115,14,81,228,6,142,245,33,253,0,132,43,172,252,65,16,11,75,219,8,65,219,31,66,223,24,75,223,10,33,29,1,80,243,10,66,175,8,131,110,134,203,133,172,130,16,70,30, + 7,164,183,130,163,32,20,65,171,48,65,163,36,65,143,23,65,151,19,65,147,13,65,134,17,133,17,130,216,67,114,5,164,217,65,137,12,72,147,48,79,71,19,74,169,22,80,251,8,65,173,7,66,157, + 15,74,173,15,32,254,65,170,8,71,186,45,72,131,6,77,143,40,187,195,152,179,65,123,38,68,215,57,68,179,15,65,85,7,69,187,14,32,21,66,95,15,67,19,25,32,1,83,223,6,32,2,76,240,7,77,166, + 43,65,8,5,130,206,32,0,67,39,54,143,167,66,255,19,82,193,11,151,47,85,171,5,67,27,17,132,160,69,172,11,69,184,56,66,95,6,33,12,1,130,237,32,2,68,179,27,68,175,16,80,135,15,72,55,7, + 71,87,12,73,3,12,132,12,66,75,32,76,215,5,169,139,147,135,148,139,81,12,12,81,185,36,75,251,7,65,23,27,76,215,9,87,165,12,65,209,15,72,157,7,65,245,31,32,128,71,128,6,32,1,82,125,5, + 34,0,128,254,131,169,32,254,131,187,71,180,9,132,27,32,2,88,129,44,32,0,78,47,40,65,79,23,79,171,14,32,21,71,87,8,72,15,14,65,224,33,130,139,74,27,62,93,23,7,68,31,7,75,27,7,139,15, + 74,3,7,74,23,27,65,165,11,65,177,15,67,123,5,32,1,130,221,32,252,71,96,5,74,12,12,133,244,130,25,34,1,0,128,130,2,139,8,93,26,8,65,9,32,65,57,14,140,14,32,0,73,79,67,68,119,11,135, + 11,32,51,90,75,14,139,247,65,43,7,131,19,139,11,69,159,11,65,247,6,36,1,128,128,253,0,90,71,9,33,1,0,132,14,32,128,89,93,14,69,133,6,130,44,131,30,131,6,65,20,56,33,0,16,72,179,40, + 75,47,12,65,215,19,74,95,19,65,43,11,131,168,67,110,5,75,23,17,69,106,6,75,65,5,71,204,43,32,0,80,75,47,71,203,15,159,181,68,91,11,67,197,7,73,101,13,68,85,6,33,128,128,130,214,130, + 25,32,254,74,236,48,130,194,37,0,18,0,128,255,128,77,215,40,65,139,64,32,51,80,159,10,65,147,39,130,219,84,212,43,130,46,75,19,97,74,33,11,65,201,23,65,173,31,33,1,0,79,133,6,66,150, + 5,67,75,48,85,187,6,70,207,37,32,71,87,221,13,73,163,14,80,167,15,132,15,83,193,19,82,209,8,78,99,9,72,190,11,77,110,49,89,63,5,80,91,35,99,63,32,70,235,23,81,99,10,69,148,10,65,110, + 36,32,0,65,99,47,95,219,11,68,171,51,66,87,7,72,57,7,74,45,17,143,17,65,114,50,33,14,0,65,111,40,159,195,98,135,15,35,7,53,51,21,100,78,9,95,146,16,32,254,82,114,6,32,128,67,208,37, + 130,166,99,79,58,32,17,96,99,14,72,31,19,72,87,31,82,155,7,67,47,14,32,21,131,75,134,231,72,51,17,72,78,8,133,8,80,133,6,33,253,128,88,37,9,66,124,36,72,65,12,134,12,71,55,43,66,139, + 27,85,135,10,91,33,12,65,35,11,66,131,11,71,32,8,90,127,6,130,244,71,76,11,168,207,33,0,12,66,123,32,32,0,65,183,15,68,135,11,66,111,7,67,235,11,66,111,15,32,254,97,66,12,160,154,67, + 227,52,80,33,15,87,249,15,93,45,31,75,111,12,93,45,11,77,99,9,160,184,81,31,12,32,15,98,135,30,104,175,7,77,249,36,69,73,15,78,5,12,32,254,66,151,19,34,128,128,4,87,32,12,149,35,133, + 21,96,151,31,32,19,72,35,5,98,173,15,143,15,32,21,143,99,158,129,33,0,0,65,35,52,65,11,15,147,15,98,75,11,33,1,0,143,151,132,15,32,254,99,200,37,132,43,130,4,39,0,10,0,128,1,128,3, + 0,104,151,14,97,187,20,69,131,15,67,195,11,87,227,7,33,128,128,132,128,33,254,0,68,131,9,65,46,26,42,0,0,0,7,0,0,255,128,3,128,0,88,223,15,33,0,21,89,61,22,66,209,12,65,2,12,37,0,2, + 1,0,3,128,101,83,8,36,0,1,53,51,29,130,3,34,21,1,0,66,53,8,32,0,68,215,6,100,55,25,107,111,9,66,193,11,72,167,8,73,143,31,139,31,33,1,0,131,158,32,254,132,5,33,253,128,65,16,9,133, + 17,89,130,25,141,212,33,0,0,93,39,8,90,131,25,93,39,14,66,217,6,106,179,8,159,181,71,125,15,139,47,138,141,87,11,14,76,23,14,65,231,26,140,209,66,122,8,81,179,5,101,195,26,32,47,74, + 75,13,69,159,11,83,235,11,67,21,16,136,167,131,106,130,165,130,15,32,128,101,90,24,134,142,32,0,65,103,51,108,23,11,101,231,15,75,173,23,74,237,23,66,15,6,66,46,17,66,58,17,65,105, + 49,66,247,55,71,179,12,70,139,15,86,229,7,84,167,15,32,1,95,72,12,89,49,6,33,128,128,65,136,38,66,30,9,32,0,100,239,7,66,247,29,70,105,20,65,141,19,69,81,15,130,144,32,128,83,41,5, + 32,255,131,177,68,185,5,133,126,65,97,37,32,0,130,0,33,21,0,130,55,66,195,28,67,155,13,34,79,0,83,66,213,13,73,241,19,66,59,19,65,125,11,135,201,66,249,16,32,128,66,44,11,66,56,17, + 68,143,8,68,124,38,67,183,12,96,211,9,65,143,29,112,171,5,32,0,68,131,63,34,33,53,51,71,121,11,32,254,98,251,16,32,253,74,231,10,65,175,37,133,206,37,0,0,8,1,0,0,107,123,11,113,115, + 9,33,0,1,130,117,131,3,73,103,7,66,51,18,66,44,5,133,75,70,88,5,32,254,65,39,12,68,80,9,34,12,0,128,107,179,28,68,223,6,155,111,86,147,15,32,2,131,82,141,110,33,254,0,130,15,32,4,103, + 184,15,141,35,87,176,5,83,11,5,71,235,23,114,107,11,65,189,16,70,33,15,86,153,31,135,126,86,145,30,65,183,41,32,0,130,0,32,10,65,183,24,34,35,0,39,67,85,9,65,179,15,143,15,33,1,0,65, + 28,17,157,136,130,123,32,20,130,3,32,0,97,135,24,115,167,19,80,71,12,32,51,110,163,14,78,35,19,131,19,155,23,77,229,8,78,9,17,151,17,67,231,46,94,135,8,73,31,31,93,215,56,82,171,25, + 72,77,8,162,179,169,167,99,131,11,69,85,19,66,215,15,76,129,13,68,115,22,72,79,35,67,113,5,34,0,0,19,70,31,46,65,89,52,73,223,15,85,199,33,95,33,8,132,203,73,29,32,67,48,16,177,215, + 101,13,15,65,141,43,69,141,15,75,89,5,70,0,11,70,235,21,178,215,36,10,0,128,0,0,71,207,24,33,0,19,100,67,6,80,215,11,66,67,7,80,43,12,71,106,7,80,192,5,65,63,5,66,217,26,33,0,13,156, + 119,68,95,5,72,233,12,134,129,85,81,11,76,165,20,65,43,8,73,136,8,75,10,31,38,128,128,0,0,0,13,1,130,4,32,3,106,235,29,114,179,12,66,131,23,32,7,77,133,6,67,89,12,131,139,116,60,9, + 89,15,37,32,0,74,15,7,103,11,22,65,35,5,33,55,0,93,81,28,67,239,23,78,85,5,107,93,14,66,84,17,65,193,26,74,183,10,66,67,34,143,135,79,91,15,32,7,117,111,8,75,56,9,84,212,9,154,134, + 32,0,130,0,32,18,130,3,70,171,41,83,7,16,70,131,19,84,191,15,84,175,19,84,167,30,84,158,12,154,193,68,107,15,33,0,0,65,79,42,65,71,7,73,55,7,118,191,16,83,180,9,32,255,76,166,9,154, + 141,32,0,130,0,69,195,52,65,225,15,151,15,75,215,31,80,56,10,68,240,17,100,32,9,70,147,39,65,93,12,71,71,41,92,85,15,84,135,23,78,35,15,110,27,10,84,125,8,107,115,29,136,160,38,0,0, + 14,0,128,255,0,82,155,24,67,239,8,119,255,11,69,131,11,77,29,6,112,31,8,134,27,105,203,8,32,2,75,51,11,75,195,12,74,13,29,136,161,37,128,0,0,0,11,1,130,163,82,115,8,125,191,17,69,35, + 12,74,137,15,143,15,32,1,65,157,12,136,12,161,142,65,43,40,65,199,6,65,19,24,102,185,11,76,123,11,99,6,12,135,12,32,254,130,8,161,155,101,23,9,39,8,0,0,1,128,3,128,2,78,63,17,72,245, + 12,67,41,11,90,167,9,32,128,97,49,9,32,128,109,51,14,132,97,81,191,8,130,97,125,99,12,121,35,9,127,75,15,71,79,12,81,151,23,87,97,7,70,223,15,80,245,16,105,97,15,32,254,113,17,6,32, + 128,130,8,105,105,8,76,122,18,65,243,21,74,63,7,38,4,1,0,255,0,2,0,119,247,28,133,65,32,255,141,91,35,0,0,0,16,67,63,36,34,59,0,63,77,59,9,119,147,11,143,241,66,173,15,66,31,11,67, + 75,8,81,74,16,32,128,131,255,87,181,42,127,43,5,34,255,128,2,120,235,11,37,19,0,23,0,0,37,109,191,14,118,219,7,127,43,14,65,79,14,35,0,0,0,3,73,91,5,130,5,38,3,0,7,0,11,0,0,70,205, + 11,88,221,12,32,0,73,135,7,87,15,22,73,135,10,79,153,15,97,71,19,65,49,11,32,1,131,104,121,235,11,80,65,11,142,179,144,14,81,123,46,32,1,88,217,5,112,5,8,65,201,15,83,29,15,122,147, + 11,135,179,142,175,143,185,67,247,39,66,199,7,35,5,0,128,3,69,203,15,123,163,12,67,127,7,130,119,71,153,10,141,102,70,175,8,32,128,121,235,30,136,89,100,191,11,116,195,11,111,235,15, + 72,39,7,32,2,97,43,5,132,5,94,67,8,131,8,125,253,10,32,3,65,158,16,146,16,130,170,40,0,21,0,128,0,0,3,128,5,88,219,15,24,64,159,32,135,141,65,167,15,68,163,10,97,73,49,32,255,82,58, + 7,93,80,8,97,81,16,24,67,87,52,34,0,0,5,130,231,33,128,2,80,51,13,65,129,8,113,61,6,132,175,65,219,5,130,136,77,152,17,32,0,95,131,61,70,215,6,33,21,51,90,53,10,78,97,23,105,77,31, + 65,117,7,139,75,24,68,195,9,24,64,22,9,33,0,128,130,11,33,128,128,66,25,5,121,38,5,134,5,134,45,66,40,36,66,59,18,34,128,0,0,66,59,81,135,245,123,103,19,120,159,19,77,175,12,33,255, + 0,87,29,10,94,70,21,66,59,54,39,3,1,128,3,0,2,128,4,24,65,7,15,66,47,7,72,98,12,37,0,0,0,3,1,0,24,65,55,21,131,195,32,1,67,178,6,33,4,0,77,141,8,32,6,131,47,74,67,16,24,69,3,20,24, + 65,251,7,133,234,130,229,94,108,17,35,0,0,6,0,141,175,86,59,5,162,79,85,166,8,70,112,13,32,13,24,64,67,26,24,71,255,7,123,211,12,80,121,11,69,215,15,66,217,11,69,71,10,131,113,132, + 126,119,90,9,66,117,19,132,19,32,0,130,0,24,64,47,59,33,7,0,73,227,5,68,243,15,85,13,12,76,37,22,74,254,15,130,138,33,0,4,65,111,6,137,79,65,107,16,32,1,77,200,6,34,128,128,3,75,154, + 12,37,0,16,0,0,2,0,104,115,36,140,157,68,67,19,68,51,15,106,243,15,134,120,70,37,10,68,27,10,140,152,65,121,24,32,128,94,155,7,67,11,8,24,74,11,25,65,3,12,83,89,18,82,21,37,67,200, + 5,130,144,24,64,172,12,33,4,0,134,162,74,80,14,145,184,32,0,130,0,69,251,20,32,19,81,243,5,82,143,8,33,5,53,89,203,5,133,112,79,109,15,33,0,21,130,71,80,175,41,36,75,0,79,0,83,121, + 117,9,87,89,27,66,103,11,70,13,15,75,191,11,135,67,87,97,20,109,203,5,69,246,8,108,171,5,78,195,38,65,51,13,107,203,11,77,3,17,24,75,239,17,65,229,28,79,129,39,130,175,32,128,123,253, + 7,132,142,24,65,51,15,65,239,41,36,128,128,0,0,13,65,171,5,66,163,28,136,183,118,137,11,80,255,15,67,65,7,74,111,8,32,0,130,157,32,253,24,76,35,10,103,212,5,81,175,9,69,141,7,66,150, + 29,131,158,24,75,199,28,124,185,7,76,205,15,68,124,14,32,3,123,139,16,130,16,33,128,128,108,199,6,33,0,3,65,191,35,107,11,6,73,197,11,24,70,121,15,83,247,15,24,70,173,23,69,205,14, + 32,253,131,140,32,254,136,4,94,198,9,32,3,78,4,13,66,127,13,143,13,32,0,130,0,33,16,0,24,69,59,39,109,147,12,76,253,19,24,69,207,15,69,229,15,130,195,71,90,10,139,10,130,152,73,43, + 40,91,139,10,65,131,37,35,75,0,79,0,84,227,12,143,151,68,25,15,80,9,23,95,169,11,34,128,2,128,112,186,5,130,6,83,161,19,76,50,6,130,37,65,145,44,110,83,5,32,16,67,99,6,71,67,15,76, + 55,17,140,215,67,97,23,76,69,15,77,237,11,104,211,23,77,238,11,65,154,43,33,0,10,83,15,28,83,13,20,67,145,19,67,141,14,97,149,21,68,9,15,86,251,5,66,207,5,66,27,37,82,1,23,127,71,12, + 94,235,10,110,175,24,98,243,15,132,154,132,4,24,66,69,10,32,4,67,156,43,130,198,35,2,1,0,4,75,27,9,69,85,9,95,240,7,32,128,130,35,32,28,66,43,40,24,82,63,23,83,123,12,72,231,15,127, + 59,23,116,23,19,117,71,7,24,77,99,15,67,111,15,71,101,8,36,2,128,128,252,128,127,60,11,32,1,132,16,130,18,141,24,67,107,9,32,3,68,194,15,175,15,38,0,11,0,128,1,128,2,80,63,25,32,0, + 24,65,73,11,69,185,15,83,243,16,32,0,24,81,165,8,130,86,77,35,6,155,163,88,203,5,24,66,195,30,70,19,19,24,80,133,15,32,1,75,211,8,32,254,108,133,8,79,87,20,65,32,9,41,0,0,7,0,128,0, + 0,2,128,2,68,87,15,66,1,16,92,201,16,24,76,24,17,133,17,34,128,0,30,66,127,64,34,115,0,119,73,205,9,66,43,11,109,143,15,24,79,203,11,90,143,15,131,15,155,31,65,185,15,86,87,11,35,128, + 128,253,0,69,7,6,130,213,33,1,0,119,178,15,142,17,66,141,74,83,28,6,36,7,0,0,4,128,82,39,18,76,149,12,67,69,21,32,128,79,118,15,32,0,130,0,32,8,131,206,32,2,79,83,9,100,223,14,102, + 113,23,115,115,7,24,65,231,12,130,162,32,4,68,182,19,130,102,93,143,8,69,107,29,24,77,255,12,143,197,72,51,7,76,195,15,132,139,85,49,15,130,152,131,18,71,81,23,70,14,11,36,0,10,0,128, + 2,69,59,9,89,151,15,66,241,11,76,165,12,71,43,15,75,49,13,65,12,23,132,37,32,0,179,115,130,231,95,181,16,132,77,32,254,67,224,8,65,126,20,79,171,8,32,2,89,81,5,75,143,6,80,41,8,34, + 2,0,128,24,81,72,9,32,0,130,0,35,17,0,0,255,77,99,39,95,65,36,67,109,15,24,69,93,11,77,239,5,95,77,23,35,128,1,0,128,24,86,7,8,132,167,32,2,69,198,41,130,202,33,0,26,120,75,44,24,89, + 51,15,71,243,12,70,239,11,24,84,3,11,66,7,11,71,255,10,32,21,69,155,35,88,151,12,32,128,74,38,10,65,210,8,74,251,5,65,226,5,75,201,13,32,3,65,9,41,146,41,40,0,0,0,9,1,0,1,0,2,91,99, + 19,32,35,106,119,13,70,219,15,83,239,12,137,154,32,2,67,252,19,36,128,0,0,4,1,130,196,32,2,130,8,91,107,8,32,0,135,81,24,73,211,8,132,161,73,164,13,36,0,8,0,128,2,105,123,26,139,67, + 76,99,15,34,1,0,128,135,76,83,156,20,92,104,8,67,251,30,24,86,47,27,123,207,12,24,86,7,15,71,227,8,32,4,65,20,20,131,127,32,0,130,123,32,0,71,223,26,32,19,90,195,22,71,223,15,84,200, + 6,32,128,133,241,24,84,149,9,67,41,25,36,0,0,0,22,0,88,111,49,32,87,66,21,5,77,3,27,123,75,7,71,143,19,135,183,71,183,19,130,171,74,252,5,131,5,89,87,17,32,1,132,18,130,232,68,11,10, + 33,1,128,70,208,16,66,230,18,147,18,130,254,223,255,75,27,23,65,59,15,135,39,155,255,34,128,128,254,104,92,8,33,0,128,65,32,11,65,1,58,33,26,0,130,0,72,71,18,78,55,17,76,11,19,86,101, + 12,75,223,11,89,15,11,24,76,87,15,75,235,15,131,15,72,95,7,85,71,11,72,115,11,73,64,6,34,1,128,128,66,215,9,34,128,254,128,134,14,33,128,255,67,102,5,32,0,130,16,70,38,11,66,26,57, + 88,11,8,24,76,215,34,78,139,7,95,245,7,32,7,24,73,75,23,32,128,131,167,130,170,101,158,9,82,49,22,118,139,6,32,18,67,155,44,116,187,9,108,55,14,80,155,23,66,131,15,93,77,10,131,168, + 32,128,73,211,12,24,75,187,22,32,4,96,71,20,67,108,19,132,19,120,207,8,32,5,76,79,15,66,111,21,66,95,8,32,3,190,211,111,3,8,211,212,32,20,65,167,44,34,75,0,79,97,59,13,32,33,112,63, + 10,65,147,19,69,39,19,143,39,24,66,71,9,130,224,65,185,43,94,176,12,65,183,24,71,38,8,24,72,167,7,65,191,38,136,235,24,96,167,12,65,203,62,115,131,13,65,208,42,175,235,67,127,6,32, + 4,76,171,29,114,187,5,32,71,65,211,5,65,203,68,72,51,8,164,219,32,0,172,214,71,239,58,78,3,27,66,143,15,77,19,15,147,31,35,33,53,51,21,66,183,10,173,245,66,170,30,150,30,34,0,0,23, + 80,123,54,76,1,16,73,125,15,82,245,11,167,253,24,76,85,12,70,184,5,32,254,131,185,37,254,0,128,1,0,128,133,16,117,158,18,92,27,38,65,3,17,130,251,35,17,0,128,254,24,69,83,39,140,243, + 121,73,19,109,167,7,81,41,15,24,95,175,12,102,227,15,121,96,11,24,95,189,7,32,3,145,171,154,17,24,77,47,9,33,0,5,70,71,37,68,135,7,32,29,117,171,11,69,87,15,24,79,97,19,24,79,149,23, + 131,59,32,1,75,235,5,72,115,11,72,143,7,132,188,71,27,46,131,51,32,0,69,95,6,175,215,32,21,131,167,81,15,19,151,191,151,23,131,215,71,43,5,32,254,24,79,164,24,74,109,8,77,166,13,65, + 176,26,88,162,5,98,159,6,171,219,120,247,6,79,29,8,99,169,10,103,59,19,65,209,35,131,35,91,25,19,112,94,15,83,36,8,173,229,33,20,0,88,75,43,71,31,12,65,191,71,33,1,0,130,203,32,254, + 131,4,68,66,7,67,130,6,104,61,13,173,215,38,13,1,0,0,0,2,128,67,111,28,74,129,16,104,35,19,79,161,16,87,14,7,138,143,132,10,67,62,36,114,115,5,162,151,67,33,16,108,181,15,143,151,67, + 5,5,24,100,242,15,170,153,34,0,0,14,65,51,34,32,55,79,75,9,32,51,74,7,10,65,57,38,132,142,32,254,72,0,14,139,163,32,128,80,254,8,67,158,21,65,63,7,32,4,72,227,27,95,155,12,67,119,19, + 124,91,24,149,154,72,177,34,97,223,8,155,151,24,108,227,15,88,147,16,72,117,19,68,35,11,92,253,15,70,199,15,24,87,209,17,32,2,87,233,7,32,1,24,88,195,10,119,24,8,32,3,81,227,24,65, + 125,21,35,128,128,0,25,76,59,48,24,90,187,9,97,235,12,66,61,11,91,105,19,24,79,141,11,24,79,117,15,24,79,129,27,90,53,13,130,13,32,253,131,228,24,79,133,40,69,70,8,66,137,31,65,33, + 19,96,107,8,68,119,29,66,7,5,68,125,16,65,253,19,65,241,27,24,90,179,13,24,79,143,18,33,128,128,130,246,32,254,130,168,68,154,36,77,51,9,97,47,5,167,195,32,21,131,183,78,239,27,155, + 195,78,231,14,201,196,77,11,6,32,5,73,111,37,97,247,12,77,19,31,155,207,78,215,19,162,212,69,17,14,66,91,19,80,143,57,78,203,39,159,215,32,128,93,134,8,24,80,109,24,66,113,15,169,215, + 66,115,6,32,4,69,63,33,32,0,101,113,7,86,227,35,143,211,36,49,53,51,21,1,77,185,14,65,159,28,69,251,34,67,56,8,33,9,0,24,107,175,25,90,111,12,110,251,11,119,189,24,119,187,34,87,15, + 9,32,4,66,231,37,90,39,7,66,239,8,84,219,15,69,105,23,24,85,27,27,87,31,11,33,1,128,76,94,6,32,1,85,241,7,33,128,128,106,48,10,33,128,128,69,136,11,133,13,24,79,116,49,84,236,8,24, + 91,87,9,32,5,165,255,69,115,12,66,27,15,159,15,24,72,247,12,74,178,5,24,80,64,15,33,0,128,143,17,77,89,51,130,214,24,81,43,7,170,215,74,49,8,159,199,143,31,139,215,69,143,5,32,254, + 24,81,50,35,181,217,84,123,70,143,195,159,15,65,187,16,66,123,7,65,175,15,65,193,29,68,207,39,79,27,5,70,131,6,32,4,68,211,33,33,67,0,83,143,14,159,207,143,31,140,223,33,0,128,24,80, + 82,14,24,93,16,23,32,253,65,195,5,68,227,40,133,214,107,31,7,32,5,67,115,27,87,9,8,107,31,43,66,125,6,32,0,103,177,23,131,127,72,203,36,32,0,110,103,8,155,163,73,135,6,32,19,24,112, + 99,10,65,71,11,73,143,19,143,31,126,195,5,24,85,21,9,24,76,47,14,32,254,24,93,77,36,68,207,11,39,25,0,0,255,128,3,128,4,66,51,37,95,247,13,82,255,24,76,39,19,147,221,66,85,27,24,118, + 7,8,24,74,249,12,76,74,8,91,234,8,67,80,17,131,222,33,253,0,121,30,44,73,0,16,69,15,6,32,0,65,23,38,69,231,12,65,179,6,98,131,16,86,31,27,24,108,157,14,80,160,8,24,65,46,17,33,4,0, + 96,2,18,144,191,65,226,8,68,19,5,171,199,80,9,15,180,199,67,89,5,32,255,24,79,173,28,174,201,24,79,179,50,32,1,24,122,5,10,82,61,10,180,209,83,19,8,32,128,24,80,129,27,111,248,43,131, + 71,24,115,103,8,67,127,41,78,213,24,100,247,19,66,115,39,75,107,5,32,254,165,219,78,170,40,24,112,163,49,32,1,97,203,6,65,173,64,32,0,83,54,7,133,217,88,37,12,32,254,131,28,33,128, + 3,67,71,44,84,183,6,32,5,69,223,33,96,7,7,123,137,16,192,211,24,112,14,9,32,255,67,88,29,68,14,10,84,197,38,33,0,22,116,47,50,32,87,106,99,9,116,49,15,89,225,15,97,231,23,70,41,19, + 82,85,8,93,167,6,32,253,132,236,108,190,7,89,251,5,116,49,58,33,128,128,131,234,32,15,24,74,67,38,70,227,24,24,83,45,23,89,219,12,70,187,12,89,216,19,32,2,69,185,24,141,24,70,143,66, + 24,82,119,56,78,24,10,32,253,133,149,132,6,24,106,233,7,69,198,48,178,203,81,243,12,68,211,15,106,255,23,66,91,15,69,193,7,100,39,10,24,83,72,16,176,204,33,19,0,88,207,45,68,21,12, + 68,17,10,65,157,53,68,17,6,32,254,92,67,10,65,161,25,69,182,43,24,118,91,47,69,183,18,181,209,111,253,12,89,159,8,66,112,12,69,184,45,35,0,0,0,9,24,80,227,26,73,185,16,118,195,15,131, + 15,33,1,0,65,59,15,66,39,27,160,111,66,205,12,148,111,143,110,33,128,128,156,112,24,81,199,8,75,199,23,66,117,20,155,121,32,254,68,126,12,72,213,29,134,239,149,123,89,27,16,148,117, + 65,245,8,24,71,159,14,141,134,134,28,73,51,55,109,77,15,105,131,11,68,67,11,76,169,27,107,209,12,102,174,8,32,128,72,100,18,116,163,56,79,203,11,75,183,44,85,119,19,71,119,23,151,227, + 32,1,93,27,8,65,122,5,77,102,8,110,120,20,66,23,8,66,175,17,66,63,12,133,12,79,35,8,74,235,33,67,149,16,69,243,15,78,57,15,69,235,16,67,177,7,151,192,130,23,67,84,29,141,192,174,187, + 77,67,15,69,11,12,159,187,77,59,10,199,189,24,70,235,50,96,83,19,66,53,23,105,65,19,77,47,12,163,199,66,67,37,78,207,50,67,23,23,174,205,67,228,6,71,107,13,67,22,14,66,85,11,83,187, + 38,124,47,49,95,7,19,66,83,23,67,23,19,24,96,78,17,80,101,16,71,98,40,33,0,7,88,131,22,24,89,245,12,84,45,12,102,213,5,123,12,9,32,2,126,21,14,43,255,0,128,128,0,0,20,0,128,255,128, + 3,126,19,39,32,75,106,51,7,113,129,15,24,110,135,19,126,47,15,115,117,11,69,47,11,32,2,109,76,9,102,109,9,32,128,75,2,10,130,21,32,254,69,47,6,32,3,94,217,47,32,0,65,247,10,69,15,46, + 65,235,31,65,243,15,101,139,10,66,174,14,65,247,16,72,102,28,69,17,14,84,243,9,165,191,88,47,48,66,53,12,32,128,71,108,6,203,193,32,17,75,187,42,73,65,16,65,133,52,114,123,9,167,199, + 69,21,37,86,127,44,75,171,11,180,197,78,213,12,148,200,81,97,46,24,95,243,9,32,4,66,75,33,113,103,9,87,243,36,143,225,24,84,27,31,90,145,8,148,216,67,49,5,24,84,34,14,75,155,27,67, + 52,13,140,13,36,0,20,0,128,255,24,135,99,46,88,59,43,155,249,80,165,7,136,144,71,161,23,32,253,132,33,32,254,88,87,44,136,84,35,128,0,0,21,81,103,5,94,47,44,76,51,12,143,197,151,15, + 65,215,31,24,64,77,13,65,220,20,65,214,14,71,4,40,65,213,13,32,0,130,0,35,21,1,2,0,135,0,34,36,0,72,134,10,36,1,0,26,0,130,134,11,36,2,0,14,0,108,134,11,32,3,138,23,32,4,138,11,34, + 5,0,20,134,33,34,0,0,6,132,23,32,1,134,15,32,18,130,25,133,11,37,1,0,13,0,49,0,133,11,36,2,0,7,0,38,134,11,36,3,0,17,0,45,134,11,32,4,138,35,36,5,0,10,0,62,134,23,32,6,132,23,36,3, + 0,1,4,9,130,87,131,167,133,11,133,167,133,11,133,167,133,11,37,3,0,34,0,122,0,133,11,133,167,133,11,133,167,133,11,133,167,34,50,0,48,130,1,34,52,0,47,134,5,8,49,49,0,53,98,121,32, + 84,114,105,115,116,97,110,32,71,114,105,109,109,101,114,82,101,103,117,108,97,114,84,84,88,32,80,114,111,103,103,121,67,108,101,97,110,84,84,50,48,48,52,47,130,2,53,49,53,0,98,0,121, + 0,32,0,84,0,114,0,105,0,115,0,116,0,97,0,110,130,15,32,71,132,15,36,109,0,109,0,101,130,9,32,82,130,5,36,103,0,117,0,108,130,29,32,114,130,43,34,84,0,88,130,35,32,80,130,25,34,111, + 0,103,130,1,34,121,0,67,130,27,32,101,132,59,32,84,130,31,33,0,0,65,155,9,34,20,0,0,65,11,6,130,8,135,2,33,1,1,130,9,8,120,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,1,10,1,11,1,12,1,13,1,14, + 1,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,25,1,26,1,27,1,28,1,29,1,30,1,31,1,32,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0, + 22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,130,187,8,66,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,0,53,0,54,0,55,0,56,0, + 57,0,58,0,59,0,60,0,61,0,62,0,63,0,64,0,65,0,66,130,243,9,75,68,0,69,0,70,0,71,0,72,0,73,0,74,0,75,0,76,0,77,0,78,0,79,0,80,0,81,0,82,0,83,0,84,0,85,0,86,0,87,0,88,0,89,0,90,0,91,0, + 92,0,93,0,94,0,95,0,96,0,97,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,43,1,44,1,45,1,46,1,47,1,48,1,49,1,50,1,51,1,52,1,53,1,54,1,55,1,56,1,57,1,58,1,59,1,60,1,61,1,62,1, + 63,1,64,1,65,0,172,0,163,0,132,0,133,0,189,0,150,0,232,0,134,0,142,0,139,0,157,0,169,0,164,0,239,0,138,0,218,0,131,0,147,0,242,0,243,0,141,0,151,0,136,0,195,0,222,0,241,0,158,0,170, + 0,245,0,244,0,246,0,162,0,173,0,201,0,199,0,174,0,98,0,99,0,144,0,100,0,203,0,101,0,200,0,202,0,207,0,204,0,205,0,206,0,233,0,102,0,211,0,208,0,209,0,175,0,103,0,240,0,145,0,214,0, + 212,0,213,0,104,0,235,0,237,0,137,0,106,0,105,0,107,0,109,0,108,0,110,0,160,0,111,0,113,0,112,0,114,0,115,0,117,0,116,0,118,0,119,0,234,0,120,0,122,0,121,0,123,0,125,0,124,0,184,0, + 161,0,127,0,126,0,128,0,129,0,236,0,238,0,186,14,117,110,105,99,111,100,101,35,48,120,48,48,48,49,141,14,32,50,141,14,32,51,141,14,32,52,141,14,32,53,141,14,32,54,141,14,32,55,141, + 14,32,56,141,14,32,57,141,14,32,97,141,14,32,98,141,14,32,99,141,14,32,100,141,14,32,101,141,14,32,102,140,14,33,49,48,141,14,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49, + 141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,32,49,141,239,45,49,102,6,100,101,108,101,116,101,4,69,117,114, + 111,140,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236,32,56,141,236, + 32,56,141,236,32,56,141,236,32,56,65,220,13,32,57,65,220,13,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141, + 239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,32,57,141,239,35,57,102,0,0,5,250,72,249,98,247, +}; + +static const char* GetDefaultCompressedFontDataTTF(int* out_size) +{ + *out_size = proggy_clean_ttf_compressed_size; + return (const char*)proggy_clean_ttf_compressed_data; +} +#endif // #ifndef IMGUI_DISABLE_DEFAULT_FONT + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.cpp new file mode 100644 index 0000000..9f39588 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.cpp @@ -0,0 +1,628 @@ +// dear imgui: Renderer Backend for DirectX11 +// This needs to be used along with a Platform Backend (e.g. Win32) + +// Implemented features: +// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID! +// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset). +// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'. + +// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this. +// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. +// Learn about Dear ImGui: +// - FAQ https://dearimgui.com/faq +// - Getting Started https://dearimgui.com/getting-started +// - Documentation https://dearimgui.com/docs (same as your local docs/ folder). +// - Introduction, links and more at the top of imgui.cpp + +// CHANGELOG +// (minor and older changes stripped away, please see git history for details) +// 2025-01-06: DirectX11: Expose VertexConstantBuffer in ImGui_ImplDX11_RenderState. Reset projection matrix in ImDrawCallback_ResetRenderState handler. +// 2024-10-07: DirectX11: Changed default texture sampler to Clamp instead of Repeat/Wrap. +// 2024-10-07: DirectX11: Expose selected render state in ImGui_ImplDX11_RenderState, which you can access in 'void* platform_io.Renderer_RenderState' during draw callbacks. +// 2022-10-11: Using 'nullptr' instead of 'NULL' as per our switch to C++11. +// 2021-06-29: Reorganized backend to pull data from a single structure to facilitate usage with multiple-contexts (all g_XXXX access changed to bd->XXXX). +// 2021-05-19: DirectX11: Replaced direct access to ImDrawCmd::TextureId with a call to ImDrawCmd::GetTexID(). (will become a requirement) +// 2021-02-18: DirectX11: Change blending equation to preserve alpha in output buffer. +// 2019-08-01: DirectX11: Fixed code querying the Geometry Shader state (would generally error with Debug layer enabled). +// 2019-07-21: DirectX11: Backup, clear and restore Geometry Shader is any is bound when calling ImGui_ImplDX11_RenderDrawData. Clearing Hull/Domain/Compute shaders without backup/restore. +// 2019-05-29: DirectX11: Added support for large mesh (64K+ vertices), enable ImGuiBackendFlags_RendererHasVtxOffset flag. +// 2019-04-30: DirectX11: Added support for special ImDrawCallback_ResetRenderState callback to reset render state. +// 2018-12-03: Misc: Added #pragma comment statement to automatically link with d3dcompiler.lib when using D3DCompile(). +// 2018-11-30: Misc: Setting up io.BackendRendererName so it can be displayed in the About Window. +// 2018-08-01: DirectX11: Querying for IDXGIFactory instead of IDXGIFactory1 to increase compatibility. +// 2018-07-13: DirectX11: Fixed unreleased resources in Init and Shutdown functions. +// 2018-06-08: Misc: Extracted imgui_impl_dx11.cpp/.h away from the old combined DX11+Win32 example. +// 2018-06-08: DirectX11: Use draw_data->DisplayPos and draw_data->DisplaySize to setup projection matrix and clipping rectangle. +// 2018-02-16: Misc: Obsoleted the io.RenderDrawListsFn callback and exposed ImGui_ImplDX11_RenderDrawData() in the .h file so you can call it yourself. +// 2018-02-06: Misc: Removed call to ImGui::Shutdown() which is not available from 1.60 WIP, user needs to call CreateContext/DestroyContext themselves. +// 2016-05-07: DirectX11: Disabling depth-write. + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_impl_dx11.h" + +// DirectX +#include +#include +#include +#ifdef _MSC_VER +#pragma comment(lib, "d3dcompiler") // Automatically link with d3dcompiler.lib as we are using D3DCompile() below. +#endif + +// DirectX11 data +struct ImGui_ImplDX11_Data +{ + ID3D11Device* pd3dDevice; + ID3D11DeviceContext* pd3dDeviceContext; + IDXGIFactory* pFactory; + ID3D11Buffer* pVB; + ID3D11Buffer* pIB; + ID3D11VertexShader* pVertexShader; + ID3D11InputLayout* pInputLayout; + ID3D11Buffer* pVertexConstantBuffer; + ID3D11PixelShader* pPixelShader; + ID3D11SamplerState* pFontSampler; + ID3D11ShaderResourceView* pFontTextureView; + ID3D11RasterizerState* pRasterizerState; + ID3D11BlendState* pBlendState; + ID3D11DepthStencilState* pDepthStencilState; + int VertexBufferSize; + int IndexBufferSize; + + ImGui_ImplDX11_Data() { memset((void*)this, 0, sizeof(*this)); VertexBufferSize = 5000; IndexBufferSize = 10000; } +}; + +struct VERTEX_CONSTANT_BUFFER_DX11 +{ + float mvp[4][4]; +}; + +// Backend data stored in io.BackendRendererUserData to allow support for multiple Dear ImGui contexts +// It is STRONGLY preferred that you use docking branch with multi-viewports (== single Dear ImGui context + multiple windows) instead of multiple Dear ImGui contexts. +static ImGui_ImplDX11_Data* ImGui_ImplDX11_GetBackendData() +{ + return ImGui::GetCurrentContext() ? (ImGui_ImplDX11_Data*)ImGui::GetIO().BackendRendererUserData : nullptr; +} + +// Functions +static void ImGui_ImplDX11_SetupRenderState(ImDrawData* draw_data, ID3D11DeviceContext* device_ctx) +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + + // Setup viewport + D3D11_VIEWPORT vp = {}; + vp.Width = draw_data->DisplaySize.x; + vp.Height = draw_data->DisplaySize.y; + vp.MinDepth = 0.0f; + vp.MaxDepth = 1.0f; + vp.TopLeftX = vp.TopLeftY = 0; + device_ctx->RSSetViewports(1, &vp); + + // Setup orthographic projection matrix into our constant buffer + // Our visible imgui space lies from draw_data->DisplayPos (top left) to draw_data->DisplayPos+data_data->DisplaySize (bottom right). DisplayPos is (0,0) for single viewport apps. + D3D11_MAPPED_SUBRESOURCE mapped_resource; + if (device_ctx->Map(bd->pVertexConstantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mapped_resource) == S_OK) + { + VERTEX_CONSTANT_BUFFER_DX11* constant_buffer = (VERTEX_CONSTANT_BUFFER_DX11*)mapped_resource.pData; + float L = draw_data->DisplayPos.x; + float R = draw_data->DisplayPos.x + draw_data->DisplaySize.x; + float T = draw_data->DisplayPos.y; + float B = draw_data->DisplayPos.y + draw_data->DisplaySize.y; + float mvp[4][4] = + { + { 2.0f/(R-L), 0.0f, 0.0f, 0.0f }, + { 0.0f, 2.0f/(T-B), 0.0f, 0.0f }, + { 0.0f, 0.0f, 0.5f, 0.0f }, + { (R+L)/(L-R), (T+B)/(B-T), 0.5f, 1.0f }, + }; + memcpy(&constant_buffer->mvp, mvp, sizeof(mvp)); + device_ctx->Unmap(bd->pVertexConstantBuffer, 0); + } + + // Setup shader and vertex buffers + unsigned int stride = sizeof(ImDrawVert); + unsigned int offset = 0; + device_ctx->IASetInputLayout(bd->pInputLayout); + device_ctx->IASetVertexBuffers(0, 1, &bd->pVB, &stride, &offset); + device_ctx->IASetIndexBuffer(bd->pIB, sizeof(ImDrawIdx) == 2 ? DXGI_FORMAT_R16_UINT : DXGI_FORMAT_R32_UINT, 0); + device_ctx->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + device_ctx->VSSetShader(bd->pVertexShader, nullptr, 0); + device_ctx->VSSetConstantBuffers(0, 1, &bd->pVertexConstantBuffer); + device_ctx->PSSetShader(bd->pPixelShader, nullptr, 0); + device_ctx->PSSetSamplers(0, 1, &bd->pFontSampler); + device_ctx->GSSetShader(nullptr, nullptr, 0); + device_ctx->HSSetShader(nullptr, nullptr, 0); // In theory we should backup and restore this as well.. very infrequently used.. + device_ctx->DSSetShader(nullptr, nullptr, 0); // In theory we should backup and restore this as well.. very infrequently used.. + device_ctx->CSSetShader(nullptr, nullptr, 0); // In theory we should backup and restore this as well.. very infrequently used.. + + // Setup render state + const float blend_factor[4] = { 0.f, 0.f, 0.f, 0.f }; + device_ctx->OMSetBlendState(bd->pBlendState, blend_factor, 0xffffffff); + device_ctx->OMSetDepthStencilState(bd->pDepthStencilState, 0); + device_ctx->RSSetState(bd->pRasterizerState); +} + +// Render function +void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data) +{ + // Avoid rendering when minimized + if (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f) + return; + + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + ID3D11DeviceContext* device = bd->pd3dDeviceContext; + + // Create and grow vertex/index buffers if needed + if (!bd->pVB || bd->VertexBufferSize < draw_data->TotalVtxCount) + { + if (bd->pVB) { bd->pVB->Release(); bd->pVB = nullptr; } + bd->VertexBufferSize = draw_data->TotalVtxCount + 5000; + D3D11_BUFFER_DESC desc = {}; + desc.Usage = D3D11_USAGE_DYNAMIC; + desc.ByteWidth = bd->VertexBufferSize * sizeof(ImDrawVert); + desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; + desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; + desc.MiscFlags = 0; + if (bd->pd3dDevice->CreateBuffer(&desc, nullptr, &bd->pVB) < 0) + return; + } + if (!bd->pIB || bd->IndexBufferSize < draw_data->TotalIdxCount) + { + if (bd->pIB) { bd->pIB->Release(); bd->pIB = nullptr; } + bd->IndexBufferSize = draw_data->TotalIdxCount + 10000; + D3D11_BUFFER_DESC desc = {}; + desc.Usage = D3D11_USAGE_DYNAMIC; + desc.ByteWidth = bd->IndexBufferSize * sizeof(ImDrawIdx); + desc.BindFlags = D3D11_BIND_INDEX_BUFFER; + desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; + if (bd->pd3dDevice->CreateBuffer(&desc, nullptr, &bd->pIB) < 0) + return; + } + + // Upload vertex/index data into a single contiguous GPU buffer + D3D11_MAPPED_SUBRESOURCE vtx_resource, idx_resource; + if (device->Map(bd->pVB, 0, D3D11_MAP_WRITE_DISCARD, 0, &vtx_resource) != S_OK) + return; + if (device->Map(bd->pIB, 0, D3D11_MAP_WRITE_DISCARD, 0, &idx_resource) != S_OK) + return; + ImDrawVert* vtx_dst = (ImDrawVert*)vtx_resource.pData; + ImDrawIdx* idx_dst = (ImDrawIdx*)idx_resource.pData; + for (int n = 0; n < draw_data->CmdListsCount; n++) + { + const ImDrawList* draw_list = draw_data->CmdLists[n]; + memcpy(vtx_dst, draw_list->VtxBuffer.Data, draw_list->VtxBuffer.Size * sizeof(ImDrawVert)); + memcpy(idx_dst, draw_list->IdxBuffer.Data, draw_list->IdxBuffer.Size * sizeof(ImDrawIdx)); + vtx_dst += draw_list->VtxBuffer.Size; + idx_dst += draw_list->IdxBuffer.Size; + } + device->Unmap(bd->pVB, 0); + device->Unmap(bd->pIB, 0); + + // Backup DX state that will be modified to restore it afterwards (unfortunately this is very ugly looking and verbose. Close your eyes!) + struct BACKUP_DX11_STATE + { + UINT ScissorRectsCount, ViewportsCount; + D3D11_RECT ScissorRects[D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE]; + D3D11_VIEWPORT Viewports[D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE]; + ID3D11RasterizerState* RS; + ID3D11BlendState* BlendState; + FLOAT BlendFactor[4]; + UINT SampleMask; + UINT StencilRef; + ID3D11DepthStencilState* DepthStencilState; + ID3D11ShaderResourceView* PSShaderResource; + ID3D11SamplerState* PSSampler; + ID3D11PixelShader* PS; + ID3D11VertexShader* VS; + ID3D11GeometryShader* GS; + UINT PSInstancesCount, VSInstancesCount, GSInstancesCount; + ID3D11ClassInstance *PSInstances[256], *VSInstances[256], *GSInstances[256]; // 256 is max according to PSSetShader documentation + D3D11_PRIMITIVE_TOPOLOGY PrimitiveTopology; + ID3D11Buffer* IndexBuffer, *VertexBuffer, *VSConstantBuffer; + UINT IndexBufferOffset, VertexBufferStride, VertexBufferOffset; + DXGI_FORMAT IndexBufferFormat; + ID3D11InputLayout* InputLayout; + }; + BACKUP_DX11_STATE old = {}; + old.ScissorRectsCount = old.ViewportsCount = D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; + device->RSGetScissorRects(&old.ScissorRectsCount, old.ScissorRects); + device->RSGetViewports(&old.ViewportsCount, old.Viewports); + device->RSGetState(&old.RS); + device->OMGetBlendState(&old.BlendState, old.BlendFactor, &old.SampleMask); + device->OMGetDepthStencilState(&old.DepthStencilState, &old.StencilRef); + device->PSGetShaderResources(0, 1, &old.PSShaderResource); + device->PSGetSamplers(0, 1, &old.PSSampler); + old.PSInstancesCount = old.VSInstancesCount = old.GSInstancesCount = 256; + device->PSGetShader(&old.PS, old.PSInstances, &old.PSInstancesCount); + device->VSGetShader(&old.VS, old.VSInstances, &old.VSInstancesCount); + device->VSGetConstantBuffers(0, 1, &old.VSConstantBuffer); + device->GSGetShader(&old.GS, old.GSInstances, &old.GSInstancesCount); + + device->IAGetPrimitiveTopology(&old.PrimitiveTopology); + device->IAGetIndexBuffer(&old.IndexBuffer, &old.IndexBufferFormat, &old.IndexBufferOffset); + device->IAGetVertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); + device->IAGetInputLayout(&old.InputLayout); + + // Setup desired DX state + ImGui_ImplDX11_SetupRenderState(draw_data, device); + + // Setup render state structure (for callbacks and custom texture bindings) + ImGuiPlatformIO& platform_io = ImGui::GetPlatformIO(); + ImGui_ImplDX11_RenderState render_state; + render_state.Device = bd->pd3dDevice; + render_state.DeviceContext = bd->pd3dDeviceContext; + render_state.SamplerDefault = bd->pFontSampler; + render_state.VertexConstantBuffer = bd->pVertexConstantBuffer; + platform_io.Renderer_RenderState = &render_state; + + // Render command lists + // (Because we merged all buffers into a single one, we maintain our own offset into them) + int global_idx_offset = 0; + int global_vtx_offset = 0; + ImVec2 clip_off = draw_data->DisplayPos; + for (int n = 0; n < draw_data->CmdListsCount; n++) + { + const ImDrawList* draw_list = draw_data->CmdLists[n]; + for (int cmd_i = 0; cmd_i < draw_list->CmdBuffer.Size; cmd_i++) + { + const ImDrawCmd* pcmd = &draw_list->CmdBuffer[cmd_i]; + if (pcmd->UserCallback != nullptr) + { + // User callback, registered via ImDrawList::AddCallback() + // (ImDrawCallback_ResetRenderState is a special callback value used by the user to request the renderer to reset render state.) + if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) + ImGui_ImplDX11_SetupRenderState(draw_data, device); + else + pcmd->UserCallback(draw_list, pcmd); + } + else + { + // Project scissor/clipping rectangles into framebuffer space + ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); + ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); + if (clip_max.x <= clip_min.x || clip_max.y <= clip_min.y) + continue; + + // Apply scissor/clipping rectangle + const D3D11_RECT r = { (LONG)clip_min.x, (LONG)clip_min.y, (LONG)clip_max.x, (LONG)clip_max.y }; + device->RSSetScissorRects(1, &r); + + // Bind texture, Draw + ID3D11ShaderResourceView* texture_srv = (ID3D11ShaderResourceView*)pcmd->GetTexID(); + device->PSSetShaderResources(0, 1, &texture_srv); + device->DrawIndexed(pcmd->ElemCount, pcmd->IdxOffset + global_idx_offset, pcmd->VtxOffset + global_vtx_offset); + } + } + global_idx_offset += draw_list->IdxBuffer.Size; + global_vtx_offset += draw_list->VtxBuffer.Size; + } + platform_io.Renderer_RenderState = nullptr; + + // Restore modified DX state + device->RSSetScissorRects(old.ScissorRectsCount, old.ScissorRects); + device->RSSetViewports(old.ViewportsCount, old.Viewports); + device->RSSetState(old.RS); if (old.RS) old.RS->Release(); + device->OMSetBlendState(old.BlendState, old.BlendFactor, old.SampleMask); if (old.BlendState) old.BlendState->Release(); + device->OMSetDepthStencilState(old.DepthStencilState, old.StencilRef); if (old.DepthStencilState) old.DepthStencilState->Release(); + device->PSSetShaderResources(0, 1, &old.PSShaderResource); if (old.PSShaderResource) old.PSShaderResource->Release(); + device->PSSetSamplers(0, 1, &old.PSSampler); if (old.PSSampler) old.PSSampler->Release(); + device->PSSetShader(old.PS, old.PSInstances, old.PSInstancesCount); if (old.PS) old.PS->Release(); + for (UINT i = 0; i < old.PSInstancesCount; i++) if (old.PSInstances[i]) old.PSInstances[i]->Release(); + device->VSSetShader(old.VS, old.VSInstances, old.VSInstancesCount); if (old.VS) old.VS->Release(); + device->VSSetConstantBuffers(0, 1, &old.VSConstantBuffer); if (old.VSConstantBuffer) old.VSConstantBuffer->Release(); + device->GSSetShader(old.GS, old.GSInstances, old.GSInstancesCount); if (old.GS) old.GS->Release(); + for (UINT i = 0; i < old.VSInstancesCount; i++) if (old.VSInstances[i]) old.VSInstances[i]->Release(); + device->IASetPrimitiveTopology(old.PrimitiveTopology); + device->IASetIndexBuffer(old.IndexBuffer, old.IndexBufferFormat, old.IndexBufferOffset); if (old.IndexBuffer) old.IndexBuffer->Release(); + device->IASetVertexBuffers(0, 1, &old.VertexBuffer, &old.VertexBufferStride, &old.VertexBufferOffset); if (old.VertexBuffer) old.VertexBuffer->Release(); + device->IASetInputLayout(old.InputLayout); if (old.InputLayout) old.InputLayout->Release(); +} + +static void ImGui_ImplDX11_CreateFontsTexture() +{ + // Build texture atlas + ImGuiIO& io = ImGui::GetIO(); + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + unsigned char* pixels; + int width, height; + io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); + + // Upload texture to graphics system + { + D3D11_TEXTURE2D_DESC desc; + ZeroMemory(&desc, sizeof(desc)); + desc.Width = width; + desc.Height = height; + desc.MipLevels = 1; + desc.ArraySize = 1; + desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; + desc.SampleDesc.Count = 1; + desc.Usage = D3D11_USAGE_DEFAULT; + desc.BindFlags = D3D11_BIND_SHADER_RESOURCE; + desc.CPUAccessFlags = 0; + + ID3D11Texture2D* pTexture = nullptr; + D3D11_SUBRESOURCE_DATA subResource; + subResource.pSysMem = pixels; + subResource.SysMemPitch = desc.Width * 4; + subResource.SysMemSlicePitch = 0; + bd->pd3dDevice->CreateTexture2D(&desc, &subResource, &pTexture); + IM_ASSERT(pTexture != nullptr); + + // Create texture view + D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; + ZeroMemory(&srvDesc, sizeof(srvDesc)); + srvDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; + srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; + srvDesc.Texture2D.MipLevels = desc.MipLevels; + srvDesc.Texture2D.MostDetailedMip = 0; + bd->pd3dDevice->CreateShaderResourceView(pTexture, &srvDesc, &bd->pFontTextureView); + pTexture->Release(); + } + + // Store our identifier + io.Fonts->SetTexID((ImTextureID)bd->pFontTextureView); +} + +static void ImGui_ImplDX11_DestroyFontsTexture() +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + if (bd->pFontTextureView) + { + bd->pFontTextureView->Release(); + bd->pFontTextureView = nullptr; + ImGui::GetIO().Fonts->SetTexID(0); // We copied data->pFontTextureView to io.Fonts->TexID so let's clear that as well. + } +} + +bool ImGui_ImplDX11_CreateDeviceObjects() +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + if (!bd->pd3dDevice) + return false; + if (bd->pFontSampler) + ImGui_ImplDX11_InvalidateDeviceObjects(); + + // By using D3DCompile() from / d3dcompiler.lib, we introduce a dependency to a given version of d3dcompiler_XX.dll (see D3DCOMPILER_DLL_A) + // If you would like to use this DX11 sample code but remove this dependency you can: + // 1) compile once, save the compiled shader blobs into a file or source code and pass them to CreateVertexShader()/CreatePixelShader() [preferred solution] + // 2) use code to detect any version of the DLL and grab a pointer to D3DCompile from the DLL. + // See https://github.com/ocornut/imgui/pull/638 for sources and details. + + // Create the vertex shader + { + static const char* vertexShader = + "cbuffer vertexBuffer : register(b0) \ + {\ + float4x4 ProjectionMatrix; \ + };\ + struct VS_INPUT\ + {\ + float2 pos : POSITION;\ + float4 col : COLOR0;\ + float2 uv : TEXCOORD0;\ + };\ + \ + struct PS_INPUT\ + {\ + float4 pos : SV_POSITION;\ + float4 col : COLOR0;\ + float2 uv : TEXCOORD0;\ + };\ + \ + PS_INPUT main(VS_INPUT input)\ + {\ + PS_INPUT output;\ + output.pos = mul( ProjectionMatrix, float4(input.pos.xy, 0.f, 1.f));\ + output.col = input.col;\ + output.uv = input.uv;\ + return output;\ + }"; + + ID3DBlob* vertexShaderBlob; + if (FAILED(D3DCompile(vertexShader, strlen(vertexShader), nullptr, nullptr, nullptr, "main", "vs_4_0", 0, 0, &vertexShaderBlob, nullptr))) + return false; // NB: Pass ID3DBlob* pErrorBlob to D3DCompile() to get error showing in (const char*)pErrorBlob->GetBufferPointer(). Make sure to Release() the blob! + if (bd->pd3dDevice->CreateVertexShader(vertexShaderBlob->GetBufferPointer(), vertexShaderBlob->GetBufferSize(), nullptr, &bd->pVertexShader) != S_OK) + { + vertexShaderBlob->Release(); + return false; + } + + // Create the input layout + D3D11_INPUT_ELEMENT_DESC local_layout[] = + { + { "POSITION", 0, DXGI_FORMAT_R32G32_FLOAT, 0, (UINT)offsetof(ImDrawVert, pos), D3D11_INPUT_PER_VERTEX_DATA, 0 }, + { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, (UINT)offsetof(ImDrawVert, uv), D3D11_INPUT_PER_VERTEX_DATA, 0 }, + { "COLOR", 0, DXGI_FORMAT_R8G8B8A8_UNORM, 0, (UINT)offsetof(ImDrawVert, col), D3D11_INPUT_PER_VERTEX_DATA, 0 }, + }; + if (bd->pd3dDevice->CreateInputLayout(local_layout, 3, vertexShaderBlob->GetBufferPointer(), vertexShaderBlob->GetBufferSize(), &bd->pInputLayout) != S_OK) + { + vertexShaderBlob->Release(); + return false; + } + vertexShaderBlob->Release(); + + // Create the constant buffer + { + D3D11_BUFFER_DESC desc = {}; + desc.ByteWidth = sizeof(VERTEX_CONSTANT_BUFFER_DX11); + desc.Usage = D3D11_USAGE_DYNAMIC; + desc.BindFlags = D3D11_BIND_CONSTANT_BUFFER; + desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; + desc.MiscFlags = 0; + bd->pd3dDevice->CreateBuffer(&desc, nullptr, &bd->pVertexConstantBuffer); + } + } + + // Create the pixel shader + { + static const char* pixelShader = + "struct PS_INPUT\ + {\ + float4 pos : SV_POSITION;\ + float4 col : COLOR0;\ + float2 uv : TEXCOORD0;\ + };\ + sampler sampler0;\ + Texture2D texture0;\ + \ + float4 main(PS_INPUT input) : SV_Target\ + {\ + float4 out_col = input.col * texture0.Sample(sampler0, input.uv); \ + return out_col; \ + }"; + + ID3DBlob* pixelShaderBlob; + if (FAILED(D3DCompile(pixelShader, strlen(pixelShader), nullptr, nullptr, nullptr, "main", "ps_4_0", 0, 0, &pixelShaderBlob, nullptr))) + return false; // NB: Pass ID3DBlob* pErrorBlob to D3DCompile() to get error showing in (const char*)pErrorBlob->GetBufferPointer(). Make sure to Release() the blob! + if (bd->pd3dDevice->CreatePixelShader(pixelShaderBlob->GetBufferPointer(), pixelShaderBlob->GetBufferSize(), nullptr, &bd->pPixelShader) != S_OK) + { + pixelShaderBlob->Release(); + return false; + } + pixelShaderBlob->Release(); + } + + // Create the blending setup + { + D3D11_BLEND_DESC desc; + ZeroMemory(&desc, sizeof(desc)); + desc.AlphaToCoverageEnable = false; + desc.RenderTarget[0].BlendEnable = true; + desc.RenderTarget[0].SrcBlend = D3D11_BLEND_SRC_ALPHA; + desc.RenderTarget[0].DestBlend = D3D11_BLEND_INV_SRC_ALPHA; + desc.RenderTarget[0].BlendOp = D3D11_BLEND_OP_ADD; + desc.RenderTarget[0].SrcBlendAlpha = D3D11_BLEND_ONE; + desc.RenderTarget[0].DestBlendAlpha = D3D11_BLEND_INV_SRC_ALPHA; + desc.RenderTarget[0].BlendOpAlpha = D3D11_BLEND_OP_ADD; + desc.RenderTarget[0].RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL; + bd->pd3dDevice->CreateBlendState(&desc, &bd->pBlendState); + } + + // Create the rasterizer state + { + D3D11_RASTERIZER_DESC desc; + ZeroMemory(&desc, sizeof(desc)); + desc.FillMode = D3D11_FILL_SOLID; + desc.CullMode = D3D11_CULL_NONE; + desc.ScissorEnable = true; + desc.DepthClipEnable = true; + bd->pd3dDevice->CreateRasterizerState(&desc, &bd->pRasterizerState); + } + + // Create depth-stencil State + { + D3D11_DEPTH_STENCIL_DESC desc; + ZeroMemory(&desc, sizeof(desc)); + desc.DepthEnable = false; + desc.DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL; + desc.DepthFunc = D3D11_COMPARISON_ALWAYS; + desc.StencilEnable = false; + desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = D3D11_STENCIL_OP_KEEP; + desc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; + desc.BackFace = desc.FrontFace; + bd->pd3dDevice->CreateDepthStencilState(&desc, &bd->pDepthStencilState); + } + + // Create texture sampler + // (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling) + { + D3D11_SAMPLER_DESC desc; + ZeroMemory(&desc, sizeof(desc)); + desc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; + desc.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP; + desc.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP; + desc.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP; + desc.MipLODBias = 0.f; + desc.ComparisonFunc = D3D11_COMPARISON_ALWAYS; + desc.MinLOD = 0.f; + desc.MaxLOD = 0.f; + bd->pd3dDevice->CreateSamplerState(&desc, &bd->pFontSampler); + } + + ImGui_ImplDX11_CreateFontsTexture(); + + return true; +} + +void ImGui_ImplDX11_InvalidateDeviceObjects() +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + if (!bd->pd3dDevice) + return; + + ImGui_ImplDX11_DestroyFontsTexture(); + + if (bd->pFontSampler) { bd->pFontSampler->Release(); bd->pFontSampler = nullptr; } + if (bd->pIB) { bd->pIB->Release(); bd->pIB = nullptr; } + if (bd->pVB) { bd->pVB->Release(); bd->pVB = nullptr; } + if (bd->pBlendState) { bd->pBlendState->Release(); bd->pBlendState = nullptr; } + if (bd->pDepthStencilState) { bd->pDepthStencilState->Release(); bd->pDepthStencilState = nullptr; } + if (bd->pRasterizerState) { bd->pRasterizerState->Release(); bd->pRasterizerState = nullptr; } + if (bd->pPixelShader) { bd->pPixelShader->Release(); bd->pPixelShader = nullptr; } + if (bd->pVertexConstantBuffer) { bd->pVertexConstantBuffer->Release(); bd->pVertexConstantBuffer = nullptr; } + if (bd->pInputLayout) { bd->pInputLayout->Release(); bd->pInputLayout = nullptr; } + if (bd->pVertexShader) { bd->pVertexShader->Release(); bd->pVertexShader = nullptr; } +} + +bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context) +{ + ImGuiIO& io = ImGui::GetIO(); + IMGUI_CHECKVERSION(); + IM_ASSERT(io.BackendRendererUserData == nullptr && "Already initialized a renderer backend!"); + + // Setup backend capabilities flags + ImGui_ImplDX11_Data* bd = IM_NEW(ImGui_ImplDX11_Data)(); + io.BackendRendererUserData = (void*)bd; + io.BackendRendererName = "imgui_impl_dx11"; + io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; // We can honor the ImDrawCmd::VtxOffset field, allowing for large meshes. + + // Get factory from device + IDXGIDevice* pDXGIDevice = nullptr; + IDXGIAdapter* pDXGIAdapter = nullptr; + IDXGIFactory* pFactory = nullptr; + + if (device->QueryInterface(IID_PPV_ARGS(&pDXGIDevice)) == S_OK) + if (pDXGIDevice->GetParent(IID_PPV_ARGS(&pDXGIAdapter)) == S_OK) + if (pDXGIAdapter->GetParent(IID_PPV_ARGS(&pFactory)) == S_OK) + { + bd->pd3dDevice = device; + bd->pd3dDeviceContext = device_context; + bd->pFactory = pFactory; + } + if (pDXGIDevice) pDXGIDevice->Release(); + if (pDXGIAdapter) pDXGIAdapter->Release(); + bd->pd3dDevice->AddRef(); + bd->pd3dDeviceContext->AddRef(); + + return true; +} + +void ImGui_ImplDX11_Shutdown() +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + IM_ASSERT(bd != nullptr && "No renderer backend to shutdown, or already shutdown?"); + ImGuiIO& io = ImGui::GetIO(); + + ImGui_ImplDX11_InvalidateDeviceObjects(); + if (bd->pFactory) { bd->pFactory->Release(); } + if (bd->pd3dDevice) { bd->pd3dDevice->Release(); } + if (bd->pd3dDeviceContext) { bd->pd3dDeviceContext->Release(); } + io.BackendRendererName = nullptr; + io.BackendRendererUserData = nullptr; + io.BackendFlags &= ~ImGuiBackendFlags_RendererHasVtxOffset; + IM_DELETE(bd); +} + +void ImGui_ImplDX11_NewFrame() +{ + ImGui_ImplDX11_Data* bd = ImGui_ImplDX11_GetBackendData(); + IM_ASSERT(bd != nullptr && "Context or backend not initialized! Did you call ImGui_ImplDX11_Init()?"); + + if (!bd->pFontSampler) + ImGui_ImplDX11_CreateDeviceObjects(); +} + +//----------------------------------------------------------------------------- + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.h new file mode 100644 index 0000000..772c1b9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_dx11.h @@ -0,0 +1,47 @@ +// dear imgui: Renderer Backend for DirectX11 +// This needs to be used along with a Platform Backend (e.g. Win32) + +// Implemented features: +// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID! +// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset). +// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'. + +// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this. +// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. +// Learn about Dear ImGui: +// - FAQ https://dearimgui.com/faq +// - Getting Started https://dearimgui.com/getting-started +// - Documentation https://dearimgui.com/docs (same as your local docs/ folder). +// - Introduction, links and more at the top of imgui.cpp + +#pragma once +#include "imgui.h" // IMGUI_IMPL_API +#ifndef IMGUI_DISABLE + +struct ID3D11Device; +struct ID3D11DeviceContext; +struct ID3D11SamplerState; +struct ID3D11Buffer; + +// Follow "Getting Started" link and check examples/ folder to learn about using backends! +IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context); +IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown(); +IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame(); +IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data); + +// Use if you want to reset your rendering device without losing Dear ImGui state. +IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects(); +IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects(); + +// [BETA] Selected render state data shared with callbacks. +// This is temporarily stored in GetPlatformIO().Renderer_RenderState during the ImGui_ImplDX11_RenderDrawData() call. +// (Please open an issue if you feel you need access to more data) +struct ImGui_ImplDX11_RenderState +{ + ID3D11Device* Device; + ID3D11DeviceContext* DeviceContext; + ID3D11SamplerState* SamplerDefault; + ID3D11Buffer* VertexConstantBuffer; +}; + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.cpp new file mode 100644 index 0000000..49948c5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.cpp @@ -0,0 +1,943 @@ +// dear imgui: Platform Backend for Windows (standard windows API for 32-bits AND 64-bits applications) +// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..) + +// Implemented features: +// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui) +// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen. +// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy VK_* values are obsolete since 1.87 and not supported since 1.91.5] +// [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'. +// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. + +// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this. +// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. +// Learn about Dear ImGui: +// - FAQ https://dearimgui.com/faq +// - Getting Started https://dearimgui.com/getting-started +// - Documentation https://dearimgui.com/docs (same as your local docs/ folder). +// - Introduction, links and more at the top of imgui.cpp + +// Configuration flags to add in your imconfig file: +//#define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD // Disable gamepad support. This was meaningful before <1.81 but we now load XInput dynamically so the option is now less relevant. + +// CHANGELOG +// (minor and older changes stripped away, please see git history for details) +// 2025-02-18: Added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. +// 2024-07-08: Inputs: Fixed ImGuiMod_Super being mapped to VK_APPS instead of VK_LWIN||VK_RWIN. (#7768) +// 2023-10-05: Inputs: Added support for extra ImGuiKey values: F13 to F24 function keys, app back/forward keys. +// 2023-09-25: Inputs: Synthesize key-down event on key-up for VK_SNAPSHOT / ImGuiKey_PrintScreen as Windows doesn't emit it (same behavior as GLFW/SDL). +// 2023-09-07: Inputs: Added support for keyboard codepage conversion for when application is compiled in MBCS mode and using a non-Unicode window. +// 2023-04-19: Added ImGui_ImplWin32_InitForOpenGL() to facilitate combining raw Win32/Winapi with OpenGL. (#3218) +// 2023-04-04: Inputs: Added support for io.AddMouseSourceEvent() to discriminate ImGuiMouseSource_Mouse/ImGuiMouseSource_TouchScreen/ImGuiMouseSource_Pen. (#2702) +// 2023-02-15: Inputs: Use WM_NCMOUSEMOVE / WM_NCMOUSELEAVE to track mouse position over non-client area (e.g. OS decorations) when app is not focused. (#6045, #6162) +// 2023-02-02: Inputs: Flipping WM_MOUSEHWHEEL (horizontal mouse-wheel) value to match other backends and offer consistent horizontal scrolling direction. (#4019, #6096, #1463) +// 2022-10-11: Using 'nullptr' instead of 'NULL' as per our switch to C++11. +// 2022-09-28: Inputs: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). +// 2022-09-26: Inputs: Renamed ImGuiKey_ModXXX introduced in 1.87 to ImGuiMod_XXX (old names still supported). +// 2022-01-26: Inputs: replaced short-lived io.AddKeyModsEvent() (added two weeks ago) with io.AddKeyEvent() using ImGuiKey_ModXXX flags. Sorry for the confusion. +// 2021-01-20: Inputs: calling new io.AddKeyAnalogEvent() for gamepad support, instead of writing directly to io.NavInputs[]. +// 2022-01-17: Inputs: calling new io.AddMousePosEvent(), io.AddMouseButtonEvent(), io.AddMouseWheelEvent() API (1.87+). +// 2022-01-17: Inputs: always update key mods next and before a key event (not in NewFrame) to fix input queue with very low framerates. +// 2022-01-12: Inputs: Update mouse inputs using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback to provide it when focused but not hovered/captured. More standard and will allow us to pass it to future input queue API. +// 2022-01-12: Inputs: Maintain our own copy of MouseButtonsDown mask instead of using ImGui::IsAnyMouseDown() which will be obsoleted. +// 2022-01-10: Inputs: calling new io.AddKeyEvent(), io.AddKeyModsEvent() + io.SetKeyEventNativeData() API (1.87+). Support for full ImGuiKey range. +// 2021-12-16: Inputs: Fill VK_LCONTROL/VK_RCONTROL/VK_LSHIFT/VK_RSHIFT/VK_LMENU/VK_RMENU for completeness. +// 2021-08-17: Calling io.AddFocusEvent() on WM_SETFOCUS/WM_KILLFOCUS messages. +// 2021-08-02: Inputs: Fixed keyboard modifiers being reported when host window doesn't have focus. +// 2021-07-29: Inputs: MousePos is correctly reported when the host platform window is hovered but not focused (using TrackMouseEvent() to receive WM_MOUSELEAVE events). +// 2021-06-29: Reorganized backend to pull data from a single structure to facilitate usage with multiple-contexts (all g_XXXX access changed to bd->XXXX). +// 2021-06-08: Fixed ImGui_ImplWin32_EnableDpiAwareness() and ImGui_ImplWin32_GetDpiScaleForMonitor() to handle Windows 8.1/10 features without a manifest (per-monitor DPI, and properly calls SetProcessDpiAwareness() on 8.1). +// 2021-03-23: Inputs: Clearing keyboard down array when losing focus (WM_KILLFOCUS). +// 2021-02-18: Added ImGui_ImplWin32_EnableAlphaCompositing(). Non Visual Studio users will need to link with dwmapi.lib (MinGW/gcc: use -ldwmapi). +// 2021-02-17: Fixed ImGui_ImplWin32_EnableDpiAwareness() attempting to get SetProcessDpiAwareness from shcore.dll on Windows 8 whereas it is only supported on Windows 8.1. +// 2021-01-25: Inputs: Dynamically loading XInput DLL. +// 2020-12-04: Misc: Fixed setting of io.DisplaySize to invalid/uninitialized data when after hwnd has been closed. +// 2020-03-03: Inputs: Calling AddInputCharacterUTF16() to support surrogate pairs leading to codepoint >= 0x10000 (for more complete CJK inputs) +// 2020-02-17: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(), ImGui_ImplWin32_GetDpiScaleForMonitor() helper functions. +// 2020-01-14: Inputs: Added support for #define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD/IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT. +// 2019-12-05: Inputs: Added support for ImGuiMouseCursor_NotAllowed mouse cursor. +// 2019-05-11: Inputs: Don't filter value from WM_CHAR before calling AddInputCharacter(). +// 2019-01-17: Misc: Using GetForegroundWindow()+IsChild() instead of GetActiveWindow() to be compatible with windows created in a different thread or parent. +// 2019-01-17: Inputs: Added support for mouse buttons 4 and 5 via WM_XBUTTON* messages. +// 2019-01-15: Inputs: Added support for XInput gamepads (if ImGuiConfigFlags_NavEnableGamepad is set by user application). +// 2018-11-30: Misc: Setting up io.BackendPlatformName so it can be displayed in the About Window. +// 2018-06-29: Inputs: Added support for the ImGuiMouseCursor_Hand cursor. +// 2018-06-10: Inputs: Fixed handling of mouse wheel messages to support fine position messages (typically sent by track-pads). +// 2018-06-08: Misc: Extracted imgui_impl_win32.cpp/.h away from the old combined DX9/DX10/DX11/DX12 examples. +// 2018-03-20: Misc: Setup io.BackendFlags ImGuiBackendFlags_HasMouseCursors and ImGuiBackendFlags_HasSetMousePos flags + honor ImGuiConfigFlags_NoMouseCursorChange flag. +// 2018-02-20: Inputs: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). +// 2018-02-06: Inputs: Added mapping for ImGuiKey_Space. +// 2018-02-06: Inputs: Honoring the io.WantSetMousePos by repositioning the mouse (when using navigation and ImGuiConfigFlags_NavMoveMouse is set). +// 2018-02-06: Misc: Removed call to ImGui::Shutdown() which is not available from 1.60 WIP, user needs to call CreateContext/DestroyContext themselves. +// 2018-01-20: Inputs: Added Horizontal Mouse Wheel support. +// 2018-01-08: Inputs: Added mapping for ImGuiKey_Insert. +// 2018-01-05: Inputs: Added WM_LBUTTONDBLCLK double-click handlers for window classes with the CS_DBLCLKS flag. +// 2017-10-23: Inputs: Added WM_SYSKEYDOWN / WM_SYSKEYUP handlers so e.g. the VK_MENU key can be read. +// 2017-10-23: Inputs: Using Win32 ::SetCapture/::GetCapture() to retrieve mouse positions outside the client area when dragging. +// 2016-11-12: Inputs: Only call Win32 ::SetCursor(nullptr) when io.MouseDrawCursor is set. + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_impl_win32.h" +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#include // GET_X_LPARAM(), GET_Y_LPARAM() +#include +#include + +// Using XInput for gamepad (will load DLL dynamically) +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD +#include +typedef DWORD(WINAPI* PFN_XInputGetCapabilities)(DWORD, DWORD, XINPUT_CAPABILITIES*); +typedef DWORD(WINAPI* PFN_XInputGetState)(DWORD, XINPUT_STATE*); +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wcast-function-type" // warning: cast between incompatible function types (for loader) +#endif +#if defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wcast-function-type" // warning: cast between incompatible function types (for loader) +#endif + +struct ImGui_ImplWin32_Data +{ + HWND hWnd; + HWND MouseHwnd; + int MouseTrackedArea; // 0: not tracked, 1: client area, 2: non-client area + int MouseButtonsDown; + INT64 Time; + INT64 TicksPerSecond; + ImGuiMouseCursor LastMouseCursor; + UINT32 KeyboardCodePage; + +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + bool HasGamepad; + bool WantUpdateHasGamepad; + HMODULE XInputDLL; + PFN_XInputGetCapabilities XInputGetCapabilities; + PFN_XInputGetState XInputGetState; +#endif + + ImGui_ImplWin32_Data() { memset((void*)this, 0, sizeof(*this)); } +}; + +// Backend data stored in io.BackendPlatformUserData to allow support for multiple Dear ImGui contexts +// It is STRONGLY preferred that you use docking branch with multi-viewports (== single Dear ImGui context + multiple windows) instead of multiple Dear ImGui contexts. +// FIXME: multi-context support is not well tested and probably dysfunctional in this backend. +// FIXME: some shared resources (mouse cursor shape, gamepad) are mishandled when using multi-context. +static ImGui_ImplWin32_Data* ImGui_ImplWin32_GetBackendData() +{ + return ImGui::GetCurrentContext() ? (ImGui_ImplWin32_Data*)ImGui::GetIO().BackendPlatformUserData : nullptr; +} +static ImGui_ImplWin32_Data* ImGui_ImplWin32_GetBackendData(ImGuiIO& io) +{ + return (ImGui_ImplWin32_Data*)io.BackendPlatformUserData; +} + +// Functions +static void ImGui_ImplWin32_UpdateKeyboardCodePage(ImGuiIO& io) +{ + // Retrieve keyboard code page, required for handling of non-Unicode Windows. + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(io); + HKL keyboard_layout = ::GetKeyboardLayout(0); + LCID keyboard_lcid = MAKELCID(HIWORD(keyboard_layout), SORT_DEFAULT); + if (::GetLocaleInfoA(keyboard_lcid, (LOCALE_RETURN_NUMBER | LOCALE_IDEFAULTANSICODEPAGE), (LPSTR)&bd->KeyboardCodePage, sizeof(bd->KeyboardCodePage)) == 0) + bd->KeyboardCodePage = CP_ACP; // Fallback to default ANSI code page when fails. +} + +static bool ImGui_ImplWin32_InitEx(void* hwnd, bool platform_has_own_dc) +{ + ImGuiIO& io = ImGui::GetIO(); + IMGUI_CHECKVERSION(); + IM_ASSERT(io.BackendPlatformUserData == nullptr && "Already initialized a platform backend!"); + + INT64 perf_frequency, perf_counter; + if (!::QueryPerformanceFrequency((LARGE_INTEGER*)&perf_frequency)) + return false; + if (!::QueryPerformanceCounter((LARGE_INTEGER*)&perf_counter)) + return false; + + // Setup backend capabilities flags + ImGui_ImplWin32_Data* bd = IM_NEW(ImGui_ImplWin32_Data)(); + io.BackendPlatformUserData = (void*)bd; + io.BackendPlatformName = "imgui_impl_win32"; + io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors; // We can honor GetMouseCursor() values (optional) + io.BackendFlags |= ImGuiBackendFlags_HasSetMousePos; // We can honor io.WantSetMousePos requests (optional, rarely used) + + bd->hWnd = (HWND)hwnd; + bd->TicksPerSecond = perf_frequency; + bd->Time = perf_counter; + bd->LastMouseCursor = ImGuiMouseCursor_COUNT; + ImGui_ImplWin32_UpdateKeyboardCodePage(io); + + // Set platform dependent data in viewport + ImGuiViewport* main_viewport = ImGui::GetMainViewport(); + main_viewport->PlatformHandle = main_viewport->PlatformHandleRaw = (void*)bd->hWnd; + IM_UNUSED(platform_has_own_dc); // Used in 'docking' branch + + // Dynamically load XInput library +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + bd->WantUpdateHasGamepad = true; + const char* xinput_dll_names[] = + { + "xinput1_4.dll", // Windows 8+ + "xinput1_3.dll", // DirectX SDK + "xinput9_1_0.dll", // Windows Vista, Windows 7 + "xinput1_2.dll", // DirectX SDK + "xinput1_1.dll" // DirectX SDK + }; + for (int n = 0; n < IM_ARRAYSIZE(xinput_dll_names); n++) + if (HMODULE dll = ::LoadLibraryA(xinput_dll_names[n])) + { + bd->XInputDLL = dll; + bd->XInputGetCapabilities = (PFN_XInputGetCapabilities)::GetProcAddress(dll, "XInputGetCapabilities"); + bd->XInputGetState = (PFN_XInputGetState)::GetProcAddress(dll, "XInputGetState"); + break; + } +#endif // IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + + return true; +} + +IMGUI_IMPL_API bool ImGui_ImplWin32_Init(void* hwnd) +{ + return ImGui_ImplWin32_InitEx(hwnd, false); +} + +IMGUI_IMPL_API bool ImGui_ImplWin32_InitForOpenGL(void* hwnd) +{ + // OpenGL needs CS_OWNDC + return ImGui_ImplWin32_InitEx(hwnd, true); +} + +void ImGui_ImplWin32_Shutdown() +{ + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(); + IM_ASSERT(bd != nullptr && "No platform backend to shutdown, or already shutdown?"); + ImGuiIO& io = ImGui::GetIO(); + + // Unload XInput library +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + if (bd->XInputDLL) + ::FreeLibrary(bd->XInputDLL); +#endif // IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + + io.BackendPlatformName = nullptr; + io.BackendPlatformUserData = nullptr; + io.BackendFlags &= ~(ImGuiBackendFlags_HasMouseCursors | ImGuiBackendFlags_HasSetMousePos | ImGuiBackendFlags_HasGamepad); + IM_DELETE(bd); +} + +static bool ImGui_ImplWin32_UpdateMouseCursor(ImGuiIO& io, ImGuiMouseCursor imgui_cursor) +{ + if (io.ConfigFlags & ImGuiConfigFlags_NoMouseCursorChange) + return false; + + if (imgui_cursor == ImGuiMouseCursor_None || io.MouseDrawCursor) + { + // Hide OS mouse cursor if imgui is drawing it or if it wants no cursor + ::SetCursor(nullptr); + } + else + { + // Show OS mouse cursor + LPTSTR win32_cursor = IDC_ARROW; + switch (imgui_cursor) + { + case ImGuiMouseCursor_Arrow: win32_cursor = IDC_ARROW; break; + case ImGuiMouseCursor_TextInput: win32_cursor = IDC_IBEAM; break; + case ImGuiMouseCursor_ResizeAll: win32_cursor = IDC_SIZEALL; break; + case ImGuiMouseCursor_ResizeEW: win32_cursor = IDC_SIZEWE; break; + case ImGuiMouseCursor_ResizeNS: win32_cursor = IDC_SIZENS; break; + case ImGuiMouseCursor_ResizeNESW: win32_cursor = IDC_SIZENESW; break; + case ImGuiMouseCursor_ResizeNWSE: win32_cursor = IDC_SIZENWSE; break; + case ImGuiMouseCursor_Hand: win32_cursor = IDC_HAND; break; + case ImGuiMouseCursor_Wait: win32_cursor = IDC_WAIT; break; + case ImGuiMouseCursor_Progress: win32_cursor = IDC_APPSTARTING; break; + case ImGuiMouseCursor_NotAllowed: win32_cursor = IDC_NO; break; + } + ::SetCursor(::LoadCursor(nullptr, win32_cursor)); + } + return true; +} + +static bool IsVkDown(int vk) +{ + return (::GetKeyState(vk) & 0x8000) != 0; +} + +static void ImGui_ImplWin32_AddKeyEvent(ImGuiIO& io, ImGuiKey key, bool down, int native_keycode, int native_scancode = -1) +{ + io.AddKeyEvent(key, down); + io.SetKeyEventNativeData(key, native_keycode, native_scancode); // To support legacy indexing (<1.87 user code) + IM_UNUSED(native_scancode); +} + +static void ImGui_ImplWin32_ProcessKeyEventsWorkarounds(ImGuiIO& io) +{ + // Left & right Shift keys: when both are pressed together, Windows tend to not generate the WM_KEYUP event for the first released one. + if (ImGui::IsKeyDown(ImGuiKey_LeftShift) && !IsVkDown(VK_LSHIFT)) + ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_LeftShift, false, VK_LSHIFT); + if (ImGui::IsKeyDown(ImGuiKey_RightShift) && !IsVkDown(VK_RSHIFT)) + ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_RightShift, false, VK_RSHIFT); + + // Sometimes WM_KEYUP for Win key is not passed down to the app (e.g. for Win+V on some setups, according to GLFW). + if (ImGui::IsKeyDown(ImGuiKey_LeftSuper) && !IsVkDown(VK_LWIN)) + ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_LeftSuper, false, VK_LWIN); + if (ImGui::IsKeyDown(ImGuiKey_RightSuper) && !IsVkDown(VK_RWIN)) + ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_RightSuper, false, VK_RWIN); +} + +static void ImGui_ImplWin32_UpdateKeyModifiers(ImGuiIO& io) +{ + io.AddKeyEvent(ImGuiMod_Ctrl, IsVkDown(VK_CONTROL)); + io.AddKeyEvent(ImGuiMod_Shift, IsVkDown(VK_SHIFT)); + io.AddKeyEvent(ImGuiMod_Alt, IsVkDown(VK_MENU)); + io.AddKeyEvent(ImGuiMod_Super, IsVkDown(VK_LWIN) || IsVkDown(VK_RWIN)); +} + +static void ImGui_ImplWin32_UpdateMouseData(ImGuiIO& io) +{ + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(io); + IM_ASSERT(bd->hWnd != 0); + + HWND focused_window = ::GetForegroundWindow(); + const bool is_app_focused = (focused_window == bd->hWnd); + if (is_app_focused) + { + // (Optional) Set OS mouse position from Dear ImGui if requested (rarely used, only when io.ConfigNavMoveSetMousePos is enabled by user) + if (io.WantSetMousePos) + { + POINT pos = { (int)io.MousePos.x, (int)io.MousePos.y }; + if (::ClientToScreen(bd->hWnd, &pos)) + ::SetCursorPos(pos.x, pos.y); + } + + // (Optional) Fallback to provide mouse position when focused (WM_MOUSEMOVE already provides this when hovered or captured) + // This also fills a short gap when clicking non-client area: WM_NCMOUSELEAVE -> modal OS move -> gap -> WM_NCMOUSEMOVE + if (!io.WantSetMousePos && bd->MouseTrackedArea == 0) + { + POINT pos; + if (::GetCursorPos(&pos) && ::ScreenToClient(bd->hWnd, &pos)) + io.AddMousePosEvent((float)pos.x, (float)pos.y); + } + } +} + +// Gamepad navigation mapping +static void ImGui_ImplWin32_UpdateGamepads(ImGuiIO& io) +{ +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(io); + //if ((io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) == 0) // FIXME: Technically feeding gamepad shouldn't depend on this now that they are regular inputs. + // return; + + // Calling XInputGetState() every frame on disconnected gamepads is unfortunately too slow. + // Instead we refresh gamepad availability by calling XInputGetCapabilities() _only_ after receiving WM_DEVICECHANGE. + if (bd->WantUpdateHasGamepad) + { + XINPUT_CAPABILITIES caps = {}; + bd->HasGamepad = bd->XInputGetCapabilities ? (bd->XInputGetCapabilities(0, XINPUT_FLAG_GAMEPAD, &caps) == ERROR_SUCCESS) : false; + bd->WantUpdateHasGamepad = false; + } + + io.BackendFlags &= ~ImGuiBackendFlags_HasGamepad; + XINPUT_STATE xinput_state; + XINPUT_GAMEPAD& gamepad = xinput_state.Gamepad; + if (!bd->HasGamepad || bd->XInputGetState == nullptr || bd->XInputGetState(0, &xinput_state) != ERROR_SUCCESS) + return; + io.BackendFlags |= ImGuiBackendFlags_HasGamepad; + + #define IM_SATURATE(V) (V < 0.0f ? 0.0f : V > 1.0f ? 1.0f : V) + #define MAP_BUTTON(KEY_NO, BUTTON_ENUM) { io.AddKeyEvent(KEY_NO, (gamepad.wButtons & BUTTON_ENUM) != 0); } + #define MAP_ANALOG(KEY_NO, VALUE, V0, V1) { float vn = (float)(VALUE - V0) / (float)(V1 - V0); io.AddKeyAnalogEvent(KEY_NO, vn > 0.10f, IM_SATURATE(vn)); } + MAP_BUTTON(ImGuiKey_GamepadStart, XINPUT_GAMEPAD_START); + MAP_BUTTON(ImGuiKey_GamepadBack, XINPUT_GAMEPAD_BACK); + MAP_BUTTON(ImGuiKey_GamepadFaceLeft, XINPUT_GAMEPAD_X); + MAP_BUTTON(ImGuiKey_GamepadFaceRight, XINPUT_GAMEPAD_B); + MAP_BUTTON(ImGuiKey_GamepadFaceUp, XINPUT_GAMEPAD_Y); + MAP_BUTTON(ImGuiKey_GamepadFaceDown, XINPUT_GAMEPAD_A); + MAP_BUTTON(ImGuiKey_GamepadDpadLeft, XINPUT_GAMEPAD_DPAD_LEFT); + MAP_BUTTON(ImGuiKey_GamepadDpadRight, XINPUT_GAMEPAD_DPAD_RIGHT); + MAP_BUTTON(ImGuiKey_GamepadDpadUp, XINPUT_GAMEPAD_DPAD_UP); + MAP_BUTTON(ImGuiKey_GamepadDpadDown, XINPUT_GAMEPAD_DPAD_DOWN); + MAP_BUTTON(ImGuiKey_GamepadL1, XINPUT_GAMEPAD_LEFT_SHOULDER); + MAP_BUTTON(ImGuiKey_GamepadR1, XINPUT_GAMEPAD_RIGHT_SHOULDER); + MAP_ANALOG(ImGuiKey_GamepadL2, gamepad.bLeftTrigger, XINPUT_GAMEPAD_TRIGGER_THRESHOLD, 255); + MAP_ANALOG(ImGuiKey_GamepadR2, gamepad.bRightTrigger, XINPUT_GAMEPAD_TRIGGER_THRESHOLD, 255); + MAP_BUTTON(ImGuiKey_GamepadL3, XINPUT_GAMEPAD_LEFT_THUMB); + MAP_BUTTON(ImGuiKey_GamepadR3, XINPUT_GAMEPAD_RIGHT_THUMB); + MAP_ANALOG(ImGuiKey_GamepadLStickLeft, gamepad.sThumbLX, -XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, -32768); + MAP_ANALOG(ImGuiKey_GamepadLStickRight, gamepad.sThumbLX, +XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, +32767); + MAP_ANALOG(ImGuiKey_GamepadLStickUp, gamepad.sThumbLY, +XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, +32767); + MAP_ANALOG(ImGuiKey_GamepadLStickDown, gamepad.sThumbLY, -XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, -32768); + MAP_ANALOG(ImGuiKey_GamepadRStickLeft, gamepad.sThumbRX, -XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, -32768); + MAP_ANALOG(ImGuiKey_GamepadRStickRight, gamepad.sThumbRX, +XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, +32767); + MAP_ANALOG(ImGuiKey_GamepadRStickUp, gamepad.sThumbRY, +XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, +32767); + MAP_ANALOG(ImGuiKey_GamepadRStickDown, gamepad.sThumbRY, -XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE, -32768); + #undef MAP_BUTTON + #undef MAP_ANALOG +#else // #ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + IM_UNUSED(io); +#endif +} + +void ImGui_ImplWin32_NewFrame() +{ + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(); + IM_ASSERT(bd != nullptr && "Context or backend not initialized? Did you call ImGui_ImplWin32_Init()?"); + ImGuiIO& io = ImGui::GetIO(); + + // Setup display size (every frame to accommodate for window resizing) + RECT rect = { 0, 0, 0, 0 }; + ::GetClientRect(bd->hWnd, &rect); + io.DisplaySize = ImVec2((float)(rect.right - rect.left), (float)(rect.bottom - rect.top)); + + // Setup time step + INT64 current_time = 0; + ::QueryPerformanceCounter((LARGE_INTEGER*)¤t_time); + io.DeltaTime = (float)(current_time - bd->Time) / bd->TicksPerSecond; + bd->Time = current_time; + + // Update OS mouse position + ImGui_ImplWin32_UpdateMouseData(io); + + // Process workarounds for known Windows key handling issues + ImGui_ImplWin32_ProcessKeyEventsWorkarounds(io); + + // Update OS mouse cursor with the cursor requested by imgui + ImGuiMouseCursor mouse_cursor = io.MouseDrawCursor ? ImGuiMouseCursor_None : ImGui::GetMouseCursor(); + if (bd->LastMouseCursor != mouse_cursor) + { + bd->LastMouseCursor = mouse_cursor; + ImGui_ImplWin32_UpdateMouseCursor(io, mouse_cursor); + } + + // Update game controllers (if enabled and available) + ImGui_ImplWin32_UpdateGamepads(io); +} + +// Map VK_xxx to ImGuiKey_xxx. +// Not static to allow third-party code to use that if they want to (but undocumented) +ImGuiKey ImGui_ImplWin32_KeyEventToImGuiKey(WPARAM wParam, LPARAM lParam); +ImGuiKey ImGui_ImplWin32_KeyEventToImGuiKey(WPARAM wParam, LPARAM lParam) +{ + // There is no distinct VK_xxx for keypad enter, instead it is VK_RETURN + KF_EXTENDED. + if ((wParam == VK_RETURN) && (HIWORD(lParam) & KF_EXTENDED)) + return ImGuiKey_KeypadEnter; + + switch (wParam) + { + case VK_TAB: return ImGuiKey_Tab; + case VK_LEFT: return ImGuiKey_LeftArrow; + case VK_RIGHT: return ImGuiKey_RightArrow; + case VK_UP: return ImGuiKey_UpArrow; + case VK_DOWN: return ImGuiKey_DownArrow; + case VK_PRIOR: return ImGuiKey_PageUp; + case VK_NEXT: return ImGuiKey_PageDown; + case VK_HOME: return ImGuiKey_Home; + case VK_END: return ImGuiKey_End; + case VK_INSERT: return ImGuiKey_Insert; + case VK_DELETE: return ImGuiKey_Delete; + case VK_BACK: return ImGuiKey_Backspace; + case VK_SPACE: return ImGuiKey_Space; + case VK_RETURN: return ImGuiKey_Enter; + case VK_ESCAPE: return ImGuiKey_Escape; + case VK_OEM_7: return ImGuiKey_Apostrophe; + case VK_OEM_COMMA: return ImGuiKey_Comma; + case VK_OEM_MINUS: return ImGuiKey_Minus; + case VK_OEM_PERIOD: return ImGuiKey_Period; + case VK_OEM_2: return ImGuiKey_Slash; + case VK_OEM_1: return ImGuiKey_Semicolon; + case VK_OEM_PLUS: return ImGuiKey_Equal; + case VK_OEM_4: return ImGuiKey_LeftBracket; + case VK_OEM_5: return ImGuiKey_Backslash; + case VK_OEM_6: return ImGuiKey_RightBracket; + case VK_OEM_3: return ImGuiKey_GraveAccent; + case VK_CAPITAL: return ImGuiKey_CapsLock; + case VK_SCROLL: return ImGuiKey_ScrollLock; + case VK_NUMLOCK: return ImGuiKey_NumLock; + case VK_SNAPSHOT: return ImGuiKey_PrintScreen; + case VK_PAUSE: return ImGuiKey_Pause; + case VK_NUMPAD0: return ImGuiKey_Keypad0; + case VK_NUMPAD1: return ImGuiKey_Keypad1; + case VK_NUMPAD2: return ImGuiKey_Keypad2; + case VK_NUMPAD3: return ImGuiKey_Keypad3; + case VK_NUMPAD4: return ImGuiKey_Keypad4; + case VK_NUMPAD5: return ImGuiKey_Keypad5; + case VK_NUMPAD6: return ImGuiKey_Keypad6; + case VK_NUMPAD7: return ImGuiKey_Keypad7; + case VK_NUMPAD8: return ImGuiKey_Keypad8; + case VK_NUMPAD9: return ImGuiKey_Keypad9; + case VK_DECIMAL: return ImGuiKey_KeypadDecimal; + case VK_DIVIDE: return ImGuiKey_KeypadDivide; + case VK_MULTIPLY: return ImGuiKey_KeypadMultiply; + case VK_SUBTRACT: return ImGuiKey_KeypadSubtract; + case VK_ADD: return ImGuiKey_KeypadAdd; + case VK_LSHIFT: return ImGuiKey_LeftShift; + case VK_LCONTROL: return ImGuiKey_LeftCtrl; + case VK_LMENU: return ImGuiKey_LeftAlt; + case VK_LWIN: return ImGuiKey_LeftSuper; + case VK_RSHIFT: return ImGuiKey_RightShift; + case VK_RCONTROL: return ImGuiKey_RightCtrl; + case VK_RMENU: return ImGuiKey_RightAlt; + case VK_RWIN: return ImGuiKey_RightSuper; + case VK_APPS: return ImGuiKey_Menu; + case '0': return ImGuiKey_0; + case '1': return ImGuiKey_1; + case '2': return ImGuiKey_2; + case '3': return ImGuiKey_3; + case '4': return ImGuiKey_4; + case '5': return ImGuiKey_5; + case '6': return ImGuiKey_6; + case '7': return ImGuiKey_7; + case '8': return ImGuiKey_8; + case '9': return ImGuiKey_9; + case 'A': return ImGuiKey_A; + case 'B': return ImGuiKey_B; + case 'C': return ImGuiKey_C; + case 'D': return ImGuiKey_D; + case 'E': return ImGuiKey_E; + case 'F': return ImGuiKey_F; + case 'G': return ImGuiKey_G; + case 'H': return ImGuiKey_H; + case 'I': return ImGuiKey_I; + case 'J': return ImGuiKey_J; + case 'K': return ImGuiKey_K; + case 'L': return ImGuiKey_L; + case 'M': return ImGuiKey_M; + case 'N': return ImGuiKey_N; + case 'O': return ImGuiKey_O; + case 'P': return ImGuiKey_P; + case 'Q': return ImGuiKey_Q; + case 'R': return ImGuiKey_R; + case 'S': return ImGuiKey_S; + case 'T': return ImGuiKey_T; + case 'U': return ImGuiKey_U; + case 'V': return ImGuiKey_V; + case 'W': return ImGuiKey_W; + case 'X': return ImGuiKey_X; + case 'Y': return ImGuiKey_Y; + case 'Z': return ImGuiKey_Z; + case VK_F1: return ImGuiKey_F1; + case VK_F2: return ImGuiKey_F2; + case VK_F3: return ImGuiKey_F3; + case VK_F4: return ImGuiKey_F4; + case VK_F5: return ImGuiKey_F5; + case VK_F6: return ImGuiKey_F6; + case VK_F7: return ImGuiKey_F7; + case VK_F8: return ImGuiKey_F8; + case VK_F9: return ImGuiKey_F9; + case VK_F10: return ImGuiKey_F10; + case VK_F11: return ImGuiKey_F11; + case VK_F12: return ImGuiKey_F12; + case VK_F13: return ImGuiKey_F13; + case VK_F14: return ImGuiKey_F14; + case VK_F15: return ImGuiKey_F15; + case VK_F16: return ImGuiKey_F16; + case VK_F17: return ImGuiKey_F17; + case VK_F18: return ImGuiKey_F18; + case VK_F19: return ImGuiKey_F19; + case VK_F20: return ImGuiKey_F20; + case VK_F21: return ImGuiKey_F21; + case VK_F22: return ImGuiKey_F22; + case VK_F23: return ImGuiKey_F23; + case VK_F24: return ImGuiKey_F24; + case VK_BROWSER_BACK: return ImGuiKey_AppBack; + case VK_BROWSER_FORWARD: return ImGuiKey_AppForward; + default: return ImGuiKey_None; + } +} + +// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions. +#ifndef WM_MOUSEHWHEEL +#define WM_MOUSEHWHEEL 0x020E +#endif +#ifndef DBT_DEVNODES_CHANGED +#define DBT_DEVNODES_CHANGED 0x0007 +#endif + +// Helper to obtain the source of mouse messages. +// See https://learn.microsoft.com/en-us/windows/win32/tablet/system-events-and-mouse-messages +// Prefer to call this at the top of the message handler to avoid the possibility of other Win32 calls interfering with this. +static ImGuiMouseSource ImGui_ImplWin32_GetMouseSourceFromMessageExtraInfo() +{ + LPARAM extra_info = ::GetMessageExtraInfo(); + if ((extra_info & 0xFFFFFF80) == 0xFF515700) + return ImGuiMouseSource_Pen; + if ((extra_info & 0xFFFFFF80) == 0xFF515780) + return ImGuiMouseSource_TouchScreen; + return ImGuiMouseSource_Mouse; +} + +// Win32 message handler (process Win32 mouse/keyboard inputs, etc.) +// Call from your application's message handler. Keep calling your message handler unless this function returns TRUE. +// When implementing your own backend, you can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if Dear ImGui wants to use your inputs. +// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application, or clear/overwrite your copy of the mouse data. +// - When io.WantCaptureKeyboard is true, do not dispatch keyboard input data to your main application, or clear/overwrite your copy of the keyboard data. +// Generally you may always pass all inputs to Dear ImGui, and hide them from your application based on those two flags. +// PS: We treat DBLCLK messages as regular mouse down messages, so this code will work on windows classes that have the CS_DBLCLKS flag set. Our own example app code doesn't set this flag. + +// Copy either line into your .cpp file to forward declare the function: +extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); // Use ImGui::GetCurrentContext() +extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandlerEx(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, ImGuiIO& io); // Doesn't use ImGui::GetCurrentContext() + +IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) +{ + // Most backends don't have silent checks like this one, but we need it because WndProc are called early in CreateWindow(). + // We silently allow both context or just only backend data to be nullptr. + if (ImGui::GetCurrentContext() == nullptr) + return 0; + return ImGui_ImplWin32_WndProcHandlerEx(hwnd, msg, wParam, lParam, ImGui::GetIO()); +} + +// This version is in theory thread-safe in the sense that no path should access ImGui::GetCurrentContext(). +IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandlerEx(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, ImGuiIO& io) +{ + ImGui_ImplWin32_Data* bd = ImGui_ImplWin32_GetBackendData(io); + if (bd == nullptr) + return 0; + switch (msg) + { + case WM_MOUSEMOVE: + case WM_NCMOUSEMOVE: + { + // We need to call TrackMouseEvent in order to receive WM_MOUSELEAVE events + ImGuiMouseSource mouse_source = ImGui_ImplWin32_GetMouseSourceFromMessageExtraInfo(); + const int area = (msg == WM_MOUSEMOVE) ? 1 : 2; + bd->MouseHwnd = hwnd; + if (bd->MouseTrackedArea != area) + { + TRACKMOUSEEVENT tme_cancel = { sizeof(tme_cancel), TME_CANCEL, hwnd, 0 }; + TRACKMOUSEEVENT tme_track = { sizeof(tme_track), (DWORD)((area == 2) ? (TME_LEAVE | TME_NONCLIENT) : TME_LEAVE), hwnd, 0 }; + if (bd->MouseTrackedArea != 0) + ::TrackMouseEvent(&tme_cancel); + ::TrackMouseEvent(&tme_track); + bd->MouseTrackedArea = area; + } + POINT mouse_pos = { (LONG)GET_X_LPARAM(lParam), (LONG)GET_Y_LPARAM(lParam) }; + if (msg == WM_NCMOUSEMOVE && ::ScreenToClient(hwnd, &mouse_pos) == FALSE) // WM_NCMOUSEMOVE are provided in absolute coordinates. + return 0; + io.AddMouseSourceEvent(mouse_source); + io.AddMousePosEvent((float)mouse_pos.x, (float)mouse_pos.y); + return 0; + } + case WM_MOUSELEAVE: + case WM_NCMOUSELEAVE: + { + const int area = (msg == WM_MOUSELEAVE) ? 1 : 2; + if (bd->MouseTrackedArea == area) + { + if (bd->MouseHwnd == hwnd) + bd->MouseHwnd = nullptr; + bd->MouseTrackedArea = 0; + io.AddMousePosEvent(-FLT_MAX, -FLT_MAX); + } + return 0; + } + case WM_DESTROY: + if (bd->MouseHwnd == hwnd && bd->MouseTrackedArea != 0) + { + TRACKMOUSEEVENT tme_cancel = { sizeof(tme_cancel), TME_CANCEL, hwnd, 0 }; + ::TrackMouseEvent(&tme_cancel); + bd->MouseHwnd = nullptr; + bd->MouseTrackedArea = 0; + io.AddMousePosEvent(-FLT_MAX, -FLT_MAX); + } + return 0; + case WM_LBUTTONDOWN: case WM_LBUTTONDBLCLK: + case WM_RBUTTONDOWN: case WM_RBUTTONDBLCLK: + case WM_MBUTTONDOWN: case WM_MBUTTONDBLCLK: + case WM_XBUTTONDOWN: case WM_XBUTTONDBLCLK: + { + ImGuiMouseSource mouse_source = ImGui_ImplWin32_GetMouseSourceFromMessageExtraInfo(); + int button = 0; + if (msg == WM_LBUTTONDOWN || msg == WM_LBUTTONDBLCLK) { button = 0; } + if (msg == WM_RBUTTONDOWN || msg == WM_RBUTTONDBLCLK) { button = 1; } + if (msg == WM_MBUTTONDOWN || msg == WM_MBUTTONDBLCLK) { button = 2; } + if (msg == WM_XBUTTONDOWN || msg == WM_XBUTTONDBLCLK) { button = (GET_XBUTTON_WPARAM(wParam) == XBUTTON1) ? 3 : 4; } + if (bd->MouseButtonsDown == 0 && ::GetCapture() == nullptr) + ::SetCapture(hwnd); // Allow us to read mouse coordinates when dragging mouse outside of our window bounds. + bd->MouseButtonsDown |= 1 << button; + io.AddMouseSourceEvent(mouse_source); + io.AddMouseButtonEvent(button, true); + return 0; + } + case WM_LBUTTONUP: + case WM_RBUTTONUP: + case WM_MBUTTONUP: + case WM_XBUTTONUP: + { + ImGuiMouseSource mouse_source = ImGui_ImplWin32_GetMouseSourceFromMessageExtraInfo(); + int button = 0; + if (msg == WM_LBUTTONUP) { button = 0; } + if (msg == WM_RBUTTONUP) { button = 1; } + if (msg == WM_MBUTTONUP) { button = 2; } + if (msg == WM_XBUTTONUP) { button = (GET_XBUTTON_WPARAM(wParam) == XBUTTON1) ? 3 : 4; } + bd->MouseButtonsDown &= ~(1 << button); + if (bd->MouseButtonsDown == 0 && ::GetCapture() == hwnd) + ::ReleaseCapture(); + io.AddMouseSourceEvent(mouse_source); + io.AddMouseButtonEvent(button, false); + return 0; + } + case WM_MOUSEWHEEL: + io.AddMouseWheelEvent(0.0f, (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA); + return 0; + case WM_MOUSEHWHEEL: + io.AddMouseWheelEvent(-(float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA, 0.0f); + return 0; + case WM_KEYDOWN: + case WM_KEYUP: + case WM_SYSKEYDOWN: + case WM_SYSKEYUP: + { + const bool is_key_down = (msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN); + if (wParam < 256) + { + // Submit modifiers + ImGui_ImplWin32_UpdateKeyModifiers(io); + + // Obtain virtual key code and convert to ImGuiKey + const ImGuiKey key = ImGui_ImplWin32_KeyEventToImGuiKey(wParam, lParam); + const int vk = (int)wParam; + const int scancode = (int)LOBYTE(HIWORD(lParam)); + + // Special behavior for VK_SNAPSHOT / ImGuiKey_PrintScreen as Windows doesn't emit the key down event. + if (key == ImGuiKey_PrintScreen && !is_key_down) + ImGui_ImplWin32_AddKeyEvent(io, key, true, vk, scancode); + + // Submit key event + if (key != ImGuiKey_None) + ImGui_ImplWin32_AddKeyEvent(io, key, is_key_down, vk, scancode); + + // Submit individual left/right modifier events + if (vk == VK_SHIFT) + { + // Important: Shift keys tend to get stuck when pressed together, missing key-up events are corrected in ImGui_ImplWin32_ProcessKeyEventsWorkarounds() + if (IsVkDown(VK_LSHIFT) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_LeftShift, is_key_down, VK_LSHIFT, scancode); } + if (IsVkDown(VK_RSHIFT) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_RightShift, is_key_down, VK_RSHIFT, scancode); } + } + else if (vk == VK_CONTROL) + { + if (IsVkDown(VK_LCONTROL) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_LeftCtrl, is_key_down, VK_LCONTROL, scancode); } + if (IsVkDown(VK_RCONTROL) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_RightCtrl, is_key_down, VK_RCONTROL, scancode); } + } + else if (vk == VK_MENU) + { + if (IsVkDown(VK_LMENU) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_LeftAlt, is_key_down, VK_LMENU, scancode); } + if (IsVkDown(VK_RMENU) == is_key_down) { ImGui_ImplWin32_AddKeyEvent(io, ImGuiKey_RightAlt, is_key_down, VK_RMENU, scancode); } + } + } + return 0; + } + case WM_SETFOCUS: + case WM_KILLFOCUS: + io.AddFocusEvent(msg == WM_SETFOCUS); + return 0; + case WM_INPUTLANGCHANGE: + ImGui_ImplWin32_UpdateKeyboardCodePage(io); + return 0; + case WM_CHAR: + if (::IsWindowUnicode(hwnd)) + { + // You can also use ToAscii()+GetKeyboardState() to retrieve characters. + if (wParam > 0 && wParam < 0x10000) + io.AddInputCharacterUTF16((unsigned short)wParam); + } + else + { + wchar_t wch = 0; + ::MultiByteToWideChar(bd->KeyboardCodePage, MB_PRECOMPOSED, (char*)&wParam, 1, &wch, 1); + io.AddInputCharacter(wch); + } + return 0; + case WM_SETCURSOR: + // This is required to restore cursor when transitioning from e.g resize borders to client area. + if (LOWORD(lParam) == HTCLIENT && ImGui_ImplWin32_UpdateMouseCursor(io, bd->LastMouseCursor)) + return 1; + return 0; + case WM_DEVICECHANGE: +#ifndef IMGUI_IMPL_WIN32_DISABLE_GAMEPAD + if ((UINT)wParam == DBT_DEVNODES_CHANGED) + bd->WantUpdateHasGamepad = true; +#endif + return 0; + } + return 0; +} + + +//-------------------------------------------------------------------------------------------------------- +// DPI-related helpers (optional) +//-------------------------------------------------------------------------------------------------------- +// - Use to enable DPI awareness without having to create an application manifest. +// - Your own app may already do this via a manifest or explicit calls. This is mostly useful for our examples/ apps. +// - In theory we could call simple functions from Windows SDK such as SetProcessDPIAware(), SetProcessDpiAwareness(), etc. +// but most of the functions provided by Microsoft require Windows 8.1/10+ SDK at compile time and Windows 8/10+ at runtime, +// neither we want to require the user to have. So we dynamically select and load those functions to avoid dependencies. +//--------------------------------------------------------------------------------------------------------- +// This is the scheme successfully used by GLFW (from which we borrowed some of the code) and other apps aiming to be highly portable. +// ImGui_ImplWin32_EnableDpiAwareness() is just a helper called by main.cpp, we don't call it automatically. +// If you are trying to implement your own backend for your own engine, you may ignore that noise. +//--------------------------------------------------------------------------------------------------------- + +// Perform our own check with RtlVerifyVersionInfo() instead of using functions from as they +// require a manifest to be functional for checks above 8.1. See https://github.com/ocornut/imgui/issues/4200 +static BOOL _IsWindowsVersionOrGreater(WORD major, WORD minor, WORD) +{ + typedef LONG(WINAPI* PFN_RtlVerifyVersionInfo)(OSVERSIONINFOEXW*, ULONG, ULONGLONG); + static PFN_RtlVerifyVersionInfo RtlVerifyVersionInfoFn = nullptr; + if (RtlVerifyVersionInfoFn == nullptr) + if (HMODULE ntdllModule = ::GetModuleHandleA("ntdll.dll")) + RtlVerifyVersionInfoFn = (PFN_RtlVerifyVersionInfo)GetProcAddress(ntdllModule, "RtlVerifyVersionInfo"); + if (RtlVerifyVersionInfoFn == nullptr) + return FALSE; + + RTL_OSVERSIONINFOEXW versionInfo = { }; + ULONGLONG conditionMask = 0; + versionInfo.dwOSVersionInfoSize = sizeof(RTL_OSVERSIONINFOEXW); + versionInfo.dwMajorVersion = major; + versionInfo.dwMinorVersion = minor; + VER_SET_CONDITION(conditionMask, VER_MAJORVERSION, VER_GREATER_EQUAL); + VER_SET_CONDITION(conditionMask, VER_MINORVERSION, VER_GREATER_EQUAL); + return (RtlVerifyVersionInfoFn(&versionInfo, VER_MAJORVERSION | VER_MINORVERSION, conditionMask) == 0) ? TRUE : FALSE; +} + +#define _IsWindowsVistaOrGreater() _IsWindowsVersionOrGreater(HIBYTE(0x0600), LOBYTE(0x0600), 0) // _WIN32_WINNT_VISTA +#define _IsWindows8OrGreater() _IsWindowsVersionOrGreater(HIBYTE(0x0602), LOBYTE(0x0602), 0) // _WIN32_WINNT_WIN8 +#define _IsWindows8Point1OrGreater() _IsWindowsVersionOrGreater(HIBYTE(0x0603), LOBYTE(0x0603), 0) // _WIN32_WINNT_WINBLUE +#define _IsWindows10OrGreater() _IsWindowsVersionOrGreater(HIBYTE(0x0A00), LOBYTE(0x0A00), 0) // _WIN32_WINNT_WINTHRESHOLD / _WIN32_WINNT_WIN10 + +#ifndef DPI_ENUMS_DECLARED +typedef enum { PROCESS_DPI_UNAWARE = 0, PROCESS_SYSTEM_DPI_AWARE = 1, PROCESS_PER_MONITOR_DPI_AWARE = 2 } PROCESS_DPI_AWARENESS; +typedef enum { MDT_EFFECTIVE_DPI = 0, MDT_ANGULAR_DPI = 1, MDT_RAW_DPI = 2, MDT_DEFAULT = MDT_EFFECTIVE_DPI } MONITOR_DPI_TYPE; +#endif +#ifndef _DPI_AWARENESS_CONTEXTS_ +DECLARE_HANDLE(DPI_AWARENESS_CONTEXT); +#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE (DPI_AWARENESS_CONTEXT)-3 +#endif +#ifndef DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 +#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 (DPI_AWARENESS_CONTEXT)-4 +#endif +typedef HRESULT(WINAPI* PFN_SetProcessDpiAwareness)(PROCESS_DPI_AWARENESS); // Shcore.lib + dll, Windows 8.1+ +typedef HRESULT(WINAPI* PFN_GetDpiForMonitor)(HMONITOR, MONITOR_DPI_TYPE, UINT*, UINT*); // Shcore.lib + dll, Windows 8.1+ +typedef DPI_AWARENESS_CONTEXT(WINAPI* PFN_SetThreadDpiAwarenessContext)(DPI_AWARENESS_CONTEXT); // User32.lib + dll, Windows 10 v1607+ (Creators Update) + +// Helper function to enable DPI awareness without setting up a manifest +void ImGui_ImplWin32_EnableDpiAwareness() +{ + if (_IsWindows10OrGreater()) + { + static HINSTANCE user32_dll = ::LoadLibraryA("user32.dll"); // Reference counted per-process + if (PFN_SetThreadDpiAwarenessContext SetThreadDpiAwarenessContextFn = (PFN_SetThreadDpiAwarenessContext)::GetProcAddress(user32_dll, "SetThreadDpiAwarenessContext")) + { + SetThreadDpiAwarenessContextFn(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); + return; + } + } + if (_IsWindows8Point1OrGreater()) + { + static HINSTANCE shcore_dll = ::LoadLibraryA("shcore.dll"); // Reference counted per-process + if (PFN_SetProcessDpiAwareness SetProcessDpiAwarenessFn = (PFN_SetProcessDpiAwareness)::GetProcAddress(shcore_dll, "SetProcessDpiAwareness")) + { + SetProcessDpiAwarenessFn(PROCESS_PER_MONITOR_DPI_AWARE); + return; + } + } +#if _WIN32_WINNT >= 0x0600 + ::SetProcessDPIAware(); +#endif +} + +#if defined(_MSC_VER) && !defined(NOGDI) +#pragma comment(lib, "gdi32") // Link with gdi32.lib for GetDeviceCaps(). MinGW will require linking with '-lgdi32' +#endif + +float ImGui_ImplWin32_GetDpiScaleForMonitor(void* monitor) +{ + UINT xdpi = 96, ydpi = 96; + if (_IsWindows8Point1OrGreater()) + { + static HINSTANCE shcore_dll = ::LoadLibraryA("shcore.dll"); // Reference counted per-process + static PFN_GetDpiForMonitor GetDpiForMonitorFn = nullptr; + if (GetDpiForMonitorFn == nullptr && shcore_dll != nullptr) + GetDpiForMonitorFn = (PFN_GetDpiForMonitor)::GetProcAddress(shcore_dll, "GetDpiForMonitor"); + if (GetDpiForMonitorFn != nullptr) + { + GetDpiForMonitorFn((HMONITOR)monitor, MDT_EFFECTIVE_DPI, &xdpi, &ydpi); + IM_ASSERT(xdpi == ydpi); // Please contact me if you hit this assert! + return xdpi / 96.0f; + } + } +#ifndef NOGDI + const HDC dc = ::GetDC(nullptr); + xdpi = ::GetDeviceCaps(dc, LOGPIXELSX); + ydpi = ::GetDeviceCaps(dc, LOGPIXELSY); + IM_ASSERT(xdpi == ydpi); // Please contact me if you hit this assert! + ::ReleaseDC(nullptr, dc); +#endif + return xdpi / 96.0f; +} + +float ImGui_ImplWin32_GetDpiScaleForHwnd(void* hwnd) +{ + HMONITOR monitor = ::MonitorFromWindow((HWND)hwnd, MONITOR_DEFAULTTONEAREST); + return ImGui_ImplWin32_GetDpiScaleForMonitor(monitor); +} + +//--------------------------------------------------------------------------------------------------------- +// Transparency related helpers (optional) +//-------------------------------------------------------------------------------------------------------- + +#if defined(_MSC_VER) +#pragma comment(lib, "dwmapi") // Link with dwmapi.lib. MinGW will require linking with '-ldwmapi' +#endif + +// [experimental] +// Borrowed from GLFW's function updateFramebufferTransparency() in src/win32_window.c +// (the Dwm* functions are Vista era functions but we are borrowing logic from GLFW) +void ImGui_ImplWin32_EnableAlphaCompositing(void* hwnd) +{ + if (!_IsWindowsVistaOrGreater()) + return; + + BOOL composition; + if (FAILED(::DwmIsCompositionEnabled(&composition)) || !composition) + return; + + BOOL opaque; + DWORD color; + if (_IsWindows8OrGreater() || (SUCCEEDED(::DwmGetColorizationColor(&color, &opaque)) && !opaque)) + { + HRGN region = ::CreateRectRgn(0, 0, -1, -1); + DWM_BLURBEHIND bb = {}; + bb.dwFlags = DWM_BB_ENABLE | DWM_BB_BLURREGION; + bb.hRgnBlur = region; + bb.fEnable = TRUE; + ::DwmEnableBlurBehindWindow((HWND)hwnd, &bb); + ::DeleteObject(region); + } + else + { + DWM_BLURBEHIND bb = {}; + bb.dwFlags = DWM_BB_ENABLE; + ::DwmEnableBlurBehindWindow((HWND)hwnd, &bb); + } +} + +//--------------------------------------------------------------------------------------------------------- + +#if defined(__GNUC__) +#pragma GCC diagnostic pop +#endif +#if defined(__clang__) +#pragma clang diagnostic pop +#endif + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.h new file mode 100644 index 0000000..083fe38 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_impl_win32.h @@ -0,0 +1,53 @@ +// dear imgui: Platform Backend for Windows (standard windows API for 32-bits AND 64-bits applications) +// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..) + +// Implemented features: +// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui) +// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen. +// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy VK_* values are obsolete since 1.87 and not supported since 1.91.5] +// [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'. +// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. + +// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this. +// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. +// Learn about Dear ImGui: +// - FAQ https://dearimgui.com/faq +// - Getting Started https://dearimgui.com/getting-started +// - Documentation https://dearimgui.com/docs (same as your local docs/ folder). +// - Introduction, links and more at the top of imgui.cpp + +#pragma once +#include "imgui.h" // IMGUI_IMPL_API +#ifndef IMGUI_DISABLE + +// Follow "Getting Started" link and check examples/ folder to learn about using backends! +IMGUI_IMPL_API bool ImGui_ImplWin32_Init(void* hwnd); +IMGUI_IMPL_API bool ImGui_ImplWin32_InitForOpenGL(void* hwnd); +IMGUI_IMPL_API void ImGui_ImplWin32_Shutdown(); +IMGUI_IMPL_API void ImGui_ImplWin32_NewFrame(); + +// Win32 message handler your application need to call. +// - Intentionally commented out in a '#if 0' block to avoid dragging dependencies on from this helper. +// - You should COPY the line below into your .cpp code to forward declare the function and then you can call it. +// - Call from your application's message handler. Keep calling your message handler unless this function returns TRUE. + +#if 0 +extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); +#endif + +// DPI-related helpers (optional) +// - Use to enable DPI awareness without having to create an application manifest. +// - Your own app may already do this via a manifest or explicit calls. This is mostly useful for our examples/ apps. +// - In theory we could call simple functions from Windows SDK such as SetProcessDPIAware(), SetProcessDpiAwareness(), etc. +// but most of the functions provided by Microsoft require Windows 8.1/10+ SDK at compile time and Windows 8/10+ at runtime, +// neither we want to require the user to have. So we dynamically select and load those functions to avoid dependencies. +IMGUI_IMPL_API void ImGui_ImplWin32_EnableDpiAwareness(); +IMGUI_IMPL_API float ImGui_ImplWin32_GetDpiScaleForHwnd(void* hwnd); // HWND hwnd +IMGUI_IMPL_API float ImGui_ImplWin32_GetDpiScaleForMonitor(void* monitor); // HMONITOR monitor + +// Transparency related helpers (optional) [experimental] +// - Use to enable alpha compositing transparency with the desktop. +// - Use together with e.g. clearing your framebuffer with zero-alpha. +IMGUI_IMPL_API void ImGui_ImplWin32_EnableAlphaCompositing(void* hwnd); // HWND hwnd + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_internal.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_internal.h new file mode 100644 index 0000000..5c3927b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_internal.h @@ -0,0 +1,3633 @@ +// dear imgui, v1.91.9 WIP +// (internal structures/api) + +// You may use this file to debug, understand or extend Dear ImGui features but we don't provide any guarantee of forward compatibility. + +/* + +Index of this file: + +// [SECTION] Header mess +// [SECTION] Forward declarations +// [SECTION] Context pointer +// [SECTION] STB libraries includes +// [SECTION] Macros +// [SECTION] Generic helpers +// [SECTION] ImDrawList support +// [SECTION] Style support +// [SECTION] Data types support +// [SECTION] Widgets support: flags, enums, data structures +// [SECTION] Popup support +// [SECTION] Inputs support +// [SECTION] Clipper support +// [SECTION] Navigation support +// [SECTION] Typing-select support +// [SECTION] Columns support +// [SECTION] Box-select support +// [SECTION] Multi-select support +// [SECTION] Docking support +// [SECTION] Viewport support +// [SECTION] Settings support +// [SECTION] Localization support +// [SECTION] Error handling, State recovery support +// [SECTION] Metrics, Debug tools +// [SECTION] Generic context hooks +// [SECTION] ImGuiContext (main imgui context) +// [SECTION] ImGuiWindowTempData, ImGuiWindow +// [SECTION] Tab bar, Tab item support +// [SECTION] Table support +// [SECTION] ImGui internal API +// [SECTION] ImFontAtlas internal API +// [SECTION] Test Engine specific hooks (imgui_test_engine) + +*/ + +#pragma once +#ifndef IMGUI_DISABLE + +//----------------------------------------------------------------------------- +// [SECTION] Header mess +//----------------------------------------------------------------------------- + +#ifndef IMGUI_VERSION +#include "imgui.h" +#endif + +#include // FILE*, sscanf +#include // NULL, malloc, free, qsort, atoi, atof +#include // sqrtf, fabsf, fmodf, powf, floorf, ceilf, cosf, sinf +#include // INT_MIN, INT_MAX + +// Enable SSE intrinsics if available +#if (defined __SSE__ || defined __x86_64__ || defined _M_X64 || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1))) && !defined(IMGUI_DISABLE_SSE) +#define IMGUI_ENABLE_SSE +#include +#if (defined __AVX__ || defined __SSE4_2__) +#define IMGUI_ENABLE_SSE4_2 +#include +#endif +#endif +// Emscripten has partial SSE 4.2 support where _mm_crc32_u32 is not available. See https://emscripten.org/docs/porting/simd.html#id11 and #8213 +#if defined(IMGUI_ENABLE_SSE4_2) && !defined(IMGUI_USE_LEGACY_CRC32_ADLER) && !defined(__EMSCRIPTEN__) +#define IMGUI_ENABLE_SSE4_2_CRC +#endif + +// Visual Studio warnings +#ifdef _MSC_VER +#pragma warning (push) +#pragma warning (disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of struct 'xxx' // when IMGUI_API is set to__declspec(dllexport) +#pragma warning (disable: 26812) // The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). [MSVC Static Analyzer) +#pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). +#if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later +#pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types +#endif +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#pragma clang diagnostic push +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants ok, for ImFloor() +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant +#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function +#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision +#pragma clang diagnostic ignored "-Wmissing-noreturn" // warning: function 'xxx' could be declared with attribute 'noreturn' +#pragma clang diagnostic ignored "-Wdeprecated-enum-enum-conversion"// warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#elif defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated +#endif + +// In 1.89.4, we moved the implementation of "courtesy maths operators" from imgui_internal.h in imgui.h +// As they are frequently requested, we do not want to encourage to many people using imgui_internal.h +#if defined(IMGUI_DEFINE_MATH_OPERATORS) && !defined(IMGUI_DEFINE_MATH_OPERATORS_IMPLEMENTED) +#error Please '#define IMGUI_DEFINE_MATH_OPERATORS' _BEFORE_ including imgui.h! +#endif + +// Legacy defines +#ifdef IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS // Renamed in 1.74 +#error Use IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +#endif +#ifdef IMGUI_DISABLE_MATH_FUNCTIONS // Renamed in 1.74 +#error Use IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS +#endif + +// Enable stb_truetype by default unless FreeType is enabled. +// You can compile with both by defining both IMGUI_ENABLE_FREETYPE and IMGUI_ENABLE_STB_TRUETYPE together. +#ifndef IMGUI_ENABLE_FREETYPE +#define IMGUI_ENABLE_STB_TRUETYPE +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Forward declarations +//----------------------------------------------------------------------------- + +// Utilities +// (other types which are not forwarded declared are: ImBitArray<>, ImSpan<>, ImSpanAllocator<>, ImPool<>, ImChunkStream<>) +struct ImBitVector; // Store 1-bit per value +struct ImRect; // An axis-aligned rectangle (2 points) +struct ImGuiTextIndex; // Maintain a line index for a text buffer. + +// ImDrawList/ImFontAtlas +struct ImDrawDataBuilder; // Helper to build a ImDrawData instance +struct ImDrawListSharedData; // Data shared between all ImDrawList instances + +// ImGui +struct ImGuiBoxSelectState; // Box-selection state (currently used by multi-selection, could potentially be used by others) +struct ImGuiColorMod; // Stacked color modifier, backup of modified data so we can restore it +struct ImGuiContext; // Main Dear ImGui context +struct ImGuiContextHook; // Hook for extensions like ImGuiTestEngine +struct ImGuiDataTypeInfo; // Type information associated to a ImGuiDataType enum +struct ImGuiDeactivatedItemData; // Data for IsItemDeactivated()/IsItemDeactivatedAfterEdit() function. +struct ImGuiErrorRecoveryState; // Storage of stack sizes for error handling and recovery +struct ImGuiGroupData; // Stacked storage data for BeginGroup()/EndGroup() +struct ImGuiInputTextState; // Internal state of the currently focused/edited text input box +struct ImGuiInputTextDeactivateData;// Short term storage to backup text of a deactivating InputText() while another is stealing active id +struct ImGuiLastItemData; // Status storage for last submitted items +struct ImGuiLocEntry; // A localization entry. +struct ImGuiMenuColumns; // Simple column measurement, currently used for MenuItem() only +struct ImGuiMultiSelectState; // Multi-selection persistent state (for focused selection). +struct ImGuiMultiSelectTempData; // Multi-selection temporary state (while traversing). +struct ImGuiNavItemData; // Result of a keyboard/gamepad directional navigation move query result +struct ImGuiMetricsConfig; // Storage for ShowMetricsWindow() and DebugNodeXXX() functions +struct ImGuiNextWindowData; // Storage for SetNextWindow** functions +struct ImGuiNextItemData; // Storage for SetNextItem** functions +struct ImGuiOldColumnData; // Storage data for a single column for legacy Columns() api +struct ImGuiOldColumns; // Storage data for a columns set for legacy Columns() api +struct ImGuiPopupData; // Storage for current popup stack +struct ImGuiSettingsHandler; // Storage for one type registered in the .ini file +struct ImGuiStyleMod; // Stacked style modifier, backup of modified data so we can restore it +struct ImGuiStyleShadowTexConfig; // Shadow Texture baking config +struct ImGuiStyleVarInfo; // Style variable information (e.g. to access style variables from an enum) +struct ImGuiTabBar; // Storage for a tab bar +struct ImGuiTabItem; // Storage for a tab item (within a tab bar) +struct ImGuiTable; // Storage for a table +struct ImGuiTableHeaderData; // Storage for TableAngledHeadersRow() +struct ImGuiTableColumn; // Storage for one column of a table +struct ImGuiTableInstanceData; // Storage for one instance of a same table +struct ImGuiTableTempData; // Temporary storage for one table (one per table in the stack), shared between tables. +struct ImGuiTableSettings; // Storage for a table .ini settings +struct ImGuiTableColumnsSettings; // Storage for a column .ini settings +struct ImGuiTreeNodeStackData; // Temporary storage for TreeNode(). +struct ImGuiTypingSelectState; // Storage for GetTypingSelectRequest() +struct ImGuiTypingSelectRequest; // Storage for GetTypingSelectRequest() (aimed to be public) +struct ImGuiWindow; // Storage for one window +struct ImGuiWindowTempData; // Temporary storage for one window (that's the data which in theory we could ditch at the end of the frame, in practice we currently keep it for each window) +struct ImGuiWindowSettings; // Storage for a window .ini settings (we keep one of those even if the actual window wasn't instanced during this session) + +// Enumerations +// Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists. +enum ImGuiLocKey : int; // -> enum ImGuiLocKey // Enum: a localization entry for translation. +typedef int ImGuiLayoutType; // -> enum ImGuiLayoutType_ // Enum: Horizontal or vertical + +// Flags +typedef int ImGuiActivateFlags; // -> enum ImGuiActivateFlags_ // Flags: for navigation/focus function (will be for ActivateItem() later) +typedef int ImGuiDebugLogFlags; // -> enum ImGuiDebugLogFlags_ // Flags: for ShowDebugLogWindow(), g.DebugLogFlags +typedef int ImGuiFocusRequestFlags; // -> enum ImGuiFocusRequestFlags_ // Flags: for FocusWindow() +typedef int ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for g.LastItemData.StatusFlags +typedef int ImGuiOldColumnFlags; // -> enum ImGuiOldColumnFlags_ // Flags: for BeginColumns() +typedef int ImGuiLogFlags; // -> enum ImGuiLogFlags_ // Flags: for LogBegin() text capturing function +typedef int ImGuiNavRenderCursorFlags; // -> enum ImGuiNavRenderCursorFlags_//Flags: for RenderNavCursor() +typedef int ImGuiNavMoveFlags; // -> enum ImGuiNavMoveFlags_ // Flags: for navigation requests +typedef int ImGuiNextItemDataFlags; // -> enum ImGuiNextItemDataFlags_ // Flags: for SetNextItemXXX() functions +typedef int ImGuiNextWindowDataFlags; // -> enum ImGuiNextWindowDataFlags_// Flags: for SetNextWindowXXX() functions +typedef int ImGuiScrollFlags; // -> enum ImGuiScrollFlags_ // Flags: for ScrollToItem() and navigation requests +typedef int ImGuiSeparatorFlags; // -> enum ImGuiSeparatorFlags_ // Flags: for SeparatorEx() +typedef int ImGuiTextFlags; // -> enum ImGuiTextFlags_ // Flags: for TextEx() +typedef int ImGuiTooltipFlags; // -> enum ImGuiTooltipFlags_ // Flags: for BeginTooltipEx() +typedef int ImGuiTypingSelectFlags; // -> enum ImGuiTypingSelectFlags_ // Flags: for GetTypingSelectRequest() +typedef int ImGuiWindowRefreshFlags; // -> enum ImGuiWindowRefreshFlags_ // Flags: for SetNextWindowRefreshPolicy() + +//----------------------------------------------------------------------------- +// [SECTION] Context pointer +// See implementation of this variable in imgui.cpp for comments and details. +//----------------------------------------------------------------------------- + +#ifndef GImGui +extern IMGUI_API ImGuiContext* GImGui; // Current implicit context pointer +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Macros +//----------------------------------------------------------------------------- + +// Debug Printing Into TTY +// (since IMGUI_VERSION_NUM >= 18729: IMGUI_DEBUG_LOG was reworked into IMGUI_DEBUG_PRINTF (and removed framecount from it). If you were using a #define IMGUI_DEBUG_LOG please rename) +#ifndef IMGUI_DEBUG_PRINTF +#ifndef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +#define IMGUI_DEBUG_PRINTF(_FMT,...) printf(_FMT, __VA_ARGS__) +#else +#define IMGUI_DEBUG_PRINTF(_FMT,...) ((void)0) +#endif +#endif + +// Debug Logging for ShowDebugLogWindow(). This is designed for relatively rare events so please don't spam. +#define IMGUI_DEBUG_LOG_ERROR(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0) +#define IMGUI_DEBUG_LOG_ACTIVEID(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_FOCUS(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_POPUP(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_NAV(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_SELECTION(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_CLIPPER(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_IO(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_FONT(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_INPUTROUTING(...) do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) + +// Static Asserts +#define IM_STATIC_ASSERT(_COND) static_assert(_COND, "") + +// "Paranoid" Debug Asserts are meant to only be enabled during specific debugging/work, otherwise would slow down the code too much. +// We currently don't have many of those so the effect is currently negligible, but onward intent to add more aggressive ones in the code. +//#define IMGUI_DEBUG_PARANOID +#ifdef IMGUI_DEBUG_PARANOID +#define IM_ASSERT_PARANOID(_EXPR) IM_ASSERT(_EXPR) +#else +#define IM_ASSERT_PARANOID(_EXPR) +#endif + +// Misc Macros +#define IM_PI 3.14159265358979323846f +#ifdef _WIN32 +#define IM_NEWLINE "\r\n" // Play it nice with Windows users (Update: since 2018-05, Notepad finally appears to support Unix-style carriage returns!) +#else +#define IM_NEWLINE "\n" +#endif +#ifndef IM_TABSIZE // Until we move this to runtime and/or add proper tab support, at least allow users to compile-time override +#define IM_TABSIZE (4) +#endif +#define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8 +#define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose +#define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255 +#define IM_TRUNC(_VAL) ((float)(int)(_VAL)) // ImTrunc() is not inlined in MSVC debug builds +#define IM_ROUND(_VAL) ((float)(int)((_VAL) + 0.5f)) // +#define IM_STRINGIFY_HELPER(_X) #_X +#define IM_STRINGIFY(_X) IM_STRINGIFY_HELPER(_X) // Preprocessor idiom to stringify e.g. an integer. +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +#define IM_FLOOR IM_TRUNC +#endif + +// Hint for branch prediction +#if (defined(__cplusplus) && (__cplusplus >= 202002L)) || (defined(_MSVC_LANG) && (_MSVC_LANG >= 202002L)) +#define IM_LIKELY [[likely]] +#define IM_UNLIKELY [[unlikely]] +#else +#define IM_LIKELY +#define IM_UNLIKELY +#endif + +// Enforce cdecl calling convention for functions called by the standard library, in case compilation settings changed the default to e.g. __vectorcall +#ifdef _MSC_VER +#define IMGUI_CDECL __cdecl +#else +#define IMGUI_CDECL +#endif + +// Warnings +#if defined(_MSC_VER) && !defined(__clang__) +#define IM_MSVC_WARNING_SUPPRESS(XXXX) __pragma(warning(suppress: XXXX)) +#else +#define IM_MSVC_WARNING_SUPPRESS(XXXX) +#endif + +// Debug Tools +// Use 'Metrics/Debugger->Tools->Item Picker' to break into the call-stack of a specific item. +// This will call IM_DEBUG_BREAK() which you may redefine yourself. See https://github.com/scottt/debugbreak for more reference. +#ifndef IM_DEBUG_BREAK +#if defined (_MSC_VER) +#define IM_DEBUG_BREAK() __debugbreak() +#elif defined(__clang__) +#define IM_DEBUG_BREAK() __builtin_debugtrap() +#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) +#define IM_DEBUG_BREAK() __asm__ volatile("int3;nop") +#elif defined(__GNUC__) && defined(__thumb__) +#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xde01") +#elif defined(__GNUC__) && defined(__arm__) && !defined(__thumb__) +#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xe7f001f0") +#else +#define IM_DEBUG_BREAK() IM_ASSERT(0) // It is expected that you define IM_DEBUG_BREAK() into something that will break nicely in a debugger! +#endif +#endif // #ifndef IM_DEBUG_BREAK + +// Format specifiers, printing 64-bit hasn't been decently standardized... +// In a real application you should be using PRId64 and PRIu64 from (non-windows) and on Windows define them yourself. +#if defined(_MSC_VER) && !defined(__clang__) +#define IM_PRId64 "I64d" +#define IM_PRIu64 "I64u" +#define IM_PRIX64 "I64X" +#else +#define IM_PRId64 "lld" +#define IM_PRIu64 "llu" +#define IM_PRIX64 "llX" +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Generic helpers +// Note that the ImXXX helpers functions are lower-level than ImGui functions. +// ImGui functions or the ImGui context are never called/used from other ImXXX functions. +//----------------------------------------------------------------------------- +// - Helpers: Hashing +// - Helpers: Sorting +// - Helpers: Bit manipulation +// - Helpers: String +// - Helpers: Formatting +// - Helpers: UTF-8 <> wchar conversions +// - Helpers: ImVec2/ImVec4 operators +// - Helpers: Maths +// - Helpers: Geometry +// - Helper: ImVec1 +// - Helper: ImVec2ih +// - Helper: ImRect +// - Helper: ImBitArray +// - Helper: ImBitVector +// - Helper: ImSpan<>, ImSpanAllocator<> +// - Helper: ImPool<> +// - Helper: ImChunkStream<> +// - Helper: ImGuiTextIndex +// - Helper: ImGuiStorage +//----------------------------------------------------------------------------- + +// Helpers: Hashing +IMGUI_API ImGuiID ImHashData(const void* data, size_t data_size, ImGuiID seed = 0); +IMGUI_API ImGuiID ImHashStr(const char* data, size_t data_size = 0, ImGuiID seed = 0); + +// Helpers: Sorting +#ifndef ImQsort +static inline void ImQsort(void* base, size_t count, size_t size_of_element, int(IMGUI_CDECL *compare_func)(void const*, void const*)) { if (count > 1) qsort(base, count, size_of_element, compare_func); } +#endif + +// Helpers: Color Blending +IMGUI_API ImU32 ImAlphaBlendColors(ImU32 col_a, ImU32 col_b); + +// Helpers: Bit manipulation +static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } +static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } +static inline int ImUpperPowerOfTwo(int v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } + +// Helpers: String +IMGUI_API int ImStricmp(const char* str1, const char* str2); // Case insensitive compare. +IMGUI_API int ImStrnicmp(const char* str1, const char* str2, size_t count); // Case insensitive compare to a certain count. +IMGUI_API void ImStrncpy(char* dst, const char* src, size_t count); // Copy to a certain count and always zero terminate (strncpy doesn't). +IMGUI_API char* ImStrdup(const char* str); // Duplicate a string. +IMGUI_API char* ImStrdupcpy(char* dst, size_t* p_dst_size, const char* str); // Copy in provided buffer, recreate buffer if needed. +IMGUI_API const char* ImStrchrRange(const char* str_begin, const char* str_end, char c); // Find first occurrence of 'c' in string range. +IMGUI_API const char* ImStreolRange(const char* str, const char* str_end); // End end-of-line +IMGUI_API const char* ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end); // Find a substring in a string range. +IMGUI_API void ImStrTrimBlanks(char* str); // Remove leading and trailing blanks from a buffer. +IMGUI_API const char* ImStrSkipBlank(const char* str); // Find first non-blank character. +IMGUI_API int ImStrlenW(const ImWchar* str); // Computer string length (ImWchar string) +IMGUI_API const char* ImStrbol(const char* buf_mid_line, const char* buf_begin); // Find beginning-of-line +IM_MSVC_RUNTIME_CHECKS_OFF +static inline char ImToUpper(char c) { return (c >= 'a' && c <= 'z') ? c &= ~32 : c; } +static inline bool ImCharIsBlankA(char c) { return c == ' ' || c == '\t'; } +static inline bool ImCharIsBlankW(unsigned int c) { return c == ' ' || c == '\t' || c == 0x3000; } +static inline bool ImCharIsXdigitA(char c) { return (c >= '0' && c <= '9') || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f'); } +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Helpers: Formatting +IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); +IMGUI_API int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) IM_FMTLIST(3); +IMGUI_API void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) IM_FMTARGS(3); +IMGUI_API void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) IM_FMTLIST(3); +IMGUI_API const char* ImParseFormatFindStart(const char* format); +IMGUI_API const char* ImParseFormatFindEnd(const char* format); +IMGUI_API const char* ImParseFormatTrimDecorations(const char* format, char* buf, size_t buf_size); +IMGUI_API void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size); +IMGUI_API const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size); +IMGUI_API int ImParseFormatPrecision(const char* format, int default_value); + +// Helpers: UTF-8 <> wchar conversions +IMGUI_API const char* ImTextCharToUtf8(char out_buf[5], unsigned int c); // return out_buf +IMGUI_API int ImTextStrToUtf8(char* out_buf, int out_buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count +IMGUI_API int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end); // read one character. return input UTF-8 bytes count +IMGUI_API int ImTextStrFromUtf8(ImWchar* out_buf, int out_buf_size, const char* in_text, const char* in_text_end, const char** in_remaining = NULL); // return input UTF-8 bytes count +IMGUI_API int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count) +IMGUI_API int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end); // return number of bytes to express one char in UTF-8 +IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end); // return number of bytes to express string in UTF-8 +IMGUI_API const char* ImTextFindPreviousUtf8Codepoint(const char* in_text_start, const char* in_text_curr); // return previous UTF-8 code-point. +IMGUI_API int ImTextCountLines(const char* in_text, const char* in_text_end); // return number of lines taken by text. trailing carriage return doesn't count as an extra line. + +// Helpers: File System +#ifdef IMGUI_DISABLE_FILE_FUNCTIONS +#define IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS +typedef void* ImFileHandle; +static inline ImFileHandle ImFileOpen(const char*, const char*) { return NULL; } +static inline bool ImFileClose(ImFileHandle) { return false; } +static inline ImU64 ImFileGetSize(ImFileHandle) { return (ImU64)-1; } +static inline ImU64 ImFileRead(void*, ImU64, ImU64, ImFileHandle) { return 0; } +static inline ImU64 ImFileWrite(const void*, ImU64, ImU64, ImFileHandle) { return 0; } +#endif +#ifndef IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS +typedef FILE* ImFileHandle; +IMGUI_API ImFileHandle ImFileOpen(const char* filename, const char* mode); +IMGUI_API bool ImFileClose(ImFileHandle file); +IMGUI_API ImU64 ImFileGetSize(ImFileHandle file); +IMGUI_API ImU64 ImFileRead(void* data, ImU64 size, ImU64 count, ImFileHandle file); +IMGUI_API ImU64 ImFileWrite(const void* data, ImU64 size, ImU64 count, ImFileHandle file); +#else +#define IMGUI_DISABLE_TTY_FUNCTIONS // Can't use stdout, fflush if we are not using default file functions +#endif +IMGUI_API void* ImFileLoadToMemory(const char* filename, const char* mode, size_t* out_file_size = NULL, int padding_bytes = 0); + +// Helpers: Maths +IM_MSVC_RUNTIME_CHECKS_OFF +// - Wrapper for standard libs functions. (Note that imgui_demo.cpp does _not_ use them to keep the code easy to copy) +#ifndef IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS +#define ImFabs(X) fabsf(X) +#define ImSqrt(X) sqrtf(X) +#define ImFmod(X, Y) fmodf((X), (Y)) +#define ImCos(X) cosf(X) +#define ImSin(X) sinf(X) +#define ImAcos(X) acosf(X) +#define ImAtan2(Y, X) atan2f((Y), (X)) +#define ImAtof(STR) atof(STR) +#define ImCeil(X) ceilf(X) +static inline float ImPow(float x, float y) { return powf(x, y); } // DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the precision +static inline double ImPow(double x, double y) { return pow(x, y); } +static inline float ImLog(float x) { return logf(x); } // DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the precision +static inline double ImLog(double x) { return log(x); } +static inline int ImAbs(int x) { return x < 0 ? -x : x; } +static inline float ImAbs(float x) { return fabsf(x); } +static inline double ImAbs(double x) { return fabs(x); } +static inline float ImSign(float x) { return (x < 0.0f) ? -1.0f : (x > 0.0f) ? 1.0f : 0.0f; } // Sign operator - returns -1, 0 or 1 based on sign of argument +static inline double ImSign(double x) { return (x < 0.0) ? -1.0 : (x > 0.0) ? 1.0 : 0.0; } +#ifdef IMGUI_ENABLE_SSE +static inline float ImRsqrt(float x) { return _mm_cvtss_f32(_mm_rsqrt_ss(_mm_set_ss(x))); } +#else +static inline float ImRsqrt(float x) { return 1.0f / sqrtf(x); } +#endif +static inline double ImRsqrt(double x) { return 1.0 / sqrt(x); } +#endif +// - ImMin/ImMax/ImClamp/ImLerp/ImSwap are used by widgets which support variety of types: signed/unsigned int/long long float/double +// (Exceptionally using templates here but we could also redefine them for those types) +template static inline T ImMin(T lhs, T rhs) { return lhs < rhs ? lhs : rhs; } +template static inline T ImMax(T lhs, T rhs) { return lhs >= rhs ? lhs : rhs; } +template static inline T ImClamp(T v, T mn, T mx) { return (v < mn) ? mn : (v > mx) ? mx : v; } +template static inline T ImLerp(T a, T b, float t) { return (T)(a + (b - a) * t); } +template static inline void ImSwap(T& a, T& b) { T tmp = a; a = b; b = tmp; } +template static inline T ImAddClampOverflow(T a, T b, T mn, T mx) { if (b < 0 && (a < mn - b)) return mn; if (b > 0 && (a > mx - b)) return mx; return a + b; } +template static inline T ImSubClampOverflow(T a, T b, T mn, T mx) { if (b > 0 && (a < mn + b)) return mn; if (b < 0 && (a > mx + b)) return mx; return a - b; } +// - Misc maths helpers +static inline ImVec2 ImMin(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x < rhs.x ? lhs.x : rhs.x, lhs.y < rhs.y ? lhs.y : rhs.y); } +static inline ImVec2 ImMax(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x >= rhs.x ? lhs.x : rhs.x, lhs.y >= rhs.y ? lhs.y : rhs.y); } +static inline ImVec2 ImClamp(const ImVec2& v, const ImVec2&mn, const ImVec2&mx) { return ImVec2((v.x < mn.x) ? mn.x : (v.x > mx.x) ? mx.x : v.x, (v.y < mn.y) ? mn.y : (v.y > mx.y) ? mx.y : v.y); } +static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, float t) { return ImVec2(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t); } +static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, const ImVec2& t) { return ImVec2(a.x + (b.x - a.x) * t.x, a.y + (b.y - a.y) * t.y); } +static inline ImVec4 ImLerp(const ImVec4& a, const ImVec4& b, float t) { return ImVec4(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t, a.w + (b.w - a.w) * t); } +static inline float ImSaturate(float f) { return (f < 0.0f) ? 0.0f : (f > 1.0f) ? 1.0f : f; } +static inline float ImLengthSqr(const ImVec2& lhs) { return (lhs.x * lhs.x) + (lhs.y * lhs.y); } +static inline float ImLengthSqr(const ImVec4& lhs) { return (lhs.x * lhs.x) + (lhs.y * lhs.y) + (lhs.z * lhs.z) + (lhs.w * lhs.w); } +static inline float ImLength(const ImVec2& lhs, float fail_value) { float d = (lhs.x * lhs.x) + (lhs.y * lhs.y); if (d > 0.0f) return ImSqrt(d); return fail_value; } +static inline float ImInvLength(const ImVec2& lhs, float fail_value) { float d = (lhs.x * lhs.x) + (lhs.y * lhs.y); if (d > 0.0f) return ImRsqrt(d); return fail_value; } +static inline float ImTrunc(float f) { return (float)(int)(f); } +static inline ImVec2 ImTrunc(const ImVec2& v) { return ImVec2((float)(int)(v.x), (float)(int)(v.y)); } +static inline float ImFloor(float f) { return (float)((f >= 0 || (float)(int)f == f) ? (int)f : (int)f - 1); } // Decent replacement for floorf() +static inline ImVec2 ImFloor(const ImVec2& v) { return ImVec2(ImFloor(v.x), ImFloor(v.y)); } +static inline int ImModPositive(int a, int b) { return (a + b) % b; } +static inline float ImDot(const ImVec2& a, const ImVec2& b) { return a.x * b.x + a.y * b.y; } +static inline ImVec2 ImRotate(const ImVec2& v, float cos_a, float sin_a) { return ImVec2(v.x * cos_a - v.y * sin_a, v.x * sin_a + v.y * cos_a); } +static inline float ImLinearSweep(float current, float target, float speed) { if (current < target) return ImMin(current + speed, target); if (current > target) return ImMax(current - speed, target); return current; } +static inline float ImLinearRemapClamp(float s0, float s1, float d0, float d1, float x) { return ImSaturate((x - s0) / (s1 - s0)) * (d1 - d0) + d0; } +static inline ImVec2 ImMul(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x * rhs.x, lhs.y * rhs.y); } +static inline bool ImIsFloatAboveGuaranteedIntegerPrecision(float f) { return f <= -16777216 || f >= 16777216; } +static inline float ImExponentialMovingAverage(float avg, float sample, int n) { avg -= avg / n; avg += sample / n; return avg; } +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Helpers: Geometry +IMGUI_API ImVec2 ImBezierCubicCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, float t); +IMGUI_API ImVec2 ImBezierCubicClosestPoint(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& p, int num_segments); // For curves with explicit number of segments +IMGUI_API ImVec2 ImBezierCubicClosestPointCasteljau(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& p, float tess_tol);// For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol +IMGUI_API ImVec2 ImBezierQuadraticCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, float t); +IMGUI_API ImVec2 ImLineClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& p); +IMGUI_API bool ImTriangleContainsPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p); +IMGUI_API ImVec2 ImTriangleClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p); +IMGUI_API void ImTriangleBarycentricCoords(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p, float& out_u, float& out_v, float& out_w); +inline float ImTriangleArea(const ImVec2& a, const ImVec2& b, const ImVec2& c) { return ImFabs((a.x * (b.y - c.y)) + (b.x * (c.y - a.y)) + (c.x * (a.y - b.y))) * 0.5f; } +inline bool ImTriangleIsClockwise(const ImVec2& a, const ImVec2& b, const ImVec2& c) { return ((b.x - a.x) * (c.y - b.y)) - ((c.x - b.x) * (b.y - a.y)) > 0.0f; } + +// Helper: ImVec1 (1D vector) +// (this odd construct is used to facilitate the transition between 1D and 2D, and the maintenance of some branches/patches) +IM_MSVC_RUNTIME_CHECKS_OFF +struct ImVec1 +{ + float x; + constexpr ImVec1() : x(0.0f) { } + constexpr ImVec1(float _x) : x(_x) { } +}; + +// Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage) +struct ImVec2ih +{ + short x, y; + constexpr ImVec2ih() : x(0), y(0) {} + constexpr ImVec2ih(short _x, short _y) : x(_x), y(_y) {} + constexpr explicit ImVec2ih(const ImVec2& rhs) : x((short)rhs.x), y((short)rhs.y) {} +}; + +// Helper: ImRect (2D axis aligned bounding-box) +// NB: we can't rely on ImVec2 math operators being available here! +struct IMGUI_API ImRect +{ + ImVec2 Min; // Upper-left + ImVec2 Max; // Lower-right + + constexpr ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} + constexpr ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} + constexpr ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} + constexpr ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} + + ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + Max.y) * 0.5f); } + ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } + float GetWidth() const { return Max.x - Min.x; } + float GetHeight() const { return Max.y - Min.y; } + float GetArea() const { return (Max.x - Min.x) * (Max.y - Min.y); } + ImVec2 GetTL() const { return Min; } // Top-left + ImVec2 GetTR() const { return ImVec2(Max.x, Min.y); } // Top-right + ImVec2 GetBL() const { return ImVec2(Min.x, Max.y); } // Bottom-left + ImVec2 GetBR() const { return Max; } // Bottom-right + bool Contains(const ImVec2& p) const { return p.x >= Min.x && p.y >= Min.y && p.x < Max.x && p.y < Max.y; } + bool Contains(const ImRect& r) const { return r.Min.x >= Min.x && r.Min.y >= Min.y && r.Max.x <= Max.x && r.Max.y <= Max.y; } + bool ContainsWithPad(const ImVec2& p, const ImVec2& pad) const { return p.x >= Min.x - pad.x && p.y >= Min.y - pad.y && p.x < Max.x + pad.x && p.y < Max.y + pad.y; } + bool Overlaps(const ImRect& r) const { return r.Min.y < Max.y && r.Max.y > Min.y && r.Min.x < Max.x && r.Max.x > Min.x; } + void Add(const ImVec2& p) { if (Min.x > p.x) Min.x = p.x; if (Min.y > p.y) Min.y = p.y; if (Max.x < p.x) Max.x = p.x; if (Max.y < p.y) Max.y = p.y; } + void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y > r.Min.y) Min.y = r.Min.y; if (Max.x < r.Max.x) Max.x = r.Max.x; if (Max.y < r.Max.y) Max.y = r.Max.y; } + void Expand(const float amount) { Min.x -= amount; Min.y -= amount; Max.x += amount; Max.y += amount; } + void Expand(const ImVec2& amount) { Min.x -= amount.x; Min.y -= amount.y; Max.x += amount.x; Max.y += amount.y; } + void Translate(const ImVec2& d) { Min.x += d.x; Min.y += d.y; Max.x += d.x; Max.y += d.y; } + void TranslateX(float dx) { Min.x += dx; Max.x += dx; } + void TranslateY(float dy) { Min.y += dy; Max.y += dy; } + void ClipWith(const ImRect& r) { Min = ImMax(Min, r.Min); Max = ImMin(Max, r.Max); } // Simple version, may lead to an inverted rectangle, which is fine for Contains/Overlaps test but not for display. + void ClipWithFull(const ImRect& r) { Min = ImClamp(Min, r.Min, r.Max); Max = ImClamp(Max, r.Min, r.Max); } // Full version, ensure both points are fully clipped. + void Floor() { Min.x = IM_TRUNC(Min.x); Min.y = IM_TRUNC(Min.y); Max.x = IM_TRUNC(Max.x); Max.y = IM_TRUNC(Max.y); } + bool IsInverted() const { return Min.x > Max.x || Min.y > Max.y; } + ImVec4 ToVec4() const { return ImVec4(Min.x, Min.y, Max.x, Max.y); } +}; + +// Helper: ImBitArray +#define IM_BITARRAY_TESTBIT(_ARRAY, _N) ((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0) // Macro version of ImBitArrayTestBit(): ensure args have side-effect or are costly! +#define IM_BITARRAY_CLEARBIT(_ARRAY, _N) ((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31)))) // Macro version of ImBitArrayClearBit(): ensure args have side-effect or are costly! +inline size_t ImBitArrayGetStorageSizeInBytes(int bitcount) { return (size_t)((bitcount + 31) >> 5) << 2; } +inline void ImBitArrayClearAllBits(ImU32* arr, int bitcount){ memset(arr, 0, ImBitArrayGetStorageSizeInBytes(bitcount)); } +inline bool ImBitArrayTestBit(const ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31); return (arr[n >> 5] & mask) != 0; } +inline void ImBitArrayClearBit(ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31); arr[n >> 5] &= ~mask; } +inline void ImBitArraySetBit(ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31); arr[n >> 5] |= mask; } +inline void ImBitArraySetBitRange(ImU32* arr, int n, int n2) // Works on range [n..n2) +{ + n2--; + while (n <= n2) + { + int a_mod = (n & 31); + int b_mod = (n2 > (n | 31) ? 31 : (n2 & 31)) + 1; + ImU32 mask = (ImU32)(((ImU64)1 << b_mod) - 1) & ~(ImU32)(((ImU64)1 << a_mod) - 1); + arr[n >> 5] |= mask; + n = (n + 32) & ~31; + } +} + +typedef ImU32* ImBitArrayPtr; // Name for use in structs + +// Helper: ImBitArray class (wrapper over ImBitArray functions) +// Store 1-bit per value. +template +struct ImBitArray +{ + ImU32 Storage[(BITCOUNT + 31) >> 5]; + ImBitArray() { ClearAllBits(); } + void ClearAllBits() { memset(Storage, 0, sizeof(Storage)); } + void SetAllBits() { memset(Storage, 255, sizeof(Storage)); } + bool TestBit(int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return IM_BITARRAY_TESTBIT(Storage, n); } + void SetBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArraySetBit(Storage, n); } + void ClearBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArrayClearBit(Storage, n); } + void SetBitRange(int n, int n2) { n += OFFSET; n2 += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT && n2 > n && n2 <= BITCOUNT); ImBitArraySetBitRange(Storage, n, n2); } // Works on range [n..n2) + bool operator[](int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return IM_BITARRAY_TESTBIT(Storage, n); } +}; + +// Helper: ImBitVector +// Store 1-bit per value. +struct IMGUI_API ImBitVector +{ + ImVector Storage; + void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); } + void Clear() { Storage.clear(); } + bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return IM_BITARRAY_TESTBIT(Storage.Data, n); } + void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); } + void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); } +}; +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Helper: ImSpan<> +// Pointing to a span of data we don't own. +template +struct ImSpan +{ + T* Data; + T* DataEnd; + + // Constructors, destructor + inline ImSpan() { Data = DataEnd = NULL; } + inline ImSpan(T* data, int size) { Data = data; DataEnd = data + size; } + inline ImSpan(T* data, T* data_end) { Data = data; DataEnd = data_end; } + + inline void set(T* data, int size) { Data = data; DataEnd = data + size; } + inline void set(T* data, T* data_end) { Data = data; DataEnd = data_end; } + inline int size() const { return (int)(ptrdiff_t)(DataEnd - Data); } + inline int size_in_bytes() const { return (int)(ptrdiff_t)(DataEnd - Data) * (int)sizeof(T); } + inline T& operator[](int i) { T* p = Data + i; IM_ASSERT(p >= Data && p < DataEnd); return *p; } + inline const T& operator[](int i) const { const T* p = Data + i; IM_ASSERT(p >= Data && p < DataEnd); return *p; } + + inline T* begin() { return Data; } + inline const T* begin() const { return Data; } + inline T* end() { return DataEnd; } + inline const T* end() const { return DataEnd; } + + // Utilities + inline int index_from_ptr(const T* it) const { IM_ASSERT(it >= Data && it < DataEnd); const ptrdiff_t off = it - Data; return (int)off; } +}; + +// Helper: ImSpanAllocator<> +// Facilitate storing multiple chunks into a single large block (the "arena") +// - Usage: call Reserve() N times, allocate GetArenaSizeInBytes() worth, pass it to SetArenaBasePtr(), call GetSpan() N times to retrieve the aligned ranges. +template +struct ImSpanAllocator +{ + char* BasePtr; + int CurrOff; + int CurrIdx; + int Offsets[CHUNKS]; + int Sizes[CHUNKS]; + + ImSpanAllocator() { memset(this, 0, sizeof(*this)); } + inline void Reserve(int n, size_t sz, int a=4) { IM_ASSERT(n == CurrIdx && n < CHUNKS); CurrOff = IM_MEMALIGN(CurrOff, a); Offsets[n] = CurrOff; Sizes[n] = (int)sz; CurrIdx++; CurrOff += (int)sz; } + inline int GetArenaSizeInBytes() { return CurrOff; } + inline void SetArenaBasePtr(void* base_ptr) { BasePtr = (char*)base_ptr; } + inline void* GetSpanPtrBegin(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); return (void*)(BasePtr + Offsets[n]); } + inline void* GetSpanPtrEnd(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); return (void*)(BasePtr + Offsets[n] + Sizes[n]); } + template + inline void GetSpan(int n, ImSpan* span) { span->set((T*)GetSpanPtrBegin(n), (T*)GetSpanPtrEnd(n)); } +}; + +// Helper: ImPool<> +// Basic keyed storage for contiguous instances, slow/amortized insertion, O(1) indexable, O(Log N) queries by ID over a dense/hot buffer, +// Honor constructor/destructor. Add/remove invalidate all pointers. Indexes have the same lifetime as the associated object. +typedef int ImPoolIdx; +template +struct ImPool +{ + ImVector Buf; // Contiguous data + ImGuiStorage Map; // ID->Index + ImPoolIdx FreeIdx; // Next free idx to use + ImPoolIdx AliveCount; // Number of active/alive items (for display purpose) + + ImPool() { FreeIdx = AliveCount = 0; } + ~ImPool() { Clear(); } + T* GetByKey(ImGuiID key) { int idx = Map.GetInt(key, -1); return (idx != -1) ? &Buf[idx] : NULL; } + T* GetByIndex(ImPoolIdx n) { return &Buf[n]; } + ImPoolIdx GetIndex(const T* p) const { IM_ASSERT(p >= Buf.Data && p < Buf.Data + Buf.Size); return (ImPoolIdx)(p - Buf.Data); } + T* GetOrAddByKey(ImGuiID key) { int* p_idx = Map.GetIntRef(key, -1); if (*p_idx != -1) return &Buf[*p_idx]; *p_idx = FreeIdx; return Add(); } + bool Contains(const T* p) const { return (p >= Buf.Data && p < Buf.Data + Buf.Size); } + void Clear() { for (int n = 0; n < Map.Data.Size; n++) { int idx = Map.Data[n].val_i; if (idx != -1) Buf[idx].~T(); } Map.Clear(); Buf.clear(); FreeIdx = AliveCount = 0; } + T* Add() { int idx = FreeIdx; if (idx == Buf.Size) { Buf.resize(Buf.Size + 1); FreeIdx++; } else { FreeIdx = *(int*)&Buf[idx]; } IM_PLACEMENT_NEW(&Buf[idx]) T(); AliveCount++; return &Buf[idx]; } + void Remove(ImGuiID key, const T* p) { Remove(key, GetIndex(p)); } + void Remove(ImGuiID key, ImPoolIdx idx) { Buf[idx].~T(); *(int*)&Buf[idx] = FreeIdx; FreeIdx = idx; Map.SetInt(key, -1); AliveCount--; } + void Reserve(int capacity) { Buf.reserve(capacity); Map.Data.reserve(capacity); } + + // To iterate a ImPool: for (int n = 0; n < pool.GetMapSize(); n++) if (T* t = pool.TryGetMapData(n)) { ... } + // Can be avoided if you know .Remove() has never been called on the pool, or AliveCount == GetMapSize() + int GetAliveCount() const { return AliveCount; } // Number of active/alive items in the pool (for display purpose) + int GetBufSize() const { return Buf.Size; } + int GetMapSize() const { return Map.Data.Size; } // It is the map we need iterate to find valid items, since we don't have "alive" storage anywhere + T* TryGetMapData(ImPoolIdx n) { int idx = Map.Data[n].val_i; if (idx == -1) return NULL; return GetByIndex(idx); } +}; + +// Helper: ImChunkStream<> +// Build and iterate a contiguous stream of variable-sized structures. +// This is used by Settings to store persistent data while reducing allocation count. +// We store the chunk size first, and align the final size on 4 bytes boundaries. +// The tedious/zealous amount of casting is to avoid -Wcast-align warnings. +template +struct ImChunkStream +{ + ImVector Buf; + + void clear() { Buf.clear(); } + bool empty() const { return Buf.Size == 0; } + int size() const { return Buf.Size; } + T* alloc_chunk(size_t sz) { size_t HDR_SZ = 4; sz = IM_MEMALIGN(HDR_SZ + sz, 4u); int off = Buf.Size; Buf.resize(off + (int)sz); ((int*)(void*)(Buf.Data + off))[0] = (int)sz; return (T*)(void*)(Buf.Data + off + (int)HDR_SZ); } + T* begin() { size_t HDR_SZ = 4; if (!Buf.Data) return NULL; return (T*)(void*)(Buf.Data + HDR_SZ); } + T* next_chunk(T* p) { size_t HDR_SZ = 4; IM_ASSERT(p >= begin() && p < end()); p = (T*)(void*)((char*)(void*)p + chunk_size(p)); if (p == (T*)(void*)((char*)end() + HDR_SZ)) return (T*)0; IM_ASSERT(p < end()); return p; } + int chunk_size(const T* p) { return ((const int*)p)[-1]; } + T* end() { return (T*)(void*)(Buf.Data + Buf.Size); } + int offset_from_ptr(const T* p) { IM_ASSERT(p >= begin() && p < end()); const ptrdiff_t off = (const char*)p - Buf.Data; return (int)off; } + T* ptr_from_offset(int off) { IM_ASSERT(off >= 4 && off < Buf.Size); return (T*)(void*)(Buf.Data + off); } + void swap(ImChunkStream& rhs) { rhs.Buf.swap(Buf); } +}; + +// Helper: ImGuiTextIndex +// Maintain a line index for a text buffer. This is a strong candidate to be moved into the public API. +struct ImGuiTextIndex +{ + ImVector LineOffsets; + int EndOffset = 0; // Because we don't own text buffer we need to maintain EndOffset (may bake in LineOffsets?) + + void clear() { LineOffsets.clear(); EndOffset = 0; } + int size() { return LineOffsets.Size; } + const char* get_line_begin(const char* base, int n) { return base + LineOffsets[n]; } + const char* get_line_end(const char* base, int n) { return base + (n + 1 < LineOffsets.Size ? (LineOffsets[n + 1] - 1) : EndOffset); } + void append(const char* base, int old_size, int new_size); +}; + +// Helper: ImGuiStorage +IMGUI_API ImGuiStoragePair* ImLowerBound(ImGuiStoragePair* in_begin, ImGuiStoragePair* in_end, ImGuiID key); + +//----------------------------------------------------------------------------- +// [SECTION] ImDrawList support +//----------------------------------------------------------------------------- + +// ImDrawList: Helper function to calculate a circle's segment count given its radius and a "maximum error" value. +// Estimation of number of circle segment based on error is derived using method described in https://stackoverflow.com/a/2244088/15194693 +// Number of segments (N) is calculated using equation: +// N = ceil ( pi / acos(1 - error / r) ) where r > 0, error <= r +// Our equation is significantly simpler that one in the post thanks for choosing segment that is +// perpendicular to X axis. Follow steps in the article from this starting condition and you will +// will get this result. +// +// Rendering circles with an odd number of segments, while mathematically correct will produce +// asymmetrical results on the raster grid. Therefore we're rounding N to next even number (7->8, 8->8, 9->10 etc.) +#define IM_ROUNDUP_TO_EVEN(_V) ((((_V) + 1) / 2) * 2) +#define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN 4 +#define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX 512 +#define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR) ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX) + +// Raw equation from IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC rewritten for 'r' and 'error'. +#define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR) ((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI)))) +#define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD) ((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD)) + +// ImDrawList: Lookup table size for adaptive arc drawing, cover full circle. +#ifndef IM_DRAWLIST_ARCFAST_TABLE_SIZE +#define IM_DRAWLIST_ARCFAST_TABLE_SIZE 48 // Number of samples in lookup table. +#endif +#define IM_DRAWLIST_ARCFAST_SAMPLE_MAX IM_DRAWLIST_ARCFAST_TABLE_SIZE // Sample index _PathArcToFastEx() for 360 angle. + +// Data shared between all ImDrawList instances +// Conceptually this could have been called e.g. ImDrawListSharedContext +// Typically one ImGui context would create and maintain one of this. +// You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure. +struct IMGUI_API ImDrawListSharedData +{ + ImVec2 TexUvWhitePixel; // UV of white pixel in the atlas + const ImVec4* TexUvLines; // UV of anti-aliased lines in the atlas + ImFont* Font; // Current/default font (optional, for simplified AddText overload) + float FontSize; // Current/default font size (optional, for simplified AddText overload) + float FontScale; // Current/default font scale (== FontSize / Font->FontSize) + float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() + float CircleSegmentMaxError; // Number of circle segments to use per pixel of radius for AddCircle() etc + float InitialFringeScale; // Initial scale to apply to AA fringe + ImDrawListFlags InitialFlags; // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards) + ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen() + ImVector TempBuffer; // Temporary write buffer + + // Lookup tables + ImVec2 ArcFastVtx[IM_DRAWLIST_ARCFAST_TABLE_SIZE]; // Sample points on the quarter of the circle. + float ArcFastRadiusCutoff; // Cutoff radius after which arc drawing will fallback to slower PathArcTo() + ImU8 CircleSegmentCounts[64]; // Precomputed segment count for given radius before we calculate it dynamically (to avoid calculation overhead) + + int* ShadowRectIds; // IDs of rects for shadow texture (2 entries) + const ImVec4* ShadowRectUvs; // UV coordinates for shadow texture (10 entries) + + ImDrawListSharedData(); + void SetCircleTessellationMaxError(float max_error); +}; + +struct ImDrawDataBuilder +{ + ImVector* Layers[2]; // Pointers to global layers for: regular, tooltip. LayersP[0] is owned by DrawData. + ImVector LayerData1; + + ImDrawDataBuilder() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Style support +//----------------------------------------------------------------------------- + +struct ImGuiStyleVarInfo +{ + ImU32 Count : 8; // 1+ + ImGuiDataType DataType : 8; + ImU32 Offset : 16; // Offset in parent structure + void* GetVarPtr(void* parent) const { return (void*)((unsigned char*)parent + Offset); } +}; + +// Stacked color modifier, backup of modified data so we can restore it +struct ImGuiColorMod +{ + ImGuiCol Col; + ImVec4 BackupValue; +}; + +// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable. +struct ImGuiStyleMod +{ + ImGuiStyleVar VarIdx; + union { int BackupInt[2]; float BackupFloat[2]; }; + ImGuiStyleMod(ImGuiStyleVar idx, int v) { VarIdx = idx; BackupInt[0] = v; } + ImGuiStyleMod(ImGuiStyleVar idx, float v) { VarIdx = idx; BackupFloat[0] = v; } + ImGuiStyleMod(ImGuiStyleVar idx, ImVec2 v) { VarIdx = idx; BackupFloat[0] = v.x; BackupFloat[1] = v.y; } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Data types support +//----------------------------------------------------------------------------- + +struct ImGuiDataTypeStorage +{ + ImU8 Data[8]; // Opaque storage to fit any data up to ImGuiDataType_COUNT +}; + +// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo(). +struct ImGuiDataTypeInfo +{ + size_t Size; // Size in bytes + const char* Name; // Short descriptive name for the type, for debugging + const char* PrintFmt; // Default printf format for the type + const char* ScanFmt; // Default scanf format for the type +}; + +// Extend ImGuiDataType_ +enum ImGuiDataTypePrivate_ +{ + ImGuiDataType_Pointer = ImGuiDataType_COUNT, + ImGuiDataType_ID, +}; + +//----------------------------------------------------------------------------- +// [SECTION] Widgets support: flags, enums, data structures +//----------------------------------------------------------------------------- + +// Extend ImGuiItemFlags +// - input: PushItemFlag() manipulates g.CurrentItemFlags, g.NextItemData.ItemFlags, ItemAdd() calls may add extra flags too. +// - output: stored in g.LastItemData.ItemFlags +enum ImGuiItemFlagsPrivate_ +{ + // Controlled by user + ImGuiItemFlags_Disabled = 1 << 10, // false // Disable interactions (DOES NOT affect visuals. DO NOT mix direct use of this with BeginDisabled(). See BeginDisabled()/EndDisabled() for full disable feature, and github #211). + ImGuiItemFlags_ReadOnly = 1 << 11, // false // [ALPHA] Allow hovering interactions but underlying value is not changed. + ImGuiItemFlags_MixedValue = 1 << 12, // false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets) + ImGuiItemFlags_NoWindowHoverableCheck = 1 << 13, // false // Disable hoverable check in ItemHoverable() + ImGuiItemFlags_AllowOverlap = 1 << 14, // false // Allow being overlapped by another widget. Not-hovered to Hovered transition deferred by a frame. + ImGuiItemFlags_NoNavDisableMouseHover = 1 << 15, // false // Nav keyboard/gamepad mode doesn't disable hover highlight (behave as if NavHighlightItemUnderNav==false). + ImGuiItemFlags_NoMarkEdited = 1 << 16, // false // Skip calling MarkItemEdited() + + // Controlled by widget code + ImGuiItemFlags_Inputable = 1 << 20, // false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature. + ImGuiItemFlags_HasSelectionUserData = 1 << 21, // false // Set by SetNextItemSelectionUserData() + ImGuiItemFlags_IsMultiSelect = 1 << 22, // false // Set by SetNextItemSelectionUserData() + + ImGuiItemFlags_Default_ = ImGuiItemFlags_AutoClosePopups, // Please don't change, use PushItemFlag() instead. + + // Obsolete + //ImGuiItemFlags_SelectableDontClosePopup = !ImGuiItemFlags_AutoClosePopups, // Can't have a redirect as we inverted the behavior +}; + +// Status flags for an already submitted item +// - output: stored in g.LastItemData.StatusFlags +enum ImGuiItemStatusFlags_ +{ + ImGuiItemStatusFlags_None = 0, + ImGuiItemStatusFlags_HoveredRect = 1 << 0, // Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test) + ImGuiItemStatusFlags_HasDisplayRect = 1 << 1, // g.LastItemData.DisplayRect is valid + ImGuiItemStatusFlags_Edited = 1 << 2, // Value exposed by item was edited in the current frame (should match the bool return value of most widgets) + ImGuiItemStatusFlags_ToggledSelection = 1 << 3, // Set when Selectable(), TreeNode() reports toggling a selection. We can't report "Selected", only state changes, in order to easily handle clipping with less issues. + ImGuiItemStatusFlags_ToggledOpen = 1 << 4, // Set when TreeNode() reports toggling their open state. + ImGuiItemStatusFlags_HasDeactivated = 1 << 5, // Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag. + ImGuiItemStatusFlags_Deactivated = 1 << 6, // Only valid if ImGuiItemStatusFlags_HasDeactivated is set. + ImGuiItemStatusFlags_HoveredWindow = 1 << 7, // Override the HoveredWindow test to allow cross-window hover testing. + ImGuiItemStatusFlags_Visible = 1 << 8, // [WIP] Set when item is overlapping the current clipping rectangle (Used internally. Please don't use yet: API/system will change as we refactor Itemadd()). + ImGuiItemStatusFlags_HasClipRect = 1 << 9, // g.LastItemData.ClipRect is valid. + ImGuiItemStatusFlags_HasShortcut = 1 << 10, // g.LastItemData.Shortcut valid. Set by SetNextItemShortcut() -> ItemAdd(). + + // Additional status + semantic for ImGuiTestEngine +#ifdef IMGUI_ENABLE_TEST_ENGINE + ImGuiItemStatusFlags_Openable = 1 << 20, // Item is an openable (e.g. TreeNode) + ImGuiItemStatusFlags_Opened = 1 << 21, // Opened status + ImGuiItemStatusFlags_Checkable = 1 << 22, // Item is a checkable (e.g. CheckBox, MenuItem) + ImGuiItemStatusFlags_Checked = 1 << 23, // Checked status + ImGuiItemStatusFlags_Inputable = 1 << 24, // Item is a text-inputable (e.g. InputText, SliderXXX, DragXXX) +#endif +}; + +// Extend ImGuiHoveredFlags_ +enum ImGuiHoveredFlagsPrivate_ +{ + ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay, + ImGuiHoveredFlags_AllowedMaskForIsWindowHovered = ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary, + ImGuiHoveredFlags_AllowedMaskForIsItemHovered = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled | ImGuiHoveredFlags_NoNavOverride | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayMask_, +}; + +// Extend ImGuiInputTextFlags_ +enum ImGuiInputTextFlagsPrivate_ +{ + // [Internal] + ImGuiInputTextFlags_Multiline = 1 << 26, // For internal use by InputTextMultiline() + ImGuiInputTextFlags_MergedItem = 1 << 27, // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. + ImGuiInputTextFlags_LocalizeDecimalPoint= 1 << 28, // For internal use by InputScalar() and TempInputScalar() +}; + +// Extend ImGuiButtonFlags_ +enum ImGuiButtonFlagsPrivate_ +{ + ImGuiButtonFlags_PressedOnClick = 1 << 4, // return true on click (mouse down event) + ImGuiButtonFlags_PressedOnClickRelease = 1 << 5, // [Default] return true on click + release on same item <-- this is what the majority of Button are using + ImGuiButtonFlags_PressedOnClickReleaseAnywhere = 1 << 6, // return true on click + release even if the release event is not done while hovering the item + ImGuiButtonFlags_PressedOnRelease = 1 << 7, // return true on release (default requires click+release) + ImGuiButtonFlags_PressedOnDoubleClick = 1 << 8, // return true on double-click (default requires click+release) + ImGuiButtonFlags_PressedOnDragDropHold = 1 << 9, // return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers) + //ImGuiButtonFlags_Repeat = 1 << 10, // hold to repeat -> use ImGuiItemFlags_ButtonRepeat instead. + ImGuiButtonFlags_FlattenChildren = 1 << 11, // allow interactions even if a child window is overlapping + ImGuiButtonFlags_AllowOverlap = 1 << 12, // require previous frame HoveredId to either match id or be null before being usable. + //ImGuiButtonFlags_DontClosePopups = 1 << 13, // disable automatically closing parent popup on press + //ImGuiButtonFlags_Disabled = 1 << 14, // disable interactions -> use BeginDisabled() or ImGuiItemFlags_Disabled + ImGuiButtonFlags_AlignTextBaseLine = 1 << 15, // vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine + ImGuiButtonFlags_NoKeyModsAllowed = 1 << 16, // disable mouse interaction if a key modifier is held + ImGuiButtonFlags_NoHoldingActiveId = 1 << 17, // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only) + ImGuiButtonFlags_NoNavFocus = 1 << 18, // don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags) + ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19, // don't report as hovered when nav focus is on this item + ImGuiButtonFlags_NoSetKeyOwner = 1 << 20, // don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) + ImGuiButtonFlags_NoTestKeyOwner = 1 << 21, // don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) + ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold, + ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease, +}; + +// Extend ImGuiComboFlags_ +enum ImGuiComboFlagsPrivate_ +{ + ImGuiComboFlags_CustomPreview = 1 << 20, // enable BeginComboPreview() +}; + +// Extend ImGuiSliderFlags_ +enum ImGuiSliderFlagsPrivate_ +{ + ImGuiSliderFlags_Vertical = 1 << 20, // Should this slider be orientated vertically? + ImGuiSliderFlags_ReadOnly = 1 << 21, // Consider using g.NextItemData.ItemFlags |= ImGuiItemFlags_ReadOnly instead. +}; + +// Extend ImGuiSelectableFlags_ +enum ImGuiSelectableFlagsPrivate_ +{ + // NB: need to be in sync with last value of ImGuiSelectableFlags_ + ImGuiSelectableFlags_NoHoldingActiveID = 1 << 20, + ImGuiSelectableFlags_SelectOnNav = 1 << 21, // (WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API. + ImGuiSelectableFlags_SelectOnClick = 1 << 22, // Override button behavior to react on Click (default is Click+Release) + ImGuiSelectableFlags_SelectOnRelease = 1 << 23, // Override button behavior to react on Release (default is Click+Release) + ImGuiSelectableFlags_SpanAvailWidth = 1 << 24, // Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus) + ImGuiSelectableFlags_SetNavIdOnHover = 1 << 25, // Set Nav/Focus ID on mouse hover (used by MenuItem) + ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 26, // Disable padding each side with ItemSpacing * 0.5f + ImGuiSelectableFlags_NoSetKeyOwner = 1 << 27, // Don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) +}; + +// Extend ImGuiTreeNodeFlags_ +enum ImGuiTreeNodeFlagsPrivate_ +{ + ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 28,// FIXME-WIP: Hard-coded for CollapsingHeader() + ImGuiTreeNodeFlags_UpsideDownArrow = 1 << 29,// FIXME-WIP: Turn Down arrow into an Up arrow, for reversed trees (#6517) + ImGuiTreeNodeFlags_OpenOnMask_ = ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow, +}; + +enum ImGuiSeparatorFlags_ +{ + ImGuiSeparatorFlags_None = 0, + ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar + ImGuiSeparatorFlags_Vertical = 1 << 1, + ImGuiSeparatorFlags_SpanAllColumns = 1 << 2, // Make separator cover all columns of a legacy Columns() set. +}; + +// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags. +// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf() +// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in. +enum ImGuiFocusRequestFlags_ +{ + ImGuiFocusRequestFlags_None = 0, + ImGuiFocusRequestFlags_RestoreFocusedChild = 1 << 0, // Find last focused child (if any) and focus it instead. + ImGuiFocusRequestFlags_UnlessBelowModal = 1 << 1, // Do not set focus if the window is below a modal. +}; + +enum ImGuiTextFlags_ +{ + ImGuiTextFlags_None = 0, + ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0, +}; + +enum ImGuiTooltipFlags_ +{ + ImGuiTooltipFlags_None = 0, + ImGuiTooltipFlags_OverridePrevious = 1 << 1, // Clear/ignore previously submitted tooltip (defaults to append) +}; + +// FIXME: this is in development, not exposed/functional as a generic feature yet. +// Horizontal/Vertical enums are fixed to 0/1 so they may be used to index ImVec2 +enum ImGuiLayoutType_ +{ + ImGuiLayoutType_Horizontal = 0, + ImGuiLayoutType_Vertical = 1 +}; + +// Flags for LogBegin() text capturing function +enum ImGuiLogFlags_ +{ + ImGuiLogFlags_None = 0, + + ImGuiLogFlags_OutputTTY = 1 << 0, + ImGuiLogFlags_OutputFile = 1 << 1, + ImGuiLogFlags_OutputBuffer = 1 << 2, + ImGuiLogFlags_OutputClipboard = 1 << 3, + ImGuiLogFlags_OutputMask_ = ImGuiLogFlags_OutputTTY | ImGuiLogFlags_OutputFile | ImGuiLogFlags_OutputBuffer | ImGuiLogFlags_OutputClipboard, +}; + +// X/Y enums are fixed to 0/1 so they may be used to index ImVec2 +enum ImGuiAxis +{ + ImGuiAxis_None = -1, + ImGuiAxis_X = 0, + ImGuiAxis_Y = 1 +}; + +enum ImGuiPlotType +{ + ImGuiPlotType_Lines, + ImGuiPlotType_Histogram, +}; + +// Storage data for BeginComboPreview()/EndComboPreview() +struct IMGUI_API ImGuiComboPreviewData +{ + ImRect PreviewRect; + ImVec2 BackupCursorPos; + ImVec2 BackupCursorMaxPos; + ImVec2 BackupCursorPosPrevLine; + float BackupPrevLineTextBaseOffset; + ImGuiLayoutType BackupLayout; + + ImGuiComboPreviewData() { memset(this, 0, sizeof(*this)); } +}; + +// Stacked storage data for BeginGroup()/EndGroup() +struct IMGUI_API ImGuiGroupData +{ + ImGuiID WindowID; + ImVec2 BackupCursorPos; + ImVec2 BackupCursorMaxPos; + ImVec2 BackupCursorPosPrevLine; + ImVec1 BackupIndent; + ImVec1 BackupGroupOffset; + ImVec2 BackupCurrLineSize; + float BackupCurrLineTextBaseOffset; + ImGuiID BackupActiveIdIsAlive; + bool BackupDeactivatedIdIsAlive; + bool BackupHoveredIdIsAlive; + bool BackupIsSameLine; + bool EmitItem; +}; + +// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away code and NOT a generic helper. +struct IMGUI_API ImGuiMenuColumns +{ + ImU32 TotalWidth; + ImU32 NextTotalWidth; + ImU16 Spacing; + ImU16 OffsetIcon; // Always zero for now + ImU16 OffsetLabel; // Offsets are locked in Update() + ImU16 OffsetShortcut; + ImU16 OffsetMark; + ImU16 Widths[4]; // Width of: Icon, Label, Shortcut, Mark (accumulators for current frame) + + ImGuiMenuColumns() { memset(this, 0, sizeof(*this)); } + void Update(float spacing, bool window_reappearing); + float DeclColumns(float w_icon, float w_label, float w_shortcut, float w_mark); + void CalcNextTotalWidth(bool update_offsets); +}; + +// Internal temporary state for deactivating InputText() instances. +struct IMGUI_API ImGuiInputTextDeactivatedState +{ + ImGuiID ID; // widget id owning the text state (which just got deactivated) + ImVector TextA; // text buffer + + ImGuiInputTextDeactivatedState() { memset(this, 0, sizeof(*this)); } + void ClearFreeMemory() { ID = 0; TextA.clear(); } +}; + +// Forward declare imstb_textedit.h structure + make its main configuration define accessible +#undef IMSTB_TEXTEDIT_STRING +#undef IMSTB_TEXTEDIT_CHARTYPE +#define IMSTB_TEXTEDIT_STRING ImGuiInputTextState +#define IMSTB_TEXTEDIT_CHARTYPE char +#define IMSTB_TEXTEDIT_GETWIDTH_NEWLINE (-1.0f) +#define IMSTB_TEXTEDIT_UNDOSTATECOUNT 99 +#define IMSTB_TEXTEDIT_UNDOCHARCOUNT 999 +namespace ImStb { struct STB_TexteditState; } +typedef ImStb::STB_TexteditState ImStbTexteditState; + +// Internal state of the currently focused/edited text input box +// For a given item ID, access with ImGui::GetInputTextState() +struct IMGUI_API ImGuiInputTextState +{ + ImGuiContext* Ctx; // parent UI context (needs to be set explicitly by parent). + ImStbTexteditState* Stb; // State for stb_textedit.h + ImGuiInputTextFlags Flags; // copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set. + ImGuiID ID; // widget id owning the text state + int TextLen; // UTF-8 length of the string in TextA (in bytes) + const char* TextSrc; // == TextA.Data unless read-only, in which case == buf passed to InputText(). Field only set and valid _inside_ the call InputText() call. + ImVector TextA; // main UTF8 buffer. TextA.Size is a buffer size! Should always be >= buf_size passed by user (and of course >= CurLenA + 1). + ImVector TextToRevertTo; // value to revert to when pressing Escape = backup of end-user buffer at the time of focus (in UTF-8, unaltered) + ImVector CallbackTextBackup; // temporary storage for callback to support automatic reconcile of undo-stack + int BufCapacity; // end-user buffer capacity (include zero terminator) + ImVec2 Scroll; // horizontal offset (managed manually) + vertical scrolling (pulled from child window's own Scroll.y) + float CursorAnim; // timer for cursor blink, reset on every user action so the cursor reappears immediately + bool CursorFollow; // set when we want scrolling to follow the current cursor position (not always!) + bool SelectedAllMouseLock; // after a double-click to select all, we ignore further mouse drags to update selection + bool Edited; // edited this frame + bool WantReloadUserBuf; // force a reload of user buf so it may be modified externally. may be automatic in future version. + int ReloadSelectionStart; + int ReloadSelectionEnd; + + ImGuiInputTextState(); + ~ImGuiInputTextState(); + void ClearText() { TextLen = 0; TextA[0] = 0; CursorClamp(); } + void ClearFreeMemory() { TextA.clear(); TextToRevertTo.clear(); } + void OnKeyPressed(int key); // Cannot be inline because we call in code in stb_textedit.h implementation + void OnCharPressed(unsigned int c); + + // Cursor & Selection + void CursorAnimReset(); + void CursorClamp(); + bool HasSelection() const; + void ClearSelection(); + int GetCursorPos() const; + int GetSelectionStart() const; + int GetSelectionEnd() const; + void SelectAll(); + + // Reload user buf (WIP #2890) + // If you modify underlying user-passed const char* while active you need to call this (InputText V2 may lift this) + // strcpy(my_buf, "hello"); + // if (ImGuiInputTextState* state = ImGui::GetInputTextState(id)) // id may be ImGui::GetItemID() is last item + // state->ReloadUserBufAndSelectAll(); + void ReloadUserBufAndSelectAll(); + void ReloadUserBufAndKeepSelection(); + void ReloadUserBufAndMoveToEnd(); +}; + +enum ImGuiWindowRefreshFlags_ +{ + ImGuiWindowRefreshFlags_None = 0, + ImGuiWindowRefreshFlags_TryToAvoidRefresh = 1 << 0, // [EXPERIMENTAL] Try to keep existing contents, USER MUST NOT HONOR BEGIN() RETURNING FALSE AND NOT APPEND. + ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1, // [EXPERIMENTAL] Always refresh on hover + ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2, // [EXPERIMENTAL] Always refresh on focus + // Refresh policy/frequency, Load Balancing etc. +}; + +enum ImGuiNextWindowDataFlags_ +{ + ImGuiNextWindowDataFlags_None = 0, + ImGuiNextWindowDataFlags_HasPos = 1 << 0, + ImGuiNextWindowDataFlags_HasSize = 1 << 1, + ImGuiNextWindowDataFlags_HasContentSize = 1 << 2, + ImGuiNextWindowDataFlags_HasCollapsed = 1 << 3, + ImGuiNextWindowDataFlags_HasSizeConstraint = 1 << 4, + ImGuiNextWindowDataFlags_HasFocus = 1 << 5, + ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6, + ImGuiNextWindowDataFlags_HasScroll = 1 << 7, + ImGuiNextWindowDataFlags_HasWindowFlags = 1 << 8, + ImGuiNextWindowDataFlags_HasChildFlags = 1 << 9, + ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 10, +}; + +// Storage for SetNexWindow** functions +struct ImGuiNextWindowData +{ + ImGuiNextWindowDataFlags HasFlags; + + // Members below are NOT cleared. Always rely on HasFlags. + ImGuiCond PosCond; + ImGuiCond SizeCond; + ImGuiCond CollapsedCond; + ImVec2 PosVal; + ImVec2 PosPivotVal; + ImVec2 SizeVal; + ImVec2 ContentSizeVal; + ImVec2 ScrollVal; + ImGuiWindowFlags WindowFlags; // Only honored by BeginTable() + ImGuiChildFlags ChildFlags; + bool CollapsedVal; + ImRect SizeConstraintRect; + ImGuiSizeCallback SizeCallback; + void* SizeCallbackUserData; + float BgAlphaVal; // Override background alpha + ImVec2 MenuBarOffsetMinVal; // (Always on) This is not exposed publicly, so we don't clear it and it doesn't have a corresponding flag (could we? for consistency?) + ImGuiWindowRefreshFlags RefreshFlagsVal; + + ImGuiNextWindowData() { memset(this, 0, sizeof(*this)); } + inline void ClearFlags() { HasFlags = ImGuiNextWindowDataFlags_None; } +}; + +enum ImGuiNextItemDataFlags_ +{ + ImGuiNextItemDataFlags_None = 0, + ImGuiNextItemDataFlags_HasWidth = 1 << 0, + ImGuiNextItemDataFlags_HasOpen = 1 << 1, + ImGuiNextItemDataFlags_HasShortcut = 1 << 2, + ImGuiNextItemDataFlags_HasRefVal = 1 << 3, + ImGuiNextItemDataFlags_HasStorageID = 1 << 4, +}; + +struct ImGuiNextItemData +{ + ImGuiNextItemDataFlags HasFlags; // Called HasFlags instead of Flags to avoid mistaking this + ImGuiItemFlags ItemFlags; // Currently only tested/used for ImGuiItemFlags_AllowOverlap and ImGuiItemFlags_HasSelectionUserData. + + // Members below are NOT cleared by ItemAdd() meaning they are still valid during e.g. NavProcessItem(). Always rely on HasFlags. + ImGuiID FocusScopeId; // Set by SetNextItemSelectionUserData() + ImGuiSelectionUserData SelectionUserData; // Set by SetNextItemSelectionUserData() (note that NULL/0 is a valid value, we use -1 == ImGuiSelectionUserData_Invalid to mark invalid values) + float Width; // Set by SetNextItemWidth() + ImGuiKeyChord Shortcut; // Set by SetNextItemShortcut() + ImGuiInputFlags ShortcutFlags; // Set by SetNextItemShortcut() + bool OpenVal; // Set by SetNextItemOpen() + ImU8 OpenCond; // Set by SetNextItemOpen() + ImGuiDataTypeStorage RefVal; // Not exposed yet, for ImGuiInputTextFlags_ParseEmptyAsRefVal + ImGuiID StorageId; // Set by SetNextItemStorageID() + + ImGuiNextItemData() { memset(this, 0, sizeof(*this)); SelectionUserData = -1; } + inline void ClearFlags() { HasFlags = ImGuiNextItemDataFlags_None; ItemFlags = ImGuiItemFlags_None; } // Also cleared manually by ItemAdd()! +}; + +// Status storage for the last submitted item +struct ImGuiLastItemData +{ + ImGuiID ID; + ImGuiItemFlags ItemFlags; // See ImGuiItemFlags_ (called 'InFlags' before v1.91.4). + ImGuiItemStatusFlags StatusFlags; // See ImGuiItemStatusFlags_ + ImRect Rect; // Full rectangle + ImRect NavRect; // Navigation scoring rectangle (not displayed) + // Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags are set. + ImRect DisplayRect; // Display rectangle. ONLY VALID IF (StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) is set. + ImRect ClipRect; // Clip rectangle at the time of submitting item. ONLY VALID IF (StatusFlags & ImGuiItemStatusFlags_HasClipRect) is set.. + ImGuiKeyChord Shortcut; // Shortcut at the time of submitting item. ONLY VALID IF (StatusFlags & ImGuiItemStatusFlags_HasShortcut) is set.. + + ImGuiLastItemData() { memset(this, 0, sizeof(*this)); } +}; + +// Store data emitted by TreeNode() for usage by TreePop() +// - To implement ImGuiTreeNodeFlags_NavLeftJumpsBackHere: store the minimum amount of data +// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult(). +// Only stored when the node is a potential candidate for landing on a Left arrow jump. +struct ImGuiTreeNodeStackData +{ + ImGuiID ID; + ImGuiTreeNodeFlags TreeFlags; + ImGuiItemFlags ItemFlags; // Used for nav landing + ImRect NavRect; // Used for nav landing +}; + +// sizeof() = 20 +struct IMGUI_API ImGuiErrorRecoveryState +{ + short SizeOfWindowStack; + short SizeOfIDStack; + short SizeOfTreeStack; + short SizeOfColorStack; + short SizeOfStyleVarStack; + short SizeOfFontStack; + short SizeOfFocusScopeStack; + short SizeOfGroupStack; + short SizeOfItemFlagsStack; + short SizeOfBeginPopupStack; + short SizeOfDisabledStack; + + ImGuiErrorRecoveryState() { memset(this, 0, sizeof(*this)); } +}; + +// Data saved for each window pushed into the stack +struct ImGuiWindowStackData +{ + ImGuiWindow* Window; + ImGuiLastItemData ParentLastItemDataBackup; + ImGuiErrorRecoveryState StackSizesInBegin; // Store size of various stacks for asserting + bool DisabledOverrideReenable; // Non-child window override disabled flag +}; + +struct ImGuiShrinkWidthItem +{ + int Index; + float Width; + float InitialWidth; +}; + +struct ImGuiPtrOrIndex +{ + void* Ptr; // Either field can be set, not both. e.g. Dock node tab bars are loose while BeginTabBar() ones are in a pool. + int Index; // Usually index in a main pool. + + ImGuiPtrOrIndex(void* ptr) { Ptr = ptr; Index = -1; } + ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; } +}; + +// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions +struct ImGuiDeactivatedItemData +{ + ImGuiID ID; + int ElapseFrame; + bool HasBeenEditedBefore; + bool IsAlive; +}; + +//----------------------------------------------------------------------------- +// [SECTION] Popup support +//----------------------------------------------------------------------------- + +enum ImGuiPopupPositionPolicy +{ + ImGuiPopupPositionPolicy_Default, + ImGuiPopupPositionPolicy_ComboBox, + ImGuiPopupPositionPolicy_Tooltip, +}; + +// Storage for popup stacks (g.OpenPopupStack and g.BeginPopupStack) +struct ImGuiPopupData +{ + ImGuiID PopupId; // Set on OpenPopup() + ImGuiWindow* Window; // Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup() + ImGuiWindow* RestoreNavWindow;// Set on OpenPopup(), a NavWindow that will be restored on popup close + int ParentNavLayer; // Resolved on BeginPopup(). Actually a ImGuiNavLayer type (declared down below), initialized to -1 which is not part of an enum, but serves well-enough as "not any of layers" value + int OpenFrameCount; // Set on OpenPopup() + ImGuiID OpenParentId; // Set on OpenPopup(), we need this to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items) + ImVec2 OpenPopupPos; // Set on OpenPopup(), preferred popup position (typically == OpenMousePos when using mouse) + ImVec2 OpenMousePos; // Set on OpenPopup(), copy of mouse position at the time of opening popup + + ImGuiPopupData() { memset(this, 0, sizeof(*this)); ParentNavLayer = OpenFrameCount = -1; } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Inputs support +//----------------------------------------------------------------------------- + +// Bit array for named keys +typedef ImBitArray ImBitArrayForNamedKeys; + +// [Internal] Key ranges +#define ImGuiKey_LegacyNativeKey_BEGIN 0 +#define ImGuiKey_LegacyNativeKey_END 512 +#define ImGuiKey_Keyboard_BEGIN (ImGuiKey_NamedKey_BEGIN) +#define ImGuiKey_Keyboard_END (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_BEGIN (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_END (ImGuiKey_GamepadRStickDown + 1) +#define ImGuiKey_Mouse_BEGIN (ImGuiKey_MouseLeft) +#define ImGuiKey_Mouse_END (ImGuiKey_MouseWheelY + 1) +#define ImGuiKey_Aliases_BEGIN (ImGuiKey_Mouse_BEGIN) +#define ImGuiKey_Aliases_END (ImGuiKey_Mouse_END) + +// [Internal] Named shortcuts for Navigation +#define ImGuiKey_NavKeyboardTweakSlow ImGuiMod_Ctrl +#define ImGuiKey_NavKeyboardTweakFast ImGuiMod_Shift +#define ImGuiKey_NavGamepadTweakSlow ImGuiKey_GamepadL1 +#define ImGuiKey_NavGamepadTweakFast ImGuiKey_GamepadR1 +#define ImGuiKey_NavGamepadActivate (g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown) +#define ImGuiKey_NavGamepadCancel (g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight) +#define ImGuiKey_NavGamepadMenu ImGuiKey_GamepadFaceLeft +#define ImGuiKey_NavGamepadInput ImGuiKey_GamepadFaceUp + +enum ImGuiInputEventType +{ + ImGuiInputEventType_None = 0, + ImGuiInputEventType_MousePos, + ImGuiInputEventType_MouseWheel, + ImGuiInputEventType_MouseButton, + ImGuiInputEventType_Key, + ImGuiInputEventType_Text, + ImGuiInputEventType_Focus, + ImGuiInputEventType_COUNT +}; + +enum ImGuiInputSource +{ + ImGuiInputSource_None = 0, + ImGuiInputSource_Mouse, // Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them. + ImGuiInputSource_Keyboard, + ImGuiInputSource_Gamepad, + ImGuiInputSource_COUNT +}; + +// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? +// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' +struct ImGuiInputEventMousePos { float PosX, PosY; ImGuiMouseSource MouseSource; }; +struct ImGuiInputEventMouseWheel { float WheelX, WheelY; ImGuiMouseSource MouseSource; }; +struct ImGuiInputEventMouseButton { int Button; bool Down; ImGuiMouseSource MouseSource; }; +struct ImGuiInputEventKey { ImGuiKey Key; bool Down; float AnalogValue; }; +struct ImGuiInputEventText { unsigned int Char; }; +struct ImGuiInputEventAppFocused { bool Focused; }; + +struct ImGuiInputEvent +{ + ImGuiInputEventType Type; + ImGuiInputSource Source; + ImU32 EventId; // Unique, sequential increasing integer to identify an event (if you need to correlate them to other data). + union + { + ImGuiInputEventMousePos MousePos; // if Type == ImGuiInputEventType_MousePos + ImGuiInputEventMouseWheel MouseWheel; // if Type == ImGuiInputEventType_MouseWheel + ImGuiInputEventMouseButton MouseButton; // if Type == ImGuiInputEventType_MouseButton + ImGuiInputEventKey Key; // if Type == ImGuiInputEventType_Key + ImGuiInputEventText Text; // if Type == ImGuiInputEventType_Text + ImGuiInputEventAppFocused AppFocused; // if Type == ImGuiInputEventType_Focus + }; + bool AddedByTestEngine; + + ImGuiInputEvent() { memset(this, 0, sizeof(*this)); } +}; + +// Input function taking an 'ImGuiID owner_id' argument defaults to (ImGuiKeyOwner_Any == 0) aka don't test ownership, which matches legacy behavior. +#define ImGuiKeyOwner_Any ((ImGuiID)0) // Accept key that have an owner, UNLESS a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. +#define ImGuiKeyOwner_NoOwner ((ImGuiID)-1) // Require key to have no owner. +//#define ImGuiKeyOwner_None ImGuiKeyOwner_NoOwner // We previously called this 'ImGuiKeyOwner_None' but it was inconsistent with our pattern that _None values == 0 and quite dangerous. Also using _NoOwner makes the IsKeyPressed() calls more explicit. + +typedef ImS16 ImGuiKeyRoutingIndex; + +// Routing table entry (sizeof() == 16 bytes) +struct ImGuiKeyRoutingData +{ + ImGuiKeyRoutingIndex NextEntryIndex; + ImU16 Mods; // Technically we'd only need 4-bits but for simplify we store ImGuiMod_ values which need 16-bits. + ImU8 RoutingCurrScore; // [DEBUG] For debug display + ImU8 RoutingNextScore; // Lower is better (0: perfect score) + ImGuiID RoutingCurr; + ImGuiID RoutingNext; + + ImGuiKeyRoutingData() { NextEntryIndex = -1; Mods = 0; RoutingCurrScore = RoutingNextScore = 255; RoutingCurr = RoutingNext = ImGuiKeyOwner_NoOwner; } +}; + +// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. +// Stored in main context (1 instance) +struct ImGuiKeyRoutingTable +{ + ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]; // Index of first entry in Entries[] + ImVector Entries; + ImVector EntriesNext; // Double-buffer to avoid reallocation (could use a shared buffer) + + ImGuiKeyRoutingTable() { Clear(); } + void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Index); n++) Index[n] = -1; Entries.clear(); EntriesNext.clear(); } +}; + +// This extends ImGuiKeyData but only for named keys (legacy keys don't support the new features) +// Stored in main context (1 per named key). In the future it might be merged into ImGuiKeyData. +struct ImGuiKeyOwnerData +{ + ImGuiID OwnerCurr; + ImGuiID OwnerNext; + bool LockThisFrame; // Reading this key requires explicit owner id (until end of frame). Set by ImGuiInputFlags_LockThisFrame. + bool LockUntilRelease; // Reading this key requires explicit owner id (until key is released). Set by ImGuiInputFlags_LockUntilRelease. When this is true LockThisFrame is always true as well. + + ImGuiKeyOwnerData() { OwnerCurr = OwnerNext = ImGuiKeyOwner_NoOwner; LockThisFrame = LockUntilRelease = false; } +}; + +// Extend ImGuiInputFlags_ +// Flags for extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() +// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function) +enum ImGuiInputFlagsPrivate_ +{ + // Flags for IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(), Shortcut() + // - Repeat mode: Repeat rate selection + ImGuiInputFlags_RepeatRateDefault = 1 << 1, // Repeat rate: Regular (default) + ImGuiInputFlags_RepeatRateNavMove = 1 << 2, // Repeat rate: Fast + ImGuiInputFlags_RepeatRateNavTweak = 1 << 3, // Repeat rate: Faster + // - Repeat mode: Specify when repeating key pressed can be interrupted. + // - In theory ImGuiInputFlags_RepeatUntilOtherKeyPress may be a desirable default, but it would break too many behavior so everything is opt-in. + ImGuiInputFlags_RepeatUntilRelease = 1 << 4, // Stop repeating when released (default for all functions except Shortcut). This only exists to allow overriding Shortcut() default behavior. + ImGuiInputFlags_RepeatUntilKeyModsChange = 1 << 5, // Stop repeating when released OR if keyboard mods are changed (default for Shortcut) + ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone = 1 << 6, // Stop repeating when released OR if keyboard mods are leaving the None state. Allows going from Mod+Key to Key by releasing Mod. + ImGuiInputFlags_RepeatUntilOtherKeyPress = 1 << 7, // Stop repeating when released OR if any other keyboard key is pressed during the repeat + + // Flags for SetKeyOwner(), SetItemKeyOwner() + // - Locking key away from non-input aware code. Locking is useful to make input-owner-aware code steal keys from non-input-owner-aware code. If all code is input-owner-aware locking would never be necessary. + ImGuiInputFlags_LockThisFrame = 1 << 20, // Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared at end of frame. + ImGuiInputFlags_LockUntilRelease = 1 << 21, // Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared when the key is released or at end of each frame if key is released. + + // - Condition for SetItemKeyOwner() + ImGuiInputFlags_CondHovered = 1 << 22, // Only set if item is hovered (default to both) + ImGuiInputFlags_CondActive = 1 << 23, // Only set if item is active (default to both) + ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + + // [Internal] Mask of which function support which flags + ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak, + ImGuiInputFlags_RepeatUntilMask_ = ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress, + ImGuiInputFlags_RepeatMask_ = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_, + ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + ImGuiInputFlags_RouteTypeMask_ = ImGuiInputFlags_RouteActive | ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteAlways, + ImGuiInputFlags_RouteOptionsMask_ = ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused | ImGuiInputFlags_RouteFromRootWindow, + ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_RepeatMask_, + ImGuiInputFlags_SupportedByIsMouseClicked = ImGuiInputFlags_Repeat, + ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_, + ImGuiInputFlags_SupportedBySetNextItemShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_ | ImGuiInputFlags_Tooltip, + ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease, + ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_, +}; + +//----------------------------------------------------------------------------- +// [SECTION] Clipper support +//----------------------------------------------------------------------------- + +// Note that Max is exclusive, so perhaps should be using a Begin/End convention. +struct ImGuiListClipperRange +{ + int Min; + int Max; + bool PosToIndexConvert; // Begin/End are absolute position (will be converted to indices later) + ImS8 PosToIndexOffsetMin; // Add to Min after converting to indices + ImS8 PosToIndexOffsetMax; // Add to Min after converting to indices + + static ImGuiListClipperRange FromIndices(int min, int max) { ImGuiListClipperRange r = { min, max, false, 0, 0 }; return r; } + static ImGuiListClipperRange FromPositions(float y1, float y2, int off_min, int off_max) { ImGuiListClipperRange r = { (int)y1, (int)y2, true, (ImS8)off_min, (ImS8)off_max }; return r; } +}; + +// Temporary clipper data, buffers shared/reused between instances +struct ImGuiListClipperData +{ + ImGuiListClipper* ListClipper; + float LossynessOffset; + int StepNo; + int ItemsFrozen; + ImVector Ranges; + + ImGuiListClipperData() { memset(this, 0, sizeof(*this)); } + void Reset(ImGuiListClipper* clipper) { ListClipper = clipper; StepNo = ItemsFrozen = 0; Ranges.resize(0); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Navigation support +//----------------------------------------------------------------------------- + +enum ImGuiActivateFlags_ +{ + ImGuiActivateFlags_None = 0, + ImGuiActivateFlags_PreferInput = 1 << 0, // Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default for Enter key. + ImGuiActivateFlags_PreferTweak = 1 << 1, // Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default for Space key and if keyboard is not used. + ImGuiActivateFlags_TryToPreserveState = 1 << 2, // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) + ImGuiActivateFlags_FromTabbing = 1 << 3, // Activation requested by a tabbing request + ImGuiActivateFlags_FromShortcut = 1 << 4, // Activation requested by an item shortcut via SetNextItemShortcut() function. +}; + +// Early work-in-progress API for ScrollToItem() +enum ImGuiScrollFlags_ +{ + ImGuiScrollFlags_None = 0, + ImGuiScrollFlags_KeepVisibleEdgeX = 1 << 0, // If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis] + ImGuiScrollFlags_KeepVisibleEdgeY = 1 << 1, // If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible] + ImGuiScrollFlags_KeepVisibleCenterX = 1 << 2, // If item is not visible: scroll to make the item centered on X axis [rarely used] + ImGuiScrollFlags_KeepVisibleCenterY = 1 << 3, // If item is not visible: scroll to make the item centered on Y axis + ImGuiScrollFlags_AlwaysCenterX = 1 << 4, // Always center the result item on X axis [rarely used] + ImGuiScrollFlags_AlwaysCenterY = 1 << 5, // Always center the result item on Y axis [default for Y axis for appearing window) + ImGuiScrollFlags_NoScrollParent = 1 << 6, // Disable forwarding scrolling to parent window if required to keep item/rect visible (only scroll window the function was applied to). + ImGuiScrollFlags_MaskX_ = ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX, + ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY, +}; + +enum ImGuiNavRenderCursorFlags_ +{ + ImGuiNavRenderCursorFlags_None = 0, + ImGuiNavRenderCursorFlags_Compact = 1 << 1, // Compact highlight, no padding/distance from focused item + ImGuiNavRenderCursorFlags_AlwaysDraw = 1 << 2, // Draw rectangular highlight if (g.NavId == id) even when g.NavCursorVisible == false, aka even when using the mouse. + ImGuiNavRenderCursorFlags_NoRounding = 1 << 3, +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiNavHighlightFlags_None = ImGuiNavRenderCursorFlags_None, // Renamed in 1.91.4 + ImGuiNavHighlightFlags_Compact = ImGuiNavRenderCursorFlags_Compact, // Renamed in 1.91.4 + ImGuiNavHighlightFlags_AlwaysDraw = ImGuiNavRenderCursorFlags_AlwaysDraw, // Renamed in 1.91.4 + ImGuiNavHighlightFlags_NoRounding = ImGuiNavRenderCursorFlags_NoRounding, // Renamed in 1.91.4 +#endif +}; + +enum ImGuiNavMoveFlags_ +{ + ImGuiNavMoveFlags_None = 0, + ImGuiNavMoveFlags_LoopX = 1 << 0, // On failed request, restart from opposite side + ImGuiNavMoveFlags_LoopY = 1 << 1, + ImGuiNavMoveFlags_WrapX = 1 << 2, // On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left) + ImGuiNavMoveFlags_WrapY = 1 << 3, // This is not super useful but provided for completeness + ImGuiNavMoveFlags_WrapMask_ = ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapX | ImGuiNavMoveFlags_WrapY, + ImGuiNavMoveFlags_AllowCurrentNavId = 1 << 4, // Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place) + ImGuiNavMoveFlags_AlsoScoreVisibleSet = 1 << 5, // Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUp/PageDown) + ImGuiNavMoveFlags_ScrollToEdgeY = 1 << 6, // Force scrolling to min/max (used by Home/End) // FIXME-NAV: Aim to remove or reword, probably unnecessary + ImGuiNavMoveFlags_Forwarded = 1 << 7, + ImGuiNavMoveFlags_DebugNoResult = 1 << 8, // Dummy scoring for debug purpose, don't apply result + ImGuiNavMoveFlags_FocusApi = 1 << 9, // Requests from focus API can land/focus/activate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details) + ImGuiNavMoveFlags_IsTabbing = 1 << 10, // == Focus + Activate if item is Inputable + DontChangeNavHighlight + ImGuiNavMoveFlags_IsPageMove = 1 << 11, // Identify a PageDown/PageUp request. + ImGuiNavMoveFlags_Activate = 1 << 12, // Activate/select target item. + ImGuiNavMoveFlags_NoSelect = 1 << 13, // Don't trigger selection by not setting g.NavJustMovedTo + ImGuiNavMoveFlags_NoSetNavCursorVisible = 1 << 14, // Do not alter the nav cursor visible state + ImGuiNavMoveFlags_NoClearActiveId = 1 << 15, // (Experimental) Do not clear active id when applying move result +}; + +enum ImGuiNavLayer +{ + ImGuiNavLayer_Main = 0, // Main scrolling layer + ImGuiNavLayer_Menu = 1, // Menu layer (access with Alt) + ImGuiNavLayer_COUNT +}; + +// Storage for navigation query/results +struct ImGuiNavItemData +{ + ImGuiWindow* Window; // Init,Move // Best candidate window (result->ItemWindow->RootWindowForNav == request->Window) + ImGuiID ID; // Init,Move // Best candidate item ID + ImGuiID FocusScopeId; // Init,Move // Best candidate focus scope ID + ImRect RectRel; // Init,Move // Best candidate bounding box in window relative space + ImGuiItemFlags ItemFlags; // ????,Move // Best candidate item flags + float DistBox; // Move // Best candidate box distance to current NavId + float DistCenter; // Move // Best candidate center distance to current NavId + float DistAxial; // Move // Best candidate axial distance to current NavId + ImGuiSelectionUserData SelectionUserData;//I+Mov // Best candidate SetNextItemSelectionUserData() value. Valid if (ItemFlags & ImGuiItemFlags_HasSelectionUserData) + + ImGuiNavItemData() { Clear(); } + void Clear() { Window = NULL; ID = FocusScopeId = 0; ItemFlags = 0; SelectionUserData = -1; DistBox = DistCenter = DistAxial = FLT_MAX; } +}; + +// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[] +struct ImGuiFocusScopeData +{ + ImGuiID ID; + ImGuiID WindowID; +}; + +//----------------------------------------------------------------------------- +// [SECTION] Typing-select support +//----------------------------------------------------------------------------- + +// Flags for GetTypingSelectRequest() +enum ImGuiTypingSelectFlags_ +{ + ImGuiTypingSelectFlags_None = 0, + ImGuiTypingSelectFlags_AllowBackspace = 1 << 0, // Backspace to delete character inputs. If using: ensure GetTypingSelectRequest() is not called more than once per frame (filter by e.g. focus state) + ImGuiTypingSelectFlags_AllowSingleCharMode = 1 << 1, // Allow "single char" search mode which is activated when pressing the same character multiple times. +}; + +// Returned by GetTypingSelectRequest(), designed to eventually be public. +struct IMGUI_API ImGuiTypingSelectRequest +{ + ImGuiTypingSelectFlags Flags; // Flags passed to GetTypingSelectRequest() + int SearchBufferLen; + const char* SearchBuffer; // Search buffer contents (use full string. unless SingleCharMode is set, in which case use SingleCharSize). + bool SelectRequest; // Set when buffer was modified this frame, requesting a selection. + bool SingleCharMode; // Notify when buffer contains same character repeated, to implement special mode. In this situation it preferred to not display any on-screen search indication. + ImS8 SingleCharSize; // Length in bytes of first letter codepoint (1 for ascii, 2-4 for UTF-8). If (SearchBufferLen==RepeatCharSize) only 1 letter has been input. +}; + +// Storage for GetTypingSelectRequest() +struct IMGUI_API ImGuiTypingSelectState +{ + ImGuiTypingSelectRequest Request; // User-facing data + char SearchBuffer[64]; // Search buffer: no need to make dynamic as this search is very transient. + ImGuiID FocusScope; + int LastRequestFrame = 0; + float LastRequestTime = 0.0f; + bool SingleCharModeLock = false; // After a certain single char repeat count we lock into SingleCharMode. Two benefits: 1) buffer never fill, 2) we can provide an immediate SingleChar mode without timer elapsing. + + ImGuiTypingSelectState() { memset(this, 0, sizeof(*this)); } + void Clear() { SearchBuffer[0] = 0; SingleCharModeLock = false; } // We preserve remaining data for easier debugging +}; + +//----------------------------------------------------------------------------- +// [SECTION] Columns support +//----------------------------------------------------------------------------- + +// Flags for internal's BeginColumns(). This is an obsolete API. Prefer using BeginTable() nowadays! +enum ImGuiOldColumnFlags_ +{ + ImGuiOldColumnFlags_None = 0, + ImGuiOldColumnFlags_NoBorder = 1 << 0, // Disable column dividers + ImGuiOldColumnFlags_NoResize = 1 << 1, // Disable resizing columns when clicking on the dividers + ImGuiOldColumnFlags_NoPreserveWidths = 1 << 2, // Disable column width preservation when adjusting columns + ImGuiOldColumnFlags_NoForceWithinWindow = 1 << 3, // Disable forcing columns to fit within window + ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4, // Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove. + + // Obsolete names (will be removed) +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + //ImGuiColumnsFlags_None = ImGuiOldColumnFlags_None, + //ImGuiColumnsFlags_NoBorder = ImGuiOldColumnFlags_NoBorder, + //ImGuiColumnsFlags_NoResize = ImGuiOldColumnFlags_NoResize, + //ImGuiColumnsFlags_NoPreserveWidths = ImGuiOldColumnFlags_NoPreserveWidths, + //ImGuiColumnsFlags_NoForceWithinWindow = ImGuiOldColumnFlags_NoForceWithinWindow, + //ImGuiColumnsFlags_GrowParentContentsSize = ImGuiOldColumnFlags_GrowParentContentsSize, +#endif +}; + +struct ImGuiOldColumnData +{ + float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right) + float OffsetNormBeforeResize; + ImGuiOldColumnFlags Flags; // Not exposed + ImRect ClipRect; + + ImGuiOldColumnData() { memset(this, 0, sizeof(*this)); } +}; + +struct ImGuiOldColumns +{ + ImGuiID ID; + ImGuiOldColumnFlags Flags; + bool IsFirstFrame; + bool IsBeingResized; + int Current; + int Count; + float OffMinX, OffMaxX; // Offsets from HostWorkRect.Min.x + float LineMinY, LineMaxY; + float HostCursorPosY; // Backup of CursorPos at the time of BeginColumns() + float HostCursorMaxPosX; // Backup of CursorMaxPos at the time of BeginColumns() + ImRect HostInitialClipRect; // Backup of ClipRect at the time of BeginColumns() + ImRect HostBackupClipRect; // Backup of ClipRect during PushColumnsBackground()/PopColumnsBackground() + ImRect HostBackupParentWorkRect;//Backup of WorkRect at the time of BeginColumns() + ImVector Columns; + ImDrawListSplitter Splitter; + + ImGuiOldColumns() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Box-select support +//----------------------------------------------------------------------------- + +struct ImGuiBoxSelectState +{ + // Active box-selection data (persistent, 1 active at a time) + ImGuiID ID; + bool IsActive; + bool IsStarting; + bool IsStartedFromVoid; // Starting click was not from an item. + bool IsStartedSetNavIdOnce; + bool RequestClear; + ImGuiKeyChord KeyMods : 16; // Latched key-mods for box-select logic. + ImVec2 StartPosRel; // Start position in window-contents relative space (to support scrolling) + ImVec2 EndPosRel; // End position in window-contents relative space + ImVec2 ScrollAccum; // Scrolling accumulator (to behave at high-frame spaces) + ImGuiWindow* Window; + + // Temporary/Transient data + bool UnclipMode; // (Temp/Transient, here in hot area). Set/cleared by the BeginMultiSelect()/EndMultiSelect() owning active box-select. + ImRect UnclipRect; // Rectangle where ItemAdd() clipping may be temporarily disabled. Need support by multi-select supporting widgets. + ImRect BoxSelectRectPrev; // Selection rectangle in absolute coordinates (derived every frame from BoxSelectStartPosRel and MousePos) + ImRect BoxSelectRectCurr; + + ImGuiBoxSelectState() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Multi-select support +//----------------------------------------------------------------------------- + +// We always assume that -1 is an invalid value (which works for indices and pointers) +#define ImGuiSelectionUserData_Invalid ((ImGuiSelectionUserData)-1) + +// Temporary storage for multi-select +struct IMGUI_API ImGuiMultiSelectTempData +{ + ImGuiMultiSelectIO IO; // MUST BE FIRST FIELD. Requests are set and returned by BeginMultiSelect()/EndMultiSelect() + written to by user during the loop. + ImGuiMultiSelectState* Storage; + ImGuiID FocusScopeId; // Copied from g.CurrentFocusScopeId (unless another selection scope was pushed manually) + ImGuiMultiSelectFlags Flags; + ImVec2 ScopeRectMin; + ImVec2 BackupCursorMaxPos; + ImGuiSelectionUserData LastSubmittedItem; // Copy of last submitted item data, used to merge output ranges. + ImGuiID BoxSelectId; + ImGuiKeyChord KeyMods; + ImS8 LoopRequestSetAll; // -1: no operation, 0: clear all, 1: select all. + bool IsEndIO; // Set when switching IO from BeginMultiSelect() to EndMultiSelect() state. + bool IsFocused; // Set if currently focusing the selection scope (any item of the selection). May be used if you have custom shortcut associated to selection. + bool IsKeyboardSetRange; // Set by BeginMultiSelect() when using Shift+Navigation. Because scrolling may be affected we can't afford a frame of lag with Shift+Navigation. + bool NavIdPassedBy; + bool RangeSrcPassedBy; // Set by the item that matches RangeSrcItem. + bool RangeDstPassedBy; // Set by the item that matches NavJustMovedToId when IsSetRange is set. + + ImGuiMultiSelectTempData() { Clear(); } + void Clear() { size_t io_sz = sizeof(IO); ClearIO(); memset((void*)(&IO + 1), 0, sizeof(*this) - io_sz); } // Zero-clear except IO as we preserve IO.Requests[] buffer allocation. + void ClearIO() { IO.Requests.resize(0); IO.RangeSrcItem = IO.NavIdItem = ImGuiSelectionUserData_Invalid; IO.NavIdSelected = IO.RangeSrcReset = false; } +}; + +// Persistent storage for multi-select (as long as selection is alive) +struct IMGUI_API ImGuiMultiSelectState +{ + ImGuiWindow* Window; + ImGuiID ID; + int LastFrameActive; // Last used frame-count, for GC. + int LastSelectionSize; // Set by BeginMultiSelect() based on optional info provided by user. May be -1 if unknown. + ImS8 RangeSelected; // -1 (don't have) or true/false + ImS8 NavIdSelected; // -1 (don't have) or true/false + ImGuiSelectionUserData RangeSrcItem; // + ImGuiSelectionUserData NavIdItem; // SetNextItemSelectionUserData() value for NavId (if part of submitted items) + + ImGuiMultiSelectState() { Window = NULL; ID = 0; LastFrameActive = LastSelectionSize = 0; RangeSelected = NavIdSelected = -1; RangeSrcItem = NavIdItem = ImGuiSelectionUserData_Invalid; } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Docking support +//----------------------------------------------------------------------------- + +#ifdef IMGUI_HAS_DOCK +// +#endif // #ifdef IMGUI_HAS_DOCK + +//----------------------------------------------------------------------------- +// [SECTION] Viewport support +//----------------------------------------------------------------------------- + +// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!) +// Every instance of ImGuiViewport is in fact a ImGuiViewportP. +struct ImGuiViewportP : public ImGuiViewport +{ + int BgFgDrawListsLastFrame[2]; // Last frame number the background (0) and foreground (1) draw lists were used + ImDrawList* BgFgDrawLists[2]; // Convenience background (0) and foreground (1) draw lists. We use them to draw software mouser cursor when io.MouseDrawCursor is set and to draw most debug overlays. + ImDrawData DrawDataP; + ImDrawDataBuilder DrawDataBuilder; // Temporary data while building final ImDrawData + + // Per-viewport work area + // - Insets are >= 0.0f values, distance from viewport corners to work area. + // - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents. + // - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land. + ImVec2 WorkInsetMin; // Work Area inset locked for the frame. GetWorkRect() always fits within GetMainRect(). + ImVec2 WorkInsetMax; // " + ImVec2 BuildWorkInsetMin; // Work Area inset accumulator for current frame, to become next frame's WorkInset + ImVec2 BuildWorkInsetMax; // " + + ImGuiViewportP() { BgFgDrawListsLastFrame[0] = BgFgDrawListsLastFrame[1] = -1; BgFgDrawLists[0] = BgFgDrawLists[1] = NULL; } + ~ImGuiViewportP() { if (BgFgDrawLists[0]) IM_DELETE(BgFgDrawLists[0]); if (BgFgDrawLists[1]) IM_DELETE(BgFgDrawLists[1]); } + + // Calculate work rect pos/size given a set of offset (we have 1 pair of offset for rect locked from last frame data, and 1 pair for currently building rect) + ImVec2 CalcWorkRectPos(const ImVec2& inset_min) const { return ImVec2(Pos.x + inset_min.x, Pos.y + inset_min.y); } + ImVec2 CalcWorkRectSize(const ImVec2& inset_min, const ImVec2& inset_max) const { return ImVec2(ImMax(0.0f, Size.x - inset_min.x - inset_max.x), ImMax(0.0f, Size.y - inset_min.y - inset_max.y)); } + void UpdateWorkRect() { WorkPos = CalcWorkRectPos(WorkInsetMin); WorkSize = CalcWorkRectSize(WorkInsetMin, WorkInsetMax); } // Update public fields + + // Helpers to retrieve ImRect (we don't need to store BuildWorkRect as every access tend to change it, hence the code asymmetry) + ImRect GetMainRect() const { return ImRect(Pos.x, Pos.y, Pos.x + Size.x, Pos.y + Size.y); } + ImRect GetWorkRect() const { return ImRect(WorkPos.x, WorkPos.y, WorkPos.x + WorkSize.x, WorkPos.y + WorkSize.y); } + ImRect GetBuildWorkRect() const { ImVec2 pos = CalcWorkRectPos(BuildWorkInsetMin); ImVec2 size = CalcWorkRectSize(BuildWorkInsetMin, BuildWorkInsetMax); return ImRect(pos.x, pos.y, pos.x + size.x, pos.y + size.y); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Settings support +//----------------------------------------------------------------------------- + +// Windows data saved in imgui.ini file +// Because we never destroy or rename ImGuiWindowSettings, we can store the names in a separate buffer easily. +// (this is designed to be stored in a ImChunkStream buffer, with the variable-length Name following our structure) +struct ImGuiWindowSettings +{ + ImGuiID ID; + ImVec2ih Pos; + ImVec2ih Size; + bool Collapsed; + bool IsChild; + bool WantApply; // Set when loaded from .ini data (to enable merging/loading .ini data into an already running context) + bool WantDelete; // Set to invalidate/delete the settings entry + + ImGuiWindowSettings() { memset(this, 0, sizeof(*this)); } + char* GetName() { return (char*)(this + 1); } +}; + +struct ImGuiSettingsHandler +{ + const char* TypeName; // Short description stored in .ini file. Disallowed characters: '[' ']' + ImGuiID TypeHash; // == ImHashStr(TypeName) + void (*ClearAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler); // Clear all settings data + void (*ReadInitFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler); // Read: Called before reading (in registration order) + void* (*ReadOpenFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, const char* name); // Read: Called when entering into a new ini entry e.g. "[Window][Name]" + void (*ReadLineFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, void* entry, const char* line); // Read: Called for every line of text within an ini entry + void (*ApplyAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler); // Read: Called after reading (in registration order) + void (*WriteAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* out_buf); // Write: Output every entries into 'out_buf' + void* UserData; + + ImGuiSettingsHandler() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Localization support +//----------------------------------------------------------------------------- + +// This is experimental and not officially supported, it'll probably fall short of features, if/when it does we may backtrack. +enum ImGuiLocKey : int +{ + ImGuiLocKey_VersionStr, + ImGuiLocKey_TableSizeOne, + ImGuiLocKey_TableSizeAllFit, + ImGuiLocKey_TableSizeAllDefault, + ImGuiLocKey_TableResetOrder, + ImGuiLocKey_WindowingMainMenuBar, + ImGuiLocKey_WindowingPopup, + ImGuiLocKey_WindowingUntitled, + ImGuiLocKey_OpenLink_s, + ImGuiLocKey_CopyLink, + ImGuiLocKey_COUNT +}; + +struct ImGuiLocEntry +{ + ImGuiLocKey Key; + const char* Text; +}; + +//----------------------------------------------------------------------------- +// [SECTION] Error handling, State recovery support +//----------------------------------------------------------------------------- + +// Macros used by Recoverable Error handling +// - Only dispatch error if _EXPR: evaluate as assert (similar to an assert macro). +// - The message will always be a string literal, in order to increase likelihood of being display by an assert handler. +// - See 'Demo->Configuration->Error Handling' and ImGuiIO definitions for details on error handling. +// - Read https://github.com/ocornut/imgui/wiki/Error-Handling for details on error handling. +#ifndef IM_ASSERT_USER_ERROR +#define IM_ASSERT_USER_ERROR(_EXPR,_MSG) do { if (!(_EXPR) && ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } while (0) // Recoverable User Error +#endif + +// The error callback is currently not public, as it is expected that only advanced users will rely on it. +typedef void (*ImGuiErrorCallback)(ImGuiContext* ctx, void* user_data, const char* msg); // Function signature for g.ErrorCallback + +//----------------------------------------------------------------------------- +// [SECTION] Metrics, Debug Tools +//----------------------------------------------------------------------------- + +// See IMGUI_DEBUG_LOG() and IMGUI_DEBUG_LOG_XXX() macros. +enum ImGuiDebugLogFlags_ +{ + // Event types + ImGuiDebugLogFlags_None = 0, + ImGuiDebugLogFlags_EventError = 1 << 0, // Error submitted by IM_ASSERT_USER_ERROR() + ImGuiDebugLogFlags_EventActiveId = 1 << 1, + ImGuiDebugLogFlags_EventFocus = 1 << 2, + ImGuiDebugLogFlags_EventPopup = 1 << 3, + ImGuiDebugLogFlags_EventNav = 1 << 4, + ImGuiDebugLogFlags_EventClipper = 1 << 5, + ImGuiDebugLogFlags_EventSelection = 1 << 6, + ImGuiDebugLogFlags_EventIO = 1 << 7, + ImGuiDebugLogFlags_EventFont = 1 << 8, + ImGuiDebugLogFlags_EventInputRouting = 1 << 9, + ImGuiDebugLogFlags_EventDocking = 1 << 10, // Unused in this branch + ImGuiDebugLogFlags_EventViewport = 1 << 11, // Unused in this branch + + ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport, + ImGuiDebugLogFlags_OutputToTTY = 1 << 20, // Also send output to TTY + ImGuiDebugLogFlags_OutputToTestEngine = 1 << 21, // Also send output to Test Engine +}; + +struct ImGuiDebugAllocEntry +{ + int FrameCount; + ImS16 AllocCount; + ImS16 FreeCount; +}; + +struct ImGuiDebugAllocInfo +{ + int TotalAllocCount; // Number of call to MemAlloc(). + int TotalFreeCount; + ImS16 LastEntriesIdx; // Current index in buffer + ImGuiDebugAllocEntry LastEntriesBuf[6]; // Track last 6 frames that had allocations + + ImGuiDebugAllocInfo() { memset(this, 0, sizeof(*this)); } +}; + +struct ImGuiMetricsConfig +{ + bool ShowDebugLog = false; + bool ShowIDStackTool = false; + bool ShowWindowsRects = false; + bool ShowWindowsBeginOrder = false; + bool ShowTablesRects = false; + bool ShowDrawCmdMesh = true; + bool ShowDrawCmdBoundingBoxes = true; + bool ShowTextEncodingViewer = false; + int ShowWindowsRectsType = -1; + int ShowTablesRectsType = -1; + int HighlightMonitorIdx = -1; + ImGuiID HighlightViewportID = 0; +}; + +struct ImGuiStackLevelInfo +{ + ImGuiID ID; + ImS8 QueryFrameCount; // >= 1: Query in progress + bool QuerySuccess; // Obtained result from DebugHookIdInfo() + ImGuiDataType DataType : 8; + char Desc[57]; // Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) FIXME: Now that we added CTRL+C this should be fixed. + + ImGuiStackLevelInfo() { memset(this, 0, sizeof(*this)); } +}; + +// State for ID Stack tool queries +struct ImGuiIDStackTool +{ + int LastActiveFrame; + int StackLevel; // -1: query stack and resize Results, >= 0: individual stack level + ImGuiID QueryId; // ID to query details for + ImVector Results; + bool CopyToClipboardOnCtrlC; + float CopyToClipboardLastTime; + + ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Generic context hooks +//----------------------------------------------------------------------------- + +typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook); +enum ImGuiContextHookType { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }; + +struct ImGuiContextHook +{ + ImGuiID HookId; // A unique ID assigned by AddContextHook() + ImGuiContextHookType Type; + ImGuiID Owner; + ImGuiContextHookCallback Callback; + void* UserData; + + ImGuiContextHook() { memset(this, 0, sizeof(*this)); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiContext (main Dear ImGui context) +//----------------------------------------------------------------------------- + +struct ImGuiContext +{ + bool Initialized; + bool FontAtlasOwnedByContext; // IO.Fonts-> is owned by the ImGuiContext and will be destructed along with it. + ImGuiIO IO; + ImGuiPlatformIO PlatformIO; + ImGuiStyle Style; + ImFont* Font; // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back() + float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window. + float FontBaseSize; // (Shortcut) == IO.FontGlobalScale * Font->Scale * Font->FontSize. Base text height. + float FontScale; // == FontSize / Font->FontSize + float CurrentDpiScale; // Current window/viewport DpiScale + ImDrawListSharedData DrawListSharedData; + double Time; + int FrameCount; + int FrameCountEnded; + int FrameCountRendered; + ImGuiID WithinEndChildID; // Set within EndChild() + bool WithinFrameScope; // Set by NewFrame(), cleared by EndFrame() + bool WithinFrameScopeWithImplicitWindow; // Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed + bool GcCompactAll; // Request full GC + bool TestEngineHookItems; // Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(), ImGuiTestEngineHook_Log() + void* TestEngine; // Test engine user data + char ContextName[16]; // Storage for a context name (to facilitate debugging multi-context setups) + + // Inputs + ImVector InputEventsQueue; // Input events which will be trickled/written into IO structure. + ImVector InputEventsTrail; // Past input events processed in NewFrame(). This is to allow domain-specific application to access e.g mouse/pen trail. + ImGuiMouseSource InputEventsNextMouseSource; + ImU32 InputEventsNextEventId; + + // Windows state + ImVector Windows; // Windows, sorted in display order, back to front + ImVector WindowsFocusOrder; // Root windows, sorted in focus order, back to front. + ImVector WindowsTempSortBuffer; // Temporary buffer used in EndFrame() to reorder windows so parents are kept before their child + ImVector CurrentWindowStack; + ImGuiStorage WindowsById; // Map window's ImGuiID to ImGuiWindow* + int WindowsActiveCount; // Number of unique windows submitted by frame + float WindowsBorderHoverPadding; // Padding around resizable windows for which hovering on counts as hovering the window == ImMax(style.TouchExtraPadding, style.WindowBorderHoverPadding). This isn't so multi-dpi friendly. + ImGuiID DebugBreakInWindow; // Set to break in Begin() call. + ImGuiWindow* CurrentWindow; // Window being drawn into + ImGuiWindow* HoveredWindow; // Window the mouse is hovering. Will typically catch mouse inputs. + ImGuiWindow* HoveredWindowUnderMovingWindow; // Hovered window ignoring MovingWindow. Only set if MovingWindow is set. + ImGuiWindow* HoveredWindowBeforeClear; // Window the mouse is hovering. Filled even with _NoMouse. This is currently useful for multi-context compositors. + ImGuiWindow* MovingWindow; // Track the window we clicked on (in order to preserve focus). The actual window that is moved is generally MovingWindow->RootWindow. + ImGuiWindow* WheelingWindow; // Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep scrolling the same window even if during the course of scrolling the mouse ends up hovering a child window. + ImVec2 WheelingWindowRefMousePos; + int WheelingWindowStartFrame; // This may be set one frame before WheelingWindow is != NULL + int WheelingWindowScrolledFrame; + float WheelingWindowReleaseTimer; + ImVec2 WheelingWindowWheelRemainder; + ImVec2 WheelingAxisAvg; + + // Item/widgets state and tracking information + ImGuiID DebugDrawIdConflicts; // Set when we detect multiple items with the same identifier + ImGuiID DebugHookIdInfo; // Will call core hooks: DebugHookIdInfo() from GetID functions, used by ID Stack Tool [next HoveredId/ActiveId to not pull in an extra cache-line] + ImGuiID HoveredId; // Hovered widget, filled during the frame + ImGuiID HoveredIdPreviousFrame; + int HoveredIdPreviousFrameItemCount; // Count numbers of items using the same ID as last frame's hovered id + float HoveredIdTimer; // Measure contiguous hovering time + float HoveredIdNotActiveTimer; // Measure contiguous hovering time where the item has not been active + bool HoveredIdAllowOverlap; + bool HoveredIdIsDisabled; // At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May be true even if HoveredId == 0. + bool ItemUnclipByLog; // Disable ItemAdd() clipping, essentially a memory-locality friendly copy of LogEnabled + ImGuiID ActiveId; // Active widget + ImGuiID ActiveIdIsAlive; // Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame) + float ActiveIdTimer; + bool ActiveIdIsJustActivated; // Set at the time of activation for one frame + bool ActiveIdAllowOverlap; // Active widget allows another widget to steal active id (generally for overlapping widgets, but not always) + bool ActiveIdNoClearOnFocusLoss; // Disable losing active id if the active id window gets unfocused. + bool ActiveIdHasBeenPressedBefore; // Track whether the active id led to a press (this is to allow changing between PressOnClick and PressOnRelease without pressing twice). Used by range_select branch. + bool ActiveIdHasBeenEditedBefore; // Was the value associated to the widget Edited over the course of the Active state. + bool ActiveIdHasBeenEditedThisFrame; + bool ActiveIdFromShortcut; + int ActiveIdMouseButton : 8; + ImVec2 ActiveIdClickOffset; // Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior) + ImGuiWindow* ActiveIdWindow; + ImGuiInputSource ActiveIdSource; // Activating source: ImGuiInputSource_Mouse OR ImGuiInputSource_Keyboard OR ImGuiInputSource_Gamepad + ImGuiID ActiveIdPreviousFrame; + ImGuiDeactivatedItemData DeactivatedItemData; + ImGuiDataTypeStorage ActiveIdValueOnActivation; // Backup of initial value at the time of activation. ONLY SET BY SPECIFIC WIDGETS: DragXXX and SliderXXX. + ImGuiID LastActiveId; // Store the last non-zero ActiveId, useful for animation. + float LastActiveIdTimer; // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation. + + // Key/Input Ownership + Shortcut Routing system + // - The idea is that instead of "eating" a given key, we can link to an owner. + // - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID. + // - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame(). + double LastKeyModsChangeTime; // Record the last time key mods changed (affect repeat delay when using shortcut logic) + double LastKeyModsChangeFromNoneTime; // Record the last time key mods changed away from being 0 (affect repeat delay when using shortcut logic) + double LastKeyboardKeyPressTime; // Record the last time a keyboard key (ignore mouse/gamepad ones) was pressed. + ImBitArrayForNamedKeys KeysMayBeCharInput; // Lookup to tell if a key can emit char input, see IsKeyChordPotentiallyCharInput(). sizeof() = 20 bytes + ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]; + ImGuiKeyRoutingTable KeysRoutingTable; + ImU32 ActiveIdUsingNavDirMask; // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it) + bool ActiveIdUsingAllKeyboardKeys; // Active widget will want to read all keyboard keys inputs. (this is a shortcut for not taking ownership of 100+ keys, frequently used by drag operations) + ImGuiKeyChord DebugBreakInShortcutRouting; // Set to break in SetShortcutRouting()/Shortcut() calls. + //ImU32 ActiveIdUsingNavInputMask; // [OBSOLETE] Since (IMGUI_VERSION_NUM >= 18804) : 'g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel);' becomes --> 'SetKeyOwner(ImGuiKey_Escape, g.ActiveId) and/or SetKeyOwner(ImGuiKey_NavGamepadCancel, g.ActiveId);' + + // Next window/item data + ImGuiID CurrentFocusScopeId; // Value for currently appending items == g.FocusScopeStack.back(). Not to be mistaken with g.NavFocusScopeId. + ImGuiItemFlags CurrentItemFlags; // Value for currently appending items == g.ItemFlagsStack.back() + ImGuiID DebugLocateId; // Storage for DebugLocateItemOnHover() feature: this is read by ItemAdd() so we keep it in a hot/cached location + ImGuiNextItemData NextItemData; // Storage for SetNextItem** functions + ImGuiLastItemData LastItemData; // Storage for last submitted item (setup by ItemAdd) + ImGuiNextWindowData NextWindowData; // Storage for SetNextWindow** functions + bool DebugShowGroupRects; + + // Shared stacks + ImGuiCol DebugFlashStyleColorIdx; // (Keep close to ColorStack to share cache line) + ImVector ColorStack; // Stack for PushStyleColor()/PopStyleColor() - inherited by Begin() + ImVector StyleVarStack; // Stack for PushStyleVar()/PopStyleVar() - inherited by Begin() + ImVector FontStack; // Stack for PushFont()/PopFont() - inherited by Begin() + ImVector FocusScopeStack; // Stack for PushFocusScope()/PopFocusScope() - inherited by BeginChild(), pushed into by Begin() + ImVector ItemFlagsStack; // Stack for PushItemFlag()/PopItemFlag() - inherited by Begin() + ImVector GroupStack; // Stack for BeginGroup()/EndGroup() - not inherited by Begin() + ImVector OpenPopupStack; // Which popups are open (persistent) + ImVector BeginPopupStack; // Which level of BeginPopup() we are in (reset every frame) + ImVectorTreeNodeStack; // Stack for TreeNode() + + // Viewports + ImVector Viewports; // Active viewports (Size==1 in 'master' branch). Each viewports hold their copy of ImDrawData. + + // Keyboard/Gamepad Navigation + bool NavCursorVisible; // Nav focus cursor/rectangle is visible? We hide it after a mouse click. We show it after a nav move. + bool NavHighlightItemUnderNav; // Disable mouse hovering highlight. Highlight navigation focused item instead of mouse hovered item. + //bool NavDisableHighlight; // Old name for !g.NavCursorVisible before 1.91.4 (2024/10/18). OPPOSITE VALUE (g.NavDisableHighlight == !g.NavCursorVisible) + //bool NavDisableMouseHover; // Old name for g.NavHighlightItemUnderNav before 1.91.1 (2024/10/18) this was called When user starts using keyboard/gamepad, we hide mouse hovering highlight until mouse is touched again. + bool NavMousePosDirty; // When set we will update mouse position if io.ConfigNavMoveSetMousePos is set (not enabled by default) + bool NavIdIsAlive; // Nav widget has been seen this frame ~~ NavRectRel is valid + ImGuiID NavId; // Focused item for navigation + ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusedWindow' + ImGuiID NavFocusScopeId; // Focused focus scope (e.g. selection code often wants to "clear other items" when landing on an item of the same scope) + ImGuiNavLayer NavLayer; // Focused layer (main scrolling layer, or menu/title bar layer) + ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && (IsKeyPressed(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) || IsKeyPressed(ImGuiKey_NavGamepadActivate)) ? NavId : 0, also set when calling ActivateItem() + ImGuiID NavActivateDownId; // ~~ IsKeyDown(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) || IsKeyDown(ImGuiKey_NavGamepadActivate) ? NavId : 0 + ImGuiID NavActivatePressedId; // ~~ IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_Enter) || IsKeyPressed(ImGuiKey_NavGamepadActivate) ? NavId : 0 (no repeat) + ImGuiActivateFlags NavActivateFlags; + ImVector NavFocusRoute; // Reversed copy focus scope stack for NavId (should contains NavFocusScopeId). This essentially follow the window->ParentWindowForFocusRoute chain. + ImGuiID NavHighlightActivatedId; + float NavHighlightActivatedTimer; + ImGuiID NavNextActivateId; // Set by ActivateItem(), queued until next frame. + ImGuiActivateFlags NavNextActivateFlags; + ImGuiInputSource NavInputSource; // Keyboard or Gamepad mode? THIS CAN ONLY BE ImGuiInputSource_Keyboard or ImGuiInputSource_Mouse + ImGuiSelectionUserData NavLastValidSelectionUserData; // Last valid data passed to SetNextItemSelectionUser(), or -1. For current window. Not reset when focusing an item that doesn't have selection data. + ImS8 NavCursorHideFrames; + + // Navigation: Init & Move Requests + bool NavAnyRequest; // ~~ NavMoveRequest || NavInitRequest this is to perform early out in ItemAdd() + bool NavInitRequest; // Init request for appearing window to select first item + bool NavInitRequestFromMove; + ImGuiNavItemData NavInitResult; // Init request result (first item of the window, or one for which SetItemDefaultFocus() was called) + bool NavMoveSubmitted; // Move request submitted, will process result on next NewFrame() + bool NavMoveScoringItems; // Move request submitted, still scoring incoming items + bool NavMoveForwardToNextFrame; + ImGuiNavMoveFlags NavMoveFlags; + ImGuiScrollFlags NavMoveScrollFlags; + ImGuiKeyChord NavMoveKeyMods; + ImGuiDir NavMoveDir; // Direction of the move request (left/right/up/down) + ImGuiDir NavMoveDirForDebug; + ImGuiDir NavMoveClipDir; // FIXME-NAV: Describe the purpose of this better. Might want to rename? + ImRect NavScoringRect; // Rectangle used for scoring, in screen space. Based of window->NavRectRel[], modified for directional navigation scoring. + ImRect NavScoringNoClipRect; // Some nav operations (such as PageUp/PageDown) enforce a region which clipper will attempt to always keep submitted + int NavScoringDebugCount; // Metrics for debugging + int NavTabbingDir; // Generally -1 or +1, 0 when tabbing without a nav id + int NavTabbingCounter; // >0 when counting items for tabbing + ImGuiNavItemData NavMoveResultLocal; // Best move request candidate within NavWindow + ImGuiNavItemData NavMoveResultLocalVisible; // Best move request candidate within NavWindow that are mostly visible (when using ImGuiNavMoveFlags_AlsoScoreVisibleSet flag) + ImGuiNavItemData NavMoveResultOther; // Best move request candidate within NavWindow's flattened hierarchy (when using ImGuiWindowFlags_NavFlattened flag) + ImGuiNavItemData NavTabbingResultFirst; // First tabbing request candidate within NavWindow and flattened hierarchy + + // Navigation: record of last move request + ImGuiID NavJustMovedFromFocusScopeId; // Just navigated from this focus scope id (result of a successfully MoveRequest). + ImGuiID NavJustMovedToId; // Just navigated to this id (result of a successfully MoveRequest). + ImGuiID NavJustMovedToFocusScopeId; // Just navigated to this focus scope id (result of a successfully MoveRequest). + ImGuiKeyChord NavJustMovedToKeyMods; + bool NavJustMovedToIsTabbing; // Copy of ImGuiNavMoveFlags_IsTabbing. Maybe we should store whole flags. + bool NavJustMovedToHasSelectionData; // Copy of move result's ItemFlags & ImGuiItemFlags_HasSelectionUserData). Maybe we should just store ImGuiNavItemData. + + // Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize) + ImGuiKeyChord ConfigNavWindowingKeyNext; // = ImGuiMod_Ctrl | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiKey_Tab on OS X). For reconfiguration (see #4828) + ImGuiKeyChord ConfigNavWindowingKeyPrev; // = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiMod_Shift | ImGuiKey_Tab on OS X) + ImGuiWindow* NavWindowingTarget; // Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed top-most! + ImGuiWindow* NavWindowingTargetAnim; // Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so the fade-out can stay on it. + ImGuiWindow* NavWindowingListWindow; // Internal window actually listing the CTRL+Tab contents + float NavWindowingTimer; + float NavWindowingHighlightAlpha; + bool NavWindowingToggleLayer; + ImGuiKey NavWindowingToggleKey; + ImVec2 NavWindowingAccumDeltaPos; + ImVec2 NavWindowingAccumDeltaSize; + + // Render + float DimBgRatio; // 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list) + + // Drag and Drop + bool DragDropActive; + bool DragDropWithinSource; // Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag source. + bool DragDropWithinTarget; // Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag target. + ImGuiDragDropFlags DragDropSourceFlags; + int DragDropSourceFrameCount; + int DragDropMouseButton; + ImGuiPayload DragDropPayload; + ImRect DragDropTargetRect; // Store rectangle of current target candidate (we favor small targets when overlapping) + ImRect DragDropTargetClipRect; // Store ClipRect at the time of item's drawing + ImGuiID DragDropTargetId; + ImGuiDragDropFlags DragDropAcceptFlags; + float DragDropAcceptIdCurrRectSurface; // Target item surface (we resolve overlapping targets by prioritizing the smaller surface) + ImGuiID DragDropAcceptIdCurr; // Target item id (set at the time of accepting the payload) + ImGuiID DragDropAcceptIdPrev; // Target item id from previous frame (we need to store this to allow for overlapping drag and drop targets) + int DragDropAcceptFrameCount; // Last time a target expressed a desire to accept the source + ImGuiID DragDropHoldJustPressedId; // Set when holding a payload just made ButtonBehavior() return a press. + ImVector DragDropPayloadBufHeap; // We don't expose the ImVector<> directly, ImGuiPayload only holds pointer+size + unsigned char DragDropPayloadBufLocal[16]; // Local buffer for small payloads + + // Clipper + int ClipperTempDataStacked; + ImVector ClipperTempData; + + // Tables + ImGuiTable* CurrentTable; + ImGuiID DebugBreakInTable; // Set to break in BeginTable() call. + int TablesTempDataStacked; // Temporary table data size (because we leave previous instances undestructed, we generally don't use TablesTempData.Size) + ImVector TablesTempData; // Temporary table data (buffers reused/shared across instances, support nesting) + ImPool Tables; // Persistent table data + ImVector TablesLastTimeActive; // Last used timestamp of each tables (SOA, for efficient GC) + ImVector DrawChannelsTempMergeBuffer; + + // Tab bars + ImGuiTabBar* CurrentTabBar; + ImPool TabBars; + ImVector CurrentTabBarStack; + ImVector ShrinkWidthBuffer; + + // Multi-Select state + ImGuiBoxSelectState BoxSelectState; + ImGuiMultiSelectTempData* CurrentMultiSelect; + int MultiSelectTempDataStacked; // Temporary multi-select data size (because we leave previous instances undestructed, we generally don't use MultiSelectTempData.Size) + ImVector MultiSelectTempData; + ImPool MultiSelectStorage; + + // Hover Delay system + ImGuiID HoverItemDelayId; + ImGuiID HoverItemDelayIdPreviousFrame; + float HoverItemDelayTimer; // Currently used by IsItemHovered() + float HoverItemDelayClearTimer; // Currently used by IsItemHovered(): grace time before g.TooltipHoverTimer gets cleared. + ImGuiID HoverItemUnlockedStationaryId; // Mouse has once been stationary on this item. Only reset after departing the item. + ImGuiID HoverWindowUnlockedStationaryId; // Mouse has once been stationary on this window. Only reset after departing the window. + + // Mouse state + ImGuiMouseCursor MouseCursor; + float MouseStationaryTimer; // Time the mouse has been stationary (with some loose heuristic) + ImVec2 MouseLastValidPos; + + // Widget state + ImGuiInputTextState InputTextState; + ImGuiInputTextDeactivatedState InputTextDeactivatedState; + ImFont InputTextPasswordFont; + ImGuiID TempInputId; // Temporary text input when CTRL+clicking on a slider, etc. + ImGuiDataTypeStorage DataTypeZeroValue; // 0 for all data types + int BeginMenuDepth; + int BeginComboDepth; + ImGuiColorEditFlags ColorEditOptions; // Store user options for color edit widgets + ImGuiID ColorEditCurrentID; // Set temporarily while inside of the parent-most ColorEdit4/ColorPicker4 (because they call each others). + ImGuiID ColorEditSavedID; // ID we are saving/restoring HS for + float ColorEditSavedHue; // Backup of last Hue associated to LastColor, so we can restore Hue in lossy RGB<>HSV round trips + float ColorEditSavedSat; // Backup of last Saturation associated to LastColor, so we can restore Saturation in lossy RGB<>HSV round trips + ImU32 ColorEditSavedColor; // RGB value with alpha set to 0. + ImVec4 ColorPickerRef; // Initial/reference color at the time of opening the color picker. + ImGuiComboPreviewData ComboPreviewData; + ImRect WindowResizeBorderExpectedRect; // Expected border rect, switch to relative edit if moving + bool WindowResizeRelativeMode; + short ScrollbarSeekMode; // 0: scroll to clicked location, -1/+1: prev/next page. + float ScrollbarClickDeltaToGrabCenter; // When scrolling to mouse location: distance between mouse and center of grab box, normalized in parent space. + float SliderGrabClickOffset; + float SliderCurrentAccum; // Accumulated slider delta when using navigation controls. + bool SliderCurrentAccumDirty; // Has the accumulated slider delta changed since last time we tried to apply it? + bool DragCurrentAccumDirty; + float DragCurrentAccum; // Accumulator for dragging modification. Always high-precision, not rounded by end-user precision settings + float DragSpeedDefaultRatio; // If speed == 0.0f, uses (max-min) * DragSpeedDefaultRatio + float DisabledAlphaBackup; // Backup for style.Alpha for BeginDisabled() + short DisabledStackSize; + short TooltipOverrideCount; + ImGuiWindow* TooltipPreviousWindow; // Window of last tooltip submitted during the frame + ImVector ClipboardHandlerData; // If no custom clipboard handler is defined + ImVector MenusIdSubmittedThisFrame; // A list of menu IDs that were rendered at least once + ImGuiTypingSelectState TypingSelectState; // State for GetTypingSelectRequest() + + // Platform support + ImGuiPlatformImeData PlatformImeData; // Data updated by current frame + ImGuiPlatformImeData PlatformImeDataPrev; // Previous frame data. When changed we call the platform_io.Platform_SetImeDataFn() handler. + + // Settings + bool SettingsLoaded; + float SettingsDirtyTimer; // Save .ini Settings to memory when time reaches zero + ImGuiTextBuffer SettingsIniData; // In memory .ini settings + ImVector SettingsHandlers; // List of .ini settings handlers + ImChunkStream SettingsWindows; // ImGuiWindow .ini settings entries + ImChunkStream SettingsTables; // ImGuiTable .ini settings entries + ImVector Hooks; // Hooks for extensions (e.g. test engine) + ImGuiID HookIdNext; // Next available HookId + + // Localization + const char* LocalizationTable[ImGuiLocKey_COUNT]; + + // Capture/Logging + bool LogEnabled; // Currently capturing + ImGuiLogFlags LogFlags; // Capture flags/type + ImGuiWindow* LogWindow; + ImFileHandle LogFile; // If != NULL log to stdout/ file + ImGuiTextBuffer LogBuffer; // Accumulation buffer when log to clipboard. This is pointer so our GImGui static constructor doesn't call heap allocators. + const char* LogNextPrefix; + const char* LogNextSuffix; + float LogLinePosY; + bool LogLineFirstItem; + int LogDepthRef; + int LogDepthToExpand; + int LogDepthToExpandDefault; // Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call. + + // Error Handling + ImGuiErrorCallback ErrorCallback; // = NULL. May be exposed in public API eventually. + void* ErrorCallbackUserData; // = NULL + ImVec2 ErrorTooltipLockedPos; + bool ErrorFirst; + int ErrorCountCurrentFrame; // [Internal] Number of errors submitted this frame. + ImGuiErrorRecoveryState StackSizesInNewFrame; // [Internal] + ImGuiErrorRecoveryState*StackSizesInBeginForCurrentWindow; // [Internal] + + // Debug Tools + // (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.) + int DebugDrawIdConflictsCount; // Locked count (preserved when holding CTRL) + ImGuiDebugLogFlags DebugLogFlags; + ImGuiTextBuffer DebugLogBuf; + ImGuiTextIndex DebugLogIndex; + int DebugLogSkippedErrors; + ImGuiDebugLogFlags DebugLogAutoDisableFlags; + ImU8 DebugLogAutoDisableFrames; + ImU8 DebugLocateFrames; // For DebugLocateItemOnHover(). This is used together with DebugLocateId which is in a hot/cached spot above. + bool DebugBreakInLocateId; // Debug break in ItemAdd() call for g.DebugLocateId. + ImGuiKeyChord DebugBreakKeyChord; // = ImGuiKey_Pause + ImS8 DebugBeginReturnValueCullDepth; // Cycle between 0..9 then wrap around. + bool DebugItemPickerActive; // Item picker is active (started with DebugStartItemPicker()) + ImU8 DebugItemPickerMouseButton; + ImGuiID DebugItemPickerBreakId; // Will call IM_DEBUG_BREAK() when encountering this ID + float DebugFlashStyleColorTime; + ImVec4 DebugFlashStyleColorBackup; + ImGuiMetricsConfig DebugMetricsConfig; + ImGuiIDStackTool DebugIDStackTool; + ImGuiDebugAllocInfo DebugAllocInfo; + + // Misc + float FramerateSecPerFrame[60]; // Calculate estimate of framerate for user over the last 60 frames.. + int FramerateSecPerFrameIdx; + int FramerateSecPerFrameCount; + float FramerateSecPerFrameAccum; + int WantCaptureMouseNextFrame; // Explicit capture override via SetNextFrameWantCaptureMouse()/SetNextFrameWantCaptureKeyboard(). Default to -1. + int WantCaptureKeyboardNextFrame; // " + int WantTextInputNextFrame; + ImVector TempBuffer; // Temporary text buffer + char TempKeychordName[64]; + + ImGuiContext(ImFontAtlas* shared_font_atlas); +}; + +//----------------------------------------------------------------------------- +// [SECTION] ImGuiWindowTempData, ImGuiWindow +//----------------------------------------------------------------------------- + +// Transient per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the DC variable name in ImGuiWindow. +// (That's theory, in practice the delimitation between ImGuiWindow and ImGuiWindowTempData is quite tenuous and could be reconsidered..) +// (This doesn't need a constructor because we zero-clear it as part of ImGuiWindow and all frame-temporary data are setup on Begin) +struct IMGUI_API ImGuiWindowTempData +{ + // Layout + ImVec2 CursorPos; // Current emitting position, in absolute coordinates. + ImVec2 CursorPosPrevLine; + ImVec2 CursorStartPos; // Initial position after Begin(), generally ~ window position + WindowPadding. + ImVec2 CursorMaxPos; // Used to implicitly calculate ContentSize at the beginning of next frame, for scrolling range and auto-resize. Always growing during the frame. + ImVec2 IdealMaxPos; // Used to implicitly calculate ContentSizeIdeal at the beginning of next frame, for auto-resize only. Always growing during the frame. + ImVec2 CurrLineSize; + ImVec2 PrevLineSize; + float CurrLineTextBaseOffset; // Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has been added). + float PrevLineTextBaseOffset; + bool IsSameLine; + bool IsSetPos; + ImVec1 Indent; // Indentation / start position from left of window (increased by TreePush/TreePop, etc.) + ImVec1 ColumnsOffset; // Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API. + ImVec1 GroupOffset; + ImVec2 CursorStartPosLossyness;// Record the loss of precision of CursorStartPos due to really large scrolling amount. This is used by clipper to compensate and fix the most common use case of large scroll area. + + // Keyboard/Gamepad navigation + ImGuiNavLayer NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1) + short NavLayersActiveMask; // Which layers have been written to (result from previous frame) + short NavLayersActiveMaskNext;// Which layers have been written to (accumulator for current frame) + bool NavIsScrollPushableX; // Set when current work location may be scrolled horizontally when moving left / right. This is generally always true UNLESS within a column. + bool NavHideHighlightOneFrame; + bool NavWindowHasScrollY; // Set per window when scrolling can be used (== ScrollMax.y > 0.0f) + + // Miscellaneous + bool MenuBarAppending; // FIXME: Remove this + ImVec2 MenuBarOffset; // MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y > FramePadding.y), often used on TVs. + ImGuiMenuColumns MenuColumns; // Simplified columns storage for menu items measurement + int TreeDepth; // Current tree depth. + ImU32 TreeHasStackDataDepthMask; // Store whether given depth has ImGuiTreeNodeStackData data. Could be turned into a ImU64 if necessary. + ImVector ChildWindows; + ImGuiStorage* StateStorage; // Current persistent per-window storage (store e.g. tree node open/close state) + ImGuiOldColumns* CurrentColumns; // Current columns set + int CurrentTableIdx; // Current table index (into g.Tables) + ImGuiLayoutType LayoutType; + ImGuiLayoutType ParentLayoutType; // Layout type of parent window at the time of Begin() + ImU32 ModalDimBgColor; + ImGuiItemStatusFlags WindowItemStatusFlags; + ImGuiItemStatusFlags ChildItemStatusFlags; + + // Local parameters stacks + // We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings. + float ItemWidth; // Current item width (>0.0: width in pixels, <0.0: align xx pixels to the right of window). + float TextWrapPos; // Current text wrap pos. + ImVector ItemWidthStack; // Store item widths to restore (attention: .back() is not == ItemWidth) + ImVector TextWrapPosStack; // Store text wrap pos to restore (attention: .back() is not == TextWrapPos) +}; + +// Storage for one window +struct IMGUI_API ImGuiWindow +{ + ImGuiContext* Ctx; // Parent UI context (needs to be set explicitly by parent). + char* Name; // Window name, owned by the window. + ImGuiID ID; // == ImHashStr(Name) + ImGuiWindowFlags Flags; // See enum ImGuiWindowFlags_ + ImGuiChildFlags ChildFlags; // Set when window is a child window. See enum ImGuiChildFlags_ + ImGuiViewportP* Viewport; // Always set in Begin(). Inactive windows may have a NULL value here if their viewport was discarded. + ImVec2 Pos; // Position (always rounded-up to nearest pixel) + ImVec2 Size; // Current size (==SizeFull or collapsed title bar size) + ImVec2 SizeFull; // Size when non collapsed + ImVec2 ContentSize; // Size of contents/scrollable client area (calculated from the extents reach of the cursor) from previous frame. Does not include window decoration or window padding. + ImVec2 ContentSizeIdeal; + ImVec2 ContentSizeExplicit; // Size of contents/scrollable client area explicitly request by the user via SetNextWindowContentSize(). + ImVec2 WindowPadding; // Window padding at the time of Begin(). + float WindowRounding; // Window rounding at the time of Begin(). May be clamped lower to avoid rendering artifacts with title bar, menu bar etc. + float WindowBorderSize; // Window border size at the time of Begin(). + float TitleBarHeight, MenuBarHeight; // Note that those used to be function before 2024/05/28. If you have old code calling TitleBarHeight() you can change it to TitleBarHeight. + float DecoOuterSizeX1, DecoOuterSizeY1; // Left/Up offsets. Sum of non-scrolling outer decorations (X1 generally == 0.0f. Y1 generally = TitleBarHeight + MenuBarHeight). Locked during Begin(). + float DecoOuterSizeX2, DecoOuterSizeY2; // Right/Down offsets (X2 generally == ScrollbarSize.x, Y2 == ScrollbarSizes.y). + float DecoInnerSizeX1, DecoInnerSizeY1; // Applied AFTER/OVER InnerRect. Specialized for Tables as they use specialized form of clipping and frozen rows/columns are inside InnerRect (and not part of regular decoration sizes). + int NameBufLen; // Size of buffer storing Name. May be larger than strlen(Name)! + ImGuiID MoveId; // == window->GetID("#MOVE") + ImGuiID ChildId; // ID of corresponding item in parent window (for navigation to return from child window to parent window) + ImGuiID PopupId; // ID in the popup stack when this window is used as a popup/menu (because we use generic Name/ID for recycling) + ImVec2 Scroll; + ImVec2 ScrollMax; + ImVec2 ScrollTarget; // target scroll position. stored as cursor position with scrolling canceled out, so the highest point is always 0.0f. (FLT_MAX for no change) + ImVec2 ScrollTargetCenterRatio; // 0.0f = scroll so that target position is at top, 0.5f = scroll so that target position is centered + ImVec2 ScrollTargetEdgeSnapDist; // 0.0f = no snapping, >0.0f snapping threshold + ImVec2 ScrollbarSizes; // Size taken by each scrollbars on their smaller axis. Pay attention! ScrollbarSizes.x == width of the vertical scrollbar, ScrollbarSizes.y = height of the horizontal scrollbar. + bool ScrollbarX, ScrollbarY; // Are scrollbars visible? + bool Active; // Set to true on Begin(), unless Collapsed + bool WasActive; + bool WriteAccessed; // Set to true when any widget access the current window + bool Collapsed; // Set when collapsing window to become only title-bar + bool WantCollapseToggle; + bool SkipItems; // Set when items can safely be all clipped (e.g. window not visible or collapsed) + bool SkipRefresh; // [EXPERIMENTAL] Reuse previous frame drawn contents, Begin() returns false. + bool Appearing; // Set during the frame where the window is appearing (or re-appearing) + bool Hidden; // Do not display (== HiddenFrames*** > 0) + bool IsFallbackWindow; // Set on the "Debug##Default" window. + bool IsExplicitChild; // Set when passed _ChildWindow, left to false by BeginDocked() + bool HasCloseButton; // Set when the window has a close button (p_open != NULL) + signed char ResizeBorderHovered; // Current border being hovered for resize (-1: none, otherwise 0-3) + signed char ResizeBorderHeld; // Current border being held for resize (-1: none, otherwise 0-3) + short BeginCount; // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs) + short BeginCountPreviousFrame; // Number of Begin() during the previous frame + short BeginOrderWithinParent; // Begin() order within immediate parent window, if we are a child window. Otherwise 0. + short BeginOrderWithinContext; // Begin() order within entire imgui context. This is mostly used for debugging submission order related issues. + short FocusOrder; // Order within WindowsFocusOrder[], altered when windows are focused. + ImS8 AutoFitFramesX, AutoFitFramesY; + bool AutoFitOnlyGrows; + ImGuiDir AutoPosLastDirection; + ImS8 HiddenFramesCanSkipItems; // Hide the window for N frames + ImS8 HiddenFramesCannotSkipItems; // Hide the window for N frames while allowing items to be submitted so we can measure their size + ImS8 HiddenFramesForRenderOnly; // Hide the window until frame N at Render() time only + ImS8 DisableInputsFrames; // Disable window interactions for N frames + ImGuiCond SetWindowPosAllowFlags : 8; // store acceptable condition flags for SetNextWindowPos() use. + ImGuiCond SetWindowSizeAllowFlags : 8; // store acceptable condition flags for SetNextWindowSize() use. + ImGuiCond SetWindowCollapsedAllowFlags : 8; // store acceptable condition flags for SetNextWindowCollapsed() use. + ImVec2 SetWindowPosVal; // store window position when using a non-zero Pivot (position set needs to be processed when we know the window size) + ImVec2 SetWindowPosPivot; // store window pivot for positioning. ImVec2(0, 0) when positioning from top-left corner; ImVec2(0.5f, 0.5f) for centering; ImVec2(1, 1) for bottom right. + + ImVector IDStack; // ID stack. ID are hashes seeded with the value at the top of the stack. (In theory this should be in the TempData structure) + ImGuiWindowTempData DC; // Temporary per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the "DC" variable name. + + // The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. + // The main 'OuterRect', omitted as a field, is window->Rect(). + ImRect OuterRectClipped; // == Window->Rect() just after setup in Begin(). == window->Rect() for root window. + ImRect InnerRect; // Inner rectangle (omit title bar, menu bar, scroll bar) + ImRect InnerClipRect; // == InnerRect shrunk by WindowPadding*0.5f on each side, clipped within viewport or parent clip rect. + ImRect WorkRect; // Initially covers the whole scrolling region. Reduced by containers e.g columns/tables when active. Shrunk by WindowPadding*1.0f on each side. This is meant to replace ContentRegionRect over time (from 1.71+ onward). + ImRect ParentWorkRect; // Backup of WorkRect before entering a container such as columns/tables. Used by e.g. SpanAllColumns functions to easily access. Stacked containers are responsible for maintaining this. // FIXME-WORKRECT: Could be a stack? + ImRect ClipRect; // Current clipping/scissoring rectangle, evolve as we are using PushClipRect(), etc. == DrawList->clip_rect_stack.back(). + ImRect ContentRegionRect; // FIXME: This is currently confusing/misleading. It is essentially WorkRect but not handling of scrolling. We currently rely on it as right/bottom aligned sizing operation need some size to rely on. + ImVec2ih HitTestHoleSize; // Define an optional rectangular hole where mouse will pass-through the window. + ImVec2ih HitTestHoleOffset; + + int LastFrameActive; // Last frame number the window was Active. + float LastTimeActive; // Last timestamp the window was Active (using float as we don't need high precision there) + float ItemWidthDefault; + ImGuiStorage StateStorage; + ImVector ColumnsStorage; + float FontWindowScale; // User scale multiplier per-window, via SetWindowFontScale() + float FontWindowScaleParents; + float FontRefSize; // This is a copy of window->CalcFontSize() at the time of Begin(), trying to phase out CalcFontSize() especially as it may be called on non-current window. + int SettingsOffset; // Offset into SettingsWindows[] (offsets are always valid as we only grow the array from the back) + + ImDrawList* DrawList; // == &DrawListInst (for backward compatibility reason with code using imgui_internal.h we keep this a pointer) + ImDrawList DrawListInst; + ImGuiWindow* ParentWindow; // If we are a child _or_ popup _or_ docked window, this is pointing to our parent. Otherwise NULL. + ImGuiWindow* ParentWindowInBeginStack; + ImGuiWindow* RootWindow; // Point to ourself or first ancestor that is not a child window. Doesn't cross through popups/dock nodes. + ImGuiWindow* RootWindowPopupTree; // Point to ourself or first ancestor that is not a child window. Cross through popups parent<>child. + ImGuiWindow* RootWindowForTitleBarHighlight; // Point to ourself or first ancestor which will display TitleBgActive color when this window is active. + ImGuiWindow* RootWindowForNav; // Point to ourself or first ancestor which doesn't have the NavFlattened flag. + ImGuiWindow* ParentWindowForFocusRoute; // Set to manual link a window to its logical parent so that Shortcut() chain are honoerd (e.g. Tool linked to Document) + + ImGuiWindow* NavLastChildNavWindow; // When going to the menu bar, we remember the child window we came from. (This could probably be made implicit if we kept g.Windows sorted by last focused including child window.) + ImGuiID NavLastIds[ImGuiNavLayer_COUNT]; // Last known NavId for this window, per layer (0/1) + ImRect NavRectRel[ImGuiNavLayer_COUNT]; // Reference rectangle, in window relative space + ImVec2 NavPreferredScoringPosRel[ImGuiNavLayer_COUNT]; // Preferred X/Y position updated when moving on a given axis, reset to FLT_MAX. + ImGuiID NavRootFocusScopeId; // Focus Scope ID at the time of Begin() + + int MemoryDrawListIdxCapacity; // Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative alloc/copy + int MemoryDrawListVtxCapacity; + bool MemoryCompacted; // Set when window extraneous data have been garbage collected + +public: + ImGuiWindow(ImGuiContext* context, const char* name); + ~ImGuiWindow(); + + ImGuiID GetID(const char* str, const char* str_end = NULL); + ImGuiID GetID(const void* ptr); + ImGuiID GetID(int n); + ImGuiID GetIDFromPos(const ImVec2& p_abs); + ImGuiID GetIDFromRectangle(const ImRect& r_abs); + + // We don't use g.FontSize because the window may be != g.CurrentWindow. + ImRect Rect() const { return ImRect(Pos.x, Pos.y, Pos.x + Size.x, Pos.y + Size.y); } + float CalcFontSize() const { ImGuiContext& g = *Ctx; return g.FontBaseSize * FontWindowScale * FontWindowScaleParents; } + ImRect TitleBarRect() const { return ImRect(Pos, ImVec2(Pos.x + SizeFull.x, Pos.y + TitleBarHeight)); } + ImRect MenuBarRect() const { float y1 = Pos.y + TitleBarHeight; return ImRect(Pos.x, y1, Pos.x + SizeFull.x, y1 + MenuBarHeight); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] Tab bar, Tab item support +//----------------------------------------------------------------------------- + +// Extend ImGuiTabBarFlags_ +enum ImGuiTabBarFlagsPrivate_ +{ + ImGuiTabBarFlags_DockNode = 1 << 20, // Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around] + ImGuiTabBarFlags_IsFocused = 1 << 21, + ImGuiTabBarFlags_SaveSettings = 1 << 22, // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs +}; + +// Extend ImGuiTabItemFlags_ +enum ImGuiTabItemFlagsPrivate_ +{ + ImGuiTabItemFlags_SectionMask_ = ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing, + ImGuiTabItemFlags_NoCloseButton = 1 << 20, // Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout) + ImGuiTabItemFlags_Button = 1 << 21, // Used by TabItemButton, change the tab item behavior to mimic a button + ImGuiTabItemFlags_Invisible = 1 << 22, // To reserve space e.g. with ImGuiTabItemFlags_Leading + //ImGuiTabItemFlags_Unsorted = 1 << 23, // [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window. +}; + +// Storage for one active tab item (sizeof() 40 bytes) +struct ImGuiTabItem +{ + ImGuiID ID; + ImGuiTabItemFlags Flags; + int LastFrameVisible; + int LastFrameSelected; // This allows us to infer an ordered list of the last activated tabs with little maintenance + float Offset; // Position relative to beginning of tab + float Width; // Width currently displayed + float ContentWidth; // Width of label, stored during BeginTabItem() call + float RequestedWidth; // Width optionally requested by caller, -1.0f is unused + ImS32 NameOffset; // When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames + ImS16 BeginOrder; // BeginTabItem() order, used to re-order tabs after toggling ImGuiTabBarFlags_Reorderable + ImS16 IndexDuringLayout; // Index only used during TabBarLayout(). Tabs gets reordered so 'Tabs[n].IndexDuringLayout == n' but may mismatch during additions. + bool WantClose; // Marked as closed by SetTabItemClosed() + + ImGuiTabItem() { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; RequestedWidth = -1.0f; NameOffset = -1; BeginOrder = IndexDuringLayout = -1; } +}; + +// Storage for a tab bar (sizeof() 160 bytes) +struct IMGUI_API ImGuiTabBar +{ + ImGuiWindow* Window; + ImVector Tabs; + ImGuiTabBarFlags Flags; + ImGuiID ID; // Zero for tab-bars used by docking + ImGuiID SelectedTabId; // Selected tab/window + ImGuiID NextSelectedTabId; // Next selected tab/window. Will also trigger a scrolling animation + ImGuiID VisibleTabId; // Can occasionally be != SelectedTabId (e.g. when previewing contents for CTRL+TAB preview) + int CurrFrameVisible; + int PrevFrameVisible; + ImRect BarRect; + float CurrTabsContentsHeight; + float PrevTabsContentsHeight; // Record the height of contents submitted below the tab bar + float WidthAllTabs; // Actual width of all tabs (locked during layout) + float WidthAllTabsIdeal; // Ideal width if all tabs were visible and not clipped + float ScrollingAnim; + float ScrollingTarget; + float ScrollingTargetDistToVisibility; + float ScrollingSpeed; + float ScrollingRectMinX; + float ScrollingRectMaxX; + float SeparatorMinX; + float SeparatorMaxX; + ImGuiID ReorderRequestTabId; + ImS16 ReorderRequestOffset; + ImS8 BeginCount; + bool WantLayout; + bool VisibleTabWasSubmitted; + bool TabsAddedNew; // Set to true when a new tab item or button has been added to the tab bar during last frame + ImS16 TabsActiveCount; // Number of tabs submitted this frame. + ImS16 LastTabItemIdx; // Index of last BeginTabItem() tab for use by EndTabItem() + float ItemSpacingY; + ImVec2 FramePadding; // style.FramePadding locked at the time of BeginTabBar() + ImVec2 BackupCursorPos; + ImGuiTextBuffer TabsNames; // For non-docking tab bar we re-append names in a contiguous buffer. + + ImGuiTabBar(); +}; + +//----------------------------------------------------------------------------- +// [SECTION] Table support +//----------------------------------------------------------------------------- + +#define IM_COL32_DISABLE IM_COL32(0,0,0,1) // Special sentinel code which cannot be used as a regular color. +#define IMGUI_TABLE_MAX_COLUMNS 512 // May be further lifted + +// Our current column maximum is 64 but we may raise that in the future. +typedef ImS16 ImGuiTableColumnIdx; +typedef ImU16 ImGuiTableDrawChannelIdx; + +// [Internal] sizeof() ~ 112 +// We use the terminology "Enabled" to refer to a column that is not Hidden by user/api. +// We use the terminology "Clipped" to refer to a column that is out of sight because of scrolling/clipping. +// This is in contrast with some user-facing api such as IsItemVisible() / IsRectVisible() which use "Visible" to mean "not clipped". +struct ImGuiTableColumn +{ + ImGuiTableColumnFlags Flags; // Flags after some patching (not directly same as provided by user). See ImGuiTableColumnFlags_ + float WidthGiven; // Final/actual width visible == (MaxX - MinX), locked in TableUpdateLayout(). May be > WidthRequest to honor minimum width, may be < WidthRequest to honor shrinking columns down in tight space. + float MinX; // Absolute positions + float MaxX; + float WidthRequest; // Master width absolute value when !(Flags & _WidthStretch). When Stretch this is derived every frame from StretchWeight in TableUpdateLayout() + float WidthAuto; // Automatic width + float WidthMax; // Maximum width (FIXME: overwritten by each instance) + float StretchWeight; // Master width weight when (Flags & _WidthStretch). Often around ~1.0f initially. + float InitStretchWeightOrWidth; // Value passed to TableSetupColumn(). For Width it is a content width (_without padding_). + ImRect ClipRect; // Clipping rectangle for the column + ImGuiID UserID; // Optional, value passed to TableSetupColumn() + float WorkMinX; // Contents region min ~(MinX + CellPaddingX + CellSpacingX1) == cursor start position when entering column + float WorkMaxX; // Contents region max ~(MaxX - CellPaddingX - CellSpacingX2) + float ItemWidth; // Current item width for the column, preserved across rows + float ContentMaxXFrozen; // Contents maximum position for frozen rows (apart from headers), from which we can infer content width. + float ContentMaxXUnfrozen; + float ContentMaxXHeadersUsed; // Contents maximum position for headers rows (regardless of freezing). TableHeader() automatically softclip itself + report ideal desired size, to avoid creating extraneous draw calls + float ContentMaxXHeadersIdeal; + ImS16 NameOffset; // Offset into parent ColumnsNames[] + ImGuiTableColumnIdx DisplayOrder; // Index within Table's IndexToDisplayOrder[] (column may be reordered by users) + ImGuiTableColumnIdx IndexWithinEnabledSet; // Index within enabled/visible set (<= IndexToDisplayOrder) + ImGuiTableColumnIdx PrevEnabledColumn; // Index of prev enabled/visible column within Columns[], -1 if first enabled/visible column + ImGuiTableColumnIdx NextEnabledColumn; // Index of next enabled/visible column within Columns[], -1 if last enabled/visible column + ImGuiTableColumnIdx SortOrder; // Index of this column within sort specs, -1 if not sorting on this column, 0 for single-sort, may be >0 on multi-sort + ImGuiTableDrawChannelIdx DrawChannelCurrent; // Index within DrawSplitter.Channels[] + ImGuiTableDrawChannelIdx DrawChannelFrozen; // Draw channels for frozen rows (often headers) + ImGuiTableDrawChannelIdx DrawChannelUnfrozen; // Draw channels for unfrozen rows + bool IsEnabled; // IsUserEnabled && (Flags & ImGuiTableColumnFlags_Disabled) == 0 + bool IsUserEnabled; // Is the column not marked Hidden by the user? (unrelated to being off view, e.g. clipped by scrolling). + bool IsUserEnabledNextFrame; + bool IsVisibleX; // Is actually in view (e.g. overlapping the host window clipping rectangle, not scrolled). + bool IsVisibleY; + bool IsRequestOutput; // Return value for TableSetColumnIndex() / TableNextColumn(): whether we request user to output contents or not. + bool IsSkipItems; // Do we want item submissions to this column to be completely ignored (no layout will happen). + bool IsPreserveWidthAuto; + ImS8 NavLayerCurrent; // ImGuiNavLayer in 1 byte + ImU8 AutoFitQueue; // Queue of 8 values for the next 8 frames to request auto-fit + ImU8 CannotSkipItemsQueue; // Queue of 8 values for the next 8 frames to disable Clipped/SkipItem + ImU8 SortDirection : 2; // ImGuiSortDirection_Ascending or ImGuiSortDirection_Descending + ImU8 SortDirectionsAvailCount : 2; // Number of available sort directions (0 to 3) + ImU8 SortDirectionsAvailMask : 4; // Mask of available sort directions (1-bit each) + ImU8 SortDirectionsAvailList; // Ordered list of available sort directions (2-bits each, total 8-bits) + + ImGuiTableColumn() + { + memset(this, 0, sizeof(*this)); + StretchWeight = WidthRequest = -1.0f; + NameOffset = -1; + DisplayOrder = IndexWithinEnabledSet = -1; + PrevEnabledColumn = NextEnabledColumn = -1; + SortOrder = -1; + SortDirection = ImGuiSortDirection_None; + DrawChannelCurrent = DrawChannelFrozen = DrawChannelUnfrozen = (ImU8)-1; + } +}; + +// Transient cell data stored per row. +// sizeof() ~ 6 bytes +struct ImGuiTableCellData +{ + ImU32 BgColor; // Actual color + ImGuiTableColumnIdx Column; // Column number +}; + +// Parameters for TableAngledHeadersRowEx() +// This may end up being refactored for more general purpose. +// sizeof() ~ 12 bytes +struct ImGuiTableHeaderData +{ + ImGuiTableColumnIdx Index; // Column index + ImU32 TextColor; + ImU32 BgColor0; + ImU32 BgColor1; +}; + +// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?) +// sizeof() ~ 24 bytes +struct ImGuiTableInstanceData +{ + ImGuiID TableInstanceID; + float LastOuterHeight; // Outer height from last frame + float LastTopHeadersRowHeight; // Height of first consecutive header rows from last frame (FIXME: this is used assuming consecutive headers are in same frozen set) + float LastFrozenHeight; // Height of frozen section from last frame + int HoveredRowLast; // Index of row which was hovered last frame. + int HoveredRowNext; // Index of row hovered this frame, set after encountering it. + + ImGuiTableInstanceData() { TableInstanceID = 0; LastOuterHeight = LastTopHeadersRowHeight = LastFrozenHeight = 0.0f; HoveredRowLast = HoveredRowNext = -1; } +}; + +// sizeof() ~ 592 bytes + heap allocs described in TableBeginInitMemory() +struct IMGUI_API ImGuiTable +{ + ImGuiID ID; + ImGuiTableFlags Flags; + void* RawData; // Single allocation to hold Columns[], DisplayOrderToIndex[] and RowCellData[] + ImGuiTableTempData* TempData; // Transient data while table is active. Point within g.CurrentTableStack[] + ImSpan Columns; // Point within RawData[] + ImSpan DisplayOrderToIndex; // Point within RawData[]. Store display order of columns (when not reordered, the values are 0...Count-1) + ImSpan RowCellData; // Point within RawData[]. Store cells background requests for current row. + ImBitArrayPtr EnabledMaskByDisplayOrder; // Column DisplayOrder -> IsEnabled map + ImBitArrayPtr EnabledMaskByIndex; // Column Index -> IsEnabled map (== not hidden by user/api) in a format adequate for iterating column without touching cold data + ImBitArrayPtr VisibleMaskByIndex; // Column Index -> IsVisibleX|IsVisibleY map (== not hidden by user/api && not hidden by scrolling/cliprect) + ImGuiTableFlags SettingsLoadedFlags; // Which data were loaded from the .ini file (e.g. when order is not altered we won't save order) + int SettingsOffset; // Offset in g.SettingsTables + int LastFrameActive; + int ColumnsCount; // Number of columns declared in BeginTable() + int CurrentRow; + int CurrentColumn; + ImS16 InstanceCurrent; // Count of BeginTable() calls with same ID in the same frame (generally 0). This is a little bit similar to BeginCount for a window, but multiple table with same ID look are multiple tables, they are just synched. + ImS16 InstanceInteracted; // Mark which instance (generally 0) of the same ID is being interacted with + float RowPosY1; + float RowPosY2; + float RowMinHeight; // Height submitted to TableNextRow() + float RowCellPaddingY; // Top and bottom padding. Reloaded during row change. + float RowTextBaseline; + float RowIndentOffsetX; + ImGuiTableRowFlags RowFlags : 16; // Current row flags, see ImGuiTableRowFlags_ + ImGuiTableRowFlags LastRowFlags : 16; + int RowBgColorCounter; // Counter for alternating background colors (can be fast-forwarded by e.g clipper), not same as CurrentRow because header rows typically don't increase this. + ImU32 RowBgColor[2]; // Background color override for current row. + ImU32 BorderColorStrong; + ImU32 BorderColorLight; + float BorderX1; + float BorderX2; + float HostIndentX; + float MinColumnWidth; + float OuterPaddingX; + float CellPaddingX; // Padding from each borders. Locked in BeginTable()/Layout. + float CellSpacingX1; // Spacing between non-bordered cells. Locked in BeginTable()/Layout. + float CellSpacingX2; + float InnerWidth; // User value passed to BeginTable(), see comments at the top of BeginTable() for details. + float ColumnsGivenWidth; // Sum of current column width + float ColumnsAutoFitWidth; // Sum of ideal column width in order nothing to be clipped, used for auto-fitting and content width submission in outer window + float ColumnsStretchSumWeights; // Sum of weight of all enabled stretching columns + float ResizedColumnNextWidth; + float ResizeLockMinContentsX2; // Lock minimum contents width while resizing down in order to not create feedback loops. But we allow growing the table. + float RefScale; // Reference scale to be able to rescale columns on font/dpi changes. + float AngledHeadersHeight; // Set by TableAngledHeadersRow(), used in TableUpdateLayout() + float AngledHeadersSlope; // Set by TableAngledHeadersRow(), used in TableUpdateLayout() + ImRect OuterRect; // Note: for non-scrolling table, OuterRect.Max.y is often FLT_MAX until EndTable(), unless a height has been specified in BeginTable(). + ImRect InnerRect; // InnerRect but without decoration. As with OuterRect, for non-scrolling tables, InnerRect.Max.y is + ImRect WorkRect; + ImRect InnerClipRect; + ImRect BgClipRect; // We use this to cpu-clip cell background color fill, evolve during the frame as we cross frozen rows boundaries + ImRect Bg0ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG0/1 channel. This tends to be == OuterWindow->ClipRect at BeginTable() because output in BG0/BG1 is cpu-clipped + ImRect Bg2ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG2 channel. This tends to be a correct, tight-fit, because output to BG2 are done by widgets relying on regular ClipRect. + ImRect HostClipRect; // This is used to check if we can eventually merge our columns draw calls into the current draw call of the current window. + ImRect HostBackupInnerClipRect; // Backup of InnerWindow->ClipRect during PushTableBackground()/PopTableBackground() + ImGuiWindow* OuterWindow; // Parent window for the table + ImGuiWindow* InnerWindow; // Window holding the table data (== OuterWindow or a child window) + ImGuiTextBuffer ColumnsNames; // Contiguous buffer holding columns names + ImDrawListSplitter* DrawSplitter; // Shortcut to TempData->DrawSplitter while in table. Isolate draw commands per columns to avoid switching clip rect constantly + ImGuiTableInstanceData InstanceDataFirst; + ImVector InstanceDataExtra; // FIXME-OPT: Using a small-vector pattern would be good. + ImGuiTableColumnSortSpecs SortSpecsSingle; + ImVector SortSpecsMulti; // FIXME-OPT: Using a small-vector pattern would be good. + ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs() + ImGuiTableColumnIdx SortSpecsCount; + ImGuiTableColumnIdx ColumnsEnabledCount; // Number of enabled columns (<= ColumnsCount) + ImGuiTableColumnIdx ColumnsEnabledFixedCount; // Number of enabled columns using fixed width (<= ColumnsCount) + ImGuiTableColumnIdx DeclColumnsCount; // Count calls to TableSetupColumn() + ImGuiTableColumnIdx AngledHeadersCount; // Count columns with angled headers + ImGuiTableColumnIdx HoveredColumnBody; // Index of column whose visible region is being hovered. Important: == ColumnsCount when hovering empty region after the right-most column! + ImGuiTableColumnIdx HoveredColumnBorder; // Index of column whose right-border is being hovered (for resizing). + ImGuiTableColumnIdx HighlightColumnHeader; // Index of column which should be highlighted. + ImGuiTableColumnIdx AutoFitSingleColumn; // Index of single column requesting auto-fit. + ImGuiTableColumnIdx ResizedColumn; // Index of column being resized. Reset when InstanceCurrent==0. + ImGuiTableColumnIdx LastResizedColumn; // Index of column being resized from previous frame. + ImGuiTableColumnIdx HeldHeaderColumn; // Index of column header being held. + ImGuiTableColumnIdx ReorderColumn; // Index of column being reordered. (not cleared) + ImGuiTableColumnIdx ReorderColumnDir; // -1 or +1 + ImGuiTableColumnIdx LeftMostEnabledColumn; // Index of left-most non-hidden column. + ImGuiTableColumnIdx RightMostEnabledColumn; // Index of right-most non-hidden column. + ImGuiTableColumnIdx LeftMostStretchedColumn; // Index of left-most stretched column. + ImGuiTableColumnIdx RightMostStretchedColumn; // Index of right-most stretched column. + ImGuiTableColumnIdx ContextPopupColumn; // Column right-clicked on, of -1 if opening context menu from a neutral/empty spot + ImGuiTableColumnIdx FreezeRowsRequest; // Requested frozen rows count + ImGuiTableColumnIdx FreezeRowsCount; // Actual frozen row count (== FreezeRowsRequest, or == 0 when no scrolling offset) + ImGuiTableColumnIdx FreezeColumnsRequest; // Requested frozen columns count + ImGuiTableColumnIdx FreezeColumnsCount; // Actual frozen columns count (== FreezeColumnsRequest, or == 0 when no scrolling offset) + ImGuiTableColumnIdx RowCellDataCurrent; // Index of current RowCellData[] entry in current row + ImGuiTableDrawChannelIdx DummyDrawChannel; // Redirect non-visible columns here. + ImGuiTableDrawChannelIdx Bg2DrawChannelCurrent; // For Selectable() and other widgets drawing across columns after the freezing line. Index within DrawSplitter.Channels[] + ImGuiTableDrawChannelIdx Bg2DrawChannelUnfrozen; + ImS8 NavLayer; // ImGuiNavLayer at the time of BeginTable(). + bool IsLayoutLocked; // Set by TableUpdateLayout() which is called when beginning the first row. + bool IsInsideRow; // Set when inside TableBeginRow()/TableEndRow(). + bool IsInitializing; + bool IsSortSpecsDirty; + bool IsUsingHeaders; // Set when the first row had the ImGuiTableRowFlags_Headers flag. + bool IsContextPopupOpen; // Set when default context menu is open (also see: ContextPopupColumn, InstanceInteracted). + bool DisableDefaultContextMenu; // Disable default context menu contents. You may submit your own using TableBeginContextMenuPopup()/EndPopup() + bool IsSettingsRequestLoad; + bool IsSettingsDirty; // Set when table settings have changed and needs to be reported into ImGuiTableSetttings data. + bool IsDefaultDisplayOrder; // Set when display order is unchanged from default (DisplayOrder contains 0...Count-1) + bool IsResetAllRequest; + bool IsResetDisplayOrderRequest; + bool IsUnfrozenRows; // Set when we got past the frozen row. + bool IsDefaultSizingPolicy; // Set if user didn't explicitly set a sizing policy in BeginTable() + bool IsActiveIdAliveBeforeTable; + bool IsActiveIdInTable; + bool HasScrollbarYCurr; // Whether ANY instance of this table had a vertical scrollbar during the current frame. + bool HasScrollbarYPrev; // Whether ANY instance of this table had a vertical scrollbar during the previous. + bool MemoryCompacted; + bool HostSkipItems; // Backup of InnerWindow->SkipItem at the end of BeginTable(), because we will overwrite InnerWindow->SkipItem on a per-column basis + + ImGuiTable() { memset(this, 0, sizeof(*this)); LastFrameActive = -1; } + ~ImGuiTable() { IM_FREE(RawData); } +}; + +// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table). +// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure. +// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics. +// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs. +// sizeof() ~ 136 bytes. +struct IMGUI_API ImGuiTableTempData +{ + int TableIndex; // Index in g.Tables.Buf[] pool + float LastTimeActive; // Last timestamp this structure was used + float AngledHeadersExtraWidth; // Used in EndTable() + ImVector AngledHeadersRequests; // Used in TableAngledHeadersRow() + + ImVec2 UserOuterSize; // outer_size.x passed to BeginTable() + ImDrawListSplitter DrawSplitter; + + ImRect HostBackupWorkRect; // Backup of InnerWindow->WorkRect at the end of BeginTable() + ImRect HostBackupParentWorkRect; // Backup of InnerWindow->ParentWorkRect at the end of BeginTable() + ImVec2 HostBackupPrevLineSize; // Backup of InnerWindow->DC.PrevLineSize at the end of BeginTable() + ImVec2 HostBackupCurrLineSize; // Backup of InnerWindow->DC.CurrLineSize at the end of BeginTable() + ImVec2 HostBackupCursorMaxPos; // Backup of InnerWindow->DC.CursorMaxPos at the end of BeginTable() + ImVec1 HostBackupColumnsOffset; // Backup of OuterWindow->DC.ColumnsOffset at the end of BeginTable() + float HostBackupItemWidth; // Backup of OuterWindow->DC.ItemWidth at the end of BeginTable() + int HostBackupItemWidthStackSize;//Backup of OuterWindow->DC.ItemWidthStack.Size at the end of BeginTable() + + ImGuiTableTempData() { memset(this, 0, sizeof(*this)); LastTimeActive = -1.0f; } +}; + +// sizeof() ~ 16 +struct ImGuiTableColumnSettings +{ + float WidthOrWeight; + ImGuiID UserID; + ImGuiTableColumnIdx Index; + ImGuiTableColumnIdx DisplayOrder; + ImGuiTableColumnIdx SortOrder; + ImU8 SortDirection : 2; + ImS8 IsEnabled : 2; // "Visible" in ini file + ImU8 IsStretch : 1; + + ImGuiTableColumnSettings() + { + WidthOrWeight = 0.0f; + UserID = 0; + Index = -1; + DisplayOrder = SortOrder = -1; + SortDirection = ImGuiSortDirection_None; + IsEnabled = -1; + IsStretch = 0; + } +}; + +// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.) +struct ImGuiTableSettings +{ + ImGuiID ID; // Set to 0 to invalidate/delete the setting + ImGuiTableFlags SaveFlags; // Indicate data we want to save using the Resizable/Reorderable/Sortable/Hideable flags (could be using its own flags..) + float RefScale; // Reference scale to be able to rescale columns on font/dpi changes. + ImGuiTableColumnIdx ColumnsCount; + ImGuiTableColumnIdx ColumnsCountMax; // Maximum number of columns this settings instance can store, we can recycle a settings instance with lower number of columns but not higher + bool WantApply; // Set when loaded from .ini data (to enable merging/loading .ini data into an already running context) + + ImGuiTableSettings() { memset(this, 0, sizeof(*this)); } + ImGuiTableColumnSettings* GetColumnSettings() { return (ImGuiTableColumnSettings*)(this + 1); } +}; + +//----------------------------------------------------------------------------- +// [SECTION] ImGui internal API +// No guarantee of forward compatibility here! +//----------------------------------------------------------------------------- + +namespace ImGui +{ + // Windows + // We should always have a CurrentWindow in the stack (there is an implicit "Debug" window) + // If this ever crashes because g.CurrentWindow is NULL, it means that either: + // - ImGui::NewFrame() has never been called, which is illegal. + // - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal. + IMGUI_API ImGuiIO& GetIO(ImGuiContext* ctx); + IMGUI_API ImGuiPlatformIO& GetPlatformIO(ImGuiContext* ctx); + inline ImGuiWindow* GetCurrentWindowRead() { ImGuiContext& g = *GImGui; return g.CurrentWindow; } + inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; } + IMGUI_API ImGuiWindow* FindWindowByID(ImGuiID id); + IMGUI_API ImGuiWindow* FindWindowByName(const char* name); + IMGUI_API void UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parent_window); + IMGUI_API void UpdateWindowSkipRefresh(ImGuiWindow* window); + IMGUI_API ImVec2 CalcWindowNextAutoFitSize(ImGuiWindow* window); + IMGUI_API bool IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy); + IMGUI_API bool IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent); + IMGUI_API bool IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below); + IMGUI_API bool IsWindowNavFocusable(ImGuiWindow* window); + IMGUI_API void SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond = 0); + IMGUI_API void SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond cond = 0); + IMGUI_API void SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiCond cond = 0); + IMGUI_API void SetWindowHitTestHole(ImGuiWindow* window, const ImVec2& pos, const ImVec2& size); + IMGUI_API void SetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window); + inline void SetWindowParentWindowForFocusRoute(ImGuiWindow* window, ImGuiWindow* parent_window) { window->ParentWindowForFocusRoute = parent_window; } + inline ImRect WindowRectAbsToRel(ImGuiWindow* window, const ImRect& r) { ImVec2 off = window->DC.CursorStartPos; return ImRect(r.Min.x - off.x, r.Min.y - off.y, r.Max.x - off.x, r.Max.y - off.y); } + inline ImRect WindowRectRelToAbs(ImGuiWindow* window, const ImRect& r) { ImVec2 off = window->DC.CursorStartPos; return ImRect(r.Min.x + off.x, r.Min.y + off.y, r.Max.x + off.x, r.Max.y + off.y); } + inline ImVec2 WindowPosAbsToRel(ImGuiWindow* window, const ImVec2& p) { ImVec2 off = window->DC.CursorStartPos; return ImVec2(p.x - off.x, p.y - off.y); } + inline ImVec2 WindowPosRelToAbs(ImGuiWindow* window, const ImVec2& p) { ImVec2 off = window->DC.CursorStartPos; return ImVec2(p.x + off.x, p.y + off.y); } + + // Windows: Display Order and Focus Order + IMGUI_API void FocusWindow(ImGuiWindow* window, ImGuiFocusRequestFlags flags = 0); + IMGUI_API void FocusTopMostWindowUnderOne(ImGuiWindow* under_this_window, ImGuiWindow* ignore_window, ImGuiViewport* filter_viewport, ImGuiFocusRequestFlags flags); + IMGUI_API void BringWindowToFocusFront(ImGuiWindow* window); + IMGUI_API void BringWindowToDisplayFront(ImGuiWindow* window); + IMGUI_API void BringWindowToDisplayBack(ImGuiWindow* window); + IMGUI_API void BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* above_window); + IMGUI_API int FindWindowDisplayIndex(ImGuiWindow* window); + IMGUI_API ImGuiWindow* FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window); + + // Windows: Idle, Refresh Policies [EXPERIMENTAL] + IMGUI_API void SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags); + + // Fonts, drawing + IMGUI_API void SetCurrentFont(ImFont* font); + inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; } + IMGUI_API void PushPasswordFont(); + inline ImDrawList* GetForegroundDrawList(ImGuiWindow* window) { IM_UNUSED(window); return GetForegroundDrawList(); } // This seemingly unnecessary wrapper simplifies compatibility between the 'master' and 'docking' branches. + IMGUI_API ImDrawList* GetBackgroundDrawList(ImGuiViewport* viewport); // get background draw list for the given viewport. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. + IMGUI_API ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport); // get foreground draw list for the given viewport. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. + IMGUI_API void AddDrawListToDrawDataEx(ImDrawData* draw_data, ImVector* out_list, ImDrawList* draw_list); + + // Init + IMGUI_API void Initialize(); + IMGUI_API void Shutdown(); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext(). + + // NewFrame + IMGUI_API void UpdateInputEvents(bool trickle_fast_inputs); + IMGUI_API void UpdateHoveredWindowAndCaptureFlags(); + IMGUI_API void FindHoveredWindowEx(const ImVec2& pos, bool find_first_and_in_any_viewport, ImGuiWindow** out_hovered_window, ImGuiWindow** out_hovered_window_under_moving_window); + IMGUI_API void StartMouseMovingWindow(ImGuiWindow* window); + IMGUI_API void UpdateMouseMovingWindowNewFrame(); + IMGUI_API void UpdateMouseMovingWindowEndFrame(); + + // Generic context hooks + IMGUI_API ImGuiID AddContextHook(ImGuiContext* context, const ImGuiContextHook* hook); + IMGUI_API void RemoveContextHook(ImGuiContext* context, ImGuiID hook_to_remove); + IMGUI_API void CallContextHooks(ImGuiContext* context, ImGuiContextHookType type); + + // Viewports + IMGUI_API void ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale); + IMGUI_API void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport); + + // Settings + IMGUI_API void MarkIniSettingsDirty(); + IMGUI_API void MarkIniSettingsDirty(ImGuiWindow* window); + IMGUI_API void ClearIniSettings(); + IMGUI_API void AddSettingsHandler(const ImGuiSettingsHandler* handler); + IMGUI_API void RemoveSettingsHandler(const char* type_name); + IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name); + + // Settings - Windows + IMGUI_API ImGuiWindowSettings* CreateNewWindowSettings(const char* name); + IMGUI_API ImGuiWindowSettings* FindWindowSettingsByID(ImGuiID id); + IMGUI_API ImGuiWindowSettings* FindWindowSettingsByWindow(ImGuiWindow* window); + IMGUI_API void ClearWindowSettings(const char* name); + + // Localization + IMGUI_API void LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count); + inline const char* LocalizeGetMsg(ImGuiLocKey key) { ImGuiContext& g = *GImGui; const char* msg = g.LocalizationTable[key]; return msg ? msg : "*Missing Text*"; } + + // Scrolling + IMGUI_API void SetScrollX(ImGuiWindow* window, float scroll_x); + IMGUI_API void SetScrollY(ImGuiWindow* window, float scroll_y); + IMGUI_API void SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio); + IMGUI_API void SetScrollFromPosY(ImGuiWindow* window, float local_y, float center_y_ratio); + + // Early work-in-progress API (ScrollToItem() will become public) + IMGUI_API void ScrollToItem(ImGuiScrollFlags flags = 0); + IMGUI_API void ScrollToRect(ImGuiWindow* window, const ImRect& rect, ImGuiScrollFlags flags = 0); + IMGUI_API ImVec2 ScrollToRectEx(ImGuiWindow* window, const ImRect& rect, ImGuiScrollFlags flags = 0); +//#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + inline void ScrollToBringRectIntoView(ImGuiWindow* window, const ImRect& rect) { ScrollToRect(window, rect, ImGuiScrollFlags_KeepVisibleEdgeY); } +//#endif + + // Basic Accessors + inline ImGuiItemStatusFlags GetItemStatusFlags() { ImGuiContext& g = *GImGui; return g.LastItemData.StatusFlags; } + inline ImGuiItemFlags GetItemFlags() { ImGuiContext& g = *GImGui; return g.LastItemData.ItemFlags; } + inline ImGuiID GetActiveID() { ImGuiContext& g = *GImGui; return g.ActiveId; } + inline ImGuiID GetFocusID() { ImGuiContext& g = *GImGui; return g.NavId; } + IMGUI_API void SetActiveID(ImGuiID id, ImGuiWindow* window); + IMGUI_API void SetFocusID(ImGuiID id, ImGuiWindow* window); + IMGUI_API void ClearActiveID(); + IMGUI_API ImGuiID GetHoveredID(); + IMGUI_API void SetHoveredID(ImGuiID id); + IMGUI_API void KeepAliveID(ImGuiID id); + IMGUI_API void MarkItemEdited(ImGuiID id); // Mark data associated to given item as "edited", used by IsItemDeactivatedAfterEdit() function. + IMGUI_API void PushOverrideID(ImGuiID id); // Push given value as-is at the top of the ID stack (whereas PushID combines old and new hashes) + IMGUI_API ImGuiID GetIDWithSeed(const char* str_id_begin, const char* str_id_end, ImGuiID seed); + IMGUI_API ImGuiID GetIDWithSeed(int n, ImGuiID seed); + + // Basic Helpers for widget code + IMGUI_API void ItemSize(const ImVec2& size, float text_baseline_y = -1.0f); + inline void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f) { ItemSize(bb.GetSize(), text_baseline_y); } // FIXME: This is a misleading API since we expect CursorPos to be bb.Min. + IMGUI_API bool ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb = NULL, ImGuiItemFlags extra_flags = 0); + IMGUI_API bool ItemHoverable(const ImRect& bb, ImGuiID id, ImGuiItemFlags item_flags); + IMGUI_API bool IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFlags flags = 0); + IMGUI_API bool IsClippedEx(const ImRect& bb, ImGuiID id); + IMGUI_API void SetLastItemData(ImGuiID item_id, ImGuiItemFlags item_flags, ImGuiItemStatusFlags status_flags, const ImRect& item_rect); + IMGUI_API ImVec2 CalcItemSize(ImVec2 size, float default_w, float default_h); + IMGUI_API float CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x); + IMGUI_API void PushMultiItemsWidths(int components, float width_full); + IMGUI_API void ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_excess); + + // Parameter stacks (shared) + IMGUI_API const ImGuiStyleVarInfo* GetStyleVarInfo(ImGuiStyleVar idx); + IMGUI_API void BeginDisabledOverrideReenable(); + IMGUI_API void EndDisabledOverrideReenable(); + + // Logging/Capture + IMGUI_API void LogBegin(ImGuiLogFlags flags, int auto_open_depth); // -> BeginCapture() when we design v2 api, for now stay under the radar by using the old name. + IMGUI_API void LogToBuffer(int auto_open_depth = -1); // Start logging/capturing to internal buffer + IMGUI_API void LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end = NULL); + IMGUI_API void LogSetNextTextDecoration(const char* prefix, const char* suffix); + + // Childs + IMGUI_API bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags); + + // Popups, Modals + IMGUI_API bool BeginPopupEx(ImGuiID id, ImGuiWindowFlags extra_window_flags); + IMGUI_API void OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags = ImGuiPopupFlags_None); + IMGUI_API void ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup); + IMGUI_API void ClosePopupsOverWindow(ImGuiWindow* ref_window, bool restore_focus_to_window_under_popup); + IMGUI_API void ClosePopupsExceptModals(); + IMGUI_API bool IsPopupOpen(ImGuiID id, ImGuiPopupFlags popup_flags); + IMGUI_API ImRect GetPopupAllowedExtentRect(ImGuiWindow* window); + IMGUI_API ImGuiWindow* GetTopMostPopupModal(); + IMGUI_API ImGuiWindow* GetTopMostAndVisiblePopupModal(); + IMGUI_API ImGuiWindow* FindBlockingModal(ImGuiWindow* window); + IMGUI_API ImVec2 FindBestWindowPosForPopup(ImGuiWindow* window); + IMGUI_API ImVec2 FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy); + + // Tooltips + IMGUI_API bool BeginTooltipEx(ImGuiTooltipFlags tooltip_flags, ImGuiWindowFlags extra_window_flags); + IMGUI_API bool BeginTooltipHidden(); + + // Menus + IMGUI_API bool BeginViewportSideBar(const char* name, ImGuiViewport* viewport, ImGuiDir dir, float size, ImGuiWindowFlags window_flags); + IMGUI_API bool BeginMenuEx(const char* label, const char* icon, bool enabled = true); + IMGUI_API bool MenuItemEx(const char* label, const char* icon, const char* shortcut = NULL, bool selected = false, bool enabled = true); + + // Combos + IMGUI_API bool BeginComboPopup(ImGuiID popup_id, const ImRect& bb, ImGuiComboFlags flags); + IMGUI_API bool BeginComboPreview(); + IMGUI_API void EndComboPreview(); + + // Keyboard/Gamepad Navigation + IMGUI_API void NavInitWindow(ImGuiWindow* window, bool force_reinit); + IMGUI_API void NavInitRequestApplyResult(); + IMGUI_API bool NavMoveRequestButNoResultYet(); + IMGUI_API void NavMoveRequestSubmit(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavMoveFlags move_flags, ImGuiScrollFlags scroll_flags); + IMGUI_API void NavMoveRequestForward(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavMoveFlags move_flags, ImGuiScrollFlags scroll_flags); + IMGUI_API void NavMoveRequestResolveWithLastItem(ImGuiNavItemData* result); + IMGUI_API void NavMoveRequestResolveWithPastTreeNode(ImGuiNavItemData* result, ImGuiTreeNodeStackData* tree_node_data); + IMGUI_API void NavMoveRequestCancel(); + IMGUI_API void NavMoveRequestApplyResult(); + IMGUI_API void NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags move_flags); + IMGUI_API void NavHighlightActivated(ImGuiID id); + IMGUI_API void NavClearPreferredPosForAxis(ImGuiAxis axis); + IMGUI_API void SetNavCursorVisibleAfterMove(); + IMGUI_API void NavUpdateCurrentWindowIsScrollPushableX(); + IMGUI_API void SetNavWindow(ImGuiWindow* window); + IMGUI_API void SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel); + IMGUI_API void SetNavFocusScope(ImGuiID focus_scope_id); + + // Focus/Activation + // This should be part of a larger set of API: FocusItem(offset = -1), FocusItemByID(id), ActivateItem(offset = -1), ActivateItemByID(id) etc. which are + // much harder to design and implement than expected. I have a couple of private branches on this matter but it's not simple. For now implementing the easy ones. + IMGUI_API void FocusItem(); // Focus last item (no selection/activation). + IMGUI_API void ActivateItemByID(ImGuiID id); // Activate an item by ID (button, checkbox, tree node etc.). Activation is queued and processed on the next frame when the item is encountered again. + + // Inputs + // FIXME: Eventually we should aim to move e.g. IsActiveIdUsingKey() into IsKeyXXX functions. + inline bool IsNamedKey(ImGuiKey key) { return key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END; } + inline bool IsNamedKeyOrMod(ImGuiKey key) { return (key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END) || key == ImGuiMod_Ctrl || key == ImGuiMod_Shift || key == ImGuiMod_Alt || key == ImGuiMod_Super; } + inline bool IsLegacyKey(ImGuiKey key) { return key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_LegacyNativeKey_END; } + inline bool IsKeyboardKey(ImGuiKey key) { return key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END; } + inline bool IsGamepadKey(ImGuiKey key) { return key >= ImGuiKey_Gamepad_BEGIN && key < ImGuiKey_Gamepad_END; } + inline bool IsMouseKey(ImGuiKey key) { return key >= ImGuiKey_Mouse_BEGIN && key < ImGuiKey_Mouse_END; } + inline bool IsAliasKey(ImGuiKey key) { return key >= ImGuiKey_Aliases_BEGIN && key < ImGuiKey_Aliases_END; } + inline bool IsLRModKey(ImGuiKey key) { return key >= ImGuiKey_LeftCtrl && key <= ImGuiKey_RightSuper; } + ImGuiKeyChord FixupKeyChord(ImGuiKeyChord key_chord); + inline ImGuiKey ConvertSingleModFlagToKey(ImGuiKey key) + { + if (key == ImGuiMod_Ctrl) return ImGuiKey_ReservedForModCtrl; + if (key == ImGuiMod_Shift) return ImGuiKey_ReservedForModShift; + if (key == ImGuiMod_Alt) return ImGuiKey_ReservedForModAlt; + if (key == ImGuiMod_Super) return ImGuiKey_ReservedForModSuper; + return key; + } + + IMGUI_API ImGuiKeyData* GetKeyData(ImGuiContext* ctx, ImGuiKey key); + inline ImGuiKeyData* GetKeyData(ImGuiKey key) { ImGuiContext& g = *GImGui; return GetKeyData(&g, key); } + IMGUI_API const char* GetKeyChordName(ImGuiKeyChord key_chord); + inline ImGuiKey MouseButtonToKey(ImGuiMouseButton button) { IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); return (ImGuiKey)(ImGuiKey_MouseLeft + button); } + IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f); + IMGUI_API ImVec2 GetKeyMagnitude2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down); + IMGUI_API float GetNavTweakPressedAmount(ImGuiAxis axis); + IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate); + IMGUI_API void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate); + IMGUI_API void TeleportMousePos(const ImVec2& pos); + IMGUI_API void SetActiveIdUsingAllKeyboardKeys(); + inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; } + + // [EXPERIMENTAL] Low-Level: Key/Input Ownership + // - The idea is that instead of "eating" a given input, we can link to an owner id. + // - Ownership is most often claimed as a result of reacting to a press/down event (but occasionally may be claimed ahead). + // - Input queries can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID. + // - Legacy input queries (without specifying an owner or _Any or _None) are equivalent to using ImGuiKeyOwner_Any (== 0). + // - Input ownership is automatically released on the frame after a key is released. Therefore: + // - for ownership registration happening as a result of a down/press event, the SetKeyOwner() call may be done once (common case). + // - for ownership registration happening ahead of a down/press event, the SetKeyOwner() call needs to be made every frame (happens if e.g. claiming ownership on hover). + // - SetItemKeyOwner() is a shortcut for common simple case. A custom widget will probably want to call SetKeyOwner() multiple times directly based on its interaction state. + // - This is marked experimental because not all widgets are fully honoring the Set/Test idioms. We will need to move forward step by step. + // Please open a GitHub Issue to submit your usage scenario or if there's a use case you need solved. + IMGUI_API ImGuiID GetKeyOwner(ImGuiKey key); + IMGUI_API void SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API void SetKeyOwnersForKeyChord(ImGuiKeyChord key, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API void SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags); // Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) { SetKeyOwner(key, GetItemID());'. + IMGUI_API bool TestKeyOwner(ImGuiKey key, ImGuiID owner_id); // Test that key is either not owned, either owned by 'owner_id' + inline ImGuiKeyOwnerData* GetKeyOwnerData(ImGuiContext* ctx, ImGuiKey key) { if (key & ImGuiMod_Mask_) key = ConvertSingleModFlagToKey(key); IM_ASSERT(IsNamedKey(key)); return &ctx->KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; } + + // [EXPERIMENTAL] High-Level: Input Access functions w/ support for Key/Input Ownership + // - Important: legacy IsKeyPressed(ImGuiKey, bool repeat=true) _DEFAULTS_ to repeat, new IsKeyPressed() requires _EXPLICIT_ ImGuiInputFlags_Repeat flag. + // - Expected to be later promoted to public API, the prototypes are designed to replace existing ones (since owner_id can default to Any == 0) + // - Specifying a value for 'ImGuiID owner' will test that EITHER the key is NOT owned (UNLESS locked), EITHER the key is owned by 'owner'. + // Legacy functions use ImGuiKeyOwner_Any meaning that they typically ignore ownership, unless a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. + // - Binding generators may want to ignore those for now, or suffix them with Ex() until we decide if this gets moved into public API. + IMGUI_API bool IsKeyDown(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, ImGuiID owner_id = 0); // Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat. + IMGUI_API bool IsKeyReleased(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsKeyChordPressed(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id = 0); + IMGUI_API bool IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id); + IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, ImGuiInputFlags flags, ImGuiID owner_id = 0); + IMGUI_API bool IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id); + IMGUI_API bool IsMouseDoubleClicked(ImGuiMouseButton button, ImGuiID owner_id); + + // Shortcut Testing & Routing + // - Set Shortcut() and SetNextItemShortcut() in imgui.h + // - When a policy (except for ImGuiInputFlags_RouteAlways *) is set, Shortcut() will register itself with SetShortcutRouting(), + // allowing the system to decide where to route the input among other route-aware calls. + // (* using ImGuiInputFlags_RouteAlways is roughly equivalent to calling IsKeyChordPressed(key) and bypassing route registration and check) + // - When using one of the routing option: + // - The default route is ImGuiInputFlags_RouteFocused (accept inputs if window is in focus stack. Deep-most focused window takes inputs. ActiveId takes inputs over deep-most focused window.) + // - Routes are requested given a chord (key + modifiers) and a routing policy. + // - Routes are resolved during NewFrame(): if keyboard modifiers are matching current ones: SetKeyOwner() is called + route is granted for the frame. + // - Each route may be granted to a single owner. When multiple requests are made we have policies to select the winning route (e.g. deep most window). + // - Multiple read sites may use the same owner id can all access the granted route. + // - When owner_id is 0 we use the current Focus Scope ID as a owner ID in order to identify our location. + // - You can chain two unrelated windows in the focus stack using SetWindowParentWindowForFocusRoute() + // e.g. if you have a tool window associated to a document, and you want document shortcuts to run when the tool is focused. + IMGUI_API bool Shortcut(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id); + IMGUI_API bool SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiInputFlags flags, ImGuiID owner_id); // owner_id needs to be explicit and cannot be 0 + IMGUI_API bool TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id); + IMGUI_API ImGuiKeyRoutingData* GetShortcutRoutingData(ImGuiKeyChord key_chord); + + // [EXPERIMENTAL] Focus Scope + // This is generally used to identify a unique input location (for e.g. a selection set) + // There is one per window (automatically set in Begin), but: + // - Selection patterns generally need to react (e.g. clear a selection) when landing on one item of the set. + // So in order to identify a set multiple lists in same window may each need a focus scope. + // If you imagine an hypothetical BeginSelectionGroup()/EndSelectionGroup() api, it would likely call PushFocusScope()/EndFocusScope() + // - Shortcut routing also use focus scope as a default location identifier if an owner is not provided. + // We don't use the ID Stack for this as it is common to want them separate. + IMGUI_API void PushFocusScope(ImGuiID id); + IMGUI_API void PopFocusScope(); + inline ImGuiID GetCurrentFocusScope() { ImGuiContext& g = *GImGui; return g.CurrentFocusScopeId; } // Focus scope we are outputting into, set by PushFocusScope() + + // Drag and Drop + IMGUI_API bool IsDragDropActive(); + IMGUI_API bool BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id); + IMGUI_API void ClearDragDrop(); + IMGUI_API bool IsDragDropPayloadBeingAccepted(); + IMGUI_API void RenderDragDropTargetRect(const ImRect& bb, const ImRect& item_clip_rect); + + // Typing-Select API + // (provide Windows Explorer style "select items by typing partial name" + "cycle through items by typing same letter" feature) + // (this is currently not documented nor used by main library, but should work. See "widgets_typingselect" in imgui_test_suite for usage code. Please let us know if you use this!) + IMGUI_API ImGuiTypingSelectRequest* GetTypingSelectRequest(ImGuiTypingSelectFlags flags = ImGuiTypingSelectFlags_None); + IMGUI_API int TypingSelectFindMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data, int nav_item_idx); + IMGUI_API int TypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data, int nav_item_idx); + IMGUI_API int TypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data); + + // Box-Select API + IMGUI_API bool BeginBoxSelect(const ImRect& scope_rect, ImGuiWindow* window, ImGuiID box_select_id, ImGuiMultiSelectFlags ms_flags); + IMGUI_API void EndBoxSelect(const ImRect& scope_rect, ImGuiMultiSelectFlags ms_flags); + + // Multi-Select API + IMGUI_API void MultiSelectItemHeader(ImGuiID id, bool* p_selected, ImGuiButtonFlags* p_button_flags); + IMGUI_API void MultiSelectItemFooter(ImGuiID id, bool* p_selected, bool* p_pressed); + IMGUI_API void MultiSelectAddSetAll(ImGuiMultiSelectTempData* ms, bool selected); + IMGUI_API void MultiSelectAddSetRange(ImGuiMultiSelectTempData* ms, bool selected, int range_dir, ImGuiSelectionUserData first_item, ImGuiSelectionUserData last_item); + inline ImGuiBoxSelectState* GetBoxSelectState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.BoxSelectState.ID == id && g.BoxSelectState.IsActive) ? &g.BoxSelectState : NULL; } + inline ImGuiMultiSelectState* GetMultiSelectState(ImGuiID id) { ImGuiContext& g = *GImGui; return g.MultiSelectStorage.GetByKey(id); } + + // Internal Columns API (this is not exposed because we will encourage transitioning to the Tables API) + IMGUI_API void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect); + IMGUI_API void BeginColumns(const char* str_id, int count, ImGuiOldColumnFlags flags = 0); // setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns(). + IMGUI_API void EndColumns(); // close columns + IMGUI_API void PushColumnClipRect(int column_index); + IMGUI_API void PushColumnsBackground(); + IMGUI_API void PopColumnsBackground(); + IMGUI_API ImGuiID GetColumnsID(const char* str_id, int count); + IMGUI_API ImGuiOldColumns* FindOrCreateColumns(ImGuiWindow* window, ImGuiID id); + IMGUI_API float GetColumnOffsetFromNorm(const ImGuiOldColumns* columns, float offset_norm); + IMGUI_API float GetColumnNormFromOffset(const ImGuiOldColumns* columns, float offset); + + // Tables: Candidates for public API + IMGUI_API void TableOpenContextMenu(int column_n = -1); + IMGUI_API void TableSetColumnWidth(int column_n, float width); + IMGUI_API void TableSetColumnSortDirection(int column_n, ImGuiSortDirection sort_direction, bool append_to_sort_specs); + IMGUI_API int TableGetHoveredRow(); // Retrieve *PREVIOUS FRAME* hovered row. This difference with TableGetHoveredColumn() is the reason why this is not public yet. + IMGUI_API float TableGetHeaderRowHeight(); + IMGUI_API float TableGetHeaderAngledMaxLabelWidth(); + IMGUI_API void TablePushBackgroundChannel(); + IMGUI_API void TablePopBackgroundChannel(); + IMGUI_API void TableAngledHeadersRowEx(ImGuiID row_id, float angle, float max_label_width, const ImGuiTableHeaderData* data, int data_count); + + // Tables: Internals + inline ImGuiTable* GetCurrentTable() { ImGuiContext& g = *GImGui; return g.CurrentTable; } + IMGUI_API ImGuiTable* TableFindByID(ImGuiID id); + IMGUI_API bool BeginTableEx(const char* name, ImGuiID id, int columns_count, ImGuiTableFlags flags = 0, const ImVec2& outer_size = ImVec2(0, 0), float inner_width = 0.0f); + IMGUI_API void TableBeginInitMemory(ImGuiTable* table, int columns_count); + IMGUI_API void TableBeginApplyRequests(ImGuiTable* table); + IMGUI_API void TableSetupDrawChannels(ImGuiTable* table); + IMGUI_API void TableUpdateLayout(ImGuiTable* table); + IMGUI_API void TableUpdateBorders(ImGuiTable* table); + IMGUI_API void TableUpdateColumnsWeightFromWidth(ImGuiTable* table); + IMGUI_API void TableDrawBorders(ImGuiTable* table); + IMGUI_API void TableDrawDefaultContextMenu(ImGuiTable* table, ImGuiTableFlags flags_for_section_to_display); + IMGUI_API bool TableBeginContextMenuPopup(ImGuiTable* table); + IMGUI_API void TableMergeDrawChannels(ImGuiTable* table); + inline ImGuiTableInstanceData* TableGetInstanceData(ImGuiTable* table, int instance_no) { if (instance_no == 0) return &table->InstanceDataFirst; return &table->InstanceDataExtra[instance_no - 1]; } + inline ImGuiID TableGetInstanceID(ImGuiTable* table, int instance_no) { return TableGetInstanceData(table, instance_no)->TableInstanceID; } + IMGUI_API void TableSortSpecsSanitize(ImGuiTable* table); + IMGUI_API void TableSortSpecsBuild(ImGuiTable* table); + IMGUI_API ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumn* column); + IMGUI_API void TableFixColumnSortDirection(ImGuiTable* table, ImGuiTableColumn* column); + IMGUI_API float TableGetColumnWidthAuto(ImGuiTable* table, ImGuiTableColumn* column); + IMGUI_API void TableBeginRow(ImGuiTable* table); + IMGUI_API void TableEndRow(ImGuiTable* table); + IMGUI_API void TableBeginCell(ImGuiTable* table, int column_n); + IMGUI_API void TableEndCell(ImGuiTable* table); + IMGUI_API ImRect TableGetCellBgRect(const ImGuiTable* table, int column_n); + IMGUI_API const char* TableGetColumnName(const ImGuiTable* table, int column_n); + IMGUI_API ImGuiID TableGetColumnResizeID(ImGuiTable* table, int column_n, int instance_no = 0); + IMGUI_API float TableCalcMaxColumnWidth(const ImGuiTable* table, int column_n); + IMGUI_API void TableSetColumnWidthAutoSingle(ImGuiTable* table, int column_n); + IMGUI_API void TableSetColumnWidthAutoAll(ImGuiTable* table); + IMGUI_API void TableRemove(ImGuiTable* table); + IMGUI_API void TableGcCompactTransientBuffers(ImGuiTable* table); + IMGUI_API void TableGcCompactTransientBuffers(ImGuiTableTempData* table); + IMGUI_API void TableGcCompactSettings(); + + // Tables: Settings + IMGUI_API void TableLoadSettings(ImGuiTable* table); + IMGUI_API void TableSaveSettings(ImGuiTable* table); + IMGUI_API void TableResetSettings(ImGuiTable* table); + IMGUI_API ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table); + IMGUI_API void TableSettingsAddSettingsHandler(); + IMGUI_API ImGuiTableSettings* TableSettingsCreate(ImGuiID id, int columns_count); + IMGUI_API ImGuiTableSettings* TableSettingsFindByID(ImGuiID id); + + // Tab Bars + inline ImGuiTabBar* GetCurrentTabBar() { ImGuiContext& g = *GImGui; return g.CurrentTabBar; } + IMGUI_API bool BeginTabBarEx(ImGuiTabBar* tab_bar, const ImRect& bb, ImGuiTabBarFlags flags); + IMGUI_API ImGuiTabItem* TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id); + IMGUI_API ImGuiTabItem* TabBarFindTabByOrder(ImGuiTabBar* tab_bar, int order); + IMGUI_API ImGuiTabItem* TabBarGetCurrentTab(ImGuiTabBar* tab_bar); + inline int TabBarGetTabOrder(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) { return tab_bar->Tabs.index_from_ptr(tab); } + IMGUI_API const char* TabBarGetTabName(ImGuiTabBar* tab_bar, ImGuiTabItem* tab); + IMGUI_API void TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id); + IMGUI_API void TabBarCloseTab(ImGuiTabBar* tab_bar, ImGuiTabItem* tab); + IMGUI_API void TabBarQueueFocus(ImGuiTabBar* tab_bar, ImGuiTabItem* tab); + IMGUI_API void TabBarQueueFocus(ImGuiTabBar* tab_bar, const char* tab_name); + IMGUI_API void TabBarQueueReorder(ImGuiTabBar* tab_bar, ImGuiTabItem* tab, int offset); + IMGUI_API void TabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar, ImGuiTabItem* tab, ImVec2 mouse_pos); + IMGUI_API bool TabBarProcessReorder(ImGuiTabBar* tab_bar); + IMGUI_API bool TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags, ImGuiWindow* docked_window); + IMGUI_API void TabItemSpacing(const char* str_id, ImGuiTabItemFlags flags, float width); + IMGUI_API ImVec2 TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker); + IMGUI_API ImVec2 TabItemCalcSize(ImGuiWindow* window); + IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col); + IMGUI_API void TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_button_id, bool is_contents_visible, bool* out_just_closed, bool* out_text_clipped); + + // Render helpers + // AVOID USING OUTSIDE OF IMGUI.CPP! NOT FOR PUBLIC CONSUMPTION. THOSE FUNCTIONS ARE A MESS. THEIR SIGNATURE AND BEHAVIOR WILL CHANGE, THEY NEED TO BE REFACTORED INTO SOMETHING DECENT. + // NB: All position are in absolute pixels coordinates (we are never using window coordinates internally) + IMGUI_API void RenderText(ImVec2 pos, const char* text, const char* text_end = NULL, bool hide_text_after_hash = true); + IMGUI_API void RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width); + IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); + IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); + IMGUI_API void RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end, const ImVec2* text_size_if_known); + IMGUI_API void RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool borders = true, float rounding = 0.0f); + IMGUI_API void RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding = 0.0f); + IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, float grid_step, ImVec2 grid_off, float rounding = 0.0f, ImDrawFlags flags = 0); + IMGUI_API void RenderNavCursor(const ImRect& bb, ImGuiID id, ImGuiNavRenderCursorFlags flags = ImGuiNavRenderCursorFlags_None); // Navigation highlight +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + inline void RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavRenderCursorFlags flags = ImGuiNavRenderCursorFlags_None) { RenderNavCursor(bb, id, flags); } // Renamed in 1.91.4 +#endif + IMGUI_API const char* FindRenderedTextEnd(const char* text, const char* text_end = NULL); // Find the optional ## from which we stop displaying text. + IMGUI_API void RenderMouseCursor(ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow); + + // Render helpers (those functions don't access any ImGui state!) + IMGUI_API void RenderArrow(ImDrawList* draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale = 1.0f); + IMGUI_API void RenderBullet(ImDrawList* draw_list, ImVec2 pos, ImU32 col); + IMGUI_API void RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz); + IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col); + IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding); + IMGUI_API void RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding); + + // Widgets + IMGUI_API void TextEx(const char* text, const char* text_end = NULL, ImGuiTextFlags flags = 0); + IMGUI_API bool ButtonEx(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0); + IMGUI_API bool ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size_arg, ImGuiButtonFlags flags = 0); + IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col, ImGuiButtonFlags flags = 0); + IMGUI_API void SeparatorEx(ImGuiSeparatorFlags flags, float thickness = 1.0f); + IMGUI_API void SeparatorTextEx(ImGuiID id, const char* label, const char* label_end, float extra_width); + IMGUI_API bool CheckboxFlags(const char* label, ImS64* flags, ImS64 flags_value); + IMGUI_API bool CheckboxFlags(const char* label, ImU64* flags, ImU64 flags_value); + + // Widgets: Window Decorations + IMGUI_API bool CloseButton(ImGuiID id, const ImVec2& pos); + IMGUI_API bool CollapseButton(ImGuiID id, const ImVec2& pos); + IMGUI_API void Scrollbar(ImGuiAxis axis); + IMGUI_API bool ScrollbarEx(const ImRect& bb, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 avail_v, ImS64 contents_v, ImDrawFlags draw_rounding_flags = 0); + IMGUI_API ImRect GetWindowScrollbarRect(ImGuiWindow* window, ImGuiAxis axis); + IMGUI_API ImGuiID GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis); + IMGUI_API ImGuiID GetWindowResizeCornerID(ImGuiWindow* window, int n); // 0..3: corners + IMGUI_API ImGuiID GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir); + + // Widgets low-level behaviors + IMGUI_API bool ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags = 0); + IMGUI_API bool DragBehavior(ImGuiID id, ImGuiDataType data_type, void* p_v, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags); + IMGUI_API bool SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); + IMGUI_API bool SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float* size1, float* size2, float min_size1, float min_size2, float hover_extend = 0.0f, float hover_visibility_delay = 0.0f, ImU32 bg_col = 0); + + // Widgets: Tree Nodes + IMGUI_API bool TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* label, const char* label_end = NULL); + IMGUI_API void TreePushOverrideID(ImGuiID id); + IMGUI_API bool TreeNodeGetOpen(ImGuiID storage_id); + IMGUI_API void TreeNodeSetOpen(ImGuiID storage_id, bool open); + IMGUI_API bool TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags); // Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging. + + // Template functions are instantiated in imgui_widgets.cpp for a finite number of types. + // To use them externally (for custom widget) you may need an "extern template" statement in your code in order to link to existing instances and silence Clang warnings (see #2036). + // e.g. " extern template IMGUI_API float RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, float v); " + template IMGUI_API float ScaleRatioFromValueT(ImGuiDataType data_type, T v, T v_min, T v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_size); + template IMGUI_API T ScaleValueFromRatioT(ImGuiDataType data_type, float t, T v_min, T v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_size); + template IMGUI_API bool DragBehaviorT(ImGuiDataType data_type, T* v, float v_speed, T v_min, T v_max, const char* format, ImGuiSliderFlags flags); + template IMGUI_API bool SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, T* v, T v_min, T v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); + template IMGUI_API T RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, T v); + template IMGUI_API bool CheckboxFlagsT(const char* label, T* flags, T flags_value); + + // Data type helpers + IMGUI_API const ImGuiDataTypeInfo* DataTypeGetInfo(ImGuiDataType data_type); + IMGUI_API int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format); + IMGUI_API void DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const void* arg_1, const void* arg_2); + IMGUI_API bool DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format, void* p_data_when_empty = NULL); + IMGUI_API int DataTypeCompare(ImGuiDataType data_type, const void* arg_1, const void* arg_2); + IMGUI_API bool DataTypeClamp(ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max); + IMGUI_API bool DataTypeIsZero(ImGuiDataType data_type, const void* p_data); + + // InputText + IMGUI_API bool InputTextEx(const char* label, const char* hint, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); + IMGUI_API void InputTextDeactivateHook(ImGuiID id); + IMGUI_API bool TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags); + IMGUI_API bool TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min = NULL, const void* p_clamp_max = NULL); + inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); } + inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active + IMGUI_API void SetNextItemRefVal(ImGuiDataType data_type, void* p_data); + inline bool IsItemActiveAsInputText() { ImGuiContext& g = *GImGui; return g.ActiveId != 0 && g.ActiveId == g.LastItemData.ID && g.InputTextState.ID == g.LastItemData.ID; } // This may be useful to apply workaround that a based on distinguish whenever an item is active as a text input field. + + // Color + IMGUI_API void ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags flags); + IMGUI_API void ColorEditOptionsPopup(const float* col, ImGuiColorEditFlags flags); + IMGUI_API void ColorPickerOptionsPopup(const float* ref_col, ImGuiColorEditFlags flags); + + // Plot + IMGUI_API int PlotEx(ImGuiPlotType plot_type, const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, const ImVec2& size_arg); + + // Shade functions (write over already created vertices) + IMGUI_API void ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1); + IMGUI_API void ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp); + IMGUI_API void ShadeVertsTransformPos(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& pivot_in, float cos_a, float sin_a, const ImVec2& pivot_out); + + // Garbage collection + IMGUI_API void GcCompactTransientMiscBuffers(); + IMGUI_API void GcCompactTransientWindowBuffers(ImGuiWindow* window); + IMGUI_API void GcAwakeTransientWindowBuffers(ImGuiWindow* window); + + // Error handling, State Recovery + IMGUI_API bool ErrorLog(const char* msg); + IMGUI_API void ErrorRecoveryStoreState(ImGuiErrorRecoveryState* state_out); + IMGUI_API void ErrorRecoveryTryToRecoverState(const ImGuiErrorRecoveryState* state_in); + IMGUI_API void ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryState* state_in); + IMGUI_API void ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + IMGUI_API void ErrorCheckEndFrameFinalizeErrorTooltip(); + IMGUI_API bool BeginErrorTooltip(); + IMGUI_API void EndErrorTooltip(); + + // Debug Tools + IMGUI_API void DebugAllocHook(ImGuiDebugAllocInfo* info, int frame_count, void* ptr, size_t size); // size >= 0 : alloc, size = -1 : free + IMGUI_API void DebugDrawCursorPos(ImU32 col = IM_COL32(255, 0, 0, 255)); + IMGUI_API void DebugDrawLineExtents(ImU32 col = IM_COL32(255, 0, 0, 255)); + IMGUI_API void DebugDrawItemRect(ImU32 col = IM_COL32(255, 0, 0, 255)); + IMGUI_API void DebugTextUnformattedWithLocateItem(const char* line_begin, const char* line_end); + IMGUI_API void DebugLocateItem(ImGuiID target_id); // Call sparingly: only 1 at the same time! + IMGUI_API void DebugLocateItemOnHover(ImGuiID target_id); // Only call on reaction to a mouse Hover: because only 1 at the same time! + IMGUI_API void DebugLocateItemResolveWithLastItem(); + IMGUI_API void DebugBreakClearData(); + IMGUI_API bool DebugBreakButton(const char* label, const char* description_of_location); + IMGUI_API void DebugBreakButtonTooltip(bool keyboard_only, const char* description_of_location); + IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas); + IMGUI_API void DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end); + IMGUI_API void DebugNodeColumns(ImGuiOldColumns* columns); + IMGUI_API void DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, const ImDrawList* draw_list, const char* label); + IMGUI_API void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, bool show_aabb); + IMGUI_API void DebugNodeFont(ImFont* font); + IMGUI_API void DebugNodeFontGlyph(ImFont* font, const ImFontGlyph* glyph); + IMGUI_API void DebugNodeStorage(ImGuiStorage* storage, const char* label); + IMGUI_API void DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label); + IMGUI_API void DebugNodeTable(ImGuiTable* table); + IMGUI_API void DebugNodeTableSettings(ImGuiTableSettings* settings); + IMGUI_API void DebugNodeInputTextState(ImGuiInputTextState* state); + IMGUI_API void DebugNodeTypingSelectState(ImGuiTypingSelectState* state); + IMGUI_API void DebugNodeMultiSelectState(ImGuiMultiSelectState* state); + IMGUI_API void DebugNodeWindow(ImGuiWindow* window, const char* label); + IMGUI_API void DebugNodeWindowSettings(ImGuiWindowSettings* settings); + IMGUI_API void DebugNodeWindowsList(ImVector* windows, const char* label); + IMGUI_API void DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack); + IMGUI_API void DebugNodeViewport(ImGuiViewportP* viewport); + IMGUI_API void DebugRenderKeyboardPreview(ImDrawList* draw_list); + IMGUI_API void DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb); + + // Obsolete functions +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + //inline void SetItemUsingMouseWheel() { SetItemKeyOwner(ImGuiKey_MouseWheelY); } // Changed in 1.89 + //inline bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags = 0) { return TreeNodeUpdateNextOpen(id, flags); } // Renamed in 1.89 + //inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { IM_ASSERT(IsNamedKey(key)); return IsKeyPressed(key, repeat); } // Removed in 1.87: Mapping from named key is always identity! + + // Refactored focus/nav/tabbing system in 1.82 and 1.84. If you have old/custom copy-and-pasted widgets which used FocusableItemRegister(): + // (Old) IMGUI_VERSION_NUM < 18209: using 'ItemAdd(....)' and 'bool tab_focused = FocusableItemRegister(...)' + // (Old) IMGUI_VERSION_NUM >= 18209: using 'ItemAdd(..., ImGuiItemAddFlags_Focusable)' and 'bool tab_focused = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Focused) != 0' + // (New) IMGUI_VERSION_NUM >= 18413: using 'ItemAdd(..., ImGuiItemFlags_Inputable)' and 'bool tab_focused = (g.NavActivateId == id && (g.NavActivateFlags & ImGuiActivateFlags_PreferInput))' + //inline bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id) // -> pass ImGuiItemAddFlags_Inputable flag to ItemAdd() + //inline void FocusableItemUnregister(ImGuiWindow* window) // -> unnecessary: TempInputText() uses ImGuiInputTextFlags_MergedItem +#endif + +} // namespace ImGui + + +//----------------------------------------------------------------------------- +// [SECTION] ImFontAtlas internal API +//----------------------------------------------------------------------------- + +// This structure is likely to evolve as we add support for incremental atlas updates. +// Conceptually this could be in ImGuiPlatformIO, but we are far from ready to make this public. +struct ImFontBuilderIO +{ + bool (*FontBuilder_Build)(ImFontAtlas* atlas); +}; + +// Helper for font builder +#ifdef IMGUI_ENABLE_STB_TRUETYPE +IMGUI_API const ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype(); +#endif +IMGUI_API void ImFontAtlasUpdateSourcesPointers(ImFontAtlas* atlas); +IMGUI_API void ImFontAtlasBuildInit(ImFontAtlas* atlas); +IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* src, float ascent, float descent); +IMGUI_API void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opaque); +IMGUI_API void ImFontAtlasBuildFinish(ImFontAtlas* atlas); +IMGUI_API void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned char in_marker_pixel_value); +IMGUI_API void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned int in_marker_pixel_value); +IMGUI_API void ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], float in_multiply_factor); +IMGUI_API void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char* pixels, int x, int y, int w, int h, int stride); +IMGUI_API void ImFontAtlasBuildGetOversampleFactors(const ImFontConfig* src, int* out_oversample_h, int* out_oversample_v); + +IMGUI_API bool ImFontAtlasGetMouseCursorTexData(ImFontAtlas* atlas, ImGuiMouseCursor cursor_type, ImVec2* out_offset, ImVec2* out_size, ImVec2 out_uv_border[2], ImVec2 out_uv_fill[2]); + +//----------------------------------------------------------------------------- +// [SECTION] Test Engine specific hooks (imgui_test_engine) +//----------------------------------------------------------------------------- + +#ifdef IMGUI_ENABLE_TEST_ENGINE +extern void ImGuiTestEngineHook_ItemAdd(ImGuiContext* ctx, ImGuiID id, const ImRect& bb, const ImGuiLastItemData* item_data); // item_data may be NULL +extern void ImGuiTestEngineHook_ItemInfo(ImGuiContext* ctx, ImGuiID id, const char* label, ImGuiItemStatusFlags flags); +extern void ImGuiTestEngineHook_Log(ImGuiContext* ctx, const char* fmt, ...); +extern const char* ImGuiTestEngine_FindItemDebugLabel(ImGuiContext* ctx, ImGuiID id); + +// In IMGUI_VERSION_NUM >= 18934: changed IMGUI_TEST_ENGINE_ITEM_ADD(bb,id) to IMGUI_TEST_ENGINE_ITEM_ADD(id,bb,item_data); +#define IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemAdd(&g, _ID, _BB, _ITEM_DATA) // Register item bounding box +#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemInfo(&g, _ID, _LABEL, _FLAGS) // Register item label and status flags (optional) +#define IMGUI_TEST_ENGINE_LOG(_FMT,...) ImGuiTestEngineHook_Log(&g, _FMT, __VA_ARGS__) // Custom log entry from user land into test log +#else +#define IMGUI_TEST_ENGINE_ITEM_ADD(_BB,_ID) ((void)0) +#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) ((void)g) +#endif + +//----------------------------------------------------------------------------- + +#if defined(__clang__) +#pragma clang diagnostic pop +#elif defined(__GNUC__) +#pragma GCC diagnostic pop +#endif + +#ifdef _MSC_VER +#pragma warning (pop) +#endif + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_tables.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_tables.cpp new file mode 100644 index 0000000..f6aff8c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_tables.cpp @@ -0,0 +1,4523 @@ +// dear imgui, v1.91.9 WIP +// (tables and columns code) + +/* + +Index of this file: + +// [SECTION] Commentary +// [SECTION] Header mess +// [SECTION] Tables: Main code +// [SECTION] Tables: Simple accessors +// [SECTION] Tables: Row changes +// [SECTION] Tables: Columns changes +// [SECTION] Tables: Columns width management +// [SECTION] Tables: Drawing +// [SECTION] Tables: Sorting +// [SECTION] Tables: Headers +// [SECTION] Tables: Context Menu +// [SECTION] Tables: Settings (.ini data) +// [SECTION] Tables: Garbage Collection +// [SECTION] Tables: Debugging +// [SECTION] Columns, BeginColumns, EndColumns, etc. + +*/ + +// Navigating this file: +// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments. +// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments. + +//----------------------------------------------------------------------------- +// [SECTION] Commentary +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Typical tables call flow: (root level is generally public API): +//----------------------------------------------------------------------------- +// - BeginTable() user begin into a table +// | BeginChild() - (if ScrollX/ScrollY is set) +// | TableBeginInitMemory() - first time table is used +// | TableResetSettings() - on settings reset +// | TableLoadSettings() - on settings load +// | TableBeginApplyRequests() - apply queued resizing/reordering/hiding requests +// | - TableSetColumnWidth() - apply resizing width (for mouse resize, often requested by previous frame) +// | - TableUpdateColumnsWeightFromWidth()- recompute columns weights (of stretch columns) from their respective width +// - TableSetupColumn() user submit columns details (optional) +// - TableSetupScrollFreeze() user submit scroll freeze information (optional) +//----------------------------------------------------------------------------- +// - TableUpdateLayout() [Internal] followup to BeginTable(): setup everything: widths, columns positions, clipping rectangles. Automatically called by the FIRST call to TableNextRow() or TableHeadersRow(). +// | TableSetupDrawChannels() - setup ImDrawList channels +// | TableUpdateBorders() - detect hovering columns for resize, ahead of contents submission +// | TableBeginContextMenuPopup() +// | - TableDrawDefaultContextMenu() - draw right-click context menu contents +//----------------------------------------------------------------------------- +// - TableHeadersRow() or TableHeader() user submit a headers row (optional) +// | TableSortSpecsClickColumn() - when left-clicked: alter sort order and sort direction +// | TableOpenContextMenu() - when right-clicked: trigger opening of the default context menu +// - TableGetSortSpecs() user queries updated sort specs (optional, generally after submitting headers) +// - TableNextRow() user begin into a new row (also automatically called by TableHeadersRow()) +// | TableEndRow() - finish existing row +// | TableBeginRow() - add a new row +// - TableSetColumnIndex() / TableNextColumn() user begin into a cell +// | TableEndCell() - close existing column/cell +// | TableBeginCell() - enter into current column/cell +// - [...] user emit contents +//----------------------------------------------------------------------------- +// - EndTable() user ends the table +// | TableDrawBorders() - draw outer borders, inner vertical borders +// | TableMergeDrawChannels() - merge draw channels if clipping isn't required +// | EndChild() - (if ScrollX/ScrollY is set) +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// TABLE SIZING +//----------------------------------------------------------------------------- +// (Read carefully because this is subtle but it does make sense!) +//----------------------------------------------------------------------------- +// About 'outer_size': +// Its meaning needs to differ slightly depending on if we are using ScrollX/ScrollY flags. +// Default value is ImVec2(0.0f, 0.0f). +// X +// - outer_size.x <= 0.0f -> Right-align from window/work-rect right-most edge. With -FLT_MIN or 0.0f will align exactly on right-most edge. +// - outer_size.x > 0.0f -> Set Fixed width. +// Y with ScrollX/ScrollY disabled: we output table directly in current window +// - outer_size.y < 0.0f -> Bottom-align (but will auto extend, unless _NoHostExtendY is set). Not meaningful if parent window can vertically scroll. +// - outer_size.y = 0.0f -> No minimum height (but will auto extend, unless _NoHostExtendY is set) +// - outer_size.y > 0.0f -> Set Minimum height (but will auto extend, unless _NoHostExtendY is set) +// Y with ScrollX/ScrollY enabled: using a child window for scrolling +// - outer_size.y < 0.0f -> Bottom-align. Not meaningful if parent window can vertically scroll. +// - outer_size.y = 0.0f -> Bottom-align, consistent with BeginChild(). Not recommended unless table is last item in parent window. +// - outer_size.y > 0.0f -> Set Exact height. Recommended when using Scrolling on any axis. +//----------------------------------------------------------------------------- +// Outer size is also affected by the NoHostExtendX/NoHostExtendY flags. +// Important to note how the two flags have slightly different behaviors! +// - ImGuiTableFlags_NoHostExtendX -> Make outer width auto-fit to columns (overriding outer_size.x value). Only available when ScrollX/ScrollY are disabled and Stretch columns are not used. +// - ImGuiTableFlags_NoHostExtendY -> Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY is disabled. Data below the limit will be clipped and not visible. +// In theory ImGuiTableFlags_NoHostExtendY could be the default and any non-scrolling tables with outer_size.y != 0.0f would use exact height. +// This would be consistent but perhaps less useful and more confusing (as vertically clipped items are not useful and not easily noticeable). +//----------------------------------------------------------------------------- +// About 'inner_width': +// With ScrollX disabled: +// - inner_width -> *ignored* +// With ScrollX enabled: +// - inner_width < 0.0f -> *illegal* fit in known width (right align from outer_size.x) <-- weird +// - inner_width = 0.0f -> fit in outer_width: Fixed size columns will take space they need (if avail, otherwise shrink down), Stretch columns becomes Fixed columns. +// - inner_width > 0.0f -> override scrolling width, generally to be larger than outer_size.x. Fixed column take space they need (if avail, otherwise shrink down), Stretch columns share remaining space! +//----------------------------------------------------------------------------- +// Details: +// - If you want to use Stretch columns with ScrollX, you generally need to specify 'inner_width' otherwise the concept +// of "available space" doesn't make sense. +// - Even if not really useful, we allow 'inner_width < outer_size.x' for consistency and to facilitate understanding +// of what the value does. +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// COLUMNS SIZING POLICIES +// (Reference: ImGuiTableFlags_SizingXXX flags and ImGuiTableColumnFlags_WidthXXX flags) +//----------------------------------------------------------------------------- +// About overriding column sizing policy and width/weight with TableSetupColumn(): +// We use a default parameter of -1 for 'init_width'/'init_weight'. +// - with ImGuiTableColumnFlags_WidthFixed, init_width <= 0 (default) --> width is automatic +// - with ImGuiTableColumnFlags_WidthFixed, init_width > 0 (explicit) --> width is custom +// - with ImGuiTableColumnFlags_WidthStretch, init_weight <= 0 (default) --> weight is 1.0f +// - with ImGuiTableColumnFlags_WidthStretch, init_weight > 0 (explicit) --> weight is custom +// Widths are specified _without_ CellPadding. If you specify a width of 100.0f, the column will be cover (100.0f + Padding * 2.0f) +// and you can fit a 100.0f wide item in it without clipping and with padding honored. +//----------------------------------------------------------------------------- +// About default sizing policy (if you don't specify a ImGuiTableColumnFlags_WidthXXXX flag) +// - with Table policy ImGuiTableFlags_SizingFixedFit --> default Column policy is ImGuiTableColumnFlags_WidthFixed, default Width is equal to contents width +// - with Table policy ImGuiTableFlags_SizingFixedSame --> default Column policy is ImGuiTableColumnFlags_WidthFixed, default Width is max of all contents width +// - with Table policy ImGuiTableFlags_SizingStretchSame --> default Column policy is ImGuiTableColumnFlags_WidthStretch, default Weight is 1.0f +// - with Table policy ImGuiTableFlags_SizingStretchWeight --> default Column policy is ImGuiTableColumnFlags_WidthStretch, default Weight is proportional to contents +// Default Width and default Weight can be overridden when calling TableSetupColumn(). +//----------------------------------------------------------------------------- +// About mixing Fixed/Auto and Stretch columns together: +// - the typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns. +// - using mixed policies with ScrollX does not make much sense, as using Stretch columns with ScrollX does not make much sense in the first place! +// that is, unless 'inner_width' is passed to BeginTable() to explicitly provide a total width to layout columns in. +// - when using ImGuiTableFlags_SizingFixedSame with mixed columns, only the Fixed/Auto columns will match their widths to the width of the maximum contents. +// - when using ImGuiTableFlags_SizingStretchSame with mixed columns, only the Stretch columns will match their weights/widths. +//----------------------------------------------------------------------------- +// About using column width: +// If a column is manually resizable or has a width specified with TableSetupColumn(): +// - you may use GetContentRegionAvail().x to query the width available in a given column. +// - right-side alignment features such as SetNextItemWidth(-x) or PushItemWidth(-x) will rely on this width. +// If the column is not resizable and has no width specified with TableSetupColumn(): +// - its width will be automatic and be set to the max of items submitted. +// - therefore you generally cannot have ALL items of the columns use e.g. SetNextItemWidth(-FLT_MIN). +// - but if the column has one or more items of known/fixed size, this will become the reference width used by SetNextItemWidth(-FLT_MIN). +//----------------------------------------------------------------------------- + + +//----------------------------------------------------------------------------- +// TABLES CLIPPING/CULLING +//----------------------------------------------------------------------------- +// About clipping/culling of Rows in Tables: +// - For large numbers of rows, it is recommended you use ImGuiListClipper to submit only visible rows. +// ImGuiListClipper is reliant on the fact that rows are of equal height. +// See 'Demo->Tables->Vertical Scrolling' or 'Demo->Tables->Advanced' for a demo of using the clipper. +// - Note that auto-resizing columns don't play well with using the clipper. +// By default a table with _ScrollX but without _Resizable will have column auto-resize. +// So, if you want to use the clipper, make sure to either enable _Resizable, either setup columns width explicitly with _WidthFixed. +//----------------------------------------------------------------------------- +// About clipping/culling of Columns in Tables: +// - Both TableSetColumnIndex() and TableNextColumn() return true when the column is visible or performing +// width measurements. Otherwise, you may skip submitting the contents of a cell/column, BUT ONLY if you know +// it is not going to contribute to row height. +// In many situations, you may skip submitting contents for every column but one (e.g. the first one). +// - Case A: column is not hidden by user, and at least partially in sight (most common case). +// - Case B: column is clipped / out of sight (because of scrolling or parent ClipRect): TableNextColumn() return false as a hint but we still allow layout output. +// - Case C: column is hidden explicitly by the user (e.g. via the context menu, or _DefaultHide column flag, etc.). +// +// [A] [B] [C] +// TableNextColumn(): true false false -> [userland] when TableNextColumn() / TableSetColumnIndex() returns false, user can skip submitting items but only if the column doesn't contribute to row height. +// SkipItems: false false true -> [internal] when SkipItems is true, most widgets will early out if submitted, resulting is no layout output. +// ClipRect: normal zero-width zero-width -> [internal] when ClipRect is zero, ItemAdd() will return false and most widgets will early out mid-way. +// ImDrawList output: normal dummy dummy -> [internal] when using the dummy channel, ImDrawList submissions (if any) will be wasted (because cliprect is zero-width anyway). +// +// - We need to distinguish those cases because non-hidden columns that are clipped outside of scrolling bounds should still contribute their height to the row. +// However, in the majority of cases, the contribution to row height is the same for all columns, or the tallest cells are known by the programmer. +//----------------------------------------------------------------------------- +// About clipping/culling of whole Tables: +// - Scrolling tables with a known outer size can be clipped earlier as BeginTable() will return false. +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// [SECTION] Header mess +//----------------------------------------------------------------------------- + +#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) +#define _CRT_SECURE_NO_WARNINGS +#endif + +#ifndef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS +#endif + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_internal.h" + +// System includes +#include // intptr_t + +// Visual Studio warnings +#ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant +#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen +#if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later +#pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types +#endif +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants (typically 0.0f) is ok. +#pragma clang diagnostic ignored "-Wformat-nonliteral" // warning: format string is not a string literal // passing non-literal to vsnformat(). yes, user passing incorrect format strings can crash the code. +#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant // some standard header variations use #define NULL 0 +#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. +#pragma clang diagnostic ignored "-Wenum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') +#pragma clang diagnostic ignored "-Wdeprecated-enum-enum-conversion"// warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated +#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#elif defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked +#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function +#pragma GCC diagnostic ignored "-Wformat" // warning: format '%p' expects argument of type 'int'/'void*', but argument X has type 'unsigned int'/'ImGuiWindow*' +#pragma GCC diagnostic ignored "-Wstrict-overflow" +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#endif + +//----------------------------------------------------------------------------- +// [SECTION] Tables: Main code +//----------------------------------------------------------------------------- +// - TableFixFlags() [Internal] +// - TableFindByID() [Internal] +// - BeginTable() +// - BeginTableEx() [Internal] +// - TableBeginInitMemory() [Internal] +// - TableBeginApplyRequests() [Internal] +// - TableSetupColumnFlags() [Internal] +// - TableUpdateLayout() [Internal] +// - TableUpdateBorders() [Internal] +// - EndTable() +// - TableSetupColumn() +// - TableSetupScrollFreeze() +//----------------------------------------------------------------------------- + +// Configuration +static const int TABLE_DRAW_CHANNEL_BG0 = 0; +static const int TABLE_DRAW_CHANNEL_BG2_FROZEN = 1; +static const int TABLE_DRAW_CHANNEL_NOCLIP = 2; // When using ImGuiTableFlags_NoClip (this becomes the last visible channel) +static const float TABLE_BORDER_SIZE = 1.0f; // FIXME-TABLE: Currently hard-coded because of clipping assumptions with outer borders rendering. +static const float TABLE_RESIZE_SEPARATOR_HALF_THICKNESS = 4.0f; // Extend outside inner borders. +static const float TABLE_RESIZE_SEPARATOR_FEEDBACK_TIMER = 0.06f; // Delay/timer before making the hover feedback (color+cursor) visible because tables/columns tends to be more cramped. + +// Helper +inline ImGuiTableFlags TableFixFlags(ImGuiTableFlags flags, ImGuiWindow* outer_window) +{ + // Adjust flags: set default sizing policy + if ((flags & ImGuiTableFlags_SizingMask_) == 0) + flags |= ((flags & ImGuiTableFlags_ScrollX) || (outer_window->Flags & ImGuiWindowFlags_AlwaysAutoResize)) ? ImGuiTableFlags_SizingFixedFit : ImGuiTableFlags_SizingStretchSame; + + // Adjust flags: enable NoKeepColumnsVisible when using ImGuiTableFlags_SizingFixedSame + if ((flags & ImGuiTableFlags_SizingMask_) == ImGuiTableFlags_SizingFixedSame) + flags |= ImGuiTableFlags_NoKeepColumnsVisible; + + // Adjust flags: enforce borders when resizable + if (flags & ImGuiTableFlags_Resizable) + flags |= ImGuiTableFlags_BordersInnerV; + + // Adjust flags: disable NoHostExtendX/NoHostExtendY if we have any scrolling going on + if (flags & (ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY)) + flags &= ~(ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_NoHostExtendY); + + // Adjust flags: NoBordersInBodyUntilResize takes priority over NoBordersInBody + if (flags & ImGuiTableFlags_NoBordersInBodyUntilResize) + flags &= ~ImGuiTableFlags_NoBordersInBody; + + // Adjust flags: disable saved settings if there's nothing to save + if ((flags & (ImGuiTableFlags_Resizable | ImGuiTableFlags_Hideable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Sortable)) == 0) + flags |= ImGuiTableFlags_NoSavedSettings; + + // Inherit _NoSavedSettings from top-level window (child windows always have _NoSavedSettings set) + if (outer_window->RootWindow->Flags & ImGuiWindowFlags_NoSavedSettings) + flags |= ImGuiTableFlags_NoSavedSettings; + + return flags; +} + +ImGuiTable* ImGui::TableFindByID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + return g.Tables.GetByKey(id); +} + +// Read about "TABLE SIZING" at the top of this file. +bool ImGui::BeginTable(const char* str_id, int columns_count, ImGuiTableFlags flags, const ImVec2& outer_size, float inner_width) +{ + ImGuiID id = GetID(str_id); + return BeginTableEx(str_id, id, columns_count, flags, outer_size, inner_width); +} + +bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImGuiTableFlags flags, const ImVec2& outer_size, float inner_width) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* outer_window = GetCurrentWindow(); + if (outer_window->SkipItems) // Consistent with other tables + beneficial side effect that assert on miscalling EndTable() will be more visible. + return false; + + // Sanity checks + IM_ASSERT(columns_count > 0 && columns_count < IMGUI_TABLE_MAX_COLUMNS); + if (flags & ImGuiTableFlags_ScrollX) + IM_ASSERT(inner_width >= 0.0f); + + // If an outer size is specified ahead we will be able to early out when not visible. Exact clipping criteria may evolve. + // FIXME: coarse clipping because access to table data causes two issues: + // - instance numbers varying/unstable. may not be a direct problem for users, but could make outside access broken or confusing, e.g. TestEngine. + // - can't implement support for ImGuiChildFlags_ResizeY as we need to somehow pull the height data from somewhere. this also needs stable instance numbers. + // The side-effects of accessing table data on coarse clip would be: + // - always reserving the pooled ImGuiTable data ahead for a fully clipped table (minor IMHO). Also the 'outer_window_is_measuring_size' criteria may already be defeating this in some situations. + // - always performing the GetOrAddByKey() O(log N) query in g.Tables.Map[]. + const bool use_child_window = (flags & (ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY)) != 0; + const ImVec2 avail_size = GetContentRegionAvail(); + const ImVec2 actual_outer_size = ImTrunc(CalcItemSize(outer_size, ImMax(avail_size.x, 1.0f), use_child_window ? ImMax(avail_size.y, 1.0f) : 0.0f)); + const ImRect outer_rect(outer_window->DC.CursorPos, outer_window->DC.CursorPos + actual_outer_size); + const bool outer_window_is_measuring_size = (outer_window->AutoFitFramesX > 0) || (outer_window->AutoFitFramesY > 0); // Doesn't apply to AlwaysAutoResize windows! + if (use_child_window && IsClippedEx(outer_rect, 0) && !outer_window_is_measuring_size) + { + ItemSize(outer_rect); + ItemAdd(outer_rect, id); + g.NextWindowData.ClearFlags(); + return false; + } + + // [DEBUG] Debug break requested by user + if (g.DebugBreakInTable == id) + IM_DEBUG_BREAK(); + + // Acquire storage for the table + ImGuiTable* table = g.Tables.GetOrAddByKey(id); + + // Acquire temporary buffers + const int table_idx = g.Tables.GetIndex(table); + if (++g.TablesTempDataStacked > g.TablesTempData.Size) + g.TablesTempData.resize(g.TablesTempDataStacked, ImGuiTableTempData()); + ImGuiTableTempData* temp_data = table->TempData = &g.TablesTempData[g.TablesTempDataStacked - 1]; + temp_data->TableIndex = table_idx; + table->DrawSplitter = &table->TempData->DrawSplitter; + table->DrawSplitter->Clear(); + + // Fix flags + table->IsDefaultSizingPolicy = (flags & ImGuiTableFlags_SizingMask_) == 0; + flags = TableFixFlags(flags, outer_window); + + // Initialize + const int previous_frame_active = table->LastFrameActive; + const int instance_no = (previous_frame_active != g.FrameCount) ? 0 : table->InstanceCurrent + 1; + const ImGuiTableFlags previous_flags = table->Flags; + table->ID = id; + table->Flags = flags; + table->LastFrameActive = g.FrameCount; + table->OuterWindow = table->InnerWindow = outer_window; + table->ColumnsCount = columns_count; + table->IsLayoutLocked = false; + table->InnerWidth = inner_width; + table->NavLayer = (ImS8)outer_window->DC.NavLayerCurrent; + temp_data->UserOuterSize = outer_size; + + // Instance data (for instance 0, TableID == TableInstanceID) + ImGuiID instance_id; + table->InstanceCurrent = (ImS16)instance_no; + if (instance_no > 0) + { + IM_ASSERT(table->ColumnsCount == columns_count && "BeginTable(): Cannot change columns count mid-frame while preserving same ID"); + if (table->InstanceDataExtra.Size < instance_no) + table->InstanceDataExtra.push_back(ImGuiTableInstanceData()); + instance_id = GetIDWithSeed(instance_no, GetIDWithSeed("##Instances", NULL, id)); // Push "##Instances" followed by (int)instance_no in ID stack. + } + else + { + instance_id = id; + } + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + table_instance->TableInstanceID = instance_id; + + // When not using a child window, WorkRect.Max will grow as we append contents. + if (use_child_window) + { + // Ensure no vertical scrollbar appears if we only want horizontal one, to make flag consistent + // (we have no other way to disable vertical scrollbar of a window while keeping the horizontal one showing) + ImVec2 override_content_size(FLT_MAX, FLT_MAX); + if ((flags & ImGuiTableFlags_ScrollX) && !(flags & ImGuiTableFlags_ScrollY)) + override_content_size.y = FLT_MIN; + + // Ensure specified width (when not specified, Stretched columns will act as if the width == OuterWidth and + // never lead to any scrolling). We don't handle inner_width < 0.0f, we could potentially use it to right-align + // based on the right side of the child window work rect, which would require knowing ahead if we are going to + // have decoration taking horizontal spaces (typically a vertical scrollbar). + if ((flags & ImGuiTableFlags_ScrollX) && inner_width > 0.0f) + override_content_size.x = inner_width; + + if (override_content_size.x != FLT_MAX || override_content_size.y != FLT_MAX) + SetNextWindowContentSize(ImVec2(override_content_size.x != FLT_MAX ? override_content_size.x : 0.0f, override_content_size.y != FLT_MAX ? override_content_size.y : 0.0f)); + + // Reset scroll if we are reactivating it + if ((previous_flags & (ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY)) == 0) + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasScroll) == 0) + SetNextWindowScroll(ImVec2(0.0f, 0.0f)); + + // Create scrolling region (without border and zero window padding) + ImGuiChildFlags child_child_flags = (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasChildFlags) ? g.NextWindowData.ChildFlags : ImGuiChildFlags_None; + ImGuiWindowFlags child_window_flags = (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasWindowFlags) ? g.NextWindowData.WindowFlags : ImGuiWindowFlags_None; + if (flags & ImGuiTableFlags_ScrollX) + child_window_flags |= ImGuiWindowFlags_HorizontalScrollbar; + BeginChildEx(name, instance_id, outer_rect.GetSize(), child_child_flags, child_window_flags); + table->InnerWindow = g.CurrentWindow; + table->WorkRect = table->InnerWindow->WorkRect; + table->OuterRect = table->InnerWindow->Rect(); + table->InnerRect = table->InnerWindow->InnerRect; + IM_ASSERT(table->InnerWindow->WindowPadding.x == 0.0f && table->InnerWindow->WindowPadding.y == 0.0f && table->InnerWindow->WindowBorderSize == 0.0f); + + // Allow submitting when host is measuring + if (table->InnerWindow->SkipItems && outer_window_is_measuring_size) + table->InnerWindow->SkipItems = false; + + // When using multiple instances, ensure they have the same amount of horizontal decorations (aka vertical scrollbar) so stretched columns can be aligned) + if (instance_no == 0) + { + table->HasScrollbarYPrev = table->HasScrollbarYCurr; + table->HasScrollbarYCurr = false; + } + table->HasScrollbarYCurr |= table->InnerWindow->ScrollbarY; + } + else + { + // For non-scrolling tables, WorkRect == OuterRect == InnerRect. + // But at this point we do NOT have a correct value for .Max.y (unless a height has been explicitly passed in). It will only be updated in EndTable(). + table->WorkRect = table->OuterRect = table->InnerRect = outer_rect; + table->HasScrollbarYPrev = table->HasScrollbarYCurr = false; + } + + // Push a standardized ID for both child-using and not-child-using tables + PushOverrideID(id); + if (instance_no > 0) + PushOverrideID(instance_id); // FIXME: Somehow this is not resolved by stack-tool, even tho GetIDWithSeed() submitted the symbol. + + // Backup a copy of host window members we will modify + ImGuiWindow* inner_window = table->InnerWindow; + table->HostIndentX = inner_window->DC.Indent.x; + table->HostClipRect = inner_window->ClipRect; + table->HostSkipItems = inner_window->SkipItems; + temp_data->HostBackupWorkRect = inner_window->WorkRect; + temp_data->HostBackupParentWorkRect = inner_window->ParentWorkRect; + temp_data->HostBackupColumnsOffset = outer_window->DC.ColumnsOffset; + temp_data->HostBackupPrevLineSize = inner_window->DC.PrevLineSize; + temp_data->HostBackupCurrLineSize = inner_window->DC.CurrLineSize; + temp_data->HostBackupCursorMaxPos = inner_window->DC.CursorMaxPos; + temp_data->HostBackupItemWidth = outer_window->DC.ItemWidth; + temp_data->HostBackupItemWidthStackSize = outer_window->DC.ItemWidthStack.Size; + inner_window->DC.PrevLineSize = inner_window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); + + // Make borders not overlap our contents by offsetting HostClipRect (#6765, #7428, #3752) + // (we normally shouldn't alter HostClipRect as we rely on TableMergeDrawChannels() expanding non-clipped column toward the + // limits of that rectangle, in order for ImDrawListSplitter::Merge() to merge the draw commands. However since the overlap + // problem only affect scrolling tables in this case we can get away with doing it without extra cost). + if (inner_window != outer_window) + { + // FIXME: Because inner_window's Scrollbar doesn't know about border size, since it's not encoded in window->WindowBorderSize, + // it already overlaps it and doesn't need an extra offset. Ideally we should be able to pass custom border size with + // different x/y values to BeginChild(). + if (flags & ImGuiTableFlags_BordersOuterV) + { + table->HostClipRect.Min.x = ImMin(table->HostClipRect.Min.x + TABLE_BORDER_SIZE, table->HostClipRect.Max.x); + if (inner_window->DecoOuterSizeX2 == 0.0f) + table->HostClipRect.Max.x = ImMax(table->HostClipRect.Max.x - TABLE_BORDER_SIZE, table->HostClipRect.Min.x); + } + if (flags & ImGuiTableFlags_BordersOuterH) + { + table->HostClipRect.Min.y = ImMin(table->HostClipRect.Min.y + TABLE_BORDER_SIZE, table->HostClipRect.Max.y); + if (inner_window->DecoOuterSizeY2 == 0.0f) + table->HostClipRect.Max.y = ImMax(table->HostClipRect.Max.y - TABLE_BORDER_SIZE, table->HostClipRect.Min.y); + } + } + + // Padding and Spacing + // - None ........Content..... Pad .....Content........ + // - PadOuter | Pad ..Content..... Pad .....Content.. Pad | + // - PadInner ........Content.. Pad | Pad ..Content........ + // - PadOuter+PadInner | Pad ..Content.. Pad | Pad ..Content.. Pad | + const bool pad_outer_x = (flags & ImGuiTableFlags_NoPadOuterX) ? false : (flags & ImGuiTableFlags_PadOuterX) ? true : (flags & ImGuiTableFlags_BordersOuterV) != 0; + const bool pad_inner_x = (flags & ImGuiTableFlags_NoPadInnerX) ? false : true; + const float inner_spacing_for_border = (flags & ImGuiTableFlags_BordersInnerV) ? TABLE_BORDER_SIZE : 0.0f; + const float inner_spacing_explicit = (pad_inner_x && (flags & ImGuiTableFlags_BordersInnerV) == 0) ? g.Style.CellPadding.x : 0.0f; + const float inner_padding_explicit = (pad_inner_x && (flags & ImGuiTableFlags_BordersInnerV) != 0) ? g.Style.CellPadding.x : 0.0f; + table->CellSpacingX1 = inner_spacing_explicit + inner_spacing_for_border; + table->CellSpacingX2 = inner_spacing_explicit; + table->CellPaddingX = inner_padding_explicit; + + const float outer_padding_for_border = (flags & ImGuiTableFlags_BordersOuterV) ? TABLE_BORDER_SIZE : 0.0f; + const float outer_padding_explicit = pad_outer_x ? g.Style.CellPadding.x : 0.0f; + table->OuterPaddingX = (outer_padding_for_border + outer_padding_explicit) - table->CellPaddingX; + + table->CurrentColumn = -1; + table->CurrentRow = -1; + table->RowBgColorCounter = 0; + table->LastRowFlags = ImGuiTableRowFlags_None; + table->InnerClipRect = (inner_window == outer_window) ? table->WorkRect : inner_window->ClipRect; + table->InnerClipRect.ClipWith(table->WorkRect); // We need this to honor inner_width + table->InnerClipRect.ClipWithFull(table->HostClipRect); + table->InnerClipRect.Max.y = (flags & ImGuiTableFlags_NoHostExtendY) ? ImMin(table->InnerClipRect.Max.y, inner_window->WorkRect.Max.y) : table->HostClipRect.Max.y; + + table->RowPosY1 = table->RowPosY2 = table->WorkRect.Min.y; // This is needed somehow + table->RowTextBaseline = 0.0f; // This will be cleared again by TableBeginRow() + table->RowCellPaddingY = 0.0f; + table->FreezeRowsRequest = table->FreezeRowsCount = 0; // This will be setup by TableSetupScrollFreeze(), if any + table->FreezeColumnsRequest = table->FreezeColumnsCount = 0; + table->IsUnfrozenRows = true; + table->DeclColumnsCount = table->AngledHeadersCount = 0; + if (previous_frame_active + 1 < g.FrameCount) + table->IsActiveIdInTable = false; + table->AngledHeadersHeight = 0.0f; + temp_data->AngledHeadersExtraWidth = 0.0f; + + // Using opaque colors facilitate overlapping lines of the grid, otherwise we'd need to improve TableDrawBorders() + table->BorderColorStrong = GetColorU32(ImGuiCol_TableBorderStrong); + table->BorderColorLight = GetColorU32(ImGuiCol_TableBorderLight); + + // Make table current + g.CurrentTable = table; + outer_window->DC.NavIsScrollPushableX = false; // Shortcut for NavUpdateCurrentWindowIsScrollPushableX(); + outer_window->DC.CurrentTableIdx = table_idx; + if (inner_window != outer_window) // So EndChild() within the inner window can restore the table properly. + inner_window->DC.CurrentTableIdx = table_idx; + + if ((previous_flags & ImGuiTableFlags_Reorderable) && (flags & ImGuiTableFlags_Reorderable) == 0) + table->IsResetDisplayOrderRequest = true; + + // Mark as used to avoid GC + if (table_idx >= g.TablesLastTimeActive.Size) + g.TablesLastTimeActive.resize(table_idx + 1, -1.0f); + g.TablesLastTimeActive[table_idx] = (float)g.Time; + temp_data->LastTimeActive = (float)g.Time; + table->MemoryCompacted = false; + + // Setup memory buffer (clear data if columns count changed) + ImGuiTableColumn* old_columns_to_preserve = NULL; + void* old_columns_raw_data = NULL; + const int old_columns_count = table->Columns.size(); + if (old_columns_count != 0 && old_columns_count != columns_count) + { + // Attempt to preserve width on column count change (#4046) + old_columns_to_preserve = table->Columns.Data; + old_columns_raw_data = table->RawData; + table->RawData = NULL; + } + if (table->RawData == NULL) + { + TableBeginInitMemory(table, columns_count); + table->IsInitializing = table->IsSettingsRequestLoad = true; + } + if (table->IsResetAllRequest) + TableResetSettings(table); + if (table->IsInitializing) + { + // Initialize + table->SettingsOffset = -1; + table->IsSortSpecsDirty = true; + table->IsSettingsDirty = true; // Records itself into .ini file even when in default state (#7934) + table->InstanceInteracted = -1; + table->ContextPopupColumn = -1; + table->ReorderColumn = table->ResizedColumn = table->LastResizedColumn = -1; + table->AutoFitSingleColumn = -1; + table->HoveredColumnBody = table->HoveredColumnBorder = -1; + for (int n = 0; n < columns_count; n++) + { + ImGuiTableColumn* column = &table->Columns[n]; + if (old_columns_to_preserve && n < old_columns_count) + { + // FIXME: We don't attempt to preserve column order in this path. + *column = old_columns_to_preserve[n]; + } + else + { + float width_auto = column->WidthAuto; + *column = ImGuiTableColumn(); + column->WidthAuto = width_auto; + column->IsPreserveWidthAuto = true; // Preserve WidthAuto when reinitializing a live table: not technically necessary but remove a visible flicker + column->IsEnabled = column->IsUserEnabled = column->IsUserEnabledNextFrame = true; + } + column->DisplayOrder = table->DisplayOrderToIndex[n] = (ImGuiTableColumnIdx)n; + } + } + if (old_columns_raw_data) + IM_FREE(old_columns_raw_data); + + // Load settings + if (table->IsSettingsRequestLoad) + TableLoadSettings(table); + + // Handle DPI/font resize + // This is designed to facilitate DPI changes with the assumption that e.g. style.CellPadding has been scaled as well. + // It will also react to changing fonts with mixed results. It doesn't need to be perfect but merely provide a decent transition. + // FIXME-DPI: Provide consistent standards for reference size. Perhaps using g.CurrentDpiScale would be more self explanatory. + // This is will lead us to non-rounded WidthRequest in columns, which should work but is a poorly tested path. + const float new_ref_scale_unit = g.FontSize; // g.Font->GetCharAdvance('A') ? + if (table->RefScale != 0.0f && table->RefScale != new_ref_scale_unit) + { + const float scale_factor = new_ref_scale_unit / table->RefScale; + //IMGUI_DEBUG_PRINT("[table] %08X RefScaleUnit %.3f -> %.3f, scaling width by %.3f\n", table->ID, table->RefScaleUnit, new_ref_scale_unit, scale_factor); + for (int n = 0; n < columns_count; n++) + table->Columns[n].WidthRequest = table->Columns[n].WidthRequest * scale_factor; + } + table->RefScale = new_ref_scale_unit; + + // Disable output until user calls TableNextRow() or TableNextColumn() leading to the TableUpdateLayout() call.. + // This is not strictly necessary but will reduce cases were "out of table" output will be misleading to the user. + // Because we cannot safely assert in EndTable() when no rows have been created, this seems like our best option. + inner_window->SkipItems = true; + + // Clear names + // At this point the ->NameOffset field of each column will be invalid until TableUpdateLayout() or the first call to TableSetupColumn() + if (table->ColumnsNames.Buf.Size > 0) + table->ColumnsNames.Buf.resize(0); + + // Apply queued resizing/reordering/hiding requests + TableBeginApplyRequests(table); + + return true; +} + +// For reference, the average total _allocation count_ for a table is: +// + 0 (for ImGuiTable instance, we are pooling allocations in g.Tables[]) +// + 1 (for table->RawData allocated below) +// + 1 (for table->ColumnsNames, if names are used) +// Shared allocations for the maximum number of simultaneously nested tables (generally a very small number) +// + 1 (for table->Splitter._Channels) +// + 2 * active_channels_count (for ImDrawCmd and ImDrawIdx buffers inside channels) +// Where active_channels_count is variable but often == columns_count or == columns_count + 1, see TableSetupDrawChannels() for details. +// Unused channels don't perform their +2 allocations. +void ImGui::TableBeginInitMemory(ImGuiTable* table, int columns_count) +{ + // Allocate single buffer for our arrays + const int columns_bit_array_size = (int)ImBitArrayGetStorageSizeInBytes(columns_count); + ImSpanAllocator<6> span_allocator; + span_allocator.Reserve(0, columns_count * sizeof(ImGuiTableColumn)); + span_allocator.Reserve(1, columns_count * sizeof(ImGuiTableColumnIdx)); + span_allocator.Reserve(2, columns_count * sizeof(ImGuiTableCellData), 4); + for (int n = 3; n < 6; n++) + span_allocator.Reserve(n, columns_bit_array_size); + table->RawData = IM_ALLOC(span_allocator.GetArenaSizeInBytes()); + memset(table->RawData, 0, span_allocator.GetArenaSizeInBytes()); + span_allocator.SetArenaBasePtr(table->RawData); + span_allocator.GetSpan(0, &table->Columns); + span_allocator.GetSpan(1, &table->DisplayOrderToIndex); + span_allocator.GetSpan(2, &table->RowCellData); + table->EnabledMaskByDisplayOrder = (ImU32*)span_allocator.GetSpanPtrBegin(3); + table->EnabledMaskByIndex = (ImU32*)span_allocator.GetSpanPtrBegin(4); + table->VisibleMaskByIndex = (ImU32*)span_allocator.GetSpanPtrBegin(5); +} + +// Apply queued resizing/reordering/hiding requests +void ImGui::TableBeginApplyRequests(ImGuiTable* table) +{ + // Handle resizing request + // (We process this in the TableBegin() of the first instance of each table) + // FIXME-TABLE: Contains columns if our work area doesn't allow for scrolling? + if (table->InstanceCurrent == 0) + { + if (table->ResizedColumn != -1 && table->ResizedColumnNextWidth != FLT_MAX) + TableSetColumnWidth(table->ResizedColumn, table->ResizedColumnNextWidth); + table->LastResizedColumn = table->ResizedColumn; + table->ResizedColumnNextWidth = FLT_MAX; + table->ResizedColumn = -1; + + // Process auto-fit for single column, which is a special case for stretch columns and fixed columns with FixedSame policy. + // FIXME-TABLE: Would be nice to redistribute available stretch space accordingly to other weights, instead of giving it all to siblings. + if (table->AutoFitSingleColumn != -1) + { + TableSetColumnWidth(table->AutoFitSingleColumn, table->Columns[table->AutoFitSingleColumn].WidthAuto); + table->AutoFitSingleColumn = -1; + } + } + + // Handle reordering request + // Note: we don't clear ReorderColumn after handling the request. + if (table->InstanceCurrent == 0) + { + if (table->HeldHeaderColumn == -1 && table->ReorderColumn != -1) + table->ReorderColumn = -1; + table->HeldHeaderColumn = -1; + if (table->ReorderColumn != -1 && table->ReorderColumnDir != 0) + { + // We need to handle reordering across hidden columns. + // In the configuration below, moving C to the right of E will lead to: + // ... C [D] E ---> ... [D] E C (Column name/index) + // ... 2 3 4 ... 2 3 4 (Display order) + const int reorder_dir = table->ReorderColumnDir; + IM_ASSERT(reorder_dir == -1 || reorder_dir == +1); + IM_ASSERT(table->Flags & ImGuiTableFlags_Reorderable); + ImGuiTableColumn* src_column = &table->Columns[table->ReorderColumn]; + ImGuiTableColumn* dst_column = &table->Columns[(reorder_dir == -1) ? src_column->PrevEnabledColumn : src_column->NextEnabledColumn]; + IM_UNUSED(dst_column); + const int src_order = src_column->DisplayOrder; + const int dst_order = dst_column->DisplayOrder; + src_column->DisplayOrder = (ImGuiTableColumnIdx)dst_order; + for (int order_n = src_order + reorder_dir; order_n != dst_order + reorder_dir; order_n += reorder_dir) + table->Columns[table->DisplayOrderToIndex[order_n]].DisplayOrder -= (ImGuiTableColumnIdx)reorder_dir; + IM_ASSERT(dst_column->DisplayOrder == dst_order - reorder_dir); + + // Display order is stored in both columns->IndexDisplayOrder and table->DisplayOrder[]. Rebuild later from the former. + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + table->DisplayOrderToIndex[table->Columns[column_n].DisplayOrder] = (ImGuiTableColumnIdx)column_n; + table->ReorderColumnDir = 0; + table->IsSettingsDirty = true; + } + } + + // Handle display order reset request + if (table->IsResetDisplayOrderRequest) + { + for (int n = 0; n < table->ColumnsCount; n++) + table->DisplayOrderToIndex[n] = table->Columns[n].DisplayOrder = (ImGuiTableColumnIdx)n; + table->IsResetDisplayOrderRequest = false; + table->IsSettingsDirty = true; + } +} + +// Adjust flags: default width mode + stretch columns are not allowed when auto extending +static void TableSetupColumnFlags(ImGuiTable* table, ImGuiTableColumn* column, ImGuiTableColumnFlags flags_in) +{ + ImGuiTableColumnFlags flags = flags_in; + + // Sizing Policy + if ((flags & ImGuiTableColumnFlags_WidthMask_) == 0) + { + const ImGuiTableFlags table_sizing_policy = (table->Flags & ImGuiTableFlags_SizingMask_); + if (table_sizing_policy == ImGuiTableFlags_SizingFixedFit || table_sizing_policy == ImGuiTableFlags_SizingFixedSame) + flags |= ImGuiTableColumnFlags_WidthFixed; + else + flags |= ImGuiTableColumnFlags_WidthStretch; + } + else + { + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiTableColumnFlags_WidthMask_)); // Check that only 1 of each set is used. + } + + // Resize + if ((table->Flags & ImGuiTableFlags_Resizable) == 0) + flags |= ImGuiTableColumnFlags_NoResize; + + // Sorting + if ((flags & ImGuiTableColumnFlags_NoSortAscending) && (flags & ImGuiTableColumnFlags_NoSortDescending)) + flags |= ImGuiTableColumnFlags_NoSort; + + // Indentation + if ((flags & ImGuiTableColumnFlags_IndentMask_) == 0) + flags |= (table->Columns.index_from_ptr(column) == 0) ? ImGuiTableColumnFlags_IndentEnable : ImGuiTableColumnFlags_IndentDisable; + + // Alignment + //if ((flags & ImGuiTableColumnFlags_AlignMask_) == 0) + // flags |= ImGuiTableColumnFlags_AlignCenter; + //IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiTableColumnFlags_AlignMask_)); // Check that only 1 of each set is used. + + // Preserve status flags + column->Flags = flags | (column->Flags & ImGuiTableColumnFlags_StatusMask_); + + // Build an ordered list of available sort directions + column->SortDirectionsAvailCount = column->SortDirectionsAvailMask = column->SortDirectionsAvailList = 0; + if (table->Flags & ImGuiTableFlags_Sortable) + { + int count = 0, mask = 0, list = 0; + if ((flags & ImGuiTableColumnFlags_PreferSortAscending) != 0 && (flags & ImGuiTableColumnFlags_NoSortAscending) == 0) { mask |= 1 << ImGuiSortDirection_Ascending; list |= ImGuiSortDirection_Ascending << (count << 1); count++; } + if ((flags & ImGuiTableColumnFlags_PreferSortDescending) != 0 && (flags & ImGuiTableColumnFlags_NoSortDescending) == 0) { mask |= 1 << ImGuiSortDirection_Descending; list |= ImGuiSortDirection_Descending << (count << 1); count++; } + if ((flags & ImGuiTableColumnFlags_PreferSortAscending) == 0 && (flags & ImGuiTableColumnFlags_NoSortAscending) == 0) { mask |= 1 << ImGuiSortDirection_Ascending; list |= ImGuiSortDirection_Ascending << (count << 1); count++; } + if ((flags & ImGuiTableColumnFlags_PreferSortDescending) == 0 && (flags & ImGuiTableColumnFlags_NoSortDescending) == 0) { mask |= 1 << ImGuiSortDirection_Descending; list |= ImGuiSortDirection_Descending << (count << 1); count++; } + if ((table->Flags & ImGuiTableFlags_SortTristate) || count == 0) { mask |= 1 << ImGuiSortDirection_None; count++; } + column->SortDirectionsAvailList = (ImU8)list; + column->SortDirectionsAvailMask = (ImU8)mask; + column->SortDirectionsAvailCount = (ImU8)count; + ImGui::TableFixColumnSortDirection(table, column); + } +} + +// Layout columns for the frame. This is in essence the followup to BeginTable() and this is our largest function. +// Runs on the first call to TableNextRow(), to give a chance for TableSetupColumn() and other TableSetupXXXXX() functions to be called first. +// FIXME-TABLE: Our width (and therefore our WorkRect) will be minimal in the first frame for _WidthAuto columns. +// Increase feedback side-effect with widgets relying on WorkRect.Max.x... Maybe provide a default distribution for _WidthAuto columns? +void ImGui::TableUpdateLayout(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(table->IsLayoutLocked == false); + + const ImGuiTableFlags table_sizing_policy = (table->Flags & ImGuiTableFlags_SizingMask_); + table->IsDefaultDisplayOrder = true; + table->ColumnsEnabledCount = 0; + ImBitArrayClearAllBits(table->EnabledMaskByIndex, table->ColumnsCount); + ImBitArrayClearAllBits(table->EnabledMaskByDisplayOrder, table->ColumnsCount); + table->LeftMostEnabledColumn = -1; + table->MinColumnWidth = ImMax(1.0f, g.Style.FramePadding.x * 1.0f); // g.Style.ColumnsMinSpacing; // FIXME-TABLE + + // [Part 1] Apply/lock Enabled and Order states. Calculate auto/ideal width for columns. Count fixed/stretch columns. + // Process columns in their visible orders as we are building the Prev/Next indices. + int count_fixed = 0; // Number of columns that have fixed sizing policies + int count_stretch = 0; // Number of columns that have stretch sizing policies + int prev_visible_column_idx = -1; + bool has_auto_fit_request = false; + bool has_resizable = false; + float stretch_sum_width_auto = 0.0f; + float fixed_max_width_auto = 0.0f; + for (int order_n = 0; order_n < table->ColumnsCount; order_n++) + { + const int column_n = table->DisplayOrderToIndex[order_n]; + if (column_n != order_n) + table->IsDefaultDisplayOrder = false; + ImGuiTableColumn* column = &table->Columns[column_n]; + + // Clear column setup if not submitted by user. Currently we make it mandatory to call TableSetupColumn() every frame. + // It would easily work without but we're not ready to guarantee it since e.g. names need resubmission anyway. + // We take a slight shortcut but in theory we could be calling TableSetupColumn() here with dummy values, it should yield the same effect. + if (table->DeclColumnsCount <= column_n) + { + TableSetupColumnFlags(table, column, ImGuiTableColumnFlags_None); + column->NameOffset = -1; + column->UserID = 0; + column->InitStretchWeightOrWidth = -1.0f; + } + + // Update Enabled state, mark settings and sort specs dirty + if (!(table->Flags & ImGuiTableFlags_Hideable) || (column->Flags & ImGuiTableColumnFlags_NoHide)) + column->IsUserEnabledNextFrame = true; + if (column->IsUserEnabled != column->IsUserEnabledNextFrame) + { + column->IsUserEnabled = column->IsUserEnabledNextFrame; + table->IsSettingsDirty = true; + } + column->IsEnabled = column->IsUserEnabled && (column->Flags & ImGuiTableColumnFlags_Disabled) == 0; + + if (column->SortOrder != -1 && !column->IsEnabled) + table->IsSortSpecsDirty = true; + if (column->SortOrder > 0 && !(table->Flags & ImGuiTableFlags_SortMulti)) + table->IsSortSpecsDirty = true; + + // Auto-fit unsized columns + const bool start_auto_fit = (column->Flags & ImGuiTableColumnFlags_WidthFixed) ? (column->WidthRequest < 0.0f) : (column->StretchWeight < 0.0f); + if (start_auto_fit) + column->AutoFitQueue = column->CannotSkipItemsQueue = (1 << 3) - 1; // Fit for three frames + + if (!column->IsEnabled) + { + column->IndexWithinEnabledSet = -1; + continue; + } + + // Mark as enabled and link to previous/next enabled column + column->PrevEnabledColumn = (ImGuiTableColumnIdx)prev_visible_column_idx; + column->NextEnabledColumn = -1; + if (prev_visible_column_idx != -1) + table->Columns[prev_visible_column_idx].NextEnabledColumn = (ImGuiTableColumnIdx)column_n; + else + table->LeftMostEnabledColumn = (ImGuiTableColumnIdx)column_n; + column->IndexWithinEnabledSet = table->ColumnsEnabledCount++; + ImBitArraySetBit(table->EnabledMaskByIndex, column_n); + ImBitArraySetBit(table->EnabledMaskByDisplayOrder, column->DisplayOrder); + prev_visible_column_idx = column_n; + IM_ASSERT(column->IndexWithinEnabledSet <= column->DisplayOrder); + + // Calculate ideal/auto column width (that's the width required for all contents to be visible without clipping) + // Combine width from regular rows + width from headers unless requested not to. + if (!column->IsPreserveWidthAuto && table->InstanceCurrent == 0) + column->WidthAuto = TableGetColumnWidthAuto(table, column); + + // Non-resizable columns keep their requested width (apply user value regardless of IsPreserveWidthAuto) + const bool column_is_resizable = (column->Flags & ImGuiTableColumnFlags_NoResize) == 0; + if (column_is_resizable) + has_resizable = true; + if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && column->InitStretchWeightOrWidth > 0.0f && !column_is_resizable) + column->WidthAuto = column->InitStretchWeightOrWidth; + + if (column->AutoFitQueue != 0x00) + has_auto_fit_request = true; + if (column->Flags & ImGuiTableColumnFlags_WidthStretch) + { + stretch_sum_width_auto += column->WidthAuto; + count_stretch++; + } + else + { + fixed_max_width_auto = ImMax(fixed_max_width_auto, column->WidthAuto); + count_fixed++; + } + } + if ((table->Flags & ImGuiTableFlags_Sortable) && table->SortSpecsCount == 0 && !(table->Flags & ImGuiTableFlags_SortTristate)) + table->IsSortSpecsDirty = true; + table->RightMostEnabledColumn = (ImGuiTableColumnIdx)prev_visible_column_idx; + IM_ASSERT(table->LeftMostEnabledColumn >= 0 && table->RightMostEnabledColumn >= 0); + + // [Part 2] Disable child window clipping while fitting columns. This is not strictly necessary but makes it possible to avoid + // the column fitting having to wait until the first visible frame of the child container (may or not be a good thing). Also see #6510. + // FIXME-TABLE: for always auto-resizing columns may not want to do that all the time. + if (has_auto_fit_request && table->OuterWindow != table->InnerWindow) + table->InnerWindow->SkipItems = false; + if (has_auto_fit_request) + table->IsSettingsDirty = true; + + // [Part 3] Fix column flags and record a few extra information. + float sum_width_requests = 0.0f; // Sum of all width for fixed and auto-resize columns, excluding width contributed by Stretch columns but including spacing/padding. + float stretch_sum_weights = 0.0f; // Sum of all weights for stretch columns. + table->LeftMostStretchedColumn = table->RightMostStretchedColumn = -1; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByIndex, column_n)) + continue; + ImGuiTableColumn* column = &table->Columns[column_n]; + + const bool column_is_resizable = (column->Flags & ImGuiTableColumnFlags_NoResize) == 0; + if (column->Flags & ImGuiTableColumnFlags_WidthFixed) + { + // Apply same widths policy + float width_auto = column->WidthAuto; + if (table_sizing_policy == ImGuiTableFlags_SizingFixedSame && (column->AutoFitQueue != 0x00 || !column_is_resizable)) + width_auto = fixed_max_width_auto; + + // Apply automatic width + // Latch initial size for fixed columns and update it constantly for auto-resizing column (unless clipped!) + if (column->AutoFitQueue != 0x00) + column->WidthRequest = width_auto; + else if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !column_is_resizable && column->IsRequestOutput) + column->WidthRequest = width_auto; + + // FIXME-TABLE: Increase minimum size during init frame to avoid biasing auto-fitting widgets + // (e.g. TextWrapped) too much. Otherwise what tends to happen is that TextWrapped would output a very + // large height (= first frame scrollbar display very off + clipper would skip lots of items). + // This is merely making the side-effect less extreme, but doesn't properly fixes it. + // FIXME: Move this to ->WidthGiven to avoid temporary lossyless? + // FIXME: This break IsPreserveWidthAuto from not flickering if the stored WidthAuto was smaller. + if (column->AutoFitQueue > 0x01 && table->IsInitializing && !column->IsPreserveWidthAuto) + column->WidthRequest = ImMax(column->WidthRequest, table->MinColumnWidth * 4.0f); // FIXME-TABLE: Another constant/scale? + sum_width_requests += column->WidthRequest; + } + else + { + // Initialize stretch weight + if (column->AutoFitQueue != 0x00 || column->StretchWeight < 0.0f || !column_is_resizable) + { + if (column->InitStretchWeightOrWidth > 0.0f) + column->StretchWeight = column->InitStretchWeightOrWidth; + else if (table_sizing_policy == ImGuiTableFlags_SizingStretchProp) + column->StretchWeight = (column->WidthAuto / stretch_sum_width_auto) * count_stretch; + else + column->StretchWeight = 1.0f; + } + + stretch_sum_weights += column->StretchWeight; + if (table->LeftMostStretchedColumn == -1 || table->Columns[table->LeftMostStretchedColumn].DisplayOrder > column->DisplayOrder) + table->LeftMostStretchedColumn = (ImGuiTableColumnIdx)column_n; + if (table->RightMostStretchedColumn == -1 || table->Columns[table->RightMostStretchedColumn].DisplayOrder < column->DisplayOrder) + table->RightMostStretchedColumn = (ImGuiTableColumnIdx)column_n; + } + column->IsPreserveWidthAuto = false; + sum_width_requests += table->CellPaddingX * 2.0f; + } + table->ColumnsEnabledFixedCount = (ImGuiTableColumnIdx)count_fixed; + table->ColumnsStretchSumWeights = stretch_sum_weights; + + // [Part 4] Apply final widths based on requested widths + const ImRect work_rect = table->WorkRect; + const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); + const float width_removed = (table->HasScrollbarYPrev && !table->InnerWindow->ScrollbarY) ? g.Style.ScrollbarSize : 0.0f; // To synchronize decoration width of synched tables with mismatching scrollbar state (#5920) + const float width_avail = ImMax(1.0f, (((table->Flags & ImGuiTableFlags_ScrollX) && table->InnerWidth == 0.0f) ? table->InnerClipRect.GetWidth() : work_rect.GetWidth()) - width_removed); + const float width_avail_for_stretched_columns = width_avail - width_spacings - sum_width_requests; + float width_remaining_for_stretched_columns = width_avail_for_stretched_columns; + table->ColumnsGivenWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByIndex, column_n)) + continue; + ImGuiTableColumn* column = &table->Columns[column_n]; + + // Allocate width for stretched/weighted columns (StretchWeight gets converted into WidthRequest) + if (column->Flags & ImGuiTableColumnFlags_WidthStretch) + { + float weight_ratio = column->StretchWeight / stretch_sum_weights; + column->WidthRequest = IM_TRUNC(ImMax(width_avail_for_stretched_columns * weight_ratio, table->MinColumnWidth) + 0.01f); + width_remaining_for_stretched_columns -= column->WidthRequest; + } + + // [Resize Rule 1] The right-most Visible column is not resizable if there is at least one Stretch column + // See additional comments in TableSetColumnWidth(). + if (column->NextEnabledColumn == -1 && table->LeftMostStretchedColumn != -1) + column->Flags |= ImGuiTableColumnFlags_NoDirectResize_; + + // Assign final width, record width in case we will need to shrink + column->WidthGiven = ImTrunc(ImMax(column->WidthRequest, table->MinColumnWidth)); + table->ColumnsGivenWidth += column->WidthGiven; + } + + // [Part 5] Redistribute stretch remainder width due to rounding (remainder width is < 1.0f * number of Stretch column). + // Using right-to-left distribution (more likely to match resizing cursor). + if (width_remaining_for_stretched_columns >= 1.0f && !(table->Flags & ImGuiTableFlags_PreciseWidths)) + for (int order_n = table->ColumnsCount - 1; stretch_sum_weights > 0.0f && width_remaining_for_stretched_columns >= 1.0f && order_n >= 0; order_n--) + { + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByDisplayOrder, order_n)) + continue; + ImGuiTableColumn* column = &table->Columns[table->DisplayOrderToIndex[order_n]]; + if (!(column->Flags & ImGuiTableColumnFlags_WidthStretch)) + continue; + column->WidthRequest += 1.0f; + column->WidthGiven += 1.0f; + width_remaining_for_stretched_columns -= 1.0f; + } + + // Determine if table is hovered which will be used to flag columns as hovered. + // - In principle we'd like to use the equivalent of IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem), + // but because our item is partially submitted at this point we use ItemHoverable() and a workaround (temporarily + // clear ActiveId, which is equivalent to the change provided by _AllowWhenBLockedByActiveItem). + // - This allows columns to be marked as hovered when e.g. clicking a button inside the column, or using drag and drop. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + table_instance->HoveredRowLast = table_instance->HoveredRowNext; + table_instance->HoveredRowNext = -1; + table->HoveredColumnBody = table->HoveredColumnBorder = -1; + const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table_instance->LastOuterHeight)); + const ImGuiID backup_active_id = g.ActiveId; + g.ActiveId = 0; + const bool is_hovering_table = ItemHoverable(mouse_hit_rect, 0, ImGuiItemFlags_None); + g.ActiveId = backup_active_id; + + // Determine skewed MousePos.x to support angled headers. + float mouse_skewed_x = g.IO.MousePos.x; + if (table->AngledHeadersHeight > 0.0f) + if (g.IO.MousePos.y >= table->OuterRect.Min.y && g.IO.MousePos.y <= table->OuterRect.Min.y + table->AngledHeadersHeight) + mouse_skewed_x += ImTrunc((table->OuterRect.Min.y + table->AngledHeadersHeight - g.IO.MousePos.y) * table->AngledHeadersSlope); + + // [Part 6] Setup final position, offset, skip/clip states and clipping rectangles, detect hovered column + // Process columns in their visible orders as we are comparing the visible order and adjusting host_clip_rect while looping. + int visible_n = 0; + bool has_at_least_one_column_requesting_output = false; + bool offset_x_frozen = (table->FreezeColumnsCount > 0); + float offset_x = ((table->FreezeColumnsCount > 0) ? table->OuterRect.Min.x : work_rect.Min.x) + table->OuterPaddingX - table->CellSpacingX1; + ImRect host_clip_rect = table->InnerClipRect; + //host_clip_rect.Max.x += table->CellPaddingX + table->CellSpacingX2; + ImBitArrayClearAllBits(table->VisibleMaskByIndex, table->ColumnsCount); + for (int order_n = 0; order_n < table->ColumnsCount; order_n++) + { + const int column_n = table->DisplayOrderToIndex[order_n]; + ImGuiTableColumn* column = &table->Columns[column_n]; + + // Initial nav layer: using FreezeRowsCount, NOT FreezeRowsRequest, so Header line changes layer when frozen + column->NavLayerCurrent = (ImS8)(table->FreezeRowsCount > 0 ? ImGuiNavLayer_Menu : (ImGuiNavLayer)table->NavLayer); + + if (offset_x_frozen && table->FreezeColumnsCount == visible_n) + { + offset_x += work_rect.Min.x - table->OuterRect.Min.x; + offset_x_frozen = false; + } + + // Clear status flags + column->Flags &= ~ImGuiTableColumnFlags_StatusMask_; + + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByDisplayOrder, order_n)) + { + // Hidden column: clear a few fields and we are done with it for the remainder of the function. + // We set a zero-width clip rect but set Min.y/Max.y properly to not interfere with the clipper. + column->MinX = column->MaxX = column->WorkMinX = column->ClipRect.Min.x = column->ClipRect.Max.x = offset_x; + column->WidthGiven = 0.0f; + column->ClipRect.Min.y = work_rect.Min.y; + column->ClipRect.Max.y = FLT_MAX; + column->ClipRect.ClipWithFull(host_clip_rect); + column->IsVisibleX = column->IsVisibleY = column->IsRequestOutput = false; + column->IsSkipItems = true; + column->ItemWidth = 1.0f; + continue; + } + + // Lock start position + column->MinX = offset_x; + + // Lock width based on start position and minimum/maximum width for this position + column->WidthMax = TableCalcMaxColumnWidth(table, column_n); + column->WidthGiven = ImMin(column->WidthGiven, column->WidthMax); + column->WidthGiven = ImMax(column->WidthGiven, ImMin(column->WidthRequest, table->MinColumnWidth)); + column->MaxX = offset_x + column->WidthGiven + table->CellSpacingX1 + table->CellSpacingX2 + table->CellPaddingX * 2.0f; + + // Lock other positions + // - ClipRect.Min.x: Because merging draw commands doesn't compare min boundaries, we make ClipRect.Min.x match left bounds to be consistent regardless of merging. + // - ClipRect.Max.x: using WorkMaxX instead of MaxX (aka including padding) makes things more consistent when resizing down, tho slightly detrimental to visibility in very-small column. + // - ClipRect.Max.x: using MaxX makes it easier for header to receive hover highlight with no discontinuity and display sorting arrow. + // - FIXME-TABLE: We want equal width columns to have equal (ClipRect.Max.x - WorkMinX) width, which means ClipRect.max.x cannot stray off host_clip_rect.Max.x else right-most column may appear shorter. + const float previous_instance_work_min_x = column->WorkMinX; + column->WorkMinX = column->MinX + table->CellPaddingX + table->CellSpacingX1; + column->WorkMaxX = column->MaxX - table->CellPaddingX - table->CellSpacingX2; // Expected max + column->ItemWidth = ImTrunc(column->WidthGiven * 0.65f); + column->ClipRect.Min.x = column->MinX; + column->ClipRect.Min.y = work_rect.Min.y; + column->ClipRect.Max.x = column->MaxX; //column->WorkMaxX; + column->ClipRect.Max.y = FLT_MAX; + column->ClipRect.ClipWithFull(host_clip_rect); + + // Mark column as Clipped (not in sight) + // Note that scrolling tables (where inner_window != outer_window) handle Y clipped earlier in BeginTable() so IsVisibleY really only applies to non-scrolling tables. + // FIXME-TABLE: Because InnerClipRect.Max.y is conservatively ==outer_window->ClipRect.Max.y, we never can mark columns _Above_ the scroll line as not IsVisibleY. + // Taking advantage of LastOuterHeight would yield good results there... + // FIXME-TABLE: Y clipping is disabled because it effectively means not submitting will reduce contents width which is fed to outer_window->DC.CursorMaxPos.x, + // and this may be used (e.g. typically by outer_window using AlwaysAutoResize or outer_window's horizontal scrollbar, but could be something else). + // Possible solution to preserve last known content width for clipped column. Test 'table_reported_size' fails when enabling Y clipping and window is resized small. + column->IsVisibleX = (column->ClipRect.Max.x > column->ClipRect.Min.x); + column->IsVisibleY = true; // (column->ClipRect.Max.y > column->ClipRect.Min.y); + const bool is_visible = column->IsVisibleX; //&& column->IsVisibleY; + if (is_visible) + ImBitArraySetBit(table->VisibleMaskByIndex, column_n); + + // Mark column as requesting output from user. Note that fixed + non-resizable sets are auto-fitting at all times and therefore always request output. + column->IsRequestOutput = is_visible || column->AutoFitQueue != 0 || column->CannotSkipItemsQueue != 0; + + // Mark column as SkipItems (ignoring all items/layout) + // (table->HostSkipItems is a copy of inner_window->SkipItems before we cleared it above in Part 2) + column->IsSkipItems = !column->IsEnabled || table->HostSkipItems; + if (column->IsSkipItems) + IM_ASSERT(!is_visible); + if (column->IsRequestOutput && !column->IsSkipItems) + has_at_least_one_column_requesting_output = true; + + // Update status flags + column->Flags |= ImGuiTableColumnFlags_IsEnabled; + if (is_visible) + column->Flags |= ImGuiTableColumnFlags_IsVisible; + if (column->SortOrder != -1) + column->Flags |= ImGuiTableColumnFlags_IsSorted; + + // Detect hovered column + if (is_hovering_table && mouse_skewed_x >= column->ClipRect.Min.x && mouse_skewed_x < column->ClipRect.Max.x) + { + column->Flags |= ImGuiTableColumnFlags_IsHovered; + table->HoveredColumnBody = (ImGuiTableColumnIdx)column_n; + } + + // Alignment + // FIXME-TABLE: This align based on the whole column width, not per-cell, and therefore isn't useful in + // many cases (to be able to honor this we might be able to store a log of cells width, per row, for + // visible rows, but nav/programmatic scroll would have visible artifacts.) + //if (column->Flags & ImGuiTableColumnFlags_AlignRight) + // column->WorkMinX = ImMax(column->WorkMinX, column->MaxX - column->ContentWidthRowsUnfrozen); + //else if (column->Flags & ImGuiTableColumnFlags_AlignCenter) + // column->WorkMinX = ImLerp(column->WorkMinX, ImMax(column->StartX, column->MaxX - column->ContentWidthRowsUnfrozen), 0.5f); + + // Reset content width variables + if (table->InstanceCurrent == 0) + { + column->ContentMaxXFrozen = column->WorkMinX; + column->ContentMaxXUnfrozen = column->WorkMinX; + column->ContentMaxXHeadersUsed = column->WorkMinX; + column->ContentMaxXHeadersIdeal = column->WorkMinX; + } + else + { + // As we store an absolute value to make per-cell updates faster, we need to offset values used for width computation. + const float offset_from_previous_instance = column->WorkMinX - previous_instance_work_min_x; + column->ContentMaxXFrozen += offset_from_previous_instance; + column->ContentMaxXUnfrozen += offset_from_previous_instance; + column->ContentMaxXHeadersUsed += offset_from_previous_instance; + column->ContentMaxXHeadersIdeal += offset_from_previous_instance; + } + + // Don't decrement auto-fit counters until container window got a chance to submit its items + if (table->HostSkipItems == false && table->InstanceCurrent == 0) + { + column->AutoFitQueue >>= 1; + column->CannotSkipItemsQueue >>= 1; + } + + if (visible_n < table->FreezeColumnsCount) + host_clip_rect.Min.x = ImClamp(column->MaxX + TABLE_BORDER_SIZE, host_clip_rect.Min.x, host_clip_rect.Max.x); + + offset_x += column->WidthGiven + table->CellSpacingX1 + table->CellSpacingX2 + table->CellPaddingX * 2.0f; + visible_n++; + } + + // In case the table is visible (e.g. decorations) but all columns clipped, we keep a column visible. + // Else if give no chance to a clipper-savy user to submit rows and therefore total contents height used by scrollbar. + if (has_at_least_one_column_requesting_output == false) + { + table->Columns[table->LeftMostEnabledColumn].IsRequestOutput = true; + table->Columns[table->LeftMostEnabledColumn].IsSkipItems = false; + } + + // [Part 7] Detect/store when we are hovering the unused space after the right-most column (so e.g. context menus can react on it) + // Clear Resizable flag if none of our column are actually resizable (either via an explicit _NoResize flag, either + // because of using _WidthAuto/_WidthStretch). This will hide the resizing option from the context menu. + const float unused_x1 = ImMax(table->WorkRect.Min.x, table->Columns[table->RightMostEnabledColumn].ClipRect.Max.x); + if (is_hovering_table && table->HoveredColumnBody == -1) + if (mouse_skewed_x >= unused_x1) + table->HoveredColumnBody = (ImGuiTableColumnIdx)table->ColumnsCount; + if (has_resizable == false && (table->Flags & ImGuiTableFlags_Resizable)) + table->Flags &= ~ImGuiTableFlags_Resizable; + + table->IsActiveIdAliveBeforeTable = (g.ActiveIdIsAlive != 0); + + // [Part 8] Lock actual OuterRect/WorkRect right-most position. + // This is done late to handle the case of fixed-columns tables not claiming more widths that they need. + // Because of this we are careful with uses of WorkRect and InnerClipRect before this point. + if (table->RightMostStretchedColumn != -1) + table->Flags &= ~ImGuiTableFlags_NoHostExtendX; + if (table->Flags & ImGuiTableFlags_NoHostExtendX) + { + table->OuterRect.Max.x = table->WorkRect.Max.x = unused_x1; + table->InnerClipRect.Max.x = ImMin(table->InnerClipRect.Max.x, unused_x1); + } + table->InnerWindow->ParentWorkRect = table->WorkRect; + table->BorderX1 = table->InnerClipRect.Min.x; + table->BorderX2 = table->InnerClipRect.Max.x; + + // Setup window's WorkRect.Max.y for GetContentRegionAvail(). Other values will be updated in each TableBeginCell() call. + float window_content_max_y; + if (table->Flags & ImGuiTableFlags_NoHostExtendY) + window_content_max_y = table->OuterRect.Max.y; + else + window_content_max_y = ImMax(table->InnerWindow->ContentRegionRect.Max.y, (table->Flags & ImGuiTableFlags_ScrollY) ? 0.0f : table->OuterRect.Max.y); + table->InnerWindow->WorkRect.Max.y = ImClamp(window_content_max_y - g.Style.CellPadding.y, table->InnerWindow->WorkRect.Min.y, table->InnerWindow->WorkRect.Max.y); + + // [Part 9] Allocate draw channels and setup background cliprect + TableSetupDrawChannels(table); + + // [Part 10] Hit testing on borders + if (table->Flags & ImGuiTableFlags_Resizable) + TableUpdateBorders(table); + table_instance->LastTopHeadersRowHeight = 0.0f; + table->IsLayoutLocked = true; + table->IsUsingHeaders = false; + + // Highlight header + table->HighlightColumnHeader = -1; + if (table->IsContextPopupOpen && table->ContextPopupColumn != -1 && table->InstanceInteracted == table->InstanceCurrent) + table->HighlightColumnHeader = table->ContextPopupColumn; + else if ((table->Flags & ImGuiTableFlags_HighlightHoveredColumn) && table->HoveredColumnBody != -1 && table->HoveredColumnBody != table->ColumnsCount && table->HoveredColumnBorder == -1) + if (g.ActiveId == 0 || (table->IsActiveIdInTable || g.DragDropActive)) + table->HighlightColumnHeader = table->HoveredColumnBody; + + // [Part 11] Default context menu + // - To append to this menu: you can call TableBeginContextMenuPopup()/.../EndPopup(). + // - To modify or replace this: set table->IsContextPopupNoDefaultContents = true, then call TableBeginContextMenuPopup()/.../EndPopup(). + // - You may call TableDrawDefaultContextMenu() with selected flags to display specific sections of the default menu, + // e.g. TableDrawDefaultContextMenu(table, table->Flags & ~ImGuiTableFlags_Hideable) will display everything EXCEPT columns visibility options. + if (table->DisableDefaultContextMenu == false && TableBeginContextMenuPopup(table)) + { + TableDrawDefaultContextMenu(table, table->Flags); + EndPopup(); + } + + // [Part 12] Sanitize and build sort specs before we have a chance to use them for display. + // This path will only be exercised when sort specs are modified before header rows (e.g. init or visibility change) + if (table->IsSortSpecsDirty && (table->Flags & ImGuiTableFlags_Sortable)) + TableSortSpecsBuild(table); + + // [Part 13] Setup inner window decoration size (for scrolling / nav tracking to properly take account of frozen rows/columns) + if (table->FreezeColumnsRequest > 0) + table->InnerWindow->DecoInnerSizeX1 = table->Columns[table->DisplayOrderToIndex[table->FreezeColumnsRequest - 1]].MaxX - table->OuterRect.Min.x; + if (table->FreezeRowsRequest > 0) + table->InnerWindow->DecoInnerSizeY1 = table_instance->LastFrozenHeight; + table_instance->LastFrozenHeight = 0.0f; + + // Initial state + ImGuiWindow* inner_window = table->InnerWindow; + if (table->Flags & ImGuiTableFlags_NoClip) + table->DrawSplitter->SetCurrentChannel(inner_window->DrawList, TABLE_DRAW_CHANNEL_NOCLIP); + else + inner_window->DrawList->PushClipRect(inner_window->InnerClipRect.Min, inner_window->InnerClipRect.Max, false); // FIXME: use table->InnerClipRect? +} + +// Process hit-testing on resizing borders. Actual size change will be applied in EndTable() +// - Set table->HoveredColumnBorder with a short delay/timer to reduce visual feedback noise. +void ImGui::TableUpdateBorders(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(table->Flags & ImGuiTableFlags_Resizable); + + // At this point OuterRect height may be zero or under actual final height, so we rely on temporal coherency and + // use the final height from last frame. Because this is only affecting _interaction_ with columns, it is not + // really problematic (whereas the actual visual will be displayed in EndTable() and using the current frame height). + // Actual columns highlight/render will be performed in EndTable() and not be affected. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + const float hit_half_width = ImTrunc(TABLE_RESIZE_SEPARATOR_HALF_THICKNESS * g.CurrentDpiScale); + const float hit_y1 = (table->FreezeRowsCount >= 1 ? table->OuterRect.Min.y : table->WorkRect.Min.y) + table->AngledHeadersHeight; + const float hit_y2_body = ImMax(table->OuterRect.Max.y, hit_y1 + table_instance->LastOuterHeight - table->AngledHeadersHeight); + const float hit_y2_head = hit_y1 + table_instance->LastTopHeadersRowHeight; + + for (int order_n = 0; order_n < table->ColumnsCount; order_n++) + { + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByDisplayOrder, order_n)) + continue; + + const int column_n = table->DisplayOrderToIndex[order_n]; + ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->Flags & (ImGuiTableColumnFlags_NoResize | ImGuiTableColumnFlags_NoDirectResize_)) + continue; + + // ImGuiTableFlags_NoBordersInBodyUntilResize will be honored in TableDrawBorders() + const float border_y2_hit = (table->Flags & ImGuiTableFlags_NoBordersInBody) ? hit_y2_head : hit_y2_body; + if ((table->Flags & ImGuiTableFlags_NoBordersInBody) && table->IsUsingHeaders == false) + continue; + + if (!column->IsVisibleX && table->LastResizedColumn != column_n) + continue; + + ImGuiID column_id = TableGetColumnResizeID(table, column_n, table->InstanceCurrent); + ImRect hit_rect(column->MaxX - hit_half_width, hit_y1, column->MaxX + hit_half_width, border_y2_hit); + ItemAdd(hit_rect, column_id, NULL, ImGuiItemFlags_NoNav); + //GetForegroundDrawList()->AddRect(hit_rect.Min, hit_rect.Max, IM_COL32(255, 0, 0, 100)); + + bool hovered = false, held = false; + bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); + if (pressed && IsMouseDoubleClicked(0)) + { + TableSetColumnWidthAutoSingle(table, column_n); + ClearActiveID(); + held = false; + } + if (held) + { + if (table->LastResizedColumn == -1) + table->ResizeLockMinContentsX2 = table->RightMostEnabledColumn != -1 ? table->Columns[table->RightMostEnabledColumn].MaxX : -FLT_MAX; + table->ResizedColumn = (ImGuiTableColumnIdx)column_n; + table->InstanceInteracted = table->InstanceCurrent; + } + if ((hovered && g.HoveredIdTimer > TABLE_RESIZE_SEPARATOR_FEEDBACK_TIMER) || held) + { + table->HoveredColumnBorder = (ImGuiTableColumnIdx)column_n; + SetMouseCursor(ImGuiMouseCursor_ResizeEW); + } + } +} + +void ImGui::EndTable() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "EndTable() call should only be done while in BeginTable() scope!"); + return; + } + + // This assert would be very useful to catch a common error... unfortunately it would probably trigger in some + // cases, and for consistency user may sometimes output empty tables (and still benefit from e.g. outer border) + //IM_ASSERT(table->IsLayoutLocked && "Table unused: never called TableNextRow(), is that the intent?"); + + // If the user never got to call TableNextRow() or TableNextColumn(), we call layout ourselves to ensure all our + // code paths are consistent (instead of just hoping that TableBegin/TableEnd will work), get borders drawn, etc. + if (!table->IsLayoutLocked) + TableUpdateLayout(table); + + const ImGuiTableFlags flags = table->Flags; + ImGuiWindow* inner_window = table->InnerWindow; + ImGuiWindow* outer_window = table->OuterWindow; + ImGuiTableTempData* temp_data = table->TempData; + IM_ASSERT(inner_window == g.CurrentWindow); + IM_ASSERT(outer_window == inner_window || outer_window == inner_window->ParentWindow); + + if (table->IsInsideRow) + TableEndRow(table); + + // Context menu in columns body + if (flags & ImGuiTableFlags_ContextMenuInBody) + if (table->HoveredColumnBody != -1 && !IsAnyItemHovered() && IsMouseReleased(ImGuiMouseButton_Right)) + TableOpenContextMenu((int)table->HoveredColumnBody); + + // Finalize table height + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + inner_window->DC.PrevLineSize = temp_data->HostBackupPrevLineSize; + inner_window->DC.CurrLineSize = temp_data->HostBackupCurrLineSize; + inner_window->DC.CursorMaxPos = temp_data->HostBackupCursorMaxPos; + const float inner_content_max_y = table->RowPosY2; + IM_ASSERT(table->RowPosY2 == inner_window->DC.CursorPos.y); + if (inner_window != outer_window) + inner_window->DC.CursorMaxPos.y = inner_content_max_y; + else if (!(flags & ImGuiTableFlags_NoHostExtendY)) + table->OuterRect.Max.y = table->InnerRect.Max.y = ImMax(table->OuterRect.Max.y, inner_content_max_y); // Patch OuterRect/InnerRect height + table->WorkRect.Max.y = ImMax(table->WorkRect.Max.y, table->OuterRect.Max.y); + table_instance->LastOuterHeight = table->OuterRect.GetHeight(); + + // Setup inner scrolling range + // FIXME: This ideally should be done earlier, in BeginTable() SetNextWindowContentSize call, just like writing to inner_window->DC.CursorMaxPos.y, + // but since the later is likely to be impossible to do we'd rather update both axises together. + if (table->Flags & ImGuiTableFlags_ScrollX) + { + const float outer_padding_for_border = (table->Flags & ImGuiTableFlags_BordersOuterV) ? TABLE_BORDER_SIZE : 0.0f; + float max_pos_x = table->InnerWindow->DC.CursorMaxPos.x; + if (table->RightMostEnabledColumn != -1) + max_pos_x = ImMax(max_pos_x, table->Columns[table->RightMostEnabledColumn].WorkMaxX + table->CellPaddingX + table->OuterPaddingX - outer_padding_for_border); + if (table->ResizedColumn != -1) + max_pos_x = ImMax(max_pos_x, table->ResizeLockMinContentsX2); + table->InnerWindow->DC.CursorMaxPos.x = max_pos_x + table->TempData->AngledHeadersExtraWidth; + } + + // Pop clipping rect + if (!(flags & ImGuiTableFlags_NoClip)) + inner_window->DrawList->PopClipRect(); + inner_window->ClipRect = inner_window->DrawList->_ClipRectStack.back(); + + // Draw borders + if ((flags & ImGuiTableFlags_Borders) != 0) + TableDrawBorders(table); + +#if 0 + // Strip out dummy channel draw calls + // We have no way to prevent user submitting direct ImDrawList calls into a hidden column (but ImGui:: calls will be clipped out) + // Pros: remove draw calls which will have no effect. since they'll have zero-size cliprect they may be early out anyway. + // Cons: making it harder for users watching metrics/debugger to spot the wasted vertices. + if (table->DummyDrawChannel != (ImGuiTableColumnIdx)-1) + { + ImDrawChannel* dummy_channel = &table->DrawSplitter._Channels[table->DummyDrawChannel]; + dummy_channel->_CmdBuffer.resize(0); + dummy_channel->_IdxBuffer.resize(0); + } +#endif + + // Flatten channels and merge draw calls + ImDrawListSplitter* splitter = table->DrawSplitter; + splitter->SetCurrentChannel(inner_window->DrawList, 0); + if ((table->Flags & ImGuiTableFlags_NoClip) == 0) + TableMergeDrawChannels(table); + splitter->Merge(inner_window->DrawList); + + // Update ColumnsAutoFitWidth to get us ahead for host using our size to auto-resize without waiting for next BeginTable() + float auto_fit_width_for_fixed = 0.0f; + float auto_fit_width_for_stretched = 0.0f; + float auto_fit_width_for_stretched_min = 0.0f; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + if (IM_BITARRAY_TESTBIT(table->EnabledMaskByIndex, column_n)) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + float column_width_request = ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !(column->Flags & ImGuiTableColumnFlags_NoResize)) ? column->WidthRequest : TableGetColumnWidthAuto(table, column); + if (column->Flags & ImGuiTableColumnFlags_WidthFixed) + auto_fit_width_for_fixed += column_width_request; + else + auto_fit_width_for_stretched += column_width_request; + if ((column->Flags & ImGuiTableColumnFlags_WidthStretch) && (column->Flags & ImGuiTableColumnFlags_NoResize) != 0) + auto_fit_width_for_stretched_min = ImMax(auto_fit_width_for_stretched_min, column_width_request / (column->StretchWeight / table->ColumnsStretchSumWeights)); + } + const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); + table->ColumnsAutoFitWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount + auto_fit_width_for_fixed + ImMax(auto_fit_width_for_stretched, auto_fit_width_for_stretched_min); + + // Update scroll + if ((table->Flags & ImGuiTableFlags_ScrollX) == 0 && inner_window != outer_window) + { + inner_window->Scroll.x = 0.0f; + } + else if (table->LastResizedColumn != -1 && table->ResizedColumn == -1 && inner_window->ScrollbarX && table->InstanceInteracted == table->InstanceCurrent) + { + // When releasing a column being resized, scroll to keep the resulting column in sight + const float neighbor_width_to_keep_visible = table->MinColumnWidth + table->CellPaddingX * 2.0f; + ImGuiTableColumn* column = &table->Columns[table->LastResizedColumn]; + if (column->MaxX < table->InnerClipRect.Min.x) + SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x - neighbor_width_to_keep_visible, 1.0f); + else if (column->MaxX > table->InnerClipRect.Max.x) + SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x + neighbor_width_to_keep_visible, 1.0f); + } + + // Apply resizing/dragging at the end of the frame + if (table->ResizedColumn != -1 && table->InstanceCurrent == table->InstanceInteracted) + { + ImGuiTableColumn* column = &table->Columns[table->ResizedColumn]; + const float new_x2 = (g.IO.MousePos.x - g.ActiveIdClickOffset.x + ImTrunc(TABLE_RESIZE_SEPARATOR_HALF_THICKNESS * g.CurrentDpiScale)); + const float new_width = ImTrunc(new_x2 - column->MinX - table->CellSpacingX1 - table->CellPaddingX * 2.0f); + table->ResizedColumnNextWidth = new_width; + } + + table->IsActiveIdInTable = (g.ActiveIdIsAlive != 0 && table->IsActiveIdAliveBeforeTable == false); + + // Pop from id stack + IM_ASSERT_USER_ERROR(inner_window->IDStack.back() == table_instance->TableInstanceID, "Mismatching PushID/PopID!"); + IM_ASSERT_USER_ERROR(outer_window->DC.ItemWidthStack.Size >= temp_data->HostBackupItemWidthStackSize, "Too many PopItemWidth!"); + if (table->InstanceCurrent > 0) + PopID(); + PopID(); + + // Restore window data that we modified + const ImVec2 backup_outer_max_pos = outer_window->DC.CursorMaxPos; + inner_window->WorkRect = temp_data->HostBackupWorkRect; + inner_window->ParentWorkRect = temp_data->HostBackupParentWorkRect; + inner_window->SkipItems = table->HostSkipItems; + outer_window->DC.CursorPos = table->OuterRect.Min; + outer_window->DC.ItemWidth = temp_data->HostBackupItemWidth; + outer_window->DC.ItemWidthStack.Size = temp_data->HostBackupItemWidthStackSize; + outer_window->DC.ColumnsOffset = temp_data->HostBackupColumnsOffset; + + // Layout in outer window + // (FIXME: To allow auto-fit and allow desirable effect of SameLine() we dissociate 'used' vs 'ideal' size by overriding + // CursorPosPrevLine and CursorMaxPos manually. That should be a more general layout feature, see same problem e.g. #3414) + if (inner_window != outer_window) + { + short backup_nav_layers_active_mask = inner_window->DC.NavLayersActiveMask; + inner_window->DC.NavLayersActiveMask |= 1 << table->NavLayer; // So empty table don't appear to navigate differently. + g.CurrentTable = NULL; // To avoid error recovery recursing + EndChild(); + g.CurrentTable = table; + inner_window->DC.NavLayersActiveMask = backup_nav_layers_active_mask; + } + else + { + ItemSize(table->OuterRect.GetSize()); + ItemAdd(table->OuterRect, 0); + } + + // Override declared contents width/height to enable auto-resize while not needlessly adding a scrollbar + if (table->Flags & ImGuiTableFlags_NoHostExtendX) + { + // FIXME-TABLE: Could we remove this section? + // ColumnsAutoFitWidth may be one frame ahead here since for Fixed+NoResize is calculated from latest contents + IM_ASSERT((table->Flags & ImGuiTableFlags_ScrollX) == 0); + outer_window->DC.CursorMaxPos.x = ImMax(backup_outer_max_pos.x, table->OuterRect.Min.x + table->ColumnsAutoFitWidth); + } + else if (temp_data->UserOuterSize.x <= 0.0f) + { + // Some references for this: #7651 + tests "table_reported_size", "table_reported_size_outer" equivalent Y block + // - Checking for ImGuiTableFlags_ScrollX/ScrollY flag makes us a frame ahead when disabling those flags. + // - FIXME-TABLE: Would make sense to pre-compute expected scrollbar visibility/sizes to generally save a frame of feedback. + const float inner_content_max_x = table->OuterRect.Min.x + table->ColumnsAutoFitWidth; // Slightly misleading name but used for code symmetry with inner_content_max_y + const float decoration_size = table->TempData->AngledHeadersExtraWidth + ((table->Flags & ImGuiTableFlags_ScrollY) ? inner_window->ScrollbarSizes.x : 0.0f); + outer_window->DC.IdealMaxPos.x = ImMax(outer_window->DC.IdealMaxPos.x, inner_content_max_x + decoration_size - temp_data->UserOuterSize.x); + outer_window->DC.CursorMaxPos.x = ImMax(backup_outer_max_pos.x, ImMin(table->OuterRect.Max.x, inner_content_max_x + decoration_size)); + } + else + { + outer_window->DC.CursorMaxPos.x = ImMax(backup_outer_max_pos.x, table->OuterRect.Max.x); + } + if (temp_data->UserOuterSize.y <= 0.0f) + { + const float decoration_size = (table->Flags & ImGuiTableFlags_ScrollX) ? inner_window->ScrollbarSizes.y : 0.0f; + outer_window->DC.IdealMaxPos.y = ImMax(outer_window->DC.IdealMaxPos.y, inner_content_max_y + decoration_size - temp_data->UserOuterSize.y); + outer_window->DC.CursorMaxPos.y = ImMax(backup_outer_max_pos.y, ImMin(table->OuterRect.Max.y, inner_content_max_y + decoration_size)); + } + else + { + // OuterRect.Max.y may already have been pushed downward from the initial value (unless ImGuiTableFlags_NoHostExtendY is set) + outer_window->DC.CursorMaxPos.y = ImMax(backup_outer_max_pos.y, table->OuterRect.Max.y); + } + + // Save settings + if (table->IsSettingsDirty) + TableSaveSettings(table); + table->IsInitializing = false; + + // Clear or restore current table, if any + IM_ASSERT(g.CurrentWindow == outer_window && g.CurrentTable == table); + IM_ASSERT(g.TablesTempDataStacked > 0); + temp_data = (--g.TablesTempDataStacked > 0) ? &g.TablesTempData[g.TablesTempDataStacked - 1] : NULL; + g.CurrentTable = temp_data ? g.Tables.GetByIndex(temp_data->TableIndex) : NULL; + if (g.CurrentTable) + { + g.CurrentTable->TempData = temp_data; + g.CurrentTable->DrawSplitter = &temp_data->DrawSplitter; + } + outer_window->DC.CurrentTableIdx = g.CurrentTable ? g.Tables.GetIndex(g.CurrentTable) : -1; + NavUpdateCurrentWindowIsScrollPushableX(); +} + +// Called in TableSetupColumn() when initializing and in TableLoadSettings() for defaults before applying stored settings. +// 'init_mask' specify which fields to initialize. +static void TableInitColumnDefaults(ImGuiTable* table, ImGuiTableColumn* column, ImGuiTableColumnFlags init_mask) +{ + ImGuiTableColumnFlags flags = column->Flags; + if (init_mask & ImGuiTableFlags_Resizable) + { + float init_width_or_weight = column->InitStretchWeightOrWidth; + column->WidthRequest = ((flags & ImGuiTableColumnFlags_WidthFixed) && init_width_or_weight > 0.0f) ? init_width_or_weight : -1.0f; + column->StretchWeight = (init_width_or_weight > 0.0f && (flags & ImGuiTableColumnFlags_WidthStretch)) ? init_width_or_weight : -1.0f; + if (init_width_or_weight > 0.0f) // Disable auto-fit if an explicit width/weight has been specified + column->AutoFitQueue = 0x00; + } + if (init_mask & ImGuiTableFlags_Reorderable) + column->DisplayOrder = (ImGuiTableColumnIdx)table->Columns.index_from_ptr(column); + if (init_mask & ImGuiTableFlags_Hideable) + column->IsUserEnabled = column->IsUserEnabledNextFrame = (flags & ImGuiTableColumnFlags_DefaultHide) ? 0 : 1; + if (init_mask & ImGuiTableFlags_Sortable) + { + // Multiple columns using _DefaultSort will be reassigned unique SortOrder values when building the sort specs. + column->SortOrder = (flags & ImGuiTableColumnFlags_DefaultSort) ? 0 : -1; + column->SortDirection = (flags & ImGuiTableColumnFlags_DefaultSort) ? ((flags & ImGuiTableColumnFlags_PreferSortDescending) ? (ImS8)ImGuiSortDirection_Descending : (ImU8)(ImGuiSortDirection_Ascending)) : (ImS8)ImGuiSortDirection_None; + } +} + +// See "COLUMNS SIZING POLICIES" comments at the top of this file +// If (init_width_or_weight <= 0.0f) it is ignored +void ImGui::TableSetupColumn(const char* label, ImGuiTableColumnFlags flags, float init_width_or_weight, ImGuiID user_id) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + IM_ASSERT(table->IsLayoutLocked == false && "Need to call TableSetupColumn() before first row!"); + IM_ASSERT((flags & ImGuiTableColumnFlags_StatusMask_) == 0 && "Illegal to pass StatusMask values to TableSetupColumn()"); + if (table->DeclColumnsCount >= table->ColumnsCount) + { + IM_ASSERT_USER_ERROR(table->DeclColumnsCount < table->ColumnsCount, "Called TableSetupColumn() too many times!"); + return; + } + + ImGuiTableColumn* column = &table->Columns[table->DeclColumnsCount]; + table->DeclColumnsCount++; + + // Assert when passing a width or weight if policy is entirely left to default, to avoid storing width into weight and vice-versa. + // Give a grace to users of ImGuiTableFlags_ScrollX. + if (table->IsDefaultSizingPolicy && (flags & ImGuiTableColumnFlags_WidthMask_) == 0 && (flags & ImGuiTableFlags_ScrollX) == 0) + IM_ASSERT(init_width_or_weight <= 0.0f && "Can only specify width/weight if sizing policy is set explicitly in either Table or Column."); + + // When passing a width automatically enforce WidthFixed policy + // (whereas TableSetupColumnFlags would default to WidthAuto if table is not resizable) + if ((flags & ImGuiTableColumnFlags_WidthMask_) == 0 && init_width_or_weight > 0.0f) + if ((table->Flags & ImGuiTableFlags_SizingMask_) == ImGuiTableFlags_SizingFixedFit || (table->Flags & ImGuiTableFlags_SizingMask_) == ImGuiTableFlags_SizingFixedSame) + flags |= ImGuiTableColumnFlags_WidthFixed; + if (flags & ImGuiTableColumnFlags_AngledHeader) + { + flags |= ImGuiTableColumnFlags_NoHeaderLabel; + table->AngledHeadersCount++; + } + + TableSetupColumnFlags(table, column, flags); + column->UserID = user_id; + flags = column->Flags; + + // Initialize defaults + column->InitStretchWeightOrWidth = init_width_or_weight; + if (table->IsInitializing) + { + ImGuiTableFlags init_flags = ~0; + if (column->WidthRequest >= 0.0f && column->StretchWeight >= 0.0f) + init_flags &= ~ImGuiTableFlags_Resizable; + TableInitColumnDefaults(table, column, init_flags); + } + + // Store name (append with zero-terminator in contiguous buffer) + // FIXME: If we recorded the number of \n in names we could compute header row height + column->NameOffset = -1; + if (label != NULL && label[0] != 0) + { + column->NameOffset = (ImS16)table->ColumnsNames.size(); + table->ColumnsNames.append(label, label + strlen(label) + 1); + } +} + +// [Public] +void ImGui::TableSetupScrollFreeze(int columns, int rows) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + IM_ASSERT(table->IsLayoutLocked == false && "Need to call TableSetupColumn() before first row!"); + IM_ASSERT(columns >= 0 && columns < IMGUI_TABLE_MAX_COLUMNS); + IM_ASSERT(rows >= 0 && rows < 128); // Arbitrary limit + + table->FreezeColumnsRequest = (table->Flags & ImGuiTableFlags_ScrollX) ? (ImGuiTableColumnIdx)ImMin(columns, table->ColumnsCount) : 0; + table->FreezeColumnsCount = (table->InnerWindow->Scroll.x != 0.0f) ? table->FreezeColumnsRequest : 0; + table->FreezeRowsRequest = (table->Flags & ImGuiTableFlags_ScrollY) ? (ImGuiTableColumnIdx)rows : 0; + table->FreezeRowsCount = (table->InnerWindow->Scroll.y != 0.0f) ? table->FreezeRowsRequest : 0; + table->IsUnfrozenRows = (table->FreezeRowsCount == 0); // Make sure this is set before TableUpdateLayout() so ImGuiListClipper can benefit from it.b + + // Ensure frozen columns are ordered in their section. We still allow multiple frozen columns to be reordered. + // FIXME-TABLE: This work for preserving 2143 into 21|43. How about 4321 turning into 21|43? (preserve relative order in each section) + for (int column_n = 0; column_n < table->FreezeColumnsRequest; column_n++) + { + int order_n = table->DisplayOrderToIndex[column_n]; + if (order_n != column_n && order_n >= table->FreezeColumnsRequest) + { + ImSwap(table->Columns[table->DisplayOrderToIndex[order_n]].DisplayOrder, table->Columns[table->DisplayOrderToIndex[column_n]].DisplayOrder); + ImSwap(table->DisplayOrderToIndex[order_n], table->DisplayOrderToIndex[column_n]); + } + } +} + +//----------------------------------------------------------------------------- +// [SECTION] Tables: Simple accessors +//----------------------------------------------------------------------------- +// - TableGetColumnCount() +// - TableGetColumnName() +// - TableGetColumnName() [Internal] +// - TableSetColumnEnabled() +// - TableGetColumnFlags() +// - TableGetCellBgRect() [Internal] +// - TableGetColumnResizeID() [Internal] +// - TableGetHoveredColumn() [Internal] +// - TableGetHoveredRow() [Internal] +// - TableSetBgColor() +//----------------------------------------------------------------------------- + +int ImGui::TableGetColumnCount() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + return table ? table->ColumnsCount : 0; +} + +const char* ImGui::TableGetColumnName(int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return NULL; + if (column_n < 0) + column_n = table->CurrentColumn; + return TableGetColumnName(table, column_n); +} + +const char* ImGui::TableGetColumnName(const ImGuiTable* table, int column_n) +{ + if (table->IsLayoutLocked == false && column_n >= table->DeclColumnsCount) + return ""; // NameOffset is invalid at this point + const ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->NameOffset == -1) + return ""; + return &table->ColumnsNames.Buf[column->NameOffset]; +} + +// Change user accessible enabled/disabled state of a column (often perceived as "showing/hiding" from users point of view) +// Note that end-user can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody) +// - Require table to have the ImGuiTableFlags_Hideable flag because we are manipulating user accessible state. +// - Request will be applied during next layout, which happens on the first call to TableNextRow() after BeginTable(). +// - For the getter you can test (TableGetColumnFlags() & ImGuiTableColumnFlags_IsEnabled) != 0. +// - Alternative: the ImGuiTableColumnFlags_Disabled is an overriding/master disable flag which will also hide the column from context menu. +void ImGui::TableSetColumnEnabled(int column_n, bool enabled) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + IM_ASSERT(table->Flags & ImGuiTableFlags_Hideable); // See comments above + if (column_n < 0) + column_n = table->CurrentColumn; + IM_ASSERT(column_n >= 0 && column_n < table->ColumnsCount); + ImGuiTableColumn* column = &table->Columns[column_n]; + column->IsUserEnabledNextFrame = enabled; +} + +// We allow querying for an extra column in order to poll the IsHovered state of the right-most section +ImGuiTableColumnFlags ImGui::TableGetColumnFlags(int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return ImGuiTableColumnFlags_None; + if (column_n < 0) + column_n = table->CurrentColumn; + if (column_n == table->ColumnsCount) + return (table->HoveredColumnBody == column_n) ? ImGuiTableColumnFlags_IsHovered : ImGuiTableColumnFlags_None; + return table->Columns[column_n].Flags; +} + +// Return the cell rectangle based on currently known height. +// - Important: we generally don't know our row height until the end of the row, so Max.y will be incorrect in many situations. +// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it, or in TableEndRow() when we locked that height. +// - Important: if ImGuiTableFlags_PadOuterX is set but ImGuiTableFlags_PadInnerX is not set, the outer-most left and right +// columns report a small offset so their CellBgRect can extend up to the outer border. +// FIXME: But the rendering code in TableEndRow() nullifies that with clamping required for scrolling. +ImRect ImGui::TableGetCellBgRect(const ImGuiTable* table, int column_n) +{ + const ImGuiTableColumn* column = &table->Columns[column_n]; + float x1 = column->MinX; + float x2 = column->MaxX; + //if (column->PrevEnabledColumn == -1) + // x1 -= table->OuterPaddingX; + //if (column->NextEnabledColumn == -1) + // x2 += table->OuterPaddingX; + x1 = ImMax(x1, table->WorkRect.Min.x); + x2 = ImMin(x2, table->WorkRect.Max.x); + return ImRect(x1, table->RowPosY1, x2, table->RowPosY2); +} + +// Return the resizing ID for the right-side of the given column. +ImGuiID ImGui::TableGetColumnResizeID(ImGuiTable* table, int column_n, int instance_no) +{ + IM_ASSERT(column_n >= 0 && column_n < table->ColumnsCount); + ImGuiID instance_id = TableGetInstanceID(table, instance_no); + return instance_id + 1 + column_n; // FIXME: #6140: still not ideal +} + +// Return -1 when table is not hovered. return columns_count if hovering the unused space at the right of the right-most visible column. +int ImGui::TableGetHoveredColumn() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return -1; + return (int)table->HoveredColumnBody; +} + +// Return -1 when table is not hovered. Return maxrow+1 if in table but below last submitted row. +// *IMPORTANT* Unlike TableGetHoveredColumn(), this has a one frame latency in updating the value. +// This difference with is the reason why this is not public yet. +int ImGui::TableGetHoveredRow() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return -1; + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + return (int)table_instance->HoveredRowLast; +} + +void ImGui::TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + IM_ASSERT(target != ImGuiTableBgTarget_None); + + if (color == IM_COL32_DISABLE) + color = 0; + + // We cannot draw neither the cell or row background immediately as we don't know the row height at this point in time. + switch (target) + { + case ImGuiTableBgTarget_CellBg: + { + if (table->RowPosY1 > table->InnerClipRect.Max.y) // Discard + return; + if (column_n == -1) + column_n = table->CurrentColumn; + if (!IM_BITARRAY_TESTBIT(table->VisibleMaskByIndex, column_n)) + return; + if (table->RowCellDataCurrent < 0 || table->RowCellData[table->RowCellDataCurrent].Column != column_n) + table->RowCellDataCurrent++; + ImGuiTableCellData* cell_data = &table->RowCellData[table->RowCellDataCurrent]; + cell_data->BgColor = color; + cell_data->Column = (ImGuiTableColumnIdx)column_n; + break; + } + case ImGuiTableBgTarget_RowBg0: + case ImGuiTableBgTarget_RowBg1: + { + if (table->RowPosY1 > table->InnerClipRect.Max.y) // Discard + return; + IM_ASSERT(column_n == -1); + int bg_idx = (target == ImGuiTableBgTarget_RowBg1) ? 1 : 0; + table->RowBgColor[bg_idx] = color; + break; + } + default: + IM_ASSERT(0); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Row changes +//------------------------------------------------------------------------- +// - TableGetRowIndex() +// - TableNextRow() +// - TableBeginRow() [Internal] +// - TableEndRow() [Internal] +//------------------------------------------------------------------------- + +// [Public] Note: for row coloring we use ->RowBgColorCounter which is the same value without counting header rows +int ImGui::TableGetRowIndex() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return 0; + return table->CurrentRow; +} + +// [Public] Starts into the first cell of a new row +void ImGui::TableNextRow(ImGuiTableRowFlags row_flags, float row_min_height) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + + if (!table->IsLayoutLocked) + TableUpdateLayout(table); + if (table->IsInsideRow) + TableEndRow(table); + + table->LastRowFlags = table->RowFlags; + table->RowFlags = row_flags; + table->RowCellPaddingY = g.Style.CellPadding.y; + table->RowMinHeight = row_min_height; + TableBeginRow(table); + + // We honor min_row_height requested by user, but cannot guarantee per-row maximum height, + // because that would essentially require a unique clipping rectangle per-cell. + table->RowPosY2 += table->RowCellPaddingY * 2.0f; + table->RowPosY2 = ImMax(table->RowPosY2, table->RowPosY1 + row_min_height); + + // Disable output until user calls TableNextColumn() + table->InnerWindow->SkipItems = true; +} + +// [Internal] Only called by TableNextRow() +void ImGui::TableBeginRow(ImGuiTable* table) +{ + ImGuiWindow* window = table->InnerWindow; + IM_ASSERT(!table->IsInsideRow); + + // New row + table->CurrentRow++; + table->CurrentColumn = -1; + table->RowBgColor[0] = table->RowBgColor[1] = IM_COL32_DISABLE; + table->RowCellDataCurrent = -1; + table->IsInsideRow = true; + + // Begin frozen rows + float next_y1 = table->RowPosY2; + if (table->CurrentRow == 0 && table->FreezeRowsCount > 0) + next_y1 = window->DC.CursorPos.y = table->OuterRect.Min.y; + + table->RowPosY1 = table->RowPosY2 = next_y1; + table->RowTextBaseline = 0.0f; + table->RowIndentOffsetX = window->DC.Indent.x - table->HostIndentX; // Lock indent + + window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.CursorPosPrevLine = ImVec2(window->DC.CursorPos.x, window->DC.CursorPos.y + table->RowCellPaddingY); // This allows users to call SameLine() to share LineSize between columns. + window->DC.PrevLineSize = window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); // This allows users to call SameLine() to share LineSize between columns, and to call it from first column too. + window->DC.IsSameLine = window->DC.IsSetPos = false; + window->DC.CursorMaxPos.y = next_y1; + + // Making the header BG color non-transparent will allow us to overlay it multiple times when handling smooth dragging. + if (table->RowFlags & ImGuiTableRowFlags_Headers) + { + TableSetBgColor(ImGuiTableBgTarget_RowBg0, GetColorU32(ImGuiCol_TableHeaderBg)); + if (table->CurrentRow == 0) + table->IsUsingHeaders = true; + } +} + +// [Internal] Called by TableNextRow() +void ImGui::TableEndRow(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window == table->InnerWindow); + IM_ASSERT(table->IsInsideRow); + + if (table->CurrentColumn != -1) + TableEndCell(table); + + // Logging + if (g.LogEnabled) + LogRenderedText(NULL, "|"); + + // Position cursor at the bottom of our row so it can be used for e.g. clipping calculation. However it is + // likely that the next call to TableBeginCell() will reposition the cursor to take account of vertical padding. + window->DC.CursorPos.y = table->RowPosY2; + + // Row background fill + const float bg_y1 = table->RowPosY1; + const float bg_y2 = table->RowPosY2; + const bool unfreeze_rows_actual = (table->CurrentRow + 1 == table->FreezeRowsCount); + const bool unfreeze_rows_request = (table->CurrentRow + 1 == table->FreezeRowsRequest); + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + if ((table->RowFlags & ImGuiTableRowFlags_Headers) && (table->CurrentRow == 0 || (table->LastRowFlags & ImGuiTableRowFlags_Headers))) + table_instance->LastTopHeadersRowHeight += bg_y2 - bg_y1; + + const bool is_visible = (bg_y2 >= table->InnerClipRect.Min.y && bg_y1 <= table->InnerClipRect.Max.y); + if (is_visible) + { + // Update data for TableGetHoveredRow() + if (table->HoveredColumnBody != -1 && g.IO.MousePos.y >= bg_y1 && g.IO.MousePos.y < bg_y2 && table_instance->HoveredRowNext < 0) + table_instance->HoveredRowNext = table->CurrentRow; + + // Decide of background color for the row + ImU32 bg_col0 = 0; + ImU32 bg_col1 = 0; + if (table->RowBgColor[0] != IM_COL32_DISABLE) + bg_col0 = table->RowBgColor[0]; + else if (table->Flags & ImGuiTableFlags_RowBg) + bg_col0 = GetColorU32((table->RowBgColorCounter & 1) ? ImGuiCol_TableRowBgAlt : ImGuiCol_TableRowBg); + if (table->RowBgColor[1] != IM_COL32_DISABLE) + bg_col1 = table->RowBgColor[1]; + + // Decide of top border color + ImU32 top_border_col = 0; + const float border_size = TABLE_BORDER_SIZE; + if (table->CurrentRow > 0 && (table->Flags & ImGuiTableFlags_BordersInnerH)) + top_border_col = (table->LastRowFlags & ImGuiTableRowFlags_Headers) ? table->BorderColorStrong : table->BorderColorLight; + + const bool draw_cell_bg_color = table->RowCellDataCurrent >= 0; + const bool draw_strong_bottom_border = unfreeze_rows_actual; + if ((bg_col0 | bg_col1 | top_border_col) != 0 || draw_strong_bottom_border || draw_cell_bg_color) + { + // In theory we could call SetWindowClipRectBeforeSetChannel() but since we know TableEndRow() is + // always followed by a change of clipping rectangle we perform the smallest overwrite possible here. + if ((table->Flags & ImGuiTableFlags_NoClip) == 0) + window->DrawList->_CmdHeader.ClipRect = table->Bg0ClipRectForDrawCmd.ToVec4(); + table->DrawSplitter->SetCurrentChannel(window->DrawList, TABLE_DRAW_CHANNEL_BG0); + } + + // Draw row background + // We soft/cpu clip this so all backgrounds and borders can share the same clipping rectangle + if (bg_col0 || bg_col1) + { + ImRect row_rect(table->WorkRect.Min.x, bg_y1, table->WorkRect.Max.x, bg_y2); + row_rect.ClipWith(table->BgClipRect); + if (bg_col0 != 0 && row_rect.Min.y < row_rect.Max.y) + window->DrawList->AddRectFilled(row_rect.Min, row_rect.Max, bg_col0); + if (bg_col1 != 0 && row_rect.Min.y < row_rect.Max.y) + window->DrawList->AddRectFilled(row_rect.Min, row_rect.Max, bg_col1); + } + + // Draw cell background color + if (draw_cell_bg_color) + { + ImGuiTableCellData* cell_data_end = &table->RowCellData[table->RowCellDataCurrent]; + for (ImGuiTableCellData* cell_data = &table->RowCellData[0]; cell_data <= cell_data_end; cell_data++) + { + // As we render the BG here we need to clip things (for layout we would not) + // FIXME: This cancels the OuterPadding addition done by TableGetCellBgRect(), need to keep it while rendering correctly while scrolling. + const ImGuiTableColumn* column = &table->Columns[cell_data->Column]; + ImRect cell_bg_rect = TableGetCellBgRect(table, cell_data->Column); + cell_bg_rect.ClipWith(table->BgClipRect); + cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped when scrolling + cell_bg_rect.Max.x = ImMin(cell_bg_rect.Max.x, column->MaxX); + if (cell_bg_rect.Min.y < cell_bg_rect.Max.y) + window->DrawList->AddRectFilled(cell_bg_rect.Min, cell_bg_rect.Max, cell_data->BgColor); + } + } + + // Draw top border + if (top_border_col && bg_y1 >= table->BgClipRect.Min.y && bg_y1 < table->BgClipRect.Max.y) + window->DrawList->AddLine(ImVec2(table->BorderX1, bg_y1), ImVec2(table->BorderX2, bg_y1), top_border_col, border_size); + + // Draw bottom border at the row unfreezing mark (always strong) + if (draw_strong_bottom_border && bg_y2 >= table->BgClipRect.Min.y && bg_y2 < table->BgClipRect.Max.y) + window->DrawList->AddLine(ImVec2(table->BorderX1, bg_y2), ImVec2(table->BorderX2, bg_y2), table->BorderColorStrong, border_size); + } + + // End frozen rows (when we are past the last frozen row line, teleport cursor and alter clipping rectangle) + // We need to do that in TableEndRow() instead of TableBeginRow() so the list clipper can mark end of row and + // get the new cursor position. + if (unfreeze_rows_request) + { + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + table->Columns[column_n].NavLayerCurrent = table->NavLayer; + const float y0 = ImMax(table->RowPosY2 + 1, table->InnerClipRect.Min.y); + table_instance->LastFrozenHeight = y0 - table->OuterRect.Min.y; + + if (unfreeze_rows_actual) + { + IM_ASSERT(table->IsUnfrozenRows == false); + table->IsUnfrozenRows = true; + + // BgClipRect starts as table->InnerClipRect, reduce it now and make BgClipRectForDrawCmd == BgClipRect + table->BgClipRect.Min.y = table->Bg2ClipRectForDrawCmd.Min.y = ImMin(y0, table->InnerClipRect.Max.y); + table->BgClipRect.Max.y = table->Bg2ClipRectForDrawCmd.Max.y = table->InnerClipRect.Max.y; + table->Bg2DrawChannelCurrent = table->Bg2DrawChannelUnfrozen; + IM_ASSERT(table->Bg2ClipRectForDrawCmd.Min.y <= table->Bg2ClipRectForDrawCmd.Max.y); + + float row_height = table->RowPosY2 - table->RowPosY1; + table->RowPosY2 = window->DC.CursorPos.y = table->WorkRect.Min.y + table->RowPosY2 - table->OuterRect.Min.y; + table->RowPosY1 = table->RowPosY2 - row_height; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + column->DrawChannelCurrent = column->DrawChannelUnfrozen; + column->ClipRect.Min.y = table->Bg2ClipRectForDrawCmd.Min.y; + } + + // Update cliprect ahead of TableBeginCell() so clipper can access to new ClipRect->Min.y + SetWindowClipRectBeforeSetChannel(window, table->Columns[0].ClipRect); + table->DrawSplitter->SetCurrentChannel(window->DrawList, table->Columns[0].DrawChannelCurrent); + } + } + + if (!(table->RowFlags & ImGuiTableRowFlags_Headers)) + table->RowBgColorCounter++; + table->IsInsideRow = false; +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Columns changes +//------------------------------------------------------------------------- +// - TableGetColumnIndex() +// - TableSetColumnIndex() +// - TableNextColumn() +// - TableBeginCell() [Internal] +// - TableEndCell() [Internal] +//------------------------------------------------------------------------- + +int ImGui::TableGetColumnIndex() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return 0; + return table->CurrentColumn; +} + +// [Public] Append into a specific column +bool ImGui::TableSetColumnIndex(int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return false; + + if (table->CurrentColumn != column_n) + { + if (table->CurrentColumn != -1) + TableEndCell(table); + if ((column_n >= 0 && column_n < table->ColumnsCount) == false) + { + IM_ASSERT_USER_ERROR(column_n >= 0 && column_n < table->ColumnsCount, "TableSetColumnIndex() invalid column index!"); + return false; + } + TableBeginCell(table, column_n); + } + + // Return whether the column is visible. User may choose to skip submitting items based on this return value, + // however they shouldn't skip submitting for columns that may have the tallest contribution to row height. + return table->Columns[column_n].IsRequestOutput; +} + +// [Public] Append into the next column, wrap and create a new row when already on last column +bool ImGui::TableNextColumn() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (!table) + return false; + + if (table->IsInsideRow && table->CurrentColumn + 1 < table->ColumnsCount) + { + if (table->CurrentColumn != -1) + TableEndCell(table); + TableBeginCell(table, table->CurrentColumn + 1); + } + else + { + TableNextRow(); + TableBeginCell(table, 0); + } + + // Return whether the column is visible. User may choose to skip submitting items based on this return value, + // however they shouldn't skip submitting for columns that may have the tallest contribution to row height. + return table->Columns[table->CurrentColumn].IsRequestOutput; +} + + +// [Internal] Called by TableSetColumnIndex()/TableNextColumn() +// This is called very frequently, so we need to be mindful of unnecessary overhead. +// FIXME-TABLE FIXME-OPT: Could probably shortcut some things for non-active or clipped columns. +void ImGui::TableBeginCell(ImGuiTable* table, int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTableColumn* column = &table->Columns[column_n]; + ImGuiWindow* window = table->InnerWindow; + table->CurrentColumn = column_n; + + // Start position is roughly ~~ CellRect.Min + CellPadding + Indent + float start_x = column->WorkMinX; + if (column->Flags & ImGuiTableColumnFlags_IndentEnable) + start_x += table->RowIndentOffsetX; // ~~ += window.DC.Indent.x - table->HostIndentX, except we locked it for the row. + + window->DC.CursorPos.x = start_x; + window->DC.CursorPos.y = table->RowPosY1 + table->RowCellPaddingY; + window->DC.CursorMaxPos.x = window->DC.CursorPos.x; + window->DC.ColumnsOffset.x = start_x - window->Pos.x - window->DC.Indent.x; // FIXME-WORKRECT + window->DC.CursorPosPrevLine.x = window->DC.CursorPos.x; // PrevLine.y is preserved. This allows users to call SameLine() to share LineSize between columns. + window->DC.CurrLineTextBaseOffset = table->RowTextBaseline; + window->DC.NavLayerCurrent = (ImGuiNavLayer)column->NavLayerCurrent; + + // Note how WorkRect.Max.y is only set once during layout + window->WorkRect.Min.y = window->DC.CursorPos.y; + window->WorkRect.Min.x = column->WorkMinX; + window->WorkRect.Max.x = column->WorkMaxX; + window->DC.ItemWidth = column->ItemWidth; + + window->SkipItems = column->IsSkipItems; + if (column->IsSkipItems) + { + g.LastItemData.ID = 0; + g.LastItemData.StatusFlags = 0; + } + + if (table->Flags & ImGuiTableFlags_NoClip) + { + // FIXME: if we end up drawing all borders/bg in EndTable, could remove this and just assert that channel hasn't changed. + table->DrawSplitter->SetCurrentChannel(window->DrawList, TABLE_DRAW_CHANNEL_NOCLIP); + //IM_ASSERT(table->DrawSplitter._Current == TABLE_DRAW_CHANNEL_NOCLIP); + } + else + { + // FIXME-TABLE: Could avoid this if draw channel is dummy channel? + SetWindowClipRectBeforeSetChannel(window, column->ClipRect); + table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); + } + + // Logging + if (g.LogEnabled && !column->IsSkipItems) + { + LogRenderedText(&window->DC.CursorPos, "|"); + g.LogLinePosY = FLT_MAX; + } +} + +// [Internal] Called by TableNextRow()/TableSetColumnIndex()/TableNextColumn() +void ImGui::TableEndCell(ImGuiTable* table) +{ + ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; + ImGuiWindow* window = table->InnerWindow; + + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + + // Report maximum position so we can infer content size per column. + float* p_max_pos_x; + if (table->RowFlags & ImGuiTableRowFlags_Headers) + p_max_pos_x = &column->ContentMaxXHeadersUsed; // Useful in case user submit contents in header row that is not a TableHeader() call + else + p_max_pos_x = table->IsUnfrozenRows ? &column->ContentMaxXUnfrozen : &column->ContentMaxXFrozen; + *p_max_pos_x = ImMax(*p_max_pos_x, window->DC.CursorMaxPos.x); + if (column->IsEnabled) + table->RowPosY2 = ImMax(table->RowPosY2, window->DC.CursorMaxPos.y + table->RowCellPaddingY); + column->ItemWidth = window->DC.ItemWidth; + + // Propagate text baseline for the entire row + // FIXME-TABLE: Here we propagate text baseline from the last line of the cell.. instead of the first one. + table->RowTextBaseline = ImMax(table->RowTextBaseline, window->DC.PrevLineTextBaseOffset); +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Columns width management +//------------------------------------------------------------------------- +// - TableGetMaxColumnWidth() [Internal] +// - TableGetColumnWidthAuto() [Internal] +// - TableSetColumnWidth() +// - TableSetColumnWidthAutoSingle() [Internal] +// - TableSetColumnWidthAutoAll() [Internal] +// - TableUpdateColumnsWeightFromWidth() [Internal] +//------------------------------------------------------------------------- +// Note that actual columns widths are computed in TableUpdateLayout(). +//------------------------------------------------------------------------- + +// Maximum column content width given current layout. Use column->MinX so this value differs on a per-column basis. +float ImGui::TableCalcMaxColumnWidth(const ImGuiTable* table, int column_n) +{ + const ImGuiTableColumn* column = &table->Columns[column_n]; + float max_width = FLT_MAX; + const float min_column_distance = table->MinColumnWidth + table->CellPaddingX * 2.0f + table->CellSpacingX1 + table->CellSpacingX2; + if (table->Flags & ImGuiTableFlags_ScrollX) + { + // Frozen columns can't reach beyond visible width else scrolling will naturally break. + // (we use DisplayOrder as within a set of multiple frozen column reordering is possible) + if (column->DisplayOrder < table->FreezeColumnsRequest) + { + max_width = (table->InnerClipRect.Max.x - (table->FreezeColumnsRequest - column->DisplayOrder) * min_column_distance) - column->MinX; + max_width = max_width - table->OuterPaddingX - table->CellPaddingX - table->CellSpacingX2; + } + } + else if ((table->Flags & ImGuiTableFlags_NoKeepColumnsVisible) == 0) + { + // If horizontal scrolling if disabled, we apply a final lossless shrinking of columns in order to make + // sure they are all visible. Because of this we also know that all of the columns will always fit in + // table->WorkRect and therefore in table->InnerRect (because ScrollX is off) + // FIXME-TABLE: This is solved incorrectly but also quite a difficult problem to fix as we also want ClipRect width to match. + // See "table_width_distrib" and "table_width_keep_visible" tests + max_width = table->WorkRect.Max.x - (table->ColumnsEnabledCount - column->IndexWithinEnabledSet - 1) * min_column_distance - column->MinX; + //max_width -= table->CellSpacingX1; + max_width -= table->CellSpacingX2; + max_width -= table->CellPaddingX * 2.0f; + max_width -= table->OuterPaddingX; + } + return max_width; +} + +// Note this is meant to be stored in column->WidthAuto, please generally use the WidthAuto field +float ImGui::TableGetColumnWidthAuto(ImGuiTable* table, ImGuiTableColumn* column) +{ + const float content_width_body = ImMax(column->ContentMaxXFrozen, column->ContentMaxXUnfrozen) - column->WorkMinX; + const float content_width_headers = column->ContentMaxXHeadersIdeal - column->WorkMinX; + float width_auto = content_width_body; + if (!(column->Flags & ImGuiTableColumnFlags_NoHeaderWidth)) + width_auto = ImMax(width_auto, content_width_headers); + + // Non-resizable fixed columns preserve their requested width + if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && column->InitStretchWeightOrWidth > 0.0f) + if (!(table->Flags & ImGuiTableFlags_Resizable) || (column->Flags & ImGuiTableColumnFlags_NoResize)) + width_auto = column->InitStretchWeightOrWidth; + + return ImMax(width_auto, table->MinColumnWidth); +} + +// 'width' = inner column width, without padding +void ImGui::TableSetColumnWidth(int column_n, float width) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + IM_ASSERT(table != NULL && table->IsLayoutLocked == false); + IM_ASSERT(column_n >= 0 && column_n < table->ColumnsCount); + ImGuiTableColumn* column_0 = &table->Columns[column_n]; + float column_0_width = width; + + // Apply constraints early + // Compare both requested and actual given width to avoid overwriting requested width when column is stuck (minimum size, bounded) + IM_ASSERT(table->MinColumnWidth > 0.0f); + const float min_width = table->MinColumnWidth; + const float max_width = ImMax(min_width, column_0->WidthMax); // Don't use TableCalcMaxColumnWidth() here as it would rely on MinX from last instance (#7933) + column_0_width = ImClamp(column_0_width, min_width, max_width); + if (column_0->WidthGiven == column_0_width || column_0->WidthRequest == column_0_width) + return; + + //IMGUI_DEBUG_PRINT("TableSetColumnWidth(%d, %.1f->%.1f)\n", column_0_idx, column_0->WidthGiven, column_0_width); + ImGuiTableColumn* column_1 = (column_0->NextEnabledColumn != -1) ? &table->Columns[column_0->NextEnabledColumn] : NULL; + + // In this surprisingly not simple because of how we support mixing Fixed and multiple Stretch columns. + // - All fixed: easy. + // - All stretch: easy. + // - One or more fixed + one stretch: easy. + // - One or more fixed + more than one stretch: tricky. + // Qt when manual resize is enabled only supports a single _trailing_ stretch column, we support more cases here. + + // When forwarding resize from Wn| to Fn+1| we need to be considerate of the _NoResize flag on Fn+1. + // FIXME-TABLE: Find a way to rewrite all of this so interactions feel more consistent for the user. + // Scenarios: + // - F1 F2 F3 resize from F1| or F2| --> ok: alter ->WidthRequested of Fixed column. Subsequent columns will be offset. + // - F1 F2 F3 resize from F3| --> ok: alter ->WidthRequested of Fixed column. If active, ScrollX extent can be altered. + // - F1 F2 W3 resize from F1| or F2| --> ok: alter ->WidthRequested of Fixed column. If active, ScrollX extent can be altered, but it doesn't make much sense as the Stretch column will always be minimal size. + // - F1 F2 W3 resize from W3| --> ok: no-op (disabled by Resize Rule 1) + // - W1 W2 W3 resize from W1| or W2| --> ok + // - W1 W2 W3 resize from W3| --> ok: no-op (disabled by Resize Rule 1) + // - W1 F2 F3 resize from F3| --> ok: no-op (disabled by Resize Rule 1) + // - W1 F2 resize from F2| --> ok: no-op (disabled by Resize Rule 1) + // - W1 W2 F3 resize from W1| or W2| --> ok + // - W1 F2 W3 resize from W1| or F2| --> ok + // - F1 W2 F3 resize from W2| --> ok + // - F1 W3 F2 resize from W3| --> ok + // - W1 F2 F3 resize from W1| --> ok: equivalent to resizing |F2. F3 will not move. + // - W1 F2 F3 resize from F2| --> ok + // All resizes from a Wx columns are locking other columns. + + // Possible improvements: + // - W1 W2 W3 resize W1| --> to not be stuck, both W2 and W3 would stretch down. Seems possible to fix. Would be most beneficial to simplify resize of all-weighted columns. + // - W3 F1 F2 resize W3| --> to not be stuck past F1|, both F1 and F2 would need to stretch down, which would be lossy or ambiguous. Seems hard to fix. + + // [Resize Rule 1] Can't resize from right of right-most visible column if there is any Stretch column. Implemented in TableUpdateLayout(). + + // If we have all Fixed columns OR resizing a Fixed column that doesn't come after a Stretch one, we can do an offsetting resize. + // This is the preferred resize path + if (column_0->Flags & ImGuiTableColumnFlags_WidthFixed) + if (!column_1 || table->LeftMostStretchedColumn == -1 || table->Columns[table->LeftMostStretchedColumn].DisplayOrder >= column_0->DisplayOrder) + { + column_0->WidthRequest = column_0_width; + table->IsSettingsDirty = true; + return; + } + + // We can also use previous column if there's no next one (this is used when doing an auto-fit on the right-most stretch column) + if (column_1 == NULL) + column_1 = (column_0->PrevEnabledColumn != -1) ? &table->Columns[column_0->PrevEnabledColumn] : NULL; + if (column_1 == NULL) + return; + + // Resizing from right-side of a Stretch column before a Fixed column forward sizing to left-side of fixed column. + // (old_a + old_b == new_a + new_b) --> (new_a == old_a + old_b - new_b) + float column_1_width = ImMax(column_1->WidthRequest - (column_0_width - column_0->WidthRequest), min_width); + column_0_width = column_0->WidthRequest + column_1->WidthRequest - column_1_width; + IM_ASSERT(column_0_width > 0.0f && column_1_width > 0.0f); + column_0->WidthRequest = column_0_width; + column_1->WidthRequest = column_1_width; + if ((column_0->Flags | column_1->Flags) & ImGuiTableColumnFlags_WidthStretch) + TableUpdateColumnsWeightFromWidth(table); + table->IsSettingsDirty = true; +} + +// Disable clipping then auto-fit, will take 2 frames +// (we don't take a shortcut for unclipped columns to reduce inconsistencies when e.g. resizing multiple columns) +void ImGui::TableSetColumnWidthAutoSingle(ImGuiTable* table, int column_n) +{ + // Single auto width uses auto-fit + ImGuiTableColumn* column = &table->Columns[column_n]; + if (!column->IsEnabled) + return; + column->CannotSkipItemsQueue = (1 << 0); + table->AutoFitSingleColumn = (ImGuiTableColumnIdx)column_n; +} + +void ImGui::TableSetColumnWidthAutoAll(ImGuiTable* table) +{ + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (!column->IsEnabled && !(column->Flags & ImGuiTableColumnFlags_WidthStretch)) // Cannot reset weight of hidden stretch column + continue; + column->CannotSkipItemsQueue = (1 << 0); + column->AutoFitQueue = (1 << 1); + } +} + +void ImGui::TableUpdateColumnsWeightFromWidth(ImGuiTable* table) +{ + IM_ASSERT(table->LeftMostStretchedColumn != -1 && table->RightMostStretchedColumn != -1); + + // Measure existing quantities + float visible_weight = 0.0f; + float visible_width = 0.0f; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (!column->IsEnabled || !(column->Flags & ImGuiTableColumnFlags_WidthStretch)) + continue; + IM_ASSERT(column->StretchWeight > 0.0f); + visible_weight += column->StretchWeight; + visible_width += column->WidthRequest; + } + IM_ASSERT(visible_weight > 0.0f && visible_width > 0.0f); + + // Apply new weights + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (!column->IsEnabled || !(column->Flags & ImGuiTableColumnFlags_WidthStretch)) + continue; + column->StretchWeight = (column->WidthRequest / visible_width) * visible_weight; + IM_ASSERT(column->StretchWeight > 0.0f); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Drawing +//------------------------------------------------------------------------- +// - TablePushBackgroundChannel() [Internal] +// - TablePopBackgroundChannel() [Internal] +// - TableSetupDrawChannels() [Internal] +// - TableMergeDrawChannels() [Internal] +// - TableGetColumnBorderCol() [Internal] +// - TableDrawBorders() [Internal] +//------------------------------------------------------------------------- + +// Bg2 is used by Selectable (and possibly other widgets) to render to the background. +// Unlike our Bg0/1 channel which we uses for RowBg/CellBg/Borders and where we guarantee all shapes to be CPU-clipped, the Bg2 channel being widgets-facing will rely on regular ClipRect. +void ImGui::TablePushBackgroundChannel() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiTable* table = g.CurrentTable; + + // Optimization: avoid SetCurrentChannel() + PushClipRect() + table->HostBackupInnerClipRect = window->ClipRect; + SetWindowClipRectBeforeSetChannel(window, table->Bg2ClipRectForDrawCmd); + table->DrawSplitter->SetCurrentChannel(window->DrawList, table->Bg2DrawChannelCurrent); +} + +void ImGui::TablePopBackgroundChannel() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiTable* table = g.CurrentTable; + ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; + + // Optimization: avoid PopClipRect() + SetCurrentChannel() + SetWindowClipRectBeforeSetChannel(window, table->HostBackupInnerClipRect); + table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); +} + +// Allocate draw channels. Called by TableUpdateLayout() +// - We allocate them following storage order instead of display order so reordering columns won't needlessly +// increase overall dormant memory cost. +// - We isolate headers draw commands in their own channels instead of just altering clip rects. +// This is in order to facilitate merging of draw commands. +// - After crossing FreezeRowsCount, all columns see their current draw channel changed to a second set of channels. +// - We only use the dummy draw channel so we can push a null clipping rectangle into it without affecting other +// channels, while simplifying per-row/per-cell overhead. It will be empty and discarded when merged. +// - We allocate 1 or 2 background draw channels. This is because we know TablePushBackgroundChannel() is only used for +// horizontal spanning. If we allowed vertical spanning we'd need one background draw channel per merge group (1-4). +// Draw channel allocation (before merging): +// - NoClip --> 2+D+1 channels: bg0/1 + bg2 + foreground (same clip rect == always 1 draw call) +// - Clip --> 2+D+N channels +// - FreezeRows --> 2+D+N*2 (unless scrolling value is zero) +// - FreezeRows || FreezeColunns --> 3+D+N*2 (unless scrolling value is zero) +// Where D is 1 if any column is clipped or hidden (dummy channel) otherwise 0. +void ImGui::TableSetupDrawChannels(ImGuiTable* table) +{ + const int freeze_row_multiplier = (table->FreezeRowsCount > 0) ? 2 : 1; + const int channels_for_row = (table->Flags & ImGuiTableFlags_NoClip) ? 1 : table->ColumnsEnabledCount; + const int channels_for_bg = 1 + 1 * freeze_row_multiplier; + const int channels_for_dummy = (table->ColumnsEnabledCount < table->ColumnsCount || (memcmp(table->VisibleMaskByIndex, table->EnabledMaskByIndex, ImBitArrayGetStorageSizeInBytes(table->ColumnsCount)) != 0)) ? +1 : 0; + const int channels_total = channels_for_bg + (channels_for_row * freeze_row_multiplier) + channels_for_dummy; + table->DrawSplitter->Split(table->InnerWindow->DrawList, channels_total); + table->DummyDrawChannel = (ImGuiTableDrawChannelIdx)((channels_for_dummy > 0) ? channels_total - 1 : -1); + table->Bg2DrawChannelCurrent = TABLE_DRAW_CHANNEL_BG2_FROZEN; + table->Bg2DrawChannelUnfrozen = (ImGuiTableDrawChannelIdx)((table->FreezeRowsCount > 0) ? 2 + channels_for_row : TABLE_DRAW_CHANNEL_BG2_FROZEN); + + int draw_channel_current = 2; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->IsVisibleX && column->IsVisibleY) + { + column->DrawChannelFrozen = (ImGuiTableDrawChannelIdx)(draw_channel_current); + column->DrawChannelUnfrozen = (ImGuiTableDrawChannelIdx)(draw_channel_current + (table->FreezeRowsCount > 0 ? channels_for_row + 1 : 0)); + if (!(table->Flags & ImGuiTableFlags_NoClip)) + draw_channel_current++; + } + else + { + column->DrawChannelFrozen = column->DrawChannelUnfrozen = table->DummyDrawChannel; + } + column->DrawChannelCurrent = column->DrawChannelFrozen; + } + + // Initial draw cmd starts with a BgClipRect that matches the one of its host, to facilitate merge draw commands by default. + // All our cell highlight are manually clipped with BgClipRect. When unfreezing it will be made smaller to fit scrolling rect. + // (This technically isn't part of setting up draw channels, but is reasonably related to be done here) + table->BgClipRect = table->InnerClipRect; + table->Bg0ClipRectForDrawCmd = table->OuterWindow->ClipRect; + table->Bg2ClipRectForDrawCmd = table->HostClipRect; + IM_ASSERT(table->BgClipRect.Min.y <= table->BgClipRect.Max.y); +} + +// This function reorder draw channels based on matching clip rectangle, to facilitate merging them. Called by EndTable(). +// For simplicity we call it TableMergeDrawChannels() but in fact it only reorder channels + overwrite ClipRect, +// actual merging is done by table->DrawSplitter.Merge() which is called right after TableMergeDrawChannels(). +// +// Columns where the contents didn't stray off their local clip rectangle can be merged. To achieve +// this we merge their clip rect and make them contiguous in the channel list, so they can be merged +// by the call to DrawSplitter.Merge() following to the call to this function. +// We reorder draw commands by arranging them into a maximum of 4 distinct groups: +// +// 1 group: 2 groups: 2 groups: 4 groups: +// [ 0. ] no freeze [ 0. ] row freeze [ 01 ] col freeze [ 01 ] row+col freeze +// [ .. ] or no scroll [ 2. ] and v-scroll [ .. ] and h-scroll [ 23 ] and v+h-scroll +// +// Each column itself can use 1 channel (row freeze disabled) or 2 channels (row freeze enabled). +// When the contents of a column didn't stray off its limit, we move its channels into the corresponding group +// based on its position (within frozen rows/columns groups or not). +// At the end of the operation our 1-4 groups will each have a ImDrawCmd using the same ClipRect. +// This function assume that each column are pointing to a distinct draw channel, +// otherwise merge_group->ChannelsCount will not match set bit count of merge_group->ChannelsMask. +// +// Column channels will not be merged into one of the 1-4 groups in the following cases: +// - The contents stray off its clipping rectangle (we only compare the MaxX value, not the MinX value). +// Direct ImDrawList calls won't be taken into account by default, if you use them make sure the ImGui:: bounds +// matches, by e.g. calling SetCursorScreenPos(). +// - The channel uses more than one draw command itself. We drop all our attempt at merging stuff here.. +// we could do better but it's going to be rare and probably not worth the hassle. +// Columns for which the draw channel(s) haven't been merged with other will use their own ImDrawCmd. +// +// This function is particularly tricky to understand.. take a breath. +void ImGui::TableMergeDrawChannels(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + ImDrawListSplitter* splitter = table->DrawSplitter; + const bool has_freeze_v = (table->FreezeRowsCount > 0); + const bool has_freeze_h = (table->FreezeColumnsCount > 0); + IM_ASSERT(splitter->_Current == 0); + + // Track which groups we are going to attempt to merge, and which channels goes into each group. + struct MergeGroup + { + ImRect ClipRect; + int ChannelsCount = 0; + ImBitArrayPtr ChannelsMask = NULL; + }; + int merge_group_mask = 0x00; + MergeGroup merge_groups[4]; + + // Use a reusable temp buffer for the merge masks as they are dynamically sized. + const int max_draw_channels = (4 + table->ColumnsCount * 2); + const int size_for_masks_bitarrays_one = (int)ImBitArrayGetStorageSizeInBytes(max_draw_channels); + g.TempBuffer.reserve(size_for_masks_bitarrays_one * 5); + memset(g.TempBuffer.Data, 0, size_for_masks_bitarrays_one * 5); + for (int n = 0; n < IM_ARRAYSIZE(merge_groups); n++) + merge_groups[n].ChannelsMask = (ImBitArrayPtr)(void*)(g.TempBuffer.Data + (size_for_masks_bitarrays_one * n)); + ImBitArrayPtr remaining_mask = (ImBitArrayPtr)(void*)(g.TempBuffer.Data + (size_for_masks_bitarrays_one * 4)); + + // 1. Scan channels and take note of those which can be merged + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + if (!IM_BITARRAY_TESTBIT(table->VisibleMaskByIndex, column_n)) + continue; + ImGuiTableColumn* column = &table->Columns[column_n]; + + const int merge_group_sub_count = has_freeze_v ? 2 : 1; + for (int merge_group_sub_n = 0; merge_group_sub_n < merge_group_sub_count; merge_group_sub_n++) + { + const int channel_no = (merge_group_sub_n == 0) ? column->DrawChannelFrozen : column->DrawChannelUnfrozen; + + // Don't attempt to merge if there are multiple draw calls within the column + ImDrawChannel* src_channel = &splitter->_Channels[channel_no]; + if (src_channel->_CmdBuffer.Size > 0 && src_channel->_CmdBuffer.back().ElemCount == 0 && src_channel->_CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() + src_channel->_CmdBuffer.pop_back(); + if (src_channel->_CmdBuffer.Size != 1) + continue; + + // Find out the width of this merge group and check if it will fit in our column + // (note that we assume that rendering didn't stray on the left direction. we should need a CursorMinPos to detect it) + if (!(column->Flags & ImGuiTableColumnFlags_NoClip)) + { + float content_max_x; + if (!has_freeze_v) + content_max_x = ImMax(column->ContentMaxXUnfrozen, column->ContentMaxXHeadersUsed); // No row freeze + else if (merge_group_sub_n == 0) + content_max_x = ImMax(column->ContentMaxXFrozen, column->ContentMaxXHeadersUsed); // Row freeze: use width before freeze + else + content_max_x = column->ContentMaxXUnfrozen; // Row freeze: use width after freeze + if (content_max_x > column->ClipRect.Max.x) + continue; + } + + const int merge_group_n = (has_freeze_h && column_n < table->FreezeColumnsCount ? 0 : 1) + (has_freeze_v && merge_group_sub_n == 0 ? 0 : 2); + IM_ASSERT(channel_no < max_draw_channels); + MergeGroup* merge_group = &merge_groups[merge_group_n]; + if (merge_group->ChannelsCount == 0) + merge_group->ClipRect = ImRect(+FLT_MAX, +FLT_MAX, -FLT_MAX, -FLT_MAX); + ImBitArraySetBit(merge_group->ChannelsMask, channel_no); + merge_group->ChannelsCount++; + merge_group->ClipRect.Add(src_channel->_CmdBuffer[0].ClipRect); + merge_group_mask |= (1 << merge_group_n); + } + + // Invalidate current draw channel + // (we don't clear DrawChannelFrozen/DrawChannelUnfrozen solely to facilitate debugging/later inspection of data) + column->DrawChannelCurrent = (ImGuiTableDrawChannelIdx)-1; + } + + // [DEBUG] Display merge groups +#if 0 + if (g.IO.KeyShift) + for (int merge_group_n = 0; merge_group_n < IM_ARRAYSIZE(merge_groups); merge_group_n++) + { + MergeGroup* merge_group = &merge_groups[merge_group_n]; + if (merge_group->ChannelsCount == 0) + continue; + char buf[32]; + ImFormatString(buf, 32, "MG%d:%d", merge_group_n, merge_group->ChannelsCount); + ImVec2 text_pos = merge_group->ClipRect.Min + ImVec2(4, 4); + ImVec2 text_size = CalcTextSize(buf, NULL); + GetForegroundDrawList()->AddRectFilled(text_pos, text_pos + text_size, IM_COL32(0, 0, 0, 255)); + GetForegroundDrawList()->AddText(text_pos, IM_COL32(255, 255, 0, 255), buf, NULL); + GetForegroundDrawList()->AddRect(merge_group->ClipRect.Min, merge_group->ClipRect.Max, IM_COL32(255, 255, 0, 255)); + } +#endif + + // 2. Rewrite channel list in our preferred order + if (merge_group_mask != 0) + { + // We skip channel 0 (Bg0/Bg1) and 1 (Bg2 frozen) from the shuffling since they won't move - see channels allocation in TableSetupDrawChannels(). + const int LEADING_DRAW_CHANNELS = 2; + g.DrawChannelsTempMergeBuffer.resize(splitter->_Count - LEADING_DRAW_CHANNELS); // Use shared temporary storage so the allocation gets amortized + ImDrawChannel* dst_tmp = g.DrawChannelsTempMergeBuffer.Data; + ImBitArraySetBitRange(remaining_mask, LEADING_DRAW_CHANNELS, splitter->_Count); + ImBitArrayClearBit(remaining_mask, table->Bg2DrawChannelUnfrozen); + IM_ASSERT(has_freeze_v == false || table->Bg2DrawChannelUnfrozen != TABLE_DRAW_CHANNEL_BG2_FROZEN); + int remaining_count = splitter->_Count - (has_freeze_v ? LEADING_DRAW_CHANNELS + 1 : LEADING_DRAW_CHANNELS); + //ImRect host_rect = (table->InnerWindow == table->OuterWindow) ? table->InnerClipRect : table->HostClipRect; + ImRect host_rect = table->HostClipRect; + for (int merge_group_n = 0; merge_group_n < IM_ARRAYSIZE(merge_groups); merge_group_n++) + { + if (int merge_channels_count = merge_groups[merge_group_n].ChannelsCount) + { + MergeGroup* merge_group = &merge_groups[merge_group_n]; + ImRect merge_clip_rect = merge_group->ClipRect; + + // Extend outer-most clip limits to match those of host, so draw calls can be merged even if + // outer-most columns have some outer padding offsetting them from their parent ClipRect. + // The principal cases this is dealing with are: + // - On a same-window table (not scrolling = single group), all fitting columns ClipRect -> will extend and match host ClipRect -> will merge + // - Columns can use padding and have left-most ClipRect.Min.x and right-most ClipRect.Max.x != from host ClipRect -> will extend and match host ClipRect -> will merge + // FIXME-TABLE FIXME-WORKRECT: We are wasting a merge opportunity on tables without scrolling if column doesn't fit + // within host clip rect, solely because of the half-padding difference between window->WorkRect and window->InnerClipRect. + if ((merge_group_n & 1) == 0 || !has_freeze_h) + merge_clip_rect.Min.x = ImMin(merge_clip_rect.Min.x, host_rect.Min.x); + if ((merge_group_n & 2) == 0 || !has_freeze_v) + merge_clip_rect.Min.y = ImMin(merge_clip_rect.Min.y, host_rect.Min.y); + if ((merge_group_n & 1) != 0) + merge_clip_rect.Max.x = ImMax(merge_clip_rect.Max.x, host_rect.Max.x); + if ((merge_group_n & 2) != 0 && (table->Flags & ImGuiTableFlags_NoHostExtendY) == 0) + merge_clip_rect.Max.y = ImMax(merge_clip_rect.Max.y, host_rect.Max.y); + //GetForegroundDrawList()->AddRect(merge_group->ClipRect.Min, merge_group->ClipRect.Max, IM_COL32(255, 0, 0, 200), 0.0f, 0, 1.0f); // [DEBUG] + //GetForegroundDrawList()->AddLine(merge_group->ClipRect.Min, merge_clip_rect.Min, IM_COL32(255, 100, 0, 200)); + //GetForegroundDrawList()->AddLine(merge_group->ClipRect.Max, merge_clip_rect.Max, IM_COL32(255, 100, 0, 200)); + remaining_count -= merge_group->ChannelsCount; + for (int n = 0; n < (size_for_masks_bitarrays_one >> 2); n++) + remaining_mask[n] &= ~merge_group->ChannelsMask[n]; + for (int n = 0; n < splitter->_Count && merge_channels_count != 0; n++) + { + // Copy + overwrite new clip rect + if (!IM_BITARRAY_TESTBIT(merge_group->ChannelsMask, n)) + continue; + IM_BITARRAY_CLEARBIT(merge_group->ChannelsMask, n); + merge_channels_count--; + + ImDrawChannel* channel = &splitter->_Channels[n]; + IM_ASSERT(channel->_CmdBuffer.Size == 1 && merge_clip_rect.Contains(ImRect(channel->_CmdBuffer[0].ClipRect))); + channel->_CmdBuffer[0].ClipRect = merge_clip_rect.ToVec4(); + memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); + } + } + + // Make sure Bg2DrawChannelUnfrozen appears in the middle of our groups (whereas Bg0/Bg1 and Bg2 frozen are fixed to 0 and 1) + if (merge_group_n == 1 && has_freeze_v) + memcpy(dst_tmp++, &splitter->_Channels[table->Bg2DrawChannelUnfrozen], sizeof(ImDrawChannel)); + } + + // Append unmergeable channels that we didn't reorder at the end of the list + for (int n = 0; n < splitter->_Count && remaining_count != 0; n++) + { + if (!IM_BITARRAY_TESTBIT(remaining_mask, n)) + continue; + ImDrawChannel* channel = &splitter->_Channels[n]; + memcpy(dst_tmp++, channel, sizeof(ImDrawChannel)); + remaining_count--; + } + IM_ASSERT(dst_tmp == g.DrawChannelsTempMergeBuffer.Data + g.DrawChannelsTempMergeBuffer.Size); + memcpy(splitter->_Channels.Data + LEADING_DRAW_CHANNELS, g.DrawChannelsTempMergeBuffer.Data, (splitter->_Count - LEADING_DRAW_CHANNELS) * sizeof(ImDrawChannel)); + } +} + +static ImU32 TableGetColumnBorderCol(ImGuiTable* table, int order_n, int column_n) +{ + const bool is_hovered = (table->HoveredColumnBorder == column_n); + const bool is_resized = (table->ResizedColumn == column_n) && (table->InstanceInteracted == table->InstanceCurrent); + const bool is_frozen_separator = (table->FreezeColumnsCount == order_n + 1); + if (is_resized || is_hovered) + return ImGui::GetColorU32(is_resized ? ImGuiCol_SeparatorActive : ImGuiCol_SeparatorHovered); + if (is_frozen_separator || (table->Flags & (ImGuiTableFlags_NoBordersInBody | ImGuiTableFlags_NoBordersInBodyUntilResize))) + return table->BorderColorStrong; + return table->BorderColorLight; +} + +// FIXME-TABLE: This is a mess, need to redesign how we render borders (as some are also done in TableEndRow) +void ImGui::TableDrawBorders(ImGuiTable* table) +{ + ImGuiWindow* inner_window = table->InnerWindow; + if (!table->OuterWindow->ClipRect.Overlaps(table->OuterRect)) + return; + + ImDrawList* inner_drawlist = inner_window->DrawList; + table->DrawSplitter->SetCurrentChannel(inner_drawlist, TABLE_DRAW_CHANNEL_BG0); + inner_drawlist->PushClipRect(table->Bg0ClipRectForDrawCmd.Min, table->Bg0ClipRectForDrawCmd.Max, false); + + // Draw inner border and resizing feedback + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + const float border_size = TABLE_BORDER_SIZE; + const float draw_y1 = ImMax(table->InnerRect.Min.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table->AngledHeadersHeight) + ((table->Flags & ImGuiTableFlags_BordersOuterH) ? 1.0f : 0.0f); + const float draw_y2_body = table->InnerRect.Max.y; + const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table_instance->LastTopHeadersRowHeight) : draw_y1; + if (table->Flags & ImGuiTableFlags_BordersInnerV) + { + for (int order_n = 0; order_n < table->ColumnsCount; order_n++) + { + if (!IM_BITARRAY_TESTBIT(table->EnabledMaskByDisplayOrder, order_n)) + continue; + + const int column_n = table->DisplayOrderToIndex[order_n]; + ImGuiTableColumn* column = &table->Columns[column_n]; + const bool is_hovered = (table->HoveredColumnBorder == column_n); + const bool is_resized = (table->ResizedColumn == column_n) && (table->InstanceInteracted == table->InstanceCurrent); + const bool is_resizable = (column->Flags & (ImGuiTableColumnFlags_NoResize | ImGuiTableColumnFlags_NoDirectResize_)) == 0; + const bool is_frozen_separator = (table->FreezeColumnsCount == order_n + 1); + if (column->MaxX > table->InnerClipRect.Max.x && !is_resized) + continue; + + // Decide whether right-most column is visible + if (column->NextEnabledColumn == -1 && !is_resizable) + if ((table->Flags & ImGuiTableFlags_SizingMask_) != ImGuiTableFlags_SizingFixedSame || (table->Flags & ImGuiTableFlags_NoHostExtendX)) + continue; + if (column->MaxX <= column->ClipRect.Min.x) // FIXME-TABLE FIXME-STYLE: Assume BorderSize==1, this is problematic if we want to increase the border size.. + continue; + + // Draw in outer window so right-most column won't be clipped + // Always draw full height border when being resized/hovered, or on the delimitation of frozen column scrolling. + float draw_y2 = (is_hovered || is_resized || is_frozen_separator || (table->Flags & (ImGuiTableFlags_NoBordersInBody | ImGuiTableFlags_NoBordersInBodyUntilResize)) == 0) ? draw_y2_body : draw_y2_head; + if (draw_y2 > draw_y1) + inner_drawlist->AddLine(ImVec2(column->MaxX, draw_y1), ImVec2(column->MaxX, draw_y2), TableGetColumnBorderCol(table, order_n, column_n), border_size); + } + } + + // Draw outer border + // FIXME: could use AddRect or explicit VLine/HLine helper? + if (table->Flags & ImGuiTableFlags_BordersOuter) + { + // Display outer border offset by 1 which is a simple way to display it without adding an extra draw call + // (Without the offset, in outer_window it would be rendered behind cells, because child windows are above their + // parent. In inner_window, it won't reach out over scrollbars. Another weird solution would be to display part + // of it in inner window, and the part that's over scrollbars in the outer window..) + // Either solution currently won't allow us to use a larger border size: the border would clipped. + const ImRect outer_border = table->OuterRect; + const ImU32 outer_col = table->BorderColorStrong; + if ((table->Flags & ImGuiTableFlags_BordersOuter) == ImGuiTableFlags_BordersOuter) + { + inner_drawlist->AddRect(outer_border.Min, outer_border.Max, outer_col, 0.0f, 0, border_size); + } + else if (table->Flags & ImGuiTableFlags_BordersOuterV) + { + inner_drawlist->AddLine(outer_border.Min, ImVec2(outer_border.Min.x, outer_border.Max.y), outer_col, border_size); + inner_drawlist->AddLine(ImVec2(outer_border.Max.x, outer_border.Min.y), outer_border.Max, outer_col, border_size); + } + else if (table->Flags & ImGuiTableFlags_BordersOuterH) + { + inner_drawlist->AddLine(outer_border.Min, ImVec2(outer_border.Max.x, outer_border.Min.y), outer_col, border_size); + inner_drawlist->AddLine(ImVec2(outer_border.Min.x, outer_border.Max.y), outer_border.Max, outer_col, border_size); + } + } + if ((table->Flags & ImGuiTableFlags_BordersInnerH) && table->RowPosY2 < table->OuterRect.Max.y) + { + // Draw bottom-most row border between it is above outer border. + const float border_y = table->RowPosY2; + if (border_y >= table->BgClipRect.Min.y && border_y < table->BgClipRect.Max.y) + inner_drawlist->AddLine(ImVec2(table->BorderX1, border_y), ImVec2(table->BorderX2, border_y), table->BorderColorLight, border_size); + } + + inner_drawlist->PopClipRect(); +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Sorting +//------------------------------------------------------------------------- +// - TableGetSortSpecs() +// - TableFixColumnSortDirection() [Internal] +// - TableGetColumnNextSortDirection() [Internal] +// - TableSetColumnSortDirection() [Internal] +// - TableSortSpecsSanitize() [Internal] +// - TableSortSpecsBuild() [Internal] +//------------------------------------------------------------------------- + +// Return NULL if no sort specs (most often when ImGuiTableFlags_Sortable is not set) +// When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have +// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, +// else you may wastefully sort your data every frame! +// Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable()! +ImGuiTableSortSpecs* ImGui::TableGetSortSpecs() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + IM_ASSERT(table != NULL); + + if (!(table->Flags & ImGuiTableFlags_Sortable)) + return NULL; + + // Require layout (in case TableHeadersRow() hasn't been called) as it may alter IsSortSpecsDirty in some paths. + if (!table->IsLayoutLocked) + TableUpdateLayout(table); + + TableSortSpecsBuild(table); + return &table->SortSpecs; +} + +static inline ImGuiSortDirection TableGetColumnAvailSortDirection(ImGuiTableColumn* column, int n) +{ + IM_ASSERT(n < column->SortDirectionsAvailCount); + return (ImGuiSortDirection)((column->SortDirectionsAvailList >> (n << 1)) & 0x03); +} + +// Fix sort direction if currently set on a value which is unavailable (e.g. activating NoSortAscending/NoSortDescending) +void ImGui::TableFixColumnSortDirection(ImGuiTable* table, ImGuiTableColumn* column) +{ + if (column->SortOrder == -1 || (column->SortDirectionsAvailMask & (1 << column->SortDirection)) != 0) + return; + column->SortDirection = (ImU8)TableGetColumnAvailSortDirection(column, 0); + table->IsSortSpecsDirty = true; +} + +// Calculate next sort direction that would be set after clicking the column +// - If the PreferSortDescending flag is set, we will default to a Descending direction on the first click. +// - Note that the PreferSortAscending flag is never checked, it is essentially the default and therefore a no-op. +IM_STATIC_ASSERT(ImGuiSortDirection_None == 0 && ImGuiSortDirection_Ascending == 1 && ImGuiSortDirection_Descending == 2); +ImGuiSortDirection ImGui::TableGetColumnNextSortDirection(ImGuiTableColumn* column) +{ + IM_ASSERT(column->SortDirectionsAvailCount > 0); + if (column->SortOrder == -1) + return TableGetColumnAvailSortDirection(column, 0); + for (int n = 0; n < 3; n++) + if (column->SortDirection == TableGetColumnAvailSortDirection(column, n)) + return TableGetColumnAvailSortDirection(column, (n + 1) % column->SortDirectionsAvailCount); + IM_ASSERT(0); + return ImGuiSortDirection_None; +} + +// Note that the NoSortAscending/NoSortDescending flags are processed in TableSortSpecsSanitize(), and they may change/revert +// the value of SortDirection. We could technically also do it here but it would be unnecessary and duplicate code. +void ImGui::TableSetColumnSortDirection(int column_n, ImGuiSortDirection sort_direction, bool append_to_sort_specs) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + + if (!(table->Flags & ImGuiTableFlags_SortMulti)) + append_to_sort_specs = false; + if (!(table->Flags & ImGuiTableFlags_SortTristate)) + IM_ASSERT(sort_direction != ImGuiSortDirection_None); + + ImGuiTableColumnIdx sort_order_max = 0; + if (append_to_sort_specs) + for (int other_column_n = 0; other_column_n < table->ColumnsCount; other_column_n++) + sort_order_max = ImMax(sort_order_max, table->Columns[other_column_n].SortOrder); + + ImGuiTableColumn* column = &table->Columns[column_n]; + column->SortDirection = (ImU8)sort_direction; + if (column->SortDirection == ImGuiSortDirection_None) + column->SortOrder = -1; + else if (column->SortOrder == -1 || !append_to_sort_specs) + column->SortOrder = append_to_sort_specs ? sort_order_max + 1 : 0; + + for (int other_column_n = 0; other_column_n < table->ColumnsCount; other_column_n++) + { + ImGuiTableColumn* other_column = &table->Columns[other_column_n]; + if (other_column != column && !append_to_sort_specs) + other_column->SortOrder = -1; + TableFixColumnSortDirection(table, other_column); + } + table->IsSettingsDirty = true; + table->IsSortSpecsDirty = true; +} + +void ImGui::TableSortSpecsSanitize(ImGuiTable* table) +{ + IM_ASSERT(table->Flags & ImGuiTableFlags_Sortable); + + // Clear SortOrder from hidden column and verify that there's no gap or duplicate. + int sort_order_count = 0; + ImU64 sort_order_mask = 0x00; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->SortOrder != -1 && !column->IsEnabled) + column->SortOrder = -1; + if (column->SortOrder == -1) + continue; + sort_order_count++; + sort_order_mask |= ((ImU64)1 << column->SortOrder); + IM_ASSERT(sort_order_count < (int)sizeof(sort_order_mask) * 8); + } + + const bool need_fix_linearize = ((ImU64)1 << sort_order_count) != (sort_order_mask + 1); + const bool need_fix_single_sort_order = (sort_order_count > 1) && !(table->Flags & ImGuiTableFlags_SortMulti); + if (need_fix_linearize || need_fix_single_sort_order) + { + ImU64 fixed_mask = 0x00; + for (int sort_n = 0; sort_n < sort_order_count; sort_n++) + { + // Fix: Rewrite sort order fields if needed so they have no gap or duplicate. + // (e.g. SortOrder 0 disappeared, SortOrder 1..2 exists --> rewrite then as SortOrder 0..1) + int column_with_smallest_sort_order = -1; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + if ((fixed_mask & ((ImU64)1 << (ImU64)column_n)) == 0 && table->Columns[column_n].SortOrder != -1) + if (column_with_smallest_sort_order == -1 || table->Columns[column_n].SortOrder < table->Columns[column_with_smallest_sort_order].SortOrder) + column_with_smallest_sort_order = column_n; + IM_ASSERT(column_with_smallest_sort_order != -1); + fixed_mask |= ((ImU64)1 << column_with_smallest_sort_order); + table->Columns[column_with_smallest_sort_order].SortOrder = (ImGuiTableColumnIdx)sort_n; + + // Fix: Make sure only one column has a SortOrder if ImGuiTableFlags_MultiSortable is not set. + if (need_fix_single_sort_order) + { + sort_order_count = 1; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + if (column_n != column_with_smallest_sort_order) + table->Columns[column_n].SortOrder = -1; + break; + } + } + } + + // Fallback default sort order (if no column with the ImGuiTableColumnFlags_DefaultSort flag) + if (sort_order_count == 0 && !(table->Flags & ImGuiTableFlags_SortTristate)) + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->IsEnabled && !(column->Flags & ImGuiTableColumnFlags_NoSort)) + { + sort_order_count = 1; + column->SortOrder = 0; + column->SortDirection = (ImU8)TableGetColumnAvailSortDirection(column, 0); + break; + } + } + + table->SortSpecsCount = (ImGuiTableColumnIdx)sort_order_count; +} + +void ImGui::TableSortSpecsBuild(ImGuiTable* table) +{ + bool dirty = table->IsSortSpecsDirty; + if (dirty) + { + TableSortSpecsSanitize(table); + table->SortSpecsMulti.resize(table->SortSpecsCount <= 1 ? 0 : table->SortSpecsCount); + table->SortSpecs.SpecsDirty = true; // Mark as dirty for user + table->IsSortSpecsDirty = false; // Mark as not dirty for us + } + + // Write output + // May be able to move all SortSpecs data from table (48 bytes) to ImGuiTableTempData if we decide to write it back on every BeginTable() + ImGuiTableColumnSortSpecs* sort_specs = (table->SortSpecsCount == 0) ? NULL : (table->SortSpecsCount == 1) ? &table->SortSpecsSingle : table->SortSpecsMulti.Data; + if (dirty && sort_specs != NULL) + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + if (column->SortOrder == -1) + continue; + IM_ASSERT(column->SortOrder < table->SortSpecsCount); + ImGuiTableColumnSortSpecs* sort_spec = &sort_specs[column->SortOrder]; + sort_spec->ColumnUserID = column->UserID; + sort_spec->ColumnIndex = (ImGuiTableColumnIdx)column_n; + sort_spec->SortOrder = (ImGuiTableColumnIdx)column->SortOrder; + sort_spec->SortDirection = (ImGuiSortDirection)column->SortDirection; + } + + table->SortSpecs.Specs = sort_specs; + table->SortSpecs.SpecsCount = table->SortSpecsCount; +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Headers +//------------------------------------------------------------------------- +// - TableGetHeaderRowHeight() [Internal] +// - TableGetHeaderAngledMaxLabelWidth() [Internal] +// - TableHeadersRow() +// - TableHeader() +// - TableAngledHeadersRow() +// - TableAngledHeadersRowEx() [Internal] +//------------------------------------------------------------------------- + +float ImGui::TableGetHeaderRowHeight() +{ + // Caring for a minor edge case: + // Calculate row height, for the unlikely case that some labels may be taller than others. + // If we didn't do that, uneven header height would highlight but smaller one before the tallest wouldn't catch input for all height. + // In your custom header row you may omit this all together and just call TableNextRow() without a height... + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + float row_height = g.FontSize; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + if (IM_BITARRAY_TESTBIT(table->EnabledMaskByIndex, column_n)) + if ((table->Columns[column_n].Flags & ImGuiTableColumnFlags_NoHeaderLabel) == 0) + row_height = ImMax(row_height, CalcTextSize(TableGetColumnName(table, column_n)).y); + return row_height + g.Style.CellPadding.y * 2.0f; +} + +float ImGui::TableGetHeaderAngledMaxLabelWidth() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + float width = 0.0f; + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + if (IM_BITARRAY_TESTBIT(table->EnabledMaskByIndex, column_n)) + if (table->Columns[column_n].Flags & ImGuiTableColumnFlags_AngledHeader) + width = ImMax(width, CalcTextSize(TableGetColumnName(table, column_n), NULL, true).x); + return width + g.Style.CellPadding.y * 2.0f; // Swap padding +} + +// [Public] This is a helper to output TableHeader() calls based on the column names declared in TableSetupColumn(). +// The intent is that advanced users willing to create customized headers would not need to use this helper +// and can create their own! For example: TableHeader() may be preceded by Checkbox() or other custom widgets. +// See 'Demo->Tables->Custom headers' for a demonstration of implementing a custom version of this. +// This code is intentionally written to not make much use of internal functions, to give you better direction +// if you need to write your own. +// FIXME-TABLE: TableOpenContextMenu() and TableGetHeaderRowHeight() are not public. +void ImGui::TableHeadersRow() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + + // Call layout if not already done. This is automatically done by TableNextRow: we do it here _only_ to make + // it easier to debug-step in TableUpdateLayout(). Your own version of this function doesn't need this. + if (!table->IsLayoutLocked) + TableUpdateLayout(table); + + // Open row + const float row_height = TableGetHeaderRowHeight(); + TableNextRow(ImGuiTableRowFlags_Headers, row_height); + const float row_y1 = GetCursorScreenPos().y; + if (table->HostSkipItems) // Merely an optimization, you may skip in your own code. + return; + + const int columns_count = TableGetColumnCount(); + for (int column_n = 0; column_n < columns_count; column_n++) + { + if (!TableSetColumnIndex(column_n)) + continue; + + // Push an id to allow empty/unnamed headers. This is also idiomatic as it ensure there is a consistent ID path to access columns (for e.g. automation) + const char* name = (TableGetColumnFlags(column_n) & ImGuiTableColumnFlags_NoHeaderLabel) ? "" : TableGetColumnName(column_n); + PushID(column_n); + TableHeader(name); + PopID(); + } + + // Allow opening popup from the right-most section after the last column. + ImVec2 mouse_pos = ImGui::GetMousePos(); + if (IsMouseReleased(1) && TableGetHoveredColumn() == columns_count) + if (mouse_pos.y >= row_y1 && mouse_pos.y < row_y1 + row_height) + TableOpenContextMenu(columns_count); // Will open a non-column-specific popup. +} + +// Emit a column header (text + optional sort order) +// We cpu-clip text here so that all columns headers can be merged into a same draw call. +// Note that because of how we cpu-clip and display sorting indicators, you _cannot_ use SameLine() after a TableHeader() +void ImGui::TableHeader(const char* label) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + ImGuiTable* table = g.CurrentTable; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + + IM_ASSERT(table->CurrentColumn != -1); + const int column_n = table->CurrentColumn; + ImGuiTableColumn* column = &table->Columns[column_n]; + + // Label + if (label == NULL) + label = ""; + const char* label_end = FindRenderedTextEnd(label); + ImVec2 label_size = CalcTextSize(label, label_end, true); + ImVec2 label_pos = window->DC.CursorPos; + + // If we already got a row height, there's use that. + // FIXME-TABLE: Padding problem if the correct outer-padding CellBgRect strays off our ClipRect? + ImRect cell_r = TableGetCellBgRect(table, column_n); + float label_height = ImMax(label_size.y, table->RowMinHeight - table->RowCellPaddingY * 2.0f); + + // Calculate ideal size for sort order arrow + float w_arrow = 0.0f; + float w_sort_text = 0.0f; + bool sort_arrow = false; + char sort_order_suf[4] = ""; + const float ARROW_SCALE = 0.65f; + if ((table->Flags & ImGuiTableFlags_Sortable) && !(column->Flags & ImGuiTableColumnFlags_NoSort)) + { + w_arrow = ImTrunc(g.FontSize * ARROW_SCALE + g.Style.FramePadding.x); + if (column->SortOrder != -1) + sort_arrow = true; + if (column->SortOrder > 0) + { + ImFormatString(sort_order_suf, IM_ARRAYSIZE(sort_order_suf), "%d", column->SortOrder + 1); + w_sort_text = g.Style.ItemInnerSpacing.x + CalcTextSize(sort_order_suf).x; + } + } + + // We feed our unclipped width to the column without writing on CursorMaxPos, so that column is still considered for merging. + float max_pos_x = label_pos.x + label_size.x + w_sort_text + w_arrow; + column->ContentMaxXHeadersUsed = ImMax(column->ContentMaxXHeadersUsed, sort_arrow ? cell_r.Max.x : ImMin(max_pos_x, cell_r.Max.x)); + column->ContentMaxXHeadersIdeal = ImMax(column->ContentMaxXHeadersIdeal, max_pos_x); + + // Keep header highlighted when context menu is open. + ImGuiID id = window->GetID(label); + ImRect bb(cell_r.Min.x, cell_r.Min.y, cell_r.Max.x, ImMax(cell_r.Max.y, cell_r.Min.y + label_height + g.Style.CellPadding.y * 2.0f)); + ItemSize(ImVec2(0.0f, label_height)); // Don't declare unclipped width, it'll be fed ContentMaxPosHeadersIdeal + if (!ItemAdd(bb, id)) + return; + + //GetForegroundDrawList()->AddRect(cell_r.Min, cell_r.Max, IM_COL32(255, 0, 0, 255)); // [DEBUG] + //GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(255, 0, 0, 255)); // [DEBUG] + + // Using AllowOverlap mode because we cover the whole cell, and we want user to be able to submit subsequent items. + const bool highlight = (table->HighlightColumnHeader == column_n); + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_AllowOverlap); + if (held || hovered || highlight) + { + const ImU32 col = GetColorU32(held ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header); + //RenderFrame(bb.Min, bb.Max, col, false, 0.0f); + TableSetBgColor(ImGuiTableBgTarget_CellBg, col, table->CurrentColumn); + } + else + { + // Submit single cell bg color in the case we didn't submit a full header row + if ((table->RowFlags & ImGuiTableRowFlags_Headers) == 0) + TableSetBgColor(ImGuiTableBgTarget_CellBg, GetColorU32(ImGuiCol_TableHeaderBg), table->CurrentColumn); + } + RenderNavCursor(bb, id, ImGuiNavRenderCursorFlags_Compact | ImGuiNavRenderCursorFlags_NoRounding); + if (held) + table->HeldHeaderColumn = (ImGuiTableColumnIdx)column_n; + window->DC.CursorPos.y -= g.Style.ItemSpacing.y * 0.5f; + + // Drag and drop to re-order columns. + // FIXME-TABLE: Scroll request while reordering a column and it lands out of the scrolling zone. + if (held && (table->Flags & ImGuiTableFlags_Reorderable) && IsMouseDragging(0) && !g.DragDropActive) + { + // While moving a column it will jump on the other side of the mouse, so we also test for MouseDelta.x + table->ReorderColumn = (ImGuiTableColumnIdx)column_n; + table->InstanceInteracted = table->InstanceCurrent; + + // We don't reorder: through the frozen<>unfrozen line, or through a column that is marked with ImGuiTableColumnFlags_NoReorder. + if (g.IO.MouseDelta.x < 0.0f && g.IO.MousePos.x < cell_r.Min.x) + if (ImGuiTableColumn* prev_column = (column->PrevEnabledColumn != -1) ? &table->Columns[column->PrevEnabledColumn] : NULL) + if (!((column->Flags | prev_column->Flags) & ImGuiTableColumnFlags_NoReorder)) + if ((column->IndexWithinEnabledSet < table->FreezeColumnsRequest) == (prev_column->IndexWithinEnabledSet < table->FreezeColumnsRequest)) + table->ReorderColumnDir = -1; + if (g.IO.MouseDelta.x > 0.0f && g.IO.MousePos.x > cell_r.Max.x) + if (ImGuiTableColumn* next_column = (column->NextEnabledColumn != -1) ? &table->Columns[column->NextEnabledColumn] : NULL) + if (!((column->Flags | next_column->Flags) & ImGuiTableColumnFlags_NoReorder)) + if ((column->IndexWithinEnabledSet < table->FreezeColumnsRequest) == (next_column->IndexWithinEnabledSet < table->FreezeColumnsRequest)) + table->ReorderColumnDir = +1; + } + + // Sort order arrow + const float ellipsis_max = ImMax(cell_r.Max.x - w_arrow - w_sort_text, label_pos.x); + if ((table->Flags & ImGuiTableFlags_Sortable) && !(column->Flags & ImGuiTableColumnFlags_NoSort)) + { + if (column->SortOrder != -1) + { + float x = ImMax(cell_r.Min.x, cell_r.Max.x - w_arrow - w_sort_text); + float y = label_pos.y; + if (column->SortOrder > 0) + { + PushStyleColor(ImGuiCol_Text, GetColorU32(ImGuiCol_Text, 0.70f)); + RenderText(ImVec2(x + g.Style.ItemInnerSpacing.x, y), sort_order_suf); + PopStyleColor(); + x += w_sort_text; + } + RenderArrow(window->DrawList, ImVec2(x, y), GetColorU32(ImGuiCol_Text), column->SortDirection == ImGuiSortDirection_Ascending ? ImGuiDir_Up : ImGuiDir_Down, ARROW_SCALE); + } + + // Handle clicking on column header to adjust Sort Order + if (pressed && table->ReorderColumn != column_n) + { + ImGuiSortDirection sort_direction = TableGetColumnNextSortDirection(column); + TableSetColumnSortDirection(column_n, sort_direction, g.IO.KeyShift); + } + } + + // Render clipped label. Clipping here ensure that in the majority of situations, all our header cells will + // be merged into a single draw call. + //window->DrawList->AddCircleFilled(ImVec2(ellipsis_max, label_pos.y), 40, IM_COL32_WHITE); + RenderTextEllipsis(window->DrawList, label_pos, ImVec2(ellipsis_max, label_pos.y + label_height + g.Style.FramePadding.y), ellipsis_max, ellipsis_max, label, label_end, &label_size); + + const bool text_clipped = label_size.x > (ellipsis_max - label_pos.x); + if (text_clipped && hovered && g.ActiveId == 0) + SetItemTooltip("%.*s", (int)(label_end - label), label); + + // We don't use BeginPopupContextItem() because we want the popup to stay up even after the column is hidden + if (IsMouseReleased(1) && IsItemHovered()) + TableOpenContextMenu(column_n); +} + +// Unlike TableHeadersRow() it is not expected that you can reimplement or customize this with custom widgets. +// FIXME: No hit-testing/button on the angled header. +void ImGui::TableAngledHeadersRow() +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + ImGuiTableTempData* temp_data = table->TempData; + temp_data->AngledHeadersRequests.resize(0); + temp_data->AngledHeadersRequests.reserve(table->ColumnsEnabledCount); + + // Which column needs highlight? + const ImGuiID row_id = GetID("##AngledHeaders"); + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); + int highlight_column_n = table->HighlightColumnHeader; + if (highlight_column_n == -1 && table->HoveredColumnBody != -1) + if (table_instance->HoveredRowLast == 0 && table->HoveredColumnBorder == -1 && (g.ActiveId == 0 || g.ActiveId == row_id || (table->IsActiveIdInTable || g.DragDropActive))) + highlight_column_n = table->HoveredColumnBody; + + // Build up request + ImU32 col_header_bg = GetColorU32(ImGuiCol_TableHeaderBg); + ImU32 col_text = GetColorU32(ImGuiCol_Text); + for (int order_n = 0; order_n < table->ColumnsCount; order_n++) + if (IM_BITARRAY_TESTBIT(table->EnabledMaskByDisplayOrder, order_n)) + { + const int column_n = table->DisplayOrderToIndex[order_n]; + ImGuiTableColumn* column = &table->Columns[column_n]; + if ((column->Flags & ImGuiTableColumnFlags_AngledHeader) == 0) // Note: can't rely on ImGuiTableColumnFlags_IsVisible test here. + continue; + ImGuiTableHeaderData request = { (ImGuiTableColumnIdx)column_n, col_text, col_header_bg, (column_n == highlight_column_n) ? GetColorU32(ImGuiCol_Header) : 0 }; + temp_data->AngledHeadersRequests.push_back(request); + } + + // Render row + TableAngledHeadersRowEx(row_id, g.Style.TableAngledHeadersAngle, 0.0f, temp_data->AngledHeadersRequests.Data, temp_data->AngledHeadersRequests.Size); +} + +// Important: data must be fed left to right +void ImGui::TableAngledHeadersRowEx(ImGuiID row_id, float angle, float max_label_width, const ImGuiTableHeaderData* data, int data_count) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + ImGuiWindow* window = g.CurrentWindow; + ImDrawList* draw_list = window->DrawList; + if (table == NULL) + { + IM_ASSERT_USER_ERROR(table != NULL, "Call should only be done while in BeginTable() scope!"); + return; + } + IM_ASSERT(table->CurrentRow == -1 && "Must be first row"); + + if (max_label_width == 0.0f) + max_label_width = TableGetHeaderAngledMaxLabelWidth(); + + // Angle argument expressed in (-IM_PI/2 .. +IM_PI/2) as it is easier to think about for user. + const bool flip_label = (angle < 0.0f); + angle -= IM_PI * 0.5f; + const float cos_a = ImCos(angle); + const float sin_a = ImSin(angle); + const float label_cos_a = flip_label ? ImCos(angle + IM_PI) : cos_a; + const float label_sin_a = flip_label ? ImSin(angle + IM_PI) : sin_a; + const ImVec2 unit_right = ImVec2(cos_a, sin_a); + + // Calculate our base metrics and set angled headers data _before_ the first call to TableNextRow() + // FIXME-STYLE: Would it be better for user to submit 'max_label_width' or 'row_height' ? One can be derived from the other. + const float header_height = g.FontSize + g.Style.CellPadding.x * 2.0f; + const float row_height = ImTrunc(ImFabs(ImRotate(ImVec2(max_label_width, flip_label ? +header_height : -header_height), cos_a, sin_a).y)); + table->AngledHeadersHeight = row_height; + table->AngledHeadersSlope = (sin_a != 0.0f) ? (cos_a / sin_a) : 0.0f; + const ImVec2 header_angled_vector = unit_right * (row_height / -sin_a); // vector from bottom-left to top-left, and from bottom-right to top-right + + // Declare row, override and draw our own background + TableNextRow(ImGuiTableRowFlags_Headers, row_height); + TableNextColumn(); + const ImRect row_r(table->WorkRect.Min.x, table->BgClipRect.Min.y, table->WorkRect.Max.x, table->RowPosY2); + table->DrawSplitter->SetCurrentChannel(draw_list, TABLE_DRAW_CHANNEL_BG0); + float clip_rect_min_x = table->BgClipRect.Min.x; + if (table->FreezeColumnsCount > 0) + clip_rect_min_x = ImMax(clip_rect_min_x, table->Columns[table->FreezeColumnsCount - 1].MaxX); + TableSetBgColor(ImGuiTableBgTarget_RowBg0, 0); // Cancel + PushClipRect(table->BgClipRect.Min, table->BgClipRect.Max, false); // Span all columns + draw_list->AddRectFilled(ImVec2(table->BgClipRect.Min.x, row_r.Min.y), ImVec2(table->BgClipRect.Max.x, row_r.Max.y), GetColorU32(ImGuiCol_TableHeaderBg, 0.25f)); // FIXME-STYLE: Change row background with an arbitrary color. + PushClipRect(ImVec2(clip_rect_min_x, table->BgClipRect.Min.y), table->BgClipRect.Max, true); // Span all columns + + ButtonBehavior(row_r, row_id, NULL, NULL); + KeepAliveID(row_id); + + const float ascent_scaled = g.Font->Ascent * g.FontScale; // FIXME: Standardize those scaling factors better + const float line_off_for_ascent_x = (ImMax((g.FontSize - ascent_scaled) * 0.5f, 0.0f) / -sin_a) * (flip_label ? -1.0f : 1.0f); + const ImVec2 padding = g.Style.CellPadding; // We will always use swapped component + const ImVec2 align = g.Style.TableAngledHeadersTextAlign; + + // Draw background and labels in first pass, then all borders. + float max_x = -FLT_MAX; + for (int pass = 0; pass < 2; pass++) + for (int order_n = 0; order_n < data_count; order_n++) + { + const ImGuiTableHeaderData* request = &data[order_n]; + const int column_n = request->Index; + ImGuiTableColumn* column = &table->Columns[column_n]; + + ImVec2 bg_shape[4]; + bg_shape[0] = ImVec2(column->MaxX, row_r.Max.y); + bg_shape[1] = ImVec2(column->MinX, row_r.Max.y); + bg_shape[2] = bg_shape[1] + header_angled_vector; + bg_shape[3] = bg_shape[0] + header_angled_vector; + if (pass == 0) + { + // Draw shape + draw_list->AddQuadFilled(bg_shape[0], bg_shape[1], bg_shape[2], bg_shape[3], request->BgColor0); + draw_list->AddQuadFilled(bg_shape[0], bg_shape[1], bg_shape[2], bg_shape[3], request->BgColor1); // Optional highlight + max_x = ImMax(max_x, bg_shape[3].x); + + // Draw label + // - First draw at an offset where RenderTextXXX() function won't meddle with applying current ClipRect, then transform to final offset. + // - Handle multiple lines manually, as we want each lines to follow on the horizontal border, rather than see a whole block rotated. + const char* label_name = TableGetColumnName(table, column_n); + const char* label_name_end = FindRenderedTextEnd(label_name); + const float line_off_step_x = (g.FontSize / -sin_a); + const int label_lines = ImTextCountLines(label_name, label_name_end); + + // Left<>Right alignment + float line_off_curr_x = flip_label ? (label_lines - 1) * line_off_step_x : 0.0f; + float line_off_for_align_x = ImMax((((column->MaxX - column->MinX) - padding.x * 2.0f) - (label_lines * line_off_step_x)), 0.0f) * align.x; + line_off_curr_x += line_off_for_align_x - line_off_for_ascent_x; + + // Register header width + column->ContentMaxXHeadersUsed = column->ContentMaxXHeadersIdeal = column->WorkMinX + ImCeil(label_lines * line_off_step_x - line_off_for_align_x); + + while (label_name < label_name_end) + { + const char* label_name_eol = strchr(label_name, '\n'); + if (label_name_eol == NULL) + label_name_eol = label_name_end; + + // FIXME: Individual line clipping for right-most column is broken for negative angles. + ImVec2 label_size = CalcTextSize(label_name, label_name_eol); + float clip_width = max_label_width - padding.y; // Using padding.y*2.0f would be symmetrical but hide more text. + float clip_height = ImMin(label_size.y, column->ClipRect.Max.x - column->WorkMinX - line_off_curr_x); + ImRect clip_r(window->ClipRect.Min, window->ClipRect.Min + ImVec2(clip_width, clip_height)); + int vtx_idx_begin = draw_list->_VtxCurrentIdx; + PushStyleColor(ImGuiCol_Text, request->TextColor); + RenderTextEllipsis(draw_list, clip_r.Min, clip_r.Max, clip_r.Max.x, clip_r.Max.x, label_name, label_name_eol, &label_size); + PopStyleColor(); + int vtx_idx_end = draw_list->_VtxCurrentIdx; + + // Up<>Down alignment + const float available_space = ImMax(clip_width - label_size.x + ImAbs(padding.x * cos_a) * 2.0f - ImAbs(padding.y * sin_a) * 2.0f, 0.0f); + const float vertical_offset = available_space * align.y * (flip_label ? -1.0f : 1.0f); + + // Rotate and offset label + ImVec2 pivot_in = ImVec2(window->ClipRect.Min.x - vertical_offset, window->ClipRect.Min.y + label_size.y); + ImVec2 pivot_out = ImVec2(column->WorkMinX, row_r.Max.y); + line_off_curr_x += flip_label ? -line_off_step_x : line_off_step_x; + pivot_out += unit_right * padding.y; + if (flip_label) + pivot_out += unit_right * (clip_width - ImMax(0.0f, clip_width - label_size.x)); + pivot_out.x += flip_label ? line_off_curr_x + line_off_step_x : line_off_curr_x; + ShadeVertsTransformPos(draw_list, vtx_idx_begin, vtx_idx_end, pivot_in, label_cos_a, label_sin_a, pivot_out); // Rotate and offset + //if (g.IO.KeyShift) { ImDrawList* fg_dl = GetForegroundDrawList(); vtx_idx_begin = fg_dl->_VtxCurrentIdx; fg_dl->AddRect(clip_r.Min, clip_r.Max, IM_COL32(0, 255, 0, 255), 0.0f, 0, 1.0f); ShadeVertsTransformPos(fg_dl, vtx_idx_begin, fg_dl->_VtxCurrentIdx, pivot_in, label_cos_a, label_sin_a, pivot_out); } + + label_name = label_name_eol + 1; + } + } + if (pass == 1) + { + // Draw border + draw_list->AddLine(bg_shape[0], bg_shape[3], TableGetColumnBorderCol(table, order_n, column_n)); + } + } + PopClipRect(); + PopClipRect(); + table->TempData->AngledHeadersExtraWidth = ImMax(0.0f, max_x - table->Columns[table->RightMostEnabledColumn].MaxX); +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Context Menu +//------------------------------------------------------------------------- +// - TableOpenContextMenu() [Internal] +// - TableBeginContextMenuPopup() [Internal] +// - TableDrawDefaultContextMenu() [Internal] +//------------------------------------------------------------------------- + +// Use -1 to open menu not specific to a given column. +void ImGui::TableOpenContextMenu(int column_n) +{ + ImGuiContext& g = *GImGui; + ImGuiTable* table = g.CurrentTable; + if (column_n == -1 && table->CurrentColumn != -1) // When called within a column automatically use this one (for consistency) + column_n = table->CurrentColumn; + if (column_n == table->ColumnsCount) // To facilitate using with TableGetHoveredColumn() + column_n = -1; + IM_ASSERT(column_n >= -1 && column_n < table->ColumnsCount); + if (table->Flags & (ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable)) + { + table->IsContextPopupOpen = true; + table->ContextPopupColumn = (ImGuiTableColumnIdx)column_n; + table->InstanceInteracted = table->InstanceCurrent; + const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); + OpenPopupEx(context_menu_id, ImGuiPopupFlags_None); + } +} + +bool ImGui::TableBeginContextMenuPopup(ImGuiTable* table) +{ + if (!table->IsContextPopupOpen || table->InstanceCurrent != table->InstanceInteracted) + return false; + const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); + if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) + return true; + table->IsContextPopupOpen = false; + return false; +} + +// Output context menu into current window (generally a popup) +// FIXME-TABLE: Ideally this should be writable by the user. Full programmatic access to that data? +// Sections to display are pulled from 'flags_for_section_to_display', which is typically == table->Flags. +// - ImGuiTableFlags_Resizable -> display Sizing menu items +// - ImGuiTableFlags_Reorderable -> display "Reset Order" +////- ImGuiTableFlags_Sortable -> display sorting options (disabled) +// - ImGuiTableFlags_Hideable -> display columns visibility menu items +// It means if you have a custom context menus you can call this section and omit some sections, and add your own. +void ImGui::TableDrawDefaultContextMenu(ImGuiTable* table, ImGuiTableFlags flags_for_section_to_display) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + bool want_separator = false; + const int column_n = (table->ContextPopupColumn >= 0 && table->ContextPopupColumn < table->ColumnsCount) ? table->ContextPopupColumn : -1; + ImGuiTableColumn* column = (column_n != -1) ? &table->Columns[column_n] : NULL; + + // Sizing + if (flags_for_section_to_display & ImGuiTableFlags_Resizable) + { + if (column != NULL) + { + const bool can_resize = !(column->Flags & ImGuiTableColumnFlags_NoResize) && column->IsEnabled; + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableSizeOne), NULL, false, can_resize)) // "###SizeOne" + TableSetColumnWidthAutoSingle(table, column_n); + } + + const char* size_all_desc; + if (table->ColumnsEnabledFixedCount == table->ColumnsEnabledCount && (table->Flags & ImGuiTableFlags_SizingMask_) != ImGuiTableFlags_SizingFixedSame) + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllFit); // "###SizeAll" All fixed + else + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllDefault); // "###SizeAll" All stretch or mixed + if (MenuItem(size_all_desc, NULL)) + TableSetColumnWidthAutoAll(table); + want_separator = true; + } + + // Ordering + if (flags_for_section_to_display & ImGuiTableFlags_Reorderable) + { + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableResetOrder), NULL, false, !table->IsDefaultDisplayOrder)) + table->IsResetDisplayOrderRequest = true; + want_separator = true; + } + + // Reset all (should work but seems unnecessary/noisy to expose?) + //if (MenuItem("Reset all")) + // table->IsResetAllRequest = true; + + // Sorting + // (modify TableOpenContextMenu() to add _Sortable flag if enabling this) +#if 0 + if ((flags_for_section_to_display & ImGuiTableFlags_Sortable) && column != NULL && (column->Flags & ImGuiTableColumnFlags_NoSort) == 0) + { + if (want_separator) + Separator(); + want_separator = true; + + bool append_to_sort_specs = g.IO.KeyShift; + if (MenuItem("Sort in Ascending Order", NULL, column->SortOrder != -1 && column->SortDirection == ImGuiSortDirection_Ascending, (column->Flags & ImGuiTableColumnFlags_NoSortAscending) == 0)) + TableSetColumnSortDirection(table, column_n, ImGuiSortDirection_Ascending, append_to_sort_specs); + if (MenuItem("Sort in Descending Order", NULL, column->SortOrder != -1 && column->SortDirection == ImGuiSortDirection_Descending, (column->Flags & ImGuiTableColumnFlags_NoSortDescending) == 0)) + TableSetColumnSortDirection(table, column_n, ImGuiSortDirection_Descending, append_to_sort_specs); + } +#endif + + // Hiding / Visibility + if (flags_for_section_to_display & ImGuiTableFlags_Hideable) + { + if (want_separator) + Separator(); + want_separator = true; + + PushItemFlag(ImGuiItemFlags_AutoClosePopups, false); + for (int other_column_n = 0; other_column_n < table->ColumnsCount; other_column_n++) + { + ImGuiTableColumn* other_column = &table->Columns[other_column_n]; + if (other_column->Flags & ImGuiTableColumnFlags_Disabled) + continue; + + const char* name = TableGetColumnName(table, other_column_n); + if (name == NULL || name[0] == 0) + name = ""; + + // Make sure we can't hide the last active column + bool menu_item_active = (other_column->Flags & ImGuiTableColumnFlags_NoHide) ? false : true; + if (other_column->IsUserEnabled && table->ColumnsEnabledCount <= 1) + menu_item_active = false; + if (MenuItem(name, NULL, other_column->IsUserEnabled, menu_item_active)) + other_column->IsUserEnabledNextFrame = !other_column->IsUserEnabled; + } + PopItemFlag(); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Settings (.ini data) +//------------------------------------------------------------------------- +// FIXME: The binding/finding/creating flow are too confusing. +//------------------------------------------------------------------------- +// - TableSettingsInit() [Internal] +// - TableSettingsCalcChunkSize() [Internal] +// - TableSettingsCreate() [Internal] +// - TableSettingsFindByID() [Internal] +// - TableGetBoundSettings() [Internal] +// - TableResetSettings() +// - TableSaveSettings() [Internal] +// - TableLoadSettings() [Internal] +// - TableSettingsHandler_ClearAll() [Internal] +// - TableSettingsHandler_ApplyAll() [Internal] +// - TableSettingsHandler_ReadOpen() [Internal] +// - TableSettingsHandler_ReadLine() [Internal] +// - TableSettingsHandler_WriteAll() [Internal] +// - TableSettingsInstallHandler() [Internal] +//------------------------------------------------------------------------- +// [Init] 1: TableSettingsHandler_ReadXXXX() Load and parse .ini file into TableSettings. +// [Main] 2: TableLoadSettings() When table is created, bind Table to TableSettings, serialize TableSettings data into Table. +// [Main] 3: TableSaveSettings() When table properties are modified, serialize Table data into bound or new TableSettings, mark .ini as dirty. +// [Main] 4: TableSettingsHandler_WriteAll() When .ini file is dirty (which can come from other source), save TableSettings into .ini file. +//------------------------------------------------------------------------- + +// Clear and initialize empty settings instance +static void TableSettingsInit(ImGuiTableSettings* settings, ImGuiID id, int columns_count, int columns_count_max) +{ + IM_PLACEMENT_NEW(settings) ImGuiTableSettings(); + ImGuiTableColumnSettings* settings_column = settings->GetColumnSettings(); + for (int n = 0; n < columns_count_max; n++, settings_column++) + IM_PLACEMENT_NEW(settings_column) ImGuiTableColumnSettings(); + settings->ID = id; + settings->ColumnsCount = (ImGuiTableColumnIdx)columns_count; + settings->ColumnsCountMax = (ImGuiTableColumnIdx)columns_count_max; + settings->WantApply = true; +} + +static size_t TableSettingsCalcChunkSize(int columns_count) +{ + return sizeof(ImGuiTableSettings) + (size_t)columns_count * sizeof(ImGuiTableColumnSettings); +} + +ImGuiTableSettings* ImGui::TableSettingsCreate(ImGuiID id, int columns_count) +{ + ImGuiContext& g = *GImGui; + ImGuiTableSettings* settings = g.SettingsTables.alloc_chunk(TableSettingsCalcChunkSize(columns_count)); + TableSettingsInit(settings, id, columns_count, columns_count); + return settings; +} + +// Find existing settings +ImGuiTableSettings* ImGui::TableSettingsFindByID(ImGuiID id) +{ + // FIXME-OPT: Might want to store a lookup map for this? + ImGuiContext& g = *GImGui; + for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) + if (settings->ID == id) + return settings; + return NULL; +} + +// Get settings for a given table, NULL if none +ImGuiTableSettings* ImGui::TableGetBoundSettings(ImGuiTable* table) +{ + if (table->SettingsOffset != -1) + { + ImGuiContext& g = *GImGui; + ImGuiTableSettings* settings = g.SettingsTables.ptr_from_offset(table->SettingsOffset); + IM_ASSERT(settings->ID == table->ID); + if (settings->ColumnsCountMax >= table->ColumnsCount) + return settings; // OK + settings->ID = 0; // Invalidate storage, we won't fit because of a count change + } + return NULL; +} + +// Restore initial state of table (with or without saved settings) +void ImGui::TableResetSettings(ImGuiTable* table) +{ + table->IsInitializing = table->IsSettingsDirty = true; + table->IsResetAllRequest = false; + table->IsSettingsRequestLoad = false; // Don't reload from ini + table->SettingsLoadedFlags = ImGuiTableFlags_None; // Mark as nothing loaded so our initialized data becomes authoritative +} + +void ImGui::TableSaveSettings(ImGuiTable* table) +{ + table->IsSettingsDirty = false; + if (table->Flags & ImGuiTableFlags_NoSavedSettings) + return; + + // Bind or create settings data + ImGuiContext& g = *GImGui; + ImGuiTableSettings* settings = TableGetBoundSettings(table); + if (settings == NULL) + { + settings = TableSettingsCreate(table->ID, table->ColumnsCount); + table->SettingsOffset = g.SettingsTables.offset_from_ptr(settings); + } + settings->ColumnsCount = (ImGuiTableColumnIdx)table->ColumnsCount; + + // Serialize ImGuiTable/ImGuiTableColumn into ImGuiTableSettings/ImGuiTableColumnSettings + IM_ASSERT(settings->ID == table->ID); + IM_ASSERT(settings->ColumnsCount == table->ColumnsCount && settings->ColumnsCountMax >= settings->ColumnsCount); + ImGuiTableColumn* column = table->Columns.Data; + ImGuiTableColumnSettings* column_settings = settings->GetColumnSettings(); + + bool save_ref_scale = false; + settings->SaveFlags = ImGuiTableFlags_None; + for (int n = 0; n < table->ColumnsCount; n++, column++, column_settings++) + { + const float width_or_weight = (column->Flags & ImGuiTableColumnFlags_WidthStretch) ? column->StretchWeight : column->WidthRequest; + column_settings->WidthOrWeight = width_or_weight; + column_settings->Index = (ImGuiTableColumnIdx)n; + column_settings->DisplayOrder = column->DisplayOrder; + column_settings->SortOrder = column->SortOrder; + column_settings->SortDirection = column->SortDirection; + column_settings->IsEnabled = column->IsUserEnabled; + column_settings->IsStretch = (column->Flags & ImGuiTableColumnFlags_WidthStretch) ? 1 : 0; + if ((column->Flags & ImGuiTableColumnFlags_WidthStretch) == 0) + save_ref_scale = true; + + // We skip saving some data in the .ini file when they are unnecessary to restore our state. + // Note that fixed width where initial width was derived from auto-fit will always be saved as InitStretchWeightOrWidth will be 0.0f. + // FIXME-TABLE: We don't have logic to easily compare SortOrder to DefaultSortOrder yet so it's always saved when present. + if (width_or_weight != column->InitStretchWeightOrWidth) + settings->SaveFlags |= ImGuiTableFlags_Resizable; + if (column->DisplayOrder != n) + settings->SaveFlags |= ImGuiTableFlags_Reorderable; + if (column->SortOrder != -1) + settings->SaveFlags |= ImGuiTableFlags_Sortable; + if (column->IsUserEnabled != ((column->Flags & ImGuiTableColumnFlags_DefaultHide) == 0)) + settings->SaveFlags |= ImGuiTableFlags_Hideable; + } + settings->SaveFlags &= table->Flags; + settings->RefScale = save_ref_scale ? table->RefScale : 0.0f; + + MarkIniSettingsDirty(); +} + +void ImGui::TableLoadSettings(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + table->IsSettingsRequestLoad = false; + if (table->Flags & ImGuiTableFlags_NoSavedSettings) + return; + + // Bind settings + ImGuiTableSettings* settings; + if (table->SettingsOffset == -1) + { + settings = TableSettingsFindByID(table->ID); + if (settings == NULL) + return; + if (settings->ColumnsCount != table->ColumnsCount) // Allow settings if columns count changed. We could otherwise decide to return... + table->IsSettingsDirty = true; + table->SettingsOffset = g.SettingsTables.offset_from_ptr(settings); + } + else + { + settings = TableGetBoundSettings(table); + } + + table->SettingsLoadedFlags = settings->SaveFlags; + table->RefScale = settings->RefScale; + + // Initialize default columns settings + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + { + ImGuiTableColumn* column = &table->Columns[column_n]; + TableInitColumnDefaults(table, column, ~0); + column->AutoFitQueue = 0x00; + } + + // Serialize ImGuiTableSettings/ImGuiTableColumnSettings into ImGuiTable/ImGuiTableColumn + ImGuiTableColumnSettings* column_settings = settings->GetColumnSettings(); + ImU64 display_order_mask = 0; + for (int data_n = 0; data_n < settings->ColumnsCount; data_n++, column_settings++) + { + int column_n = column_settings->Index; + if (column_n < 0 || column_n >= table->ColumnsCount) + continue; + + ImGuiTableColumn* column = &table->Columns[column_n]; + if (settings->SaveFlags & ImGuiTableFlags_Resizable) + { + if (column_settings->IsStretch) + column->StretchWeight = column_settings->WidthOrWeight; + else + column->WidthRequest = column_settings->WidthOrWeight; + } + if (settings->SaveFlags & ImGuiTableFlags_Reorderable) + column->DisplayOrder = column_settings->DisplayOrder; + display_order_mask |= (ImU64)1 << column->DisplayOrder; + if ((settings->SaveFlags & ImGuiTableFlags_Hideable) && column_settings->IsEnabled != -1) + column->IsUserEnabled = column->IsUserEnabledNextFrame = column_settings->IsEnabled == 1; + column->SortOrder = column_settings->SortOrder; + column->SortDirection = column_settings->SortDirection; + } + + // Validate and fix invalid display order data + const ImU64 expected_display_order_mask = (settings->ColumnsCount == 64) ? ~0 : ((ImU64)1 << settings->ColumnsCount) - 1; + if (display_order_mask != expected_display_order_mask) + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + table->Columns[column_n].DisplayOrder = (ImGuiTableColumnIdx)column_n; + + // Rebuild index + for (int column_n = 0; column_n < table->ColumnsCount; column_n++) + table->DisplayOrderToIndex[table->Columns[column_n].DisplayOrder] = (ImGuiTableColumnIdx)column_n; +} + +static void TableSettingsHandler_ClearAll(ImGuiContext* ctx, ImGuiSettingsHandler*) +{ + ImGuiContext& g = *ctx; + for (int i = 0; i != g.Tables.GetMapSize(); i++) + if (ImGuiTable* table = g.Tables.TryGetMapData(i)) + table->SettingsOffset = -1; + g.SettingsTables.clear(); +} + +// Apply to existing windows (if any) +static void TableSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*) +{ + ImGuiContext& g = *ctx; + for (int i = 0; i != g.Tables.GetMapSize(); i++) + if (ImGuiTable* table = g.Tables.TryGetMapData(i)) + { + table->IsSettingsRequestLoad = true; + table->SettingsOffset = -1; + } +} + +static void* TableSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name) +{ + ImGuiID id = 0; + int columns_count = 0; + if (sscanf(name, "0x%08X,%d", &id, &columns_count) < 2) + return NULL; + + if (ImGuiTableSettings* settings = ImGui::TableSettingsFindByID(id)) + { + if (settings->ColumnsCountMax >= columns_count) + { + TableSettingsInit(settings, id, columns_count, settings->ColumnsCountMax); // Recycle + return settings; + } + settings->ID = 0; // Invalidate storage, we won't fit because of a count change + } + return ImGui::TableSettingsCreate(id, columns_count); +} + +static void TableSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line) +{ + // "Column 0 UserID=0x42AD2D21 Width=100 Visible=1 Order=0 Sort=0v" + ImGuiTableSettings* settings = (ImGuiTableSettings*)entry; + float f = 0.0f; + int column_n = 0, r = 0, n = 0; + + if (sscanf(line, "RefScale=%f", &f) == 1) { settings->RefScale = f; return; } + + if (sscanf(line, "Column %d%n", &column_n, &r) == 1) + { + if (column_n < 0 || column_n >= settings->ColumnsCount) + return; + line = ImStrSkipBlank(line + r); + char c = 0; + ImGuiTableColumnSettings* column = settings->GetColumnSettings() + column_n; + column->Index = (ImGuiTableColumnIdx)column_n; + if (sscanf(line, "UserID=0x%08X%n", (ImU32*)&n, &r)==1) { line = ImStrSkipBlank(line + r); column->UserID = (ImGuiID)n; } + if (sscanf(line, "Width=%d%n", &n, &r) == 1) { line = ImStrSkipBlank(line + r); column->WidthOrWeight = (float)n; column->IsStretch = 0; settings->SaveFlags |= ImGuiTableFlags_Resizable; } + if (sscanf(line, "Weight=%f%n", &f, &r) == 1) { line = ImStrSkipBlank(line + r); column->WidthOrWeight = f; column->IsStretch = 1; settings->SaveFlags |= ImGuiTableFlags_Resizable; } + if (sscanf(line, "Visible=%d%n", &n, &r) == 1) { line = ImStrSkipBlank(line + r); column->IsEnabled = (ImU8)n; settings->SaveFlags |= ImGuiTableFlags_Hideable; } + if (sscanf(line, "Order=%d%n", &n, &r) == 1) { line = ImStrSkipBlank(line + r); column->DisplayOrder = (ImGuiTableColumnIdx)n; settings->SaveFlags |= ImGuiTableFlags_Reorderable; } + if (sscanf(line, "Sort=%d%c%n", &n, &c, &r) == 2) { line = ImStrSkipBlank(line + r); column->SortOrder = (ImGuiTableColumnIdx)n; column->SortDirection = (c == '^') ? ImGuiSortDirection_Descending : ImGuiSortDirection_Ascending; settings->SaveFlags |= ImGuiTableFlags_Sortable; } + } +} + +static void TableSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf) +{ + ImGuiContext& g = *ctx; + for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) + { + if (settings->ID == 0) // Skip ditched settings + continue; + + // TableSaveSettings() may clear some of those flags when we establish that the data can be stripped + // (e.g. Order was unchanged) + const bool save_size = (settings->SaveFlags & ImGuiTableFlags_Resizable) != 0; + const bool save_visible = (settings->SaveFlags & ImGuiTableFlags_Hideable) != 0; + const bool save_order = (settings->SaveFlags & ImGuiTableFlags_Reorderable) != 0; + const bool save_sort = (settings->SaveFlags & ImGuiTableFlags_Sortable) != 0; + // We need to save the [Table] entry even if all the bools are false, since this records a table with "default settings". + + buf->reserve(buf->size() + 30 + settings->ColumnsCount * 50); // ballpark reserve + buf->appendf("[%s][0x%08X,%d]\n", handler->TypeName, settings->ID, settings->ColumnsCount); + if (settings->RefScale != 0.0f) + buf->appendf("RefScale=%g\n", settings->RefScale); + ImGuiTableColumnSettings* column = settings->GetColumnSettings(); + for (int column_n = 0; column_n < settings->ColumnsCount; column_n++, column++) + { + // "Column 0 UserID=0x42AD2D21 Width=100 Visible=1 Order=0 Sort=0v" + bool save_column = column->UserID != 0 || save_size || save_visible || save_order || (save_sort && column->SortOrder != -1); + if (!save_column) + continue; + buf->appendf("Column %-2d", column_n); + if (column->UserID != 0) { buf->appendf(" UserID=%08X", column->UserID); } + if (save_size && column->IsStretch) { buf->appendf(" Weight=%.4f", column->WidthOrWeight); } + if (save_size && !column->IsStretch) { buf->appendf(" Width=%d", (int)column->WidthOrWeight); } + if (save_visible) { buf->appendf(" Visible=%d", column->IsEnabled); } + if (save_order) { buf->appendf(" Order=%d", column->DisplayOrder); } + if (save_sort && column->SortOrder != -1) { buf->appendf(" Sort=%d%c", column->SortOrder, (column->SortDirection == ImGuiSortDirection_Ascending) ? 'v' : '^'); } + buf->append("\n"); + } + buf->append("\n"); + } +} + +void ImGui::TableSettingsAddSettingsHandler() +{ + ImGuiSettingsHandler ini_handler; + ini_handler.TypeName = "Table"; + ini_handler.TypeHash = ImHashStr("Table"); + ini_handler.ClearAllFn = TableSettingsHandler_ClearAll; + ini_handler.ReadOpenFn = TableSettingsHandler_ReadOpen; + ini_handler.ReadLineFn = TableSettingsHandler_ReadLine; + ini_handler.ApplyAllFn = TableSettingsHandler_ApplyAll; + ini_handler.WriteAllFn = TableSettingsHandler_WriteAll; + AddSettingsHandler(&ini_handler); +} + +//------------------------------------------------------------------------- +// [SECTION] Tables: Garbage Collection +//------------------------------------------------------------------------- +// - TableRemove() [Internal] +// - TableGcCompactTransientBuffers() [Internal] +// - TableGcCompactSettings() [Internal] +//------------------------------------------------------------------------- + +// Remove Table (currently only used by TestEngine) +void ImGui::TableRemove(ImGuiTable* table) +{ + //IMGUI_DEBUG_PRINT("TableRemove() id=0x%08X\n", table->ID); + ImGuiContext& g = *GImGui; + int table_idx = g.Tables.GetIndex(table); + //memset(table->RawData.Data, 0, table->RawData.size_in_bytes()); + //memset(table, 0, sizeof(ImGuiTable)); + g.Tables.Remove(table->ID, table); + g.TablesLastTimeActive[table_idx] = -1.0f; +} + +// Free up/compact internal Table buffers for when it gets unused +void ImGui::TableGcCompactTransientBuffers(ImGuiTable* table) +{ + //IMGUI_DEBUG_PRINT("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID); + ImGuiContext& g = *GImGui; + IM_ASSERT(table->MemoryCompacted == false); + table->SortSpecs.Specs = NULL; + table->SortSpecsMulti.clear(); + table->IsSortSpecsDirty = true; // FIXME: In theory shouldn't have to leak into user performing a sort on resume. + table->ColumnsNames.clear(); + table->MemoryCompacted = true; + for (int n = 0; n < table->ColumnsCount; n++) + table->Columns[n].NameOffset = -1; + g.TablesLastTimeActive[g.Tables.GetIndex(table)] = -1.0f; +} + +void ImGui::TableGcCompactTransientBuffers(ImGuiTableTempData* temp_data) +{ + temp_data->DrawSplitter.ClearFreeMemory(); + temp_data->LastTimeActive = -1.0f; +} + +// Compact and remove unused settings data (currently only used by TestEngine) +void ImGui::TableGcCompactSettings() +{ + ImGuiContext& g = *GImGui; + int required_memory = 0; + for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) + if (settings->ID != 0) + required_memory += (int)TableSettingsCalcChunkSize(settings->ColumnsCount); + if (required_memory == g.SettingsTables.Buf.Size) + return; + ImChunkStream new_chunk_stream; + new_chunk_stream.Buf.reserve(required_memory); + for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) + if (settings->ID != 0) + memcpy(new_chunk_stream.alloc_chunk(TableSettingsCalcChunkSize(settings->ColumnsCount)), settings, TableSettingsCalcChunkSize(settings->ColumnsCount)); + g.SettingsTables.swap(new_chunk_stream); +} + + +//------------------------------------------------------------------------- +// [SECTION] Tables: Debugging +//------------------------------------------------------------------------- +// - DebugNodeTable() [Internal] +//------------------------------------------------------------------------- + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + +static const char* DebugNodeTableGetSizingPolicyDesc(ImGuiTableFlags sizing_policy) +{ + sizing_policy &= ImGuiTableFlags_SizingMask_; + if (sizing_policy == ImGuiTableFlags_SizingFixedFit) { return "FixedFit"; } + if (sizing_policy == ImGuiTableFlags_SizingFixedSame) { return "FixedSame"; } + if (sizing_policy == ImGuiTableFlags_SizingStretchProp) { return "StretchProp"; } + if (sizing_policy == ImGuiTableFlags_SizingStretchSame) { return "StretchSame"; } + return "N/A"; +} + +void ImGui::DebugNodeTable(ImGuiTable* table) +{ + ImGuiContext& g = *GImGui; + const bool is_active = (table->LastFrameActive >= g.FrameCount - 2); // Note that fully clipped early out scrolling tables will appear as inactive here. + if (!is_active) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } + bool open = TreeNode(table, "Table 0x%08X (%d columns, in '%s')%s", table->ID, table->ColumnsCount, table->OuterWindow->Name, is_active ? "" : " *Inactive*"); + if (!is_active) { PopStyleColor(); } + if (IsItemHovered()) + GetForegroundDrawList()->AddRect(table->OuterRect.Min, table->OuterRect.Max, IM_COL32(255, 255, 0, 255)); + if (IsItemVisible() && table->HoveredColumnBody != -1) + GetForegroundDrawList()->AddRect(GetItemRectMin(), GetItemRectMax(), IM_COL32(255, 255, 0, 255)); + if (!open) + return; + if (table->InstanceCurrent > 0) + Text("** %d instances of same table! Some data below will refer to last instance.", table->InstanceCurrent + 1); + if (g.IO.ConfigDebugIsDebuggerPresent) + { + if (DebugBreakButton("**DebugBreak**", "in BeginTable()")) + g.DebugBreakInTable = table->ID; + SameLine(); + } + + bool clear_settings = SmallButton("Clear settings"); + BulletText("OuterRect: Pos: (%.1f,%.1f) Size: (%.1f,%.1f) Sizing: '%s'", table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.GetWidth(), table->OuterRect.GetHeight(), DebugNodeTableGetSizingPolicyDesc(table->Flags)); + BulletText("ColumnsGivenWidth: %.1f, ColumnsAutoFitWidth: %.1f, InnerWidth: %.1f%s", table->ColumnsGivenWidth, table->ColumnsAutoFitWidth, table->InnerWidth, table->InnerWidth == 0.0f ? " (auto)" : ""); + BulletText("CellPaddingX: %.1f, CellSpacingX: %.1f/%.1f, OuterPaddingX: %.1f", table->CellPaddingX, table->CellSpacingX1, table->CellSpacingX2, table->OuterPaddingX); + BulletText("HoveredColumnBody: %d, HoveredColumnBorder: %d", table->HoveredColumnBody, table->HoveredColumnBorder); + BulletText("ResizedColumn: %d, ReorderColumn: %d, HeldHeaderColumn: %d", table->ResizedColumn, table->ReorderColumn, table->HeldHeaderColumn); + for (int n = 0; n < table->InstanceCurrent + 1; n++) + { + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, n); + BulletText("Instance %d: HoveredRow: %d, LastOuterHeight: %.2f", n, table_instance->HoveredRowLast, table_instance->LastOuterHeight); + } + //BulletText("BgDrawChannels: %d/%d", 0, table->BgDrawChannelUnfrozen); + float sum_weights = 0.0f; + for (int n = 0; n < table->ColumnsCount; n++) + if (table->Columns[n].Flags & ImGuiTableColumnFlags_WidthStretch) + sum_weights += table->Columns[n].StretchWeight; + for (int n = 0; n < table->ColumnsCount; n++) + { + ImGuiTableColumn* column = &table->Columns[n]; + const char* name = TableGetColumnName(table, n); + char buf[512]; + ImFormatString(buf, IM_ARRAYSIZE(buf), + "Column %d order %d '%s': offset %+.2f to %+.2f%s\n" + "Enabled: %d, VisibleX/Y: %d/%d, RequestOutput: %d, SkipItems: %d, DrawChannels: %d,%d\n" + "WidthGiven: %.1f, Request/Auto: %.1f/%.1f, StretchWeight: %.3f (%.1f%%)\n" + "MinX: %.1f, MaxX: %.1f (%+.1f), ClipRect: %.1f to %.1f (+%.1f)\n" + "ContentWidth: %.1f,%.1f, HeadersUsed/Ideal %.1f/%.1f\n" + "Sort: %d%s, UserID: 0x%08X, Flags: 0x%04X: %s%s%s..", + n, column->DisplayOrder, name, column->MinX - table->WorkRect.Min.x, column->MaxX - table->WorkRect.Min.x, (n < table->FreezeColumnsRequest) ? " (Frozen)" : "", + column->IsEnabled, column->IsVisibleX, column->IsVisibleY, column->IsRequestOutput, column->IsSkipItems, column->DrawChannelFrozen, column->DrawChannelUnfrozen, + column->WidthGiven, column->WidthRequest, column->WidthAuto, column->StretchWeight, column->StretchWeight > 0.0f ? (column->StretchWeight / sum_weights) * 100.0f : 0.0f, + column->MinX, column->MaxX, column->MaxX - column->MinX, column->ClipRect.Min.x, column->ClipRect.Max.x, column->ClipRect.Max.x - column->ClipRect.Min.x, + column->ContentMaxXFrozen - column->WorkMinX, column->ContentMaxXUnfrozen - column->WorkMinX, column->ContentMaxXHeadersUsed - column->WorkMinX, column->ContentMaxXHeadersIdeal - column->WorkMinX, + column->SortOrder, (column->SortDirection == ImGuiSortDirection_Ascending) ? " (Asc)" : (column->SortDirection == ImGuiSortDirection_Descending) ? " (Des)" : "", column->UserID, column->Flags, + (column->Flags & ImGuiTableColumnFlags_WidthStretch) ? "WidthStretch " : "", + (column->Flags & ImGuiTableColumnFlags_WidthFixed) ? "WidthFixed " : "", + (column->Flags & ImGuiTableColumnFlags_NoResize) ? "NoResize " : ""); + Bullet(); + Selectable(buf); + if (IsItemHovered()) + { + ImRect r(column->MinX, table->OuterRect.Min.y, column->MaxX, table->OuterRect.Max.y); + GetForegroundDrawList()->AddRect(r.Min, r.Max, IM_COL32(255, 255, 0, 255)); + } + } + if (ImGuiTableSettings* settings = TableGetBoundSettings(table)) + DebugNodeTableSettings(settings); + if (clear_settings) + table->IsResetAllRequest = true; + TreePop(); +} + +void ImGui::DebugNodeTableSettings(ImGuiTableSettings* settings) +{ + if (!TreeNode((void*)(intptr_t)settings->ID, "Settings 0x%08X (%d columns)", settings->ID, settings->ColumnsCount)) + return; + BulletText("SaveFlags: 0x%08X", settings->SaveFlags); + BulletText("ColumnsCount: %d (max %d)", settings->ColumnsCount, settings->ColumnsCountMax); + for (int n = 0; n < settings->ColumnsCount; n++) + { + ImGuiTableColumnSettings* column_settings = &settings->GetColumnSettings()[n]; + ImGuiSortDirection sort_dir = (column_settings->SortOrder != -1) ? (ImGuiSortDirection)column_settings->SortDirection : ImGuiSortDirection_None; + BulletText("Column %d Order %d SortOrder %d %s Vis %d %s %7.3f UserID 0x%08X", + n, column_settings->DisplayOrder, column_settings->SortOrder, + (sort_dir == ImGuiSortDirection_Ascending) ? "Asc" : (sort_dir == ImGuiSortDirection_Descending) ? "Des" : "---", + column_settings->IsEnabled, column_settings->IsStretch ? "Weight" : "Width ", column_settings->WidthOrWeight, column_settings->UserID); + } + TreePop(); +} + +#else // #ifndef IMGUI_DISABLE_DEBUG_TOOLS + +void ImGui::DebugNodeTable(ImGuiTable*) {} +void ImGui::DebugNodeTableSettings(ImGuiTableSettings*) {} + +#endif + + +//------------------------------------------------------------------------- +// [SECTION] Columns, BeginColumns, EndColumns, etc. +// (This is a legacy API, prefer using BeginTable/EndTable!) +//------------------------------------------------------------------------- +// FIXME: sizing is lossy when columns width is very small (default width may turn negative etc.) +//------------------------------------------------------------------------- +// - SetWindowClipRectBeforeSetChannel() [Internal] +// - GetColumnIndex() +// - GetColumnsCount() +// - GetColumnOffset() +// - GetColumnWidth() +// - SetColumnOffset() +// - SetColumnWidth() +// - PushColumnClipRect() [Internal] +// - PushColumnsBackground() [Internal] +// - PopColumnsBackground() [Internal] +// - FindOrCreateColumns() [Internal] +// - GetColumnsID() [Internal] +// - BeginColumns() +// - NextColumn() +// - EndColumns() +// - Columns() +//------------------------------------------------------------------------- + +// [Internal] Small optimization to avoid calls to PopClipRect/SetCurrentChannel/PushClipRect in sequences, +// they would meddle many times with the underlying ImDrawCmd. +// Instead, we do a preemptive overwrite of clipping rectangle _without_ altering the command-buffer and let +// the subsequent single call to SetCurrentChannel() does it things once. +void ImGui::SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect) +{ + ImVec4 clip_rect_vec4 = clip_rect.ToVec4(); + window->ClipRect = clip_rect; + window->DrawList->_CmdHeader.ClipRect = clip_rect_vec4; + window->DrawList->_ClipRectStack.Data[window->DrawList->_ClipRectStack.Size - 1] = clip_rect_vec4; +} + +int ImGui::GetColumnIndex() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CurrentColumns ? window->DC.CurrentColumns->Current : 0; +} + +int ImGui::GetColumnsCount() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + return window->DC.CurrentColumns ? window->DC.CurrentColumns->Count : 1; +} + +float ImGui::GetColumnOffsetFromNorm(const ImGuiOldColumns* columns, float offset_norm) +{ + return offset_norm * (columns->OffMaxX - columns->OffMinX); +} + +float ImGui::GetColumnNormFromOffset(const ImGuiOldColumns* columns, float offset) +{ + return offset / (columns->OffMaxX - columns->OffMinX); +} + +static const float COLUMNS_HIT_RECT_HALF_THICKNESS = 4.0f; + +static float GetDraggedColumnOffset(ImGuiOldColumns* columns, int column_index) +{ + // Active (dragged) column always follow mouse. The reason we need this is that dragging a column to the right edge of an auto-resizing + // window creates a feedback loop because we store normalized positions. So while dragging we enforce absolute positioning. + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(column_index > 0); // We are not supposed to drag column 0. + IM_ASSERT(g.ActiveId == columns->ID + ImGuiID(column_index)); + + float x = g.IO.MousePos.x - g.ActiveIdClickOffset.x + ImTrunc(COLUMNS_HIT_RECT_HALF_THICKNESS * g.CurrentDpiScale) - window->Pos.x; + x = ImMax(x, ImGui::GetColumnOffset(column_index - 1) + g.Style.ColumnsMinSpacing); + if ((columns->Flags & ImGuiOldColumnFlags_NoPreserveWidths)) + x = ImMin(x, ImGui::GetColumnOffset(column_index + 1) - g.Style.ColumnsMinSpacing); + + return x; +} + +float ImGui::GetColumnOffset(int column_index) +{ + ImGuiWindow* window = GetCurrentWindowRead(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (columns == NULL) + return 0.0f; + + if (column_index < 0) + column_index = columns->Current; + IM_ASSERT(column_index < columns->Columns.Size); + + const float t = columns->Columns[column_index].OffsetNorm; + const float x_offset = ImLerp(columns->OffMinX, columns->OffMaxX, t); + return x_offset; +} + +static float GetColumnWidthEx(ImGuiOldColumns* columns, int column_index, bool before_resize = false) +{ + if (column_index < 0) + column_index = columns->Current; + + float offset_norm; + if (before_resize) + offset_norm = columns->Columns[column_index + 1].OffsetNormBeforeResize - columns->Columns[column_index].OffsetNormBeforeResize; + else + offset_norm = columns->Columns[column_index + 1].OffsetNorm - columns->Columns[column_index].OffsetNorm; + return ImGui::GetColumnOffsetFromNorm(columns, offset_norm); +} + +float ImGui::GetColumnWidth(int column_index) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (columns == NULL) + return GetContentRegionAvail().x; + + if (column_index < 0) + column_index = columns->Current; + return GetColumnOffsetFromNorm(columns, columns->Columns[column_index + 1].OffsetNorm - columns->Columns[column_index].OffsetNorm); +} + +void ImGui::SetColumnOffset(int column_index, float offset) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiOldColumns* columns = window->DC.CurrentColumns; + IM_ASSERT(columns != NULL); + + if (column_index < 0) + column_index = columns->Current; + IM_ASSERT(column_index < columns->Columns.Size); + + const bool preserve_width = !(columns->Flags & ImGuiOldColumnFlags_NoPreserveWidths) && (column_index < columns->Count - 1); + const float width = preserve_width ? GetColumnWidthEx(columns, column_index, columns->IsBeingResized) : 0.0f; + + if (!(columns->Flags & ImGuiOldColumnFlags_NoForceWithinWindow)) + offset = ImMin(offset, columns->OffMaxX - g.Style.ColumnsMinSpacing * (columns->Count - column_index)); + columns->Columns[column_index].OffsetNorm = GetColumnNormFromOffset(columns, offset - columns->OffMinX); + + if (preserve_width) + SetColumnOffset(column_index + 1, offset + ImMax(g.Style.ColumnsMinSpacing, width)); +} + +void ImGui::SetColumnWidth(int column_index, float width) +{ + ImGuiWindow* window = GetCurrentWindowRead(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + IM_ASSERT(columns != NULL); + + if (column_index < 0) + column_index = columns->Current; + SetColumnOffset(column_index + 1, GetColumnOffset(column_index) + width); +} + +void ImGui::PushColumnClipRect(int column_index) +{ + ImGuiWindow* window = GetCurrentWindowRead(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (column_index < 0) + column_index = columns->Current; + + ImGuiOldColumnData* column = &columns->Columns[column_index]; + PushClipRect(column->ClipRect.Min, column->ClipRect.Max, false); +} + +// Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns) +void ImGui::PushColumnsBackground() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (columns->Count == 1) + return; + + // Optimization: avoid SetCurrentChannel() + PushClipRect() + columns->HostBackupClipRect = window->ClipRect; + SetWindowClipRectBeforeSetChannel(window, columns->HostInitialClipRect); + columns->Splitter.SetCurrentChannel(window->DrawList, 0); +} + +void ImGui::PopColumnsBackground() +{ + ImGuiWindow* window = GetCurrentWindowRead(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (columns->Count == 1) + return; + + // Optimization: avoid PopClipRect() + SetCurrentChannel() + SetWindowClipRectBeforeSetChannel(window, columns->HostBackupClipRect); + columns->Splitter.SetCurrentChannel(window->DrawList, columns->Current + 1); +} + +ImGuiOldColumns* ImGui::FindOrCreateColumns(ImGuiWindow* window, ImGuiID id) +{ + // We have few columns per window so for now we don't need bother much with turning this into a faster lookup. + for (int n = 0; n < window->ColumnsStorage.Size; n++) + if (window->ColumnsStorage[n].ID == id) + return &window->ColumnsStorage[n]; + + window->ColumnsStorage.push_back(ImGuiOldColumns()); + ImGuiOldColumns* columns = &window->ColumnsStorage.back(); + columns->ID = id; + return columns; +} + +ImGuiID ImGui::GetColumnsID(const char* str_id, int columns_count) +{ + ImGuiWindow* window = GetCurrentWindow(); + + // Differentiate column ID with an arbitrary prefix for cases where users name their columns set the same as another widget. + // In addition, when an identifier isn't explicitly provided we include the number of columns in the hash to make it uniquer. + PushID(0x11223347 + (str_id ? 0 : columns_count)); + ImGuiID id = window->GetID(str_id ? str_id : "columns"); + PopID(); + + return id; +} + +void ImGui::BeginColumns(const char* str_id, int columns_count, ImGuiOldColumnFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + + IM_ASSERT(columns_count >= 1); + IM_ASSERT(window->DC.CurrentColumns == NULL); // Nested columns are currently not supported + + // Acquire storage for the columns set + ImGuiID id = GetColumnsID(str_id, columns_count); + ImGuiOldColumns* columns = FindOrCreateColumns(window, id); + IM_ASSERT(columns->ID == id); + columns->Current = 0; + columns->Count = columns_count; + columns->Flags = flags; + window->DC.CurrentColumns = columns; + window->DC.NavIsScrollPushableX = false; // Shortcut for NavUpdateCurrentWindowIsScrollPushableX(); + + columns->HostCursorPosY = window->DC.CursorPos.y; + columns->HostCursorMaxPosX = window->DC.CursorMaxPos.x; + columns->HostInitialClipRect = window->ClipRect; + columns->HostBackupParentWorkRect = window->ParentWorkRect; + window->ParentWorkRect = window->WorkRect; + + // Set state for first column + // We aim so that the right-most column will have the same clipping width as other after being clipped by parent ClipRect + const float column_padding = g.Style.ItemSpacing.x; + const float half_clip_extend_x = ImTrunc(ImMax(window->WindowPadding.x * 0.5f, window->WindowBorderSize)); + const float max_1 = window->WorkRect.Max.x + column_padding - ImMax(column_padding - window->WindowPadding.x, 0.0f); + const float max_2 = window->WorkRect.Max.x + half_clip_extend_x; + columns->OffMinX = window->DC.Indent.x - column_padding + ImMax(column_padding - window->WindowPadding.x, 0.0f); + columns->OffMaxX = ImMax(ImMin(max_1, max_2) - window->Pos.x, columns->OffMinX + 1.0f); + columns->LineMinY = columns->LineMaxY = window->DC.CursorPos.y; + + // Clear data if columns count changed + if (columns->Columns.Size != 0 && columns->Columns.Size != columns_count + 1) + columns->Columns.resize(0); + + // Initialize default widths + columns->IsFirstFrame = (columns->Columns.Size == 0); + if (columns->Columns.Size == 0) + { + columns->Columns.reserve(columns_count + 1); + for (int n = 0; n < columns_count + 1; n++) + { + ImGuiOldColumnData column; + column.OffsetNorm = n / (float)columns_count; + columns->Columns.push_back(column); + } + } + + for (int n = 0; n < columns_count; n++) + { + // Compute clipping rectangle + ImGuiOldColumnData* column = &columns->Columns[n]; + float clip_x1 = IM_ROUND(window->Pos.x + GetColumnOffset(n)); + float clip_x2 = IM_ROUND(window->Pos.x + GetColumnOffset(n + 1) - 1.0f); + column->ClipRect = ImRect(clip_x1, -FLT_MAX, clip_x2, +FLT_MAX); + column->ClipRect.ClipWithFull(window->ClipRect); + } + + if (columns->Count > 1) + { + columns->Splitter.Split(window->DrawList, 1 + columns->Count); + columns->Splitter.SetCurrentChannel(window->DrawList, 1); + PushColumnClipRect(0); + } + + // We don't generally store Indent.x inside ColumnsOffset because it may be manipulated by the user. + float offset_0 = GetColumnOffset(columns->Current); + float offset_1 = GetColumnOffset(columns->Current + 1); + float width = offset_1 - offset_0; + PushItemWidth(width * 0.65f); + window->DC.ColumnsOffset.x = ImMax(column_padding - window->WindowPadding.x, 0.0f); + window->DC.CursorPos.x = IM_TRUNC(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); + window->WorkRect.Max.x = window->Pos.x + offset_1 - column_padding; + window->WorkRect.Max.y = window->ContentRegionRect.Max.y; +} + +void ImGui::NextColumn() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems || window->DC.CurrentColumns == NULL) + return; + + ImGuiContext& g = *GImGui; + ImGuiOldColumns* columns = window->DC.CurrentColumns; + + if (columns->Count == 1) + { + window->DC.CursorPos.x = IM_TRUNC(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); + IM_ASSERT(columns->Current == 0); + return; + } + + // Next column + if (++columns->Current == columns->Count) + columns->Current = 0; + + PopItemWidth(); + + // Optimization: avoid PopClipRect() + SetCurrentChannel() + PushClipRect() + // (which would needlessly attempt to update commands in the wrong channel, then pop or overwrite them), + ImGuiOldColumnData* column = &columns->Columns[columns->Current]; + SetWindowClipRectBeforeSetChannel(window, column->ClipRect); + columns->Splitter.SetCurrentChannel(window->DrawList, columns->Current + 1); + + const float column_padding = g.Style.ItemSpacing.x; + columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y); + if (columns->Current > 0) + { + // Columns 1+ ignore IndentX (by canceling it out) + // FIXME-COLUMNS: Unnecessary, could be locked? + window->DC.ColumnsOffset.x = GetColumnOffset(columns->Current) - window->DC.Indent.x + column_padding; + } + else + { + // New row/line: column 0 honor IndentX. + window->DC.ColumnsOffset.x = ImMax(column_padding - window->WindowPadding.x, 0.0f); + window->DC.IsSameLine = false; + columns->LineMinY = columns->LineMaxY; + } + window->DC.CursorPos.x = IM_TRUNC(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); + window->DC.CursorPos.y = columns->LineMinY; + window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); + window->DC.CurrLineTextBaseOffset = 0.0f; + + // FIXME-COLUMNS: Share code with BeginColumns() - move code on columns setup. + float offset_0 = GetColumnOffset(columns->Current); + float offset_1 = GetColumnOffset(columns->Current + 1); + float width = offset_1 - offset_0; + PushItemWidth(width * 0.65f); + window->WorkRect.Max.x = window->Pos.x + offset_1 - column_padding; +} + +void ImGui::EndColumns() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + ImGuiOldColumns* columns = window->DC.CurrentColumns; + IM_ASSERT(columns != NULL); + + PopItemWidth(); + if (columns->Count > 1) + { + PopClipRect(); + columns->Splitter.Merge(window->DrawList); + } + + const ImGuiOldColumnFlags flags = columns->Flags; + columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y); + window->DC.CursorPos.y = columns->LineMaxY; + if (!(flags & ImGuiOldColumnFlags_GrowParentContentsSize)) + window->DC.CursorMaxPos.x = columns->HostCursorMaxPosX; // Restore cursor max pos, as columns don't grow parent + + // Draw columns borders and handle resize + // The IsBeingResized flag ensure we preserve pre-resize columns width so back-and-forth are not lossy + bool is_being_resized = false; + if (!(flags & ImGuiOldColumnFlags_NoBorder) && !window->SkipItems) + { + // We clip Y boundaries CPU side because very long triangles are mishandled by some GPU drivers. + const float y1 = ImMax(columns->HostCursorPosY, window->ClipRect.Min.y); + const float y2 = ImMin(window->DC.CursorPos.y, window->ClipRect.Max.y); + int dragging_column = -1; + for (int n = 1; n < columns->Count; n++) + { + ImGuiOldColumnData* column = &columns->Columns[n]; + float x = window->Pos.x + GetColumnOffset(n); + const ImGuiID column_id = columns->ID + ImGuiID(n); + const float column_hit_hw = ImTrunc(COLUMNS_HIT_RECT_HALF_THICKNESS * g.CurrentDpiScale); + const ImRect column_hit_rect(ImVec2(x - column_hit_hw, y1), ImVec2(x + column_hit_hw, y2)); + if (!ItemAdd(column_hit_rect, column_id, NULL, ImGuiItemFlags_NoNav)) + continue; + + bool hovered = false, held = false; + if (!(flags & ImGuiOldColumnFlags_NoResize)) + { + ButtonBehavior(column_hit_rect, column_id, &hovered, &held); + if (hovered || held) + SetMouseCursor(ImGuiMouseCursor_ResizeEW); + if (held && !(column->Flags & ImGuiOldColumnFlags_NoResize)) + dragging_column = n; + } + + // Draw column + const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator); + const float xi = IM_TRUNC(x); + window->DrawList->AddLine(ImVec2(xi, y1 + 1.0f), ImVec2(xi, y2), col); + } + + // Apply dragging after drawing the column lines, so our rendered lines are in sync with how items were displayed during the frame. + if (dragging_column != -1) + { + if (!columns->IsBeingResized) + for (int n = 0; n < columns->Count + 1; n++) + columns->Columns[n].OffsetNormBeforeResize = columns->Columns[n].OffsetNorm; + columns->IsBeingResized = is_being_resized = true; + float x = GetDraggedColumnOffset(columns, dragging_column); + SetColumnOffset(dragging_column, x); + } + } + columns->IsBeingResized = is_being_resized; + + window->WorkRect = window->ParentWorkRect; + window->ParentWorkRect = columns->HostBackupParentWorkRect; + window->DC.CurrentColumns = NULL; + window->DC.ColumnsOffset.x = 0.0f; + window->DC.CursorPos.x = IM_TRUNC(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); + NavUpdateCurrentWindowIsScrollPushableX(); +} + +void ImGui::Columns(int columns_count, const char* id, bool borders) +{ + ImGuiWindow* window = GetCurrentWindow(); + IM_ASSERT(columns_count >= 1); + + ImGuiOldColumnFlags flags = (borders ? 0 : ImGuiOldColumnFlags_NoBorder); + //flags |= ImGuiOldColumnFlags_NoPreserveWidths; // NB: Legacy behavior + ImGuiOldColumns* columns = window->DC.CurrentColumns; + if (columns != NULL && columns->Count == columns_count && columns->Flags == flags) + return; + + if (columns != NULL) + EndColumns(); + + if (columns_count != 1) + BeginColumns(id, columns_count, flags); +} + +//------------------------------------------------------------------------- + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_widgets.cpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_widgets.cpp new file mode 100644 index 0000000..738c085 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imgui_widgets.cpp @@ -0,0 +1,10447 @@ +// dear imgui, v1.91.9 WIP +// (widgets code) + +/* + +Index of this file: + +// [SECTION] Forward Declarations +// [SECTION] Widgets: Text, etc. +// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.) +// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.) +// [SECTION] Widgets: ComboBox +// [SECTION] Data Type and Data Formatting Helpers +// [SECTION] Widgets: DragScalar, DragFloat, DragInt, etc. +// [SECTION] Widgets: SliderScalar, SliderFloat, SliderInt, etc. +// [SECTION] Widgets: InputScalar, InputFloat, InputInt, etc. +// [SECTION] Widgets: InputText, InputTextMultiline +// [SECTION] Widgets: ColorEdit, ColorPicker, ColorButton, etc. +// [SECTION] Widgets: TreeNode, CollapsingHeader, etc. +// [SECTION] Widgets: Selectable +// [SECTION] Widgets: Typing-Select support +// [SECTION] Widgets: Box-Select support +// [SECTION] Widgets: Multi-Select support +// [SECTION] Widgets: Multi-Select helpers +// [SECTION] Widgets: ListBox +// [SECTION] Widgets: PlotLines, PlotHistogram +// [SECTION] Widgets: Value helpers +// [SECTION] Widgets: MenuItem, BeginMenu, EndMenu, etc. +// [SECTION] Widgets: BeginTabBar, EndTabBar, etc. +// [SECTION] Widgets: BeginTabItem, EndTabItem, etc. +// [SECTION] Widgets: Columns, BeginColumns, EndColumns, etc. + +*/ + +#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) +#define _CRT_SECURE_NO_WARNINGS +#endif + +#ifndef IMGUI_DEFINE_MATH_OPERATORS +#define IMGUI_DEFINE_MATH_OPERATORS +#endif + +#include "imgui.h" +#ifndef IMGUI_DISABLE +#include "imgui_internal.h" + +// System includes +#include // intptr_t + +//------------------------------------------------------------------------- +// Warnings +//------------------------------------------------------------------------- + +// Visual Studio warnings +#ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant +#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen +#if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later +#pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types +#endif +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). +#endif + +// Clang/GCC warnings with -Weverything +#if defined(__clang__) +#if __has_warning("-Wunknown-warning-option") +#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' +#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. +#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants (typically 0.0f) is ok. +#pragma clang diagnostic ignored "-Wformat-nonliteral" // warning: format string is not a string literal // passing non-literal to vsnformat(). yes, user passing incorrect format strings can crash the code. +#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness +#pragma clang diagnostic ignored "-Wunused-macros" // warning: macro is not used // we define snprintf/vsnprintf on Windows so they are available, but not always used. +#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant // some standard header variations use #define NULL 0 +#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. +#pragma clang diagnostic ignored "-Wenum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') +#pragma clang diagnostic ignored "-Wdeprecated-enum-enum-conversion"// warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated +#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" // warning: 'xxx' is an unsafe pointer used for buffer access +#pragma clang diagnostic ignored "-Wnontrivial-memaccess" // warning: first argument in call to 'memset' is a pointer to non-trivially copyable type +#elif defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind +#pragma GCC diagnostic ignored "-Wfloat-equal" // warning: comparing floating-point with '==' or '!=' is unsafe +#pragma GCC diagnostic ignored "-Wformat" // warning: format '%p' expects argument of type 'int'/'void*', but argument X has type 'unsigned int'/'ImGuiWindow*' +#pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated +#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function +#pragma GCC diagnostic ignored "-Wstrict-overflow" // warning: assuming signed overflow does not occur when simplifying division / ..when changing X +- C1 cmp C2 to X cmp C2 -+ C1 +#pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wcast-qual" // warning: cast from type 'const xxxx *' to type 'xxxx *' casts away qualifiers +#endif + +//------------------------------------------------------------------------- +// Data +//------------------------------------------------------------------------- + +// Widgets +static const float DRAGDROP_HOLD_TO_OPEN_TIMER = 0.70f; // Time for drag-hold to activate items accepting the ImGuiButtonFlags_PressedOnDragDropHold button behavior. +static const float DRAG_MOUSE_THRESHOLD_FACTOR = 0.50f; // Multiplier for the default value of io.MouseDragThreshold to make DragFloat/DragInt react faster to mouse drags. + +// Those MIN/MAX values are not define because we need to point to them +static const signed char IM_S8_MIN = -128; +static const signed char IM_S8_MAX = 127; +static const unsigned char IM_U8_MIN = 0; +static const unsigned char IM_U8_MAX = 0xFF; +static const signed short IM_S16_MIN = -32768; +static const signed short IM_S16_MAX = 32767; +static const unsigned short IM_U16_MIN = 0; +static const unsigned short IM_U16_MAX = 0xFFFF; +static const ImS32 IM_S32_MIN = INT_MIN; // (-2147483647 - 1), (0x80000000); +static const ImS32 IM_S32_MAX = INT_MAX; // (2147483647), (0x7FFFFFFF) +static const ImU32 IM_U32_MIN = 0; +static const ImU32 IM_U32_MAX = UINT_MAX; // (0xFFFFFFFF) +#ifdef LLONG_MIN +static const ImS64 IM_S64_MIN = LLONG_MIN; // (-9223372036854775807ll - 1ll); +static const ImS64 IM_S64_MAX = LLONG_MAX; // (9223372036854775807ll); +#else +static const ImS64 IM_S64_MIN = -9223372036854775807LL - 1; +static const ImS64 IM_S64_MAX = 9223372036854775807LL; +#endif +static const ImU64 IM_U64_MIN = 0; +#ifdef ULLONG_MAX +static const ImU64 IM_U64_MAX = ULLONG_MAX; // (0xFFFFFFFFFFFFFFFFull); +#else +static const ImU64 IM_U64_MAX = (2ULL * 9223372036854775807LL + 1); +#endif + +//------------------------------------------------------------------------- +// [SECTION] Forward Declarations +//------------------------------------------------------------------------- + +// For InputTextEx() +static bool InputTextFilterCharacter(ImGuiContext* ctx, unsigned int* p_char, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data, bool input_source_is_clipboard = false); +static int InputTextCalcTextLenAndLineCount(const char* text_begin, const char** out_text_end); +static ImVec2 InputTextCalcTextSize(ImGuiContext* ctx, const char* text_begin, const char* text_end, const char** remaining = NULL, ImVec2* out_offset = NULL, bool stop_on_new_line = false); + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Text, etc. +//------------------------------------------------------------------------- +// - TextEx() [Internal] +// - TextUnformatted() +// - Text() +// - TextV() +// - TextColored() +// - TextColoredV() +// - TextDisabled() +// - TextDisabledV() +// - TextWrapped() +// - TextWrappedV() +// - LabelText() +// - LabelTextV() +// - BulletText() +// - BulletTextV() +//------------------------------------------------------------------------- + +void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + ImGuiContext& g = *GImGui; + + // Accept null ranges + if (text == text_end) + text = text_end = ""; + + // Calculate length + const char* text_begin = text; + if (text_end == NULL) + text_end = text + strlen(text); // FIXME-OPT + + const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); + const float wrap_pos_x = window->DC.TextWrapPos; + const bool wrap_enabled = (wrap_pos_x >= 0.0f); + if (text_end - text <= 2000 || wrap_enabled) + { + // Common case + const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f; + const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); + + ImRect bb(text_pos, text_pos + text_size); + ItemSize(text_size, 0.0f); + if (!ItemAdd(bb, 0)) + return; + + // Render (we don't hide text after ## in this end-user function) + RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); + } + else + { + // Long text! + // Perform manual coarse clipping to optimize for long multi-line text + // - From this point we will only compute the width of lines that are visible. Optimization only available when word-wrapping is disabled. + // - We also don't vertically center the text within the line full height, which is unlikely to matter because we are likely the biggest and only item on the line. + // - We use memchr(), pay attention that well optimized versions of those str/mem functions are much faster than a casually written loop. + const char* line = text; + const float line_height = GetTextLineHeight(); + ImVec2 text_size(0, 0); + + // Lines to skip (can't skip when logging text) + ImVec2 pos = text_pos; + if (!g.LogEnabled) + { + int lines_skippable = (int)((window->ClipRect.Min.y - text_pos.y) / line_height); + if (lines_skippable > 0) + { + int lines_skipped = 0; + while (line < text_end && lines_skipped < lines_skippable) + { + const char* line_end = (const char*)memchr(line, '\n', text_end - line); + if (!line_end) + line_end = text_end; + if ((flags & ImGuiTextFlags_NoWidthForLargeClippedText) == 0) + text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); + line = line_end + 1; + lines_skipped++; + } + pos.y += lines_skipped * line_height; + } + } + + // Lines to render + if (line < text_end) + { + ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); + while (line < text_end) + { + if (IsClippedEx(line_rect, 0)) + break; + + const char* line_end = (const char*)memchr(line, '\n', text_end - line); + if (!line_end) + line_end = text_end; + text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); + RenderText(pos, line, line_end, false); + line = line_end + 1; + line_rect.Min.y += line_height; + line_rect.Max.y += line_height; + pos.y += line_height; + } + + // Count remaining lines + int lines_skipped = 0; + while (line < text_end) + { + const char* line_end = (const char*)memchr(line, '\n', text_end - line); + if (!line_end) + line_end = text_end; + if ((flags & ImGuiTextFlags_NoWidthForLargeClippedText) == 0) + text_size.x = ImMax(text_size.x, CalcTextSize(line, line_end).x); + line = line_end + 1; + lines_skipped++; + } + pos.y += lines_skipped * line_height; + } + text_size.y = (pos - text_pos).y; + + ImRect bb(text_pos, text_pos + text_size); + ItemSize(text_size, 0.0f); + ItemAdd(bb, 0); + } +} + +void ImGui::TextUnformatted(const char* text, const char* text_end) +{ + TextEx(text, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); +} + +void ImGui::Text(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + TextV(fmt, args); + va_end(args); +} + +void ImGui::TextV(const char* fmt, va_list args) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + const char* text, *text_end; + ImFormatStringToTempBufferV(&text, &text_end, fmt, args); + TextEx(text, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); +} + +void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + TextColoredV(col, fmt, args); + va_end(args); +} + +void ImGui::TextColoredV(const ImVec4& col, const char* fmt, va_list args) +{ + PushStyleColor(ImGuiCol_Text, col); + TextV(fmt, args); + PopStyleColor(); +} + +void ImGui::TextDisabled(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + TextDisabledV(fmt, args); + va_end(args); +} + +void ImGui::TextDisabledV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + PushStyleColor(ImGuiCol_Text, g.Style.Colors[ImGuiCol_TextDisabled]); + TextV(fmt, args); + PopStyleColor(); +} + +void ImGui::TextWrapped(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + TextWrappedV(fmt, args); + va_end(args); +} + +void ImGui::TextWrappedV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + const bool need_backup = (g.CurrentWindow->DC.TextWrapPos < 0.0f); // Keep existing wrap position if one is already set + if (need_backup) + PushTextWrapPos(0.0f); + TextV(fmt, args); + if (need_backup) + PopTextWrapPos(); +} + +void ImGui::LabelText(const char* label, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + LabelTextV(label, fmt, args); + va_end(args); +} + +// Add a label+text combo aligned to other label+value widgets +void ImGui::LabelTextV(const char* label, const char* fmt, va_list args) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const float w = CalcItemWidth(); + + const char* value_text_begin, *value_text_end; + ImFormatStringToTempBufferV(&value_text_begin, &value_text_end, fmt, args); + const ImVec2 value_size = CalcTextSize(value_text_begin, value_text_end, false); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + + const ImVec2 pos = window->DC.CursorPos; + const ImRect value_bb(pos, pos + ImVec2(w, value_size.y + style.FramePadding.y * 2)); + const ImRect total_bb(pos, pos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), ImMax(value_size.y, label_size.y) + style.FramePadding.y * 2)); + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, 0)) + return; + + // Render + RenderTextClipped(value_bb.Min + style.FramePadding, value_bb.Max, value_text_begin, value_text_end, &value_size, ImVec2(0.0f, 0.0f)); + if (label_size.x > 0.0f) + RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); +} + +void ImGui::BulletText(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + BulletTextV(fmt, args); + va_end(args); +} + +// Text with a little bullet aligned to the typical tree node. +void ImGui::BulletTextV(const char* fmt, va_list args) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + + const char* text_begin, *text_end; + ImFormatStringToTempBufferV(&text_begin, &text_end, fmt, args); + const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); + const ImVec2 total_size = ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x * 2) : 0.0f), label_size.y); // Empty text doesn't add padding + ImVec2 pos = window->DC.CursorPos; + pos.y += window->DC.CurrLineTextBaseOffset; + ItemSize(total_size, 0.0f); + const ImRect bb(pos, pos + total_size); + if (!ItemAdd(bb, 0)) + return; + + // Render + ImU32 text_col = GetColorU32(ImGuiCol_Text); + RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, g.FontSize * 0.5f), text_col); + RenderText(bb.Min + ImVec2(g.FontSize + style.FramePadding.x * 2, 0.0f), text_begin, text_end, false); +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Main +//------------------------------------------------------------------------- +// - ButtonBehavior() [Internal] +// - Button() +// - SmallButton() +// - InvisibleButton() +// - ArrowButton() +// - CloseButton() [Internal] +// - CollapseButton() [Internal] +// - GetWindowScrollbarID() [Internal] +// - GetWindowScrollbarRect() [Internal] +// - Scrollbar() [Internal] +// - ScrollbarEx() [Internal] +// - Image() +// - ImageButton() +// - Checkbox() +// - CheckboxFlagsT() [Internal] +// - CheckboxFlags() +// - RadioButton() +// - ProgressBar() +// - Bullet() +// - Hyperlink() +//------------------------------------------------------------------------- + +// The ButtonBehavior() function is key to many interactions and used by many/most widgets. +// Because we handle so many cases (keyboard/gamepad navigation, drag and drop) and many specific behavior (via ImGuiButtonFlags_), +// this code is a little complex. +// By far the most common path is interacting with the Mouse using the default ImGuiButtonFlags_PressedOnClickRelease button behavior. +// See the series of events below and the corresponding state reported by dear imgui: +//------------------------------------------------------------------------------------------------------------------------------------------------ +// with PressedOnClickRelease: return-value IsItemHovered() IsItemActive() IsItemActivated() IsItemDeactivated() IsItemClicked() +// Frame N+0 (mouse is outside bb) - - - - - - +// Frame N+1 (mouse moves inside bb) - true - - - - +// Frame N+2 (mouse button is down) - true true true - true +// Frame N+3 (mouse button is down) - true true - - - +// Frame N+4 (mouse moves outside bb) - - true - - - +// Frame N+5 (mouse moves inside bb) - true true - - - +// Frame N+6 (mouse button is released) true true - - true - +// Frame N+7 (mouse button is released) - true - - - - +// Frame N+8 (mouse moves outside bb) - - - - - - +//------------------------------------------------------------------------------------------------------------------------------------------------ +// with PressedOnClick: return-value IsItemHovered() IsItemActive() IsItemActivated() IsItemDeactivated() IsItemClicked() +// Frame N+2 (mouse button is down) true true true true - true +// Frame N+3 (mouse button is down) - true true - - - +// Frame N+6 (mouse button is released) - true - - true - +// Frame N+7 (mouse button is released) - true - - - - +//------------------------------------------------------------------------------------------------------------------------------------------------ +// with PressedOnRelease: return-value IsItemHovered() IsItemActive() IsItemActivated() IsItemDeactivated() IsItemClicked() +// Frame N+2 (mouse button is down) - true - - - true +// Frame N+3 (mouse button is down) - true - - - - +// Frame N+6 (mouse button is released) true true - - - - +// Frame N+7 (mouse button is released) - true - - - - +//------------------------------------------------------------------------------------------------------------------------------------------------ +// with PressedOnDoubleClick: return-value IsItemHovered() IsItemActive() IsItemActivated() IsItemDeactivated() IsItemClicked() +// Frame N+0 (mouse button is down) - true - - - true +// Frame N+1 (mouse button is down) - true - - - - +// Frame N+2 (mouse button is released) - true - - - - +// Frame N+3 (mouse button is released) - true - - - - +// Frame N+4 (mouse button is down) true true true true - true +// Frame N+5 (mouse button is down) - true true - - - +// Frame N+6 (mouse button is released) - true - - true - +// Frame N+7 (mouse button is released) - true - - - - +//------------------------------------------------------------------------------------------------------------------------------------------------ +// Note that some combinations are supported, +// - PressedOnDragDropHold can generally be associated with any flag. +// - PressedOnDoubleClick can be associated by PressedOnClickRelease/PressedOnRelease, in which case the second release event won't be reported. +//------------------------------------------------------------------------------------------------------------------------------------------------ +// The behavior of the return-value changes when ImGuiItemFlags_ButtonRepeat is set: +// Repeat+ Repeat+ Repeat+ Repeat+ +// PressedOnClickRelease PressedOnClick PressedOnRelease PressedOnDoubleClick +//------------------------------------------------------------------------------------------------------------------------------------------------- +// Frame N+0 (mouse button is down) - true - true +// ... - - - - +// Frame N + RepeatDelay true true - true +// ... - - - - +// Frame N + RepeatDelay + RepeatRate*N true true - true +//------------------------------------------------------------------------------------------------------------------------------------------------- + +// - FIXME: For refactor we could output flags, incl mouse hovered vs nav keyboard vs nav triggered etc. +// And better standardize how widgets use 'GetColor32((held && hovered) ? ... : hovered ? ...)' vs 'GetColor32(held ? ... : hovered ? ...);' +// For mouse feedback we typically prefer the 'held && hovered' test, but for nav feedback not always. Outputting hovered=true on Activation may be misleading. +// - Since v1.91.2 (Sept 2024) we included io.ConfigDebugHighlightIdConflicts feature. +// One idiom which was previously valid which will now emit a warning is when using multiple overlayed ButtonBehavior() +// with same ID and different MouseButton (see #8030). You can fix it by: +// (1) switching to use a single ButtonBehavior() with multiple _MouseButton flags. +// or (2) surrounding those calls with PushItemFlag(ImGuiItemFlags_AllowDuplicateId, true); ... PopItemFlag() +bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + + // Default behavior inherited from item flags + // Note that _both_ ButtonFlags and ItemFlags are valid sources, so copy one into the item_flags and only check that. + ImGuiItemFlags item_flags = (g.LastItemData.ID == id ? g.LastItemData.ItemFlags : g.CurrentItemFlags); + if (flags & ImGuiButtonFlags_AllowOverlap) + item_flags |= ImGuiItemFlags_AllowOverlap; + + // Default only reacts to left mouse button + if ((flags & ImGuiButtonFlags_MouseButtonMask_) == 0) + flags |= ImGuiButtonFlags_MouseButtonLeft; + + // Default behavior requires click + release inside bounding box + if ((flags & ImGuiButtonFlags_PressedOnMask_) == 0) + flags |= (item_flags & ImGuiItemFlags_ButtonRepeat) ? ImGuiButtonFlags_PressedOnClick : ImGuiButtonFlags_PressedOnDefault_; + + ImGuiWindow* backup_hovered_window = g.HoveredWindow; + const bool flatten_hovered_children = (flags & ImGuiButtonFlags_FlattenChildren) && g.HoveredWindow && g.HoveredWindow->RootWindow == window; + if (flatten_hovered_children) + g.HoveredWindow = window; + +#ifdef IMGUI_ENABLE_TEST_ENGINE + // Alternate registration spot, for when caller didn't use ItemAdd() + if (g.LastItemData.ID != id) + IMGUI_TEST_ENGINE_ITEM_ADD(id, bb, NULL); +#endif + + bool pressed = false; + bool hovered = ItemHoverable(bb, id, item_flags); + + // Special mode for Drag and Drop where holding button pressed for a long time while dragging another item triggers the button + if (g.DragDropActive && (flags & ImGuiButtonFlags_PressedOnDragDropHold) && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoHoldToOpenOthers)) + if (IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem)) + { + hovered = true; + SetHoveredID(id); + if (g.HoveredIdTimer - g.IO.DeltaTime <= DRAGDROP_HOLD_TO_OPEN_TIMER && g.HoveredIdTimer >= DRAGDROP_HOLD_TO_OPEN_TIMER) + { + pressed = true; + g.DragDropHoldJustPressedId = id; + FocusWindow(window); + } + } + + if (flatten_hovered_children) + g.HoveredWindow = backup_hovered_window; + + // Mouse handling + const ImGuiID test_owner_id = (flags & ImGuiButtonFlags_NoTestKeyOwner) ? ImGuiKeyOwner_Any : id; + if (hovered) + { + IM_ASSERT(id != 0); // Lazily check inside rare path. + + // Poll mouse buttons + // - 'mouse_button_clicked' is generally carried into ActiveIdMouseButton when setting ActiveId. + // - Technically we only need some values in one code path, but since this is gated by hovered test this is fine. + int mouse_button_clicked = -1; + int mouse_button_released = -1; + for (int button = 0; button < 3; button++) + if (flags & (ImGuiButtonFlags_MouseButtonLeft << button)) // Handle ImGuiButtonFlags_MouseButtonRight and ImGuiButtonFlags_MouseButtonMiddle here. + { + if (IsMouseClicked(button, ImGuiInputFlags_None, test_owner_id) && mouse_button_clicked == -1) { mouse_button_clicked = button; } + if (IsMouseReleased(button, test_owner_id) && mouse_button_released == -1) { mouse_button_released = button; } + } + + // Process initial action + const bool mods_ok = !(flags & ImGuiButtonFlags_NoKeyModsAllowed) || (!g.IO.KeyCtrl && !g.IO.KeyShift && !g.IO.KeyAlt); + if (mods_ok) + { + if (mouse_button_clicked != -1 && g.ActiveId != id) + { + if (!(flags & ImGuiButtonFlags_NoSetKeyOwner)) + SetKeyOwner(MouseButtonToKey(mouse_button_clicked), id); + if (flags & (ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere)) + { + SetActiveID(id, window); + g.ActiveIdMouseButton = mouse_button_clicked; + if (!(flags & ImGuiButtonFlags_NoNavFocus)) + { + SetFocusID(id, window); + FocusWindow(window); + } + else + { + FocusWindow(window, ImGuiFocusRequestFlags_RestoreFocusedChild); // Still need to focus and bring to front, but try to avoid losing NavId when navigating a child + } + } + if ((flags & ImGuiButtonFlags_PressedOnClick) || ((flags & ImGuiButtonFlags_PressedOnDoubleClick) && g.IO.MouseClickedCount[mouse_button_clicked] == 2)) + { + pressed = true; + if (flags & ImGuiButtonFlags_NoHoldingActiveId) + ClearActiveID(); + else + SetActiveID(id, window); // Hold on ID + g.ActiveIdMouseButton = mouse_button_clicked; + if (!(flags & ImGuiButtonFlags_NoNavFocus)) + { + SetFocusID(id, window); + FocusWindow(window); + } + else + { + FocusWindow(window, ImGuiFocusRequestFlags_RestoreFocusedChild); // Still need to focus and bring to front, but try to avoid losing NavId when navigating a child + } + } + } + if (flags & ImGuiButtonFlags_PressedOnRelease) + { + if (mouse_button_released != -1) + { + const bool has_repeated_at_least_once = (item_flags & ImGuiItemFlags_ButtonRepeat) && g.IO.MouseDownDurationPrev[mouse_button_released] >= g.IO.KeyRepeatDelay; // Repeat mode trumps on release behavior + if (!has_repeated_at_least_once) + pressed = true; + if (!(flags & ImGuiButtonFlags_NoNavFocus)) + SetFocusID(id, window); // FIXME: Lack of FocusWindow() call here is inconsistent with other paths. Research why. + ClearActiveID(); + } + } + + // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above). + // Relies on repeat logic of IsMouseClicked() but we may as well do it ourselves if we end up exposing finer RepeatDelay/RepeatRate settings. + if (g.ActiveId == id && (item_flags & ImGuiItemFlags_ButtonRepeat)) + if (g.IO.MouseDownDuration[g.ActiveIdMouseButton] > 0.0f && IsMouseClicked(g.ActiveIdMouseButton, ImGuiInputFlags_Repeat, test_owner_id)) + pressed = true; + } + + if (pressed && g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = false; + } + + // Keyboard/Gamepad navigation handling + // We report navigated and navigation-activated items as hovered but we don't set g.HoveredId to not interfere with mouse. + if (g.NavId == id && g.NavCursorVisible && g.NavHighlightItemUnderNav) + if (!(flags & ImGuiButtonFlags_NoHoveredOnFocus)) + hovered = true; + if (g.NavActivateDownId == id) + { + bool nav_activated_by_code = (g.NavActivateId == id); + bool nav_activated_by_inputs = (g.NavActivatePressedId == id); + if (!nav_activated_by_inputs && (item_flags & ImGuiItemFlags_ButtonRepeat)) + { + // Avoid pressing multiple keys from triggering excessive amount of repeat events + const ImGuiKeyData* key1 = GetKeyData(ImGuiKey_Space); + const ImGuiKeyData* key2 = GetKeyData(ImGuiKey_Enter); + const ImGuiKeyData* key3 = GetKeyData(ImGuiKey_NavGamepadActivate); + const float t1 = ImMax(ImMax(key1->DownDuration, key2->DownDuration), key3->DownDuration); + nav_activated_by_inputs = CalcTypematicRepeatAmount(t1 - g.IO.DeltaTime, t1, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; + } + if (nav_activated_by_code || nav_activated_by_inputs) + { + // Set active id so it can be queried by user via IsItemActive(), equivalent of holding the mouse button. + pressed = true; + SetActiveID(id, window); + g.ActiveIdSource = g.NavInputSource; + if (!(flags & ImGuiButtonFlags_NoNavFocus) && !(g.NavActivateFlags & ImGuiActivateFlags_FromShortcut)) + SetFocusID(id, window); + if (g.NavActivateFlags & ImGuiActivateFlags_FromShortcut) + g.ActiveIdFromShortcut = true; + } + } + + // Process while held + bool held = false; + if (g.ActiveId == id) + { + if (g.ActiveIdSource == ImGuiInputSource_Mouse) + { + if (g.ActiveIdIsJustActivated) + g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; + + const int mouse_button = g.ActiveIdMouseButton; + if (mouse_button == -1) + { + // Fallback for the rare situation were g.ActiveId was set programmatically or from another widget (e.g. #6304). + ClearActiveID(); + } + else if (IsMouseDown(mouse_button, test_owner_id)) + { + held = true; + } + else + { + bool release_in = hovered && (flags & ImGuiButtonFlags_PressedOnClickRelease) != 0; + bool release_anywhere = (flags & ImGuiButtonFlags_PressedOnClickReleaseAnywhere) != 0; + if ((release_in || release_anywhere) && !g.DragDropActive) + { + // Report as pressed when releasing the mouse (this is the most common path) + bool is_double_click_release = (flags & ImGuiButtonFlags_PressedOnDoubleClick) && g.IO.MouseReleased[mouse_button] && g.IO.MouseClickedLastCount[mouse_button] == 2; + bool is_repeating_already = (item_flags & ImGuiItemFlags_ButtonRepeat) && g.IO.MouseDownDurationPrev[mouse_button] >= g.IO.KeyRepeatDelay; // Repeat mode trumps + bool is_button_avail_or_owned = TestKeyOwner(MouseButtonToKey(mouse_button), test_owner_id); + if (!is_double_click_release && !is_repeating_already && is_button_avail_or_owned) + pressed = true; + } + ClearActiveID(); + } + if (!(flags & ImGuiButtonFlags_NoNavFocus) && g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = false; + } + else if (g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad) + { + // When activated using Nav, we hold on the ActiveID until activation button is released + if (g.NavActivateDownId == id) + held = true; // hovered == true not true as we are already likely hovered on direct activation. + else + ClearActiveID(); + } + if (pressed) + g.ActiveIdHasBeenPressedBefore = true; + } + + // Activation highlight (this may be a remote activation) + if (g.NavHighlightActivatedId == id) + hovered = true; + + if (out_hovered) *out_hovered = hovered; + if (out_held) *out_held = held; + + return pressed; +} + +bool ImGui::ButtonEx(const char* label, const ImVec2& size_arg, ImGuiButtonFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + + ImVec2 pos = window->DC.CursorPos; + if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrLineTextBaseOffset) // Try to vertically align buttons that are smaller/have no padding so that text baseline matches (bit hacky, since it shouldn't be a flag) + pos.y += window->DC.CurrLineTextBaseOffset - style.FramePadding.y; + ImVec2 size = CalcItemSize(size_arg, label_size.x + style.FramePadding.x * 2.0f, label_size.y + style.FramePadding.y * 2.0f); + + const ImRect bb(pos, pos + size); + ItemSize(size, style.FramePadding.y); + if (!ItemAdd(bb, id)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + + // Render + const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + RenderNavCursor(bb, id); + RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); + + if (g.LogEnabled) + LogSetNextTextDecoration("[", "]"); + RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_size, style.ButtonTextAlign, &bb); + + // Automatically close popups + //if (pressed && !(flags & ImGuiButtonFlags_DontClosePopups) && (window->Flags & ImGuiWindowFlags_Popup)) + // CloseCurrentPopup(); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + return pressed; +} + +bool ImGui::Button(const char* label, const ImVec2& size_arg) +{ + return ButtonEx(label, size_arg, ImGuiButtonFlags_None); +} + +// Small buttons fits within text without additional vertical spacing. +bool ImGui::SmallButton(const char* label) +{ + ImGuiContext& g = *GImGui; + float backup_padding_y = g.Style.FramePadding.y; + g.Style.FramePadding.y = 0.0f; + bool pressed = ButtonEx(label, ImVec2(0, 0), ImGuiButtonFlags_AlignTextBaseLine); + g.Style.FramePadding.y = backup_padding_y; + return pressed; +} + +// Tip: use ImGui::PushID()/PopID() to push indices or pointers in the ID stack. +// Then you can keep 'str_id' empty or the same for all your buttons (instead of creating a string based on a non-string id) +bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiButtonFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + // Cannot use zero-size for InvisibleButton(). Unlike Button() there is not way to fallback using the label size. + IM_ASSERT(size_arg.x != 0.0f && size_arg.y != 0.0f); + + const ImGuiID id = window->GetID(str_id); + ImVec2 size = CalcItemSize(size_arg, 0.0f, 0.0f); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); + ItemSize(size); + if (!ItemAdd(bb, id, NULL, (flags & ImGuiButtonFlags_EnableNav) ? ImGuiItemFlags_None : ImGuiItemFlags_NoNav)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + RenderNavCursor(bb, id); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); + return pressed; +} + +bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiButtonFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + const ImGuiID id = window->GetID(str_id); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); + const float default_size = GetFrameHeight(); + ItemSize(size, (size.y >= default_size) ? g.Style.FramePadding.y : -1.0f); + if (!ItemAdd(bb, id)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + + // Render + const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + const ImU32 text_col = GetColorU32(ImGuiCol_Text); + RenderNavCursor(bb, id); + RenderFrame(bb.Min, bb.Max, bg_col, true, g.Style.FrameRounding); + RenderArrow(window->DrawList, bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.FontSize) * 0.5f)), text_col, dir); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); + return pressed; +} + +bool ImGui::ArrowButton(const char* str_id, ImGuiDir dir) +{ + float sz = GetFrameHeight(); + return ArrowButtonEx(str_id, dir, ImVec2(sz, sz), ImGuiButtonFlags_None); +} + +// Button to close a window +bool ImGui::CloseButton(ImGuiID id, const ImVec2& pos) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // Tweak 1: Shrink hit-testing area if button covers an abnormally large proportion of the visible region. That's in order to facilitate moving the window away. (#3825) + // This may better be applied as a general hit-rect reduction mechanism for all widgets to ensure the area to move window is always accessible? + const ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize)); + ImRect bb_interact = bb; + const float area_to_visible_ratio = window->OuterRectClipped.GetArea() / bb.GetArea(); + if (area_to_visible_ratio < 1.5f) + bb_interact.Expand(ImTrunc(bb_interact.GetSize() * -0.25f)); + + // Tweak 2: We intentionally allow interaction when clipped so that a mechanical Alt,Right,Activate sequence can always close a window. + // (this isn't the common behavior of buttons, but it doesn't affect the user because navigation tends to keep items visible in scrolling layer). + bool is_clipped = !ItemAdd(bb_interact, id); + + bool hovered, held; + bool pressed = ButtonBehavior(bb_interact, id, &hovered, &held); + if (is_clipped) + return pressed; + + // Render + ImU32 bg_col = GetColorU32(held ? ImGuiCol_ButtonActive : ImGuiCol_ButtonHovered); + if (hovered) + window->DrawList->AddRectFilled(bb.Min, bb.Max, bg_col); + RenderNavCursor(bb, id, ImGuiNavRenderCursorFlags_Compact); + ImU32 cross_col = GetColorU32(ImGuiCol_Text); + ImVec2 cross_center = bb.GetCenter() - ImVec2(0.5f, 0.5f); + float cross_extent = g.FontSize * 0.5f * 0.7071f - 1.0f; + window->DrawList->AddLine(cross_center + ImVec2(+cross_extent, +cross_extent), cross_center + ImVec2(-cross_extent, -cross_extent), cross_col, 1.0f); + window->DrawList->AddLine(cross_center + ImVec2(+cross_extent, -cross_extent), cross_center + ImVec2(-cross_extent, +cross_extent), cross_col, 1.0f); + + return pressed; +} + +bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize)); + bool is_clipped = !ItemAdd(bb, id); + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_None); + if (is_clipped) + return pressed; + + // Render + ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + ImU32 text_col = GetColorU32(ImGuiCol_Text); + if (hovered || held) + window->DrawList->AddRectFilled(bb.Min, bb.Max, bg_col); + RenderNavCursor(bb, id, ImGuiNavRenderCursorFlags_Compact); + RenderArrow(window->DrawList, bb.Min, text_col, window->Collapsed ? ImGuiDir_Right : ImGuiDir_Down, 1.0f); + + // Switch to moving the window after mouse is moved beyond the initial drag threshold + if (IsItemActive() && IsMouseDragging(0)) + StartMouseMovingWindow(window); + + return pressed; +} + +ImGuiID ImGui::GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis) +{ + return window->GetID(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY"); +} + +// Return scrollbar rectangle, must only be called for corresponding axis if window->ScrollbarX/Y is set. +ImRect ImGui::GetWindowScrollbarRect(ImGuiWindow* window, ImGuiAxis axis) +{ + ImGuiContext& g = *GImGui; + const ImRect outer_rect = window->Rect(); + const ImRect inner_rect = window->InnerRect; + const float scrollbar_size = window->ScrollbarSizes[axis ^ 1]; // (ScrollbarSizes.x = width of Y scrollbar; ScrollbarSizes.y = height of X scrollbar) + IM_ASSERT(scrollbar_size >= 0.0f); + const float border_size = IM_ROUND(window->WindowBorderSize * 0.5f); + const float border_top = (window->Flags & ImGuiWindowFlags_MenuBar) ? IM_ROUND(g.Style.FrameBorderSize * 0.5f) : 0.0f; + if (axis == ImGuiAxis_X) + return ImRect(inner_rect.Min.x + border_size, ImMax(outer_rect.Min.y + border_size, outer_rect.Max.y - border_size - scrollbar_size), inner_rect.Max.x - border_size, outer_rect.Max.y - border_size); + else + return ImRect(ImMax(outer_rect.Min.x, outer_rect.Max.x - border_size - scrollbar_size), inner_rect.Min.y + border_top, outer_rect.Max.x - border_size, inner_rect.Max.y - border_size); +} + +void ImGui::Scrollbar(ImGuiAxis axis) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + const ImGuiID id = GetWindowScrollbarID(window, axis); + + // Calculate scrollbar bounding box + ImRect bb = GetWindowScrollbarRect(window, axis); + ImDrawFlags rounding_corners = ImDrawFlags_RoundCornersNone; + if (axis == ImGuiAxis_X) + { + rounding_corners |= ImDrawFlags_RoundCornersBottomLeft; + if (!window->ScrollbarY) + rounding_corners |= ImDrawFlags_RoundCornersBottomRight; + } + else + { + if ((window->Flags & ImGuiWindowFlags_NoTitleBar) && !(window->Flags & ImGuiWindowFlags_MenuBar)) + rounding_corners |= ImDrawFlags_RoundCornersTopRight; + if (!window->ScrollbarX) + rounding_corners |= ImDrawFlags_RoundCornersBottomRight; + } + float size_visible = window->InnerRect.Max[axis] - window->InnerRect.Min[axis]; + float size_contents = window->ContentSize[axis] + window->WindowPadding[axis] * 2.0f; + ImS64 scroll = (ImS64)window->Scroll[axis]; + ScrollbarEx(bb, id, axis, &scroll, (ImS64)size_visible, (ImS64)size_contents, rounding_corners); + window->Scroll[axis] = (float)scroll; +} + +// Vertical/Horizontal scrollbar +// The entire piece of code below is rather confusing because: +// - We handle absolute seeking (when first clicking outside the grab) and relative manipulation (afterward or when clicking inside the grab) +// - We store values as normalized ratio and in a form that allows the window content to change while we are holding on a scrollbar +// - We handle both horizontal and vertical scrollbars, which makes the terminology not ideal. +// Still, the code should probably be made simpler.. +bool ImGui::ScrollbarEx(const ImRect& bb_frame, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 size_visible_v, ImS64 size_contents_v, ImDrawFlags draw_rounding_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + const float bb_frame_width = bb_frame.GetWidth(); + const float bb_frame_height = bb_frame.GetHeight(); + if (bb_frame_width <= 0.0f || bb_frame_height <= 0.0f) + return false; + + // When we are too small, start hiding and disabling the grab (this reduce visual noise on very small window and facilitate using the window resize grab) + float alpha = 1.0f; + if ((axis == ImGuiAxis_Y) && bb_frame_height < bb_frame_width) + alpha = ImSaturate(bb_frame_height / ImMax(bb_frame_width * 2.0f, 1.0f)); + if (alpha <= 0.0f) + return false; + + const ImGuiStyle& style = g.Style; + const bool allow_interaction = (alpha >= 1.0f); + + ImRect bb = bb_frame; + bb.Expand(ImVec2(-ImClamp(IM_TRUNC((bb_frame_width - 2.0f) * 0.5f), 0.0f, 3.0f), -ImClamp(IM_TRUNC((bb_frame_height - 2.0f) * 0.5f), 0.0f, 3.0f))); + + // V denote the main, longer axis of the scrollbar (= height for a vertical scrollbar) + const float scrollbar_size_v = (axis == ImGuiAxis_X) ? bb.GetWidth() : bb.GetHeight(); + + // Calculate the height of our grabbable box. It generally represent the amount visible (vs the total scrollable amount) + // But we maintain a minimum size in pixel to allow for the user to still aim inside. + IM_ASSERT(ImMax(size_contents_v, size_visible_v) > 0.0f); // Adding this assert to check if the ImMax(XXX,1.0f) is still needed. PLEASE CONTACT ME if this triggers. + const ImS64 win_size_v = ImMax(ImMax(size_contents_v, size_visible_v), (ImS64)1); + const float grab_h_minsize = ImMin(bb.GetSize()[axis], style.GrabMinSize); + const float grab_h_pixels = ImClamp(scrollbar_size_v * ((float)size_visible_v / (float)win_size_v), grab_h_minsize, scrollbar_size_v); + const float grab_h_norm = grab_h_pixels / scrollbar_size_v; + + // Handle input right away. None of the code of Begin() is relying on scrolling position before calling Scrollbar(). + bool held = false; + bool hovered = false; + ItemAdd(bb_frame, id, NULL, ImGuiItemFlags_NoNav); + ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_NoNavFocus); + + const ImS64 scroll_max = ImMax((ImS64)1, size_contents_v - size_visible_v); + float scroll_ratio = ImSaturate((float)*p_scroll_v / (float)scroll_max); + float grab_v_norm = scroll_ratio * (scrollbar_size_v - grab_h_pixels) / scrollbar_size_v; // Grab position in normalized space + if (held && allow_interaction && grab_h_norm < 1.0f) + { + const float scrollbar_pos_v = bb.Min[axis]; + const float mouse_pos_v = g.IO.MousePos[axis]; + + // Click position in scrollbar normalized space (0.0f->1.0f) + const float clicked_v_norm = ImSaturate((mouse_pos_v - scrollbar_pos_v) / scrollbar_size_v); + + const int held_dir = (clicked_v_norm < grab_v_norm) ? -1 : (clicked_v_norm > grab_v_norm + grab_h_norm) ? +1 : 0; + if (g.ActiveIdIsJustActivated) + { + // On initial click when held_dir == 0 (clicked over grab): calculate the distance between mouse and the center of the grab + const bool scroll_to_clicked_location = (g.IO.ConfigScrollbarScrollByPage == false || g.IO.KeyShift || held_dir == 0); + g.ScrollbarSeekMode = scroll_to_clicked_location ? 0 : (short)held_dir; + g.ScrollbarClickDeltaToGrabCenter = (held_dir == 0 && !g.IO.KeyShift) ? clicked_v_norm - grab_v_norm - grab_h_norm * 0.5f : 0.0f; + } + + // Apply scroll (p_scroll_v will generally point on one member of window->Scroll) + // It is ok to modify Scroll here because we are being called in Begin() after the calculation of ContentSize and before setting up our starting position + if (g.ScrollbarSeekMode == 0) + { + // Absolute seeking + const float scroll_v_norm = ImSaturate((clicked_v_norm - g.ScrollbarClickDeltaToGrabCenter - grab_h_norm * 0.5f) / (1.0f - grab_h_norm)); + *p_scroll_v = (ImS64)(scroll_v_norm * scroll_max); + } + else + { + // Page by page + if (IsMouseClicked(ImGuiMouseButton_Left, ImGuiInputFlags_Repeat) && held_dir == g.ScrollbarSeekMode) + { + float page_dir = (g.ScrollbarSeekMode > 0.0f) ? +1.0f : -1.0f; + *p_scroll_v = ImClamp(*p_scroll_v + (ImS64)(page_dir * size_visible_v), (ImS64)0, scroll_max); + } + } + + // Update values for rendering + scroll_ratio = ImSaturate((float)*p_scroll_v / (float)scroll_max); + grab_v_norm = scroll_ratio * (scrollbar_size_v - grab_h_pixels) / scrollbar_size_v; + + // Update distance to grab now that we have seek'ed and saturated + //if (seek_absolute) + // g.ScrollbarClickDeltaToGrabCenter = clicked_v_norm - grab_v_norm - grab_h_norm * 0.5f; + } + + // Render + const ImU32 bg_col = GetColorU32(ImGuiCol_ScrollbarBg); + const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_ScrollbarGrabHovered : ImGuiCol_ScrollbarGrab, alpha); + window->DrawList->AddRectFilled(bb_frame.Min, bb_frame.Max, bg_col, window->WindowRounding, draw_rounding_flags); + ImRect grab_rect; + if (axis == ImGuiAxis_X) + grab_rect = ImRect(ImLerp(bb.Min.x, bb.Max.x, grab_v_norm), bb.Min.y, ImLerp(bb.Min.x, bb.Max.x, grab_v_norm) + grab_h_pixels, bb.Max.y); + else + grab_rect = ImRect(bb.Min.x, ImLerp(bb.Min.y, bb.Max.y, grab_v_norm), bb.Max.x, ImLerp(bb.Min.y, bb.Max.y, grab_v_norm) + grab_h_pixels); + window->DrawList->AddRectFilled(grab_rect.Min, grab_rect.Max, grab_col, style.ScrollbarRounding); + + return held; +} + +// - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples +// - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above. +void ImGui::ImageWithBg(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + const ImVec2 padding(g.Style.ImageBorderSize, g.Style.ImageBorderSize); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + image_size + padding * 2.0f); + ItemSize(bb); + if (!ItemAdd(bb, 0)) + return; + + // Render + if (g.Style.ImageBorderSize > 0.0f) + window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_Border), 0.0f, ImDrawFlags_None, g.Style.ImageBorderSize); + if (bg_col.w > 0.0f) + window->DrawList->AddRectFilled(bb.Min + padding, bb.Max - padding, GetColorU32(bg_col)); + window->DrawList->AddImage(user_texture_id, bb.Min + padding, bb.Max - padding, uv0, uv1, GetColorU32(tint_col)); +} + +void ImGui::Image(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1) +{ + ImageWithBg(user_texture_id, image_size, uv0, uv1); +} + +// 1.91.9 (February 2025) removed 'tint_col' and 'border_col' parameters, made border size not depend on color value. (#8131, #8238) +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +void ImGui::Image(ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col) +{ + ImGuiContext& g = *GImGui; + PushStyleVar(ImGuiStyleVar_ImageBorderSize, (border_col.w > 0.0f) ? ImMax(1.0f, g.Style.ImageBorderSize) : 0.0f); // Preserve legacy behavior where border is always visible when border_col's Alpha is >0.0f + PushStyleColor(ImGuiCol_Border, border_col); + ImageWithBg(user_texture_id, image_size, uv0, uv1, ImVec4(0, 0, 0, 0), tint_col); + PopStyleColor(); + PopStyleVar(); +} +#endif + +bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col, ImGuiButtonFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + const ImVec2 padding = g.Style.FramePadding; + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + image_size + padding * 2.0f); + ItemSize(bb); + if (!ItemAdd(bb, id)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + + // Render + const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + RenderNavCursor(bb, id); + RenderFrame(bb.Min, bb.Max, col, true, ImClamp((float)ImMin(padding.x, padding.y), 0.0f, g.Style.FrameRounding)); + if (bg_col.w > 0.0f) + window->DrawList->AddRectFilled(bb.Min + padding, bb.Max - padding, GetColorU32(bg_col)); + window->DrawList->AddImage(user_texture_id, bb.Min + padding, bb.Max - padding, uv0, uv1, GetColorU32(tint_col)); + + return pressed; +} + +// - ImageButton() adds style.FramePadding*2.0f to provided size. This is in order to facilitate fitting an image in a button. +// - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified. (#8165) // FIXME: Maybe that's not the best design? +bool ImGui::ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + return ImageButtonEx(window->GetID(str_id), user_texture_id, image_size, uv0, uv1, bg_col, tint_col); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// Legacy API obsoleted in 1.89. Two differences with new ImageButton() +// - old ImageButton() used ImTextureID as item id (created issue with multiple buttons with same image, transient texture id values, opaque computation of ID) +// - new ImageButton() requires an explicit 'const char* str_id' +// - old ImageButton() had frame_padding' override argument. +// - new ImageButton() always use style.FramePadding. +/* +bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) +{ + // Default to using texture ID as ID. User can still push string/integer prefixes. + PushID((ImTextureID)(intptr_t)user_texture_id); + if (frame_padding >= 0) + PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2((float)frame_padding, (float)frame_padding)); + bool ret = ImageButton("", user_texture_id, size, uv0, uv1, bg_col, tint_col); + if (frame_padding >= 0) + PopStyleVar(); + PopID(); + return ret; +} +*/ +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +bool ImGui::Checkbox(const char* label, bool* v) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + + const float square_sz = GetFrameHeight(); + const ImVec2 pos = window->DC.CursorPos; + const ImRect total_bb(pos, pos + ImVec2(square_sz + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f)); + ItemSize(total_bb, style.FramePadding.y); + const bool is_visible = ItemAdd(total_bb, id); + const bool is_multi_select = (g.LastItemData.ItemFlags & ImGuiItemFlags_IsMultiSelect) != 0; + if (!is_visible) + if (!is_multi_select || !g.BoxSelectState.UnclipMode || !g.BoxSelectState.UnclipRect.Overlaps(total_bb)) // Extra layer of "no logic clip" for box-select support + { + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Checkable | (*v ? ImGuiItemStatusFlags_Checked : 0)); + return false; + } + + // Range-Selection/Multi-selection support (header) + bool checked = *v; + if (is_multi_select) + MultiSelectItemHeader(id, &checked, NULL); + + bool hovered, held; + bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); + + // Range-Selection/Multi-selection support (footer) + if (is_multi_select) + MultiSelectItemFooter(id, &checked, &pressed); + else if (pressed) + checked = !checked; + + if (*v != checked) + { + *v = checked; + pressed = true; // return value + MarkItemEdited(id); + } + + const ImRect check_bb(pos, pos + ImVec2(square_sz, square_sz)); + const bool mixed_value = (g.LastItemData.ItemFlags & ImGuiItemFlags_MixedValue) != 0; + if (is_visible) + { + RenderNavCursor(total_bb, id); + RenderFrame(check_bb.Min, check_bb.Max, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg), true, style.FrameRounding); + ImU32 check_col = GetColorU32(ImGuiCol_CheckMark); + if (mixed_value) + { + // Undocumented tristate/mixed/indeterminate checkbox (#2644) + // This may seem awkwardly designed because the aim is to make ImGuiItemFlags_MixedValue supported by all widgets (not just checkbox) + ImVec2 pad(ImMax(1.0f, IM_TRUNC(square_sz / 3.6f)), ImMax(1.0f, IM_TRUNC(square_sz / 3.6f))); + window->DrawList->AddRectFilled(check_bb.Min + pad, check_bb.Max - pad, check_col, style.FrameRounding); + } + else if (*v) + { + const float pad = ImMax(1.0f, IM_TRUNC(square_sz / 6.0f)); + RenderCheckMark(window->DrawList, check_bb.Min + ImVec2(pad, pad), check_col, square_sz - pad * 2.0f); + } + } + const ImVec2 label_pos = ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y); + if (g.LogEnabled) + LogRenderedText(&label_pos, mixed_value ? "[~]" : *v ? "[x]" : "[ ]"); + if (is_visible && label_size.x > 0.0f) + RenderText(label_pos, label); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Checkable | (*v ? ImGuiItemStatusFlags_Checked : 0)); + return pressed; +} + +template +bool ImGui::CheckboxFlagsT(const char* label, T* flags, T flags_value) +{ + bool all_on = (*flags & flags_value) == flags_value; + bool any_on = (*flags & flags_value) != 0; + bool pressed; + if (!all_on && any_on) + { + ImGuiContext& g = *GImGui; + g.NextItemData.ItemFlags |= ImGuiItemFlags_MixedValue; + pressed = Checkbox(label, &all_on); + } + else + { + pressed = Checkbox(label, &all_on); + + } + if (pressed) + { + if (all_on) + *flags |= flags_value; + else + *flags &= ~flags_value; + } + return pressed; +} + +bool ImGui::CheckboxFlags(const char* label, int* flags, int flags_value) +{ + return CheckboxFlagsT(label, flags, flags_value); +} + +bool ImGui::CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_value) +{ + return CheckboxFlagsT(label, flags, flags_value); +} + +bool ImGui::CheckboxFlags(const char* label, ImS64* flags, ImS64 flags_value) +{ + return CheckboxFlagsT(label, flags, flags_value); +} + +bool ImGui::CheckboxFlags(const char* label, ImU64* flags, ImU64 flags_value) +{ + return CheckboxFlagsT(label, flags, flags_value); +} + +bool ImGui::RadioButton(const char* label, bool active) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + + const float square_sz = GetFrameHeight(); + const ImVec2 pos = window->DC.CursorPos; + const ImRect check_bb(pos, pos + ImVec2(square_sz, square_sz)); + const ImRect total_bb(pos, pos + ImVec2(square_sz + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f)); + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id)) + return false; + + ImVec2 center = check_bb.GetCenter(); + center.x = IM_ROUND(center.x); + center.y = IM_ROUND(center.y); + const float radius = (square_sz - 1.0f) * 0.5f; + + bool hovered, held; + bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); + if (pressed) + MarkItemEdited(id); + + RenderNavCursor(total_bb, id); + const int num_segment = window->DrawList->_CalcCircleAutoSegmentCount(radius); + window->DrawList->AddCircleFilled(center, radius, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg), num_segment); + if (active) + { + const float pad = ImMax(1.0f, IM_TRUNC(square_sz / 6.0f)); + window->DrawList->AddCircleFilled(center, radius - pad, GetColorU32(ImGuiCol_CheckMark)); + } + + if (style.FrameBorderSize > 0.0f) + { + window->DrawList->AddCircle(center + ImVec2(1, 1), radius, GetColorU32(ImGuiCol_BorderShadow), num_segment, style.FrameBorderSize); + window->DrawList->AddCircle(center, radius, GetColorU32(ImGuiCol_Border), num_segment, style.FrameBorderSize); + } + + ImVec2 label_pos = ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y); + if (g.LogEnabled) + LogRenderedText(&label_pos, active ? "(x)" : "( )"); + if (label_size.x > 0.0f) + RenderText(label_pos, label); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + return pressed; +} + +// FIXME: This would work nicely if it was a public template, e.g. 'template RadioButton(const char* label, T* v, T v_button)', but I'm not sure how we would expose it.. +bool ImGui::RadioButton(const char* label, int* v, int v_button) +{ + const bool pressed = RadioButton(label, *v == v_button); + if (pressed) + *v = v_button; + return pressed; +} + +// size_arg (for each axis) < 0.0f: align to end, 0.0f: auto, > 0.0f: specified size +void ImGui::ProgressBar(float fraction, const ImVec2& size_arg, const char* overlay) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + + ImVec2 pos = window->DC.CursorPos; + ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), g.FontSize + style.FramePadding.y * 2.0f); + ImRect bb(pos, pos + size); + ItemSize(size, style.FramePadding.y); + if (!ItemAdd(bb, 0)) + return; + + // Fraction < 0.0f will display an indeterminate progress bar animation + // The value must be animated along with time, so e.g. passing '-1.0f * ImGui::GetTime()' as fraction works. + const bool is_indeterminate = (fraction < 0.0f); + if (!is_indeterminate) + fraction = ImSaturate(fraction); + + // Out of courtesy we accept a NaN fraction without crashing + float fill_n0 = 0.0f; + float fill_n1 = (fraction == fraction) ? fraction : 0.0f; + + if (is_indeterminate) + { + const float fill_width_n = 0.2f; + fill_n0 = ImFmod(-fraction, 1.0f) * (1.0f + fill_width_n) - fill_width_n; + fill_n1 = ImSaturate(fill_n0 + fill_width_n); + fill_n0 = ImSaturate(fill_n0); + } + + // Render + RenderFrame(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); + bb.Expand(ImVec2(-style.FrameBorderSize, -style.FrameBorderSize)); + RenderRectFilledRangeH(window->DrawList, bb, GetColorU32(ImGuiCol_PlotHistogram), fill_n0, fill_n1, style.FrameRounding); + + // Default displaying the fraction as percentage string, but user can override it + // Don't display text for indeterminate bars by default + char overlay_buf[32]; + if (!is_indeterminate || overlay != NULL) + { + if (!overlay) + { + ImFormatString(overlay_buf, IM_ARRAYSIZE(overlay_buf), "%.0f%%", fraction * 100 + 0.01f); + overlay = overlay_buf; + } + + ImVec2 overlay_size = CalcTextSize(overlay, NULL); + if (overlay_size.x > 0.0f) + { + float text_x = is_indeterminate ? (bb.Min.x + bb.Max.x - overlay_size.x) * 0.5f : ImLerp(bb.Min.x, bb.Max.x, fill_n1) + style.ItemSpacing.x; + RenderTextClipped(ImVec2(ImClamp(text_x, bb.Min.x, bb.Max.x - overlay_size.x - style.ItemInnerSpacing.x), bb.Min.y), bb.Max, overlay, NULL, &overlay_size, ImVec2(0.0f, 0.5f), &bb); + } + } +} + +void ImGui::Bullet() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + style.FramePadding.y * 2), g.FontSize); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height)); + ItemSize(bb); + if (!ItemAdd(bb, 0)) + { + SameLine(0, style.FramePadding.x * 2); + return; + } + + // Render and stay on same line + ImU32 text_col = GetColorU32(ImGuiCol_Text); + RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, line_height * 0.5f), text_col); + SameLine(0, style.FramePadding.x * 2.0f); +} + +// This is provided as a convenience for being an often requested feature. +// FIXME-STYLE: we delayed adding as there is a larger plan to revamp the styling system. +// Because of this we currently don't provide many styling options for this widget +// (e.g. hovered/active colors are automatically inferred from a single color). +bool ImGui::TextLink(const char* label) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiID id = window->GetID(label); + const char* label_end = FindRenderedTextEnd(label); + + ImVec2 pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); + ImVec2 size = CalcTextSize(label, label_end, true); + ImRect bb(pos, pos + size); + ItemSize(size, 0.0f); + if (!ItemAdd(bb, id)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held); + RenderNavCursor(bb, id); + + if (hovered) + SetMouseCursor(ImGuiMouseCursor_Hand); + + ImVec4 text_colf = g.Style.Colors[ImGuiCol_TextLink]; + ImVec4 line_colf = text_colf; + { + // FIXME-STYLE: Read comments above. This widget is NOT written in the same style as some earlier widgets, + // as we are currently experimenting/planning a different styling system. + float h, s, v; + ColorConvertRGBtoHSV(text_colf.x, text_colf.y, text_colf.z, h, s, v); + if (held || hovered) + { + v = ImSaturate(v + (held ? 0.4f : 0.3f)); + h = ImFmod(h + 0.02f, 1.0f); + } + ColorConvertHSVtoRGB(h, s, v, text_colf.x, text_colf.y, text_colf.z); + v = ImSaturate(v - 0.20f); + ColorConvertHSVtoRGB(h, s, v, line_colf.x, line_colf.y, line_colf.z); + } + + float line_y = bb.Max.y + ImFloor(g.Font->Descent * g.FontScale * 0.20f); + window->DrawList->AddLine(ImVec2(bb.Min.x, line_y), ImVec2(bb.Max.x, line_y), GetColorU32(line_colf)); // FIXME-TEXT: Underline mode. + + PushStyleColor(ImGuiCol_Text, GetColorU32(text_colf)); + RenderText(bb.Min, label, label_end); + PopStyleColor(); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + return pressed; +} + +void ImGui::TextLinkOpenURL(const char* label, const char* url) +{ + ImGuiContext& g = *GImGui; + if (url == NULL) + url = label; + if (TextLink(label)) + if (g.PlatformIO.Platform_OpenInShellFn != NULL) + g.PlatformIO.Platform_OpenInShellFn(&g, url); + SetItemTooltip(LocalizeGetMsg(ImGuiLocKey_OpenLink_s), url); // It is more reassuring for user to _always_ display URL when we same as label + if (BeginPopupContextItem()) + { + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_CopyLink))) + SetClipboardText(url); + EndPopup(); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Low-level Layout helpers +//------------------------------------------------------------------------- +// - Spacing() +// - Dummy() +// - NewLine() +// - AlignTextToFramePadding() +// - SeparatorEx() [Internal] +// - Separator() +// - SplitterBehavior() [Internal] +// - ShrinkWidths() [Internal] +//------------------------------------------------------------------------- + +void ImGui::Spacing() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + ItemSize(ImVec2(0, 0)); +} + +void ImGui::Dummy(const ImVec2& size) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); + ItemSize(size); + ItemAdd(bb, 0); +} + +void ImGui::NewLine() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + const ImGuiLayoutType backup_layout_type = window->DC.LayoutType; + window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; + if (window->DC.CurrLineSize.y > 0.0f) // In the event that we are on a line with items that is smaller that FontSize high, we will preserve its height. + ItemSize(ImVec2(0, 0)); + else + ItemSize(ImVec2(0.0f, g.FontSize)); + window->DC.LayoutType = backup_layout_type; +} + +void ImGui::AlignTextToFramePadding() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + window->DC.CurrLineSize.y = ImMax(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2); + window->DC.CurrLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, g.Style.FramePadding.y); +} + +// Horizontal/vertical separating line +// FIXME: Surprisingly, this seemingly trivial widget is a victim of many different legacy/tricky layout issues. +// Note how thickness == 1.0f is handled specifically as not moving CursorPos by 'thickness', but other values are. +void ImGui::SeparatorEx(ImGuiSeparatorFlags flags, float thickness) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + ImGuiContext& g = *GImGui; + IM_ASSERT(ImIsPowerOfTwo(flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Vertical))); // Check that only 1 option is selected + IM_ASSERT(thickness > 0.0f); + + if (flags & ImGuiSeparatorFlags_Vertical) + { + // Vertical separator, for menu bars (use current line height). + float y1 = window->DC.CursorPos.y; + float y2 = window->DC.CursorPos.y + window->DC.CurrLineSize.y; + const ImRect bb(ImVec2(window->DC.CursorPos.x, y1), ImVec2(window->DC.CursorPos.x + thickness, y2)); + ItemSize(ImVec2(thickness, 0.0f)); + if (!ItemAdd(bb, 0)) + return; + + // Draw + window->DrawList->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_Separator)); + if (g.LogEnabled) + LogText(" |"); + } + else if (flags & ImGuiSeparatorFlags_Horizontal) + { + // Horizontal Separator + float x1 = window->DC.CursorPos.x; + float x2 = window->WorkRect.Max.x; + + // Preserve legacy behavior inside Columns() + // Before Tables API happened, we relied on Separator() to span all columns of a Columns() set. + // We currently don't need to provide the same feature for tables because tables naturally have border features. + ImGuiOldColumns* columns = (flags & ImGuiSeparatorFlags_SpanAllColumns) ? window->DC.CurrentColumns : NULL; + if (columns) + { + x1 = window->Pos.x + window->DC.Indent.x; // Used to be Pos.x before 2023/10/03 + x2 = window->Pos.x + window->Size.x; + PushColumnsBackground(); + } + + // We don't provide our width to the layout so that it doesn't get feed back into AutoFit + // FIXME: This prevents ->CursorMaxPos based bounding box evaluation from working (e.g. TableEndCell) + const float thickness_for_layout = (thickness == 1.0f) ? 0.0f : thickness; // FIXME: See 1.70/1.71 Separator() change: makes legacy 1-px separator not affect layout yet. Should change. + const ImRect bb(ImVec2(x1, window->DC.CursorPos.y), ImVec2(x2, window->DC.CursorPos.y + thickness)); + ItemSize(ImVec2(0.0f, thickness_for_layout)); + + if (ItemAdd(bb, 0)) + { + // Draw + window->DrawList->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_Separator)); + if (g.LogEnabled) + LogRenderedText(&bb.Min, "--------------------------------\n"); + + } + if (columns) + { + PopColumnsBackground(); + columns->LineMinY = window->DC.CursorPos.y; + } + } +} + +void ImGui::Separator() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + // Those flags should eventually be configurable by the user + // FIXME: We cannot g.Style.SeparatorTextBorderSize for thickness as it relates to SeparatorText() which is a decorated separator, not defaulting to 1.0f. + ImGuiSeparatorFlags flags = (window->DC.LayoutType == ImGuiLayoutType_Horizontal) ? ImGuiSeparatorFlags_Vertical : ImGuiSeparatorFlags_Horizontal; + + // Only applies to legacy Columns() api as they relied on Separator() a lot. + if (window->DC.CurrentColumns) + flags |= ImGuiSeparatorFlags_SpanAllColumns; + + SeparatorEx(flags, 1.0f); +} + +void ImGui::SeparatorTextEx(ImGuiID id, const char* label, const char* label_end, float extra_w) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiStyle& style = g.Style; + + const ImVec2 label_size = CalcTextSize(label, label_end, false); + const ImVec2 pos = window->DC.CursorPos; + const ImVec2 padding = style.SeparatorTextPadding; + + const float separator_thickness = style.SeparatorTextBorderSize; + const ImVec2 min_size(label_size.x + extra_w + padding.x * 2.0f, ImMax(label_size.y + padding.y * 2.0f, separator_thickness)); + const ImRect bb(pos, ImVec2(window->WorkRect.Max.x, pos.y + min_size.y)); + const float text_baseline_y = ImTrunc((bb.GetHeight() - label_size.y) * style.SeparatorTextAlign.y + 0.99999f); //ImMax(padding.y, ImFloor((style.SeparatorTextSize - label_size.y) * 0.5f)); + ItemSize(min_size, text_baseline_y); + if (!ItemAdd(bb, id)) + return; + + const float sep1_x1 = pos.x; + const float sep2_x2 = bb.Max.x; + const float seps_y = ImTrunc((bb.Min.y + bb.Max.y) * 0.5f + 0.99999f); + + const float label_avail_w = ImMax(0.0f, sep2_x2 - sep1_x1 - padding.x * 2.0f); + const ImVec2 label_pos(pos.x + padding.x + ImMax(0.0f, (label_avail_w - label_size.x - extra_w) * style.SeparatorTextAlign.x), pos.y + text_baseline_y); // FIXME-ALIGN + + // This allows using SameLine() to position something in the 'extra_w' + window->DC.CursorPosPrevLine.x = label_pos.x + label_size.x; + + const ImU32 separator_col = GetColorU32(ImGuiCol_Separator); + if (label_size.x > 0.0f) + { + const float sep1_x2 = label_pos.x - style.ItemSpacing.x; + const float sep2_x1 = label_pos.x + label_size.x + extra_w + style.ItemSpacing.x; + if (sep1_x2 > sep1_x1 && separator_thickness > 0.0f) + window->DrawList->AddLine(ImVec2(sep1_x1, seps_y), ImVec2(sep1_x2, seps_y), separator_col, separator_thickness); + if (sep2_x2 > sep2_x1 && separator_thickness > 0.0f) + window->DrawList->AddLine(ImVec2(sep2_x1, seps_y), ImVec2(sep2_x2, seps_y), separator_col, separator_thickness); + if (g.LogEnabled) + LogSetNextTextDecoration("---", NULL); + RenderTextEllipsis(window->DrawList, label_pos, ImVec2(bb.Max.x, bb.Max.y + style.ItemSpacing.y), bb.Max.x, bb.Max.x, label, label_end, &label_size); + } + else + { + if (g.LogEnabled) + LogText("---"); + if (separator_thickness > 0.0f) + window->DrawList->AddLine(ImVec2(sep1_x1, seps_y), ImVec2(sep2_x2, seps_y), separator_col, separator_thickness); + } +} + +void ImGui::SeparatorText(const char* label) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + + // The SeparatorText() vs SeparatorTextEx() distinction is designed to be considerate that we may want: + // - allow separator-text to be draggable items (would require a stable ID + a noticeable highlight) + // - this high-level entry point to allow formatting? (which in turns may require ID separate from formatted string) + // - because of this we probably can't turn 'const char* label' into 'const char* fmt, ...' + // Otherwise, we can decide that users wanting to drag this would layout a dedicated drag-item, + // and then we can turn this into a format function. + SeparatorTextEx(0, label, FindRenderedTextEnd(label), 0.0f); +} + +// Using 'hover_visibility_delay' allows us to hide the highlight and mouse cursor for a short time, which can be convenient to reduce visual noise. +bool ImGui::SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float* size1, float* size2, float min_size1, float min_size2, float hover_extend, float hover_visibility_delay, ImU32 bg_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + if (!ItemAdd(bb, id, NULL, ImGuiItemFlags_NoNav)) + return false; + + // FIXME: AFAIK the only leftover reason for passing ImGuiButtonFlags_AllowOverlap here is + // to allow caller of SplitterBehavior() to call SetItemAllowOverlap() after the item. + // Nowadays we would instead want to use SetNextItemAllowOverlap() before the item. + ImGuiButtonFlags button_flags = ImGuiButtonFlags_FlattenChildren; +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + button_flags |= ImGuiButtonFlags_AllowOverlap; +#endif + + bool hovered, held; + ImRect bb_interact = bb; + bb_interact.Expand(axis == ImGuiAxis_Y ? ImVec2(0.0f, hover_extend) : ImVec2(hover_extend, 0.0f)); + ButtonBehavior(bb_interact, id, &hovered, &held, button_flags); + if (hovered) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredRect; // for IsItemHovered(), because bb_interact is larger than bb + + if (held || (hovered && g.HoveredIdPreviousFrame == id && g.HoveredIdTimer >= hover_visibility_delay)) + SetMouseCursor(axis == ImGuiAxis_Y ? ImGuiMouseCursor_ResizeNS : ImGuiMouseCursor_ResizeEW); + + ImRect bb_render = bb; + if (held) + { + float mouse_delta = (g.IO.MousePos - g.ActiveIdClickOffset - bb_interact.Min)[axis]; + + // Minimum pane size + float size_1_maximum_delta = ImMax(0.0f, *size1 - min_size1); + float size_2_maximum_delta = ImMax(0.0f, *size2 - min_size2); + if (mouse_delta < -size_1_maximum_delta) + mouse_delta = -size_1_maximum_delta; + if (mouse_delta > size_2_maximum_delta) + mouse_delta = size_2_maximum_delta; + + // Apply resize + if (mouse_delta != 0.0f) + { + *size1 = ImMax(*size1 + mouse_delta, min_size1); + *size2 = ImMax(*size2 - mouse_delta, min_size2); + bb_render.Translate((axis == ImGuiAxis_X) ? ImVec2(mouse_delta, 0.0f) : ImVec2(0.0f, mouse_delta)); + MarkItemEdited(id); + } + } + + // Render at new position + if (bg_col & IM_COL32_A_MASK) + window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, bg_col, 0.0f); + const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= hover_visibility_delay) ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator); + window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, 0.0f); + + return held; +} + +static int IMGUI_CDECL ShrinkWidthItemComparer(const void* lhs, const void* rhs) +{ + const ImGuiShrinkWidthItem* a = (const ImGuiShrinkWidthItem*)lhs; + const ImGuiShrinkWidthItem* b = (const ImGuiShrinkWidthItem*)rhs; + if (int d = (int)(b->Width - a->Width)) + return d; + return (b->Index - a->Index); +} + +// Shrink excess width from a set of item, by removing width from the larger items first. +// Set items Width to -1.0f to disable shrinking this item. +void ImGui::ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_excess) +{ + if (count == 1) + { + if (items[0].Width >= 0.0f) + items[0].Width = ImMax(items[0].Width - width_excess, 1.0f); + return; + } + ImQsort(items, (size_t)count, sizeof(ImGuiShrinkWidthItem), ShrinkWidthItemComparer); + int count_same_width = 1; + while (width_excess > 0.0f && count_same_width < count) + { + while (count_same_width < count && items[0].Width <= items[count_same_width].Width) + count_same_width++; + float max_width_to_remove_per_item = (count_same_width < count && items[count_same_width].Width >= 0.0f) ? (items[0].Width - items[count_same_width].Width) : (items[0].Width - 1.0f); + if (max_width_to_remove_per_item <= 0.0f) + break; + float width_to_remove_per_item = ImMin(width_excess / count_same_width, max_width_to_remove_per_item); + for (int item_n = 0; item_n < count_same_width; item_n++) + items[item_n].Width -= width_to_remove_per_item; + width_excess -= width_to_remove_per_item * count_same_width; + } + + // Round width and redistribute remainder + // Ensure that e.g. the right-most tab of a shrunk tab-bar always reaches exactly at the same distance from the right-most edge of the tab bar separator. + width_excess = 0.0f; + for (int n = 0; n < count; n++) + { + float width_rounded = ImTrunc(items[n].Width); + width_excess += items[n].Width - width_rounded; + items[n].Width = width_rounded; + } + while (width_excess > 0.0f) + for (int n = 0; n < count && width_excess > 0.0f; n++) + { + float width_to_add = ImMin(items[n].InitialWidth - items[n].Width, 1.0f); + items[n].Width += width_to_add; + width_excess -= width_to_add; + } +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: ComboBox +//------------------------------------------------------------------------- +// - CalcMaxPopupHeightFromItemCount() [Internal] +// - BeginCombo() +// - BeginComboPopup() [Internal] +// - EndCombo() +// - BeginComboPreview() [Internal] +// - EndComboPreview() [Internal] +// - Combo() +//------------------------------------------------------------------------- + +static float CalcMaxPopupHeightFromItemCount(int items_count) +{ + ImGuiContext& g = *GImGui; + if (items_count <= 0) + return FLT_MAX; + return (g.FontSize + g.Style.ItemSpacing.y) * items_count - g.Style.ItemSpacing.y + (g.Style.WindowPadding.y * 2); +} + +bool ImGui::BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + + ImGuiNextWindowDataFlags backup_next_window_data_flags = g.NextWindowData.HasFlags; + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + if (window->SkipItems) + return false; + + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + IM_ASSERT((flags & (ImGuiComboFlags_NoArrowButton | ImGuiComboFlags_NoPreview)) != (ImGuiComboFlags_NoArrowButton | ImGuiComboFlags_NoPreview)); // Can't use both flags together + if (flags & ImGuiComboFlags_WidthFitPreview) + IM_ASSERT((flags & (ImGuiComboFlags_NoPreview | (ImGuiComboFlags)ImGuiComboFlags_CustomPreview)) == 0); + + const float arrow_size = (flags & ImGuiComboFlags_NoArrowButton) ? 0.0f : GetFrameHeight(); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const float preview_width = ((flags & ImGuiComboFlags_WidthFitPreview) && (preview_value != NULL)) ? CalcTextSize(preview_value, NULL, true).x : 0.0f; + const float w = (flags & ImGuiComboFlags_NoPreview) ? arrow_size : ((flags & ImGuiComboFlags_WidthFitPreview) ? (arrow_size + preview_width + style.FramePadding.x * 2.0f) : CalcItemWidth()); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y * 2.0f)); + const ImRect total_bb(bb.Min, bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id, &bb)) + return false; + + // Open on click + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held); + const ImGuiID popup_id = ImHashStr("##ComboPopup", 0, id); + bool popup_open = IsPopupOpen(popup_id, ImGuiPopupFlags_None); + if (pressed && !popup_open) + { + OpenPopupEx(popup_id, ImGuiPopupFlags_None); + popup_open = true; + } + + // Render shape + const ImU32 frame_col = GetColorU32(hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); + const float value_x2 = ImMax(bb.Min.x, bb.Max.x - arrow_size); + RenderNavCursor(bb, id); + if (!(flags & ImGuiComboFlags_NoPreview)) + window->DrawList->AddRectFilled(bb.Min, ImVec2(value_x2, bb.Max.y), frame_col, style.FrameRounding, (flags & ImGuiComboFlags_NoArrowButton) ? ImDrawFlags_RoundCornersAll : ImDrawFlags_RoundCornersLeft); + if (!(flags & ImGuiComboFlags_NoArrowButton)) + { + ImU32 bg_col = GetColorU32((popup_open || hovered) ? ImGuiCol_ButtonHovered : ImGuiCol_Button); + ImU32 text_col = GetColorU32(ImGuiCol_Text); + window->DrawList->AddRectFilled(ImVec2(value_x2, bb.Min.y), bb.Max, bg_col, style.FrameRounding, (w <= arrow_size) ? ImDrawFlags_RoundCornersAll : ImDrawFlags_RoundCornersRight); + if (value_x2 + arrow_size - style.FramePadding.x <= bb.Max.x) + RenderArrow(window->DrawList, ImVec2(value_x2 + style.FramePadding.y, bb.Min.y + style.FramePadding.y), text_col, ImGuiDir_Down, 1.0f); + } + RenderFrameBorder(bb.Min, bb.Max, style.FrameRounding); + + // Custom preview + if (flags & ImGuiComboFlags_CustomPreview) + { + g.ComboPreviewData.PreviewRect = ImRect(bb.Min.x, bb.Min.y, value_x2, bb.Max.y); + IM_ASSERT(preview_value == NULL || preview_value[0] == 0); + preview_value = NULL; + } + + // Render preview and label + if (preview_value != NULL && !(flags & ImGuiComboFlags_NoPreview)) + { + if (g.LogEnabled) + LogSetNextTextDecoration("{", "}"); + RenderTextClipped(bb.Min + style.FramePadding, ImVec2(value_x2, bb.Max.y), preview_value, NULL, NULL); + } + if (label_size.x > 0) + RenderText(ImVec2(bb.Max.x + style.ItemInnerSpacing.x, bb.Min.y + style.FramePadding.y), label); + + if (!popup_open) + return false; + + g.NextWindowData.HasFlags = backup_next_window_data_flags; + return BeginComboPopup(popup_id, bb, flags); +} + +bool ImGui::BeginComboPopup(ImGuiID popup_id, const ImRect& bb, ImGuiComboFlags flags) +{ + ImGuiContext& g = *GImGui; + if (!IsPopupOpen(popup_id, ImGuiPopupFlags_None)) + { + g.NextWindowData.ClearFlags(); + return false; + } + + // Set popup size + float w = bb.GetWidth(); + if (g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSizeConstraint) + { + g.NextWindowData.SizeConstraintRect.Min.x = ImMax(g.NextWindowData.SizeConstraintRect.Min.x, w); + } + else + { + if ((flags & ImGuiComboFlags_HeightMask_) == 0) + flags |= ImGuiComboFlags_HeightRegular; + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiComboFlags_HeightMask_)); // Only one + int popup_max_height_in_items = -1; + if (flags & ImGuiComboFlags_HeightRegular) popup_max_height_in_items = 8; + else if (flags & ImGuiComboFlags_HeightSmall) popup_max_height_in_items = 4; + else if (flags & ImGuiComboFlags_HeightLarge) popup_max_height_in_items = 20; + ImVec2 constraint_min(0.0f, 0.0f), constraint_max(FLT_MAX, FLT_MAX); + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) == 0 || g.NextWindowData.SizeVal.x <= 0.0f) // Don't apply constraints if user specified a size + constraint_min.x = w; + if ((g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSize) == 0 || g.NextWindowData.SizeVal.y <= 0.0f) + constraint_max.y = CalcMaxPopupHeightFromItemCount(popup_max_height_in_items); + SetNextWindowSizeConstraints(constraint_min, constraint_max); + } + + // This is essentially a specialized version of BeginPopupEx() + char name[16]; + ImFormatString(name, IM_ARRAYSIZE(name), "##Combo_%02d", g.BeginComboDepth); // Recycle windows based on depth + + // Set position given a custom constraint (peak into expected window size so we can position it) + // FIXME: This might be easier to express with an hypothetical SetNextWindowPosConstraints() function? + // FIXME: This might be moved to Begin() or at least around the same spot where Tooltips and other Popups are calling FindBestWindowPosForPopupEx()? + if (ImGuiWindow* popup_window = FindWindowByName(name)) + if (popup_window->WasActive) + { + // Always override 'AutoPosLastDirection' to not leave a chance for a past value to affect us. + ImVec2 size_expected = CalcWindowNextAutoFitSize(popup_window); + popup_window->AutoPosLastDirection = (flags & ImGuiComboFlags_PopupAlignLeft) ? ImGuiDir_Left : ImGuiDir_Down; // Left = "Below, Toward Left", Down = "Below, Toward Right (default)" + ImRect r_outer = GetPopupAllowedExtentRect(popup_window); + ImVec2 pos = FindBestWindowPosForPopupEx(bb.GetBL(), size_expected, &popup_window->AutoPosLastDirection, r_outer, bb, ImGuiPopupPositionPolicy_ComboBox); + SetNextWindowPos(pos); + } + + // We don't use BeginPopupEx() solely because we have a custom name string, which we could make an argument to BeginPopupEx() + ImGuiWindowFlags window_flags = ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_Popup | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoMove; + PushStyleVarX(ImGuiStyleVar_WindowPadding, g.Style.FramePadding.x); // Horizontally align ourselves with the framed text + bool ret = Begin(name, NULL, window_flags); + PopStyleVar(); + if (!ret) + { + EndPopup(); + IM_ASSERT(0); // This should never happen as we tested for IsPopupOpen() above + return false; + } + g.BeginComboDepth++; + return true; +} + +void ImGui::EndCombo() +{ + ImGuiContext& g = *GImGui; + EndPopup(); + g.BeginComboDepth--; +} + +// Call directly after the BeginCombo/EndCombo block. The preview is designed to only host non-interactive elements +// (Experimental, see GitHub issues: #1658, #4168) +bool ImGui::BeginComboPreview() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiComboPreviewData* preview_data = &g.ComboPreviewData; + + if (window->SkipItems || !(g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible)) + return false; + IM_ASSERT(g.LastItemData.Rect.Min.x == preview_data->PreviewRect.Min.x && g.LastItemData.Rect.Min.y == preview_data->PreviewRect.Min.y); // Didn't call after BeginCombo/EndCombo block or forgot to pass ImGuiComboFlags_CustomPreview flag? + if (!window->ClipRect.Overlaps(preview_data->PreviewRect)) // Narrower test (optional) + return false; + + // FIXME: This could be contained in a PushWorkRect() api + preview_data->BackupCursorPos = window->DC.CursorPos; + preview_data->BackupCursorMaxPos = window->DC.CursorMaxPos; + preview_data->BackupCursorPosPrevLine = window->DC.CursorPosPrevLine; + preview_data->BackupPrevLineTextBaseOffset = window->DC.PrevLineTextBaseOffset; + preview_data->BackupLayout = window->DC.LayoutType; + window->DC.CursorPos = preview_data->PreviewRect.Min + g.Style.FramePadding; + window->DC.CursorMaxPos = window->DC.CursorPos; + window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; + PushClipRect(preview_data->PreviewRect.Min, preview_data->PreviewRect.Max, true); + + return true; +} + +void ImGui::EndComboPreview() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiComboPreviewData* preview_data = &g.ComboPreviewData; + + // FIXME: Using CursorMaxPos approximation instead of correct AABB which we will store in ImDrawCmd in the future + ImDrawList* draw_list = window->DrawList; + if (window->DC.CursorMaxPos.x < preview_data->PreviewRect.Max.x && window->DC.CursorMaxPos.y < preview_data->PreviewRect.Max.y) + if (draw_list->CmdBuffer.Size > 1) // Unlikely case that the PushClipRect() didn't create a command + { + draw_list->_CmdHeader.ClipRect = draw_list->CmdBuffer[draw_list->CmdBuffer.Size - 1].ClipRect = draw_list->CmdBuffer[draw_list->CmdBuffer.Size - 2].ClipRect; + draw_list->_TryMergeDrawCmds(); + } + PopClipRect(); + window->DC.CursorPos = preview_data->BackupCursorPos; + window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, preview_data->BackupCursorMaxPos); + window->DC.CursorPosPrevLine = preview_data->BackupCursorPosPrevLine; + window->DC.PrevLineTextBaseOffset = preview_data->BackupPrevLineTextBaseOffset; + window->DC.LayoutType = preview_data->BackupLayout; + window->DC.IsSameLine = false; + preview_data->PreviewRect = ImRect(); +} + +// Getter for the old Combo() API: const char*[] +static const char* Items_ArrayGetter(void* data, int idx) +{ + const char* const* items = (const char* const*)data; + return items[idx]; +} + +// Getter for the old Combo() API: "item1\0item2\0item3\0" +static const char* Items_SingleStringGetter(void* data, int idx) +{ + const char* items_separated_by_zeros = (const char*)data; + int items_count = 0; + const char* p = items_separated_by_zeros; + while (*p) + { + if (idx == items_count) + break; + p += strlen(p) + 1; + items_count++; + } + return *p ? p : NULL; +} + +// Old API, prefer using BeginCombo() nowadays if you can. +bool ImGui::Combo(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items) +{ + ImGuiContext& g = *GImGui; + + // Call the getter to obtain the preview string which is a parameter to BeginCombo() + const char* preview_value = NULL; + if (*current_item >= 0 && *current_item < items_count) + preview_value = getter(user_data, *current_item); + + // The old Combo() API exposed "popup_max_height_in_items". The new more general BeginCombo() API doesn't have/need it, but we emulate it here. + if (popup_max_height_in_items != -1 && !(g.NextWindowData.HasFlags & ImGuiNextWindowDataFlags_HasSizeConstraint)) + SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, CalcMaxPopupHeightFromItemCount(popup_max_height_in_items))); + + if (!BeginCombo(label, preview_value, ImGuiComboFlags_None)) + return false; + + // Display items + bool value_changed = false; + ImGuiListClipper clipper; + clipper.Begin(items_count); + clipper.IncludeItemByIndex(*current_item); + while (clipper.Step()) + for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) + { + const char* item_text = getter(user_data, i); + if (item_text == NULL) + item_text = "*Unknown item*"; + + PushID(i); + const bool item_selected = (i == *current_item); + if (Selectable(item_text, item_selected) && *current_item != i) + { + value_changed = true; + *current_item = i; + } + if (item_selected) + SetItemDefaultFocus(); + PopID(); + } + + EndCombo(); + if (value_changed) + MarkItemEdited(g.LastItemData.ID); + + return value_changed; +} + +// Combo box helper allowing to pass an array of strings. +bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items) +{ + const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_in_items); + return value_changed; +} + +// Combo box helper allowing to pass all items in a single string literal holding multiple zero-terminated items "item1\0item2\0" +bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) +{ + int items_count = 0; + const char* p = items_separated_by_zeros; // FIXME-OPT: Avoid computing this, or at least only when combo is open + while (*p) + { + p += strlen(p) + 1; + items_count++; + } + bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items); + return value_changed; +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + +struct ImGuiGetNameFromIndexOldToNewCallbackData { void* UserData; bool (*OldCallback)(void*, int, const char**); }; +static const char* ImGuiGetNameFromIndexOldToNewCallback(void* user_data, int idx) +{ + ImGuiGetNameFromIndexOldToNewCallbackData* data = (ImGuiGetNameFromIndexOldToNewCallbackData*)user_data; + const char* s = NULL; + data->OldCallback(data->UserData, idx, &s); + return s; +} + +bool ImGui::ListBox(const char* label, int* current_item, bool (*old_getter)(void*, int, const char**), void* user_data, int items_count, int height_in_items) +{ + ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; + return ListBox(label, current_item, ImGuiGetNameFromIndexOldToNewCallback, &old_to_new_data, items_count, height_in_items); +} +bool ImGui::Combo(const char* label, int* current_item, bool (*old_getter)(void*, int, const char**), void* user_data, int items_count, int popup_max_height_in_items) +{ + ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; + return Combo(label, current_item, ImGuiGetNameFromIndexOldToNewCallback, &old_to_new_data, items_count, popup_max_height_in_items); +} + +#endif + +//------------------------------------------------------------------------- +// [SECTION] Data Type and Data Formatting Helpers [Internal] +//------------------------------------------------------------------------- +// - DataTypeGetInfo() +// - DataTypeFormatString() +// - DataTypeApplyOp() +// - DataTypeApplyFromText() +// - DataTypeCompare() +// - DataTypeClamp() +// - GetMinimumStepAtDecimalPrecision +// - RoundScalarWithFormat<>() +//------------------------------------------------------------------------- + +static const ImGuiDataTypeInfo GDataTypeInfo[] = +{ + { sizeof(char), "S8", "%d", "%d" }, // ImGuiDataType_S8 + { sizeof(unsigned char), "U8", "%u", "%u" }, + { sizeof(short), "S16", "%d", "%d" }, // ImGuiDataType_S16 + { sizeof(unsigned short), "U16", "%u", "%u" }, + { sizeof(int), "S32", "%d", "%d" }, // ImGuiDataType_S32 + { sizeof(unsigned int), "U32", "%u", "%u" }, +#ifdef _MSC_VER + { sizeof(ImS64), "S64", "%I64d","%I64d" }, // ImGuiDataType_S64 + { sizeof(ImU64), "U64", "%I64u","%I64u" }, +#else + { sizeof(ImS64), "S64", "%lld", "%lld" }, // ImGuiDataType_S64 + { sizeof(ImU64), "U64", "%llu", "%llu" }, +#endif + { sizeof(float), "float", "%.3f","%f" }, // ImGuiDataType_Float (float are promoted to double in va_arg) + { sizeof(double), "double","%f", "%lf" }, // ImGuiDataType_Double + { sizeof(bool), "bool", "%d", "%d" }, // ImGuiDataType_Bool + { 0, "char*","%s", "%s" }, // ImGuiDataType_String +}; +IM_STATIC_ASSERT(IM_ARRAYSIZE(GDataTypeInfo) == ImGuiDataType_COUNT); + +const ImGuiDataTypeInfo* ImGui::DataTypeGetInfo(ImGuiDataType data_type) +{ + IM_ASSERT(data_type >= 0 && data_type < ImGuiDataType_COUNT); + return &GDataTypeInfo[data_type]; +} + +int ImGui::DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format) +{ + // Signedness doesn't matter when pushing integer arguments + if (data_type == ImGuiDataType_S32 || data_type == ImGuiDataType_U32) + return ImFormatString(buf, buf_size, format, *(const ImU32*)p_data); + if (data_type == ImGuiDataType_S64 || data_type == ImGuiDataType_U64) + return ImFormatString(buf, buf_size, format, *(const ImU64*)p_data); + if (data_type == ImGuiDataType_Float) + return ImFormatString(buf, buf_size, format, *(const float*)p_data); + if (data_type == ImGuiDataType_Double) + return ImFormatString(buf, buf_size, format, *(const double*)p_data); + if (data_type == ImGuiDataType_S8) + return ImFormatString(buf, buf_size, format, *(const ImS8*)p_data); + if (data_type == ImGuiDataType_U8) + return ImFormatString(buf, buf_size, format, *(const ImU8*)p_data); + if (data_type == ImGuiDataType_S16) + return ImFormatString(buf, buf_size, format, *(const ImS16*)p_data); + if (data_type == ImGuiDataType_U16) + return ImFormatString(buf, buf_size, format, *(const ImU16*)p_data); + IM_ASSERT(0); + return 0; +} + +void ImGui::DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const void* arg1, const void* arg2) +{ + IM_ASSERT(op == '+' || op == '-'); + switch (data_type) + { + case ImGuiDataType_S8: + if (op == '+') { *(ImS8*)output = ImAddClampOverflow(*(const ImS8*)arg1, *(const ImS8*)arg2, IM_S8_MIN, IM_S8_MAX); } + if (op == '-') { *(ImS8*)output = ImSubClampOverflow(*(const ImS8*)arg1, *(const ImS8*)arg2, IM_S8_MIN, IM_S8_MAX); } + return; + case ImGuiDataType_U8: + if (op == '+') { *(ImU8*)output = ImAddClampOverflow(*(const ImU8*)arg1, *(const ImU8*)arg2, IM_U8_MIN, IM_U8_MAX); } + if (op == '-') { *(ImU8*)output = ImSubClampOverflow(*(const ImU8*)arg1, *(const ImU8*)arg2, IM_U8_MIN, IM_U8_MAX); } + return; + case ImGuiDataType_S16: + if (op == '+') { *(ImS16*)output = ImAddClampOverflow(*(const ImS16*)arg1, *(const ImS16*)arg2, IM_S16_MIN, IM_S16_MAX); } + if (op == '-') { *(ImS16*)output = ImSubClampOverflow(*(const ImS16*)arg1, *(const ImS16*)arg2, IM_S16_MIN, IM_S16_MAX); } + return; + case ImGuiDataType_U16: + if (op == '+') { *(ImU16*)output = ImAddClampOverflow(*(const ImU16*)arg1, *(const ImU16*)arg2, IM_U16_MIN, IM_U16_MAX); } + if (op == '-') { *(ImU16*)output = ImSubClampOverflow(*(const ImU16*)arg1, *(const ImU16*)arg2, IM_U16_MIN, IM_U16_MAX); } + return; + case ImGuiDataType_S32: + if (op == '+') { *(ImS32*)output = ImAddClampOverflow(*(const ImS32*)arg1, *(const ImS32*)arg2, IM_S32_MIN, IM_S32_MAX); } + if (op == '-') { *(ImS32*)output = ImSubClampOverflow(*(const ImS32*)arg1, *(const ImS32*)arg2, IM_S32_MIN, IM_S32_MAX); } + return; + case ImGuiDataType_U32: + if (op == '+') { *(ImU32*)output = ImAddClampOverflow(*(const ImU32*)arg1, *(const ImU32*)arg2, IM_U32_MIN, IM_U32_MAX); } + if (op == '-') { *(ImU32*)output = ImSubClampOverflow(*(const ImU32*)arg1, *(const ImU32*)arg2, IM_U32_MIN, IM_U32_MAX); } + return; + case ImGuiDataType_S64: + if (op == '+') { *(ImS64*)output = ImAddClampOverflow(*(const ImS64*)arg1, *(const ImS64*)arg2, IM_S64_MIN, IM_S64_MAX); } + if (op == '-') { *(ImS64*)output = ImSubClampOverflow(*(const ImS64*)arg1, *(const ImS64*)arg2, IM_S64_MIN, IM_S64_MAX); } + return; + case ImGuiDataType_U64: + if (op == '+') { *(ImU64*)output = ImAddClampOverflow(*(const ImU64*)arg1, *(const ImU64*)arg2, IM_U64_MIN, IM_U64_MAX); } + if (op == '-') { *(ImU64*)output = ImSubClampOverflow(*(const ImU64*)arg1, *(const ImU64*)arg2, IM_U64_MIN, IM_U64_MAX); } + return; + case ImGuiDataType_Float: + if (op == '+') { *(float*)output = *(const float*)arg1 + *(const float*)arg2; } + if (op == '-') { *(float*)output = *(const float*)arg1 - *(const float*)arg2; } + return; + case ImGuiDataType_Double: + if (op == '+') { *(double*)output = *(const double*)arg1 + *(const double*)arg2; } + if (op == '-') { *(double*)output = *(const double*)arg1 - *(const double*)arg2; } + return; + case ImGuiDataType_COUNT: break; + } + IM_ASSERT(0); +} + +// User can input math operators (e.g. +100) to edit a numerical values. +// NB: This is _not_ a full expression evaluator. We should probably add one and replace this dumb mess.. +bool ImGui::DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format, void* p_data_when_empty) +{ + // Copy the value in an opaque buffer so we can compare at the end of the function if it changed at all. + const ImGuiDataTypeInfo* type_info = DataTypeGetInfo(data_type); + ImGuiDataTypeStorage data_backup; + memcpy(&data_backup, p_data, type_info->Size); + + while (ImCharIsBlankA(*buf)) + buf++; + if (!buf[0]) + { + if (p_data_when_empty != NULL) + { + memcpy(p_data, p_data_when_empty, type_info->Size); + return memcmp(&data_backup, p_data, type_info->Size) != 0; + } + return false; + } + + // Sanitize format + // - For float/double we have to ignore format with precision (e.g. "%.2f") because sscanf doesn't take them in, so force them into %f and %lf + // - In theory could treat empty format as using default, but this would only cover rare/bizarre case of using InputScalar() + integer + format string without %. + char format_sanitized[32]; + if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) + format = type_info->ScanFmt; + else + format = ImParseFormatSanitizeForScanning(format, format_sanitized, IM_ARRAYSIZE(format_sanitized)); + + // Small types need a 32-bit buffer to receive the result from scanf() + int v32 = 0; + if (sscanf(buf, format, type_info->Size >= 4 ? p_data : &v32) < 1) + return false; + if (type_info->Size < 4) + { + if (data_type == ImGuiDataType_S8) + *(ImS8*)p_data = (ImS8)ImClamp(v32, (int)IM_S8_MIN, (int)IM_S8_MAX); + else if (data_type == ImGuiDataType_U8) + *(ImU8*)p_data = (ImU8)ImClamp(v32, (int)IM_U8_MIN, (int)IM_U8_MAX); + else if (data_type == ImGuiDataType_S16) + *(ImS16*)p_data = (ImS16)ImClamp(v32, (int)IM_S16_MIN, (int)IM_S16_MAX); + else if (data_type == ImGuiDataType_U16) + *(ImU16*)p_data = (ImU16)ImClamp(v32, (int)IM_U16_MIN, (int)IM_U16_MAX); + else + IM_ASSERT(0); + } + + return memcmp(&data_backup, p_data, type_info->Size) != 0; +} + +template +static int DataTypeCompareT(const T* lhs, const T* rhs) +{ + if (*lhs < *rhs) return -1; + if (*lhs > *rhs) return +1; + return 0; +} + +int ImGui::DataTypeCompare(ImGuiDataType data_type, const void* arg_1, const void* arg_2) +{ + switch (data_type) + { + case ImGuiDataType_S8: return DataTypeCompareT((const ImS8* )arg_1, (const ImS8* )arg_2); + case ImGuiDataType_U8: return DataTypeCompareT((const ImU8* )arg_1, (const ImU8* )arg_2); + case ImGuiDataType_S16: return DataTypeCompareT((const ImS16* )arg_1, (const ImS16* )arg_2); + case ImGuiDataType_U16: return DataTypeCompareT((const ImU16* )arg_1, (const ImU16* )arg_2); + case ImGuiDataType_S32: return DataTypeCompareT((const ImS32* )arg_1, (const ImS32* )arg_2); + case ImGuiDataType_U32: return DataTypeCompareT((const ImU32* )arg_1, (const ImU32* )arg_2); + case ImGuiDataType_S64: return DataTypeCompareT((const ImS64* )arg_1, (const ImS64* )arg_2); + case ImGuiDataType_U64: return DataTypeCompareT((const ImU64* )arg_1, (const ImU64* )arg_2); + case ImGuiDataType_Float: return DataTypeCompareT((const float* )arg_1, (const float* )arg_2); + case ImGuiDataType_Double: return DataTypeCompareT((const double*)arg_1, (const double*)arg_2); + case ImGuiDataType_COUNT: break; + } + IM_ASSERT(0); + return 0; +} + +template +static bool DataTypeClampT(T* v, const T* v_min, const T* v_max) +{ + // Clamp, both sides are optional, return true if modified + if (v_min && *v < *v_min) { *v = *v_min; return true; } + if (v_max && *v > *v_max) { *v = *v_max; return true; } + return false; +} + +bool ImGui::DataTypeClamp(ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max) +{ + switch (data_type) + { + case ImGuiDataType_S8: return DataTypeClampT((ImS8* )p_data, (const ImS8* )p_min, (const ImS8* )p_max); + case ImGuiDataType_U8: return DataTypeClampT((ImU8* )p_data, (const ImU8* )p_min, (const ImU8* )p_max); + case ImGuiDataType_S16: return DataTypeClampT((ImS16* )p_data, (const ImS16* )p_min, (const ImS16* )p_max); + case ImGuiDataType_U16: return DataTypeClampT((ImU16* )p_data, (const ImU16* )p_min, (const ImU16* )p_max); + case ImGuiDataType_S32: return DataTypeClampT((ImS32* )p_data, (const ImS32* )p_min, (const ImS32* )p_max); + case ImGuiDataType_U32: return DataTypeClampT((ImU32* )p_data, (const ImU32* )p_min, (const ImU32* )p_max); + case ImGuiDataType_S64: return DataTypeClampT((ImS64* )p_data, (const ImS64* )p_min, (const ImS64* )p_max); + case ImGuiDataType_U64: return DataTypeClampT((ImU64* )p_data, (const ImU64* )p_min, (const ImU64* )p_max); + case ImGuiDataType_Float: return DataTypeClampT((float* )p_data, (const float* )p_min, (const float* )p_max); + case ImGuiDataType_Double: return DataTypeClampT((double*)p_data, (const double*)p_min, (const double*)p_max); + case ImGuiDataType_COUNT: break; + } + IM_ASSERT(0); + return false; +} + +bool ImGui::DataTypeIsZero(ImGuiDataType data_type, const void* p_data) +{ + ImGuiContext& g = *GImGui; + return DataTypeCompare(data_type, p_data, &g.DataTypeZeroValue) == 0; +} + +static float GetMinimumStepAtDecimalPrecision(int decimal_precision) +{ + static const float min_steps[10] = { 1.0f, 0.1f, 0.01f, 0.001f, 0.0001f, 0.00001f, 0.000001f, 0.0000001f, 0.00000001f, 0.000000001f }; + if (decimal_precision < 0) + return FLT_MIN; + return (decimal_precision < IM_ARRAYSIZE(min_steps)) ? min_steps[decimal_precision] : ImPow(10.0f, (float)-decimal_precision); +} + +template +TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, TYPE v) +{ + IM_UNUSED(data_type); + IM_ASSERT(data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double); + const char* fmt_start = ImParseFormatFindStart(format); + if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string + return v; + + // Sanitize format + char fmt_sanitized[32]; + ImParseFormatSanitizeForPrinting(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); + fmt_start = fmt_sanitized; + + // Format value with our rounding, and read back + char v_str[64]; + ImFormatString(v_str, IM_ARRAYSIZE(v_str), fmt_start, v); + const char* p = v_str; + while (*p == ' ') + p++; + v = (TYPE)ImAtof(p); + + return v; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: DragScalar, DragFloat, DragInt, etc. +//------------------------------------------------------------------------- +// - DragBehaviorT<>() [Internal] +// - DragBehavior() [Internal] +// - DragScalar() +// - DragScalarN() +// - DragFloat() +// - DragFloat2() +// - DragFloat3() +// - DragFloat4() +// - DragFloatRange2() +// - DragInt() +// - DragInt2() +// - DragInt3() +// - DragInt4() +// - DragIntRange2() +//------------------------------------------------------------------------- + +// This is called by DragBehavior() when the widget is active (held by mouse or being manipulated with Nav controls) +template +bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiContext& g = *GImGui; + const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; + const bool is_bounded = (v_min < v_max) || ((v_min == v_max) && (v_min != 0.0f || (flags & ImGuiSliderFlags_ClampZeroRange))); + const bool is_wrapped = is_bounded && (flags & ImGuiSliderFlags_WrapAround); + const bool is_logarithmic = (flags & ImGuiSliderFlags_Logarithmic) != 0; + const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + + // Default tweak speed + if (v_speed == 0.0f && is_bounded && (v_max - v_min < FLT_MAX)) + v_speed = (float)((v_max - v_min) * g.DragSpeedDefaultRatio); + + // Inputs accumulates into g.DragCurrentAccum, which is flushed into the current value as soon as it makes a difference with our precision settings + float adjust_delta = 0.0f; + if (g.ActiveIdSource == ImGuiInputSource_Mouse && IsMousePosValid() && IsMouseDragPastThreshold(0, g.IO.MouseDragThreshold * DRAG_MOUSE_THRESHOLD_FACTOR)) + { + adjust_delta = g.IO.MouseDelta[axis]; + if (g.IO.KeyAlt && !(flags & ImGuiSliderFlags_NoSpeedTweaks)) + adjust_delta *= 1.0f / 100.0f; + if (g.IO.KeyShift && !(flags & ImGuiSliderFlags_NoSpeedTweaks)) + adjust_delta *= 10.0f; + } + else if (g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad) + { + const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); + const float tweak_factor = (flags & ImGuiSliderFlags_NoSpeedTweaks) ? 1.0f : tweak_slow ? 1.0f / 10.0f : tweak_fast ? 10.0f : 1.0f; + adjust_delta = GetNavTweakPressedAmount(axis) * tweak_factor; + v_speed = ImMax(v_speed, GetMinimumStepAtDecimalPrecision(decimal_precision)); + } + adjust_delta *= v_speed; + + // For vertical drag we currently assume that Up=higher value (like we do with vertical sliders). This may become a parameter. + if (axis == ImGuiAxis_Y) + adjust_delta = -adjust_delta; + + // For logarithmic use our range is effectively 0..1 so scale the delta into that range + if (is_logarithmic && (v_max - v_min < FLT_MAX) && ((v_max - v_min) > 0.000001f)) // Epsilon to avoid /0 + adjust_delta /= (float)(v_max - v_min); + + // Clear current value on activation + // Avoid altering values and clamping when we are _already_ past the limits and heading in the same direction, so e.g. if range is 0..255, current value is 300 and we are pushing to the right side, keep the 300. + const bool is_just_activated = g.ActiveIdIsJustActivated; + const bool is_already_past_limits_and_pushing_outward = is_bounded && !is_wrapped && ((*v >= v_max && adjust_delta > 0.0f) || (*v <= v_min && adjust_delta < 0.0f)); + if (is_just_activated || is_already_past_limits_and_pushing_outward) + { + g.DragCurrentAccum = 0.0f; + g.DragCurrentAccumDirty = false; + } + else if (adjust_delta != 0.0f) + { + g.DragCurrentAccum += adjust_delta; + g.DragCurrentAccumDirty = true; + } + + if (!g.DragCurrentAccumDirty) + return false; + + TYPE v_cur = *v; + FLOATTYPE v_old_ref_for_accum_remainder = (FLOATTYPE)0.0f; + + float logarithmic_zero_epsilon = 0.0f; // Only valid when is_logarithmic is true + const float zero_deadzone_halfsize = 0.0f; // Drag widgets have no deadzone (as it doesn't make sense) + if (is_logarithmic) + { + // When using logarithmic sliders, we need to clamp to avoid hitting zero, but our choice of clamp value greatly affects slider precision. We attempt to use the specified precision to estimate a good lower bound. + const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 1; + logarithmic_zero_epsilon = ImPow(0.1f, (float)decimal_precision); + + // Convert to parametric space, apply delta, convert back + float v_old_parametric = ScaleRatioFromValueT(data_type, v_cur, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + float v_new_parametric = v_old_parametric + g.DragCurrentAccum; + v_cur = ScaleValueFromRatioT(data_type, v_new_parametric, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + v_old_ref_for_accum_remainder = v_old_parametric; + } + else + { + v_cur += (SIGNEDTYPE)g.DragCurrentAccum; + } + + // Round to user desired precision based on format string + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_cur = RoundScalarWithFormatT(format, data_type, v_cur); + + // Preserve remainder after rounding has been applied. This also allow slow tweaking of values. + g.DragCurrentAccumDirty = false; + if (is_logarithmic) + { + // Convert to parametric space, apply delta, convert back + float v_new_parametric = ScaleRatioFromValueT(data_type, v_cur, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + g.DragCurrentAccum -= (float)(v_new_parametric - v_old_ref_for_accum_remainder); + } + else + { + g.DragCurrentAccum -= (float)((SIGNEDTYPE)v_cur - (SIGNEDTYPE)*v); + } + + // Lose zero sign for float/double + if (v_cur == (TYPE)-0) + v_cur = (TYPE)0; + + if (*v != v_cur && is_bounded) + { + if (is_wrapped) + { + // Wrap values + if (v_cur < v_min) + v_cur += v_max - v_min + (is_floating_point ? 0 : 1); + if (v_cur > v_max) + v_cur -= v_max - v_min + (is_floating_point ? 0 : 1); + } + else + { + // Clamp values + handle overflow/wrap-around for integer types. + if (v_cur < v_min || (v_cur > *v && adjust_delta < 0.0f && !is_floating_point)) + v_cur = v_min; + if (v_cur > v_max || (v_cur < *v && adjust_delta > 0.0f && !is_floating_point)) + v_cur = v_max; + } + } + + // Apply result + if (*v == v_cur) + return false; + *v = v_cur; + return true; +} + +bool ImGui::DragBehavior(ImGuiID id, ImGuiDataType data_type, void* p_v, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. + IM_ASSERT((flags == 1 || (flags & ImGuiSliderFlags_InvalidMask_) == 0) && "Invalid ImGuiSliderFlags flags! Has the legacy 'float power' argument been mistakenly cast to flags? Call function with ImGuiSliderFlags_Logarithmic flags instead."); + + ImGuiContext& g = *GImGui; + if (g.ActiveId == id) + { + // Those are the things we can do easily outside the DragBehaviorT<> template, saves code generation. + if (g.ActiveIdSource == ImGuiInputSource_Mouse && !g.IO.MouseDown[0]) + ClearActiveID(); + else if ((g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad) && g.NavActivatePressedId == id && !g.ActiveIdIsJustActivated) + ClearActiveID(); + } + if (g.ActiveId != id) + return false; + if ((g.LastItemData.ItemFlags & ImGuiItemFlags_ReadOnly) || (flags & ImGuiSliderFlags_ReadOnly)) + return false; + + switch (data_type) + { + case ImGuiDataType_S8: { ImS32 v32 = (ImS32)*(ImS8*)p_v; bool r = DragBehaviorT(ImGuiDataType_S32, &v32, v_speed, p_min ? *(const ImS8*) p_min : IM_S8_MIN, p_max ? *(const ImS8*)p_max : IM_S8_MAX, format, flags); if (r) *(ImS8*)p_v = (ImS8)v32; return r; } + case ImGuiDataType_U8: { ImU32 v32 = (ImU32)*(ImU8*)p_v; bool r = DragBehaviorT(ImGuiDataType_U32, &v32, v_speed, p_min ? *(const ImU8*) p_min : IM_U8_MIN, p_max ? *(const ImU8*)p_max : IM_U8_MAX, format, flags); if (r) *(ImU8*)p_v = (ImU8)v32; return r; } + case ImGuiDataType_S16: { ImS32 v32 = (ImS32)*(ImS16*)p_v; bool r = DragBehaviorT(ImGuiDataType_S32, &v32, v_speed, p_min ? *(const ImS16*)p_min : IM_S16_MIN, p_max ? *(const ImS16*)p_max : IM_S16_MAX, format, flags); if (r) *(ImS16*)p_v = (ImS16)v32; return r; } + case ImGuiDataType_U16: { ImU32 v32 = (ImU32)*(ImU16*)p_v; bool r = DragBehaviorT(ImGuiDataType_U32, &v32, v_speed, p_min ? *(const ImU16*)p_min : IM_U16_MIN, p_max ? *(const ImU16*)p_max : IM_U16_MAX, format, flags); if (r) *(ImU16*)p_v = (ImU16)v32; return r; } + case ImGuiDataType_S32: return DragBehaviorT(data_type, (ImS32*)p_v, v_speed, p_min ? *(const ImS32* )p_min : IM_S32_MIN, p_max ? *(const ImS32* )p_max : IM_S32_MAX, format, flags); + case ImGuiDataType_U32: return DragBehaviorT(data_type, (ImU32*)p_v, v_speed, p_min ? *(const ImU32* )p_min : IM_U32_MIN, p_max ? *(const ImU32* )p_max : IM_U32_MAX, format, flags); + case ImGuiDataType_S64: return DragBehaviorT(data_type, (ImS64*)p_v, v_speed, p_min ? *(const ImS64* )p_min : IM_S64_MIN, p_max ? *(const ImS64* )p_max : IM_S64_MAX, format, flags); + case ImGuiDataType_U64: return DragBehaviorT(data_type, (ImU64*)p_v, v_speed, p_min ? *(const ImU64* )p_min : IM_U64_MIN, p_max ? *(const ImU64* )p_max : IM_U64_MAX, format, flags); + case ImGuiDataType_Float: return DragBehaviorT(data_type, (float*)p_v, v_speed, p_min ? *(const float* )p_min : -FLT_MAX, p_max ? *(const float* )p_max : FLT_MAX, format, flags); + case ImGuiDataType_Double: return DragBehaviorT(data_type, (double*)p_v, v_speed, p_min ? *(const double*)p_min : -DBL_MAX, p_max ? *(const double*)p_max : DBL_MAX, format, flags); + case ImGuiDataType_COUNT: break; + } + IM_ASSERT(0); + return false; +} + +// Note: p_data, p_min and p_max are _pointers_ to a memory address holding the data. For a Drag widget, p_min and p_max are optional. +// Read code of e.g. DragFloat(), DragInt() etc. or examples in 'Demo->Widgets->Data Types' to understand how to use this function directly. +bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + const float w = CalcItemWidth(); + + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y * 2.0f)); + const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); + + const bool temp_input_allowed = (flags & ImGuiSliderFlags_NoInput) == 0; + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id, &frame_bb, temp_input_allowed ? ImGuiItemFlags_Inputable : 0)) + return false; + + // Default format string when passing NULL + if (format == NULL) + format = DataTypeGetInfo(data_type)->PrintFmt; + + const bool hovered = ItemHoverable(frame_bb, id, g.LastItemData.ItemFlags); + bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); + if (!temp_input_is_active) + { + // Tabbing or CTRL-clicking on Drag turns it into an InputText + const bool clicked = hovered && IsMouseClicked(0, ImGuiInputFlags_None, id); + const bool double_clicked = (hovered && g.IO.MouseClickedCount[0] == 2 && TestKeyOwner(ImGuiKey_MouseLeft, id)); + const bool make_active = (clicked || double_clicked || g.NavActivateId == id); + if (make_active && (clicked || double_clicked)) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if ((clicked && g.IO.KeyCtrl) || double_clicked || (g.NavActivateId == id && (g.NavActivateFlags & ImGuiActivateFlags_PreferInput))) + temp_input_is_active = true; + + // (Optional) simple click (without moving) turns Drag into an InputText + if (g.IO.ConfigDragClickToInputText && temp_input_allowed && !temp_input_is_active) + if (g.ActiveId == id && hovered && g.IO.MouseReleased[0] && !IsMouseDragPastThreshold(0, g.IO.MouseDragThreshold * DRAG_MOUSE_THRESHOLD_FACTOR)) + { + g.NavActivateId = id; + g.NavActivateFlags = ImGuiActivateFlags_PreferInput; + temp_input_is_active = true; + } + + // Store initial value (not used by main lib but available as a convenience but some mods e.g. to revert) + if (make_active) + memcpy(&g.ActiveIdValueOnActivation, p_data, DataTypeGetInfo(data_type)->Size); + + if (make_active && !temp_input_is_active) + { + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); + } + } + + if (temp_input_is_active) + { + // Only clamp CTRL+Click input when ImGuiSliderFlags_ClampOnInput is set (generally via ImGuiSliderFlags_AlwaysClamp) + bool clamp_enabled = false; + if ((flags & ImGuiSliderFlags_ClampOnInput) && (p_min != NULL || p_max != NULL)) + { + const int clamp_range_dir = (p_min != NULL && p_max != NULL) ? DataTypeCompare(data_type, p_min, p_max) : 0; // -1 when *p_min < *p_max, == 0 when *p_min == *p_max + if (p_min == NULL || p_max == NULL || clamp_range_dir < 0) + clamp_enabled = true; + else if (clamp_range_dir == 0) + clamp_enabled = DataTypeIsZero(data_type, p_min) ? ((flags & ImGuiSliderFlags_ClampZeroRange) != 0) : true; + } + return TempInputScalar(frame_bb, id, label, data_type, p_data, format, clamp_enabled ? p_min : NULL, clamp_enabled ? p_max : NULL); + } + + // Draw frame + const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); + RenderNavCursor(frame_bb, id); + RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, style.FrameRounding); + + // Drag behavior + const bool value_changed = DragBehavior(id, data_type, p_data, v_speed, p_min, p_max, format, flags); + if (value_changed) + MarkItemEdited(id); + + // Display value using user-provided display format so user can add prefix/suffix/decorations to the value. + char value_buf[64]; + const char* value_buf_end = value_buf + DataTypeFormatString(value_buf, IM_ARRAYSIZE(value_buf), data_type, p_data, format); + if (g.LogEnabled) + LogSetNextTextDecoration("{", "}"); + RenderTextClipped(frame_bb.Min, frame_bb.Max, value_buf, value_buf_end, NULL, ImVec2(0.5f, 0.5f)); + + if (label_size.x > 0.0f) + RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0)); + return value_changed; +} + +bool ImGui::DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + bool value_changed = false; + BeginGroup(); + PushID(label); + PushMultiItemsWidths(components, CalcItemWidth()); + size_t type_size = GDataTypeInfo[data_type].Size; + for (int i = 0; i < components; i++) + { + PushID(i); + if (i > 0) + SameLine(0, g.Style.ItemInnerSpacing.x); + value_changed |= DragScalar("", data_type, p_data, v_speed, p_min, p_max, format, flags); + PopID(); + PopItemWidth(); + p_data = (void*)((char*)p_data + type_size); + } + PopID(); + + const char* label_end = FindRenderedTextEnd(label); + if (label != label_end) + { + SameLine(0, g.Style.ItemInnerSpacing.x); + TextEx(label, label_end); + } + + EndGroup(); + return value_changed; +} + +bool ImGui::DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, flags); +} + +// NB: You likely want to specify the ImGuiSliderFlags_AlwaysClamp when using this. +bool ImGui::DragFloatRange2(const char* label, float* v_current_min, float* v_current_max, float v_speed, float v_min, float v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + PushID(label); + BeginGroup(); + PushMultiItemsWidths(2, CalcItemWidth()); + + float min_min = (v_min >= v_max) ? -FLT_MAX : v_min; + float min_max = (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_max); + ImGuiSliderFlags min_flags = flags | ((min_min == min_max) ? ImGuiSliderFlags_ReadOnly : 0); + bool value_changed = DragScalar("##min", ImGuiDataType_Float, v_current_min, v_speed, &min_min, &min_max, format, min_flags); + PopItemWidth(); + SameLine(0, g.Style.ItemInnerSpacing.x); + + float max_min = (v_min >= v_max) ? *v_current_min : ImMax(v_min, *v_current_min); + float max_max = (v_min >= v_max) ? FLT_MAX : v_max; + ImGuiSliderFlags max_flags = flags | ((max_min == max_max) ? ImGuiSliderFlags_ReadOnly : 0); + value_changed |= DragScalar("##max", ImGuiDataType_Float, v_current_max, v_speed, &max_min, &max_max, format_max ? format_max : format, max_flags); + PopItemWidth(); + SameLine(0, g.Style.ItemInnerSpacing.x); + + TextEx(label, FindRenderedTextEnd(label)); + EndGroup(); + PopID(); + + return value_changed; +} + +// NB: v_speed is float to allow adjusting the drag speed with more precision +bool ImGui::DragInt(const char* label, int* v, float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalar(label, ImGuiDataType_S32, v, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragInt2(const char* label, int v[2], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_S32, v, 2, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragInt3(const char* label, int v[3], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_S32, v, 3, v_speed, &v_min, &v_max, format, flags); +} + +bool ImGui::DragInt4(const char* label, int v[4], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return DragScalarN(label, ImGuiDataType_S32, v, 4, v_speed, &v_min, &v_max, format, flags); +} + +// NB: You likely want to specify the ImGuiSliderFlags_AlwaysClamp when using this. +bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + PushID(label); + BeginGroup(); + PushMultiItemsWidths(2, CalcItemWidth()); + + int min_min = (v_min >= v_max) ? INT_MIN : v_min; + int min_max = (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_max); + ImGuiSliderFlags min_flags = flags | ((min_min == min_max) ? ImGuiSliderFlags_ReadOnly : 0); + bool value_changed = DragInt("##min", v_current_min, v_speed, min_min, min_max, format, min_flags); + PopItemWidth(); + SameLine(0, g.Style.ItemInnerSpacing.x); + + int max_min = (v_min >= v_max) ? *v_current_min : ImMax(v_min, *v_current_min); + int max_max = (v_min >= v_max) ? INT_MAX : v_max; + ImGuiSliderFlags max_flags = flags | ((max_min == max_max) ? ImGuiSliderFlags_ReadOnly : 0); + value_changed |= DragInt("##max", v_current_max, v_speed, max_min, max_max, format_max ? format_max : format, max_flags); + PopItemWidth(); + SameLine(0, g.Style.ItemInnerSpacing.x); + + TextEx(label, FindRenderedTextEnd(label)); + EndGroup(); + PopID(); + + return value_changed; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: SliderScalar, SliderFloat, SliderInt, etc. +//------------------------------------------------------------------------- +// - ScaleRatioFromValueT<> [Internal] +// - ScaleValueFromRatioT<> [Internal] +// - SliderBehaviorT<>() [Internal] +// - SliderBehavior() [Internal] +// - SliderScalar() +// - SliderScalarN() +// - SliderFloat() +// - SliderFloat2() +// - SliderFloat3() +// - SliderFloat4() +// - SliderAngle() +// - SliderInt() +// - SliderInt2() +// - SliderInt3() +// - SliderInt4() +// - VSliderScalar() +// - VSliderFloat() +// - VSliderInt() +//------------------------------------------------------------------------- + +// Convert a value v in the output space of a slider into a parametric position on the slider itself (the logical opposite of ScaleValueFromRatioT) +template +float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) +{ + if (v_min == v_max) + return 0.0f; + IM_UNUSED(data_type); + + const TYPE v_clamped = (v_min < v_max) ? ImClamp(v, v_min, v_max) : ImClamp(v, v_max, v_min); + if (is_logarithmic) + { + bool flipped = v_max < v_min; + + if (flipped) // Handle the case where the range is backwards + ImSwap(v_min, v_max); + + // Fudge min/max to avoid getting close to log(0) + FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; + FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; + + // Awkward special cases - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) + if ((v_min == 0.0f) && (v_max < 0.0f)) + v_min_fudged = -logarithmic_zero_epsilon; + else if ((v_max == 0.0f) && (v_min < 0.0f)) + v_max_fudged = -logarithmic_zero_epsilon; + + float result; + if (v_clamped <= v_min_fudged) + result = 0.0f; // Workaround for values that are in-range but below our fudge + else if (v_clamped >= v_max_fudged) + result = 1.0f; // Workaround for values that are in-range but above our fudge + else if ((v_min * v_max) < 0.0f) // Range crosses zero, so split into two portions + { + float zero_point_center = (-(float)v_min) / ((float)v_max - (float)v_min); // The zero point in parametric space. There's an argument we should take the logarithmic nature into account when calculating this, but for now this should do (and the most common case of a symmetrical range works fine) + float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; + float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; + if (v == 0.0f) + result = zero_point_center; // Special case for exactly zero + else if (v < 0.0f) + result = (1.0f - (float)(ImLog(-(FLOATTYPE)v_clamped / logarithmic_zero_epsilon) / ImLog(-v_min_fudged / logarithmic_zero_epsilon))) * zero_point_snap_L; + else + result = zero_point_snap_R + ((float)(ImLog((FLOATTYPE)v_clamped / logarithmic_zero_epsilon) / ImLog(v_max_fudged / logarithmic_zero_epsilon)) * (1.0f - zero_point_snap_R)); + } + else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider + result = 1.0f - (float)(ImLog(-(FLOATTYPE)v_clamped / -v_max_fudged) / ImLog(-v_min_fudged / -v_max_fudged)); + else + result = (float)(ImLog((FLOATTYPE)v_clamped / v_min_fudged) / ImLog(v_max_fudged / v_min_fudged)); + + return flipped ? (1.0f - result) : result; + } + else + { + // Linear slider + return (float)((FLOATTYPE)(SIGNEDTYPE)(v_clamped - v_min) / (FLOATTYPE)(SIGNEDTYPE)(v_max - v_min)); + } +} + +// Convert a parametric position on a slider into a value v in the output space (the logical opposite of ScaleRatioFromValueT) +template +TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) +{ + // We special-case the extents because otherwise our logarithmic fudging can lead to "mathematically correct" + // but non-intuitive behaviors like a fully-left slider not actually reaching the minimum value. Also generally simpler. + if (t <= 0.0f || v_min == v_max) + return v_min; + if (t >= 1.0f) + return v_max; + + TYPE result = (TYPE)0; + if (is_logarithmic) + { + // Fudge min/max to avoid getting silly results close to zero + FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; + FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; + + const bool flipped = v_max < v_min; // Check if range is "backwards" + if (flipped) + ImSwap(v_min_fudged, v_max_fudged); + + // Awkward special case - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) + if ((v_max == 0.0f) && (v_min < 0.0f)) + v_max_fudged = -logarithmic_zero_epsilon; + + float t_with_flip = flipped ? (1.0f - t) : t; // t, but flipped if necessary to account for us flipping the range + + if ((v_min * v_max) < 0.0f) // Range crosses zero, so we have to do this in two parts + { + float zero_point_center = (-(float)ImMin(v_min, v_max)) / ImAbs((float)v_max - (float)v_min); // The zero point in parametric space + float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; + float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; + if (t_with_flip >= zero_point_snap_L && t_with_flip <= zero_point_snap_R) + result = (TYPE)0.0f; // Special case to make getting exactly zero possible (the epsilon prevents it otherwise) + else if (t_with_flip < zero_point_center) + result = (TYPE)-(logarithmic_zero_epsilon * ImPow(-v_min_fudged / logarithmic_zero_epsilon, (FLOATTYPE)(1.0f - (t_with_flip / zero_point_snap_L)))); + else + result = (TYPE)(logarithmic_zero_epsilon * ImPow(v_max_fudged / logarithmic_zero_epsilon, (FLOATTYPE)((t_with_flip - zero_point_snap_R) / (1.0f - zero_point_snap_R)))); + } + else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider + result = (TYPE)-(-v_max_fudged * ImPow(-v_min_fudged / -v_max_fudged, (FLOATTYPE)(1.0f - t_with_flip))); + else + result = (TYPE)(v_min_fudged * ImPow(v_max_fudged / v_min_fudged, (FLOATTYPE)t_with_flip)); + } + else + { + // Linear slider + const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + if (is_floating_point) + { + result = ImLerp(v_min, v_max, t); + } + else if (t < 1.0) + { + // - For integer values we want the clicking position to match the grab box so we round above + // This code is carefully tuned to work with large values (e.g. high ranges of U64) while preserving this property.. + // - Not doing a *1.0 multiply at the end of a range as it tends to be lossy. While absolute aiming at a large s64/u64 + // range is going to be imprecise anyway, with this check we at least make the edge values matches expected limits. + FLOATTYPE v_new_off_f = (SIGNEDTYPE)(v_max - v_min) * t; + result = (TYPE)((SIGNEDTYPE)v_min + (SIGNEDTYPE)(v_new_off_f + (FLOATTYPE)(v_min > v_max ? -0.5 : 0.5))); + } + } + + return result; +} + +// FIXME: Try to move more of the code into shared SliderBehavior() +template +bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, TYPE* v, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb) +{ + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + + const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; + const bool is_logarithmic = (flags & ImGuiSliderFlags_Logarithmic) != 0; + const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + const float v_range_f = (float)(v_min < v_max ? v_max - v_min : v_min - v_max); // We don't need high precision for what we do with it. + + // Calculate bounds + const float grab_padding = 2.0f; // FIXME: Should be part of style. + const float slider_sz = (bb.Max[axis] - bb.Min[axis]) - grab_padding * 2.0f; + float grab_sz = style.GrabMinSize; + if (!is_floating_point && v_range_f >= 0.0f) // v_range_f < 0 may happen on integer overflows + grab_sz = ImMax(slider_sz / (v_range_f + 1), style.GrabMinSize); // For integer sliders: if possible have the grab size represent 1 unit + grab_sz = ImMin(grab_sz, slider_sz); + const float slider_usable_sz = slider_sz - grab_sz; + const float slider_usable_pos_min = bb.Min[axis] + grab_padding + grab_sz * 0.5f; + const float slider_usable_pos_max = bb.Max[axis] - grab_padding - grab_sz * 0.5f; + + float logarithmic_zero_epsilon = 0.0f; // Only valid when is_logarithmic is true + float zero_deadzone_halfsize = 0.0f; // Only valid when is_logarithmic is true + if (is_logarithmic) + { + // When using logarithmic sliders, we need to clamp to avoid hitting zero, but our choice of clamp value greatly affects slider precision. We attempt to use the specified precision to estimate a good lower bound. + const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 1; + logarithmic_zero_epsilon = ImPow(0.1f, (float)decimal_precision); + zero_deadzone_halfsize = (style.LogSliderDeadzone * 0.5f) / ImMax(slider_usable_sz, 1.0f); + } + + // Process interacting with the slider + bool value_changed = false; + if (g.ActiveId == id) + { + bool set_new_value = false; + float clicked_t = 0.0f; + if (g.ActiveIdSource == ImGuiInputSource_Mouse) + { + if (!g.IO.MouseDown[0]) + { + ClearActiveID(); + } + else + { + const float mouse_abs_pos = g.IO.MousePos[axis]; + if (g.ActiveIdIsJustActivated) + { + float grab_t = ScaleRatioFromValueT(data_type, *v, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + if (axis == ImGuiAxis_Y) + grab_t = 1.0f - grab_t; + const float grab_pos = ImLerp(slider_usable_pos_min, slider_usable_pos_max, grab_t); + const bool clicked_around_grab = (mouse_abs_pos >= grab_pos - grab_sz * 0.5f - 1.0f) && (mouse_abs_pos <= grab_pos + grab_sz * 0.5f + 1.0f); // No harm being extra generous here. + g.SliderGrabClickOffset = (clicked_around_grab && is_floating_point) ? mouse_abs_pos - grab_pos : 0.0f; + } + if (slider_usable_sz > 0.0f) + clicked_t = ImSaturate((mouse_abs_pos - g.SliderGrabClickOffset - slider_usable_pos_min) / slider_usable_sz); + if (axis == ImGuiAxis_Y) + clicked_t = 1.0f - clicked_t; + set_new_value = true; + } + } + else if (g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad) + { + if (g.ActiveIdIsJustActivated) + { + g.SliderCurrentAccum = 0.0f; // Reset any stored nav delta upon activation + g.SliderCurrentAccumDirty = false; + } + + float input_delta = (axis == ImGuiAxis_X) ? GetNavTweakPressedAmount(axis) : -GetNavTweakPressedAmount(axis); + if (input_delta != 0.0f) + { + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); + const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; + if (decimal_precision > 0) + { + input_delta /= 100.0f; // Keyboard/Gamepad tweak speeds in % of slider bounds + if (tweak_slow) + input_delta /= 10.0f; + } + else + { + if ((v_range_f >= -100.0f && v_range_f <= 100.0f && v_range_f != 0.0f) || tweak_slow) + input_delta = ((input_delta < 0.0f) ? -1.0f : +1.0f) / v_range_f; // Keyboard/Gamepad tweak speeds in integer steps + else + input_delta /= 100.0f; + } + if (tweak_fast) + input_delta *= 10.0f; + + g.SliderCurrentAccum += input_delta; + g.SliderCurrentAccumDirty = true; + } + + float delta = g.SliderCurrentAccum; + if (g.NavActivatePressedId == id && !g.ActiveIdIsJustActivated) + { + ClearActiveID(); + } + else if (g.SliderCurrentAccumDirty) + { + clicked_t = ScaleRatioFromValueT(data_type, *v, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + + if ((clicked_t >= 1.0f && delta > 0.0f) || (clicked_t <= 0.0f && delta < 0.0f)) // This is to avoid applying the saturation when already past the limits + { + set_new_value = false; + g.SliderCurrentAccum = 0.0f; // If pushing up against the limits, don't continue to accumulate + } + else + { + set_new_value = true; + float old_clicked_t = clicked_t; + clicked_t = ImSaturate(clicked_t + delta); + + // Calculate what our "new" clicked_t will be, and thus how far we actually moved the slider, and subtract this from the accumulator + TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); + float new_clicked_t = ScaleRatioFromValueT(data_type, v_new, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + + if (delta > 0) + g.SliderCurrentAccum -= ImMin(new_clicked_t - old_clicked_t, delta); + else + g.SliderCurrentAccum -= ImMax(new_clicked_t - old_clicked_t, delta); + } + + g.SliderCurrentAccumDirty = false; + } + } + + if (set_new_value) + if ((g.LastItemData.ItemFlags & ImGuiItemFlags_ReadOnly) || (flags & ImGuiSliderFlags_ReadOnly)) + set_new_value = false; + + if (set_new_value) + { + TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + + // Round to user desired precision based on format string + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); + + // Apply result + if (*v != v_new) + { + *v = v_new; + value_changed = true; + } + } + } + + if (slider_sz < 1.0f) + { + *out_grab_bb = ImRect(bb.Min, bb.Min); + } + else + { + // Output grab position so it can be displayed by the caller + float grab_t = ScaleRatioFromValueT(data_type, *v, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + if (axis == ImGuiAxis_Y) + grab_t = 1.0f - grab_t; + const float grab_pos = ImLerp(slider_usable_pos_min, slider_usable_pos_max, grab_t); + if (axis == ImGuiAxis_X) + *out_grab_bb = ImRect(grab_pos - grab_sz * 0.5f, bb.Min.y + grab_padding, grab_pos + grab_sz * 0.5f, bb.Max.y - grab_padding); + else + *out_grab_bb = ImRect(bb.Min.x + grab_padding, grab_pos - grab_sz * 0.5f, bb.Max.x - grab_padding, grab_pos + grab_sz * 0.5f); + } + + return value_changed; +} + +// For 32-bit and larger types, slider bounds are limited to half the natural type range. +// So e.g. an integer Slider between INT_MAX-10 and INT_MAX will fail, but an integer Slider between INT_MAX/2-10 and INT_MAX/2 will be ok. +// It would be possible to lift that limitation with some work but it doesn't seem to be worth it for sliders. +bool ImGui::SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb) +{ + // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. + IM_ASSERT((flags == 1 || (flags & ImGuiSliderFlags_InvalidMask_) == 0) && "Invalid ImGuiSliderFlags flags! Has the legacy 'float power' argument been mistakenly cast to flags? Call function with ImGuiSliderFlags_Logarithmic flags instead."); + IM_ASSERT((flags & ImGuiSliderFlags_WrapAround) == 0); // Not supported by SliderXXX(), only by DragXXX() + + switch (data_type) + { + case ImGuiDataType_S8: { ImS32 v32 = (ImS32)*(ImS8*)p_v; bool r = SliderBehaviorT(bb, id, ImGuiDataType_S32, &v32, *(const ImS8*)p_min, *(const ImS8*)p_max, format, flags, out_grab_bb); if (r) *(ImS8*)p_v = (ImS8)v32; return r; } + case ImGuiDataType_U8: { ImU32 v32 = (ImU32)*(ImU8*)p_v; bool r = SliderBehaviorT(bb, id, ImGuiDataType_U32, &v32, *(const ImU8*)p_min, *(const ImU8*)p_max, format, flags, out_grab_bb); if (r) *(ImU8*)p_v = (ImU8)v32; return r; } + case ImGuiDataType_S16: { ImS32 v32 = (ImS32)*(ImS16*)p_v; bool r = SliderBehaviorT(bb, id, ImGuiDataType_S32, &v32, *(const ImS16*)p_min, *(const ImS16*)p_max, format, flags, out_grab_bb); if (r) *(ImS16*)p_v = (ImS16)v32; return r; } + case ImGuiDataType_U16: { ImU32 v32 = (ImU32)*(ImU16*)p_v; bool r = SliderBehaviorT(bb, id, ImGuiDataType_U32, &v32, *(const ImU16*)p_min, *(const ImU16*)p_max, format, flags, out_grab_bb); if (r) *(ImU16*)p_v = (ImU16)v32; return r; } + case ImGuiDataType_S32: + IM_ASSERT(*(const ImS32*)p_min >= IM_S32_MIN / 2 && *(const ImS32*)p_max <= IM_S32_MAX / 2); + return SliderBehaviorT(bb, id, data_type, (ImS32*)p_v, *(const ImS32*)p_min, *(const ImS32*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_U32: + IM_ASSERT(*(const ImU32*)p_max <= IM_U32_MAX / 2); + return SliderBehaviorT(bb, id, data_type, (ImU32*)p_v, *(const ImU32*)p_min, *(const ImU32*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_S64: + IM_ASSERT(*(const ImS64*)p_min >= IM_S64_MIN / 2 && *(const ImS64*)p_max <= IM_S64_MAX / 2); + return SliderBehaviorT(bb, id, data_type, (ImS64*)p_v, *(const ImS64*)p_min, *(const ImS64*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_U64: + IM_ASSERT(*(const ImU64*)p_max <= IM_U64_MAX / 2); + return SliderBehaviorT(bb, id, data_type, (ImU64*)p_v, *(const ImU64*)p_min, *(const ImU64*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_Float: + IM_ASSERT(*(const float*)p_min >= -FLT_MAX / 2.0f && *(const float*)p_max <= FLT_MAX / 2.0f); + return SliderBehaviorT(bb, id, data_type, (float*)p_v, *(const float*)p_min, *(const float*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_Double: + IM_ASSERT(*(const double*)p_min >= -DBL_MAX / 2.0f && *(const double*)p_max <= DBL_MAX / 2.0f); + return SliderBehaviorT(bb, id, data_type, (double*)p_v, *(const double*)p_min, *(const double*)p_max, format, flags, out_grab_bb); + case ImGuiDataType_COUNT: break; + } + IM_ASSERT(0); + return false; +} + +// Note: p_data, p_min and p_max are _pointers_ to a memory address holding the data. For a slider, they are all required. +// Read code of e.g. SliderFloat(), SliderInt() etc. or examples in 'Demo->Widgets->Data Types' to understand how to use this function directly. +bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + const float w = CalcItemWidth(); + + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y * 2.0f)); + const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); + + const bool temp_input_allowed = (flags & ImGuiSliderFlags_NoInput) == 0; + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id, &frame_bb, temp_input_allowed ? ImGuiItemFlags_Inputable : 0)) + return false; + + // Default format string when passing NULL + if (format == NULL) + format = DataTypeGetInfo(data_type)->PrintFmt; + + const bool hovered = ItemHoverable(frame_bb, id, g.LastItemData.ItemFlags); + bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); + if (!temp_input_is_active) + { + // Tabbing or CTRL-clicking on Slider turns it into an input box + const bool clicked = hovered && IsMouseClicked(0, ImGuiInputFlags_None, id); + const bool make_active = (clicked || g.NavActivateId == id); + if (make_active && clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if ((clicked && g.IO.KeyCtrl) || (g.NavActivateId == id && (g.NavActivateFlags & ImGuiActivateFlags_PreferInput))) + temp_input_is_active = true; + + // Store initial value (not used by main lib but available as a convenience but some mods e.g. to revert) + if (make_active) + memcpy(&g.ActiveIdValueOnActivation, p_data, DataTypeGetInfo(data_type)->Size); + + if (make_active && !temp_input_is_active) + { + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); + } + } + + if (temp_input_is_active) + { + // Only clamp CTRL+Click input when ImGuiSliderFlags_ClampOnInput is set (generally via ImGuiSliderFlags_AlwaysClamp) + const bool clamp_enabled = (flags & ImGuiSliderFlags_ClampOnInput) != 0; + return TempInputScalar(frame_bb, id, label, data_type, p_data, format, clamp_enabled ? p_min : NULL, clamp_enabled ? p_max : NULL); + } + + // Draw frame + const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); + RenderNavCursor(frame_bb, id); + RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, g.Style.FrameRounding); + + // Slider behavior + ImRect grab_bb; + const bool value_changed = SliderBehavior(frame_bb, id, data_type, p_data, p_min, p_max, format, flags, &grab_bb); + if (value_changed) + MarkItemEdited(id); + + // Render grab + if (grab_bb.Max.x > grab_bb.Min.x) + window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_SliderGrabActive : ImGuiCol_SliderGrab), style.GrabRounding); + + // Display value using user-provided display format so user can add prefix/suffix/decorations to the value. + char value_buf[64]; + const char* value_buf_end = value_buf + DataTypeFormatString(value_buf, IM_ARRAYSIZE(value_buf), data_type, p_data, format); + if (g.LogEnabled) + LogSetNextTextDecoration("{", "}"); + RenderTextClipped(frame_bb.Min, frame_bb.Max, value_buf, value_buf_end, NULL, ImVec2(0.5f, 0.5f)); + + if (label_size.x > 0.0f) + RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | (temp_input_allowed ? ImGuiItemStatusFlags_Inputable : 0)); + return value_changed; +} + +// Add multiple sliders on 1 line for compact edition of multiple components +bool ImGui::SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* v_min, const void* v_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + bool value_changed = false; + BeginGroup(); + PushID(label); + PushMultiItemsWidths(components, CalcItemWidth()); + size_t type_size = GDataTypeInfo[data_type].Size; + for (int i = 0; i < components; i++) + { + PushID(i); + if (i > 0) + SameLine(0, g.Style.ItemInnerSpacing.x); + value_changed |= SliderScalar("", data_type, v, v_min, v_max, format, flags); + PopID(); + PopItemWidth(); + v = (void*)((char*)v + type_size); + } + PopID(); + + const char* label_end = FindRenderedTextEnd(label); + if (label != label_end) + { + SameLine(0, g.Style.ItemInnerSpacing.x); + TextEx(label, label_end); + } + + EndGroup(); + return value_changed; +} + +bool ImGui::SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderAngle(const char* label, float* v_rad, float v_degrees_min, float v_degrees_max, const char* format, ImGuiSliderFlags flags) +{ + if (format == NULL) + format = "%.0f deg"; + float v_deg = (*v_rad) * 360.0f / (2 * IM_PI); + bool value_changed = SliderFloat(label, &v_deg, v_degrees_min, v_degrees_max, format, flags); + if (value_changed) + *v_rad = v_deg * (2 * IM_PI) / 360.0f; + return value_changed; +} + +bool ImGui::SliderInt(const char* label, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalar(label, ImGuiDataType_S32, v, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderInt2(const char* label, int v[2], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_S32, v, 2, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderInt3(const char* label, int v[3], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_S32, v, 3, &v_min, &v_max, format, flags); +} + +bool ImGui::SliderInt4(const char* label, int v[4], int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return SliderScalarN(label, ImGuiDataType_S32, v, 4, &v_min, &v_max, format, flags); +} + +bool ImGui::VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + size); + const ImRect bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); + + ItemSize(bb, style.FramePadding.y); + if (!ItemAdd(frame_bb, id)) + return false; + + // Default format string when passing NULL + if (format == NULL) + format = DataTypeGetInfo(data_type)->PrintFmt; + + const bool hovered = ItemHoverable(frame_bb, id, g.LastItemData.ItemFlags); + const bool clicked = hovered && IsMouseClicked(0, ImGuiInputFlags_None, id); + if (clicked || g.NavActivateId == id) + { + if (clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Up) | (1 << ImGuiDir_Down); + } + + // Draw frame + const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); + RenderNavCursor(frame_bb, id); + RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, g.Style.FrameRounding); + + // Slider behavior + ImRect grab_bb; + const bool value_changed = SliderBehavior(frame_bb, id, data_type, p_data, p_min, p_max, format, flags | ImGuiSliderFlags_Vertical, &grab_bb); + if (value_changed) + MarkItemEdited(id); + + // Render grab + if (grab_bb.Max.y > grab_bb.Min.y) + window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_SliderGrabActive : ImGuiCol_SliderGrab), style.GrabRounding); + + // Display value using user-provided display format so user can add prefix/suffix/decorations to the value. + // For the vertical slider we allow centered text to overlap the frame padding + char value_buf[64]; + const char* value_buf_end = value_buf + DataTypeFormatString(value_buf, IM_ARRAYSIZE(value_buf), data_type, p_data, format); + RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, value_buf, value_buf_end, NULL, ImVec2(0.5f, 0.0f)); + if (label_size.x > 0.0f) + RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); + + return value_changed; +} + +bool ImGui::VSliderFloat(const char* label, const ImVec2& size, float* v, float v_min, float v_max, const char* format, ImGuiSliderFlags flags) +{ + return VSliderScalar(label, size, ImGuiDataType_Float, v, &v_min, &v_max, format, flags); +} + +bool ImGui::VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, int v_max, const char* format, ImGuiSliderFlags flags) +{ + return VSliderScalar(label, size, ImGuiDataType_S32, v, &v_min, &v_max, format, flags); +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: InputScalar, InputFloat, InputInt, etc. +//------------------------------------------------------------------------- +// - ImParseFormatFindStart() [Internal] +// - ImParseFormatFindEnd() [Internal] +// - ImParseFormatTrimDecorations() [Internal] +// - ImParseFormatSanitizeForPrinting() [Internal] +// - ImParseFormatSanitizeForScanning() [Internal] +// - ImParseFormatPrecision() [Internal] +// - TempInputTextScalar() [Internal] +// - InputScalar() +// - InputScalarN() +// - InputFloat() +// - InputFloat2() +// - InputFloat3() +// - InputFloat4() +// - InputInt() +// - InputInt2() +// - InputInt3() +// - InputInt4() +// - InputDouble() +//------------------------------------------------------------------------- + +// We don't use strchr() because our strings are usually very short and often start with '%' +const char* ImParseFormatFindStart(const char* fmt) +{ + while (char c = fmt[0]) + { + if (c == '%' && fmt[1] != '%') + return fmt; + else if (c == '%') + fmt++; + fmt++; + } + return fmt; +} + +const char* ImParseFormatFindEnd(const char* fmt) +{ + // Printf/scanf types modifiers: I/L/h/j/l/t/w/z. Other uppercase letters qualify as types aka end of the format. + if (fmt[0] != '%') + return fmt; + const unsigned int ignored_uppercase_mask = (1 << ('I'-'A')) | (1 << ('L'-'A')); + const unsigned int ignored_lowercase_mask = (1 << ('h'-'a')) | (1 << ('j'-'a')) | (1 << ('l'-'a')) | (1 << ('t'-'a')) | (1 << ('w'-'a')) | (1 << ('z'-'a')); + for (char c; (c = *fmt) != 0; fmt++) + { + if (c >= 'A' && c <= 'Z' && ((1 << (c - 'A')) & ignored_uppercase_mask) == 0) + return fmt + 1; + if (c >= 'a' && c <= 'z' && ((1 << (c - 'a')) & ignored_lowercase_mask) == 0) + return fmt + 1; + } + return fmt; +} + +// Extract the format out of a format string with leading or trailing decorations +// fmt = "blah blah" -> return "" +// fmt = "%.3f" -> return fmt +// fmt = "hello %.3f" -> return fmt + 6 +// fmt = "%.3f hello" -> return buf written with "%.3f" +const char* ImParseFormatTrimDecorations(const char* fmt, char* buf, size_t buf_size) +{ + const char* fmt_start = ImParseFormatFindStart(fmt); + if (fmt_start[0] != '%') + return ""; + const char* fmt_end = ImParseFormatFindEnd(fmt_start); + if (fmt_end[0] == 0) // If we only have leading decoration, we don't need to copy the data. + return fmt_start; + ImStrncpy(buf, fmt_start, ImMin((size_t)(fmt_end - fmt_start) + 1, buf_size)); + return buf; +} + +// Sanitize format +// - Zero terminate so extra characters after format (e.g. "%f123") don't confuse atof/atoi +// - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. +void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate +} + +// - For scanning we need to remove all width and precision fields and flags "%+3.7f" -> "%f". BUT don't strip types like "%I64d" which includes digits. ! "%07I64d" -> "%I64d" +const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + const char* fmt_out_begin = fmt_out; + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + bool has_type = false; + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (!has_type && ((c >= '0' && c <= '9') || c == '.' || c == '+' || c == '#')) + continue; + has_type |= ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')); // Stop skipping digits + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate + return fmt_out_begin; +} + +template +static const char* ImAtoi(const char* src, TYPE* output) +{ + int negative = 0; + if (*src == '-') { negative = 1; src++; } + if (*src == '+') { src++; } + TYPE v = 0; + while (*src >= '0' && *src <= '9') + v = (v * 10) + (*src++ - '0'); + *output = negative ? -v : v; + return src; +} + +// Parse display precision back from the display format string +// FIXME: This is still used by some navigation code path to infer a minimum tweak step, but we should aim to rework widgets so it isn't needed. +int ImParseFormatPrecision(const char* fmt, int default_precision) +{ + fmt = ImParseFormatFindStart(fmt); + if (fmt[0] != '%') + return default_precision; + fmt++; + while (*fmt >= '0' && *fmt <= '9') + fmt++; + int precision = INT_MAX; + if (*fmt == '.') + { + fmt = ImAtoi(fmt + 1, &precision); + if (precision < 0 || precision > 99) + precision = default_precision; + } + if (*fmt == 'e' || *fmt == 'E') // Maximum precision with scientific notation + precision = -1; + if ((*fmt == 'g' || *fmt == 'G') && precision == INT_MAX) + precision = -1; + return (precision == INT_MAX) ? default_precision : precision; +} + +// Create text input in place of another active widget (e.g. used when doing a CTRL+Click on drag/slider widgets) +// FIXME: Facilitate using this in variety of other situations. +// FIXME: Among other things, setting ImGuiItemFlags_AllowDuplicateId in LastItemData is currently correct but +// the expected relationship between TempInputXXX functions and LastItemData is a little fishy. +bool ImGui::TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags) +{ + // On the first frame, g.TempInputTextId == 0, then on subsequent frames it becomes == id. + // We clear ActiveID on the first frame to allow the InputText() taking it back. + ImGuiContext& g = *GImGui; + const bool init = (g.TempInputId != id); + if (init) + ClearActiveID(); + + g.CurrentWindow->DC.CursorPos = bb.Min; + g.LastItemData.ItemFlags |= ImGuiItemFlags_AllowDuplicateId; + bool value_changed = InputTextEx(label, NULL, buf, buf_size, bb.GetSize(), flags | ImGuiInputTextFlags_MergedItem); + if (init) + { + // First frame we started displaying the InputText widget, we expect it to take the active id. + IM_ASSERT(g.ActiveId == id); + g.TempInputId = g.ActiveId; + } + return value_changed; +} + +// Note that Drag/Slider functions are only forwarding the min/max values clamping values if the ImGuiSliderFlags_AlwaysClamp flag is set! +// This is intended: this way we allow CTRL+Click manual input to set a value out of bounds, for maximum flexibility. +// However this may not be ideal for all uses, as some user code may break on out of bound values. +bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min, const void* p_clamp_max) +{ + // FIXME: May need to clarify display behavior if format doesn't contain %. + // "%d" -> "%d" / "There are %d items" -> "%d" / "items" -> "%d" (fallback). Also see #6405 + ImGuiContext& g = *GImGui; + const ImGuiDataTypeInfo* type_info = DataTypeGetInfo(data_type); + char fmt_buf[32]; + char data_buf[32]; + format = ImParseFormatTrimDecorations(format, fmt_buf, IM_ARRAYSIZE(fmt_buf)); + if (format[0] == 0) + format = type_info->PrintFmt; + DataTypeFormatString(data_buf, IM_ARRAYSIZE(data_buf), data_type, p_data, format); + ImStrTrimBlanks(data_buf); + + ImGuiInputTextFlags flags = ImGuiInputTextFlags_AutoSelectAll | (ImGuiInputTextFlags)ImGuiInputTextFlags_LocalizeDecimalPoint; + g.LastItemData.ItemFlags |= ImGuiItemFlags_NoMarkEdited; // Because TempInputText() uses ImGuiInputTextFlags_MergedItem it doesn't submit a new item, so we poke LastItemData. + bool value_changed = false; + if (TempInputText(bb, id, label, data_buf, IM_ARRAYSIZE(data_buf), flags)) + { + // Backup old value + size_t data_type_size = type_info->Size; + ImGuiDataTypeStorage data_backup; + memcpy(&data_backup, p_data, data_type_size); + + // Apply new value (or operations) then clamp + DataTypeApplyFromText(data_buf, data_type, p_data, format, NULL); + if (p_clamp_min || p_clamp_max) + { + if (p_clamp_min && p_clamp_max && DataTypeCompare(data_type, p_clamp_min, p_clamp_max) > 0) + ImSwap(p_clamp_min, p_clamp_max); + DataTypeClamp(data_type, p_data, p_clamp_min, p_clamp_max); + } + + // Only mark as edited if new value is different + g.LastItemData.ItemFlags &= ~ImGuiItemFlags_NoMarkEdited; + value_changed = memcmp(&data_backup, p_data, data_type_size) != 0; + if (value_changed) + MarkItemEdited(id); + } + return value_changed; +} + +void ImGui::SetNextItemRefVal(ImGuiDataType data_type, void* p_data) +{ + ImGuiContext& g = *GImGui; + g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasRefVal; + memcpy(&g.NextItemData.RefVal, p_data, DataTypeGetInfo(data_type)->Size); +} + +// Note: p_data, p_step, p_step_fast are _pointers_ to a memory address holding the data. For an Input widget, p_step and p_step_fast are optional. +// Read code of e.g. InputFloat(), InputInt() etc. or examples in 'Demo->Widgets->Data Types' to understand how to use this function directly. +bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_step, const void* p_step_fast, const char* format, ImGuiInputTextFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + IM_ASSERT((flags & ImGuiInputTextFlags_EnterReturnsTrue) == 0); // Not supported by InputScalar(). Please open an issue if you this would be useful to you. Otherwise use IsItemDeactivatedAfterEdit()! + + if (format == NULL) + format = DataTypeGetInfo(data_type)->PrintFmt; + + void* p_data_default = (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasRefVal) ? &g.NextItemData.RefVal : &g.DataTypeZeroValue; + + char buf[64]; + if ((flags & ImGuiInputTextFlags_DisplayEmptyRefVal) && DataTypeCompare(data_type, p_data, p_data_default) == 0) + buf[0] = 0; + else + DataTypeFormatString(buf, IM_ARRAYSIZE(buf), data_type, p_data, format); + + // Disable the MarkItemEdited() call in InputText but keep ImGuiItemStatusFlags_Edited. + // We call MarkItemEdited() ourselves by comparing the actual data rather than the string. + g.NextItemData.ItemFlags |= ImGuiItemFlags_NoMarkEdited; + flags |= ImGuiInputTextFlags_AutoSelectAll | (ImGuiInputTextFlags)ImGuiInputTextFlags_LocalizeDecimalPoint; + + bool value_changed = false; + if (p_step == NULL) + { + if (InputText(label, buf, IM_ARRAYSIZE(buf), flags)) + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format, (flags & ImGuiInputTextFlags_ParseEmptyRefVal) ? p_data_default : NULL); + } + else + { + const float button_size = GetFrameHeight(); + + BeginGroup(); // The only purpose of the group here is to allow the caller to query item data e.g. IsItemActive() + PushID(label); + SetNextItemWidth(ImMax(1.0f, CalcItemWidth() - (button_size + style.ItemInnerSpacing.x) * 2)); + if (InputText("", buf, IM_ARRAYSIZE(buf), flags)) // PushId(label) + "" gives us the expected ID from outside point of view + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format, (flags & ImGuiInputTextFlags_ParseEmptyRefVal) ? p_data_default : NULL); + IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Inputable); + + // Step buttons + const ImVec2 backup_frame_padding = style.FramePadding; + style.FramePadding.x = style.FramePadding.y; + if (flags & ImGuiInputTextFlags_ReadOnly) + BeginDisabled(); + PushItemFlag(ImGuiItemFlags_ButtonRepeat, true); + SameLine(0, style.ItemInnerSpacing.x); + if (ButtonEx("-", ImVec2(button_size, button_size))) + { + DataTypeApplyOp(data_type, '-', p_data, p_data, g.IO.KeyCtrl && p_step_fast ? p_step_fast : p_step); + value_changed = true; + } + SameLine(0, style.ItemInnerSpacing.x); + if (ButtonEx("+", ImVec2(button_size, button_size))) + { + DataTypeApplyOp(data_type, '+', p_data, p_data, g.IO.KeyCtrl && p_step_fast ? p_step_fast : p_step); + value_changed = true; + } + PopItemFlag(); + if (flags & ImGuiInputTextFlags_ReadOnly) + EndDisabled(); + + const char* label_end = FindRenderedTextEnd(label); + if (label != label_end) + { + SameLine(0, style.ItemInnerSpacing.x); + TextEx(label, label_end); + } + style.FramePadding = backup_frame_padding; + + PopID(); + EndGroup(); + } + + g.LastItemData.ItemFlags &= ~ImGuiItemFlags_NoMarkEdited; + if (value_changed) + MarkItemEdited(g.LastItemData.ID); + + return value_changed; +} + +bool ImGui::InputScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_step, const void* p_step_fast, const char* format, ImGuiInputTextFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + bool value_changed = false; + BeginGroup(); + PushID(label); + PushMultiItemsWidths(components, CalcItemWidth()); + size_t type_size = GDataTypeInfo[data_type].Size; + for (int i = 0; i < components; i++) + { + PushID(i); + if (i > 0) + SameLine(0, g.Style.ItemInnerSpacing.x); + value_changed |= InputScalar("", data_type, p_data, p_step, p_step_fast, format, flags); + PopID(); + PopItemWidth(); + p_data = (void*)((char*)p_data + type_size); + } + PopID(); + + const char* label_end = FindRenderedTextEnd(label); + if (label != label_end) + { + SameLine(0.0f, g.Style.ItemInnerSpacing.x); + TextEx(label, label_end); + } + + EndGroup(); + return value_changed; +} + +bool ImGui::InputFloat(const char* label, float* v, float step, float step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return InputScalar(label, ImGuiDataType_Float, (void*)v, (void*)(step > 0.0f ? &step : NULL), (void*)(step_fast > 0.0f ? &step_fast : NULL), format, flags); +} + +bool ImGui::InputFloat2(const char* label, float v[2], const char* format, ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_Float, v, 2, NULL, NULL, format, flags); +} + +bool ImGui::InputFloat3(const char* label, float v[3], const char* format, ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_Float, v, 3, NULL, NULL, format, flags); +} + +bool ImGui::InputFloat4(const char* label, float v[4], const char* format, ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_Float, v, 4, NULL, NULL, format, flags); +} + +bool ImGui::InputInt(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags) +{ + // Hexadecimal input provided as a convenience but the flag name is awkward. Typically you'd use InputText() to parse your own data, if you want to handle prefixes. + const char* format = (flags & ImGuiInputTextFlags_CharsHexadecimal) ? "%08X" : "%d"; + return InputScalar(label, ImGuiDataType_S32, (void*)v, (void*)(step > 0 ? &step : NULL), (void*)(step_fast > 0 ? &step_fast : NULL), format, flags); +} + +bool ImGui::InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_S32, v, 2, NULL, NULL, "%d", flags); +} + +bool ImGui::InputInt3(const char* label, int v[3], ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_S32, v, 3, NULL, NULL, "%d", flags); +} + +bool ImGui::InputInt4(const char* label, int v[4], ImGuiInputTextFlags flags) +{ + return InputScalarN(label, ImGuiDataType_S32, v, 4, NULL, NULL, "%d", flags); +} + +bool ImGui::InputDouble(const char* label, double* v, double step, double step_fast, const char* format, ImGuiInputTextFlags flags) +{ + return InputScalar(label, ImGuiDataType_Double, (void*)v, (void*)(step > 0.0 ? &step : NULL), (void*)(step_fast > 0.0 ? &step_fast : NULL), format, flags); +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: InputText, InputTextMultiline, InputTextWithHint +//------------------------------------------------------------------------- +// - imstb_textedit.h include +// - InputText() +// - InputTextWithHint() +// - InputTextMultiline() +// - InputTextGetCharInfo() [Internal] +// - InputTextReindexLines() [Internal] +// - InputTextReindexLinesRange() [Internal] +// - InputTextEx() [Internal] +// - DebugNodeInputTextState() [Internal] +//------------------------------------------------------------------------- + +namespace ImStb +{ +#include "imstb_textedit.h" +} + +bool ImGui::InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) +{ + IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() + return InputTextEx(label, NULL, buf, (int)buf_size, ImVec2(0, 0), flags, callback, user_data); +} + +bool ImGui::InputTextMultiline(const char* label, char* buf, size_t buf_size, const ImVec2& size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) +{ + return InputTextEx(label, NULL, buf, (int)buf_size, size, flags | ImGuiInputTextFlags_Multiline, callback, user_data); +} + +bool ImGui::InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) +{ + IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() or InputTextEx() manually if you need multi-line + hint. + return InputTextEx(label, hint, buf, (int)buf_size, ImVec2(0, 0), flags, callback, user_data); +} + +// This is only used in the path where the multiline widget is inactivate. +static int InputTextCalcTextLenAndLineCount(const char* text_begin, const char** out_text_end) +{ + int line_count = 0; + const char* s = text_begin; + while (true) + { + const char* s_eol = strchr(s, '\n'); + line_count++; + if (s_eol == NULL) + { + s = s + strlen(s); + break; + } + s = s_eol + 1; + } + *out_text_end = s; + return line_count; +} + +// FIXME: Ideally we'd share code with ImFont::CalcTextSizeA() +static ImVec2 InputTextCalcTextSize(ImGuiContext* ctx, const char* text_begin, const char* text_end, const char** remaining, ImVec2* out_offset, bool stop_on_new_line) +{ + ImGuiContext& g = *ctx; + ImFont* font = g.Font; + const float line_height = g.FontSize; + const float scale = line_height / font->FontSize; + + ImVec2 text_size = ImVec2(0, 0); + float line_width = 0.0f; + + const char* s = text_begin; + while (s < text_end) + { + unsigned int c = (unsigned int)*s; + if (c < 0x80) + s += 1; + else + s += ImTextCharFromUtf8(&c, s, text_end); + + if (c == '\n') + { + text_size.x = ImMax(text_size.x, line_width); + text_size.y += line_height; + line_width = 0.0f; + if (stop_on_new_line) + break; + continue; + } + if (c == '\r') + continue; + + const float char_width = ((int)c < font->IndexAdvanceX.Size ? font->IndexAdvanceX.Data[c] : font->FallbackAdvanceX) * scale; + line_width += char_width; + } + + if (text_size.x < line_width) + text_size.x = line_width; + + if (out_offset) + *out_offset = ImVec2(line_width, text_size.y + line_height); // offset allow for the possibility of sitting after a trailing \n + + if (line_width > 0 || text_size.y == 0.0f) // whereas size.y will ignore the trailing \n + text_size.y += line_height; + + if (remaining) + *remaining = s; + + return text_size; +} + +// Wrapper for stb_textedit.h to edit text (our wrapper is for: statically sized buffer, single-line, wchar characters. InputText converts between UTF-8 and wchar) +// With our UTF-8 use of stb_textedit: +// - STB_TEXTEDIT_GETCHAR is nothing more than a a "GETBYTE". It's only used to compare to ascii or to copy blocks of text so we are fine. +// - One exception is the STB_TEXTEDIT_IS_SPACE feature which would expect a full char in order to handle full-width space such as 0x3000 (see ImCharIsBlankW). +// - ...but we don't use that feature. +namespace ImStb +{ +static int STB_TEXTEDIT_STRINGLEN(const ImGuiInputTextState* obj) { return obj->TextLen; } +static char STB_TEXTEDIT_GETCHAR(const ImGuiInputTextState* obj, int idx) { IM_ASSERT(idx <= obj->TextLen); return obj->TextSrc[idx]; } +static float STB_TEXTEDIT_GETWIDTH(ImGuiInputTextState* obj, int line_start_idx, int char_idx) { unsigned int c; ImTextCharFromUtf8(&c, obj->TextSrc + line_start_idx + char_idx, obj->TextSrc + obj->TextLen); if ((ImWchar)c == '\n') return IMSTB_TEXTEDIT_GETWIDTH_NEWLINE; ImGuiContext& g = *obj->Ctx; return g.Font->GetCharAdvance((ImWchar)c) * g.FontScale; } +static char STB_TEXTEDIT_NEWLINE = '\n'; +static void STB_TEXTEDIT_LAYOUTROW(StbTexteditRow* r, ImGuiInputTextState* obj, int line_start_idx) +{ + const char* text = obj->TextSrc; + const char* text_remaining = NULL; + const ImVec2 size = InputTextCalcTextSize(obj->Ctx, text + line_start_idx, text + obj->TextLen, &text_remaining, NULL, true); + r->x0 = 0.0f; + r->x1 = size.x; + r->baseline_y_delta = size.y; + r->ymin = 0.0f; + r->ymax = size.y; + r->num_chars = (int)(text_remaining - (text + line_start_idx)); +} + +#define IMSTB_TEXTEDIT_GETNEXTCHARINDEX IMSTB_TEXTEDIT_GETNEXTCHARINDEX_IMPL +#define IMSTB_TEXTEDIT_GETPREVCHARINDEX IMSTB_TEXTEDIT_GETPREVCHARINDEX_IMPL + +static int IMSTB_TEXTEDIT_GETNEXTCHARINDEX_IMPL(ImGuiInputTextState* obj, int idx) +{ + if (idx >= obj->TextLen) + return obj->TextLen + 1; + unsigned int c; + return idx + ImTextCharFromUtf8(&c, obj->TextSrc + idx, obj->TextSrc + obj->TextLen); +} + +static int IMSTB_TEXTEDIT_GETPREVCHARINDEX_IMPL(ImGuiInputTextState* obj, int idx) +{ + if (idx <= 0) + return -1; + const char* p = ImTextFindPreviousUtf8Codepoint(obj->TextSrc, obj->TextSrc + idx); + return (int)(p - obj->TextSrc); +} + +static bool ImCharIsSeparatorW(unsigned int c) +{ + static const unsigned int separator_list[] = + { + ',', 0x3001, '.', 0x3002, ';', 0xFF1B, '(', 0xFF08, ')', 0xFF09, '{', 0xFF5B, '}', 0xFF5D, + '[', 0x300C, ']', 0x300D, '|', 0xFF5C, '!', 0xFF01, '\\', 0xFFE5, '/', 0x30FB, 0xFF0F, + '\n', '\r', + }; + for (unsigned int separator : separator_list) + if (c == separator) + return true; + return false; +} + +static int is_word_boundary_from_right(ImGuiInputTextState* obj, int idx) +{ + // When ImGuiInputTextFlags_Password is set, we don't want actions such as CTRL+Arrow to leak the fact that underlying data are blanks or separators. + if ((obj->Flags & ImGuiInputTextFlags_Password) || idx <= 0) + return 0; + + const char* curr_p = obj->TextSrc + idx; + const char* prev_p = ImTextFindPreviousUtf8Codepoint(obj->TextSrc, curr_p); + unsigned int curr_c; ImTextCharFromUtf8(&curr_c, curr_p, obj->TextSrc + obj->TextLen); + unsigned int prev_c; ImTextCharFromUtf8(&prev_c, prev_p, obj->TextSrc + obj->TextLen); + + bool prev_white = ImCharIsBlankW(prev_c); + bool prev_separ = ImCharIsSeparatorW(prev_c); + bool curr_white = ImCharIsBlankW(curr_c); + bool curr_separ = ImCharIsSeparatorW(curr_c); + return ((prev_white || prev_separ) && !(curr_separ || curr_white)) || (curr_separ && !prev_separ); +} +static int is_word_boundary_from_left(ImGuiInputTextState* obj, int idx) +{ + if ((obj->Flags & ImGuiInputTextFlags_Password) || idx <= 0) + return 0; + + const char* curr_p = obj->TextSrc + idx; + const char* prev_p = ImTextFindPreviousUtf8Codepoint(obj->TextSrc, curr_p); + unsigned int prev_c; ImTextCharFromUtf8(&prev_c, curr_p, obj->TextSrc + obj->TextLen); + unsigned int curr_c; ImTextCharFromUtf8(&curr_c, prev_p, obj->TextSrc + obj->TextLen); + + bool prev_white = ImCharIsBlankW(prev_c); + bool prev_separ = ImCharIsSeparatorW(prev_c); + bool curr_white = ImCharIsBlankW(curr_c); + bool curr_separ = ImCharIsSeparatorW(curr_c); + return ((prev_white) && !(curr_separ || curr_white)) || (curr_separ && !prev_separ); +} +static int STB_TEXTEDIT_MOVEWORDLEFT_IMPL(ImGuiInputTextState* obj, int idx) +{ + idx = IMSTB_TEXTEDIT_GETPREVCHARINDEX(obj, idx); + while (idx >= 0 && !is_word_boundary_from_right(obj, idx)) + idx = IMSTB_TEXTEDIT_GETPREVCHARINDEX(obj, idx); + return idx < 0 ? 0 : idx; +} +static int STB_TEXTEDIT_MOVEWORDRIGHT_MAC(ImGuiInputTextState* obj, int idx) +{ + int len = obj->TextLen; + idx = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(obj, idx); + while (idx < len && !is_word_boundary_from_left(obj, idx)) + idx = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(obj, idx); + return idx > len ? len : idx; +} +static int STB_TEXTEDIT_MOVEWORDRIGHT_WIN(ImGuiInputTextState* obj, int idx) +{ + idx = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(obj, idx); + int len = obj->TextLen; + while (idx < len && !is_word_boundary_from_right(obj, idx)) + idx = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(obj, idx); + return idx > len ? len : idx; +} +static int STB_TEXTEDIT_MOVEWORDRIGHT_IMPL(ImGuiInputTextState* obj, int idx) { ImGuiContext& g = *obj->Ctx; if (g.IO.ConfigMacOSXBehaviors) return STB_TEXTEDIT_MOVEWORDRIGHT_MAC(obj, idx); else return STB_TEXTEDIT_MOVEWORDRIGHT_WIN(obj, idx); } +#define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL // They need to be #define for stb_textedit.h +#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL + +static void STB_TEXTEDIT_DELETECHARS(ImGuiInputTextState* obj, int pos, int n) +{ + // Offset remaining text (+ copy zero terminator) + IM_ASSERT(obj->TextSrc == obj->TextA.Data); + char* dst = obj->TextA.Data + pos; + char* src = obj->TextA.Data + pos + n; + memmove(dst, src, obj->TextLen - n - pos + 1); + obj->Edited = true; + obj->TextLen -= n; +} + +static bool STB_TEXTEDIT_INSERTCHARS(ImGuiInputTextState* obj, int pos, const char* new_text, int new_text_len) +{ + const bool is_resizable = (obj->Flags & ImGuiInputTextFlags_CallbackResize) != 0; + const int text_len = obj->TextLen; + IM_ASSERT(pos <= text_len); + + if (!is_resizable && (new_text_len + obj->TextLen + 1 > obj->BufCapacity)) + return false; + + // Grow internal buffer if needed + IM_ASSERT(obj->TextSrc == obj->TextA.Data); + if (new_text_len + text_len + 1 > obj->TextA.Size) + { + if (!is_resizable) + return false; + obj->TextA.resize(text_len + ImClamp(new_text_len, 32, ImMax(256, new_text_len)) + 1); + obj->TextSrc = obj->TextA.Data; + } + + char* text = obj->TextA.Data; + if (pos != text_len) + memmove(text + pos + new_text_len, text + pos, (size_t)(text_len - pos)); + memcpy(text + pos, new_text, (size_t)new_text_len); + + obj->Edited = true; + obj->TextLen += new_text_len; + obj->TextA[obj->TextLen] = '\0'; + + return true; +} + +// We don't use an enum so we can build even with conflicting symbols (if another user of stb_textedit.h leak their STB_TEXTEDIT_K_* symbols) +#define STB_TEXTEDIT_K_LEFT 0x200000 // keyboard input to move cursor left +#define STB_TEXTEDIT_K_RIGHT 0x200001 // keyboard input to move cursor right +#define STB_TEXTEDIT_K_UP 0x200002 // keyboard input to move cursor up +#define STB_TEXTEDIT_K_DOWN 0x200003 // keyboard input to move cursor down +#define STB_TEXTEDIT_K_LINESTART 0x200004 // keyboard input to move cursor to start of line +#define STB_TEXTEDIT_K_LINEEND 0x200005 // keyboard input to move cursor to end of line +#define STB_TEXTEDIT_K_TEXTSTART 0x200006 // keyboard input to move cursor to start of text +#define STB_TEXTEDIT_K_TEXTEND 0x200007 // keyboard input to move cursor to end of text +#define STB_TEXTEDIT_K_DELETE 0x200008 // keyboard input to delete selection or character under cursor +#define STB_TEXTEDIT_K_BACKSPACE 0x200009 // keyboard input to delete selection or character left of cursor +#define STB_TEXTEDIT_K_UNDO 0x20000A // keyboard input to perform undo +#define STB_TEXTEDIT_K_REDO 0x20000B // keyboard input to perform redo +#define STB_TEXTEDIT_K_WORDLEFT 0x20000C // keyboard input to move cursor left one word +#define STB_TEXTEDIT_K_WORDRIGHT 0x20000D // keyboard input to move cursor right one word +#define STB_TEXTEDIT_K_PGUP 0x20000E // keyboard input to move cursor up a page +#define STB_TEXTEDIT_K_PGDOWN 0x20000F // keyboard input to move cursor down a page +#define STB_TEXTEDIT_K_SHIFT 0x400000 + +#define IMSTB_TEXTEDIT_IMPLEMENTATION +#define IMSTB_TEXTEDIT_memmove memmove +#include "imstb_textedit.h" + +// stb_textedit internally allows for a single undo record to do addition and deletion, but somehow, calling +// the stb_textedit_paste() function creates two separate records, so we perform it manually. (FIXME: Report to nothings/stb?) +static void stb_textedit_replace(ImGuiInputTextState* str, STB_TexteditState* state, const IMSTB_TEXTEDIT_CHARTYPE* text, int text_len) +{ + stb_text_makeundo_replace(str, state, 0, str->TextLen, text_len); + ImStb::STB_TEXTEDIT_DELETECHARS(str, 0, str->TextLen); + state->cursor = state->select_start = state->select_end = 0; + if (text_len <= 0) + return; + if (ImStb::STB_TEXTEDIT_INSERTCHARS(str, 0, text, text_len)) + { + state->cursor = state->select_start = state->select_end = text_len; + state->has_preferred_x = 0; + return; + } + IM_ASSERT(0); // Failed to insert character, normally shouldn't happen because of how we currently use stb_textedit_replace() +} + +} // namespace ImStb + +// We added an extra indirection where 'Stb' is heap-allocated, in order facilitate the work of bindings generators. +ImGuiInputTextState::ImGuiInputTextState() +{ + memset(this, 0, sizeof(*this)); + Stb = IM_NEW(ImStbTexteditState); + memset(Stb, 0, sizeof(*Stb)); +} + +ImGuiInputTextState::~ImGuiInputTextState() +{ + IM_DELETE(Stb); +} + +void ImGuiInputTextState::OnKeyPressed(int key) +{ + stb_textedit_key(this, Stb, key); + CursorFollow = true; + CursorAnimReset(); +} + +void ImGuiInputTextState::OnCharPressed(unsigned int c) +{ + // Convert the key to a UTF8 byte sequence. + // The changes we had to make to stb_textedit_key made it very much UTF-8 specific which is not too great. + char utf8[5]; + ImTextCharToUtf8(utf8, c); + stb_textedit_text(this, Stb, utf8, (int)strlen(utf8)); + CursorFollow = true; + CursorAnimReset(); +} + +// Those functions are not inlined in imgui_internal.h, allowing us to hide ImStbTexteditState from that header. +void ImGuiInputTextState::CursorAnimReset() { CursorAnim = -0.30f; } // After a user-input the cursor stays on for a while without blinking +void ImGuiInputTextState::CursorClamp() { Stb->cursor = ImMin(Stb->cursor, TextLen); Stb->select_start = ImMin(Stb->select_start, TextLen); Stb->select_end = ImMin(Stb->select_end, TextLen); } +bool ImGuiInputTextState::HasSelection() const { return Stb->select_start != Stb->select_end; } +void ImGuiInputTextState::ClearSelection() { Stb->select_start = Stb->select_end = Stb->cursor; } +int ImGuiInputTextState::GetCursorPos() const { return Stb->cursor; } +int ImGuiInputTextState::GetSelectionStart() const { return Stb->select_start; } +int ImGuiInputTextState::GetSelectionEnd() const { return Stb->select_end; } +void ImGuiInputTextState::SelectAll() { Stb->select_start = 0; Stb->cursor = Stb->select_end = TextLen; Stb->has_preferred_x = 0; } +void ImGuiInputTextState::ReloadUserBufAndSelectAll() { WantReloadUserBuf = true; ReloadSelectionStart = 0; ReloadSelectionEnd = INT_MAX; } +void ImGuiInputTextState::ReloadUserBufAndKeepSelection() { WantReloadUserBuf = true; ReloadSelectionStart = Stb->select_start; ReloadSelectionEnd = Stb->select_end; } +void ImGuiInputTextState::ReloadUserBufAndMoveToEnd() { WantReloadUserBuf = true; ReloadSelectionStart = ReloadSelectionEnd = INT_MAX; } + +ImGuiInputTextCallbackData::ImGuiInputTextCallbackData() +{ + memset(this, 0, sizeof(*this)); +} + +// Public API to manipulate UTF-8 text from within a callback. +// FIXME: The existence of this rarely exercised code path is a bit of a nuisance. +// Historically they existed because STB_TEXTEDIT_INSERTCHARS() etc. worked on our ImWchar +// buffer, but nowadays they both work on UTF-8 data. Should aim to merge both. +void ImGuiInputTextCallbackData::DeleteChars(int pos, int bytes_count) +{ + IM_ASSERT(pos + bytes_count <= BufTextLen); + char* dst = Buf + pos; + const char* src = Buf + pos + bytes_count; + memmove(dst, src, BufTextLen - bytes_count - pos + 1); + + if (CursorPos >= pos + bytes_count) + CursorPos -= bytes_count; + else if (CursorPos >= pos) + CursorPos = pos; + SelectionStart = SelectionEnd = CursorPos; + BufDirty = true; + BufTextLen -= bytes_count; +} + +void ImGuiInputTextCallbackData::InsertChars(int pos, const char* new_text, const char* new_text_end) +{ + // Accept null ranges + if (new_text == new_text_end) + return; + + // Grow internal buffer if needed + const bool is_resizable = (Flags & ImGuiInputTextFlags_CallbackResize) != 0; + const int new_text_len = new_text_end ? (int)(new_text_end - new_text) : (int)strlen(new_text); + if (new_text_len + BufTextLen >= BufSize) + { + if (!is_resizable) + return; + + ImGuiContext& g = *Ctx; + ImGuiInputTextState* edit_state = &g.InputTextState; + IM_ASSERT(edit_state->ID != 0 && g.ActiveId == edit_state->ID); + IM_ASSERT(Buf == edit_state->TextA.Data); + int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; + edit_state->TextA.resize(new_buf_size + 1); + edit_state->TextSrc = edit_state->TextA.Data; + Buf = edit_state->TextA.Data; + BufSize = edit_state->BufCapacity = new_buf_size; + } + + if (BufTextLen != pos) + memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos)); + memcpy(Buf + pos, new_text, (size_t)new_text_len * sizeof(char)); + Buf[BufTextLen + new_text_len] = '\0'; + + if (CursorPos >= pos) + CursorPos += new_text_len; + SelectionStart = SelectionEnd = CursorPos; + BufDirty = true; + BufTextLen += new_text_len; +} + +void ImGui::PushPasswordFont() +{ + ImGuiContext& g = *GImGui; + ImFont* in_font = g.Font; + ImFont* out_font = &g.InputTextPasswordFont; + ImFontGlyph* glyph = in_font->FindGlyph('*'); + out_font->FontSize = in_font->FontSize; + out_font->Scale = in_font->Scale; + out_font->Ascent = in_font->Ascent; + out_font->Descent = in_font->Descent; + out_font->ContainerAtlas = in_font->ContainerAtlas; + out_font->FallbackGlyph = glyph; + out_font->FallbackAdvanceX = glyph->AdvanceX; + IM_ASSERT(out_font->Glyphs.Size == 0 && out_font->IndexAdvanceX.Size == 0 && out_font->IndexLookup.Size == 0); + PushFont(out_font); +} + +// Return false to discard a character. +static bool InputTextFilterCharacter(ImGuiContext* ctx, unsigned int* p_char, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data, bool input_source_is_clipboard) +{ + unsigned int c = *p_char; + + // Filter non-printable (NB: isprint is unreliable! see #2467) + bool apply_named_filters = true; + if (c < 0x20) + { + bool pass = false; + pass |= (c == '\n') && (flags & ImGuiInputTextFlags_Multiline) != 0; // Note that an Enter KEY will emit \r and be ignored (we poll for KEY in InputText() code) + pass |= (c == '\t') && (flags & ImGuiInputTextFlags_AllowTabInput) != 0; + if (!pass) + return false; + apply_named_filters = false; // Override named filters below so newline and tabs can still be inserted. + } + + if (input_source_is_clipboard == false) + { + // We ignore Ascii representation of delete (emitted from Backspace on OSX, see #2578, #2817) + if (c == 127) + return false; + + // Filter private Unicode range. GLFW on OSX seems to send private characters for special keys like arrow keys (FIXME) + if (c >= 0xE000 && c <= 0xF8FF) + return false; + } + + // Filter Unicode ranges we are not handling in this build + if (c > IM_UNICODE_CODEPOINT_MAX) + return false; + + // Generic named filters + if (apply_named_filters && (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase | ImGuiInputTextFlags_CharsNoBlank | ImGuiInputTextFlags_CharsScientific | (ImGuiInputTextFlags)ImGuiInputTextFlags_LocalizeDecimalPoint))) + { + // The libc allows overriding locale, with e.g. 'setlocale(LC_NUMERIC, "de_DE.UTF-8");' which affect the output/input of printf/scanf to use e.g. ',' instead of '.'. + // The standard mandate that programs starts in the "C" locale where the decimal point is '.'. + // We don't really intend to provide widespread support for it, but out of empathy for people stuck with using odd API, we support the bare minimum aka overriding the decimal point. + // Change the default decimal_point with: + // ImGui::GetPlatformIO()->Platform_LocaleDecimalPoint = *localeconv()->decimal_point; + // Users of non-default decimal point (in particular ',') may be affected by word-selection logic (is_word_boundary_from_right/is_word_boundary_from_left) functions. + ImGuiContext& g = *ctx; + const unsigned c_decimal_point = (unsigned int)g.PlatformIO.Platform_LocaleDecimalPoint; + if (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsScientific | (ImGuiInputTextFlags)ImGuiInputTextFlags_LocalizeDecimalPoint)) + if (c == '.' || c == ',') + c = c_decimal_point; + + // Full-width -> half-width conversion for numeric fields (https://en.wikipedia.org/wiki/Halfwidth_and_Fullwidth_Forms_(Unicode_block) + // While this is mostly convenient, this has the side-effect for uninformed users accidentally inputting full-width characters that they may + // scratch their head as to why it works in numerical fields vs in generic text fields it would require support in the font. + if (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsScientific | ImGuiInputTextFlags_CharsHexadecimal)) + if (c >= 0xFF01 && c <= 0xFF5E) + c = c - 0xFF01 + 0x21; + + // Allow 0-9 . - + * / + if (flags & ImGuiInputTextFlags_CharsDecimal) + if (!(c >= '0' && c <= '9') && (c != c_decimal_point) && (c != '-') && (c != '+') && (c != '*') && (c != '/')) + return false; + + // Allow 0-9 . - + * / e E + if (flags & ImGuiInputTextFlags_CharsScientific) + if (!(c >= '0' && c <= '9') && (c != c_decimal_point) && (c != '-') && (c != '+') && (c != '*') && (c != '/') && (c != 'e') && (c != 'E')) + return false; + + // Allow 0-9 a-F A-F + if (flags & ImGuiInputTextFlags_CharsHexadecimal) + if (!(c >= '0' && c <= '9') && !(c >= 'a' && c <= 'f') && !(c >= 'A' && c <= 'F')) + return false; + + // Turn a-z into A-Z + if (flags & ImGuiInputTextFlags_CharsUppercase) + if (c >= 'a' && c <= 'z') + c += (unsigned int)('A' - 'a'); + + if (flags & ImGuiInputTextFlags_CharsNoBlank) + if (ImCharIsBlankW(c)) + return false; + + *p_char = c; + } + + // Custom callback filter + if (flags & ImGuiInputTextFlags_CallbackCharFilter) + { + ImGuiContext& g = *GImGui; + ImGuiInputTextCallbackData callback_data; + callback_data.Ctx = &g; + callback_data.EventFlag = ImGuiInputTextFlags_CallbackCharFilter; + callback_data.EventChar = (ImWchar)c; + callback_data.Flags = flags; + callback_data.UserData = user_data; + if (callback(&callback_data) != 0) + return false; + *p_char = callback_data.EventChar; + if (!callback_data.EventChar) + return false; + } + + return true; +} + +// Find the shortest single replacement we can make to get from old_buf to new_buf +// Note that this doesn't directly alter state->TextA, state->TextLen. They are expected to be made valid separately. +// FIXME: Ideally we should transition toward (1) making InsertChars()/DeleteChars() update undo-stack (2) discourage (and keep reconcile) or obsolete (and remove reconcile) accessing buffer directly. +static void InputTextReconcileUndoState(ImGuiInputTextState* state, const char* old_buf, int old_length, const char* new_buf, int new_length) +{ + const int shorter_length = ImMin(old_length, new_length); + int first_diff; + for (first_diff = 0; first_diff < shorter_length; first_diff++) + if (old_buf[first_diff] != new_buf[first_diff]) + break; + if (first_diff == old_length && first_diff == new_length) + return; + + int old_last_diff = old_length - 1; + int new_last_diff = new_length - 1; + for (; old_last_diff >= first_diff && new_last_diff >= first_diff; old_last_diff--, new_last_diff--) + if (old_buf[old_last_diff] != new_buf[new_last_diff]) + break; + + const int insert_len = new_last_diff - first_diff + 1; + const int delete_len = old_last_diff - first_diff + 1; + if (insert_len > 0 || delete_len > 0) + if (IMSTB_TEXTEDIT_CHARTYPE* p = stb_text_createundo(&state->Stb->undostate, first_diff, delete_len, insert_len)) + for (int i = 0; i < delete_len; i++) + p[i] = old_buf[first_diff + i]; +} + +// As InputText() retain textual data and we currently provide a path for user to not retain it (via local variables) +// we need some form of hook to reapply data back to user buffer on deactivation frame. (#4714) +// It would be more desirable that we discourage users from taking advantage of the "user not retaining data" trick, +// but that more likely be attractive when we do have _NoLiveEdit flag available. +void ImGui::InputTextDeactivateHook(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiInputTextState* state = &g.InputTextState; + if (id == 0 || state->ID != id) + return; + g.InputTextDeactivatedState.ID = state->ID; + if (state->Flags & ImGuiInputTextFlags_ReadOnly) + { + g.InputTextDeactivatedState.TextA.resize(0); // In theory this data won't be used, but clear to be neat. + } + else + { + IM_ASSERT(state->TextA.Data != 0); + IM_ASSERT(state->TextA[state->TextLen] == 0); + g.InputTextDeactivatedState.TextA.resize(state->TextLen + 1); + memcpy(g.InputTextDeactivatedState.TextA.Data, state->TextA.Data, state->TextLen + 1); + } +} + +// Edit a string of text +// - buf_size account for the zero-terminator, so a buf_size of 6 can hold "Hello" but not "Hello!". +// This is so we can easily call InputText() on static arrays using ARRAYSIZE() and to match +// Note that in std::string world, capacity() would omit 1 byte used by the zero-terminator. +// - When active, hold on a privately held copy of the text (and apply back to 'buf'). So changing 'buf' while the InputText is active has no effect. +// - If you want to use ImGui::InputText() with std::string, see misc/cpp/imgui_stdlib.h +// (FIXME: Rather confusing and messy function, among the worse part of our codebase, expecting to rewrite a V2 at some point.. Partly because we are +// doing UTF8 > U16 > UTF8 conversions on the go to easily interface with stb_textedit. Ideally should stay in UTF-8 all the time. See https://github.com/nothings/stb/issues/188) +bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* callback_user_data) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + IM_ASSERT(buf != NULL && buf_size >= 0); + IM_ASSERT(!((flags & ImGuiInputTextFlags_CallbackHistory) && (flags & ImGuiInputTextFlags_Multiline))); // Can't use both together (they both use up/down keys) + IM_ASSERT(!((flags & ImGuiInputTextFlags_CallbackCompletion) && (flags & ImGuiInputTextFlags_AllowTabInput))); // Can't use both together (they both use tab key) + IM_ASSERT(!((flags & ImGuiInputTextFlags_ElideLeft) && (flags & ImGuiInputTextFlags_Multiline))); // Multiline will not work with left-trimming + + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + const ImGuiStyle& style = g.Style; + + const bool RENDER_SELECTION_WHEN_INACTIVE = false; + const bool is_multiline = (flags & ImGuiInputTextFlags_Multiline) != 0; + + if (is_multiline) // Open group before calling GetID() because groups tracks id created within their scope (including the scrollbar) + BeginGroup(); + const ImGuiID id = window->GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const ImVec2 frame_size = CalcItemSize(size_arg, CalcItemWidth(), (is_multiline ? g.FontSize * 8.0f : label_size.y) + style.FramePadding.y * 2.0f); // Arbitrary default of 8 lines high for multi-line + const ImVec2 total_size = ImVec2(frame_size.x + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), frame_size.y); + + const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + frame_size); + const ImRect total_bb(frame_bb.Min, frame_bb.Min + total_size); + + ImGuiWindow* draw_window = window; + ImVec2 inner_size = frame_size; + ImGuiLastItemData item_data_backup; + if (is_multiline) + { + ImVec2 backup_pos = window->DC.CursorPos; + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id, &frame_bb, ImGuiItemFlags_Inputable)) + { + EndGroup(); + return false; + } + item_data_backup = g.LastItemData; + window->DC.CursorPos = backup_pos; + + // Prevent NavActivation from Tabbing when our widget accepts Tab inputs: this allows cycling through widgets without stopping. + if (g.NavActivateId == id && (g.NavActivateFlags & ImGuiActivateFlags_FromTabbing) && (flags & ImGuiInputTextFlags_AllowTabInput)) + g.NavActivateId = 0; + + // Prevent NavActivate reactivating in BeginChild() when we are already active. + const ImGuiID backup_activate_id = g.NavActivateId; + if (g.ActiveId == id) // Prevent reactivation + g.NavActivateId = 0; + + // We reproduce the contents of BeginChildFrame() in order to provide 'label' so our window internal data are easier to read/debug. + PushStyleColor(ImGuiCol_ChildBg, style.Colors[ImGuiCol_FrameBg]); + PushStyleVar(ImGuiStyleVar_ChildRounding, style.FrameRounding); + PushStyleVar(ImGuiStyleVar_ChildBorderSize, style.FrameBorderSize); + PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0, 0)); // Ensure no clip rect so mouse hover can reach FramePadding edges + bool child_visible = BeginChildEx(label, id, frame_bb.GetSize(), ImGuiChildFlags_Borders, ImGuiWindowFlags_NoMove); + g.NavActivateId = backup_activate_id; + PopStyleVar(3); + PopStyleColor(); + if (!child_visible) + { + EndChild(); + EndGroup(); + return false; + } + draw_window = g.CurrentWindow; // Child window + draw_window->DC.NavLayersActiveMaskNext |= (1 << draw_window->DC.NavLayerCurrent); // This is to ensure that EndChild() will display a navigation highlight so we can "enter" into it. + draw_window->DC.CursorPos += style.FramePadding; + inner_size.x -= draw_window->ScrollbarSizes.x; + } + else + { + // Support for internal ImGuiInputTextFlags_MergedItem flag, which could be redesigned as an ItemFlags if needed (with test performed in ItemAdd) + ItemSize(total_bb, style.FramePadding.y); + if (!(flags & ImGuiInputTextFlags_MergedItem)) + if (!ItemAdd(total_bb, id, &frame_bb, ImGuiItemFlags_Inputable)) + return false; + } + + // Ensure mouse cursor is set even after switching to keyboard/gamepad mode. May generalize further? (#6417) + bool hovered = ItemHoverable(frame_bb, id, g.LastItemData.ItemFlags | ImGuiItemFlags_NoNavDisableMouseHover); + if (hovered) + SetMouseCursor(ImGuiMouseCursor_TextInput); + if (hovered && g.NavHighlightItemUnderNav) + hovered = false; + + // We are only allowed to access the state if we are already the active widget. + ImGuiInputTextState* state = GetInputTextState(id); + + if (g.LastItemData.ItemFlags & ImGuiItemFlags_ReadOnly) + flags |= ImGuiInputTextFlags_ReadOnly; + const bool is_readonly = (flags & ImGuiInputTextFlags_ReadOnly) != 0; + const bool is_password = (flags & ImGuiInputTextFlags_Password) != 0; + const bool is_undoable = (flags & ImGuiInputTextFlags_NoUndoRedo) == 0; + const bool is_resizable = (flags & ImGuiInputTextFlags_CallbackResize) != 0; + if (is_resizable) + IM_ASSERT(callback != NULL); // Must provide a callback if you set the ImGuiInputTextFlags_CallbackResize flag! + + const bool input_requested_by_nav = (g.ActiveId != id) && ((g.NavActivateId == id) && ((g.NavActivateFlags & ImGuiActivateFlags_PreferInput) || (g.NavInputSource == ImGuiInputSource_Keyboard))); + + const bool user_clicked = hovered && io.MouseClicked[0]; + const bool user_scroll_finish = is_multiline && state != NULL && g.ActiveId == 0 && g.ActiveIdPreviousFrame == GetWindowScrollbarID(draw_window, ImGuiAxis_Y); + const bool user_scroll_active = is_multiline && state != NULL && g.ActiveId == GetWindowScrollbarID(draw_window, ImGuiAxis_Y); + bool clear_active_id = false; + bool select_all = false; + + float scroll_y = is_multiline ? draw_window->Scroll.y : FLT_MAX; + + const bool init_reload_from_user_buf = (state != NULL && state->WantReloadUserBuf); + const bool init_changed_specs = (state != NULL && state->Stb->single_line != !is_multiline); // state != NULL means its our state. + const bool init_make_active = (user_clicked || user_scroll_finish || input_requested_by_nav); + const bool init_state = (init_make_active || user_scroll_active); + if (init_reload_from_user_buf) + { + int new_len = (int)strlen(buf); + IM_ASSERT(new_len + 1 <= buf_size && "Is your input buffer properly zero-terminated?"); + state->WantReloadUserBuf = false; + InputTextReconcileUndoState(state, state->TextA.Data, state->TextLen, buf, new_len); + state->TextA.resize(buf_size + 1); // we use +1 to make sure that .Data is always pointing to at least an empty string. + state->TextLen = new_len; + memcpy(state->TextA.Data, buf, state->TextLen + 1); + state->Stb->select_start = state->ReloadSelectionStart; + state->Stb->cursor = state->Stb->select_end = state->ReloadSelectionEnd; + state->CursorClamp(); + } + else if ((init_state && g.ActiveId != id) || init_changed_specs) + { + // Access state even if we don't own it yet. + state = &g.InputTextState; + state->CursorAnimReset(); + + // Backup state of deactivating item so they'll have a chance to do a write to output buffer on the same frame they report IsItemDeactivatedAfterEdit (#4714) + InputTextDeactivateHook(state->ID); + + // Take a copy of the initial buffer value. + // From the moment we focused we are normally ignoring the content of 'buf' (unless we are in read-only mode) + const int buf_len = (int)strlen(buf); + IM_ASSERT(buf_len + 1 <= buf_size && "Is your input buffer properly zero-terminated?"); + state->TextToRevertTo.resize(buf_len + 1); // UTF-8. we use +1 to make sure that .Data is always pointing to at least an empty string. + memcpy(state->TextToRevertTo.Data, buf, buf_len + 1); + + // Preserve cursor position and undo/redo stack if we come back to same widget + // FIXME: Since we reworked this on 2022/06, may want to differentiate recycle_cursor vs recycle_undostate? + bool recycle_state = (state->ID == id && !init_changed_specs); + if (recycle_state && (state->TextLen != buf_len || (state->TextA.Data == NULL || strncmp(state->TextA.Data, buf, buf_len) != 0))) + recycle_state = false; + + // Start edition + state->ID = id; + state->TextLen = buf_len; + if (!is_readonly) + { + state->TextA.resize(buf_size + 1); // we use +1 to make sure that .Data is always pointing to at least an empty string. + memcpy(state->TextA.Data, buf, state->TextLen + 1); + } + + // Find initial scroll position for right alignment + state->Scroll = ImVec2(0.0f, 0.0f); + if (flags & ImGuiInputTextFlags_ElideLeft) + state->Scroll.x += ImMax(0.0f, CalcTextSize(buf).x - frame_size.x + style.FramePadding.x * 2.0f); + + // Recycle existing cursor/selection/undo stack but clamp position + // Note a single mouse click will override the cursor/position immediately by calling stb_textedit_click handler. + if (recycle_state) + state->CursorClamp(); + else + stb_textedit_initialize_state(state->Stb, !is_multiline); + + if (!is_multiline) + { + if (flags & ImGuiInputTextFlags_AutoSelectAll) + select_all = true; + if (input_requested_by_nav && (!recycle_state || !(g.NavActivateFlags & ImGuiActivateFlags_TryToPreserveState))) + select_all = true; + if (user_clicked && io.KeyCtrl) + select_all = true; + } + + if (flags & ImGuiInputTextFlags_AlwaysOverwrite) + state->Stb->insert_mode = 1; // stb field name is indeed incorrect (see #2863) + } + + const bool is_osx = io.ConfigMacOSXBehaviors; + if (g.ActiveId != id && init_make_active) + { + IM_ASSERT(state && state->ID == id); + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + } + if (g.ActiveId == id) + { + // Declare some inputs, the other are registered and polled via Shortcut() routing system. + // FIXME: The reason we don't use Shortcut() is we would need a routing flag to specify multiple mods, or to all mods combinaison into individual shortcuts. + const ImGuiKey always_owned_keys[] = { ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_Enter, ImGuiKey_KeypadEnter, ImGuiKey_Delete, ImGuiKey_Backspace, ImGuiKey_Home, ImGuiKey_End }; + for (ImGuiKey key : always_owned_keys) + SetKeyOwner(key, id); + if (user_clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); + g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); + if (is_multiline || (flags & ImGuiInputTextFlags_CallbackHistory)) + { + g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Up) | (1 << ImGuiDir_Down); + SetKeyOwner(ImGuiKey_UpArrow, id); + SetKeyOwner(ImGuiKey_DownArrow, id); + } + if (is_multiline) + { + SetKeyOwner(ImGuiKey_PageUp, id); + SetKeyOwner(ImGuiKey_PageDown, id); + } + // FIXME: May be a problem to always steal Alt on OSX, would ideally still allow an uninterrupted Alt down-up to toggle menu + if (is_osx) + SetKeyOwner(ImGuiMod_Alt, id); + + // Expose scroll in a manner that is agnostic to us using a child window + if (is_multiline && state != NULL) + state->Scroll.y = draw_window->Scroll.y; + + // Read-only mode always ever read from source buffer. Refresh TextLen when active. + if (is_readonly && state != NULL) + state->TextLen = (int)strlen(buf); + //if (is_readonly && state != NULL) + // state->TextA.clear(); // Uncomment to facilitate debugging, but we otherwise prefer to keep/amortize th allocation. + } + if (state != NULL) + state->TextSrc = is_readonly ? buf : state->TextA.Data; + + // We have an edge case if ActiveId was set through another widget (e.g. widget being swapped), clear id immediately (don't wait until the end of the function) + if (g.ActiveId == id && state == NULL) + ClearActiveID(); + + // Release focus when we click outside + if (g.ActiveId == id && io.MouseClicked[0] && !init_state && !init_make_active) //-V560 + clear_active_id = true; + + // Lock the decision of whether we are going to take the path displaying the cursor or selection + bool render_cursor = (g.ActiveId == id) || (state && user_scroll_active); + bool render_selection = state && (state->HasSelection() || select_all) && (RENDER_SELECTION_WHEN_INACTIVE || render_cursor); + bool value_changed = false; + bool validated = false; + + // Select the buffer to render. + const bool buf_display_from_state = (render_cursor || render_selection || g.ActiveId == id) && !is_readonly && state; + bool is_displaying_hint = (hint != NULL && (buf_display_from_state ? state->TextA.Data : buf)[0] == 0); + + // Password pushes a temporary font with only a fallback glyph + if (is_password && !is_displaying_hint) + PushPasswordFont(); + + // Process mouse inputs and character inputs + if (g.ActiveId == id) + { + IM_ASSERT(state != NULL); + state->Edited = false; + state->BufCapacity = buf_size; + state->Flags = flags; + + // Although we are active we don't prevent mouse from hovering other elements unless we are interacting right now with the widget. + // Down the line we should have a cleaner library-wide concept of Selected vs Active. + g.ActiveIdAllowOverlap = !io.MouseDown[0]; + + // Edit in progress + const float mouse_x = (io.MousePos.x - frame_bb.Min.x - style.FramePadding.x) + state->Scroll.x; + const float mouse_y = (is_multiline ? (io.MousePos.y - draw_window->DC.CursorPos.y) : (g.FontSize * 0.5f)); + + if (select_all) + { + state->SelectAll(); + state->SelectedAllMouseLock = true; + } + else if (hovered && io.MouseClickedCount[0] >= 2 && !io.KeyShift) + { + stb_textedit_click(state, state->Stb, mouse_x, mouse_y); + const int multiclick_count = (io.MouseClickedCount[0] - 2); + if ((multiclick_count % 2) == 0) + { + // Double-click: Select word + // We always use the "Mac" word advance for double-click select vs CTRL+Right which use the platform dependent variant: + // FIXME: There are likely many ways to improve this behavior, but there's no "right" behavior (depends on use-case, software, OS) + const bool is_bol = (state->Stb->cursor == 0) || ImStb::STB_TEXTEDIT_GETCHAR(state, state->Stb->cursor - 1) == '\n'; + if (STB_TEXT_HAS_SELECTION(state->Stb) || !is_bol) + state->OnKeyPressed(STB_TEXTEDIT_K_WORDLEFT); + //state->OnKeyPressed(STB_TEXTEDIT_K_WORDRIGHT | STB_TEXTEDIT_K_SHIFT); + if (!STB_TEXT_HAS_SELECTION(state->Stb)) + ImStb::stb_textedit_prep_selection_at_cursor(state->Stb); + state->Stb->cursor = ImStb::STB_TEXTEDIT_MOVEWORDRIGHT_MAC(state, state->Stb->cursor); + state->Stb->select_end = state->Stb->cursor; + ImStb::stb_textedit_clamp(state, state->Stb); + } + else + { + // Triple-click: Select line + const bool is_eol = ImStb::STB_TEXTEDIT_GETCHAR(state, state->Stb->cursor) == '\n'; + state->OnKeyPressed(STB_TEXTEDIT_K_LINESTART); + state->OnKeyPressed(STB_TEXTEDIT_K_LINEEND | STB_TEXTEDIT_K_SHIFT); + state->OnKeyPressed(STB_TEXTEDIT_K_RIGHT | STB_TEXTEDIT_K_SHIFT); + if (!is_eol && is_multiline) + { + ImSwap(state->Stb->select_start, state->Stb->select_end); + state->Stb->cursor = state->Stb->select_end; + } + state->CursorFollow = false; + } + state->CursorAnimReset(); + } + else if (io.MouseClicked[0] && !state->SelectedAllMouseLock) + { + if (hovered) + { + if (io.KeyShift) + stb_textedit_drag(state, state->Stb, mouse_x, mouse_y); + else + stb_textedit_click(state, state->Stb, mouse_x, mouse_y); + state->CursorAnimReset(); + } + } + else if (io.MouseDown[0] && !state->SelectedAllMouseLock && (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f)) + { + stb_textedit_drag(state, state->Stb, mouse_x, mouse_y); + state->CursorAnimReset(); + state->CursorFollow = true; + } + if (state->SelectedAllMouseLock && !io.MouseDown[0]) + state->SelectedAllMouseLock = false; + + // We expect backends to emit a Tab key but some also emit a Tab character which we ignore (#2467, #1336) + // (For Tab and Enter: Win32/SFML/Allegro are sending both keys and chars, GLFW and SDL are only sending keys. For Space they all send all threes) + if ((flags & ImGuiInputTextFlags_AllowTabInput) && !is_readonly) + { + if (Shortcut(ImGuiKey_Tab, ImGuiInputFlags_Repeat, id)) + { + unsigned int c = '\t'; // Insert TAB + if (InputTextFilterCharacter(&g, &c, flags, callback, callback_user_data)) + state->OnCharPressed(c); + } + // FIXME: Implement Shift+Tab + /* + if (Shortcut(ImGuiKey_Tab | ImGuiMod_Shift, ImGuiInputFlags_Repeat, id)) + { + } + */ + } + + // Process regular text input (before we check for Return because using some IME will effectively send a Return?) + // We ignore CTRL inputs, but need to allow ALT+CTRL as some keyboards (e.g. German) use AltGR (which _is_ Alt+Ctrl) to input certain characters. + const bool ignore_char_inputs = (io.KeyCtrl && !io.KeyAlt) || (is_osx && io.KeyCtrl); + if (io.InputQueueCharacters.Size > 0) + { + if (!ignore_char_inputs && !is_readonly && !input_requested_by_nav) + for (int n = 0; n < io.InputQueueCharacters.Size; n++) + { + // Insert character if they pass filtering + unsigned int c = (unsigned int)io.InputQueueCharacters[n]; + if (c == '\t') // Skip Tab, see above. + continue; + if (InputTextFilterCharacter(&g, &c, flags, callback, callback_user_data)) + state->OnCharPressed(c); + } + + // Consume characters + io.InputQueueCharacters.resize(0); + } + } + + // Process other shortcuts/key-presses + bool revert_edit = false; + if (g.ActiveId == id && !g.ActiveIdIsJustActivated && !clear_active_id) + { + IM_ASSERT(state != NULL); + + const int row_count_per_page = ImMax((int)((inner_size.y - style.FramePadding.y) / g.FontSize), 1); + state->Stb->row_count_per_page = row_count_per_page; + + const int k_mask = (io.KeyShift ? STB_TEXTEDIT_K_SHIFT : 0); + const bool is_wordmove_key_down = is_osx ? io.KeyAlt : io.KeyCtrl; // OS X style: Text editing cursor movement using Alt instead of Ctrl + const bool is_startend_key_down = is_osx && io.KeyCtrl && !io.KeySuper && !io.KeyAlt; // OS X style: Line/Text Start and End using Cmd+Arrows instead of Home/End + + // Using Shortcut() with ImGuiInputFlags_RouteFocused (default policy) to allow routing operations for other code (e.g. calling window trying to use CTRL+A and CTRL+B: former would be handled by InputText) + // Otherwise we could simply assume that we own the keys as we are active. + const ImGuiInputFlags f_repeat = ImGuiInputFlags_Repeat; + const bool is_cut = (Shortcut(ImGuiMod_Ctrl | ImGuiKey_X, f_repeat, id) || Shortcut(ImGuiMod_Shift | ImGuiKey_Delete, f_repeat, id)) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); + const bool is_copy = (Shortcut(ImGuiMod_Ctrl | ImGuiKey_C, 0, id) || Shortcut(ImGuiMod_Ctrl | ImGuiKey_Insert, 0, id)) && !is_password && (!is_multiline || state->HasSelection()); + const bool is_paste = (Shortcut(ImGuiMod_Ctrl | ImGuiKey_V, f_repeat, id) || Shortcut(ImGuiMod_Shift | ImGuiKey_Insert, f_repeat, id)) && !is_readonly; + const bool is_undo = (Shortcut(ImGuiMod_Ctrl | ImGuiKey_Z, f_repeat, id)) && !is_readonly && is_undoable; + const bool is_redo = (Shortcut(ImGuiMod_Ctrl | ImGuiKey_Y, f_repeat, id) || Shortcut(ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Z, f_repeat, id)) && !is_readonly && is_undoable; + const bool is_select_all = Shortcut(ImGuiMod_Ctrl | ImGuiKey_A, 0, id); + + // We allow validate/cancel with Nav source (gamepad) to makes it easier to undo an accidental NavInput press with no keyboard wired, but otherwise it isn't very useful. + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool is_enter_pressed = IsKeyPressed(ImGuiKey_Enter, true) || IsKeyPressed(ImGuiKey_KeypadEnter, true); + const bool is_gamepad_validate = nav_gamepad_active && (IsKeyPressed(ImGuiKey_NavGamepadActivate, false) || IsKeyPressed(ImGuiKey_NavGamepadInput, false)); + const bool is_cancel = Shortcut(ImGuiKey_Escape, f_repeat, id) || (nav_gamepad_active && Shortcut(ImGuiKey_NavGamepadCancel, f_repeat, id)); + + // FIXME: Should use more Shortcut() and reduce IsKeyPressed()+SetKeyOwner(), but requires modifiers combination to be taken account of. + // FIXME-OSX: Missing support for Alt(option)+Right/Left = go to end of line, or next line if already in end of line. + if (IsKeyPressed(ImGuiKey_LeftArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINESTART : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDLEFT : STB_TEXTEDIT_K_LEFT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_RightArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINEEND : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDRIGHT : STB_TEXTEDIT_K_RIGHT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTSTART : STB_TEXTEDIT_K_UP) | k_mask); } + else if (IsKeyPressed(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTEND : STB_TEXTEDIT_K_DOWN) | k_mask); } + else if (IsKeyPressed(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_Home)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTSTART | k_mask : STB_TEXTEDIT_K_LINESTART | k_mask); } + else if (IsKeyPressed(ImGuiKey_End)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTEND | k_mask : STB_TEXTEDIT_K_LINEEND | k_mask); } + else if (IsKeyPressed(ImGuiKey_Delete) && !is_readonly && !is_cut) + { + if (!state->HasSelection()) + { + // OSX doesn't seem to have Super+Delete to delete until end-of-line, so we don't emulate that (as opposed to Super+Backspace) + if (is_wordmove_key_down) + state->OnKeyPressed(STB_TEXTEDIT_K_WORDRIGHT | STB_TEXTEDIT_K_SHIFT); + } + state->OnKeyPressed(STB_TEXTEDIT_K_DELETE | k_mask); + } + else if (IsKeyPressed(ImGuiKey_Backspace) && !is_readonly) + { + if (!state->HasSelection()) + { + if (is_wordmove_key_down) + state->OnKeyPressed(STB_TEXTEDIT_K_WORDLEFT | STB_TEXTEDIT_K_SHIFT); + else if (is_osx && io.KeyCtrl && !io.KeyAlt && !io.KeySuper) + state->OnKeyPressed(STB_TEXTEDIT_K_LINESTART | STB_TEXTEDIT_K_SHIFT); + } + state->OnKeyPressed(STB_TEXTEDIT_K_BACKSPACE | k_mask); + } + else if (is_enter_pressed || is_gamepad_validate) + { + // Determine if we turn Enter into a \n character + bool ctrl_enter_for_new_line = (flags & ImGuiInputTextFlags_CtrlEnterForNewLine) != 0; + if (!is_multiline || is_gamepad_validate || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.KeyCtrl)) + { + validated = true; + if (io.ConfigInputTextEnterKeepActive && !is_multiline) + state->SelectAll(); // No need to scroll + else + clear_active_id = true; + } + else if (!is_readonly) + { + unsigned int c = '\n'; // Insert new line + if (InputTextFilterCharacter(&g, &c, flags, callback, callback_user_data)) + state->OnCharPressed(c); + } + } + else if (is_cancel) + { + if (flags & ImGuiInputTextFlags_EscapeClearsAll) + { + if (buf[0] != 0) + { + revert_edit = true; + } + else + { + render_cursor = render_selection = false; + clear_active_id = true; + } + } + else + { + clear_active_id = revert_edit = true; + render_cursor = render_selection = false; + } + } + else if (is_undo || is_redo) + { + state->OnKeyPressed(is_undo ? STB_TEXTEDIT_K_UNDO : STB_TEXTEDIT_K_REDO); + state->ClearSelection(); + } + else if (is_select_all) + { + state->SelectAll(); + state->CursorFollow = true; + } + else if (is_cut || is_copy) + { + // Cut, Copy + if (g.PlatformIO.Platform_SetClipboardTextFn != NULL) + { + // SetClipboardText() only takes null terminated strings + state->TextSrc may point to read-only user buffer, so we need to make a copy. + const int ib = state->HasSelection() ? ImMin(state->Stb->select_start, state->Stb->select_end) : 0; + const int ie = state->HasSelection() ? ImMax(state->Stb->select_start, state->Stb->select_end) : state->TextLen; + g.TempBuffer.reserve(ie - ib + 1); + memcpy(g.TempBuffer.Data, state->TextSrc + ib, ie - ib); + g.TempBuffer.Data[ie - ib] = 0; + SetClipboardText(g.TempBuffer.Data); + } + if (is_cut) + { + if (!state->HasSelection()) + state->SelectAll(); + state->CursorFollow = true; + stb_textedit_cut(state, state->Stb); + } + } + else if (is_paste) + { + if (const char* clipboard = GetClipboardText()) + { + // Filter pasted buffer + const int clipboard_len = (int)strlen(clipboard); + ImVector clipboard_filtered; + clipboard_filtered.reserve(clipboard_len + 1); + for (const char* s = clipboard; *s != 0; ) + { + unsigned int c; + int in_len = ImTextCharFromUtf8(&c, s, NULL); + s += in_len; + if (!InputTextFilterCharacter(&g, &c, flags, callback, callback_user_data, true)) + continue; + char c_utf8[5]; + ImTextCharToUtf8(c_utf8, c); + int out_len = (int)strlen(c_utf8); + clipboard_filtered.resize(clipboard_filtered.Size + out_len); + memcpy(clipboard_filtered.Data + clipboard_filtered.Size - out_len, c_utf8, out_len); + } + if (clipboard_filtered.Size > 0) // If everything was filtered, ignore the pasting operation + { + clipboard_filtered.push_back(0); + stb_textedit_paste(state, state->Stb, clipboard_filtered.Data, clipboard_filtered.Size - 1); + state->CursorFollow = true; + } + } + } + + // Update render selection flag after events have been handled, so selection highlight can be displayed during the same frame. + render_selection |= state->HasSelection() && (RENDER_SELECTION_WHEN_INACTIVE || render_cursor); + } + + // Process callbacks and apply result back to user's buffer. + const char* apply_new_text = NULL; + int apply_new_text_length = 0; + if (g.ActiveId == id) + { + IM_ASSERT(state != NULL); + if (revert_edit && !is_readonly) + { + if (flags & ImGuiInputTextFlags_EscapeClearsAll) + { + // Clear input + IM_ASSERT(buf[0] != 0); + apply_new_text = ""; + apply_new_text_length = 0; + value_changed = true; + IMSTB_TEXTEDIT_CHARTYPE empty_string; + stb_textedit_replace(state, state->Stb, &empty_string, 0); + } + else if (strcmp(buf, state->TextToRevertTo.Data) != 0) + { + apply_new_text = state->TextToRevertTo.Data; + apply_new_text_length = state->TextToRevertTo.Size - 1; + + // Restore initial value. Only return true if restoring to the initial value changes the current buffer contents. + // Push records into the undo stack so we can CTRL+Z the revert operation itself + value_changed = true; + stb_textedit_replace(state, state->Stb, state->TextToRevertTo.Data, state->TextToRevertTo.Size - 1); + } + } + + // FIXME-OPT: We always reapply the live buffer back to the input buffer before clearing ActiveId, + // even though strictly speaking it wasn't modified on this frame. Should mark dirty state from the stb_textedit callbacks. + // If we do that, need to ensure that as special case, 'validated == true' also writes back. + // This also allows the user to use InputText() without maintaining any user-side storage. + // (please note that if you use this property along ImGuiInputTextFlags_CallbackResize you can end up with your temporary string object + // unnecessarily allocating once a frame, either store your string data, either if you don't then don't use ImGuiInputTextFlags_CallbackResize). + const bool apply_edit_back_to_user_buffer = true;// !revert_edit || (validated && (flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0); + if (apply_edit_back_to_user_buffer) + { + // Apply current edited text immediately. + // Note that as soon as the input box is active, the in-widget value gets priority over any underlying modification of the input buffer + + // User callback + if ((flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory | ImGuiInputTextFlags_CallbackEdit | ImGuiInputTextFlags_CallbackAlways)) != 0) + { + IM_ASSERT(callback != NULL); + + // The reason we specify the usage semantic (Completion/History) is that Completion needs to disable keyboard TABBING at the moment. + ImGuiInputTextFlags event_flag = 0; + ImGuiKey event_key = ImGuiKey_None; + if ((flags & ImGuiInputTextFlags_CallbackCompletion) != 0 && Shortcut(ImGuiKey_Tab, 0, id)) + { + event_flag = ImGuiInputTextFlags_CallbackCompletion; + event_key = ImGuiKey_Tab; + } + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_UpArrow)) + { + event_flag = ImGuiInputTextFlags_CallbackHistory; + event_key = ImGuiKey_UpArrow; + } + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_DownArrow)) + { + event_flag = ImGuiInputTextFlags_CallbackHistory; + event_key = ImGuiKey_DownArrow; + } + else if ((flags & ImGuiInputTextFlags_CallbackEdit) && state->Edited) + { + event_flag = ImGuiInputTextFlags_CallbackEdit; + } + else if (flags & ImGuiInputTextFlags_CallbackAlways) + { + event_flag = ImGuiInputTextFlags_CallbackAlways; + } + + if (event_flag) + { + ImGuiInputTextCallbackData callback_data; + callback_data.Ctx = &g; + callback_data.EventFlag = event_flag; + callback_data.Flags = flags; + callback_data.UserData = callback_user_data; + + // FIXME-OPT: Undo stack reconcile needs a backup of the data until we rework API, see #7925 + char* callback_buf = is_readonly ? buf : state->TextA.Data; + IM_ASSERT(callback_buf == state->TextSrc); + state->CallbackTextBackup.resize(state->TextLen + 1); + memcpy(state->CallbackTextBackup.Data, callback_buf, state->TextLen + 1); + + callback_data.EventKey = event_key; + callback_data.Buf = callback_buf; + callback_data.BufTextLen = state->TextLen; + callback_data.BufSize = state->BufCapacity; + callback_data.BufDirty = false; + + const int utf8_cursor_pos = callback_data.CursorPos = state->Stb->cursor; + const int utf8_selection_start = callback_data.SelectionStart = state->Stb->select_start; + const int utf8_selection_end = callback_data.SelectionEnd = state->Stb->select_end; + + // Call user code + callback(&callback_data); + + // Read back what user may have modified + callback_buf = is_readonly ? buf : state->TextA.Data; // Pointer may have been invalidated by a resize callback + IM_ASSERT(callback_data.Buf == callback_buf); // Invalid to modify those fields + IM_ASSERT(callback_data.BufSize == state->BufCapacity); + IM_ASSERT(callback_data.Flags == flags); + const bool buf_dirty = callback_data.BufDirty; + if (callback_data.CursorPos != utf8_cursor_pos || buf_dirty) { state->Stb->cursor = callback_data.CursorPos; state->CursorFollow = true; } + if (callback_data.SelectionStart != utf8_selection_start || buf_dirty) { state->Stb->select_start = (callback_data.SelectionStart == callback_data.CursorPos) ? state->Stb->cursor : callback_data.SelectionStart; } + if (callback_data.SelectionEnd != utf8_selection_end || buf_dirty) { state->Stb->select_end = (callback_data.SelectionEnd == callback_data.SelectionStart) ? state->Stb->select_start : callback_data.SelectionEnd; } + if (buf_dirty) + { + // Callback may update buffer and thus set buf_dirty even in read-only mode. + IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain BufTextLen if you change the text! + InputTextReconcileUndoState(state, state->CallbackTextBackup.Data, state->CallbackTextBackup.Size - 1, callback_data.Buf, callback_data.BufTextLen); + state->TextLen = callback_data.BufTextLen; // Assume correct length and valid UTF-8 from user, saves us an extra strlen() + state->CursorAnimReset(); + } + } + } + + // Will copy result string if modified + if (!is_readonly && strcmp(state->TextSrc, buf) != 0) + { + apply_new_text = state->TextSrc; + apply_new_text_length = state->TextLen; + value_changed = true; + } + } + } + + // Handle reapplying final data on deactivation (see InputTextDeactivateHook() for details) + if (g.InputTextDeactivatedState.ID == id) + { + if (g.ActiveId != id && IsItemDeactivatedAfterEdit() && !is_readonly && strcmp(g.InputTextDeactivatedState.TextA.Data, buf) != 0) + { + apply_new_text = g.InputTextDeactivatedState.TextA.Data; + apply_new_text_length = g.InputTextDeactivatedState.TextA.Size - 1; + value_changed = true; + //IMGUI_DEBUG_LOG("InputText(): apply Deactivated data for 0x%08X: \"%.*s\".\n", id, apply_new_text_length, apply_new_text); + } + g.InputTextDeactivatedState.ID = 0; + } + + // Copy result to user buffer. This can currently only happen when (g.ActiveId == id) + if (apply_new_text != NULL) + { + //// We cannot test for 'backup_current_text_length != apply_new_text_length' here because we have no guarantee that the size + //// of our owned buffer matches the size of the string object held by the user, and by design we allow InputText() to be used + //// without any storage on user's side. + IM_ASSERT(apply_new_text_length >= 0); + if (is_resizable) + { + ImGuiInputTextCallbackData callback_data; + callback_data.Ctx = &g; + callback_data.EventFlag = ImGuiInputTextFlags_CallbackResize; + callback_data.Flags = flags; + callback_data.Buf = buf; + callback_data.BufTextLen = apply_new_text_length; + callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1); + callback_data.UserData = callback_user_data; + callback(&callback_data); + buf = callback_data.Buf; + buf_size = callback_data.BufSize; + apply_new_text_length = ImMin(callback_data.BufTextLen, buf_size - 1); + IM_ASSERT(apply_new_text_length <= buf_size); + } + //IMGUI_DEBUG_PRINT("InputText(\"%s\"): apply_new_text length %d\n", label, apply_new_text_length); + + // If the underlying buffer resize was denied or not carried to the next frame, apply_new_text_length+1 may be >= buf_size. + ImStrncpy(buf, apply_new_text, ImMin(apply_new_text_length + 1, buf_size)); + } + + // Release active ID at the end of the function (so e.g. pressing Return still does a final application of the value) + // Otherwise request text input ahead for next frame. + if (g.ActiveId == id && clear_active_id) + ClearActiveID(); + else if (g.ActiveId == id) + g.WantTextInputNextFrame = 1; + + // Render frame + if (!is_multiline) + { + RenderNavCursor(frame_bb, id); + RenderFrame(frame_bb.Min, frame_bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); + } + + const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + inner_size.x, frame_bb.Min.y + inner_size.y); // Not using frame_bb.Max because we have adjusted size + ImVec2 draw_pos = is_multiline ? draw_window->DC.CursorPos : frame_bb.Min + style.FramePadding; + ImVec2 text_size(0.0f, 0.0f); + + // Set upper limit of single-line InputTextEx() at 2 million characters strings. The current pathological worst case is a long line + // without any carriage return, which would makes ImFont::RenderText() reserve too many vertices and probably crash. Avoid it altogether. + // Note that we only use this limit on single-line InputText(), so a pathologically large line on a InputTextMultiline() would still crash. + const int buf_display_max_length = 2 * 1024 * 1024; + const char* buf_display = buf_display_from_state ? state->TextA.Data : buf; //-V595 + const char* buf_display_end = NULL; // We have specialized paths below for setting the length + + // Display hint when contents is empty + // At this point we need to handle the possibility that a callback could have modified the underlying buffer (#8368) + const bool new_is_displaying_hint = (hint != NULL && (buf_display_from_state ? state->TextA.Data : buf)[0] == 0); + if (new_is_displaying_hint != is_displaying_hint) + { + if (is_password && !is_displaying_hint) + PopFont(); + is_displaying_hint = new_is_displaying_hint; + if (is_password && !is_displaying_hint) + PushPasswordFont(); + } + if (is_displaying_hint) + { + buf_display = hint; + buf_display_end = hint + strlen(hint); + } + + // Render text. We currently only render selection when the widget is active or while scrolling. + // FIXME: We could remove the '&& render_cursor' to keep rendering selection when inactive. + if (render_cursor || render_selection) + { + IM_ASSERT(state != NULL); + if (!is_displaying_hint) + buf_display_end = buf_display + state->TextLen; + + // Render text (with cursor and selection) + // This is going to be messy. We need to: + // - Display the text (this alone can be more easily clipped) + // - Handle scrolling, highlight selection, display cursor (those all requires some form of 1d->2d cursor position calculation) + // - Measure text height (for scrollbar) + // We are attempting to do most of that in **one main pass** to minimize the computation cost (non-negligible for large amount of text) + 2nd pass for selection rendering (we could merge them by an extra refactoring effort) + // FIXME: This should occur on buf_display but we'd need to maintain cursor/select_start/select_end for UTF-8. + const char* text_begin = buf_display; + const char* text_end = text_begin + state->TextLen; + ImVec2 cursor_offset, select_start_offset; + + { + // Find lines numbers straddling cursor and selection min position + int cursor_line_no = render_cursor ? -1 : -1000; + int selmin_line_no = render_selection ? -1 : -1000; + const char* cursor_ptr = render_cursor ? text_begin + state->Stb->cursor : NULL; + const char* selmin_ptr = render_selection ? text_begin + ImMin(state->Stb->select_start, state->Stb->select_end) : NULL; + + // Count lines and find line number for cursor and selection ends + int line_count = 1; + if (is_multiline) + { + for (const char* s = text_begin; (s = (const char*)memchr(s, '\n', (size_t)(text_end - s))) != NULL; s++) + { + if (cursor_line_no == -1 && s >= cursor_ptr) { cursor_line_no = line_count; } + if (selmin_line_no == -1 && s >= selmin_ptr) { selmin_line_no = line_count; } + line_count++; + } + } + if (cursor_line_no == -1) + cursor_line_no = line_count; + if (selmin_line_no == -1) + selmin_line_no = line_count; + + // Calculate 2d position by finding the beginning of the line and measuring distance + cursor_offset.x = InputTextCalcTextSize(&g, ImStrbol(cursor_ptr, text_begin), cursor_ptr).x; + cursor_offset.y = cursor_line_no * g.FontSize; + if (selmin_line_no >= 0) + { + select_start_offset.x = InputTextCalcTextSize(&g, ImStrbol(selmin_ptr, text_begin), selmin_ptr).x; + select_start_offset.y = selmin_line_no * g.FontSize; + } + + // Store text height (note that we haven't calculated text width at all, see GitHub issues #383, #1224) + if (is_multiline) + text_size = ImVec2(inner_size.x, line_count * g.FontSize); + } + + // Scroll + if (render_cursor && state->CursorFollow) + { + // Horizontal scroll in chunks of quarter width + if (!(flags & ImGuiInputTextFlags_NoHorizontalScroll)) + { + const float scroll_increment_x = inner_size.x * 0.25f; + const float visible_width = inner_size.x - style.FramePadding.x; + if (cursor_offset.x < state->Scroll.x) + state->Scroll.x = IM_TRUNC(ImMax(0.0f, cursor_offset.x - scroll_increment_x)); + else if (cursor_offset.x - visible_width >= state->Scroll.x) + state->Scroll.x = IM_TRUNC(cursor_offset.x - visible_width + scroll_increment_x); + } + else + { + state->Scroll.y = 0.0f; + } + + // Vertical scroll + if (is_multiline) + { + // Test if cursor is vertically visible + if (cursor_offset.y - g.FontSize < scroll_y) + scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize); + else if (cursor_offset.y - (inner_size.y - style.FramePadding.y * 2.0f) >= scroll_y) + scroll_y = cursor_offset.y - inner_size.y + style.FramePadding.y * 2.0f; + const float scroll_max_y = ImMax((text_size.y + style.FramePadding.y * 2.0f) - inner_size.y, 0.0f); + scroll_y = ImClamp(scroll_y, 0.0f, scroll_max_y); + draw_pos.y += (draw_window->Scroll.y - scroll_y); // Manipulate cursor pos immediately avoid a frame of lag + draw_window->Scroll.y = scroll_y; + } + + state->CursorFollow = false; + } + + // Draw selection + const ImVec2 draw_scroll = ImVec2(state->Scroll.x, 0.0f); + if (render_selection) + { + const char* text_selected_begin = text_begin + ImMin(state->Stb->select_start, state->Stb->select_end); + const char* text_selected_end = text_begin + ImMax(state->Stb->select_start, state->Stb->select_end); + + ImU32 bg_color = GetColorU32(ImGuiCol_TextSelectedBg, render_cursor ? 1.0f : 0.6f); // FIXME: current code flow mandate that render_cursor is always true here, we are leaving the transparent one for tests. + float bg_offy_up = is_multiline ? 0.0f : -1.0f; // FIXME: those offsets should be part of the style? they don't play so well with multi-line selection. + float bg_offy_dn = is_multiline ? 0.0f : 2.0f; + ImVec2 rect_pos = draw_pos + select_start_offset - draw_scroll; + for (const char* p = text_selected_begin; p < text_selected_end; ) + { + if (rect_pos.y > clip_rect.w + g.FontSize) + break; + if (rect_pos.y < clip_rect.y) + { + p = (const char*)memchr((void*)p, '\n', text_selected_end - p); + p = p ? p + 1 : text_selected_end; + } + else + { + ImVec2 rect_size = InputTextCalcTextSize(&g, p, text_selected_end, &p, NULL, true); + if (rect_size.x <= 0.0f) rect_size.x = IM_TRUNC(g.Font->GetCharAdvance((ImWchar)' ') * 0.50f); // So we can see selected empty lines + ImRect rect(rect_pos + ImVec2(0.0f, bg_offy_up - g.FontSize), rect_pos + ImVec2(rect_size.x, bg_offy_dn)); + rect.ClipWith(clip_rect); + if (rect.Overlaps(clip_rect)) + draw_window->DrawList->AddRectFilled(rect.Min, rect.Max, bg_color); + rect_pos.x = draw_pos.x - draw_scroll.x; + } + rect_pos.y += g.FontSize; + } + } + + // We test for 'buf_display_max_length' as a way to avoid some pathological cases (e.g. single-line 1 MB string) which would make ImDrawList crash. + // FIXME-OPT: Multiline could submit a smaller amount of contents to AddText() since we already iterated through it. + if (is_multiline || (buf_display_end - buf_display) < buf_display_max_length) + { + ImU32 col = GetColorU32(is_displaying_hint ? ImGuiCol_TextDisabled : ImGuiCol_Text); + draw_window->DrawList->AddText(g.Font, g.FontSize, draw_pos - draw_scroll, col, buf_display, buf_display_end, 0.0f, is_multiline ? NULL : &clip_rect); + } + + // Draw blinking cursor + if (render_cursor) + { + state->CursorAnim += io.DeltaTime; + bool cursor_is_visible = (!g.IO.ConfigInputTextCursorBlink) || (state->CursorAnim <= 0.0f) || ImFmod(state->CursorAnim, 1.20f) <= 0.80f; + ImVec2 cursor_screen_pos = ImTrunc(draw_pos + cursor_offset - draw_scroll); + ImRect cursor_screen_rect(cursor_screen_pos.x, cursor_screen_pos.y - g.FontSize + 0.5f, cursor_screen_pos.x + 1.0f, cursor_screen_pos.y - 1.5f); + if (cursor_is_visible && cursor_screen_rect.Overlaps(clip_rect)) + draw_window->DrawList->AddLine(cursor_screen_rect.Min, cursor_screen_rect.GetBL(), GetColorU32(ImGuiCol_Text)); + + // Notify OS of text input position for advanced IME (-1 x offset so that Windows IME can cover our cursor. Bit of an extra nicety.) + if (!is_readonly) + { + g.PlatformImeData.WantVisible = true; + g.PlatformImeData.InputPos = ImVec2(cursor_screen_pos.x - 1.0f, cursor_screen_pos.y - g.FontSize); + g.PlatformImeData.InputLineHeight = g.FontSize; + } + } + } + else + { + // Render text only (no selection, no cursor) + if (is_multiline) + text_size = ImVec2(inner_size.x, InputTextCalcTextLenAndLineCount(buf_display, &buf_display_end) * g.FontSize); // We don't need width + else if (!is_displaying_hint && g.ActiveId == id) + buf_display_end = buf_display + state->TextLen; + else if (!is_displaying_hint) + buf_display_end = buf_display + strlen(buf_display); + + if (is_multiline || (buf_display_end - buf_display) < buf_display_max_length) + { + // Find render position for right alignment + if (flags & ImGuiInputTextFlags_ElideLeft) + draw_pos.x = ImMin(draw_pos.x, frame_bb.Max.x - CalcTextSize(buf_display, NULL).x - style.FramePadding.x); + + const ImVec2 draw_scroll = /*state ? ImVec2(state->Scroll.x, 0.0f) :*/ ImVec2(0.0f, 0.0f); // Preserve scroll when inactive? + ImU32 col = GetColorU32(is_displaying_hint ? ImGuiCol_TextDisabled : ImGuiCol_Text); + draw_window->DrawList->AddText(g.Font, g.FontSize, draw_pos - draw_scroll, col, buf_display, buf_display_end, 0.0f, is_multiline ? NULL : &clip_rect); + } + } + + if (is_password && !is_displaying_hint) + PopFont(); + + if (is_multiline) + { + // For focus requests to work on our multiline we need to ensure our child ItemAdd() call specifies the ImGuiItemFlags_Inputable (see #4761, #7870)... + Dummy(ImVec2(text_size.x, text_size.y + style.FramePadding.y)); + g.NextItemData.ItemFlags |= (ImGuiItemFlags)ImGuiItemFlags_Inputable | ImGuiItemFlags_NoTabStop; + EndChild(); + item_data_backup.StatusFlags |= (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredWindow); + + // ...and then we need to undo the group overriding last item data, which gets a bit messy as EndGroup() tries to forward scrollbar being active... + // FIXME: This quite messy/tricky, should attempt to get rid of the child window. + EndGroup(); + if (g.LastItemData.ID == 0 || g.LastItemData.ID != GetWindowScrollbarID(draw_window, ImGuiAxis_Y)) + { + g.LastItemData.ID = id; + g.LastItemData.ItemFlags = item_data_backup.ItemFlags; + g.LastItemData.StatusFlags = item_data_backup.StatusFlags; + } + } + if (state) + state->TextSrc = NULL; + + // Log as text + if (g.LogEnabled && (!is_password || is_displaying_hint)) + { + LogSetNextTextDecoration("{", "}"); + LogRenderedText(&draw_pos, buf_display, buf_display_end); + } + + if (label_size.x > 0) + RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); + + if (value_changed) + MarkItemEdited(id); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Inputable); + if ((flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0) + return validated; + else + return value_changed; +} + +void ImGui::DebugNodeInputTextState(ImGuiInputTextState* state) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + ImStb::STB_TexteditState* stb_state = state->Stb; + ImStb::StbUndoState* undo_state = &stb_state->undostate; + Text("ID: 0x%08X, ActiveID: 0x%08X", state->ID, g.ActiveId); + DebugLocateItemOnHover(state->ID); + Text("CurLenA: %d, Cursor: %d, Selection: %d..%d", state->TextLen, stb_state->cursor, stb_state->select_start, stb_state->select_end); + Text("BufCapacityA: %d", state->BufCapacity); + Text("(Internal Buffer: TextA Size: %d, Capacity: %d)", state->TextA.Size, state->TextA.Capacity); + Text("has_preferred_x: %d (%.2f)", stb_state->has_preferred_x, stb_state->preferred_x); + Text("undo_point: %d, redo_point: %d, undo_char_point: %d, redo_char_point: %d", undo_state->undo_point, undo_state->redo_point, undo_state->undo_char_point, undo_state->redo_char_point); + if (BeginChild("undopoints", ImVec2(0.0f, GetTextLineHeight() * 10), ImGuiChildFlags_Borders | ImGuiChildFlags_ResizeY)) // Visualize undo state + { + PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); + for (int n = 0; n < IMSTB_TEXTEDIT_UNDOSTATECOUNT; n++) + { + ImStb::StbUndoRecord* undo_rec = &undo_state->undo_rec[n]; + const char undo_rec_type = (n < undo_state->undo_point) ? 'u' : (n >= undo_state->redo_point) ? 'r' : ' '; + if (undo_rec_type == ' ') + BeginDisabled(); + const int buf_preview_len = (undo_rec_type != ' ' && undo_rec->char_storage != -1) ? undo_rec->insert_length : 0; + const char* buf_preview_str = undo_state->undo_char + undo_rec->char_storage; + Text("%c [%02d] where %03d, insert %03d, delete %03d, char_storage %03d \"%.*s\"", + undo_rec_type, n, undo_rec->where, undo_rec->insert_length, undo_rec->delete_length, undo_rec->char_storage, buf_preview_len, buf_preview_str); + if (undo_rec_type == ' ') + EndDisabled(); + } + PopStyleVar(); + } + EndChild(); +#else + IM_UNUSED(state); +#endif +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: ColorEdit, ColorPicker, ColorButton, etc. +//------------------------------------------------------------------------- +// - ColorEdit3() +// - ColorEdit4() +// - ColorPicker3() +// - RenderColorRectWithAlphaCheckerboard() [Internal] +// - ColorPicker4() +// - ColorButton() +// - SetColorEditOptions() +// - ColorTooltip() [Internal] +// - ColorEditOptionsPopup() [Internal] +// - ColorPickerOptionsPopup() [Internal] +//------------------------------------------------------------------------- + +bool ImGui::ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags) +{ + return ColorEdit4(label, col, flags | ImGuiColorEditFlags_NoAlpha); +} + +static void ColorEditRestoreH(const float* col, float* H) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.ColorEditCurrentID != 0); + if (g.ColorEditSavedID != g.ColorEditCurrentID || g.ColorEditSavedColor != ImGui::ColorConvertFloat4ToU32(ImVec4(col[0], col[1], col[2], 0))) + return; + *H = g.ColorEditSavedHue; +} + +// ColorEdit supports RGB and HSV inputs. In case of RGB input resulting color may have undefined hue and/or saturation. +// Since widget displays both RGB and HSV values we must preserve hue and saturation to prevent these values resetting. +static void ColorEditRestoreHS(const float* col, float* H, float* S, float* V) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(g.ColorEditCurrentID != 0); + if (g.ColorEditSavedID != g.ColorEditCurrentID || g.ColorEditSavedColor != ImGui::ColorConvertFloat4ToU32(ImVec4(col[0], col[1], col[2], 0))) + return; + + // When S == 0, H is undefined. + // When H == 1 it wraps around to 0. + if (*S == 0.0f || (*H == 0.0f && g.ColorEditSavedHue == 1)) + *H = g.ColorEditSavedHue; + + // When V == 0, S is undefined. + if (*V == 0.0f) + *S = g.ColorEditSavedSat; +} + +// Edit colors components (each component in 0.0f..1.0f range). +// See enum ImGuiColorEditFlags_ for available options. e.g. Only access 3 floats if ImGuiColorEditFlags_NoAlpha flag is set. +// With typical options: Left-click on color square to open color picker. Right-click to open option menu. CTRL-Click over input fields to edit them and TAB to go to next item. +bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const float square_sz = GetFrameHeight(); + const char* label_display_end = FindRenderedTextEnd(label); + float w_full = CalcItemWidth(); + g.NextItemData.ClearFlags(); + + BeginGroup(); + PushID(label); + const bool set_current_color_edit_id = (g.ColorEditCurrentID == 0); + if (set_current_color_edit_id) + g.ColorEditCurrentID = window->IDStack.back(); + + // If we're not showing any slider there's no point in doing any HSV conversions + const ImGuiColorEditFlags flags_untouched = flags; + if (flags & ImGuiColorEditFlags_NoInputs) + flags = (flags & (~ImGuiColorEditFlags_DisplayMask_)) | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_NoOptions; + + // Context menu: display and modify options (before defaults are applied) + if (!(flags & ImGuiColorEditFlags_NoOptions)) + ColorEditOptionsPopup(col, flags); + + // Read stored options + if (!(flags & ImGuiColorEditFlags_DisplayMask_)) + flags |= (g.ColorEditOptions & ImGuiColorEditFlags_DisplayMask_); + if (!(flags & ImGuiColorEditFlags_DataTypeMask_)) + flags |= (g.ColorEditOptions & ImGuiColorEditFlags_DataTypeMask_); + if (!(flags & ImGuiColorEditFlags_PickerMask_)) + flags |= (g.ColorEditOptions & ImGuiColorEditFlags_PickerMask_); + if (!(flags & ImGuiColorEditFlags_InputMask_)) + flags |= (g.ColorEditOptions & ImGuiColorEditFlags_InputMask_); + flags |= (g.ColorEditOptions & ~(ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_)); + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_DisplayMask_)); // Check that only 1 is selected + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_InputMask_)); // Check that only 1 is selected + + const bool alpha = (flags & ImGuiColorEditFlags_NoAlpha) == 0; + const bool hdr = (flags & ImGuiColorEditFlags_HDR) != 0; + const int components = alpha ? 4 : 3; + const float w_button = (flags & ImGuiColorEditFlags_NoSmallPreview) ? 0.0f : (square_sz + style.ItemInnerSpacing.x); + const float w_inputs = ImMax(w_full - w_button, 1.0f); + w_full = w_inputs + w_button; + + // Convert to the formats we need + float f[4] = { col[0], col[1], col[2], alpha ? col[3] : 1.0f }; + if ((flags & ImGuiColorEditFlags_InputHSV) && (flags & ImGuiColorEditFlags_DisplayRGB)) + ColorConvertHSVtoRGB(f[0], f[1], f[2], f[0], f[1], f[2]); + else if ((flags & ImGuiColorEditFlags_InputRGB) && (flags & ImGuiColorEditFlags_DisplayHSV)) + { + // Hue is lost when converting from grayscale rgb (saturation=0). Restore it. + ColorConvertRGBtoHSV(f[0], f[1], f[2], f[0], f[1], f[2]); + ColorEditRestoreHS(col, &f[0], &f[1], &f[2]); + } + int i[4] = { IM_F32_TO_INT8_UNBOUND(f[0]), IM_F32_TO_INT8_UNBOUND(f[1]), IM_F32_TO_INT8_UNBOUND(f[2]), IM_F32_TO_INT8_UNBOUND(f[3]) }; + + bool value_changed = false; + bool value_changed_as_float = false; + + const ImVec2 pos = window->DC.CursorPos; + const float inputs_offset_x = (style.ColorButtonPosition == ImGuiDir_Left) ? w_button : 0.0f; + window->DC.CursorPos.x = pos.x + inputs_offset_x; + + if ((flags & (ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV)) != 0 && (flags & ImGuiColorEditFlags_NoInputs) == 0) + { + // RGB/HSV 0..255 Sliders + const float w_items = w_inputs - style.ItemInnerSpacing.x * (components - 1); + + const bool hide_prefix = (IM_TRUNC(w_items / components) <= CalcTextSize((flags & ImGuiColorEditFlags_Float) ? "M:0.000" : "M:000").x); + static const char* ids[4] = { "##X", "##Y", "##Z", "##W" }; + static const char* fmt_table_int[3][4] = + { + { "%3d", "%3d", "%3d", "%3d" }, // Short display + { "R:%3d", "G:%3d", "B:%3d", "A:%3d" }, // Long display for RGBA + { "H:%3d", "S:%3d", "V:%3d", "A:%3d" } // Long display for HSVA + }; + static const char* fmt_table_float[3][4] = + { + { "%0.3f", "%0.3f", "%0.3f", "%0.3f" }, // Short display + { "R:%0.3f", "G:%0.3f", "B:%0.3f", "A:%0.3f" }, // Long display for RGBA + { "H:%0.3f", "S:%0.3f", "V:%0.3f", "A:%0.3f" } // Long display for HSVA + }; + const int fmt_idx = hide_prefix ? 0 : (flags & ImGuiColorEditFlags_DisplayHSV) ? 2 : 1; + + float prev_split = 0.0f; + for (int n = 0; n < components; n++) + { + if (n > 0) + SameLine(0, style.ItemInnerSpacing.x); + float next_split = IM_TRUNC(w_items * (n + 1) / components); + SetNextItemWidth(ImMax(next_split - prev_split, 1.0f)); + prev_split = next_split; + + // FIXME: When ImGuiColorEditFlags_HDR flag is passed HS values snap in weird ways when SV values go below 0. + if (flags & ImGuiColorEditFlags_Float) + { + value_changed |= DragFloat(ids[n], &f[n], 1.0f / 255.0f, 0.0f, hdr ? 0.0f : 1.0f, fmt_table_float[fmt_idx][n]); + value_changed_as_float |= value_changed; + } + else + { + value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); + } + if (!(flags & ImGuiColorEditFlags_NoOptions)) + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); + } + } + else if ((flags & ImGuiColorEditFlags_DisplayHex) != 0 && (flags & ImGuiColorEditFlags_NoInputs) == 0) + { + // RGB Hexadecimal Input + char buf[64]; + if (alpha) + ImFormatString(buf, IM_ARRAYSIZE(buf), "#%02X%02X%02X%02X", ImClamp(i[0], 0, 255), ImClamp(i[1], 0, 255), ImClamp(i[2], 0, 255), ImClamp(i[3], 0, 255)); + else + ImFormatString(buf, IM_ARRAYSIZE(buf), "#%02X%02X%02X", ImClamp(i[0], 0, 255), ImClamp(i[1], 0, 255), ImClamp(i[2], 0, 255)); + SetNextItemWidth(w_inputs); + if (InputText("##Text", buf, IM_ARRAYSIZE(buf), ImGuiInputTextFlags_CharsUppercase)) + { + value_changed = true; + char* p = buf; + while (*p == '#' || ImCharIsBlankA(*p)) + p++; + i[0] = i[1] = i[2] = 0; + i[3] = 0xFF; // alpha default to 255 is not parsed by scanf (e.g. inputting #FFFFFF omitting alpha) + int r; + if (alpha) + r = sscanf(p, "%02X%02X%02X%02X", (unsigned int*)&i[0], (unsigned int*)&i[1], (unsigned int*)&i[2], (unsigned int*)&i[3]); // Treat at unsigned (%X is unsigned) + else + r = sscanf(p, "%02X%02X%02X", (unsigned int*)&i[0], (unsigned int*)&i[1], (unsigned int*)&i[2]); + IM_UNUSED(r); // Fixes C6031: Return value ignored: 'sscanf'. + } + if (!(flags & ImGuiColorEditFlags_NoOptions)) + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); + } + + ImGuiWindow* picker_active_window = NULL; + if (!(flags & ImGuiColorEditFlags_NoSmallPreview)) + { + const float button_offset_x = ((flags & ImGuiColorEditFlags_NoInputs) || (style.ColorButtonPosition == ImGuiDir_Left)) ? 0.0f : w_inputs + style.ItemInnerSpacing.x; + window->DC.CursorPos = ImVec2(pos.x + button_offset_x, pos.y); + + const ImVec4 col_v4(col[0], col[1], col[2], alpha ? col[3] : 1.0f); + if (ColorButton("##ColorButton", col_v4, flags)) + { + if (!(flags & ImGuiColorEditFlags_NoPicker)) + { + // Store current color and open a picker + g.ColorPickerRef = col_v4; + OpenPopup("picker"); + SetNextWindowPos(g.LastItemData.Rect.GetBL() + ImVec2(0.0f, style.ItemSpacing.y)); + } + } + if (!(flags & ImGuiColorEditFlags_NoOptions)) + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); + + if (BeginPopup("picker")) + { + if (g.CurrentWindow->BeginCount == 1) + { + picker_active_window = g.CurrentWindow; + if (label != label_display_end) + { + TextEx(label, label_display_end); + Spacing(); + } + ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar; + ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf; + SetNextItemWidth(square_sz * 12.0f); // Use 256 + bar sizes? + value_changed |= ColorPicker4("##picker", col, picker_flags, &g.ColorPickerRef.x); + } + EndPopup(); + } + } + + if (label != label_display_end && !(flags & ImGuiColorEditFlags_NoLabel)) + { + // Position not necessarily next to last submitted button (e.g. if style.ColorButtonPosition == ImGuiDir_Left), + // but we need to use SameLine() to setup baseline correctly. Might want to refactor SameLine() to simplify this. + SameLine(0.0f, style.ItemInnerSpacing.x); + window->DC.CursorPos.x = pos.x + ((flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x); + TextEx(label, label_display_end); + } + + // Convert back + if (value_changed && picker_active_window == NULL) + { + if (!value_changed_as_float) + for (int n = 0; n < 4; n++) + f[n] = i[n] / 255.0f; + if ((flags & ImGuiColorEditFlags_DisplayHSV) && (flags & ImGuiColorEditFlags_InputRGB)) + { + g.ColorEditSavedHue = f[0]; + g.ColorEditSavedSat = f[1]; + ColorConvertHSVtoRGB(f[0], f[1], f[2], f[0], f[1], f[2]); + g.ColorEditSavedID = g.ColorEditCurrentID; + g.ColorEditSavedColor = ColorConvertFloat4ToU32(ImVec4(f[0], f[1], f[2], 0)); + } + if ((flags & ImGuiColorEditFlags_DisplayRGB) && (flags & ImGuiColorEditFlags_InputHSV)) + ColorConvertRGBtoHSV(f[0], f[1], f[2], f[0], f[1], f[2]); + + col[0] = f[0]; + col[1] = f[1]; + col[2] = f[2]; + if (alpha) + col[3] = f[3]; + } + + if (set_current_color_edit_id) + g.ColorEditCurrentID = 0; + PopID(); + EndGroup(); + + // Drag and Drop Target + // NB: The flag test is merely an optional micro-optimization, BeginDragDropTarget() does the same test. + if ((g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredRect) && !(g.LastItemData.ItemFlags & ImGuiItemFlags_ReadOnly) && !(flags & ImGuiColorEditFlags_NoDragDrop) && BeginDragDropTarget()) + { + bool accepted_drag_drop = false; + if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F)) + { + memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512 //-V1086 + value_changed = accepted_drag_drop = true; + } + if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F)) + { + memcpy((float*)col, payload->Data, sizeof(float) * components); + value_changed = accepted_drag_drop = true; + } + + // Drag-drop payloads are always RGB + if (accepted_drag_drop && (flags & ImGuiColorEditFlags_InputHSV)) + ColorConvertRGBtoHSV(col[0], col[1], col[2], col[0], col[1], col[2]); + EndDragDropTarget(); + } + + // When picker is being actively used, use its active id so IsItemActive() will function on ColorEdit4(). + if (picker_active_window && g.ActiveId != 0 && g.ActiveIdWindow == picker_active_window) + g.LastItemData.ID = g.ActiveId; + + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId + MarkItemEdited(g.LastItemData.ID); + + return value_changed; +} + +bool ImGui::ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags) +{ + float col4[4] = { col[0], col[1], col[2], 1.0f }; + if (!ColorPicker4(label, col4, flags | ImGuiColorEditFlags_NoAlpha)) + return false; + col[0] = col4[0]; col[1] = col4[1]; col[2] = col4[2]; + return true; +} + +// Helper for ColorPicker4() +static void RenderArrowsForVerticalBar(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, float bar_w, float alpha) +{ + ImU32 alpha8 = IM_F32_TO_INT8_SAT(alpha); + ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x + 1, pos.y), ImVec2(half_sz.x + 2, half_sz.y + 1), ImGuiDir_Right, IM_COL32(0,0,0,alpha8)); + ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + half_sz.x, pos.y), half_sz, ImGuiDir_Right, IM_COL32(255,255,255,alpha8)); + ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x - 1, pos.y), ImVec2(half_sz.x + 2, half_sz.y + 1), ImGuiDir_Left, IM_COL32(0,0,0,alpha8)); + ImGui::RenderArrowPointingAt(draw_list, ImVec2(pos.x + bar_w - half_sz.x, pos.y), half_sz, ImGuiDir_Left, IM_COL32(255,255,255,alpha8)); +} + +// Note: ColorPicker4() only accesses 3 floats if ImGuiColorEditFlags_NoAlpha flag is set. +// (In C++ the 'float col[4]' notation for a function argument is equivalent to 'float* col', we only specify a size to facilitate understanding of the code.) +// FIXME: we adjust the big color square height based on item width, which may cause a flickering feedback loop (if automatic height makes a vertical scrollbar appears, affecting automatic width..) +// FIXME: this is trying to be aware of style.Alpha but not fully correct. Also, the color wheel will have overlapping glitches with (style.Alpha < 1.0) +bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags, const float* ref_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImDrawList* draw_list = window->DrawList; + ImGuiStyle& style = g.Style; + ImGuiIO& io = g.IO; + + const float width = CalcItemWidth(); + const bool is_readonly = ((g.NextItemData.ItemFlags | g.CurrentItemFlags) & ImGuiItemFlags_ReadOnly) != 0; + g.NextItemData.ClearFlags(); + + PushID(label); + const bool set_current_color_edit_id = (g.ColorEditCurrentID == 0); + if (set_current_color_edit_id) + g.ColorEditCurrentID = window->IDStack.back(); + BeginGroup(); + + if (!(flags & ImGuiColorEditFlags_NoSidePreview)) + flags |= ImGuiColorEditFlags_NoSmallPreview; + + // Context menu: display and store options. + if (!(flags & ImGuiColorEditFlags_NoOptions)) + ColorPickerOptionsPopup(col, flags); + + // Read stored options + if (!(flags & ImGuiColorEditFlags_PickerMask_)) + flags |= ((g.ColorEditOptions & ImGuiColorEditFlags_PickerMask_) ? g.ColorEditOptions : ImGuiColorEditFlags_DefaultOptions_) & ImGuiColorEditFlags_PickerMask_; + if (!(flags & ImGuiColorEditFlags_InputMask_)) + flags |= ((g.ColorEditOptions & ImGuiColorEditFlags_InputMask_) ? g.ColorEditOptions : ImGuiColorEditFlags_DefaultOptions_) & ImGuiColorEditFlags_InputMask_; + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_PickerMask_)); // Check that only 1 is selected + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_InputMask_)); // Check that only 1 is selected + if (!(flags & ImGuiColorEditFlags_NoOptions)) + flags |= (g.ColorEditOptions & ImGuiColorEditFlags_AlphaBar); + + // Setup + int components = (flags & ImGuiColorEditFlags_NoAlpha) ? 3 : 4; + bool alpha_bar = (flags & ImGuiColorEditFlags_AlphaBar) && !(flags & ImGuiColorEditFlags_NoAlpha); + ImVec2 picker_pos = window->DC.CursorPos; + float square_sz = GetFrameHeight(); + float bars_width = square_sz; // Arbitrary smallish width of Hue/Alpha picking bars + float sv_picker_size = ImMax(bars_width * 1, width - (alpha_bar ? 2 : 1) * (bars_width + style.ItemInnerSpacing.x)); // Saturation/Value picking box + float bar0_pos_x = picker_pos.x + sv_picker_size + style.ItemInnerSpacing.x; + float bar1_pos_x = bar0_pos_x + bars_width + style.ItemInnerSpacing.x; + float bars_triangles_half_sz = IM_TRUNC(bars_width * 0.20f); + + float backup_initial_col[4]; + memcpy(backup_initial_col, col, components * sizeof(float)); + + float wheel_thickness = sv_picker_size * 0.08f; + float wheel_r_outer = sv_picker_size * 0.50f; + float wheel_r_inner = wheel_r_outer - wheel_thickness; + ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_size * 0.5f); + + // Note: the triangle is displayed rotated with triangle_pa pointing to Hue, but most coordinates stays unrotated for logic. + float triangle_r = wheel_r_inner - (int)(sv_picker_size * 0.027f); + ImVec2 triangle_pa = ImVec2(triangle_r, 0.0f); // Hue point. + ImVec2 triangle_pb = ImVec2(triangle_r * -0.5f, triangle_r * -0.866025f); // Black point. + ImVec2 triangle_pc = ImVec2(triangle_r * -0.5f, triangle_r * +0.866025f); // White point. + + float H = col[0], S = col[1], V = col[2]; + float R = col[0], G = col[1], B = col[2]; + if (flags & ImGuiColorEditFlags_InputRGB) + { + // Hue is lost when converting from grayscale rgb (saturation=0). Restore it. + ColorConvertRGBtoHSV(R, G, B, H, S, V); + ColorEditRestoreHS(col, &H, &S, &V); + } + else if (flags & ImGuiColorEditFlags_InputHSV) + { + ColorConvertHSVtoRGB(H, S, V, R, G, B); + } + + bool value_changed = false, value_changed_h = false, value_changed_sv = false; + + PushItemFlag(ImGuiItemFlags_NoNav, true); + if (flags & ImGuiColorEditFlags_PickerHueWheel) + { + // Hue wheel + SV triangle logic + InvisibleButton("hsv", ImVec2(sv_picker_size + style.ItemInnerSpacing.x + bars_width, sv_picker_size)); + if (IsItemActive() && !is_readonly) + { + ImVec2 initial_off = g.IO.MouseClickedPos[0] - wheel_center; + ImVec2 current_off = g.IO.MousePos - wheel_center; + float initial_dist2 = ImLengthSqr(initial_off); + if (initial_dist2 >= (wheel_r_inner - 1) * (wheel_r_inner - 1) && initial_dist2 <= (wheel_r_outer + 1) * (wheel_r_outer + 1)) + { + // Interactive with Hue wheel + H = ImAtan2(current_off.y, current_off.x) / IM_PI * 0.5f; + if (H < 0.0f) + H += 1.0f; + value_changed = value_changed_h = true; + } + float cos_hue_angle = ImCos(-H * 2.0f * IM_PI); + float sin_hue_angle = ImSin(-H * 2.0f * IM_PI); + if (ImTriangleContainsPoint(triangle_pa, triangle_pb, triangle_pc, ImRotate(initial_off, cos_hue_angle, sin_hue_angle))) + { + // Interacting with SV triangle + ImVec2 current_off_unrotated = ImRotate(current_off, cos_hue_angle, sin_hue_angle); + if (!ImTriangleContainsPoint(triangle_pa, triangle_pb, triangle_pc, current_off_unrotated)) + current_off_unrotated = ImTriangleClosestPoint(triangle_pa, triangle_pb, triangle_pc, current_off_unrotated); + float uu, vv, ww; + ImTriangleBarycentricCoords(triangle_pa, triangle_pb, triangle_pc, current_off_unrotated, uu, vv, ww); + V = ImClamp(1.0f - vv, 0.0001f, 1.0f); + S = ImClamp(uu / V, 0.0001f, 1.0f); + value_changed = value_changed_sv = true; + } + } + if (!(flags & ImGuiColorEditFlags_NoOptions)) + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); + } + else if (flags & ImGuiColorEditFlags_PickerHueBar) + { + // SV rectangle logic + InvisibleButton("sv", ImVec2(sv_picker_size, sv_picker_size)); + if (IsItemActive() && !is_readonly) + { + S = ImSaturate((io.MousePos.x - picker_pos.x) / (sv_picker_size - 1)); + V = 1.0f - ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size - 1)); + ColorEditRestoreH(col, &H); // Greatly reduces hue jitter and reset to 0 when hue == 255 and color is rapidly modified using SV square. + value_changed = value_changed_sv = true; + } + if (!(flags & ImGuiColorEditFlags_NoOptions)) + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); + + // Hue bar logic + SetCursorScreenPos(ImVec2(bar0_pos_x, picker_pos.y)); + InvisibleButton("hue", ImVec2(bars_width, sv_picker_size)); + if (IsItemActive() && !is_readonly) + { + H = ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size - 1)); + value_changed = value_changed_h = true; + } + } + + // Alpha bar logic + if (alpha_bar) + { + SetCursorScreenPos(ImVec2(bar1_pos_x, picker_pos.y)); + InvisibleButton("alpha", ImVec2(bars_width, sv_picker_size)); + if (IsItemActive()) + { + col[3] = 1.0f - ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size - 1)); + value_changed = true; + } + } + PopItemFlag(); // ImGuiItemFlags_NoNav + + if (!(flags & ImGuiColorEditFlags_NoSidePreview)) + { + SameLine(0, style.ItemInnerSpacing.x); + BeginGroup(); + } + + if (!(flags & ImGuiColorEditFlags_NoLabel)) + { + const char* label_display_end = FindRenderedTextEnd(label); + if (label != label_display_end) + { + if ((flags & ImGuiColorEditFlags_NoSidePreview)) + SameLine(0, style.ItemInnerSpacing.x); + TextEx(label, label_display_end); + } + } + + if (!(flags & ImGuiColorEditFlags_NoSidePreview)) + { + PushItemFlag(ImGuiItemFlags_NoNavDefaultFocus, true); + ImVec4 col_v4(col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); + if ((flags & ImGuiColorEditFlags_NoLabel)) + Text("Current"); + + ImGuiColorEditFlags sub_flags_to_forward = ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_AlphaMask_ | ImGuiColorEditFlags_NoTooltip; + ColorButton("##current", col_v4, (flags & sub_flags_to_forward), ImVec2(square_sz * 3, square_sz * 2)); + if (ref_col != NULL) + { + Text("Original"); + ImVec4 ref_col_v4(ref_col[0], ref_col[1], ref_col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : ref_col[3]); + if (ColorButton("##original", ref_col_v4, (flags & sub_flags_to_forward), ImVec2(square_sz * 3, square_sz * 2))) + { + memcpy(col, ref_col, components * sizeof(float)); + value_changed = true; + } + } + PopItemFlag(); + EndGroup(); + } + + // Convert back color to RGB + if (value_changed_h || value_changed_sv) + { + if (flags & ImGuiColorEditFlags_InputRGB) + { + ColorConvertHSVtoRGB(H, S, V, col[0], col[1], col[2]); + g.ColorEditSavedHue = H; + g.ColorEditSavedSat = S; + g.ColorEditSavedID = g.ColorEditCurrentID; + g.ColorEditSavedColor = ColorConvertFloat4ToU32(ImVec4(col[0], col[1], col[2], 0)); + } + else if (flags & ImGuiColorEditFlags_InputHSV) + { + col[0] = H; + col[1] = S; + col[2] = V; + } + } + + // R,G,B and H,S,V slider color editor + bool value_changed_fix_hue_wrap = false; + if ((flags & ImGuiColorEditFlags_NoInputs) == 0) + { + PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width - picker_pos.x); + ImGuiColorEditFlags sub_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_AlphaMask_ | ImGuiColorEditFlags_NoOptions | ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoSmallPreview; + ImGuiColorEditFlags sub_flags = (flags & sub_flags_to_forward) | ImGuiColorEditFlags_NoPicker; + if (flags & ImGuiColorEditFlags_DisplayRGB || (flags & ImGuiColorEditFlags_DisplayMask_) == 0) + if (ColorEdit4("##rgb", col, sub_flags | ImGuiColorEditFlags_DisplayRGB)) + { + // FIXME: Hackily differentiating using the DragInt (ActiveId != 0 && !ActiveIdAllowOverlap) vs. using the InputText or DropTarget. + // For the later we don't want to run the hue-wrap canceling code. If you are well versed in HSV picker please provide your input! (See #2050) + value_changed_fix_hue_wrap = (g.ActiveId != 0 && !g.ActiveIdAllowOverlap); + value_changed = true; + } + if (flags & ImGuiColorEditFlags_DisplayHSV || (flags & ImGuiColorEditFlags_DisplayMask_) == 0) + value_changed |= ColorEdit4("##hsv", col, sub_flags | ImGuiColorEditFlags_DisplayHSV); + if (flags & ImGuiColorEditFlags_DisplayHex || (flags & ImGuiColorEditFlags_DisplayMask_) == 0) + value_changed |= ColorEdit4("##hex", col, sub_flags | ImGuiColorEditFlags_DisplayHex); + PopItemWidth(); + } + + // Try to cancel hue wrap (after ColorEdit4 call), if any + if (value_changed_fix_hue_wrap && (flags & ImGuiColorEditFlags_InputRGB)) + { + float new_H, new_S, new_V; + ColorConvertRGBtoHSV(col[0], col[1], col[2], new_H, new_S, new_V); + if (new_H <= 0 && H > 0) + { + if (new_V <= 0 && V != new_V) + ColorConvertHSVtoRGB(H, S, new_V <= 0 ? V * 0.5f : new_V, col[0], col[1], col[2]); + else if (new_S <= 0) + ColorConvertHSVtoRGB(H, new_S <= 0 ? S * 0.5f : new_S, new_V, col[0], col[1], col[2]); + } + } + + if (value_changed) + { + if (flags & ImGuiColorEditFlags_InputRGB) + { + R = col[0]; + G = col[1]; + B = col[2]; + ColorConvertRGBtoHSV(R, G, B, H, S, V); + ColorEditRestoreHS(col, &H, &S, &V); // Fix local Hue as display below will use it immediately. + } + else if (flags & ImGuiColorEditFlags_InputHSV) + { + H = col[0]; + S = col[1]; + V = col[2]; + ColorConvertHSVtoRGB(H, S, V, R, G, B); + } + } + + const int style_alpha8 = IM_F32_TO_INT8_SAT(style.Alpha); + const ImU32 col_black = IM_COL32(0,0,0,style_alpha8); + const ImU32 col_white = IM_COL32(255,255,255,style_alpha8); + const ImU32 col_midgrey = IM_COL32(128,128,128,style_alpha8); + const ImU32 col_hues[6 + 1] = { IM_COL32(255,0,0,style_alpha8), IM_COL32(255,255,0,style_alpha8), IM_COL32(0,255,0,style_alpha8), IM_COL32(0,255,255,style_alpha8), IM_COL32(0,0,255,style_alpha8), IM_COL32(255,0,255,style_alpha8), IM_COL32(255,0,0,style_alpha8) }; + + ImVec4 hue_color_f(1, 1, 1, style.Alpha); ColorConvertHSVtoRGB(H, 1, 1, hue_color_f.x, hue_color_f.y, hue_color_f.z); + ImU32 hue_color32 = ColorConvertFloat4ToU32(hue_color_f); + ImU32 user_col32_striped_of_alpha = ColorConvertFloat4ToU32(ImVec4(R, G, B, style.Alpha)); // Important: this is still including the main rendering/style alpha!! + + ImVec2 sv_cursor_pos; + + if (flags & ImGuiColorEditFlags_PickerHueWheel) + { + // Render Hue Wheel + const float aeps = 0.5f / wheel_r_outer; // Half a pixel arc length in radians (2pi cancels out). + const int segment_per_arc = ImMax(4, (int)wheel_r_outer / 12); + for (int n = 0; n < 6; n++) + { + const float a0 = (n) /6.0f * 2.0f * IM_PI - aeps; + const float a1 = (n+1.0f)/6.0f * 2.0f * IM_PI + aeps; + const int vert_start_idx = draw_list->VtxBuffer.Size; + draw_list->PathArcTo(wheel_center, (wheel_r_inner + wheel_r_outer)*0.5f, a0, a1, segment_per_arc); + draw_list->PathStroke(col_white, 0, wheel_thickness); + const int vert_end_idx = draw_list->VtxBuffer.Size; + + // Paint colors over existing vertices + ImVec2 gradient_p0(wheel_center.x + ImCos(a0) * wheel_r_inner, wheel_center.y + ImSin(a0) * wheel_r_inner); + ImVec2 gradient_p1(wheel_center.x + ImCos(a1) * wheel_r_inner, wheel_center.y + ImSin(a1) * wheel_r_inner); + ShadeVertsLinearColorGradientKeepAlpha(draw_list, vert_start_idx, vert_end_idx, gradient_p0, gradient_p1, col_hues[n], col_hues[n + 1]); + } + + // Render Cursor + preview on Hue Wheel + float cos_hue_angle = ImCos(H * 2.0f * IM_PI); + float sin_hue_angle = ImSin(H * 2.0f * IM_PI); + ImVec2 hue_cursor_pos(wheel_center.x + cos_hue_angle * (wheel_r_inner + wheel_r_outer) * 0.5f, wheel_center.y + sin_hue_angle * (wheel_r_inner + wheel_r_outer) * 0.5f); + float hue_cursor_rad = value_changed_h ? wheel_thickness * 0.65f : wheel_thickness * 0.55f; + int hue_cursor_segments = draw_list->_CalcCircleAutoSegmentCount(hue_cursor_rad); // Lock segment count so the +1 one matches others. + draw_list->AddCircleFilled(hue_cursor_pos, hue_cursor_rad, hue_color32, hue_cursor_segments); + draw_list->AddCircle(hue_cursor_pos, hue_cursor_rad + 1, col_midgrey, hue_cursor_segments); + draw_list->AddCircle(hue_cursor_pos, hue_cursor_rad, col_white, hue_cursor_segments); + + // Render SV triangle (rotated according to hue) + ImVec2 tra = wheel_center + ImRotate(triangle_pa, cos_hue_angle, sin_hue_angle); + ImVec2 trb = wheel_center + ImRotate(triangle_pb, cos_hue_angle, sin_hue_angle); + ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle); + ImVec2 uv_white = GetFontTexUvWhitePixel(); + draw_list->PrimReserve(3, 3); + draw_list->PrimVtx(tra, uv_white, hue_color32); + draw_list->PrimVtx(trb, uv_white, col_black); + draw_list->PrimVtx(trc, uv_white, col_white); + draw_list->AddTriangle(tra, trb, trc, col_midgrey, 1.5f); + sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V)); + } + else if (flags & ImGuiColorEditFlags_PickerHueBar) + { + // Render SV Square + draw_list->AddRectFilledMultiColor(picker_pos, picker_pos + ImVec2(sv_picker_size, sv_picker_size), col_white, hue_color32, hue_color32, col_white); + draw_list->AddRectFilledMultiColor(picker_pos, picker_pos + ImVec2(sv_picker_size, sv_picker_size), 0, 0, col_black, col_black); + RenderFrameBorder(picker_pos, picker_pos + ImVec2(sv_picker_size, sv_picker_size), 0.0f); + sv_cursor_pos.x = ImClamp(IM_ROUND(picker_pos.x + ImSaturate(S) * sv_picker_size), picker_pos.x + 2, picker_pos.x + sv_picker_size - 2); // Sneakily prevent the circle to stick out too much + sv_cursor_pos.y = ImClamp(IM_ROUND(picker_pos.y + ImSaturate(1 - V) * sv_picker_size), picker_pos.y + 2, picker_pos.y + sv_picker_size - 2); + + // Render Hue Bar + for (int i = 0; i < 6; ++i) + draw_list->AddRectFilledMultiColor(ImVec2(bar0_pos_x, picker_pos.y + i * (sv_picker_size / 6)), ImVec2(bar0_pos_x + bars_width, picker_pos.y + (i + 1) * (sv_picker_size / 6)), col_hues[i], col_hues[i], col_hues[i + 1], col_hues[i + 1]); + float bar0_line_y = IM_ROUND(picker_pos.y + H * sv_picker_size); + RenderFrameBorder(ImVec2(bar0_pos_x, picker_pos.y), ImVec2(bar0_pos_x + bars_width, picker_pos.y + sv_picker_size), 0.0f); + RenderArrowsForVerticalBar(draw_list, ImVec2(bar0_pos_x - 1, bar0_line_y), ImVec2(bars_triangles_half_sz + 1, bars_triangles_half_sz), bars_width + 2.0f, style.Alpha); + } + + // Render cursor/preview circle (clamp S/V within 0..1 range because floating points colors may lead HSV values to be out of range) + float sv_cursor_rad = value_changed_sv ? wheel_thickness * 0.55f : wheel_thickness * 0.40f; + int sv_cursor_segments = draw_list->_CalcCircleAutoSegmentCount(sv_cursor_rad); // Lock segment count so the +1 one matches others. + draw_list->AddCircleFilled(sv_cursor_pos, sv_cursor_rad, user_col32_striped_of_alpha, sv_cursor_segments); + draw_list->AddCircle(sv_cursor_pos, sv_cursor_rad + 1, col_midgrey, sv_cursor_segments); + draw_list->AddCircle(sv_cursor_pos, sv_cursor_rad, col_white, sv_cursor_segments); + + // Render alpha bar + if (alpha_bar) + { + float alpha = ImSaturate(col[3]); + ImRect bar1_bb(bar1_pos_x, picker_pos.y, bar1_pos_x + bars_width, picker_pos.y + sv_picker_size); + RenderColorRectWithAlphaCheckerboard(draw_list, bar1_bb.Min, bar1_bb.Max, 0, bar1_bb.GetWidth() / 2.0f, ImVec2(0.0f, 0.0f)); + draw_list->AddRectFilledMultiColor(bar1_bb.Min, bar1_bb.Max, user_col32_striped_of_alpha, user_col32_striped_of_alpha, user_col32_striped_of_alpha & ~IM_COL32_A_MASK, user_col32_striped_of_alpha & ~IM_COL32_A_MASK); + float bar1_line_y = IM_ROUND(picker_pos.y + (1.0f - alpha) * sv_picker_size); + RenderFrameBorder(bar1_bb.Min, bar1_bb.Max, 0.0f); + RenderArrowsForVerticalBar(draw_list, ImVec2(bar1_pos_x - 1, bar1_line_y), ImVec2(bars_triangles_half_sz + 1, bars_triangles_half_sz), bars_width + 2.0f, style.Alpha); + } + + EndGroup(); + + if (value_changed && memcmp(backup_initial_col, col, components * sizeof(float)) == 0) + value_changed = false; + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId + MarkItemEdited(g.LastItemData.ID); + + if (set_current_color_edit_id) + g.ColorEditCurrentID = 0; + PopID(); + + return value_changed; +} + +// A little color square. Return true when clicked. +// FIXME: May want to display/ignore the alpha component in the color display? Yet show it in the tooltip. +// 'desc_id' is not called 'label' because we don't display it next to the button, but only in the tooltip. +// Note that 'col' may be encoded in HSV if ImGuiColorEditFlags_InputHSV is set. +bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags, const ImVec2& size_arg) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiID id = window->GetID(desc_id); + const float default_size = GetFrameHeight(); + const ImVec2 size(size_arg.x == 0.0f ? default_size : size_arg.x, size_arg.y == 0.0f ? default_size : size_arg.y); + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); + ItemSize(bb, (size.y >= default_size) ? g.Style.FramePadding.y : 0.0f); + if (!ItemAdd(bb, id)) + return false; + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held); + + if (flags & (ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaOpaque)) + flags &= ~(ImGuiColorEditFlags_AlphaNoBg | ImGuiColorEditFlags_AlphaPreviewHalf); + + ImVec4 col_rgb = col; + if (flags & ImGuiColorEditFlags_InputHSV) + ColorConvertHSVtoRGB(col_rgb.x, col_rgb.y, col_rgb.z, col_rgb.x, col_rgb.y, col_rgb.z); + + ImVec4 col_rgb_without_alpha(col_rgb.x, col_rgb.y, col_rgb.z, 1.0f); + float grid_step = ImMin(size.x, size.y) / 2.99f; + float rounding = ImMin(g.Style.FrameRounding, grid_step * 0.5f); + ImRect bb_inner = bb; + float off = 0.0f; + if ((flags & ImGuiColorEditFlags_NoBorder) == 0) + { + off = -0.75f; // The border (using Col_FrameBg) tends to look off when color is near-opaque and rounding is enabled. This offset seemed like a good middle ground to reduce those artifacts. + bb_inner.Expand(off); + } + if ((flags & ImGuiColorEditFlags_AlphaPreviewHalf) && col_rgb.w < 1.0f) + { + float mid_x = IM_ROUND((bb_inner.Min.x + bb_inner.Max.x) * 0.5f); + if ((flags & ImGuiColorEditFlags_AlphaNoBg) == 0) + RenderColorRectWithAlphaCheckerboard(window->DrawList, ImVec2(bb_inner.Min.x + grid_step, bb_inner.Min.y), bb_inner.Max, GetColorU32(col_rgb), grid_step, ImVec2(-grid_step + off, off), rounding, ImDrawFlags_RoundCornersRight); + else + window->DrawList->AddRectFilled(ImVec2(bb_inner.Min.x + grid_step, bb_inner.Min.y), bb_inner.Max, GetColorU32(col_rgb), rounding, ImDrawFlags_RoundCornersRight); + window->DrawList->AddRectFilled(bb_inner.Min, ImVec2(mid_x, bb_inner.Max.y), GetColorU32(col_rgb_without_alpha), rounding, ImDrawFlags_RoundCornersLeft); + } + else + { + // Because GetColorU32() multiplies by the global style Alpha and we don't want to display a checkerboard if the source code had no alpha + ImVec4 col_source = (flags & ImGuiColorEditFlags_AlphaOpaque) ? col_rgb_without_alpha : col_rgb; + if (col_source.w < 1.0f && (flags & ImGuiColorEditFlags_AlphaNoBg) == 0) + RenderColorRectWithAlphaCheckerboard(window->DrawList, bb_inner.Min, bb_inner.Max, GetColorU32(col_source), grid_step, ImVec2(off, off), rounding); + else + window->DrawList->AddRectFilled(bb_inner.Min, bb_inner.Max, GetColorU32(col_source), rounding); + } + RenderNavCursor(bb, id); + if ((flags & ImGuiColorEditFlags_NoBorder) == 0) + { + if (g.Style.FrameBorderSize > 0.0f) + RenderFrameBorder(bb.Min, bb.Max, rounding); + else + window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), rounding); // Color button are often in need of some sort of border + } + + // Drag and Drop Source + // NB: The ActiveId test is merely an optional micro-optimization, BeginDragDropSource() does the same test. + if (g.ActiveId == id && !(flags & ImGuiColorEditFlags_NoDragDrop) && BeginDragDropSource()) + { + if (flags & ImGuiColorEditFlags_NoAlpha) + SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F, &col_rgb, sizeof(float) * 3, ImGuiCond_Once); + else + SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F, &col_rgb, sizeof(float) * 4, ImGuiCond_Once); + ColorButton(desc_id, col, flags); + SameLine(); + TextEx("Color"); + EndDragDropSource(); + } + + // Tooltip + if (!(flags & ImGuiColorEditFlags_NoTooltip) && hovered && IsItemHovered(ImGuiHoveredFlags_ForTooltip)) + ColorTooltip(desc_id, &col.x, flags & (ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_AlphaMask_)); + + return pressed; +} + +// Initialize/override default color options +void ImGui::SetColorEditOptions(ImGuiColorEditFlags flags) +{ + ImGuiContext& g = *GImGui; + if ((flags & ImGuiColorEditFlags_DisplayMask_) == 0) + flags |= ImGuiColorEditFlags_DefaultOptions_ & ImGuiColorEditFlags_DisplayMask_; + if ((flags & ImGuiColorEditFlags_DataTypeMask_) == 0) + flags |= ImGuiColorEditFlags_DefaultOptions_ & ImGuiColorEditFlags_DataTypeMask_; + if ((flags & ImGuiColorEditFlags_PickerMask_) == 0) + flags |= ImGuiColorEditFlags_DefaultOptions_ & ImGuiColorEditFlags_PickerMask_; + if ((flags & ImGuiColorEditFlags_InputMask_) == 0) + flags |= ImGuiColorEditFlags_DefaultOptions_ & ImGuiColorEditFlags_InputMask_; + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_DisplayMask_)); // Check only 1 option is selected + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_DataTypeMask_)); // Check only 1 option is selected + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_PickerMask_)); // Check only 1 option is selected + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiColorEditFlags_InputMask_)); // Check only 1 option is selected + g.ColorEditOptions = flags; +} + +// Note: only access 3 floats if ImGuiColorEditFlags_NoAlpha flag is set. +void ImGui::ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags flags) +{ + ImGuiContext& g = *GImGui; + + if (!BeginTooltipEx(ImGuiTooltipFlags_OverridePrevious, ImGuiWindowFlags_None)) + return; + const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text; + if (text_end > text) + { + TextEx(text, text_end); + Separator(); + } + + ImVec2 sz(g.FontSize * 3 + g.Style.FramePadding.y * 2, g.FontSize * 3 + g.Style.FramePadding.y * 2); + ImVec4 cf(col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); + int cr = IM_F32_TO_INT8_SAT(col[0]), cg = IM_F32_TO_INT8_SAT(col[1]), cb = IM_F32_TO_INT8_SAT(col[2]), ca = (flags & ImGuiColorEditFlags_NoAlpha) ? 255 : IM_F32_TO_INT8_SAT(col[3]); + ImGuiColorEditFlags flags_to_forward = ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_AlphaMask_; + ColorButton("##preview", cf, (flags & flags_to_forward) | ImGuiColorEditFlags_NoTooltip, sz); + SameLine(); + if ((flags & ImGuiColorEditFlags_InputRGB) || !(flags & ImGuiColorEditFlags_InputMask_)) + { + if (flags & ImGuiColorEditFlags_NoAlpha) + Text("#%02X%02X%02X\nR: %d, G: %d, B: %d\n(%.3f, %.3f, %.3f)", cr, cg, cb, cr, cg, cb, col[0], col[1], col[2]); + else + Text("#%02X%02X%02X%02X\nR:%d, G:%d, B:%d, A:%d\n(%.3f, %.3f, %.3f, %.3f)", cr, cg, cb, ca, cr, cg, cb, ca, col[0], col[1], col[2], col[3]); + } + else if (flags & ImGuiColorEditFlags_InputHSV) + { + if (flags & ImGuiColorEditFlags_NoAlpha) + Text("H: %.3f, S: %.3f, V: %.3f", col[0], col[1], col[2]); + else + Text("H: %.3f, S: %.3f, V: %.3f, A: %.3f", col[0], col[1], col[2], col[3]); + } + EndTooltip(); +} + +void ImGui::ColorEditOptionsPopup(const float* col, ImGuiColorEditFlags flags) +{ + bool allow_opt_inputs = !(flags & ImGuiColorEditFlags_DisplayMask_); + bool allow_opt_datatype = !(flags & ImGuiColorEditFlags_DataTypeMask_); + if ((!allow_opt_inputs && !allow_opt_datatype) || !BeginPopup("context")) + return; + + ImGuiContext& g = *GImGui; + PushItemFlag(ImGuiItemFlags_NoMarkEdited, true); + ImGuiColorEditFlags opts = g.ColorEditOptions; + if (allow_opt_inputs) + { + if (RadioButton("RGB", (opts & ImGuiColorEditFlags_DisplayRGB) != 0)) opts = (opts & ~ImGuiColorEditFlags_DisplayMask_) | ImGuiColorEditFlags_DisplayRGB; + if (RadioButton("HSV", (opts & ImGuiColorEditFlags_DisplayHSV) != 0)) opts = (opts & ~ImGuiColorEditFlags_DisplayMask_) | ImGuiColorEditFlags_DisplayHSV; + if (RadioButton("Hex", (opts & ImGuiColorEditFlags_DisplayHex) != 0)) opts = (opts & ~ImGuiColorEditFlags_DisplayMask_) | ImGuiColorEditFlags_DisplayHex; + } + if (allow_opt_datatype) + { + if (allow_opt_inputs) Separator(); + if (RadioButton("0..255", (opts & ImGuiColorEditFlags_Uint8) != 0)) opts = (opts & ~ImGuiColorEditFlags_DataTypeMask_) | ImGuiColorEditFlags_Uint8; + if (RadioButton("0.00..1.00", (opts & ImGuiColorEditFlags_Float) != 0)) opts = (opts & ~ImGuiColorEditFlags_DataTypeMask_) | ImGuiColorEditFlags_Float; + } + + if (allow_opt_inputs || allow_opt_datatype) + Separator(); + if (Button("Copy as..", ImVec2(-1, 0))) + OpenPopup("Copy"); + if (BeginPopup("Copy")) + { + int cr = IM_F32_TO_INT8_SAT(col[0]), cg = IM_F32_TO_INT8_SAT(col[1]), cb = IM_F32_TO_INT8_SAT(col[2]), ca = (flags & ImGuiColorEditFlags_NoAlpha) ? 255 : IM_F32_TO_INT8_SAT(col[3]); + char buf[64]; + ImFormatString(buf, IM_ARRAYSIZE(buf), "(%.3ff, %.3ff, %.3ff, %.3ff)", col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); + if (Selectable(buf)) + SetClipboardText(buf); + ImFormatString(buf, IM_ARRAYSIZE(buf), "(%d,%d,%d,%d)", cr, cg, cb, ca); + if (Selectable(buf)) + SetClipboardText(buf); + ImFormatString(buf, IM_ARRAYSIZE(buf), "#%02X%02X%02X", cr, cg, cb); + if (Selectable(buf)) + SetClipboardText(buf); + if (!(flags & ImGuiColorEditFlags_NoAlpha)) + { + ImFormatString(buf, IM_ARRAYSIZE(buf), "#%02X%02X%02X%02X", cr, cg, cb, ca); + if (Selectable(buf)) + SetClipboardText(buf); + } + EndPopup(); + } + + g.ColorEditOptions = opts; + PopItemFlag(); + EndPopup(); +} + +void ImGui::ColorPickerOptionsPopup(const float* ref_col, ImGuiColorEditFlags flags) +{ + bool allow_opt_picker = !(flags & ImGuiColorEditFlags_PickerMask_); + bool allow_opt_alpha_bar = !(flags & ImGuiColorEditFlags_NoAlpha) && !(flags & ImGuiColorEditFlags_AlphaBar); + if ((!allow_opt_picker && !allow_opt_alpha_bar) || !BeginPopup("context")) + return; + + ImGuiContext& g = *GImGui; + PushItemFlag(ImGuiItemFlags_NoMarkEdited, true); + if (allow_opt_picker) + { + ImVec2 picker_size(g.FontSize * 8, ImMax(g.FontSize * 8 - (GetFrameHeight() + g.Style.ItemInnerSpacing.x), 1.0f)); // FIXME: Picker size copied from main picker function + PushItemWidth(picker_size.x); + for (int picker_type = 0; picker_type < 2; picker_type++) + { + // Draw small/thumbnail version of each picker type (over an invisible button for selection) + if (picker_type > 0) Separator(); + PushID(picker_type); + ImGuiColorEditFlags picker_flags = ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoOptions | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_NoSidePreview | (flags & ImGuiColorEditFlags_NoAlpha); + if (picker_type == 0) picker_flags |= ImGuiColorEditFlags_PickerHueBar; + if (picker_type == 1) picker_flags |= ImGuiColorEditFlags_PickerHueWheel; + ImVec2 backup_pos = GetCursorScreenPos(); + if (Selectable("##selectable", false, 0, picker_size)) // By default, Selectable() is closing popup + g.ColorEditOptions = (g.ColorEditOptions & ~ImGuiColorEditFlags_PickerMask_) | (picker_flags & ImGuiColorEditFlags_PickerMask_); + SetCursorScreenPos(backup_pos); + ImVec4 previewing_ref_col; + memcpy(&previewing_ref_col, ref_col, sizeof(float) * ((picker_flags & ImGuiColorEditFlags_NoAlpha) ? 3 : 4)); + ColorPicker4("##previewing_picker", &previewing_ref_col.x, picker_flags); + PopID(); + } + PopItemWidth(); + } + if (allow_opt_alpha_bar) + { + if (allow_opt_picker) Separator(); + CheckboxFlags("Alpha Bar", &g.ColorEditOptions, ImGuiColorEditFlags_AlphaBar); + } + PopItemFlag(); + EndPopup(); +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: TreeNode, CollapsingHeader, etc. +//------------------------------------------------------------------------- +// - TreeNode() +// - TreeNodeV() +// - TreeNodeEx() +// - TreeNodeExV() +// - TreeNodeBehavior() [Internal] +// - TreePush() +// - TreePop() +// - GetTreeNodeToLabelSpacing() +// - SetNextItemOpen() +// - CollapsingHeader() +//------------------------------------------------------------------------- + +bool ImGui::TreeNode(const char* str_id, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + bool is_open = TreeNodeExV(str_id, 0, fmt, args); + va_end(args); + return is_open; +} + +bool ImGui::TreeNode(const void* ptr_id, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + bool is_open = TreeNodeExV(ptr_id, 0, fmt, args); + va_end(args); + return is_open; +} + +bool ImGui::TreeNode(const char* label) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + ImGuiID id = window->GetID(label); + return TreeNodeBehavior(id, ImGuiTreeNodeFlags_None, label, NULL); +} + +bool ImGui::TreeNodeV(const char* str_id, const char* fmt, va_list args) +{ + return TreeNodeExV(str_id, 0, fmt, args); +} + +bool ImGui::TreeNodeV(const void* ptr_id, const char* fmt, va_list args) +{ + return TreeNodeExV(ptr_id, 0, fmt, args); +} + +bool ImGui::TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + ImGuiID id = window->GetID(label); + return TreeNodeBehavior(id, flags, label, NULL); +} + +bool ImGui::TreeNodeEx(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + bool is_open = TreeNodeExV(str_id, flags, fmt, args); + va_end(args); + return is_open; +} + +bool ImGui::TreeNodeEx(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + bool is_open = TreeNodeExV(ptr_id, flags, fmt, args); + va_end(args); + return is_open; +} + +bool ImGui::TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiID id = window->GetID(str_id); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(id, flags, label, label_end); +} + +bool ImGui::TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiID id = window->GetID(ptr_id); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(id, flags, label, label_end); +} + +bool ImGui::TreeNodeGetOpen(ImGuiID storage_id) +{ + ImGuiContext& g = *GImGui; + ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; + return storage->GetInt(storage_id, 0) != 0; +} + +void ImGui::TreeNodeSetOpen(ImGuiID storage_id, bool open) +{ + ImGuiContext& g = *GImGui; + ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; + storage->SetInt(storage_id, open ? 1 : 0); +} + +bool ImGui::TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags) +{ + if (flags & ImGuiTreeNodeFlags_Leaf) + return true; + + // We only write to the tree storage if the user clicks, or explicitly use the SetNextItemOpen function + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiStorage* storage = window->DC.StateStorage; + + bool is_open; + if (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasOpen) + { + if (g.NextItemData.OpenCond & ImGuiCond_Always) + { + is_open = g.NextItemData.OpenVal; + TreeNodeSetOpen(storage_id, is_open); + } + else + { + // We treat ImGuiCond_Once and ImGuiCond_FirstUseEver the same because tree node state are not saved persistently. + const int stored_value = storage->GetInt(storage_id, -1); + if (stored_value == -1) + { + is_open = g.NextItemData.OpenVal; + TreeNodeSetOpen(storage_id, is_open); + } + else + { + is_open = stored_value != 0; + } + } + } + else + { + is_open = storage->GetInt(storage_id, (flags & ImGuiTreeNodeFlags_DefaultOpen) ? 1 : 0) != 0; + } + + // When logging is enabled, we automatically expand tree nodes (but *NOT* collapsing headers.. seems like sensible behavior). + // NB- If we are above max depth we still allow manually opened nodes to be logged. + if (g.LogEnabled && !(flags & ImGuiTreeNodeFlags_NoAutoOpenOnLog) && (window->DC.TreeDepth - g.LogDepthRef) < g.LogDepthToExpand) + is_open = true; + + return is_open; +} + +// Store ImGuiTreeNodeStackData for just submitted node. +// Currently only supports 32 level deep and we are fine with (1 << Depth) overflowing into a zero, easy to increase. +static void TreeNodeStoreStackData(ImGuiTreeNodeFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + g.TreeNodeStack.resize(g.TreeNodeStack.Size + 1); + ImGuiTreeNodeStackData* tree_node_data = &g.TreeNodeStack.back(); + tree_node_data->ID = g.LastItemData.ID; + tree_node_data->TreeFlags = flags; + tree_node_data->ItemFlags = g.LastItemData.ItemFlags; + tree_node_data->NavRect = g.LastItemData.NavRect; + window->DC.TreeHasStackDataDepthMask |= (1 << window->DC.TreeDepth); +} + +// When using public API, currently 'id == storage_id' is always true, but we separate the values to facilitate advanced user code doing storage queries outside of UI loop. +bool ImGui::TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* label, const char* label_end) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const bool display_frame = (flags & ImGuiTreeNodeFlags_Framed) != 0; + const ImVec2 padding = (display_frame || (flags & ImGuiTreeNodeFlags_FramePadding)) ? style.FramePadding : ImVec2(style.FramePadding.x, ImMin(window->DC.CurrLineTextBaseOffset, style.FramePadding.y)); + + if (!label_end) + label_end = FindRenderedTextEnd(label); + const ImVec2 label_size = CalcTextSize(label, label_end, false); + + const float text_offset_x = g.FontSize + (display_frame ? padding.x * 3 : padding.x * 2); // Collapsing arrow width + Spacing + const float text_offset_y = ImMax(padding.y, window->DC.CurrLineTextBaseOffset); // Latch before ItemSize changes it + const float text_width = g.FontSize + label_size.x + padding.x * 2; // Include collapsing arrow + + // We vertically grow up to current line height up the typical widget height. + const float frame_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + style.FramePadding.y * 2), label_size.y + padding.y * 2); + const bool span_all_columns = (flags & ImGuiTreeNodeFlags_SpanAllColumns) != 0 && (g.CurrentTable != NULL); + const bool span_all_columns_label = (flags & ImGuiTreeNodeFlags_LabelSpanAllColumns) != 0 && (g.CurrentTable != NULL); + ImRect frame_bb; + frame_bb.Min.x = span_all_columns ? window->ParentWorkRect.Min.x : (flags & ImGuiTreeNodeFlags_SpanFullWidth) ? window->WorkRect.Min.x : window->DC.CursorPos.x; + frame_bb.Min.y = window->DC.CursorPos.y; + frame_bb.Max.x = span_all_columns ? window->ParentWorkRect.Max.x : (flags & ImGuiTreeNodeFlags_SpanLabelWidth) ? window->DC.CursorPos.x + text_width + padding.x : window->WorkRect.Max.x; + frame_bb.Max.y = window->DC.CursorPos.y + frame_height; + if (display_frame) + { + const float outer_extend = IM_TRUNC(window->WindowPadding.x * 0.5f); // Framed header expand a little outside of current limits + frame_bb.Min.x -= outer_extend; + frame_bb.Max.x += outer_extend; + } + + ImVec2 text_pos(window->DC.CursorPos.x + text_offset_x, window->DC.CursorPos.y + text_offset_y); + ItemSize(ImVec2(text_width, frame_height), padding.y); + + // For regular tree nodes, we arbitrary allow to click past 2 worth of ItemSpacing + ImRect interact_bb = frame_bb; + if ((flags & (ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_SpanAvailWidth | ImGuiTreeNodeFlags_SpanFullWidth | ImGuiTreeNodeFlags_SpanLabelWidth | ImGuiTreeNodeFlags_SpanAllColumns)) == 0) + interact_bb.Max.x = frame_bb.Min.x + text_width + (label_size.x > 0.0f ? style.ItemSpacing.x * 2.0f : 0.0f); + + // Compute open and multi-select states before ItemAdd() as it clear NextItem data. + ImGuiID storage_id = (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasStorageID) ? g.NextItemData.StorageId : id; + bool is_open = TreeNodeUpdateNextOpen(storage_id, flags); + + bool is_visible; + if (span_all_columns || span_all_columns_label) + { + // Modify ClipRect for the ItemAdd(), faster than doing a PushColumnsBackground/PushTableBackgroundChannel for every Selectable.. + const float backup_clip_rect_min_x = window->ClipRect.Min.x; + const float backup_clip_rect_max_x = window->ClipRect.Max.x; + window->ClipRect.Min.x = window->ParentWorkRect.Min.x; + window->ClipRect.Max.x = window->ParentWorkRect.Max.x; + is_visible = ItemAdd(interact_bb, id); + window->ClipRect.Min.x = backup_clip_rect_min_x; + window->ClipRect.Max.x = backup_clip_rect_max_x; + } + else + { + is_visible = ItemAdd(interact_bb, id); + } + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HasDisplayRect; + g.LastItemData.DisplayRect = frame_bb; + + // If a NavLeft request is happening and ImGuiTreeNodeFlags_NavLeftJumpsBackHere enabled: + // Store data for the current depth to allow returning to this node from any child item. + // For this purpose we essentially compare if g.NavIdIsAlive went from 0 to 1 between TreeNode() and TreePop(). + // It will become tempting to enable ImGuiTreeNodeFlags_NavLeftJumpsBackHere by default or move it to ImGuiStyle. + bool store_tree_node_stack_data = false; + if (!(flags & ImGuiTreeNodeFlags_NoTreePushOnOpen)) + { + if ((flags & ImGuiTreeNodeFlags_NavLeftJumpsBackHere) && is_open && !g.NavIdIsAlive) + if (g.NavMoveDir == ImGuiDir_Left && g.NavWindow == window && NavMoveRequestButNoResultYet()) + store_tree_node_stack_data = true; + } + + const bool is_leaf = (flags & ImGuiTreeNodeFlags_Leaf) != 0; + if (!is_visible) + { + if (store_tree_node_stack_data && is_open) + TreeNodeStoreStackData(flags); // Call before TreePushOverrideID() + if (is_open && !(flags & ImGuiTreeNodeFlags_NoTreePushOnOpen)) + TreePushOverrideID(id); + IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags | (is_leaf ? 0 : ImGuiItemStatusFlags_Openable) | (is_open ? ImGuiItemStatusFlags_Opened : 0)); + return is_open; + } + + if (span_all_columns || span_all_columns_label) + { + TablePushBackgroundChannel(); + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HasClipRect; + g.LastItemData.ClipRect = window->ClipRect; + } + + ImGuiButtonFlags button_flags = ImGuiTreeNodeFlags_None; + if ((flags & ImGuiTreeNodeFlags_AllowOverlap) || (g.LastItemData.ItemFlags & ImGuiItemFlags_AllowOverlap)) + button_flags |= ImGuiButtonFlags_AllowOverlap; + if (!is_leaf) + button_flags |= ImGuiButtonFlags_PressedOnDragDropHold; + + // We allow clicking on the arrow section with keyboard modifiers held, in order to easily + // allow browsing a tree while preserving selection with code implementing multi-selection patterns. + // When clicking on the rest of the tree node we always disallow keyboard modifiers. + const float arrow_hit_x1 = (text_pos.x - text_offset_x) - style.TouchExtraPadding.x; + const float arrow_hit_x2 = (text_pos.x - text_offset_x) + (g.FontSize + padding.x * 2.0f) + style.TouchExtraPadding.x; + const bool is_mouse_x_over_arrow = (g.IO.MousePos.x >= arrow_hit_x1 && g.IO.MousePos.x < arrow_hit_x2); + + const bool is_multi_select = (g.LastItemData.ItemFlags & ImGuiItemFlags_IsMultiSelect) != 0; + if (is_multi_select) // We absolutely need to distinguish open vs select so _OpenOnArrow comes by default + flags |= (flags & ImGuiTreeNodeFlags_OpenOnMask_) == 0 ? ImGuiTreeNodeFlags_OpenOnArrow | ImGuiTreeNodeFlags_OpenOnDoubleClick : ImGuiTreeNodeFlags_OpenOnArrow; + + // Open behaviors can be altered with the _OpenOnArrow and _OnOnDoubleClick flags. + // Some alteration have subtle effects (e.g. toggle on MouseUp vs MouseDown events) due to requirements for multi-selection and drag and drop support. + // - Single-click on label = Toggle on MouseUp (default, when _OpenOnArrow=0) + // - Single-click on arrow = Toggle on MouseDown (when _OpenOnArrow=0) + // - Single-click on arrow = Toggle on MouseDown (when _OpenOnArrow=1) + // - Double-click on label = Toggle on MouseDoubleClick (when _OpenOnDoubleClick=1) + // - Double-click on arrow = Toggle on MouseDoubleClick (when _OpenOnDoubleClick=1 and _OpenOnArrow=0) + // It is rather standard that arrow click react on Down rather than Up. + // We set ImGuiButtonFlags_PressedOnClickRelease on OpenOnDoubleClick because we want the item to be active on the initial MouseDown in order for drag and drop to work. + if (is_mouse_x_over_arrow) + button_flags |= ImGuiButtonFlags_PressedOnClick; + else if (flags & ImGuiTreeNodeFlags_OpenOnDoubleClick) + button_flags |= ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnDoubleClick; + else + button_flags |= ImGuiButtonFlags_PressedOnClickRelease; + + bool selected = (flags & ImGuiTreeNodeFlags_Selected) != 0; + const bool was_selected = selected; + + // Multi-selection support (header) + if (is_multi_select) + { + // Handle multi-select + alter button flags for it + MultiSelectItemHeader(id, &selected, &button_flags); + if (is_mouse_x_over_arrow) + button_flags = (button_flags | ImGuiButtonFlags_PressedOnClick) & ~ImGuiButtonFlags_PressedOnClickRelease; + } + else + { + if (window != g.HoveredWindow || !is_mouse_x_over_arrow) + button_flags |= ImGuiButtonFlags_NoKeyModsAllowed; + } + + bool hovered, held; + bool pressed = ButtonBehavior(interact_bb, id, &hovered, &held, button_flags); + bool toggled = false; + if (!is_leaf) + { + if (pressed && g.DragDropHoldJustPressedId != id) + { + if ((flags & ImGuiTreeNodeFlags_OpenOnMask_) == 0 || (g.NavActivateId == id && !is_multi_select)) + toggled = true; // Single click + if (flags & ImGuiTreeNodeFlags_OpenOnArrow) + toggled |= is_mouse_x_over_arrow && !g.NavHighlightItemUnderNav; // Lightweight equivalent of IsMouseHoveringRect() since ButtonBehavior() already did the job + if ((flags & ImGuiTreeNodeFlags_OpenOnDoubleClick) && g.IO.MouseClickedCount[0] == 2) + toggled = true; // Double click + } + else if (pressed && g.DragDropHoldJustPressedId == id) + { + IM_ASSERT(button_flags & ImGuiButtonFlags_PressedOnDragDropHold); + if (!is_open) // When using Drag and Drop "hold to open" we keep the node highlighted after opening, but never close it again. + toggled = true; + else + pressed = false; // Cancel press so it doesn't trigger selection. + } + + if (g.NavId == id && g.NavMoveDir == ImGuiDir_Left && is_open) + { + toggled = true; + NavClearPreferredPosForAxis(ImGuiAxis_X); + NavMoveRequestCancel(); + } + if (g.NavId == id && g.NavMoveDir == ImGuiDir_Right && !is_open) // If there's something upcoming on the line we may want to give it the priority? + { + toggled = true; + NavClearPreferredPosForAxis(ImGuiAxis_X); + NavMoveRequestCancel(); + } + + if (toggled) + { + is_open = !is_open; + window->DC.StateStorage->SetInt(storage_id, is_open); + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_ToggledOpen; + } + } + + // Multi-selection support (footer) + if (is_multi_select) + { + bool pressed_copy = pressed && !toggled; + MultiSelectItemFooter(id, &selected, &pressed_copy); + if (pressed) + SetNavID(id, window->DC.NavLayerCurrent, g.CurrentFocusScopeId, interact_bb); + } + + if (selected != was_selected) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_ToggledSelection; + + // Render + { + const ImU32 text_col = GetColorU32(ImGuiCol_Text); + ImGuiNavRenderCursorFlags nav_render_cursor_flags = ImGuiNavRenderCursorFlags_Compact; + if (is_multi_select) + nav_render_cursor_flags |= ImGuiNavRenderCursorFlags_AlwaysDraw; // Always show the nav rectangle + if (display_frame) + { + // Framed type + const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header); + RenderFrame(frame_bb.Min, frame_bb.Max, bg_col, true, style.FrameRounding); + RenderNavCursor(frame_bb, id, nav_render_cursor_flags); + if (flags & ImGuiTreeNodeFlags_Bullet) + RenderBullet(window->DrawList, ImVec2(text_pos.x - text_offset_x * 0.60f, text_pos.y + g.FontSize * 0.5f), text_col); + else if (!is_leaf) + RenderArrow(window->DrawList, ImVec2(text_pos.x - text_offset_x + padding.x, text_pos.y), text_col, is_open ? ((flags & ImGuiTreeNodeFlags_UpsideDownArrow) ? ImGuiDir_Up : ImGuiDir_Down) : ImGuiDir_Right, 1.0f); + else // Leaf without bullet, left-adjusted text + text_pos.x -= text_offset_x - padding.x; + if (flags & ImGuiTreeNodeFlags_ClipLabelForTrailingButton) + frame_bb.Max.x -= g.FontSize + style.FramePadding.x; + if (g.LogEnabled) + LogSetNextTextDecoration("###", "###"); + } + else + { + // Unframed typed for tree nodes + if (hovered || selected) + { + const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header); + RenderFrame(frame_bb.Min, frame_bb.Max, bg_col, false); + } + RenderNavCursor(frame_bb, id, nav_render_cursor_flags); + if (flags & ImGuiTreeNodeFlags_Bullet) + RenderBullet(window->DrawList, ImVec2(text_pos.x - text_offset_x * 0.5f, text_pos.y + g.FontSize * 0.5f), text_col); + else if (!is_leaf) + RenderArrow(window->DrawList, ImVec2(text_pos.x - text_offset_x + padding.x, text_pos.y + g.FontSize * 0.15f), text_col, is_open ? ((flags & ImGuiTreeNodeFlags_UpsideDownArrow) ? ImGuiDir_Up : ImGuiDir_Down) : ImGuiDir_Right, 0.70f); + if (g.LogEnabled) + LogSetNextTextDecoration(">", NULL); + } + + if (span_all_columns && !span_all_columns_label) + TablePopBackgroundChannel(); + + // Label + if (display_frame) + RenderTextClipped(text_pos, frame_bb.Max, label, label_end, &label_size); + else + RenderText(text_pos, label, label_end, false); + + if (span_all_columns_label) + TablePopBackgroundChannel(); + } + + if (store_tree_node_stack_data && is_open) + TreeNodeStoreStackData(flags); // Call before TreePushOverrideID() + if (is_open && !(flags & ImGuiTreeNodeFlags_NoTreePushOnOpen)) + TreePushOverrideID(id); // Could use TreePush(label) but this avoid computing twice + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | (is_leaf ? 0 : ImGuiItemStatusFlags_Openable) | (is_open ? ImGuiItemStatusFlags_Opened : 0)); + return is_open; +} + +void ImGui::TreePush(const char* str_id) +{ + ImGuiWindow* window = GetCurrentWindow(); + Indent(); + window->DC.TreeDepth++; + PushID(str_id); +} + +void ImGui::TreePush(const void* ptr_id) +{ + ImGuiWindow* window = GetCurrentWindow(); + Indent(); + window->DC.TreeDepth++; + PushID(ptr_id); +} + +void ImGui::TreePushOverrideID(ImGuiID id) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + Indent(); + window->DC.TreeDepth++; + PushOverrideID(id); +} + +void ImGui::TreePop() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + Unindent(); + + window->DC.TreeDepth--; + ImU32 tree_depth_mask = (1 << window->DC.TreeDepth); + + if (window->DC.TreeHasStackDataDepthMask & tree_depth_mask) // Only set during request + { + ImGuiTreeNodeStackData* data = &g.TreeNodeStack.back(); + IM_ASSERT(data->ID == window->IDStack.back()); + if (data->TreeFlags & ImGuiTreeNodeFlags_NavLeftJumpsBackHere) + { + // Handle Left arrow to move to parent tree node (when ImGuiTreeNodeFlags_NavLeftJumpsBackHere is enabled) + if (g.NavIdIsAlive && g.NavMoveDir == ImGuiDir_Left && g.NavWindow == window && NavMoveRequestButNoResultYet()) + NavMoveRequestResolveWithPastTreeNode(&g.NavMoveResultLocal, data); + } + g.TreeNodeStack.pop_back(); + window->DC.TreeHasStackDataDepthMask &= ~tree_depth_mask; + } + + IM_ASSERT(window->IDStack.Size > 1); // There should always be 1 element in the IDStack (pushed during window creation). If this triggers you called TreePop/PopID too much. + PopID(); +} + +// Horizontal distance preceding label when using TreeNode() or Bullet() +float ImGui::GetTreeNodeToLabelSpacing() +{ + ImGuiContext& g = *GImGui; + return g.FontSize + (g.Style.FramePadding.x * 2.0f); +} + +// Set next TreeNode/CollapsingHeader open state. +void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond) +{ + ImGuiContext& g = *GImGui; + if (g.CurrentWindow->SkipItems) + return; + g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasOpen; + g.NextItemData.OpenVal = is_open; + g.NextItemData.OpenCond = (ImU8)(cond ? cond : ImGuiCond_Always); +} + +// Set next TreeNode/CollapsingHeader storage id. +void ImGui::SetNextItemStorageID(ImGuiID storage_id) +{ + ImGuiContext& g = *GImGui; + if (g.CurrentWindow->SkipItems) + return; + g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasStorageID; + g.NextItemData.StorageId = storage_id; +} + +// CollapsingHeader returns true when opened but do not indent nor push into the ID stack (because of the ImGuiTreeNodeFlags_NoTreePushOnOpen flag). +// This is basically the same as calling TreeNodeEx(label, ImGuiTreeNodeFlags_CollapsingHeader). You can remove the _NoTreePushOnOpen flag if you want behavior closer to normal TreeNode(). +bool ImGui::CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + ImGuiID id = window->GetID(label); + return TreeNodeBehavior(id, flags | ImGuiTreeNodeFlags_CollapsingHeader, label); +} + +// p_visible == NULL : regular collapsing header +// p_visible != NULL && *p_visible == true : show a small close button on the corner of the header, clicking the button will set *p_visible = false +// p_visible != NULL && *p_visible == false : do not show the header at all +// Do not mistake this with the Open state of the header itself, which you can adjust with SetNextItemOpen() or ImGuiTreeNodeFlags_DefaultOpen. +bool ImGui::CollapsingHeader(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + if (p_visible && !*p_visible) + return false; + + ImGuiID id = window->GetID(label); + flags |= ImGuiTreeNodeFlags_CollapsingHeader; + if (p_visible) + flags |= ImGuiTreeNodeFlags_AllowOverlap | (ImGuiTreeNodeFlags)ImGuiTreeNodeFlags_ClipLabelForTrailingButton; + bool is_open = TreeNodeBehavior(id, flags, label); + if (p_visible != NULL) + { + // Create a small overlapping close button + // FIXME: We can evolve this into user accessible helpers to add extra buttons on title bars, headers, etc. + // FIXME: CloseButton can overlap into text, need find a way to clip the text somehow. + ImGuiContext& g = *GImGui; + ImGuiLastItemData last_item_backup = g.LastItemData; + float button_size = g.FontSize; + float button_x = ImMax(g.LastItemData.Rect.Min.x, g.LastItemData.Rect.Max.x - g.Style.FramePadding.x - button_size); + float button_y = g.LastItemData.Rect.Min.y + g.Style.FramePadding.y; + ImGuiID close_button_id = GetIDWithSeed("#CLOSE", NULL, id); + if (CloseButton(close_button_id, ImVec2(button_x, button_y))) + *p_visible = false; + g.LastItemData = last_item_backup; + } + + return is_open; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Selectable +//------------------------------------------------------------------------- +// - Selectable() +//------------------------------------------------------------------------- + +// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. +// But you need to make sure the ID is unique, e.g. enclose calls in PushID/PopID or use ##unique_id. +// With this scheme, ImGuiSelectableFlags_SpanAllColumns and ImGuiSelectableFlags_AllowOverlap are also frequently used flags. +// FIXME: Selectable() with (size.x == 0.0f) and (SelectableTextAlign.x > 0.0f) followed by SameLine() is currently not supported. +bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags flags, const ImVec2& size_arg) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + + // Submit label or explicit size to ItemSize(), whereas ItemAdd() will submit a larger/spanning rectangle. + ImGuiID id = window->GetID(label); + ImVec2 label_size = CalcTextSize(label, NULL, true); + ImVec2 size(size_arg.x != 0.0f ? size_arg.x : label_size.x, size_arg.y != 0.0f ? size_arg.y : label_size.y); + ImVec2 pos = window->DC.CursorPos; + pos.y += window->DC.CurrLineTextBaseOffset; + ItemSize(size, 0.0f); + + // Fill horizontal space + // We don't support (size < 0.0f) in Selectable() because the ItemSpacing extension would make explicitly right-aligned sizes not visibly match other widgets. + const bool span_all_columns = (flags & ImGuiSelectableFlags_SpanAllColumns) != 0; + const float min_x = span_all_columns ? window->ParentWorkRect.Min.x : pos.x; + const float max_x = span_all_columns ? window->ParentWorkRect.Max.x : window->WorkRect.Max.x; + if (size_arg.x == 0.0f || (flags & ImGuiSelectableFlags_SpanAvailWidth)) + size.x = ImMax(label_size.x, max_x - min_x); + + // Selectables are meant to be tightly packed together with no click-gap, so we extend their box to cover spacing between selectable. + // FIXME: Not part of layout so not included in clipper calculation, but ItemSize currently doesn't allow offsetting CursorPos. + ImRect bb(min_x, pos.y, min_x + size.x, pos.y + size.y); + if ((flags & ImGuiSelectableFlags_NoPadWithHalfSpacing) == 0) + { + const float spacing_x = span_all_columns ? 0.0f : style.ItemSpacing.x; + const float spacing_y = style.ItemSpacing.y; + const float spacing_L = IM_TRUNC(spacing_x * 0.50f); + const float spacing_U = IM_TRUNC(spacing_y * 0.50f); + bb.Min.x -= spacing_L; + bb.Min.y -= spacing_U; + bb.Max.x += (spacing_x - spacing_L); + bb.Max.y += (spacing_y - spacing_U); + } + //if (g.IO.KeyCtrl) { GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(0, 255, 0, 255)); } + + const bool disabled_item = (flags & ImGuiSelectableFlags_Disabled) != 0; + const ImGuiItemFlags extra_item_flags = disabled_item ? (ImGuiItemFlags)ImGuiItemFlags_Disabled : ImGuiItemFlags_None; + bool is_visible; + if (span_all_columns) + { + // Modify ClipRect for the ItemAdd(), faster than doing a PushColumnsBackground/PushTableBackgroundChannel for every Selectable.. + const float backup_clip_rect_min_x = window->ClipRect.Min.x; + const float backup_clip_rect_max_x = window->ClipRect.Max.x; + window->ClipRect.Min.x = window->ParentWorkRect.Min.x; + window->ClipRect.Max.x = window->ParentWorkRect.Max.x; + is_visible = ItemAdd(bb, id, NULL, extra_item_flags); + window->ClipRect.Min.x = backup_clip_rect_min_x; + window->ClipRect.Max.x = backup_clip_rect_max_x; + } + else + { + is_visible = ItemAdd(bb, id, NULL, extra_item_flags); + } + + const bool is_multi_select = (g.LastItemData.ItemFlags & ImGuiItemFlags_IsMultiSelect) != 0; + if (!is_visible) + if (!is_multi_select || !g.BoxSelectState.UnclipMode || !g.BoxSelectState.UnclipRect.Overlaps(bb)) // Extra layer of "no logic clip" for box-select support (would be more overhead to add to ItemAdd) + return false; + + const bool disabled_global = (g.CurrentItemFlags & ImGuiItemFlags_Disabled) != 0; + if (disabled_item && !disabled_global) // Only testing this as an optimization + BeginDisabled(); + + // FIXME: We can standardize the behavior of those two, we could also keep the fast path of override ClipRect + full push on render only, + // which would be advantageous since most selectable are not selected. + if (span_all_columns) + { + if (g.CurrentTable) + TablePushBackgroundChannel(); + else if (window->DC.CurrentColumns) + PushColumnsBackground(); + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HasClipRect; + g.LastItemData.ClipRect = window->ClipRect; + } + + // We use NoHoldingActiveID on menus so user can click and _hold_ on a menu then drag to browse child entries + ImGuiButtonFlags button_flags = 0; + if (flags & ImGuiSelectableFlags_NoHoldingActiveID) { button_flags |= ImGuiButtonFlags_NoHoldingActiveId; } + if (flags & ImGuiSelectableFlags_NoSetKeyOwner) { button_flags |= ImGuiButtonFlags_NoSetKeyOwner; } + if (flags & ImGuiSelectableFlags_SelectOnClick) { button_flags |= ImGuiButtonFlags_PressedOnClick; } + if (flags & ImGuiSelectableFlags_SelectOnRelease) { button_flags |= ImGuiButtonFlags_PressedOnRelease; } + if (flags & ImGuiSelectableFlags_AllowDoubleClick) { button_flags |= ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnDoubleClick; } + if ((flags & ImGuiSelectableFlags_AllowOverlap) || (g.LastItemData.ItemFlags & ImGuiItemFlags_AllowOverlap)) { button_flags |= ImGuiButtonFlags_AllowOverlap; } + + // Multi-selection support (header) + const bool was_selected = selected; + if (is_multi_select) + { + // Handle multi-select + alter button flags for it + MultiSelectItemHeader(id, &selected, &button_flags); + } + + bool hovered, held; + bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags); + + // Multi-selection support (footer) + if (is_multi_select) + { + MultiSelectItemFooter(id, &selected, &pressed); + } + else + { + // Auto-select when moved into + // - This will be more fully fleshed in the range-select branch + // - This is not exposed as it won't nicely work with some user side handling of shift/control + // - We cannot do 'if (g.NavJustMovedToId != id) { selected = false; pressed = was_selected; }' for two reasons + // - (1) it would require focus scope to be set, need exposing PushFocusScope() or equivalent (e.g. BeginSelection() calling PushFocusScope()) + // - (2) usage will fail with clipped items + // The multi-select API aim to fix those issues, e.g. may be replaced with a BeginSelection() API. + if ((flags & ImGuiSelectableFlags_SelectOnNav) && g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == g.CurrentFocusScopeId) + if (g.NavJustMovedToId == id) + selected = pressed = true; + } + + // Update NavId when clicking or when Hovering (this doesn't happen on most widgets), so navigation can be resumed with keyboard/gamepad + if (pressed || (hovered && (flags & ImGuiSelectableFlags_SetNavIdOnHover))) + { + if (!g.NavHighlightItemUnderNav && g.NavWindow == window && g.NavLayer == window->DC.NavLayerCurrent) + { + SetNavID(id, window->DC.NavLayerCurrent, g.CurrentFocusScopeId, WindowRectAbsToRel(window, bb)); // (bb == NavRect) + if (g.IO.ConfigNavCursorVisibleAuto) + g.NavCursorVisible = false; + } + } + if (pressed) + MarkItemEdited(id); + + if (selected != was_selected) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_ToggledSelection; + + // Render + if (is_visible) + { + const bool highlighted = hovered || (flags & ImGuiSelectableFlags_Highlight); + if (highlighted || selected) + { + // Between 1.91.0 and 1.91.4 we made selected Selectable use an arbitrary lerp between _Header and _HeaderHovered. Removed that now. (#8106) + ImU32 col = GetColorU32((held && highlighted) ? ImGuiCol_HeaderActive : highlighted ? ImGuiCol_HeaderHovered : ImGuiCol_Header); + RenderFrame(bb.Min, bb.Max, col, false, 0.0f); + } + if (g.NavId == id) + { + ImGuiNavRenderCursorFlags nav_render_cursor_flags = ImGuiNavRenderCursorFlags_Compact | ImGuiNavRenderCursorFlags_NoRounding; + if (is_multi_select) + nav_render_cursor_flags |= ImGuiNavRenderCursorFlags_AlwaysDraw; // Always show the nav rectangle + RenderNavCursor(bb, id, nav_render_cursor_flags); + } + } + + if (span_all_columns) + { + if (g.CurrentTable) + TablePopBackgroundChannel(); + else if (window->DC.CurrentColumns) + PopColumnsBackground(); + } + + // Text stays at the submission position. Alignment/clipping extents ignore SpanAllColumns. + if (is_visible) + RenderTextClipped(pos, ImVec2(ImMin(pos.x + size.x, window->WorkRect.Max.x), pos.y + size.y), label, NULL, &label_size, style.SelectableTextAlign, &bb); + + // Automatically close popups + if (pressed && (window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiSelectableFlags_NoAutoClosePopups) && (g.LastItemData.ItemFlags & ImGuiItemFlags_AutoClosePopups)) + CloseCurrentPopup(); + + if (disabled_item && !disabled_global) + EndDisabled(); + + // Selectable() always returns a pressed state! + // Users of BeginMultiSelect()/EndMultiSelect() scope: you may call ImGui::IsItemToggledSelection() to retrieve + // selection toggle, only useful if you need that state updated (e.g. for rendering purpose) before reaching EndMultiSelect(). + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + return pressed; //-V1020 +} + +bool ImGui::Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags, const ImVec2& size_arg) +{ + if (Selectable(label, *p_selected, flags, size_arg)) + { + *p_selected = !*p_selected; + return true; + } + return false; +} + + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Typing-Select support +//------------------------------------------------------------------------- + +// [Experimental] Currently not exposed in public API. +// Consume character inputs and return search request, if any. +// This would typically only be called on the focused window or location you want to grab inputs for, e.g. +// if (ImGui::IsWindowFocused(...)) +// if (ImGuiTypingSelectRequest* req = ImGui::GetTypingSelectRequest()) +// focus_idx = ImGui::TypingSelectFindMatch(req, my_items.size(), [](void*, int n) { return my_items[n]->Name; }, &my_items, -1); +// However the code is written in a way where calling it from multiple locations is safe (e.g. to obtain buffer). +ImGuiTypingSelectRequest* ImGui::GetTypingSelectRequest(ImGuiTypingSelectFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiTypingSelectState* data = &g.TypingSelectState; + ImGuiTypingSelectRequest* out_request = &data->Request; + + // Clear buffer + const float TYPING_SELECT_RESET_TIMER = 1.80f; // FIXME: Potentially move to IO config. + const int TYPING_SELECT_SINGLE_CHAR_COUNT_FOR_LOCK = 4; // Lock single char matching when repeating same char 4 times + if (data->SearchBuffer[0] != 0) + { + bool clear_buffer = false; + clear_buffer |= (g.NavFocusScopeId != data->FocusScope); + clear_buffer |= (data->LastRequestTime + TYPING_SELECT_RESET_TIMER < g.Time); + clear_buffer |= g.NavAnyRequest; + clear_buffer |= g.ActiveId != 0 && g.NavActivateId == 0; // Allow temporary SPACE activation to not interfere + clear_buffer |= IsKeyPressed(ImGuiKey_Escape) || IsKeyPressed(ImGuiKey_Enter); + clear_buffer |= IsKeyPressed(ImGuiKey_Backspace) && (flags & ImGuiTypingSelectFlags_AllowBackspace) == 0; + //if (clear_buffer) { IMGUI_DEBUG_LOG("GetTypingSelectRequest(): Clear SearchBuffer.\n"); } + if (clear_buffer) + data->Clear(); + } + + // Append to buffer + const int buffer_max_len = IM_ARRAYSIZE(data->SearchBuffer) - 1; + int buffer_len = (int)strlen(data->SearchBuffer); + bool select_request = false; + for (ImWchar w : g.IO.InputQueueCharacters) + { + const int w_len = ImTextCountUtf8BytesFromStr(&w, &w + 1); + if (w < 32 || (buffer_len == 0 && ImCharIsBlankW(w)) || (buffer_len + w_len > buffer_max_len)) // Ignore leading blanks + continue; + char w_buf[5]; + ImTextCharToUtf8(w_buf, (unsigned int)w); + if (data->SingleCharModeLock && w_len == out_request->SingleCharSize && memcmp(w_buf, data->SearchBuffer, w_len) == 0) + { + select_request = true; // Same character: don't need to append to buffer. + continue; + } + if (data->SingleCharModeLock) + { + data->Clear(); // Different character: clear + buffer_len = 0; + } + memcpy(data->SearchBuffer + buffer_len, w_buf, w_len + 1); // Append + buffer_len += w_len; + select_request = true; + } + g.IO.InputQueueCharacters.resize(0); + + // Handle backspace + if ((flags & ImGuiTypingSelectFlags_AllowBackspace) && IsKeyPressed(ImGuiKey_Backspace, ImGuiInputFlags_Repeat)) + { + char* p = (char*)(void*)ImTextFindPreviousUtf8Codepoint(data->SearchBuffer, data->SearchBuffer + buffer_len); + *p = 0; + buffer_len = (int)(p - data->SearchBuffer); + } + + // Return request if any + if (buffer_len == 0) + return NULL; + if (select_request) + { + data->FocusScope = g.NavFocusScopeId; + data->LastRequestFrame = g.FrameCount; + data->LastRequestTime = (float)g.Time; + } + out_request->Flags = flags; + out_request->SearchBufferLen = buffer_len; + out_request->SearchBuffer = data->SearchBuffer; + out_request->SelectRequest = (data->LastRequestFrame == g.FrameCount); + out_request->SingleCharMode = false; + out_request->SingleCharSize = 0; + + // Calculate if buffer contains the same character repeated. + // - This can be used to implement a special search mode on first character. + // - Performed on UTF-8 codepoint for correctness. + // - SingleCharMode is always set for first input character, because it usually leads to a "next". + if (flags & ImGuiTypingSelectFlags_AllowSingleCharMode) + { + const char* buf_begin = out_request->SearchBuffer; + const char* buf_end = out_request->SearchBuffer + out_request->SearchBufferLen; + const int c0_len = ImTextCountUtf8BytesFromChar(buf_begin, buf_end); + const char* p = buf_begin + c0_len; + for (; p < buf_end; p += c0_len) + if (memcmp(buf_begin, p, (size_t)c0_len) != 0) + break; + const int single_char_count = (p == buf_end) ? (out_request->SearchBufferLen / c0_len) : 0; + out_request->SingleCharMode = (single_char_count > 0 || data->SingleCharModeLock); + out_request->SingleCharSize = (ImS8)c0_len; + data->SingleCharModeLock |= (single_char_count >= TYPING_SELECT_SINGLE_CHAR_COUNT_FOR_LOCK); // From now on we stop search matching to lock to single char mode. + } + + return out_request; +} + +static int ImStrimatchlen(const char* s1, const char* s1_end, const char* s2) +{ + int match_len = 0; + while (s1 < s1_end && ImToUpper(*s1++) == ImToUpper(*s2++)) + match_len++; + return match_len; +} + +// Default handler for finding a result for typing-select. You may implement your own. +// You might want to display a tooltip to visualize the current request SearchBuffer +// When SingleCharMode is set: +// - it is better to NOT display a tooltip of other on-screen display indicator. +// - the index of the currently focused item is required. +// if your SetNextItemSelectionUserData() values are indices, you can obtain it from ImGuiMultiSelectIO::NavIdItem, otherwise from g.NavLastValidSelectionUserData. +int ImGui::TypingSelectFindMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data, int nav_item_idx) +{ + if (req == NULL || req->SelectRequest == false) // Support NULL parameter so both calls can be done from same spot. + return -1; + int idx = -1; + if (req->SingleCharMode && (req->Flags & ImGuiTypingSelectFlags_AllowSingleCharMode)) + idx = TypingSelectFindNextSingleCharMatch(req, items_count, get_item_name_func, user_data, nav_item_idx); + else + idx = TypingSelectFindBestLeadingMatch(req, items_count, get_item_name_func, user_data); + if (idx != -1) + SetNavCursorVisibleAfterMove(); + return idx; +} + +// Special handling when a single character is repeated: perform search on a single letter and goes to next. +int ImGui::TypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data, int nav_item_idx) +{ + // FIXME: Assume selection user data is index. Would be extremely practical. + //if (nav_item_idx == -1) + // nav_item_idx = (int)g.NavLastValidSelectionUserData; + + int first_match_idx = -1; + bool return_next_match = false; + for (int idx = 0; idx < items_count; idx++) + { + const char* item_name = get_item_name_func(user_data, idx); + if (ImStrimatchlen(req->SearchBuffer, req->SearchBuffer + req->SingleCharSize, item_name) < req->SingleCharSize) + continue; + if (return_next_match) // Return next matching item after current item. + return idx; + if (first_match_idx == -1 && nav_item_idx == -1) // Return first match immediately if we don't have a nav_item_idx value. + return idx; + if (first_match_idx == -1) // Record first match for wrapping. + first_match_idx = idx; + if (nav_item_idx == idx) // Record that we encountering nav_item so we can return next match. + return_next_match = true; + } + return first_match_idx; // First result +} + +int ImGui::TypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data) +{ + int longest_match_idx = -1; + int longest_match_len = 0; + for (int idx = 0; idx < items_count; idx++) + { + const char* item_name = get_item_name_func(user_data, idx); + const int match_len = ImStrimatchlen(req->SearchBuffer, req->SearchBuffer + req->SearchBufferLen, item_name); + if (match_len <= longest_match_len) + continue; + longest_match_idx = idx; + longest_match_len = match_len; + if (match_len == req->SearchBufferLen) + break; + } + return longest_match_idx; +} + +void ImGui::DebugNodeTypingSelectState(ImGuiTypingSelectState* data) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + Text("SearchBuffer = \"%s\"", data->SearchBuffer); + Text("SingleCharMode = %d, Size = %d, Lock = %d", data->Request.SingleCharMode, data->Request.SingleCharSize, data->SingleCharModeLock); + Text("LastRequest = time: %.2f, frame: %d", data->LastRequestTime, data->LastRequestFrame); +#else + IM_UNUSED(data); +#endif +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Box-Select support +// This has been extracted away from Multi-Select logic in the hope that it could eventually be used elsewhere, but hasn't been yet. +//------------------------------------------------------------------------- +// Extra logic in MultiSelectItemFooter() and ImGuiListClipper::Step() +//------------------------------------------------------------------------- +// - BoxSelectPreStartDrag() [Internal] +// - BoxSelectActivateDrag() [Internal] +// - BoxSelectDeactivateDrag() [Internal] +// - BoxSelectScrollWithMouseDrag() [Internal] +// - BeginBoxSelect() [Internal] +// - EndBoxSelect() [Internal] +//------------------------------------------------------------------------- + +// Call on the initial click. +static void BoxSelectPreStartDrag(ImGuiID id, ImGuiSelectionUserData clicked_item) +{ + ImGuiContext& g = *GImGui; + ImGuiBoxSelectState* bs = &g.BoxSelectState; + bs->ID = id; + bs->IsStarting = true; // Consider starting box-select. + bs->IsStartedFromVoid = (clicked_item == ImGuiSelectionUserData_Invalid); + bs->IsStartedSetNavIdOnce = bs->IsStartedFromVoid; + bs->KeyMods = g.IO.KeyMods; + bs->StartPosRel = bs->EndPosRel = ImGui::WindowPosAbsToRel(g.CurrentWindow, g.IO.MousePos); + bs->ScrollAccum = ImVec2(0.0f, 0.0f); +} + +static void BoxSelectActivateDrag(ImGuiBoxSelectState* bs, ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + IMGUI_DEBUG_LOG_SELECTION("[selection] BeginBoxSelect() 0X%08X: Activate\n", bs->ID); + bs->IsActive = true; + bs->Window = window; + bs->IsStarting = false; + ImGui::SetActiveID(bs->ID, window); + ImGui::SetActiveIdUsingAllKeyboardKeys(); + if (bs->IsStartedFromVoid && (bs->KeyMods & (ImGuiMod_Ctrl | ImGuiMod_Shift)) == 0) + bs->RequestClear = true; +} + +static void BoxSelectDeactivateDrag(ImGuiBoxSelectState* bs) +{ + ImGuiContext& g = *GImGui; + bs->IsActive = bs->IsStarting = false; + if (g.ActiveId == bs->ID) + { + IMGUI_DEBUG_LOG_SELECTION("[selection] BeginBoxSelect() 0X%08X: Deactivate\n", bs->ID); + ImGui::ClearActiveID(); + } + bs->ID = 0; +} + +static void BoxSelectScrollWithMouseDrag(ImGuiBoxSelectState* bs, ImGuiWindow* window, const ImRect& inner_r) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(bs->Window == window); + for (int n = 0; n < 2; n++) // each axis + { + const float mouse_pos = g.IO.MousePos[n]; + const float dist = (mouse_pos > inner_r.Max[n]) ? mouse_pos - inner_r.Max[n] : (mouse_pos < inner_r.Min[n]) ? mouse_pos - inner_r.Min[n] : 0.0f; + const float scroll_curr = window->Scroll[n]; + if (dist == 0.0f || (dist < 0.0f && scroll_curr < 0.0f) || (dist > 0.0f && scroll_curr >= window->ScrollMax[n])) + continue; + + const float speed_multiplier = ImLinearRemapClamp(g.FontSize, g.FontSize * 5.0f, 1.0f, 4.0f, ImAbs(dist)); // x1 to x4 depending on distance + const float scroll_step = g.FontSize * 35.0f * speed_multiplier * ImSign(dist) * g.IO.DeltaTime; + bs->ScrollAccum[n] += scroll_step; + + // Accumulate into a stored value so we can handle high-framerate + const float scroll_step_i = ImFloor(bs->ScrollAccum[n]); + if (scroll_step_i == 0.0f) + continue; + if (n == 0) + ImGui::SetScrollX(window, scroll_curr + scroll_step_i); + else + ImGui::SetScrollY(window, scroll_curr + scroll_step_i); + bs->ScrollAccum[n] -= scroll_step_i; + } +} + +bool ImGui::BeginBoxSelect(const ImRect& scope_rect, ImGuiWindow* window, ImGuiID box_select_id, ImGuiMultiSelectFlags ms_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiBoxSelectState* bs = &g.BoxSelectState; + KeepAliveID(box_select_id); + if (bs->ID != box_select_id) + return false; + + // IsStarting is set by MultiSelectItemFooter() when considering a possible box-select. We validate it here and lock geometry. + bs->UnclipMode = false; + bs->RequestClear = false; + if (bs->IsStarting && IsMouseDragPastThreshold(0)) + BoxSelectActivateDrag(bs, window); + else if ((bs->IsStarting || bs->IsActive) && g.IO.MouseDown[0] == false) + BoxSelectDeactivateDrag(bs); + if (!bs->IsActive) + return false; + + // Current frame absolute prev/current rectangles are used to toggle selection. + // They are derived from positions relative to scrolling space. + ImVec2 start_pos_abs = WindowPosRelToAbs(window, bs->StartPosRel); + ImVec2 prev_end_pos_abs = WindowPosRelToAbs(window, bs->EndPosRel); // Clamped already + ImVec2 curr_end_pos_abs = g.IO.MousePos; + if (ms_flags & ImGuiMultiSelectFlags_ScopeWindow) // Box-select scrolling only happens with ScopeWindow + curr_end_pos_abs = ImClamp(curr_end_pos_abs, scope_rect.Min, scope_rect.Max); + bs->BoxSelectRectPrev.Min = ImMin(start_pos_abs, prev_end_pos_abs); + bs->BoxSelectRectPrev.Max = ImMax(start_pos_abs, prev_end_pos_abs); + bs->BoxSelectRectCurr.Min = ImMin(start_pos_abs, curr_end_pos_abs); + bs->BoxSelectRectCurr.Max = ImMax(start_pos_abs, curr_end_pos_abs); + + // Box-select 2D mode detects horizontal changes (vertical ones are already picked by Clipper) + // Storing an extra rect used by widgets supporting box-select. + if (ms_flags & ImGuiMultiSelectFlags_BoxSelect2d) + if (bs->BoxSelectRectPrev.Min.x != bs->BoxSelectRectCurr.Min.x || bs->BoxSelectRectPrev.Max.x != bs->BoxSelectRectCurr.Max.x) + { + bs->UnclipMode = true; + bs->UnclipRect = bs->BoxSelectRectPrev; // FIXME-OPT: UnclipRect x coordinates could be intersection of Prev and Curr rect on X axis. + bs->UnclipRect.Add(bs->BoxSelectRectCurr); + } + + //GetForegroundDrawList()->AddRect(bs->UnclipRect.Min, bs->UnclipRect.Max, IM_COL32(255,0,0,200), 0.0f, 0, 3.0f); + //GetForegroundDrawList()->AddRect(bs->BoxSelectRectPrev.Min, bs->BoxSelectRectPrev.Max, IM_COL32(255,0,0,200), 0.0f, 0, 3.0f); + //GetForegroundDrawList()->AddRect(bs->BoxSelectRectCurr.Min, bs->BoxSelectRectCurr.Max, IM_COL32(0,255,0,200), 0.0f, 0, 1.0f); + return true; +} + +void ImGui::EndBoxSelect(const ImRect& scope_rect, ImGuiMultiSelectFlags ms_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + ImGuiBoxSelectState* bs = &g.BoxSelectState; + IM_ASSERT(bs->IsActive); + bs->UnclipMode = false; + + // Render selection rectangle + bs->EndPosRel = WindowPosAbsToRel(window, ImClamp(g.IO.MousePos, scope_rect.Min, scope_rect.Max)); // Clamp stored position according to current scrolling view + ImRect box_select_r = bs->BoxSelectRectCurr; + box_select_r.ClipWith(scope_rect); + window->DrawList->AddRectFilled(box_select_r.Min, box_select_r.Max, GetColorU32(ImGuiCol_SeparatorHovered, 0.30f)); // FIXME-MULTISELECT: Styling + window->DrawList->AddRect(box_select_r.Min, box_select_r.Max, GetColorU32(ImGuiCol_NavCursor)); // FIXME-MULTISELECT: Styling + + // Scroll + const bool enable_scroll = (ms_flags & ImGuiMultiSelectFlags_ScopeWindow) && (ms_flags & ImGuiMultiSelectFlags_BoxSelectNoScroll) == 0; + if (enable_scroll) + { + ImRect scroll_r = scope_rect; + scroll_r.Expand(-g.FontSize); + //GetForegroundDrawList()->AddRect(scroll_r.Min, scroll_r.Max, IM_COL32(0, 255, 0, 255)); + if (!scroll_r.Contains(g.IO.MousePos)) + BoxSelectScrollWithMouseDrag(bs, window, scroll_r); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Multi-Select support +//------------------------------------------------------------------------- +// - DebugLogMultiSelectRequests() [Internal] +// - CalcScopeRect() [Internal] +// - BeginMultiSelect() +// - EndMultiSelect() +// - SetNextItemSelectionUserData() +// - MultiSelectItemHeader() [Internal] +// - MultiSelectItemFooter() [Internal] +// - DebugNodeMultiSelectState() [Internal] +//------------------------------------------------------------------------- + +static void DebugLogMultiSelectRequests(const char* function, const ImGuiMultiSelectIO* io) +{ + ImGuiContext& g = *GImGui; + IM_UNUSED(function); + for (const ImGuiSelectionRequest& req : io->Requests) + { + if (req.Type == ImGuiSelectionRequestType_SetAll) IMGUI_DEBUG_LOG_SELECTION("[selection] %s: Request: SetAll %d (= %s)\n", function, req.Selected, req.Selected ? "SelectAll" : "Clear"); + if (req.Type == ImGuiSelectionRequestType_SetRange) IMGUI_DEBUG_LOG_SELECTION("[selection] %s: Request: SetRange %" IM_PRId64 "..%" IM_PRId64 " (0x%" IM_PRIX64 "..0x%" IM_PRIX64 ") = %d (dir %d)\n", function, req.RangeFirstItem, req.RangeLastItem, req.RangeFirstItem, req.RangeLastItem, req.Selected, req.RangeDirection); + } +} + +static ImRect CalcScopeRect(ImGuiMultiSelectTempData* ms, ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (ms->Flags & ImGuiMultiSelectFlags_ScopeRect) + { + // Warning: this depends on CursorMaxPos so it means to be called by EndMultiSelect() only + return ImRect(ms->ScopeRectMin, ImMax(window->DC.CursorMaxPos, ms->ScopeRectMin)); + } + else + { + // When a table, pull HostClipRect, which allows us to predict ClipRect before first row/layout is performed. (#7970) + ImRect scope_rect = window->InnerClipRect; + if (g.CurrentTable != NULL) + scope_rect = g.CurrentTable->HostClipRect; + + // Add inner table decoration (#7821) // FIXME: Why not baking in InnerClipRect? + scope_rect.Min = ImMin(scope_rect.Min + ImVec2(window->DecoInnerSizeX1, window->DecoInnerSizeY1), scope_rect.Max); + return scope_rect; + } +} + +// Return ImGuiMultiSelectIO structure. +// Lifetime: don't hold on ImGuiMultiSelectIO* pointers over multiple frames or past any subsequent call to BeginMultiSelect() or EndMultiSelect(). +// Passing 'selection_size' and 'items_count' parameters is currently optional. +// - 'selection_size' is useful to disable some shortcut routing: e.g. ImGuiMultiSelectFlags_ClearOnEscape won't claim Escape key when selection_size 0, +// allowing a first press to clear selection THEN the second press to leave child window and return to parent. +// - 'items_count' is stored in ImGuiMultiSelectIO which makes it a convenient way to pass the information to your ApplyRequest() handler (but you may pass it differently). +// - If they are costly for you to compute (e.g. external intrusive selection without maintaining size), you may avoid them and pass -1. +// - If you can easily tell if your selection is empty or not, you may pass 0/1, or you may enable ImGuiMultiSelectFlags_ClearOnEscape flag dynamically. +ImGuiMultiSelectIO* ImGui::BeginMultiSelect(ImGuiMultiSelectFlags flags, int selection_size, int items_count) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + if (++g.MultiSelectTempDataStacked > g.MultiSelectTempData.Size) + g.MultiSelectTempData.resize(g.MultiSelectTempDataStacked, ImGuiMultiSelectTempData()); + ImGuiMultiSelectTempData* ms = &g.MultiSelectTempData[g.MultiSelectTempDataStacked - 1]; + IM_STATIC_ASSERT(offsetof(ImGuiMultiSelectTempData, IO) == 0); // Clear() relies on that. + g.CurrentMultiSelect = ms; + if ((flags & (ImGuiMultiSelectFlags_ScopeWindow | ImGuiMultiSelectFlags_ScopeRect)) == 0) + flags |= ImGuiMultiSelectFlags_ScopeWindow; + if (flags & ImGuiMultiSelectFlags_SingleSelect) + flags &= ~(ImGuiMultiSelectFlags_BoxSelect2d | ImGuiMultiSelectFlags_BoxSelect1d); + if (flags & ImGuiMultiSelectFlags_BoxSelect2d) + flags &= ~ImGuiMultiSelectFlags_BoxSelect1d; + + // FIXME: Workaround to the fact we override CursorMaxPos, meaning size measurement are lost. (#8250) + // They should perhaps be stacked properly? + if (ImGuiTable* table = g.CurrentTable) + if (table->CurrentColumn != -1) + TableEndCell(table); // This is currently safe to call multiple time. If that properly is lost we can extract the "save measurement" part of it. + + // FIXME: BeginFocusScope() + const ImGuiID id = window->IDStack.back(); + ms->Clear(); + ms->FocusScopeId = id; + ms->Flags = flags; + ms->IsFocused = (ms->FocusScopeId == g.NavFocusScopeId); + ms->BackupCursorMaxPos = window->DC.CursorMaxPos; + ms->ScopeRectMin = window->DC.CursorMaxPos = window->DC.CursorPos; + PushFocusScope(ms->FocusScopeId); + if (flags & ImGuiMultiSelectFlags_ScopeWindow) // Mark parent child window as navigable into, with highlight. Assume user will always submit interactive items. + window->DC.NavLayersActiveMask |= 1 << ImGuiNavLayer_Main; + + // Use copy of keyboard mods at the time of the request, otherwise we would requires mods to be held for an extra frame. + ms->KeyMods = g.NavJustMovedToId ? (g.NavJustMovedToIsTabbing ? 0 : g.NavJustMovedToKeyMods) : g.IO.KeyMods; + if (flags & ImGuiMultiSelectFlags_NoRangeSelect) + ms->KeyMods &= ~ImGuiMod_Shift; + + // Bind storage + ImGuiMultiSelectState* storage = g.MultiSelectStorage.GetOrAddByKey(id); + storage->ID = id; + storage->LastFrameActive = g.FrameCount; + storage->LastSelectionSize = selection_size; + storage->Window = window; + ms->Storage = storage; + + // Output to user + ms->IO.Requests.resize(0); + ms->IO.RangeSrcItem = storage->RangeSrcItem; + ms->IO.NavIdItem = storage->NavIdItem; + ms->IO.NavIdSelected = (storage->NavIdSelected == 1) ? true : false; + ms->IO.ItemsCount = items_count; + + // Clear when using Navigation to move within the scope + // (we compare FocusScopeId so it possible to use multiple selections inside a same window) + bool request_clear = false; + bool request_select_all = false; + if (g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == ms->FocusScopeId && g.NavJustMovedToHasSelectionData) + { + if (ms->KeyMods & ImGuiMod_Shift) + ms->IsKeyboardSetRange = true; + if (ms->IsKeyboardSetRange) + IM_ASSERT(storage->RangeSrcItem != ImGuiSelectionUserData_Invalid); // Not ready -> could clear? + if ((ms->KeyMods & (ImGuiMod_Ctrl | ImGuiMod_Shift)) == 0 && (flags & (ImGuiMultiSelectFlags_NoAutoClear | ImGuiMultiSelectFlags_NoAutoSelect)) == 0) + request_clear = true; + } + else if (g.NavJustMovedFromFocusScopeId == ms->FocusScopeId) + { + // Also clear on leaving scope (may be optional?) + if ((ms->KeyMods & (ImGuiMod_Ctrl | ImGuiMod_Shift)) == 0 && (flags & (ImGuiMultiSelectFlags_NoAutoClear | ImGuiMultiSelectFlags_NoAutoSelect)) == 0) + request_clear = true; + } + + // Box-select handling: update active state. + ImGuiBoxSelectState* bs = &g.BoxSelectState; + if (flags & (ImGuiMultiSelectFlags_BoxSelect1d | ImGuiMultiSelectFlags_BoxSelect2d)) + { + ms->BoxSelectId = GetID("##BoxSelect"); + if (BeginBoxSelect(CalcScopeRect(ms, window), window, ms->BoxSelectId, flags)) + request_clear |= bs->RequestClear; + } + + if (ms->IsFocused) + { + // Shortcut: Clear selection (Escape) + // - Only claim shortcut if selection is not empty, allowing further presses on Escape to e.g. leave current child window. + // - Box select also handle Escape and needs to pass an id to bypass ActiveIdUsingAllKeyboardKeys lock. + if (flags & ImGuiMultiSelectFlags_ClearOnEscape) + { + if (selection_size != 0 || bs->IsActive) + if (Shortcut(ImGuiKey_Escape, ImGuiInputFlags_None, bs->IsActive ? bs->ID : 0)) + { + request_clear = true; + if (bs->IsActive) + BoxSelectDeactivateDrag(bs); + } + } + + // Shortcut: Select all (CTRL+A) + if (!(flags & ImGuiMultiSelectFlags_SingleSelect) && !(flags & ImGuiMultiSelectFlags_NoSelectAll)) + if (Shortcut(ImGuiMod_Ctrl | ImGuiKey_A)) + request_select_all = true; + } + + if (request_clear || request_select_all) + { + MultiSelectAddSetAll(ms, request_select_all); + if (!request_select_all) + storage->LastSelectionSize = 0; + } + ms->LoopRequestSetAll = request_select_all ? 1 : request_clear ? 0 : -1; + ms->LastSubmittedItem = ImGuiSelectionUserData_Invalid; + + if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) + DebugLogMultiSelectRequests("BeginMultiSelect", &ms->IO); + + return &ms->IO; +} + +// Return updated ImGuiMultiSelectIO structure. +// Lifetime: don't hold on ImGuiMultiSelectIO* pointers over multiple frames or past any subsequent call to BeginMultiSelect() or EndMultiSelect(). +ImGuiMultiSelectIO* ImGui::EndMultiSelect() +{ + ImGuiContext& g = *GImGui; + ImGuiMultiSelectTempData* ms = g.CurrentMultiSelect; + ImGuiMultiSelectState* storage = ms->Storage; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT_USER_ERROR(ms->FocusScopeId == g.CurrentFocusScopeId, "EndMultiSelect() FocusScope mismatch!"); + IM_ASSERT(g.CurrentMultiSelect != NULL && storage->Window == g.CurrentWindow); + IM_ASSERT(g.MultiSelectTempDataStacked > 0 && &g.MultiSelectTempData[g.MultiSelectTempDataStacked - 1] == g.CurrentMultiSelect); + + ImRect scope_rect = CalcScopeRect(ms, window); + if (ms->IsFocused) + { + // We currently don't allow user code to modify RangeSrcItem by writing to BeginIO's version, but that would be an easy change here. + if (ms->IO.RangeSrcReset || (ms->RangeSrcPassedBy == false && ms->IO.RangeSrcItem != ImGuiSelectionUserData_Invalid)) // Can't read storage->RangeSrcItem here -> we want the state at begining of the scope (see tests for easy failure) + { + IMGUI_DEBUG_LOG_SELECTION("[selection] EndMultiSelect: Reset RangeSrcItem.\n"); // Will set be to NavId. + storage->RangeSrcItem = ImGuiSelectionUserData_Invalid; + } + if (ms->NavIdPassedBy == false && storage->NavIdItem != ImGuiSelectionUserData_Invalid) + { + IMGUI_DEBUG_LOG_SELECTION("[selection] EndMultiSelect: Reset NavIdItem.\n"); + storage->NavIdItem = ImGuiSelectionUserData_Invalid; + storage->NavIdSelected = -1; + } + + if ((ms->Flags & (ImGuiMultiSelectFlags_BoxSelect1d | ImGuiMultiSelectFlags_BoxSelect2d)) && GetBoxSelectState(ms->BoxSelectId)) + EndBoxSelect(scope_rect, ms->Flags); + } + + if (ms->IsEndIO == false) + ms->IO.Requests.resize(0); + + // Clear selection when clicking void? + // We specifically test for IsMouseDragPastThreshold(0) == false to allow box-selection! + // The InnerRect test is necessary for non-child/decorated windows. + bool scope_hovered = IsWindowHovered() && window->InnerRect.Contains(g.IO.MousePos); + if (scope_hovered && (ms->Flags & ImGuiMultiSelectFlags_ScopeRect)) + scope_hovered &= scope_rect.Contains(g.IO.MousePos); + if (scope_hovered && g.HoveredId == 0 && g.ActiveId == 0) + { + if (ms->Flags & (ImGuiMultiSelectFlags_BoxSelect1d | ImGuiMultiSelectFlags_BoxSelect2d)) + { + if (!g.BoxSelectState.IsActive && !g.BoxSelectState.IsStarting && g.IO.MouseClickedCount[0] == 1) + { + BoxSelectPreStartDrag(ms->BoxSelectId, ImGuiSelectionUserData_Invalid); + FocusWindow(window, ImGuiFocusRequestFlags_UnlessBelowModal); + SetHoveredID(ms->BoxSelectId); + if (ms->Flags & ImGuiMultiSelectFlags_ScopeRect) + SetNavID(0, ImGuiNavLayer_Main, ms->FocusScopeId, ImRect(g.IO.MousePos, g.IO.MousePos)); // Automatically switch FocusScope for initial click from void to box-select. + } + } + + if (ms->Flags & ImGuiMultiSelectFlags_ClearOnClickVoid) + if (IsMouseReleased(0) && IsMouseDragPastThreshold(0) == false && g.IO.KeyMods == ImGuiMod_None) + MultiSelectAddSetAll(ms, false); + } + + // Courtesy nav wrapping helper flag + if (ms->Flags & ImGuiMultiSelectFlags_NavWrapX) + { + IM_ASSERT(ms->Flags & ImGuiMultiSelectFlags_ScopeWindow); // Only supported at window scope + ImGui::NavMoveRequestTryWrapping(ImGui::GetCurrentWindow(), ImGuiNavMoveFlags_WrapX); + } + + // Unwind + window->DC.CursorMaxPos = ImMax(ms->BackupCursorMaxPos, window->DC.CursorMaxPos); + PopFocusScope(); + + if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) + DebugLogMultiSelectRequests("EndMultiSelect", &ms->IO); + + ms->FocusScopeId = 0; + ms->Flags = ImGuiMultiSelectFlags_None; + g.CurrentMultiSelect = (--g.MultiSelectTempDataStacked > 0) ? &g.MultiSelectTempData[g.MultiSelectTempDataStacked - 1] : NULL; + + return &ms->IO; +} + +void ImGui::SetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data) +{ + // Note that flags will be cleared by ItemAdd(), so it's only useful for Navigation code! + // This designed so widgets can also cheaply set this before calling ItemAdd(), so we are not tied to MultiSelect api. + ImGuiContext& g = *GImGui; + g.NextItemData.SelectionUserData = selection_user_data; + g.NextItemData.FocusScopeId = g.CurrentFocusScopeId; + + if (ImGuiMultiSelectTempData* ms = g.CurrentMultiSelect) + { + // Auto updating RangeSrcPassedBy for cases were clipper is not used (done before ItemAdd() clipping) + g.NextItemData.ItemFlags |= ImGuiItemFlags_HasSelectionUserData | ImGuiItemFlags_IsMultiSelect; + if (ms->IO.RangeSrcItem == selection_user_data) + ms->RangeSrcPassedBy = true; + } + else + { + g.NextItemData.ItemFlags |= ImGuiItemFlags_HasSelectionUserData; + } +} + +// In charge of: +// - Applying SetAll for submitted items. +// - Applying SetRange for submitted items and record end points. +// - Altering button behavior flags to facilitate use with drag and drop. +void ImGui::MultiSelectItemHeader(ImGuiID id, bool* p_selected, ImGuiButtonFlags* p_button_flags) +{ + ImGuiContext& g = *GImGui; + ImGuiMultiSelectTempData* ms = g.CurrentMultiSelect; + + bool selected = *p_selected; + if (ms->IsFocused) + { + ImGuiMultiSelectState* storage = ms->Storage; + ImGuiSelectionUserData item_data = g.NextItemData.SelectionUserData; + IM_ASSERT(g.NextItemData.FocusScopeId == g.CurrentFocusScopeId && "Forgot to call SetNextItemSelectionUserData() prior to item, required in BeginMultiSelect()/EndMultiSelect() scope"); + + // Apply SetAll (Clear/SelectAll) requests requested by BeginMultiSelect(). + // This is only useful if the user hasn't processed them already, and this only works if the user isn't using the clipper. + // If you are using a clipper you need to process the SetAll request after calling BeginMultiSelect() + if (ms->LoopRequestSetAll != -1) + selected = (ms->LoopRequestSetAll == 1); + + // When using SHIFT+Nav: because it can incur scrolling we cannot afford a frame of lag with the selection highlight (otherwise scrolling would happen before selection) + // For this to work, we need someone to set 'RangeSrcPassedBy = true' at some point (either clipper either SetNextItemSelectionUserData() function) + if (ms->IsKeyboardSetRange) + { + IM_ASSERT(id != 0 && (ms->KeyMods & ImGuiMod_Shift) != 0); + const bool is_range_dst = (ms->RangeDstPassedBy == false) && g.NavJustMovedToId == id; // Assume that g.NavJustMovedToId is not clipped. + if (is_range_dst) + ms->RangeDstPassedBy = true; + if (is_range_dst && storage->RangeSrcItem == ImGuiSelectionUserData_Invalid) // If we don't have RangeSrc, assign RangeSrc = RangeDst + { + storage->RangeSrcItem = item_data; + storage->RangeSelected = selected ? 1 : 0; + } + const bool is_range_src = storage->RangeSrcItem == item_data; + if (is_range_src || is_range_dst || ms->RangeSrcPassedBy != ms->RangeDstPassedBy) + { + // Apply range-select value to visible items + IM_ASSERT(storage->RangeSrcItem != ImGuiSelectionUserData_Invalid && storage->RangeSelected != -1); + selected = (storage->RangeSelected != 0); + } + else if ((ms->KeyMods & ImGuiMod_Ctrl) == 0 && (ms->Flags & ImGuiMultiSelectFlags_NoAutoClear) == 0) + { + // Clear other items + selected = false; + } + } + *p_selected = selected; + } + + // Alter button behavior flags + // To handle drag and drop of multiple items we need to avoid clearing selection on click. + // Enabling this test makes actions using CTRL+SHIFT delay their effect on MouseUp which is annoying, but it allows drag and drop of multiple items. + if (p_button_flags != NULL) + { + ImGuiButtonFlags button_flags = *p_button_flags; + button_flags |= ImGuiButtonFlags_NoHoveredOnFocus; + if ((!selected || (g.ActiveId == id && g.ActiveIdHasBeenPressedBefore)) && !(ms->Flags & ImGuiMultiSelectFlags_SelectOnClickRelease)) + button_flags = (button_flags | ImGuiButtonFlags_PressedOnClick) & ~ImGuiButtonFlags_PressedOnClickRelease; + else + button_flags |= ImGuiButtonFlags_PressedOnClickRelease; + *p_button_flags = button_flags; + } +} + +// In charge of: +// - Auto-select on navigation. +// - Box-select toggle handling. +// - Right-click handling. +// - Altering selection based on Ctrl/Shift modifiers, both for keyboard and mouse. +// - Record current selection state for RangeSrc +// This is all rather complex, best to run and refer to "widgets_multiselect_xxx" tests in imgui_test_suite. +void ImGui::MultiSelectItemFooter(ImGuiID id, bool* p_selected, bool* p_pressed) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + bool selected = *p_selected; + bool pressed = *p_pressed; + ImGuiMultiSelectTempData* ms = g.CurrentMultiSelect; + ImGuiMultiSelectState* storage = ms->Storage; + if (pressed) + ms->IsFocused = true; + + bool hovered = false; + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredRect) + hovered = IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup); + if (!ms->IsFocused && !hovered) + return; + + ImGuiSelectionUserData item_data = g.NextItemData.SelectionUserData; + + ImGuiMultiSelectFlags flags = ms->Flags; + const bool is_singleselect = (flags & ImGuiMultiSelectFlags_SingleSelect) != 0; + bool is_ctrl = (ms->KeyMods & ImGuiMod_Ctrl) != 0; + bool is_shift = (ms->KeyMods & ImGuiMod_Shift) != 0; + + bool apply_to_range_src = false; + + if (g.NavId == id && storage->RangeSrcItem == ImGuiSelectionUserData_Invalid) + apply_to_range_src = true; + if (ms->IsEndIO == false) + { + ms->IO.Requests.resize(0); + ms->IsEndIO = true; + } + + // Auto-select as you navigate a list + if (g.NavJustMovedToId == id) + { + if ((flags & ImGuiMultiSelectFlags_NoAutoSelect) == 0) + { + if (is_ctrl && is_shift) + pressed = true; + else if (!is_ctrl) + selected = pressed = true; + } + else + { + // With NoAutoSelect, using Shift+keyboard performs a write/copy + if (is_shift) + pressed = true; + else if (!is_ctrl) + apply_to_range_src = true; // Since if (pressed) {} main block is not running we update this + } + } + + if (apply_to_range_src) + { + storage->RangeSrcItem = item_data; + storage->RangeSelected = selected; // Will be updated at the end of this function anyway. + } + + // Box-select toggle handling + if (ms->BoxSelectId != 0) + if (ImGuiBoxSelectState* bs = GetBoxSelectState(ms->BoxSelectId)) + { + const bool rect_overlap_curr = bs->BoxSelectRectCurr.Overlaps(g.LastItemData.Rect); + const bool rect_overlap_prev = bs->BoxSelectRectPrev.Overlaps(g.LastItemData.Rect); + if ((rect_overlap_curr && !rect_overlap_prev && !selected) || (rect_overlap_prev && !rect_overlap_curr)) + { + if (storage->LastSelectionSize <= 0 && bs->IsStartedSetNavIdOnce) + { + pressed = true; // First item act as a pressed: code below will emit selection request and set NavId (whatever we emit here will be overridden anyway) + bs->IsStartedSetNavIdOnce = false; + } + else + { + selected = !selected; + MultiSelectAddSetRange(ms, selected, +1, item_data, item_data); + } + storage->LastSelectionSize = ImMax(storage->LastSelectionSize + 1, 1); + } + } + + // Right-click handling. + // FIXME-MULTISELECT: Currently filtered out by ImGuiMultiSelectFlags_NoAutoSelect but maybe should be moved to Selectable(). See https://github.com/ocornut/imgui/pull/5816 + if (hovered && IsMouseClicked(1) && (flags & ImGuiMultiSelectFlags_NoAutoSelect) == 0) + { + if (g.ActiveId != 0 && g.ActiveId != id) + ClearActiveID(); + SetFocusID(id, window); + if (!pressed && !selected) + { + pressed = true; + is_ctrl = is_shift = false; + } + } + + // Unlike Space, Enter doesn't alter selection (but can still return a press) unless current item is not selected. + // The later, "unless current item is not select", may become optional? It seems like a better default if Enter doesn't necessarily open something + // (unlike e.g. Windows explorer). For use case where Enter always open something, we might decide to make this optional? + const bool enter_pressed = pressed && (g.NavActivateId == id) && (g.NavActivateFlags & ImGuiActivateFlags_PreferInput); + + // Alter selection + if (pressed && (!enter_pressed || !selected)) + { + // Box-select + ImGuiInputSource input_source = (g.NavJustMovedToId == id || g.NavActivateId == id) ? g.NavInputSource : ImGuiInputSource_Mouse; + if (flags & (ImGuiMultiSelectFlags_BoxSelect1d | ImGuiMultiSelectFlags_BoxSelect2d)) + if (selected == false && !g.BoxSelectState.IsActive && !g.BoxSelectState.IsStarting && input_source == ImGuiInputSource_Mouse && g.IO.MouseClickedCount[0] == 1) + BoxSelectPreStartDrag(ms->BoxSelectId, item_data); + + //---------------------------------------------------------------------------------------- + // ACTION | Begin | Pressed/Activated | End + //---------------------------------------------------------------------------------------- + // Keys Navigated: | Clear | Src=item, Sel=1 SetRange 1 + // Keys Navigated: Ctrl | n/a | n/a + // Keys Navigated: Shift | n/a | Dst=item, Sel=1, => Clear + SetRange 1 + // Keys Navigated: Ctrl+Shift | n/a | Dst=item, Sel=Src => Clear + SetRange Src-Dst + // Keys Activated: | n/a | Src=item, Sel=1 => Clear + SetRange 1 + // Keys Activated: Ctrl | n/a | Src=item, Sel=!Sel => SetSange 1 + // Keys Activated: Shift | n/a | Dst=item, Sel=1 => Clear + SetSange 1 + //---------------------------------------------------------------------------------------- + // Mouse Pressed: | n/a | Src=item, Sel=1, => Clear + SetRange 1 + // Mouse Pressed: Ctrl | n/a | Src=item, Sel=!Sel => SetRange 1 + // Mouse Pressed: Shift | n/a | Dst=item, Sel=1, => Clear + SetRange 1 + // Mouse Pressed: Ctrl+Shift | n/a | Dst=item, Sel=!Sel => SetRange Src-Dst + //---------------------------------------------------------------------------------------- + + if ((flags & ImGuiMultiSelectFlags_NoAutoClear) == 0) + { + bool request_clear = false; + if (is_singleselect) + request_clear = true; + else if ((input_source == ImGuiInputSource_Mouse || g.NavActivateId == id) && !is_ctrl) + request_clear = (flags & ImGuiMultiSelectFlags_NoAutoClearOnReselect) ? !selected : true; + else if ((input_source == ImGuiInputSource_Keyboard || input_source == ImGuiInputSource_Gamepad) && is_shift && !is_ctrl) + request_clear = true; // With is_shift==false the RequestClear was done in BeginIO, not necessary to do again. + if (request_clear) + MultiSelectAddSetAll(ms, false); + } + + int range_direction; + bool range_selected; + if (is_shift && !is_singleselect) + { + //IM_ASSERT(storage->HasRangeSrc && storage->HasRangeValue); + if (storage->RangeSrcItem == ImGuiSelectionUserData_Invalid) + storage->RangeSrcItem = item_data; + if ((flags & ImGuiMultiSelectFlags_NoAutoSelect) == 0) + { + // Shift+Arrow always select + // Ctrl+Shift+Arrow copy source selection state (already stored by BeginMultiSelect() in storage->RangeSelected) + range_selected = (is_ctrl && storage->RangeSelected != -1) ? (storage->RangeSelected != 0) : true; + } + else + { + // Shift+Arrow copy source selection state + // Shift+Click always copy from target selection state + if (ms->IsKeyboardSetRange) + range_selected = (storage->RangeSelected != -1) ? (storage->RangeSelected != 0) : true; + else + range_selected = !selected; + } + range_direction = ms->RangeSrcPassedBy ? +1 : -1; + } + else + { + // Ctrl inverts selection, otherwise always select + if ((flags & ImGuiMultiSelectFlags_NoAutoSelect) == 0) + selected = is_ctrl ? !selected : true; + else + selected = !selected; + storage->RangeSrcItem = item_data; + range_selected = selected; + range_direction = +1; + } + MultiSelectAddSetRange(ms, range_selected, range_direction, storage->RangeSrcItem, item_data); + } + + // Update/store the selection state of the Source item (used by CTRL+SHIFT, when Source is unselected we perform a range unselect) + if (storage->RangeSrcItem == item_data) + storage->RangeSelected = selected ? 1 : 0; + + // Update/store the selection state of focused item + if (g.NavId == id) + { + storage->NavIdItem = item_data; + storage->NavIdSelected = selected ? 1 : 0; + } + if (storage->NavIdItem == item_data) + ms->NavIdPassedBy = true; + ms->LastSubmittedItem = item_data; + + *p_selected = selected; + *p_pressed = pressed; +} + +void ImGui::MultiSelectAddSetAll(ImGuiMultiSelectTempData* ms, bool selected) +{ + ImGuiSelectionRequest req = { ImGuiSelectionRequestType_SetAll, selected, 0, ImGuiSelectionUserData_Invalid, ImGuiSelectionUserData_Invalid }; + ms->IO.Requests.resize(0); // Can always clear previous requests + ms->IO.Requests.push_back(req); // Add new request +} + +void ImGui::MultiSelectAddSetRange(ImGuiMultiSelectTempData* ms, bool selected, int range_dir, ImGuiSelectionUserData first_item, ImGuiSelectionUserData last_item) +{ + // Merge contiguous spans into same request (unless NoRangeSelect is set which guarantees single-item ranges) + if (ms->IO.Requests.Size > 0 && first_item == last_item && (ms->Flags & ImGuiMultiSelectFlags_NoRangeSelect) == 0) + { + ImGuiSelectionRequest* prev = &ms->IO.Requests.Data[ms->IO.Requests.Size - 1]; + if (prev->Type == ImGuiSelectionRequestType_SetRange && prev->RangeLastItem == ms->LastSubmittedItem && prev->Selected == selected) + { + prev->RangeLastItem = last_item; + return; + } + } + + ImGuiSelectionRequest req = { ImGuiSelectionRequestType_SetRange, selected, (ImS8)range_dir, (range_dir > 0) ? first_item : last_item, (range_dir > 0) ? last_item : first_item }; + ms->IO.Requests.push_back(req); // Add new request +} + +void ImGui::DebugNodeMultiSelectState(ImGuiMultiSelectState* storage) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + const bool is_active = (storage->LastFrameActive >= GetFrameCount() - 2); // Note that fully clipped early out scrolling tables will appear as inactive here. + if (!is_active) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } + bool open = TreeNode((void*)(intptr_t)storage->ID, "MultiSelect 0x%08X in '%s'%s", storage->ID, storage->Window ? storage->Window->Name : "N/A", is_active ? "" : " *Inactive*"); + if (!is_active) { PopStyleColor(); } + if (!open) + return; + Text("RangeSrcItem = %" IM_PRId64 " (0x%" IM_PRIX64 "), RangeSelected = %d", storage->RangeSrcItem, storage->RangeSrcItem, storage->RangeSelected); + Text("NavIdItem = %" IM_PRId64 " (0x%" IM_PRIX64 "), NavIdSelected = %d", storage->NavIdItem, storage->NavIdItem, storage->NavIdSelected); + Text("LastSelectionSize = %d", storage->LastSelectionSize); // Provided by user + TreePop(); +#else + IM_UNUSED(storage); +#endif +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Multi-Select helpers +//------------------------------------------------------------------------- +// - ImGuiSelectionBasicStorage +// - ImGuiSelectionExternalStorage +//------------------------------------------------------------------------- + +ImGuiSelectionBasicStorage::ImGuiSelectionBasicStorage() +{ + Size = 0; + PreserveOrder = false; + UserData = NULL; + AdapterIndexToStorageId = [](ImGuiSelectionBasicStorage*, int idx) { return (ImGuiID)idx; }; + _SelectionOrder = 1; // Always >0 +} + +void ImGuiSelectionBasicStorage::Clear() +{ + Size = 0; + _SelectionOrder = 1; // Always >0 + _Storage.Data.resize(0); +} + +void ImGuiSelectionBasicStorage::Swap(ImGuiSelectionBasicStorage& r) +{ + ImSwap(Size, r.Size); + ImSwap(_SelectionOrder, r._SelectionOrder); + _Storage.Data.swap(r._Storage.Data); +} + +bool ImGuiSelectionBasicStorage::Contains(ImGuiID id) const +{ + return _Storage.GetInt(id, 0) != 0; +} + +static int IMGUI_CDECL PairComparerByValueInt(const void* lhs, const void* rhs) +{ + int lhs_v = ((const ImGuiStoragePair*)lhs)->val_i; + int rhs_v = ((const ImGuiStoragePair*)rhs)->val_i; + return (lhs_v > rhs_v ? +1 : lhs_v < rhs_v ? -1 : 0); +} + +// GetNextSelectedItem() is an abstraction allowing us to change our underlying actual storage system without impacting user. +// (e.g. store unselected vs compact down, compact down on demand, use raw ImVector instead of ImGuiStorage...) +bool ImGuiSelectionBasicStorage::GetNextSelectedItem(void** opaque_it, ImGuiID* out_id) +{ + ImGuiStoragePair* it = (ImGuiStoragePair*)*opaque_it; + ImGuiStoragePair* it_end = _Storage.Data.Data + _Storage.Data.Size; + if (PreserveOrder && it == NULL && it_end != NULL) + ImQsort(_Storage.Data.Data, (size_t)_Storage.Data.Size, sizeof(ImGuiStoragePair), PairComparerByValueInt); // ~ImGuiStorage::BuildSortByValueInt() + if (it == NULL) + it = _Storage.Data.Data; + IM_ASSERT(it >= _Storage.Data.Data && it <= it_end); + if (it != it_end) + while (it->val_i == 0 && it < it_end) + it++; + const bool has_more = (it != it_end); + *opaque_it = has_more ? (void**)(it + 1) : (void**)(it); + *out_id = has_more ? it->key : 0; + if (PreserveOrder && !has_more) + _Storage.BuildSortByKey(); + return has_more; +} + +void ImGuiSelectionBasicStorage::SetItemSelected(ImGuiID id, bool selected) +{ + int* p_int = _Storage.GetIntRef(id, 0); + if (selected && *p_int == 0) { *p_int = _SelectionOrder++; Size++; } + else if (!selected && *p_int != 0) { *p_int = 0; Size--; } +} + +// Optimized for batch edits (with same value of 'selected') +static void ImGuiSelectionBasicStorage_BatchSetItemSelected(ImGuiSelectionBasicStorage* selection, ImGuiID id, bool selected, int size_before_amends, int selection_order) +{ + ImGuiStorage* storage = &selection->_Storage; + ImGuiStoragePair* it = ImLowerBound(storage->Data.Data, storage->Data.Data + size_before_amends, id); + const bool is_contained = (it != storage->Data.Data + size_before_amends) && (it->key == id); + if (selected == (is_contained && it->val_i != 0)) + return; + if (selected && !is_contained) + storage->Data.push_back(ImGuiStoragePair(id, selection_order)); // Push unsorted at end of vector, will be sorted in SelectionMultiAmendsFinish() + else if (is_contained) + it->val_i = selected ? selection_order : 0; // Modify in-place. + selection->Size += selected ? +1 : -1; +} + +static void ImGuiSelectionBasicStorage_BatchFinish(ImGuiSelectionBasicStorage* selection, bool selected, int size_before_amends) +{ + ImGuiStorage* storage = &selection->_Storage; + if (selected && selection->Size != size_before_amends) + storage->BuildSortByKey(); // When done selecting: sort everything +} + +// Apply requests coming from BeginMultiSelect() and EndMultiSelect(). +// - Enable 'Demo->Tools->Debug Log->Selection' to see selection requests as they happen. +// - Honoring SetRange requests requires that you can iterate/interpolate between RangeFirstItem and RangeLastItem. +// - In this demo we often submit indices to SetNextItemSelectionUserData() + store the same indices in persistent selection. +// - Your code may do differently. If you store pointers or objects ID in ImGuiSelectionUserData you may need to perform +// a lookup in order to have some way to iterate/interpolate between two items. +// - A full-featured application is likely to allow search/filtering which is likely to lead to using indices +// and constructing a view index <> object id/ptr data structure anyway. +// WHEN YOUR APPLICATION SETTLES ON A CHOICE, YOU WILL PROBABLY PREFER TO GET RID OF THIS UNNECESSARY 'ImGuiSelectionBasicStorage' INDIRECTION LOGIC. +// Notice that with the simplest adapter (using indices everywhere), all functions return their parameters. +// The most simple implementation (using indices everywhere) would look like: +// for (ImGuiSelectionRequest& req : ms_io->Requests) +// { +// if (req.Type == ImGuiSelectionRequestType_SetAll) { Clear(); if (req.Selected) { for (int n = 0; n < items_count; n++) { SetItemSelected(n, true); } } +// if (req.Type == ImGuiSelectionRequestType_SetRange) { for (int n = (int)ms_io->RangeFirstItem; n <= (int)ms_io->RangeLastItem; n++) { SetItemSelected(n, ms_io->Selected); } } +// } +void ImGuiSelectionBasicStorage::ApplyRequests(ImGuiMultiSelectIO* ms_io) +{ + // For convenience we obtain ItemsCount as passed to BeginMultiSelect(), which is optional. + // It makes sense when using ImGuiSelectionBasicStorage to simply pass your items count to BeginMultiSelect(). + // Other scheme may handle SetAll differently. + IM_ASSERT(ms_io->ItemsCount != -1 && "Missing value for items_count in BeginMultiSelect() call!"); + IM_ASSERT(AdapterIndexToStorageId != NULL); + + // This is optimized/specialized to cope with very large selections (e.g. 100k+ items) + // - A simpler version could call SetItemSelected() directly instead of ImGuiSelectionBasicStorage_BatchSetItemSelected() + ImGuiSelectionBasicStorage_BatchFinish(). + // - Optimized select can append unsorted, then sort in a second pass. Optimized unselect can clear in-place then compact in a second pass. + // - A more optimal version wouldn't even use ImGuiStorage but directly a ImVector to reduce bandwidth, but this is a reasonable trade off to reuse code. + // - There are many ways this could be better optimized. The worse case scenario being: using BoxSelect2d in a grid, box-select scrolling down while wiggling + // left and right: it affects coarse clipping + can emit multiple SetRange with 1 item each.) + // FIXME-OPT: For each block of consecutive SetRange request: + // - add all requests to a sorted list, store ID, selected, offset in ImGuiStorage. + // - rewrite sorted storage a single time. + for (ImGuiSelectionRequest& req : ms_io->Requests) + { + if (req.Type == ImGuiSelectionRequestType_SetAll) + { + Clear(); + if (req.Selected) + { + _Storage.Data.reserve(ms_io->ItemsCount); + const int size_before_amends = _Storage.Data.Size; + for (int idx = 0; idx < ms_io->ItemsCount; idx++, _SelectionOrder++) + ImGuiSelectionBasicStorage_BatchSetItemSelected(this, GetStorageIdFromIndex(idx), req.Selected, size_before_amends, _SelectionOrder); + ImGuiSelectionBasicStorage_BatchFinish(this, req.Selected, size_before_amends); + } + } + else if (req.Type == ImGuiSelectionRequestType_SetRange) + { + const int selection_changes = (int)req.RangeLastItem - (int)req.RangeFirstItem + 1; + //ImGuiContext& g = *GImGui; IMGUI_DEBUG_LOG_SELECTION("Req %d/%d: set %d to %d\n", ms_io->Requests.index_from_ptr(&req), ms_io->Requests.Size, selection_changes, req.Selected); + if (selection_changes == 1 || (selection_changes < Size / 100)) + { + // Multiple sorted insertion + copy likely to be faster. + // Technically we could do a single copy with a little more work (sort sequential SetRange requests) + for (int idx = (int)req.RangeFirstItem; idx <= (int)req.RangeLastItem; idx++) + SetItemSelected(GetStorageIdFromIndex(idx), req.Selected); + } + else + { + // Append insertion + single sort likely be faster. + // Use req.RangeDirection to set order field so that shift+clicking from 1 to 5 is different than shift+clicking from 5 to 1 + const int size_before_amends = _Storage.Data.Size; + int selection_order = _SelectionOrder + ((req.RangeDirection < 0) ? selection_changes - 1 : 0); + for (int idx = (int)req.RangeFirstItem; idx <= (int)req.RangeLastItem; idx++, selection_order += req.RangeDirection) + ImGuiSelectionBasicStorage_BatchSetItemSelected(this, GetStorageIdFromIndex(idx), req.Selected, size_before_amends, selection_order); + if (req.Selected) + _SelectionOrder += selection_changes; + ImGuiSelectionBasicStorage_BatchFinish(this, req.Selected, size_before_amends); + } + } + } +} + +//------------------------------------------------------------------------- + +ImGuiSelectionExternalStorage::ImGuiSelectionExternalStorage() +{ + UserData = NULL; + AdapterSetItemSelected = NULL; +} + +// Apply requests coming from BeginMultiSelect() and EndMultiSelect(). +// We also pull 'ms_io->ItemsCount' as passed for BeginMultiSelect() for consistency with ImGuiSelectionBasicStorage +// This makes no assumption about underlying storage. +void ImGuiSelectionExternalStorage::ApplyRequests(ImGuiMultiSelectIO* ms_io) +{ + IM_ASSERT(AdapterSetItemSelected); + for (ImGuiSelectionRequest& req : ms_io->Requests) + { + if (req.Type == ImGuiSelectionRequestType_SetAll) + for (int idx = 0; idx < ms_io->ItemsCount; idx++) + AdapterSetItemSelected(this, idx, req.Selected); + if (req.Type == ImGuiSelectionRequestType_SetRange) + for (int idx = (int)req.RangeFirstItem; idx <= (int)req.RangeLastItem; idx++) + AdapterSetItemSelected(this, idx, req.Selected); + } +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: ListBox +//------------------------------------------------------------------------- +// - BeginListBox() +// - EndListBox() +// - ListBox() +//------------------------------------------------------------------------- + +// This is essentially a thin wrapper to using BeginChild/EndChild with the ImGuiChildFlags_FrameStyle flag for stylistic changes + displaying a label. +// This handle some subtleties with capturing info from the label. +// If you don't need a label you can pretty much directly use ImGui::BeginChild() with ImGuiChildFlags_FrameStyle. +// Tip: To have a list filling the entire window width, use size.x = -FLT_MIN and pass an non-visible label e.g. "##empty" +// Tip: If your vertical size is calculated from an item count (e.g. 10 * item_height) consider adding a fractional part to facilitate seeing scrolling boundaries (e.g. 10.5f * item_height). +bool ImGui::BeginListBox(const char* label, const ImVec2& size_arg) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + const ImGuiStyle& style = g.Style; + const ImGuiID id = GetID(label); + const ImVec2 label_size = CalcTextSize(label, NULL, true); + + // Size default to hold ~7.25 items. + // Fractional number of items helps seeing that we can scroll down/up without looking at scrollbar. + ImVec2 size = ImTrunc(CalcItemSize(size_arg, CalcItemWidth(), GetTextLineHeightWithSpacing() * 7.25f + style.FramePadding.y * 2.0f)); + ImVec2 frame_size = ImVec2(size.x, ImMax(size.y, label_size.y)); + ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + frame_size); + ImRect bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0.0f)); + g.NextItemData.ClearFlags(); + + if (!IsRectVisible(bb.Min, bb.Max)) + { + ItemSize(bb.GetSize(), style.FramePadding.y); + ItemAdd(bb, 0, &frame_bb); + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + return false; + } + + // FIXME-OPT: We could omit the BeginGroup() if label_size.x == 0.0f but would need to omit the EndGroup() as well. + BeginGroup(); + if (label_size.x > 0.0f) + { + ImVec2 label_pos = ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y); + RenderText(label_pos, label); + window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, label_pos + label_size); + AlignTextToFramePadding(); + } + + BeginChild(id, frame_bb.GetSize(), ImGuiChildFlags_FrameStyle); + return true; +} + +void ImGui::EndListBox() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT((window->Flags & ImGuiWindowFlags_ChildWindow) && "Mismatched BeginListBox/EndListBox calls. Did you test the return value of BeginListBox?"); + IM_UNUSED(window); + + EndChild(); + EndGroup(); // This is only required to be able to do IsItemXXX query on the whole ListBox including label +} + +bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items) +{ + const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items); + return value_changed; +} + +// This is merely a helper around BeginListBox(), EndListBox(). +// Considering using those directly to submit custom data or store selection differently. +bool ImGui::ListBox(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int height_in_items) +{ + ImGuiContext& g = *GImGui; + + // Calculate size from "height_in_items" + if (height_in_items < 0) + height_in_items = ImMin(items_count, 7); + float height_in_items_f = height_in_items + 0.25f; + ImVec2 size(0.0f, ImTrunc(GetTextLineHeightWithSpacing() * height_in_items_f + g.Style.FramePadding.y * 2.0f)); + + if (!BeginListBox(label, size)) + return false; + + // Assume all items have even height (= 1 line of text). If you need items of different height, + // you can create a custom version of ListBox() in your code without using the clipper. + bool value_changed = false; + ImGuiListClipper clipper; + clipper.Begin(items_count, GetTextLineHeightWithSpacing()); // We know exactly our line height here so we pass it as a minor optimization, but generally you don't need to. + clipper.IncludeItemByIndex(*current_item); + while (clipper.Step()) + for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) + { + const char* item_text = getter(user_data, i); + if (item_text == NULL) + item_text = "*Unknown item*"; + + PushID(i); + const bool item_selected = (i == *current_item); + if (Selectable(item_text, item_selected)) + { + *current_item = i; + value_changed = true; + } + if (item_selected) + SetItemDefaultFocus(); + PopID(); + } + EndListBox(); + + if (value_changed) + MarkItemEdited(g.LastItemData.ID); + + return value_changed; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: PlotLines, PlotHistogram +//------------------------------------------------------------------------- +// - PlotEx() [Internal] +// - PlotLines() +// - PlotHistogram() +//------------------------------------------------------------------------- +// Plot/Graph widgets are not very good. +// Consider writing your own, or using a third-party one, see: +// - ImPlot https://github.com/epezent/implot +// - others https://github.com/ocornut/imgui/wiki/Useful-Extensions +//------------------------------------------------------------------------- + +int ImGui::PlotEx(ImGuiPlotType plot_type, const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, const ImVec2& size_arg) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return -1; + + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + + const ImVec2 label_size = CalcTextSize(label, NULL, true); + const ImVec2 frame_size = CalcItemSize(size_arg, CalcItemWidth(), label_size.y + style.FramePadding.y * 2.0f); + + const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + frame_size); + const ImRect inner_bb(frame_bb.Min + style.FramePadding, frame_bb.Max - style.FramePadding); + const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f, 0)); + ItemSize(total_bb, style.FramePadding.y); + if (!ItemAdd(total_bb, id, &frame_bb, ImGuiItemFlags_NoNav)) + return -1; + bool hovered; + ButtonBehavior(frame_bb, id, &hovered, NULL); + + // Determine scale from values if not specified + if (scale_min == FLT_MAX || scale_max == FLT_MAX) + { + float v_min = FLT_MAX; + float v_max = -FLT_MAX; + for (int i = 0; i < values_count; i++) + { + const float v = values_getter(data, i); + if (v != v) // Ignore NaN values + continue; + v_min = ImMin(v_min, v); + v_max = ImMax(v_max, v); + } + if (scale_min == FLT_MAX) + scale_min = v_min; + if (scale_max == FLT_MAX) + scale_max = v_max; + } + + RenderFrame(frame_bb.Min, frame_bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); + + const int values_count_min = (plot_type == ImGuiPlotType_Lines) ? 2 : 1; + int idx_hovered = -1; + if (values_count >= values_count_min) + { + int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); + int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); + + // Tooltip on hover + if (hovered && inner_bb.Contains(g.IO.MousePos)) + { + const float t = ImClamp((g.IO.MousePos.x - inner_bb.Min.x) / (inner_bb.Max.x - inner_bb.Min.x), 0.0f, 0.9999f); + const int v_idx = (int)(t * item_count); + IM_ASSERT(v_idx >= 0 && v_idx < values_count); + + const float v0 = values_getter(data, (v_idx + values_offset) % values_count); + const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); + if (plot_type == ImGuiPlotType_Lines) + SetTooltip("%d: %8.4g\n%d: %8.4g", v_idx, v0, v_idx + 1, v1); + else if (plot_type == ImGuiPlotType_Histogram) + SetTooltip("%d: %8.4g", v_idx, v0); + idx_hovered = v_idx; + } + + const float t_step = 1.0f / (float)res_w; + const float inv_scale = (scale_min == scale_max) ? 0.0f : (1.0f / (scale_max - scale_min)); + + float v0 = values_getter(data, (0 + values_offset) % values_count); + float t0 = 0.0f; + ImVec2 tp0 = ImVec2( t0, 1.0f - ImSaturate((v0 - scale_min) * inv_scale) ); // Point in the normalized space of our target rectangle + float histogram_zero_line_t = (scale_min * scale_max < 0.0f) ? (1 + scale_min * inv_scale) : (scale_min < 0.0f ? 0.0f : 1.0f); // Where does the zero line stands + + const ImU32 col_base = GetColorU32((plot_type == ImGuiPlotType_Lines) ? ImGuiCol_PlotLines : ImGuiCol_PlotHistogram); + const ImU32 col_hovered = GetColorU32((plot_type == ImGuiPlotType_Lines) ? ImGuiCol_PlotLinesHovered : ImGuiCol_PlotHistogramHovered); + + for (int n = 0; n < res_w; n++) + { + const float t1 = t0 + t_step; + const int v1_idx = (int)(t0 * item_count + 0.5f); + IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); + const float v1 = values_getter(data, (v1_idx + values_offset + 1) % values_count); + const ImVec2 tp1 = ImVec2( t1, 1.0f - ImSaturate((v1 - scale_min) * inv_scale) ); + + // NB: Draw calls are merged together by the DrawList system. Still, we should render our batch are lower level to save a bit of CPU. + ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0); + ImVec2 pos1 = ImLerp(inner_bb.Min, inner_bb.Max, (plot_type == ImGuiPlotType_Lines) ? tp1 : ImVec2(tp1.x, histogram_zero_line_t)); + if (plot_type == ImGuiPlotType_Lines) + { + window->DrawList->AddLine(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base); + } + else if (plot_type == ImGuiPlotType_Histogram) + { + if (pos1.x >= pos0.x + 2.0f) + pos1.x -= 1.0f; + window->DrawList->AddRectFilled(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base); + } + + t0 = t1; + tp0 = tp1; + } + } + + // Text overlay + if (overlay_text) + RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, overlay_text, NULL, NULL, ImVec2(0.5f, 0.0f)); + + if (label_size.x > 0.0f) + RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, inner_bb.Min.y), label); + + // Return hovered index or -1 if none are hovered. + // This is currently not exposed in the public API because we need a larger redesign of the whole thing, but in the short-term we are making it available in PlotEx(). + return idx_hovered; +} + +struct ImGuiPlotArrayGetterData +{ + const float* Values; + int Stride; + + ImGuiPlotArrayGetterData(const float* values, int stride) { Values = values; Stride = stride; } +}; + +static float Plot_ArrayGetter(void* data, int idx) +{ + ImGuiPlotArrayGetterData* plot_data = (ImGuiPlotArrayGetterData*)data; + const float v = *(const float*)(const void*)((const unsigned char*)plot_data->Values + (size_t)idx * plot_data->Stride); + return v; +} + +void ImGui::PlotLines(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size, int stride) +{ + ImGuiPlotArrayGetterData data(values, stride); + PlotEx(ImGuiPlotType_Lines, label, &Plot_ArrayGetter, (void*)&data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); +} + +void ImGui::PlotLines(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size) +{ + PlotEx(ImGuiPlotType_Lines, label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); +} + +void ImGui::PlotHistogram(const char* label, const float* values, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size, int stride) +{ + ImGuiPlotArrayGetterData data(values, stride); + PlotEx(ImGuiPlotType_Histogram, label, &Plot_ArrayGetter, (void*)&data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); +} + +void ImGui::PlotHistogram(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 graph_size) +{ + PlotEx(ImGuiPlotType_Histogram, label, values_getter, data, values_count, values_offset, overlay_text, scale_min, scale_max, graph_size); +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: Value helpers +// Those is not very useful, legacy API. +//------------------------------------------------------------------------- +// - Value() +//------------------------------------------------------------------------- + +void ImGui::Value(const char* prefix, bool b) +{ + Text("%s: %s", prefix, (b ? "true" : "false")); +} + +void ImGui::Value(const char* prefix, int v) +{ + Text("%s: %d", prefix, v); +} + +void ImGui::Value(const char* prefix, unsigned int v) +{ + Text("%s: %d", prefix, v); +} + +void ImGui::Value(const char* prefix, float v, const char* float_format) +{ + if (float_format) + { + char fmt[64]; + ImFormatString(fmt, IM_ARRAYSIZE(fmt), "%%s: %s", float_format); + Text(fmt, prefix, v); + } + else + { + Text("%s: %.3f", prefix, v); + } +} + +//------------------------------------------------------------------------- +// [SECTION] MenuItem, BeginMenu, EndMenu, etc. +//------------------------------------------------------------------------- +// - ImGuiMenuColumns [Internal] +// - BeginMenuBar() +// - EndMenuBar() +// - BeginMainMenuBar() +// - EndMainMenuBar() +// - BeginMenu() +// - EndMenu() +// - MenuItemEx() [Internal] +// - MenuItem() +//------------------------------------------------------------------------- + +// Helpers for internal use +void ImGuiMenuColumns::Update(float spacing, bool window_reappearing) +{ + if (window_reappearing) + memset(Widths, 0, sizeof(Widths)); + Spacing = (ImU16)spacing; + CalcNextTotalWidth(true); + memset(Widths, 0, sizeof(Widths)); + TotalWidth = NextTotalWidth; + NextTotalWidth = 0; +} + +void ImGuiMenuColumns::CalcNextTotalWidth(bool update_offsets) +{ + ImU16 offset = 0; + bool want_spacing = false; + for (int i = 0; i < IM_ARRAYSIZE(Widths); i++) + { + ImU16 width = Widths[i]; + if (want_spacing && width > 0) + offset += Spacing; + want_spacing |= (width > 0); + if (update_offsets) + { + if (i == 1) { OffsetLabel = offset; } + if (i == 2) { OffsetShortcut = offset; } + if (i == 3) { OffsetMark = offset; } + } + offset += width; + } + NextTotalWidth = offset; +} + +float ImGuiMenuColumns::DeclColumns(float w_icon, float w_label, float w_shortcut, float w_mark) +{ + Widths[0] = ImMax(Widths[0], (ImU16)w_icon); + Widths[1] = ImMax(Widths[1], (ImU16)w_label); + Widths[2] = ImMax(Widths[2], (ImU16)w_shortcut); + Widths[3] = ImMax(Widths[3], (ImU16)w_mark); + CalcNextTotalWidth(false); + return (float)ImMax(TotalWidth, NextTotalWidth); +} + +// FIXME: Provided a rectangle perhaps e.g. a BeginMenuBarEx() could be used anywhere.. +// Currently the main responsibility of this function being to setup clip-rect + horizontal layout + menu navigation layer. +// Ideally we also want this to be responsible for claiming space out of the main window scrolling rectangle, in which case ImGuiWindowFlags_MenuBar will become unnecessary. +// Then later the same system could be used for multiple menu-bars, scrollbars, side-bars. +bool ImGui::BeginMenuBar() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + if (!(window->Flags & ImGuiWindowFlags_MenuBar)) + return false; + + IM_ASSERT(!window->DC.MenuBarAppending); + BeginGroup(); // Backup position on layer 0 // FIXME: Misleading to use a group for that backup/restore + PushID("##MenuBar"); + + // We don't clip with current window clipping rectangle as it is already set to the area below. However we clip with window full rect. + // We remove 1 worth of rounding to Max.x to that text in long menus and small windows don't tend to display over the lower-right rounded area, which looks particularly glitchy. + const float border_top = ImMax(window->WindowBorderSize * 0.5f - window->TitleBarHeight, 0.0f); + ImRect bar_rect = window->MenuBarRect(); + ImRect clip_rect(IM_ROUND(bar_rect.Min.x + window->WindowBorderSize * 0.5f), IM_ROUND(bar_rect.Min.y + border_top), IM_ROUND(ImMax(bar_rect.Min.x, bar_rect.Max.x - ImMax(window->WindowRounding, window->WindowBorderSize * 0.5f))), IM_ROUND(bar_rect.Max.y)); + clip_rect.ClipWith(window->OuterRectClipped); + PushClipRect(clip_rect.Min, clip_rect.Max, false); + + // We overwrite CursorMaxPos because BeginGroup sets it to CursorPos (essentially the .EmitItem hack in EndMenuBar() would need something analogous here, maybe a BeginGroupEx() with flags). + window->DC.CursorPos = window->DC.CursorMaxPos = ImVec2(bar_rect.Min.x + window->DC.MenuBarOffset.x, bar_rect.Min.y + window->DC.MenuBarOffset.y); + window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; + window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; + window->DC.MenuBarAppending = true; + AlignTextToFramePadding(); + return true; +} + +void ImGui::EndMenuBar() +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return; + ImGuiContext& g = *GImGui; + + IM_MSVC_WARNING_SUPPRESS(6011); // Static Analysis false positive "warning C6011: Dereferencing NULL pointer 'window'" + IM_ASSERT(window->Flags & ImGuiWindowFlags_MenuBar); + IM_ASSERT(window->DC.MenuBarAppending); + + // Nav: When a move request within one of our child menu failed, capture the request to navigate among our siblings. + if (NavMoveRequestButNoResultYet() && (g.NavMoveDir == ImGuiDir_Left || g.NavMoveDir == ImGuiDir_Right) && (g.NavWindow->Flags & ImGuiWindowFlags_ChildMenu)) + { + // Try to find out if the request is for one of our child menu + ImGuiWindow* nav_earliest_child = g.NavWindow; + while (nav_earliest_child->ParentWindow && (nav_earliest_child->ParentWindow->Flags & ImGuiWindowFlags_ChildMenu)) + nav_earliest_child = nav_earliest_child->ParentWindow; + if (nav_earliest_child->ParentWindow == window && nav_earliest_child->DC.ParentLayoutType == ImGuiLayoutType_Horizontal && (g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded) == 0) + { + // To do so we claim focus back, restore NavId and then process the movement request for yet another frame. + // This involve a one-frame delay which isn't very problematic in this situation. We could remove it by scoring in advance for multiple window (probably not worth bothering) + const ImGuiNavLayer layer = ImGuiNavLayer_Menu; + IM_ASSERT(window->DC.NavLayersActiveMaskNext & (1 << layer)); // Sanity check (FIXME: Seems unnecessary) + FocusWindow(window); + SetNavID(window->NavLastIds[layer], layer, 0, window->NavRectRel[layer]); + // FIXME-NAV: How to deal with this when not using g.IO.ConfigNavCursorVisibleAuto? + if (g.NavCursorVisible) + { + g.NavCursorVisible = false; // Hide nav cursor for the current frame so we don't see the intermediary selection. Will be set again + g.NavCursorHideFrames = 2; + } + g.NavHighlightItemUnderNav = g.NavMousePosDirty = true; + NavMoveRequestForward(g.NavMoveDir, g.NavMoveClipDir, g.NavMoveFlags, g.NavMoveScrollFlags); // Repeat + } + } + + PopClipRect(); + PopID(); + window->DC.MenuBarOffset.x = window->DC.CursorPos.x - window->Pos.x; // Save horizontal position so next append can reuse it. This is kinda equivalent to a per-layer CursorPos. + + // FIXME: Extremely confusing, cleanup by (a) working on WorkRect stack system (b) not using a Group confusingly here. + ImGuiGroupData& group_data = g.GroupStack.back(); + group_data.EmitItem = false; + ImVec2 restore_cursor_max_pos = group_data.BackupCursorMaxPos; + window->DC.IdealMaxPos.x = ImMax(window->DC.IdealMaxPos.x, window->DC.CursorMaxPos.x - window->Scroll.x); // Convert ideal extents for scrolling layer equivalent. + EndGroup(); // Restore position on layer 0 // FIXME: Misleading to use a group for that backup/restore + window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; + window->DC.NavLayerCurrent = ImGuiNavLayer_Main; + window->DC.MenuBarAppending = false; + window->DC.CursorMaxPos = restore_cursor_max_pos; +} + +// Important: calling order matters! +// FIXME: Somehow overlapping with docking tech. +// FIXME: The "rect-cut" aspect of this could be formalized into a lower-level helper (rect-cut: https://halt.software/dead-simple-layouts) +bool ImGui::BeginViewportSideBar(const char* name, ImGuiViewport* viewport_p, ImGuiDir dir, float axis_size, ImGuiWindowFlags window_flags) +{ + IM_ASSERT(dir != ImGuiDir_None); + + ImGuiWindow* bar_window = FindWindowByName(name); + if (bar_window == NULL || bar_window->BeginCount == 0) + { + // Calculate and set window size/position + ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)(viewport_p ? viewport_p : GetMainViewport()); + ImRect avail_rect = viewport->GetBuildWorkRect(); + ImGuiAxis axis = (dir == ImGuiDir_Up || dir == ImGuiDir_Down) ? ImGuiAxis_Y : ImGuiAxis_X; + ImVec2 pos = avail_rect.Min; + if (dir == ImGuiDir_Right || dir == ImGuiDir_Down) + pos[axis] = avail_rect.Max[axis] - axis_size; + ImVec2 size = avail_rect.GetSize(); + size[axis] = axis_size; + SetNextWindowPos(pos); + SetNextWindowSize(size); + + // Report our size into work area (for next frame) using actual window size + if (dir == ImGuiDir_Up || dir == ImGuiDir_Left) + viewport->BuildWorkInsetMin[axis] += axis_size; + else if (dir == ImGuiDir_Down || dir == ImGuiDir_Right) + viewport->BuildWorkInsetMax[axis] += axis_size; + } + + window_flags |= ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove; + + // Create window + PushStyleColor(ImGuiCol_WindowShadow, ImVec4(0, 0, 0, 0)); + PushStyleVar(ImGuiStyleVar_WindowRounding, 0.0f); + PushStyleVar(ImGuiStyleVar_WindowMinSize, ImVec2(0, 0)); // Lift normal size constraint + bool is_open = Begin(name, NULL, window_flags); + PopStyleVar(2); + PopStyleColor(); + + return is_open; +} + +bool ImGui::BeginMainMenuBar() +{ + ImGuiContext& g = *GImGui; + ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)GetMainViewport(); + + // For the main menu bar, which cannot be moved, we honor g.Style.DisplaySafeAreaPadding to ensure text can be visible on a TV set. + // FIXME: This could be generalized as an opt-in way to clamp window->DC.CursorStartPos to avoid SafeArea? + // FIXME: Consider removing support for safe area down the line... it's messy. Nowadays consoles have support for TV calibration in OS settings. + g.NextWindowData.MenuBarOffsetMinVal = ImVec2(g.Style.DisplaySafeAreaPadding.x, ImMax(g.Style.DisplaySafeAreaPadding.y - g.Style.FramePadding.y, 0.0f)); + ImGuiWindowFlags window_flags = ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_MenuBar; + float height = GetFrameHeight(); + bool is_open = BeginViewportSideBar("##MainMenuBar", viewport, ImGuiDir_Up, height, window_flags); + g.NextWindowData.MenuBarOffsetMinVal = ImVec2(0.0f, 0.0f); + if (!is_open) + { + End(); + return false; + } + + // Temporarily disable _NoSavedSettings, in the off-chance that tables or child windows submitted within the menu-bar may want to use settings. (#8356) + g.CurrentWindow->Flags &= ~ImGuiWindowFlags_NoSavedSettings; + BeginMenuBar(); + return is_open; +} + +void ImGui::EndMainMenuBar() +{ + ImGuiContext& g = *GImGui; + if (!g.CurrentWindow->DC.MenuBarAppending) + { + IM_ASSERT_USER_ERROR(0, "Calling EndMainMenuBar() not from a menu-bar!"); // Not technically testing that it is the main menu bar + return; + } + + EndMenuBar(); + g.CurrentWindow->Flags |= ImGuiWindowFlags_NoSavedSettings; // Restore _NoSavedSettings (#8356) + + // When the user has left the menu layer (typically: closed menus through activation of an item), we restore focus to the previous window + // FIXME: With this strategy we won't be able to restore a NULL focus. + if (g.CurrentWindow == g.NavWindow && g.NavLayer == ImGuiNavLayer_Main && !g.NavAnyRequest && g.ActiveId == 0) + FocusTopMostWindowUnderOne(g.NavWindow, NULL, NULL, ImGuiFocusRequestFlags_UnlessBelowModal | ImGuiFocusRequestFlags_RestoreFocusedChild); + + End(); +} + +static bool IsRootOfOpenMenuSet() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if ((g.OpenPopupStack.Size <= g.BeginPopupStack.Size) || (window->Flags & ImGuiWindowFlags_ChildMenu)) + return false; + + // Initially we used 'upper_popup->OpenParentId == window->IDStack.back()' to differentiate multiple menu sets from each others + // (e.g. inside menu bar vs loose menu items) based on parent ID. + // This would however prevent the use of e.g. PushID() user code submitting menus. + // Previously this worked between popup and a first child menu because the first child menu always had the _ChildWindow flag, + // making hovering on parent popup possible while first child menu was focused - but this was generally a bug with other side effects. + // Instead we don't treat Popup specifically (in order to consistently support menu features in them), maybe the first child menu of a Popup + // doesn't have the _ChildWindow flag, and we rely on this IsRootOfOpenMenuSet() check to allow hovering between root window/popup and first child menu. + // In the end, lack of ID check made it so we could no longer differentiate between separate menu sets. To compensate for that, we at least check parent window nav layer. + // This fixes the most common case of menu opening on hover when moving between window content and menu bar. Multiple different menu sets in same nav layer would still + // open on hover, but that should be a lesser problem, because if such menus are close in proximity in window content then it won't feel weird and if they are far apart + // it likely won't be a problem anyone runs into. + const ImGuiPopupData* upper_popup = &g.OpenPopupStack[g.BeginPopupStack.Size]; + if (window->DC.NavLayerCurrent != upper_popup->ParentNavLayer) + return false; + return upper_popup->Window && (upper_popup->Window->Flags & ImGuiWindowFlags_ChildMenu) && ImGui::IsWindowChildOf(upper_popup->Window, window, true); +} + +bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + const ImGuiStyle& style = g.Style; + const ImGuiID id = window->GetID(label); + bool menu_is_open = IsPopupOpen(id, ImGuiPopupFlags_None); + + // Sub-menus are ChildWindow so that mouse can be hovering across them (otherwise top-most popup menu would steal focus and not allow hovering on parent menu) + // The first menu in a hierarchy isn't so hovering doesn't get across (otherwise e.g. resizing borders with ImGuiButtonFlags_FlattenChildren would react), but top-most BeginMenu() will bypass that limitation. + ImGuiWindowFlags window_flags = ImGuiWindowFlags_ChildMenu | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoNavFocus; + if (window->Flags & ImGuiWindowFlags_ChildMenu) + window_flags |= ImGuiWindowFlags_ChildWindow; + + // If a menu with same the ID was already submitted, we will append to it, matching the behavior of Begin(). + // We are relying on a O(N) search - so O(N log N) over the frame - which seems like the most efficient for the expected small amount of BeginMenu() calls per frame. + // If somehow this is ever becoming a problem we can switch to use e.g. ImGuiStorage mapping key to last frame used. + if (g.MenusIdSubmittedThisFrame.contains(id)) + { + if (menu_is_open) + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + else + g.NextWindowData.ClearFlags(); // we behave like Begin() and need to consume those values + return menu_is_open; + } + + // Tag menu as used. Next time BeginMenu() with same ID is called it will append to existing menu + g.MenusIdSubmittedThisFrame.push_back(id); + + ImVec2 label_size = CalcTextSize(label, NULL, true); + + // Odd hack to allow hovering across menus of a same menu-set (otherwise we wouldn't be able to hover parent without always being a Child window) + // This is only done for items for the menu set and not the full parent window. + const bool menuset_is_open = IsRootOfOpenMenuSet(); + if (menuset_is_open) + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); + + // The reference position stored in popup_pos will be used by Begin() to find a suitable position for the child menu, + // However the final position is going to be different! It is chosen by FindBestWindowPosForPopup(). + // e.g. Menus tend to overlap each other horizontally to amplify relative Z-ordering. + ImVec2 popup_pos, pos = window->DC.CursorPos; + PushID(label); + if (!enabled) + BeginDisabled(); + const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; + bool pressed; + + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_NoAutoClosePopups; + if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) + { + // Menu inside an horizontal menu bar + // Selectable extend their highlight by half ItemSpacing in each direction. + // For ChildMenu, the popup position will be overwritten by the call to FindBestWindowPosForPopup() in Begin() + popup_pos = ImVec2(pos.x - 1.0f - IM_TRUNC(style.ItemSpacing.x * 0.5f), pos.y - style.FramePadding.y + window->MenuBarHeight); + window->DC.CursorPos.x += IM_TRUNC(style.ItemSpacing.x * 0.5f); + PushStyleVarX(ImGuiStyleVar_ItemSpacing, style.ItemSpacing.x * 2.0f); + float w = label_size.x; + ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); + pressed = Selectable("", menu_is_open, selectable_flags, ImVec2(w, label_size.y)); + LogSetNextTextDecoration("[", "]"); + RenderText(text_pos, label); + PopStyleVar(); + window->DC.CursorPos.x += IM_TRUNC(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). + } + else + { + // Menu inside a regular/vertical menu + // (In a typical menu window where all items are BeginMenu() or MenuItem() calls, extra_w will always be 0.0f. + // Only when they are other items sticking out we're going to add spacing, yet only register minimum width into the layout system. + popup_pos = ImVec2(pos.x, pos.y - style.WindowPadding.y); + float icon_w = (icon && icon[0]) ? CalcTextSize(icon, NULL).x : 0.0f; + float checkmark_w = IM_TRUNC(g.FontSize * 1.20f); + float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, 0.0f, checkmark_w); // Feedback to next frame + float extra_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); + ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); + pressed = Selectable("", menu_is_open, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, label_size.y)); + LogSetNextTextDecoration("", ">"); + RenderText(text_pos, label); + if (icon_w > 0.0f) + RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); + RenderArrow(window->DrawList, pos + ImVec2(offsets->OffsetMark + extra_w + g.FontSize * 0.30f, 0.0f), GetColorU32(ImGuiCol_Text), ImGuiDir_Right); + } + if (!enabled) + EndDisabled(); + + const bool hovered = (g.HoveredId == id) && enabled && !g.NavHighlightItemUnderNav; + if (menuset_is_open) + PopItemFlag(); + + bool want_open = false; + bool want_open_nav_init = false; + bool want_close = false; + if (window->DC.LayoutType == ImGuiLayoutType_Vertical) // (window->Flags & (ImGuiWindowFlags_Popup|ImGuiWindowFlags_ChildMenu)) + { + // Close menu when not hovering it anymore unless we are moving roughly in the direction of the menu + // Implement http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown to avoid using timers, so menus feels more reactive. + bool moving_toward_child_menu = false; + ImGuiPopupData* child_popup = (g.BeginPopupStack.Size < g.OpenPopupStack.Size) ? &g.OpenPopupStack[g.BeginPopupStack.Size] : NULL; // Popup candidate (testing below) + ImGuiWindow* child_menu_window = (child_popup && child_popup->Window && child_popup->Window->ParentWindow == window) ? child_popup->Window : NULL; + if (g.HoveredWindow == window && child_menu_window != NULL) + { + const float ref_unit = g.FontSize; // FIXME-DPI + const float child_dir = (window->Pos.x < child_menu_window->Pos.x) ? 1.0f : -1.0f; + const ImRect next_window_rect = child_menu_window->Rect(); + ImVec2 ta = (g.IO.MousePos - g.IO.MouseDelta); + ImVec2 tb = (child_dir > 0.0f) ? next_window_rect.GetTL() : next_window_rect.GetTR(); + ImVec2 tc = (child_dir > 0.0f) ? next_window_rect.GetBL() : next_window_rect.GetBR(); + const float pad_farmost_h = ImClamp(ImFabs(ta.x - tb.x) * 0.30f, ref_unit * 0.5f, ref_unit * 2.5f); // Add a bit of extra slack. + ta.x += child_dir * -0.5f; + tb.x += child_dir * ref_unit; + tc.x += child_dir * ref_unit; + tb.y = ta.y + ImMax((tb.y - pad_farmost_h) - ta.y, -ref_unit * 8.0f); // Triangle has maximum height to limit the slope and the bias toward large sub-menus + tc.y = ta.y + ImMin((tc.y + pad_farmost_h) - ta.y, +ref_unit * 8.0f); + moving_toward_child_menu = ImTriangleContainsPoint(ta, tb, tc, g.IO.MousePos); + //GetForegroundDrawList()->AddTriangleFilled(ta, tb, tc, moving_toward_child_menu ? IM_COL32(0,128,0,128) : IM_COL32(128,0,0,128)); // [DEBUG] + } + + // The 'HovereWindow == window' check creates an inconsistency (e.g. moving away from menu slowly tends to hit same window, whereas moving away fast does not) + // But we also need to not close the top-menu menu when moving over void. Perhaps we should extend the triangle check to a larger polygon. + // (Remember to test this on BeginPopup("A")->BeginMenu("B") sequence which behaves slightly differently as B isn't a Child of A and hovering isn't shared.) + if (menu_is_open && !hovered && g.HoveredWindow == window && !moving_toward_child_menu && !g.NavHighlightItemUnderNav && g.ActiveId == 0) + want_close = true; + + // Open + // (note: at this point 'hovered' actually includes the NavDisableMouseHover == false test) + if (!menu_is_open && pressed) // Click/activate to open + want_open = true; + else if (!menu_is_open && hovered && !moving_toward_child_menu) // Hover to open + want_open = true; + else if (!menu_is_open && hovered && g.HoveredIdTimer >= 0.30f && g.MouseStationaryTimer >= 0.30f) // Hover to open (timer fallback) + want_open = true; + if (g.NavId == id && g.NavMoveDir == ImGuiDir_Right) // Nav-Right to open + { + want_open = want_open_nav_init = true; + NavMoveRequestCancel(); + SetNavCursorVisibleAfterMove(); + } + } + else + { + // Menu bar + if (menu_is_open && pressed && menuset_is_open) // Click an open menu again to close it + { + want_close = true; + want_open = menu_is_open = false; + } + else if (pressed || (hovered && menuset_is_open && !menu_is_open)) // First click to open, then hover to open others + { + want_open = true; + } + else if (g.NavId == id && g.NavMoveDir == ImGuiDir_Down) // Nav-Down to open + { + want_open = true; + NavMoveRequestCancel(); + } + } + + if (!enabled) // explicitly close if an open menu becomes disabled, facilitate users code a lot in pattern such as 'if (BeginMenu("options", has_object)) { ..use object.. }' + want_close = true; + if (want_close && IsPopupOpen(id, ImGuiPopupFlags_None)) + ClosePopupToLevel(g.BeginPopupStack.Size, true); + + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Openable | (menu_is_open ? ImGuiItemStatusFlags_Opened : 0)); + PopID(); + + if (want_open && !menu_is_open && g.OpenPopupStack.Size > g.BeginPopupStack.Size) + { + // Don't reopen/recycle same menu level in the same frame if it is a different menu ID, first close the other menu and yield for a frame. + OpenPopup(label); + } + else if (want_open) + { + menu_is_open = true; + OpenPopup(label, ImGuiPopupFlags_NoReopen);// | (want_open_nav_init ? ImGuiPopupFlags_NoReopenAlwaysNavInit : 0)); + } + + if (menu_is_open) + { + ImGuiLastItemData last_item_in_parent = g.LastItemData; + SetNextWindowPos(popup_pos, ImGuiCond_Always); // Note: misleading: the value will serve as reference for FindBestWindowPosForPopup(), not actual pos. + PushStyleVar(ImGuiStyleVar_ChildRounding, style.PopupRounding); // First level will use _PopupRounding, subsequent will use _ChildRounding + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + PopStyleVar(); + if (menu_is_open) + { + // Implement what ImGuiPopupFlags_NoReopenAlwaysNavInit would do: + // Perform an init request in the case the popup was already open (via a previous mouse hover) + if (want_open && want_open_nav_init && !g.NavInitRequest) + { + FocusWindow(g.CurrentWindow, ImGuiFocusRequestFlags_UnlessBelowModal); + NavInitWindow(g.CurrentWindow, false); + } + + // Restore LastItemData so IsItemXXXX functions can work after BeginMenu()/EndMenu() + // (This fixes using IsItemClicked() and IsItemHovered(), but IsItemHovered() also relies on its support for ImGuiItemFlags_NoWindowHoverableCheck) + g.LastItemData = last_item_in_parent; + if (g.HoveredWindow == window) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredWindow; + } + } + else + { + g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values + } + + return menu_is_open; +} + +bool ImGui::BeginMenu(const char* label, bool enabled) +{ + return BeginMenuEx(label, NULL, enabled); +} + +void ImGui::EndMenu() +{ + // Nav: When a left move request our menu failed, close ourselves. + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginMenu()/EndMenu() calls + ImGuiWindow* parent_window = window->ParentWindow; // Should always be != NULL is we passed assert. + if (window->BeginCount == window->BeginCountPreviousFrame) + if (g.NavMoveDir == ImGuiDir_Left && NavMoveRequestButNoResultYet()) + if (g.NavWindow && (g.NavWindow->RootWindowForNav == window) && parent_window->DC.LayoutType == ImGuiLayoutType_Vertical) + { + ClosePopupToLevel(g.BeginPopupStack.Size - 1, true); + NavMoveRequestCancel(); + } + + EndPopup(); +} + +bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut, bool selected, bool enabled) +{ + ImGuiWindow* window = GetCurrentWindow(); + if (window->SkipItems) + return false; + + ImGuiContext& g = *GImGui; + ImGuiStyle& style = g.Style; + ImVec2 pos = window->DC.CursorPos; + ImVec2 label_size = CalcTextSize(label, NULL, true); + + // See BeginMenuEx() for comments about this. + const bool menuset_is_open = IsRootOfOpenMenuSet(); + if (menuset_is_open) + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); + + // We've been using the equivalent of ImGuiSelectableFlags_SetNavIdOnHover on all Selectable() since early Nav system days (commit 43ee5d73), + // but I am unsure whether this should be kept at all. For now moved it to be an opt-in feature used by menus only. + bool pressed; + PushID(label); + if (!enabled) + BeginDisabled(); + + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_SelectOnRelease | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SetNavIdOnHover; + const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; + if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) + { + // Mimic the exact layout spacing of BeginMenu() to allow MenuItem() inside a menu bar, which is a little misleading but may be useful + // Note that in this situation: we don't render the shortcut, we render a highlight instead of the selected tick mark. + float w = label_size.x; + window->DC.CursorPos.x += IM_TRUNC(style.ItemSpacing.x * 0.5f); + ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); + PushStyleVarX(ImGuiStyleVar_ItemSpacing, style.ItemSpacing.x * 2.0f); + pressed = Selectable("", selected, selectable_flags, ImVec2(w, 0.0f)); + PopStyleVar(); + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) + RenderText(text_pos, label); + window->DC.CursorPos.x += IM_TRUNC(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). + } + else + { + // Menu item inside a vertical menu + // (In a typical menu window where all items are BeginMenu() or MenuItem() calls, extra_w will always be 0.0f. + // Only when they are other items sticking out we're going to add spacing, yet only register minimum width into the layout system. + float icon_w = (icon && icon[0]) ? CalcTextSize(icon, NULL).x : 0.0f; + float shortcut_w = (shortcut && shortcut[0]) ? CalcTextSize(shortcut, NULL).x : 0.0f; + float checkmark_w = IM_TRUNC(g.FontSize * 1.20f); + float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, shortcut_w, checkmark_w); // Feedback for next frame + float stretch_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); + pressed = Selectable("", false, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, label_size.y)); + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) + { + RenderText(pos + ImVec2(offsets->OffsetLabel, 0.0f), label); + if (icon_w > 0.0f) + RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); + if (shortcut_w > 0.0f) + { + PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); + LogSetNextTextDecoration("(", ")"); + RenderText(pos + ImVec2(offsets->OffsetShortcut + stretch_w, 0.0f), shortcut, NULL, false); + PopStyleColor(); + } + if (selected) + RenderCheckMark(window->DrawList, pos + ImVec2(offsets->OffsetMark + stretch_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(ImGuiCol_Text), g.FontSize * 0.866f); + } + } + IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Checkable | (selected ? ImGuiItemStatusFlags_Checked : 0)); + if (!enabled) + EndDisabled(); + PopID(); + if (menuset_is_open) + PopItemFlag(); + + return pressed; +} + +bool ImGui::MenuItem(const char* label, const char* shortcut, bool selected, bool enabled) +{ + return MenuItemEx(label, NULL, shortcut, selected, enabled); +} + +bool ImGui::MenuItem(const char* label, const char* shortcut, bool* p_selected, bool enabled) +{ + if (MenuItemEx(label, NULL, shortcut, p_selected ? *p_selected : false, enabled)) + { + if (p_selected) + *p_selected = !*p_selected; + return true; + } + return false; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: BeginTabBar, EndTabBar, etc. +//------------------------------------------------------------------------- +// - BeginTabBar() +// - BeginTabBarEx() [Internal] +// - EndTabBar() +// - TabBarLayout() [Internal] +// - TabBarCalcTabID() [Internal] +// - TabBarCalcMaxTabWidth() [Internal] +// - TabBarFindTabById() [Internal] +// - TabBarFindTabByOrder() [Internal] +// - TabBarGetCurrentTab() [Internal] +// - TabBarGetTabName() [Internal] +// - TabBarRemoveTab() [Internal] +// - TabBarCloseTab() [Internal] +// - TabBarScrollClamp() [Internal] +// - TabBarScrollToTab() [Internal] +// - TabBarQueueFocus() [Internal] +// - TabBarQueueReorder() [Internal] +// - TabBarProcessReorderFromMousePos() [Internal] +// - TabBarProcessReorder() [Internal] +// - TabBarScrollingButtons() [Internal] +// - TabBarTabListPopupButton() [Internal] +//------------------------------------------------------------------------- + +struct ImGuiTabBarSection +{ + int TabCount; // Number of tabs in this section. + float Width; // Sum of width of tabs in this section (after shrinking down) + float Spacing; // Horizontal spacing at the end of the section. + + ImGuiTabBarSection() { memset(this, 0, sizeof(*this)); } +}; + +namespace ImGui +{ + static void TabBarLayout(ImGuiTabBar* tab_bar); + static ImU32 TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label, ImGuiWindow* docked_window); + static float TabBarCalcMaxTabWidth(); + static float TabBarScrollClamp(ImGuiTabBar* tab_bar, float scrolling); + static void TabBarScrollToTab(ImGuiTabBar* tab_bar, ImGuiID tab_id, ImGuiTabBarSection* sections); + static ImGuiTabItem* TabBarScrollingButtons(ImGuiTabBar* tab_bar); + static ImGuiTabItem* TabBarTabListPopupButton(ImGuiTabBar* tab_bar); +} + +ImGuiTabBar::ImGuiTabBar() +{ + memset(this, 0, sizeof(*this)); + CurrFrameVisible = PrevFrameVisible = -1; + LastTabItemIdx = -1; +} + +static inline int TabItemGetSectionIdx(const ImGuiTabItem* tab) +{ + return (tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1; +} + +static int IMGUI_CDECL TabItemComparerBySection(const void* lhs, const void* rhs) +{ + const ImGuiTabItem* a = (const ImGuiTabItem*)lhs; + const ImGuiTabItem* b = (const ImGuiTabItem*)rhs; + const int a_section = TabItemGetSectionIdx(a); + const int b_section = TabItemGetSectionIdx(b); + if (a_section != b_section) + return a_section - b_section; + return (int)(a->IndexDuringLayout - b->IndexDuringLayout); +} + +static int IMGUI_CDECL TabItemComparerByBeginOrder(const void* lhs, const void* rhs) +{ + const ImGuiTabItem* a = (const ImGuiTabItem*)lhs; + const ImGuiTabItem* b = (const ImGuiTabItem*)rhs; + return (int)(a->BeginOrder - b->BeginOrder); +} + +static ImGuiTabBar* GetTabBarFromTabBarRef(const ImGuiPtrOrIndex& ref) +{ + ImGuiContext& g = *GImGui; + return ref.Ptr ? (ImGuiTabBar*)ref.Ptr : g.TabBars.GetByIndex(ref.Index); +} + +static ImGuiPtrOrIndex GetTabBarRefFromTabBar(ImGuiTabBar* tab_bar) +{ + ImGuiContext& g = *GImGui; + if (g.TabBars.Contains(tab_bar)) + return ImGuiPtrOrIndex(g.TabBars.GetIndex(tab_bar)); + return ImGuiPtrOrIndex(tab_bar); +} + +bool ImGui::BeginTabBar(const char* str_id, ImGuiTabBarFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + ImGuiID id = window->GetID(str_id); + ImGuiTabBar* tab_bar = g.TabBars.GetOrAddByKey(id); + ImRect tab_bar_bb = ImRect(window->DC.CursorPos.x, window->DC.CursorPos.y, window->WorkRect.Max.x, window->DC.CursorPos.y + g.FontSize + g.Style.FramePadding.y * 2); + tab_bar->ID = id; + tab_bar->SeparatorMinX = tab_bar->BarRect.Min.x - IM_TRUNC(window->WindowPadding.x * 0.5f); + tab_bar->SeparatorMaxX = tab_bar->BarRect.Max.x + IM_TRUNC(window->WindowPadding.x * 0.5f); + //if (g.NavWindow && IsWindowChildOf(g.NavWindow, window, false, false)) + flags |= ImGuiTabBarFlags_IsFocused; + return BeginTabBarEx(tab_bar, tab_bar_bb, flags); +} + +bool ImGui::BeginTabBarEx(ImGuiTabBar* tab_bar, const ImRect& tab_bar_bb, ImGuiTabBarFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + IM_ASSERT(tab_bar->ID != 0); + if ((flags & ImGuiTabBarFlags_DockNode) == 0) + PushOverrideID(tab_bar->ID); + + // Add to stack + g.CurrentTabBarStack.push_back(GetTabBarRefFromTabBar(tab_bar)); + g.CurrentTabBar = tab_bar; + tab_bar->Window = window; + + // Append with multiple BeginTabBar()/EndTabBar() pairs. + tab_bar->BackupCursorPos = window->DC.CursorPos; + if (tab_bar->CurrFrameVisible == g.FrameCount) + { + window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x, tab_bar->BarRect.Max.y + tab_bar->ItemSpacingY); + tab_bar->BeginCount++; + return true; + } + + // Ensure correct ordering when toggling ImGuiTabBarFlags_Reorderable flag, or when a new tab was added while being not reorderable + if ((flags & ImGuiTabBarFlags_Reorderable) != (tab_bar->Flags & ImGuiTabBarFlags_Reorderable) || (tab_bar->TabsAddedNew && !(flags & ImGuiTabBarFlags_Reorderable))) + ImQsort(tab_bar->Tabs.Data, tab_bar->Tabs.Size, sizeof(ImGuiTabItem), TabItemComparerByBeginOrder); + tab_bar->TabsAddedNew = false; + + // Flags + if ((flags & ImGuiTabBarFlags_FittingPolicyMask_) == 0) + flags |= ImGuiTabBarFlags_FittingPolicyDefault_; + + tab_bar->Flags = flags; + tab_bar->BarRect = tab_bar_bb; + tab_bar->WantLayout = true; // Layout will be done on the first call to ItemTab() + tab_bar->PrevFrameVisible = tab_bar->CurrFrameVisible; + tab_bar->CurrFrameVisible = g.FrameCount; + tab_bar->PrevTabsContentsHeight = tab_bar->CurrTabsContentsHeight; + tab_bar->CurrTabsContentsHeight = 0.0f; + tab_bar->ItemSpacingY = g.Style.ItemSpacing.y; + tab_bar->FramePadding = g.Style.FramePadding; + tab_bar->TabsActiveCount = 0; + tab_bar->LastTabItemIdx = -1; + tab_bar->BeginCount = 1; + + // Set cursor pos in a way which only be used in the off-chance the user erroneously submits item before BeginTabItem(): items will overlap + window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x, tab_bar->BarRect.Max.y + tab_bar->ItemSpacingY); + + // Draw separator + // (it would be misleading to draw this in EndTabBar() suggesting that it may be drawn over tabs, as tab bar are appendable) + const ImU32 col = GetColorU32((flags & ImGuiTabBarFlags_IsFocused) ? ImGuiCol_TabSelected : ImGuiCol_TabDimmedSelected); + if (g.Style.TabBarBorderSize > 0.0f) + { + const float y = tab_bar->BarRect.Max.y; + window->DrawList->AddRectFilled(ImVec2(tab_bar->SeparatorMinX, y - g.Style.TabBarBorderSize), ImVec2(tab_bar->SeparatorMaxX, y), col); + } + return true; +} + +void ImGui::EndTabBar() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + ImGuiTabBar* tab_bar = g.CurrentTabBar; + if (tab_bar == NULL) + { + IM_ASSERT_USER_ERROR(tab_bar != NULL, "Mismatched BeginTabBar()/EndTabBar()!"); + return; + } + + // Fallback in case no TabItem have been submitted + if (tab_bar->WantLayout) + TabBarLayout(tab_bar); + + // Restore the last visible height if no tab is visible, this reduce vertical flicker/movement when a tabs gets removed without calling SetTabItemClosed(). + const bool tab_bar_appearing = (tab_bar->PrevFrameVisible + 1 < g.FrameCount); + if (tab_bar->VisibleTabWasSubmitted || tab_bar->VisibleTabId == 0 || tab_bar_appearing) + { + tab_bar->CurrTabsContentsHeight = ImMax(window->DC.CursorPos.y - tab_bar->BarRect.Max.y, tab_bar->CurrTabsContentsHeight); + window->DC.CursorPos.y = tab_bar->BarRect.Max.y + tab_bar->CurrTabsContentsHeight; + } + else + { + window->DC.CursorPos.y = tab_bar->BarRect.Max.y + tab_bar->PrevTabsContentsHeight; + } + if (tab_bar->BeginCount > 1) + window->DC.CursorPos = tab_bar->BackupCursorPos; + + tab_bar->LastTabItemIdx = -1; + if ((tab_bar->Flags & ImGuiTabBarFlags_DockNode) == 0) + PopID(); + + g.CurrentTabBarStack.pop_back(); + g.CurrentTabBar = g.CurrentTabBarStack.empty() ? NULL : GetTabBarFromTabBarRef(g.CurrentTabBarStack.back()); +} + +// Scrolling happens only in the central section (leading/trailing sections are not scrolling) +static float TabBarCalcScrollableWidth(ImGuiTabBar* tab_bar, ImGuiTabBarSection* sections) +{ + return tab_bar->BarRect.GetWidth() - sections[0].Width - sections[2].Width - sections[1].Spacing; +} + +// This is called only once a frame before by the first call to ItemTab() +// The reason we're not calling it in BeginTabBar() is to leave a chance to the user to call the SetTabItemClosed() functions. +static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) +{ + ImGuiContext& g = *GImGui; + tab_bar->WantLayout = false; + + // Garbage collect by compacting list + // Detect if we need to sort out tab list (e.g. in rare case where a tab changed section) + int tab_dst_n = 0; + bool need_sort_by_section = false; + ImGuiTabBarSection sections[3]; // Layout sections: Leading, Central, Trailing + for (int tab_src_n = 0; tab_src_n < tab_bar->Tabs.Size; tab_src_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_src_n]; + if (tab->LastFrameVisible < tab_bar->PrevFrameVisible || tab->WantClose) + { + // Remove tab + if (tab_bar->VisibleTabId == tab->ID) { tab_bar->VisibleTabId = 0; } + if (tab_bar->SelectedTabId == tab->ID) { tab_bar->SelectedTabId = 0; } + if (tab_bar->NextSelectedTabId == tab->ID) { tab_bar->NextSelectedTabId = 0; } + continue; + } + if (tab_dst_n != tab_src_n) + tab_bar->Tabs[tab_dst_n] = tab_bar->Tabs[tab_src_n]; + + tab = &tab_bar->Tabs[tab_dst_n]; + tab->IndexDuringLayout = (ImS16)tab_dst_n; + + // We will need sorting if tabs have changed section (e.g. moved from one of Leading/Central/Trailing to another) + int curr_tab_section_n = TabItemGetSectionIdx(tab); + if (tab_dst_n > 0) + { + ImGuiTabItem* prev_tab = &tab_bar->Tabs[tab_dst_n - 1]; + int prev_tab_section_n = TabItemGetSectionIdx(prev_tab); + if (curr_tab_section_n == 0 && prev_tab_section_n != 0) + need_sort_by_section = true; + if (prev_tab_section_n == 2 && curr_tab_section_n != 2) + need_sort_by_section = true; + } + + sections[curr_tab_section_n].TabCount++; + tab_dst_n++; + } + if (tab_bar->Tabs.Size != tab_dst_n) + tab_bar->Tabs.resize(tab_dst_n); + + if (need_sort_by_section) + ImQsort(tab_bar->Tabs.Data, tab_bar->Tabs.Size, sizeof(ImGuiTabItem), TabItemComparerBySection); + + // Calculate spacing between sections + sections[0].Spacing = sections[0].TabCount > 0 && (sections[1].TabCount + sections[2].TabCount) > 0 ? g.Style.ItemInnerSpacing.x : 0.0f; + sections[1].Spacing = sections[1].TabCount > 0 && sections[2].TabCount > 0 ? g.Style.ItemInnerSpacing.x : 0.0f; + + // Setup next selected tab + ImGuiID scroll_to_tab_id = 0; + if (tab_bar->NextSelectedTabId) + { + tab_bar->SelectedTabId = tab_bar->NextSelectedTabId; + tab_bar->NextSelectedTabId = 0; + scroll_to_tab_id = tab_bar->SelectedTabId; + } + + // Process order change request (we could probably process it when requested but it's just saner to do it in a single spot). + if (tab_bar->ReorderRequestTabId != 0) + { + if (TabBarProcessReorder(tab_bar)) + if (tab_bar->ReorderRequestTabId == tab_bar->SelectedTabId) + scroll_to_tab_id = tab_bar->ReorderRequestTabId; + tab_bar->ReorderRequestTabId = 0; + } + + // Tab List Popup (will alter tab_bar->BarRect and therefore the available width!) + const bool tab_list_popup_button = (tab_bar->Flags & ImGuiTabBarFlags_TabListPopupButton) != 0; + if (tab_list_popup_button) + if (ImGuiTabItem* tab_to_select = TabBarTabListPopupButton(tab_bar)) // NB: Will alter BarRect.Min.x! + scroll_to_tab_id = tab_bar->SelectedTabId = tab_to_select->ID; + + // Leading/Trailing tabs will be shrink only if central one aren't visible anymore, so layout the shrink data as: leading, trailing, central + // (whereas our tabs are stored as: leading, central, trailing) + int shrink_buffer_indexes[3] = { 0, sections[0].TabCount + sections[2].TabCount, sections[0].TabCount }; + g.ShrinkWidthBuffer.resize(tab_bar->Tabs.Size); + + // Compute ideal tabs widths + store them into shrink buffer + ImGuiTabItem* most_recently_selected_tab = NULL; + int curr_section_n = -1; + bool found_selected_tab_id = false; + for (int tab_n = 0; tab_n < tab_bar->Tabs.Size; tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_n]; + IM_ASSERT(tab->LastFrameVisible >= tab_bar->PrevFrameVisible); + + if ((most_recently_selected_tab == NULL || most_recently_selected_tab->LastFrameSelected < tab->LastFrameSelected) && !(tab->Flags & ImGuiTabItemFlags_Button)) + most_recently_selected_tab = tab; + if (tab->ID == tab_bar->SelectedTabId) + found_selected_tab_id = true; + if (scroll_to_tab_id == 0 && g.NavJustMovedToId == tab->ID) + scroll_to_tab_id = tab->ID; + + // Refresh tab width immediately, otherwise changes of style e.g. style.FramePadding.x would noticeably lag in the tab bar. + // Additionally, when using TabBarAddTab() to manipulate tab bar order we occasionally insert new tabs that don't have a width yet, + // and we cannot wait for the next BeginTabItem() call. We cannot compute this width within TabBarAddTab() because font size depends on the active window. + const char* tab_name = TabBarGetTabName(tab_bar, tab); + const bool has_close_button_or_unsaved_marker = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) == 0 || (tab->Flags & ImGuiTabItemFlags_UnsavedDocument); + tab->ContentWidth = (tab->RequestedWidth >= 0.0f) ? tab->RequestedWidth : TabItemCalcSize(tab_name, has_close_button_or_unsaved_marker).x; + + int section_n = TabItemGetSectionIdx(tab); + ImGuiTabBarSection* section = §ions[section_n]; + section->Width += tab->ContentWidth + (section_n == curr_section_n ? g.Style.ItemInnerSpacing.x : 0.0f); + curr_section_n = section_n; + + // Store data so we can build an array sorted by width if we need to shrink tabs down + IM_MSVC_WARNING_SUPPRESS(6385); + ImGuiShrinkWidthItem* shrink_width_item = &g.ShrinkWidthBuffer[shrink_buffer_indexes[section_n]++]; + shrink_width_item->Index = tab_n; + shrink_width_item->Width = shrink_width_item->InitialWidth = tab->ContentWidth; + tab->Width = ImMax(tab->ContentWidth, 1.0f); + } + + // Compute total ideal width (used for e.g. auto-resizing a window) + tab_bar->WidthAllTabsIdeal = 0.0f; + for (int section_n = 0; section_n < 3; section_n++) + tab_bar->WidthAllTabsIdeal += sections[section_n].Width + sections[section_n].Spacing; + + // Horizontal scrolling buttons + // (note that TabBarScrollButtons() will alter BarRect.Max.x) + if ((tab_bar->WidthAllTabsIdeal > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll)) + if (ImGuiTabItem* scroll_and_select_tab = TabBarScrollingButtons(tab_bar)) + { + scroll_to_tab_id = scroll_and_select_tab->ID; + if ((scroll_and_select_tab->Flags & ImGuiTabItemFlags_Button) == 0) + tab_bar->SelectedTabId = scroll_to_tab_id; + } + + // Shrink widths if full tabs don't fit in their allocated space + float section_0_w = sections[0].Width + sections[0].Spacing; + float section_1_w = sections[1].Width + sections[1].Spacing; + float section_2_w = sections[2].Width + sections[2].Spacing; + bool central_section_is_visible = (section_0_w + section_2_w) < tab_bar->BarRect.GetWidth(); + float width_excess; + if (central_section_is_visible) + width_excess = ImMax(section_1_w - (tab_bar->BarRect.GetWidth() - section_0_w - section_2_w), 0.0f); // Excess used to shrink central section + else + width_excess = (section_0_w + section_2_w) - tab_bar->BarRect.GetWidth(); // Excess used to shrink leading/trailing section + + // With ImGuiTabBarFlags_FittingPolicyScroll policy, we will only shrink leading/trailing if the central section is not visible anymore + if (width_excess >= 1.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible)) + { + int shrink_data_count = (central_section_is_visible ? sections[1].TabCount : sections[0].TabCount + sections[2].TabCount); + int shrink_data_offset = (central_section_is_visible ? sections[0].TabCount + sections[2].TabCount : 0); + ShrinkWidths(g.ShrinkWidthBuffer.Data + shrink_data_offset, shrink_data_count, width_excess); + + // Apply shrunk values into tabs and sections + for (int tab_n = shrink_data_offset; tab_n < shrink_data_offset + shrink_data_count; tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[g.ShrinkWidthBuffer[tab_n].Index]; + float shrinked_width = IM_TRUNC(g.ShrinkWidthBuffer[tab_n].Width); + if (shrinked_width < 0.0f) + continue; + + shrinked_width = ImMax(1.0f, shrinked_width); + int section_n = TabItemGetSectionIdx(tab); + sections[section_n].Width -= (tab->Width - shrinked_width); + tab->Width = shrinked_width; + } + } + + // Layout all active tabs + int section_tab_index = 0; + float tab_offset = 0.0f; + tab_bar->WidthAllTabs = 0.0f; + for (int section_n = 0; section_n < 3; section_n++) + { + ImGuiTabBarSection* section = §ions[section_n]; + if (section_n == 2) + tab_offset = ImMin(ImMax(0.0f, tab_bar->BarRect.GetWidth() - section->Width), tab_offset); + + for (int tab_n = 0; tab_n < section->TabCount; tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[section_tab_index + tab_n]; + tab->Offset = tab_offset; + tab->NameOffset = -1; + tab_offset += tab->Width + (tab_n < section->TabCount - 1 ? g.Style.ItemInnerSpacing.x : 0.0f); + } + tab_bar->WidthAllTabs += ImMax(section->Width + section->Spacing, 0.0f); + tab_offset += section->Spacing; + section_tab_index += section->TabCount; + } + + // Clear name buffers + tab_bar->TabsNames.Buf.resize(0); + + // If we have lost the selected tab, select the next most recently active one + if (found_selected_tab_id == false) + tab_bar->SelectedTabId = 0; + if (tab_bar->SelectedTabId == 0 && tab_bar->NextSelectedTabId == 0 && most_recently_selected_tab != NULL) + scroll_to_tab_id = tab_bar->SelectedTabId = most_recently_selected_tab->ID; + + // Lock in visible tab + tab_bar->VisibleTabId = tab_bar->SelectedTabId; + tab_bar->VisibleTabWasSubmitted = false; + + // Apply request requests + if (scroll_to_tab_id != 0) + TabBarScrollToTab(tab_bar, scroll_to_tab_id, sections); + else if ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll) && IsMouseHoveringRect(tab_bar->BarRect.Min, tab_bar->BarRect.Max, true) && IsWindowContentHoverable(g.CurrentWindow)) + { + const float wheel = g.IO.MouseWheelRequestAxisSwap ? g.IO.MouseWheel : g.IO.MouseWheelH; + const ImGuiKey wheel_key = g.IO.MouseWheelRequestAxisSwap ? ImGuiKey_MouseWheelY : ImGuiKey_MouseWheelX; + if (TestKeyOwner(wheel_key, tab_bar->ID) && wheel != 0.0f) + { + const float scroll_step = wheel * TabBarCalcScrollableWidth(tab_bar, sections) / 3.0f; + tab_bar->ScrollingTargetDistToVisibility = 0.0f; + tab_bar->ScrollingTarget = TabBarScrollClamp(tab_bar, tab_bar->ScrollingTarget - scroll_step); + } + SetKeyOwner(wheel_key, tab_bar->ID); + } + + // Update scrolling + tab_bar->ScrollingAnim = TabBarScrollClamp(tab_bar, tab_bar->ScrollingAnim); + tab_bar->ScrollingTarget = TabBarScrollClamp(tab_bar, tab_bar->ScrollingTarget); + if (tab_bar->ScrollingAnim != tab_bar->ScrollingTarget) + { + // Scrolling speed adjust itself so we can always reach our target in 1/3 seconds. + // Teleport if we are aiming far off the visible line + tab_bar->ScrollingSpeed = ImMax(tab_bar->ScrollingSpeed, 70.0f * g.FontSize); + tab_bar->ScrollingSpeed = ImMax(tab_bar->ScrollingSpeed, ImFabs(tab_bar->ScrollingTarget - tab_bar->ScrollingAnim) / 0.3f); + const bool teleport = (tab_bar->PrevFrameVisible + 1 < g.FrameCount) || (tab_bar->ScrollingTargetDistToVisibility > 10.0f * g.FontSize); + tab_bar->ScrollingAnim = teleport ? tab_bar->ScrollingTarget : ImLinearSweep(tab_bar->ScrollingAnim, tab_bar->ScrollingTarget, g.IO.DeltaTime * tab_bar->ScrollingSpeed); + } + else + { + tab_bar->ScrollingSpeed = 0.0f; + } + tab_bar->ScrollingRectMinX = tab_bar->BarRect.Min.x + sections[0].Width + sections[0].Spacing; + tab_bar->ScrollingRectMaxX = tab_bar->BarRect.Max.x - sections[2].Width - sections[1].Spacing; + + // Actual layout in host window (we don't do it in BeginTabBar() so as not to waste an extra frame) + ImGuiWindow* window = g.CurrentWindow; + window->DC.CursorPos = tab_bar->BarRect.Min; + ItemSize(ImVec2(tab_bar->WidthAllTabs, tab_bar->BarRect.GetHeight()), tab_bar->FramePadding.y); + window->DC.IdealMaxPos.x = ImMax(window->DC.IdealMaxPos.x, tab_bar->BarRect.Min.x + tab_bar->WidthAllTabsIdeal); +} + +// Dockable windows uses Name/ID in the global namespace. Non-dockable items use the ID stack. +static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label, ImGuiWindow* docked_window) +{ + IM_ASSERT(docked_window == NULL); // master branch only + IM_UNUSED(docked_window); + if (tab_bar->Flags & ImGuiTabBarFlags_DockNode) + { + ImGuiID id = ImHashStr(label); + KeepAliveID(id); + return id; + } + else + { + ImGuiWindow* window = GImGui->CurrentWindow; + return window->GetID(label); + } +} + +static float ImGui::TabBarCalcMaxTabWidth() +{ + ImGuiContext& g = *GImGui; + return g.FontSize * 20.0f; +} + +ImGuiTabItem* ImGui::TabBarFindTabByID(ImGuiTabBar* tab_bar, ImGuiID tab_id) +{ + if (tab_id != 0) + for (int n = 0; n < tab_bar->Tabs.Size; n++) + if (tab_bar->Tabs[n].ID == tab_id) + return &tab_bar->Tabs[n]; + return NULL; +} + +// Order = visible order, not submission order! (which is tab->BeginOrder) +ImGuiTabItem* ImGui::TabBarFindTabByOrder(ImGuiTabBar* tab_bar, int order) +{ + if (order < 0 || order >= tab_bar->Tabs.Size) + return NULL; + return &tab_bar->Tabs[order]; +} + +ImGuiTabItem* ImGui::TabBarGetCurrentTab(ImGuiTabBar* tab_bar) +{ + if (tab_bar->LastTabItemIdx < 0 || tab_bar->LastTabItemIdx >= tab_bar->Tabs.Size) + return NULL; + return &tab_bar->Tabs[tab_bar->LastTabItemIdx]; +} + +const char* ImGui::TabBarGetTabName(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) +{ + if (tab->NameOffset == -1) + return "N/A"; + IM_ASSERT(tab->NameOffset < tab_bar->TabsNames.Buf.Size); + return tab_bar->TabsNames.Buf.Data + tab->NameOffset; +} + +// The *TabId fields are already set by the docking system _before_ the actual TabItem was created, so we clear them regardless. +void ImGui::TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id) +{ + if (ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id)) + tab_bar->Tabs.erase(tab); + if (tab_bar->VisibleTabId == tab_id) { tab_bar->VisibleTabId = 0; } + if (tab_bar->SelectedTabId == tab_id) { tab_bar->SelectedTabId = 0; } + if (tab_bar->NextSelectedTabId == tab_id) { tab_bar->NextSelectedTabId = 0; } +} + +// Called on manual closure attempt +void ImGui::TabBarCloseTab(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) +{ + if (tab->Flags & ImGuiTabItemFlags_Button) + return; // A button appended with TabItemButton(). + + if ((tab->Flags & (ImGuiTabItemFlags_UnsavedDocument | ImGuiTabItemFlags_NoAssumedClosure)) == 0) + { + // This will remove a frame of lag for selecting another tab on closure. + // However we don't run it in the case where the 'Unsaved' flag is set, so user gets a chance to fully undo the closure + tab->WantClose = true; + if (tab_bar->VisibleTabId == tab->ID) + { + tab->LastFrameVisible = -1; + tab_bar->SelectedTabId = tab_bar->NextSelectedTabId = 0; + } + } + else + { + // Actually select before expecting closure attempt (on an UnsavedDocument tab user is expect to e.g. show a popup) + if (tab_bar->VisibleTabId != tab->ID) + TabBarQueueFocus(tab_bar, tab); + } +} + +static float ImGui::TabBarScrollClamp(ImGuiTabBar* tab_bar, float scrolling) +{ + scrolling = ImMin(scrolling, tab_bar->WidthAllTabs - tab_bar->BarRect.GetWidth()); + return ImMax(scrolling, 0.0f); +} + +// Note: we may scroll to tab that are not selected! e.g. using keyboard arrow keys +static void ImGui::TabBarScrollToTab(ImGuiTabBar* tab_bar, ImGuiID tab_id, ImGuiTabBarSection* sections) +{ + ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id); + if (tab == NULL) + return; + if (tab->Flags & ImGuiTabItemFlags_SectionMask_) + return; + + ImGuiContext& g = *GImGui; + float margin = g.FontSize * 1.0f; // When to scroll to make Tab N+1 visible always make a bit of N visible to suggest more scrolling area (since we don't have a scrollbar) + int order = TabBarGetTabOrder(tab_bar, tab); + + // Scrolling happens only in the central section (leading/trailing sections are not scrolling) + float scrollable_width = TabBarCalcScrollableWidth(tab_bar, sections); + + // We make all tabs positions all relative Sections[0].Width to make code simpler + float tab_x1 = tab->Offset - sections[0].Width + (order > sections[0].TabCount - 1 ? -margin : 0.0f); + float tab_x2 = tab->Offset - sections[0].Width + tab->Width + (order + 1 < tab_bar->Tabs.Size - sections[2].TabCount ? margin : 1.0f); + tab_bar->ScrollingTargetDistToVisibility = 0.0f; + if (tab_bar->ScrollingTarget > tab_x1 || (tab_x2 - tab_x1 >= scrollable_width)) + { + // Scroll to the left + tab_bar->ScrollingTargetDistToVisibility = ImMax(tab_bar->ScrollingAnim - tab_x2, 0.0f); + tab_bar->ScrollingTarget = tab_x1; + } + else if (tab_bar->ScrollingTarget < tab_x2 - scrollable_width) + { + // Scroll to the right + tab_bar->ScrollingTargetDistToVisibility = ImMax((tab_x1 - scrollable_width) - tab_bar->ScrollingAnim, 0.0f); + tab_bar->ScrollingTarget = tab_x2 - scrollable_width; + } +} + +void ImGui::TabBarQueueFocus(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) +{ + tab_bar->NextSelectedTabId = tab->ID; +} + +void ImGui::TabBarQueueFocus(ImGuiTabBar* tab_bar, const char* tab_name) +{ + IM_ASSERT((tab_bar->Flags & ImGuiTabBarFlags_DockNode) == 0); // Only supported for manual/explicit tab bars + ImGuiID tab_id = TabBarCalcTabID(tab_bar, tab_name, NULL); + tab_bar->NextSelectedTabId = tab_id; +} + +void ImGui::TabBarQueueReorder(ImGuiTabBar* tab_bar, ImGuiTabItem* tab, int offset) +{ + IM_ASSERT(offset != 0); + IM_ASSERT(tab_bar->ReorderRequestTabId == 0); + tab_bar->ReorderRequestTabId = tab->ID; + tab_bar->ReorderRequestOffset = (ImS16)offset; +} + +void ImGui::TabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar, ImGuiTabItem* src_tab, ImVec2 mouse_pos) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(tab_bar->ReorderRequestTabId == 0); + if ((tab_bar->Flags & ImGuiTabBarFlags_Reorderable) == 0) + return; + + const bool is_central_section = (src_tab->Flags & ImGuiTabItemFlags_SectionMask_) == 0; + const float bar_offset = tab_bar->BarRect.Min.x - (is_central_section ? tab_bar->ScrollingTarget : 0); + + // Count number of contiguous tabs we are crossing over + const int dir = (bar_offset + src_tab->Offset) > mouse_pos.x ? -1 : +1; + const int src_idx = tab_bar->Tabs.index_from_ptr(src_tab); + int dst_idx = src_idx; + for (int i = src_idx; i >= 0 && i < tab_bar->Tabs.Size; i += dir) + { + // Reordered tabs must share the same section + const ImGuiTabItem* dst_tab = &tab_bar->Tabs[i]; + if (dst_tab->Flags & ImGuiTabItemFlags_NoReorder) + break; + if ((dst_tab->Flags & ImGuiTabItemFlags_SectionMask_) != (src_tab->Flags & ImGuiTabItemFlags_SectionMask_)) + break; + dst_idx = i; + + // Include spacing after tab, so when mouse cursor is between tabs we would not continue checking further tabs that are not hovered. + const float x1 = bar_offset + dst_tab->Offset - g.Style.ItemInnerSpacing.x; + const float x2 = bar_offset + dst_tab->Offset + dst_tab->Width + g.Style.ItemInnerSpacing.x; + //GetForegroundDrawList()->AddRect(ImVec2(x1, tab_bar->BarRect.Min.y), ImVec2(x2, tab_bar->BarRect.Max.y), IM_COL32(255, 0, 0, 255)); + if ((dir < 0 && mouse_pos.x > x1) || (dir > 0 && mouse_pos.x < x2)) + break; + } + + if (dst_idx != src_idx) + TabBarQueueReorder(tab_bar, src_tab, dst_idx - src_idx); +} + +bool ImGui::TabBarProcessReorder(ImGuiTabBar* tab_bar) +{ + ImGuiTabItem* tab1 = TabBarFindTabByID(tab_bar, tab_bar->ReorderRequestTabId); + if (tab1 == NULL || (tab1->Flags & ImGuiTabItemFlags_NoReorder)) + return false; + + //IM_ASSERT(tab_bar->Flags & ImGuiTabBarFlags_Reorderable); // <- this may happen when using debug tools + int tab2_order = TabBarGetTabOrder(tab_bar, tab1) + tab_bar->ReorderRequestOffset; + if (tab2_order < 0 || tab2_order >= tab_bar->Tabs.Size) + return false; + + // Reordered tabs must share the same section + // (Note: TabBarQueueReorderFromMousePos() also has a similar test but since we allow direct calls to TabBarQueueReorder() we do it here too) + ImGuiTabItem* tab2 = &tab_bar->Tabs[tab2_order]; + if (tab2->Flags & ImGuiTabItemFlags_NoReorder) + return false; + if ((tab1->Flags & ImGuiTabItemFlags_SectionMask_) != (tab2->Flags & ImGuiTabItemFlags_SectionMask_)) + return false; + + ImGuiTabItem item_tmp = *tab1; + ImGuiTabItem* src_tab = (tab_bar->ReorderRequestOffset > 0) ? tab1 + 1 : tab2; + ImGuiTabItem* dst_tab = (tab_bar->ReorderRequestOffset > 0) ? tab1 : tab2 + 1; + const int move_count = (tab_bar->ReorderRequestOffset > 0) ? tab_bar->ReorderRequestOffset : -tab_bar->ReorderRequestOffset; + memmove(dst_tab, src_tab, move_count * sizeof(ImGuiTabItem)); + *tab2 = item_tmp; + + if (tab_bar->Flags & ImGuiTabBarFlags_SaveSettings) + MarkIniSettingsDirty(); + return true; +} + +static ImGuiTabItem* ImGui::TabBarScrollingButtons(ImGuiTabBar* tab_bar) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + const ImVec2 arrow_button_size(g.FontSize - 2.0f, g.FontSize + g.Style.FramePadding.y * 2.0f); + const float scrolling_buttons_width = arrow_button_size.x * 2.0f; + + const ImVec2 backup_cursor_pos = window->DC.CursorPos; + //window->DrawList->AddRect(ImVec2(tab_bar->BarRect.Max.x - scrolling_buttons_width, tab_bar->BarRect.Min.y), ImVec2(tab_bar->BarRect.Max.x, tab_bar->BarRect.Max.y), IM_COL32(255,0,0,255)); + + int select_dir = 0; + ImVec4 arrow_col = g.Style.Colors[ImGuiCol_Text]; + arrow_col.w *= 0.5f; + + PushStyleColor(ImGuiCol_Text, arrow_col); + PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0)); + PushItemFlag(ImGuiItemFlags_ButtonRepeat, true); + const float backup_repeat_delay = g.IO.KeyRepeatDelay; + const float backup_repeat_rate = g.IO.KeyRepeatRate; + g.IO.KeyRepeatDelay = 0.250f; + g.IO.KeyRepeatRate = 0.200f; + float x = ImMax(tab_bar->BarRect.Min.x, tab_bar->BarRect.Max.x - scrolling_buttons_width); + window->DC.CursorPos = ImVec2(x, tab_bar->BarRect.Min.y); + if (ArrowButtonEx("##<", ImGuiDir_Left, arrow_button_size, ImGuiButtonFlags_PressedOnClick)) + select_dir = -1; + window->DC.CursorPos = ImVec2(x + arrow_button_size.x, tab_bar->BarRect.Min.y); + if (ArrowButtonEx("##>", ImGuiDir_Right, arrow_button_size, ImGuiButtonFlags_PressedOnClick)) + select_dir = +1; + PopItemFlag(); + PopStyleColor(2); + g.IO.KeyRepeatRate = backup_repeat_rate; + g.IO.KeyRepeatDelay = backup_repeat_delay; + + ImGuiTabItem* tab_to_scroll_to = NULL; + if (select_dir != 0) + if (ImGuiTabItem* tab_item = TabBarFindTabByID(tab_bar, tab_bar->SelectedTabId)) + { + int selected_order = TabBarGetTabOrder(tab_bar, tab_item); + int target_order = selected_order + select_dir; + + // Skip tab item buttons until another tab item is found or end is reached + while (tab_to_scroll_to == NULL) + { + // If we are at the end of the list, still scroll to make our tab visible + tab_to_scroll_to = &tab_bar->Tabs[(target_order >= 0 && target_order < tab_bar->Tabs.Size) ? target_order : selected_order]; + + // Cross through buttons + // (even if first/last item is a button, return it so we can update the scroll) + if (tab_to_scroll_to->Flags & ImGuiTabItemFlags_Button) + { + target_order += select_dir; + selected_order += select_dir; + tab_to_scroll_to = (target_order < 0 || target_order >= tab_bar->Tabs.Size) ? tab_to_scroll_to : NULL; + } + } + } + window->DC.CursorPos = backup_cursor_pos; + tab_bar->BarRect.Max.x -= scrolling_buttons_width + 1.0f; + + return tab_to_scroll_to; +} + +static ImGuiTabItem* ImGui::TabBarTabListPopupButton(ImGuiTabBar* tab_bar) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + + // We use g.Style.FramePadding.y to match the square ArrowButton size + const float tab_list_popup_button_width = g.FontSize + g.Style.FramePadding.y; + const ImVec2 backup_cursor_pos = window->DC.CursorPos; + window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x - g.Style.FramePadding.y, tab_bar->BarRect.Min.y); + tab_bar->BarRect.Min.x += tab_list_popup_button_width; + + ImVec4 arrow_col = g.Style.Colors[ImGuiCol_Text]; + arrow_col.w *= 0.5f; + PushStyleColor(ImGuiCol_Text, arrow_col); + PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0)); + bool open = BeginCombo("##v", NULL, ImGuiComboFlags_NoPreview | ImGuiComboFlags_HeightLargest); + PopStyleColor(2); + + ImGuiTabItem* tab_to_select = NULL; + if (open) + { + for (int tab_n = 0; tab_n < tab_bar->Tabs.Size; tab_n++) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_n]; + if (tab->Flags & ImGuiTabItemFlags_Button) + continue; + + const char* tab_name = TabBarGetTabName(tab_bar, tab); + if (Selectable(tab_name, tab_bar->SelectedTabId == tab->ID)) + tab_to_select = tab; + } + EndCombo(); + } + + window->DC.CursorPos = backup_cursor_pos; + return tab_to_select; +} + +//------------------------------------------------------------------------- +// [SECTION] Widgets: BeginTabItem, EndTabItem, etc. +//------------------------------------------------------------------------- +// - BeginTabItem() +// - EndTabItem() +// - TabItemButton() +// - TabItemEx() [Internal] +// - SetTabItemClosed() +// - TabItemCalcSize() [Internal] +// - TabItemBackground() [Internal] +// - TabItemLabelAndCloseButton() [Internal] +//------------------------------------------------------------------------- + +bool ImGui::BeginTabItem(const char* label, bool* p_open, ImGuiTabItemFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + ImGuiTabBar* tab_bar = g.CurrentTabBar; + if (tab_bar == NULL) + { + IM_ASSERT_USER_ERROR(tab_bar, "Needs to be called between BeginTabBar() and EndTabBar()!"); + return false; + } + IM_ASSERT((flags & ImGuiTabItemFlags_Button) == 0); // BeginTabItem() Can't be used with button flags, use TabItemButton() instead! + + bool ret = TabItemEx(tab_bar, label, p_open, flags, NULL); + if (ret && !(flags & ImGuiTabItemFlags_NoPushId)) + { + ImGuiTabItem* tab = &tab_bar->Tabs[tab_bar->LastTabItemIdx]; + PushOverrideID(tab->ID); // We already hashed 'label' so push into the ID stack directly instead of doing another hash through PushID(label) + } + return ret; +} + +void ImGui::EndTabItem() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + ImGuiTabBar* tab_bar = g.CurrentTabBar; + if (tab_bar == NULL) + { + IM_ASSERT_USER_ERROR(tab_bar != NULL, "Needs to be called between BeginTabBar() and EndTabBar()!"); + return; + } + IM_ASSERT(tab_bar->LastTabItemIdx >= 0); + ImGuiTabItem* tab = &tab_bar->Tabs[tab_bar->LastTabItemIdx]; + if (!(tab->Flags & ImGuiTabItemFlags_NoPushId)) + PopID(); +} + +bool ImGui::TabItemButton(const char* label, ImGuiTabItemFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + ImGuiTabBar* tab_bar = g.CurrentTabBar; + if (tab_bar == NULL) + { + IM_ASSERT_USER_ERROR(tab_bar != NULL, "Needs to be called between BeginTabBar() and EndTabBar()!"); + return false; + } + return TabItemEx(tab_bar, label, NULL, flags | ImGuiTabItemFlags_Button | ImGuiTabItemFlags_NoReorder, NULL); +} + +void ImGui::TabItemSpacing(const char* str_id, ImGuiTabItemFlags flags, float width) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return; + + ImGuiTabBar* tab_bar = g.CurrentTabBar; + if (tab_bar == NULL) + { + IM_ASSERT_USER_ERROR(tab_bar != NULL, "Needs to be called between BeginTabBar() and EndTabBar()!"); + return; + } + SetNextItemWidth(width); + TabItemEx(tab_bar, str_id, NULL, flags | ImGuiTabItemFlags_Button | ImGuiTabItemFlags_NoReorder | ImGuiTabItemFlags_Invisible, NULL); +} + +bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags, ImGuiWindow* docked_window) +{ + // Layout whole tab bar if not already done + ImGuiContext& g = *GImGui; + if (tab_bar->WantLayout) + { + ImGuiNextItemData backup_next_item_data = g.NextItemData; + TabBarLayout(tab_bar); + g.NextItemData = backup_next_item_data; + } + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + const ImGuiStyle& style = g.Style; + const ImGuiID id = TabBarCalcTabID(tab_bar, label, docked_window); + + // If the user called us with *p_open == false, we early out and don't render. + // We make a call to ItemAdd() so that attempts to use a contextual popup menu with an implicit ID won't use an older ID. + IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); + if (p_open && !*p_open) + { + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); + return false; + } + + IM_ASSERT(!p_open || !(flags & ImGuiTabItemFlags_Button)); + IM_ASSERT((flags & (ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing)) != (ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing)); // Can't use both Leading and Trailing + + // Store into ImGuiTabItemFlags_NoCloseButton, also honor ImGuiTabItemFlags_NoCloseButton passed by user (although not documented) + if (flags & ImGuiTabItemFlags_NoCloseButton) + p_open = NULL; + else if (p_open == NULL) + flags |= ImGuiTabItemFlags_NoCloseButton; + + // Acquire tab data + ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, id); + bool tab_is_new = false; + if (tab == NULL) + { + tab_bar->Tabs.push_back(ImGuiTabItem()); + tab = &tab_bar->Tabs.back(); + tab->ID = id; + tab_bar->TabsAddedNew = tab_is_new = true; + } + tab_bar->LastTabItemIdx = (ImS16)tab_bar->Tabs.index_from_ptr(tab); + + // Calculate tab contents size + ImVec2 size = TabItemCalcSize(label, (p_open != NULL) || (flags & ImGuiTabItemFlags_UnsavedDocument)); + tab->RequestedWidth = -1.0f; + if (g.NextItemData.HasFlags & ImGuiNextItemDataFlags_HasWidth) + size.x = tab->RequestedWidth = g.NextItemData.Width; + if (tab_is_new) + tab->Width = ImMax(1.0f, size.x); + tab->ContentWidth = size.x; + tab->BeginOrder = tab_bar->TabsActiveCount++; + + const bool tab_bar_appearing = (tab_bar->PrevFrameVisible + 1 < g.FrameCount); + const bool tab_bar_focused = (tab_bar->Flags & ImGuiTabBarFlags_IsFocused) != 0; + const bool tab_appearing = (tab->LastFrameVisible + 1 < g.FrameCount); + const bool tab_just_unsaved = (flags & ImGuiTabItemFlags_UnsavedDocument) && !(tab->Flags & ImGuiTabItemFlags_UnsavedDocument); + const bool is_tab_button = (flags & ImGuiTabItemFlags_Button) != 0; + tab->LastFrameVisible = g.FrameCount; + tab->Flags = flags; + + // Append name _WITH_ the zero-terminator + if (docked_window != NULL) + { + IM_ASSERT(docked_window == NULL); // master branch only + } + else + { + tab->NameOffset = (ImS32)tab_bar->TabsNames.size(); + tab_bar->TabsNames.append(label, label + strlen(label) + 1); + } + + // Update selected tab + if (!is_tab_button) + { + if (tab_appearing && (tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs) && tab_bar->NextSelectedTabId == 0) + if (!tab_bar_appearing || tab_bar->SelectedTabId == 0) + TabBarQueueFocus(tab_bar, tab); // New tabs gets activated + if ((flags & ImGuiTabItemFlags_SetSelected) && (tab_bar->SelectedTabId != id)) // _SetSelected can only be passed on explicit tab bar + TabBarQueueFocus(tab_bar, tab); + } + + // Lock visibility + // (Note: tab_contents_visible != tab_selected... because CTRL+TAB operations may preview some tabs without selecting them!) + bool tab_contents_visible = (tab_bar->VisibleTabId == id); + if (tab_contents_visible) + tab_bar->VisibleTabWasSubmitted = true; + + // On the very first frame of a tab bar we let first tab contents be visible to minimize appearing glitches + if (!tab_contents_visible && tab_bar->SelectedTabId == 0 && tab_bar_appearing) + if (tab_bar->Tabs.Size == 1 && !(tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs)) + tab_contents_visible = true; + + // Note that tab_is_new is not necessarily the same as tab_appearing! When a tab bar stops being submitted + // and then gets submitted again, the tabs will have 'tab_appearing=true' but 'tab_is_new=false'. + if (tab_appearing && (!tab_bar_appearing || tab_is_new)) + { + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); + if (is_tab_button) + return false; + return tab_contents_visible; + } + + if (tab_bar->SelectedTabId == id) + tab->LastFrameSelected = g.FrameCount; + + // Backup current layout position + const ImVec2 backup_main_cursor_pos = window->DC.CursorPos; + + // Layout + const bool is_central_section = (tab->Flags & ImGuiTabItemFlags_SectionMask_) == 0; + size.x = tab->Width; + if (is_central_section) + window->DC.CursorPos = tab_bar->BarRect.Min + ImVec2(IM_TRUNC(tab->Offset - tab_bar->ScrollingAnim), 0.0f); + else + window->DC.CursorPos = tab_bar->BarRect.Min + ImVec2(tab->Offset, 0.0f); + ImVec2 pos = window->DC.CursorPos; + ImRect bb(pos, pos + size); + + // We don't have CPU clipping primitives to clip the CloseButton (until it becomes a texture), so need to add an extra draw call (temporary in the case of vertical animation) + const bool want_clip_rect = is_central_section && (bb.Min.x < tab_bar->ScrollingRectMinX || bb.Max.x > tab_bar->ScrollingRectMaxX); + if (want_clip_rect) + PushClipRect(ImVec2(ImMax(bb.Min.x, tab_bar->ScrollingRectMinX), bb.Min.y - 1), ImVec2(tab_bar->ScrollingRectMaxX, bb.Max.y), true); + + ImVec2 backup_cursor_max_pos = window->DC.CursorMaxPos; + ItemSize(bb.GetSize(), style.FramePadding.y); + window->DC.CursorMaxPos = backup_cursor_max_pos; + + if (!ItemAdd(bb, id)) + { + if (want_clip_rect) + PopClipRect(); + window->DC.CursorPos = backup_main_cursor_pos; + return tab_contents_visible; + } + + // Click to Select a tab + // Allow the close button to overlap + ImGuiButtonFlags button_flags = ((is_tab_button ? ImGuiButtonFlags_PressedOnClickRelease : ImGuiButtonFlags_PressedOnClick) | ImGuiButtonFlags_AllowOverlap); + if (g.DragDropActive) + button_flags |= ImGuiButtonFlags_PressedOnDragDropHold; + bool hovered, held, pressed; + if (flags & ImGuiTabItemFlags_Invisible) + hovered = held = pressed = false; + else + pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags); + if (pressed && !is_tab_button) + TabBarQueueFocus(tab_bar, tab); + + // Drag and drop: re-order tabs + if (held && !tab_appearing && IsMouseDragging(0)) + { + if (!g.DragDropActive && (tab_bar->Flags & ImGuiTabBarFlags_Reorderable)) + { + // While moving a tab it will jump on the other side of the mouse, so we also test for MouseDelta.x + if (g.IO.MouseDelta.x < 0.0f && g.IO.MousePos.x < bb.Min.x) + { + TabBarQueueReorderFromMousePos(tab_bar, tab, g.IO.MousePos); + } + else if (g.IO.MouseDelta.x > 0.0f && g.IO.MousePos.x > bb.Max.x) + { + TabBarQueueReorderFromMousePos(tab_bar, tab, g.IO.MousePos); + } + } + } + +#if 0 + if (hovered && g.HoveredIdNotActiveTimer > TOOLTIP_DELAY && bb.GetWidth() < tab->ContentWidth) + { + // Enlarge tab display when hovering + bb.Max.x = bb.Min.x + IM_TRUNC(ImLerp(bb.GetWidth(), tab->ContentWidth, ImSaturate((g.HoveredIdNotActiveTimer - 0.40f) * 6.0f))); + display_draw_list = GetForegroundDrawList(window); + TabItemBackground(display_draw_list, bb, flags, GetColorU32(ImGuiCol_TitleBgActive)); + } +#endif + + // Render tab shape + const bool is_visible = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) && !(flags & ImGuiTabItemFlags_Invisible); + if (is_visible) + { + ImDrawList* display_draw_list = window->DrawList; + const ImU32 tab_col = GetColorU32((held || hovered) ? ImGuiCol_TabHovered : tab_contents_visible ? (tab_bar_focused ? ImGuiCol_TabSelected : ImGuiCol_TabDimmedSelected) : (tab_bar_focused ? ImGuiCol_Tab : ImGuiCol_TabDimmed)); + TabItemBackground(display_draw_list, bb, flags, tab_col); + if (tab_contents_visible && (tab_bar->Flags & ImGuiTabBarFlags_DrawSelectedOverline) && style.TabBarOverlineSize > 0.0f) + { + // Might be moved to TabItemBackground() ? + ImVec2 tl = bb.GetTL() + ImVec2(0, 1.0f * g.CurrentDpiScale); + ImVec2 tr = bb.GetTR() + ImVec2(0, 1.0f * g.CurrentDpiScale); + ImU32 overline_col = GetColorU32(tab_bar_focused ? ImGuiCol_TabSelectedOverline : ImGuiCol_TabDimmedSelectedOverline); + if (style.TabRounding > 0.0f) + { + float rounding = style.TabRounding; + display_draw_list->PathArcToFast(tl + ImVec2(+rounding, +rounding), rounding, 7, 9); + display_draw_list->PathArcToFast(tr + ImVec2(-rounding, +rounding), rounding, 9, 11); + display_draw_list->PathStroke(overline_col, 0, style.TabBarOverlineSize); + } + else + { + display_draw_list->AddLine(tl - ImVec2(0.5f, 0.5f), tr - ImVec2(0.5f, 0.5f), overline_col, style.TabBarOverlineSize); + } + } + RenderNavCursor(bb, id); + + // Select with right mouse button. This is so the common idiom for context menu automatically highlight the current widget. + const bool hovered_unblocked = IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup); + if (tab_bar->SelectedTabId != tab->ID && hovered_unblocked && (IsMouseClicked(1) || IsMouseReleased(1)) && !is_tab_button) + TabBarQueueFocus(tab_bar, tab); + + if (tab_bar->Flags & ImGuiTabBarFlags_NoCloseWithMiddleMouseButton) + flags |= ImGuiTabItemFlags_NoCloseWithMiddleMouseButton; + + // Render tab label, process close button + const ImGuiID close_button_id = p_open ? GetIDWithSeed("#CLOSE", NULL, id) : 0; + bool just_closed; + bool text_clipped; + TabItemLabelAndCloseButton(display_draw_list, bb, tab_just_unsaved ? (flags & ~ImGuiTabItemFlags_UnsavedDocument) : flags, tab_bar->FramePadding, label, id, close_button_id, tab_contents_visible, &just_closed, &text_clipped); + if (just_closed && p_open != NULL) + { + *p_open = false; + TabBarCloseTab(tab_bar, tab); + } + + // Tooltip + // (Won't work over the close button because ItemOverlap systems messes up with HoveredIdTimer-> seems ok) + // (We test IsItemHovered() to discard e.g. when another item is active or drag and drop over the tab bar, which g.HoveredId ignores) + // FIXME: This is a mess. + // FIXME: We may want disabled tab to still display the tooltip? + if (text_clipped && g.HoveredId == id && !held) + if (!(tab_bar->Flags & ImGuiTabBarFlags_NoTooltip) && !(tab->Flags & ImGuiTabItemFlags_NoTooltip)) + SetItemTooltip("%.*s", (int)(FindRenderedTextEnd(label) - label), label); + } + + // Restore main window position so user can draw there + if (want_clip_rect) + PopClipRect(); + window->DC.CursorPos = backup_main_cursor_pos; + + IM_ASSERT(!is_tab_button || !(tab_bar->SelectedTabId == tab->ID && is_tab_button)); // TabItemButton should not be selected + if (is_tab_button) + return pressed; + return tab_contents_visible; +} + +// [Public] This is call is 100% optional but it allows to remove some one-frame glitches when a tab has been unexpectedly removed. +// To use it to need to call the function SetTabItemClosed() between BeginTabBar() and EndTabBar(). +// Tabs closed by the close button will automatically be flagged to avoid this issue. +void ImGui::SetTabItemClosed(const char* label) +{ + ImGuiContext& g = *GImGui; + bool is_within_manual_tab_bar = g.CurrentTabBar && !(g.CurrentTabBar->Flags & ImGuiTabBarFlags_DockNode); + if (is_within_manual_tab_bar) + { + ImGuiTabBar* tab_bar = g.CurrentTabBar; + ImGuiID tab_id = TabBarCalcTabID(tab_bar, label, NULL); + if (ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id)) + tab->WantClose = true; // Will be processed by next call to TabBarLayout() + } +} + +ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker) +{ + ImGuiContext& g = *GImGui; + ImVec2 label_size = CalcTextSize(label, NULL, true); + ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x, label_size.y + g.Style.FramePadding.y * 2.0f); + if (has_close_button_or_unsaved_marker) + size.x += g.Style.FramePadding.x + (g.Style.ItemInnerSpacing.x + g.FontSize); // We use Y intentionally to fit the close button circle. + else + size.x += g.Style.FramePadding.x + 1.0f; + return ImVec2(ImMin(size.x, TabBarCalcMaxTabWidth()), size.y); +} + +ImVec2 ImGui::TabItemCalcSize(ImGuiWindow*) +{ + IM_ASSERT(0); // This function exists to facilitate merge with 'docking' branch. + return ImVec2(0.0f, 0.0f); +} + +void ImGui::TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col) +{ + // While rendering tabs, we trim 1 pixel off the top of our bounding box so they can fit within a regular frame height while looking "detached" from it. + ImGuiContext& g = *GImGui; + const float width = bb.GetWidth(); + IM_UNUSED(flags); + IM_ASSERT(width > 0.0f); + const float rounding = ImMax(0.0f, ImMin((flags & ImGuiTabItemFlags_Button) ? g.Style.FrameRounding : g.Style.TabRounding, width * 0.5f - 1.0f)); + const float y1 = bb.Min.y + 1.0f; + const float y2 = bb.Max.y - g.Style.TabBarBorderSize; + draw_list->PathLineTo(ImVec2(bb.Min.x, y2)); + draw_list->PathArcToFast(ImVec2(bb.Min.x + rounding, y1 + rounding), rounding, 6, 9); + draw_list->PathArcToFast(ImVec2(bb.Max.x - rounding, y1 + rounding), rounding, 9, 12); + draw_list->PathLineTo(ImVec2(bb.Max.x, y2)); + draw_list->PathFillConvex(col); + if (g.Style.TabBorderSize > 0.0f) + { + draw_list->PathLineTo(ImVec2(bb.Min.x + 0.5f, y2)); + draw_list->PathArcToFast(ImVec2(bb.Min.x + rounding + 0.5f, y1 + rounding + 0.5f), rounding, 6, 9); + draw_list->PathArcToFast(ImVec2(bb.Max.x - rounding - 0.5f, y1 + rounding + 0.5f), rounding, 9, 12); + draw_list->PathLineTo(ImVec2(bb.Max.x - 0.5f, y2)); + draw_list->PathStroke(GetColorU32(ImGuiCol_Border), 0, g.Style.TabBorderSize); + } +} + +// Render text label (with custom clipping) + Unsaved Document marker + Close Button logic +// We tend to lock style.FramePadding for a given tab-bar, hence the 'frame_padding' parameter. +void ImGui::TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_button_id, bool is_contents_visible, bool* out_just_closed, bool* out_text_clipped) +{ + ImGuiContext& g = *GImGui; + ImVec2 label_size = CalcTextSize(label, NULL, true); + + if (out_just_closed) + *out_just_closed = false; + if (out_text_clipped) + *out_text_clipped = false; + + if (bb.GetWidth() <= 1.0f) + return; + + // In Style V2 we'll have full override of all colors per state (e.g. focused, selected) + // But right now if you want to alter text color of tabs this is what you need to do. +#if 0 + const float backup_alpha = g.Style.Alpha; + if (!is_contents_visible) + g.Style.Alpha *= 0.7f; +#endif + + // Render text label (with clipping + alpha gradient) + unsaved marker + ImRect text_pixel_clip_bb(bb.Min.x + frame_padding.x, bb.Min.y + frame_padding.y, bb.Max.x - frame_padding.x, bb.Max.y); + ImRect text_ellipsis_clip_bb = text_pixel_clip_bb; + + // Return clipped state ignoring the close button + if (out_text_clipped) + { + *out_text_clipped = (text_ellipsis_clip_bb.Min.x + label_size.x) > text_pixel_clip_bb.Max.x; + //draw_list->AddCircle(text_ellipsis_clip_bb.Min, 3.0f, *out_text_clipped ? IM_COL32(255, 0, 0, 255) : IM_COL32(0, 255, 0, 255)); + } + + const float button_sz = g.FontSize; + const ImVec2 button_pos(ImMax(bb.Min.x, bb.Max.x - frame_padding.x - button_sz), bb.Min.y + frame_padding.y); + + // Close Button & Unsaved Marker + // We are relying on a subtle and confusing distinction between 'hovered' and 'g.HoveredId' which happens because we are using ImGuiButtonFlags_AllowOverlapMode + SetItemAllowOverlap() + // 'hovered' will be true when hovering the Tab but NOT when hovering the close button + // 'g.HoveredId==id' will be true when hovering the Tab including when hovering the close button + // 'g.ActiveId==close_button_id' will be true when we are holding on the close button, in which case both hovered booleans are false + bool close_button_pressed = false; + bool close_button_visible = false; + bool is_hovered = g.HoveredId == tab_id || g.HoveredId == close_button_id || g.ActiveId == tab_id || g.ActiveId == close_button_id; // Any interaction account for this too. + + if (close_button_id != 0) + { + if (is_contents_visible) + close_button_visible = (g.Style.TabCloseButtonMinWidthSelected < 0.0f) ? true : (is_hovered && bb.GetWidth() >= ImMax(button_sz, g.Style.TabCloseButtonMinWidthSelected)); + else + close_button_visible = (g.Style.TabCloseButtonMinWidthUnselected < 0.0f) ? true : (is_hovered && bb.GetWidth() >= ImMax(button_sz, g.Style.TabCloseButtonMinWidthUnselected)); + } + + // When tabs/document is unsaved, the unsaved marker takes priority over the close button. + const bool unsaved_marker_visible = (flags & ImGuiTabItemFlags_UnsavedDocument) != 0 && (button_pos.x + button_sz <= bb.Max.x) && (!close_button_visible || !is_hovered); + if (unsaved_marker_visible) + { + const ImRect bullet_bb(button_pos, button_pos + ImVec2(button_sz, button_sz)); + RenderBullet(draw_list, bullet_bb.GetCenter(), GetColorU32(ImGuiCol_Text)); + } + else if (close_button_visible) + { + ImGuiLastItemData last_item_backup = g.LastItemData; + if (CloseButton(close_button_id, button_pos)) + close_button_pressed = true; + g.LastItemData = last_item_backup; + + // Close with middle mouse button + if (is_hovered && !(flags & ImGuiTabItemFlags_NoCloseWithMiddleMouseButton) && IsMouseClicked(2)) + close_button_pressed = true; + } + + // This is all rather complicated + // (the main idea is that because the close button only appears on hover, we don't want it to alter the ellipsis position) + // FIXME: if FramePadding is noticeably large, ellipsis_max_x will be wrong here (e.g. #3497), maybe for consistency that parameter of RenderTextEllipsis() shouldn't exist.. + float ellipsis_max_x = close_button_visible ? text_pixel_clip_bb.Max.x : bb.Max.x - 1.0f; + if (close_button_visible || unsaved_marker_visible) + { + text_pixel_clip_bb.Max.x -= close_button_visible ? (button_sz) : (button_sz * 0.80f); + text_ellipsis_clip_bb.Max.x -= unsaved_marker_visible ? (button_sz * 0.80f) : 0.0f; + ellipsis_max_x = text_pixel_clip_bb.Max.x; + } + LogSetNextTextDecoration("/", "\\"); + RenderTextEllipsis(draw_list, text_ellipsis_clip_bb.Min, text_ellipsis_clip_bb.Max, text_pixel_clip_bb.Max.x, ellipsis_max_x, label, NULL, &label_size); + +#if 0 + if (!is_contents_visible) + g.Style.Alpha = backup_alpha; +#endif + + if (out_just_closed) + *out_just_closed = close_button_pressed; +} + + +#endif // #ifndef IMGUI_DISABLE diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_rectpack.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_rectpack.h new file mode 100644 index 0000000..f6917e7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_rectpack.h @@ -0,0 +1,627 @@ +// [DEAR IMGUI] +// This is a slightly modified version of stb_rect_pack.h 1.01. +// Grep for [DEAR IMGUI] to find the changes. +// +// stb_rect_pack.h - v1.01 - public domain - rectangle packing +// Sean Barrett 2014 +// +// Useful for e.g. packing rectangular textures into an atlas. +// Does not do rotation. +// +// Before #including, +// +// #define STB_RECT_PACK_IMPLEMENTATION +// +// in the file that you want to have the implementation. +// +// Not necessarily the awesomest packing method, but better than +// the totally naive one in stb_truetype (which is primarily what +// this is meant to replace). +// +// Has only had a few tests run, may have issues. +// +// More docs to come. +// +// No memory allocations; uses qsort() and assert() from stdlib. +// Can override those by defining STBRP_SORT and STBRP_ASSERT. +// +// This library currently uses the Skyline Bottom-Left algorithm. +// +// Please note: better rectangle packers are welcome! Please +// implement them to the same API, but with a different init +// function. +// +// Credits +// +// Library +// Sean Barrett +// Minor features +// Martins Mozeiko +// github:IntellectualKitty +// +// Bugfixes / warning fixes +// Jeremy Jaussaud +// Fabian Giesen +// +// Version history: +// +// 1.01 (2021-07-11) always use large rect mode, expose STBRP__MAXVAL in public section +// 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles +// 0.99 (2019-02-07) warning fixes +// 0.11 (2017-03-03) return packing success/fail result +// 0.10 (2016-10-25) remove cast-away-const to avoid warnings +// 0.09 (2016-08-27) fix compiler warnings +// 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0) +// 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0) +// 0.06 (2015-04-15) added STBRP_SORT to allow replacing qsort +// 0.05: added STBRP_ASSERT to allow replacing assert +// 0.04: fixed minor bug in STBRP_LARGE_RECTS support +// 0.01: initial release +// +// LICENSE +// +// See end of file for license information. + +////////////////////////////////////////////////////////////////////////////// +// +// INCLUDE SECTION +// + +#ifndef STB_INCLUDE_STB_RECT_PACK_H +#define STB_INCLUDE_STB_RECT_PACK_H + +#define STB_RECT_PACK_VERSION 1 + +#ifdef STBRP_STATIC +#define STBRP_DEF static +#else +#define STBRP_DEF extern +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct stbrp_context stbrp_context; +typedef struct stbrp_node stbrp_node; +typedef struct stbrp_rect stbrp_rect; + +typedef int stbrp_coord; + +#define STBRP__MAXVAL 0x7fffffff +// Mostly for internal use, but this is the maximum supported coordinate value. + +STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects); +// Assign packed locations to rectangles. The rectangles are of type +// 'stbrp_rect' defined below, stored in the array 'rects', and there +// are 'num_rects' many of them. +// +// Rectangles which are successfully packed have the 'was_packed' flag +// set to a non-zero value and 'x' and 'y' store the minimum location +// on each axis (i.e. bottom-left in cartesian coordinates, top-left +// if you imagine y increasing downwards). Rectangles which do not fit +// have the 'was_packed' flag set to 0. +// +// You should not try to access the 'rects' array from another thread +// while this function is running, as the function temporarily reorders +// the array while it executes. +// +// To pack into another rectangle, you need to call stbrp_init_target +// again. To continue packing into the same rectangle, you can call +// this function again. Calling this multiple times with multiple rect +// arrays will probably produce worse packing results than calling it +// a single time with the full rectangle array, but the option is +// available. +// +// The function returns 1 if all of the rectangles were successfully +// packed and 0 otherwise. + +struct stbrp_rect +{ + // reserved for your use: + int id; + + // input: + stbrp_coord w, h; + + // output: + stbrp_coord x, y; + int was_packed; // non-zero if valid packing + +}; // 16 bytes, nominally + + +STBRP_DEF void stbrp_init_target (stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes); +// Initialize a rectangle packer to: +// pack a rectangle that is 'width' by 'height' in dimensions +// using temporary storage provided by the array 'nodes', which is 'num_nodes' long +// +// You must call this function every time you start packing into a new target. +// +// There is no "shutdown" function. The 'nodes' memory must stay valid for +// the following stbrp_pack_rects() call (or calls), but can be freed after +// the call (or calls) finish. +// +// Note: to guarantee best results, either: +// 1. make sure 'num_nodes' >= 'width' +// or 2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1' +// +// If you don't do either of the above things, widths will be quantized to multiples +// of small integers to guarantee the algorithm doesn't run out of temporary storage. +// +// If you do #2, then the non-quantized algorithm will be used, but the algorithm +// may run out of temporary storage and be unable to pack some rectangles. + +STBRP_DEF void stbrp_setup_allow_out_of_mem (stbrp_context *context, int allow_out_of_mem); +// Optionally call this function after init but before doing any packing to +// change the handling of the out-of-temp-memory scenario, described above. +// If you call init again, this will be reset to the default (false). + + +STBRP_DEF void stbrp_setup_heuristic (stbrp_context *context, int heuristic); +// Optionally select which packing heuristic the library should use. Different +// heuristics will produce better/worse results for different data sets. +// If you call init again, this will be reset to the default. + +enum +{ + STBRP_HEURISTIC_Skyline_default=0, + STBRP_HEURISTIC_Skyline_BL_sortHeight = STBRP_HEURISTIC_Skyline_default, + STBRP_HEURISTIC_Skyline_BF_sortHeight +}; + + +////////////////////////////////////////////////////////////////////////////// +// +// the details of the following structures don't matter to you, but they must +// be visible so you can handle the memory allocations for them + +struct stbrp_node +{ + stbrp_coord x,y; + stbrp_node *next; +}; + +struct stbrp_context +{ + int width; + int height; + int align; + int init_mode; + int heuristic; + int num_nodes; + stbrp_node *active_head; + stbrp_node *free_head; + stbrp_node extra[2]; // we allocate two extra nodes so optimal user-node-count is 'width' not 'width+2' +}; + +#ifdef __cplusplus +} +#endif + +#endif + +////////////////////////////////////////////////////////////////////////////// +// +// IMPLEMENTATION SECTION +// + +#ifdef STB_RECT_PACK_IMPLEMENTATION +#ifndef STBRP_SORT +#include +#define STBRP_SORT qsort +#endif + +#ifndef STBRP_ASSERT +#include +#define STBRP_ASSERT assert +#endif + +#ifdef _MSC_VER +#define STBRP__NOTUSED(v) (void)(v) +#define STBRP__CDECL __cdecl +#else +#define STBRP__NOTUSED(v) (void)sizeof(v) +#define STBRP__CDECL +#endif + +enum +{ + STBRP__INIT_skyline = 1 +}; + +STBRP_DEF void stbrp_setup_heuristic(stbrp_context *context, int heuristic) +{ + switch (context->init_mode) { + case STBRP__INIT_skyline: + STBRP_ASSERT(heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight || heuristic == STBRP_HEURISTIC_Skyline_BF_sortHeight); + context->heuristic = heuristic; + break; + default: + STBRP_ASSERT(0); + } +} + +STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context *context, int allow_out_of_mem) +{ + if (allow_out_of_mem) + // if it's ok to run out of memory, then don't bother aligning them; + // this gives better packing, but may fail due to OOM (even though + // the rectangles easily fit). @TODO a smarter approach would be to only + // quantize once we've hit OOM, then we could get rid of this parameter. + context->align = 1; + else { + // if it's not ok to run out of memory, then quantize the widths + // so that num_nodes is always enough nodes. + // + // I.e. num_nodes * align >= width + // align >= width / num_nodes + // align = ceil(width/num_nodes) + + context->align = (context->width + context->num_nodes-1) / context->num_nodes; + } +} + +STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes) +{ + int i; + + for (i=0; i < num_nodes-1; ++i) + nodes[i].next = &nodes[i+1]; + nodes[i].next = NULL; + context->init_mode = STBRP__INIT_skyline; + context->heuristic = STBRP_HEURISTIC_Skyline_default; + context->free_head = &nodes[0]; + context->active_head = &context->extra[0]; + context->width = width; + context->height = height; + context->num_nodes = num_nodes; + stbrp_setup_allow_out_of_mem(context, 0); + + // node 0 is the full width, node 1 is the sentinel (lets us not store width explicitly) + context->extra[0].x = 0; + context->extra[0].y = 0; + context->extra[0].next = &context->extra[1]; + context->extra[1].x = (stbrp_coord) width; + context->extra[1].y = (1<<30); + context->extra[1].next = NULL; +} + +// find minimum y position if it starts at x1 +static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0, int width, int *pwaste) +{ + stbrp_node *node = first; + int x1 = x0 + width; + int min_y, visited_width, waste_area; + + STBRP__NOTUSED(c); + + STBRP_ASSERT(first->x <= x0); + + #if 0 + // skip in case we're past the node + while (node->next->x <= x0) + ++node; + #else + STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency + #endif + + STBRP_ASSERT(node->x <= x0); + + min_y = 0; + waste_area = 0; + visited_width = 0; + while (node->x < x1) { + if (node->y > min_y) { + // raise min_y higher. + // we've accounted for all waste up to min_y, + // but we'll now add more waste for everything we've visted + waste_area += visited_width * (node->y - min_y); + min_y = node->y; + // the first time through, visited_width might be reduced + if (node->x < x0) + visited_width += node->next->x - x0; + else + visited_width += node->next->x - node->x; + } else { + // add waste area + int under_width = node->next->x - node->x; + if (under_width + visited_width > width) + under_width = width - visited_width; + waste_area += under_width * (min_y - node->y); + visited_width += under_width; + } + node = node->next; + } + + *pwaste = waste_area; + return min_y; +} + +typedef struct +{ + int x,y; + stbrp_node **prev_link; +} stbrp__findresult; + +static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int width, int height) +{ + int best_waste = (1<<30), best_x, best_y = (1 << 30); + stbrp__findresult fr; + stbrp_node **prev, *node, *tail, **best = NULL; + + // align to multiple of c->align + width = (width + c->align - 1); + width -= width % c->align; + STBRP_ASSERT(width % c->align == 0); + + // if it can't possibly fit, bail immediately + if (width > c->width || height > c->height) { + fr.prev_link = NULL; + fr.x = fr.y = 0; + return fr; + } + + node = c->active_head; + prev = &c->active_head; + while (node->x + width <= c->width) { + int y,waste; + y = stbrp__skyline_find_min_y(c, node, node->x, width, &waste); + if (c->heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight) { // actually just want to test BL + // bottom left + if (y < best_y) { + best_y = y; + best = prev; + } + } else { + // best-fit + if (y + height <= c->height) { + // can only use it if it first vertically + if (y < best_y || (y == best_y && waste < best_waste)) { + best_y = y; + best_waste = waste; + best = prev; + } + } + } + prev = &node->next; + node = node->next; + } + + best_x = (best == NULL) ? 0 : (*best)->x; + + // if doing best-fit (BF), we also have to try aligning right edge to each node position + // + // e.g, if fitting + // + // ____________________ + // |____________________| + // + // into + // + // | | + // | ____________| + // |____________| + // + // then right-aligned reduces waste, but bottom-left BL is always chooses left-aligned + // + // This makes BF take about 2x the time + + if (c->heuristic == STBRP_HEURISTIC_Skyline_BF_sortHeight) { + tail = c->active_head; + node = c->active_head; + prev = &c->active_head; + // find first node that's admissible + while (tail->x < width) + tail = tail->next; + while (tail) { + int xpos = tail->x - width; + int y,waste; + STBRP_ASSERT(xpos >= 0); + // find the left position that matches this + while (node->next->x <= xpos) { + prev = &node->next; + node = node->next; + } + STBRP_ASSERT(node->next->x > xpos && node->x <= xpos); + y = stbrp__skyline_find_min_y(c, node, xpos, width, &waste); + if (y + height <= c->height) { + if (y <= best_y) { + if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { + best_x = xpos; + //STBRP_ASSERT(y <= best_y); [DEAR IMGUI] + best_y = y; + best_waste = waste; + best = prev; + } + } + } + tail = tail->next; + } + } + + fr.prev_link = best; + fr.x = best_x; + fr.y = best_y; + return fr; +} + +static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, int width, int height) +{ + // find best position according to heuristic + stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height); + stbrp_node *node, *cur; + + // bail if: + // 1. it failed + // 2. the best node doesn't fit (we don't always check this) + // 3. we're out of memory + if (res.prev_link == NULL || res.y + height > context->height || context->free_head == NULL) { + res.prev_link = NULL; + return res; + } + + // on success, create new node + node = context->free_head; + node->x = (stbrp_coord) res.x; + node->y = (stbrp_coord) (res.y + height); + + context->free_head = node->next; + + // insert the new node into the right starting point, and + // let 'cur' point to the remaining nodes needing to be + // stiched back in + + cur = *res.prev_link; + if (cur->x < res.x) { + // preserve the existing one, so start testing with the next one + stbrp_node *next = cur->next; + cur->next = node; + cur = next; + } else { + *res.prev_link = node; + } + + // from here, traverse cur and free the nodes, until we get to one + // that shouldn't be freed + while (cur->next && cur->next->x <= res.x + width) { + stbrp_node *next = cur->next; + // move the current node to the free list + cur->next = context->free_head; + context->free_head = cur; + cur = next; + } + + // stitch the list back in + node->next = cur; + + if (cur->x < res.x + width) + cur->x = (stbrp_coord) (res.x + width); + +#ifdef _DEBUG + cur = context->active_head; + while (cur->x < context->width) { + STBRP_ASSERT(cur->x < cur->next->x); + cur = cur->next; + } + STBRP_ASSERT(cur->next == NULL); + + { + int count=0; + cur = context->active_head; + while (cur) { + cur = cur->next; + ++count; + } + cur = context->free_head; + while (cur) { + cur = cur->next; + ++count; + } + STBRP_ASSERT(count == context->num_nodes+2); + } +#endif + + return res; +} + +static int STBRP__CDECL rect_height_compare(const void *a, const void *b) +{ + const stbrp_rect *p = (const stbrp_rect *) a; + const stbrp_rect *q = (const stbrp_rect *) b; + if (p->h > q->h) + return -1; + if (p->h < q->h) + return 1; + return (p->w > q->w) ? -1 : (p->w < q->w); +} + +static int STBRP__CDECL rect_original_order(const void *a, const void *b) +{ + const stbrp_rect *p = (const stbrp_rect *) a; + const stbrp_rect *q = (const stbrp_rect *) b; + return (p->was_packed < q->was_packed) ? -1 : (p->was_packed > q->was_packed); +} + +STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects) +{ + int i, all_rects_packed = 1; + + // we use the 'was_packed' field internally to allow sorting/unsorting + for (i=0; i < num_rects; ++i) { + rects[i].was_packed = i; + } + + // sort according to heuristic + STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_height_compare); + + for (i=0; i < num_rects; ++i) { + if (rects[i].w == 0 || rects[i].h == 0) { + rects[i].x = rects[i].y = 0; // empty rect needs no space + } else { + stbrp__findresult fr = stbrp__skyline_pack_rectangle(context, rects[i].w, rects[i].h); + if (fr.prev_link) { + rects[i].x = (stbrp_coord) fr.x; + rects[i].y = (stbrp_coord) fr.y; + } else { + rects[i].x = rects[i].y = STBRP__MAXVAL; + } + } + } + + // unsort + STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_original_order); + + // set was_packed flags and all_rects_packed status + for (i=0; i < num_rects; ++i) { + rects[i].was_packed = !(rects[i].x == STBRP__MAXVAL && rects[i].y == STBRP__MAXVAL); + if (!rects[i].was_packed) + all_rects_packed = 0; + } + + // return the all_rects_packed status + return all_rects_packed; +} +#endif + +/* +------------------------------------------------------------------------------ +This software is available under 2 licenses -- choose whichever you prefer. +------------------------------------------------------------------------------ +ALTERNATIVE A - MIT License +Copyright (c) 2017 Sean Barrett +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ +ALTERNATIVE B - Public Domain (www.unlicense.org) +This is free and unencumbered software released into the public domain. +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this +software, either in source code form or as a compiled binary, for any purpose, +commercial or non-commercial, and by any means. +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and to +the detriment of our heirs and successors. We intend this dedication to be an +overt act of relinquishment in perpetuity of all present and future rights to +this software under copyright law. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------------------------------------------------------------------------------ +*/ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_textedit.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_textedit.h new file mode 100644 index 0000000..b7a761c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_textedit.h @@ -0,0 +1,1469 @@ +// [DEAR IMGUI] +// This is a slightly modified version of stb_textedit.h 1.14. +// Those changes would need to be pushed into nothings/stb: +// - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321) +// - Fix in stb_textedit_find_charpos to handle last line (see https://github.com/ocornut/imgui/issues/6000 + #6783) +// - Added name to struct or it may be forward declared in our code. +// - Added UTF-8 support (see https://github.com/nothings/stb/issues/188 + https://github.com/ocornut/imgui/pull/7925) +// Grep for [DEAR IMGUI] to find the changes. +// - Also renamed macros used or defined outside of IMSTB_TEXTEDIT_IMPLEMENTATION block from STB_TEXTEDIT_* to IMSTB_TEXTEDIT_* + +// stb_textedit.h - v1.14 - public domain - Sean Barrett +// Development of this library was sponsored by RAD Game Tools +// +// This C header file implements the guts of a multi-line text-editing +// widget; you implement display, word-wrapping, and low-level string +// insertion/deletion, and stb_textedit will map user inputs into +// insertions & deletions, plus updates to the cursor position, +// selection state, and undo state. +// +// It is intended for use in games and other systems that need to build +// their own custom widgets and which do not have heavy text-editing +// requirements (this library is not recommended for use for editing large +// texts, as its performance does not scale and it has limited undo). +// +// Non-trivial behaviors are modelled after Windows text controls. +// +// +// LICENSE +// +// See end of file for license information. +// +// +// DEPENDENCIES +// +// Uses the C runtime function 'memmove', which you can override +// by defining IMSTB_TEXTEDIT_memmove before the implementation. +// Uses no other functions. Performs no runtime allocations. +// +// +// VERSION HISTORY +// +// 1.14 (2021-07-11) page up/down, various fixes +// 1.13 (2019-02-07) fix bug in undo size management +// 1.12 (2018-01-29) user can change STB_TEXTEDIT_KEYTYPE, fix redo to avoid crash +// 1.11 (2017-03-03) fix HOME on last line, dragging off single-line textfield +// 1.10 (2016-10-25) suppress warnings about casting away const with -Wcast-qual +// 1.9 (2016-08-27) customizable move-by-word +// 1.8 (2016-04-02) better keyboard handling when mouse button is down +// 1.7 (2015-09-13) change y range handling in case baseline is non-0 +// 1.6 (2015-04-15) allow STB_TEXTEDIT_memmove +// 1.5 (2014-09-10) add support for secondary keys for OS X +// 1.4 (2014-08-17) fix signed/unsigned warnings +// 1.3 (2014-06-19) fix mouse clicking to round to nearest char boundary +// 1.2 (2014-05-27) fix some RAD types that had crept into the new code +// 1.1 (2013-12-15) move-by-word (requires STB_TEXTEDIT_IS_SPACE ) +// 1.0 (2012-07-26) improve documentation, initial public release +// 0.3 (2012-02-24) bugfixes, single-line mode; insert mode +// 0.2 (2011-11-28) fixes to undo/redo +// 0.1 (2010-07-08) initial version +// +// ADDITIONAL CONTRIBUTORS +// +// Ulf Winklemann: move-by-word in 1.1 +// Fabian Giesen: secondary key inputs in 1.5 +// Martins Mozeiko: STB_TEXTEDIT_memmove in 1.6 +// Louis Schnellbach: page up/down in 1.14 +// +// Bugfixes: +// Scott Graham +// Daniel Keller +// Omar Cornut +// Dan Thompson +// +// USAGE +// +// This file behaves differently depending on what symbols you define +// before including it. +// +// +// Header-file mode: +// +// If you do not define STB_TEXTEDIT_IMPLEMENTATION before including this, +// it will operate in "header file" mode. In this mode, it declares a +// single public symbol, STB_TexteditState, which encapsulates the current +// state of a text widget (except for the string, which you will store +// separately). +// +// To compile in this mode, you must define STB_TEXTEDIT_CHARTYPE to a +// primitive type that defines a single character (e.g. char, wchar_t, etc). +// +// To save space or increase undo-ability, you can optionally define the +// following things that are used by the undo system: +// +// STB_TEXTEDIT_POSITIONTYPE small int type encoding a valid cursor position +// STB_TEXTEDIT_UNDOSTATECOUNT the number of undo states to allow +// STB_TEXTEDIT_UNDOCHARCOUNT the number of characters to store in the undo buffer +// +// If you don't define these, they are set to permissive types and +// moderate sizes. The undo system does no memory allocations, so +// it grows STB_TexteditState by the worst-case storage which is (in bytes): +// +// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATECOUNT +// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHARCOUNT +// +// +// Implementation mode: +// +// If you define STB_TEXTEDIT_IMPLEMENTATION before including this, it +// will compile the implementation of the text edit widget, depending +// on a large number of symbols which must be defined before the include. +// +// The implementation is defined only as static functions. You will then +// need to provide your own APIs in the same file which will access the +// static functions. +// +// The basic concept is that you provide a "string" object which +// behaves like an array of characters. stb_textedit uses indices to +// refer to positions in the string, implicitly representing positions +// in the displayed textedit. This is true for both plain text and +// rich text; even with rich text stb_truetype interacts with your +// code as if there was an array of all the displayed characters. +// +// Symbols that must be the same in header-file and implementation mode: +// +// STB_TEXTEDIT_CHARTYPE the character type +// STB_TEXTEDIT_POSITIONTYPE small type that is a valid cursor position +// STB_TEXTEDIT_UNDOSTATECOUNT the number of undo states to allow +// STB_TEXTEDIT_UNDOCHARCOUNT the number of characters to store in the undo buffer +// +// Symbols you must define for implementation mode: +// +// STB_TEXTEDIT_STRING the type of object representing a string being edited, +// typically this is a wrapper object with other data you need +// +// STB_TEXTEDIT_STRINGLEN(obj) the length of the string (ideally O(1)) +// STB_TEXTEDIT_LAYOUTROW(&r,obj,n) returns the results of laying out a line of characters +// starting from character #n (see discussion below) +// STB_TEXTEDIT_GETWIDTH(obj,n,i) returns the pixel delta from the xpos of the i'th character +// to the xpos of the i+1'th char for a line of characters +// starting at character #n (i.e. accounts for kerning +// with previous char) +// STB_TEXTEDIT_KEYTOTEXT(k) maps a keyboard input to an insertable character +// (return type is int, -1 means not valid to insert) +// STB_TEXTEDIT_GETCHAR(obj,i) returns the i'th character of obj, 0-based +// STB_TEXTEDIT_NEWLINE the character returned by _GETCHAR() we recognize +// as manually wordwrapping for end-of-line positioning +// +// STB_TEXTEDIT_DELETECHARS(obj,i,n) delete n characters starting at i +// STB_TEXTEDIT_INSERTCHARS(obj,i,c*,n) insert n characters at i (pointed to by STB_TEXTEDIT_CHARTYPE*) +// +// STB_TEXTEDIT_K_SHIFT a power of two that is or'd in to a keyboard input to represent the shift key +// +// STB_TEXTEDIT_K_LEFT keyboard input to move cursor left +// STB_TEXTEDIT_K_RIGHT keyboard input to move cursor right +// STB_TEXTEDIT_K_UP keyboard input to move cursor up +// STB_TEXTEDIT_K_DOWN keyboard input to move cursor down +// STB_TEXTEDIT_K_PGUP keyboard input to move cursor up a page +// STB_TEXTEDIT_K_PGDOWN keyboard input to move cursor down a page +// STB_TEXTEDIT_K_LINESTART keyboard input to move cursor to start of line // e.g. HOME +// STB_TEXTEDIT_K_LINEEND keyboard input to move cursor to end of line // e.g. END +// STB_TEXTEDIT_K_TEXTSTART keyboard input to move cursor to start of text // e.g. ctrl-HOME +// STB_TEXTEDIT_K_TEXTEND keyboard input to move cursor to end of text // e.g. ctrl-END +// STB_TEXTEDIT_K_DELETE keyboard input to delete selection or character under cursor +// STB_TEXTEDIT_K_BACKSPACE keyboard input to delete selection or character left of cursor +// STB_TEXTEDIT_K_UNDO keyboard input to perform undo +// STB_TEXTEDIT_K_REDO keyboard input to perform redo +// +// Optional: +// STB_TEXTEDIT_K_INSERT keyboard input to toggle insert mode +// STB_TEXTEDIT_IS_SPACE(ch) true if character is whitespace (e.g. 'isspace'), +// required for default WORDLEFT/WORDRIGHT handlers +// STB_TEXTEDIT_MOVEWORDLEFT(obj,i) custom handler for WORDLEFT, returns index to move cursor to +// STB_TEXTEDIT_MOVEWORDRIGHT(obj,i) custom handler for WORDRIGHT, returns index to move cursor to +// STB_TEXTEDIT_K_WORDLEFT keyboard input to move cursor left one word // e.g. ctrl-LEFT +// STB_TEXTEDIT_K_WORDRIGHT keyboard input to move cursor right one word // e.g. ctrl-RIGHT +// STB_TEXTEDIT_K_LINESTART2 secondary keyboard input to move cursor to start of line +// STB_TEXTEDIT_K_LINEEND2 secondary keyboard input to move cursor to end of line +// STB_TEXTEDIT_K_TEXTSTART2 secondary keyboard input to move cursor to start of text +// STB_TEXTEDIT_K_TEXTEND2 secondary keyboard input to move cursor to end of text +// +// Keyboard input must be encoded as a single integer value; e.g. a character code +// and some bitflags that represent shift states. to simplify the interface, SHIFT must +// be a bitflag, so we can test the shifted state of cursor movements to allow selection, +// i.e. (STB_TEXTEDIT_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow. +// +// You can encode other things, such as CONTROL or ALT, in additional bits, and +// then test for their presence in e.g. STB_TEXTEDIT_K_WORDLEFT. For example, +// my Windows implementations add an additional CONTROL bit, and an additional KEYDOWN +// bit. Then all of the STB_TEXTEDIT_K_ values bitwise-or in the KEYDOWN bit, +// and I pass both WM_KEYDOWN and WM_CHAR events to the "key" function in the +// API below. The control keys will only match WM_KEYDOWN events because of the +// keydown bit I add, and STB_TEXTEDIT_KEYTOTEXT only tests for the KEYDOWN +// bit so it only decodes WM_CHAR events. +// +// STB_TEXTEDIT_LAYOUTROW returns information about the shape of one displayed +// row of characters assuming they start on the i'th character--the width and +// the height and the number of characters consumed. This allows this library +// to traverse the entire layout incrementally. You need to compute word-wrapping +// here. +// +// Each textfield keeps its own insert mode state, which is not how normal +// applications work. To keep an app-wide insert mode, update/copy the +// "insert_mode" field of STB_TexteditState before/after calling API functions. +// +// API +// +// void stb_textedit_initialize_state(STB_TexteditState *state, int is_single_line) +// +// void stb_textedit_click(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) +// void stb_textedit_drag(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) +// int stb_textedit_cut(STB_TEXTEDIT_STRING *str, STB_TexteditState *state) +// int stb_textedit_paste(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len) +// void stb_textedit_key(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXEDIT_KEYTYPE key) +// void stb_textedit_text(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int text_len) +// +// Each of these functions potentially updates the string and updates the +// state. +// +// initialize_state: +// set the textedit state to a known good default state when initially +// constructing the textedit. +// +// click: +// call this with the mouse x,y on a mouse down; it will update the cursor +// and reset the selection start/end to the cursor point. the x,y must +// be relative to the text widget, with (0,0) being the top left. +// +// drag: +// call this with the mouse x,y on a mouse drag/up; it will update the +// cursor and the selection end point +// +// cut: +// call this to delete the current selection; returns true if there was +// one. you should FIRST copy the current selection to the system paste buffer. +// (To copy, just copy the current selection out of the string yourself.) +// +// paste: +// call this to paste text at the current cursor point or over the current +// selection if there is one. +// +// key: +// call this for keyboard inputs sent to the textfield. you can use it +// for "key down" events or for "translated" key events. if you need to +// do both (as in Win32), or distinguish Unicode characters from control +// inputs, set a high bit to distinguish the two; then you can define the +// various definitions like STB_TEXTEDIT_K_LEFT have the is-key-event bit +// set, and make STB_TEXTEDIT_KEYTOCHAR check that the is-key-event bit is +// clear. STB_TEXTEDIT_KEYTYPE defaults to int, but you can #define it to +// anything other type you want before including. +// if the STB_TEXTEDIT_KEYTOTEXT function is defined, selected keys are +// transformed into text and stb_textedit_text() is automatically called. +// +// text: [DEAR IMGUI] added 2024-09 +// call this to text inputs sent to the textfield. +// +// +// When rendering, you can read the cursor position and selection state from +// the STB_TexteditState. +// +// +// Notes: +// +// This is designed to be usable in IMGUI, so it allows for the possibility of +// running in an IMGUI that has NOT cached the multi-line layout. For this +// reason, it provides an interface that is compatible with computing the +// layout incrementally--we try to make sure we make as few passes through +// as possible. (For example, to locate the mouse pointer in the text, we +// could define functions that return the X and Y positions of characters +// and binary search Y and then X, but if we're doing dynamic layout this +// will run the layout algorithm many times, so instead we manually search +// forward in one pass. Similar logic applies to e.g. up-arrow and +// down-arrow movement.) +// +// If it's run in a widget that *has* cached the layout, then this is less +// efficient, but it's not horrible on modern computers. But you wouldn't +// want to edit million-line files with it. + + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//// +//// Header-file mode +//// +//// + +#ifndef INCLUDE_IMSTB_TEXTEDIT_H +#define INCLUDE_IMSTB_TEXTEDIT_H + +//////////////////////////////////////////////////////////////////////// +// +// STB_TexteditState +// +// Definition of STB_TexteditState which you should store +// per-textfield; it includes cursor position, selection state, +// and undo state. +// + +#ifndef IMSTB_TEXTEDIT_UNDOSTATECOUNT +#define IMSTB_TEXTEDIT_UNDOSTATECOUNT 99 +#endif +#ifndef IMSTB_TEXTEDIT_UNDOCHARCOUNT +#define IMSTB_TEXTEDIT_UNDOCHARCOUNT 999 +#endif +#ifndef IMSTB_TEXTEDIT_CHARTYPE +#define IMSTB_TEXTEDIT_CHARTYPE int +#endif +#ifndef IMSTB_TEXTEDIT_POSITIONTYPE +#define IMSTB_TEXTEDIT_POSITIONTYPE int +#endif + +typedef struct +{ + // private data + IMSTB_TEXTEDIT_POSITIONTYPE where; + IMSTB_TEXTEDIT_POSITIONTYPE insert_length; + IMSTB_TEXTEDIT_POSITIONTYPE delete_length; + int char_storage; +} StbUndoRecord; + +typedef struct +{ + // private data + StbUndoRecord undo_rec [IMSTB_TEXTEDIT_UNDOSTATECOUNT]; + IMSTB_TEXTEDIT_CHARTYPE undo_char[IMSTB_TEXTEDIT_UNDOCHARCOUNT]; + short undo_point, redo_point; + int undo_char_point, redo_char_point; +} StbUndoState; + +typedef struct STB_TexteditState +{ + ///////////////////// + // + // public data + // + + int cursor; + // position of the text cursor within the string + + int select_start; // selection start point + int select_end; + // selection start and end point in characters; if equal, no selection. + // note that start may be less than or greater than end (e.g. when + // dragging the mouse, start is where the initial click was, and you + // can drag in either direction) + + unsigned char insert_mode; + // each textfield keeps its own insert mode state. to keep an app-wide + // insert mode, copy this value in/out of the app state + + int row_count_per_page; + // page size in number of row. + // this value MUST be set to >0 for pageup or pagedown in multilines documents. + + ///////////////////// + // + // private data + // + unsigned char cursor_at_end_of_line; // not implemented yet + unsigned char initialized; + unsigned char has_preferred_x; + unsigned char single_line; + unsigned char padding1, padding2, padding3; + float preferred_x; // this determines where the cursor up/down tries to seek to along x + StbUndoState undostate; +} STB_TexteditState; + + +//////////////////////////////////////////////////////////////////////// +// +// StbTexteditRow +// +// Result of layout query, used by stb_textedit to determine where +// the text in each row is. + +// result of layout query +typedef struct +{ + float x0,x1; // starting x location, end x location (allows for align=right, etc) + float baseline_y_delta; // position of baseline relative to previous row's baseline + float ymin,ymax; // height of row above and below baseline + int num_chars; +} StbTexteditRow; +#endif //INCLUDE_IMSTB_TEXTEDIT_H + + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//// +//// Implementation mode +//// +//// + + +// implementation isn't include-guarded, since it might have indirectly +// included just the "header" portion +#ifdef IMSTB_TEXTEDIT_IMPLEMENTATION + +#ifndef IMSTB_TEXTEDIT_memmove +#include +#define IMSTB_TEXTEDIT_memmove memmove +#endif + + +///////////////////////////////////////////////////////////////////////////// +// +// Mouse input handling +// + +// traverse the layout to locate the nearest character to a display position +static int stb_text_locate_coord(IMSTB_TEXTEDIT_STRING *str, float x, float y) +{ + StbTexteditRow r; + int n = STB_TEXTEDIT_STRINGLEN(str); + float base_y = 0, prev_x; + int i=0, k; + + r.x0 = r.x1 = 0; + r.ymin = r.ymax = 0; + r.num_chars = 0; + + // search rows to find one that straddles 'y' + while (i < n) { + STB_TEXTEDIT_LAYOUTROW(&r, str, i); + if (r.num_chars <= 0) + return n; + + if (i==0 && y < base_y + r.ymin) + return 0; + + if (y < base_y + r.ymax) + break; + + i += r.num_chars; + base_y += r.baseline_y_delta; + } + + // below all text, return 'after' last character + if (i >= n) + return n; + + // check if it's before the beginning of the line + if (x < r.x0) + return i; + + // check if it's before the end of the line + if (x < r.x1) { + // search characters in row for one that straddles 'x' + prev_x = r.x0; + for (k=0; k < r.num_chars; k = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, i + k) - i) { + float w = STB_TEXTEDIT_GETWIDTH(str, i, k); + if (x < prev_x+w) { + if (x < prev_x+w/2) + return k+i; + else + return IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, i + k); + } + prev_x += w; + } + // shouldn't happen, but if it does, fall through to end-of-line case + } + + // if the last character is a newline, return that. otherwise return 'after' the last character + if (STB_TEXTEDIT_GETCHAR(str, i+r.num_chars-1) == STB_TEXTEDIT_NEWLINE) + return i+r.num_chars-1; + else + return i+r.num_chars; +} + +// API click: on mouse down, move the cursor to the clicked location, and reset the selection +static void stb_textedit_click(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) +{ + // In single-line mode, just always make y = 0. This lets the drag keep working if the mouse + // goes off the top or bottom of the text + if( state->single_line ) + { + StbTexteditRow r; + STB_TEXTEDIT_LAYOUTROW(&r, str, 0); + y = r.ymin; + } + + state->cursor = stb_text_locate_coord(str, x, y); + state->select_start = state->cursor; + state->select_end = state->cursor; + state->has_preferred_x = 0; +} + +// API drag: on mouse drag, move the cursor and selection endpoint to the clicked location +static void stb_textedit_drag(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) +{ + int p = 0; + + // In single-line mode, just always make y = 0. This lets the drag keep working if the mouse + // goes off the top or bottom of the text + if( state->single_line ) + { + StbTexteditRow r; + STB_TEXTEDIT_LAYOUTROW(&r, str, 0); + y = r.ymin; + } + + if (state->select_start == state->select_end) + state->select_start = state->cursor; + + p = stb_text_locate_coord(str, x, y); + state->cursor = state->select_end = p; +} + +///////////////////////////////////////////////////////////////////////////// +// +// Keyboard input handling +// + +// forward declarations +static void stb_text_undo(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state); +static void stb_text_redo(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state); +static void stb_text_makeundo_delete(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int length); +static void stb_text_makeundo_insert(STB_TexteditState *state, int where, int length); +static void stb_text_makeundo_replace(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length); + +typedef struct +{ + float x,y; // position of n'th character + float height; // height of line + int first_char, length; // first char of row, and length + int prev_first; // first char of previous row +} StbFindState; + +// find the x/y location of a character, and remember info about the previous row in +// case we get a move-up event (for page up, we'll have to rescan) +static void stb_textedit_find_charpos(StbFindState *find, IMSTB_TEXTEDIT_STRING *str, int n, int single_line) +{ + StbTexteditRow r; + int prev_start = 0; + int z = STB_TEXTEDIT_STRINGLEN(str); + int i=0, first; + + if (n == z && single_line) { + // special case if it's at the end (may not be needed?) + STB_TEXTEDIT_LAYOUTROW(&r, str, 0); + find->y = 0; + find->first_char = 0; + find->length = z; + find->height = r.ymax - r.ymin; + find->x = r.x1; + return; + } + + // search rows to find the one that straddles character n + find->y = 0; + + for(;;) { + STB_TEXTEDIT_LAYOUTROW(&r, str, i); + if (n < i + r.num_chars) + break; + if (i + r.num_chars == z && z > 0 && STB_TEXTEDIT_GETCHAR(str, z - 1) != STB_TEXTEDIT_NEWLINE) // [DEAR IMGUI] special handling for last line + break; // [DEAR IMGUI] + prev_start = i; + i += r.num_chars; + find->y += r.baseline_y_delta; + if (i == z) // [DEAR IMGUI] + { + r.num_chars = 0; // [DEAR IMGUI] + break; // [DEAR IMGUI] + } + } + + find->first_char = first = i; + find->length = r.num_chars; + find->height = r.ymax - r.ymin; + find->prev_first = prev_start; + + // now scan to find xpos + find->x = r.x0; + for (i=0; first+i < n; i = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, first + i) - first) + find->x += STB_TEXTEDIT_GETWIDTH(str, first, i); +} + +#define STB_TEXT_HAS_SELECTION(s) ((s)->select_start != (s)->select_end) + +// make the selection/cursor state valid if client altered the string +static void stb_textedit_clamp(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + int n = STB_TEXTEDIT_STRINGLEN(str); + if (STB_TEXT_HAS_SELECTION(state)) { + if (state->select_start > n) state->select_start = n; + if (state->select_end > n) state->select_end = n; + // if clamping forced them to be equal, move the cursor to match + if (state->select_start == state->select_end) + state->cursor = state->select_start; + } + if (state->cursor > n) state->cursor = n; +} + +// delete characters while updating undo +static void stb_textedit_delete(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int len) +{ + stb_text_makeundo_delete(str, state, where, len); + STB_TEXTEDIT_DELETECHARS(str, where, len); + state->has_preferred_x = 0; +} + +// delete the section +static void stb_textedit_delete_selection(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + stb_textedit_clamp(str, state); + if (STB_TEXT_HAS_SELECTION(state)) { + if (state->select_start < state->select_end) { + stb_textedit_delete(str, state, state->select_start, state->select_end - state->select_start); + state->select_end = state->cursor = state->select_start; + } else { + stb_textedit_delete(str, state, state->select_end, state->select_start - state->select_end); + state->select_start = state->cursor = state->select_end; + } + state->has_preferred_x = 0; + } +} + +// canoncialize the selection so start <= end +static void stb_textedit_sortselection(STB_TexteditState *state) +{ + if (state->select_end < state->select_start) { + int temp = state->select_end; + state->select_end = state->select_start; + state->select_start = temp; + } +} + +// move cursor to first character of selection +static void stb_textedit_move_to_first(STB_TexteditState *state) +{ + if (STB_TEXT_HAS_SELECTION(state)) { + stb_textedit_sortselection(state); + state->cursor = state->select_start; + state->select_end = state->select_start; + state->has_preferred_x = 0; + } +} + +// move cursor to last character of selection +static void stb_textedit_move_to_last(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + if (STB_TEXT_HAS_SELECTION(state)) { + stb_textedit_sortselection(state); + stb_textedit_clamp(str, state); + state->cursor = state->select_end; + state->select_start = state->select_end; + state->has_preferred_x = 0; + } +} + +// [DEAR IMGUI] +// Functions must be implemented for UTF8 support +// Code in this file that uses those functions is modified for [DEAR IMGUI] and deviates from the original stb_textedit. +// There is not necessarily a '[DEAR IMGUI]' at the usage sites. +#ifndef IMSTB_TEXTEDIT_GETPREVCHARINDEX +#define IMSTB_TEXTEDIT_GETPREVCHARINDEX(obj, idx) (idx - 1) +#endif +#ifndef IMSTB_TEXTEDIT_GETNEXTCHARINDEX +#define IMSTB_TEXTEDIT_GETNEXTCHARINDEX(obj, idx) (idx + 1) +#endif + +#ifdef STB_TEXTEDIT_IS_SPACE +static int is_word_boundary( IMSTB_TEXTEDIT_STRING *str, int idx ) +{ + return idx > 0 ? (STB_TEXTEDIT_IS_SPACE( STB_TEXTEDIT_GETCHAR(str,idx-1) ) && !STB_TEXTEDIT_IS_SPACE( STB_TEXTEDIT_GETCHAR(str, idx) ) ) : 1; +} + +#ifndef STB_TEXTEDIT_MOVEWORDLEFT +static int stb_textedit_move_to_word_previous( IMSTB_TEXTEDIT_STRING *str, int c ) +{ + --c; // always move at least one character + while( c >= 0 && !is_word_boundary( str, c ) ) + --c; + + if( c < 0 ) + c = 0; + + return c; +} +#define STB_TEXTEDIT_MOVEWORDLEFT stb_textedit_move_to_word_previous +#endif + +#ifndef STB_TEXTEDIT_MOVEWORDRIGHT +static int stb_textedit_move_to_word_next( IMSTB_TEXTEDIT_STRING *str, int c ) +{ + const int len = STB_TEXTEDIT_STRINGLEN(str); + ++c; // always move at least one character + while( c < len && !is_word_boundary( str, c ) ) + ++c; + + if( c > len ) + c = len; + + return c; +} +#define STB_TEXTEDIT_MOVEWORDRIGHT stb_textedit_move_to_word_next +#endif + +#endif + +// update selection and cursor to match each other +static void stb_textedit_prep_selection_at_cursor(STB_TexteditState *state) +{ + if (!STB_TEXT_HAS_SELECTION(state)) + state->select_start = state->select_end = state->cursor; + else + state->cursor = state->select_end; +} + +// API cut: delete selection +static int stb_textedit_cut(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + if (STB_TEXT_HAS_SELECTION(state)) { + stb_textedit_delete_selection(str,state); // implicitly clamps + state->has_preferred_x = 0; + return 1; + } + return 0; +} + +// API paste: replace existing selection with passed-in text +static int stb_textedit_paste_internal(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, IMSTB_TEXTEDIT_CHARTYPE *text, int len) +{ + // if there's a selection, the paste should delete it + stb_textedit_clamp(str, state); + stb_textedit_delete_selection(str,state); + // try to insert the characters + if (STB_TEXTEDIT_INSERTCHARS(str, state->cursor, text, len)) { + stb_text_makeundo_insert(state, state->cursor, len); + state->cursor += len; + state->has_preferred_x = 0; + return 1; + } + // note: paste failure will leave deleted selection, may be restored with an undo (see https://github.com/nothings/stb/issues/734 for details) + return 0; +} + +#ifndef STB_TEXTEDIT_KEYTYPE +#define STB_TEXTEDIT_KEYTYPE int +#endif + +// [DEAR IMGUI] Added stb_textedit_text(), extracted out and called by stb_textedit_key() for backward compatibility. +static void stb_textedit_text(IMSTB_TEXTEDIT_STRING* str, STB_TexteditState* state, const IMSTB_TEXTEDIT_CHARTYPE* text, int text_len) +{ + // can't add newline in single-line mode + if (text[0] == '\n' && state->single_line) + return; + + if (state->insert_mode && !STB_TEXT_HAS_SELECTION(state) && state->cursor < STB_TEXTEDIT_STRINGLEN(str)) { + stb_text_makeundo_replace(str, state, state->cursor, 1, 1); + STB_TEXTEDIT_DELETECHARS(str, state->cursor, 1); + if (STB_TEXTEDIT_INSERTCHARS(str, state->cursor, text, text_len)) { + state->cursor += text_len; + state->has_preferred_x = 0; + } + } + else { + stb_textedit_delete_selection(str, state); // implicitly clamps + if (STB_TEXTEDIT_INSERTCHARS(str, state->cursor, text, text_len)) { + stb_text_makeundo_insert(state, state->cursor, text_len); + state->cursor += text_len; + state->has_preferred_x = 0; + } + } +} + +// API key: process a keyboard input +static void stb_textedit_key(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_KEYTYPE key) +{ +retry: + switch (key) { + default: { +#ifdef STB_TEXTEDIT_KEYTOTEXT + int c = STB_TEXTEDIT_KEYTOTEXT(key); + if (c > 0) { + IMSTB_TEXTEDIT_CHARTYPE ch = (IMSTB_TEXTEDIT_CHARTYPE)c; + stb_textedit_text(str, state, &ch, 1); + } +#endif + break; + } + +#ifdef STB_TEXTEDIT_K_INSERT + case STB_TEXTEDIT_K_INSERT: + state->insert_mode = !state->insert_mode; + break; +#endif + + case STB_TEXTEDIT_K_UNDO: + stb_text_undo(str, state); + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_REDO: + stb_text_redo(str, state); + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_LEFT: + // if currently there's a selection, move cursor to start of selection + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_first(state); + else + if (state->cursor > 0) + state->cursor = IMSTB_TEXTEDIT_GETPREVCHARINDEX(str, state->cursor); + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_RIGHT: + // if currently there's a selection, move cursor to end of selection + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_last(str, state); + else + state->cursor = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, state->cursor); + stb_textedit_clamp(str, state); + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_LEFT | STB_TEXTEDIT_K_SHIFT: + stb_textedit_clamp(str, state); + stb_textedit_prep_selection_at_cursor(state); + // move selection left + if (state->select_end > 0) + state->select_end = IMSTB_TEXTEDIT_GETPREVCHARINDEX(str, state->select_end); + state->cursor = state->select_end; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_MOVEWORDLEFT + case STB_TEXTEDIT_K_WORDLEFT: + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_first(state); + else { + state->cursor = STB_TEXTEDIT_MOVEWORDLEFT(str, state->cursor); + stb_textedit_clamp( str, state ); + } + break; + + case STB_TEXTEDIT_K_WORDLEFT | STB_TEXTEDIT_K_SHIFT: + if( !STB_TEXT_HAS_SELECTION( state ) ) + stb_textedit_prep_selection_at_cursor(state); + + state->cursor = STB_TEXTEDIT_MOVEWORDLEFT(str, state->cursor); + state->select_end = state->cursor; + + stb_textedit_clamp( str, state ); + break; +#endif + +#ifdef STB_TEXTEDIT_MOVEWORDRIGHT + case STB_TEXTEDIT_K_WORDRIGHT: + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_last(str, state); + else { + state->cursor = STB_TEXTEDIT_MOVEWORDRIGHT(str, state->cursor); + stb_textedit_clamp( str, state ); + } + break; + + case STB_TEXTEDIT_K_WORDRIGHT | STB_TEXTEDIT_K_SHIFT: + if( !STB_TEXT_HAS_SELECTION( state ) ) + stb_textedit_prep_selection_at_cursor(state); + + state->cursor = STB_TEXTEDIT_MOVEWORDRIGHT(str, state->cursor); + state->select_end = state->cursor; + + stb_textedit_clamp( str, state ); + break; +#endif + + case STB_TEXTEDIT_K_RIGHT | STB_TEXTEDIT_K_SHIFT: + stb_textedit_prep_selection_at_cursor(state); + // move selection right + state->select_end = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, state->select_end); + stb_textedit_clamp(str, state); + state->cursor = state->select_end; + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_DOWN: + case STB_TEXTEDIT_K_DOWN | STB_TEXTEDIT_K_SHIFT: + case STB_TEXTEDIT_K_PGDOWN: + case STB_TEXTEDIT_K_PGDOWN | STB_TEXTEDIT_K_SHIFT: { + StbFindState find; + StbTexteditRow row; + int i, j, sel = (key & STB_TEXTEDIT_K_SHIFT) != 0; + int is_page = (key & ~STB_TEXTEDIT_K_SHIFT) == STB_TEXTEDIT_K_PGDOWN; + int row_count = is_page ? state->row_count_per_page : 1; + + if (!is_page && state->single_line) { + // on windows, up&down in single-line behave like left&right + key = STB_TEXTEDIT_K_RIGHT | (key & STB_TEXTEDIT_K_SHIFT); + goto retry; + } + + if (sel) + stb_textedit_prep_selection_at_cursor(state); + else if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_last(str, state); + + // compute current position of cursor point + stb_textedit_clamp(str, state); + stb_textedit_find_charpos(&find, str, state->cursor, state->single_line); + + for (j = 0; j < row_count; ++j) { + float x, goal_x = state->has_preferred_x ? state->preferred_x : find.x; + int start = find.first_char + find.length; + + if (find.length == 0) + break; + + // [DEAR IMGUI] + // going down while being on the last line shouldn't bring us to that line end + if (STB_TEXTEDIT_GETCHAR(str, find.first_char + find.length - 1) != STB_TEXTEDIT_NEWLINE) + break; + + // now find character position down a row + state->cursor = start; + STB_TEXTEDIT_LAYOUTROW(&row, str, state->cursor); + x = row.x0; + for (i=0; i < row.num_chars; ++i) { + float dx = STB_TEXTEDIT_GETWIDTH(str, start, i); + #ifdef IMSTB_TEXTEDIT_GETWIDTH_NEWLINE + if (dx == IMSTB_TEXTEDIT_GETWIDTH_NEWLINE) + break; + #endif + x += dx; + if (x > goal_x) + break; + state->cursor = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, state->cursor); + } + stb_textedit_clamp(str, state); + + state->has_preferred_x = 1; + state->preferred_x = goal_x; + + if (sel) + state->select_end = state->cursor; + + // go to next line + find.first_char = find.first_char + find.length; + find.length = row.num_chars; + } + break; + } + + case STB_TEXTEDIT_K_UP: + case STB_TEXTEDIT_K_UP | STB_TEXTEDIT_K_SHIFT: + case STB_TEXTEDIT_K_PGUP: + case STB_TEXTEDIT_K_PGUP | STB_TEXTEDIT_K_SHIFT: { + StbFindState find; + StbTexteditRow row; + int i, j, prev_scan, sel = (key & STB_TEXTEDIT_K_SHIFT) != 0; + int is_page = (key & ~STB_TEXTEDIT_K_SHIFT) == STB_TEXTEDIT_K_PGUP; + int row_count = is_page ? state->row_count_per_page : 1; + + if (!is_page && state->single_line) { + // on windows, up&down become left&right + key = STB_TEXTEDIT_K_LEFT | (key & STB_TEXTEDIT_K_SHIFT); + goto retry; + } + + if (sel) + stb_textedit_prep_selection_at_cursor(state); + else if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_move_to_first(state); + + // compute current position of cursor point + stb_textedit_clamp(str, state); + stb_textedit_find_charpos(&find, str, state->cursor, state->single_line); + + for (j = 0; j < row_count; ++j) { + float x, goal_x = state->has_preferred_x ? state->preferred_x : find.x; + + // can only go up if there's a previous row + if (find.prev_first == find.first_char) + break; + + // now find character position up a row + state->cursor = find.prev_first; + STB_TEXTEDIT_LAYOUTROW(&row, str, state->cursor); + x = row.x0; + for (i=0; i < row.num_chars; ++i) { + float dx = STB_TEXTEDIT_GETWIDTH(str, find.prev_first, i); + #ifdef IMSTB_TEXTEDIT_GETWIDTH_NEWLINE + if (dx == IMSTB_TEXTEDIT_GETWIDTH_NEWLINE) + break; + #endif + x += dx; + if (x > goal_x) + break; + state->cursor = IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, state->cursor); + } + stb_textedit_clamp(str, state); + + state->has_preferred_x = 1; + state->preferred_x = goal_x; + + if (sel) + state->select_end = state->cursor; + + // go to previous line + // (we need to scan previous line the hard way. maybe we could expose this as a new API function?) + prev_scan = find.prev_first > 0 ? find.prev_first - 1 : 0; + while (prev_scan > 0 && STB_TEXTEDIT_GETCHAR(str, prev_scan - 1) != STB_TEXTEDIT_NEWLINE) + --prev_scan; + find.first_char = find.prev_first; + find.prev_first = prev_scan; + } + break; + } + + case STB_TEXTEDIT_K_DELETE: + case STB_TEXTEDIT_K_DELETE | STB_TEXTEDIT_K_SHIFT: + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_delete_selection(str, state); + else { + int n = STB_TEXTEDIT_STRINGLEN(str); + if (state->cursor < n) + stb_textedit_delete(str, state, state->cursor, IMSTB_TEXTEDIT_GETNEXTCHARINDEX(str, state->cursor) - state->cursor); + } + state->has_preferred_x = 0; + break; + + case STB_TEXTEDIT_K_BACKSPACE: + case STB_TEXTEDIT_K_BACKSPACE | STB_TEXTEDIT_K_SHIFT: + if (STB_TEXT_HAS_SELECTION(state)) + stb_textedit_delete_selection(str, state); + else { + stb_textedit_clamp(str, state); + if (state->cursor > 0) { + int prev = IMSTB_TEXTEDIT_GETPREVCHARINDEX(str, state->cursor); + stb_textedit_delete(str, state, prev, state->cursor - prev); + state->cursor = prev; + } + } + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_TEXTSTART2 + case STB_TEXTEDIT_K_TEXTSTART2: +#endif + case STB_TEXTEDIT_K_TEXTSTART: + state->cursor = state->select_start = state->select_end = 0; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_TEXTEND2 + case STB_TEXTEDIT_K_TEXTEND2: +#endif + case STB_TEXTEDIT_K_TEXTEND: + state->cursor = STB_TEXTEDIT_STRINGLEN(str); + state->select_start = state->select_end = 0; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_TEXTSTART2 + case STB_TEXTEDIT_K_TEXTSTART2 | STB_TEXTEDIT_K_SHIFT: +#endif + case STB_TEXTEDIT_K_TEXTSTART | STB_TEXTEDIT_K_SHIFT: + stb_textedit_prep_selection_at_cursor(state); + state->cursor = state->select_end = 0; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_TEXTEND2 + case STB_TEXTEDIT_K_TEXTEND2 | STB_TEXTEDIT_K_SHIFT: +#endif + case STB_TEXTEDIT_K_TEXTEND | STB_TEXTEDIT_K_SHIFT: + stb_textedit_prep_selection_at_cursor(state); + state->cursor = state->select_end = STB_TEXTEDIT_STRINGLEN(str); + state->has_preferred_x = 0; + break; + + +#ifdef STB_TEXTEDIT_K_LINESTART2 + case STB_TEXTEDIT_K_LINESTART2: +#endif + case STB_TEXTEDIT_K_LINESTART: + stb_textedit_clamp(str, state); + stb_textedit_move_to_first(state); + if (state->single_line) + state->cursor = 0; + else while (state->cursor > 0 && STB_TEXTEDIT_GETCHAR(str, state->cursor-1) != STB_TEXTEDIT_NEWLINE) + --state->cursor; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_LINEEND2 + case STB_TEXTEDIT_K_LINEEND2: +#endif + case STB_TEXTEDIT_K_LINEEND: { + int n = STB_TEXTEDIT_STRINGLEN(str); + stb_textedit_clamp(str, state); + stb_textedit_move_to_first(state); + if (state->single_line) + state->cursor = n; + else while (state->cursor < n && STB_TEXTEDIT_GETCHAR(str, state->cursor) != STB_TEXTEDIT_NEWLINE) + ++state->cursor; + state->has_preferred_x = 0; + break; + } + +#ifdef STB_TEXTEDIT_K_LINESTART2 + case STB_TEXTEDIT_K_LINESTART2 | STB_TEXTEDIT_K_SHIFT: +#endif + case STB_TEXTEDIT_K_LINESTART | STB_TEXTEDIT_K_SHIFT: + stb_textedit_clamp(str, state); + stb_textedit_prep_selection_at_cursor(state); + if (state->single_line) + state->cursor = 0; + else while (state->cursor > 0 && STB_TEXTEDIT_GETCHAR(str, state->cursor-1) != STB_TEXTEDIT_NEWLINE) + --state->cursor; + state->select_end = state->cursor; + state->has_preferred_x = 0; + break; + +#ifdef STB_TEXTEDIT_K_LINEEND2 + case STB_TEXTEDIT_K_LINEEND2 | STB_TEXTEDIT_K_SHIFT: +#endif + case STB_TEXTEDIT_K_LINEEND | STB_TEXTEDIT_K_SHIFT: { + int n = STB_TEXTEDIT_STRINGLEN(str); + stb_textedit_clamp(str, state); + stb_textedit_prep_selection_at_cursor(state); + if (state->single_line) + state->cursor = n; + else while (state->cursor < n && STB_TEXTEDIT_GETCHAR(str, state->cursor) != STB_TEXTEDIT_NEWLINE) + ++state->cursor; + state->select_end = state->cursor; + state->has_preferred_x = 0; + break; + } + } +} + +///////////////////////////////////////////////////////////////////////////// +// +// Undo processing +// +// @OPTIMIZE: the undo/redo buffer should be circular + +static void stb_textedit_flush_redo(StbUndoState *state) +{ + state->redo_point = IMSTB_TEXTEDIT_UNDOSTATECOUNT; + state->redo_char_point = IMSTB_TEXTEDIT_UNDOCHARCOUNT; +} + +// discard the oldest entry in the undo list +static void stb_textedit_discard_undo(StbUndoState *state) +{ + if (state->undo_point > 0) { + // if the 0th undo state has characters, clean those up + if (state->undo_rec[0].char_storage >= 0) { + int n = state->undo_rec[0].insert_length, i; + // delete n characters from all other records + state->undo_char_point -= n; + IMSTB_TEXTEDIT_memmove(state->undo_char, state->undo_char + n, (size_t) (state->undo_char_point*sizeof(IMSTB_TEXTEDIT_CHARTYPE))); + for (i=0; i < state->undo_point; ++i) + if (state->undo_rec[i].char_storage >= 0) + state->undo_rec[i].char_storage -= n; // @OPTIMIZE: get rid of char_storage and infer it + } + --state->undo_point; + IMSTB_TEXTEDIT_memmove(state->undo_rec, state->undo_rec+1, (size_t) (state->undo_point*sizeof(state->undo_rec[0]))); + } +} + +// discard the oldest entry in the redo list--it's bad if this +// ever happens, but because undo & redo have to store the actual +// characters in different cases, the redo character buffer can +// fill up even though the undo buffer didn't +static void stb_textedit_discard_redo(StbUndoState *state) +{ + int k = IMSTB_TEXTEDIT_UNDOSTATECOUNT-1; + + if (state->redo_point <= k) { + // if the k'th undo state has characters, clean those up + if (state->undo_rec[k].char_storage >= 0) { + int n = state->undo_rec[k].insert_length, i; + // move the remaining redo character data to the end of the buffer + state->redo_char_point += n; + IMSTB_TEXTEDIT_memmove(state->undo_char + state->redo_char_point, state->undo_char + state->redo_char_point-n, (size_t) ((IMSTB_TEXTEDIT_UNDOCHARCOUNT - state->redo_char_point)*sizeof(IMSTB_TEXTEDIT_CHARTYPE))); + // adjust the position of all the other records to account for above memmove + for (i=state->redo_point; i < k; ++i) + if (state->undo_rec[i].char_storage >= 0) + state->undo_rec[i].char_storage += n; + } + // now move all the redo records towards the end of the buffer; the first one is at 'redo_point' + // [DEAR IMGUI] + size_t move_size = (size_t)((IMSTB_TEXTEDIT_UNDOSTATECOUNT - state->redo_point - 1) * sizeof(state->undo_rec[0])); + const char* buf_begin = (char*)state->undo_rec; (void)buf_begin; + const char* buf_end = (char*)state->undo_rec + sizeof(state->undo_rec); (void)buf_end; + IM_ASSERT(((char*)(state->undo_rec + state->redo_point)) >= buf_begin); + IM_ASSERT(((char*)(state->undo_rec + state->redo_point + 1) + move_size) <= buf_end); + IMSTB_TEXTEDIT_memmove(state->undo_rec + state->redo_point+1, state->undo_rec + state->redo_point, move_size); + + // now move redo_point to point to the new one + ++state->redo_point; + } +} + +static StbUndoRecord *stb_text_create_undo_record(StbUndoState *state, int numchars) +{ + // any time we create a new undo record, we discard redo + stb_textedit_flush_redo(state); + + // if we have no free records, we have to make room, by sliding the + // existing records down + if (state->undo_point == IMSTB_TEXTEDIT_UNDOSTATECOUNT) + stb_textedit_discard_undo(state); + + // if the characters to store won't possibly fit in the buffer, we can't undo + if (numchars > IMSTB_TEXTEDIT_UNDOCHARCOUNT) { + state->undo_point = 0; + state->undo_char_point = 0; + return NULL; + } + + // if we don't have enough free characters in the buffer, we have to make room + while (state->undo_char_point + numchars > IMSTB_TEXTEDIT_UNDOCHARCOUNT) + stb_textedit_discard_undo(state); + + return &state->undo_rec[state->undo_point++]; +} + +static IMSTB_TEXTEDIT_CHARTYPE *stb_text_createundo(StbUndoState *state, int pos, int insert_len, int delete_len) +{ + StbUndoRecord *r = stb_text_create_undo_record(state, insert_len); + if (r == NULL) + return NULL; + + r->where = pos; + r->insert_length = (IMSTB_TEXTEDIT_POSITIONTYPE) insert_len; + r->delete_length = (IMSTB_TEXTEDIT_POSITIONTYPE) delete_len; + + if (insert_len == 0) { + r->char_storage = -1; + return NULL; + } else { + r->char_storage = state->undo_char_point; + state->undo_char_point += insert_len; + return &state->undo_char[r->char_storage]; + } +} + +static void stb_text_undo(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + StbUndoState *s = &state->undostate; + StbUndoRecord u, *r; + if (s->undo_point == 0) + return; + + // we need to do two things: apply the undo record, and create a redo record + u = s->undo_rec[s->undo_point-1]; + r = &s->undo_rec[s->redo_point-1]; + r->char_storage = -1; + + r->insert_length = u.delete_length; + r->delete_length = u.insert_length; + r->where = u.where; + + if (u.delete_length) { + // if the undo record says to delete characters, then the redo record will + // need to re-insert the characters that get deleted, so we need to store + // them. + + // there are three cases: + // there's enough room to store the characters + // characters stored for *redoing* don't leave room for redo + // characters stored for *undoing* don't leave room for redo + // if the last is true, we have to bail + + if (s->undo_char_point + u.delete_length >= IMSTB_TEXTEDIT_UNDOCHARCOUNT) { + // the undo records take up too much character space; there's no space to store the redo characters + r->insert_length = 0; + } else { + int i; + + // there's definitely room to store the characters eventually + while (s->undo_char_point + u.delete_length > s->redo_char_point) { + // should never happen: + if (s->redo_point == IMSTB_TEXTEDIT_UNDOSTATECOUNT) + return; + // there's currently not enough room, so discard a redo record + stb_textedit_discard_redo(s); + } + r = &s->undo_rec[s->redo_point-1]; + + r->char_storage = s->redo_char_point - u.delete_length; + s->redo_char_point = s->redo_char_point - u.delete_length; + + // now save the characters + for (i=0; i < u.delete_length; ++i) + s->undo_char[r->char_storage + i] = STB_TEXTEDIT_GETCHAR(str, u.where + i); + } + + // now we can carry out the deletion + STB_TEXTEDIT_DELETECHARS(str, u.where, u.delete_length); + } + + // check type of recorded action: + if (u.insert_length) { + // easy case: was a deletion, so we need to insert n characters + STB_TEXTEDIT_INSERTCHARS(str, u.where, &s->undo_char[u.char_storage], u.insert_length); + s->undo_char_point -= u.insert_length; + } + + state->cursor = u.where + u.insert_length; + + s->undo_point--; + s->redo_point--; +} + +static void stb_text_redo(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state) +{ + StbUndoState *s = &state->undostate; + StbUndoRecord *u, r; + if (s->redo_point == IMSTB_TEXTEDIT_UNDOSTATECOUNT) + return; + + // we need to do two things: apply the redo record, and create an undo record + u = &s->undo_rec[s->undo_point]; + r = s->undo_rec[s->redo_point]; + + // we KNOW there must be room for the undo record, because the redo record + // was derived from an undo record + + u->delete_length = r.insert_length; + u->insert_length = r.delete_length; + u->where = r.where; + u->char_storage = -1; + + if (r.delete_length) { + // the redo record requires us to delete characters, so the undo record + // needs to store the characters + + if (s->undo_char_point + u->insert_length > s->redo_char_point) { + u->insert_length = 0; + u->delete_length = 0; + } else { + int i; + u->char_storage = s->undo_char_point; + s->undo_char_point = s->undo_char_point + u->insert_length; + + // now save the characters + for (i=0; i < u->insert_length; ++i) + s->undo_char[u->char_storage + i] = STB_TEXTEDIT_GETCHAR(str, u->where + i); + } + + STB_TEXTEDIT_DELETECHARS(str, r.where, r.delete_length); + } + + if (r.insert_length) { + // easy case: need to insert n characters + STB_TEXTEDIT_INSERTCHARS(str, r.where, &s->undo_char[r.char_storage], r.insert_length); + s->redo_char_point += r.insert_length; + } + + state->cursor = r.where + r.insert_length; + + s->undo_point++; + s->redo_point++; +} + +static void stb_text_makeundo_insert(STB_TexteditState *state, int where, int length) +{ + stb_text_createundo(&state->undostate, where, 0, length); +} + +static void stb_text_makeundo_delete(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int length) +{ + int i; + IMSTB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, length, 0); + if (p) { + for (i=0; i < length; ++i) + p[i] = STB_TEXTEDIT_GETCHAR(str, where+i); + } +} + +static void stb_text_makeundo_replace(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) +{ + int i; + IMSTB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length); + if (p) { + for (i=0; i < old_length; ++i) + p[i] = STB_TEXTEDIT_GETCHAR(str, where+i); + } +} + +// reset the state to default +static void stb_textedit_clear_state(STB_TexteditState *state, int is_single_line) +{ + state->undostate.undo_point = 0; + state->undostate.undo_char_point = 0; + state->undostate.redo_point = IMSTB_TEXTEDIT_UNDOSTATECOUNT; + state->undostate.redo_char_point = IMSTB_TEXTEDIT_UNDOCHARCOUNT; + state->select_end = state->select_start = 0; + state->cursor = 0; + state->has_preferred_x = 0; + state->preferred_x = 0; + state->cursor_at_end_of_line = 0; + state->initialized = 1; + state->single_line = (unsigned char) is_single_line; + state->insert_mode = 0; + state->row_count_per_page = 0; +} + +// API initialize +static void stb_textedit_initialize_state(STB_TexteditState *state, int is_single_line) +{ + stb_textedit_clear_state(state, is_single_line); +} + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wcast-qual" +#endif + +static int stb_textedit_paste(IMSTB_TEXTEDIT_STRING *str, STB_TexteditState *state, IMSTB_TEXTEDIT_CHARTYPE const *ctext, int len) +{ + return stb_textedit_paste_internal(str, state, (IMSTB_TEXTEDIT_CHARTYPE *) ctext, len); +} + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#endif//IMSTB_TEXTEDIT_IMPLEMENTATION + +/* +------------------------------------------------------------------------------ +This software is available under 2 licenses -- choose whichever you prefer. +------------------------------------------------------------------------------ +ALTERNATIVE A - MIT License +Copyright (c) 2017 Sean Barrett +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ +ALTERNATIVE B - Public Domain (www.unlicense.org) +This is free and unencumbered software released into the public domain. +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this +software, either in source code form or as a compiled binary, for any purpose, +commercial or non-commercial, and by any means. +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and to +the detriment of our heirs and successors. We intend this dedication to be an +overt act of relinquishment in perpetuity of all present and future rights to +this software under copyright law. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------------------------------------------------------------------------------ +*/ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_truetype.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_truetype.h new file mode 100644 index 0000000..976f09c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ImGui/imstb_truetype.h @@ -0,0 +1,5085 @@ +// [DEAR IMGUI] +// This is a slightly modified version of stb_truetype.h 1.26. +// Mostly fixing for compiler and static analyzer warnings. +// Grep for [DEAR IMGUI] to find the changes. + +// stb_truetype.h - v1.26 - public domain +// authored from 2009-2021 by Sean Barrett / RAD Game Tools +// +// ======================================================================= +// +// NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES +// +// This library does no range checking of the offsets found in the file, +// meaning an attacker can use it to read arbitrary memory. +// +// ======================================================================= +// +// This library processes TrueType files: +// parse files +// extract glyph metrics +// extract glyph shapes +// render glyphs to one-channel bitmaps with antialiasing (box filter) +// render glyphs to one-channel SDF bitmaps (signed-distance field/function) +// +// Todo: +// non-MS cmaps +// crashproof on bad data +// hinting? (no longer patented) +// cleartype-style AA? +// optimize: use simple memory allocator for intermediates +// optimize: build edge-list directly from curves +// optimize: rasterize directly from curves? +// +// ADDITIONAL CONTRIBUTORS +// +// Mikko Mononen: compound shape support, more cmap formats +// Tor Andersson: kerning, subpixel rendering +// Dougall Johnson: OpenType / Type 2 font handling +// Daniel Ribeiro Maciel: basic GPOS-based kerning +// +// Misc other: +// Ryan Gordon +// Simon Glass +// github:IntellectualKitty +// Imanol Celaya +// Daniel Ribeiro Maciel +// +// Bug/warning reports/fixes: +// "Zer" on mollyrocket Fabian "ryg" Giesen github:NiLuJe +// Cass Everitt Martins Mozeiko github:aloucks +// stoiko (Haemimont Games) Cap Petschulat github:oyvindjam +// Brian Hook Omar Cornut github:vassvik +// Walter van Niftrik Ryan Griege +// David Gow Peter LaValle +// David Given Sergey Popov +// Ivan-Assen Ivanov Giumo X. Clanjor +// Anthony Pesch Higor Euripedes +// Johan Duparc Thomas Fields +// Hou Qiming Derek Vinyard +// Rob Loach Cort Stratton +// Kenney Phillis Jr. Brian Costabile +// Ken Voskuil (kaesve) +// +// VERSION HISTORY +// +// 1.26 (2021-08-28) fix broken rasterizer +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning +// 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() +// 1.19 (2018-02-11) GPOS kerning, STBTT_fmod +// 1.18 (2018-01-29) add missing function +// 1.17 (2017-07-23) make more arguments const; doc fix +// 1.16 (2017-07-12) SDF support +// 1.15 (2017-03-03) make more arguments const +// 1.14 (2017-01-16) num-fonts-in-TTC function +// 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts +// 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual +// 1.11 (2016-04-02) fix unused-variable warning +// 1.10 (2016-04-02) user-defined fabs(); rare memory leak; remove duplicate typedef +// 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use allocation userdata properly +// 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges +// 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; +// variant PackFontRanges to pack and render in separate phases; +// fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); +// fixed an assert() bug in the new rasterizer +// replace assert() with STBTT_assert() in new rasterizer +// +// Full history can be found at the end of this file. +// +// LICENSE +// +// See end of file for license information. +// +// USAGE +// +// Include this file in whatever places need to refer to it. In ONE C/C++ +// file, write: +// #define STB_TRUETYPE_IMPLEMENTATION +// before the #include of this file. This expands out the actual +// implementation into that C/C++ file. +// +// To make the implementation private to the file that generates the implementation, +// #define STBTT_STATIC +// +// Simple 3D API (don't ship this, but it's fine for tools and quick start) +// stbtt_BakeFontBitmap() -- bake a font to a bitmap for use as texture +// stbtt_GetBakedQuad() -- compute quad to draw for a given char +// +// Improved 3D API (more shippable): +// #include "stb_rect_pack.h" -- optional, but you really want it +// stbtt_PackBegin() +// stbtt_PackSetOversampling() -- for improved quality on small fonts +// stbtt_PackFontRanges() -- pack and renders +// stbtt_PackEnd() +// stbtt_GetPackedQuad() +// +// "Load" a font file from a memory buffer (you have to keep the buffer loaded) +// stbtt_InitFont() +// stbtt_GetFontOffsetForIndex() -- indexing for TTC font collections +// stbtt_GetNumberOfFonts() -- number of fonts for TTC font collections +// +// Render a unicode codepoint to a bitmap +// stbtt_GetCodepointBitmap() -- allocates and returns a bitmap +// stbtt_MakeCodepointBitmap() -- renders into bitmap you provide +// stbtt_GetCodepointBitmapBox() -- how big the bitmap must be +// +// Character advance/positioning +// stbtt_GetCodepointHMetrics() +// stbtt_GetFontVMetrics() +// stbtt_GetFontVMetricsOS2() +// stbtt_GetCodepointKernAdvance() +// +// Starting with version 1.06, the rasterizer was replaced with a new, +// faster and generally-more-precise rasterizer. The new rasterizer more +// accurately measures pixel coverage for anti-aliasing, except in the case +// where multiple shapes overlap, in which case it overestimates the AA pixel +// coverage. Thus, anti-aliasing of intersecting shapes may look wrong. If +// this turns out to be a problem, you can re-enable the old rasterizer with +// #define STBTT_RASTERIZER_VERSION 1 +// which will incur about a 15% speed hit. +// +// ADDITIONAL DOCUMENTATION +// +// Immediately after this block comment are a series of sample programs. +// +// After the sample programs is the "header file" section. This section +// includes documentation for each API function. +// +// Some important concepts to understand to use this library: +// +// Codepoint +// Characters are defined by unicode codepoints, e.g. 65 is +// uppercase A, 231 is lowercase c with a cedilla, 0x7e30 is +// the hiragana for "ma". +// +// Glyph +// A visual character shape (every codepoint is rendered as +// some glyph) +// +// Glyph index +// A font-specific integer ID representing a glyph +// +// Baseline +// Glyph shapes are defined relative to a baseline, which is the +// bottom of uppercase characters. Characters extend both above +// and below the baseline. +// +// Current Point +// As you draw text to the screen, you keep track of a "current point" +// which is the origin of each character. The current point's vertical +// position is the baseline. Even "baked fonts" use this model. +// +// Vertical Font Metrics +// The vertical qualities of the font, used to vertically position +// and space the characters. See docs for stbtt_GetFontVMetrics. +// +// Font Size in Pixels or Points +// The preferred interface for specifying font sizes in stb_truetype +// is to specify how tall the font's vertical extent should be in pixels. +// If that sounds good enough, skip the next paragraph. +// +// Most font APIs instead use "points", which are a common typographic +// measurement for describing font size, defined as 72 points per inch. +// stb_truetype provides a point API for compatibility. However, true +// "per inch" conventions don't make much sense on computer displays +// since different monitors have different number of pixels per +// inch. For example, Windows traditionally uses a convention that +// there are 96 pixels per inch, thus making 'inch' measurements have +// nothing to do with inches, and thus effectively defining a point to +// be 1.333 pixels. Additionally, the TrueType font data provides +// an explicit scale factor to scale a given font's glyphs to points, +// but the author has observed that this scale factor is often wrong +// for non-commercial fonts, thus making fonts scaled in points +// according to the TrueType spec incoherently sized in practice. +// +// DETAILED USAGE: +// +// Scale: +// Select how high you want the font to be, in points or pixels. +// Call ScaleForPixelHeight or ScaleForMappingEmToPixels to compute +// a scale factor SF that will be used by all other functions. +// +// Baseline: +// You need to select a y-coordinate that is the baseline of where +// your text will appear. Call GetFontBoundingBox to get the baseline-relative +// bounding box for all characters. SF*-y0 will be the distance in pixels +// that the worst-case character could extend above the baseline, so if +// you want the top edge of characters to appear at the top of the +// screen where y=0, then you would set the baseline to SF*-y0. +// +// Current point: +// Set the current point where the first character will appear. The +// first character could extend left of the current point; this is font +// dependent. You can either choose a current point that is the leftmost +// point and hope, or add some padding, or check the bounding box or +// left-side-bearing of the first character to be displayed and set +// the current point based on that. +// +// Displaying a character: +// Compute the bounding box of the character. It will contain signed values +// relative to . I.e. if it returns x0,y0,x1,y1, +// then the character should be displayed in the rectangle from +// to = 32 && *text < 128) { + stbtt_aligned_quad q; + stbtt_GetBakedQuad(cdata, 512,512, *text-32, &x,&y,&q,1);//1=opengl & d3d10+,0=d3d9 + glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y0); + glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y0); + glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y1); + glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y1); + } + ++text; + } + glEnd(); +} +#endif +// +// +////////////////////////////////////////////////////////////////////////////// +// +// Complete program (this compiles): get a single bitmap, print as ASCII art +// +#if 0 +#include +#define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation +#include "stb_truetype.h" + +char ttf_buffer[1<<25]; + +int main(int argc, char **argv) +{ + stbtt_fontinfo font; + unsigned char *bitmap; + int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20); + + fread(ttf_buffer, 1, 1<<25, fopen(argc > 3 ? argv[3] : "c:/windows/fonts/arialbd.ttf", "rb")); + + stbtt_InitFont(&font, ttf_buffer, stbtt_GetFontOffsetForIndex(ttf_buffer,0)); + bitmap = stbtt_GetCodepointBitmap(&font, 0,stbtt_ScaleForPixelHeight(&font, s), c, &w, &h, 0,0); + + for (j=0; j < h; ++j) { + for (i=0; i < w; ++i) + putchar(" .:ioVM@"[bitmap[j*w+i]>>5]); + putchar('\n'); + } + return 0; +} +#endif +// +// Output: +// +// .ii. +// @@@@@@. +// V@Mio@@o +// :i. V@V +// :oM@@M +// :@@@MM@M +// @@o o@M +// :@@. M@M +// @@@o@@@@ +// :M@@V:@@. +// +////////////////////////////////////////////////////////////////////////////// +// +// Complete program: print "Hello World!" banner, with bugs +// +#if 0 +char buffer[24<<20]; +unsigned char screen[20][79]; + +int main(int arg, char **argv) +{ + stbtt_fontinfo font; + int i,j,ascent,baseline,ch=0; + float scale, xpos=2; // leave a little padding in case the character extends left + char *text = "Heljo World!"; // intentionally misspelled to show 'lj' brokenness + + fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb")); + stbtt_InitFont(&font, buffer, 0); + + scale = stbtt_ScaleForPixelHeight(&font, 15); + stbtt_GetFontVMetrics(&font, &ascent,0,0); + baseline = (int) (ascent*scale); + + while (text[ch]) { + int advance,lsb,x0,y0,x1,y1; + float x_shift = xpos - (float) floor(xpos); + stbtt_GetCodepointHMetrics(&font, text[ch], &advance, &lsb); + stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1); + stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]); + // note that this stomps the old data, so where character boxes overlap (e.g. 'lj') it's wrong + // because this API is really for baking character bitmaps into textures. if you want to render + // a sequence of characters, you really need to render each bitmap to a temp buffer, then + // "alpha blend" that into the working buffer + xpos += (advance * scale); + if (text[ch+1]) + xpos += scale*stbtt_GetCodepointKernAdvance(&font, text[ch],text[ch+1]); + ++ch; + } + + for (j=0; j < 20; ++j) { + for (i=0; i < 78; ++i) + putchar(" .:ioVM@"[screen[j][i]>>5]); + putchar('\n'); + } + + return 0; +} +#endif + + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// +//// +//// INTEGRATION WITH YOUR CODEBASE +//// +//// The following sections allow you to supply alternate definitions +//// of C library functions used by stb_truetype, e.g. if you don't +//// link with the C runtime library. + +#ifdef STB_TRUETYPE_IMPLEMENTATION + // #define your own (u)stbtt_int8/16/32 before including to override this + #ifndef stbtt_uint8 + typedef unsigned char stbtt_uint8; + typedef signed char stbtt_int8; + typedef unsigned short stbtt_uint16; + typedef signed short stbtt_int16; + typedef unsigned int stbtt_uint32; + typedef signed int stbtt_int32; + #endif + + typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 : -1]; + typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 : -1]; + + // e.g. #define your own STBTT_ifloor/STBTT_iceil() to avoid math.h + #ifndef STBTT_ifloor + #include + #define STBTT_ifloor(x) ((int) floor(x)) + #define STBTT_iceil(x) ((int) ceil(x)) + #endif + + #ifndef STBTT_sqrt + #include + #define STBTT_sqrt(x) sqrt(x) + #define STBTT_pow(x,y) pow(x,y) + #endif + + #ifndef STBTT_fmod + #include + #define STBTT_fmod(x,y) fmod(x,y) + #endif + + #ifndef STBTT_cos + #include + #define STBTT_cos(x) cos(x) + #define STBTT_acos(x) acos(x) + #endif + + #ifndef STBTT_fabs + #include + #define STBTT_fabs(x) fabs(x) + #endif + + // #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h + #ifndef STBTT_malloc + #include + #define STBTT_malloc(x,u) ((void)(u),malloc(x)) + #define STBTT_free(x,u) ((void)(u),free(x)) + #endif + + #ifndef STBTT_assert + #include + #define STBTT_assert(x) assert(x) + #endif + + #ifndef STBTT_strlen + #include + #define STBTT_strlen(x) strlen(x) + #endif + + #ifndef STBTT_memcpy + #include + #define STBTT_memcpy memcpy + #define STBTT_memset memset + #endif +#endif + +/////////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////// +//// +//// INTERFACE +//// +//// + +#ifndef __STB_INCLUDE_STB_TRUETYPE_H__ +#define __STB_INCLUDE_STB_TRUETYPE_H__ + +#ifdef STBTT_STATIC +#define STBTT_DEF static +#else +#define STBTT_DEF extern +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +// private structure +typedef struct +{ + unsigned char *data; + int cursor; + int size; +} stbtt__buf; + +////////////////////////////////////////////////////////////////////////////// +// +// TEXTURE BAKING API +// +// If you use this API, you only have to call two functions ever. +// + +typedef struct +{ + unsigned short x0,y0,x1,y1; // coordinates of bbox in bitmap + float xoff,yoff,xadvance; +} stbtt_bakedchar; + +STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, // font location (use offset=0 for plain .ttf) + float pixel_height, // height of font in pixels + unsigned char *pixels, int pw, int ph, // bitmap to be filled in + int first_char, int num_chars, // characters to bake + stbtt_bakedchar *chardata); // you allocate this, it's num_chars long +// if return is positive, the first unused row of the bitmap +// if return is negative, returns the negative of the number of characters that fit +// if return is 0, no characters fit and no rows were used +// This uses a very crappy packing. + +typedef struct +{ + float x0,y0,s0,t0; // top-left + float x1,y1,s1,t1; // bottom-right +} stbtt_aligned_quad; + +STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, // same data as above + int char_index, // character to display + float *xpos, float *ypos, // pointers to current position in screen pixel space + stbtt_aligned_quad *q, // output: quad to draw + int opengl_fillrule); // true if opengl fill rule; false if DX9 or earlier +// Call GetBakedQuad with char_index = 'character - first_char', and it +// creates the quad you need to draw and advances the current position. +// +// The coordinate system used assumes y increases downwards. +// +// Characters will extend both above and below the current position; +// see discussion of "BASELINE" above. +// +// It's inefficient; you might want to c&p it and optimize it. + +STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap); +// Query the font vertical metrics without having to create a font first. + + +////////////////////////////////////////////////////////////////////////////// +// +// NEW TEXTURE BAKING API +// +// This provides options for packing multiple fonts into one atlas, not +// perfectly but better than nothing. + +typedef struct +{ + unsigned short x0,y0,x1,y1; // coordinates of bbox in bitmap + float xoff,yoff,xadvance; + float xoff2,yoff2; +} stbtt_packedchar; + +typedef struct stbtt_pack_context stbtt_pack_context; +typedef struct stbtt_fontinfo stbtt_fontinfo; +#ifndef STB_RECT_PACK_VERSION +typedef struct stbrp_rect stbrp_rect; +#endif + +STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int height, int stride_in_bytes, int padding, void *alloc_context); +// Initializes a packing context stored in the passed-in stbtt_pack_context. +// Future calls using this context will pack characters into the bitmap passed +// in here: a 1-channel bitmap that is width * height. stride_in_bytes is +// the distance from one row to the next (or 0 to mean they are packed tightly +// together). "padding" is the amount of padding to leave between each +// character (normally you want '1' for bitmaps you'll use as textures with +// bilinear filtering). +// +// Returns 0 on failure, 1 on success. + +STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc); +// Cleans up the packing context and frees all memory. + +#define STBTT_POINT_SIZE(x) (-(x)) + +STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, + int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range); +// Creates character bitmaps from the font_index'th font found in fontdata (use +// font_index=0 if you don't know what that is). It creates num_chars_in_range +// bitmaps for characters with unicode values starting at first_unicode_char_in_range +// and increasing. Data for how to render them is stored in chardata_for_range; +// pass these to stbtt_GetPackedQuad to get back renderable quads. +// +// font_size is the full height of the character from ascender to descender, +// as computed by stbtt_ScaleForPixelHeight. To use a point size as computed +// by stbtt_ScaleForMappingEmToPixels, wrap the point size in STBTT_POINT_SIZE() +// and pass that result as 'font_size': +// ..., 20 , ... // font max minus min y is 20 pixels tall +// ..., STBTT_POINT_SIZE(20), ... // 'M' is 20 pixels tall + +typedef struct +{ + float font_size; + int first_unicode_codepoint_in_range; // if non-zero, then the chars are continuous, and this is the first codepoint + int *array_of_unicode_codepoints; // if non-zero, then this is an array of unicode codepoints + int num_chars; + stbtt_packedchar *chardata_for_range; // output + unsigned char h_oversample, v_oversample; // don't set these, they're used internally +} stbtt_pack_range; + +STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges); +// Creates character bitmaps from multiple ranges of characters stored in +// ranges. This will usually create a better-packed bitmap than multiple +// calls to stbtt_PackFontRange. Note that you can call this multiple +// times within a single PackBegin/PackEnd. + +STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample); +// Oversampling a font increases the quality by allowing higher-quality subpixel +// positioning, and is especially valuable at smaller text sizes. +// +// This function sets the amount of oversampling for all following calls to +// stbtt_PackFontRange(s) or stbtt_PackFontRangesGatherRects for a given +// pack context. The default (no oversampling) is achieved by h_oversample=1 +// and v_oversample=1. The total number of pixels required is +// h_oversample*v_oversample larger than the default; for example, 2x2 +// oversampling requires 4x the storage of 1x1. For best results, render +// oversampled textures with bilinear filtering. Look at the readme in +// stb/tests/oversample for information about oversampled fonts +// +// To use with PackFontRangesGather etc., you must set it before calls +// call to PackFontRangesGatherRects. + +STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip); +// If skip != 0, this tells stb_truetype to skip any codepoints for which +// there is no corresponding glyph. If skip=0, which is the default, then +// codepoints without a glyph received the font's "missing character" glyph, +// typically an empty box by convention. + +STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, // same data as above + int char_index, // character to display + float *xpos, float *ypos, // pointers to current position in screen pixel space + stbtt_aligned_quad *q, // output: quad to draw + int align_to_integer); + +STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); +STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects); +STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); +// Calling these functions in sequence is roughly equivalent to calling +// stbtt_PackFontRanges(). If you more control over the packing of multiple +// fonts, or if you want to pack custom data into a font texture, take a look +// at the source to of stbtt_PackFontRanges() and create a custom version +// using these functions, e.g. call GatherRects multiple times, +// building up a single array of rects, then call PackRects once, +// then call RenderIntoRects repeatedly. This may result in a +// better packing than calling PackFontRanges multiple times +// (or it may not). + +// this is an opaque structure that you shouldn't mess with which holds +// all the context needed from PackBegin to PackEnd. +struct stbtt_pack_context { + void *user_allocator_context; + void *pack_info; + int width; + int height; + int stride_in_bytes; + int padding; + int skip_missing; + unsigned int h_oversample, v_oversample; + unsigned char *pixels; + void *nodes; +}; + +////////////////////////////////////////////////////////////////////////////// +// +// FONT LOADING +// +// + +STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data); +// This function will determine the number of fonts in a font file. TrueType +// collection (.ttc) files may contain multiple fonts, while TrueType font +// (.ttf) files only contain one font. The number of fonts can be used for +// indexing with the previous function where the index is between zero and one +// less than the total fonts. If an error occurs, -1 is returned. + +STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index); +// Each .ttf/.ttc file may have more than one font. Each font has a sequential +// index number starting from 0. Call this function to get the font offset for +// a given index; it returns -1 if the index is out of range. A regular .ttf +// file will only define one font and it always be at offset 0, so it will +// return '0' for index 0, and -1 for all other indices. + +// The following structure is defined publicly so you can declare one on +// the stack or as a global or etc, but you should treat it as opaque. +struct stbtt_fontinfo +{ + void * userdata; + unsigned char * data; // pointer to .ttf file + int fontstart; // offset of start of font + + int numGlyphs; // number of glyphs, needed for range checking + + int loca,head,glyf,hhea,hmtx,kern,gpos,svg; // table locations as offset from start of .ttf + int index_map; // a cmap mapping for our chosen character encoding + int indexToLocFormat; // format needed to map from glyph index to glyph + + stbtt__buf cff; // cff font data + stbtt__buf charstrings; // the charstring index + stbtt__buf gsubrs; // global charstring subroutines index + stbtt__buf subrs; // private charstring subroutines index + stbtt__buf fontdicts; // array of font dicts + stbtt__buf fdselect; // map from glyph to fontdict +}; + +STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset); +// Given an offset into the file that defines a font, this function builds +// the necessary cached info for the rest of the system. You must allocate +// the stbtt_fontinfo yourself, and stbtt_InitFont will fill it out. You don't +// need to do anything special to free it, because the contents are pure +// value data with no additional data structures. Returns 0 on failure. + + +////////////////////////////////////////////////////////////////////////////// +// +// CHARACTER TO GLYPH-INDEX CONVERSIOn + +STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint); +// If you're going to perform multiple operations on the same character +// and you want a speed-up, call this function with the character you're +// going to process, then use glyph-based functions instead of the +// codepoint-based functions. +// Returns 0 if the character codepoint is not defined in the font. + + +////////////////////////////////////////////////////////////////////////////// +// +// CHARACTER PROPERTIES +// + +STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); +// computes a scale factor to produce a font whose "height" is 'pixels' tall. +// Height is measured as the distance from the highest ascender to the lowest +// descender; in other words, it's equivalent to calling stbtt_GetFontVMetrics +// and computing: +// scale = pixels / (ascent - descent) +// so if you prefer to measure height by the ascent only, use a similar calculation. + +STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); +// computes a scale factor to produce a font whose EM size is mapped to +// 'pixels' tall. This is probably what traditional APIs compute, but +// I'm not positive. + +STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap); +// ascent is the coordinate above the baseline the font extends; descent +// is the coordinate below the baseline the font extends (i.e. it is typically negative) +// lineGap is the spacing between one row's descent and the next row's ascent... +// so you should advance the vertical position by "*ascent - *descent + *lineGap" +// these are expressed in unscaled coordinates, so you must multiply by +// the scale factor for a given size + +STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap); +// analogous to GetFontVMetrics, but returns the "typographic" values from the OS/2 +// table (specific to MS/Windows TTF files). +// +// Returns 1 on success (table present), 0 on failure. + +STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1); +// the bounding box around all possible characters + +STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing); +// leftSideBearing is the offset from the current horizontal position to the left edge of the character +// advanceWidth is the offset from the current horizontal position to the next horizontal position +// these are expressed in unscaled coordinates + +STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2); +// an additional amount to add to the 'advance' value between ch1 and ch2 + +STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1); +// Gets the bounding box of the visible part of the glyph, in unscaled coordinates + +STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing); +STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2); +STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); +// as above, but takes one or more glyph indices for greater efficiency + +typedef struct stbtt_kerningentry +{ + int glyph1; // use stbtt_FindGlyphIndex + int glyph2; + int advance; +} stbtt_kerningentry; + +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info); +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length); +// Retrieves a complete list of all of the kerning pairs provided by the font +// stbtt_GetKerningTable never writes more than table_length entries and returns how many entries it did write. +// The table will be sorted by (a.glyph1 == b.glyph1)?(a.glyph2 < b.glyph2):(a.glyph1 < b.glyph1) + +////////////////////////////////////////////////////////////////////////////// +// +// GLYPH SHAPES (you probably don't need these, but they have to go before +// the bitmaps for C declaration-order reasons) +// + +#ifndef STBTT_vmove // you can predefine these to use different values (but why?) + enum { + STBTT_vmove=1, + STBTT_vline, + STBTT_vcurve, + STBTT_vcubic + }; +#endif + +#ifndef stbtt_vertex // you can predefine this to use different values + // (we share this with other code at RAD) + #define stbtt_vertex_type short // can't use stbtt_int16 because that's not visible in the header file + typedef struct + { + stbtt_vertex_type x,y,cx,cy,cx1,cy1; + unsigned char type,padding; + } stbtt_vertex; +#endif + +STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index); +// returns non-zero if nothing is drawn for this glyph + +STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices); +STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **vertices); +// returns # of vertices and fills *vertices with the pointer to them +// these are expressed in "unscaled" coordinates +// +// The shape is a series of contours. Each one starts with +// a STBTT_moveto, then consists of a series of mixed +// STBTT_lineto and STBTT_curveto segments. A lineto +// draws a line from previous endpoint to its x,y; a curveto +// draws a quadratic bezier from previous endpoint to +// its x,y, using cx,cy as the bezier control point. + +STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices); +// frees the data allocated above + +STBTT_DEF unsigned char *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl); +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg); +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg); +// fills svg with the character's SVG data. +// returns data size or 0 if SVG not found. + +////////////////////////////////////////////////////////////////////////////// +// +// BITMAP RENDERING +// + +STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata); +// frees the bitmap allocated below + +STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff); +// allocates a large-enough single-channel 8bpp bitmap and renders the +// specified character/glyph at the specified scale into it, with +// antialiasing. 0 is no coverage (transparent), 255 is fully covered (opaque). +// *width & *height are filled out with the width & height of the bitmap, +// which is stored left-to-right, top-to-bottom. +// +// xoff/yoff are the offset it pixel space from the glyph origin to the top-left of the bitmap + +STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff); +// the same as stbtt_GetCodepoitnBitmap, but you can specify a subpixel +// shift for the character + +STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint); +// the same as stbtt_GetCodepointBitmap, but you pass in storage for the bitmap +// in the form of 'output', with row spacing of 'out_stride' bytes. the bitmap +// is clipped to out_w/out_h bytes. Call stbtt_GetCodepointBitmapBox to get the +// width and height and positioning info for it first. + +STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint); +// same as stbtt_MakeCodepointBitmap, but you can specify a subpixel +// shift for the character + +STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint); +// same as stbtt_MakeCodepointBitmapSubpixel, but prefiltering +// is performed (see stbtt_PackSetOversampling) + +STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); +// get the bbox of the bitmap centered around the glyph origin; so the +// bitmap width is ix1-ix0, height is iy1-iy0, and location to place +// the bitmap top left is (leftSideBearing*scale,iy0). +// (Note that the bitmap uses y-increases-down, but the shape uses +// y-increases-up, so CodepointBitmapBox and CodepointBox are inverted.) + +STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); +// same as stbtt_GetCodepointBitmapBox, but you can specify a subpixel +// shift for the character + +// the following functions are equivalent to the above functions, but operate +// on glyph indices instead of Unicode codepoints (for efficiency) +STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff); +STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff); +STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph); +STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph); +STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int glyph); +STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); +STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); + + +// @TODO: don't expose this structure +typedef struct +{ + int w,h,stride; + unsigned char *pixels; +} stbtt__bitmap; + +// rasterize a shape with quadratic beziers into a bitmap +STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, // 1-channel bitmap to draw into + float flatness_in_pixels, // allowable error of curve in pixels + stbtt_vertex *vertices, // array of vertices defining shape + int num_verts, // number of vertices in above array + float scale_x, float scale_y, // scale applied to input vertices + float shift_x, float shift_y, // translation applied to input vertices + int x_off, int y_off, // another translation applied to input + int invert, // if non-zero, vertically flip shape + void *userdata); // context for to STBTT_MALLOC + +////////////////////////////////////////////////////////////////////////////// +// +// Signed Distance Function (or Field) rendering + +STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata); +// frees the SDF bitmap allocated below + +STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); +STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); +// These functions compute a discretized SDF field for a single character, suitable for storing +// in a single-channel texture, sampling with bilinear filtering, and testing against +// larger than some threshold to produce scalable fonts. +// info -- the font +// scale -- controls the size of the resulting SDF bitmap, same as it would be creating a regular bitmap +// glyph/codepoint -- the character to generate the SDF for +// padding -- extra "pixels" around the character which are filled with the distance to the character (not 0), +// which allows effects like bit outlines +// onedge_value -- value 0-255 to test the SDF against to reconstruct the character (i.e. the isocontour of the character) +// pixel_dist_scale -- what value the SDF should increase by when moving one SDF "pixel" away from the edge (on the 0..255 scale) +// if positive, > onedge_value is inside; if negative, < onedge_value is inside +// width,height -- output height & width of the SDF bitmap (including padding) +// xoff,yoff -- output origin of the character +// return value -- a 2D array of bytes 0..255, width*height in size +// +// pixel_dist_scale & onedge_value are a scale & bias that allows you to make +// optimal use of the limited 0..255 for your application, trading off precision +// and special effects. SDF values outside the range 0..255 are clamped to 0..255. +// +// Example: +// scale = stbtt_ScaleForPixelHeight(22) +// padding = 5 +// onedge_value = 180 +// pixel_dist_scale = 180/5.0 = 36.0 +// +// This will create an SDF bitmap in which the character is about 22 pixels +// high but the whole bitmap is about 22+5+5=32 pixels high. To produce a filled +// shape, sample the SDF at each pixel and fill the pixel if the SDF value +// is greater than or equal to 180/255. (You'll actually want to antialias, +// which is beyond the scope of this example.) Additionally, you can compute +// offset outlines (e.g. to stroke the character border inside & outside, +// or only outside). For example, to fill outside the character up to 3 SDF +// pixels, you would compare against (180-36.0*3)/255 = 72/255. The above +// choice of variables maps a range from 5 pixels outside the shape to +// 2 pixels inside the shape to 0..255; this is intended primarily for apply +// outside effects only (the interior range is needed to allow proper +// antialiasing of the font at *smaller* sizes) +// +// The function computes the SDF analytically at each SDF pixel, not by e.g. +// building a higher-res bitmap and approximating it. In theory the quality +// should be as high as possible for an SDF of this size & representation, but +// unclear if this is true in practice (perhaps building a higher-res bitmap +// and computing from that can allow drop-out prevention). +// +// The algorithm has not been optimized at all, so expect it to be slow +// if computing lots of characters or very large sizes. + + + +////////////////////////////////////////////////////////////////////////////// +// +// Finding the right font... +// +// You should really just solve this offline, keep your own tables +// of what font is what, and don't try to get it out of the .ttf file. +// That's because getting it out of the .ttf file is really hard, because +// the names in the file can appear in many possible encodings, in many +// possible languages, and e.g. if you need a case-insensitive comparison, +// the details of that depend on the encoding & language in a complex way +// (actually underspecified in truetype, but also gigantic). +// +// But you can use the provided functions in two possible ways: +// stbtt_FindMatchingFont() will use *case-sensitive* comparisons on +// unicode-encoded names to try to find the font you want; +// you can run this before calling stbtt_InitFont() +// +// stbtt_GetFontNameString() lets you get any of the various strings +// from the file yourself and do your own comparisons on them. +// You have to have called stbtt_InitFont() first. + + +STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags); +// returns the offset (not index) of the font that matches, or -1 if none +// if you use STBTT_MACSTYLE_DONTCARE, use a font name like "Arial Bold". +// if you use any other flag, use a font name like "Arial"; this checks +// the 'macStyle' header field; i don't know if fonts set this consistently +#define STBTT_MACSTYLE_DONTCARE 0 +#define STBTT_MACSTYLE_BOLD 1 +#define STBTT_MACSTYLE_ITALIC 2 +#define STBTT_MACSTYLE_UNDERSCORE 4 +#define STBTT_MACSTYLE_NONE 8 // <= not same as 0, this makes us check the bitfield is 0 + +STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2); +// returns 1/0 whether the first string interpreted as utf8 is identical to +// the second string interpreted as big-endian utf16... useful for strings from next func + +STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID); +// returns the string (which may be big-endian double byte, e.g. for unicode) +// and puts the length in bytes in *length. +// +// some of the values for the IDs are below; for more see the truetype spec: +// http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6name.html +// http://www.microsoft.com/typography/otspec/name.htm + +enum { // platformID + STBTT_PLATFORM_ID_UNICODE =0, + STBTT_PLATFORM_ID_MAC =1, + STBTT_PLATFORM_ID_ISO =2, + STBTT_PLATFORM_ID_MICROSOFT =3 +}; + +enum { // encodingID for STBTT_PLATFORM_ID_UNICODE + STBTT_UNICODE_EID_UNICODE_1_0 =0, + STBTT_UNICODE_EID_UNICODE_1_1 =1, + STBTT_UNICODE_EID_ISO_10646 =2, + STBTT_UNICODE_EID_UNICODE_2_0_BMP=3, + STBTT_UNICODE_EID_UNICODE_2_0_FULL=4 +}; + +enum { // encodingID for STBTT_PLATFORM_ID_MICROSOFT + STBTT_MS_EID_SYMBOL =0, + STBTT_MS_EID_UNICODE_BMP =1, + STBTT_MS_EID_SHIFTJIS =2, + STBTT_MS_EID_UNICODE_FULL =10 +}; + +enum { // encodingID for STBTT_PLATFORM_ID_MAC; same as Script Manager codes + STBTT_MAC_EID_ROMAN =0, STBTT_MAC_EID_ARABIC =4, + STBTT_MAC_EID_JAPANESE =1, STBTT_MAC_EID_HEBREW =5, + STBTT_MAC_EID_CHINESE_TRAD =2, STBTT_MAC_EID_GREEK =6, + STBTT_MAC_EID_KOREAN =3, STBTT_MAC_EID_RUSSIAN =7 +}; + +enum { // languageID for STBTT_PLATFORM_ID_MICROSOFT; same as LCID... + // problematic because there are e.g. 16 english LCIDs and 16 arabic LCIDs + STBTT_MS_LANG_ENGLISH =0x0409, STBTT_MS_LANG_ITALIAN =0x0410, + STBTT_MS_LANG_CHINESE =0x0804, STBTT_MS_LANG_JAPANESE =0x0411, + STBTT_MS_LANG_DUTCH =0x0413, STBTT_MS_LANG_KOREAN =0x0412, + STBTT_MS_LANG_FRENCH =0x040c, STBTT_MS_LANG_RUSSIAN =0x0419, + STBTT_MS_LANG_GERMAN =0x0407, STBTT_MS_LANG_SPANISH =0x0409, + STBTT_MS_LANG_HEBREW =0x040d, STBTT_MS_LANG_SWEDISH =0x041D +}; + +enum { // languageID for STBTT_PLATFORM_ID_MAC + STBTT_MAC_LANG_ENGLISH =0 , STBTT_MAC_LANG_JAPANESE =11, + STBTT_MAC_LANG_ARABIC =12, STBTT_MAC_LANG_KOREAN =23, + STBTT_MAC_LANG_DUTCH =4 , STBTT_MAC_LANG_RUSSIAN =32, + STBTT_MAC_LANG_FRENCH =1 , STBTT_MAC_LANG_SPANISH =6 , + STBTT_MAC_LANG_GERMAN =2 , STBTT_MAC_LANG_SWEDISH =5 , + STBTT_MAC_LANG_HEBREW =10, STBTT_MAC_LANG_CHINESE_SIMPLIFIED =33, + STBTT_MAC_LANG_ITALIAN =3 , STBTT_MAC_LANG_CHINESE_TRAD =19 +}; + +#ifdef __cplusplus +} +#endif + +#endif // __STB_INCLUDE_STB_TRUETYPE_H__ + +/////////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////// +//// +//// IMPLEMENTATION +//// +//// + +#ifdef STB_TRUETYPE_IMPLEMENTATION + +#ifndef STBTT_MAX_OVERSAMPLE +#define STBTT_MAX_OVERSAMPLE 8 +#endif + +#if STBTT_MAX_OVERSAMPLE > 255 +#error "STBTT_MAX_OVERSAMPLE cannot be > 255" +#endif + +typedef int stbtt__test_oversample_pow2[(STBTT_MAX_OVERSAMPLE & (STBTT_MAX_OVERSAMPLE-1)) == 0 ? 1 : -1]; + +#ifndef STBTT_RASTERIZER_VERSION +#define STBTT_RASTERIZER_VERSION 2 +#endif + +#ifdef _MSC_VER +#define STBTT__NOTUSED(v) (void)(v) +#else +#define STBTT__NOTUSED(v) (void)sizeof(v) +#endif + +////////////////////////////////////////////////////////////////////////// +// +// stbtt__buf helpers to parse data from file +// + +static stbtt_uint8 stbtt__buf_get8(stbtt__buf *b) +{ + if (b->cursor >= b->size) + return 0; + return b->data[b->cursor++]; +} + +static stbtt_uint8 stbtt__buf_peek8(stbtt__buf *b) +{ + if (b->cursor >= b->size) + return 0; + return b->data[b->cursor]; +} + +static void stbtt__buf_seek(stbtt__buf *b, int o) +{ + STBTT_assert(!(o > b->size || o < 0)); + b->cursor = (o > b->size || o < 0) ? b->size : o; +} + +static void stbtt__buf_skip(stbtt__buf *b, int o) +{ + stbtt__buf_seek(b, b->cursor + o); +} + +static stbtt_uint32 stbtt__buf_get(stbtt__buf *b, int n) +{ + stbtt_uint32 v = 0; + int i; + STBTT_assert(n >= 1 && n <= 4); + for (i = 0; i < n; i++) + v = (v << 8) | stbtt__buf_get8(b); + return v; +} + +static stbtt__buf stbtt__new_buf(const void *p, size_t size) +{ + stbtt__buf r; + STBTT_assert(size < 0x40000000); + r.data = (stbtt_uint8*) p; + r.size = (int) size; + r.cursor = 0; + return r; +} + +#define stbtt__buf_get16(b) stbtt__buf_get((b), 2) +#define stbtt__buf_get32(b) stbtt__buf_get((b), 4) + +static stbtt__buf stbtt__buf_range(const stbtt__buf *b, int o, int s) +{ + stbtt__buf r = stbtt__new_buf(NULL, 0); + if (o < 0 || s < 0 || o > b->size || s > b->size - o) return r; + r.data = b->data + o; + r.size = s; + return r; +} + +static stbtt__buf stbtt__cff_get_index(stbtt__buf *b) +{ + int count, start, offsize; + start = b->cursor; + count = stbtt__buf_get16(b); + if (count) { + offsize = stbtt__buf_get8(b); + STBTT_assert(offsize >= 1 && offsize <= 4); + stbtt__buf_skip(b, offsize * count); + stbtt__buf_skip(b, stbtt__buf_get(b, offsize) - 1); + } + return stbtt__buf_range(b, start, b->cursor - start); +} + +static stbtt_uint32 stbtt__cff_int(stbtt__buf *b) +{ + int b0 = stbtt__buf_get8(b); + if (b0 >= 32 && b0 <= 246) return b0 - 139; + else if (b0 >= 247 && b0 <= 250) return (b0 - 247)*256 + stbtt__buf_get8(b) + 108; + else if (b0 >= 251 && b0 <= 254) return -(b0 - 251)*256 - stbtt__buf_get8(b) - 108; + else if (b0 == 28) return stbtt__buf_get16(b); + else if (b0 == 29) return stbtt__buf_get32(b); + STBTT_assert(0); + return 0; +} + +static void stbtt__cff_skip_operand(stbtt__buf *b) { + int v, b0 = stbtt__buf_peek8(b); + STBTT_assert(b0 >= 28); + if (b0 == 30) { + stbtt__buf_skip(b, 1); + while (b->cursor < b->size) { + v = stbtt__buf_get8(b); + if ((v & 0xF) == 0xF || (v >> 4) == 0xF) + break; + } + } else { + stbtt__cff_int(b); + } +} + +static stbtt__buf stbtt__dict_get(stbtt__buf *b, int key) +{ + stbtt__buf_seek(b, 0); + while (b->cursor < b->size) { + int start = b->cursor, end, op; + while (stbtt__buf_peek8(b) >= 28) + stbtt__cff_skip_operand(b); + end = b->cursor; + op = stbtt__buf_get8(b); + if (op == 12) op = stbtt__buf_get8(b) | 0x100; + if (op == key) return stbtt__buf_range(b, start, end-start); + } + return stbtt__buf_range(b, 0, 0); +} + +static void stbtt__dict_get_ints(stbtt__buf *b, int key, int outcount, stbtt_uint32 *out) +{ + int i; + stbtt__buf operands = stbtt__dict_get(b, key); + for (i = 0; i < outcount && operands.cursor < operands.size; i++) + out[i] = stbtt__cff_int(&operands); +} + +static int stbtt__cff_index_count(stbtt__buf *b) +{ + stbtt__buf_seek(b, 0); + return stbtt__buf_get16(b); +} + +static stbtt__buf stbtt__cff_index_get(stbtt__buf b, int i) +{ + int count, offsize, start, end; + stbtt__buf_seek(&b, 0); + count = stbtt__buf_get16(&b); + offsize = stbtt__buf_get8(&b); + STBTT_assert(i >= 0 && i < count); + STBTT_assert(offsize >= 1 && offsize <= 4); + stbtt__buf_skip(&b, i*offsize); + start = stbtt__buf_get(&b, offsize); + end = stbtt__buf_get(&b, offsize); + return stbtt__buf_range(&b, 2+(count+1)*offsize+start, end - start); +} + +////////////////////////////////////////////////////////////////////////// +// +// accessors to parse data from file +// + +// on platforms that don't allow misaligned reads, if we want to allow +// truetype fonts that aren't padded to alignment, define ALLOW_UNALIGNED_TRUETYPE + +#define ttBYTE(p) (* (stbtt_uint8 *) (p)) +#define ttCHAR(p) (* (stbtt_int8 *) (p)) +#define ttFixed(p) ttLONG(p) + +static stbtt_uint16 ttUSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } +static stbtt_int16 ttSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } +static stbtt_uint32 ttULONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } +static stbtt_int32 ttLONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } + +#define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3)) +#define stbtt_tag(p,str) stbtt_tag4(p,str[0],str[1],str[2],str[3]) + +static int stbtt__isfont(stbtt_uint8 *font) +{ + // check the version number + if (stbtt_tag4(font, '1',0,0,0)) return 1; // TrueType 1 + if (stbtt_tag(font, "typ1")) return 1; // TrueType with type 1 font -- we don't support this! + if (stbtt_tag(font, "OTTO")) return 1; // OpenType with CFF + if (stbtt_tag4(font, 0,1,0,0)) return 1; // OpenType 1.0 + if (stbtt_tag(font, "true")) return 1; // Apple specification for TrueType fonts + return 0; +} + +// @OPTIMIZE: binary search +static stbtt_uint32 stbtt__find_table(stbtt_uint8 *data, stbtt_uint32 fontstart, const char *tag) +{ + stbtt_int32 num_tables = ttUSHORT(data+fontstart+4); + stbtt_uint32 tabledir = fontstart + 12; + stbtt_int32 i; + for (i=0; i < num_tables; ++i) { + stbtt_uint32 loc = tabledir + 16*i; + if (stbtt_tag(data+loc+0, tag)) + return ttULONG(data+loc+8); + } + return 0; +} + +static int stbtt_GetFontOffsetForIndex_internal(unsigned char *font_collection, int index) +{ + // if it's just a font, there's only one valid index + if (stbtt__isfont(font_collection)) + return index == 0 ? 0 : -1; + + // check if it's a TTC + if (stbtt_tag(font_collection, "ttcf")) { + // version 1? + if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { + stbtt_int32 n = ttLONG(font_collection+8); + if (index >= n) + return -1; + return ttULONG(font_collection+12+index*4); + } + } + return -1; +} + +static int stbtt_GetNumberOfFonts_internal(unsigned char *font_collection) +{ + // if it's just a font, there's only one valid font + if (stbtt__isfont(font_collection)) + return 1; + + // check if it's a TTC + if (stbtt_tag(font_collection, "ttcf")) { + // version 1? + if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { + return ttLONG(font_collection+8); + } + } + return 0; +} + +static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) +{ + stbtt_uint32 subrsoff = 0, private_loc[2] = { 0, 0 }; + stbtt__buf pdict; + stbtt__dict_get_ints(&fontdict, 18, 2, private_loc); + if (!private_loc[1] || !private_loc[0]) return stbtt__new_buf(NULL, 0); + pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]); + stbtt__dict_get_ints(&pdict, 19, 1, &subrsoff); + if (!subrsoff) return stbtt__new_buf(NULL, 0); + stbtt__buf_seek(&cff, private_loc[1]+subrsoff); + return stbtt__cff_get_index(&cff); +} + +// since most people won't use this, find this table the first time it's needed +static int stbtt__get_svg(stbtt_fontinfo *info) +{ + stbtt_uint32 t; + if (info->svg < 0) { + t = stbtt__find_table(info->data, info->fontstart, "SVG "); + if (t) { + stbtt_uint32 offset = ttULONG(info->data + t + 2); + info->svg = t + offset; + } else { + info->svg = 0; + } + } + return info->svg; +} + +static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) +{ + stbtt_uint32 cmap, t; + stbtt_int32 i,numTables; + + info->data = data; + info->fontstart = fontstart; + info->cff = stbtt__new_buf(NULL, 0); + + cmap = stbtt__find_table(data, fontstart, "cmap"); // required + info->loca = stbtt__find_table(data, fontstart, "loca"); // required + info->head = stbtt__find_table(data, fontstart, "head"); // required + info->glyf = stbtt__find_table(data, fontstart, "glyf"); // required + info->hhea = stbtt__find_table(data, fontstart, "hhea"); // required + info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required + info->kern = stbtt__find_table(data, fontstart, "kern"); // not required + info->gpos = stbtt__find_table(data, fontstart, "GPOS"); // not required + + if (!cmap || !info->head || !info->hhea || !info->hmtx) + return 0; + if (info->glyf) { + // required for truetype + if (!info->loca) return 0; + } else { + // initialization for CFF / Type2 fonts (OTF) + stbtt__buf b, topdict, topdictidx; + stbtt_uint32 cstype = 2, charstrings = 0, fdarrayoff = 0, fdselectoff = 0; + stbtt_uint32 cff; + + cff = stbtt__find_table(data, fontstart, "CFF "); + if (!cff) return 0; + + info->fontdicts = stbtt__new_buf(NULL, 0); + info->fdselect = stbtt__new_buf(NULL, 0); + + // @TODO this should use size from table (not 512MB) + info->cff = stbtt__new_buf(data+cff, 512*1024*1024); + b = info->cff; + + // read the header + stbtt__buf_skip(&b, 2); + stbtt__buf_seek(&b, stbtt__buf_get8(&b)); // hdrsize + + // @TODO the name INDEX could list multiple fonts, + // but we just use the first one. + stbtt__cff_get_index(&b); // name INDEX + topdictidx = stbtt__cff_get_index(&b); + topdict = stbtt__cff_index_get(topdictidx, 0); + stbtt__cff_get_index(&b); // string INDEX + info->gsubrs = stbtt__cff_get_index(&b); + + stbtt__dict_get_ints(&topdict, 17, 1, &charstrings); + stbtt__dict_get_ints(&topdict, 0x100 | 6, 1, &cstype); + stbtt__dict_get_ints(&topdict, 0x100 | 36, 1, &fdarrayoff); + stbtt__dict_get_ints(&topdict, 0x100 | 37, 1, &fdselectoff); + info->subrs = stbtt__get_subrs(b, topdict); + + // we only support Type 2 charstrings + if (cstype != 2) return 0; + if (charstrings == 0) return 0; + + if (fdarrayoff) { + // looks like a CID font + if (!fdselectoff) return 0; + stbtt__buf_seek(&b, fdarrayoff); + info->fontdicts = stbtt__cff_get_index(&b); + info->fdselect = stbtt__buf_range(&b, fdselectoff, b.size-fdselectoff); + } + + stbtt__buf_seek(&b, charstrings); + info->charstrings = stbtt__cff_get_index(&b); + } + + t = stbtt__find_table(data, fontstart, "maxp"); + if (t) + info->numGlyphs = ttUSHORT(data+t+4); + else + info->numGlyphs = 0xffff; + + info->svg = -1; + + // find a cmap encoding table we understand *now* to avoid searching + // later. (todo: could make this installable) + // the same regardless of glyph. + numTables = ttUSHORT(data + cmap + 2); + info->index_map = 0; + for (i=0; i < numTables; ++i) { + stbtt_uint32 encoding_record = cmap + 4 + 8 * i; + // find an encoding we understand: + switch(ttUSHORT(data+encoding_record)) { + case STBTT_PLATFORM_ID_MICROSOFT: + switch (ttUSHORT(data+encoding_record+2)) { + case STBTT_MS_EID_UNICODE_BMP: + case STBTT_MS_EID_UNICODE_FULL: + // MS/Unicode + info->index_map = cmap + ttULONG(data+encoding_record+4); + break; + } + break; + case STBTT_PLATFORM_ID_UNICODE: + // Mac/iOS has these + // all the encodingIDs are unicode, so we don't bother to check it + info->index_map = cmap + ttULONG(data+encoding_record+4); + break; + } + } + if (info->index_map == 0) + return 0; + + info->indexToLocFormat = ttUSHORT(data+info->head + 50); + return 1; +} + +STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint) +{ + stbtt_uint8 *data = info->data; + stbtt_uint32 index_map = info->index_map; + + stbtt_uint16 format = ttUSHORT(data + index_map + 0); + if (format == 0) { // apple byte encoding + stbtt_int32 bytes = ttUSHORT(data + index_map + 2); + if (unicode_codepoint < bytes-6) + return ttBYTE(data + index_map + 6 + unicode_codepoint); + return 0; + } else if (format == 6) { + stbtt_uint32 first = ttUSHORT(data + index_map + 6); + stbtt_uint32 count = ttUSHORT(data + index_map + 8); + if ((stbtt_uint32) unicode_codepoint >= first && (stbtt_uint32) unicode_codepoint < first+count) + return ttUSHORT(data + index_map + 10 + (unicode_codepoint - first)*2); + return 0; + } else if (format == 2) { + STBTT_assert(0); // @TODO: high-byte mapping for japanese/chinese/korean + return 0; + } else if (format == 4) { // standard mapping for windows fonts: binary search collection of ranges + stbtt_uint16 segcount = ttUSHORT(data+index_map+6) >> 1; + stbtt_uint16 searchRange = ttUSHORT(data+index_map+8) >> 1; + stbtt_uint16 entrySelector = ttUSHORT(data+index_map+10); + stbtt_uint16 rangeShift = ttUSHORT(data+index_map+12) >> 1; + + // do a binary search of the segments + stbtt_uint32 endCount = index_map + 14; + stbtt_uint32 search = endCount; + + if (unicode_codepoint > 0xffff) + return 0; + + // they lie from endCount .. endCount + segCount + // but searchRange is the nearest power of two, so... + if (unicode_codepoint >= ttUSHORT(data + search + rangeShift*2)) + search += rangeShift*2; + + // now decrement to bias correctly to find smallest + search -= 2; + while (entrySelector) { + stbtt_uint16 end; + searchRange >>= 1; + end = ttUSHORT(data + search + searchRange*2); + if (unicode_codepoint > end) + search += searchRange*2; + --entrySelector; + } + search += 2; + + { + stbtt_uint16 offset, start, last; + stbtt_uint16 item = (stbtt_uint16) ((search - endCount) >> 1); + + start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); + last = ttUSHORT(data + endCount + 2*item); + if (unicode_codepoint < start || unicode_codepoint > last) + return 0; + + offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); + if (offset == 0) + return (stbtt_uint16) (unicode_codepoint + ttSHORT(data + index_map + 14 + segcount*4 + 2 + 2*item)); + + return ttUSHORT(data + offset + (unicode_codepoint-start)*2 + index_map + 14 + segcount*6 + 2 + 2*item); + } + } else if (format == 12 || format == 13) { + stbtt_uint32 ngroups = ttULONG(data+index_map+12); + stbtt_int32 low,high; + low = 0; high = (stbtt_int32)ngroups; + // Binary search the right group. + while (low < high) { + stbtt_int32 mid = low + ((high-low) >> 1); // rounds down, so low <= mid < high + stbtt_uint32 start_char = ttULONG(data+index_map+16+mid*12); + stbtt_uint32 end_char = ttULONG(data+index_map+16+mid*12+4); + if ((stbtt_uint32) unicode_codepoint < start_char) + high = mid; + else if ((stbtt_uint32) unicode_codepoint > end_char) + low = mid+1; + else { + stbtt_uint32 start_glyph = ttULONG(data+index_map+16+mid*12+8); + if (format == 12) + return start_glyph + unicode_codepoint-start_char; + else // format == 13 + return start_glyph; + } + } + return 0; // not found + } + // @TODO + STBTT_assert(0); + return 0; +} + +STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) +{ + return stbtt_GetGlyphShape(info, stbtt_FindGlyphIndex(info, unicode_codepoint), vertices); +} + +static void stbtt_setvertex(stbtt_vertex *v, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy) +{ + v->type = type; + v->x = (stbtt_int16) x; + v->y = (stbtt_int16) y; + v->cx = (stbtt_int16) cx; + v->cy = (stbtt_int16) cy; +} + +static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) +{ + int g1,g2; + + STBTT_assert(!info->cff.size); + + if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range + if (info->indexToLocFormat >= 2) return -1; // unknown index->glyph map format + + if (info->indexToLocFormat == 0) { + g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; + g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2; + } else { + g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); + g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); + } + + return g1==g2 ? -1 : g1; // if length is 0, return -1 +} + +static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); + +STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) +{ + if (info->cff.size) { + stbtt__GetGlyphInfoT2(info, glyph_index, x0, y0, x1, y1); + } else { + int g = stbtt__GetGlyfOffset(info, glyph_index); + if (g < 0) return 0; + + if (x0) *x0 = ttSHORT(info->data + g + 2); + if (y0) *y0 = ttSHORT(info->data + g + 4); + if (x1) *x1 = ttSHORT(info->data + g + 6); + if (y1) *y1 = ttSHORT(info->data + g + 8); + } + return 1; +} + +STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) +{ + return stbtt_GetGlyphBox(info, stbtt_FindGlyphIndex(info,codepoint), x0,y0,x1,y1); +} + +STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) +{ + stbtt_int16 numberOfContours; + int g; + if (info->cff.size) + return stbtt__GetGlyphInfoT2(info, glyph_index, NULL, NULL, NULL, NULL) == 0; + g = stbtt__GetGlyfOffset(info, glyph_index); + if (g < 0) return 1; + numberOfContours = ttSHORT(info->data + g); + return numberOfContours == 0; +} + +static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off, + stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy) +{ + if (start_off) { + if (was_off) + stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+scx)>>1, (cy+scy)>>1, cx,cy); + stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, sx,sy,scx,scy); + } else { + if (was_off) + stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve,sx,sy,cx,cy); + else + stbtt_setvertex(&vertices[num_vertices++], STBTT_vline,sx,sy,0,0); + } + return num_vertices; +} + +static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) +{ + stbtt_int16 numberOfContours; + stbtt_uint8 *endPtsOfContours; + stbtt_uint8 *data = info->data; + stbtt_vertex *vertices=0; + int num_vertices=0; + int g = stbtt__GetGlyfOffset(info, glyph_index); + + *pvertices = NULL; + + if (g < 0) return 0; + + numberOfContours = ttSHORT(data + g); + + if (numberOfContours > 0) { + stbtt_uint8 flags=0,flagcount; + stbtt_int32 ins, i,j=0,m,n, next_move, was_off=0, off, start_off=0; + stbtt_int32 x,y,cx,cy,sx,sy, scx,scy; + stbtt_uint8 *points; + endPtsOfContours = (data + g + 10); + ins = ttUSHORT(data + g + 10 + numberOfContours * 2); + points = data + g + 10 + numberOfContours * 2 + 2 + ins; + + n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); + + m = n + 2*numberOfContours; // a loose bound on how many vertices we might need + vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata); + if (vertices == 0) + return 0; + + next_move = 0; + flagcount=0; + + // in first pass, we load uninterpreted data into the allocated array + // above, shifted to the end of the array so we won't overwrite it when + // we create our final data starting from the front + + off = m - n; // starting offset for uninterpreted data, regardless of how m ends up being calculated + + // first load flags + + for (i=0; i < n; ++i) { + if (flagcount == 0) { + flags = *points++; + if (flags & 8) + flagcount = *points++; + } else + --flagcount; + vertices[off+i].type = flags; + } + + // now load x coordinates + x=0; + for (i=0; i < n; ++i) { + flags = vertices[off+i].type; + if (flags & 2) { + stbtt_int16 dx = *points++; + x += (flags & 16) ? dx : -dx; // ??? + } else { + if (!(flags & 16)) { + x = x + (stbtt_int16) (points[0]*256 + points[1]); + points += 2; + } + } + vertices[off+i].x = (stbtt_int16) x; + } + + // now load y coordinates + y=0; + for (i=0; i < n; ++i) { + flags = vertices[off+i].type; + if (flags & 4) { + stbtt_int16 dy = *points++; + y += (flags & 32) ? dy : -dy; // ??? + } else { + if (!(flags & 32)) { + y = y + (stbtt_int16) (points[0]*256 + points[1]); + points += 2; + } + } + vertices[off+i].y = (stbtt_int16) y; + } + + // now convert them to our format + num_vertices=0; + sx = sy = cx = cy = scx = scy = 0; + for (i=0; i < n; ++i) { + flags = vertices[off+i].type; + x = (stbtt_int16) vertices[off+i].x; + y = (stbtt_int16) vertices[off+i].y; + + if (next_move == i) { + if (i != 0) + num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); + + // now start the new one + start_off = !(flags & 1); + if (start_off) { + // if we start off with an off-curve point, then when we need to find a point on the curve + // where we can start, and we need to save some state for when we wraparound. + scx = x; + scy = y; + if (!(vertices[off+i+1].type & 1)) { + // next point is also a curve point, so interpolate an on-point curve + sx = (x + (stbtt_int32) vertices[off+i+1].x) >> 1; + sy = (y + (stbtt_int32) vertices[off+i+1].y) >> 1; + } else { + // otherwise just use the next point as our start point + sx = (stbtt_int32) vertices[off+i+1].x; + sy = (stbtt_int32) vertices[off+i+1].y; + ++i; // we're using point i+1 as the starting point, so skip it + } + } else { + sx = x; + sy = y; + } + stbtt_setvertex(&vertices[num_vertices++], STBTT_vmove,sx,sy,0,0); + was_off = 0; + next_move = 1 + ttUSHORT(endPtsOfContours+j*2); + ++j; + } else { + if (!(flags & 1)) { // if it's a curve + if (was_off) // two off-curve control points in a row means interpolate an on-curve midpoint + stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+x)>>1, (cy+y)>>1, cx, cy); + cx = x; + cy = y; + was_off = 1; + } else { + if (was_off) + stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, x,y, cx, cy); + else + stbtt_setvertex(&vertices[num_vertices++], STBTT_vline, x,y,0,0); + was_off = 0; + } + } + } + num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); + } else if (numberOfContours < 0) { + // Compound shapes. + int more = 1; + stbtt_uint8 *comp = data + g + 10; + num_vertices = 0; + vertices = 0; + while (more) { + stbtt_uint16 flags, gidx; + int comp_num_verts = 0, i; + stbtt_vertex *comp_verts = 0, *tmp = 0; + float mtx[6] = {1,0,0,1,0,0}, m, n; + + flags = ttSHORT(comp); comp+=2; + gidx = ttSHORT(comp); comp+=2; + + if (flags & 2) { // XY values + if (flags & 1) { // shorts + mtx[4] = ttSHORT(comp); comp+=2; + mtx[5] = ttSHORT(comp); comp+=2; + } else { + mtx[4] = ttCHAR(comp); comp+=1; + mtx[5] = ttCHAR(comp); comp+=1; + } + } + else { + // @TODO handle matching point + STBTT_assert(0); + } + if (flags & (1<<3)) { // WE_HAVE_A_SCALE + mtx[0] = mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; + mtx[1] = mtx[2] = 0; + } else if (flags & (1<<6)) { // WE_HAVE_AN_X_AND_YSCALE + mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; + mtx[1] = mtx[2] = 0; + mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; + } else if (flags & (1<<7)) { // WE_HAVE_A_TWO_BY_TWO + mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; + mtx[1] = ttSHORT(comp)/16384.0f; comp+=2; + mtx[2] = ttSHORT(comp)/16384.0f; comp+=2; + mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; + } + + // Find transformation scales. + m = (float) STBTT_sqrt(mtx[0]*mtx[0] + mtx[1]*mtx[1]); + n = (float) STBTT_sqrt(mtx[2]*mtx[2] + mtx[3]*mtx[3]); + + // Get indexed glyph. + comp_num_verts = stbtt_GetGlyphShape(info, gidx, &comp_verts); + if (comp_num_verts > 0) { + // Transform vertices. + for (i = 0; i < comp_num_verts; ++i) { + stbtt_vertex* v = &comp_verts[i]; + stbtt_vertex_type x,y; + x=v->x; y=v->y; + v->x = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); + v->y = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); + x=v->cx; y=v->cy; + v->cx = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); + v->cy = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); + } + // Append vertices. + tmp = (stbtt_vertex*)STBTT_malloc((num_vertices+comp_num_verts)*sizeof(stbtt_vertex), info->userdata); + if (!tmp) { + if (vertices) STBTT_free(vertices, info->userdata); + if (comp_verts) STBTT_free(comp_verts, info->userdata); + return 0; + } + if (num_vertices > 0 && vertices) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); + STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex)); + if (vertices) STBTT_free(vertices, info->userdata); + vertices = tmp; + STBTT_free(comp_verts, info->userdata); + num_vertices += comp_num_verts; + } + // More components ? + more = flags & (1<<5); + } + } else { + // numberOfCounters == 0, do nothing + } + + *pvertices = vertices; + return num_vertices; +} + +typedef struct +{ + int bounds; + int started; + float first_x, first_y; + float x, y; + stbtt_int32 min_x, max_x, min_y, max_y; + + stbtt_vertex *pvertices; + int num_vertices; +} stbtt__csctx; + +#define STBTT__CSCTX_INIT(bounds) {bounds,0, 0,0, 0,0, 0,0,0,0, NULL, 0} + +static void stbtt__track_vertex(stbtt__csctx *c, stbtt_int32 x, stbtt_int32 y) +{ + if (x > c->max_x || !c->started) c->max_x = x; + if (y > c->max_y || !c->started) c->max_y = y; + if (x < c->min_x || !c->started) c->min_x = x; + if (y < c->min_y || !c->started) c->min_y = y; + c->started = 1; +} + +static void stbtt__csctx_v(stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1) +{ + if (c->bounds) { + stbtt__track_vertex(c, x, y); + if (type == STBTT_vcubic) { + stbtt__track_vertex(c, cx, cy); + stbtt__track_vertex(c, cx1, cy1); + } + } else { + stbtt_setvertex(&c->pvertices[c->num_vertices], type, x, y, cx, cy); + c->pvertices[c->num_vertices].cx1 = (stbtt_int16) cx1; + c->pvertices[c->num_vertices].cy1 = (stbtt_int16) cy1; + } + c->num_vertices++; +} + +static void stbtt__csctx_close_shape(stbtt__csctx *ctx) +{ + if (ctx->first_x != ctx->x || ctx->first_y != ctx->y) + stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->first_x, (int)ctx->first_y, 0, 0, 0, 0); +} + +static void stbtt__csctx_rmove_to(stbtt__csctx *ctx, float dx, float dy) +{ + stbtt__csctx_close_shape(ctx); + ctx->first_x = ctx->x = ctx->x + dx; + ctx->first_y = ctx->y = ctx->y + dy; + stbtt__csctx_v(ctx, STBTT_vmove, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); +} + +static void stbtt__csctx_rline_to(stbtt__csctx *ctx, float dx, float dy) +{ + ctx->x += dx; + ctx->y += dy; + stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); +} + +static void stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) +{ + float cx1 = ctx->x + dx1; + float cy1 = ctx->y + dy1; + float cx2 = cx1 + dx2; + float cy2 = cy1 + dy2; + ctx->x = cx2 + dx3; + ctx->y = cy2 + dy3; + stbtt__csctx_v(ctx, STBTT_vcubic, (int)ctx->x, (int)ctx->y, (int)cx1, (int)cy1, (int)cx2, (int)cy2); +} + +static stbtt__buf stbtt__get_subr(stbtt__buf idx, int n) +{ + int count = stbtt__cff_index_count(&idx); + int bias = 107; + if (count >= 33900) + bias = 32768; + else if (count >= 1240) + bias = 1131; + n += bias; + if (n < 0 || n >= count) + return stbtt__new_buf(NULL, 0); + return stbtt__cff_index_get(idx, n); +} + +static stbtt__buf stbtt__cid_get_glyph_subrs(const stbtt_fontinfo *info, int glyph_index) +{ + stbtt__buf fdselect = info->fdselect; + int nranges, start, end, v, fmt, fdselector = -1, i; + + stbtt__buf_seek(&fdselect, 0); + fmt = stbtt__buf_get8(&fdselect); + if (fmt == 0) { + // untested + stbtt__buf_skip(&fdselect, glyph_index); + fdselector = stbtt__buf_get8(&fdselect); + } else if (fmt == 3) { + nranges = stbtt__buf_get16(&fdselect); + start = stbtt__buf_get16(&fdselect); + for (i = 0; i < nranges; i++) { + v = stbtt__buf_get8(&fdselect); + end = stbtt__buf_get16(&fdselect); + if (glyph_index >= start && glyph_index < end) { + fdselector = v; + break; + } + start = end; + } + } + if (fdselector == -1) return stbtt__new_buf(NULL, 0); // [DEAR IMGUI] fixed, see #6007 and nothings/stb#1422 + return stbtt__get_subrs(info->cff, stbtt__cff_index_get(info->fontdicts, fdselector)); +} + +static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c) +{ + int in_header = 1, maskbits = 0, subr_stack_height = 0, sp = 0, v, i, b0; + int has_subrs = 0, clear_stack; + float s[48]; + stbtt__buf subr_stack[10], subrs = info->subrs, b; + float f; + +#define STBTT__CSERR(s) (0) + + // this currently ignores the initial width value, which isn't needed if we have hmtx + b = stbtt__cff_index_get(info->charstrings, glyph_index); + while (b.cursor < b.size) { + i = 0; + clear_stack = 1; + b0 = stbtt__buf_get8(&b); + switch (b0) { + // @TODO implement hinting + case 0x13: // hintmask + case 0x14: // cntrmask + if (in_header) + maskbits += (sp / 2); // implicit "vstem" + in_header = 0; + stbtt__buf_skip(&b, (maskbits + 7) / 8); + break; + + case 0x01: // hstem + case 0x03: // vstem + case 0x12: // hstemhm + case 0x17: // vstemhm + maskbits += (sp / 2); + break; + + case 0x15: // rmoveto + in_header = 0; + if (sp < 2) return STBTT__CSERR("rmoveto stack"); + stbtt__csctx_rmove_to(c, s[sp-2], s[sp-1]); + break; + case 0x04: // vmoveto + in_header = 0; + if (sp < 1) return STBTT__CSERR("vmoveto stack"); + stbtt__csctx_rmove_to(c, 0, s[sp-1]); + break; + case 0x16: // hmoveto + in_header = 0; + if (sp < 1) return STBTT__CSERR("hmoveto stack"); + stbtt__csctx_rmove_to(c, s[sp-1], 0); + break; + + case 0x05: // rlineto + if (sp < 2) return STBTT__CSERR("rlineto stack"); + for (; i + 1 < sp; i += 2) + stbtt__csctx_rline_to(c, s[i], s[i+1]); + break; + + // hlineto/vlineto and vhcurveto/hvcurveto alternate horizontal and vertical + // starting from a different place. + + case 0x07: // vlineto + if (sp < 1) return STBTT__CSERR("vlineto stack"); + goto vlineto; + case 0x06: // hlineto + if (sp < 1) return STBTT__CSERR("hlineto stack"); + for (;;) { + if (i >= sp) break; + stbtt__csctx_rline_to(c, s[i], 0); + i++; + vlineto: + if (i >= sp) break; + stbtt__csctx_rline_to(c, 0, s[i]); + i++; + } + break; + + case 0x1F: // hvcurveto + if (sp < 4) return STBTT__CSERR("hvcurveto stack"); + goto hvcurveto; + case 0x1E: // vhcurveto + if (sp < 4) return STBTT__CSERR("vhcurveto stack"); + for (;;) { + if (i + 3 >= sp) break; + stbtt__csctx_rccurve_to(c, 0, s[i], s[i+1], s[i+2], s[i+3], (sp - i == 5) ? s[i + 4] : 0.0f); + i += 4; + hvcurveto: + if (i + 3 >= sp) break; + stbtt__csctx_rccurve_to(c, s[i], 0, s[i+1], s[i+2], (sp - i == 5) ? s[i+4] : 0.0f, s[i+3]); + i += 4; + } + break; + + case 0x08: // rrcurveto + if (sp < 6) return STBTT__CSERR("rcurveline stack"); + for (; i + 5 < sp; i += 6) + stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); + break; + + case 0x18: // rcurveline + if (sp < 8) return STBTT__CSERR("rcurveline stack"); + for (; i + 5 < sp - 2; i += 6) + stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); + if (i + 1 >= sp) return STBTT__CSERR("rcurveline stack"); + stbtt__csctx_rline_to(c, s[i], s[i+1]); + break; + + case 0x19: // rlinecurve + if (sp < 8) return STBTT__CSERR("rlinecurve stack"); + for (; i + 1 < sp - 6; i += 2) + stbtt__csctx_rline_to(c, s[i], s[i+1]); + if (i + 5 >= sp) return STBTT__CSERR("rlinecurve stack"); + stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); + break; + + case 0x1A: // vvcurveto + case 0x1B: // hhcurveto + if (sp < 4) return STBTT__CSERR("(vv|hh)curveto stack"); + f = 0.0; + if (sp & 1) { f = s[i]; i++; } + for (; i + 3 < sp; i += 4) { + if (b0 == 0x1B) + stbtt__csctx_rccurve_to(c, s[i], f, s[i+1], s[i+2], s[i+3], 0.0); + else + stbtt__csctx_rccurve_to(c, f, s[i], s[i+1], s[i+2], 0.0, s[i+3]); + f = 0.0; + } + break; + + case 0x0A: // callsubr + if (!has_subrs) { + if (info->fdselect.size) + subrs = stbtt__cid_get_glyph_subrs(info, glyph_index); + has_subrs = 1; + } + // FALLTHROUGH + case 0x1D: // callgsubr + if (sp < 1) return STBTT__CSERR("call(g|)subr stack"); + v = (int) s[--sp]; + if (subr_stack_height >= 10) return STBTT__CSERR("recursion limit"); + subr_stack[subr_stack_height++] = b; + b = stbtt__get_subr(b0 == 0x0A ? subrs : info->gsubrs, v); + if (b.size == 0) return STBTT__CSERR("subr not found"); + b.cursor = 0; + clear_stack = 0; + break; + + case 0x0B: // return + if (subr_stack_height <= 0) return STBTT__CSERR("return outside subr"); + b = subr_stack[--subr_stack_height]; + clear_stack = 0; + break; + + case 0x0E: // endchar + stbtt__csctx_close_shape(c); + return 1; + + case 0x0C: { // two-byte escape + float dx1, dx2, dx3, dx4, dx5, dx6, dy1, dy2, dy3, dy4, dy5, dy6; + float dx, dy; + int b1 = stbtt__buf_get8(&b); + switch (b1) { + // @TODO These "flex" implementations ignore the flex-depth and resolution, + // and always draw beziers. + case 0x22: // hflex + if (sp < 7) return STBTT__CSERR("hflex stack"); + dx1 = s[0]; + dx2 = s[1]; + dy2 = s[2]; + dx3 = s[3]; + dx4 = s[4]; + dx5 = s[5]; + dx6 = s[6]; + stbtt__csctx_rccurve_to(c, dx1, 0, dx2, dy2, dx3, 0); + stbtt__csctx_rccurve_to(c, dx4, 0, dx5, -dy2, dx6, 0); + break; + + case 0x23: // flex + if (sp < 13) return STBTT__CSERR("flex stack"); + dx1 = s[0]; + dy1 = s[1]; + dx2 = s[2]; + dy2 = s[3]; + dx3 = s[4]; + dy3 = s[5]; + dx4 = s[6]; + dy4 = s[7]; + dx5 = s[8]; + dy5 = s[9]; + dx6 = s[10]; + dy6 = s[11]; + //fd is s[12] + stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); + stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); + break; + + case 0x24: // hflex1 + if (sp < 9) return STBTT__CSERR("hflex1 stack"); + dx1 = s[0]; + dy1 = s[1]; + dx2 = s[2]; + dy2 = s[3]; + dx3 = s[4]; + dx4 = s[5]; + dx5 = s[6]; + dy5 = s[7]; + dx6 = s[8]; + stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, 0); + stbtt__csctx_rccurve_to(c, dx4, 0, dx5, dy5, dx6, -(dy1+dy2+dy5)); + break; + + case 0x25: // flex1 + if (sp < 11) return STBTT__CSERR("flex1 stack"); + dx1 = s[0]; + dy1 = s[1]; + dx2 = s[2]; + dy2 = s[3]; + dx3 = s[4]; + dy3 = s[5]; + dx4 = s[6]; + dy4 = s[7]; + dx5 = s[8]; + dy5 = s[9]; + dx6 = dy6 = s[10]; + dx = dx1+dx2+dx3+dx4+dx5; + dy = dy1+dy2+dy3+dy4+dy5; + if (STBTT_fabs(dx) > STBTT_fabs(dy)) + dy6 = -dy; + else + dx6 = -dx; + stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); + stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); + break; + + default: + return STBTT__CSERR("unimplemented"); + } + } break; + + default: + if (b0 != 255 && b0 != 28 && b0 < 32) + return STBTT__CSERR("reserved operator"); + + // push immediate + if (b0 == 255) { + f = (float)(stbtt_int32)stbtt__buf_get32(&b) / 0x10000; + } else { + stbtt__buf_skip(&b, -1); + f = (float)(stbtt_int16)stbtt__cff_int(&b); + } + if (sp >= 48) return STBTT__CSERR("push stack overflow"); + s[sp++] = f; + clear_stack = 0; + break; + } + if (clear_stack) sp = 0; + } + return STBTT__CSERR("no endchar"); + +#undef STBTT__CSERR +} + +static int stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) +{ + // runs the charstring twice, once to count and once to output (to avoid realloc) + stbtt__csctx count_ctx = STBTT__CSCTX_INIT(1); + stbtt__csctx output_ctx = STBTT__CSCTX_INIT(0); + if (stbtt__run_charstring(info, glyph_index, &count_ctx)) { + *pvertices = (stbtt_vertex*)STBTT_malloc(count_ctx.num_vertices*sizeof(stbtt_vertex), info->userdata); + output_ctx.pvertices = *pvertices; + if (stbtt__run_charstring(info, glyph_index, &output_ctx)) { + STBTT_assert(output_ctx.num_vertices == count_ctx.num_vertices); + return output_ctx.num_vertices; + } + } + *pvertices = NULL; + return 0; +} + +static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) +{ + stbtt__csctx c = STBTT__CSCTX_INIT(1); + int r = stbtt__run_charstring(info, glyph_index, &c); + if (x0) *x0 = r ? c.min_x : 0; + if (y0) *y0 = r ? c.min_y : 0; + if (x1) *x1 = r ? c.max_x : 0; + if (y1) *y1 = r ? c.max_y : 0; + return r ? c.num_vertices : 0; +} + +STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) +{ + if (!info->cff.size) + return stbtt__GetGlyphShapeTT(info, glyph_index, pvertices); + else + return stbtt__GetGlyphShapeT2(info, glyph_index, pvertices); +} + +STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing) +{ + stbtt_uint16 numOfLongHorMetrics = ttUSHORT(info->data+info->hhea + 34); + if (glyph_index < numOfLongHorMetrics) { + if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); + if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); + } else { + if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-1)); + if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics + 2*(glyph_index - numOfLongHorMetrics)); + } +} + +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) +{ + stbtt_uint8 *data = info->data + info->kern; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + return ttUSHORT(data+10); +} + +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) +{ + stbtt_uint8 *data = info->data + info->kern; + int k, length; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + length = ttUSHORT(data+10); + if (table_length < length) + length = table_length; + + for (k = 0; k < length; k++) + { + table[k].glyph1 = ttUSHORT(data+18+(k*6)); + table[k].glyph2 = ttUSHORT(data+20+(k*6)); + table[k].advance = ttSHORT(data+22+(k*6)); + } + + return length; +} + +static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +{ + stbtt_uint8 *data = info->data + info->kern; + stbtt_uint32 needle, straw; + int l, r, m; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + l = 0; + r = ttUSHORT(data+10) - 1; + needle = glyph1 << 16 | glyph2; + while (l <= r) { + m = (l + r) >> 1; + straw = ttULONG(data+18+(m*6)); // note: unaligned read + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else + return ttSHORT(data+22+(m*6)); + } + return 0; +} + +static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) +{ + stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); + switch (coverageFormat) { + case 1: { + stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); + + // Binary search. + stbtt_int32 l=0, r=glyphCount-1, m; + int straw, needle=glyph; + while (l <= r) { + stbtt_uint8 *glyphArray = coverageTable + 4; + stbtt_uint16 glyphID; + m = (l + r) >> 1; + glyphID = ttUSHORT(glyphArray + 2 * m); + straw = glyphID; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + return m; + } + } + break; + } + + case 2: { + stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); + stbtt_uint8 *rangeArray = coverageTable + 4; + + // Binary search. + stbtt_int32 l=0, r=rangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *rangeRecord; + m = (l + r) >> 1; + rangeRecord = rangeArray + 6 * m; + strawStart = ttUSHORT(rangeRecord); + strawEnd = ttUSHORT(rangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else { + stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); + return startCoverageIndex + glyph - strawStart; + } + } + break; + } + + default: return -1; // unsupported + } + + return -1; +} + +static stbtt_int32 stbtt__GetGlyphClass(stbtt_uint8 *classDefTable, int glyph) +{ + stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); + switch (classDefFormat) + { + case 1: { + stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); + stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); + stbtt_uint8 *classDef1ValueArray = classDefTable + 6; + + if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) + return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); + break; + } + + case 2: { + stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); + stbtt_uint8 *classRangeRecords = classDefTable + 4; + + // Binary search. + stbtt_int32 l=0, r=classRangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *classRangeRecord; + m = (l + r) >> 1; + classRangeRecord = classRangeRecords + 6 * m; + strawStart = ttUSHORT(classRangeRecord); + strawEnd = ttUSHORT(classRangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else + return (stbtt_int32)ttUSHORT(classRangeRecord + 4); + } + break; + } + + default: + return -1; // Unsupported definition type, return an error. + } + + // "All glyphs not assigned to a class fall into class 0". (OpenType spec) + return 0; +} + +// Define to STBTT_assert(x) if you want to break on unimplemented formats. +#define STBTT_GPOS_TODO_assert(x) + +static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +{ + stbtt_uint16 lookupListOffset; + stbtt_uint8 *lookupList; + stbtt_uint16 lookupCount; + stbtt_uint8 *data; + stbtt_int32 i, sti; + + if (!info->gpos) return 0; + + data = info->data + info->gpos; + + if (ttUSHORT(data+0) != 1) return 0; // Major version 1 + if (ttUSHORT(data+2) != 0) return 0; // Minor version 0 + + lookupListOffset = ttUSHORT(data+8); + lookupList = data + lookupListOffset; + lookupCount = ttUSHORT(lookupList); + + for (i=0; i= pairSetCount) return 0; + + needle=glyph2; + r=pairValueCount-1; + l=0; + + // Binary search. + while (l <= r) { + stbtt_uint16 secondGlyph; + stbtt_uint8 *pairValue; + m = (l + r) >> 1; + pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; + secondGlyph = ttUSHORT(pairValue); + straw = secondGlyph; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + stbtt_int16 xAdvance = ttSHORT(pairValue + 2); + return xAdvance; + } + } + } else + return 0; + break; + } + + case 2: { + stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); + stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); + if (valueFormat1 == 4 && valueFormat2 == 0) { // Support more formats? + stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); + stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); + int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); + int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); + + stbtt_uint16 class1Count = ttUSHORT(table + 12); + stbtt_uint16 class2Count = ttUSHORT(table + 14); + stbtt_uint8 *class1Records, *class2Records; + stbtt_int16 xAdvance; + + if (glyph1class < 0 || glyph1class >= class1Count) return 0; // malformed + if (glyph2class < 0 || glyph2class >= class2Count) return 0; // malformed + + class1Records = table + 16; + class2Records = class1Records + 2 * (glyph1class * class2Count); + xAdvance = ttSHORT(class2Records + 2 * glyph2class); + return xAdvance; + } else + return 0; + break; + } + + default: + return 0; // Unsupported position format + } + } + } + + return 0; +} + +STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int g2) +{ + int xAdvance = 0; + + if (info->gpos) + xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2); + else if (info->kern) + xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2); + + return xAdvance; +} + +STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) +{ + if (!info->kern && !info->gpos) // if no kerning table, don't waste time looking up both codepoint->glyphs + return 0; + return stbtt_GetGlyphKernAdvance(info, stbtt_FindGlyphIndex(info,ch1), stbtt_FindGlyphIndex(info,ch2)); +} + +STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing) +{ + stbtt_GetGlyphHMetrics(info, stbtt_FindGlyphIndex(info,codepoint), advanceWidth, leftSideBearing); +} + +STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap) +{ + if (ascent ) *ascent = ttSHORT(info->data+info->hhea + 4); + if (descent) *descent = ttSHORT(info->data+info->hhea + 6); + if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); +} + +STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) +{ + int tab = stbtt__find_table(info->data, info->fontstart, "OS/2"); + if (!tab) + return 0; + if (typoAscent ) *typoAscent = ttSHORT(info->data+tab + 68); + if (typoDescent) *typoDescent = ttSHORT(info->data+tab + 70); + if (typoLineGap) *typoLineGap = ttSHORT(info->data+tab + 72); + return 1; +} + +STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) +{ + *x0 = ttSHORT(info->data + info->head + 36); + *y0 = ttSHORT(info->data + info->head + 38); + *x1 = ttSHORT(info->data + info->head + 40); + *y1 = ttSHORT(info->data + info->head + 42); +} + +STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float height) +{ + int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea + 6); + return (float) height / fheight; +} + +STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels) +{ + int unitsPerEm = ttUSHORT(info->data + info->head + 18); + return pixels / unitsPerEm; +} + +STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) +{ + STBTT_free(v, info->userdata); +} + +STBTT_DEF stbtt_uint8 *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl) +{ + int i; + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc_list = data + stbtt__get_svg((stbtt_fontinfo *) info); + + int numEntries = ttUSHORT(svg_doc_list); + stbtt_uint8 *svg_docs = svg_doc_list + 2; + + for(i=0; i= ttUSHORT(svg_doc)) && (gl <= ttUSHORT(svg_doc + 2))) + return svg_doc; + } + return 0; +} + +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg) +{ + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc; + + if (info->svg == 0) + return 0; + + svg_doc = stbtt_FindSVGDoc(info, gl); + if (svg_doc != NULL) { + *svg = (char *) data + info->svg + ttULONG(svg_doc + 4); + return ttULONG(svg_doc + 8); + } else { + return 0; + } +} + +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) +{ + return stbtt_GetGlyphSVG(info, stbtt_FindGlyphIndex(info, unicode_codepoint), svg); +} + +////////////////////////////////////////////////////////////////////////////// +// +// antialiasing software rasterizer +// + +STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) +{ + int x0=0,y0=0,x1,y1; // =0 suppresses compiler warning + if (!stbtt_GetGlyphBox(font, glyph, &x0,&y0,&x1,&y1)) { + // e.g. space character + if (ix0) *ix0 = 0; + if (iy0) *iy0 = 0; + if (ix1) *ix1 = 0; + if (iy1) *iy1 = 0; + } else { + // move to integral bboxes (treating pixels as little squares, what pixels get touched)? + if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); + if (iy0) *iy0 = STBTT_ifloor(-y1 * scale_y + shift_y); + if (ix1) *ix1 = STBTT_iceil ( x1 * scale_x + shift_x); + if (iy1) *iy1 = STBTT_iceil (-y0 * scale_y + shift_y); + } +} + +STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) +{ + stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); +} + +STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) +{ + stbtt_GetGlyphBitmapBoxSubpixel(font, stbtt_FindGlyphIndex(font,codepoint), scale_x, scale_y,shift_x,shift_y, ix0,iy0,ix1,iy1); +} + +STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) +{ + stbtt_GetCodepointBitmapBoxSubpixel(font, codepoint, scale_x, scale_y,0.0f,0.0f, ix0,iy0,ix1,iy1); +} + +////////////////////////////////////////////////////////////////////////////// +// +// Rasterizer + +typedef struct stbtt__hheap_chunk +{ + struct stbtt__hheap_chunk *next; +} stbtt__hheap_chunk; + +typedef struct stbtt__hheap +{ + struct stbtt__hheap_chunk *head; + void *first_free; + int num_remaining_in_head_chunk; +} stbtt__hheap; + +static void *stbtt__hheap_alloc(stbtt__hheap *hh, size_t size, void *userdata) +{ + if (hh->first_free) { + void *p = hh->first_free; + hh->first_free = * (void **) p; + return p; + } else { + if (hh->num_remaining_in_head_chunk == 0) { + int count = (size < 32 ? 2000 : size < 128 ? 800 : 100); + stbtt__hheap_chunk *c = (stbtt__hheap_chunk *) STBTT_malloc(sizeof(stbtt__hheap_chunk) + size * count, userdata); + if (c == NULL) + return NULL; + c->next = hh->head; + hh->head = c; + hh->num_remaining_in_head_chunk = count; + } + --hh->num_remaining_in_head_chunk; + return (char *) (hh->head) + sizeof(stbtt__hheap_chunk) + size * hh->num_remaining_in_head_chunk; + } +} + +static void stbtt__hheap_free(stbtt__hheap *hh, void *p) +{ + *(void **) p = hh->first_free; + hh->first_free = p; +} + +static void stbtt__hheap_cleanup(stbtt__hheap *hh, void *userdata) +{ + stbtt__hheap_chunk *c = hh->head; + while (c) { + stbtt__hheap_chunk *n = c->next; + STBTT_free(c, userdata); + c = n; + } +} + +typedef struct stbtt__edge { + float x0,y0, x1,y1; + int invert; +} stbtt__edge; + + +typedef struct stbtt__active_edge +{ + struct stbtt__active_edge *next; + #if STBTT_RASTERIZER_VERSION==1 + int x,dx; + float ey; + int direction; + #elif STBTT_RASTERIZER_VERSION==2 + float fx,fdx,fdy; + float direction; + float sy; + float ey; + #else + #error "Unrecognized value of STBTT_RASTERIZER_VERSION" + #endif +} stbtt__active_edge; + +#if STBTT_RASTERIZER_VERSION == 1 +#define STBTT_FIXSHIFT 10 +#define STBTT_FIX (1 << STBTT_FIXSHIFT) +#define STBTT_FIXMASK (STBTT_FIX-1) + +static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) +{ + stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); + float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); + STBTT_assert(z != NULL); + if (!z) return z; + + // round dx down to avoid overshooting + if (dxdy < 0) + z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); + else + z->dx = STBTT_ifloor(STBTT_FIX * dxdy); + + z->x = STBTT_ifloor(STBTT_FIX * e->x0 + z->dx * (start_point - e->y0)); // use z->dx so when we offset later it's by the same amount + z->x -= off_x * STBTT_FIX; + + z->ey = e->y1; + z->next = 0; + z->direction = e->invert ? 1 : -1; + return z; +} +#elif STBTT_RASTERIZER_VERSION == 2 +static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) +{ + stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); + float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); + STBTT_assert(z != NULL); + //STBTT_assert(e->y0 <= start_point); + if (!z) return z; + z->fdx = dxdy; + z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; + z->fx = e->x0 + dxdy * (start_point - e->y0); + z->fx -= off_x; + z->direction = e->invert ? 1.0f : -1.0f; + z->sy = e->y0; + z->ey = e->y1; + z->next = 0; + return z; +} +#else +#error "Unrecognized value of STBTT_RASTERIZER_VERSION" +#endif + +#if STBTT_RASTERIZER_VERSION == 1 +// note: this routine clips fills that extend off the edges... ideally this +// wouldn't happen, but it could happen if the truetype glyph bounding boxes +// are wrong, or if the user supplies a too-small bitmap +static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) +{ + // non-zero winding fill + int x0=0, w=0; + + while (e) { + if (w == 0) { + // if we're currently at zero, we need to record the edge start point + x0 = e->x; w += e->direction; + } else { + int x1 = e->x; w += e->direction; + // if we went to zero, we need to draw + if (w == 0) { + int i = x0 >> STBTT_FIXSHIFT; + int j = x1 >> STBTT_FIXSHIFT; + + if (i < len && j >= 0) { + if (i == j) { + // x0,x1 are the same pixel, so compute combined coverage + scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); + } else { + if (i >= 0) // add antialiasing for x0 + scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT); + else + i = -1; // clip + + if (j < len) // add antialiasing for x1 + scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); + else + j = len; // clip + + for (++i; i < j; ++i) // fill pixels between x0 and x1 + scanline[i] = scanline[i] + (stbtt_uint8) max_weight; + } + } + } + } + + e = e->next; + } +} + +static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) +{ + stbtt__hheap hh = { 0, 0, 0 }; + stbtt__active_edge *active = NULL; + int y,j=0; + int max_weight = (255 / vsubsample); // weight per vertical scanline + int s; // vertical subsample index + unsigned char scanline_data[512], *scanline; + + if (result->w > 512) + scanline = (unsigned char *) STBTT_malloc(result->w, userdata); + else + scanline = scanline_data; + + y = off_y * vsubsample; + e[n].y0 = (off_y + result->h) * (float) vsubsample + 1; + + while (j < result->h) { + STBTT_memset(scanline, 0, result->w); + for (s=0; s < vsubsample; ++s) { + // find center of pixel for this scanline + float scan_y = y + 0.5f; + stbtt__active_edge **step = &active; + + // update all active edges; + // remove all active edges that terminate before the center of this scanline + while (*step) { + stbtt__active_edge * z = *step; + if (z->ey <= scan_y) { + *step = z->next; // delete from list + STBTT_assert(z->direction); + z->direction = 0; + stbtt__hheap_free(&hh, z); + } else { + z->x += z->dx; // advance to position for current scanline + step = &((*step)->next); // advance through list + } + } + + // resort the list if needed + for(;;) { + int changed=0; + step = &active; + while (*step && (*step)->next) { + if ((*step)->x > (*step)->next->x) { + stbtt__active_edge *t = *step; + stbtt__active_edge *q = t->next; + + t->next = q->next; + q->next = t; + *step = q; + changed = 1; + } + step = &(*step)->next; + } + if (!changed) break; + } + + // insert all edges that start before the center of this scanline -- omit ones that also end on this scanline + while (e->y0 <= scan_y) { + if (e->y1 > scan_y) { + stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y, userdata); + if (z != NULL) { + // find insertion point + if (active == NULL) + active = z; + else if (z->x < active->x) { + // insert at front + z->next = active; + active = z; + } else { + // find thing to insert AFTER + stbtt__active_edge *p = active; + while (p->next && p->next->x < z->x) + p = p->next; + // at this point, p->next->x is NOT < z->x + z->next = p->next; + p->next = z; + } + } + } + ++e; + } + + // now process all active edges in XOR fashion + if (active) + stbtt__fill_active_edges(scanline, result->w, active, max_weight); + + ++y; + } + STBTT_memcpy(result->pixels + j * result->stride, scanline, result->w); + ++j; + } + + stbtt__hheap_cleanup(&hh, userdata); + + if (scanline != scanline_data) + STBTT_free(scanline, userdata); +} + +#elif STBTT_RASTERIZER_VERSION == 2 + +// the edge passed in here does not cross the vertical line at x or the vertical line at x+1 +// (i.e. it has already been clipped to those) +static void stbtt__handle_clipped_edge(float *scanline, int x, stbtt__active_edge *e, float x0, float y0, float x1, float y1) +{ + if (y0 == y1) return; + STBTT_assert(y0 < y1); + STBTT_assert(e->sy <= e->ey); + if (y0 > e->ey) return; + if (y1 < e->sy) return; + if (y0 < e->sy) { + x0 += (x1-x0) * (e->sy - y0) / (y1-y0); + y0 = e->sy; + } + if (y1 > e->ey) { + x1 += (x1-x0) * (e->ey - y1) / (y1-y0); + y1 = e->ey; + } + + if (x0 == x) + STBTT_assert(x1 <= x+1); + else if (x0 == x+1) + STBTT_assert(x1 >= x); + else if (x0 <= x) + STBTT_assert(x1 <= x); + else if (x0 >= x+1) + STBTT_assert(x1 >= x+1); + else + STBTT_assert(x1 >= x && x1 <= x+1); + + if (x0 <= x && x1 <= x) + scanline[x] += e->direction * (y1-y0); + else if (x0 >= x+1 && x1 >= x+1) + ; + else { + STBTT_assert(x0 >= x && x0 <= x+1 && x1 >= x && x1 <= x+1); + scanline[x] += e->direction * (y1-y0) * (1-((x0-x)+(x1-x))/2); // coverage = 1 - average x position + } +} + +static float stbtt__sized_trapezoid_area(float height, float top_width, float bottom_width) +{ + STBTT_assert(top_width >= 0); + STBTT_assert(bottom_width >= 0); + return (top_width + bottom_width) / 2.0f * height; +} + +static float stbtt__position_trapezoid_area(float height, float tx0, float tx1, float bx0, float bx1) +{ + return stbtt__sized_trapezoid_area(height, tx1 - tx0, bx1 - bx0); +} + +static float stbtt__sized_triangle_area(float height, float width) +{ + return height * width / 2; +} + +static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) +{ + float y_bottom = y_top+1; + + while (e) { + // brute force every pixel + + // compute intersection points with top & bottom + STBTT_assert(e->ey >= y_top); + + if (e->fdx == 0) { + float x0 = e->fx; + if (x0 < len) { + if (x0 >= 0) { + stbtt__handle_clipped_edge(scanline,(int) x0,e, x0,y_top, x0,y_bottom); + stbtt__handle_clipped_edge(scanline_fill-1,(int) x0+1,e, x0,y_top, x0,y_bottom); + } else { + stbtt__handle_clipped_edge(scanline_fill-1,0,e, x0,y_top, x0,y_bottom); + } + } + } else { + float x0 = e->fx; + float dx = e->fdx; + float xb = x0 + dx; + float x_top, x_bottom; + float sy0,sy1; + float dy = e->fdy; + STBTT_assert(e->sy <= y_bottom && e->ey >= y_top); + + // compute endpoints of line segment clipped to this scanline (if the + // line segment starts on this scanline. x0 is the intersection of the + // line with y_top, but that may be off the line segment. + if (e->sy > y_top) { + x_top = x0 + dx * (e->sy - y_top); + sy0 = e->sy; + } else { + x_top = x0; + sy0 = y_top; + } + if (e->ey < y_bottom) { + x_bottom = x0 + dx * (e->ey - y_top); + sy1 = e->ey; + } else { + x_bottom = xb; + sy1 = y_bottom; + } + + if (x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) { + // from here on, we don't have to range check x values + + if ((int) x_top == (int) x_bottom) { + float height; + // simple case, only spans one pixel + int x = (int) x_top; + height = (sy1 - sy0) * e->direction; + STBTT_assert(x >= 0 && x < len); + scanline[x] += stbtt__position_trapezoid_area(height, x_top, x+1.0f, x_bottom, x+1.0f); + scanline_fill[x] += height; // everything right of this pixel is filled + } else { + int x,x1,x2; + float y_crossing, y_final, step, sign, area; + // covers 2+ pixels + if (x_top > x_bottom) { + // flip scanline vertically; signed area is the same + float t; + sy0 = y_bottom - (sy0 - y_top); + sy1 = y_bottom - (sy1 - y_top); + t = sy0, sy0 = sy1, sy1 = t; + t = x_bottom, x_bottom = x_top, x_top = t; + dx = -dx; + dy = -dy; + t = x0, x0 = xb, xb = t; + } + STBTT_assert(dy >= 0); + STBTT_assert(dx >= 0); + + x1 = (int) x_top; + x2 = (int) x_bottom; + // compute intersection with y axis at x1+1 + y_crossing = y_top + dy * (x1+1 - x0); + + // compute intersection with y axis at x2 + y_final = y_top + dy * (x2 - x0); + + // x1 x_top x2 x_bottom + // y_top +------|-----+------------+------------+--------|---+------------+ + // | | | | | | + // | | | | | | + // sy0 | Txxxxx|............|............|............|............| + // y_crossing | *xxxxx.......|............|............|............| + // | | xxxxx..|............|............|............| + // | | /- xx*xxxx........|............|............| + // | | dy < | xxxxxx..|............|............| + // y_final | | \- | xx*xxx.........|............| + // sy1 | | | | xxxxxB...|............| + // | | | | | | + // | | | | | | + // y_bottom +------------+------------+------------+------------+------------+ + // + // goal is to measure the area covered by '.' in each pixel + + // if x2 is right at the right edge of x1, y_crossing can blow up, github #1057 + // @TODO: maybe test against sy1 rather than y_bottom? + if (y_crossing > y_bottom) + y_crossing = y_bottom; + + sign = e->direction; + + // area of the rectangle covered from sy0..y_crossing + area = sign * (y_crossing-sy0); + + // area of the triangle (x_top,sy0), (x1+1,sy0), (x1+1,y_crossing) + scanline[x1] += stbtt__sized_triangle_area(area, x1+1 - x_top); + + // check if final y_crossing is blown up; no test case for this + if (y_final > y_bottom) { + int denom = (x2 - (x1+1)); + y_final = y_bottom; + if (denom != 0) { // [DEAR IMGUI] Avoid div by zero (https://github.com/nothings/stb/issues/1316) + dy = (y_final - y_crossing ) / denom; // if denom=0, y_final = y_crossing, so y_final <= y_bottom + } + } + + // in second pixel, area covered by line segment found in first pixel + // is always a rectangle 1 wide * the height of that line segment; this + // is exactly what the variable 'area' stores. it also gets a contribution + // from the line segment within it. the THIRD pixel will get the first + // pixel's rectangle contribution, the second pixel's rectangle contribution, + // and its own contribution. the 'own contribution' is the same in every pixel except + // the leftmost and rightmost, a trapezoid that slides down in each pixel. + // the second pixel's contribution to the third pixel will be the + // rectangle 1 wide times the height change in the second pixel, which is dy. + + step = sign * dy * 1; // dy is dy/dx, change in y for every 1 change in x, + // which multiplied by 1-pixel-width is how much pixel area changes for each step in x + // so the area advances by 'step' every time + + for (x = x1+1; x < x2; ++x) { + scanline[x] += area + step/2; // area of trapezoid is 1*step/2 + area += step; + } + STBTT_assert(STBTT_fabs(area) <= 1.01f); // accumulated error from area += step unless we round step down + STBTT_assert(sy1 > y_final-0.01f); + + // area covered in the last pixel is the rectangle from all the pixels to the left, + // plus the trapezoid filled by the line segment in this pixel all the way to the right edge + scanline[x2] += area + sign * stbtt__position_trapezoid_area(sy1-y_final, (float) x2, x2+1.0f, x_bottom, x2+1.0f); + + // the rest of the line is filled based on the total height of the line segment in this pixel + scanline_fill[x2] += sign * (sy1-sy0); + } + } else { + // if edge goes outside of box we're drawing, we require + // clipping logic. since this does not match the intended use + // of this library, we use a different, very slow brute + // force implementation + // note though that this does happen some of the time because + // x_top and x_bottom can be extrapolated at the top & bottom of + // the shape and actually lie outside the bounding box + int x; + for (x=0; x < len; ++x) { + // cases: + // + // there can be up to two intersections with the pixel. any intersection + // with left or right edges can be handled by splitting into two (or three) + // regions. intersections with top & bottom do not necessitate case-wise logic. + // + // the old way of doing this found the intersections with the left & right edges, + // then used some simple logic to produce up to three segments in sorted order + // from top-to-bottom. however, this had a problem: if an x edge was epsilon + // across the x border, then the corresponding y position might not be distinct + // from the other y segment, and it might ignored as an empty segment. to avoid + // that, we need to explicitly produce segments based on x positions. + + // rename variables to clearly-defined pairs + float y0 = y_top; + float x1 = (float) (x); + float x2 = (float) (x+1); + float x3 = xb; + float y3 = y_bottom; + + // x = e->x + e->dx * (y-y_top) + // (y-y_top) = (x - e->x) / e->dx + // y = (x - e->x) / e->dx + y_top + float y1 = (x - x0) / dx + y_top; + float y2 = (x+1 - x0) / dx + y_top; + + if (x0 < x1 && x3 > x2) { // three segments descending down-right + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); + stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x2,y2); + stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); + } else if (x3 < x1 && x0 > x2) { // three segments descending down-left + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); + stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x1,y1); + stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); + } else if (x0 < x1 && x3 > x1) { // two segments across x, down-right + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); + stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); + } else if (x3 < x1 && x0 > x1) { // two segments across x, down-left + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); + stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); + } else if (x0 < x2 && x3 > x2) { // two segments across x+1, down-right + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); + stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); + } else if (x3 < x2 && x0 > x2) { // two segments across x+1, down-left + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); + stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); + } else { // one segment + stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x3,y3); + } + } + } + } + e = e->next; + } +} + +// directly AA rasterize edges w/o supersampling +static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) +{ + stbtt__hheap hh = { 0, 0, 0 }; + stbtt__active_edge *active = NULL; + int y,j=0, i; + float scanline_data[129], *scanline, *scanline2; + + STBTT__NOTUSED(vsubsample); + + if (result->w > 64) + scanline = (float *) STBTT_malloc((result->w*2+1) * sizeof(float), userdata); + else + scanline = scanline_data; + + scanline2 = scanline + result->w; + + y = off_y; + e[n].y0 = (float) (off_y + result->h) + 1; + + while (j < result->h) { + // find center of pixel for this scanline + float scan_y_top = y + 0.0f; + float scan_y_bottom = y + 1.0f; + stbtt__active_edge **step = &active; + + STBTT_memset(scanline , 0, result->w*sizeof(scanline[0])); + STBTT_memset(scanline2, 0, (result->w+1)*sizeof(scanline[0])); + + // update all active edges; + // remove all active edges that terminate before the top of this scanline + while (*step) { + stbtt__active_edge * z = *step; + if (z->ey <= scan_y_top) { + *step = z->next; // delete from list + STBTT_assert(z->direction); + z->direction = 0; + stbtt__hheap_free(&hh, z); + } else { + step = &((*step)->next); // advance through list + } + } + + // insert all edges that start before the bottom of this scanline + while (e->y0 <= scan_y_bottom) { + if (e->y0 != e->y1) { + stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y_top, userdata); + if (z != NULL) { + if (j == 0 && off_y != 0) { + if (z->ey < scan_y_top) { + // this can happen due to subpixel positioning and some kind of fp rounding error i think + z->ey = scan_y_top; + } + } + STBTT_assert(z->ey >= scan_y_top); // if we get really unlucky a tiny bit of an edge can be out of bounds + // insert at front + z->next = active; + active = z; + } + } + ++e; + } + + // now process all active edges + if (active) + stbtt__fill_active_edges_new(scanline, scanline2+1, result->w, active, scan_y_top); + + { + float sum = 0; + for (i=0; i < result->w; ++i) { + float k; + int m; + sum += scanline2[i]; + k = scanline[i] + sum; + k = (float) STBTT_fabs(k)*255 + 0.5f; + m = (int) k; + if (m > 255) m = 255; + result->pixels[j*result->stride + i] = (unsigned char) m; + } + } + // advance all the edges + step = &active; + while (*step) { + stbtt__active_edge *z = *step; + z->fx += z->fdx; // advance to position for current scanline + step = &((*step)->next); // advance through list + } + + ++y; + ++j; + } + + stbtt__hheap_cleanup(&hh, userdata); + + if (scanline != scanline_data) + STBTT_free(scanline, userdata); +} +#else +#error "Unrecognized value of STBTT_RASTERIZER_VERSION" +#endif + +#define STBTT__COMPARE(a,b) ((a)->y0 < (b)->y0) + +static void stbtt__sort_edges_ins_sort(stbtt__edge *p, int n) +{ + int i,j; + for (i=1; i < n; ++i) { + stbtt__edge t = p[i], *a = &t; + j = i; + while (j > 0) { + stbtt__edge *b = &p[j-1]; + int c = STBTT__COMPARE(a,b); + if (!c) break; + p[j] = p[j-1]; + --j; + } + if (i != j) + p[j] = t; + } +} + +static void stbtt__sort_edges_quicksort(stbtt__edge *p, int n) +{ + /* threshold for transitioning to insertion sort */ + while (n > 12) { + stbtt__edge t; + int c01,c12,c,m,i,j; + + /* compute median of three */ + m = n >> 1; + c01 = STBTT__COMPARE(&p[0],&p[m]); + c12 = STBTT__COMPARE(&p[m],&p[n-1]); + /* if 0 >= mid >= end, or 0 < mid < end, then use mid */ + if (c01 != c12) { + /* otherwise, we'll need to swap something else to middle */ + int z; + c = STBTT__COMPARE(&p[0],&p[n-1]); + /* 0>mid && midn => n; 0 0 */ + /* 0n: 0>n => 0; 0 n */ + z = (c == c12) ? 0 : n-1; + t = p[z]; + p[z] = p[m]; + p[m] = t; + } + /* now p[m] is the median-of-three */ + /* swap it to the beginning so it won't move around */ + t = p[0]; + p[0] = p[m]; + p[m] = t; + + /* partition loop */ + i=1; + j=n-1; + for(;;) { + /* handling of equality is crucial here */ + /* for sentinels & efficiency with duplicates */ + for (;;++i) { + if (!STBTT__COMPARE(&p[i], &p[0])) break; + } + for (;;--j) { + if (!STBTT__COMPARE(&p[0], &p[j])) break; + } + /* make sure we haven't crossed */ + if (i >= j) break; + t = p[i]; + p[i] = p[j]; + p[j] = t; + + ++i; + --j; + } + /* recurse on smaller side, iterate on larger */ + if (j < (n-i)) { + stbtt__sort_edges_quicksort(p,j); + p = p+i; + n = n-i; + } else { + stbtt__sort_edges_quicksort(p+i, n-i); + n = j; + } + } +} + +static void stbtt__sort_edges(stbtt__edge *p, int n) +{ + stbtt__sort_edges_quicksort(p, n); + stbtt__sort_edges_ins_sort(p, n); +} + +typedef struct +{ + float x,y; +} stbtt__point; + +static void stbtt__rasterize(stbtt__bitmap *result, stbtt__point *pts, int *wcount, int windings, float scale_x, float scale_y, float shift_x, float shift_y, int off_x, int off_y, int invert, void *userdata) +{ + float y_scale_inv = invert ? -scale_y : scale_y; + stbtt__edge *e; + int n,i,j,k,m; +#if STBTT_RASTERIZER_VERSION == 1 + int vsubsample = result->h < 8 ? 15 : 5; +#elif STBTT_RASTERIZER_VERSION == 2 + int vsubsample = 1; +#else + #error "Unrecognized value of STBTT_RASTERIZER_VERSION" +#endif + // vsubsample should divide 255 evenly; otherwise we won't reach full opacity + + // now we have to blow out the windings into explicit edge lists + n = 0; + for (i=0; i < windings; ++i) + n += wcount[i]; + + e = (stbtt__edge *) STBTT_malloc(sizeof(*e) * (n+1), userdata); // add an extra one as a sentinel + if (e == 0) return; + n = 0; + + m=0; + for (i=0; i < windings; ++i) { + stbtt__point *p = pts + m; + m += wcount[i]; + j = wcount[i]-1; + for (k=0; k < wcount[i]; j=k++) { + int a=k,b=j; + // skip the edge if horizontal + if (p[j].y == p[k].y) + continue; + // add edge from j to k to the list + e[n].invert = 0; + if (invert ? p[j].y > p[k].y : p[j].y < p[k].y) { + e[n].invert = 1; + a=j,b=k; + } + e[n].x0 = p[a].x * scale_x + shift_x; + e[n].y0 = (p[a].y * y_scale_inv + shift_y) * vsubsample; + e[n].x1 = p[b].x * scale_x + shift_x; + e[n].y1 = (p[b].y * y_scale_inv + shift_y) * vsubsample; + ++n; + } + } + + // now sort the edges by their highest point (should snap to integer, and then by x) + //STBTT_sort(e, n, sizeof(e[0]), stbtt__edge_compare); + stbtt__sort_edges(e, n); + + // now, traverse the scanlines and find the intersections on each scanline, use xor winding rule + stbtt__rasterize_sorted_edges(result, e, n, vsubsample, off_x, off_y, userdata); + + STBTT_free(e, userdata); +} + +static void stbtt__add_point(stbtt__point *points, int n, float x, float y) +{ + if (!points) return; // during first pass, it's unallocated + points[n].x = x; + points[n].y = y; +} + +// tessellate until threshold p is happy... @TODO warped to compensate for non-linear stretching +static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) +{ + // midpoint + float mx = (x0 + 2*x1 + x2)/4; + float my = (y0 + 2*y1 + y2)/4; + // versus directly drawn line + float dx = (x0+x2)/2 - mx; + float dy = (y0+y2)/2 - my; + if (n > 16) // 65536 segments on one curve better be enough! + return 1; + if (dx*dx+dy*dy > objspace_flatness_squared) { // half-pixel error allowed... need to be smaller if AA + stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1); + stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1); + } else { + stbtt__add_point(points, *num_points,x2,y2); + *num_points = *num_points+1; + } + return 1; +} + +static void stbtt__tesselate_cubic(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float objspace_flatness_squared, int n) +{ + // @TODO this "flatness" calculation is just made-up nonsense that seems to work well enough + float dx0 = x1-x0; + float dy0 = y1-y0; + float dx1 = x2-x1; + float dy1 = y2-y1; + float dx2 = x3-x2; + float dy2 = y3-y2; + float dx = x3-x0; + float dy = y3-y0; + float longlen = (float) (STBTT_sqrt(dx0*dx0+dy0*dy0)+STBTT_sqrt(dx1*dx1+dy1*dy1)+STBTT_sqrt(dx2*dx2+dy2*dy2)); + float shortlen = (float) STBTT_sqrt(dx*dx+dy*dy); + float flatness_squared = longlen*longlen-shortlen*shortlen; + + if (n > 16) // 65536 segments on one curve better be enough! + return; + + if (flatness_squared > objspace_flatness_squared) { + float x01 = (x0+x1)/2; + float y01 = (y0+y1)/2; + float x12 = (x1+x2)/2; + float y12 = (y1+y2)/2; + float x23 = (x2+x3)/2; + float y23 = (y2+y3)/2; + + float xa = (x01+x12)/2; + float ya = (y01+y12)/2; + float xb = (x12+x23)/2; + float yb = (y12+y23)/2; + + float mx = (xa+xb)/2; + float my = (ya+yb)/2; + + stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1); + stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1); + } else { + stbtt__add_point(points, *num_points,x3,y3); + *num_points = *num_points+1; + } +} + +// returns number of contours +static stbtt__point *stbtt_FlattenCurves(stbtt_vertex *vertices, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) +{ + stbtt__point *points=0; + int num_points=0; + + float objspace_flatness_squared = objspace_flatness * objspace_flatness; + int i,n=0,start=0, pass; + + // count how many "moves" there are to get the contour count + for (i=0; i < num_verts; ++i) + if (vertices[i].type == STBTT_vmove) + ++n; + + *num_contours = n; + if (n == 0) return 0; + + *contour_lengths = (int *) STBTT_malloc(sizeof(**contour_lengths) * n, userdata); + + if (*contour_lengths == 0) { + *num_contours = 0; + return 0; + } + + // make two passes through the points so we don't need to realloc + for (pass=0; pass < 2; ++pass) { + float x=0,y=0; + if (pass == 1) { + points = (stbtt__point *) STBTT_malloc(num_points * sizeof(points[0]), userdata); + if (points == NULL) goto error; + } + num_points = 0; + n= -1; + for (i=0; i < num_verts; ++i) { + switch (vertices[i].type) { + case STBTT_vmove: + // start the next contour + if (n >= 0) + (*contour_lengths)[n] = num_points - start; + ++n; + start = num_points; + + x = vertices[i].x, y = vertices[i].y; + stbtt__add_point(points, num_points++, x,y); + break; + case STBTT_vline: + x = vertices[i].x, y = vertices[i].y; + stbtt__add_point(points, num_points++, x, y); + break; + case STBTT_vcurve: + stbtt__tesselate_curve(points, &num_points, x,y, + vertices[i].cx, vertices[i].cy, + vertices[i].x, vertices[i].y, + objspace_flatness_squared, 0); + x = vertices[i].x, y = vertices[i].y; + break; + case STBTT_vcubic: + stbtt__tesselate_cubic(points, &num_points, x,y, + vertices[i].cx, vertices[i].cy, + vertices[i].cx1, vertices[i].cy1, + vertices[i].x, vertices[i].y, + objspace_flatness_squared, 0); + x = vertices[i].x, y = vertices[i].y; + break; + } + } + (*contour_lengths)[n] = num_points - start; + } + + return points; +error: + STBTT_free(points, userdata); + STBTT_free(*contour_lengths, userdata); + *contour_lengths = 0; + *num_contours = 0; + return NULL; +} + +STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, float flatness_in_pixels, stbtt_vertex *vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void *userdata) +{ + float scale = scale_x > scale_y ? scale_y : scale_x; + int winding_count = 0; + int *winding_lengths = NULL; + stbtt__point *windings = stbtt_FlattenCurves(vertices, num_verts, flatness_in_pixels / scale, &winding_lengths, &winding_count, userdata); + if (windings) { + stbtt__rasterize(result, windings, winding_lengths, winding_count, scale_x, scale_y, shift_x, shift_y, x_off, y_off, invert, userdata); + STBTT_free(winding_lengths, userdata); + STBTT_free(windings, userdata); + } +} + +STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) +{ + STBTT_free(bitmap, userdata); +} + +STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) +{ + int ix0,iy0,ix1,iy1; + stbtt__bitmap gbm; + stbtt_vertex *vertices; + int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); + + if (scale_x == 0) scale_x = scale_y; + if (scale_y == 0) { + if (scale_x == 0) { + STBTT_free(vertices, info->userdata); + return NULL; + } + scale_y = scale_x; + } + + stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,&ix1,&iy1); + + // now we get the size + gbm.w = (ix1 - ix0); + gbm.h = (iy1 - iy0); + gbm.pixels = NULL; // in case we error + + if (width ) *width = gbm.w; + if (height) *height = gbm.h; + if (xoff ) *xoff = ix0; + if (yoff ) *yoff = iy0; + + if (gbm.w && gbm.h) { + gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); + if (gbm.pixels) { + gbm.stride = gbm.w; + + stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0, iy0, 1, info->userdata); + } + } + STBTT_free(vertices, info->userdata); + return gbm.pixels; +} + +STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) +{ + return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, 0.0f, 0.0f, glyph, width, height, xoff, yoff); +} + +STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph) +{ + int ix0,iy0; + stbtt_vertex *vertices; + int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); + stbtt__bitmap gbm; + + stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,0,0); + gbm.pixels = output; + gbm.w = out_w; + gbm.h = out_h; + gbm.stride = out_stride; + + if (gbm.w && gbm.h) + stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0,iy0, 1, info->userdata); + + STBTT_free(vertices, info->userdata); +} + +STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph) +{ + stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, glyph); +} + +STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff) +{ + return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y,shift_x,shift_y, stbtt_FindGlyphIndex(info,codepoint), width,height,xoff,yoff); +} + +STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint) +{ + stbtt_MakeGlyphBitmapSubpixelPrefilter(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, oversample_x, oversample_y, sub_x, sub_y, stbtt_FindGlyphIndex(info,codepoint)); +} + +STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint) +{ + stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, stbtt_FindGlyphIndex(info,codepoint)); +} + +STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff) +{ + return stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, 0.0f,0.0f, codepoint, width,height,xoff,yoff); +} + +STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint) +{ + stbtt_MakeCodepointBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, codepoint); +} + +////////////////////////////////////////////////////////////////////////////// +// +// bitmap baking +// +// This is SUPER-CRAPPY packing to keep source code small + +static int stbtt_BakeFontBitmap_internal(unsigned char *data, int offset, // font location (use offset=0 for plain .ttf) + float pixel_height, // height of font in pixels + unsigned char *pixels, int pw, int ph, // bitmap to be filled in + int first_char, int num_chars, // characters to bake + stbtt_bakedchar *chardata) +{ + float scale; + int x,y,bottom_y, i; + stbtt_fontinfo f; + f.userdata = NULL; + if (!stbtt_InitFont(&f, data, offset)) + return -1; + STBTT_memset(pixels, 0, pw*ph); // background of 0 around pixels + x=y=1; + bottom_y = 1; + + scale = stbtt_ScaleForPixelHeight(&f, pixel_height); + + for (i=0; i < num_chars; ++i) { + int advance, lsb, x0,y0,x1,y1,gw,gh; + int g = stbtt_FindGlyphIndex(&f, first_char + i); + stbtt_GetGlyphHMetrics(&f, g, &advance, &lsb); + stbtt_GetGlyphBitmapBox(&f, g, scale,scale, &x0,&y0,&x1,&y1); + gw = x1-x0; + gh = y1-y0; + if (x + gw + 1 >= pw) + y = bottom_y, x = 1; // advance to next row + if (y + gh + 1 >= ph) // check if it fits vertically AFTER potentially moving to next row + return -i; + STBTT_assert(x+gw < pw); + STBTT_assert(y+gh < ph); + stbtt_MakeGlyphBitmap(&f, pixels+x+y*pw, gw,gh,pw, scale,scale, g); + chardata[i].x0 = (stbtt_int16) x; + chardata[i].y0 = (stbtt_int16) y; + chardata[i].x1 = (stbtt_int16) (x + gw); + chardata[i].y1 = (stbtt_int16) (y + gh); + chardata[i].xadvance = scale * advance; + chardata[i].xoff = (float) x0; + chardata[i].yoff = (float) y0; + x = x + gw + 1; + if (y+gh+1 > bottom_y) + bottom_y = y+gh+1; + } + return bottom_y; +} + +STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule) +{ + float d3d_bias = opengl_fillrule ? 0 : -0.5f; + float ipw = 1.0f / pw, iph = 1.0f / ph; + const stbtt_bakedchar *b = chardata + char_index; + int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); + int round_y = STBTT_ifloor((*ypos + b->yoff) + 0.5f); + + q->x0 = round_x + d3d_bias; + q->y0 = round_y + d3d_bias; + q->x1 = round_x + b->x1 - b->x0 + d3d_bias; + q->y1 = round_y + b->y1 - b->y0 + d3d_bias; + + q->s0 = b->x0 * ipw; + q->t0 = b->y0 * iph; + q->s1 = b->x1 * ipw; + q->t1 = b->y1 * iph; + + *xpos += b->xadvance; +} + +////////////////////////////////////////////////////////////////////////////// +// +// rectangle packing replacement routines if you don't have stb_rect_pack.h +// + +#ifndef STB_RECT_PACK_VERSION + +typedef int stbrp_coord; + +//////////////////////////////////////////////////////////////////////////////////// +// // +// // +// COMPILER WARNING ?!?!? // +// // +// // +// if you get a compile warning due to these symbols being defined more than // +// once, move #include "stb_rect_pack.h" before #include "stb_truetype.h" // +// // +//////////////////////////////////////////////////////////////////////////////////// + +typedef struct +{ + int width,height; + int x,y,bottom_y; +} stbrp_context; + +typedef struct +{ + unsigned char x; +} stbrp_node; + +struct stbrp_rect +{ + stbrp_coord x,y; + int id,w,h,was_packed; +}; + +static void stbrp_init_target(stbrp_context *con, int pw, int ph, stbrp_node *nodes, int num_nodes) +{ + con->width = pw; + con->height = ph; + con->x = 0; + con->y = 0; + con->bottom_y = 0; + STBTT__NOTUSED(nodes); + STBTT__NOTUSED(num_nodes); +} + +static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) +{ + int i; + for (i=0; i < num_rects; ++i) { + if (con->x + rects[i].w > con->width) { + con->x = 0; + con->y = con->bottom_y; + } + if (con->y + rects[i].h > con->height) + break; + rects[i].x = con->x; + rects[i].y = con->y; + rects[i].was_packed = 1; + con->x += rects[i].w; + if (con->y + rects[i].h > con->bottom_y) + con->bottom_y = con->y + rects[i].h; + } + for ( ; i < num_rects; ++i) + rects[i].was_packed = 0; +} +#endif + +////////////////////////////////////////////////////////////////////////////// +// +// bitmap baking +// +// This is SUPER-AWESOME (tm Ryan Gordon) packing using stb_rect_pack.h. If +// stb_rect_pack.h isn't available, it uses the BakeFontBitmap strategy. + +STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) +{ + stbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context); + int num_nodes = pw - padding; + stbrp_node *nodes = (stbrp_node *) STBTT_malloc(sizeof(*nodes ) * num_nodes,alloc_context); + + if (context == NULL || nodes == NULL) { + if (context != NULL) STBTT_free(context, alloc_context); + if (nodes != NULL) STBTT_free(nodes , alloc_context); + return 0; + } + + spc->user_allocator_context = alloc_context; + spc->width = pw; + spc->height = ph; + spc->pixels = pixels; + spc->pack_info = context; + spc->nodes = nodes; + spc->padding = padding; + spc->stride_in_bytes = stride_in_bytes != 0 ? stride_in_bytes : pw; + spc->h_oversample = 1; + spc->v_oversample = 1; + spc->skip_missing = 0; + + stbrp_init_target(context, pw-padding, ph-padding, nodes, num_nodes); + + if (pixels) + STBTT_memset(pixels, 0, pw*ph); // background of 0 around pixels + + return 1; +} + +STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) +{ + STBTT_free(spc->nodes , spc->user_allocator_context); + STBTT_free(spc->pack_info, spc->user_allocator_context); +} + +STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) +{ + STBTT_assert(h_oversample <= STBTT_MAX_OVERSAMPLE); + STBTT_assert(v_oversample <= STBTT_MAX_OVERSAMPLE); + if (h_oversample <= STBTT_MAX_OVERSAMPLE) + spc->h_oversample = h_oversample; + if (v_oversample <= STBTT_MAX_OVERSAMPLE) + spc->v_oversample = v_oversample; +} + +STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) +{ + spc->skip_missing = skip; +} + +#define STBTT__OVER_MASK (STBTT_MAX_OVERSAMPLE-1) + +static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) +{ + unsigned char buffer[STBTT_MAX_OVERSAMPLE]; + int safe_w = w - kernel_width; + int j; + STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze + for (j=0; j < h; ++j) { + int i; + unsigned int total; + STBTT_memset(buffer, 0, kernel_width); + + total = 0; + + // make kernel_width a constant in common cases so compiler can optimize out the divide + switch (kernel_width) { + case 2: + for (i=0; i <= safe_w; ++i) { + total += pixels[i] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; + pixels[i] = (unsigned char) (total / 2); + } + break; + case 3: + for (i=0; i <= safe_w; ++i) { + total += pixels[i] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; + pixels[i] = (unsigned char) (total / 3); + } + break; + case 4: + for (i=0; i <= safe_w; ++i) { + total += pixels[i] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; + pixels[i] = (unsigned char) (total / 4); + } + break; + case 5: + for (i=0; i <= safe_w; ++i) { + total += pixels[i] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; + pixels[i] = (unsigned char) (total / 5); + } + break; + default: + for (i=0; i <= safe_w; ++i) { + total += pixels[i] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; + pixels[i] = (unsigned char) (total / kernel_width); + } + break; + } + + for (; i < w; ++i) { + STBTT_assert(pixels[i] == 0); + total -= buffer[i & STBTT__OVER_MASK]; + pixels[i] = (unsigned char) (total / kernel_width); + } + + pixels += stride_in_bytes; + } +} + +static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) +{ + unsigned char buffer[STBTT_MAX_OVERSAMPLE]; + int safe_h = h - kernel_width; + int j; + STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze + for (j=0; j < w; ++j) { + int i; + unsigned int total; + STBTT_memset(buffer, 0, kernel_width); + + total = 0; + + // make kernel_width a constant in common cases so compiler can optimize out the divide + switch (kernel_width) { + case 2: + for (i=0; i <= safe_h; ++i) { + total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; + pixels[i*stride_in_bytes] = (unsigned char) (total / 2); + } + break; + case 3: + for (i=0; i <= safe_h; ++i) { + total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; + pixels[i*stride_in_bytes] = (unsigned char) (total / 3); + } + break; + case 4: + for (i=0; i <= safe_h; ++i) { + total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; + pixels[i*stride_in_bytes] = (unsigned char) (total / 4); + } + break; + case 5: + for (i=0; i <= safe_h; ++i) { + total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; + pixels[i*stride_in_bytes] = (unsigned char) (total / 5); + } + break; + default: + for (i=0; i <= safe_h; ++i) { + total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; + buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; + pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); + } + break; + } + + for (; i < h; ++i) { + STBTT_assert(pixels[i*stride_in_bytes] == 0); + total -= buffer[i & STBTT__OVER_MASK]; + pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); + } + + pixels += 1; + } +} + +static float stbtt__oversample_shift(int oversample) +{ + if (!oversample) + return 0.0f; + + // The prefilter is a box filter of width "oversample", + // which shifts phase by (oversample - 1)/2 pixels in + // oversampled space. We want to shift in the opposite + // direction to counter this. + return (float)-(oversample - 1) / (2.0f * (float)oversample); +} + +// rects array must be big enough to accommodate all characters in the given ranges +STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) +{ + int i,j,k; + int missing_glyph_added = 0; + + k=0; + for (i=0; i < num_ranges; ++i) { + float fh = ranges[i].font_size; + float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); + ranges[i].h_oversample = (unsigned char) spc->h_oversample; + ranges[i].v_oversample = (unsigned char) spc->v_oversample; + for (j=0; j < ranges[i].num_chars; ++j) { + int x0,y0,x1,y1; + int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; + int glyph = stbtt_FindGlyphIndex(info, codepoint); + if (glyph == 0 && (spc->skip_missing || missing_glyph_added)) { + rects[k].w = rects[k].h = 0; + } else { + stbtt_GetGlyphBitmapBoxSubpixel(info,glyph, + scale * spc->h_oversample, + scale * spc->v_oversample, + 0,0, + &x0,&y0,&x1,&y1); + rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1); + rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1); + if (glyph == 0) + missing_glyph_added = 1; + } + ++k; + } + } + + return k; +} + +STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int prefilter_x, int prefilter_y, float *sub_x, float *sub_y, int glyph) +{ + stbtt_MakeGlyphBitmapSubpixel(info, + output, + out_w - (prefilter_x - 1), + out_h - (prefilter_y - 1), + out_stride, + scale_x, + scale_y, + shift_x, + shift_y, + glyph); + + if (prefilter_x > 1) + stbtt__h_prefilter(output, out_w, out_h, out_stride, prefilter_x); + + if (prefilter_y > 1) + stbtt__v_prefilter(output, out_w, out_h, out_stride, prefilter_y); + + *sub_x = stbtt__oversample_shift(prefilter_x); + *sub_y = stbtt__oversample_shift(prefilter_y); +} + +// rects array must be big enough to accommodate all characters in the given ranges +STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) +{ + int i,j,k, missing_glyph = -1, return_value = 1; + + // save current values + int old_h_over = spc->h_oversample; + int old_v_over = spc->v_oversample; + + k = 0; + for (i=0; i < num_ranges; ++i) { + float fh = ranges[i].font_size; + float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); + float recip_h,recip_v,sub_x,sub_y; + spc->h_oversample = ranges[i].h_oversample; + spc->v_oversample = ranges[i].v_oversample; + recip_h = 1.0f / spc->h_oversample; + recip_v = 1.0f / spc->v_oversample; + sub_x = stbtt__oversample_shift(spc->h_oversample); + sub_y = stbtt__oversample_shift(spc->v_oversample); + for (j=0; j < ranges[i].num_chars; ++j) { + stbrp_rect *r = &rects[k]; + if (r->was_packed && r->w != 0 && r->h != 0) { + stbtt_packedchar *bc = &ranges[i].chardata_for_range[j]; + int advance, lsb, x0,y0,x1,y1; + int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; + int glyph = stbtt_FindGlyphIndex(info, codepoint); + stbrp_coord pad = (stbrp_coord) spc->padding; + + // pad on left and top + r->x += pad; + r->y += pad; + r->w -= pad; + r->h -= pad; + stbtt_GetGlyphHMetrics(info, glyph, &advance, &lsb); + stbtt_GetGlyphBitmapBox(info, glyph, + scale * spc->h_oversample, + scale * spc->v_oversample, + &x0,&y0,&x1,&y1); + stbtt_MakeGlyphBitmapSubpixel(info, + spc->pixels + r->x + r->y*spc->stride_in_bytes, + r->w - spc->h_oversample+1, + r->h - spc->v_oversample+1, + spc->stride_in_bytes, + scale * spc->h_oversample, + scale * spc->v_oversample, + 0,0, + glyph); + + if (spc->h_oversample > 1) + stbtt__h_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, + r->w, r->h, spc->stride_in_bytes, + spc->h_oversample); + + if (spc->v_oversample > 1) + stbtt__v_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, + r->w, r->h, spc->stride_in_bytes, + spc->v_oversample); + + bc->x0 = (stbtt_int16) r->x; + bc->y0 = (stbtt_int16) r->y; + bc->x1 = (stbtt_int16) (r->x + r->w); + bc->y1 = (stbtt_int16) (r->y + r->h); + bc->xadvance = scale * advance; + bc->xoff = (float) x0 * recip_h + sub_x; + bc->yoff = (float) y0 * recip_v + sub_y; + bc->xoff2 = (x0 + r->w) * recip_h + sub_x; + bc->yoff2 = (y0 + r->h) * recip_v + sub_y; + + if (glyph == 0) + missing_glyph = j; + } else if (spc->skip_missing) { + return_value = 0; + } else if (r->was_packed && r->w == 0 && r->h == 0 && missing_glyph >= 0) { + ranges[i].chardata_for_range[j] = ranges[i].chardata_for_range[missing_glyph]; + } else { + return_value = 0; // if any fail, report failure + } + + ++k; + } + } + + // restore original values + spc->h_oversample = old_h_over; + spc->v_oversample = old_v_over; + + return return_value; +} + +STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects) +{ + stbrp_pack_rects((stbrp_context *) spc->pack_info, rects, num_rects); +} + +STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges) +{ + stbtt_fontinfo info; + int i, j, n, return_value; // [DEAR IMGUI] removed = 1; + //stbrp_context *context = (stbrp_context *) spc->pack_info; + stbrp_rect *rects; + + // flag all characters as NOT packed + for (i=0; i < num_ranges; ++i) + for (j=0; j < ranges[i].num_chars; ++j) + ranges[i].chardata_for_range[j].x0 = + ranges[i].chardata_for_range[j].y0 = + ranges[i].chardata_for_range[j].x1 = + ranges[i].chardata_for_range[j].y1 = 0; + + n = 0; + for (i=0; i < num_ranges; ++i) + n += ranges[i].num_chars; + + rects = (stbrp_rect *) STBTT_malloc(sizeof(*rects) * n, spc->user_allocator_context); + if (rects == NULL) + return 0; + + info.userdata = spc->user_allocator_context; + stbtt_InitFont(&info, fontdata, stbtt_GetFontOffsetForIndex(fontdata,font_index)); + + n = stbtt_PackFontRangesGatherRects(spc, &info, ranges, num_ranges, rects); + + stbtt_PackFontRangesPackRects(spc, rects, n); + + return_value = stbtt_PackFontRangesRenderIntoRects(spc, &info, ranges, num_ranges, rects); + + STBTT_free(rects, spc->user_allocator_context); + return return_value; +} + +STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, + int first_unicode_codepoint_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range) +{ + stbtt_pack_range range; + range.first_unicode_codepoint_in_range = first_unicode_codepoint_in_range; + range.array_of_unicode_codepoints = NULL; + range.num_chars = num_chars_in_range; + range.chardata_for_range = chardata_for_range; + range.font_size = font_size; + return stbtt_PackFontRanges(spc, fontdata, font_index, &range, 1); +} + +STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) +{ + int i_ascent, i_descent, i_lineGap; + float scale; + stbtt_fontinfo info; + stbtt_InitFont(&info, fontdata, stbtt_GetFontOffsetForIndex(fontdata, index)); + scale = size > 0 ? stbtt_ScaleForPixelHeight(&info, size) : stbtt_ScaleForMappingEmToPixels(&info, -size); + stbtt_GetFontVMetrics(&info, &i_ascent, &i_descent, &i_lineGap); + *ascent = (float) i_ascent * scale; + *descent = (float) i_descent * scale; + *lineGap = (float) i_lineGap * scale; +} + +STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) +{ + float ipw = 1.0f / pw, iph = 1.0f / ph; + const stbtt_packedchar *b = chardata + char_index; + + if (align_to_integer) { + float x = (float) STBTT_ifloor((*xpos + b->xoff) + 0.5f); + float y = (float) STBTT_ifloor((*ypos + b->yoff) + 0.5f); + q->x0 = x; + q->y0 = y; + q->x1 = x + b->xoff2 - b->xoff; + q->y1 = y + b->yoff2 - b->yoff; + } else { + q->x0 = *xpos + b->xoff; + q->y0 = *ypos + b->yoff; + q->x1 = *xpos + b->xoff2; + q->y1 = *ypos + b->yoff2; + } + + q->s0 = b->x0 * ipw; + q->t0 = b->y0 * iph; + q->s1 = b->x1 * ipw; + q->t1 = b->y1 * iph; + + *xpos += b->xadvance; +} + +////////////////////////////////////////////////////////////////////////////// +// +// sdf computation +// + +#define STBTT_min(a,b) ((a) < (b) ? (a) : (b)) +#define STBTT_max(a,b) ((a) < (b) ? (b) : (a)) + +static int stbtt__ray_intersect_bezier(float orig[2], float ray[2], float q0[2], float q1[2], float q2[2], float hits[2][2]) +{ + float q0perp = q0[1]*ray[0] - q0[0]*ray[1]; + float q1perp = q1[1]*ray[0] - q1[0]*ray[1]; + float q2perp = q2[1]*ray[0] - q2[0]*ray[1]; + float roperp = orig[1]*ray[0] - orig[0]*ray[1]; + + float a = q0perp - 2*q1perp + q2perp; + float b = q1perp - q0perp; + float c = q0perp - roperp; + + float s0 = 0., s1 = 0.; + int num_s = 0; + + if (a != 0.0) { + float discr = b*b - a*c; + if (discr > 0.0) { + float rcpna = -1 / a; + float d = (float) STBTT_sqrt(discr); + s0 = (b+d) * rcpna; + s1 = (b-d) * rcpna; + if (s0 >= 0.0 && s0 <= 1.0) + num_s = 1; + if (d > 0.0 && s1 >= 0.0 && s1 <= 1.0) { + if (num_s == 0) s0 = s1; + ++num_s; + } + } + } else { + // 2*b*s + c = 0 + // s = -c / (2*b) + s0 = c / (-2 * b); + if (s0 >= 0.0 && s0 <= 1.0) + num_s = 1; + } + + if (num_s == 0) + return 0; + else { + float rcp_len2 = 1 / (ray[0]*ray[0] + ray[1]*ray[1]); + float rayn_x = ray[0] * rcp_len2, rayn_y = ray[1] * rcp_len2; + + float q0d = q0[0]*rayn_x + q0[1]*rayn_y; + float q1d = q1[0]*rayn_x + q1[1]*rayn_y; + float q2d = q2[0]*rayn_x + q2[1]*rayn_y; + float rod = orig[0]*rayn_x + orig[1]*rayn_y; + + float q10d = q1d - q0d; + float q20d = q2d - q0d; + float q0rd = q0d - rod; + + hits[0][0] = q0rd + s0*(2.0f - 2.0f*s0)*q10d + s0*s0*q20d; + hits[0][1] = a*s0+b; + + if (num_s > 1) { + hits[1][0] = q0rd + s1*(2.0f - 2.0f*s1)*q10d + s1*s1*q20d; + hits[1][1] = a*s1+b; + return 2; + } else { + return 1; + } + } +} + +static int equal(float *a, float *b) +{ + return (a[0] == b[0] && a[1] == b[1]); +} + +static int stbtt__compute_crossings_x(float x, float y, int nverts, stbtt_vertex *verts) +{ + int i; + float orig[2], ray[2] = { 1, 0 }; + float y_frac; + int winding = 0; + + // make sure y never passes through a vertex of the shape + y_frac = (float) STBTT_fmod(y, 1.0f); + if (y_frac < 0.01f) + y += 0.01f; + else if (y_frac > 0.99f) + y -= 0.01f; + + orig[0] = x; + orig[1] = y; + + // test a ray from (-infinity,y) to (x,y) + for (i=0; i < nverts; ++i) { + if (verts[i].type == STBTT_vline) { + int x0 = (int) verts[i-1].x, y0 = (int) verts[i-1].y; + int x1 = (int) verts[i ].x, y1 = (int) verts[i ].y; + if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { + float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; + if (x_inter < x) + winding += (y0 < y1) ? 1 : -1; + } + } + if (verts[i].type == STBTT_vcurve) { + int x0 = (int) verts[i-1].x , y0 = (int) verts[i-1].y ; + int x1 = (int) verts[i ].cx, y1 = (int) verts[i ].cy; + int x2 = (int) verts[i ].x , y2 = (int) verts[i ].y ; + int ax = STBTT_min(x0,STBTT_min(x1,x2)), ay = STBTT_min(y0,STBTT_min(y1,y2)); + int by = STBTT_max(y0,STBTT_max(y1,y2)); + if (y > ay && y < by && x > ax) { + float q0[2],q1[2],q2[2]; + float hits[2][2]; + q0[0] = (float)x0; + q0[1] = (float)y0; + q1[0] = (float)x1; + q1[1] = (float)y1; + q2[0] = (float)x2; + q2[1] = (float)y2; + if (equal(q0,q1) || equal(q1,q2)) { + x0 = (int)verts[i-1].x; + y0 = (int)verts[i-1].y; + x1 = (int)verts[i ].x; + y1 = (int)verts[i ].y; + if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { + float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; + if (x_inter < x) + winding += (y0 < y1) ? 1 : -1; + } + } else { + int num_hits = stbtt__ray_intersect_bezier(orig, ray, q0, q1, q2, hits); + if (num_hits >= 1) + if (hits[0][0] < 0) + winding += (hits[0][1] < 0 ? -1 : 1); + if (num_hits >= 2) + if (hits[1][0] < 0) + winding += (hits[1][1] < 0 ? -1 : 1); + } + } + } + } + return winding; +} + +static float stbtt__cuberoot( float x ) +{ + if (x<0) + return -(float) STBTT_pow(-x,1.0f/3.0f); + else + return (float) STBTT_pow( x,1.0f/3.0f); +} + +// x^3 + a*x^2 + b*x + c = 0 +static int stbtt__solve_cubic(float a, float b, float c, float* r) +{ + float s = -a / 3; + float p = b - a*a / 3; + float q = a * (2*a*a - 9*b) / 27 + c; + float p3 = p*p*p; + float d = q*q + 4*p3 / 27; + if (d >= 0) { + float z = (float) STBTT_sqrt(d); + float u = (-q + z) / 2; + float v = (-q - z) / 2; + u = stbtt__cuberoot(u); + v = stbtt__cuberoot(v); + r[0] = s + u + v; + return 1; + } else { + float u = (float) STBTT_sqrt(-p/3); + float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative + float m = (float) STBTT_cos(v); + float n = (float) STBTT_cos(v-3.141592/2)*1.732050808f; + r[0] = s + u * 2 * m; + r[1] = s - u * (m + n); + r[2] = s - u * (m - n); + + //STBTT_assert( STBTT_fabs(((r[0]+a)*r[0]+b)*r[0]+c) < 0.05f); // these asserts may not be safe at all scales, though they're in bezier t parameter units so maybe? + //STBTT_assert( STBTT_fabs(((r[1]+a)*r[1]+b)*r[1]+c) < 0.05f); + //STBTT_assert( STBTT_fabs(((r[2]+a)*r[2]+b)*r[2]+c) < 0.05f); + return 3; + } +} + +STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) +{ + float scale_x = scale, scale_y = scale; + int ix0,iy0,ix1,iy1; + int w,h; + unsigned char *data; + + if (scale == 0) return NULL; + + stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale, scale, 0.0f,0.0f, &ix0,&iy0,&ix1,&iy1); + + // if empty, return NULL + if (ix0 == ix1 || iy0 == iy1) + return NULL; + + ix0 -= padding; + iy0 -= padding; + ix1 += padding; + iy1 += padding; + + w = (ix1 - ix0); + h = (iy1 - iy0); + + if (width ) *width = w; + if (height) *height = h; + if (xoff ) *xoff = ix0; + if (yoff ) *yoff = iy0; + + // invert for y-downwards bitmaps + scale_y = -scale_y; + + { + int x,y,i,j; + float *precompute; + stbtt_vertex *verts; + int num_verts = stbtt_GetGlyphShape(info, glyph, &verts); + data = (unsigned char *) STBTT_malloc(w * h, info->userdata); + precompute = (float *) STBTT_malloc(num_verts * sizeof(float), info->userdata); + + for (i=0,j=num_verts-1; i < num_verts; j=i++) { + if (verts[i].type == STBTT_vline) { + float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; + float x1 = verts[j].x*scale_x, y1 = verts[j].y*scale_y; + float dist = (float) STBTT_sqrt((x1-x0)*(x1-x0) + (y1-y0)*(y1-y0)); + precompute[i] = (dist == 0) ? 0.0f : 1.0f / dist; + } else if (verts[i].type == STBTT_vcurve) { + float x2 = verts[j].x *scale_x, y2 = verts[j].y *scale_y; + float x1 = verts[i].cx*scale_x, y1 = verts[i].cy*scale_y; + float x0 = verts[i].x *scale_x, y0 = verts[i].y *scale_y; + float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; + float len2 = bx*bx + by*by; + if (len2 != 0.0f) + precompute[i] = 1.0f / (bx*bx + by*by); + else + precompute[i] = 0.0f; + } else + precompute[i] = 0.0f; + } + + for (y=iy0; y < iy1; ++y) { + for (x=ix0; x < ix1; ++x) { + float val; + float min_dist = 999999.0f; + float sx = (float) x + 0.5f; + float sy = (float) y + 0.5f; + float x_gspace = (sx / scale_x); + float y_gspace = (sy / scale_y); + + int winding = stbtt__compute_crossings_x(x_gspace, y_gspace, num_verts, verts); // @OPTIMIZE: this could just be a rasterization, but needs to be line vs. non-tesselated curves so a new path + + for (i=0; i < num_verts; ++i) { + float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; + + if (verts[i].type == STBTT_vline && precompute[i] != 0.0f) { + float x1 = verts[i-1].x*scale_x, y1 = verts[i-1].y*scale_y; + + float dist,dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + + // coarse culling against bbox + //if (sx > STBTT_min(x0,x1)-min_dist && sx < STBTT_max(x0,x1)+min_dist && + // sy > STBTT_min(y0,y1)-min_dist && sy < STBTT_max(y0,y1)+min_dist) + dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; + STBTT_assert(i != 0); + if (dist < min_dist) { + // check position along line + // x' = x0 + t*(x1-x0), y' = y0 + t*(y1-y0) + // minimize (x'-sx)*(x'-sx)+(y'-sy)*(y'-sy) + float dx = x1-x0, dy = y1-y0; + float px = x0-sx, py = y0-sy; + // minimize (px+t*dx)^2 + (py+t*dy)^2 = px*px + 2*px*dx*t + t^2*dx*dx + py*py + 2*py*dy*t + t^2*dy*dy + // derivative: 2*px*dx + 2*py*dy + (2*dx*dx+2*dy*dy)*t, set to 0 and solve + float t = -(px*dx + py*dy) / (dx*dx + dy*dy); + if (t >= 0.0f && t <= 1.0f) + min_dist = dist; + } + } else if (verts[i].type == STBTT_vcurve) { + float x2 = verts[i-1].x *scale_x, y2 = verts[i-1].y *scale_y; + float x1 = verts[i ].cx*scale_x, y1 = verts[i ].cy*scale_y; + float box_x0 = STBTT_min(STBTT_min(x0,x1),x2); + float box_y0 = STBTT_min(STBTT_min(y0,y1),y2); + float box_x1 = STBTT_max(STBTT_max(x0,x1),x2); + float box_y1 = STBTT_max(STBTT_max(y0,y1),y2); + // coarse culling against bbox to avoid computing cubic unnecessarily + if (sx > box_x0-min_dist && sx < box_x1+min_dist && sy > box_y0-min_dist && sy < box_y1+min_dist) { + int num=0; + float ax = x1-x0, ay = y1-y0; + float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; + float mx = x0 - sx, my = y0 - sy; + float res[3] = {0.f,0.f,0.f}; + float px,py,t,it,dist2; + float a_inv = precompute[i]; + if (a_inv == 0.0) { // if a_inv is 0, it's 2nd degree so use quadratic formula + float a = 3*(ax*bx + ay*by); + float b = 2*(ax*ax + ay*ay) + (mx*bx+my*by); + float c = mx*ax+my*ay; + if (a == 0.0) { // if a is 0, it's linear + if (b != 0.0) { + res[num++] = -c/b; + } + } else { + float discriminant = b*b - 4*a*c; + if (discriminant < 0) + num = 0; + else { + float root = (float) STBTT_sqrt(discriminant); + res[0] = (-b - root)/(2*a); + res[1] = (-b + root)/(2*a); + num = 2; // don't bother distinguishing 1-solution case, as code below will still work + } + } + } else { + float b = 3*(ax*bx + ay*by) * a_inv; // could precompute this as it doesn't depend on sample point + float c = (2*(ax*ax + ay*ay) + (mx*bx+my*by)) * a_inv; + float d = (mx*ax+my*ay) * a_inv; + num = stbtt__solve_cubic(b, c, d, res); + } + dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + + if (num >= 1 && res[0] >= 0.0f && res[0] <= 1.0f) { + t = res[0], it = 1.0f - t; + px = it*it*x0 + 2*t*it*x1 + t*t*x2; + py = it*it*y0 + 2*t*it*y1 + t*t*y2; + dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); + if (dist2 < min_dist * min_dist) + min_dist = (float) STBTT_sqrt(dist2); + } + if (num >= 2 && res[1] >= 0.0f && res[1] <= 1.0f) { + t = res[1], it = 1.0f - t; + px = it*it*x0 + 2*t*it*x1 + t*t*x2; + py = it*it*y0 + 2*t*it*y1 + t*t*y2; + dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); + if (dist2 < min_dist * min_dist) + min_dist = (float) STBTT_sqrt(dist2); + } + if (num >= 3 && res[2] >= 0.0f && res[2] <= 1.0f) { + t = res[2], it = 1.0f - t; + px = it*it*x0 + 2*t*it*x1 + t*t*x2; + py = it*it*y0 + 2*t*it*y1 + t*t*y2; + dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); + if (dist2 < min_dist * min_dist) + min_dist = (float) STBTT_sqrt(dist2); + } + } + } + } + if (winding == 0) + min_dist = -min_dist; // if outside the shape, value is negative + val = onedge_value + pixel_dist_scale * min_dist; + if (val < 0) + val = 0; + else if (val > 255) + val = 255; + data[(y-iy0)*w+(x-ix0)] = (unsigned char) val; + } + } + STBTT_free(precompute, info->userdata); + STBTT_free(verts, info->userdata); + } + return data; +} + +STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) +{ + return stbtt_GetGlyphSDF(info, scale, stbtt_FindGlyphIndex(info, codepoint), padding, onedge_value, pixel_dist_scale, width, height, xoff, yoff); +} + +STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) +{ + STBTT_free(bitmap, userdata); +} + +////////////////////////////////////////////////////////////////////////////// +// +// font name matching -- recommended not to use this +// + +// check if a utf8 string contains a prefix which is the utf16 string; if so return length of matching utf8 string +static stbtt_int32 stbtt__CompareUTF8toUTF16_bigendian_prefix(stbtt_uint8 *s1, stbtt_int32 len1, stbtt_uint8 *s2, stbtt_int32 len2) +{ + stbtt_int32 i=0; + + // convert utf16 to utf8 and compare the results while converting + while (len2) { + stbtt_uint16 ch = s2[0]*256 + s2[1]; + if (ch < 0x80) { + if (i >= len1) return -1; + if (s1[i++] != ch) return -1; + } else if (ch < 0x800) { + if (i+1 >= len1) return -1; + if (s1[i++] != 0xc0 + (ch >> 6)) return -1; + if (s1[i++] != 0x80 + (ch & 0x3f)) return -1; + } else if (ch >= 0xd800 && ch < 0xdc00) { + stbtt_uint32 c; + stbtt_uint16 ch2 = s2[2]*256 + s2[3]; + if (i+3 >= len1) return -1; + c = ((ch - 0xd800) << 10) + (ch2 - 0xdc00) + 0x10000; + if (s1[i++] != 0xf0 + (c >> 18)) return -1; + if (s1[i++] != 0x80 + ((c >> 12) & 0x3f)) return -1; + if (s1[i++] != 0x80 + ((c >> 6) & 0x3f)) return -1; + if (s1[i++] != 0x80 + ((c ) & 0x3f)) return -1; + s2 += 2; // plus another 2 below + len2 -= 2; + } else if (ch >= 0xdc00 && ch < 0xe000) { + return -1; + } else { + if (i+2 >= len1) return -1; + if (s1[i++] != 0xe0 + (ch >> 12)) return -1; + if (s1[i++] != 0x80 + ((ch >> 6) & 0x3f)) return -1; + if (s1[i++] != 0x80 + ((ch ) & 0x3f)) return -1; + } + s2 += 2; + len2 -= 2; + } + return i; +} + +static int stbtt_CompareUTF8toUTF16_bigendian_internal(char *s1, int len1, char *s2, int len2) +{ + return len1 == stbtt__CompareUTF8toUTF16_bigendian_prefix((stbtt_uint8*) s1, len1, (stbtt_uint8*) s2, len2); +} + +// returns results in whatever encoding you request... but note that 2-byte encodings +// will be BIG-ENDIAN... use stbtt_CompareUTF8toUTF16_bigendian() to compare +STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) +{ + stbtt_int32 i,count,stringOffset; + stbtt_uint8 *fc = font->data; + stbtt_uint32 offset = font->fontstart; + stbtt_uint32 nm = stbtt__find_table(fc, offset, "name"); + if (!nm) return NULL; + + count = ttUSHORT(fc+nm+2); + stringOffset = nm + ttUSHORT(fc+nm+4); + for (i=0; i < count; ++i) { + stbtt_uint32 loc = nm + 6 + 12 * i; + if (platformID == ttUSHORT(fc+loc+0) && encodingID == ttUSHORT(fc+loc+2) + && languageID == ttUSHORT(fc+loc+4) && nameID == ttUSHORT(fc+loc+6)) { + *length = ttUSHORT(fc+loc+8); + return (const char *) (fc+stringOffset+ttUSHORT(fc+loc+10)); + } + } + return NULL; +} + +static int stbtt__matchpair(stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, stbtt_int32 target_id, stbtt_int32 next_id) +{ + stbtt_int32 i; + stbtt_int32 count = ttUSHORT(fc+nm+2); + stbtt_int32 stringOffset = nm + ttUSHORT(fc+nm+4); + + for (i=0; i < count; ++i) { + stbtt_uint32 loc = nm + 6 + 12 * i; + stbtt_int32 id = ttUSHORT(fc+loc+6); + if (id == target_id) { + // find the encoding + stbtt_int32 platform = ttUSHORT(fc+loc+0), encoding = ttUSHORT(fc+loc+2), language = ttUSHORT(fc+loc+4); + + // is this a Unicode encoding? + if (platform == 0 || (platform == 3 && encoding == 1) || (platform == 3 && encoding == 10)) { + stbtt_int32 slen = ttUSHORT(fc+loc+8); + stbtt_int32 off = ttUSHORT(fc+loc+10); + + // check if there's a prefix match + stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen); + if (matchlen >= 0) { + // check for target_id+1 immediately following, with same encoding & language + if (i+1 < count && ttUSHORT(fc+loc+12+6) == next_id && ttUSHORT(fc+loc+12) == platform && ttUSHORT(fc+loc+12+2) == encoding && ttUSHORT(fc+loc+12+4) == language) { + slen = ttUSHORT(fc+loc+12+8); + off = ttUSHORT(fc+loc+12+10); + if (slen == 0) { + if (matchlen == nlen) + return 1; + } else if (matchlen < nlen && name[matchlen] == ' ') { + ++matchlen; + if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen)) + return 1; + } + } else { + // if nothing immediately following + if (matchlen == nlen) + return 1; + } + } + } + + // @TODO handle other encodings + } + } + return 0; +} + +static int stbtt__matches(stbtt_uint8 *fc, stbtt_uint32 offset, stbtt_uint8 *name, stbtt_int32 flags) +{ + stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); + stbtt_uint32 nm,hd; + if (!stbtt__isfont(fc+offset)) return 0; + + // check italics/bold/underline flags in macStyle... + if (flags) { + hd = stbtt__find_table(fc, offset, "head"); + if ((ttUSHORT(fc+hd+44) & 7) != (flags & 7)) return 0; + } + + nm = stbtt__find_table(fc, offset, "name"); + if (!nm) return 0; + + if (flags) { + // if we checked the macStyle flags, then just check the family and ignore the subfamily + if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1; + if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1; + if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; + } else { + if (stbtt__matchpair(fc, nm, name, nlen, 16, 17)) return 1; + if (stbtt__matchpair(fc, nm, name, nlen, 1, 2)) return 1; + if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; + } + + return 0; +} + +static int stbtt_FindMatchingFont_internal(unsigned char *font_collection, char *name_utf8, stbtt_int32 flags) +{ + stbtt_int32 i; + for (i=0;;++i) { + stbtt_int32 off = stbtt_GetFontOffsetForIndex(font_collection, i); + if (off < 0) return off; + if (stbtt__matches((stbtt_uint8 *) font_collection, off, (stbtt_uint8*) name_utf8, flags)) + return off; + } +} + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wcast-qual" +#endif + +STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, + float pixel_height, unsigned char *pixels, int pw, int ph, + int first_char, int num_chars, stbtt_bakedchar *chardata) +{ + return stbtt_BakeFontBitmap_internal((unsigned char *) data, offset, pixel_height, pixels, pw, ph, first_char, num_chars, chardata); +} + +STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index) +{ + return stbtt_GetFontOffsetForIndex_internal((unsigned char *) data, index); +} + +STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) +{ + return stbtt_GetNumberOfFonts_internal((unsigned char *) data); +} + +STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset) +{ + return stbtt_InitFont_internal(info, (unsigned char *) data, offset); +} + +STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) +{ + return stbtt_FindMatchingFont_internal((unsigned char *) fontdata, (char *) name, flags); +} + +STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) +{ + return stbtt_CompareUTF8toUTF16_bigendian_internal((char *) s1, len1, (char *) s2, len2); +} + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#endif // STB_TRUETYPE_IMPLEMENTATION + + +// FULL VERSION HISTORY +// +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning +// 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() +// 1.19 (2018-02-11) OpenType GPOS kerning (horizontal only), STBTT_fmod +// 1.18 (2018-01-29) add missing function +// 1.17 (2017-07-23) make more arguments const; doc fix +// 1.16 (2017-07-12) SDF support +// 1.15 (2017-03-03) make more arguments const +// 1.14 (2017-01-16) num-fonts-in-TTC function +// 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts +// 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual +// 1.11 (2016-04-02) fix unused-variable warning +// 1.10 (2016-04-02) allow user-defined fabs() replacement +// fix memory leak if fontsize=0.0 +// fix warning from duplicate typedef +// 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use alloc userdata for PackFontRanges +// 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges +// 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; +// allow PackFontRanges to pack and render in separate phases; +// fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); +// fixed an assert() bug in the new rasterizer +// replace assert() with STBTT_assert() in new rasterizer +// 1.06 (2015-07-14) performance improvements (~35% faster on x86 and x64 on test machine) +// also more precise AA rasterizer, except if shapes overlap +// remove need for STBTT_sort +// 1.05 (2015-04-15) fix misplaced definitions for STBTT_STATIC +// 1.04 (2015-04-15) typo in example +// 1.03 (2015-04-12) STBTT_STATIC, fix memory leak in new packing, various fixes +// 1.02 (2014-12-10) fix various warnings & compile issues w/ stb_rect_pack, C++ +// 1.01 (2014-12-08) fix subpixel position when oversampling to exactly match +// non-oversampled; STBTT_POINT_SIZE for packed case only +// 1.00 (2014-12-06) add new PackBegin etc. API, w/ support for oversampling +// 0.99 (2014-09-18) fix multiple bugs with subpixel rendering (ryg) +// 0.9 (2014-08-07) support certain mac/iOS fonts without an MS platformID +// 0.8b (2014-07-07) fix a warning +// 0.8 (2014-05-25) fix a few more warnings +// 0.7 (2013-09-25) bugfix: subpixel glyph bug fixed in 0.5 had come back +// 0.6c (2012-07-24) improve documentation +// 0.6b (2012-07-20) fix a few more warnings +// 0.6 (2012-07-17) fix warnings; added stbtt_ScaleForMappingEmToPixels, +// stbtt_GetFontBoundingBox, stbtt_IsGlyphEmpty +// 0.5 (2011-12-09) bugfixes: +// subpixel glyph renderer computed wrong bounding box +// first vertex of shape can be off-curve (FreeSans) +// 0.4b (2011-12-03) fixed an error in the font baking example +// 0.4 (2011-12-01) kerning, subpixel rendering (tor) +// bugfixes for: +// codepoint-to-glyph conversion using table fmt=12 +// codepoint-to-glyph conversion using table fmt=4 +// stbtt_GetBakedQuad with non-square texture (Zer) +// updated Hello World! sample to use kerning and subpixel +// fixed some warnings +// 0.3 (2009-06-24) cmap fmt=12, compound shapes (MM) +// userdata, malloc-from-userdata, non-zero fill (stb) +// 0.2 (2009-03-11) Fix unsigned/signed char warnings +// 0.1 (2009-03-09) First public release +// + +/* +------------------------------------------------------------------------------ +This software is available under 2 licenses -- choose whichever you prefer. +------------------------------------------------------------------------------ +ALTERNATIVE A - MIT License +Copyright (c) 2017 Sean Barrett +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ +ALTERNATIVE B - Public Domain (www.unlicense.org) +This is free and unencumbered software released into the public domain. +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this +software, either in source code form or as a compiled binary, for any purpose, +commercial or non-commercial, and by any means. +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and to +the detriment of our heirs and successors. We intend this dedication to be an +overt act of relinquishment in perpetuity of all present and future rights to +this software under copyright law. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------------------------------------------------------------------------------ +*/ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/MinHook/MinHook.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/MinHook/MinHook.h new file mode 100644 index 0000000..492d83f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/MinHook/MinHook.h @@ -0,0 +1,185 @@ +/* + * MinHook - The Minimalistic API Hooking Library for x64/x86 + * Copyright (C) 2009-2017 Tsuda Kageyu. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER + * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#pragma once + +#if !(defined _M_IX86) && !(defined _M_X64) && !(defined __i386__) && !(defined __x86_64__) + #error MinHook supports only x86 and x64 systems. +#endif + +#include + +// MinHook Error Codes. +typedef enum MH_STATUS +{ + // Unknown error. Should not be returned. + MH_UNKNOWN = -1, + + // Successful. + MH_OK = 0, + + // MinHook is already initialized. + MH_ERROR_ALREADY_INITIALIZED, + + // MinHook is not initialized yet, or already uninitialized. + MH_ERROR_NOT_INITIALIZED, + + // The hook for the specified target function is already created. + MH_ERROR_ALREADY_CREATED, + + // The hook for the specified target function is not created yet. + MH_ERROR_NOT_CREATED, + + // The hook for the specified target function is already enabled. + MH_ERROR_ENABLED, + + // The hook for the specified target function is not enabled yet, or already + // disabled. + MH_ERROR_DISABLED, + + // The specified pointer is invalid. It points the address of non-allocated + // and/or non-executable region. + MH_ERROR_NOT_EXECUTABLE, + + // The specified target function cannot be hooked. + MH_ERROR_UNSUPPORTED_FUNCTION, + + // Failed to allocate memory. + MH_ERROR_MEMORY_ALLOC, + + // Failed to change the memory protection. + MH_ERROR_MEMORY_PROTECT, + + // The specified module is not loaded. + MH_ERROR_MODULE_NOT_FOUND, + + // The specified function is not found. + MH_ERROR_FUNCTION_NOT_FOUND +} +MH_STATUS; + +// Can be passed as a parameter to MH_EnableHook, MH_DisableHook, +// MH_QueueEnableHook or MH_QueueDisableHook. +#define MH_ALL_HOOKS NULL + +#ifdef __cplusplus +extern "C" { +#endif + + // Initialize the MinHook library. You must call this function EXACTLY ONCE + // at the beginning of your program. + MH_STATUS WINAPI MH_Initialize(VOID); + + // Uninitialize the MinHook library. You must call this function EXACTLY + // ONCE at the end of your program. + MH_STATUS WINAPI MH_Uninitialize(VOID); + + // Creates a hook for the specified target function, in disabled state. + // Parameters: + // pTarget [in] A pointer to the target function, which will be + // overridden by the detour function. + // pDetour [in] A pointer to the detour function, which will override + // the target function. + // ppOriginal [out] A pointer to the trampoline function, which will be + // used to call the original target function. + // This parameter can be NULL. + MH_STATUS WINAPI MH_CreateHook(LPVOID pTarget, LPVOID pDetour, LPVOID *ppOriginal); + + // Creates a hook for the specified API function, in disabled state. + // Parameters: + // pszModule [in] A pointer to the loaded module name which contains the + // target function. + // pszProcName [in] A pointer to the target function name, which will be + // overridden by the detour function. + // pDetour [in] A pointer to the detour function, which will override + // the target function. + // ppOriginal [out] A pointer to the trampoline function, which will be + // used to call the original target function. + // This parameter can be NULL. + MH_STATUS WINAPI MH_CreateHookApi( + LPCWSTR pszModule, LPCSTR pszProcName, LPVOID pDetour, LPVOID *ppOriginal); + + // Creates a hook for the specified API function, in disabled state. + // Parameters: + // pszModule [in] A pointer to the loaded module name which contains the + // target function. + // pszProcName [in] A pointer to the target function name, which will be + // overridden by the detour function. + // pDetour [in] A pointer to the detour function, which will override + // the target function. + // ppOriginal [out] A pointer to the trampoline function, which will be + // used to call the original target function. + // This parameter can be NULL. + // ppTarget [out] A pointer to the target function, which will be used + // with other functions. + // This parameter can be NULL. + MH_STATUS WINAPI MH_CreateHookApiEx( + LPCWSTR pszModule, LPCSTR pszProcName, LPVOID pDetour, LPVOID *ppOriginal, LPVOID *ppTarget); + + // Removes an already created hook. + // Parameters: + // pTarget [in] A pointer to the target function. + MH_STATUS WINAPI MH_RemoveHook(LPVOID pTarget); + + // Enables an already created hook. + // Parameters: + // pTarget [in] A pointer to the target function. + // If this parameter is MH_ALL_HOOKS, all created hooks are + // enabled in one go. + MH_STATUS WINAPI MH_EnableHook(LPVOID pTarget); + + // Disables an already created hook. + // Parameters: + // pTarget [in] A pointer to the target function. + // If this parameter is MH_ALL_HOOKS, all created hooks are + // disabled in one go. + MH_STATUS WINAPI MH_DisableHook(LPVOID pTarget); + + // Queues to enable an already created hook. + // Parameters: + // pTarget [in] A pointer to the target function. + // If this parameter is MH_ALL_HOOKS, all created hooks are + // queued to be enabled. + MH_STATUS WINAPI MH_QueueEnableHook(LPVOID pTarget); + + // Queues to disable an already created hook. + // Parameters: + // pTarget [in] A pointer to the target function. + // If this parameter is MH_ALL_HOOKS, all created hooks are + // queued to be disabled. + MH_STATUS WINAPI MH_QueueDisableHook(LPVOID pTarget); + + // Applies all queued changes in one go. + MH_STATUS WINAPI MH_ApplyQueued(VOID); + + // Translates the MH_STATUS to its name as a string. + const char * WINAPI MH_StatusToString(MH_STATUS status); + +#ifdef __cplusplus +} +#endif diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/VMProtect/VMProtectSDK.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/VMProtect/VMProtectSDK.h new file mode 100644 index 0000000..8c05846 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/VMProtect/VMProtectSDK.h @@ -0,0 +1,106 @@ +#pragma once + +#if defined(__APPLE__) || defined(__unix__) +#define VMP_IMPORT +#define VMP_API +#define VMP_WCHAR unsigned short +#else +#define VMP_IMPORT __declspec(dllimport) +#define VMP_API __stdcall +#define VMP_WCHAR wchar_t +#ifdef _M_IX86 +#pragma comment(lib, "VMProtectSDK32.lib") +#elif _M_X64 +#pragma comment(lib, "VMProtectSDK64.lib") +#elif _M_ARM64 +#pragma comment(lib, "VMProtectARM64.lib") +#else +#error "Unsupported target architecture" +#endif +#endif // __APPLE__ || __unix__ + +#ifdef __cplusplus +extern "C" { +#endif + +// protection +VMP_IMPORT void VMP_API VMProtectBegin(const char *); +VMP_IMPORT void VMP_API VMProtectBeginVirtualization(const char *); +VMP_IMPORT void VMP_API VMProtectBeginMutation(const char *); +VMP_IMPORT void VMP_API VMProtectBeginUltra(const char *); +VMP_IMPORT void VMP_API VMProtectBeginVirtualizationLockByKey(const char *); +VMP_IMPORT void VMP_API VMProtectBeginUltraLockByKey(const char *); +VMP_IMPORT void VMP_API VMProtectEnd(void); + +// utils +VMP_IMPORT bool VMP_API VMProtectIsProtected(); +VMP_IMPORT bool VMP_API VMProtectIsDebuggerPresent(bool); +VMP_IMPORT bool VMP_API VMProtectIsVirtualMachinePresent(void); +VMP_IMPORT bool VMP_API VMProtectIsValidImageCRC(void); +VMP_IMPORT const char * VMP_API VMProtectDecryptStringA(const char *value); +VMP_IMPORT const VMP_WCHAR * VMP_API VMProtectDecryptStringW(const VMP_WCHAR *value); +VMP_IMPORT bool VMP_API VMProtectFreeString(const void *value); + +// licensing +enum VMProtectSerialStateFlags +{ + SERIAL_STATE_SUCCESS = 0, + SERIAL_STATE_FLAG_CORRUPTED = 0x00000001, + SERIAL_STATE_FLAG_INVALID = 0x00000002, + SERIAL_STATE_FLAG_BLACKLISTED = 0x00000004, + SERIAL_STATE_FLAG_DATE_EXPIRED = 0x00000008, + SERIAL_STATE_FLAG_RUNNING_TIME_OVER = 0x00000010, + SERIAL_STATE_FLAG_BAD_HWID = 0x00000020, + SERIAL_STATE_FLAG_MAX_BUILD_EXPIRED = 0x00000040, +}; + +#pragma pack(push, 1) +typedef struct +{ + unsigned short wYear; + unsigned char bMonth; + unsigned char bDay; +} VMProtectDate; + +typedef struct +{ + int nState; // VMProtectSerialStateFlags + VMP_WCHAR wUserName[256]; // user name + VMP_WCHAR wEMail[256]; // email + VMProtectDate dtExpire; // date of serial number expiration + VMProtectDate dtMaxBuild; // max date of build, that will accept this key + int bRunningTime; // running time in minutes + unsigned char nUserDataLength; // length of user data in bUserData + unsigned char bUserData[255]; // up to 255 bytes of user data +} VMProtectSerialNumberData; +#pragma pack(pop) + +VMP_IMPORT int VMP_API VMProtectSetSerialNumber(const char *serial); +VMP_IMPORT int VMP_API VMProtectGetSerialNumberState(); +VMP_IMPORT bool VMP_API VMProtectGetSerialNumberData(VMProtectSerialNumberData *data, int size); +VMP_IMPORT int VMP_API VMProtectGetCurrentHWID(char *hwid, int size); + +// activation +enum VMProtectActivationFlags +{ + ACTIVATION_OK = 0, + ACTIVATION_SMALL_BUFFER, + ACTIVATION_NO_CONNECTION, + ACTIVATION_BAD_REPLY, + ACTIVATION_BANNED, + ACTIVATION_CORRUPTED, + ACTIVATION_BAD_CODE, + ACTIVATION_ALREADY_USED, + ACTIVATION_SERIAL_UNKNOWN, + ACTIVATION_EXPIRED, + ACTIVATION_NOT_AVAILABLE +}; + +VMP_IMPORT int VMP_API VMProtectActivateLicense(const char *code, char *serial, int size); +VMP_IMPORT int VMP_API VMProtectDeactivateLicense(const char *serial); +VMP_IMPORT int VMP_API VMProtectGetOfflineActivationString(const char *code, char *buf, int size); +VMP_IMPORT int VMP_API VMProtectGetOfflineDeactivationString(const char *serial, char *buf, int size); + +#ifdef __cplusplus +} +#endif diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/XorStr/XorStr.hpp b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/XorStr/XorStr.hpp new file mode 100644 index 0000000..b31a1a3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/XorStr/XorStr.hpp @@ -0,0 +1,244 @@ +/* + * Copyright 2017 - 2021 Justas Masiulis + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef JM_XORSTR_HPP +#define JM_XORSTR_HPP + +#if defined(_M_ARM64) || defined(__aarch64__) || defined(_M_ARM) || defined(__arm__) +#include +#elif defined(_M_X64) || defined(__amd64__) || defined(_M_IX86) || defined(__i386__) +#include +#else +#error Unsupported platform +#endif + +#include +#include +#include +#include + +#define xorstr(str) ::jm::xor_string([]() { return str; }, std::integral_constant{}, std::make_index_sequence<::jm::detail::_buffer_size()>{}) +#define xorstr_(str) xorstr(str).crypt_get() + +#ifdef _MSC_VER +#define XORSTR_FORCEINLINE __forceinline +#else +#define XORSTR_FORCEINLINE __attribute__((always_inline)) inline +#endif + +namespace jm +{ + namespace detail + { + template + XORSTR_FORCEINLINE constexpr std::size_t _buffer_size() + { + return ( ( Size / 16 ) + ( Size % 16 != 0 ) ) * 2; + } + + template + XORSTR_FORCEINLINE constexpr std::uint32_t key4() noexcept + { + std::uint32_t value = Seed; + for ( char c : __TIME__ ) + value = static_cast( ( value ^ c ) * 16777619ull ); + return value; + } + + template + XORSTR_FORCEINLINE constexpr std::uint64_t key8() + { + constexpr auto first_part = key4<2166136261 + S>(); + constexpr auto second_part = key4(); + return ( static_cast( first_part ) << 32 ) | second_part; + } + + // loads up to 8 characters of string into uint64 and xors it with the key + template + XORSTR_FORCEINLINE constexpr std::uint64_t + load_xored_str8( std::uint64_t key , std::size_t idx , const CharT* str ) noexcept + { + using cast_type = typename std::make_unsigned::type; + constexpr auto value_size = sizeof( CharT ); + constexpr auto idx_offset = 8 / value_size; + + std::uint64_t value = key; + for ( std::size_t i = 0; i < idx_offset && i + idx * idx_offset < N; ++i ) + value ^= + ( std::uint64_t{ static_cast( str[i + idx * idx_offset] ) } + << ( ( i % idx_offset ) * 8 * value_size ) ); + + return value; + } + + // forces compiler to use registers instead of stuffing constants in rdata + XORSTR_FORCEINLINE std::uint64_t load_from_reg( std::uint64_t value ) noexcept + { +#if defined(__clang__) || defined(__GNUC__) + asm( "" : "=r"( value ) : "0"( value ) : ); + return value; +#else + volatile std::uint64_t reg = value; + return reg; +#endif + } + + } // namespace detail + + template + class xor_string; + + template + class xor_string , std::index_sequence> + { +#ifndef JM_XORSTR_DISABLE_AVX_INTRINSICS + constexpr static inline std::uint64_t alignment = ( ( Size > 16 ) ? 32 : 16 ); +#else + constexpr static inline std::uint64_t alignment = 16; +#endif + + alignas( alignment ) std::uint64_t _storage[sizeof...( Keys )]; + + public: + using value_type = CharT; + using size_type = std::size_t; + using pointer = CharT*; + using const_pointer = const CharT*; + + template + XORSTR_FORCEINLINE xor_string( L l , std::integral_constant , std::index_sequence ) noexcept + : _storage{ ::jm::detail::load_from_reg( ( std::integral_constant( Keys, Indices, l() )>::value ) )... } + { + } + + XORSTR_FORCEINLINE constexpr size_type size() const noexcept + { + return Size - 1; + } + + XORSTR_FORCEINLINE void crypt() noexcept + { + // everything is inlined by hand because a certain compiler with a certain linker is _very_ slow +#if defined(__clang__) + alignas( alignment ) + std::uint64_t arr[]{ ::jm::detail::load_from_reg( Keys )... }; + std::uint64_t* keys = + ( std::uint64_t* )::jm::detail::load_from_reg( (std::uint64_t)arr ); +#else + alignas( alignment ) std::uint64_t keys[]{ ::jm::detail::load_from_reg( Keys )... }; +#endif + +#if defined(_M_ARM64) || defined(__aarch64__) || defined(_M_ARM) || defined(__arm__) +#if defined(__clang__) + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : __builtin_neon_vst1q_v( + reinterpret_cast( _storage ) + Indices * 2 , + veorq_u64( __builtin_neon_vld1q_v( reinterpret_cast( _storage ) + Indices * 2 , 51 ) , + __builtin_neon_vld1q_v( reinterpret_cast( keys ) + Indices * 2 , 51 ) ) , + 51 ) ) , ... ); +#else // GCC, MSVC + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : vst1q_u64( + reinterpret_cast( _storage ) + Indices * 2 , + veorq_u64( vld1q_u64( reinterpret_cast( _storage ) + Indices * 2 ) , + vld1q_u64( reinterpret_cast( keys ) + Indices * 2 ) ) ) ) , ... ); +#endif +#elif !defined(JM_XORSTR_DISABLE_AVX_INTRINSICS) + ( ( Indices >= sizeof( _storage ) / 32 ? static_cast( 0 ) : _mm256_store_si256( + reinterpret_cast<__m256i*>( _storage ) + Indices , + _mm256_xor_si256( + _mm256_load_si256( reinterpret_cast( _storage ) + Indices ) , + _mm256_load_si256( reinterpret_cast( keys ) + Indices ) ) ) ) , ... ); + + if constexpr ( sizeof( _storage ) % 32 != 0 ) + _mm_store_si128( + reinterpret_cast<__m128i*>( _storage + sizeof...( Keys ) - 2 ) , + _mm_xor_si128( _mm_load_si128( reinterpret_cast( _storage + sizeof...( Keys ) - 2 ) ) , + _mm_load_si128( reinterpret_cast( keys + sizeof...( Keys ) - 2 ) ) ) ); +#else + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : _mm_store_si128( + reinterpret_cast<__m128i*>( _storage ) + Indices , + _mm_xor_si128( _mm_load_si128( reinterpret_cast( _storage ) + Indices ) , + _mm_load_si128( reinterpret_cast( keys ) + Indices ) ) ) ) , ... ); +#endif + } + + XORSTR_FORCEINLINE const_pointer get() const noexcept + { + return reinterpret_cast( _storage ); + } + + XORSTR_FORCEINLINE pointer get() noexcept + { + return reinterpret_cast( _storage ); + } + + XORSTR_FORCEINLINE pointer crypt_get() noexcept + { + // crypt() is inlined by hand because a certain compiler with a certain linker is _very_ slow +#if defined(__clang__) + alignas( alignment ) + std::uint64_t arr[]{ ::jm::detail::load_from_reg( Keys )... }; + std::uint64_t* keys = + ( std::uint64_t* )::jm::detail::load_from_reg( (std::uint64_t)arr ); +#else + alignas( alignment ) std::uint64_t keys[]{ ::jm::detail::load_from_reg( Keys )... }; +#endif + +#if defined(_M_ARM64) || defined(__aarch64__) || defined(_M_ARM) || defined(__arm__) +#if defined(__clang__) + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : __builtin_neon_vst1q_v( + reinterpret_cast( _storage ) + Indices * 2 , + veorq_u64( __builtin_neon_vld1q_v( reinterpret_cast( _storage ) + Indices * 2 , 51 ) , + __builtin_neon_vld1q_v( reinterpret_cast( keys ) + Indices * 2 , 51 ) ) , + 51 ) ) , ... ); +#else // GCC, MSVC + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : vst1q_u64( + reinterpret_cast( _storage ) + Indices * 2 , + veorq_u64( vld1q_u64( reinterpret_cast( _storage ) + Indices * 2 ) , + vld1q_u64( reinterpret_cast( keys ) + Indices * 2 ) ) ) ) , ... ); +#endif +#elif !defined(JM_XORSTR_DISABLE_AVX_INTRINSICS) + ( ( Indices >= sizeof( _storage ) / 32 ? static_cast( 0 ) : _mm256_store_si256( + reinterpret_cast<__m256i*>( _storage ) + Indices , + _mm256_xor_si256( + _mm256_load_si256( reinterpret_cast( _storage ) + Indices ) , + _mm256_load_si256( reinterpret_cast( keys ) + Indices ) ) ) ) , ... ); + + if constexpr ( sizeof( _storage ) % 32 != 0 ) + _mm_store_si128( + reinterpret_cast<__m128i*>( _storage + sizeof...( Keys ) - 2 ) , + _mm_xor_si128( _mm_load_si128( reinterpret_cast( _storage + sizeof...( Keys ) - 2 ) ) , + _mm_load_si128( reinterpret_cast( keys + sizeof...( Keys ) - 2 ) ) ) ); +#else + ( ( Indices >= sizeof( _storage ) / 16 ? static_cast( 0 ) : _mm_store_si128( + reinterpret_cast<__m128i*>( _storage ) + Indices , + _mm_xor_si128( _mm_load_si128( reinterpret_cast( _storage ) + Indices ) , + _mm_load_si128( reinterpret_cast( keys ) + Indices ) ) ) ) , ... ); +#endif + + return (pointer)( _storage ); + } + }; + + template + xor_string( L l , std::integral_constant , std::index_sequence )->xor_string< + std::remove_const_t> , + Size , + std::integer_sequence()...> , + std::index_sequence>; + +} // namespace jm + +#endif // include guard diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftconfig.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftconfig.h new file mode 100644 index 0000000..a851516 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftconfig.h @@ -0,0 +1,51 @@ +/**************************************************************************** + * + * ftconfig.h + * + * ANSI-specific configuration file (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This header file contains a number of macro definitions that are used by + * the rest of the engine. Most of the macros here are automatically + * determined at compile time, and you should not need to change it to port + * FreeType, except to compile the library with a non-ANSI compiler. + * + * Note however that if some specific modifications are needed, we advise + * you to place a modified copy in your build directory. + * + * The build directory is usually `builds/`, and contains + * system-specific files that are always included first when building the + * library. + * + * This ANSI version should stay in `include/config/`. + * + */ + +#ifndef FTCONFIG_H_ +#define FTCONFIG_H_ + +#include +#include FT_CONFIG_OPTIONS_H +#include FT_CONFIG_STANDARD_LIBRARY_H + +#include +#include +#include + +#endif /* FTCONFIG_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftheader.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftheader.h new file mode 100644 index 0000000..e607bce --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftheader.h @@ -0,0 +1,836 @@ +/**************************************************************************** + * + * ftheader.h + * + * Build macros of the FreeType 2 library. + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +#ifndef FTHEADER_H_ +#define FTHEADER_H_ + + + /*@***********************************************************************/ + /* */ + /* */ + /* FT_BEGIN_HEADER */ + /* */ + /* */ + /* This macro is used in association with @FT_END_HEADER in header */ + /* files to ensure that the declarations within are properly */ + /* encapsulated in an `extern "C" { .. }` block when included from a */ + /* C++ compiler. */ + /* */ +#ifndef FT_BEGIN_HEADER +# ifdef __cplusplus +# define FT_BEGIN_HEADER extern "C" { +# else +# define FT_BEGIN_HEADER /* nothing */ +# endif +#endif + + + /*@***********************************************************************/ + /* */ + /* */ + /* FT_END_HEADER */ + /* */ + /* */ + /* This macro is used in association with @FT_BEGIN_HEADER in header */ + /* files to ensure that the declarations within are properly */ + /* encapsulated in an `extern "C" { .. }` block when included from a */ + /* C++ compiler. */ + /* */ +#ifndef FT_END_HEADER +# ifdef __cplusplus +# define FT_END_HEADER } +# else +# define FT_END_HEADER /* nothing */ +# endif +#endif + + + /************************************************************************** + * + * Aliases for the FreeType 2 public and configuration files. + * + */ + + /************************************************************************** + * + * @section: + * header_file_macros + * + * @title: + * Header File Macros + * + * @abstract: + * Macro definitions used to `#include` specific header files. + * + * @description: + * In addition to the normal scheme of including header files like + * + * ``` + * #include + * #include + * #include + * ``` + * + * it is possible to used named macros instead. They can be used + * directly in `#include` statements as in + * + * ``` + * #include FT_FREETYPE_H + * #include FT_MULTIPLE_MASTERS_H + * #include FT_GLYPH_H + * ``` + * + * These macros were introduced to overcome the infamous 8.3~naming rule + * required by DOS (and `FT_MULTIPLE_MASTERS_H` is a lot more meaningful + * than `ftmm.h`). + * + */ + + + /* configuration files */ + + /************************************************************************** + * + * @macro: + * FT_CONFIG_CONFIG_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * FreeType~2 configuration data. + * + */ +#ifndef FT_CONFIG_CONFIG_H +#define FT_CONFIG_CONFIG_H +#endif + + + /************************************************************************** + * + * @macro: + * FT_CONFIG_STANDARD_LIBRARY_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * FreeType~2 interface to the standard C library functions. + * + */ +#ifndef FT_CONFIG_STANDARD_LIBRARY_H +#define FT_CONFIG_STANDARD_LIBRARY_H +#endif + + + /************************************************************************** + * + * @macro: + * FT_CONFIG_OPTIONS_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * FreeType~2 project-specific configuration options. + * + */ +#ifndef FT_CONFIG_OPTIONS_H +#define FT_CONFIG_OPTIONS_H +#endif + + + /************************************************************************** + * + * @macro: + * FT_CONFIG_MODULES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * list of FreeType~2 modules that are statically linked to new library + * instances in @FT_Init_FreeType. + * + */ +#ifndef FT_CONFIG_MODULES_H +#define FT_CONFIG_MODULES_H +#endif + + /* */ + + /* public headers */ + + /************************************************************************** + * + * @macro: + * FT_FREETYPE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * base FreeType~2 API. + * + */ +#define FT_FREETYPE_H + + + /************************************************************************** + * + * @macro: + * FT_ERRORS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * list of FreeType~2 error codes (and messages). + * + * It is included by @FT_FREETYPE_H. + * + */ +#define FT_ERRORS_H + + + /************************************************************************** + * + * @macro: + * FT_MODULE_ERRORS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * list of FreeType~2 module error offsets (and messages). + * + */ +#define FT_MODULE_ERRORS_H + + + /************************************************************************** + * + * @macro: + * FT_SYSTEM_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 interface to low-level operations (i.e., memory management + * and stream i/o). + * + * It is included by @FT_FREETYPE_H. + * + */ +#define FT_SYSTEM_H + + + /************************************************************************** + * + * @macro: + * FT_IMAGE_H + * + * @description: + * A macro used in `#include` statements to name the file containing type + * definitions related to glyph images (i.e., bitmaps, outlines, + * scan-converter parameters). + * + * It is included by @FT_FREETYPE_H. + * + */ +#define FT_IMAGE_H + + + /************************************************************************** + * + * @macro: + * FT_TYPES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * basic data types defined by FreeType~2. + * + * It is included by @FT_FREETYPE_H. + * + */ +#define FT_TYPES_H + + + /************************************************************************** + * + * @macro: + * FT_LIST_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * list management API of FreeType~2. + * + * (Most applications will never need to include this file.) + * + */ +#define FT_LIST_H + + + /************************************************************************** + * + * @macro: + * FT_OUTLINE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * scalable outline management API of FreeType~2. + * + */ +#define FT_OUTLINE_H + + + /************************************************************************** + * + * @macro: + * FT_SIZES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * API which manages multiple @FT_Size objects per face. + * + */ +#define FT_SIZES_H + + + /************************************************************************** + * + * @macro: + * FT_MODULE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * module management API of FreeType~2. + * + */ +#define FT_MODULE_H + + + /************************************************************************** + * + * @macro: + * FT_RENDER_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * renderer module management API of FreeType~2. + * + */ +#define FT_RENDER_H + + + /************************************************************************** + * + * @macro: + * FT_DRIVER_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * structures and macros related to the driver modules. + * + */ +#define FT_DRIVER_H + + + /************************************************************************** + * + * @macro: + * FT_AUTOHINTER_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * structures and macros related to the auto-hinting module. + * + * Deprecated since version~2.9; use @FT_DRIVER_H instead. + * + */ +#define FT_AUTOHINTER_H FT_DRIVER_H + + + /************************************************************************** + * + * @macro: + * FT_CFF_DRIVER_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * structures and macros related to the CFF driver module. + * + * Deprecated since version~2.9; use @FT_DRIVER_H instead. + * + */ +#define FT_CFF_DRIVER_H FT_DRIVER_H + + + /************************************************************************** + * + * @macro: + * FT_TRUETYPE_DRIVER_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * structures and macros related to the TrueType driver module. + * + * Deprecated since version~2.9; use @FT_DRIVER_H instead. + * + */ +#define FT_TRUETYPE_DRIVER_H FT_DRIVER_H + + + /************************************************************************** + * + * @macro: + * FT_PCF_DRIVER_H + * + * @description: + * A macro used in `#include` statements to name the file containing + * structures and macros related to the PCF driver module. + * + * Deprecated since version~2.9; use @FT_DRIVER_H instead. + * + */ +#define FT_PCF_DRIVER_H FT_DRIVER_H + + + /************************************************************************** + * + * @macro: + * FT_TYPE1_TABLES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * types and API specific to the Type~1 format. + * + */ +#define FT_TYPE1_TABLES_H + + + /************************************************************************** + * + * @macro: + * FT_TRUETYPE_IDS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * enumeration values which identify name strings, languages, encodings, + * etc. This file really contains a _large_ set of constant macro + * definitions, taken from the TrueType and OpenType specifications. + * + */ +#define FT_TRUETYPE_IDS_H + + + /************************************************************************** + * + * @macro: + * FT_TRUETYPE_TABLES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * types and API specific to the TrueType (as well as OpenType) format. + * + */ +#define FT_TRUETYPE_TABLES_H + + + /************************************************************************** + * + * @macro: + * FT_TRUETYPE_TAGS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of TrueType four-byte 'tags' which identify blocks in + * SFNT-based font formats (i.e., TrueType and OpenType). + * + */ +#define FT_TRUETYPE_TAGS_H + + + /************************************************************************** + * + * @macro: + * FT_BDF_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which accesses BDF-specific strings from a face. + * + */ +#define FT_BDF_H + + + /************************************************************************** + * + * @macro: + * FT_CID_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which access CID font information from a face. + * + */ +#define FT_CID_H + + + /************************************************************************** + * + * @macro: + * FT_GZIP_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which supports gzip-compressed files. + * + */ +#define FT_GZIP_H + + + /************************************************************************** + * + * @macro: + * FT_LZW_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which supports LZW-compressed files. + * + */ +#define FT_LZW_H + + + /************************************************************************** + * + * @macro: + * FT_BZIP2_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which supports bzip2-compressed files. + * + */ +#define FT_BZIP2_H + + + /************************************************************************** + * + * @macro: + * FT_WINFONTS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * definitions of an API which supports Windows FNT files. + * + */ +#define FT_WINFONTS_H + + + /************************************************************************** + * + * @macro: + * FT_GLYPH_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * API of the optional glyph management component. + * + */ +#define FT_GLYPH_H + + + /************************************************************************** + * + * @macro: + * FT_BITMAP_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * API of the optional bitmap conversion component. + * + */ +#define FT_BITMAP_H + + + /************************************************************************** + * + * @macro: + * FT_BBOX_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * API of the optional exact bounding box computation routines. + * + */ +#define FT_BBOX_H + + + /************************************************************************** + * + * @macro: + * FT_CACHE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * API of the optional FreeType~2 cache sub-system. + * + */ +#define FT_CACHE_H + + + /************************************************************************** + * + * @macro: + * FT_MAC_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * Macintosh-specific FreeType~2 API. The latter is used to access fonts + * embedded in resource forks. + * + * This header file must be explicitly included by client applications + * compiled on the Mac (note that the base API still works though). + * + */ +#define FT_MAC_H + + + /************************************************************************** + * + * @macro: + * FT_MULTIPLE_MASTERS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * optional multiple-masters management API of FreeType~2. + * + */ +#define FT_MULTIPLE_MASTERS_H + + + /************************************************************************** + * + * @macro: + * FT_SFNT_NAMES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * optional FreeType~2 API which accesses embedded 'name' strings in + * SFNT-based font formats (i.e., TrueType and OpenType). + * + */ +#define FT_SFNT_NAMES_H + + + /************************************************************************** + * + * @macro: + * FT_OPENTYPE_VALIDATE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * optional FreeType~2 API which validates OpenType tables ('BASE', + * 'GDEF', 'GPOS', 'GSUB', 'JSTF'). + * + */ +#define FT_OPENTYPE_VALIDATE_H + + + /************************************************************************** + * + * @macro: + * FT_GX_VALIDATE_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * optional FreeType~2 API which validates TrueTypeGX/AAT tables ('feat', + * 'mort', 'morx', 'bsln', 'just', 'kern', 'opbd', 'trak', 'prop'). + * + */ +#define FT_GX_VALIDATE_H + + + /************************************************************************** + * + * @macro: + * FT_PFR_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which accesses PFR-specific data. + * + */ +#define FT_PFR_H + + + /************************************************************************** + * + * @macro: + * FT_STROKER_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which provides functions to stroke outline paths. + */ +#define FT_STROKER_H + + + /************************************************************************** + * + * @macro: + * FT_SYNTHESIS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which performs artificial obliquing and emboldening. + */ +#define FT_SYNTHESIS_H + + + /************************************************************************** + * + * @macro: + * FT_FONT_FORMATS_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which provides functions specific to font formats. + */ +#define FT_FONT_FORMATS_H + + /* deprecated */ +#define FT_XFREE86_H FT_FONT_FORMATS_H + + + /************************************************************************** + * + * @macro: + * FT_TRIGONOMETRY_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which performs trigonometric computations (e.g., + * cosines and arc tangents). + */ +#define FT_TRIGONOMETRY_H + + + /************************************************************************** + * + * @macro: + * FT_LCD_FILTER_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which performs color filtering for subpixel rendering. + */ +#define FT_LCD_FILTER_H + + + /************************************************************************** + * + * @macro: + * FT_INCREMENTAL_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which performs incremental glyph loading. + */ +#define FT_INCREMENTAL_H + + + /************************************************************************** + * + * @macro: + * FT_GASP_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which returns entries from the TrueType GASP table. + */ +#define FT_GASP_H + + + /************************************************************************** + * + * @macro: + * FT_ADVANCES_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which returns individual and ranged glyph advances. + */ +#define FT_ADVANCES_H + + + /************************************************************************** + * + * @macro: + * FT_COLOR_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which handles the OpenType 'CPAL' table. + */ +#define FT_COLOR_H + + + /************************************************************************** + * + * @macro: + * FT_OTSVG_H + * + * @description: + * A macro used in `#include` statements to name the file containing the + * FreeType~2 API which handles the OpenType 'SVG~' glyphs. + */ +#define FT_OTSVG_H + + + /* */ + + /* These header files don't need to be included by the user. */ +#define FT_ERROR_DEFINITIONS_H +#define FT_PARAMETER_TAGS_H + + /* Deprecated macros. */ +#define FT_UNPATENTED_HINTING_H +#define FT_TRUETYPE_UNPATENTED_H + + /* `FT_CACHE_H` is the only header file needed for the cache subsystem. */ +#define FT_CACHE_IMAGE_H FT_CACHE_H +#define FT_CACHE_SMALL_BITMAPS_H FT_CACHE_H +#define FT_CACHE_CHARMAP_H FT_CACHE_H + + /* The internals of the cache sub-system are no longer exposed. We */ + /* default to `FT_CACHE_H` at the moment just in case, but we know */ + /* of no rogue client that uses them. */ + /* */ +#define FT_CACHE_MANAGER_H FT_CACHE_H +#define FT_CACHE_INTERNAL_MRU_H FT_CACHE_H +#define FT_CACHE_INTERNAL_MANAGER_H FT_CACHE_H +#define FT_CACHE_INTERNAL_CACHE_H FT_CACHE_H +#define FT_CACHE_INTERNAL_GLYPH_H FT_CACHE_H +#define FT_CACHE_INTERNAL_IMAGE_H FT_CACHE_H +#define FT_CACHE_INTERNAL_SBITS_H FT_CACHE_H + +/* TODO(david): Move this section below to a different header */ +#ifdef FT2_BUILD_LIBRARY +#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */ + + /* We disable the warning `conditional expression is constant' here */ + /* in order to compile cleanly with the maximum level of warnings. */ + /* In particular, the warning complains about stuff like `while(0)' */ + /* which is very useful in macro definitions. There is no benefit */ + /* in having it enabled. */ +#pragma warning( disable : 4127 ) + +#endif /* _MSC_VER */ +#endif /* FT2_BUILD_LIBRARY */ + +#endif /* FTHEADER_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftmodule.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftmodule.h new file mode 100644 index 0000000..b315bab --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftmodule.h @@ -0,0 +1,33 @@ +/* + * This file registers the FreeType modules compiled into the library. + * + * If you use GNU make, this file IS NOT USED! Instead, it is created in + * the objects directory (normally `/objs/`) based on information + * from `/modules.cfg`. + * + * Please read `docs/INSTALL.ANY` and `docs/CUSTOMIZE` how to compile + * FreeType without GNU make. + * + */ + +FT_USE_MODULE( FT_Module_Class, autofit_module_class ) +FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) +FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) +FT_USE_MODULE( FT_Module_Class, psaux_module_class ) +FT_USE_MODULE( FT_Module_Class, psnames_module_class ) +FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) +FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_svg_renderer_class ) + +/* EOF */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftoption.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftoption.h new file mode 100644 index 0000000..1976b33 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftoption.h @@ -0,0 +1,1014 @@ +/**************************************************************************** + * + * ftoption.h + * + * User-selectable configuration macros (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTOPTION_H_ +#define FTOPTION_H_ + + +#include + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * USER-SELECTABLE CONFIGURATION MACROS + * + * This file contains the default configuration macro definitions for a + * standard build of the FreeType library. There are three ways to use + * this file to build project-specific versions of the library: + * + * - You can modify this file by hand, but this is not recommended in + * cases where you would like to build several versions of the library + * from a single source directory. + * + * - You can put a copy of this file in your build directory, more + * precisely in `$BUILD/freetype/config/ftoption.h`, where `$BUILD` is + * the name of a directory that is included _before_ the FreeType include + * path during compilation. + * + * The default FreeType Makefiles use the build directory + * `builds/` by default, but you can easily change that for your + * own projects. + * + * - Copy the file to `$BUILD/ft2build.h` and modify it + * slightly to pre-define the macro `FT_CONFIG_OPTIONS_H` used to locate + * this file during the build. For example, + * + * ``` + * #define FT_CONFIG_OPTIONS_H + * #include + * ``` + * + * will use `$BUILD/myftoptions.h` instead of this file for macro + * definitions. + * + * Note also that you can similarly pre-define the macro + * `FT_CONFIG_MODULES_H` used to locate the file listing of the modules + * that are statically linked to the library at compile time. By + * default, this file is ``. + * + * We highly recommend using the third method whenever possible. + * + */ + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** G E N E R A L F R E E T Y P E 2 C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /*#************************************************************************ + * + * If you enable this configuration option, FreeType recognizes an + * environment variable called `FREETYPE_PROPERTIES`, which can be used to + * control the various font drivers and modules. The controllable + * properties are listed in the section @properties. + * + * You have to undefine this configuration option on platforms that lack + * the concept of environment variables (and thus don't have the `getenv` + * function), for example Windows CE. + * + * `FREETYPE_PROPERTIES` has the following syntax form (broken here into + * multiple lines for better readability). + * + * ``` + * + * ':' + * '=' + * + * ':' + * '=' + * ... + * ``` + * + * Example: + * + * ``` + * FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ + * cff:no-stem-darkening=1 + * ``` + * + */ +#define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES + + + /************************************************************************** + * + * Uncomment the line below if you want to activate LCD rendering + * technology similar to ClearType in this build of the library. This + * technology triples the resolution in the direction color subpixels. To + * mitigate color fringes inherent to this technology, you also need to + * explicitly set up LCD filtering. + * + * When this macro is not defined, FreeType offers alternative LCD + * rendering technology that produces excellent output. + */ +/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ + + + /************************************************************************** + * + * Many compilers provide a non-ANSI 64-bit data type that can be used by + * FreeType to speed up some computations. However, this will create some + * problems when compiling the library in strict ANSI mode. + * + * For this reason, the use of 64-bit integers is normally disabled when + * the `__STDC__` macro is defined. You can however disable this by + * defining the macro `FT_CONFIG_OPTION_FORCE_INT64` here. + * + * For most compilers, this will only create compilation warnings when + * building the library. + * + * ObNote: The compiler-specific 64-bit integers are detected in the + * file `ftconfig.h` either statically or through the `configure` + * script on supported platforms. + */ +#undef FT_CONFIG_OPTION_FORCE_INT64 + + + /************************************************************************** + * + * If this macro is defined, do not try to use an assembler version of + * performance-critical functions (e.g., @FT_MulFix). You should only do + * that to verify that the assembler function works properly, or to execute + * benchmark tests of the various implementations. + */ +/* #define FT_CONFIG_OPTION_NO_ASSEMBLER */ + + + /************************************************************************** + * + * If this macro is defined, try to use an inlined assembler version of the + * @FT_MulFix function, which is a 'hotspot' when loading and hinting + * glyphs, and which should be executed as fast as possible. + * + * Note that if your compiler or CPU is not supported, this will default to + * the standard and portable implementation found in `ftcalc.c`. + */ +#define FT_CONFIG_OPTION_INLINE_MULFIX + + + /************************************************************************** + * + * LZW-compressed file support. + * + * FreeType now handles font files that have been compressed with the + * `compress` program. This is mostly used to parse many of the PCF + * files that come with various X11 distributions. The implementation + * uses NetBSD's `zopen` to partially uncompress the file on the fly (see + * `src/lzw/ftgzip.c`). + * + * Define this macro if you want to enable this 'feature'. + */ +#define FT_CONFIG_OPTION_USE_LZW + + + /************************************************************************** + * + * Gzip-compressed file support. + * + * FreeType now handles font files that have been compressed with the + * `gzip` program. This is mostly used to parse many of the PCF files + * that come with XFree86. The implementation uses 'zlib' to partially + * uncompress the file on the fly (see `src/gzip/ftgzip.c`). + * + * Define this macro if you want to enable this 'feature'. See also the + * macro `FT_CONFIG_OPTION_SYSTEM_ZLIB` below. + */ +#define FT_CONFIG_OPTION_USE_ZLIB + + + /************************************************************************** + * + * ZLib library selection + * + * This macro is only used when `FT_CONFIG_OPTION_USE_ZLIB` is defined. + * It allows FreeType's 'ftgzip' component to link to the system's + * installation of the ZLib library. This is useful on systems like + * Unix or VMS where it generally is already available. + * + * If you let it undefined, the component will use its own copy of the + * zlib sources instead. These have been modified to be included + * directly within the component and **not** export external function + * names. This allows you to link any program with FreeType _and_ ZLib + * without linking conflicts. + * + * Do not `#undef` this macro here since the build system might define + * it for certain configurations only. + * + * If you use a build system like cmake or the `configure` script, + * options set by those programs have precedence, overwriting the value + * here with the configured one. + * + * If you use the GNU make build system directly (that is, without the + * `configure` script) and you define this macro, you also have to pass + * `SYSTEM_ZLIB=yes` as an argument to make. + */ +/* #define FT_CONFIG_OPTION_SYSTEM_ZLIB */ + + + /************************************************************************** + * + * Bzip2-compressed file support. + * + * FreeType now handles font files that have been compressed with the + * `bzip2` program. This is mostly used to parse many of the PCF files + * that come with XFree86. The implementation uses `libbz2` to partially + * uncompress the file on the fly (see `src/bzip2/ftbzip2.c`). Contrary + * to gzip, bzip2 currently is not included and need to use the system + * available bzip2 implementation. + * + * Define this macro if you want to enable this 'feature'. + * + * If you use a build system like cmake or the `configure` script, + * options set by those programs have precedence, overwriting the value + * here with the configured one. + */ +/* #define FT_CONFIG_OPTION_USE_BZIP2 */ + + + /************************************************************************** + * + * Define to disable the use of file stream functions and types, `FILE`, + * `fopen`, etc. Enables the use of smaller system libraries on embedded + * systems that have multiple system libraries, some with or without file + * stream support, in the cases where file stream support is not necessary + * such as memory loading of font files. + */ +/* #define FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT */ + + + /************************************************************************** + * + * PNG bitmap support. + * + * FreeType now handles loading color bitmap glyphs in the PNG format. + * This requires help from the external libpng library. Uncompressed + * color bitmaps do not need any external libraries and will be supported + * regardless of this configuration. + * + * Define this macro if you want to enable this 'feature'. + * + * If you use a build system like cmake or the `configure` script, + * options set by those programs have precedence, overwriting the value + * here with the configured one. + */ +/* #define FT_CONFIG_OPTION_USE_PNG */ + + + /************************************************************************** + * + * HarfBuzz support. + * + * FreeType uses the HarfBuzz library to improve auto-hinting of OpenType + * fonts. If available, many glyphs not directly addressable by a font's + * character map will be hinted also. + * + * Define this macro if you want to enable this 'feature'. + * + * If you use a build system like cmake or the `configure` script, + * options set by those programs have precedence, overwriting the value + * here with the configured one. + */ +/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */ + + + /************************************************************************** + * + * Brotli support. + * + * FreeType uses the Brotli library to provide support for decompressing + * WOFF2 streams. + * + * Define this macro if you want to enable this 'feature'. + * + * If you use a build system like cmake or the `configure` script, + * options set by those programs have precedence, overwriting the value + * here with the configured one. + */ +/* #define FT_CONFIG_OPTION_USE_BROTLI */ + + + /************************************************************************** + * + * Glyph Postscript Names handling + * + * By default, FreeType 2 is compiled with the 'psnames' module. This + * module is in charge of converting a glyph name string into a Unicode + * value, or return a Macintosh standard glyph name for the use with the + * TrueType 'post' table. + * + * Undefine this macro if you do not want 'psnames' compiled in your + * build of FreeType. This has the following effects: + * + * - The TrueType driver will provide its own set of glyph names, if you + * build it to support postscript names in the TrueType 'post' table, + * but will not synthesize a missing Unicode charmap. + * + * - The Type~1 driver will not be able to synthesize a Unicode charmap + * out of the glyphs found in the fonts. + * + * You would normally undefine this configuration macro when building a + * version of FreeType that doesn't contain a Type~1 or CFF driver. + */ +#define FT_CONFIG_OPTION_POSTSCRIPT_NAMES + + + /************************************************************************** + * + * Postscript Names to Unicode Values support + * + * By default, FreeType~2 is built with the 'psnames' module compiled in. + * Among other things, the module is used to convert a glyph name into a + * Unicode value. This is especially useful in order to synthesize on + * the fly a Unicode charmap from the CFF/Type~1 driver through a big + * table named the 'Adobe Glyph List' (AGL). + * + * Undefine this macro if you do not want the Adobe Glyph List compiled + * in your 'psnames' module. The Type~1 driver will not be able to + * synthesize a Unicode charmap out of the glyphs found in the fonts. + */ +#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST + + + /************************************************************************** + * + * Support for Mac fonts + * + * Define this macro if you want support for outline fonts in Mac format + * (mac dfont, mac resource, macbinary containing a mac resource) on + * non-Mac platforms. + * + * Note that the 'FOND' resource isn't checked. + */ +#define FT_CONFIG_OPTION_MAC_FONTS + + + /************************************************************************** + * + * Guessing methods to access embedded resource forks + * + * Enable extra Mac fonts support on non-Mac platforms (e.g., GNU/Linux). + * + * Resource forks which include fonts data are stored sometimes in + * locations which users or developers don't expected. In some cases, + * resource forks start with some offset from the head of a file. In + * other cases, the actual resource fork is stored in file different from + * what the user specifies. If this option is activated, FreeType tries + * to guess whether such offsets or different file names must be used. + * + * Note that normal, direct access of resource forks is controlled via + * the `FT_CONFIG_OPTION_MAC_FONTS` option. + */ +#ifdef FT_CONFIG_OPTION_MAC_FONTS +#define FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK +#endif + + + /************************************************************************** + * + * Allow the use of `FT_Incremental_Interface` to load typefaces that + * contain no glyph data, but supply it via a callback function. This is + * required by clients supporting document formats which supply font data + * incrementally as the document is parsed, such as the Ghostscript + * interpreter for the PostScript language. + */ +#define FT_CONFIG_OPTION_INCREMENTAL + + + /************************************************************************** + * + * The size in bytes of the render pool used by the scan-line converter to + * do all of its work. + */ +#define FT_RENDER_POOL_SIZE 16384L + + + /************************************************************************** + * + * FT_MAX_MODULES + * + * The maximum number of modules that can be registered in a single + * FreeType library object. 32~is the default. + */ +#define FT_MAX_MODULES 32 + + + /************************************************************************** + * + * Debug level + * + * FreeType can be compiled in debug or trace mode. In debug mode, + * errors are reported through the 'ftdebug' component. In trace mode, + * additional messages are sent to the standard output during execution. + * + * Define `FT_DEBUG_LEVEL_ERROR` to build the library in debug mode. + * Define `FT_DEBUG_LEVEL_TRACE` to build it in trace mode. + * + * Don't define any of these macros to compile in 'release' mode! + * + * Do not `#undef` these macros here since the build system might define + * them for certain configurations only. + */ +/* #define FT_DEBUG_LEVEL_ERROR */ +/* #define FT_DEBUG_LEVEL_TRACE */ + + + /************************************************************************** + * + * Logging + * + * Compiling FreeType in debug or trace mode makes FreeType write error + * and trace log messages to `stderr`. Enabling this macro + * automatically forces the `FT_DEBUG_LEVEL_ERROR` and + * `FT_DEBUG_LEVEL_TRACE` macros and allows FreeType to write error and + * trace log messages to a file instead of `stderr`. For writing logs + * to a file, FreeType uses an the external `dlg` library (the source + * code is in `src/dlg`). + * + * This option needs a C99 compiler. + */ +/* #define FT_DEBUG_LOGGING */ + + + /************************************************************************** + * + * Autofitter debugging + * + * If `FT_DEBUG_AUTOFIT` is defined, FreeType provides some means to + * control the autofitter behaviour for debugging purposes with global + * boolean variables (consequently, you should **never** enable this + * while compiling in 'release' mode): + * + * ``` + * af_debug_disable_horz_hints_ + * af_debug_disable_vert_hints_ + * af_debug_disable_blue_hints_ + * ``` + * + * Additionally, the following functions provide dumps of various + * internal autofit structures to stdout (using `printf`): + * + * ``` + * af_glyph_hints_dump_points + * af_glyph_hints_dump_segments + * af_glyph_hints_dump_edges + * af_glyph_hints_get_num_segments + * af_glyph_hints_get_segment_offset + * ``` + * + * As an argument, they use another global variable: + * + * ``` + * af_debug_hints_ + * ``` + * + * Please have a look at the `ftgrid` demo program to see how those + * variables and macros should be used. + * + * Do not `#undef` these macros here since the build system might define + * them for certain configurations only. + */ +/* #define FT_DEBUG_AUTOFIT */ + + + /************************************************************************** + * + * Memory Debugging + * + * FreeType now comes with an integrated memory debugger that is capable + * of detecting simple errors like memory leaks or double deletes. To + * compile it within your build of the library, you should define + * `FT_DEBUG_MEMORY` here. + * + * Note that the memory debugger is only activated at runtime when when + * the _environment_ variable `FT2_DEBUG_MEMORY` is defined also! + * + * Do not `#undef` this macro here since the build system might define it + * for certain configurations only. + */ +/* #define FT_DEBUG_MEMORY */ + + + /************************************************************************** + * + * Module errors + * + * If this macro is set (which is _not_ the default), the higher byte of + * an error code gives the module in which the error has occurred, while + * the lower byte is the real error code. + * + * Setting this macro makes sense for debugging purposes only, since it + * would break source compatibility of certain programs that use + * FreeType~2. + * + * More details can be found in the files `ftmoderr.h` and `fterrors.h`. + */ +#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS + + + /************************************************************************** + * + * OpenType SVG Glyph Support + * + * Setting this macro enables support for OpenType SVG glyphs. By + * default, FreeType can only fetch SVG documents. However, it can also + * render them if external rendering hook functions are plugged in at + * runtime. + * + * More details on the hooks can be found in file `otsvg.h`. + */ +#define FT_CONFIG_OPTION_SVG + + + /************************************************************************** + * + * Error Strings + * + * If this macro is set, `FT_Error_String` will return meaningful + * descriptions. This is not enabled by default to reduce the overall + * size of FreeType. + * + * More details can be found in the file `fterrors.h`. + */ +/* #define FT_CONFIG_OPTION_ERROR_STRINGS */ + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** S F N T D R I V E R C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_EMBEDDED_BITMAPS` if you want to support + * embedded bitmaps in all formats using the 'sfnt' module (namely + * TrueType~& OpenType). + */ +#define TT_CONFIG_OPTION_EMBEDDED_BITMAPS + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_COLOR_LAYERS` if you want to support colored + * outlines (from the 'COLR'/'CPAL' tables) in all formats using the 'sfnt' + * module (namely TrueType~& OpenType). + */ +#define TT_CONFIG_OPTION_COLOR_LAYERS + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_POSTSCRIPT_NAMES` if you want to be able to + * load and enumerate Postscript names of glyphs in a TrueType or OpenType + * file. + * + * Note that if you do not compile the 'psnames' module by undefining the + * above `FT_CONFIG_OPTION_POSTSCRIPT_NAMES` macro, the 'sfnt' module will + * contain additional code to read the PostScript name table from a font. + * + * (By default, the module uses 'psnames' to extract glyph names.) + */ +#define TT_CONFIG_OPTION_POSTSCRIPT_NAMES + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_SFNT_NAMES` if your applications need to access + * the internal name table in a SFNT-based format like TrueType or + * OpenType. The name table contains various strings used to describe the + * font, like family name, copyright, version, etc. It does not contain + * any glyph name though. + * + * Accessing SFNT names is done through the functions declared in + * `ftsnames.h`. + */ +#define TT_CONFIG_OPTION_SFNT_NAMES + + + /************************************************************************** + * + * TrueType CMap support + * + * Here you can fine-tune which TrueType CMap table format shall be + * supported. + */ +#define TT_CONFIG_CMAP_FORMAT_0 +#define TT_CONFIG_CMAP_FORMAT_2 +#define TT_CONFIG_CMAP_FORMAT_4 +#define TT_CONFIG_CMAP_FORMAT_6 +#define TT_CONFIG_CMAP_FORMAT_8 +#define TT_CONFIG_CMAP_FORMAT_10 +#define TT_CONFIG_CMAP_FORMAT_12 +#define TT_CONFIG_CMAP_FORMAT_13 +#define TT_CONFIG_CMAP_FORMAT_14 + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** T R U E T Y P E D R I V E R C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_BYTECODE_INTERPRETER` if you want to compile a + * bytecode interpreter in the TrueType driver. + * + * By undefining this, you will only compile the code necessary to load + * TrueType glyphs without hinting. + * + * Do not `#undef` this macro here, since the build system might define it + * for certain configurations only. + */ +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_SUBPIXEL_HINTING` if you want to compile + * subpixel hinting support into the TrueType driver. This modifies the + * TrueType hinting mechanism when anything but `FT_RENDER_MODE_MONO` is + * requested. + * + * In particular, it modifies the bytecode interpreter to interpret (or + * not) instructions in a certain way so that all TrueType fonts look like + * they do in a Windows ClearType (DirectWrite) environment. See [1] for a + * technical overview on what this means. See `ttinterp.h` for more + * details on this option. + * + * The new default mode focuses on applying a minimal set of rules to all + * fonts indiscriminately so that modern and web fonts render well while + * legacy fonts render okay. The corresponding interpreter version is v40. + * The so-called Infinality mode (v38) is no longer available in FreeType. + * + * By undefining these, you get rendering behavior like on Windows without + * ClearType, i.e., Windows XP without ClearType enabled and Win9x + * (interpreter version v35). Or not, depending on how much hinting blood + * and testing tears the font designer put into a given font. If you + * define one or both subpixel hinting options, you can switch between + * between v35 and the ones you define (using `FT_Property_Set`). + * + * This option requires `TT_CONFIG_OPTION_BYTECODE_INTERPRETER` to be + * defined. + * + * [1] + * https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx + */ +#define TT_CONFIG_OPTION_SUBPIXEL_HINTING + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED` to compile the + * TrueType glyph loader to use Apple's definition of how to handle + * component offsets in composite glyphs. + * + * Apple and MS disagree on the default behavior of component offsets in + * composites. Apple says that they should be scaled by the scaling + * factors in the transformation matrix (roughly, it's more complex) while + * MS says they should not. OpenType defines two bits in the composite + * flags array which can be used to disambiguate, but old fonts will not + * have them. + * + * https://www.microsoft.com/typography/otspec/glyf.htm + * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html + */ +#undef TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_GX_VAR_SUPPORT` if you want to include support + * for Apple's distortable font technology ('fvar', 'gvar', 'cvar', and + * 'avar' tables). Tagged 'Font Variations', this is now part of OpenType + * also. This has many similarities to Type~1 Multiple Masters support. + */ +#define TT_CONFIG_OPTION_GX_VAR_SUPPORT + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_NO_BORING_EXPANSION` if you want to exclude + * support for 'boring' OpenType specification expansions. + * + * https://github.com/harfbuzz/boring-expansion-spec + * + * Right now, the following features are covered: + * + * - 'avar' version 2.0 + * + * Most likely, this is a temporary configuration option to be removed in + * the near future, since it is assumed that eventually those features are + * added to the OpenType standard. + */ +/* #define TT_CONFIG_OPTION_NO_BORING_EXPANSION */ + + + /************************************************************************** + * + * Define `TT_CONFIG_OPTION_BDF` if you want to include support for an + * embedded 'BDF~' table within SFNT-based bitmap formats. + */ +#define TT_CONFIG_OPTION_BDF + + + /************************************************************************** + * + * Option `TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES` controls the maximum + * number of bytecode instructions executed for a single run of the + * bytecode interpreter, needed to prevent infinite loops. You don't want + * to change this except for very special situations (e.g., making a + * library fuzzer spend less time to handle broken fonts). + * + * It is not expected that this value is ever modified by a configuring + * script; instead, it gets surrounded with `#ifndef ... #endif` so that + * the value can be set as a preprocessor option on the compiler's command + * line. + */ +#ifndef TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES +#define TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES 1000000L +#endif + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** T Y P E 1 D R I V E R C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * `T1_MAX_DICT_DEPTH` is the maximum depth of nest dictionaries and arrays + * in the Type~1 stream (see `t1load.c`). A minimum of~4 is required. + */ +#define T1_MAX_DICT_DEPTH 5 + + + /************************************************************************** + * + * `T1_MAX_SUBRS_CALLS` details the maximum number of nested sub-routine + * calls during glyph loading. + */ +#define T1_MAX_SUBRS_CALLS 16 + + + /************************************************************************** + * + * `T1_MAX_CHARSTRING_OPERANDS` is the charstring stack's capacity. A + * minimum of~16 is required. + * + * The Chinese font 'MingTiEG-Medium' (covering the CNS 11643 character + * set) needs 256. + */ +#define T1_MAX_CHARSTRINGS_OPERANDS 256 + + + /************************************************************************** + * + * Define this configuration macro if you want to prevent the compilation + * of the 't1afm' module, which is in charge of reading Type~1 AFM files + * into an existing face. Note that if set, the Type~1 driver will be + * unable to produce kerning distances. + */ +#undef T1_CONFIG_OPTION_NO_AFM + + + /************************************************************************** + * + * Define this configuration macro if you want to prevent the compilation + * of the Multiple Masters font support in the Type~1 driver. + */ +#undef T1_CONFIG_OPTION_NO_MM_SUPPORT + + + /************************************************************************** + * + * `T1_CONFIG_OPTION_OLD_ENGINE` controls whether the pre-Adobe Type~1 + * engine gets compiled into FreeType. If defined, it is possible to + * switch between the two engines using the `hinting-engine` property of + * the 'type1' driver module. + */ +/* #define T1_CONFIG_OPTION_OLD_ENGINE */ + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** C F F D R I V E R C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * Using `CFF_CONFIG_OPTION_DARKENING_PARAMETER_{X,Y}{1,2,3,4}` it is + * possible to set up the default values of the four control points that + * define the stem darkening behaviour of the (new) CFF engine. For more + * details please read the documentation of the `darkening-parameters` + * property (file `ftdriver.h`), which allows the control at run-time. + * + * Do **not** undefine these macros! + */ +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1 500 +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1 400 + +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 1000 +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y2 275 + +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 1667 +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y3 275 + +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4 2333 +#define CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y4 0 + + + /************************************************************************** + * + * `CFF_CONFIG_OPTION_OLD_ENGINE` controls whether the pre-Adobe CFF engine + * gets compiled into FreeType. If defined, it is possible to switch + * between the two engines using the `hinting-engine` property of the 'cff' + * driver module. + */ +/* #define CFF_CONFIG_OPTION_OLD_ENGINE */ + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** P C F D R I V E R C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * There are many PCF fonts just called 'Fixed' which look completely + * different, and which have nothing to do with each other. When selecting + * 'Fixed' in KDE or Gnome one gets results that appear rather random, the + * style changes often if one changes the size and one cannot select some + * fonts at all. This option makes the 'pcf' module prepend the foundry + * name (plus a space) to the family name. + * + * We also check whether we have 'wide' characters; all put together, we + * get family names like 'Sony Fixed' or 'Misc Fixed Wide'. + * + * If this option is activated, it can be controlled with the + * `no-long-family-names` property of the 'pcf' driver module. + */ +/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */ + + + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** A U T O F I T M O D U L E C O N F I G U R A T I O N ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * Compile 'autofit' module with CJK (Chinese, Japanese, Korean) script + * support. + */ +#define AF_CONFIG_OPTION_CJK + + + /************************************************************************** + * + * Compile 'autofit' module with fallback Indic script support, covering + * some scripts that the 'latin' submodule of the 'autofit' module doesn't + * (yet) handle. Currently, this needs option `AF_CONFIG_OPTION_CJK`. + */ +#ifdef AF_CONFIG_OPTION_CJK +#define AF_CONFIG_OPTION_INDIC +#endif + + + /************************************************************************** + * + * Use TrueType-like size metrics for 'light' auto-hinting. + * + * It is strongly recommended to avoid this option, which exists only to + * help some legacy applications retain its appearance and behaviour with + * respect to auto-hinted TrueType fonts. + * + * The very reason this option exists at all are GNU/Linux distributions + * like Fedora that did not un-patch the following change (which was + * present in FreeType between versions 2.4.6 and 2.7.1, inclusive). + * + * ``` + * 2011-07-16 Steven Chu + * + * [truetype] Fix metrics on size request for scalable fonts. + * ``` + * + * This problematic commit is now reverted (more or less). + */ +/* #define AF_CONFIG_OPTION_TT_SIZE_METRICS */ + + /* */ + + + /* + * This macro is obsolete. Support has been removed in FreeType version + * 2.5. + */ +/* #define FT_CONFIG_OPTION_OLD_INTERNALS */ + + + /* + * The next two macros are defined if native TrueType hinting is + * requested by the definitions above. Don't change this. + */ +#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER +#define TT_USE_BYTECODE_INTERPRETER +#ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING +#define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL +#endif +#endif + + + /* + * The TT_SUPPORT_COLRV1 macro is defined to indicate to clients that this + * version of FreeType has support for 'COLR' v1 API. This definition is + * useful to FreeType clients that want to build in support for 'COLR' v1 + * depending on a tip-of-tree checkout before it is officially released in + * FreeType, and while the feature cannot yet be tested against using + * version macros. Don't change this macro. This may be removed once the + * feature is in a FreeType release version and version macros can be used + * to test for availability. + */ +#ifdef TT_CONFIG_OPTION_COLOR_LAYERS +#define TT_SUPPORT_COLRV1 +#endif + + + /* + * Check CFF darkening parameters. The checks are the same as in function + * `cff_property_set` in file `cffdrivr.c`. + */ +#if CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4 < 0 || \ + \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y2 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y3 < 0 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y4 < 0 || \ + \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1 > \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 > \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 > \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4 || \ + \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1 > 500 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y2 > 500 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y3 > 500 || \ + CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y4 > 500 +#error "Invalid CFF darkening parameters!" +#endif + + +FT_END_HEADER + +#endif /* FTOPTION_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftstdlib.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftstdlib.h new file mode 100644 index 0000000..f65148a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/ftstdlib.h @@ -0,0 +1,185 @@ +/**************************************************************************** + * + * ftstdlib.h + * + * ANSI-specific library and header configuration file (specification + * only). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This file is used to group all `#includes` to the ANSI~C library that + * FreeType normally requires. It also defines macros to rename the + * standard functions within the FreeType source code. + * + * Load a file which defines `FTSTDLIB_H_` before this one to override it. + * + */ + + +#ifndef FTSTDLIB_H_ +#define FTSTDLIB_H_ + + +#include + +#define ft_ptrdiff_t ptrdiff_t + + + /************************************************************************** + * + * integer limits + * + * `UINT_MAX` and `ULONG_MAX` are used to automatically compute the size of + * `int` and `long` in bytes at compile-time. So far, this works for all + * platforms the library has been tested on. We also check `ULLONG_MAX` + * to see whether we can use 64-bit `long long` later on. + * + * Note that on the extremely rare platforms that do not provide integer + * types that are _exactly_ 16 and 32~bits wide (e.g., some old Crays where + * `int` is 36~bits), we do not make any guarantee about the correct + * behaviour of FreeType~2 with all fonts. + * + * In these cases, `ftconfig.h` will refuse to compile anyway with a + * message like 'couldn't find 32-bit type' or something similar. + * + */ + + +#include + +#define FT_CHAR_BIT CHAR_BIT +#define FT_USHORT_MAX USHRT_MAX +#define FT_INT_MAX INT_MAX +#define FT_INT_MIN INT_MIN +#define FT_UINT_MAX UINT_MAX +#define FT_LONG_MIN LONG_MIN +#define FT_LONG_MAX LONG_MAX +#define FT_ULONG_MAX ULONG_MAX +#ifdef LLONG_MAX +#define FT_LLONG_MAX LLONG_MAX +#endif +#ifdef LLONG_MIN +#define FT_LLONG_MIN LLONG_MIN +#endif +#ifdef ULLONG_MAX +#define FT_ULLONG_MAX ULLONG_MAX +#endif + + + /************************************************************************** + * + * character and string processing + * + */ + + +#include + +#define ft_memchr memchr +#define ft_memcmp memcmp +#define ft_memcpy memcpy +#define ft_memmove memmove +#define ft_memset memset +#define ft_strcat strcat +#define ft_strcmp strcmp +#define ft_strcpy strcpy +#define ft_strlen strlen +#define ft_strncmp strncmp +#define ft_strncpy strncpy +#define ft_strrchr strrchr +#define ft_strstr strstr + + + /************************************************************************** + * + * file handling + * + */ + + +#include + +#define FT_FILE FILE +#define ft_fclose fclose +#define ft_fopen fopen +#define ft_fread fread +#define ft_fseek fseek +#define ft_ftell ftell +#define ft_snprintf snprintf + + + /************************************************************************** + * + * sorting + * + */ + + +#include + +#define ft_qsort qsort + + + /************************************************************************** + * + * memory allocation + * + */ + + +#define ft_scalloc calloc +#define ft_sfree free +#define ft_smalloc malloc +#define ft_srealloc realloc + + + /************************************************************************** + * + * miscellaneous + * + */ + + +#define ft_strtol strtol +#define ft_getenv getenv + + + /************************************************************************** + * + * execution control + * + */ + + +#include + +#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */ + /* `jmp_buf` is defined as a macro */ + /* on certain platforms */ + +#define ft_longjmp longjmp +#define ft_setjmp( b ) setjmp( *(ft_jmp_buf*) &(b) ) /* same thing here */ + + + /* The following is only used for debugging purposes, i.e., if */ + /* `FT_DEBUG_LEVEL_ERROR` or `FT_DEBUG_LEVEL_TRACE` are defined. */ + +#include + + +#endif /* FTSTDLIB_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/integer-types.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/integer-types.h new file mode 100644 index 0000000..7258b50 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/integer-types.h @@ -0,0 +1,250 @@ +/**************************************************************************** + * + * config/integer-types.h + * + * FreeType integer types definitions. + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ +#ifndef FREETYPE_CONFIG_INTEGER_TYPES_H_ +#define FREETYPE_CONFIG_INTEGER_TYPES_H_ + + /* There are systems (like the Texas Instruments 'C54x) where a `char` */ + /* has 16~bits. ANSI~C says that `sizeof(char)` is always~1. Since an */ + /* `int` has 16~bits also for this system, `sizeof(int)` gives~1 which */ + /* is probably unexpected. */ + /* */ + /* `CHAR_BIT` (defined in `limits.h`) gives the number of bits in a */ + /* `char` type. */ + +#ifndef FT_CHAR_BIT +#define FT_CHAR_BIT CHAR_BIT +#endif + +#ifndef FT_SIZEOF_INT + + /* The size of an `int` type. */ +#if FT_UINT_MAX == 0xFFFFUL +#define FT_SIZEOF_INT ( 16 / FT_CHAR_BIT ) +#elif FT_UINT_MAX == 0xFFFFFFFFUL +#define FT_SIZEOF_INT ( 32 / FT_CHAR_BIT ) +#elif FT_UINT_MAX > 0xFFFFFFFFUL && FT_UINT_MAX == 0xFFFFFFFFFFFFFFFFUL +#define FT_SIZEOF_INT ( 64 / FT_CHAR_BIT ) +#else +#error "Unsupported size of `int' type!" +#endif + +#endif /* !defined(FT_SIZEOF_INT) */ + +#ifndef FT_SIZEOF_LONG + + /* The size of a `long` type. A five-byte `long` (as used e.g. on the */ + /* DM642) is recognized but avoided. */ +#if FT_ULONG_MAX == 0xFFFFFFFFUL +#define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT ) +#elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFUL +#define FT_SIZEOF_LONG ( 32 / FT_CHAR_BIT ) +#elif FT_ULONG_MAX > 0xFFFFFFFFUL && FT_ULONG_MAX == 0xFFFFFFFFFFFFFFFFUL +#define FT_SIZEOF_LONG ( 64 / FT_CHAR_BIT ) +#else +#error "Unsupported size of `long' type!" +#endif + +#endif /* !defined(FT_SIZEOF_LONG) */ + +#ifndef FT_SIZEOF_LONG_LONG + + /* The size of a `long long` type if available */ +#if defined( FT_ULLONG_MAX ) && FT_ULLONG_MAX >= 0xFFFFFFFFFFFFFFFFULL +#define FT_SIZEOF_LONG_LONG ( 64 / FT_CHAR_BIT ) +#else +#define FT_SIZEOF_LONG_LONG 0 +#endif + +#endif /* !defined(FT_SIZEOF_LONG_LONG) */ + + + /************************************************************************** + * + * @section: + * basic_types + * + */ + + + /************************************************************************** + * + * @type: + * FT_Int16 + * + * @description: + * A typedef for a 16bit signed integer type. + */ + typedef signed short FT_Int16; + + + /************************************************************************** + * + * @type: + * FT_UInt16 + * + * @description: + * A typedef for a 16bit unsigned integer type. + */ + typedef unsigned short FT_UInt16; + + /* */ + + + /* this #if 0 ... #endif clause is for documentation purposes */ +#if 0 + + /************************************************************************** + * + * @type: + * FT_Int32 + * + * @description: + * A typedef for a 32bit signed integer type. The size depends on the + * configuration. + */ + typedef signed XXX FT_Int32; + + + /************************************************************************** + * + * @type: + * FT_UInt32 + * + * A typedef for a 32bit unsigned integer type. The size depends on the + * configuration. + */ + typedef unsigned XXX FT_UInt32; + + + /************************************************************************** + * + * @type: + * FT_Int64 + * + * A typedef for a 64bit signed integer type. The size depends on the + * configuration. Only defined if there is real 64bit support; + * otherwise, it gets emulated with a structure (if necessary). + */ + typedef signed XXX FT_Int64; + + + /************************************************************************** + * + * @type: + * FT_UInt64 + * + * A typedef for a 64bit unsigned integer type. The size depends on the + * configuration. Only defined if there is real 64bit support; + * otherwise, it gets emulated with a structure (if necessary). + */ + typedef unsigned XXX FT_UInt64; + + /* */ + +#endif + +#if FT_SIZEOF_INT == ( 32 / FT_CHAR_BIT ) + + typedef signed int FT_Int32; + typedef unsigned int FT_UInt32; + +#elif FT_SIZEOF_LONG == ( 32 / FT_CHAR_BIT ) + + typedef signed long FT_Int32; + typedef unsigned long FT_UInt32; + +#else +#error "no 32bit type found -- please check your configuration files" +#endif + + + /* look up an integer type that is at least 32~bits */ +#if FT_SIZEOF_INT >= ( 32 / FT_CHAR_BIT ) + + typedef int FT_Fast; + typedef unsigned int FT_UFast; + +#elif FT_SIZEOF_LONG >= ( 32 / FT_CHAR_BIT ) + + typedef long FT_Fast; + typedef unsigned long FT_UFast; + +#endif + + + /* determine whether we have a 64-bit integer type */ +#if FT_SIZEOF_LONG == ( 64 / FT_CHAR_BIT ) + +#define FT_INT64 long +#define FT_UINT64 unsigned long + +#elif FT_SIZEOF_LONG_LONG >= ( 64 / FT_CHAR_BIT ) + +#define FT_INT64 long long int +#define FT_UINT64 unsigned long long int + + /************************************************************************** + * + * A 64-bit data type may create compilation problems if you compile in + * strict ANSI mode. To avoid them, we disable other 64-bit data types if + * `__STDC__` is defined. You can however ignore this rule by defining the + * `FT_CONFIG_OPTION_FORCE_INT64` configuration macro. + */ +#elif !defined( __STDC__ ) || defined( FT_CONFIG_OPTION_FORCE_INT64 ) + +#if defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */ + + /* this compiler provides the `__int64` type */ +#define FT_INT64 __int64 +#define FT_UINT64 unsigned __int64 + +#elif defined( __BORLANDC__ ) /* Borland C++ */ + + /* XXXX: We should probably check the value of `__BORLANDC__` in order */ + /* to test the compiler version. */ + + /* this compiler provides the `__int64` type */ +#define FT_INT64 __int64 +#define FT_UINT64 unsigned __int64 + +#elif defined( __WATCOMC__ ) && __WATCOMC__ >= 1100 /* Watcom C++ */ + +#define FT_INT64 long long int +#define FT_UINT64 unsigned long long int + +#elif defined( __MWERKS__ ) /* Metrowerks CodeWarrior */ + +#define FT_INT64 long long int +#define FT_UINT64 unsigned long long int + +#elif defined( __GNUC__ ) + + /* GCC provides the `long long` type */ +#define FT_INT64 long long int +#define FT_UINT64 unsigned long long int + +#endif /* !__STDC__ */ + +#endif /* FT_SIZEOF_LONG == (64 / FT_CHAR_BIT) */ + +#ifdef FT_INT64 + typedef FT_INT64 FT_Int64; + typedef FT_UINT64 FT_UInt64; +#endif + + +#endif /* FREETYPE_CONFIG_INTEGER_TYPES_H_ */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/mac-support.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/mac-support.h new file mode 100644 index 0000000..b77b96d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/mac-support.h @@ -0,0 +1,49 @@ +/**************************************************************************** + * + * config/mac-support.h + * + * Mac/OS X support configuration header. + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ +#ifndef FREETYPE_CONFIG_MAC_SUPPORT_H_ +#define FREETYPE_CONFIG_MAC_SUPPORT_H_ + + /************************************************************************** + * + * Mac support + * + * This is the only necessary change, so it is defined here instead + * providing a new configuration file. + */ +#if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) ) + /* No Carbon frameworks for 64bit 10.4.x. */ + /* `AvailabilityMacros.h` is available since Mac OS X 10.2, */ + /* so guess the system version by maximum errno before inclusion. */ +#include +#ifdef ECANCELED /* defined since 10.2 */ +#include "AvailabilityMacros.h" +#endif +#if defined( __LP64__ ) && \ + ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 ) +#undef FT_MACINTOSH +#endif + +#elif defined( __SC__ ) || defined( __MRC__ ) + /* Classic MacOS compilers */ +#include "ConditionalMacros.h" +#if TARGET_OS_MAC +#define FT_MACINTOSH 1 +#endif + +#endif /* Mac support */ + +#endif /* FREETYPE_CONFIG_MAC_SUPPORT_H_ */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/public-macros.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/public-macros.h new file mode 100644 index 0000000..23d0fa6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/config/public-macros.h @@ -0,0 +1,138 @@ +/**************************************************************************** + * + * config/public-macros.h + * + * Define a set of compiler macros used in public FreeType headers. + * + * Copyright (C) 2020-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + /* + * The definitions in this file are used by the public FreeType headers + * and thus should be considered part of the public API. + * + * Other compiler-specific macro definitions that are not exposed by the + * FreeType API should go into + * `include/freetype/internal/compiler-macros.h` instead. + */ +#ifndef FREETYPE_CONFIG_PUBLIC_MACROS_H_ +#define FREETYPE_CONFIG_PUBLIC_MACROS_H_ + + /* + * `FT_BEGIN_HEADER` and `FT_END_HEADER` might have already been defined + * by `freetype/config/ftheader.h`, but we don't want to include this + * header here, so redefine the macros here only when needed. Their + * definition is very stable, so keeping them in sync with the ones in the + * header should not be a maintenance issue. + */ +#ifndef FT_BEGIN_HEADER +#ifdef __cplusplus +#define FT_BEGIN_HEADER extern "C" { +#else +#define FT_BEGIN_HEADER /* empty */ +#endif +#endif /* FT_BEGIN_HEADER */ + +#ifndef FT_END_HEADER +#ifdef __cplusplus +#define FT_END_HEADER } +#else +#define FT_END_HEADER /* empty */ +#endif +#endif /* FT_END_HEADER */ + + +FT_BEGIN_HEADER + + /* + * Mark a function declaration as public. This ensures it will be + * properly exported to client code. Place this before a function + * declaration. + * + * NOTE: This macro should be considered an internal implementation + * detail, and not part of the FreeType API. It is only defined here + * because it is needed by `FT_EXPORT`. + */ + + /* Visual C, mingw */ +#if defined( _WIN32 ) + +#if defined( FT2_BUILD_LIBRARY ) && defined( DLL_EXPORT ) +#define FT_PUBLIC_FUNCTION_ATTRIBUTE __declspec( dllexport ) +#elif defined( DLL_IMPORT ) +#define FT_PUBLIC_FUNCTION_ATTRIBUTE __declspec( dllimport ) +#endif + + /* gcc, clang */ +#elif ( defined( __GNUC__ ) && __GNUC__ >= 4 ) || defined( __clang__ ) +#define FT_PUBLIC_FUNCTION_ATTRIBUTE \ + __attribute__(( visibility( "default" ) )) + + /* Sun */ +#elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550 +#define FT_PUBLIC_FUNCTION_ATTRIBUTE __global +#endif + + +#ifndef FT_PUBLIC_FUNCTION_ATTRIBUTE +#define FT_PUBLIC_FUNCTION_ATTRIBUTE /* empty */ +#endif + + + /* + * Define a public FreeType API function. This ensures it is properly + * exported or imported at build time. The macro parameter is the + * function's return type as in: + * + * FT_EXPORT( FT_Bool ) + * FT_Object_Method( FT_Object obj, + * ... ); + * + * NOTE: This requires that all `FT_EXPORT` uses are inside + * `FT_BEGIN_HEADER ... FT_END_HEADER` blocks. This guarantees that the + * functions are exported with C linkage, even when the header is included + * by a C++ source file. + */ +#define FT_EXPORT( x ) FT_PUBLIC_FUNCTION_ATTRIBUTE extern x + + + /* + * `FT_UNUSED` indicates that a given parameter is not used -- this is + * only used to get rid of unpleasant compiler warnings. + * + * Technically, this was not meant to be part of the public API, but some + * third-party code depends on it. + */ +#ifndef FT_UNUSED +#define FT_UNUSED( arg ) ( (arg) = (arg) ) +#endif + + + /* + * Support for casts in both C and C++. + */ +#ifdef __cplusplus +#define FT_STATIC_CAST( type, var ) static_cast(var) +#define FT_REINTERPRET_CAST( type, var ) reinterpret_cast(var) + +#define FT_STATIC_BYTE_CAST( type, var ) \ + static_cast( static_cast( var ) ) +#else +#define FT_STATIC_CAST( type, var ) (type)(var) +#define FT_REINTERPRET_CAST( type, var ) (type)(var) + +#define FT_STATIC_BYTE_CAST( type, var ) (type)(unsigned char)(var) +#endif + + +FT_END_HEADER + +#endif /* FREETYPE_CONFIG_PUBLIC_MACROS_H_ */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/freetype.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/freetype.h new file mode 100644 index 0000000..4a074a4 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/freetype.h @@ -0,0 +1,5337 @@ +/**************************************************************************** + * + * freetype.h + * + * FreeType high-level API and common types (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FREETYPE_H_ +#define FREETYPE_H_ + + +#include +#include FT_CONFIG_CONFIG_H +#include +#include + + +FT_BEGIN_HEADER + + + + /************************************************************************** + * + * @section: + * preamble + * + * @title: + * Preamble + * + * @abstract: + * What FreeType is and isn't + * + * @description: + * FreeType is a library that provides access to glyphs in font files. It + * scales the glyph images and their metrics to a requested size, and it + * rasterizes the glyph images to produce pixel or subpixel alpha coverage + * bitmaps. + * + * Note that FreeType is _not_ a text layout engine. You have to use + * higher-level libraries like HarfBuzz, Pango, or ICU for that. + * + * Note also that FreeType does _not_ perform alpha blending or + * compositing the resulting bitmaps or pixmaps by itself. Use your + * favourite graphics library (for example, Cairo or Skia) to further + * process FreeType's output. + * + */ + + + /************************************************************************** + * + * @section: + * header_inclusion + * + * @title: + * FreeType's header inclusion scheme + * + * @abstract: + * How client applications should include FreeType header files. + * + * @description: + * To be as flexible as possible (and for historical reasons), you must + * load file `ft2build.h` first before other header files, for example + * + * ``` + * #include + * + * #include + * #include + * ``` + */ + + + /************************************************************************** + * + * @section: + * user_allocation + * + * @title: + * User allocation + * + * @abstract: + * How client applications should allocate FreeType data structures. + * + * @description: + * FreeType assumes that structures allocated by the user and passed as + * arguments are zeroed out except for the actual data. In other words, + * it is recommended to use `calloc` (or variants of it) instead of + * `malloc` for allocation. + * + */ + + + /************************************************************************** + * + * @section: + * font_testing_macros + * + * @title: + * Font Testing Macros + * + * @abstract: + * Macros to test various properties of fonts. + * + * @description: + * Macros to test the most important font properties. + * + * It is recommended to use these high-level macros instead of directly + * testing the corresponding flags, which are scattered over various + * structures. + * + * @order: + * FT_HAS_HORIZONTAL + * FT_HAS_VERTICAL + * FT_HAS_KERNING + * FT_HAS_FIXED_SIZES + * FT_HAS_GLYPH_NAMES + * FT_HAS_COLOR + * FT_HAS_MULTIPLE_MASTERS + * FT_HAS_SVG + * FT_HAS_SBIX + * FT_HAS_SBIX_OVERLAY + * + * FT_IS_SFNT + * FT_IS_SCALABLE + * FT_IS_FIXED_WIDTH + * FT_IS_CID_KEYED + * FT_IS_TRICKY + * FT_IS_NAMED_INSTANCE + * FT_IS_VARIATION + * + */ + + + /************************************************************************** + * + * @section: + * library_setup + * + * @title: + * Library Setup + * + * @abstract: + * Functions to start and end the usage of the FreeType library. + * + * @description: + * Functions to start and end the usage of the FreeType library. + * + * Note that @FT_Library_Version and @FREETYPE_XXX are of limited use + * because even a new release of FreeType with only documentation + * changes increases the version number. + * + * @order: + * FT_Library + * FT_Init_FreeType + * FT_Done_FreeType + * + * FT_Library_Version + * FREETYPE_XXX + * + */ + + + /************************************************************************** + * + * @section: + * face_creation + * + * @title: + * Face Creation + * + * @abstract: + * Functions to manage fonts. + * + * @description: + * The functions and structures collected in this section operate on + * fonts globally. + * + * @order: + * FT_Face + * FT_FaceRec + * FT_FACE_FLAG_XXX + * FT_STYLE_FLAG_XXX + * + * FT_New_Face + * FT_Done_Face + * FT_Reference_Face + * FT_New_Memory_Face + * FT_Face_Properties + * FT_Open_Face + * FT_Open_Args + * FT_OPEN_XXX + * FT_Parameter + * FT_Attach_File + * FT_Attach_Stream + * + */ + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + * @title: + * Sizing and Scaling + * + * @abstract: + * Functions to manage font sizes. + * + * @description: + * The functions and structures collected in this section are related to + * selecting and manipulating the size of a font globally. + * + * @order: + * FT_Size + * FT_SizeRec + * FT_Size_Metrics + * + * FT_Bitmap_Size + * + * FT_Set_Char_Size + * FT_Set_Pixel_Sizes + * FT_Request_Size + * FT_Select_Size + * FT_Size_Request_Type + * FT_Size_RequestRec + * FT_Size_Request + * + * FT_Set_Transform + * FT_Get_Transform + * + */ + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + * @title: + * Glyph Retrieval + * + * @abstract: + * Functions to manage glyphs. + * + * @description: + * The functions and structures collected in this section operate on + * single glyphs, of which @FT_Load_Glyph is most important. + * + * @order: + * FT_GlyphSlot + * FT_GlyphSlotRec + * FT_Glyph_Metrics + * + * FT_Load_Glyph + * FT_LOAD_XXX + * FT_LOAD_TARGET_MODE + * FT_LOAD_TARGET_XXX + * + * FT_Render_Glyph + * FT_Render_Mode + * FT_Get_Kerning + * FT_Kerning_Mode + * FT_Get_Track_Kerning + * + */ + + + /************************************************************************** + * + * @section: + * character_mapping + * + * @title: + * Character Mapping + * + * @abstract: + * Functions to manage character-to-glyph maps. + * + * @description: + * This section holds functions and structures that are related to + * mapping character input codes to glyph indices. + * + * Note that for many scripts the simplistic approach used by FreeType + * of mapping a single character to a single glyph is not valid or + * possible! In general, a higher-level library like HarfBuzz or ICU + * should be used for handling text strings. + * + * @order: + * FT_CharMap + * FT_CharMapRec + * FT_Encoding + * FT_ENC_TAG + * + * FT_Select_Charmap + * FT_Set_Charmap + * FT_Get_Charmap_Index + * + * FT_Get_Char_Index + * FT_Get_First_Char + * FT_Get_Next_Char + * FT_Load_Char + * + */ + + + /************************************************************************** + * + * @section: + * information_retrieval + * + * @title: + * Information Retrieval + * + * @abstract: + * Functions to retrieve font and glyph information. + * + * @description: + * Functions to retrieve font and glyph information. Only some very + * basic data is covered; see also the chapter on the format-specific + * API for more. + * + * + * @order: + * FT_Get_Name_Index + * FT_Get_Glyph_Name + * FT_Get_Postscript_Name + * FT_Get_FSType_Flags + * FT_FSTYPE_XXX + * FT_Get_SubGlyph_Info + * FT_SUBGLYPH_FLAG_XXX + * + */ + + + /************************************************************************** + * + * @section: + * other_api_data + * + * @title: + * Other API Data + * + * @abstract: + * Other structures, enumerations, and macros. + * + * @description: + * Other structures, enumerations, and macros. Deprecated functions are + * also listed here. + * + * @order: + * FT_Face_Internal + * FT_Size_Internal + * FT_Slot_Internal + * + * FT_SubGlyph + * + * FT_HAS_FAST_GLYPHS + * FT_Face_CheckTrueTypePatents + * FT_Face_SetUnpatentedHinting + * + */ + + + /*************************************************************************/ + /*************************************************************************/ + /* */ + /* B A S I C T Y P E S */ + /* */ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @struct: + * FT_Glyph_Metrics + * + * @description: + * A structure to model the metrics of a single glyph. The values are + * expressed in 26.6 fractional pixel format; if the flag + * @FT_LOAD_NO_SCALE has been used while loading the glyph, values are + * expressed in font units instead. + * + * @fields: + * width :: + * The glyph's width. + * + * height :: + * The glyph's height. + * + * horiBearingX :: + * Left side bearing for horizontal layout. + * + * horiBearingY :: + * Top side bearing for horizontal layout. + * + * horiAdvance :: + * Advance width for horizontal layout. + * + * vertBearingX :: + * Left side bearing for vertical layout. + * + * vertBearingY :: + * Top side bearing for vertical layout. Larger positive values mean + * further below the vertical glyph origin. + * + * vertAdvance :: + * Advance height for vertical layout. Positive values mean the glyph + * has a positive advance downward. + * + * @note: + * If not disabled with @FT_LOAD_NO_HINTING, the values represent + * dimensions of the hinted glyph (in case hinting is applicable). + * + * Stroking a glyph with an outside border does not increase + * `horiAdvance` or `vertAdvance`; you have to manually adjust these + * values to account for the added width and height. + * + * FreeType doesn't use the 'VORG' table data for CFF fonts because it + * doesn't have an interface to quickly retrieve the glyph height. The + * y~coordinate of the vertical origin can be simply computed as + * `vertBearingY + height` after loading a glyph. + */ + typedef struct FT_Glyph_Metrics_ + { + FT_Pos width; + FT_Pos height; + + FT_Pos horiBearingX; + FT_Pos horiBearingY; + FT_Pos horiAdvance; + + FT_Pos vertBearingX; + FT_Pos vertBearingY; + FT_Pos vertAdvance; + + } FT_Glyph_Metrics; + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + */ + + /************************************************************************** + * + * @struct: + * FT_Bitmap_Size + * + * @description: + * This structure models the metrics of a bitmap strike (i.e., a set of + * glyphs for a given point size and resolution) in a bitmap font. It is + * used for the `available_sizes` field of @FT_Face. + * + * @fields: + * height :: + * The vertical distance, in pixels, between two consecutive baselines. + * It is always positive. + * + * width :: + * The average width, in pixels, of all glyphs in the strike. + * + * size :: + * The nominal size of the strike in 26.6 fractional points. This + * field is not very useful. + * + * x_ppem :: + * The horizontal ppem (nominal width) in 26.6 fractional pixels. + * + * y_ppem :: + * The vertical ppem (nominal height) in 26.6 fractional pixels. + * + * @note: + * Windows FNT: + * The nominal size given in a FNT font is not reliable. If the driver + * finds it incorrect, it sets `size` to some calculated values, and + * `x_ppem` and `y_ppem` to the pixel width and height given in the + * font, respectively. + * + * TrueType embedded bitmaps: + * `size`, `width`, and `height` values are not contained in the bitmap + * strike itself. They are computed from the global font parameters. + */ + typedef struct FT_Bitmap_Size_ + { + FT_Short height; + FT_Short width; + + FT_Pos size; + + FT_Pos x_ppem; + FT_Pos y_ppem; + + } FT_Bitmap_Size; + + + /*************************************************************************/ + /*************************************************************************/ + /* */ + /* O B J E C T C L A S S E S */ + /* */ + /*************************************************************************/ + /*************************************************************************/ + + /************************************************************************** + * + * @section: + * library_setup + * + */ + + /************************************************************************** + * + * @type: + * FT_Library + * + * @description: + * A handle to a FreeType library instance. Each 'library' is completely + * independent from the others; it is the 'root' of a set of objects like + * fonts, faces, sizes, etc. + * + * It also embeds a memory manager (see @FT_Memory), as well as a + * scan-line converter object (see @FT_Raster). + * + * [Since 2.5.6] In multi-threaded applications it is easiest to use one + * `FT_Library` object per thread. In case this is too cumbersome, a + * single `FT_Library` object across threads is possible also, as long as + * a mutex lock is used around @FT_New_Face and @FT_Done_Face. + * + * @note: + * Library objects are normally created by @FT_Init_FreeType, and + * destroyed with @FT_Done_FreeType. If you need reference-counting + * (cf. @FT_Reference_Library), use @FT_New_Library and @FT_Done_Library. + */ + typedef struct FT_LibraryRec_ *FT_Library; + + + /************************************************************************** + * + * @section: + * module_management + * + */ + + /************************************************************************** + * + * @type: + * FT_Module + * + * @description: + * A handle to a given FreeType module object. A module can be a font + * driver, a renderer, or anything else that provides services to the + * former. + */ + typedef struct FT_ModuleRec_* FT_Module; + + + /************************************************************************** + * + * @type: + * FT_Driver + * + * @description: + * A handle to a given FreeType font driver object. A font driver is a + * module capable of creating faces from font files. + */ + typedef struct FT_DriverRec_* FT_Driver; + + + /************************************************************************** + * + * @type: + * FT_Renderer + * + * @description: + * A handle to a given FreeType renderer. A renderer is a module in + * charge of converting a glyph's outline image to a bitmap. It supports + * a single glyph image format, and one or more target surface depths. + */ + typedef struct FT_RendererRec_* FT_Renderer; + + + /************************************************************************** + * + * @section: + * face_creation + * + */ + + /************************************************************************** + * + * @type: + * FT_Face + * + * @description: + * A handle to a typographic face object. A face object models a given + * typeface, in a given style. + * + * @note: + * A face object also owns a single @FT_GlyphSlot object, as well as one + * or more @FT_Size objects. + * + * Use @FT_New_Face or @FT_Open_Face to create a new face object from a + * given filepath or a custom input stream. + * + * Use @FT_Done_Face to destroy it (along with its slot and sizes). + * + * An `FT_Face` object can only be safely used from one thread at a time. + * Similarly, creation and destruction of `FT_Face` with the same + * @FT_Library object can only be done from one thread at a time. On the + * other hand, functions like @FT_Load_Glyph and its siblings are + * thread-safe and do not need the lock to be held as long as the same + * `FT_Face` object is not used from multiple threads at the same time. + * + * @also: + * See @FT_FaceRec for the publicly accessible fields of a given face + * object. + */ + typedef struct FT_FaceRec_* FT_Face; + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + */ + + /************************************************************************** + * + * @type: + * FT_Size + * + * @description: + * A handle to an object that models a face scaled to a given character + * size. + * + * @note: + * An @FT_Face has one _active_ `FT_Size` object that is used by + * functions like @FT_Load_Glyph to determine the scaling transformation + * that in turn is used to load and hint glyphs and metrics. + * + * A newly created `FT_Size` object contains only meaningless zero values. + * You must use @FT_Set_Char_Size, @FT_Set_Pixel_Sizes, @FT_Request_Size + * or even @FT_Select_Size to change the content (i.e., the scaling + * values) of the active `FT_Size`. Otherwise, the scaling and hinting + * will not be performed. + * + * You can use @FT_New_Size to create additional size objects for a given + * @FT_Face, but they won't be used by other functions until you activate + * it through @FT_Activate_Size. Only one size can be activated at any + * given time per face. + * + * @also: + * See @FT_SizeRec for the publicly accessible fields of a given size + * object. + */ + typedef struct FT_SizeRec_* FT_Size; + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @type: + * FT_GlyphSlot + * + * @description: + * A handle to a given 'glyph slot'. A slot is a container that can hold + * any of the glyphs contained in its parent face. + * + * In other words, each time you call @FT_Load_Glyph or @FT_Load_Char, + * the slot's content is erased by the new glyph data, i.e., the glyph's + * metrics, its image (bitmap or outline), and other control information. + * + * @also: + * See @FT_GlyphSlotRec for the publicly accessible glyph fields. + */ + typedef struct FT_GlyphSlotRec_* FT_GlyphSlot; + + + /************************************************************************** + * + * @section: + * character_mapping + * + */ + + /************************************************************************** + * + * @type: + * FT_CharMap + * + * @description: + * A handle to a character map (usually abbreviated to 'charmap'). A + * charmap is used to translate character codes in a given encoding into + * glyph indexes for its parent's face. Some font formats may provide + * several charmaps per font. + * + * Each face object owns zero or more charmaps, but only one of them can + * be 'active', providing the data used by @FT_Get_Char_Index or + * @FT_Load_Char. + * + * The list of available charmaps in a face is available through the + * `face->num_charmaps` and `face->charmaps` fields of @FT_FaceRec. + * + * The currently active charmap is available as `face->charmap`. You + * should call @FT_Set_Charmap to change it. + * + * @note: + * When a new face is created (either through @FT_New_Face or + * @FT_Open_Face), the library looks for a Unicode charmap within the + * list and automatically activates it. If there is no Unicode charmap, + * FreeType doesn't set an 'active' charmap. + * + * @also: + * See @FT_CharMapRec for the publicly accessible fields of a given + * character map. + */ + typedef struct FT_CharMapRec_* FT_CharMap; + + + /************************************************************************** + * + * @macro: + * FT_ENC_TAG + * + * @description: + * This macro converts four-letter tags into an unsigned long. It is + * used to define 'encoding' identifiers (see @FT_Encoding). + * + * @note: + * Since many 16-bit compilers don't like 32-bit enumerations, you should + * redefine this macro in case of problems to something like this: + * + * ``` + * #define FT_ENC_TAG( value, a, b, c, d ) value + * ``` + * + * to get a simple enumeration without assigning special numbers. + */ + +#ifndef FT_ENC_TAG + +#define FT_ENC_TAG( value, a, b, c, d ) \ + value = ( ( FT_STATIC_BYTE_CAST( FT_UInt32, a ) << 24 ) | \ + ( FT_STATIC_BYTE_CAST( FT_UInt32, b ) << 16 ) | \ + ( FT_STATIC_BYTE_CAST( FT_UInt32, c ) << 8 ) | \ + FT_STATIC_BYTE_CAST( FT_UInt32, d ) ) + +#endif /* FT_ENC_TAG */ + + + /************************************************************************** + * + * @enum: + * FT_Encoding + * + * @description: + * An enumeration to specify character sets supported by charmaps. Used + * in the @FT_Select_Charmap API function. + * + * @note: + * Despite the name, this enumeration lists specific character + * repertoires (i.e., charsets), and not text encoding methods (e.g., + * UTF-8, UTF-16, etc.). + * + * Other encodings might be defined in the future. + * + * @values: + * FT_ENCODING_NONE :: + * The encoding value~0 is reserved for all formats except BDF, PCF, + * and Windows FNT; see below for more information. + * + * FT_ENCODING_UNICODE :: + * The Unicode character set. This value covers all versions of the + * Unicode repertoire, including ASCII and Latin-1. Most fonts include + * a Unicode charmap, but not all of them. + * + * For example, if you want to access Unicode value U+1F028 (and the + * font contains it), use value 0x1F028 as the input value for + * @FT_Get_Char_Index. + * + * FT_ENCODING_MS_SYMBOL :: + * Microsoft Symbol encoding, used to encode mathematical symbols and + * wingdings. For more information, see + * 'https://www.microsoft.com/typography/otspec/recom.htm#non-standard-symbol-fonts', + * 'http://www.kostis.net/charsets/symbol.htm', and + * 'http://www.kostis.net/charsets/wingding.htm'. + * + * This encoding uses character codes from the PUA (Private Unicode + * Area) in the range U+F020-U+F0FF. + * + * FT_ENCODING_SJIS :: + * Shift JIS encoding for Japanese. More info at + * 'https://en.wikipedia.org/wiki/Shift_JIS'. See note on multi-byte + * encodings below. + * + * FT_ENCODING_PRC :: + * Corresponds to encoding systems mainly for Simplified Chinese as + * used in People's Republic of China (PRC). The encoding layout is + * based on GB~2312 and its supersets GBK and GB~18030. + * + * FT_ENCODING_BIG5 :: + * Corresponds to an encoding system for Traditional Chinese as used in + * Taiwan and Hong Kong. + * + * FT_ENCODING_WANSUNG :: + * Corresponds to the Korean encoding system known as Extended Wansung + * (MS Windows code page 949). For more information see + * 'https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit949.txt'. + * + * FT_ENCODING_JOHAB :: + * The Korean standard character set (KS~C 5601-1992), which + * corresponds to MS Windows code page 1361. This character set + * includes all possible Hangul character combinations. + * + * FT_ENCODING_ADOBE_LATIN_1 :: + * Corresponds to a Latin-1 encoding as defined in a Type~1 PostScript + * font. It is limited to 256 character codes. + * + * FT_ENCODING_ADOBE_STANDARD :: + * Adobe Standard encoding, as found in Type~1, CFF, and OpenType/CFF + * fonts. It is limited to 256 character codes. + * + * FT_ENCODING_ADOBE_EXPERT :: + * Adobe Expert encoding, as found in Type~1, CFF, and OpenType/CFF + * fonts. It is limited to 256 character codes. + * + * FT_ENCODING_ADOBE_CUSTOM :: + * Corresponds to a custom encoding, as found in Type~1, CFF, and + * OpenType/CFF fonts. It is limited to 256 character codes. + * + * FT_ENCODING_APPLE_ROMAN :: + * Apple roman encoding. Many TrueType and OpenType fonts contain a + * charmap for this 8-bit encoding, since older versions of Mac OS are + * able to use it. + * + * FT_ENCODING_OLD_LATIN_2 :: + * This value is deprecated and was neither used nor reported by + * FreeType. Don't use or test for it. + * + * FT_ENCODING_MS_SJIS :: + * Same as FT_ENCODING_SJIS. Deprecated. + * + * FT_ENCODING_MS_GB2312 :: + * Same as FT_ENCODING_PRC. Deprecated. + * + * FT_ENCODING_MS_BIG5 :: + * Same as FT_ENCODING_BIG5. Deprecated. + * + * FT_ENCODING_MS_WANSUNG :: + * Same as FT_ENCODING_WANSUNG. Deprecated. + * + * FT_ENCODING_MS_JOHAB :: + * Same as FT_ENCODING_JOHAB. Deprecated. + * + * @note: + * When loading a font, FreeType makes a Unicode charmap active if + * possible (either if the font provides such a charmap, or if FreeType + * can synthesize one from PostScript glyph name dictionaries; in either + * case, the charmap is tagged with `FT_ENCODING_UNICODE`). If such a + * charmap is synthesized, it is placed at the first position of the + * charmap array. + * + * All other encodings are considered legacy and tagged only if + * explicitly defined in the font file. Otherwise, `FT_ENCODING_NONE` is + * used. + * + * `FT_ENCODING_NONE` is set by the BDF and PCF drivers if the charmap is + * neither Unicode nor ISO-8859-1 (otherwise it is set to + * `FT_ENCODING_UNICODE`). Use @FT_Get_BDF_Charset_ID to find out which + * encoding is really present. If, for example, the `cs_registry` field + * is 'KOI8' and the `cs_encoding` field is 'R', the font is encoded in + * KOI8-R. + * + * `FT_ENCODING_NONE` is always set (with a single exception) by the + * winfonts driver. Use @FT_Get_WinFNT_Header and examine the `charset` + * field of the @FT_WinFNT_HeaderRec structure to find out which encoding + * is really present. For example, @FT_WinFNT_ID_CP1251 (204) means + * Windows code page 1251 (for Russian). + * + * `FT_ENCODING_NONE` is set if `platform_id` is @TT_PLATFORM_MACINTOSH + * and `encoding_id` is not `TT_MAC_ID_ROMAN` (otherwise it is set to + * `FT_ENCODING_APPLE_ROMAN`). + * + * If `platform_id` is @TT_PLATFORM_MACINTOSH, use the function + * @FT_Get_CMap_Language_ID to query the Mac language ID that may be + * needed to be able to distinguish Apple encoding variants. See + * + * https://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/Readme.txt + * + * to get an idea how to do that. Basically, if the language ID is~0, + * don't use it, otherwise subtract 1 from the language ID. Then examine + * `encoding_id`. If, for example, `encoding_id` is `TT_MAC_ID_ROMAN` + * and the language ID (minus~1) is `TT_MAC_LANGID_GREEK`, it is the + * Greek encoding, not Roman. `TT_MAC_ID_ARABIC` with + * `TT_MAC_LANGID_FARSI` means the Farsi variant of the Arabic encoding. + */ + typedef enum FT_Encoding_ + { + FT_ENC_TAG( FT_ENCODING_NONE, 0, 0, 0, 0 ), + + FT_ENC_TAG( FT_ENCODING_MS_SYMBOL, 's', 'y', 'm', 'b' ), + FT_ENC_TAG( FT_ENCODING_UNICODE, 'u', 'n', 'i', 'c' ), + + FT_ENC_TAG( FT_ENCODING_SJIS, 's', 'j', 'i', 's' ), + FT_ENC_TAG( FT_ENCODING_PRC, 'g', 'b', ' ', ' ' ), + FT_ENC_TAG( FT_ENCODING_BIG5, 'b', 'i', 'g', '5' ), + FT_ENC_TAG( FT_ENCODING_WANSUNG, 'w', 'a', 'n', 's' ), + FT_ENC_TAG( FT_ENCODING_JOHAB, 'j', 'o', 'h', 'a' ), + + /* for backward compatibility */ + FT_ENCODING_GB2312 = FT_ENCODING_PRC, + FT_ENCODING_MS_SJIS = FT_ENCODING_SJIS, + FT_ENCODING_MS_GB2312 = FT_ENCODING_PRC, + FT_ENCODING_MS_BIG5 = FT_ENCODING_BIG5, + FT_ENCODING_MS_WANSUNG = FT_ENCODING_WANSUNG, + FT_ENCODING_MS_JOHAB = FT_ENCODING_JOHAB, + + FT_ENC_TAG( FT_ENCODING_ADOBE_STANDARD, 'A', 'D', 'O', 'B' ), + FT_ENC_TAG( FT_ENCODING_ADOBE_EXPERT, 'A', 'D', 'B', 'E' ), + FT_ENC_TAG( FT_ENCODING_ADOBE_CUSTOM, 'A', 'D', 'B', 'C' ), + FT_ENC_TAG( FT_ENCODING_ADOBE_LATIN_1, 'l', 'a', 't', '1' ), + + FT_ENC_TAG( FT_ENCODING_OLD_LATIN_2, 'l', 'a', 't', '2' ), + + FT_ENC_TAG( FT_ENCODING_APPLE_ROMAN, 'a', 'r', 'm', 'n' ) + + } FT_Encoding; + + + /* these constants are deprecated; use the corresponding `FT_Encoding` */ + /* values instead */ +#define ft_encoding_none FT_ENCODING_NONE +#define ft_encoding_unicode FT_ENCODING_UNICODE +#define ft_encoding_symbol FT_ENCODING_MS_SYMBOL +#define ft_encoding_latin_1 FT_ENCODING_ADOBE_LATIN_1 +#define ft_encoding_latin_2 FT_ENCODING_OLD_LATIN_2 +#define ft_encoding_sjis FT_ENCODING_SJIS +#define ft_encoding_gb2312 FT_ENCODING_PRC +#define ft_encoding_big5 FT_ENCODING_BIG5 +#define ft_encoding_wansung FT_ENCODING_WANSUNG +#define ft_encoding_johab FT_ENCODING_JOHAB + +#define ft_encoding_adobe_standard FT_ENCODING_ADOBE_STANDARD +#define ft_encoding_adobe_expert FT_ENCODING_ADOBE_EXPERT +#define ft_encoding_adobe_custom FT_ENCODING_ADOBE_CUSTOM +#define ft_encoding_apple_roman FT_ENCODING_APPLE_ROMAN + + + /************************************************************************** + * + * @struct: + * FT_CharMapRec + * + * @description: + * The base charmap structure. + * + * @fields: + * face :: + * A handle to the parent face object. + * + * encoding :: + * An @FT_Encoding tag identifying the charmap. Use this with + * @FT_Select_Charmap. + * + * platform_id :: + * An ID number describing the platform for the following encoding ID. + * This comes directly from the TrueType specification and gets + * emulated for other formats. + * + * encoding_id :: + * A platform-specific encoding number. This also comes from the + * TrueType specification and gets emulated similarly. + */ + typedef struct FT_CharMapRec_ + { + FT_Face face; + FT_Encoding encoding; + FT_UShort platform_id; + FT_UShort encoding_id; + + } FT_CharMapRec; + + + /*************************************************************************/ + /*************************************************************************/ + /* */ + /* B A S E O B J E C T C L A S S E S */ + /* */ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @section: + * other_api_data + * + */ + + /************************************************************************** + * + * @type: + * FT_Face_Internal + * + * @description: + * An opaque handle to an `FT_Face_InternalRec` structure that models the + * private data of a given @FT_Face object. + * + * This structure might change between releases of FreeType~2 and is not + * generally available to client applications. + */ + typedef struct FT_Face_InternalRec_* FT_Face_Internal; + + + /************************************************************************** + * + * @section: + * face_creation + * + */ + + /************************************************************************** + * + * @struct: + * FT_FaceRec + * + * @description: + * FreeType root face class structure. A face object models a typeface + * in a font file. + * + * @fields: + * num_faces :: + * The number of faces in the font file. Some font formats can have + * multiple faces in a single font file. + * + * face_index :: + * This field holds two different values. Bits 0-15 are the index of + * the face in the font file (starting with value~0). They are set + * to~0 if there is only one face in the font file. + * + * [Since 2.6.1] Bits 16-30 are relevant to GX and OpenType variation + * fonts only, holding the named instance index for the current face + * index (starting with value~1; value~0 indicates font access without + * a named instance). For non-variation fonts, bits 16-30 are ignored. + * If we have the third named instance of face~4, say, `face_index` is + * set to 0x00030004. + * + * Bit 31 is always zero (that is, `face_index` is always a positive + * value). + * + * [Since 2.9] Changing the design coordinates with + * @FT_Set_Var_Design_Coordinates or @FT_Set_Var_Blend_Coordinates does + * not influence the named instance index value (only + * @FT_Set_Named_Instance does that). + * + * face_flags :: + * A set of bit flags that give important information about the face; + * see @FT_FACE_FLAG_XXX for the details. + * + * style_flags :: + * The lower 16~bits contain a set of bit flags indicating the style of + * the face; see @FT_STYLE_FLAG_XXX for the details. + * + * [Since 2.6.1] Bits 16-30 hold the number of named instances + * available for the current face if we have a GX or OpenType variation + * (sub)font. Bit 31 is always zero (that is, `style_flags` is always + * a positive value). Note that a variation font has always at least + * one named instance, namely the default instance. + * + * num_glyphs :: + * The number of glyphs in the face. If the face is scalable and has + * sbits (see `num_fixed_sizes`), it is set to the number of outline + * glyphs. + * + * For CID-keyed fonts (not in an SFNT wrapper) this value gives the + * highest CID used in the font. + * + * family_name :: + * The face's family name. This is an ASCII string, usually in + * English, that describes the typeface's family (like 'Times New + * Roman', 'Bodoni', 'Garamond', etc). This is a least common + * denominator used to list fonts. Some formats (TrueType & OpenType) + * provide localized and Unicode versions of this string. Applications + * should use the format-specific interface to access them. Can be + * `NULL` (e.g., in fonts embedded in a PDF file). + * + * In case the font doesn't provide a specific family name entry, + * FreeType tries to synthesize one, deriving it from other name + * entries. + * + * style_name :: + * The face's style name. This is an ASCII string, usually in English, + * that describes the typeface's style (like 'Italic', 'Bold', + * 'Condensed', etc). Not all font formats provide a style name, so + * this field is optional, and can be set to `NULL`. As for + * `family_name`, some formats provide localized and Unicode versions + * of this string. Applications should use the format-specific + * interface to access them. + * + * num_fixed_sizes :: + * The number of bitmap strikes in the face. Even if the face is + * scalable, there might still be bitmap strikes, which are called + * 'sbits' in that case. + * + * available_sizes :: + * An array of @FT_Bitmap_Size for all bitmap strikes in the face. It + * is set to `NULL` if there is no bitmap strike. + * + * Note that FreeType tries to sanitize the strike data since they are + * sometimes sloppy or incorrect, but this can easily fail. + * + * num_charmaps :: + * The number of charmaps in the face. + * + * charmaps :: + * An array of the charmaps of the face. + * + * generic :: + * A field reserved for client uses. See the @FT_Generic type + * description. + * + * bbox :: + * The font bounding box. Coordinates are expressed in font units (see + * `units_per_EM`). The box is large enough to contain any glyph from + * the font. Thus, `bbox.yMax` can be seen as the 'maximum ascender', + * and `bbox.yMin` as the 'minimum descender'. Only relevant for + * scalable formats. + * + * Note that the bounding box might be off by (at least) one pixel for + * hinted fonts. See @FT_Size_Metrics for further discussion. + * + * Note that the bounding box does not vary in OpenType variation fonts + * and should only be used in relation to the default instance. + * + * units_per_EM :: + * The number of font units per EM square for this face. This is + * typically 2048 for TrueType fonts, and 1000 for Type~1 fonts. Only + * relevant for scalable formats. + * + * ascender :: + * The typographic ascender of the face, expressed in font units. For + * font formats not having this information, it is set to `bbox.yMax`. + * Only relevant for scalable formats. + * + * descender :: + * The typographic descender of the face, expressed in font units. For + * font formats not having this information, it is set to `bbox.yMin`. + * Note that this field is negative for values below the baseline. + * Only relevant for scalable formats. + * + * height :: + * This value is the vertical distance between two consecutive + * baselines, expressed in font units. It is always positive. Only + * relevant for scalable formats. + * + * If you want the global glyph height, use `ascender - descender`. + * + * max_advance_width :: + * The maximum advance width, in font units, for all glyphs in this + * face. This can be used to make word wrapping computations faster. + * Only relevant for scalable formats. + * + * max_advance_height :: + * The maximum advance height, in font units, for all glyphs in this + * face. This is only relevant for vertical layouts, and is set to + * `height` for fonts that do not provide vertical metrics. Only + * relevant for scalable formats. + * + * underline_position :: + * The position, in font units, of the underline line for this face. + * It is the center of the underlining stem. Only relevant for + * scalable formats. + * + * underline_thickness :: + * The thickness, in font units, of the underline for this face. Only + * relevant for scalable formats. + * + * glyph :: + * The face's associated glyph slot(s). + * + * size :: + * The current active size for this face. + * + * charmap :: + * The current active charmap for this face. + * + * @note: + * Fields may be changed after a call to @FT_Attach_File or + * @FT_Attach_Stream. + * + * For an OpenType variation font, the values of the following fields can + * change after a call to @FT_Set_Var_Design_Coordinates (and friends) if + * the font contains an 'MVAR' table: `ascender`, `descender`, `height`, + * `underline_position`, and `underline_thickness`. + * + * Especially for TrueType fonts see also the documentation for + * @FT_Size_Metrics. + */ + typedef struct FT_FaceRec_ + { + FT_Long num_faces; + FT_Long face_index; + + FT_Long face_flags; + FT_Long style_flags; + + FT_Long num_glyphs; + + FT_String* family_name; + FT_String* style_name; + + FT_Int num_fixed_sizes; + FT_Bitmap_Size* available_sizes; + + FT_Int num_charmaps; + FT_CharMap* charmaps; + + FT_Generic generic; + + /* The following member variables (down to `underline_thickness`) */ + /* are only relevant to scalable outlines; cf. @FT_Bitmap_Size */ + /* for bitmap fonts. */ + FT_BBox bbox; + + FT_UShort units_per_EM; + FT_Short ascender; + FT_Short descender; + FT_Short height; + + FT_Short max_advance_width; + FT_Short max_advance_height; + + FT_Short underline_position; + FT_Short underline_thickness; + + FT_GlyphSlot glyph; + FT_Size size; + FT_CharMap charmap; + + /* private fields, internal to FreeType */ + + FT_Driver driver; + FT_Memory memory; + FT_Stream stream; + + FT_ListRec sizes_list; + + FT_Generic autohint; /* face-specific auto-hinter data */ + void* extensions; /* unused */ + + FT_Face_Internal internal; + + } FT_FaceRec; + + + /************************************************************************** + * + * @enum: + * FT_FACE_FLAG_XXX + * + * @description: + * A list of bit flags used in the `face_flags` field of the @FT_FaceRec + * structure. They inform client applications of properties of the + * corresponding face. + * + * @values: + * FT_FACE_FLAG_SCALABLE :: + * The face contains outline glyphs. Note that a face can contain + * bitmap strikes also, i.e., a face can have both this flag and + * @FT_FACE_FLAG_FIXED_SIZES set. + * + * FT_FACE_FLAG_FIXED_SIZES :: + * The face contains bitmap strikes. See also the `num_fixed_sizes` + * and `available_sizes` fields of @FT_FaceRec. + * + * FT_FACE_FLAG_FIXED_WIDTH :: + * The face contains fixed-width characters (like Courier, Lucida, + * MonoType, etc.). + * + * FT_FACE_FLAG_SFNT :: + * The face uses the SFNT storage scheme. For now, this means TrueType + * and OpenType. + * + * FT_FACE_FLAG_HORIZONTAL :: + * The face contains horizontal glyph metrics. This should be set for + * all common formats. + * + * FT_FACE_FLAG_VERTICAL :: + * The face contains vertical glyph metrics. This is only available in + * some formats, not all of them. + * + * FT_FACE_FLAG_KERNING :: + * The face contains kerning information. If set, the kerning distance + * can be retrieved using the function @FT_Get_Kerning. Otherwise the + * function always returns the vector (0,0). Note that FreeType + * doesn't handle kerning data from the SFNT 'GPOS' table (as present + * in many OpenType fonts). + * + * FT_FACE_FLAG_FAST_GLYPHS :: + * THIS FLAG IS DEPRECATED. DO NOT USE OR TEST IT. + * + * FT_FACE_FLAG_MULTIPLE_MASTERS :: + * The face contains multiple masters and is capable of interpolating + * between them. Supported formats are Adobe MM, TrueType GX, and + * OpenType variation fonts. + * + * See section @multiple_masters for API details. + * + * FT_FACE_FLAG_GLYPH_NAMES :: + * The face contains glyph names, which can be retrieved using + * @FT_Get_Glyph_Name. Note that some TrueType fonts contain broken + * glyph name tables. Use the function @FT_Has_PS_Glyph_Names when + * needed. + * + * FT_FACE_FLAG_EXTERNAL_STREAM :: + * Used internally by FreeType to indicate that a face's stream was + * provided by the client application and should not be destroyed when + * @FT_Done_Face is called. Don't read or test this flag. + * + * FT_FACE_FLAG_HINTER :: + * The font driver has a hinting machine of its own. For example, with + * TrueType fonts, it makes sense to use data from the SFNT 'gasp' + * table only if the native TrueType hinting engine (with the bytecode + * interpreter) is available and active. + * + * FT_FACE_FLAG_CID_KEYED :: + * The face is CID-keyed. In that case, the face is not accessed by + * glyph indices but by CID values. For subsetted CID-keyed fonts this + * has the consequence that not all index values are a valid argument + * to @FT_Load_Glyph. Only the CID values for which corresponding + * glyphs in the subsetted font exist make `FT_Load_Glyph` return + * successfully; in all other cases you get an + * `FT_Err_Invalid_Argument` error. + * + * Note that CID-keyed fonts that are in an SFNT wrapper (that is, all + * OpenType/CFF fonts) don't have this flag set since the glyphs are + * accessed in the normal way (using contiguous indices); the + * 'CID-ness' isn't visible to the application. + * + * FT_FACE_FLAG_TRICKY :: + * The face is 'tricky', that is, it always needs the font format's + * native hinting engine to get a reasonable result. A typical example + * is the old Chinese font `mingli.ttf` (but not `mingliu.ttc`) that + * uses TrueType bytecode instructions to move and scale all of its + * subglyphs. + * + * It is not possible to auto-hint such fonts using + * @FT_LOAD_FORCE_AUTOHINT; it will also ignore @FT_LOAD_NO_HINTING. + * You have to set both @FT_LOAD_NO_HINTING and @FT_LOAD_NO_AUTOHINT to + * really disable hinting; however, you probably never want this except + * for demonstration purposes. + * + * Currently, there are about a dozen TrueType fonts in the list of + * tricky fonts; they are hard-coded in file `ttobjs.c`. + * + * FT_FACE_FLAG_COLOR :: + * [Since 2.5.1] The face has color glyph tables. See @FT_LOAD_COLOR + * for more information. + * + * FT_FACE_FLAG_VARIATION :: + * [Since 2.9] Set if the current face (or named instance) has been + * altered with @FT_Set_MM_Design_Coordinates, + * @FT_Set_Var_Design_Coordinates, @FT_Set_Var_Blend_Coordinates, or + * @FT_Set_MM_WeightVector to select a non-default instance. + * + * FT_FACE_FLAG_SVG :: + * [Since 2.12] The face has an 'SVG~' OpenType table. + * + * FT_FACE_FLAG_SBIX :: + * [Since 2.12] The face has an 'sbix' OpenType table *and* outlines. + * For such fonts, @FT_FACE_FLAG_SCALABLE is not set by default to + * retain backward compatibility. + * + * FT_FACE_FLAG_SBIX_OVERLAY :: + * [Since 2.12] The face has an 'sbix' OpenType table where outlines + * should be drawn on top of bitmap strikes. + * + */ +#define FT_FACE_FLAG_SCALABLE ( 1L << 0 ) +#define FT_FACE_FLAG_FIXED_SIZES ( 1L << 1 ) +#define FT_FACE_FLAG_FIXED_WIDTH ( 1L << 2 ) +#define FT_FACE_FLAG_SFNT ( 1L << 3 ) +#define FT_FACE_FLAG_HORIZONTAL ( 1L << 4 ) +#define FT_FACE_FLAG_VERTICAL ( 1L << 5 ) +#define FT_FACE_FLAG_KERNING ( 1L << 6 ) +#define FT_FACE_FLAG_FAST_GLYPHS ( 1L << 7 ) +#define FT_FACE_FLAG_MULTIPLE_MASTERS ( 1L << 8 ) +#define FT_FACE_FLAG_GLYPH_NAMES ( 1L << 9 ) +#define FT_FACE_FLAG_EXTERNAL_STREAM ( 1L << 10 ) +#define FT_FACE_FLAG_HINTER ( 1L << 11 ) +#define FT_FACE_FLAG_CID_KEYED ( 1L << 12 ) +#define FT_FACE_FLAG_TRICKY ( 1L << 13 ) +#define FT_FACE_FLAG_COLOR ( 1L << 14 ) +#define FT_FACE_FLAG_VARIATION ( 1L << 15 ) +#define FT_FACE_FLAG_SVG ( 1L << 16 ) +#define FT_FACE_FLAG_SBIX ( 1L << 17 ) +#define FT_FACE_FLAG_SBIX_OVERLAY ( 1L << 18 ) + + + /************************************************************************** + * + * @section: + * font_testing_macros + * + */ + + /************************************************************************** + * + * @macro: + * FT_HAS_HORIZONTAL + * + * @description: + * A macro that returns true whenever a face object contains horizontal + * metrics (this is true for all font formats though). + * + * @also: + * @FT_HAS_VERTICAL can be used to check for vertical metrics. + * + */ +#define FT_HAS_HORIZONTAL( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_VERTICAL + * + * @description: + * A macro that returns true whenever a face object contains real + * vertical metrics (and not only synthesized ones). + * + */ +#define FT_HAS_VERTICAL( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_KERNING + * + * @description: + * A macro that returns true whenever a face object contains kerning data + * that can be accessed with @FT_Get_Kerning. + * + */ +#define FT_HAS_KERNING( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_KERNING ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_SCALABLE + * + * @description: + * A macro that returns true whenever a face object contains a scalable + * font face (true for TrueType, Type~1, Type~42, CID, OpenType/CFF, and + * PFR font formats). + * + */ +#define FT_IS_SCALABLE( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_SFNT + * + * @description: + * A macro that returns true whenever a face object contains a font whose + * format is based on the SFNT storage scheme. This usually means: + * TrueType fonts, OpenType fonts, as well as SFNT-based embedded bitmap + * fonts. + * + * If this macro is true, all functions defined in @FT_SFNT_NAMES_H and + * @FT_TRUETYPE_TABLES_H are available. + * + */ +#define FT_IS_SFNT( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_SFNT ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_FIXED_WIDTH + * + * @description: + * A macro that returns true whenever a face object contains a font face + * that contains fixed-width (or 'monospace', 'fixed-pitch', etc.) + * glyphs. + * + */ +#define FT_IS_FIXED_WIDTH( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_FIXED_SIZES + * + * @description: + * A macro that returns true whenever a face object contains some + * embedded bitmaps. See the `available_sizes` field of the @FT_FaceRec + * structure. + * + */ +#define FT_HAS_FIXED_SIZES( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) ) + + + /************************************************************************** + * + * @section: + * other_api_data + * + */ + + /************************************************************************** + * + * @macro: + * FT_HAS_FAST_GLYPHS + * + * @description: + * Deprecated. + * + */ +#define FT_HAS_FAST_GLYPHS( face ) 0 + + + /************************************************************************** + * + * @section: + * font_testing_macros + * + */ + + /************************************************************************** + * + * @macro: + * FT_HAS_GLYPH_NAMES + * + * @description: + * A macro that returns true whenever a face object contains some glyph + * names that can be accessed through @FT_Get_Glyph_Name. + * + */ +#define FT_HAS_GLYPH_NAMES( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_MULTIPLE_MASTERS + * + * @description: + * A macro that returns true whenever a face object contains some + * multiple masters. The functions provided by @FT_MULTIPLE_MASTERS_H + * are then available to choose the exact design you want. + * + */ +#define FT_HAS_MULTIPLE_MASTERS( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_NAMED_INSTANCE + * + * @description: + * A macro that returns true whenever a face object is a named instance + * of a GX or OpenType variation font. + * + * [Since 2.9] Changing the design coordinates with + * @FT_Set_Var_Design_Coordinates or @FT_Set_Var_Blend_Coordinates does + * not influence the return value of this macro (only + * @FT_Set_Named_Instance does that). + * + * @since: + * 2.7 + * + */ +#define FT_IS_NAMED_INSTANCE( face ) \ + ( !!( (face)->face_index & 0x7FFF0000L ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_VARIATION + * + * @description: + * A macro that returns true whenever a face object has been altered by + * @FT_Set_MM_Design_Coordinates, @FT_Set_Var_Design_Coordinates, + * @FT_Set_Var_Blend_Coordinates, or @FT_Set_MM_WeightVector. + * + * @since: + * 2.9 + * + */ +#define FT_IS_VARIATION( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_VARIATION ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_CID_KEYED + * + * @description: + * A macro that returns true whenever a face object contains a CID-keyed + * font. See the discussion of @FT_FACE_FLAG_CID_KEYED for more details. + * + * If this macro is true, all functions defined in @FT_CID_H are + * available. + * + */ +#define FT_IS_CID_KEYED( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_CID_KEYED ) ) + + + /************************************************************************** + * + * @macro: + * FT_IS_TRICKY + * + * @description: + * A macro that returns true whenever a face represents a 'tricky' font. + * See the discussion of @FT_FACE_FLAG_TRICKY for more details. + * + */ +#define FT_IS_TRICKY( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_TRICKY ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_COLOR + * + * @description: + * A macro that returns true whenever a face object contains tables for + * color glyphs. + * + * @since: + * 2.5.1 + * + */ +#define FT_HAS_COLOR( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_COLOR ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_SVG + * + * @description: + * A macro that returns true whenever a face object contains an 'SVG~' + * OpenType table. + * + * @since: + * 2.12 + */ +#define FT_HAS_SVG( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_SVG ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_SBIX + * + * @description: + * A macro that returns true whenever a face object contains an 'sbix' + * OpenType table *and* outline glyphs. + * + * Currently, FreeType only supports bitmap glyphs in PNG format for this + * table (i.e., JPEG and TIFF formats are unsupported, as are + * Apple-specific formats not part of the OpenType specification). + * + * @note: + * For backward compatibility, a font with an 'sbix' table is treated as + * a bitmap-only face. Using @FT_Open_Face with + * @FT_PARAM_TAG_IGNORE_SBIX, an application can switch off 'sbix' + * handling so that the face is treated as an ordinary outline font with + * scalable outlines. + * + * Here is some pseudo code that roughly illustrates how to implement + * 'sbix' handling according to the OpenType specification. + * + * ``` + * if ( FT_HAS_SBIX( face ) ) + * { + * // open font as a scalable one without sbix handling + * FT_Face face2; + * FT_Parameter param = { FT_PARAM_TAG_IGNORE_SBIX, NULL }; + * FT_Open_Args args = { FT_OPEN_PARAMS | ..., + * ..., + * 1, ¶m }; + * + * + * FT_Open_Face( library, &args, 0, &face2 ); + * + * available_size` as necessary into + * `preferred_sizes`[*]> + * + * for ( i = 0; i < face->num_fixed_sizes; i++ ) + * { + * size = preferred_sizes[i].size; + * + * error = FT_Set_Pixel_Sizes( face, size, size ); + * + * + * // check whether we have a glyph in a bitmap strike + * error = FT_Load_Glyph( face, + * glyph_index, + * FT_LOAD_SBITS_ONLY | + * FT_LOAD_BITMAP_METRICS_ONLY ); + * if ( error == FT_Err_Invalid_Argument ) + * continue; + * else if ( error ) + * + * else + * break; + * } + * + * if ( i != face->num_fixed_sizes ) + * + * + * if ( i == face->num_fixed_sizes || + * FT_HAS_SBIX_OVERLAY( face ) ) + * + * } + * ``` + * + * [*] Assuming a target value of 400dpi and available strike sizes 100, + * 200, 300, and 400dpi, a possible order might be [400, 200, 300, 100]: + * scaling 200dpi to 400dpi usually gives better results than scaling + * 300dpi to 400dpi; it is also much faster. However, scaling 100dpi to + * 400dpi can yield a too pixelated result, thus the preference might be + * 300dpi over 100dpi. + * + * @since: + * 2.12 + */ +#define FT_HAS_SBIX( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_SBIX ) ) + + + /************************************************************************** + * + * @macro: + * FT_HAS_SBIX_OVERLAY + * + * @description: + * A macro that returns true whenever a face object contains an 'sbix' + * OpenType table with bit~1 in its `flags` field set, instructing the + * application to overlay the bitmap strike with the corresponding + * outline glyph. See @FT_HAS_SBIX for pseudo code how to use it. + * + * @since: + * 2.12 + */ +#define FT_HAS_SBIX_OVERLAY( face ) \ + ( !!( (face)->face_flags & FT_FACE_FLAG_SBIX_OVERLAY ) ) + + + /************************************************************************** + * + * @section: + * face_creation + * + */ + + /************************************************************************** + * + * @enum: + * FT_STYLE_FLAG_XXX + * + * @description: + * A list of bit flags to indicate the style of a given face. These are + * used in the `style_flags` field of @FT_FaceRec. + * + * @values: + * FT_STYLE_FLAG_ITALIC :: + * The face style is italic or oblique. + * + * FT_STYLE_FLAG_BOLD :: + * The face is bold. + * + * @note: + * The style information as provided by FreeType is very basic. More + * details are beyond the scope and should be done on a higher level (for + * example, by analyzing various fields of the 'OS/2' table in SFNT based + * fonts). + */ +#define FT_STYLE_FLAG_ITALIC ( 1 << 0 ) +#define FT_STYLE_FLAG_BOLD ( 1 << 1 ) + + + /************************************************************************** + * + * @section: + * other_api_data + * + */ + + /************************************************************************** + * + * @type: + * FT_Size_Internal + * + * @description: + * An opaque handle to an `FT_Size_InternalRec` structure, used to model + * private data of a given @FT_Size object. + */ + typedef struct FT_Size_InternalRec_* FT_Size_Internal; + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + */ + + /************************************************************************** + * + * @struct: + * FT_Size_Metrics + * + * @description: + * The size metrics structure gives the metrics of a size object. + * + * @fields: + * x_ppem :: + * The width of the scaled EM square in pixels, hence the term 'ppem' + * (pixels per EM). It is also referred to as 'nominal width'. + * + * y_ppem :: + * The height of the scaled EM square in pixels, hence the term 'ppem' + * (pixels per EM). It is also referred to as 'nominal height'. + * + * x_scale :: + * A 16.16 fractional scaling value to convert horizontal metrics from + * font units to 26.6 fractional pixels. Only relevant for scalable + * font formats. + * + * y_scale :: + * A 16.16 fractional scaling value to convert vertical metrics from + * font units to 26.6 fractional pixels. Only relevant for scalable + * font formats. + * + * ascender :: + * The ascender in 26.6 fractional pixels, rounded up to an integer + * value. See @FT_FaceRec for the details. + * + * descender :: + * The descender in 26.6 fractional pixels, rounded down to an integer + * value. See @FT_FaceRec for the details. + * + * height :: + * The height in 26.6 fractional pixels, rounded to an integer value. + * See @FT_FaceRec for the details. + * + * max_advance :: + * The maximum advance width in 26.6 fractional pixels, rounded to an + * integer value. See @FT_FaceRec for the details. + * + * @note: + * The scaling values, if relevant, are determined first during a size + * changing operation. The remaining fields are then set by the driver. + * For scalable formats, they are usually set to scaled values of the + * corresponding fields in @FT_FaceRec. Some values like ascender or + * descender are rounded for historical reasons; more precise values (for + * outline fonts) can be derived by scaling the corresponding @FT_FaceRec + * values manually, with code similar to the following. + * + * ``` + * scaled_ascender = FT_MulFix( face->ascender, + * size_metrics->y_scale ); + * ``` + * + * Note that due to glyph hinting and the selected rendering mode these + * values are usually not exact; consequently, they must be treated as + * unreliable with an error margin of at least one pixel! + * + * Indeed, the only way to get the exact metrics is to render _all_ + * glyphs. As this would be a definite performance hit, it is up to + * client applications to perform such computations. + * + * The `FT_Size_Metrics` structure is valid for bitmap fonts also. + * + * + * **TrueType fonts with native bytecode hinting** + * + * All applications that handle TrueType fonts with native hinting must + * be aware that TTFs expect different rounding of vertical font + * dimensions. The application has to cater for this, especially if it + * wants to rely on a TTF's vertical data (for example, to properly align + * box characters vertically). + * + * Only the application knows _in advance_ that it is going to use native + * hinting for TTFs! FreeType, on the other hand, selects the hinting + * mode not at the time of creating an @FT_Size object but much later, + * namely while calling @FT_Load_Glyph. + * + * Here is some pseudo code that illustrates a possible solution. + * + * ``` + * font_format = FT_Get_Font_Format( face ); + * + * if ( !strcmp( font_format, "TrueType" ) && + * do_native_bytecode_hinting ) + * { + * ascender = ROUND( FT_MulFix( face->ascender, + * size_metrics->y_scale ) ); + * descender = ROUND( FT_MulFix( face->descender, + * size_metrics->y_scale ) ); + * } + * else + * { + * ascender = size_metrics->ascender; + * descender = size_metrics->descender; + * } + * + * height = size_metrics->height; + * max_advance = size_metrics->max_advance; + * ``` + */ + typedef struct FT_Size_Metrics_ + { + FT_UShort x_ppem; /* horizontal pixels per EM */ + FT_UShort y_ppem; /* vertical pixels per EM */ + + FT_Fixed x_scale; /* scaling values used to convert font */ + FT_Fixed y_scale; /* units to 26.6 fractional pixels */ + + FT_Pos ascender; /* ascender in 26.6 frac. pixels */ + FT_Pos descender; /* descender in 26.6 frac. pixels */ + FT_Pos height; /* text height in 26.6 frac. pixels */ + FT_Pos max_advance; /* max horizontal advance, in 26.6 pixels */ + + } FT_Size_Metrics; + + + /************************************************************************** + * + * @struct: + * FT_SizeRec + * + * @description: + * FreeType root size class structure. A size object models a face + * object at a given size. + * + * @fields: + * face :: + * Handle to the parent face object. + * + * generic :: + * A typeless pointer, unused by the FreeType library or any of its + * drivers. It can be used by client applications to link their own + * data to each size object. + * + * metrics :: + * Metrics for this size object. This field is read-only. + */ + typedef struct FT_SizeRec_ + { + FT_Face face; /* parent face object */ + FT_Generic generic; /* generic pointer for client uses */ + FT_Size_Metrics metrics; /* size metrics */ + FT_Size_Internal internal; + + } FT_SizeRec; + + + /************************************************************************** + * + * @section: + * other_api_data + * + */ + + /************************************************************************** + * + * @struct: + * FT_SubGlyph + * + * @description: + * The subglyph structure is an internal object used to describe + * subglyphs (for example, in the case of composites). + * + * @note: + * The subglyph implementation is not part of the high-level API, hence + * the forward structure declaration. + * + * You can however retrieve subglyph information with + * @FT_Get_SubGlyph_Info. + */ + typedef struct FT_SubGlyphRec_* FT_SubGlyph; + + + /************************************************************************** + * + * @type: + * FT_Slot_Internal + * + * @description: + * An opaque handle to an `FT_Slot_InternalRec` structure, used to model + * private data of a given @FT_GlyphSlot object. + */ + typedef struct FT_Slot_InternalRec_* FT_Slot_Internal; + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @struct: + * FT_GlyphSlotRec + * + * @description: + * FreeType root glyph slot class structure. A glyph slot is a container + * where individual glyphs can be loaded, be they in outline or bitmap + * format. + * + * @fields: + * library :: + * A handle to the FreeType library instance this slot belongs to. + * + * face :: + * A handle to the parent face object. + * + * next :: + * In some cases (like some font tools), several glyph slots per face + * object can be a good thing. As this is rare, the glyph slots are + * listed through a direct, single-linked list using its `next` field. + * + * glyph_index :: + * [Since 2.10] The glyph index passed as an argument to @FT_Load_Glyph + * while initializing the glyph slot. + * + * generic :: + * A typeless pointer unused by the FreeType library or any of its + * drivers. It can be used by client applications to link their own + * data to each glyph slot object. + * + * metrics :: + * The metrics of the last loaded glyph in the slot. The returned + * values depend on the last load flags (see the @FT_Load_Glyph API + * function) and can be expressed either in 26.6 fractional pixels or + * font units. + * + * Note that even when the glyph image is transformed, the metrics are + * not. + * + * linearHoriAdvance :: + * The advance width of the unhinted glyph. Its value is expressed in + * 16.16 fractional pixels, unless @FT_LOAD_LINEAR_DESIGN is set when + * loading the glyph. This field can be important to perform correct + * WYSIWYG layout. Only relevant for scalable glyphs. + * + * linearVertAdvance :: + * The advance height of the unhinted glyph. Its value is expressed in + * 16.16 fractional pixels, unless @FT_LOAD_LINEAR_DESIGN is set when + * loading the glyph. This field can be important to perform correct + * WYSIWYG layout. Only relevant for scalable glyphs. + * + * advance :: + * This shorthand is, depending on @FT_LOAD_IGNORE_TRANSFORM, the + * transformed (hinted) advance width for the glyph, in 26.6 fractional + * pixel format. As specified with @FT_LOAD_VERTICAL_LAYOUT, it uses + * either the `horiAdvance` or the `vertAdvance` value of `metrics` + * field. + * + * format :: + * This field indicates the format of the image contained in the glyph + * slot. Typically @FT_GLYPH_FORMAT_BITMAP, @FT_GLYPH_FORMAT_OUTLINE, + * or @FT_GLYPH_FORMAT_COMPOSITE, but other values are possible. + * + * bitmap :: + * This field is used as a bitmap descriptor. Note that the address + * and content of the bitmap buffer can change between calls of + * @FT_Load_Glyph and a few other functions. + * + * bitmap_left :: + * The bitmap's left bearing expressed in integer pixels. + * + * bitmap_top :: + * The bitmap's top bearing expressed in integer pixels. This is the + * distance from the baseline to the top-most glyph scanline, upwards + * y~coordinates being **positive**. + * + * outline :: + * The outline descriptor for the current glyph image if its format is + * @FT_GLYPH_FORMAT_OUTLINE. Once a glyph is loaded, `outline` can be + * transformed, distorted, emboldened, etc. However, it must not be + * freed. + * + * [Since 2.10.1] If @FT_LOAD_NO_SCALE is set, outline coordinates of + * OpenType variation fonts for a selected instance are internally + * handled as 26.6 fractional font units but returned as (rounded) + * integers, as expected. To get unrounded font units, don't use + * @FT_LOAD_NO_SCALE but load the glyph with @FT_LOAD_NO_HINTING and + * scale it, using the font's `units_per_EM` value as the ppem. + * + * num_subglyphs :: + * The number of subglyphs in a composite glyph. This field is only + * valid for the composite glyph format that should normally only be + * loaded with the @FT_LOAD_NO_RECURSE flag. + * + * subglyphs :: + * An array of subglyph descriptors for composite glyphs. There are + * `num_subglyphs` elements in there. Currently internal to FreeType. + * + * control_data :: + * Certain font drivers can also return the control data for a given + * glyph image (e.g. TrueType bytecode, Type~1 charstrings, etc.). + * This field is a pointer to such data; it is currently internal to + * FreeType. + * + * control_len :: + * This is the length in bytes of the control data. Currently internal + * to FreeType. + * + * other :: + * Reserved. + * + * lsb_delta :: + * The difference between hinted and unhinted left side bearing while + * auto-hinting is active. Zero otherwise. + * + * rsb_delta :: + * The difference between hinted and unhinted right side bearing while + * auto-hinting is active. Zero otherwise. + * + * @note: + * If @FT_Load_Glyph is called with default flags (see @FT_LOAD_DEFAULT) + * the glyph image is loaded in the glyph slot in its native format + * (e.g., an outline glyph for TrueType and Type~1 formats). [Since 2.9] + * The prospective bitmap metrics are calculated according to + * @FT_LOAD_TARGET_XXX and other flags even for the outline glyph, even + * if @FT_LOAD_RENDER is not set. + * + * This image can later be converted into a bitmap by calling + * @FT_Render_Glyph. This function searches the current renderer for the + * native image's format, then invokes it. + * + * The renderer is in charge of transforming the native image through the + * slot's face transformation fields, then converting it into a bitmap + * that is returned in `slot->bitmap`. + * + * Note that `slot->bitmap_left` and `slot->bitmap_top` are also used to + * specify the position of the bitmap relative to the current pen + * position (e.g., coordinates (0,0) on the baseline). Of course, + * `slot->format` is also changed to @FT_GLYPH_FORMAT_BITMAP. + * + * Here is a small pseudo code fragment that shows how to use `lsb_delta` + * and `rsb_delta` to do fractional positioning of glyphs: + * + * ``` + * FT_GlyphSlot slot = face->glyph; + * FT_Pos origin_x = 0; + * + * + * for all glyphs do + * + * + * FT_Outline_Translate( slot->outline, origin_x & 63, 0 ); + * + * + * + * + * + * origin_x += slot->advance.x; + * origin_x += slot->lsb_delta - slot->rsb_delta; + * endfor + * ``` + * + * Here is another small pseudo code fragment that shows how to use + * `lsb_delta` and `rsb_delta` to improve integer positioning of glyphs: + * + * ``` + * FT_GlyphSlot slot = face->glyph; + * FT_Pos origin_x = 0; + * FT_Pos prev_rsb_delta = 0; + * + * + * for all glyphs do + * + * + * + * + * if ( prev_rsb_delta - slot->lsb_delta > 32 ) + * origin_x -= 64; + * else if ( prev_rsb_delta - slot->lsb_delta < -31 ) + * origin_x += 64; + * + * prev_rsb_delta = slot->rsb_delta; + * + * + * + * origin_x += slot->advance.x; + * endfor + * ``` + * + * If you use strong auto-hinting, you **must** apply these delta values! + * Otherwise you will experience far too large inter-glyph spacing at + * small rendering sizes in most cases. Note that it doesn't harm to use + * the above code for other hinting modes also, since the delta values + * are zero then. + */ + typedef struct FT_GlyphSlotRec_ + { + FT_Library library; + FT_Face face; + FT_GlyphSlot next; + FT_UInt glyph_index; /* new in 2.10; was reserved previously */ + FT_Generic generic; + + FT_Glyph_Metrics metrics; + FT_Fixed linearHoriAdvance; + FT_Fixed linearVertAdvance; + FT_Vector advance; + + FT_Glyph_Format format; + + FT_Bitmap bitmap; + FT_Int bitmap_left; + FT_Int bitmap_top; + + FT_Outline outline; + + FT_UInt num_subglyphs; + FT_SubGlyph subglyphs; + + void* control_data; + long control_len; + + FT_Pos lsb_delta; + FT_Pos rsb_delta; + + void* other; + + FT_Slot_Internal internal; + + } FT_GlyphSlotRec; + + + /*************************************************************************/ + /*************************************************************************/ + /* */ + /* F U N C T I O N S */ + /* */ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @section: + * library_setup + * + */ + + /************************************************************************** + * + * @function: + * FT_Init_FreeType + * + * @description: + * Initialize a new FreeType library object. The set of modules that are + * registered by this function is determined at build time. + * + * @output: + * alibrary :: + * A handle to a new library object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * In case you want to provide your own memory allocating routines, use + * @FT_New_Library instead, followed by a call to @FT_Add_Default_Modules + * (or a series of calls to @FT_Add_Module) and + * @FT_Set_Default_Properties. + * + * See the documentation of @FT_Library and @FT_Face for multi-threading + * issues. + * + * If you need reference-counting (cf. @FT_Reference_Library), use + * @FT_New_Library and @FT_Done_Library. + * + * If compilation option `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES` is + * set, this function reads the `FREETYPE_PROPERTIES` environment + * variable to control driver properties. See section @properties for + * more. + */ + FT_EXPORT( FT_Error ) + FT_Init_FreeType( FT_Library *alibrary ); + + + /************************************************************************** + * + * @function: + * FT_Done_FreeType + * + * @description: + * Destroy a given FreeType library object and all of its children, + * including resources, drivers, faces, sizes, etc. + * + * @input: + * library :: + * A handle to the target library object. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Done_FreeType( FT_Library library ); + + + /************************************************************************** + * + * @section: + * face_creation + * + */ + + /************************************************************************** + * + * @enum: + * FT_OPEN_XXX + * + * @description: + * A list of bit field constants used within the `flags` field of the + * @FT_Open_Args structure. + * + * @values: + * FT_OPEN_MEMORY :: + * This is a memory-based stream. + * + * FT_OPEN_STREAM :: + * Copy the stream from the `stream` field. + * + * FT_OPEN_PATHNAME :: + * Create a new input stream from a C~path name. + * + * FT_OPEN_DRIVER :: + * Use the `driver` field. + * + * FT_OPEN_PARAMS :: + * Use the `num_params` and `params` fields. + * + * @note: + * The `FT_OPEN_MEMORY`, `FT_OPEN_STREAM`, and `FT_OPEN_PATHNAME` flags + * are mutually exclusive. + */ +#define FT_OPEN_MEMORY 0x1 +#define FT_OPEN_STREAM 0x2 +#define FT_OPEN_PATHNAME 0x4 +#define FT_OPEN_DRIVER 0x8 +#define FT_OPEN_PARAMS 0x10 + + + /* these constants are deprecated; use the corresponding `FT_OPEN_XXX` */ + /* values instead */ +#define ft_open_memory FT_OPEN_MEMORY +#define ft_open_stream FT_OPEN_STREAM +#define ft_open_pathname FT_OPEN_PATHNAME +#define ft_open_driver FT_OPEN_DRIVER +#define ft_open_params FT_OPEN_PARAMS + + + /************************************************************************** + * + * @struct: + * FT_Parameter + * + * @description: + * A simple structure to pass more or less generic parameters to + * @FT_Open_Face and @FT_Face_Properties. + * + * @fields: + * tag :: + * A four-byte identification tag. + * + * data :: + * A pointer to the parameter data. + * + * @note: + * The ID and function of parameters are driver-specific. See section + * @parameter_tags for more information. + */ + typedef struct FT_Parameter_ + { + FT_ULong tag; + FT_Pointer data; + + } FT_Parameter; + + + /************************************************************************** + * + * @struct: + * FT_Open_Args + * + * @description: + * A structure to indicate how to open a new font file or stream. A + * pointer to such a structure can be used as a parameter for the + * functions @FT_Open_Face and @FT_Attach_Stream. + * + * @fields: + * flags :: + * A set of bit flags indicating how to use the structure. + * + * memory_base :: + * The first byte of the file in memory. + * + * memory_size :: + * The size in bytes of the file in memory. + * + * pathname :: + * A pointer to an 8-bit file pathname, which must be a C~string (i.e., + * no null bytes except at the very end). The pointer is not owned by + * FreeType. + * + * stream :: + * A handle to a source stream object. + * + * driver :: + * This field is exclusively used by @FT_Open_Face; it simply specifies + * the font driver to use for opening the face. If set to `NULL`, + * FreeType tries to load the face with each one of the drivers in its + * list. + * + * num_params :: + * The number of extra parameters. + * + * params :: + * Extra parameters passed to the font driver when opening a new face. + * + * @note: + * The stream type is determined by the contents of `flags`: + * + * If the @FT_OPEN_MEMORY bit is set, assume that this is a memory file + * of `memory_size` bytes, located at `memory_address`. The data are not + * copied, and the client is responsible for releasing and destroying + * them _after_ the corresponding call to @FT_Done_Face. + * + * Otherwise, if the @FT_OPEN_STREAM bit is set, assume that a custom + * input stream `stream` is used. + * + * Otherwise, if the @FT_OPEN_PATHNAME bit is set, assume that this is a + * normal file and use `pathname` to open it. + * + * If none of the above bits are set or if multiple are set at the same + * time, the flags are invalid and @FT_Open_Face fails. + * + * If the @FT_OPEN_DRIVER bit is set, @FT_Open_Face only tries to open + * the file with the driver whose handler is in `driver`. + * + * If the @FT_OPEN_PARAMS bit is set, the parameters given by + * `num_params` and `params` is used. They are ignored otherwise. + * + * Ideally, both the `pathname` and `params` fields should be tagged as + * 'const'; this is missing for API backward compatibility. In other + * words, applications should treat them as read-only. + */ + typedef struct FT_Open_Args_ + { + FT_UInt flags; + const FT_Byte* memory_base; + FT_Long memory_size; + FT_String* pathname; + FT_Stream stream; + FT_Module driver; + FT_Int num_params; + FT_Parameter* params; + + } FT_Open_Args; + + + /************************************************************************** + * + * @function: + * FT_New_Face + * + * @description: + * Call @FT_Open_Face to open a font by its pathname. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * pathname :: + * A path to the font file. + * + * face_index :: + * See @FT_Open_Face for a detailed description of this parameter. + * + * @output: + * aface :: + * A handle to a new face object. If `face_index` is greater than or + * equal to zero, it must be non-`NULL`. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The `pathname` string should be recognizable as such by a standard + * `fopen` call on your system; in particular, this means that `pathname` + * must not contain null bytes. If that is not sufficient to address all + * file name possibilities (for example, to handle wide character file + * names on Windows in UTF-16 encoding) you might use @FT_Open_Face to + * pass a memory array or a stream object instead. + * + * Use @FT_Done_Face to destroy the created @FT_Face object (along with + * its slot and sizes). + */ + FT_EXPORT( FT_Error ) + FT_New_Face( FT_Library library, + const char* filepathname, + FT_Long face_index, + FT_Face *aface ); + + + /************************************************************************** + * + * @function: + * FT_New_Memory_Face + * + * @description: + * Call @FT_Open_Face to open a font that has been loaded into memory. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * file_base :: + * A pointer to the beginning of the font data. + * + * file_size :: + * The size of the memory chunk used by the font data. + * + * face_index :: + * See @FT_Open_Face for a detailed description of this parameter. + * + * @output: + * aface :: + * A handle to a new face object. If `face_index` is greater than or + * equal to zero, it must be non-`NULL`. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You must not deallocate the memory before calling @FT_Done_Face. + */ + FT_EXPORT( FT_Error ) + FT_New_Memory_Face( FT_Library library, + const FT_Byte* file_base, + FT_Long file_size, + FT_Long face_index, + FT_Face *aface ); + + + /************************************************************************** + * + * @function: + * FT_Open_Face + * + * @description: + * Create a face object from a given resource described by @FT_Open_Args. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * args :: + * A pointer to an `FT_Open_Args` structure that must be filled by the + * caller. + * + * face_index :: + * This field holds two different values. Bits 0-15 are the index of + * the face in the font file (starting with value~0). Set it to~0 if + * there is only one face in the font file. + * + * [Since 2.6.1] Bits 16-30 are relevant to GX and OpenType variation + * fonts only, specifying the named instance index for the current face + * index (starting with value~1; value~0 makes FreeType ignore named + * instances). For non-variation fonts, bits 16-30 are ignored. + * Assuming that you want to access the third named instance in face~4, + * `face_index` should be set to 0x00030004. If you want to access + * face~4 without variation handling, simply set `face_index` to + * value~4. + * + * `FT_Open_Face` and its siblings can be used to quickly check whether + * the font format of a given font resource is supported by FreeType. + * In general, if the `face_index` argument is negative, the function's + * return value is~0 if the font format is recognized, or non-zero + * otherwise. The function allocates a more or less empty face handle + * in `*aface` (if `aface` isn't `NULL`); the only two useful fields in + * this special case are `face->num_faces` and `face->style_flags`. + * For any negative value of `face_index`, `face->num_faces` gives the + * number of faces within the font file. For the negative value + * '-(N+1)' (with 'N' a non-negative 16-bit value), bits 16-30 in + * `face->style_flags` give the number of named instances in face 'N' + * if we have a variation font (or zero otherwise). After examination, + * the returned @FT_Face structure should be deallocated with a call to + * @FT_Done_Face. + * + * @output: + * aface :: + * A handle to a new face object. If `face_index` is greater than or + * equal to zero, it must be non-`NULL`. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Unlike FreeType 1.x, this function automatically creates a glyph slot + * for the face object that can be accessed directly through + * `face->glyph`. + * + * Each new face object created with this function also owns a default + * @FT_Size object, accessible as `face->size`. + * + * One @FT_Library instance can have multiple face objects, that is, + * @FT_Open_Face and its siblings can be called multiple times using the + * same `library` argument. + * + * See the discussion of reference counters in the description of + * @FT_Reference_Face. + * + * If `FT_OPEN_STREAM` is set in `args->flags`, the stream in + * `args->stream` is automatically closed before this function returns + * any error (including `FT_Err_Invalid_Argument`). + * + * @example: + * To loop over all faces, use code similar to the following snippet + * (omitting the error handling). + * + * ``` + * ... + * FT_Face face; + * FT_Long i, num_faces; + * + * + * error = FT_Open_Face( library, args, -1, &face ); + * if ( error ) { ... } + * + * num_faces = face->num_faces; + * FT_Done_Face( face ); + * + * for ( i = 0; i < num_faces; i++ ) + * { + * ... + * error = FT_Open_Face( library, args, i, &face ); + * ... + * FT_Done_Face( face ); + * ... + * } + * ``` + * + * To loop over all valid values for `face_index`, use something similar + * to the following snippet, again without error handling. The code + * accesses all faces immediately (thus only a single call of + * `FT_Open_Face` within the do-loop), with and without named instances. + * + * ``` + * ... + * FT_Face face; + * + * FT_Long num_faces = 0; + * FT_Long num_instances = 0; + * + * FT_Long face_idx = 0; + * FT_Long instance_idx = 0; + * + * + * do + * { + * FT_Long id = ( instance_idx << 16 ) + face_idx; + * + * + * error = FT_Open_Face( library, args, id, &face ); + * if ( error ) { ... } + * + * num_faces = face->num_faces; + * num_instances = face->style_flags >> 16; + * + * ... + * + * FT_Done_Face( face ); + * + * if ( instance_idx < num_instances ) + * instance_idx++; + * else + * { + * face_idx++; + * instance_idx = 0; + * } + * + * } while ( face_idx < num_faces ) + * ``` + */ + FT_EXPORT( FT_Error ) + FT_Open_Face( FT_Library library, + const FT_Open_Args* args, + FT_Long face_index, + FT_Face *aface ); + + + /************************************************************************** + * + * @function: + * FT_Attach_File + * + * @description: + * Call @FT_Attach_Stream to attach a file. + * + * @inout: + * face :: + * The target face object. + * + * @input: + * filepathname :: + * The pathname. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Attach_File( FT_Face face, + const char* filepathname ); + + + /************************************************************************** + * + * @function: + * FT_Attach_Stream + * + * @description: + * 'Attach' data to a face object. Normally, this is used to read + * additional information for the face object. For example, you can + * attach an AFM file that comes with a Type~1 font to get the kerning + * values and other metrics. + * + * @inout: + * face :: + * The target face object. + * + * @input: + * parameters :: + * A pointer to @FT_Open_Args that must be filled by the caller. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The meaning of the 'attach' (i.e., what really happens when the new + * file is read) is not fixed by FreeType itself. It really depends on + * the font format (and thus the font driver). + * + * Client applications are expected to know what they are doing when + * invoking this function. Most drivers simply do not implement file or + * stream attachments. + */ + FT_EXPORT( FT_Error ) + FT_Attach_Stream( FT_Face face, + const FT_Open_Args* parameters ); + + + /************************************************************************** + * + * @function: + * FT_Reference_Face + * + * @description: + * A counter gets initialized to~1 at the time an @FT_Face structure is + * created. This function increments the counter. @FT_Done_Face then + * only destroys a face if the counter is~1, otherwise it simply + * decrements the counter. + * + * This function helps in managing life-cycles of structures that + * reference @FT_Face objects. + * + * @input: + * face :: + * A handle to a target face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @since: + * 2.4.2 + * + */ + FT_EXPORT( FT_Error ) + FT_Reference_Face( FT_Face face ); + + + /************************************************************************** + * + * @function: + * FT_Done_Face + * + * @description: + * Discard a given face object, as well as all of its child slots and + * sizes. + * + * @input: + * face :: + * A handle to a target face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * See the discussion of reference counters in the description of + * @FT_Reference_Face. + */ + FT_EXPORT( FT_Error ) + FT_Done_Face( FT_Face face ); + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + */ + + /************************************************************************** + * + * @function: + * FT_Select_Size + * + * @description: + * Select a bitmap strike. To be more precise, this function sets the + * scaling factors of the active @FT_Size object in a face so that + * bitmaps from this particular strike are taken by @FT_Load_Glyph and + * friends. + * + * @inout: + * face :: + * A handle to a target face object. + * + * @input: + * strike_index :: + * The index of the bitmap strike in the `available_sizes` field of + * @FT_FaceRec structure. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * For bitmaps embedded in outline fonts it is common that only a subset + * of the available glyphs at a given ppem value is available. FreeType + * silently uses outlines if there is no bitmap for a given glyph index. + * + * For GX and OpenType variation fonts, a bitmap strike makes sense only + * if the default instance is active (that is, no glyph variation takes + * place); otherwise, FreeType simply ignores bitmap strikes. The same + * is true for all named instances that are different from the default + * instance. + * + * Don't use this function if you are using the FreeType cache API. + */ + FT_EXPORT( FT_Error ) + FT_Select_Size( FT_Face face, + FT_Int strike_index ); + + + /************************************************************************** + * + * @enum: + * FT_Size_Request_Type + * + * @description: + * An enumeration type that lists the supported size request types, i.e., + * what input size (in font units) maps to the requested output size (in + * pixels, as computed from the arguments of @FT_Size_Request). + * + * @values: + * FT_SIZE_REQUEST_TYPE_NOMINAL :: + * The nominal size. The `units_per_EM` field of @FT_FaceRec is used + * to determine both scaling values. + * + * This is the standard scaling found in most applications. In + * particular, use this size request type for TrueType fonts if they + * provide optical scaling or something similar. Note, however, that + * `units_per_EM` is a rather abstract value which bears no relation to + * the actual size of the glyphs in a font. + * + * FT_SIZE_REQUEST_TYPE_REAL_DIM :: + * The real dimension. The sum of the `ascender` and (minus of) the + * `descender` fields of @FT_FaceRec is used to determine both scaling + * values. + * + * FT_SIZE_REQUEST_TYPE_BBOX :: + * The font bounding box. The width and height of the `bbox` field of + * @FT_FaceRec are used to determine the horizontal and vertical + * scaling value, respectively. + * + * FT_SIZE_REQUEST_TYPE_CELL :: + * The `max_advance_width` field of @FT_FaceRec is used to determine + * the horizontal scaling value; the vertical scaling value is + * determined the same way as @FT_SIZE_REQUEST_TYPE_REAL_DIM does. + * Finally, both scaling values are set to the smaller one. This type + * is useful if you want to specify the font size for, say, a window of + * a given dimension and 80x24 cells. + * + * FT_SIZE_REQUEST_TYPE_SCALES :: + * Specify the scaling values directly. + * + * @note: + * The above descriptions only apply to scalable formats. For bitmap + * formats, the behaviour is up to the driver. + * + * See the note section of @FT_Size_Metrics if you wonder how size + * requesting relates to scaling values. + */ + typedef enum FT_Size_Request_Type_ + { + FT_SIZE_REQUEST_TYPE_NOMINAL, + FT_SIZE_REQUEST_TYPE_REAL_DIM, + FT_SIZE_REQUEST_TYPE_BBOX, + FT_SIZE_REQUEST_TYPE_CELL, + FT_SIZE_REQUEST_TYPE_SCALES, + + FT_SIZE_REQUEST_TYPE_MAX + + } FT_Size_Request_Type; + + + /************************************************************************** + * + * @struct: + * FT_Size_RequestRec + * + * @description: + * A structure to model a size request. + * + * @fields: + * type :: + * See @FT_Size_Request_Type. + * + * width :: + * The desired width, given as a 26.6 fractional point value (with 72pt + * = 1in). + * + * height :: + * The desired height, given as a 26.6 fractional point value (with + * 72pt = 1in). + * + * horiResolution :: + * The horizontal resolution (dpi, i.e., pixels per inch). If set to + * zero, `width` is treated as a 26.6 fractional **pixel** value, which + * gets internally rounded to an integer. + * + * vertResolution :: + * The vertical resolution (dpi, i.e., pixels per inch). If set to + * zero, `height` is treated as a 26.6 fractional **pixel** value, + * which gets internally rounded to an integer. + * + * @note: + * If `width` is zero, the horizontal scaling value is set equal to the + * vertical scaling value, and vice versa. + * + * If `type` is `FT_SIZE_REQUEST_TYPE_SCALES`, `width` and `height` are + * interpreted directly as 16.16 fractional scaling values, without any + * further modification, and both `horiResolution` and `vertResolution` + * are ignored. + */ + typedef struct FT_Size_RequestRec_ + { + FT_Size_Request_Type type; + FT_Long width; + FT_Long height; + FT_UInt horiResolution; + FT_UInt vertResolution; + + } FT_Size_RequestRec; + + + /************************************************************************** + * + * @struct: + * FT_Size_Request + * + * @description: + * A handle to a size request structure. + */ + typedef struct FT_Size_RequestRec_ *FT_Size_Request; + + + /************************************************************************** + * + * @function: + * FT_Request_Size + * + * @description: + * Resize the scale of the active @FT_Size object in a face. + * + * @inout: + * face :: + * A handle to a target face object. + * + * @input: + * req :: + * A pointer to a @FT_Size_RequestRec. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Although drivers may select the bitmap strike matching the request, + * you should not rely on this if you intend to select a particular + * bitmap strike. Use @FT_Select_Size instead in that case. + * + * The relation between the requested size and the resulting glyph size + * is dependent entirely on how the size is defined in the source face. + * The font designer chooses the final size of each glyph relative to + * this size. For more information refer to + * 'https://www.freetype.org/freetype2/docs/glyphs/glyphs-2.html'. + * + * Contrary to @FT_Set_Char_Size, this function doesn't have special code + * to normalize zero-valued widths, heights, or resolutions, which are + * treated as @FT_LOAD_NO_SCALE. + * + * Don't use this function if you are using the FreeType cache API. + */ + FT_EXPORT( FT_Error ) + FT_Request_Size( FT_Face face, + FT_Size_Request req ); + + + /************************************************************************** + * + * @function: + * FT_Set_Char_Size + * + * @description: + * Call @FT_Request_Size to request the nominal size (in points). + * + * @inout: + * face :: + * A handle to a target face object. + * + * @input: + * char_width :: + * The nominal width, in 26.6 fractional points. + * + * char_height :: + * The nominal height, in 26.6 fractional points. + * + * horz_resolution :: + * The horizontal resolution in dpi. + * + * vert_resolution :: + * The vertical resolution in dpi. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * While this function allows fractional points as input values, the + * resulting ppem value for the given resolution is always rounded to the + * nearest integer. + * + * If either the character width or height is zero, it is set equal to + * the other value. + * + * If either the horizontal or vertical resolution is zero, it is set + * equal to the other value. + * + * A character width or height smaller than 1pt is set to 1pt; if both + * resolution values are zero, they are set to 72dpi. + * + * Don't use this function if you are using the FreeType cache API. + */ + FT_EXPORT( FT_Error ) + FT_Set_Char_Size( FT_Face face, + FT_F26Dot6 char_width, + FT_F26Dot6 char_height, + FT_UInt horz_resolution, + FT_UInt vert_resolution ); + + + /************************************************************************** + * + * @function: + * FT_Set_Pixel_Sizes + * + * @description: + * Call @FT_Request_Size to request the nominal size (in pixels). + * + * @inout: + * face :: + * A handle to the target face object. + * + * @input: + * pixel_width :: + * The nominal width, in pixels. + * + * pixel_height :: + * The nominal height, in pixels. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You should not rely on the resulting glyphs matching or being + * constrained to this pixel size. Refer to @FT_Request_Size to + * understand how requested sizes relate to actual sizes. + * + * Don't use this function if you are using the FreeType cache API. + */ + FT_EXPORT( FT_Error ) + FT_Set_Pixel_Sizes( FT_Face face, + FT_UInt pixel_width, + FT_UInt pixel_height ); + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @function: + * FT_Load_Glyph + * + * @description: + * Load a glyph into the glyph slot of a face object. + * + * @inout: + * face :: + * A handle to the target face object where the glyph is loaded. + * + * @input: + * glyph_index :: + * The index of the glyph in the font file. For CID-keyed fonts + * (either in PS or in CFF format) this argument specifies the CID + * value. + * + * load_flags :: + * A flag indicating what to load for this glyph. The @FT_LOAD_XXX + * flags can be used to control the glyph loading process (e.g., + * whether the outline should be scaled, whether to load bitmaps or + * not, whether to hint the outline, etc). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * For proper scaling and hinting, the active @FT_Size object owned by + * the face has to be meaningfully initialized by calling + * @FT_Set_Char_Size before this function, for example. The loaded + * glyph may be transformed. See @FT_Set_Transform for the details. + * + * For subsetted CID-keyed fonts, `FT_Err_Invalid_Argument` is returned + * for invalid CID values (that is, for CID values that don't have a + * corresponding glyph in the font). See the discussion of the + * @FT_FACE_FLAG_CID_KEYED flag for more details. + * + * If you receive `FT_Err_Glyph_Too_Big`, try getting the glyph outline + * at EM size, then scale it manually and fill it as a graphics + * operation. + */ + FT_EXPORT( FT_Error ) + FT_Load_Glyph( FT_Face face, + FT_UInt glyph_index, + FT_Int32 load_flags ); + + + /************************************************************************** + * + * @section: + * character_mapping + * + */ + + /************************************************************************** + * + * @function: + * FT_Load_Char + * + * @description: + * Load a glyph into the glyph slot of a face object, accessed by its + * character code. + * + * @inout: + * face :: + * A handle to a target face object where the glyph is loaded. + * + * @input: + * char_code :: + * The glyph's character code, according to the current charmap used in + * the face. + * + * load_flags :: + * A flag indicating what to load for this glyph. The @FT_LOAD_XXX + * constants can be used to control the glyph loading process (e.g., + * whether the outline should be scaled, whether to load bitmaps or + * not, whether to hint the outline, etc). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function simply calls @FT_Get_Char_Index and @FT_Load_Glyph. + * + * Many fonts contain glyphs that can't be loaded by this function since + * its glyph indices are not listed in any of the font's charmaps. + * + * If no active cmap is set up (i.e., `face->charmap` is zero), the call + * to @FT_Get_Char_Index is omitted, and the function behaves identically + * to @FT_Load_Glyph. + */ + FT_EXPORT( FT_Error ) + FT_Load_Char( FT_Face face, + FT_ULong char_code, + FT_Int32 load_flags ); + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @enum: + * FT_LOAD_XXX + * + * @description: + * A list of bit field constants for @FT_Load_Glyph to indicate what kind + * of operations to perform during glyph loading. + * + * @values: + * FT_LOAD_DEFAULT :: + * Corresponding to~0, this value is used as the default glyph load + * operation. In this case, the following happens: + * + * 1. FreeType looks for a bitmap for the glyph corresponding to the + * face's current size. If one is found, the function returns. The + * bitmap data can be accessed from the glyph slot (see note below). + * + * 2. If no embedded bitmap is searched for or found, FreeType looks + * for a scalable outline. If one is found, it is loaded from the font + * file, scaled to device pixels, then 'hinted' to the pixel grid in + * order to optimize it. The outline data can be accessed from the + * glyph slot (see note below). + * + * Note that by default the glyph loader doesn't render outlines into + * bitmaps. The following flags are used to modify this default + * behaviour to more specific and useful cases. + * + * FT_LOAD_NO_SCALE :: + * Don't scale the loaded outline glyph but keep it in font units. + * This flag is also assumed if @FT_Size owned by the face was not + * properly initialized. + * + * This flag implies @FT_LOAD_NO_HINTING and @FT_LOAD_NO_BITMAP, and + * unsets @FT_LOAD_RENDER. + * + * If the font is 'tricky' (see @FT_FACE_FLAG_TRICKY for more), using + * `FT_LOAD_NO_SCALE` usually yields meaningless outlines because the + * subglyphs must be scaled and positioned with hinting instructions. + * This can be solved by loading the font without `FT_LOAD_NO_SCALE` + * and setting the character size to `font->units_per_EM`. + * + * FT_LOAD_NO_HINTING :: + * Disable hinting. This generally generates 'blurrier' bitmap glyphs + * when the glyphs are rendered in any of the anti-aliased modes. See + * also the note below. + * + * This flag is implied by @FT_LOAD_NO_SCALE. + * + * FT_LOAD_RENDER :: + * Call @FT_Render_Glyph after the glyph is loaded. By default, the + * glyph is rendered in @FT_RENDER_MODE_NORMAL mode. This can be + * overridden by @FT_LOAD_TARGET_XXX or @FT_LOAD_MONOCHROME. + * + * This flag is unset by @FT_LOAD_NO_SCALE. + * + * FT_LOAD_NO_BITMAP :: + * Ignore bitmap strikes when loading. Bitmap-only fonts ignore this + * flag. + * + * @FT_LOAD_NO_SCALE always sets this flag. + * + * FT_LOAD_SBITS_ONLY :: + * [Since 2.12] This is the opposite of @FT_LOAD_NO_BITMAP, more or + * less: @FT_Load_Glyph returns `FT_Err_Invalid_Argument` if the face + * contains a bitmap strike for the given size (or the strike selected + * by @FT_Select_Size) but there is no glyph in the strike. + * + * Note that this load flag was part of FreeType since version 2.0.6 + * but previously tagged as internal. + * + * FT_LOAD_VERTICAL_LAYOUT :: + * Load the glyph for vertical text layout. In particular, the + * `advance` value in the @FT_GlyphSlotRec structure is set to the + * `vertAdvance` value of the `metrics` field. + * + * In case @FT_HAS_VERTICAL doesn't return true, you shouldn't use this + * flag currently. Reason is that in this case vertical metrics get + * synthesized, and those values are not always consistent across + * various font formats. + * + * FT_LOAD_FORCE_AUTOHINT :: + * Prefer the auto-hinter over the font's native hinter. See also the + * note below. + * + * FT_LOAD_PEDANTIC :: + * Make the font driver perform pedantic verifications during glyph + * loading and hinting. This is mostly used to detect broken glyphs in + * fonts. By default, FreeType tries to handle broken fonts also. + * + * In particular, errors from the TrueType bytecode engine are not + * passed to the application if this flag is not set; this might result + * in partially hinted or distorted glyphs in case a glyph's bytecode + * is buggy. + * + * FT_LOAD_NO_RECURSE :: + * Don't load composite glyphs recursively. Instead, the font driver + * fills the `num_subglyph` and `subglyphs` values of the glyph slot; + * it also sets `glyph->format` to @FT_GLYPH_FORMAT_COMPOSITE. The + * description of subglyphs can then be accessed with + * @FT_Get_SubGlyph_Info. + * + * Don't use this flag for retrieving metrics information since some + * font drivers only return rudimentary data. + * + * This flag implies @FT_LOAD_NO_SCALE and @FT_LOAD_IGNORE_TRANSFORM. + * + * FT_LOAD_IGNORE_TRANSFORM :: + * Ignore the transform matrix set by @FT_Set_Transform. + * + * FT_LOAD_MONOCHROME :: + * This flag is used with @FT_LOAD_RENDER to indicate that you want to + * render an outline glyph to a 1-bit monochrome bitmap glyph, with + * 8~pixels packed into each byte of the bitmap data. + * + * Note that this has no effect on the hinting algorithm used. You + * should rather use @FT_LOAD_TARGET_MONO so that the + * monochrome-optimized hinting algorithm is used. + * + * FT_LOAD_LINEAR_DESIGN :: + * Keep `linearHoriAdvance` and `linearVertAdvance` fields of + * @FT_GlyphSlotRec in font units. See @FT_GlyphSlotRec for details. + * + * FT_LOAD_NO_AUTOHINT :: + * Disable the auto-hinter. See also the note below. + * + * FT_LOAD_COLOR :: + * Load colored glyphs. FreeType searches in the following order; + * there are slight differences depending on the font format. + * + * [Since 2.5] Load embedded color bitmap images (provided + * @FT_LOAD_NO_BITMAP is not set). The resulting color bitmaps, if + * available, have the @FT_PIXEL_MODE_BGRA format, with pre-multiplied + * color channels. If the flag is not set and color bitmaps are found, + * they are converted to 256-level gray bitmaps, using the + * @FT_PIXEL_MODE_GRAY format. + * + * [Since 2.12] If the glyph index maps to an entry in the face's + * 'SVG~' table, load the associated SVG document from this table and + * set the `format` field of @FT_GlyphSlotRec to @FT_GLYPH_FORMAT_SVG + * ([since 2.13.1] provided @FT_LOAD_NO_SVG is not set). Note that + * FreeType itself can't render SVG documents; however, the library + * provides hooks to seamlessly integrate an external renderer. See + * sections @ot_svg_driver and @svg_fonts for more. + * + * [Since 2.10, experimental] If the glyph index maps to an entry in + * the face's 'COLR' table with a 'CPAL' palette table (as defined in + * the OpenType specification), make @FT_Render_Glyph provide a default + * blending of the color glyph layers associated with the glyph index, + * using the same bitmap format as embedded color bitmap images. This + * is mainly for convenience and works only for glyphs in 'COLR' v0 + * tables (or glyphs in 'COLR' v1 tables that exclusively use v0 + * features). For full control of color layers use + * @FT_Get_Color_Glyph_Layer and FreeType's color functions like + * @FT_Palette_Select instead of setting @FT_LOAD_COLOR for rendering + * so that the client application can handle blending by itself. + * + * FT_LOAD_NO_SVG :: + * [Since 2.13.1] Ignore SVG glyph data when loading. + * + * FT_LOAD_COMPUTE_METRICS :: + * [Since 2.6.1] Compute glyph metrics from the glyph data, without the + * use of bundled metrics tables (for example, the 'hdmx' table in + * TrueType fonts). This flag is mainly used by font validating or + * font editing applications, which need to ignore, verify, or edit + * those tables. + * + * Currently, this flag is only implemented for TrueType fonts. + * + * FT_LOAD_BITMAP_METRICS_ONLY :: + * [Since 2.7.1] Request loading of the metrics and bitmap image + * information of a (possibly embedded) bitmap glyph without allocating + * or copying the bitmap image data itself. No effect if the target + * glyph is not a bitmap image. + * + * This flag unsets @FT_LOAD_RENDER. + * + * FT_LOAD_CROP_BITMAP :: + * Ignored. Deprecated. + * + * FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH :: + * Ignored. Deprecated. + * + * @note: + * By default, hinting is enabled and the font's native hinter (see + * @FT_FACE_FLAG_HINTER) is preferred over the auto-hinter. You can + * disable hinting by setting @FT_LOAD_NO_HINTING or change the + * precedence by setting @FT_LOAD_FORCE_AUTOHINT. You can also set + * @FT_LOAD_NO_AUTOHINT in case you don't want the auto-hinter to be used + * at all. + * + * See the description of @FT_FACE_FLAG_TRICKY for a special exception + * (affecting only a handful of Asian fonts). + * + * Besides deciding which hinter to use, you can also decide which + * hinting algorithm to use. See @FT_LOAD_TARGET_XXX for details. + * + * Note that the auto-hinter needs a valid Unicode cmap (either a native + * one or synthesized by FreeType) for producing correct results. If a + * font provides an incorrect mapping (for example, assigning the + * character code U+005A, LATIN CAPITAL LETTER~Z, to a glyph depicting a + * mathematical integral sign), the auto-hinter might produce useless + * results. + * + */ +#define FT_LOAD_DEFAULT 0x0 +#define FT_LOAD_NO_SCALE ( 1L << 0 ) +#define FT_LOAD_NO_HINTING ( 1L << 1 ) +#define FT_LOAD_RENDER ( 1L << 2 ) +#define FT_LOAD_NO_BITMAP ( 1L << 3 ) +#define FT_LOAD_VERTICAL_LAYOUT ( 1L << 4 ) +#define FT_LOAD_FORCE_AUTOHINT ( 1L << 5 ) +#define FT_LOAD_CROP_BITMAP ( 1L << 6 ) +#define FT_LOAD_PEDANTIC ( 1L << 7 ) +#define FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH ( 1L << 9 ) +#define FT_LOAD_NO_RECURSE ( 1L << 10 ) +#define FT_LOAD_IGNORE_TRANSFORM ( 1L << 11 ) +#define FT_LOAD_MONOCHROME ( 1L << 12 ) +#define FT_LOAD_LINEAR_DESIGN ( 1L << 13 ) +#define FT_LOAD_SBITS_ONLY ( 1L << 14 ) +#define FT_LOAD_NO_AUTOHINT ( 1L << 15 ) + /* Bits 16-19 are used by `FT_LOAD_TARGET_` */ +#define FT_LOAD_COLOR ( 1L << 20 ) +#define FT_LOAD_COMPUTE_METRICS ( 1L << 21 ) +#define FT_LOAD_BITMAP_METRICS_ONLY ( 1L << 22 ) +#define FT_LOAD_NO_SVG ( 1L << 24 ) + + /* */ + + /* used internally only by certain font drivers */ +#define FT_LOAD_ADVANCE_ONLY ( 1L << 8 ) +#define FT_LOAD_SVG_ONLY ( 1L << 23 ) + + + /************************************************************************** + * + * @enum: + * FT_LOAD_TARGET_XXX + * + * @description: + * A list of values to select a specific hinting algorithm for the + * hinter. You should OR one of these values to your `load_flags` when + * calling @FT_Load_Glyph. + * + * Note that a font's native hinters may ignore the hinting algorithm you + * have specified (e.g., the TrueType bytecode interpreter). You can set + * @FT_LOAD_FORCE_AUTOHINT to ensure that the auto-hinter is used. + * + * @values: + * FT_LOAD_TARGET_NORMAL :: + * The default hinting algorithm, optimized for standard gray-level + * rendering. For monochrome output, use @FT_LOAD_TARGET_MONO instead. + * + * FT_LOAD_TARGET_LIGHT :: + * A lighter hinting algorithm for gray-level modes. Many generated + * glyphs are fuzzier but better resemble their original shape. This + * is achieved by snapping glyphs to the pixel grid only vertically + * (Y-axis), as is done by FreeType's new CFF engine or Microsoft's + * ClearType font renderer. This preserves inter-glyph spacing in + * horizontal text. The snapping is done either by the native font + * driver, if the driver itself and the font support it, or by the + * auto-hinter. + * + * Advance widths are rounded to integer values; however, using the + * `lsb_delta` and `rsb_delta` fields of @FT_GlyphSlotRec, it is + * possible to get fractional advance widths for subpixel positioning + * (which is recommended to use). + * + * If configuration option `AF_CONFIG_OPTION_TT_SIZE_METRICS` is + * active, TrueType-like metrics are used to make this mode behave + * similarly as in unpatched FreeType versions between 2.4.6 and 2.7.1 + * (inclusive). + * + * FT_LOAD_TARGET_MONO :: + * Strong hinting algorithm that should only be used for monochrome + * output. The result is probably unpleasant if the glyph is rendered + * in non-monochrome modes. + * + * Note that for outline fonts only the TrueType font driver has proper + * monochrome hinting support, provided the TTFs contain hints for B/W + * rendering (which most fonts no longer provide). If these conditions + * are not met it is very likely that you get ugly results at smaller + * sizes. + * + * FT_LOAD_TARGET_LCD :: + * A variant of @FT_LOAD_TARGET_LIGHT optimized for horizontally + * decimated LCD displays. + * + * FT_LOAD_TARGET_LCD_V :: + * A variant of @FT_LOAD_TARGET_NORMAL optimized for vertically + * decimated LCD displays. + * + * @note: + * You should use only _one_ of the `FT_LOAD_TARGET_XXX` values in your + * `load_flags`. They can't be ORed. + * + * If @FT_LOAD_RENDER is also set, the glyph is rendered in the + * corresponding mode (i.e., the mode that matches the used algorithm + * best). An exception is `FT_LOAD_TARGET_MONO` since it implies + * @FT_LOAD_MONOCHROME. + * + * You can use a hinting algorithm that doesn't correspond to the same + * rendering mode. As an example, it is possible to use the 'light' + * hinting algorithm and have the results rendered in horizontal LCD + * pixel mode, with code like + * + * ``` + * FT_Load_Glyph( face, glyph_index, + * load_flags | FT_LOAD_TARGET_LIGHT ); + * + * FT_Render_Glyph( face->glyph, FT_RENDER_MODE_LCD ); + * ``` + * + * In general, you should stick with one rendering mode. For example, + * switching between @FT_LOAD_TARGET_NORMAL and @FT_LOAD_TARGET_MONO + * enforces a lot of recomputation for TrueType fonts, which is slow. + * Another reason is caching: Selecting a different mode usually causes + * changes in both the outlines and the rasterized bitmaps; it is thus + * necessary to empty the cache after a mode switch to avoid false hits. + * + */ +#define FT_LOAD_TARGET_( x ) ( FT_STATIC_CAST( FT_Int32, (x) & 15 ) << 16 ) + +#define FT_LOAD_TARGET_NORMAL FT_LOAD_TARGET_( FT_RENDER_MODE_NORMAL ) +#define FT_LOAD_TARGET_LIGHT FT_LOAD_TARGET_( FT_RENDER_MODE_LIGHT ) +#define FT_LOAD_TARGET_MONO FT_LOAD_TARGET_( FT_RENDER_MODE_MONO ) +#define FT_LOAD_TARGET_LCD FT_LOAD_TARGET_( FT_RENDER_MODE_LCD ) +#define FT_LOAD_TARGET_LCD_V FT_LOAD_TARGET_( FT_RENDER_MODE_LCD_V ) + + + /************************************************************************** + * + * @macro: + * FT_LOAD_TARGET_MODE + * + * @description: + * Return the @FT_Render_Mode corresponding to a given + * @FT_LOAD_TARGET_XXX value. + * + */ +#define FT_LOAD_TARGET_MODE( x ) \ + FT_STATIC_CAST( FT_Render_Mode, ( (x) >> 16 ) & 15 ) + + + /************************************************************************** + * + * @section: + * sizing_and_scaling + * + */ + + /************************************************************************** + * + * @function: + * FT_Set_Transform + * + * @description: + * Set the transformation that is applied to glyph images when they are + * loaded into a glyph slot through @FT_Load_Glyph. + * + * @inout: + * face :: + * A handle to the source face object. + * + * @input: + * matrix :: + * A pointer to the transformation's 2x2 matrix. Use `NULL` for the + * identity matrix. + * delta :: + * A pointer to the translation vector. Use `NULL` for the null + * vector. + * + * @note: + * This function is provided as a convenience, but keep in mind that + * @FT_Matrix coefficients are only 16.16 fixed-point values, which can + * limit the accuracy of the results. Using floating-point computations + * to perform the transform directly in client code instead will always + * yield better numbers. + * + * The transformation is only applied to scalable image formats after the + * glyph has been loaded. It means that hinting is unaltered by the + * transformation and is performed on the character size given in the + * last call to @FT_Set_Char_Size or @FT_Set_Pixel_Sizes. + * + * Note that this also transforms the `face.glyph.advance` field, but + * **not** the values in `face.glyph.metrics`. + */ + FT_EXPORT( void ) + FT_Set_Transform( FT_Face face, + FT_Matrix* matrix, + FT_Vector* delta ); + + + /************************************************************************** + * + * @function: + * FT_Get_Transform + * + * @description: + * Return the transformation that is applied to glyph images when they + * are loaded into a glyph slot through @FT_Load_Glyph. See + * @FT_Set_Transform for more details. + * + * @input: + * face :: + * A handle to the source face object. + * + * @output: + * matrix :: + * A pointer to a transformation's 2x2 matrix. Set this to NULL if you + * are not interested in the value. + * + * delta :: + * A pointer to a translation vector. Set this to NULL if you are not + * interested in the value. + * + * @since: + * 2.11 + * + */ + FT_EXPORT( void ) + FT_Get_Transform( FT_Face face, + FT_Matrix* matrix, + FT_Vector* delta ); + + + /************************************************************************** + * + * @section: + * glyph_retrieval + * + */ + + /************************************************************************** + * + * @enum: + * FT_Render_Mode + * + * @description: + * Render modes supported by FreeType~2. Each mode corresponds to a + * specific type of scanline conversion performed on the outline. + * + * For bitmap fonts and embedded bitmaps the `bitmap->pixel_mode` field + * in the @FT_GlyphSlotRec structure gives the format of the returned + * bitmap. + * + * All modes except @FT_RENDER_MODE_MONO use 256 levels of opacity, + * indicating pixel coverage. Use linear alpha blending and gamma + * correction to correctly render non-monochrome glyph bitmaps onto a + * surface; see @FT_Render_Glyph. + * + * The @FT_RENDER_MODE_SDF is a special render mode that uses up to 256 + * distance values, indicating the signed distance from the grid position + * to the nearest outline. + * + * @values: + * FT_RENDER_MODE_NORMAL :: + * Default render mode; it corresponds to 8-bit anti-aliased bitmaps. + * + * FT_RENDER_MODE_LIGHT :: + * This is equivalent to @FT_RENDER_MODE_NORMAL. It is only defined as + * a separate value because render modes are also used indirectly to + * define hinting algorithm selectors. See @FT_LOAD_TARGET_XXX for + * details. + * + * FT_RENDER_MODE_MONO :: + * This mode corresponds to 1-bit bitmaps (with 2~levels of opacity). + * + * FT_RENDER_MODE_LCD :: + * This mode corresponds to horizontal RGB and BGR subpixel displays + * like LCD screens. It produces 8-bit bitmaps that are 3~times the + * width of the original glyph outline in pixels, and which use the + * @FT_PIXEL_MODE_LCD mode. + * + * FT_RENDER_MODE_LCD_V :: + * This mode corresponds to vertical RGB and BGR subpixel displays + * (like PDA screens, rotated LCD displays, etc.). It produces 8-bit + * bitmaps that are 3~times the height of the original glyph outline in + * pixels and use the @FT_PIXEL_MODE_LCD_V mode. + * + * FT_RENDER_MODE_SDF :: + * This mode corresponds to 8-bit, single-channel signed distance field + * (SDF) bitmaps. Each pixel in the SDF grid is the value from the + * pixel's position to the nearest glyph's outline. The distances are + * calculated from the center of the pixel and are positive if they are + * filled by the outline (i.e., inside the outline) and negative + * otherwise. Check the note below on how to convert the output values + * to usable data. + * + * @note: + * The selected render mode only affects vector glyphs of a font. + * Embedded bitmaps often have a different pixel mode like + * @FT_PIXEL_MODE_MONO. You can use @FT_Bitmap_Convert to transform them + * into 8-bit pixmaps. + * + * For @FT_RENDER_MODE_SDF the output bitmap buffer contains normalized + * distances that are packed into unsigned 8-bit values. To get pixel + * values in floating point representation use the following pseudo-C + * code for the conversion. + * + * ``` + * // Load glyph and render using FT_RENDER_MODE_SDF, + * // then use the output buffer as follows. + * + * ... + * FT_Byte buffer = glyph->bitmap->buffer; + * + * + * for pixel in buffer + * { + * // `sd` is the signed distance and `spread` is the current spread; + * // the default spread is 2 and can be changed. + * + * float sd = (float)pixel - 128.0f; + * + * + * // Convert to pixel values. + * sd = ( sd / 128.0f ) * spread; + * + * // Store `sd` in a buffer or use as required. + * } + * + * ``` + * + * FreeType has two rasterizers for generating SDF, namely: + * + * 1. `sdf` for generating SDF directly from glyph's outline, and + * + * 2. `bsdf` for generating SDF from rasterized bitmaps. + * + * Depending on the glyph type (i.e., outline or bitmap), one of the two + * rasterizers is chosen at runtime and used for generating SDFs. To + * force the use of `bsdf` you should render the glyph with any of the + * FreeType's other rendering modes (e.g., `FT_RENDER_MODE_NORMAL`) and + * then re-render with `FT_RENDER_MODE_SDF`. + * + * There are some issues with stability and possible failures of the SDF + * renderers (specifically `sdf`). + * + * 1. The `sdf` rasterizer is sensitive to really small features (e.g., + * sharp turns that are less than 1~pixel) and imperfections in the + * glyph's outline, causing artifacts in the final output. + * + * 2. The `sdf` rasterizer has limited support for handling intersecting + * contours and *cannot* handle self-intersecting contours whatsoever. + * Self-intersection happens when a single connected contour + * intersects itself at some point; having these in your font + * definitely poses a problem to the rasterizer and cause artifacts, + * too. + * + * 3. Generating SDF for really small glyphs may result in undesirable + * output; the pixel grid (which stores distance information) becomes + * too coarse. + * + * 4. Since the output buffer is normalized, precision at smaller spreads + * is greater than precision at larger spread values because the + * output range of [0..255] gets mapped to a smaller SDF range. A + * spread of~2 should be sufficient in most cases. + * + * Points (1) and (2) can be avoided by using the `bsdf` rasterizer, + * which is more stable than the `sdf` rasterizer in general. + * + */ + typedef enum FT_Render_Mode_ + { + FT_RENDER_MODE_NORMAL = 0, + FT_RENDER_MODE_LIGHT, + FT_RENDER_MODE_MONO, + FT_RENDER_MODE_LCD, + FT_RENDER_MODE_LCD_V, + FT_RENDER_MODE_SDF, + + FT_RENDER_MODE_MAX + + } FT_Render_Mode; + + + /* these constants are deprecated; use the corresponding */ + /* `FT_Render_Mode` values instead */ +#define ft_render_mode_normal FT_RENDER_MODE_NORMAL +#define ft_render_mode_mono FT_RENDER_MODE_MONO + + + /************************************************************************** + * + * @function: + * FT_Render_Glyph + * + * @description: + * Convert a given glyph image to a bitmap. It does so by inspecting the + * glyph image format, finding the relevant renderer, and invoking it. + * + * @inout: + * slot :: + * A handle to the glyph slot containing the image to convert. + * + * @input: + * render_mode :: + * The render mode used to render the glyph image into a bitmap. See + * @FT_Render_Mode for a list of possible values. + * + * If @FT_RENDER_MODE_NORMAL is used, a previous call of @FT_Load_Glyph + * with flag @FT_LOAD_COLOR makes `FT_Render_Glyph` provide a default + * blending of colored glyph layers associated with the current glyph + * slot (provided the font contains such layers) instead of rendering + * the glyph slot's outline. This is an experimental feature; see + * @FT_LOAD_COLOR for more information. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * When FreeType outputs a bitmap of a glyph, it really outputs an alpha + * coverage map. If a pixel is completely covered by a filled-in + * outline, the bitmap contains 0xFF at that pixel, meaning that + * 0xFF/0xFF fraction of that pixel is covered, meaning the pixel is 100% + * black (or 0% bright). If a pixel is only 50% covered (value 0x80), + * the pixel is made 50% black (50% bright or a middle shade of grey). + * 0% covered means 0% black (100% bright or white). + * + * On high-DPI screens like on smartphones and tablets, the pixels are so + * small that their chance of being completely covered and therefore + * completely black are fairly good. On the low-DPI screens, however, + * the situation is different. The pixels are too large for most of the + * details of a glyph and shades of gray are the norm rather than the + * exception. + * + * This is relevant because all our screens have a second problem: they + * are not linear. 1~+~1 is not~2. Twice the value does not result in + * twice the brightness. When a pixel is only 50% covered, the coverage + * map says 50% black, and this translates to a pixel value of 128 when + * you use 8~bits per channel (0-255). However, this does not translate + * to 50% brightness for that pixel on our sRGB and gamma~2.2 screens. + * Due to their non-linearity, they dwell longer in the darks and only a + * pixel value of about 186 results in 50% brightness -- 128 ends up too + * dark on both bright and dark backgrounds. The net result is that dark + * text looks burnt-out, pixely and blotchy on bright background, bright + * text too frail on dark backgrounds, and colored text on colored + * background (for example, red on green) seems to have dark halos or + * 'dirt' around it. The situation is especially ugly for diagonal stems + * like in 'w' glyph shapes where the quality of FreeType's anti-aliasing + * depends on the correct display of grays. On high-DPI screens where + * smaller, fully black pixels reign supreme, this doesn't matter, but on + * our low-DPI screens with all the gray shades, it does. 0% and 100% + * brightness are the same things in linear and non-linear space, just + * all the shades in-between aren't. + * + * The blending function for placing text over a background is + * + * ``` + * dst = alpha * src + (1 - alpha) * dst , + * ``` + * + * which is known as the OVER operator. + * + * To correctly composite an anti-aliased pixel of a glyph onto a + * surface, + * + * 1. take the foreground and background colors (e.g., in sRGB space) + * and apply gamma to get them in a linear space, + * + * 2. use OVER to blend the two linear colors using the glyph pixel + * as the alpha value (remember, the glyph bitmap is an alpha coverage + * bitmap), and + * + * 3. apply inverse gamma to the blended pixel and write it back to + * the image. + * + * Internal testing at Adobe found that a target inverse gamma of~1.8 for + * step~3 gives good results across a wide range of displays with an sRGB + * gamma curve or a similar one. + * + * This process can cost performance. There is an approximation that + * does not need to know about the background color; see + * https://bel.fi/alankila/lcd/ and + * https://bel.fi/alankila/lcd/alpcor.html for details. + * + * **ATTENTION**: Linear blending is even more important when dealing + * with subpixel-rendered glyphs to prevent color-fringing! A + * subpixel-rendered glyph must first be filtered with a filter that + * gives equal weight to the three color primaries and does not exceed a + * sum of 0x100, see section @lcd_rendering. Then the only difference to + * gray linear blending is that subpixel-rendered linear blending is done + * 3~times per pixel: red foreground subpixel to red background subpixel + * and so on for green and blue. + */ + FT_EXPORT( FT_Error ) + FT_Render_Glyph( FT_GlyphSlot slot, + FT_Render_Mode render_mode ); + + + /************************************************************************** + * + * @enum: + * FT_Kerning_Mode + * + * @description: + * An enumeration to specify the format of kerning values returned by + * @FT_Get_Kerning. + * + * @values: + * FT_KERNING_DEFAULT :: + * Return grid-fitted kerning distances in 26.6 fractional pixels. + * + * FT_KERNING_UNFITTED :: + * Return un-grid-fitted kerning distances in 26.6 fractional pixels. + * + * FT_KERNING_UNSCALED :: + * Return the kerning vector in original font units. + * + * @note: + * `FT_KERNING_DEFAULT` returns full pixel values; it also makes FreeType + * heuristically scale down kerning distances at small ppem values so + * that they don't become too big. + * + * Both `FT_KERNING_DEFAULT` and `FT_KERNING_UNFITTED` use the current + * horizontal scaling factor (as set e.g. with @FT_Set_Char_Size) to + * convert font units to pixels. + */ + typedef enum FT_Kerning_Mode_ + { + FT_KERNING_DEFAULT = 0, + FT_KERNING_UNFITTED, + FT_KERNING_UNSCALED + + } FT_Kerning_Mode; + + + /* these constants are deprecated; use the corresponding */ + /* `FT_Kerning_Mode` values instead */ +#define ft_kerning_default FT_KERNING_DEFAULT +#define ft_kerning_unfitted FT_KERNING_UNFITTED +#define ft_kerning_unscaled FT_KERNING_UNSCALED + + + /************************************************************************** + * + * @function: + * FT_Get_Kerning + * + * @description: + * Return the kerning vector between two glyphs of the same face. + * + * @input: + * face :: + * A handle to a source face object. + * + * left_glyph :: + * The index of the left glyph in the kern pair. + * + * right_glyph :: + * The index of the right glyph in the kern pair. + * + * kern_mode :: + * See @FT_Kerning_Mode for more information. Determines the scale and + * dimension of the returned kerning vector. + * + * @output: + * akerning :: + * The kerning vector. This is either in font units, fractional pixels + * (26.6 format), or pixels for scalable formats, and in pixels for + * fixed-sizes formats. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Only horizontal layouts (left-to-right & right-to-left) are supported + * by this method. Other layouts, or more sophisticated kernings, are + * out of the scope of this API function -- they can be implemented + * through format-specific interfaces. + * + * Kerning for OpenType fonts implemented in a 'GPOS' table is not + * supported; use @FT_HAS_KERNING to find out whether a font has data + * that can be extracted with `FT_Get_Kerning`. + */ + FT_EXPORT( FT_Error ) + FT_Get_Kerning( FT_Face face, + FT_UInt left_glyph, + FT_UInt right_glyph, + FT_UInt kern_mode, + FT_Vector *akerning ); + + + /************************************************************************** + * + * @function: + * FT_Get_Track_Kerning + * + * @description: + * Return the track kerning for a given face object at a given size. + * + * @input: + * face :: + * A handle to a source face object. + * + * point_size :: + * The point size in 16.16 fractional points. + * + * degree :: + * The degree of tightness. Increasingly negative values represent + * tighter track kerning, while increasingly positive values represent + * looser track kerning. Value zero means no track kerning. + * + * @output: + * akerning :: + * The kerning in 16.16 fractional points, to be uniformly applied + * between all glyphs. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Currently, only the Type~1 font driver supports track kerning, using + * data from AFM files (if attached with @FT_Attach_File or + * @FT_Attach_Stream). + * + * Only very few AFM files come with track kerning data; please refer to + * Adobe's AFM specification for more details. + */ + FT_EXPORT( FT_Error ) + FT_Get_Track_Kerning( FT_Face face, + FT_Fixed point_size, + FT_Int degree, + FT_Fixed* akerning ); + + + /************************************************************************** + * + * @section: + * character_mapping + * + */ + + /************************************************************************** + * + * @function: + * FT_Select_Charmap + * + * @description: + * Select a given charmap by its encoding tag (as listed in + * `freetype.h`). + * + * @inout: + * face :: + * A handle to the source face object. + * + * @input: + * encoding :: + * A handle to the selected encoding. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function returns an error if no charmap in the face corresponds + * to the encoding queried here. + * + * Because many fonts contain more than a single cmap for Unicode + * encoding, this function has some special code to select the one that + * covers Unicode best ('best' in the sense that a UCS-4 cmap is + * preferred to a UCS-2 cmap). It is thus preferable to @FT_Set_Charmap + * in this case. + */ + FT_EXPORT( FT_Error ) + FT_Select_Charmap( FT_Face face, + FT_Encoding encoding ); + + + /************************************************************************** + * + * @function: + * FT_Set_Charmap + * + * @description: + * Select a given charmap for character code to glyph index mapping. + * + * @inout: + * face :: + * A handle to the source face object. + * + * @input: + * charmap :: + * A handle to the selected charmap. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function returns an error if the charmap is not part of the face + * (i.e., if it is not listed in the `face->charmaps` table). + * + * It also fails if an OpenType type~14 charmap is selected (which + * doesn't map character codes to glyph indices at all). + */ + FT_EXPORT( FT_Error ) + FT_Set_Charmap( FT_Face face, + FT_CharMap charmap ); + + + /************************************************************************** + * + * @function: + * FT_Get_Charmap_Index + * + * @description: + * Retrieve index of a given charmap. + * + * @input: + * charmap :: + * A handle to a charmap. + * + * @return: + * The index into the array of character maps within the face to which + * `charmap` belongs. If an error occurs, -1 is returned. + * + */ + FT_EXPORT( FT_Int ) + FT_Get_Charmap_Index( FT_CharMap charmap ); + + + /************************************************************************** + * + * @function: + * FT_Get_Char_Index + * + * @description: + * Return the glyph index of a given character code. This function uses + * the currently selected charmap to do the mapping. + * + * @input: + * face :: + * A handle to the source face object. + * + * charcode :: + * The character code. + * + * @return: + * The glyph index. 0~means 'undefined character code'. + * + * @note: + * If you use FreeType to manipulate the contents of font files directly, + * be aware that the glyph index returned by this function doesn't always + * correspond to the internal indices used within the file. This is done + * to ensure that value~0 always corresponds to the 'missing glyph'. If + * the first glyph is not named '.notdef', then for Type~1 and Type~42 + * fonts, '.notdef' will be moved into the glyph ID~0 position, and + * whatever was there will be moved to the position '.notdef' had. For + * Type~1 fonts, if there is no '.notdef' glyph at all, then one will be + * created at index~0 and whatever was there will be moved to the last + * index -- Type~42 fonts are considered invalid under this condition. + */ + FT_EXPORT( FT_UInt ) + FT_Get_Char_Index( FT_Face face, + FT_ULong charcode ); + + + /************************************************************************** + * + * @function: + * FT_Get_First_Char + * + * @description: + * Return the first character code in the current charmap of a given + * face, together with its corresponding glyph index. + * + * @input: + * face :: + * A handle to the source face object. + * + * @output: + * agindex :: + * Glyph index of first character code. 0~if charmap is empty. + * + * @return: + * The charmap's first character code. + * + * @note: + * You should use this function together with @FT_Get_Next_Char to parse + * all character codes available in a given charmap. The code should + * look like this: + * + * ``` + * FT_ULong charcode; + * FT_UInt gindex; + * + * + * charcode = FT_Get_First_Char( face, &gindex ); + * while ( gindex != 0 ) + * { + * ... do something with (charcode,gindex) pair ... + * + * charcode = FT_Get_Next_Char( face, charcode, &gindex ); + * } + * ``` + * + * Be aware that character codes can have values up to 0xFFFFFFFF; this + * might happen for non-Unicode or malformed cmaps. However, even with + * regular Unicode encoding, so-called 'last resort fonts' (using SFNT + * cmap format 13, see function @FT_Get_CMap_Format) normally have + * entries for all Unicode characters up to 0x1FFFFF, which can cause *a + * lot* of iterations. + * + * Note that `*agindex` is set to~0 if the charmap is empty. The result + * itself can be~0 in two cases: if the charmap is empty or if the + * value~0 is the first valid character code. + */ + FT_EXPORT( FT_ULong ) + FT_Get_First_Char( FT_Face face, + FT_UInt *agindex ); + + + /************************************************************************** + * + * @function: + * FT_Get_Next_Char + * + * @description: + * Return the next character code in the current charmap of a given face + * following the value `char_code`, as well as the corresponding glyph + * index. + * + * @input: + * face :: + * A handle to the source face object. + * + * char_code :: + * The starting character code. + * + * @output: + * agindex :: + * Glyph index of next character code. 0~if charmap is empty. + * + * @return: + * The charmap's next character code. + * + * @note: + * You should use this function with @FT_Get_First_Char to walk over all + * character codes available in a given charmap. See the note for that + * function for a simple code example. + * + * Note that `*agindex` is set to~0 when there are no more codes in the + * charmap. + */ + FT_EXPORT( FT_ULong ) + FT_Get_Next_Char( FT_Face face, + FT_ULong char_code, + FT_UInt *agindex ); + + + /************************************************************************** + * + * @section: + * face_creation + * + */ + + /************************************************************************** + * + * @function: + * FT_Face_Properties + * + * @description: + * Set or override certain (library or module-wide) properties on a + * face-by-face basis. Useful for finer-grained control and avoiding + * locks on shared structures (threads can modify their own faces as they + * see fit). + * + * Contrary to @FT_Property_Set, this function uses @FT_Parameter so that + * you can pass multiple properties to the target face in one call. Note + * that only a subset of the available properties can be controlled. + * + * * @FT_PARAM_TAG_STEM_DARKENING (stem darkening, corresponding to the + * property `no-stem-darkening` provided by the 'autofit', 'cff', + * 'type1', and 't1cid' modules; see @no-stem-darkening). + * + * * @FT_PARAM_TAG_LCD_FILTER_WEIGHTS (LCD filter weights, corresponding + * to function @FT_Library_SetLcdFilterWeights). + * + * * @FT_PARAM_TAG_RANDOM_SEED (seed value for the CFF, Type~1, and CID + * 'random' operator, corresponding to the `random-seed` property + * provided by the 'cff', 'type1', and 't1cid' modules; see + * @random-seed). + * + * Pass `NULL` as `data` in @FT_Parameter for a given tag to reset the + * option and use the library or module default again. + * + * @input: + * face :: + * A handle to the source face object. + * + * num_properties :: + * The number of properties that follow. + * + * properties :: + * A handle to an @FT_Parameter array with `num_properties` elements. + * + * @return: + * FreeType error code. 0~means success. + * + * @example: + * Here is an example that sets three properties. You must define + * `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` to make the LCD filter examples + * work. + * + * ``` + * FT_Parameter property1; + * FT_Bool darken_stems = 1; + * + * FT_Parameter property2; + * FT_LcdFiveTapFilter custom_weight = + * { 0x11, 0x44, 0x56, 0x44, 0x11 }; + * + * FT_Parameter property3; + * FT_Int32 random_seed = 314159265; + * + * FT_Parameter properties[3] = { property1, + * property2, + * property3 }; + * + * + * property1.tag = FT_PARAM_TAG_STEM_DARKENING; + * property1.data = &darken_stems; + * + * property2.tag = FT_PARAM_TAG_LCD_FILTER_WEIGHTS; + * property2.data = custom_weight; + * + * property3.tag = FT_PARAM_TAG_RANDOM_SEED; + * property3.data = &random_seed; + * + * FT_Face_Properties( face, 3, properties ); + * ``` + * + * The next example resets a single property to its default value. + * + * ``` + * FT_Parameter property; + * + * + * property.tag = FT_PARAM_TAG_LCD_FILTER_WEIGHTS; + * property.data = NULL; + * + * FT_Face_Properties( face, 1, &property ); + * ``` + * + * @since: + * 2.8 + * + */ + FT_EXPORT( FT_Error ) + FT_Face_Properties( FT_Face face, + FT_UInt num_properties, + FT_Parameter* properties ); + + + /************************************************************************** + * + * @section: + * information_retrieval + * + */ + + /************************************************************************** + * + * @function: + * FT_Get_Name_Index + * + * @description: + * Return the glyph index of a given glyph name. This only works + * for those faces where @FT_HAS_GLYPH_NAMES returns true. + * + * @input: + * face :: + * A handle to the source face object. + * + * glyph_name :: + * The glyph name. + * + * @return: + * The glyph index. 0~means 'undefined character code'. + * + * @note: + * Acceptable glyph names might come from the [Adobe Glyph + * List](https://github.com/adobe-type-tools/agl-aglfn). See + * @FT_Get_Glyph_Name for the inverse functionality. + * + * This function has limited capabilities if the config macro + * `FT_CONFIG_OPTION_POSTSCRIPT_NAMES` is not defined in `ftoption.h`: + * It then works only for fonts that actually embed glyph names (which + * many recent OpenType fonts do not). + */ + FT_EXPORT( FT_UInt ) + FT_Get_Name_Index( FT_Face face, + const FT_String* glyph_name ); + + + /************************************************************************** + * + * @function: + * FT_Get_Glyph_Name + * + * @description: + * Retrieve the ASCII name of a given glyph in a face. This only works + * for those faces where @FT_HAS_GLYPH_NAMES returns true. + * + * @input: + * face :: + * A handle to a source face object. + * + * glyph_index :: + * The glyph index. + * + * buffer_max :: + * The maximum number of bytes available in the buffer. + * + * @output: + * buffer :: + * A pointer to a target buffer where the name is copied to. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * An error is returned if the face doesn't provide glyph names or if the + * glyph index is invalid. In all cases of failure, the first byte of + * `buffer` is set to~0 to indicate an empty name. + * + * The glyph name is truncated to fit within the buffer if it is too + * long. The returned string is always zero-terminated. + * + * Be aware that FreeType reorders glyph indices internally so that glyph + * index~0 always corresponds to the 'missing glyph' (called '.notdef'). + * + * This function has limited capabilities if the config macro + * `FT_CONFIG_OPTION_POSTSCRIPT_NAMES` is not defined in `ftoption.h`: + * It then works only for fonts that actually embed glyph names (which + * many recent OpenType fonts do not). + */ + FT_EXPORT( FT_Error ) + FT_Get_Glyph_Name( FT_Face face, + FT_UInt glyph_index, + FT_Pointer buffer, + FT_UInt buffer_max ); + + + /************************************************************************** + * + * @function: + * FT_Get_Postscript_Name + * + * @description: + * Retrieve the ASCII PostScript name of a given face, if available. + * This only works with PostScript, TrueType, and OpenType fonts. + * + * @input: + * face :: + * A handle to the source face object. + * + * @return: + * A pointer to the face's PostScript name. `NULL` if unavailable. + * + * @note: + * The returned pointer is owned by the face and is destroyed with it. + * + * For variation fonts, this string changes if you select a different + * instance, and you have to call `FT_Get_PostScript_Name` again to + * retrieve it. FreeType follows Adobe TechNote #5902, 'Generating + * PostScript Names for Fonts Using OpenType Font Variations'. + * + * https://download.macromedia.com/pub/developer/opentype/tech-notes/5902.AdobePSNameGeneration.html + * + * [Since 2.9] Special PostScript names for named instances are only + * returned if the named instance is set with @FT_Set_Named_Instance (and + * the font has corresponding entries in its 'fvar' table or is the + * default named instance). If @FT_IS_VARIATION returns true, the + * algorithmically derived PostScript name is provided, not looking up + * special entries for named instances. + */ + FT_EXPORT( const char* ) + FT_Get_Postscript_Name( FT_Face face ); + + + /************************************************************************** + * + * @enum: + * FT_SUBGLYPH_FLAG_XXX + * + * @description: + * A list of constants describing subglyphs. Please refer to the 'glyf' + * table description in the OpenType specification for the meaning of the + * various flags (which get synthesized for non-OpenType subglyphs). + * + * https://docs.microsoft.com/en-us/typography/opentype/spec/glyf#composite-glyph-description + * + * @values: + * FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS :: + * FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES :: + * FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID :: + * FT_SUBGLYPH_FLAG_SCALE :: + * FT_SUBGLYPH_FLAG_XY_SCALE :: + * FT_SUBGLYPH_FLAG_2X2 :: + * FT_SUBGLYPH_FLAG_USE_MY_METRICS :: + * + */ +#define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS 1 +#define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES 2 +#define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID 4 +#define FT_SUBGLYPH_FLAG_SCALE 8 +#define FT_SUBGLYPH_FLAG_XY_SCALE 0x40 +#define FT_SUBGLYPH_FLAG_2X2 0x80 +#define FT_SUBGLYPH_FLAG_USE_MY_METRICS 0x200 + + + /************************************************************************** + * + * @function: + * FT_Get_SubGlyph_Info + * + * @description: + * Retrieve a description of a given subglyph. Only use it if + * `glyph->format` is @FT_GLYPH_FORMAT_COMPOSITE; an error is returned + * otherwise. + * + * @input: + * glyph :: + * The source glyph slot. + * + * sub_index :: + * The index of the subglyph. Must be less than + * `glyph->num_subglyphs`. + * + * @output: + * p_index :: + * The glyph index of the subglyph. + * + * p_flags :: + * The subglyph flags, see @FT_SUBGLYPH_FLAG_XXX. + * + * p_arg1 :: + * The subglyph's first argument (if any). + * + * p_arg2 :: + * The subglyph's second argument (if any). + * + * p_transform :: + * The subglyph transformation (if any). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The values of `*p_arg1`, `*p_arg2`, and `*p_transform` must be + * interpreted depending on the flags returned in `*p_flags`. See the + * OpenType specification for details. + * + * https://docs.microsoft.com/en-us/typography/opentype/spec/glyf#composite-glyph-description + * + */ + FT_EXPORT( FT_Error ) + FT_Get_SubGlyph_Info( FT_GlyphSlot glyph, + FT_UInt sub_index, + FT_Int *p_index, + FT_UInt *p_flags, + FT_Int *p_arg1, + FT_Int *p_arg2, + FT_Matrix *p_transform ); + + + /************************************************************************** + * + * @enum: + * FT_FSTYPE_XXX + * + * @description: + * A list of bit flags used in the `fsType` field of the OS/2 table in a + * TrueType or OpenType font and the `FSType` entry in a PostScript font. + * These bit flags are returned by @FT_Get_FSType_Flags; they inform + * client applications of embedding and subsetting restrictions + * associated with a font. + * + * See + * https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/FontPolicies.pdf + * for more details. + * + * @values: + * FT_FSTYPE_INSTALLABLE_EMBEDDING :: + * Fonts with no fsType bit set may be embedded and permanently + * installed on the remote system by an application. + * + * FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING :: + * Fonts that have only this bit set must not be modified, embedded or + * exchanged in any manner without first obtaining permission of the + * font software copyright owner. + * + * FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING :: + * The font may be embedded and temporarily loaded on the remote + * system. Documents containing Preview & Print fonts must be opened + * 'read-only'; no edits can be applied to the document. + * + * FT_FSTYPE_EDITABLE_EMBEDDING :: + * The font may be embedded but must only be installed temporarily on + * other systems. In contrast to Preview & Print fonts, documents + * containing editable fonts may be opened for reading, editing is + * permitted, and changes may be saved. + * + * FT_FSTYPE_NO_SUBSETTING :: + * The font may not be subsetted prior to embedding. + * + * FT_FSTYPE_BITMAP_EMBEDDING_ONLY :: + * Only bitmaps contained in the font may be embedded; no outline data + * may be embedded. If there are no bitmaps available in the font, + * then the font is unembeddable. + * + * @note: + * The flags are ORed together, thus more than a single value can be + * returned. + * + * While the `fsType` flags can indicate that a font may be embedded, a + * license with the font vendor may be separately required to use the + * font in this way. + */ +#define FT_FSTYPE_INSTALLABLE_EMBEDDING 0x0000 +#define FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING 0x0002 +#define FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING 0x0004 +#define FT_FSTYPE_EDITABLE_EMBEDDING 0x0008 +#define FT_FSTYPE_NO_SUBSETTING 0x0100 +#define FT_FSTYPE_BITMAP_EMBEDDING_ONLY 0x0200 + + + /************************************************************************** + * + * @function: + * FT_Get_FSType_Flags + * + * @description: + * Return the `fsType` flags for a font. + * + * @input: + * face :: + * A handle to the source face object. + * + * @return: + * The `fsType` flags, see @FT_FSTYPE_XXX. + * + * @note: + * Use this function rather than directly reading the `fs_type` field in + * the @PS_FontInfoRec structure, which is only guaranteed to return the + * correct results for Type~1 fonts. + * + * @since: + * 2.3.8 + * + */ + FT_EXPORT( FT_UShort ) + FT_Get_FSType_Flags( FT_Face face ); + + + /************************************************************************** + * + * @section: + * glyph_variants + * + * @title: + * Unicode Variation Sequences + * + * @abstract: + * The FreeType~2 interface to Unicode Variation Sequences (UVS), using + * the SFNT cmap format~14. + * + * @description: + * Many characters, especially for CJK scripts, have variant forms. They + * are a sort of grey area somewhere between being totally irrelevant and + * semantically distinct; for this reason, the Unicode consortium decided + * to introduce Variation Sequences (VS), consisting of a Unicode base + * character and a variation selector instead of further extending the + * already huge number of characters. + * + * Unicode maintains two different sets, namely 'Standardized Variation + * Sequences' and registered 'Ideographic Variation Sequences' (IVS), + * collected in the 'Ideographic Variation Database' (IVD). + * + * https://unicode.org/Public/UCD/latest/ucd/StandardizedVariants.txt + * https://unicode.org/reports/tr37/ https://unicode.org/ivd/ + * + * To date (January 2017), the character with the most ideographic + * variations is U+9089, having 32 such IVS. + * + * Three Mongolian Variation Selectors have the values U+180B-U+180D; 256 + * generic Variation Selectors are encoded in the ranges U+FE00-U+FE0F + * and U+E0100-U+E01EF. IVS currently use Variation Selectors from the + * range U+E0100-U+E01EF only. + * + * A VS consists of the base character value followed by a single + * Variation Selector. For example, to get the first variation of + * U+9089, you have to write the character sequence `U+9089 U+E0100`. + * + * Adobe and MS decided to support both standardized and ideographic VS + * with a new cmap subtable (format~14). It is an odd subtable because + * it is not a mapping of input code points to glyphs, but contains lists + * of all variations supported by the font. + * + * A variation may be either 'default' or 'non-default' for a given font. + * A default variation is the one you will get for that code point if you + * look it up in the standard Unicode cmap. A non-default variation is a + * different glyph. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Face_GetCharVariantIndex + * + * @description: + * Return the glyph index of a given character code as modified by the + * variation selector. + * + * @input: + * face :: + * A handle to the source face object. + * + * charcode :: + * The character code point in Unicode. + * + * variantSelector :: + * The Unicode code point of the variation selector. + * + * @return: + * The glyph index. 0~means either 'undefined character code', or + * 'undefined selector code', or 'no variation selector cmap subtable', + * or 'current CharMap is not Unicode'. + * + * @note: + * If you use FreeType to manipulate the contents of font files directly, + * be aware that the glyph index returned by this function doesn't always + * correspond to the internal indices used within the file. This is done + * to ensure that value~0 always corresponds to the 'missing glyph'. + * + * This function is only meaningful if + * a) the font has a variation selector cmap sub table, and + * b) the current charmap has a Unicode encoding. + * + * @since: + * 2.3.6 + * + */ + FT_EXPORT( FT_UInt ) + FT_Face_GetCharVariantIndex( FT_Face face, + FT_ULong charcode, + FT_ULong variantSelector ); + + + /************************************************************************** + * + * @function: + * FT_Face_GetCharVariantIsDefault + * + * @description: + * Check whether this variation of this Unicode character is the one to + * be found in the charmap. + * + * @input: + * face :: + * A handle to the source face object. + * + * charcode :: + * The character codepoint in Unicode. + * + * variantSelector :: + * The Unicode codepoint of the variation selector. + * + * @return: + * 1~if found in the standard (Unicode) cmap, 0~if found in the variation + * selector cmap, or -1 if it is not a variation. + * + * @note: + * This function is only meaningful if the font has a variation selector + * cmap subtable. + * + * @since: + * 2.3.6 + * + */ + FT_EXPORT( FT_Int ) + FT_Face_GetCharVariantIsDefault( FT_Face face, + FT_ULong charcode, + FT_ULong variantSelector ); + + + /************************************************************************** + * + * @function: + * FT_Face_GetVariantSelectors + * + * @description: + * Return a zero-terminated list of Unicode variation selectors found in + * the font. + * + * @input: + * face :: + * A handle to the source face object. + * + * @return: + * A pointer to an array of selector code points, or `NULL` if there is + * no valid variation selector cmap subtable. + * + * @note: + * The last item in the array is~0; the array is owned by the @FT_Face + * object but can be overwritten or released on the next call to a + * FreeType function. + * + * @since: + * 2.3.6 + * + */ + FT_EXPORT( FT_UInt32* ) + FT_Face_GetVariantSelectors( FT_Face face ); + + + /************************************************************************** + * + * @function: + * FT_Face_GetVariantsOfChar + * + * @description: + * Return a zero-terminated list of Unicode variation selectors found for + * the specified character code. + * + * @input: + * face :: + * A handle to the source face object. + * + * charcode :: + * The character codepoint in Unicode. + * + * @return: + * A pointer to an array of variation selector code points that are + * active for the given character, or `NULL` if the corresponding list is + * empty. + * + * @note: + * The last item in the array is~0; the array is owned by the @FT_Face + * object but can be overwritten or released on the next call to a + * FreeType function. + * + * @since: + * 2.3.6 + * + */ + FT_EXPORT( FT_UInt32* ) + FT_Face_GetVariantsOfChar( FT_Face face, + FT_ULong charcode ); + + + /************************************************************************** + * + * @function: + * FT_Face_GetCharsOfVariant + * + * @description: + * Return a zero-terminated list of Unicode character codes found for the + * specified variation selector. + * + * @input: + * face :: + * A handle to the source face object. + * + * variantSelector :: + * The variation selector code point in Unicode. + * + * @return: + * A list of all the code points that are specified by this selector + * (both default and non-default codes are returned) or `NULL` if there + * is no valid cmap or the variation selector is invalid. + * + * @note: + * The last item in the array is~0; the array is owned by the @FT_Face + * object but can be overwritten or released on the next call to a + * FreeType function. + * + * @since: + * 2.3.6 + * + */ + FT_EXPORT( FT_UInt32* ) + FT_Face_GetCharsOfVariant( FT_Face face, + FT_ULong variantSelector ); + + + /************************************************************************** + * + * @section: + * computations + * + * @title: + * Computations + * + * @abstract: + * Crunching fixed numbers and vectors. + * + * @description: + * This section contains various functions used to perform computations + * on 16.16 fixed-point numbers or 2D vectors. FreeType does not use + * floating-point data types. + * + * **Attention**: Most arithmetic functions take `FT_Long` as arguments. + * For historical reasons, FreeType was designed under the assumption + * that `FT_Long` is a 32-bit integer; results can thus be undefined if + * the arguments don't fit into 32 bits. + * + * @order: + * FT_MulDiv + * FT_MulFix + * FT_DivFix + * FT_RoundFix + * FT_CeilFix + * FT_FloorFix + * FT_Vector_Transform + * FT_Matrix_Multiply + * FT_Matrix_Invert + * + */ + + + /************************************************************************** + * + * @function: + * FT_MulDiv + * + * @description: + * Compute `(a*b)/c` with maximum accuracy, using a 64-bit intermediate + * integer whenever necessary. + * + * This function isn't necessarily as fast as some processor-specific + * operations, but is at least completely portable. + * + * @input: + * a :: + * The first multiplier. + * + * b :: + * The second multiplier. + * + * c :: + * The divisor. + * + * @return: + * The result of `(a*b)/c`. This function never traps when trying to + * divide by zero; it simply returns 'MaxInt' or 'MinInt' depending on + * the signs of `a` and `b`. + */ + FT_EXPORT( FT_Long ) + FT_MulDiv( FT_Long a, + FT_Long b, + FT_Long c ); + + + /************************************************************************** + * + * @function: + * FT_MulFix + * + * @description: + * Compute `(a*b)/0x10000` with maximum accuracy. Its main use is to + * multiply a given value by a 16.16 fixed-point factor. + * + * @input: + * a :: + * The first multiplier. + * + * b :: + * The second multiplier. Use a 16.16 factor here whenever possible + * (see note below). + * + * @return: + * The result of `(a*b)/0x10000`. + * + * @note: + * This function has been optimized for the case where the absolute value + * of `a` is less than 2048, and `b` is a 16.16 scaling factor. As this + * happens mainly when scaling from notional units to fractional pixels + * in FreeType, it resulted in noticeable speed improvements between + * versions 2.x and 1.x. + * + * As a conclusion, always try to place a 16.16 factor as the _second_ + * argument of this function; this can make a great difference. + */ + FT_EXPORT( FT_Long ) + FT_MulFix( FT_Long a, + FT_Long b ); + + + /************************************************************************** + * + * @function: + * FT_DivFix + * + * @description: + * Compute `(a*0x10000)/b` with maximum accuracy. Its main use is to + * divide a given value by a 16.16 fixed-point factor. + * + * @input: + * a :: + * The numerator. + * + * b :: + * The denominator. Use a 16.16 factor here. + * + * @return: + * The result of `(a*0x10000)/b`. + */ + FT_EXPORT( FT_Long ) + FT_DivFix( FT_Long a, + FT_Long b ); + + + /************************************************************************** + * + * @function: + * FT_RoundFix + * + * @description: + * Round a 16.16 fixed number. + * + * @input: + * a :: + * The number to be rounded. + * + * @return: + * `a` rounded to the nearest 16.16 fixed integer, halfway cases away + * from zero. + * + * @note: + * The function uses wrap-around arithmetic. + */ + FT_EXPORT( FT_Fixed ) + FT_RoundFix( FT_Fixed a ); + + + /************************************************************************** + * + * @function: + * FT_CeilFix + * + * @description: + * Compute the smallest following integer of a 16.16 fixed number. + * + * @input: + * a :: + * The number for which the ceiling function is to be computed. + * + * @return: + * `a` rounded towards plus infinity. + * + * @note: + * The function uses wrap-around arithmetic. + */ + FT_EXPORT( FT_Fixed ) + FT_CeilFix( FT_Fixed a ); + + + /************************************************************************** + * + * @function: + * FT_FloorFix + * + * @description: + * Compute the largest previous integer of a 16.16 fixed number. + * + * @input: + * a :: + * The number for which the floor function is to be computed. + * + * @return: + * `a` rounded towards minus infinity. + */ + FT_EXPORT( FT_Fixed ) + FT_FloorFix( FT_Fixed a ); + + + /************************************************************************** + * + * @function: + * FT_Vector_Transform + * + * @description: + * Transform a single vector through a 2x2 matrix. + * + * @inout: + * vector :: + * The target vector to transform. + * + * @input: + * matrix :: + * A pointer to the source 2x2 matrix. + * + * @note: + * The result is undefined if either `vector` or `matrix` is invalid. + */ + FT_EXPORT( void ) + FT_Vector_Transform( FT_Vector* vector, + const FT_Matrix* matrix ); + + + /************************************************************************** + * + * @section: + * library_setup + * + */ + + /************************************************************************** + * + * @enum: + * FREETYPE_XXX + * + * @description: + * These three macros identify the FreeType source code version. Use + * @FT_Library_Version to access them at runtime. + * + * @values: + * FREETYPE_MAJOR :: + * The major version number. + * FREETYPE_MINOR :: + * The minor version number. + * FREETYPE_PATCH :: + * The patch level. + * + * @note: + * The version number of FreeType if built as a dynamic link library with + * the 'libtool' package is _not_ controlled by these three macros. + * + */ +#define FREETYPE_MAJOR 2 +#define FREETYPE_MINOR 13 +#define FREETYPE_PATCH 1 + + + /************************************************************************** + * + * @function: + * FT_Library_Version + * + * @description: + * Return the version of the FreeType library being used. This is useful + * when dynamically linking to the library, since one cannot use the + * macros @FREETYPE_MAJOR, @FREETYPE_MINOR, and @FREETYPE_PATCH. + * + * @input: + * library :: + * A source library handle. + * + * @output: + * amajor :: + * The major version number. + * + * aminor :: + * The minor version number. + * + * apatch :: + * The patch version number. + * + * @note: + * The reason why this function takes a `library` argument is because + * certain programs implement library initialization in a custom way that + * doesn't use @FT_Init_FreeType. + * + * In such cases, the library version might not be available before the + * library object has been created. + */ + FT_EXPORT( void ) + FT_Library_Version( FT_Library library, + FT_Int *amajor, + FT_Int *aminor, + FT_Int *apatch ); + + + /************************************************************************** + * + * @section: + * other_api_data + * + */ + + /************************************************************************** + * + * @function: + * FT_Face_CheckTrueTypePatents + * + * @description: + * Deprecated, does nothing. + * + * @input: + * face :: + * A face handle. + * + * @return: + * Always returns false. + * + * @note: + * Since May 2010, TrueType hinting is no longer patented. + * + * @since: + * 2.3.5 + * + */ + FT_EXPORT( FT_Bool ) + FT_Face_CheckTrueTypePatents( FT_Face face ); + + + /************************************************************************** + * + * @function: + * FT_Face_SetUnpatentedHinting + * + * @description: + * Deprecated, does nothing. + * + * @input: + * face :: + * A face handle. + * + * value :: + * New boolean setting. + * + * @return: + * Always returns false. + * + * @note: + * Since May 2010, TrueType hinting is no longer patented. + * + * @since: + * 2.3.5 + * + */ + FT_EXPORT( FT_Bool ) + FT_Face_SetUnpatentedHinting( FT_Face face, + FT_Bool value ); + + /* */ + + +FT_END_HEADER + +#endif /* FREETYPE_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftadvanc.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftadvanc.h new file mode 100644 index 0000000..4560ded --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftadvanc.h @@ -0,0 +1,188 @@ +/**************************************************************************** + * + * ftadvanc.h + * + * Quick computation of advance widths (specification only). + * + * Copyright (C) 2008-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTADVANC_H_ +#define FTADVANC_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * quick_advance + * + * @title: + * Quick retrieval of advance values + * + * @abstract: + * Retrieve horizontal and vertical advance values without processing + * glyph outlines, if possible. + * + * @description: + * This section contains functions to quickly extract advance values + * without handling glyph outlines, if possible. + * + * @order: + * FT_Get_Advance + * FT_Get_Advances + * + */ + + + /************************************************************************** + * + * @enum: + * FT_ADVANCE_FLAG_FAST_ONLY + * + * @description: + * A bit-flag to be OR-ed with the `flags` parameter of the + * @FT_Get_Advance and @FT_Get_Advances functions. + * + * If set, it indicates that you want these functions to fail if the + * corresponding hinting mode or font driver doesn't allow for very quick + * advance computation. + * + * Typically, glyphs that are either unscaled, unhinted, bitmapped, or + * light-hinted can have their advance width computed very quickly. + * + * Normal and bytecode hinted modes that require loading, scaling, and + * hinting of the glyph outline, are extremely slow by comparison. + */ +#define FT_ADVANCE_FLAG_FAST_ONLY 0x20000000L + + + /************************************************************************** + * + * @function: + * FT_Get_Advance + * + * @description: + * Retrieve the advance value of a given glyph outline in an @FT_Face. + * + * @input: + * face :: + * The source @FT_Face handle. + * + * gindex :: + * The glyph index. + * + * load_flags :: + * A set of bit flags similar to those used when calling + * @FT_Load_Glyph, used to determine what kind of advances you need. + * + * @output: + * padvance :: + * The advance value. If scaling is performed (based on the value of + * `load_flags`), the advance value is in 16.16 format. Otherwise, it + * is in font units. + * + * If @FT_LOAD_VERTICAL_LAYOUT is set, this is the vertical advance + * corresponding to a vertical layout. Otherwise, it is the horizontal + * advance in a horizontal layout. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * This function may fail if you use @FT_ADVANCE_FLAG_FAST_ONLY and if + * the corresponding font backend doesn't have a quick way to retrieve + * the advances. + * + * A scaled advance is returned in 16.16 format but isn't transformed by + * the affine transformation specified by @FT_Set_Transform. + */ + FT_EXPORT( FT_Error ) + FT_Get_Advance( FT_Face face, + FT_UInt gindex, + FT_Int32 load_flags, + FT_Fixed *padvance ); + + + /************************************************************************** + * + * @function: + * FT_Get_Advances + * + * @description: + * Retrieve the advance values of several glyph outlines in an @FT_Face. + * + * @input: + * face :: + * The source @FT_Face handle. + * + * start :: + * The first glyph index. + * + * count :: + * The number of advance values you want to retrieve. + * + * load_flags :: + * A set of bit flags similar to those used when calling + * @FT_Load_Glyph. + * + * @output: + * padvance :: + * The advance values. This array, to be provided by the caller, must + * contain at least `count` elements. + * + * If scaling is performed (based on the value of `load_flags`), the + * advance values are in 16.16 format. Otherwise, they are in font + * units. + * + * If @FT_LOAD_VERTICAL_LAYOUT is set, these are the vertical advances + * corresponding to a vertical layout. Otherwise, they are the + * horizontal advances in a horizontal layout. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * This function may fail if you use @FT_ADVANCE_FLAG_FAST_ONLY and if + * the corresponding font backend doesn't have a quick way to retrieve + * the advances. + * + * Scaled advances are returned in 16.16 format but aren't transformed by + * the affine transformation specified by @FT_Set_Transform. + */ + FT_EXPORT( FT_Error ) + FT_Get_Advances( FT_Face face, + FT_UInt start, + FT_UInt count, + FT_Int32 load_flags, + FT_Fixed *padvances ); + + /* */ + + +FT_END_HEADER + +#endif /* FTADVANC_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbbox.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbbox.h new file mode 100644 index 0000000..fc21740 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbbox.h @@ -0,0 +1,101 @@ +/**************************************************************************** + * + * ftbbox.h + * + * FreeType exact bbox computation (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This component has a _single_ role: to compute exact outline bounding + * boxes. + * + * It is separated from the rest of the engine for various technical + * reasons. It may well be integrated in 'ftoutln' later. + * + */ + + +#ifndef FTBBOX_H_ +#define FTBBOX_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * outline_processing + * + */ + + + /************************************************************************** + * + * @function: + * FT_Outline_Get_BBox + * + * @description: + * Compute the exact bounding box of an outline. This is slower than + * computing the control box. However, it uses an advanced algorithm + * that returns _very_ quickly when the two boxes coincide. Otherwise, + * the outline Bezier arcs are traversed to extract their extrema. + * + * @input: + * outline :: + * A pointer to the source outline. + * + * @output: + * abbox :: + * The outline's exact bounding box. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If the font is tricky and the glyph has been loaded with + * @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get + * reasonable values for the BBox it is necessary to load the glyph at a + * large ppem value (so that the hinting instructions can properly shift + * and scale the subglyphs), then extracting the BBox, which can be + * eventually converted back to font units. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Get_BBox( FT_Outline* outline, + FT_BBox *abbox ); + + /* */ + + +FT_END_HEADER + +#endif /* FTBBOX_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbdf.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbdf.h new file mode 100644 index 0000000..e8ce643 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbdf.h @@ -0,0 +1,212 @@ +/**************************************************************************** + * + * ftbdf.h + * + * FreeType API for accessing BDF-specific strings (specification). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTBDF_H_ +#define FTBDF_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * bdf_fonts + * + * @title: + * BDF and PCF Files + * + * @abstract: + * BDF and PCF specific API. + * + * @description: + * This section contains the declaration of functions specific to BDF and + * PCF fonts. + * + */ + + + /************************************************************************** + * + * @enum: + * BDF_PropertyType + * + * @description: + * A list of BDF property types. + * + * @values: + * BDF_PROPERTY_TYPE_NONE :: + * Value~0 is used to indicate a missing property. + * + * BDF_PROPERTY_TYPE_ATOM :: + * Property is a string atom. + * + * BDF_PROPERTY_TYPE_INTEGER :: + * Property is a 32-bit signed integer. + * + * BDF_PROPERTY_TYPE_CARDINAL :: + * Property is a 32-bit unsigned integer. + */ + typedef enum BDF_PropertyType_ + { + BDF_PROPERTY_TYPE_NONE = 0, + BDF_PROPERTY_TYPE_ATOM = 1, + BDF_PROPERTY_TYPE_INTEGER = 2, + BDF_PROPERTY_TYPE_CARDINAL = 3 + + } BDF_PropertyType; + + + /************************************************************************** + * + * @type: + * BDF_Property + * + * @description: + * A handle to a @BDF_PropertyRec structure to model a given BDF/PCF + * property. + */ + typedef struct BDF_PropertyRec_* BDF_Property; + + + /************************************************************************** + * + * @struct: + * BDF_PropertyRec + * + * @description: + * This structure models a given BDF/PCF property. + * + * @fields: + * type :: + * The property type. + * + * u.atom :: + * The atom string, if type is @BDF_PROPERTY_TYPE_ATOM. May be + * `NULL`, indicating an empty string. + * + * u.integer :: + * A signed integer, if type is @BDF_PROPERTY_TYPE_INTEGER. + * + * u.cardinal :: + * An unsigned integer, if type is @BDF_PROPERTY_TYPE_CARDINAL. + */ + typedef struct BDF_PropertyRec_ + { + BDF_PropertyType type; + union { + const char* atom; + FT_Int32 integer; + FT_UInt32 cardinal; + + } u; + + } BDF_PropertyRec; + + + /************************************************************************** + * + * @function: + * FT_Get_BDF_Charset_ID + * + * @description: + * Retrieve a BDF font character set identity, according to the BDF + * specification. + * + * @input: + * face :: + * A handle to the input face. + * + * @output: + * acharset_encoding :: + * Charset encoding, as a C~string, owned by the face. + * + * acharset_registry :: + * Charset registry, as a C~string, owned by the face. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with BDF faces, returning an error otherwise. + */ + FT_EXPORT( FT_Error ) + FT_Get_BDF_Charset_ID( FT_Face face, + const char* *acharset_encoding, + const char* *acharset_registry ); + + + /************************************************************************** + * + * @function: + * FT_Get_BDF_Property + * + * @description: + * Retrieve a BDF property from a BDF or PCF font file. + * + * @input: + * face :: + * A handle to the input face. + * + * name :: + * The property name. + * + * @output: + * aproperty :: + * The property. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function works with BDF _and_ PCF fonts. It returns an error + * otherwise. It also returns an error if the property is not in the + * font. + * + * A 'property' is a either key-value pair within the STARTPROPERTIES + * ... ENDPROPERTIES block of a BDF font or a key-value pair from the + * `info->props` array within a `FontRec` structure of a PCF font. + * + * Integer properties are always stored as 'signed' within PCF fonts; + * consequently, @BDF_PROPERTY_TYPE_CARDINAL is a possible return value + * for BDF fonts only. + * + * In case of error, `aproperty->type` is always set to + * @BDF_PROPERTY_TYPE_NONE. + */ + FT_EXPORT( FT_Error ) + FT_Get_BDF_Property( FT_Face face, + const char* prop_name, + BDF_PropertyRec *aproperty ); + + /* */ + +FT_END_HEADER + +#endif /* FTBDF_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbitmap.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbitmap.h new file mode 100644 index 0000000..eb6b4b1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbitmap.h @@ -0,0 +1,329 @@ +/**************************************************************************** + * + * ftbitmap.h + * + * FreeType utility functions for bitmaps (specification). + * + * Copyright (C) 2004-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTBITMAP_H_ +#define FTBITMAP_H_ + + +#include +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * bitmap_handling + * + * @title: + * Bitmap Handling + * + * @abstract: + * Handling FT_Bitmap objects. + * + * @description: + * This section contains functions for handling @FT_Bitmap objects, + * automatically adjusting the target's bitmap buffer size as needed. + * + * Note that none of the functions changes the bitmap's 'flow' (as + * indicated by the sign of the `pitch` field in @FT_Bitmap). + * + * To set the flow, assign an appropriate positive or negative value to + * the `pitch` field of the target @FT_Bitmap object after calling + * @FT_Bitmap_Init but before calling any of the other functions + * described here. + */ + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Init + * + * @description: + * Initialize a pointer to an @FT_Bitmap structure. + * + * @inout: + * abitmap :: + * A pointer to the bitmap structure. + * + * @note: + * A deprecated name for the same function is `FT_Bitmap_New`. + */ + FT_EXPORT( void ) + FT_Bitmap_Init( FT_Bitmap *abitmap ); + + + /* deprecated */ + FT_EXPORT( void ) + FT_Bitmap_New( FT_Bitmap *abitmap ); + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Copy + * + * @description: + * Copy a bitmap into another one. + * + * @input: + * library :: + * A handle to a library object. + * + * source :: + * A handle to the source bitmap. + * + * @output: + * target :: + * A handle to the target bitmap. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * `source->buffer` and `target->buffer` must neither be equal nor + * overlap. + */ + FT_EXPORT( FT_Error ) + FT_Bitmap_Copy( FT_Library library, + const FT_Bitmap *source, + FT_Bitmap *target ); + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Embolden + * + * @description: + * Embolden a bitmap. The new bitmap will be about `xStrength` pixels + * wider and `yStrength` pixels higher. The left and bottom borders are + * kept unchanged. + * + * @input: + * library :: + * A handle to a library object. + * + * xStrength :: + * How strong the glyph is emboldened horizontally. Expressed in 26.6 + * pixel format. + * + * yStrength :: + * How strong the glyph is emboldened vertically. Expressed in 26.6 + * pixel format. + * + * @inout: + * bitmap :: + * A handle to the target bitmap. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The current implementation restricts `xStrength` to be less than or + * equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. + * + * If you want to embolden the bitmap owned by a @FT_GlyphSlotRec, you + * should call @FT_GlyphSlot_Own_Bitmap on the slot first. + * + * Bitmaps in @FT_PIXEL_MODE_GRAY2 and @FT_PIXEL_MODE_GRAY@ format are + * converted to @FT_PIXEL_MODE_GRAY format (i.e., 8bpp). + */ + FT_EXPORT( FT_Error ) + FT_Bitmap_Embolden( FT_Library library, + FT_Bitmap* bitmap, + FT_Pos xStrength, + FT_Pos yStrength ); + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Convert + * + * @description: + * Convert a bitmap object with depth 1bpp, 2bpp, 4bpp, 8bpp or 32bpp to + * a bitmap object with depth 8bpp, making the number of used bytes per + * line (a.k.a. the 'pitch') a multiple of `alignment`. + * + * @input: + * library :: + * A handle to a library object. + * + * source :: + * The source bitmap. + * + * alignment :: + * The pitch of the bitmap is a multiple of this argument. Common + * values are 1, 2, or 4. + * + * @output: + * target :: + * The target bitmap. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * It is possible to call @FT_Bitmap_Convert multiple times without + * calling @FT_Bitmap_Done (the memory is simply reallocated). + * + * Use @FT_Bitmap_Done to finally remove the bitmap object. + * + * The `library` argument is taken to have access to FreeType's memory + * handling functions. + * + * `source->buffer` and `target->buffer` must neither be equal nor + * overlap. + */ + FT_EXPORT( FT_Error ) + FT_Bitmap_Convert( FT_Library library, + const FT_Bitmap *source, + FT_Bitmap *target, + FT_Int alignment ); + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Blend + * + * @description: + * Blend a bitmap onto another bitmap, using a given color. + * + * @input: + * library :: + * A handle to a library object. + * + * source :: + * The source bitmap, which can have any @FT_Pixel_Mode format. + * + * source_offset :: + * The offset vector to the upper left corner of the source bitmap in + * 26.6 pixel format. It should represent an integer offset; the + * function will set the lowest six bits to zero to enforce that. + * + * color :: + * The color used to draw `source` onto `target`. + * + * @inout: + * target :: + * A handle to an `FT_Bitmap` object. It should be either initialized + * as empty with a call to @FT_Bitmap_Init, or it should be of type + * @FT_PIXEL_MODE_BGRA. + * + * atarget_offset :: + * The offset vector to the upper left corner of the target bitmap in + * 26.6 pixel format. It should represent an integer offset; the + * function will set the lowest six bits to zero to enforce that. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function doesn't perform clipping. + * + * The bitmap in `target` gets allocated or reallocated as needed; the + * vector `atarget_offset` is updated accordingly. + * + * In case of allocation or reallocation, the bitmap's pitch is set to + * `4 * width`. Both `source` and `target` must have the same bitmap + * flow (as indicated by the sign of the `pitch` field). + * + * `source->buffer` and `target->buffer` must neither be equal nor + * overlap. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Bitmap_Blend( FT_Library library, + const FT_Bitmap* source, + const FT_Vector source_offset, + FT_Bitmap* target, + FT_Vector *atarget_offset, + FT_Color color ); + + + /************************************************************************** + * + * @function: + * FT_GlyphSlot_Own_Bitmap + * + * @description: + * Make sure that a glyph slot owns `slot->bitmap`. + * + * @input: + * slot :: + * The glyph slot. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function is to be used in combination with @FT_Bitmap_Embolden. + */ + FT_EXPORT( FT_Error ) + FT_GlyphSlot_Own_Bitmap( FT_GlyphSlot slot ); + + + /************************************************************************** + * + * @function: + * FT_Bitmap_Done + * + * @description: + * Destroy a bitmap object initialized with @FT_Bitmap_Init. + * + * @input: + * library :: + * A handle to a library object. + * + * bitmap :: + * The bitmap object to be freed. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The `library` argument is taken to have access to FreeType's memory + * handling functions. + */ + FT_EXPORT( FT_Error ) + FT_Bitmap_Done( FT_Library library, + FT_Bitmap *bitmap ); + + + /* */ + + +FT_END_HEADER + +#endif /* FTBITMAP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbzip2.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbzip2.h new file mode 100644 index 0000000..7d29f46 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftbzip2.h @@ -0,0 +1,102 @@ +/**************************************************************************** + * + * ftbzip2.h + * + * Bzip2-compressed stream support. + * + * Copyright (C) 2010-2023 by + * Joel Klinghed. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTBZIP2_H_ +#define FTBZIP2_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * bzip2 + * + * @title: + * BZIP2 Streams + * + * @abstract: + * Using bzip2-compressed font files. + * + * @description: + * In certain builds of the library, bzip2 compression recognition is + * automatically handled when calling @FT_New_Face or @FT_Open_Face. + * This means that if no font driver is capable of handling the raw + * compressed file, the library will try to open a bzip2 compressed + * stream from it and re-open the face with it. + * + * The stream implementation is very basic and resets the decompression + * process each time seeking backwards is needed within the stream, + * which significantly undermines the performance. + * + * This section contains the declaration of Bzip2-specific functions. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Stream_OpenBzip2 + * + * @description: + * Open a new stream to parse bzip2-compressed font files. This is + * mainly used to support the compressed `*.pcf.bz2` fonts that come with + * XFree86. + * + * @input: + * stream :: + * The target embedding stream. + * + * source :: + * The source stream. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The source stream must be opened _before_ calling this function. + * + * Calling the internal function `FT_Stream_Close` on the new stream will + * **not** call `FT_Stream_Close` on the source stream. None of the + * stream objects will be released to the heap. + * + * This function may return `FT_Err_Unimplemented_Feature` if your build + * of FreeType was not compiled with bzip2 support. + */ + FT_EXPORT( FT_Error ) + FT_Stream_OpenBzip2( FT_Stream stream, + FT_Stream source ); + + /* */ + + +FT_END_HEADER + +#endif /* FTBZIP2_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcache.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcache.h new file mode 100644 index 0000000..a2072e2 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcache.h @@ -0,0 +1,1087 @@ +/**************************************************************************** + * + * ftcache.h + * + * FreeType Cache subsystem (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTCACHE_H_ +#define FTCACHE_H_ + + +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * cache_subsystem + * + * @title: + * Cache Sub-System + * + * @abstract: + * How to cache face, size, and glyph data with FreeType~2. + * + * @description: + * This section describes the FreeType~2 cache sub-system, which is used + * to limit the number of concurrently opened @FT_Face and @FT_Size + * objects, as well as caching information like character maps and glyph + * images while limiting their maximum memory usage. + * + * Note that all types and functions begin with the `FTC_` prefix rather + * than the usual `FT_` prefix in the rest of FreeType. + * + * The cache is highly portable and, thus, doesn't know anything about + * the fonts installed on your system, or how to access them. Therefore, + * it requires the following. + * + * * @FTC_FaceID, an arbitrary non-zero value that uniquely identifies + * available or installed font faces, has to be provided to the + * cache by the client. Note that the cache only stores and compares + * these values and doesn't try to interpret them in any way, but they + * have to be persistent on the client side. + * + * * @FTC_Face_Requester, a method to convert an @FTC_FaceID into a new + * @FT_Face object when necessary, has to be provided to the cache by + * the client. The @FT_Face object is completely managed by the cache, + * including its termination through @FT_Done_Face. To monitor + * termination of face objects, the finalizer callback in the `generic` + * field of the @FT_Face object can be used, which might also be used + * to store the @FTC_FaceID of the face. + * + * Clients are free to map face IDs to anything useful. The most simple + * usage is, for example, to associate them to a `{pathname,face_index}` + * pair that is then used by @FTC_Face_Requester to call @FT_New_Face. + * However, more complex schemes are also possible. + * + * Note that for the cache to work correctly, the face ID values must be + * **persistent**, which means that the contents they point to should not + * change at runtime, or that their value should not become invalid. + * If this is unavoidable (e.g., when a font is uninstalled at runtime), + * you should call @FTC_Manager_RemoveFaceID as soon as possible to let + * the cache get rid of any references to the old @FTC_FaceID it may keep + * internally. Failure to do so will lead to incorrect behaviour or even + * crashes in @FTC_Face_Requester. + * + * To use the cache, start with calling @FTC_Manager_New to create a new + * @FTC_Manager object, which models a single cache instance. You can + * then look up @FT_Face and @FT_Size objects with + * @FTC_Manager_LookupFace and @FTC_Manager_LookupSize, respectively, and + * use them in any FreeType work stream. You can also cache other + * FreeType objects as follows. + * + * * If you want to use the charmap caching, call @FTC_CMapCache_New, + * then later use @FTC_CMapCache_Lookup to perform the equivalent of + * @FT_Get_Char_Index, only much faster. + * + * * If you want to use the @FT_Glyph caching, call @FTC_ImageCache_New, + * then later use @FTC_ImageCache_Lookup to retrieve the corresponding + * @FT_Glyph objects from the cache. + * + * * If you need lots of small bitmaps, it is much more memory-efficient + * to call @FTC_SBitCache_New followed by @FTC_SBitCache_Lookup. This + * returns @FTC_SBitRec structures, which are used to store small + * bitmaps directly. (A small bitmap is one whose metrics and + * dimensions all fit into 8-bit integers). + * + * @order: + * FTC_Manager + * FTC_FaceID + * FTC_Face_Requester + * + * FTC_Manager_New + * FTC_Manager_Reset + * FTC_Manager_Done + * FTC_Manager_LookupFace + * FTC_Manager_LookupSize + * FTC_Manager_RemoveFaceID + * + * FTC_Node + * FTC_Node_Unref + * + * FTC_ImageCache + * FTC_ImageCache_New + * FTC_ImageCache_Lookup + * + * FTC_SBit + * FTC_SBitCache + * FTC_SBitCache_New + * FTC_SBitCache_Lookup + * + * FTC_CMapCache + * FTC_CMapCache_New + * FTC_CMapCache_Lookup + * + *************************************************************************/ + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** BASIC TYPE DEFINITIONS *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @type: + * FTC_FaceID + * + * @description: + * An opaque pointer type that is used to identity face objects. The + * contents of such objects is application-dependent. + * + * These pointers are typically used to point to a user-defined structure + * containing a font file path, and face index. + * + * @note: + * Never use `NULL` as a valid @FTC_FaceID. + * + * Face IDs are passed by the client to the cache manager that calls, + * when needed, the @FTC_Face_Requester to translate them into new + * @FT_Face objects. + * + * If the content of a given face ID changes at runtime, or if the value + * becomes invalid (e.g., when uninstalling a font), you should + * immediately call @FTC_Manager_RemoveFaceID before any other cache + * function. + * + * Failure to do so will result in incorrect behaviour or even memory + * leaks and crashes. + */ + typedef FT_Pointer FTC_FaceID; + + + /************************************************************************** + * + * @functype: + * FTC_Face_Requester + * + * @description: + * A callback function provided by client applications. It is used by + * the cache manager to translate a given @FTC_FaceID into a new valid + * @FT_Face object, on demand. + * + * @input: + * face_id :: + * The face ID to resolve. + * + * library :: + * A handle to a FreeType library object. + * + * req_data :: + * Application-provided request data (see note below). + * + * @output: + * aface :: + * A new @FT_Face handle. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The third parameter `req_data` is the same as the one passed by the + * client when @FTC_Manager_New is called. + * + * The face requester should not perform funny things on the returned + * face object, like creating a new @FT_Size for it, or setting a + * transformation through @FT_Set_Transform! + */ + typedef FT_Error + (*FTC_Face_Requester)( FTC_FaceID face_id, + FT_Library library, + FT_Pointer req_data, + FT_Face* aface ); + + /* */ + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** CACHE MANAGER OBJECT *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @type: + * FTC_Manager + * + * @description: + * This object corresponds to one instance of the cache-subsystem. It is + * used to cache one or more @FT_Face objects, along with corresponding + * @FT_Size objects. + * + * The manager intentionally limits the total number of opened @FT_Face + * and @FT_Size objects to control memory usage. See the `max_faces` and + * `max_sizes` parameters of @FTC_Manager_New. + * + * The manager is also used to cache 'nodes' of various types while + * limiting their total memory usage. + * + * All limitations are enforced by keeping lists of managed objects in + * most-recently-used order, and flushing old nodes to make room for new + * ones. + */ + typedef struct FTC_ManagerRec_* FTC_Manager; + + + /************************************************************************** + * + * @type: + * FTC_Node + * + * @description: + * An opaque handle to a cache node object. Each cache node is + * reference-counted. A node with a count of~0 might be flushed out of a + * full cache whenever a lookup request is performed. + * + * If you look up nodes, you have the ability to 'acquire' them, i.e., to + * increment their reference count. This will prevent the node from + * being flushed out of the cache until you explicitly 'release' it (see + * @FTC_Node_Unref). + * + * See also @FTC_SBitCache_Lookup and @FTC_ImageCache_Lookup. + */ + typedef struct FTC_NodeRec_* FTC_Node; + + + /************************************************************************** + * + * @function: + * FTC_Manager_New + * + * @description: + * Create a new cache manager. + * + * @input: + * library :: + * The parent FreeType library handle to use. + * + * max_faces :: + * Maximum number of opened @FT_Face objects managed by this cache + * instance. Use~0 for defaults. + * + * max_sizes :: + * Maximum number of opened @FT_Size objects managed by this cache + * instance. Use~0 for defaults. + * + * max_bytes :: + * Maximum number of bytes to use for cached data nodes. Use~0 for + * defaults. Note that this value does not account for managed + * @FT_Face and @FT_Size objects. + * + * requester :: + * An application-provided callback used to translate face IDs into + * real @FT_Face objects. + * + * req_data :: + * A generic pointer that is passed to the requester each time it is + * called (see @FTC_Face_Requester). + * + * @output: + * amanager :: + * A handle to a new manager object. 0~in case of failure. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FTC_Manager_New( FT_Library library, + FT_UInt max_faces, + FT_UInt max_sizes, + FT_ULong max_bytes, + FTC_Face_Requester requester, + FT_Pointer req_data, + FTC_Manager *amanager ); + + + /************************************************************************** + * + * @function: + * FTC_Manager_Reset + * + * @description: + * Empty a given cache manager. This simply gets rid of all the + * currently cached @FT_Face and @FT_Size objects within the manager. + * + * @inout: + * manager :: + * A handle to the manager. + */ + FT_EXPORT( void ) + FTC_Manager_Reset( FTC_Manager manager ); + + + /************************************************************************** + * + * @function: + * FTC_Manager_Done + * + * @description: + * Destroy a given manager after emptying it. + * + * @input: + * manager :: + * A handle to the target cache manager object. + */ + FT_EXPORT( void ) + FTC_Manager_Done( FTC_Manager manager ); + + + /************************************************************************** + * + * @function: + * FTC_Manager_LookupFace + * + * @description: + * Retrieve the @FT_Face object that corresponds to a given face ID + * through a cache manager. + * + * @input: + * manager :: + * A handle to the cache manager. + * + * face_id :: + * The ID of the face object. + * + * @output: + * aface :: + * A handle to the face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The returned @FT_Face object is always owned by the manager. You + * should never try to discard it yourself. + * + * The @FT_Face object doesn't necessarily have a current size object + * (i.e., face->size can be~0). If you need a specific 'font size', use + * @FTC_Manager_LookupSize instead. + * + * Never change the face's transformation matrix (i.e., never call the + * @FT_Set_Transform function) on a returned face! If you need to + * transform glyphs, do it yourself after glyph loading. + * + * When you perform a lookup, out-of-memory errors are detected _within_ + * the lookup and force incremental flushes of the cache until enough + * memory is released for the lookup to succeed. + * + * If a lookup fails with `FT_Err_Out_Of_Memory` the cache has already + * been completely flushed, and still no memory was available for the + * operation. + */ + FT_EXPORT( FT_Error ) + FTC_Manager_LookupFace( FTC_Manager manager, + FTC_FaceID face_id, + FT_Face *aface ); + + + /************************************************************************** + * + * @struct: + * FTC_ScalerRec + * + * @description: + * A structure used to describe a given character size in either pixels + * or points to the cache manager. See @FTC_Manager_LookupSize. + * + * @fields: + * face_id :: + * The source face ID. + * + * width :: + * The character width. + * + * height :: + * The character height. + * + * pixel :: + * A Boolean. If 1, the `width` and `height` fields are interpreted as + * integer pixel character sizes. Otherwise, they are expressed as + * 1/64 of points. + * + * x_res :: + * Only used when `pixel` is value~0 to indicate the horizontal + * resolution in dpi. + * + * y_res :: + * Only used when `pixel` is value~0 to indicate the vertical + * resolution in dpi. + * + * @note: + * This type is mainly used to retrieve @FT_Size objects through the + * cache manager. + */ + typedef struct FTC_ScalerRec_ + { + FTC_FaceID face_id; + FT_UInt width; + FT_UInt height; + FT_Int pixel; + FT_UInt x_res; + FT_UInt y_res; + + } FTC_ScalerRec; + + + /************************************************************************** + * + * @struct: + * FTC_Scaler + * + * @description: + * A handle to an @FTC_ScalerRec structure. + */ + typedef struct FTC_ScalerRec_* FTC_Scaler; + + + /************************************************************************** + * + * @function: + * FTC_Manager_LookupSize + * + * @description: + * Retrieve the @FT_Size object that corresponds to a given + * @FTC_ScalerRec pointer through a cache manager. + * + * @input: + * manager :: + * A handle to the cache manager. + * + * scaler :: + * A scaler handle. + * + * @output: + * asize :: + * A handle to the size object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The returned @FT_Size object is always owned by the manager. You + * should never try to discard it by yourself. + * + * You can access the parent @FT_Face object simply as `size->face` if + * you need it. Note that this object is also owned by the manager. + * + * @note: + * When you perform a lookup, out-of-memory errors are detected _within_ + * the lookup and force incremental flushes of the cache until enough + * memory is released for the lookup to succeed. + * + * If a lookup fails with `FT_Err_Out_Of_Memory` the cache has already + * been completely flushed, and still no memory is available for the + * operation. + */ + FT_EXPORT( FT_Error ) + FTC_Manager_LookupSize( FTC_Manager manager, + FTC_Scaler scaler, + FT_Size *asize ); + + + /************************************************************************** + * + * @function: + * FTC_Node_Unref + * + * @description: + * Decrement a cache node's internal reference count. When the count + * reaches 0, it is not destroyed but becomes eligible for subsequent + * cache flushes. + * + * @input: + * node :: + * The cache node handle. + * + * manager :: + * The cache manager handle. + */ + FT_EXPORT( void ) + FTC_Node_Unref( FTC_Node node, + FTC_Manager manager ); + + + /************************************************************************** + * + * @function: + * FTC_Manager_RemoveFaceID + * + * @description: + * A special function used to indicate to the cache manager that a given + * @FTC_FaceID is no longer valid, either because its content changed, or + * because it was deallocated or uninstalled. + * + * @input: + * manager :: + * The cache manager handle. + * + * face_id :: + * The @FTC_FaceID to be removed. + * + * @note: + * This function flushes all nodes from the cache corresponding to this + * `face_id`, with the exception of nodes with a non-null reference + * count. + * + * Such nodes are however modified internally so as to never appear in + * later lookups with the same `face_id` value, and to be immediately + * destroyed when released by all their users. + * + */ + FT_EXPORT( void ) + FTC_Manager_RemoveFaceID( FTC_Manager manager, + FTC_FaceID face_id ); + + + /************************************************************************** + * + * @type: + * FTC_CMapCache + * + * @description: + * An opaque handle used to model a charmap cache. This cache is to hold + * character codes -> glyph indices mappings. + * + */ + typedef struct FTC_CMapCacheRec_* FTC_CMapCache; + + + /************************************************************************** + * + * @function: + * FTC_CMapCache_New + * + * @description: + * Create a new charmap cache. + * + * @input: + * manager :: + * A handle to the cache manager. + * + * @output: + * acache :: + * A new cache handle. `NULL` in case of error. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Like all other caches, this one will be destroyed with the cache + * manager. + * + */ + FT_EXPORT( FT_Error ) + FTC_CMapCache_New( FTC_Manager manager, + FTC_CMapCache *acache ); + + + /************************************************************************** + * + * @function: + * FTC_CMapCache_Lookup + * + * @description: + * Translate a character code into a glyph index, using the charmap + * cache. + * + * @input: + * cache :: + * A charmap cache handle. + * + * face_id :: + * The source face ID. + * + * cmap_index :: + * The index of the charmap in the source face. Any negative value + * means to use the cache @FT_Face's default charmap. + * + * char_code :: + * The character code (in the corresponding charmap). + * + * @return: + * Glyph index. 0~means 'no glyph'. + * + */ + FT_EXPORT( FT_UInt ) + FTC_CMapCache_Lookup( FTC_CMapCache cache, + FTC_FaceID face_id, + FT_Int cmap_index, + FT_UInt32 char_code ); + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** IMAGE CACHE OBJECT *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * FTC_ImageTypeRec + * + * @description: + * A structure used to model the type of images in a glyph cache. + * + * @fields: + * face_id :: + * The face ID. + * + * width :: + * The width in pixels. + * + * height :: + * The height in pixels. + * + * flags :: + * The load flags, as in @FT_Load_Glyph. + * + */ + typedef struct FTC_ImageTypeRec_ + { + FTC_FaceID face_id; + FT_UInt width; + FT_UInt height; + FT_Int32 flags; + + } FTC_ImageTypeRec; + + + /************************************************************************** + * + * @type: + * FTC_ImageType + * + * @description: + * A handle to an @FTC_ImageTypeRec structure. + * + */ + typedef struct FTC_ImageTypeRec_* FTC_ImageType; + + + /* */ + + +#define FTC_IMAGE_TYPE_COMPARE( d1, d2 ) \ + ( (d1)->face_id == (d2)->face_id && \ + (d1)->width == (d2)->width && \ + (d1)->flags == (d2)->flags ) + + + /************************************************************************** + * + * @type: + * FTC_ImageCache + * + * @description: + * A handle to a glyph image cache object. They are designed to hold + * many distinct glyph images while not exceeding a certain memory + * threshold. + */ + typedef struct FTC_ImageCacheRec_* FTC_ImageCache; + + + /************************************************************************** + * + * @function: + * FTC_ImageCache_New + * + * @description: + * Create a new glyph image cache. + * + * @input: + * manager :: + * The parent manager for the image cache. + * + * @output: + * acache :: + * A handle to the new glyph image cache object. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FTC_ImageCache_New( FTC_Manager manager, + FTC_ImageCache *acache ); + + + /************************************************************************** + * + * @function: + * FTC_ImageCache_Lookup + * + * @description: + * Retrieve a given glyph image from a glyph image cache. + * + * @input: + * cache :: + * A handle to the source glyph image cache. + * + * type :: + * A pointer to a glyph image type descriptor. + * + * gindex :: + * The glyph index to retrieve. + * + * @output: + * aglyph :: + * The corresponding @FT_Glyph object. 0~in case of failure. + * + * anode :: + * Used to return the address of the corresponding cache node after + * incrementing its reference count (see note below). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The returned glyph is owned and managed by the glyph image cache. + * Never try to transform or discard it manually! You can however create + * a copy with @FT_Glyph_Copy and modify the new one. + * + * If `anode` is _not_ `NULL`, it receives the address of the cache node + * containing the glyph image, after increasing its reference count. + * This ensures that the node (as well as the @FT_Glyph) will always be + * kept in the cache until you call @FTC_Node_Unref to 'release' it. + * + * If `anode` is `NULL`, the cache node is left unchanged, which means + * that the @FT_Glyph could be flushed out of the cache on the next call + * to one of the caching sub-system APIs. Don't assume that it is + * persistent! + */ + FT_EXPORT( FT_Error ) + FTC_ImageCache_Lookup( FTC_ImageCache cache, + FTC_ImageType type, + FT_UInt gindex, + FT_Glyph *aglyph, + FTC_Node *anode ); + + + /************************************************************************** + * + * @function: + * FTC_ImageCache_LookupScaler + * + * @description: + * A variant of @FTC_ImageCache_Lookup that uses an @FTC_ScalerRec to + * specify the face ID and its size. + * + * @input: + * cache :: + * A handle to the source glyph image cache. + * + * scaler :: + * A pointer to a scaler descriptor. + * + * load_flags :: + * The corresponding load flags. + * + * gindex :: + * The glyph index to retrieve. + * + * @output: + * aglyph :: + * The corresponding @FT_Glyph object. 0~in case of failure. + * + * anode :: + * Used to return the address of the corresponding cache node after + * incrementing its reference count (see note below). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The returned glyph is owned and managed by the glyph image cache. + * Never try to transform or discard it manually! You can however create + * a copy with @FT_Glyph_Copy and modify the new one. + * + * If `anode` is _not_ `NULL`, it receives the address of the cache node + * containing the glyph image, after increasing its reference count. + * This ensures that the node (as well as the @FT_Glyph) will always be + * kept in the cache until you call @FTC_Node_Unref to 'release' it. + * + * If `anode` is `NULL`, the cache node is left unchanged, which means + * that the @FT_Glyph could be flushed out of the cache on the next call + * to one of the caching sub-system APIs. Don't assume that it is + * persistent! + * + * Calls to @FT_Set_Char_Size and friends have no effect on cached + * glyphs; you should always use the FreeType cache API instead. + */ + FT_EXPORT( FT_Error ) + FTC_ImageCache_LookupScaler( FTC_ImageCache cache, + FTC_Scaler scaler, + FT_ULong load_flags, + FT_UInt gindex, + FT_Glyph *aglyph, + FTC_Node *anode ); + + + /************************************************************************** + * + * @type: + * FTC_SBit + * + * @description: + * A handle to a small bitmap descriptor. See the @FTC_SBitRec structure + * for details. + */ + typedef struct FTC_SBitRec_* FTC_SBit; + + + /************************************************************************** + * + * @struct: + * FTC_SBitRec + * + * @description: + * A very compact structure used to describe a small glyph bitmap. + * + * @fields: + * width :: + * The bitmap width in pixels. + * + * height :: + * The bitmap height in pixels. + * + * left :: + * The horizontal distance from the pen position to the left bitmap + * border (a.k.a. 'left side bearing', or 'lsb'). + * + * top :: + * The vertical distance from the pen position (on the baseline) to the + * upper bitmap border (a.k.a. 'top side bearing'). The distance is + * positive for upwards y~coordinates. + * + * format :: + * The format of the glyph bitmap (monochrome or gray). + * + * max_grays :: + * Maximum gray level value (in the range 1 to~255). + * + * pitch :: + * The number of bytes per bitmap line. May be positive or negative. + * + * xadvance :: + * The horizontal advance width in pixels. + * + * yadvance :: + * The vertical advance height in pixels. + * + * buffer :: + * A pointer to the bitmap pixels. + */ + typedef struct FTC_SBitRec_ + { + FT_Byte width; + FT_Byte height; + FT_Char left; + FT_Char top; + + FT_Byte format; + FT_Byte max_grays; + FT_Short pitch; + FT_Char xadvance; + FT_Char yadvance; + + FT_Byte* buffer; + + } FTC_SBitRec; + + + /************************************************************************** + * + * @type: + * FTC_SBitCache + * + * @description: + * A handle to a small bitmap cache. These are special cache objects + * used to store small glyph bitmaps (and anti-aliased pixmaps) in a much + * more efficient way than the traditional glyph image cache implemented + * by @FTC_ImageCache. + */ + typedef struct FTC_SBitCacheRec_* FTC_SBitCache; + + + /************************************************************************** + * + * @function: + * FTC_SBitCache_New + * + * @description: + * Create a new cache to store small glyph bitmaps. + * + * @input: + * manager :: + * A handle to the source cache manager. + * + * @output: + * acache :: + * A handle to the new sbit cache. `NULL` in case of error. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FTC_SBitCache_New( FTC_Manager manager, + FTC_SBitCache *acache ); + + + /************************************************************************** + * + * @function: + * FTC_SBitCache_Lookup + * + * @description: + * Look up a given small glyph bitmap in a given sbit cache and 'lock' it + * to prevent its flushing from the cache until needed. + * + * @input: + * cache :: + * A handle to the source sbit cache. + * + * type :: + * A pointer to the glyph image type descriptor. + * + * gindex :: + * The glyph index. + * + * @output: + * sbit :: + * A handle to a small bitmap descriptor. + * + * anode :: + * Used to return the address of the corresponding cache node after + * incrementing its reference count (see note below). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The small bitmap descriptor and its bit buffer are owned by the cache + * and should never be freed by the application. They might as well + * disappear from memory on the next cache lookup, so don't treat them as + * persistent data. + * + * The descriptor's `buffer` field is set to~0 to indicate a missing + * glyph bitmap. + * + * If `anode` is _not_ `NULL`, it receives the address of the cache node + * containing the bitmap, after increasing its reference count. This + * ensures that the node (as well as the image) will always be kept in + * the cache until you call @FTC_Node_Unref to 'release' it. + * + * If `anode` is `NULL`, the cache node is left unchanged, which means + * that the bitmap could be flushed out of the cache on the next call to + * one of the caching sub-system APIs. Don't assume that it is + * persistent! + */ + FT_EXPORT( FT_Error ) + FTC_SBitCache_Lookup( FTC_SBitCache cache, + FTC_ImageType type, + FT_UInt gindex, + FTC_SBit *sbit, + FTC_Node *anode ); + + + /************************************************************************** + * + * @function: + * FTC_SBitCache_LookupScaler + * + * @description: + * A variant of @FTC_SBitCache_Lookup that uses an @FTC_ScalerRec to + * specify the face ID and its size. + * + * @input: + * cache :: + * A handle to the source sbit cache. + * + * scaler :: + * A pointer to the scaler descriptor. + * + * load_flags :: + * The corresponding load flags. + * + * gindex :: + * The glyph index. + * + * @output: + * sbit :: + * A handle to a small bitmap descriptor. + * + * anode :: + * Used to return the address of the corresponding cache node after + * incrementing its reference count (see note below). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The small bitmap descriptor and its bit buffer are owned by the cache + * and should never be freed by the application. They might as well + * disappear from memory on the next cache lookup, so don't treat them as + * persistent data. + * + * The descriptor's `buffer` field is set to~0 to indicate a missing + * glyph bitmap. + * + * If `anode` is _not_ `NULL`, it receives the address of the cache node + * containing the bitmap, after increasing its reference count. This + * ensures that the node (as well as the image) will always be kept in + * the cache until you call @FTC_Node_Unref to 'release' it. + * + * If `anode` is `NULL`, the cache node is left unchanged, which means + * that the bitmap could be flushed out of the cache on the next call to + * one of the caching sub-system APIs. Don't assume that it is + * persistent! + */ + FT_EXPORT( FT_Error ) + FTC_SBitCache_LookupScaler( FTC_SBitCache cache, + FTC_Scaler scaler, + FT_ULong load_flags, + FT_UInt gindex, + FTC_SBit *sbit, + FTC_Node *anode ); + + /* */ + + +FT_END_HEADER + +#endif /* FTCACHE_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftchapters.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftchapters.h new file mode 100644 index 0000000..7566fbd --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftchapters.h @@ -0,0 +1,168 @@ +/**************************************************************************** + * + * This file defines the structure of the FreeType reference. + * It is used by the python script that generates the HTML files. + * + */ + + + /************************************************************************** + * + * @chapter: + * general_remarks + * + * @title: + * General Remarks + * + * @sections: + * preamble + * header_inclusion + * user_allocation + * + */ + + + /************************************************************************** + * + * @chapter: + * core_api + * + * @title: + * Core API + * + * @sections: + * basic_types + * library_setup + * face_creation + * font_testing_macros + * sizing_and_scaling + * glyph_retrieval + * character_mapping + * information_retrieval + * other_api_data + * + */ + + + /************************************************************************** + * + * @chapter: + * extended_api + * + * @title: + * Extended API + * + * @sections: + * glyph_variants + * color_management + * layer_management + * glyph_management + * mac_specific + * sizes_management + * header_file_macros + * + */ + + + /************************************************************************** + * + * @chapter: + * format_specific + * + * @title: + * Format-Specific API + * + * @sections: + * multiple_masters + * truetype_tables + * type1_tables + * sfnt_names + * bdf_fonts + * cid_fonts + * pfr_fonts + * winfnt_fonts + * svg_fonts + * font_formats + * gasp_table + * + */ + + + /************************************************************************** + * + * @chapter: + * module_specific + * + * @title: + * Controlling FreeType Modules + * + * @sections: + * auto_hinter + * cff_driver + * t1_cid_driver + * tt_driver + * pcf_driver + * ot_svg_driver + * properties + * parameter_tags + * lcd_rendering + * + */ + + + /************************************************************************** + * + * @chapter: + * cache_subsystem + * + * @title: + * Cache Sub-System + * + * @sections: + * cache_subsystem + * + */ + + + /************************************************************************** + * + * @chapter: + * support_api + * + * @title: + * Support API + * + * @sections: + * computations + * list_processing + * outline_processing + * quick_advance + * bitmap_handling + * raster + * glyph_stroker + * system_interface + * module_management + * gzip + * lzw + * bzip2 + * debugging_apis + * + */ + + + /************************************************************************** + * + * @chapter: + * error_codes + * + * @title: + * Error Codes + * + * @sections: + * error_enumerations + * error_code_values + * + */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcid.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcid.h new file mode 100644 index 0000000..ef22939 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcid.h @@ -0,0 +1,167 @@ +/**************************************************************************** + * + * ftcid.h + * + * FreeType API for accessing CID font information (specification). + * + * Copyright (C) 2007-2023 by + * Dereg Clegg and Michael Toftdal. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTCID_H_ +#define FTCID_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * cid_fonts + * + * @title: + * CID Fonts + * + * @abstract: + * CID-keyed font-specific API. + * + * @description: + * This section contains the declaration of CID-keyed font-specific + * functions. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Get_CID_Registry_Ordering_Supplement + * + * @description: + * Retrieve the Registry/Ordering/Supplement triple (also known as the + * "R/O/S") from a CID-keyed font. + * + * @input: + * face :: + * A handle to the input face. + * + * @output: + * registry :: + * The registry, as a C~string, owned by the face. + * + * ordering :: + * The ordering, as a C~string, owned by the face. + * + * supplement :: + * The supplement. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with CID faces, returning an error + * otherwise. + * + * @since: + * 2.3.6 + */ + FT_EXPORT( FT_Error ) + FT_Get_CID_Registry_Ordering_Supplement( FT_Face face, + const char* *registry, + const char* *ordering, + FT_Int *supplement ); + + + /************************************************************************** + * + * @function: + * FT_Get_CID_Is_Internally_CID_Keyed + * + * @description: + * Retrieve the type of the input face, CID keyed or not. In contrast + * to the @FT_IS_CID_KEYED macro this function returns successfully also + * for CID-keyed fonts in an SFNT wrapper. + * + * @input: + * face :: + * A handle to the input face. + * + * @output: + * is_cid :: + * The type of the face as an @FT_Bool. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with CID faces and OpenType fonts, returning + * an error otherwise. + * + * @since: + * 2.3.9 + */ + FT_EXPORT( FT_Error ) + FT_Get_CID_Is_Internally_CID_Keyed( FT_Face face, + FT_Bool *is_cid ); + + + /************************************************************************** + * + * @function: + * FT_Get_CID_From_Glyph_Index + * + * @description: + * Retrieve the CID of the input glyph index. + * + * @input: + * face :: + * A handle to the input face. + * + * glyph_index :: + * The input glyph index. + * + * @output: + * cid :: + * The CID as an @FT_UInt. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with CID faces and OpenType fonts, returning + * an error otherwise. + * + * @since: + * 2.3.9 + */ + FT_EXPORT( FT_Error ) + FT_Get_CID_From_Glyph_Index( FT_Face face, + FT_UInt glyph_index, + FT_UInt *cid ); + + /* */ + + +FT_END_HEADER + +#endif /* FTCID_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcolor.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcolor.h new file mode 100644 index 0000000..eae200f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftcolor.h @@ -0,0 +1,1667 @@ +/**************************************************************************** + * + * ftcolor.h + * + * FreeType's glyph color management (specification). + * + * Copyright (C) 2018-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTCOLOR_H_ +#define FTCOLOR_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * color_management + * + * @title: + * Glyph Color Management + * + * @abstract: + * Retrieving and manipulating OpenType's 'CPAL' table data. + * + * @description: + * The functions described here allow access and manipulation of color + * palette entries in OpenType's 'CPAL' tables. + */ + + + /************************************************************************** + * + * @struct: + * FT_Color + * + * @description: + * This structure models a BGRA color value of a 'CPAL' palette entry. + * + * The used color space is sRGB; the colors are not pre-multiplied, and + * alpha values must be explicitly set. + * + * @fields: + * blue :: + * Blue value. + * + * green :: + * Green value. + * + * red :: + * Red value. + * + * alpha :: + * Alpha value, giving the red, green, and blue color's opacity. + * + * @since: + * 2.10 + */ + typedef struct FT_Color_ + { + FT_Byte blue; + FT_Byte green; + FT_Byte red; + FT_Byte alpha; + + } FT_Color; + + + /************************************************************************** + * + * @enum: + * FT_PALETTE_XXX + * + * @description: + * A list of bit field constants used in the `palette_flags` array of the + * @FT_Palette_Data structure to indicate for which background a palette + * with a given index is usable. + * + * @values: + * FT_PALETTE_FOR_LIGHT_BACKGROUND :: + * The palette is appropriate to use when displaying the font on a + * light background such as white. + * + * FT_PALETTE_FOR_DARK_BACKGROUND :: + * The palette is appropriate to use when displaying the font on a dark + * background such as black. + * + * @since: + * 2.10 + */ +#define FT_PALETTE_FOR_LIGHT_BACKGROUND 0x01 +#define FT_PALETTE_FOR_DARK_BACKGROUND 0x02 + + + /************************************************************************** + * + * @struct: + * FT_Palette_Data + * + * @description: + * This structure holds the data of the 'CPAL' table. + * + * @fields: + * num_palettes :: + * The number of palettes. + * + * palette_name_ids :: + * An optional read-only array of palette name IDs with `num_palettes` + * elements, corresponding to entries like 'dark' or 'light' in the + * font's 'name' table. + * + * An empty name ID in the 'CPAL' table gets represented as value + * 0xFFFF. + * + * `NULL` if the font's 'CPAL' table doesn't contain appropriate data. + * + * palette_flags :: + * An optional read-only array of palette flags with `num_palettes` + * elements. Possible values are an ORed combination of + * @FT_PALETTE_FOR_LIGHT_BACKGROUND and + * @FT_PALETTE_FOR_DARK_BACKGROUND. + * + * `NULL` if the font's 'CPAL' table doesn't contain appropriate data. + * + * num_palette_entries :: + * The number of entries in a single palette. All palettes have the + * same size. + * + * palette_entry_name_ids :: + * An optional read-only array of palette entry name IDs with + * `num_palette_entries`. In each palette, entries with the same index + * have the same function. For example, index~0 might correspond to + * string 'outline' in the font's 'name' table to indicate that this + * palette entry is used for outlines, index~1 might correspond to + * 'fill' to indicate the filling color palette entry, etc. + * + * An empty entry name ID in the 'CPAL' table gets represented as value + * 0xFFFF. + * + * `NULL` if the font's 'CPAL' table doesn't contain appropriate data. + * + * @note: + * Use function @FT_Get_Sfnt_Name to map name IDs and entry name IDs to + * name strings. + * + * Use function @FT_Palette_Select to get the colors associated with a + * palette entry. + * + * @since: + * 2.10 + */ + typedef struct FT_Palette_Data_ { + FT_UShort num_palettes; + const FT_UShort* palette_name_ids; + const FT_UShort* palette_flags; + + FT_UShort num_palette_entries; + const FT_UShort* palette_entry_name_ids; + + } FT_Palette_Data; + + + /************************************************************************** + * + * @function: + * FT_Palette_Data_Get + * + * @description: + * Retrieve the face's color palette data. + * + * @input: + * face :: + * The source face handle. + * + * @output: + * apalette :: + * A pointer to an @FT_Palette_Data structure. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * All arrays in the returned @FT_Palette_Data structure are read-only. + * + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_COLOR_LAYERS` is not defined in `ftoption.h`. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Palette_Data_Get( FT_Face face, + FT_Palette_Data *apalette ); + + + /************************************************************************** + * + * @function: + * FT_Palette_Select + * + * @description: + * This function has two purposes. + * + * (1) It activates a palette for rendering color glyphs, and + * + * (2) it retrieves all (unmodified) color entries of this palette. This + * function returns a read-write array, which means that a calling + * application can modify the palette entries on demand. + * + * A corollary of (2) is that calling the function, then modifying some + * values, then calling the function again with the same arguments resets + * all color entries to the original 'CPAL' values; all user modifications + * are lost. + * + * @input: + * face :: + * The source face handle. + * + * palette_index :: + * The palette index. + * + * @output: + * apalette :: + * An array of color entries for a palette with index `palette_index`, + * having `num_palette_entries` elements (as found in the + * `FT_Palette_Data` structure). If `apalette` is set to `NULL`, no + * array gets returned (and no color entries can be modified). + * + * In case the font doesn't support color palettes, `NULL` is returned. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The array pointed to by `apalette_entries` is owned and managed by + * FreeType. + * + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_COLOR_LAYERS` is not defined in `ftoption.h`. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Palette_Select( FT_Face face, + FT_UShort palette_index, + FT_Color* *apalette ); + + + /************************************************************************** + * + * @function: + * FT_Palette_Set_Foreground_Color + * + * @description: + * 'COLR' uses palette index 0xFFFF to indicate a 'text foreground + * color'. This function sets this value. + * + * @input: + * face :: + * The source face handle. + * + * foreground_color :: + * An `FT_Color` structure to define the text foreground color. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If this function isn't called, the text foreground color is set to + * white opaque (BGRA value 0xFFFFFFFF) if + * @FT_PALETTE_FOR_DARK_BACKGROUND is present for the current palette, + * and black opaque (BGRA value 0x000000FF) otherwise, including the case + * that no palette types are available in the 'CPAL' table. + * + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_COLOR_LAYERS` is not defined in `ftoption.h`. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Palette_Set_Foreground_Color( FT_Face face, + FT_Color foreground_color ); + + + /************************************************************************** + * + * @section: + * layer_management + * + * @title: + * Glyph Layer Management + * + * @abstract: + * Retrieving and manipulating OpenType's 'COLR' table data. + * + * @description: + * The functions described here allow access of colored glyph layer data + * in OpenType's 'COLR' tables. + */ + + + /************************************************************************** + * + * @struct: + * FT_LayerIterator + * + * @description: + * This iterator object is needed for @FT_Get_Color_Glyph_Layer. + * + * @fields: + * num_layers :: + * The number of glyph layers for the requested glyph index. Will be + * set by @FT_Get_Color_Glyph_Layer. + * + * layer :: + * The current layer. Will be set by @FT_Get_Color_Glyph_Layer. + * + * p :: + * An opaque pointer into 'COLR' table data. The caller must set this + * to `NULL` before the first call of @FT_Get_Color_Glyph_Layer. + */ + typedef struct FT_LayerIterator_ + { + FT_UInt num_layers; + FT_UInt layer; + FT_Byte* p; + + } FT_LayerIterator; + + + /************************************************************************** + * + * @function: + * FT_Get_Color_Glyph_Layer + * + * @description: + * This is an interface to the 'COLR' table in OpenType fonts to + * iteratively retrieve the colored glyph layers associated with the + * current glyph slot. + * + * https://docs.microsoft.com/en-us/typography/opentype/spec/colr + * + * The glyph layer data for a given glyph index, if present, provides an + * alternative, multi-color glyph representation: Instead of rendering + * the outline or bitmap with the given glyph index, glyphs with the + * indices and colors returned by this function are rendered layer by + * layer. + * + * The returned elements are ordered in the z~direction from bottom to + * top; the 'n'th element should be rendered with the associated palette + * color and blended on top of the already rendered layers (elements 0, + * 1, ..., n-1). + * + * @input: + * face :: + * A handle to the parent face object. + * + * base_glyph :: + * The glyph index the colored glyph layers are associated with. + * + * @inout: + * iterator :: + * An @FT_LayerIterator object. For the first call you should set + * `iterator->p` to `NULL`. For all following calls, simply use the + * same object again. + * + * @output: + * aglyph_index :: + * The glyph index of the current layer. + * + * acolor_index :: + * The color index into the font face's color palette of the current + * layer. The value 0xFFFF is special; it doesn't reference a palette + * entry but indicates that the text foreground color should be used + * instead (to be set up by the application outside of FreeType). + * + * The color palette can be retrieved with @FT_Palette_Select. + * + * @return: + * Value~1 if everything is OK. If there are no more layers (or if there + * are no layers at all), value~0 gets returned. In case of an error, + * value~0 is returned also. + * + * @note: + * This function is necessary if you want to handle glyph layers by + * yourself. In particular, functions that operate with @FT_GlyphRec + * objects (like @FT_Get_Glyph or @FT_Glyph_To_Bitmap) don't have access + * to this information. + * + * Note that @FT_Render_Glyph is able to handle colored glyph layers + * automatically if the @FT_LOAD_COLOR flag is passed to a previous call + * to @FT_Load_Glyph. [This is an experimental feature.] + * + * @example: + * ``` + * FT_Color* palette; + * FT_LayerIterator iterator; + * + * FT_Bool have_layers; + * FT_UInt layer_glyph_index; + * FT_UInt layer_color_index; + * + * + * error = FT_Palette_Select( face, palette_index, &palette ); + * if ( error ) + * palette = NULL; + * + * iterator.p = NULL; + * have_layers = FT_Get_Color_Glyph_Layer( face, + * glyph_index, + * &layer_glyph_index, + * &layer_color_index, + * &iterator ); + * + * if ( palette && have_layers ) + * { + * do + * { + * FT_Color layer_color; + * + * + * if ( layer_color_index == 0xFFFF ) + * layer_color = text_foreground_color; + * else + * layer_color = palette[layer_color_index]; + * + * // Load and render glyph `layer_glyph_index', then + * // blend resulting pixmap (using color `layer_color') + * // with previously created pixmaps. + * + * } while ( FT_Get_Color_Glyph_Layer( face, + * glyph_index, + * &layer_glyph_index, + * &layer_color_index, + * &iterator ) ); + * } + * ``` + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Color_Glyph_Layer( FT_Face face, + FT_UInt base_glyph, + FT_UInt *aglyph_index, + FT_UInt *acolor_index, + FT_LayerIterator* iterator ); + + + /************************************************************************** + * + * @enum: + * FT_PaintFormat + * + * @description: + * Enumeration describing the different paint format types of the v1 + * extensions to the 'COLR' table, see + * 'https://github.com/googlefonts/colr-gradients-spec'. + * + * The enumeration values loosely correspond with the format numbers of + * the specification: FreeType always returns a fully specified 'Paint' + * structure for the 'Transform', 'Translate', 'Scale', 'Rotate', and + * 'Skew' table types even though the specification has different formats + * depending on whether or not a center is specified, whether the scale + * is uniform in x and y~direction or not, etc. Also, only non-variable + * format identifiers are listed in this enumeration; as soon as support + * for variable 'COLR' v1 fonts is implemented, interpolation is + * performed dependent on axis coordinates, which are configured on the + * @FT_Face through @FT_Set_Var_Design_Coordinates. This implies that + * always static, readily interpolated values are returned in the 'Paint' + * structures. + * + * @since: + * 2.13 + */ + typedef enum FT_PaintFormat_ + { + FT_COLR_PAINTFORMAT_COLR_LAYERS = 1, + FT_COLR_PAINTFORMAT_SOLID = 2, + FT_COLR_PAINTFORMAT_LINEAR_GRADIENT = 4, + FT_COLR_PAINTFORMAT_RADIAL_GRADIENT = 6, + FT_COLR_PAINTFORMAT_SWEEP_GRADIENT = 8, + FT_COLR_PAINTFORMAT_GLYPH = 10, + FT_COLR_PAINTFORMAT_COLR_GLYPH = 11, + FT_COLR_PAINTFORMAT_TRANSFORM = 12, + FT_COLR_PAINTFORMAT_TRANSLATE = 14, + FT_COLR_PAINTFORMAT_SCALE = 16, + FT_COLR_PAINTFORMAT_ROTATE = 24, + FT_COLR_PAINTFORMAT_SKEW = 28, + FT_COLR_PAINTFORMAT_COMPOSITE = 32, + FT_COLR_PAINT_FORMAT_MAX = 33, + FT_COLR_PAINTFORMAT_UNSUPPORTED = 255 + + } FT_PaintFormat; + + + /************************************************************************** + * + * @struct: + * FT_ColorStopIterator + * + * @description: + * This iterator object is needed for @FT_Get_Colorline_Stops. It keeps + * state while iterating over the stops of an @FT_ColorLine, representing + * the `ColorLine` struct of the v1 extensions to 'COLR', see + * 'https://github.com/googlefonts/colr-gradients-spec'. Do not manually + * modify fields of this iterator. + * + * @fields: + * num_color_stops :: + * The number of color stops for the requested glyph index. Set by + * @FT_Get_Paint. + * + * current_color_stop :: + * The current color stop. Set by @FT_Get_Colorline_Stops. + * + * p :: + * An opaque pointer into 'COLR' table data. Set by @FT_Get_Paint. + * Updated by @FT_Get_Colorline_Stops. + * + * read_variable :: + * A boolean keeping track of whether variable color lines are to be + * read. Set by @FT_Get_Paint. + * + * @since: + * 2.13 + */ + typedef struct FT_ColorStopIterator_ + { + FT_UInt num_color_stops; + FT_UInt current_color_stop; + + FT_Byte* p; + + FT_Bool read_variable; + + } FT_ColorStopIterator; + + + /************************************************************************** + * + * @struct: + * FT_ColorIndex + * + * @description: + * A structure representing a `ColorIndex` value of the 'COLR' v1 + * extensions, see 'https://github.com/googlefonts/colr-gradients-spec'. + * + * @fields: + * palette_index :: + * The palette index into a 'CPAL' palette. + * + * alpha :: + * Alpha transparency value multiplied with the value from 'CPAL'. + * + * @since: + * 2.13 + */ + typedef struct FT_ColorIndex_ + { + FT_UInt16 palette_index; + FT_F2Dot14 alpha; + + } FT_ColorIndex; + + + /************************************************************************** + * + * @struct: + * FT_ColorStop + * + * @description: + * A structure representing a `ColorStop` value of the 'COLR' v1 + * extensions, see 'https://github.com/googlefonts/colr-gradients-spec'. + * + * @fields: + * stop_offset :: + * The stop offset along the gradient, expressed as a 16.16 fixed-point + * coordinate. + * + * color :: + * The color information for this stop, see @FT_ColorIndex. + * + * @since: + * 2.13 + */ + typedef struct FT_ColorStop_ + { + FT_Fixed stop_offset; + FT_ColorIndex color; + + } FT_ColorStop; + + + /************************************************************************** + * + * @enum: + * FT_PaintExtend + * + * @description: + * An enumeration representing the 'Extend' mode of the 'COLR' v1 + * extensions, see 'https://github.com/googlefonts/colr-gradients-spec'. + * It describes how the gradient fill continues at the other boundaries. + * + * @since: + * 2.13 + */ + typedef enum FT_PaintExtend_ + { + FT_COLR_PAINT_EXTEND_PAD = 0, + FT_COLR_PAINT_EXTEND_REPEAT = 1, + FT_COLR_PAINT_EXTEND_REFLECT = 2 + + } FT_PaintExtend; + + + /************************************************************************** + * + * @struct: + * FT_ColorLine + * + * @description: + * A structure representing a `ColorLine` value of the 'COLR' v1 + * extensions, see 'https://github.com/googlefonts/colr-gradients-spec'. + * It describes a list of color stops along the defined gradient. + * + * @fields: + * extend :: + * The extend mode at the outer boundaries, see @FT_PaintExtend. + * + * color_stop_iterator :: + * The @FT_ColorStopIterator used to enumerate and retrieve the + * actual @FT_ColorStop's. + * + * @since: + * 2.13 + */ + typedef struct FT_ColorLine_ + { + FT_PaintExtend extend; + FT_ColorStopIterator color_stop_iterator; + + } FT_ColorLine; + + + /************************************************************************** + * + * @struct: + * FT_Affine23 + * + * @description: + * A structure used to store a 2x3 matrix. Coefficients are in + * 16.16 fixed-point format. The computation performed is + * + * ``` + * x' = x*xx + y*xy + dx + * y' = x*yx + y*yy + dy + * ``` + * + * @fields: + * xx :: + * Matrix coefficient. + * + * xy :: + * Matrix coefficient. + * + * dx :: + * x translation. + * + * yx :: + * Matrix coefficient. + * + * yy :: + * Matrix coefficient. + * + * dy :: + * y translation. + * + * @since: + * 2.13 + */ + typedef struct FT_Affine_23_ + { + FT_Fixed xx, xy, dx; + FT_Fixed yx, yy, dy; + + } FT_Affine23; + + + /************************************************************************** + * + * @enum: + * FT_Composite_Mode + * + * @description: + * An enumeration listing the 'COLR' v1 composite modes used in + * @FT_PaintComposite. For more details on each paint mode, see + * 'https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators'. + * + * @since: + * 2.13 + */ + typedef enum FT_Composite_Mode_ + { + FT_COLR_COMPOSITE_CLEAR = 0, + FT_COLR_COMPOSITE_SRC = 1, + FT_COLR_COMPOSITE_DEST = 2, + FT_COLR_COMPOSITE_SRC_OVER = 3, + FT_COLR_COMPOSITE_DEST_OVER = 4, + FT_COLR_COMPOSITE_SRC_IN = 5, + FT_COLR_COMPOSITE_DEST_IN = 6, + FT_COLR_COMPOSITE_SRC_OUT = 7, + FT_COLR_COMPOSITE_DEST_OUT = 8, + FT_COLR_COMPOSITE_SRC_ATOP = 9, + FT_COLR_COMPOSITE_DEST_ATOP = 10, + FT_COLR_COMPOSITE_XOR = 11, + FT_COLR_COMPOSITE_PLUS = 12, + FT_COLR_COMPOSITE_SCREEN = 13, + FT_COLR_COMPOSITE_OVERLAY = 14, + FT_COLR_COMPOSITE_DARKEN = 15, + FT_COLR_COMPOSITE_LIGHTEN = 16, + FT_COLR_COMPOSITE_COLOR_DODGE = 17, + FT_COLR_COMPOSITE_COLOR_BURN = 18, + FT_COLR_COMPOSITE_HARD_LIGHT = 19, + FT_COLR_COMPOSITE_SOFT_LIGHT = 20, + FT_COLR_COMPOSITE_DIFFERENCE = 21, + FT_COLR_COMPOSITE_EXCLUSION = 22, + FT_COLR_COMPOSITE_MULTIPLY = 23, + FT_COLR_COMPOSITE_HSL_HUE = 24, + FT_COLR_COMPOSITE_HSL_SATURATION = 25, + FT_COLR_COMPOSITE_HSL_COLOR = 26, + FT_COLR_COMPOSITE_HSL_LUMINOSITY = 27, + FT_COLR_COMPOSITE_MAX = 28 + + } FT_Composite_Mode; + + + /************************************************************************** + * + * @struct: + * FT_OpaquePaint + * + * @description: + * A structure representing an offset to a `Paint` value stored in any + * of the paint tables of a 'COLR' v1 font. Compare Offset<24> there. + * When 'COLR' v1 paint tables represented by FreeType objects such as + * @FT_PaintColrLayers, @FT_PaintComposite, or @FT_PaintTransform + * reference downstream nested paint tables, we do not immediately + * retrieve them but encapsulate their location in this type. Use + * @FT_Get_Paint to retrieve the actual @FT_COLR_Paint object that + * describes the details of the respective paint table. + * + * @fields: + * p :: + * An internal offset to a Paint table, needs to be set to NULL before + * passing this struct as an argument to @FT_Get_Paint. + * + * insert_root_transform :: + * An internal boolean to track whether an initial root transform is + * to be provided. Do not set this value. + * + * @since: + * 2.13 + */ + typedef struct FT_Opaque_Paint_ + { + FT_Byte* p; + FT_Bool insert_root_transform; + } FT_OpaquePaint; + + + /************************************************************************** + * + * @struct: + * FT_PaintColrLayers + * + * @description: + * A structure representing a `PaintColrLayers` table of a 'COLR' v1 + * font. This table describes a set of layers that are to be composited + * with composite mode `FT_COLR_COMPOSITE_SRC_OVER`. The return value + * of this function is an @FT_LayerIterator initialized so that it can + * be used with @FT_Get_Paint_Layers to retrieve the @FT_OpaquePaint + * objects as references to each layer. + * + * @fields: + * layer_iterator :: + * The layer iterator that describes the layers of this paint. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintColrLayers_ + { + FT_LayerIterator layer_iterator; + + } FT_PaintColrLayers; + + + /************************************************************************** + * + * @struct: + * FT_PaintSolid + * + * @description: + * A structure representing a `PaintSolid` value of the 'COLR' v1 + * extensions, see 'https://github.com/googlefonts/colr-gradients-spec'. + * Using a `PaintSolid` value means that the glyph layer filled with + * this paint is solid-colored and does not contain a gradient. + * + * @fields: + * color :: + * The color information for this solid paint, see @FT_ColorIndex. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintSolid_ + { + FT_ColorIndex color; + + } FT_PaintSolid; + + + /************************************************************************** + * + * @struct: + * FT_PaintLinearGradient + * + * @description: + * A structure representing a `PaintLinearGradient` value of the 'COLR' + * v1 extensions, see + * 'https://github.com/googlefonts/colr-gradients-spec'. The glyph + * layer filled with this paint is drawn filled with a linear gradient. + * + * @fields: + * colorline :: + * The @FT_ColorLine information for this paint, i.e., the list of + * color stops along the gradient. + * + * p0 :: + * The starting point of the gradient definition in font units + * represented as a 16.16 fixed-point `FT_Vector`. + * + * p1 :: + * The end point of the gradient definition in font units + * represented as a 16.16 fixed-point `FT_Vector`. + * + * p2 :: + * Optional point~p2 to rotate the gradient in font units + * represented as a 16.16 fixed-point `FT_Vector`. + * Otherwise equal to~p0. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintLinearGradient_ + { + FT_ColorLine colorline; + + /* TODO: Potentially expose those as x0, y0 etc. */ + FT_Vector p0; + FT_Vector p1; + FT_Vector p2; + + } FT_PaintLinearGradient; + + + /************************************************************************** + * + * @struct: + * FT_PaintRadialGradient + * + * @description: + * A structure representing a `PaintRadialGradient` value of the 'COLR' + * v1 extensions, see + * 'https://github.com/googlefonts/colr-gradients-spec'. The glyph + * layer filled with this paint is drawn filled with a radial gradient. + * + * @fields: + * colorline :: + * The @FT_ColorLine information for this paint, i.e., the list of + * color stops along the gradient. + * + * c0 :: + * The center of the starting point of the radial gradient in font + * units represented as a 16.16 fixed-point `FT_Vector`. + * + * r0 :: + * The radius of the starting circle of the radial gradient in font + * units represented as a 16.16 fixed-point value. + * + * c1 :: + * The center of the end point of the radial gradient in font units + * represented as a 16.16 fixed-point `FT_Vector`. + * + * r1 :: + * The radius of the end circle of the radial gradient in font + * units represented as a 16.16 fixed-point value. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintRadialGradient_ + { + FT_ColorLine colorline; + + FT_Vector c0; + FT_Pos r0; + FT_Vector c1; + FT_Pos r1; + + } FT_PaintRadialGradient; + + + /************************************************************************** + * + * @struct: + * FT_PaintSweepGradient + * + * @description: + * A structure representing a `PaintSweepGradient` value of the 'COLR' + * v1 extensions, see + * 'https://github.com/googlefonts/colr-gradients-spec'. The glyph + * layer filled with this paint is drawn filled with a sweep gradient + * from `start_angle` to `end_angle`. + * + * @fields: + * colorline :: + * The @FT_ColorLine information for this paint, i.e., the list of + * color stops along the gradient. + * + * center :: + * The center of the sweep gradient in font units represented as a + * vector of 16.16 fixed-point values. + * + * start_angle :: + * The start angle of the sweep gradient in 16.16 fixed-point + * format specifying degrees divided by 180.0 (as in the + * spec). Multiply by 180.0f to receive degrees value. Values are + * given counter-clockwise, starting from the (positive) y~axis. + * + * end_angle :: + * The end angle of the sweep gradient in 16.16 fixed-point + * format specifying degrees divided by 180.0 (as in the + * spec). Multiply by 180.0f to receive degrees value. Values are + * given counter-clockwise, starting from the (positive) y~axis. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintSweepGradient_ + { + FT_ColorLine colorline; + + FT_Vector center; + FT_Fixed start_angle; + FT_Fixed end_angle; + + } FT_PaintSweepGradient; + + + /************************************************************************** + * + * @struct: + * FT_PaintGlyph + * + * @description: + * A structure representing a 'COLR' v1 `PaintGlyph` paint table. + * + * @fields: + * paint :: + * An opaque paint object pointing to a `Paint` table that serves as + * the fill for the glyph ID. + * + * glyphID :: + * The glyph ID from the 'glyf' table, which serves as the contour + * information that is filled with paint. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintGlyph_ + { + FT_OpaquePaint paint; + FT_UInt glyphID; + + } FT_PaintGlyph; + + + /************************************************************************** + * + * @struct: + * FT_PaintColrGlyph + * + * @description: + * A structure representing a 'COLR' v1 `PaintColorGlyph` paint table. + * + * @fields: + * glyphID :: + * The glyph ID from the `BaseGlyphV1List` table that is drawn for + * this paint. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintColrGlyph_ + { + FT_UInt glyphID; + + } FT_PaintColrGlyph; + + + /************************************************************************** + * + * @struct: + * FT_PaintTransform + * + * @description: + * A structure representing a 'COLR' v1 `PaintTransform` paint table. + * + * @fields: + * paint :: + * An opaque paint that is subject to being transformed. + * + * affine :: + * A 2x3 transformation matrix in @FT_Affine23 format containing + * 16.16 fixed-point values. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintTransform_ + { + FT_OpaquePaint paint; + FT_Affine23 affine; + + } FT_PaintTransform; + + + /************************************************************************** + * + * @struct: + * FT_PaintTranslate + * + * @description: + * A structure representing a 'COLR' v1 `PaintTranslate` paint table. + * Used for translating downstream paints by a given x and y~delta. + * + * @fields: + * paint :: + * An @FT_OpaquePaint object referencing the paint that is to be + * rotated. + * + * dx :: + * Translation in x~direction in font units represented as a + * 16.16 fixed-point value. + * + * dy :: + * Translation in y~direction in font units represented as a + * 16.16 fixed-point value. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintTranslate_ + { + FT_OpaquePaint paint; + + FT_Fixed dx; + FT_Fixed dy; + + } FT_PaintTranslate; + + + /************************************************************************** + * + * @struct: + * FT_PaintScale + * + * @description: + * A structure representing all of the 'COLR' v1 'PaintScale*' paint + * tables. Used for scaling downstream paints by a given x and y~scale, + * with a given center. This structure is used for all 'PaintScale*' + * types that are part of specification; fields of this structure are + * filled accordingly. If there is a center, the center values are set, + * otherwise they are set to the zero coordinate. If the source font + * file has 'PaintScaleUniform*' set, the scale values are set + * accordingly to the same value. + * + * @fields: + * paint :: + * An @FT_OpaquePaint object referencing the paint that is to be + * scaled. + * + * scale_x :: + * Scale factor in x~direction represented as a + * 16.16 fixed-point value. + * + * scale_y :: + * Scale factor in y~direction represented as a + * 16.16 fixed-point value. + * + * center_x :: + * x~coordinate of center point to scale from represented as a + * 16.16 fixed-point value. + * + * center_y :: + * y~coordinate of center point to scale from represented as a + * 16.16 fixed-point value. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintScale_ + { + FT_OpaquePaint paint; + + FT_Fixed scale_x; + FT_Fixed scale_y; + + FT_Fixed center_x; + FT_Fixed center_y; + + } FT_PaintScale; + + + /************************************************************************** + * + * @struct: + * FT_PaintRotate + * + * @description: + * A structure representing a 'COLR' v1 `PaintRotate` paint table. Used + * for rotating downstream paints with a given center and angle. + * + * @fields: + * paint :: + * An @FT_OpaquePaint object referencing the paint that is to be + * rotated. + * + * angle :: + * The rotation angle that is to be applied in degrees divided by + * 180.0 (as in the spec) represented as a 16.16 fixed-point + * value. Multiply by 180.0f to receive degrees value. + * + * center_x :: + * The x~coordinate of the pivot point of the rotation in font + * units represented as a 16.16 fixed-point value. + * + * center_y :: + * The y~coordinate of the pivot point of the rotation in font + * units represented as a 16.16 fixed-point value. + * + * @since: + * 2.13 + */ + + typedef struct FT_PaintRotate_ + { + FT_OpaquePaint paint; + + FT_Fixed angle; + + FT_Fixed center_x; + FT_Fixed center_y; + + } FT_PaintRotate; + + + /************************************************************************** + * + * @struct: + * FT_PaintSkew + * + * @description: + * A structure representing a 'COLR' v1 `PaintSkew` paint table. Used + * for skewing or shearing downstream paints by a given center and + * angle. + * + * @fields: + * paint :: + * An @FT_OpaquePaint object referencing the paint that is to be + * skewed. + * + * x_skew_angle :: + * The skewing angle in x~direction in degrees divided by 180.0 + * (as in the spec) represented as a 16.16 fixed-point + * value. Multiply by 180.0f to receive degrees. + * + * y_skew_angle :: + * The skewing angle in y~direction in degrees divided by 180.0 + * (as in the spec) represented as a 16.16 fixed-point + * value. Multiply by 180.0f to receive degrees. + * + * center_x :: + * The x~coordinate of the pivot point of the skew in font units + * represented as a 16.16 fixed-point value. + * + * center_y :: + * The y~coordinate of the pivot point of the skew in font units + * represented as a 16.16 fixed-point value. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintSkew_ + { + FT_OpaquePaint paint; + + FT_Fixed x_skew_angle; + FT_Fixed y_skew_angle; + + FT_Fixed center_x; + FT_Fixed center_y; + + } FT_PaintSkew; + + + /************************************************************************** + * + * @struct: + * FT_PaintComposite + * + * @description: + * A structure representing a 'COLR' v1 `PaintComposite` paint table. + * Used for compositing two paints in a 'COLR' v1 directed acyclic graph. + * + * @fields: + * source_paint :: + * An @FT_OpaquePaint object referencing the source that is to be + * composited. + * + * composite_mode :: + * An @FT_Composite_Mode enum value determining the composition + * operation. + * + * backdrop_paint :: + * An @FT_OpaquePaint object referencing the backdrop paint that + * `source_paint` is composited onto. + * + * @since: + * 2.13 + */ + typedef struct FT_PaintComposite_ + { + FT_OpaquePaint source_paint; + FT_Composite_Mode composite_mode; + FT_OpaquePaint backdrop_paint; + + } FT_PaintComposite; + + + /************************************************************************** + * + * @union: + * FT_COLR_Paint + * + * @description: + * A union object representing format and details of a paint table of a + * 'COLR' v1 font, see + * 'https://github.com/googlefonts/colr-gradients-spec'. Use + * @FT_Get_Paint to retrieve a @FT_COLR_Paint for an @FT_OpaquePaint + * object. + * + * @fields: + * format :: + * The gradient format for this Paint structure. + * + * u :: + * Union of all paint table types: + * + * * @FT_PaintColrLayers + * * @FT_PaintGlyph + * * @FT_PaintSolid + * * @FT_PaintLinearGradient + * * @FT_PaintRadialGradient + * * @FT_PaintSweepGradient + * * @FT_PaintTransform + * * @FT_PaintTranslate + * * @FT_PaintRotate + * * @FT_PaintSkew + * * @FT_PaintComposite + * * @FT_PaintColrGlyph + * + * @since: + * 2.13 + */ + typedef struct FT_COLR_Paint_ + { + FT_PaintFormat format; + + union + { + FT_PaintColrLayers colr_layers; + FT_PaintGlyph glyph; + FT_PaintSolid solid; + FT_PaintLinearGradient linear_gradient; + FT_PaintRadialGradient radial_gradient; + FT_PaintSweepGradient sweep_gradient; + FT_PaintTransform transform; + FT_PaintTranslate translate; + FT_PaintScale scale; + FT_PaintRotate rotate; + FT_PaintSkew skew; + FT_PaintComposite composite; + FT_PaintColrGlyph colr_glyph; + + } u; + + } FT_COLR_Paint; + + + /************************************************************************** + * + * @enum: + * FT_Color_Root_Transform + * + * @description: + * An enumeration to specify whether @FT_Get_Color_Glyph_Paint is to + * return a root transform to configure the client's graphics context + * matrix. + * + * @values: + * FT_COLOR_INCLUDE_ROOT_TRANSFORM :: + * Do include the root transform as the initial @FT_COLR_Paint object. + * + * FT_COLOR_NO_ROOT_TRANSFORM :: + * Do not output an initial root transform. + * + * @since: + * 2.13 + */ + typedef enum FT_Color_Root_Transform_ + { + FT_COLOR_INCLUDE_ROOT_TRANSFORM, + FT_COLOR_NO_ROOT_TRANSFORM, + + FT_COLOR_ROOT_TRANSFORM_MAX + + } FT_Color_Root_Transform; + + + /************************************************************************** + * + * @struct: + * FT_ClipBox + * + * @description: + * A structure representing a 'COLR' v1 'ClipBox' table. 'COLR' v1 + * glyphs may optionally define a clip box for aiding allocation or + * defining a maximum drawable region. Use @FT_Get_Color_Glyph_ClipBox + * to retrieve it. + * + * @fields: + * bottom_left :: + * The bottom left corner of the clip box as an @FT_Vector with + * fixed-point coordinates in 26.6 format. + * + * top_left :: + * The top left corner of the clip box as an @FT_Vector with + * fixed-point coordinates in 26.6 format. + * + * top_right :: + * The top right corner of the clip box as an @FT_Vector with + * fixed-point coordinates in 26.6 format. + * + * bottom_right :: + * The bottom right corner of the clip box as an @FT_Vector with + * fixed-point coordinates in 26.6 format. + * + * @since: + * 2.13 + */ + typedef struct FT_ClipBox_ + { + FT_Vector bottom_left; + FT_Vector top_left; + FT_Vector top_right; + FT_Vector bottom_right; + + } FT_ClipBox; + + + /************************************************************************** + * + * @function: + * FT_Get_Color_Glyph_Paint + * + * @description: + * This is the starting point and interface to color gradient + * information in a 'COLR' v1 table in OpenType fonts to recursively + * retrieve the paint tables for the directed acyclic graph of a colored + * glyph, given a glyph ID. + * + * https://github.com/googlefonts/colr-gradients-spec + * + * In a 'COLR' v1 font, each color glyph defines a directed acyclic + * graph of nested paint tables, such as `PaintGlyph`, `PaintSolid`, + * `PaintLinearGradient`, `PaintRadialGradient`, and so on. Using this + * function and specifying a glyph ID, one retrieves the root paint + * table for this glyph ID. + * + * This function allows control whether an initial root transform is + * returned to configure scaling, transform, and translation correctly + * on the client's graphics context. The initial root transform is + * computed and returned according to the values configured for @FT_Size + * and @FT_Set_Transform on the @FT_Face object, see below for details + * of the `root_transform` parameter. This has implications for a + * client 'COLR' v1 implementation: When this function returns an + * initially computed root transform, at the time of executing the + * @FT_PaintGlyph operation, the contours should be retrieved using + * @FT_Load_Glyph at unscaled, untransformed size. This is because the + * root transform applied to the graphics context will take care of + * correct scaling. + * + * Alternatively, to allow hinting of contours, at the time of executing + * @FT_Load_Glyph, the current graphics context transformation matrix + * can be decomposed into a scaling matrix and a remainder, and + * @FT_Load_Glyph can be used to retrieve the contours at scaled size. + * Care must then be taken to blit or clip to the graphics context with + * taking this remainder transformation into account. + * + * @input: + * face :: + * A handle to the parent face object. + * + * base_glyph :: + * The glyph index for which to retrieve the root paint table. + * + * root_transform :: + * Specifies whether an initially computed root is returned by the + * @FT_PaintTransform operation to account for the activated size + * (see @FT_Activate_Size) and the configured transform and translate + * (see @FT_Set_Transform). + * + * This root transform is returned before nodes of the glyph graph of + * the font are returned. Subsequent @FT_COLR_Paint structures + * contain unscaled and untransformed values. The inserted root + * transform enables the client application to apply an initial + * transform to its graphics context. When executing subsequent + * FT_COLR_Paint operations, values from @FT_COLR_Paint operations + * will ultimately be correctly scaled because of the root transform + * applied to the graphics context. Use + * @FT_COLOR_INCLUDE_ROOT_TRANSFORM to include the root transform, use + * @FT_COLOR_NO_ROOT_TRANSFORM to not include it. The latter may be + * useful when traversing the 'COLR' v1 glyph graph and reaching a + * @FT_PaintColrGlyph. When recursing into @FT_PaintColrGlyph and + * painting that inline, no additional root transform is needed as it + * has already been applied to the graphics context at the beginning + * of drawing this glyph. + * + * @output: + * paint :: + * The @FT_OpaquePaint object that references the actual paint table. + * + * The respective actual @FT_COLR_Paint object is retrieved via + * @FT_Get_Paint. + * + * @return: + * Value~1 if everything is OK. If no color glyph is found, or the root + * paint could not be retrieved, value~0 gets returned. In case of an + * error, value~0 is returned also. + * + * @since: + * 2.13 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Color_Glyph_Paint( FT_Face face, + FT_UInt base_glyph, + FT_Color_Root_Transform root_transform, + FT_OpaquePaint* paint ); + + + /************************************************************************** + * + * @function: + * FT_Get_Color_Glyph_ClipBox + * + * @description: + * Search for a 'COLR' v1 clip box for the specified `base_glyph` and + * fill the `clip_box` parameter with the 'COLR' v1 'ClipBox' information + * if one is found. + * + * @input: + * face :: + * A handle to the parent face object. + * + * base_glyph :: + * The glyph index for which to retrieve the clip box. + * + * @output: + * clip_box :: + * The clip box for the requested `base_glyph` if one is found. The + * clip box is computed taking scale and transformations configured on + * the @FT_Face into account. @FT_ClipBox contains @FT_Vector values + * in 26.6 format. + * + * @return: + * Value~1 if a clip box is found. If no clip box is found or an error + * occured, value~0 is returned. + * + * @note: + * To retrieve the clip box in font units, reset scale to units-per-em + * and remove transforms configured using @FT_Set_Transform. + * + * @since: + * 2.13 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Color_Glyph_ClipBox( FT_Face face, + FT_UInt base_glyph, + FT_ClipBox* clip_box ); + + + /************************************************************************** + * + * @function: + * FT_Get_Paint_Layers + * + * @description: + * Access the layers of a `PaintColrLayers` table. + * + * If the root paint of a color glyph, or a nested paint of a 'COLR' + * glyph is a `PaintColrLayers` table, this function retrieves the + * layers of the `PaintColrLayers` table. + * + * The @FT_PaintColrLayers object contains an @FT_LayerIterator, which + * is used here to iterate over the layers. Each layer is returned as + * an @FT_OpaquePaint object, which then can be used with @FT_Get_Paint + * to retrieve the actual paint object. + * + * @input: + * face :: + * A handle to the parent face object. + * + * @inout: + * iterator :: + * The @FT_LayerIterator from an @FT_PaintColrLayers object, for which + * the layers are to be retrieved. The internal state of the iterator + * is incremented after one call to this function for retrieving one + * layer. + * + * @output: + * paint :: + * The @FT_OpaquePaint object that references the actual paint table. + * The respective actual @FT_COLR_Paint object is retrieved via + * @FT_Get_Paint. + * + * @return: + * Value~1 if everything is OK. Value~0 gets returned when the paint + * object can not be retrieved or any other error occurs. + * + * @since: + * 2.13 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Paint_Layers( FT_Face face, + FT_LayerIterator* iterator, + FT_OpaquePaint* paint ); + + + /************************************************************************** + * + * @function: + * FT_Get_Colorline_Stops + * + * @description: + * This is an interface to color gradient information in a 'COLR' v1 + * table in OpenType fonts to iteratively retrieve the gradient and + * solid fill information for colored glyph layers for a specified glyph + * ID. + * + * https://github.com/googlefonts/colr-gradients-spec + * + * @input: + * face :: + * A handle to the parent face object. + * + * @inout: + * iterator :: + * The retrieved @FT_ColorStopIterator, configured on an @FT_ColorLine, + * which in turn got retrieved via paint information in + * @FT_PaintLinearGradient or @FT_PaintRadialGradient. + * + * @output: + * color_stop :: + * Color index and alpha value for the retrieved color stop. + * + * @return: + * Value~1 if everything is OK. If there are no more color stops, + * value~0 gets returned. In case of an error, value~0 is returned + * also. + * + * @since: + * 2.13 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Colorline_Stops( FT_Face face, + FT_ColorStop* color_stop, + FT_ColorStopIterator* iterator ); + + + /************************************************************************** + * + * @function: + * FT_Get_Paint + * + * @description: + * Access the details of a paint using an @FT_OpaquePaint opaque paint + * object, which internally stores the offset to the respective `Paint` + * object in the 'COLR' table. + * + * @input: + * face :: + * A handle to the parent face object. + * + * opaque_paint :: + * The opaque paint object for which the underlying @FT_COLR_Paint + * data is to be retrieved. + * + * @output: + * paint :: + * The specific @FT_COLR_Paint object containing information coming + * from one of the font's `Paint*` tables. + * + * @return: + * Value~1 if everything is OK. Value~0 if no details can be found for + * this paint or any other error occured. + * + * @since: + * 2.13 + */ + FT_EXPORT( FT_Bool ) + FT_Get_Paint( FT_Face face, + FT_OpaquePaint opaque_paint, + FT_COLR_Paint* paint ); + + /* */ + + +FT_END_HEADER + +#endif /* FTCOLOR_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftdriver.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftdriver.h new file mode 100644 index 0000000..7af7465 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftdriver.h @@ -0,0 +1,1246 @@ +/**************************************************************************** + * + * ftdriver.h + * + * FreeType API for controlling driver modules (specification only). + * + * Copyright (C) 2017-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTDRIVER_H_ +#define FTDRIVER_H_ + +#include +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * auto_hinter + * + * @title: + * The auto-hinter + * + * @abstract: + * Controlling the auto-hinting module. + * + * @description: + * While FreeType's auto-hinter doesn't expose API functions by itself, + * it is possible to control its behaviour with @FT_Property_Set and + * @FT_Property_Get. The following lists the available properties + * together with the necessary macros and structures. + * + * Note that the auto-hinter's module name is 'autofitter' for historical + * reasons. + * + * Available properties are @increase-x-height, @no-stem-darkening + * (experimental), @darkening-parameters (experimental), + * @glyph-to-script-map (experimental), @fallback-script (experimental), + * and @default-script (experimental), as documented in the @properties + * section. + * + */ + + + /************************************************************************** + * + * @section: + * cff_driver + * + * @title: + * The CFF driver + * + * @abstract: + * Controlling the CFF driver module. + * + * @description: + * While FreeType's CFF driver doesn't expose API functions by itself, it + * is possible to control its behaviour with @FT_Property_Set and + * @FT_Property_Get. + * + * The CFF driver's module name is 'cff'. + * + * Available properties are @hinting-engine, @no-stem-darkening, + * @darkening-parameters, and @random-seed, as documented in the + * @properties section. + * + * + * **Hinting and anti-aliasing principles of the new engine** + * + * The rasterizer is positioning horizontal features (e.g., ascender + * height & x-height, or crossbars) on the pixel grid and minimizing the + * amount of anti-aliasing applied to them, while placing vertical + * features (vertical stems) on the pixel grid without hinting, thus + * representing the stem position and weight accurately. Sometimes the + * vertical stems may be only partially black. In this context, + * 'anti-aliasing' means that stems are not positioned exactly on pixel + * borders, causing a fuzzy appearance. + * + * There are two principles behind this approach. + * + * 1) No hinting in the horizontal direction: Unlike 'superhinted' + * TrueType, which changes glyph widths to accommodate regular + * inter-glyph spacing, Adobe's approach is 'faithful to the design' in + * representing both the glyph width and the inter-glyph spacing designed + * for the font. This makes the screen display as close as it can be to + * the result one would get with infinite resolution, while preserving + * what is considered the key characteristics of each glyph. Note that + * the distances between unhinted and grid-fitted positions at small + * sizes are comparable to kerning values and thus would be noticeable + * (and distracting) while reading if hinting were applied. + * + * One of the reasons to not hint horizontally is anti-aliasing for LCD + * screens: The pixel geometry of modern displays supplies three vertical + * subpixels as the eye moves horizontally across each visible pixel. On + * devices where we can be certain this characteristic is present a + * rasterizer can take advantage of the subpixels to add increments of + * weight. In Western writing systems this turns out to be the more + * critical direction anyway; the weights and spacing of vertical stems + * (see above) are central to Armenian, Cyrillic, Greek, and Latin type + * designs. Even when the rasterizer uses greyscale anti-aliasing instead + * of color (a necessary compromise when one doesn't know the screen + * characteristics), the unhinted vertical features preserve the design's + * weight and spacing much better than aliased type would. + * + * 2) Alignment in the vertical direction: Weights and spacing along the + * y~axis are less critical; what is much more important is the visual + * alignment of related features (like cap-height and x-height). The + * sense of alignment for these is enhanced by the sharpness of grid-fit + * edges, while the cruder vertical resolution (full pixels instead of + * 1/3 pixels) is less of a problem. + * + * On the technical side, horizontal alignment zones for ascender, + * x-height, and other important height values (traditionally called + * 'blue zones') as defined in the font are positioned independently, + * each being rounded to the nearest pixel edge, taking care of overshoot + * suppression at small sizes, stem darkening, and scaling. + * + * Hstems (that is, hint values defined in the font to help align + * horizontal features) that fall within a blue zone are said to be + * 'captured' and are aligned to that zone. Uncaptured stems are moved + * in one of four ways, top edge up or down, bottom edge up or down. + * Unless there are conflicting hstems, the smallest movement is taken to + * minimize distortion. + * + */ + + + /************************************************************************** + * + * @section: + * pcf_driver + * + * @title: + * The PCF driver + * + * @abstract: + * Controlling the PCF driver module. + * + * @description: + * While FreeType's PCF driver doesn't expose API functions by itself, it + * is possible to control its behaviour with @FT_Property_Set and + * @FT_Property_Get. Right now, there is a single property + * @no-long-family-names available if FreeType is compiled with + * PCF_CONFIG_OPTION_LONG_FAMILY_NAMES. + * + * The PCF driver's module name is 'pcf'. + * + */ + + + /************************************************************************** + * + * @section: + * t1_cid_driver + * + * @title: + * The Type 1 and CID drivers + * + * @abstract: + * Controlling the Type~1 and CID driver modules. + * + * @description: + * It is possible to control the behaviour of FreeType's Type~1 and + * Type~1 CID drivers with @FT_Property_Set and @FT_Property_Get. + * + * Behind the scenes, both drivers use the Adobe CFF engine for hinting; + * however, the used properties must be specified separately. + * + * The Type~1 driver's module name is 'type1'; the CID driver's module + * name is 't1cid'. + * + * Available properties are @hinting-engine, @no-stem-darkening, + * @darkening-parameters, and @random-seed, as documented in the + * @properties section. + * + * Please see the @cff_driver section for more details on the new hinting + * engine. + * + */ + + + /************************************************************************** + * + * @section: + * tt_driver + * + * @title: + * The TrueType driver + * + * @abstract: + * Controlling the TrueType driver module. + * + * @description: + * While FreeType's TrueType driver doesn't expose API functions by + * itself, it is possible to control its behaviour with @FT_Property_Set + * and @FT_Property_Get. + * + * The TrueType driver's module name is 'truetype'; a single property + * @interpreter-version is available, as documented in the @properties + * section. + * + * To help understand the differences between interpreter versions, we + * introduce a list of definitions, kindly provided by Greg Hitchcock. + * + * _Bi-Level Rendering_ + * + * Monochromatic rendering, exclusively used in the early days of + * TrueType by both Apple and Microsoft. Microsoft's GDI interface + * supported hinting of the right-side bearing point, such that the + * advance width could be non-linear. Most often this was done to + * achieve some level of glyph symmetry. To enable reasonable + * performance (e.g., not having to run hinting on all glyphs just to get + * the widths) there was a bit in the head table indicating if the side + * bearing was hinted, and additional tables, 'hdmx' and 'LTSH', to cache + * hinting widths across multiple sizes and device aspect ratios. + * + * _Font Smoothing_ + * + * Microsoft's GDI implementation of anti-aliasing. Not traditional + * anti-aliasing as the outlines were hinted before the sampling. The + * widths matched the bi-level rendering. + * + * _ClearType Rendering_ + * + * Technique that uses physical subpixels to improve rendering on LCD + * (and other) displays. Because of the higher resolution, many methods + * of improving symmetry in glyphs through hinting the right-side bearing + * were no longer necessary. This lead to what GDI calls 'natural + * widths' ClearType, see + * http://rastertragedy.com/RTRCh4.htm#Sec21. Since hinting + * has extra resolution, most non-linearity went away, but it is still + * possible for hints to change the advance widths in this mode. + * + * _ClearType Compatible Widths_ + * + * One of the earliest challenges with ClearType was allowing the + * implementation in GDI to be selected without requiring all UI and + * documents to reflow. To address this, a compatible method of + * rendering ClearType was added where the font hints are executed once + * to determine the width in bi-level rendering, and then re-run in + * ClearType, with the difference in widths being absorbed in the font + * hints for ClearType (mostly in the white space of hints); see + * http://rastertragedy.com/RTRCh4.htm#Sec20. Somewhat by + * definition, compatible width ClearType allows for non-linear widths, + * but only when the bi-level version has non-linear widths. + * + * _ClearType Subpixel Positioning_ + * + * One of the nice benefits of ClearType is the ability to more crisply + * display fractional widths; unfortunately, the GDI model of integer + * bitmaps did not support this. However, the WPF and Direct Write + * frameworks do support fractional widths. DWrite calls this 'natural + * mode', not to be confused with GDI's 'natural widths'. Subpixel + * positioning, in the current implementation of Direct Write, + * unfortunately does not support hinted advance widths, see + * http://rastertragedy.com/RTRCh4.htm#Sec22. Note that the + * TrueType interpreter fully allows the advance width to be adjusted in + * this mode, just the DWrite client will ignore those changes. + * + * _ClearType Backward Compatibility_ + * + * This is a set of exceptions made in the TrueType interpreter to + * minimize hinting techniques that were problematic with the extra + * resolution of ClearType; see + * http://rastertragedy.com/RTRCh4.htm#Sec1 and + * https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx. + * This technique is not to be confused with ClearType compatible widths. + * ClearType backward compatibility has no direct impact on changing + * advance widths, but there might be an indirect impact on disabling + * some deltas. This could be worked around in backward compatibility + * mode. + * + * _Native ClearType Mode_ + * + * (Not to be confused with 'natural widths'.) This mode removes all the + * exceptions in the TrueType interpreter when running with ClearType. + * Any issues on widths would still apply, though. + * + */ + + + /************************************************************************** + * + * @section: + * ot_svg_driver + * + * @title: + * The SVG driver + * + * @abstract: + * Controlling the external rendering of OT-SVG glyphs. + * + * @description: + * By default, FreeType can only load the 'SVG~' table of OpenType fonts + * if configuration macro `FT_CONFIG_OPTION_SVG` is defined. To make it + * render SVG glyphs, an external SVG rendering library is needed. All + * details on the interface between FreeType and the external library + * via function hooks can be found in section @svg_fonts. + * + * The OT-SVG driver's module name is 'ot-svg'; it supports a single + * property called @svg-hooks, documented below in the @properties + * section. + * + */ + + + /************************************************************************** + * + * @section: + * properties + * + * @title: + * Driver properties + * + * @abstract: + * Controlling driver modules. + * + * @description: + * Driver modules can be controlled by setting and unsetting properties, + * using the functions @FT_Property_Set and @FT_Property_Get. This + * section documents the available properties, together with auxiliary + * macros and structures. + * + */ + + + /************************************************************************** + * + * @enum: + * FT_HINTING_XXX + * + * @description: + * A list of constants used for the @hinting-engine property to select + * the hinting engine for CFF, Type~1, and CID fonts. + * + * @values: + * FT_HINTING_FREETYPE :: + * Use the old FreeType hinting engine. + * + * FT_HINTING_ADOBE :: + * Use the hinting engine contributed by Adobe. + * + * @since: + * 2.9 + * + */ +#define FT_HINTING_FREETYPE 0 +#define FT_HINTING_ADOBE 1 + + /* these constants (introduced in 2.4.12) are deprecated */ +#define FT_CFF_HINTING_FREETYPE FT_HINTING_FREETYPE +#define FT_CFF_HINTING_ADOBE FT_HINTING_ADOBE + + + /************************************************************************** + * + * @property: + * hinting-engine + * + * @description: + * Thanks to Adobe, which contributed a new hinting (and parsing) engine, + * an application can select between 'freetype' and 'adobe' if compiled + * with `CFF_CONFIG_OPTION_OLD_ENGINE`. If this configuration macro + * isn't defined, 'hinting-engine' does nothing. + * + * The same holds for the Type~1 and CID modules if compiled with + * `T1_CONFIG_OPTION_OLD_ENGINE`. + * + * For the 'cff' module, the default engine is 'adobe'. For both the + * 'type1' and 't1cid' modules, the default engine is 'adobe', too. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable (using values 'adobe' or 'freetype'). + * + * @example: + * The following example code demonstrates how to select Adobe's hinting + * engine for the 'cff' module (omitting the error handling). + * + * ``` + * FT_Library library; + * FT_UInt hinting_engine = FT_HINTING_ADOBE; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "cff", + * "hinting-engine", &hinting_engine ); + * ``` + * + * @since: + * 2.4.12 (for 'cff' module) + * + * 2.9 (for 'type1' and 't1cid' modules) + * + */ + + + /************************************************************************** + * + * @property: + * no-stem-darkening + * + * @description: + * All glyphs that pass through the auto-hinter will be emboldened unless + * this property is set to TRUE. The same is true for the CFF, Type~1, + * and CID font modules if the 'Adobe' engine is selected (which is the + * default). + * + * Stem darkening emboldens glyphs at smaller sizes to make them more + * readable on common low-DPI screens when using linear alpha blending + * and gamma correction, see @FT_Render_Glyph. When not using linear + * alpha blending and gamma correction, glyphs will appear heavy and + * fuzzy! + * + * Gamma correction essentially lightens fonts since shades of grey are + * shifted to higher pixel values (=~higher brightness) to match the + * original intention to the reality of our screens. The side-effect is + * that glyphs 'thin out'. Mac OS~X and Adobe's proprietary font + * rendering library implement a counter-measure: stem darkening at + * smaller sizes where shades of gray dominate. By emboldening a glyph + * slightly in relation to its pixel size, individual pixels get higher + * coverage of filled-in outlines and are therefore 'blacker'. This + * counteracts the 'thinning out' of glyphs, making text remain readable + * at smaller sizes. + * + * For the auto-hinter, stem-darkening is experimental currently and thus + * switched off by default (that is, `no-stem-darkening` is set to TRUE + * by default). Total consistency with the CFF driver is not achieved + * right now because the emboldening method differs and glyphs must be + * scaled down on the Y-axis to keep outline points inside their + * precomputed blue zones. The smaller the size (especially 9ppem and + * down), the higher the loss of emboldening versus the CFF driver. + * + * Note that stem darkening is never applied if @FT_LOAD_NO_SCALE is set. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable (using values 1 and 0 for 'on' and 'off', respectively). It + * can also be set per face using @FT_Face_Properties with + * @FT_PARAM_TAG_STEM_DARKENING. + * + * @example: + * ``` + * FT_Library library; + * FT_Bool no_stem_darkening = TRUE; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "cff", + * "no-stem-darkening", &no_stem_darkening ); + * ``` + * + * @since: + * 2.4.12 (for 'cff' module) + * + * 2.6.2 (for 'autofitter' module) + * + * 2.9 (for 'type1' and 't1cid' modules) + * + */ + + + /************************************************************************** + * + * @property: + * darkening-parameters + * + * @description: + * By default, the Adobe hinting engine, as used by the CFF, Type~1, and + * CID font drivers, darkens stems as follows (if the `no-stem-darkening` + * property isn't set): + * + * ``` + * stem width <= 0.5px: darkening amount = 0.4px + * stem width = 1px: darkening amount = 0.275px + * stem width = 1.667px: darkening amount = 0.275px + * stem width >= 2.333px: darkening amount = 0px + * ``` + * + * and piecewise linear in-between. At configuration time, these four + * control points can be set with the macro + * `CFF_CONFIG_OPTION_DARKENING_PARAMETERS`; the CFF, Type~1, and CID + * drivers share these values. At runtime, the control points can be + * changed using the `darkening-parameters` property (see the example + * below that demonstrates this for the Type~1 driver). + * + * The x~values give the stem width, and the y~values the darkening + * amount. The unit is 1000th of pixels. All coordinate values must be + * positive; the x~values must be monotonically increasing; the y~values + * must be monotonically decreasing and smaller than or equal to 500 + * (corresponding to half a pixel); the slope of each linear piece must + * be shallower than -1 (e.g., -.4). + * + * The auto-hinter provides this property, too, as an experimental + * feature. See @no-stem-darkening for more. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable, using eight comma-separated integers without spaces. Here + * the above example, using `\` to break the line for readability. + * + * ``` + * FREETYPE_PROPERTIES=\ + * type1:darkening-parameters=500,300,1000,200,1500,100,2000,0 + * ``` + * + * @example: + * ``` + * FT_Library library; + * FT_Int darken_params[8] = { 500, 300, // x1, y1 + * 1000, 200, // x2, y2 + * 1500, 100, // x3, y3 + * 2000, 0 }; // x4, y4 + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "type1", + * "darkening-parameters", darken_params ); + * ``` + * + * @since: + * 2.5.1 (for 'cff' module) + * + * 2.6.2 (for 'autofitter' module) + * + * 2.9 (for 'type1' and 't1cid' modules) + * + */ + + + /************************************************************************** + * + * @property: + * random-seed + * + * @description: + * By default, the seed value for the CFF 'random' operator and the + * similar '0 28 callothersubr pop' command for the Type~1 and CID + * drivers is set to a random value. However, mainly for debugging + * purposes, it is often necessary to use a known value as a seed so that + * the pseudo-random number sequences generated by 'random' are + * repeatable. + * + * The `random-seed` property does that. Its argument is a signed 32bit + * integer; if the value is zero or negative, the seed given by the + * `intitialRandomSeed` private DICT operator in a CFF file gets used (or + * a default value if there is no such operator). If the value is + * positive, use it instead of `initialRandomSeed`, which is consequently + * ignored. + * + * @note: + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable. It can also be set per face using @FT_Face_Properties with + * @FT_PARAM_TAG_RANDOM_SEED. + * + * @since: + * 2.8 (for 'cff' module) + * + * 2.9 (for 'type1' and 't1cid' modules) + * + */ + + + /************************************************************************** + * + * @property: + * no-long-family-names + * + * @description: + * If `PCF_CONFIG_OPTION_LONG_FAMILY_NAMES` is active while compiling + * FreeType, the PCF driver constructs long family names. + * + * There are many PCF fonts just called 'Fixed' which look completely + * different, and which have nothing to do with each other. When + * selecting 'Fixed' in KDE or Gnome one gets results that appear rather + * random, the style changes often if one changes the size and one cannot + * select some fonts at all. The improve this situation, the PCF module + * prepends the foundry name (plus a space) to the family name. It also + * checks whether there are 'wide' characters; all put together, family + * names like 'Sony Fixed' or 'Misc Fixed Wide' are constructed. + * + * If `no-long-family-names` is set, this feature gets switched off. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable (using values 1 and 0 for 'on' and 'off', respectively). + * + * @example: + * ``` + * FT_Library library; + * FT_Bool no_long_family_names = TRUE; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "pcf", + * "no-long-family-names", + * &no_long_family_names ); + * ``` + * + * @since: + * 2.8 + */ + + + /************************************************************************** + * + * @enum: + * TT_INTERPRETER_VERSION_XXX + * + * @description: + * A list of constants used for the @interpreter-version property to + * select the hinting engine for Truetype fonts. + * + * The numeric value in the constant names represents the version number + * as returned by the 'GETINFO' bytecode instruction. + * + * @values: + * TT_INTERPRETER_VERSION_35 :: + * Version~35 corresponds to MS rasterizer v.1.7 as used e.g. in + * Windows~98; only grayscale and B/W rasterizing is supported. + * + * TT_INTERPRETER_VERSION_38 :: + * Version~38 is the same Version~40. The original 'Infinality' code is + * no longer available. + * + * TT_INTERPRETER_VERSION_40 :: + * Version~40 corresponds to MS rasterizer v.2.1; it is roughly + * equivalent to the hinting provided by DirectWrite ClearType (as can + * be found, for example, in Microsoft's Edge Browser on Windows~10). + * It is used in FreeType to select the 'minimal' subpixel hinting + * code, a stripped-down and higher performance version of the + * 'Infinality' code. + * + * @note: + * This property controls the behaviour of the bytecode interpreter and + * thus how outlines get hinted. It does **not** control how glyph get + * rasterized! In particular, it does not control subpixel color + * filtering. + * + * If FreeType has not been compiled with the configuration option + * `TT_CONFIG_OPTION_SUBPIXEL_HINTING`, selecting version~38 or~40 causes + * an `FT_Err_Unimplemented_Feature` error. + * + * Depending on the graphics framework, Microsoft uses different bytecode + * and rendering engines. As a consequence, the version numbers returned + * by a call to the 'GETINFO' bytecode instruction are more convoluted + * than desired. + * + * Here are two tables that try to shed some light on the possible values + * for the MS rasterizer engine, together with the additional features + * introduced by it. + * + * ``` + * GETINFO framework version feature + * ------------------------------------------------------------------- + * 3 GDI (Win 3.1), v1.0 16-bit, first version + * TrueImage + * 33 GDI (Win NT 3.1), v1.5 32-bit + * HP Laserjet + * 34 GDI (Win 95) v1.6 font smoothing, + * new SCANTYPE opcode + * 35 GDI (Win 98/2000) v1.7 (UN)SCALED_COMPONENT_OFFSET + * bits in composite glyphs + * 36 MGDI (Win CE 2) v1.6+ classic ClearType + * 37 GDI (XP and later), v1.8 ClearType + * GDI+ old (before Vista) + * 38 GDI+ old (Vista, Win 7), v1.9 subpixel ClearType, + * WPF Y-direction ClearType, + * additional error checking + * 39 DWrite (before Win 8) v2.0 subpixel ClearType flags + * in GETINFO opcode, + * bug fixes + * 40 GDI+ (after Win 7), v2.1 Y-direction ClearType flag + * DWrite (Win 8) in GETINFO opcode, + * Gray ClearType + * ``` + * + * The 'version' field gives a rough orientation only, since some + * applications provided certain features much earlier (as an example, + * Microsoft Reader used subpixel and Y-direction ClearType already in + * Windows 2000). Similarly, updates to a given framework might include + * improved hinting support. + * + * ``` + * version sampling rendering comment + * x y x y + * -------------------------------------------------------------- + * v1.0 normal normal B/W B/W bi-level + * v1.6 high high gray gray grayscale + * v1.8 high normal color-filter B/W (GDI) ClearType + * v1.9 high high color-filter gray Color ClearType + * v2.1 high normal gray B/W Gray ClearType + * v2.1 high high gray gray Gray ClearType + * ``` + * + * Color and Gray ClearType are the two available variants of + * 'Y-direction ClearType', meaning grayscale rasterization along the + * Y-direction; the name used in the TrueType specification for this + * feature is 'symmetric smoothing'. 'Classic ClearType' is the original + * algorithm used before introducing a modified version in Win~XP. + * Another name for v1.6's grayscale rendering is 'font smoothing', and + * 'Color ClearType' is sometimes also called 'DWrite ClearType'. To + * differentiate between today's Color ClearType and the earlier + * ClearType variant with B/W rendering along the vertical axis, the + * latter is sometimes called 'GDI ClearType'. + * + * 'Normal' and 'high' sampling describe the (virtual) resolution to + * access the rasterized outline after the hinting process. 'Normal' + * means 1 sample per grid line (i.e., B/W). In the current Microsoft + * implementation, 'high' means an extra virtual resolution of 16x16 (or + * 16x1) grid lines per pixel for bytecode instructions like 'MIRP'. + * After hinting, these 16 grid lines are mapped to 6x5 (or 6x1) grid + * lines for color filtering if Color ClearType is activated. + * + * Note that 'Gray ClearType' is essentially the same as v1.6's grayscale + * rendering. However, the GETINFO instruction handles it differently: + * v1.6 returns bit~12 (hinting for grayscale), while v2.1 returns + * bits~13 (hinting for ClearType), 18 (symmetrical smoothing), and~19 + * (Gray ClearType). Also, this mode respects bits 2 and~3 for the + * version~1 gasp table exclusively (like Color ClearType), while v1.6 + * only respects the values of version~0 (bits 0 and~1). + * + * Keep in mind that the features of the above interpreter versions might + * not map exactly to FreeType features or behavior because it is a + * fundamentally different library with different internals. + * + */ +#define TT_INTERPRETER_VERSION_35 35 +#define TT_INTERPRETER_VERSION_38 38 +#define TT_INTERPRETER_VERSION_40 40 + + + /************************************************************************** + * + * @property: + * interpreter-version + * + * @description: + * Currently, three versions are available, two representing the bytecode + * interpreter with subpixel hinting support (old 'Infinality' code and + * new stripped-down and higher performance 'minimal' code) and one + * without, respectively. The default is subpixel support if + * `TT_CONFIG_OPTION_SUBPIXEL_HINTING` is defined, and no subpixel + * support otherwise (since it isn't available then). + * + * If subpixel hinting is on, many TrueType bytecode instructions behave + * differently compared to B/W or grayscale rendering (except if 'native + * ClearType' is selected by the font). Microsoft's main idea is to + * render at a much increased horizontal resolution, then sampling down + * the created output to subpixel precision. However, many older fonts + * are not suited to this and must be specially taken care of by applying + * (hardcoded) tweaks in Microsoft's interpreter. + * + * Details on subpixel hinting and some of the necessary tweaks can be + * found in Greg Hitchcock's whitepaper at + * 'https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx'. + * Note that FreeType currently doesn't really 'subpixel hint' (6x1, 6x2, + * or 6x5 supersampling) like discussed in the paper. Depending on the + * chosen interpreter, it simply ignores instructions on vertical stems + * to arrive at very similar results. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * This property can be set via the `FREETYPE_PROPERTIES` environment + * variable (using values '35', '38', or '40'). + * + * @example: + * The following example code demonstrates how to deactivate subpixel + * hinting (omitting the error handling). + * + * ``` + * FT_Library library; + * FT_Face face; + * FT_UInt interpreter_version = TT_INTERPRETER_VERSION_35; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "truetype", + * "interpreter-version", + * &interpreter_version ); + * ``` + * + * @since: + * 2.5 + */ + + /************************************************************************** + * + * @property: + * svg-hooks + * + * @description: + * Set up the interface between FreeType and an extern SVG rendering + * library like 'librsvg'. All details on the function hooks can be + * found in section @svg_fonts. + * + * @example: + * The following example code expects that the four hook functions + * `svg_*` are defined elsewhere. Error handling is omitted, too. + * + * ``` + * FT_Library library; + * SVG_RendererHooks hooks = { + * (SVG_Lib_Init_Func)svg_init, + * (SVG_Lib_Free_Func)svg_free, + * (SVG_Lib_Render_Func)svg_render, + * (SVG_Lib_Preset_Slot_Func)svg_preset_slot }; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "ot-svg", + * "svg-hooks", &hooks ); + * ``` + * + * @since: + * 2.12 + */ + + + /************************************************************************** + * + * @property: + * glyph-to-script-map + * + * @description: + * **Experimental only** + * + * The auto-hinter provides various script modules to hint glyphs. + * Examples of supported scripts are Latin or CJK. Before a glyph is + * auto-hinted, the Unicode character map of the font gets examined, and + * the script is then determined based on Unicode character ranges, see + * below. + * + * OpenType fonts, however, often provide much more glyphs than character + * codes (small caps, superscripts, ligatures, swashes, etc.), to be + * controlled by so-called 'features'. Handling OpenType features can be + * quite complicated and thus needs a separate library on top of + * FreeType. + * + * The mapping between glyph indices and scripts (in the auto-hinter + * sense, see the @FT_AUTOHINTER_SCRIPT_XXX values) is stored as an array + * with `num_glyphs` elements, as found in the font's @FT_Face structure. + * The `glyph-to-script-map` property returns a pointer to this array, + * which can be modified as needed. Note that the modification should + * happen before the first glyph gets processed by the auto-hinter so + * that the global analysis of the font shapes actually uses the modified + * mapping. + * + * @example: + * The following example code demonstrates how to access it (omitting the + * error handling). + * + * ``` + * FT_Library library; + * FT_Face face; + * FT_Prop_GlyphToScriptMap prop; + * + * + * FT_Init_FreeType( &library ); + * FT_New_Face( library, "foo.ttf", 0, &face ); + * + * prop.face = face; + * + * FT_Property_Get( library, "autofitter", + * "glyph-to-script-map", &prop ); + * + * // adjust `prop.map' as needed right here + * + * FT_Load_Glyph( face, ..., FT_LOAD_FORCE_AUTOHINT ); + * ``` + * + * @since: + * 2.4.11 + * + */ + + + /************************************************************************** + * + * @enum: + * FT_AUTOHINTER_SCRIPT_XXX + * + * @description: + * **Experimental only** + * + * A list of constants used for the @glyph-to-script-map property to + * specify the script submodule the auto-hinter should use for hinting a + * particular glyph. + * + * @values: + * FT_AUTOHINTER_SCRIPT_NONE :: + * Don't auto-hint this glyph. + * + * FT_AUTOHINTER_SCRIPT_LATIN :: + * Apply the latin auto-hinter. For the auto-hinter, 'latin' is a very + * broad term, including Cyrillic and Greek also since characters from + * those scripts share the same design constraints. + * + * By default, characters from the following Unicode ranges are + * assigned to this submodule. + * + * ``` + * U+0020 - U+007F // Basic Latin (no control characters) + * U+00A0 - U+00FF // Latin-1 Supplement (no control characters) + * U+0100 - U+017F // Latin Extended-A + * U+0180 - U+024F // Latin Extended-B + * U+0250 - U+02AF // IPA Extensions + * U+02B0 - U+02FF // Spacing Modifier Letters + * U+0300 - U+036F // Combining Diacritical Marks + * U+0370 - U+03FF // Greek and Coptic + * U+0400 - U+04FF // Cyrillic + * U+0500 - U+052F // Cyrillic Supplement + * U+1D00 - U+1D7F // Phonetic Extensions + * U+1D80 - U+1DBF // Phonetic Extensions Supplement + * U+1DC0 - U+1DFF // Combining Diacritical Marks Supplement + * U+1E00 - U+1EFF // Latin Extended Additional + * U+1F00 - U+1FFF // Greek Extended + * U+2000 - U+206F // General Punctuation + * U+2070 - U+209F // Superscripts and Subscripts + * U+20A0 - U+20CF // Currency Symbols + * U+2150 - U+218F // Number Forms + * U+2460 - U+24FF // Enclosed Alphanumerics + * U+2C60 - U+2C7F // Latin Extended-C + * U+2DE0 - U+2DFF // Cyrillic Extended-A + * U+2E00 - U+2E7F // Supplemental Punctuation + * U+A640 - U+A69F // Cyrillic Extended-B + * U+A720 - U+A7FF // Latin Extended-D + * U+FB00 - U+FB06 // Alphab. Present. Forms (Latin Ligatures) + * U+1D400 - U+1D7FF // Mathematical Alphanumeric Symbols + * U+1F100 - U+1F1FF // Enclosed Alphanumeric Supplement + * ``` + * + * FT_AUTOHINTER_SCRIPT_CJK :: + * Apply the CJK auto-hinter, covering Chinese, Japanese, Korean, old + * Vietnamese, and some other scripts. + * + * By default, characters from the following Unicode ranges are + * assigned to this submodule. + * + * ``` + * U+1100 - U+11FF // Hangul Jamo + * U+2E80 - U+2EFF // CJK Radicals Supplement + * U+2F00 - U+2FDF // Kangxi Radicals + * U+2FF0 - U+2FFF // Ideographic Description Characters + * U+3000 - U+303F // CJK Symbols and Punctuation + * U+3040 - U+309F // Hiragana + * U+30A0 - U+30FF // Katakana + * U+3100 - U+312F // Bopomofo + * U+3130 - U+318F // Hangul Compatibility Jamo + * U+3190 - U+319F // Kanbun + * U+31A0 - U+31BF // Bopomofo Extended + * U+31C0 - U+31EF // CJK Strokes + * U+31F0 - U+31FF // Katakana Phonetic Extensions + * U+3200 - U+32FF // Enclosed CJK Letters and Months + * U+3300 - U+33FF // CJK Compatibility + * U+3400 - U+4DBF // CJK Unified Ideographs Extension A + * U+4DC0 - U+4DFF // Yijing Hexagram Symbols + * U+4E00 - U+9FFF // CJK Unified Ideographs + * U+A960 - U+A97F // Hangul Jamo Extended-A + * U+AC00 - U+D7AF // Hangul Syllables + * U+D7B0 - U+D7FF // Hangul Jamo Extended-B + * U+F900 - U+FAFF // CJK Compatibility Ideographs + * U+FE10 - U+FE1F // Vertical forms + * U+FE30 - U+FE4F // CJK Compatibility Forms + * U+FF00 - U+FFEF // Halfwidth and Fullwidth Forms + * U+1B000 - U+1B0FF // Kana Supplement + * U+1D300 - U+1D35F // Tai Xuan Hing Symbols + * U+1F200 - U+1F2FF // Enclosed Ideographic Supplement + * U+20000 - U+2A6DF // CJK Unified Ideographs Extension B + * U+2A700 - U+2B73F // CJK Unified Ideographs Extension C + * U+2B740 - U+2B81F // CJK Unified Ideographs Extension D + * U+2F800 - U+2FA1F // CJK Compatibility Ideographs Supplement + * ``` + * + * FT_AUTOHINTER_SCRIPT_INDIC :: + * Apply the indic auto-hinter, covering all major scripts from the + * Indian sub-continent and some other related scripts like Thai, Lao, + * or Tibetan. + * + * By default, characters from the following Unicode ranges are + * assigned to this submodule. + * + * ``` + * U+0900 - U+0DFF // Indic Range + * U+0F00 - U+0FFF // Tibetan + * U+1900 - U+194F // Limbu + * U+1B80 - U+1BBF // Sundanese + * U+A800 - U+A82F // Syloti Nagri + * U+ABC0 - U+ABFF // Meetei Mayek + * U+11800 - U+118DF // Sharada + * ``` + * + * Note that currently Indic support is rudimentary only, missing blue + * zone support. + * + * @since: + * 2.4.11 + * + */ +#define FT_AUTOHINTER_SCRIPT_NONE 0 +#define FT_AUTOHINTER_SCRIPT_LATIN 1 +#define FT_AUTOHINTER_SCRIPT_CJK 2 +#define FT_AUTOHINTER_SCRIPT_INDIC 3 + + + /************************************************************************** + * + * @struct: + * FT_Prop_GlyphToScriptMap + * + * @description: + * **Experimental only** + * + * The data exchange structure for the @glyph-to-script-map property. + * + * @since: + * 2.4.11 + * + */ + typedef struct FT_Prop_GlyphToScriptMap_ + { + FT_Face face; + FT_UShort* map; + + } FT_Prop_GlyphToScriptMap; + + + /************************************************************************** + * + * @property: + * fallback-script + * + * @description: + * **Experimental only** + * + * If no auto-hinter script module can be assigned to a glyph, a fallback + * script gets assigned to it (see also the @glyph-to-script-map + * property). By default, this is @FT_AUTOHINTER_SCRIPT_CJK. Using the + * `fallback-script` property, this fallback value can be changed. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * It's important to use the right timing for changing this value: The + * creation of the glyph-to-script map that eventually uses the fallback + * script value gets triggered either by setting or reading a + * face-specific property like @glyph-to-script-map, or by auto-hinting + * any glyph from that face. In particular, if you have already created + * an @FT_Face structure but not loaded any glyph (using the + * auto-hinter), a change of the fallback script will affect this face. + * + * @example: + * ``` + * FT_Library library; + * FT_UInt fallback_script = FT_AUTOHINTER_SCRIPT_NONE; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "autofitter", + * "fallback-script", &fallback_script ); + * ``` + * + * @since: + * 2.4.11 + * + */ + + + /************************************************************************** + * + * @property: + * default-script + * + * @description: + * **Experimental only** + * + * If FreeType gets compiled with `FT_CONFIG_OPTION_USE_HARFBUZZ` to make + * the HarfBuzz library access OpenType features for getting better glyph + * coverages, this property sets the (auto-fitter) script to be used for + * the default (OpenType) script data of a font's GSUB table. Features + * for the default script are intended for all scripts not explicitly + * handled in GSUB; an example is a 'dlig' feature, containing the + * combination of the characters 'T', 'E', and 'L' to form a 'TEL' + * ligature. + * + * By default, this is @FT_AUTOHINTER_SCRIPT_LATIN. Using the + * `default-script` property, this default value can be changed. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * It's important to use the right timing for changing this value: The + * creation of the glyph-to-script map that eventually uses the default + * script value gets triggered either by setting or reading a + * face-specific property like @glyph-to-script-map, or by auto-hinting + * any glyph from that face. In particular, if you have already created + * an @FT_Face structure but not loaded any glyph (using the + * auto-hinter), a change of the default script will affect this face. + * + * @example: + * ``` + * FT_Library library; + * FT_UInt default_script = FT_AUTOHINTER_SCRIPT_NONE; + * + * + * FT_Init_FreeType( &library ); + * + * FT_Property_Set( library, "autofitter", + * "default-script", &default_script ); + * ``` + * + * @since: + * 2.5.3 + * + */ + + + /************************************************************************** + * + * @property: + * increase-x-height + * + * @description: + * For ppem values in the range 6~<= ppem <= `increase-x-height`, round + * up the font's x~height much more often than normally. If the value is + * set to~0, which is the default, this feature is switched off. Use + * this property to improve the legibility of small font sizes if + * necessary. + * + * @note: + * This property can be used with @FT_Property_Get also. + * + * Set this value right after calling @FT_Set_Char_Size, but before + * loading any glyph (using the auto-hinter). + * + * @example: + * ``` + * FT_Library library; + * FT_Face face; + * FT_Prop_IncreaseXHeight prop; + * + * + * FT_Init_FreeType( &library ); + * FT_New_Face( library, "foo.ttf", 0, &face ); + * FT_Set_Char_Size( face, 10 * 64, 0, 72, 0 ); + * + * prop.face = face; + * prop.limit = 14; + * + * FT_Property_Set( library, "autofitter", + * "increase-x-height", &prop ); + * ``` + * + * @since: + * 2.4.11 + * + */ + + + /************************************************************************** + * + * @struct: + * FT_Prop_IncreaseXHeight + * + * @description: + * The data exchange structure for the @increase-x-height property. + * + */ + typedef struct FT_Prop_IncreaseXHeight_ + { + FT_Face face; + FT_UInt limit; + + } FT_Prop_IncreaseXHeight; + + + /************************************************************************** + * + * @property: + * warping + * + * @description: + * **Obsolete** + * + * This property was always experimental and probably never worked + * correctly. It was entirely removed from the FreeType~2 sources. This + * entry is only here for historical reference. + * + * Warping only worked in 'normal' auto-hinting mode replacing it. The + * idea of the code was to slightly scale and shift a glyph along the + * non-hinted dimension (which is usually the horizontal axis) so that as + * much of its segments were aligned (more or less) to the grid. To find + * out a glyph's optimal scaling and shifting value, various parameter + * combinations were tried and scored. + * + * @since: + * 2.6 + * + */ + + + /* */ + + +FT_END_HEADER + + +#endif /* FTDRIVER_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrdef.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrdef.h new file mode 100644 index 0000000..d59b3cc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrdef.h @@ -0,0 +1,283 @@ +/**************************************************************************** + * + * fterrdef.h + * + * FreeType error codes (specification). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * @section: + * error_code_values + * + * @title: + * Error Code Values + * + * @abstract: + * All possible error codes returned by FreeType functions. + * + * @description: + * The list below is taken verbatim from the file `fterrdef.h` (loaded + * automatically by including `FT_FREETYPE_H`). The first argument of the + * `FT_ERROR_DEF_` macro is the error label; by default, the prefix + * `FT_Err_` gets added so that you get error names like + * `FT_Err_Cannot_Open_Resource`. The second argument is the error code, + * and the last argument an error string, which is not used by FreeType. + * + * Within your application you should **only** use error names and + * **never** its numeric values! The latter might (and actually do) + * change in forthcoming FreeType versions. + * + * Macro `FT_NOERRORDEF_` defines `FT_Err_Ok`, which is always zero. See + * the 'Error Enumerations' subsection how to automatically generate a + * list of error strings. + * + */ + + + /************************************************************************** + * + * @enum: + * FT_Err_XXX + * + */ + + /* generic errors */ + + FT_NOERRORDEF_( Ok, 0x00, + "no error" ) + + FT_ERRORDEF_( Cannot_Open_Resource, 0x01, + "cannot open resource" ) + FT_ERRORDEF_( Unknown_File_Format, 0x02, + "unknown file format" ) + FT_ERRORDEF_( Invalid_File_Format, 0x03, + "broken file" ) + FT_ERRORDEF_( Invalid_Version, 0x04, + "invalid FreeType version" ) + FT_ERRORDEF_( Lower_Module_Version, 0x05, + "module version is too low" ) + FT_ERRORDEF_( Invalid_Argument, 0x06, + "invalid argument" ) + FT_ERRORDEF_( Unimplemented_Feature, 0x07, + "unimplemented feature" ) + FT_ERRORDEF_( Invalid_Table, 0x08, + "broken table" ) + FT_ERRORDEF_( Invalid_Offset, 0x09, + "broken offset within table" ) + FT_ERRORDEF_( Array_Too_Large, 0x0A, + "array allocation size too large" ) + FT_ERRORDEF_( Missing_Module, 0x0B, + "missing module" ) + FT_ERRORDEF_( Missing_Property, 0x0C, + "missing property" ) + + /* glyph/character errors */ + + FT_ERRORDEF_( Invalid_Glyph_Index, 0x10, + "invalid glyph index" ) + FT_ERRORDEF_( Invalid_Character_Code, 0x11, + "invalid character code" ) + FT_ERRORDEF_( Invalid_Glyph_Format, 0x12, + "unsupported glyph image format" ) + FT_ERRORDEF_( Cannot_Render_Glyph, 0x13, + "cannot render this glyph format" ) + FT_ERRORDEF_( Invalid_Outline, 0x14, + "invalid outline" ) + FT_ERRORDEF_( Invalid_Composite, 0x15, + "invalid composite glyph" ) + FT_ERRORDEF_( Too_Many_Hints, 0x16, + "too many hints" ) + FT_ERRORDEF_( Invalid_Pixel_Size, 0x17, + "invalid pixel size" ) + FT_ERRORDEF_( Invalid_SVG_Document, 0x18, + "invalid SVG document" ) + + /* handle errors */ + + FT_ERRORDEF_( Invalid_Handle, 0x20, + "invalid object handle" ) + FT_ERRORDEF_( Invalid_Library_Handle, 0x21, + "invalid library handle" ) + FT_ERRORDEF_( Invalid_Driver_Handle, 0x22, + "invalid module handle" ) + FT_ERRORDEF_( Invalid_Face_Handle, 0x23, + "invalid face handle" ) + FT_ERRORDEF_( Invalid_Size_Handle, 0x24, + "invalid size handle" ) + FT_ERRORDEF_( Invalid_Slot_Handle, 0x25, + "invalid glyph slot handle" ) + FT_ERRORDEF_( Invalid_CharMap_Handle, 0x26, + "invalid charmap handle" ) + FT_ERRORDEF_( Invalid_Cache_Handle, 0x27, + "invalid cache manager handle" ) + FT_ERRORDEF_( Invalid_Stream_Handle, 0x28, + "invalid stream handle" ) + + /* driver errors */ + + FT_ERRORDEF_( Too_Many_Drivers, 0x30, + "too many modules" ) + FT_ERRORDEF_( Too_Many_Extensions, 0x31, + "too many extensions" ) + + /* memory errors */ + + FT_ERRORDEF_( Out_Of_Memory, 0x40, + "out of memory" ) + FT_ERRORDEF_( Unlisted_Object, 0x41, + "unlisted object" ) + + /* stream errors */ + + FT_ERRORDEF_( Cannot_Open_Stream, 0x51, + "cannot open stream" ) + FT_ERRORDEF_( Invalid_Stream_Seek, 0x52, + "invalid stream seek" ) + FT_ERRORDEF_( Invalid_Stream_Skip, 0x53, + "invalid stream skip" ) + FT_ERRORDEF_( Invalid_Stream_Read, 0x54, + "invalid stream read" ) + FT_ERRORDEF_( Invalid_Stream_Operation, 0x55, + "invalid stream operation" ) + FT_ERRORDEF_( Invalid_Frame_Operation, 0x56, + "invalid frame operation" ) + FT_ERRORDEF_( Nested_Frame_Access, 0x57, + "nested frame access" ) + FT_ERRORDEF_( Invalid_Frame_Read, 0x58, + "invalid frame read" ) + + /* raster errors */ + + FT_ERRORDEF_( Raster_Uninitialized, 0x60, + "raster uninitialized" ) + FT_ERRORDEF_( Raster_Corrupted, 0x61, + "raster corrupted" ) + FT_ERRORDEF_( Raster_Overflow, 0x62, + "raster overflow" ) + FT_ERRORDEF_( Raster_Negative_Height, 0x63, + "negative height while rastering" ) + + /* cache errors */ + + FT_ERRORDEF_( Too_Many_Caches, 0x70, + "too many registered caches" ) + + /* TrueType and SFNT errors */ + + FT_ERRORDEF_( Invalid_Opcode, 0x80, + "invalid opcode" ) + FT_ERRORDEF_( Too_Few_Arguments, 0x81, + "too few arguments" ) + FT_ERRORDEF_( Stack_Overflow, 0x82, + "stack overflow" ) + FT_ERRORDEF_( Code_Overflow, 0x83, + "code overflow" ) + FT_ERRORDEF_( Bad_Argument, 0x84, + "bad argument" ) + FT_ERRORDEF_( Divide_By_Zero, 0x85, + "division by zero" ) + FT_ERRORDEF_( Invalid_Reference, 0x86, + "invalid reference" ) + FT_ERRORDEF_( Debug_OpCode, 0x87, + "found debug opcode" ) + FT_ERRORDEF_( ENDF_In_Exec_Stream, 0x88, + "found ENDF opcode in execution stream" ) + FT_ERRORDEF_( Nested_DEFS, 0x89, + "nested DEFS" ) + FT_ERRORDEF_( Invalid_CodeRange, 0x8A, + "invalid code range" ) + FT_ERRORDEF_( Execution_Too_Long, 0x8B, + "execution context too long" ) + FT_ERRORDEF_( Too_Many_Function_Defs, 0x8C, + "too many function definitions" ) + FT_ERRORDEF_( Too_Many_Instruction_Defs, 0x8D, + "too many instruction definitions" ) + FT_ERRORDEF_( Table_Missing, 0x8E, + "SFNT font table missing" ) + FT_ERRORDEF_( Horiz_Header_Missing, 0x8F, + "horizontal header (hhea) table missing" ) + FT_ERRORDEF_( Locations_Missing, 0x90, + "locations (loca) table missing" ) + FT_ERRORDEF_( Name_Table_Missing, 0x91, + "name table missing" ) + FT_ERRORDEF_( CMap_Table_Missing, 0x92, + "character map (cmap) table missing" ) + FT_ERRORDEF_( Hmtx_Table_Missing, 0x93, + "horizontal metrics (hmtx) table missing" ) + FT_ERRORDEF_( Post_Table_Missing, 0x94, + "PostScript (post) table missing" ) + FT_ERRORDEF_( Invalid_Horiz_Metrics, 0x95, + "invalid horizontal metrics" ) + FT_ERRORDEF_( Invalid_CharMap_Format, 0x96, + "invalid character map (cmap) format" ) + FT_ERRORDEF_( Invalid_PPem, 0x97, + "invalid ppem value" ) + FT_ERRORDEF_( Invalid_Vert_Metrics, 0x98, + "invalid vertical metrics" ) + FT_ERRORDEF_( Could_Not_Find_Context, 0x99, + "could not find context" ) + FT_ERRORDEF_( Invalid_Post_Table_Format, 0x9A, + "invalid PostScript (post) table format" ) + FT_ERRORDEF_( Invalid_Post_Table, 0x9B, + "invalid PostScript (post) table" ) + FT_ERRORDEF_( DEF_In_Glyf_Bytecode, 0x9C, + "found FDEF or IDEF opcode in glyf bytecode" ) + FT_ERRORDEF_( Missing_Bitmap, 0x9D, + "missing bitmap in strike" ) + FT_ERRORDEF_( Missing_SVG_Hooks, 0x9E, + "SVG hooks have not been set" ) + + /* CFF, CID, and Type 1 errors */ + + FT_ERRORDEF_( Syntax_Error, 0xA0, + "opcode syntax error" ) + FT_ERRORDEF_( Stack_Underflow, 0xA1, + "argument stack underflow" ) + FT_ERRORDEF_( Ignore, 0xA2, + "ignore" ) + FT_ERRORDEF_( No_Unicode_Glyph_Name, 0xA3, + "no Unicode glyph name found" ) + FT_ERRORDEF_( Glyph_Too_Big, 0xA4, + "glyph too big for hinting" ) + + /* BDF errors */ + + FT_ERRORDEF_( Missing_Startfont_Field, 0xB0, + "`STARTFONT' field missing" ) + FT_ERRORDEF_( Missing_Font_Field, 0xB1, + "`FONT' field missing" ) + FT_ERRORDEF_( Missing_Size_Field, 0xB2, + "`SIZE' field missing" ) + FT_ERRORDEF_( Missing_Fontboundingbox_Field, 0xB3, + "`FONTBOUNDINGBOX' field missing" ) + FT_ERRORDEF_( Missing_Chars_Field, 0xB4, + "`CHARS' field missing" ) + FT_ERRORDEF_( Missing_Startchar_Field, 0xB5, + "`STARTCHAR' field missing" ) + FT_ERRORDEF_( Missing_Encoding_Field, 0xB6, + "`ENCODING' field missing" ) + FT_ERRORDEF_( Missing_Bbx_Field, 0xB7, + "`BBX' field missing" ) + FT_ERRORDEF_( Bbx_Too_Big, 0xB8, + "`BBX' too big" ) + FT_ERRORDEF_( Corrupted_Font_Header, 0xB9, + "Font header corrupted or missing fields" ) + FT_ERRORDEF_( Corrupted_Font_Glyphs, 0xBA, + "Font glyphs corrupted or missing fields" ) + + /* */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrors.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrors.h new file mode 100644 index 0000000..15ef3f7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fterrors.h @@ -0,0 +1,296 @@ +/**************************************************************************** + * + * fterrors.h + * + * FreeType error code handling (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * @section: + * error_enumerations + * + * @title: + * Error Enumerations + * + * @abstract: + * How to handle errors and error strings. + * + * @description: + * The header file `fterrors.h` (which is automatically included by + * `freetype.h`) defines the handling of FreeType's enumeration + * constants. It can also be used to generate error message strings + * with a small macro trick explained below. + * + * **Error Formats** + * + * The configuration macro `FT_CONFIG_OPTION_USE_MODULE_ERRORS` can be + * defined in `ftoption.h` in order to make the higher byte indicate the + * module where the error has happened (this is not compatible with + * standard builds of FreeType~2, however). See the file `ftmoderr.h` + * for more details. + * + * **Error Message Strings** + * + * Error definitions are set up with special macros that allow client + * applications to build a table of error message strings. The strings + * are not included in a normal build of FreeType~2 to save space (most + * client applications do not use them). + * + * To do so, you have to define the following macros before including + * this file. + * + * ``` + * FT_ERROR_START_LIST + * ``` + * + * This macro is called before anything else to define the start of the + * error list. It is followed by several `FT_ERROR_DEF` calls. + * + * ``` + * FT_ERROR_DEF( e, v, s ) + * ``` + * + * This macro is called to define one single error. 'e' is the error + * code identifier (e.g., `Invalid_Argument`), 'v' is the error's + * numerical value, and 's' is the corresponding error string. + * + * ``` + * FT_ERROR_END_LIST + * ``` + * + * This macro ends the list. + * + * Additionally, you have to undefine `FTERRORS_H_` before #including + * this file. + * + * Here is a simple example. + * + * ``` + * #undef FTERRORS_H_ + * #define FT_ERRORDEF( e, v, s ) { e, s }, + * #define FT_ERROR_START_LIST { + * #define FT_ERROR_END_LIST { 0, NULL } }; + * + * const struct + * { + * int err_code; + * const char* err_msg; + * } ft_errors[] = + * + * #include + * ``` + * + * An alternative to using an array is a switch statement. + * + * ``` + * #undef FTERRORS_H_ + * #define FT_ERROR_START_LIST switch ( error_code ) { + * #define FT_ERRORDEF( e, v, s ) case v: return s; + * #define FT_ERROR_END_LIST } + * ``` + * + * If you use `FT_CONFIG_OPTION_USE_MODULE_ERRORS`, `error_code` should + * be replaced with `FT_ERROR_BASE(error_code)` in the last example. + */ + + /* */ + + /* In previous FreeType versions we used `__FTERRORS_H__`. However, */ + /* using two successive underscores in a non-system symbol name */ + /* violates the C (and C++) standard, so it was changed to the */ + /* current form. In spite of this, we have to make */ + /* */ + /* ``` */ + /* #undefine __FTERRORS_H__ */ + /* ``` */ + /* */ + /* work for backward compatibility. */ + /* */ +#if !( defined( FTERRORS_H_ ) && defined ( __FTERRORS_H__ ) ) +#define FTERRORS_H_ +#define __FTERRORS_H__ + + + /* include module base error codes */ +#include + + + /*******************************************************************/ + /*******************************************************************/ + /***** *****/ + /***** SETUP MACROS *****/ + /***** *****/ + /*******************************************************************/ + /*******************************************************************/ + + +#undef FT_NEED_EXTERN_C + + + /* FT_ERR_PREFIX is used as a prefix for error identifiers. */ + /* By default, we use `FT_Err_`. */ + /* */ +#ifndef FT_ERR_PREFIX +#define FT_ERR_PREFIX FT_Err_ +#endif + + + /* FT_ERR_BASE is used as the base for module-specific errors. */ + /* */ +#ifdef FT_CONFIG_OPTION_USE_MODULE_ERRORS + +#ifndef FT_ERR_BASE +#define FT_ERR_BASE FT_Mod_Err_Base +#endif + +#else + +#undef FT_ERR_BASE +#define FT_ERR_BASE 0 + +#endif /* FT_CONFIG_OPTION_USE_MODULE_ERRORS */ + + + /* If FT_ERRORDEF is not defined, we need to define a simple */ + /* enumeration type. */ + /* */ +#ifndef FT_ERRORDEF + +#define FT_INCLUDE_ERR_PROTOS + +#define FT_ERRORDEF( e, v, s ) e = v, +#define FT_ERROR_START_LIST enum { +#define FT_ERROR_END_LIST FT_ERR_CAT( FT_ERR_PREFIX, Max ) }; + +#ifdef __cplusplus +#define FT_NEED_EXTERN_C + extern "C" { +#endif + +#endif /* !FT_ERRORDEF */ + + + /* this macro is used to define an error */ +#define FT_ERRORDEF_( e, v, s ) \ + FT_ERRORDEF( FT_ERR_CAT( FT_ERR_PREFIX, e ), v + FT_ERR_BASE, s ) + + /* this is only used for _Err_Ok, which must be 0! */ +#define FT_NOERRORDEF_( e, v, s ) \ + FT_ERRORDEF( FT_ERR_CAT( FT_ERR_PREFIX, e ), v, s ) + + +#ifdef FT_ERROR_START_LIST + FT_ERROR_START_LIST +#endif + + + /* now include the error codes */ +#include + + +#ifdef FT_ERROR_END_LIST + FT_ERROR_END_LIST +#endif + + + /*******************************************************************/ + /*******************************************************************/ + /***** *****/ + /***** SIMPLE CLEANUP *****/ + /***** *****/ + /*******************************************************************/ + /*******************************************************************/ + +#ifdef FT_NEED_EXTERN_C + } +#endif + +#undef FT_ERROR_START_LIST +#undef FT_ERROR_END_LIST + +#undef FT_ERRORDEF +#undef FT_ERRORDEF_ +#undef FT_NOERRORDEF_ + +#undef FT_NEED_EXTERN_C +#undef FT_ERR_BASE + + /* FT_ERR_PREFIX is needed internally */ +#ifndef FT2_BUILD_LIBRARY +#undef FT_ERR_PREFIX +#endif + + /* FT_INCLUDE_ERR_PROTOS: Control whether function prototypes should be */ + /* included with */ + /* */ + /* #include */ + /* */ + /* This is only true where `FT_ERRORDEF` is */ + /* undefined. */ + /* */ + /* FT_ERR_PROTOS_DEFINED: Actual multiple-inclusion protection of */ + /* `fterrors.h`. */ +#ifdef FT_INCLUDE_ERR_PROTOS +#undef FT_INCLUDE_ERR_PROTOS + +#ifndef FT_ERR_PROTOS_DEFINED +#define FT_ERR_PROTOS_DEFINED + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @function: + * FT_Error_String + * + * @description: + * Retrieve the description of a valid FreeType error code. + * + * @input: + * error_code :: + * A valid FreeType error code. + * + * @return: + * A C~string or `NULL`, if any error occurred. + * + * @note: + * FreeType has to be compiled with `FT_CONFIG_OPTION_ERROR_STRINGS` or + * `FT_DEBUG_LEVEL_ERROR` to get meaningful descriptions. + * 'error_string' will be `NULL` otherwise. + * + * Module identification will be ignored: + * + * ```c + * strcmp( FT_Error_String( FT_Err_Unknown_File_Format ), + * FT_Error_String( BDF_Err_Unknown_File_Format ) ) == 0; + * ``` + */ + FT_EXPORT( const char* ) + FT_Error_String( FT_Error error_code ); + + /* */ + +FT_END_HEADER + + +#endif /* FT_ERR_PROTOS_DEFINED */ + +#endif /* FT_INCLUDE_ERR_PROTOS */ + +#endif /* !(FTERRORS_H_ && __FTERRORS_H__) */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftfntfmt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftfntfmt.h new file mode 100644 index 0000000..c0018fc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftfntfmt.h @@ -0,0 +1,93 @@ +/**************************************************************************** + * + * ftfntfmt.h + * + * Support functions for font formats. + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTFNTFMT_H_ +#define FTFNTFMT_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * font_formats + * + * @title: + * Font Formats + * + * @abstract: + * Getting the font format. + * + * @description: + * The single function in this section can be used to get the font format. + * Note that this information is not needed normally; however, there are + * special cases (like in PDF devices) where it is important to + * differentiate, in spite of FreeType's uniform API. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Get_Font_Format + * + * @description: + * Return a string describing the format of a given face. Possible values + * are 'TrueType', 'Type~1', 'BDF', 'PCF', 'Type~42', 'CID~Type~1', 'CFF', + * 'PFR', and 'Windows~FNT'. + * + * The return value is suitable to be used as an X11 FONT_PROPERTY. + * + * @input: + * face :: + * Input face handle. + * + * @return: + * Font format string. `NULL` in case of error. + * + * @note: + * A deprecated name for the same function is `FT_Get_X11_Font_Format`. + */ + FT_EXPORT( const char* ) + FT_Get_Font_Format( FT_Face face ); + + + /* deprecated */ + FT_EXPORT( const char* ) + FT_Get_X11_Font_Format( FT_Face face ); + + + /* */ + + +FT_END_HEADER + +#endif /* FTFNTFMT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgasp.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgasp.h new file mode 100644 index 0000000..d5f19ad --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgasp.h @@ -0,0 +1,143 @@ +/**************************************************************************** + * + * ftgasp.h + * + * Access of TrueType's 'gasp' table (specification). + * + * Copyright (C) 2007-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTGASP_H_ +#define FTGASP_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * gasp_table + * + * @title: + * Gasp Table + * + * @abstract: + * Retrieving TrueType 'gasp' table entries. + * + * @description: + * The function @FT_Get_Gasp can be used to query a TrueType or OpenType + * font for specific entries in its 'gasp' table, if any. This is mainly + * useful when implementing native TrueType hinting with the bytecode + * interpreter to duplicate the Windows text rendering results. + */ + + /************************************************************************** + * + * @enum: + * FT_GASP_XXX + * + * @description: + * A list of values and/or bit-flags returned by the @FT_Get_Gasp + * function. + * + * @values: + * FT_GASP_NO_TABLE :: + * This special value means that there is no GASP table in this face. + * It is up to the client to decide what to do. + * + * FT_GASP_DO_GRIDFIT :: + * Grid-fitting and hinting should be performed at the specified ppem. + * This **really** means TrueType bytecode interpretation. If this bit + * is not set, no hinting gets applied. + * + * FT_GASP_DO_GRAY :: + * Anti-aliased rendering should be performed at the specified ppem. + * If not set, do monochrome rendering. + * + * FT_GASP_SYMMETRIC_SMOOTHING :: + * If set, smoothing along multiple axes must be used with ClearType. + * + * FT_GASP_SYMMETRIC_GRIDFIT :: + * Grid-fitting must be used with ClearType's symmetric smoothing. + * + * @note: + * The bit-flags `FT_GASP_DO_GRIDFIT` and `FT_GASP_DO_GRAY` are to be + * used for standard font rasterization only. Independently of that, + * `FT_GASP_SYMMETRIC_SMOOTHING` and `FT_GASP_SYMMETRIC_GRIDFIT` are to + * be used if ClearType is enabled (and `FT_GASP_DO_GRIDFIT` and + * `FT_GASP_DO_GRAY` are consequently ignored). + * + * 'ClearType' is Microsoft's implementation of LCD rendering, partly + * protected by patents. + * + * @since: + * 2.3.0 + */ +#define FT_GASP_NO_TABLE -1 +#define FT_GASP_DO_GRIDFIT 0x01 +#define FT_GASP_DO_GRAY 0x02 +#define FT_GASP_SYMMETRIC_GRIDFIT 0x04 +#define FT_GASP_SYMMETRIC_SMOOTHING 0x08 + + + /************************************************************************** + * + * @function: + * FT_Get_Gasp + * + * @description: + * For a TrueType or OpenType font file, return the rasterizer behaviour + * flags from the font's 'gasp' table corresponding to a given character + * pixel size. + * + * @input: + * face :: + * The source face handle. + * + * ppem :: + * The vertical character pixel size. + * + * @return: + * Bit flags (see @FT_GASP_XXX), or @FT_GASP_NO_TABLE if there is no + * 'gasp' table in the face. + * + * @note: + * If you want to use the MM functionality of OpenType variation fonts + * (i.e., using @FT_Set_Var_Design_Coordinates and friends), call this + * function **after** setting an instance since the return values can + * change. + * + * @since: + * 2.3.0 + */ + FT_EXPORT( FT_Int ) + FT_Get_Gasp( FT_Face face, + FT_UInt ppem ); + + /* */ + + +FT_END_HEADER + +#endif /* FTGASP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftglyph.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftglyph.h new file mode 100644 index 0000000..4658895 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftglyph.h @@ -0,0 +1,750 @@ +/**************************************************************************** + * + * ftglyph.h + * + * FreeType convenience functions to handle glyphs (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This file contains the definition of several convenience functions that + * can be used by client applications to easily retrieve glyph bitmaps and + * outlines from a given face. + * + * These functions should be optional if you are writing a font server or + * text layout engine on top of FreeType. However, they are pretty handy + * for many other simple uses of the library. + * + */ + + +#ifndef FTGLYPH_H_ +#define FTGLYPH_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * glyph_management + * + * @title: + * Glyph Management + * + * @abstract: + * Generic interface to manage individual glyph data. + * + * @description: + * This section contains definitions used to manage glyph data through + * generic @FT_Glyph objects. Each of them can contain a bitmap, + * a vector outline, or even images in other formats. These objects are + * detached from @FT_Face, contrary to @FT_GlyphSlot. + * + */ + + + /* forward declaration to a private type */ + typedef struct FT_Glyph_Class_ FT_Glyph_Class; + + + /************************************************************************** + * + * @type: + * FT_Glyph + * + * @description: + * Handle to an object used to model generic glyph images. It is a + * pointer to the @FT_GlyphRec structure and can contain a glyph bitmap + * or pointer. + * + * @note: + * Glyph objects are not owned by the library. You must thus release + * them manually (through @FT_Done_Glyph) _before_ calling + * @FT_Done_FreeType. + */ + typedef struct FT_GlyphRec_* FT_Glyph; + + + /************************************************************************** + * + * @struct: + * FT_GlyphRec + * + * @description: + * The root glyph structure contains a given glyph image plus its advance + * width in 16.16 fixed-point format. + * + * @fields: + * library :: + * A handle to the FreeType library object. + * + * clazz :: + * A pointer to the glyph's class. Private. + * + * format :: + * The format of the glyph's image. + * + * advance :: + * A 16.16 vector that gives the glyph's advance width. + */ + typedef struct FT_GlyphRec_ + { + FT_Library library; + const FT_Glyph_Class* clazz; + FT_Glyph_Format format; + FT_Vector advance; + + } FT_GlyphRec; + + + /************************************************************************** + * + * @type: + * FT_BitmapGlyph + * + * @description: + * A handle to an object used to model a bitmap glyph image. This is a + * 'sub-class' of @FT_Glyph, and a pointer to @FT_BitmapGlyphRec. + */ + typedef struct FT_BitmapGlyphRec_* FT_BitmapGlyph; + + + /************************************************************************** + * + * @struct: + * FT_BitmapGlyphRec + * + * @description: + * A structure used for bitmap glyph images. This really is a + * 'sub-class' of @FT_GlyphRec. + * + * @fields: + * root :: + * The root fields of @FT_Glyph. + * + * left :: + * The left-side bearing, i.e., the horizontal distance from the + * current pen position to the left border of the glyph bitmap. + * + * top :: + * The top-side bearing, i.e., the vertical distance from the current + * pen position to the top border of the glyph bitmap. This distance + * is positive for upwards~y! + * + * bitmap :: + * A descriptor for the bitmap. + * + * @note: + * You can typecast an @FT_Glyph to @FT_BitmapGlyph if you have + * `glyph->format == FT_GLYPH_FORMAT_BITMAP`. This lets you access the + * bitmap's contents easily. + * + * The corresponding pixel buffer is always owned by @FT_BitmapGlyph and + * is thus created and destroyed with it. + */ + typedef struct FT_BitmapGlyphRec_ + { + FT_GlyphRec root; + FT_Int left; + FT_Int top; + FT_Bitmap bitmap; + + } FT_BitmapGlyphRec; + + + /************************************************************************** + * + * @type: + * FT_OutlineGlyph + * + * @description: + * A handle to an object used to model an outline glyph image. This is a + * 'sub-class' of @FT_Glyph, and a pointer to @FT_OutlineGlyphRec. + */ + typedef struct FT_OutlineGlyphRec_* FT_OutlineGlyph; + + + /************************************************************************** + * + * @struct: + * FT_OutlineGlyphRec + * + * @description: + * A structure used for outline (vectorial) glyph images. This really is + * a 'sub-class' of @FT_GlyphRec. + * + * @fields: + * root :: + * The root @FT_Glyph fields. + * + * outline :: + * A descriptor for the outline. + * + * @note: + * You can typecast an @FT_Glyph to @FT_OutlineGlyph if you have + * `glyph->format == FT_GLYPH_FORMAT_OUTLINE`. This lets you access the + * outline's content easily. + * + * As the outline is extracted from a glyph slot, its coordinates are + * expressed normally in 26.6 pixels, unless the flag @FT_LOAD_NO_SCALE + * was used in @FT_Load_Glyph or @FT_Load_Char. + * + * The outline's tables are always owned by the object and are destroyed + * with it. + */ + typedef struct FT_OutlineGlyphRec_ + { + FT_GlyphRec root; + FT_Outline outline; + + } FT_OutlineGlyphRec; + + + /************************************************************************** + * + * @type: + * FT_SvgGlyph + * + * @description: + * A handle to an object used to model an SVG glyph. This is a + * 'sub-class' of @FT_Glyph, and a pointer to @FT_SvgGlyphRec. + * + * @since: + * 2.12 + */ + typedef struct FT_SvgGlyphRec_* FT_SvgGlyph; + + + /************************************************************************** + * + * @struct: + * FT_SvgGlyphRec + * + * @description: + * A structure used for OT-SVG glyphs. This is a 'sub-class' of + * @FT_GlyphRec. + * + * @fields: + * root :: + * The root @FT_GlyphRec fields. + * + * svg_document :: + * A pointer to the SVG document. + * + * svg_document_length :: + * The length of `svg_document`. + * + * glyph_index :: + * The index of the glyph to be rendered. + * + * metrics :: + * A metrics object storing the size information. + * + * units_per_EM :: + * The size of the EM square. + * + * start_glyph_id :: + * The first glyph ID in the glyph range covered by this document. + * + * end_glyph_id :: + * The last glyph ID in the glyph range covered by this document. + * + * transform :: + * A 2x2 transformation matrix to apply to the glyph while rendering + * it. + * + * delta :: + * Translation to apply to the glyph while rendering. + * + * @note: + * The Glyph Management API requires @FT_Glyph or its 'sub-class' to have + * all the information needed to completely define the glyph's rendering. + * Outline-based glyphs can directly apply transformations to the outline + * but this is not possible for an SVG document that hasn't been parsed. + * Therefore, the transformation is stored along with the document. In + * the absence of a 'ViewBox' or 'Width'/'Height' attribute, the size of + * the ViewPort should be assumed to be 'units_per_EM'. + */ + typedef struct FT_SvgGlyphRec_ + { + FT_GlyphRec root; + + FT_Byte* svg_document; + FT_ULong svg_document_length; + + FT_UInt glyph_index; + + FT_Size_Metrics metrics; + FT_UShort units_per_EM; + + FT_UShort start_glyph_id; + FT_UShort end_glyph_id; + + FT_Matrix transform; + FT_Vector delta; + + } FT_SvgGlyphRec; + + + /************************************************************************** + * + * @function: + * FT_New_Glyph + * + * @description: + * A function used to create a new empty glyph image. Note that the + * created @FT_Glyph object must be released with @FT_Done_Glyph. + * + * @input: + * library :: + * A handle to the FreeType library object. + * + * format :: + * The format of the glyph's image. + * + * @output: + * aglyph :: + * A handle to the glyph object. + * + * @return: + * FreeType error code. 0~means success. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_New_Glyph( FT_Library library, + FT_Glyph_Format format, + FT_Glyph *aglyph ); + + + /************************************************************************** + * + * @function: + * FT_Get_Glyph + * + * @description: + * A function used to extract a glyph image from a slot. Note that the + * created @FT_Glyph object must be released with @FT_Done_Glyph. + * + * @input: + * slot :: + * A handle to the source glyph slot. + * + * @output: + * aglyph :: + * A handle to the glyph object. `NULL` in case of error. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Because `*aglyph->advance.x` and `*aglyph->advance.y` are 16.16 + * fixed-point numbers, `slot->advance.x` and `slot->advance.y` (which + * are in 26.6 fixed-point format) must be in the range ]-32768;32768[. + */ + FT_EXPORT( FT_Error ) + FT_Get_Glyph( FT_GlyphSlot slot, + FT_Glyph *aglyph ); + + + /************************************************************************** + * + * @function: + * FT_Glyph_Copy + * + * @description: + * A function used to copy a glyph image. Note that the created + * @FT_Glyph object must be released with @FT_Done_Glyph. + * + * @input: + * source :: + * A handle to the source glyph object. + * + * @output: + * target :: + * A handle to the target glyph object. `NULL` in case of error. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Glyph_Copy( FT_Glyph source, + FT_Glyph *target ); + + + /************************************************************************** + * + * @function: + * FT_Glyph_Transform + * + * @description: + * Transform a glyph image if its format is scalable. + * + * @inout: + * glyph :: + * A handle to the target glyph object. + * + * @input: + * matrix :: + * A pointer to a 2x2 matrix to apply. + * + * delta :: + * A pointer to a 2d vector to apply. Coordinates are expressed in + * 1/64 of a pixel. + * + * @return: + * FreeType error code (if not 0, the glyph format is not scalable). + * + * @note: + * The 2x2 transformation matrix is also applied to the glyph's advance + * vector. + */ + FT_EXPORT( FT_Error ) + FT_Glyph_Transform( FT_Glyph glyph, + const FT_Matrix* matrix, + const FT_Vector* delta ); + + + /************************************************************************** + * + * @enum: + * FT_Glyph_BBox_Mode + * + * @description: + * The mode how the values of @FT_Glyph_Get_CBox are returned. + * + * @values: + * FT_GLYPH_BBOX_UNSCALED :: + * Return unscaled font units. + * + * FT_GLYPH_BBOX_SUBPIXELS :: + * Return unfitted 26.6 coordinates. + * + * FT_GLYPH_BBOX_GRIDFIT :: + * Return grid-fitted 26.6 coordinates. + * + * FT_GLYPH_BBOX_TRUNCATE :: + * Return coordinates in integer pixels. + * + * FT_GLYPH_BBOX_PIXELS :: + * Return grid-fitted pixel coordinates. + */ + typedef enum FT_Glyph_BBox_Mode_ + { + FT_GLYPH_BBOX_UNSCALED = 0, + FT_GLYPH_BBOX_SUBPIXELS = 0, + FT_GLYPH_BBOX_GRIDFIT = 1, + FT_GLYPH_BBOX_TRUNCATE = 2, + FT_GLYPH_BBOX_PIXELS = 3 + + } FT_Glyph_BBox_Mode; + + + /* these constants are deprecated; use the corresponding */ + /* `FT_Glyph_BBox_Mode` values instead */ +#define ft_glyph_bbox_unscaled FT_GLYPH_BBOX_UNSCALED +#define ft_glyph_bbox_subpixels FT_GLYPH_BBOX_SUBPIXELS +#define ft_glyph_bbox_gridfit FT_GLYPH_BBOX_GRIDFIT +#define ft_glyph_bbox_truncate FT_GLYPH_BBOX_TRUNCATE +#define ft_glyph_bbox_pixels FT_GLYPH_BBOX_PIXELS + + + /************************************************************************** + * + * @function: + * FT_Glyph_Get_CBox + * + * @description: + * Return a glyph's 'control box'. The control box encloses all the + * outline's points, including Bezier control points. Though it + * coincides with the exact bounding box for most glyphs, it can be + * slightly larger in some situations (like when rotating an outline that + * contains Bezier outside arcs). + * + * Computing the control box is very fast, while getting the bounding box + * can take much more time as it needs to walk over all segments and arcs + * in the outline. To get the latter, you can use the 'ftbbox' + * component, which is dedicated to this single task. + * + * @input: + * glyph :: + * A handle to the source glyph object. + * + * mode :: + * The mode that indicates how to interpret the returned bounding box + * values. + * + * @output: + * acbox :: + * The glyph coordinate bounding box. Coordinates are expressed in + * 1/64 of pixels if it is grid-fitted. + * + * @note: + * Coordinates are relative to the glyph origin, using the y~upwards + * convention. + * + * If the glyph has been loaded with @FT_LOAD_NO_SCALE, `bbox_mode` must + * be set to @FT_GLYPH_BBOX_UNSCALED to get unscaled font units in 26.6 + * pixel format. The value @FT_GLYPH_BBOX_SUBPIXELS is another name for + * this constant. + * + * If the font is tricky and the glyph has been loaded with + * @FT_LOAD_NO_SCALE, the resulting CBox is meaningless. To get + * reasonable values for the CBox it is necessary to load the glyph at a + * large ppem value (so that the hinting instructions can properly shift + * and scale the subglyphs), then extracting the CBox, which can be + * eventually converted back to font units. + * + * Note that the maximum coordinates are exclusive, which means that one + * can compute the width and height of the glyph image (be it in integer + * or 26.6 pixels) as: + * + * ``` + * width = bbox.xMax - bbox.xMin; + * height = bbox.yMax - bbox.yMin; + * ``` + * + * Note also that for 26.6 coordinates, if `bbox_mode` is set to + * @FT_GLYPH_BBOX_GRIDFIT, the coordinates will also be grid-fitted, + * which corresponds to: + * + * ``` + * bbox.xMin = FLOOR(bbox.xMin); + * bbox.yMin = FLOOR(bbox.yMin); + * bbox.xMax = CEILING(bbox.xMax); + * bbox.yMax = CEILING(bbox.yMax); + * ``` + * + * To get the bbox in pixel coordinates, set `bbox_mode` to + * @FT_GLYPH_BBOX_TRUNCATE. + * + * To get the bbox in grid-fitted pixel coordinates, set `bbox_mode` to + * @FT_GLYPH_BBOX_PIXELS. + */ + FT_EXPORT( void ) + FT_Glyph_Get_CBox( FT_Glyph glyph, + FT_UInt bbox_mode, + FT_BBox *acbox ); + + + /************************************************************************** + * + * @function: + * FT_Glyph_To_Bitmap + * + * @description: + * Convert a given glyph object to a bitmap glyph object. + * + * @inout: + * the_glyph :: + * A pointer to a handle to the target glyph. + * + * @input: + * render_mode :: + * An enumeration that describes how the data is rendered. + * + * origin :: + * A pointer to a vector used to translate the glyph image before + * rendering. Can be~0 (if no translation). The origin is expressed + * in 26.6 pixels. + * + * destroy :: + * A boolean that indicates that the original glyph image should be + * destroyed by this function. It is never destroyed in case of error. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function does nothing if the glyph format isn't scalable. + * + * The glyph image is translated with the `origin` vector before + * rendering. + * + * The first parameter is a pointer to an @FT_Glyph handle that will be + * _replaced_ by this function (with newly allocated data). Typically, + * you would do something like the following (omitting error handling). + * + * ``` + * FT_Glyph glyph; + * FT_BitmapGlyph glyph_bitmap; + * + * + * // load glyph + * error = FT_Load_Char( face, glyph_index, FT_LOAD_DEFAULT ); + * + * // extract glyph image + * error = FT_Get_Glyph( face->glyph, &glyph ); + * + * // convert to a bitmap (default render mode + destroying old) + * if ( glyph->format != FT_GLYPH_FORMAT_BITMAP ) + * { + * error = FT_Glyph_To_Bitmap( &glyph, FT_RENDER_MODE_NORMAL, + * 0, 1 ); + * if ( error ) // `glyph' unchanged + * ... + * } + * + * // access bitmap content by typecasting + * glyph_bitmap = (FT_BitmapGlyph)glyph; + * + * // do funny stuff with it, like blitting/drawing + * ... + * + * // discard glyph image (bitmap or not) + * FT_Done_Glyph( glyph ); + * ``` + * + * Here is another example, again without error handling. + * + * ``` + * FT_Glyph glyphs[MAX_GLYPHS] + * + * + * ... + * + * for ( idx = 0; i < MAX_GLYPHS; i++ ) + * error = FT_Load_Glyph( face, idx, FT_LOAD_DEFAULT ) || + * FT_Get_Glyph ( face->glyph, &glyphs[idx] ); + * + * ... + * + * for ( idx = 0; i < MAX_GLYPHS; i++ ) + * { + * FT_Glyph bitmap = glyphs[idx]; + * + * + * ... + * + * // after this call, `bitmap' no longer points into + * // the `glyphs' array (and the old value isn't destroyed) + * FT_Glyph_To_Bitmap( &bitmap, FT_RENDER_MODE_MONO, 0, 0 ); + * + * ... + * + * FT_Done_Glyph( bitmap ); + * } + * + * ... + * + * for ( idx = 0; i < MAX_GLYPHS; i++ ) + * FT_Done_Glyph( glyphs[idx] ); + * ``` + */ + FT_EXPORT( FT_Error ) + FT_Glyph_To_Bitmap( FT_Glyph* the_glyph, + FT_Render_Mode render_mode, + const FT_Vector* origin, + FT_Bool destroy ); + + + /************************************************************************** + * + * @function: + * FT_Done_Glyph + * + * @description: + * Destroy a given glyph. + * + * @input: + * glyph :: + * A handle to the target glyph object. Can be `NULL`. + */ + FT_EXPORT( void ) + FT_Done_Glyph( FT_Glyph glyph ); + + /* */ + + + /* other helpful functions */ + + /************************************************************************** + * + * @section: + * computations + * + */ + + + /************************************************************************** + * + * @function: + * FT_Matrix_Multiply + * + * @description: + * Perform the matrix operation `b = a*b`. + * + * @input: + * a :: + * A pointer to matrix `a`. + * + * @inout: + * b :: + * A pointer to matrix `b`. + * + * @note: + * The result is undefined if either `a` or `b` is zero. + * + * Since the function uses wrap-around arithmetic, results become + * meaningless if the arguments are very large. + */ + FT_EXPORT( void ) + FT_Matrix_Multiply( const FT_Matrix* a, + FT_Matrix* b ); + + + /************************************************************************** + * + * @function: + * FT_Matrix_Invert + * + * @description: + * Invert a 2x2 matrix. Return an error if it can't be inverted. + * + * @inout: + * matrix :: + * A pointer to the target matrix. Remains untouched in case of error. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Matrix_Invert( FT_Matrix* matrix ); + + /* */ + + +FT_END_HEADER + +#endif /* FTGLYPH_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgxval.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgxval.h new file mode 100644 index 0000000..e8de9a6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgxval.h @@ -0,0 +1,354 @@ +/**************************************************************************** + * + * ftgxval.h + * + * FreeType API for validating TrueTypeGX/AAT tables (specification). + * + * Copyright (C) 2004-2023 by + * Masatake YAMATO, Redhat K.K, + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +/**************************************************************************** + * + * gxvalid is derived from both gxlayout module and otvalid module. + * Development of gxlayout is supported by the Information-technology + * Promotion Agency(IPA), Japan. + * + */ + + +#ifndef FTGXVAL_H_ +#define FTGXVAL_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * gx_validation + * + * @title: + * TrueTypeGX/AAT Validation + * + * @abstract: + * An API to validate TrueTypeGX/AAT tables. + * + * @description: + * This section contains the declaration of functions to validate some + * TrueTypeGX tables (feat, mort, morx, bsln, just, kern, opbd, trak, + * prop, lcar). + * + * @order: + * FT_TrueTypeGX_Validate + * FT_TrueTypeGX_Free + * + * FT_ClassicKern_Validate + * FT_ClassicKern_Free + * + * FT_VALIDATE_GX_LENGTH + * FT_VALIDATE_GXXXX + * FT_VALIDATE_CKERNXXX + * + */ + + /************************************************************************** + * + * + * Warning: Use `FT_VALIDATE_XXX` to validate a table. + * Following definitions are for gxvalid developers. + * + * + */ + +#define FT_VALIDATE_feat_INDEX 0 +#define FT_VALIDATE_mort_INDEX 1 +#define FT_VALIDATE_morx_INDEX 2 +#define FT_VALIDATE_bsln_INDEX 3 +#define FT_VALIDATE_just_INDEX 4 +#define FT_VALIDATE_kern_INDEX 5 +#define FT_VALIDATE_opbd_INDEX 6 +#define FT_VALIDATE_trak_INDEX 7 +#define FT_VALIDATE_prop_INDEX 8 +#define FT_VALIDATE_lcar_INDEX 9 +#define FT_VALIDATE_GX_LAST_INDEX FT_VALIDATE_lcar_INDEX + + + /************************************************************************** + * + * @macro: + * FT_VALIDATE_GX_LENGTH + * + * @description: + * The number of tables checked in this module. Use it as a parameter + * for the `table-length` argument of function @FT_TrueTypeGX_Validate. + */ +#define FT_VALIDATE_GX_LENGTH ( FT_VALIDATE_GX_LAST_INDEX + 1 ) + + /* */ + + /* Up to 0x1000 is used by otvalid. + Ox2xxx is reserved for feature OT extension. */ +#define FT_VALIDATE_GX_START 0x4000 +#define FT_VALIDATE_GX_BITFIELD( tag ) \ + ( FT_VALIDATE_GX_START << FT_VALIDATE_##tag##_INDEX ) + + + /************************************************************************** + * + * @enum: + * FT_VALIDATE_GXXXX + * + * @description: + * A list of bit-field constants used with @FT_TrueTypeGX_Validate to + * indicate which TrueTypeGX/AAT Type tables should be validated. + * + * @values: + * FT_VALIDATE_feat :: + * Validate 'feat' table. + * + * FT_VALIDATE_mort :: + * Validate 'mort' table. + * + * FT_VALIDATE_morx :: + * Validate 'morx' table. + * + * FT_VALIDATE_bsln :: + * Validate 'bsln' table. + * + * FT_VALIDATE_just :: + * Validate 'just' table. + * + * FT_VALIDATE_kern :: + * Validate 'kern' table. + * + * FT_VALIDATE_opbd :: + * Validate 'opbd' table. + * + * FT_VALIDATE_trak :: + * Validate 'trak' table. + * + * FT_VALIDATE_prop :: + * Validate 'prop' table. + * + * FT_VALIDATE_lcar :: + * Validate 'lcar' table. + * + * FT_VALIDATE_GX :: + * Validate all TrueTypeGX tables (feat, mort, morx, bsln, just, kern, + * opbd, trak, prop and lcar). + * + */ + +#define FT_VALIDATE_feat FT_VALIDATE_GX_BITFIELD( feat ) +#define FT_VALIDATE_mort FT_VALIDATE_GX_BITFIELD( mort ) +#define FT_VALIDATE_morx FT_VALIDATE_GX_BITFIELD( morx ) +#define FT_VALIDATE_bsln FT_VALIDATE_GX_BITFIELD( bsln ) +#define FT_VALIDATE_just FT_VALIDATE_GX_BITFIELD( just ) +#define FT_VALIDATE_kern FT_VALIDATE_GX_BITFIELD( kern ) +#define FT_VALIDATE_opbd FT_VALIDATE_GX_BITFIELD( opbd ) +#define FT_VALIDATE_trak FT_VALIDATE_GX_BITFIELD( trak ) +#define FT_VALIDATE_prop FT_VALIDATE_GX_BITFIELD( prop ) +#define FT_VALIDATE_lcar FT_VALIDATE_GX_BITFIELD( lcar ) + +#define FT_VALIDATE_GX ( FT_VALIDATE_feat | \ + FT_VALIDATE_mort | \ + FT_VALIDATE_morx | \ + FT_VALIDATE_bsln | \ + FT_VALIDATE_just | \ + FT_VALIDATE_kern | \ + FT_VALIDATE_opbd | \ + FT_VALIDATE_trak | \ + FT_VALIDATE_prop | \ + FT_VALIDATE_lcar ) + + + /************************************************************************** + * + * @function: + * FT_TrueTypeGX_Validate + * + * @description: + * Validate various TrueTypeGX tables to assure that all offsets and + * indices are valid. The idea is that a higher-level library that + * actually does the text layout can access those tables without error + * checking (which can be quite time consuming). + * + * @input: + * face :: + * A handle to the input face. + * + * validation_flags :: + * A bit field that specifies the tables to be validated. See + * @FT_VALIDATE_GXXXX for possible values. + * + * table_length :: + * The size of the `tables` array. Normally, @FT_VALIDATE_GX_LENGTH + * should be passed. + * + * @output: + * tables :: + * The array where all validated sfnt tables are stored. The array + * itself must be allocated by a client. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with TrueTypeGX fonts, returning an error + * otherwise. + * + * After use, the application should deallocate the buffers pointed to by + * each `tables` element, by calling @FT_TrueTypeGX_Free. A `NULL` value + * indicates that the table either doesn't exist in the font, the + * application hasn't asked for validation, or the validator doesn't have + * the ability to validate the sfnt table. + */ + FT_EXPORT( FT_Error ) + FT_TrueTypeGX_Validate( FT_Face face, + FT_UInt validation_flags, + FT_Bytes tables[FT_VALIDATE_GX_LENGTH], + FT_UInt table_length ); + + + /************************************************************************** + * + * @function: + * FT_TrueTypeGX_Free + * + * @description: + * Free the buffer allocated by TrueTypeGX validator. + * + * @input: + * face :: + * A handle to the input face. + * + * table :: + * The pointer to the buffer allocated by @FT_TrueTypeGX_Validate. + * + * @note: + * This function must be used to free the buffer allocated by + * @FT_TrueTypeGX_Validate only. + */ + FT_EXPORT( void ) + FT_TrueTypeGX_Free( FT_Face face, + FT_Bytes table ); + + + /************************************************************************** + * + * @enum: + * FT_VALIDATE_CKERNXXX + * + * @description: + * A list of bit-field constants used with @FT_ClassicKern_Validate to + * indicate the classic kern dialect or dialects. If the selected type + * doesn't fit, @FT_ClassicKern_Validate regards the table as invalid. + * + * @values: + * FT_VALIDATE_MS :: + * Handle the 'kern' table as a classic Microsoft kern table. + * + * FT_VALIDATE_APPLE :: + * Handle the 'kern' table as a classic Apple kern table. + * + * FT_VALIDATE_CKERN :: + * Handle the 'kern' as either classic Apple or Microsoft kern table. + */ +#define FT_VALIDATE_MS ( FT_VALIDATE_GX_START << 0 ) +#define FT_VALIDATE_APPLE ( FT_VALIDATE_GX_START << 1 ) + +#define FT_VALIDATE_CKERN ( FT_VALIDATE_MS | FT_VALIDATE_APPLE ) + + + /************************************************************************** + * + * @function: + * FT_ClassicKern_Validate + * + * @description: + * Validate classic (16-bit format) kern table to assure that the + * offsets and indices are valid. The idea is that a higher-level + * library that actually does the text layout can access those tables + * without error checking (which can be quite time consuming). + * + * The 'kern' table validator in @FT_TrueTypeGX_Validate deals with both + * the new 32-bit format and the classic 16-bit format, while + * FT_ClassicKern_Validate only supports the classic 16-bit format. + * + * @input: + * face :: + * A handle to the input face. + * + * validation_flags :: + * A bit field that specifies the dialect to be validated. See + * @FT_VALIDATE_CKERNXXX for possible values. + * + * @output: + * ckern_table :: + * A pointer to the kern table. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * After use, the application should deallocate the buffers pointed to by + * `ckern_table`, by calling @FT_ClassicKern_Free. A `NULL` value + * indicates that the table doesn't exist in the font. + */ + FT_EXPORT( FT_Error ) + FT_ClassicKern_Validate( FT_Face face, + FT_UInt validation_flags, + FT_Bytes *ckern_table ); + + + /************************************************************************** + * + * @function: + * FT_ClassicKern_Free + * + * @description: + * Free the buffer allocated by classic Kern validator. + * + * @input: + * face :: + * A handle to the input face. + * + * table :: + * The pointer to the buffer that is allocated by + * @FT_ClassicKern_Validate. + * + * @note: + * This function must be used to free the buffer allocated by + * @FT_ClassicKern_Validate only. + */ + FT_EXPORT( void ) + FT_ClassicKern_Free( FT_Face face, + FT_Bytes table ); + + /* */ + + +FT_END_HEADER + +#endif /* FTGXVAL_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgzip.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgzip.h new file mode 100644 index 0000000..443ec29 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftgzip.h @@ -0,0 +1,151 @@ +/**************************************************************************** + * + * ftgzip.h + * + * Gzip-compressed stream support. + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTGZIP_H_ +#define FTGZIP_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * gzip + * + * @title: + * GZIP Streams + * + * @abstract: + * Using gzip-compressed font files. + * + * @description: + * In certain builds of the library, gzip compression recognition is + * automatically handled when calling @FT_New_Face or @FT_Open_Face. + * This means that if no font driver is capable of handling the raw + * compressed file, the library will try to open a gzipped stream from it + * and re-open the face with it. + * + * The stream implementation is very basic and resets the decompression + * process each time seeking backwards is needed within the stream, + * which significantly undermines the performance. + * + * This section contains the declaration of Gzip-specific functions. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Stream_OpenGzip + * + * @description: + * Open a new stream to parse gzip-compressed font files. This is mainly + * used to support the compressed `*.pcf.gz` fonts that come with + * XFree86. + * + * @input: + * stream :: + * The target embedding stream. + * + * source :: + * The source stream. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The source stream must be opened _before_ calling this function. + * + * Calling the internal function `FT_Stream_Close` on the new stream will + * **not** call `FT_Stream_Close` on the source stream. None of the + * stream objects will be released to the heap. + * + * This function may return `FT_Err_Unimplemented_Feature` if your build + * of FreeType was not compiled with zlib support. + */ + FT_EXPORT( FT_Error ) + FT_Stream_OpenGzip( FT_Stream stream, + FT_Stream source ); + + + /************************************************************************** + * + * @function: + * FT_Gzip_Uncompress + * + * @description: + * Decompress a zipped input buffer into an output buffer. This function + * is modeled after zlib's `uncompress` function. + * + * @input: + * memory :: + * A FreeType memory handle. + * + * input :: + * The input buffer. + * + * input_len :: + * The length of the input buffer. + * + * @output: + * output :: + * The output buffer. + * + * @inout: + * output_len :: + * Before calling the function, this is the total size of the output + * buffer, which must be large enough to hold the entire uncompressed + * data (so the size of the uncompressed data must be known in + * advance). After calling the function, `output_len` is the size of + * the used data in `output`. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function may return `FT_Err_Unimplemented_Feature` if your build + * of FreeType was not compiled with zlib support. + * + * @since: + * 2.5.1 + */ + FT_EXPORT( FT_Error ) + FT_Gzip_Uncompress( FT_Memory memory, + FT_Byte* output, + FT_ULong* output_len, + const FT_Byte* input, + FT_ULong input_len ); + + /* */ + + +FT_END_HEADER + +#endif /* FTGZIP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftimage.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftimage.h new file mode 100644 index 0000000..6baa812 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftimage.h @@ -0,0 +1,1284 @@ +/**************************************************************************** + * + * ftimage.h + * + * FreeType glyph image formats and default raster interface + * (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + /************************************************************************** + * + * Note: A 'raster' is simply a scan-line converter, used to render + * `FT_Outline`s into `FT_Bitmap`s. + * + */ + + +#ifndef FTIMAGE_H_ +#define FTIMAGE_H_ + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * basic_types + * + */ + + + /************************************************************************** + * + * @type: + * FT_Pos + * + * @description: + * The type FT_Pos is used to store vectorial coordinates. Depending on + * the context, these can represent distances in integer font units, or + * 16.16, or 26.6 fixed-point pixel coordinates. + */ + typedef signed long FT_Pos; + + + /************************************************************************** + * + * @struct: + * FT_Vector + * + * @description: + * A simple structure used to store a 2D vector; coordinates are of the + * FT_Pos type. + * + * @fields: + * x :: + * The horizontal coordinate. + * y :: + * The vertical coordinate. + */ + typedef struct FT_Vector_ + { + FT_Pos x; + FT_Pos y; + + } FT_Vector; + + + /************************************************************************** + * + * @struct: + * FT_BBox + * + * @description: + * A structure used to hold an outline's bounding box, i.e., the + * coordinates of its extrema in the horizontal and vertical directions. + * + * @fields: + * xMin :: + * The horizontal minimum (left-most). + * + * yMin :: + * The vertical minimum (bottom-most). + * + * xMax :: + * The horizontal maximum (right-most). + * + * yMax :: + * The vertical maximum (top-most). + * + * @note: + * The bounding box is specified with the coordinates of the lower left + * and the upper right corner. In PostScript, those values are often + * called (llx,lly) and (urx,ury), respectively. + * + * If `yMin` is negative, this value gives the glyph's descender. + * Otherwise, the glyph doesn't descend below the baseline. Similarly, + * if `ymax` is positive, this value gives the glyph's ascender. + * + * `xMin` gives the horizontal distance from the glyph's origin to the + * left edge of the glyph's bounding box. If `xMin` is negative, the + * glyph extends to the left of the origin. + */ + typedef struct FT_BBox_ + { + FT_Pos xMin, yMin; + FT_Pos xMax, yMax; + + } FT_BBox; + + + /************************************************************************** + * + * @enum: + * FT_Pixel_Mode + * + * @description: + * An enumeration type used to describe the format of pixels in a given + * bitmap. Note that additional formats may be added in the future. + * + * @values: + * FT_PIXEL_MODE_NONE :: + * Value~0 is reserved. + * + * FT_PIXEL_MODE_MONO :: + * A monochrome bitmap, using 1~bit per pixel. Note that pixels are + * stored in most-significant order (MSB), which means that the + * left-most pixel in a byte has value 128. + * + * FT_PIXEL_MODE_GRAY :: + * An 8-bit bitmap, generally used to represent anti-aliased glyph + * images. Each pixel is stored in one byte. Note that the number of + * 'gray' levels is stored in the `num_grays` field of the @FT_Bitmap + * structure (it generally is 256). + * + * FT_PIXEL_MODE_GRAY2 :: + * A 2-bit per pixel bitmap, used to represent embedded anti-aliased + * bitmaps in font files according to the OpenType specification. We + * haven't found a single font using this format, however. + * + * FT_PIXEL_MODE_GRAY4 :: + * A 4-bit per pixel bitmap, representing embedded anti-aliased bitmaps + * in font files according to the OpenType specification. We haven't + * found a single font using this format, however. + * + * FT_PIXEL_MODE_LCD :: + * An 8-bit bitmap, representing RGB or BGR decimated glyph images used + * for display on LCD displays; the bitmap is three times wider than + * the original glyph image. See also @FT_RENDER_MODE_LCD. + * + * FT_PIXEL_MODE_LCD_V :: + * An 8-bit bitmap, representing RGB or BGR decimated glyph images used + * for display on rotated LCD displays; the bitmap is three times + * taller than the original glyph image. See also + * @FT_RENDER_MODE_LCD_V. + * + * FT_PIXEL_MODE_BGRA :: + * [Since 2.5] An image with four 8-bit channels per pixel, + * representing a color image (such as emoticons) with alpha channel. + * For each pixel, the format is BGRA, which means, the blue channel + * comes first in memory. The color channels are pre-multiplied and in + * the sRGB colorspace. For example, full red at half-translucent + * opacity will be represented as '00,00,80,80', not '00,00,FF,80'. + * See also @FT_LOAD_COLOR. + */ + typedef enum FT_Pixel_Mode_ + { + FT_PIXEL_MODE_NONE = 0, + FT_PIXEL_MODE_MONO, + FT_PIXEL_MODE_GRAY, + FT_PIXEL_MODE_GRAY2, + FT_PIXEL_MODE_GRAY4, + FT_PIXEL_MODE_LCD, + FT_PIXEL_MODE_LCD_V, + FT_PIXEL_MODE_BGRA, + + FT_PIXEL_MODE_MAX /* do not remove */ + + } FT_Pixel_Mode; + + + /* these constants are deprecated; use the corresponding `FT_Pixel_Mode` */ + /* values instead. */ +#define ft_pixel_mode_none FT_PIXEL_MODE_NONE +#define ft_pixel_mode_mono FT_PIXEL_MODE_MONO +#define ft_pixel_mode_grays FT_PIXEL_MODE_GRAY +#define ft_pixel_mode_pal2 FT_PIXEL_MODE_GRAY2 +#define ft_pixel_mode_pal4 FT_PIXEL_MODE_GRAY4 + + /* */ + + /* For debugging, the @FT_Pixel_Mode enumeration must stay in sync */ + /* with the `pixel_modes` array in file `ftobjs.c`. */ + + + /************************************************************************** + * + * @struct: + * FT_Bitmap + * + * @description: + * A structure used to describe a bitmap or pixmap to the raster. Note + * that we now manage pixmaps of various depths through the `pixel_mode` + * field. + * + * @fields: + * rows :: + * The number of bitmap rows. + * + * width :: + * The number of pixels in bitmap row. + * + * pitch :: + * The pitch's absolute value is the number of bytes taken by one + * bitmap row, including padding. However, the pitch is positive when + * the bitmap has a 'down' flow, and negative when it has an 'up' flow. + * In all cases, the pitch is an offset to add to a bitmap pointer in + * order to go down one row. + * + * Note that 'padding' means the alignment of a bitmap to a byte + * border, and FreeType functions normally align to the smallest + * possible integer value. + * + * For the B/W rasterizer, `pitch` is always an even number. + * + * To change the pitch of a bitmap (say, to make it a multiple of 4), + * use @FT_Bitmap_Convert. Alternatively, you might use callback + * functions to directly render to the application's surface; see the + * file `example2.cpp` in the tutorial for a demonstration. + * + * buffer :: + * A typeless pointer to the bitmap buffer. This value should be + * aligned on 32-bit boundaries in most cases. + * + * num_grays :: + * This field is only used with @FT_PIXEL_MODE_GRAY; it gives the + * number of gray levels used in the bitmap. + * + * pixel_mode :: + * The pixel mode, i.e., how pixel bits are stored. See @FT_Pixel_Mode + * for possible values. + * + * palette_mode :: + * This field is intended for paletted pixel modes; it indicates how + * the palette is stored. Not used currently. + * + * palette :: + * A typeless pointer to the bitmap palette; this field is intended for + * paletted pixel modes. Not used currently. + * + * @note: + * `width` and `rows` refer to the *physical* size of the bitmap, not the + * *logical* one. For example, if @FT_Pixel_Mode is set to + * `FT_PIXEL_MODE_LCD`, the logical width is a just a third of the + * physical one. + */ + typedef struct FT_Bitmap_ + { + unsigned int rows; + unsigned int width; + int pitch; + unsigned char* buffer; + unsigned short num_grays; + unsigned char pixel_mode; + unsigned char palette_mode; + void* palette; + + } FT_Bitmap; + + + /************************************************************************** + * + * @section: + * outline_processing + * + */ + + + /************************************************************************** + * + * @struct: + * FT_Outline + * + * @description: + * This structure is used to describe an outline to the scan-line + * converter. + * + * @fields: + * n_contours :: + * The number of contours in the outline. + * + * n_points :: + * The number of points in the outline. + * + * points :: + * A pointer to an array of `n_points` @FT_Vector elements, giving the + * outline's point coordinates. + * + * tags :: + * A pointer to an array of `n_points` chars, giving each outline + * point's type. + * + * If bit~0 is unset, the point is 'off' the curve, i.e., a Bezier + * control point, while it is 'on' if set. + * + * Bit~1 is meaningful for 'off' points only. If set, it indicates a + * third-order Bezier arc control point; and a second-order control + * point if unset. + * + * If bit~2 is set, bits 5-7 contain the drop-out mode (as defined in + * the OpenType specification; the value is the same as the argument to + * the 'SCANMODE' instruction). + * + * Bits 3 and~4 are reserved for internal purposes. + * + * contours :: + * An array of `n_contours` shorts, giving the end point of each + * contour within the outline. For example, the first contour is + * defined by the points '0' to `contours[0]`, the second one is + * defined by the points `contours[0]+1` to `contours[1]`, etc. + * + * flags :: + * A set of bit flags used to characterize the outline and give hints + * to the scan-converter and hinter on how to convert/grid-fit it. See + * @FT_OUTLINE_XXX. + * + * @note: + * The B/W rasterizer only checks bit~2 in the `tags` array for the first + * point of each contour. The drop-out mode as given with + * @FT_OUTLINE_IGNORE_DROPOUTS, @FT_OUTLINE_SMART_DROPOUTS, and + * @FT_OUTLINE_INCLUDE_STUBS in `flags` is then overridden. + */ + typedef struct FT_Outline_ + { + short n_contours; /* number of contours in glyph */ + short n_points; /* number of points in the glyph */ + + FT_Vector* points; /* the outline's points */ + char* tags; /* the points flags */ + short* contours; /* the contour end points */ + + int flags; /* outline masks */ + + } FT_Outline; + + /* */ + + /* Following limits must be consistent with */ + /* FT_Outline.{n_contours,n_points} */ +#define FT_OUTLINE_CONTOURS_MAX SHRT_MAX +#define FT_OUTLINE_POINTS_MAX SHRT_MAX + + + /************************************************************************** + * + * @enum: + * FT_OUTLINE_XXX + * + * @description: + * A list of bit-field constants used for the flags in an outline's + * `flags` field. + * + * @values: + * FT_OUTLINE_NONE :: + * Value~0 is reserved. + * + * FT_OUTLINE_OWNER :: + * If set, this flag indicates that the outline's field arrays (i.e., + * `points`, `flags`, and `contours`) are 'owned' by the outline + * object, and should thus be freed when it is destroyed. + * + * FT_OUTLINE_EVEN_ODD_FILL :: + * By default, outlines are filled using the non-zero winding rule. If + * set to 1, the outline will be filled using the even-odd fill rule + * (only works with the smooth rasterizer). + * + * FT_OUTLINE_REVERSE_FILL :: + * By default, outside contours of an outline are oriented in + * clock-wise direction, as defined in the TrueType specification. + * This flag is set if the outline uses the opposite direction + * (typically for Type~1 fonts). This flag is ignored by the scan + * converter. + * + * FT_OUTLINE_IGNORE_DROPOUTS :: + * By default, the scan converter will try to detect drop-outs in an + * outline and correct the glyph bitmap to ensure consistent shape + * continuity. If set, this flag hints the scan-line converter to + * ignore such cases. See below for more information. + * + * FT_OUTLINE_SMART_DROPOUTS :: + * Select smart dropout control. If unset, use simple dropout control. + * Ignored if @FT_OUTLINE_IGNORE_DROPOUTS is set. See below for more + * information. + * + * FT_OUTLINE_INCLUDE_STUBS :: + * If set, turn pixels on for 'stubs', otherwise exclude them. Ignored + * if @FT_OUTLINE_IGNORE_DROPOUTS is set. See below for more + * information. + * + * FT_OUTLINE_OVERLAP :: + * [Since 2.10.3] This flag indicates that this outline contains + * overlapping contours and the anti-aliased renderer should perform + * oversampling to mitigate possible artifacts. This flag should _not_ + * be set for well designed glyphs without overlaps because it quadruples + * the rendering time. + * + * FT_OUTLINE_HIGH_PRECISION :: + * This flag indicates that the scan-line converter should try to + * convert this outline to bitmaps with the highest possible quality. + * It is typically set for small character sizes. Note that this is + * only a hint that might be completely ignored by a given + * scan-converter. + * + * FT_OUTLINE_SINGLE_PASS :: + * This flag is set to force a given scan-converter to only use a + * single pass over the outline to render a bitmap glyph image. + * Normally, it is set for very large character sizes. It is only a + * hint that might be completely ignored by a given scan-converter. + * + * @note: + * The flags @FT_OUTLINE_IGNORE_DROPOUTS, @FT_OUTLINE_SMART_DROPOUTS, and + * @FT_OUTLINE_INCLUDE_STUBS are ignored by the smooth rasterizer. + * + * There exists a second mechanism to pass the drop-out mode to the B/W + * rasterizer; see the `tags` field in @FT_Outline. + * + * Please refer to the description of the 'SCANTYPE' instruction in the + * OpenType specification (in file `ttinst1.doc`) how simple drop-outs, + * smart drop-outs, and stubs are defined. + */ +#define FT_OUTLINE_NONE 0x0 +#define FT_OUTLINE_OWNER 0x1 +#define FT_OUTLINE_EVEN_ODD_FILL 0x2 +#define FT_OUTLINE_REVERSE_FILL 0x4 +#define FT_OUTLINE_IGNORE_DROPOUTS 0x8 +#define FT_OUTLINE_SMART_DROPOUTS 0x10 +#define FT_OUTLINE_INCLUDE_STUBS 0x20 +#define FT_OUTLINE_OVERLAP 0x40 + +#define FT_OUTLINE_HIGH_PRECISION 0x100 +#define FT_OUTLINE_SINGLE_PASS 0x200 + + + /* these constants are deprecated; use the corresponding */ + /* `FT_OUTLINE_XXX` values instead */ +#define ft_outline_none FT_OUTLINE_NONE +#define ft_outline_owner FT_OUTLINE_OWNER +#define ft_outline_even_odd_fill FT_OUTLINE_EVEN_ODD_FILL +#define ft_outline_reverse_fill FT_OUTLINE_REVERSE_FILL +#define ft_outline_ignore_dropouts FT_OUTLINE_IGNORE_DROPOUTS +#define ft_outline_high_precision FT_OUTLINE_HIGH_PRECISION +#define ft_outline_single_pass FT_OUTLINE_SINGLE_PASS + + /* */ + +#define FT_CURVE_TAG( flag ) ( flag & 0x03 ) + + /* see the `tags` field in `FT_Outline` for a description of the values */ +#define FT_CURVE_TAG_ON 0x01 +#define FT_CURVE_TAG_CONIC 0x00 +#define FT_CURVE_TAG_CUBIC 0x02 + +#define FT_CURVE_TAG_HAS_SCANMODE 0x04 + +#define FT_CURVE_TAG_TOUCH_X 0x08 /* reserved for TrueType hinter */ +#define FT_CURVE_TAG_TOUCH_Y 0x10 /* reserved for TrueType hinter */ + +#define FT_CURVE_TAG_TOUCH_BOTH ( FT_CURVE_TAG_TOUCH_X | \ + FT_CURVE_TAG_TOUCH_Y ) + /* values 0x20, 0x40, and 0x80 are reserved */ + + + /* these constants are deprecated; use the corresponding */ + /* `FT_CURVE_TAG_XXX` values instead */ +#define FT_Curve_Tag_On FT_CURVE_TAG_ON +#define FT_Curve_Tag_Conic FT_CURVE_TAG_CONIC +#define FT_Curve_Tag_Cubic FT_CURVE_TAG_CUBIC +#define FT_Curve_Tag_Touch_X FT_CURVE_TAG_TOUCH_X +#define FT_Curve_Tag_Touch_Y FT_CURVE_TAG_TOUCH_Y + + + /************************************************************************** + * + * @functype: + * FT_Outline_MoveToFunc + * + * @description: + * A function pointer type used to describe the signature of a 'move to' + * function during outline walking/decomposition. + * + * A 'move to' is emitted to start a new contour in an outline. + * + * @input: + * to :: + * A pointer to the target point of the 'move to'. + * + * user :: + * A typeless pointer, which is passed from the caller of the + * decomposition function. + * + * @return: + * Error code. 0~means success. + */ + typedef int + (*FT_Outline_MoveToFunc)( const FT_Vector* to, + void* user ); + +#define FT_Outline_MoveTo_Func FT_Outline_MoveToFunc + + + /************************************************************************** + * + * @functype: + * FT_Outline_LineToFunc + * + * @description: + * A function pointer type used to describe the signature of a 'line to' + * function during outline walking/decomposition. + * + * A 'line to' is emitted to indicate a segment in the outline. + * + * @input: + * to :: + * A pointer to the target point of the 'line to'. + * + * user :: + * A typeless pointer, which is passed from the caller of the + * decomposition function. + * + * @return: + * Error code. 0~means success. + */ + typedef int + (*FT_Outline_LineToFunc)( const FT_Vector* to, + void* user ); + +#define FT_Outline_LineTo_Func FT_Outline_LineToFunc + + + /************************************************************************** + * + * @functype: + * FT_Outline_ConicToFunc + * + * @description: + * A function pointer type used to describe the signature of a 'conic to' + * function during outline walking or decomposition. + * + * A 'conic to' is emitted to indicate a second-order Bezier arc in the + * outline. + * + * @input: + * control :: + * An intermediate control point between the last position and the new + * target in `to`. + * + * to :: + * A pointer to the target end point of the conic arc. + * + * user :: + * A typeless pointer, which is passed from the caller of the + * decomposition function. + * + * @return: + * Error code. 0~means success. + */ + typedef int + (*FT_Outline_ConicToFunc)( const FT_Vector* control, + const FT_Vector* to, + void* user ); + +#define FT_Outline_ConicTo_Func FT_Outline_ConicToFunc + + + /************************************************************************** + * + * @functype: + * FT_Outline_CubicToFunc + * + * @description: + * A function pointer type used to describe the signature of a 'cubic to' + * function during outline walking or decomposition. + * + * A 'cubic to' is emitted to indicate a third-order Bezier arc. + * + * @input: + * control1 :: + * A pointer to the first Bezier control point. + * + * control2 :: + * A pointer to the second Bezier control point. + * + * to :: + * A pointer to the target end point. + * + * user :: + * A typeless pointer, which is passed from the caller of the + * decomposition function. + * + * @return: + * Error code. 0~means success. + */ + typedef int + (*FT_Outline_CubicToFunc)( const FT_Vector* control1, + const FT_Vector* control2, + const FT_Vector* to, + void* user ); + +#define FT_Outline_CubicTo_Func FT_Outline_CubicToFunc + + + /************************************************************************** + * + * @struct: + * FT_Outline_Funcs + * + * @description: + * A structure to hold various function pointers used during outline + * decomposition in order to emit segments, conic, and cubic Beziers. + * + * @fields: + * move_to :: + * The 'move to' emitter. + * + * line_to :: + * The segment emitter. + * + * conic_to :: + * The second-order Bezier arc emitter. + * + * cubic_to :: + * The third-order Bezier arc emitter. + * + * shift :: + * The shift that is applied to coordinates before they are sent to the + * emitter. + * + * delta :: + * The delta that is applied to coordinates before they are sent to the + * emitter, but after the shift. + * + * @note: + * The point coordinates sent to the emitters are the transformed version + * of the original coordinates (this is important for high accuracy + * during scan-conversion). The transformation is simple: + * + * ``` + * x' = (x << shift) - delta + * y' = (y << shift) - delta + * ``` + * + * Set the values of `shift` and `delta` to~0 to get the original point + * coordinates. + */ + typedef struct FT_Outline_Funcs_ + { + FT_Outline_MoveToFunc move_to; + FT_Outline_LineToFunc line_to; + FT_Outline_ConicToFunc conic_to; + FT_Outline_CubicToFunc cubic_to; + + int shift; + FT_Pos delta; + + } FT_Outline_Funcs; + + + /************************************************************************** + * + * @section: + * basic_types + * + */ + + + /************************************************************************** + * + * @macro: + * FT_IMAGE_TAG + * + * @description: + * This macro converts four-letter tags to an unsigned long type. + * + * @note: + * Since many 16-bit compilers don't like 32-bit enumerations, you should + * redefine this macro in case of problems to something like this: + * + * ``` + * #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value + * ``` + * + * to get a simple enumeration without assigning special numbers. + */ +#ifndef FT_IMAGE_TAG + +#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \ + value = ( ( FT_STATIC_BYTE_CAST( unsigned long, _x1 ) << 24 ) | \ + ( FT_STATIC_BYTE_CAST( unsigned long, _x2 ) << 16 ) | \ + ( FT_STATIC_BYTE_CAST( unsigned long, _x3 ) << 8 ) | \ + FT_STATIC_BYTE_CAST( unsigned long, _x4 ) ) + +#endif /* FT_IMAGE_TAG */ + + + /************************************************************************** + * + * @enum: + * FT_Glyph_Format + * + * @description: + * An enumeration type used to describe the format of a given glyph + * image. Note that this version of FreeType only supports two image + * formats, even though future font drivers will be able to register + * their own format. + * + * @values: + * FT_GLYPH_FORMAT_NONE :: + * The value~0 is reserved. + * + * FT_GLYPH_FORMAT_COMPOSITE :: + * The glyph image is a composite of several other images. This format + * is _only_ used with @FT_LOAD_NO_RECURSE, and is used to report + * compound glyphs (like accented characters). + * + * FT_GLYPH_FORMAT_BITMAP :: + * The glyph image is a bitmap, and can be described as an @FT_Bitmap. + * You generally need to access the `bitmap` field of the + * @FT_GlyphSlotRec structure to read it. + * + * FT_GLYPH_FORMAT_OUTLINE :: + * The glyph image is a vectorial outline made of line segments and + * Bezier arcs; it can be described as an @FT_Outline; you generally + * want to access the `outline` field of the @FT_GlyphSlotRec structure + * to read it. + * + * FT_GLYPH_FORMAT_PLOTTER :: + * The glyph image is a vectorial path with no inside and outside + * contours. Some Type~1 fonts, like those in the Hershey family, + * contain glyphs in this format. These are described as @FT_Outline, + * but FreeType isn't currently capable of rendering them correctly. + * + * FT_GLYPH_FORMAT_SVG :: + * [Since 2.12] The glyph is represented by an SVG document in the + * 'SVG~' table. + */ + typedef enum FT_Glyph_Format_ + { + FT_IMAGE_TAG( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ), + + FT_IMAGE_TAG( FT_GLYPH_FORMAT_COMPOSITE, 'c', 'o', 'm', 'p' ), + FT_IMAGE_TAG( FT_GLYPH_FORMAT_BITMAP, 'b', 'i', 't', 's' ), + FT_IMAGE_TAG( FT_GLYPH_FORMAT_OUTLINE, 'o', 'u', 't', 'l' ), + FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER, 'p', 'l', 'o', 't' ), + FT_IMAGE_TAG( FT_GLYPH_FORMAT_SVG, 'S', 'V', 'G', ' ' ) + + } FT_Glyph_Format; + + + /* these constants are deprecated; use the corresponding */ + /* `FT_Glyph_Format` values instead. */ +#define ft_glyph_format_none FT_GLYPH_FORMAT_NONE +#define ft_glyph_format_composite FT_GLYPH_FORMAT_COMPOSITE +#define ft_glyph_format_bitmap FT_GLYPH_FORMAT_BITMAP +#define ft_glyph_format_outline FT_GLYPH_FORMAT_OUTLINE +#define ft_glyph_format_plotter FT_GLYPH_FORMAT_PLOTTER + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** R A S T E R D E F I N I T I O N S *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + + /************************************************************************** + * + * @section: + * raster + * + * @title: + * Scanline Converter + * + * @abstract: + * How vectorial outlines are converted into bitmaps and pixmaps. + * + * @description: + * A raster or a rasterizer is a scan converter in charge of producing a + * pixel coverage bitmap that can be used as an alpha channel when + * compositing a glyph with a background. FreeType comes with two + * rasterizers: bilevel `raster1` and anti-aliased `smooth` are two + * separate modules. They are usually called from the high-level + * @FT_Load_Glyph or @FT_Render_Glyph functions and produce the entire + * coverage bitmap at once, while staying largely invisible to users. + * + * Instead of working with complete coverage bitmaps, it is also possible + * to intercept consecutive pixel runs on the same scanline with the same + * coverage, called _spans_, and process them individually. Only the + * `smooth` rasterizer permits this when calling @FT_Outline_Render with + * @FT_Raster_Params as described below. + * + * Working with either complete bitmaps or spans it is important to think + * of them as colorless coverage objects suitable as alpha channels to + * blend arbitrary colors with a background. For best results, it is + * recommended to use gamma correction, too. + * + * This section also describes the public API needed to set up alternative + * @FT_Renderer modules. + * + * @order: + * FT_Span + * FT_SpanFunc + * FT_Raster_Params + * FT_RASTER_FLAG_XXX + * + * FT_Raster + * FT_Raster_NewFunc + * FT_Raster_DoneFunc + * FT_Raster_ResetFunc + * FT_Raster_SetModeFunc + * FT_Raster_RenderFunc + * FT_Raster_Funcs + * + */ + + + /************************************************************************** + * + * @struct: + * FT_Span + * + * @description: + * A structure to model a single span of consecutive pixels when + * rendering an anti-aliased bitmap. + * + * @fields: + * x :: + * The span's horizontal start position. + * + * len :: + * The span's length in pixels. + * + * coverage :: + * The span color/coverage, ranging from 0 (background) to 255 + * (foreground). + * + * @note: + * This structure is used by the span drawing callback type named + * @FT_SpanFunc that takes the y~coordinate of the span as a parameter. + * + * The anti-aliased rasterizer produces coverage values from 0 to 255, + * that is, from completely transparent to completely opaque. + */ + typedef struct FT_Span_ + { + short x; + unsigned short len; + unsigned char coverage; + + } FT_Span; + + + /************************************************************************** + * + * @functype: + * FT_SpanFunc + * + * @description: + * A function used as a call-back by the anti-aliased renderer in order + * to let client applications draw themselves the pixel spans on each + * scan line. + * + * @input: + * y :: + * The scanline's upward y~coordinate. + * + * count :: + * The number of spans to draw on this scanline. + * + * spans :: + * A table of `count` spans to draw on the scanline. + * + * user :: + * User-supplied data that is passed to the callback. + * + * @note: + * This callback allows client applications to directly render the spans + * of the anti-aliased bitmap to any kind of surfaces. + * + * This can be used to write anti-aliased outlines directly to a given + * background bitmap using alpha compositing. It can also be used for + * oversampling and averaging. + */ + typedef void + (*FT_SpanFunc)( int y, + int count, + const FT_Span* spans, + void* user ); + +#define FT_Raster_Span_Func FT_SpanFunc + + + /************************************************************************** + * + * @functype: + * FT_Raster_BitTest_Func + * + * @description: + * Deprecated, unimplemented. + */ + typedef int + (*FT_Raster_BitTest_Func)( int y, + int x, + void* user ); + + + /************************************************************************** + * + * @functype: + * FT_Raster_BitSet_Func + * + * @description: + * Deprecated, unimplemented. + */ + typedef void + (*FT_Raster_BitSet_Func)( int y, + int x, + void* user ); + + + /************************************************************************** + * + * @enum: + * FT_RASTER_FLAG_XXX + * + * @description: + * A list of bit flag constants as used in the `flags` field of a + * @FT_Raster_Params structure. + * + * @values: + * FT_RASTER_FLAG_DEFAULT :: + * This value is 0. + * + * FT_RASTER_FLAG_AA :: + * This flag is set to indicate that an anti-aliased glyph image should + * be generated. Otherwise, it will be monochrome (1-bit). + * + * FT_RASTER_FLAG_DIRECT :: + * This flag is set to indicate direct rendering. In this mode, client + * applications must provide their own span callback. This lets them + * directly draw or compose over an existing bitmap. If this bit is + * _not_ set, the target pixmap's buffer _must_ be zeroed before + * rendering and the output will be clipped to its size. + * + * Direct rendering is only possible with anti-aliased glyphs. + * + * FT_RASTER_FLAG_CLIP :: + * This flag is only used in direct rendering mode. If set, the output + * will be clipped to a box specified in the `clip_box` field of the + * @FT_Raster_Params structure. Otherwise, the `clip_box` is + * effectively set to the bounding box and all spans are generated. + * + * FT_RASTER_FLAG_SDF :: + * This flag is set to indicate that a signed distance field glyph + * image should be generated. This is only used while rendering with + * the @FT_RENDER_MODE_SDF render mode. + */ +#define FT_RASTER_FLAG_DEFAULT 0x0 +#define FT_RASTER_FLAG_AA 0x1 +#define FT_RASTER_FLAG_DIRECT 0x2 +#define FT_RASTER_FLAG_CLIP 0x4 +#define FT_RASTER_FLAG_SDF 0x8 + + /* these constants are deprecated; use the corresponding */ + /* `FT_RASTER_FLAG_XXX` values instead */ +#define ft_raster_flag_default FT_RASTER_FLAG_DEFAULT +#define ft_raster_flag_aa FT_RASTER_FLAG_AA +#define ft_raster_flag_direct FT_RASTER_FLAG_DIRECT +#define ft_raster_flag_clip FT_RASTER_FLAG_CLIP + + + /************************************************************************** + * + * @struct: + * FT_Raster_Params + * + * @description: + * A structure to hold the parameters used by a raster's render function, + * passed as an argument to @FT_Outline_Render. + * + * @fields: + * target :: + * The target bitmap. + * + * source :: + * A pointer to the source glyph image (e.g., an @FT_Outline). + * + * flags :: + * The rendering flags. + * + * gray_spans :: + * The gray span drawing callback. + * + * black_spans :: + * Unused. + * + * bit_test :: + * Unused. + * + * bit_set :: + * Unused. + * + * user :: + * User-supplied data that is passed to each drawing callback. + * + * clip_box :: + * An optional span clipping box expressed in _integer_ pixels + * (not in 26.6 fixed-point units). + * + * @note: + * The @FT_RASTER_FLAG_AA bit flag must be set in the `flags` to + * generate an anti-aliased glyph bitmap, otherwise a monochrome bitmap + * is generated. The `target` should have appropriate pixel mode and its + * dimensions define the clipping region. + * + * If both @FT_RASTER_FLAG_AA and @FT_RASTER_FLAG_DIRECT bit flags + * are set in `flags`, the raster calls an @FT_SpanFunc callback + * `gray_spans` with `user` data as an argument ignoring `target`. This + * allows direct composition over a pre-existing user surface to perform + * the span drawing and composition. To optionally clip the spans, set + * the @FT_RASTER_FLAG_CLIP flag and `clip_box`. The monochrome raster + * does not support the direct mode. + * + * The gray-level rasterizer always uses 256 gray levels. If you want + * fewer gray levels, you have to use @FT_RASTER_FLAG_DIRECT and reduce + * the levels in the callback function. + */ + typedef struct FT_Raster_Params_ + { + const FT_Bitmap* target; + const void* source; + int flags; + FT_SpanFunc gray_spans; + FT_SpanFunc black_spans; /* unused */ + FT_Raster_BitTest_Func bit_test; /* unused */ + FT_Raster_BitSet_Func bit_set; /* unused */ + void* user; + FT_BBox clip_box; + + } FT_Raster_Params; + + + /************************************************************************** + * + * @type: + * FT_Raster + * + * @description: + * An opaque handle (pointer) to a raster object. Each object can be + * used independently to convert an outline into a bitmap or pixmap. + * + * @note: + * In FreeType 2, all rasters are now encapsulated within specific + * @FT_Renderer modules and only used in their context. + * + */ + typedef struct FT_RasterRec_* FT_Raster; + + + /************************************************************************** + * + * @functype: + * FT_Raster_NewFunc + * + * @description: + * A function used to create a new raster object. + * + * @input: + * memory :: + * A handle to the memory allocator. + * + * @output: + * raster :: + * A handle to the new raster object. + * + * @return: + * Error code. 0~means success. + * + * @note: + * The `memory` parameter is a typeless pointer in order to avoid + * un-wanted dependencies on the rest of the FreeType code. In practice, + * it is an @FT_Memory object, i.e., a handle to the standard FreeType + * memory allocator. However, this field can be completely ignored by a + * given raster implementation. + */ + typedef int + (*FT_Raster_NewFunc)( void* memory, + FT_Raster* raster ); + +#define FT_Raster_New_Func FT_Raster_NewFunc + + + /************************************************************************** + * + * @functype: + * FT_Raster_DoneFunc + * + * @description: + * A function used to destroy a given raster object. + * + * @input: + * raster :: + * A handle to the raster object. + */ + typedef void + (*FT_Raster_DoneFunc)( FT_Raster raster ); + +#define FT_Raster_Done_Func FT_Raster_DoneFunc + + + /************************************************************************** + * + * @functype: + * FT_Raster_ResetFunc + * + * @description: + * FreeType used to provide an area of memory called the 'render pool' + * available to all registered rasterizers. This was not thread safe, + * however, and now FreeType never allocates this pool. + * + * This function is called after a new raster object is created. + * + * @input: + * raster :: + * A handle to the new raster object. + * + * pool_base :: + * Previously, the address in memory of the render pool. Set this to + * `NULL`. + * + * pool_size :: + * Previously, the size in bytes of the render pool. Set this to 0. + * + * @note: + * Rasterizers should rely on dynamic or stack allocation if they want to + * (a handle to the memory allocator is passed to the rasterizer + * constructor). + */ + typedef void + (*FT_Raster_ResetFunc)( FT_Raster raster, + unsigned char* pool_base, + unsigned long pool_size ); + +#define FT_Raster_Reset_Func FT_Raster_ResetFunc + + + /************************************************************************** + * + * @functype: + * FT_Raster_SetModeFunc + * + * @description: + * This function is a generic facility to change modes or attributes in a + * given raster. This can be used for debugging purposes, or simply to + * allow implementation-specific 'features' in a given raster module. + * + * @input: + * raster :: + * A handle to the new raster object. + * + * mode :: + * A 4-byte tag used to name the mode or property. + * + * args :: + * A pointer to the new mode/property to use. + */ + typedef int + (*FT_Raster_SetModeFunc)( FT_Raster raster, + unsigned long mode, + void* args ); + +#define FT_Raster_Set_Mode_Func FT_Raster_SetModeFunc + + + /************************************************************************** + * + * @functype: + * FT_Raster_RenderFunc + * + * @description: + * Invoke a given raster to scan-convert a given glyph image into a + * target bitmap. + * + * @input: + * raster :: + * A handle to the raster object. + * + * params :: + * A pointer to an @FT_Raster_Params structure used to store the + * rendering parameters. + * + * @return: + * Error code. 0~means success. + * + * @note: + * The exact format of the source image depends on the raster's glyph + * format defined in its @FT_Raster_Funcs structure. It can be an + * @FT_Outline or anything else in order to support a large array of + * glyph formats. + * + * Note also that the render function can fail and return a + * `FT_Err_Unimplemented_Feature` error code if the raster used does not + * support direct composition. + */ + typedef int + (*FT_Raster_RenderFunc)( FT_Raster raster, + const FT_Raster_Params* params ); + +#define FT_Raster_Render_Func FT_Raster_RenderFunc + + + /************************************************************************** + * + * @struct: + * FT_Raster_Funcs + * + * @description: + * A structure used to describe a given raster class to the library. + * + * @fields: + * glyph_format :: + * The supported glyph format for this raster. + * + * raster_new :: + * The raster constructor. + * + * raster_reset :: + * Used to reset the render pool within the raster. + * + * raster_render :: + * A function to render a glyph into a given bitmap. + * + * raster_done :: + * The raster destructor. + */ + typedef struct FT_Raster_Funcs_ + { + FT_Glyph_Format glyph_format; + + FT_Raster_NewFunc raster_new; + FT_Raster_ResetFunc raster_reset; + FT_Raster_SetModeFunc raster_set_mode; + FT_Raster_RenderFunc raster_render; + FT_Raster_DoneFunc raster_done; + + } FT_Raster_Funcs; + + /* */ + + +FT_END_HEADER + +#endif /* FTIMAGE_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftincrem.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftincrem.h new file mode 100644 index 0000000..2d4f5de --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftincrem.h @@ -0,0 +1,348 @@ +/**************************************************************************** + * + * ftincrem.h + * + * FreeType incremental loading (specification). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTINCREM_H_ +#define FTINCREM_H_ + +#include +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * incremental + * + * @title: + * Incremental Loading + * + * @abstract: + * Custom Glyph Loading. + * + * @description: + * This section contains various functions used to perform so-called + * 'incremental' glyph loading. This is a mode where all glyphs loaded + * from a given @FT_Face are provided by the client application. + * + * Apart from that, all other tables are loaded normally from the font + * file. This mode is useful when FreeType is used within another + * engine, e.g., a PostScript Imaging Processor. + * + * To enable this mode, you must use @FT_Open_Face, passing an + * @FT_Parameter with the @FT_PARAM_TAG_INCREMENTAL tag and an + * @FT_Incremental_Interface value. See the comments for + * @FT_Incremental_InterfaceRec for an example. + * + */ + + + /************************************************************************** + * + * @type: + * FT_Incremental + * + * @description: + * An opaque type describing a user-provided object used to implement + * 'incremental' glyph loading within FreeType. This is used to support + * embedded fonts in certain environments (e.g., PostScript + * interpreters), where the glyph data isn't in the font file, or must be + * overridden by different values. + * + * @note: + * It is up to client applications to create and implement + * @FT_Incremental objects, as long as they provide implementations for + * the methods @FT_Incremental_GetGlyphDataFunc, + * @FT_Incremental_FreeGlyphDataFunc and + * @FT_Incremental_GetGlyphMetricsFunc. + * + * See the description of @FT_Incremental_InterfaceRec to understand how + * to use incremental objects with FreeType. + * + */ + typedef struct FT_IncrementalRec_* FT_Incremental; + + + /************************************************************************** + * + * @struct: + * FT_Incremental_MetricsRec + * + * @description: + * A small structure used to contain the basic glyph metrics returned by + * the @FT_Incremental_GetGlyphMetricsFunc method. + * + * @fields: + * bearing_x :: + * Left bearing, in font units. + * + * bearing_y :: + * Top bearing, in font units. + * + * advance :: + * Horizontal component of glyph advance, in font units. + * + * advance_v :: + * Vertical component of glyph advance, in font units. + * + * @note: + * These correspond to horizontal or vertical metrics depending on the + * value of the `vertical` argument to the function + * @FT_Incremental_GetGlyphMetricsFunc. + * + */ + typedef struct FT_Incremental_MetricsRec_ + { + FT_Long bearing_x; + FT_Long bearing_y; + FT_Long advance; + FT_Long advance_v; /* since 2.3.12 */ + + } FT_Incremental_MetricsRec; + + + /************************************************************************** + * + * @struct: + * FT_Incremental_Metrics + * + * @description: + * A handle to an @FT_Incremental_MetricsRec structure. + * + */ + typedef struct FT_Incremental_MetricsRec_* FT_Incremental_Metrics; + + + /************************************************************************** + * + * @type: + * FT_Incremental_GetGlyphDataFunc + * + * @description: + * A function called by FreeType to access a given glyph's data bytes + * during @FT_Load_Glyph or @FT_Load_Char if incremental loading is + * enabled. + * + * Note that the format of the glyph's data bytes depends on the font + * file format. For TrueType, it must correspond to the raw bytes within + * the 'glyf' table. For PostScript formats, it must correspond to the + * **unencrypted** charstring bytes, without any `lenIV` header. It is + * undefined for any other format. + * + * @input: + * incremental :: + * Handle to an opaque @FT_Incremental handle provided by the client + * application. + * + * glyph_index :: + * Index of relevant glyph. + * + * @output: + * adata :: + * A structure describing the returned glyph data bytes (which will be + * accessed as a read-only byte block). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If this function returns successfully the method + * @FT_Incremental_FreeGlyphDataFunc will be called later to release the + * data bytes. + * + * Nested calls to @FT_Incremental_GetGlyphDataFunc can happen for + * compound glyphs. + * + */ + typedef FT_Error + (*FT_Incremental_GetGlyphDataFunc)( FT_Incremental incremental, + FT_UInt glyph_index, + FT_Data* adata ); + + + /************************************************************************** + * + * @type: + * FT_Incremental_FreeGlyphDataFunc + * + * @description: + * A function used to release the glyph data bytes returned by a + * successful call to @FT_Incremental_GetGlyphDataFunc. + * + * @input: + * incremental :: + * A handle to an opaque @FT_Incremental handle provided by the client + * application. + * + * data :: + * A structure describing the glyph data bytes (which will be accessed + * as a read-only byte block). + * + */ + typedef void + (*FT_Incremental_FreeGlyphDataFunc)( FT_Incremental incremental, + FT_Data* data ); + + + /************************************************************************** + * + * @type: + * FT_Incremental_GetGlyphMetricsFunc + * + * @description: + * A function used to retrieve the basic metrics of a given glyph index + * before accessing its data. This allows for handling font types such + * as PCL~XL Format~1, Class~2 downloaded TrueType fonts, where the glyph + * metrics (`hmtx` and `vmtx` tables) are permitted to be omitted from + * the font, and the relevant metrics included in the header of the glyph + * outline data. Importantly, this is not intended to allow custom glyph + * metrics (for example, Postscript Metrics dictionaries), because that + * conflicts with the requirements of outline hinting. Such custom + * metrics must be handled separately, by the calling application. + * + * @input: + * incremental :: + * A handle to an opaque @FT_Incremental handle provided by the client + * application. + * + * glyph_index :: + * Index of relevant glyph. + * + * vertical :: + * If true, return vertical metrics. + * + * ametrics :: + * This parameter is used for both input and output. The original + * glyph metrics, if any, in font units. If metrics are not available + * all the values must be set to zero. + * + * @output: + * ametrics :: + * The glyph metrics in font units. + * + */ + typedef FT_Error + (*FT_Incremental_GetGlyphMetricsFunc) + ( FT_Incremental incremental, + FT_UInt glyph_index, + FT_Bool vertical, + FT_Incremental_MetricsRec *ametrics ); + + + /************************************************************************** + * + * @struct: + * FT_Incremental_FuncsRec + * + * @description: + * A table of functions for accessing fonts that load data incrementally. + * Used in @FT_Incremental_InterfaceRec. + * + * @fields: + * get_glyph_data :: + * The function to get glyph data. Must not be null. + * + * free_glyph_data :: + * The function to release glyph data. Must not be null. + * + * get_glyph_metrics :: + * The function to get glyph metrics. May be null if the font does not + * require it. + * + */ + typedef struct FT_Incremental_FuncsRec_ + { + FT_Incremental_GetGlyphDataFunc get_glyph_data; + FT_Incremental_FreeGlyphDataFunc free_glyph_data; + FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics; + + } FT_Incremental_FuncsRec; + + + /************************************************************************** + * + * @struct: + * FT_Incremental_InterfaceRec + * + * @description: + * A structure to be used with @FT_Open_Face to indicate that the user + * wants to support incremental glyph loading. You should use it with + * @FT_PARAM_TAG_INCREMENTAL as in the following example: + * + * ``` + * FT_Incremental_InterfaceRec inc_int; + * FT_Parameter parameter; + * FT_Open_Args open_args; + * + * + * // set up incremental descriptor + * inc_int.funcs = my_funcs; + * inc_int.object = my_object; + * + * // set up optional parameter + * parameter.tag = FT_PARAM_TAG_INCREMENTAL; + * parameter.data = &inc_int; + * + * // set up FT_Open_Args structure + * open_args.flags = FT_OPEN_PATHNAME | FT_OPEN_PARAMS; + * open_args.pathname = my_font_pathname; + * open_args.num_params = 1; + * open_args.params = ¶meter; // we use one optional argument + * + * // open the font + * error = FT_Open_Face( library, &open_args, index, &face ); + * ... + * ``` + * + */ + typedef struct FT_Incremental_InterfaceRec_ + { + const FT_Incremental_FuncsRec* funcs; + FT_Incremental object; + + } FT_Incremental_InterfaceRec; + + + /************************************************************************** + * + * @type: + * FT_Incremental_Interface + * + * @description: + * A pointer to an @FT_Incremental_InterfaceRec structure. + * + */ + typedef FT_Incremental_InterfaceRec* FT_Incremental_Interface; + + + /* */ + + +FT_END_HEADER + +#endif /* FTINCREM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlcdfil.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlcdfil.h new file mode 100644 index 0000000..d3723e1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlcdfil.h @@ -0,0 +1,323 @@ +/**************************************************************************** + * + * ftlcdfil.h + * + * FreeType API for color filtering of subpixel bitmap glyphs + * (specification). + * + * Copyright (C) 2006-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTLCDFIL_H_ +#define FTLCDFIL_H_ + +#include +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * lcd_rendering + * + * @title: + * Subpixel Rendering + * + * @abstract: + * API to control subpixel rendering. + * + * @description: + * FreeType provides two alternative subpixel rendering technologies. + * Should you define `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` in your + * `ftoption.h` file, this enables ClearType-style rendering. + * Otherwise, Harmony LCD rendering is enabled. These technologies are + * controlled differently and API described below, although always + * available, performs its function when appropriate method is enabled + * and does nothing otherwise. + * + * ClearType-style LCD rendering exploits the color-striped structure of + * LCD pixels, increasing the available resolution in the direction of + * the stripe (usually horizontal RGB) by a factor of~3. Using the + * subpixel coverages unfiltered can create severe color fringes + * especially when rendering thin features. Indeed, to produce + * black-on-white text, the nearby color subpixels must be dimmed + * evenly. Therefore, an equalizing 5-tap FIR filter should be applied + * to subpixel coverages regardless of pixel boundaries and should have + * these properties: + * + * 1. It should be symmetrical, like {~a, b, c, b, a~}, to avoid + * any shifts in appearance. + * + * 2. It should be color-balanced, meaning a~+ b~=~c, to reduce color + * fringes by distributing the computed coverage for one subpixel to + * all subpixels equally. + * + * 3. It should be normalized, meaning 2a~+ 2b~+ c~=~1.0 to maintain + * overall brightness. + * + * Boxy 3-tap filter {0, 1/3, 1/3, 1/3, 0} is sharper but is less + * forgiving of non-ideal gamma curves of a screen (and viewing angles), + * beveled filters are fuzzier but more tolerant. + * + * Use the @FT_Library_SetLcdFilter or @FT_Library_SetLcdFilterWeights + * API to specify a low-pass filter, which is then applied to + * subpixel-rendered bitmaps generated through @FT_Render_Glyph. + * + * Harmony LCD rendering is suitable to panels with any regular subpixel + * structure, not just monitors with 3 color striped subpixels, as long + * as the color subpixels have fixed positions relative to the pixel + * center. In this case, each color channel can be rendered separately + * after shifting the outline opposite to the subpixel shift so that the + * coverage maps are aligned. This method is immune to color fringes + * because the shifts do not change integral coverage. + * + * The subpixel geometry must be specified by xy-coordinates for each + * subpixel. By convention they may come in the RGB order: {{-1/3, 0}, + * {0, 0}, {1/3, 0}} for standard RGB striped panel or {{-1/6, 1/4}, + * {-1/6, -1/4}, {1/3, 0}} for a certain PenTile panel. + * + * Use the @FT_Library_SetLcdGeometry API to specify subpixel positions. + * If one follows the RGB order convention, the same order applies to the + * resulting @FT_PIXEL_MODE_LCD and @FT_PIXEL_MODE_LCD_V bitmaps. Note, + * however, that the coordinate frame for the latter must be rotated + * clockwise. Harmony with default LCD geometry is equivalent to + * ClearType with light filter. + * + * As a result of ClearType filtering or Harmony shifts, the resulting + * dimensions of LCD bitmaps can be slightly wider or taller than the + * dimensions the original outline with regard to the pixel grid. + * For example, for @FT_RENDER_MODE_LCD, the filter adds 2~subpixels to + * the left, and 2~subpixels to the right. The bitmap offset values are + * adjusted accordingly, so clients shouldn't need to modify their layout + * and glyph positioning code when enabling the filter. + * + * The ClearType and Harmony rendering is applicable to glyph bitmaps + * rendered through @FT_Render_Glyph, @FT_Load_Glyph, @FT_Load_Char, and + * @FT_Glyph_To_Bitmap, when @FT_RENDER_MODE_LCD or @FT_RENDER_MODE_LCD_V + * is specified. This API does not control @FT_Outline_Render and + * @FT_Outline_Get_Bitmap. + * + * The described algorithms can completely remove color artefacts when + * combined with gamma-corrected alpha blending in linear space. Each of + * the 3~alpha values (subpixels) must by independently used to blend one + * color channel. That is, red alpha blends the red channel of the text + * color with the red channel of the background pixel. + */ + + + /************************************************************************** + * + * @enum: + * FT_LcdFilter + * + * @description: + * A list of values to identify various types of LCD filters. + * + * @values: + * FT_LCD_FILTER_NONE :: + * Do not perform filtering. When used with subpixel rendering, this + * results in sometimes severe color fringes. + * + * FT_LCD_FILTER_DEFAULT :: + * This is a beveled, normalized, and color-balanced five-tap filter + * with weights of [0x08 0x4D 0x56 0x4D 0x08] in 1/256 units. + * + * FT_LCD_FILTER_LIGHT :: + * this is a boxy, normalized, and color-balanced three-tap filter with + * weights of [0x00 0x55 0x56 0x55 0x00] in 1/256 units. + * + * FT_LCD_FILTER_LEGACY :: + * FT_LCD_FILTER_LEGACY1 :: + * This filter corresponds to the original libXft color filter. It + * provides high contrast output but can exhibit really bad color + * fringes if glyphs are not extremely well hinted to the pixel grid. + * This filter is only provided for comparison purposes, and might be + * disabled or stay unsupported in the future. The second value is + * provided for compatibility with FontConfig, which historically used + * different enumeration, sometimes incorrectly forwarded to FreeType. + * + * @since: + * 2.3.0 (`FT_LCD_FILTER_LEGACY1` since 2.6.2) + */ + typedef enum FT_LcdFilter_ + { + FT_LCD_FILTER_NONE = 0, + FT_LCD_FILTER_DEFAULT = 1, + FT_LCD_FILTER_LIGHT = 2, + FT_LCD_FILTER_LEGACY1 = 3, + FT_LCD_FILTER_LEGACY = 16, + + FT_LCD_FILTER_MAX /* do not remove */ + + } FT_LcdFilter; + + + /************************************************************************** + * + * @function: + * FT_Library_SetLcdFilter + * + * @description: + * This function is used to change filter applied to LCD decimated + * bitmaps, like the ones used when calling @FT_Render_Glyph with + * @FT_RENDER_MODE_LCD or @FT_RENDER_MODE_LCD_V. + * + * @input: + * library :: + * A handle to the target library instance. + * + * filter :: + * The filter type. + * + * You can use @FT_LCD_FILTER_NONE here to disable this feature, or + * @FT_LCD_FILTER_DEFAULT to use a default filter that should work well + * on most LCD screens. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Since 2.10.3 the LCD filtering is enabled with @FT_LCD_FILTER_DEFAULT. + * It is no longer necessary to call this function explicitly except + * to choose a different filter or disable filtering altogether with + * @FT_LCD_FILTER_NONE. + * + * This function does nothing but returns `FT_Err_Unimplemented_Feature` + * if the configuration macro `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` is + * not defined in your build of the library. + * + * @since: + * 2.3.0 + */ + FT_EXPORT( FT_Error ) + FT_Library_SetLcdFilter( FT_Library library, + FT_LcdFilter filter ); + + + /************************************************************************** + * + * @function: + * FT_Library_SetLcdFilterWeights + * + * @description: + * This function can be used to enable LCD filter with custom weights, + * instead of using presets in @FT_Library_SetLcdFilter. + * + * @input: + * library :: + * A handle to the target library instance. + * + * weights :: + * A pointer to an array; the function copies the first five bytes and + * uses them to specify the filter weights in 1/256 units. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function does nothing but returns `FT_Err_Unimplemented_Feature` + * if the configuration macro `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` is + * not defined in your build of the library. + * + * LCD filter weights can also be set per face using @FT_Face_Properties + * with @FT_PARAM_TAG_LCD_FILTER_WEIGHTS. + * + * @since: + * 2.4.0 + */ + FT_EXPORT( FT_Error ) + FT_Library_SetLcdFilterWeights( FT_Library library, + unsigned char *weights ); + + + /************************************************************************** + * + * @type: + * FT_LcdFiveTapFilter + * + * @description: + * A typedef for passing the five LCD filter weights to + * @FT_Face_Properties within an @FT_Parameter structure. + * + * @since: + * 2.8 + * + */ +#define FT_LCD_FILTER_FIVE_TAPS 5 + + typedef FT_Byte FT_LcdFiveTapFilter[FT_LCD_FILTER_FIVE_TAPS]; + + + /************************************************************************** + * + * @function: + * FT_Library_SetLcdGeometry + * + * @description: + * This function can be used to modify default positions of color + * subpixels, which controls Harmony LCD rendering. + * + * @input: + * library :: + * A handle to the target library instance. + * + * sub :: + * A pointer to an array of 3 vectors in 26.6 fractional pixel format; + * the function modifies the default values, see the note below. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Subpixel geometry examples: + * + * - {{-21, 0}, {0, 0}, {21, 0}} is the default, corresponding to 3 color + * stripes shifted by a third of a pixel. This could be an RGB panel. + * + * - {{21, 0}, {0, 0}, {-21, 0}} looks the same as the default but can + * specify a BGR panel instead, while keeping the bitmap in the same + * RGB888 format. + * + * - {{0, 21}, {0, 0}, {0, -21}} is the vertical RGB, but the bitmap + * stays RGB888 as a result. + * + * - {{-11, 16}, {-11, -16}, {22, 0}} is a certain PenTile arrangement. + * + * This function does nothing and returns `FT_Err_Unimplemented_Feature` + * in the context of ClearType-style subpixel rendering when + * `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` is defined in your build of the + * library. + * + * @since: + * 2.10.0 + */ + FT_EXPORT( FT_Error ) + FT_Library_SetLcdGeometry( FT_Library library, + FT_Vector sub[3] ); + + /* */ + + +FT_END_HEADER + +#endif /* FTLCDFIL_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlist.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlist.h new file mode 100644 index 0000000..b553131 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlist.h @@ -0,0 +1,296 @@ +/**************************************************************************** + * + * ftlist.h + * + * Generic list support for FreeType (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This file implements functions relative to list processing. Its data + * structures are defined in `freetype.h`. + * + */ + + +#ifndef FTLIST_H_ +#define FTLIST_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * list_processing + * + * @title: + * List Processing + * + * @abstract: + * Simple management of lists. + * + * @description: + * This section contains various definitions related to list processing + * using doubly-linked nodes. + * + * @order: + * FT_List + * FT_ListNode + * FT_ListRec + * FT_ListNodeRec + * + * FT_List_Add + * FT_List_Insert + * FT_List_Find + * FT_List_Remove + * FT_List_Up + * FT_List_Iterate + * FT_List_Iterator + * FT_List_Finalize + * FT_List_Destructor + * + */ + + + /************************************************************************** + * + * @function: + * FT_List_Find + * + * @description: + * Find the list node for a given listed object. + * + * @input: + * list :: + * A pointer to the parent list. + * data :: + * The address of the listed object. + * + * @return: + * List node. `NULL` if it wasn't found. + */ + FT_EXPORT( FT_ListNode ) + FT_List_Find( FT_List list, + void* data ); + + + /************************************************************************** + * + * @function: + * FT_List_Add + * + * @description: + * Append an element to the end of a list. + * + * @inout: + * list :: + * A pointer to the parent list. + * node :: + * The node to append. + */ + FT_EXPORT( void ) + FT_List_Add( FT_List list, + FT_ListNode node ); + + + /************************************************************************** + * + * @function: + * FT_List_Insert + * + * @description: + * Insert an element at the head of a list. + * + * @inout: + * list :: + * A pointer to parent list. + * node :: + * The node to insert. + */ + FT_EXPORT( void ) + FT_List_Insert( FT_List list, + FT_ListNode node ); + + + /************************************************************************** + * + * @function: + * FT_List_Remove + * + * @description: + * Remove a node from a list. This function doesn't check whether the + * node is in the list! + * + * @input: + * node :: + * The node to remove. + * + * @inout: + * list :: + * A pointer to the parent list. + */ + FT_EXPORT( void ) + FT_List_Remove( FT_List list, + FT_ListNode node ); + + + /************************************************************************** + * + * @function: + * FT_List_Up + * + * @description: + * Move a node to the head/top of a list. Used to maintain LRU lists. + * + * @inout: + * list :: + * A pointer to the parent list. + * node :: + * The node to move. + */ + FT_EXPORT( void ) + FT_List_Up( FT_List list, + FT_ListNode node ); + + + /************************************************************************** + * + * @functype: + * FT_List_Iterator + * + * @description: + * An FT_List iterator function that is called during a list parse by + * @FT_List_Iterate. + * + * @input: + * node :: + * The current iteration list node. + * + * user :: + * A typeless pointer passed to @FT_List_Iterate. Can be used to point + * to the iteration's state. + */ + typedef FT_Error + (*FT_List_Iterator)( FT_ListNode node, + void* user ); + + + /************************************************************************** + * + * @function: + * FT_List_Iterate + * + * @description: + * Parse a list and calls a given iterator function on each element. + * Note that parsing is stopped as soon as one of the iterator calls + * returns a non-zero value. + * + * @input: + * list :: + * A handle to the list. + * iterator :: + * An iterator function, called on each node of the list. + * user :: + * A user-supplied field that is passed as the second argument to the + * iterator. + * + * @return: + * The result (a FreeType error code) of the last iterator call. + */ + FT_EXPORT( FT_Error ) + FT_List_Iterate( FT_List list, + FT_List_Iterator iterator, + void* user ); + + + /************************************************************************** + * + * @functype: + * FT_List_Destructor + * + * @description: + * An @FT_List iterator function that is called during a list + * finalization by @FT_List_Finalize to destroy all elements in a given + * list. + * + * @input: + * system :: + * The current system object. + * + * data :: + * The current object to destroy. + * + * user :: + * A typeless pointer passed to @FT_List_Iterate. It can be used to + * point to the iteration's state. + */ + typedef void + (*FT_List_Destructor)( FT_Memory memory, + void* data, + void* user ); + + + /************************************************************************** + * + * @function: + * FT_List_Finalize + * + * @description: + * Destroy all elements in the list as well as the list itself. + * + * @input: + * list :: + * A handle to the list. + * + * destroy :: + * A list destructor that will be applied to each element of the list. + * Set this to `NULL` if not needed. + * + * memory :: + * The current memory object that handles deallocation. + * + * user :: + * A user-supplied field that is passed as the last argument to the + * destructor. + * + * @note: + * This function expects that all nodes added by @FT_List_Add or + * @FT_List_Insert have been dynamically allocated. + */ + FT_EXPORT( void ) + FT_List_Finalize( FT_List list, + FT_List_Destructor destroy, + FT_Memory memory, + void* user ); + + /* */ + + +FT_END_HEADER + +#endif /* FTLIST_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlogging.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlogging.h new file mode 100644 index 0000000..53b8b89 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlogging.h @@ -0,0 +1,184 @@ +/**************************************************************************** + * + * ftlogging.h + * + * Additional debugging APIs. + * + * Copyright (C) 2020-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTLOGGING_H_ +#define FTLOGGING_H_ + + +#include +#include FT_CONFIG_CONFIG_H + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * debugging_apis + * + * @title: + * External Debugging APIs + * + * @abstract: + * Public APIs to control the `FT_DEBUG_LOGGING` macro. + * + * @description: + * This section contains the declarations of public functions that + * enables fine control of what the `FT_DEBUG_LOGGING` macro outputs. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Trace_Set_Level + * + * @description: + * Change the levels of tracing components of FreeType at run time. + * + * @input: + * tracing_level :: + * New tracing value. + * + * @example: + * The following call makes FreeType trace everything but the 'memory' + * component. + * + * ``` + * FT_Trace_Set_Level( "any:7 memory:0" ); + * ``` + * + * @note: + * This function does nothing if compilation option `FT_DEBUG_LOGGING` + * isn't set. + * + * @since: + * 2.11 + * + */ + FT_EXPORT( void ) + FT_Trace_Set_Level( const char* tracing_level ); + + + /************************************************************************** + * + * @function: + * FT_Trace_Set_Default_Level + * + * @description: + * Reset tracing value of FreeType's components to the default value + * (i.e., to the value of the `FT2_DEBUG` environment value or to NULL + * if `FT2_DEBUG` is not set). + * + * @note: + * This function does nothing if compilation option `FT_DEBUG_LOGGING` + * isn't set. + * + * @since: + * 2.11 + * + */ + FT_EXPORT( void ) + FT_Trace_Set_Default_Level( void ); + + + /************************************************************************** + * + * @functype: + * FT_Custom_Log_Handler + * + * @description: + * A function typedef that is used to handle the logging of tracing and + * debug messages on a file system. + * + * @input: + * ft_component :: + * The name of `FT_COMPONENT` from which the current debug or error + * message is produced. + * + * fmt :: + * Actual debug or tracing message. + * + * args:: + * Arguments of debug or tracing messages. + * + * @since: + * 2.11 + * + */ + typedef void + (*FT_Custom_Log_Handler)( const char* ft_component, + const char* fmt, + va_list args ); + + + /************************************************************************** + * + * @function: + * FT_Set_Log_Handler + * + * @description: + * A function to set a custom log handler. + * + * @input: + * handler :: + * New logging function. + * + * @note: + * This function does nothing if compilation option `FT_DEBUG_LOGGING` + * isn't set. + * + * @since: + * 2.11 + * + */ + FT_EXPORT( void ) + FT_Set_Log_Handler( FT_Custom_Log_Handler handler ); + + + /************************************************************************** + * + * @function: + * FT_Set_Default_Log_Handler + * + * @description: + * A function to undo the effect of @FT_Set_Log_Handler, resetting the + * log handler to FreeType's built-in version. + * + * @note: + * This function does nothing if compilation option `FT_DEBUG_LOGGING` + * isn't set. + * + * @since: + * 2.11 + * + */ + FT_EXPORT( void ) + FT_Set_Default_Log_Handler( void ); + + /* */ + + +FT_END_HEADER + +#endif /* FTLOGGING_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlzw.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlzw.h new file mode 100644 index 0000000..adfd172 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftlzw.h @@ -0,0 +1,100 @@ +/**************************************************************************** + * + * ftlzw.h + * + * LZW-compressed stream support. + * + * Copyright (C) 2004-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTLZW_H_ +#define FTLZW_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * lzw + * + * @title: + * LZW Streams + * + * @abstract: + * Using LZW-compressed font files. + * + * @description: + * In certain builds of the library, LZW compression recognition is + * automatically handled when calling @FT_New_Face or @FT_Open_Face. + * This means that if no font driver is capable of handling the raw + * compressed file, the library will try to open a LZW stream from it and + * re-open the face with it. + * + * The stream implementation is very basic and resets the decompression + * process each time seeking backwards is needed within the stream, + * which significantly undermines the performance. + * + * This section contains the declaration of LZW-specific functions. + * + */ + + /************************************************************************** + * + * @function: + * FT_Stream_OpenLZW + * + * @description: + * Open a new stream to parse LZW-compressed font files. This is mainly + * used to support the compressed `*.pcf.Z` fonts that come with XFree86. + * + * @input: + * stream :: + * The target embedding stream. + * + * source :: + * The source stream. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The source stream must be opened _before_ calling this function. + * + * Calling the internal function `FT_Stream_Close` on the new stream will + * **not** call `FT_Stream_Close` on the source stream. None of the + * stream objects will be released to the heap. + * + * This function may return `FT_Err_Unimplemented_Feature` if your build + * of FreeType was not compiled with LZW support. + */ + FT_EXPORT( FT_Error ) + FT_Stream_OpenLZW( FT_Stream stream, + FT_Stream source ); + + /* */ + + +FT_END_HEADER + +#endif /* FTLZW_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmac.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmac.h new file mode 100644 index 0000000..a91e38f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmac.h @@ -0,0 +1,289 @@ +/**************************************************************************** + * + * ftmac.h + * + * Additional Mac-specific API. + * + * Copyright (C) 1996-2023 by + * Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +/**************************************************************************** + * + * NOTE: Include this file after `FT_FREETYPE_H` and after any + * Mac-specific headers (because this header uses Mac types such as + * 'Handle', 'FSSpec', 'FSRef', etc.) + * + */ + + +#ifndef FTMAC_H_ +#define FTMAC_H_ + + + + +FT_BEGIN_HEADER + + + /* gcc-3.1 and later can warn about functions tagged as deprecated */ +#ifndef FT_DEPRECATED_ATTRIBUTE +#if defined( __GNUC__ ) && \ + ( ( __GNUC__ >= 4 ) || \ + ( ( __GNUC__ == 3 ) && ( __GNUC_MINOR__ >= 1 ) ) ) +#define FT_DEPRECATED_ATTRIBUTE __attribute__(( deprecated )) +#else +#define FT_DEPRECATED_ATTRIBUTE +#endif +#endif + + + /************************************************************************** + * + * @section: + * mac_specific + * + * @title: + * Mac Specific Interface + * + * @abstract: + * Only available on the Macintosh. + * + * @description: + * The following definitions are only available if FreeType is compiled + * on a Macintosh. + * + */ + + + /************************************************************************** + * + * @function: + * FT_New_Face_From_FOND + * + * @description: + * Create a new face object from a FOND resource. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * fond :: + * A FOND resource. + * + * face_index :: + * Only supported for the -1 'sanity check' special case. + * + * @output: + * aface :: + * A handle to a new face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @example: + * This function can be used to create @FT_Face objects from fonts that + * are installed in the system as follows. + * + * ``` + * fond = GetResource( 'FOND', fontName ); + * error = FT_New_Face_From_FOND( library, fond, 0, &face ); + * ``` + */ + FT_EXPORT( FT_Error ) + FT_New_Face_From_FOND( FT_Library library, + Handle fond, + FT_Long face_index, + FT_Face *aface ) + FT_DEPRECATED_ATTRIBUTE; + + + /************************************************************************** + * + * @function: + * FT_GetFile_From_Mac_Name + * + * @description: + * Return an FSSpec for the disk file containing the named font. + * + * @input: + * fontName :: + * Mac OS name of the font (e.g., Times New Roman Bold). + * + * @output: + * pathSpec :: + * FSSpec to the file. For passing to @FT_New_Face_From_FSSpec. + * + * face_index :: + * Index of the face. For passing to @FT_New_Face_From_FSSpec. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_GetFile_From_Mac_Name( const char* fontName, + FSSpec* pathSpec, + FT_Long* face_index ) + FT_DEPRECATED_ATTRIBUTE; + + + /************************************************************************** + * + * @function: + * FT_GetFile_From_Mac_ATS_Name + * + * @description: + * Return an FSSpec for the disk file containing the named font. + * + * @input: + * fontName :: + * Mac OS name of the font in ATS framework. + * + * @output: + * pathSpec :: + * FSSpec to the file. For passing to @FT_New_Face_From_FSSpec. + * + * face_index :: + * Index of the face. For passing to @FT_New_Face_From_FSSpec. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_GetFile_From_Mac_ATS_Name( const char* fontName, + FSSpec* pathSpec, + FT_Long* face_index ) + FT_DEPRECATED_ATTRIBUTE; + + + /************************************************************************** + * + * @function: + * FT_GetFilePath_From_Mac_ATS_Name + * + * @description: + * Return a pathname of the disk file and face index for given font name + * that is handled by ATS framework. + * + * @input: + * fontName :: + * Mac OS name of the font in ATS framework. + * + * @output: + * path :: + * Buffer to store pathname of the file. For passing to @FT_New_Face. + * The client must allocate this buffer before calling this function. + * + * maxPathSize :: + * Lengths of the buffer `path` that client allocated. + * + * face_index :: + * Index of the face. For passing to @FT_New_Face. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, + UInt8* path, + UInt32 maxPathSize, + FT_Long* face_index ) + FT_DEPRECATED_ATTRIBUTE; + + + /************************************************************************** + * + * @function: + * FT_New_Face_From_FSSpec + * + * @description: + * Create a new face object from a given resource and typeface index + * using an FSSpec to the font file. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * spec :: + * FSSpec to the font file. + * + * face_index :: + * The index of the face within the resource. The first face has + * index~0. + * @output: + * aface :: + * A handle to a new face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * @FT_New_Face_From_FSSpec is identical to @FT_New_Face except it + * accepts an FSSpec instead of a path. + */ + FT_EXPORT( FT_Error ) + FT_New_Face_From_FSSpec( FT_Library library, + const FSSpec *spec, + FT_Long face_index, + FT_Face *aface ) + FT_DEPRECATED_ATTRIBUTE; + + + /************************************************************************** + * + * @function: + * FT_New_Face_From_FSRef + * + * @description: + * Create a new face object from a given resource and typeface index + * using an FSRef to the font file. + * + * @inout: + * library :: + * A handle to the library resource. + * + * @input: + * spec :: + * FSRef to the font file. + * + * face_index :: + * The index of the face within the resource. The first face has + * index~0. + * @output: + * aface :: + * A handle to a new face object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * @FT_New_Face_From_FSRef is identical to @FT_New_Face except it accepts + * an FSRef instead of a path. + */ + FT_EXPORT( FT_Error ) + FT_New_Face_From_FSRef( FT_Library library, + const FSRef *ref, + FT_Long face_index, + FT_Face *aface ) + FT_DEPRECATED_ATTRIBUTE; + + /* */ + + +FT_END_HEADER + + +#endif /* FTMAC_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmm.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmm.h new file mode 100644 index 0000000..d145128 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmm.h @@ -0,0 +1,805 @@ +/**************************************************************************** + * + * ftmm.h + * + * FreeType Multiple Master font interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTMM_H_ +#define FTMM_H_ + + +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * multiple_masters + * + * @title: + * Multiple Masters + * + * @abstract: + * How to manage Multiple Masters fonts. + * + * @description: + * The following types and functions are used to manage Multiple Master + * fonts, i.e., the selection of specific design instances by setting + * design axis coordinates. + * + * Besides Adobe MM fonts, the interface supports Apple's TrueType GX and + * OpenType variation fonts. Some of the routines only work with Adobe + * MM fonts, others will work with all three types. They are similar + * enough that a consistent interface makes sense. + * + * For Adobe MM fonts, macro @FT_IS_SFNT returns false. For GX and + * OpenType variation fonts, it returns true. + * + */ + + + /************************************************************************** + * + * @struct: + * FT_MM_Axis + * + * @description: + * A structure to model a given axis in design space for Multiple Masters + * fonts. + * + * This structure can't be used for TrueType GX or OpenType variation + * fonts. + * + * @fields: + * name :: + * The axis's name. + * + * minimum :: + * The axis's minimum design coordinate. + * + * maximum :: + * The axis's maximum design coordinate. + */ + typedef struct FT_MM_Axis_ + { + FT_String* name; + FT_Long minimum; + FT_Long maximum; + + } FT_MM_Axis; + + + /************************************************************************** + * + * @struct: + * FT_Multi_Master + * + * @description: + * A structure to model the axes and space of a Multiple Masters font. + * + * This structure can't be used for TrueType GX or OpenType variation + * fonts. + * + * @fields: + * num_axis :: + * Number of axes. Cannot exceed~4. + * + * num_designs :: + * Number of designs; should be normally 2^num_axis even though the + * Type~1 specification strangely allows for intermediate designs to be + * present. This number cannot exceed~16. + * + * axis :: + * A table of axis descriptors. + */ + typedef struct FT_Multi_Master_ + { + FT_UInt num_axis; + FT_UInt num_designs; + FT_MM_Axis axis[T1_MAX_MM_AXIS]; + + } FT_Multi_Master; + + + /************************************************************************** + * + * @struct: + * FT_Var_Axis + * + * @description: + * A structure to model a given axis in design space for Multiple + * Masters, TrueType GX, and OpenType variation fonts. + * + * @fields: + * name :: + * The axis's name. Not always meaningful for TrueType GX or OpenType + * variation fonts. + * + * minimum :: + * The axis's minimum design coordinate. + * + * def :: + * The axis's default design coordinate. FreeType computes meaningful + * default values for Adobe MM fonts. + * + * maximum :: + * The axis's maximum design coordinate. + * + * tag :: + * The axis's tag (the equivalent to 'name' for TrueType GX and + * OpenType variation fonts). FreeType provides default values for + * Adobe MM fonts if possible. + * + * strid :: + * The axis name entry in the font's 'name' table. This is another + * (and often better) version of the 'name' field for TrueType GX or + * OpenType variation fonts. Not meaningful for Adobe MM fonts. + * + * @note: + * The fields `minimum`, `def`, and `maximum` are 16.16 fractional values + * for TrueType GX and OpenType variation fonts. For Adobe MM fonts, the + * values are whole numbers (i.e., the fractional part is zero). + */ + typedef struct FT_Var_Axis_ + { + FT_String* name; + + FT_Fixed minimum; + FT_Fixed def; + FT_Fixed maximum; + + FT_ULong tag; + FT_UInt strid; + + } FT_Var_Axis; + + + /************************************************************************** + * + * @struct: + * FT_Var_Named_Style + * + * @description: + * A structure to model a named instance in a TrueType GX or OpenType + * variation font. + * + * This structure can't be used for Adobe MM fonts. + * + * @fields: + * coords :: + * The design coordinates for this instance. This is an array with one + * entry for each axis. + * + * strid :: + * The entry in 'name' table identifying this instance. + * + * psid :: + * The entry in 'name' table identifying a PostScript name for this + * instance. Value 0xFFFF indicates a missing entry. + */ + typedef struct FT_Var_Named_Style_ + { + FT_Fixed* coords; + FT_UInt strid; + FT_UInt psid; /* since 2.7.1 */ + + } FT_Var_Named_Style; + + + /************************************************************************** + * + * @struct: + * FT_MM_Var + * + * @description: + * A structure to model the axes and space of an Adobe MM, TrueType GX, + * or OpenType variation font. + * + * Some fields are specific to one format and not to the others. + * + * @fields: + * num_axis :: + * The number of axes. The maximum value is~4 for Adobe MM fonts; no + * limit in TrueType GX or OpenType variation fonts. + * + * num_designs :: + * The number of designs; should be normally 2^num_axis for Adobe MM + * fonts. Not meaningful for TrueType GX or OpenType variation fonts + * (where every glyph could have a different number of designs). + * + * num_namedstyles :: + * The number of named styles; a 'named style' is a tuple of design + * coordinates that has a string ID (in the 'name' table) associated + * with it. The font can tell the user that, for example, + * [Weight=1.5,Width=1.1] is 'Bold'. Another name for 'named style' is + * 'named instance'. + * + * For Adobe Multiple Masters fonts, this value is always zero because + * the format does not support named styles. + * + * axis :: + * An axis descriptor table. TrueType GX and OpenType variation fonts + * contain slightly more data than Adobe MM fonts. Memory management + * of this pointer is done internally by FreeType. + * + * namedstyle :: + * A named style (instance) table. Only meaningful for TrueType GX and + * OpenType variation fonts. Memory management of this pointer is done + * internally by FreeType. + */ + typedef struct FT_MM_Var_ + { + FT_UInt num_axis; + FT_UInt num_designs; + FT_UInt num_namedstyles; + FT_Var_Axis* axis; + FT_Var_Named_Style* namedstyle; + + } FT_MM_Var; + + + /************************************************************************** + * + * @function: + * FT_Get_Multi_Master + * + * @description: + * Retrieve a variation descriptor of a given Adobe MM font. + * + * This function can't be used with TrueType GX or OpenType variation + * fonts. + * + * @input: + * face :: + * A handle to the source face. + * + * @output: + * amaster :: + * The Multiple Masters descriptor. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Get_Multi_Master( FT_Face face, + FT_Multi_Master *amaster ); + + + /************************************************************************** + * + * @function: + * FT_Get_MM_Var + * + * @description: + * Retrieve a variation descriptor for a given font. + * + * This function works with all supported variation formats. + * + * @input: + * face :: + * A handle to the source face. + * + * @output: + * amaster :: + * The variation descriptor. Allocates a data structure, which the + * user must deallocate with a call to @FT_Done_MM_Var after use. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Get_MM_Var( FT_Face face, + FT_MM_Var* *amaster ); + + + /************************************************************************** + * + * @function: + * FT_Done_MM_Var + * + * @description: + * Free the memory allocated by @FT_Get_MM_Var. + * + * @input: + * library :: + * A handle of the face's parent library object that was used in the + * call to @FT_Get_MM_Var to create `amaster`. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Done_MM_Var( FT_Library library, + FT_MM_Var *amaster ); + + + /************************************************************************** + * + * @function: + * FT_Set_MM_Design_Coordinates + * + * @description: + * For Adobe MM fonts, choose an interpolated font design through design + * coordinates. + * + * This function can't be used with TrueType GX or OpenType variation + * fonts. + * + * @inout: + * face :: + * A handle to the source face. + * + * @input: + * num_coords :: + * The number of available design coordinates. If it is larger than + * the number of axes, ignore the excess values. If it is smaller than + * the number of axes, use default values for the remaining axes. + * + * coords :: + * An array of design coordinates. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * [Since 2.8.1] To reset all axes to the default values, call the + * function with `num_coords` set to zero and `coords` set to `NULL`. + * + * [Since 2.9] If `num_coords` is larger than zero, this function sets + * the @FT_FACE_FLAG_VARIATION bit in @FT_Face's `face_flags` field + * (i.e., @FT_IS_VARIATION will return true). If `num_coords` is zero, + * this bit flag gets unset. + */ + FT_EXPORT( FT_Error ) + FT_Set_MM_Design_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Long* coords ); + + + /************************************************************************** + * + * @function: + * FT_Set_Var_Design_Coordinates + * + * @description: + * Choose an interpolated font design through design coordinates. + * + * This function works with all supported variation formats. + * + * @inout: + * face :: + * A handle to the source face. + * + * @input: + * num_coords :: + * The number of available design coordinates. If it is larger than + * the number of axes, ignore the excess values. If it is smaller than + * the number of axes, use default values for the remaining axes. + * + * coords :: + * An array of design coordinates. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The design coordinates are 16.16 fractional values for TrueType GX and + * OpenType variation fonts. For Adobe MM fonts, the values are supposed + * to be whole numbers (i.e., the fractional part is zero). + * + * [Since 2.8.1] To reset all axes to the default values, call the + * function with `num_coords` set to zero and `coords` set to `NULL`. + * [Since 2.9] 'Default values' means the currently selected named + * instance (or the base font if no named instance is selected). + * + * [Since 2.9] If `num_coords` is larger than zero, this function sets + * the @FT_FACE_FLAG_VARIATION bit in @FT_Face's `face_flags` field + * (i.e., @FT_IS_VARIATION will return true). If `num_coords` is zero, + * this bit flag gets unset. + */ + FT_EXPORT( FT_Error ) + FT_Set_Var_Design_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Get_Var_Design_Coordinates + * + * @description: + * Get the design coordinates of the currently selected interpolated + * font. + * + * This function works with all supported variation formats. + * + * @input: + * face :: + * A handle to the source face. + * + * num_coords :: + * The number of design coordinates to retrieve. If it is larger than + * the number of axes, set the excess values to~0. + * + * @output: + * coords :: + * The design coordinates array. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The design coordinates are 16.16 fractional values for TrueType GX and + * OpenType variation fonts. For Adobe MM fonts, the values are whole + * numbers (i.e., the fractional part is zero). + * + * @since: + * 2.7.1 + */ + FT_EXPORT( FT_Error ) + FT_Get_Var_Design_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Set_MM_Blend_Coordinates + * + * @description: + * Choose an interpolated font design through normalized blend + * coordinates. + * + * This function works with all supported variation formats. + * + * @inout: + * face :: + * A handle to the source face. + * + * @input: + * num_coords :: + * The number of available design coordinates. If it is larger than + * the number of axes, ignore the excess values. If it is smaller than + * the number of axes, use default values for the remaining axes. + * + * coords :: + * The design coordinates array. Each element is a 16.16 fractional + * value and must be between 0 and 1.0 for Adobe MM fonts, and between + * -1.0 and 1.0 for TrueType GX and OpenType variation fonts. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * [Since 2.8.1] To reset all axes to the default values, call the + * function with `num_coords` set to zero and `coords` set to `NULL`. + * [Since 2.9] 'Default values' means the currently selected named + * instance (or the base font if no named instance is selected). + * + * [Since 2.9] If `num_coords` is larger than zero, this function sets + * the @FT_FACE_FLAG_VARIATION bit in @FT_Face's `face_flags` field + * (i.e., @FT_IS_VARIATION will return true). If `num_coords` is zero, + * this bit flag gets unset. + */ + FT_EXPORT( FT_Error ) + FT_Set_MM_Blend_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Get_MM_Blend_Coordinates + * + * @description: + * Get the normalized blend coordinates of the currently selected + * interpolated font. + * + * This function works with all supported variation formats. + * + * @input: + * face :: + * A handle to the source face. + * + * num_coords :: + * The number of normalized blend coordinates to retrieve. If it is + * larger than the number of axes, set the excess values to~0.5 for + * Adobe MM fonts, and to~0 for TrueType GX and OpenType variation + * fonts. + * + * @output: + * coords :: + * The normalized blend coordinates array (as 16.16 fractional values). + * + * @return: + * FreeType error code. 0~means success. + * + * @since: + * 2.7.1 + */ + FT_EXPORT( FT_Error ) + FT_Get_MM_Blend_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Set_Var_Blend_Coordinates + * + * @description: + * This is another name of @FT_Set_MM_Blend_Coordinates. + */ + FT_EXPORT( FT_Error ) + FT_Set_Var_Blend_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Get_Var_Blend_Coordinates + * + * @description: + * This is another name of @FT_Get_MM_Blend_Coordinates. + * + * @since: + * 2.7.1 + */ + FT_EXPORT( FT_Error ) + FT_Get_Var_Blend_Coordinates( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @function: + * FT_Set_MM_WeightVector + * + * @description: + * For Adobe MM fonts, choose an interpolated font design by directly + * setting the weight vector. + * + * This function can't be used with TrueType GX or OpenType variation + * fonts. + * + * @inout: + * face :: + * A handle to the source face. + * + * @input: + * len :: + * The length of the weight vector array. If it is larger than the + * number of designs, the extra values are ignored. If it is less than + * the number of designs, the remaining values are set to zero. + * + * weightvector :: + * An array representing the weight vector. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Adobe Multiple Master fonts limit the number of designs, and thus the + * length of the weight vector to 16~elements. + * + * If `len` is larger than zero, this function sets the + * @FT_FACE_FLAG_VARIATION bit in @FT_Face's `face_flags` field (i.e., + * @FT_IS_VARIATION will return true). If `len` is zero, this bit flag + * is unset and the weight vector array is reset to the default values. + * + * The Adobe documentation also states that the values in the + * WeightVector array must total 1.0 +/-~0.001. In practice this does + * not seem to be enforced, so is not enforced here, either. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Set_MM_WeightVector( FT_Face face, + FT_UInt len, + FT_Fixed* weightvector ); + + + /************************************************************************** + * + * @function: + * FT_Get_MM_WeightVector + * + * @description: + * For Adobe MM fonts, retrieve the current weight vector of the font. + * + * This function can't be used with TrueType GX or OpenType variation + * fonts. + * + * @inout: + * face :: + * A handle to the source face. + * + * len :: + * A pointer to the size of the array to be filled. If the size of the + * array is less than the number of designs, `FT_Err_Invalid_Argument` + * is returned, and `len` is set to the required size (the number of + * designs). If the size of the array is greater than the number of + * designs, the remaining entries are set to~0. On successful + * completion, `len` is set to the number of designs (i.e., the number + * of values written to the array). + * + * @output: + * weightvector :: + * An array to be filled. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Adobe Multiple Master fonts limit the number of designs, and thus the + * length of the WeightVector to~16. + * + * @since: + * 2.10 + */ + FT_EXPORT( FT_Error ) + FT_Get_MM_WeightVector( FT_Face face, + FT_UInt* len, + FT_Fixed* weightvector ); + + + /************************************************************************** + * + * @enum: + * FT_VAR_AXIS_FLAG_XXX + * + * @description: + * A list of bit flags used in the return value of + * @FT_Get_Var_Axis_Flags. + * + * @values: + * FT_VAR_AXIS_FLAG_HIDDEN :: + * The variation axis should not be exposed to user interfaces. + * + * @since: + * 2.8.1 + */ +#define FT_VAR_AXIS_FLAG_HIDDEN 1 + + + /************************************************************************** + * + * @function: + * FT_Get_Var_Axis_Flags + * + * @description: + * Get the 'flags' field of an OpenType Variation Axis Record. + * + * Not meaningful for Adobe MM fonts (`*flags` is always zero). + * + * @input: + * master :: + * The variation descriptor. + * + * axis_index :: + * The index of the requested variation axis. + * + * @output: + * flags :: + * The 'flags' field. See @FT_VAR_AXIS_FLAG_XXX for possible values. + * + * @return: + * FreeType error code. 0~means success. + * + * @since: + * 2.8.1 + */ + FT_EXPORT( FT_Error ) + FT_Get_Var_Axis_Flags( FT_MM_Var* master, + FT_UInt axis_index, + FT_UInt* flags ); + + + /************************************************************************** + * + * @function: + * FT_Set_Named_Instance + * + * @description: + * Set or change the current named instance. + * + * @input: + * face :: + * A handle to the source face. + * + * instance_index :: + * The index of the requested instance, starting with value 1. If set + * to value 0, FreeType switches to font access without a named + * instance. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The function uses the value of `instance_index` to set bits 16-30 of + * the face's `face_index` field. It also resets any variation applied + * to the font, and the @FT_FACE_FLAG_VARIATION bit of the face's + * `face_flags` field gets reset to zero (i.e., @FT_IS_VARIATION will + * return false). + * + * For Adobe MM fonts (which don't have named instances) this function + * simply resets the current face to the default instance. + * + * @since: + * 2.9 + */ + FT_EXPORT( FT_Error ) + FT_Set_Named_Instance( FT_Face face, + FT_UInt instance_index ); + + + /************************************************************************** + * + * @function: + * FT_Get_Default_Named_Instance + * + * @description: + * Retrieve the index of the default named instance, to be used with + * @FT_Set_Named_Instance. + * + * The default instance of a variation font is that instance for which + * the nth axis coordinate is equal to `axis[n].def` (as specified in the + * @FT_MM_Var structure), with~n covering all axes. + * + * FreeType synthesizes a named instance for the default instance if the + * font does not contain such an entry. + * + * @input: + * face :: + * A handle to the source face. + * + * @output: + * instance_index :: + * The index of the default named instance. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * For Adobe MM fonts (which don't have named instances) this function + * always returns zero for `instance_index`. + * + * @since: + * 2.13.1 + */ + FT_EXPORT( FT_Error ) + FT_Get_Default_Named_Instance( FT_Face face, + FT_UInt *instance_index ); + + /* */ + + +FT_END_HEADER + +#endif /* FTMM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmodapi.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmodapi.h new file mode 100644 index 0000000..c8f0c2c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmodapi.h @@ -0,0 +1,807 @@ +/**************************************************************************** + * + * ftmodapi.h + * + * FreeType modules public interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTMODAPI_H_ +#define FTMODAPI_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * module_management + * + * @title: + * Module Management + * + * @abstract: + * How to add, upgrade, remove, and control modules from FreeType. + * + * @description: + * The definitions below are used to manage modules within FreeType. + * Internal and external modules can be added, upgraded, and removed at + * runtime. For example, an alternative renderer or proprietary font + * driver can be registered and prioritized. Additionally, some module + * properties can also be controlled. + * + * Here is a list of existing values of the `module_name` field in the + * @FT_Module_Class structure. + * + * ``` + * autofitter + * bdf + * cff + * gxvalid + * otvalid + * pcf + * pfr + * psaux + * pshinter + * psnames + * raster1 + * sfnt + * smooth + * truetype + * type1 + * type42 + * t1cid + * winfonts + * ``` + * + * Note that the FreeType Cache sub-system is not a FreeType module. + * + * @order: + * FT_Module + * FT_Module_Constructor + * FT_Module_Destructor + * FT_Module_Requester + * FT_Module_Class + * + * FT_Add_Module + * FT_Get_Module + * FT_Remove_Module + * FT_Add_Default_Modules + * + * FT_FACE_DRIVER_NAME + * FT_Property_Set + * FT_Property_Get + * FT_Set_Default_Properties + * + * FT_New_Library + * FT_Done_Library + * FT_Reference_Library + * + * FT_Renderer + * FT_Renderer_Class + * + * FT_Get_Renderer + * FT_Set_Renderer + * + * FT_Set_Debug_Hook + * + */ + + + /* module bit flags */ +#define FT_MODULE_FONT_DRIVER 1 /* this module is a font driver */ +#define FT_MODULE_RENDERER 2 /* this module is a renderer */ +#define FT_MODULE_HINTER 4 /* this module is a glyph hinter */ +#define FT_MODULE_STYLER 8 /* this module is a styler */ + +#define FT_MODULE_DRIVER_SCALABLE 0x100 /* the driver supports */ + /* scalable fonts */ +#define FT_MODULE_DRIVER_NO_OUTLINES 0x200 /* the driver does not */ + /* support vector outlines */ +#define FT_MODULE_DRIVER_HAS_HINTER 0x400 /* the driver provides its */ + /* own hinter */ +#define FT_MODULE_DRIVER_HINTS_LIGHTLY 0x800 /* the driver's hinter */ + /* produces LIGHT hints */ + + + /* deprecated values */ +#define ft_module_font_driver FT_MODULE_FONT_DRIVER +#define ft_module_renderer FT_MODULE_RENDERER +#define ft_module_hinter FT_MODULE_HINTER +#define ft_module_styler FT_MODULE_STYLER + +#define ft_module_driver_scalable FT_MODULE_DRIVER_SCALABLE +#define ft_module_driver_no_outlines FT_MODULE_DRIVER_NO_OUTLINES +#define ft_module_driver_has_hinter FT_MODULE_DRIVER_HAS_HINTER +#define ft_module_driver_hints_lightly FT_MODULE_DRIVER_HINTS_LIGHTLY + + + typedef FT_Pointer FT_Module_Interface; + + + /************************************************************************** + * + * @functype: + * FT_Module_Constructor + * + * @description: + * A function used to initialize (not create) a new module object. + * + * @input: + * module :: + * The module to initialize. + */ + typedef FT_Error + (*FT_Module_Constructor)( FT_Module module ); + + + /************************************************************************** + * + * @functype: + * FT_Module_Destructor + * + * @description: + * A function used to finalize (not destroy) a given module object. + * + * @input: + * module :: + * The module to finalize. + */ + typedef void + (*FT_Module_Destructor)( FT_Module module ); + + + /************************************************************************** + * + * @functype: + * FT_Module_Requester + * + * @description: + * A function used to query a given module for a specific interface. + * + * @input: + * module :: + * The module to be searched. + * + * name :: + * The name of the interface in the module. + */ + typedef FT_Module_Interface + (*FT_Module_Requester)( FT_Module module, + const char* name ); + + + /************************************************************************** + * + * @struct: + * FT_Module_Class + * + * @description: + * The module class descriptor. While being a public structure necessary + * for FreeType's module bookkeeping, most of the fields are essentially + * internal, not to be used directly by an application. + * + * @fields: + * module_flags :: + * Bit flags describing the module. + * + * module_size :: + * The size of one module object/instance in bytes. + * + * module_name :: + * The name of the module. + * + * module_version :: + * The version, as a 16.16 fixed number (major.minor). + * + * module_requires :: + * The version of FreeType this module requires, as a 16.16 fixed + * number (major.minor). Starts at version 2.0, i.e., 0x20000. + * + * module_interface :: + * A typeless pointer to a structure (which varies between different + * modules) that holds the module's interface functions. This is + * essentially what `get_interface` returns. + * + * module_init :: + * The initializing function. + * + * module_done :: + * The finalizing function. + * + * get_interface :: + * The interface requesting function. + */ + typedef struct FT_Module_Class_ + { + FT_ULong module_flags; + FT_Long module_size; + const FT_String* module_name; + FT_Fixed module_version; + FT_Fixed module_requires; + + const void* module_interface; + + FT_Module_Constructor module_init; + FT_Module_Destructor module_done; + FT_Module_Requester get_interface; + + } FT_Module_Class; + + + /************************************************************************** + * + * @function: + * FT_Add_Module + * + * @description: + * Add a new module to a given library instance. + * + * @inout: + * library :: + * A handle to the library object. + * + * @input: + * clazz :: + * A pointer to class descriptor for the module. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * An error will be returned if a module already exists by that name, or + * if the module requires a version of FreeType that is too great. + */ + FT_EXPORT( FT_Error ) + FT_Add_Module( FT_Library library, + const FT_Module_Class* clazz ); + + + /************************************************************************** + * + * @function: + * FT_Get_Module + * + * @description: + * Find a module by its name. + * + * @input: + * library :: + * A handle to the library object. + * + * module_name :: + * The module's name (as an ASCII string). + * + * @return: + * A module handle. 0~if none was found. + * + * @note: + * FreeType's internal modules aren't documented very well, and you + * should look up the source code for details. + */ + FT_EXPORT( FT_Module ) + FT_Get_Module( FT_Library library, + const char* module_name ); + + + /************************************************************************** + * + * @function: + * FT_Remove_Module + * + * @description: + * Remove a given module from a library instance. + * + * @inout: + * library :: + * A handle to a library object. + * + * @input: + * module :: + * A handle to a module object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The module object is destroyed by the function in case of success. + */ + FT_EXPORT( FT_Error ) + FT_Remove_Module( FT_Library library, + FT_Module module ); + + + /************************************************************************** + * + * @macro: + * FT_FACE_DRIVER_NAME + * + * @description: + * A macro that retrieves the name of a font driver from a face object. + * + * @note: + * The font driver name is a valid `module_name` for @FT_Property_Set + * and @FT_Property_Get. This is not the same as @FT_Get_Font_Format. + * + * @since: + * 2.11 + * + */ +#define FT_FACE_DRIVER_NAME( face ) \ + ( ( *FT_REINTERPRET_CAST( FT_Module_Class**, \ + ( face )->driver ) )->module_name ) + + + /************************************************************************** + * + * @function: + * FT_Property_Set + * + * @description: + * Set a property for a given module. + * + * @input: + * library :: + * A handle to the library the module is part of. + * + * module_name :: + * The module name. + * + * property_name :: + * The property name. Properties are described in section + * @properties. + * + * Note that only a few modules have properties. + * + * value :: + * A generic pointer to a variable or structure that gives the new + * value of the property. The exact definition of `value` is + * dependent on the property; see section @properties. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If `module_name` isn't a valid module name, or `property_name` + * doesn't specify a valid property, or if `value` doesn't represent a + * valid value for the given property, an error is returned. + * + * The following example sets property 'bar' (a simple integer) in + * module 'foo' to value~1. + * + * ``` + * FT_UInt bar; + * + * + * bar = 1; + * FT_Property_Set( library, "foo", "bar", &bar ); + * ``` + * + * Note that the FreeType Cache sub-system doesn't recognize module + * property changes. To avoid glyph lookup confusion within the cache + * you should call @FTC_Manager_Reset to completely flush the cache if a + * module property gets changed after @FTC_Manager_New has been called. + * + * It is not possible to set properties of the FreeType Cache sub-system + * itself with FT_Property_Set; use @FTC_Property_Set instead. + * + * @since: + * 2.4.11 + * + */ + FT_EXPORT( FT_Error ) + FT_Property_Set( FT_Library library, + const FT_String* module_name, + const FT_String* property_name, + const void* value ); + + + /************************************************************************** + * + * @function: + * FT_Property_Get + * + * @description: + * Get a module's property value. + * + * @input: + * library :: + * A handle to the library the module is part of. + * + * module_name :: + * The module name. + * + * property_name :: + * The property name. Properties are described in section + * @properties. + * + * @inout: + * value :: + * A generic pointer to a variable or structure that gives the value + * of the property. The exact definition of `value` is dependent on + * the property; see section @properties. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If `module_name` isn't a valid module name, or `property_name` + * doesn't specify a valid property, or if `value` doesn't represent a + * valid value for the given property, an error is returned. + * + * The following example gets property 'baz' (a range) in module 'foo'. + * + * ``` + * typedef range_ + * { + * FT_Int32 min; + * FT_Int32 max; + * + * } range; + * + * range baz; + * + * + * FT_Property_Get( library, "foo", "baz", &baz ); + * ``` + * + * It is not possible to retrieve properties of the FreeType Cache + * sub-system with FT_Property_Get; use @FTC_Property_Get instead. + * + * @since: + * 2.4.11 + * + */ + FT_EXPORT( FT_Error ) + FT_Property_Get( FT_Library library, + const FT_String* module_name, + const FT_String* property_name, + void* value ); + + + /************************************************************************** + * + * @function: + * FT_Set_Default_Properties + * + * @description: + * If compilation option `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES` is + * set, this function reads the `FREETYPE_PROPERTIES` environment + * variable to control driver properties. See section @properties for + * more. + * + * If the compilation option is not set, this function does nothing. + * + * `FREETYPE_PROPERTIES` has the following syntax form (broken here into + * multiple lines for better readability). + * + * ``` + * + * ':' + * '=' + * + * ':' + * '=' + * ... + * ``` + * + * Example: + * + * ``` + * FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ + * cff:no-stem-darkening=0 + * ``` + * + * @inout: + * library :: + * A handle to a new library object. + * + * @since: + * 2.8 + */ + FT_EXPORT( void ) + FT_Set_Default_Properties( FT_Library library ); + + + /************************************************************************** + * + * @function: + * FT_Reference_Library + * + * @description: + * A counter gets initialized to~1 at the time an @FT_Library structure + * is created. This function increments the counter. @FT_Done_Library + * then only destroys a library if the counter is~1, otherwise it simply + * decrements the counter. + * + * This function helps in managing life-cycles of structures that + * reference @FT_Library objects. + * + * @input: + * library :: + * A handle to a target library object. + * + * @return: + * FreeType error code. 0~means success. + * + * @since: + * 2.4.2 + */ + FT_EXPORT( FT_Error ) + FT_Reference_Library( FT_Library library ); + + + /************************************************************************** + * + * @function: + * FT_New_Library + * + * @description: + * This function is used to create a new FreeType library instance from a + * given memory object. It is thus possible to use libraries with + * distinct memory allocators within the same program. Note, however, + * that the used @FT_Memory structure is expected to remain valid for the + * life of the @FT_Library object. + * + * Normally, you would call this function (followed by a call to + * @FT_Add_Default_Modules or a series of calls to @FT_Add_Module, and a + * call to @FT_Set_Default_Properties) instead of @FT_Init_FreeType to + * initialize the FreeType library. + * + * Don't use @FT_Done_FreeType but @FT_Done_Library to destroy a library + * instance. + * + * @input: + * memory :: + * A handle to the original memory object. + * + * @output: + * alibrary :: + * A pointer to handle of a new library object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * See the discussion of reference counters in the description of + * @FT_Reference_Library. + */ + FT_EXPORT( FT_Error ) + FT_New_Library( FT_Memory memory, + FT_Library *alibrary ); + + + /************************************************************************** + * + * @function: + * FT_Done_Library + * + * @description: + * Discard a given library object. This closes all drivers and discards + * all resource objects. + * + * @input: + * library :: + * A handle to the target library. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * See the discussion of reference counters in the description of + * @FT_Reference_Library. + */ + FT_EXPORT( FT_Error ) + FT_Done_Library( FT_Library library ); + + + /************************************************************************** + * + * @functype: + * FT_DebugHook_Func + * + * @description: + * A drop-in replacement (or rather a wrapper) for the bytecode or + * charstring interpreter's main loop function. + * + * Its job is essentially + * + * - to activate debug mode to enforce single-stepping, + * + * - to call the main loop function to interpret the next opcode, and + * + * - to show the changed context to the user. + * + * An example for such a main loop function is `TT_RunIns` (declared in + * FreeType's internal header file `src/truetype/ttinterp.h`). + * + * Have a look at the source code of the `ttdebug` FreeType demo program + * for an example of a drop-in replacement. + * + * @inout: + * arg :: + * A typeless pointer, to be cast to the main loop function's data + * structure (which depends on the font module). For TrueType fonts + * it is bytecode interpreter's execution context, `TT_ExecContext`, + * which is declared in FreeType's internal header file `tttypes.h`. + */ + typedef FT_Error + (*FT_DebugHook_Func)( void* arg ); + + + /************************************************************************** + * + * @enum: + * FT_DEBUG_HOOK_XXX + * + * @description: + * A list of named debug hook indices. + * + * @values: + * FT_DEBUG_HOOK_TRUETYPE:: + * This hook index identifies the TrueType bytecode debugger. + */ +#define FT_DEBUG_HOOK_TRUETYPE 0 + + + /************************************************************************** + * + * @function: + * FT_Set_Debug_Hook + * + * @description: + * Set a debug hook function for debugging the interpreter of a font + * format. + * + * While this is a public API function, an application needs access to + * FreeType's internal header files to do something useful. + * + * Have a look at the source code of the `ttdebug` FreeType demo program + * for an example of its usage. + * + * @inout: + * library :: + * A handle to the library object. + * + * @input: + * hook_index :: + * The index of the debug hook. You should use defined enumeration + * macros like @FT_DEBUG_HOOK_TRUETYPE. + * + * debug_hook :: + * The function used to debug the interpreter. + * + * @note: + * Currently, four debug hook slots are available, but only one (for the + * TrueType interpreter) is defined. + */ + FT_EXPORT( void ) + FT_Set_Debug_Hook( FT_Library library, + FT_UInt hook_index, + FT_DebugHook_Func debug_hook ); + + + /************************************************************************** + * + * @function: + * FT_Add_Default_Modules + * + * @description: + * Add the set of default drivers to a given library object. This is + * only useful when you create a library object with @FT_New_Library + * (usually to plug a custom memory manager). + * + * @inout: + * library :: + * A handle to a new library object. + */ + FT_EXPORT( void ) + FT_Add_Default_Modules( FT_Library library ); + + + + /************************************************************************** + * + * @section: + * truetype_engine + * + * @title: + * The TrueType Engine + * + * @abstract: + * TrueType bytecode support. + * + * @description: + * This section contains a function used to query the level of TrueType + * bytecode support compiled in this version of the library. + * + */ + + + /************************************************************************** + * + * @enum: + * FT_TrueTypeEngineType + * + * @description: + * A list of values describing which kind of TrueType bytecode engine is + * implemented in a given FT_Library instance. It is used by the + * @FT_Get_TrueType_Engine_Type function. + * + * @values: + * FT_TRUETYPE_ENGINE_TYPE_NONE :: + * The library doesn't implement any kind of bytecode interpreter. + * + * FT_TRUETYPE_ENGINE_TYPE_UNPATENTED :: + * Deprecated and removed. + * + * FT_TRUETYPE_ENGINE_TYPE_PATENTED :: + * The library implements a bytecode interpreter that covers the full + * instruction set of the TrueType virtual machine (this was governed + * by patents until May 2010, hence the name). + * + * @since: + * 2.2 + * + */ + typedef enum FT_TrueTypeEngineType_ + { + FT_TRUETYPE_ENGINE_TYPE_NONE = 0, + FT_TRUETYPE_ENGINE_TYPE_UNPATENTED, + FT_TRUETYPE_ENGINE_TYPE_PATENTED + + } FT_TrueTypeEngineType; + + + /************************************************************************** + * + * @function: + * FT_Get_TrueType_Engine_Type + * + * @description: + * Return an @FT_TrueTypeEngineType value to indicate which level of the + * TrueType virtual machine a given library instance supports. + * + * @input: + * library :: + * A library instance. + * + * @return: + * A value indicating which level is supported. + * + * @since: + * 2.2 + * + */ + FT_EXPORT( FT_TrueTypeEngineType ) + FT_Get_TrueType_Engine_Type( FT_Library library ); + + /* */ + + +FT_END_HEADER + +#endif /* FTMODAPI_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmoderr.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmoderr.h new file mode 100644 index 0000000..c8c892d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftmoderr.h @@ -0,0 +1,204 @@ +/**************************************************************************** + * + * ftmoderr.h + * + * FreeType module error offsets (specification). + * + * Copyright (C) 2001-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This file is used to define the FreeType module error codes. + * + * If the macro `FT_CONFIG_OPTION_USE_MODULE_ERRORS` in `ftoption.h` is + * set, the lower byte of an error value identifies the error code as + * usual. In addition, the higher byte identifies the module. For + * example, the error `FT_Err_Invalid_File_Format` has value 0x0003, the + * error `TT_Err_Invalid_File_Format` has value 0x1303, the error + * `T1_Err_Invalid_File_Format` has value 0x1403, etc. + * + * Note that `FT_Err_Ok`, `TT_Err_Ok`, etc. are always equal to zero, + * including the high byte. + * + * If `FT_CONFIG_OPTION_USE_MODULE_ERRORS` isn't set, the higher byte of an + * error value is set to zero. + * + * To hide the various `XXX_Err_` prefixes in the source code, FreeType + * provides some macros in `fttypes.h`. + * + * FT_ERR( err ) + * + * Add current error module prefix (as defined with the `FT_ERR_PREFIX` + * macro) to `err`. For example, in the BDF module the line + * + * ``` + * error = FT_ERR( Invalid_Outline ); + * ``` + * + * expands to + * + * ``` + * error = BDF_Err_Invalid_Outline; + * ``` + * + * For simplicity, you can always use `FT_Err_Ok` directly instead of + * `FT_ERR( Ok )`. + * + * FT_ERR_EQ( errcode, err ) + * FT_ERR_NEQ( errcode, err ) + * + * Compare error code `errcode` with the error `err` for equality and + * inequality, respectively. Example: + * + * ``` + * if ( FT_ERR_EQ( error, Invalid_Outline ) ) + * ... + * ``` + * + * Using this macro you don't have to think about error prefixes. Of + * course, if module errors are not active, the above example is the + * same as + * + * ``` + * if ( error == FT_Err_Invalid_Outline ) + * ... + * ``` + * + * FT_ERROR_BASE( errcode ) + * FT_ERROR_MODULE( errcode ) + * + * Get base error and module error code, respectively. + * + * It can also be used to create a module error message table easily with + * something like + * + * ``` + * #undef FTMODERR_H_ + * #define FT_MODERRDEF( e, v, s ) { FT_Mod_Err_ ## e, s }, + * #define FT_MODERR_START_LIST { + * #define FT_MODERR_END_LIST { 0, 0 } }; + * + * const struct + * { + * int mod_err_offset; + * const char* mod_err_msg + * } ft_mod_errors[] = + * + * #include + * ``` + * + */ + + +#ifndef FTMODERR_H_ +#define FTMODERR_H_ + + + /*******************************************************************/ + /*******************************************************************/ + /***** *****/ + /***** SETUP MACROS *****/ + /***** *****/ + /*******************************************************************/ + /*******************************************************************/ + + +#undef FT_NEED_EXTERN_C + +#ifndef FT_MODERRDEF + +#ifdef FT_CONFIG_OPTION_USE_MODULE_ERRORS +#define FT_MODERRDEF( e, v, s ) FT_Mod_Err_ ## e = v, +#else +#define FT_MODERRDEF( e, v, s ) FT_Mod_Err_ ## e = 0, +#endif + +#define FT_MODERR_START_LIST enum { +#define FT_MODERR_END_LIST FT_Mod_Err_Max }; + +#ifdef __cplusplus +#define FT_NEED_EXTERN_C + extern "C" { +#endif + +#endif /* !FT_MODERRDEF */ + + + /*******************************************************************/ + /*******************************************************************/ + /***** *****/ + /***** LIST MODULE ERROR BASES *****/ + /***** *****/ + /*******************************************************************/ + /*******************************************************************/ + + +#ifdef FT_MODERR_START_LIST + FT_MODERR_START_LIST +#endif + + + FT_MODERRDEF( Base, 0x000, "base module" ) + FT_MODERRDEF( Autofit, 0x100, "autofitter module" ) + FT_MODERRDEF( BDF, 0x200, "BDF module" ) + FT_MODERRDEF( Bzip2, 0x300, "Bzip2 module" ) + FT_MODERRDEF( Cache, 0x400, "cache module" ) + FT_MODERRDEF( CFF, 0x500, "CFF module" ) + FT_MODERRDEF( CID, 0x600, "CID module" ) + FT_MODERRDEF( Gzip, 0x700, "Gzip module" ) + FT_MODERRDEF( LZW, 0x800, "LZW module" ) + FT_MODERRDEF( OTvalid, 0x900, "OpenType validation module" ) + FT_MODERRDEF( PCF, 0xA00, "PCF module" ) + FT_MODERRDEF( PFR, 0xB00, "PFR module" ) + FT_MODERRDEF( PSaux, 0xC00, "PS auxiliary module" ) + FT_MODERRDEF( PShinter, 0xD00, "PS hinter module" ) + FT_MODERRDEF( PSnames, 0xE00, "PS names module" ) + FT_MODERRDEF( Raster, 0xF00, "raster module" ) + FT_MODERRDEF( SFNT, 0x1000, "SFNT module" ) + FT_MODERRDEF( Smooth, 0x1100, "smooth raster module" ) + FT_MODERRDEF( TrueType, 0x1200, "TrueType module" ) + FT_MODERRDEF( Type1, 0x1300, "Type 1 module" ) + FT_MODERRDEF( Type42, 0x1400, "Type 42 module" ) + FT_MODERRDEF( Winfonts, 0x1500, "Windows FON/FNT module" ) + FT_MODERRDEF( GXvalid, 0x1600, "GX validation module" ) + FT_MODERRDEF( Sdf, 0x1700, "Signed distance field raster module" ) + + +#ifdef FT_MODERR_END_LIST + FT_MODERR_END_LIST +#endif + + + /*******************************************************************/ + /*******************************************************************/ + /***** *****/ + /***** CLEANUP *****/ + /***** *****/ + /*******************************************************************/ + /*******************************************************************/ + + +#ifdef FT_NEED_EXTERN_C + } +#endif + +#undef FT_MODERR_START_LIST +#undef FT_MODERR_END_LIST +#undef FT_MODERRDEF +#undef FT_NEED_EXTERN_C + + +#endif /* FTMODERR_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftotval.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftotval.h new file mode 100644 index 0000000..011bdfc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftotval.h @@ -0,0 +1,206 @@ +/**************************************************************************** + * + * ftotval.h + * + * FreeType API for validating OpenType tables (specification). + * + * Copyright (C) 2004-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +/**************************************************************************** + * + * + * Warning: This module might be moved to a different library in the + * future to avoid a tight dependency between FreeType and the + * OpenType specification. + * + * + */ + + +#ifndef FTOTVAL_H_ +#define FTOTVAL_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * ot_validation + * + * @title: + * OpenType Validation + * + * @abstract: + * An API to validate OpenType tables. + * + * @description: + * This section contains the declaration of functions to validate some + * OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF, MATH). + * + * @order: + * FT_OpenType_Validate + * FT_OpenType_Free + * + * FT_VALIDATE_OTXXX + * + */ + + + /************************************************************************** + * + * @enum: + * FT_VALIDATE_OTXXX + * + * @description: + * A list of bit-field constants used with @FT_OpenType_Validate to + * indicate which OpenType tables should be validated. + * + * @values: + * FT_VALIDATE_BASE :: + * Validate BASE table. + * + * FT_VALIDATE_GDEF :: + * Validate GDEF table. + * + * FT_VALIDATE_GPOS :: + * Validate GPOS table. + * + * FT_VALIDATE_GSUB :: + * Validate GSUB table. + * + * FT_VALIDATE_JSTF :: + * Validate JSTF table. + * + * FT_VALIDATE_MATH :: + * Validate MATH table. + * + * FT_VALIDATE_OT :: + * Validate all OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF, MATH). + * + */ +#define FT_VALIDATE_BASE 0x0100 +#define FT_VALIDATE_GDEF 0x0200 +#define FT_VALIDATE_GPOS 0x0400 +#define FT_VALIDATE_GSUB 0x0800 +#define FT_VALIDATE_JSTF 0x1000 +#define FT_VALIDATE_MATH 0x2000 + +#define FT_VALIDATE_OT ( FT_VALIDATE_BASE | \ + FT_VALIDATE_GDEF | \ + FT_VALIDATE_GPOS | \ + FT_VALIDATE_GSUB | \ + FT_VALIDATE_JSTF | \ + FT_VALIDATE_MATH ) + + + /************************************************************************** + * + * @function: + * FT_OpenType_Validate + * + * @description: + * Validate various OpenType tables to assure that all offsets and + * indices are valid. The idea is that a higher-level library that + * actually does the text layout can access those tables without error + * checking (which can be quite time consuming). + * + * @input: + * face :: + * A handle to the input face. + * + * validation_flags :: + * A bit field that specifies the tables to be validated. See + * @FT_VALIDATE_OTXXX for possible values. + * + * @output: + * BASE_table :: + * A pointer to the BASE table. + * + * GDEF_table :: + * A pointer to the GDEF table. + * + * GPOS_table :: + * A pointer to the GPOS table. + * + * GSUB_table :: + * A pointer to the GSUB table. + * + * JSTF_table :: + * A pointer to the JSTF table. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with OpenType fonts, returning an error + * otherwise. + * + * After use, the application should deallocate the five tables with + * @FT_OpenType_Free. A `NULL` value indicates that the table either + * doesn't exist in the font, or the application hasn't asked for + * validation. + */ + FT_EXPORT( FT_Error ) + FT_OpenType_Validate( FT_Face face, + FT_UInt validation_flags, + FT_Bytes *BASE_table, + FT_Bytes *GDEF_table, + FT_Bytes *GPOS_table, + FT_Bytes *GSUB_table, + FT_Bytes *JSTF_table ); + + + /************************************************************************** + * + * @function: + * FT_OpenType_Free + * + * @description: + * Free the buffer allocated by OpenType validator. + * + * @input: + * face :: + * A handle to the input face. + * + * table :: + * The pointer to the buffer that is allocated by + * @FT_OpenType_Validate. + * + * @note: + * This function must be used to free the buffer allocated by + * @FT_OpenType_Validate only. + */ + FT_EXPORT( void ) + FT_OpenType_Free( FT_Face face, + FT_Bytes table ); + + + /* */ + + +FT_END_HEADER + +#endif /* FTOTVAL_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftoutln.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftoutln.h new file mode 100644 index 0000000..f9329ca --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftoutln.h @@ -0,0 +1,588 @@ +/**************************************************************************** + * + * ftoutln.h + * + * Support for the FT_Outline type used to store glyph shapes of + * most scalable font formats (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTOUTLN_H_ +#define FTOUTLN_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * outline_processing + * + * @title: + * Outline Processing + * + * @abstract: + * Functions to create, transform, and render vectorial glyph images. + * + * @description: + * This section contains routines used to create and destroy scalable + * glyph images known as 'outlines'. These can also be measured, + * transformed, and converted into bitmaps and pixmaps. + * + * @order: + * FT_Outline + * FT_Outline_New + * FT_Outline_Done + * FT_Outline_Copy + * FT_Outline_Translate + * FT_Outline_Transform + * FT_Outline_Embolden + * FT_Outline_EmboldenXY + * FT_Outline_Reverse + * FT_Outline_Check + * + * FT_Outline_Get_CBox + * FT_Outline_Get_BBox + * + * FT_Outline_Get_Bitmap + * FT_Outline_Render + * FT_Outline_Decompose + * FT_Outline_Funcs + * FT_Outline_MoveToFunc + * FT_Outline_LineToFunc + * FT_Outline_ConicToFunc + * FT_Outline_CubicToFunc + * + * FT_Orientation + * FT_Outline_Get_Orientation + * + * FT_OUTLINE_XXX + * + */ + + + /************************************************************************** + * + * @function: + * FT_Outline_Decompose + * + * @description: + * Walk over an outline's structure to decompose it into individual + * segments and Bezier arcs. This function also emits 'move to' + * operations to indicate the start of new contours in the outline. + * + * @input: + * outline :: + * A pointer to the source target. + * + * func_interface :: + * A table of 'emitters', i.e., function pointers called during + * decomposition to indicate path operations. + * + * @inout: + * user :: + * A typeless pointer that is passed to each emitter during the + * decomposition. It can be used to store the state during the + * decomposition. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * Degenerate contours, segments, and Bezier arcs may be reported. In + * most cases, it is best to filter these out before using the outline + * for stroking or other path modification purposes (which may cause + * degenerate segments to become non-degenrate and visible, like when + * stroke caps are used or the path is otherwise outset). Some glyph + * outlines may contain deliberate degenerate single points for mark + * attachement. + * + * Similarly, the function returns success for an empty outline also + * (doing nothing, that is, not calling any emitter); if necessary, you + * should filter this out, too. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Decompose( FT_Outline* outline, + const FT_Outline_Funcs* func_interface, + void* user ); + + + /************************************************************************** + * + * @function: + * FT_Outline_New + * + * @description: + * Create a new outline of a given size. + * + * @input: + * library :: + * A handle to the library object from where the outline is allocated. + * Note however that the new outline will **not** necessarily be + * **freed**, when destroying the library, by @FT_Done_FreeType. + * + * numPoints :: + * The maximum number of points within the outline. Must be smaller + * than or equal to 0xFFFF (65535). + * + * numContours :: + * The maximum number of contours within the outline. This value must + * be in the range 0 to `numPoints`. + * + * @output: + * anoutline :: + * A handle to the new outline. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The reason why this function takes a `library` parameter is simply to + * use the library's memory allocator. + */ + FT_EXPORT( FT_Error ) + FT_Outline_New( FT_Library library, + FT_UInt numPoints, + FT_Int numContours, + FT_Outline *anoutline ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Done + * + * @description: + * Destroy an outline created with @FT_Outline_New. + * + * @input: + * library :: + * A handle of the library object used to allocate the outline. + * + * outline :: + * A pointer to the outline object to be discarded. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If the outline's 'owner' field is not set, only the outline descriptor + * will be released. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Done( FT_Library library, + FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Check + * + * @description: + * Check the contents of an outline descriptor. + * + * @input: + * outline :: + * A handle to a source outline. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * An empty outline, or an outline with a single point only is also + * valid. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Check( FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Get_CBox + * + * @description: + * Return an outline's 'control box'. The control box encloses all the + * outline's points, including Bezier control points. Though it + * coincides with the exact bounding box for most glyphs, it can be + * slightly larger in some situations (like when rotating an outline that + * contains Bezier outside arcs). + * + * Computing the control box is very fast, while getting the bounding box + * can take much more time as it needs to walk over all segments and arcs + * in the outline. To get the latter, you can use the 'ftbbox' + * component, which is dedicated to this single task. + * + * @input: + * outline :: + * A pointer to the source outline descriptor. + * + * @output: + * acbox :: + * The outline's control box. + * + * @note: + * See @FT_Glyph_Get_CBox for a discussion of tricky fonts. + */ + FT_EXPORT( void ) + FT_Outline_Get_CBox( const FT_Outline* outline, + FT_BBox *acbox ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Translate + * + * @description: + * Apply a simple translation to the points of an outline. + * + * @inout: + * outline :: + * A pointer to the target outline descriptor. + * + * @input: + * xOffset :: + * The horizontal offset. + * + * yOffset :: + * The vertical offset. + */ + FT_EXPORT( void ) + FT_Outline_Translate( const FT_Outline* outline, + FT_Pos xOffset, + FT_Pos yOffset ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Copy + * + * @description: + * Copy an outline into another one. Both objects must have the same + * sizes (number of points & number of contours) when this function is + * called. + * + * @input: + * source :: + * A handle to the source outline. + * + * @output: + * target :: + * A handle to the target outline. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Copy( const FT_Outline* source, + FT_Outline *target ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Transform + * + * @description: + * Apply a simple 2x2 matrix to all of an outline's points. Useful for + * applying rotations, slanting, flipping, etc. + * + * @inout: + * outline :: + * A pointer to the target outline descriptor. + * + * @input: + * matrix :: + * A pointer to the transformation matrix. + * + * @note: + * You can use @FT_Outline_Translate if you need to translate the + * outline's points. + */ + FT_EXPORT( void ) + FT_Outline_Transform( const FT_Outline* outline, + const FT_Matrix* matrix ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Embolden + * + * @description: + * Embolden an outline. The new outline will be at most 4~times + * `strength` pixels wider and higher. You may think of the left and + * bottom borders as unchanged. + * + * Negative `strength` values to reduce the outline thickness are + * possible also. + * + * @inout: + * outline :: + * A handle to the target outline. + * + * @input: + * strength :: + * How strong the glyph is emboldened. Expressed in 26.6 pixel format. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The used algorithm to increase or decrease the thickness of the glyph + * doesn't change the number of points; this means that certain + * situations like acute angles or intersections are sometimes handled + * incorrectly. + * + * If you need 'better' metrics values you should call + * @FT_Outline_Get_CBox or @FT_Outline_Get_BBox. + * + * To get meaningful results, font scaling values must be set with + * functions like @FT_Set_Char_Size before calling FT_Render_Glyph. + * + * @example: + * ``` + * FT_Load_Glyph( face, index, FT_LOAD_DEFAULT ); + * + * if ( face->glyph->format == FT_GLYPH_FORMAT_OUTLINE ) + * FT_Outline_Embolden( &face->glyph->outline, strength ); + * ``` + * + */ + FT_EXPORT( FT_Error ) + FT_Outline_Embolden( FT_Outline* outline, + FT_Pos strength ); + + + /************************************************************************** + * + * @function: + * FT_Outline_EmboldenXY + * + * @description: + * Embolden an outline. The new outline will be `xstrength` pixels wider + * and `ystrength` pixels higher. Otherwise, it is similar to + * @FT_Outline_Embolden, which uses the same strength in both directions. + * + * @since: + * 2.4.10 + */ + FT_EXPORT( FT_Error ) + FT_Outline_EmboldenXY( FT_Outline* outline, + FT_Pos xstrength, + FT_Pos ystrength ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Reverse + * + * @description: + * Reverse the drawing direction of an outline. This is used to ensure + * consistent fill conventions for mirrored glyphs. + * + * @inout: + * outline :: + * A pointer to the target outline descriptor. + * + * @note: + * This function toggles the bit flag @FT_OUTLINE_REVERSE_FILL in the + * outline's `flags` field. + * + * It shouldn't be used by a normal client application, unless it knows + * what it is doing. + */ + FT_EXPORT( void ) + FT_Outline_Reverse( FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Get_Bitmap + * + * @description: + * Render an outline within a bitmap. The outline's image is simply + * OR-ed to the target bitmap. + * + * @input: + * library :: + * A handle to a FreeType library object. + * + * outline :: + * A pointer to the source outline descriptor. + * + * @inout: + * abitmap :: + * A pointer to the target bitmap descriptor. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function does **not create** the bitmap, it only renders an + * outline image within the one you pass to it! Consequently, the + * various fields in `abitmap` should be set accordingly. + * + * It will use the raster corresponding to the default glyph format. + * + * The value of the `num_grays` field in `abitmap` is ignored. If you + * select the gray-level rasterizer, and you want less than 256 gray + * levels, you have to use @FT_Outline_Render directly. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Get_Bitmap( FT_Library library, + FT_Outline* outline, + const FT_Bitmap *abitmap ); + + + /************************************************************************** + * + * @function: + * FT_Outline_Render + * + * @description: + * Render an outline within a bitmap using the current scan-convert. + * + * @input: + * library :: + * A handle to a FreeType library object. + * + * outline :: + * A pointer to the source outline descriptor. + * + * @inout: + * params :: + * A pointer to an @FT_Raster_Params structure used to describe the + * rendering operation. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This advanced function uses @FT_Raster_Params as an argument. + * The field `params.source` will be set to `outline` before the scan + * converter is called, which means that the value you give to it is + * actually ignored. Either `params.target` must point to preallocated + * bitmap, or @FT_RASTER_FLAG_DIRECT must be set in `params.flags` + * allowing FreeType rasterizer to be used for direct composition, + * translucency, etc. See @FT_Raster_Params for more details. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Render( FT_Library library, + FT_Outline* outline, + FT_Raster_Params* params ); + + + /************************************************************************** + * + * @enum: + * FT_Orientation + * + * @description: + * A list of values used to describe an outline's contour orientation. + * + * The TrueType and PostScript specifications use different conventions + * to determine whether outline contours should be filled or unfilled. + * + * @values: + * FT_ORIENTATION_TRUETYPE :: + * According to the TrueType specification, clockwise contours must be + * filled, and counter-clockwise ones must be unfilled. + * + * FT_ORIENTATION_POSTSCRIPT :: + * According to the PostScript specification, counter-clockwise + * contours must be filled, and clockwise ones must be unfilled. + * + * FT_ORIENTATION_FILL_RIGHT :: + * This is identical to @FT_ORIENTATION_TRUETYPE, but is used to + * remember that in TrueType, everything that is to the right of the + * drawing direction of a contour must be filled. + * + * FT_ORIENTATION_FILL_LEFT :: + * This is identical to @FT_ORIENTATION_POSTSCRIPT, but is used to + * remember that in PostScript, everything that is to the left of the + * drawing direction of a contour must be filled. + * + * FT_ORIENTATION_NONE :: + * The orientation cannot be determined. That is, different parts of + * the glyph have different orientation. + * + */ + typedef enum FT_Orientation_ + { + FT_ORIENTATION_TRUETYPE = 0, + FT_ORIENTATION_POSTSCRIPT = 1, + FT_ORIENTATION_FILL_RIGHT = FT_ORIENTATION_TRUETYPE, + FT_ORIENTATION_FILL_LEFT = FT_ORIENTATION_POSTSCRIPT, + FT_ORIENTATION_NONE + + } FT_Orientation; + + + /************************************************************************** + * + * @function: + * FT_Outline_Get_Orientation + * + * @description: + * This function analyzes a glyph outline and tries to compute its fill + * orientation (see @FT_Orientation). This is done by integrating the + * total area covered by the outline. The positive integral corresponds + * to the clockwise orientation and @FT_ORIENTATION_POSTSCRIPT is + * returned. The negative integral corresponds to the counter-clockwise + * orientation and @FT_ORIENTATION_TRUETYPE is returned. + * + * Note that this will return @FT_ORIENTATION_TRUETYPE for empty + * outlines. + * + * @input: + * outline :: + * A handle to the source outline. + * + * @return: + * The orientation. + * + */ + FT_EXPORT( FT_Orientation ) + FT_Outline_Get_Orientation( FT_Outline* outline ); + + + /* */ + + +FT_END_HEADER + +#endif /* FTOUTLN_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftparams.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftparams.h new file mode 100644 index 0000000..6a9f243 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftparams.h @@ -0,0 +1,218 @@ +/**************************************************************************** + * + * ftparams.h + * + * FreeType API for possible FT_Parameter tags (specification only). + * + * Copyright (C) 2017-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTPARAMS_H_ +#define FTPARAMS_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * parameter_tags + * + * @title: + * Parameter Tags + * + * @abstract: + * Macros for driver property and font loading parameter tags. + * + * @description: + * This section contains macros for the @FT_Parameter structure that are + * used with various functions to activate some special functionality or + * different behaviour of various components of FreeType. + * + */ + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_FAMILY + * + * @description: + * A tag for @FT_Parameter to make @FT_Open_Face ignore typographic + * family names in the 'name' table (introduced in OpenType version 1.4). + * Use this for backward compatibility with legacy systems that have a + * four-faces-per-family restriction. + * + * @since: + * 2.8 + * + */ +#define FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_FAMILY \ + FT_MAKE_TAG( 'i', 'g', 'p', 'f' ) + + + /* this constant is deprecated */ +#define FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY \ + FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_FAMILY + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_SUBFAMILY + * + * @description: + * A tag for @FT_Parameter to make @FT_Open_Face ignore typographic + * subfamily names in the 'name' table (introduced in OpenType version + * 1.4). Use this for backward compatibility with legacy systems that + * have a four-faces-per-family restriction. + * + * @since: + * 2.8 + * + */ +#define FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_SUBFAMILY \ + FT_MAKE_TAG( 'i', 'g', 'p', 's' ) + + + /* this constant is deprecated */ +#define FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY \ + FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_SUBFAMILY + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_INCREMENTAL + * + * @description: + * An @FT_Parameter tag to be used with @FT_Open_Face to indicate + * incremental glyph loading. + * + */ +#define FT_PARAM_TAG_INCREMENTAL \ + FT_MAKE_TAG( 'i', 'n', 'c', 'r' ) + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_IGNORE_SBIX + * + * @description: + * A tag for @FT_Parameter to make @FT_Open_Face ignore an 'sbix' table + * while loading a font. Use this if @FT_FACE_FLAG_SBIX is set and you + * want to access the outline glyphs in the font. + * + */ +#define FT_PARAM_TAG_IGNORE_SBIX \ + FT_MAKE_TAG( 'i', 's', 'b', 'x' ) + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_LCD_FILTER_WEIGHTS + * + * @description: + * An @FT_Parameter tag to be used with @FT_Face_Properties. The + * corresponding argument specifies the five LCD filter weights for a + * given face (if using @FT_LOAD_TARGET_LCD, for example), overriding the + * global default values or the values set up with + * @FT_Library_SetLcdFilterWeights. + * + * @since: + * 2.8 + * + */ +#define FT_PARAM_TAG_LCD_FILTER_WEIGHTS \ + FT_MAKE_TAG( 'l', 'c', 'd', 'f' ) + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_RANDOM_SEED + * + * @description: + * An @FT_Parameter tag to be used with @FT_Face_Properties. The + * corresponding 32bit signed integer argument overrides the font + * driver's random seed value with a face-specific one; see @random-seed. + * + * @since: + * 2.8 + * + */ +#define FT_PARAM_TAG_RANDOM_SEED \ + FT_MAKE_TAG( 's', 'e', 'e', 'd' ) + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_STEM_DARKENING + * + * @description: + * An @FT_Parameter tag to be used with @FT_Face_Properties. The + * corresponding Boolean argument specifies whether to apply stem + * darkening, overriding the global default values or the values set up + * with @FT_Property_Set (see @no-stem-darkening). + * + * This is a passive setting that only takes effect if the font driver or + * autohinter honors it, which the CFF, Type~1, and CID drivers always + * do, but the autohinter only in 'light' hinting mode (as of version + * 2.9). + * + * @since: + * 2.8 + * + */ +#define FT_PARAM_TAG_STEM_DARKENING \ + FT_MAKE_TAG( 'd', 'a', 'r', 'k' ) + + + /************************************************************************** + * + * @enum: + * FT_PARAM_TAG_UNPATENTED_HINTING + * + * @description: + * Deprecated, no effect. + * + * Previously: A constant used as the tag of an @FT_Parameter structure + * to indicate that unpatented methods only should be used by the + * TrueType bytecode interpreter for a typeface opened by @FT_Open_Face. + * + */ +#define FT_PARAM_TAG_UNPATENTED_HINTING \ + FT_MAKE_TAG( 'u', 'n', 'p', 'a' ) + + + /* */ + + +FT_END_HEADER + + +#endif /* FTPARAMS_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftpfr.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftpfr.h new file mode 100644 index 0000000..7111d40 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftpfr.h @@ -0,0 +1,179 @@ +/**************************************************************************** + * + * ftpfr.h + * + * FreeType API for accessing PFR-specific data (specification only). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTPFR_H_ +#define FTPFR_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * pfr_fonts + * + * @title: + * PFR Fonts + * + * @abstract: + * PFR/TrueDoc-specific API. + * + * @description: + * This section contains the declaration of PFR-specific functions. + * + */ + + + /************************************************************************** + * + * @function: + * FT_Get_PFR_Metrics + * + * @description: + * Return the outline and metrics resolutions of a given PFR face. + * + * @input: + * face :: + * Handle to the input face. It can be a non-PFR face. + * + * @output: + * aoutline_resolution :: + * Outline resolution. This is equivalent to `face->units_per_EM` for + * non-PFR fonts. Optional (parameter can be `NULL`). + * + * ametrics_resolution :: + * Metrics resolution. This is equivalent to `outline_resolution` for + * non-PFR fonts. Optional (parameter can be `NULL`). + * + * ametrics_x_scale :: + * A 16.16 fixed-point number used to scale distance expressed in + * metrics units to device subpixels. This is equivalent to + * `face->size->x_scale`, but for metrics only. Optional (parameter + * can be `NULL`). + * + * ametrics_y_scale :: + * Same as `ametrics_x_scale` but for the vertical direction. + * optional (parameter can be `NULL`). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If the input face is not a PFR, this function will return an error. + * However, in all cases, it will return valid values. + */ + FT_EXPORT( FT_Error ) + FT_Get_PFR_Metrics( FT_Face face, + FT_UInt *aoutline_resolution, + FT_UInt *ametrics_resolution, + FT_Fixed *ametrics_x_scale, + FT_Fixed *ametrics_y_scale ); + + + /************************************************************************** + * + * @function: + * FT_Get_PFR_Kerning + * + * @description: + * Return the kerning pair corresponding to two glyphs in a PFR face. + * The distance is expressed in metrics units, unlike the result of + * @FT_Get_Kerning. + * + * @input: + * face :: + * A handle to the input face. + * + * left :: + * Index of the left glyph. + * + * right :: + * Index of the right glyph. + * + * @output: + * avector :: + * A kerning vector. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function always return distances in original PFR metrics units. + * This is unlike @FT_Get_Kerning with the @FT_KERNING_UNSCALED mode, + * which always returns distances converted to outline units. + * + * You can use the value of the `x_scale` and `y_scale` parameters + * returned by @FT_Get_PFR_Metrics to scale these to device subpixels. + */ + FT_EXPORT( FT_Error ) + FT_Get_PFR_Kerning( FT_Face face, + FT_UInt left, + FT_UInt right, + FT_Vector *avector ); + + + /************************************************************************** + * + * @function: + * FT_Get_PFR_Advance + * + * @description: + * Return a given glyph advance, expressed in original metrics units, + * from a PFR font. + * + * @input: + * face :: + * A handle to the input face. + * + * gindex :: + * The glyph index. + * + * @output: + * aadvance :: + * The glyph advance in metrics units. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You can use the `x_scale` or `y_scale` results of @FT_Get_PFR_Metrics + * to convert the advance to device subpixels (i.e., 1/64 of pixels). + */ + FT_EXPORT( FT_Error ) + FT_Get_PFR_Advance( FT_Face face, + FT_UInt gindex, + FT_Pos *aadvance ); + + /* */ + + +FT_END_HEADER + +#endif /* FTPFR_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftrender.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftrender.h new file mode 100644 index 0000000..0b6fad3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftrender.h @@ -0,0 +1,244 @@ +/**************************************************************************** + * + * ftrender.h + * + * FreeType renderer modules public interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTRENDER_H_ +#define FTRENDER_H_ + + +#include +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * module_management + * + */ + + + /* create a new glyph object */ + typedef FT_Error + (*FT_Glyph_InitFunc)( FT_Glyph glyph, + FT_GlyphSlot slot ); + + /* destroys a given glyph object */ + typedef void + (*FT_Glyph_DoneFunc)( FT_Glyph glyph ); + + typedef void + (*FT_Glyph_TransformFunc)( FT_Glyph glyph, + const FT_Matrix* matrix, + const FT_Vector* delta ); + + typedef void + (*FT_Glyph_GetBBoxFunc)( FT_Glyph glyph, + FT_BBox* abbox ); + + typedef FT_Error + (*FT_Glyph_CopyFunc)( FT_Glyph source, + FT_Glyph target ); + + typedef FT_Error + (*FT_Glyph_PrepareFunc)( FT_Glyph glyph, + FT_GlyphSlot slot ); + +/* deprecated */ +#define FT_Glyph_Init_Func FT_Glyph_InitFunc +#define FT_Glyph_Done_Func FT_Glyph_DoneFunc +#define FT_Glyph_Transform_Func FT_Glyph_TransformFunc +#define FT_Glyph_BBox_Func FT_Glyph_GetBBoxFunc +#define FT_Glyph_Copy_Func FT_Glyph_CopyFunc +#define FT_Glyph_Prepare_Func FT_Glyph_PrepareFunc + + + struct FT_Glyph_Class_ + { + FT_Long glyph_size; + FT_Glyph_Format glyph_format; + + FT_Glyph_InitFunc glyph_init; + FT_Glyph_DoneFunc glyph_done; + FT_Glyph_CopyFunc glyph_copy; + FT_Glyph_TransformFunc glyph_transform; + FT_Glyph_GetBBoxFunc glyph_bbox; + FT_Glyph_PrepareFunc glyph_prepare; + }; + + + typedef FT_Error + (*FT_Renderer_RenderFunc)( FT_Renderer renderer, + FT_GlyphSlot slot, + FT_Render_Mode mode, + const FT_Vector* origin ); + + typedef FT_Error + (*FT_Renderer_TransformFunc)( FT_Renderer renderer, + FT_GlyphSlot slot, + const FT_Matrix* matrix, + const FT_Vector* delta ); + + + typedef void + (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer, + FT_GlyphSlot slot, + FT_BBox* cbox ); + + + typedef FT_Error + (*FT_Renderer_SetModeFunc)( FT_Renderer renderer, + FT_ULong mode_tag, + FT_Pointer mode_ptr ); + +/* deprecated identifiers */ +#define FTRenderer_render FT_Renderer_RenderFunc +#define FTRenderer_transform FT_Renderer_TransformFunc +#define FTRenderer_getCBox FT_Renderer_GetCBoxFunc +#define FTRenderer_setMode FT_Renderer_SetModeFunc + + + /************************************************************************** + * + * @struct: + * FT_Renderer_Class + * + * @description: + * The renderer module class descriptor. + * + * @fields: + * root :: + * The root @FT_Module_Class fields. + * + * glyph_format :: + * The glyph image format this renderer handles. + * + * render_glyph :: + * A method used to render the image that is in a given glyph slot into + * a bitmap. + * + * transform_glyph :: + * A method used to transform the image that is in a given glyph slot. + * + * get_glyph_cbox :: + * A method used to access the glyph's cbox. + * + * set_mode :: + * A method used to pass additional parameters. + * + * raster_class :: + * For @FT_GLYPH_FORMAT_OUTLINE renderers only. This is a pointer to + * its raster's class. + */ + typedef struct FT_Renderer_Class_ + { + FT_Module_Class root; + + FT_Glyph_Format glyph_format; + + FT_Renderer_RenderFunc render_glyph; + FT_Renderer_TransformFunc transform_glyph; + FT_Renderer_GetCBoxFunc get_glyph_cbox; + FT_Renderer_SetModeFunc set_mode; + + const FT_Raster_Funcs* raster_class; + + } FT_Renderer_Class; + + + /************************************************************************** + * + * @function: + * FT_Get_Renderer + * + * @description: + * Retrieve the current renderer for a given glyph format. + * + * @input: + * library :: + * A handle to the library object. + * + * format :: + * The glyph format. + * + * @return: + * A renderer handle. 0~if none found. + * + * @note: + * An error will be returned if a module already exists by that name, or + * if the module requires a version of FreeType that is too great. + * + * To add a new renderer, simply use @FT_Add_Module. To retrieve a + * renderer by its name, use @FT_Get_Module. + */ + FT_EXPORT( FT_Renderer ) + FT_Get_Renderer( FT_Library library, + FT_Glyph_Format format ); + + + /************************************************************************** + * + * @function: + * FT_Set_Renderer + * + * @description: + * Set the current renderer to use, and set additional mode. + * + * @inout: + * library :: + * A handle to the library object. + * + * @input: + * renderer :: + * A handle to the renderer object. + * + * num_params :: + * The number of additional parameters. + * + * parameters :: + * Additional parameters. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * In case of success, the renderer will be used to convert glyph images + * in the renderer's known format into bitmaps. + * + * This doesn't change the current renderer for other formats. + * + * Currently, no FreeType renderer module uses `parameters`; you should + * thus always pass `NULL` as the value. + */ + FT_EXPORT( FT_Error ) + FT_Set_Renderer( FT_Library library, + FT_Renderer renderer, + FT_UInt num_params, + FT_Parameter* parameters ); + + /* */ + + +FT_END_HEADER + +#endif /* FTRENDER_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsizes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsizes.h new file mode 100644 index 0000000..7bfb1ae --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsizes.h @@ -0,0 +1,159 @@ +/**************************************************************************** + * + * ftsizes.h + * + * FreeType size objects management (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * Typical application would normally not need to use these functions. + * However, they have been placed in a public API for the rare cases where + * they are needed. + * + */ + + +#ifndef FTSIZES_H_ +#define FTSIZES_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * sizes_management + * + * @title: + * Size Management + * + * @abstract: + * Managing multiple sizes per face. + * + * @description: + * When creating a new face object (e.g., with @FT_New_Face), an @FT_Size + * object is automatically created and used to store all pixel-size + * dependent information, available in the `face->size` field. + * + * It is however possible to create more sizes for a given face, mostly + * in order to manage several character pixel sizes of the same font + * family and style. See @FT_New_Size and @FT_Done_Size. + * + * Note that @FT_Set_Pixel_Sizes and @FT_Set_Char_Size only modify the + * contents of the current 'active' size; you thus need to use + * @FT_Activate_Size to change it. + * + * 99% of applications won't need the functions provided here, especially + * if they use the caching sub-system, so be cautious when using these. + * + */ + + + /************************************************************************** + * + * @function: + * FT_New_Size + * + * @description: + * Create a new size object from a given face object. + * + * @input: + * face :: + * A handle to a parent face object. + * + * @output: + * asize :: + * A handle to a new size object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You need to call @FT_Activate_Size in order to select the new size for + * upcoming calls to @FT_Set_Pixel_Sizes, @FT_Set_Char_Size, + * @FT_Load_Glyph, @FT_Load_Char, etc. + */ + FT_EXPORT( FT_Error ) + FT_New_Size( FT_Face face, + FT_Size* size ); + + + /************************************************************************** + * + * @function: + * FT_Done_Size + * + * @description: + * Discard a given size object. Note that @FT_Done_Face automatically + * discards all size objects allocated with @FT_New_Size. + * + * @input: + * size :: + * A handle to a target size object. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Done_Size( FT_Size size ); + + + /************************************************************************** + * + * @function: + * FT_Activate_Size + * + * @description: + * Even though it is possible to create several size objects for a given + * face (see @FT_New_Size for details), functions like @FT_Load_Glyph or + * @FT_Load_Char only use the one that has been activated last to + * determine the 'current character pixel size'. + * + * This function can be used to 'activate' a previously created size + * object. + * + * @input: + * size :: + * A handle to a target size object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If `face` is the size's parent face object, this function changes the + * value of `face->size` to the input size handle. + */ + FT_EXPORT( FT_Error ) + FT_Activate_Size( FT_Size size ); + + /* */ + + +FT_END_HEADER + +#endif /* FTSIZES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsnames.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsnames.h new file mode 100644 index 0000000..9d5d22b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsnames.h @@ -0,0 +1,272 @@ +/**************************************************************************** + * + * ftsnames.h + * + * Simple interface to access SFNT 'name' tables (which are used + * to hold font names, copyright info, notices, etc.) (specification). + * + * This is _not_ used to retrieve glyph names! + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTSNAMES_H_ +#define FTSNAMES_H_ + + +#include +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * sfnt_names + * + * @title: + * SFNT Names + * + * @abstract: + * Access the names embedded in TrueType and OpenType files. + * + * @description: + * The TrueType and OpenType specifications allow the inclusion of a + * special names table ('name') in font files. This table contains + * textual (and internationalized) information regarding the font, like + * family name, copyright, version, etc. + * + * The definitions below are used to access them if available. + * + * Note that this has nothing to do with glyph names! + * + */ + + + /************************************************************************** + * + * @struct: + * FT_SfntName + * + * @description: + * A structure used to model an SFNT 'name' table entry. + * + * @fields: + * platform_id :: + * The platform ID for `string`. See @TT_PLATFORM_XXX for possible + * values. + * + * encoding_id :: + * The encoding ID for `string`. See @TT_APPLE_ID_XXX, @TT_MAC_ID_XXX, + * @TT_ISO_ID_XXX, @TT_MS_ID_XXX, and @TT_ADOBE_ID_XXX for possible + * values. + * + * language_id :: + * The language ID for `string`. See @TT_MAC_LANGID_XXX and + * @TT_MS_LANGID_XXX for possible values. + * + * Registered OpenType values for `language_id` are always smaller than + * 0x8000; values equal or larger than 0x8000 usually indicate a + * language tag string (introduced in OpenType version 1.6). Use + * function @FT_Get_Sfnt_LangTag with `language_id` as its argument to + * retrieve the associated language tag. + * + * name_id :: + * An identifier for `string`. See @TT_NAME_ID_XXX for possible + * values. + * + * string :: + * The 'name' string. Note that its format differs depending on the + * (platform,encoding) pair, being either a string of bytes (without a + * terminating `NULL` byte) or containing UTF-16BE entities. + * + * string_len :: + * The length of `string` in bytes. + * + * @note: + * Please refer to the TrueType or OpenType specification for more + * details. + */ + typedef struct FT_SfntName_ + { + FT_UShort platform_id; + FT_UShort encoding_id; + FT_UShort language_id; + FT_UShort name_id; + + FT_Byte* string; /* this string is *not* null-terminated! */ + FT_UInt string_len; /* in bytes */ + + } FT_SfntName; + + + /************************************************************************** + * + * @function: + * FT_Get_Sfnt_Name_Count + * + * @description: + * Retrieve the number of name strings in the SFNT 'name' table. + * + * @input: + * face :: + * A handle to the source face. + * + * @return: + * The number of strings in the 'name' table. + * + * @note: + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_SFNT_NAMES` is not defined in `ftoption.h`. + */ + FT_EXPORT( FT_UInt ) + FT_Get_Sfnt_Name_Count( FT_Face face ); + + + /************************************************************************** + * + * @function: + * FT_Get_Sfnt_Name + * + * @description: + * Retrieve a string of the SFNT 'name' table for a given index. + * + * @input: + * face :: + * A handle to the source face. + * + * idx :: + * The index of the 'name' string. + * + * @output: + * aname :: + * The indexed @FT_SfntName structure. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The `string` array returned in the `aname` structure is not + * null-terminated. Note that you don't have to deallocate `string` by + * yourself; FreeType takes care of it if you call @FT_Done_Face. + * + * Use @FT_Get_Sfnt_Name_Count to get the total number of available + * 'name' table entries, then do a loop until you get the right platform, + * encoding, and name ID. + * + * 'name' table format~1 entries can use language tags also, see + * @FT_Get_Sfnt_LangTag. + * + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_SFNT_NAMES` is not defined in `ftoption.h`. + */ + FT_EXPORT( FT_Error ) + FT_Get_Sfnt_Name( FT_Face face, + FT_UInt idx, + FT_SfntName *aname ); + + + /************************************************************************** + * + * @struct: + * FT_SfntLangTag + * + * @description: + * A structure to model a language tag entry from an SFNT 'name' table. + * + * @fields: + * string :: + * The language tag string, encoded in UTF-16BE (without trailing + * `NULL` bytes). + * + * string_len :: + * The length of `string` in **bytes**. + * + * @note: + * Please refer to the TrueType or OpenType specification for more + * details. + * + * @since: + * 2.8 + */ + typedef struct FT_SfntLangTag_ + { + FT_Byte* string; /* this string is *not* null-terminated! */ + FT_UInt string_len; /* in bytes */ + + } FT_SfntLangTag; + + + /************************************************************************** + * + * @function: + * FT_Get_Sfnt_LangTag + * + * @description: + * Retrieve the language tag associated with a language ID of an SFNT + * 'name' table entry. + * + * @input: + * face :: + * A handle to the source face. + * + * langID :: + * The language ID, as returned by @FT_Get_Sfnt_Name. This is always a + * value larger than 0x8000. + * + * @output: + * alangTag :: + * The language tag associated with the 'name' table entry's language + * ID. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The `string` array returned in the `alangTag` structure is not + * null-terminated. Note that you don't have to deallocate `string` by + * yourself; FreeType takes care of it if you call @FT_Done_Face. + * + * Only 'name' table format~1 supports language tags. For format~0 + * tables, this function always returns FT_Err_Invalid_Table. For + * invalid format~1 language ID values, FT_Err_Invalid_Argument is + * returned. + * + * This function always returns an error if the config macro + * `TT_CONFIG_OPTION_SFNT_NAMES` is not defined in `ftoption.h`. + * + * @since: + * 2.8 + */ + FT_EXPORT( FT_Error ) + FT_Get_Sfnt_LangTag( FT_Face face, + FT_UInt langID, + FT_SfntLangTag *alangTag ); + + + /* */ + + +FT_END_HEADER + +#endif /* FTSNAMES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftstroke.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftstroke.h new file mode 100644 index 0000000..b3d9080 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftstroke.h @@ -0,0 +1,773 @@ +/**************************************************************************** + * + * ftstroke.h + * + * FreeType path stroker (specification). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTSTROKE_H_ +#define FTSTROKE_H_ + +#include +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * glyph_stroker + * + * @title: + * Glyph Stroker + * + * @abstract: + * Generating bordered and stroked glyphs. + * + * @description: + * This component generates stroked outlines of a given vectorial glyph. + * It also allows you to retrieve the 'outside' and/or the 'inside' + * borders of the stroke. + * + * This can be useful to generate 'bordered' glyph, i.e., glyphs + * displayed with a colored (and anti-aliased) border around their + * shape. + * + * @order: + * FT_Stroker + * + * FT_Stroker_LineJoin + * FT_Stroker_LineCap + * FT_StrokerBorder + * + * FT_Outline_GetInsideBorder + * FT_Outline_GetOutsideBorder + * + * FT_Glyph_Stroke + * FT_Glyph_StrokeBorder + * + * FT_Stroker_New + * FT_Stroker_Set + * FT_Stroker_Rewind + * FT_Stroker_ParseOutline + * FT_Stroker_Done + * + * FT_Stroker_BeginSubPath + * FT_Stroker_EndSubPath + * + * FT_Stroker_LineTo + * FT_Stroker_ConicTo + * FT_Stroker_CubicTo + * + * FT_Stroker_GetBorderCounts + * FT_Stroker_ExportBorder + * FT_Stroker_GetCounts + * FT_Stroker_Export + * + */ + + + /************************************************************************** + * + * @type: + * FT_Stroker + * + * @description: + * Opaque handle to a path stroker object. + */ + typedef struct FT_StrokerRec_* FT_Stroker; + + + /************************************************************************** + * + * @enum: + * FT_Stroker_LineJoin + * + * @description: + * These values determine how two joining lines are rendered in a + * stroker. + * + * @values: + * FT_STROKER_LINEJOIN_ROUND :: + * Used to render rounded line joins. Circular arcs are used to join + * two lines smoothly. + * + * FT_STROKER_LINEJOIN_BEVEL :: + * Used to render beveled line joins. The outer corner of the joined + * lines is filled by enclosing the triangular region of the corner + * with a straight line between the outer corners of each stroke. + * + * FT_STROKER_LINEJOIN_MITER_FIXED :: + * Used to render mitered line joins, with fixed bevels if the miter + * limit is exceeded. The outer edges of the strokes for the two + * segments are extended until they meet at an angle. A bevel join + * (see above) is used if the segments meet at too sharp an angle and + * the outer edges meet beyond a distance corresponding to the meter + * limit. This prevents long spikes being created. + * `FT_STROKER_LINEJOIN_MITER_FIXED` generates a miter line join as + * used in PostScript and PDF. + * + * FT_STROKER_LINEJOIN_MITER_VARIABLE :: + * FT_STROKER_LINEJOIN_MITER :: + * Used to render mitered line joins, with variable bevels if the miter + * limit is exceeded. The intersection of the strokes is clipped + * perpendicularly to the bisector, at a distance corresponding to + * the miter limit. This prevents long spikes being created. + * `FT_STROKER_LINEJOIN_MITER_VARIABLE` generates a mitered line join + * as used in XPS. `FT_STROKER_LINEJOIN_MITER` is an alias for + * `FT_STROKER_LINEJOIN_MITER_VARIABLE`, retained for backward + * compatibility. + */ + typedef enum FT_Stroker_LineJoin_ + { + FT_STROKER_LINEJOIN_ROUND = 0, + FT_STROKER_LINEJOIN_BEVEL = 1, + FT_STROKER_LINEJOIN_MITER_VARIABLE = 2, + FT_STROKER_LINEJOIN_MITER = FT_STROKER_LINEJOIN_MITER_VARIABLE, + FT_STROKER_LINEJOIN_MITER_FIXED = 3 + + } FT_Stroker_LineJoin; + + + /************************************************************************** + * + * @enum: + * FT_Stroker_LineCap + * + * @description: + * These values determine how the end of opened sub-paths are rendered in + * a stroke. + * + * @values: + * FT_STROKER_LINECAP_BUTT :: + * The end of lines is rendered as a full stop on the last point + * itself. + * + * FT_STROKER_LINECAP_ROUND :: + * The end of lines is rendered as a half-circle around the last point. + * + * FT_STROKER_LINECAP_SQUARE :: + * The end of lines is rendered as a square around the last point. + */ + typedef enum FT_Stroker_LineCap_ + { + FT_STROKER_LINECAP_BUTT = 0, + FT_STROKER_LINECAP_ROUND, + FT_STROKER_LINECAP_SQUARE + + } FT_Stroker_LineCap; + + + /************************************************************************** + * + * @enum: + * FT_StrokerBorder + * + * @description: + * These values are used to select a given stroke border in + * @FT_Stroker_GetBorderCounts and @FT_Stroker_ExportBorder. + * + * @values: + * FT_STROKER_BORDER_LEFT :: + * Select the left border, relative to the drawing direction. + * + * FT_STROKER_BORDER_RIGHT :: + * Select the right border, relative to the drawing direction. + * + * @note: + * Applications are generally interested in the 'inside' and 'outside' + * borders. However, there is no direct mapping between these and the + * 'left' and 'right' ones, since this really depends on the glyph's + * drawing orientation, which varies between font formats. + * + * You can however use @FT_Outline_GetInsideBorder and + * @FT_Outline_GetOutsideBorder to get these. + */ + typedef enum FT_StrokerBorder_ + { + FT_STROKER_BORDER_LEFT = 0, + FT_STROKER_BORDER_RIGHT + + } FT_StrokerBorder; + + + /************************************************************************** + * + * @function: + * FT_Outline_GetInsideBorder + * + * @description: + * Retrieve the @FT_StrokerBorder value corresponding to the 'inside' + * borders of a given outline. + * + * @input: + * outline :: + * The source outline handle. + * + * @return: + * The border index. @FT_STROKER_BORDER_RIGHT for empty or invalid + * outlines. + */ + FT_EXPORT( FT_StrokerBorder ) + FT_Outline_GetInsideBorder( FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Outline_GetOutsideBorder + * + * @description: + * Retrieve the @FT_StrokerBorder value corresponding to the 'outside' + * borders of a given outline. + * + * @input: + * outline :: + * The source outline handle. + * + * @return: + * The border index. @FT_STROKER_BORDER_LEFT for empty or invalid + * outlines. + */ + FT_EXPORT( FT_StrokerBorder ) + FT_Outline_GetOutsideBorder( FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_New + * + * @description: + * Create a new stroker object. + * + * @input: + * library :: + * FreeType library handle. + * + * @output: + * astroker :: + * A new stroker object handle. `NULL` in case of error. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_New( FT_Library library, + FT_Stroker *astroker ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_Set + * + * @description: + * Reset a stroker object's attributes. + * + * @input: + * stroker :: + * The target stroker handle. + * + * radius :: + * The border radius. + * + * line_cap :: + * The line cap style. + * + * line_join :: + * The line join style. + * + * miter_limit :: + * The maximum reciprocal sine of half-angle at the miter join, + * expressed as 16.16 fixed-point value. + * + * @note: + * The `radius` is expressed in the same units as the outline + * coordinates. + * + * The `miter_limit` multiplied by the `radius` gives the maximum size + * of a miter spike, at which it is clipped for + * @FT_STROKER_LINEJOIN_MITER_VARIABLE or replaced with a bevel join for + * @FT_STROKER_LINEJOIN_MITER_FIXED. + * + * This function calls @FT_Stroker_Rewind automatically. + */ + FT_EXPORT( void ) + FT_Stroker_Set( FT_Stroker stroker, + FT_Fixed radius, + FT_Stroker_LineCap line_cap, + FT_Stroker_LineJoin line_join, + FT_Fixed miter_limit ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_Rewind + * + * @description: + * Reset a stroker object without changing its attributes. You should + * call this function before beginning a new series of calls to + * @FT_Stroker_BeginSubPath or @FT_Stroker_EndSubPath. + * + * @input: + * stroker :: + * The target stroker handle. + */ + FT_EXPORT( void ) + FT_Stroker_Rewind( FT_Stroker stroker ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_ParseOutline + * + * @description: + * A convenience function used to parse a whole outline with the stroker. + * The resulting outline(s) can be retrieved later by functions like + * @FT_Stroker_GetCounts and @FT_Stroker_Export. + * + * @input: + * stroker :: + * The target stroker handle. + * + * outline :: + * The source outline. + * + * opened :: + * A boolean. If~1, the outline is treated as an open path instead of + * a closed one. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If `opened` is~0 (the default), the outline is treated as a closed + * path, and the stroker generates two distinct 'border' outlines. + * + * If `opened` is~1, the outline is processed as an open path, and the + * stroker generates a single 'stroke' outline. + * + * This function calls @FT_Stroker_Rewind automatically. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_ParseOutline( FT_Stroker stroker, + FT_Outline* outline, + FT_Bool opened ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_BeginSubPath + * + * @description: + * Start a new sub-path in the stroker. + * + * @input: + * stroker :: + * The target stroker handle. + * + * to :: + * A pointer to the start vector. + * + * open :: + * A boolean. If~1, the sub-path is treated as an open one. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function is useful when you need to stroke a path that is not + * stored as an @FT_Outline object. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_BeginSubPath( FT_Stroker stroker, + FT_Vector* to, + FT_Bool open ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_EndSubPath + * + * @description: + * Close the current sub-path in the stroker. + * + * @input: + * stroker :: + * The target stroker handle. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You should call this function after @FT_Stroker_BeginSubPath. If the + * subpath was not 'opened', this function 'draws' a single line segment + * to the start position when needed. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_EndSubPath( FT_Stroker stroker ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_LineTo + * + * @description: + * 'Draw' a single line segment in the stroker's current sub-path, from + * the last position. + * + * @input: + * stroker :: + * The target stroker handle. + * + * to :: + * A pointer to the destination point. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You should call this function between @FT_Stroker_BeginSubPath and + * @FT_Stroker_EndSubPath. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_LineTo( FT_Stroker stroker, + FT_Vector* to ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_ConicTo + * + * @description: + * 'Draw' a single quadratic Bezier in the stroker's current sub-path, + * from the last position. + * + * @input: + * stroker :: + * The target stroker handle. + * + * control :: + * A pointer to a Bezier control point. + * + * to :: + * A pointer to the destination point. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You should call this function between @FT_Stroker_BeginSubPath and + * @FT_Stroker_EndSubPath. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_ConicTo( FT_Stroker stroker, + FT_Vector* control, + FT_Vector* to ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_CubicTo + * + * @description: + * 'Draw' a single cubic Bezier in the stroker's current sub-path, from + * the last position. + * + * @input: + * stroker :: + * The target stroker handle. + * + * control1 :: + * A pointer to the first Bezier control point. + * + * control2 :: + * A pointer to second Bezier control point. + * + * to :: + * A pointer to the destination point. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * You should call this function between @FT_Stroker_BeginSubPath and + * @FT_Stroker_EndSubPath. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_CubicTo( FT_Stroker stroker, + FT_Vector* control1, + FT_Vector* control2, + FT_Vector* to ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_GetBorderCounts + * + * @description: + * Call this function once you have finished parsing your paths with the + * stroker. It returns the number of points and contours necessary to + * export one of the 'border' or 'stroke' outlines generated by the + * stroker. + * + * @input: + * stroker :: + * The target stroker handle. + * + * border :: + * The border index. + * + * @output: + * anum_points :: + * The number of points. + * + * anum_contours :: + * The number of contours. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * When an outline, or a sub-path, is 'closed', the stroker generates two + * independent 'border' outlines, named 'left' and 'right'. + * + * When the outline, or a sub-path, is 'opened', the stroker merges the + * 'border' outlines with caps. The 'left' border receives all points, + * while the 'right' border becomes empty. + * + * Use the function @FT_Stroker_GetCounts instead if you want to retrieve + * the counts associated to both borders. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_GetBorderCounts( FT_Stroker stroker, + FT_StrokerBorder border, + FT_UInt *anum_points, + FT_UInt *anum_contours ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_ExportBorder + * + * @description: + * Call this function after @FT_Stroker_GetBorderCounts to export the + * corresponding border to your own @FT_Outline structure. + * + * Note that this function appends the border points and contours to your + * outline, but does not try to resize its arrays. + * + * @input: + * stroker :: + * The target stroker handle. + * + * border :: + * The border index. + * + * outline :: + * The target outline handle. + * + * @note: + * Always call this function after @FT_Stroker_GetBorderCounts to get + * sure that there is enough room in your @FT_Outline object to receive + * all new data. + * + * When an outline, or a sub-path, is 'closed', the stroker generates two + * independent 'border' outlines, named 'left' and 'right'. + * + * When the outline, or a sub-path, is 'opened', the stroker merges the + * 'border' outlines with caps. The 'left' border receives all points, + * while the 'right' border becomes empty. + * + * Use the function @FT_Stroker_Export instead if you want to retrieve + * all borders at once. + */ + FT_EXPORT( void ) + FT_Stroker_ExportBorder( FT_Stroker stroker, + FT_StrokerBorder border, + FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_GetCounts + * + * @description: + * Call this function once you have finished parsing your paths with the + * stroker. It returns the number of points and contours necessary to + * export all points/borders from the stroked outline/path. + * + * @input: + * stroker :: + * The target stroker handle. + * + * @output: + * anum_points :: + * The number of points. + * + * anum_contours :: + * The number of contours. + * + * @return: + * FreeType error code. 0~means success. + */ + FT_EXPORT( FT_Error ) + FT_Stroker_GetCounts( FT_Stroker stroker, + FT_UInt *anum_points, + FT_UInt *anum_contours ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_Export + * + * @description: + * Call this function after @FT_Stroker_GetBorderCounts to export all + * borders to your own @FT_Outline structure. + * + * Note that this function appends the border points and contours to your + * outline, but does not try to resize its arrays. + * + * @input: + * stroker :: + * The target stroker handle. + * + * outline :: + * The target outline handle. + */ + FT_EXPORT( void ) + FT_Stroker_Export( FT_Stroker stroker, + FT_Outline* outline ); + + + /************************************************************************** + * + * @function: + * FT_Stroker_Done + * + * @description: + * Destroy a stroker object. + * + * @input: + * stroker :: + * A stroker handle. Can be `NULL`. + */ + FT_EXPORT( void ) + FT_Stroker_Done( FT_Stroker stroker ); + + + /************************************************************************** + * + * @function: + * FT_Glyph_Stroke + * + * @description: + * Stroke a given outline glyph object with a given stroker. + * + * @inout: + * pglyph :: + * Source glyph handle on input, new glyph handle on output. + * + * @input: + * stroker :: + * A stroker handle. + * + * destroy :: + * A Boolean. If~1, the source glyph object is destroyed on success. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The source glyph is untouched in case of error. + * + * Adding stroke may yield a significantly wider and taller glyph + * depending on how large of a radius was used to stroke the glyph. You + * may need to manually adjust horizontal and vertical advance amounts to + * account for this added size. + */ + FT_EXPORT( FT_Error ) + FT_Glyph_Stroke( FT_Glyph *pglyph, + FT_Stroker stroker, + FT_Bool destroy ); + + + /************************************************************************** + * + * @function: + * FT_Glyph_StrokeBorder + * + * @description: + * Stroke a given outline glyph object with a given stroker, but only + * return either its inside or outside border. + * + * @inout: + * pglyph :: + * Source glyph handle on input, new glyph handle on output. + * + * @input: + * stroker :: + * A stroker handle. + * + * inside :: + * A Boolean. If~1, return the inside border, otherwise the outside + * border. + * + * destroy :: + * A Boolean. If~1, the source glyph object is destroyed on success. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The source glyph is untouched in case of error. + * + * Adding stroke may yield a significantly wider and taller glyph + * depending on how large of a radius was used to stroke the glyph. You + * may need to manually adjust horizontal and vertical advance amounts to + * account for this added size. + */ + FT_EXPORT( FT_Error ) + FT_Glyph_StrokeBorder( FT_Glyph *pglyph, + FT_Stroker stroker, + FT_Bool inside, + FT_Bool destroy ); + + /* */ + +FT_END_HEADER + +#endif /* FTSTROKE_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsynth.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsynth.h new file mode 100644 index 0000000..af90967 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsynth.h @@ -0,0 +1,104 @@ +/**************************************************************************** + * + * ftsynth.h + * + * FreeType synthesizing code for emboldening and slanting + * (specification). + * + * Copyright (C) 2000-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /********* *********/ + /********* WARNING, THIS IS ALPHA CODE! THIS API *********/ + /********* IS DUE TO CHANGE UNTIL STRICTLY NOTIFIED BY THE *********/ + /********* FREETYPE DEVELOPMENT TEAM *********/ + /********* *********/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /* Main reason for not lifting the functions in this module to a */ + /* 'standard' API is that the used parameters for emboldening and */ + /* slanting are not configurable. Consider the functions as a */ + /* code resource that should be copied into the application and */ + /* adapted to the particular needs. */ + + +#ifndef FTSYNTH_H_ +#define FTSYNTH_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /* Embolden a glyph by a 'reasonable' value (which is highly a matter of */ + /* taste). This function is actually a convenience function, providing */ + /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden. */ + /* */ + /* For emboldened outlines the height, width, and advance metrics are */ + /* increased by the strength of the emboldening -- this even affects */ + /* mono-width fonts! */ + /* */ + /* You can also call @FT_Outline_Get_CBox to get precise values. */ + FT_EXPORT( void ) + FT_GlyphSlot_Embolden( FT_GlyphSlot slot ); + + /* Precisely adjust the glyph weight either horizontally or vertically. */ + /* The `xdelta` and `ydelta` values are fractions of the face Em size */ + /* (in fixed-point format). Considering that a regular face would have */ + /* stem widths on the order of 0.1 Em, a delta of 0.05 (0x0CCC) should */ + /* be very noticeable. To increase or decrease the weight, use positive */ + /* or negative values, respectively. */ + FT_EXPORT( void ) + FT_GlyphSlot_AdjustWeight( FT_GlyphSlot slot, + FT_Fixed xdelta, + FT_Fixed ydelta ); + + + /* Slant an outline glyph to the right by about 12 degrees. */ + FT_EXPORT( void ) + FT_GlyphSlot_Oblique( FT_GlyphSlot slot ); + + /* Slant an outline glyph by a given sine of an angle. You can apply */ + /* slant along either x- or y-axis by choosing a corresponding non-zero */ + /* argument. If both slants are non-zero, some affine transformation */ + /* will result. */ + FT_EXPORT( void ) + FT_GlyphSlot_Slant( FT_GlyphSlot slot, + FT_Fixed xslant, + FT_Fixed yslant ); + + /* */ + + +FT_END_HEADER + +#endif /* FTSYNTH_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsystem.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsystem.h new file mode 100644 index 0000000..3a08f49 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftsystem.h @@ -0,0 +1,350 @@ +/**************************************************************************** + * + * ftsystem.h + * + * FreeType low-level system interface definition (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTSYSTEM_H_ +#define FTSYSTEM_H_ + + + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * system_interface + * + * @title: + * System Interface + * + * @abstract: + * How FreeType manages memory and i/o. + * + * @description: + * This section contains various definitions related to memory management + * and i/o access. You need to understand this information if you want to + * use a custom memory manager or you own i/o streams. + * + */ + + + /************************************************************************** + * + * M E M O R Y M A N A G E M E N T + * + */ + + + /************************************************************************** + * + * @type: + * FT_Memory + * + * @description: + * A handle to a given memory manager object, defined with an + * @FT_MemoryRec structure. + * + */ + typedef struct FT_MemoryRec_* FT_Memory; + + + /************************************************************************** + * + * @functype: + * FT_Alloc_Func + * + * @description: + * A function used to allocate `size` bytes from `memory`. + * + * @input: + * memory :: + * A handle to the source memory manager. + * + * size :: + * The size in bytes to allocate. + * + * @return: + * Address of new memory block. 0~in case of failure. + * + */ + typedef void* + (*FT_Alloc_Func)( FT_Memory memory, + long size ); + + + /************************************************************************** + * + * @functype: + * FT_Free_Func + * + * @description: + * A function used to release a given block of memory. + * + * @input: + * memory :: + * A handle to the source memory manager. + * + * block :: + * The address of the target memory block. + * + */ + typedef void + (*FT_Free_Func)( FT_Memory memory, + void* block ); + + + /************************************************************************** + * + * @functype: + * FT_Realloc_Func + * + * @description: + * A function used to re-allocate a given block of memory. + * + * @input: + * memory :: + * A handle to the source memory manager. + * + * cur_size :: + * The block's current size in bytes. + * + * new_size :: + * The block's requested new size. + * + * block :: + * The block's current address. + * + * @return: + * New block address. 0~in case of memory shortage. + * + * @note: + * In case of error, the old block must still be available. + * + */ + typedef void* + (*FT_Realloc_Func)( FT_Memory memory, + long cur_size, + long new_size, + void* block ); + + + /************************************************************************** + * + * @struct: + * FT_MemoryRec + * + * @description: + * A structure used to describe a given memory manager to FreeType~2. + * + * @fields: + * user :: + * A generic typeless pointer for user data. + * + * alloc :: + * A pointer type to an allocation function. + * + * free :: + * A pointer type to an memory freeing function. + * + * realloc :: + * A pointer type to a reallocation function. + * + */ + struct FT_MemoryRec_ + { + void* user; + FT_Alloc_Func alloc; + FT_Free_Func free; + FT_Realloc_Func realloc; + }; + + + /************************************************************************** + * + * I / O M A N A G E M E N T + * + */ + + + /************************************************************************** + * + * @type: + * FT_Stream + * + * @description: + * A handle to an input stream. + * + * @also: + * See @FT_StreamRec for the publicly accessible fields of a given stream + * object. + * + */ + typedef struct FT_StreamRec_* FT_Stream; + + + /************************************************************************** + * + * @struct: + * FT_StreamDesc + * + * @description: + * A union type used to store either a long or a pointer. This is used + * to store a file descriptor or a `FILE*` in an input stream. + * + */ + typedef union FT_StreamDesc_ + { + long value; + void* pointer; + + } FT_StreamDesc; + + + /************************************************************************** + * + * @functype: + * FT_Stream_IoFunc + * + * @description: + * A function used to seek and read data from a given input stream. + * + * @input: + * stream :: + * A handle to the source stream. + * + * offset :: + * The offset from the start of the stream to seek to. + * + * buffer :: + * The address of the read buffer. + * + * count :: + * The number of bytes to read from the stream. + * + * @return: + * If count >~0, return the number of bytes effectively read by the + * stream (after seeking to `offset`). If count ==~0, return the status + * of the seek operation (non-zero indicates an error). + * + */ + typedef unsigned long + (*FT_Stream_IoFunc)( FT_Stream stream, + unsigned long offset, + unsigned char* buffer, + unsigned long count ); + + + /************************************************************************** + * + * @functype: + * FT_Stream_CloseFunc + * + * @description: + * A function used to close a given input stream. + * + * @input: + * stream :: + * A handle to the target stream. + * + */ + typedef void + (*FT_Stream_CloseFunc)( FT_Stream stream ); + + + /************************************************************************** + * + * @struct: + * FT_StreamRec + * + * @description: + * A structure used to describe an input stream. + * + * @input: + * base :: + * For memory-based streams, this is the address of the first stream + * byte in memory. This field should always be set to `NULL` for + * disk-based streams. + * + * size :: + * The stream size in bytes. + * + * In case of compressed streams where the size is unknown before + * actually doing the decompression, the value is set to 0x7FFFFFFF. + * (Note that this size value can occur for normal streams also; it is + * thus just a hint.) + * + * pos :: + * The current position within the stream. + * + * descriptor :: + * This field is a union that can hold an integer or a pointer. It is + * used by stream implementations to store file descriptors or `FILE*` + * pointers. + * + * pathname :: + * This field is completely ignored by FreeType. However, it is often + * useful during debugging to use it to store the stream's filename + * (where available). + * + * read :: + * The stream's input function. + * + * close :: + * The stream's close function. + * + * memory :: + * The memory manager to use to preload frames. This is set internally + * by FreeType and shouldn't be touched by stream implementations. + * + * cursor :: + * This field is set and used internally by FreeType when parsing + * frames. In particular, the `FT_GET_XXX` macros use this instead of + * the `pos` field. + * + * limit :: + * This field is set and used internally by FreeType when parsing + * frames. + * + */ + typedef struct FT_StreamRec_ + { + unsigned char* base; + unsigned long size; + unsigned long pos; + + FT_StreamDesc descriptor; + FT_StreamDesc pathname; + FT_Stream_IoFunc read; + FT_Stream_CloseFunc close; + + FT_Memory memory; + unsigned char* cursor; + unsigned char* limit; + + } FT_StreamRec; + + /* */ + + +FT_END_HEADER + +#endif /* FTSYSTEM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttrigon.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttrigon.h new file mode 100644 index 0000000..294981a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttrigon.h @@ -0,0 +1,350 @@ +/**************************************************************************** + * + * fttrigon.h + * + * FreeType trigonometric functions (specification). + * + * Copyright (C) 2001-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTTRIGON_H_ +#define FTTRIGON_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * computations + * + */ + + + /************************************************************************** + * + * @type: + * FT_Angle + * + * @description: + * This type is used to model angle values in FreeType. Note that the + * angle is a 16.16 fixed-point value expressed in degrees. + * + */ + typedef FT_Fixed FT_Angle; + + + /************************************************************************** + * + * @macro: + * FT_ANGLE_PI + * + * @description: + * The angle pi expressed in @FT_Angle units. + * + */ +#define FT_ANGLE_PI ( 180L << 16 ) + + + /************************************************************************** + * + * @macro: + * FT_ANGLE_2PI + * + * @description: + * The angle 2*pi expressed in @FT_Angle units. + * + */ +#define FT_ANGLE_2PI ( FT_ANGLE_PI * 2 ) + + + /************************************************************************** + * + * @macro: + * FT_ANGLE_PI2 + * + * @description: + * The angle pi/2 expressed in @FT_Angle units. + * + */ +#define FT_ANGLE_PI2 ( FT_ANGLE_PI / 2 ) + + + /************************************************************************** + * + * @macro: + * FT_ANGLE_PI4 + * + * @description: + * The angle pi/4 expressed in @FT_Angle units. + * + */ +#define FT_ANGLE_PI4 ( FT_ANGLE_PI / 4 ) + + + /************************************************************************** + * + * @function: + * FT_Sin + * + * @description: + * Return the sinus of a given angle in fixed-point format. + * + * @input: + * angle :: + * The input angle. + * + * @return: + * The sinus value. + * + * @note: + * If you need both the sinus and cosinus for a given angle, use the + * function @FT_Vector_Unit. + * + */ + FT_EXPORT( FT_Fixed ) + FT_Sin( FT_Angle angle ); + + + /************************************************************************** + * + * @function: + * FT_Cos + * + * @description: + * Return the cosinus of a given angle in fixed-point format. + * + * @input: + * angle :: + * The input angle. + * + * @return: + * The cosinus value. + * + * @note: + * If you need both the sinus and cosinus for a given angle, use the + * function @FT_Vector_Unit. + * + */ + FT_EXPORT( FT_Fixed ) + FT_Cos( FT_Angle angle ); + + + /************************************************************************** + * + * @function: + * FT_Tan + * + * @description: + * Return the tangent of a given angle in fixed-point format. + * + * @input: + * angle :: + * The input angle. + * + * @return: + * The tangent value. + * + */ + FT_EXPORT( FT_Fixed ) + FT_Tan( FT_Angle angle ); + + + /************************************************************************** + * + * @function: + * FT_Atan2 + * + * @description: + * Return the arc-tangent corresponding to a given vector (x,y) in the 2d + * plane. + * + * @input: + * x :: + * The horizontal vector coordinate. + * + * y :: + * The vertical vector coordinate. + * + * @return: + * The arc-tangent value (i.e. angle). + * + */ + FT_EXPORT( FT_Angle ) + FT_Atan2( FT_Fixed x, + FT_Fixed y ); + + + /************************************************************************** + * + * @function: + * FT_Angle_Diff + * + * @description: + * Return the difference between two angles. The result is always + * constrained to the ]-PI..PI] interval. + * + * @input: + * angle1 :: + * First angle. + * + * angle2 :: + * Second angle. + * + * @return: + * Constrained value of `angle2-angle1`. + * + */ + FT_EXPORT( FT_Angle ) + FT_Angle_Diff( FT_Angle angle1, + FT_Angle angle2 ); + + + /************************************************************************** + * + * @function: + * FT_Vector_Unit + * + * @description: + * Return the unit vector corresponding to a given angle. After the + * call, the value of `vec.x` will be `cos(angle)`, and the value of + * `vec.y` will be `sin(angle)`. + * + * This function is useful to retrieve both the sinus and cosinus of a + * given angle quickly. + * + * @output: + * vec :: + * The address of target vector. + * + * @input: + * angle :: + * The input angle. + * + */ + FT_EXPORT( void ) + FT_Vector_Unit( FT_Vector* vec, + FT_Angle angle ); + + + /************************************************************************** + * + * @function: + * FT_Vector_Rotate + * + * @description: + * Rotate a vector by a given angle. + * + * @inout: + * vec :: + * The address of target vector. + * + * @input: + * angle :: + * The input angle. + * + */ + FT_EXPORT( void ) + FT_Vector_Rotate( FT_Vector* vec, + FT_Angle angle ); + + + /************************************************************************** + * + * @function: + * FT_Vector_Length + * + * @description: + * Return the length of a given vector. + * + * @input: + * vec :: + * The address of target vector. + * + * @return: + * The vector length, expressed in the same units that the original + * vector coordinates. + * + */ + FT_EXPORT( FT_Fixed ) + FT_Vector_Length( FT_Vector* vec ); + + + /************************************************************************** + * + * @function: + * FT_Vector_Polarize + * + * @description: + * Compute both the length and angle of a given vector. + * + * @input: + * vec :: + * The address of source vector. + * + * @output: + * length :: + * The vector length. + * + * angle :: + * The vector angle. + * + */ + FT_EXPORT( void ) + FT_Vector_Polarize( FT_Vector* vec, + FT_Fixed *length, + FT_Angle *angle ); + + + /************************************************************************** + * + * @function: + * FT_Vector_From_Polar + * + * @description: + * Compute vector coordinates from a length and angle. + * + * @output: + * vec :: + * The address of source vector. + * + * @input: + * length :: + * The vector length. + * + * angle :: + * The vector angle. + * + */ + FT_EXPORT( void ) + FT_Vector_From_Polar( FT_Vector* vec, + FT_Fixed length, + FT_Angle angle ); + + /* */ + + +FT_END_HEADER + +#endif /* FTTRIGON_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttypes.h new file mode 100644 index 0000000..5b109f0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/fttypes.h @@ -0,0 +1,617 @@ +/**************************************************************************** + * + * fttypes.h + * + * FreeType simple types definitions (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTTYPES_H_ +#define FTTYPES_H_ + + +#include +#include FT_CONFIG_CONFIG_H +#include +#include + +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * basic_types + * + * @title: + * Basic Data Types + * + * @abstract: + * The basic data types defined by the library. + * + * @description: + * This section contains the basic data types defined by FreeType~2, + * ranging from simple scalar types to bitmap descriptors. More + * font-specific structures are defined in a different section. Note + * that FreeType does not use floating-point data types. Fractional + * values are represented by fixed-point integers, with lower bits + * storing the fractional part. + * + * @order: + * FT_Byte + * FT_Bytes + * FT_Char + * FT_Int + * FT_UInt + * FT_Int16 + * FT_UInt16 + * FT_Int32 + * FT_UInt32 + * FT_Int64 + * FT_UInt64 + * FT_Short + * FT_UShort + * FT_Long + * FT_ULong + * FT_Bool + * FT_Offset + * FT_PtrDist + * FT_String + * FT_Tag + * FT_Error + * FT_Fixed + * FT_Pointer + * FT_Pos + * FT_Vector + * FT_BBox + * FT_Matrix + * FT_FWord + * FT_UFWord + * FT_F2Dot14 + * FT_UnitVector + * FT_F26Dot6 + * FT_Data + * + * FT_MAKE_TAG + * + * FT_Generic + * FT_Generic_Finalizer + * + * FT_Bitmap + * FT_Pixel_Mode + * FT_Palette_Mode + * FT_Glyph_Format + * FT_IMAGE_TAG + * + */ + + + /************************************************************************** + * + * @type: + * FT_Bool + * + * @description: + * A typedef of unsigned char, used for simple booleans. As usual, + * values 1 and~0 represent true and false, respectively. + */ + typedef unsigned char FT_Bool; + + + /************************************************************************** + * + * @type: + * FT_FWord + * + * @description: + * A signed 16-bit integer used to store a distance in original font + * units. + */ + typedef signed short FT_FWord; /* distance in FUnits */ + + + /************************************************************************** + * + * @type: + * FT_UFWord + * + * @description: + * An unsigned 16-bit integer used to store a distance in original font + * units. + */ + typedef unsigned short FT_UFWord; /* unsigned distance */ + + + /************************************************************************** + * + * @type: + * FT_Char + * + * @description: + * A simple typedef for the _signed_ char type. + */ + typedef signed char FT_Char; + + + /************************************************************************** + * + * @type: + * FT_Byte + * + * @description: + * A simple typedef for the _unsigned_ char type. + */ + typedef unsigned char FT_Byte; + + + /************************************************************************** + * + * @type: + * FT_Bytes + * + * @description: + * A typedef for constant memory areas. + */ + typedef const FT_Byte* FT_Bytes; + + + /************************************************************************** + * + * @type: + * FT_Tag + * + * @description: + * A typedef for 32-bit tags (as used in the SFNT format). + */ + typedef FT_UInt32 FT_Tag; + + + /************************************************************************** + * + * @type: + * FT_String + * + * @description: + * A simple typedef for the char type, usually used for strings. + */ + typedef char FT_String; + + + /************************************************************************** + * + * @type: + * FT_Short + * + * @description: + * A typedef for signed short. + */ + typedef signed short FT_Short; + + + /************************************************************************** + * + * @type: + * FT_UShort + * + * @description: + * A typedef for unsigned short. + */ + typedef unsigned short FT_UShort; + + + /************************************************************************** + * + * @type: + * FT_Int + * + * @description: + * A typedef for the int type. + */ + typedef signed int FT_Int; + + + /************************************************************************** + * + * @type: + * FT_UInt + * + * @description: + * A typedef for the unsigned int type. + */ + typedef unsigned int FT_UInt; + + + /************************************************************************** + * + * @type: + * FT_Long + * + * @description: + * A typedef for signed long. + */ + typedef signed long FT_Long; + + + /************************************************************************** + * + * @type: + * FT_ULong + * + * @description: + * A typedef for unsigned long. + */ + typedef unsigned long FT_ULong; + + + /************************************************************************** + * + * @type: + * FT_F2Dot14 + * + * @description: + * A signed 2.14 fixed-point type used for unit vectors. + */ + typedef signed short FT_F2Dot14; + + + /************************************************************************** + * + * @type: + * FT_F26Dot6 + * + * @description: + * A signed 26.6 fixed-point type used for vectorial pixel coordinates. + */ + typedef signed long FT_F26Dot6; + + + /************************************************************************** + * + * @type: + * FT_Fixed + * + * @description: + * This type is used to store 16.16 fixed-point values, like scaling + * values or matrix coefficients. + */ + typedef signed long FT_Fixed; + + + /************************************************************************** + * + * @type: + * FT_Error + * + * @description: + * The FreeType error code type. A value of~0 is always interpreted as a + * successful operation. + */ + typedef int FT_Error; + + + /************************************************************************** + * + * @type: + * FT_Pointer + * + * @description: + * A simple typedef for a typeless pointer. + */ + typedef void* FT_Pointer; + + + /************************************************************************** + * + * @type: + * FT_Offset + * + * @description: + * This is equivalent to the ANSI~C `size_t` type, i.e., the largest + * _unsigned_ integer type used to express a file size or position, or a + * memory block size. + */ + typedef size_t FT_Offset; + + + /************************************************************************** + * + * @type: + * FT_PtrDist + * + * @description: + * This is equivalent to the ANSI~C `ptrdiff_t` type, i.e., the largest + * _signed_ integer type used to express the distance between two + * pointers. + */ + typedef ft_ptrdiff_t FT_PtrDist; + + + /************************************************************************** + * + * @struct: + * FT_UnitVector + * + * @description: + * A simple structure used to store a 2D vector unit vector. Uses + * FT_F2Dot14 types. + * + * @fields: + * x :: + * Horizontal coordinate. + * + * y :: + * Vertical coordinate. + */ + typedef struct FT_UnitVector_ + { + FT_F2Dot14 x; + FT_F2Dot14 y; + + } FT_UnitVector; + + + /************************************************************************** + * + * @struct: + * FT_Matrix + * + * @description: + * A simple structure used to store a 2x2 matrix. Coefficients are in + * 16.16 fixed-point format. The computation performed is: + * + * ``` + * x' = x*xx + y*xy + * y' = x*yx + y*yy + * ``` + * + * @fields: + * xx :: + * Matrix coefficient. + * + * xy :: + * Matrix coefficient. + * + * yx :: + * Matrix coefficient. + * + * yy :: + * Matrix coefficient. + */ + typedef struct FT_Matrix_ + { + FT_Fixed xx, xy; + FT_Fixed yx, yy; + + } FT_Matrix; + + + /************************************************************************** + * + * @struct: + * FT_Data + * + * @description: + * Read-only binary data represented as a pointer and a length. + * + * @fields: + * pointer :: + * The data. + * + * length :: + * The length of the data in bytes. + */ + typedef struct FT_Data_ + { + const FT_Byte* pointer; + FT_UInt length; + + } FT_Data; + + + /************************************************************************** + * + * @functype: + * FT_Generic_Finalizer + * + * @description: + * Describe a function used to destroy the 'client' data of any FreeType + * object. See the description of the @FT_Generic type for details of + * usage. + * + * @input: + * The address of the FreeType object that is under finalization. Its + * client data is accessed through its `generic` field. + */ + typedef void (*FT_Generic_Finalizer)( void* object ); + + + /************************************************************************** + * + * @struct: + * FT_Generic + * + * @description: + * Client applications often need to associate their own data to a + * variety of FreeType core objects. For example, a text layout API + * might want to associate a glyph cache to a given size object. + * + * Some FreeType object contains a `generic` field, of type `FT_Generic`, + * which usage is left to client applications and font servers. + * + * It can be used to store a pointer to client-specific data, as well as + * the address of a 'finalizer' function, which will be called by + * FreeType when the object is destroyed (for example, the previous + * client example would put the address of the glyph cache destructor in + * the `finalizer` field). + * + * @fields: + * data :: + * A typeless pointer to any client-specified data. This field is + * completely ignored by the FreeType library. + * + * finalizer :: + * A pointer to a 'generic finalizer' function, which will be called + * when the object is destroyed. If this field is set to `NULL`, no + * code will be called. + */ + typedef struct FT_Generic_ + { + void* data; + FT_Generic_Finalizer finalizer; + + } FT_Generic; + + + /************************************************************************** + * + * @macro: + * FT_MAKE_TAG + * + * @description: + * This macro converts four-letter tags that are used to label TrueType + * tables into an `FT_Tag` type, to be used within FreeType. + * + * @note: + * The produced values **must** be 32-bit integers. Don't redefine this + * macro. + */ +#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \ + ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \ + ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \ + ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) << 8 ) | \ + FT_STATIC_BYTE_CAST( FT_Tag, _x4 ) ) + + + /*************************************************************************/ + /*************************************************************************/ + /* */ + /* L I S T M A N A G E M E N T */ + /* */ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @section: + * list_processing + * + */ + + + /************************************************************************** + * + * @type: + * FT_ListNode + * + * @description: + * Many elements and objects in FreeType are listed through an @FT_List + * record (see @FT_ListRec). As its name suggests, an FT_ListNode is a + * handle to a single list element. + */ + typedef struct FT_ListNodeRec_* FT_ListNode; + + + /************************************************************************** + * + * @type: + * FT_List + * + * @description: + * A handle to a list record (see @FT_ListRec). + */ + typedef struct FT_ListRec_* FT_List; + + + /************************************************************************** + * + * @struct: + * FT_ListNodeRec + * + * @description: + * A structure used to hold a single list element. + * + * @fields: + * prev :: + * The previous element in the list. `NULL` if first. + * + * next :: + * The next element in the list. `NULL` if last. + * + * data :: + * A typeless pointer to the listed object. + */ + typedef struct FT_ListNodeRec_ + { + FT_ListNode prev; + FT_ListNode next; + void* data; + + } FT_ListNodeRec; + + + /************************************************************************** + * + * @struct: + * FT_ListRec + * + * @description: + * A structure used to hold a simple doubly-linked list. These are used + * in many parts of FreeType. + * + * @fields: + * head :: + * The head (first element) of doubly-linked list. + * + * tail :: + * The tail (last element) of doubly-linked list. + */ + typedef struct FT_ListRec_ + { + FT_ListNode head; + FT_ListNode tail; + + } FT_ListRec; + + /* */ + + +#define FT_IS_EMPTY( list ) ( (list).head == 0 ) +#define FT_BOOL( x ) FT_STATIC_CAST( FT_Bool, (x) != 0 ) + + /* concatenate C tokens */ +#define FT_ERR_XCAT( x, y ) x ## y +#define FT_ERR_CAT( x, y ) FT_ERR_XCAT( x, y ) + + /* see `ftmoderr.h` for descriptions of the following macros */ + +#define FT_ERR( e ) FT_ERR_CAT( FT_ERR_PREFIX, e ) + +#define FT_ERROR_BASE( x ) ( (x) & 0xFF ) +#define FT_ERROR_MODULE( x ) ( (x) & 0xFF00U ) + +#define FT_ERR_EQ( x, e ) \ + ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) ) +#define FT_ERR_NEQ( x, e ) \ + ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) ) + + +FT_END_HEADER + +#endif /* FTTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftwinfnt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftwinfnt.h new file mode 100644 index 0000000..7b701ea --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ftwinfnt.h @@ -0,0 +1,276 @@ +/**************************************************************************** + * + * ftwinfnt.h + * + * FreeType API for accessing Windows fnt-specific data. + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTWINFNT_H_ +#define FTWINFNT_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * winfnt_fonts + * + * @title: + * Window FNT Files + * + * @abstract: + * Windows FNT-specific API. + * + * @description: + * This section contains the declaration of Windows FNT-specific + * functions. + * + */ + + + /************************************************************************** + * + * @enum: + * FT_WinFNT_ID_XXX + * + * @description: + * A list of valid values for the `charset` byte in @FT_WinFNT_HeaderRec. + * Exact mapping tables for the various 'cpXXXX' encodings (except for + * 'cp1361') can be found at 'ftp://ftp.unicode.org/Public/' in the + * `MAPPINGS/VENDORS/MICSFT/WINDOWS` subdirectory. 'cp1361' is roughly a + * superset of `MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT`. + * + * @values: + * FT_WinFNT_ID_DEFAULT :: + * This is used for font enumeration and font creation as a 'don't + * care' value. Valid font files don't contain this value. When + * querying for information about the character set of the font that is + * currently selected into a specified device context, this return + * value (of the related Windows API) simply denotes failure. + * + * FT_WinFNT_ID_SYMBOL :: + * There is no known mapping table available. + * + * FT_WinFNT_ID_MAC :: + * Mac Roman encoding. + * + * FT_WinFNT_ID_OEM :: + * From Michael Poettgen : + * + * The 'Windows Font Mapping' article says that `FT_WinFNT_ID_OEM` is + * used for the charset of vector fonts, like `modern.fon`, + * `roman.fon`, and `script.fon` on Windows. + * + * The 'CreateFont' documentation says: The `FT_WinFNT_ID_OEM` value + * specifies a character set that is operating-system dependent. + * + * The 'IFIMETRICS' documentation from the 'Windows Driver Development + * Kit' says: This font supports an OEM-specific character set. The + * OEM character set is system dependent. + * + * In general OEM, as opposed to ANSI (i.e., 'cp1252'), denotes the + * second default codepage that most international versions of Windows + * have. It is one of the OEM codepages from + * + * https://docs.microsoft.com/en-us/windows/desktop/intl/code-page-identifiers + * , + * + * and is used for the 'DOS boxes', to support legacy applications. A + * German Windows version for example usually uses ANSI codepage 1252 + * and OEM codepage 850. + * + * FT_WinFNT_ID_CP874 :: + * A superset of Thai TIS 620 and ISO 8859-11. + * + * FT_WinFNT_ID_CP932 :: + * A superset of Japanese Shift-JIS (with minor deviations). + * + * FT_WinFNT_ID_CP936 :: + * A superset of simplified Chinese GB 2312-1980 (with different + * ordering and minor deviations). + * + * FT_WinFNT_ID_CP949 :: + * A superset of Korean Hangul KS~C 5601-1987 (with different ordering + * and minor deviations). + * + * FT_WinFNT_ID_CP950 :: + * A superset of traditional Chinese Big~5 ETen (with different + * ordering and minor deviations). + * + * FT_WinFNT_ID_CP1250 :: + * A superset of East European ISO 8859-2 (with slightly different + * ordering). + * + * FT_WinFNT_ID_CP1251 :: + * A superset of Russian ISO 8859-5 (with different ordering). + * + * FT_WinFNT_ID_CP1252 :: + * ANSI encoding. A superset of ISO 8859-1. + * + * FT_WinFNT_ID_CP1253 :: + * A superset of Greek ISO 8859-7 (with minor modifications). + * + * FT_WinFNT_ID_CP1254 :: + * A superset of Turkish ISO 8859-9. + * + * FT_WinFNT_ID_CP1255 :: + * A superset of Hebrew ISO 8859-8 (with some modifications). + * + * FT_WinFNT_ID_CP1256 :: + * A superset of Arabic ISO 8859-6 (with different ordering). + * + * FT_WinFNT_ID_CP1257 :: + * A superset of Baltic ISO 8859-13 (with some deviations). + * + * FT_WinFNT_ID_CP1258 :: + * For Vietnamese. This encoding doesn't cover all necessary + * characters. + * + * FT_WinFNT_ID_CP1361 :: + * Korean (Johab). + */ + +#define FT_WinFNT_ID_CP1252 0 +#define FT_WinFNT_ID_DEFAULT 1 +#define FT_WinFNT_ID_SYMBOL 2 +#define FT_WinFNT_ID_MAC 77 +#define FT_WinFNT_ID_CP932 128 +#define FT_WinFNT_ID_CP949 129 +#define FT_WinFNT_ID_CP1361 130 +#define FT_WinFNT_ID_CP936 134 +#define FT_WinFNT_ID_CP950 136 +#define FT_WinFNT_ID_CP1253 161 +#define FT_WinFNT_ID_CP1254 162 +#define FT_WinFNT_ID_CP1258 163 +#define FT_WinFNT_ID_CP1255 177 +#define FT_WinFNT_ID_CP1256 178 +#define FT_WinFNT_ID_CP1257 186 +#define FT_WinFNT_ID_CP1251 204 +#define FT_WinFNT_ID_CP874 222 +#define FT_WinFNT_ID_CP1250 238 +#define FT_WinFNT_ID_OEM 255 + + + /************************************************************************** + * + * @struct: + * FT_WinFNT_HeaderRec + * + * @description: + * Windows FNT Header info. + */ + typedef struct FT_WinFNT_HeaderRec_ + { + FT_UShort version; + FT_ULong file_size; + FT_Byte copyright[60]; + FT_UShort file_type; + FT_UShort nominal_point_size; + FT_UShort vertical_resolution; + FT_UShort horizontal_resolution; + FT_UShort ascent; + FT_UShort internal_leading; + FT_UShort external_leading; + FT_Byte italic; + FT_Byte underline; + FT_Byte strike_out; + FT_UShort weight; + FT_Byte charset; + FT_UShort pixel_width; + FT_UShort pixel_height; + FT_Byte pitch_and_family; + FT_UShort avg_width; + FT_UShort max_width; + FT_Byte first_char; + FT_Byte last_char; + FT_Byte default_char; + FT_Byte break_char; + FT_UShort bytes_per_row; + FT_ULong device_offset; + FT_ULong face_name_offset; + FT_ULong bits_pointer; + FT_ULong bits_offset; + FT_Byte reserved; + FT_ULong flags; + FT_UShort A_space; + FT_UShort B_space; + FT_UShort C_space; + FT_UShort color_table_offset; + FT_ULong reserved1[4]; + + } FT_WinFNT_HeaderRec; + + + /************************************************************************** + * + * @struct: + * FT_WinFNT_Header + * + * @description: + * A handle to an @FT_WinFNT_HeaderRec structure. + */ + typedef struct FT_WinFNT_HeaderRec_* FT_WinFNT_Header; + + + /************************************************************************** + * + * @function: + * FT_Get_WinFNT_Header + * + * @description: + * Retrieve a Windows FNT font info header. + * + * @input: + * face :: + * A handle to the input face. + * + * @output: + * aheader :: + * The WinFNT header. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * This function only works with Windows FNT faces, returning an error + * otherwise. + */ + FT_EXPORT( FT_Error ) + FT_Get_WinFNT_Header( FT_Face face, + FT_WinFNT_HeaderRec *aheader ); + + /* */ + + +FT_END_HEADER + +#endif /* FTWINFNT_H_ */ + + +/* END */ + + +/* Local Variables: */ +/* coding: utf-8 */ +/* End: */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/autohint.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/autohint.h new file mode 100644 index 0000000..bf9c8b7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/autohint.h @@ -0,0 +1,234 @@ +/**************************************************************************** + * + * autohint.h + * + * High-level 'autohint' module-specific interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * The auto-hinter is used to load and automatically hint glyphs if a + * format-specific hinter isn't available. + * + */ + + +#ifndef AUTOHINT_H_ +#define AUTOHINT_H_ + + + /************************************************************************** + * + * A small technical note regarding automatic hinting in order to clarify + * this module interface. + * + * An automatic hinter might compute two kinds of data for a given face: + * + * - global hints: Usually some metrics that describe global properties + * of the face. It is computed by scanning more or less + * aggressively the glyphs in the face, and thus can be + * very slow to compute (even if the size of global hints + * is really small). + * + * - glyph hints: These describe some important features of the glyph + * outline, as well as how to align them. They are + * generally much faster to compute than global hints. + * + * The current FreeType auto-hinter does a pretty good job while performing + * fast computations for both global and glyph hints. However, we might be + * interested in introducing more complex and powerful algorithms in the + * future, like the one described in the John D. Hobby paper, which + * unfortunately requires a lot more horsepower. + * + * Because a sufficiently sophisticated font management system would + * typically implement an LRU cache of opened face objects to reduce memory + * usage, it is a good idea to be able to avoid recomputing global hints + * every time the same face is re-opened. + * + * We thus provide the ability to cache global hints outside of the face + * object, in order to speed up font re-opening time. Of course, this + * feature is purely optional, so most client programs won't even notice + * it. + * + * I initially thought that it would be a good idea to cache the glyph + * hints too. However, my general idea now is that if you really need to + * cache these too, you are simply in need of a new font format, where all + * this information could be stored within the font file and decoded on the + * fly. + * + */ + + +#include + + +FT_BEGIN_HEADER + + + typedef struct FT_AutoHinterRec_ *FT_AutoHinter; + + + /************************************************************************** + * + * @functype: + * FT_AutoHinter_GlobalGetFunc + * + * @description: + * Retrieve the global hints computed for a given face object. The + * resulting data is dissociated from the face and will survive a call to + * FT_Done_Face(). It must be discarded through the API + * FT_AutoHinter_GlobalDoneFunc(). + * + * @input: + * hinter :: + * A handle to the source auto-hinter. + * + * face :: + * A handle to the source face object. + * + * @output: + * global_hints :: + * A typeless pointer to the global hints. + * + * global_len :: + * The size in bytes of the global hints. + */ + typedef void + (*FT_AutoHinter_GlobalGetFunc)( FT_AutoHinter hinter, + FT_Face face, + void** global_hints, + long* global_len ); + + + /************************************************************************** + * + * @functype: + * FT_AutoHinter_GlobalDoneFunc + * + * @description: + * Discard the global hints retrieved through + * FT_AutoHinter_GlobalGetFunc(). This is the only way these hints are + * freed from memory. + * + * @input: + * hinter :: + * A handle to the auto-hinter module. + * + * global :: + * A pointer to retrieved global hints to discard. + */ + typedef void + (*FT_AutoHinter_GlobalDoneFunc)( FT_AutoHinter hinter, + void* global ); + + + /************************************************************************** + * + * @functype: + * FT_AutoHinter_GlobalResetFunc + * + * @description: + * This function is used to recompute the global metrics in a given font. + * This is useful when global font data changes (e.g. Multiple Masters + * fonts where blend coordinates change). + * + * @input: + * hinter :: + * A handle to the source auto-hinter. + * + * face :: + * A handle to the face. + */ + typedef void + (*FT_AutoHinter_GlobalResetFunc)( FT_AutoHinter hinter, + FT_Face face ); + + + /************************************************************************** + * + * @functype: + * FT_AutoHinter_GlyphLoadFunc + * + * @description: + * This function is used to load, scale, and automatically hint a glyph + * from a given face. + * + * @input: + * face :: + * A handle to the face. + * + * glyph_index :: + * The glyph index. + * + * load_flags :: + * The load flags. + * + * @note: + * This function is capable of loading composite glyphs by hinting each + * sub-glyph independently (which improves quality). + * + * It will call the font driver with @FT_Load_Glyph, with + * @FT_LOAD_NO_SCALE set. + */ + typedef FT_Error + (*FT_AutoHinter_GlyphLoadFunc)( FT_AutoHinter hinter, + FT_GlyphSlot slot, + FT_Size size, + FT_UInt glyph_index, + FT_Int32 load_flags ); + + + /************************************************************************** + * + * @struct: + * FT_AutoHinter_InterfaceRec + * + * @description: + * The auto-hinter module's interface. + */ + typedef struct FT_AutoHinter_InterfaceRec_ + { + FT_AutoHinter_GlobalResetFunc reset_face; + FT_AutoHinter_GlobalGetFunc get_global_hints; + FT_AutoHinter_GlobalDoneFunc done_global_hints; + FT_AutoHinter_GlyphLoadFunc load_glyph; + + } FT_AutoHinter_InterfaceRec, *FT_AutoHinter_Interface; + + +#define FT_DECLARE_AUTOHINTER_INTERFACE( class_ ) \ + FT_CALLBACK_TABLE const FT_AutoHinter_InterfaceRec class_; + +#define FT_DEFINE_AUTOHINTER_INTERFACE( \ + class_, \ + reset_face_, \ + get_global_hints_, \ + done_global_hints_, \ + load_glyph_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_AutoHinter_InterfaceRec class_ = \ + { \ + reset_face_, \ + get_global_hints_, \ + done_global_hints_, \ + load_glyph_ \ + }; + + +FT_END_HEADER + +#endif /* AUTOHINT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cffotypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cffotypes.h new file mode 100644 index 0000000..50d5353 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cffotypes.h @@ -0,0 +1,107 @@ +/**************************************************************************** + * + * cffotypes.h + * + * Basic OpenType/CFF object type definitions (specification). + * + * Copyright (C) 2017-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef CFFOTYPES_H_ +#define CFFOTYPES_H_ + +#include +#include +#include +#include +#include + + +FT_BEGIN_HEADER + + + typedef TT_Face CFF_Face; + + + /************************************************************************** + * + * @type: + * CFF_Size + * + * @description: + * A handle to an OpenType size object. + */ + typedef struct CFF_SizeRec_ + { + FT_SizeRec root; + FT_ULong strike_index; /* 0xFFFFFFFF to indicate invalid */ + + } CFF_SizeRec, *CFF_Size; + + + /************************************************************************** + * + * @type: + * CFF_GlyphSlot + * + * @description: + * A handle to an OpenType glyph slot object. + */ + typedef struct CFF_GlyphSlotRec_ + { + FT_GlyphSlotRec root; + + FT_Bool hint; + FT_Bool scaled; + + FT_Fixed x_scale; + FT_Fixed y_scale; + + } CFF_GlyphSlotRec, *CFF_GlyphSlot; + + + /************************************************************************** + * + * @type: + * CFF_Internal + * + * @description: + * The interface to the 'internal' field of `FT_Size`. + */ + typedef struct CFF_InternalRec_ + { + PSH_Globals topfont; + PSH_Globals subfonts[CFF_MAX_CID_FONTS]; + + } CFF_InternalRec, *CFF_Internal; + + + /************************************************************************** + * + * Subglyph transformation record. + */ + typedef struct CFF_Transform_ + { + FT_Fixed xx, xy; /* transformation matrix coefficients */ + FT_Fixed yx, yy; + FT_F26Dot6 ox, oy; /* offsets */ + + } CFF_Transform; + + +FT_END_HEADER + + +#endif /* CFFOTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cfftypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cfftypes.h new file mode 100644 index 0000000..c252176 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/cfftypes.h @@ -0,0 +1,416 @@ +/**************************************************************************** + * + * cfftypes.h + * + * Basic OpenType/CFF type definitions and interface (specification + * only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef CFFTYPES_H_ +#define CFFTYPES_H_ + + +#include +#include +#include +#include +#include +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @struct: + * CFF_IndexRec + * + * @description: + * A structure used to model a CFF Index table. + * + * @fields: + * stream :: + * The source input stream. + * + * start :: + * The position of the first index byte in the input stream. + * + * count :: + * The number of elements in the index. + * + * off_size :: + * The size in bytes of object offsets in index. + * + * data_offset :: + * The position of first data byte in the index's bytes. + * + * data_size :: + * The size of the data table in this index. + * + * offsets :: + * A table of element offsets in the index. Must be loaded explicitly. + * + * bytes :: + * If the index is loaded in memory, its bytes. + */ + typedef struct CFF_IndexRec_ + { + FT_Stream stream; + FT_ULong start; + FT_UInt hdr_size; + FT_UInt count; + FT_Byte off_size; + FT_ULong data_offset; + FT_ULong data_size; + + FT_ULong* offsets; + FT_Byte* bytes; + + } CFF_IndexRec, *CFF_Index; + + + typedef struct CFF_EncodingRec_ + { + FT_UInt format; + FT_ULong offset; + + FT_UInt count; + FT_UShort sids [256]; /* avoid dynamic allocations */ + FT_UShort codes[256]; + + } CFF_EncodingRec, *CFF_Encoding; + + + typedef struct CFF_CharsetRec_ + { + + FT_UInt format; + FT_ULong offset; + + FT_UShort* sids; + FT_UShort* cids; /* the inverse mapping of `sids'; only needed */ + /* for CID-keyed fonts */ + FT_UInt max_cid; + FT_UInt num_glyphs; + + } CFF_CharsetRec, *CFF_Charset; + + + /* cf. similar fields in file `ttgxvar.h' from the `truetype' module */ + + typedef struct CFF_VarData_ + { +#if 0 + FT_UInt itemCount; /* not used; always zero */ + FT_UInt shortDeltaCount; /* not used; always zero */ +#endif + + FT_UInt regionIdxCount; /* number of region indexes */ + FT_UInt* regionIndices; /* array of `regionIdxCount' indices; */ + /* these index `varRegionList' */ + } CFF_VarData; + + + /* contribution of one axis to a region */ + typedef struct CFF_AxisCoords_ + { + FT_Fixed startCoord; + FT_Fixed peakCoord; /* zero peak means no effect (factor = 1) */ + FT_Fixed endCoord; + + } CFF_AxisCoords; + + + typedef struct CFF_VarRegion_ + { + CFF_AxisCoords* axisList; /* array of axisCount records */ + + } CFF_VarRegion; + + + typedef struct CFF_VStoreRec_ + { + FT_UInt dataCount; + CFF_VarData* varData; /* array of dataCount records */ + /* vsindex indexes this array */ + FT_UShort axisCount; + FT_UInt regionCount; /* total number of regions defined */ + CFF_VarRegion* varRegionList; + + } CFF_VStoreRec, *CFF_VStore; + + + /* forward reference */ + typedef struct CFF_FontRec_* CFF_Font; + + + /* This object manages one cached blend vector. */ + /* */ + /* There is a BlendRec for Private DICT parsing in each subfont */ + /* and a BlendRec for charstrings in CF2_Font instance data. */ + /* A cached BV may be used across DICTs or Charstrings if inputs */ + /* have not changed. */ + /* */ + /* `usedBV' is reset at the start of each parse or charstring. */ + /* vsindex cannot be changed after a BV is used. */ + /* */ + /* Note: NDV is long (32/64 bit), while BV is 16.16 (FT_Int32). */ + typedef struct CFF_BlendRec_ + { + FT_Bool builtBV; /* blendV has been built */ + FT_Bool usedBV; /* blendV has been used */ + CFF_Font font; /* top level font struct */ + FT_UInt lastVsindex; /* last vsindex used */ + FT_UInt lenNDV; /* normDV length (aka numAxes) */ + FT_Fixed* lastNDV; /* last NDV used */ + FT_UInt lenBV; /* BlendV length (aka numMasters) */ + FT_Int32* BV; /* current blendV (per DICT/glyph) */ + + } CFF_BlendRec, *CFF_Blend; + + + typedef struct CFF_FontRecDictRec_ + { + FT_UInt version; + FT_UInt notice; + FT_UInt copyright; + FT_UInt full_name; + FT_UInt family_name; + FT_UInt weight; + FT_Bool is_fixed_pitch; + FT_Fixed italic_angle; + FT_Fixed underline_position; + FT_Fixed underline_thickness; + FT_Int paint_type; + FT_Int charstring_type; + FT_Matrix font_matrix; + FT_Bool has_font_matrix; + FT_ULong units_per_em; /* temporarily used as scaling value also */ + FT_Vector font_offset; + FT_ULong unique_id; + FT_BBox font_bbox; + FT_Pos stroke_width; + FT_ULong charset_offset; + FT_ULong encoding_offset; + FT_ULong charstrings_offset; + FT_ULong private_offset; + FT_ULong private_size; + FT_Long synthetic_base; + FT_UInt embedded_postscript; + + /* these should only be used for the top-level font dictionary */ + FT_UInt cid_registry; + FT_UInt cid_ordering; + FT_Long cid_supplement; + + FT_Long cid_font_version; + FT_Long cid_font_revision; + FT_Long cid_font_type; + FT_ULong cid_count; + FT_ULong cid_uid_base; + FT_ULong cid_fd_array_offset; + FT_ULong cid_fd_select_offset; + FT_UInt cid_font_name; + + /* the next fields come from the data of the deprecated */ + /* `MultipleMaster' operator; they are needed to parse the (also */ + /* deprecated) `blend' operator in Type 2 charstrings */ + FT_UShort num_designs; + FT_UShort num_axes; + + /* fields for CFF2 */ + FT_ULong vstore_offset; + FT_UInt maxstack; + + } CFF_FontRecDictRec, *CFF_FontRecDict; + + + /* forward reference */ + typedef struct CFF_SubFontRec_* CFF_SubFont; + + + typedef struct CFF_PrivateRec_ + { + FT_Byte num_blue_values; + FT_Byte num_other_blues; + FT_Byte num_family_blues; + FT_Byte num_family_other_blues; + + FT_Pos blue_values[14]; + FT_Pos other_blues[10]; + FT_Pos family_blues[14]; + FT_Pos family_other_blues[10]; + + FT_Fixed blue_scale; + FT_Pos blue_shift; + FT_Pos blue_fuzz; + FT_Pos standard_width; + FT_Pos standard_height; + + FT_Byte num_snap_widths; + FT_Byte num_snap_heights; + FT_Pos snap_widths[13]; + FT_Pos snap_heights[13]; + FT_Bool force_bold; + FT_Fixed force_bold_threshold; + FT_Int lenIV; + FT_Int language_group; + FT_Fixed expansion_factor; + FT_Long initial_random_seed; + FT_ULong local_subrs_offset; + FT_Pos default_width; + FT_Pos nominal_width; + + /* fields for CFF2 */ + FT_UInt vsindex; + CFF_SubFont subfont; + + } CFF_PrivateRec, *CFF_Private; + + + typedef struct CFF_FDSelectRec_ + { + FT_Byte format; + FT_UInt range_count; + + /* that's the table, taken from the file `as is' */ + FT_Byte* data; + FT_UInt data_size; + + /* small cache for format 3 only */ + FT_UInt cache_first; + FT_UInt cache_count; + FT_Byte cache_fd; + + } CFF_FDSelectRec, *CFF_FDSelect; + + + /* A SubFont packs a font dict and a private dict together. They are */ + /* needed to support CID-keyed CFF fonts. */ + typedef struct CFF_SubFontRec_ + { + CFF_FontRecDictRec font_dict; + CFF_PrivateRec private_dict; + + /* fields for CFF2 */ + CFF_BlendRec blend; /* current blend vector */ + FT_UInt lenNDV; /* current length NDV or zero */ + FT_Fixed* NDV; /* ptr to current NDV or NULL */ + + /* `blend_stack' is a writable buffer to hold blend results. */ + /* This buffer is to the side of the normal cff parser stack; */ + /* `cff_parse_blend' and `cff_blend_doBlend' push blend results here. */ + /* The normal stack then points to these values instead of the DICT */ + /* because all other operators in Private DICT clear the stack. */ + /* `blend_stack' could be cleared at each operator other than blend. */ + /* Blended values are stored as 5-byte fixed-point values. */ + + FT_Byte* blend_stack; /* base of stack allocation */ + FT_Byte* blend_top; /* first empty slot */ + FT_UInt blend_used; /* number of bytes in use */ + FT_UInt blend_alloc; /* number of bytes allocated */ + + CFF_IndexRec local_subrs_index; + FT_Byte** local_subrs; /* array of pointers */ + /* into Local Subrs INDEX data */ + + FT_UInt32 random; + + } CFF_SubFontRec; + + +#define CFF_MAX_CID_FONTS 256 + + + typedef struct CFF_FontRec_ + { + FT_Library library; + FT_Stream stream; + FT_Memory memory; /* TODO: take this from stream->memory? */ + FT_ULong base_offset; /* offset to start of CFF */ + FT_UInt num_faces; + FT_UInt num_glyphs; + + FT_Byte version_major; + FT_Byte version_minor; + FT_Byte header_size; + + FT_UInt top_dict_length; /* cff2 only */ + + FT_Bool cff2; + + CFF_IndexRec name_index; + CFF_IndexRec top_dict_index; + CFF_IndexRec global_subrs_index; + + CFF_EncodingRec encoding; + CFF_CharsetRec charset; + + CFF_IndexRec charstrings_index; + CFF_IndexRec font_dict_index; + CFF_IndexRec private_index; + CFF_IndexRec local_subrs_index; + + FT_String* font_name; + + /* array of pointers into Global Subrs INDEX data */ + FT_Byte** global_subrs; + + /* array of pointers into String INDEX data stored at string_pool */ + FT_UInt num_strings; + FT_Byte** strings; + FT_Byte* string_pool; + FT_ULong string_pool_size; + + CFF_SubFontRec top_font; + FT_UInt num_subfonts; + CFF_SubFont subfonts[CFF_MAX_CID_FONTS]; + + CFF_FDSelectRec fd_select; + + /* interface to PostScript hinter */ + PSHinter_Service pshinter; + + /* interface to Postscript Names service */ + FT_Service_PsCMaps psnames; + + /* interface to CFFLoad service */ + const void* cffload; + + /* since version 2.3.0 */ + PS_FontInfoRec* font_info; /* font info dictionary */ + + /* since version 2.3.6 */ + FT_String* registry; + FT_String* ordering; + + /* since version 2.4.12 */ + FT_Generic cf2_instance; + + /* since version 2.7.1 */ + CFF_VStoreRec vstore; /* parsed vstore structure */ + + /* since version 2.9 */ + PS_FontExtraRec* font_extra; + + } CFF_FontRec; + + +FT_END_HEADER + +#endif /* CFFTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/compiler-macros.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/compiler-macros.h new file mode 100644 index 0000000..6f67650 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/compiler-macros.h @@ -0,0 +1,343 @@ +/**************************************************************************** + * + * internal/compiler-macros.h + * + * Compiler-specific macro definitions used internally by FreeType. + * + * Copyright (C) 2020-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +#ifndef INTERNAL_COMPILER_MACROS_H_ +#define INTERNAL_COMPILER_MACROS_H_ + +#include + +FT_BEGIN_HEADER + + /* Fix compiler warning with sgi compiler. */ +#if defined( __sgi ) && !defined( __GNUC__ ) +# if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 ) +# pragma set woff 3505 +# endif +#endif + + /* Fix compiler warning with sgi compiler. */ +#if defined( __sgi ) && !defined( __GNUC__ ) +# if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 ) +# pragma set woff 3505 +# endif +#endif + + /* Newer compilers warn for fall-through case statements. */ +#ifndef FALL_THROUGH +# if ( defined( __STDC_VERSION__ ) && __STDC_VERSION__ > 201710L ) || \ + ( defined( __cplusplus ) && __cplusplus > 201402L ) +# define FALL_THROUGH [[__fallthrough__]] +# elif ( defined( __GNUC__ ) && __GNUC__ >= 7 ) || \ + ( defined( __clang__ ) && \ + ( defined( __apple_build_version__ ) \ + ? __apple_build_version__ >= 12000000 \ + : __clang_major__ >= 10 ) ) +# define FALL_THROUGH __attribute__(( __fallthrough__ )) +# else +# define FALL_THROUGH ( (void)0 ) +# endif +#endif + + /* + * When defining a macro that expands to a non-trivial C statement, use + * FT_BEGIN_STMNT and FT_END_STMNT to enclose the macro's body. This + * ensures there are no surprises when the macro is invoked in conditional + * branches. + * + * Example: + * + * #define LOG( ... ) \ + * FT_BEGIN_STMNT \ + * if ( logging_enabled ) \ + * log( __VA_ARGS__ ); \ + * FT_END_STMNT + */ +#define FT_BEGIN_STMNT do { +#define FT_END_STMNT } while ( 0 ) + + /* + * FT_DUMMY_STMNT expands to an empty C statement. Useful for + * conditionally defined statement macros. + * + * Example: + * + * #ifdef BUILD_CONFIG_LOGGING + * #define LOG( ... ) \ + * FT_BEGIN_STMNT \ + * if ( logging_enabled ) \ + * log( __VA_ARGS__ ); \ + * FT_END_STMNT + * #else + * # define LOG( ... ) FT_DUMMY_STMNT + * #endif + */ +#define FT_DUMMY_STMNT FT_BEGIN_STMNT FT_END_STMNT + +#ifdef __UINTPTR_TYPE__ + /* + * GCC and Clang both provide a `__UINTPTR_TYPE__` that can be used to + * avoid a dependency on `stdint.h`. + */ +# define FT_UINT_TO_POINTER( x ) (void *)(__UINTPTR_TYPE__)(x) +#elif defined( _WIN64 ) + /* only 64bit Windows uses the LLP64 data model, i.e., */ + /* 32-bit integers, 64-bit pointers. */ +# define FT_UINT_TO_POINTER( x ) (void *)(unsigned __int64)(x) +#else +# define FT_UINT_TO_POINTER( x ) (void *)(unsigned long)(x) +#endif + + /* + * Use `FT_TYPEOF( type )` to cast a value to `type`. This is useful to + * suppress signedness compilation warnings in macros. + * + * Example: + * + * #define PAD_( x, n ) ( (x) & ~FT_TYPEOF( x )( (n) - 1 ) ) + * + * (The `typeof` condition is taken from gnulib's `intprops.h` header + * file.) + */ +#if ( ( defined( __GNUC__ ) && __GNUC__ >= 2 ) || \ + ( defined( __IBMC__ ) && __IBMC__ >= 1210 && \ + defined( __IBM__TYPEOF__ ) ) || \ + ( defined( __SUNPRO_C ) && __SUNPRO_C >= 0x5110 && !__STDC__ ) ) +#define FT_TYPEOF( type ) ( __typeof__ ( type ) ) +#else +#define FT_TYPEOF( type ) /* empty */ +#endif + + /* + * Mark a function declaration as internal to the library. This ensures + * that it will not be exposed by default to client code, and helps + * generate smaller and faster code on ELF-based platforms. Place this + * before a function declaration. + */ + + /* Visual C, mingw */ +#if defined( _WIN32 ) +#define FT_INTERNAL_FUNCTION_ATTRIBUTE /* empty */ + + /* gcc, clang */ +#elif ( defined( __GNUC__ ) && __GNUC__ >= 4 ) || defined( __clang__ ) +#define FT_INTERNAL_FUNCTION_ATTRIBUTE \ + __attribute__(( visibility( "hidden" ) )) + + /* Sun */ +#elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550 +#define FT_INTERNAL_FUNCTION_ATTRIBUTE __hidden + +#else +#define FT_INTERNAL_FUNCTION_ATTRIBUTE /* empty */ +#endif + + /* + * FreeType supports compilation of its C sources with a C++ compiler (in + * C++ mode); this introduces a number of subtle issues. + * + * The main one is that a C++ function declaration and its definition must + * have the same 'linkage'. Because all FreeType headers declare their + * functions with C linkage (i.e., within an `extern "C" { ... }` block + * due to the magic of FT_BEGIN_HEADER and FT_END_HEADER), their + * definition in FreeType sources should also be prefixed with `extern + * "C"` when compiled in C++ mode. + * + * The `FT_FUNCTION_DECLARATION` and `FT_FUNCTION_DEFINITION` macros are + * provided to deal with this case, as well as `FT_CALLBACK_DEF` and its + * siblings below. + */ + + /* + * `FT_FUNCTION_DECLARATION( type )` can be used to write a C function + * declaration to ensure it will have C linkage when the library is built + * with a C++ compiler. The parameter is the function's return type, so a + * declaration would look like + * + * FT_FUNCTION_DECLARATION( int ) + * foo( int x ); + * + * NOTE: This requires that all uses are inside of `FT_BEGIN_HEADER ... + * FT_END_HEADER` blocks, which guarantees that the declarations have C + * linkage when the headers are included by C++ sources. + * + * NOTE: Do not use directly. Use `FT_LOCAL`, `FT_BASE`, and `FT_EXPORT` + * instead. + */ +#define FT_FUNCTION_DECLARATION( x ) extern x + + /* + * Same as `FT_FUNCTION_DECLARATION`, but for function definitions instead. + * + * NOTE: Do not use directly. Use `FT_LOCAL_DEF`, `FT_BASE_DEF`, and + * `FT_EXPORT_DEF` instead. + */ +#ifdef __cplusplus +#define FT_FUNCTION_DEFINITION( x ) extern "C" x +#else +#define FT_FUNCTION_DEFINITION( x ) x +#endif + + /* + * Use `FT_LOCAL` and `FT_LOCAL_DEF` to declare and define, respectively, + * an internal FreeType function that is only used by the sources of a + * single `src/module/` directory. This ensures that the functions are + * turned into static ones at build time, resulting in smaller and faster + * code. + */ +#ifdef FT_MAKE_OPTION_SINGLE_OBJECT + +#define FT_LOCAL( x ) static x +#define FT_LOCAL_DEF( x ) static x + +#else + +#define FT_LOCAL( x ) FT_INTERNAL_FUNCTION_ATTRIBUTE \ + FT_FUNCTION_DECLARATION( x ) +#define FT_LOCAL_DEF( x ) FT_FUNCTION_DEFINITION( x ) + +#endif /* FT_MAKE_OPTION_SINGLE_OBJECT */ + + /* + * Use `FT_LOCAL_ARRAY` and `FT_LOCAL_ARRAY_DEF` to declare and define, + * respectively, a constant array that must be accessed from several + * sources in the same `src/module/` sub-directory, and which are internal + * to the library. + */ +#define FT_LOCAL_ARRAY( x ) FT_INTERNAL_FUNCTION_ATTRIBUTE \ + extern const x +#define FT_LOCAL_ARRAY_DEF( x ) FT_FUNCTION_DEFINITION( const x ) + + /* + * `Use FT_BASE` and `FT_BASE_DEF` to declare and define, respectively, an + * internal library function that is used by more than a single module. + */ +#define FT_BASE( x ) FT_INTERNAL_FUNCTION_ATTRIBUTE \ + FT_FUNCTION_DECLARATION( x ) +#define FT_BASE_DEF( x ) FT_FUNCTION_DEFINITION( x ) + + + /* + * NOTE: Conditionally define `FT_EXPORT_VAR` due to its definition in + * `src/smooth/ftgrays.h` to make the header more portable. + */ +#ifndef FT_EXPORT_VAR +#define FT_EXPORT_VAR( x ) FT_FUNCTION_DECLARATION( x ) +#endif + + /* + * When compiling FreeType as a DLL or DSO with hidden visibility, + * some systems/compilers need a special attribute in front OR after + * the return type of function declarations. + * + * Two macros are used within the FreeType source code to define + * exported library functions: `FT_EXPORT` and `FT_EXPORT_DEF`. + * + * - `FT_EXPORT( return_type )` + * + * is used in a function declaration, as in + * + * ``` + * FT_EXPORT( FT_Error ) + * FT_Init_FreeType( FT_Library* alibrary ); + * ``` + * + * - `FT_EXPORT_DEF( return_type )` + * + * is used in a function definition, as in + * + * ``` + * FT_EXPORT_DEF( FT_Error ) + * FT_Init_FreeType( FT_Library* alibrary ) + * { + * ... some code ... + * return FT_Err_Ok; + * } + * ``` + * + * You can provide your own implementation of `FT_EXPORT` and + * `FT_EXPORT_DEF` here if you want. + * + * To export a variable, use `FT_EXPORT_VAR`. + */ + + /* See `freetype/config/public-macros.h` for the `FT_EXPORT` definition */ +#define FT_EXPORT_DEF( x ) FT_FUNCTION_DEFINITION( x ) + + /* + * The following macros are needed to compile the library with a + * C++ compiler and with 16bit compilers. + */ + + /* + * This is special. Within C++, you must specify `extern "C"` for + * functions which are used via function pointers, and you also + * must do that for structures which contain function pointers to + * assure C linkage -- it's not possible to have (local) anonymous + * functions which are accessed by (global) function pointers. + * + * + * FT_CALLBACK_DEF is used to _define_ a callback function, + * located in the same source code file as the structure that uses + * it. FT_COMPARE_DEF, in addition, ensures the `cdecl` calling + * convention on x86, required by the C library function `qsort`. + * + * FT_BASE_CALLBACK and FT_BASE_CALLBACK_DEF are used to declare + * and define a callback function, respectively, in a similar way + * as FT_BASE and FT_BASE_DEF work. + * + * FT_CALLBACK_TABLE is used to _declare_ a constant variable that + * contains pointers to callback functions. + * + * FT_CALLBACK_TABLE_DEF is used to _define_ a constant variable + * that contains pointers to callback functions. + * + * + * Some 16bit compilers have to redefine these macros to insert + * the infamous `_cdecl` or `__fastcall` declarations. + */ +#ifdef __cplusplus +#define FT_CALLBACK_DEF( x ) extern "C" x +#else +#define FT_CALLBACK_DEF( x ) static x +#endif + +#if defined( __GNUC__ ) && defined( __i386__ ) +#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) __attribute__(( cdecl )) +#elif defined( _MSC_VER ) && defined( _M_IX86 ) +#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) __cdecl +#elif defined( __WATCOMC__ ) && __WATCOMC__ >= 1240 +#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) __watcall +#else +#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) +#endif + +#define FT_BASE_CALLBACK( x ) FT_FUNCTION_DECLARATION( x ) +#define FT_BASE_CALLBACK_DEF( x ) FT_FUNCTION_DEFINITION( x ) + +#ifndef FT_CALLBACK_TABLE +#ifdef __cplusplus +#define FT_CALLBACK_TABLE extern "C" +#define FT_CALLBACK_TABLE_DEF extern "C" +#else +#define FT_CALLBACK_TABLE extern +#define FT_CALLBACK_TABLE_DEF /* nothing */ +#endif +#endif /* FT_CALLBACK_TABLE */ + +FT_END_HEADER + +#endif /* INTERNAL_COMPILER_MACROS_H_ */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftcalc.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftcalc.h new file mode 100644 index 0000000..d1baa39 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftcalc.h @@ -0,0 +1,581 @@ +/**************************************************************************** + * + * ftcalc.h + * + * Arithmetic computations (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTCALC_H_ +#define FTCALC_H_ + + +#include + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * FT_MulDiv() and FT_MulFix() are declared in freetype.h. + * + */ + +#ifndef FT_CONFIG_OPTION_NO_ASSEMBLER + /* Provide assembler fragments for performance-critical functions. */ + /* These must be defined `static __inline__' with GCC. */ + +#if defined( __CC_ARM ) || defined( __ARMCC__ ) /* RVCT */ + +#define FT_MULFIX_ASSEMBLER FT_MulFix_arm + + /* documentation is in freetype.h */ + + static __inline FT_Int32 + FT_MulFix_arm( FT_Int32 a, + FT_Int32 b ) + { + FT_Int32 t, t2; + + + __asm + { + smull t2, t, b, a /* (lo=t2,hi=t) = a*b */ + mov a, t, asr #31 /* a = (hi >> 31) */ + add a, a, #0x8000 /* a += 0x8000 */ + adds t2, t2, a /* t2 += a */ + adc t, t, #0 /* t += carry */ + mov a, t2, lsr #16 /* a = t2 >> 16 */ + orr a, a, t, lsl #16 /* a |= t << 16 */ + } + return a; + } + +#endif /* __CC_ARM || __ARMCC__ */ + + +#ifdef __GNUC__ + +#if defined( __arm__ ) && \ + ( !defined( __thumb__ ) || defined( __thumb2__ ) ) && \ + !( defined( __CC_ARM ) || defined( __ARMCC__ ) ) + +#define FT_MULFIX_ASSEMBLER FT_MulFix_arm + + /* documentation is in freetype.h */ + + static __inline__ FT_Int32 + FT_MulFix_arm( FT_Int32 a, + FT_Int32 b ) + { + FT_Int32 t, t2; + + + __asm__ __volatile__ ( + "smull %1, %2, %4, %3\n\t" /* (lo=%1,hi=%2) = a*b */ + "mov %0, %2, asr #31\n\t" /* %0 = (hi >> 31) */ +#if defined( __clang__ ) && defined( __thumb2__ ) + "add.w %0, %0, #0x8000\n\t" /* %0 += 0x8000 */ +#else + "add %0, %0, #0x8000\n\t" /* %0 += 0x8000 */ +#endif + "adds %1, %1, %0\n\t" /* %1 += %0 */ + "adc %2, %2, #0\n\t" /* %2 += carry */ + "mov %0, %1, lsr #16\n\t" /* %0 = %1 >> 16 */ + "orr %0, %0, %2, lsl #16\n\t" /* %0 |= %2 << 16 */ + : "=r"(a), "=&r"(t2), "=&r"(t) + : "r"(a), "r"(b) + : "cc" ); + return a; + } + +#endif /* __arm__ && */ + /* ( __thumb2__ || !__thumb__ ) && */ + /* !( __CC_ARM || __ARMCC__ ) */ + + +#if defined( __i386__ ) + +#define FT_MULFIX_ASSEMBLER FT_MulFix_i386 + + /* documentation is in freetype.h */ + + static __inline__ FT_Int32 + FT_MulFix_i386( FT_Int32 a, + FT_Int32 b ) + { + FT_Int32 result; + + + __asm__ __volatile__ ( + "imul %%edx\n" + "movl %%edx, %%ecx\n" + "sarl $31, %%ecx\n" + "addl $0x8000, %%ecx\n" + "addl %%ecx, %%eax\n" + "adcl $0, %%edx\n" + "shrl $16, %%eax\n" + "shll $16, %%edx\n" + "addl %%edx, %%eax\n" + : "=a"(result), "=d"(b) + : "a"(a), "d"(b) + : "%ecx", "cc" ); + return result; + } + +#endif /* i386 */ + +#endif /* __GNUC__ */ + + +#ifdef _MSC_VER /* Visual C++ */ + +#ifdef _M_IX86 + +#define FT_MULFIX_ASSEMBLER FT_MulFix_i386 + + /* documentation is in freetype.h */ + + static __inline FT_Int32 + FT_MulFix_i386( FT_Int32 a, + FT_Int32 b ) + { + FT_Int32 result; + + __asm + { + mov eax, a + mov edx, b + imul edx + mov ecx, edx + sar ecx, 31 + add ecx, 8000h + add eax, ecx + adc edx, 0 + shr eax, 16 + shl edx, 16 + add eax, edx + mov result, eax + } + return result; + } + +#endif /* _M_IX86 */ + +#endif /* _MSC_VER */ + + +#if defined( __GNUC__ ) && defined( __x86_64__ ) + +#define FT_MULFIX_ASSEMBLER FT_MulFix_x86_64 + + static __inline__ FT_Int32 + FT_MulFix_x86_64( FT_Int32 a, + FT_Int32 b ) + { + /* Temporarily disable the warning that C90 doesn't support */ + /* `long long'. */ +#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 6 ) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wlong-long" +#endif + +#if 1 + /* Technically not an assembly fragment, but GCC does a really good */ + /* job at inlining it and generating good machine code for it. */ + long long ret, tmp; + + + ret = (long long)a * b; + tmp = ret >> 63; + ret += 0x8000 + tmp; + + return (FT_Int32)( ret >> 16 ); +#else + + /* For some reason, GCC 4.6 on Ubuntu 12.04 generates invalid machine */ + /* code from the lines below. The main issue is that `wide_a' is not */ + /* properly initialized by sign-extending `a'. Instead, the generated */ + /* machine code assumes that the register that contains `a' on input */ + /* can be used directly as a 64-bit value, which is wrong most of the */ + /* time. */ + long long wide_a = (long long)a; + long long wide_b = (long long)b; + long long result; + + + __asm__ __volatile__ ( + "imul %2, %1\n" + "mov %1, %0\n" + "sar $63, %0\n" + "lea 0x8000(%1, %0), %0\n" + "sar $16, %0\n" + : "=&r"(result), "=&r"(wide_a) + : "r"(wide_b) + : "cc" ); + + return (FT_Int32)result; +#endif + +#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 6 ) +#pragma GCC diagnostic pop +#endif + } + +#endif /* __GNUC__ && __x86_64__ */ + +#endif /* !FT_CONFIG_OPTION_NO_ASSEMBLER */ + + +#ifdef FT_CONFIG_OPTION_INLINE_MULFIX +#ifdef FT_MULFIX_ASSEMBLER +#define FT_MulFix( a, b ) FT_MULFIX_ASSEMBLER( (FT_Int32)(a), (FT_Int32)(b) ) +#endif +#endif + + + /************************************************************************** + * + * @function: + * FT_MulDiv_No_Round + * + * @description: + * A very simple function used to perform the computation '(a*b)/c' + * (without rounding) with maximum accuracy (it uses a 64-bit + * intermediate integer whenever necessary). + * + * This function isn't necessarily as fast as some processor-specific + * operations, but is at least completely portable. + * + * @input: + * a :: + * The first multiplier. + * b :: + * The second multiplier. + * c :: + * The divisor. + * + * @return: + * The result of '(a*b)/c'. This function never traps when trying to + * divide by zero; it simply returns 'MaxInt' or 'MinInt' depending on + * the signs of 'a' and 'b'. + */ + FT_BASE( FT_Long ) + FT_MulDiv_No_Round( FT_Long a, + FT_Long b, + FT_Long c ); + + + /************************************************************************** + * + * @function: + * FT_MulAddFix + * + * @description: + * Compute `(s[0] * f[0] + s[1] * f[1] + ...) / 0x10000`, where `s[n]` is + * usually a 16.16 scalar. + * + * @input: + * s :: + * The array of scalars. + * f :: + * The array of factors. + * count :: + * The number of entries in the array. + * + * @return: + * The result of `(s[0] * f[0] + s[1] * f[1] + ...) / 0x10000`. + * + * @note: + * This function is currently used for the scaled delta computation of + * variation stores. It internally uses 64-bit data types when + * available, otherwise it emulates 64-bit math by using 32-bit + * operations, which produce a correct result but most likely at a slower + * performance in comparison to the implementation base on `int64_t`. + * + */ + FT_BASE( FT_Int32 ) + FT_MulAddFix( FT_Fixed* s, + FT_Int32* f, + FT_UInt count ); + + + /* + * A variant of FT_Matrix_Multiply which scales its result afterwards. The + * idea is that both `a' and `b' are scaled by factors of 10 so that the + * values are as precise as possible to get a correct result during the + * 64bit multiplication. Let `sa' and `sb' be the scaling factors of `a' + * and `b', respectively, then the scaling factor of the result is `sa*sb'. + */ + FT_BASE( void ) + FT_Matrix_Multiply_Scaled( const FT_Matrix* a, + FT_Matrix *b, + FT_Long scaling ); + + + /* + * Check a matrix. If the transformation would lead to extreme shear or + * extreme scaling, for example, return 0. If everything is OK, return 1. + * + * Based on geometric considerations we use the following inequality to + * identify a degenerate matrix. + * + * 50 * abs(xx*yy - xy*yx) < xx^2 + xy^2 + yx^2 + yy^2 + * + * Value 50 is heuristic. + */ + FT_BASE( FT_Bool ) + FT_Matrix_Check( const FT_Matrix* matrix ); + + + /* + * A variant of FT_Vector_Transform. See comments for + * FT_Matrix_Multiply_Scaled. + */ + FT_BASE( void ) + FT_Vector_Transform_Scaled( FT_Vector* vector, + const FT_Matrix* matrix, + FT_Long scaling ); + + + /* + * This function normalizes a vector and returns its original length. The + * normalized vector is a 16.16 fixed-point unit vector with length close + * to 0x10000. The accuracy of the returned length is limited to 16 bits + * also. The function utilizes quick inverse square root approximation + * without divisions and square roots relying on Newton's iterations + * instead. + */ + FT_BASE( FT_UInt32 ) + FT_Vector_NormLen( FT_Vector* vector ); + + + /* + * Return -1, 0, or +1, depending on the orientation of a given corner. We + * use the Cartesian coordinate system, with positive vertical values going + * upwards. The function returns +1 if the corner turns to the left, -1 to + * the right, and 0 for undecidable cases. + */ + FT_BASE( FT_Int ) + ft_corner_orientation( FT_Pos in_x, + FT_Pos in_y, + FT_Pos out_x, + FT_Pos out_y ); + + + /* + * Return TRUE if a corner is flat or nearly flat. This is equivalent to + * saying that the corner point is close to its neighbors, or inside an + * ellipse defined by the neighbor focal points to be more precise. + */ + FT_BASE( FT_Int ) + ft_corner_is_flat( FT_Pos in_x, + FT_Pos in_y, + FT_Pos out_x, + FT_Pos out_y ); + + + /* + * Return the most significant bit index. + */ + +#ifndef FT_CONFIG_OPTION_NO_ASSEMBLER + +#if defined( __clang__ ) || ( defined( __GNUC__ ) && \ + ( __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 4 ) ) ) + +#if FT_SIZEOF_INT == 4 + +#define FT_MSB( x ) ( 31 - __builtin_clz( x ) ) + +#elif FT_SIZEOF_LONG == 4 + +#define FT_MSB( x ) ( 31 - __builtin_clzl( x ) ) + +#endif + +#elif defined( _MSC_VER ) && _MSC_VER >= 1400 + +#if defined( _WIN32_WCE ) + +#include +#pragma intrinsic( _CountLeadingZeros ) + +#define FT_MSB( x ) ( 31 - _CountLeadingZeros( x ) ) + +#elif defined( _M_ARM64 ) || defined( _M_ARM ) + +#include +#pragma intrinsic( _CountLeadingZeros ) + +#define FT_MSB( x ) ( 31 - _CountLeadingZeros( x ) ) + +#elif defined( _M_IX86 ) || defined( _M_AMD64 ) || defined( _M_IA64 ) + +#include +#pragma intrinsic( _BitScanReverse ) + + static __inline FT_Int32 + FT_MSB_i386( FT_UInt32 x ) + { + unsigned long where; + + + _BitScanReverse( &where, x ); + + return (FT_Int32)where; + } + +#define FT_MSB( x ) FT_MSB_i386( x ) + +#endif + +#elif defined( __WATCOMC__ ) && defined( __386__ ) + + extern __inline FT_Int32 + FT_MSB_i386( FT_UInt32 x ); + +#pragma aux FT_MSB_i386 = \ + "bsr eax, eax" \ + __parm [__eax] __nomemory \ + __value [__eax] \ + __modify __exact [__eax] __nomemory; + +#define FT_MSB( x ) FT_MSB_i386( x ) + +#elif defined( __DECC ) || defined( __DECCXX ) + +#include + +#define FT_MSB( x ) (FT_Int)( 63 - _leadz( x ) ) + +#elif defined( _CRAYC ) + +#include + +#define FT_MSB( x ) (FT_Int)( 31 - _leadz32( x ) ) + +#endif /* FT_MSB macro definitions */ + +#endif /* !FT_CONFIG_OPTION_NO_ASSEMBLER */ + + +#ifndef FT_MSB + + FT_BASE( FT_Int ) + FT_MSB( FT_UInt32 z ); + +#endif + + + /* + * Return sqrt(x*x+y*y), which is the same as `FT_Vector_Length' but uses + * two fixed-point arguments instead. + */ + FT_BASE( FT_Fixed ) + FT_Hypot( FT_Fixed x, + FT_Fixed y ); + + +#if 0 + + /************************************************************************** + * + * @function: + * FT_SqrtFixed + * + * @description: + * Computes the square root of a 16.16 fixed-point value. + * + * @input: + * x :: + * The value to compute the root for. + * + * @return: + * The result of 'sqrt(x)'. + * + * @note: + * This function is not very fast. + */ + FT_BASE( FT_Int32 ) + FT_SqrtFixed( FT_Int32 x ); + +#endif /* 0 */ + + +#define INT_TO_F26DOT6( x ) ( (FT_Long)(x) * 64 ) /* << 6 */ +#define INT_TO_F2DOT14( x ) ( (FT_Long)(x) * 16384 ) /* << 14 */ +#define INT_TO_FIXED( x ) ( (FT_Long)(x) * 65536 ) /* << 16 */ +#define F2DOT14_TO_FIXED( x ) ( (FT_Long)(x) * 4 ) /* << 2 */ +#define FIXED_TO_INT( x ) ( FT_RoundFix( x ) >> 16 ) + +#define ROUND_F26DOT6( x ) ( ( (x) + 32 - ( x < 0 ) ) & -64 ) + + /* + * The following macros have two purposes. + * + * - Tag places where overflow is expected and harmless. + * + * - Avoid run-time sanitizer errors. + * + * Use with care! + */ +#define ADD_INT( a, b ) \ + (FT_Int)( (FT_UInt)(a) + (FT_UInt)(b) ) +#define SUB_INT( a, b ) \ + (FT_Int)( (FT_UInt)(a) - (FT_UInt)(b) ) +#define MUL_INT( a, b ) \ + (FT_Int)( (FT_UInt)(a) * (FT_UInt)(b) ) +#define NEG_INT( a ) \ + (FT_Int)( (FT_UInt)0 - (FT_UInt)(a) ) + +#define ADD_LONG( a, b ) \ + (FT_Long)( (FT_ULong)(a) + (FT_ULong)(b) ) +#define SUB_LONG( a, b ) \ + (FT_Long)( (FT_ULong)(a) - (FT_ULong)(b) ) +#define MUL_LONG( a, b ) \ + (FT_Long)( (FT_ULong)(a) * (FT_ULong)(b) ) +#define NEG_LONG( a ) \ + (FT_Long)( (FT_ULong)0 - (FT_ULong)(a) ) + +#define ADD_INT32( a, b ) \ + (FT_Int32)( (FT_UInt32)(a) + (FT_UInt32)(b) ) +#define SUB_INT32( a, b ) \ + (FT_Int32)( (FT_UInt32)(a) - (FT_UInt32)(b) ) +#define MUL_INT32( a, b ) \ + (FT_Int32)( (FT_UInt32)(a) * (FT_UInt32)(b) ) +#define NEG_INT32( a ) \ + (FT_Int32)( (FT_UInt32)0 - (FT_UInt32)(a) ) + +#ifdef FT_INT64 + +#define ADD_INT64( a, b ) \ + (FT_Int64)( (FT_UInt64)(a) + (FT_UInt64)(b) ) +#define SUB_INT64( a, b ) \ + (FT_Int64)( (FT_UInt64)(a) - (FT_UInt64)(b) ) +#define MUL_INT64( a, b ) \ + (FT_Int64)( (FT_UInt64)(a) * (FT_UInt64)(b) ) +#define NEG_INT64( a ) \ + (FT_Int64)( (FT_UInt64)0 - (FT_UInt64)(a) ) + +#endif /* FT_INT64 */ + + +FT_END_HEADER + +#endif /* FTCALC_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdebug.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdebug.h new file mode 100644 index 0000000..4e013ba --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdebug.h @@ -0,0 +1,442 @@ +/**************************************************************************** + * + * ftdebug.h + * + * Debugging and logging component (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + * + * IMPORTANT: A description of FreeType's debugging support can be + * found in 'docs/DEBUG.TXT'. Read it if you need to use or + * understand this code. + * + */ + + +#ifndef FTDEBUG_H_ +#define FTDEBUG_H_ + + +#include +#include FT_CONFIG_CONFIG_H +#include + +#include "compiler-macros.h" + +#ifdef FT_DEBUG_LOGGING +#define DLG_STATIC +#include +#include + +#include +#endif /* FT_DEBUG_LOGGING */ + + +FT_BEGIN_HEADER + + /* force the definition of FT_DEBUG_LEVEL_TRACE if FT_DEBUG_LOGGING is */ + /* already defined. */ + /* */ +#ifdef FT_DEBUG_LOGGING +#undef FT_DEBUG_LEVEL_TRACE +#define FT_DEBUG_LEVEL_TRACE +#endif + + /* force the definition of FT_DEBUG_LEVEL_ERROR if FT_DEBUG_LEVEL_TRACE */ + /* is already defined; this simplifies the following #ifdefs */ + /* */ +#ifdef FT_DEBUG_LEVEL_TRACE +#undef FT_DEBUG_LEVEL_ERROR +#define FT_DEBUG_LEVEL_ERROR +#endif + + + /************************************************************************** + * + * Define the trace enums as well as the trace levels array when they are + * needed. + * + */ + +#ifdef FT_DEBUG_LEVEL_TRACE + +#define FT_TRACE_DEF( x ) trace_ ## x , + + /* defining the enumeration */ + typedef enum FT_Trace_ + { +#include + trace_count + + } FT_Trace; + + + /* a pointer to the array of trace levels, */ + /* provided by `src/base/ftdebug.c' */ + extern int* ft_trace_levels; + +#undef FT_TRACE_DEF + +#endif /* FT_DEBUG_LEVEL_TRACE */ + + + /************************************************************************** + * + * Define the FT_TRACE macro + * + * IMPORTANT! + * + * Each component must define the macro FT_COMPONENT to a valid FT_Trace + * value before using any TRACE macro. + * + * To get consistent logging output, there should be no newline character + * (i.e., '\n') or a single trailing one in the message string of + * `FT_TRACEx` and `FT_ERROR`. + */ + + + /************************************************************************* + * + * If FT_DEBUG_LOGGING is enabled, tracing messages are sent to dlg's API. + * If FT_DEBUG_LOGGING is disabled, tracing messages are sent to + * `FT_Message` (defined in ftdebug.c). + */ +#ifdef FT_DEBUG_LOGGING + + /* we need two macros to convert the names of `FT_COMPONENT` to a string */ +#define FT_LOGGING_TAG( x ) FT_LOGGING_TAG_( x ) +#define FT_LOGGING_TAG_( x ) #x + + /* we need two macros to convert the component and the trace level */ + /* to a string that combines them */ +#define FT_LOGGING_TAGX( x, y ) FT_LOGGING_TAGX_( x, y ) +#define FT_LOGGING_TAGX_( x, y ) #x ":" #y + + +#define FT_LOG( level, varformat ) \ + do \ + { \ + const char* dlg_tag = FT_LOGGING_TAGX( FT_COMPONENT, level ); \ + \ + \ + ft_add_tag( dlg_tag ); \ + if ( ft_trace_levels[FT_TRACE_COMP( FT_COMPONENT )] >= level ) \ + { \ + if ( custom_output_handler != NULL ) \ + FT_Logging_Callback varformat; \ + else \ + dlg_trace varformat; \ + } \ + ft_remove_tag( dlg_tag ); \ + } while( 0 ) + +#else /* !FT_DEBUG_LOGGING */ + +#define FT_LOG( level, varformat ) \ + do \ + { \ + if ( ft_trace_levels[FT_TRACE_COMP( FT_COMPONENT )] >= level ) \ + FT_Message varformat; \ + } while ( 0 ) + +#endif /* !FT_DEBUG_LOGGING */ + + +#ifdef FT_DEBUG_LEVEL_TRACE + + /* we need two macros here to make cpp expand `FT_COMPONENT' */ +#define FT_TRACE_COMP( x ) FT_TRACE_COMP_( x ) +#define FT_TRACE_COMP_( x ) trace_ ## x + +#define FT_TRACE( level, varformat ) FT_LOG( level, varformat ) + +#else /* !FT_DEBUG_LEVEL_TRACE */ + +#define FT_TRACE( level, varformat ) do { } while ( 0 ) /* nothing */ + +#endif /* !FT_DEBUG_LEVEL_TRACE */ + + + /************************************************************************** + * + * @function: + * FT_Trace_Get_Count + * + * @description: + * Return the number of available trace components. + * + * @return: + * The number of trace components. 0 if FreeType 2 is not built with + * FT_DEBUG_LEVEL_TRACE definition. + * + * @note: + * This function may be useful if you want to access elements of the + * internal trace levels array by an index. + */ + FT_BASE( FT_Int ) + FT_Trace_Get_Count( void ); + + + /************************************************************************** + * + * @function: + * FT_Trace_Get_Name + * + * @description: + * Return the name of a trace component. + * + * @input: + * The index of the trace component. + * + * @return: + * The name of the trace component. This is a statically allocated + * C~string, so do not free it after use. `NULL` if FreeType is not + * built with FT_DEBUG_LEVEL_TRACE definition. + * + * @note: + * Use @FT_Trace_Get_Count to get the number of available trace + * components. + */ + FT_BASE( const char* ) + FT_Trace_Get_Name( FT_Int idx ); + + + /************************************************************************** + * + * @function: + * FT_Trace_Disable + * + * @description: + * Switch off tracing temporarily. It can be activated again with + * @FT_Trace_Enable. + */ + FT_BASE( void ) + FT_Trace_Disable( void ); + + + /************************************************************************** + * + * @function: + * FT_Trace_Enable + * + * @description: + * Activate tracing. Use it after tracing has been switched off with + * @FT_Trace_Disable. + */ + FT_BASE( void ) + FT_Trace_Enable( void ); + + + /************************************************************************** + * + * You need two opening and closing parentheses! + * + * Example: FT_TRACE0(( "Value is %i", foo )) + * + * Output of the FT_TRACEX macros is sent to stderr. + * + */ + +#define FT_TRACE0( varformat ) FT_TRACE( 0, varformat ) +#define FT_TRACE1( varformat ) FT_TRACE( 1, varformat ) +#define FT_TRACE2( varformat ) FT_TRACE( 2, varformat ) +#define FT_TRACE3( varformat ) FT_TRACE( 3, varformat ) +#define FT_TRACE4( varformat ) FT_TRACE( 4, varformat ) +#define FT_TRACE5( varformat ) FT_TRACE( 5, varformat ) +#define FT_TRACE6( varformat ) FT_TRACE( 6, varformat ) +#define FT_TRACE7( varformat ) FT_TRACE( 7, varformat ) + + + /************************************************************************** + * + * Define the FT_ERROR macro. + * + * Output of this macro is sent to stderr. + * + */ + +#ifdef FT_DEBUG_LEVEL_ERROR + + /************************************************************************** + * + * If FT_DEBUG_LOGGING is enabled, error messages are sent to dlg's API. + * If FT_DEBUG_LOGGING is disabled, error messages are sent to `FT_Message` + * (defined in ftdebug.c). + * + */ +#ifdef FT_DEBUG_LOGGING + +#define FT_ERROR( varformat ) \ + do \ + { \ + const char* dlg_tag = FT_LOGGING_TAG( FT_COMPONENT ); \ + \ + \ + ft_add_tag( dlg_tag ); \ + dlg_trace varformat; \ + ft_remove_tag( dlg_tag ); \ + } while ( 0 ) + +#else /* !FT_DEBUG_LOGGING */ + +#define FT_ERROR( varformat ) FT_Message varformat + +#endif /* !FT_DEBUG_LOGGING */ + + +#else /* !FT_DEBUG_LEVEL_ERROR */ + +#define FT_ERROR( varformat ) do { } while ( 0 ) /* nothing */ + +#endif /* !FT_DEBUG_LEVEL_ERROR */ + + + /************************************************************************** + * + * Define the FT_ASSERT and FT_THROW macros. The call to `FT_Throw` makes + * it possible to easily set a breakpoint at this function. + * + */ + +#ifdef FT_DEBUG_LEVEL_ERROR + +#define FT_ASSERT( condition ) \ + do \ + { \ + if ( !( condition ) ) \ + FT_Panic( "assertion failed on line %d of file %s\n", \ + __LINE__, __FILE__ ); \ + } while ( 0 ) + +#define FT_THROW( e ) \ + ( FT_Throw( FT_ERR_CAT( FT_ERR_PREFIX, e ), \ + __LINE__, \ + __FILE__ ) | \ + FT_ERR_CAT( FT_ERR_PREFIX, e ) ) + +#else /* !FT_DEBUG_LEVEL_ERROR */ + +#define FT_ASSERT( condition ) do { } while ( 0 ) + +#define FT_THROW( e ) FT_ERR_CAT( FT_ERR_PREFIX, e ) + +#endif /* !FT_DEBUG_LEVEL_ERROR */ + + + /************************************************************************** + * + * Define `FT_Message` and `FT_Panic` when needed. + * + */ + +#ifdef FT_DEBUG_LEVEL_ERROR + +#include "stdio.h" /* for vfprintf() */ + + /* print a message */ + FT_BASE( void ) + FT_Message( const char* fmt, + ... ); + + /* print a message and exit */ + FT_BASE( void ) + FT_Panic( const char* fmt, + ... ); + + /* report file name and line number of an error */ + FT_BASE( int ) + FT_Throw( FT_Error error, + int line, + const char* file ); + +#endif /* FT_DEBUG_LEVEL_ERROR */ + + + FT_BASE( void ) + ft_debug_init( void ); + + +#ifdef FT_DEBUG_LOGGING + + /************************************************************************** + * + * 'dlg' uses output handlers to control how and where log messages are + * printed. Therefore we need to define a default output handler for + * FreeType. + */ + FT_BASE( void ) + ft_log_handler( const struct dlg_origin* origin, + const char* string, + void* data ); + + + /************************************************************************** + * + * 1. `ft_default_log_handler` stores the function pointer that is used + * internally by FreeType to print logs to a file. + * + * 2. `custom_output_handler` stores the function pointer to the callback + * function provided by the user. + * + * It is defined in `ftdebug.c`. + */ + extern dlg_handler ft_default_log_handler; + extern FT_Custom_Log_Handler custom_output_handler; + + + /************************************************************************** + * + * If FT_DEBUG_LOGGING macro is enabled, FreeType needs to initialize and + * un-initialize `FILE*`. + * + * These functions are defined in `ftdebug.c`. + */ + FT_BASE( void ) + ft_logging_init( void ); + + FT_BASE( void ) + ft_logging_deinit( void ); + + + /************************************************************************** + * + * For printing the name of `FT_COMPONENT` along with the actual log we + * need to add a tag with the name of `FT_COMPONENT`. + * + * These functions are defined in `ftdebug.c`. + */ + FT_BASE( void ) + ft_add_tag( const char* tag ); + + FT_BASE( void ) + ft_remove_tag( const char* tag ); + + + /************************************************************************** + * + * A function to print log data using a custom callback logging function + * (which is set using `FT_Set_Log_Handler`). + * + * This function is defined in `ftdebug.c`. + */ + FT_BASE( void ) + FT_Logging_Callback( const char* fmt, + ... ); + +#endif /* FT_DEBUG_LOGGING */ + + +FT_END_HEADER + +#endif /* FTDEBUG_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdrv.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdrv.h new file mode 100644 index 0000000..9001c07 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftdrv.h @@ -0,0 +1,289 @@ +/**************************************************************************** + * + * ftdrv.h + * + * FreeType internal font driver interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTDRV_H_ +#define FTDRV_H_ + + +#include + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + typedef FT_Error + (*FT_Face_InitFunc)( FT_Stream stream, + FT_Face face, + FT_Int typeface_index, + FT_Int num_params, + FT_Parameter* parameters ); + + typedef void + (*FT_Face_DoneFunc)( FT_Face face ); + + + typedef FT_Error + (*FT_Size_InitFunc)( FT_Size size ); + + typedef void + (*FT_Size_DoneFunc)( FT_Size size ); + + + typedef FT_Error + (*FT_Slot_InitFunc)( FT_GlyphSlot slot ); + + typedef void + (*FT_Slot_DoneFunc)( FT_GlyphSlot slot ); + + + typedef FT_Error + (*FT_Size_RequestFunc)( FT_Size size, + FT_Size_Request req ); + + typedef FT_Error + (*FT_Size_SelectFunc)( FT_Size size, + FT_ULong size_index ); + + typedef FT_Error + (*FT_Slot_LoadFunc)( FT_GlyphSlot slot, + FT_Size size, + FT_UInt glyph_index, + FT_Int32 load_flags ); + + + typedef FT_Error + (*FT_Face_GetKerningFunc)( FT_Face face, + FT_UInt left_glyph, + FT_UInt right_glyph, + FT_Vector* kerning ); + + + typedef FT_Error + (*FT_Face_AttachFunc)( FT_Face face, + FT_Stream stream ); + + + typedef FT_Error + (*FT_Face_GetAdvancesFunc)( FT_Face face, + FT_UInt first, + FT_UInt count, + FT_Int32 flags, + FT_Fixed* advances ); + + + /************************************************************************** + * + * @struct: + * FT_Driver_ClassRec + * + * @description: + * The font driver class. This structure mostly contains pointers to + * driver methods. + * + * @fields: + * root :: + * The parent module. + * + * face_object_size :: + * The size of a face object in bytes. + * + * size_object_size :: + * The size of a size object in bytes. + * + * slot_object_size :: + * The size of a glyph object in bytes. + * + * init_face :: + * The format-specific face constructor. + * + * done_face :: + * The format-specific face destructor. + * + * init_size :: + * The format-specific size constructor. + * + * done_size :: + * The format-specific size destructor. + * + * init_slot :: + * The format-specific slot constructor. + * + * done_slot :: + * The format-specific slot destructor. + * + * + * load_glyph :: + * A function handle to load a glyph to a slot. This field is + * mandatory! + * + * get_kerning :: + * A function handle to return the unscaled kerning for a given pair of + * glyphs. Can be set to 0 if the format doesn't support kerning. + * + * attach_file :: + * This function handle is used to read additional data for a face from + * another file/stream. For example, this can be used to add data from + * AFM or PFM files on a Type 1 face, or a CIDMap on a CID-keyed face. + * + * get_advances :: + * A function handle used to return advance widths of 'count' glyphs + * (in font units), starting at 'first'. The 'vertical' flag must be + * set to get vertical advance heights. The 'advances' buffer is + * caller-allocated. The idea of this function is to be able to + * perform device-independent text layout without loading a single + * glyph image. + * + * request_size :: + * A handle to a function used to request the new character size. Can + * be set to 0 if the scaling done in the base layer suffices. + * + * select_size :: + * A handle to a function used to select a new fixed size. It is used + * only if @FT_FACE_FLAG_FIXED_SIZES is set. Can be set to 0 if the + * scaling done in the base layer suffices. + * + * @note: + * Most function pointers, with the exception of `load_glyph`, can be set + * to 0 to indicate a default behaviour. + */ + typedef struct FT_Driver_ClassRec_ + { + FT_Module_Class root; + + FT_Long face_object_size; + FT_Long size_object_size; + FT_Long slot_object_size; + + FT_Face_InitFunc init_face; + FT_Face_DoneFunc done_face; + + FT_Size_InitFunc init_size; + FT_Size_DoneFunc done_size; + + FT_Slot_InitFunc init_slot; + FT_Slot_DoneFunc done_slot; + + FT_Slot_LoadFunc load_glyph; + + FT_Face_GetKerningFunc get_kerning; + FT_Face_AttachFunc attach_file; + FT_Face_GetAdvancesFunc get_advances; + + /* since version 2.2 */ + FT_Size_RequestFunc request_size; + FT_Size_SelectFunc select_size; + + } FT_Driver_ClassRec, *FT_Driver_Class; + + + /************************************************************************** + * + * @macro: + * FT_DECLARE_DRIVER + * + * @description: + * Used to create a forward declaration of an FT_Driver_ClassRec struct + * instance. + * + * @macro: + * FT_DEFINE_DRIVER + * + * @description: + * Used to initialize an instance of FT_Driver_ClassRec struct. + * + * `ftinit.c` (ft_create_default_module_classes) already contains a + * mechanism to call these functions for the default modules described in + * `ftmodule.h`. + * + * The struct will be allocated in the global scope (or the scope where + * the macro is used). + */ +#define FT_DECLARE_DRIVER( class_ ) \ + FT_CALLBACK_TABLE \ + const FT_Driver_ClassRec class_; + +#define FT_DEFINE_DRIVER( \ + class_, \ + flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_, \ + face_object_size_, \ + size_object_size_, \ + slot_object_size_, \ + init_face_, \ + done_face_, \ + init_size_, \ + done_size_, \ + init_slot_, \ + done_slot_, \ + load_glyph_, \ + get_kerning_, \ + attach_file_, \ + get_advances_, \ + request_size_, \ + select_size_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_Driver_ClassRec class_ = \ + { \ + FT_DEFINE_ROOT_MODULE( flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_ ) \ + \ + face_object_size_, \ + size_object_size_, \ + slot_object_size_, \ + \ + init_face_, \ + done_face_, \ + \ + init_size_, \ + done_size_, \ + \ + init_slot_, \ + done_slot_, \ + \ + load_glyph_, \ + \ + get_kerning_, \ + attach_file_, \ + get_advances_, \ + \ + request_size_, \ + select_size_ \ + }; + + +FT_END_HEADER + +#endif /* FTDRV_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftgloadr.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftgloadr.h new file mode 100644 index 0000000..36e5509 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftgloadr.h @@ -0,0 +1,147 @@ +/**************************************************************************** + * + * ftgloadr.h + * + * The FreeType glyph loader (specification). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTGLOADR_H_ +#define FTGLOADR_H_ + + +#include + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @struct: + * FT_GlyphLoader + * + * @description: + * The glyph loader is an internal object used to load several glyphs + * together (for example, in the case of composites). + */ + typedef struct FT_SubGlyphRec_ + { + FT_Int index; + FT_UShort flags; + FT_Int arg1; + FT_Int arg2; + FT_Matrix transform; + + } FT_SubGlyphRec; + + + typedef struct FT_GlyphLoadRec_ + { + FT_Outline outline; /* outline */ + FT_Vector* extra_points; /* extra points table */ + FT_Vector* extra_points2; /* second extra points table */ + FT_UInt num_subglyphs; /* number of subglyphs */ + FT_SubGlyph subglyphs; /* subglyphs */ + + } FT_GlyphLoadRec, *FT_GlyphLoad; + + + typedef struct FT_GlyphLoaderRec_ + { + FT_Memory memory; + FT_UInt max_points; + FT_UInt max_contours; + FT_UInt max_subglyphs; + FT_Bool use_extra; + + FT_GlyphLoadRec base; + FT_GlyphLoadRec current; + + void* other; /* for possible future extension? */ + + } FT_GlyphLoaderRec, *FT_GlyphLoader; + + + /* create new empty glyph loader */ + FT_BASE( FT_Error ) + FT_GlyphLoader_New( FT_Memory memory, + FT_GlyphLoader *aloader ); + + /* add an extra points table to a glyph loader */ + FT_BASE( FT_Error ) + FT_GlyphLoader_CreateExtra( FT_GlyphLoader loader ); + + /* destroy a glyph loader */ + FT_BASE( void ) + FT_GlyphLoader_Done( FT_GlyphLoader loader ); + + /* reset a glyph loader (frees everything int it) */ + FT_BASE( void ) + FT_GlyphLoader_Reset( FT_GlyphLoader loader ); + + /* rewind a glyph loader */ + FT_BASE( void ) + FT_GlyphLoader_Rewind( FT_GlyphLoader loader ); + + /* check that there is enough space to add `n_points' and `n_contours' */ + /* to the glyph loader */ + FT_BASE( FT_Error ) + FT_GlyphLoader_CheckPoints( FT_GlyphLoader loader, + FT_UInt n_points, + FT_UInt n_contours ); + + +#define FT_GLYPHLOADER_CHECK_P( _loader, _count ) \ + ( (_count) == 0 || \ + ( (FT_UInt)(_loader)->base.outline.n_points + \ + (FT_UInt)(_loader)->current.outline.n_points + \ + (FT_UInt)(_count) ) <= (_loader)->max_points ) + +#define FT_GLYPHLOADER_CHECK_C( _loader, _count ) \ + ( (_count) == 0 || \ + ( (FT_UInt)(_loader)->base.outline.n_contours + \ + (FT_UInt)(_loader)->current.outline.n_contours + \ + (FT_UInt)(_count) ) <= (_loader)->max_contours ) + +#define FT_GLYPHLOADER_CHECK_POINTS( _loader, _points, _contours ) \ + ( ( FT_GLYPHLOADER_CHECK_P( _loader, _points ) && \ + FT_GLYPHLOADER_CHECK_C( _loader, _contours ) ) \ + ? 0 \ + : FT_GlyphLoader_CheckPoints( (_loader), \ + (FT_UInt)(_points), \ + (FT_UInt)(_contours) ) ) + + + /* check that there is enough space to add `n_subs' sub-glyphs to */ + /* a glyph loader */ + FT_BASE( FT_Error ) + FT_GlyphLoader_CheckSubGlyphs( FT_GlyphLoader loader, + FT_UInt n_subs ); + + /* prepare a glyph loader, i.e. empty the current glyph */ + FT_BASE( void ) + FT_GlyphLoader_Prepare( FT_GlyphLoader loader ); + + /* add the current glyph to the base glyph */ + FT_BASE( void ) + FT_GlyphLoader_Add( FT_GlyphLoader loader ); + + +FT_END_HEADER + +#endif /* FTGLOADR_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fthash.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fthash.h new file mode 100644 index 0000000..622ec76 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fthash.h @@ -0,0 +1,135 @@ +/**************************************************************************** + * + * fthash.h + * + * Hashing functions (specification). + * + */ + +/* + * Copyright 2000 Computing Research Labs, New Mexico State University + * Copyright 2001-2015 + * Francesco Zappa Nardelli + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + + /************************************************************************** + * + * This file is based on code from bdf.c,v 1.22 2000/03/16 20:08:50 + * + * taken from Mark Leisher's xmbdfed package + * + */ + + +#ifndef FTHASH_H_ +#define FTHASH_H_ + + +#include + + +FT_BEGIN_HEADER + + + typedef union FT_Hashkey_ + { + FT_Int num; + const char* str; + + } FT_Hashkey; + + + typedef struct FT_HashnodeRec_ + { + FT_Hashkey key; + size_t data; + + } FT_HashnodeRec; + + typedef struct FT_HashnodeRec_ *FT_Hashnode; + + + typedef FT_ULong + (*FT_Hash_LookupFunc)( FT_Hashkey* key ); + + typedef FT_Bool + (*FT_Hash_CompareFunc)( FT_Hashkey* a, + FT_Hashkey* b ); + + + typedef struct FT_HashRec_ + { + FT_UInt limit; + FT_UInt size; + FT_UInt used; + + FT_Hash_LookupFunc lookup; + FT_Hash_CompareFunc compare; + + FT_Hashnode* table; + + } FT_HashRec; + + typedef struct FT_HashRec_ *FT_Hash; + + + FT_Error + ft_hash_str_init( FT_Hash hash, + FT_Memory memory ); + + FT_Error + ft_hash_num_init( FT_Hash hash, + FT_Memory memory ); + + void + ft_hash_str_free( FT_Hash hash, + FT_Memory memory ); + +#define ft_hash_num_free ft_hash_str_free + + FT_Error + ft_hash_str_insert( const char* key, + size_t data, + FT_Hash hash, + FT_Memory memory ); + + FT_Error + ft_hash_num_insert( FT_Int num, + size_t data, + FT_Hash hash, + FT_Memory memory ); + + size_t* + ft_hash_str_lookup( const char* key, + FT_Hash hash ); + + size_t* + ft_hash_num_lookup( FT_Int num, + FT_Hash hash ); + + +FT_END_HEADER + + +#endif /* FTHASH_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmemory.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmemory.h new file mode 100644 index 0000000..5eb1d21 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmemory.h @@ -0,0 +1,398 @@ +/**************************************************************************** + * + * ftmemory.h + * + * The FreeType memory management macros (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTMEMORY_H_ +#define FTMEMORY_H_ + + +#include +#include FT_CONFIG_CONFIG_H +#include + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @macro: + * FT_SET_ERROR + * + * @description: + * This macro is used to set an implicit 'error' variable to a given + * expression's value (usually a function call), and convert it to a + * boolean which is set whenever the value is != 0. + */ +#undef FT_SET_ERROR +#define FT_SET_ERROR( expression ) \ + ( ( error = (expression) ) != 0 ) + + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** M E M O R Y ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /* The calculation `NULL + n' is undefined in C. Even if the resulting */ + /* pointer doesn't get dereferenced, this causes warnings with */ + /* sanitizers. */ + /* */ + /* We thus provide a macro that should be used if `base' can be NULL. */ +#define FT_OFFSET( base, count ) ( (base) ? (base) + (count) : NULL ) + + + /* + * C++ refuses to handle statements like p = (void*)anything, with `p' a + * typed pointer. Since we don't have a `typeof' operator in standard C++, + * we have to use a template to emulate it. + */ + +#ifdef __cplusplus + +extern "C++" +{ + template inline T* + cplusplus_typeof( T*, + void *v ) + { + return static_cast ( v ); + } +} + +#define FT_ASSIGNP( p, val ) (p) = cplusplus_typeof( (p), (val) ) + +#else + +#define FT_ASSIGNP( p, val ) (p) = (val) + +#endif + + + +#ifdef FT_DEBUG_MEMORY + + FT_BASE( const char* ) ft_debug_file_; + FT_BASE( long ) ft_debug_lineno_; + +#define FT_DEBUG_INNER( exp ) ( ft_debug_file_ = __FILE__, \ + ft_debug_lineno_ = __LINE__, \ + (exp) ) + +#define FT_ASSIGNP_INNER( p, exp ) ( ft_debug_file_ = __FILE__, \ + ft_debug_lineno_ = __LINE__, \ + FT_ASSIGNP( p, exp ) ) + +#else /* !FT_DEBUG_MEMORY */ + +#define FT_DEBUG_INNER( exp ) (exp) +#define FT_ASSIGNP_INNER( p, exp ) FT_ASSIGNP( p, exp ) + +#endif /* !FT_DEBUG_MEMORY */ + + + /* + * The allocation functions return a pointer, and the error code is written + * to through the `p_error' parameter. + */ + + /* The `q' variants of the functions below (`q' for `quick') don't fill */ + /* the allocated or reallocated memory with zero bytes. */ + + FT_BASE( FT_Pointer ) + ft_mem_alloc( FT_Memory memory, + FT_Long size, + FT_Error *p_error ); + + FT_BASE( FT_Pointer ) + ft_mem_qalloc( FT_Memory memory, + FT_Long size, + FT_Error *p_error ); + + FT_BASE( FT_Pointer ) + ft_mem_realloc( FT_Memory memory, + FT_Long item_size, + FT_Long cur_count, + FT_Long new_count, + void* block, + FT_Error *p_error ); + + FT_BASE( FT_Pointer ) + ft_mem_qrealloc( FT_Memory memory, + FT_Long item_size, + FT_Long cur_count, + FT_Long new_count, + void* block, + FT_Error *p_error ); + + FT_BASE( void ) + ft_mem_free( FT_Memory memory, + const void* P ); + + + /* The `Q' variants of the macros below (`Q' for `quick') don't fill */ + /* the allocated or reallocated memory with zero bytes. */ + +#define FT_MEM_ALLOC( ptr, size ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \ + (FT_Long)(size), \ + &error ) ) + +#define FT_MEM_FREE( ptr ) \ + FT_BEGIN_STMNT \ + FT_DEBUG_INNER( ft_mem_free( memory, (ptr) ) ); \ + (ptr) = NULL; \ + FT_END_STMNT + +#define FT_MEM_NEW( ptr ) \ + FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) + +#define FT_MEM_REALLOC( ptr, cursz, newsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ + 1, \ + (FT_Long)(cursz), \ + (FT_Long)(newsz), \ + (ptr), \ + &error ) ) + +#define FT_MEM_QALLOC( ptr, size ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qalloc( memory, \ + (FT_Long)(size), \ + &error ) ) + +#define FT_MEM_QNEW( ptr ) \ + FT_MEM_QALLOC( ptr, sizeof ( *(ptr) ) ) + +#define FT_MEM_QREALLOC( ptr, cursz, newsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, \ + 1, \ + (FT_Long)(cursz), \ + (FT_Long)(newsz), \ + (ptr), \ + &error ) ) + +#define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ + (FT_Long)(item_size), \ + 0, \ + (FT_Long)(count), \ + NULL, \ + &error ) ) + +#define FT_MEM_REALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ + (FT_Long)(itmsz), \ + (FT_Long)(oldcnt), \ + (FT_Long)(newcnt), \ + (ptr), \ + &error ) ) + +#define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, \ + (FT_Long)(item_size), \ + 0, \ + (FT_Long)(count), \ + NULL, \ + &error ) ) + +#define FT_MEM_QREALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, \ + (FT_Long)(itmsz), \ + (FT_Long)(oldcnt), \ + (FT_Long)(newcnt), \ + (ptr), \ + &error ) ) + + +#define FT_MEM_SET_ERROR( cond ) ( (cond), error != 0 ) + + +#define FT_MEM_SET( dest, byte, count ) \ + ft_memset( dest, byte, (FT_Offset)(count) ) + +#define FT_MEM_COPY( dest, source, count ) \ + ft_memcpy( dest, source, (FT_Offset)(count) ) + +#define FT_MEM_MOVE( dest, source, count ) \ + ft_memmove( dest, source, (FT_Offset)(count) ) + + +#define FT_MEM_ZERO( dest, count ) FT_MEM_SET( dest, 0, count ) + +#define FT_ZERO( p ) FT_MEM_ZERO( p, sizeof ( *(p) ) ) + + +#define FT_ARRAY_ZERO( dest, count ) \ + FT_MEM_ZERO( dest, \ + (FT_Offset)(count) * sizeof ( *(dest) ) ) + +#define FT_ARRAY_COPY( dest, source, count ) \ + FT_MEM_COPY( dest, \ + source, \ + (FT_Offset)(count) * sizeof ( *(dest) ) ) + +#define FT_ARRAY_MOVE( dest, source, count ) \ + FT_MEM_MOVE( dest, \ + source, \ + (FT_Offset)(count) * sizeof ( *(dest) ) ) + + + /* + * Return the maximum number of addressable elements in an array. We limit + * ourselves to INT_MAX, rather than UINT_MAX, to avoid any problems. + */ +#define FT_ARRAY_MAX( ptr ) ( FT_INT_MAX / sizeof ( *(ptr) ) ) + +#define FT_ARRAY_CHECK( ptr, count ) ( (count) <= FT_ARRAY_MAX( ptr ) ) + + + /************************************************************************** + * + * The following functions macros expect that their pointer argument is + * _typed_ in order to automatically compute array element sizes. + */ + +#define FT_MEM_NEW_ARRAY( ptr, count ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ + sizeof ( *(ptr) ), \ + 0, \ + (FT_Long)(count), \ + NULL, \ + &error ) ) + +#define FT_MEM_RENEW_ARRAY( ptr, cursz, newsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ + sizeof ( *(ptr) ), \ + (FT_Long)(cursz), \ + (FT_Long)(newsz), \ + (ptr), \ + &error ) ) + +#define FT_MEM_QNEW_ARRAY( ptr, count ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, \ + sizeof ( *(ptr) ), \ + 0, \ + (FT_Long)(count), \ + NULL, \ + &error ) ) + +#define FT_MEM_QRENEW_ARRAY( ptr, cursz, newsz ) \ + FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, \ + sizeof ( *(ptr) ), \ + (FT_Long)(cursz), \ + (FT_Long)(newsz), \ + (ptr), \ + &error ) ) + +#define FT_ALLOC( ptr, size ) \ + FT_MEM_SET_ERROR( FT_MEM_ALLOC( ptr, size ) ) + +#define FT_REALLOC( ptr, cursz, newsz ) \ + FT_MEM_SET_ERROR( FT_MEM_REALLOC( ptr, cursz, newsz ) ) + +#define FT_ALLOC_MULT( ptr, count, item_size ) \ + FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) + +#define FT_REALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ + FT_MEM_SET_ERROR( FT_MEM_REALLOC_MULT( ptr, oldcnt, \ + newcnt, itmsz ) ) + +#define FT_QALLOC( ptr, size ) \ + FT_MEM_SET_ERROR( FT_MEM_QALLOC( ptr, size ) ) + +#define FT_QREALLOC( ptr, cursz, newsz ) \ + FT_MEM_SET_ERROR( FT_MEM_QREALLOC( ptr, cursz, newsz ) ) + +#define FT_QALLOC_MULT( ptr, count, item_size ) \ + FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) ) + +#define FT_QREALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ + FT_MEM_SET_ERROR( FT_MEM_QREALLOC_MULT( ptr, oldcnt, \ + newcnt, itmsz ) ) + +#define FT_FREE( ptr ) FT_MEM_FREE( ptr ) + +#define FT_NEW( ptr ) FT_MEM_SET_ERROR( FT_MEM_NEW( ptr ) ) + +#define FT_NEW_ARRAY( ptr, count ) \ + FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, count ) ) + +#define FT_RENEW_ARRAY( ptr, curcnt, newcnt ) \ + FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) ) + +#define FT_QNEW( ptr ) FT_MEM_SET_ERROR( FT_MEM_QNEW( ptr ) ) + +#define FT_QNEW_ARRAY( ptr, count ) \ + FT_MEM_SET_ERROR( FT_MEM_QNEW_ARRAY( ptr, count ) ) + +#define FT_QRENEW_ARRAY( ptr, curcnt, newcnt ) \ + FT_MEM_SET_ERROR( FT_MEM_QRENEW_ARRAY( ptr, curcnt, newcnt ) ) + + + FT_BASE( FT_Pointer ) + ft_mem_strdup( FT_Memory memory, + const char* str, + FT_Error *p_error ); + + FT_BASE( FT_Pointer ) + ft_mem_dup( FT_Memory memory, + const void* address, + FT_ULong size, + FT_Error *p_error ); + + +#define FT_MEM_STRDUP( dst, str ) \ + (dst) = (char*)ft_mem_strdup( memory, (const char*)(str), &error ) + +#define FT_STRDUP( dst, str ) \ + FT_MEM_SET_ERROR( FT_MEM_STRDUP( dst, str ) ) + +#define FT_MEM_DUP( dst, address, size ) \ + (dst) = ft_mem_dup( memory, (address), (FT_ULong)(size), &error ) + +#define FT_DUP( dst, address, size ) \ + FT_MEM_SET_ERROR( FT_MEM_DUP( dst, address, size ) ) + + + /* Return >= 1 if a truncation occurs. */ + /* Return 0 if the source string fits the buffer. */ + /* This is *not* the same as strlcpy(). */ + FT_BASE( FT_Int ) + ft_mem_strcpyn( char* dst, + const char* src, + FT_ULong size ); + +#define FT_STRCPYN( dst, src, size ) \ + ft_mem_strcpyn( (char*)dst, (const char*)(src), (FT_ULong)(size) ) + + +FT_END_HEADER + +#endif /* FTMEMORY_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmmtypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmmtypes.h new file mode 100644 index 0000000..c4b21d6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftmmtypes.h @@ -0,0 +1,91 @@ +/**************************************************************************** + * + * ftmmtypes.h + * + * OpenType Variations type definitions for internal use + * with the multi-masters service (specification). + * + * Copyright (C) 2022-2023 by + * David Turner, Robert Wilhelm, Werner Lemberg, George Williams, and + * Dominik Röttsches. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTMMTYPES_H_ +#define FTMMTYPES_H_ + +FT_BEGIN_HEADER + + + typedef FT_Int32 FT_ItemVarDelta; + + typedef struct GX_ItemVarDataRec_ + { + FT_UInt itemCount; /* Number of delta sets per item. */ + FT_UInt regionIdxCount; /* Number of region indices. */ + FT_UInt* regionIndices; /* Array of `regionCount` indices; */ + /* these index `varRegionList`. */ + FT_Byte* deltaSet; /* Array of `itemCount` deltas; */ + /* use `innerIndex` for this array. */ + FT_UShort wordDeltaCount; /* Number of the first 32-bit ints */ + /* or 16-bit ints of `deltaSet` */ + /* depending on `longWords`. */ + FT_Bool longWords; /* If true, `deltaSet` is a 32-bit */ + /* array followed by a 16-bit */ + /* array, otherwise a 16-bit array */ + /* followed by an 8-bit array. */ + } GX_ItemVarDataRec, *GX_ItemVarData; + + + /* contribution of one axis to a region */ + typedef struct GX_AxisCoordsRec_ + { + FT_Fixed startCoord; + FT_Fixed peakCoord; /* zero means no effect (factor = 1) */ + FT_Fixed endCoord; + + } GX_AxisCoordsRec, *GX_AxisCoords; + + + typedef struct GX_VarRegionRec_ + { + GX_AxisCoords axisList; /* array of axisCount records */ + + } GX_VarRegionRec, *GX_VarRegion; + + + /* item variation store */ + typedef struct GX_ItemVarStoreRec_ + { + FT_UInt dataCount; + GX_ItemVarData varData; /* array of dataCount records; */ + /* use `outerIndex' for this array */ + FT_UShort axisCount; + FT_UInt regionCount; /* total number of regions defined */ + GX_VarRegion varRegionList; + + } GX_ItemVarStoreRec, *GX_ItemVarStore; + + + typedef struct GX_DeltaSetIdxMapRec_ + { + FT_ULong mapCount; + FT_UInt* outerIndex; /* indices to item var data */ + FT_UInt* innerIndex; /* indices to delta set */ + + } GX_DeltaSetIdxMapRec, *GX_DeltaSetIdxMap; + + +FT_END_HEADER + +#endif /* FTMMTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftobjs.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftobjs.h new file mode 100644 index 0000000..28bc9b6 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftobjs.h @@ -0,0 +1,1238 @@ +/**************************************************************************** + * + * ftobjs.h + * + * The FreeType private base classes (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This file contains the definition of all internal FreeType classes. + * + */ + + +#ifndef FTOBJS_H_ +#define FTOBJS_H_ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef FT_CONFIG_OPTION_INCREMENTAL +#include +#endif + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * Some generic definitions. + */ +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + +#ifndef NULL +#define NULL (void*)0 +#endif + + + /************************************************************************** + * + * The min and max functions missing in C. As usual, be careful not to + * write things like FT_MIN( a++, b++ ) to avoid side effects. + */ +#define FT_MIN( a, b ) ( (a) < (b) ? (a) : (b) ) +#define FT_MAX( a, b ) ( (a) > (b) ? (a) : (b) ) + +#define FT_ABS( a ) ( (a) < 0 ? -(a) : (a) ) + + /* + * Approximate sqrt(x*x+y*y) using the `alpha max plus beta min' algorithm. + * We use alpha = 1, beta = 3/8, giving us results with a largest error + * less than 7% compared to the exact value. + */ +#define FT_HYPOT( x, y ) \ + ( x = FT_ABS( x ), \ + y = FT_ABS( y ), \ + x > y ? x + ( 3 * y >> 3 ) \ + : y + ( 3 * x >> 3 ) ) + + /* we use FT_TYPEOF to suppress signedness compilation warnings */ +#define FT_PAD_FLOOR( x, n ) ( (x) & ~FT_TYPEOF( x )( (n) - 1 ) ) +#define FT_PAD_ROUND( x, n ) FT_PAD_FLOOR( (x) + (n) / 2, n ) +#define FT_PAD_CEIL( x, n ) FT_PAD_FLOOR( (x) + (n) - 1, n ) + +#define FT_PIX_FLOOR( x ) ( (x) & ~FT_TYPEOF( x )63 ) +#define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) +#define FT_PIX_CEIL( x ) FT_PIX_FLOOR( (x) + 63 ) + + /* specialized versions (for signed values) */ + /* that don't produce run-time errors due to integer overflow */ +#define FT_PAD_ROUND_LONG( x, n ) FT_PAD_FLOOR( ADD_LONG( (x), (n) / 2 ), \ + n ) +#define FT_PAD_CEIL_LONG( x, n ) FT_PAD_FLOOR( ADD_LONG( (x), (n) - 1 ), \ + n ) +#define FT_PIX_ROUND_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 32 ) ) +#define FT_PIX_CEIL_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 63 ) ) + +#define FT_PAD_ROUND_INT32( x, n ) FT_PAD_FLOOR( ADD_INT32( (x), (n) / 2 ), \ + n ) +#define FT_PAD_CEIL_INT32( x, n ) FT_PAD_FLOOR( ADD_INT32( (x), (n) - 1 ), \ + n ) +#define FT_PIX_ROUND_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 32 ) ) +#define FT_PIX_CEIL_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 63 ) ) + + + /* + * character classification functions -- since these are used to parse font + * files, we must not use those in which are locale-dependent + */ +#define ft_isdigit( x ) ( ( (unsigned)(x) - '0' ) < 10U ) + +#define ft_isxdigit( x ) ( ( (unsigned)(x) - '0' ) < 10U || \ + ( (unsigned)(x) - 'a' ) < 6U || \ + ( (unsigned)(x) - 'A' ) < 6U ) + + /* the next two macros assume ASCII representation */ +#define ft_isupper( x ) ( ( (unsigned)(x) - 'A' ) < 26U ) +#define ft_islower( x ) ( ( (unsigned)(x) - 'a' ) < 26U ) + +#define ft_isalpha( x ) ( ft_isupper( x ) || ft_islower( x ) ) +#define ft_isalnum( x ) ( ft_isdigit( x ) || ft_isalpha( x ) ) + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** C H A R M A P S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + /* handle to internal charmap object */ + typedef struct FT_CMapRec_* FT_CMap; + + /* handle to charmap class structure */ + typedef const struct FT_CMap_ClassRec_* FT_CMap_Class; + + /* internal charmap object structure */ + typedef struct FT_CMapRec_ + { + FT_CharMapRec charmap; + FT_CMap_Class clazz; + + } FT_CMapRec; + + /* typecast any pointer to a charmap handle */ +#define FT_CMAP( x ) ( (FT_CMap)( x ) ) + + /* obvious macros */ +#define FT_CMAP_PLATFORM_ID( x ) FT_CMAP( x )->charmap.platform_id +#define FT_CMAP_ENCODING_ID( x ) FT_CMAP( x )->charmap.encoding_id +#define FT_CMAP_ENCODING( x ) FT_CMAP( x )->charmap.encoding +#define FT_CMAP_FACE( x ) FT_CMAP( x )->charmap.face + + + /* class method definitions */ + typedef FT_Error + (*FT_CMap_InitFunc)( FT_CMap cmap, + FT_Pointer init_data ); + + typedef void + (*FT_CMap_DoneFunc)( FT_CMap cmap ); + + typedef FT_UInt + (*FT_CMap_CharIndexFunc)( FT_CMap cmap, + FT_UInt32 char_code ); + + typedef FT_UInt + (*FT_CMap_CharNextFunc)( FT_CMap cmap, + FT_UInt32 *achar_code ); + + typedef FT_UInt + (*FT_CMap_CharVarIndexFunc)( FT_CMap cmap, + FT_CMap unicode_cmap, + FT_UInt32 char_code, + FT_UInt32 variant_selector ); + + typedef FT_Int + (*FT_CMap_CharVarIsDefaultFunc)( FT_CMap cmap, + FT_UInt32 char_code, + FT_UInt32 variant_selector ); + + typedef FT_UInt32 * + (*FT_CMap_VariantListFunc)( FT_CMap cmap, + FT_Memory mem ); + + typedef FT_UInt32 * + (*FT_CMap_CharVariantListFunc)( FT_CMap cmap, + FT_Memory mem, + FT_UInt32 char_code ); + + typedef FT_UInt32 * + (*FT_CMap_VariantCharListFunc)( FT_CMap cmap, + FT_Memory mem, + FT_UInt32 variant_selector ); + + + typedef struct FT_CMap_ClassRec_ + { + FT_ULong size; + + FT_CMap_InitFunc init; + FT_CMap_DoneFunc done; + FT_CMap_CharIndexFunc char_index; + FT_CMap_CharNextFunc char_next; + + /* Subsequent entries are special ones for format 14 -- the variant */ + /* selector subtable which behaves like no other */ + + FT_CMap_CharVarIndexFunc char_var_index; + FT_CMap_CharVarIsDefaultFunc char_var_default; + FT_CMap_VariantListFunc variant_list; + FT_CMap_CharVariantListFunc charvariant_list; + FT_CMap_VariantCharListFunc variantchar_list; + + } FT_CMap_ClassRec; + + +#define FT_DECLARE_CMAP_CLASS( class_ ) \ + FT_CALLBACK_TABLE const FT_CMap_ClassRec class_; + +#define FT_DEFINE_CMAP_CLASS( \ + class_, \ + size_, \ + init_, \ + done_, \ + char_index_, \ + char_next_, \ + char_var_index_, \ + char_var_default_, \ + variant_list_, \ + charvariant_list_, \ + variantchar_list_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_CMap_ClassRec class_ = \ + { \ + size_, \ + init_, \ + done_, \ + char_index_, \ + char_next_, \ + char_var_index_, \ + char_var_default_, \ + variant_list_, \ + charvariant_list_, \ + variantchar_list_ \ + }; + + + /* create a new charmap and add it to charmap->face */ + FT_BASE( FT_Error ) + FT_CMap_New( FT_CMap_Class clazz, + FT_Pointer init_data, + FT_CharMap charmap, + FT_CMap *acmap ); + + /* destroy a charmap and remove it from face's list */ + FT_BASE( void ) + FT_CMap_Done( FT_CMap cmap ); + + + /* add LCD padding to CBox */ + FT_BASE( void ) + ft_lcd_padding( FT_BBox* cbox, + FT_GlyphSlot slot, + FT_Render_Mode mode ); + +#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING + + typedef void (*FT_Bitmap_LcdFilterFunc)( FT_Bitmap* bitmap, + FT_Byte* weights ); + + + /* This is the default LCD filter, an in-place, 5-tap FIR filter. */ + FT_BASE( void ) + ft_lcd_filter_fir( FT_Bitmap* bitmap, + FT_LcdFiveTapFilter weights ); + +#endif /* FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ + + /************************************************************************** + * + * @struct: + * FT_Face_InternalRec + * + * @description: + * This structure contains the internal fields of each FT_Face object. + * These fields may change between different releases of FreeType. + * + * @fields: + * max_points :: + * The maximum number of points used to store the vectorial outline of + * any glyph in this face. If this value cannot be known in advance, + * or if the face isn't scalable, this should be set to 0. Only + * relevant for scalable formats. + * + * max_contours :: + * The maximum number of contours used to store the vectorial outline + * of any glyph in this face. If this value cannot be known in + * advance, or if the face isn't scalable, this should be set to 0. + * Only relevant for scalable formats. + * + * transform_matrix :: + * A 2x2 matrix of 16.16 coefficients used to transform glyph outlines + * after they are loaded from the font. Only used by the convenience + * functions. + * + * transform_delta :: + * A translation vector used to transform glyph outlines after they are + * loaded from the font. Only used by the convenience functions. + * + * transform_flags :: + * Some flags used to classify the transform. Only used by the + * convenience functions. + * + * services :: + * A cache for frequently used services. It should be only accessed + * with the macro `FT_FACE_LOOKUP_SERVICE`. + * + * incremental_interface :: + * If non-null, the interface through which glyph data and metrics are + * loaded incrementally for faces that do not provide all of this data + * when first opened. This field exists only if + * @FT_CONFIG_OPTION_INCREMENTAL is defined. + * + * no_stem_darkening :: + * Overrides the module-level default, see @stem-darkening[cff], for + * example. FALSE and TRUE toggle stem darkening on and off, + * respectively, value~-1 means to use the module/driver default. + * + * random_seed :: + * If positive, override the seed value for the CFF 'random' operator. + * Value~0 means to use the font's value. Value~-1 means to use the + * CFF driver's default. + * + * lcd_weights :: + * lcd_filter_func :: + * These fields specify the LCD filtering weights and callback function + * for ClearType-style subpixel rendering. + * + * refcount :: + * A counter initialized to~1 at the time an @FT_Face structure is + * created. @FT_Reference_Face increments this counter, and + * @FT_Done_Face only destroys a face if the counter is~1, otherwise it + * simply decrements it. + */ + typedef struct FT_Face_InternalRec_ + { + FT_Matrix transform_matrix; + FT_Vector transform_delta; + FT_Int transform_flags; + + FT_ServiceCacheRec services; + +#ifdef FT_CONFIG_OPTION_INCREMENTAL + FT_Incremental_InterfaceRec* incremental_interface; +#endif + + FT_Char no_stem_darkening; + FT_Int32 random_seed; + +#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING + FT_LcdFiveTapFilter lcd_weights; /* filter weights, if any */ + FT_Bitmap_LcdFilterFunc lcd_filter_func; /* filtering callback */ +#endif + + FT_Int refcount; + + } FT_Face_InternalRec; + + + /************************************************************************** + * + * @struct: + * FT_Slot_InternalRec + * + * @description: + * This structure contains the internal fields of each FT_GlyphSlot + * object. These fields may change between different releases of + * FreeType. + * + * @fields: + * loader :: + * The glyph loader object used to load outlines into the glyph slot. + * + * flags :: + * Possible values are zero or FT_GLYPH_OWN_BITMAP. The latter + * indicates that the FT_GlyphSlot structure owns the bitmap buffer. + * + * glyph_transformed :: + * Boolean. Set to TRUE when the loaded glyph must be transformed + * through a specific font transformation. This is _not_ the same as + * the face transform set through FT_Set_Transform(). + * + * glyph_matrix :: + * The 2x2 matrix corresponding to the glyph transformation, if + * necessary. + * + * glyph_delta :: + * The 2d translation vector corresponding to the glyph transformation, + * if necessary. + * + * glyph_hints :: + * Format-specific glyph hints management. + * + * load_flags :: + * The load flags passed as an argument to @FT_Load_Glyph while + * initializing the glyph slot. + */ + +#define FT_GLYPH_OWN_BITMAP 0x1U +#define FT_GLYPH_OWN_GZIP_SVG 0x2U + + typedef struct FT_Slot_InternalRec_ + { + FT_GlyphLoader loader; + FT_UInt flags; + FT_Bool glyph_transformed; + FT_Matrix glyph_matrix; + FT_Vector glyph_delta; + void* glyph_hints; + + FT_Int32 load_flags; + + } FT_GlyphSlot_InternalRec; + + + /************************************************************************** + * + * @struct: + * FT_Size_InternalRec + * + * @description: + * This structure contains the internal fields of each FT_Size object. + * + * @fields: + * module_data :: + * Data specific to a driver module. + * + * autohint_mode :: + * The used auto-hinting mode. + * + * autohint_metrics :: + * Metrics used by the auto-hinter. + * + */ + + typedef struct FT_Size_InternalRec_ + { + void* module_data; + + FT_Render_Mode autohint_mode; + FT_Size_Metrics autohint_metrics; + + } FT_Size_InternalRec; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** M O D U L E S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * FT_ModuleRec + * + * @description: + * A module object instance. + * + * @fields: + * clazz :: + * A pointer to the module's class. + * + * library :: + * A handle to the parent library object. + * + * memory :: + * A handle to the memory manager. + */ + typedef struct FT_ModuleRec_ + { + FT_Module_Class* clazz; + FT_Library library; + FT_Memory memory; + + } FT_ModuleRec; + + + /* typecast an object to an FT_Module */ +#define FT_MODULE( x ) ( (FT_Module)(x) ) + +#define FT_MODULE_CLASS( x ) FT_MODULE( x )->clazz +#define FT_MODULE_LIBRARY( x ) FT_MODULE( x )->library +#define FT_MODULE_MEMORY( x ) FT_MODULE( x )->memory + + +#define FT_MODULE_IS_DRIVER( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_FONT_DRIVER ) + +#define FT_MODULE_IS_RENDERER( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_RENDERER ) + +#define FT_MODULE_IS_HINTER( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_HINTER ) + +#define FT_MODULE_IS_STYLER( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_STYLER ) + +#define FT_DRIVER_IS_SCALABLE( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_DRIVER_SCALABLE ) + +#define FT_DRIVER_USES_OUTLINES( x ) !( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_DRIVER_NO_OUTLINES ) + +#define FT_DRIVER_HAS_HINTER( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_DRIVER_HAS_HINTER ) + +#define FT_DRIVER_HINTS_LIGHTLY( x ) ( FT_MODULE_CLASS( x )->module_flags & \ + FT_MODULE_DRIVER_HINTS_LIGHTLY ) + + + /************************************************************************** + * + * @function: + * FT_Get_Module_Interface + * + * @description: + * Finds a module and returns its specific interface as a typeless + * pointer. + * + * @input: + * library :: + * A handle to the library object. + * + * module_name :: + * The module's name (as an ASCII string). + * + * @return: + * A module-specific interface if available, 0 otherwise. + * + * @note: + * You should better be familiar with FreeType internals to know which + * module to look for, and what its interface is :-) + */ + FT_BASE( const void* ) + FT_Get_Module_Interface( FT_Library library, + const char* mod_name ); + + FT_BASE( FT_Pointer ) + ft_module_get_service( FT_Module module, + const char* service_id, + FT_Bool global ); + +#ifdef FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES + FT_BASE( FT_Error ) + ft_property_string_set( FT_Library library, + const FT_String* module_name, + const FT_String* property_name, + FT_String* value ); +#endif + + /* */ + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** F A C E, S I Z E & G L Y P H S L O T O B J E C T S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + /* a few macros used to perform easy typecasts with minimal brain damage */ + +#define FT_FACE( x ) ( (FT_Face)(x) ) +#define FT_SIZE( x ) ( (FT_Size)(x) ) +#define FT_SLOT( x ) ( (FT_GlyphSlot)(x) ) + +#define FT_FACE_DRIVER( x ) FT_FACE( x )->driver +#define FT_FACE_LIBRARY( x ) FT_FACE_DRIVER( x )->root.library +#define FT_FACE_MEMORY( x ) FT_FACE( x )->memory +#define FT_FACE_STREAM( x ) FT_FACE( x )->stream + +#define FT_SIZE_FACE( x ) FT_SIZE( x )->face +#define FT_SLOT_FACE( x ) FT_SLOT( x )->face + +#define FT_FACE_SLOT( x ) FT_FACE( x )->glyph +#define FT_FACE_SIZE( x ) FT_FACE( x )->size + + + /************************************************************************** + * + * @function: + * FT_New_GlyphSlot + * + * @description: + * It is sometimes useful to have more than one glyph slot for a given + * face object. This function is used to create additional slots. All + * of them are automatically discarded when the face is destroyed. + * + * @input: + * face :: + * A handle to a parent face object. + * + * @output: + * aslot :: + * A handle to a new glyph slot object. + * + * @return: + * FreeType error code. 0 means success. + */ + FT_BASE( FT_Error ) + FT_New_GlyphSlot( FT_Face face, + FT_GlyphSlot *aslot ); + + + /************************************************************************** + * + * @function: + * FT_Done_GlyphSlot + * + * @description: + * Destroys a given glyph slot. Remember however that all slots are + * automatically destroyed with its parent. Using this function is not + * always mandatory. + * + * @input: + * slot :: + * A handle to a target glyph slot. + */ + FT_BASE( void ) + FT_Done_GlyphSlot( FT_GlyphSlot slot ); + + /* */ + +#define FT_REQUEST_WIDTH( req ) \ + ( (req)->horiResolution \ + ? ( (req)->width * (FT_Pos)(req)->horiResolution + 36 ) / 72 \ + : (req)->width ) + +#define FT_REQUEST_HEIGHT( req ) \ + ( (req)->vertResolution \ + ? ( (req)->height * (FT_Pos)(req)->vertResolution + 36 ) / 72 \ + : (req)->height ) + + + /* Set the metrics according to a bitmap strike. */ + FT_BASE( void ) + FT_Select_Metrics( FT_Face face, + FT_ULong strike_index ); + + + /* Set the metrics according to a size request. */ + FT_BASE( FT_Error ) + FT_Request_Metrics( FT_Face face, + FT_Size_Request req ); + + + /* Match a size request against `available_sizes'. */ + FT_BASE( FT_Error ) + FT_Match_Size( FT_Face face, + FT_Size_Request req, + FT_Bool ignore_width, + FT_ULong* size_index ); + + + /* Use the horizontal metrics to synthesize the vertical metrics. */ + /* If `advance' is zero, it is also synthesized. */ + FT_BASE( void ) + ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, + FT_Pos advance ); + + + /* Free the bitmap of a given glyphslot when needed (i.e., only when it */ + /* was allocated with ft_glyphslot_alloc_bitmap). */ + FT_BASE( void ) + ft_glyphslot_free_bitmap( FT_GlyphSlot slot ); + + + /* Preset bitmap metrics of an outline glyphslot prior to rendering */ + /* and check whether the truncated bbox is too large for rendering. */ + FT_BASE( FT_Bool ) + ft_glyphslot_preset_bitmap( FT_GlyphSlot slot, + FT_Render_Mode mode, + const FT_Vector* origin ); + + /* Allocate a new bitmap buffer in a glyph slot. */ + FT_BASE( FT_Error ) + ft_glyphslot_alloc_bitmap( FT_GlyphSlot slot, + FT_ULong size ); + + + /* Set the bitmap buffer in a glyph slot to a given pointer. The buffer */ + /* will not be freed by a later call to ft_glyphslot_free_bitmap. */ + FT_BASE( void ) + ft_glyphslot_set_bitmap( FT_GlyphSlot slot, + FT_Byte* buffer ); + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** R E N D E R E R S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + +#define FT_RENDERER( x ) ( (FT_Renderer)(x) ) +#define FT_GLYPH( x ) ( (FT_Glyph)(x) ) +#define FT_BITMAP_GLYPH( x ) ( (FT_BitmapGlyph)(x) ) +#define FT_OUTLINE_GLYPH( x ) ( (FT_OutlineGlyph)(x) ) + + + typedef struct FT_RendererRec_ + { + FT_ModuleRec root; + FT_Renderer_Class* clazz; + FT_Glyph_Format glyph_format; + FT_Glyph_Class glyph_class; + + FT_Raster raster; + FT_Raster_Render_Func raster_render; + FT_Renderer_RenderFunc render; + + } FT_RendererRec; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** F O N T D R I V E R S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /* typecast a module into a driver easily */ +#define FT_DRIVER( x ) ( (FT_Driver)(x) ) + + /* typecast a module as a driver, and get its driver class */ +#define FT_DRIVER_CLASS( x ) FT_DRIVER( x )->clazz + + + /************************************************************************** + * + * @struct: + * FT_DriverRec + * + * @description: + * The root font driver class. A font driver is responsible for managing + * and loading font files of a given format. + * + * @fields: + * root :: + * Contains the fields of the root module class. + * + * clazz :: + * A pointer to the font driver's class. Note that this is NOT + * root.clazz. 'class' wasn't used as it is a reserved word in C++. + * + * faces_list :: + * The list of faces currently opened by this driver. + * + * glyph_loader :: + * Unused. Used to be glyph loader for all faces managed by this + * driver. + */ + typedef struct FT_DriverRec_ + { + FT_ModuleRec root; + FT_Driver_Class clazz; + FT_ListRec faces_list; + FT_GlyphLoader glyph_loader; + + } FT_DriverRec; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** L I B R A R I E S ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * FT_LibraryRec + * + * @description: + * The FreeType library class. This is the root of all FreeType data. + * Use FT_New_Library() to create a library object, and FT_Done_Library() + * to discard it and all child objects. + * + * @fields: + * memory :: + * The library's memory object. Manages memory allocation. + * + * version_major :: + * The major version number of the library. + * + * version_minor :: + * The minor version number of the library. + * + * version_patch :: + * The current patch level of the library. + * + * num_modules :: + * The number of modules currently registered within this library. + * This is set to 0 for new libraries. New modules are added through + * the FT_Add_Module() API function. + * + * modules :: + * A table used to store handles to the currently registered + * modules. Note that each font driver contains a list of its opened + * faces. + * + * renderers :: + * The list of renderers currently registered within the library. + * + * cur_renderer :: + * The current outline renderer. This is a shortcut used to avoid + * parsing the list on each call to FT_Outline_Render(). It is a + * handle to the current renderer for the FT_GLYPH_FORMAT_OUTLINE + * format. + * + * auto_hinter :: + * The auto-hinter module interface. + * + * debug_hooks :: + * An array of four function pointers that allow debuggers to hook into + * a font format's interpreter. Currently, only the TrueType bytecode + * debugger uses this. + * + * lcd_weights :: + * The LCD filter weights for ClearType-style subpixel rendering. + * + * lcd_filter_func :: + * The LCD filtering callback function for for ClearType-style subpixel + * rendering. + * + * lcd_geometry :: + * This array specifies LCD subpixel geometry and controls Harmony LCD + * rendering technique, alternative to ClearType. + * + * pic_container :: + * Contains global structs and tables, instead of defining them + * globally. + * + * refcount :: + * A counter initialized to~1 at the time an @FT_Library structure is + * created. @FT_Reference_Library increments this counter, and + * @FT_Done_Library only destroys a library if the counter is~1, + * otherwise it simply decrements it. + */ + typedef struct FT_LibraryRec_ + { + FT_Memory memory; /* library's memory manager */ + + FT_Int version_major; + FT_Int version_minor; + FT_Int version_patch; + + FT_UInt num_modules; + FT_Module modules[FT_MAX_MODULES]; /* module objects */ + + FT_ListRec renderers; /* list of renderers */ + FT_Renderer cur_renderer; /* current outline renderer */ + FT_Module auto_hinter; + + FT_DebugHook_Func debug_hooks[4]; + +#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING + FT_LcdFiveTapFilter lcd_weights; /* filter weights, if any */ + FT_Bitmap_LcdFilterFunc lcd_filter_func; /* filtering callback */ +#else + FT_Vector lcd_geometry[3]; /* RGB subpixel positions */ +#endif + + FT_Int refcount; + + } FT_LibraryRec; + + + FT_BASE( FT_Renderer ) + FT_Lookup_Renderer( FT_Library library, + FT_Glyph_Format format, + FT_ListNode* node ); + + FT_BASE( FT_Error ) + FT_Render_Glyph_Internal( FT_Library library, + FT_GlyphSlot slot, + FT_Render_Mode render_mode ); + + typedef const char* + (*FT_Face_GetPostscriptNameFunc)( FT_Face face ); + + typedef FT_Error + (*FT_Face_GetGlyphNameFunc)( FT_Face face, + FT_UInt glyph_index, + FT_Pointer buffer, + FT_UInt buffer_max ); + + typedef FT_UInt + (*FT_Face_GetGlyphNameIndexFunc)( FT_Face face, + const FT_String* glyph_name ); + + +#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM + + /************************************************************************** + * + * @function: + * FT_New_Memory + * + * @description: + * Creates a new memory object. + * + * @return: + * A pointer to the new memory object. 0 in case of error. + */ + FT_BASE( FT_Memory ) + FT_New_Memory( void ); + + + /************************************************************************** + * + * @function: + * FT_Done_Memory + * + * @description: + * Discards memory manager. + * + * @input: + * memory :: + * A handle to the memory manager. + */ + FT_BASE( void ) + FT_Done_Memory( FT_Memory memory ); + +#endif /* !FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */ + + + /* Define default raster's interface. The default raster is located in */ + /* `src/base/ftraster.c'. */ + /* */ + /* Client applications can register new rasters through the */ + /* FT_Set_Raster() API. */ + +#ifndef FT_NO_DEFAULT_RASTER + FT_EXPORT_VAR( FT_Raster_Funcs ) ft_default_raster; +#endif + + + /************************************************************************** + * + * @macro: + * FT_DEFINE_OUTLINE_FUNCS + * + * @description: + * Used to initialize an instance of FT_Outline_Funcs struct. The struct + * will be allocated in the global scope (or the scope where the macro is + * used). + */ +#define FT_DEFINE_OUTLINE_FUNCS( \ + class_, \ + move_to_, \ + line_to_, \ + conic_to_, \ + cubic_to_, \ + shift_, \ + delta_ ) \ + static const FT_Outline_Funcs class_ = \ + { \ + move_to_, \ + line_to_, \ + conic_to_, \ + cubic_to_, \ + shift_, \ + delta_ \ + }; + + + /************************************************************************** + * + * @macro: + * FT_DEFINE_RASTER_FUNCS + * + * @description: + * Used to initialize an instance of FT_Raster_Funcs struct. The struct + * will be allocated in the global scope (or the scope where the macro is + * used). + */ +#define FT_DEFINE_RASTER_FUNCS( \ + class_, \ + glyph_format_, \ + raster_new_, \ + raster_reset_, \ + raster_set_mode_, \ + raster_render_, \ + raster_done_ ) \ + const FT_Raster_Funcs class_ = \ + { \ + glyph_format_, \ + raster_new_, \ + raster_reset_, \ + raster_set_mode_, \ + raster_render_, \ + raster_done_ \ + }; + + + + /************************************************************************** + * + * @macro: + * FT_DEFINE_GLYPH + * + * @description: + * The struct will be allocated in the global scope (or the scope where + * the macro is used). + */ +#define FT_DECLARE_GLYPH( class_ ) \ + FT_CALLBACK_TABLE const FT_Glyph_Class class_; + +#define FT_DEFINE_GLYPH( \ + class_, \ + size_, \ + format_, \ + init_, \ + done_, \ + copy_, \ + transform_, \ + bbox_, \ + prepare_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_Glyph_Class class_ = \ + { \ + size_, \ + format_, \ + init_, \ + done_, \ + copy_, \ + transform_, \ + bbox_, \ + prepare_ \ + }; + + + /************************************************************************** + * + * @macro: + * FT_DECLARE_RENDERER + * + * @description: + * Used to create a forward declaration of a FT_Renderer_Class struct + * instance. + * + * @macro: + * FT_DEFINE_RENDERER + * + * @description: + * Used to initialize an instance of FT_Renderer_Class struct. + * + * The struct will be allocated in the global scope (or the scope where + * the macro is used). + */ +#define FT_DECLARE_RENDERER( class_ ) \ + FT_EXPORT_VAR( const FT_Renderer_Class ) class_; + +#define FT_DEFINE_RENDERER( \ + class_, \ + flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_, \ + glyph_format_, \ + render_glyph_, \ + transform_glyph_, \ + get_glyph_cbox_, \ + set_mode_, \ + raster_class_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_Renderer_Class class_ = \ + { \ + FT_DEFINE_ROOT_MODULE( flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_ ) \ + glyph_format_, \ + \ + render_glyph_, \ + transform_glyph_, \ + get_glyph_cbox_, \ + set_mode_, \ + \ + raster_class_ \ + }; + + + /************************************************************************** + * + * @macro: + * FT_DECLARE_MODULE + * + * @description: + * Used to create a forward declaration of a FT_Module_Class struct + * instance. + * + * @macro: + * FT_DEFINE_MODULE + * + * @description: + * Used to initialize an instance of an FT_Module_Class struct. + * + * The struct will be allocated in the global scope (or the scope where + * the macro is used). + * + * @macro: + * FT_DEFINE_ROOT_MODULE + * + * @description: + * Used to initialize an instance of an FT_Module_Class struct inside + * another struct that contains it or in a function that initializes that + * containing struct. + */ +#define FT_DECLARE_MODULE( class_ ) \ + FT_CALLBACK_TABLE \ + const FT_Module_Class class_; + +#define FT_DEFINE_ROOT_MODULE( \ + flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_ ) \ + { \ + flags_, \ + size_, \ + \ + name_, \ + version_, \ + requires_, \ + \ + interface_, \ + \ + init_, \ + done_, \ + get_interface_, \ + }, + +#define FT_DEFINE_MODULE( \ + class_, \ + flags_, \ + size_, \ + name_, \ + version_, \ + requires_, \ + interface_, \ + init_, \ + done_, \ + get_interface_ ) \ + FT_CALLBACK_TABLE_DEF \ + const FT_Module_Class class_ = \ + { \ + flags_, \ + size_, \ + \ + name_, \ + version_, \ + requires_, \ + \ + interface_, \ + \ + init_, \ + done_, \ + get_interface_, \ + }; + + +FT_END_HEADER + +#endif /* FTOBJS_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftpsprop.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftpsprop.h new file mode 100644 index 0000000..1d5b287 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftpsprop.h @@ -0,0 +1,47 @@ +/**************************************************************************** + * + * ftpsprop.h + * + * Get and set properties of PostScript drivers (specification). + * + * Copyright (C) 2017-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTPSPROP_H_ +#define FTPSPROP_H_ + + +#include + + +FT_BEGIN_HEADER + + + FT_BASE_CALLBACK( FT_Error ) + ps_property_set( FT_Module module, /* PS_Driver */ + const char* property_name, + const void* value, + FT_Bool value_is_string ); + + FT_BASE_CALLBACK( FT_Error ) + ps_property_get( FT_Module module, /* PS_Driver */ + const char* property_name, + void* value ); + + +FT_END_HEADER + + +#endif /* FTPSPROP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftrfork.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftrfork.h new file mode 100644 index 0000000..e964599 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftrfork.h @@ -0,0 +1,245 @@ +/**************************************************************************** + * + * ftrfork.h + * + * Embedded resource forks accessor (specification). + * + * Copyright (C) 2004-2023 by + * Masatake YAMATO and Redhat K.K. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +/**************************************************************************** + * Development of the code in this file is support of + * Information-technology Promotion Agency, Japan. + */ + + +#ifndef FTRFORK_H_ +#define FTRFORK_H_ + + +#include + + +FT_BEGIN_HEADER + + + /* Number of guessing rules supported in `FT_Raccess_Guess'. */ + /* Don't forget to increment the number if you add a new guessing rule. */ +#define FT_RACCESS_N_RULES 9 + + + /* A structure to describe a reference in a resource by its resource ID */ + /* and internal offset. The `POST' resource expects to be concatenated */ + /* by the order of resource IDs instead of its appearance in the file. */ + + typedef struct FT_RFork_Ref_ + { + FT_Short res_id; + FT_Long offset; + + } FT_RFork_Ref; + + +#ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK + typedef FT_Error + (*ft_raccess_guess_func)( FT_Library library, + FT_Stream stream, + char *base_file_name, + char **result_file_name, + FT_Long *result_offset ); + + typedef enum FT_RFork_Rule_ { + FT_RFork_Rule_invalid = -2, + FT_RFork_Rule_uknown, /* -1 */ + FT_RFork_Rule_apple_double, + FT_RFork_Rule_apple_single, + FT_RFork_Rule_darwin_ufs_export, + FT_RFork_Rule_darwin_newvfs, + FT_RFork_Rule_darwin_hfsplus, + FT_RFork_Rule_vfat, + FT_RFork_Rule_linux_cap, + FT_RFork_Rule_linux_double, + FT_RFork_Rule_linux_netatalk + } FT_RFork_Rule; + + /* For fast translation between rule index and rule type, + * the macros FT_RFORK_xxx should be kept consistent with the + * raccess_guess_funcs table + */ + typedef struct ft_raccess_guess_rec_ { + ft_raccess_guess_func func; + FT_RFork_Rule type; + } ft_raccess_guess_rec; + + +#define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \ + static const type name[] = { +#define CONST_FT_RFORK_RULE_ARRAY_ENTRY( func_suffix, type_suffix ) \ + { raccess_guess_ ## func_suffix, \ + FT_RFork_Rule_ ## type_suffix }, + /* this array is a storage, thus a final `;' is needed */ +#define CONST_FT_RFORK_RULE_ARRAY_END }; + +#endif /* FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK */ + + + /************************************************************************** + * + * @function: + * FT_Raccess_Guess + * + * @description: + * Guess a file name and offset where the actual resource fork is stored. + * The macro FT_RACCESS_N_RULES holds the number of guessing rules; the + * guessed result for the Nth rule is represented as a triplet: a new + * file name (new_names[N]), a file offset (offsets[N]), and an error + * code (errors[N]). + * + * @input: + * library :: + * A FreeType library instance. + * + * stream :: + * A file stream containing the resource fork. + * + * base_name :: + * The (base) file name of the resource fork used for some guessing + * rules. + * + * @output: + * new_names :: + * An array of guessed file names in which the resource forks may + * exist. If 'new_names[N]' is `NULL`, the guessed file name is equal + * to `base_name`. + * + * offsets :: + * An array of guessed file offsets. 'offsets[N]' holds the file + * offset of the possible start of the resource fork in file + * 'new_names[N]'. + * + * errors :: + * An array of FreeType error codes. 'errors[N]' is the error code of + * Nth guessing rule function. If 'errors[N]' is not FT_Err_Ok, + * 'new_names[N]' and 'offsets[N]' are meaningless. + */ + FT_BASE( void ) + FT_Raccess_Guess( FT_Library library, + FT_Stream stream, + char* base_name, + char** new_names, + FT_Long* offsets, + FT_Error* errors ); + + + /************************************************************************** + * + * @function: + * FT_Raccess_Get_HeaderInfo + * + * @description: + * Get the information from the header of resource fork. The information + * includes the file offset where the resource map starts, and the file + * offset where the resource data starts. `FT_Raccess_Get_DataOffsets` + * requires these two data. + * + * @input: + * library :: + * A FreeType library instance. + * + * stream :: + * A file stream containing the resource fork. + * + * rfork_offset :: + * The file offset where the resource fork starts. + * + * @output: + * map_offset :: + * The file offset where the resource map starts. + * + * rdata_pos :: + * The file offset where the resource data starts. + * + * @return: + * FreeType error code. FT_Err_Ok means success. + */ + FT_BASE( FT_Error ) + FT_Raccess_Get_HeaderInfo( FT_Library library, + FT_Stream stream, + FT_Long rfork_offset, + FT_Long *map_offset, + FT_Long *rdata_pos ); + + + /************************************************************************** + * + * @function: + * FT_Raccess_Get_DataOffsets + * + * @description: + * Get the data offsets for a tag in a resource fork. Offsets are stored + * in an array because, in some cases, resources in a resource fork have + * the same tag. + * + * @input: + * library :: + * A FreeType library instance. + * + * stream :: + * A file stream containing the resource fork. + * + * map_offset :: + * The file offset where the resource map starts. + * + * rdata_pos :: + * The file offset where the resource data starts. + * + * tag :: + * The resource tag. + * + * sort_by_res_id :: + * A Boolean to sort the fragmented resource by their ids. The + * fragmented resources for 'POST' resource should be sorted to restore + * Type1 font properly. For 'sfnt' resources, sorting may induce a + * different order of the faces in comparison to that by QuickDraw API. + * + * @output: + * offsets :: + * The stream offsets for the resource data specified by 'tag'. This + * array is allocated by the function, so you have to call @ft_mem_free + * after use. + * + * count :: + * The length of offsets array. + * + * @return: + * FreeType error code. FT_Err_Ok means success. + * + * @note: + * Normally you should use `FT_Raccess_Get_HeaderInfo` to get the value + * for `map_offset` and `rdata_pos`. + */ + FT_BASE( FT_Error ) + FT_Raccess_Get_DataOffsets( FT_Library library, + FT_Stream stream, + FT_Long map_offset, + FT_Long rdata_pos, + FT_Long tag, + FT_Bool sort_by_res_id, + FT_Long **offsets, + FT_Long *count ); + + +FT_END_HEADER + +#endif /* FTRFORK_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftserv.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftserv.h new file mode 100644 index 0000000..1e85d6d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftserv.h @@ -0,0 +1,495 @@ +/**************************************************************************** + * + * ftserv.h + * + * The FreeType services (specification only). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + /************************************************************************** + * + * Each module can export one or more 'services'. Each service is + * identified by a constant string and modeled by a pointer; the latter + * generally corresponds to a structure containing function pointers. + * + * Note that a service's data cannot be a mere function pointer because in + * C it is possible that function pointers might be implemented differently + * than data pointers (e.g. 48 bits instead of 32). + * + */ + + +#ifndef FTSERV_H_ +#define FTSERV_H_ + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @macro: + * FT_FACE_FIND_SERVICE + * + * @description: + * This macro is used to look up a service from a face's driver module. + * + * @input: + * face :: + * The source face handle. + * + * id :: + * A string describing the service as defined in the service's header + * files (e.g. FT_SERVICE_ID_MULTI_MASTERS which expands to + * 'multi-masters'). It is automatically prefixed with + * `FT_SERVICE_ID_`. + * + * @output: + * ptr :: + * A variable that receives the service pointer. Will be `NULL` if not + * found. + */ +#ifdef __cplusplus + +#define FT_FACE_FIND_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Module module = FT_MODULE( FT_FACE( face )->driver ); \ + FT_Pointer _tmp_ = NULL; \ + FT_Pointer* _pptr_ = (FT_Pointer*)&(ptr); \ + \ + \ + if ( module->clazz->get_interface ) \ + _tmp_ = module->clazz->get_interface( module, FT_SERVICE_ID_ ## id ); \ + *_pptr_ = _tmp_; \ + FT_END_STMNT + +#else /* !C++ */ + +#define FT_FACE_FIND_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Module module = FT_MODULE( FT_FACE( face )->driver ); \ + FT_Pointer _tmp_ = NULL; \ + \ + if ( module->clazz->get_interface ) \ + _tmp_ = module->clazz->get_interface( module, FT_SERVICE_ID_ ## id ); \ + ptr = _tmp_; \ + FT_END_STMNT + +#endif /* !C++ */ + + + /************************************************************************** + * + * @macro: + * FT_FACE_FIND_GLOBAL_SERVICE + * + * @description: + * This macro is used to look up a service from all modules. + * + * @input: + * face :: + * The source face handle. + * + * id :: + * A string describing the service as defined in the service's header + * files (e.g. FT_SERVICE_ID_MULTI_MASTERS which expands to + * 'multi-masters'). It is automatically prefixed with + * `FT_SERVICE_ID_`. + * + * @output: + * ptr :: + * A variable that receives the service pointer. Will be `NULL` if not + * found. + */ +#ifdef __cplusplus + +#define FT_FACE_FIND_GLOBAL_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Module module = FT_MODULE( FT_FACE( face )->driver ); \ + FT_Pointer _tmp_; \ + FT_Pointer* _pptr_ = (FT_Pointer*)&(ptr); \ + \ + \ + _tmp_ = ft_module_get_service( module, FT_SERVICE_ID_ ## id, 1 ); \ + *_pptr_ = _tmp_; \ + FT_END_STMNT + +#else /* !C++ */ + +#define FT_FACE_FIND_GLOBAL_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Module module = FT_MODULE( FT_FACE( face )->driver ); \ + FT_Pointer _tmp_; \ + \ + \ + _tmp_ = ft_module_get_service( module, FT_SERVICE_ID_ ## id, 1 ); \ + ptr = _tmp_; \ + FT_END_STMNT + +#endif /* !C++ */ + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** S E R V I C E D E S C R I P T O R S *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + /* + * The following structure is used to _describe_ a given service to the + * library. This is useful to build simple static service lists. + */ + typedef struct FT_ServiceDescRec_ + { + const char* serv_id; /* service name */ + const void* serv_data; /* service pointer/data */ + + } FT_ServiceDescRec; + + typedef const FT_ServiceDescRec* FT_ServiceDesc; + + + /************************************************************************** + * + * @macro: + * FT_DEFINE_SERVICEDESCREC1 + * FT_DEFINE_SERVICEDESCREC2 + * FT_DEFINE_SERVICEDESCREC3 + * FT_DEFINE_SERVICEDESCREC4 + * FT_DEFINE_SERVICEDESCREC5 + * FT_DEFINE_SERVICEDESCREC6 + * FT_DEFINE_SERVICEDESCREC7 + * FT_DEFINE_SERVICEDESCREC8 + * FT_DEFINE_SERVICEDESCREC9 + * FT_DEFINE_SERVICEDESCREC10 + * + * @description: + * Used to initialize an array of FT_ServiceDescRec structures. + * + * The array will be allocated in the global scope (or the scope where + * the macro is used). + */ +#define FT_DEFINE_SERVICEDESCREC1( class_, \ + serv_id_1, serv_data_1 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC2( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC3( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC4( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC5( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC6( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5, \ + serv_id_6, serv_data_6 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { serv_id_6, serv_data_6 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC7( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5, \ + serv_id_6, serv_data_6, \ + serv_id_7, serv_data_7 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { serv_id_6, serv_data_6 }, \ + { serv_id_7, serv_data_7 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC8( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5, \ + serv_id_6, serv_data_6, \ + serv_id_7, serv_data_7, \ + serv_id_8, serv_data_8 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { serv_id_6, serv_data_6 }, \ + { serv_id_7, serv_data_7 }, \ + { serv_id_8, serv_data_8 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC9( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5, \ + serv_id_6, serv_data_6, \ + serv_id_7, serv_data_7, \ + serv_id_8, serv_data_8, \ + serv_id_9, serv_data_9 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { serv_id_6, serv_data_6 }, \ + { serv_id_7, serv_data_7 }, \ + { serv_id_8, serv_data_8 }, \ + { serv_id_9, serv_data_9 }, \ + { NULL, NULL } \ + }; + +#define FT_DEFINE_SERVICEDESCREC10( class_, \ + serv_id_1, serv_data_1, \ + serv_id_2, serv_data_2, \ + serv_id_3, serv_data_3, \ + serv_id_4, serv_data_4, \ + serv_id_5, serv_data_5, \ + serv_id_6, serv_data_6, \ + serv_id_7, serv_data_7, \ + serv_id_8, serv_data_8, \ + serv_id_9, serv_data_9, \ + serv_id_10, serv_data_10 ) \ + static const FT_ServiceDescRec class_[] = \ + { \ + { serv_id_1, serv_data_1 }, \ + { serv_id_2, serv_data_2 }, \ + { serv_id_3, serv_data_3 }, \ + { serv_id_4, serv_data_4 }, \ + { serv_id_5, serv_data_5 }, \ + { serv_id_6, serv_data_6 }, \ + { serv_id_7, serv_data_7 }, \ + { serv_id_8, serv_data_8 }, \ + { serv_id_9, serv_data_9 }, \ + { serv_id_10, serv_data_10 }, \ + { NULL, NULL } \ + }; + + + /* + * Parse a list of FT_ServiceDescRec descriptors and look for a specific + * service by ID. Note that the last element in the array must be { NULL, + * NULL }, and that the function should return NULL if the service isn't + * available. + * + * This function can be used by modules to implement their `get_service' + * method. + */ + FT_BASE( FT_Pointer ) + ft_service_list_lookup( FT_ServiceDesc service_descriptors, + const char* service_id ); + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** S E R V I C E S C A C H E *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + /* + * This structure is used to store a cache for several frequently used + * services. It is the type of `face->internal->services'. You should + * only use FT_FACE_LOOKUP_SERVICE to access it. + * + * All fields should have the type FT_Pointer to relax compilation + * dependencies. We assume the developer isn't completely stupid. + * + * Each field must be named `service_XXXX' where `XXX' corresponds to the + * correct FT_SERVICE_ID_XXXX macro. See the definition of + * FT_FACE_LOOKUP_SERVICE below how this is implemented. + * + */ + typedef struct FT_ServiceCacheRec_ + { + FT_Pointer service_POSTSCRIPT_FONT_NAME; + FT_Pointer service_MULTI_MASTERS; + FT_Pointer service_METRICS_VARIATIONS; + FT_Pointer service_GLYPH_DICT; + FT_Pointer service_PFR_METRICS; + FT_Pointer service_WINFNT; + + } FT_ServiceCacheRec, *FT_ServiceCache; + + + /* + * A magic number used within the services cache. + */ + + /* ensure that value `1' has the same width as a pointer */ +#define FT_SERVICE_UNAVAILABLE ((FT_Pointer)~(FT_PtrDist)1) + + + /************************************************************************** + * + * @macro: + * FT_FACE_LOOKUP_SERVICE + * + * @description: + * This macro is used to look up a service from a face's driver module + * using its cache. + * + * @input: + * face :: + * The source face handle containing the cache. + * + * field :: + * The field name in the cache. + * + * id :: + * The service ID. + * + * @output: + * ptr :: + * A variable receiving the service data. `NULL` if not available. + */ +#ifdef __cplusplus + +#define FT_FACE_LOOKUP_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Pointer svc; \ + FT_Pointer* Pptr = (FT_Pointer*)&(ptr); \ + \ + \ + svc = FT_FACE( face )->internal->services. service_ ## id; \ + if ( svc == FT_SERVICE_UNAVAILABLE ) \ + svc = NULL; \ + else if ( svc == NULL ) \ + { \ + FT_FACE_FIND_SERVICE( face, svc, id ); \ + \ + FT_FACE( face )->internal->services. service_ ## id = \ + (FT_Pointer)( svc != NULL ? svc \ + : FT_SERVICE_UNAVAILABLE ); \ + } \ + *Pptr = svc; \ + FT_END_STMNT + +#else /* !C++ */ + +#define FT_FACE_LOOKUP_SERVICE( face, ptr, id ) \ + FT_BEGIN_STMNT \ + FT_Pointer svc; \ + \ + \ + svc = FT_FACE( face )->internal->services. service_ ## id; \ + if ( svc == FT_SERVICE_UNAVAILABLE ) \ + svc = NULL; \ + else if ( svc == NULL ) \ + { \ + FT_FACE_FIND_SERVICE( face, svc, id ); \ + \ + FT_FACE( face )->internal->services. service_ ## id = \ + (FT_Pointer)( svc != NULL ? svc \ + : FT_SERVICE_UNAVAILABLE ); \ + } \ + ptr = svc; \ + FT_END_STMNT + +#endif /* !C++ */ + + /* + * A macro used to define new service structure types. + */ + +#define FT_DEFINE_SERVICE( name ) \ + typedef struct FT_Service_ ## name ## Rec_ \ + FT_Service_ ## name ## Rec ; \ + typedef struct FT_Service_ ## name ## Rec_ \ + const * FT_Service_ ## name ; \ + struct FT_Service_ ## name ## Rec_ + + /* */ + +FT_END_HEADER + +#endif /* FTSERV_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftstream.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftstream.h new file mode 100644 index 0000000..88e1928 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftstream.h @@ -0,0 +1,570 @@ +/**************************************************************************** + * + * ftstream.h + * + * Stream handling (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTSTREAM_H_ +#define FTSTREAM_H_ + + +#include +#include +#include + + +FT_BEGIN_HEADER + + + /* format of an 8-bit frame_op value: */ + /* */ + /* bit 76543210 */ + /* xxxxxxes */ + /* */ + /* s is set to 1 if the value is signed. */ + /* e is set to 1 if the value is little-endian. */ + /* xxx is a command. */ + +#define FT_FRAME_OP_SHIFT 2 +#define FT_FRAME_OP_SIGNED 1 +#define FT_FRAME_OP_LITTLE 2 +#define FT_FRAME_OP_COMMAND( x ) ( x >> FT_FRAME_OP_SHIFT ) + +#define FT_MAKE_FRAME_OP( command, little, sign ) \ + ( ( command << FT_FRAME_OP_SHIFT ) | ( little << 1 ) | sign ) + +#define FT_FRAME_OP_END 0 +#define FT_FRAME_OP_START 1 /* start a new frame */ +#define FT_FRAME_OP_BYTE 2 /* read 1-byte value */ +#define FT_FRAME_OP_SHORT 3 /* read 2-byte value */ +#define FT_FRAME_OP_LONG 4 /* read 4-byte value */ +#define FT_FRAME_OP_OFF3 5 /* read 3-byte value */ +#define FT_FRAME_OP_BYTES 6 /* read a bytes sequence */ + + + typedef enum FT_Frame_Op_ + { + ft_frame_end = 0, + ft_frame_start = FT_MAKE_FRAME_OP( FT_FRAME_OP_START, 0, 0 ), + + ft_frame_byte = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTE, 0, 0 ), + ft_frame_schar = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTE, 0, 1 ), + + ft_frame_ushort_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 0, 0 ), + ft_frame_short_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 0, 1 ), + ft_frame_ushort_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 1, 0 ), + ft_frame_short_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 1, 1 ), + + ft_frame_ulong_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 0, 0 ), + ft_frame_long_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 0, 1 ), + ft_frame_ulong_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 1, 0 ), + ft_frame_long_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 1, 1 ), + + ft_frame_uoff3_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 0, 0 ), + ft_frame_off3_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 0, 1 ), + ft_frame_uoff3_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 1, 0 ), + ft_frame_off3_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 1, 1 ), + + ft_frame_bytes = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTES, 0, 0 ), + ft_frame_skip = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTES, 0, 1 ) + + } FT_Frame_Op; + + + typedef struct FT_Frame_Field_ + { + FT_Byte value; + FT_Byte size; + FT_UShort offset; + + } FT_Frame_Field; + + + /* Construct an FT_Frame_Field out of a structure type and a field name. */ + /* The structure type must be set in the FT_STRUCTURE macro before */ + /* calling the FT_FRAME_START() macro. */ + /* */ +#define FT_FIELD_SIZE( f ) \ + (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f ) + +#define FT_FIELD_SIZE_DELTA( f ) \ + (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f[0] ) + +#define FT_FIELD_OFFSET( f ) \ + (FT_UShort)( offsetof( FT_STRUCTURE, f ) ) + +#define FT_FRAME_FIELD( frame_op, field ) \ + { \ + frame_op, \ + FT_FIELD_SIZE( field ), \ + FT_FIELD_OFFSET( field ) \ + } + +#define FT_MAKE_EMPTY_FIELD( frame_op ) { frame_op, 0, 0 } + +#define FT_FRAME_START( size ) { ft_frame_start, 0, size } +#define FT_FRAME_END { ft_frame_end, 0, 0 } + +#define FT_FRAME_LONG( f ) FT_FRAME_FIELD( ft_frame_long_be, f ) +#define FT_FRAME_ULONG( f ) FT_FRAME_FIELD( ft_frame_ulong_be, f ) +#define FT_FRAME_SHORT( f ) FT_FRAME_FIELD( ft_frame_short_be, f ) +#define FT_FRAME_USHORT( f ) FT_FRAME_FIELD( ft_frame_ushort_be, f ) +#define FT_FRAME_OFF3( f ) FT_FRAME_FIELD( ft_frame_off3_be, f ) +#define FT_FRAME_UOFF3( f ) FT_FRAME_FIELD( ft_frame_uoff3_be, f ) +#define FT_FRAME_BYTE( f ) FT_FRAME_FIELD( ft_frame_byte, f ) +#define FT_FRAME_CHAR( f ) FT_FRAME_FIELD( ft_frame_schar, f ) + +#define FT_FRAME_LONG_LE( f ) FT_FRAME_FIELD( ft_frame_long_le, f ) +#define FT_FRAME_ULONG_LE( f ) FT_FRAME_FIELD( ft_frame_ulong_le, f ) +#define FT_FRAME_SHORT_LE( f ) FT_FRAME_FIELD( ft_frame_short_le, f ) +#define FT_FRAME_USHORT_LE( f ) FT_FRAME_FIELD( ft_frame_ushort_le, f ) +#define FT_FRAME_OFF3_LE( f ) FT_FRAME_FIELD( ft_frame_off3_le, f ) +#define FT_FRAME_UOFF3_LE( f ) FT_FRAME_FIELD( ft_frame_uoff3_le, f ) + +#define FT_FRAME_SKIP_LONG { ft_frame_long_be, 0, 0 } +#define FT_FRAME_SKIP_SHORT { ft_frame_short_be, 0, 0 } +#define FT_FRAME_SKIP_BYTE { ft_frame_byte, 0, 0 } + +#define FT_FRAME_BYTES( field, count ) \ + { \ + ft_frame_bytes, \ + count, \ + FT_FIELD_OFFSET( field ) \ + } + +#define FT_FRAME_SKIP_BYTES( count ) { ft_frame_skip, count, 0 } + + + /************************************************************************** + * + * Integer extraction macros -- the 'buffer' parameter must ALWAYS be of + * type 'char*' or equivalent (1-byte elements). + */ + +#define FT_BYTE_( p, i ) ( ((const FT_Byte*)(p))[(i)] ) + +#define FT_INT16( x ) ( (FT_Int16)(x) ) +#define FT_UINT16( x ) ( (FT_UInt16)(x) ) +#define FT_INT32( x ) ( (FT_Int32)(x) ) +#define FT_UINT32( x ) ( (FT_UInt32)(x) ) + + +#define FT_BYTE_U16( p, i, s ) ( FT_UINT16( FT_BYTE_( p, i ) ) << (s) ) +#define FT_BYTE_U32( p, i, s ) ( FT_UINT32( FT_BYTE_( p, i ) ) << (s) ) + + + /* + * function acts on increases does range for emits + * pointer checking frames error + * ------------------------------------------------------------------- + * FT_PEEK_XXX buffer pointer no no no no + * FT_NEXT_XXX buffer pointer yes no no no + * FT_GET_XXX stream->cursor yes yes yes no + * FT_READ_XXX stream->pos yes yes no yes + */ + + + /* + * `FT_PEEK_XXX' are generic macros to get data from a buffer position. No + * safety checks are performed. + */ +#define FT_PEEK_SHORT( p ) FT_INT16( FT_BYTE_U16( p, 0, 8 ) | \ + FT_BYTE_U16( p, 1, 0 ) ) + +#define FT_PEEK_USHORT( p ) FT_UINT16( FT_BYTE_U16( p, 0, 8 ) | \ + FT_BYTE_U16( p, 1, 0 ) ) + +#define FT_PEEK_LONG( p ) FT_INT32( FT_BYTE_U32( p, 0, 24 ) | \ + FT_BYTE_U32( p, 1, 16 ) | \ + FT_BYTE_U32( p, 2, 8 ) | \ + FT_BYTE_U32( p, 3, 0 ) ) + +#define FT_PEEK_ULONG( p ) FT_UINT32( FT_BYTE_U32( p, 0, 24 ) | \ + FT_BYTE_U32( p, 1, 16 ) | \ + FT_BYTE_U32( p, 2, 8 ) | \ + FT_BYTE_U32( p, 3, 0 ) ) + +#define FT_PEEK_OFF3( p ) ( FT_INT32( FT_BYTE_U32( p, 0, 24 ) | \ + FT_BYTE_U32( p, 1, 16 ) | \ + FT_BYTE_U32( p, 2, 8 ) ) >> 8 ) + +#define FT_PEEK_UOFF3( p ) FT_UINT32( FT_BYTE_U32( p, 0, 16 ) | \ + FT_BYTE_U32( p, 1, 8 ) | \ + FT_BYTE_U32( p, 2, 0 ) ) + +#define FT_PEEK_SHORT_LE( p ) FT_INT16( FT_BYTE_U16( p, 1, 8 ) | \ + FT_BYTE_U16( p, 0, 0 ) ) + +#define FT_PEEK_USHORT_LE( p ) FT_UINT16( FT_BYTE_U16( p, 1, 8 ) | \ + FT_BYTE_U16( p, 0, 0 ) ) + +#define FT_PEEK_LONG_LE( p ) FT_INT32( FT_BYTE_U32( p, 3, 24 ) | \ + FT_BYTE_U32( p, 2, 16 ) | \ + FT_BYTE_U32( p, 1, 8 ) | \ + FT_BYTE_U32( p, 0, 0 ) ) + +#define FT_PEEK_ULONG_LE( p ) FT_UINT32( FT_BYTE_U32( p, 3, 24 ) | \ + FT_BYTE_U32( p, 2, 16 ) | \ + FT_BYTE_U32( p, 1, 8 ) | \ + FT_BYTE_U32( p, 0, 0 ) ) + +#define FT_PEEK_OFF3_LE( p ) ( FT_INT32( FT_BYTE_U32( p, 2, 24 ) | \ + FT_BYTE_U32( p, 1, 16 ) | \ + FT_BYTE_U32( p, 0, 8 ) ) >> 8 ) + +#define FT_PEEK_UOFF3_LE( p ) FT_UINT32( FT_BYTE_U32( p, 2, 16 ) | \ + FT_BYTE_U32( p, 1, 8 ) | \ + FT_BYTE_U32( p, 0, 0 ) ) + + /* + * `FT_NEXT_XXX' are generic macros to get data from a buffer position + * which is then increased appropriately. No safety checks are performed. + */ +#define FT_NEXT_CHAR( buffer ) \ + ( (signed char)*buffer++ ) + +#define FT_NEXT_BYTE( buffer ) \ + ( (unsigned char)*buffer++ ) + +#define FT_NEXT_SHORT( buffer ) \ + ( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) + +#define FT_NEXT_USHORT( buffer ) \ + ( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) ) + +#define FT_NEXT_OFF3( buffer ) \ + ( buffer += 3, FT_PEEK_OFF3( buffer - 3 ) ) + +#define FT_NEXT_UOFF3( buffer ) \ + ( buffer += 3, FT_PEEK_UOFF3( buffer - 3 ) ) + +#define FT_NEXT_LONG( buffer ) \ + ( buffer += 4, FT_PEEK_LONG( buffer - 4 ) ) + +#define FT_NEXT_ULONG( buffer ) \ + ( buffer += 4, FT_PEEK_ULONG( buffer - 4 ) ) + + +#define FT_NEXT_SHORT_LE( buffer ) \ + ( buffer += 2, FT_PEEK_SHORT_LE( buffer - 2 ) ) + +#define FT_NEXT_USHORT_LE( buffer ) \ + ( buffer += 2, FT_PEEK_USHORT_LE( buffer - 2 ) ) + +#define FT_NEXT_OFF3_LE( buffer ) \ + ( buffer += 3, FT_PEEK_OFF3_LE( buffer - 3 ) ) + +#define FT_NEXT_UOFF3_LE( buffer ) \ + ( buffer += 3, FT_PEEK_UOFF3_LE( buffer - 3 ) ) + +#define FT_NEXT_LONG_LE( buffer ) \ + ( buffer += 4, FT_PEEK_LONG_LE( buffer - 4 ) ) + +#define FT_NEXT_ULONG_LE( buffer ) \ + ( buffer += 4, FT_PEEK_ULONG_LE( buffer - 4 ) ) + + + /************************************************************************** + * + * The `FT_GET_XXX` macros use an implicit 'stream' variable. + * + * Note that a call to `FT_STREAM_SEEK` or `FT_STREAM_POS` has **no** + * effect on `FT_GET_XXX`! They operate on `stream->pos`, while + * `FT_GET_XXX` use `stream->cursor`. + */ +#if 0 +#define FT_GET_MACRO( type ) FT_NEXT_ ## type ( stream->cursor ) + +#define FT_GET_CHAR() FT_GET_MACRO( CHAR ) +#define FT_GET_BYTE() FT_GET_MACRO( BYTE ) +#define FT_GET_SHORT() FT_GET_MACRO( SHORT ) +#define FT_GET_USHORT() FT_GET_MACRO( USHORT ) +#define FT_GET_OFF3() FT_GET_MACRO( OFF3 ) +#define FT_GET_UOFF3() FT_GET_MACRO( UOFF3 ) +#define FT_GET_LONG() FT_GET_MACRO( LONG ) +#define FT_GET_ULONG() FT_GET_MACRO( ULONG ) +#define FT_GET_TAG4() FT_GET_MACRO( ULONG ) + +#define FT_GET_SHORT_LE() FT_GET_MACRO( SHORT_LE ) +#define FT_GET_USHORT_LE() FT_GET_MACRO( USHORT_LE ) +#define FT_GET_LONG_LE() FT_GET_MACRO( LONG_LE ) +#define FT_GET_ULONG_LE() FT_GET_MACRO( ULONG_LE ) + +#else +#define FT_GET_MACRO( func, type ) ( (type)func( stream ) ) + +#define FT_GET_CHAR() FT_GET_MACRO( FT_Stream_GetByte, FT_Char ) +#define FT_GET_BYTE() FT_GET_MACRO( FT_Stream_GetByte, FT_Byte ) +#define FT_GET_SHORT() FT_GET_MACRO( FT_Stream_GetUShort, FT_Int16 ) +#define FT_GET_USHORT() FT_GET_MACRO( FT_Stream_GetUShort, FT_UInt16 ) +#define FT_GET_UOFF3() FT_GET_MACRO( FT_Stream_GetUOffset, FT_UInt32 ) +#define FT_GET_LONG() FT_GET_MACRO( FT_Stream_GetULong, FT_Int32 ) +#define FT_GET_ULONG() FT_GET_MACRO( FT_Stream_GetULong, FT_UInt32 ) +#define FT_GET_TAG4() FT_GET_MACRO( FT_Stream_GetULong, FT_UInt32 ) + +#define FT_GET_SHORT_LE() FT_GET_MACRO( FT_Stream_GetUShortLE, FT_Int16 ) +#define FT_GET_USHORT_LE() FT_GET_MACRO( FT_Stream_GetUShortLE, FT_UInt16 ) +#define FT_GET_LONG_LE() FT_GET_MACRO( FT_Stream_GetULongLE, FT_Int32 ) +#define FT_GET_ULONG_LE() FT_GET_MACRO( FT_Stream_GetULongLE, FT_UInt32 ) +#endif + + +#define FT_READ_MACRO( func, type, var ) \ + ( var = (type)func( stream, &error ), \ + error != FT_Err_Ok ) + + /* + * The `FT_READ_XXX' macros use implicit `stream' and `error' variables. + * + * `FT_READ_XXX' can be controlled with `FT_STREAM_SEEK' and + * `FT_STREAM_POS'. They use the full machinery to check whether a read is + * valid. + */ +#define FT_READ_BYTE( var ) FT_READ_MACRO( FT_Stream_ReadByte, FT_Byte, var ) +#define FT_READ_CHAR( var ) FT_READ_MACRO( FT_Stream_ReadByte, FT_Char, var ) +#define FT_READ_SHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_Int16, var ) +#define FT_READ_USHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_UInt16, var ) +#define FT_READ_UOFF3( var ) FT_READ_MACRO( FT_Stream_ReadUOffset, FT_UInt32, var ) +#define FT_READ_LONG( var ) FT_READ_MACRO( FT_Stream_ReadULong, FT_Int32, var ) +#define FT_READ_ULONG( var ) FT_READ_MACRO( FT_Stream_ReadULong, FT_UInt32, var ) + +#define FT_READ_SHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadUShortLE, FT_Int16, var ) +#define FT_READ_USHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadUShortLE, FT_UInt16, var ) +#define FT_READ_LONG_LE( var ) FT_READ_MACRO( FT_Stream_ReadULongLE, FT_Int32, var ) +#define FT_READ_ULONG_LE( var ) FT_READ_MACRO( FT_Stream_ReadULongLE, FT_UInt32, var ) + + +#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM + + /* initialize a stream for reading a regular system stream */ + FT_BASE( FT_Error ) + FT_Stream_Open( FT_Stream stream, + const char* filepathname ); + +#endif /* FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */ + + + /* create a new (input) stream from an FT_Open_Args structure */ + FT_BASE( FT_Error ) + FT_Stream_New( FT_Library library, + const FT_Open_Args* args, + FT_Stream *astream ); + + /* free a stream */ + FT_BASE( void ) + FT_Stream_Free( FT_Stream stream, + FT_Int external ); + + /* initialize a stream for reading in-memory data */ + FT_BASE( void ) + FT_Stream_OpenMemory( FT_Stream stream, + const FT_Byte* base, + FT_ULong size ); + + /* close a stream (does not destroy the stream structure) */ + FT_BASE( void ) + FT_Stream_Close( FT_Stream stream ); + + + /* seek within a stream. position is relative to start of stream */ + FT_BASE( FT_Error ) + FT_Stream_Seek( FT_Stream stream, + FT_ULong pos ); + + /* skip bytes in a stream */ + FT_BASE( FT_Error ) + FT_Stream_Skip( FT_Stream stream, + FT_Long distance ); + + /* return current stream position */ + FT_BASE( FT_ULong ) + FT_Stream_Pos( FT_Stream stream ); + + /* read bytes from a stream into a user-allocated buffer, returns an */ + /* error if not all bytes could be read. */ + FT_BASE( FT_Error ) + FT_Stream_Read( FT_Stream stream, + FT_Byte* buffer, + FT_ULong count ); + + /* read bytes from a stream at a given position */ + FT_BASE( FT_Error ) + FT_Stream_ReadAt( FT_Stream stream, + FT_ULong pos, + FT_Byte* buffer, + FT_ULong count ); + + /* try to read bytes at the end of a stream; return number of bytes */ + /* really available */ + FT_BASE( FT_ULong ) + FT_Stream_TryRead( FT_Stream stream, + FT_Byte* buffer, + FT_ULong count ); + + /* Enter a frame of `count' consecutive bytes in a stream. Returns an */ + /* error if the frame could not be read/accessed. The caller can use */ + /* the `FT_Stream_GetXXX' functions to retrieve frame data without */ + /* error checks. */ + /* */ + /* You must _always_ call `FT_Stream_ExitFrame' once you have entered */ + /* a stream frame! */ + /* */ + /* Nested frames are not permitted. */ + /* */ + FT_BASE( FT_Error ) + FT_Stream_EnterFrame( FT_Stream stream, + FT_ULong count ); + + /* exit a stream frame */ + FT_BASE( void ) + FT_Stream_ExitFrame( FT_Stream stream ); + + + /* Extract a stream frame. If the stream is disk-based, a heap block */ + /* is allocated and the frame bytes are read into it. If the stream */ + /* is memory-based, this function simply sets a pointer to the data. */ + /* */ + /* Useful to optimize access to memory-based streams transparently. */ + /* */ + /* `FT_Stream_GetXXX' functions can't be used. */ + /* */ + /* An extracted frame must be `freed' with a call to the function */ + /* `FT_Stream_ReleaseFrame'. */ + /* */ + FT_BASE( FT_Error ) + FT_Stream_ExtractFrame( FT_Stream stream, + FT_ULong count, + FT_Byte** pbytes ); + + /* release an extract frame (see `FT_Stream_ExtractFrame') */ + FT_BASE( void ) + FT_Stream_ReleaseFrame( FT_Stream stream, + FT_Byte** pbytes ); + + + /* read a byte from an entered frame */ + FT_BASE( FT_Byte ) + FT_Stream_GetByte( FT_Stream stream ); + + /* read a 16-bit big-endian unsigned integer from an entered frame */ + FT_BASE( FT_UInt16 ) + FT_Stream_GetUShort( FT_Stream stream ); + + /* read a 24-bit big-endian unsigned integer from an entered frame */ + FT_BASE( FT_UInt32 ) + FT_Stream_GetUOffset( FT_Stream stream ); + + /* read a 32-bit big-endian unsigned integer from an entered frame */ + FT_BASE( FT_UInt32 ) + FT_Stream_GetULong( FT_Stream stream ); + + /* read a 16-bit little-endian unsigned integer from an entered frame */ + FT_BASE( FT_UInt16 ) + FT_Stream_GetUShortLE( FT_Stream stream ); + + /* read a 32-bit little-endian unsigned integer from an entered frame */ + FT_BASE( FT_UInt32 ) + FT_Stream_GetULongLE( FT_Stream stream ); + + + /* read a byte from a stream */ + FT_BASE( FT_Byte ) + FT_Stream_ReadByte( FT_Stream stream, + FT_Error* error ); + + /* read a 16-bit big-endian unsigned integer from a stream */ + FT_BASE( FT_UInt16 ) + FT_Stream_ReadUShort( FT_Stream stream, + FT_Error* error ); + + /* read a 24-bit big-endian unsigned integer from a stream */ + FT_BASE( FT_ULong ) + FT_Stream_ReadUOffset( FT_Stream stream, + FT_Error* error ); + + /* read a 32-bit big-endian integer from a stream */ + FT_BASE( FT_UInt32 ) + FT_Stream_ReadULong( FT_Stream stream, + FT_Error* error ); + + /* read a 16-bit little-endian unsigned integer from a stream */ + FT_BASE( FT_UInt16 ) + FT_Stream_ReadUShortLE( FT_Stream stream, + FT_Error* error ); + + /* read a 32-bit little-endian unsigned integer from a stream */ + FT_BASE( FT_UInt32 ) + FT_Stream_ReadULongLE( FT_Stream stream, + FT_Error* error ); + + /* Read a structure from a stream. The structure must be described */ + /* by an array of FT_Frame_Field records. */ + FT_BASE( FT_Error ) + FT_Stream_ReadFields( FT_Stream stream, + const FT_Frame_Field* fields, + void* structure ); + + +#define FT_STREAM_POS() \ + FT_Stream_Pos( stream ) + +#define FT_STREAM_SEEK( position ) \ + FT_SET_ERROR( FT_Stream_Seek( stream, \ + (FT_ULong)(position) ) ) + +#define FT_STREAM_SKIP( distance ) \ + FT_SET_ERROR( FT_Stream_Skip( stream, \ + (FT_Long)(distance) ) ) + +#define FT_STREAM_READ( buffer, count ) \ + FT_SET_ERROR( FT_Stream_Read( stream, \ + (FT_Byte*)(buffer), \ + (FT_ULong)(count) ) ) + +#define FT_STREAM_READ_AT( position, buffer, count ) \ + FT_SET_ERROR( FT_Stream_ReadAt( stream, \ + (FT_ULong)(position), \ + (FT_Byte*)(buffer), \ + (FT_ULong)(count) ) ) + +#define FT_STREAM_READ_FIELDS( fields, object ) \ + FT_SET_ERROR( FT_Stream_ReadFields( stream, fields, object ) ) + + +#define FT_FRAME_ENTER( size ) \ + FT_SET_ERROR( \ + FT_DEBUG_INNER( FT_Stream_EnterFrame( stream, \ + (FT_ULong)(size) ) ) ) + +#define FT_FRAME_EXIT() \ + FT_DEBUG_INNER( FT_Stream_ExitFrame( stream ) ) + +#define FT_FRAME_EXTRACT( size, bytes ) \ + FT_SET_ERROR( \ + FT_DEBUG_INNER( FT_Stream_ExtractFrame( stream, \ + (FT_ULong)(size), \ + (FT_Byte**)&(bytes) ) ) ) + +#define FT_FRAME_RELEASE( bytes ) \ + FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \ + (FT_Byte**)&(bytes) ) ) + + +FT_END_HEADER + +#endif /* FTSTREAM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fttrace.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fttrace.h new file mode 100644 index 0000000..319fe56 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/fttrace.h @@ -0,0 +1,172 @@ +/**************************************************************************** + * + * fttrace.h + * + * Tracing handling (specification only). + * + * Copyright (C) 2002-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /* definitions of trace levels for FreeType 2 */ + + /* the maximum string length (if the argument to `FT_TRACE_DEF` */ + /* gets used as a string) plus one charachter for ':' plus */ + /* another one for the trace level */ +#define FT_MAX_TRACE_LEVEL_LENGTH (9 + 1 + 1) + + /* the first level must always be `trace_any' */ +FT_TRACE_DEF( any ) + + /* base components */ +FT_TRACE_DEF( calc ) /* calculations (ftcalc.c) */ +FT_TRACE_DEF( gloader ) /* glyph loader (ftgloadr.c) */ +FT_TRACE_DEF( glyph ) /* glyph management (ftglyph.c) */ +FT_TRACE_DEF( memory ) /* memory manager (ftobjs.c) */ +FT_TRACE_DEF( init ) /* initialization (ftinit.c) */ +FT_TRACE_DEF( io ) /* i/o interface (ftsystem.c) */ +FT_TRACE_DEF( list ) /* list management (ftlist.c) */ +FT_TRACE_DEF( objs ) /* base objects (ftobjs.c) */ +FT_TRACE_DEF( outline ) /* outline management (ftoutln.c) */ +FT_TRACE_DEF( stream ) /* stream manager (ftstream.c) */ + +FT_TRACE_DEF( bitmap ) /* bitmap manipulation (ftbitmap.c) */ +FT_TRACE_DEF( checksum ) /* bitmap checksum (ftobjs.c) */ +FT_TRACE_DEF( mm ) /* MM interface (ftmm.c) */ +FT_TRACE_DEF( psprops ) /* PS driver properties (ftpsprop.c) */ +FT_TRACE_DEF( raccess ) /* resource fork accessor (ftrfork.c) */ +FT_TRACE_DEF( synth ) /* bold/slant synthesizer (ftsynth.c) */ + + /* rasterizers */ +FT_TRACE_DEF( raster ) /* monochrome rasterizer (ftraster.c) */ +FT_TRACE_DEF( smooth ) /* anti-aliasing raster (ftgrays.c) */ + + /* ot-svg module */ +FT_TRACE_DEF( otsvg ) /* OT-SVG renderer (ftsvg.c) */ + + /* cache sub-system */ +FT_TRACE_DEF( cache ) /* cache sub-system (ftcache.c, etc.) */ + + /* SFNT driver components */ +FT_TRACE_DEF( sfdriver ) /* SFNT font driver (sfdriver.c) */ +FT_TRACE_DEF( sfobjs ) /* SFNT object handler (sfobjs.c) */ +FT_TRACE_DEF( sfwoff ) /* WOFF format handler (sfwoff.c) */ +FT_TRACE_DEF( sfwoff2 ) /* WOFF2 format handler (sfwoff2.c) */ +FT_TRACE_DEF( ttbdf ) /* TrueType embedded BDF (ttbdf.c) */ +FT_TRACE_DEF( ttcmap ) /* charmap handler (ttcmap.c) */ +FT_TRACE_DEF( ttcolr ) /* glyph layer table (ttcolr.c) */ +FT_TRACE_DEF( ttcpal ) /* color palette table (ttcpal.c) */ +FT_TRACE_DEF( ttsvg ) /* OpenType SVG table (ttsvg.c) */ +FT_TRACE_DEF( ttkern ) /* kerning handler (ttkern.c) */ +FT_TRACE_DEF( ttload ) /* basic TrueType tables (ttload.c) */ +FT_TRACE_DEF( ttmtx ) /* metrics-related tables (ttmtx.c) */ +FT_TRACE_DEF( ttpost ) /* PS table processing (ttpost.c) */ +FT_TRACE_DEF( ttsbit ) /* TrueType sbit handling (ttsbit.c) */ + + /* TrueType driver components */ +FT_TRACE_DEF( ttdriver ) /* TT font driver (ttdriver.c) */ +FT_TRACE_DEF( ttgload ) /* TT glyph loader (ttgload.c) */ +FT_TRACE_DEF( ttgxvar ) /* TrueType GX var handler (ttgxvar.c) */ +FT_TRACE_DEF( ttinterp ) /* bytecode interpreter (ttinterp.c) */ +FT_TRACE_DEF( ttobjs ) /* TT objects manager (ttobjs.c) */ +FT_TRACE_DEF( ttpload ) /* TT data/program loader (ttpload.c) */ + + /* Type 1 driver components */ +FT_TRACE_DEF( t1afm ) +FT_TRACE_DEF( t1driver ) +FT_TRACE_DEF( t1gload ) +FT_TRACE_DEF( t1load ) +FT_TRACE_DEF( t1objs ) +FT_TRACE_DEF( t1parse ) + + /* PostScript helper module `psaux' */ +FT_TRACE_DEF( afmparse ) +FT_TRACE_DEF( cffdecode ) +FT_TRACE_DEF( psconv ) +FT_TRACE_DEF( psobjs ) +FT_TRACE_DEF( t1decode ) + + /* PostScript hinting module `pshinter' */ +FT_TRACE_DEF( pshalgo ) +FT_TRACE_DEF( pshrec ) + + /* Type 2 driver components */ +FT_TRACE_DEF( cffdriver ) +FT_TRACE_DEF( cffgload ) +FT_TRACE_DEF( cffload ) +FT_TRACE_DEF( cffobjs ) +FT_TRACE_DEF( cffparse ) + +FT_TRACE_DEF( cf2blues ) +FT_TRACE_DEF( cf2hints ) +FT_TRACE_DEF( cf2interp ) + + /* Type 42 driver component */ +FT_TRACE_DEF( t42 ) + + /* CID driver components */ +FT_TRACE_DEF( ciddriver ) +FT_TRACE_DEF( cidgload ) +FT_TRACE_DEF( cidload ) +FT_TRACE_DEF( cidobjs ) +FT_TRACE_DEF( cidparse ) + + /* Windows font component */ +FT_TRACE_DEF( winfnt ) + + /* PCF font components */ +FT_TRACE_DEF( pcfdriver ) +FT_TRACE_DEF( pcfread ) + + /* BDF font components */ +FT_TRACE_DEF( bdfdriver ) +FT_TRACE_DEF( bdflib ) + + /* PFR font component */ +FT_TRACE_DEF( pfr ) + + /* OpenType validation components */ +FT_TRACE_DEF( otvcommon ) +FT_TRACE_DEF( otvbase ) +FT_TRACE_DEF( otvgdef ) +FT_TRACE_DEF( otvgpos ) +FT_TRACE_DEF( otvgsub ) +FT_TRACE_DEF( otvjstf ) +FT_TRACE_DEF( otvmath ) +FT_TRACE_DEF( otvmodule ) + + /* TrueTypeGX/AAT validation components */ +FT_TRACE_DEF( gxvbsln ) +FT_TRACE_DEF( gxvcommon ) +FT_TRACE_DEF( gxvfeat ) +FT_TRACE_DEF( gxvjust ) +FT_TRACE_DEF( gxvkern ) +FT_TRACE_DEF( gxvmodule ) +FT_TRACE_DEF( gxvmort ) +FT_TRACE_DEF( gxvmorx ) +FT_TRACE_DEF( gxvlcar ) +FT_TRACE_DEF( gxvopbd ) +FT_TRACE_DEF( gxvprop ) +FT_TRACE_DEF( gxvtrak ) + + /* autofit components */ +FT_TRACE_DEF( afcjk ) +FT_TRACE_DEF( afglobal ) +FT_TRACE_DEF( afhints ) +FT_TRACE_DEF( afmodule ) +FT_TRACE_DEF( aflatin ) +FT_TRACE_DEF( afshaper ) + + /* SDF components */ +FT_TRACE_DEF( sdf ) /* signed distance raster for outlines (ftsdf.c) */ +FT_TRACE_DEF( bsdf ) /* signed distance raster for bitmaps (ftbsdf.c) */ + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftvalid.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftvalid.h new file mode 100644 index 0000000..e98ee4e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/ftvalid.h @@ -0,0 +1,160 @@ +/**************************************************************************** + * + * ftvalid.h + * + * FreeType validation support (specification). + * + * Copyright (C) 2004-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef FTVALID_H_ +#define FTVALID_H_ + +#include +#include FT_CONFIG_STANDARD_LIBRARY_H /* for ft_jmpbuf */ + +#include "compiler-macros.h" + +FT_BEGIN_HEADER + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /**** ****/ + /**** ****/ + /**** V A L I D A T I O N ****/ + /**** ****/ + /**** ****/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + /* handle to a validation object */ + typedef struct FT_ValidatorRec_ volatile* FT_Validator; + + + /************************************************************************** + * + * There are three distinct validation levels defined here: + * + * FT_VALIDATE_DEFAULT :: + * A table that passes this validation level can be used reliably by + * FreeType. It generally means that all offsets have been checked to + * prevent out-of-bound reads, that array counts are correct, etc. + * + * FT_VALIDATE_TIGHT :: + * A table that passes this validation level can be used reliably and + * doesn't contain invalid data. For example, a charmap table that + * returns invalid glyph indices will not pass, even though it can be + * used with FreeType in default mode (the library will simply return an + * error later when trying to load the glyph). + * + * It also checks that fields which must be a multiple of 2, 4, or 8, + * don't have incorrect values, etc. + * + * FT_VALIDATE_PARANOID :: + * Only for font debugging. Checks that a table follows the + * specification by 100%. Very few fonts will be able to pass this level + * anyway but it can be useful for certain tools like font + * editors/converters. + */ + typedef enum FT_ValidationLevel_ + { + FT_VALIDATE_DEFAULT = 0, + FT_VALIDATE_TIGHT, + FT_VALIDATE_PARANOID + + } FT_ValidationLevel; + + +#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */ + /* We disable the warning `structure was padded due to */ + /* __declspec(align())' in order to compile cleanly with */ + /* the maximum level of warnings. */ +#pragma warning( push ) +#pragma warning( disable : 4324 ) +#endif /* _MSC_VER */ + + /* validator structure */ + typedef struct FT_ValidatorRec_ + { + ft_jmp_buf jump_buffer; /* used for exception handling */ + + const FT_Byte* base; /* address of table in memory */ + const FT_Byte* limit; /* `base' + sizeof(table) in memory */ + FT_ValidationLevel level; /* validation level */ + FT_Error error; /* error returned. 0 means success */ + + } FT_ValidatorRec; + +#if defined( _MSC_VER ) +#pragma warning( pop ) +#endif + +#define FT_VALIDATOR( x ) ( (FT_Validator)( x ) ) + + + FT_BASE( void ) + ft_validator_init( FT_Validator valid, + const FT_Byte* base, + const FT_Byte* limit, + FT_ValidationLevel level ); + + /* Do not use this. It's broken and will cause your validator to crash */ + /* if you run it on an invalid font. */ + FT_BASE( FT_Int ) + ft_validator_run( FT_Validator valid ); + + /* Sets the error field in a validator, then calls `longjmp' to return */ + /* to high-level caller. Using `setjmp/longjmp' avoids many stupid */ + /* error checks within the validation routines. */ + /* */ + FT_BASE( void ) + ft_validator_error( FT_Validator valid, + FT_Error error ); + + + /* Calls ft_validate_error. Assumes that the `valid' local variable */ + /* holds a pointer to the current validator object. */ + /* */ +#define FT_INVALID( _error ) FT_INVALID_( _error ) +#define FT_INVALID_( _error ) \ + ft_validator_error( valid, FT_THROW( _error ) ) + + /* called when a broken table is detected */ +#define FT_INVALID_TOO_SHORT \ + FT_INVALID( Invalid_Table ) + + /* called when an invalid offset is detected */ +#define FT_INVALID_OFFSET \ + FT_INVALID( Invalid_Offset ) + + /* called when an invalid format/value is detected */ +#define FT_INVALID_FORMAT \ + FT_INVALID( Invalid_Table ) + + /* called when an invalid glyph index is detected */ +#define FT_INVALID_GLYPH_ID \ + FT_INVALID( Invalid_Glyph_Index ) + + /* called when an invalid field value is detected */ +#define FT_INVALID_DATA \ + FT_INVALID( Invalid_Table ) + + +FT_END_HEADER + +#endif /* FTVALID_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/psaux.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/psaux.h new file mode 100644 index 0000000..dfb1987 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/psaux.h @@ -0,0 +1,1434 @@ +/**************************************************************************** + * + * psaux.h + * + * Auxiliary functions and data structures related to PostScript fonts + * (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef PSAUX_H_ +#define PSAUX_H_ + + +#include +#include +#include +#include +#include +#include +#include + + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * PostScript modules driver class. + */ + typedef struct PS_DriverRec_ + { + FT_DriverRec root; + + FT_UInt hinting_engine; + FT_Bool no_stem_darkening; + FT_Int darken_params[8]; + FT_Int32 random_seed; + + } PS_DriverRec, *PS_Driver; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** T1_TABLE *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + + typedef struct PS_TableRec_* PS_Table; + typedef const struct PS_Table_FuncsRec_* PS_Table_Funcs; + + + /************************************************************************** + * + * @struct: + * PS_Table_FuncsRec + * + * @description: + * A set of function pointers to manage PS_Table objects. + * + * @fields: + * table_init :: + * Used to initialize a table. + * + * table_done :: + * Finalizes resp. destroy a given table. + * + * table_add :: + * Adds a new object to a table. + * + * table_release :: + * Releases table data, then finalizes it. + */ + typedef struct PS_Table_FuncsRec_ + { + FT_Error + (*init)( PS_Table table, + FT_Int count, + FT_Memory memory ); + + void + (*done)( PS_Table table ); + + FT_Error + (*add)( PS_Table table, + FT_Int idx, + const void* object, + FT_UInt length ); + + void + (*release)( PS_Table table ); + + } PS_Table_FuncsRec; + + + /************************************************************************** + * + * @struct: + * PS_TableRec + * + * @description: + * A PS_Table is a simple object used to store an array of objects in a + * single memory block. + * + * @fields: + * block :: + * The address in memory of the growheap's block. This can change + * between two object adds, due to reallocation. + * + * cursor :: + * The current top of the grow heap within its block. + * + * capacity :: + * The current size of the heap block. Increments by 1kByte chunks. + * + * init :: + * Set to 0xDEADBEEF if 'elements' and 'lengths' have been allocated. + * + * max_elems :: + * The maximum number of elements in table. + * + * elements :: + * A table of element addresses within the block. + * + * lengths :: + * A table of element sizes within the block. + * + * memory :: + * The object used for memory operations (alloc/realloc). + * + * funcs :: + * A table of method pointers for this object. + */ + typedef struct PS_TableRec_ + { + FT_Byte* block; /* current memory block */ + FT_Offset cursor; /* current cursor in memory block */ + FT_Offset capacity; /* current size of memory block */ + FT_ULong init; + + FT_Int max_elems; + FT_Byte** elements; /* addresses of table elements */ + FT_UInt* lengths; /* lengths of table elements */ + + FT_Memory memory; + PS_Table_FuncsRec funcs; + + } PS_TableRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** T1 FIELDS & TOKENS *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef struct PS_ParserRec_* PS_Parser; + + typedef struct T1_TokenRec_* T1_Token; + + typedef struct T1_FieldRec_* T1_Field; + + + /* simple enumeration type used to identify token types */ + typedef enum T1_TokenType_ + { + T1_TOKEN_TYPE_NONE = 0, + T1_TOKEN_TYPE_ANY, + T1_TOKEN_TYPE_STRING, + T1_TOKEN_TYPE_ARRAY, + T1_TOKEN_TYPE_KEY, /* aka `name' */ + + /* do not remove */ + T1_TOKEN_TYPE_MAX + + } T1_TokenType; + + + /* a simple structure used to identify tokens */ + typedef struct T1_TokenRec_ + { + FT_Byte* start; /* first character of token in input stream */ + FT_Byte* limit; /* first character after the token */ + T1_TokenType type; /* type of token */ + + } T1_TokenRec; + + + /* enumeration type used to identify object fields */ + typedef enum T1_FieldType_ + { + T1_FIELD_TYPE_NONE = 0, + T1_FIELD_TYPE_BOOL, + T1_FIELD_TYPE_INTEGER, + T1_FIELD_TYPE_FIXED, + T1_FIELD_TYPE_FIXED_1000, + T1_FIELD_TYPE_STRING, + T1_FIELD_TYPE_KEY, + T1_FIELD_TYPE_BBOX, + T1_FIELD_TYPE_MM_BBOX, + T1_FIELD_TYPE_INTEGER_ARRAY, + T1_FIELD_TYPE_FIXED_ARRAY, + T1_FIELD_TYPE_CALLBACK, + + /* do not remove */ + T1_FIELD_TYPE_MAX + + } T1_FieldType; + + + typedef enum T1_FieldLocation_ + { + T1_FIELD_LOCATION_CID_INFO, + T1_FIELD_LOCATION_FONT_DICT, + T1_FIELD_LOCATION_FONT_EXTRA, + T1_FIELD_LOCATION_FONT_INFO, + T1_FIELD_LOCATION_PRIVATE, + T1_FIELD_LOCATION_BBOX, + T1_FIELD_LOCATION_LOADER, + T1_FIELD_LOCATION_FACE, + T1_FIELD_LOCATION_BLEND, + + /* do not remove */ + T1_FIELD_LOCATION_MAX + + } T1_FieldLocation; + + + typedef void + (*T1_Field_ParseFunc)( FT_Face face, + FT_Pointer parser ); + + + /* structure type used to model object fields */ + typedef struct T1_FieldRec_ + { + const char* ident; /* field identifier */ + T1_FieldLocation location; + T1_FieldType type; /* type of field */ + T1_Field_ParseFunc reader; + FT_UInt offset; /* offset of field in object */ + FT_Byte size; /* size of field in bytes */ + FT_UInt array_max; /* maximum number of elements for */ + /* array */ + FT_UInt count_offset; /* offset of element count for */ + /* arrays; must not be zero if in */ + /* use -- in other words, a */ + /* `num_FOO' element must not */ + /* start the used structure if we */ + /* parse a `FOO' array */ + FT_UInt dict; /* where we expect it */ + } T1_FieldRec; + +#define T1_FIELD_DICT_FONTDICT ( 1 << 0 ) /* also FontInfo and FDArray */ +#define T1_FIELD_DICT_PRIVATE ( 1 << 1 ) + + + +#define T1_NEW_SIMPLE_FIELD( _ident, _type, _fname, _dict ) \ + { \ + _ident, T1CODE, _type, \ + 0, \ + FT_FIELD_OFFSET( _fname ), \ + FT_FIELD_SIZE( _fname ), \ + 0, 0, \ + _dict \ + }, + +#define T1_NEW_CALLBACK_FIELD( _ident, _reader, _dict ) \ + { \ + _ident, T1CODE, T1_FIELD_TYPE_CALLBACK, \ + (T1_Field_ParseFunc)_reader, \ + 0, 0, \ + 0, 0, \ + _dict \ + }, + +#define T1_NEW_TABLE_FIELD( _ident, _type, _fname, _max, _dict ) \ + { \ + _ident, T1CODE, _type, \ + 0, \ + FT_FIELD_OFFSET( _fname ), \ + FT_FIELD_SIZE_DELTA( _fname ), \ + _max, \ + FT_FIELD_OFFSET( num_ ## _fname ), \ + _dict \ + }, + +#define T1_NEW_TABLE_FIELD2( _ident, _type, _fname, _max, _dict ) \ + { \ + _ident, T1CODE, _type, \ + 0, \ + FT_FIELD_OFFSET( _fname ), \ + FT_FIELD_SIZE_DELTA( _fname ), \ + _max, 0, \ + _dict \ + }, + + +#define T1_FIELD_BOOL( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_BOOL, _fname, _dict ) + +#define T1_FIELD_NUM( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_INTEGER, _fname, _dict ) + +#define T1_FIELD_FIXED( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_FIXED, _fname, _dict ) + +#define T1_FIELD_FIXED_1000( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_FIXED_1000, _fname, \ + _dict ) + +#define T1_FIELD_STRING( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_STRING, _fname, _dict ) + +#define T1_FIELD_KEY( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_KEY, _fname, _dict ) + +#define T1_FIELD_BBOX( _ident, _fname, _dict ) \ + T1_NEW_SIMPLE_FIELD( _ident, T1_FIELD_TYPE_BBOX, _fname, _dict ) + + +#define T1_FIELD_NUM_TABLE( _ident, _fname, _fmax, _dict ) \ + T1_NEW_TABLE_FIELD( _ident, T1_FIELD_TYPE_INTEGER_ARRAY, \ + _fname, _fmax, _dict ) + +#define T1_FIELD_FIXED_TABLE( _ident, _fname, _fmax, _dict ) \ + T1_NEW_TABLE_FIELD( _ident, T1_FIELD_TYPE_FIXED_ARRAY, \ + _fname, _fmax, _dict ) + +#define T1_FIELD_NUM_TABLE2( _ident, _fname, _fmax, _dict ) \ + T1_NEW_TABLE_FIELD2( _ident, T1_FIELD_TYPE_INTEGER_ARRAY, \ + _fname, _fmax, _dict ) + +#define T1_FIELD_FIXED_TABLE2( _ident, _fname, _fmax, _dict ) \ + T1_NEW_TABLE_FIELD2( _ident, T1_FIELD_TYPE_FIXED_ARRAY, \ + _fname, _fmax, _dict ) + +#define T1_FIELD_CALLBACK( _ident, _name, _dict ) \ + T1_NEW_CALLBACK_FIELD( _ident, _name, _dict ) + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** T1 PARSER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef const struct PS_Parser_FuncsRec_* PS_Parser_Funcs; + + typedef struct PS_Parser_FuncsRec_ + { + void + (*init)( PS_Parser parser, + FT_Byte* base, + FT_Byte* limit, + FT_Memory memory ); + + void + (*done)( PS_Parser parser ); + + void + (*skip_spaces)( PS_Parser parser ); + void + (*skip_PS_token)( PS_Parser parser ); + + FT_Long + (*to_int)( PS_Parser parser ); + FT_Fixed + (*to_fixed)( PS_Parser parser, + FT_Int power_ten ); + + FT_Error + (*to_bytes)( PS_Parser parser, + FT_Byte* bytes, + FT_Offset max_bytes, + FT_ULong* pnum_bytes, + FT_Bool delimiters ); + + FT_Int + (*to_coord_array)( PS_Parser parser, + FT_Int max_coords, + FT_Short* coords ); + FT_Int + (*to_fixed_array)( PS_Parser parser, + FT_Int max_values, + FT_Fixed* values, + FT_Int power_ten ); + + void + (*to_token)( PS_Parser parser, + T1_Token token ); + void + (*to_token_array)( PS_Parser parser, + T1_Token tokens, + FT_UInt max_tokens, + FT_Int* pnum_tokens ); + + FT_Error + (*load_field)( PS_Parser parser, + const T1_Field field, + void** objects, + FT_UInt max_objects, + FT_ULong* pflags ); + + FT_Error + (*load_field_table)( PS_Parser parser, + const T1_Field field, + void** objects, + FT_UInt max_objects, + FT_ULong* pflags ); + + } PS_Parser_FuncsRec; + + + /************************************************************************** + * + * @struct: + * PS_ParserRec + * + * @description: + * A PS_Parser is an object used to parse a Type 1 font very quickly. + * + * @fields: + * cursor :: + * The current position in the text. + * + * base :: + * Start of the processed text. + * + * limit :: + * End of the processed text. + * + * error :: + * The last error returned. + * + * memory :: + * The object used for memory operations (alloc/realloc). + * + * funcs :: + * A table of functions for the parser. + */ + typedef struct PS_ParserRec_ + { + FT_Byte* cursor; + FT_Byte* base; + FT_Byte* limit; + FT_Error error; + FT_Memory memory; + + PS_Parser_FuncsRec funcs; + + } PS_ParserRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** PS BUILDER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + + typedef struct PS_Builder_ PS_Builder; + typedef const struct PS_Builder_FuncsRec_* PS_Builder_Funcs; + + typedef struct PS_Builder_FuncsRec_ + { + void + (*init)( PS_Builder* ps_builder, + void* builder, + FT_Bool is_t1 ); + + void + (*done)( PS_Builder* builder ); + + } PS_Builder_FuncsRec; + + + /************************************************************************** + * + * @struct: + * PS_Builder + * + * @description: + * A structure used during glyph loading to store its outline. + * + * @fields: + * memory :: + * The current memory object. + * + * face :: + * The current face object. + * + * glyph :: + * The current glyph slot. + * + * loader :: + * XXX + * + * base :: + * The base glyph outline. + * + * current :: + * The current glyph outline. + * + * pos_x :: + * The horizontal translation (if composite glyph). + * + * pos_y :: + * The vertical translation (if composite glyph). + * + * left_bearing :: + * The left side bearing point. + * + * advance :: + * The horizontal advance vector. + * + * bbox :: + * Unused. + * + * path_begun :: + * A flag which indicates that a new path has begun. + * + * load_points :: + * If this flag is not set, no points are loaded. + * + * no_recurse :: + * Set but not used. + * + * metrics_only :: + * A boolean indicating that we only want to compute the metrics of a + * given glyph, not load all of its points. + * + * is_t1 :: + * Set if current font type is Type 1. + * + * funcs :: + * An array of function pointers for the builder. + */ + struct PS_Builder_ + { + FT_Memory memory; + FT_Face face; + CFF_GlyphSlot glyph; + FT_GlyphLoader loader; + FT_Outline* base; + FT_Outline* current; + + FT_Pos* pos_x; + FT_Pos* pos_y; + + FT_Vector* left_bearing; + FT_Vector* advance; + + FT_BBox* bbox; /* bounding box */ + FT_Bool path_begun; + FT_Bool load_points; + FT_Bool no_recurse; + + FT_Bool metrics_only; + FT_Bool is_t1; + + PS_Builder_FuncsRec funcs; + + }; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** PS DECODER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + +#define PS_MAX_OPERANDS 48 +#define PS_MAX_SUBRS_CALLS 16 /* maximum subroutine nesting; */ + /* only 10 are allowed but there exist */ + /* fonts like `HiraKakuProN-W3.ttf' */ + /* (Hiragino Kaku Gothic ProN W3; */ + /* 8.2d6e1; 2014-12-19) that exceed */ + /* this limit */ + + /* execution context charstring zone */ + + typedef struct PS_Decoder_Zone_ + { + FT_Byte* base; + FT_Byte* limit; + FT_Byte* cursor; + + } PS_Decoder_Zone; + + + typedef FT_Error + (*CFF_Decoder_Get_Glyph_Callback)( TT_Face face, + FT_UInt glyph_index, + FT_Byte** pointer, + FT_ULong* length ); + + typedef void + (*CFF_Decoder_Free_Glyph_Callback)( TT_Face face, + FT_Byte** pointer, + FT_ULong length ); + + + typedef struct PS_Decoder_ + { + PS_Builder builder; + + FT_Fixed stack[PS_MAX_OPERANDS + 1]; + FT_Fixed* top; + + PS_Decoder_Zone zones[PS_MAX_SUBRS_CALLS + 1]; + PS_Decoder_Zone* zone; + + FT_Int flex_state; + FT_Int num_flex_vectors; + FT_Vector flex_vectors[7]; + + CFF_Font cff; + CFF_SubFont current_subfont; /* for current glyph_index */ + FT_Generic* cf2_instance; + + FT_Pos* glyph_width; + FT_Bool width_only; + FT_Int num_hints; + + FT_UInt num_locals; + FT_UInt num_globals; + + FT_Int locals_bias; + FT_Int globals_bias; + + FT_Byte** locals; + FT_Byte** globals; + + FT_Byte** glyph_names; /* for pure CFF fonts only */ + FT_UInt num_glyphs; /* number of glyphs in font */ + + FT_Render_Mode hint_mode; + + FT_Bool seac; + + CFF_Decoder_Get_Glyph_Callback get_glyph_callback; + CFF_Decoder_Free_Glyph_Callback free_glyph_callback; + + /* Type 1 stuff */ + FT_Service_PsCMaps psnames; /* for seac */ + + FT_Int lenIV; /* internal for sub routine calls */ + FT_UInt* locals_len; /* array of subrs length (optional) */ + FT_Hash locals_hash; /* used if `num_subrs' was massaged */ + + FT_Matrix font_matrix; + FT_Vector font_offset; + + PS_Blend blend; /* for multiple master support */ + + FT_Long* buildchar; + FT_UInt len_buildchar; + + } PS_Decoder; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** T1 BUILDER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + + typedef struct T1_BuilderRec_* T1_Builder; + + + typedef FT_Error + (*T1_Builder_Check_Points_Func)( T1_Builder builder, + FT_Int count ); + + typedef void + (*T1_Builder_Add_Point_Func)( T1_Builder builder, + FT_Pos x, + FT_Pos y, + FT_Byte flag ); + + typedef FT_Error + (*T1_Builder_Add_Point1_Func)( T1_Builder builder, + FT_Pos x, + FT_Pos y ); + + typedef FT_Error + (*T1_Builder_Add_Contour_Func)( T1_Builder builder ); + + typedef FT_Error + (*T1_Builder_Start_Point_Func)( T1_Builder builder, + FT_Pos x, + FT_Pos y ); + + typedef void + (*T1_Builder_Close_Contour_Func)( T1_Builder builder ); + + + typedef const struct T1_Builder_FuncsRec_* T1_Builder_Funcs; + + typedef struct T1_Builder_FuncsRec_ + { + void + (*init)( T1_Builder builder, + FT_Face face, + FT_Size size, + FT_GlyphSlot slot, + FT_Bool hinting ); + + void + (*done)( T1_Builder builder ); + + T1_Builder_Check_Points_Func check_points; + T1_Builder_Add_Point_Func add_point; + T1_Builder_Add_Point1_Func add_point1; + T1_Builder_Add_Contour_Func add_contour; + T1_Builder_Start_Point_Func start_point; + T1_Builder_Close_Contour_Func close_contour; + + } T1_Builder_FuncsRec; + + + /* an enumeration type to handle charstring parsing states */ + typedef enum T1_ParseState_ + { + T1_Parse_Start, + T1_Parse_Have_Width, + T1_Parse_Have_Moveto, + T1_Parse_Have_Path + + } T1_ParseState; + + + /************************************************************************** + * + * @struct: + * T1_BuilderRec + * + * @description: + * A structure used during glyph loading to store its outline. + * + * @fields: + * memory :: + * The current memory object. + * + * face :: + * The current face object. + * + * glyph :: + * The current glyph slot. + * + * loader :: + * XXX + * + * base :: + * The base glyph outline. + * + * current :: + * The current glyph outline. + * + * max_points :: + * maximum points in builder outline + * + * max_contours :: + * Maximum number of contours in builder outline. + * + * pos_x :: + * The horizontal translation (if composite glyph). + * + * pos_y :: + * The vertical translation (if composite glyph). + * + * left_bearing :: + * The left side bearing point. + * + * advance :: + * The horizontal advance vector. + * + * bbox :: + * Unused. + * + * parse_state :: + * An enumeration which controls the charstring parsing state. + * + * load_points :: + * If this flag is not set, no points are loaded. + * + * no_recurse :: + * Set but not used. + * + * metrics_only :: + * A boolean indicating that we only want to compute the metrics of a + * given glyph, not load all of its points. + * + * funcs :: + * An array of function pointers for the builder. + */ + typedef struct T1_BuilderRec_ + { + FT_Memory memory; + FT_Face face; + FT_GlyphSlot glyph; + FT_GlyphLoader loader; + FT_Outline* base; + FT_Outline* current; + + FT_Pos pos_x; + FT_Pos pos_y; + + FT_Vector left_bearing; + FT_Vector advance; + + FT_BBox bbox; /* bounding box */ + T1_ParseState parse_state; + FT_Bool load_points; + FT_Bool no_recurse; + + FT_Bool metrics_only; + + void* hints_funcs; /* hinter-specific */ + void* hints_globals; /* hinter-specific */ + + T1_Builder_FuncsRec funcs; + + } T1_BuilderRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** T1 DECODER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + +#if 0 + + /************************************************************************** + * + * T1_MAX_SUBRS_CALLS details the maximum number of nested sub-routine + * calls during glyph loading. + */ +#define T1_MAX_SUBRS_CALLS 8 + + + /************************************************************************** + * + * T1_MAX_CHARSTRING_OPERANDS is the charstring stack's capacity. A + * minimum of 16 is required. + */ +#define T1_MAX_CHARSTRINGS_OPERANDS 32 + +#endif /* 0 */ + + + typedef struct T1_Decoder_ZoneRec_ + { + FT_Byte* cursor; + FT_Byte* base; + FT_Byte* limit; + + } T1_Decoder_ZoneRec, *T1_Decoder_Zone; + + + typedef struct T1_DecoderRec_* T1_Decoder; + typedef const struct T1_Decoder_FuncsRec_* T1_Decoder_Funcs; + + + typedef FT_Error + (*T1_Decoder_Callback)( T1_Decoder decoder, + FT_UInt glyph_index ); + + + typedef struct T1_Decoder_FuncsRec_ + { + FT_Error + (*init)( T1_Decoder decoder, + FT_Face face, + FT_Size size, + FT_GlyphSlot slot, + FT_Byte** glyph_names, + PS_Blend blend, + FT_Bool hinting, + FT_Render_Mode hint_mode, + T1_Decoder_Callback callback ); + + void + (*done)( T1_Decoder decoder ); + +#ifdef T1_CONFIG_OPTION_OLD_ENGINE + FT_Error + (*parse_charstrings_old)( T1_Decoder decoder, + FT_Byte* base, + FT_UInt len ); +#else + FT_Error + (*parse_metrics)( T1_Decoder decoder, + FT_Byte* base, + FT_UInt len ); +#endif + + FT_Error + (*parse_charstrings)( PS_Decoder* decoder, + FT_Byte* charstring_base, + FT_ULong charstring_len ); + + + } T1_Decoder_FuncsRec; + + + typedef struct T1_DecoderRec_ + { + T1_BuilderRec builder; + + FT_Long stack[T1_MAX_CHARSTRINGS_OPERANDS]; + FT_Long* top; + + T1_Decoder_ZoneRec zones[T1_MAX_SUBRS_CALLS + 1]; + T1_Decoder_Zone zone; + + FT_Service_PsCMaps psnames; /* for seac */ + FT_UInt num_glyphs; + FT_Byte** glyph_names; + + FT_Int lenIV; /* internal for sub routine calls */ + FT_Int num_subrs; + FT_Byte** subrs; + FT_UInt* subrs_len; /* array of subrs length (optional) */ + FT_Hash subrs_hash; /* used if `num_subrs' was massaged */ + + FT_Matrix font_matrix; + FT_Vector font_offset; + + FT_Int flex_state; + FT_Int num_flex_vectors; + FT_Vector flex_vectors[7]; + + PS_Blend blend; /* for multiple master support */ + + FT_Render_Mode hint_mode; + + T1_Decoder_Callback parse_callback; + T1_Decoder_FuncsRec funcs; + + FT_Long* buildchar; + FT_UInt len_buildchar; + + FT_Bool seac; + + FT_Generic cf2_instance; + + } T1_DecoderRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** CFF BUILDER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + + typedef struct CFF_Builder_ CFF_Builder; + + + typedef FT_Error + (*CFF_Builder_Check_Points_Func)( CFF_Builder* builder, + FT_Int count ); + + typedef void + (*CFF_Builder_Add_Point_Func)( CFF_Builder* builder, + FT_Pos x, + FT_Pos y, + FT_Byte flag ); + typedef FT_Error + (*CFF_Builder_Add_Point1_Func)( CFF_Builder* builder, + FT_Pos x, + FT_Pos y ); + typedef FT_Error + (*CFF_Builder_Start_Point_Func)( CFF_Builder* builder, + FT_Pos x, + FT_Pos y ); + typedef void + (*CFF_Builder_Close_Contour_Func)( CFF_Builder* builder ); + + typedef FT_Error + (*CFF_Builder_Add_Contour_Func)( CFF_Builder* builder ); + + typedef const struct CFF_Builder_FuncsRec_* CFF_Builder_Funcs; + + typedef struct CFF_Builder_FuncsRec_ + { + void + (*init)( CFF_Builder* builder, + TT_Face face, + CFF_Size size, + CFF_GlyphSlot glyph, + FT_Bool hinting ); + + void + (*done)( CFF_Builder* builder ); + + CFF_Builder_Check_Points_Func check_points; + CFF_Builder_Add_Point_Func add_point; + CFF_Builder_Add_Point1_Func add_point1; + CFF_Builder_Add_Contour_Func add_contour; + CFF_Builder_Start_Point_Func start_point; + CFF_Builder_Close_Contour_Func close_contour; + + } CFF_Builder_FuncsRec; + + + /************************************************************************** + * + * @struct: + * CFF_Builder + * + * @description: + * A structure used during glyph loading to store its outline. + * + * @fields: + * memory :: + * The current memory object. + * + * face :: + * The current face object. + * + * glyph :: + * The current glyph slot. + * + * loader :: + * The current glyph loader. + * + * base :: + * The base glyph outline. + * + * current :: + * The current glyph outline. + * + * pos_x :: + * The horizontal translation (if composite glyph). + * + * pos_y :: + * The vertical translation (if composite glyph). + * + * left_bearing :: + * The left side bearing point. + * + * advance :: + * The horizontal advance vector. + * + * bbox :: + * Unused. + * + * path_begun :: + * A flag which indicates that a new path has begun. + * + * load_points :: + * If this flag is not set, no points are loaded. + * + * no_recurse :: + * Set but not used. + * + * metrics_only :: + * A boolean indicating that we only want to compute the metrics of a + * given glyph, not load all of its points. + * + * hints_funcs :: + * Auxiliary pointer for hinting. + * + * hints_globals :: + * Auxiliary pointer for hinting. + * + * funcs :: + * A table of method pointers for this object. + */ + struct CFF_Builder_ + { + FT_Memory memory; + TT_Face face; + CFF_GlyphSlot glyph; + FT_GlyphLoader loader; + FT_Outline* base; + FT_Outline* current; + + FT_Pos pos_x; + FT_Pos pos_y; + + FT_Vector left_bearing; + FT_Vector advance; + + FT_BBox bbox; /* bounding box */ + + FT_Bool path_begun; + FT_Bool load_points; + FT_Bool no_recurse; + + FT_Bool metrics_only; + + void* hints_funcs; /* hinter-specific */ + void* hints_globals; /* hinter-specific */ + + CFF_Builder_FuncsRec funcs; + }; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** CFF DECODER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + +#define CFF_MAX_OPERANDS 48 +#define CFF_MAX_SUBRS_CALLS 16 /* maximum subroutine nesting; */ + /* only 10 are allowed but there exist */ + /* fonts like `HiraKakuProN-W3.ttf' */ + /* (Hiragino Kaku Gothic ProN W3; */ + /* 8.2d6e1; 2014-12-19) that exceed */ + /* this limit */ +#define CFF_MAX_TRANS_ELEMENTS 32 + + /* execution context charstring zone */ + + typedef struct CFF_Decoder_Zone_ + { + FT_Byte* base; + FT_Byte* limit; + FT_Byte* cursor; + + } CFF_Decoder_Zone; + + + typedef struct CFF_Decoder_ + { + CFF_Builder builder; + CFF_Font cff; + + FT_Fixed stack[CFF_MAX_OPERANDS + 1]; + FT_Fixed* top; + + CFF_Decoder_Zone zones[CFF_MAX_SUBRS_CALLS + 1]; + CFF_Decoder_Zone* zone; + + FT_Int flex_state; + FT_Int num_flex_vectors; + FT_Vector flex_vectors[7]; + + FT_Pos glyph_width; + FT_Pos nominal_width; + + FT_Bool read_width; + FT_Bool width_only; + FT_Int num_hints; + FT_Fixed buildchar[CFF_MAX_TRANS_ELEMENTS]; + + FT_UInt num_locals; + FT_UInt num_globals; + + FT_Int locals_bias; + FT_Int globals_bias; + + FT_Byte** locals; + FT_Byte** globals; + + FT_Byte** glyph_names; /* for pure CFF fonts only */ + FT_UInt num_glyphs; /* number of glyphs in font */ + + FT_Render_Mode hint_mode; + + FT_Bool seac; + + CFF_SubFont current_subfont; /* for current glyph_index */ + + CFF_Decoder_Get_Glyph_Callback get_glyph_callback; + CFF_Decoder_Free_Glyph_Callback free_glyph_callback; + + } CFF_Decoder; + + + typedef const struct CFF_Decoder_FuncsRec_* CFF_Decoder_Funcs; + + typedef struct CFF_Decoder_FuncsRec_ + { + void + (*init)( CFF_Decoder* decoder, + TT_Face face, + CFF_Size size, + CFF_GlyphSlot slot, + FT_Bool hinting, + FT_Render_Mode hint_mode, + CFF_Decoder_Get_Glyph_Callback get_callback, + CFF_Decoder_Free_Glyph_Callback free_callback ); + + FT_Error + (*prepare)( CFF_Decoder* decoder, + CFF_Size size, + FT_UInt glyph_index ); + +#ifdef CFF_CONFIG_OPTION_OLD_ENGINE + FT_Error + (*parse_charstrings_old)( CFF_Decoder* decoder, + FT_Byte* charstring_base, + FT_ULong charstring_len, + FT_Bool in_dict ); +#endif + + FT_Error + (*parse_charstrings)( PS_Decoder* decoder, + FT_Byte* charstring_base, + FT_ULong charstring_len ); + + } CFF_Decoder_FuncsRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** AFM PARSER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef struct AFM_ParserRec_* AFM_Parser; + + typedef struct AFM_Parser_FuncsRec_ + { + FT_Error + (*init)( AFM_Parser parser, + FT_Memory memory, + FT_Byte* base, + FT_Byte* limit ); + + void + (*done)( AFM_Parser parser ); + + FT_Error + (*parse)( AFM_Parser parser ); + + } AFM_Parser_FuncsRec; + + + typedef struct AFM_StreamRec_* AFM_Stream; + + + /************************************************************************** + * + * @struct: + * AFM_ParserRec + * + * @description: + * An AFM_Parser is a parser for the AFM files. + * + * @fields: + * memory :: + * The object used for memory operations (alloc and realloc). + * + * stream :: + * This is an opaque object. + * + * FontInfo :: + * The result will be stored here. + * + * get_index :: + * A user provided function to get a glyph index by its name. + */ + typedef struct AFM_ParserRec_ + { + FT_Memory memory; + AFM_Stream stream; + + AFM_FontInfo FontInfo; + + FT_Int + (*get_index)( const char* name, + FT_Offset len, + void* user_data ); + + void* user_data; + + } AFM_ParserRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** TYPE1 CHARMAPS *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef const struct T1_CMap_ClassesRec_* T1_CMap_Classes; + + typedef struct T1_CMap_ClassesRec_ + { + FT_CMap_Class standard; + FT_CMap_Class expert; + FT_CMap_Class custom; + FT_CMap_Class unicode; + + } T1_CMap_ClassesRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** PSAux Module Interface *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef struct PSAux_ServiceRec_ + { + /* don't use `PS_Table_Funcs' and friends to avoid compiler warnings */ + const PS_Table_FuncsRec* ps_table_funcs; + const PS_Parser_FuncsRec* ps_parser_funcs; + const T1_Builder_FuncsRec* t1_builder_funcs; + const T1_Decoder_FuncsRec* t1_decoder_funcs; + + void + (*t1_decrypt)( FT_Byte* buffer, + FT_Offset length, + FT_UShort seed ); + + FT_UInt32 + (*cff_random)( FT_UInt32 r ); + + void + (*ps_decoder_init)( PS_Decoder* ps_decoder, + void* decoder, + FT_Bool is_t1 ); + + void + (*t1_make_subfont)( FT_Face face, + PS_Private priv, + CFF_SubFont subfont ); + + T1_CMap_Classes t1_cmap_classes; + + /* fields after this comment line were added after version 2.1.10 */ + const AFM_Parser_FuncsRec* afm_parser_funcs; + + const CFF_Decoder_FuncsRec* cff_decoder_funcs; + + } PSAux_ServiceRec, *PSAux_Service; + + /* backward compatible type definition */ + typedef PSAux_ServiceRec PSAux_Interface; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** Some convenience functions *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + +#define IS_PS_NEWLINE( ch ) \ + ( (ch) == '\r' || \ + (ch) == '\n' ) + +#define IS_PS_SPACE( ch ) \ + ( (ch) == ' ' || \ + IS_PS_NEWLINE( ch ) || \ + (ch) == '\t' || \ + (ch) == '\f' || \ + (ch) == '\0' ) + +#define IS_PS_SPECIAL( ch ) \ + ( (ch) == '/' || \ + (ch) == '(' || (ch) == ')' || \ + (ch) == '<' || (ch) == '>' || \ + (ch) == '[' || (ch) == ']' || \ + (ch) == '{' || (ch) == '}' || \ + (ch) == '%' ) + +#define IS_PS_DELIM( ch ) \ + ( IS_PS_SPACE( ch ) || \ + IS_PS_SPECIAL( ch ) ) + +#define IS_PS_DIGIT( ch ) \ + ( (ch) >= '0' && (ch) <= '9' ) + +#define IS_PS_XDIGIT( ch ) \ + ( IS_PS_DIGIT( ch ) || \ + ( (ch) >= 'A' && (ch) <= 'F' ) || \ + ( (ch) >= 'a' && (ch) <= 'f' ) ) + +#define IS_PS_BASE85( ch ) \ + ( (ch) >= '!' && (ch) <= 'u' ) + +#define IS_PS_TOKEN( cur, limit, token ) \ + ( (char)(cur)[0] == (token)[0] && \ + ( (cur) + sizeof ( (token) ) == (limit) || \ + ( (cur) + sizeof( (token) ) < (limit) && \ + IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \ + ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 ) + + +FT_END_HEADER + +#endif /* PSAUX_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/pshints.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/pshints.h new file mode 100644 index 0000000..ededc4c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/pshints.h @@ -0,0 +1,699 @@ +/**************************************************************************** + * + * pshints.h + * + * Interface to Postscript-specific (Type 1 and Type 2) hints + * recorders (specification only). These are used to support native + * T1/T2 hints in the 'type1', 'cid', and 'cff' font drivers. + * + * Copyright (C) 2001-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef PSHINTS_H_ +#define PSHINTS_H_ + + +#include +#include + + +FT_BEGIN_HEADER + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** INTERNAL REPRESENTATION OF GLOBALS *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + typedef struct PSH_GlobalsRec_* PSH_Globals; + + typedef FT_Error + (*PSH_Globals_NewFunc)( FT_Memory memory, + T1_Private* private_dict, + PSH_Globals* aglobals ); + + typedef void + (*PSH_Globals_SetScaleFunc)( PSH_Globals globals, + FT_Fixed x_scale, + FT_Fixed y_scale, + FT_Fixed x_delta, + FT_Fixed y_delta ); + + typedef void + (*PSH_Globals_DestroyFunc)( PSH_Globals globals ); + + + typedef struct PSH_Globals_FuncsRec_ + { + PSH_Globals_NewFunc create; + PSH_Globals_SetScaleFunc set_scale; + PSH_Globals_DestroyFunc destroy; + + } PSH_Globals_FuncsRec, *PSH_Globals_Funcs; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** PUBLIC TYPE 1 HINTS RECORDER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + /************************************************************************** + * + * @type: + * T1_Hints + * + * @description: + * This is a handle to an opaque structure used to record glyph hints + * from a Type 1 character glyph character string. + * + * The methods used to operate on this object are defined by the + * @T1_Hints_FuncsRec structure. Recording glyph hints is normally + * achieved through the following scheme: + * + * - Open a new hint recording session by calling the 'open' method. + * This rewinds the recorder and prepare it for new input. + * + * - For each hint found in the glyph charstring, call the corresponding + * method ('stem', 'stem3', or 'reset'). Note that these functions do + * not return an error code. + * + * - Close the recording session by calling the 'close' method. It + * returns an error code if the hints were invalid or something strange + * happened (e.g., memory shortage). + * + * The hints accumulated in the object can later be used by the + * PostScript hinter. + * + */ + typedef struct T1_HintsRec_* T1_Hints; + + + /************************************************************************** + * + * @type: + * T1_Hints_Funcs + * + * @description: + * A pointer to the @T1_Hints_FuncsRec structure that defines the API of + * a given @T1_Hints object. + * + */ + typedef const struct T1_Hints_FuncsRec_* T1_Hints_Funcs; + + + /************************************************************************** + * + * @functype: + * T1_Hints_OpenFunc + * + * @description: + * A method of the @T1_Hints class used to prepare it for a new Type 1 + * hints recording session. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * @note: + * You should always call the @T1_Hints_CloseFunc method in order to + * close an opened recording session. + * + */ + typedef void + (*T1_Hints_OpenFunc)( T1_Hints hints ); + + + /************************************************************************** + * + * @functype: + * T1_Hints_SetStemFunc + * + * @description: + * A method of the @T1_Hints class used to record a new horizontal or + * vertical stem. This corresponds to the Type 1 'hstem' and 'vstem' + * operators. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * dimension :: + * 0 for horizontal stems (hstem), 1 for vertical ones (vstem). + * + * coords :: + * Array of 2 coordinates in 16.16 format, used as (position,length) + * stem descriptor. + * + * @note: + * Use vertical coordinates (y) for horizontal stems (dim=0). Use + * horizontal coordinates (x) for vertical stems (dim=1). + * + * 'coords[0]' is the absolute stem position (lowest coordinate); + * 'coords[1]' is the length. + * + * The length can be negative, in which case it must be either -20 or + * -21. It is interpreted as a 'ghost' stem, according to the Type 1 + * specification. + * + * If the length is -21 (corresponding to a bottom ghost stem), then the + * real stem position is 'coords[0]+coords[1]'. + * + */ + typedef void + (*T1_Hints_SetStemFunc)( T1_Hints hints, + FT_UInt dimension, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @functype: + * T1_Hints_SetStem3Func + * + * @description: + * A method of the @T1_Hints class used to record three + * counter-controlled horizontal or vertical stems at once. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * dimension :: + * 0 for horizontal stems, 1 for vertical ones. + * + * coords :: + * An array of 6 values in 16.16 format, holding 3 (position,length) + * pairs for the counter-controlled stems. + * + * @note: + * Use vertical coordinates (y) for horizontal stems (dim=0). Use + * horizontal coordinates (x) for vertical stems (dim=1). + * + * The lengths cannot be negative (ghost stems are never + * counter-controlled). + * + */ + typedef void + (*T1_Hints_SetStem3Func)( T1_Hints hints, + FT_UInt dimension, + FT_Fixed* coords ); + + + /************************************************************************** + * + * @functype: + * T1_Hints_ResetFunc + * + * @description: + * A method of the @T1_Hints class used to reset the stems hints in a + * recording session. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * end_point :: + * The index of the last point in the input glyph in which the + * previously defined hints apply. + * + */ + typedef void + (*T1_Hints_ResetFunc)( T1_Hints hints, + FT_UInt end_point ); + + + /************************************************************************** + * + * @functype: + * T1_Hints_CloseFunc + * + * @description: + * A method of the @T1_Hints class used to close a hint recording + * session. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * end_point :: + * The index of the last point in the input glyph. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The error code is set to indicate that an error occurred during the + * recording session. + * + */ + typedef FT_Error + (*T1_Hints_CloseFunc)( T1_Hints hints, + FT_UInt end_point ); + + + /************************************************************************** + * + * @functype: + * T1_Hints_ApplyFunc + * + * @description: + * A method of the @T1_Hints class used to apply hints to the + * corresponding glyph outline. Must be called once all hints have been + * recorded. + * + * @input: + * hints :: + * A handle to the Type 1 hints recorder. + * + * outline :: + * A pointer to the target outline descriptor. + * + * globals :: + * The hinter globals for this font. + * + * hint_mode :: + * Hinting information. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * On input, all points within the outline are in font coordinates. On + * output, they are in 1/64 of pixels. + * + * The scaling transformation is taken from the 'globals' object which + * must correspond to the same font as the glyph. + * + */ + typedef FT_Error + (*T1_Hints_ApplyFunc)( T1_Hints hints, + FT_Outline* outline, + PSH_Globals globals, + FT_Render_Mode hint_mode ); + + + /************************************************************************** + * + * @struct: + * T1_Hints_FuncsRec + * + * @description: + * The structure used to provide the API to @T1_Hints objects. + * + * @fields: + * hints :: + * A handle to the T1 Hints recorder. + * + * open :: + * The function to open a recording session. + * + * close :: + * The function to close a recording session. + * + * stem :: + * The function to set a simple stem. + * + * stem3 :: + * The function to set counter-controlled stems. + * + * reset :: + * The function to reset stem hints. + * + * apply :: + * The function to apply the hints to the corresponding glyph outline. + * + */ + typedef struct T1_Hints_FuncsRec_ + { + T1_Hints hints; + T1_Hints_OpenFunc open; + T1_Hints_CloseFunc close; + T1_Hints_SetStemFunc stem; + T1_Hints_SetStem3Func stem3; + T1_Hints_ResetFunc reset; + T1_Hints_ApplyFunc apply; + + } T1_Hints_FuncsRec; + + + /*************************************************************************/ + /*************************************************************************/ + /***** *****/ + /***** PUBLIC TYPE 2 HINTS RECORDER *****/ + /***** *****/ + /*************************************************************************/ + /*************************************************************************/ + + /************************************************************************** + * + * @type: + * T2_Hints + * + * @description: + * This is a handle to an opaque structure used to record glyph hints + * from a Type 2 character glyph character string. + * + * The methods used to operate on this object are defined by the + * @T2_Hints_FuncsRec structure. Recording glyph hints is normally + * achieved through the following scheme: + * + * - Open a new hint recording session by calling the 'open' method. + * This rewinds the recorder and prepare it for new input. + * + * - For each hint found in the glyph charstring, call the corresponding + * method ('stems', 'hintmask', 'counters'). Note that these functions + * do not return an error code. + * + * - Close the recording session by calling the 'close' method. It + * returns an error code if the hints were invalid or something strange + * happened (e.g., memory shortage). + * + * The hints accumulated in the object can later be used by the + * Postscript hinter. + * + */ + typedef struct T2_HintsRec_* T2_Hints; + + + /************************************************************************** + * + * @type: + * T2_Hints_Funcs + * + * @description: + * A pointer to the @T2_Hints_FuncsRec structure that defines the API of + * a given @T2_Hints object. + * + */ + typedef const struct T2_Hints_FuncsRec_* T2_Hints_Funcs; + + + /************************************************************************** + * + * @functype: + * T2_Hints_OpenFunc + * + * @description: + * A method of the @T2_Hints class used to prepare it for a new Type 2 + * hints recording session. + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * @note: + * You should always call the @T2_Hints_CloseFunc method in order to + * close an opened recording session. + * + */ + typedef void + (*T2_Hints_OpenFunc)( T2_Hints hints ); + + + /************************************************************************** + * + * @functype: + * T2_Hints_StemsFunc + * + * @description: + * A method of the @T2_Hints class used to set the table of stems in + * either the vertical or horizontal dimension. Equivalent to the + * 'hstem', 'vstem', 'hstemhm', and 'vstemhm' Type 2 operators. + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * dimension :: + * 0 for horizontal stems (hstem), 1 for vertical ones (vstem). + * + * count :: + * The number of stems. + * + * coords :: + * An array of 'count' (position,length) pairs in 16.16 format. + * + * @note: + * Use vertical coordinates (y) for horizontal stems (dim=0). Use + * horizontal coordinates (x) for vertical stems (dim=1). + * + * There are '2*count' elements in the 'coords' array. Each even element + * is an absolute position in font units, each odd element is a length in + * font units. + * + * A length can be negative, in which case it must be either -20 or -21. + * It is interpreted as a 'ghost' stem, according to the Type 1 + * specification. + * + */ + typedef void + (*T2_Hints_StemsFunc)( T2_Hints hints, + FT_UInt dimension, + FT_Int count, + FT_Fixed* coordinates ); + + + /************************************************************************** + * + * @functype: + * T2_Hints_MaskFunc + * + * @description: + * A method of the @T2_Hints class used to set a given hintmask (this + * corresponds to the 'hintmask' Type 2 operator). + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * end_point :: + * The glyph index of the last point to which the previously defined or + * activated hints apply. + * + * bit_count :: + * The number of bits in the hint mask. + * + * bytes :: + * An array of bytes modelling the hint mask. + * + * @note: + * If the hintmask starts the charstring (before any glyph point + * definition), the value of `end_point` should be 0. + * + * `bit_count` is the number of meaningful bits in the 'bytes' array; it + * must be equal to the total number of hints defined so far (i.e., + * horizontal+verticals). + * + * The 'bytes' array can come directly from the Type 2 charstring and + * respects the same format. + * + */ + typedef void + (*T2_Hints_MaskFunc)( T2_Hints hints, + FT_UInt end_point, + FT_UInt bit_count, + const FT_Byte* bytes ); + + + /************************************************************************** + * + * @functype: + * T2_Hints_CounterFunc + * + * @description: + * A method of the @T2_Hints class used to set a given counter mask (this + * corresponds to the 'hintmask' Type 2 operator). + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * end_point :: + * A glyph index of the last point to which the previously defined or + * active hints apply. + * + * bit_count :: + * The number of bits in the hint mask. + * + * bytes :: + * An array of bytes modelling the hint mask. + * + * @note: + * If the hintmask starts the charstring (before any glyph point + * definition), the value of `end_point` should be 0. + * + * `bit_count` is the number of meaningful bits in the 'bytes' array; it + * must be equal to the total number of hints defined so far (i.e., + * horizontal+verticals). + * + * The 'bytes' array can come directly from the Type 2 charstring and + * respects the same format. + * + */ + typedef void + (*T2_Hints_CounterFunc)( T2_Hints hints, + FT_UInt bit_count, + const FT_Byte* bytes ); + + + /************************************************************************** + * + * @functype: + * T2_Hints_CloseFunc + * + * @description: + * A method of the @T2_Hints class used to close a hint recording + * session. + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * end_point :: + * The index of the last point in the input glyph. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The error code is set to indicate that an error occurred during the + * recording session. + * + */ + typedef FT_Error + (*T2_Hints_CloseFunc)( T2_Hints hints, + FT_UInt end_point ); + + + /************************************************************************** + * + * @functype: + * T2_Hints_ApplyFunc + * + * @description: + * A method of the @T2_Hints class used to apply hints to the + * corresponding glyph outline. Must be called after the 'close' method. + * + * @input: + * hints :: + * A handle to the Type 2 hints recorder. + * + * outline :: + * A pointer to the target outline descriptor. + * + * globals :: + * The hinter globals for this font. + * + * hint_mode :: + * Hinting information. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * On input, all points within the outline are in font coordinates. On + * output, they are in 1/64 of pixels. + * + * The scaling transformation is taken from the 'globals' object which + * must correspond to the same font than the glyph. + * + */ + typedef FT_Error + (*T2_Hints_ApplyFunc)( T2_Hints hints, + FT_Outline* outline, + PSH_Globals globals, + FT_Render_Mode hint_mode ); + + + /************************************************************************** + * + * @struct: + * T2_Hints_FuncsRec + * + * @description: + * The structure used to provide the API to @T2_Hints objects. + * + * @fields: + * hints :: + * A handle to the T2 hints recorder object. + * + * open :: + * The function to open a recording session. + * + * close :: + * The function to close a recording session. + * + * stems :: + * The function to set the dimension's stems table. + * + * hintmask :: + * The function to set hint masks. + * + * counter :: + * The function to set counter masks. + * + * apply :: + * The function to apply the hints on the corresponding glyph outline. + * + */ + typedef struct T2_Hints_FuncsRec_ + { + T2_Hints hints; + T2_Hints_OpenFunc open; + T2_Hints_CloseFunc close; + T2_Hints_StemsFunc stems; + T2_Hints_MaskFunc hintmask; + T2_Hints_CounterFunc counter; + T2_Hints_ApplyFunc apply; + + } T2_Hints_FuncsRec; + + + /* */ + + + typedef struct PSHinter_Interface_ + { + PSH_Globals_Funcs (*get_globals_funcs)( FT_Module module ); + T1_Hints_Funcs (*get_t1_funcs) ( FT_Module module ); + T2_Hints_Funcs (*get_t2_funcs) ( FT_Module module ); + + } PSHinter_Interface; + + typedef PSHinter_Interface* PSHinter_Service; + + +#define FT_DEFINE_PSHINTER_INTERFACE( \ + class_, \ + get_globals_funcs_, \ + get_t1_funcs_, \ + get_t2_funcs_ ) \ + static const PSHinter_Interface class_ = \ + { \ + get_globals_funcs_, \ + get_t1_funcs_, \ + get_t2_funcs_ \ + }; + + +FT_END_HEADER + +#endif /* PSHINTS_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svbdf.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svbdf.h new file mode 100644 index 0000000..bf0c1dc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svbdf.h @@ -0,0 +1,66 @@ +/**************************************************************************** + * + * svbdf.h + * + * The FreeType BDF services (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVBDF_H_ +#define SVBDF_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_BDF "bdf" + + typedef FT_Error + (*FT_BDF_GetCharsetIdFunc)( FT_Face face, + const char* *acharset_encoding, + const char* *acharset_registry ); + + typedef FT_Error + (*FT_BDF_GetPropertyFunc)( FT_Face face, + const char* prop_name, + BDF_PropertyRec *aproperty ); + + + FT_DEFINE_SERVICE( BDF ) + { + FT_BDF_GetCharsetIdFunc get_charset_id; + FT_BDF_GetPropertyFunc get_property; + }; + + +#define FT_DEFINE_SERVICE_BDFRec( class_, \ + get_charset_id_, \ + get_property_ ) \ + static const FT_Service_BDFRec class_ = \ + { \ + get_charset_id_, get_property_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVBDF_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcfftl.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcfftl.h new file mode 100644 index 0000000..4a20498 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcfftl.h @@ -0,0 +1,90 @@ +/**************************************************************************** + * + * svcfftl.h + * + * The FreeType CFF tables loader service (specification). + * + * Copyright (C) 2017-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVCFFTL_H_ +#define SVCFFTL_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_CFF_LOAD "cff-load" + + + typedef FT_UShort + (*FT_Get_Standard_Encoding_Func)( FT_UInt charcode ); + + typedef FT_Error + (*FT_Load_Private_Dict_Func)( CFF_Font font, + CFF_SubFont subfont, + FT_UInt lenNDV, + FT_Fixed* NDV ); + + typedef FT_Byte + (*FT_FD_Select_Get_Func)( CFF_FDSelect fdselect, + FT_UInt glyph_index ); + + typedef FT_Bool + (*FT_Blend_Check_Vector_Func)( CFF_Blend blend, + FT_UInt vsindex, + FT_UInt lenNDV, + FT_Fixed* NDV ); + + typedef FT_Error + (*FT_Blend_Build_Vector_Func)( CFF_Blend blend, + FT_UInt vsindex, + FT_UInt lenNDV, + FT_Fixed* NDV ); + + + FT_DEFINE_SERVICE( CFFLoad ) + { + FT_Get_Standard_Encoding_Func get_standard_encoding; + FT_Load_Private_Dict_Func load_private_dict; + FT_FD_Select_Get_Func fd_select_get; + FT_Blend_Check_Vector_Func blend_check_vector; + FT_Blend_Build_Vector_Func blend_build_vector; + }; + + +#define FT_DEFINE_SERVICE_CFFLOADREC( class_, \ + get_standard_encoding_, \ + load_private_dict_, \ + fd_select_get_, \ + blend_check_vector_, \ + blend_build_vector_ ) \ + static const FT_Service_CFFLoadRec class_ = \ + { \ + get_standard_encoding_, \ + load_private_dict_, \ + fd_select_get_, \ + blend_check_vector_, \ + blend_build_vector_ \ + }; + + +FT_END_HEADER + + +#endif + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcid.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcid.h new file mode 100644 index 0000000..06d0cb8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svcid.h @@ -0,0 +1,69 @@ +/**************************************************************************** + * + * svcid.h + * + * The FreeType CID font services (specification). + * + * Copyright (C) 2007-2023 by + * Derek Clegg and Michael Toftdal. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVCID_H_ +#define SVCID_H_ + +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_CID "CID" + + typedef FT_Error + (*FT_CID_GetRegistryOrderingSupplementFunc)( FT_Face face, + const char* *registry, + const char* *ordering, + FT_Int *supplement ); + typedef FT_Error + (*FT_CID_GetIsInternallyCIDKeyedFunc)( FT_Face face, + FT_Bool *is_cid ); + typedef FT_Error + (*FT_CID_GetCIDFromGlyphIndexFunc)( FT_Face face, + FT_UInt glyph_index, + FT_UInt *cid ); + + FT_DEFINE_SERVICE( CID ) + { + FT_CID_GetRegistryOrderingSupplementFunc get_ros; + FT_CID_GetIsInternallyCIDKeyedFunc get_is_cid; + FT_CID_GetCIDFromGlyphIndexFunc get_cid_from_glyph_index; + }; + + +#define FT_DEFINE_SERVICE_CIDREC( class_, \ + get_ros_, \ + get_is_cid_, \ + get_cid_from_glyph_index_ ) \ + static const FT_Service_CIDRec class_ = \ + { \ + get_ros_, get_is_cid_, get_cid_from_glyph_index_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVCID_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svfntfmt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svfntfmt.h new file mode 100644 index 0000000..bc45e80 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svfntfmt.h @@ -0,0 +1,55 @@ +/**************************************************************************** + * + * svfntfmt.h + * + * The FreeType font format service (specification only). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVFNTFMT_H_ +#define SVFNTFMT_H_ + +#include + + +FT_BEGIN_HEADER + + + /* + * A trivial service used to return the name of a face's font driver, + * according to the XFree86 nomenclature. Note that the service data is a + * simple constant string pointer. + */ + +#define FT_SERVICE_ID_FONT_FORMAT "font-format" + +#define FT_FONT_FORMAT_TRUETYPE "TrueType" +#define FT_FONT_FORMAT_TYPE_1 "Type 1" +#define FT_FONT_FORMAT_BDF "BDF" +#define FT_FONT_FORMAT_PCF "PCF" +#define FT_FONT_FORMAT_TYPE_42 "Type 42" +#define FT_FONT_FORMAT_CID "CID Type 1" +#define FT_FONT_FORMAT_CFF "CFF" +#define FT_FONT_FORMAT_PFR "PFR" +#define FT_FONT_FORMAT_WINFNT "Windows FNT" + + /* */ + + +FT_END_HEADER + + +#endif /* SVFNTFMT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgldict.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgldict.h new file mode 100644 index 0000000..6437abf --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgldict.h @@ -0,0 +1,72 @@ +/**************************************************************************** + * + * svgldict.h + * + * The FreeType glyph dictionary services (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVGLDICT_H_ +#define SVGLDICT_H_ + +#include + + +FT_BEGIN_HEADER + + + /* + * A service used to retrieve glyph names, as well as to find the index of + * a given glyph name in a font. + * + */ + +#define FT_SERVICE_ID_GLYPH_DICT "glyph-dict" + + + typedef FT_Error + (*FT_GlyphDict_GetNameFunc)( FT_Face face, + FT_UInt glyph_index, + FT_Pointer buffer, + FT_UInt buffer_max ); + + typedef FT_UInt + (*FT_GlyphDict_NameIndexFunc)( FT_Face face, + const FT_String* glyph_name ); + + + FT_DEFINE_SERVICE( GlyphDict ) + { + FT_GlyphDict_GetNameFunc get_name; + FT_GlyphDict_NameIndexFunc name_index; /* optional */ + }; + + +#define FT_DEFINE_SERVICE_GLYPHDICTREC( class_, \ + get_name_, \ + name_index_ ) \ + static const FT_Service_GlyphDictRec class_ = \ + { \ + get_name_, name_index_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVGLDICT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgxval.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgxval.h new file mode 100644 index 0000000..31016af --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svgxval.h @@ -0,0 +1,72 @@ +/**************************************************************************** + * + * svgxval.h + * + * FreeType API for validating TrueTypeGX/AAT tables (specification). + * + * Copyright (C) 2004-2023 by + * Masatake YAMATO, Red Hat K.K., + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +/**************************************************************************** + * + * gxvalid is derived from both gxlayout module and otvalid module. + * Development of gxlayout is supported by the Information-technology + * Promotion Agency(IPA), Japan. + * + */ + + +#ifndef SVGXVAL_H_ +#define SVGXVAL_H_ + +#include +#include + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate" +#define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate" + + typedef FT_Error + (*gxv_validate_func)( FT_Face face, + FT_UInt gx_flags, + FT_Bytes tables[FT_VALIDATE_GX_LENGTH], + FT_UInt table_length ); + + + typedef FT_Error + (*ckern_validate_func)( FT_Face face, + FT_UInt ckern_flags, + FT_Bytes *ckern_table ); + + + FT_DEFINE_SERVICE( GXvalidate ) + { + gxv_validate_func validate; + }; + + FT_DEFINE_SERVICE( CKERNvalidate ) + { + ckern_validate_func validate; + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVGXVAL_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svkern.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svkern.h new file mode 100644 index 0000000..bcabbc3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svkern.h @@ -0,0 +1,51 @@ +/**************************************************************************** + * + * svkern.h + * + * The FreeType Kerning service (specification). + * + * Copyright (C) 2006-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVKERN_H_ +#define SVKERN_H_ + +#include +#include + + +FT_BEGIN_HEADER + +#define FT_SERVICE_ID_KERNING "kerning" + + + typedef FT_Error + (*FT_Kerning_TrackGetFunc)( FT_Face face, + FT_Fixed point_size, + FT_Int degree, + FT_Fixed* akerning ); + + FT_DEFINE_SERVICE( Kerning ) + { + FT_Kerning_TrackGetFunc get_track; + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVKERN_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmetric.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmetric.h new file mode 100644 index 0000000..167617e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmetric.h @@ -0,0 +1,131 @@ +/**************************************************************************** + * + * svmetric.h + * + * The FreeType services for metrics variations (specification). + * + * Copyright (C) 2016-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVMETRIC_H_ +#define SVMETRIC_H_ + +#include + + +FT_BEGIN_HEADER + + + /* + * A service to manage the `HVAR, `MVAR', and `VVAR' OpenType tables. + * + */ + +#define FT_SERVICE_ID_METRICS_VARIATIONS "metrics-variations" + + + /* HVAR */ + + typedef FT_Error + (*FT_HAdvance_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + typedef FT_Error + (*FT_LSB_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + typedef FT_Error + (*FT_RSB_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + /* VVAR */ + + typedef FT_Error + (*FT_VAdvance_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + typedef FT_Error + (*FT_TSB_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + typedef FT_Error + (*FT_BSB_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + typedef FT_Error + (*FT_VOrg_Adjust_Func)( FT_Face face, + FT_UInt gindex, + FT_Int *avalue ); + + /* MVAR */ + + typedef void + (*FT_Metrics_Adjust_Func)( FT_Face face ); + + typedef FT_Error + (*FT_Size_Reset_Func)( FT_Size size ); + + + FT_DEFINE_SERVICE( MetricsVariations ) + { + FT_HAdvance_Adjust_Func hadvance_adjust; + FT_LSB_Adjust_Func lsb_adjust; + FT_RSB_Adjust_Func rsb_adjust; + + FT_VAdvance_Adjust_Func vadvance_adjust; + FT_TSB_Adjust_Func tsb_adjust; + FT_BSB_Adjust_Func bsb_adjust; + FT_VOrg_Adjust_Func vorg_adjust; + + FT_Metrics_Adjust_Func metrics_adjust; + FT_Size_Reset_Func size_reset; + }; + + +#define FT_DEFINE_SERVICE_METRICSVARIATIONSREC( class_, \ + hadvance_adjust_, \ + lsb_adjust_, \ + rsb_adjust_, \ + vadvance_adjust_, \ + tsb_adjust_, \ + bsb_adjust_, \ + vorg_adjust_, \ + metrics_adjust_, \ + size_reset_ ) \ + static const FT_Service_MetricsVariationsRec class_ = \ + { \ + hadvance_adjust_, \ + lsb_adjust_, \ + rsb_adjust_, \ + vadvance_adjust_, \ + tsb_adjust_, \ + bsb_adjust_, \ + vorg_adjust_, \ + metrics_adjust_, \ + size_reset_ \ + }; + + /* */ + + +FT_END_HEADER + +#endif /* SVMETRIC_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmm.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmm.h new file mode 100644 index 0000000..7e76ab8 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svmm.h @@ -0,0 +1,214 @@ +/**************************************************************************** + * + * svmm.h + * + * The FreeType Multiple Masters and GX var services (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, Werner Lemberg, and Dominik Röttsches. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVMM_H_ +#define SVMM_H_ + +#include +#include +#include + + +FT_BEGIN_HEADER + + + /* + * A service used to manage multiple-masters data in a given face. + * + * See the related APIs in `ftmm.h' (FT_MULTIPLE_MASTERS_H). + * + */ + +#define FT_SERVICE_ID_MULTI_MASTERS "multi-masters" + + + typedef FT_Error + (*FT_Get_MM_Func)( FT_Face face, + FT_Multi_Master* master ); + + typedef FT_Error + (*FT_Get_MM_Var_Func)( FT_Face face, + FT_MM_Var* *master ); + + typedef FT_Error + (*FT_Set_MM_Design_Func)( FT_Face face, + FT_UInt num_coords, + FT_Long* coords ); + + /* use return value -1 to indicate that the new coordinates */ + /* are equal to the current ones; no changes are thus needed */ + typedef FT_Error + (*FT_Set_Var_Design_Func)( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + /* use return value -1 to indicate that the new coordinates */ + /* are equal to the current ones; no changes are thus needed */ + typedef FT_Error + (*FT_Set_MM_Blend_Func)( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + typedef FT_Error + (*FT_Get_Var_Design_Func)( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + typedef FT_Error + (*FT_Set_Named_Instance_Func)( FT_Face face, + FT_UInt instance_index ); + + typedef FT_Error + (*FT_Get_Default_Named_Instance_Func)( FT_Face face, + FT_UInt *instance_index ); + + typedef FT_Error + (*FT_Get_MM_Blend_Func)( FT_Face face, + FT_UInt num_coords, + FT_Fixed* coords ); + + typedef FT_Error + (*FT_Get_Var_Blend_Func)( FT_Face face, + FT_UInt *num_coords, + FT_Fixed* *coords, + FT_Fixed* *normalizedcoords, + FT_MM_Var* *mm_var ); + + typedef void + (*FT_Done_Blend_Func)( FT_Face face ); + + typedef FT_Error + (*FT_Set_MM_WeightVector_Func)( FT_Face face, + FT_UInt len, + FT_Fixed* weight_vector ); + + typedef FT_Error + (*FT_Get_MM_WeightVector_Func)( FT_Face face, + FT_UInt* len, + FT_Fixed* weight_vector ); + + typedef void + (*FT_Construct_PS_Name_Func)( FT_Face face ); + + typedef FT_Error + (*FT_Var_Load_Delta_Set_Idx_Map_Func)( FT_Face face, + FT_ULong offset, + GX_DeltaSetIdxMap map, + GX_ItemVarStore itemStore, + FT_ULong table_len ); + + typedef FT_Error + (*FT_Var_Load_Item_Var_Store_Func)( FT_Face face, + FT_ULong offset, + GX_ItemVarStore itemStore ); + + typedef FT_ItemVarDelta + (*FT_Var_Get_Item_Delta_Func)( FT_Face face, + GX_ItemVarStore itemStore, + FT_UInt outerIndex, + FT_UInt innerIndex ); + + typedef void + (*FT_Var_Done_Item_Var_Store_Func)( FT_Face face, + GX_ItemVarStore itemStore ); + + typedef void + (*FT_Var_Done_Delta_Set_Idx_Map_Func)( FT_Face face, + GX_DeltaSetIdxMap deltaSetIdxMap ); + + + FT_DEFINE_SERVICE( MultiMasters ) + { + FT_Get_MM_Func get_mm; + FT_Set_MM_Design_Func set_mm_design; + FT_Set_MM_Blend_Func set_mm_blend; + FT_Get_MM_Blend_Func get_mm_blend; + FT_Get_MM_Var_Func get_mm_var; + FT_Set_Var_Design_Func set_var_design; + FT_Get_Var_Design_Func get_var_design; + FT_Set_Named_Instance_Func set_named_instance; + FT_Get_Default_Named_Instance_Func get_default_named_instance; + FT_Set_MM_WeightVector_Func set_mm_weightvector; + FT_Get_MM_WeightVector_Func get_mm_weightvector; + + /* for internal use; only needed for code sharing between modules */ + FT_Construct_PS_Name_Func construct_ps_name; + FT_Var_Load_Delta_Set_Idx_Map_Func load_delta_set_idx_map; + FT_Var_Load_Item_Var_Store_Func load_item_var_store; + FT_Var_Get_Item_Delta_Func get_item_delta; + FT_Var_Done_Item_Var_Store_Func done_item_var_store; + FT_Var_Done_Delta_Set_Idx_Map_Func done_delta_set_idx_map; + FT_Get_Var_Blend_Func get_var_blend; + FT_Done_Blend_Func done_blend; + }; + + +#define FT_DEFINE_SERVICE_MULTIMASTERSREC( class_, \ + get_mm_, \ + set_mm_design_, \ + set_mm_blend_, \ + get_mm_blend_, \ + get_mm_var_, \ + set_var_design_, \ + get_var_design_, \ + set_named_instance_, \ + get_default_named_instance_, \ + set_mm_weightvector_, \ + get_mm_weightvector_, \ + \ + construct_ps_name_, \ + load_delta_set_idx_map_, \ + load_item_var_store_, \ + get_item_delta_, \ + done_item_var_store_, \ + done_delta_set_idx_map_, \ + get_var_blend_, \ + done_blend_ ) \ + static const FT_Service_MultiMastersRec class_ = \ + { \ + get_mm_, \ + set_mm_design_, \ + set_mm_blend_, \ + get_mm_blend_, \ + get_mm_var_, \ + set_var_design_, \ + get_var_design_, \ + set_named_instance_, \ + get_default_named_instance_, \ + set_mm_weightvector_, \ + get_mm_weightvector_, \ + \ + construct_ps_name_, \ + load_delta_set_idx_map_, \ + load_item_var_store_, \ + get_item_delta_, \ + done_item_var_store_, \ + done_delta_set_idx_map_, \ + get_var_blend_, \ + done_blend_ \ + }; + + /* */ + + +FT_END_HEADER + +#endif /* SVMM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svotval.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svotval.h new file mode 100644 index 0000000..a4683cd --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svotval.h @@ -0,0 +1,55 @@ +/**************************************************************************** + * + * svotval.h + * + * The FreeType OpenType validation service (specification). + * + * Copyright (C) 2004-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVOTVAL_H_ +#define SVOTVAL_H_ + +#include +#include + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_OPENTYPE_VALIDATE "opentype-validate" + + + typedef FT_Error + (*otv_validate_func)( FT_Face volatile face, + FT_UInt ot_flags, + FT_Bytes *base, + FT_Bytes *gdef, + FT_Bytes *gpos, + FT_Bytes *gsub, + FT_Bytes *jstf ); + + + FT_DEFINE_SERVICE( OTvalidate ) + { + otv_validate_func validate; + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVOTVAL_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpfr.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpfr.h new file mode 100644 index 0000000..fd189c7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpfr.h @@ -0,0 +1,65 @@ +/**************************************************************************** + * + * svpfr.h + * + * Internal PFR service functions (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVPFR_H_ +#define SVPFR_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_PFR_METRICS "pfr-metrics" + + + typedef FT_Error + (*FT_PFR_GetMetricsFunc)( FT_Face face, + FT_UInt *aoutline, + FT_UInt *ametrics, + FT_Fixed *ax_scale, + FT_Fixed *ay_scale ); + + typedef FT_Error + (*FT_PFR_GetKerningFunc)( FT_Face face, + FT_UInt left, + FT_UInt right, + FT_Vector *avector ); + + typedef FT_Error + (*FT_PFR_GetAdvanceFunc)( FT_Face face, + FT_UInt gindex, + FT_Pos *aadvance ); + + + FT_DEFINE_SERVICE( PfrMetrics ) + { + FT_PFR_GetMetricsFunc get_metrics; + FT_PFR_GetKerningFunc get_kerning; + FT_PFR_GetAdvanceFunc get_advance; + + }; + + +FT_END_HEADER + +#endif /* SVPFR_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpostnm.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpostnm.h new file mode 100644 index 0000000..2b8f6df --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpostnm.h @@ -0,0 +1,65 @@ +/**************************************************************************** + * + * svpostnm.h + * + * The FreeType PostScript name services (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVPOSTNM_H_ +#define SVPOSTNM_H_ + +#include + + +FT_BEGIN_HEADER + + /* + * A trivial service used to retrieve the PostScript name of a given font + * when available. The `get_name' field should never be `NULL`. + * + * The corresponding function can return `NULL` to indicate that the + * PostScript name is not available. + * + * The name is owned by the face and will be destroyed with it. + */ + +#define FT_SERVICE_ID_POSTSCRIPT_FONT_NAME "postscript-font-name" + + + typedef const char* + (*FT_PsName_GetFunc)( FT_Face face ); + + + FT_DEFINE_SERVICE( PsFontName ) + { + FT_PsName_GetFunc get_ps_font_name; + }; + + +#define FT_DEFINE_SERVICE_PSFONTNAMEREC( class_, get_ps_font_name_ ) \ + static const FT_Service_PsFontNameRec class_ = \ + { \ + get_ps_font_name_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVPOSTNM_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svprop.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svprop.h new file mode 100644 index 0000000..932ce32 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svprop.h @@ -0,0 +1,66 @@ +/**************************************************************************** + * + * svprop.h + * + * The FreeType property service (specification). + * + * Copyright (C) 2012-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVPROP_H_ +#define SVPROP_H_ + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_PROPERTIES "properties" + + + typedef FT_Error + (*FT_Properties_SetFunc)( FT_Module module, + const char* property_name, + const void* value, + FT_Bool value_is_string ); + + typedef FT_Error + (*FT_Properties_GetFunc)( FT_Module module, + const char* property_name, + void* value ); + + + FT_DEFINE_SERVICE( Properties ) + { + FT_Properties_SetFunc set_property; + FT_Properties_GetFunc get_property; + }; + + +#define FT_DEFINE_SERVICE_PROPERTIESREC( class_, \ + set_property_, \ + get_property_ ) \ + static const FT_Service_PropertiesRec class_ = \ + { \ + set_property_, \ + get_property_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVPROP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpscmap.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpscmap.h new file mode 100644 index 0000000..6e599f3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpscmap.h @@ -0,0 +1,145 @@ +/**************************************************************************** + * + * svpscmap.h + * + * The FreeType PostScript charmap service (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVPSCMAP_H_ +#define SVPSCMAP_H_ + +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_POSTSCRIPT_CMAPS "postscript-cmaps" + + + /* + * Adobe glyph name to unicode value. + */ + typedef FT_UInt32 + (*PS_Unicode_ValueFunc)( const char* glyph_name ); + + /* + * Macintosh name id to glyph name. `NULL` if invalid index. + */ + typedef const char* + (*PS_Macintosh_NameFunc)( FT_UInt name_index ); + + /* + * Adobe standard string ID to glyph name. `NULL` if invalid index. + */ + typedef const char* + (*PS_Adobe_Std_StringsFunc)( FT_UInt string_index ); + + + /* + * Simple unicode -> glyph index charmap built from font glyph names table. + */ + typedef struct PS_UniMap_ + { + FT_UInt32 unicode; /* bit 31 set: is glyph variant */ + FT_UInt glyph_index; + + } PS_UniMap; + + + typedef struct PS_UnicodesRec_* PS_Unicodes; + + typedef struct PS_UnicodesRec_ + { + FT_CMapRec cmap; + FT_UInt num_maps; + PS_UniMap* maps; + + } PS_UnicodesRec; + + + /* + * A function which returns a glyph name for a given index. Returns + * `NULL` if invalid index. + */ + typedef const char* + (*PS_GetGlyphNameFunc)( FT_Pointer data, + FT_UInt string_index ); + + /* + * A function used to release the glyph name returned by + * PS_GetGlyphNameFunc, when needed + */ + typedef void + (*PS_FreeGlyphNameFunc)( FT_Pointer data, + const char* name ); + + typedef FT_Error + (*PS_Unicodes_InitFunc)( FT_Memory memory, + PS_Unicodes unicodes, + FT_UInt num_glyphs, + PS_GetGlyphNameFunc get_glyph_name, + PS_FreeGlyphNameFunc free_glyph_name, + FT_Pointer glyph_data ); + + typedef FT_UInt + (*PS_Unicodes_CharIndexFunc)( PS_Unicodes unicodes, + FT_UInt32 unicode ); + + typedef FT_UInt + (*PS_Unicodes_CharNextFunc)( PS_Unicodes unicodes, + FT_UInt32 *unicode ); + + + FT_DEFINE_SERVICE( PsCMaps ) + { + PS_Unicode_ValueFunc unicode_value; + + PS_Unicodes_InitFunc unicodes_init; + PS_Unicodes_CharIndexFunc unicodes_char_index; + PS_Unicodes_CharNextFunc unicodes_char_next; + + PS_Macintosh_NameFunc macintosh_name; + PS_Adobe_Std_StringsFunc adobe_std_strings; + const unsigned short* adobe_std_encoding; + const unsigned short* adobe_expert_encoding; + }; + + +#define FT_DEFINE_SERVICE_PSCMAPSREC( class_, \ + unicode_value_, \ + unicodes_init_, \ + unicodes_char_index_, \ + unicodes_char_next_, \ + macintosh_name_, \ + adobe_std_strings_, \ + adobe_std_encoding_, \ + adobe_expert_encoding_ ) \ + static const FT_Service_PsCMapsRec class_ = \ + { \ + unicode_value_, unicodes_init_, \ + unicodes_char_index_, unicodes_char_next_, macintosh_name_, \ + adobe_std_strings_, adobe_std_encoding_, adobe_expert_encoding_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVPSCMAP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpsinfo.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpsinfo.h new file mode 100644 index 0000000..09c4cdc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svpsinfo.h @@ -0,0 +1,86 @@ +/**************************************************************************** + * + * svpsinfo.h + * + * The FreeType PostScript info service (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVPSINFO_H_ +#define SVPSINFO_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_POSTSCRIPT_INFO "postscript-info" + + + typedef FT_Error + (*PS_GetFontInfoFunc)( FT_Face face, + PS_FontInfoRec* afont_info ); + + typedef FT_Error + (*PS_GetFontExtraFunc)( FT_Face face, + PS_FontExtraRec* afont_extra ); + + typedef FT_Int + (*PS_HasGlyphNamesFunc)( FT_Face face ); + + typedef FT_Error + (*PS_GetFontPrivateFunc)( FT_Face face, + PS_PrivateRec* afont_private ); + + typedef FT_Long + (*PS_GetFontValueFunc)( FT_Face face, + PS_Dict_Keys key, + FT_UInt idx, + void *value, + FT_Long value_len ); + + + FT_DEFINE_SERVICE( PsInfo ) + { + PS_GetFontInfoFunc ps_get_font_info; + PS_GetFontExtraFunc ps_get_font_extra; + PS_HasGlyphNamesFunc ps_has_glyph_names; + PS_GetFontPrivateFunc ps_get_font_private; + PS_GetFontValueFunc ps_get_font_value; + }; + + +#define FT_DEFINE_SERVICE_PSINFOREC( class_, \ + get_font_info_, \ + ps_get_font_extra_, \ + has_glyph_names_, \ + get_font_private_, \ + get_font_value_ ) \ + static const FT_Service_PsInfoRec class_ = \ + { \ + get_font_info_, ps_get_font_extra_, has_glyph_names_, \ + get_font_private_, get_font_value_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVPSINFO_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svsfnt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svsfnt.h new file mode 100644 index 0000000..f98df2e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svsfnt.h @@ -0,0 +1,88 @@ +/**************************************************************************** + * + * svsfnt.h + * + * The FreeType SFNT table loading service (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVSFNT_H_ +#define SVSFNT_H_ + +#include +#include + + +FT_BEGIN_HEADER + + + /* + * SFNT table loading service. + */ + +#define FT_SERVICE_ID_SFNT_TABLE "sfnt-table" + + + /* + * Used to implement FT_Load_Sfnt_Table(). + */ + typedef FT_Error + (*FT_SFNT_TableLoadFunc)( FT_Face face, + FT_ULong tag, + FT_Long offset, + FT_Byte* buffer, + FT_ULong* length ); + + /* + * Used to implement FT_Get_Sfnt_Table(). + */ + typedef void* + (*FT_SFNT_TableGetFunc)( FT_Face face, + FT_Sfnt_Tag tag ); + + + /* + * Used to implement FT_Sfnt_Table_Info(). + */ + typedef FT_Error + (*FT_SFNT_TableInfoFunc)( FT_Face face, + FT_UInt idx, + FT_ULong *tag, + FT_ULong *offset, + FT_ULong *length ); + + + FT_DEFINE_SERVICE( SFNT_Table ) + { + FT_SFNT_TableLoadFunc load_table; + FT_SFNT_TableGetFunc get_table; + FT_SFNT_TableInfoFunc table_info; + }; + + +#define FT_DEFINE_SERVICE_SFNT_TABLEREC( class_, load_, get_, info_ ) \ + static const FT_Service_SFNT_TableRec class_ = \ + { \ + load_, get_, info_ \ + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVSFNT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttcmap.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttcmap.h new file mode 100644 index 0000000..5f9eb02 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttcmap.h @@ -0,0 +1,90 @@ +/**************************************************************************** + * + * svttcmap.h + * + * The FreeType TrueType/sfnt cmap extra information service. + * + * Copyright (C) 2003-2023 by + * Masatake YAMATO, Redhat K.K., + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +/* Development of this service is support of + Information-technology Promotion Agency, Japan. */ + +#ifndef SVTTCMAP_H_ +#define SVTTCMAP_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_TT_CMAP "tt-cmaps" + + + /************************************************************************** + * + * @struct: + * TT_CMapInfo + * + * @description: + * A structure used to store TrueType/sfnt specific cmap information + * which is not covered by the generic @FT_CharMap structure. This + * structure can be accessed with the @FT_Get_TT_CMap_Info function. + * + * @fields: + * language :: + * The language ID used in Mac fonts. Definitions of values are in + * `ttnameid.h`. + * + * format :: + * The cmap format. OpenType 1.6 defines the formats 0 (byte encoding + * table), 2~(high-byte mapping through table), 4~(segment mapping to + * delta values), 6~(trimmed table mapping), 8~(mixed 16-bit and 32-bit + * coverage), 10~(trimmed array), 12~(segmented coverage), 13~(last + * resort font), and 14 (Unicode Variation Sequences). + */ + typedef struct TT_CMapInfo_ + { + FT_ULong language; + FT_Long format; + + } TT_CMapInfo; + + + typedef FT_Error + (*TT_CMap_Info_GetFunc)( FT_CharMap charmap, + TT_CMapInfo *cmap_info ); + + + FT_DEFINE_SERVICE( TTCMaps ) + { + TT_CMap_Info_GetFunc get_cmap_info; + }; + + +#define FT_DEFINE_SERVICE_TTCMAPSREC( class_, get_cmap_info_ ) \ + static const FT_Service_TTCMapsRec class_ = \ + { \ + get_cmap_info_ \ + }; + + /* */ + + +FT_END_HEADER + +#endif /* SVTTCMAP_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svtteng.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svtteng.h new file mode 100644 index 0000000..ad577cb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svtteng.h @@ -0,0 +1,53 @@ +/**************************************************************************** + * + * svtteng.h + * + * The FreeType TrueType engine query service (specification). + * + * Copyright (C) 2006-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVTTENG_H_ +#define SVTTENG_H_ + +#include +#include + + +FT_BEGIN_HEADER + + + /* + * SFNT table loading service. + */ + +#define FT_SERVICE_ID_TRUETYPE_ENGINE "truetype-engine" + + /* + * Used to implement FT_Get_TrueType_Engine_Type + */ + + FT_DEFINE_SERVICE( TrueTypeEngine ) + { + FT_TrueTypeEngineType engine_type; + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVTTENG_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttglyf.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttglyf.h new file mode 100644 index 0000000..ca6fff7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svttglyf.h @@ -0,0 +1,56 @@ +/**************************************************************************** + * + * svttglyf.h + * + * The FreeType TrueType glyph service. + * + * Copyright (C) 2007-2023 by + * David Turner. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + +#ifndef SVTTGLYF_H_ +#define SVTTGLYF_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_TT_GLYF "tt-glyf" + + + typedef FT_ULong + (*TT_Glyf_GetLocationFunc)( FT_Face face, + FT_UInt gindex, + FT_ULong *psize ); + + FT_DEFINE_SERVICE( TTGlyf ) + { + TT_Glyf_GetLocationFunc get_location; + }; + + +#define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \ + static const FT_Service_TTGlyfRec class_ = \ + { \ + get_location_ \ + }; + + /* */ + + +FT_END_HEADER + +#endif /* SVTTGLYF_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svwinfnt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svwinfnt.h new file mode 100644 index 0000000..002923f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/services/svwinfnt.h @@ -0,0 +1,50 @@ +/**************************************************************************** + * + * svwinfnt.h + * + * The FreeType Windows FNT/FONT service (specification). + * + * Copyright (C) 2003-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVWINFNT_H_ +#define SVWINFNT_H_ + +#include +#include + + +FT_BEGIN_HEADER + + +#define FT_SERVICE_ID_WINFNT "winfonts" + + typedef FT_Error + (*FT_WinFnt_GetHeaderFunc)( FT_Face face, + FT_WinFNT_HeaderRec *aheader ); + + + FT_DEFINE_SERVICE( WinFnt ) + { + FT_WinFnt_GetHeaderFunc get_header; + }; + + /* */ + + +FT_END_HEADER + + +#endif /* SVWINFNT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/sfnt.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/sfnt.h new file mode 100644 index 0000000..a2d4e15 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/sfnt.h @@ -0,0 +1,1092 @@ +/**************************************************************************** + * + * sfnt.h + * + * High-level 'sfnt' driver interface (specification). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SFNT_H_ +#define SFNT_H_ + + +#include +#include +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @functype: + * TT_Init_Face_Func + * + * @description: + * First part of the SFNT face object initialization. This finds the + * face in a SFNT file or collection, and load its format tag in + * face->format_tag. + * + * @input: + * stream :: + * The input stream. + * + * face :: + * A handle to the target face object. + * + * face_index :: + * The index of the TrueType font, if we are opening a collection, in + * bits 0-15. The numbered instance index~+~1 of a GX (sub)font, if + * applicable, in bits 16-30. + * + * num_params :: + * The number of additional parameters. + * + * params :: + * Optional additional parameters. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The stream cursor must be at the font file's origin. + * + * This function recognizes fonts embedded in a 'TrueType collection'. + * + * Once the format tag has been validated by the font driver, it should + * then call the TT_Load_Face_Func() callback to read the rest of the + * SFNT tables in the object. + */ + typedef FT_Error + (*TT_Init_Face_Func)( FT_Stream stream, + TT_Face face, + FT_Int face_index, + FT_Int num_params, + FT_Parameter* params ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Face_Func + * + * @description: + * Second part of the SFNT face object initialization. This loads the + * common SFNT tables (head, OS/2, maxp, metrics, etc.) in the face + * object. + * + * @input: + * stream :: + * The input stream. + * + * face :: + * A handle to the target face object. + * + * face_index :: + * The index of the TrueType font, if we are opening a collection, in + * bits 0-15. The numbered instance index~+~1 of a GX (sub)font, if + * applicable, in bits 16-30. + * + * num_params :: + * The number of additional parameters. + * + * params :: + * Optional additional parameters. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * This function must be called after TT_Init_Face_Func(). + */ + typedef FT_Error + (*TT_Load_Face_Func)( FT_Stream stream, + TT_Face face, + FT_Int face_index, + FT_Int num_params, + FT_Parameter* params ); + + + /************************************************************************** + * + * @functype: + * TT_Done_Face_Func + * + * @description: + * A callback used to delete the common SFNT data from a face. + * + * @input: + * face :: + * A handle to the target face object. + * + * @note: + * This function does NOT destroy the face object. + */ + typedef void + (*TT_Done_Face_Func)( TT_Face face ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Any_Func + * + * @description: + * Load any font table into client memory. + * + * @input: + * face :: + * The face object to look for. + * + * tag :: + * The tag of table to load. Use the value 0 if you want to access the + * whole font file, else set this parameter to a valid TrueType table + * tag that you can forge with the MAKE_TT_TAG macro. + * + * offset :: + * The starting offset in the table (or the file if tag == 0). + * + * length :: + * The address of the decision variable: + * + * If `length == NULL`: Loads the whole table. Returns an error if + * 'offset' == 0! + * + * If `*length == 0`: Exits immediately; returning the length of the + * given table or of the font file, depending on the value of 'tag'. + * + * If `*length != 0`: Loads the next 'length' bytes of table or font, + * starting at offset 'offset' (in table or font too). + * + * @output: + * buffer :: + * The address of target buffer. + * + * @return: + * TrueType error code. 0 means success. + */ + typedef FT_Error + (*TT_Load_Any_Func)( TT_Face face, + FT_ULong tag, + FT_Long offset, + FT_Byte *buffer, + FT_ULong* length ); + + + /************************************************************************** + * + * @functype: + * TT_Find_SBit_Image_Func + * + * @description: + * Check whether an embedded bitmap (an 'sbit') exists for a given glyph, + * at a given strike. + * + * @input: + * face :: + * The target face object. + * + * glyph_index :: + * The glyph index. + * + * strike_index :: + * The current strike index. + * + * @output: + * arange :: + * The SBit range containing the glyph index. + * + * astrike :: + * The SBit strike containing the glyph index. + * + * aglyph_offset :: + * The offset of the glyph data in 'EBDT' table. + * + * @return: + * FreeType error code. 0 means success. Returns + * SFNT_Err_Invalid_Argument if no sbit exists for the requested glyph. + */ + typedef FT_Error + (*TT_Find_SBit_Image_Func)( TT_Face face, + FT_UInt glyph_index, + FT_ULong strike_index, + TT_SBit_Range *arange, + TT_SBit_Strike *astrike, + FT_ULong *aglyph_offset ); + + + /************************************************************************** + * + * @functype: + * TT_Load_SBit_Metrics_Func + * + * @description: + * Get the big metrics for a given embedded bitmap. + * + * @input: + * stream :: + * The input stream. + * + * range :: + * The SBit range containing the glyph. + * + * @output: + * big_metrics :: + * A big SBit metrics structure for the glyph. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The stream cursor must be positioned at the glyph's offset within the + * 'EBDT' table before the call. + * + * If the image format uses variable metrics, the stream cursor is + * positioned just after the metrics header in the 'EBDT' table on + * function exit. + */ + typedef FT_Error + (*TT_Load_SBit_Metrics_Func)( FT_Stream stream, + TT_SBit_Range range, + TT_SBit_Metrics metrics ); + + + /************************************************************************** + * + * @functype: + * TT_Load_SBit_Image_Func + * + * @description: + * Load a given glyph sbit image from the font resource. This also + * returns its metrics. + * + * @input: + * face :: + * The target face object. + * + * strike_index :: + * The strike index. + * + * glyph_index :: + * The current glyph index. + * + * load_flags :: + * The current load flags. + * + * stream :: + * The input stream. + * + * @output: + * amap :: + * The target pixmap. + * + * ametrics :: + * A big sbit metrics structure for the glyph image. + * + * @return: + * FreeType error code. 0 means success. Returns an error if no glyph + * sbit exists for the index. + * + * @note: + * The `map.buffer` field is always freed before the glyph is loaded. + */ + typedef FT_Error + (*TT_Load_SBit_Image_Func)( TT_Face face, + FT_ULong strike_index, + FT_UInt glyph_index, + FT_UInt load_flags, + FT_Stream stream, + FT_Bitmap *amap, + TT_SBit_MetricsRec *ametrics ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Svg_Doc_Func + * + * @description: + * Scan the SVG document list to find the document containing the glyph + * that has the ID 'glyph*XXX*', where *XXX* is the value of + * `glyph_index` as a decimal integer. + * + * @inout: + * glyph :: + * The glyph slot from which pointers to the SVG document list is to be + * grabbed. The results are stored back in the slot. + * + * @input: + * glyph_index :: + * The index of the glyph that is to be looked up. + * + * @return: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Load_Svg_Doc_Func)( FT_GlyphSlot glyph, + FT_UInt glyph_index ); + + + /************************************************************************** + * + * @functype: + * TT_Set_SBit_Strike_Func + * + * @description: + * Select an sbit strike for a given size request. + * + * @input: + * face :: + * The target face object. + * + * req :: + * The size request. + * + * @output: + * astrike_index :: + * The index of the sbit strike. + * + * @return: + * FreeType error code. 0 means success. Returns an error if no sbit + * strike exists for the selected ppem values. + */ + typedef FT_Error + (*TT_Set_SBit_Strike_Func)( TT_Face face, + FT_Size_Request req, + FT_ULong* astrike_index ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Strike_Metrics_Func + * + * @description: + * Load the metrics of a given strike. + * + * @input: + * face :: + * The target face object. + * + * strike_index :: + * The strike index. + * + * @output: + * metrics :: + * the metrics of the strike. + * + * @return: + * FreeType error code. 0 means success. Returns an error if no such + * sbit strike exists. + */ + typedef FT_Error + (*TT_Load_Strike_Metrics_Func)( TT_Face face, + FT_ULong strike_index, + FT_Size_Metrics* metrics ); + + + /************************************************************************** + * + * @functype: + * TT_Get_PS_Name_Func + * + * @description: + * Get the PostScript glyph name of a glyph. + * + * @input: + * idx :: + * The glyph index. + * + * PSname :: + * The address of a string pointer. Will be `NULL` in case of error, + * otherwise it is a pointer to the glyph name. + * + * You must not modify the returned string! + * + * @output: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Get_PS_Name_Func)( TT_Face face, + FT_UInt idx, + FT_String** PSname ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Metrics_Func + * + * @description: + * Load a metrics table, which is a table with a horizontal and a + * vertical version. + * + * @input: + * face :: + * A handle to the target face object. + * + * stream :: + * The input stream. + * + * vertical :: + * A boolean flag. If set, load the vertical one. + * + * @return: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Load_Metrics_Func)( TT_Face face, + FT_Stream stream, + FT_Bool vertical ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Metrics_Func + * + * @description: + * Load the horizontal or vertical header in a face object. + * + * @input: + * face :: + * A handle to the target face object. + * + * vertical :: + * A boolean flag. If set, load vertical metrics. + * + * gindex :: + * The glyph index. + * + * @output: + * abearing :: + * The horizontal (or vertical) bearing. Set to zero in case of error. + * + * aadvance :: + * The horizontal (or vertical) advance. Set to zero in case of error. + */ + typedef void + (*TT_Get_Metrics_Func)( TT_Face face, + FT_Bool vertical, + FT_UInt gindex, + FT_Short* abearing, + FT_UShort* aadvance ); + + + /************************************************************************** + * + * @functype: + * TT_Set_Palette_Func + * + * @description: + * Load the colors into `face->palette` for a given palette index. + * + * @input: + * face :: + * The target face object. + * + * idx :: + * The palette index. + * + * @return: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Set_Palette_Func)( TT_Face face, + FT_UInt idx ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Colr_Layer_Func + * + * @description: + * Iteratively get the color layer data of a given glyph index. + * + * @input: + * face :: + * The target face object. + * + * base_glyph :: + * The glyph index the colored glyph layers are associated with. + * + * @inout: + * iterator :: + * An @FT_LayerIterator object. For the first call you should set + * `iterator->p` to `NULL`. For all following calls, simply use the + * same object again. + * + * @output: + * aglyph_index :: + * The glyph index of the current layer. + * + * acolor_index :: + * The color index into the font face's color palette of the current + * layer. The value 0xFFFF is special; it doesn't reference a palette + * entry but indicates that the text foreground color should be used + * instead (to be set up by the application outside of FreeType). + * + * @return: + * Value~1 if everything is OK. If there are no more layers (or if there + * are no layers at all), value~0 gets returned. In case of an error, + * value~0 is returned also. + */ + typedef FT_Bool + (*TT_Get_Colr_Layer_Func)( TT_Face face, + FT_UInt base_glyph, + FT_UInt *aglyph_index, + FT_UInt *acolor_index, + FT_LayerIterator* iterator ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Color_Glyph_Paint_Func + * + * @description: + * Find the root @FT_OpaquePaint object for a given glyph ID. + * + * @input: + * face :: + * The target face object. + * + * base_glyph :: + * The glyph index the colored glyph layers are associated with. + * + * @output: + * paint :: + * The root @FT_OpaquePaint object. + * + * @return: + * Value~1 if everything is OK. If no color glyph is found, or the root + * paint could not be retrieved, value~0 gets returned. In case of an + * error, value~0 is returned also. + */ + typedef FT_Bool + ( *TT_Get_Color_Glyph_Paint_Func )( TT_Face face, + FT_UInt base_glyph, + FT_Color_Root_Transform root_transform, + FT_OpaquePaint *paint ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Color_Glyph_ClipBox_Func + * + * @description: + * Search for a 'COLR' v1 clip box for the specified `base_glyph` and + * fill the `clip_box` parameter with the 'COLR' v1 'ClipBox' information + * if one is found. + * + * @input: + * face :: + * A handle to the parent face object. + * + * base_glyph :: + * The glyph index for which to retrieve the clip box. + * + * @output: + * clip_box :: + * The clip box for the requested `base_glyph` if one is found. The + * clip box is computed taking scale and transformations configured on + * the @FT_Face into account. @FT_ClipBox contains @FT_Vector values + * in 26.6 format. + * + * @note: + * To retrieve the clip box in font units, reset scale to units-per-em + * and remove transforms configured using @FT_Set_Transform. + * + * @return: + * Value~1 if a ClipBox is found. If no clip box is found or an + * error occured, value~0 is returned. + */ + typedef FT_Bool + ( *TT_Get_Color_Glyph_ClipBox_Func )( TT_Face face, + FT_UInt base_glyph, + FT_ClipBox* clip_box ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Paint_Layers_Func + * + * @description: + * Access the layers of a `PaintColrLayers` table. + * + * @input: + * face :: + * The target face object. + * + * @inout: + * iterator :: + * The @FT_LayerIterator from an @FT_PaintColrLayers object, for which + * the layers are to be retrieved. The internal state of the iterator + * is incremented after one call to this function for retrieving one + * layer. + * + * @output: + * paint :: + * The root @FT_OpaquePaint object referencing the actual paint table. + * + * @return: + * Value~1 if everything is OK. Value~0 gets returned when the paint + * object can not be retrieved or any other error occurs. + */ + typedef FT_Bool + ( *TT_Get_Paint_Layers_Func )( TT_Face face, + FT_LayerIterator* iterator, + FT_OpaquePaint *paint ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Colorline_Stops_Func + * + * @description: + * Get the gradient and solid fill information for a given glyph. + * + * @input: + * face :: + * The target face object. + * + * @inout: + * iterator :: + * An @FT_ColorStopIterator object. For the first call you should set + * `iterator->p` to `NULL`. For all following calls, simply use the + * same object again. + * + * @output: + * color_stop :: + * Color index and alpha value for the retrieved color stop. + * + * @return: + * Value~1 if everything is OK. If there are no more color stops, + * value~0 gets returned. In case of an error, value~0 is returned + * also. + */ + typedef FT_Bool + ( *TT_Get_Colorline_Stops_Func )( TT_Face face, + FT_ColorStop *color_stop, + FT_ColorStopIterator* iterator ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Paint_Func + * + * @description: + * Get the paint details for a given @FT_OpaquePaint object. + * + * @input: + * face :: + * The target face object. + * + * opaque_paint :: + * The @FT_OpaquePaint object. + * + * @output: + * paint :: + * An @FT_COLR_Paint object holding the details on `opaque_paint`. + * + * @return: + * Value~1 if everything is OK. Value~0 if no details can be found for + * this paint or any other error occured. + */ + typedef FT_Bool + ( *TT_Get_Paint_Func )( TT_Face face, + FT_OpaquePaint opaque_paint, + FT_COLR_Paint *paint ); + + + /************************************************************************** + * + * @functype: + * TT_Blend_Colr_Func + * + * @description: + * Blend the bitmap in `new_glyph` into `base_glyph` using the color + * specified by `color_index`. If `color_index` is 0xFFFF, use + * `face->foreground_color` if `face->have_foreground_color` is set. + * Otherwise check `face->palette_data.palette_flags`: If present and + * @FT_PALETTE_FOR_DARK_BACKGROUND is set, use BGRA value 0xFFFFFFFF + * (white opaque). Otherwise use BGRA value 0x000000FF (black opaque). + * + * @input: + * face :: + * The target face object. + * + * color_index :: + * Color index from the COLR table. + * + * base_glyph :: + * Slot for bitmap to be merged into. The underlying bitmap may get + * reallocated. + * + * new_glyph :: + * Slot to be incooperated into `base_glyph`. + * + * @return: + * FreeType error code. 0 means success. Returns an error if + * color_index is invalid or reallocation fails. + */ + typedef FT_Error + (*TT_Blend_Colr_Func)( TT_Face face, + FT_UInt color_index, + FT_GlyphSlot base_glyph, + FT_GlyphSlot new_glyph ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Name_Func + * + * @description: + * From the 'name' table, return a given ENGLISH name record in ASCII. + * + * @input: + * face :: + * A handle to the source face object. + * + * nameid :: + * The name id of the name record to return. + * + * @inout: + * name :: + * The address of an allocated string pointer. `NULL` if no name is + * present. + * + * @return: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Get_Name_Func)( TT_Face face, + FT_UShort nameid, + FT_String** name ); + + + /************************************************************************** + * + * @functype: + * TT_Get_Name_ID_Func + * + * @description: + * Search whether an ENGLISH version for a given name ID is in the 'name' + * table. + * + * @input: + * face :: + * A handle to the source face object. + * + * nameid :: + * The name id of the name record to return. + * + * @output: + * win :: + * If non-negative, an index into the 'name' table with the + * corresponding (3,1) or (3,0) Windows entry. + * + * apple :: + * If non-negative, an index into the 'name' table with the + * corresponding (1,0) Apple entry. + * + * @return: + * 1 if there is either a win or apple entry (or both), 0 otheriwse. + */ + typedef FT_Bool + (*TT_Get_Name_ID_Func)( TT_Face face, + FT_UShort nameid, + FT_Int *win, + FT_Int *apple ); + + + /************************************************************************** + * + * @functype: + * TT_Load_Table_Func + * + * @description: + * Load a given TrueType table. + * + * @input: + * face :: + * A handle to the target face object. + * + * stream :: + * The input stream. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The function uses `face->goto_table` to seek the stream to the start + * of the table, except while loading the font directory. + */ + typedef FT_Error + (*TT_Load_Table_Func)( TT_Face face, + FT_Stream stream ); + + + /************************************************************************** + * + * @functype: + * TT_Free_Table_Func + * + * @description: + * Free a given TrueType table. + * + * @input: + * face :: + * A handle to the target face object. + */ + typedef void + (*TT_Free_Table_Func)( TT_Face face ); + + + /* + * @functype: + * TT_Face_GetKerningFunc + * + * @description: + * Return the horizontal kerning value between two glyphs. + * + * @input: + * face :: + * A handle to the source face object. + * + * left_glyph :: + * The left glyph index. + * + * right_glyph :: + * The right glyph index. + * + * @return: + * The kerning value in font units. + */ + typedef FT_Int + (*TT_Face_GetKerningFunc)( TT_Face face, + FT_UInt left_glyph, + FT_UInt right_glyph ); + + + /************************************************************************** + * + * @struct: + * SFNT_Interface + * + * @description: + * This structure holds pointers to the functions used to load and free + * the basic tables that are required in a 'sfnt' font file. + * + * @fields: + * Check the various xxx_Func() descriptions for details. + */ + typedef struct SFNT_Interface_ + { + TT_Loader_GotoTableFunc goto_table; + + TT_Init_Face_Func init_face; + TT_Load_Face_Func load_face; + TT_Done_Face_Func done_face; + FT_Module_Requester get_interface; + + TT_Load_Any_Func load_any; + + /* these functions are called by `load_face' but they can also */ + /* be called from external modules, if there is a need to do so */ + TT_Load_Table_Func load_head; + TT_Load_Metrics_Func load_hhea; + TT_Load_Table_Func load_cmap; + TT_Load_Table_Func load_maxp; + TT_Load_Table_Func load_os2; + TT_Load_Table_Func load_post; + + TT_Load_Table_Func load_name; + TT_Free_Table_Func free_name; + + /* this field was called `load_kerning' up to version 2.1.10 */ + TT_Load_Table_Func load_kern; + + TT_Load_Table_Func load_gasp; + TT_Load_Table_Func load_pclt; + + /* see `ttload.h'; this field was called `load_bitmap_header' up to */ + /* version 2.1.10 */ + TT_Load_Table_Func load_bhed; + + TT_Load_SBit_Image_Func load_sbit_image; + + /* see `ttpost.h' */ + TT_Get_PS_Name_Func get_psname; + TT_Free_Table_Func free_psnames; + + /* starting here, the structure differs from version 2.1.7 */ + + /* this field was introduced in version 2.1.8, named `get_psname' */ + TT_Face_GetKerningFunc get_kerning; + + /* new elements introduced after version 2.1.10 */ + + /* load the font directory, i.e., the offset table and */ + /* the table directory */ + TT_Load_Table_Func load_font_dir; + TT_Load_Metrics_Func load_hmtx; + + TT_Load_Table_Func load_eblc; + TT_Free_Table_Func free_eblc; + + TT_Set_SBit_Strike_Func set_sbit_strike; + TT_Load_Strike_Metrics_Func load_strike_metrics; + + TT_Load_Table_Func load_cpal; + TT_Load_Table_Func load_colr; + TT_Free_Table_Func free_cpal; + TT_Free_Table_Func free_colr; + TT_Set_Palette_Func set_palette; + TT_Get_Colr_Layer_Func get_colr_layer; + TT_Get_Color_Glyph_Paint_Func get_colr_glyph_paint; + TT_Get_Color_Glyph_ClipBox_Func get_color_glyph_clipbox; + TT_Get_Paint_Layers_Func get_paint_layers; + TT_Get_Colorline_Stops_Func get_colorline_stops; + TT_Get_Paint_Func get_paint; + TT_Blend_Colr_Func colr_blend; + + TT_Get_Metrics_Func get_metrics; + + TT_Get_Name_Func get_name; + TT_Get_Name_ID_Func get_name_id; + + /* OpenType SVG Support */ + TT_Load_Table_Func load_svg; + TT_Free_Table_Func free_svg; + TT_Load_Svg_Doc_Func load_svg_doc; + + } SFNT_Interface; + + + /* transitional */ + typedef SFNT_Interface* SFNT_Service; + + +#define FT_DEFINE_SFNT_INTERFACE( \ + class_, \ + goto_table_, \ + init_face_, \ + load_face_, \ + done_face_, \ + get_interface_, \ + load_any_, \ + load_head_, \ + load_hhea_, \ + load_cmap_, \ + load_maxp_, \ + load_os2_, \ + load_post_, \ + load_name_, \ + free_name_, \ + load_kern_, \ + load_gasp_, \ + load_pclt_, \ + load_bhed_, \ + load_sbit_image_, \ + get_psname_, \ + free_psnames_, \ + get_kerning_, \ + load_font_dir_, \ + load_hmtx_, \ + load_eblc_, \ + free_eblc_, \ + set_sbit_strike_, \ + load_strike_metrics_, \ + load_cpal_, \ + load_colr_, \ + free_cpal_, \ + free_colr_, \ + set_palette_, \ + get_colr_layer_, \ + get_colr_glyph_paint_, \ + get_color_glyph_clipbox, \ + get_paint_layers_, \ + get_colorline_stops_, \ + get_paint_, \ + colr_blend_, \ + get_metrics_, \ + get_name_, \ + get_name_id_, \ + load_svg_, \ + free_svg_, \ + load_svg_doc_ ) \ + static const SFNT_Interface class_ = \ + { \ + goto_table_, \ + init_face_, \ + load_face_, \ + done_face_, \ + get_interface_, \ + load_any_, \ + load_head_, \ + load_hhea_, \ + load_cmap_, \ + load_maxp_, \ + load_os2_, \ + load_post_, \ + load_name_, \ + free_name_, \ + load_kern_, \ + load_gasp_, \ + load_pclt_, \ + load_bhed_, \ + load_sbit_image_, \ + get_psname_, \ + free_psnames_, \ + get_kerning_, \ + load_font_dir_, \ + load_hmtx_, \ + load_eblc_, \ + free_eblc_, \ + set_sbit_strike_, \ + load_strike_metrics_, \ + load_cpal_, \ + load_colr_, \ + free_cpal_, \ + free_colr_, \ + set_palette_, \ + get_colr_layer_, \ + get_colr_glyph_paint_, \ + get_color_glyph_clipbox, \ + get_paint_layers_, \ + get_colorline_stops_, \ + get_paint_, \ + colr_blend_, \ + get_metrics_, \ + get_name_, \ + get_name_id_, \ + load_svg_, \ + free_svg_, \ + load_svg_doc_ \ + }; + + +FT_END_HEADER + +#endif /* SFNT_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/svginterface.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/svginterface.h new file mode 100644 index 0000000..f464b2c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/svginterface.h @@ -0,0 +1,46 @@ +/**************************************************************************** + * + * svginterface.h + * + * Interface of ot-svg module (specification only). + * + * Copyright (C) 2022-2023 by + * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef SVGINTERFACE_H_ +#define SVGINTERFACE_H_ + +#include +#include + + +FT_BEGIN_HEADER + + typedef FT_Error + (*Preset_Bitmap_Func)( FT_Module module, + FT_GlyphSlot slot, + FT_Bool cache ); + + typedef struct SVG_Interface_ + { + Preset_Bitmap_Func preset_slot; + + } SVG_Interface; + + typedef SVG_Interface* SVG_Service; + +FT_END_HEADER + +#endif /* SVGINTERFACE_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/t1types.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/t1types.h new file mode 100644 index 0000000..b9c9439 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/t1types.h @@ -0,0 +1,259 @@ +/**************************************************************************** + * + * t1types.h + * + * Basic Type1/Type2 type definitions and interface (specification + * only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef T1TYPES_H_ +#define T1TYPES_H_ + + +#include +#include +#include +#include +#include + + +FT_BEGIN_HEADER + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** REQUIRED TYPE1/TYPE2 TABLES DEFINITIONS ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * T1_EncodingRec + * + * @description: + * A structure modeling a custom encoding. + * + * @fields: + * num_chars :: + * The number of character codes in the encoding. Usually 256. + * + * code_first :: + * The lowest valid character code in the encoding. + * + * code_last :: + * The highest valid character code in the encoding + 1. When equal to + * code_first there are no valid character codes. + * + * char_index :: + * An array of corresponding glyph indices. + * + * char_name :: + * An array of corresponding glyph names. + */ + typedef struct T1_EncodingRecRec_ + { + FT_Int num_chars; + FT_Int code_first; + FT_Int code_last; + + FT_UShort* char_index; + const FT_String** char_name; + + } T1_EncodingRec, *T1_Encoding; + + + /* used to hold extra data of PS_FontInfoRec that + * cannot be stored in the publicly defined structure. + * + * Note these can't be blended with multiple-masters. + */ + typedef struct PS_FontExtraRec_ + { + FT_UShort fs_type; + + } PS_FontExtraRec; + + + typedef struct T1_FontRec_ + { + PS_FontInfoRec font_info; /* font info dictionary */ + PS_FontExtraRec font_extra; /* font info extra fields */ + PS_PrivateRec private_dict; /* private dictionary */ + FT_String* font_name; /* top-level dictionary */ + + T1_EncodingType encoding_type; + T1_EncodingRec encoding; + + FT_Byte* subrs_block; + FT_Byte* charstrings_block; + FT_Byte* glyph_names_block; + + FT_Int num_subrs; + FT_Byte** subrs; + FT_UInt* subrs_len; + FT_Hash subrs_hash; + + FT_Int num_glyphs; + FT_String** glyph_names; /* array of glyph names */ + FT_Byte** charstrings; /* array of glyph charstrings */ + FT_UInt* charstrings_len; + + FT_Byte paint_type; + FT_Byte font_type; + FT_Matrix font_matrix; + FT_Vector font_offset; + FT_BBox font_bbox; + FT_Long font_id; + + FT_Fixed stroke_width; + + } T1_FontRec, *T1_Font; + + + typedef struct CID_SubrsRec_ + { + FT_Int num_subrs; + FT_Byte** code; + + } CID_SubrsRec, *CID_Subrs; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** AFM FONT INFORMATION STRUCTURES ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + typedef struct AFM_TrackKernRec_ + { + FT_Int degree; + FT_Fixed min_ptsize; + FT_Fixed min_kern; + FT_Fixed max_ptsize; + FT_Fixed max_kern; + + } AFM_TrackKernRec, *AFM_TrackKern; + + typedef struct AFM_KernPairRec_ + { + FT_UInt index1; + FT_UInt index2; + FT_Int x; + FT_Int y; + + } AFM_KernPairRec, *AFM_KernPair; + + typedef struct AFM_FontInfoRec_ + { + FT_Bool IsCIDFont; + FT_BBox FontBBox; + FT_Fixed Ascender; /* optional, mind the zero */ + FT_Fixed Descender; /* optional, mind the zero */ + AFM_TrackKern TrackKerns; /* free if non-NULL */ + FT_UInt NumTrackKern; + AFM_KernPair KernPairs; /* free if non-NULL */ + FT_UInt NumKernPair; + + } AFM_FontInfoRec, *AFM_FontInfo; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** ORIGINAL T1_FACE CLASS DEFINITION ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + typedef struct T1_FaceRec_* T1_Face; + typedef struct CID_FaceRec_* CID_Face; + + + typedef struct T1_FaceRec_ + { + FT_FaceRec root; + T1_FontRec type1; + const void* psnames; + const void* psaux; + const void* afm_data; + FT_CharMapRec charmaprecs[2]; + FT_CharMap charmaps[2]; + + /* support for Multiple Masters fonts */ + PS_Blend blend; + + /* undocumented, optional: indices of subroutines that express */ + /* the NormalizeDesignVector and the ConvertDesignVector procedure, */ + /* respectively, as Type 2 charstrings; -1 if keywords not present */ + FT_Int ndv_idx; + FT_Int cdv_idx; + + /* undocumented, optional: has the same meaning as len_buildchar */ + /* for Type 2 fonts; manipulated by othersubrs 19, 24, and 25 */ + FT_UInt len_buildchar; + FT_Long* buildchar; + + /* since version 2.1 - interface to PostScript hinter */ + const void* pshinter; + + } T1_FaceRec; + + + typedef struct CID_FaceRec_ + { + FT_FaceRec root; + void* psnames; + void* psaux; + CID_FaceInfoRec cid; + PS_FontExtraRec font_extra; +#if 0 + void* afm_data; +#endif + CID_Subrs subrs; + + /* since version 2.1 - interface to PostScript hinter */ + void* pshinter; + + /* since version 2.1.8, but was originally positioned after `afm_data' */ + FT_Byte* binary_data; /* used if hex data has been converted */ + FT_Stream cid_stream; + + } CID_FaceRec; + + +FT_END_HEADER + +#endif /* T1TYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/tttypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/tttypes.h new file mode 100644 index 0000000..984121a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/tttypes.h @@ -0,0 +1,1756 @@ +/**************************************************************************** + * + * tttypes.h + * + * Basic SFNT/TrueType type definitions and interface (specification + * only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef TTTYPES_H_ +#define TTTYPES_H_ + + +#include +#include +#include + +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT +#include +#endif + + +FT_BEGIN_HEADER + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** REQUIRED TRUETYPE/OPENTYPE TABLES DEFINITIONS ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * TTC_HeaderRec + * + * @description: + * TrueType collection header. This table contains the offsets of the + * font headers of each distinct TrueType face in the file. + * + * @fields: + * tag :: + * Must be 'ttc~' to indicate a TrueType collection. + * + * version :: + * The version number. + * + * count :: + * The number of faces in the collection. The specification says this + * should be an unsigned long, but we use a signed long since we need + * the value -1 for specific purposes. + * + * offsets :: + * The offsets of the font headers, one per face. + */ + typedef struct TTC_HeaderRec_ + { + FT_ULong tag; + FT_Fixed version; + FT_Long count; + FT_ULong* offsets; + + } TTC_HeaderRec; + + + /************************************************************************** + * + * @struct: + * SFNT_HeaderRec + * + * @description: + * SFNT file format header. + * + * @fields: + * format_tag :: + * The font format tag. + * + * num_tables :: + * The number of tables in file. + * + * search_range :: + * Must be '16 * (max power of 2 <= num_tables)'. + * + * entry_selector :: + * Must be log2 of 'search_range / 16'. + * + * range_shift :: + * Must be 'num_tables * 16 - search_range'. + */ + typedef struct SFNT_HeaderRec_ + { + FT_ULong format_tag; + FT_UShort num_tables; + FT_UShort search_range; + FT_UShort entry_selector; + FT_UShort range_shift; + + FT_ULong offset; /* not in file */ + + } SFNT_HeaderRec, *SFNT_Header; + + + /************************************************************************** + * + * @struct: + * TT_TableRec + * + * @description: + * This structure describes a given table of a TrueType font. + * + * @fields: + * Tag :: + * A four-bytes tag describing the table. + * + * CheckSum :: + * The table checksum. This value can be ignored. + * + * Offset :: + * The offset of the table from the start of the TrueType font in its + * resource. + * + * Length :: + * The table length (in bytes). + */ + typedef struct TT_TableRec_ + { + FT_ULong Tag; /* table type */ + FT_ULong CheckSum; /* table checksum */ + FT_ULong Offset; /* table file offset */ + FT_ULong Length; /* table length */ + + } TT_TableRec, *TT_Table; + + + /************************************************************************** + * + * @struct: + * TT_LongMetricsRec + * + * @description: + * A structure modeling the long metrics of the 'hmtx' and 'vmtx' + * TrueType tables. The values are expressed in font units. + * + * @fields: + * advance :: + * The advance width or height for the glyph. + * + * bearing :: + * The left-side or top-side bearing for the glyph. + */ + typedef struct TT_LongMetricsRec_ + { + FT_UShort advance; + FT_Short bearing; + + } TT_LongMetricsRec, *TT_LongMetrics; + + + /************************************************************************** + * + * @type: + * TT_ShortMetrics + * + * @description: + * A simple type to model the short metrics of the 'hmtx' and 'vmtx' + * tables. + */ + typedef FT_Short TT_ShortMetrics; + + + /************************************************************************** + * + * @struct: + * TT_NameRec + * + * @description: + * A structure modeling TrueType name records. Name records are used to + * store important strings like family name, style name, copyright, + * etc. in _localized_ versions (i.e., language, encoding, etc). + * + * @fields: + * platformID :: + * The ID of the name's encoding platform. + * + * encodingID :: + * The platform-specific ID for the name's encoding. + * + * languageID :: + * The platform-specific ID for the name's language. + * + * nameID :: + * The ID specifying what kind of name this is. + * + * stringLength :: + * The length of the string in bytes. + * + * stringOffset :: + * The offset to the string in the 'name' table. + * + * string :: + * A pointer to the string's bytes. Note that these are usually UTF-16 + * encoded characters. + */ + typedef struct TT_NameRec_ + { + FT_UShort platformID; + FT_UShort encodingID; + FT_UShort languageID; + FT_UShort nameID; + FT_UShort stringLength; + FT_ULong stringOffset; + + /* this last field is not defined in the spec */ + /* but used by the FreeType engine */ + + FT_Byte* string; + + } TT_NameRec, *TT_Name; + + + /************************************************************************** + * + * @struct: + * TT_LangTagRec + * + * @description: + * A structure modeling language tag records in SFNT 'name' tables, + * introduced in OpenType version 1.6. + * + * @fields: + * stringLength :: + * The length of the string in bytes. + * + * stringOffset :: + * The offset to the string in the 'name' table. + * + * string :: + * A pointer to the string's bytes. Note that these are UTF-16BE + * encoded characters. + */ + typedef struct TT_LangTagRec_ + { + FT_UShort stringLength; + FT_ULong stringOffset; + + /* this last field is not defined in the spec */ + /* but used by the FreeType engine */ + + FT_Byte* string; + + } TT_LangTagRec, *TT_LangTag; + + + /************************************************************************** + * + * @struct: + * TT_NameTableRec + * + * @description: + * A structure modeling the TrueType name table. + * + * @fields: + * format :: + * The format of the name table. + * + * numNameRecords :: + * The number of names in table. + * + * storageOffset :: + * The offset of the name table in the 'name' TrueType table. + * + * names :: + * An array of name records. + * + * numLangTagRecords :: + * The number of language tags in table. + * + * langTags :: + * An array of language tag records. + * + * stream :: + * The file's input stream. + */ + typedef struct TT_NameTableRec_ + { + FT_UShort format; + FT_UInt numNameRecords; + FT_UInt storageOffset; + TT_NameRec* names; + FT_UInt numLangTagRecords; + TT_LangTagRec* langTags; + FT_Stream stream; + + } TT_NameTableRec, *TT_NameTable; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** OPTIONAL TRUETYPE/OPENTYPE TABLES DEFINITIONS ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * TT_GaspRangeRec + * + * @description: + * A tiny structure used to model a gasp range according to the TrueType + * specification. + * + * @fields: + * maxPPEM :: + * The maximum ppem value to which `gaspFlag` applies. + * + * gaspFlag :: + * A flag describing the grid-fitting and anti-aliasing modes to be + * used. + */ + typedef struct TT_GaspRangeRec_ + { + FT_UShort maxPPEM; + FT_UShort gaspFlag; + + } TT_GaspRangeRec, *TT_GaspRange; + + +#define TT_GASP_GRIDFIT 0x01 +#define TT_GASP_DOGRAY 0x02 + + + /************************************************************************** + * + * @struct: + * TT_GaspRec + * + * @description: + * A structure modeling the TrueType 'gasp' table used to specify + * grid-fitting and anti-aliasing behaviour. + * + * @fields: + * version :: + * The version number. + * + * numRanges :: + * The number of gasp ranges in table. + * + * gaspRanges :: + * An array of gasp ranges. + */ + typedef struct TT_Gasp_ + { + FT_UShort version; + FT_UShort numRanges; + TT_GaspRange gaspRanges; + + } TT_GaspRec; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** EMBEDDED BITMAPS SUPPORT ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * TT_SBit_MetricsRec + * + * @description: + * A structure used to hold the big metrics of a given glyph bitmap in a + * TrueType or OpenType font. These are usually found in the 'EBDT' + * (Microsoft) or 'bloc' (Apple) table. + * + * @fields: + * height :: + * The glyph height in pixels. + * + * width :: + * The glyph width in pixels. + * + * horiBearingX :: + * The horizontal left bearing. + * + * horiBearingY :: + * The horizontal top bearing. + * + * horiAdvance :: + * The horizontal advance. + * + * vertBearingX :: + * The vertical left bearing. + * + * vertBearingY :: + * The vertical top bearing. + * + * vertAdvance :: + * The vertical advance. + */ + typedef struct TT_SBit_MetricsRec_ + { + FT_UShort height; + FT_UShort width; + + FT_Short horiBearingX; + FT_Short horiBearingY; + FT_UShort horiAdvance; + + FT_Short vertBearingX; + FT_Short vertBearingY; + FT_UShort vertAdvance; + + } TT_SBit_MetricsRec, *TT_SBit_Metrics; + + + /************************************************************************** + * + * @struct: + * TT_SBit_SmallMetricsRec + * + * @description: + * A structure used to hold the small metrics of a given glyph bitmap in + * a TrueType or OpenType font. These are usually found in the 'EBDT' + * (Microsoft) or the 'bdat' (Apple) table. + * + * @fields: + * height :: + * The glyph height in pixels. + * + * width :: + * The glyph width in pixels. + * + * bearingX :: + * The left-side bearing. + * + * bearingY :: + * The top-side bearing. + * + * advance :: + * The advance width or height. + */ + typedef struct TT_SBit_Small_Metrics_ + { + FT_Byte height; + FT_Byte width; + + FT_Char bearingX; + FT_Char bearingY; + FT_Byte advance; + + } TT_SBit_SmallMetricsRec, *TT_SBit_SmallMetrics; + + + /************************************************************************** + * + * @struct: + * TT_SBit_LineMetricsRec + * + * @description: + * A structure used to describe the text line metrics of a given bitmap + * strike, for either a horizontal or vertical layout. + * + * @fields: + * ascender :: + * The ascender in pixels. + * + * descender :: + * The descender in pixels. + * + * max_width :: + * The maximum glyph width in pixels. + * + * caret_slope_enumerator :: + * Rise of the caret slope, typically set to 1 for non-italic fonts. + * + * caret_slope_denominator :: + * Rise of the caret slope, typically set to 0 for non-italic fonts. + * + * caret_offset :: + * Offset in pixels to move the caret for proper positioning. + * + * min_origin_SB :: + * Minimum of horiBearingX (resp. vertBearingY). + * min_advance_SB :: + * Minimum of + * + * horizontal advance - ( horiBearingX + width ) + * + * resp. + * + * vertical advance - ( vertBearingY + height ) + * + * max_before_BL :: + * Maximum of horiBearingY (resp. vertBearingY). + * + * min_after_BL :: + * Minimum of + * + * horiBearingY - height + * + * resp. + * + * vertBearingX - width + * + * pads :: + * Unused (to make the size of the record a multiple of 32 bits. + */ + typedef struct TT_SBit_LineMetricsRec_ + { + FT_Char ascender; + FT_Char descender; + FT_Byte max_width; + FT_Char caret_slope_numerator; + FT_Char caret_slope_denominator; + FT_Char caret_offset; + FT_Char min_origin_SB; + FT_Char min_advance_SB; + FT_Char max_before_BL; + FT_Char min_after_BL; + FT_Char pads[2]; + + } TT_SBit_LineMetricsRec, *TT_SBit_LineMetrics; + + + /************************************************************************** + * + * @struct: + * TT_SBit_RangeRec + * + * @description: + * A TrueType/OpenType subIndexTable as defined in the 'EBLC' (Microsoft) + * or 'bloc' (Apple) tables. + * + * @fields: + * first_glyph :: + * The first glyph index in the range. + * + * last_glyph :: + * The last glyph index in the range. + * + * index_format :: + * The format of index table. Valid values are 1 to 5. + * + * image_format :: + * The format of 'EBDT' image data. + * + * image_offset :: + * The offset to image data in 'EBDT'. + * + * image_size :: + * For index formats 2 and 5. This is the size in bytes of each glyph + * bitmap. + * + * big_metrics :: + * For index formats 2 and 5. This is the big metrics for each glyph + * bitmap. + * + * num_glyphs :: + * For index formats 4 and 5. This is the number of glyphs in the code + * array. + * + * glyph_offsets :: + * For index formats 1 and 3. + * + * glyph_codes :: + * For index formats 4 and 5. + * + * table_offset :: + * The offset of the index table in the 'EBLC' table. Only used during + * strike loading. + */ + typedef struct TT_SBit_RangeRec_ + { + FT_UShort first_glyph; + FT_UShort last_glyph; + + FT_UShort index_format; + FT_UShort image_format; + FT_ULong image_offset; + + FT_ULong image_size; + TT_SBit_MetricsRec metrics; + FT_ULong num_glyphs; + + FT_ULong* glyph_offsets; + FT_UShort* glyph_codes; + + FT_ULong table_offset; + + } TT_SBit_RangeRec, *TT_SBit_Range; + + + /************************************************************************** + * + * @struct: + * TT_SBit_StrikeRec + * + * @description: + * A structure used describe a given bitmap strike in the 'EBLC' + * (Microsoft) or 'bloc' (Apple) tables. + * + * @fields: + * num_index_ranges :: + * The number of index ranges. + * + * index_ranges :: + * An array of glyph index ranges. + * + * color_ref :: + * Unused. `color_ref` is put in for future enhancements, but these + * fields are already in use by other platforms (e.g. Newton). For + * details, please see + * + * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bloc.html + * + * hori :: + * The line metrics for horizontal layouts. + * + * vert :: + * The line metrics for vertical layouts. + * + * start_glyph :: + * The lowest glyph index for this strike. + * + * end_glyph :: + * The highest glyph index for this strike. + * + * x_ppem :: + * The number of horizontal pixels per EM. + * + * y_ppem :: + * The number of vertical pixels per EM. + * + * bit_depth :: + * The bit depth. Valid values are 1, 2, 4, and 8. + * + * flags :: + * Is this a vertical or horizontal strike? For details, please see + * + * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bloc.html + */ + typedef struct TT_SBit_StrikeRec_ + { + FT_Int num_ranges; + TT_SBit_Range sbit_ranges; + FT_ULong ranges_offset; + + FT_ULong color_ref; + + TT_SBit_LineMetricsRec hori; + TT_SBit_LineMetricsRec vert; + + FT_UShort start_glyph; + FT_UShort end_glyph; + + FT_Byte x_ppem; + FT_Byte y_ppem; + + FT_Byte bit_depth; + FT_Char flags; + + } TT_SBit_StrikeRec, *TT_SBit_Strike; + + + /************************************************************************** + * + * @struct: + * TT_SBit_ComponentRec + * + * @description: + * A simple structure to describe a compound sbit element. + * + * @fields: + * glyph_code :: + * The element's glyph index. + * + * x_offset :: + * The element's left bearing. + * + * y_offset :: + * The element's top bearing. + */ + typedef struct TT_SBit_ComponentRec_ + { + FT_UShort glyph_code; + FT_Char x_offset; + FT_Char y_offset; + + } TT_SBit_ComponentRec, *TT_SBit_Component; + + + /************************************************************************** + * + * @struct: + * TT_SBit_ScaleRec + * + * @description: + * A structure used describe a given bitmap scaling table, as defined in + * the 'EBSC' table. + * + * @fields: + * hori :: + * The horizontal line metrics. + * + * vert :: + * The vertical line metrics. + * + * x_ppem :: + * The number of horizontal pixels per EM. + * + * y_ppem :: + * The number of vertical pixels per EM. + * + * x_ppem_substitute :: + * Substitution x_ppem value. + * + * y_ppem_substitute :: + * Substitution y_ppem value. + */ + typedef struct TT_SBit_ScaleRec_ + { + TT_SBit_LineMetricsRec hori; + TT_SBit_LineMetricsRec vert; + + FT_Byte x_ppem; + FT_Byte y_ppem; + + FT_Byte x_ppem_substitute; + FT_Byte y_ppem_substitute; + + } TT_SBit_ScaleRec, *TT_SBit_Scale; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** POSTSCRIPT GLYPH NAMES SUPPORT ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * @struct: + * TT_Post_NamesRec + * + * @description: + * Postscript names table, either format 2.0 or 2.5. + * + * @fields: + * loaded :: + * A flag to indicate whether the PS names are loaded. + * + * num_glyphs :: + * The number of named glyphs in the table. + * + * num_names :: + * The number of PS names stored in the table. + * + * glyph_indices :: + * The indices of the glyphs in the names arrays. + * + * glyph_names :: + * The PS names not in Mac Encoding. + */ + typedef struct TT_Post_NamesRec_ + { + FT_Bool loaded; + FT_UShort num_glyphs; + FT_UShort num_names; + FT_UShort* glyph_indices; + FT_Byte** glyph_names; + + } TT_Post_NamesRec, *TT_Post_Names; + + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** GX VARIATION TABLE SUPPORT ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT + typedef struct GX_BlendRec_ *GX_Blend; +#endif + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** EMBEDDED BDF PROPERTIES TABLE SUPPORT ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + /* + * These types are used to support a `BDF ' table that isn't part of the + * official TrueType specification. It is mainly used in SFNT-based bitmap + * fonts that were generated from a set of BDF fonts. + * + * The format of the table is as follows. + * + * USHORT version `BDF ' table version number, should be 0x0001. USHORT + * strikeCount Number of strikes (bitmap sizes) in this table. ULONG + * stringTable Offset (from start of BDF table) to string + * table. + * + * This is followed by an array of `strikeCount' descriptors, having the + * following format. + * + * USHORT ppem Vertical pixels per EM for this strike. USHORT numItems + * Number of items for this strike (properties and + * atoms). Maximum is 255. + * + * This array in turn is followed by `strikeCount' value sets. Each `value + * set' is an array of `numItems' items with the following format. + * + * ULONG item_name Offset in string table to item name. + * USHORT item_type The item type. Possible values are + * 0 => string (e.g., COMMENT) + * 1 => atom (e.g., FONT or even SIZE) + * 2 => int32 + * 3 => uint32 + * 0x10 => A flag to indicate a properties. This + * is ORed with the above values. + * ULONG item_value For strings => Offset into string table without + * the corresponding double quotes. + * For atoms => Offset into string table. + * For integers => Direct value. + * + * All strings in the string table consist of bytes and are + * zero-terminated. + * + */ + +#ifdef TT_CONFIG_OPTION_BDF + + typedef struct TT_BDFRec_ + { + FT_Byte* table; + FT_Byte* table_end; + FT_Byte* strings; + FT_ULong strings_size; + FT_UInt num_strikes; + FT_Bool loaded; + + } TT_BDFRec, *TT_BDF; + +#endif /* TT_CONFIG_OPTION_BDF */ + + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + /*** ***/ + /*** ***/ + /*** ORIGINAL TT_FACE CLASS DEFINITION ***/ + /*** ***/ + /*** ***/ + /*************************************************************************/ + /*************************************************************************/ + /*************************************************************************/ + + + /************************************************************************** + * + * This structure/class is defined here because it is common to the + * following formats: TTF, OpenType-TT, and OpenType-CFF. + * + * Note, however, that the classes TT_Size and TT_GlyphSlot are not shared + * between font drivers, and are thus defined in `ttobjs.h`. + * + */ + + + /************************************************************************** + * + * @type: + * TT_Face + * + * @description: + * A handle to a TrueType face/font object. A TT_Face encapsulates the + * resolution and scaling independent parts of a TrueType font resource. + * + * @note: + * The TT_Face structure is also used as a 'parent class' for the + * OpenType-CFF class (T2_Face). + */ + typedef struct TT_FaceRec_* TT_Face; + + + /* a function type used for the truetype bytecode interpreter hooks */ + typedef FT_Error + (*TT_Interpreter)( void* exec_context ); + + /* forward declaration */ + typedef struct TT_LoaderRec_* TT_Loader; + + + /************************************************************************** + * + * @functype: + * TT_Loader_GotoTableFunc + * + * @description: + * Seeks a stream to the start of a given TrueType table. + * + * @input: + * face :: + * A handle to the target face object. + * + * tag :: + * A 4-byte tag used to name the table. + * + * stream :: + * The input stream. + * + * @output: + * length :: + * The length of the table in bytes. Set to 0 if not needed. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * The stream cursor must be at the font file's origin. + */ + typedef FT_Error + (*TT_Loader_GotoTableFunc)( TT_Face face, + FT_ULong tag, + FT_Stream stream, + FT_ULong* length ); + + + /************************************************************************** + * + * @functype: + * TT_Loader_StartGlyphFunc + * + * @description: + * Seeks a stream to the start of a given glyph element, and opens a + * frame for it. + * + * @input: + * loader :: + * The current TrueType glyph loader object. + * + * glyph index :: The index of the glyph to access. + * + * offset :: + * The offset of the glyph according to the 'locations' table. + * + * byte_count :: + * The size of the frame in bytes. + * + * @return: + * FreeType error code. 0 means success. + * + * @note: + * This function is normally equivalent to FT_STREAM_SEEK(offset) + * followed by FT_FRAME_ENTER(byte_count) with the loader's stream, but + * alternative formats (e.g. compressed ones) might use something + * different. + */ + typedef FT_Error + (*TT_Loader_StartGlyphFunc)( TT_Loader loader, + FT_UInt glyph_index, + FT_ULong offset, + FT_UInt byte_count ); + + + /************************************************************************** + * + * @functype: + * TT_Loader_ReadGlyphFunc + * + * @description: + * Reads one glyph element (its header, a simple glyph, or a composite) + * from the loader's current stream frame. + * + * @input: + * loader :: + * The current TrueType glyph loader object. + * + * @return: + * FreeType error code. 0 means success. + */ + typedef FT_Error + (*TT_Loader_ReadGlyphFunc)( TT_Loader loader ); + + + /************************************************************************** + * + * @functype: + * TT_Loader_EndGlyphFunc + * + * @description: + * Closes the current loader stream frame for the glyph. + * + * @input: + * loader :: + * The current TrueType glyph loader object. + */ + typedef void + (*TT_Loader_EndGlyphFunc)( TT_Loader loader ); + + + typedef enum TT_SbitTableType_ + { + TT_SBIT_TABLE_TYPE_NONE = 0, + TT_SBIT_TABLE_TYPE_EBLC, /* `EBLC' (Microsoft), */ + /* `bloc' (Apple) */ + TT_SBIT_TABLE_TYPE_CBLC, /* `CBLC' (Google) */ + TT_SBIT_TABLE_TYPE_SBIX, /* `sbix' (Apple) */ + + /* do not remove */ + TT_SBIT_TABLE_TYPE_MAX + + } TT_SbitTableType; + + + /* OpenType 1.8 brings new tables for variation font support; */ + /* to make the old MM and GX fonts still work we need to check */ + /* the presence (and validity) of the functionality provided */ + /* by those tables. The following flag macros are for the */ + /* field `variation_support'. */ + /* */ + /* Note that `fvar' gets checked immediately at font loading, */ + /* while the other features are only loaded if MM support is */ + /* actually requested. */ + + /* FVAR */ +#define TT_FACE_FLAG_VAR_FVAR ( 1 << 0 ) + + /* HVAR */ +#define TT_FACE_FLAG_VAR_HADVANCE ( 1 << 1 ) +#define TT_FACE_FLAG_VAR_LSB ( 1 << 2 ) +#define TT_FACE_FLAG_VAR_RSB ( 1 << 3 ) + + /* VVAR */ +#define TT_FACE_FLAG_VAR_VADVANCE ( 1 << 4 ) +#define TT_FACE_FLAG_VAR_TSB ( 1 << 5 ) +#define TT_FACE_FLAG_VAR_BSB ( 1 << 6 ) +#define TT_FACE_FLAG_VAR_VORG ( 1 << 7 ) + + /* MVAR */ +#define TT_FACE_FLAG_VAR_MVAR ( 1 << 8 ) + + + /************************************************************************** + * + * TrueType Face Type + * + * @struct: + * TT_Face + * + * @description: + * The TrueType face class. These objects model the resolution and + * point-size independent data found in a TrueType font file. + * + * @fields: + * root :: + * The base FT_Face structure, managed by the base layer. + * + * ttc_header :: + * The TrueType collection header, used when the file is a 'ttc' rather + * than a 'ttf'. For ordinary font files, the field `ttc_header.count` + * is set to 0. + * + * format_tag :: + * The font format tag. + * + * num_tables :: + * The number of TrueType tables in this font file. + * + * dir_tables :: + * The directory of TrueType tables for this font file. + * + * header :: + * The font's font header ('head' table). Read on font opening. + * + * horizontal :: + * The font's horizontal header ('hhea' table). This field also + * contains the associated horizontal metrics table ('hmtx'). + * + * max_profile :: + * The font's maximum profile table. Read on font opening. Note that + * some maximum values cannot be taken directly from this table. We + * thus define additional fields below to hold the computed maxima. + * + * vertical_info :: + * A boolean which is set when the font file contains vertical metrics. + * If not, the value of the 'vertical' field is undefined. + * + * vertical :: + * The font's vertical header ('vhea' table). This field also contains + * the associated vertical metrics table ('vmtx'), if found. + * IMPORTANT: The contents of this field is undefined if the + * `vertical_info` field is unset. + * + * num_names :: + * The number of name records within this TrueType font. + * + * name_table :: + * The table of name records ('name'). + * + * os2 :: + * The font's OS/2 table ('OS/2'). + * + * postscript :: + * The font's PostScript table ('post' table). The PostScript glyph + * names are not loaded by the driver on face opening. See the + * 'ttpost' module for more details. + * + * cmap_table :: + * Address of the face's 'cmap' SFNT table in memory (it's an extracted + * frame). + * + * cmap_size :: + * The size in bytes of the `cmap_table` described above. + * + * goto_table :: + * A function called by each TrueType table loader to position a + * stream's cursor to the start of a given table according to its tag. + * It defaults to TT_Goto_Face but can be different for strange formats + * (e.g. Type 42). + * + * access_glyph_frame :: + * A function used to access the frame of a given glyph within the + * face's font file. + * + * forget_glyph_frame :: + * A function used to forget the frame of a given glyph when all data + * has been loaded. + * + * read_glyph_header :: + * A function used to read a glyph header. It must be called between + * an 'access' and 'forget'. + * + * read_simple_glyph :: + * A function used to read a simple glyph. It must be called after the + * header was read, and before the 'forget'. + * + * read_composite_glyph :: + * A function used to read a composite glyph. It must be called after + * the header was read, and before the 'forget'. + * + * sfnt :: + * A pointer to the SFNT service. + * + * psnames :: + * A pointer to the PostScript names service. + * + * mm :: + * A pointer to the Multiple Masters service. + * + * tt_var :: + * A pointer to the Metrics Variations service for the "truetype" + * driver. + * + * face_var :: + * A pointer to the Metrics Variations service for this `TT_Face`'s + * driver. + * + * psaux :: + * A pointer to the PostScript Auxiliary service. + * + * gasp :: + * The grid-fitting and scaling properties table ('gasp'). This table + * is optional in TrueType/OpenType fonts. + * + * pclt :: + * The 'pclt' SFNT table. + * + * num_sbit_scales :: + * The number of sbit scales for this font. + * + * sbit_scales :: + * Array of sbit scales embedded in this font. This table is optional + * in a TrueType/OpenType font. + * + * postscript_names :: + * A table used to store the Postscript names of the glyphs for this + * font. See the file `ttconfig.h` for comments on the + * TT_CONFIG_OPTION_POSTSCRIPT_NAMES option. + * + * palette_data :: + * Some fields from the 'CPAL' table that are directly indexed. + * + * palette_index :: + * The current palette index, as set by @FT_Palette_Select. + * + * palette :: + * An array containing the current palette's colors. + * + * have_foreground_color :: + * There was a call to @FT_Palette_Set_Foreground_Color. + * + * foreground_color :: + * The current foreground color corresponding to 'CPAL' color index + * 0xFFFF. Only valid if `have_foreground_color` is set. + * + * font_program_size :: + * Size in bytecodes of the face's font program. 0 if none defined. + * Ignored for Type 2 fonts. + * + * font_program :: + * The face's font program (bytecode stream) executed at load time, + * also used during glyph rendering. Comes from the 'fpgm' table. + * Ignored for Type 2 font fonts. + * + * cvt_program_size :: + * The size in bytecodes of the face's cvt program. Ignored for Type 2 + * fonts. + * + * cvt_program :: + * The face's cvt program (bytecode stream) executed each time an + * instance/size is changed/reset. Comes from the 'prep' table. + * Ignored for Type 2 fonts. + * + * cvt_size :: + * Size of the control value table (in entries). Ignored for Type 2 + * fonts. + * + * cvt :: + * The face's original control value table. Coordinates are expressed + * in unscaled font units (in 26.6 format). Comes from the 'cvt~' + * table. Ignored for Type 2 fonts. + * + * If varied by the `CVAR' table, non-integer values are possible. + * + * interpreter :: + * A pointer to the TrueType bytecode interpreters field is also used + * to hook the debugger in 'ttdebug'. + * + * extra :: + * Reserved for third-party font drivers. + * + * postscript_name :: + * The PS name of the font. Used by the postscript name service. + * + * glyf_len :: + * The length of the 'glyf' table. Needed for malformed 'loca' tables. + * + * glyf_offset :: + * The file offset of the 'glyf' table. + * + * is_cff2 :: + * Set if the font format is CFF2. + * + * doblend :: + * A boolean which is set if the font should be blended (this is for GX + * var). + * + * blend :: + * Contains the data needed to control GX variation tables (rather like + * Multiple Master data). + * + * variation_support :: + * Flags that indicate which OpenType functionality related to font + * variation support is present, valid, and usable. For example, + * TT_FACE_FLAG_VAR_FVAR is only set if we have at least one design + * axis. + * + * var_postscript_prefix :: + * The PostScript name prefix needed for constructing a variation font + * instance's PS name . + * + * var_postscript_prefix_len :: + * The length of the `var_postscript_prefix` string. + * + * var_default_named_instance :: + * The index of the default named instance. + * + * non_var_style_name :: + * The non-variation style name, used as a backup. + * + * horz_metrics_size :: + * The size of the 'hmtx' table. + * + * vert_metrics_size :: + * The size of the 'vmtx' table. + * + * num_locations :: + * The number of glyph locations in this TrueType file. This should be + * one more than the number of glyphs. Ignored for Type 2 fonts. + * + * glyph_locations :: + * An array of longs. These are offsets to glyph data within the + * 'glyf' table. Ignored for Type 2 font faces. + * + * hdmx_table :: + * A pointer to the 'hdmx' table. + * + * hdmx_table_size :: + * The size of the 'hdmx' table. + * + * hdmx_record_count :: + * The number of hdmx records. + * + * hdmx_record_size :: + * The size of a single hdmx record. + * + * hdmx_records :: + * A array of pointers to the 'hdmx' table records sorted by ppem. + * + * sbit_table :: + * A pointer to the font's embedded bitmap location table. + * + * sbit_table_size :: + * The size of `sbit_table`. + * + * sbit_table_type :: + * The sbit table type (CBLC, sbix, etc.). + * + * sbit_num_strikes :: + * The number of sbit strikes exposed by FreeType's API, omitting + * invalid strikes. + * + * sbit_strike_map :: + * A mapping between the strike indices exposed by the API and the + * indices used in the font's sbit table. + * + * kern_table :: + * A pointer to the 'kern' table. + * + * kern_table_size :: + * The size of the 'kern' table. + * + * num_kern_tables :: + * The number of supported kern subtables (up to 32; FreeType + * recognizes only horizontal ones with format 0). + * + * kern_avail_bits :: + * The availability status of kern subtables; if bit n is set, table n + * is available. + * + * kern_order_bits :: + * The sortedness status of kern subtables; if bit n is set, table n is + * sorted. + * + * bdf :: + * Data related to an SFNT font's 'bdf' table; see `tttypes.h`. + * + * horz_metrics_offset :: + * The file offset of the 'hmtx' table. + * + * vert_metrics_offset :: + * The file offset of the 'vmtx' table. + * + * sph_found_func_flags :: + * Flags identifying special bytecode functions (used by the v38 + * implementation of the bytecode interpreter). + * + * sph_compatibility_mode :: + * This flag is set if we are in ClearType backward compatibility mode + * (used by the v38 implementation of the bytecode interpreter). + * + * ebdt_start :: + * The file offset of the sbit data table (CBDT, bdat, etc.). + * + * ebdt_size :: + * The size of the sbit data table. + * + * cpal :: + * A pointer to data related to the 'CPAL' table. `NULL` if the table + * is not available. + * + * colr :: + * A pointer to data related to the 'COLR' table. `NULL` if the table + * is not available. + * + * svg :: + * A pointer to data related to the 'SVG' table. `NULL` if the table + * is not available. + */ + typedef struct TT_FaceRec_ + { + FT_FaceRec root; + + TTC_HeaderRec ttc_header; + + FT_ULong format_tag; + FT_UShort num_tables; + TT_Table dir_tables; + + TT_Header header; /* TrueType header table */ + TT_HoriHeader horizontal; /* TrueType horizontal header */ + + TT_MaxProfile max_profile; + + FT_Bool vertical_info; + TT_VertHeader vertical; /* TT Vertical header, if present */ + + FT_UShort num_names; /* number of name records */ + TT_NameTableRec name_table; /* name table */ + + TT_OS2 os2; /* TrueType OS/2 table */ + TT_Postscript postscript; /* TrueType Postscript table */ + + FT_Byte* cmap_table; /* extracted `cmap' table */ + FT_ULong cmap_size; + + TT_Loader_GotoTableFunc goto_table; + + TT_Loader_StartGlyphFunc access_glyph_frame; + TT_Loader_EndGlyphFunc forget_glyph_frame; + TT_Loader_ReadGlyphFunc read_glyph_header; + TT_Loader_ReadGlyphFunc read_simple_glyph; + TT_Loader_ReadGlyphFunc read_composite_glyph; + + /* a typeless pointer to the SFNT_Interface table used to load */ + /* the basic TrueType tables in the face object */ + void* sfnt; + + /* a typeless pointer to the FT_Service_PsCMapsRec table used to */ + /* handle glyph names <-> unicode & Mac values */ + void* psnames; + +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT + /* a typeless pointer to the FT_Service_MultiMasters table used to */ + /* handle variation fonts */ + void* mm; + + /* a typeless pointer to the FT_Service_MetricsVariationsRec table */ + /* used to handle the HVAR, VVAR, and MVAR OpenType tables by the */ + /* "truetype" driver */ + void* tt_var; + + /* a typeless pointer to the FT_Service_MetricsVariationsRec table */ + /* used to handle the HVAR, VVAR, and MVAR OpenType tables by this */ + /* TT_Face's driver */ + void* face_var; /* since 2.13.1 */ +#endif + + /* a typeless pointer to the PostScript Aux service */ + void* psaux; + + + /************************************************************************ + * + * Optional TrueType/OpenType tables + * + */ + + /* grid-fitting and scaling table */ + TT_GaspRec gasp; /* the `gasp' table */ + + /* PCL 5 table */ + TT_PCLT pclt; + + /* embedded bitmaps support */ + FT_ULong num_sbit_scales; + TT_SBit_Scale sbit_scales; + + /* postscript names table */ + TT_Post_NamesRec postscript_names; + + /* glyph colors */ + FT_Palette_Data palette_data; /* since 2.10 */ + FT_UShort palette_index; + FT_Color* palette; + FT_Bool have_foreground_color; + FT_Color foreground_color; + + + /************************************************************************ + * + * TrueType-specific fields (ignored by the CFF driver) + * + */ + + /* the font program, if any */ + FT_ULong font_program_size; + FT_Byte* font_program; + + /* the cvt program, if any */ + FT_ULong cvt_program_size; + FT_Byte* cvt_program; + + /* the original, unscaled, control value table */ + FT_ULong cvt_size; + FT_Int32* cvt; + + /* A pointer to the bytecode interpreter to use. This is also */ + /* used to hook the debugger for the `ttdebug' utility. */ + TT_Interpreter interpreter; + + + /************************************************************************ + * + * Other tables or fields. This is used by derivative formats like + * OpenType. + * + */ + + FT_Generic extra; + + const char* postscript_name; + + FT_ULong glyf_len; + FT_ULong glyf_offset; /* since 2.7.1 */ + + FT_Bool is_cff2; /* since 2.7.1 */ + +#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT + FT_Bool doblend; + GX_Blend blend; + + FT_UInt32 variation_support; /* since 2.7.1 */ + + const char* var_postscript_prefix; /* since 2.7.2 */ + FT_UInt var_postscript_prefix_len; /* since 2.7.2 */ + + FT_UInt var_default_named_instance; /* since 2.13.1 */ + + const char* non_var_style_name; /* since 2.13.1 */ +#endif + + /* since version 2.2 */ + + FT_ULong horz_metrics_size; + FT_ULong vert_metrics_size; + + FT_ULong num_locations; /* up to 0xFFFF + 1 */ + FT_Byte* glyph_locations; + + FT_Byte* hdmx_table; + FT_ULong hdmx_table_size; + FT_UInt hdmx_record_count; + FT_ULong hdmx_record_size; + FT_Byte** hdmx_records; + + FT_Byte* sbit_table; + FT_ULong sbit_table_size; + TT_SbitTableType sbit_table_type; + FT_UInt sbit_num_strikes; + FT_UInt* sbit_strike_map; + + FT_Byte* kern_table; + FT_ULong kern_table_size; + FT_UInt num_kern_tables; + FT_UInt32 kern_avail_bits; + FT_UInt32 kern_order_bits; + +#ifdef TT_CONFIG_OPTION_BDF + TT_BDFRec bdf; +#endif /* TT_CONFIG_OPTION_BDF */ + + /* since 2.3.0 */ + FT_ULong horz_metrics_offset; + FT_ULong vert_metrics_offset; + +#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY + /* since 2.4.12 */ + FT_ULong sph_found_func_flags; /* special functions found */ + /* for this face */ + FT_Bool sph_compatibility_mode; +#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */ + +#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS + /* since 2.7 */ + FT_ULong ebdt_start; /* either `CBDT', `EBDT', or `bdat' */ + FT_ULong ebdt_size; +#endif + + /* since 2.10 */ + void* cpal; + void* colr; + + /* since 2.12 */ + void* svg; + + } TT_FaceRec; + + + /************************************************************************** + * + * @struct: + * TT_GlyphZoneRec + * + * @description: + * A glyph zone is used to load, scale and hint glyph outline + * coordinates. + * + * @fields: + * memory :: + * A handle to the memory manager. + * + * max_points :: + * The maximum size in points of the zone. + * + * max_contours :: + * Max size in links contours of the zone. + * + * n_points :: + * The current number of points in the zone. + * + * n_contours :: + * The current number of contours in the zone. + * + * org :: + * The original glyph coordinates (font units/scaled). + * + * cur :: + * The current glyph coordinates (scaled/hinted). + * + * tags :: + * The point control tags. + * + * contours :: + * The contours end points. + * + * first_point :: + * Offset of the current subglyph's first point. + */ + typedef struct TT_GlyphZoneRec_ + { + FT_Memory memory; + FT_UShort max_points; + FT_Short max_contours; + FT_UShort n_points; /* number of points in zone */ + FT_Short n_contours; /* number of contours */ + + FT_Vector* org; /* original point coordinates */ + FT_Vector* cur; /* current point coordinates */ + FT_Vector* orus; /* original (unscaled) point coordinates */ + + FT_Byte* tags; /* current touch flags */ + FT_UShort* contours; /* contour end points */ + + FT_UShort first_point; /* offset of first (#0) point */ + + } TT_GlyphZoneRec, *TT_GlyphZone; + + + /* handle to execution context */ + typedef struct TT_ExecContextRec_* TT_ExecContext; + + + /************************************************************************** + * + * @type: + * TT_Size + * + * @description: + * A handle to a TrueType size object. + */ + typedef struct TT_SizeRec_* TT_Size; + + + /* glyph loader structure */ + typedef struct TT_LoaderRec_ + { + TT_Face face; + TT_Size size; + FT_GlyphSlot glyph; + FT_GlyphLoader gloader; + + FT_ULong load_flags; + FT_UInt glyph_index; + + FT_Stream stream; + FT_UInt byte_len; + + FT_Short n_contours; + FT_BBox bbox; + FT_Int left_bearing; + FT_Int advance; + FT_Int linear; + FT_Bool linear_def; + FT_Vector pp1; + FT_Vector pp2; + + /* the zone where we load our glyphs */ + TT_GlyphZoneRec base; + TT_GlyphZoneRec zone; + + TT_ExecContext exec; + FT_Byte* instructions; + FT_ULong ins_pos; + + /* for possible extensibility in other formats */ + void* other; + + /* since version 2.1.8 */ + FT_Int top_bearing; + FT_Int vadvance; + FT_Vector pp3; + FT_Vector pp4; + + /* since version 2.2.1 */ + FT_Byte* cursor; + FT_Byte* limit; + + /* since version 2.6.2 */ + FT_ListRec composites; + + /* since version 2.11.2 */ + FT_Byte* widthp; + + } TT_LoaderRec; + + +FT_END_HEADER + +#endif /* TTTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/wofftypes.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/wofftypes.h new file mode 100644 index 0000000..0c1d8ee --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/internal/wofftypes.h @@ -0,0 +1,312 @@ +/**************************************************************************** + * + * wofftypes.h + * + * Basic WOFF/WOFF2 type definitions and interface (specification + * only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef WOFFTYPES_H_ +#define WOFFTYPES_H_ + + +#include +#include + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @struct: + * WOFF_HeaderRec + * + * @description: + * WOFF file format header. + * + * @fields: + * See + * + * https://www.w3.org/TR/WOFF/#WOFFHeader + */ + typedef struct WOFF_HeaderRec_ + { + FT_ULong signature; + FT_ULong flavor; + FT_ULong length; + FT_UShort num_tables; + FT_UShort reserved; + FT_ULong totalSfntSize; + FT_UShort majorVersion; + FT_UShort minorVersion; + FT_ULong metaOffset; + FT_ULong metaLength; + FT_ULong metaOrigLength; + FT_ULong privOffset; + FT_ULong privLength; + + } WOFF_HeaderRec, *WOFF_Header; + + + /************************************************************************** + * + * @struct: + * WOFF_TableRec + * + * @description: + * This structure describes a given table of a WOFF font. + * + * @fields: + * Tag :: + * A four-bytes tag describing the table. + * + * Offset :: + * The offset of the table from the start of the WOFF font in its + * resource. + * + * CompLength :: + * Compressed table length (in bytes). + * + * OrigLength :: + * Uncompressed table length (in bytes). + * + * CheckSum :: + * The table checksum. This value can be ignored. + * + * OrigOffset :: + * The uncompressed table file offset. This value gets computed while + * constructing the (uncompressed) SFNT header. It is not contained in + * the WOFF file. + */ + typedef struct WOFF_TableRec_ + { + FT_Tag Tag; /* table ID */ + FT_ULong Offset; /* table file offset */ + FT_ULong CompLength; /* compressed table length */ + FT_ULong OrigLength; /* uncompressed table length */ + FT_ULong CheckSum; /* uncompressed checksum */ + + FT_ULong OrigOffset; /* uncompressed table file offset */ + /* (not in the WOFF file) */ + } WOFF_TableRec, *WOFF_Table; + + + /************************************************************************** + * + * @struct: + * WOFF2_TtcFontRec + * + * @description: + * Metadata for a TTC font entry in WOFF2. + * + * @fields: + * flavor :: + * TTC font flavor. + * + * num_tables :: + * Number of tables in TTC, indicating number of elements in + * `table_indices`. + * + * table_indices :: + * Array of table indices for each TTC font. + */ + typedef struct WOFF2_TtcFontRec_ + { + FT_ULong flavor; + FT_UShort num_tables; + FT_UShort* table_indices; + + } WOFF2_TtcFontRec, *WOFF2_TtcFont; + + + /************************************************************************** + * + * @struct: + * WOFF2_HeaderRec + * + * @description: + * WOFF2 file format header. + * + * @fields: + * See + * + * https://www.w3.org/TR/WOFF2/#woff20Header + * + * @note: + * We don't care about the fields `reserved`, `majorVersion` and + * `minorVersion`, so they are not included. The `totalSfntSize` field + * does not necessarily represent the actual size of the uncompressed + * SFNT font stream, so that is used as a reference value instead. + */ + typedef struct WOFF2_HeaderRec_ + { + FT_ULong signature; + FT_ULong flavor; + FT_ULong length; + FT_UShort num_tables; + FT_ULong totalSfntSize; + FT_ULong totalCompressedSize; + FT_ULong metaOffset; + FT_ULong metaLength; + FT_ULong metaOrigLength; + FT_ULong privOffset; + FT_ULong privLength; + + FT_ULong uncompressed_size; /* uncompressed brotli stream size */ + FT_ULong compressed_offset; /* compressed stream offset */ + FT_ULong header_version; /* version of original TTC Header */ + FT_UShort num_fonts; /* number of fonts in TTC */ + FT_ULong actual_sfnt_size; /* actual size of sfnt stream */ + + WOFF2_TtcFont ttc_fonts; /* metadata for fonts in a TTC */ + + } WOFF2_HeaderRec, *WOFF2_Header; + + + /************************************************************************** + * + * @struct: + * WOFF2_TableRec + * + * @description: + * This structure describes a given table of a WOFF2 font. + * + * @fields: + * See + * + * https://www.w3.org/TR/WOFF2/#table_dir_format + */ + typedef struct WOFF2_TableRec_ + { + FT_Byte FlagByte; /* table type and flags */ + FT_Tag Tag; /* table file offset */ + FT_ULong dst_length; /* uncompressed table length */ + FT_ULong TransformLength; /* transformed length */ + + FT_ULong flags; /* calculated flags */ + FT_ULong src_offset; /* compressed table offset */ + FT_ULong src_length; /* compressed table length */ + FT_ULong dst_offset; /* uncompressed table offset */ + + } WOFF2_TableRec, *WOFF2_Table; + + + /************************************************************************** + * + * @struct: + * WOFF2_InfoRec + * + * @description: + * Metadata for WOFF2 font that may be required for reconstruction of + * sfnt tables. + * + * @fields: + * header_checksum :: + * Checksum of SFNT offset table. + * + * num_glyphs :: + * Number of glyphs in the font. + * + * num_hmetrics :: + * `numberOfHMetrics` field in the 'hhea' table. + * + * x_mins :: + * `xMin` values of glyph bounding box. + * + * glyf_table :: + * A pointer to the `glyf' table record. + * + * loca_table :: + * A pointer to the `loca' table record. + * + * head_table :: + * A pointer to the `head' table record. + */ + typedef struct WOFF2_InfoRec_ + { + FT_ULong header_checksum; + FT_UShort num_glyphs; + FT_UShort num_hmetrics; + FT_Short* x_mins; + + WOFF2_Table glyf_table; + WOFF2_Table loca_table; + WOFF2_Table head_table; + + } WOFF2_InfoRec, *WOFF2_Info; + + + /************************************************************************** + * + * @struct: + * WOFF2_SubstreamRec + * + * @description: + * This structure stores information about a substream in the transformed + * 'glyf' table in a WOFF2 stream. + * + * @fields: + * start :: + * Beginning of the substream relative to uncompressed table stream. + * + * offset :: + * Offset of the substream relative to uncompressed table stream. + * + * size :: + * Size of the substream. + */ + typedef struct WOFF2_SubstreamRec_ + { + FT_ULong start; + FT_ULong offset; + FT_ULong size; + + } WOFF2_SubstreamRec, *WOFF2_Substream; + + + /************************************************************************** + * + * @struct: + * WOFF2_PointRec + * + * @description: + * This structure stores information about a point in the transformed + * 'glyf' table in a WOFF2 stream. + * + * @fields: + * x :: + * x-coordinate of point. + * + * y :: + * y-coordinate of point. + * + * on_curve :: + * Set if point is on-curve. + */ + typedef struct WOFF2_PointRec_ + { + FT_Int x; + FT_Int y; + FT_Bool on_curve; + + } WOFF2_PointRec, *WOFF2_Point; + + +FT_END_HEADER + +#endif /* WOFFTYPES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/otsvg.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/otsvg.h new file mode 100644 index 0000000..bfe9a6a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/otsvg.h @@ -0,0 +1,336 @@ +/**************************************************************************** + * + * otsvg.h + * + * Interface for OT-SVG support related things (specification). + * + * Copyright (C) 2022-2023 by + * David Turner, Robert Wilhelm, Werner Lemberg, and Moazin Khatti. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef OTSVG_H_ +#define OTSVG_H_ + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * svg_fonts + * + * @title: + * OpenType SVG Fonts + * + * @abstract: + * OT-SVG API between FreeType and an external SVG rendering library. + * + * @description: + * This section describes the four hooks necessary to render SVG + * 'documents' that are contained in an OpenType font's 'SVG~' table. + * + * For more information on the implementation, see our standard hooks + * based on 'librsvg' in the [FreeType Demo + * Programs](https://gitlab.freedesktop.org/freetype/freetype-demos) + * repository. + * + */ + + + /************************************************************************** + * + * @functype: + * SVG_Lib_Init_Func + * + * @description: + * A callback that is called when the first OT-SVG glyph is rendered in + * the lifetime of an @FT_Library object. In a typical implementation, + * one would want to allocate a structure and point the `data_pointer` + * to it and perform any library initializations that might be needed. + * + * @inout: + * data_pointer :: + * The SVG rendering module stores a pointer variable that can be used + * by clients to store any data that needs to be shared across + * different hooks. `data_pointer` is essentially a pointer to that + * pointer such that it can be written to as well as read from. + * + * @return: + * FreeType error code. 0 means success. + * + * @since: + * 2.12 + */ + typedef FT_Error + (*SVG_Lib_Init_Func)( FT_Pointer *data_pointer ); + + + /************************************************************************** + * + * @functype: + * SVG_Lib_Free_Func + * + * @description: + * A callback that is called when the `ot-svg` module is being freed. + * It is only called if the init hook was called earlier. This means + * that neither the init nor the free hook is called if no OT-SVG glyph + * is rendered. + * + * In a typical implementation, one would want to free any state + * structure that was allocated in the init hook and perform any + * library-related closure that might be needed. + * + * @inout: + * data_pointer :: + * The SVG rendering module stores a pointer variable that can be used + * by clients to store any data that needs to be shared across + * different hooks. `data_pointer` is essentially a pointer to that + * pointer such that it can be written to as well as read from. + * + * @since: + * 2.12 + */ + typedef void + (*SVG_Lib_Free_Func)( FT_Pointer *data_pointer ); + + + /************************************************************************** + * + * @functype: + * SVG_Lib_Render_Func + * + * @description: + * A callback that is called to render an OT-SVG glyph. This callback + * hook is called right after the preset hook @SVG_Lib_Preset_Slot_Func + * has been called with `cache` set to `TRUE`. The data necessary to + * render is available through the handle @FT_SVG_Document, which is set + * in the `other` field of @FT_GlyphSlotRec. + * + * The render hook is expected to render the SVG glyph to the bitmap + * buffer that is allocated already at `slot->bitmap.buffer`. It also + * sets the `num_grays` value as well as `slot->format`. + * + * @input: + * slot :: + * The slot to render. + * + * @inout: + * data_pointer :: + * The SVG rendering module stores a pointer variable that can be used + * by clients to store any data that needs to be shared across + * different hooks. `data_pointer` is essentially a pointer to that + * pointer such that it can be written to as well as read from. + * + * @return: + * FreeType error code. 0 means success. + * + * @since: + * 2.12 + */ + typedef FT_Error + (*SVG_Lib_Render_Func)( FT_GlyphSlot slot, + FT_Pointer *data_pointer ); + + + /************************************************************************** + * + * @functype: + * SVG_Lib_Preset_Slot_Func + * + * @description: + * A callback that is called to preset the glyph slot. It is called from + * two places. + * + * 1. When `FT_Load_Glyph` needs to preset the glyph slot. + * + * 2. Right before the `svg` module calls the render callback hook. + * + * When it is the former, the argument `cache` is set to `FALSE`. When + * it is the latter, the argument `cache` is set to `TRUE`. This + * distinction has been made because many calculations that are necessary + * for presetting a glyph slot are the same needed later for the render + * callback hook. Thus, if `cache` is `TRUE`, the hook can _cache_ those + * calculations in a memory block referenced by the state pointer. + * + * This hook is expected to preset the slot by setting parameters such as + * `bitmap_left`, `bitmap_top`, `width`, `rows`, `pitch`, and + * `pixel_mode`. It is also expected to set all the metrics for the slot + * including the vertical advance if it is not already set. Typically, + * fonts have horizontal advances but not vertical ones. If those are + * available, they had already been set, otherwise they have to be + * estimated and set manually. The hook must take into account the + * transformations that have been set, and translate the transformation + * matrices into the SVG coordinate system, as the original matrix is + * intended for the TTF/CFF coordinate system. + * + * @input: + * slot :: + * The glyph slot that has the SVG document loaded. + * + * cache :: + * See description. + * + * @inout: + * data_pointer :: + * The SVG rendering module stores a pointer variable that can be used + * by clients to store any data that needs to be shared across + * different hooks. `data_pointer` is essentially a pointer to that + * pointer such that it can be written to as well as read from. + * + * @return: + * FreeType error code. 0 means success. + * + * @since: + * 2.12 + */ + typedef FT_Error + (*SVG_Lib_Preset_Slot_Func)( FT_GlyphSlot slot, + FT_Bool cache, + FT_Pointer *state ); + + + /************************************************************************** + * + * @struct: + * SVG_RendererHooks + * + * @description: + * A structure that stores the four hooks needed to render OT-SVG glyphs + * properly. The structure is publicly used to set the hooks via the + * @svg-hooks driver property. + * + * The behavior of each hook is described in its documentation. One + * thing to note is that the preset hook and the render hook often need + * to do the same operations; therefore, it's better to cache the + * intermediate data in a state structure to avoid calculating it twice. + * For example, in the preset hook one can draw the glyph on a recorder + * surface and later create a bitmap surface from it in the render hook. + * + * All four hooks must be non-NULL. + * + * @fields: + * init_svg :: + * The initialization hook. + * + * free_svg :: + * The cleanup hook. + * + * render_hook :: + * The render hook. + * + * preset_slot :: + * The preset hook. + * + * @since: + * 2.12 + */ + typedef struct SVG_RendererHooks_ + { + SVG_Lib_Init_Func init_svg; + SVG_Lib_Free_Func free_svg; + SVG_Lib_Render_Func render_svg; + + SVG_Lib_Preset_Slot_Func preset_slot; + + } SVG_RendererHooks; + + + /************************************************************************** + * + * @struct: + * FT_SVG_DocumentRec + * + * @description: + * A structure that models one SVG document. + * + * @fields: + * svg_document :: + * A pointer to the SVG document. + * + * svg_document_length :: + * The length of `svg_document`. + * + * metrics :: + * A metrics object storing the size information. + * + * units_per_EM :: + * The size of the EM square. + * + * start_glyph_id :: + * The first glyph ID in the glyph range covered by this document. + * + * end_glyph_id :: + * The last glyph ID in the glyph range covered by this document. + * + * transform :: + * A 2x2 transformation matrix to apply to the glyph while rendering + * it. + * + * delta :: + * The translation to apply to the glyph while rendering. + * + * @note: + * When an @FT_GlyphSlot object `slot` is passed down to a renderer, the + * renderer can only access the `metrics` and `units_per_EM` fields via + * `slot->face`. However, when @FT_Glyph_To_Bitmap sets up a dummy + * object, it has no way to set a `face` object. Thus, metrics + * information and `units_per_EM` (which is necessary for OT-SVG) has to + * be stored separately. + * + * @since: + * 2.12 + */ + typedef struct FT_SVG_DocumentRec_ + { + FT_Byte* svg_document; + FT_ULong svg_document_length; + + FT_Size_Metrics metrics; + FT_UShort units_per_EM; + + FT_UShort start_glyph_id; + FT_UShort end_glyph_id; + + FT_Matrix transform; + FT_Vector delta; + + } FT_SVG_DocumentRec; + + + /************************************************************************** + * + * @type: + * FT_SVG_Document + * + * @description: + * A handle to an @FT_SVG_DocumentRec object. + * + * @since: + * 2.12 + */ + typedef struct FT_SVG_DocumentRec_* FT_SVG_Document; + + +FT_END_HEADER + +#endif /* OTSVG_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/t1tables.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/t1tables.h new file mode 100644 index 0000000..1aecfbb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/t1tables.h @@ -0,0 +1,793 @@ +/**************************************************************************** + * + * t1tables.h + * + * Basic Type 1/Type 2 tables definitions and interface (specification + * only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef T1TABLES_H_ +#define T1TABLES_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * type1_tables + * + * @title: + * Type 1 Tables + * + * @abstract: + * Type~1-specific font tables. + * + * @description: + * This section contains the definition of Type~1-specific tables, + * including structures related to other PostScript font formats. + * + * @order: + * PS_FontInfoRec + * PS_FontInfo + * PS_PrivateRec + * PS_Private + * + * CID_FaceDictRec + * CID_FaceDict + * CID_FaceInfoRec + * CID_FaceInfo + * + * FT_Has_PS_Glyph_Names + * FT_Get_PS_Font_Info + * FT_Get_PS_Font_Private + * FT_Get_PS_Font_Value + * + * T1_Blend_Flags + * T1_EncodingType + * PS_Dict_Keys + * + */ + + + /* Note that we separate font data in PS_FontInfoRec and PS_PrivateRec */ + /* structures in order to support Multiple Master fonts. */ + + + /************************************************************************** + * + * @struct: + * PS_FontInfoRec + * + * @description: + * A structure used to model a Type~1 or Type~2 FontInfo dictionary. + * Note that for Multiple Master fonts, each instance has its own + * FontInfo dictionary. + */ + typedef struct PS_FontInfoRec_ + { + FT_String* version; + FT_String* notice; + FT_String* full_name; + FT_String* family_name; + FT_String* weight; + FT_Long italic_angle; + FT_Bool is_fixed_pitch; + FT_Short underline_position; + FT_UShort underline_thickness; + + } PS_FontInfoRec; + + + /************************************************************************** + * + * @struct: + * PS_FontInfo + * + * @description: + * A handle to a @PS_FontInfoRec structure. + */ + typedef struct PS_FontInfoRec_* PS_FontInfo; + + + /************************************************************************** + * + * @struct: + * T1_FontInfo + * + * @description: + * This type is equivalent to @PS_FontInfoRec. It is deprecated but kept + * to maintain source compatibility between various versions of FreeType. + */ + typedef PS_FontInfoRec T1_FontInfo; + + + /************************************************************************** + * + * @struct: + * PS_PrivateRec + * + * @description: + * A structure used to model a Type~1 or Type~2 private dictionary. Note + * that for Multiple Master fonts, each instance has its own Private + * dictionary. + */ + typedef struct PS_PrivateRec_ + { + FT_Int unique_id; + FT_Int lenIV; + + FT_Byte num_blue_values; + FT_Byte num_other_blues; + FT_Byte num_family_blues; + FT_Byte num_family_other_blues; + + FT_Short blue_values[14]; + FT_Short other_blues[10]; + + FT_Short family_blues [14]; + FT_Short family_other_blues[10]; + + FT_Fixed blue_scale; + FT_Int blue_shift; + FT_Int blue_fuzz; + + FT_UShort standard_width[1]; + FT_UShort standard_height[1]; + + FT_Byte num_snap_widths; + FT_Byte num_snap_heights; + FT_Bool force_bold; + FT_Bool round_stem_up; + + FT_Short snap_widths [13]; /* including std width */ + FT_Short snap_heights[13]; /* including std height */ + + FT_Fixed expansion_factor; + + FT_Long language_group; + FT_Long password; + + FT_Short min_feature[2]; + + } PS_PrivateRec; + + + /************************************************************************** + * + * @struct: + * PS_Private + * + * @description: + * A handle to a @PS_PrivateRec structure. + */ + typedef struct PS_PrivateRec_* PS_Private; + + + /************************************************************************** + * + * @struct: + * T1_Private + * + * @description: + * This type is equivalent to @PS_PrivateRec. It is deprecated but kept + * to maintain source compatibility between various versions of FreeType. + */ + typedef PS_PrivateRec T1_Private; + + + /************************************************************************** + * + * @enum: + * T1_Blend_Flags + * + * @description: + * A set of flags used to indicate which fields are present in a given + * blend dictionary (font info or private). Used to support Multiple + * Masters fonts. + * + * @values: + * T1_BLEND_UNDERLINE_POSITION :: + * T1_BLEND_UNDERLINE_THICKNESS :: + * T1_BLEND_ITALIC_ANGLE :: + * T1_BLEND_BLUE_VALUES :: + * T1_BLEND_OTHER_BLUES :: + * T1_BLEND_STANDARD_WIDTH :: + * T1_BLEND_STANDARD_HEIGHT :: + * T1_BLEND_STEM_SNAP_WIDTHS :: + * T1_BLEND_STEM_SNAP_HEIGHTS :: + * T1_BLEND_BLUE_SCALE :: + * T1_BLEND_BLUE_SHIFT :: + * T1_BLEND_FAMILY_BLUES :: + * T1_BLEND_FAMILY_OTHER_BLUES :: + * T1_BLEND_FORCE_BOLD :: + */ + typedef enum T1_Blend_Flags_ + { + /* required fields in a FontInfo blend dictionary */ + T1_BLEND_UNDERLINE_POSITION = 0, + T1_BLEND_UNDERLINE_THICKNESS, + T1_BLEND_ITALIC_ANGLE, + + /* required fields in a Private blend dictionary */ + T1_BLEND_BLUE_VALUES, + T1_BLEND_OTHER_BLUES, + T1_BLEND_STANDARD_WIDTH, + T1_BLEND_STANDARD_HEIGHT, + T1_BLEND_STEM_SNAP_WIDTHS, + T1_BLEND_STEM_SNAP_HEIGHTS, + T1_BLEND_BLUE_SCALE, + T1_BLEND_BLUE_SHIFT, + T1_BLEND_FAMILY_BLUES, + T1_BLEND_FAMILY_OTHER_BLUES, + T1_BLEND_FORCE_BOLD, + + T1_BLEND_MAX /* do not remove */ + + } T1_Blend_Flags; + + + /* these constants are deprecated; use the corresponding */ + /* `T1_Blend_Flags` values instead */ +#define t1_blend_underline_position T1_BLEND_UNDERLINE_POSITION +#define t1_blend_underline_thickness T1_BLEND_UNDERLINE_THICKNESS +#define t1_blend_italic_angle T1_BLEND_ITALIC_ANGLE +#define t1_blend_blue_values T1_BLEND_BLUE_VALUES +#define t1_blend_other_blues T1_BLEND_OTHER_BLUES +#define t1_blend_standard_widths T1_BLEND_STANDARD_WIDTH +#define t1_blend_standard_height T1_BLEND_STANDARD_HEIGHT +#define t1_blend_stem_snap_widths T1_BLEND_STEM_SNAP_WIDTHS +#define t1_blend_stem_snap_heights T1_BLEND_STEM_SNAP_HEIGHTS +#define t1_blend_blue_scale T1_BLEND_BLUE_SCALE +#define t1_blend_blue_shift T1_BLEND_BLUE_SHIFT +#define t1_blend_family_blues T1_BLEND_FAMILY_BLUES +#define t1_blend_family_other_blues T1_BLEND_FAMILY_OTHER_BLUES +#define t1_blend_force_bold T1_BLEND_FORCE_BOLD +#define t1_blend_max T1_BLEND_MAX + + /* */ + + + /* maximum number of Multiple Masters designs, as defined in the spec */ +#define T1_MAX_MM_DESIGNS 16 + + /* maximum number of Multiple Masters axes, as defined in the spec */ +#define T1_MAX_MM_AXIS 4 + + /* maximum number of elements in a design map */ +#define T1_MAX_MM_MAP_POINTS 20 + + + /* this structure is used to store the BlendDesignMap entry for an axis */ + typedef struct PS_DesignMap_ + { + FT_Byte num_points; + FT_Long* design_points; + FT_Fixed* blend_points; + + } PS_DesignMapRec, *PS_DesignMap; + + /* backward compatible definition */ + typedef PS_DesignMapRec T1_DesignMap; + + + typedef struct PS_BlendRec_ + { + FT_UInt num_designs; + FT_UInt num_axis; + + FT_String* axis_names[T1_MAX_MM_AXIS]; + FT_Fixed* design_pos[T1_MAX_MM_DESIGNS]; + PS_DesignMapRec design_map[T1_MAX_MM_AXIS]; + + FT_Fixed* weight_vector; + FT_Fixed* default_weight_vector; + + PS_FontInfo font_infos[T1_MAX_MM_DESIGNS + 1]; + PS_Private privates [T1_MAX_MM_DESIGNS + 1]; + + FT_ULong blend_bitflags; + + FT_BBox* bboxes [T1_MAX_MM_DESIGNS + 1]; + + /* since 2.3.0 */ + + /* undocumented, optional: the default design instance; */ + /* corresponds to default_weight_vector -- */ + /* num_default_design_vector == 0 means it is not present */ + /* in the font and associated metrics files */ + FT_UInt default_design_vector[T1_MAX_MM_DESIGNS]; + FT_UInt num_default_design_vector; + + } PS_BlendRec, *PS_Blend; + + + /* backward compatible definition */ + typedef PS_BlendRec T1_Blend; + + + /************************************************************************** + * + * @struct: + * CID_FaceDictRec + * + * @description: + * A structure used to represent data in a CID top-level dictionary. In + * most cases, they are part of the font's '/FDArray' array. Within a + * CID font file, such (internal) subfont dictionaries are enclosed by + * '%ADOBeginFontDict' and '%ADOEndFontDict' comments. + * + * Note that `CID_FaceDictRec` misses a field for the '/FontName' + * keyword, specifying the subfont's name (the top-level font name is + * given by the '/CIDFontName' keyword). This is an oversight, but it + * doesn't limit the 'cid' font module's functionality because FreeType + * neither needs this entry nor gives access to CID subfonts. + */ + typedef struct CID_FaceDictRec_ + { + PS_PrivateRec private_dict; + + FT_UInt len_buildchar; + FT_Fixed forcebold_threshold; + FT_Pos stroke_width; + FT_Fixed expansion_factor; /* this is a duplicate of */ + /* `private_dict->expansion_factor' */ + FT_Byte paint_type; + FT_Byte font_type; + FT_Matrix font_matrix; + FT_Vector font_offset; + + FT_UInt num_subrs; + FT_ULong subrmap_offset; + FT_UInt sd_bytes; + + } CID_FaceDictRec; + + + /************************************************************************** + * + * @struct: + * CID_FaceDict + * + * @description: + * A handle to a @CID_FaceDictRec structure. + */ + typedef struct CID_FaceDictRec_* CID_FaceDict; + + + /************************************************************************** + * + * @struct: + * CID_FontDict + * + * @description: + * This type is equivalent to @CID_FaceDictRec. It is deprecated but + * kept to maintain source compatibility between various versions of + * FreeType. + */ + typedef CID_FaceDictRec CID_FontDict; + + + /************************************************************************** + * + * @struct: + * CID_FaceInfoRec + * + * @description: + * A structure used to represent CID Face information. + */ + typedef struct CID_FaceInfoRec_ + { + FT_String* cid_font_name; + FT_Fixed cid_version; + FT_Int cid_font_type; + + FT_String* registry; + FT_String* ordering; + FT_Int supplement; + + PS_FontInfoRec font_info; + FT_BBox font_bbox; + FT_ULong uid_base; + + FT_Int num_xuid; + FT_ULong xuid[16]; + + FT_ULong cidmap_offset; + FT_UInt fd_bytes; + FT_UInt gd_bytes; + FT_ULong cid_count; + + FT_UInt num_dicts; + CID_FaceDict font_dicts; + + FT_ULong data_offset; + + } CID_FaceInfoRec; + + + /************************************************************************** + * + * @struct: + * CID_FaceInfo + * + * @description: + * A handle to a @CID_FaceInfoRec structure. + */ + typedef struct CID_FaceInfoRec_* CID_FaceInfo; + + + /************************************************************************** + * + * @struct: + * CID_Info + * + * @description: + * This type is equivalent to @CID_FaceInfoRec. It is deprecated but kept + * to maintain source compatibility between various versions of FreeType. + */ + typedef CID_FaceInfoRec CID_Info; + + + /************************************************************************** + * + * @function: + * FT_Has_PS_Glyph_Names + * + * @description: + * Return true if a given face provides reliable PostScript glyph names. + * This is similar to using the @FT_HAS_GLYPH_NAMES macro, except that + * certain fonts (mostly TrueType) contain incorrect glyph name tables. + * + * When this function returns true, the caller is sure that the glyph + * names returned by @FT_Get_Glyph_Name are reliable. + * + * @input: + * face :: + * face handle + * + * @return: + * Boolean. True if glyph names are reliable. + * + */ + FT_EXPORT( FT_Int ) + FT_Has_PS_Glyph_Names( FT_Face face ); + + + /************************************************************************** + * + * @function: + * FT_Get_PS_Font_Info + * + * @description: + * Retrieve the @PS_FontInfoRec structure corresponding to a given + * PostScript font. + * + * @input: + * face :: + * PostScript face handle. + * + * @output: + * afont_info :: + * A pointer to a @PS_FontInfoRec object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * String pointers within the @PS_FontInfoRec structure are owned by the + * face and don't need to be freed by the caller. Missing entries in the + * font's FontInfo dictionary are represented by `NULL` pointers. + * + * The following font formats support this feature: 'Type~1', 'Type~42', + * 'CFF', 'CID~Type~1'. For other font formats this function returns the + * `FT_Err_Invalid_Argument` error code. + * + * @example: + * ``` + * PS_FontInfoRec font_info; + * + * + * error = FT_Get_PS_Font_Info( face, &font_info ); + * ... + * ``` + * + */ + FT_EXPORT( FT_Error ) + FT_Get_PS_Font_Info( FT_Face face, + PS_FontInfo afont_info ); + + + /************************************************************************** + * + * @function: + * FT_Get_PS_Font_Private + * + * @description: + * Retrieve the @PS_PrivateRec structure corresponding to a given + * PostScript font. + * + * @input: + * face :: + * PostScript face handle. + * + * @output: + * afont_private :: + * A pointer to a @PS_PrivateRec object. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * The string pointers within the @PS_PrivateRec structure are owned by + * the face and don't need to be freed by the caller. + * + * Only the 'Type~1' font format supports this feature. For other font + * formats this function returns the `FT_Err_Invalid_Argument` error + * code. + * + * @example: + * ``` + * PS_PrivateRec font_private; + * + * + * error = FT_Get_PS_Font_Private( face, &font_private ); + * ... + * ``` + * + */ + FT_EXPORT( FT_Error ) + FT_Get_PS_Font_Private( FT_Face face, + PS_Private afont_private ); + + + /************************************************************************** + * + * @enum: + * T1_EncodingType + * + * @description: + * An enumeration describing the 'Encoding' entry in a Type 1 dictionary. + * + * @values: + * T1_ENCODING_TYPE_NONE :: + * T1_ENCODING_TYPE_ARRAY :: + * T1_ENCODING_TYPE_STANDARD :: + * T1_ENCODING_TYPE_ISOLATIN1 :: + * T1_ENCODING_TYPE_EXPERT :: + * + * @since: + * 2.4.8 + */ + typedef enum T1_EncodingType_ + { + T1_ENCODING_TYPE_NONE = 0, + T1_ENCODING_TYPE_ARRAY, + T1_ENCODING_TYPE_STANDARD, + T1_ENCODING_TYPE_ISOLATIN1, + T1_ENCODING_TYPE_EXPERT + + } T1_EncodingType; + + + /************************************************************************** + * + * @enum: + * PS_Dict_Keys + * + * @description: + * An enumeration used in calls to @FT_Get_PS_Font_Value to identify the + * Type~1 dictionary entry to retrieve. + * + * @values: + * PS_DICT_FONT_TYPE :: + * PS_DICT_FONT_MATRIX :: + * PS_DICT_FONT_BBOX :: + * PS_DICT_PAINT_TYPE :: + * PS_DICT_FONT_NAME :: + * PS_DICT_UNIQUE_ID :: + * PS_DICT_NUM_CHAR_STRINGS :: + * PS_DICT_CHAR_STRING_KEY :: + * PS_DICT_CHAR_STRING :: + * PS_DICT_ENCODING_TYPE :: + * PS_DICT_ENCODING_ENTRY :: + * PS_DICT_NUM_SUBRS :: + * PS_DICT_SUBR :: + * PS_DICT_STD_HW :: + * PS_DICT_STD_VW :: + * PS_DICT_NUM_BLUE_VALUES :: + * PS_DICT_BLUE_VALUE :: + * PS_DICT_BLUE_FUZZ :: + * PS_DICT_NUM_OTHER_BLUES :: + * PS_DICT_OTHER_BLUE :: + * PS_DICT_NUM_FAMILY_BLUES :: + * PS_DICT_FAMILY_BLUE :: + * PS_DICT_NUM_FAMILY_OTHER_BLUES :: + * PS_DICT_FAMILY_OTHER_BLUE :: + * PS_DICT_BLUE_SCALE :: + * PS_DICT_BLUE_SHIFT :: + * PS_DICT_NUM_STEM_SNAP_H :: + * PS_DICT_STEM_SNAP_H :: + * PS_DICT_NUM_STEM_SNAP_V :: + * PS_DICT_STEM_SNAP_V :: + * PS_DICT_FORCE_BOLD :: + * PS_DICT_RND_STEM_UP :: + * PS_DICT_MIN_FEATURE :: + * PS_DICT_LEN_IV :: + * PS_DICT_PASSWORD :: + * PS_DICT_LANGUAGE_GROUP :: + * PS_DICT_VERSION :: + * PS_DICT_NOTICE :: + * PS_DICT_FULL_NAME :: + * PS_DICT_FAMILY_NAME :: + * PS_DICT_WEIGHT :: + * PS_DICT_IS_FIXED_PITCH :: + * PS_DICT_UNDERLINE_POSITION :: + * PS_DICT_UNDERLINE_THICKNESS :: + * PS_DICT_FS_TYPE :: + * PS_DICT_ITALIC_ANGLE :: + * + * @since: + * 2.4.8 + */ + typedef enum PS_Dict_Keys_ + { + /* conventionally in the font dictionary */ + PS_DICT_FONT_TYPE, /* FT_Byte */ + PS_DICT_FONT_MATRIX, /* FT_Fixed */ + PS_DICT_FONT_BBOX, /* FT_Fixed */ + PS_DICT_PAINT_TYPE, /* FT_Byte */ + PS_DICT_FONT_NAME, /* FT_String* */ + PS_DICT_UNIQUE_ID, /* FT_Int */ + PS_DICT_NUM_CHAR_STRINGS, /* FT_Int */ + PS_DICT_CHAR_STRING_KEY, /* FT_String* */ + PS_DICT_CHAR_STRING, /* FT_String* */ + PS_DICT_ENCODING_TYPE, /* T1_EncodingType */ + PS_DICT_ENCODING_ENTRY, /* FT_String* */ + + /* conventionally in the font Private dictionary */ + PS_DICT_NUM_SUBRS, /* FT_Int */ + PS_DICT_SUBR, /* FT_String* */ + PS_DICT_STD_HW, /* FT_UShort */ + PS_DICT_STD_VW, /* FT_UShort */ + PS_DICT_NUM_BLUE_VALUES, /* FT_Byte */ + PS_DICT_BLUE_VALUE, /* FT_Short */ + PS_DICT_BLUE_FUZZ, /* FT_Int */ + PS_DICT_NUM_OTHER_BLUES, /* FT_Byte */ + PS_DICT_OTHER_BLUE, /* FT_Short */ + PS_DICT_NUM_FAMILY_BLUES, /* FT_Byte */ + PS_DICT_FAMILY_BLUE, /* FT_Short */ + PS_DICT_NUM_FAMILY_OTHER_BLUES, /* FT_Byte */ + PS_DICT_FAMILY_OTHER_BLUE, /* FT_Short */ + PS_DICT_BLUE_SCALE, /* FT_Fixed */ + PS_DICT_BLUE_SHIFT, /* FT_Int */ + PS_DICT_NUM_STEM_SNAP_H, /* FT_Byte */ + PS_DICT_STEM_SNAP_H, /* FT_Short */ + PS_DICT_NUM_STEM_SNAP_V, /* FT_Byte */ + PS_DICT_STEM_SNAP_V, /* FT_Short */ + PS_DICT_FORCE_BOLD, /* FT_Bool */ + PS_DICT_RND_STEM_UP, /* FT_Bool */ + PS_DICT_MIN_FEATURE, /* FT_Short */ + PS_DICT_LEN_IV, /* FT_Int */ + PS_DICT_PASSWORD, /* FT_Long */ + PS_DICT_LANGUAGE_GROUP, /* FT_Long */ + + /* conventionally in the font FontInfo dictionary */ + PS_DICT_VERSION, /* FT_String* */ + PS_DICT_NOTICE, /* FT_String* */ + PS_DICT_FULL_NAME, /* FT_String* */ + PS_DICT_FAMILY_NAME, /* FT_String* */ + PS_DICT_WEIGHT, /* FT_String* */ + PS_DICT_IS_FIXED_PITCH, /* FT_Bool */ + PS_DICT_UNDERLINE_POSITION, /* FT_Short */ + PS_DICT_UNDERLINE_THICKNESS, /* FT_UShort */ + PS_DICT_FS_TYPE, /* FT_UShort */ + PS_DICT_ITALIC_ANGLE, /* FT_Long */ + + PS_DICT_MAX = PS_DICT_ITALIC_ANGLE + + } PS_Dict_Keys; + + + /************************************************************************** + * + * @function: + * FT_Get_PS_Font_Value + * + * @description: + * Retrieve the value for the supplied key from a PostScript font. + * + * @input: + * face :: + * PostScript face handle. + * + * key :: + * An enumeration value representing the dictionary key to retrieve. + * + * idx :: + * For array values, this specifies the index to be returned. + * + * value :: + * A pointer to memory into which to write the value. + * + * valen_len :: + * The size, in bytes, of the memory supplied for the value. + * + * @output: + * value :: + * The value matching the above key, if it exists. + * + * @return: + * The amount of memory (in bytes) required to hold the requested value + * (if it exists, -1 otherwise). + * + * @note: + * The values returned are not pointers into the internal structures of + * the face, but are 'fresh' copies, so that the memory containing them + * belongs to the calling application. This also enforces the + * 'read-only' nature of these values, i.e., this function cannot be + * used to manipulate the face. + * + * `value` is a void pointer because the values returned can be of + * various types. + * + * If either `value` is `NULL` or `value_len` is too small, just the + * required memory size for the requested entry is returned. + * + * The `idx` parameter is used, not only to retrieve elements of, for + * example, the FontMatrix or FontBBox, but also to retrieve name keys + * from the CharStrings dictionary, and the charstrings themselves. It + * is ignored for atomic values. + * + * `PS_DICT_BLUE_SCALE` returns a value that is scaled up by 1000. To + * get the value as in the font stream, you need to divide by 65536000.0 + * (to remove the FT_Fixed scale, and the x1000 scale). + * + * IMPORTANT: Only key/value pairs read by the FreeType interpreter can + * be retrieved. So, for example, PostScript procedures such as NP, ND, + * and RD are not available. Arbitrary keys are, obviously, not be + * available either. + * + * If the font's format is not PostScript-based, this function returns + * the `FT_Err_Invalid_Argument` error code. + * + * @since: + * 2.4.8 + * + */ + FT_EXPORT( FT_Long ) + FT_Get_PS_Font_Value( FT_Face face, + PS_Dict_Keys key, + FT_UInt idx, + void *value, + FT_Long value_len ); + + /* */ + +FT_END_HEADER + +#endif /* T1TABLES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ttnameid.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ttnameid.h new file mode 100644 index 0000000..e31c68b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/ttnameid.h @@ -0,0 +1,1235 @@ +/**************************************************************************** + * + * ttnameid.h + * + * TrueType name ID definitions (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef TTNAMEID_H_ +#define TTNAMEID_H_ + + + + +FT_BEGIN_HEADER + + + /************************************************************************** + * + * @section: + * truetype_tables + */ + + + /************************************************************************** + * + * Possible values for the 'platform' identifier code in the name records + * of an SFNT 'name' table. + * + */ + + + /************************************************************************** + * + * @enum: + * TT_PLATFORM_XXX + * + * @description: + * A list of valid values for the `platform_id` identifier code in + * @FT_CharMapRec and @FT_SfntName structures. + * + * @values: + * TT_PLATFORM_APPLE_UNICODE :: + * Used by Apple to indicate a Unicode character map and/or name entry. + * See @TT_APPLE_ID_XXX for corresponding `encoding_id` values. Note + * that name entries in this format are coded as big-endian UCS-2 + * character codes _only_. + * + * TT_PLATFORM_MACINTOSH :: + * Used by Apple to indicate a MacOS-specific charmap and/or name + * entry. See @TT_MAC_ID_XXX for corresponding `encoding_id` values. + * Note that most TrueType fonts contain an Apple roman charmap to be + * usable on MacOS systems (even if they contain a Microsoft charmap as + * well). + * + * TT_PLATFORM_ISO :: + * This value was used to specify ISO/IEC 10646 charmaps. It is + * however now deprecated. See @TT_ISO_ID_XXX for a list of + * corresponding `encoding_id` values. + * + * TT_PLATFORM_MICROSOFT :: + * Used by Microsoft to indicate Windows-specific charmaps. See + * @TT_MS_ID_XXX for a list of corresponding `encoding_id` values. + * Note that most fonts contain a Unicode charmap using + * (`TT_PLATFORM_MICROSOFT`, @TT_MS_ID_UNICODE_CS). + * + * TT_PLATFORM_CUSTOM :: + * Used to indicate application-specific charmaps. + * + * TT_PLATFORM_ADOBE :: + * This value isn't part of any font format specification, but is used + * by FreeType to report Adobe-specific charmaps in an @FT_CharMapRec + * structure. See @TT_ADOBE_ID_XXX. + */ + +#define TT_PLATFORM_APPLE_UNICODE 0 +#define TT_PLATFORM_MACINTOSH 1 +#define TT_PLATFORM_ISO 2 /* deprecated */ +#define TT_PLATFORM_MICROSOFT 3 +#define TT_PLATFORM_CUSTOM 4 +#define TT_PLATFORM_ADOBE 7 /* artificial */ + + + /************************************************************************** + * + * @enum: + * TT_APPLE_ID_XXX + * + * @description: + * A list of valid values for the `encoding_id` for + * @TT_PLATFORM_APPLE_UNICODE charmaps and name entries. + * + * @values: + * TT_APPLE_ID_DEFAULT :: + * Unicode version 1.0. + * + * TT_APPLE_ID_UNICODE_1_1 :: + * Unicode 1.1; specifies Hangul characters starting at U+34xx. + * + * TT_APPLE_ID_ISO_10646 :: + * Deprecated (identical to preceding). + * + * TT_APPLE_ID_UNICODE_2_0 :: + * Unicode 2.0 and beyond (UTF-16 BMP only). + * + * TT_APPLE_ID_UNICODE_32 :: + * Unicode 3.1 and beyond, using UTF-32. + * + * TT_APPLE_ID_VARIANT_SELECTOR :: + * From Adobe, not Apple. Not a normal cmap. Specifies variations on + * a real cmap. + * + * TT_APPLE_ID_FULL_UNICODE :: + * Used for fallback fonts that provide complete Unicode coverage with + * a type~13 cmap. + */ + +#define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */ +#define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */ +#define TT_APPLE_ID_ISO_10646 2 /* deprecated */ +#define TT_APPLE_ID_UNICODE_2_0 3 /* or later */ +#define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */ +#define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */ +#define TT_APPLE_ID_FULL_UNICODE 6 /* used with type 13 cmaps */ + + + /************************************************************************** + * + * @enum: + * TT_MAC_ID_XXX + * + * @description: + * A list of valid values for the `encoding_id` for + * @TT_PLATFORM_MACINTOSH charmaps and name entries. + */ + +#define TT_MAC_ID_ROMAN 0 +#define TT_MAC_ID_JAPANESE 1 +#define TT_MAC_ID_TRADITIONAL_CHINESE 2 +#define TT_MAC_ID_KOREAN 3 +#define TT_MAC_ID_ARABIC 4 +#define TT_MAC_ID_HEBREW 5 +#define TT_MAC_ID_GREEK 6 +#define TT_MAC_ID_RUSSIAN 7 +#define TT_MAC_ID_RSYMBOL 8 +#define TT_MAC_ID_DEVANAGARI 9 +#define TT_MAC_ID_GURMUKHI 10 +#define TT_MAC_ID_GUJARATI 11 +#define TT_MAC_ID_ORIYA 12 +#define TT_MAC_ID_BENGALI 13 +#define TT_MAC_ID_TAMIL 14 +#define TT_MAC_ID_TELUGU 15 +#define TT_MAC_ID_KANNADA 16 +#define TT_MAC_ID_MALAYALAM 17 +#define TT_MAC_ID_SINHALESE 18 +#define TT_MAC_ID_BURMESE 19 +#define TT_MAC_ID_KHMER 20 +#define TT_MAC_ID_THAI 21 +#define TT_MAC_ID_LAOTIAN 22 +#define TT_MAC_ID_GEORGIAN 23 +#define TT_MAC_ID_ARMENIAN 24 +#define TT_MAC_ID_MALDIVIAN 25 +#define TT_MAC_ID_SIMPLIFIED_CHINESE 25 +#define TT_MAC_ID_TIBETAN 26 +#define TT_MAC_ID_MONGOLIAN 27 +#define TT_MAC_ID_GEEZ 28 +#define TT_MAC_ID_SLAVIC 29 +#define TT_MAC_ID_VIETNAMESE 30 +#define TT_MAC_ID_SINDHI 31 +#define TT_MAC_ID_UNINTERP 32 + + + /************************************************************************** + * + * @enum: + * TT_ISO_ID_XXX + * + * @description: + * A list of valid values for the `encoding_id` for @TT_PLATFORM_ISO + * charmaps and name entries. + * + * Their use is now deprecated. + * + * @values: + * TT_ISO_ID_7BIT_ASCII :: + * ASCII. + * TT_ISO_ID_10646 :: + * ISO/10646. + * TT_ISO_ID_8859_1 :: + * Also known as Latin-1. + */ + +#define TT_ISO_ID_7BIT_ASCII 0 +#define TT_ISO_ID_10646 1 +#define TT_ISO_ID_8859_1 2 + + + /************************************************************************** + * + * @enum: + * TT_MS_ID_XXX + * + * @description: + * A list of valid values for the `encoding_id` for + * @TT_PLATFORM_MICROSOFT charmaps and name entries. + * + * @values: + * TT_MS_ID_SYMBOL_CS :: + * Microsoft symbol encoding. See @FT_ENCODING_MS_SYMBOL. + * + * TT_MS_ID_UNICODE_CS :: + * Microsoft WGL4 charmap, matching Unicode. See @FT_ENCODING_UNICODE. + * + * TT_MS_ID_SJIS :: + * Shift JIS Japanese encoding. See @FT_ENCODING_SJIS. + * + * TT_MS_ID_PRC :: + * Chinese encodings as used in the People's Republic of China (PRC). + * This means the encodings GB~2312 and its supersets GBK and GB~18030. + * See @FT_ENCODING_PRC. + * + * TT_MS_ID_BIG_5 :: + * Traditional Chinese as used in Taiwan and Hong Kong. See + * @FT_ENCODING_BIG5. + * + * TT_MS_ID_WANSUNG :: + * Korean Extended Wansung encoding. See @FT_ENCODING_WANSUNG. + * + * TT_MS_ID_JOHAB :: + * Korean Johab encoding. See @FT_ENCODING_JOHAB. + * + * TT_MS_ID_UCS_4 :: + * UCS-4 or UTF-32 charmaps. This has been added to the OpenType + * specification version 1.4 (mid-2001). + */ + +#define TT_MS_ID_SYMBOL_CS 0 +#define TT_MS_ID_UNICODE_CS 1 +#define TT_MS_ID_SJIS 2 +#define TT_MS_ID_PRC 3 +#define TT_MS_ID_BIG_5 4 +#define TT_MS_ID_WANSUNG 5 +#define TT_MS_ID_JOHAB 6 +#define TT_MS_ID_UCS_4 10 + + /* this value is deprecated */ +#define TT_MS_ID_GB2312 TT_MS_ID_PRC + + + /************************************************************************** + * + * @enum: + * TT_ADOBE_ID_XXX + * + * @description: + * A list of valid values for the `encoding_id` for @TT_PLATFORM_ADOBE + * charmaps. This is a FreeType-specific extension! + * + * @values: + * TT_ADOBE_ID_STANDARD :: + * Adobe standard encoding. + * TT_ADOBE_ID_EXPERT :: + * Adobe expert encoding. + * TT_ADOBE_ID_CUSTOM :: + * Adobe custom encoding. + * TT_ADOBE_ID_LATIN_1 :: + * Adobe Latin~1 encoding. + */ + +#define TT_ADOBE_ID_STANDARD 0 +#define TT_ADOBE_ID_EXPERT 1 +#define TT_ADOBE_ID_CUSTOM 2 +#define TT_ADOBE_ID_LATIN_1 3 + + + /************************************************************************** + * + * @enum: + * TT_MAC_LANGID_XXX + * + * @description: + * Possible values of the language identifier field in the name records + * of the SFNT 'name' table if the 'platform' identifier code is + * @TT_PLATFORM_MACINTOSH. These values are also used as return values + * for function @FT_Get_CMap_Language_ID. + * + * The canonical source for Apple's IDs is + * + * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html + */ + +#define TT_MAC_LANGID_ENGLISH 0 +#define TT_MAC_LANGID_FRENCH 1 +#define TT_MAC_LANGID_GERMAN 2 +#define TT_MAC_LANGID_ITALIAN 3 +#define TT_MAC_LANGID_DUTCH 4 +#define TT_MAC_LANGID_SWEDISH 5 +#define TT_MAC_LANGID_SPANISH 6 +#define TT_MAC_LANGID_DANISH 7 +#define TT_MAC_LANGID_PORTUGUESE 8 +#define TT_MAC_LANGID_NORWEGIAN 9 +#define TT_MAC_LANGID_HEBREW 10 +#define TT_MAC_LANGID_JAPANESE 11 +#define TT_MAC_LANGID_ARABIC 12 +#define TT_MAC_LANGID_FINNISH 13 +#define TT_MAC_LANGID_GREEK 14 +#define TT_MAC_LANGID_ICELANDIC 15 +#define TT_MAC_LANGID_MALTESE 16 +#define TT_MAC_LANGID_TURKISH 17 +#define TT_MAC_LANGID_CROATIAN 18 +#define TT_MAC_LANGID_CHINESE_TRADITIONAL 19 +#define TT_MAC_LANGID_URDU 20 +#define TT_MAC_LANGID_HINDI 21 +#define TT_MAC_LANGID_THAI 22 +#define TT_MAC_LANGID_KOREAN 23 +#define TT_MAC_LANGID_LITHUANIAN 24 +#define TT_MAC_LANGID_POLISH 25 +#define TT_MAC_LANGID_HUNGARIAN 26 +#define TT_MAC_LANGID_ESTONIAN 27 +#define TT_MAC_LANGID_LETTISH 28 +#define TT_MAC_LANGID_SAAMISK 29 +#define TT_MAC_LANGID_FAEROESE 30 +#define TT_MAC_LANGID_FARSI 31 +#define TT_MAC_LANGID_RUSSIAN 32 +#define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33 +#define TT_MAC_LANGID_FLEMISH 34 +#define TT_MAC_LANGID_IRISH 35 +#define TT_MAC_LANGID_ALBANIAN 36 +#define TT_MAC_LANGID_ROMANIAN 37 +#define TT_MAC_LANGID_CZECH 38 +#define TT_MAC_LANGID_SLOVAK 39 +#define TT_MAC_LANGID_SLOVENIAN 40 +#define TT_MAC_LANGID_YIDDISH 41 +#define TT_MAC_LANGID_SERBIAN 42 +#define TT_MAC_LANGID_MACEDONIAN 43 +#define TT_MAC_LANGID_BULGARIAN 44 +#define TT_MAC_LANGID_UKRAINIAN 45 +#define TT_MAC_LANGID_BYELORUSSIAN 46 +#define TT_MAC_LANGID_UZBEK 47 +#define TT_MAC_LANGID_KAZAKH 48 +#define TT_MAC_LANGID_AZERBAIJANI 49 +#define TT_MAC_LANGID_AZERBAIJANI_CYRILLIC_SCRIPT 49 +#define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50 +#define TT_MAC_LANGID_ARMENIAN 51 +#define TT_MAC_LANGID_GEORGIAN 52 +#define TT_MAC_LANGID_MOLDAVIAN 53 +#define TT_MAC_LANGID_KIRGHIZ 54 +#define TT_MAC_LANGID_TAJIKI 55 +#define TT_MAC_LANGID_TURKMEN 56 +#define TT_MAC_LANGID_MONGOLIAN 57 +#define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57 +#define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58 +#define TT_MAC_LANGID_PASHTO 59 +#define TT_MAC_LANGID_KURDISH 60 +#define TT_MAC_LANGID_KASHMIRI 61 +#define TT_MAC_LANGID_SINDHI 62 +#define TT_MAC_LANGID_TIBETAN 63 +#define TT_MAC_LANGID_NEPALI 64 +#define TT_MAC_LANGID_SANSKRIT 65 +#define TT_MAC_LANGID_MARATHI 66 +#define TT_MAC_LANGID_BENGALI 67 +#define TT_MAC_LANGID_ASSAMESE 68 +#define TT_MAC_LANGID_GUJARATI 69 +#define TT_MAC_LANGID_PUNJABI 70 +#define TT_MAC_LANGID_ORIYA 71 +#define TT_MAC_LANGID_MALAYALAM 72 +#define TT_MAC_LANGID_KANNADA 73 +#define TT_MAC_LANGID_TAMIL 74 +#define TT_MAC_LANGID_TELUGU 75 +#define TT_MAC_LANGID_SINHALESE 76 +#define TT_MAC_LANGID_BURMESE 77 +#define TT_MAC_LANGID_KHMER 78 +#define TT_MAC_LANGID_LAO 79 +#define TT_MAC_LANGID_VIETNAMESE 80 +#define TT_MAC_LANGID_INDONESIAN 81 +#define TT_MAC_LANGID_TAGALOG 82 +#define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83 +#define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84 +#define TT_MAC_LANGID_AMHARIC 85 +#define TT_MAC_LANGID_TIGRINYA 86 +#define TT_MAC_LANGID_GALLA 87 +#define TT_MAC_LANGID_SOMALI 88 +#define TT_MAC_LANGID_SWAHILI 89 +#define TT_MAC_LANGID_RUANDA 90 +#define TT_MAC_LANGID_RUNDI 91 +#define TT_MAC_LANGID_CHEWA 92 +#define TT_MAC_LANGID_MALAGASY 93 +#define TT_MAC_LANGID_ESPERANTO 94 +#define TT_MAC_LANGID_WELSH 128 +#define TT_MAC_LANGID_BASQUE 129 +#define TT_MAC_LANGID_CATALAN 130 +#define TT_MAC_LANGID_LATIN 131 +#define TT_MAC_LANGID_QUECHUA 132 +#define TT_MAC_LANGID_GUARANI 133 +#define TT_MAC_LANGID_AYMARA 134 +#define TT_MAC_LANGID_TATAR 135 +#define TT_MAC_LANGID_UIGHUR 136 +#define TT_MAC_LANGID_DZONGKHA 137 +#define TT_MAC_LANGID_JAVANESE 138 +#define TT_MAC_LANGID_SUNDANESE 139 + + /* The following codes are new as of 2000-03-10 */ +#define TT_MAC_LANGID_GALICIAN 140 +#define TT_MAC_LANGID_AFRIKAANS 141 +#define TT_MAC_LANGID_BRETON 142 +#define TT_MAC_LANGID_INUKTITUT 143 +#define TT_MAC_LANGID_SCOTTISH_GAELIC 144 +#define TT_MAC_LANGID_MANX_GAELIC 145 +#define TT_MAC_LANGID_IRISH_GAELIC 146 +#define TT_MAC_LANGID_TONGAN 147 +#define TT_MAC_LANGID_GREEK_POLYTONIC 148 +#define TT_MAC_LANGID_GREELANDIC 149 +#define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150 + + + /************************************************************************** + * + * @enum: + * TT_MS_LANGID_XXX + * + * @description: + * Possible values of the language identifier field in the name records + * of the SFNT 'name' table if the 'platform' identifier code is + * @TT_PLATFORM_MICROSOFT. These values are also used as return values + * for function @FT_Get_CMap_Language_ID. + * + * The canonical source for Microsoft's IDs is + * + * https://docs.microsoft.com/en-us/windows/desktop/Intl/language-identifier-constants-and-strings , + * + * however, we only provide macros for language identifiers present in + * the OpenType specification: Microsoft has abandoned the concept of + * LCIDs (language code identifiers), and format~1 of the 'name' table + * provides a better mechanism for languages not covered here. + * + * More legacy values not listed in the reference can be found in the + * @FT_TRUETYPE_IDS_H header file. + */ + +#define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401 +#define TT_MS_LANGID_ARABIC_IRAQ 0x0801 +#define TT_MS_LANGID_ARABIC_EGYPT 0x0C01 +#define TT_MS_LANGID_ARABIC_LIBYA 0x1001 +#define TT_MS_LANGID_ARABIC_ALGERIA 0x1401 +#define TT_MS_LANGID_ARABIC_MOROCCO 0x1801 +#define TT_MS_LANGID_ARABIC_TUNISIA 0x1C01 +#define TT_MS_LANGID_ARABIC_OMAN 0x2001 +#define TT_MS_LANGID_ARABIC_YEMEN 0x2401 +#define TT_MS_LANGID_ARABIC_SYRIA 0x2801 +#define TT_MS_LANGID_ARABIC_JORDAN 0x2C01 +#define TT_MS_LANGID_ARABIC_LEBANON 0x3001 +#define TT_MS_LANGID_ARABIC_KUWAIT 0x3401 +#define TT_MS_LANGID_ARABIC_UAE 0x3801 +#define TT_MS_LANGID_ARABIC_BAHRAIN 0x3C01 +#define TT_MS_LANGID_ARABIC_QATAR 0x4001 +#define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402 +#define TT_MS_LANGID_CATALAN_CATALAN 0x0403 +#define TT_MS_LANGID_CHINESE_TAIWAN 0x0404 +#define TT_MS_LANGID_CHINESE_PRC 0x0804 +#define TT_MS_LANGID_CHINESE_HONG_KONG 0x0C04 +#define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004 +#define TT_MS_LANGID_CHINESE_MACAO 0x1404 +#define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405 +#define TT_MS_LANGID_DANISH_DENMARK 0x0406 +#define TT_MS_LANGID_GERMAN_GERMANY 0x0407 +#define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807 +#define TT_MS_LANGID_GERMAN_AUSTRIA 0x0C07 +#define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007 +#define TT_MS_LANGID_GERMAN_LIECHTENSTEIN 0x1407 +#define TT_MS_LANGID_GREEK_GREECE 0x0408 +#define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409 +#define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809 +#define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0C09 +#define TT_MS_LANGID_ENGLISH_CANADA 0x1009 +#define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409 +#define TT_MS_LANGID_ENGLISH_IRELAND 0x1809 +#define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1C09 +#define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009 +#define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409 +#define TT_MS_LANGID_ENGLISH_BELIZE 0x2809 +#define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2C09 +#define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009 +#define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409 +#define TT_MS_LANGID_ENGLISH_INDIA 0x4009 +#define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409 +#define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809 +#define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040A +#define TT_MS_LANGID_SPANISH_MEXICO 0x080A +#define TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT 0x0C0A +#define TT_MS_LANGID_SPANISH_GUATEMALA 0x100A +#define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A +#define TT_MS_LANGID_SPANISH_PANAMA 0x180A +#define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1C0A +#define TT_MS_LANGID_SPANISH_VENEZUELA 0x200A +#define TT_MS_LANGID_SPANISH_COLOMBIA 0x240A +#define TT_MS_LANGID_SPANISH_PERU 0x280A +#define TT_MS_LANGID_SPANISH_ARGENTINA 0x2C0A +#define TT_MS_LANGID_SPANISH_ECUADOR 0x300A +#define TT_MS_LANGID_SPANISH_CHILE 0x340A +#define TT_MS_LANGID_SPANISH_URUGUAY 0x380A +#define TT_MS_LANGID_SPANISH_PARAGUAY 0x3C0A +#define TT_MS_LANGID_SPANISH_BOLIVIA 0x400A +#define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440A +#define TT_MS_LANGID_SPANISH_HONDURAS 0x480A +#define TT_MS_LANGID_SPANISH_NICARAGUA 0x4C0A +#define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500A +#define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540A +#define TT_MS_LANGID_FINNISH_FINLAND 0x040B +#define TT_MS_LANGID_FRENCH_FRANCE 0x040C +#define TT_MS_LANGID_FRENCH_BELGIUM 0x080C +#define TT_MS_LANGID_FRENCH_CANADA 0x0C0C +#define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100C +#define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140C +#define TT_MS_LANGID_FRENCH_MONACO 0x180C +#define TT_MS_LANGID_HEBREW_ISRAEL 0x040D +#define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040E +#define TT_MS_LANGID_ICELANDIC_ICELAND 0x040F +#define TT_MS_LANGID_ITALIAN_ITALY 0x0410 +#define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810 +#define TT_MS_LANGID_JAPANESE_JAPAN 0x0411 +#define TT_MS_LANGID_KOREAN_KOREA 0x0412 +#define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413 +#define TT_MS_LANGID_DUTCH_BELGIUM 0x0813 +#define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414 +#define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814 +#define TT_MS_LANGID_POLISH_POLAND 0x0415 +#define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416 +#define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816 +#define TT_MS_LANGID_ROMANSH_SWITZERLAND 0x0417 +#define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418 +#define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419 +#define TT_MS_LANGID_CROATIAN_CROATIA 0x041A +#define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081A +#define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0C1A +#define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101A +#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141A +#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181A +#define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x1C1A +#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZ_CYRILLIC 0x201A +#define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041B +#define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041C +#define TT_MS_LANGID_SWEDISH_SWEDEN 0x041D +#define TT_MS_LANGID_SWEDISH_FINLAND 0x081D +#define TT_MS_LANGID_THAI_THAILAND 0x041E +#define TT_MS_LANGID_TURKISH_TURKEY 0x041F +#define TT_MS_LANGID_URDU_PAKISTAN 0x0420 +#define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421 +#define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422 +#define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423 +#define TT_MS_LANGID_SLOVENIAN_SLOVENIA 0x0424 +#define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425 +#define TT_MS_LANGID_LATVIAN_LATVIA 0x0426 +#define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427 +#define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428 +#define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042A +#define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042B +#define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042C +#define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082C +#define TT_MS_LANGID_BASQUE_BASQUE 0x042D +#define TT_MS_LANGID_UPPER_SORBIAN_GERMANY 0x042E +#define TT_MS_LANGID_LOWER_SORBIAN_GERMANY 0x082E +#define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042F +#define TT_MS_LANGID_SETSWANA_SOUTH_AFRICA 0x0432 +#define TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA 0x0434 +#define TT_MS_LANGID_ISIZULU_SOUTH_AFRICA 0x0435 +#define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436 +#define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437 +#define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438 +#define TT_MS_LANGID_HINDI_INDIA 0x0439 +#define TT_MS_LANGID_MALTESE_MALTA 0x043A +#define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B +#define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083B +#define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3B +#define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103B +#define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143B +#define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183B +#define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3B +#define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203B +#define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243B +#define TT_MS_LANGID_IRISH_IRELAND 0x083C +#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E +#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E +#define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F +#define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic */ 0x0440 +#define TT_MS_LANGID_KISWAHILI_KENYA 0x0441 +#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442 +#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443 +#define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843 +#define TT_MS_LANGID_TATAR_RUSSIA 0x0444 +#define TT_MS_LANGID_BENGALI_INDIA 0x0445 +#define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845 +#define TT_MS_LANGID_PUNJABI_INDIA 0x0446 +#define TT_MS_LANGID_GUJARATI_INDIA 0x0447 +#define TT_MS_LANGID_ODIA_INDIA 0x0448 +#define TT_MS_LANGID_TAMIL_INDIA 0x0449 +#define TT_MS_LANGID_TELUGU_INDIA 0x044A +#define TT_MS_LANGID_KANNADA_INDIA 0x044B +#define TT_MS_LANGID_MALAYALAM_INDIA 0x044C +#define TT_MS_LANGID_ASSAMESE_INDIA 0x044D +#define TT_MS_LANGID_MARATHI_INDIA 0x044E +#define TT_MS_LANGID_SANSKRIT_INDIA 0x044F +#define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450 +#define TT_MS_LANGID_MONGOLIAN_PRC 0x0850 +#define TT_MS_LANGID_TIBETAN_PRC 0x0451 +#define TT_MS_LANGID_WELSH_UNITED_KINGDOM 0x0452 +#define TT_MS_LANGID_KHMER_CAMBODIA 0x0453 +#define TT_MS_LANGID_LAO_LAOS 0x0454 +#define TT_MS_LANGID_GALICIAN_GALICIAN 0x0456 +#define TT_MS_LANGID_KONKANI_INDIA 0x0457 +#define TT_MS_LANGID_SYRIAC_SYRIA 0x045A +#define TT_MS_LANGID_SINHALA_SRI_LANKA 0x045B +#define TT_MS_LANGID_INUKTITUT_CANADA 0x045D +#define TT_MS_LANGID_INUKTITUT_CANADA_LATIN 0x085D +#define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045E +#define TT_MS_LANGID_TAMAZIGHT_ALGERIA 0x085F +#define TT_MS_LANGID_NEPALI_NEPAL 0x0461 +#define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462 +#define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463 +#define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464 +#define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465 +#define TT_MS_LANGID_HAUSA_NIGERIA 0x0468 +#define TT_MS_LANGID_YORUBA_NIGERIA 0x046A +#define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046B +#define TT_MS_LANGID_QUECHUA_ECUADOR 0x086B +#define TT_MS_LANGID_QUECHUA_PERU 0x0C6B +#define TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA 0x046C +#define TT_MS_LANGID_BASHKIR_RUSSIA 0x046D +#define TT_MS_LANGID_LUXEMBOURGISH_LUXEMBOURG 0x046E +#define TT_MS_LANGID_GREENLANDIC_GREENLAND 0x046F +#define TT_MS_LANGID_IGBO_NIGERIA 0x0470 +#define TT_MS_LANGID_YI_PRC 0x0478 +#define TT_MS_LANGID_MAPUDUNGUN_CHILE 0x047A +#define TT_MS_LANGID_MOHAWK_MOHAWK 0x047C +#define TT_MS_LANGID_BRETON_FRANCE 0x047E +#define TT_MS_LANGID_UIGHUR_PRC 0x0480 +#define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481 +#define TT_MS_LANGID_OCCITAN_FRANCE 0x0482 +#define TT_MS_LANGID_CORSICAN_FRANCE 0x0483 +#define TT_MS_LANGID_ALSATIAN_FRANCE 0x0484 +#define TT_MS_LANGID_YAKUT_RUSSIA 0x0485 +#define TT_MS_LANGID_KICHE_GUATEMALA 0x0486 +#define TT_MS_LANGID_KINYARWANDA_RWANDA 0x0487 +#define TT_MS_LANGID_WOLOF_SENEGAL 0x0488 +#define TT_MS_LANGID_DARI_AFGHANISTAN 0x048C + + /* */ + + + /* legacy macro definitions not present in OpenType 1.8.1 */ +#define TT_MS_LANGID_ARABIC_GENERAL 0x0001 +#define TT_MS_LANGID_CATALAN_SPAIN \ + TT_MS_LANGID_CATALAN_CATALAN +#define TT_MS_LANGID_CHINESE_GENERAL 0x0004 +#define TT_MS_LANGID_CHINESE_MACAU \ + TT_MS_LANGID_CHINESE_MACAO +#define TT_MS_LANGID_GERMAN_LIECHTENSTEI \ + TT_MS_LANGID_GERMAN_LIECHTENSTEIN +#define TT_MS_LANGID_ENGLISH_GENERAL 0x0009 +#define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809 +#define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09 +#define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT \ + TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT +#define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU +#define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C +#define TT_MS_LANGID_FRENCH_REUNION 0x200C +#define TT_MS_LANGID_FRENCH_CONGO 0x240C + /* which was formerly: */ +#define TT_MS_LANGID_FRENCH_ZAIRE \ + TT_MS_LANGID_FRENCH_CONGO +#define TT_MS_LANGID_FRENCH_SENEGAL 0x280C +#define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C +#define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C +#define TT_MS_LANGID_FRENCH_MALI 0x340C +#define TT_MS_LANGID_FRENCH_MOROCCO 0x380C +#define TT_MS_LANGID_FRENCH_HAITI 0x3C0C +#define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU +#define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA \ + TT_MS_LANGID_KOREAN_KOREA +#define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812 +#define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND \ + TT_MS_LANGID_ROMANSH_SWITZERLAND +#define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818 +#define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819 +#define TT_MS_LANGID_URDU_INDIA 0x0820 +#define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827 +#define TT_MS_LANGID_SLOVENE_SLOVENIA \ + TT_MS_LANGID_SLOVENIAN_SLOVENIA +#define TT_MS_LANGID_FARSI_IRAN 0x0429 +#define TT_MS_LANGID_BASQUE_SPAIN \ + TT_MS_LANGID_BASQUE_BASQUE +#define TT_MS_LANGID_SORBIAN_GERMANY \ + TT_MS_LANGID_UPPER_SORBIAN_GERMANY +#define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430 +#define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431 +#define TT_MS_LANGID_TSWANA_SOUTH_AFRICA \ + TT_MS_LANGID_SETSWANA_SOUTH_AFRICA +#define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433 +#define TT_MS_LANGID_XHOSA_SOUTH_AFRICA \ + TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA +#define TT_MS_LANGID_ZULU_SOUTH_AFRICA \ + TT_MS_LANGID_ISIZULU_SOUTH_AFRICA +#define TT_MS_LANGID_SAAMI_LAPONIA 0x043B + /* the next two values are incorrectly inverted */ +#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C +#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C +#define TT_MS_LANGID_YIDDISH_GERMANY 0x043D +#define TT_MS_LANGID_KAZAK_KAZAKSTAN \ + TT_MS_LANGID_KAZAKH_KAZAKHSTAN +#define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \ + TT_MS_LANGID_KYRGYZ_KYRGYZSTAN +#define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN \ + TT_MS_LANGID_KYRGYZ_KYRGYZSTAN +#define TT_MS_LANGID_SWAHILI_KENYA \ + TT_MS_LANGID_KISWAHILI_KENYA +#define TT_MS_LANGID_TATAR_TATARSTAN \ + TT_MS_LANGID_TATAR_RUSSIA +#define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846 +#define TT_MS_LANGID_ORIYA_INDIA \ + TT_MS_LANGID_ODIA_INDIA +#define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN \ + TT_MS_LANGID_MONGOLIAN_PRC +#define TT_MS_LANGID_TIBETAN_CHINA \ + TT_MS_LANGID_TIBETAN_PRC +#define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851 +#define TT_MS_LANGID_TIBETAN_BHUTAN \ + TT_MS_LANGID_DZONGHKA_BHUTAN +#define TT_MS_LANGID_WELSH_WALES \ + TT_MS_LANGID_WELSH_UNITED_KINGDOM +#define TT_MS_LANGID_BURMESE_MYANMAR 0x0455 +#define TT_MS_LANGID_GALICIAN_SPAIN \ + TT_MS_LANGID_GALICIAN_GALICIAN +#define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458 +#define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459 +#define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859 +#define TT_MS_LANGID_SINHALESE_SRI_LANKA \ + TT_MS_LANGID_SINHALA_SRI_LANKA +#define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C +#define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F +#define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN \ + TT_MS_LANGID_TAMAZIGHT_ALGERIA +#define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460 +#define TT_MS_LANGID_KASHMIRI_SASIA 0x0860 +#define TT_MS_LANGID_KASHMIRI_INDIA \ + TT_MS_LANGID_KASHMIRI_SASIA +#define TT_MS_LANGID_NEPALI_INDIA 0x0861 +#define TT_MS_LANGID_DIVEHI_MALDIVES \ + TT_MS_LANGID_DHIVEHI_MALDIVES +#define TT_MS_LANGID_EDO_NIGERIA 0x0466 +#define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467 +#define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469 +#define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA \ + TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA +#define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \ + TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA +#define TT_MS_LANGID_KANURI_NIGERIA 0x0471 +#define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472 +#define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473 +#define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873 +#define TT_MS_LANGID_TIGRIGNA_ERYTREA \ + TT_MS_LANGID_TIGRIGNA_ERYTHREA +#define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474 +#define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475 +#define TT_MS_LANGID_LATIN 0x0476 +#define TT_MS_LANGID_SOMALI_SOMALIA 0x0477 +#define TT_MS_LANGID_YI_CHINA \ + TT_MS_LANGID_YI_PRC +#define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479 +#define TT_MS_LANGID_UIGHUR_CHINA \ + TT_MS_LANGID_UIGHUR_PRC + + + /************************************************************************** + * + * @enum: + * TT_NAME_ID_XXX + * + * @description: + * Possible values of the 'name' identifier field in the name records of + * an SFNT 'name' table. These values are platform independent. + */ + +#define TT_NAME_ID_COPYRIGHT 0 +#define TT_NAME_ID_FONT_FAMILY 1 +#define TT_NAME_ID_FONT_SUBFAMILY 2 +#define TT_NAME_ID_UNIQUE_ID 3 +#define TT_NAME_ID_FULL_NAME 4 +#define TT_NAME_ID_VERSION_STRING 5 +#define TT_NAME_ID_PS_NAME 6 +#define TT_NAME_ID_TRADEMARK 7 + + /* the following values are from the OpenType spec */ +#define TT_NAME_ID_MANUFACTURER 8 +#define TT_NAME_ID_DESIGNER 9 +#define TT_NAME_ID_DESCRIPTION 10 +#define TT_NAME_ID_VENDOR_URL 11 +#define TT_NAME_ID_DESIGNER_URL 12 +#define TT_NAME_ID_LICENSE 13 +#define TT_NAME_ID_LICENSE_URL 14 + /* number 15 is reserved */ +#define TT_NAME_ID_TYPOGRAPHIC_FAMILY 16 +#define TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY 17 +#define TT_NAME_ID_MAC_FULL_NAME 18 + + /* The following code is new as of 2000-01-21 */ +#define TT_NAME_ID_SAMPLE_TEXT 19 + + /* This is new in OpenType 1.3 */ +#define TT_NAME_ID_CID_FINDFONT_NAME 20 + + /* This is new in OpenType 1.5 */ +#define TT_NAME_ID_WWS_FAMILY 21 +#define TT_NAME_ID_WWS_SUBFAMILY 22 + + /* This is new in OpenType 1.7 */ +#define TT_NAME_ID_LIGHT_BACKGROUND 23 +#define TT_NAME_ID_DARK_BACKGROUND 24 + + /* This is new in OpenType 1.8 */ +#define TT_NAME_ID_VARIATIONS_PREFIX 25 + + /* these two values are deprecated */ +#define TT_NAME_ID_PREFERRED_FAMILY TT_NAME_ID_TYPOGRAPHIC_FAMILY +#define TT_NAME_ID_PREFERRED_SUBFAMILY TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY + + + /************************************************************************** + * + * @enum: + * TT_UCR_XXX + * + * @description: + * Possible bit mask values for the `ulUnicodeRangeX` fields in an SFNT + * 'OS/2' table. + */ + + /* ulUnicodeRange1 */ + /* --------------- */ + + /* Bit 0 Basic Latin */ +#define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */ + /* Bit 1 C1 Controls and Latin-1 Supplement */ +#define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */ + /* Bit 2 Latin Extended-A */ +#define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */ + /* Bit 3 Latin Extended-B */ +#define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */ + /* Bit 4 IPA Extensions */ + /* Phonetic Extensions */ + /* Phonetic Extensions Supplement */ +#define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */ + /* U+1D00-U+1D7F */ + /* U+1D80-U+1DBF */ + /* Bit 5 Spacing Modifier Letters */ + /* Modifier Tone Letters */ +#define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */ + /* U+A700-U+A71F */ + /* Bit 6 Combining Diacritical Marks */ + /* Combining Diacritical Marks Supplement */ +#define TT_UCR_COMBINING_DIACRITICAL_MARKS (1L << 6) /* U+0300-U+036F */ + /* U+1DC0-U+1DFF */ + /* Bit 7 Greek and Coptic */ +#define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */ + /* Bit 8 Coptic */ +#define TT_UCR_COPTIC (1L << 8) /* U+2C80-U+2CFF */ + /* Bit 9 Cyrillic */ + /* Cyrillic Supplement */ + /* Cyrillic Extended-A */ + /* Cyrillic Extended-B */ +#define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */ + /* U+0500-U+052F */ + /* U+2DE0-U+2DFF */ + /* U+A640-U+A69F */ + /* Bit 10 Armenian */ +#define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */ + /* Bit 11 Hebrew */ +#define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */ + /* Bit 12 Vai */ +#define TT_UCR_VAI (1L << 12) /* U+A500-U+A63F */ + /* Bit 13 Arabic */ + /* Arabic Supplement */ +#define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */ + /* U+0750-U+077F */ + /* Bit 14 NKo */ +#define TT_UCR_NKO (1L << 14) /* U+07C0-U+07FF */ + /* Bit 15 Devanagari */ +#define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */ + /* Bit 16 Bengali */ +#define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */ + /* Bit 17 Gurmukhi */ +#define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */ + /* Bit 18 Gujarati */ +#define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */ + /* Bit 19 Oriya */ +#define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */ + /* Bit 20 Tamil */ +#define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */ + /* Bit 21 Telugu */ +#define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */ + /* Bit 22 Kannada */ +#define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */ + /* Bit 23 Malayalam */ +#define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */ + /* Bit 24 Thai */ +#define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */ + /* Bit 25 Lao */ +#define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */ + /* Bit 26 Georgian */ + /* Georgian Supplement */ +#define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */ + /* U+2D00-U+2D2F */ + /* Bit 27 Balinese */ +#define TT_UCR_BALINESE (1L << 27) /* U+1B00-U+1B7F */ + /* Bit 28 Hangul Jamo */ +#define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */ + /* Bit 29 Latin Extended Additional */ + /* Latin Extended-C */ + /* Latin Extended-D */ +#define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */ + /* U+2C60-U+2C7F */ + /* U+A720-U+A7FF */ + /* Bit 30 Greek Extended */ +#define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */ + /* Bit 31 General Punctuation */ + /* Supplemental Punctuation */ +#define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */ + /* U+2E00-U+2E7F */ + + /* ulUnicodeRange2 */ + /* --------------- */ + + /* Bit 32 Superscripts And Subscripts */ +#define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */ + /* Bit 33 Currency Symbols */ +#define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */ + /* Bit 34 Combining Diacritical Marks For Symbols */ +#define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \ + (1L << 2) /* U+20D0-U+20FF */ + /* Bit 35 Letterlike Symbols */ +#define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */ + /* Bit 36 Number Forms */ +#define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */ + /* Bit 37 Arrows */ + /* Supplemental Arrows-A */ + /* Supplemental Arrows-B */ + /* Miscellaneous Symbols and Arrows */ +#define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */ + /* U+27F0-U+27FF */ + /* U+2900-U+297F */ + /* U+2B00-U+2BFF */ + /* Bit 38 Mathematical Operators */ + /* Supplemental Mathematical Operators */ + /* Miscellaneous Mathematical Symbols-A */ + /* Miscellaneous Mathematical Symbols-B */ +#define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */ + /* U+2A00-U+2AFF */ + /* U+27C0-U+27EF */ + /* U+2980-U+29FF */ + /* Bit 39 Miscellaneous Technical */ +#define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */ + /* Bit 40 Control Pictures */ +#define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */ + /* Bit 41 Optical Character Recognition */ +#define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */ + /* Bit 42 Enclosed Alphanumerics */ +#define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */ + /* Bit 43 Box Drawing */ +#define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */ + /* Bit 44 Block Elements */ +#define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */ + /* Bit 45 Geometric Shapes */ +#define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */ + /* Bit 46 Miscellaneous Symbols */ +#define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */ + /* Bit 47 Dingbats */ +#define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */ + /* Bit 48 CJK Symbols and Punctuation */ +#define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */ + /* Bit 49 Hiragana */ +#define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */ + /* Bit 50 Katakana */ + /* Katakana Phonetic Extensions */ +#define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */ + /* U+31F0-U+31FF */ + /* Bit 51 Bopomofo */ + /* Bopomofo Extended */ +#define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */ + /* U+31A0-U+31BF */ + /* Bit 52 Hangul Compatibility Jamo */ +#define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */ + /* Bit 53 Phags-Pa */ +#define TT_UCR_CJK_MISC (1L << 21) /* U+A840-U+A87F */ +#define TT_UCR_KANBUN TT_UCR_CJK_MISC /* deprecated */ +#define TT_UCR_PHAGSPA + /* Bit 54 Enclosed CJK Letters and Months */ +#define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */ + /* Bit 55 CJK Compatibility */ +#define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */ + /* Bit 56 Hangul Syllables */ +#define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */ + /* Bit 57 High Surrogates */ + /* High Private Use Surrogates */ + /* Low Surrogates */ + + /* According to OpenType specs v.1.3+, */ + /* setting bit 57 implies that there is */ + /* at least one codepoint beyond the */ + /* Basic Multilingual Plane that is */ + /* supported by this font. So it really */ + /* means >= U+10000. */ +#define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */ + /* U+DB80-U+DBFF */ + /* U+DC00-U+DFFF */ +#define TT_UCR_NON_PLANE_0 TT_UCR_SURROGATES + /* Bit 58 Phoenician */ +#define TT_UCR_PHOENICIAN (1L << 26) /*U+10900-U+1091F*/ + /* Bit 59 CJK Unified Ideographs */ + /* CJK Radicals Supplement */ + /* Kangxi Radicals */ + /* Ideographic Description Characters */ + /* CJK Unified Ideographs Extension A */ + /* CJK Unified Ideographs Extension B */ + /* Kanbun */ +#define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */ + /* U+2E80-U+2EFF */ + /* U+2F00-U+2FDF */ + /* U+2FF0-U+2FFF */ + /* U+3400-U+4DB5 */ + /*U+20000-U+2A6DF*/ + /* U+3190-U+319F */ + /* Bit 60 Private Use */ +#define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */ + /* Bit 61 CJK Strokes */ + /* CJK Compatibility Ideographs */ + /* CJK Compatibility Ideographs Supplement */ +#define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+31C0-U+31EF */ + /* U+F900-U+FAFF */ + /*U+2F800-U+2FA1F*/ + /* Bit 62 Alphabetic Presentation Forms */ +#define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */ + /* Bit 63 Arabic Presentation Forms-A */ +#define TT_UCR_ARABIC_PRESENTATION_FORMS_A (1L << 31) /* U+FB50-U+FDFF */ + + /* ulUnicodeRange3 */ + /* --------------- */ + + /* Bit 64 Combining Half Marks */ +#define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */ + /* Bit 65 Vertical forms */ + /* CJK Compatibility Forms */ +#define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE10-U+FE1F */ + /* U+FE30-U+FE4F */ + /* Bit 66 Small Form Variants */ +#define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */ + /* Bit 67 Arabic Presentation Forms-B */ +#define TT_UCR_ARABIC_PRESENTATION_FORMS_B (1L << 3) /* U+FE70-U+FEFE */ + /* Bit 68 Halfwidth and Fullwidth Forms */ +#define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */ + /* Bit 69 Specials */ +#define TT_UCR_SPECIALS (1L << 5) /* U+FFF0-U+FFFD */ + /* Bit 70 Tibetan */ +#define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FFF */ + /* Bit 71 Syriac */ +#define TT_UCR_SYRIAC (1L << 7) /* U+0700-U+074F */ + /* Bit 72 Thaana */ +#define TT_UCR_THAANA (1L << 8) /* U+0780-U+07BF */ + /* Bit 73 Sinhala */ +#define TT_UCR_SINHALA (1L << 9) /* U+0D80-U+0DFF */ + /* Bit 74 Myanmar */ +#define TT_UCR_MYANMAR (1L << 10) /* U+1000-U+109F */ + /* Bit 75 Ethiopic */ + /* Ethiopic Supplement */ + /* Ethiopic Extended */ +#define TT_UCR_ETHIOPIC (1L << 11) /* U+1200-U+137F */ + /* U+1380-U+139F */ + /* U+2D80-U+2DDF */ + /* Bit 76 Cherokee */ +#define TT_UCR_CHEROKEE (1L << 12) /* U+13A0-U+13FF */ + /* Bit 77 Unified Canadian Aboriginal Syllabics */ +#define TT_UCR_CANADIAN_ABORIGINAL_SYLLABICS (1L << 13) /* U+1400-U+167F */ + /* Bit 78 Ogham */ +#define TT_UCR_OGHAM (1L << 14) /* U+1680-U+169F */ + /* Bit 79 Runic */ +#define TT_UCR_RUNIC (1L << 15) /* U+16A0-U+16FF */ + /* Bit 80 Khmer */ + /* Khmer Symbols */ +#define TT_UCR_KHMER (1L << 16) /* U+1780-U+17FF */ + /* U+19E0-U+19FF */ + /* Bit 81 Mongolian */ +#define TT_UCR_MONGOLIAN (1L << 17) /* U+1800-U+18AF */ + /* Bit 82 Braille Patterns */ +#define TT_UCR_BRAILLE (1L << 18) /* U+2800-U+28FF */ + /* Bit 83 Yi Syllables */ + /* Yi Radicals */ +#define TT_UCR_YI (1L << 19) /* U+A000-U+A48F */ + /* U+A490-U+A4CF */ + /* Bit 84 Tagalog */ + /* Hanunoo */ + /* Buhid */ + /* Tagbanwa */ +#define TT_UCR_PHILIPPINE (1L << 20) /* U+1700-U+171F */ + /* U+1720-U+173F */ + /* U+1740-U+175F */ + /* U+1760-U+177F */ + /* Bit 85 Old Italic */ +#define TT_UCR_OLD_ITALIC (1L << 21) /*U+10300-U+1032F*/ + /* Bit 86 Gothic */ +#define TT_UCR_GOTHIC (1L << 22) /*U+10330-U+1034F*/ + /* Bit 87 Deseret */ +#define TT_UCR_DESERET (1L << 23) /*U+10400-U+1044F*/ + /* Bit 88 Byzantine Musical Symbols */ + /* Musical Symbols */ + /* Ancient Greek Musical Notation */ +#define TT_UCR_MUSICAL_SYMBOLS (1L << 24) /*U+1D000-U+1D0FF*/ + /*U+1D100-U+1D1FF*/ + /*U+1D200-U+1D24F*/ + /* Bit 89 Mathematical Alphanumeric Symbols */ +#define TT_UCR_MATH_ALPHANUMERIC_SYMBOLS (1L << 25) /*U+1D400-U+1D7FF*/ + /* Bit 90 Private Use (plane 15) */ + /* Private Use (plane 16) */ +#define TT_UCR_PRIVATE_USE_SUPPLEMENTARY (1L << 26) /*U+F0000-U+FFFFD*/ + /*U+100000-U+10FFFD*/ + /* Bit 91 Variation Selectors */ + /* Variation Selectors Supplement */ +#define TT_UCR_VARIATION_SELECTORS (1L << 27) /* U+FE00-U+FE0F */ + /*U+E0100-U+E01EF*/ + /* Bit 92 Tags */ +#define TT_UCR_TAGS (1L << 28) /*U+E0000-U+E007F*/ + /* Bit 93 Limbu */ +#define TT_UCR_LIMBU (1L << 29) /* U+1900-U+194F */ + /* Bit 94 Tai Le */ +#define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */ + /* Bit 95 New Tai Lue */ +#define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */ + + /* ulUnicodeRange4 */ + /* --------------- */ + + /* Bit 96 Buginese */ +#define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */ + /* Bit 97 Glagolitic */ +#define TT_UCR_GLAGOLITIC (1L << 1) /* U+2C00-U+2C5F */ + /* Bit 98 Tifinagh */ +#define TT_UCR_TIFINAGH (1L << 2) /* U+2D30-U+2D7F */ + /* Bit 99 Yijing Hexagram Symbols */ +#define TT_UCR_YIJING (1L << 3) /* U+4DC0-U+4DFF */ + /* Bit 100 Syloti Nagri */ +#define TT_UCR_SYLOTI_NAGRI (1L << 4) /* U+A800-U+A82F */ + /* Bit 101 Linear B Syllabary */ + /* Linear B Ideograms */ + /* Aegean Numbers */ +#define TT_UCR_LINEAR_B (1L << 5) /*U+10000-U+1007F*/ + /*U+10080-U+100FF*/ + /*U+10100-U+1013F*/ + /* Bit 102 Ancient Greek Numbers */ +#define TT_UCR_ANCIENT_GREEK_NUMBERS (1L << 6) /*U+10140-U+1018F*/ + /* Bit 103 Ugaritic */ +#define TT_UCR_UGARITIC (1L << 7) /*U+10380-U+1039F*/ + /* Bit 104 Old Persian */ +#define TT_UCR_OLD_PERSIAN (1L << 8) /*U+103A0-U+103DF*/ + /* Bit 105 Shavian */ +#define TT_UCR_SHAVIAN (1L << 9) /*U+10450-U+1047F*/ + /* Bit 106 Osmanya */ +#define TT_UCR_OSMANYA (1L << 10) /*U+10480-U+104AF*/ + /* Bit 107 Cypriot Syllabary */ +#define TT_UCR_CYPRIOT_SYLLABARY (1L << 11) /*U+10800-U+1083F*/ + /* Bit 108 Kharoshthi */ +#define TT_UCR_KHAROSHTHI (1L << 12) /*U+10A00-U+10A5F*/ + /* Bit 109 Tai Xuan Jing Symbols */ +#define TT_UCR_TAI_XUAN_JING (1L << 13) /*U+1D300-U+1D35F*/ + /* Bit 110 Cuneiform */ + /* Cuneiform Numbers and Punctuation */ +#define TT_UCR_CUNEIFORM (1L << 14) /*U+12000-U+123FF*/ + /*U+12400-U+1247F*/ + /* Bit 111 Counting Rod Numerals */ +#define TT_UCR_COUNTING_ROD_NUMERALS (1L << 15) /*U+1D360-U+1D37F*/ + /* Bit 112 Sundanese */ +#define TT_UCR_SUNDANESE (1L << 16) /* U+1B80-U+1BBF */ + /* Bit 113 Lepcha */ +#define TT_UCR_LEPCHA (1L << 17) /* U+1C00-U+1C4F */ + /* Bit 114 Ol Chiki */ +#define TT_UCR_OL_CHIKI (1L << 18) /* U+1C50-U+1C7F */ + /* Bit 115 Saurashtra */ +#define TT_UCR_SAURASHTRA (1L << 19) /* U+A880-U+A8DF */ + /* Bit 116 Kayah Li */ +#define TT_UCR_KAYAH_LI (1L << 20) /* U+A900-U+A92F */ + /* Bit 117 Rejang */ +#define TT_UCR_REJANG (1L << 21) /* U+A930-U+A95F */ + /* Bit 118 Cham */ +#define TT_UCR_CHAM (1L << 22) /* U+AA00-U+AA5F */ + /* Bit 119 Ancient Symbols */ +#define TT_UCR_ANCIENT_SYMBOLS (1L << 23) /*U+10190-U+101CF*/ + /* Bit 120 Phaistos Disc */ +#define TT_UCR_PHAISTOS_DISC (1L << 24) /*U+101D0-U+101FF*/ + /* Bit 121 Carian */ + /* Lycian */ + /* Lydian */ +#define TT_UCR_OLD_ANATOLIAN (1L << 25) /*U+102A0-U+102DF*/ + /*U+10280-U+1029F*/ + /*U+10920-U+1093F*/ + /* Bit 122 Domino Tiles */ + /* Mahjong Tiles */ +#define TT_UCR_GAME_TILES (1L << 26) /*U+1F030-U+1F09F*/ + /*U+1F000-U+1F02F*/ + /* Bit 123-127 Reserved for process-internal usage */ + + /* */ + + /* for backward compatibility with older FreeType versions */ +#define TT_UCR_ARABIC_PRESENTATION_A \ + TT_UCR_ARABIC_PRESENTATION_FORMS_A +#define TT_UCR_ARABIC_PRESENTATION_B \ + TT_UCR_ARABIC_PRESENTATION_FORMS_B + +#define TT_UCR_COMBINING_DIACRITICS \ + TT_UCR_COMBINING_DIACRITICAL_MARKS +#define TT_UCR_COMBINING_DIACRITICS_SYMB \ + TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB + + +FT_END_HEADER + +#endif /* TTNAMEID_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttables.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttables.h new file mode 100644 index 0000000..a9f60e7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttables.h @@ -0,0 +1,855 @@ +/**************************************************************************** + * + * tttables.h + * + * Basic SFNT/TrueType tables definitions and interface + * (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef TTTABLES_H_ +#define TTTABLES_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + /************************************************************************** + * + * @section: + * truetype_tables + * + * @title: + * TrueType Tables + * + * @abstract: + * TrueType-specific table types and functions. + * + * @description: + * This section contains definitions of some basic tables specific to + * TrueType and OpenType as well as some routines used to access and + * process them. + * + * @order: + * TT_Header + * TT_HoriHeader + * TT_VertHeader + * TT_OS2 + * TT_Postscript + * TT_PCLT + * TT_MaxProfile + * + * FT_Sfnt_Tag + * FT_Get_Sfnt_Table + * FT_Load_Sfnt_Table + * FT_Sfnt_Table_Info + * + * FT_Get_CMap_Language_ID + * FT_Get_CMap_Format + * + * FT_PARAM_TAG_UNPATENTED_HINTING + * + */ + + + /************************************************************************** + * + * @struct: + * TT_Header + * + * @description: + * A structure to model a TrueType font header table. All fields follow + * the OpenType specification. The 64-bit timestamps are stored in + * two-element arrays `Created` and `Modified`, first the upper then + * the lower 32~bits. + */ + typedef struct TT_Header_ + { + FT_Fixed Table_Version; + FT_Fixed Font_Revision; + + FT_Long CheckSum_Adjust; + FT_Long Magic_Number; + + FT_UShort Flags; + FT_UShort Units_Per_EM; + + FT_ULong Created [2]; + FT_ULong Modified[2]; + + FT_Short xMin; + FT_Short yMin; + FT_Short xMax; + FT_Short yMax; + + FT_UShort Mac_Style; + FT_UShort Lowest_Rec_PPEM; + + FT_Short Font_Direction; + FT_Short Index_To_Loc_Format; + FT_Short Glyph_Data_Format; + + } TT_Header; + + + /************************************************************************** + * + * @struct: + * TT_HoriHeader + * + * @description: + * A structure to model a TrueType horizontal header, the 'hhea' table, + * as well as the corresponding horizontal metrics table, 'hmtx'. + * + * @fields: + * Version :: + * The table version. + * + * Ascender :: + * The font's ascender, i.e., the distance from the baseline to the + * top-most of all glyph points found in the font. + * + * This value is invalid in many fonts, as it is usually set by the + * font designer, and often reflects only a portion of the glyphs found + * in the font (maybe ASCII). + * + * You should use the `sTypoAscender` field of the 'OS/2' table instead + * if you want the correct one. + * + * Descender :: + * The font's descender, i.e., the distance from the baseline to the + * bottom-most of all glyph points found in the font. It is negative. + * + * This value is invalid in many fonts, as it is usually set by the + * font designer, and often reflects only a portion of the glyphs found + * in the font (maybe ASCII). + * + * You should use the `sTypoDescender` field of the 'OS/2' table + * instead if you want the correct one. + * + * Line_Gap :: + * The font's line gap, i.e., the distance to add to the ascender and + * descender to get the BTB, i.e., the baseline-to-baseline distance + * for the font. + * + * advance_Width_Max :: + * This field is the maximum of all advance widths found in the font. + * It can be used to compute the maximum width of an arbitrary string + * of text. + * + * min_Left_Side_Bearing :: + * The minimum left side bearing of all glyphs within the font. + * + * min_Right_Side_Bearing :: + * The minimum right side bearing of all glyphs within the font. + * + * xMax_Extent :: + * The maximum horizontal extent (i.e., the 'width' of a glyph's + * bounding box) for all glyphs in the font. + * + * caret_Slope_Rise :: + * The rise coefficient of the cursor's slope of the cursor + * (slope=rise/run). + * + * caret_Slope_Run :: + * The run coefficient of the cursor's slope. + * + * caret_Offset :: + * The cursor's offset for slanted fonts. + * + * Reserved :: + * 8~reserved bytes. + * + * metric_Data_Format :: + * Always~0. + * + * number_Of_HMetrics :: + * Number of HMetrics entries in the 'hmtx' table -- this value can be + * smaller than the total number of glyphs in the font. + * + * long_metrics :: + * A pointer into the 'hmtx' table. + * + * short_metrics :: + * A pointer into the 'hmtx' table. + * + * @note: + * For an OpenType variation font, the values of the following fields can + * change after a call to @FT_Set_Var_Design_Coordinates (and friends) if + * the font contains an 'MVAR' table: `caret_Slope_Rise`, + * `caret_Slope_Run`, and `caret_Offset`. + */ + typedef struct TT_HoriHeader_ + { + FT_Fixed Version; + FT_Short Ascender; + FT_Short Descender; + FT_Short Line_Gap; + + FT_UShort advance_Width_Max; /* advance width maximum */ + + FT_Short min_Left_Side_Bearing; /* minimum left-sb */ + FT_Short min_Right_Side_Bearing; /* minimum right-sb */ + FT_Short xMax_Extent; /* xmax extents */ + FT_Short caret_Slope_Rise; + FT_Short caret_Slope_Run; + FT_Short caret_Offset; + + FT_Short Reserved[4]; + + FT_Short metric_Data_Format; + FT_UShort number_Of_HMetrics; + + /* The following fields are not defined by the OpenType specification */ + /* but they are used to connect the metrics header to the relevant */ + /* 'hmtx' table. */ + + void* long_metrics; + void* short_metrics; + + } TT_HoriHeader; + + + /************************************************************************** + * + * @struct: + * TT_VertHeader + * + * @description: + * A structure used to model a TrueType vertical header, the 'vhea' + * table, as well as the corresponding vertical metrics table, 'vmtx'. + * + * @fields: + * Version :: + * The table version. + * + * Ascender :: + * The font's ascender, i.e., the distance from the baseline to the + * top-most of all glyph points found in the font. + * + * This value is invalid in many fonts, as it is usually set by the + * font designer, and often reflects only a portion of the glyphs found + * in the font (maybe ASCII). + * + * You should use the `sTypoAscender` field of the 'OS/2' table instead + * if you want the correct one. + * + * Descender :: + * The font's descender, i.e., the distance from the baseline to the + * bottom-most of all glyph points found in the font. It is negative. + * + * This value is invalid in many fonts, as it is usually set by the + * font designer, and often reflects only a portion of the glyphs found + * in the font (maybe ASCII). + * + * You should use the `sTypoDescender` field of the 'OS/2' table + * instead if you want the correct one. + * + * Line_Gap :: + * The font's line gap, i.e., the distance to add to the ascender and + * descender to get the BTB, i.e., the baseline-to-baseline distance + * for the font. + * + * advance_Height_Max :: + * This field is the maximum of all advance heights found in the font. + * It can be used to compute the maximum height of an arbitrary string + * of text. + * + * min_Top_Side_Bearing :: + * The minimum top side bearing of all glyphs within the font. + * + * min_Bottom_Side_Bearing :: + * The minimum bottom side bearing of all glyphs within the font. + * + * yMax_Extent :: + * The maximum vertical extent (i.e., the 'height' of a glyph's + * bounding box) for all glyphs in the font. + * + * caret_Slope_Rise :: + * The rise coefficient of the cursor's slope of the cursor + * (slope=rise/run). + * + * caret_Slope_Run :: + * The run coefficient of the cursor's slope. + * + * caret_Offset :: + * The cursor's offset for slanted fonts. + * + * Reserved :: + * 8~reserved bytes. + * + * metric_Data_Format :: + * Always~0. + * + * number_Of_VMetrics :: + * Number of VMetrics entries in the 'vmtx' table -- this value can be + * smaller than the total number of glyphs in the font. + * + * long_metrics :: + * A pointer into the 'vmtx' table. + * + * short_metrics :: + * A pointer into the 'vmtx' table. + * + * @note: + * For an OpenType variation font, the values of the following fields can + * change after a call to @FT_Set_Var_Design_Coordinates (and friends) if + * the font contains an 'MVAR' table: `Ascender`, `Descender`, + * `Line_Gap`, `caret_Slope_Rise`, `caret_Slope_Run`, and `caret_Offset`. + */ + typedef struct TT_VertHeader_ + { + FT_Fixed Version; + FT_Short Ascender; + FT_Short Descender; + FT_Short Line_Gap; + + FT_UShort advance_Height_Max; /* advance height maximum */ + + FT_Short min_Top_Side_Bearing; /* minimum top-sb */ + FT_Short min_Bottom_Side_Bearing; /* minimum bottom-sb */ + FT_Short yMax_Extent; /* ymax extents */ + FT_Short caret_Slope_Rise; + FT_Short caret_Slope_Run; + FT_Short caret_Offset; + + FT_Short Reserved[4]; + + FT_Short metric_Data_Format; + FT_UShort number_Of_VMetrics; + + /* The following fields are not defined by the OpenType specification */ + /* but they are used to connect the metrics header to the relevant */ + /* 'vmtx' table. */ + + void* long_metrics; + void* short_metrics; + + } TT_VertHeader; + + + /************************************************************************** + * + * @struct: + * TT_OS2 + * + * @description: + * A structure to model a TrueType 'OS/2' table. All fields comply to + * the OpenType specification. + * + * Note that we now support old Mac fonts that do not include an 'OS/2' + * table. In this case, the `version` field is always set to 0xFFFF. + * + * @note: + * For an OpenType variation font, the values of the following fields can + * change after a call to @FT_Set_Var_Design_Coordinates (and friends) if + * the font contains an 'MVAR' table: `sCapHeight`, `sTypoAscender`, + * `sTypoDescender`, `sTypoLineGap`, `sxHeight`, `usWinAscent`, + * `usWinDescent`, `yStrikeoutPosition`, `yStrikeoutSize`, + * `ySubscriptXOffset`, `ySubScriptXSize`, `ySubscriptYOffset`, + * `ySubscriptYSize`, `ySuperscriptXOffset`, `ySuperscriptXSize`, + * `ySuperscriptYOffset`, and `ySuperscriptYSize`. + * + * Possible values for bits in the `ulUnicodeRangeX` fields are given by + * the @TT_UCR_XXX macros. + */ + + typedef struct TT_OS2_ + { + FT_UShort version; /* 0x0001 - more or 0xFFFF */ + FT_Short xAvgCharWidth; + FT_UShort usWeightClass; + FT_UShort usWidthClass; + FT_UShort fsType; + FT_Short ySubscriptXSize; + FT_Short ySubscriptYSize; + FT_Short ySubscriptXOffset; + FT_Short ySubscriptYOffset; + FT_Short ySuperscriptXSize; + FT_Short ySuperscriptYSize; + FT_Short ySuperscriptXOffset; + FT_Short ySuperscriptYOffset; + FT_Short yStrikeoutSize; + FT_Short yStrikeoutPosition; + FT_Short sFamilyClass; + + FT_Byte panose[10]; + + FT_ULong ulUnicodeRange1; /* Bits 0-31 */ + FT_ULong ulUnicodeRange2; /* Bits 32-63 */ + FT_ULong ulUnicodeRange3; /* Bits 64-95 */ + FT_ULong ulUnicodeRange4; /* Bits 96-127 */ + + FT_Char achVendID[4]; + + FT_UShort fsSelection; + FT_UShort usFirstCharIndex; + FT_UShort usLastCharIndex; + FT_Short sTypoAscender; + FT_Short sTypoDescender; + FT_Short sTypoLineGap; + FT_UShort usWinAscent; + FT_UShort usWinDescent; + + /* only version 1 and higher: */ + + FT_ULong ulCodePageRange1; /* Bits 0-31 */ + FT_ULong ulCodePageRange2; /* Bits 32-63 */ + + /* only version 2 and higher: */ + + FT_Short sxHeight; + FT_Short sCapHeight; + FT_UShort usDefaultChar; + FT_UShort usBreakChar; + FT_UShort usMaxContext; + + /* only version 5 and higher: */ + + FT_UShort usLowerOpticalPointSize; /* in twips (1/20 points) */ + FT_UShort usUpperOpticalPointSize; /* in twips (1/20 points) */ + + } TT_OS2; + + + /************************************************************************** + * + * @struct: + * TT_Postscript + * + * @description: + * A structure to model a TrueType 'post' table. All fields comply to + * the OpenType specification. This structure does not reference a + * font's PostScript glyph names; use @FT_Get_Glyph_Name to retrieve + * them. + * + * @note: + * For an OpenType variation font, the values of the following fields can + * change after a call to @FT_Set_Var_Design_Coordinates (and friends) if + * the font contains an 'MVAR' table: `underlinePosition` and + * `underlineThickness`. + */ + typedef struct TT_Postscript_ + { + FT_Fixed FormatType; + FT_Fixed italicAngle; + FT_Short underlinePosition; + FT_Short underlineThickness; + FT_ULong isFixedPitch; + FT_ULong minMemType42; + FT_ULong maxMemType42; + FT_ULong minMemType1; + FT_ULong maxMemType1; + + /* Glyph names follow in the 'post' table, but we don't */ + /* load them by default. */ + + } TT_Postscript; + + + /************************************************************************** + * + * @struct: + * TT_PCLT + * + * @description: + * A structure to model a TrueType 'PCLT' table. All fields comply to + * the OpenType specification. + */ + typedef struct TT_PCLT_ + { + FT_Fixed Version; + FT_ULong FontNumber; + FT_UShort Pitch; + FT_UShort xHeight; + FT_UShort Style; + FT_UShort TypeFamily; + FT_UShort CapHeight; + FT_UShort SymbolSet; + FT_Char TypeFace[16]; + FT_Char CharacterComplement[8]; + FT_Char FileName[6]; + FT_Char StrokeWeight; + FT_Char WidthType; + FT_Byte SerifStyle; + FT_Byte Reserved; + + } TT_PCLT; + + + /************************************************************************** + * + * @struct: + * TT_MaxProfile + * + * @description: + * The maximum profile ('maxp') table contains many max values, which can + * be used to pre-allocate arrays for speeding up glyph loading and + * hinting. + * + * @fields: + * version :: + * The version number. + * + * numGlyphs :: + * The number of glyphs in this TrueType font. + * + * maxPoints :: + * The maximum number of points in a non-composite TrueType glyph. See + * also `maxCompositePoints`. + * + * maxContours :: + * The maximum number of contours in a non-composite TrueType glyph. + * See also `maxCompositeContours`. + * + * maxCompositePoints :: + * The maximum number of points in a composite TrueType glyph. See + * also `maxPoints`. + * + * maxCompositeContours :: + * The maximum number of contours in a composite TrueType glyph. See + * also `maxContours`. + * + * maxZones :: + * The maximum number of zones used for glyph hinting. + * + * maxTwilightPoints :: + * The maximum number of points in the twilight zone used for glyph + * hinting. + * + * maxStorage :: + * The maximum number of elements in the storage area used for glyph + * hinting. + * + * maxFunctionDefs :: + * The maximum number of function definitions in the TrueType bytecode + * for this font. + * + * maxInstructionDefs :: + * The maximum number of instruction definitions in the TrueType + * bytecode for this font. + * + * maxStackElements :: + * The maximum number of stack elements used during bytecode + * interpretation. + * + * maxSizeOfInstructions :: + * The maximum number of TrueType opcodes used for glyph hinting. + * + * maxComponentElements :: + * The maximum number of simple (i.e., non-composite) glyphs in a + * composite glyph. + * + * maxComponentDepth :: + * The maximum nesting depth of composite glyphs. + * + * @note: + * This structure is only used during font loading. + */ + typedef struct TT_MaxProfile_ + { + FT_Fixed version; + FT_UShort numGlyphs; + FT_UShort maxPoints; + FT_UShort maxContours; + FT_UShort maxCompositePoints; + FT_UShort maxCompositeContours; + FT_UShort maxZones; + FT_UShort maxTwilightPoints; + FT_UShort maxStorage; + FT_UShort maxFunctionDefs; + FT_UShort maxInstructionDefs; + FT_UShort maxStackElements; + FT_UShort maxSizeOfInstructions; + FT_UShort maxComponentElements; + FT_UShort maxComponentDepth; + + } TT_MaxProfile; + + + /************************************************************************** + * + * @enum: + * FT_Sfnt_Tag + * + * @description: + * An enumeration to specify indices of SFNT tables loaded and parsed by + * FreeType during initialization of an SFNT font. Used in the + * @FT_Get_Sfnt_Table API function. + * + * @values: + * FT_SFNT_HEAD :: + * To access the font's @TT_Header structure. + * + * FT_SFNT_MAXP :: + * To access the font's @TT_MaxProfile structure. + * + * FT_SFNT_OS2 :: + * To access the font's @TT_OS2 structure. + * + * FT_SFNT_HHEA :: + * To access the font's @TT_HoriHeader structure. + * + * FT_SFNT_VHEA :: + * To access the font's @TT_VertHeader structure. + * + * FT_SFNT_POST :: + * To access the font's @TT_Postscript structure. + * + * FT_SFNT_PCLT :: + * To access the font's @TT_PCLT structure. + */ + typedef enum FT_Sfnt_Tag_ + { + FT_SFNT_HEAD, + FT_SFNT_MAXP, + FT_SFNT_OS2, + FT_SFNT_HHEA, + FT_SFNT_VHEA, + FT_SFNT_POST, + FT_SFNT_PCLT, + + FT_SFNT_MAX + + } FT_Sfnt_Tag; + + /* these constants are deprecated; use the corresponding `FT_Sfnt_Tag` */ + /* values instead */ +#define ft_sfnt_head FT_SFNT_HEAD +#define ft_sfnt_maxp FT_SFNT_MAXP +#define ft_sfnt_os2 FT_SFNT_OS2 +#define ft_sfnt_hhea FT_SFNT_HHEA +#define ft_sfnt_vhea FT_SFNT_VHEA +#define ft_sfnt_post FT_SFNT_POST +#define ft_sfnt_pclt FT_SFNT_PCLT + + + /************************************************************************** + * + * @function: + * FT_Get_Sfnt_Table + * + * @description: + * Return a pointer to a given SFNT table stored within a face. + * + * @input: + * face :: + * A handle to the source. + * + * tag :: + * The index of the SFNT table. + * + * @return: + * A type-less pointer to the table. This will be `NULL` in case of + * error, or if the corresponding table was not found **OR** loaded from + * the file. + * + * Use a typecast according to `tag` to access the structure elements. + * + * @note: + * The table is owned by the face object and disappears with it. + * + * This function is only useful to access SFNT tables that are loaded by + * the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for a + * list. + * + * @example: + * Here is an example demonstrating access to the 'vhea' table. + * + * ``` + * TT_VertHeader* vert_header; + * + * + * vert_header = + * (TT_VertHeader*)FT_Get_Sfnt_Table( face, FT_SFNT_VHEA ); + * ``` + */ + FT_EXPORT( void* ) + FT_Get_Sfnt_Table( FT_Face face, + FT_Sfnt_Tag tag ); + + + /************************************************************************** + * + * @function: + * FT_Load_Sfnt_Table + * + * @description: + * Load any SFNT font table into client memory. + * + * @input: + * face :: + * A handle to the source face. + * + * tag :: + * The four-byte tag of the table to load. Use value~0 if you want to + * access the whole font file. Otherwise, you can use one of the + * definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new + * one with @FT_MAKE_TAG. + * + * offset :: + * The starting offset in the table (or file if tag~==~0). + * + * @output: + * buffer :: + * The target buffer address. The client must ensure that the memory + * array is big enough to hold the data. + * + * @inout: + * length :: + * If the `length` parameter is `NULL`, try to load the whole table. + * Return an error code if it fails. + * + * Else, if `*length` is~0, exit immediately while returning the + * table's (or file) full size in it. + * + * Else the number of bytes to read from the table or file, from the + * starting offset. + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * If you need to determine the table's length you should first call this + * function with `*length` set to~0, as in the following example: + * + * ``` + * FT_ULong length = 0; + * + * + * error = FT_Load_Sfnt_Table( face, tag, 0, NULL, &length ); + * if ( error ) { ... table does not exist ... } + * + * buffer = malloc( length ); + * if ( buffer == NULL ) { ... not enough memory ... } + * + * error = FT_Load_Sfnt_Table( face, tag, 0, buffer, &length ); + * if ( error ) { ... could not load table ... } + * ``` + * + * Note that structures like @TT_Header or @TT_OS2 can't be used with + * this function; they are limited to @FT_Get_Sfnt_Table. Reason is that + * those structures depend on the processor architecture, with varying + * size (e.g. 32bit vs. 64bit) or order (big endian vs. little endian). + * + */ + FT_EXPORT( FT_Error ) + FT_Load_Sfnt_Table( FT_Face face, + FT_ULong tag, + FT_Long offset, + FT_Byte* buffer, + FT_ULong* length ); + + + /************************************************************************** + * + * @function: + * FT_Sfnt_Table_Info + * + * @description: + * Return information on an SFNT table. + * + * @input: + * face :: + * A handle to the source face. + * + * table_index :: + * The index of an SFNT table. The function returns + * FT_Err_Table_Missing for an invalid value. + * + * @inout: + * tag :: + * The name tag of the SFNT table. If the value is `NULL`, + * `table_index` is ignored, and `length` returns the number of SFNT + * tables in the font. + * + * @output: + * length :: + * The length of the SFNT table (or the number of SFNT tables, + * depending on `tag`). + * + * @return: + * FreeType error code. 0~means success. + * + * @note: + * While parsing fonts, FreeType handles SFNT tables with length zero as + * missing. + * + */ + FT_EXPORT( FT_Error ) + FT_Sfnt_Table_Info( FT_Face face, + FT_UInt table_index, + FT_ULong *tag, + FT_ULong *length ); + + + /************************************************************************** + * + * @function: + * FT_Get_CMap_Language_ID + * + * @description: + * Return cmap language ID as specified in the OpenType standard. + * Definitions of language ID values are in file @FT_TRUETYPE_IDS_H. + * + * @input: + * charmap :: + * The target charmap. + * + * @return: + * The language ID of `charmap`. If `charmap` doesn't belong to an SFNT + * face, just return~0 as the default value. + * + * For a format~14 cmap (to access Unicode IVS), the return value is + * 0xFFFFFFFF. + */ + FT_EXPORT( FT_ULong ) + FT_Get_CMap_Language_ID( FT_CharMap charmap ); + + + /************************************************************************** + * + * @function: + * FT_Get_CMap_Format + * + * @description: + * Return the format of an SFNT 'cmap' table. + * + * @input: + * charmap :: + * The target charmap. + * + * @return: + * The format of `charmap`. If `charmap` doesn't belong to an SFNT face, + * return -1. + */ + FT_EXPORT( FT_Long ) + FT_Get_CMap_Format( FT_CharMap charmap ); + + /* */ + + +FT_END_HEADER + +#endif /* TTTABLES_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttags.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttags.h new file mode 100644 index 0000000..9bf4fca --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/freetype/tttags.h @@ -0,0 +1,124 @@ +/**************************************************************************** + * + * tttags.h + * + * Tags for TrueType and OpenType tables (specification only). + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + +#ifndef TTAGS_H_ +#define TTAGS_H_ + + +#include + +#ifdef FREETYPE_H +#error "freetype.h of FreeType 1 has been loaded!" +#error "Please fix the directory search order for header files" +#error "so that freetype.h of FreeType 2 is found first." +#endif + + +FT_BEGIN_HEADER + + +#define TTAG_avar FT_MAKE_TAG( 'a', 'v', 'a', 'r' ) +#define TTAG_BASE FT_MAKE_TAG( 'B', 'A', 'S', 'E' ) +#define TTAG_bdat FT_MAKE_TAG( 'b', 'd', 'a', 't' ) +#define TTAG_BDF FT_MAKE_TAG( 'B', 'D', 'F', ' ' ) +#define TTAG_bhed FT_MAKE_TAG( 'b', 'h', 'e', 'd' ) +#define TTAG_bloc FT_MAKE_TAG( 'b', 'l', 'o', 'c' ) +#define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' ) +#define TTAG_CBDT FT_MAKE_TAG( 'C', 'B', 'D', 'T' ) +#define TTAG_CBLC FT_MAKE_TAG( 'C', 'B', 'L', 'C' ) +#define TTAG_CFF FT_MAKE_TAG( 'C', 'F', 'F', ' ' ) +#define TTAG_CFF2 FT_MAKE_TAG( 'C', 'F', 'F', '2' ) +#define TTAG_CID FT_MAKE_TAG( 'C', 'I', 'D', ' ' ) +#define TTAG_cmap FT_MAKE_TAG( 'c', 'm', 'a', 'p' ) +#define TTAG_COLR FT_MAKE_TAG( 'C', 'O', 'L', 'R' ) +#define TTAG_CPAL FT_MAKE_TAG( 'C', 'P', 'A', 'L' ) +#define TTAG_cvar FT_MAKE_TAG( 'c', 'v', 'a', 'r' ) +#define TTAG_cvt FT_MAKE_TAG( 'c', 'v', 't', ' ' ) +#define TTAG_DSIG FT_MAKE_TAG( 'D', 'S', 'I', 'G' ) +#define TTAG_EBDT FT_MAKE_TAG( 'E', 'B', 'D', 'T' ) +#define TTAG_EBLC FT_MAKE_TAG( 'E', 'B', 'L', 'C' ) +#define TTAG_EBSC FT_MAKE_TAG( 'E', 'B', 'S', 'C' ) +#define TTAG_feat FT_MAKE_TAG( 'f', 'e', 'a', 't' ) +#define TTAG_FOND FT_MAKE_TAG( 'F', 'O', 'N', 'D' ) +#define TTAG_fpgm FT_MAKE_TAG( 'f', 'p', 'g', 'm' ) +#define TTAG_fvar FT_MAKE_TAG( 'f', 'v', 'a', 'r' ) +#define TTAG_gasp FT_MAKE_TAG( 'g', 'a', 's', 'p' ) +#define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' ) +#define TTAG_glyf FT_MAKE_TAG( 'g', 'l', 'y', 'f' ) +#define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' ) +#define TTAG_GSUB FT_MAKE_TAG( 'G', 'S', 'U', 'B' ) +#define TTAG_gvar FT_MAKE_TAG( 'g', 'v', 'a', 'r' ) +#define TTAG_HVAR FT_MAKE_TAG( 'H', 'V', 'A', 'R' ) +#define TTAG_hdmx FT_MAKE_TAG( 'h', 'd', 'm', 'x' ) +#define TTAG_head FT_MAKE_TAG( 'h', 'e', 'a', 'd' ) +#define TTAG_hhea FT_MAKE_TAG( 'h', 'h', 'e', 'a' ) +#define TTAG_hmtx FT_MAKE_TAG( 'h', 'm', 't', 'x' ) +#define TTAG_JSTF FT_MAKE_TAG( 'J', 'S', 'T', 'F' ) +#define TTAG_just FT_MAKE_TAG( 'j', 'u', 's', 't' ) +#define TTAG_kern FT_MAKE_TAG( 'k', 'e', 'r', 'n' ) +#define TTAG_lcar FT_MAKE_TAG( 'l', 'c', 'a', 'r' ) +#define TTAG_loca FT_MAKE_TAG( 'l', 'o', 'c', 'a' ) +#define TTAG_LTSH FT_MAKE_TAG( 'L', 'T', 'S', 'H' ) +#define TTAG_LWFN FT_MAKE_TAG( 'L', 'W', 'F', 'N' ) +#define TTAG_MATH FT_MAKE_TAG( 'M', 'A', 'T', 'H' ) +#define TTAG_maxp FT_MAKE_TAG( 'm', 'a', 'x', 'p' ) +#define TTAG_META FT_MAKE_TAG( 'M', 'E', 'T', 'A' ) +#define TTAG_MMFX FT_MAKE_TAG( 'M', 'M', 'F', 'X' ) +#define TTAG_MMSD FT_MAKE_TAG( 'M', 'M', 'S', 'D' ) +#define TTAG_mort FT_MAKE_TAG( 'm', 'o', 'r', 't' ) +#define TTAG_morx FT_MAKE_TAG( 'm', 'o', 'r', 'x' ) +#define TTAG_MVAR FT_MAKE_TAG( 'M', 'V', 'A', 'R' ) +#define TTAG_name FT_MAKE_TAG( 'n', 'a', 'm', 'e' ) +#define TTAG_opbd FT_MAKE_TAG( 'o', 'p', 'b', 'd' ) +#define TTAG_OS2 FT_MAKE_TAG( 'O', 'S', '/', '2' ) +#define TTAG_OTTO FT_MAKE_TAG( 'O', 'T', 'T', 'O' ) +#define TTAG_PCLT FT_MAKE_TAG( 'P', 'C', 'L', 'T' ) +#define TTAG_POST FT_MAKE_TAG( 'P', 'O', 'S', 'T' ) +#define TTAG_post FT_MAKE_TAG( 'p', 'o', 's', 't' ) +#define TTAG_prep FT_MAKE_TAG( 'p', 'r', 'e', 'p' ) +#define TTAG_prop FT_MAKE_TAG( 'p', 'r', 'o', 'p' ) +#define TTAG_sbix FT_MAKE_TAG( 's', 'b', 'i', 'x' ) +#define TTAG_sfnt FT_MAKE_TAG( 's', 'f', 'n', 't' ) +#define TTAG_SING FT_MAKE_TAG( 'S', 'I', 'N', 'G' ) +#define TTAG_SVG FT_MAKE_TAG( 'S', 'V', 'G', ' ' ) +#define TTAG_trak FT_MAKE_TAG( 't', 'r', 'a', 'k' ) +#define TTAG_true FT_MAKE_TAG( 't', 'r', 'u', 'e' ) +#define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' ) +#define TTAG_ttcf FT_MAKE_TAG( 't', 't', 'c', 'f' ) +#define TTAG_TYP1 FT_MAKE_TAG( 'T', 'Y', 'P', '1' ) +#define TTAG_typ1 FT_MAKE_TAG( 't', 'y', 'p', '1' ) +#define TTAG_VDMX FT_MAKE_TAG( 'V', 'D', 'M', 'X' ) +#define TTAG_vhea FT_MAKE_TAG( 'v', 'h', 'e', 'a' ) +#define TTAG_vmtx FT_MAKE_TAG( 'v', 'm', 't', 'x' ) +#define TTAG_VVAR FT_MAKE_TAG( 'V', 'V', 'A', 'R' ) +#define TTAG_wOFF FT_MAKE_TAG( 'w', 'O', 'F', 'F' ) +#define TTAG_wOF2 FT_MAKE_TAG( 'w', 'O', 'F', '2' ) + +/* used by "Keyboard.dfont" on legacy Mac OS X */ +#define TTAG_0xA5kbd FT_MAKE_TAG( 0xA5, 'k', 'b', 'd' ) + +/* used by "LastResort.dfont" on legacy Mac OS X */ +#define TTAG_0xA5lst FT_MAKE_TAG( 0xA5, 'l', 's', 't' ) + + +FT_END_HEADER + +#endif /* TTAGS_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ft2build.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ft2build.h new file mode 100644 index 0000000..58491ce --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/ft2build.h @@ -0,0 +1,42 @@ +/**************************************************************************** + * + * ft2build.h + * + * FreeType 2 build and setup macros. + * + * Copyright (C) 1996-2023 by + * David Turner, Robert Wilhelm, and Werner Lemberg. + * + * This file is part of the FreeType project, and may only be used, + * modified, and distributed under the terms of the FreeType project + * license, LICENSE.TXT. By continuing to use, modify, or distribute + * this file you indicate that you have read the license and + * understand and accept it fully. + * + */ + + + /************************************************************************** + * + * This is the 'entry point' for FreeType header file inclusions, to be + * loaded before all other header files. + * + * A typical example is + * + * ``` + * #include + * #include + * ``` + * + */ + + +#ifndef FT2BUILD_H_ +#define FT2BUILD_H_ + +#include + +#endif /* FT2BUILD_H_ */ + + +/* END */ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.h new file mode 100644 index 0000000..92ea2bb --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.h @@ -0,0 +1,157 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_ANY_H__ +#define GOOGLE_PROTOBUF_ANY_H__ + +#include + +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +class FieldDescriptor; +class Message; + +namespace internal { + +extern const char kAnyFullTypeName[]; // "google.protobuf.Any". +extern const char kTypeGoogleApisComPrefix[]; // "type.googleapis.com/". +extern const char kTypeGoogleProdComPrefix[]; // "type.googleprod.com/". + +std::string GetTypeUrl(StringPiece message_name, + StringPiece type_url_prefix); + +// Helper class used to implement google::protobuf::Any. +class PROTOBUF_EXPORT AnyMetadata { + typedef ArenaStringPtr UrlType; + typedef ArenaStringPtr ValueType; + public: + // AnyMetadata does not take ownership of "type_url" and "value". + constexpr AnyMetadata(UrlType* type_url, ValueType* value) + : type_url_(type_url), value_(value) {} + + // Packs a message using the default type URL prefix: "type.googleapis.com". + // The resulted type URL will be "type.googleapis.com/". + // Returns false if serializing the message failed. + template + bool PackFrom(Arena* arena, const T& message) { + return InternalPackFrom(arena, message, kTypeGoogleApisComPrefix, + T::FullMessageName()); + } + + bool PackFrom(Arena* arena, const Message& message); + + // Packs a message using the given type URL prefix. The type URL will be + // constructed by concatenating the message type's full name to the prefix + // with an optional "/" separator if the prefix doesn't already end with "/". + // For example, both PackFrom(message, "type.googleapis.com") and + // PackFrom(message, "type.googleapis.com/") yield the same result type + // URL: "type.googleapis.com/". + // Returns false if serializing the message failed. + template + bool PackFrom(Arena* arena, const T& message, + StringPiece type_url_prefix) { + return InternalPackFrom(arena, message, type_url_prefix, + T::FullMessageName()); + } + + bool PackFrom(Arena* arena, const Message& message, + StringPiece type_url_prefix); + + // Unpacks the payload into the given message. Returns false if the message's + // type doesn't match the type specified in the type URL (i.e., the full + // name after the last "/" of the type URL doesn't match the message's actual + // full name) or parsing the payload has failed. + template + bool UnpackTo(T* message) const { + return InternalUnpackTo(T::FullMessageName(), message); + } + + bool UnpackTo(Message* message) const; + + // Checks whether the type specified in the type URL matches the given type. + // A type is considered matching if its full name matches the full name after + // the last "/" in the type URL. + template + bool Is() const { + return InternalIs(T::FullMessageName()); + } + + private: + bool InternalPackFrom(Arena* arena, const MessageLite& message, + StringPiece type_url_prefix, + StringPiece type_name); + bool InternalUnpackTo(StringPiece type_name, + MessageLite* message) const; + bool InternalIs(StringPiece type_name) const; + + UrlType* type_url_; + ValueType* value_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(AnyMetadata); +}; + +// Get the proto type name from Any::type_url value. For example, passing +// "type.googleapis.com/rpc.QueryOrigin" will return "rpc.QueryOrigin" in +// *full_type_name. Returns false if the type_url does not have a "/" +// in the type url separating the full type name. +// +// NOTE: this function is available publicly as a static method on the +// generated message type: google::protobuf::Any::ParseAnyTypeUrl() +bool ParseAnyTypeUrl(StringPiece type_url, std::string* full_type_name); + +// Get the proto type name and prefix from Any::type_url value. For example, +// passing "type.googleapis.com/rpc.QueryOrigin" will return +// "type.googleapis.com/" in *url_prefix and "rpc.QueryOrigin" in +// *full_type_name. Returns false if the type_url does not have a "/" in the +// type url separating the full type name. +bool ParseAnyTypeUrl(StringPiece type_url, std::string* url_prefix, + std::string* full_type_name); + +// See if message is of type google.protobuf.Any, if so, return the descriptors +// for "type_url" and "value" fields. +bool GetAnyFieldDescriptors(const Message& message, + const FieldDescriptor** type_url_field, + const FieldDescriptor** value_field); + +} // namespace internal +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_ANY_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.pb.h new file mode 100644 index 0000000..8ed4b18 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/any.pb.h @@ -0,0 +1,384 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/protobuf/any.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fany_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fany_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto PROTOBUF_EXPORT +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fany_2eproto { + static const uint32_t offsets[]; +}; +PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fany_2eproto; +PROTOBUF_NAMESPACE_OPEN +class Any; +struct AnyDefaultTypeInternal; +PROTOBUF_EXPORT extern AnyDefaultTypeInternal _Any_default_instance_; +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Any* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Any>(Arena*); +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN + +// =================================================================== + +class PROTOBUF_EXPORT Any final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Any) */ { + public: + inline Any() : Any(nullptr) {} + ~Any() override; + explicit PROTOBUF_CONSTEXPR Any(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Any(const Any& from); + Any(Any&& from) noexcept + : Any() { + *this = ::std::move(from); + } + + inline Any& operator=(const Any& from) { + CopyFrom(from); + return *this; + } + inline Any& operator=(Any&& 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 Any& default_instance() { + return *internal_default_instance(); + } + static inline const Any* internal_default_instance() { + return reinterpret_cast( + &_Any_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + // implements Any ----------------------------------------------- + + bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message) { + GOOGLE_DCHECK_NE(&message, this); + return _impl_._any_metadata_.PackFrom(GetArena(), message); + } + bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message, + ::PROTOBUF_NAMESPACE_ID::ConstStringParam type_url_prefix) { + GOOGLE_DCHECK_NE(&message, this); + return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix); + } + bool UnpackTo(::PROTOBUF_NAMESPACE_ID::Message* message) const { + return _impl_._any_metadata_.UnpackTo(message); + } + static bool GetAnyFieldDescriptors( + const ::PROTOBUF_NAMESPACE_ID::Message& message, + const ::PROTOBUF_NAMESPACE_ID::FieldDescriptor** type_url_field, + const ::PROTOBUF_NAMESPACE_ID::FieldDescriptor** value_field); + template ::value>::type> + bool PackFrom(const T& message) { + return _impl_._any_metadata_.PackFrom(GetArena(), message); + } + template ::value>::type> + bool PackFrom(const T& message, + ::PROTOBUF_NAMESPACE_ID::ConstStringParam type_url_prefix) { + return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix);} + template ::value>::type> + bool UnpackTo(T* message) const { + return _impl_._any_metadata_.UnpackTo(message); + } + template bool Is() const { + return _impl_._any_metadata_.Is(); + } + static bool ParseAnyTypeUrl(::PROTOBUF_NAMESPACE_ID::ConstStringParam type_url, + std::string* full_type_name); + friend void swap(Any& a, Any& b) { + a.Swap(&b); + } + inline void Swap(Any* 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(Any* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Any* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Any& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Any& from) { + Any::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(Any* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.Any"; + } + protected: + explicit Any(::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 { + kTypeUrlFieldNumber = 1, + kValueFieldNumber = 2, + }; + // string type_url = 1; + void clear_type_url(); + const std::string& type_url() const; + template + void set_type_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_type_url(); + PROTOBUF_NODISCARD std::string* release_type_url(); + void set_allocated_type_url(std::string* type_url); + private: + const std::string& _internal_type_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); + std::string* _internal_mutable_type_url(); + public: + + // bytes value = 2; + void clear_value(); + const std::string& value() const; + template + void set_value(ArgT0&& arg0, ArgT... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); + std::string* _internal_mutable_value(); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.Any) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata _any_metadata_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fany_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Any + +// string type_url = 1; +inline void Any::clear_type_url() { + _impl_.type_url_.ClearToEmpty(); +} +inline const std::string& Any::type_url() const { + // @@protoc_insertion_point(field_get:google.protobuf.Any.type_url) + return _internal_type_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Any::set_type_url(ArgT0&& arg0, ArgT... args) { + + _impl_.type_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Any.type_url) +} +inline std::string* Any::mutable_type_url() { + std::string* _s = _internal_mutable_type_url(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Any.type_url) + return _s; +} +inline const std::string& Any::_internal_type_url() const { + return _impl_.type_url_.Get(); +} +inline void Any::_internal_set_type_url(const std::string& value) { + + _impl_.type_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* Any::_internal_mutable_type_url() { + + return _impl_.type_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* Any::release_type_url() { + // @@protoc_insertion_point(field_release:google.protobuf.Any.type_url) + return _impl_.type_url_.Release(); +} +inline void Any::set_allocated_type_url(std::string* type_url) { + if (type_url != nullptr) { + + } else { + + } + _impl_.type_url_.SetAllocated(type_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.type_url_.IsDefault()) { + _impl_.type_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.type_url) +} + +// bytes value = 2; +inline void Any::clear_value() { + _impl_.value_.ClearToEmpty(); +} +inline const std::string& Any::value() const { + // @@protoc_insertion_point(field_get:google.protobuf.Any.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Any::set_value(ArgT0&& arg0, ArgT... args) { + + _impl_.value_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Any.value) +} +inline std::string* Any::mutable_value() { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Any.value) + return _s; +} +inline const std::string& Any::_internal_value() const { + return _impl_.value_.Get(); +} +inline void Any::_internal_set_value(const std::string& value) { + + _impl_.value_.Set(value, GetArenaForAllocation()); +} +inline std::string* Any::_internal_mutable_value() { + + return _impl_.value_.Mutable(GetArenaForAllocation()); +} +inline std::string* Any::release_value() { + // @@protoc_insertion_point(field_release:google.protobuf.Any.value) + return _impl_.value_.Release(); +} +inline void Any::set_allocated_value(std::string* value) { + if (value != nullptr) { + + } else { + + } + _impl_.value_.SetAllocated(value, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.value) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fany_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/api.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/api.pb.h new file mode 100644 index 0000000..dceb70c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/api.pb.h @@ -0,0 +1,1437 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/protobuf/api.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto { + static const uint32_t offsets[]; +}; +PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto; +PROTOBUF_NAMESPACE_OPEN +class Api; +struct ApiDefaultTypeInternal; +PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_; +class Method; +struct MethodDefaultTypeInternal; +PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_; +class Mixin; +struct MixinDefaultTypeInternal; +PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_; +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Api>(Arena*); +template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Method>(Arena*); +template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Mixin>(Arena*); +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN + +// =================================================================== + +class PROTOBUF_EXPORT Api final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ { + public: + inline Api() : Api(nullptr) {} + ~Api() override; + explicit PROTOBUF_CONSTEXPR Api(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Api(const Api& from); + Api(Api&& from) noexcept + : Api() { + *this = ::std::move(from); + } + + inline Api& operator=(const Api& from) { + CopyFrom(from); + return *this; + } + inline Api& operator=(Api&& 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 Api& default_instance() { + return *internal_default_instance(); + } + static inline const Api* internal_default_instance() { + return reinterpret_cast( + &_Api_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(Api& a, Api& b) { + a.Swap(&b); + } + inline void Swap(Api* 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(Api* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Api* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Api& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Api& from) { + Api::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(Api* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.Api"; + } + protected: + explicit Api(::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 { + kMethodsFieldNumber = 2, + kOptionsFieldNumber = 3, + kMixinsFieldNumber = 6, + kNameFieldNumber = 1, + kVersionFieldNumber = 4, + kSourceContextFieldNumber = 5, + kSyntaxFieldNumber = 7, + }; + // repeated .google.protobuf.Method methods = 2; + int methods_size() const; + private: + int _internal_methods_size() const; + public: + void clear_methods(); + ::PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >* + mutable_methods(); + private: + const ::PROTOBUF_NAMESPACE_ID::Method& _internal_methods(int index) const; + ::PROTOBUF_NAMESPACE_ID::Method* _internal_add_methods(); + public: + const ::PROTOBUF_NAMESPACE_ID::Method& methods(int index) const; + ::PROTOBUF_NAMESPACE_ID::Method* add_methods(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >& + methods() const; + + // repeated .google.protobuf.Option options = 3; + int options_size() const; + private: + int _internal_options_size() const; + public: + void clear_options(); + ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* + mutable_options(); + private: + const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; + ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); + public: + const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; + ::PROTOBUF_NAMESPACE_ID::Option* add_options(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& + options() const; + + // repeated .google.protobuf.Mixin mixins = 6; + int mixins_size() const; + private: + int _internal_mixins_size() const; + public: + void clear_mixins(); + ::PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >* + mutable_mixins(); + private: + const ::PROTOBUF_NAMESPACE_ID::Mixin& _internal_mixins(int index) const; + ::PROTOBUF_NAMESPACE_ID::Mixin* _internal_add_mixins(); + public: + const ::PROTOBUF_NAMESPACE_ID::Mixin& mixins(int index) const; + ::PROTOBUF_NAMESPACE_ID::Mixin* add_mixins(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >& + mixins() const; + + // 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 version = 4; + void clear_version(); + const std::string& version() const; + template + void set_version(ArgT0&& arg0, ArgT... args); + std::string* mutable_version(); + PROTOBUF_NODISCARD std::string* release_version(); + void set_allocated_version(std::string* version); + private: + const std::string& _internal_version() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); + std::string* _internal_mutable_version(); + public: + + // .google.protobuf.SourceContext source_context = 5; + bool has_source_context() const; + private: + bool _internal_has_source_context() const; + public: + void clear_source_context(); + const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); + ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); + void set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); + private: + const ::PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const; + ::PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context(); + public: + void unsafe_arena_set_allocated_source_context( + ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); + ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); + + // .google.protobuf.Syntax syntax = 7; + void clear_syntax(); + ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; + void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); + private: + ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; + void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.Api) + 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::Method > methods_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option > options_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin > mixins_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; + ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context_; + int syntax_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; +}; +// ------------------------------------------------------------------- + +class PROTOBUF_EXPORT Method final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ { + public: + inline Method() : Method(nullptr) {} + ~Method() override; + explicit PROTOBUF_CONSTEXPR Method(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Method(const Method& from); + Method(Method&& from) noexcept + : Method() { + *this = ::std::move(from); + } + + inline Method& operator=(const Method& from) { + CopyFrom(from); + return *this; + } + inline Method& operator=(Method&& 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 Method& default_instance() { + return *internal_default_instance(); + } + static inline const Method* internal_default_instance() { + return reinterpret_cast( + &_Method_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(Method& a, Method& b) { + a.Swap(&b); + } + inline void Swap(Method* 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(Method* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Method* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Method& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Method& from) { + Method::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(Method* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.Method"; + } + protected: + explicit Method(::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 { + kOptionsFieldNumber = 6, + kNameFieldNumber = 1, + kRequestTypeUrlFieldNumber = 2, + kResponseTypeUrlFieldNumber = 4, + kRequestStreamingFieldNumber = 3, + kResponseStreamingFieldNumber = 5, + kSyntaxFieldNumber = 7, + }; + // repeated .google.protobuf.Option options = 6; + int options_size() const; + private: + int _internal_options_size() const; + public: + void clear_options(); + ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* + mutable_options(); + private: + const ::PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const; + ::PROTOBUF_NAMESPACE_ID::Option* _internal_add_options(); + public: + const ::PROTOBUF_NAMESPACE_ID::Option& options(int index) const; + ::PROTOBUF_NAMESPACE_ID::Option* add_options(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& + options() const; + + // 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 request_type_url = 2; + void clear_request_type_url(); + const std::string& request_type_url() const; + template + void set_request_type_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_request_type_url(); + PROTOBUF_NODISCARD std::string* release_request_type_url(); + void set_allocated_request_type_url(std::string* request_type_url); + private: + const std::string& _internal_request_type_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(const std::string& value); + std::string* _internal_mutable_request_type_url(); + public: + + // string response_type_url = 4; + void clear_response_type_url(); + const std::string& response_type_url() const; + template + void set_response_type_url(ArgT0&& arg0, ArgT... args); + std::string* mutable_response_type_url(); + PROTOBUF_NODISCARD std::string* release_response_type_url(); + void set_allocated_response_type_url(std::string* response_type_url); + private: + const std::string& _internal_response_type_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(const std::string& value); + std::string* _internal_mutable_response_type_url(); + public: + + // bool request_streaming = 3; + void clear_request_streaming(); + bool request_streaming() const; + void set_request_streaming(bool value); + private: + bool _internal_request_streaming() const; + void _internal_set_request_streaming(bool value); + public: + + // bool response_streaming = 5; + void clear_response_streaming(); + bool response_streaming() const; + void set_response_streaming(bool value); + private: + bool _internal_response_streaming() const; + void _internal_set_response_streaming(bool value); + public: + + // .google.protobuf.Syntax syntax = 7; + void clear_syntax(); + ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; + void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); + private: + ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; + void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.Method) + 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::Option > options_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_; + bool request_streaming_; + bool response_streaming_; + int syntax_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; +}; +// ------------------------------------------------------------------- + +class PROTOBUF_EXPORT Mixin final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ { + public: + inline Mixin() : Mixin(nullptr) {} + ~Mixin() override; + explicit PROTOBUF_CONSTEXPR Mixin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Mixin(const Mixin& from); + Mixin(Mixin&& from) noexcept + : Mixin() { + *this = ::std::move(from); + } + + inline Mixin& operator=(const Mixin& from) { + CopyFrom(from); + return *this; + } + inline Mixin& operator=(Mixin&& 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 Mixin& default_instance() { + return *internal_default_instance(); + } + static inline const Mixin* internal_default_instance() { + return reinterpret_cast( + &_Mixin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(Mixin& a, Mixin& b) { + a.Swap(&b); + } + inline void Swap(Mixin* 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(Mixin* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Mixin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Mixin& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Mixin& from) { + Mixin::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(Mixin* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.Mixin"; + } + protected: + explicit Mixin(::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, + kRootFieldNumber = 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 root = 2; + void clear_root(); + const std::string& root() const; + template + void set_root(ArgT0&& arg0, ArgT... args); + std::string* mutable_root(); + PROTOBUF_NODISCARD std::string* release_root(); + void set_allocated_root(std::string* root); + private: + const std::string& _internal_root() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_root(const std::string& value); + std::string* _internal_mutable_root(); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.Mixin) + 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 root_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Api + +// string name = 1; +inline void Api::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Api::name() const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Api::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Api.name) +} +inline std::string* Api::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name) + return _s; +} +inline const std::string& Api::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Api::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Api::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Api::release_name() { + // @@protoc_insertion_point(field_release:google.protobuf.Api.name) + return _impl_.name_.Release(); +} +inline void Api::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:google.protobuf.Api.name) +} + +// repeated .google.protobuf.Method methods = 2; +inline int Api::_internal_methods_size() const { + return _impl_.methods_.size(); +} +inline int Api::methods_size() const { + return _internal_methods_size(); +} +inline void Api::clear_methods() { + _impl_.methods_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::Method* Api::mutable_methods(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods) + return _impl_.methods_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >* +Api::mutable_methods() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods) + return &_impl_.methods_; +} +inline const ::PROTOBUF_NAMESPACE_ID::Method& Api::_internal_methods(int index) const { + return _impl_.methods_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.methods) + return _internal_methods(index); +} +inline ::PROTOBUF_NAMESPACE_ID::Method* Api::_internal_add_methods() { + return _impl_.methods_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() { + ::PROTOBUF_NAMESPACE_ID::Method* _add = _internal_add_methods(); + // @@protoc_insertion_point(field_add:google.protobuf.Api.methods) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >& +Api::methods() const { + // @@protoc_insertion_point(field_list:google.protobuf.Api.methods) + return _impl_.methods_; +} + +// repeated .google.protobuf.Option options = 3; +inline int Api::_internal_options_size() const { + return _impl_.options_.size(); +} +inline int Api::options_size() const { + return _internal_options_size(); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Api::mutable_options(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options) + return _impl_.options_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* +Api::mutable_options() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options) + return &_impl_.options_; +} +inline const ::PROTOBUF_NAMESPACE_ID::Option& Api::_internal_options(int index) const { + return _impl_.options_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.options) + return _internal_options(index); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Api::_internal_add_options() { + return _impl_.options_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Api::add_options() { + ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); + // @@protoc_insertion_point(field_add:google.protobuf.Api.options) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& +Api::options() const { + // @@protoc_insertion_point(field_list:google.protobuf.Api.options) + return _impl_.options_; +} + +// string version = 4; +inline void Api::clear_version() { + _impl_.version_.ClearToEmpty(); +} +inline const std::string& Api::version() const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.version) + return _internal_version(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Api::set_version(ArgT0&& arg0, ArgT... args) { + + _impl_.version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Api.version) +} +inline std::string* Api::mutable_version() { + std::string* _s = _internal_mutable_version(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version) + return _s; +} +inline const std::string& Api::_internal_version() const { + return _impl_.version_.Get(); +} +inline void Api::_internal_set_version(const std::string& value) { + + _impl_.version_.Set(value, GetArenaForAllocation()); +} +inline std::string* Api::_internal_mutable_version() { + + return _impl_.version_.Mutable(GetArenaForAllocation()); +} +inline std::string* Api::release_version() { + // @@protoc_insertion_point(field_release:google.protobuf.Api.version) + return _impl_.version_.Release(); +} +inline void Api::set_allocated_version(std::string* version) { + if (version != nullptr) { + + } else { + + } + _impl_.version_.SetAllocated(version, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.version_.IsDefault()) { + _impl_.version_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version) +} + +// .google.protobuf.SourceContext source_context = 5; +inline bool Api::_internal_has_source_context() const { + return this != internal_default_instance() && _impl_.source_context_ != nullptr; +} +inline bool Api::has_source_context() const { + return _internal_has_source_context(); +} +inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Api::_internal_source_context() const { + const ::PROTOBUF_NAMESPACE_ID::SourceContext* p = _impl_.source_context_; + return p != nullptr ? *p : reinterpret_cast( + ::PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_); +} +inline const ::PROTOBUF_NAMESPACE_ID::SourceContext& Api::source_context() const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context) + return _internal_source_context(); +} +inline void Api::unsafe_arena_set_allocated_source_context( + ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); + } + _impl_.source_context_ = source_context; + if (source_context) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Api.source_context) +} +inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Api::release_source_context() { + + ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; + _impl_.source_context_ = 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::SourceContext* Api::unsafe_arena_release_source_context() { + // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context) + + ::PROTOBUF_NAMESPACE_ID::SourceContext* temp = _impl_.source_context_; + _impl_.source_context_ = nullptr; + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Api::_internal_mutable_source_context() { + + if (_impl_.source_context_ == nullptr) { + auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceContext>(GetArenaForAllocation()); + _impl_.source_context_ = p; + } + return _impl_.source_context_; +} +inline ::PROTOBUF_NAMESPACE_ID::SourceContext* Api::mutable_source_context() { + ::PROTOBUF_NAMESPACE_ID::SourceContext* _msg = _internal_mutable_source_context(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context) + return _msg; +} +inline void Api::set_allocated_source_context(::PROTOBUF_NAMESPACE_ID::SourceContext* source_context) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_context_); + } + if (source_context) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context)); + if (message_arena != submessage_arena) { + source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, source_context, submessage_arena); + } + + } else { + + } + _impl_.source_context_ = source_context; + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context) +} + +// repeated .google.protobuf.Mixin mixins = 6; +inline int Api::_internal_mixins_size() const { + return _impl_.mixins_.size(); +} +inline int Api::mixins_size() const { + return _internal_mixins_size(); +} +inline void Api::clear_mixins() { + _impl_.mixins_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::Mixin* Api::mutable_mixins(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins) + return _impl_.mixins_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >* +Api::mutable_mixins() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins) + return &_impl_.mixins_; +} +inline const ::PROTOBUF_NAMESPACE_ID::Mixin& Api::_internal_mixins(int index) const { + return _impl_.mixins_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins) + return _internal_mixins(index); +} +inline ::PROTOBUF_NAMESPACE_ID::Mixin* Api::_internal_add_mixins() { + return _impl_.mixins_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() { + ::PROTOBUF_NAMESPACE_ID::Mixin* _add = _internal_add_mixins(); + // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >& +Api::mixins() const { + // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins) + return _impl_.mixins_; +} + +// .google.protobuf.Syntax syntax = 7; +inline void Api::clear_syntax() { + _impl_.syntax_ = 0; +} +inline ::PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const { + return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_); +} +inline ::PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const { + // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax) + return _internal_syntax(); +} +inline void Api::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { + + _impl_.syntax_ = value; +} +inline void Api::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { + _internal_set_syntax(value); + // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax) +} + +// ------------------------------------------------------------------- + +// Method + +// string name = 1; +inline void Method::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Method::name() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Method::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Method.name) +} +inline std::string* Method::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name) + return _s; +} +inline const std::string& Method::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Method::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Method::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Method::release_name() { + // @@protoc_insertion_point(field_release:google.protobuf.Method.name) + return _impl_.name_.Release(); +} +inline void Method::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:google.protobuf.Method.name) +} + +// string request_type_url = 2; +inline void Method::clear_request_type_url() { + _impl_.request_type_url_.ClearToEmpty(); +} +inline const std::string& Method::request_type_url() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url) + return _internal_request_type_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Method::set_request_type_url(ArgT0&& arg0, ArgT... args) { + + _impl_.request_type_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url) +} +inline std::string* Method::mutable_request_type_url() { + std::string* _s = _internal_mutable_request_type_url(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url) + return _s; +} +inline const std::string& Method::_internal_request_type_url() const { + return _impl_.request_type_url_.Get(); +} +inline void Method::_internal_set_request_type_url(const std::string& value) { + + _impl_.request_type_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* Method::_internal_mutable_request_type_url() { + + return _impl_.request_type_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* Method::release_request_type_url() { + // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url) + return _impl_.request_type_url_.Release(); +} +inline void Method::set_allocated_request_type_url(std::string* request_type_url) { + if (request_type_url != nullptr) { + + } else { + + } + _impl_.request_type_url_.SetAllocated(request_type_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.request_type_url_.IsDefault()) { + _impl_.request_type_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url) +} + +// bool request_streaming = 3; +inline void Method::clear_request_streaming() { + _impl_.request_streaming_ = false; +} +inline bool Method::_internal_request_streaming() const { + return _impl_.request_streaming_; +} +inline bool Method::request_streaming() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming) + return _internal_request_streaming(); +} +inline void Method::_internal_set_request_streaming(bool value) { + + _impl_.request_streaming_ = value; +} +inline void Method::set_request_streaming(bool value) { + _internal_set_request_streaming(value); + // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming) +} + +// string response_type_url = 4; +inline void Method::clear_response_type_url() { + _impl_.response_type_url_.ClearToEmpty(); +} +inline const std::string& Method::response_type_url() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url) + return _internal_response_type_url(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Method::set_response_type_url(ArgT0&& arg0, ArgT... args) { + + _impl_.response_type_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url) +} +inline std::string* Method::mutable_response_type_url() { + std::string* _s = _internal_mutable_response_type_url(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url) + return _s; +} +inline const std::string& Method::_internal_response_type_url() const { + return _impl_.response_type_url_.Get(); +} +inline void Method::_internal_set_response_type_url(const std::string& value) { + + _impl_.response_type_url_.Set(value, GetArenaForAllocation()); +} +inline std::string* Method::_internal_mutable_response_type_url() { + + return _impl_.response_type_url_.Mutable(GetArenaForAllocation()); +} +inline std::string* Method::release_response_type_url() { + // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url) + return _impl_.response_type_url_.Release(); +} +inline void Method::set_allocated_response_type_url(std::string* response_type_url) { + if (response_type_url != nullptr) { + + } else { + + } + _impl_.response_type_url_.SetAllocated(response_type_url, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.response_type_url_.IsDefault()) { + _impl_.response_type_url_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url) +} + +// bool response_streaming = 5; +inline void Method::clear_response_streaming() { + _impl_.response_streaming_ = false; +} +inline bool Method::_internal_response_streaming() const { + return _impl_.response_streaming_; +} +inline bool Method::response_streaming() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming) + return _internal_response_streaming(); +} +inline void Method::_internal_set_response_streaming(bool value) { + + _impl_.response_streaming_ = value; +} +inline void Method::set_response_streaming(bool value) { + _internal_set_response_streaming(value); + // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming) +} + +// repeated .google.protobuf.Option options = 6; +inline int Method::_internal_options_size() const { + return _impl_.options_.size(); +} +inline int Method::options_size() const { + return _internal_options_size(); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Method::mutable_options(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options) + return _impl_.options_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* +Method::mutable_options() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options) + return &_impl_.options_; +} +inline const ::PROTOBUF_NAMESPACE_ID::Option& Method::_internal_options(int index) const { + return _impl_.options_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.options) + return _internal_options(index); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Method::_internal_add_options() { + return _impl_.options_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::Option* Method::add_options() { + ::PROTOBUF_NAMESPACE_ID::Option* _add = _internal_add_options(); + // @@protoc_insertion_point(field_add:google.protobuf.Method.options) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& +Method::options() const { + // @@protoc_insertion_point(field_list:google.protobuf.Method.options) + return _impl_.options_; +} + +// .google.protobuf.Syntax syntax = 7; +inline void Method::clear_syntax() { + _impl_.syntax_ = 0; +} +inline ::PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const { + return static_cast< ::PROTOBUF_NAMESPACE_ID::Syntax >(_impl_.syntax_); +} +inline ::PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const { + // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax) + return _internal_syntax(); +} +inline void Method::_internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { + + _impl_.syntax_ = value; +} +inline void Method::set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value) { + _internal_set_syntax(value); + // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax) +} + +// ------------------------------------------------------------------- + +// Mixin + +// string name = 1; +inline void Mixin::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Mixin::name() const { + // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Mixin::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name) +} +inline std::string* Mixin::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name) + return _s; +} +inline const std::string& Mixin::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Mixin::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Mixin::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Mixin::release_name() { + // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name) + return _impl_.name_.Release(); +} +inline void Mixin::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:google.protobuf.Mixin.name) +} + +// string root = 2; +inline void Mixin::clear_root() { + _impl_.root_.ClearToEmpty(); +} +inline const std::string& Mixin::root() const { + // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root) + return _internal_root(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Mixin::set_root(ArgT0&& arg0, ArgT... args) { + + _impl_.root_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root) +} +inline std::string* Mixin::mutable_root() { + std::string* _s = _internal_mutable_root(); + // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root) + return _s; +} +inline const std::string& Mixin::_internal_root() const { + return _impl_.root_.Get(); +} +inline void Mixin::_internal_set_root(const std::string& value) { + + _impl_.root_.Set(value, GetArenaForAllocation()); +} +inline std::string* Mixin::_internal_mutable_root() { + + return _impl_.root_.Mutable(GetArenaForAllocation()); +} +inline std::string* Mixin::release_root() { + // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root) + return _impl_.root_.Release(); +} +inline void Mixin::set_allocated_root(std::string* root) { + if (root != nullptr) { + + } else { + + } + _impl_.root_.SetAllocated(root, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.root_.IsDefault()) { + _impl_.root_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena.h new file mode 100644 index 0000000..3b5f16c --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena.h @@ -0,0 +1,851 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// This file defines an Arena allocator for better allocation performance. + +#ifndef GOOGLE_PROTOBUF_ARENA_H__ +#define GOOGLE_PROTOBUF_ARENA_H__ + + +#include +#include +#include +#if defined(_MSC_VER) && !defined(_LIBCPP_STD_VER) && !_HAS_EXCEPTIONS +// Work around bugs in MSVC header when _HAS_EXCEPTIONS=0. +#include +#include +namespace std { +using type_info = ::type_info; +} +#else +#include +#endif + +#include +#include +#include + +// Must be included last. +#include + +#ifdef SWIG +#error "You cannot SWIG proto headers" +#endif + +namespace google { +namespace protobuf { + +struct ArenaOptions; // defined below +class Arena; // defined below +class Message; // defined in message.h +class MessageLite; +template +class Map; + +namespace arena_metrics { + +void EnableArenaMetrics(ArenaOptions* options); + +} // namespace arena_metrics + +namespace TestUtil { +class ReflectionTester; // defined in test_util.h +} // namespace TestUtil + +namespace internal { + +struct ArenaTestPeer; // defined in arena_test_util.h +class InternalMetadata; // defined in metadata_lite.h +class LazyField; // defined in lazy_field.h +class EpsCopyInputStream; // defined in parse_context.h +class RepeatedPtrFieldBase; // defined in repeated_ptr_field.h + +template +class GenericTypeHandler; // defined in repeated_field.h + +inline PROTOBUF_ALWAYS_INLINE +void* AlignTo(void* ptr, size_t align) { + return reinterpret_cast( + (reinterpret_cast(ptr) + align - 1) & (~align + 1)); +} + +// Templated cleanup methods. +template +void arena_destruct_object(void* object) { + reinterpret_cast(object)->~T(); +} + +template +struct ObjectDestructor { + constexpr static void (*destructor)(void*) = &arena_destruct_object; +}; + +template +struct ObjectDestructor { + constexpr static void (*destructor)(void*) = nullptr; +}; + +template +void arena_delete_object(void* object) { + delete reinterpret_cast(object); +} +} // namespace internal + +// ArenaOptions provides optional additional parameters to arena construction +// that control its block-allocation behavior. +struct ArenaOptions { + // This defines the size of the first block requested from the system malloc. + // Subsequent block sizes will increase in a geometric series up to a maximum. + size_t start_block_size; + + // This defines the maximum block size requested from system malloc (unless an + // individual arena allocation request occurs with a size larger than this + // maximum). Requested block sizes increase up to this value, then remain + // here. + size_t max_block_size; + + // An initial block of memory for the arena to use, or NULL for none. If + // provided, the block must live at least as long as the arena itself. The + // creator of the Arena retains ownership of the block after the Arena is + // destroyed. + char* initial_block; + + // The size of the initial block, if provided. + size_t initial_block_size; + + // A function pointer to an alloc method that returns memory blocks of size + // requested. By default, it contains a ptr to the malloc function. + // + // NOTE: block_alloc and dealloc functions are expected to behave like + // malloc and free, including Asan poisoning. + void* (*block_alloc)(size_t); + // A function pointer to a dealloc method that takes ownership of the blocks + // from the arena. By default, it contains a ptr to a wrapper function that + // calls free. + void (*block_dealloc)(void*, size_t); + + ArenaOptions() + : start_block_size(internal::AllocationPolicy::kDefaultStartBlockSize), + max_block_size(internal::AllocationPolicy::kDefaultMaxBlockSize), + initial_block(NULL), + initial_block_size(0), + block_alloc(nullptr), + block_dealloc(nullptr), + make_metrics_collector(nullptr) {} + + private: + // If make_metrics_collector is not nullptr, it will be called at Arena init + // time. It may return a pointer to a collector instance that will be notified + // of interesting events related to the arena. + internal::ArenaMetricsCollector* (*make_metrics_collector)(); + + internal::ArenaMetricsCollector* MetricsCollector() const { + return make_metrics_collector ? (*make_metrics_collector)() : nullptr; + } + + internal::AllocationPolicy AllocationPolicy() const { + internal::AllocationPolicy res; + res.start_block_size = start_block_size; + res.max_block_size = max_block_size; + res.block_alloc = block_alloc; + res.block_dealloc = block_dealloc; + res.metrics_collector = MetricsCollector(); + return res; + } + + friend void arena_metrics::EnableArenaMetrics(ArenaOptions*); + + friend class Arena; + friend class ArenaOptionsTestFriend; +}; + +// Support for non-RTTI environments. (The metrics hooks API uses type +// information.) +#if PROTOBUF_RTTI +#define RTTI_TYPE_ID(type) (&typeid(type)) +#else +#define RTTI_TYPE_ID(type) (NULL) +#endif + +// Arena allocator. Arena allocation replaces ordinary (heap-based) allocation +// with new/delete, and improves performance by aggregating allocations into +// larger blocks and freeing allocations all at once. Protocol messages are +// allocated on an arena by using Arena::CreateMessage(Arena*), below, and +// are automatically freed when the arena is destroyed. +// +// This is a thread-safe implementation: multiple threads may allocate from the +// arena concurrently. Destruction is not thread-safe and the destructing +// thread must synchronize with users of the arena first. +// +// An arena provides two allocation interfaces: CreateMessage, which works +// for arena-enabled proto2 message types as well as other types that satisfy +// the appropriate protocol (described below), and Create, which works for +// any arbitrary type T. CreateMessage is better when the type T supports it, +// because this interface (i) passes the arena pointer to the created object so +// that its sub-objects and internal allocations can use the arena too, and (ii) +// elides the object's destructor call when possible. Create does not place +// any special requirements on the type T, and will invoke the object's +// destructor when the arena is destroyed. +// +// The arena message allocation protocol, required by +// CreateMessage(Arena* arena, Args&&... args), is as follows: +// +// - The type T must have (at least) two constructors: a constructor callable +// with `args` (without `arena`), called when a T is allocated on the heap; +// and a constructor callable with `Arena* arena, Args&&... args`, called when +// a T is allocated on an arena. If the second constructor is called with a +// NULL arena pointer, it must be equivalent to invoking the first +// (`args`-only) constructor. +// +// - The type T must have a particular type trait: a nested type +// |InternalArenaConstructable_|. This is usually a typedef to |void|. If no +// such type trait exists, then the instantiation CreateMessage will fail +// to compile. +// +// - The type T *may* have the type trait |DestructorSkippable_|. If this type +// trait is present in the type, then its destructor will not be called if and +// only if it was passed a non-NULL arena pointer. If this type trait is not +// present on the type, then its destructor is always called when the +// containing arena is destroyed. +// +// This protocol is implemented by all arena-enabled proto2 message classes as +// well as protobuf container types like RepeatedPtrField and Map. The protocol +// is internal to protobuf and is not guaranteed to be stable. Non-proto types +// should not rely on this protocol. +class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final { + public: + // Default constructor with sensible default options, tuned for average + // use-cases. + inline Arena() : impl_() {} + + // Construct an arena with default options, except for the supplied + // initial block. It is more efficient to use this constructor + // instead of passing ArenaOptions if the only configuration needed + // by the caller is supplying an initial block. + inline Arena(char* initial_block, size_t initial_block_size) + : impl_(initial_block, initial_block_size) {} + + // Arena constructor taking custom options. See ArenaOptions above for + // descriptions of the options available. + explicit Arena(const ArenaOptions& options) + : impl_(options.initial_block, options.initial_block_size, + options.AllocationPolicy()) {} + + // Block overhead. Use this as a guide for how much to over-allocate the + // initial block if you want an allocation of size N to fit inside it. + // + // WARNING: if you allocate multiple objects, it is difficult to guarantee + // that a series of allocations will fit in the initial block, especially if + // Arena changes its alignment guarantees in the future! + static const size_t kBlockOverhead = + internal::ThreadSafeArena::kBlockHeaderSize + + internal::ThreadSafeArena::kSerialArenaSize; + + inline ~Arena() {} + + // TODO(protobuf-team): Fix callers to use constructor and delete this method. + void Init(const ArenaOptions&) {} + + // API to create proto2 message objects on the arena. If the arena passed in + // is NULL, then a heap allocated object is returned. Type T must be a message + // defined in a .proto file with cc_enable_arenas set to true, otherwise a + // compilation error will occur. + // + // RepeatedField and RepeatedPtrField may also be instantiated directly on an + // arena with this method. + // + // This function also accepts any type T that satisfies the arena message + // allocation protocol, documented above. + template + PROTOBUF_ALWAYS_INLINE static T* CreateMessage(Arena* arena, Args&&... args) { + static_assert( + InternalHelper::is_arena_constructable::value, + "CreateMessage can only construct types that are ArenaConstructable"); + // We must delegate to CreateMaybeMessage() and NOT CreateMessageInternal() + // because protobuf generated classes specialize CreateMaybeMessage() and we + // need to use that specialization for code size reasons. + return Arena::CreateMaybeMessage(arena, static_cast(args)...); + } + + // API to create any objects on the arena. Note that only the object will + // be created on the arena; the underlying ptrs (in case of a proto2 message) + // will be still heap allocated. Proto messages should usually be allocated + // with CreateMessage() instead. + // + // Note that even if T satisfies the arena message construction protocol + // (InternalArenaConstructable_ trait and optional DestructorSkippable_ + // trait), as described above, this function does not follow the protocol; + // instead, it treats T as a black-box type, just as if it did not have these + // traits. Specifically, T's constructor arguments will always be only those + // passed to Create() -- no additional arena pointer is implicitly added. + // Furthermore, the destructor will always be called at arena destruction time + // (unless the destructor is trivial). Hence, from T's point of view, it is as + // if the object were allocated on the heap (except that the underlying memory + // is obtained from the arena). + template + PROTOBUF_NDEBUG_INLINE static T* Create(Arena* arena, Args&&... args) { + return CreateInternal(arena, std::is_convertible(), + static_cast(args)...); + } + + // Allocates memory with the specific size and alignment. + void* AllocateAligned(size_t size, size_t align = 8) { + if (align <= 8) { + return AllocateAlignedNoHook(internal::AlignUpTo8(size)); + } else { + // We are wasting space by over allocating align - 8 bytes. Compared + // to a dedicated function that takes current alignment in consideration. + // Such a scheme would only waste (align - 8)/2 bytes on average, but + // requires a dedicated function in the outline arena allocation + // functions. Possibly re-evaluate tradeoffs later. + return internal::AlignTo(AllocateAlignedNoHook(size + align - 8), align); + } + } + + // Create an array of object type T on the arena *without* invoking the + // constructor of T. If `arena` is null, then the return value should be freed + // with `delete[] x;` (or `::operator delete[](x);`). + // To ensure safe uses, this function checks at compile time + // (when compiled as C++11) that T is trivially default-constructible and + // trivially destructible. + template + PROTOBUF_NDEBUG_INLINE static T* CreateArray(Arena* arena, + size_t num_elements) { + static_assert(std::is_trivial::value, + "CreateArray requires a trivially constructible type"); + static_assert(std::is_trivially_destructible::value, + "CreateArray requires a trivially destructible type"); + GOOGLE_CHECK_LE(num_elements, std::numeric_limits::max() / sizeof(T)) + << "Requested size is too large to fit into size_t."; + if (arena == NULL) { + return static_cast(::operator new[](num_elements * sizeof(T))); + } else { + return arena->CreateInternalRawArray(num_elements); + } + } + + // The following are routines are for monitoring. They will approximate the + // total sum allocated and used memory, but the exact value is an + // implementation deal. For instance allocated space depends on growth + // policies. Do not use these in unit tests. + // Returns the total space allocated by the arena, which is the sum of the + // sizes of the underlying blocks. + uint64_t SpaceAllocated() const { return impl_.SpaceAllocated(); } + // Returns the total space used by the arena. Similar to SpaceAllocated but + // does not include free space and block overhead. The total space returned + // may not include space used by other threads executing concurrently with + // the call to this method. + uint64_t SpaceUsed() const { return impl_.SpaceUsed(); } + + // Frees all storage allocated by this arena after calling destructors + // registered with OwnDestructor() and freeing objects registered with Own(). + // Any objects allocated on this arena are unusable after this call. It also + // returns the total space used by the arena which is the sums of the sizes + // of the allocated blocks. This method is not thread-safe. + uint64_t Reset() { return impl_.Reset(); } + + // Adds |object| to a list of heap-allocated objects to be freed with |delete| + // when the arena is destroyed or reset. + template + PROTOBUF_ALWAYS_INLINE void Own(T* object) { + OwnInternal(object, std::is_convertible()); + } + + // Adds |object| to a list of objects whose destructors will be manually + // called when the arena is destroyed or reset. This differs from Own() in + // that it does not free the underlying memory with |delete|; hence, it is + // normally only used for objects that are placement-newed into + // arena-allocated memory. + template + PROTOBUF_ALWAYS_INLINE void OwnDestructor(T* object) { + if (object != NULL) { + impl_.AddCleanup(object, &internal::arena_destruct_object); + } + } + + // Adds a custom member function on an object to the list of destructors that + // will be manually called when the arena is destroyed or reset. This differs + // from OwnDestructor() in that any member function may be specified, not only + // the class destructor. + PROTOBUF_ALWAYS_INLINE void OwnCustomDestructor(void* object, + void (*destruct)(void*)) { + impl_.AddCleanup(object, destruct); + } + + // Retrieves the arena associated with |value| if |value| is an arena-capable + // message, or NULL otherwise. If possible, the call resolves at compile time. + // Note that we can often devirtualize calls to `value->GetArena()` so usually + // calling this method is unnecessary. + template + PROTOBUF_ALWAYS_INLINE static Arena* GetArena(const T* value) { + return GetArenaInternal(value); + } + + template + class InternalHelper { + private: + // Provides access to protected GetOwningArena to generated messages. + static Arena* GetOwningArena(const T* p) { return p->GetOwningArena(); } + + static void InternalSwap(T* a, T* b) { a->InternalSwap(b); } + + static Arena* GetArenaForAllocationInternal( + const T* p, std::true_type /*is_derived_from*/) { + return p->GetArenaForAllocation(); + } + + static Arena* GetArenaForAllocationInternal( + const T* p, std::false_type /*is_derived_from*/) { + return GetArenaForAllocationForNonMessage( + p, typename is_arena_constructable::type()); + } + + static Arena* GetArenaForAllocationForNonMessage( + const T* p, std::true_type /*is_arena_constructible*/) { + return p->GetArena(); + } + + static Arena* GetArenaForAllocationForNonMessage( + const T* p, std::false_type /*is_arena_constructible*/) { + return GetArenaForAllocationForNonMessageNonArenaConstructible( + p, typename has_get_arena::type()); + } + + static Arena* GetArenaForAllocationForNonMessageNonArenaConstructible( + const T* p, std::true_type /*has_get_arena*/) { + return p->GetArena(); + } + + static Arena* GetArenaForAllocationForNonMessageNonArenaConstructible( + const T* /* p */, std::false_type /*has_get_arena*/) { + return nullptr; + } + + template + static char DestructorSkippable(const typename U::DestructorSkippable_*); + template + static double DestructorSkippable(...); + + typedef std::integral_constant< + bool, sizeof(DestructorSkippable(static_cast(0))) == + sizeof(char) || + std::is_trivially_destructible::value> + is_destructor_skippable; + + template + static char ArenaConstructable( + const typename U::InternalArenaConstructable_*); + template + static double ArenaConstructable(...); + + typedef std::integral_constant( + static_cast(0))) == + sizeof(char)> + is_arena_constructable; + + template () + .GetArena())>::value, + int>::type = 0> + static char HasGetArena(decltype(&U::GetArena)); + template + static double HasGetArena(...); + + typedef std::integral_constant(nullptr)) == + sizeof(char)> + has_get_arena; + + template + static T* Construct(void* ptr, Args&&... args) { + return new (ptr) T(static_cast(args)...); + } + + static inline PROTOBUF_ALWAYS_INLINE T* New() { + return new T(nullptr); + } + + static Arena* GetArena(const T* p) { return p->GetArena(); } + + friend class Arena; + friend class TestUtil::ReflectionTester; + }; + + // Provides access to protected GetOwningArena to generated messages. For + // internal use only. + template + static Arena* InternalGetOwningArena(const T* p) { + return InternalHelper::GetOwningArena(p); + } + + // Provides access to protected GetArenaForAllocation to generated messages. + // For internal use only. + template + static Arena* InternalGetArenaForAllocation(const T* p) { + return InternalHelper::GetArenaForAllocationInternal( + p, std::is_convertible()); + } + + // Creates message-owned arena. For internal use only. + static Arena* InternalCreateMessageOwnedArena() { + return new Arena(internal::MessageOwned{}); + } + + // Checks whether this arena is message-owned. For internal use only. + bool InternalIsMessageOwnedArena() { return IsMessageOwned(); } + + // Helper typetraits that indicates support for arenas in a type T at compile + // time. This is public only to allow construction of higher-level templated + // utilities. + // + // is_arena_constructable::value is true if the message type T has arena + // support enabled, and false otherwise. + // + // is_destructor_skippable::value is true if the message type T has told + // the arena that it is safe to skip the destructor, and false otherwise. + // + // This is inside Arena because only Arena has the friend relationships + // necessary to see the underlying generated code traits. + template + struct is_arena_constructable : InternalHelper::is_arena_constructable {}; + template + struct is_destructor_skippable : InternalHelper::is_destructor_skippable { + }; + + private: + internal::ThreadSafeArena impl_; + + template + struct has_get_arena : InternalHelper::has_get_arena {}; + + // Constructor solely used by message-owned arena. + inline Arena(internal::MessageOwned) : impl_(internal::MessageOwned{}) {} + + // Checks whether this arena is message-owned. + PROTOBUF_ALWAYS_INLINE bool IsMessageOwned() const { + return impl_.IsMessageOwned(); + } + + void ReturnArrayMemory(void* p, size_t size) { + impl_.ReturnArrayMemory(p, size); + } + + template + PROTOBUF_NDEBUG_INLINE static T* CreateMessageInternal(Arena* arena, + Args&&... args) { + static_assert( + InternalHelper::is_arena_constructable::value, + "CreateMessage can only construct types that are ArenaConstructable"); + if (arena == NULL) { + return new T(nullptr, static_cast(args)...); + } else { + return arena->DoCreateMessage(static_cast(args)...); + } + } + + // This specialization for no arguments is necessary, because its behavior is + // slightly different. When the arena pointer is nullptr, it calls T() + // instead of T(nullptr). + template + PROTOBUF_NDEBUG_INLINE static T* CreateMessageInternal(Arena* arena) { + static_assert( + InternalHelper::is_arena_constructable::value, + "CreateMessage can only construct types that are ArenaConstructable"); + if (arena == NULL) { + // Generated arena constructor T(Arena*) is protected. Call via + // InternalHelper. + return InternalHelper::New(); + } else { + return arena->DoCreateMessage(); + } + } + + // Allocate and also optionally call collector with the allocated type info + // when allocation recording is enabled. + PROTOBUF_NDEBUG_INLINE void* AllocateInternal(size_t size, size_t align, + void (*destructor)(void*), + const std::type_info* type) { + // Monitor allocation if needed. + if (destructor == nullptr) { + return AllocateAlignedWithHook(size, align, type); + } else { + if (align <= 8) { + auto res = AllocateAlignedWithCleanup(internal::AlignUpTo8(size), type); + res.second->elem = res.first; + res.second->cleanup = destructor; + return res.first; + } else { + auto res = AllocateAlignedWithCleanup(size + align - 8, type); + auto ptr = internal::AlignTo(res.first, align); + res.second->elem = ptr; + res.second->cleanup = destructor; + return ptr; + } + } + } + + // CreateMessage requires that T supports arenas, but this private method + // works whether or not T supports arenas. These are not exposed to user code + // as it can cause confusing API usages, and end up having double free in + // user code. These are used only internally from LazyField and Repeated + // fields, since they are designed to work in all mode combinations. + template + PROTOBUF_ALWAYS_INLINE static Msg* DoCreateMaybeMessage(Arena* arena, + std::true_type, + Args&&... args) { + return CreateMessageInternal(arena, std::forward(args)...); + } + + template + PROTOBUF_ALWAYS_INLINE static T* DoCreateMaybeMessage(Arena* arena, + std::false_type, + Args&&... args) { + return Create(arena, std::forward(args)...); + } + + template + PROTOBUF_ALWAYS_INLINE static T* CreateMaybeMessage(Arena* arena, + Args&&... args) { + return DoCreateMaybeMessage(arena, is_arena_constructable(), + std::forward(args)...); + } + + // Just allocate the required size for the given type assuming the + // type has a trivial constructor. + template + PROTOBUF_NDEBUG_INLINE T* CreateInternalRawArray(size_t num_elements) { + GOOGLE_CHECK_LE(num_elements, std::numeric_limits::max() / sizeof(T)) + << "Requested size is too large to fit into size_t."; + // We count on compiler to realize that if sizeof(T) is a multiple of + // 8 AlignUpTo can be elided. + const size_t n = sizeof(T) * num_elements; + return static_cast( + AllocateAlignedWithHookForArray(n, alignof(T), RTTI_TYPE_ID(T))); + } + + template + PROTOBUF_NDEBUG_INLINE T* DoCreateMessage(Args&&... args) { + return InternalHelper::Construct( + AllocateInternal(sizeof(T), alignof(T), + internal::ObjectDestructor< + InternalHelper::is_destructor_skippable::value, + T>::destructor, + RTTI_TYPE_ID(T)), + this, std::forward(args)...); + } + + // CreateInArenaStorage is used to implement map field. Without it, + // Map need to call generated message's protected arena constructor, + // which needs to declare Map as friend of generated message. + template + static void CreateInArenaStorage(T* ptr, Arena* arena, Args&&... args) { + CreateInArenaStorageInternal(ptr, arena, + typename is_arena_constructable::type(), + std::forward(args)...); + if (arena != nullptr) { + RegisterDestructorInternal( + ptr, arena, + typename InternalHelper::is_destructor_skippable::type()); + } + } + + template + static void CreateInArenaStorageInternal(T* ptr, Arena* arena, + std::true_type, Args&&... args) { + InternalHelper::Construct(ptr, arena, std::forward(args)...); + } + template + static void CreateInArenaStorageInternal(T* ptr, Arena* /* arena */, + std::false_type, Args&&... args) { + new (ptr) T(std::forward(args)...); + } + + template + static void RegisterDestructorInternal(T* /* ptr */, Arena* /* arena */, + std::true_type) {} + template + static void RegisterDestructorInternal(T* ptr, Arena* arena, + std::false_type) { + arena->OwnDestructor(ptr); + } + + // These implement Create(). The second parameter has type 'true_type' if T is + // a subtype of Message and 'false_type' otherwise. + template + PROTOBUF_ALWAYS_INLINE static T* CreateInternal(Arena* arena, std::true_type, + Args&&... args) { + if (arena == nullptr) { + return new T(std::forward(args)...); + } else { + auto destructor = + internal::ObjectDestructor::value, + T>::destructor; + T* result = + new (arena->AllocateInternal(sizeof(T), alignof(T), destructor, + RTTI_TYPE_ID(T))) + T(std::forward(args)...); + return result; + } + } + template + PROTOBUF_ALWAYS_INLINE static T* CreateInternal(Arena* arena, std::false_type, + Args&&... args) { + if (arena == nullptr) { + return new T(std::forward(args)...); + } else { + auto destructor = + internal::ObjectDestructor::value, + T>::destructor; + return new (arena->AllocateInternal(sizeof(T), alignof(T), destructor, + RTTI_TYPE_ID(T))) + T(std::forward(args)...); + } + } + + // These implement Own(), which registers an object for deletion (destructor + // call and operator delete()). The second parameter has type 'true_type' if T + // is a subtype of Message and 'false_type' otherwise. Collapsing + // all template instantiations to one for generic Message reduces code size, + // using the virtual destructor instead. + template + PROTOBUF_ALWAYS_INLINE void OwnInternal(T* object, std::true_type) { + if (object != NULL) { + impl_.AddCleanup(object, &internal::arena_delete_object); + } + } + template + PROTOBUF_ALWAYS_INLINE void OwnInternal(T* object, std::false_type) { + if (object != NULL) { + impl_.AddCleanup(object, &internal::arena_delete_object); + } + } + + // Implementation for GetArena(). Only message objects with + // InternalArenaConstructable_ tags can be associated with an arena, and such + // objects must implement a GetArena() method. + template ::value, int>::type = 0> + PROTOBUF_ALWAYS_INLINE static Arena* GetArenaInternal(const T* value) { + return InternalHelper::GetArena(value); + } + template ::value && + has_get_arena::value, + int>::type = 0> + PROTOBUF_ALWAYS_INLINE static Arena* GetArenaInternal(const T* value) { + return value->GetArena(); + } + template ::value && + !has_get_arena::value, + int>::type = 0> + PROTOBUF_ALWAYS_INLINE static Arena* GetArenaInternal(const T* value) { + (void)value; + return nullptr; + } + + template + PROTOBUF_ALWAYS_INLINE static Arena* GetOwningArena(const T* value) { + return GetOwningArenaInternal( + value, std::is_convertible()); + } + + // Implementation for GetOwningArena(). All and only message objects have + // GetOwningArena() method. + template + PROTOBUF_ALWAYS_INLINE static Arena* GetOwningArenaInternal( + const T* value, std::true_type) { + return InternalHelper::GetOwningArena(value); + } + template + PROTOBUF_ALWAYS_INLINE static Arena* GetOwningArenaInternal( + const T* /* value */, std::false_type) { + return nullptr; + } + + void* AllocateAlignedWithHookForArray(size_t n, size_t align, + const std::type_info* type) { + if (align <= 8) { + return AllocateAlignedWithHookForArray(internal::AlignUpTo8(n), type); + } else { + // We are wasting space by over allocating align - 8 bytes. Compared + // to a dedicated function that takes current alignment in consideration. + // Such a scheme would only waste (align - 8)/2 bytes on average, but + // requires a dedicated function in the outline arena allocation + // functions. Possibly re-evaluate tradeoffs later. + return internal::AlignTo( + AllocateAlignedWithHookForArray(n + align - 8, type), align); + } + } + + void* AllocateAlignedWithHook(size_t n, size_t align, + const std::type_info* type) { + if (align <= 8) { + return AllocateAlignedWithHook(internal::AlignUpTo8(n), type); + } else { + // We are wasting space by over allocating align - 8 bytes. Compared + // to a dedicated function that takes current alignment in consideration. + // Such a scheme would only waste (align - 8)/2 bytes on average, but + // requires a dedicated function in the outline arena allocation + // functions. Possibly re-evaluate tradeoffs later. + return internal::AlignTo(AllocateAlignedWithHook(n + align - 8, type), + align); + } + } + + void* AllocateAlignedNoHook(size_t n); + void* AllocateAlignedWithHook(size_t n, const std::type_info* type); + void* AllocateAlignedWithHookForArray(size_t n, const std::type_info* type); + std::pair + AllocateAlignedWithCleanup(size_t n, const std::type_info* type); + + template + friend class internal::GenericTypeHandler; + friend class internal::InternalMetadata; // For user_arena(). + friend class internal::LazyField; // For CreateMaybeMessage. + friend class internal::EpsCopyInputStream; // For parser performance + friend class MessageLite; + template + friend class Map; + template + friend class RepeatedField; // For ReturnArrayMemory + friend class internal::RepeatedPtrFieldBase; // For ReturnArrayMemory + friend struct internal::ArenaTestPeer; +}; + +// Defined above for supporting environments without RTTI. +#undef RTTI_TYPE_ID + +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_ARENA_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_impl.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_impl.h new file mode 100644 index 0000000..7672768 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_impl.h @@ -0,0 +1,686 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// This file defines an Arena allocator for better allocation performance. + +#ifndef GOOGLE_PROTOBUF_ARENA_IMPL_H__ +#define GOOGLE_PROTOBUF_ARENA_IMPL_H__ + +#include +#include +#include + +#include +#include +#include + +#ifdef ADDRESS_SANITIZER +#include +#endif // ADDRESS_SANITIZER + +#include + +// Must be included last. +#include + + +namespace google { +namespace protobuf { +namespace internal { + +// To prevent sharing cache lines between threads +#ifdef __cpp_aligned_new +enum { kCacheAlignment = 64 }; +#else +enum { kCacheAlignment = alignof(max_align_t) }; // do the best we can +#endif + +inline constexpr size_t AlignUpTo8(size_t n) { + // Align n to next multiple of 8 (from Hacker's Delight, Chapter 3.) + return (n + 7) & static_cast(-8); +} + +using LifecycleIdAtomic = uint64_t; + +// MetricsCollector collects stats for a particular arena. +class PROTOBUF_EXPORT ArenaMetricsCollector { + public: + ArenaMetricsCollector(bool record_allocs) : record_allocs_(record_allocs) {} + + // Invoked when the arena is about to be destroyed. This method will + // typically finalize any metric collection and delete the collector. + // space_allocated is the space used by the arena. + virtual void OnDestroy(uint64_t space_allocated) = 0; + + // OnReset() is called when the associated arena is reset. + // space_allocated is the space used by the arena just before the reset. + virtual void OnReset(uint64_t space_allocated) = 0; + + // OnAlloc is called when an allocation happens. + // type_info is promised to be static - its lifetime extends to + // match program's lifetime (It is given by typeid operator). + // Note: typeid(void) will be passed as allocated_type every time we + // intentionally want to avoid monitoring an allocation. (i.e. internal + // allocations for managing the arena) + virtual void OnAlloc(const std::type_info* allocated_type, + uint64_t alloc_size) = 0; + + // Does OnAlloc() need to be called? If false, metric collection overhead + // will be reduced since we will not do extra work per allocation. + bool RecordAllocs() { return record_allocs_; } + + protected: + // This class is destructed by the call to OnDestroy(). + ~ArenaMetricsCollector() = default; + const bool record_allocs_; +}; + +struct AllocationPolicy { + static constexpr size_t kDefaultStartBlockSize = 256; + static constexpr size_t kDefaultMaxBlockSize = 8192; + + size_t start_block_size = kDefaultStartBlockSize; + size_t max_block_size = kDefaultMaxBlockSize; + void* (*block_alloc)(size_t) = nullptr; + void (*block_dealloc)(void*, size_t) = nullptr; + ArenaMetricsCollector* metrics_collector = nullptr; + + bool IsDefault() const { + return start_block_size == kDefaultMaxBlockSize && + max_block_size == kDefaultMaxBlockSize && block_alloc == nullptr && + block_dealloc == nullptr && metrics_collector == nullptr; + } +}; + +// Tagged pointer to an AllocationPolicy. +class TaggedAllocationPolicyPtr { + public: + constexpr TaggedAllocationPolicyPtr() : policy_(0) {} + + explicit TaggedAllocationPolicyPtr(AllocationPolicy* policy) + : policy_(reinterpret_cast(policy)) {} + + void set_policy(AllocationPolicy* policy) { + auto bits = policy_ & kTagsMask; + policy_ = reinterpret_cast(policy) | bits; + } + + AllocationPolicy* get() { + return reinterpret_cast(policy_ & kPtrMask); + } + const AllocationPolicy* get() const { + return reinterpret_cast(policy_ & kPtrMask); + } + + AllocationPolicy& operator*() { return *get(); } + const AllocationPolicy& operator*() const { return *get(); } + + AllocationPolicy* operator->() { return get(); } + const AllocationPolicy* operator->() const { return get(); } + + bool is_user_owned_initial_block() const { + return static_cast(get_mask()); + } + void set_is_user_owned_initial_block(bool v) { + set_mask(v); + } + + bool should_record_allocs() const { + return static_cast(get_mask()); + } + void set_should_record_allocs(bool v) { set_mask(v); } + + uintptr_t get_raw() const { return policy_; } + + inline void RecordAlloc(const std::type_info* allocated_type, + size_t n) const { + get()->metrics_collector->OnAlloc(allocated_type, n); + } + + private: + enum : uintptr_t { + kUserOwnedInitialBlock = 1, + kRecordAllocs = 2, + }; + + static constexpr uintptr_t kTagsMask = 7; + static constexpr uintptr_t kPtrMask = ~kTagsMask; + + template + uintptr_t get_mask() const { + return policy_ & kMask; + } + template + void set_mask(bool v) { + if (v) { + policy_ |= kMask; + } else { + policy_ &= ~kMask; + } + } + uintptr_t policy_; +}; + +enum class AllocationClient { kDefault, kArray }; + +// A simple arena allocator. Calls to allocate functions must be properly +// serialized by the caller, hence this class cannot be used as a general +// purpose allocator in a multi-threaded program. It serves as a building block +// for ThreadSafeArena, which provides a thread-safe arena allocator. +// +// This class manages +// 1) Arena bump allocation + owning memory blocks. +// 2) Maintaining a cleanup list. +// It delagetes the actual memory allocation back to ThreadSafeArena, which +// contains the information on block growth policy and backing memory allocation +// used. +class PROTOBUF_EXPORT SerialArena { + public: + struct Memory { + void* ptr; + size_t size; + }; + + // Node contains the ptr of the object to be cleaned up and the associated + // cleanup function ptr. + struct CleanupNode { + void* elem; // Pointer to the object to be cleaned up. + void (*cleanup)(void*); // Function pointer to the destructor or deleter. + }; + + void CleanupList(); + uint64_t SpaceAllocated() const { + return space_allocated_.load(std::memory_order_relaxed); + } + uint64_t SpaceUsed() const; + + bool HasSpace(size_t n) const { + return n <= static_cast(limit_ - ptr_); + } + + // See comments on `cached_blocks_` member for details. + PROTOBUF_ALWAYS_INLINE void* TryAllocateFromCachedBlock(size_t size) { + if (PROTOBUF_PREDICT_FALSE(size < 16)) return nullptr; + // We round up to the next larger block in case the memory doesn't match + // the pattern we are looking for. + const size_t index = Bits::Log2FloorNonZero64(size - 1) - 3; + + if (index >= cached_block_length_) return nullptr; + auto& cached_head = cached_blocks_[index]; + if (cached_head == nullptr) return nullptr; + + void* ret = cached_head; +#ifdef ADDRESS_SANITIZER + ASAN_UNPOISON_MEMORY_REGION(ret, size); +#endif // ADDRESS_SANITIZER + cached_head = cached_head->next; + return ret; + } + + // In kArray mode we look through cached blocks. + // We do not do this by default because most non-array allocations will not + // have the right size and will fail to find an appropriate cached block. + // + // TODO(sbenza): Evaluate if we should use cached blocks for message types of + // the right size. We can statically know if the allocation size can benefit + // from it. + template + void* AllocateAligned(size_t n, const AllocationPolicy* policy) { + GOOGLE_DCHECK_EQ(internal::AlignUpTo8(n), n); // Must be already aligned. + GOOGLE_DCHECK_GE(limit_, ptr_); + + if (alloc_client == AllocationClient::kArray) { + if (void* res = TryAllocateFromCachedBlock(n)) { + return res; + } + } + + if (PROTOBUF_PREDICT_FALSE(!HasSpace(n))) { + return AllocateAlignedFallback(n, policy); + } + return AllocateFromExisting(n); + } + + private: + void* AllocateFromExisting(size_t n) { + void* ret = ptr_; + ptr_ += n; +#ifdef ADDRESS_SANITIZER + ASAN_UNPOISON_MEMORY_REGION(ret, n); +#endif // ADDRESS_SANITIZER + return ret; + } + + // See comments on `cached_blocks_` member for details. + void ReturnArrayMemory(void* p, size_t size) { + // We only need to check for 32-bit platforms. + // In 64-bit platforms the minimum allocation size from Repeated*Field will + // be 16 guaranteed. + if (sizeof(void*) < 8) { + if (PROTOBUF_PREDICT_FALSE(size < 16)) return; + } else { + GOOGLE_DCHECK(size >= 16); + } + + // We round down to the next smaller block in case the memory doesn't match + // the pattern we are looking for. eg, someone might have called Reserve() + // on the repeated field. + const size_t index = Bits::Log2FloorNonZero64(size) - 4; + + if (PROTOBUF_PREDICT_FALSE(index >= cached_block_length_)) { + // We can't put this object on the freelist so make this object the + // freelist. It is guaranteed it is larger than the one we have, and + // large enough to hold another allocation of `size`. + CachedBlock** new_list = static_cast(p); + size_t new_size = size / sizeof(CachedBlock*); + + std::copy(cached_blocks_, cached_blocks_ + cached_block_length_, + new_list); + std::fill(new_list + cached_block_length_, new_list + new_size, nullptr); + cached_blocks_ = new_list; + // Make the size fit in uint8_t. This is the power of two, so we don't + // need anything larger. + cached_block_length_ = + static_cast(std::min(size_t{64}, new_size)); + + return; + } + + auto& cached_head = cached_blocks_[index]; + auto* new_node = static_cast(p); + new_node->next = cached_head; + cached_head = new_node; +#ifdef ADDRESS_SANITIZER + ASAN_POISON_MEMORY_REGION(p, size); +#endif // ADDRESS_SANITIZER + } + + public: + // Allocate space if the current region provides enough space. + bool MaybeAllocateAligned(size_t n, void** out) { + GOOGLE_DCHECK_EQ(internal::AlignUpTo8(n), n); // Must be already aligned. + GOOGLE_DCHECK_GE(limit_, ptr_); + if (PROTOBUF_PREDICT_FALSE(!HasSpace(n))) return false; + *out = AllocateFromExisting(n); + return true; + } + + std::pair AllocateAlignedWithCleanup( + size_t n, const AllocationPolicy* policy) { + GOOGLE_DCHECK_EQ(internal::AlignUpTo8(n), n); // Must be already aligned. + if (PROTOBUF_PREDICT_FALSE(!HasSpace(n + kCleanupSize))) { + return AllocateAlignedWithCleanupFallback(n, policy); + } + return AllocateFromExistingWithCleanupFallback(n); + } + + private: + std::pair AllocateFromExistingWithCleanupFallback( + size_t n) { + void* ret = ptr_; + ptr_ += n; + limit_ -= kCleanupSize; +#ifdef ADDRESS_SANITIZER + ASAN_UNPOISON_MEMORY_REGION(ret, n); + ASAN_UNPOISON_MEMORY_REGION(limit_, kCleanupSize); +#endif // ADDRESS_SANITIZER + return CreatePair(ret, reinterpret_cast(limit_)); + } + + public: + void AddCleanup(void* elem, void (*cleanup)(void*), + const AllocationPolicy* policy) { + auto res = AllocateAlignedWithCleanup(0, policy); + res.second->elem = elem; + res.second->cleanup = cleanup; + } + + void* owner() const { return owner_; } + SerialArena* next() const { return next_; } + void set_next(SerialArena* next) { next_ = next; } + + private: + friend class ThreadSafeArena; + friend class ArenaBenchmark; + + // Creates a new SerialArena inside mem using the remaining memory as for + // future allocations. + static SerialArena* New(SerialArena::Memory mem, void* owner, + ThreadSafeArenaStats* stats); + // Free SerialArena returning the memory passed in to New + template + Memory Free(Deallocator deallocator); + + // Blocks are variable length malloc-ed objects. The following structure + // describes the common header for all blocks. + struct Block { + Block(Block* next, size_t size) : next(next), size(size), start(nullptr) {} + + char* Pointer(size_t n) { + GOOGLE_DCHECK(n <= size); + return reinterpret_cast(this) + n; + } + + Block* const next; + const size_t size; + CleanupNode* start; + // data follows + }; + + void* owner_; // &ThreadCache of this thread; + Block* head_; // Head of linked list of blocks. + SerialArena* next_; // Next SerialArena in this linked list. + size_t space_used_ = 0; // Necessary for metrics. + std::atomic space_allocated_; + + // Next pointer to allocate from. Always 8-byte aligned. Points inside + // head_ (and head_->pos will always be non-canonical). We keep these + // here to reduce indirection. + char* ptr_; + // Limiting address up to which memory can be allocated from the head block. + char* limit_; + // For holding sampling information. The pointer is owned by the + // ThreadSafeArena that holds this serial arena. + ThreadSafeArenaStats* arena_stats_; + + // Repeated*Field and Arena play together to reduce memory consumption by + // reusing blocks. Currently, natural growth of the repeated field types makes + // them allocate blocks of size `8 + 2^N, N>=3`. + // When the repeated field grows returns the previous block and we put it in + // this free list. + // `cached_blocks_[i]` points to the free list for blocks of size `8+2^(i+3)`. + // The array of freelists is grown when needed in `ReturnArrayMemory()`. + struct CachedBlock { + // Simple linked list. + CachedBlock* next; + }; + uint8_t cached_block_length_ = 0; + CachedBlock** cached_blocks_ = nullptr; + + // Constructor is private as only New() should be used. + inline SerialArena(Block* b, void* owner, ThreadSafeArenaStats* stats); + void* AllocateAlignedFallback(size_t n, const AllocationPolicy* policy); + std::pair AllocateAlignedWithCleanupFallback( + size_t n, const AllocationPolicy* policy); + void AllocateNewBlock(size_t n, const AllocationPolicy* policy); + + std::pair CreatePair(void* ptr, CleanupNode* node) { + return {ptr, node}; + } + + public: + static constexpr size_t kBlockHeaderSize = AlignUpTo8(sizeof(Block)); + static constexpr size_t kCleanupSize = AlignUpTo8(sizeof(CleanupNode)); +}; + +// Tag type used to invoke the constructor of message-owned arena. +// Only message-owned arenas use this constructor for creation. +// Such constructors are internal implementation details of the library. +struct MessageOwned { + explicit MessageOwned() = default; +}; + +// This class provides the core Arena memory allocation library. Different +// implementations only need to implement the public interface below. +// Arena is not a template type as that would only be useful if all protos +// in turn would be templates, which will/cannot happen. However separating +// the memory allocation part from the cruft of the API users expect we can +// use #ifdef the select the best implementation based on hardware / OS. +class PROTOBUF_EXPORT ThreadSafeArena { + public: + ThreadSafeArena() { Init(); } + + // Constructor solely used by message-owned arena. + ThreadSafeArena(internal::MessageOwned) : tag_and_id_(kMessageOwnedArena) { + Init(); + } + + ThreadSafeArena(char* mem, size_t size) { InitializeFrom(mem, size); } + + explicit ThreadSafeArena(void* mem, size_t size, + const AllocationPolicy& policy) { + InitializeWithPolicy(mem, size, policy); + } + + // Destructor deletes all owned heap allocated objects, and destructs objects + // that have non-trivial destructors, except for proto2 message objects whose + // destructors can be skipped. Also, frees all blocks except the initial block + // if it was passed in. + ~ThreadSafeArena(); + + uint64_t Reset(); + + uint64_t SpaceAllocated() const; + uint64_t SpaceUsed() const; + + template + void* AllocateAligned(size_t n, const std::type_info* type) { + SerialArena* arena; + if (PROTOBUF_PREDICT_TRUE(!alloc_policy_.should_record_allocs() && + GetSerialArenaFast(&arena))) { + return arena->AllocateAligned(n, AllocPolicy()); + } else { + return AllocateAlignedFallback(n, type); + } + } + + void ReturnArrayMemory(void* p, size_t size) { + SerialArena* arena; + if (PROTOBUF_PREDICT_TRUE(GetSerialArenaFast(&arena))) { + arena->ReturnArrayMemory(p, size); + } + } + + // This function allocates n bytes if the common happy case is true and + // returns true. Otherwise does nothing and returns false. This strange + // semantics is necessary to allow callers to program functions that only + // have fallback function calls in tail position. This substantially improves + // code for the happy path. + PROTOBUF_NDEBUG_INLINE bool MaybeAllocateAligned(size_t n, void** out) { + SerialArena* arena; + if (PROTOBUF_PREDICT_TRUE(!alloc_policy_.should_record_allocs() && + GetSerialArenaFromThreadCache(&arena))) { + return arena->MaybeAllocateAligned(n, out); + } + return false; + } + + std::pair AllocateAlignedWithCleanup( + size_t n, const std::type_info* type); + + // Add object pointer and cleanup function pointer to the list. + void AddCleanup(void* elem, void (*cleanup)(void*)); + + // Checks whether this arena is message-owned. + PROTOBUF_ALWAYS_INLINE bool IsMessageOwned() const { + return tag_and_id_ & kMessageOwnedArena; + } + + private: + // Unique for each arena. Changes on Reset(). + uint64_t tag_and_id_ = 0; + // The LSB of tag_and_id_ indicates if the arena is message-owned. + enum : uint64_t { kMessageOwnedArena = 1 }; + + TaggedAllocationPolicyPtr alloc_policy_; // Tagged pointer to AllocPolicy. + + static_assert(std::is_trivially_destructible{}, + "SerialArena needs to be trivially destructible."); + // Pointer to a linked list of SerialArena. + std::atomic threads_; + std::atomic hint_; // Fast thread-local block access + + const AllocationPolicy* AllocPolicy() const { return alloc_policy_.get(); } + void InitializeFrom(void* mem, size_t size); + void InitializeWithPolicy(void* mem, size_t size, AllocationPolicy policy); + void* AllocateAlignedFallback(size_t n, const std::type_info* type); + std::pair + AllocateAlignedWithCleanupFallback(size_t n, const std::type_info* type); + + void Init(); + void SetInitialBlock(void* mem, size_t size); + + // Delete or Destruct all objects owned by the arena. + void CleanupList(); + + inline uint64_t LifeCycleId() const { + return tag_and_id_ & ~kMessageOwnedArena; + } + + inline void CacheSerialArena(SerialArena* serial) { + thread_cache().last_serial_arena = serial; + thread_cache().last_lifecycle_id_seen = tag_and_id_; + // TODO(haberman): evaluate whether we would gain efficiency by getting rid + // of hint_. It's the only write we do to ThreadSafeArena in the allocation + // path, which will dirty the cache line. + + hint_.store(serial, std::memory_order_release); + } + + PROTOBUF_NDEBUG_INLINE bool GetSerialArenaFast(SerialArena** arena) { + if (GetSerialArenaFromThreadCache(arena)) return true; + + // Check whether we own the last accessed SerialArena on this arena. This + // fast path optimizes the case where a single thread uses multiple arenas. + ThreadCache* tc = &thread_cache(); + SerialArena* serial = hint_.load(std::memory_order_acquire); + if (PROTOBUF_PREDICT_TRUE(serial != nullptr && serial->owner() == tc)) { + *arena = serial; + return true; + } + return false; + } + + PROTOBUF_NDEBUG_INLINE bool GetSerialArenaFromThreadCache( + SerialArena** arena) { + // If this thread already owns a block in this arena then try to use that. + // This fast path optimizes the case where multiple threads allocate from + // the same arena. + ThreadCache* tc = &thread_cache(); + if (PROTOBUF_PREDICT_TRUE(tc->last_lifecycle_id_seen == tag_and_id_)) { + *arena = tc->last_serial_arena; + return true; + } + return false; + } + SerialArena* GetSerialArenaFallback(void* me); + + template + void PerSerialArena(Functor fn) { + // By omitting an Acquire barrier we ensure that any user code that doesn't + // properly synchronize Reset() or the destructor will throw a TSAN warning. + SerialArena* serial = threads_.load(std::memory_order_relaxed); + + for (; serial; serial = serial->next()) fn(serial); + } + + // Releases all memory except the first block which it returns. The first + // block might be owned by the user and thus need some extra checks before + // deleting. + SerialArena::Memory Free(size_t* space_allocated); + +#ifdef _MSC_VER +#pragma warning(disable : 4324) +#endif + struct alignas(kCacheAlignment) ThreadCache { +#if defined(GOOGLE_PROTOBUF_NO_THREADLOCAL) + // If we are using the ThreadLocalStorage class to store the ThreadCache, + // then the ThreadCache's default constructor has to be responsible for + // initializing it. + ThreadCache() + : next_lifecycle_id(0), + last_lifecycle_id_seen(-1), + last_serial_arena(nullptr) {} +#endif + + // Number of per-thread lifecycle IDs to reserve. Must be power of two. + // To reduce contention on a global atomic, each thread reserves a batch of + // IDs. The following number is calculated based on a stress test with + // ~6500 threads all frequently allocating a new arena. + static constexpr size_t kPerThreadIds = 256; + // Next lifecycle ID available to this thread. We need to reserve a new + // batch, if `next_lifecycle_id & (kPerThreadIds - 1) == 0`. + uint64_t next_lifecycle_id; + // The ThreadCache is considered valid as long as this matches the + // lifecycle_id of the arena being used. + uint64_t last_lifecycle_id_seen; + SerialArena* last_serial_arena; + }; + + // Lifecycle_id can be highly contended variable in a situation of lots of + // arena creation. Make sure that other global variables are not sharing the + // cacheline. +#ifdef _MSC_VER +#pragma warning(disable : 4324) +#endif + struct alignas(kCacheAlignment) CacheAlignedLifecycleIdGenerator { + std::atomic id; + }; + static CacheAlignedLifecycleIdGenerator lifecycle_id_generator_; +#if defined(GOOGLE_PROTOBUF_NO_THREADLOCAL) + // iOS does not support __thread keyword so we use a custom thread local + // storage class we implemented. + static ThreadCache& thread_cache(); +#elif defined(PROTOBUF_USE_DLLS) + // Thread local variables cannot be exposed through DLL interface but we can + // wrap them in static functions. + static ThreadCache& thread_cache(); +#else + static PROTOBUF_THREAD_LOCAL ThreadCache thread_cache_; + static ThreadCache& thread_cache() { return thread_cache_; } +#endif + + ThreadSafeArenaStatsHandle arena_stats_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ThreadSafeArena); + // All protos have pointers back to the arena hence Arena must have + // pointer stability. + ThreadSafeArena(ThreadSafeArena&&) = delete; + ThreadSafeArena& operator=(ThreadSafeArena&&) = delete; + + public: + // kBlockHeaderSize is sizeof(Block), aligned up to the nearest multiple of 8 + // to protect the invariant that pos is always at a multiple of 8. + static constexpr size_t kBlockHeaderSize = SerialArena::kBlockHeaderSize; + static constexpr size_t kSerialArenaSize = + (sizeof(SerialArena) + 7) & static_cast(-8); + static_assert(kBlockHeaderSize % 8 == 0, + "kBlockHeaderSize must be a multiple of 8."); + static_assert(kSerialArenaSize % 8 == 0, + "kSerialArenaSize must be a multiple of 8."); +}; + +} // namespace internal +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_ARENA_IMPL_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_test_util.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_test_util.h new file mode 100644 index 0000000..6e42d4b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arena_test_util.h @@ -0,0 +1,132 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_ARENA_TEST_UTIL_H__ +#define GOOGLE_PROTOBUF_ARENA_TEST_UTIL_H__ + +#include +#include +#include +#include +#include + +namespace google { +namespace protobuf { + +template +void TestParseCorruptedString(const T& message) { + int success_count = 0; + std::string s; + { + // Map order is not deterministic. To make the test deterministic we want + // to serialize the proto deterministically. + io::StringOutputStream output(&s); + io::CodedOutputStream out(&output); + out.SetSerializationDeterministic(true); + message.SerializePartialToCodedStream(&out); + } + const int kMaxIters = 900; + const int stride = s.size() <= kMaxIters ? 1 : s.size() / kMaxIters; + const int start = stride == 1 || use_arena ? 0 : (stride + 1) / 2; + for (int i = start; i < s.size(); i += stride) { + for (int c = 1 + (i % 17); c < 256; c += 2 * c + (i & 3)) { + s[i] ^= c; + Arena arena; + T* message = Arena::CreateMessage(use_arena ? &arena : nullptr); + if (message->ParseFromString(s)) { + ++success_count; + } + if (!use_arena) { + delete message; + } + s[i] ^= c; // Restore s to its original state. + } + } + // This next line is a low bar. But getting through the test without crashing + // due to use-after-free or other bugs is a big part of what we're checking. + GOOGLE_CHECK_GT(success_count, 0); +} + +namespace internal { + +struct ArenaTestPeer { + static void ReturnArrayMemory(Arena* arena, void* p, size_t size) { + arena->ReturnArrayMemory(p, size); + } +}; + +class NoHeapChecker { + public: + NoHeapChecker() { capture_alloc.Hook(); } + ~NoHeapChecker(); + + private: + class NewDeleteCapture { + public: + // TODO(xiaofeng): Implement this for opensource protobuf. + void Hook() {} + void Unhook() {} + int alloc_count() { return 0; } + int free_count() { return 0; } + } capture_alloc; +}; + +// Owns the internal T only if it's not owned by an arena. +// T needs to be arena constructible and destructor skippable. +template +class ArenaHolder { + public: + explicit ArenaHolder(Arena* arena) + : field_(Arena::CreateMessage(arena)), + owned_by_arena_(arena != nullptr) { + GOOGLE_DCHECK(google::protobuf::Arena::is_arena_constructable::value); + GOOGLE_DCHECK(google::protobuf::Arena::is_destructor_skippable::value); + } + + ~ArenaHolder() { + if (!owned_by_arena_) { + delete field_; + } + } + + T* get() { return field_; } + T* operator->() { return field_; } + T& operator*() { return *field_; } + + private: + T* field_; + bool owned_by_arena_; +}; + +} // namespace internal +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_ARENA_TEST_UTIL_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenastring.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenastring.h new file mode 100644 index 0000000..6bc8395 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenastring.h @@ -0,0 +1,480 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_ARENASTRING_H__ +#define GOOGLE_PROTOBUF_ARENASTRING_H__ + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// must be last: +#include + +#ifdef SWIG +#error "You cannot SWIG proto headers" +#endif + + +namespace google { +namespace protobuf { +namespace internal { +class EpsCopyInputStream; + +class SwapFieldHelper; + +// Declared in message_lite.h +PROTOBUF_EXPORT extern ExplicitlyConstructedArenaString + fixed_address_empty_string; + +// Lazy string instance to support string fields with non-empty default. +// These are initialized on the first call to .get(). +class PROTOBUF_EXPORT LazyString { + public: + // We explicitly make LazyString an aggregate so that MSVC can do constant + // initialization on it without marking it `constexpr`. + // We do not want to use `constexpr` because it makes it harder to have extern + // storage for it and causes library bloat. + struct InitValue { + const char* ptr; + size_t size; + }; + // We keep a union of the initialization value and the std::string to save on + // space. We don't need the string array after Init() is done. + union { + mutable InitValue init_value_; + alignas(std::string) mutable char string_buf_[sizeof(std::string)]; + }; + mutable std::atomic inited_; + + const std::string& get() const { + // This check generates less code than a call-once invocation. + auto* res = inited_.load(std::memory_order_acquire); + if (PROTOBUF_PREDICT_FALSE(res == nullptr)) return Init(); + return *res; + } + + private: + // Initialize the string in `string_buf_`, update `inited_` and return it. + // We return it here to avoid having to read it again in the inlined code. + const std::string& Init() const; +}; + +class TaggedStringPtr { + public: + // Bit flags qualifying string properties. We can use 2 bits as + // ptr_ is guaranteed and enforced to be aligned on 4 byte boundaries. + enum Flags { + kArenaBit = 0x1, // ptr is arena allocated + kMutableBit = 0x2, // ptr contents are fully mutable + kMask = 0x3 // Bit mask + }; + + // Composed logical types + enum Type { + // Default strings are immutable and never owned. + kDefault = 0, + + // Allocated strings are mutable and (as the name implies) owned. + // A heap allocated string must be deleted. + kAllocated = kMutableBit, + + // Mutable arena strings are strings where the string instance is owned + // by the arena, but the string contents itself are owned by the string + // instance. Mutable arena string instances need to be destroyed which is + // typically done through a cleanup action added to the arena owning it. + kMutableArena = kArenaBit | kMutableBit, + + // Fixed size arena strings are strings where both the string instance and + // the string contents are fully owned by the arena. Fixed size arena + // strings are a platform and c++ library specific customization. Fixed + // size arena strings are immutable, with the exception of custom internal + // updates to the content that fit inside the existing capacity. + // Fixed size arena strings must never be deleted or destroyed. + kFixedSizeArena = kArenaBit, + }; + + TaggedStringPtr() = default; + explicit constexpr TaggedStringPtr(ExplicitlyConstructedArenaString* ptr) + : ptr_(ptr) {} + + // Sets the value to `p`, tagging the value as being a 'default' value. + // See documentation for kDefault for more info. + inline const std::string* SetDefault(const std::string* p) { + return TagAs(kDefault, const_cast(p)); + } + + // Sets the value to `p`, tagging the value as a heap allocated value. + // Allocated strings are mutable and (as the name implies) owned. + // `p` must not be null + inline std::string* SetAllocated(std::string* p) { + return TagAs(kAllocated, p); + } + + // Sets the value to `p`, tagging the value as a fixed size arena string. + // See documentation for kFixedSizeArena for more info. + // `p` must not be null + inline std::string* SetFixedSizeArena(std::string* p) { + return TagAs(kFixedSizeArena, p); + } + + // Sets the value to `p`, tagging the value as a mutable arena string. + // See documentation for kMutableArena for more info. + // `p` must not be null + inline std::string* SetMutableArena(std::string* p) { + return TagAs(kMutableArena, p); + } + + // Returns true if the contents of the current string are fully mutable. + inline bool IsMutable() const { return as_int() & kMutableBit; } + + // Returns true if the current string is an immutable default value. + inline bool IsDefault() const { return (as_int() & kMask) == kDefault; } + + // If the current string is a heap-allocated mutable value, returns a pointer + // to it. Returns nullptr otherwise. + inline std::string *GetIfAllocated() const { + auto allocated = as_int() ^ kAllocated; + if (allocated & kMask) return nullptr; + + auto ptr = reinterpret_cast(allocated); + PROTOBUF_ASSUME(ptr != nullptr); + return ptr; + } + + // Returns true if the current string is an arena allocated value. + // This means it's either a mutable or fixed size arena string. + inline bool IsArena() const { return as_int() & kArenaBit; } + + // Returns true if the current string is a fixed size arena allocated value. + inline bool IsFixedSizeArena() const { + return (as_int() & kMask) == kFixedSizeArena; + } + + // Returns the contained string pointer. + inline std::string* Get() const { + return reinterpret_cast(as_int() & ~kMask); + } + + // Returns true if the contained pointer is null, indicating some error. + // The Null value is only used during parsing for temporary values. + // A persisted ArenaStringPtr value is never null. + inline bool IsNull() { return ptr_ == nullptr; } + + private: + static inline void assert_aligned(const void* p) { + GOOGLE_DCHECK_EQ(reinterpret_cast(p) & kMask, 0UL); + } + + inline std::string* TagAs(Type type, std::string* p) { + GOOGLE_DCHECK(p != nullptr); + assert_aligned(p); + ptr_ = reinterpret_cast(reinterpret_cast(p) | type); + return p; + } + + uintptr_t as_int() const { return reinterpret_cast(ptr_); } + void* ptr_; +}; + +static_assert(std::is_trivial::value, + "TaggedStringPtr must be trivial"); + +// This class encapsulates a pointer to a std::string with or without arena +// owned contents, tagged by the bottom bits of the string pointer. It is a +// high-level wrapper that almost directly corresponds to the interface required +// by string fields in generated code. It replaces the old std::string* pointer +// in such cases. +// +// The string pointer is tagged to be either a default, externally owned value, +// a mutable heap allocated value, or an arena allocated value. The object uses +// a single global instance of an empty string that is used as the initial +// default value. Fields that have empty default values directly use this global +// default. Fields that have non empty default values are supported through +// lazily initialized default values managed by the LazyString class. +// +// Generated code and reflection code both ensure that ptr_ is never null. +// Because ArenaStringPtr is used in oneof unions, its constructor is a NOP and +// the field is always manually initialized via method calls. +// +// See TaggedStringPtr for more information about the types of string values +// being held, and the mutable and ownership invariants for each type. +struct PROTOBUF_EXPORT ArenaStringPtr { + ArenaStringPtr() = default; + constexpr ArenaStringPtr(ExplicitlyConstructedArenaString* default_value, + ConstantInitialized) + : tagged_ptr_(default_value) {} + + // Called from generated code / reflection runtime only. Resets value to point + // to a default string pointer, with the semantics that this ArenaStringPtr + // does not own the pointed-to memory. Disregards initial value of ptr_ (so + // this is the *ONLY* safe method to call after construction or when + // reinitializing after becoming the active field in a oneof union). + inline void InitDefault(); + + // Similar to `InitDefault` except that it allows the default value to be + // initialized to an externally owned string. This method is called from + // parsing code. `str` must not be null and outlive this instance. + inline void InitExternal(const std::string* str); + + // Called from generated code / reflection runtime only. Resets the value of + // this instances to the heap allocated value in `str`. `str` must not be + // null. Invokes `arena->Own(str)` to transfer ownership into the arena if + // `arena` is not null, else, `str` will be owned by ArenaStringPtr. This + // function should only be used to initialize a ArenaStringPtr or on an + // instance known to not carry any heap allocated value. + inline void InitAllocated(std::string* str, Arena* arena); + + void Set(ConstStringParam value, Arena* arena); + void Set(std::string&& value, Arena* arena); + void Set(const char* s, Arena* arena); + void Set(const char* s, size_t n, Arena* arena); + + void SetBytes(ConstStringParam value, Arena* arena); + void SetBytes(std::string&& value, Arena* arena); + void SetBytes(const char* s, Arena* arena); + void SetBytes(const void* p, size_t n, Arena* arena); + + template + void Set(std::reference_wrapper const_string_ref, + ::google::protobuf::Arena* arena) { + Set(const_string_ref.get(), arena); + } + + // Returns a mutable std::string reference. + // The version accepting a `LazyString` value is used in the generated code to + // initialize mutable copies for fields with a non-empty default where the + // default value is lazily initialized. + std::string* Mutable(Arena* arena); + std::string* Mutable(const LazyString& default_value, Arena* arena); + + // Gets a mutable pointer with unspecified contents. + // This function is identical to Mutable(), except it is optimized for the + // case where the caller is not interested in the current contents. For + // example, if the current field is not mutable, it will re-initialize the + // value with an empty string rather than a (non-empty) default value. + // Likewise, if the current value is a fixed size arena string with contents, + // it will be initialized into an empty mutable arena string. + std::string* MutableNoCopy(Arena* arena); + + // Basic accessors. + PROTOBUF_NDEBUG_INLINE const std::string& Get() const { + // Unconditionally mask away the tag. + return *tagged_ptr_.Get(); + } + + // Returns a pointer to the stored contents for this instance. + // This method is for internal debugging and tracking purposes only. + PROTOBUF_NDEBUG_INLINE const std::string* UnsafeGetPointer() const + PROTOBUF_RETURNS_NONNULL { + return tagged_ptr_.Get(); + } + + // Release returns a std::string* instance that is heap-allocated and is not + // Own()'d by any arena. If the field is not set, this returns nullptr. The + // caller retains ownership. Clears this field back to the default state. + // Used to implement release_() methods on generated classes. + PROTOBUF_NODISCARD std::string* Release(); + + // Takes a std::string that is heap-allocated, and takes ownership. The + // std::string's destructor is registered with the arena. Used to implement + // set_allocated_ in generated classes. + void SetAllocated(std::string* value, Arena* arena); + + // Frees storage (if not on an arena). + void Destroy(); + + // Clears content, but keeps allocated std::string, to avoid the overhead of + // heap operations. After this returns, the content (as seen by the user) will + // always be the empty std::string. Assumes that |default_value| is an empty + // std::string. + void ClearToEmpty(); + + // Clears content, assuming that the current value is not the empty + // string default. + void ClearNonDefaultToEmpty(); + + // Clears content, but keeps allocated std::string if arena != nullptr, to + // avoid the overhead of heap operations. After this returns, the content + // (as seen by the user) will always be equal to |default_value|. + void ClearToDefault(const LazyString& default_value, ::google::protobuf::Arena* arena); + + // Swaps internal pointers. Arena-safety semantics: this is guarded by the + // logic in Swap()/UnsafeArenaSwap() at the message level, so this method is + // 'unsafe' if called directly. + inline PROTOBUF_NDEBUG_INLINE static void InternalSwap(ArenaStringPtr* rhs, + Arena* rhs_arena, + ArenaStringPtr* lhs, + Arena* lhs_arena); + + // Internal setter used only at parse time to directly set a donated string + // value. + void UnsafeSetTaggedPointer(TaggedStringPtr value) { tagged_ptr_ = value; } + // Generated code only! An optimization, in certain cases the generated + // code is certain we can obtain a std::string with no default checks and + // tag tests. + std::string* UnsafeMutablePointer() PROTOBUF_RETURNS_NONNULL; + + // Returns true if this instances holds an immutable default value. + inline bool IsDefault() const { return tagged_ptr_.IsDefault(); } + + private: + template + inline std::string* NewString(Arena* arena, Args&&... args) { + if (arena == nullptr) { + auto* s = new std::string(std::forward(args)...); + return tagged_ptr_.SetAllocated(s); + } else { + auto* s = Arena::Create(arena, std::forward(args)...); + return tagged_ptr_.SetMutableArena(s); + } + } + + TaggedStringPtr tagged_ptr_; + + bool IsFixedSizeArena() const { return false; } + + // Swaps tagged pointer without debug hardening. This is to allow python + // protobuf to maintain pointer stability even in DEBUG builds. + inline PROTOBUF_NDEBUG_INLINE static void UnsafeShallowSwap( + ArenaStringPtr* rhs, ArenaStringPtr* lhs) { + std::swap(lhs->tagged_ptr_, rhs->tagged_ptr_); + } + + friend class ::google::protobuf::internal::SwapFieldHelper; + friend class TcParser; + + // Slow paths. + + // MutableSlow requires that !IsString() || IsDefault + // Variadic to support 0 args for empty default and 1 arg for LazyString. + template + std::string* MutableSlow(::google::protobuf::Arena* arena, const Lazy&... lazy_default); + + friend class EpsCopyInputStream; +}; + +inline void ArenaStringPtr::InitDefault() { + tagged_ptr_ = TaggedStringPtr(&fixed_address_empty_string); +} + +inline void ArenaStringPtr::InitExternal(const std::string* str) { + tagged_ptr_.SetDefault(str); +} + +inline void ArenaStringPtr::InitAllocated(std::string* str, Arena* arena) { + if (arena != nullptr) { + tagged_ptr_.SetMutableArena(str); + arena->Own(str); + } else { + tagged_ptr_.SetAllocated(str); + } +} + +inline void ArenaStringPtr::Set(const char* s, Arena* arena) { + Set(ConstStringParam{s}, arena); +} + +inline void ArenaStringPtr::Set(const char* s, size_t n, Arena* arena) { + Set(ConstStringParam{s, n}, arena); +} + +inline void ArenaStringPtr::SetBytes(ConstStringParam value, Arena* arena) { + Set(value, arena); +} + +inline void ArenaStringPtr::SetBytes(std::string&& value, Arena* arena) { + Set(std::move(value), arena); +} + +inline void ArenaStringPtr::SetBytes(const char* s, Arena* arena) { + Set(s, arena); +} + +inline void ArenaStringPtr::SetBytes(const void* p, size_t n, Arena* arena) { + Set(ConstStringParam{static_cast(p), n}, arena); +} + +// Make sure rhs_arena allocated rhs, and lhs_arena allocated lhs. +inline PROTOBUF_NDEBUG_INLINE void ArenaStringPtr::InternalSwap( // + ArenaStringPtr* rhs, Arena* rhs_arena, // + ArenaStringPtr* lhs, Arena* lhs_arena) { + // Silence unused variable warnings in release buildls. + (void)rhs_arena; + (void)lhs_arena; + std::swap(lhs->tagged_ptr_, rhs->tagged_ptr_); +#ifdef PROTOBUF_FORCE_COPY_IN_SWAP + auto force_realloc = [](ArenaStringPtr* p, Arena* arena) { + if (p->IsDefault()) return; + std::string* old_value = p->tagged_ptr_.Get(); + std::string* new_value = + p->IsFixedSizeArena() + ? Arena::Create(arena, *old_value) + : Arena::Create(arena, std::move(*old_value)); + if (arena == nullptr) { + delete old_value; + p->tagged_ptr_.SetAllocated(new_value); + } else { + p->tagged_ptr_.SetMutableArena(new_value); + } + }; + // Because, at this point, tagged_ptr_ has been swapped, arena should also be + // swapped. + force_realloc(lhs, rhs_arena); + force_realloc(rhs, lhs_arena); +#endif // PROTOBUF_FORCE_COPY_IN_SWAP +} + +inline void ArenaStringPtr::ClearNonDefaultToEmpty() { + // Unconditionally mask away the tag. + tagged_ptr_.Get()->clear(); +} + +inline std::string* ArenaStringPtr::UnsafeMutablePointer() { + GOOGLE_DCHECK(tagged_ptr_.IsMutable()); + GOOGLE_DCHECK(tagged_ptr_.Get() != nullptr); + return tagged_ptr_.Get(); +} + + +} // namespace internal +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_ARENASTRING_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenaz_sampler.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenaz_sampler.h new file mode 100644 index 0000000..b04b0cc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/arenaz_sampler.h @@ -0,0 +1,207 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_SRC_GOOGLE_PROTOBUF_ARENAZ_SAMPLER_H__ +#define GOOGLE_PROTOBUF_SRC_GOOGLE_PROTOBUF_ARENAZ_SAMPLER_H__ + +#include +#include +#include + + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace internal { + +#if defined(PROTOBUF_ARENAZ_SAMPLE) +struct ThreadSafeArenaStats; +void RecordResetSlow(ThreadSafeArenaStats* info); +void RecordAllocateSlow(ThreadSafeArenaStats* info, size_t requested, + size_t allocated, size_t wasted); +// Stores information about a sampled thread safe arena. All mutations to this +// *must* be made through `Record*` functions below. All reads from this *must* +// only occur in the callback to `ThreadSafeArenazSampler::Iterate`. +struct ThreadSafeArenaStats + : public absl::profiling_internal::Sample { + // Constructs the object but does not fill in any fields. + ThreadSafeArenaStats(); + ~ThreadSafeArenaStats(); + + // Puts the object into a clean state, fills in the logically `const` members, + // blocking for any readers that are currently sampling the object. + void PrepareForSampling() ABSL_EXCLUSIVE_LOCKS_REQUIRED(init_mu); + + // These fields are mutated by the various Record* APIs and need to be + // thread-safe. + std::atomic num_allocations; + std::atomic num_resets; + std::atomic bytes_requested; + std::atomic bytes_allocated; + std::atomic bytes_wasted; + // Records the largest size an arena ever had. Maintained across resets. + std::atomic max_bytes_allocated; + // Bit i when set to 1 indicates that a thread with tid % 63 = i accessed the + // underlying arena. The field is maintained across resets. + std::atomic thread_ids; + + // All of the fields below are set by `PrepareForSampling`, they must not + // be mutated in `Record*` functions. They are logically `const` in that + // sense. These are guarded by init_mu, but that is not externalized to + // clients, who can only read them during + // `ThreadSafeArenazSampler::Iterate` which will hold the lock. + static constexpr int kMaxStackDepth = 64; + int32_t depth; + void* stack[kMaxStackDepth]; + static void RecordAllocateStats(ThreadSafeArenaStats* info, size_t requested, + size_t allocated, size_t wasted) { + if (PROTOBUF_PREDICT_TRUE(info == nullptr)) return; + RecordAllocateSlow(info, requested, allocated, wasted); + } +}; + +ThreadSafeArenaStats* SampleSlow(int64_t* next_sample); +void UnsampleSlow(ThreadSafeArenaStats* info); + +class ThreadSafeArenaStatsHandle { + public: + explicit ThreadSafeArenaStatsHandle() = default; + explicit ThreadSafeArenaStatsHandle(ThreadSafeArenaStats* info) + : info_(info) {} + + ~ThreadSafeArenaStatsHandle() { + if (PROTOBUF_PREDICT_TRUE(info_ == nullptr)) return; + UnsampleSlow(info_); + } + + ThreadSafeArenaStatsHandle(ThreadSafeArenaStatsHandle&& other) noexcept + : info_(absl::exchange(other.info_, nullptr)) {} + + ThreadSafeArenaStatsHandle& operator=( + ThreadSafeArenaStatsHandle&& other) noexcept { + if (PROTOBUF_PREDICT_FALSE(info_ != nullptr)) { + UnsampleSlow(info_); + } + info_ = absl::exchange(other.info_, nullptr); + return *this; + } + + void RecordReset() { + if (PROTOBUF_PREDICT_TRUE(info_ == nullptr)) return; + RecordResetSlow(info_); + } + + ThreadSafeArenaStats* MutableStats() { return info_; } + + friend void swap(ThreadSafeArenaStatsHandle& lhs, + ThreadSafeArenaStatsHandle& rhs) { + std::swap(lhs.info_, rhs.info_); + } + + friend class ThreadSafeArenaStatsHandlePeer; + + private: + ThreadSafeArenaStats* info_ = nullptr; +}; + +using ThreadSafeArenazSampler = + ::absl::profiling_internal::SampleRecorder; + +extern PROTOBUF_THREAD_LOCAL int64_t global_next_sample; + +// Returns an RAII sampling handle that manages registration and unregistation +// with the global sampler. +inline ThreadSafeArenaStatsHandle Sample() { + if (PROTOBUF_PREDICT_TRUE(--global_next_sample > 0)) { + return ThreadSafeArenaStatsHandle(nullptr); + } + return ThreadSafeArenaStatsHandle(SampleSlow(&global_next_sample)); +} + +#else +struct ThreadSafeArenaStats { + static void RecordAllocateStats(ThreadSafeArenaStats*, size_t /*requested*/, + size_t /*allocated*/, size_t /*wasted*/) {} +}; + +ThreadSafeArenaStats* SampleSlow(int64_t* next_sample); +void UnsampleSlow(ThreadSafeArenaStats* info); + +class ThreadSafeArenaStatsHandle { + public: + explicit ThreadSafeArenaStatsHandle() = default; + explicit ThreadSafeArenaStatsHandle(ThreadSafeArenaStats*) {} + + void RecordReset() {} + + ThreadSafeArenaStats* MutableStats() { return nullptr; } + + friend void swap(ThreadSafeArenaStatsHandle&, ThreadSafeArenaStatsHandle&) {} + + private: + friend class ThreadSafeArenaStatsHandlePeer; +}; + +class ThreadSafeArenazSampler { + public: + void Unregister(ThreadSafeArenaStats*) {} + void SetMaxSamples(int32_t) {} +}; + +// Returns an RAII sampling handle that manages registration and unregistation +// with the global sampler. +inline ThreadSafeArenaStatsHandle Sample() { + return ThreadSafeArenaStatsHandle(nullptr); +} +#endif // defined(PROTOBUF_ARENAZ_SAMPLE) + +// Returns a global Sampler. +ThreadSafeArenazSampler& GlobalThreadSafeArenazSampler(); + +// Enables or disables sampling for thread safe arenas. +void SetThreadSafeArenazEnabled(bool enabled); + +// Sets the rate at which thread safe arena will be sampled. +void SetThreadSafeArenazSampleParameter(int32_t rate); + +// Sets a soft max for the number of samples that will be kept. +void SetThreadSafeArenazMaxSamples(int32_t max); + +// Sets the current value for when arenas should be next sampled. +void SetThreadSafeArenazGlobalNextSample(int64_t next_sample); + +} // namespace internal +} // namespace protobuf +} // namespace google + +#include +#endif // GOOGLE_PROTOBUF_SRC_PROTOBUF_ARENAZ_SAMPLER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/annotation_test_util.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/annotation_test_util.h new file mode 100644 index 0000000..b7c6ddd --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/annotation_test_util.h @@ -0,0 +1,115 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_COMPILER_ANNOTATION_TEST_UTIL_H__ +#define GOOGLE_PROTOBUF_COMPILER_ANNOTATION_TEST_UTIL_H__ + +#include +#include +#include + +// Utilities that assist in writing tests for generator annotations. +// See java/internal/annotation_unittest.cc for an example. +namespace google { +namespace protobuf { +namespace compiler { +namespace annotation_test_util { + +// Struct that contains the file generated from a .proto file and its +// GeneratedCodeInfo. For example, the Java generator will fill this struct +// (for some 'foo.proto') with: +// file_path = "Foo.java" +// file_content = content of Foo.java +// file_info = parsed content of Foo.java.pb.meta +struct ExpectedOutput { + std::string file_path; + std::string file_content; + GeneratedCodeInfo file_info; + explicit ExpectedOutput(const std::string& file_path) + : file_path(file_path) {} +}; + +// Creates a file with name `filename` and content `data` in temp test +// directory. +void AddFile(const std::string& filename, const std::string& data); + +// Runs proto compiler. Captures proto file structure in FileDescriptorProto. +// Files will be generated in TestTempDir() folder. Callers of this +// function must read generated files themselves. +// +// filename: source .proto file used to generate code. +// plugin_specific_args: command line arguments specific to current generator. +// For Java, this value might be "--java_out=annotate_code:test_temp_dir" +// cli: instance of command line interface to run generator. See Java's +// annotation_unittest.cc for an example of how to initialize it. +// file: output parameter, will be set to the descriptor of the proto file +// specified in filename. +bool RunProtoCompiler(const std::string& filename, + const std::string& plugin_specific_args, + CommandLineInterface* cli, FileDescriptorProto* file); + +bool DecodeMetadata(const std::string& path, GeneratedCodeInfo* info); + +// Finds all of the Annotations for a given source file and path. +// See Location.path in https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto for +// explanation of what path vector is. +void FindAnnotationsOnPath( + const GeneratedCodeInfo& info, const std::string& source_file, + const std::vector& path, + std::vector* annotations); + +// Finds the Annotation for a given source file and path (or returns null if it +// couldn't). If there are several annotations for given path, returns the first +// one. See Location.path in +// https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto for explanation of what path +// vector is. +const GeneratedCodeInfo::Annotation* FindAnnotationOnPath( + const GeneratedCodeInfo& info, const std::string& source_file, + const std::vector& path); + +// Returns true if at least one of the provided annotations covers a given +// substring in file_content. +bool AtLeastOneAnnotationMatchesSubstring( + const std::string& file_content, + const std::vector& annotations, + const std::string& expected_text); + +// Returns true if the provided annotation covers a given substring in +// file_content. +bool AnnotationMatchesSubstring(const std::string& file_content, + const GeneratedCodeInfo::Annotation* annotation, + const std::string& expected_text); + +} // namespace annotation_test_util +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_ANNOTATION_TEST_UTIL_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/code_generator.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/code_generator.h new file mode 100644 index 0000000..9c0b115 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/code_generator.h @@ -0,0 +1,207 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// Defines the abstract interface implemented by each of the language-specific +// code generators. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CODE_GENERATOR_H__ +#define GOOGLE_PROTOBUF_COMPILER_CODE_GENERATOR_H__ + +#include +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +namespace io { +class ZeroCopyOutputStream; +} +class FileDescriptor; +class GeneratedCodeInfo; + +namespace compiler { +class AccessInfoMap; + +class Version; + +// Defined in this file. +class CodeGenerator; +class GeneratorContext; + +// The abstract interface to a class which generates code implementing a +// particular proto file in a particular language. A number of these may +// be registered with CommandLineInterface to support various languages. +class PROTOC_EXPORT CodeGenerator { + public: + inline CodeGenerator() {} + virtual ~CodeGenerator(); + + // Generates code for the given proto file, generating one or more files in + // the given output directory. + // + // A parameter to be passed to the generator can be specified on the command + // line. This is intended to be used to pass generator specific parameters. + // It is empty if no parameter was given. ParseGeneratorParameter (below), + // can be used to accept multiple parameters within the single parameter + // command line flag. + // + // Returns true if successful. Otherwise, sets *error to a description of + // the problem (e.g. "invalid parameter") and returns false. + virtual bool Generate(const FileDescriptor* file, + const std::string& parameter, + GeneratorContext* generator_context, + std::string* error) const = 0; + + // Generates code for all given proto files. + // + // WARNING: The canonical code generator design produces one or two output + // files per input .proto file, and we do not wish to encourage alternate + // designs. + // + // A parameter is given as passed on the command line, as in |Generate()| + // above. + // + // Returns true if successful. Otherwise, sets *error to a description of + // the problem (e.g. "invalid parameter") and returns false. + virtual bool GenerateAll(const std::vector& files, + const std::string& parameter, + GeneratorContext* generator_context, + std::string* error) const; + + // This must be kept in sync with plugin.proto. See that file for + // documentation on each value. + enum Feature { + FEATURE_PROTO3_OPTIONAL = 1, + }; + + // Implement this to indicate what features this code generator supports. + // + // This must be a bitwise OR of values from the Feature enum above (or zero). + virtual uint64_t GetSupportedFeatures() const { return 0; } + + // This is no longer used, but this class is part of the opensource protobuf + // library, so it has to remain to keep vtables the same for the current + // version of the library. When protobufs does a api breaking change, the + // method can be removed. + virtual bool HasGenerateAll() const { return true; } + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodeGenerator); +}; + +// CodeGenerators generate one or more files in a given directory. This +// abstract interface represents the directory to which the CodeGenerator is +// to write and other information about the context in which the Generator +// runs. +class PROTOC_EXPORT GeneratorContext { + public: + inline GeneratorContext() { + } + virtual ~GeneratorContext(); + + // Opens the given file, truncating it if it exists, and returns a + // ZeroCopyOutputStream that writes to the file. The caller takes ownership + // of the returned object. This method never fails (a dummy stream will be + // returned instead). + // + // The filename given should be relative to the root of the source tree. + // E.g. the C++ generator, when generating code for "foo/bar.proto", will + // generate the files "foo/bar.pb.h" and "foo/bar.pb.cc"; note that + // "foo/" is included in these filenames. The filename is not allowed to + // contain "." or ".." components. + virtual io::ZeroCopyOutputStream* Open(const std::string& filename) = 0; + + // Similar to Open() but the output will be appended to the file if exists + virtual io::ZeroCopyOutputStream* OpenForAppend(const std::string& filename); + + // Creates a ZeroCopyOutputStream which will insert code into the given file + // at the given insertion point. See plugin.proto (plugin.pb.h) for more + // information on insertion points. The default implementation + // assert-fails -- it exists only for backwards-compatibility. + // + // WARNING: This feature is currently EXPERIMENTAL and is subject to change. + virtual io::ZeroCopyOutputStream* OpenForInsert( + const std::string& filename, const std::string& insertion_point); + + // Similar to OpenForInsert, but if `info` is non-empty, will open (or create) + // filename.pb.meta and insert info at the appropriate place with the + // necessary shifts. The default implementation ignores `info`. + // + // WARNING: This feature will be REMOVED in the near future. + virtual io::ZeroCopyOutputStream* OpenForInsertWithGeneratedCodeInfo( + const std::string& filename, const std::string& insertion_point, + const google::protobuf::GeneratedCodeInfo& info); + + // Returns a vector of FileDescriptors for all the files being compiled + // in this run. Useful for languages, such as Go, that treat files + // differently when compiled as a set rather than individually. + virtual void ListParsedFiles(std::vector* output); + + // Retrieves the version number of the protocol compiler associated with + // this GeneratorContext. + virtual void GetCompilerVersion(Version* version) const; + + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(GeneratorContext); +}; + +// The type GeneratorContext was once called OutputDirectory. This typedef +// provides backward compatibility. +typedef GeneratorContext OutputDirectory; + +// Several code generators treat the parameter argument as holding a +// list of options separated by commas. This helper function parses +// a set of comma-delimited name/value pairs: e.g., +// "foo=bar,baz,moo=corge" +// parses to the pairs: +// ("foo", "bar"), ("baz", ""), ("moo", "corge") +PROTOC_EXPORT void ParseGeneratorParameter( + const std::string&, std::vector >*); + +// Strips ".proto" or ".protodevel" from the end of a filename. +PROTOC_EXPORT std::string StripProto(const std::string& filename); + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_CODE_GENERATOR_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/command_line_interface.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/command_line_interface.h new file mode 100644 index 0000000..e842550 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/command_line_interface.h @@ -0,0 +1,464 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// Implements the Protocol Compiler front-end such that it may be reused by +// custom compilers written to support other languages. + +#ifndef GOOGLE_PROTOBUF_COMPILER_COMMAND_LINE_INTERFACE_H__ +#define GOOGLE_PROTOBUF_COMPILER_COMMAND_LINE_INTERFACE_H__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +class Descriptor; // descriptor.h +class DescriptorDatabase; // descriptor_database.h +class DescriptorPool; // descriptor.h +class FileDescriptor; // descriptor.h +class FileDescriptorSet; // descriptor.h +class FileDescriptorProto; // descriptor.pb.h +template +class RepeatedPtrField; // repeated_field.h +class SimpleDescriptorDatabase; // descriptor_database.h + +namespace compiler { + +class CodeGenerator; // code_generator.h +class GeneratorContext; // code_generator.h +class DiskSourceTree; // importer.h + +// This class implements the command-line interface to the protocol compiler. +// It is designed to make it very easy to create a custom protocol compiler +// supporting the languages of your choice. For example, if you wanted to +// create a custom protocol compiler binary which includes both the regular +// C++ support plus support for your own custom output "Foo", you would +// write a class "FooGenerator" which implements the CodeGenerator interface, +// then write a main() procedure like this: +// +// int main(int argc, char* argv[]) { +// google::protobuf::compiler::CommandLineInterface cli; +// +// // Support generation of C++ source and headers. +// google::protobuf::compiler::cpp::CppGenerator cpp_generator; +// cli.RegisterGenerator("--cpp_out", &cpp_generator, +// "Generate C++ source and header."); +// +// // Support generation of Foo code. +// FooGenerator foo_generator; +// cli.RegisterGenerator("--foo_out", &foo_generator, +// "Generate Foo file."); +// +// return cli.Run(argc, argv); +// } +// +// The compiler is invoked with syntax like: +// protoc --cpp_out=outdir --foo_out=outdir --proto_path=src src/foo.proto +// +// The .proto file to compile can be specified on the command line using either +// its physical file path, or a virtual path relative to a directory specified +// in --proto_path. For example, for src/foo.proto, the following two protoc +// invocations work the same way: +// 1. protoc --proto_path=src src/foo.proto (physical file path) +// 2. protoc --proto_path=src foo.proto (virtual path relative to src) +// +// If a file path can be interpreted both as a physical file path and as a +// relative virtual path, the physical file path takes precedence. +// +// For a full description of the command-line syntax, invoke it with --help. +class PROTOC_EXPORT CommandLineInterface { + public: + static const char* const kPathSeparator; + + CommandLineInterface(); + ~CommandLineInterface(); + + // Register a code generator for a language. + // + // Parameters: + // * flag_name: The command-line flag used to specify an output file of + // this type. The name must start with a '-'. If the name is longer + // than one letter, it must start with two '-'s. + // * generator: The CodeGenerator which will be called to generate files + // of this type. + // * help_text: Text describing this flag in the --help output. + // + // Some generators accept extra parameters. You can specify this parameter + // on the command-line by placing it before the output directory, separated + // by a colon: + // protoc --foo_out=enable_bar:outdir + // The text before the colon is passed to CodeGenerator::Generate() as the + // "parameter". + void RegisterGenerator(const std::string& flag_name, CodeGenerator* generator, + const std::string& help_text); + + // Register a code generator for a language. + // Besides flag_name you can specify another option_flag_name that could be + // used to pass extra parameters to the registered code generator. + // Suppose you have registered a generator by calling: + // command_line_interface.RegisterGenerator("--foo_out", "--foo_opt", ...) + // Then you could invoke the compiler with a command like: + // protoc --foo_out=enable_bar:outdir --foo_opt=enable_baz + // This will pass "enable_bar,enable_baz" as the parameter to the generator. + void RegisterGenerator(const std::string& flag_name, + const std::string& option_flag_name, + CodeGenerator* generator, + const std::string& help_text); + + // Enables "plugins". In this mode, if a command-line flag ends with "_out" + // but does not match any registered generator, the compiler will attempt to + // find a "plugin" to implement the generator. Plugins are just executables. + // They should live somewhere in the PATH. + // + // The compiler determines the executable name to search for by concatenating + // exe_name_prefix with the unrecognized flag name, removing "_out". So, for + // example, if exe_name_prefix is "protoc-" and you pass the flag --foo_out, + // the compiler will try to run the program "protoc-gen-foo". + // + // The plugin program should implement the following usage: + // plugin [--out=OUTDIR] [--parameter=PARAMETER] PROTO_FILES < DESCRIPTORS + // --out indicates the output directory (as passed to the --foo_out + // parameter); if omitted, the current directory should be used. --parameter + // gives the generator parameter, if any was provided (see below). The + // PROTO_FILES list the .proto files which were given on the compiler + // command-line; these are the files for which the plugin is expected to + // generate output code. Finally, DESCRIPTORS is an encoded FileDescriptorSet + // (as defined in descriptor.proto). This is piped to the plugin's stdin. + // The set will include descriptors for all the files listed in PROTO_FILES as + // well as all files that they import. The plugin MUST NOT attempt to read + // the PROTO_FILES directly -- it must use the FileDescriptorSet. + // + // The plugin should generate whatever files are necessary, as code generators + // normally do. It should write the names of all files it generates to + // stdout. The names should be relative to the output directory, NOT absolute + // names or relative to the current directory. If any errors occur, error + // messages should be written to stderr. If an error is fatal, the plugin + // should exit with a non-zero exit code. + // + // Plugins can have generator parameters similar to normal built-in + // generators. Extra generator parameters can be passed in via a matching + // "_opt" parameter. For example: + // protoc --plug_out=enable_bar:outdir --plug_opt=enable_baz + // This will pass "enable_bar,enable_baz" as the parameter to the plugin. + // + void AllowPlugins(const std::string& exe_name_prefix); + + // Run the Protocol Compiler with the given command-line parameters. + // Returns the error code which should be returned by main(). + // + // It may not be safe to call Run() in a multi-threaded environment because + // it calls strerror(). I'm not sure why you'd want to do this anyway. + int Run(int argc, const char* const argv[]); + + // DEPRECATED. Calling this method has no effect. Protocol compiler now + // always try to find the .proto file relative to the current directory + // first and if the file is not found, it will then treat the input path + // as a virtual path. + void SetInputsAreProtoPathRelative(bool /* enable */) {} + + // Provides some text which will be printed when the --version flag is + // used. The version of libprotoc will also be printed on the next line + // after this text. + void SetVersionInfo(const std::string& text) { version_info_ = text; } + + + private: + // ----------------------------------------------------------------- + + class ErrorPrinter; + class GeneratorContextImpl; + class MemoryOutputStream; + typedef std::unordered_map> + GeneratorContextMap; + + // Clear state from previous Run(). + void Clear(); + + // Remaps the proto file so that it is relative to one of the directories + // in proto_path_. Returns false if an error occurred. + bool MakeProtoProtoPathRelative(DiskSourceTree* source_tree, + std::string* proto, + DescriptorDatabase* fallback_database); + + // Remaps each file in input_files_ so that it is relative to one of the + // directories in proto_path_. Returns false if an error occurred. + bool MakeInputsBeProtoPathRelative(DiskSourceTree* source_tree, + DescriptorDatabase* fallback_database); + + // Fails if these files use proto3 optional and the code generator doesn't + // support it. This is a permanent check. + bool EnforceProto3OptionalSupport( + const std::string& codegen_name, uint64_t supported_features, + const std::vector& parsed_files) const; + + + // Return status for ParseArguments() and InterpretArgument(). + enum ParseArgumentStatus { + PARSE_ARGUMENT_DONE_AND_CONTINUE, + PARSE_ARGUMENT_DONE_AND_EXIT, + PARSE_ARGUMENT_FAIL + }; + + // Parse all command-line arguments. + ParseArgumentStatus ParseArguments(int argc, const char* const argv[]); + + // Read an argument file and append the file's content to the list of + // arguments. Return false if the file cannot be read. + bool ExpandArgumentFile(const std::string& file, + std::vector* arguments); + + // Parses a command-line argument into a name/value pair. Returns + // true if the next argument in the argv should be used as the value, + // false otherwise. + // + // Examples: + // "-Isrc/protos" -> + // name = "-I", value = "src/protos" + // "--cpp_out=src/foo.pb2.cc" -> + // name = "--cpp_out", value = "src/foo.pb2.cc" + // "foo.proto" -> + // name = "", value = "foo.proto" + bool ParseArgument(const char* arg, std::string* name, std::string* value); + + // Interprets arguments parsed with ParseArgument. + ParseArgumentStatus InterpretArgument(const std::string& name, + const std::string& value); + + // Print the --help text to stderr. + void PrintHelpText(); + + // Loads proto_path_ into the provided source_tree. + bool InitializeDiskSourceTree(DiskSourceTree* source_tree, + DescriptorDatabase* fallback_database); + + // Verify that all the input files exist in the given database. + bool VerifyInputFilesInDescriptors(DescriptorDatabase* fallback_database); + + // Parses input_files_ into parsed_files + bool ParseInputFiles(DescriptorPool* descriptor_pool, + DiskSourceTree* source_tree, + std::vector* parsed_files); + + // Generate the given output file from the given input. + struct OutputDirective; // see below + bool GenerateOutput(const std::vector& parsed_files, + const OutputDirective& output_directive, + GeneratorContext* generator_context); + bool GeneratePluginOutput( + const std::vector& parsed_files, + const std::string& plugin_name, const std::string& parameter, + GeneratorContext* generator_context, std::string* error); + + // Implements --encode and --decode. + bool EncodeOrDecode(const DescriptorPool* pool); + + // Implements the --descriptor_set_out option. + bool WriteDescriptorSet( + const std::vector& parsed_files); + + // Implements the --dependency_out option + bool GenerateDependencyManifestFile( + const std::vector& parsed_files, + const GeneratorContextMap& output_directories, + DiskSourceTree* source_tree); + + // Get all transitive dependencies of the given file (including the file + // itself), adding them to the given list of FileDescriptorProtos. The + // protos will be ordered such that every file is listed before any file that + // depends on it, so that you can call DescriptorPool::BuildFile() on them + // in order. Any files in *already_seen will not be added, and each file + // added will be inserted into *already_seen. If include_source_code_info is + // true then include the source code information in the FileDescriptorProtos. + // If include_json_name is true, populate the json_name field of + // FieldDescriptorProto for all fields. + static void GetTransitiveDependencies( + const FileDescriptor* file, bool include_json_name, + bool include_source_code_info, + std::set* already_seen, + RepeatedPtrField* output); + + // Implements the --print_free_field_numbers. This function prints free field + // numbers into stdout for the message and it's nested message types in + // post-order, i.e. nested types first. Printed range are left-right + // inclusive, i.e. [a, b]. + // + // Groups: + // For historical reasons, groups are considered to share the same + // field number space with the parent message, thus it will not print free + // field numbers for groups. The field numbers used in the groups are + // excluded in the free field numbers of the parent message. + // + // Extension Ranges: + // Extension ranges are considered ocuppied field numbers and they will not be + // listed as free numbers in the output. + void PrintFreeFieldNumbers(const Descriptor* descriptor); + + // ----------------------------------------------------------------- + + // The name of the executable as invoked (i.e. argv[0]). + std::string executable_name_; + + // Version info set with SetVersionInfo(). + std::string version_info_; + + // Registered generators. + struct GeneratorInfo { + std::string flag_name; + std::string option_flag_name; + CodeGenerator* generator; + std::string help_text; + }; + typedef std::map GeneratorMap; + GeneratorMap generators_by_flag_name_; + GeneratorMap generators_by_option_name_; + // A map from generator names to the parameters specified using the option + // flag. For example, if the user invokes the compiler with: + // protoc --foo_out=outputdir --foo_opt=enable_bar ... + // Then there will be an entry ("--foo_out", "enable_bar") in this map. + std::map generator_parameters_; + // Similar to generator_parameters_, but stores the parameters for plugins. + std::map plugin_parameters_; + + // See AllowPlugins(). If this is empty, plugins aren't allowed. + std::string plugin_prefix_; + + // Maps specific plugin names to files. When executing a plugin, this map + // is searched first to find the plugin executable. If not found here, the + // PATH (or other OS-specific search strategy) is searched. + std::map plugins_; + + // Stuff parsed from command line. + enum Mode { + MODE_COMPILE, // Normal mode: parse .proto files and compile them. + MODE_ENCODE, // --encode: read text from stdin, write binary to stdout. + MODE_DECODE, // --decode: read binary from stdin, write text to stdout. + MODE_PRINT, // Print mode: print info of the given .proto files and exit. + }; + + Mode mode_ = MODE_COMPILE; + + enum PrintMode { + PRINT_NONE, // Not in MODE_PRINT + PRINT_FREE_FIELDS, // --print_free_fields + }; + + PrintMode print_mode_ = PRINT_NONE; + + enum ErrorFormat { + ERROR_FORMAT_GCC, // GCC error output format (default). + ERROR_FORMAT_MSVS // Visual Studio output (--error_format=msvs). + }; + + ErrorFormat error_format_ = ERROR_FORMAT_GCC; + + // True if we should treat warnings as errors that fail the compilation. + bool fatal_warnings_ = false; + + std::vector > + proto_path_; // Search path for proto files. + std::vector input_files_; // Names of the input proto files. + + // Names of proto files which are allowed to be imported. Used by build + // systems to enforce depend-on-what-you-import. + std::set direct_dependencies_; + bool direct_dependencies_explicitly_set_ = false; + + // If there's a violation of depend-on-what-you-import, this string will be + // presented to the user. "%s" will be replaced with the violating import. + std::string direct_dependencies_violation_msg_; + + // output_directives_ lists all the files we are supposed to output and what + // generator to use for each. + struct OutputDirective { + std::string name; // E.g. "--foo_out" + CodeGenerator* generator; // NULL for plugins + std::string parameter; + std::string output_location; + }; + std::vector output_directives_; + + // When using --encode or --decode, this names the type we are encoding or + // decoding. (Empty string indicates --decode_raw.) + std::string codec_type_; + + // If --descriptor_set_in was given, these are filenames containing + // parsed FileDescriptorSets to be used for loading protos. Otherwise, empty. + std::vector descriptor_set_in_names_; + + // If --descriptor_set_out was given, this is the filename to which the + // FileDescriptorSet should be written. Otherwise, empty. + std::string descriptor_set_out_name_; + + // If --dependency_out was given, this is the path to the file where the + // dependency file will be written. Otherwise, empty. + std::string dependency_out_name_; + + // True if --include_imports was given, meaning that we should + // write all transitive dependencies to the DescriptorSet. Otherwise, only + // the .proto files listed on the command-line are added. + bool imports_in_descriptor_set_; + + // True if --include_source_info was given, meaning that we should not strip + // SourceCodeInfo from the DescriptorSet. + bool source_info_in_descriptor_set_ = false; + + // Was the --disallow_services flag used? + bool disallow_services_ = false; + + // When using --encode, this will be passed to SetSerializationDeterministic. + bool deterministic_output_ = false; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CommandLineInterface); +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_COMMAND_LINE_INTERFACE_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/cpp_generator.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/cpp_generator.h new file mode 100644 index 0000000..1716ab2 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/cpp_generator.h @@ -0,0 +1,6 @@ +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_CPP_GENERATOR_H_ +#define GOOGLE_PROTOBUF_COMPILER_CPP_CPP_GENERATOR_H_ + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_CPP_GENERATOR_H_ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum.h new file mode 100644 index 0000000..610d4fc --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum.h @@ -0,0 +1,106 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_H__ + +#include +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class EnumGenerator { + public: + // See generator.cc for the meaning of dllexport_decl. + EnumGenerator(const EnumDescriptor* descriptor, + const std::map& vars, + const Options& options); + ~EnumGenerator(); + + // Generate header code defining the enum. This code should be placed + // within the enum's package namespace, but NOT within any class, even for + // nested enums. + void GenerateDefinition(io::Printer* printer); + + // Generate specialization of GetEnumDescriptor(). + // Precondition: in ::google::protobuf namespace. + void GenerateGetEnumDescriptorSpecializations(io::Printer* printer); + + // For enums nested within a message, generate code to import all the enum's + // symbols (e.g. the enum type name, all its values, etc.) into the class's + // namespace. This should be placed inside the class definition in the + // header. + void GenerateSymbolImports(io::Printer* printer) const; + + // Source file stuff. + + // Generate non-inline methods related to the enum, such as IsValidValue(). + // Goes in the .cc file. EnumDescriptors are stored in an array, idx is + // the index in this array that corresponds with this enum. + void GenerateMethods(int idx, io::Printer* printer); + + private: + const EnumDescriptor* descriptor_; + const std::string classname_; + const Options& options_; + // whether to generate the *_ARRAYSIZE constant. + const bool generate_array_size_; + + std::map variables_; + + friend class FileGenerator; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum_field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum_field.h new file mode 100644 index 0000000..61bae85 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/enum_field.h @@ -0,0 +1,125 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_FIELD_H__ + +#include +#include + +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class EnumFieldGenerator : public FieldGenerator { + public: + EnumFieldGenerator(const FieldDescriptor* descriptor, const Options& options); + ~EnumFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumFieldGenerator); +}; + +class EnumOneofFieldGenerator : public EnumFieldGenerator { + public: + EnumOneofFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~EnumOneofFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumOneofFieldGenerator); +}; + +class RepeatedEnumFieldGenerator : public FieldGenerator { + public: + RepeatedEnumFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~RepeatedEnumFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + void GenerateCopyConstructorCode(io::Printer* /*printer*/) const override { + GOOGLE_CHECK(!ShouldSplit(descriptor_, options_)); + } + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedEnumFieldGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_ENUM_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/extension.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/extension.h new file mode 100644 index 0000000..282931f --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/extension.h @@ -0,0 +1,95 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_EXTENSION_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_EXTENSION_H__ + +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +class FieldDescriptor; // descriptor.h +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class MessageSCCAnalyzer; + +// Generates code for an extension, which may be within the scope of some +// message or may be at file scope. This is much simpler than FieldGenerator +// since extensions are just simple identifiers with interesting types. +class ExtensionGenerator { + public: + // See generator.cc for the meaning of dllexport_decl. + explicit ExtensionGenerator(const FieldDescriptor* descriptor, + const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~ExtensionGenerator(); + + // Header stuff. + void GenerateDeclaration(io::Printer* printer) const; + + // Source file stuff. + void GenerateDefinition(io::Printer* printer); + + bool IsScoped() const; + + private: + const FieldDescriptor* descriptor_; + std::string type_traits_; + Options options_; + MessageSCCAnalyzer* scc_analyzer_; + + std::map variables_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/field.h new file mode 100644 index 0000000..dd2a51a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/field.h @@ -0,0 +1,270 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__ + +#include +#include +#include +#include + +#include +#include +#include + +namespace google { +namespace protobuf { +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +// Helper function: set variables in the map that are the same for all +// field code generators. +// ['name', 'index', 'number', 'classname', 'declared_type', 'tag_size', +// 'deprecation']. +void SetCommonFieldVariables(const FieldDescriptor* descriptor, + std::map* variables, + const Options& options); + +void SetCommonOneofFieldVariables( + const FieldDescriptor* descriptor, + std::map* variables); + +class FieldGenerator { + public: + explicit FieldGenerator(const FieldDescriptor* descriptor, + const Options& options) + : descriptor_(descriptor), options_(options) {} + virtual ~FieldGenerator(); + virtual void GenerateSerializeWithCachedSizes( + io::Printer* printer) const final{}; + // Generate lines of code declaring members fields of the message class + // needed to represent this field. These are placed inside the message + // class. + virtual void GeneratePrivateMembers(io::Printer* printer) const = 0; + + // Generate static default variable for this field. These are placed inside + // the message class. Most field types don't need this, so the default + // implementation is empty. + virtual void GenerateStaticMembers(io::Printer* /*printer*/) const {} + + // Generate prototypes for all of the accessor functions related to this + // field. These are placed inside the class definition. + virtual void GenerateAccessorDeclarations(io::Printer* printer) const = 0; + + // Generate inline definitions of accessor functions for this field. + // These are placed inside the header after all class definitions. + virtual void GenerateInlineAccessorDefinitions( + io::Printer* printer) const = 0; + + // Generate definitions of accessors that aren't inlined. These are + // placed somewhere in the .cc file. + // Most field types don't need this, so the default implementation is empty. + virtual void GenerateNonInlineAccessorDefinitions( + io::Printer* /*printer*/) const {} + + // Generate declarations of accessors that are for internal purposes only. + // Most field types don't need this, so the default implementation is empty. + virtual void GenerateInternalAccessorDefinitions( + io::Printer* /*printer*/) const {} + + // Generate definitions of accessors that are for internal purposes only. + // Most field types don't need this, so the default implementation is empty. + virtual void GenerateInternalAccessorDeclarations( + io::Printer* /*printer*/) const {} + + // Generate lines of code (statements, not declarations) which clear the + // field. This is used to define the clear_$name$() method + virtual void GenerateClearingCode(io::Printer* printer) const = 0; + + // Generate lines of code (statements, not declarations) which clear the + // field as part of the Clear() method for the whole message. For message + // types which have field presence bits, MessageGenerator::GenerateClear + // will have already checked the presence bits. + // + // Since most field types can re-use GenerateClearingCode, this method is + // not pure virtual. + virtual void GenerateMessageClearingCode(io::Printer* printer) const { + GenerateClearingCode(printer); + } + + // Generate lines of code (statements, not declarations) which merges the + // contents of the field from the current message to the target message, + // which is stored in the generated code variable "from". + // This is used to fill in the MergeFrom method for the whole message. + // Details of this usage can be found in message.cc under the + // GenerateMergeFrom method. + virtual void GenerateMergingCode(io::Printer* printer) const = 0; + + // Generates a copy constructor + virtual void GenerateCopyConstructorCode(io::Printer* printer) const; + + // Generate lines of code (statements, not declarations) which swaps + // this field and the corresponding field of another message, which + // is stored in the generated code variable "other". This is used to + // define the Swap method. Details of usage can be found in + // message.cc under the GenerateSwap method. + virtual void GenerateSwappingCode(io::Printer* printer) const = 0; + + // Generate initialization code for private members declared by + // GeneratePrivateMembers(). These go into the message class's SharedCtor() + // method, invoked by each of the generated constructors. + virtual void GenerateConstructorCode(io::Printer* printer) const = 0; + + // Generate initialization code for private members in the cold struct. + virtual void GenerateCreateSplitMessageCode(io::Printer* printer) const {} + + // Generate any code that needs to go in the class's SharedDtor() method, + // invoked by the destructor. + // Most field types don't need this, so the default implementation is empty. + virtual void GenerateDestructorCode(io::Printer* /*printer*/) const {} + + // Generate a manual destructor invocation for use when the message is on an + // arena. The code that this method generates will be executed inside a + // shared-for-the-whole-message-class method registered with + // OwnDestructor(). + virtual void GenerateArenaDestructorCode(io::Printer* printer) const { + GOOGLE_CHECK(NeedsArenaDestructor() == ArenaDtorNeeds::kNone) + << descriptor_->cpp_type_name(); + } + + // Generate initialization code for private members declared by + // GeneratePrivateMembers(). These go into the SharedCtor's + // aggregate initialization of the _impl_ struct and must follow the syntax + // (e.g. `decltype($field$){$default$}`). Does not include `:` or `,` + // separators. Default values should be specified here when possible. + // + // Note: We use `decltype($field$)` for both explicit construction and the + // fact that it's self-documenting. Pre-C++17, copy elision isn't guaranteed + // in aggregate initialization so a valid copy/move constructor must exist + // (even though it's not used). Because of this, we need to comment out the + // decltype and fallback to implicit construction. + virtual void GenerateAggregateInitializer(io::Printer* printer) const; + + // Generate constinit initialization code for private members declared by + // GeneratePrivateMembers(). These go into the constexpr constructor's + // aggregate initialization of the _impl_ struct and must follow the syntax + // (e.g. `/*decltype($field$)*/{}`, see above). Does not + // include `:` or `,` separators. + virtual void GenerateConstexprAggregateInitializer( + io::Printer* printer) const; + + // Generate copy initialization code for private members declared by + // GeneratePrivateMembers(). These go into the copy constructor's + // aggregate initialization of the _impl_ struct and must follow the syntax + // (e.g. `decltype($field$){from.$field$}`, see above). Does not + // include `:` or `,` separators. + virtual void GenerateCopyAggregateInitializer(io::Printer* printer) const; + + // Generate lines to serialize this field directly to the array "target", + // which are placed within the message's SerializeWithCachedSizesToArray() + // method. This must also advance "target" past the written bytes. + virtual void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const = 0; + + // Generate lines to compute the serialized size of this field, which + // are placed in the message's ByteSize() method. + virtual void GenerateByteSize(io::Printer* printer) const = 0; + + // Generates lines to call IsInitialized() for eligible message fields. Non + // message fields won't need to override this function. + virtual void GenerateIsInitialized(io::Printer* printer) const {} + + virtual bool IsInlined() const { return false; } + + virtual ArenaDtorNeeds NeedsArenaDestructor() const { + return ArenaDtorNeeds::kNone; + } + + void SetHasBitIndex(int32_t has_bit_index); + void SetInlinedStringIndex(int32_t inlined_string_index); + + protected: + const FieldDescriptor* descriptor_; + const Options& options_; + std::map variables_; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator); +}; + +// Convenience class which constructs FieldGenerators for a Descriptor. +class FieldGeneratorMap { + public: + FieldGeneratorMap(const Descriptor* descriptor, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~FieldGeneratorMap(); + + const FieldGenerator& get(const FieldDescriptor* field) const; + + void SetHasBitIndices(const std::vector& has_bit_indices_) { + for (int i = 0; i < descriptor_->field_count(); ++i) { + field_generators_[i]->SetHasBitIndex(has_bit_indices_[i]); + } + } + + void SetInlinedStringIndices(const std::vector& inlined_string_indices) { + for (int i = 0; i < descriptor_->field_count(); ++i) { + field_generators_[i]->SetInlinedStringIndex(inlined_string_indices[i]); + } + } + + private: + const Descriptor* descriptor_; + std::vector> field_generators_; + + static FieldGenerator* MakeGoogleInternalGenerator( + const FieldDescriptor* field, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + static FieldGenerator* MakeGenerator(const FieldDescriptor* field, + const Options& options, + MessageSCCAnalyzer* scc_analyzer); + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGeneratorMap); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/file.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/file.h new file mode 100644 index 0000000..ca05361 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/file.h @@ -0,0 +1,209 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_FILE_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_FILE_H__ + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +namespace google { +namespace protobuf { +class FileDescriptor; // descriptor.h +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class EnumGenerator; // enum.h +class MessageGenerator; // message.h +class ServiceGenerator; // service.h +class ExtensionGenerator; // extension.h + +class FileGenerator { + public: + // See generator.cc for the meaning of dllexport_decl. + FileGenerator(const FileDescriptor* file, const Options& options); + ~FileGenerator(); + + // Shared code between the two header generators below. + void GenerateHeader(io::Printer* printer); + + // info_path, if non-empty, should be the path (relative to printer's + // output) to the metadata file describing this proto header. + void GenerateProtoHeader(io::Printer* printer, const std::string& info_path); + // info_path, if non-empty, should be the path (relative to printer's + // output) to the metadata file describing this PB header. + void GeneratePBHeader(io::Printer* printer, const std::string& info_path); + void GenerateSource(io::Printer* printer); + + // The following member functions are used when the lite_implicit_weak_fields + // option is set. In this mode the code is organized a bit differently to + // promote better linker stripping of unused code. In particular, we generate + // one .cc file per message, one .cc file per extension, and a main pb.cc file + // containing everything else. + + int NumMessages() const { return message_generators_.size(); } + int NumExtensions() const { return extension_generators_.size(); } + // Generates the source file for one message. + void GenerateSourceForMessage(int idx, io::Printer* printer); + // Generates the source file for one extension. + void GenerateSourceForExtension(int idx, io::Printer* printer); + // Generates a source file containing everything except messages and + // extensions. + void GenerateGlobalSource(io::Printer* printer); + + private: + // Internal type used by GenerateForwardDeclarations (defined in file.cc). + class ForwardDeclarations; + struct CrossFileReferences; + + void IncludeFile(const std::string& google3_name, io::Printer* printer) { + DoIncludeFile(google3_name, false, printer); + } + void IncludeFileAndExport(const std::string& google3_name, + io::Printer* printer) { + DoIncludeFile(google3_name, true, printer); + } + void DoIncludeFile(const std::string& google3_name, bool do_export, + io::Printer* printer); + + std::string CreateHeaderInclude(const std::string& basename, + const FileDescriptor* file); + void GetCrossFileReferencesForField(const FieldDescriptor* field, + CrossFileReferences* refs); + void GetCrossFileReferencesForFile(const FileDescriptor* file, + CrossFileReferences* refs); + void GenerateInternalForwardDeclarations(const CrossFileReferences& refs, + io::Printer* printer); + void GenerateSourceIncludes(io::Printer* printer); + void GenerateSourcePrelude(io::Printer* printer); + void GenerateSourceDefaultInstance(int idx, io::Printer* printer); + + void GenerateInitForSCC(const SCC* scc, const CrossFileReferences& refs, + io::Printer* printer); + void GenerateReflectionInitializationCode(io::Printer* printer); + + // For other imports, generates their forward-declarations. + void GenerateForwardDeclarations(io::Printer* printer); + + // Generates top or bottom of a header file. + void GenerateTopHeaderGuard(io::Printer* printer, bool pb_h); + void GenerateBottomHeaderGuard(io::Printer* printer, bool pb_h); + + // Generates #include directives. + void GenerateLibraryIncludes(io::Printer* printer); + void GenerateDependencyIncludes(io::Printer* printer); + + // Generate a pragma to pull in metadata using the given info_path (if + // non-empty). info_path should be relative to printer's output. + void GenerateMetadataPragma(io::Printer* printer, + const std::string& info_path); + + // Generates a couple of different pieces before definitions: + void GenerateGlobalStateFunctionDeclarations(io::Printer* printer); + + // Generates types for classes. + void GenerateMessageDefinitions(io::Printer* printer); + + void GenerateEnumDefinitions(io::Printer* printer); + + // Generates generic service definitions. + void GenerateServiceDefinitions(io::Printer* printer); + + // Generates extension identifiers. + void GenerateExtensionIdentifiers(io::Printer* printer); + + // Generates inline function definitions. + void GenerateInlineFunctionDefinitions(io::Printer* printer); + + void GenerateProto2NamespaceEnumSpecializations(io::Printer* printer); + + // Sometimes the names we use in a .proto file happen to be defined as + // macros on some platforms (e.g., macro/minor used in plugin.proto are + // defined as macros in sys/types.h on FreeBSD and a few other platforms). + // To make the generated code compile on these platforms, we either have to + // undef the macro for these few platforms, or rename the field name for all + // platforms. Since these names are part of protobuf public API, renaming is + // generally a breaking change so we prefer the #undef approach. + void GenerateMacroUndefs(io::Printer* printer); + + bool IsDepWeak(const FileDescriptor* dep) const { + if (weak_deps_.count(dep) != 0) { + GOOGLE_CHECK(!options_.opensource_runtime); + return true; + } + return false; + } + + std::set weak_deps_; + + const FileDescriptor* file_; + const Options options_; + + MessageSCCAnalyzer scc_analyzer_; + + std::map variables_; + + // Contains the post-order walk of all the messages (and child messages) in + // this file. If you need a pre-order walk just reverse iterate. + std::vector> message_generators_; + std::vector> enum_generators_; + std::vector> service_generators_; + std::vector> extension_generators_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_FILE_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/generator.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/generator.h new file mode 100644 index 0000000..1a374b9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/generator.h @@ -0,0 +1,107 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// Generates C++ code for a given .proto file. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_GENERATOR_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_GENERATOR_H__ + +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +// CodeGenerator implementation which generates a C++ source file and +// header. If you create your own protocol compiler binary and you want +// it to support C++ output, you can do so by registering an instance of this +// CodeGenerator with the CommandLineInterface in your main() function. +class PROTOC_EXPORT CppGenerator : public CodeGenerator { + public: + CppGenerator(); + ~CppGenerator() override; + + enum class Runtime { + kGoogle3, // Use the internal google3 runtime. + kOpensource, // Use the open-source runtime. + + // Use the open-source runtime with google3 #include paths. We make these + // absolute to avoid ambiguity, so the runtime will be #included like: + // #include "third_party/protobuf/.../google/protobuf/message.h" + kOpensourceGoogle3 + }; + + void set_opensource_runtime(bool opensource) { + opensource_runtime_ = opensource; + } + + // If set to a non-empty string, generated code will do: + // #include "/google/protobuf/message.h" + // instead of: + // #include + // This has no effect if opensource_runtime = false. + void set_runtime_include_base(const std::string& base) { + runtime_include_base_ = base; + } + + // implements CodeGenerator ---------------------------------------- + bool Generate(const FileDescriptor* file, const std::string& parameter, + GeneratorContext* generator_context, + std::string* error) const override; + + uint64_t GetSupportedFeatures() const override { + // We don't fully support this yet, but this is needed to unblock the tests, + // and we will have full support before the experimental flag is removed. + return FEATURE_PROTO3_OPTIONAL; + } + + private: + bool opensource_runtime_ = true; + std::string runtime_include_base_; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CppGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_GENERATOR_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/helpers.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/helpers.h new file mode 100644 index 0000000..d8dcda7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/helpers.h @@ -0,0 +1,1064 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_HELPERS_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_HELPERS_H__ + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +enum class ArenaDtorNeeds { kNone = 0, kOnDemand = 1, kRequired = 2 }; + +inline std::string ProtobufNamespace(const Options& /* options */) { + return "PROTOBUF_NAMESPACE_ID"; +} + +inline std::string MacroPrefix(const Options& /* options */) { + return "GOOGLE_PROTOBUF"; +} + +inline std::string DeprecatedAttribute(const Options& /* options */, + const FieldDescriptor* d) { + return d->options().deprecated() ? "PROTOBUF_DEPRECATED " : ""; +} + +inline std::string DeprecatedAttribute(const Options& /* options */, + const EnumValueDescriptor* d) { + return d->options().deprecated() ? "PROTOBUF_DEPRECATED_ENUM " : ""; +} + +// Commonly-used separator comments. Thick is a line of '=', thin is a line +// of '-'. +extern const char kThickSeparator[]; +extern const char kThinSeparator[]; + +void SetCommonVars(const Options& options, + std::map* variables); + +// Variables to access message data from the message scope. +void SetCommonMessageDataVariables( + const Descriptor* descriptor, + std::map* variables); + +void SetUnknownFieldsVariable(const Descriptor* descriptor, + const Options& options, + std::map* variables); + +bool GetBootstrapBasename(const Options& options, const std::string& basename, + std::string* bootstrap_basename); +bool MaybeBootstrap(const Options& options, GeneratorContext* generator_context, + bool bootstrap_flag, std::string* basename); +bool IsBootstrapProto(const Options& options, const FileDescriptor* file); + +// Name space of the proto file. This namespace is such that the string +// "::some_name" is the correct fully qualified namespace. +// This means if the package is empty the namespace is "", and otherwise +// the namespace is "::foo::bar::...::baz" without trailing semi-colons. +std::string Namespace(const FileDescriptor* d, const Options& options); +std::string Namespace(const Descriptor* d, const Options& options); +std::string Namespace(const FieldDescriptor* d, const Options& options); +std::string Namespace(const EnumDescriptor* d, const Options& options); + +// Returns true if it's safe to reset "field" to zero. +bool CanInitializeByZeroing(const FieldDescriptor* field); + +std::string ClassName(const Descriptor* descriptor); +std::string ClassName(const EnumDescriptor* enum_descriptor); + +std::string QualifiedClassName(const Descriptor* d, const Options& options); +std::string QualifiedClassName(const EnumDescriptor* d, const Options& options); + +std::string QualifiedClassName(const Descriptor* d); +std::string QualifiedClassName(const EnumDescriptor* d); + +// DEPRECATED just use ClassName or QualifiedClassName, a boolean is very +// unreadable at the callsite. +// Returns the non-nested type name for the given type. If "qualified" is +// true, prefix the type with the full namespace. For example, if you had: +// package foo.bar; +// message Baz { message Moo {} } +// Then the qualified ClassName for Moo would be: +// ::foo::bar::Baz_Moo +// While the non-qualified version would be: +// Baz_Moo +inline std::string ClassName(const Descriptor* descriptor, bool qualified) { + return qualified ? QualifiedClassName(descriptor, Options()) + : ClassName(descriptor); +} + +inline std::string ClassName(const EnumDescriptor* descriptor, bool qualified) { + return qualified ? QualifiedClassName(descriptor, Options()) + : ClassName(descriptor); +} + +// Returns the extension name prefixed with the class name if nested but without +// the package name. +std::string ExtensionName(const FieldDescriptor* d); + +std::string QualifiedExtensionName(const FieldDescriptor* d, + const Options& options); +std::string QualifiedExtensionName(const FieldDescriptor* d); + +// Type name of default instance. +std::string DefaultInstanceType(const Descriptor* descriptor, + const Options& options, bool split = false); + +// Non-qualified name of the default_instance of this message. +std::string DefaultInstanceName(const Descriptor* descriptor, + const Options& options, bool split = false); + +// Non-qualified name of the default instance pointer. This is used only for +// implicit weak fields, where we need an extra indirection. +std::string DefaultInstancePtr(const Descriptor* descriptor, + const Options& options, bool split = false); + +// Fully qualified name of the default_instance of this message. +std::string QualifiedDefaultInstanceName(const Descriptor* descriptor, + const Options& options, + bool split = false); + +// Fully qualified name of the default instance pointer. +std::string QualifiedDefaultInstancePtr(const Descriptor* descriptor, + const Options& options, + bool split = false); + +// DescriptorTable variable name. +std::string DescriptorTableName(const FileDescriptor* file, + const Options& options); + +// When declaring symbol externs from another file, this macro will supply the +// dllexport needed for the target file, if any. +std::string FileDllExport(const FileDescriptor* file, const Options& options); + +// Name of the base class: google::protobuf::Message or google::protobuf::MessageLite. +std::string SuperClassName(const Descriptor* descriptor, + const Options& options); + +// Adds an underscore if necessary to prevent conflicting with a keyword. +std::string ResolveKeyword(const std::string& name); + +// Get the (unqualified) name that should be used for this field in C++ code. +// The name is coerced to lower-case to emulate proto1 behavior. People +// should be using lowercase-with-underscores style for proto field names +// anyway, so normally this just returns field->name(). +std::string FieldName(const FieldDescriptor* field); + +// Returns the (unqualified) private member name for this field in C++ code. +std::string FieldMemberName(const FieldDescriptor* field, bool split); + +// Returns an estimate of the compiler's alignment for the field. This +// can't guarantee to be correct because the generated code could be compiled on +// different systems with different alignment rules. The estimates below assume +// 64-bit pointers. +int EstimateAlignmentSize(const FieldDescriptor* field); + +// Get the unqualified name that should be used for a field's field +// number constant. +std::string FieldConstantName(const FieldDescriptor* field); + +// Returns the scope where the field was defined (for extensions, this is +// different from the message type to which the field applies). +inline const Descriptor* FieldScope(const FieldDescriptor* field) { + return field->is_extension() ? field->extension_scope() + : field->containing_type(); +} + +// Returns the fully-qualified type name field->message_type(). Usually this +// is just ClassName(field->message_type(), true); +std::string FieldMessageTypeName(const FieldDescriptor* field, + const Options& options); + +// Get the C++ type name for a primitive type (e.g. "double", "::google::protobuf::int32", etc.). +const char* PrimitiveTypeName(FieldDescriptor::CppType type); +std::string PrimitiveTypeName(const Options& options, + FieldDescriptor::CppType type); + +// Get the declared type name in CamelCase format, as is used e.g. for the +// methods of WireFormat. For example, TYPE_INT32 becomes "Int32". +const char* DeclaredTypeMethodName(FieldDescriptor::Type type); + +// Return the code that evaluates to the number when compiled. +std::string Int32ToString(int number); + +// Get code that evaluates to the field's default value. +std::string DefaultValue(const Options& options, const FieldDescriptor* field); + +// Compatibility function for callers outside proto2. +std::string DefaultValue(const FieldDescriptor* field); + +// Convert a file name into a valid identifier. +std::string FilenameIdentifier(const std::string& filename); + +// For each .proto file generates a unique name. To prevent collisions of +// symbols in the global namespace +std::string UniqueName(const std::string& name, const std::string& filename, + const Options& options); +inline std::string UniqueName(const std::string& name, const FileDescriptor* d, + const Options& options) { + return UniqueName(name, d->name(), options); +} +inline std::string UniqueName(const std::string& name, const Descriptor* d, + const Options& options) { + return UniqueName(name, d->file(), options); +} +inline std::string UniqueName(const std::string& name, const EnumDescriptor* d, + const Options& options) { + return UniqueName(name, d->file(), options); +} +inline std::string UniqueName(const std::string& name, + const ServiceDescriptor* d, + const Options& options) { + return UniqueName(name, d->file(), options); +} + +// Versions for call sites that only support the internal runtime (like proto1 +// support). +inline Options InternalRuntimeOptions() { + Options options; + options.opensource_runtime = false; + return options; +} +inline std::string UniqueName(const std::string& name, + const std::string& filename) { + return UniqueName(name, filename, InternalRuntimeOptions()); +} +inline std::string UniqueName(const std::string& name, + const FileDescriptor* d) { + return UniqueName(name, d->name(), InternalRuntimeOptions()); +} +inline std::string UniqueName(const std::string& name, const Descriptor* d) { + return UniqueName(name, d->file(), InternalRuntimeOptions()); +} +inline std::string UniqueName(const std::string& name, + const EnumDescriptor* d) { + return UniqueName(name, d->file(), InternalRuntimeOptions()); +} +inline std::string UniqueName(const std::string& name, + const ServiceDescriptor* d) { + return UniqueName(name, d->file(), InternalRuntimeOptions()); +} + +// Return the qualified C++ name for a file level symbol. +std::string QualifiedFileLevelSymbol(const FileDescriptor* file, + const std::string& name, + const Options& options); + +// Escape C++ trigraphs by escaping question marks to \? +std::string EscapeTrigraphs(const std::string& to_escape); + +// Escaped function name to eliminate naming conflict. +std::string SafeFunctionName(const Descriptor* descriptor, + const FieldDescriptor* field, + const std::string& prefix); + +// Returns true if generated messages have public unknown fields accessors +inline bool PublicUnknownFieldsAccessors(const Descriptor* message) { + return message->file()->syntax() != FileDescriptor::SYNTAX_PROTO3; +} + +// Returns the optimize mode for , respecting . +FileOptions_OptimizeMode GetOptimizeFor(const FileDescriptor* file, + const Options& options); + +// Determines whether unknown fields will be stored in an UnknownFieldSet or +// a string. +inline bool UseUnknownFieldSet(const FileDescriptor* file, + const Options& options) { + return GetOptimizeFor(file, options) != FileOptions::LITE_RUNTIME; +} + +inline bool IsWeak(const FieldDescriptor* field, const Options& options) { + if (field->options().weak()) { + GOOGLE_CHECK(!options.opensource_runtime); + return true; + } + return false; +} + +bool IsStringInlined(const FieldDescriptor* descriptor, const Options& options); + +// For a string field, returns the effective ctype. If the actual ctype is +// not supported, returns the default of STRING. +FieldOptions::CType EffectiveStringCType(const FieldDescriptor* field, + const Options& options); + +inline bool IsCord(const FieldDescriptor* field, const Options& options) { + return field->cpp_type() == FieldDescriptor::CPPTYPE_STRING && + EffectiveStringCType(field, options) == FieldOptions::CORD; +} + +inline bool IsString(const FieldDescriptor* field, const Options& options) { + return field->cpp_type() == FieldDescriptor::CPPTYPE_STRING && + EffectiveStringCType(field, options) == FieldOptions::STRING; +} + +inline bool IsStringPiece(const FieldDescriptor* field, + const Options& options) { + return field->cpp_type() == FieldDescriptor::CPPTYPE_STRING && + EffectiveStringCType(field, options) == FieldOptions::STRING_PIECE; +} + +class MessageSCCAnalyzer; + +// Does the given FileDescriptor use lazy fields? +bool HasLazyFields(const FileDescriptor* file, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + +// Is the given field a supported lazy field? +bool IsLazy(const FieldDescriptor* field, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + +// Is this an explicit (non-profile driven) lazy field, as denoted by +// lazy/unverified_lazy in the descriptor? +inline bool IsExplicitLazy(const FieldDescriptor* field) { + return field->options().lazy() || field->options().unverified_lazy(); +} + +bool IsEagerlyVerifiedLazy(const FieldDescriptor* field, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + +bool IsLazilyVerifiedLazy(const FieldDescriptor* field, const Options& options); + +// Is the given message being split (go/pdsplit)? +bool ShouldSplit(const Descriptor* desc, const Options& options); + +// Is the given field being split out? +bool ShouldSplit(const FieldDescriptor* field, const Options& options); + +inline bool IsFieldUsed(const FieldDescriptor* /* field */, + const Options& /* options */) { + return true; +} + +// Returns true if "field" is stripped. +inline bool IsFieldStripped(const FieldDescriptor* /*field*/, + const Options& /*options*/) { + return false; +} + +// Does the file contain any definitions that need extension_set.h? +bool HasExtensionsOrExtendableMessage(const FileDescriptor* file); + +// Does the file have any repeated fields, necessitating the file to include +// repeated_field.h? This does not include repeated extensions, since those are +// all stored internally in an ExtensionSet, not a separate RepeatedField*. +bool HasRepeatedFields(const FileDescriptor* file); + +// Does the file have any string/bytes fields with ctype=STRING_PIECE? This +// does not include extensions, since ctype is ignored for extensions. +bool HasStringPieceFields(const FileDescriptor* file, const Options& options); + +// Does the file have any string/bytes fields with ctype=CORD? This does not +// include extensions, since ctype is ignored for extensions. +bool HasCordFields(const FileDescriptor* file, const Options& options); + +// Does the file have any map fields, necessitating the file to include +// map_field_inl.h and map.h. +bool HasMapFields(const FileDescriptor* file); + +// Does this file have any enum type definitions? +bool HasEnumDefinitions(const FileDescriptor* file); + +// Does this file have generated parsing, serialization, and other +// standard methods for which reflection-based fallback implementations exist? +inline bool HasGeneratedMethods(const FileDescriptor* file, + const Options& options) { + return GetOptimizeFor(file, options) != FileOptions::CODE_SIZE; +} + +// Do message classes in this file have descriptor and reflection methods? +inline bool HasDescriptorMethods(const FileDescriptor* file, + const Options& options) { + return GetOptimizeFor(file, options) != FileOptions::LITE_RUNTIME; +} + +// Should we generate generic services for this file? +inline bool HasGenericServices(const FileDescriptor* file, + const Options& options) { + return file->service_count() > 0 && + GetOptimizeFor(file, options) != FileOptions::LITE_RUNTIME && + file->options().cc_generic_services(); +} + +inline bool IsProto2MessageSet(const Descriptor* descriptor, + const Options& options) { + return !options.opensource_runtime && + options.enforce_mode != EnforceOptimizeMode::kLiteRuntime && + !options.lite_implicit_weak_fields && + descriptor->options().message_set_wire_format() && + descriptor->full_name() == "google.protobuf.bridge.MessageSet"; +} + +inline bool IsMapEntryMessage(const Descriptor* descriptor) { + return descriptor->options().map_entry(); +} + +// Returns true if the field's CPPTYPE is string or message. +bool IsStringOrMessage(const FieldDescriptor* field); + +std::string UnderscoresToCamelCase(const std::string& input, + bool cap_next_letter); + +inline bool IsProto3(const FileDescriptor* file) { + return file->syntax() == FileDescriptor::SYNTAX_PROTO3; +} + +inline bool HasHasbit(const FieldDescriptor* field) { + // This predicate includes proto3 message fields only if they have "optional". + // Foo submsg1 = 1; // HasHasbit() == false + // optional Foo submsg2 = 2; // HasHasbit() == true + // This is slightly odd, as adding "optional" to a singular proto3 field does + // not change the semantics or API. However whenever any field in a message + // has a hasbit, it forces reflection to include hasbit offsets for *all* + // fields, even if almost all of them are set to -1 (no hasbit). So to avoid + // causing a sudden size regression for ~all proto3 messages, we give proto3 + // message fields a hasbit only if "optional" is present. If the user is + // explicitly writing "optional", it is likely they are writing it on + // primitive fields also. + return (field->has_optional_keyword() || field->is_required()) && + !field->options().weak(); +} + +// Returns true if 'enum' semantics are such that unknown values are preserved +// in the enum field itself, rather than going to the UnknownFieldSet. +inline bool HasPreservingUnknownEnumSemantics(const FieldDescriptor* field) { + return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3; +} + +inline bool IsCrossFileMessage(const FieldDescriptor* field) { + return field->type() == FieldDescriptor::TYPE_MESSAGE && + field->message_type()->file() != field->file(); +} + +inline std::string MakeDefaultName(const FieldDescriptor* field) { + return StrCat("_i_give_permission_to_break_this_code_default_", + FieldName(field), "_"); +} + +// Semantically distinct from MakeDefaultName in that it gives the C++ code +// referencing a default field from the message scope, rather than just the +// variable name. +// For example, declarations of default variables should always use just +// MakeDefaultName to produce code like: +// Type _i_give_permission_to_break_this_code_default_field_; +// +// Code that references these should use MakeDefaultFieldName, in case the field +// exists at some nested level like: +// internal_container_._i_give_permission_to_break_this_code_default_field_; +inline std::string MakeDefaultFieldName(const FieldDescriptor* field) { + return StrCat("Impl_::", MakeDefaultName(field)); +} + +inline std::string MakeVarintCachedSizeName(const FieldDescriptor* field) { + return StrCat("_", FieldName(field), "_cached_byte_size_"); +} + +// Semantically distinct from MakeVarintCachedSizeName in that it gives the C++ +// code referencing the object from the message scope, rather than just the +// variable name. +// For example, declarations of default variables should always use just +// MakeVarintCachedSizeName to produce code like: +// Type _field_cached_byte_size_; +// +// Code that references these variables should use +// MakeVarintCachedSizeFieldName, in case the field exists at some nested level +// like: +// internal_container_._field_cached_byte_size_; +inline std::string MakeVarintCachedSizeFieldName(const FieldDescriptor* field, + bool split) { + return StrCat("_impl_.", split ? "_split_->" : "", "_", + FieldName(field), "_cached_byte_size_"); +} + +// Note: A lot of libraries detect Any protos based on Descriptor::full_name() +// while the two functions below use FileDescriptor::name(). In a sane world the +// two approaches should be equivalent. But if you are dealing with descriptors +// from untrusted sources, you might need to match semantics across libraries. +bool IsAnyMessage(const FileDescriptor* descriptor, const Options& options); +bool IsAnyMessage(const Descriptor* descriptor, const Options& options); + +bool IsWellKnownMessage(const FileDescriptor* descriptor); + +inline std::string IncludeGuard(const FileDescriptor* file, bool pb_h, + const Options& options) { + // If we are generating a .pb.h file and the proto_h option is enabled, then + // the .pb.h gets an extra suffix. + std::string filename_identifier = FilenameIdentifier( + file->name() + (pb_h && options.proto_h ? ".pb.h" : "")); + + if (IsWellKnownMessage(file)) { + // For well-known messages we need third_party/protobuf and net/proto2 to + // have distinct include guards, because some source files include both and + // both need to be defined (the third_party copies will be in the + // google::protobuf_opensource namespace). + return MacroPrefix(options) + "_INCLUDED_" + filename_identifier; + } else { + // Ideally this case would use distinct include guards for opensource and + // google3 protos also. (The behavior of "first #included wins" is not + // ideal). But unfortunately some legacy code includes both and depends on + // the identical include guards to avoid compile errors. + // + // We should clean this up so that this case can be removed. + return "GOOGLE_PROTOBUF_INCLUDED_" + filename_identifier; + } +} + +// Returns the OptimizeMode for this file, furthermore it updates a status +// bool if has_opt_codesize_extension is non-null. If this status bool is true +// it means this file contains an extension that itself is defined as +// optimized_for = CODE_SIZE. +FileOptions_OptimizeMode GetOptimizeFor(const FileDescriptor* file, + const Options& options, + bool* has_opt_codesize_extension); +inline FileOptions_OptimizeMode GetOptimizeFor(const FileDescriptor* file, + const Options& options) { + return GetOptimizeFor(file, options, nullptr); +} +inline bool NeedsEagerDescriptorAssignment(const FileDescriptor* file, + const Options& options) { + bool has_opt_codesize_extension; + if (GetOptimizeFor(file, options, &has_opt_codesize_extension) == + FileOptions::CODE_SIZE && + has_opt_codesize_extension) { + // If this filedescriptor contains an extension from another file which + // is optimized_for = CODE_SIZE. We need to be careful in the ordering so + // we eagerly build the descriptors in the dependencies before building + // the descriptors of this file. + return true; + } else { + // If we have a generated code based parser we never need eager + // initialization of descriptors of our deps. + return false; + } +} + +// This orders the messages in a .pb.cc as it's outputted by file.cc +void FlattenMessagesInFile(const FileDescriptor* file, + std::vector* result); +inline std::vector FlattenMessagesInFile( + const FileDescriptor* file) { + std::vector result; + FlattenMessagesInFile(file, &result); + return result; +} + +template +void ForEachMessage(const Descriptor* descriptor, F&& func) { + for (int i = 0; i < descriptor->nested_type_count(); i++) + ForEachMessage(descriptor->nested_type(i), std::forward(func)); + func(descriptor); +} + +template +void ForEachMessage(const FileDescriptor* descriptor, F&& func) { + for (int i = 0; i < descriptor->message_type_count(); i++) + ForEachMessage(descriptor->message_type(i), std::forward(func)); +} + +bool HasWeakFields(const Descriptor* desc, const Options& options); +bool HasWeakFields(const FileDescriptor* desc, const Options& options); + +// Returns true if the "required" restriction check should be ignored for the +// given field. +inline static bool ShouldIgnoreRequiredFieldCheck(const FieldDescriptor* field, + const Options& options) { + // Do not check "required" for lazily verified lazy fields. + return IsLazilyVerifiedLazy(field, options); +} + +struct MessageAnalysis { + bool is_recursive = false; + bool contains_cord = false; + bool contains_extension = false; + bool contains_required = false; + bool contains_weak = false; // Implicit weak as well. +}; + +// This class is used in FileGenerator, to ensure linear instead of +// quadratic performance, if we do this per message we would get O(V*(V+E)). +// Logically this is just only used in message.cc, but in the header for +// FileGenerator to help share it. +class PROTOC_EXPORT MessageSCCAnalyzer { + public: + explicit MessageSCCAnalyzer(const Options& options) : options_(options) {} + + MessageAnalysis GetSCCAnalysis(const SCC* scc); + + bool HasRequiredFields(const Descriptor* descriptor) { + MessageAnalysis result = GetSCCAnalysis(GetSCC(descriptor)); + return result.contains_required || result.contains_extension; + } + bool HasWeakField(const Descriptor* descriptor) { + MessageAnalysis result = GetSCCAnalysis(GetSCC(descriptor)); + return result.contains_weak; + } + const SCC* GetSCC(const Descriptor* descriptor) { + return analyzer_.GetSCC(descriptor); + } + + private: + struct DepsGenerator { + std::vector operator()(const Descriptor* desc) const { + std::vector deps; + for (int i = 0; i < desc->field_count(); i++) { + if (desc->field(i)->message_type()) { + deps.push_back(desc->field(i)->message_type()); + } + } + return deps; + } + }; + SCCAnalyzer analyzer_; + Options options_; + std::map analysis_cache_; +}; + +void ListAllFields(const Descriptor* d, + std::vector* fields); +void ListAllFields(const FileDescriptor* d, + std::vector* fields); + +template +void ForEachField(const Descriptor* d, T&& func) { + for (int i = 0; i < d->nested_type_count(); i++) { + ForEachField(d->nested_type(i), std::forward(func)); + } + for (int i = 0; i < d->extension_count(); i++) { + func(d->extension(i)); + } + for (int i = 0; i < d->field_count(); i++) { + func(d->field(i)); + } +} + +template +void ForEachField(const FileDescriptor* d, T&& func) { + for (int i = 0; i < d->message_type_count(); i++) { + ForEachField(d->message_type(i), std::forward(func)); + } + for (int i = 0; i < d->extension_count(); i++) { + func(d->extension(i)); + } +} + +void ListAllTypesForServices(const FileDescriptor* fd, + std::vector* types); + +// Indicates whether we should use implicit weak fields for this file. +bool UsingImplicitWeakFields(const FileDescriptor* file, + const Options& options); + +// Indicates whether to treat this field as implicitly weak. +bool IsImplicitWeakField(const FieldDescriptor* field, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + +inline bool HasSimpleBaseClass(const Descriptor* desc, const Options& options) { + if (!HasDescriptorMethods(desc->file(), options)) return false; + if (desc->extension_range_count() != 0) return false; + if (desc->field_count() == 0) return true; + // TODO(jorg): Support additional common message types with only one + // or two fields + return false; +} + +inline bool HasSimpleBaseClasses(const FileDescriptor* file, + const Options& options) { + bool v = false; + ForEachMessage(file, [&v, &options](const Descriptor* desc) { + v |= HasSimpleBaseClass(desc, options); + }); + return v; +} + +inline std::string SimpleBaseClass(const Descriptor* desc, + const Options& options) { + if (!HasDescriptorMethods(desc->file(), options)) return ""; + if (desc->extension_range_count() != 0) return ""; + if (desc->field_count() == 0) { + return "ZeroFieldsBase"; + } + // TODO(jorg): Support additional common message types with only one + // or two fields + return ""; +} + +// Returns true if this message has a _tracker_ field. +inline bool HasTracker(const Descriptor* desc, const Options& options) { + return options.field_listener_options.inject_field_listener_events && + desc->file()->options().optimize_for() != + google::protobuf::FileOptions::LITE_RUNTIME; +} + +// Returns true if this message needs an Impl_ struct for it's data. +inline bool HasImplData(const Descriptor* desc, const Options& options) { + return !HasSimpleBaseClass(desc, options); +} + +// Formatter is a functor class which acts as a closure around printer and +// the variable map. It's much like printer->Print except it supports both named +// variables that are substituted using a key value map and direct arguments. In +// the format string $1$, $2$, etc... are substituted for the first, second, ... +// direct argument respectively in the format call, it accepts both strings and +// integers. The implementation verifies all arguments are used and are "first" +// used in order of appearance in the argument list. For example, +// +// Format("return array[$1$];", 3) -> "return array[3];" +// Format("array[$2$] = $1$;", "Bla", 3) -> FATAL error (wrong order) +// Format("array[$1$] = $2$;", 3, "Bla") -> "array[3] = Bla;" +// +// The arguments can be used more than once like +// +// Format("array[$1$] = $2$; // Index = $1$", 3, "Bla") -> +// "array[3] = Bla; // Index = 3" +// +// If you use more arguments use the following style to help the reader, +// +// Format("int $1$() {\n" +// " array[$2$] = $3$;\n" +// " return $4$;" +// "}\n", +// funname, // 1 +// idx, // 2 +// varname, // 3 +// retval); // 4 +// +// but consider using named variables. Named variables like $foo$, with some +// identifier foo, are looked up in the map. One additional feature is that +// spaces are accepted between the '$' delimiters, $ foo$ will +// substitute to " bar" if foo stands for "bar", but in case it's empty +// will substitute to "". Hence, for example, +// +// Format(vars, "$dllexport $void fun();") -> "void fun();" +// "__declspec(export) void fun();" +// +// which is convenient to prevent double, leading or trailing spaces. +class PROTOC_EXPORT Formatter { + public: + explicit Formatter(io::Printer* printer) : printer_(printer) {} + Formatter(io::Printer* printer, + const std::map& vars) + : printer_(printer), vars_(vars) {} + + template + void Set(const std::string& key, const T& value) { + vars_[key] = ToString(value); + } + + void AddMap(const std::map& vars) { + for (const auto& keyval : vars) vars_[keyval.first] = keyval.second; + } + + template + void operator()(const char* format, const Args&... args) const { + printer_->FormatInternal({ToString(args)...}, vars_, format); + } + + void Indent() const { printer_->Indent(); } + void Outdent() const { printer_->Outdent(); } + io::Printer* printer() const { return printer_; } + + class PROTOC_EXPORT ScopedIndenter { + public: + explicit ScopedIndenter(Formatter* format) : format_(format) { + format_->Indent(); + } + ~ScopedIndenter() { format_->Outdent(); } + + private: + Formatter* format_; + }; + + PROTOBUF_NODISCARD ScopedIndenter ScopedIndent() { + return ScopedIndenter(this); + } + template + PROTOBUF_NODISCARD ScopedIndenter ScopedIndent(const char* format, + const Args&&... args) { + (*this)(format, static_cast(args)...); + return ScopedIndenter(this); + } + + class PROTOC_EXPORT SaveState { + public: + explicit SaveState(Formatter* format) + : format_(format), vars_(format->vars_) {} + ~SaveState() { format_->vars_.swap(vars_); } + + private: + Formatter* format_; + std::map vars_; + }; + + private: + io::Printer* printer_; + std::map vars_; + + // Convenience overloads to accept different types as arguments. + static std::string ToString(const std::string& s) { return s; } + template ::value>::type> + static std::string ToString(I x) { + return StrCat(x); + } + static std::string ToString(strings::Hex x) { return StrCat(x); } + static std::string ToString(const FieldDescriptor* d) { return Payload(d); } + static std::string ToString(const Descriptor* d) { return Payload(d); } + static std::string ToString(const EnumDescriptor* d) { return Payload(d); } + static std::string ToString(const EnumValueDescriptor* d) { + return Payload(d); + } + static std::string ToString(const OneofDescriptor* d) { return Payload(d); } + + template + static std::string Payload(const Descriptor* descriptor) { + std::vector path; + descriptor->GetLocationPath(&path); + GeneratedCodeInfo::Annotation annotation; + for (int index : path) { + annotation.add_path(index); + } + annotation.set_source_file(descriptor->file()->name()); + return annotation.SerializeAsString(); + } +}; + +template +void PrintFieldComment(const Formatter& format, const T* field) { + // Print the field's (or oneof's) proto-syntax definition as a comment. + // We don't want to print group bodies so we cut off after the first + // line. + DebugStringOptions options; + options.elide_group_body = true; + options.elide_oneof_body = true; + std::string def = field->DebugStringWithOptions(options); + format("// $1$\n", def.substr(0, def.find_first_of('\n'))); +} + +class PROTOC_EXPORT NamespaceOpener { + public: + explicit NamespaceOpener(const Formatter& format) + : printer_(format.printer()) {} + NamespaceOpener(const std::string& name, const Formatter& format) + : NamespaceOpener(format) { + ChangeTo(name); + } + ~NamespaceOpener() { ChangeTo(""); } + + void ChangeTo(const std::string& name) { + std::vector new_stack_ = + Split(name, "::", true); + size_t len = std::min(name_stack_.size(), new_stack_.size()); + size_t common_idx = 0; + while (common_idx < len) { + if (name_stack_[common_idx] != new_stack_[common_idx]) break; + common_idx++; + } + for (auto it = name_stack_.crbegin(); + it != name_stack_.crend() - common_idx; ++it) { + if (*it == "PROTOBUF_NAMESPACE_ID") { + printer_->Print("PROTOBUF_NAMESPACE_CLOSE\n"); + } else { + printer_->Print("} // namespace $ns$\n", "ns", *it); + } + } + name_stack_.swap(new_stack_); + for (size_t i = common_idx; i < name_stack_.size(); ++i) { + if (name_stack_[i] == "PROTOBUF_NAMESPACE_ID") { + printer_->Print("PROTOBUF_NAMESPACE_OPEN\n"); + } else { + printer_->Print("namespace $ns$ {\n", "ns", name_stack_[i]); + } + } + } + + private: + io::Printer* printer_; + std::vector name_stack_; +}; + +enum class Utf8CheckMode { + kStrict = 0, // Parsing will fail if non UTF-8 data is in string fields. + kVerify = 1, // Only log an error but parsing will succeed. + kNone = 2, // No UTF-8 check. +}; + +Utf8CheckMode GetUtf8CheckMode(const FieldDescriptor* field, + const Options& options); + +void GenerateUtf8CheckCodeForString(const FieldDescriptor* field, + const Options& options, bool for_parse, + const char* parameters, + const Formatter& format); + +void GenerateUtf8CheckCodeForCord(const FieldDescriptor* field, + const Options& options, bool for_parse, + const char* parameters, + const Formatter& format); + +template +struct FieldRangeImpl { + struct Iterator { + using iterator_category = std::forward_iterator_tag; + using value_type = const FieldDescriptor*; + using difference_type = int; + + value_type operator*() { return descriptor->field(idx); } + + friend bool operator==(const Iterator& a, const Iterator& b) { + GOOGLE_DCHECK(a.descriptor == b.descriptor); + return a.idx == b.idx; + } + friend bool operator!=(const Iterator& a, const Iterator& b) { + return !(a == b); + } + + Iterator& operator++() { + idx++; + return *this; + } + + int idx; + const T* descriptor; + }; + + Iterator begin() const { return {0, descriptor}; } + Iterator end() const { return {descriptor->field_count(), descriptor}; } + + const T* descriptor; +}; + +template +FieldRangeImpl FieldRange(const T* desc) { + return {desc}; +} + +struct OneOfRangeImpl { + struct Iterator { + using iterator_category = std::forward_iterator_tag; + using value_type = const OneofDescriptor*; + using difference_type = int; + + value_type operator*() { return descriptor->oneof_decl(idx); } + + friend bool operator==(const Iterator& a, const Iterator& b) { + GOOGLE_DCHECK(a.descriptor == b.descriptor); + return a.idx == b.idx; + } + friend bool operator!=(const Iterator& a, const Iterator& b) { + return !(a == b); + } + + Iterator& operator++() { + idx++; + return *this; + } + + int idx; + const Descriptor* descriptor; + }; + + Iterator begin() const { return {0, descriptor}; } + Iterator end() const { + return {descriptor->real_oneof_decl_count(), descriptor}; + } + + const Descriptor* descriptor; +}; + +inline OneOfRangeImpl OneOfRange(const Descriptor* desc) { return {desc}; } + +PROTOC_EXPORT std::string StripProto(const std::string& filename); + +bool EnableMessageOwnedArena(const Descriptor* desc, const Options& options); + +bool EnableMessageOwnedArenaTrial(const Descriptor* desc, + const Options& options); + +bool ShouldVerify(const Descriptor* descriptor, const Options& options, + MessageSCCAnalyzer* scc_analyzer); +bool ShouldVerify(const FileDescriptor* file, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + +// Indicates whether to use predefined verify methods for a given message. If a +// message is "simple" and needs no special verification per field (e.g. message +// field, repeated packed, UTF8 string, etc.), we can use either VerifySimple or +// VerifySimpleAlwaysCheckInt32 methods as all verification can be done based on +// the wire type. +// +// Otherwise, we need "custom" verify methods tailored to a message to pass +// which field needs a special verification; i.e. InternalVerify. +enum class VerifySimpleType { + kSimpleInt32Never, // Use VerifySimple + kSimpleInt32Always, // Use VerifySimpleAlwaysCheckInt32 + kCustom, // Use InternalVerify and check only for int32 + kCustomInt32Never, // Use InternalVerify but never check for int32 + kCustomInt32Always, // Use InternalVerify and always check for int32 +}; + +// Returns VerifySimpleType if messages can be verified by predefined methods. +VerifySimpleType ShouldVerifySimple(const Descriptor* descriptor); + +bool IsUtf8String(const FieldDescriptor* field); + +bool HasMessageFieldOrExtension(const Descriptor* desc); + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_HELPERS_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/map_field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/map_field.h new file mode 100644 index 0000000..678a128 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/map_field.h @@ -0,0 +1,83 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MAP_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_MAP_FIELD_H__ + +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class MapFieldGenerator : public FieldGenerator { + public: + MapFieldGenerator(const FieldDescriptor* descriptor, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~MapFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateIsInitialized(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateArenaDestructorCode(io::Printer* printer) const override; + ArenaDtorNeeds NeedsArenaDestructor() const override; + + private: + const bool has_required_fields_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MapFieldGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_MAP_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message.h new file mode 100644 index 0000000..5bdfcb3 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message.h @@ -0,0 +1,232 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_H__ + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +namespace google { +namespace protobuf { +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class EnumGenerator; // enum.h +class ExtensionGenerator; // extension.h + +class MessageGenerator { + public: + // See generator.cc for the meaning of dllexport_decl. + MessageGenerator(const Descriptor* descriptor, + const std::map& vars, + int index_in_file_messages, const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~MessageGenerator(); + + // Append the two types of nested generators to the corresponding vector. + void AddGenerators( + std::vector>* enum_generators, + std::vector>* extension_generators); + + // Generate definitions for this class and all its nested types. + void GenerateClassDefinition(io::Printer* printer); + + // Generate definitions of inline methods (placed at the end of the header + // file). + void GenerateInlineMethods(io::Printer* printer); + + // Source file stuff. + + // Generate all non-inline methods for this class. + void GenerateClassMethods(io::Printer* printer); + + // Generate source file code that should go outside any namespace. + void GenerateSourceInProto2Namespace(io::Printer* printer); + + private: + // Generate declarations and definitions of accessors for fields. + void GenerateFieldAccessorDeclarations(io::Printer* printer); + void GenerateFieldAccessorDefinitions(io::Printer* printer); + + // Generate the field offsets array. Returns the a pair of the total number + // of entries generated and the index of the first has_bit entry. + std::pair GenerateOffsets(io::Printer* printer); + void GenerateSchema(io::Printer* printer, int offset, int has_offset); + + // Generate constructors and destructor. + void GenerateStructors(io::Printer* printer); + + // The compiler typically generates multiple copies of each constructor and + // destructor: http://gcc.gnu.org/bugs.html#nonbugs_cxx + // Placing common code in a separate method reduces the generated code size. + // + // Generate the shared constructor code. + void GenerateSharedConstructorCode(io::Printer* printer); + // Generate the shared destructor code. + void GenerateSharedDestructorCode(io::Printer* printer); + // Generate the arena-specific destructor code. + void GenerateArenaDestructorCode(io::Printer* printer); + + // Generate the constexpr constructor for constant initialization of the + // default instance. + void GenerateConstexprConstructor(io::Printer* printer); + + void GenerateCreateSplitMessage(io::Printer* printer); + void GenerateInitDefaultSplitInstance(io::Printer* printer); + + // Generate standard Message methods. + void GenerateClear(io::Printer* printer); + void GenerateOneofClear(io::Printer* printer); + void GenerateVerify(io::Printer* printer); + void GenerateSerializeWithCachedSizes(io::Printer* printer); + void GenerateSerializeWithCachedSizesToArray(io::Printer* printer); + void GenerateSerializeWithCachedSizesBody(io::Printer* printer); + void GenerateSerializeWithCachedSizesBodyShuffled(io::Printer* printer); + void GenerateByteSize(io::Printer* printer); + void GenerateMergeFrom(io::Printer* printer); + void GenerateClassSpecificMergeImpl(io::Printer* printer); + void GenerateCopyFrom(io::Printer* printer); + void GenerateSwap(io::Printer* printer); + void GenerateIsInitialized(io::Printer* printer); + + // Helpers for GenerateSerializeWithCachedSizes(). + // + // cached_has_bit_index maintains that: + // cached_has_bits = _has_bits_[cached_has_bit_index] + // for cached_has_bit_index >= 0 + void GenerateSerializeOneField(io::Printer* printer, + const FieldDescriptor* field, + int cached_has_bits_index); + // Generate a switch statement to serialize 2+ fields from the same oneof. + // Or, if fields.size() == 1, just call GenerateSerializeOneField(). + void GenerateSerializeOneofFields( + io::Printer* printer, const std::vector& fields); + void GenerateSerializeOneExtensionRange( + io::Printer* printer, const Descriptor::ExtensionRange* range); + + // Generates has_foo() functions and variables for singular field has-bits. + void GenerateSingularFieldHasBits(const FieldDescriptor* field, + Formatter format); + // Generates has_foo() functions and variables for oneof field has-bits. + void GenerateOneofHasBits(io::Printer* printer); + // Generates has_foo_bar() functions for oneof members. + void GenerateOneofMemberHasBits(const FieldDescriptor* field, + const Formatter& format); + // Generates the clear_foo() method for a field. + void GenerateFieldClear(const FieldDescriptor* field, bool is_inline, + Formatter format); + + // Generates the body of the message's copy constructor. + void GenerateCopyConstructorBody(io::Printer* printer) const; + + // Returns the level that this message needs ArenaDtor. If the message has + // a field that is not arena-exclusive, it needs an ArenaDtor + // (go/proto-destructor). + // + // - Returning kNone means we don't need to generate ArenaDtor. + // - Returning kOnDemand means we need to generate ArenaDtor, but don't need + // to register ArenaDtor at construction. Such as when the message's + // ArenaDtor code is only for destructing inlined string. + // - Returning kRequired means we meed to generate ArenaDtor and register it + // at construction. + ArenaDtorNeeds NeedsArenaDestructor() const; + + size_t HasBitsSize() const; + size_t InlinedStringDonatedSize() const; + int HasBitIndex(const FieldDescriptor* a) const; + int HasByteIndex(const FieldDescriptor* a) const; + int HasWordIndex(const FieldDescriptor* a) const; + bool SameHasByte(const FieldDescriptor* a, const FieldDescriptor* b) const; + std::vector RequiredFieldsBitMask() const; + + const Descriptor* descriptor_; + int index_in_file_messages_; + std::string classname_; + Options options_; + FieldGeneratorMap field_generators_; + // optimized_order_ is the order we layout the message's fields in the + // class. This is reused to initialize the fields in-order for cache + // efficiency. + // + // optimized_order_ excludes oneof fields and weak fields. + std::vector optimized_order_; + std::vector has_bit_indices_; + int max_has_bit_index_; + + // A map from field index to inlined_string index. For non-inlined-string + // fields, the element is -1. If there is no inlined string in the message, + // this is empty. + std::vector inlined_string_indices_; + // The count of inlined_string fields in the message. + int max_inlined_string_index_; + + std::vector enum_generators_; + std::vector extension_generators_; + int num_required_fields_; + int num_weak_fields_; + + std::unique_ptr message_layout_helper_; + std::unique_ptr parse_function_generator_; + + MessageSCCAnalyzer* scc_analyzer_; + + std::map variables_; + + friend class FileGenerator; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_field.h new file mode 100644 index 0000000..70c42c0 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_field.h @@ -0,0 +1,148 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_FIELD_H__ + +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class MessageFieldGenerator : public FieldGenerator { + public: + MessageFieldGenerator(const FieldDescriptor* descriptor, + const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~MessageFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateNonInlineAccessorDefinitions( + io::Printer* printer) const override; + void GenerateInternalAccessorDeclarations( + io::Printer* printer) const override; + void GenerateInternalAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMessageClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateIsInitialized(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + + protected: + const bool implicit_weak_field_; + const bool has_required_fields_; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageFieldGenerator); +}; + +class MessageOneofFieldGenerator : public MessageFieldGenerator { + public: + MessageOneofFieldGenerator(const FieldDescriptor* descriptor, + const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~MessageOneofFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateNonInlineAccessorDefinitions( + io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + + // MessageFieldGenerator, from which we inherit, overrides this so we need to + // override it as well. + void GenerateMessageClearingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + void GenerateIsInitialized(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageOneofFieldGenerator); +}; + +class RepeatedMessageFieldGenerator : public FieldGenerator { + public: + RepeatedMessageFieldGenerator(const FieldDescriptor* descriptor, + const Options& options, + MessageSCCAnalyzer* scc_analyzer); + ~RepeatedMessageFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + void GenerateCopyConstructorCode(io::Printer* printer) const override {} + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateIsInitialized(io::Printer* printer) const override; + + private: + const bool implicit_weak_field_; + const bool has_required_fields_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedMessageFieldGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_layout_helper.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_layout_helper.h new file mode 100644 index 0000000..a8813a1 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/message_layout_helper.h @@ -0,0 +1,64 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: seongkim@google.com (Seong Beom Kim) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_LAYOUT_HELPER_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_LAYOUT_HELPER_H__ + +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class MessageSCCAnalyzer; + +// Provides an abstract interface to optimize message layout +// by rearranging the fields of a message. +class MessageLayoutHelper { + public: + virtual ~MessageLayoutHelper() {} + + virtual void OptimizeLayout(std::vector* fields, + const Options& options, + MessageSCCAnalyzer* scc_analyzer) = 0; +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_LAYOUT_HELPER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/names.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/names.h new file mode 100644 index 0000000..7404ac5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/names.h @@ -0,0 +1,97 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_NAMES_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_NAMES_H__ + +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +class Descriptor; +class EnumDescriptor; +class EnumValueDescriptor; +class FieldDescriptor; + +namespace compiler { +namespace cpp { + +// Returns the unqualified C++ name. +// +// For example, if you had: +// package foo.bar; +// message Baz { message Moo {} } +// Then the non-qualified version would be: +// Baz_Moo +std::string ClassName(const Descriptor* descriptor); +std::string ClassName(const EnumDescriptor* enum_descriptor); + +// Returns the fully qualified C++ name. +// +// For example, if you had: +// package foo.bar; +// message Baz { message Moo {} } +// Then the qualified ClassName for Moo would be: +// ::foo::bar::Baz_Moo +std::string QualifiedClassName(const Descriptor* d); +std::string QualifiedClassName(const EnumDescriptor* d); +std::string QualifiedExtensionName(const FieldDescriptor* d); + +// Get the (unqualified) name that should be used for this field in C++ code. +// The name is coerced to lower-case to emulate proto1 behavior. People +// should be using lowercase-with-underscores style for proto field names +// anyway, so normally this just returns field->name(). +std::string FieldName(const FieldDescriptor* field); + +// Requires that this field is in a oneof. Returns the (unqualified) case +// constant for this field. +std::string OneofCaseConstantName(const FieldDescriptor* field); +// Returns the quafilied case constant for this field. +std::string QualifiedOneofCaseConstantName(const FieldDescriptor* field); + +// Get the (unqualified) name that should be used for this enum value in C++ +// code. +std::string EnumValueName(const EnumValueDescriptor* enum_value); + +// Strips ".proto" or ".protodevel" from the end of a filename. +PROTOC_EXPORT std::string StripProto(const std::string& filename); + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_NAMES_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/options.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/options.h new file mode 100644 index 0000000..5d935e9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/options.h @@ -0,0 +1,101 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: rennie@google.com (Jeffrey Rennie) + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_OPTIONS_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_OPTIONS_H__ + +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { +class AccessInfoMap; + +namespace cpp { + +enum class EnforceOptimizeMode { + kNoEnforcement, // Use the runtime specified by the file specific options. + kSpeed, // Full runtime with a generated code implementation. + kCodeSize, // Full runtime with a reflective implementation. + kLiteRuntime, +}; + +struct FieldListenerOptions { + bool inject_field_listener_events = false; + std::set forbidden_field_listener_events; +}; + +// Generator options (see generator.cc for a description of each): +struct Options { + const AccessInfoMap* access_info_map = nullptr; + std::string dllexport_decl; + std::string runtime_include_base; + std::string annotation_pragma_name; + std::string annotation_guard_name; + FieldListenerOptions field_listener_options; + EnforceOptimizeMode enforce_mode = EnforceOptimizeMode::kNoEnforcement; + enum { + kTCTableNever, + kTCTableGuarded, + kTCTableAlways + } tctable_mode = kTCTableNever; + int num_cc_files = 0; + bool safe_boundary_check = false; + bool proto_h = false; + bool transitive_pb_h = true; + bool annotate_headers = false; + bool lite_implicit_weak_fields = false; + bool bootstrap = false; + bool opensource_runtime = false; + bool annotate_accessor = false; + bool unused_field_stripping = false; + bool unverified_lazy_message_sets = false; + bool unverified_lazy = false; + bool profile_driven_inline_string = true; + bool message_owned_arena_trial = false; + bool force_split = false; +#ifdef PROTOBUF_STABLE_EXPERIMENTS + bool force_eagerly_verified_lazy = true; + bool force_inline_string = true; +#else // PROTOBUF_STABLE_EXPERIMENTS + bool force_eagerly_verified_lazy = false; + bool force_inline_string = false; +#endif // !PROTOBUF_STABLE_EXPERIMENTS +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_OPTIONS_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/padding_optimizer.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/padding_optimizer.h new file mode 100644 index 0000000..9c76f38 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/padding_optimizer.h @@ -0,0 +1,65 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: seongkim@google.com (Seong Beom Kim) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_PADDING_OPTIMIZER_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_PADDING_OPTIMIZER_H__ + +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +// Rearranges the fields of a message to minimize padding. +// Fields are grouped by the type and the size. +// For example, grouping four boolean fields and one int32 +// field results in zero padding overhead. See OptimizeLayout's +// comment for details. +class PaddingOptimizer : public MessageLayoutHelper { + public: + PaddingOptimizer() {} + ~PaddingOptimizer() override {} + + void OptimizeLayout(std::vector* fields, + const Options& options, + MessageSCCAnalyzer* scc_analyzer) override; +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_PADDING_OPTIMIZER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/parse_function_generator.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/parse_function_generator.h new file mode 100644 index 0000000..542a15a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/parse_function_generator.h @@ -0,0 +1,180 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_PARSE_FUNCTION_GENERATOR_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_PARSE_FUNCTION_GENERATOR_H__ + +#include +#include +#include + +#include +#include +#include +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +// Helper class for generating tailcall parsing functions. +struct TailCallTableInfo { + TailCallTableInfo(const Descriptor* descriptor, const Options& options, + const std::vector& ordered_fields, + const std::vector& has_bit_indices, + const std::vector& inlined_string_indices, + MessageSCCAnalyzer* scc_analyzer); + + // Fields parsed by the table fast-path. + struct FastFieldInfo { + std::string func_name; + const FieldDescriptor* field; + uint16_t coded_tag; + uint8_t hasbit_idx; + uint8_t aux_idx; + }; + std::vector fast_path_fields; + + // Fields parsed by mini parsing routines. + struct FieldEntryInfo { + const FieldDescriptor* field; + int hasbit_idx; + int inlined_string_idx; + uint16_t aux_idx; + // True for enums entirely covered by the start/length fields of FieldAux: + bool is_enum_range; + }; + std::vector field_entries; + std::vector aux_entries; + + // Fields parsed by generated fallback function. + std::vector fallback_fields; + + // Table size. + int table_size_log2; + // Mask for has-bits of required fields. + uint32_t has_hasbits_required_mask; + // True if a generated fallback function is required instead of generic. + bool use_generated_fallback; +}; + +// ParseFunctionGenerator generates the _InternalParse function for a message +// (and any associated supporting members). +class ParseFunctionGenerator { + public: + ParseFunctionGenerator(const Descriptor* descriptor, int max_has_bit_index, + const std::vector& has_bit_indices, + const std::vector& inlined_string_indices, + const Options& options, + MessageSCCAnalyzer* scc_analyzer, + const std::map& vars); + + // Emits class-level method declarations to `printer`: + void GenerateMethodDecls(io::Printer* printer); + + // Emits out-of-class method implementation definitions to `printer`: + void GenerateMethodImpls(io::Printer* printer); + + // Emits class-level data member declarations to `printer`: + void GenerateDataDecls(io::Printer* printer); + + // Emits out-of-class data member definitions to `printer`: + void GenerateDataDefinitions(io::Printer* printer); + + private: + // Returns true if tailcall table code should be generated. + bool should_generate_tctable() const; + + // Returns true if tailcall table code should be generated, but inside an + // #ifdef guard. + bool should_generate_guarded_tctable() const { + return should_generate_tctable() && + options_.tctable_mode == Options::kTCTableGuarded; + } + + // Generates a tail-calling `_InternalParse` function. + void GenerateTailcallParseFunction(Formatter& format); + + // Generates a fallback function for tailcall table-based parsing. + void GenerateTailcallFallbackFunction(Formatter& format); + + // Generates a looping `_InternalParse` function. + void GenerateLoopingParseFunction(Formatter& format); + + // Generates the tail-call table definition. + void GenerateTailCallTable(Formatter& format); + void GenerateFastFieldEntries(Formatter& format); + void GenerateFieldEntries(Formatter& format); + int CalculateFieldNamesSize() const; + void GenerateFieldNames(Formatter& format); + + // Generates parsing code for an `ArenaString` field. + void GenerateArenaString(Formatter& format, const FieldDescriptor* field); + + // Generates parsing code for a string-typed field. + void GenerateStrings(Formatter& format, const FieldDescriptor* field, + bool check_utf8); + + // Generates parsing code for a length-delimited field (strings, messages, + // etc.). + void GenerateLengthDelim(Formatter& format, const FieldDescriptor* field); + + // Generates the parsing code for a known field. + void GenerateFieldBody(Formatter& format, + google::protobuf::internal::WireFormatLite::WireType wiretype, + const FieldDescriptor* field); + + // Generates code to parse the next field from the input stream. + void GenerateParseIterationBody( + Formatter& format, const Descriptor* descriptor, + const std::vector& fields); + + // Generates a `switch` statement to parse each of `fields`. + void GenerateFieldSwitch(Formatter& format, + const std::vector& fields); + + const Descriptor* descriptor_; + MessageSCCAnalyzer* scc_analyzer_; + const Options& options_; + std::map variables_; + std::unique_ptr tc_table_info_; + std::vector inlined_string_indices_; + const std::vector ordered_fields_; + int num_hasbits_; +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_PARSE_FUNCTION_GENERATOR_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/primitive_field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/primitive_field.h new file mode 100644 index 0000000..bb8a08a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/primitive_field.h @@ -0,0 +1,126 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_PRIMITIVE_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_PRIMITIVE_FIELD_H__ + +#include +#include + +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class PrimitiveFieldGenerator : public FieldGenerator { + public: + PrimitiveFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~PrimitiveFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(PrimitiveFieldGenerator); +}; + +class PrimitiveOneofFieldGenerator : public PrimitiveFieldGenerator { + public: + PrimitiveOneofFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~PrimitiveOneofFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(PrimitiveOneofFieldGenerator); +}; + +class RepeatedPrimitiveFieldGenerator : public FieldGenerator { + public: + RepeatedPrimitiveFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~RepeatedPrimitiveFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* /*printer*/) const override { + GOOGLE_CHECK(!ShouldSplit(descriptor_, options_)); + } + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedPrimitiveFieldGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_PRIMITIVE_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/service.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/service.h new file mode 100644 index 0000000..b3bd2d7 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/service.h @@ -0,0 +1,123 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_SERVICE_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_SERVICE_H__ + +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +namespace io { +class Printer; // printer.h +} +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class ServiceGenerator { + public: + // See generator.cc for the meaning of dllexport_decl. + explicit ServiceGenerator(const ServiceDescriptor* descriptor, + const std::map& vars, + const Options& options); + ~ServiceGenerator(); + + // Header stuff. + + // Generate the class definitions for the service's interface and the + // stub implementation. + void GenerateDeclarations(io::Printer* printer); + + // Source file stuff. + + // Generate implementations of everything declared by + // GenerateDeclarations(). + void GenerateImplementation(io::Printer* printer); + + private: + enum RequestOrResponse { REQUEST, RESPONSE }; + enum VirtualOrNon { VIRTUAL, NON_VIRTUAL }; + + // Header stuff. + + // Generate the service abstract interface. + void GenerateInterface(io::Printer* printer); + + // Generate the stub class definition. + void GenerateStubDefinition(io::Printer* printer); + + // Prints signatures for all methods in the + void GenerateMethodSignatures(VirtualOrNon virtual_or_non, + io::Printer* printer); + + // Source file stuff. + + // Generate the default implementations of the service methods, which + // produce a "not implemented" error. + void GenerateNotImplementedMethods(io::Printer* printer); + + // Generate the CallMethod() method of the service. + void GenerateCallMethod(io::Printer* printer); + + // Generate the Get{Request,Response}Prototype() methods. + void GenerateGetPrototype(RequestOrResponse which, io::Printer* printer); + + // Generate the stub's implementations of the service methods. + void GenerateStubMethods(io::Printer* printer); + + const ServiceDescriptor* descriptor_; + std::map vars_; + const Options& options_; + + int index_in_metadata_; + + friend class FileGenerator; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_SERVICE_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/string_field.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/string_field.h new file mode 100644 index 0000000..db5f18b --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/string_field.h @@ -0,0 +1,136 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_STRING_FIELD_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_STRING_FIELD_H__ + +#include +#include + +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +class StringFieldGenerator : public FieldGenerator { + public: + StringFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~StringFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateStaticMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateNonInlineAccessorDefinitions( + io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMessageClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + void GenerateCreateSplitMessageCode(io::Printer* printer) const override; + void GenerateCopyConstructorCode(io::Printer* printer) const override; + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateArenaDestructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + void GenerateConstexprAggregateInitializer( + io::Printer* printer) const override; + void GenerateAggregateInitializer(io::Printer* printer) const override; + void GenerateCopyAggregateInitializer(io::Printer* printer) const override; + bool IsInlined() const override { return inlined_; } + ArenaDtorNeeds NeedsArenaDestructor() const override; + + private: + bool inlined_; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(StringFieldGenerator); +}; + +class StringOneofFieldGenerator : public StringFieldGenerator { + public: + StringOneofFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~StringOneofFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + + // StringFieldGenerator, from which we inherit, overrides this so we need to + // override it as well. + void GenerateMessageClearingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(StringOneofFieldGenerator); +}; + +class RepeatedStringFieldGenerator : public FieldGenerator { + public: + RepeatedStringFieldGenerator(const FieldDescriptor* descriptor, + const Options& options); + ~RepeatedStringFieldGenerator() override; + + // implements FieldGenerator --------------------------------------- + void GeneratePrivateMembers(io::Printer* printer) const override; + void GenerateAccessorDeclarations(io::Printer* printer) const override; + void GenerateInlineAccessorDefinitions(io::Printer* printer) const override; + void GenerateClearingCode(io::Printer* printer) const override; + void GenerateMergingCode(io::Printer* printer) const override; + void GenerateSwappingCode(io::Printer* printer) const override; + void GenerateConstructorCode(io::Printer* printer) const override {} + void GenerateCopyConstructorCode(io::Printer* /*printer*/) const override { + GOOGLE_CHECK(!ShouldSplit(descriptor_, options_)); + } + void GenerateDestructorCode(io::Printer* printer) const override; + void GenerateSerializeWithCachedSizesToArray( + io::Printer* printer) const override; + void GenerateByteSize(io::Printer* printer) const override; + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedStringFieldGenerator); +}; + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_STRING_FIELD_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.h new file mode 100644 index 0000000..c5dc767 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.h @@ -0,0 +1,51 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// This header declares the namespace google::protobuf::protobuf_unittest in order to expose +// any problems with the generated class names. We use this header to ensure +// unittest.cc will declare the namespace prior to other includes, while obeying +// normal include ordering. +// +// When generating a class name of "foo.Bar" we must ensure we prefix the class +// name with "::", in case the namespace google::protobuf::foo exists. We intentionally +// trigger that case here by declaring google::protobuf::protobuf_unittest. +// +// See ClassName in helpers.h for more details. + +#ifndef GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__ +#define GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__ + +namespace google { +namespace protobuf { +namespace protobuf_unittest {} +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.inc b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.inc new file mode 100644 index 0000000..0b47176 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/cpp/unittest.inc @@ -0,0 +1,2226 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// To test the code generator, we actually use it to generate code for +// net/proto2/internal/unittest.proto, then test that. This means that we +// are actually testing the parser and other parts of the system at the same +// time, and that problems in the generator may show up as compile-time errors +// rather than unittest failures, which may be surprising. However, testing +// the output of the C++ generator directly would be very hard. We can't very +// well just check it against golden files since those files would have to be +// updated for any small change; such a test would be very brittle and probably +// not very helpful. What we really want to test is that the code compiles +// correctly and produces the interfaces we expect, which is why this test +// is written this way. + +#include +#include +#include +#include + +#include +#include +#ifndef _MSC_VER +// We exclude this large proto because it's too large for +// visual studio to compile (report internal errors). +#include +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace compiler { +namespace cpp { + +// Can't use an anonymous namespace here due to brokenness of Tru64 compiler. +namespace cpp_unittest { + + +void DoNothing() {} + +class MockErrorCollector : public MultiFileErrorCollector { + public: + MockErrorCollector() {} + ~MockErrorCollector() override {} + + std::string text_; + + // implements ErrorCollector --------------------------------------- + void AddError(const std::string& filename, int line, int column, + const std::string& message) override { + strings::SubstituteAndAppend(&text_, "$0:$1:$2: $3\n", filename, line, column, + message); + } +}; + +#ifndef PROTOBUF_TEST_NO_DESCRIPTORS + +// Test that generated code has proper descriptors: +// Parse a descriptor directly (using google::protobuf::compiler::Importer) and +// compare it to the one that was produced by generated code. +TEST(GENERATED_DESCRIPTOR_TEST_NAME, IdenticalDescriptors) { + const FileDescriptor* generated_descriptor = + UNITTEST::TestAllTypes::descriptor()->file(); + + // Set up the Importer. + MockErrorCollector error_collector; + DiskSourceTree source_tree; + source_tree.MapPath("", TestUtil::TestSourceDir()); + Importer importer(&source_tree, &error_collector); + + // Import (parse) unittest.proto. + const FileDescriptor* parsed_descriptor = + importer.Import(TestUtil::MaybeTranslatePath(UNITTEST_PROTO_PATH)); + EXPECT_EQ("", error_collector.text_); + ASSERT_TRUE(parsed_descriptor != nullptr); + + // Test that descriptors are generated correctly by converting them to + // FileDescriptorProtos and comparing. + FileDescriptorProto generated_descriptor_proto, parsed_descriptor_proto; + generated_descriptor->CopyTo(&generated_descriptor_proto); + parsed_descriptor->CopyTo(&parsed_descriptor_proto); + + EXPECT_EQ(parsed_descriptor_proto.DebugString(), + generated_descriptor_proto.DebugString()); +} + +#ifndef _MSC_VER +// Test that generated code has proper descriptors: +// Touch a descriptor generated from an enormous message to validate special +// handling for descriptors exceeding the C++ standard's recommended minimum +// limit for string literal size +TEST(GENERATED_DESCRIPTOR_TEST_NAME, EnormousDescriptor) { + const Descriptor* generated_descriptor = + ::protobuf_unittest::TestEnormousDescriptor::descriptor(); + + EXPECT_TRUE(generated_descriptor != nullptr); +} +#endif + +#endif // !PROTOBUF_TEST_NO_DESCRIPTORS + +// =================================================================== + +TEST(GENERATED_MESSAGE_TEST_NAME, Defaults) { + // Check that all default values are set correctly in the initial message. + UNITTEST::TestAllTypes message; + + TestUtil::ExpectClear(message); + + // Messages should return pointers to default instances until first use. + // (This is not checked by ExpectClear() since it is not actually true after + // the fields have been set and then cleared.) + EXPECT_EQ(&UNITTEST::TestAllTypes::OptionalGroup::default_instance(), + &message.optionalgroup()); + EXPECT_EQ(&UNITTEST::TestAllTypes::NestedMessage::default_instance(), + &message.optional_nested_message()); + EXPECT_EQ(&UNITTEST::ForeignMessage::default_instance(), + &message.optional_foreign_message()); + EXPECT_EQ(&UNITTEST_IMPORT::ImportMessage::default_instance(), + &message.optional_import_message()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, FloatingPointDefaults) { + const UNITTEST::TestExtremeDefaultValues& extreme_default = + UNITTEST::TestExtremeDefaultValues::default_instance(); + + EXPECT_EQ(0.0f, extreme_default.zero_float()); + EXPECT_EQ(1.0f, extreme_default.one_float()); + EXPECT_EQ(1.5f, extreme_default.small_float()); + EXPECT_EQ(-1.0f, extreme_default.negative_one_float()); + EXPECT_EQ(-1.5f, extreme_default.negative_float()); + EXPECT_EQ(2.0e8f, extreme_default.large_float()); + EXPECT_EQ(-8e-28f, extreme_default.small_negative_float()); + EXPECT_EQ(std::numeric_limits::infinity(), + extreme_default.inf_double()); + EXPECT_EQ(-std::numeric_limits::infinity(), + extreme_default.neg_inf_double()); + EXPECT_TRUE(extreme_default.nan_double() != extreme_default.nan_double()); + EXPECT_EQ(std::numeric_limits::infinity(), + extreme_default.inf_float()); + EXPECT_EQ(-std::numeric_limits::infinity(), + extreme_default.neg_inf_float()); + EXPECT_TRUE(extreme_default.nan_float() != extreme_default.nan_float()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, Trigraph) { + const UNITTEST::TestExtremeDefaultValues& extreme_default = + UNITTEST::TestExtremeDefaultValues::default_instance(); + + EXPECT_EQ("? ? ?? ?? ??? ?\?/ ?\?-", extreme_default.cpp_trigraph()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ExtremeSmallIntegerDefault) { + const UNITTEST::TestExtremeDefaultValues& extreme_default = + UNITTEST::TestExtremeDefaultValues::default_instance(); + EXPECT_EQ(std::numeric_limits::min(), + extreme_default.really_small_int32()); + EXPECT_EQ(std::numeric_limits::min(), + extreme_default.really_small_int64()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, Accessors) { + // Set every field to a unique value then go back and check all those + // values. + UNITTEST::TestAllTypes message; + + TestUtil::SetAllFields(&message); + TestUtil::ExpectAllFieldsSet(message); + + TestUtil::ModifyRepeatedFields(&message); + TestUtil::ExpectRepeatedFieldsModified(message); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, MutableStringDefault) { + // mutable_foo() for a string should return a string initialized to its + // default value. + UNITTEST::TestAllTypes message; + + EXPECT_EQ("hello", *message.mutable_default_string()); + + // Note that the first time we call mutable_foo(), we get a newly-allocated + // string, but if we clear it and call it again, we get the same object again. + // We should verify that it has its default value in both cases. + message.set_default_string("blah"); + message.Clear(); + + EXPECT_EQ("hello", *message.mutable_default_string()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, StringDefaults) { + UNITTEST::TestExtremeDefaultValues message; + // Check if '\000' can be used in default string value. + EXPECT_EQ(std::string("hel\000lo", 6), message.string_with_zero()); + EXPECT_EQ(std::string("wor\000ld", 6), message.bytes_with_zero()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ReleaseString) { + // Check that release_foo() starts out nullptr, and gives us a value + // that we can delete after it's been set. + UNITTEST::TestAllTypes message; + + EXPECT_EQ(nullptr, message.release_default_string()); + EXPECT_FALSE(message.has_default_string()); + EXPECT_EQ("hello", message.default_string()); + + message.set_default_string("blah"); + EXPECT_TRUE(message.has_default_string()); + std::unique_ptr str(message.release_default_string()); + EXPECT_FALSE(message.has_default_string()); + ASSERT_TRUE(str != nullptr); + EXPECT_EQ("blah", *str); + + EXPECT_EQ(nullptr, message.release_default_string()); + EXPECT_FALSE(message.has_default_string()); + EXPECT_EQ("hello", message.default_string()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ReleaseMessage) { + // Check that release_foo() starts out nullptr, and gives us a value + // that we can delete after it's been set. + UNITTEST::TestAllTypes message; + + EXPECT_EQ(nullptr, message.release_optional_nested_message()); + EXPECT_FALSE(message.has_optional_nested_message()); + + message.mutable_optional_nested_message()->set_bb(1); + std::unique_ptr nest( + message.release_optional_nested_message()); + EXPECT_FALSE(message.has_optional_nested_message()); + ASSERT_TRUE(nest != nullptr); + EXPECT_EQ(1, nest->bb()); + + EXPECT_EQ(nullptr, message.release_optional_nested_message()); + EXPECT_FALSE(message.has_optional_nested_message()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, SetAllocatedString) { + // Check that set_allocated_foo() works for strings. + UNITTEST::TestAllTypes message; + + EXPECT_FALSE(message.has_optional_string()); + const std::string kHello("hello"); + message.set_optional_string(kHello); + EXPECT_TRUE(message.has_optional_string()); + + message.set_allocated_optional_string(nullptr); + EXPECT_FALSE(message.has_optional_string()); + EXPECT_EQ("", message.optional_string()); + + message.set_allocated_optional_string(new std::string(kHello)); + EXPECT_TRUE(message.has_optional_string()); + EXPECT_EQ(kHello, message.optional_string()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, SetAllocatedMessage) { + // Check that set_allocated_foo() can be called in all cases. + UNITTEST::TestAllTypes message; + + EXPECT_FALSE(message.has_optional_nested_message()); + + message.mutable_optional_nested_message()->set_bb(1); + EXPECT_TRUE(message.has_optional_nested_message()); + + message.set_allocated_optional_nested_message(nullptr); + EXPECT_FALSE(message.has_optional_nested_message()); + EXPECT_EQ(&UNITTEST::TestAllTypes::NestedMessage::default_instance(), + &message.optional_nested_message()); + + message.mutable_optional_nested_message()->set_bb(1); + UNITTEST::TestAllTypes::NestedMessage* nest = + message.release_optional_nested_message(); + ASSERT_TRUE(nest != nullptr); + EXPECT_FALSE(message.has_optional_nested_message()); + + message.set_allocated_optional_nested_message(nest); + EXPECT_TRUE(message.has_optional_nested_message()); + EXPECT_EQ(1, message.optional_nested_message().bb()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, Clear) { + // Set every field to a unique value, clear the message, then check that + // it is cleared. + UNITTEST::TestAllTypes message; + + TestUtil::SetAllFields(&message); + message.Clear(); + TestUtil::ExpectClear(message); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, EmbeddedNullsInBytesCharStar) { + UNITTEST::TestAllTypes message; + + const char* value = "\0lalala\0\0"; + message.set_optional_bytes(value, 9); + ASSERT_EQ(9, message.optional_bytes().size()); + EXPECT_EQ(0, memcmp(value, message.optional_bytes().data(), 9)); + + message.add_repeated_bytes(value, 9); + ASSERT_EQ(9, message.repeated_bytes(0).size()); + EXPECT_EQ(0, memcmp(value, message.repeated_bytes(0).data(), 9)); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ClearOneField) { + // Set every field to a unique value, then clear one value and insure that + // only that one value is cleared. + UNITTEST::TestAllTypes message; + + TestUtil::SetAllFields(&message); + int64_t original_value = message.optional_int64(); + + // Clear the field and make sure it shows up as cleared. + message.clear_optional_int64(); + EXPECT_FALSE(message.has_optional_int64()); + EXPECT_EQ(0, message.optional_int64()); + + // Other adjacent fields should not be cleared. + EXPECT_TRUE(message.has_optional_int32()); + EXPECT_TRUE(message.has_optional_uint32()); + + // Make sure if we set it again, then all fields are set. + message.set_optional_int64(original_value); + TestUtil::ExpectAllFieldsSet(message); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, StringCharStarLength) { + // Verify that we can use a char*,length to set one of the string fields. + UNITTEST::TestAllTypes message; + message.set_optional_string("abcdef", 3); + EXPECT_EQ("abc", message.optional_string()); + + // Verify that we can use a char*,length to add to a repeated string field. + message.add_repeated_string("abcdef", 3); + EXPECT_EQ(1, message.repeated_string_size()); + EXPECT_EQ("abc", message.repeated_string(0)); + + // Verify that we can use a char*,length to set a repeated string field. + message.set_repeated_string(0, "wxyz", 2); + EXPECT_EQ("wx", message.repeated_string(0)); +} + + +#if !defined(PROTOBUF_TEST_NO_DESCRIPTORS) || defined(NDEBUG) +TEST(GENERATED_MESSAGE_TEST_NAME, CopyFrom) { + UNITTEST::TestAllTypes message1, message2; + + TestUtil::SetAllFields(&message1); + message2.CopyFrom(message1); + TestUtil::ExpectAllFieldsSet(message2); + + // Copying from self should be a no-op. + message2.CopyFrom(message2); + TestUtil::ExpectAllFieldsSet(message2); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, CopyAssignmentOperator) { + UNITTEST::TestAllTypes message1; + TestUtil::SetAllFields(&message1); + + UNITTEST::TestAllTypes message2; + message2 = message1; + TestUtil::ExpectAllFieldsSet(message2); + + // Make sure that self-assignment does something sane. + message2.operator=(message2); + TestUtil::ExpectAllFieldsSet(message2); +} +#endif // !PROTOBUF_TEST_NO_DESCRIPTORS || NDEBUG + + +TEST(GENERATED_MESSAGE_TEST_NAME, SwapWithEmpty) { + UNITTEST::TestAllTypes message1, message2; + TestUtil::SetAllFields(&message1); + + TestUtil::ExpectAllFieldsSet(message1); + TestUtil::ExpectClear(message2); + message1.Swap(&message2); + TestUtil::ExpectAllFieldsSet(message2); + TestUtil::ExpectClear(message1); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, SwapWithSelf) { + UNITTEST::TestAllTypes message; + TestUtil::SetAllFields(&message); + TestUtil::ExpectAllFieldsSet(message); + message.Swap(&message); + TestUtil::ExpectAllFieldsSet(message); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, SwapWithOther) { + UNITTEST::TestAllTypes message1, message2; + + message1.set_optional_int32(123); + message1.set_optional_string("abc"); + message1.mutable_optional_nested_message()->set_bb(1); + message1.set_optional_nested_enum(UNITTEST::TestAllTypes::FOO); + message1.add_repeated_int32(1); + message1.add_repeated_int32(2); + message1.add_repeated_string("a"); + message1.add_repeated_string("b"); + message1.add_repeated_nested_message()->set_bb(7); + message1.add_repeated_nested_message()->set_bb(8); + message1.add_repeated_nested_enum(UNITTEST::TestAllTypes::FOO); + message1.add_repeated_nested_enum(UNITTEST::TestAllTypes::BAR); + + message2.set_optional_int32(456); + message2.set_optional_string("def"); + message2.mutable_optional_nested_message()->set_bb(2); + message2.set_optional_nested_enum(UNITTEST::TestAllTypes::BAR); + message2.add_repeated_int32(3); + message2.add_repeated_string("c"); + message2.add_repeated_nested_message()->set_bb(9); + message2.add_repeated_nested_enum(UNITTEST::TestAllTypes::BAZ); + + message1.Swap(&message2); + + EXPECT_EQ(456, message1.optional_int32()); + EXPECT_EQ("def", message1.optional_string()); + EXPECT_EQ(2, message1.optional_nested_message().bb()); + EXPECT_EQ(UNITTEST::TestAllTypes::BAR, message1.optional_nested_enum()); + ASSERT_EQ(1, message1.repeated_int32_size()); + EXPECT_EQ(3, message1.repeated_int32(0)); + ASSERT_EQ(1, message1.repeated_string_size()); + EXPECT_EQ("c", message1.repeated_string(0)); + ASSERT_EQ(1, message1.repeated_nested_message_size()); + EXPECT_EQ(9, message1.repeated_nested_message(0).bb()); + ASSERT_EQ(1, message1.repeated_nested_enum_size()); + EXPECT_EQ(UNITTEST::TestAllTypes::BAZ, message1.repeated_nested_enum(0)); + + EXPECT_EQ(123, message2.optional_int32()); + EXPECT_EQ("abc", message2.optional_string()); + EXPECT_EQ(1, message2.optional_nested_message().bb()); + EXPECT_EQ(UNITTEST::TestAllTypes::FOO, message2.optional_nested_enum()); + ASSERT_EQ(2, message2.repeated_int32_size()); + EXPECT_EQ(1, message2.repeated_int32(0)); + EXPECT_EQ(2, message2.repeated_int32(1)); + ASSERT_EQ(2, message2.repeated_string_size()); + EXPECT_EQ("a", message2.repeated_string(0)); + EXPECT_EQ("b", message2.repeated_string(1)); + ASSERT_EQ(2, message2.repeated_nested_message_size()); + EXPECT_EQ(7, message2.repeated_nested_message(0).bb()); + EXPECT_EQ(8, message2.repeated_nested_message(1).bb()); + ASSERT_EQ(2, message2.repeated_nested_enum_size()); + EXPECT_EQ(UNITTEST::TestAllTypes::FOO, message2.repeated_nested_enum(0)); + EXPECT_EQ(UNITTEST::TestAllTypes::BAR, message2.repeated_nested_enum(1)); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ADLSwap) { + UNITTEST::TestAllTypes message1, message2; + TestUtil::SetAllFields(&message1); + + // Note the address of one of the repeated fields, to verify it was swapped + // rather than copied. + const int32_t* addr = &message1.repeated_int32().Get(0); +#ifdef PROTOBUF_FORCE_COPY_IN_SWAP + const int32_t value = *addr; +#endif + + using std::swap; + swap(message1, message2); + + TestUtil::ExpectAllFieldsSet(message2); + TestUtil::ExpectClear(message1); + +#ifdef PROTOBUF_FORCE_COPY_IN_SWAP + EXPECT_NE(addr, &message2.repeated_int32().Get(0)); + EXPECT_EQ(value, message2.repeated_int32().Get(0)); +#else + EXPECT_EQ(addr, &message2.repeated_int32().Get(0)); +#endif +} + +TEST(GENERATED_MESSAGE_TEST_NAME, CopyConstructor) { + // All set. + { + UNITTEST::TestAllTypes message1; + TestUtil::SetAllFields(&message1); + + UNITTEST::TestAllTypes message2(message1); + TestUtil::ExpectAllFieldsSet(message2); + } + + // None set. + { + UNITTEST::TestAllTypes message1; + // NOLINTNEXTLINE(performance-unnecessary-copy-initialization) + UNITTEST::TestAllTypes message2(message1); + + EXPECT_FALSE(message1.has_optional_string()); + EXPECT_FALSE(message2.has_optional_string()); + EXPECT_EQ(message1.optional_string(), message2.optional_string()); + + EXPECT_FALSE(message1.has_optional_bytes()); + EXPECT_FALSE(message2.has_optional_bytes()); + EXPECT_EQ(message1.optional_bytes(), message2.optional_bytes()); + + EXPECT_FALSE(message1.has_optional_nested_message()); + EXPECT_FALSE(message2.has_optional_nested_message()); + EXPECT_EQ(&message1.optional_nested_message(), + &message2.optional_nested_message()); + + EXPECT_FALSE(message1.has_optional_foreign_message()); + EXPECT_FALSE(message2.has_optional_foreign_message()); + EXPECT_EQ(&message1.optional_foreign_message(), + &message2.optional_foreign_message()); + + EXPECT_FALSE(message1.has_optional_import_message()); + EXPECT_FALSE(message2.has_optional_import_message()); + EXPECT_EQ(&message1.optional_import_message(), + &message2.optional_import_message()); + + EXPECT_FALSE(message1.has_optional_public_import_message()); + EXPECT_FALSE(message2.has_optional_public_import_message()); + EXPECT_EQ(&message1.optional_public_import_message(), + &message2.optional_public_import_message()); + + EXPECT_FALSE(message1.has_optional_lazy_message()); + EXPECT_FALSE(message2.has_optional_lazy_message()); + EXPECT_EQ(&message1.optional_lazy_message(), + &message2.optional_lazy_message()); + } +} + +TEST(GENERATED_MESSAGE_TEST_NAME, CopyConstructorWithArenas) { + Arena arena; + UNITTEST::TestAllTypes* message1 = + Arena::CreateMessage(&arena); + TestUtil::SetAllFields(message1); + + UNITTEST::TestAllTypes message2_stack(*message1); + TestUtil::ExpectAllFieldsSet(message2_stack); + + std::unique_ptr message2_heap( + new UNITTEST::TestAllTypes(*message1)); + TestUtil::ExpectAllFieldsSet(*message2_heap); + + arena.Reset(); + + // Verify that the copies are still intact. + TestUtil::ExpectAllFieldsSet(message2_stack); + TestUtil::ExpectAllFieldsSet(*message2_heap); +} + +#ifndef PROTOBUF_TEST_NO_DESCRIPTORS +TEST(GENERATED_MESSAGE_TEST_NAME, UpcastCopyFrom) { + // Test the CopyFrom method that takes in the generic const Message& + // parameter. + UNITTEST::TestAllTypes message1, message2; + + TestUtil::SetAllFields(&message1); + + const Message* source = implicit_cast(&message1); + message2.CopyFrom(*source); + + TestUtil::ExpectAllFieldsSet(message2); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, DynamicMessageCopyFrom) { + // Test copying from a DynamicMessage, which must fall back to using + // reflection. + UNITTEST::TestAllTypes message2; + + // Construct a new version of the dynamic message via the factory. + DynamicMessageFactory factory; + std::unique_ptr message1; + message1.reset(factory.GetPrototype( + UNITTEST::TestAllTypes::descriptor())->New()); + + TestUtil::ReflectionTester reflection_tester( + UNITTEST::TestAllTypes::descriptor()); + reflection_tester.SetAllFieldsViaReflection(message1.get()); + + message2.CopyFrom(*message1); + + TestUtil::ExpectAllFieldsSet(message2); +} + +#endif // !PROTOBUF_TEST_NO_DESCRIPTORS + +TEST(GENERATED_MESSAGE_TEST_NAME, NonEmptyMergeFrom) { + // Test merging with a non-empty message. Code is a modified form + // of that found in net/proto2/internal/reflection_ops_unittest.cc. + UNITTEST::TestAllTypes message1, message2; + + TestUtil::SetAllFields(&message1); + + // This field will test merging into an empty spot. + message2.set_optional_int32(message1.optional_int32()); + message1.clear_optional_int32(); + + // This tests overwriting. + message2.set_optional_string(message1.optional_string()); + message1.set_optional_string("something else"); + + // This tests concatenating. + message2.add_repeated_int32(message1.repeated_int32(1)); + int32_t i = message1.repeated_int32(0); + message1.clear_repeated_int32(); + message1.add_repeated_int32(i); + + message1.MergeFrom(message2); + + TestUtil::ExpectAllFieldsSet(message1); +} + + +// Test the generated SerializeWithCachedSizesToArray(), +TEST(GENERATED_MESSAGE_TEST_NAME, SerializationToArray) { + UNITTEST::TestAllTypes message1, message2; + std::string data; + TestUtil::SetAllFields(&message1); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + TestUtil::ExpectAllFieldsSet(message2); + +} + +TEST(GENERATED_MESSAGE_TEST_NAME, PackedFieldsSerializationToArray) { + UNITTEST::TestPackedTypes packed_message1, packed_message2; + std::string packed_data; + TestUtil::SetPackedFields(&packed_message1); + int packed_size = packed_message1.ByteSizeLong(); + packed_data.resize(packed_size); + uint8_t* start = + reinterpret_cast(::google::protobuf::string_as_array(&packed_data)); + uint8_t* end = packed_message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(packed_size, end - start); + EXPECT_TRUE(packed_message2.ParseFromString(packed_data)); + TestUtil::ExpectPackedFieldsSet(packed_message2); +} + +// Test the generated SerializeWithCachedSizes() by forcing the buffer to write +// one byte at a time. +TEST(GENERATED_MESSAGE_TEST_NAME, SerializationToStream) { + UNITTEST::TestAllTypes message1, message2; + TestUtil::SetAllFields(&message1); + int size = message1.ByteSizeLong(); + std::string data; + data.resize(size); + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + EXPECT_TRUE(message2.ParseFromString(data)); + TestUtil::ExpectAllFieldsSet(message2); + +} + +TEST(GENERATED_MESSAGE_TEST_NAME, PackedFieldsSerializationToStream) { + UNITTEST::TestPackedTypes message1, message2; + TestUtil::SetPackedFields(&message1); + int size = message1.ByteSizeLong(); + std::string data; + data.resize(size); + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + EXPECT_TRUE(message2.ParseFromString(data)); + TestUtil::ExpectPackedFieldsSet(message2); +} + + +TEST(GENERATED_MESSAGE_TEST_NAME, Required) { + // Test that IsInitialized() returns false if required fields are missing. + UNITTEST::TestRequired message; + + EXPECT_FALSE(message.IsInitialized()); + message.set_a(1); + EXPECT_FALSE(message.IsInitialized()); + message.set_b(2); + EXPECT_FALSE(message.IsInitialized()); + message.set_c(3); + EXPECT_TRUE(message.IsInitialized()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, RequiredForeign) { + // Test that IsInitialized() returns false if required fields in nested + // messages are missing. + UNITTEST::TestRequiredForeign message; + + EXPECT_TRUE(message.IsInitialized()); + + message.mutable_optional_message(); + EXPECT_FALSE(message.IsInitialized()); + + message.mutable_optional_message()->set_a(1); + message.mutable_optional_message()->set_b(2); + message.mutable_optional_message()->set_c(3); + EXPECT_TRUE(message.IsInitialized()); + + message.add_repeated_message(); + EXPECT_FALSE(message.IsInitialized()); + + message.mutable_repeated_message(0)->set_a(1); + message.mutable_repeated_message(0)->set_b(2); + message.mutable_repeated_message(0)->set_c(3); + EXPECT_TRUE(message.IsInitialized()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ForeignNested) { + // Test that TestAllTypes::NestedMessage can be embedded directly into + // another message. + UNITTEST::TestForeignNested message; + + // If this compiles and runs without crashing, it must work. We have + // nothing more to test. + UNITTEST::TestAllTypes::NestedMessage* nested = + message.mutable_foreign_nested(); + nested->set_bb(1); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ReallyLargeTagNumber) { + // Test that really large tag numbers don't break anything. + UNITTEST::TestReallyLargeTagNumber message1, message2; + std::string data; + + // For the most part, if this compiles and runs then we're probably good. + // (The most likely cause for failure would be if something were attempting + // to allocate a lookup table of some sort using tag numbers as the index.) + // We'll try serializing just for fun. + message1.set_a(1234); + message1.set_bb(5678); + message1.SerializeToString(&data); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(1234, message2.a()); + EXPECT_EQ(5678, message2.bb()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, MutualRecursion) { + // Test that mutually-recursive message types work. + UNITTEST::TestMutualRecursionA message; + UNITTEST::TestMutualRecursionA* nested = message.mutable_bb()->mutable_a(); + UNITTEST::TestMutualRecursionA* nested2 = nested->mutable_bb()->mutable_a(); + + // Again, if the above compiles and runs, that's all we really have to + // test, but just for run we'll check that the system didn't somehow come + // up with a pointer loop... + EXPECT_NE(&message, nested); + EXPECT_NE(&message, nested2); + EXPECT_NE(nested, nested2); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, CamelCaseFieldNames) { + // This test is mainly checking that the following compiles, which verifies + // that the field names were coerced to lower-case. + // + // Protocol buffers standard style is to use lowercase-with-underscores for + // field names. Some old proto1 .protos unfortunately used camel-case field + // names. In proto1, these names were forced to lower-case. So, we do the + // same thing in proto2. + + UNITTEST::TestCamelCaseFieldNames message; + + message.set_primitivefield(2); + message.set_stringfield("foo"); + message.set_enumfield(UNITTEST::FOREIGN_FOO); + message.mutable_messagefield()->set_c(6); + + message.add_repeatedprimitivefield(8); + message.add_repeatedstringfield("moo"); + message.add_repeatedenumfield(UNITTEST::FOREIGN_BAR); + message.add_repeatedmessagefield()->set_c(15); + + EXPECT_EQ(2, message.primitivefield()); + EXPECT_EQ("foo", message.stringfield()); + EXPECT_EQ(UNITTEST::FOREIGN_FOO, message.enumfield()); + EXPECT_EQ(6, message.messagefield().c()); + + EXPECT_EQ(8, message.repeatedprimitivefield(0)); + EXPECT_EQ("moo", message.repeatedstringfield(0)); + EXPECT_EQ(UNITTEST::FOREIGN_BAR, message.repeatedenumfield(0)); + EXPECT_EQ(15, message.repeatedmessagefield(0).c()); +} + +#ifndef PROTOBUF_TEST_NO_DESCRIPTORS + +TEST(GENERATED_MESSAGE_TEST_NAME, TestOptimizedForSize) { + // We rely on the tests in reflection_ops_unittest and wire_format_unittest + // to really test that reflection-based methods work. Here we are mostly + // just making sure that TestOptimizedForSize actually builds and seems to + // function. + + UNITTEST::TestOptimizedForSize message, message2; + message.set_i(1); + message.mutable_msg()->set_c(2); + message2.CopyFrom(message); + EXPECT_EQ(1, message2.i()); + EXPECT_EQ(2, message2.msg().c()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, TestEmbedOptimizedForSize) { + // Verifies that something optimized for speed can contain something optimized + // for size. + + UNITTEST::TestEmbedOptimizedForSize message, message2; + message.mutable_optional_message()->set_i(1); + message.add_repeated_message()->mutable_msg()->set_c(2); + std::string data; + message.SerializeToString(&data); + ASSERT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(1, message2.optional_message().i()); + EXPECT_EQ(2, message2.repeated_message(0).msg().c()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, TestSpaceUsed) { + // Allocate explicitly on the heap to prevent arena creation. + std::unique_ptr message1( + Arena::CreateMessage(nullptr)); + // sizeof provides a lower bound on SpaceUsedLong(). + EXPECT_LE(sizeof(UNITTEST::TestAllTypes), message1->SpaceUsedLong()); + const size_t empty_message_size = message1->SpaceUsedLong(); + + // Setting primitive types shouldn't affect the space used. + message1->set_optional_int32(123); + message1->set_optional_int64(12345); + message1->set_optional_uint32(123); + message1->set_optional_uint64(12345); + EXPECT_EQ(empty_message_size, message1->SpaceUsedLong()); + + // On some STL implementations, setting the string to a small value should + // only increase SpaceUsedLong() by the size of a string object, though this + // is not true everywhere. + message1->set_optional_string("abc"); + EXPECT_LE(empty_message_size + message1->optional_string().size(), + message1->SpaceUsedLong()); + + // Setting a string to a value larger than the string object itself should + // increase SpaceUsedLong(), because it cannot store the value internally. + message1->set_optional_string(std::string(sizeof(std::string) + 1, 'x')); + int min_expected_increase = message1->optional_string().capacity(); + EXPECT_LE(empty_message_size + min_expected_increase, + message1->SpaceUsedLong()); + + size_t previous_size = message1->SpaceUsedLong(); + // Adding an optional message should increase the size by the size of the + // nested message type. NestedMessage is simple enough (1 int field) that it + // is equal to sizeof(NestedMessage) + message1->mutable_optional_nested_message(); + ASSERT_EQ(sizeof(UNITTEST::TestAllTypes::NestedMessage), + message1->optional_nested_message().SpaceUsedLong()); + EXPECT_EQ(previous_size + + sizeof(UNITTEST::TestAllTypes::NestedMessage), + message1->SpaceUsedLong()); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, TestOneofSpaceUsed) { + // Allocate explicitly on the heap to prevent arena creation. + std::unique_ptr message1( + Arena::CreateMessage(nullptr)); + EXPECT_LE(sizeof(UNITTEST::TestOneof2), message1->SpaceUsedLong()); + + const size_t empty_message_size = message1->SpaceUsedLong(); + // Setting primitive types shouldn't affect the space used. + message1->set_foo_int(123); + message1->set_bar_int(12345); + EXPECT_EQ(empty_message_size, message1->SpaceUsedLong()); + + // Setting a string in oneof to a small value should only increase + // SpaceUsedLong() by the size of a string object. + message1->set_foo_string("abc"); + EXPECT_LE(empty_message_size + sizeof(std::string), message1->SpaceUsedLong()); + + // Setting a string in oneof to a value larger than the string object itself + // should increase SpaceUsedLong(), because it cannot store the value + // internally. + message1->set_foo_string(std::string(sizeof(std::string) + 1, 'x')); + int min_expected_increase = + message1->foo_string().capacity() + sizeof(std::string); + EXPECT_LE(empty_message_size + min_expected_increase, + message1->SpaceUsedLong()); + + // Setting a message in oneof should delete the other fields and increase the + // size by the size of the nested message type. NestedMessage is simple enough + // that it is equal to sizeof(NestedMessage). It may be backed by LazyField, + // increasing space used by LazyField and backing Cord. + message1->mutable_foo_message(); + ASSERT_EQ(sizeof(UNITTEST::TestOneof2::NestedMessage), + message1->foo_message().SpaceUsedLong()); + EXPECT_LE(empty_message_size + sizeof(UNITTEST::TestOneof2::NestedMessage), + message1->SpaceUsedLong()); +} + +#endif // !PROTOBUF_TEST_NO_DESCRIPTORS + +TEST(GENERATED_MESSAGE_TEST_NAME, FieldConstantValues) { + UNITTEST::TestRequired message; + EXPECT_EQ(UNITTEST::TestAllTypes_NestedMessage::kBbFieldNumber, 1); + EXPECT_EQ(UNITTEST::TestAllTypes::kOptionalInt32FieldNumber, 1); + EXPECT_EQ(UNITTEST::TestAllTypes::kOptionalgroupFieldNumber, 16); + EXPECT_EQ(UNITTEST::TestAllTypes::kOptionalNestedMessageFieldNumber, 18); + EXPECT_EQ(UNITTEST::TestAllTypes::kOptionalNestedEnumFieldNumber, 21); + EXPECT_EQ(UNITTEST::TestAllTypes::kRepeatedInt32FieldNumber, 31); + EXPECT_EQ(UNITTEST::TestAllTypes::kRepeatedgroupFieldNumber, 46); + EXPECT_EQ(UNITTEST::TestAllTypes::kRepeatedNestedMessageFieldNumber, 48); + EXPECT_EQ(UNITTEST::TestAllTypes::kRepeatedNestedEnumFieldNumber, 51); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ExtensionConstantValues) { + EXPECT_EQ(UNITTEST::TestRequired::kSingleFieldNumber, 1000); + EXPECT_EQ(UNITTEST::TestRequired::kMultiFieldNumber, 1001); + EXPECT_EQ(UNITTEST::kOptionalInt32ExtensionFieldNumber, 1); + EXPECT_EQ(UNITTEST::kOptionalgroupExtensionFieldNumber, 16); + EXPECT_EQ(UNITTEST::kOptionalNestedMessageExtensionFieldNumber, 18); + EXPECT_EQ(UNITTEST::kOptionalNestedEnumExtensionFieldNumber, 21); + EXPECT_EQ(UNITTEST::kRepeatedInt32ExtensionFieldNumber, 31); + EXPECT_EQ(UNITTEST::kRepeatedgroupExtensionFieldNumber, 46); + EXPECT_EQ(UNITTEST::kRepeatedNestedMessageExtensionFieldNumber, 48); + EXPECT_EQ(UNITTEST::kRepeatedNestedEnumExtensionFieldNumber, 51); +} + +TEST(GENERATED_MESSAGE_TEST_NAME, ParseFromTruncated) { + const std::string long_string = std::string(128, 'q'); + FileDescriptorProto p; + p.add_extension()->set_name(long_string); + const std::string msg = p.SerializeAsString(); + int successful_count = 0; + for (int i = 0; i <= msg.size(); i++) { + if (p.ParseFromArray(msg.c_str(), i)) { + ++successful_count; + } + } + // We don't really care about how often we succeeded. + // As long as we didn't crash, we're happy. + EXPECT_GE(successful_count, 1); +} + +// =================================================================== + +TEST(GENERATED_ENUM_TEST_NAME, EnumValuesAsSwitchCases) { + // Test that our nested enum values can be used as switch cases. This test + // doesn't actually do anything, the proof that it works is that it + // compiles. + int i =0; + UNITTEST::TestAllTypes::NestedEnum a = UNITTEST::TestAllTypes::BAR; + switch (a) { + case UNITTEST::TestAllTypes::FOO: + i = 1; + break; + case UNITTEST::TestAllTypes::BAR: + i = 2; + break; + case UNITTEST::TestAllTypes::BAZ: + i = 3; + break; + case UNITTEST::TestAllTypes::NEG: + i = -1; + break; + // no default case: We want to make sure the compiler recognizes that + // all cases are covered. (GCC warns if you do not cover all cases of + // an enum in a switch.) + } + + // Token check just for fun. + EXPECT_EQ(2, i); +} + +TEST(GENERATED_ENUM_TEST_NAME, IsValidValue) { + // Test enum IsValidValue. + EXPECT_TRUE(UNITTEST::TestAllTypes::NestedEnum_IsValid(1)); + EXPECT_TRUE(UNITTEST::TestAllTypes::NestedEnum_IsValid(2)); + EXPECT_TRUE(UNITTEST::TestAllTypes::NestedEnum_IsValid(3)); + + EXPECT_FALSE(UNITTEST::TestAllTypes::NestedEnum_IsValid(0)); + EXPECT_FALSE(UNITTEST::TestAllTypes::NestedEnum_IsValid(4)); + + // Make sure it also works when there are dups. + EXPECT_TRUE(UNITTEST::TestEnumWithDupValue_IsValid(1)); + EXPECT_TRUE(UNITTEST::TestEnumWithDupValue_IsValid(2)); + EXPECT_TRUE(UNITTEST::TestEnumWithDupValue_IsValid(3)); + + EXPECT_FALSE(UNITTEST::TestEnumWithDupValue_IsValid(0)); + EXPECT_FALSE(UNITTEST::TestEnumWithDupValue_IsValid(4)); +} + +TEST(GENERATED_ENUM_TEST_NAME, MinAndMax) { + EXPECT_EQ(UNITTEST::TestAllTypes::NEG, + UNITTEST::TestAllTypes::NestedEnum_MIN); + EXPECT_EQ(UNITTEST::TestAllTypes::BAZ, + UNITTEST::TestAllTypes::NestedEnum_MAX); + EXPECT_EQ(4, UNITTEST::TestAllTypes::NestedEnum_ARRAYSIZE); + + EXPECT_EQ(UNITTEST::FOREIGN_FOO, UNITTEST::ForeignEnum_MIN); + EXPECT_EQ(UNITTEST::FOREIGN_BAZ, UNITTEST::ForeignEnum_MAX); + EXPECT_EQ(7, UNITTEST::ForeignEnum_ARRAYSIZE); + + EXPECT_EQ(1, UNITTEST::TestEnumWithDupValue_MIN); + EXPECT_EQ(3, UNITTEST::TestEnumWithDupValue_MAX); + EXPECT_EQ(4, UNITTEST::TestEnumWithDupValue_ARRAYSIZE); + + EXPECT_EQ(UNITTEST::SPARSE_E, UNITTEST::TestSparseEnum_MIN); + EXPECT_EQ(UNITTEST::SPARSE_C, UNITTEST::TestSparseEnum_MAX); + EXPECT_EQ(12589235, UNITTEST::TestSparseEnum_ARRAYSIZE); + + // Make sure we can take the address of _MIN, _MAX and _ARRAYSIZE. + EXPECT_NE(nullptr, &UNITTEST::TestAllTypes::NestedEnum_MIN); + EXPECT_NE(nullptr, &UNITTEST::TestAllTypes::NestedEnum_MAX); + EXPECT_NE(nullptr, &UNITTEST::TestAllTypes::NestedEnum_ARRAYSIZE); + + EXPECT_NE(nullptr, &UNITTEST::ForeignEnum_MIN); + EXPECT_NE(nullptr, &UNITTEST::ForeignEnum_MAX); + EXPECT_NE(nullptr, &UNITTEST::ForeignEnum_ARRAYSIZE); + + // Make sure we can use _MIN and _MAX as switch cases. + switch (UNITTEST::SPARSE_A) { + case UNITTEST::TestSparseEnum_MIN: + case UNITTEST::TestSparseEnum_MAX: + break; + default: + break; + } +} + +#ifndef PROTOBUF_TEST_NO_DESCRIPTORS + +TEST(GENERATED_ENUM_TEST_NAME, Name) { + // "Names" in the presence of dup values map to the first alias. + EXPECT_EQ("FOO1", UNITTEST::TestEnumWithDupValue_Name(UNITTEST::FOO1)); + EXPECT_EQ("FOO1", UNITTEST::TestEnumWithDupValue_Name(UNITTEST::FOO2)); + + EXPECT_EQ("SPARSE_A", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_A)); + EXPECT_EQ("SPARSE_B", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_B)); + EXPECT_EQ("SPARSE_C", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_C)); + EXPECT_EQ("SPARSE_D", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_D)); + EXPECT_EQ("SPARSE_E", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_E)); + EXPECT_EQ("SPARSE_F", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_F)); + EXPECT_EQ("SPARSE_G", UNITTEST::TestSparseEnum_Name(UNITTEST::SPARSE_G)); +} + +TEST(GENERATED_ENUM_TEST_NAME, Parse) { + UNITTEST::TestEnumWithDupValue dup_value = UNITTEST::FOO1; + EXPECT_TRUE(UNITTEST::TestEnumWithDupValue_Parse("FOO1", &dup_value)); + EXPECT_EQ(UNITTEST::FOO1, dup_value); + EXPECT_TRUE(UNITTEST::TestEnumWithDupValue_Parse("FOO2", &dup_value)); + EXPECT_EQ(UNITTEST::FOO2, dup_value); + EXPECT_FALSE(UNITTEST::TestEnumWithDupValue_Parse("FOO", &dup_value)); +} + +TEST(GENERATED_ENUM_TEST_NAME, GetEnumDescriptor) { + EXPECT_EQ(UNITTEST::TestAllTypes::NestedEnum_descriptor(), + GetEnumDescriptor()); + EXPECT_EQ(UNITTEST::ForeignEnum_descriptor(), + GetEnumDescriptor()); + EXPECT_EQ(UNITTEST::TestEnumWithDupValue_descriptor(), + GetEnumDescriptor()); + EXPECT_EQ(UNITTEST::TestSparseEnum_descriptor(), + GetEnumDescriptor()); +} + +enum NonProtoEnum { + kFoo = 1, +}; + +TEST(GENERATED_ENUM_TEST_NAME, IsProtoEnumTypeTrait) { + EXPECT_TRUE(is_proto_enum::value); + EXPECT_TRUE(is_proto_enum::value); + EXPECT_TRUE(is_proto_enum::value); + EXPECT_TRUE(is_proto_enum::value); + + EXPECT_FALSE(is_proto_enum::value); + EXPECT_FALSE(is_proto_enum::value); +} + +#endif // PROTOBUF_TEST_NO_DESCRIPTORS + +// =================================================================== + +#ifndef PROTOBUF_TEST_NO_DESCRIPTORS + +// Support code for testing services. +class GENERATED_SERVICE_TEST_NAME : public testing::Test { + protected: + class MockTestService : public UNITTEST::TestService { + public: + MockTestService() + : called_(false), + method_(""), + controller_(nullptr), + request_(nullptr), + response_(nullptr), + done_(nullptr) {} + + ~MockTestService() override {} + + void Reset() { called_ = false; } + + // implements TestService ---------------------------------------- + + void Foo(RpcController* controller, const UNITTEST::FooRequest* request, + UNITTEST::FooResponse* response, Closure* done) override { + ASSERT_FALSE(called_); + called_ = true; + method_ = "Foo"; + controller_ = controller; + request_ = request; + response_ = response; + done_ = done; + } + + void Bar(RpcController* controller, const UNITTEST::BarRequest* request, + UNITTEST::BarResponse* response, Closure* done) override { + ASSERT_FALSE(called_); + called_ = true; + method_ = "Bar"; + controller_ = controller; + request_ = request; + response_ = response; + done_ = done; + } + + // --------------------------------------------------------------- + + bool called_; + std::string method_; + RpcController* controller_; + const Message* request_; + Message* response_; + Closure* done_; + }; + + class MockRpcChannel : public RpcChannel { + public: + MockRpcChannel() + : called_(false), + method_(nullptr), + controller_(nullptr), + request_(nullptr), + response_(nullptr), + done_(nullptr), + destroyed_(nullptr) {} + + ~MockRpcChannel() override { + if (destroyed_ != nullptr) *destroyed_ = true; + } + + void Reset() { called_ = false; } + + // implements TestService ---------------------------------------- + + void CallMethod(const MethodDescriptor* method, RpcController* controller, + const Message* request, Message* response, + Closure* done) override { + ASSERT_FALSE(called_); + called_ = true; + method_ = method; + controller_ = controller; + request_ = request; + response_ = response; + done_ = done; + } + + // --------------------------------------------------------------- + + bool called_; + const MethodDescriptor* method_; + RpcController* controller_; + const Message* request_; + Message* response_; + Closure* done_; + bool* destroyed_; + }; + + class MockController : public RpcController { + public: + void Reset() override { + ADD_FAILURE() << "Reset() not expected during this test."; + } + bool Failed() const override { + ADD_FAILURE() << "Failed() not expected during this test."; + return false; + } + std::string ErrorText() const override { + ADD_FAILURE() << "ErrorText() not expected during this test."; + return ""; + } + void StartCancel() override { + ADD_FAILURE() << "StartCancel() not expected during this test."; + } + void SetFailed(const std::string& reason) override { + ADD_FAILURE() << "SetFailed() not expected during this test."; + } + bool IsCanceled() const override { + ADD_FAILURE() << "IsCanceled() not expected during this test."; + return false; + } + void NotifyOnCancel(Closure* callback) override { + ADD_FAILURE() << "NotifyOnCancel() not expected during this test."; + } + }; + + GENERATED_SERVICE_TEST_NAME() + : descriptor_(UNITTEST::TestService::descriptor()), + foo_(descriptor_->FindMethodByName("Foo")), + bar_(descriptor_->FindMethodByName("Bar")), + stub_(&mock_channel_), + done_(::google::protobuf::NewPermanentCallback(&DoNothing)) {} + + void SetUp() override { + ASSERT_TRUE(foo_ != nullptr); + ASSERT_TRUE(bar_ != nullptr); + } + + const ServiceDescriptor* descriptor_; + const MethodDescriptor* foo_; + const MethodDescriptor* bar_; + + MockTestService mock_service_; + MockController mock_controller_; + + MockRpcChannel mock_channel_; + UNITTEST::TestService::Stub stub_; + + // Just so we don't have to re-define these with every test. + UNITTEST::FooRequest foo_request_; + UNITTEST::FooResponse foo_response_; + UNITTEST::BarRequest bar_request_; + UNITTEST::BarResponse bar_response_; + std::unique_ptr done_; +}; + +TEST_F(GENERATED_SERVICE_TEST_NAME, GetDescriptor) { + // Test that GetDescriptor() works. + + EXPECT_EQ(descriptor_, mock_service_.GetDescriptor()); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, GetChannel) { + EXPECT_EQ(&mock_channel_, stub_.channel()); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, OwnsChannel) { + MockRpcChannel* channel = new MockRpcChannel; + bool destroyed = false; + channel->destroyed_ = &destroyed; + + { + UNITTEST::TestService::Stub owning_stub(channel, + Service::STUB_OWNS_CHANNEL); + EXPECT_FALSE(destroyed); + } + + EXPECT_TRUE(destroyed); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, CallMethod) { + // Test that CallMethod() works. + + // Call Foo() via CallMethod(). + mock_service_.CallMethod(foo_, &mock_controller_, + &foo_request_, &foo_response_, done_.get()); + + ASSERT_TRUE(mock_service_.called_); + + EXPECT_EQ("Foo" , mock_service_.method_ ); + EXPECT_EQ(&mock_controller_, mock_service_.controller_); + EXPECT_EQ(&foo_request_ , mock_service_.request_ ); + EXPECT_EQ(&foo_response_ , mock_service_.response_ ); + EXPECT_EQ(done_.get() , mock_service_.done_ ); + + // Try again, but call Bar() instead. + mock_service_.Reset(); + mock_service_.CallMethod(bar_, &mock_controller_, + &bar_request_, &bar_response_, done_.get()); + + ASSERT_TRUE(mock_service_.called_); + EXPECT_EQ("Bar", mock_service_.method_); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, CallMethodTypeFailure) { + // Verify death if we call Foo() with Bar's message types. + +#ifdef PROTOBUF_HAS_DEATH_TEST // death tests do not work on Windows yet + EXPECT_DEBUG_DEATH( + mock_service_.CallMethod(foo_, &mock_controller_, + &foo_request_, &bar_response_, done_.get()), + "dynamic_cast"); + + mock_service_.Reset(); + EXPECT_DEBUG_DEATH( + mock_service_.CallMethod(foo_, &mock_controller_, + &bar_request_, &foo_response_, done_.get()), + "dynamic_cast"); +#endif // PROTOBUF_HAS_DEATH_TEST +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, GetPrototypes) { + // Test Get{Request,Response}Prototype() methods. + + EXPECT_EQ(&UNITTEST::FooRequest::default_instance(), + &mock_service_.GetRequestPrototype(foo_)); + EXPECT_EQ(&UNITTEST::BarRequest::default_instance(), + &mock_service_.GetRequestPrototype(bar_)); + + EXPECT_EQ(&UNITTEST::FooResponse::default_instance(), + &mock_service_.GetResponsePrototype(foo_)); + EXPECT_EQ(&UNITTEST::BarResponse::default_instance(), + &mock_service_.GetResponsePrototype(bar_)); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, Stub) { + // Test that the stub class works. + + // Call Foo() via the stub. + stub_.Foo(&mock_controller_, &foo_request_, &foo_response_, done_.get()); + + ASSERT_TRUE(mock_channel_.called_); + + EXPECT_EQ(foo_ , mock_channel_.method_ ); + EXPECT_EQ(&mock_controller_, mock_channel_.controller_); + EXPECT_EQ(&foo_request_ , mock_channel_.request_ ); + EXPECT_EQ(&foo_response_ , mock_channel_.response_ ); + EXPECT_EQ(done_.get() , mock_channel_.done_ ); + + // Call Bar() via the stub. + mock_channel_.Reset(); + stub_.Bar(&mock_controller_, &bar_request_, &bar_response_, done_.get()); + + ASSERT_TRUE(mock_channel_.called_); + EXPECT_EQ(bar_, mock_channel_.method_); +} + +TEST_F(GENERATED_SERVICE_TEST_NAME, NotImplemented) { + // Test that failing to implement a method of a service causes it to fail + // with a "not implemented" error message. + + // A service which doesn't implement any methods. + class UnimplementedService : public UNITTEST::TestService { + public: + UnimplementedService() {} + }; + + UnimplementedService unimplemented_service; + + // And a controller which expects to get a "not implemented" error. + class ExpectUnimplementedController : public MockController { + public: + ExpectUnimplementedController() : called_(false) {} + + void SetFailed(const std::string& reason) override { + EXPECT_FALSE(called_); + called_ = true; + EXPECT_EQ("Method Foo() not implemented.", reason); + } + + bool called_; + }; + + ExpectUnimplementedController controller; + + // Call Foo. + unimplemented_service.Foo(&controller, &foo_request_, &foo_response_, + done_.get()); + + EXPECT_TRUE(controller.called_); +} + +// =================================================================== + +class OneofTest : public testing::Test { + protected: + void SetUp() override {} + + void ExpectEnumCasesWork(const UNITTEST::TestOneof2 &message) { + switch (message.foo_case()) { + case UNITTEST::TestOneof2::kFooInt: + EXPECT_TRUE(message.has_foo_int()); + break; + case UNITTEST::TestOneof2::kFooString: + EXPECT_TRUE(message.has_foo_string()); + break; + case UNITTEST::TestOneof2::kFooCord: + EXPECT_TRUE(message.has_foo_cord()); + break; + case UNITTEST::TestOneof2::kFooStringPiece: + EXPECT_TRUE(message.has_foo_string_piece()); + break; + case UNITTEST::TestOneof2::kFooBytes: + EXPECT_TRUE(message.has_foo_bytes()); + break; + case UNITTEST::TestOneof2::kFooEnum: + EXPECT_TRUE(message.has_foo_enum()); + break; + case UNITTEST::TestOneof2::kFooMessage: + EXPECT_TRUE(message.has_foo_message()); + break; + case UNITTEST::TestOneof2::kFoogroup: + EXPECT_TRUE(message.has_foogroup()); + break; + case UNITTEST::TestOneof2::kFooLazyMessage: + EXPECT_TRUE(message.has_foo_lazy_message()); + break; + case UNITTEST::TestOneof2::FOO_NOT_SET: + break; + } + } +}; + +TEST_F(OneofTest, SettingOneFieldClearsOthers) { + UNITTEST::TestOneof2 message; + + message.set_foo_int(123); + EXPECT_TRUE(message.has_foo_int()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + message.set_foo_string("foo"); + EXPECT_TRUE(message.has_foo_string()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + + message.set_foo_bytes("moo"); + EXPECT_TRUE(message.has_foo_bytes()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + message.set_foo_enum(UNITTEST::TestOneof2::FOO); + EXPECT_TRUE(message.has_foo_enum()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + message.mutable_foo_message()->set_moo_int(234); + EXPECT_TRUE(message.has_foo_message()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + message.mutable_foogroup()->set_a(345); + EXPECT_TRUE(message.has_foogroup()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); + + + // we repeat this because we didn't test if this properly clears other fields + // at the beginning. + message.set_foo_int(123); + EXPECT_TRUE(message.has_foo_int()); + TestUtil::ExpectAtMostOneFieldSetInOneof(message); +} + +TEST_F(OneofTest, EnumCases) { + UNITTEST::TestOneof2 message; + + message.set_foo_int(123); + ExpectEnumCasesWork(message); + message.set_foo_string("foo"); + ExpectEnumCasesWork(message); + message.set_foo_bytes("moo"); + ExpectEnumCasesWork(message); + message.set_foo_enum(UNITTEST::TestOneof2::FOO); + ExpectEnumCasesWork(message); + message.mutable_foo_message()->set_moo_int(234); + ExpectEnumCasesWork(message); + message.mutable_foogroup()->set_a(345); + ExpectEnumCasesWork(message); +} + +TEST_F(OneofTest, PrimitiveType) { + UNITTEST::TestOneof2 message; + // Unset field returns default value + EXPECT_EQ(message.foo_int(), 0); + + message.set_foo_int(123); + EXPECT_TRUE(message.has_foo_int()); + EXPECT_EQ(message.foo_int(), 123); + message.clear_foo_int(); + EXPECT_FALSE(message.has_foo_int()); +} + +TEST_F(OneofTest, EnumType) { + UNITTEST::TestOneof2 message; + // Unset field returns default value + EXPECT_EQ(message.foo_enum(), 1); + + message.set_foo_enum(UNITTEST::TestOneof2::FOO); + EXPECT_TRUE(message.has_foo_enum()); + EXPECT_EQ(message.foo_enum(), UNITTEST::TestOneof2::FOO); + message.clear_foo_enum(); + EXPECT_FALSE(message.has_foo_enum()); +} + +TEST_F(OneofTest, SetString) { + // Check that setting a string field in various ways works + UNITTEST::TestOneof2 message; + + // Unset field returns default value + EXPECT_EQ(message.foo_string(), ""); + + message.set_foo_string("foo"); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "foo"); + message.clear_foo_string(); + EXPECT_FALSE(message.has_foo_string()); + + message.set_foo_string(std::string("bar")); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "bar"); + message.clear_foo_string(); + EXPECT_FALSE(message.has_foo_string()); + + + message.set_foo_string("moo", 3); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "moo"); + message.clear_foo_string(); + EXPECT_FALSE(message.has_foo_string()); + + message.mutable_foo_string()->assign("mooo"); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "mooo"); + message.clear_foo_string(); + EXPECT_FALSE(message.has_foo_string()); + + message.set_foo_string("corge"); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "corge"); + message.clear_foo_string(); + EXPECT_FALSE(message.has_foo_string()); +} + +TEST_F(OneofTest, ReleaseString) { + // Check that release_foo() starts out nullptr, and gives us a value + // that we can delete after it's been set. + UNITTEST::TestOneof2 message; + + EXPECT_EQ(nullptr, message.release_foo_string()); + EXPECT_FALSE(message.has_foo_string()); + + message.set_foo_string("blah"); + EXPECT_TRUE(message.has_foo_string()); + std::unique_ptr str(message.release_foo_string()); + EXPECT_FALSE(message.has_foo_string()); + ASSERT_TRUE(str != nullptr); + EXPECT_EQ("blah", *str); + + EXPECT_EQ(nullptr, message.release_foo_string()); + EXPECT_FALSE(message.has_foo_string()); +} + +TEST_F(OneofTest, SetAllocatedString) { + // Check that set_allocated_foo() works for strings. + UNITTEST::TestOneof2 message; + + EXPECT_FALSE(message.has_foo_string()); + const std::string kHello("hello"); + message.set_foo_string(kHello); + EXPECT_TRUE(message.has_foo_string()); + + message.set_allocated_foo_string(nullptr); + EXPECT_FALSE(message.has_foo_string()); + EXPECT_EQ("", message.foo_string()); + + message.set_allocated_foo_string(new std::string(kHello)); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(kHello, message.foo_string()); +} + +TEST_F(OneofTest, ArenaSetAllocatedString) { + // Check that set_allocated_foo() works for strings. + Arena arena; + UNITTEST::TestOneof2* message = + Arena::CreateMessage(&arena); + + EXPECT_FALSE(message->has_foo_string()); + const std::string kHello("hello"); + message->set_foo_string(kHello); + EXPECT_TRUE(message->has_foo_string()); + + message->set_allocated_foo_string(nullptr); + EXPECT_FALSE(message->has_foo_string()); + EXPECT_EQ("", message->foo_string()); + + message->set_allocated_foo_string(new std::string(kHello)); + EXPECT_TRUE(message->has_foo_string()); + EXPECT_EQ(kHello, message->foo_string()); +} + + +TEST_F(OneofTest, SetMessage) { + // Check that setting a message field works + UNITTEST::TestOneof2 message; + + // Unset field returns default instance + EXPECT_EQ(&message.foo_message(), + &UNITTEST::TestOneof2_NestedMessage::default_instance()); + EXPECT_EQ(message.foo_message().moo_int(), 0); + + message.mutable_foo_message()->set_moo_int(234); + EXPECT_TRUE(message.has_foo_message()); + EXPECT_EQ(message.foo_message().moo_int(), 234); + message.clear_foo_message(); + EXPECT_FALSE(message.has_foo_message()); +} + +TEST_F(OneofTest, ReleaseMessage) { + // Check that release_foo() starts out nullptr, and gives us a value + // that we can delete after it's been set. + UNITTEST::TestOneof2 message; + + EXPECT_EQ(nullptr, message.release_foo_message()); + EXPECT_FALSE(message.has_foo_message()); + + message.mutable_foo_message()->set_moo_int(1); + EXPECT_TRUE(message.has_foo_message()); + std::unique_ptr mes( + message.release_foo_message()); + EXPECT_FALSE(message.has_foo_message()); + ASSERT_TRUE(mes != nullptr); + EXPECT_EQ(1, mes->moo_int()); + + EXPECT_EQ(nullptr, message.release_foo_message()); + EXPECT_FALSE(message.has_foo_message()); +} + +TEST_F(OneofTest, SetAllocatedMessage) { + // Check that set_allocated_foo() works for messages. + UNITTEST::TestOneof2 message; + + EXPECT_FALSE(message.has_foo_message()); + + message.mutable_foo_message()->set_moo_int(1); + EXPECT_TRUE(message.has_foo_message()); + + message.set_allocated_foo_message(nullptr); + EXPECT_FALSE(message.has_foo_message()); + EXPECT_EQ(&message.foo_message(), + &UNITTEST::TestOneof2_NestedMessage::default_instance()); + + message.mutable_foo_message()->set_moo_int(1); + UNITTEST::TestOneof2_NestedMessage* mes = message.release_foo_message(); + ASSERT_TRUE(mes != nullptr); + EXPECT_FALSE(message.has_foo_message()); + + message.set_allocated_foo_message(mes); + EXPECT_TRUE(message.has_foo_message()); + EXPECT_EQ(1, message.foo_message().moo_int()); +} + + +TEST_F(OneofTest, Clear) { + UNITTEST::TestOneof2 message; + + message.set_foo_int(1); + EXPECT_TRUE(message.has_foo_int()); + message.clear_foo_int(); + EXPECT_FALSE(message.has_foo_int()); +} + +TEST_F(OneofTest, Defaults) { + UNITTEST::TestOneof2 message; + + EXPECT_FALSE(message.has_foo_int()); + EXPECT_EQ(message.foo_int(), 0); + + EXPECT_FALSE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), ""); + + + EXPECT_FALSE(message.has_foo_bytes()); + EXPECT_EQ(message.foo_bytes(), ""); + + EXPECT_FALSE(message.has_foo_enum()); + EXPECT_EQ(message.foo_enum(), 1); + + EXPECT_FALSE(message.has_foo_message()); + EXPECT_EQ(message.foo_message().moo_int(), 0); + + EXPECT_FALSE(message.has_foogroup()); + EXPECT_EQ(message.foogroup().a(), 0); + + + EXPECT_FALSE(message.has_bar_int()); + EXPECT_EQ(message.bar_int(), 5); + + EXPECT_FALSE(message.has_bar_string()); + EXPECT_EQ(message.bar_string(), "STRING"); + + + EXPECT_FALSE(message.has_bar_bytes()); + EXPECT_EQ(message.bar_bytes(), "BYTES"); + + EXPECT_FALSE(message.has_bar_enum()); + EXPECT_EQ(message.bar_enum(), 2); +} + +TEST_F(OneofTest, SwapWithEmpty) { + UNITTEST::TestOneof2 message1, message2; + message1.set_foo_string("FOO"); + EXPECT_TRUE(message1.has_foo_string()); + message1.Swap(&message2); + EXPECT_FALSE(message1.has_foo_string()); + EXPECT_TRUE(message2.has_foo_string()); + EXPECT_EQ(message2.foo_string(), "FOO"); +} + +TEST_F(OneofTest, SwapWithSelf) { + UNITTEST::TestOneof2 message; + message.set_foo_string("FOO"); + EXPECT_TRUE(message.has_foo_string()); + message.Swap(&message); + EXPECT_TRUE(message.has_foo_string()); + EXPECT_EQ(message.foo_string(), "FOO"); +} + +TEST_F(OneofTest, SwapBothHasFields) { + UNITTEST::TestOneof2 message1, message2; + + message1.set_foo_string("FOO"); + EXPECT_TRUE(message1.has_foo_string()); + message2.mutable_foo_message()->set_moo_int(1); + EXPECT_TRUE(message2.has_foo_message()); + + message1.Swap(&message2); + EXPECT_FALSE(message1.has_foo_string()); + EXPECT_FALSE(message2.has_foo_message()); + EXPECT_TRUE(message1.has_foo_message()); + EXPECT_EQ(message1.foo_message().moo_int(), 1); + EXPECT_TRUE(message2.has_foo_string()); + EXPECT_EQ(message2.foo_string(), "FOO"); +} + +TEST_F(OneofTest, CopyConstructor) { + UNITTEST::TestOneof2 message1; + message1.set_foo_bytes("FOO"); + + UNITTEST::TestOneof2 message2(message1); + EXPECT_TRUE(message2.has_foo_bytes()); + EXPECT_EQ(message2.foo_bytes(), "FOO"); +} + +TEST_F(OneofTest, CopyFrom) { + UNITTEST::TestOneof2 message1, message2; + message1.set_foo_enum(UNITTEST::TestOneof2::BAR); + EXPECT_TRUE(message1.has_foo_enum()); + + message2.CopyFrom(message1); + EXPECT_TRUE(message2.has_foo_enum()); + EXPECT_EQ(message2.foo_enum(), UNITTEST::TestOneof2::BAR); + + // Copying from self should be a no-op. + message2.CopyFrom(message2); + EXPECT_TRUE(message2.has_foo_enum()); + EXPECT_EQ(message2.foo_enum(), UNITTEST::TestOneof2::BAR); +} + +TEST_F(OneofTest, CopyAssignmentOperator) { + UNITTEST::TestOneof2 message1; + message1.mutable_foo_message()->set_moo_int(123); + EXPECT_TRUE(message1.has_foo_message()); + + UNITTEST::TestOneof2 message2; + message2 = message1; + EXPECT_EQ(message2.foo_message().moo_int(), 123); + + // Make sure that self-assignment does something sane. + message2 = *&message2; // Avoid -Wself-assign. + EXPECT_EQ(message2.foo_message().moo_int(), 123); +} + +TEST_F(OneofTest, UpcastCopyFrom) { + // Test the CopyFrom method that takes in the generic const Message& + // parameter. + UNITTEST::TestOneof2 message1, message2; + message1.mutable_foogroup()->set_a(123); + EXPECT_TRUE(message1.has_foogroup()); + + const Message* source = implicit_cast(&message1); + message2.CopyFrom(*source); + + EXPECT_TRUE(message2.has_foogroup()); + EXPECT_EQ(message2.foogroup().a(), 123); +} + +// Test the generated SerializeWithCachedSizesToArray(), +// This indirectly tests MergePartialFromCodedStream() +// We have to test each field type separately because we cannot set them at the +// same time +TEST_F(OneofTest, SerializationToArray) { + // Primitive type + { + UNITTEST::TestOneof2 message1, message2; +std::string data; +message1.set_foo_int(123); +int size = message1.ByteSizeLong(); +data.resize(size); +uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); +uint8_t* end = message1.SerializeWithCachedSizesToArray(start); +EXPECT_EQ(size, end - start); +EXPECT_TRUE(message2.ParseFromString(data)); +EXPECT_EQ(message2.foo_int(), 123); + } + + // String + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_string("foo"); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_string(), "foo"); + } + + + // Bytes + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_bytes("moo"); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_bytes(), "moo"); + } + + // Enum + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_enum(UNITTEST::TestOneof2::FOO); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_enum(), UNITTEST::TestOneof2::FOO); + } + + // Message + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.mutable_foo_message()->set_moo_int(234); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_message().moo_int(), 234); + } + + // Group + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.mutable_foogroup()->set_a(345); + int size = message1.ByteSizeLong(); + data.resize(size); + uint8_t* start = reinterpret_cast(::google::protobuf::string_as_array(&data)); + uint8_t* end = message1.SerializeWithCachedSizesToArray(start); + EXPECT_EQ(size, end - start); + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foogroup().a(), 345); + } + +} + +// Test the generated SerializeWithCachedSizes() by forcing the buffer to write +// one byte at a time. +// This indirectly tests MergePartialFromCodedStream() +// We have to test each field type separately because we cannot set them at the +// same time +TEST_F(OneofTest, SerializationToStream) { + // Primitive type + { + UNITTEST::TestOneof2 message1, message2; +std::string data; +message1.set_foo_int(123); +int size = message1.ByteSizeLong(); +data.resize(size); + +{ + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); +} + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_int(), 123); + } + + // String + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_string("foo"); + int size = message1.ByteSizeLong(); + data.resize(size); + + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_string(), "foo"); + } + + + // Bytes + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_bytes("moo"); + int size = message1.ByteSizeLong(); + data.resize(size); + + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_bytes(), "moo"); + } + + // Enum + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.set_foo_enum(UNITTEST::TestOneof2::FOO); + int size = message1.ByteSizeLong(); + data.resize(size); + + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_enum(), UNITTEST::TestOneof2::FOO); + } + + // Message + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.mutable_foo_message()->set_moo_int(234); + int size = message1.ByteSizeLong(); + data.resize(size); + + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foo_message().moo_int(), 234); + } + + // Group + { + UNITTEST::TestOneof2 message1, message2; + std::string data; + message1.mutable_foogroup()->set_a(345); + int size = message1.ByteSizeLong(); + data.resize(size); + + { + // Allow the output stream to buffer only one byte at a time. + io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); + io::CodedOutputStream output_stream(&array_stream); + message1.SerializeWithCachedSizes(&output_stream); + EXPECT_FALSE(output_stream.HadError()); + EXPECT_EQ(size, output_stream.ByteCount()); + } + + EXPECT_TRUE(message2.ParseFromString(data)); + EXPECT_EQ(message2.foogroup().a(), 345); + } + +} + +TEST_F(OneofTest, MergeFrom) { + UNITTEST::TestOneof2 message1, message2; + + message1.set_foo_int(123); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foo_int()); + EXPECT_EQ(message2.foo_int(), 123); + + message1.set_foo_string("foo"); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foo_string()); + EXPECT_EQ(message2.foo_string(), "foo"); + + + message1.set_foo_bytes("moo"); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foo_bytes()); + EXPECT_EQ(message2.foo_bytes(), "moo"); + + message1.set_foo_enum(UNITTEST::TestOneof2::FOO); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foo_enum()); + EXPECT_EQ(message2.foo_enum(), UNITTEST::TestOneof2::FOO); + + message1.mutable_foo_message()->set_moo_int(234); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foo_message()); + EXPECT_EQ(message2.foo_message().moo_int(), 234); + + message1.mutable_foogroup()->set_a(345); + message2.MergeFrom(message1); + TestUtil::ExpectAtMostOneFieldSetInOneof(message2); + EXPECT_TRUE(message2.has_foogroup()); + EXPECT_EQ(message2.foogroup().a(), 345); + +} + +TEST(HELPERS_TEST_NAME, TestSCC) { + UNITTEST::TestMutualRecursionA a; + MessageSCCAnalyzer scc_analyzer((Options())); + const SCC* scc = scc_analyzer.GetSCC(a.GetDescriptor()); + std::vector names; + names.reserve(scc->descriptors.size()); + for (int i = 0; i < scc->descriptors.size(); i++) { + names.push_back(scc->descriptors[i]->full_name()); + } + std::string package = a.GetDescriptor()->file()->package(); + ASSERT_EQ(names.size(), 4); + std::sort(names.begin(), names.end()); + EXPECT_EQ(names[0], package + ".TestMutualRecursionA"); + EXPECT_EQ(names[1], package + ".TestMutualRecursionA.SubGroup"); + EXPECT_EQ(names[2], package + ".TestMutualRecursionA.SubMessage"); + EXPECT_EQ(names[3], package + ".TestMutualRecursionB"); + + MessageAnalysis result = scc_analyzer.GetSCCAnalysis(scc); + EXPECT_EQ(result.is_recursive, true); + EXPECT_EQ(result.contains_required, false); + EXPECT_EQ(result.contains_cord, true); // TestAllTypes + EXPECT_EQ(result.contains_extension, false); // TestAllTypes +} + +TEST(HELPERS_TEST_NAME, TestSCCAnalysis) { + { + UNITTEST::TestRecursiveMessage msg; + MessageSCCAnalyzer scc_analyzer((Options())); + const SCC* scc = scc_analyzer.GetSCC(msg.GetDescriptor()); + MessageAnalysis result = scc_analyzer.GetSCCAnalysis(scc); + EXPECT_EQ(result.is_recursive, true); + EXPECT_EQ(result.contains_required, false); + EXPECT_EQ(result.contains_cord, false); + EXPECT_EQ(result.contains_extension, false); + } + { + UNITTEST::TestAllExtensions msg; + MessageSCCAnalyzer scc_analyzer((Options())); + const SCC* scc = scc_analyzer.GetSCC(msg.GetDescriptor()); + MessageAnalysis result = scc_analyzer.GetSCCAnalysis(scc); + EXPECT_EQ(result.is_recursive, false); + EXPECT_EQ(result.contains_required, false); + EXPECT_EQ(result.contains_cord, false); + EXPECT_EQ(result.contains_extension, true); + } + { + UNITTEST::TestRequired msg; + MessageSCCAnalyzer scc_analyzer((Options())); + const SCC* scc = scc_analyzer.GetSCC(msg.GetDescriptor()); + MessageAnalysis result = scc_analyzer.GetSCCAnalysis(scc); + EXPECT_EQ(result.is_recursive, false); + EXPECT_EQ(result.contains_required, true); + EXPECT_EQ(result.contains_cord, false); + EXPECT_EQ(result.contains_extension, false); + } +} + +} // namespace cpp_unittest +} // namespace cpp +} // namespace compiler + +namespace no_generic_services_test { + // Verify that no class called "TestService" was defined in + // unittest_no_generic_services.pb.h by defining a different type by the same + // name. If such a service was generated, this will not compile. + struct TestService { + int i; + }; +} + +namespace compiler { +namespace cpp { +namespace cpp_unittest { + +TEST_F(GENERATED_SERVICE_TEST_NAME, NoGenericServices) { + // Verify that non-services in unittest_no_generic_services.proto were + // generated. + ::protobuf_unittest::no_generic_services_test::TestMessage message; + message.set_a(1); + message.SetExtension( + ::protobuf_unittest::no_generic_services_test::test_extension, 123); + ::protobuf_unittest::no_generic_services_test::TestEnum e = + ::protobuf_unittest::no_generic_services_test::FOO; + EXPECT_EQ(e, 1); + + // Verify that a ServiceDescriptor is generated for the service even if the + // class itself is not. + const FileDescriptor* file = + ::google::protobuf::unittest::no_generic_services_test::TestMessage::descriptor() + ->file(); + + ASSERT_EQ(1, file->service_count()); + EXPECT_EQ("TestService", file->service(0)->name()); + ASSERT_EQ(1, file->service(0)->method_count()); + EXPECT_EQ("Foo", file->service(0)->method(0)->name()); +} + +#endif // !PROTOBUF_TEST_NO_DESCRIPTORS + +// =================================================================== + +// This test must run last. It verifies that descriptors were or were not +// initialized depending on whether PROTOBUF_TEST_NO_DESCRIPTORS was defined. +// When this is defined, we skip all tests which are expected to trigger +// descriptor initialization. This verifies that everything else still works +// if descriptors are not initialized. +TEST(DESCRIPTOR_INIT_TEST_NAME, Initialized) { +#ifdef PROTOBUF_TEST_NO_DESCRIPTORS + bool should_have_descriptors = false; +#else + bool should_have_descriptors = true; +#endif + + EXPECT_EQ(should_have_descriptors, + DescriptorPool::generated_pool()->InternalIsFileLoaded( + TestUtil::MaybeTranslatePath(UNITTEST_PROTO_PATH))); +} + +} // namespace cpp_unittest + +} // namespace cpp +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/importer.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/importer.h new file mode 100644 index 0000000..2fb88b9 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/importer.h @@ -0,0 +1,338 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// This file is the public interface to the .proto file parser. + +#ifndef GOOGLE_PROTOBUF_COMPILER_IMPORTER_H__ +#define GOOGLE_PROTOBUF_COMPILER_IMPORTER_H__ + +#include +#include +#include +#include + +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +namespace io { +class ZeroCopyInputStream; +} + +namespace compiler { + +// Defined in this file. +class Importer; +class MultiFileErrorCollector; +class SourceTree; +class DiskSourceTree; + +// TODO(kenton): Move all SourceTree stuff to a separate file? + +// An implementation of DescriptorDatabase which loads files from a SourceTree +// and parses them. +// +// Note: This class is not thread-safe since it maintains a table of source +// code locations for error reporting. However, when a DescriptorPool wraps +// a DescriptorDatabase, it uses mutex locking to make sure only one method +// of the database is called at a time, even if the DescriptorPool is used +// from multiple threads. Therefore, there is only a problem if you create +// multiple DescriptorPools wrapping the same SourceTreeDescriptorDatabase +// and use them from multiple threads. +// +// Note: This class does not implement FindFileContainingSymbol() or +// FindFileContainingExtension(); these will always return false. +class PROTOBUF_EXPORT SourceTreeDescriptorDatabase : public DescriptorDatabase { + public: + SourceTreeDescriptorDatabase(SourceTree* source_tree); + + // If non-NULL, fallback_database will be checked if a file doesn't exist in + // the specified source_tree. + SourceTreeDescriptorDatabase(SourceTree* source_tree, + DescriptorDatabase* fallback_database); + ~SourceTreeDescriptorDatabase() override; + + // Instructs the SourceTreeDescriptorDatabase to report any parse errors + // to the given MultiFileErrorCollector. This should be called before + // parsing. error_collector must remain valid until either this method + // is called again or the SourceTreeDescriptorDatabase is destroyed. + void RecordErrorsTo(MultiFileErrorCollector* error_collector) { + error_collector_ = error_collector; + } + + // Gets a DescriptorPool::ErrorCollector which records errors to the + // MultiFileErrorCollector specified with RecordErrorsTo(). This collector + // has the ability to determine exact line and column numbers of errors + // from the information given to it by the DescriptorPool. + DescriptorPool::ErrorCollector* GetValidationErrorCollector() { + using_validation_error_collector_ = true; + return &validation_error_collector_; + } + + // implements DescriptorDatabase ----------------------------------- + bool FindFileByName(const std::string& filename, + FileDescriptorProto* output) override; + bool FindFileContainingSymbol(const std::string& symbol_name, + FileDescriptorProto* output) override; + bool FindFileContainingExtension(const std::string& containing_type, + int field_number, + FileDescriptorProto* output) override; + + private: + class SingleFileErrorCollector; + + SourceTree* source_tree_; + DescriptorDatabase* fallback_database_; + MultiFileErrorCollector* error_collector_; + + class PROTOBUF_EXPORT ValidationErrorCollector + : public DescriptorPool::ErrorCollector { + public: + ValidationErrorCollector(SourceTreeDescriptorDatabase* owner); + ~ValidationErrorCollector() override; + + // implements ErrorCollector --------------------------------------- + void AddError(const std::string& filename, const std::string& element_name, + const Message* descriptor, ErrorLocation location, + const std::string& message) override; + + void AddWarning(const std::string& filename, + const std::string& element_name, const Message* descriptor, + ErrorLocation location, + const std::string& message) override; + + private: + SourceTreeDescriptorDatabase* owner_; + }; + friend class ValidationErrorCollector; + + bool using_validation_error_collector_; + SourceLocationTable source_locations_; + ValidationErrorCollector validation_error_collector_; +}; + +// Simple interface for parsing .proto files. This wraps the process +// of opening the file, parsing it with a Parser, recursively parsing all its +// imports, and then cross-linking the results to produce a FileDescriptor. +// +// This is really just a thin wrapper around SourceTreeDescriptorDatabase. +// You may find that SourceTreeDescriptorDatabase is more flexible. +// +// TODO(kenton): I feel like this class is not well-named. +class PROTOBUF_EXPORT Importer { + public: + Importer(SourceTree* source_tree, MultiFileErrorCollector* error_collector); + ~Importer(); + + // Import the given file and build a FileDescriptor representing it. If + // the file is already in the DescriptorPool, the existing FileDescriptor + // will be returned. The FileDescriptor is property of the DescriptorPool, + // and will remain valid until it is destroyed. If any errors occur, they + // will be reported using the error collector and Import() will return NULL. + // + // A particular Importer object will only report errors for a particular + // file once. All future attempts to import the same file will return NULL + // without reporting any errors. The idea is that you might want to import + // a lot of files without seeing the same errors over and over again. If + // you want to see errors for the same files repeatedly, you can use a + // separate Importer object to import each one (but use the same + // DescriptorPool so that they can be cross-linked). + const FileDescriptor* Import(const std::string& filename); + + // The DescriptorPool in which all imported FileDescriptors and their + // contents are stored. + inline const DescriptorPool* pool() const { return &pool_; } + + void AddUnusedImportTrackFile(const std::string& file_name, + bool is_error = false); + void ClearUnusedImportTrackFiles(); + + + private: + SourceTreeDescriptorDatabase database_; + DescriptorPool pool_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Importer); +}; + +// If the importer encounters problems while trying to import the proto files, +// it reports them to a MultiFileErrorCollector. +class PROTOBUF_EXPORT MultiFileErrorCollector { + public: + inline MultiFileErrorCollector() {} + virtual ~MultiFileErrorCollector(); + + // Line and column numbers are zero-based. A line number of -1 indicates + // an error with the entire file (e.g. "not found"). + virtual void AddError(const std::string& filename, int line, int column, + const std::string& message) = 0; + + virtual void AddWarning(const std::string& /* filename */, int /* line */, + int /* column */, const std::string& /* message */) {} + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MultiFileErrorCollector); +}; + +// Abstract interface which represents a directory tree containing proto files. +// Used by the default implementation of Importer to resolve import statements +// Most users will probably want to use the DiskSourceTree implementation, +// below. +class PROTOBUF_EXPORT SourceTree { + public: + inline SourceTree() {} + virtual ~SourceTree(); + + // Open the given file and return a stream that reads it, or NULL if not + // found. The caller takes ownership of the returned object. The filename + // must be a path relative to the root of the source tree and must not + // contain "." or ".." components. + virtual io::ZeroCopyInputStream* Open(const std::string& filename) = 0; + + // If Open() returns NULL, calling this method immediately will return an + // description of the error. + // Subclasses should implement this method and return a meaningful value for + // better error reporting. + // TODO(xiaofeng): change this to a pure virtual function. + virtual std::string GetLastErrorMessage(); + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(SourceTree); +}; + +// An implementation of SourceTree which loads files from locations on disk. +// Multiple mappings can be set up to map locations in the DiskSourceTree to +// locations in the physical filesystem. +class PROTOBUF_EXPORT DiskSourceTree : public SourceTree { + public: + DiskSourceTree(); + ~DiskSourceTree() override; + + // Map a path on disk to a location in the SourceTree. The path may be + // either a file or a directory. If it is a directory, the entire tree + // under it will be mapped to the given virtual location. To map a directory + // to the root of the source tree, pass an empty string for virtual_path. + // + // If multiple mapped paths apply when opening a file, they will be searched + // in order. For example, if you do: + // MapPath("bar", "foo/bar"); + // MapPath("", "baz"); + // and then you do: + // Open("bar/qux"); + // the DiskSourceTree will first try to open foo/bar/qux, then baz/bar/qux, + // returning the first one that opens successfully. + // + // disk_path may be an absolute path or relative to the current directory, + // just like a path you'd pass to open(). + void MapPath(const std::string& virtual_path, const std::string& disk_path); + + // Return type for DiskFileToVirtualFile(). + enum DiskFileToVirtualFileResult { + SUCCESS, + SHADOWED, + CANNOT_OPEN, + NO_MAPPING + }; + + // Given a path to a file on disk, find a virtual path mapping to that + // file. The first mapping created with MapPath() whose disk_path contains + // the filename is used. However, that virtual path may not actually be + // usable to open the given file. Possible return values are: + // * SUCCESS: The mapping was found. *virtual_file is filled in so that + // calling Open(*virtual_file) will open the file named by disk_file. + // * SHADOWED: A mapping was found, but using Open() to open this virtual + // path will end up returning some different file. This is because some + // other mapping with a higher precedence also matches this virtual path + // and maps it to a different file that exists on disk. *virtual_file + // is filled in as it would be in the SUCCESS case. *shadowing_disk_file + // is filled in with the disk path of the file which would be opened if + // you were to call Open(*virtual_file). + // * CANNOT_OPEN: The mapping was found and was not shadowed, but the + // file specified cannot be opened. When this value is returned, + // errno will indicate the reason the file cannot be opened. *virtual_file + // will be set to the virtual path as in the SUCCESS case, even though + // it is not useful. + // * NO_MAPPING: Indicates that no mapping was found which contains this + // file. + DiskFileToVirtualFileResult DiskFileToVirtualFile( + const std::string& disk_file, std::string* virtual_file, + std::string* shadowing_disk_file); + + // Given a virtual path, find the path to the file on disk. + // Return true and update disk_file with the on-disk path if the file exists. + // Return false and leave disk_file untouched if the file doesn't exist. + bool VirtualFileToDiskFile(const std::string& virtual_file, + std::string* disk_file); + + // implements SourceTree ------------------------------------------- + io::ZeroCopyInputStream* Open(const std::string& filename) override; + + std::string GetLastErrorMessage() override; + + private: + struct Mapping { + std::string virtual_path; + std::string disk_path; + + inline Mapping(const std::string& virtual_path_param, + const std::string& disk_path_param) + : virtual_path(virtual_path_param), disk_path(disk_path_param) {} + }; + std::vector mappings_; + std::string last_error_message_; + + // Like Open(), but returns the on-disk path in disk_file if disk_file is + // non-NULL and the file could be successfully opened. + io::ZeroCopyInputStream* OpenVirtualFile(const std::string& virtual_file, + std::string* disk_file); + + // Like Open() but given the actual on-disk path. + io::ZeroCopyInputStream* OpenDiskFile(const std::string& filename); + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DiskSourceTree); +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_IMPORTER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/mock_code_generator.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/mock_code_generator.h new file mode 100644 index 0000000..45d735a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/mock_code_generator.h @@ -0,0 +1,136 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) + +#ifndef GOOGLE_PROTOBUF_COMPILER_MOCK_CODE_GENERATOR_H__ +#define GOOGLE_PROTOBUF_COMPILER_MOCK_CODE_GENERATOR_H__ + +#include +#include + +#include + +namespace google { +namespace protobuf { +class FileDescriptor; +} // namespace protobuf +} // namespace google + +namespace google { +namespace protobuf { +namespace compiler { + +// A mock CodeGenerator, used by command_line_interface_unittest. This is in +// its own file so that it can be used both directly and as a plugin. +// +// Generate() produces some output which can be checked by ExpectCalled(). The +// generator can run in a different process (e.g. a plugin). +// +// If the parameter is "insert=NAMES", the MockCodeGenerator will insert lines +// into the files generated by other MockCodeGenerators instead of creating +// its own file. NAMES is a comma-separated list of the names of those other +// MockCodeGenerators. If the parameter is "insert_endlines=NAMES", the +// MockCodeGenerator will insert data guaranteed to contain more than one +// endline into the files generated by NAMES. +// +// MockCodeGenerator will also modify its behavior slightly if the input file +// contains a message type with one of the following names: +// MockCodeGenerator_Error: Causes Generate() to return false and set the +// error message to "Saw message type MockCodeGenerator_Error." +// MockCodeGenerator_Exit: Generate() prints "Saw message type +// MockCodeGenerator_Exit." to stderr and then calls exit(123). +// MockCodeGenerator_Abort: Generate() prints "Saw message type +// MockCodeGenerator_Abort." to stderr and then calls abort(). +// MockCodeGenerator_HasSourceCodeInfo: Causes Generate() to abort after +// printing "Saw message type MockCodeGenerator_HasSourceCodeInfo: FOO." to +// stderr, where FOO is "1" if the supplied FileDescriptorProto has source +// code info, and "0" otherwise. +// MockCodeGenerator_Annotate: Generate() will add annotations to its output +// that can later be verified with CheckGeneratedAnnotations. +class MockCodeGenerator : public CodeGenerator { + public: + MockCodeGenerator(const std::string& name); + ~MockCodeGenerator() override; + + // Expect (via gTest) that a MockCodeGenerator with the given name was called + // with the given parameters by inspecting the output location. + // + // |insertions| is a comma-separated list of names of MockCodeGenerators which + // should have inserted lines into this file. + // |parsed_file_list| is a comma-separated list of names of the files + // that are being compiled together in this run. + static void ExpectGenerated(const std::string& name, + const std::string& parameter, + const std::string& insertions, + const std::string& file, + const std::string& first_message_name, + const std::string& parsed_file_list, + const std::string& output_directory); + + // Checks that the correct text ranges were annotated by the + // MockCodeGenerator_Annotate directive. + static void CheckGeneratedAnnotations(const std::string& name, + const std::string& file, + const std::string& output_directory); + + // Get the name of the file which would be written by the given generator. + static std::string GetOutputFileName(const std::string& generator_name, + const FileDescriptor* file); + static std::string GetOutputFileName(const std::string& generator_name, + const std::string& file); + + // implements CodeGenerator ---------------------------------------- + + bool Generate(const FileDescriptor* file, const std::string& parameter, + GeneratorContext* context, std::string* error) const override; + + uint64_t GetSupportedFeatures() const override; + void SuppressFeatures(uint64_t features); + + private: + std::string name_; + uint64_t suppressed_features_ = 0; + + static std::string GetOutputFileContent(const std::string& generator_name, + const std::string& parameter, + const FileDescriptor* file, + GeneratorContext* context); + static std::string GetOutputFileContent( + const std::string& generator_name, const std::string& parameter, + const std::string& file, const std::string& parsed_file_list, + const std::string& first_message_name); +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_MOCK_CODE_GENERATOR_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/package_info.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/package_info.h new file mode 100644 index 0000000..105ef60 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/package_info.h @@ -0,0 +1,63 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// This file exists solely to document the google::protobuf::compiler namespace. +// It is not compiled into anything, but it may be read by an automated +// documentation generator. + +namespace google { +namespace protobuf { + +// Implementation of the Protocol Buffer compiler. +// +// This package contains code for parsing .proto files and generating code +// based on them. There are two reasons you might be interested in this +// package: +// - You want to parse .proto files at runtime. In this case, you should +// look at importer.h. Since this functionality is widely useful, it is +// included in the libprotobuf base library; you do not have to link against +// libprotoc. +// - You want to write a custom protocol compiler which generates different +// kinds of code, e.g. code in a different language which is not supported +// by the official compiler. For this purpose, command_line_interface.h +// provides you with a complete compiler front-end, so all you need to do +// is write a custom implementation of CodeGenerator and a trivial main() +// function. You can even make your compiler support the official languages +// in addition to your own. Since this functionality is only useful to those +// writing custom compilers, it is in a separate library called "libprotoc" +// which you will have to link against. +namespace compiler {} + +} // namespace protobuf +} // namespace google diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/parser.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/parser.h new file mode 100644 index 0000000..d4eb763 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/parser.h @@ -0,0 +1,602 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// Implements parsing of .proto files to FileDescriptorProtos. + +#ifndef GOOGLE_PROTOBUF_COMPILER_PARSER_H__ +#define GOOGLE_PROTOBUF_COMPILER_PARSER_H__ + +#include +#include +#include +#include + +#include +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +class Message; + +namespace compiler { + +// Defined in this file. +class Parser; +class SourceLocationTable; + +// Implements parsing of protocol definitions (such as .proto files). +// +// Note that most users will be more interested in the Importer class. +// Parser is a lower-level class which simply converts a single .proto file +// to a FileDescriptorProto. It does not resolve import directives or perform +// many other kinds of validation needed to construct a complete +// FileDescriptor. +class PROTOBUF_EXPORT Parser { + public: + Parser(); + ~Parser(); + + // Parse the entire input and construct a FileDescriptorProto representing + // it. Returns true if no errors occurred, false otherwise. + bool Parse(io::Tokenizer* input, FileDescriptorProto* file); + + // Optional features: + + // DEPRECATED: New code should use the SourceCodeInfo embedded in the + // FileDescriptorProto. + // + // Requests that locations of certain definitions be recorded to the given + // SourceLocationTable while parsing. This can be used to look up exact line + // and column numbers for errors reported by DescriptorPool during validation. + // Set to NULL (the default) to discard source location information. + void RecordSourceLocationsTo(SourceLocationTable* location_table) { + source_location_table_ = location_table; + } + + // Requests that errors be recorded to the given ErrorCollector while + // parsing. Set to NULL (the default) to discard error messages. + void RecordErrorsTo(io::ErrorCollector* error_collector) { + error_collector_ = error_collector; + } + + // Returns the identifier used in the "syntax = " declaration, if one was + // seen during the last call to Parse(), or the empty string otherwise. + const std::string& GetSyntaxIdentifier() { return syntax_identifier_; } + + // If set true, input files will be required to begin with a syntax + // identifier. Otherwise, files may omit this. If a syntax identifier + // is provided, it must be 'syntax = "proto2";' and must appear at the + // top of this file regardless of whether or not it was required. + void SetRequireSyntaxIdentifier(bool value) { + require_syntax_identifier_ = value; + } + + // Call SetStopAfterSyntaxIdentifier(true) to tell the parser to stop + // parsing as soon as it has seen the syntax identifier, or lack thereof. + // This is useful for quickly identifying the syntax of the file without + // parsing the whole thing. If this is enabled, no error will be recorded + // if the syntax identifier is something other than "proto2" (since + // presumably the caller intends to deal with that), but other kinds of + // errors (e.g. parse errors) will still be reported. When this is enabled, + // you may pass a NULL FileDescriptorProto to Parse(). + void SetStopAfterSyntaxIdentifier(bool value) { + stop_after_syntax_identifier_ = value; + } + + private: + class LocationRecorder; + struct MapField; + + // ================================================================= + // Error recovery helpers + + // Consume the rest of the current statement. This consumes tokens + // until it sees one of: + // ';' Consumes the token and returns. + // '{' Consumes the brace then calls SkipRestOfBlock(). + // '}' Returns without consuming. + // EOF Returns (can't consume). + // The Parser often calls SkipStatement() after encountering a syntax + // error. This allows it to go on parsing the following lines, allowing + // it to report more than just one error in the file. + void SkipStatement(); + + // Consume the rest of the current block, including nested blocks, + // ending after the closing '}' is encountered and consumed, or at EOF. + void SkipRestOfBlock(); + + // ----------------------------------------------------------------- + // Single-token consuming helpers + // + // These make parsing code more readable. + + // True if the current token is TYPE_END. + inline bool AtEnd(); + + // True if the next token matches the given text. + inline bool LookingAt(const char* text); + // True if the next token is of the given type. + inline bool LookingAtType(io::Tokenizer::TokenType token_type); + + // If the next token exactly matches the text given, consume it and return + // true. Otherwise, return false without logging an error. + bool TryConsume(const char* text); + + // These attempt to read some kind of token from the input. If successful, + // they return true. Otherwise they return false and add the given error + // to the error list. + + // Consume a token with the exact text given. + bool Consume(const char* text, const char* error); + // Same as above, but automatically generates the error "Expected \"text\".", + // where "text" is the expected token text. + bool Consume(const char* text); + // Consume a token of type IDENTIFIER and store its text in "output". + bool ConsumeIdentifier(std::string* output, const char* error); + // Consume an integer and store its value in "output". + bool ConsumeInteger(int* output, const char* error); + // Consume a signed integer and store its value in "output". + bool ConsumeSignedInteger(int* output, const char* error); + // Consume a 64-bit integer and store its value in "output". If the value + // is greater than max_value, an error will be reported. + bool ConsumeInteger64(uint64_t max_value, uint64_t* output, + const char* error); + // Consume a number and store its value in "output". This will accept + // tokens of either INTEGER or FLOAT type. + bool ConsumeNumber(double* output, const char* error); + // Consume a string literal and store its (unescaped) value in "output". + bool ConsumeString(std::string* output, const char* error); + + // Consume a token representing the end of the statement. Comments between + // this token and the next will be harvested for documentation. The given + // LocationRecorder should refer to the declaration that was just parsed; + // it will be populated with these comments. + // + // TODO(kenton): The LocationRecorder is const because historically locations + // have been passed around by const reference, for no particularly good + // reason. We should probably go through and change them all to mutable + // pointer to make this more intuitive. + bool TryConsumeEndOfDeclaration(const char* text, + const LocationRecorder* location); + bool TryConsumeEndOfDeclarationFinishScope(const char* text, + const LocationRecorder* location); + + bool ConsumeEndOfDeclaration(const char* text, + const LocationRecorder* location); + + // ----------------------------------------------------------------- + // Error logging helpers + + // Invokes error_collector_->AddError(), if error_collector_ is not NULL. + void AddError(int line, int column, const std::string& error); + + // Invokes error_collector_->AddError() with the line and column number + // of the current token. + void AddError(const std::string& error); + + // Invokes error_collector_->AddWarning() with the line and column number + // of the current token. + void AddWarning(const std::string& warning); + + // Records a location in the SourceCodeInfo.location table (see + // descriptor.proto). We use RAII to ensure that the start and end locations + // are recorded -- the constructor records the start location and the + // destructor records the end location. Since the parser is + // recursive-descent, this works out beautifully. + class PROTOBUF_EXPORT LocationRecorder { + public: + // Construct the file's "root" location. + LocationRecorder(Parser* parser); + + // Construct a location that represents a declaration nested within the + // given parent. E.g. a field's location is nested within the location + // for a message type. The parent's path will be copied, so you should + // call AddPath() only to add the path components leading from the parent + // to the child (as opposed to leading from the root to the child). + LocationRecorder(const LocationRecorder& parent); + + // Convenience constructors that call AddPath() one or two times. + LocationRecorder(const LocationRecorder& parent, int path1); + LocationRecorder(const LocationRecorder& parent, int path1, int path2); + + // Creates a recorder that generates locations into given source code info. + LocationRecorder(const LocationRecorder& parent, int path1, + SourceCodeInfo* source_code_info); + + ~LocationRecorder(); + + // Add a path component. See SourceCodeInfo.Location.path in + // descriptor.proto. + void AddPath(int path_component); + + // By default the location is considered to start at the current token at + // the time the LocationRecorder is created. StartAt() sets the start + // location to the given token instead. + void StartAt(const io::Tokenizer::Token& token); + + // Start at the same location as some other LocationRecorder. + void StartAt(const LocationRecorder& other); + + // By default the location is considered to end at the previous token at + // the time the LocationRecorder is destroyed. EndAt() sets the end + // location to the given token instead. + void EndAt(const io::Tokenizer::Token& token); + + // Records the start point of this location to the SourceLocationTable that + // was passed to RecordSourceLocationsTo(), if any. SourceLocationTable + // is an older way of keeping track of source locations which is still + // used in some places. + void RecordLegacyLocation( + const Message* descriptor, + DescriptorPool::ErrorCollector::ErrorLocation location); + void RecordLegacyImportLocation(const Message* descriptor, + const std::string& name); + + // Returns the number of path components in the recorder's current location. + int CurrentPathSize() const; + + // Attaches leading and trailing comments to the location. The two strings + // will be swapped into place, so after this is called *leading and + // *trailing will be empty. + // + // TODO(kenton): See comment on TryConsumeEndOfDeclaration(), above, for + // why this is const. + void AttachComments(std::string* leading, std::string* trailing, + std::vector* detached_comments) const; + + private: + Parser* parser_; + SourceCodeInfo* source_code_info_; + SourceCodeInfo::Location* location_; + + void Init(const LocationRecorder& parent, SourceCodeInfo* source_code_info); + }; + + // ================================================================= + // Parsers for various language constructs + + // Parses the "syntax = \"proto2\";" line at the top of the file. Returns + // false if it failed to parse or if the syntax identifier was not + // recognized. + bool ParseSyntaxIdentifier(const LocationRecorder& parent); + + // These methods parse various individual bits of code. They return + // false if they completely fail to parse the construct. In this case, + // it is probably necessary to skip the rest of the statement to recover. + // However, if these methods return true, it does NOT mean that there + // were no errors; only that there were no *syntax* errors. For instance, + // if a service method is defined using proper syntax but uses a primitive + // type as its input or output, ParseMethodField() still returns true + // and only reports the error by calling AddError(). In practice, this + // makes logic much simpler for the caller. + + // Parse a top-level message, enum, service, etc. + bool ParseTopLevelStatement(FileDescriptorProto* file, + const LocationRecorder& root_location); + + // Parse various language high-level language construrcts. + bool ParseMessageDefinition(DescriptorProto* message, + const LocationRecorder& message_location, + const FileDescriptorProto* containing_file); + bool ParseEnumDefinition(EnumDescriptorProto* enum_type, + const LocationRecorder& enum_location, + const FileDescriptorProto* containing_file); + bool ParseServiceDefinition(ServiceDescriptorProto* service, + const LocationRecorder& service_location, + const FileDescriptorProto* containing_file); + bool ParsePackage(FileDescriptorProto* file, + const LocationRecorder& root_location, + const FileDescriptorProto* containing_file); + bool ParseImport(RepeatedPtrField* dependency, + RepeatedField* public_dependency, + RepeatedField* weak_dependency, + const LocationRecorder& root_location, + const FileDescriptorProto* containing_file); + + // These methods parse the contents of a message, enum, or service type and + // add them to the given object. They consume the entire block including + // the beginning and ending brace. + bool ParseMessageBlock(DescriptorProto* message, + const LocationRecorder& message_location, + const FileDescriptorProto* containing_file); + bool ParseEnumBlock(EnumDescriptorProto* enum_type, + const LocationRecorder& enum_location, + const FileDescriptorProto* containing_file); + bool ParseServiceBlock(ServiceDescriptorProto* service, + const LocationRecorder& service_location, + const FileDescriptorProto* containing_file); + + // Parse one statement within a message, enum, or service block, including + // final semicolon. + bool ParseMessageStatement(DescriptorProto* message, + const LocationRecorder& message_location, + const FileDescriptorProto* containing_file); + bool ParseEnumStatement(EnumDescriptorProto* message, + const LocationRecorder& enum_location, + const FileDescriptorProto* containing_file); + bool ParseServiceStatement(ServiceDescriptorProto* message, + const LocationRecorder& service_location, + const FileDescriptorProto* containing_file); + + // Parse a field of a message. If the field is a group, its type will be + // added to "messages". + // + // parent_location and location_field_number_for_nested_type are needed when + // parsing groups -- we need to generate a nested message type within the + // parent and record its location accordingly. Since the parent could be + // either a FileDescriptorProto or a DescriptorProto, we must pass in the + // correct field number to use. + bool ParseMessageField(FieldDescriptorProto* field, + RepeatedPtrField* messages, + const LocationRecorder& parent_location, + int location_field_number_for_nested_type, + const LocationRecorder& field_location, + const FileDescriptorProto* containing_file); + + // Like ParseMessageField() but expects the label has already been filled in + // by the caller. + bool ParseMessageFieldNoLabel(FieldDescriptorProto* field, + RepeatedPtrField* messages, + const LocationRecorder& parent_location, + int location_field_number_for_nested_type, + const LocationRecorder& field_location, + const FileDescriptorProto* containing_file); + + bool ParseMapType(MapField* map_field, FieldDescriptorProto* field, + LocationRecorder& type_name_location); + + // Parse an "extensions" declaration. + bool ParseExtensions(DescriptorProto* message, + const LocationRecorder& extensions_location, + const FileDescriptorProto* containing_file); + + // Parse a "reserved" declaration. + bool ParseReserved(DescriptorProto* message, + const LocationRecorder& message_location); + bool ParseReservedNames(DescriptorProto* message, + const LocationRecorder& parent_location); + bool ParseReservedNumbers(DescriptorProto* message, + const LocationRecorder& parent_location); + bool ParseReserved(EnumDescriptorProto* message, + const LocationRecorder& message_location); + bool ParseReservedNames(EnumDescriptorProto* message, + const LocationRecorder& parent_location); + bool ParseReservedNumbers(EnumDescriptorProto* message, + const LocationRecorder& parent_location); + + // Parse an "extend" declaration. (See also comments for + // ParseMessageField().) + bool ParseExtend(RepeatedPtrField* extensions, + RepeatedPtrField* messages, + const LocationRecorder& parent_location, + int location_field_number_for_nested_type, + const LocationRecorder& extend_location, + const FileDescriptorProto* containing_file); + + // Parse a "oneof" declaration. The caller is responsible for setting + // oneof_decl->label() since it will have had to parse the label before it + // knew it was parsing a oneof. + bool ParseOneof(OneofDescriptorProto* oneof_decl, + DescriptorProto* containing_type, int oneof_index, + const LocationRecorder& oneof_location, + const LocationRecorder& containing_type_location, + const FileDescriptorProto* containing_file); + + // Parse a single enum value within an enum block. + bool ParseEnumConstant(EnumValueDescriptorProto* enum_value, + const LocationRecorder& enum_value_location, + const FileDescriptorProto* containing_file); + + // Parse enum constant options, i.e. the list in square brackets at the end + // of the enum constant value definition. + bool ParseEnumConstantOptions(EnumValueDescriptorProto* value, + const LocationRecorder& enum_value_location, + const FileDescriptorProto* containing_file); + + // Parse a single method within a service definition. + bool ParseServiceMethod(MethodDescriptorProto* method, + const LocationRecorder& method_location, + const FileDescriptorProto* containing_file); + + // Parse options of a single method or stream. + bool ParseMethodOptions(const LocationRecorder& parent_location, + const FileDescriptorProto* containing_file, + const int optionsFieldNumber, + Message* mutable_options); + + // Parse "required", "optional", or "repeated" and fill in "label" + // with the value. Returns true if such a label is consumed. + bool ParseLabel(FieldDescriptorProto::Label* label, + const LocationRecorder& field_location); + + // Parse a type name and fill in "type" (if it is a primitive) or + // "type_name" (if it is not) with the type parsed. + bool ParseType(FieldDescriptorProto::Type* type, std::string* type_name); + // Parse a user-defined type and fill in "type_name" with the name. + // If a primitive type is named, it is treated as an error. + bool ParseUserDefinedType(std::string* type_name); + + // Parses field options, i.e. the stuff in square brackets at the end + // of a field definition. Also parses default value. + bool ParseFieldOptions(FieldDescriptorProto* field, + const LocationRecorder& field_location, + const FileDescriptorProto* containing_file); + + // Parse the "default" option. This needs special handling because its + // type is the field's type. + bool ParseDefaultAssignment(FieldDescriptorProto* field, + const LocationRecorder& field_location, + const FileDescriptorProto* containing_file); + + bool ParseJsonName(FieldDescriptorProto* field, + const LocationRecorder& field_location, + const FileDescriptorProto* containing_file); + + enum OptionStyle { + OPTION_ASSIGNMENT, // just "name = value" + OPTION_STATEMENT // "option name = value;" + }; + + // Parse a single option name/value pair, e.g. "ctype = CORD". The name + // identifies a field of the given Message, and the value of that field + // is set to the parsed value. + bool ParseOption(Message* options, const LocationRecorder& options_location, + const FileDescriptorProto* containing_file, + OptionStyle style); + + // Parses a single part of a multipart option name. A multipart name consists + // of names separated by dots. Each name is either an identifier or a series + // of identifiers separated by dots and enclosed in parentheses. E.g., + // "foo.(bar.baz).moo". + bool ParseOptionNamePart(UninterpretedOption* uninterpreted_option, + const LocationRecorder& part_location, + const FileDescriptorProto* containing_file); + + // Parses a string surrounded by balanced braces. Strips off the outer + // braces and stores the enclosed string in *value. + // E.g., + // { foo } *value gets 'foo' + // { foo { bar: box } } *value gets 'foo { bar: box }' + // {} *value gets '' + // + // REQUIRES: LookingAt("{") + // When finished successfully, we are looking at the first token past + // the ending brace. + bool ParseUninterpretedBlock(std::string* value); + + struct MapField { + // Whether the field is a map field. + bool is_map_field; + // The types of the key and value if they are primitive types. + FieldDescriptorProto::Type key_type; + FieldDescriptorProto::Type value_type; + // Or the type names string if the types are customized types. + std::string key_type_name; + std::string value_type_name; + + MapField() : is_map_field(false) {} + }; + // Desugar the map syntax to generate a nested map entry message. + void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field, + RepeatedPtrField* messages); + + // Whether fields without label default to optional fields. + bool DefaultToOptionalFields() const { + return syntax_identifier_ == "proto3"; + } + + bool ValidateEnum(const EnumDescriptorProto* proto); + + // ================================================================= + + io::Tokenizer* input_; + io::ErrorCollector* error_collector_; + SourceCodeInfo* source_code_info_; + SourceLocationTable* source_location_table_; // legacy + bool had_errors_; + bool require_syntax_identifier_; + bool stop_after_syntax_identifier_; + std::string syntax_identifier_; + + // Leading doc comments for the next declaration. These are not complete + // yet; use ConsumeEndOfDeclaration() to get the complete comments. + std::string upcoming_doc_comments_; + + // Detached comments are not connected to any syntax entities. Elements in + // this vector are paragraphs of comments separated by empty lines. The + // detached comments will be put into the leading_detached_comments field for + // the next element (See SourceCodeInfo.Location in descriptor.proto), when + // ConsumeEndOfDeclaration() is called. + std::vector upcoming_detached_comments_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Parser); +}; + +// A table mapping (descriptor, ErrorLocation) pairs -- as reported by +// DescriptorPool when validating descriptors -- to line and column numbers +// within the original source code. +// +// This is semi-obsolete: FileDescriptorProto.source_code_info now contains +// far more complete information about source locations. However, as of this +// writing you still need to use SourceLocationTable when integrating with +// DescriptorPool. +class PROTOBUF_EXPORT SourceLocationTable { + public: + SourceLocationTable(); + ~SourceLocationTable(); + + // Finds the precise location of the given error and fills in *line and + // *column with the line and column numbers. If not found, sets *line to + // -1 and *column to 0 (since line = -1 is used to mean "error has no exact + // location" in the ErrorCollector interface). Returns true if found, false + // otherwise. + bool Find(const Message* descriptor, + DescriptorPool::ErrorCollector::ErrorLocation location, int* line, + int* column) const; + bool FindImport(const Message* descriptor, const std::string& name, int* line, + int* column) const; + + // Adds a location to the table. + void Add(const Message* descriptor, + DescriptorPool::ErrorCollector::ErrorLocation location, int line, + int column); + void AddImport(const Message* descriptor, const std::string& name, int line, + int column); + + // Clears the contents of the table. + void Clear(); + + private: + typedef std::map< + std::pair, + std::pair > + LocationMap; + LocationMap location_map_; + std::map, std::pair > + import_location_map_; +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_PARSER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.h new file mode 100644 index 0000000..611713e --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.h @@ -0,0 +1,96 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// +// Front-end for protoc code generator plugins written in C++. +// +// To implement a protoc plugin in C++, simply write an implementation of +// CodeGenerator, then create a main() function like: +// int main(int argc, char* argv[]) { +// MyCodeGenerator generator; +// return google::protobuf::compiler::PluginMain(argc, argv, &generator); +// } +// You must link your plugin against libprotobuf and libprotoc. +// +// The core part of PluginMain is to invoke the given CodeGenerator on a +// CodeGeneratorRequest to generate a CodeGeneratorResponse. This part is +// abstracted out and made into function GenerateCode so that it can be reused, +// for example, to implement a variant of PluginMain that does some +// preprocessing on the input CodeGeneratorRequest before feeding the request +// to the given code generator. +// +// To get protoc to use the plugin, do one of the following: +// * Place the plugin binary somewhere in the PATH and give it the name +// "protoc-gen-NAME" (replacing "NAME" with the name of your plugin). If you +// then invoke protoc with the parameter --NAME_out=OUT_DIR (again, replace +// "NAME" with your plugin's name), protoc will invoke your plugin to generate +// the output, which will be placed in OUT_DIR. +// * Place the plugin binary anywhere, with any name, and pass the --plugin +// parameter to protoc to direct it to your plugin like so: +// protoc --plugin=protoc-gen-NAME=path/to/mybinary --NAME_out=OUT_DIR +// On Windows, make sure to include the .exe suffix: +// protoc --plugin=protoc-gen-NAME=path/to/mybinary.exe --NAME_out=OUT_DIR + +#ifndef GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__ +#define GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__ + +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace compiler { + +class CodeGenerator; // code_generator.h +class CodeGeneratorRequest; +class CodeGeneratorResponse; + +// Implements main() for a protoc plugin exposing the given code generator. +PROTOC_EXPORT int PluginMain(int argc, char* argv[], + const CodeGenerator* generator); + + +// Generates code using the given code generator. Returns true if the code +// generation is successful. If the code generation fails, error_msg may be +// populated to describe the failure cause. +bool GenerateCode(const CodeGeneratorRequest& request, + const CodeGenerator& generator, + CodeGeneratorResponse* response, std::string* error_msg); + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.pb.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.pb.h new file mode 100644 index 0000000..b8a0d71 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/plugin.pb.h @@ -0,0 +1,1901 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/protobuf/compiler/plugin.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_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 3021008 < 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 // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto PROTOC_EXPORT +#ifdef major +#undef major +#endif +#ifdef minor +#undef minor +#endif +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct PROTOC_EXPORT TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto { + static const uint32_t offsets[]; +}; +PROTOC_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto; +PROTOBUF_NAMESPACE_OPEN +namespace compiler { +class CodeGeneratorRequest; +struct CodeGeneratorRequestDefaultTypeInternal; +PROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_; +class CodeGeneratorResponse; +struct CodeGeneratorResponseDefaultTypeInternal; +PROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_; +class CodeGeneratorResponse_File; +struct CodeGeneratorResponse_FileDefaultTypeInternal; +PROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_; +class Version; +struct VersionDefaultTypeInternal; +PROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_; +} // namespace compiler +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN +template<> PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest>(Arena*); +template<> PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse>(Arena*); +template<> PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File>(Arena*); +template<> PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::compiler::Version* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::Version>(Arena*); +PROTOBUF_NAMESPACE_CLOSE +PROTOBUF_NAMESPACE_OPEN +namespace compiler { + +enum CodeGeneratorResponse_Feature : int { + CodeGeneratorResponse_Feature_FEATURE_NONE = 0, + CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL = 1 +}; +PROTOC_EXPORT bool CodeGeneratorResponse_Feature_IsValid(int value); +constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MIN = CodeGeneratorResponse_Feature_FEATURE_NONE; +constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MAX = CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL; +constexpr int CodeGeneratorResponse_Feature_Feature_ARRAYSIZE = CodeGeneratorResponse_Feature_Feature_MAX + 1; + +PROTOC_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CodeGeneratorResponse_Feature_descriptor(); +template +inline const std::string& CodeGeneratorResponse_Feature_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CodeGeneratorResponse_Feature_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CodeGeneratorResponse_Feature_descriptor(), enum_t_value); +} +inline bool CodeGeneratorResponse_Feature_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CodeGeneratorResponse_Feature* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CodeGeneratorResponse_Feature_descriptor(), name, value); +} +// =================================================================== + +class PROTOC_EXPORT Version final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 = + 0; + + 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 "google.protobuf.compiler.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 { + kSuffixFieldNumber = 4, + kMajorFieldNumber = 1, + kMinorFieldNumber = 2, + kPatchFieldNumber = 3, + }; + // optional string suffix = 4; + bool has_suffix() const; + private: + bool _internal_has_suffix() const; + public: + void clear_suffix(); + const std::string& suffix() const; + template + void set_suffix(ArgT0&& arg0, ArgT... args); + std::string* mutable_suffix(); + PROTOBUF_NODISCARD std::string* release_suffix(); + void set_allocated_suffix(std::string* suffix); + private: + const std::string& _internal_suffix() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_suffix(const std::string& value); + std::string* _internal_mutable_suffix(); + public: + + // optional int32 major = 1; + bool has_major() const; + private: + bool _internal_has_major() const; + public: + void clear_major(); + int32_t major() const; + void set_major(int32_t value); + private: + int32_t _internal_major() const; + void _internal_set_major(int32_t value); + public: + + // optional int32 minor = 2; + bool has_minor() const; + private: + bool _internal_has_minor() const; + public: + void clear_minor(); + int32_t minor() const; + void set_minor(int32_t value); + private: + int32_t _internal_minor() const; + void _internal_set_minor(int32_t value); + public: + + // optional int32 patch = 3; + bool has_patch() const; + private: + bool _internal_has_patch() const; + public: + void clear_patch(); + int32_t patch() const; + void set_patch(int32_t value); + private: + int32_t _internal_patch() const; + void _internal_set_patch(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.compiler.Version) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr suffix_; + int32_t major_; + int32_t minor_; + int32_t patch_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; +}; +// ------------------------------------------------------------------- + +class PROTOC_EXPORT CodeGeneratorRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorRequest) */ { + public: + inline CodeGeneratorRequest() : CodeGeneratorRequest(nullptr) {} + ~CodeGeneratorRequest() override; + explicit PROTOBUF_CONSTEXPR CodeGeneratorRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CodeGeneratorRequest(const CodeGeneratorRequest& from); + CodeGeneratorRequest(CodeGeneratorRequest&& from) noexcept + : CodeGeneratorRequest() { + *this = ::std::move(from); + } + + inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) { + CopyFrom(from); + return *this; + } + inline CodeGeneratorRequest& operator=(CodeGeneratorRequest&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CodeGeneratorRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CodeGeneratorRequest* internal_default_instance() { + return reinterpret_cast( + &_CodeGeneratorRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CodeGeneratorRequest& a, CodeGeneratorRequest& b) { + a.Swap(&b); + } + inline void Swap(CodeGeneratorRequest* 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(CodeGeneratorRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CodeGeneratorRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CodeGeneratorRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CodeGeneratorRequest& from) { + CodeGeneratorRequest::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(CodeGeneratorRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.compiler.CodeGeneratorRequest"; + } + protected: + explicit CodeGeneratorRequest(::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 { + kFileToGenerateFieldNumber = 1, + kProtoFileFieldNumber = 15, + kParameterFieldNumber = 2, + kCompilerVersionFieldNumber = 3, + }; + // repeated string file_to_generate = 1; + int file_to_generate_size() const; + private: + int _internal_file_to_generate_size() const; + public: + void clear_file_to_generate(); + const std::string& file_to_generate(int index) const; + std::string* mutable_file_to_generate(int index); + void set_file_to_generate(int index, const std::string& value); + void set_file_to_generate(int index, std::string&& value); + void set_file_to_generate(int index, const char* value); + void set_file_to_generate(int index, const char* value, size_t size); + std::string* add_file_to_generate(); + void add_file_to_generate(const std::string& value); + void add_file_to_generate(std::string&& value); + void add_file_to_generate(const char* value); + void add_file_to_generate(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& file_to_generate() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_file_to_generate(); + private: + const std::string& _internal_file_to_generate(int index) const; + std::string* _internal_add_file_to_generate(); + public: + + // repeated .google.protobuf.FileDescriptorProto proto_file = 15; + int proto_file_size() const; + private: + int _internal_proto_file_size() const; + public: + void clear_proto_file(); + ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_proto_file(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* + mutable_proto_file(); + private: + const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_proto_file(int index) const; + ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_proto_file(); + public: + const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& proto_file(int index) const; + ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_proto_file(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& + proto_file() const; + + // optional string parameter = 2; + bool has_parameter() const; + private: + bool _internal_has_parameter() const; + public: + void clear_parameter(); + const std::string& parameter() const; + template + void set_parameter(ArgT0&& arg0, ArgT... args); + std::string* mutable_parameter(); + PROTOBUF_NODISCARD std::string* release_parameter(); + void set_allocated_parameter(std::string* parameter); + private: + const std::string& _internal_parameter() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_parameter(const std::string& value); + std::string* _internal_mutable_parameter(); + public: + + // optional .google.protobuf.compiler.Version compiler_version = 3; + bool has_compiler_version() const; + private: + bool _internal_has_compiler_version() const; + public: + void clear_compiler_version(); + const ::PROTOBUF_NAMESPACE_ID::compiler::Version& compiler_version() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::compiler::Version* release_compiler_version(); + ::PROTOBUF_NAMESPACE_ID::compiler::Version* mutable_compiler_version(); + void set_allocated_compiler_version(::PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version); + private: + const ::PROTOBUF_NAMESPACE_ID::compiler::Version& _internal_compiler_version() const; + ::PROTOBUF_NAMESPACE_ID::compiler::Version* _internal_mutable_compiler_version(); + public: + void unsafe_arena_set_allocated_compiler_version( + ::PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version); + ::PROTOBUF_NAMESPACE_ID::compiler::Version* unsafe_arena_release_compiler_version(); + + // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField file_to_generate_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > proto_file_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parameter_; + ::PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; +}; +// ------------------------------------------------------------------- + +class PROTOC_EXPORT CodeGeneratorResponse_File final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse.File) */ { + public: + inline CodeGeneratorResponse_File() : CodeGeneratorResponse_File(nullptr) {} + ~CodeGeneratorResponse_File() override; + explicit PROTOBUF_CONSTEXPR CodeGeneratorResponse_File(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from); + CodeGeneratorResponse_File(CodeGeneratorResponse_File&& from) noexcept + : CodeGeneratorResponse_File() { + *this = ::std::move(from); + } + + inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) { + CopyFrom(from); + return *this; + } + inline CodeGeneratorResponse_File& operator=(CodeGeneratorResponse_File&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CodeGeneratorResponse_File& default_instance() { + return *internal_default_instance(); + } + static inline const CodeGeneratorResponse_File* internal_default_instance() { + return reinterpret_cast( + &_CodeGeneratorResponse_File_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CodeGeneratorResponse_File& a, CodeGeneratorResponse_File& b) { + a.Swap(&b); + } + inline void Swap(CodeGeneratorResponse_File* 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(CodeGeneratorResponse_File* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CodeGeneratorResponse_File* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CodeGeneratorResponse_File& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CodeGeneratorResponse_File& from) { + CodeGeneratorResponse_File::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(CodeGeneratorResponse_File* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.compiler.CodeGeneratorResponse.File"; + } + protected: + explicit CodeGeneratorResponse_File(::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, + kInsertionPointFieldNumber = 2, + kContentFieldNumber = 15, + kGeneratedCodeInfoFieldNumber = 16, + }; + // optional string name = 1; + 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: + + // optional string insertion_point = 2; + bool has_insertion_point() const; + private: + bool _internal_has_insertion_point() const; + public: + void clear_insertion_point(); + const std::string& insertion_point() const; + template + void set_insertion_point(ArgT0&& arg0, ArgT... args); + std::string* mutable_insertion_point(); + PROTOBUF_NODISCARD std::string* release_insertion_point(); + void set_allocated_insertion_point(std::string* insertion_point); + private: + const std::string& _internal_insertion_point() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_insertion_point(const std::string& value); + std::string* _internal_mutable_insertion_point(); + public: + + // optional string content = 15; + bool has_content() const; + private: + bool _internal_has_content() const; + public: + void clear_content(); + const std::string& content() const; + template + void set_content(ArgT0&& arg0, ArgT... args); + std::string* mutable_content(); + PROTOBUF_NODISCARD std::string* release_content(); + void set_allocated_content(std::string* content); + private: + const std::string& _internal_content() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_content(const std::string& value); + std::string* _internal_mutable_content(); + public: + + // optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; + bool has_generated_code_info() const; + private: + bool _internal_has_generated_code_info() const; + public: + void clear_generated_code_info(); + const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& generated_code_info() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* release_generated_code_info(); + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* mutable_generated_code_info(); + void set_allocated_generated_code_info(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info); + private: + const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& _internal_generated_code_info() const; + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* _internal_mutable_generated_code_info(); + public: + void unsafe_arena_set_allocated_generated_code_info( + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info); + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* unsafe_arena_release_generated_code_info(); + + // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr insertion_point_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_; + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; +}; +// ------------------------------------------------------------------- + +class PROTOC_EXPORT CodeGeneratorResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse) */ { + public: + inline CodeGeneratorResponse() : CodeGeneratorResponse(nullptr) {} + ~CodeGeneratorResponse() override; + explicit PROTOBUF_CONSTEXPR CodeGeneratorResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CodeGeneratorResponse(const CodeGeneratorResponse& from); + CodeGeneratorResponse(CodeGeneratorResponse&& from) noexcept + : CodeGeneratorResponse() { + *this = ::std::move(from); + } + + inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) { + CopyFrom(from); + return *this; + } + inline CodeGeneratorResponse& operator=(CodeGeneratorResponse&& 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; + } + + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + } + + 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 CodeGeneratorResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CodeGeneratorResponse* internal_default_instance() { + return reinterpret_cast( + &_CodeGeneratorResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(CodeGeneratorResponse& a, CodeGeneratorResponse& b) { + a.Swap(&b); + } + inline void Swap(CodeGeneratorResponse* 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(CodeGeneratorResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CodeGeneratorResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CodeGeneratorResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CodeGeneratorResponse& from) { + CodeGeneratorResponse::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(CodeGeneratorResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "google.protobuf.compiler.CodeGeneratorResponse"; + } + protected: + explicit CodeGeneratorResponse(::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 ---------------------------------------------------- + + typedef CodeGeneratorResponse_File File; + + typedef CodeGeneratorResponse_Feature Feature; + static constexpr Feature FEATURE_NONE = + CodeGeneratorResponse_Feature_FEATURE_NONE; + static constexpr Feature FEATURE_PROTO3_OPTIONAL = + CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL; + static inline bool Feature_IsValid(int value) { + return CodeGeneratorResponse_Feature_IsValid(value); + } + static constexpr Feature Feature_MIN = + CodeGeneratorResponse_Feature_Feature_MIN; + static constexpr Feature Feature_MAX = + CodeGeneratorResponse_Feature_Feature_MAX; + static constexpr int Feature_ARRAYSIZE = + CodeGeneratorResponse_Feature_Feature_ARRAYSIZE; + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + Feature_descriptor() { + return CodeGeneratorResponse_Feature_descriptor(); + } + template + static inline const std::string& Feature_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function Feature_Name."); + return CodeGeneratorResponse_Feature_Name(enum_t_value); + } + static inline bool Feature_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + Feature* value) { + return CodeGeneratorResponse_Feature_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kFileFieldNumber = 15, + kErrorFieldNumber = 1, + kSupportedFeaturesFieldNumber = 2, + }; + // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; + int file_size() const; + private: + int _internal_file_size() const; + public: + void clear_file(); + ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* mutable_file(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >* + mutable_file(); + private: + const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& _internal_file(int index) const; + ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* _internal_add_file(); + public: + const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& file(int index) const; + ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* add_file(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >& + file() const; + + // optional string error = 1; + bool has_error() const; + private: + bool _internal_has_error() const; + public: + void clear_error(); + const std::string& error() const; + template + void set_error(ArgT0&& arg0, ArgT... args); + std::string* mutable_error(); + PROTOBUF_NODISCARD std::string* release_error(); + void set_allocated_error(std::string* error); + private: + const std::string& _internal_error() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(const std::string& value); + std::string* _internal_mutable_error(); + public: + + // optional uint64 supported_features = 2; + bool has_supported_features() const; + private: + bool _internal_has_supported_features() const; + public: + void clear_supported_features(); + uint64_t supported_features() const; + void set_supported_features(uint64_t value); + private: + uint64_t _internal_supported_features() const; + void _internal_set_supported_features(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File > file_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; + uint64_t supported_features_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Version + +// optional int32 major = 1; +inline bool Version::_internal_has_major() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool Version::has_major() const { + return _internal_has_major(); +} +inline void Version::clear_major() { + _impl_.major_ = 0; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline int32_t Version::_internal_major() const { + return _impl_.major_; +} +inline int32_t Version::major() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.major) + return _internal_major(); +} +inline void Version::_internal_set_major(int32_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.major_ = value; +} +inline void Version::set_major(int32_t value) { + _internal_set_major(value); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.major) +} + +// optional int32 minor = 2; +inline bool Version::_internal_has_minor() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool Version::has_minor() const { + return _internal_has_minor(); +} +inline void Version::clear_minor() { + _impl_.minor_ = 0; + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline int32_t Version::_internal_minor() const { + return _impl_.minor_; +} +inline int32_t Version::minor() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.minor) + return _internal_minor(); +} +inline void Version::_internal_set_minor(int32_t value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.minor_ = value; +} +inline void Version::set_minor(int32_t value) { + _internal_set_minor(value); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.minor) +} + +// optional int32 patch = 3; +inline bool Version::_internal_has_patch() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool Version::has_patch() const { + return _internal_has_patch(); +} +inline void Version::clear_patch() { + _impl_.patch_ = 0; + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline int32_t Version::_internal_patch() const { + return _impl_.patch_; +} +inline int32_t Version::patch() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.patch) + return _internal_patch(); +} +inline void Version::_internal_set_patch(int32_t value) { + _impl_._has_bits_[0] |= 0x00000008u; + _impl_.patch_ = value; +} +inline void Version::set_patch(int32_t value) { + _internal_set_patch(value); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.patch) +} + +// optional string suffix = 4; +inline bool Version::_internal_has_suffix() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool Version::has_suffix() const { + return _internal_has_suffix(); +} +inline void Version::clear_suffix() { + _impl_.suffix_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& Version::suffix() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix) + return _internal_suffix(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Version::set_suffix(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.suffix_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix) +} +inline std::string* Version::mutable_suffix() { + std::string* _s = _internal_mutable_suffix(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suffix) + return _s; +} +inline const std::string& Version::_internal_suffix() const { + return _impl_.suffix_.Get(); +} +inline void Version::_internal_set_suffix(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.suffix_.Set(value, GetArenaForAllocation()); +} +inline std::string* Version::_internal_mutable_suffix() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.suffix_.Mutable(GetArenaForAllocation()); +} +inline std::string* Version::release_suffix() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.Version.suffix) + if (!_internal_has_suffix()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.suffix_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.suffix_.IsDefault()) { + _impl_.suffix_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void Version::set_allocated_suffix(std::string* suffix) { + if (suffix != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.suffix_.SetAllocated(suffix, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.suffix_.IsDefault()) { + _impl_.suffix_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.Version.suffix) +} + +// ------------------------------------------------------------------- + +// CodeGeneratorRequest + +// repeated string file_to_generate = 1; +inline int CodeGeneratorRequest::_internal_file_to_generate_size() const { + return _impl_.file_to_generate_.size(); +} +inline int CodeGeneratorRequest::file_to_generate_size() const { + return _internal_file_to_generate_size(); +} +inline void CodeGeneratorRequest::clear_file_to_generate() { + _impl_.file_to_generate_.Clear(); +} +inline std::string* CodeGeneratorRequest::add_file_to_generate() { + std::string* _s = _internal_add_file_to_generate(); + // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) + return _s; +} +inline const std::string& CodeGeneratorRequest::_internal_file_to_generate(int index) const { + return _impl_.file_to_generate_.Get(index); +} +inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) + return _internal_file_to_generate(index); +} +inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) + return _impl_.file_to_generate_.Mutable(index); +} +inline void CodeGeneratorRequest::set_file_to_generate(int index, const std::string& value) { + _impl_.file_to_generate_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::set_file_to_generate(int index, std::string&& value) { + _impl_.file_to_generate_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.file_to_generate_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) { + _impl_.file_to_generate_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline std::string* CodeGeneratorRequest::_internal_add_file_to_generate() { + return _impl_.file_to_generate_.Add(); +} +inline void CodeGeneratorRequest::add_file_to_generate(const std::string& value) { + _impl_.file_to_generate_.Add()->assign(value); + // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::add_file_to_generate(std::string&& value) { + _impl_.file_to_generate_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::add_file_to_generate(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.file_to_generate_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) { + _impl_.file_to_generate_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +CodeGeneratorRequest::file_to_generate() const { + // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) + return _impl_.file_to_generate_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +CodeGeneratorRequest::mutable_file_to_generate() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) + return &_impl_.file_to_generate_; +} + +// optional string parameter = 2; +inline bool CodeGeneratorRequest::_internal_has_parameter() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CodeGeneratorRequest::has_parameter() const { + return _internal_has_parameter(); +} +inline void CodeGeneratorRequest::clear_parameter() { + _impl_.parameter_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CodeGeneratorRequest::parameter() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter) + return _internal_parameter(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CodeGeneratorRequest::set_parameter(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.parameter_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter) +} +inline std::string* CodeGeneratorRequest::mutable_parameter() { + std::string* _s = _internal_mutable_parameter(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter) + return _s; +} +inline const std::string& CodeGeneratorRequest::_internal_parameter() const { + return _impl_.parameter_.Get(); +} +inline void CodeGeneratorRequest::_internal_set_parameter(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.parameter_.Set(value, GetArenaForAllocation()); +} +inline std::string* CodeGeneratorRequest::_internal_mutable_parameter() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.parameter_.Mutable(GetArenaForAllocation()); +} +inline std::string* CodeGeneratorRequest::release_parameter() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.parameter) + if (!_internal_has_parameter()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.parameter_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.parameter_.IsDefault()) { + _impl_.parameter_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CodeGeneratorRequest::set_allocated_parameter(std::string* parameter) { + if (parameter != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.parameter_.SetAllocated(parameter, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.parameter_.IsDefault()) { + _impl_.parameter_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter) +} + +// repeated .google.protobuf.FileDescriptorProto proto_file = 15; +inline int CodeGeneratorRequest::_internal_proto_file_size() const { + return _impl_.proto_file_.size(); +} +inline int CodeGeneratorRequest::proto_file_size() const { + return _internal_proto_file_size(); +} +inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file) + return _impl_.proto_file_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* +CodeGeneratorRequest::mutable_proto_file() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file) + return &_impl_.proto_file_; +} +inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::_internal_proto_file(int index) const { + return _impl_.proto_file_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file) + return _internal_proto_file(index); +} +inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::_internal_add_proto_file() { + return _impl_.proto_file_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() { + ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_proto_file(); + // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& +CodeGeneratorRequest::proto_file() const { + // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file) + return _impl_.proto_file_; +} + +// optional .google.protobuf.compiler.Version compiler_version = 3; +inline bool CodeGeneratorRequest::_internal_has_compiler_version() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.compiler_version_ != nullptr); + return value; +} +inline bool CodeGeneratorRequest::has_compiler_version() const { + return _internal_has_compiler_version(); +} +inline void CodeGeneratorRequest::clear_compiler_version() { + if (_impl_.compiler_version_ != nullptr) _impl_.compiler_version_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::PROTOBUF_NAMESPACE_ID::compiler::Version& CodeGeneratorRequest::_internal_compiler_version() const { + const ::PROTOBUF_NAMESPACE_ID::compiler::Version* p = _impl_.compiler_version_; + return p != nullptr ? *p : reinterpret_cast( + ::PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_); +} +inline const ::PROTOBUF_NAMESPACE_ID::compiler::Version& CodeGeneratorRequest::compiler_version() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.compiler_version) + return _internal_compiler_version(); +} +inline void CodeGeneratorRequest::unsafe_arena_set_allocated_compiler_version( + ::PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.compiler_version_); + } + _impl_.compiler_version_ = compiler_version; + if (compiler_version) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.compiler_version) +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::release_compiler_version() { + _impl_._has_bits_[0] &= ~0x00000002u; + ::PROTOBUF_NAMESPACE_ID::compiler::Version* temp = _impl_.compiler_version_; + _impl_.compiler_version_ = 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::compiler::Version* CodeGeneratorRequest::unsafe_arena_release_compiler_version() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.compiler_version) + _impl_._has_bits_[0] &= ~0x00000002u; + ::PROTOBUF_NAMESPACE_ID::compiler::Version* temp = _impl_.compiler_version_; + _impl_.compiler_version_ = nullptr; + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::_internal_mutable_compiler_version() { + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.compiler_version_ == nullptr) { + auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::Version>(GetArenaForAllocation()); + _impl_.compiler_version_ = p; + } + return _impl_.compiler_version_; +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::mutable_compiler_version() { + ::PROTOBUF_NAMESPACE_ID::compiler::Version* _msg = _internal_mutable_compiler_version(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.compiler_version) + return _msg; +} +inline void CodeGeneratorRequest::set_allocated_compiler_version(::PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.compiler_version_; + } + if (compiler_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(compiler_version); + if (message_arena != submessage_arena) { + compiler_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, compiler_version, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.compiler_version_ = compiler_version; + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.compiler_version) +} + +// ------------------------------------------------------------------- + +// CodeGeneratorResponse_File + +// optional string name = 1; +inline bool CodeGeneratorResponse_File::_internal_has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CodeGeneratorResponse_File::has_name() const { + return _internal_has_name(); +} +inline void CodeGeneratorResponse_File::clear_name() { + _impl_.name_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CodeGeneratorResponse_File::name() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CodeGeneratorResponse_File::set_name(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name) +} +inline std::string* CodeGeneratorResponse_File::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name) + return _s; +} +inline const std::string& CodeGeneratorResponse_File::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CodeGeneratorResponse_File::_internal_set_name(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::_internal_mutable_name() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::release_name() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.name) + if (!_internal_has_name()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.name_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CodeGeneratorResponse_File::set_allocated_name(std::string* name) { + if (name != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _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:google.protobuf.compiler.CodeGeneratorResponse.File.name) +} + +// optional string insertion_point = 2; +inline bool CodeGeneratorResponse_File::_internal_has_insertion_point() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CodeGeneratorResponse_File::has_insertion_point() const { + return _internal_has_insertion_point(); +} +inline void CodeGeneratorResponse_File::clear_insertion_point() { + _impl_.insertion_point_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const std::string& CodeGeneratorResponse_File::insertion_point() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) + return _internal_insertion_point(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CodeGeneratorResponse_File::set_insertion_point(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.insertion_point_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) +} +inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() { + std::string* _s = _internal_mutable_insertion_point(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) + return _s; +} +inline const std::string& CodeGeneratorResponse_File::_internal_insertion_point() const { + return _impl_.insertion_point_.Get(); +} +inline void CodeGeneratorResponse_File::_internal_set_insertion_point(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.insertion_point_.Set(value, GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::_internal_mutable_insertion_point() { + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.insertion_point_.Mutable(GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::release_insertion_point() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) + if (!_internal_has_insertion_point()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* p = _impl_.insertion_point_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.insertion_point_.IsDefault()) { + _impl_.insertion_point_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CodeGeneratorResponse_File::set_allocated_insertion_point(std::string* insertion_point) { + if (insertion_point != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + _impl_.insertion_point_.SetAllocated(insertion_point, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.insertion_point_.IsDefault()) { + _impl_.insertion_point_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) +} + +// optional string content = 15; +inline bool CodeGeneratorResponse_File::_internal_has_content() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool CodeGeneratorResponse_File::has_content() const { + return _internal_has_content(); +} +inline void CodeGeneratorResponse_File::clear_content() { + _impl_.content_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& CodeGeneratorResponse_File::content() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content) + return _internal_content(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CodeGeneratorResponse_File::set_content(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.content_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content) +} +inline std::string* CodeGeneratorResponse_File::mutable_content() { + std::string* _s = _internal_mutable_content(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content) + return _s; +} +inline const std::string& CodeGeneratorResponse_File::_internal_content() const { + return _impl_.content_.Get(); +} +inline void CodeGeneratorResponse_File::_internal_set_content(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.content_.Set(value, GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::_internal_mutable_content() { + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.content_.Mutable(GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse_File::release_content() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.content) + if (!_internal_has_content()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* p = _impl_.content_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.content_.IsDefault()) { + _impl_.content_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CodeGeneratorResponse_File::set_allocated_content(std::string* content) { + if (content != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + _impl_.content_.SetAllocated(content, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.content_.IsDefault()) { + _impl_.content_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content) +} + +// optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; +inline bool CodeGeneratorResponse_File::_internal_has_generated_code_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.generated_code_info_ != nullptr); + return value; +} +inline bool CodeGeneratorResponse_File::has_generated_code_info() const { + return _internal_has_generated_code_info(); +} +inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& CodeGeneratorResponse_File::_internal_generated_code_info() const { + const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* p = _impl_.generated_code_info_; + return p != nullptr ? *p : reinterpret_cast( + ::PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_default_instance_); +} +inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& CodeGeneratorResponse_File::generated_code_info() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info) + return _internal_generated_code_info(); +} +inline void CodeGeneratorResponse_File::unsafe_arena_set_allocated_generated_code_info( + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.generated_code_info_); + } + _impl_.generated_code_info_ = generated_code_info; + if (generated_code_info) { + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info) +} +inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* CodeGeneratorResponse_File::release_generated_code_info() { + _impl_._has_bits_[0] &= ~0x00000008u; + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* temp = _impl_.generated_code_info_; + _impl_.generated_code_info_ = 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::GeneratedCodeInfo* CodeGeneratorResponse_File::unsafe_arena_release_generated_code_info() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info) + _impl_._has_bits_[0] &= ~0x00000008u; + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* temp = _impl_.generated_code_info_; + _impl_.generated_code_info_ = nullptr; + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* CodeGeneratorResponse_File::_internal_mutable_generated_code_info() { + _impl_._has_bits_[0] |= 0x00000008u; + if (_impl_.generated_code_info_ == nullptr) { + auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(GetArenaForAllocation()); + _impl_.generated_code_info_ = p; + } + return _impl_.generated_code_info_; +} +inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* CodeGeneratorResponse_File::mutable_generated_code_info() { + ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* _msg = _internal_mutable_generated_code_info(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info) + return _msg; +} +inline void CodeGeneratorResponse_File::set_allocated_generated_code_info(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.generated_code_info_); + } + if (generated_code_info) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(generated_code_info)); + if (message_arena != submessage_arena) { + generated_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, generated_code_info, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000008u; + } else { + _impl_._has_bits_[0] &= ~0x00000008u; + } + _impl_.generated_code_info_ = generated_code_info; + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info) +} + +// ------------------------------------------------------------------- + +// CodeGeneratorResponse + +// optional string error = 1; +inline bool CodeGeneratorResponse::_internal_has_error() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool CodeGeneratorResponse::has_error() const { + return _internal_has_error(); +} +inline void CodeGeneratorResponse::clear_error() { + _impl_.error_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& CodeGeneratorResponse::error() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error) + return _internal_error(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CodeGeneratorResponse::set_error(ArgT0&& arg0, ArgT... args) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error) +} +inline std::string* CodeGeneratorResponse::mutable_error() { + std::string* _s = _internal_mutable_error(); + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error) + return _s; +} +inline const std::string& CodeGeneratorResponse::_internal_error() const { + return _impl_.error_.Get(); +} +inline void CodeGeneratorResponse::_internal_set_error(const std::string& value) { + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.error_.Set(value, GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse::_internal_mutable_error() { + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.error_.Mutable(GetArenaForAllocation()); +} +inline std::string* CodeGeneratorResponse::release_error() { + // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.error) + if (!_internal_has_error()) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* p = _impl_.error_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_.IsDefault()) { + _impl_.error_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void CodeGeneratorResponse::set_allocated_error(std::string* error) { + if (error != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.error_.SetAllocated(error, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.error_.IsDefault()) { + _impl_.error_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error) +} + +// optional uint64 supported_features = 2; +inline bool CodeGeneratorResponse::_internal_has_supported_features() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool CodeGeneratorResponse::has_supported_features() const { + return _internal_has_supported_features(); +} +inline void CodeGeneratorResponse::clear_supported_features() { + _impl_.supported_features_ = uint64_t{0u}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline uint64_t CodeGeneratorResponse::_internal_supported_features() const { + return _impl_.supported_features_; +} +inline uint64_t CodeGeneratorResponse::supported_features() const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.supported_features) + return _internal_supported_features(); +} +inline void CodeGeneratorResponse::_internal_set_supported_features(uint64_t value) { + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.supported_features_ = value; +} +inline void CodeGeneratorResponse::set_supported_features(uint64_t value) { + _internal_set_supported_features(value); + // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.supported_features) +} + +// repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; +inline int CodeGeneratorResponse::_internal_file_size() const { + return _impl_.file_.size(); +} +inline int CodeGeneratorResponse::file_size() const { + return _internal_file_size(); +} +inline void CodeGeneratorResponse::clear_file() { + _impl_.file_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) { + // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file) + return _impl_.file_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >* +CodeGeneratorResponse::mutable_file() { + // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file) + return &_impl_.file_; +} +inline const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::_internal_file(int index) const { + return _impl_.file_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const { + // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file) + return _internal_file(index); +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::_internal_add_file() { + return _impl_.file_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() { + ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* _add = _internal_add_file(); + // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >& +CodeGeneratorResponse::file() const { + // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file) + return _impl_.file_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace compiler +PROTOBUF_NAMESPACE_CLOSE + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature>() { + return ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/scc.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/scc.h new file mode 100644 index 0000000..7b95689 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/scc.h @@ -0,0 +1,165 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef GOOGLE_PROTOBUF_COMPILER_SCC_H__ +#define GOOGLE_PROTOBUF_COMPILER_SCC_H__ + +#include + +#include +#include +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { +namespace compiler { + +// Description of each strongly connected component. Note that the order +// of both the descriptors in this SCC and the order of children is +// deterministic. +struct SCC { + std::vector descriptors; + std::vector children; + + const Descriptor* GetRepresentative() const { return descriptors[0]; } + + // All messages must necessarily be in the same file. + const FileDescriptor* GetFile() const { return descriptors[0]->file(); } +}; + +// This class is used for analyzing the SCC for each message, to ensure linear +// instead of quadratic performance, if we do this per message we would get +// O(V*(V+E)). +template +class PROTOC_EXPORT SCCAnalyzer { + public: + explicit SCCAnalyzer() : index_(0) {} + + const SCC* GetSCC(const Descriptor* descriptor) { + if (cache_.count(descriptor)) return cache_[descriptor].scc; + return DFS(descriptor).scc; + } + + private: + struct NodeData { + const SCC* scc; // if null it means its still on the stack + int index; + int lowlink; + }; + + std::map cache_; + std::vector stack_; + int index_; + std::vector> garbage_bin_; + + SCC* CreateSCC() { + garbage_bin_.emplace_back(new SCC()); + return garbage_bin_.back().get(); + } + + // Tarjan's Strongly Connected Components algo + NodeData DFS(const Descriptor* descriptor) { + // Must not have visited already. + GOOGLE_DCHECK_EQ(cache_.count(descriptor), 0); + + // Mark visited by inserting in map. + NodeData& result = cache_[descriptor]; + // Initialize data structures. + result.index = result.lowlink = index_++; + stack_.push_back(descriptor); + + // Recurse the fields / nodes in graph + for (auto dep : DepsGenerator()(descriptor)) { + GOOGLE_CHECK(dep); + if (cache_.count(dep) == 0) { + // unexplored node + NodeData child_data = DFS(dep); + result.lowlink = std::min(result.lowlink, child_data.lowlink); + } else { + NodeData child_data = cache_[dep]; + if (child_data.scc == nullptr) { + // Still in the stack_ so we found a back edge + result.lowlink = std::min(result.lowlink, child_data.index); + } + } + } + if (result.index == result.lowlink) { + // This is the root of a strongly connected component + SCC* scc = CreateSCC(); + while (true) { + const Descriptor* scc_desc = stack_.back(); + scc->descriptors.push_back(scc_desc); + // Remove from stack + stack_.pop_back(); + cache_[scc_desc].scc = scc; + + if (scc_desc == descriptor) break; + } + + // The order of descriptors is random and depends how this SCC was + // discovered. In-order to ensure maximum stability we sort it by name. + std::sort(scc->descriptors.begin(), scc->descriptors.end(), + [](const Descriptor* a, const Descriptor* b) { + return a->full_name() < b->full_name(); + }); + AddChildren(scc); + } + return result; + } + + // Add the SCC's that are children of this SCC to its children. + void AddChildren(SCC* scc) { + std::set seen; + for (auto descriptor : scc->descriptors) { + for (auto child_msg : DepsGenerator()(descriptor)) { + GOOGLE_CHECK(child_msg); + const SCC* child = GetSCC(child_msg); + if (child == scc) continue; + if (seen.insert(child).second) { + scc->children.push_back(child); + } + } + } + } + + // This is necessary for compiler bug in msvc2015. + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(SCCAnalyzer); +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_SCC_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/subprocess.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/subprocess.h new file mode 100644 index 0000000..5cb784d --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/subprocess.h @@ -0,0 +1,114 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) + +#ifndef GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__ +#define GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__ + +#ifdef _WIN32 +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN // right... +#endif +#include +#else // _WIN32 +#include +#include +#endif // !_WIN32 +#include + +#include + +// Must be included last. +#include + +namespace google { +namespace protobuf { + +class Message; + +namespace compiler { + +// Utility class for launching sub-processes. +class PROTOC_EXPORT Subprocess { + public: + Subprocess(); + ~Subprocess(); + + enum SearchMode { + SEARCH_PATH, // Use PATH environment variable. + EXACT_NAME // Program is an exact file name; don't use the PATH. + }; + + // Start the subprocess. Currently we don't provide a way to specify + // arguments as protoc plugins don't have any. + void Start(const std::string& program, SearchMode search_mode); + + // Serialize the input message and pipe it to the subprocess's stdin, then + // close the pipe. Meanwhile, read from the subprocess's stdout and parse + // the data into *output. All this is done carefully to avoid deadlocks. + // Returns true if successful. On any sort of error, returns false and sets + // *error to a description of the problem. + bool Communicate(const Message& input, Message* output, std::string* error); + +#ifdef _WIN32 + // Given an error code, returns a human-readable error message. This is + // defined here so that CommandLineInterface can share it. + static std::string Win32ErrorMessage(DWORD error_code); +#endif + + private: +#ifdef _WIN32 + DWORD process_start_error_; + HANDLE child_handle_; + + // The file handles for our end of the child's pipes. We close each and + // set it to NULL when no longer needed. + HANDLE child_stdin_; + HANDLE child_stdout_; + +#else // _WIN32 + pid_t child_pid_; + + // The file descriptors for our end of the child's pipes. We close each and + // set it to -1 when no longer needed. + int child_stdin_; + int child_stdout_; + +#endif // !_WIN32 +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#include + +#endif // GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/zip_writer.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/zip_writer.h new file mode 100644 index 0000000..5d7f69a --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/compiler/zip_writer.h @@ -0,0 +1,69 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +#ifndef GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__ +#define GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__ + +#include +#include + +#include +#include + +namespace google { +namespace protobuf { +namespace compiler { + +class ZipWriter { + public: + ZipWriter(io::ZeroCopyOutputStream* raw_output); + ~ZipWriter(); + + bool Write(const std::string& filename, const std::string& contents); + bool WriteDirectory(); + + private: + struct FileInfo { + std::string name; + uint32_t offset; + uint32_t size; + uint32_t crc32; + }; + + io::ZeroCopyOutputStream* raw_output_; + std::vector files_; +}; + +} // namespace compiler +} // namespace protobuf +} // namespace google + +#endif // GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__ diff --git a/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor.h b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor.h new file mode 100644 index 0000000..6e536e5 --- /dev/null +++ b/Andromeda-CS2-Base/Andromeda-CS2-Base/Common/Include/google/protobuf/descriptor.h @@ -0,0 +1,2440 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// This file contains classes which describe a type of protocol message. +// You can use a message's descriptor to learn at runtime what fields +// it contains and what the types of those fields are. The Message +// interface also allows you to dynamically access and modify individual +// fields by passing the FieldDescriptor of the field you are interested +// in. +// +// Most users will not care about descriptors, because they will write +// code specific to certain protocol types and will simply use the classes +// generated by the protocol compiler directly. Advanced users who want +// to operate on arbitrary types (not known at compile time) may want to +// read descriptors in order to learn about the contents of a message. +// A very small number of users will want to construct their own +// Descriptors, either because they are implementing Message manually or +// because they are writing something like the protocol compiler. +// +// For an example of how you might use descriptors, see the code example +// at the top of message.h. + +#ifndef GOOGLE_PROTOBUF_DESCRIPTOR_H__ +#define GOOGLE_PROTOBUF_DESCRIPTOR_H__ + + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// Must be included last. +#include + +// TYPE_BOOL is defined in the MacOS's ConditionalMacros.h. +#ifdef TYPE_BOOL +#undef TYPE_BOOL +#endif // TYPE_BOOL + +#ifdef SWIG +#define PROTOBUF_EXPORT +#endif + + +namespace google { +namespace protobuf { + +// Defined in this file. +class Descriptor; +class FieldDescriptor; +class OneofDescriptor; +class EnumDescriptor; +class EnumValueDescriptor; +class ServiceDescriptor; +class MethodDescriptor; +class FileDescriptor; +class DescriptorDatabase; +class DescriptorPool; + +// Defined in descriptor.proto +class DescriptorProto; +class DescriptorProto_ExtensionRange; +class FieldDescriptorProto; +class OneofDescriptorProto; +class EnumDescriptorProto; +class EnumValueDescriptorProto; +class ServiceDescriptorProto; +class MethodDescriptorProto; +class FileDescriptorProto; +class MessageOptions; +class FieldOptions; +class OneofOptions; +class EnumOptions; +class EnumValueOptions; +class ExtensionRangeOptions; +class ServiceOptions; +class MethodOptions; +class FileOptions; +class UninterpretedOption; +class SourceCodeInfo; + +// Defined in message.h +class Message; +class Reflection; + +// Defined in descriptor.cc +class DescriptorBuilder; +class FileDescriptorTables; +class Symbol; + +// Defined in unknown_field_set.h. +class UnknownField; + +// Defined in command_line_interface.cc +namespace compiler { +class CommandLineInterface; +namespace cpp { +// Defined in helpers.h +class Formatter; +} // namespace cpp +} // namespace compiler + +namespace descriptor_unittest { +class DescriptorTest; +} // namespace descriptor_unittest + +// Defined in printer.h +namespace io { +class Printer; +} // namespace io + +// NB, all indices are zero-based. +struct SourceLocation { + int start_line; + int end_line; + int start_column; + int end_column; + + // Doc comments found at the source location. + // See the comments in SourceCodeInfo.Location (descriptor.proto) for details. + std::string leading_comments; + std::string trailing_comments; + std::vector leading_detached_comments; +}; + +// Options when generating machine-parsable output from a descriptor with +// DebugString(). +struct DebugStringOptions { + // include original user comments as recorded in SourceLocation entries. N.B. + // that this must be |false| by default: several other pieces of code (for + // example, the C++ code generation for fields in the proto compiler) rely on + // DebugString() output being unobstructed by user comments. + bool include_comments; + // If true, elide the braced body in the debug string. + bool elide_group_body; + bool elide_oneof_body; + + DebugStringOptions() + : include_comments(false), + elide_group_body(false), + elide_oneof_body(false) { + } +}; + +// A class to handle the simplest cases of a lazily linked descriptor +// for a message type that isn't built at the time of cross linking, +// which is needed when a pool has lazily_build_dependencies_ set. +// Must be instantiated as mutable in a descriptor. +namespace internal { + +// The classes in this file represent a significant memory footprint for the +// library. We make sure we are not accidentally making them larger by +// hardcoding the struct size for a specific platform. Use as: +// +// PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(type, expected_size_in_x84-64); +// + +#if !defined(PROTOBUF_INTERNAL_CHECK_CLASS_SIZE) +#define PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(t, expected) +#endif + +class FlatAllocator; + +class PROTOBUF_EXPORT LazyDescriptor { + public: + // Init function to be called at init time of a descriptor containing + // a LazyDescriptor. + void Init() { + descriptor_ = nullptr; + once_ = nullptr; + } + + // Sets the value of the descriptor if it is known during the descriptor + // building process. Not thread safe, should only be called during the + // descriptor build process. Should not be called after SetLazy has been + // called. + void Set(const Descriptor* descriptor); + + // Sets the information needed to lazily cross link the descriptor at a later + // time, SetLazy is not thread safe, should be called only once at descriptor + // build time if the symbol wasn't found and building of the file containing + // that type is delayed because lazily_build_dependencies_ is set on the pool. + // Should not be called after Set() has been called. + void SetLazy(StringPiece name, const FileDescriptor* file); + + // Returns the current value of the descriptor, thread-safe. If SetLazy(...) + // has been called, will do a one-time cross link of the type specified, + // building the descriptor file that contains the type if necessary. + inline const Descriptor* Get(const ServiceDescriptor* service) { + Once(service); + return descriptor_; + } + + private: + void Once(const ServiceDescriptor* service); + + const Descriptor* descriptor_; + // The once_ flag is followed by a NUL terminated string for the type name. + internal::once_flag* once_; +}; + +class PROTOBUF_EXPORT SymbolBase { + private: + friend class google::protobuf::Symbol; + uint8_t symbol_type_; +}; + +// Some types have more than one SymbolBase because they have multiple +// identities in the table. We can't have duplicate direct bases, so we use this +// intermediate base to do so. +// See BuildEnumValue for details. +template +class PROTOBUF_EXPORT SymbolBaseN : public SymbolBase {}; + +} // namespace internal + +// Describes a type of protocol message, or a particular group within a +// message. To obtain the Descriptor for a given message object, call +// Message::GetDescriptor(). Generated message classes also have a +// static method called descriptor() which returns the type's descriptor. +// Use DescriptorPool to construct your own descriptors. +class PROTOBUF_EXPORT Descriptor : private internal::SymbolBase { + public: + typedef DescriptorProto Proto; + + // The name of the message type, not including its scope. + const std::string& name() const; + + // The fully-qualified name of the message type, scope delimited by + // periods. For example, message type "Foo" which is declared in package + // "bar" has full name "bar.Foo". If a type "Baz" is nested within + // Foo, Baz's full_name is "bar.Foo.Baz". To get only the part that + // comes after the last '.', use name(). + const std::string& full_name() const; + + // Index of this descriptor within the file or containing type's message + // type array. + int index() const; + + // The .proto file in which this message type was defined. Never nullptr. + const FileDescriptor* file() const; + + // If this Descriptor describes a nested type, this returns the type + // in which it is nested. Otherwise, returns nullptr. + const Descriptor* containing_type() const; + + // Get options for this message type. These are specified in the .proto file + // by placing lines like "option foo = 1234;" in the message definition. + // Allowed options are defined by MessageOptions in descriptor.proto, and any + // available extensions of that message. + const MessageOptions& options() const; + + // Write the contents of this Descriptor into the given DescriptorProto. + // The target DescriptorProto must be clear before calling this; if it + // isn't, the result may be garbage. + void CopyTo(DescriptorProto* proto) const; + + // Write the contents of this descriptor in a human-readable form. Output + // will be suitable for re-parsing. + std::string DebugString() const; + + // Similar to DebugString(), but additionally takes options (e.g., + // include original user comments in output). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Returns true if this is a placeholder for an unknown type. This will + // only be the case if this descriptor comes from a DescriptorPool + // with AllowUnknownDependencies() set. + bool is_placeholder() const; + + enum WellKnownType { + WELLKNOWNTYPE_UNSPECIFIED, // Not a well-known type. + + // Wrapper types. + WELLKNOWNTYPE_DOUBLEVALUE, // google.protobuf.DoubleValue + WELLKNOWNTYPE_FLOATVALUE, // google.protobuf.FloatValue + WELLKNOWNTYPE_INT64VALUE, // google.protobuf.Int64Value + WELLKNOWNTYPE_UINT64VALUE, // google.protobuf.UInt64Value + WELLKNOWNTYPE_INT32VALUE, // google.protobuf.Int32Value + WELLKNOWNTYPE_UINT32VALUE, // google.protobuf.UInt32Value + WELLKNOWNTYPE_STRINGVALUE, // google.protobuf.StringValue + WELLKNOWNTYPE_BYTESVALUE, // google.protobuf.BytesValue + WELLKNOWNTYPE_BOOLVALUE, // google.protobuf.BoolValue + + // Other well known types. + WELLKNOWNTYPE_ANY, // google.protobuf.Any + WELLKNOWNTYPE_FIELDMASK, // google.protobuf.FieldMask + WELLKNOWNTYPE_DURATION, // google.protobuf.Duration + WELLKNOWNTYPE_TIMESTAMP, // google.protobuf.Timestamp + WELLKNOWNTYPE_VALUE, // google.protobuf.Value + WELLKNOWNTYPE_LISTVALUE, // google.protobuf.ListValue + WELLKNOWNTYPE_STRUCT, // google.protobuf.Struct + + // New well-known types may be added in the future. + // Please make sure any switch() statements have a 'default' case. + __WELLKNOWNTYPE__DO_NOT_USE__ADD_DEFAULT_INSTEAD__, + }; + + WellKnownType well_known_type() const; + + // Field stuff ----------------------------------------------------- + + // The number of fields in this message type. + int field_count() const; + // Gets a field by index, where 0 <= index < field_count(). + // These are returned in the order they were defined in the .proto file. + const FieldDescriptor* field(int index) const; + + // Looks up a field by declared tag number. Returns nullptr if no such field + // exists. + const FieldDescriptor* FindFieldByNumber(int number) const; + // Looks up a field by name. Returns nullptr if no such field exists. + const FieldDescriptor* FindFieldByName(ConstStringParam name) const; + + // Looks up a field by lowercased name (as returned by lowercase_name()). + // This lookup may be ambiguous if multiple field names differ only by case, + // in which case the field returned is chosen arbitrarily from the matches. + const FieldDescriptor* FindFieldByLowercaseName( + ConstStringParam lowercase_name) const; + + // Looks up a field by camel-case name (as returned by camelcase_name()). + // This lookup may be ambiguous if multiple field names differ in a way that + // leads them to have identical camel-case names, in which case the field + // returned is chosen arbitrarily from the matches. + const FieldDescriptor* FindFieldByCamelcaseName( + ConstStringParam camelcase_name) const; + + // The number of oneofs in this message type. + int oneof_decl_count() const; + // The number of oneofs in this message type, excluding synthetic oneofs. + // Real oneofs always come first, so iterating up to real_oneof_decl_cout() + // will yield all real oneofs. + int real_oneof_decl_count() const; + // Get a oneof by index, where 0 <= index < oneof_decl_count(). + // These are returned in the order they were defined in the .proto file. + const OneofDescriptor* oneof_decl(int index) const; + + // Looks up a oneof by name. Returns nullptr if no such oneof exists. + const OneofDescriptor* FindOneofByName(ConstStringParam name) const; + + // Nested type stuff ----------------------------------------------- + + // The number of nested types in this message type. + int nested_type_count() const; + // Gets a nested type by index, where 0 <= index < nested_type_count(). + // These are returned in the order they were defined in the .proto file. + const Descriptor* nested_type(int index) const; + + // Looks up a nested type by name. Returns nullptr if no such nested type + // exists. + const Descriptor* FindNestedTypeByName(ConstStringParam name) const; + + // Enum stuff ------------------------------------------------------ + + // The number of enum types in this message type. + int enum_type_count() const; + // Gets an enum type by index, where 0 <= index < enum_type_count(). + // These are returned in the order they were defined in the .proto file. + const EnumDescriptor* enum_type(int index) const; + + // Looks up an enum type by name. Returns nullptr if no such enum type + // exists. + const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; + + // Looks up an enum value by name, among all enum types in this message. + // Returns nullptr if no such value exists. + const EnumValueDescriptor* FindEnumValueByName(ConstStringParam name) const; + + // Extensions ------------------------------------------------------ + + // A range of field numbers which are designated for third-party + // extensions. + struct ExtensionRange { + typedef DescriptorProto_ExtensionRange Proto; + + typedef ExtensionRangeOptions OptionsType; + + // See Descriptor::CopyTo(). + void CopyTo(DescriptorProto_ExtensionRange* proto) const; + + int start; // inclusive + int end; // exclusive + + const ExtensionRangeOptions* options_; + }; + + // The number of extension ranges in this message type. + int extension_range_count() const; + // Gets an extension range by index, where 0 <= index < + // extension_range_count(). These are returned in the order they were defined + // in the .proto file. + const ExtensionRange* extension_range(int index) const; + + // Returns true if the number is in one of the extension ranges. + bool IsExtensionNumber(int number) const; + + // Returns nullptr if no extension range contains the given number. + const ExtensionRange* FindExtensionRangeContainingNumber(int number) const; + + // The number of extensions defined nested within this message type's scope. + // See doc: + // https://developers.google.com/protocol-buffers/docs/proto#nested-extensions + // + // Note that the extensions may be extending *other* messages. + // + // For example: + // message M1 { + // extensions 1 to max; + // } + // + // message M2 { + // extend M1 { + // optional int32 foo = 1; + // } + // } + // + // In this case, + // DescriptorPool::generated_pool() + // ->FindMessageTypeByName("M2") + // ->extension(0) + // will return "foo", even though "foo" is an extension of M1. + // To find all known extensions of a given message, instead use + // DescriptorPool::FindAllExtensions. + int extension_count() const; + // Get an extension by index, where 0 <= index < extension_count(). + // These are returned in the order they were defined in the .proto file. + const FieldDescriptor* extension(int index) const; + + // Looks up a named extension (which extends some *other* message type) + // defined within this message type's scope. + const FieldDescriptor* FindExtensionByName(ConstStringParam name) const; + + // Similar to FindFieldByLowercaseName(), but finds extensions defined within + // this message type's scope. + const FieldDescriptor* FindExtensionByLowercaseName( + ConstStringParam name) const; + + // Similar to FindFieldByCamelcaseName(), but finds extensions defined within + // this message type's scope. + const FieldDescriptor* FindExtensionByCamelcaseName( + ConstStringParam name) const; + + // Reserved fields ------------------------------------------------- + + // A range of reserved field numbers. + struct ReservedRange { + int start; // inclusive + int end; // exclusive + }; + + // The number of reserved ranges in this message type. + int reserved_range_count() const; + // Gets an reserved range by index, where 0 <= index < + // reserved_range_count(). These are returned in the order they were defined + // in the .proto file. + const ReservedRange* reserved_range(int index) const; + + // Returns true if the number is in one of the reserved ranges. + bool IsReservedNumber(int number) const; + + // Returns nullptr if no reserved range contains the given number. + const ReservedRange* FindReservedRangeContainingNumber(int number) const; + + // The number of reserved field names in this message type. + int reserved_name_count() const; + + // Gets a reserved name by index, where 0 <= index < reserved_name_count(). + const std::string& reserved_name(int index) const; + + // Returns true if the field name is reserved. + bool IsReservedName(ConstStringParam name) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this message declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + // Maps -------------------------------------------------------------- + + // Returns the FieldDescriptor for the "key" field. If this isn't a map entry + // field, returns nullptr. + const FieldDescriptor* map_key() const; + + // Returns the FieldDescriptor for the "value" field. If this isn't a map + // entry field, returns nullptr. + const FieldDescriptor* map_value() const; + + private: + friend class Symbol; + typedef MessageOptions OptionsType; + + // Allows tests to test CopyTo(proto, true). + friend class descriptor_unittest::DescriptorTest; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // Fill the json_name field of FieldDescriptorProto. + void CopyJsonNameTo(DescriptorProto* proto) const; + + // Internal version of DebugString; controls the level of indenting for + // correct depth. Takes |options| to control debug-string options, and + // |include_opening_clause| to indicate whether the "message ... " part of the + // clause has already been generated (this varies depending on context). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options, + bool include_opening_clause) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + // True if this is a placeholder for an unknown type. + bool is_placeholder_ : 1; + // True if this is a placeholder and the type name wasn't fully-qualified. + bool is_unqualified_placeholder_ : 1; + // Well known type. Stored like this to conserve space. + uint8_t well_known_type_ : 5; + + // This points to the last field _number_ that is part of the sequence + // starting at 1, where + // `desc->field(i)->number() == i + 1` + // A value of `0` means no field matches. That is, there are no fields or the + // first field is not field `1`. + // Uses 16-bit to avoid extra padding. Unlikely to have more than 2^16 + // sequentially numbered fields in a message. + uint16_t sequential_field_limit_; + + int field_count_; + + // all_names_ = [name, full_name] + const std::string* all_names_; + const FileDescriptor* file_; + const Descriptor* containing_type_; + const MessageOptions* options_; + + // These arrays are separated from their sizes to minimize padding on 64-bit. + FieldDescriptor* fields_; + OneofDescriptor* oneof_decls_; + Descriptor* nested_types_; + EnumDescriptor* enum_types_; + ExtensionRange* extension_ranges_; + FieldDescriptor* extensions_; + ReservedRange* reserved_ranges_; + const std::string** reserved_names_; + + int oneof_decl_count_; + int real_oneof_decl_count_; + int nested_type_count_; + int enum_type_count_; + int extension_range_count_; + int extension_count_; + int reserved_range_count_; + int reserved_name_count_; + + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in descriptor.cc + // and update them to initialize the field. + + // Must be constructed using DescriptorPool. + Descriptor() {} + friend class DescriptorBuilder; + friend class DescriptorPool; + friend class EnumDescriptor; + friend class FieldDescriptor; + friend class FileDescriptorTables; + friend class OneofDescriptor; + friend class MethodDescriptor; + friend class FileDescriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Descriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(Descriptor, 136); + +// Describes a single field of a message. To get the descriptor for a given +// field, first get the Descriptor for the message in which it is defined, +// then call Descriptor::FindFieldByName(). To get a FieldDescriptor for +// an extension, do one of the following: +// - Get the Descriptor or FileDescriptor for its containing scope, then +// call Descriptor::FindExtensionByName() or +// FileDescriptor::FindExtensionByName(). +// - Given a DescriptorPool, call DescriptorPool::FindExtensionByNumber() or +// DescriptorPool::FindExtensionByPrintableName(). +// Use DescriptorPool to construct your own descriptors. +class PROTOBUF_EXPORT FieldDescriptor : private internal::SymbolBase { + public: + typedef FieldDescriptorProto Proto; + + // Identifies a field type. 0 is reserved for errors. The order is weird + // for historical reasons. Types 12 and up are new in proto2. + enum Type { + TYPE_DOUBLE = 1, // double, exactly eight bytes on the wire. + TYPE_FLOAT = 2, // float, exactly four bytes on the wire. + TYPE_INT64 = 3, // int64, varint on the wire. Negative numbers + // take 10 bytes. Use TYPE_SINT64 if negative + // values are likely. + TYPE_UINT64 = 4, // uint64, varint on the wire. + TYPE_INT32 = 5, // int32, varint on the wire. Negative numbers + // take 10 bytes. Use TYPE_SINT32 if negative + // values are likely. + TYPE_FIXED64 = 6, // uint64, exactly eight bytes on the wire. + TYPE_FIXED32 = 7, // uint32, exactly four bytes on the wire. + TYPE_BOOL = 8, // bool, varint on the wire. + TYPE_STRING = 9, // UTF-8 text. + TYPE_GROUP = 10, // Tag-delimited message. Deprecated. + TYPE_MESSAGE = 11, // Length-delimited message. + + TYPE_BYTES = 12, // Arbitrary byte array. + TYPE_UINT32 = 13, // uint32, varint on the wire + TYPE_ENUM = 14, // Enum, varint on the wire + TYPE_SFIXED32 = 15, // int32, exactly four bytes on the wire + TYPE_SFIXED64 = 16, // int64, exactly eight bytes on the wire + TYPE_SINT32 = 17, // int32, ZigZag-encoded varint on the wire + TYPE_SINT64 = 18, // int64, ZigZag-encoded varint on the wire + + MAX_TYPE = 18, // Constant useful for defining lookup tables + // indexed by Type. + }; + + // Specifies the C++ data type used to represent the field. There is a + // fixed mapping from Type to CppType where each Type maps to exactly one + // CppType. 0 is reserved for errors. + enum CppType { + CPPTYPE_INT32 = 1, // TYPE_INT32, TYPE_SINT32, TYPE_SFIXED32 + CPPTYPE_INT64 = 2, // TYPE_INT64, TYPE_SINT64, TYPE_SFIXED64 + CPPTYPE_UINT32 = 3, // TYPE_UINT32, TYPE_FIXED32 + CPPTYPE_UINT64 = 4, // TYPE_UINT64, TYPE_FIXED64 + CPPTYPE_DOUBLE = 5, // TYPE_DOUBLE + CPPTYPE_FLOAT = 6, // TYPE_FLOAT + CPPTYPE_BOOL = 7, // TYPE_BOOL + CPPTYPE_ENUM = 8, // TYPE_ENUM + CPPTYPE_STRING = 9, // TYPE_STRING, TYPE_BYTES + CPPTYPE_MESSAGE = 10, // TYPE_MESSAGE, TYPE_GROUP + + MAX_CPPTYPE = 10, // Constant useful for defining lookup tables + // indexed by CppType. + }; + + // Identifies whether the field is optional, required, or repeated. 0 is + // reserved for errors. + enum Label { + LABEL_OPTIONAL = 1, // optional + LABEL_REQUIRED = 2, // required + LABEL_REPEATED = 3, // repeated + + MAX_LABEL = 3, // Constant useful for defining lookup tables + // indexed by Label. + }; + + // Valid field numbers are positive integers up to kMaxNumber. + static const int kMaxNumber = (1 << 29) - 1; + + // First field number reserved for the protocol buffer library implementation. + // Users may not declare fields that use reserved numbers. + static const int kFirstReservedNumber = 19000; + // Last field number reserved for the protocol buffer library implementation. + // Users may not declare fields that use reserved numbers. + static const int kLastReservedNumber = 19999; + + const std::string& name() const; // Name of this field within the message. + const std::string& full_name() const; // Fully-qualified name of the field. + const std::string& json_name() const; // JSON name of this field. + const FileDescriptor* file() const; // File in which this field was defined. + bool is_extension() const; // Is this an extension field? + int number() const; // Declared tag number. + + // Same as name() except converted to lower-case. This (and especially the + // FindFieldByLowercaseName() method) can be useful when parsing formats + // which prefer to use lowercase naming style. (Although, technically + // field names should be lowercased anyway according to the protobuf style + // guide, so this only makes a difference when dealing with old .proto files + // which do not follow the guide.) + const std::string& lowercase_name() const; + + // Same as name() except converted to camel-case. In this conversion, any + // time an underscore appears in the name, it is removed and the next + // letter is capitalized. Furthermore, the first letter of the name is + // lower-cased. Examples: + // FooBar -> fooBar + // foo_bar -> fooBar + // fooBar -> fooBar + // This (and especially the FindFieldByCamelcaseName() method) can be useful + // when parsing formats which prefer to use camel-case naming style. + const std::string& camelcase_name() const; + + Type type() const; // Declared type of this field. + const char* type_name() const; // Name of the declared type. + CppType cpp_type() const; // C++ type of this field. + const char* cpp_type_name() const; // Name of the C++ type. + Label label() const; // optional/required/repeated + + bool is_required() const; // shorthand for label() == LABEL_REQUIRED + bool is_optional() const; // shorthand for label() == LABEL_OPTIONAL + bool is_repeated() const; // shorthand for label() == LABEL_REPEATED + bool is_packable() const; // shorthand for is_repeated() && + // IsTypePackable(type()) + bool is_packed() const; // shorthand for is_packable() && + // options().packed() + bool is_map() const; // shorthand for type() == TYPE_MESSAGE && + // message_type()->options().map_entry() + + // Returns true if this field was syntactically written with "optional" in the + // .proto file. Excludes singular proto3 fields that do not have a label. + bool has_optional_keyword() const; + + // Returns true if this field tracks presence, ie. does the field + // distinguish between "unset" and "present with default value." + // This includes required, optional, and oneof fields. It excludes maps, + // repeated fields, and singular proto3 fields without "optional". + // + // For fields where has_presence() == true, the return value of + // Reflection::HasField() is semantically meaningful. + bool has_presence() const; + + // Index of this field within the message's field array, or the file or + // extension scope's extensions array. + int index() const; + + // Does this field have an explicitly-declared default value? + bool has_default_value() const; + + // Whether the user has specified the json_name field option in the .proto + // file. + bool has_json_name() const; + + // Get the field default value if cpp_type() == CPPTYPE_INT32. If no + // explicit default was defined, the default is 0. + int32_t default_value_int32_t() const; + int32_t default_value_int32() const { return default_value_int32_t(); } + // Get the field default value if cpp_type() == CPPTYPE_INT64. If no + // explicit default was defined, the default is 0. + int64_t default_value_int64_t() const; + int64_t default_value_int64() const { return default_value_int64_t(); } + // Get the field default value if cpp_type() == CPPTYPE_UINT32. If no + // explicit default was defined, the default is 0. + uint32_t default_value_uint32_t() const; + uint32_t default_value_uint32() const { return default_value_uint32_t(); } + // Get the field default value if cpp_type() == CPPTYPE_UINT64. If no + // explicit default was defined, the default is 0. + uint64_t default_value_uint64_t() const; + uint64_t default_value_uint64() const { return default_value_uint64_t(); } + // Get the field default value if cpp_type() == CPPTYPE_FLOAT. If no + // explicit default was defined, the default is 0.0. + float default_value_float() const; + // Get the field default value if cpp_type() == CPPTYPE_DOUBLE. If no + // explicit default was defined, the default is 0.0. + double default_value_double() const; + // Get the field default value if cpp_type() == CPPTYPE_BOOL. If no + // explicit default was defined, the default is false. + bool default_value_bool() const; + // Get the field default value if cpp_type() == CPPTYPE_ENUM. If no + // explicit default was defined, the default is the first value defined + // in the enum type (all enum types are required to have at least one value). + // This never returns nullptr. + const EnumValueDescriptor* default_value_enum() const; + // Get the field default value if cpp_type() == CPPTYPE_STRING. If no + // explicit default was defined, the default is the empty string. + const std::string& default_value_string() const; + + // The Descriptor for the message of which this is a field. For extensions, + // this is the extended type. Never nullptr. + const Descriptor* containing_type() const; + + // If the field is a member of a oneof, this is the one, otherwise this is + // nullptr. + const OneofDescriptor* containing_oneof() const; + + // If the field is a member of a non-synthetic oneof, returns the descriptor + // for the oneof, otherwise returns nullptr. + const OneofDescriptor* real_containing_oneof() const; + + // If the field is a member of a oneof, returns the index in that oneof. + int index_in_oneof() const; + + // An extension may be declared within the scope of another message. If this + // field is an extension (is_extension() is true), then extension_scope() + // returns that message, or nullptr if the extension was declared at global + // scope. If this is not an extension, extension_scope() is undefined (may + // assert-fail). + const Descriptor* extension_scope() const; + + // If type is TYPE_MESSAGE or TYPE_GROUP, returns a descriptor for the + // message or the group type. Otherwise, returns null. + const Descriptor* message_type() const; + // If type is TYPE_ENUM, returns a descriptor for the enum. Otherwise, + // returns null. + const EnumDescriptor* enum_type() const; + + // Get the FieldOptions for this field. This includes things listed in + // square brackets after the field definition. E.g., the field: + // optional string text = 1 [ctype=CORD]; + // has the "ctype" option set. Allowed options are defined by FieldOptions in + // descriptor.proto, and any available extensions of that message. + const FieldOptions& options() const; + + // See Descriptor::CopyTo(). + void CopyTo(FieldDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Helper method to get the CppType for a particular Type. + static CppType TypeToCppType(Type type); + + // Helper method to get the name of a Type. + static const char* TypeName(Type type); + + // Helper method to get the name of a CppType. + static const char* CppTypeName(CppType cpp_type); + + // Return true iff [packed = true] is valid for fields of this type. + static inline bool IsTypePackable(Type field_type); + + // Returns full_name() except if the field is a MessageSet extension, + // in which case it returns the full_name() of the containing message type + // for backwards compatibility with proto1. + // + // A MessageSet extension is defined as an optional message extension + // whose containing type has the message_set_wire_format option set. + // This should be true of extensions of google.protobuf.bridge.MessageSet; + // by convention, such extensions are named "message_set_extension". + // + // The opposite operation (looking up an extension's FieldDescriptor given + // its printable name) can be accomplished with + // message->file()->pool()->FindExtensionByPrintableName(message, name) + // where the extension extends "message". + const std::string& PrintableNameForExtension() const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this field declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef FieldOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + friend class Reflection; + + // Fill the json_name field of FieldDescriptorProto. + void CopyJsonNameTo(FieldDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options) const; + + // formats the default value appropriately and returns it as a string. + // Must have a default value to call this. If quote_string_type is true, then + // types of CPPTYPE_STRING will be surrounded by quotes and CEscaped. + std::string DefaultValueAsString(bool quote_string_type) const; + + // Helper function that returns the field type name for DebugString. + std::string FieldTypeNameDebugString() const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + // Returns true if this is a map message type. + bool is_map_message_type() const; + + bool has_default_value_ : 1; + bool proto3_optional_ : 1; + // Whether the user has specified the json_name field option in the .proto + // file. + bool has_json_name_ : 1; + bool is_extension_ : 1; + bool is_oneof_ : 1; + + // Actually a `Label` but stored as uint8_t to save space. + uint8_t label_ : 2; + + // Actually a `Type`, but stored as uint8_t to save space. + mutable uint8_t type_; + + // Logically: + // all_names_ = [name, full_name, lower, camel, json] + // However: + // duplicates will be omitted, so lower/camel/json might be in the same + // position. + // We store the true offset for each name here, and the bit width must be + // large enough to account for the worst case where all names are present. + uint8_t lowercase_name_index_ : 2; + uint8_t camelcase_name_index_ : 2; + uint8_t json_name_index_ : 3; + // Sadly, `number_` located here to reduce padding. Unrelated to all_names_ + // and its indices above. + int number_; + const std::string* all_names_; + const FileDescriptor* file_; + + // The once_flag is followed by a NUL terminated string for the type name and + // enum default value (or empty string if no default enum). + internal::once_flag* type_once_; + static void TypeOnceInit(const FieldDescriptor* to_init); + void InternalTypeOnceInit() const; + const Descriptor* containing_type_; + union { + const OneofDescriptor* containing_oneof; + const Descriptor* extension_scope; + } scope_; + union { + mutable const Descriptor* message_type; + mutable const EnumDescriptor* enum_type; + } type_descriptor_; + const FieldOptions* options_; + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in + // descriptor.cc and update them to initialize the field. + + union { + int32_t default_value_int32_t_; + int64_t default_value_int64_t_; + uint32_t default_value_uint32_t_; + uint64_t default_value_uint64_t_; + float default_value_float_; + double default_value_double_; + bool default_value_bool_; + + mutable const EnumValueDescriptor* default_value_enum_; + const std::string* default_value_string_; + mutable std::atomic default_generated_instance_; + }; + + static const CppType kTypeToCppTypeMap[MAX_TYPE + 1]; + + static const char* const kTypeToName[MAX_TYPE + 1]; + + static const char* const kCppTypeToName[MAX_CPPTYPE + 1]; + + static const char* const kLabelToName[MAX_LABEL + 1]; + + // Must be constructed using DescriptorPool. + FieldDescriptor() {} + friend class DescriptorBuilder; + friend class FileDescriptor; + friend class Descriptor; + friend class OneofDescriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(FieldDescriptor, 72); + +// Describes a oneof defined in a message type. +class PROTOBUF_EXPORT OneofDescriptor : private internal::SymbolBase { + public: + typedef OneofDescriptorProto Proto; + + const std::string& name() const; // Name of this oneof. + const std::string& full_name() const; // Fully-qualified name of the oneof. + + // Index of this oneof within the message's oneof array. + int index() const; + + // Returns whether this oneof was inserted by the compiler to wrap a proto3 + // optional field. If this returns true, code generators should *not* emit it. + bool is_synthetic() const; + + // The .proto file in which this oneof was defined. Never nullptr. + const FileDescriptor* file() const; + // The Descriptor for the message containing this oneof. + const Descriptor* containing_type() const; + + // The number of (non-extension) fields which are members of this oneof. + int field_count() const; + // Get a member of this oneof, in the order in which they were declared in the + // .proto file. Does not include extensions. + const FieldDescriptor* field(int index) const; + + const OneofOptions& options() const; + + // See Descriptor::CopyTo(). + void CopyTo(OneofDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this oneof declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef OneofOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // See Descriptor::DebugString(). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + int field_count_; + + // all_names_ = [name, full_name] + const std::string* all_names_; + const Descriptor* containing_type_; + const OneofOptions* options_; + const FieldDescriptor* fields_; + + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() + // in descriptor.cc and update them to initialize the field. + + // Must be constructed using DescriptorPool. + OneofDescriptor() {} + friend class DescriptorBuilder; + friend class Descriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(OneofDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(OneofDescriptor, 40); + +// Describes an enum type defined in a .proto file. To get the EnumDescriptor +// for a generated enum type, call TypeName_descriptor(). Use DescriptorPool +// to construct your own descriptors. +class PROTOBUF_EXPORT EnumDescriptor : private internal::SymbolBase { + public: + typedef EnumDescriptorProto Proto; + + // The name of this enum type in the containing scope. + const std::string& name() const; + + // The fully-qualified name of the enum type, scope delimited by periods. + const std::string& full_name() const; + + // Index of this enum within the file or containing message's enum array. + int index() const; + + // The .proto file in which this enum type was defined. Never nullptr. + const FileDescriptor* file() const; + + // The number of values for this EnumDescriptor. Guaranteed to be greater + // than zero. + int value_count() const; + // Gets a value by index, where 0 <= index < value_count(). + // These are returned in the order they were defined in the .proto file. + const EnumValueDescriptor* value(int index) const; + + // Looks up a value by name. Returns nullptr if no such value exists. + const EnumValueDescriptor* FindValueByName(ConstStringParam name) const; + // Looks up a value by number. Returns nullptr if no such value exists. If + // multiple values have this number, the first one defined is returned. + const EnumValueDescriptor* FindValueByNumber(int number) const; + + // If this enum type is nested in a message type, this is that message type. + // Otherwise, nullptr. + const Descriptor* containing_type() const; + + // Get options for this enum type. These are specified in the .proto file by + // placing lines like "option foo = 1234;" in the enum definition. Allowed + // options are defined by EnumOptions in descriptor.proto, and any available + // extensions of that message. + const EnumOptions& options() const; + + // See Descriptor::CopyTo(). + void CopyTo(EnumDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Returns true if this is a placeholder for an unknown enum. This will + // only be the case if this descriptor comes from a DescriptorPool + // with AllowUnknownDependencies() set. + bool is_placeholder() const; + + // Reserved fields ------------------------------------------------- + + // A range of reserved field numbers. + struct ReservedRange { + int start; // inclusive + int end; // inclusive + }; + + // The number of reserved ranges in this message type. + int reserved_range_count() const; + // Gets an reserved range by index, where 0 <= index < + // reserved_range_count(). These are returned in the order they were defined + // in the .proto file. + const EnumDescriptor::ReservedRange* reserved_range(int index) const; + + // Returns true if the number is in one of the reserved ranges. + bool IsReservedNumber(int number) const; + + // Returns nullptr if no reserved range contains the given number. + const EnumDescriptor::ReservedRange* FindReservedRangeContainingNumber( + int number) const; + + // The number of reserved field names in this message type. + int reserved_name_count() const; + + // Gets a reserved name by index, where 0 <= index < reserved_name_count(). + const std::string& reserved_name(int index) const; + + // Returns true if the field name is reserved. + bool IsReservedName(ConstStringParam name) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this enum declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef EnumOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // Allow access to FindValueByNumberCreatingIfUnknown. + friend class descriptor_unittest::DescriptorTest; + + // Looks up a value by number. If the value does not exist, dynamically + // creates a new EnumValueDescriptor for that value, assuming that it was + // unknown. If a new descriptor is created, this is done in a thread-safe way, + // and future calls will return the same value descriptor pointer. + // + // This is private but is used by Reflection (which is friended below) to + // return a valid EnumValueDescriptor from GetEnum() when this feature is + // enabled. + const EnumValueDescriptor* FindValueByNumberCreatingIfUnknown( + int number) const; + + // See Descriptor::DebugString(). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + // True if this is a placeholder for an unknown type. + bool is_placeholder_ : 1; + // True if this is a placeholder and the type name wasn't fully-qualified. + bool is_unqualified_placeholder_ : 1; + + // This points to the last value _index_ that is part of the sequence starting + // with the first label, where + // `enum->value(i)->number() == enum->value(0)->number() + i` + // We measure relative to the first label to adapt to enum labels starting at + // 0 or 1. + // Uses 16-bit to avoid extra padding. Unlikely to have more than 2^15 + // sequentially numbered labels in an enum. + int16_t sequential_value_limit_; + + int value_count_; + + // all_names_ = [name, full_name] + const std::string* all_names_; + const FileDescriptor* file_; + const Descriptor* containing_type_; + const EnumOptions* options_; + EnumValueDescriptor* values_; + + int reserved_range_count_; + int reserved_name_count_; + EnumDescriptor::ReservedRange* reserved_ranges_; + const std::string** reserved_names_; + + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in + // descriptor.cc and update them to initialize the field. + + // Must be constructed using DescriptorPool. + EnumDescriptor() {} + friend class DescriptorBuilder; + friend class Descriptor; + friend class FieldDescriptor; + friend class FileDescriptorTables; + friend class EnumValueDescriptor; + friend class FileDescriptor; + friend class DescriptorPool; + friend class Reflection; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(EnumDescriptor, 72); + +// Describes an individual enum constant of a particular type. To get the +// EnumValueDescriptor for a given enum value, first get the EnumDescriptor +// for its type, then use EnumDescriptor::FindValueByName() or +// EnumDescriptor::FindValueByNumber(). Use DescriptorPool to construct +// your own descriptors. +class PROTOBUF_EXPORT EnumValueDescriptor : private internal::SymbolBaseN<0>, + private internal::SymbolBaseN<1> { + public: + typedef EnumValueDescriptorProto Proto; + + const std::string& name() const; // Name of this enum constant. + int index() const; // Index within the enums's Descriptor. + int number() const; // Numeric value of this enum constant. + + // The full_name of an enum value is a sibling symbol of the enum type. + // e.g. the full name of FieldDescriptorProto::TYPE_INT32 is actually + // "google.protobuf.FieldDescriptorProto.TYPE_INT32", NOT + // "google.protobuf.FieldDescriptorProto.Type.TYPE_INT32". This is to conform + // with C++ scoping rules for enums. + const std::string& full_name() const; + + // The .proto file in which this value was defined. Never nullptr. + const FileDescriptor* file() const; + // The type of this value. Never nullptr. + const EnumDescriptor* type() const; + + // Get options for this enum value. These are specified in the .proto file by + // adding text like "[foo = 1234]" after an enum value definition. Allowed + // options are defined by EnumValueOptions in descriptor.proto, and any + // available extensions of that message. + const EnumValueOptions& options() const; + + // See Descriptor::CopyTo(). + void CopyTo(EnumValueDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this enum value declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef EnumValueOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // See Descriptor::DebugString(). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + int number_; + // all_names_ = [name, full_name] + const std::string* all_names_; + const EnumDescriptor* type_; + const EnumValueOptions* options_; + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() + // in descriptor.cc and update them to initialize the field. + + // Must be constructed using DescriptorPool. + EnumValueDescriptor() {} + friend class DescriptorBuilder; + friend class EnumDescriptor; + friend class DescriptorPool; + friend class FileDescriptorTables; + friend class Reflection; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumValueDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(EnumValueDescriptor, 32); + +// Describes an RPC service. Use DescriptorPool to construct your own +// descriptors. +class PROTOBUF_EXPORT ServiceDescriptor : private internal::SymbolBase { + public: + typedef ServiceDescriptorProto Proto; + + // The name of the service, not including its containing scope. + const std::string& name() const; + // The fully-qualified name of the service, scope delimited by periods. + const std::string& full_name() const; + // Index of this service within the file's services array. + int index() const; + + // The .proto file in which this service was defined. Never nullptr. + const FileDescriptor* file() const; + + // Get options for this service type. These are specified in the .proto file + // by placing lines like "option foo = 1234;" in the service definition. + // Allowed options are defined by ServiceOptions in descriptor.proto, and any + // available extensions of that message. + const ServiceOptions& options() const; + + // The number of methods this service defines. + int method_count() const; + // Gets a MethodDescriptor by index, where 0 <= index < method_count(). + // These are returned in the order they were defined in the .proto file. + const MethodDescriptor* method(int index) const; + + // Look up a MethodDescriptor by name. + const MethodDescriptor* FindMethodByName(ConstStringParam name) const; + + // See Descriptor::CopyTo(). + void CopyTo(ServiceDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this service declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef ServiceOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // See Descriptor::DebugString(). + void DebugString(std::string* contents, + const DebugStringOptions& options) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + // all_names_ = [name, full_name] + const std::string* all_names_; + const FileDescriptor* file_; + const ServiceOptions* options_; + MethodDescriptor* methods_; + int method_count_; + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in + // descriptor.cc and update them to initialize the field. + + // Must be constructed using DescriptorPool. + ServiceDescriptor() {} + friend class DescriptorBuilder; + friend class FileDescriptor; + friend class MethodDescriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(ServiceDescriptor, 48); + +// Describes an individual service method. To obtain a MethodDescriptor given +// a service, first get its ServiceDescriptor, then call +// ServiceDescriptor::FindMethodByName(). Use DescriptorPool to construct your +// own descriptors. +class PROTOBUF_EXPORT MethodDescriptor : private internal::SymbolBase { + public: + typedef MethodDescriptorProto Proto; + + // Name of this method, not including containing scope. + const std::string& name() const; + // The fully-qualified name of the method, scope delimited by periods. + const std::string& full_name() const; + // Index within the service's Descriptor. + int index() const; + + // The .proto file in which this method was defined. Never nullptr. + const FileDescriptor* file() const; + // Gets the service to which this method belongs. Never nullptr. + const ServiceDescriptor* service() const; + + // Gets the type of protocol message which this method accepts as input. + const Descriptor* input_type() const; + // Gets the type of protocol message which this message produces as output. + const Descriptor* output_type() const; + + // Gets whether the client streams multiple requests. + bool client_streaming() const; + // Gets whether the server streams multiple responses. + bool server_streaming() const; + + // Get options for this method. These are specified in the .proto file by + // placing lines like "option foo = 1234;" in curly-braces after a method + // declaration. Allowed options are defined by MethodOptions in + // descriptor.proto, and any available extensions of that message. + const MethodOptions& options() const; + + // See Descriptor::CopyTo(). + void CopyTo(MethodDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Source Location --------------------------------------------------- + + // Updates |*out_location| to the source location of the complete + // extent of this method declaration. Returns false and leaves + // |*out_location| unchanged iff location information was not available. + bool GetSourceLocation(SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef MethodOptions OptionsType; + + // Allows access to GetLocationPath for annotations. + friend class io::Printer; + friend class compiler::cpp::Formatter; + + // See Descriptor::DebugString(). + void DebugString(int depth, std::string* contents, + const DebugStringOptions& options) const; + + // Walks up the descriptor tree to generate the source location path + // to this descriptor from the file root. + void GetLocationPath(std::vector* output) const; + + bool client_streaming_; + bool server_streaming_; + // all_names_ = [name, full_name] + const std::string* all_names_; + const ServiceDescriptor* service_; + mutable internal::LazyDescriptor input_type_; + mutable internal::LazyDescriptor output_type_; + const MethodOptions* options_; + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in + // descriptor.cc and update them to initialize the field. + + // Must be constructed using DescriptorPool. + MethodDescriptor() {} + friend class DescriptorBuilder; + friend class ServiceDescriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MethodDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(MethodDescriptor, 64); + +// Describes a whole .proto file. To get the FileDescriptor for a compiled-in +// file, get the descriptor for something defined in that file and call +// descriptor->file(). Use DescriptorPool to construct your own descriptors. +class PROTOBUF_EXPORT FileDescriptor : private internal::SymbolBase { + public: + typedef FileDescriptorProto Proto; + + // The filename, relative to the source tree. + // e.g. "foo/bar/baz.proto" + const std::string& name() const; + + // The package, e.g. "google.protobuf.compiler". + const std::string& package() const; + + // The DescriptorPool in which this FileDescriptor and all its contents were + // allocated. Never nullptr. + const DescriptorPool* pool() const; + + // The number of files imported by this one. + int dependency_count() const; + // Gets an imported file by index, where 0 <= index < dependency_count(). + // These are returned in the order they were defined in the .proto file. + const FileDescriptor* dependency(int index) const; + + // The number of files public imported by this one. + // The public dependency list is a subset of the dependency list. + int public_dependency_count() const; + // Gets a public imported file by index, where 0 <= index < + // public_dependency_count(). + // These are returned in the order they were defined in the .proto file. + const FileDescriptor* public_dependency(int index) const; + + // The number of files that are imported for weak fields. + // The weak dependency list is a subset of the dependency list. + int weak_dependency_count() const; + // Gets a weak imported file by index, where 0 <= index < + // weak_dependency_count(). + // These are returned in the order they were defined in the .proto file. + const FileDescriptor* weak_dependency(int index) const; + + // Number of top-level message types defined in this file. (This does not + // include nested types.) + int message_type_count() const; + // Gets a top-level message type, where 0 <= index < message_type_count(). + // These are returned in the order they were defined in the .proto file. + const Descriptor* message_type(int index) const; + + // Number of top-level enum types defined in this file. (This does not + // include nested types.) + int enum_type_count() const; + // Gets a top-level enum type, where 0 <= index < enum_type_count(). + // These are returned in the order they were defined in the .proto file. + const EnumDescriptor* enum_type(int index) const; + + // Number of services defined in this file. + int service_count() const; + // Gets a service, where 0 <= index < service_count(). + // These are returned in the order they were defined in the .proto file. + const ServiceDescriptor* service(int index) const; + + // Number of extensions defined at file scope. (This does not include + // extensions nested within message types.) + int extension_count() const; + // Gets an extension's descriptor, where 0 <= index < extension_count(). + // These are returned in the order they were defined in the .proto file. + const FieldDescriptor* extension(int index) const; + + // Get options for this file. These are specified in the .proto file by + // placing lines like "option foo = 1234;" at the top level, outside of any + // other definitions. Allowed options are defined by FileOptions in + // descriptor.proto, and any available extensions of that message. + const FileOptions& options() const; + + // Syntax of this file. + enum Syntax { + SYNTAX_UNKNOWN = 0, + SYNTAX_PROTO2 = 2, + SYNTAX_PROTO3 = 3, + }; + Syntax syntax() const; + static const char* SyntaxName(Syntax syntax); + + // Find a top-level message type by name (not full_name). Returns nullptr if + // not found. + const Descriptor* FindMessageTypeByName(ConstStringParam name) const; + // Find a top-level enum type by name. Returns nullptr if not found. + const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; + // Find an enum value defined in any top-level enum by name. Returns nullptr + // if not found. + const EnumValueDescriptor* FindEnumValueByName(ConstStringParam name) const; + // Find a service definition by name. Returns nullptr if not found. + const ServiceDescriptor* FindServiceByName(ConstStringParam name) const; + // Find a top-level extension definition by name. Returns nullptr if not + // found. + const FieldDescriptor* FindExtensionByName(ConstStringParam name) const; + // Similar to FindExtensionByName(), but searches by lowercased-name. See + // Descriptor::FindFieldByLowercaseName(). + const FieldDescriptor* FindExtensionByLowercaseName( + ConstStringParam name) const; + // Similar to FindExtensionByName(), but searches by camelcased-name. See + // Descriptor::FindFieldByCamelcaseName(). + const FieldDescriptor* FindExtensionByCamelcaseName( + ConstStringParam name) const; + + // See Descriptor::CopyTo(). + // Notes: + // - This method does NOT copy source code information since it is relatively + // large and rarely needed. See CopySourceCodeInfoTo() below. + void CopyTo(FileDescriptorProto* proto) const; + // Write the source code information of this FileDescriptor into the given + // FileDescriptorProto. See CopyTo() above. + void CopySourceCodeInfoTo(FileDescriptorProto* proto) const; + // Fill the json_name field of FieldDescriptorProto for all fields. Can only + // be called after CopyTo(). + void CopyJsonNameTo(FileDescriptorProto* proto) const; + + // See Descriptor::DebugString(). + std::string DebugString() const; + + // See Descriptor::DebugStringWithOptions(). + std::string DebugStringWithOptions(const DebugStringOptions& options) const; + + // Returns true if this is a placeholder for an unknown file. This will + // only be the case if this descriptor comes from a DescriptorPool + // with AllowUnknownDependencies() set. + bool is_placeholder() const; + + // Updates |*out_location| to the source location of the complete extent of + // this file declaration (namely, the empty path). + bool GetSourceLocation(SourceLocation* out_location) const; + + // Updates |*out_location| to the source location of the complete + // extent of the declaration or declaration-part denoted by |path|. + // Returns false and leaves |*out_location| unchanged iff location + // information was not available. (See SourceCodeInfo for + // description of path encoding.) + bool GetSourceLocation(const std::vector& path, + SourceLocation* out_location) const; + + private: + friend class Symbol; + typedef FileOptions OptionsType; + + bool is_placeholder_; + // Indicates the FileDescriptor is completed building. Used to verify + // that type accessor functions that can possibly build a dependent file + // aren't called during the process of building the file. + bool finished_building_; + // Actually a `Syntax` but stored as uint8_t to save space. + uint8_t syntax_; + // This one is here to fill the padding. + int extension_count_; + + const std::string* name_; + const std::string* package_; + const DescriptorPool* pool_; + + // dependencies_once_ contain a once_flag followed by N NUL terminated + // strings. Dependencies that do not need to be loaded will be empty. ie just + // {'\0'} + internal::once_flag* dependencies_once_; + static void DependenciesOnceInit(const FileDescriptor* to_init); + void InternalDependenciesOnceInit() const; + + // These are arranged to minimize padding on 64-bit. + int dependency_count_; + int public_dependency_count_; + int weak_dependency_count_; + int message_type_count_; + int enum_type_count_; + int service_count_; + + mutable const FileDescriptor** dependencies_; + int* public_dependencies_; + int* weak_dependencies_; + Descriptor* message_types_; + EnumDescriptor* enum_types_; + ServiceDescriptor* services_; + FieldDescriptor* extensions_; + const FileOptions* options_; + + const FileDescriptorTables* tables_; + const SourceCodeInfo* source_code_info_; + + // IMPORTANT: If you add a new field, make sure to search for all instances + // of Allocate() and AllocateArray() in + // descriptor.cc and update them to initialize the field. + + FileDescriptor() {} + friend class DescriptorBuilder; + friend class DescriptorPool; + friend class Descriptor; + friend class FieldDescriptor; + friend class internal::LazyDescriptor; + friend class OneofDescriptor; + friend class EnumDescriptor; + friend class EnumValueDescriptor; + friend class MethodDescriptor; + friend class ServiceDescriptor; + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileDescriptor); +}; + +PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(FileDescriptor, 144); + +// =================================================================== + +// Used to construct descriptors. +// +// Normally you won't want to build your own descriptors. Message classes +// constructed by the protocol compiler will provide them for you. However, +// if you are implementing Message on your own, or if you are writing a +// program which can operate on totally arbitrary types and needs to load +// them from some sort of database, you might need to. +// +// Since Descriptors are composed of a whole lot of cross-linked bits of +// data that would be a pain to put together manually, the +// DescriptorPool class is provided to make the process easier. It can +// take a FileDescriptorProto (defined in descriptor.proto), validate it, +// and convert it to a set of nicely cross-linked Descriptors. +// +// DescriptorPool also helps with memory management. Descriptors are +// composed of many objects containing static data and pointers to each +// other. In all likelihood, when it comes time to delete this data, +// you'll want to delete it all at once. In fact, it is not uncommon to +// have a whole pool of descriptors all cross-linked with each other which +// you wish to delete all at once. This class represents such a pool, and +// handles the memory management for you. +// +// You can also search for descriptors within a DescriptorPool by name, and +// extensions by number. +class PROTOBUF_EXPORT DescriptorPool { + public: + // Create a normal, empty DescriptorPool. + DescriptorPool(); + + // Constructs a DescriptorPool that, when it can't find something among the + // descriptors already in the pool, looks for it in the given + // DescriptorDatabase. + // Notes: + // - If a DescriptorPool is constructed this way, its BuildFile*() methods + // must not be called (they will assert-fail). The only way to populate + // the pool with descriptors is to call the Find*By*() methods. + // - The Find*By*() methods may block the calling thread if the + // DescriptorDatabase blocks. This in turn means that parsing messages + // may block if they need to look up extensions. + // - The Find*By*() methods will use mutexes for thread-safety, thus making + // them slower even when they don't have to fall back to the database. + // In fact, even the Find*By*() methods of descriptor objects owned by + // this pool will be slower, since they will have to obtain locks too. + // - An ErrorCollector may optionally be given to collect validation errors + // in files loaded from the database. If not given, errors will be printed + // to GOOGLE_LOG(ERROR). Remember that files are built on-demand, so this + // ErrorCollector may be called from any thread that calls one of the + // Find*By*() methods. + // - The DescriptorDatabase must not be mutated during the lifetime of + // the DescriptorPool. Even if the client takes care to avoid data races, + // changes to the content of the DescriptorDatabase may not be reflected + // in subsequent lookups in the DescriptorPool. + class ErrorCollector; + explicit DescriptorPool(DescriptorDatabase* fallback_database, + ErrorCollector* error_collector = nullptr); + + ~DescriptorPool(); + + // Get a pointer to the generated pool. Generated protocol message classes + // which are compiled into the binary will allocate their descriptors in + // this pool. Do not add your own descriptors to this pool. + static const DescriptorPool* generated_pool(); + + + // Find a FileDescriptor in the pool by file name. Returns nullptr if not + // found. + const FileDescriptor* FindFileByName(ConstStringParam name) const; + + // Find the FileDescriptor in the pool which defines the given symbol. + // If any of the Find*ByName() methods below would succeed, then this is + // equivalent to calling that method and calling the result's file() method. + // Otherwise this returns nullptr. + const FileDescriptor* FindFileContainingSymbol( + ConstStringParam symbol_name) const; + + // Looking up descriptors ------------------------------------------ + // These find descriptors by fully-qualified name. These will find both + // top-level descriptors and nested descriptors. They return nullptr if not + // found. + + const Descriptor* FindMessageTypeByName(ConstStringParam name) const; + const FieldDescriptor* FindFieldByName(ConstStringParam name) const; + const FieldDescriptor* FindExtensionByName(ConstStringParam name) const; + const OneofDescriptor* FindOneofByName(ConstStringParam name) const; + const EnumDescriptor* FindEnumTypeByName(ConstStringParam name) const; + const EnumValueDescriptor* FindEnumValueByName(ConstStringParam name) const; + const ServiceDescriptor* FindServiceByName(ConstStringParam name) const; + const MethodDescriptor* FindMethodByName(ConstStringParam name) const; + + // Finds an extension of the given type by number. The extendee must be + // a member of this DescriptorPool or one of its underlays. + const FieldDescriptor* FindExtensionByNumber(const Descriptor* extendee, + int number) const; + + // Finds an extension of the given type by its printable name. + // See comments above PrintableNameForExtension() for the definition of + // "printable name". The extendee must be a member of this DescriptorPool + // or one of its underlays. Returns nullptr if there is no known message + // extension with the given printable name. + const FieldDescriptor* FindExtensionByPrintableName( + const Descriptor* extendee, ConstStringParam printable_name) const; + + // Finds extensions of extendee. The extensions will be appended to + // out in an undefined order. Only extensions defined directly in + // this DescriptorPool or one of its underlays are guaranteed to be + // found: extensions defined in the fallback database might not be found + // depending on the database implementation. + void FindAllExtensions(const Descriptor* extendee, + std::vector* out) const; + + // Building descriptors -------------------------------------------- + + // When converting a FileDescriptorProto to a FileDescriptor, various + // errors might be detected in the input. The caller may handle these + // programmatically by implementing an ErrorCollector. + class PROTOBUF_EXPORT ErrorCollector { + public: + inline ErrorCollector() {} + virtual ~ErrorCollector(); + + // These constants specify what exact part of the construct is broken. + // This is useful e.g. for mapping the error back to an exact location + // in a .proto file. + enum ErrorLocation { + NAME, // the symbol name, or the package name for files + NUMBER, // field or extension range number + TYPE, // field type + EXTENDEE, // field extendee + DEFAULT_VALUE, // field default value + INPUT_TYPE, // method input type + OUTPUT_TYPE, // method output type + OPTION_NAME, // name in assignment + OPTION_VALUE, // value in option assignment + IMPORT, // import error + OTHER // some other problem + }; + + // Reports an error in the FileDescriptorProto. Use this function if the + // problem occurred should interrupt building the FileDescriptorProto. + virtual void AddError( + const std::string& filename, // File name in which the error occurred. + const std::string& element_name, // Full name of the erroneous element. + const Message* descriptor, // Descriptor of the erroneous element. + ErrorLocation location, // One of the location constants, above. + const std::string& message // Human-readable error message. + ) = 0; + + // Reports a warning in the FileDescriptorProto. Use this function if the + // problem occurred should NOT interrupt building the FileDescriptorProto. + virtual void AddWarning( + const std::string& /*filename*/, // File name in which the error + // occurred. + const std::string& /*element_name*/, // Full name of the erroneous + // element. + const Message* /*descriptor*/, // Descriptor of the erroneous element. + ErrorLocation /*location*/, // One of the location constants, above. + const std::string& /*message*/ // Human-readable error message. + ) {} + + private: + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ErrorCollector); + }; + + // Convert the FileDescriptorProto to real descriptors and place them in + // this DescriptorPool. All dependencies of the file must already be in + // the pool. Returns the resulting FileDescriptor, or nullptr if there were + // problems with the input (e.g. the message was invalid, or dependencies + // were missing). Details about the errors are written to GOOGLE_LOG(ERROR). + const FileDescriptor* BuildFile(const FileDescriptorProto& proto); + + // Same as BuildFile() except errors are sent to the given ErrorCollector. + const FileDescriptor* BuildFileCollectingErrors( + const FileDescriptorProto& proto, ErrorCollector* error_collector); + + // By default, it is an error if a FileDescriptorProto contains references + // to types or other files that are not found in the DescriptorPool (or its + // backing DescriptorDatabase, if any). If you call + // AllowUnknownDependencies(), however, then unknown types and files + // will be replaced by placeholder descriptors (which can be identified by + // the is_placeholder() method). This can allow you to + // perform some useful operations with a .proto file even if you do not + // have access to other .proto files on which it depends. However, some + // heuristics must be used to fill in the gaps in information, and these + // can lead to descriptors which are inaccurate. For example, the + // DescriptorPool may be forced to guess whether an unknown type is a message + // or an enum, as well as what package it resides in. Furthermore, + // placeholder types will not be discoverable via FindMessageTypeByName() + // and similar methods, which could confuse some descriptor-based algorithms. + // Generally, the results of this option should be handled with extreme care. + void AllowUnknownDependencies() { allow_unknown_ = true; } + + // By default, weak imports are allowed to be missing, in which case we will + // use a placeholder for the dependency and convert the field to be an Empty + // message field. If you call EnforceWeakDependencies(true), however, the + // DescriptorPool will report a import not found error. + void EnforceWeakDependencies(bool enforce) { enforce_weak_ = enforce; } + + // Internal stuff -------------------------------------------------- + // These methods MUST NOT be called from outside the proto2 library. + // These methods may contain hidden pitfalls and may be removed in a + // future library version. + + // Create a DescriptorPool which is overlaid on top of some other pool. + // If you search for a descriptor in the overlay and it is not found, the + // underlay will be searched as a backup. If the underlay has its own + // underlay, that will be searched next, and so on. This also means that + // files built in the overlay will be cross-linked with the underlay's + // descriptors if necessary. The underlay remains property of the caller; + // it must remain valid for the lifetime of the newly-constructed pool. + // + // Example: Say you want to parse a .proto file at runtime in order to use + // its type with a DynamicMessage. Say this .proto file has dependencies, + // but you know that all the dependencies will be things that are already + // compiled into the binary. For ease of use, you'd like to load the types + // right out of generated_pool() rather than have to parse redundant copies + // of all these .protos and runtime. But, you don't want to add the parsed + // types directly into generated_pool(): this is not allowed, and would be + // bad design anyway. So, instead, you could use generated_pool() as an + // underlay for a new DescriptorPool in which you add only the new file. + // + // WARNING: Use of underlays can lead to many subtle gotchas. Instead, + // try to formulate what you want to do in terms of DescriptorDatabases. + explicit DescriptorPool(const DescriptorPool* underlay); + + // Called by generated classes at init time to add their descriptors to + // generated_pool. Do NOT call this in your own code! filename must be a + // permanent string (e.g. a string literal). + static void InternalAddGeneratedFile(const void* encoded_file_descriptor, + int size); + + // Disallow [enforce_utf8 = false] in .proto files. + void DisallowEnforceUtf8() { disallow_enforce_utf8_ = true; } + + + // For internal use only: Gets a non-const pointer to the generated pool. + // This is called at static-initialization time only, so thread-safety is + // not a concern. If both an underlay and a fallback database are present, + // the underlay takes precedence. + static DescriptorPool* internal_generated_pool(); + + // For internal use only: Gets a non-const pointer to the generated + // descriptor database. + // Only used for testing. + static DescriptorDatabase* internal_generated_database(); + + // For internal use only: Changes the behavior of BuildFile() such that it + // allows the file to make reference to message types declared in other files + // which it did not officially declare as dependencies. + void InternalDontEnforceDependencies(); + + // For internal use only: Enables lazy building of dependencies of a file. + // Delay the building of dependencies of a file descriptor until absolutely + // necessary, like when message_type() is called on a field that is defined + // in that dependency's file. This will cause functional issues if a proto + // or one of its dependencies has errors. Should only be enabled for the + // generated_pool_ (because no descriptor build errors are guaranteed by + // the compilation generation process), testing, or if a lack of descriptor + // build errors can be guaranteed for a pool. + void InternalSetLazilyBuildDependencies() { + lazily_build_dependencies_ = true; + // This needs to be set when lazily building dependencies, as it breaks + // dependency checking. + InternalDontEnforceDependencies(); + } + + // For internal use only. + void internal_set_underlay(const DescriptorPool* underlay) { + underlay_ = underlay; + } + + // For internal (unit test) use only: Returns true if a FileDescriptor has + // been constructed for the given file, false otherwise. Useful for testing + // lazy descriptor initialization behavior. + bool InternalIsFileLoaded(ConstStringParam filename) const; + + // Add a file to unused_import_track_files_. DescriptorBuilder will log + // warnings or errors for those files if there is any unused import. + void AddUnusedImportTrackFile(ConstStringParam file_name, + bool is_error = false); + void ClearUnusedImportTrackFiles(); + + private: + friend class Descriptor; + friend class internal::LazyDescriptor; + friend class FieldDescriptor; + friend class EnumDescriptor; + friend class ServiceDescriptor; + friend class MethodDescriptor; + friend class FileDescriptor; + friend class DescriptorBuilder; + friend class FileDescriptorTables; + + // Return true if the given name is a sub-symbol of any non-package + // descriptor that already exists in the descriptor pool. (The full + // definition of such types is already known.) + bool IsSubSymbolOfBuiltType(StringPiece name) const; + + // Tries to find something in the fallback database and link in the + // corresponding proto file. Returns true if successful, in which case + // the caller should search for the thing again. These are declared + // const because they are called by (semantically) const methods. + bool TryFindFileInFallbackDatabase(StringPiece name) const; + bool TryFindSymbolInFallbackDatabase(StringPiece name) const; + bool TryFindExtensionInFallbackDatabase(const Descriptor* containing_type, + int field_number) const; + + // This internal find extension method only check with its table and underlay + // descriptor_pool's table. It does not check with fallback DB and no + // additional proto file will be build in this method. + const FieldDescriptor* InternalFindExtensionByNumberNoLock( + const Descriptor* extendee, int number) const; + + // Like BuildFile() but called internally when the file has been loaded from + // fallback_database_. Declared const because it is called by (semantically) + // const methods. + const FileDescriptor* BuildFileFromDatabase( + const FileDescriptorProto& proto) const; + + // Helper for when lazily_build_dependencies_ is set, can look up a symbol + // after the file's descriptor is built, and can build the file where that + // symbol is defined if necessary. Will create a placeholder if the type + // doesn't exist in the fallback database, or the file doesn't build + // successfully. + Symbol CrossLinkOnDemandHelper(StringPiece name, + bool expecting_enum) const; + + // Create a placeholder FileDescriptor of the specified name + FileDescriptor* NewPlaceholderFile(StringPiece name) const; + FileDescriptor* NewPlaceholderFileWithMutexHeld( + StringPiece name, internal::FlatAllocator& alloc) const; + + enum PlaceholderType { + PLACEHOLDER_MESSAGE, + PLACEHOLDER_ENUM, + PLACEHOLDER_EXTENDABLE_MESSAGE + }; + // Create a placeholder Descriptor of the specified name + Symbol NewPlaceholder(StringPiece name, + PlaceholderType placeholder_type) const; + Symbol NewPlaceholderWithMutexHeld(StringPiece name, + PlaceholderType placeholder_type) const; + + // If fallback_database_ is nullptr, this is nullptr. Otherwise, this is a + // mutex which must be locked while accessing tables_. + internal::WrappedMutex* mutex_; + + // See constructor. + DescriptorDatabase* fallback_database_; + ErrorCollector* default_error_collector_; + const DescriptorPool* underlay_; + + // This class contains a lot of hash maps with complicated types that + // we'd like to keep out of the header. + class Tables; + std::unique_ptr tables_; + + bool enforce_dependencies_; + bool lazily_build_dependencies_; + bool allow_unknown_; + bool enforce_weak_; + bool disallow_enforce_utf8_; + + // Set of files to track for unused imports. The bool value when true means + // unused imports are treated as errors (and as warnings when false). + std::map unused_import_track_files_; + + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DescriptorPool); +}; + + +// inline methods ==================================================== + +// These macros makes this repetitive code more readable. +#define PROTOBUF_DEFINE_ACCESSOR(CLASS, FIELD, TYPE) \ + inline TYPE CLASS::FIELD() const { return FIELD##_; } + +// Strings fields are stored as pointers but returned as const references. +#define PROTOBUF_DEFINE_STRING_ACCESSOR(CLASS, FIELD) \ + inline const std::string& CLASS::FIELD() const { return *FIELD##_; } + +// Name and full name are stored in a single array to save space. +#define PROTOBUF_DEFINE_NAME_ACCESSOR(CLASS) \ + inline const std::string& CLASS::name() const { return all_names_[0]; } \ + inline const std::string& CLASS::full_name() const { return all_names_[1]; } + +// Arrays take an index parameter, obviously. +#define PROTOBUF_DEFINE_ARRAY_ACCESSOR(CLASS, FIELD, TYPE) \ + inline TYPE CLASS::FIELD(int index) const { return FIELD##s_ + index; } + +#define PROTOBUF_DEFINE_OPTIONS_ACCESSOR(CLASS, TYPE) \ + inline const TYPE& CLASS::options() const { return *options_; } + +PROTOBUF_DEFINE_NAME_ACCESSOR(Descriptor) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, file, const FileDescriptor*) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, containing_type, const Descriptor*) + +PROTOBUF_DEFINE_ACCESSOR(Descriptor, field_count, int) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, oneof_decl_count, int) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, real_oneof_decl_count, int) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, nested_type_count, int) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, enum_type_count, int) + +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, field, const FieldDescriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, oneof_decl, const OneofDescriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, nested_type, const Descriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, enum_type, const EnumDescriptor*) + +PROTOBUF_DEFINE_ACCESSOR(Descriptor, extension_range_count, int) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, extension_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range, + const Descriptor::ExtensionRange*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension, const FieldDescriptor*) + +PROTOBUF_DEFINE_ACCESSOR(Descriptor, reserved_range_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, reserved_range, + const Descriptor::ReservedRange*) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, reserved_name_count, int) + +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(Descriptor, MessageOptions) +PROTOBUF_DEFINE_ACCESSOR(Descriptor, is_placeholder, bool) + +PROTOBUF_DEFINE_NAME_ACCESSOR(FieldDescriptor) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, file, const FileDescriptor*) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, number, int) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, is_extension, bool) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, containing_type, const Descriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FieldDescriptor, FieldOptions) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, has_default_value, bool) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, has_json_name, bool) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_int32_t, int32_t) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_int64_t, int64_t) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_uint32_t, uint32_t) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_uint64_t, uint64_t) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_float, float) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_double, double) +PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, default_value_bool, bool) +PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, default_value_string) + +PROTOBUF_DEFINE_NAME_ACCESSOR(OneofDescriptor) +PROTOBUF_DEFINE_ACCESSOR(OneofDescriptor, containing_type, const Descriptor*) +PROTOBUF_DEFINE_ACCESSOR(OneofDescriptor, field_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(OneofDescriptor, field, const FieldDescriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(OneofDescriptor, OneofOptions) + +PROTOBUF_DEFINE_NAME_ACCESSOR(EnumDescriptor) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, file, const FileDescriptor*) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, containing_type, const Descriptor*) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, value_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(EnumDescriptor, value, + const EnumValueDescriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(EnumDescriptor, EnumOptions) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, is_placeholder, bool) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, reserved_range_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(EnumDescriptor, reserved_range, + const EnumDescriptor::ReservedRange*) +PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, reserved_name_count, int) + +PROTOBUF_DEFINE_NAME_ACCESSOR(EnumValueDescriptor) +PROTOBUF_DEFINE_ACCESSOR(EnumValueDescriptor, number, int) +PROTOBUF_DEFINE_ACCESSOR(EnumValueDescriptor, type, const EnumDescriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(EnumValueDescriptor, EnumValueOptions) + +PROTOBUF_DEFINE_NAME_ACCESSOR(ServiceDescriptor) +PROTOBUF_DEFINE_ACCESSOR(ServiceDescriptor, file, const FileDescriptor*) +PROTOBUF_DEFINE_ACCESSOR(ServiceDescriptor, method_count, int) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(ServiceDescriptor, method, + const MethodDescriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(ServiceDescriptor, ServiceOptions) + +PROTOBUF_DEFINE_NAME_ACCESSOR(MethodDescriptor) +PROTOBUF_DEFINE_ACCESSOR(MethodDescriptor, service, const ServiceDescriptor*) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(MethodDescriptor, MethodOptions) +PROTOBUF_DEFINE_ACCESSOR(MethodDescriptor, client_streaming, bool) +PROTOBUF_DEFINE_ACCESSOR(MethodDescriptor, server_streaming, bool) + +PROTOBUF_DEFINE_STRING_ACCESSOR(FileDescriptor, name) +PROTOBUF_DEFINE_STRING_ACCESSOR(FileDescriptor, package) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, pool, const DescriptorPool*) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, dependency_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, public_dependency_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, weak_dependency_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, message_type_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, enum_type_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, service_count, int) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, extension_count, int) +PROTOBUF_DEFINE_OPTIONS_ACCESSOR(FileDescriptor, FileOptions) +PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, is_placeholder, bool) + +PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor, message_type, const Descriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor, enum_type, const EnumDescriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor, service, + const ServiceDescriptor*) +PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor, extension, + const FieldDescriptor*) + +#undef PROTOBUF_DEFINE_ACCESSOR +#undef PROTOBUF_DEFINE_STRING_ACCESSOR +#undef PROTOBUF_DEFINE_ARRAY_ACCESSOR + +// A few accessors differ from the macros... + +inline Descriptor::WellKnownType Descriptor::well_known_type() const { + return static_cast(well_known_type_); +} + +inline bool Descriptor::IsExtensionNumber(int number) const { + return FindExtensionRangeContainingNumber(number) != nullptr; +} + +inline bool Descriptor::IsReservedNumber(int number) const { + return FindReservedRangeContainingNumber(number) != nullptr; +} + +inline bool Descriptor::IsReservedName(ConstStringParam name) const { + for (int i = 0; i < reserved_name_count(); i++) { + if (name == static_cast(reserved_name(i))) { + return true; + } + } + return false; +} + +// Can't use PROTOBUF_DEFINE_ARRAY_ACCESSOR because reserved_names_ is actually +// an array of pointers rather than the usual array of objects. +inline const std::string& Descriptor::reserved_name(int index) const { + return *reserved_names_[index]; +} + +inline bool EnumDescriptor::IsReservedNumber(int number) const { + return FindReservedRangeContainingNumber(number) != nullptr; +} + +inline bool EnumDescriptor::IsReservedName(ConstStringParam name) const { + for (int i = 0; i < reserved_name_count(); i++) { + if (name == static_cast(reserved_name(i))) { + return true; + } + } + return false; +} + +// Can't use PROTOBUF_DEFINE_ARRAY_ACCESSOR because reserved_names_ is actually +// an array of pointers rather than the usual array of objects. +inline const std::string& EnumDescriptor::reserved_name(int index) const { + return *reserved_names_[index]; +} + +inline const std::string& FieldDescriptor::lowercase_name() const { + return all_names_[lowercase_name_index_]; +} + +inline const std::string& FieldDescriptor::camelcase_name() const { + return all_names_[camelcase_name_index_]; +} + +inline const std::string& FieldDescriptor::json_name() const { + return all_names_[json_name_index_]; +} + +inline const OneofDescriptor* FieldDescriptor::containing_oneof() const { + return is_oneof_ ? scope_.containing_oneof : nullptr; +} + +inline int FieldDescriptor::index_in_oneof() const { + GOOGLE_DCHECK(is_oneof_); + return static_cast(this - scope_.containing_oneof->field(0)); +} + +inline const Descriptor* FieldDescriptor::extension_scope() const { + GOOGLE_CHECK(is_extension_); + return scope_.extension_scope; +} + +inline FieldDescriptor::Label FieldDescriptor::label() const { + return static_cast